@das-fed/upf-utils 6.4.0-hot.8 → 6.4.0-test.0

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.
Files changed (124) hide show
  1. package/api-services/es5.js +1576 -1470
  2. package/api-services/index.js +1067 -1032
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +1359 -1266
  5. package/api-services/modules/app-manage/index.js +1071 -1055
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +1316 -1223
  8. package/api-services/modules/authentication/index.js +1029 -1013
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +1819 -1738
  11. package/api-services/modules/bems/index.js +1422 -1424
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +1359 -1266
  14. package/api-services/modules/contract/index.js +1071 -1055
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +1859 -1754
  17. package/api-services/modules/duty-manage/index.js +1461 -1427
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +1359 -1266
  20. package/api-services/modules/enterpriseright/index.js +1071 -1055
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +1880 -1795
  23. package/api-services/modules/file/es5.js +1460 -1354
  24. package/api-services/modules/file/index.js +996 -961
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +1819 -1738
  27. package/api-services/modules/gateway-edge/index.js +1423 -1425
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +1337 -1334
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +1875 -1770
  32. package/api-services/modules/iot/index.js +1475 -1441
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +1821 -1740
  35. package/api-services/modules/justauth/index.js +1424 -1426
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +1359 -1266
  38. package/api-services/modules/knowledge/index.js +1071 -1055
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +1359 -1266
  41. package/api-services/modules/link/index.js +1071 -1055
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1850 -1745
  44. package/api-services/modules/permission/index.js +1456 -1422
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +1369 -1276
  47. package/api-services/modules/platformManage/index.js +1074 -1058
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +1359 -1266
  50. package/api-services/modules/portal/index.js +1071 -1055
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +1359 -1266
  53. package/api-services/modules/space-manage/index.js +1071 -1055
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +1390 -1297
  56. package/api-services/modules/super-admin/index.js +1088 -1072
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +1758 -1668
  59. package/api-services/modules/supplier/index.js +1354 -1342
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +1679 -1584
  62. package/api-services/modules/supplychain-manage/index.js +1303 -1283
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +1359 -1266
  65. package/api-services/modules/systemConfiguration/index.js +1071 -1055
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +1850 -1745
  68. package/api-services/modules/tool/index.js +1456 -1422
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +1357 -1264
  71. package/api-services/src/create-service/index.js +1070 -1055
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +4468 -220
  74. package/common-info/getInfoFromUrl/es5.js +40 -40
  75. package/common-info/getInfoFromUrl/index.js +36 -36
  76. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  77. package/common-info/getPermissionMethod/es5.js +4218 -0
  78. package/common-info/getPermissionMethod/index.d.ts +26 -0
  79. package/common-info/getPermissionMethod/index.js +3342 -0
  80. package/common-info/getPermissionMethod/index.js.gz +0 -0
  81. package/common-info/index.d.ts +11 -2
  82. package/common-info/index.js +3540 -187
  83. package/common-info/index.js.gz +0 -0
  84. package/common-info/set-personal-info/es5.js +22 -23
  85. package/common-info/set-personal-info/index.js +20 -26
  86. package/common-info/set-personal-info/index.js.gz +0 -0
  87. package/common-tools/extract-file-name/es5.js +2 -2
  88. package/common-tools/extract-file-name/index.js +2 -7
  89. package/common-tools/extract-file-name/index.js.gz +0 -0
  90. package/common-tools/handle-data/es5.js +111 -118
  91. package/common-tools/handle-data/index.js +86 -89
  92. package/common-tools/handle-data/index.js.gz +0 -0
  93. package/create-api-service/check-token/es5.js +125 -127
  94. package/create-api-service/check-token/index.js +118 -123
  95. package/create-api-service/check-token/index.js.gz +0 -0
  96. package/create-api-service/es5.js +1358 -1264
  97. package/create-api-service/index.d.ts +7 -7
  98. package/create-api-service/index.js +1072 -1056
  99. package/create-api-service/index.js.gz +0 -0
  100. package/create-api-service/sso/es5.js +317 -325
  101. package/create-api-service/sso/index.js +273 -279
  102. package/create-api-service/sso/index.js.gz +0 -0
  103. package/curring-http/es5.js +2 -2
  104. package/curring-http/index.js +2 -7
  105. package/curring-http/index.js.gz +0 -0
  106. package/directive/auth/es5.js +60 -68
  107. package/directive/auth/index.js +37 -45
  108. package/directive/auth/index.js.gz +0 -0
  109. package/esm-map.json +11 -1
  110. package/hooks/use-get-auth/es5.js +57 -191
  111. package/hooks/use-get-auth/index.d.ts +2 -7
  112. package/hooks/use-get-auth/index.js +16 -50
  113. package/i18n-bridge/es5.js +23 -0
  114. package/i18n-bridge/index.d.ts +10 -0
  115. package/i18n-bridge/index.js +16 -0
  116. package/package.json +3 -4
  117. package/pinyin-first-character/es5.js +1 -1
  118. package/pinyin-first-character/index.js +1 -1
  119. package/pinyin-first-character/index.js.gz +0 -0
  120. package/webSocket-service/es5.js +41 -53
  121. package/webSocket-service/index.js +40 -50
  122. package/webSocket-service/index.js.gz +0 -0
  123. package/hooks/use-get-auth/apis.d.ts +0 -4
  124. package/hooks/use-get-auth/index.js.gz +0 -0
@@ -0,0 +1,3342 @@
1
+ import { curringHttp as Qn } from "@das-fed/upf-utils/curring-http";
2
+ import { getI18nBridge as Gr } from "@das-fed/upf-utils/i18n-bridge";
3
+ import { getToken as Xn, getQuery as Zn, login as Yn, getTokenParams as eo, real_uri as to } from "@das-fed/upf-utils/create-api-service/sso";
4
+ import Mt from "dayjs";
5
+ import ro from "dayjs/plugin/utc";
6
+ import no from "dayjs/plugin/timezone";
7
+ import { getProjectInfo as oo, getInstanceInfo as io } from "@das-fed/upf-utils/common-info";
8
+ import { getAccessToken as ao } from "@das-fed/upf-utils/token-tools";
9
+ import { getConfig as Jr } from "@das-fed/upf-utils/config";
10
+ import { getValidAccessToken as so } from "@das-fed/upf-utils/create-api-service/check-token";
11
+ function Vr(t, e) {
12
+ return function() {
13
+ return t.apply(e, arguments);
14
+ };
15
+ }
16
+ const { toString: lo } = Object.prototype, { getPrototypeOf: kt } = Object, { iterator: qe, toStringTag: Kr } = Symbol, je = /* @__PURE__ */ ((t) => (e) => {
17
+ const n = lo.call(e);
18
+ return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
19
+ })(/* @__PURE__ */ Object.create(null)), $ = (t) => (t = t.toLowerCase(), (e) => je(e) === t), ze = (t) => (e) => typeof e === t, { isArray: le } = Array, ve = ze("undefined");
20
+ function co(t) {
21
+ return t !== null && !ve(t) && t.constructor !== null && !ve(t.constructor) && I(t.constructor.isBuffer) && t.constructor.isBuffer(t);
22
+ }
23
+ const Qr = $("ArrayBuffer");
24
+ function uo(t) {
25
+ let e;
26
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Qr(t.buffer), e;
27
+ }
28
+ const fo = ze("string"), I = ze("function"), Xr = ze("number"), He = (t) => t !== null && typeof t == "object", po = (t) => t === !0 || t === !1, Ce = (t) => {
29
+ if (je(t) !== "object")
30
+ return !1;
31
+ const e = kt(t);
32
+ return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Kr in t) && !(qe in t);
33
+ }, yo = $("Date"), ho = $("File"), mo = $("Blob"), go = $("FileList"), vo = (t) => He(t) && I(t.pipe), wo = (t) => {
34
+ let e;
35
+ return t && (typeof FormData == "function" && t instanceof FormData || I(t.append) && ((e = je(t)) === "formdata" || // detect form-data instance
36
+ e === "object" && I(t.toString) && t.toString() === "[object FormData]"));
37
+ }, So = $("URLSearchParams"), [bo, Eo, Ao, Oo] = ["ReadableStream", "Request", "Response", "Headers"].map($), Ro = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
38
+ function Se(t, e, { allOwnKeys: n = !1 } = {}) {
39
+ if (t === null || typeof t > "u")
40
+ return;
41
+ let r, o;
42
+ if (typeof t != "object" && (t = [t]), le(t))
43
+ for (r = 0, o = t.length; r < o; r++)
44
+ e.call(null, t[r], r, t);
45
+ else {
46
+ const i = n ? Object.getOwnPropertyNames(t) : Object.keys(t), a = i.length;
47
+ let s;
48
+ for (r = 0; r < a; r++)
49
+ s = i[r], e.call(null, t[s], s, t);
50
+ }
51
+ }
52
+ function Zr(t, e) {
53
+ e = e.toLowerCase();
54
+ const n = Object.keys(t);
55
+ let r = n.length, o;
56
+ for (; r-- > 0; )
57
+ if (o = n[r], e === o.toLowerCase())
58
+ return o;
59
+ return null;
60
+ }
61
+ const K = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Yr = (t) => !ve(t) && t !== K;
62
+ function Pt() {
63
+ const { caseless: t } = Yr(this) && this || {}, e = {}, n = (r, o) => {
64
+ const i = t && Zr(e, o) || o;
65
+ Ce(e[i]) && Ce(r) ? e[i] = Pt(e[i], r) : Ce(r) ? e[i] = Pt({}, r) : le(r) ? e[i] = r.slice() : e[i] = r;
66
+ };
67
+ for (let r = 0, o = arguments.length; r < o; r++)
68
+ arguments[r] && Se(arguments[r], n);
69
+ return e;
70
+ }
71
+ const Po = (t, e, n, { allOwnKeys: r } = {}) => (Se(e, (o, i) => {
72
+ n && I(o) ? t[i] = Vr(o, n) : t[i] = o;
73
+ }, { allOwnKeys: r }), t), To = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), xo = (t, e, n, r) => {
74
+ t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
75
+ value: e.prototype
76
+ }), n && Object.assign(t.prototype, n);
77
+ }, Co = (t, e, n, r) => {
78
+ let o, i, a;
79
+ const s = {};
80
+ if (e = e || {}, t == null) return e;
81
+ do {
82
+ for (o = Object.getOwnPropertyNames(t), i = o.length; i-- > 0; )
83
+ a = o[i], (!r || r(a, t, e)) && !s[a] && (e[a] = t[a], s[a] = !0);
84
+ t = n !== !1 && kt(t);
85
+ } while (t && (!n || n(t, e)) && t !== Object.prototype);
86
+ return e;
87
+ }, _o = (t, e, n) => {
88
+ t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length;
89
+ const r = t.indexOf(e, n);
90
+ return r !== -1 && r === n;
91
+ }, No = (t) => {
92
+ if (!t) return null;
93
+ if (le(t)) return t;
94
+ let e = t.length;
95
+ if (!Xr(e)) return null;
96
+ const n = new Array(e);
97
+ for (; e-- > 0; )
98
+ n[e] = t[e];
99
+ return n;
100
+ }, Io = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && kt(Uint8Array)), Fo = (t, e) => {
101
+ const r = (t && t[qe]).call(t);
102
+ let o;
103
+ for (; (o = r.next()) && !o.done; ) {
104
+ const i = o.value;
105
+ e.call(t, i[0], i[1]);
106
+ }
107
+ }, Do = (t, e) => {
108
+ let n;
109
+ const r = [];
110
+ for (; (n = t.exec(e)) !== null; )
111
+ r.push(n);
112
+ return r;
113
+ }, $o = $("HTMLFormElement"), Lo = (t) => t.toLowerCase().replace(
114
+ /[-_\s]([a-z\d])(\w*)/g,
115
+ function(n, r, o) {
116
+ return r.toUpperCase() + o;
117
+ }
118
+ ), Zt = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Uo = $("RegExp"), en = (t, e) => {
119
+ const n = Object.getOwnPropertyDescriptors(t), r = {};
120
+ Se(n, (o, i) => {
121
+ let a;
122
+ (a = e(o, i, t)) !== !1 && (r[i] = a || o);
123
+ }), Object.defineProperties(t, r);
124
+ }, Bo = (t) => {
125
+ en(t, (e, n) => {
126
+ if (I(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
127
+ return !1;
128
+ const r = t[n];
129
+ if (I(r)) {
130
+ if (e.enumerable = !1, "writable" in e) {
131
+ e.writable = !1;
132
+ return;
133
+ }
134
+ e.set || (e.set = () => {
135
+ throw Error("Can not rewrite read-only method '" + n + "'");
136
+ });
137
+ }
138
+ });
139
+ }, Mo = (t, e) => {
140
+ const n = {}, r = (o) => {
141
+ o.forEach((i) => {
142
+ n[i] = !0;
143
+ });
144
+ };
145
+ return le(t) ? r(t) : r(String(t).split(e)), n;
146
+ }, ko = () => {
147
+ }, qo = (t, e) => t != null && Number.isFinite(t = +t) ? t : e;
148
+ function jo(t) {
149
+ return !!(t && I(t.append) && t[Kr] === "FormData" && t[qe]);
150
+ }
151
+ const zo = (t) => {
152
+ const e = new Array(10), n = (r, o) => {
153
+ if (He(r)) {
154
+ if (e.indexOf(r) >= 0)
155
+ return;
156
+ if (!("toJSON" in r)) {
157
+ e[o] = r;
158
+ const i = le(r) ? [] : {};
159
+ return Se(r, (a, s) => {
160
+ const u = n(a, o + 1);
161
+ !ve(u) && (i[s] = u);
162
+ }), e[o] = void 0, i;
163
+ }
164
+ }
165
+ return r;
166
+ };
167
+ return n(t, 0);
168
+ }, Ho = $("AsyncFunction"), Wo = (t) => t && (He(t) || I(t)) && I(t.then) && I(t.catch), tn = ((t, e) => t ? setImmediate : e ? ((n, r) => (K.addEventListener("message", ({ source: o, data: i }) => {
169
+ o === K && i === n && r.length && r.shift()();
170
+ }, !1), (o) => {
171
+ r.push(o), K.postMessage(n, "*");
172
+ }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
173
+ typeof setImmediate == "function",
174
+ I(K.postMessage)
175
+ ), Go = typeof queueMicrotask < "u" ? queueMicrotask.bind(K) : typeof process < "u" && process.nextTick || tn, Jo = (t) => t != null && I(t[qe]), p = {
176
+ isArray: le,
177
+ isArrayBuffer: Qr,
178
+ isBuffer: co,
179
+ isFormData: wo,
180
+ isArrayBufferView: uo,
181
+ isString: fo,
182
+ isNumber: Xr,
183
+ isBoolean: po,
184
+ isObject: He,
185
+ isPlainObject: Ce,
186
+ isReadableStream: bo,
187
+ isRequest: Eo,
188
+ isResponse: Ao,
189
+ isHeaders: Oo,
190
+ isUndefined: ve,
191
+ isDate: yo,
192
+ isFile: ho,
193
+ isBlob: mo,
194
+ isRegExp: Uo,
195
+ isFunction: I,
196
+ isStream: vo,
197
+ isURLSearchParams: So,
198
+ isTypedArray: Io,
199
+ isFileList: go,
200
+ forEach: Se,
201
+ merge: Pt,
202
+ extend: Po,
203
+ trim: Ro,
204
+ stripBOM: To,
205
+ inherits: xo,
206
+ toFlatObject: Co,
207
+ kindOf: je,
208
+ kindOfTest: $,
209
+ endsWith: _o,
210
+ toArray: No,
211
+ forEachEntry: Fo,
212
+ matchAll: Do,
213
+ isHTMLForm: $o,
214
+ hasOwnProperty: Zt,
215
+ hasOwnProp: Zt,
216
+ // an alias to avoid ESLint no-prototype-builtins detection
217
+ reduceDescriptors: en,
218
+ freezeMethods: Bo,
219
+ toObjectSet: Mo,
220
+ toCamelCase: Lo,
221
+ noop: ko,
222
+ toFiniteNumber: qo,
223
+ findKey: Zr,
224
+ global: K,
225
+ isContextDefined: Yr,
226
+ isSpecCompliantForm: jo,
227
+ toJSONObject: zo,
228
+ isAsyncFn: Ho,
229
+ isThenable: Wo,
230
+ setImmediate: tn,
231
+ asap: Go,
232
+ isIterable: Jo
233
+ };
234
+ function w(t, e, n, r, o) {
235
+ 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), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
236
+ }
237
+ p.inherits(w, Error, {
238
+ toJSON: function() {
239
+ return {
240
+ // Standard
241
+ message: this.message,
242
+ name: this.name,
243
+ // Microsoft
244
+ description: this.description,
245
+ number: this.number,
246
+ // Mozilla
247
+ fileName: this.fileName,
248
+ lineNumber: this.lineNumber,
249
+ columnNumber: this.columnNumber,
250
+ stack: this.stack,
251
+ // Axios
252
+ config: p.toJSONObject(this.config),
253
+ code: this.code,
254
+ status: this.status
255
+ };
256
+ }
257
+ });
258
+ const rn = w.prototype, nn = {};
259
+ [
260
+ "ERR_BAD_OPTION_VALUE",
261
+ "ERR_BAD_OPTION",
262
+ "ECONNABORTED",
263
+ "ETIMEDOUT",
264
+ "ERR_NETWORK",
265
+ "ERR_FR_TOO_MANY_REDIRECTS",
266
+ "ERR_DEPRECATED",
267
+ "ERR_BAD_RESPONSE",
268
+ "ERR_BAD_REQUEST",
269
+ "ERR_CANCELED",
270
+ "ERR_NOT_SUPPORT",
271
+ "ERR_INVALID_URL"
272
+ // eslint-disable-next-line func-names
273
+ ].forEach((t) => {
274
+ nn[t] = { value: t };
275
+ });
276
+ Object.defineProperties(w, nn);
277
+ Object.defineProperty(rn, "isAxiosError", { value: !0 });
278
+ w.from = (t, e, n, r, o, i) => {
279
+ const a = Object.create(rn);
280
+ return p.toFlatObject(t, a, function(u) {
281
+ return u !== Error.prototype;
282
+ }, (s) => s !== "isAxiosError"), w.call(a, t.message, e, n, r, o), a.cause = t, a.name = t.name, i && Object.assign(a, i), a;
283
+ };
284
+ const Vo = null;
285
+ function Tt(t) {
286
+ return p.isPlainObject(t) || p.isArray(t);
287
+ }
288
+ function on(t) {
289
+ return p.endsWith(t, "[]") ? t.slice(0, -2) : t;
290
+ }
291
+ function Yt(t, e, n) {
292
+ return t ? t.concat(e).map(function(o, i) {
293
+ return o = on(o), !n && i ? "[" + o + "]" : o;
294
+ }).join(n ? "." : "") : e;
295
+ }
296
+ function Ko(t) {
297
+ return p.isArray(t) && !t.some(Tt);
298
+ }
299
+ const Qo = p.toFlatObject(p, {}, null, function(e) {
300
+ return /^is[A-Z]/.test(e);
301
+ });
302
+ function We(t, e, n) {
303
+ if (!p.isObject(t))
304
+ throw new TypeError("target must be an object");
305
+ e = e || new FormData(), n = p.toFlatObject(n, {
306
+ metaTokens: !0,
307
+ dots: !1,
308
+ indexes: !1
309
+ }, !1, function(m, h) {
310
+ return !p.isUndefined(h[m]);
311
+ });
312
+ const r = n.metaTokens, o = n.visitor || l, i = n.dots, a = n.indexes, u = (n.Blob || typeof Blob < "u" && Blob) && p.isSpecCompliantForm(e);
313
+ if (!p.isFunction(o))
314
+ throw new TypeError("visitor must be a function");
315
+ function c(y) {
316
+ if (y === null) return "";
317
+ if (p.isDate(y))
318
+ return y.toISOString();
319
+ if (p.isBoolean(y))
320
+ return y.toString();
321
+ if (!u && p.isBlob(y))
322
+ throw new w("Blob is not supported. Use a Buffer instead.");
323
+ return p.isArrayBuffer(y) || p.isTypedArray(y) ? u && typeof Blob == "function" ? new Blob([y]) : Buffer.from(y) : y;
324
+ }
325
+ function l(y, m, h) {
326
+ let S = y;
327
+ if (y && !h && typeof y == "object") {
328
+ if (p.endsWith(m, "{}"))
329
+ m = r ? m : m.slice(0, -2), y = JSON.stringify(y);
330
+ else if (p.isArray(y) && Ko(y) || (p.isFileList(y) || p.endsWith(m, "[]")) && (S = p.toArray(y)))
331
+ return m = on(m), S.forEach(function(g, A) {
332
+ !(p.isUndefined(g) || g === null) && e.append(
333
+ // eslint-disable-next-line no-nested-ternary
334
+ a === !0 ? Yt([m], A, i) : a === null ? m : m + "[]",
335
+ c(g)
336
+ );
337
+ }), !1;
338
+ }
339
+ return Tt(y) ? !0 : (e.append(Yt(h, m, i), c(y)), !1);
340
+ }
341
+ const f = [], d = Object.assign(Qo, {
342
+ defaultVisitor: l,
343
+ convertValue: c,
344
+ isVisitable: Tt
345
+ });
346
+ function v(y, m) {
347
+ if (!p.isUndefined(y)) {
348
+ if (f.indexOf(y) !== -1)
349
+ throw Error("Circular reference detected in " + m.join("."));
350
+ f.push(y), p.forEach(y, function(S, E) {
351
+ (!(p.isUndefined(S) || S === null) && o.call(
352
+ e,
353
+ S,
354
+ p.isString(E) ? E.trim() : E,
355
+ m,
356
+ d
357
+ )) === !0 && v(S, m ? m.concat(E) : [E]);
358
+ }), f.pop();
359
+ }
360
+ }
361
+ if (!p.isObject(t))
362
+ throw new TypeError("data must be an object");
363
+ return v(t), e;
364
+ }
365
+ function er(t) {
366
+ const e = {
367
+ "!": "%21",
368
+ "'": "%27",
369
+ "(": "%28",
370
+ ")": "%29",
371
+ "~": "%7E",
372
+ "%20": "+",
373
+ "%00": "\0"
374
+ };
375
+ return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(r) {
376
+ return e[r];
377
+ });
378
+ }
379
+ function qt(t, e) {
380
+ this._pairs = [], t && We(t, this, e);
381
+ }
382
+ const an = qt.prototype;
383
+ an.append = function(e, n) {
384
+ this._pairs.push([e, n]);
385
+ };
386
+ an.toString = function(e) {
387
+ const n = e ? function(r) {
388
+ return e.call(this, r, er);
389
+ } : er;
390
+ return this._pairs.map(function(o) {
391
+ return n(o[0]) + "=" + n(o[1]);
392
+ }, "").join("&");
393
+ };
394
+ function Xo(t) {
395
+ return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
396
+ }
397
+ function sn(t, e, n) {
398
+ if (!e)
399
+ return t;
400
+ const r = n && n.encode || Xo;
401
+ p.isFunction(n) && (n = {
402
+ serialize: n
403
+ });
404
+ const o = n && n.serialize;
405
+ let i;
406
+ if (o ? i = o(e, n) : i = p.isURLSearchParams(e) ? e.toString() : new qt(e, n).toString(r), i) {
407
+ const a = t.indexOf("#");
408
+ a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + i;
409
+ }
410
+ return t;
411
+ }
412
+ class tr {
413
+ constructor() {
414
+ this.handlers = [];
415
+ }
416
+ /**
417
+ * Add a new interceptor to the stack
418
+ *
419
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
420
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
421
+ *
422
+ * @return {Number} An ID used to remove interceptor later
423
+ */
424
+ use(e, n, r) {
425
+ return this.handlers.push({
426
+ fulfilled: e,
427
+ rejected: n,
428
+ synchronous: r ? r.synchronous : !1,
429
+ runWhen: r ? r.runWhen : null
430
+ }), this.handlers.length - 1;
431
+ }
432
+ /**
433
+ * Remove an interceptor from the stack
434
+ *
435
+ * @param {Number} id The ID that was returned by `use`
436
+ *
437
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
438
+ */
439
+ eject(e) {
440
+ this.handlers[e] && (this.handlers[e] = null);
441
+ }
442
+ /**
443
+ * Clear all interceptors from the stack
444
+ *
445
+ * @returns {void}
446
+ */
447
+ clear() {
448
+ this.handlers && (this.handlers = []);
449
+ }
450
+ /**
451
+ * Iterate over all the registered interceptors
452
+ *
453
+ * This method is particularly useful for skipping over any
454
+ * interceptors that may have become `null` calling `eject`.
455
+ *
456
+ * @param {Function} fn The function to call for each interceptor
457
+ *
458
+ * @returns {void}
459
+ */
460
+ forEach(e) {
461
+ p.forEach(this.handlers, function(r) {
462
+ r !== null && e(r);
463
+ });
464
+ }
465
+ }
466
+ const ln = {
467
+ silentJSONParsing: !0,
468
+ forcedJSONParsing: !0,
469
+ clarifyTimeoutError: !1
470
+ }, Zo = typeof URLSearchParams < "u" ? URLSearchParams : qt, Yo = typeof FormData < "u" ? FormData : null, ei = typeof Blob < "u" ? Blob : null, ti = {
471
+ isBrowser: !0,
472
+ classes: {
473
+ URLSearchParams: Zo,
474
+ FormData: Yo,
475
+ Blob: ei
476
+ },
477
+ protocols: ["http", "https", "file", "blob", "url", "data"]
478
+ }, jt = typeof window < "u" && typeof document < "u", xt = typeof navigator == "object" && navigator || void 0, ri = jt && (!xt || ["ReactNative", "NativeScript", "NS"].indexOf(xt.product) < 0), ni = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
479
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", oi = jt && window.location.href || "http://localhost", ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
480
+ __proto__: null,
481
+ hasBrowserEnv: jt,
482
+ hasStandardBrowserEnv: ri,
483
+ hasStandardBrowserWebWorkerEnv: ni,
484
+ navigator: xt,
485
+ origin: oi
486
+ }, Symbol.toStringTag, { value: "Module" })), C = {
487
+ ...ii,
488
+ ...ti
489
+ };
490
+ function ai(t, e) {
491
+ return We(t, new C.classes.URLSearchParams(), Object.assign({
492
+ visitor: function(n, r, o, i) {
493
+ return C.isNode && p.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
494
+ }
495
+ }, e));
496
+ }
497
+ function si(t) {
498
+ return p.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
499
+ }
500
+ function li(t) {
501
+ const e = {}, n = Object.keys(t);
502
+ let r;
503
+ const o = n.length;
504
+ let i;
505
+ for (r = 0; r < o; r++)
506
+ i = n[r], e[i] = t[i];
507
+ return e;
508
+ }
509
+ function cn(t) {
510
+ function e(n, r, o, i) {
511
+ let a = n[i++];
512
+ if (a === "__proto__") return !0;
513
+ const s = Number.isFinite(+a), u = i >= n.length;
514
+ return a = !a && p.isArray(o) ? o.length : a, u ? (p.hasOwnProp(o, a) ? o[a] = [o[a], r] : o[a] = r, !s) : ((!o[a] || !p.isObject(o[a])) && (o[a] = []), e(n, r, o[a], i) && p.isArray(o[a]) && (o[a] = li(o[a])), !s);
515
+ }
516
+ if (p.isFormData(t) && p.isFunction(t.entries)) {
517
+ const n = {};
518
+ return p.forEachEntry(t, (r, o) => {
519
+ e(si(r), o, n, 0);
520
+ }), n;
521
+ }
522
+ return null;
523
+ }
524
+ function ci(t, e, n) {
525
+ if (p.isString(t))
526
+ try {
527
+ return (e || JSON.parse)(t), p.trim(t);
528
+ } catch (r) {
529
+ if (r.name !== "SyntaxError")
530
+ throw r;
531
+ }
532
+ return (n || JSON.stringify)(t);
533
+ }
534
+ const be = {
535
+ transitional: ln,
536
+ adapter: ["xhr", "http", "fetch"],
537
+ transformRequest: [function(e, n) {
538
+ const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, i = p.isObject(e);
539
+ if (i && p.isHTMLForm(e) && (e = new FormData(e)), p.isFormData(e))
540
+ return o ? JSON.stringify(cn(e)) : e;
541
+ if (p.isArrayBuffer(e) || p.isBuffer(e) || p.isStream(e) || p.isFile(e) || p.isBlob(e) || p.isReadableStream(e))
542
+ return e;
543
+ if (p.isArrayBufferView(e))
544
+ return e.buffer;
545
+ if (p.isURLSearchParams(e))
546
+ return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
547
+ let s;
548
+ if (i) {
549
+ if (r.indexOf("application/x-www-form-urlencoded") > -1)
550
+ return ai(e, this.formSerializer).toString();
551
+ if ((s = p.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
552
+ const u = this.env && this.env.FormData;
553
+ return We(
554
+ s ? { "files[]": e } : e,
555
+ u && new u(),
556
+ this.formSerializer
557
+ );
558
+ }
559
+ }
560
+ return i || o ? (n.setContentType("application/json", !1), ci(e)) : e;
561
+ }],
562
+ transformResponse: [function(e) {
563
+ const n = this.transitional || be.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
564
+ if (p.isResponse(e) || p.isReadableStream(e))
565
+ return e;
566
+ if (e && p.isString(e) && (r && !this.responseType || o)) {
567
+ const a = !(n && n.silentJSONParsing) && o;
568
+ try {
569
+ return JSON.parse(e);
570
+ } catch (s) {
571
+ if (a)
572
+ throw s.name === "SyntaxError" ? w.from(s, w.ERR_BAD_RESPONSE, this, null, this.response) : s;
573
+ }
574
+ }
575
+ return e;
576
+ }],
577
+ /**
578
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
579
+ * timeout is not created.
580
+ */
581
+ timeout: 0,
582
+ xsrfCookieName: "XSRF-TOKEN",
583
+ xsrfHeaderName: "X-XSRF-TOKEN",
584
+ maxContentLength: -1,
585
+ maxBodyLength: -1,
586
+ env: {
587
+ FormData: C.classes.FormData,
588
+ Blob: C.classes.Blob
589
+ },
590
+ validateStatus: function(e) {
591
+ return e >= 200 && e < 300;
592
+ },
593
+ headers: {
594
+ common: {
595
+ Accept: "application/json, text/plain, */*",
596
+ "Content-Type": void 0
597
+ }
598
+ }
599
+ };
600
+ p.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
601
+ be.headers[t] = {};
602
+ });
603
+ const ui = p.toObjectSet([
604
+ "age",
605
+ "authorization",
606
+ "content-length",
607
+ "content-type",
608
+ "etag",
609
+ "expires",
610
+ "from",
611
+ "host",
612
+ "if-modified-since",
613
+ "if-unmodified-since",
614
+ "last-modified",
615
+ "location",
616
+ "max-forwards",
617
+ "proxy-authorization",
618
+ "referer",
619
+ "retry-after",
620
+ "user-agent"
621
+ ]), fi = (t) => {
622
+ const e = {};
623
+ let n, r, o;
624
+ return t && t.split(`
625
+ `).forEach(function(a) {
626
+ o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || e[n] && ui[n]) && (n === "set-cookie" ? e[n] ? e[n].push(r) : e[n] = [r] : e[n] = e[n] ? e[n] + ", " + r : r);
627
+ }), e;
628
+ }, rr = Symbol("internals");
629
+ function pe(t) {
630
+ return t && String(t).trim().toLowerCase();
631
+ }
632
+ function _e(t) {
633
+ return t === !1 || t == null ? t : p.isArray(t) ? t.map(_e) : String(t);
634
+ }
635
+ function pi(t) {
636
+ const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
637
+ let r;
638
+ for (; r = n.exec(t); )
639
+ e[r[1]] = r[2];
640
+ return e;
641
+ }
642
+ const di = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
643
+ function et(t, e, n, r, o) {
644
+ if (p.isFunction(r))
645
+ return r.call(this, e, n);
646
+ if (o && (e = n), !!p.isString(e)) {
647
+ if (p.isString(r))
648
+ return e.indexOf(r) !== -1;
649
+ if (p.isRegExp(r))
650
+ return r.test(e);
651
+ }
652
+ }
653
+ function yi(t) {
654
+ return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, r) => n.toUpperCase() + r);
655
+ }
656
+ function hi(t, e) {
657
+ const n = p.toCamelCase(" " + e);
658
+ ["get", "set", "has"].forEach((r) => {
659
+ Object.defineProperty(t, r + n, {
660
+ value: function(o, i, a) {
661
+ return this[r].call(this, e, o, i, a);
662
+ },
663
+ configurable: !0
664
+ });
665
+ });
666
+ }
667
+ class F {
668
+ constructor(e) {
669
+ e && this.set(e);
670
+ }
671
+ set(e, n, r) {
672
+ const o = this;
673
+ function i(s, u, c) {
674
+ const l = pe(u);
675
+ if (!l)
676
+ throw new Error("header name must be a non-empty string");
677
+ const f = p.findKey(o, l);
678
+ (!f || o[f] === void 0 || c === !0 || c === void 0 && o[f] !== !1) && (o[f || u] = _e(s));
679
+ }
680
+ const a = (s, u) => p.forEach(s, (c, l) => i(c, l, u));
681
+ if (p.isPlainObject(e) || e instanceof this.constructor)
682
+ a(e, n);
683
+ else if (p.isString(e) && (e = e.trim()) && !di(e))
684
+ a(fi(e), n);
685
+ else if (p.isObject(e) && p.isIterable(e)) {
686
+ let s = {}, u, c;
687
+ for (const l of e) {
688
+ if (!p.isArray(l))
689
+ throw TypeError("Object iterator must return a key-value pair");
690
+ s[c = l[0]] = (u = s[c]) ? p.isArray(u) ? [...u, l[1]] : [u, l[1]] : l[1];
691
+ }
692
+ a(s, n);
693
+ } else
694
+ e != null && i(n, e, r);
695
+ return this;
696
+ }
697
+ get(e, n) {
698
+ if (e = pe(e), e) {
699
+ const r = p.findKey(this, e);
700
+ if (r) {
701
+ const o = this[r];
702
+ if (!n)
703
+ return o;
704
+ if (n === !0)
705
+ return pi(o);
706
+ if (p.isFunction(n))
707
+ return n.call(this, o, r);
708
+ if (p.isRegExp(n))
709
+ return n.exec(o);
710
+ throw new TypeError("parser must be boolean|regexp|function");
711
+ }
712
+ }
713
+ }
714
+ has(e, n) {
715
+ if (e = pe(e), e) {
716
+ const r = p.findKey(this, e);
717
+ return !!(r && this[r] !== void 0 && (!n || et(this, this[r], r, n)));
718
+ }
719
+ return !1;
720
+ }
721
+ delete(e, n) {
722
+ const r = this;
723
+ let o = !1;
724
+ function i(a) {
725
+ if (a = pe(a), a) {
726
+ const s = p.findKey(r, a);
727
+ s && (!n || et(r, r[s], s, n)) && (delete r[s], o = !0);
728
+ }
729
+ }
730
+ return p.isArray(e) ? e.forEach(i) : i(e), o;
731
+ }
732
+ clear(e) {
733
+ const n = Object.keys(this);
734
+ let r = n.length, o = !1;
735
+ for (; r--; ) {
736
+ const i = n[r];
737
+ (!e || et(this, this[i], i, e, !0)) && (delete this[i], o = !0);
738
+ }
739
+ return o;
740
+ }
741
+ normalize(e) {
742
+ const n = this, r = {};
743
+ return p.forEach(this, (o, i) => {
744
+ const a = p.findKey(r, i);
745
+ if (a) {
746
+ n[a] = _e(o), delete n[i];
747
+ return;
748
+ }
749
+ const s = e ? yi(i) : String(i).trim();
750
+ s !== i && delete n[i], n[s] = _e(o), r[s] = !0;
751
+ }), this;
752
+ }
753
+ concat(...e) {
754
+ return this.constructor.concat(this, ...e);
755
+ }
756
+ toJSON(e) {
757
+ const n = /* @__PURE__ */ Object.create(null);
758
+ return p.forEach(this, (r, o) => {
759
+ r != null && r !== !1 && (n[o] = e && p.isArray(r) ? r.join(", ") : r);
760
+ }), n;
761
+ }
762
+ [Symbol.iterator]() {
763
+ return Object.entries(this.toJSON())[Symbol.iterator]();
764
+ }
765
+ toString() {
766
+ return Object.entries(this.toJSON()).map(([e, n]) => e + ": " + n).join(`
767
+ `);
768
+ }
769
+ getSetCookie() {
770
+ return this.get("set-cookie") || [];
771
+ }
772
+ get [Symbol.toStringTag]() {
773
+ return "AxiosHeaders";
774
+ }
775
+ static from(e) {
776
+ return e instanceof this ? e : new this(e);
777
+ }
778
+ static concat(e, ...n) {
779
+ const r = new this(e);
780
+ return n.forEach((o) => r.set(o)), r;
781
+ }
782
+ static accessor(e) {
783
+ const r = (this[rr] = this[rr] = {
784
+ accessors: {}
785
+ }).accessors, o = this.prototype;
786
+ function i(a) {
787
+ const s = pe(a);
788
+ r[s] || (hi(o, a), r[s] = !0);
789
+ }
790
+ return p.isArray(e) ? e.forEach(i) : i(e), this;
791
+ }
792
+ }
793
+ F.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
794
+ p.reduceDescriptors(F.prototype, ({ value: t }, e) => {
795
+ let n = e[0].toUpperCase() + e.slice(1);
796
+ return {
797
+ get: () => t,
798
+ set(r) {
799
+ this[n] = r;
800
+ }
801
+ };
802
+ });
803
+ p.freezeMethods(F);
804
+ function tt(t, e) {
805
+ const n = this || be, r = e || n, o = F.from(r.headers);
806
+ let i = r.data;
807
+ return p.forEach(t, function(s) {
808
+ i = s.call(n, i, o.normalize(), e ? e.status : void 0);
809
+ }), o.normalize(), i;
810
+ }
811
+ function un(t) {
812
+ return !!(t && t.__CANCEL__);
813
+ }
814
+ function ce(t, e, n) {
815
+ w.call(this, t ?? "canceled", w.ERR_CANCELED, e, n), this.name = "CanceledError";
816
+ }
817
+ p.inherits(ce, w, {
818
+ __CANCEL__: !0
819
+ });
820
+ function fn(t, e, n) {
821
+ const r = n.config.validateStatus;
822
+ !n.status || !r || r(n.status) ? t(n) : e(new w(
823
+ "Request failed with status code " + n.status,
824
+ [w.ERR_BAD_REQUEST, w.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
825
+ n.config,
826
+ n.request,
827
+ n
828
+ ));
829
+ }
830
+ function mi(t) {
831
+ const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
832
+ return e && e[1] || "";
833
+ }
834
+ function gi(t, e) {
835
+ t = t || 10;
836
+ const n = new Array(t), r = new Array(t);
837
+ let o = 0, i = 0, a;
838
+ return e = e !== void 0 ? e : 1e3, function(u) {
839
+ const c = Date.now(), l = r[i];
840
+ a || (a = c), n[o] = u, r[o] = c;
841
+ let f = i, d = 0;
842
+ for (; f !== o; )
843
+ d += n[f++], f = f % t;
844
+ if (o = (o + 1) % t, o === i && (i = (i + 1) % t), c - a < e)
845
+ return;
846
+ const v = l && c - l;
847
+ return v ? Math.round(d * 1e3 / v) : void 0;
848
+ };
849
+ }
850
+ function vi(t, e) {
851
+ let n = 0, r = 1e3 / e, o, i;
852
+ const a = (c, l = Date.now()) => {
853
+ n = l, o = null, i && (clearTimeout(i), i = null), t.apply(null, c);
854
+ };
855
+ return [(...c) => {
856
+ const l = Date.now(), f = l - n;
857
+ f >= r ? a(c, l) : (o = c, i || (i = setTimeout(() => {
858
+ i = null, a(o);
859
+ }, r - f)));
860
+ }, () => o && a(o)];
861
+ }
862
+ const $e = (t, e, n = 3) => {
863
+ let r = 0;
864
+ const o = gi(50, 250);
865
+ return vi((i) => {
866
+ const a = i.loaded, s = i.lengthComputable ? i.total : void 0, u = a - r, c = o(u), l = a <= s;
867
+ r = a;
868
+ const f = {
869
+ loaded: a,
870
+ total: s,
871
+ progress: s ? a / s : void 0,
872
+ bytes: u,
873
+ rate: c || void 0,
874
+ estimated: c && s && l ? (s - a) / c : void 0,
875
+ event: i,
876
+ lengthComputable: s != null,
877
+ [e ? "download" : "upload"]: !0
878
+ };
879
+ t(f);
880
+ }, n);
881
+ }, nr = (t, e) => {
882
+ const n = t != null;
883
+ return [(r) => e[0]({
884
+ lengthComputable: n,
885
+ total: t,
886
+ loaded: r
887
+ }), e[1]];
888
+ }, or = (t) => (...e) => p.asap(() => t(...e)), wi = C.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, e) => (n) => (n = new URL(n, C.origin), t.protocol === n.protocol && t.host === n.host && (e || t.port === n.port)))(
889
+ new URL(C.origin),
890
+ C.navigator && /(msie|trident)/i.test(C.navigator.userAgent)
891
+ ) : () => !0, Si = C.hasStandardBrowserEnv ? (
892
+ // Standard browser envs support document.cookie
893
+ {
894
+ write(t, e, n, r, o, i) {
895
+ const a = [t + "=" + encodeURIComponent(e)];
896
+ p.isNumber(n) && a.push("expires=" + new Date(n).toGMTString()), p.isString(r) && a.push("path=" + r), p.isString(o) && a.push("domain=" + o), i === !0 && a.push("secure"), document.cookie = a.join("; ");
897
+ },
898
+ read(t) {
899
+ const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
900
+ return e ? decodeURIComponent(e[3]) : null;
901
+ },
902
+ remove(t) {
903
+ this.write(t, "", Date.now() - 864e5);
904
+ }
905
+ }
906
+ ) : (
907
+ // Non-standard browser env (web workers, react-native) lack needed support.
908
+ {
909
+ write() {
910
+ },
911
+ read() {
912
+ return null;
913
+ },
914
+ remove() {
915
+ }
916
+ }
917
+ );
918
+ function bi(t) {
919
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
920
+ }
921
+ function Ei(t, e) {
922
+ return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
923
+ }
924
+ function pn(t, e, n) {
925
+ let r = !bi(e);
926
+ return t && (r || n == !1) ? Ei(t, e) : e;
927
+ }
928
+ const ir = (t) => t instanceof F ? { ...t } : t;
929
+ function Z(t, e) {
930
+ e = e || {};
931
+ const n = {};
932
+ function r(c, l, f, d) {
933
+ return p.isPlainObject(c) && p.isPlainObject(l) ? p.merge.call({ caseless: d }, c, l) : p.isPlainObject(l) ? p.merge({}, l) : p.isArray(l) ? l.slice() : l;
934
+ }
935
+ function o(c, l, f, d) {
936
+ if (p.isUndefined(l)) {
937
+ if (!p.isUndefined(c))
938
+ return r(void 0, c, f, d);
939
+ } else return r(c, l, f, d);
940
+ }
941
+ function i(c, l) {
942
+ if (!p.isUndefined(l))
943
+ return r(void 0, l);
944
+ }
945
+ function a(c, l) {
946
+ if (p.isUndefined(l)) {
947
+ if (!p.isUndefined(c))
948
+ return r(void 0, c);
949
+ } else return r(void 0, l);
950
+ }
951
+ function s(c, l, f) {
952
+ if (f in e)
953
+ return r(c, l);
954
+ if (f in t)
955
+ return r(void 0, c);
956
+ }
957
+ const u = {
958
+ url: i,
959
+ method: i,
960
+ data: i,
961
+ baseURL: a,
962
+ transformRequest: a,
963
+ transformResponse: a,
964
+ paramsSerializer: a,
965
+ timeout: a,
966
+ timeoutMessage: a,
967
+ withCredentials: a,
968
+ withXSRFToken: a,
969
+ adapter: a,
970
+ responseType: a,
971
+ xsrfCookieName: a,
972
+ xsrfHeaderName: a,
973
+ onUploadProgress: a,
974
+ onDownloadProgress: a,
975
+ decompress: a,
976
+ maxContentLength: a,
977
+ maxBodyLength: a,
978
+ beforeRedirect: a,
979
+ transport: a,
980
+ httpAgent: a,
981
+ httpsAgent: a,
982
+ cancelToken: a,
983
+ socketPath: a,
984
+ responseEncoding: a,
985
+ validateStatus: s,
986
+ headers: (c, l, f) => o(ir(c), ir(l), f, !0)
987
+ };
988
+ return p.forEach(Object.keys(Object.assign({}, t, e)), function(l) {
989
+ const f = u[l] || o, d = f(t[l], e[l], l);
990
+ p.isUndefined(d) && f !== s || (n[l] = d);
991
+ }), n;
992
+ }
993
+ const dn = (t) => {
994
+ const e = Z({}, t);
995
+ let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: i, headers: a, auth: s } = e;
996
+ e.headers = a = F.from(a), e.url = sn(pn(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), s && a.set(
997
+ "Authorization",
998
+ "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
999
+ );
1000
+ let u;
1001
+ if (p.isFormData(n)) {
1002
+ if (C.hasStandardBrowserEnv || C.hasStandardBrowserWebWorkerEnv)
1003
+ a.setContentType(void 0);
1004
+ else if ((u = a.getContentType()) !== !1) {
1005
+ const [c, ...l] = u ? u.split(";").map((f) => f.trim()).filter(Boolean) : [];
1006
+ a.setContentType([c || "multipart/form-data", ...l].join("; "));
1007
+ }
1008
+ }
1009
+ if (C.hasStandardBrowserEnv && (r && p.isFunction(r) && (r = r(e)), r || r !== !1 && wi(e.url))) {
1010
+ const c = o && i && Si.read(i);
1011
+ c && a.set(o, c);
1012
+ }
1013
+ return e;
1014
+ }, Ai = typeof XMLHttpRequest < "u", Oi = Ai && function(t) {
1015
+ return new Promise(function(n, r) {
1016
+ const o = dn(t);
1017
+ let i = o.data;
1018
+ const a = F.from(o.headers).normalize();
1019
+ let { responseType: s, onUploadProgress: u, onDownloadProgress: c } = o, l, f, d, v, y;
1020
+ function m() {
1021
+ v && v(), y && y(), o.cancelToken && o.cancelToken.unsubscribe(l), o.signal && o.signal.removeEventListener("abort", l);
1022
+ }
1023
+ let h = new XMLHttpRequest();
1024
+ h.open(o.method.toUpperCase(), o.url, !0), h.timeout = o.timeout;
1025
+ function S() {
1026
+ if (!h)
1027
+ return;
1028
+ const g = F.from(
1029
+ "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1030
+ ), O = {
1031
+ data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1032
+ status: h.status,
1033
+ statusText: h.statusText,
1034
+ headers: g,
1035
+ config: t,
1036
+ request: h
1037
+ };
1038
+ fn(function(N) {
1039
+ n(N), m();
1040
+ }, function(N) {
1041
+ r(N), m();
1042
+ }, O), h = null;
1043
+ }
1044
+ "onloadend" in h ? h.onloadend = S : h.onreadystatechange = function() {
1045
+ !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(S);
1046
+ }, h.onabort = function() {
1047
+ h && (r(new w("Request aborted", w.ECONNABORTED, t, h)), h = null);
1048
+ }, h.onerror = function() {
1049
+ r(new w("Network Error", w.ERR_NETWORK, t, h)), h = null;
1050
+ }, h.ontimeout = function() {
1051
+ let A = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1052
+ const O = o.transitional || ln;
1053
+ o.timeoutErrorMessage && (A = o.timeoutErrorMessage), r(new w(
1054
+ A,
1055
+ O.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
1056
+ t,
1057
+ h
1058
+ )), h = null;
1059
+ }, i === void 0 && a.setContentType(null), "setRequestHeader" in h && p.forEach(a.toJSON(), function(A, O) {
1060
+ h.setRequestHeader(O, A);
1061
+ }), p.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && ([d, y] = $e(c, !0), h.addEventListener("progress", d)), u && h.upload && ([f, v] = $e(u), h.upload.addEventListener("progress", f), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = (g) => {
1062
+ h && (r(!g || g.type ? new ce(null, t, h) : g), h.abort(), h = null);
1063
+ }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1064
+ const E = mi(o.url);
1065
+ if (E && C.protocols.indexOf(E) === -1) {
1066
+ r(new w("Unsupported protocol " + E + ":", w.ERR_BAD_REQUEST, t));
1067
+ return;
1068
+ }
1069
+ h.send(i || null);
1070
+ });
1071
+ }, Ri = (t, e) => {
1072
+ const { length: n } = t = t ? t.filter(Boolean) : [];
1073
+ if (e || n) {
1074
+ let r = new AbortController(), o;
1075
+ const i = function(c) {
1076
+ if (!o) {
1077
+ o = !0, s();
1078
+ const l = c instanceof Error ? c : this.reason;
1079
+ r.abort(l instanceof w ? l : new ce(l instanceof Error ? l.message : l));
1080
+ }
1081
+ };
1082
+ let a = e && setTimeout(() => {
1083
+ a = null, i(new w(`timeout ${e} of ms exceeded`, w.ETIMEDOUT));
1084
+ }, e);
1085
+ const s = () => {
1086
+ t && (a && clearTimeout(a), a = null, t.forEach((c) => {
1087
+ c.unsubscribe ? c.unsubscribe(i) : c.removeEventListener("abort", i);
1088
+ }), t = null);
1089
+ };
1090
+ t.forEach((c) => c.addEventListener("abort", i));
1091
+ const { signal: u } = r;
1092
+ return u.unsubscribe = () => p.asap(s), u;
1093
+ }
1094
+ }, Pi = function* (t, e) {
1095
+ let n = t.byteLength;
1096
+ if (n < e) {
1097
+ yield t;
1098
+ return;
1099
+ }
1100
+ let r = 0, o;
1101
+ for (; r < n; )
1102
+ o = r + e, yield t.slice(r, o), r = o;
1103
+ }, Ti = async function* (t, e) {
1104
+ for await (const n of xi(t))
1105
+ yield* Pi(n, e);
1106
+ }, xi = async function* (t) {
1107
+ if (t[Symbol.asyncIterator]) {
1108
+ yield* t;
1109
+ return;
1110
+ }
1111
+ const e = t.getReader();
1112
+ try {
1113
+ for (; ; ) {
1114
+ const { done: n, value: r } = await e.read();
1115
+ if (n)
1116
+ break;
1117
+ yield r;
1118
+ }
1119
+ } finally {
1120
+ await e.cancel();
1121
+ }
1122
+ }, ar = (t, e, n, r) => {
1123
+ const o = Ti(t, e);
1124
+ let i = 0, a, s = (u) => {
1125
+ a || (a = !0, r && r(u));
1126
+ };
1127
+ return new ReadableStream({
1128
+ async pull(u) {
1129
+ try {
1130
+ const { done: c, value: l } = await o.next();
1131
+ if (c) {
1132
+ s(), u.close();
1133
+ return;
1134
+ }
1135
+ let f = l.byteLength;
1136
+ if (n) {
1137
+ let d = i += f;
1138
+ n(d);
1139
+ }
1140
+ u.enqueue(new Uint8Array(l));
1141
+ } catch (c) {
1142
+ throw s(c), c;
1143
+ }
1144
+ },
1145
+ cancel(u) {
1146
+ return s(u), o.return();
1147
+ }
1148
+ }, {
1149
+ highWaterMark: 2
1150
+ });
1151
+ }, Ge = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", yn = Ge && typeof ReadableStream == "function", Ci = Ge && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), hn = (t, ...e) => {
1152
+ try {
1153
+ return !!t(...e);
1154
+ } catch {
1155
+ return !1;
1156
+ }
1157
+ }, _i = yn && hn(() => {
1158
+ let t = !1;
1159
+ const e = new Request(C.origin, {
1160
+ body: new ReadableStream(),
1161
+ method: "POST",
1162
+ get duplex() {
1163
+ return t = !0, "half";
1164
+ }
1165
+ }).headers.has("Content-Type");
1166
+ return t && !e;
1167
+ }), sr = 64 * 1024, Ct = yn && hn(() => p.isReadableStream(new Response("").body)), Le = {
1168
+ stream: Ct && ((t) => t.body)
1169
+ };
1170
+ Ge && ((t) => {
1171
+ ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
1172
+ !Le[e] && (Le[e] = p.isFunction(t[e]) ? (n) => n[e]() : (n, r) => {
1173
+ throw new w(`Response type '${e}' is not supported`, w.ERR_NOT_SUPPORT, r);
1174
+ });
1175
+ });
1176
+ })(new Response());
1177
+ const Ni = async (t) => {
1178
+ if (t == null)
1179
+ return 0;
1180
+ if (p.isBlob(t))
1181
+ return t.size;
1182
+ if (p.isSpecCompliantForm(t))
1183
+ return (await new Request(C.origin, {
1184
+ method: "POST",
1185
+ body: t
1186
+ }).arrayBuffer()).byteLength;
1187
+ if (p.isArrayBufferView(t) || p.isArrayBuffer(t))
1188
+ return t.byteLength;
1189
+ if (p.isURLSearchParams(t) && (t = t + ""), p.isString(t))
1190
+ return (await Ci(t)).byteLength;
1191
+ }, Ii = async (t, e) => {
1192
+ const n = p.toFiniteNumber(t.getContentLength());
1193
+ return n ?? Ni(e);
1194
+ }, Fi = Ge && (async (t) => {
1195
+ let {
1196
+ url: e,
1197
+ method: n,
1198
+ data: r,
1199
+ signal: o,
1200
+ cancelToken: i,
1201
+ timeout: a,
1202
+ onDownloadProgress: s,
1203
+ onUploadProgress: u,
1204
+ responseType: c,
1205
+ headers: l,
1206
+ withCredentials: f = "same-origin",
1207
+ fetchOptions: d
1208
+ } = dn(t);
1209
+ c = c ? (c + "").toLowerCase() : "text";
1210
+ let v = Ri([o, i && i.toAbortSignal()], a), y;
1211
+ const m = v && v.unsubscribe && (() => {
1212
+ v.unsubscribe();
1213
+ });
1214
+ let h;
1215
+ try {
1216
+ if (u && _i && n !== "get" && n !== "head" && (h = await Ii(l, r)) !== 0) {
1217
+ let O = new Request(e, {
1218
+ method: "POST",
1219
+ body: r,
1220
+ duplex: "half"
1221
+ }), _;
1222
+ if (p.isFormData(r) && (_ = O.headers.get("content-type")) && l.setContentType(_), O.body) {
1223
+ const [N, q] = nr(
1224
+ h,
1225
+ $e(or(u))
1226
+ );
1227
+ r = ar(O.body, sr, N, q);
1228
+ }
1229
+ }
1230
+ p.isString(f) || (f = f ? "include" : "omit");
1231
+ const S = "credentials" in Request.prototype;
1232
+ y = new Request(e, {
1233
+ ...d,
1234
+ signal: v,
1235
+ method: n.toUpperCase(),
1236
+ headers: l.normalize().toJSON(),
1237
+ body: r,
1238
+ duplex: "half",
1239
+ credentials: S ? f : void 0
1240
+ });
1241
+ let E = await fetch(y, d);
1242
+ const g = Ct && (c === "stream" || c === "response");
1243
+ if (Ct && (s || g && m)) {
1244
+ const O = {};
1245
+ ["status", "statusText", "headers"].forEach((L) => {
1246
+ O[L] = E[L];
1247
+ });
1248
+ const _ = p.toFiniteNumber(E.headers.get("content-length")), [N, q] = s && nr(
1249
+ _,
1250
+ $e(or(s), !0)
1251
+ ) || [];
1252
+ E = new Response(
1253
+ ar(E.body, sr, N, () => {
1254
+ q && q(), m && m();
1255
+ }),
1256
+ O
1257
+ );
1258
+ }
1259
+ c = c || "text";
1260
+ let A = await Le[p.findKey(Le, c) || "text"](E, t);
1261
+ return !g && m && m(), await new Promise((O, _) => {
1262
+ fn(O, _, {
1263
+ data: A,
1264
+ headers: F.from(E.headers),
1265
+ status: E.status,
1266
+ statusText: E.statusText,
1267
+ config: t,
1268
+ request: y
1269
+ });
1270
+ });
1271
+ } catch (S) {
1272
+ throw m && m(), S && S.name === "TypeError" && /Load failed|fetch/i.test(S.message) ? Object.assign(
1273
+ new w("Network Error", w.ERR_NETWORK, t, y),
1274
+ {
1275
+ cause: S.cause || S
1276
+ }
1277
+ ) : w.from(S, S && S.code, t, y);
1278
+ }
1279
+ }), _t = {
1280
+ http: Vo,
1281
+ xhr: Oi,
1282
+ fetch: Fi
1283
+ };
1284
+ p.forEach(_t, (t, e) => {
1285
+ if (t) {
1286
+ try {
1287
+ Object.defineProperty(t, "name", { value: e });
1288
+ } catch {
1289
+ }
1290
+ Object.defineProperty(t, "adapterName", { value: e });
1291
+ }
1292
+ });
1293
+ const lr = (t) => `- ${t}`, Di = (t) => p.isFunction(t) || t === null || t === !1, mn = {
1294
+ getAdapter: (t) => {
1295
+ t = p.isArray(t) ? t : [t];
1296
+ const { length: e } = t;
1297
+ let n, r;
1298
+ const o = {};
1299
+ for (let i = 0; i < e; i++) {
1300
+ n = t[i];
1301
+ let a;
1302
+ if (r = n, !Di(n) && (r = _t[(a = String(n)).toLowerCase()], r === void 0))
1303
+ throw new w(`Unknown adapter '${a}'`);
1304
+ if (r)
1305
+ break;
1306
+ o[a || "#" + i] = r;
1307
+ }
1308
+ if (!r) {
1309
+ const i = Object.entries(o).map(
1310
+ ([s, u]) => `adapter ${s} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
1311
+ );
1312
+ let a = e ? i.length > 1 ? `since :
1313
+ ` + i.map(lr).join(`
1314
+ `) : " " + lr(i[0]) : "as no adapter specified";
1315
+ throw new w(
1316
+ "There is no suitable adapter to dispatch the request " + a,
1317
+ "ERR_NOT_SUPPORT"
1318
+ );
1319
+ }
1320
+ return r;
1321
+ },
1322
+ adapters: _t
1323
+ };
1324
+ function rt(t) {
1325
+ if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1326
+ throw new ce(null, t);
1327
+ }
1328
+ function cr(t) {
1329
+ return rt(t), t.headers = F.from(t.headers), t.data = tt.call(
1330
+ t,
1331
+ t.transformRequest
1332
+ ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), mn.getAdapter(t.adapter || be.adapter)(t).then(function(r) {
1333
+ return rt(t), r.data = tt.call(
1334
+ t,
1335
+ t.transformResponse,
1336
+ r
1337
+ ), r.headers = F.from(r.headers), r;
1338
+ }, function(r) {
1339
+ return un(r) || (rt(t), r && r.response && (r.response.data = tt.call(
1340
+ t,
1341
+ t.transformResponse,
1342
+ r.response
1343
+ ), r.response.headers = F.from(r.response.headers))), Promise.reject(r);
1344
+ });
1345
+ }
1346
+ const gn = "1.10.0", Je = {};
1347
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1348
+ Je[t] = function(r) {
1349
+ return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
1350
+ };
1351
+ });
1352
+ const ur = {};
1353
+ Je.transitional = function(e, n, r) {
1354
+ function o(i, a) {
1355
+ return "[Axios v" + gn + "] Transitional option '" + i + "'" + a + (r ? ". " + r : "");
1356
+ }
1357
+ return (i, a, s) => {
1358
+ if (e === !1)
1359
+ throw new w(
1360
+ o(a, " has been removed" + (n ? " in " + n : "")),
1361
+ w.ERR_DEPRECATED
1362
+ );
1363
+ return n && !ur[a] && (ur[a] = !0), e ? e(i, a, s) : !0;
1364
+ };
1365
+ };
1366
+ Je.spelling = function(e) {
1367
+ return (n, r) => !0;
1368
+ };
1369
+ function $i(t, e, n) {
1370
+ if (typeof t != "object")
1371
+ throw new w("options must be an object", w.ERR_BAD_OPTION_VALUE);
1372
+ const r = Object.keys(t);
1373
+ let o = r.length;
1374
+ for (; o-- > 0; ) {
1375
+ const i = r[o], a = e[i];
1376
+ if (a) {
1377
+ const s = t[i], u = s === void 0 || a(s, i, t);
1378
+ if (u !== !0)
1379
+ throw new w("option " + i + " must be " + u, w.ERR_BAD_OPTION_VALUE);
1380
+ continue;
1381
+ }
1382
+ if (n !== !0)
1383
+ throw new w("Unknown option " + i, w.ERR_BAD_OPTION);
1384
+ }
1385
+ }
1386
+ const Ne = {
1387
+ assertOptions: $i,
1388
+ validators: Je
1389
+ }, U = Ne.validators;
1390
+ class Q {
1391
+ constructor(e) {
1392
+ this.defaults = e || {}, this.interceptors = {
1393
+ request: new tr(),
1394
+ response: new tr()
1395
+ };
1396
+ }
1397
+ /**
1398
+ * Dispatch a request
1399
+ *
1400
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
1401
+ * @param {?Object} config
1402
+ *
1403
+ * @returns {Promise} The Promise to be fulfilled
1404
+ */
1405
+ async request(e, n) {
1406
+ try {
1407
+ return await this._request(e, n);
1408
+ } catch (r) {
1409
+ if (r instanceof Error) {
1410
+ let o = {};
1411
+ Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
1412
+ const i = o.stack ? o.stack.replace(/^.+\n/, "") : "";
1413
+ try {
1414
+ r.stack ? i && !String(r.stack).endsWith(i.replace(/^.+\n.+\n/, "")) && (r.stack += `
1415
+ ` + i) : r.stack = i;
1416
+ } catch {
1417
+ }
1418
+ }
1419
+ throw r;
1420
+ }
1421
+ }
1422
+ _request(e, n) {
1423
+ typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = Z(this.defaults, n);
1424
+ const { transitional: r, paramsSerializer: o, headers: i } = n;
1425
+ r !== void 0 && Ne.assertOptions(r, {
1426
+ silentJSONParsing: U.transitional(U.boolean),
1427
+ forcedJSONParsing: U.transitional(U.boolean),
1428
+ clarifyTimeoutError: U.transitional(U.boolean)
1429
+ }, !1), o != null && (p.isFunction(o) ? n.paramsSerializer = {
1430
+ serialize: o
1431
+ } : Ne.assertOptions(o, {
1432
+ encode: U.function,
1433
+ serialize: U.function
1434
+ }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), Ne.assertOptions(n, {
1435
+ baseUrl: U.spelling("baseURL"),
1436
+ withXsrfToken: U.spelling("withXSRFToken")
1437
+ }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1438
+ let a = i && p.merge(
1439
+ i.common,
1440
+ i[n.method]
1441
+ );
1442
+ i && p.forEach(
1443
+ ["delete", "get", "head", "post", "put", "patch", "common"],
1444
+ (y) => {
1445
+ delete i[y];
1446
+ }
1447
+ ), n.headers = F.concat(a, i);
1448
+ const s = [];
1449
+ let u = !0;
1450
+ this.interceptors.request.forEach(function(m) {
1451
+ typeof m.runWhen == "function" && m.runWhen(n) === !1 || (u = u && m.synchronous, s.unshift(m.fulfilled, m.rejected));
1452
+ });
1453
+ const c = [];
1454
+ this.interceptors.response.forEach(function(m) {
1455
+ c.push(m.fulfilled, m.rejected);
1456
+ });
1457
+ let l, f = 0, d;
1458
+ if (!u) {
1459
+ const y = [cr.bind(this), void 0];
1460
+ for (y.unshift.apply(y, s), y.push.apply(y, c), d = y.length, l = Promise.resolve(n); f < d; )
1461
+ l = l.then(y[f++], y[f++]);
1462
+ return l;
1463
+ }
1464
+ d = s.length;
1465
+ let v = n;
1466
+ for (f = 0; f < d; ) {
1467
+ const y = s[f++], m = s[f++];
1468
+ try {
1469
+ v = y(v);
1470
+ } catch (h) {
1471
+ m.call(this, h);
1472
+ break;
1473
+ }
1474
+ }
1475
+ try {
1476
+ l = cr.call(this, v);
1477
+ } catch (y) {
1478
+ return Promise.reject(y);
1479
+ }
1480
+ for (f = 0, d = c.length; f < d; )
1481
+ l = l.then(c[f++], c[f++]);
1482
+ return l;
1483
+ }
1484
+ getUri(e) {
1485
+ e = Z(this.defaults, e);
1486
+ const n = pn(e.baseURL, e.url, e.allowAbsoluteUrls);
1487
+ return sn(n, e.params, e.paramsSerializer);
1488
+ }
1489
+ }
1490
+ p.forEach(["delete", "get", "head", "options"], function(e) {
1491
+ Q.prototype[e] = function(n, r) {
1492
+ return this.request(Z(r || {}, {
1493
+ method: e,
1494
+ url: n,
1495
+ data: (r || {}).data
1496
+ }));
1497
+ };
1498
+ });
1499
+ p.forEach(["post", "put", "patch"], function(e) {
1500
+ function n(r) {
1501
+ return function(i, a, s) {
1502
+ return this.request(Z(s || {}, {
1503
+ method: e,
1504
+ headers: r ? {
1505
+ "Content-Type": "multipart/form-data"
1506
+ } : {},
1507
+ url: i,
1508
+ data: a
1509
+ }));
1510
+ };
1511
+ }
1512
+ Q.prototype[e] = n(), Q.prototype[e + "Form"] = n(!0);
1513
+ });
1514
+ class zt {
1515
+ constructor(e) {
1516
+ if (typeof e != "function")
1517
+ throw new TypeError("executor must be a function.");
1518
+ let n;
1519
+ this.promise = new Promise(function(i) {
1520
+ n = i;
1521
+ });
1522
+ const r = this;
1523
+ this.promise.then((o) => {
1524
+ if (!r._listeners) return;
1525
+ let i = r._listeners.length;
1526
+ for (; i-- > 0; )
1527
+ r._listeners[i](o);
1528
+ r._listeners = null;
1529
+ }), this.promise.then = (o) => {
1530
+ let i;
1531
+ const a = new Promise((s) => {
1532
+ r.subscribe(s), i = s;
1533
+ }).then(o);
1534
+ return a.cancel = function() {
1535
+ r.unsubscribe(i);
1536
+ }, a;
1537
+ }, e(function(i, a, s) {
1538
+ r.reason || (r.reason = new ce(i, a, s), n(r.reason));
1539
+ });
1540
+ }
1541
+ /**
1542
+ * Throws a `CanceledError` if cancellation has been requested.
1543
+ */
1544
+ throwIfRequested() {
1545
+ if (this.reason)
1546
+ throw this.reason;
1547
+ }
1548
+ /**
1549
+ * Subscribe to the cancel signal
1550
+ */
1551
+ subscribe(e) {
1552
+ if (this.reason) {
1553
+ e(this.reason);
1554
+ return;
1555
+ }
1556
+ this._listeners ? this._listeners.push(e) : this._listeners = [e];
1557
+ }
1558
+ /**
1559
+ * Unsubscribe from the cancel signal
1560
+ */
1561
+ unsubscribe(e) {
1562
+ if (!this._listeners)
1563
+ return;
1564
+ const n = this._listeners.indexOf(e);
1565
+ n !== -1 && this._listeners.splice(n, 1);
1566
+ }
1567
+ toAbortSignal() {
1568
+ const e = new AbortController(), n = (r) => {
1569
+ e.abort(r);
1570
+ };
1571
+ return this.subscribe(n), e.signal.unsubscribe = () => this.unsubscribe(n), e.signal;
1572
+ }
1573
+ /**
1574
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
1575
+ * cancels the `CancelToken`.
1576
+ */
1577
+ static source() {
1578
+ let e;
1579
+ return {
1580
+ token: new zt(function(o) {
1581
+ e = o;
1582
+ }),
1583
+ cancel: e
1584
+ };
1585
+ }
1586
+ }
1587
+ function Li(t) {
1588
+ return function(n) {
1589
+ return t.apply(null, n);
1590
+ };
1591
+ }
1592
+ function Ui(t) {
1593
+ return p.isObject(t) && t.isAxiosError === !0;
1594
+ }
1595
+ const Nt = {
1596
+ Continue: 100,
1597
+ SwitchingProtocols: 101,
1598
+ Processing: 102,
1599
+ EarlyHints: 103,
1600
+ Ok: 200,
1601
+ Created: 201,
1602
+ Accepted: 202,
1603
+ NonAuthoritativeInformation: 203,
1604
+ NoContent: 204,
1605
+ ResetContent: 205,
1606
+ PartialContent: 206,
1607
+ MultiStatus: 207,
1608
+ AlreadyReported: 208,
1609
+ ImUsed: 226,
1610
+ MultipleChoices: 300,
1611
+ MovedPermanently: 301,
1612
+ Found: 302,
1613
+ SeeOther: 303,
1614
+ NotModified: 304,
1615
+ UseProxy: 305,
1616
+ Unused: 306,
1617
+ TemporaryRedirect: 307,
1618
+ PermanentRedirect: 308,
1619
+ BadRequest: 400,
1620
+ Unauthorized: 401,
1621
+ PaymentRequired: 402,
1622
+ Forbidden: 403,
1623
+ NotFound: 404,
1624
+ MethodNotAllowed: 405,
1625
+ NotAcceptable: 406,
1626
+ ProxyAuthenticationRequired: 407,
1627
+ RequestTimeout: 408,
1628
+ Conflict: 409,
1629
+ Gone: 410,
1630
+ LengthRequired: 411,
1631
+ PreconditionFailed: 412,
1632
+ PayloadTooLarge: 413,
1633
+ UriTooLong: 414,
1634
+ UnsupportedMediaType: 415,
1635
+ RangeNotSatisfiable: 416,
1636
+ ExpectationFailed: 417,
1637
+ ImATeapot: 418,
1638
+ MisdirectedRequest: 421,
1639
+ UnprocessableEntity: 422,
1640
+ Locked: 423,
1641
+ FailedDependency: 424,
1642
+ TooEarly: 425,
1643
+ UpgradeRequired: 426,
1644
+ PreconditionRequired: 428,
1645
+ TooManyRequests: 429,
1646
+ RequestHeaderFieldsTooLarge: 431,
1647
+ UnavailableForLegalReasons: 451,
1648
+ InternalServerError: 500,
1649
+ NotImplemented: 501,
1650
+ BadGateway: 502,
1651
+ ServiceUnavailable: 503,
1652
+ GatewayTimeout: 504,
1653
+ HttpVersionNotSupported: 505,
1654
+ VariantAlsoNegotiates: 506,
1655
+ InsufficientStorage: 507,
1656
+ LoopDetected: 508,
1657
+ NotExtended: 510,
1658
+ NetworkAuthenticationRequired: 511
1659
+ };
1660
+ Object.entries(Nt).forEach(([t, e]) => {
1661
+ Nt[e] = t;
1662
+ });
1663
+ function vn(t) {
1664
+ const e = new Q(t), n = Vr(Q.prototype.request, e);
1665
+ return p.extend(n, Q.prototype, e, { allOwnKeys: !0 }), p.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
1666
+ return vn(Z(t, o));
1667
+ }, n;
1668
+ }
1669
+ const P = vn(be);
1670
+ P.Axios = Q;
1671
+ P.CanceledError = ce;
1672
+ P.CancelToken = zt;
1673
+ P.isCancel = un;
1674
+ P.VERSION = gn;
1675
+ P.toFormData = We;
1676
+ P.AxiosError = w;
1677
+ P.Cancel = P.CanceledError;
1678
+ P.all = function(e) {
1679
+ return Promise.all(e);
1680
+ };
1681
+ P.spread = Li;
1682
+ P.isAxiosError = Ui;
1683
+ P.mergeConfig = Z;
1684
+ P.AxiosHeaders = F;
1685
+ P.formToJSON = (t) => cn(p.isHTMLForm(t) ? new FormData(t) : t);
1686
+ P.getAdapter = mn.getAdapter;
1687
+ P.HttpStatusCode = Nt;
1688
+ P.default = P;
1689
+ var fr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1690
+ function Bi(t) {
1691
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1692
+ }
1693
+ function Mi(t) {
1694
+ if (t.__esModule) return t;
1695
+ var e = t.default;
1696
+ if (typeof e == "function") {
1697
+ var n = function r() {
1698
+ return this instanceof r ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
1699
+ };
1700
+ n.prototype = e.prototype;
1701
+ } else n = {};
1702
+ return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(t).forEach(function(r) {
1703
+ var o = Object.getOwnPropertyDescriptor(t, r);
1704
+ Object.defineProperty(n, r, o.get ? o : {
1705
+ enumerable: !0,
1706
+ get: function() {
1707
+ return t[r];
1708
+ }
1709
+ });
1710
+ }), n;
1711
+ }
1712
+ var ue = TypeError;
1713
+ const ki = {}, qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1714
+ __proto__: null,
1715
+ default: ki
1716
+ }, Symbol.toStringTag, { value: "Module" })), ji = /* @__PURE__ */ Mi(qi);
1717
+ var Ht = typeof Map == "function" && Map.prototype, nt = Object.getOwnPropertyDescriptor && Ht ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ue = Ht && nt && typeof nt.get == "function" ? nt.get : null, pr = Ht && Map.prototype.forEach, Wt = typeof Set == "function" && Set.prototype, ot = Object.getOwnPropertyDescriptor && Wt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Be = Wt && ot && typeof ot.get == "function" ? ot.get : null, dr = Wt && Set.prototype.forEach, zi = typeof WeakMap == "function" && WeakMap.prototype, ye = zi ? WeakMap.prototype.has : null, Hi = typeof WeakSet == "function" && WeakSet.prototype, he = Hi ? WeakSet.prototype.has : null, Wi = typeof WeakRef == "function" && WeakRef.prototype, yr = Wi ? WeakRef.prototype.deref : null, Gi = Boolean.prototype.valueOf, Ji = Object.prototype.toString, Vi = Function.prototype.toString, Ki = String.prototype.match, Gt = String.prototype.slice, G = String.prototype.replace, Qi = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, wn = RegExp.prototype.test, mr = Array.prototype.concat, k = Array.prototype.join, Xi = Array.prototype.slice, gr = Math.floor, It = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, it = Object.getOwnPropertySymbols, Ft = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ae = typeof Symbol == "function" && typeof Symbol.iterator == "object", me = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ae || !0) ? Symbol.toStringTag : null, Sn = Object.prototype.propertyIsEnumerable, vr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1718
+ return t.__proto__;
1719
+ } : null);
1720
+ function wr(t, e) {
1721
+ if (t === 1 / 0 || t === -1 / 0 || t !== t || t && t > -1e3 && t < 1e3 || wn.call(/e/, e))
1722
+ return e;
1723
+ var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
1724
+ if (typeof t == "number") {
1725
+ var r = t < 0 ? -gr(-t) : gr(t);
1726
+ if (r !== t) {
1727
+ var o = String(r), i = Gt.call(e, o.length + 1);
1728
+ return G.call(o, n, "$&_") + "." + G.call(G.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
1729
+ }
1730
+ }
1731
+ return G.call(e, n, "$&_");
1732
+ }
1733
+ var Dt = ji, Sr = Dt.custom, br = An(Sr) ? Sr : null, bn = {
1734
+ __proto__: null,
1735
+ double: '"',
1736
+ single: "'"
1737
+ }, Zi = {
1738
+ __proto__: null,
1739
+ double: /(["\\])/g,
1740
+ single: /(['\\])/g
1741
+ }, Ve = function t(e, n, r, o) {
1742
+ var i = n || {};
1743
+ if (z(i, "quoteStyle") && !z(bn, i.quoteStyle))
1744
+ throw new TypeError('option "quoteStyle" must be "single" or "double"');
1745
+ if (z(i, "maxStringLength") && (typeof i.maxStringLength == "number" ? i.maxStringLength < 0 && i.maxStringLength !== 1 / 0 : i.maxStringLength !== null))
1746
+ throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
1747
+ var a = z(i, "customInspect") ? i.customInspect : !0;
1748
+ if (typeof a != "boolean" && a !== "symbol")
1749
+ throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
1750
+ if (z(i, "indent") && i.indent !== null && i.indent !== " " && !(parseInt(i.indent, 10) === i.indent && i.indent > 0))
1751
+ throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
1752
+ if (z(i, "numericSeparator") && typeof i.numericSeparator != "boolean")
1753
+ throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
1754
+ var s = i.numericSeparator;
1755
+ if (typeof e > "u")
1756
+ return "undefined";
1757
+ if (e === null)
1758
+ return "null";
1759
+ if (typeof e == "boolean")
1760
+ return e ? "true" : "false";
1761
+ if (typeof e == "string")
1762
+ return Rn(e, i);
1763
+ if (typeof e == "number") {
1764
+ if (e === 0)
1765
+ return 1 / 0 / e > 0 ? "0" : "-0";
1766
+ var u = String(e);
1767
+ return s ? wr(e, u) : u;
1768
+ }
1769
+ if (typeof e == "bigint") {
1770
+ var c = String(e) + "n";
1771
+ return s ? wr(e, c) : c;
1772
+ }
1773
+ var l = typeof i.depth > "u" ? 5 : i.depth;
1774
+ if (typeof r > "u" && (r = 0), r >= l && l > 0 && typeof e == "object")
1775
+ return $t(e) ? "[Array]" : "[Object]";
1776
+ var f = ma(i, r);
1777
+ if (typeof o > "u")
1778
+ o = [];
1779
+ else if (On(o, e) >= 0)
1780
+ return "[Circular]";
1781
+ function d(D, W, j) {
1782
+ if (W && (o = Xi.call(o), o.push(W)), j) {
1783
+ var fe = {
1784
+ depth: i.depth
1785
+ };
1786
+ return z(i, "quoteStyle") && (fe.quoteStyle = i.quoteStyle), t(D, fe, r + 1, o);
1787
+ }
1788
+ return t(D, i, r + 1, o);
1789
+ }
1790
+ if (typeof e == "function" && !Er(e)) {
1791
+ var v = sa(e), y = Pe(e, d);
1792
+ return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (y.length > 0 ? " { " + k.call(y, ", ") + " }" : "");
1793
+ }
1794
+ if (An(e)) {
1795
+ var m = ae ? G.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ft.call(e);
1796
+ return typeof e == "object" && !ae ? de(m) : m;
1797
+ }
1798
+ if (da(e)) {
1799
+ for (var h = "<" + hr.call(String(e.nodeName)), S = e.attributes || [], E = 0; E < S.length; E++)
1800
+ h += " " + S[E].name + "=" + En(Yi(S[E].value), "double", i);
1801
+ return h += ">", e.childNodes && e.childNodes.length && (h += "..."), h += "</" + hr.call(String(e.nodeName)) + ">", h;
1802
+ }
1803
+ if ($t(e)) {
1804
+ if (e.length === 0)
1805
+ return "[]";
1806
+ var g = Pe(e, d);
1807
+ return f && !ha(g) ? "[" + Lt(g, f) + "]" : "[ " + k.call(g, ", ") + " ]";
1808
+ }
1809
+ if (ta(e)) {
1810
+ var A = Pe(e, d);
1811
+ return !("cause" in Error.prototype) && "cause" in e && !Sn.call(e, "cause") ? "{ [" + String(e) + "] " + k.call(mr.call("[cause]: " + d(e.cause), A), ", ") + " }" : A.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + k.call(A, ", ") + " }";
1812
+ }
1813
+ if (typeof e == "object" && a) {
1814
+ if (br && typeof e[br] == "function" && Dt)
1815
+ return Dt(e, { depth: l - r });
1816
+ if (a !== "symbol" && typeof e.inspect == "function")
1817
+ return e.inspect();
1818
+ }
1819
+ if (la(e)) {
1820
+ var O = [];
1821
+ return pr && pr.call(e, function(D, W) {
1822
+ O.push(d(W, e, !0) + " => " + d(D, e));
1823
+ }), Ar("Map", Ue.call(e), O, f);
1824
+ }
1825
+ if (fa(e)) {
1826
+ var _ = [];
1827
+ return dr && dr.call(e, function(D) {
1828
+ _.push(d(D, e));
1829
+ }), Ar("Set", Be.call(e), _, f);
1830
+ }
1831
+ if (ca(e))
1832
+ return at("WeakMap");
1833
+ if (pa(e))
1834
+ return at("WeakSet");
1835
+ if (ua(e))
1836
+ return at("WeakRef");
1837
+ if (na(e))
1838
+ return de(d(Number(e)));
1839
+ if (ia(e))
1840
+ return de(d(It.call(e)));
1841
+ if (oa(e))
1842
+ return de(Gi.call(e));
1843
+ if (ra(e))
1844
+ return de(d(String(e)));
1845
+ if (typeof window < "u" && e === window)
1846
+ return "{ [object Window] }";
1847
+ if (typeof globalThis < "u" && e === globalThis || typeof fr < "u" && e === fr)
1848
+ return "{ [object globalThis] }";
1849
+ if (!ea(e) && !Er(e)) {
1850
+ var N = Pe(e, d), q = vr ? vr(e) === Object.prototype : e instanceof Object || e.constructor === Object, L = e instanceof Object ? "" : "null prototype", H = !q && me && Object(e) === e && me in e ? Gt.call(J(e), 8, -1) : L ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", te = Re + (H || L ? "[" + k.call(mr.call([], H || [], L || []), ": ") + "] " : "");
1851
+ return N.length === 0 ? te + "{}" : f ? te + "{" + Lt(N, f) + "}" : te + "{ " + k.call(N, ", ") + " }";
1852
+ }
1853
+ return String(e);
1854
+ };
1855
+ function En(t, e, n) {
1856
+ var r = n.quoteStyle || e, o = bn[r];
1857
+ return o + t + o;
1858
+ }
1859
+ function Yi(t) {
1860
+ return G.call(String(t), /"/g, "&quot;");
1861
+ }
1862
+ function ee(t) {
1863
+ return !me || !(typeof t == "object" && (me in t || typeof t[me] < "u"));
1864
+ }
1865
+ function $t(t) {
1866
+ return J(t) === "[object Array]" && ee(t);
1867
+ }
1868
+ function ea(t) {
1869
+ return J(t) === "[object Date]" && ee(t);
1870
+ }
1871
+ function Er(t) {
1872
+ return J(t) === "[object RegExp]" && ee(t);
1873
+ }
1874
+ function ta(t) {
1875
+ return J(t) === "[object Error]" && ee(t);
1876
+ }
1877
+ function ra(t) {
1878
+ return J(t) === "[object String]" && ee(t);
1879
+ }
1880
+ function na(t) {
1881
+ return J(t) === "[object Number]" && ee(t);
1882
+ }
1883
+ function oa(t) {
1884
+ return J(t) === "[object Boolean]" && ee(t);
1885
+ }
1886
+ function An(t) {
1887
+ if (ae)
1888
+ return t && typeof t == "object" && t instanceof Symbol;
1889
+ if (typeof t == "symbol")
1890
+ return !0;
1891
+ if (!t || typeof t != "object" || !Ft)
1892
+ return !1;
1893
+ try {
1894
+ return Ft.call(t), !0;
1895
+ } catch {
1896
+ }
1897
+ return !1;
1898
+ }
1899
+ function ia(t) {
1900
+ if (!t || typeof t != "object" || !It)
1901
+ return !1;
1902
+ try {
1903
+ return It.call(t), !0;
1904
+ } catch {
1905
+ }
1906
+ return !1;
1907
+ }
1908
+ var aa = Object.prototype.hasOwnProperty || function(t) {
1909
+ return t in this;
1910
+ };
1911
+ function z(t, e) {
1912
+ return aa.call(t, e);
1913
+ }
1914
+ function J(t) {
1915
+ return Ji.call(t);
1916
+ }
1917
+ function sa(t) {
1918
+ if (t.name)
1919
+ return t.name;
1920
+ var e = Ki.call(Vi.call(t), /^function\s*([\w$]+)/);
1921
+ return e ? e[1] : null;
1922
+ }
1923
+ function On(t, e) {
1924
+ if (t.indexOf)
1925
+ return t.indexOf(e);
1926
+ for (var n = 0, r = t.length; n < r; n++)
1927
+ if (t[n] === e)
1928
+ return n;
1929
+ return -1;
1930
+ }
1931
+ function la(t) {
1932
+ if (!Ue || !t || typeof t != "object")
1933
+ return !1;
1934
+ try {
1935
+ Ue.call(t);
1936
+ try {
1937
+ Be.call(t);
1938
+ } catch {
1939
+ return !0;
1940
+ }
1941
+ return t instanceof Map;
1942
+ } catch {
1943
+ }
1944
+ return !1;
1945
+ }
1946
+ function ca(t) {
1947
+ if (!ye || !t || typeof t != "object")
1948
+ return !1;
1949
+ try {
1950
+ ye.call(t, ye);
1951
+ try {
1952
+ he.call(t, he);
1953
+ } catch {
1954
+ return !0;
1955
+ }
1956
+ return t instanceof WeakMap;
1957
+ } catch {
1958
+ }
1959
+ return !1;
1960
+ }
1961
+ function ua(t) {
1962
+ if (!yr || !t || typeof t != "object")
1963
+ return !1;
1964
+ try {
1965
+ return yr.call(t), !0;
1966
+ } catch {
1967
+ }
1968
+ return !1;
1969
+ }
1970
+ function fa(t) {
1971
+ if (!Be || !t || typeof t != "object")
1972
+ return !1;
1973
+ try {
1974
+ Be.call(t);
1975
+ try {
1976
+ Ue.call(t);
1977
+ } catch {
1978
+ return !0;
1979
+ }
1980
+ return t instanceof Set;
1981
+ } catch {
1982
+ }
1983
+ return !1;
1984
+ }
1985
+ function pa(t) {
1986
+ if (!he || !t || typeof t != "object")
1987
+ return !1;
1988
+ try {
1989
+ he.call(t, he);
1990
+ try {
1991
+ ye.call(t, ye);
1992
+ } catch {
1993
+ return !0;
1994
+ }
1995
+ return t instanceof WeakSet;
1996
+ } catch {
1997
+ }
1998
+ return !1;
1999
+ }
2000
+ function da(t) {
2001
+ return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
2002
+ }
2003
+ function Rn(t, e) {
2004
+ if (t.length > e.maxStringLength) {
2005
+ var n = t.length - e.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
2006
+ return Rn(Gt.call(t, 0, e.maxStringLength), e) + r;
2007
+ }
2008
+ var o = Zi[e.quoteStyle || "single"];
2009
+ o.lastIndex = 0;
2010
+ var i = G.call(G.call(t, o, "\\$1"), /[\x00-\x1f]/g, ya);
2011
+ return En(i, "single", e);
2012
+ }
2013
+ function ya(t) {
2014
+ var e = t.charCodeAt(0), n = {
2015
+ 8: "b",
2016
+ 9: "t",
2017
+ 10: "n",
2018
+ 12: "f",
2019
+ 13: "r"
2020
+ }[e];
2021
+ return n ? "\\" + n : "\\x" + (e < 16 ? "0" : "") + Qi.call(e.toString(16));
2022
+ }
2023
+ function de(t) {
2024
+ return "Object(" + t + ")";
2025
+ }
2026
+ function at(t) {
2027
+ return t + " { ? }";
2028
+ }
2029
+ function Ar(t, e, n, r) {
2030
+ var o = r ? Lt(n, r) : k.call(n, ", ");
2031
+ return t + " (" + e + ") {" + o + "}";
2032
+ }
2033
+ function ha(t) {
2034
+ for (var e = 0; e < t.length; e++)
2035
+ if (On(t[e], `
2036
+ `) >= 0)
2037
+ return !1;
2038
+ return !0;
2039
+ }
2040
+ function ma(t, e) {
2041
+ var n;
2042
+ if (t.indent === " ")
2043
+ n = " ";
2044
+ else if (typeof t.indent == "number" && t.indent > 0)
2045
+ n = k.call(Array(t.indent + 1), " ");
2046
+ else
2047
+ return null;
2048
+ return {
2049
+ base: n,
2050
+ prev: k.call(Array(e + 1), n)
2051
+ };
2052
+ }
2053
+ function Lt(t, e) {
2054
+ if (t.length === 0)
2055
+ return "";
2056
+ var n = `
2057
+ ` + e.prev + e.base;
2058
+ return n + k.call(t, "," + n) + `
2059
+ ` + e.prev;
2060
+ }
2061
+ function Pe(t, e) {
2062
+ var n = $t(t), r = [];
2063
+ if (n) {
2064
+ r.length = t.length;
2065
+ for (var o = 0; o < t.length; o++)
2066
+ r[o] = z(t, o) ? e(t[o], t) : "";
2067
+ }
2068
+ var i = typeof it == "function" ? it(t) : [], a;
2069
+ if (ae) {
2070
+ a = {};
2071
+ for (var s = 0; s < i.length; s++)
2072
+ a["$" + i[s]] = i[s];
2073
+ }
2074
+ for (var u in t)
2075
+ z(t, u) && (n && String(Number(u)) === u && u < t.length || ae && a["$" + u] instanceof Symbol || (wn.call(/[^\w$]/, u) ? r.push(e(u, t) + ": " + e(t[u], t)) : r.push(u + ": " + e(t[u], t))));
2076
+ if (typeof it == "function")
2077
+ for (var c = 0; c < i.length; c++)
2078
+ Sn.call(t, i[c]) && r.push("[" + e(i[c]) + "]: " + e(t[i[c]], t));
2079
+ return r;
2080
+ }
2081
+ var ga = Ve, va = ue, Ke = function(t, e, n) {
2082
+ for (var r = t, o; (o = r.next) != null; r = o)
2083
+ if (o.key === e)
2084
+ return r.next = o.next, n || (o.next = /** @type {NonNullable<typeof list.next>} */
2085
+ t.next, t.next = o), o;
2086
+ }, wa = function(t, e) {
2087
+ if (t) {
2088
+ var n = Ke(t, e);
2089
+ return n && n.value;
2090
+ }
2091
+ }, Sa = function(t, e, n) {
2092
+ var r = Ke(t, e);
2093
+ r ? r.value = n : t.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
2094
+ {
2095
+ // eslint-disable-line no-param-reassign, no-extra-parens
2096
+ key: e,
2097
+ next: t.next,
2098
+ value: n
2099
+ };
2100
+ }, ba = function(t, e) {
2101
+ return t ? !!Ke(t, e) : !1;
2102
+ }, Ea = function(t, e) {
2103
+ if (t)
2104
+ return Ke(t, e, !0);
2105
+ }, Aa = function() {
2106
+ var e, n = {
2107
+ assert: function(r) {
2108
+ if (!n.has(r))
2109
+ throw new va("Side channel does not contain " + ga(r));
2110
+ },
2111
+ delete: function(r) {
2112
+ var o = e && e.next, i = Ea(e, r);
2113
+ return i && o && o === i && (e = void 0), !!i;
2114
+ },
2115
+ get: function(r) {
2116
+ return wa(e, r);
2117
+ },
2118
+ has: function(r) {
2119
+ return ba(e, r);
2120
+ },
2121
+ set: function(r, o) {
2122
+ e || (e = {
2123
+ next: void 0
2124
+ }), Sa(
2125
+ /** @type {NonNullable<typeof $o>} */
2126
+ e,
2127
+ r,
2128
+ o
2129
+ );
2130
+ }
2131
+ };
2132
+ return n;
2133
+ }, Pn = Object, Oa = Error, Ra = EvalError, Pa = RangeError, Ta = ReferenceError, xa = SyntaxError, Ca = URIError, _a = Math.abs, Na = Math.floor, Ia = Math.max, Fa = Math.min, Da = Math.pow, $a = Math.round, La = Number.isNaN || function(e) {
2134
+ return e !== e;
2135
+ }, Ua = La, Ba = function(e) {
2136
+ return Ua(e) || e === 0 ? e : e < 0 ? -1 : 1;
2137
+ }, Ma = Object.getOwnPropertyDescriptor, Ie = Ma;
2138
+ if (Ie)
2139
+ try {
2140
+ Ie([], "length");
2141
+ } catch {
2142
+ Ie = null;
2143
+ }
2144
+ var Tn = Ie, Fe = Object.defineProperty || !1;
2145
+ if (Fe)
2146
+ try {
2147
+ Fe({}, "a", { value: 1 });
2148
+ } catch {
2149
+ Fe = !1;
2150
+ }
2151
+ var ka = Fe, st, Or;
2152
+ function qa() {
2153
+ return Or || (Or = 1, st = function() {
2154
+ if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
2155
+ return !1;
2156
+ if (typeof Symbol.iterator == "symbol")
2157
+ return !0;
2158
+ var e = {}, n = Symbol("test"), r = Object(n);
2159
+ if (typeof n == "string" || Object.prototype.toString.call(n) !== "[object Symbol]" || Object.prototype.toString.call(r) !== "[object Symbol]")
2160
+ return !1;
2161
+ var o = 42;
2162
+ e[n] = o;
2163
+ for (var i in e)
2164
+ return !1;
2165
+ if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
2166
+ return !1;
2167
+ var a = Object.getOwnPropertySymbols(e);
2168
+ if (a.length !== 1 || a[0] !== n || !Object.prototype.propertyIsEnumerable.call(e, n))
2169
+ return !1;
2170
+ if (typeof Object.getOwnPropertyDescriptor == "function") {
2171
+ var s = (
2172
+ /** @type {PropertyDescriptor} */
2173
+ Object.getOwnPropertyDescriptor(e, n)
2174
+ );
2175
+ if (s.value !== o || s.enumerable !== !0)
2176
+ return !1;
2177
+ }
2178
+ return !0;
2179
+ }), st;
2180
+ }
2181
+ var lt, Rr;
2182
+ function ja() {
2183
+ if (Rr) return lt;
2184
+ Rr = 1;
2185
+ var t = typeof Symbol < "u" && Symbol, e = qa();
2186
+ return lt = function() {
2187
+ return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
2188
+ }, lt;
2189
+ }
2190
+ var ct, Pr;
2191
+ function xn() {
2192
+ return Pr || (Pr = 1, ct = typeof Reflect < "u" && Reflect.getPrototypeOf || null), ct;
2193
+ }
2194
+ var ut, Tr;
2195
+ function Cn() {
2196
+ if (Tr) return ut;
2197
+ Tr = 1;
2198
+ var t = Pn;
2199
+ return ut = t.getPrototypeOf || null, ut;
2200
+ }
2201
+ var ft, xr;
2202
+ function za() {
2203
+ if (xr) return ft;
2204
+ xr = 1;
2205
+ var t = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, n = Math.max, r = "[object Function]", o = function(u, c) {
2206
+ for (var l = [], f = 0; f < u.length; f += 1)
2207
+ l[f] = u[f];
2208
+ for (var d = 0; d < c.length; d += 1)
2209
+ l[d + u.length] = c[d];
2210
+ return l;
2211
+ }, i = function(u, c) {
2212
+ for (var l = [], f = c, d = 0; f < u.length; f += 1, d += 1)
2213
+ l[d] = u[f];
2214
+ return l;
2215
+ }, a = function(s, u) {
2216
+ for (var c = "", l = 0; l < s.length; l += 1)
2217
+ c += s[l], l + 1 < s.length && (c += u);
2218
+ return c;
2219
+ };
2220
+ return ft = function(u) {
2221
+ var c = this;
2222
+ if (typeof c != "function" || e.apply(c) !== r)
2223
+ throw new TypeError(t + c);
2224
+ for (var l = i(arguments, 1), f, d = function() {
2225
+ if (this instanceof f) {
2226
+ var S = c.apply(
2227
+ this,
2228
+ o(l, arguments)
2229
+ );
2230
+ return Object(S) === S ? S : this;
2231
+ }
2232
+ return c.apply(
2233
+ u,
2234
+ o(l, arguments)
2235
+ );
2236
+ }, v = n(0, c.length - l.length), y = [], m = 0; m < v; m++)
2237
+ y[m] = "$" + m;
2238
+ if (f = Function("binder", "return function (" + a(y, ",") + "){ return binder.apply(this,arguments); }")(d), c.prototype) {
2239
+ var h = function() {
2240
+ };
2241
+ h.prototype = c.prototype, f.prototype = new h(), h.prototype = null;
2242
+ }
2243
+ return f;
2244
+ }, ft;
2245
+ }
2246
+ var pt, Cr;
2247
+ function Qe() {
2248
+ if (Cr) return pt;
2249
+ Cr = 1;
2250
+ var t = za();
2251
+ return pt = Function.prototype.bind || t, pt;
2252
+ }
2253
+ var dt, _r;
2254
+ function Jt() {
2255
+ return _r || (_r = 1, dt = Function.prototype.call), dt;
2256
+ }
2257
+ var yt, Nr;
2258
+ function _n() {
2259
+ return Nr || (Nr = 1, yt = Function.prototype.apply), yt;
2260
+ }
2261
+ var Ha = typeof Reflect < "u" && Reflect && Reflect.apply, Wa = Qe(), Ga = _n(), Ja = Jt(), Va = Ha, Ka = Va || Wa.call(Ja, Ga), Qa = Qe(), Xa = ue, Za = Jt(), Ya = Ka, Nn = function(e) {
2262
+ if (e.length < 1 || typeof e[0] != "function")
2263
+ throw new Xa("a function is required");
2264
+ return Ya(Qa, Za, e);
2265
+ }, ht, Ir;
2266
+ function es() {
2267
+ if (Ir) return ht;
2268
+ Ir = 1;
2269
+ var t = Nn, e = Tn, n;
2270
+ try {
2271
+ n = /** @type {{ __proto__?: typeof Array.prototype }} */
2272
+ [].__proto__ === Array.prototype;
2273
+ } catch (a) {
2274
+ if (!a || typeof a != "object" || !("code" in a) || a.code !== "ERR_PROTO_ACCESS")
2275
+ throw a;
2276
+ }
2277
+ var r = !!n && e && e(
2278
+ Object.prototype,
2279
+ /** @type {keyof typeof Object.prototype} */
2280
+ "__proto__"
2281
+ ), o = Object, i = o.getPrototypeOf;
2282
+ return ht = r && typeof r.get == "function" ? t([r.get]) : typeof i == "function" ? (
2283
+ /** @type {import('./get')} */
2284
+ function(s) {
2285
+ return i(s == null ? s : o(s));
2286
+ }
2287
+ ) : !1, ht;
2288
+ }
2289
+ var mt, Fr;
2290
+ function ts() {
2291
+ if (Fr) return mt;
2292
+ Fr = 1;
2293
+ var t = xn(), e = Cn(), n = es();
2294
+ return mt = t ? function(o) {
2295
+ return t(o);
2296
+ } : e ? function(o) {
2297
+ if (!o || typeof o != "object" && typeof o != "function")
2298
+ throw new TypeError("getProto: not an object");
2299
+ return e(o);
2300
+ } : n ? function(o) {
2301
+ return n(o);
2302
+ } : null, mt;
2303
+ }
2304
+ var gt, Dr;
2305
+ function rs() {
2306
+ if (Dr) return gt;
2307
+ Dr = 1;
2308
+ var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = Qe();
2309
+ return gt = n.call(t, e), gt;
2310
+ }
2311
+ var b, ns = Pn, os = Oa, is = Ra, as = Pa, ss = Ta, se = xa, ie = ue, ls = Ca, cs = _a, us = Na, fs = Ia, ps = Fa, ds = Da, ys = $a, hs = Ba, In = Function, vt = function(t) {
2312
+ try {
2313
+ return In('"use strict"; return (' + t + ").constructor;")();
2314
+ } catch {
2315
+ }
2316
+ }, we = Tn, ms = ka, wt = function() {
2317
+ throw new ie();
2318
+ }, gs = we ? function() {
2319
+ try {
2320
+ return arguments.callee, wt;
2321
+ } catch {
2322
+ try {
2323
+ return we(arguments, "callee").get;
2324
+ } catch {
2325
+ return wt;
2326
+ }
2327
+ }
2328
+ }() : wt, re = ja()(), x = ts(), vs = Cn(), ws = xn(), Fn = _n(), Ee = Jt(), oe = {}, Ss = typeof Uint8Array > "u" || !x ? b : x(Uint8Array), X = {
2329
+ __proto__: null,
2330
+ "%AggregateError%": typeof AggregateError > "u" ? b : AggregateError,
2331
+ "%Array%": Array,
2332
+ "%ArrayBuffer%": typeof ArrayBuffer > "u" ? b : ArrayBuffer,
2333
+ "%ArrayIteratorPrototype%": re && x ? x([][Symbol.iterator]()) : b,
2334
+ "%AsyncFromSyncIteratorPrototype%": b,
2335
+ "%AsyncFunction%": oe,
2336
+ "%AsyncGenerator%": oe,
2337
+ "%AsyncGeneratorFunction%": oe,
2338
+ "%AsyncIteratorPrototype%": oe,
2339
+ "%Atomics%": typeof Atomics > "u" ? b : Atomics,
2340
+ "%BigInt%": typeof BigInt > "u" ? b : BigInt,
2341
+ "%BigInt64Array%": typeof BigInt64Array > "u" ? b : BigInt64Array,
2342
+ "%BigUint64Array%": typeof BigUint64Array > "u" ? b : BigUint64Array,
2343
+ "%Boolean%": Boolean,
2344
+ "%DataView%": typeof DataView > "u" ? b : DataView,
2345
+ "%Date%": Date,
2346
+ "%decodeURI%": decodeURI,
2347
+ "%decodeURIComponent%": decodeURIComponent,
2348
+ "%encodeURI%": encodeURI,
2349
+ "%encodeURIComponent%": encodeURIComponent,
2350
+ "%Error%": os,
2351
+ "%eval%": eval,
2352
+ // eslint-disable-line no-eval
2353
+ "%EvalError%": is,
2354
+ "%Float16Array%": typeof Float16Array > "u" ? b : Float16Array,
2355
+ "%Float32Array%": typeof Float32Array > "u" ? b : Float32Array,
2356
+ "%Float64Array%": typeof Float64Array > "u" ? b : Float64Array,
2357
+ "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? b : FinalizationRegistry,
2358
+ "%Function%": In,
2359
+ "%GeneratorFunction%": oe,
2360
+ "%Int8Array%": typeof Int8Array > "u" ? b : Int8Array,
2361
+ "%Int16Array%": typeof Int16Array > "u" ? b : Int16Array,
2362
+ "%Int32Array%": typeof Int32Array > "u" ? b : Int32Array,
2363
+ "%isFinite%": isFinite,
2364
+ "%isNaN%": isNaN,
2365
+ "%IteratorPrototype%": re && x ? x(x([][Symbol.iterator]())) : b,
2366
+ "%JSON%": typeof JSON == "object" ? JSON : b,
2367
+ "%Map%": typeof Map > "u" ? b : Map,
2368
+ "%MapIteratorPrototype%": typeof Map > "u" || !re || !x ? b : x((/* @__PURE__ */ new Map())[Symbol.iterator]()),
2369
+ "%Math%": Math,
2370
+ "%Number%": Number,
2371
+ "%Object%": ns,
2372
+ "%Object.getOwnPropertyDescriptor%": we,
2373
+ "%parseFloat%": parseFloat,
2374
+ "%parseInt%": parseInt,
2375
+ "%Promise%": typeof Promise > "u" ? b : Promise,
2376
+ "%Proxy%": typeof Proxy > "u" ? b : Proxy,
2377
+ "%RangeError%": as,
2378
+ "%ReferenceError%": ss,
2379
+ "%Reflect%": typeof Reflect > "u" ? b : Reflect,
2380
+ "%RegExp%": RegExp,
2381
+ "%Set%": typeof Set > "u" ? b : Set,
2382
+ "%SetIteratorPrototype%": typeof Set > "u" || !re || !x ? b : x((/* @__PURE__ */ new Set())[Symbol.iterator]()),
2383
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? b : SharedArrayBuffer,
2384
+ "%String%": String,
2385
+ "%StringIteratorPrototype%": re && x ? x(""[Symbol.iterator]()) : b,
2386
+ "%Symbol%": re ? Symbol : b,
2387
+ "%SyntaxError%": se,
2388
+ "%ThrowTypeError%": gs,
2389
+ "%TypedArray%": Ss,
2390
+ "%TypeError%": ie,
2391
+ "%Uint8Array%": typeof Uint8Array > "u" ? b : Uint8Array,
2392
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? b : Uint8ClampedArray,
2393
+ "%Uint16Array%": typeof Uint16Array > "u" ? b : Uint16Array,
2394
+ "%Uint32Array%": typeof Uint32Array > "u" ? b : Uint32Array,
2395
+ "%URIError%": ls,
2396
+ "%WeakMap%": typeof WeakMap > "u" ? b : WeakMap,
2397
+ "%WeakRef%": typeof WeakRef > "u" ? b : WeakRef,
2398
+ "%WeakSet%": typeof WeakSet > "u" ? b : WeakSet,
2399
+ "%Function.prototype.call%": Ee,
2400
+ "%Function.prototype.apply%": Fn,
2401
+ "%Object.defineProperty%": ms,
2402
+ "%Object.getPrototypeOf%": vs,
2403
+ "%Math.abs%": cs,
2404
+ "%Math.floor%": us,
2405
+ "%Math.max%": fs,
2406
+ "%Math.min%": ps,
2407
+ "%Math.pow%": ds,
2408
+ "%Math.round%": ys,
2409
+ "%Math.sign%": hs,
2410
+ "%Reflect.getPrototypeOf%": ws
2411
+ };
2412
+ if (x)
2413
+ try {
2414
+ null.error;
2415
+ } catch (t) {
2416
+ var bs = x(x(t));
2417
+ X["%Error.prototype%"] = bs;
2418
+ }
2419
+ var Es = function t(e) {
2420
+ var n;
2421
+ if (e === "%AsyncFunction%")
2422
+ n = vt("async function () {}");
2423
+ else if (e === "%GeneratorFunction%")
2424
+ n = vt("function* () {}");
2425
+ else if (e === "%AsyncGeneratorFunction%")
2426
+ n = vt("async function* () {}");
2427
+ else if (e === "%AsyncGenerator%") {
2428
+ var r = t("%AsyncGeneratorFunction%");
2429
+ r && (n = r.prototype);
2430
+ } else if (e === "%AsyncIteratorPrototype%") {
2431
+ var o = t("%AsyncGenerator%");
2432
+ o && x && (n = x(o.prototype));
2433
+ }
2434
+ return X[e] = n, n;
2435
+ }, $r = {
2436
+ __proto__: null,
2437
+ "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
2438
+ "%ArrayPrototype%": ["Array", "prototype"],
2439
+ "%ArrayProto_entries%": ["Array", "prototype", "entries"],
2440
+ "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
2441
+ "%ArrayProto_keys%": ["Array", "prototype", "keys"],
2442
+ "%ArrayProto_values%": ["Array", "prototype", "values"],
2443
+ "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
2444
+ "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
2445
+ "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
2446
+ "%BooleanPrototype%": ["Boolean", "prototype"],
2447
+ "%DataViewPrototype%": ["DataView", "prototype"],
2448
+ "%DatePrototype%": ["Date", "prototype"],
2449
+ "%ErrorPrototype%": ["Error", "prototype"],
2450
+ "%EvalErrorPrototype%": ["EvalError", "prototype"],
2451
+ "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
2452
+ "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
2453
+ "%FunctionPrototype%": ["Function", "prototype"],
2454
+ "%Generator%": ["GeneratorFunction", "prototype"],
2455
+ "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
2456
+ "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
2457
+ "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
2458
+ "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
2459
+ "%JSONParse%": ["JSON", "parse"],
2460
+ "%JSONStringify%": ["JSON", "stringify"],
2461
+ "%MapPrototype%": ["Map", "prototype"],
2462
+ "%NumberPrototype%": ["Number", "prototype"],
2463
+ "%ObjectPrototype%": ["Object", "prototype"],
2464
+ "%ObjProto_toString%": ["Object", "prototype", "toString"],
2465
+ "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
2466
+ "%PromisePrototype%": ["Promise", "prototype"],
2467
+ "%PromiseProto_then%": ["Promise", "prototype", "then"],
2468
+ "%Promise_all%": ["Promise", "all"],
2469
+ "%Promise_reject%": ["Promise", "reject"],
2470
+ "%Promise_resolve%": ["Promise", "resolve"],
2471
+ "%RangeErrorPrototype%": ["RangeError", "prototype"],
2472
+ "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
2473
+ "%RegExpPrototype%": ["RegExp", "prototype"],
2474
+ "%SetPrototype%": ["Set", "prototype"],
2475
+ "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
2476
+ "%StringPrototype%": ["String", "prototype"],
2477
+ "%SymbolPrototype%": ["Symbol", "prototype"],
2478
+ "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
2479
+ "%TypedArrayPrototype%": ["TypedArray", "prototype"],
2480
+ "%TypeErrorPrototype%": ["TypeError", "prototype"],
2481
+ "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
2482
+ "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
2483
+ "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
2484
+ "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
2485
+ "%URIErrorPrototype%": ["URIError", "prototype"],
2486
+ "%WeakMapPrototype%": ["WeakMap", "prototype"],
2487
+ "%WeakSetPrototype%": ["WeakSet", "prototype"]
2488
+ }, Ae = Qe(), Me = rs(), As = Ae.call(Ee, Array.prototype.concat), Os = Ae.call(Fn, Array.prototype.splice), Lr = Ae.call(Ee, String.prototype.replace), ke = Ae.call(Ee, String.prototype.slice), Rs = Ae.call(Ee, RegExp.prototype.exec), Ps = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ts = /\\(\\)?/g, xs = function(e) {
2489
+ var n = ke(e, 0, 1), r = ke(e, -1);
2490
+ if (n === "%" && r !== "%")
2491
+ throw new se("invalid intrinsic syntax, expected closing `%`");
2492
+ if (r === "%" && n !== "%")
2493
+ throw new se("invalid intrinsic syntax, expected opening `%`");
2494
+ var o = [];
2495
+ return Lr(e, Ps, function(i, a, s, u) {
2496
+ o[o.length] = s ? Lr(u, Ts, "$1") : a || i;
2497
+ }), o;
2498
+ }, Cs = function(e, n) {
2499
+ var r = e, o;
2500
+ if (Me($r, r) && (o = $r[r], r = "%" + o[0] + "%"), Me(X, r)) {
2501
+ var i = X[r];
2502
+ if (i === oe && (i = Es(r)), typeof i > "u" && !n)
2503
+ throw new ie("intrinsic " + e + " exists, but is not available. Please file an issue!");
2504
+ return {
2505
+ alias: o,
2506
+ name: r,
2507
+ value: i
2508
+ };
2509
+ }
2510
+ throw new se("intrinsic " + e + " does not exist!");
2511
+ }, Vt = function(e, n) {
2512
+ if (typeof e != "string" || e.length === 0)
2513
+ throw new ie("intrinsic name must be a non-empty string");
2514
+ if (arguments.length > 1 && typeof n != "boolean")
2515
+ throw new ie('"allowMissing" argument must be a boolean');
2516
+ if (Rs(/^%?[^%]*%?$/, e) === null)
2517
+ throw new se("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
2518
+ var r = xs(e), o = r.length > 0 ? r[0] : "", i = Cs("%" + o + "%", n), a = i.name, s = i.value, u = !1, c = i.alias;
2519
+ c && (o = c[0], Os(r, As([0, 1], c)));
2520
+ for (var l = 1, f = !0; l < r.length; l += 1) {
2521
+ var d = r[l], v = ke(d, 0, 1), y = ke(d, -1);
2522
+ if ((v === '"' || v === "'" || v === "`" || y === '"' || y === "'" || y === "`") && v !== y)
2523
+ throw new se("property names with quotes must have matching quotes");
2524
+ if ((d === "constructor" || !f) && (u = !0), o += "." + d, a = "%" + o + "%", Me(X, a))
2525
+ s = X[a];
2526
+ else if (s != null) {
2527
+ if (!(d in s)) {
2528
+ if (!n)
2529
+ throw new ie("base intrinsic for " + e + " exists, but the property is not available.");
2530
+ return;
2531
+ }
2532
+ if (we && l + 1 >= r.length) {
2533
+ var m = we(s, d);
2534
+ f = !!m, f && "get" in m && !("originalValue" in m.get) ? s = m.get : s = s[d];
2535
+ } else
2536
+ f = Me(s, d), s = s[d];
2537
+ f && !u && (X[a] = s);
2538
+ }
2539
+ }
2540
+ return s;
2541
+ }, Dn = Vt, $n = Nn, _s = $n([Dn("%String.prototype.indexOf%")]), Ln = function(e, n) {
2542
+ var r = (
2543
+ /** @type {(this: unknown, ...args: unknown[]) => unknown} */
2544
+ Dn(e, !!n)
2545
+ );
2546
+ return typeof r == "function" && _s(e, ".prototype.") > -1 ? $n(
2547
+ /** @type {const} */
2548
+ [r]
2549
+ ) : r;
2550
+ }, Ns = Vt, Oe = Ln, Is = Ve, Fs = ue, Ur = Ns("%Map%", !0), Ds = Oe("Map.prototype.get", !0), $s = Oe("Map.prototype.set", !0), Ls = Oe("Map.prototype.has", !0), Us = Oe("Map.prototype.delete", !0), Bs = Oe("Map.prototype.size", !0), Un = !!Ur && /** @type {Exclude<import('.'), false>} */
2551
+ function() {
2552
+ var e, n = {
2553
+ assert: function(r) {
2554
+ if (!n.has(r))
2555
+ throw new Fs("Side channel does not contain " + Is(r));
2556
+ },
2557
+ delete: function(r) {
2558
+ if (e) {
2559
+ var o = Us(e, r);
2560
+ return Bs(e) === 0 && (e = void 0), o;
2561
+ }
2562
+ return !1;
2563
+ },
2564
+ get: function(r) {
2565
+ if (e)
2566
+ return Ds(e, r);
2567
+ },
2568
+ has: function(r) {
2569
+ return e ? Ls(e, r) : !1;
2570
+ },
2571
+ set: function(r, o) {
2572
+ e || (e = new Ur()), $s(e, r, o);
2573
+ }
2574
+ };
2575
+ return n;
2576
+ }, Ms = Vt, Xe = Ln, ks = Ve, Te = Un, qs = ue, ne = Ms("%WeakMap%", !0), js = Xe("WeakMap.prototype.get", !0), zs = Xe("WeakMap.prototype.set", !0), Hs = Xe("WeakMap.prototype.has", !0), Ws = Xe("WeakMap.prototype.delete", !0), Gs = ne ? (
2577
+ /** @type {Exclude<import('.'), false>} */
2578
+ function() {
2579
+ var e, n, r = {
2580
+ assert: function(o) {
2581
+ if (!r.has(o))
2582
+ throw new qs("Side channel does not contain " + ks(o));
2583
+ },
2584
+ delete: function(o) {
2585
+ if (ne && o && (typeof o == "object" || typeof o == "function")) {
2586
+ if (e)
2587
+ return Ws(e, o);
2588
+ } else if (Te && n)
2589
+ return n.delete(o);
2590
+ return !1;
2591
+ },
2592
+ get: function(o) {
2593
+ return ne && o && (typeof o == "object" || typeof o == "function") && e ? js(e, o) : n && n.get(o);
2594
+ },
2595
+ has: function(o) {
2596
+ return ne && o && (typeof o == "object" || typeof o == "function") && e ? Hs(e, o) : !!n && n.has(o);
2597
+ },
2598
+ set: function(o, i) {
2599
+ ne && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new ne()), zs(e, o, i)) : Te && (n || (n = Te()), n.set(o, i));
2600
+ }
2601
+ };
2602
+ return r;
2603
+ }
2604
+ ) : Te, Js = ue, Vs = Ve, Ks = Aa, Qs = Un, Xs = Gs, Zs = Xs || Qs || Ks, Ys = function() {
2605
+ var e, n = {
2606
+ assert: function(r) {
2607
+ if (!n.has(r))
2608
+ throw new Js("Side channel does not contain " + Vs(r));
2609
+ },
2610
+ delete: function(r) {
2611
+ return !!e && e.delete(r);
2612
+ },
2613
+ get: function(r) {
2614
+ return e && e.get(r);
2615
+ },
2616
+ has: function(r) {
2617
+ return !!e && e.has(r);
2618
+ },
2619
+ set: function(r, o) {
2620
+ e || (e = Zs()), e.set(r, o);
2621
+ }
2622
+ };
2623
+ return n;
2624
+ }, el = String.prototype.replace, tl = /%20/g, St = {
2625
+ RFC1738: "RFC1738",
2626
+ RFC3986: "RFC3986"
2627
+ }, Kt = {
2628
+ default: St.RFC3986,
2629
+ formatters: {
2630
+ RFC1738: function(t) {
2631
+ return el.call(t, tl, "+");
2632
+ },
2633
+ RFC3986: function(t) {
2634
+ return String(t);
2635
+ }
2636
+ },
2637
+ RFC1738: St.RFC1738,
2638
+ RFC3986: St.RFC3986
2639
+ }, rl = Kt, bt = Object.prototype.hasOwnProperty, V = Array.isArray, B = function() {
2640
+ for (var t = [], e = 0; e < 256; ++e)
2641
+ t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2642
+ return t;
2643
+ }(), nl = function(e) {
2644
+ for (; e.length > 1; ) {
2645
+ var n = e.pop(), r = n.obj[n.prop];
2646
+ if (V(r)) {
2647
+ for (var o = [], i = 0; i < r.length; ++i)
2648
+ typeof r[i] < "u" && o.push(r[i]);
2649
+ n.obj[n.prop] = o;
2650
+ }
2651
+ }
2652
+ }, Bn = function(e, n) {
2653
+ for (var r = n && n.plainObjects ? { __proto__: null } : {}, o = 0; o < e.length; ++o)
2654
+ typeof e[o] < "u" && (r[o] = e[o]);
2655
+ return r;
2656
+ }, ol = function t(e, n, r) {
2657
+ if (!n)
2658
+ return e;
2659
+ if (typeof n != "object" && typeof n != "function") {
2660
+ if (V(e))
2661
+ e.push(n);
2662
+ else if (e && typeof e == "object")
2663
+ (r && (r.plainObjects || r.allowPrototypes) || !bt.call(Object.prototype, n)) && (e[n] = !0);
2664
+ else
2665
+ return [e, n];
2666
+ return e;
2667
+ }
2668
+ if (!e || typeof e != "object")
2669
+ return [e].concat(n);
2670
+ var o = e;
2671
+ return V(e) && !V(n) && (o = Bn(e, r)), V(e) && V(n) ? (n.forEach(function(i, a) {
2672
+ if (bt.call(e, a)) {
2673
+ var s = e[a];
2674
+ s && typeof s == "object" && i && typeof i == "object" ? e[a] = t(s, i, r) : e.push(i);
2675
+ } else
2676
+ e[a] = i;
2677
+ }), e) : Object.keys(n).reduce(function(i, a) {
2678
+ var s = n[a];
2679
+ return bt.call(i, a) ? i[a] = t(i[a], s, r) : i[a] = s, i;
2680
+ }, o);
2681
+ }, il = function(e, n) {
2682
+ return Object.keys(n).reduce(function(r, o) {
2683
+ return r[o] = n[o], r;
2684
+ }, e);
2685
+ }, al = function(t, e, n) {
2686
+ var r = t.replace(/\+/g, " ");
2687
+ if (n === "iso-8859-1")
2688
+ return r.replace(/%[0-9a-f]{2}/gi, unescape);
2689
+ try {
2690
+ return decodeURIComponent(r);
2691
+ } catch {
2692
+ return r;
2693
+ }
2694
+ }, Et = 1024, sl = function(e, n, r, o, i) {
2695
+ if (e.length === 0)
2696
+ return e;
2697
+ var a = e;
2698
+ if (typeof e == "symbol" ? a = Symbol.prototype.toString.call(e) : typeof e != "string" && (a = String(e)), r === "iso-8859-1")
2699
+ return escape(a).replace(/%u[0-9a-f]{4}/gi, function(v) {
2700
+ return "%26%23" + parseInt(v.slice(2), 16) + "%3B";
2701
+ });
2702
+ for (var s = "", u = 0; u < a.length; u += Et) {
2703
+ for (var c = a.length >= Et ? a.slice(u, u + Et) : a, l = [], f = 0; f < c.length; ++f) {
2704
+ var d = c.charCodeAt(f);
2705
+ if (d === 45 || d === 46 || d === 95 || d === 126 || d >= 48 && d <= 57 || d >= 65 && d <= 90 || d >= 97 && d <= 122 || i === rl.RFC1738 && (d === 40 || d === 41)) {
2706
+ l[l.length] = c.charAt(f);
2707
+ continue;
2708
+ }
2709
+ if (d < 128) {
2710
+ l[l.length] = B[d];
2711
+ continue;
2712
+ }
2713
+ if (d < 2048) {
2714
+ l[l.length] = B[192 | d >> 6] + B[128 | d & 63];
2715
+ continue;
2716
+ }
2717
+ if (d < 55296 || d >= 57344) {
2718
+ l[l.length] = B[224 | d >> 12] + B[128 | d >> 6 & 63] + B[128 | d & 63];
2719
+ continue;
2720
+ }
2721
+ f += 1, d = 65536 + ((d & 1023) << 10 | c.charCodeAt(f) & 1023), l[l.length] = B[240 | d >> 18] + B[128 | d >> 12 & 63] + B[128 | d >> 6 & 63] + B[128 | d & 63];
2722
+ }
2723
+ s += l.join("");
2724
+ }
2725
+ return s;
2726
+ }, ll = function(e) {
2727
+ for (var n = [{ obj: { o: e }, prop: "o" }], r = [], o = 0; o < n.length; ++o)
2728
+ for (var i = n[o], a = i.obj[i.prop], s = Object.keys(a), u = 0; u < s.length; ++u) {
2729
+ var c = s[u], l = a[c];
2730
+ typeof l == "object" && l !== null && r.indexOf(l) === -1 && (n.push({ obj: a, prop: c }), r.push(l));
2731
+ }
2732
+ return nl(n), e;
2733
+ }, cl = function(e) {
2734
+ return Object.prototype.toString.call(e) === "[object RegExp]";
2735
+ }, ul = function(e) {
2736
+ return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
2737
+ }, fl = function(e, n) {
2738
+ return [].concat(e, n);
2739
+ }, pl = function(e, n) {
2740
+ if (V(e)) {
2741
+ for (var r = [], o = 0; o < e.length; o += 1)
2742
+ r.push(n(e[o]));
2743
+ return r;
2744
+ }
2745
+ return n(e);
2746
+ }, Mn = {
2747
+ arrayToObject: Bn,
2748
+ assign: il,
2749
+ combine: fl,
2750
+ compact: ll,
2751
+ decode: al,
2752
+ encode: sl,
2753
+ isBuffer: ul,
2754
+ isRegExp: cl,
2755
+ maybeMap: pl,
2756
+ merge: ol
2757
+ }, kn = Ys, De = Mn, ge = Kt, dl = Object.prototype.hasOwnProperty, qn = {
2758
+ brackets: function(e) {
2759
+ return e + "[]";
2760
+ },
2761
+ comma: "comma",
2762
+ indices: function(e, n) {
2763
+ return e + "[" + n + "]";
2764
+ },
2765
+ repeat: function(e) {
2766
+ return e;
2767
+ }
2768
+ }, M = Array.isArray, yl = Array.prototype.push, jn = function(t, e) {
2769
+ yl.apply(t, M(e) ? e : [e]);
2770
+ }, hl = Date.prototype.toISOString, Br = ge.default, T = {
2771
+ addQueryPrefix: !1,
2772
+ allowDots: !1,
2773
+ allowEmptyArrays: !1,
2774
+ arrayFormat: "indices",
2775
+ charset: "utf-8",
2776
+ charsetSentinel: !1,
2777
+ commaRoundTrip: !1,
2778
+ delimiter: "&",
2779
+ encode: !0,
2780
+ encodeDotInKeys: !1,
2781
+ encoder: De.encode,
2782
+ encodeValuesOnly: !1,
2783
+ filter: void 0,
2784
+ format: Br,
2785
+ formatter: ge.formatters[Br],
2786
+ // deprecated
2787
+ indices: !1,
2788
+ serializeDate: function(e) {
2789
+ return hl.call(e);
2790
+ },
2791
+ skipNulls: !1,
2792
+ strictNullHandling: !1
2793
+ }, ml = function(e) {
2794
+ return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2795
+ }, At = {}, gl = function t(e, n, r, o, i, a, s, u, c, l, f, d, v, y, m, h, S, E) {
2796
+ for (var g = e, A = E, O = 0, _ = !1; (A = A.get(At)) !== void 0 && !_; ) {
2797
+ var N = A.get(e);
2798
+ if (O += 1, typeof N < "u") {
2799
+ if (N === O)
2800
+ throw new RangeError("Cyclic object value");
2801
+ _ = !0;
2802
+ }
2803
+ typeof A.get(At) > "u" && (O = 0);
2804
+ }
2805
+ if (typeof l == "function" ? g = l(n, g) : g instanceof Date ? g = v(g) : r === "comma" && M(g) && (g = De.maybeMap(g, function(Ye) {
2806
+ return Ye instanceof Date ? v(Ye) : Ye;
2807
+ })), g === null) {
2808
+ if (a)
2809
+ return c && !h ? c(n, T.encoder, S, "key", y) : n;
2810
+ g = "";
2811
+ }
2812
+ if (ml(g) || De.isBuffer(g)) {
2813
+ if (c) {
2814
+ var q = h ? n : c(n, T.encoder, S, "key", y);
2815
+ return [m(q) + "=" + m(c(g, T.encoder, S, "value", y))];
2816
+ }
2817
+ return [m(n) + "=" + m(String(g))];
2818
+ }
2819
+ var L = [];
2820
+ if (typeof g > "u")
2821
+ return L;
2822
+ var H;
2823
+ if (r === "comma" && M(g))
2824
+ h && c && (g = De.maybeMap(g, c)), H = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
2825
+ else if (M(l))
2826
+ H = l;
2827
+ else {
2828
+ var Re = Object.keys(g);
2829
+ H = f ? Re.sort(f) : Re;
2830
+ }
2831
+ var te = u ? String(n).replace(/\./g, "%2E") : String(n), D = o && M(g) && g.length === 1 ? te + "[]" : te;
2832
+ if (i && M(g) && g.length === 0)
2833
+ return D + "[]";
2834
+ for (var W = 0; W < H.length; ++W) {
2835
+ var j = H[W], fe = typeof j == "object" && j && typeof j.value < "u" ? j.value : g[j];
2836
+ if (!(s && fe === null)) {
2837
+ var Ze = d && u ? String(j).replace(/\./g, "%2E") : String(j), Kn = M(g) ? typeof r == "function" ? r(D, Ze) : D : D + (d ? "." + Ze : "[" + Ze + "]");
2838
+ E.set(e, O);
2839
+ var Xt = kn();
2840
+ Xt.set(At, E), jn(L, t(
2841
+ fe,
2842
+ Kn,
2843
+ r,
2844
+ o,
2845
+ i,
2846
+ a,
2847
+ s,
2848
+ u,
2849
+ r === "comma" && h && M(g) ? null : c,
2850
+ l,
2851
+ f,
2852
+ d,
2853
+ v,
2854
+ y,
2855
+ m,
2856
+ h,
2857
+ S,
2858
+ Xt
2859
+ ));
2860
+ }
2861
+ }
2862
+ return L;
2863
+ }, vl = function(e) {
2864
+ if (!e)
2865
+ return T;
2866
+ if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
2867
+ throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
2868
+ if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
2869
+ throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
2870
+ if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
2871
+ throw new TypeError("Encoder has to be a function.");
2872
+ var n = e.charset || T.charset;
2873
+ if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
2874
+ throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
2875
+ var r = ge.default;
2876
+ if (typeof e.format < "u") {
2877
+ if (!dl.call(ge.formatters, e.format))
2878
+ throw new TypeError("Unknown format option provided.");
2879
+ r = e.format;
2880
+ }
2881
+ var o = ge.formatters[r], i = T.filter;
2882
+ (typeof e.filter == "function" || M(e.filter)) && (i = e.filter);
2883
+ var a;
2884
+ if (e.arrayFormat in qn ? a = e.arrayFormat : "indices" in e ? a = e.indices ? "indices" : "repeat" : a = T.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
2885
+ throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
2886
+ var s = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : T.allowDots : !!e.allowDots;
2887
+ return {
2888
+ addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : T.addQueryPrefix,
2889
+ allowDots: s,
2890
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : T.allowEmptyArrays,
2891
+ arrayFormat: a,
2892
+ charset: n,
2893
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : T.charsetSentinel,
2894
+ commaRoundTrip: !!e.commaRoundTrip,
2895
+ delimiter: typeof e.delimiter > "u" ? T.delimiter : e.delimiter,
2896
+ encode: typeof e.encode == "boolean" ? e.encode : T.encode,
2897
+ encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : T.encodeDotInKeys,
2898
+ encoder: typeof e.encoder == "function" ? e.encoder : T.encoder,
2899
+ encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : T.encodeValuesOnly,
2900
+ filter: i,
2901
+ format: r,
2902
+ formatter: o,
2903
+ serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : T.serializeDate,
2904
+ skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : T.skipNulls,
2905
+ sort: typeof e.sort == "function" ? e.sort : null,
2906
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : T.strictNullHandling
2907
+ };
2908
+ }, wl = function(t, e) {
2909
+ var n = t, r = vl(e), o, i;
2910
+ typeof r.filter == "function" ? (i = r.filter, n = i("", n)) : M(r.filter) && (i = r.filter, o = i);
2911
+ var a = [];
2912
+ if (typeof n != "object" || n === null)
2913
+ return "";
2914
+ var s = qn[r.arrayFormat], u = s === "comma" && r.commaRoundTrip;
2915
+ o || (o = Object.keys(n)), r.sort && o.sort(r.sort);
2916
+ for (var c = kn(), l = 0; l < o.length; ++l) {
2917
+ var f = o[l], d = n[f];
2918
+ r.skipNulls && d === null || jn(a, gl(
2919
+ d,
2920
+ f,
2921
+ s,
2922
+ u,
2923
+ r.allowEmptyArrays,
2924
+ r.strictNullHandling,
2925
+ r.skipNulls,
2926
+ r.encodeDotInKeys,
2927
+ r.encode ? r.encoder : null,
2928
+ r.filter,
2929
+ r.sort,
2930
+ r.allowDots,
2931
+ r.serializeDate,
2932
+ r.format,
2933
+ r.formatter,
2934
+ r.encodeValuesOnly,
2935
+ r.charset,
2936
+ c
2937
+ ));
2938
+ }
2939
+ var v = a.join(r.delimiter), y = r.addQueryPrefix === !0 ? "?" : "";
2940
+ return r.charsetSentinel && (r.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), v.length > 0 ? y + v : "";
2941
+ }, Y = Mn, Ut = Object.prototype.hasOwnProperty, Mr = Array.isArray, R = {
2942
+ allowDots: !1,
2943
+ allowEmptyArrays: !1,
2944
+ allowPrototypes: !1,
2945
+ allowSparse: !1,
2946
+ arrayLimit: 20,
2947
+ charset: "utf-8",
2948
+ charsetSentinel: !1,
2949
+ comma: !1,
2950
+ decodeDotInKeys: !1,
2951
+ decoder: Y.decode,
2952
+ delimiter: "&",
2953
+ depth: 5,
2954
+ duplicates: "combine",
2955
+ ignoreQueryPrefix: !1,
2956
+ interpretNumericEntities: !1,
2957
+ parameterLimit: 1e3,
2958
+ parseArrays: !0,
2959
+ plainObjects: !1,
2960
+ strictDepth: !1,
2961
+ strictNullHandling: !1,
2962
+ throwOnLimitExceeded: !1
2963
+ }, Sl = function(t) {
2964
+ return t.replace(/&#(\d+);/g, function(e, n) {
2965
+ return String.fromCharCode(parseInt(n, 10));
2966
+ });
2967
+ }, zn = function(t, e, n) {
2968
+ if (t && typeof t == "string" && e.comma && t.indexOf(",") > -1)
2969
+ return t.split(",");
2970
+ if (e.throwOnLimitExceeded && n >= e.arrayLimit)
2971
+ throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
2972
+ return t;
2973
+ }, bl = "utf8=%26%2310003%3B", El = "utf8=%E2%9C%93", Al = function(e, n) {
2974
+ var r = { __proto__: null }, o = n.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
2975
+ o = o.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
2976
+ var i = n.parameterLimit === 1 / 0 ? void 0 : n.parameterLimit, a = o.split(
2977
+ n.delimiter,
2978
+ n.throwOnLimitExceeded ? i + 1 : i
2979
+ );
2980
+ if (n.throwOnLimitExceeded && a.length > i)
2981
+ throw new RangeError("Parameter limit exceeded. Only " + i + " parameter" + (i === 1 ? "" : "s") + " allowed.");
2982
+ var s = -1, u, c = n.charset;
2983
+ if (n.charsetSentinel)
2984
+ for (u = 0; u < a.length; ++u)
2985
+ a[u].indexOf("utf8=") === 0 && (a[u] === El ? c = "utf-8" : a[u] === bl && (c = "iso-8859-1"), s = u, u = a.length);
2986
+ for (u = 0; u < a.length; ++u)
2987
+ if (u !== s) {
2988
+ var l = a[u], f = l.indexOf("]="), d = f === -1 ? l.indexOf("=") : f + 1, v, y;
2989
+ d === -1 ? (v = n.decoder(l, R.decoder, c, "key"), y = n.strictNullHandling ? null : "") : (v = n.decoder(l.slice(0, d), R.decoder, c, "key"), y = Y.maybeMap(
2990
+ zn(
2991
+ l.slice(d + 1),
2992
+ n,
2993
+ Mr(r[v]) ? r[v].length : 0
2994
+ ),
2995
+ function(h) {
2996
+ return n.decoder(h, R.decoder, c, "value");
2997
+ }
2998
+ )), y && n.interpretNumericEntities && c === "iso-8859-1" && (y = Sl(String(y))), l.indexOf("[]=") > -1 && (y = Mr(y) ? [y] : y);
2999
+ var m = Ut.call(r, v);
3000
+ m && n.duplicates === "combine" ? r[v] = Y.combine(r[v], y) : (!m || n.duplicates === "last") && (r[v] = y);
3001
+ }
3002
+ return r;
3003
+ }, Ol = function(t, e, n, r) {
3004
+ var o = 0;
3005
+ if (t.length > 0 && t[t.length - 1] === "[]") {
3006
+ var i = t.slice(0, -1).join("");
3007
+ o = Array.isArray(e) && e[i] ? e[i].length : 0;
3008
+ }
3009
+ for (var a = r ? e : zn(e, n, o), s = t.length - 1; s >= 0; --s) {
3010
+ var u, c = t[s];
3011
+ if (c === "[]" && n.parseArrays)
3012
+ u = n.allowEmptyArrays && (a === "" || n.strictNullHandling && a === null) ? [] : Y.combine([], a);
3013
+ else {
3014
+ u = n.plainObjects ? { __proto__: null } : {};
3015
+ var l = c.charAt(0) === "[" && c.charAt(c.length - 1) === "]" ? c.slice(1, -1) : c, f = n.decodeDotInKeys ? l.replace(/%2E/g, ".") : l, d = parseInt(f, 10);
3016
+ !n.parseArrays && f === "" ? u = { 0: a } : !isNaN(d) && c !== f && String(d) === f && d >= 0 && n.parseArrays && d <= n.arrayLimit ? (u = [], u[d] = a) : f !== "__proto__" && (u[f] = a);
3017
+ }
3018
+ a = u;
3019
+ }
3020
+ return a;
3021
+ }, Rl = function(e, n, r, o) {
3022
+ if (e) {
3023
+ var i = r.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, a = /(\[[^[\]]*])/, s = /(\[[^[\]]*])/g, u = r.depth > 0 && a.exec(i), c = u ? i.slice(0, u.index) : i, l = [];
3024
+ if (c) {
3025
+ if (!r.plainObjects && Ut.call(Object.prototype, c) && !r.allowPrototypes)
3026
+ return;
3027
+ l.push(c);
3028
+ }
3029
+ for (var f = 0; r.depth > 0 && (u = s.exec(i)) !== null && f < r.depth; ) {
3030
+ if (f += 1, !r.plainObjects && Ut.call(Object.prototype, u[1].slice(1, -1)) && !r.allowPrototypes)
3031
+ return;
3032
+ l.push(u[1]);
3033
+ }
3034
+ if (u) {
3035
+ if (r.strictDepth === !0)
3036
+ throw new RangeError("Input depth exceeded depth option of " + r.depth + " and strictDepth is true");
3037
+ l.push("[" + i.slice(u.index) + "]");
3038
+ }
3039
+ return Ol(l, n, r, o);
3040
+ }
3041
+ }, Pl = function(e) {
3042
+ if (!e)
3043
+ return R;
3044
+ if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
3045
+ throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
3046
+ if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
3047
+ throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
3048
+ if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
3049
+ throw new TypeError("Decoder has to be a function.");
3050
+ if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
3051
+ throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
3052
+ if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
3053
+ throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
3054
+ var n = typeof e.charset > "u" ? R.charset : e.charset, r = typeof e.duplicates > "u" ? R.duplicates : e.duplicates;
3055
+ if (r !== "combine" && r !== "first" && r !== "last")
3056
+ throw new TypeError("The duplicates option must be either combine, first, or last");
3057
+ var o = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : R.allowDots : !!e.allowDots;
3058
+ return {
3059
+ allowDots: o,
3060
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : R.allowEmptyArrays,
3061
+ allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : R.allowPrototypes,
3062
+ allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : R.allowSparse,
3063
+ arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : R.arrayLimit,
3064
+ charset: n,
3065
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : R.charsetSentinel,
3066
+ comma: typeof e.comma == "boolean" ? e.comma : R.comma,
3067
+ decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : R.decodeDotInKeys,
3068
+ decoder: typeof e.decoder == "function" ? e.decoder : R.decoder,
3069
+ delimiter: typeof e.delimiter == "string" || Y.isRegExp(e.delimiter) ? e.delimiter : R.delimiter,
3070
+ // eslint-disable-next-line no-implicit-coercion, no-extra-parens
3071
+ depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : R.depth,
3072
+ duplicates: r,
3073
+ ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
3074
+ interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : R.interpretNumericEntities,
3075
+ parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : R.parameterLimit,
3076
+ parseArrays: e.parseArrays !== !1,
3077
+ plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : R.plainObjects,
3078
+ strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : R.strictDepth,
3079
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : R.strictNullHandling,
3080
+ throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
3081
+ };
3082
+ }, Tl = function(t, e) {
3083
+ var n = Pl(e);
3084
+ if (t === "" || t === null || typeof t > "u")
3085
+ return n.plainObjects ? { __proto__: null } : {};
3086
+ for (var r = typeof t == "string" ? Al(t, n) : t, o = n.plainObjects ? { __proto__: null } : {}, i = Object.keys(r), a = 0; a < i.length; ++a) {
3087
+ var s = i[a], u = Rl(s, r[s], n, typeof t == "string");
3088
+ o = Y.merge(o, u, n);
3089
+ }
3090
+ return n.allowSparse === !0 ? o : Y.compact(o);
3091
+ }, xl = wl, Cl = Tl, _l = Kt, Nl = {
3092
+ formats: _l,
3093
+ parse: Cl,
3094
+ stringify: xl
3095
+ };
3096
+ const Il = /* @__PURE__ */ Bi(Nl);
3097
+ /*! js-cookie v3.0.5 | MIT */
3098
+ function xe(t) {
3099
+ for (var e = 1; e < arguments.length; e++) {
3100
+ var n = arguments[e];
3101
+ for (var r in n)
3102
+ t[r] = n[r];
3103
+ }
3104
+ return t;
3105
+ }
3106
+ var Fl = {
3107
+ read: function(t) {
3108
+ return t[0] === '"' && (t = t.slice(1, -1)), t.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
3109
+ },
3110
+ write: function(t) {
3111
+ return encodeURIComponent(t).replace(
3112
+ /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
3113
+ decodeURIComponent
3114
+ );
3115
+ }
3116
+ };
3117
+ function Bt(t, e) {
3118
+ function n(o, i, a) {
3119
+ if (!(typeof document > "u")) {
3120
+ a = xe({}, e, a), typeof a.expires == "number" && (a.expires = new Date(Date.now() + a.expires * 864e5)), a.expires && (a.expires = a.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
3121
+ var s = "";
3122
+ for (var u in a)
3123
+ a[u] && (s += "; " + u, a[u] !== !0 && (s += "=" + a[u].split(";")[0]));
3124
+ return document.cookie = o + "=" + t.write(i, o) + s;
3125
+ }
3126
+ }
3127
+ function r(o) {
3128
+ if (!(typeof document > "u" || arguments.length && !o)) {
3129
+ for (var i = document.cookie ? document.cookie.split("; ") : [], a = {}, s = 0; s < i.length; s++) {
3130
+ var u = i[s].split("="), c = u.slice(1).join("=");
3131
+ try {
3132
+ var l = decodeURIComponent(u[0]);
3133
+ if (a[l] = t.read(c, l), o === l)
3134
+ break;
3135
+ } catch {
3136
+ }
3137
+ }
3138
+ return o ? a[o] : a;
3139
+ }
3140
+ }
3141
+ return Object.create(
3142
+ {
3143
+ set: n,
3144
+ get: r,
3145
+ remove: function(o, i) {
3146
+ n(
3147
+ o,
3148
+ "",
3149
+ xe({}, i, {
3150
+ expires: -1
3151
+ })
3152
+ );
3153
+ },
3154
+ withAttributes: function(o) {
3155
+ return Bt(this.converter, xe({}, this.attributes, o));
3156
+ },
3157
+ withConverter: function(o) {
3158
+ return Bt(xe({}, this.converter, o), this.attributes);
3159
+ }
3160
+ },
3161
+ {
3162
+ attributes: { value: Object.freeze(e) },
3163
+ converter: { value: Object.freeze(t) }
3164
+ }
3165
+ );
3166
+ }
3167
+ var kr = Bt(Fl, { path: "/" });
3168
+ Mt.extend(ro);
3169
+ Mt.extend(no);
3170
+ const Qt = Jr(), Hn = Qt.sso ?? !0, qr = Qt.i18n ?? !0, Wn = Qt.noRedireLogin ?? !1;
3171
+ let jr = "", zr = 0;
3172
+ const Dl = 1e3, Hr = async (t, e, n = []) => {
3173
+ const r = Date.now(), o = 1200, i = 60;
3174
+ for (; Date.now() - r < o; ) {
3175
+ const a = t(e, ...n);
3176
+ if (a && a !== e) return a;
3177
+ await new Promise((s) => setTimeout(s, i));
3178
+ }
3179
+ return t(e, ...n);
3180
+ };
3181
+ let Ot = !1;
3182
+ const $l = 5e3, Gn = () => Ot ? !1 : (Ot = !0, setTimeout(() => {
3183
+ Ot = !1;
3184
+ }, $l), !0), Jn = () => {
3185
+ var e, n;
3186
+ if (Wn) return;
3187
+ const t = "/login";
3188
+ location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (e = window.top) != null && e.vueRouter ? (n = window.top) == null || n.vueRouter.replace(t) : window.location.replace(`/#${t}`));
3189
+ }, Ll = () => Zn("code") || "" || Wn ? !1 : Gn() ? (Hn ? Yn({ ...eo, redirect_uri: to }) : Jn(), !0) : !1, Ul = async (t) => {
3190
+ var n;
3191
+ return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
3192
+ }, Bl = async (t, e) => {
3193
+ var y, m, h, S;
3194
+ const { t: n } = Gr();
3195
+ let r, o, i = {};
3196
+ const a = { 400: n("参数校验错误"), 404: n("接口地址未找到"), 500: n("服务器内部错误") };
3197
+ let s = ((y = t == null ? void 0 : t.response) == null ? void 0 : y.data) || {};
3198
+ const u = s == null ? void 0 : s.code, c = (m = t.response) == null ? void 0 : m.status;
3199
+ if (u === 401 || c === 401) {
3200
+ Ll(), r = u || c, i = s;
3201
+ const E = (e == null ? void 0 : e.i18n) ?? !0;
3202
+ if (qr && E && (s != null && s.status)) {
3203
+ const g = !(s != null && s.data) || !s.data.length ? [] : s.data, A = n(s.status, ...g);
3204
+ o = A === s.status ? await Hr(n, s.status, g) : A;
3205
+ } else
3206
+ o = (s == null ? void 0 : s.msg) || a[r] || (t == null ? void 0 : t.message);
3207
+ } else if (t.response) {
3208
+ if (s instanceof Blob && (s = await new Promise((E) => {
3209
+ const g = new FileReader();
3210
+ g.readAsText(s, "utf-8"), g.onload = () => {
3211
+ try {
3212
+ E(JSON.parse(g.result || "{}"));
3213
+ } catch {
3214
+ E({ code: 400, msg: n("解析错误") });
3215
+ }
3216
+ };
3217
+ })), s.code !== void 0 && s.code !== null) {
3218
+ r = s.code, i = s;
3219
+ const E = (e == null ? void 0 : e.i18n) ?? !0;
3220
+ if (qr && E && (s != null && s.status)) {
3221
+ const g = !(s != null && s.data) || !s.data.length ? [] : s.data, A = n(s.status, ...g);
3222
+ o = A === s.status ? await Hr(n, s.status, g) : A;
3223
+ } else
3224
+ o = (s == null ? void 0 : s.msg) ?? "";
3225
+ } else
3226
+ r = t.response.status, o = a[r] || t.message;
3227
+ o || (o = a[t.response.status] || t.message);
3228
+ } else t.request ? (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("网络异常,请检查您的网络情况")) : (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("请求配置异常"));
3229
+ e != null && e.customErrorMessage && (o = e == null ? void 0 : e.customErrorMessage(o, t));
3230
+ const f = Date.now(), d = o === jr, v = f - zr < Dl;
3231
+ return !(e != null && e.ignoreErrorMessage) && o && (!d || !v) && ((S = (h = window.DasMessage) == null ? void 0 : h.error) == null || S.call(h, { message: o, showClose: !0 }), jr = o, zr = f), { ...i, code: r, msg: o, error: t };
3232
+ };
3233
+ function Ml(t, e) {
3234
+ const n = P.create();
3235
+ return Qn(n, async (r) => {
3236
+ const { currentLang: o } = Gr(), i = Jr();
3237
+ if (r.headers || (r.headers = {}), !(r != null && r.public)) {
3238
+ let f = "";
3239
+ if (i.token && (f = i.token), !f) {
3240
+ const d = new URL(location.href).searchParams;
3241
+ f = d.get("token") || d.get("accessToken") || d.get("accesstoken") || "";
3242
+ }
3243
+ if (Hn)
3244
+ f || (f = await Xn(r));
3245
+ else {
3246
+ f || (f = ao());
3247
+ let d = JSON.parse(window.localStorage.getItem("tokenInfo") || "{}");
3248
+ f ? f = await so(d, (y) => {
3249
+ window.localStorage.setItem("tokenInfo", JSON.stringify(y));
3250
+ }) : Gn() && Jn();
3251
+ }
3252
+ f && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${f}`);
3253
+ }
3254
+ r.baseURL || (r.baseURL = i.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (f) => Il.stringify(f, { indices: !1 }) }), r.onSuccess || (r.onSuccess = Ul), r.onError || (r.onError = Bl), (r.csrf ?? !1) && (r.headers["csrf-token"] = kr.get("csrf-token"));
3255
+ const u = r.params || {};
3256
+ if (u.project === void 0) {
3257
+ let f = 0;
3258
+ const d = new URL(location.href).searchParams;
3259
+ f = d.get("project") || d.get("projectId") || 0, f || (f = oo().id ?? 0), (f || f === 0) && (u.project = f);
3260
+ }
3261
+ if (new URL(location.href).pathname.startsWith("/iot/iot") || new URL(location.href).searchParams.get("app") === "iot") {
3262
+ const { instanceInfo: f } = io();
3263
+ f != null && f.instanceId && (u.instance = f.instanceId);
3264
+ }
3265
+ r.params = u, r.headers.Timezone = Mt.tz.guess(), r.headers["X-Origin"] = location.origin;
3266
+ const l = (o == null ? void 0 : o.value) ?? "";
3267
+ return l && (r.headers["Accept-Language"] = l), l && kr.set("locale", l), r;
3268
+ });
3269
+ }
3270
+ const kl = "v1", Vn = Ml(`/api/admin/basic-application/user-rights/${kl}`), ql = Vn.get("/menu-module-func"), jl = Vn.post("/right-func"), Wr = (t) => Array.isArray(t) ? t : t == null || t === "" ? [] : [t], zl = (t) => {
3271
+ const e = Wr(t == null ? void 0 : t.appIds).map((o) => typeof o == "number" ? o : String(o ?? "").trim()).filter((o) => typeof o == "number" ? !Number.isNaN(o) : !!o), n = Wr(t == null ? void 0 : t.moduleIds).map((o) => typeof o == "number" ? o : String(o ?? "").trim()).filter((o) => typeof o == "number" ? !Number.isNaN(o) : !!o);
3272
+ if (!e.length) return null;
3273
+ const r = { appIds: e };
3274
+ return n.length && (r.moduleIds = n), r;
3275
+ }, Rt = (t) => {
3276
+ const e = { id: { id: [] }, code: {} }, n = Array.isArray(t) ? t : [], r = (i) => {
3277
+ const a = String(i ?? "").trim();
3278
+ if (!a) return { groupCode: "", actionCode: "" };
3279
+ if (a.includes(".")) {
3280
+ const l = a.split(".").filter(Boolean), f = l.length > 1 ? String(l[l.length - 1] || "") : "";
3281
+ return { groupCode: l.length > 1 ? l.slice(0, -1).join(".") : a, actionCode: f };
3282
+ }
3283
+ const s = a.split("_").filter(Boolean), u = s.length > 1 ? String(s[s.length - 1] || "") : "";
3284
+ return { groupCode: s.length > 1 ? s.slice(0, -1).join("_") : a, actionCode: u };
3285
+ }, o = /* @__PURE__ */ new Set();
3286
+ for (const i of n) {
3287
+ if (!i || typeof i != "object") continue;
3288
+ const a = Number(i == null ? void 0 : i.id);
3289
+ !Number.isNaN(a) && !e.id.id.includes(a) && e.id.id.push(a);
3290
+ const { groupCode: s, actionCode: u } = r(i == null ? void 0 : i.code);
3291
+ if (!s || !u) continue;
3292
+ const c = e.code[s] || [];
3293
+ c.some((d) => String(d == null ? void 0 : d.code) === String(u)) || (c.push({ code: u }), e.code[s] = c);
3294
+ const f = i == null ? void 0 : i.code;
3295
+ if (f != null) {
3296
+ const d = String(f).trim();
3297
+ d && o.add(d);
3298
+ }
3299
+ }
3300
+ return e.code.sourceCode = Array.from(o), e;
3301
+ }, Hl = () => {
3302
+ const t = window.sessionStorage.getItem("currentUserMenuPermissionsList") || "";
3303
+ try {
3304
+ const e = JSON.parse(window.sessionStorage.getItem("menuItem") || "{}"), n = String((e == null ? void 0 : e.id) ?? "").trim(), r = String(window.sessionStorage.getItem("currentUserMenuPermissionsMenuId") || "").trim();
3305
+ if (n && r && n !== r)
3306
+ return Rt([]);
3307
+ const o = t ? JSON.parse(t) : [];
3308
+ return Rt(o);
3309
+ } catch {
3310
+ return Rt([]);
3311
+ }
3312
+ }, tc = (t = "id") => {
3313
+ var a, s;
3314
+ const e = Hl();
3315
+ if (!e || typeof e != "object")
3316
+ return t === "all" ? { idList: [], codeList: [] } : [];
3317
+ const n = (a = e == null ? void 0 : e.id) == null ? void 0 : a.id, r = Array.isArray(n) ? n : [], o = (s = e == null ? void 0 : e.code) == null ? void 0 : s.sourceCode, i = Array.isArray(o) ? o : [];
3318
+ return t === "all" ? { idList: r, codeList: i } : t === "code" ? i : r;
3319
+ }, rc = (t, e) => {
3320
+ const n = (async () => {
3321
+ const r = zl(t);
3322
+ if (!r) return [];
3323
+ const o = await jl().run(r), [i, a] = o;
3324
+ return i ? [] : a;
3325
+ })();
3326
+ return typeof e == "function" && n.then((r) => e(r)).catch(() => e([])), n;
3327
+ }, nc = (t, e) => {
3328
+ const n = (async () => {
3329
+ const r = String(t ?? "").trim();
3330
+ if (!r) return [];
3331
+ const o = await ql().run({ menuId: r }), [i, a] = o;
3332
+ return i ? [] : a;
3333
+ })();
3334
+ return typeof e == "function" && n.then((r) => e(r)).catch(() => e([])), n;
3335
+ };
3336
+ export {
3337
+ tc as getCurrentModulePermissionData,
3338
+ nc as getCurrentUserMenuPermissionsList,
3339
+ rc as getCurrentUserPermissionsList,
3340
+ Hl as getGroupedCurrentUserPermissionList,
3341
+ Rt as groupPermissionListByModuleAndCode
3342
+ };