@das-fed/upf-utils 6.4.0-dev.272 → 6.4.0-dev.274

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 (82) hide show
  1. package/api-services/es5.js +1590 -1581
  2. package/api-services/index.js +1246 -1244
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +322 -301
  5. package/api-services/modules/app-manage/index.js +268 -248
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +1240 -1231
  8. package/api-services/modules/authentication/index.js +1022 -1020
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +1248 -1215
  11. package/api-services/modules/bems/index.js +1048 -1010
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +1240 -1231
  14. package/api-services/modules/contract/index.js +1022 -1020
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +365 -344
  17. package/api-services/modules/duty-manage/index.js +309 -289
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +329 -308
  20. package/api-services/modules/enterpriseright/index.js +278 -258
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +508 -487
  23. package/api-services/modules/file/es5.js +1320 -1302
  24. package/api-services/modules/file/index.js +1099 -1083
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +1244 -1211
  27. package/api-services/modules/gateway-edge/index.js +1043 -1005
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +391 -371
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +337 -316
  32. package/api-services/modules/iot/index.js +284 -264
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +1242 -1233
  35. package/api-services/modules/justauth/index.js +1023 -1021
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +356 -335
  38. package/api-services/modules/knowledge/index.js +292 -272
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +1244 -1211
  41. package/api-services/modules/link/index.js +1043 -1005
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1244 -1211
  44. package/api-services/modules/permission/index.js +1043 -1005
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +1261 -1252
  47. package/api-services/modules/platformManage/index.js +1039 -1037
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +1244 -1211
  50. package/api-services/modules/portal/index.js +1043 -1005
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +1240 -1231
  53. package/api-services/modules/space-manage/index.js +1022 -1020
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +1249 -1216
  56. package/api-services/modules/super-admin/index.js +1045 -1007
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +362 -341
  59. package/api-services/modules/supplier/index.js +305 -285
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +1240 -1231
  62. package/api-services/modules/supplychain-manage/index.js +1022 -1020
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +950 -932
  65. package/api-services/modules/systemConfiguration/index.js +757 -741
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +1240 -1231
  68. package/api-services/modules/tool/index.js +1022 -1020
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +327 -306
  71. package/api-services/src/create-service/index.js +277 -257
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +1438 -1410
  74. package/common-info/getPermissionMethod/es5.js +1550 -1517
  75. package/common-info/getPermissionMethod/index.js +1308 -1270
  76. package/common-info/getPermissionMethod/index.js.gz +0 -0
  77. package/common-info/index.js +1195 -1165
  78. package/common-info/index.js.gz +0 -0
  79. package/create-api-service/es5.js +328 -307
  80. package/create-api-service/index.js +278 -258
  81. package/create-api-service/index.js.gz +0 -0
  82. package/package.json +3 -3
@@ -15,11 +15,11 @@ function fn(t, e) {
15
15
  return t.apply(e, arguments);
16
16
  };
17
17
  }
18
- const { toString: Co } = Object.prototype, { getPrototypeOf: Gt } = Object, { iterator: Xe, toStringTag: pn } = Symbol, Ye = /* @__PURE__ */ ((t) => (e) => {
18
+ const { toString: Co } = Object.prototype, { getPrototypeOf: Gt } = Object, { iterator: Ye, toStringTag: pn } = Symbol, et = /* @__PURE__ */ ((t) => (e) => {
19
19
  const r = Co.call(e);
20
20
  return t[r] || (t[r] = r.slice(8, -1).toLowerCase());
21
- })(/* @__PURE__ */ Object.create(null)), q = (t) => (t = t.toLowerCase(), (e) => Ye(e) === t), et = (t) => (e) => typeof e === t, { isArray: ge } = Array, ye = et("undefined");
22
- function _e(t) {
21
+ })(/* @__PURE__ */ Object.create(null)), q = (t) => (t = t.toLowerCase(), (e) => et(e) === t), tt = (t) => (e) => typeof e === t, { isArray: ge } = Array, ye = tt("undefined");
22
+ function Ce(t) {
23
23
  return t !== null && !ye(t) && t.constructor !== null && !ye(t.constructor) && D(t.constructor.isBuffer) && t.constructor.isBuffer(t);
24
24
  }
25
25
  const dn = q("ArrayBuffer");
@@ -27,25 +27,25 @@ function Io(t) {
27
27
  let e;
28
28
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && dn(t.buffer), e;
29
29
  }
30
- const No = et("string"), D = et("function"), yn = et("number"), Ce = (t) => t !== null && typeof t == "object", Fo = (t) => t === !0 || t === !1, qe = (t) => {
31
- if (Ye(t) !== "object")
30
+ const No = tt("string"), D = tt("function"), yn = tt("number"), Ie = (t) => t !== null && typeof t == "object", Fo = (t) => t === !0 || t === !1, je = (t) => {
31
+ if (et(t) !== "object")
32
32
  return !1;
33
33
  const e = Gt(t);
34
- return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(pn in t) && !(Xe in t);
34
+ return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(pn in t) && !(Ye in t);
35
35
  }, Do = (t) => {
36
- if (!Ce(t) || _e(t))
36
+ if (!Ie(t) || Ce(t))
37
37
  return !1;
38
38
  try {
39
39
  return Object.keys(t).length === 0 && Object.getPrototypeOf(t) === Object.prototype;
40
40
  } catch {
41
41
  return !1;
42
42
  }
43
- }, $o = q("Date"), Uo = q("File"), Lo = q("Blob"), Bo = q("FileList"), Mo = (t) => Ce(t) && D(t.pipe), ko = (t) => {
43
+ }, $o = q("Date"), Uo = q("File"), Lo = q("Blob"), Bo = q("FileList"), Mo = (t) => Ie(t) && D(t.pipe), ko = (t) => {
44
44
  let e;
45
- return t && (typeof FormData == "function" && t instanceof FormData || D(t.append) && ((e = Ye(t)) === "formdata" || // detect form-data instance
45
+ return t && (typeof FormData == "function" && t instanceof FormData || D(t.append) && ((e = et(t)) === "formdata" || // detect form-data instance
46
46
  e === "object" && D(t.toString) && t.toString() === "[object FormData]"));
47
47
  }, qo = q("URLSearchParams"), [jo, Ho, zo, Wo] = ["ReadableStream", "Request", "Response", "Headers"].map(q), Zo = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
48
- function Ie(t, e, { allOwnKeys: r = !1 } = {}) {
48
+ function Ne(t, e, { allOwnKeys: r = !1 } = {}) {
49
49
  if (t === null || typeof t > "u")
50
50
  return;
51
51
  let n, o;
@@ -53,7 +53,7 @@ function Ie(t, e, { allOwnKeys: r = !1 } = {}) {
53
53
  for (n = 0, o = t.length; n < o; n++)
54
54
  e.call(null, t[n], n, t);
55
55
  else {
56
- if (_e(t))
56
+ if (Ce(t))
57
57
  return;
58
58
  const i = r ? Object.getOwnPropertyNames(t) : Object.keys(t), a = i.length;
59
59
  let s;
@@ -62,7 +62,7 @@ function Ie(t, e, { allOwnKeys: r = !1 } = {}) {
62
62
  }
63
63
  }
64
64
  function hn(t, e) {
65
- if (_e(t))
65
+ if (Ce(t))
66
66
  return null;
67
67
  e = e.toLowerCase();
68
68
  const r = Object.keys(t);
@@ -73,16 +73,16 @@ function hn(t, e) {
73
73
  return null;
74
74
  }
75
75
  const te = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, mn = (t) => !ye(t) && t !== te;
76
- function Dt() {
76
+ function $t() {
77
77
  const { caseless: t, skipUndefined: e } = mn(this) && this || {}, r = {}, n = (o, i) => {
78
78
  const a = t && hn(r, i) || i;
79
- qe(r[a]) && qe(o) ? r[a] = Dt(r[a], o) : qe(o) ? r[a] = Dt({}, o) : ge(o) ? r[a] = o.slice() : (!e || !ye(o)) && (r[a] = o);
79
+ je(r[a]) && je(o) ? r[a] = $t(r[a], o) : je(o) ? r[a] = $t({}, o) : ge(o) ? r[a] = o.slice() : (!e || !ye(o)) && (r[a] = o);
80
80
  };
81
81
  for (let o = 0, i = arguments.length; o < i; o++)
82
- arguments[o] && Ie(arguments[o], n);
82
+ arguments[o] && Ne(arguments[o], n);
83
83
  return r;
84
84
  }
85
- const Go = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
85
+ const Go = (t, e, r, { allOwnKeys: n } = {}) => (Ne(e, (o, i) => {
86
86
  r && D(o) ? t[i] = fn(o, r) : t[i] = o;
87
87
  }, { allOwnKeys: n }), t), Jo = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Vo = (t, e, r, n) => {
88
88
  t.prototype = Object.create(e.prototype, n), t.prototype.constructor = t, Object.defineProperty(t, "super", {
@@ -112,7 +112,7 @@ const Go = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
112
112
  r[e] = t[e];
113
113
  return r;
114
114
  }, Yo = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Gt(Uint8Array)), ei = (t, e) => {
115
- const n = (t && t[Xe]).call(t);
115
+ const n = (t && t[Ye]).call(t);
116
116
  let o;
117
117
  for (; (o = n.next()) && !o.done; ) {
118
118
  const i = o.value;
@@ -131,7 +131,7 @@ const Go = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
131
131
  }
132
132
  ), lr = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), oi = q("RegExp"), gn = (t, e) => {
133
133
  const r = Object.getOwnPropertyDescriptors(t), n = {};
134
- Ie(r, (o, i) => {
134
+ Ne(r, (o, i) => {
135
135
  let a;
136
136
  (a = e(o, i, t)) !== !1 && (n[i] = a || o);
137
137
  }), Object.defineProperties(t, n);
@@ -160,19 +160,19 @@ const Go = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
160
160
  }, si = () => {
161
161
  }, li = (t, e) => t != null && Number.isFinite(t = +t) ? t : e;
162
162
  function ci(t) {
163
- return !!(t && D(t.append) && t[pn] === "FormData" && t[Xe]);
163
+ return !!(t && D(t.append) && t[pn] === "FormData" && t[Ye]);
164
164
  }
165
165
  const ui = (t) => {
166
166
  const e = new Array(10), r = (n, o) => {
167
- if (Ce(n)) {
167
+ if (Ie(n)) {
168
168
  if (e.indexOf(n) >= 0)
169
169
  return;
170
- if (_e(n))
170
+ if (Ce(n))
171
171
  return n;
172
172
  if (!("toJSON" in n)) {
173
173
  e[o] = n;
174
174
  const i = ge(n) ? [] : {};
175
- return Ie(n, (a, s) => {
175
+ return Ne(n, (a, s) => {
176
176
  const u = r(a, o + 1);
177
177
  !ye(u) && (i[s] = u);
178
178
  }), e[o] = void 0, i;
@@ -181,24 +181,24 @@ const ui = (t) => {
181
181
  return n;
182
182
  };
183
183
  return r(t, 0);
184
- }, fi = q("AsyncFunction"), pi = (t) => t && (Ce(t) || D(t)) && D(t.then) && D(t.catch), vn = ((t, e) => t ? setImmediate : e ? ((r, n) => (te.addEventListener("message", ({ source: o, data: i }) => {
184
+ }, fi = q("AsyncFunction"), pi = (t) => t && (Ie(t) || D(t)) && D(t.then) && D(t.catch), vn = ((t, e) => t ? setImmediate : e ? ((r, n) => (te.addEventListener("message", ({ source: o, data: i }) => {
185
185
  o === te && i === r && n.length && n.shift()();
186
186
  }, !1), (o) => {
187
187
  n.push(o), te.postMessage(r, "*");
188
188
  }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
189
189
  typeof setImmediate == "function",
190
190
  D(te.postMessage)
191
- ), di = typeof queueMicrotask < "u" ? queueMicrotask.bind(te) : typeof process < "u" && process.nextTick || vn, yi = (t) => t != null && D(t[Xe]), f = {
191
+ ), di = typeof queueMicrotask < "u" ? queueMicrotask.bind(te) : typeof process < "u" && process.nextTick || vn, yi = (t) => t != null && D(t[Ye]), f = {
192
192
  isArray: ge,
193
193
  isArrayBuffer: dn,
194
- isBuffer: _e,
194
+ isBuffer: Ce,
195
195
  isFormData: ko,
196
196
  isArrayBufferView: Io,
197
197
  isString: No,
198
198
  isNumber: yn,
199
199
  isBoolean: Fo,
200
- isObject: Ce,
201
- isPlainObject: qe,
200
+ isObject: Ie,
201
+ isPlainObject: je,
202
202
  isEmptyObject: Do,
203
203
  isReadableStream: jo,
204
204
  isRequest: Ho,
@@ -214,14 +214,14 @@ const ui = (t) => {
214
214
  isURLSearchParams: qo,
215
215
  isTypedArray: Yo,
216
216
  isFileList: Bo,
217
- forEach: Ie,
218
- merge: Dt,
217
+ forEach: Ne,
218
+ merge: $t,
219
219
  extend: Go,
220
220
  trim: Zo,
221
221
  stripBOM: Jo,
222
222
  inherits: Vo,
223
223
  toFlatObject: Ko,
224
- kindOf: Ye,
224
+ kindOf: et,
225
225
  kindOfTest: q,
226
226
  endsWith: Qo,
227
227
  toArray: Xo,
@@ -301,7 +301,7 @@ w.from = (t, e, r, n, o, i) => {
301
301
  return w.call(a, s, u, r, n, o), t && a.cause == null && Object.defineProperty(a, "cause", { value: t, configurable: !0 }), a.name = t && t.name || "Error", i && Object.assign(a, i), a;
302
302
  };
303
303
  const hi = null;
304
- function $t(t) {
304
+ function Ut(t) {
305
305
  return f.isPlainObject(t) || f.isArray(t);
306
306
  }
307
307
  function bn(t) {
@@ -313,12 +313,12 @@ function cr(t, e, r) {
313
313
  }).join(r ? "." : "") : e;
314
314
  }
315
315
  function mi(t) {
316
- return f.isArray(t) && !t.some($t);
316
+ return f.isArray(t) && !t.some(Ut);
317
317
  }
318
318
  const gi = f.toFlatObject(f, {}, null, function(e) {
319
319
  return /^is[A-Z]/.test(e);
320
320
  });
321
- function tt(t, e, r) {
321
+ function rt(t, e, r) {
322
322
  if (!f.isObject(t))
323
323
  throw new TypeError("target must be an object");
324
324
  e = e || new FormData(), r = f.toFlatObject(r, {
@@ -355,12 +355,12 @@ function tt(t, e, r) {
355
355
  );
356
356
  }), !1;
357
357
  }
358
- return $t(d) ? !0 : (e.append(cr(h, m, i), c(d)), !1);
358
+ return Ut(d) ? !0 : (e.append(cr(h, m, i), c(d)), !1);
359
359
  }
360
360
  const p = [], y = Object.assign(gi, {
361
361
  defaultVisitor: l,
362
362
  convertValue: c,
363
- isVisitable: $t
363
+ isVisitable: Ut
364
364
  });
365
365
  function v(d, m) {
366
366
  if (!f.isUndefined(d)) {
@@ -396,7 +396,7 @@ function ur(t) {
396
396
  });
397
397
  }
398
398
  function Jt(t, e) {
399
- this._pairs = [], t && tt(t, this, e);
399
+ this._pairs = [], t && rt(t, this, e);
400
400
  }
401
401
  const En = Jt.prototype;
402
402
  En.append = function(e, r) {
@@ -494,20 +494,20 @@ const An = {
494
494
  Blob: bi
495
495
  },
496
496
  protocols: ["http", "https", "file", "blob", "url", "data"]
497
- }, Vt = typeof window < "u" && typeof document < "u", Ut = typeof navigator == "object" && navigator || void 0, Oi = Vt && (!Ut || ["ReactNative", "NativeScript", "NS"].indexOf(Ut.product) < 0), Ai = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
497
+ }, Vt = typeof window < "u" && typeof document < "u", Lt = typeof navigator == "object" && navigator || void 0, Oi = Vt && (!Lt || ["ReactNative", "NativeScript", "NS"].indexOf(Lt.product) < 0), Ai = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
498
498
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ri = Vt && window.location.href || "http://localhost", Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
499
499
  __proto__: null,
500
500
  hasBrowserEnv: Vt,
501
501
  hasStandardBrowserEnv: Oi,
502
502
  hasStandardBrowserWebWorkerEnv: Ai,
503
- navigator: Ut,
503
+ navigator: Lt,
504
504
  origin: Ri
505
505
  }, Symbol.toStringTag, { value: "Module" })), F = {
506
506
  ...Ti,
507
507
  ...Ei
508
508
  };
509
509
  function Pi(t, e) {
510
- return tt(t, new F.classes.URLSearchParams(), {
510
+ return rt(t, new F.classes.URLSearchParams(), {
511
511
  visitor: function(r, n, o, i) {
512
512
  return F.isNode && f.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
513
513
  },
@@ -551,7 +551,7 @@ function Ci(t, e, r) {
551
551
  }
552
552
  return (0, JSON.stringify)(t);
553
553
  }
554
- const Ne = {
554
+ const Fe = {
555
555
  transitional: An,
556
556
  adapter: ["xhr", "http", "fetch"],
557
557
  transformRequest: [function(e, r) {
@@ -570,7 +570,7 @@ const Ne = {
570
570
  return Pi(e, this.formSerializer).toString();
571
571
  if ((s = f.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
572
572
  const u = this.env && this.env.FormData;
573
- return tt(
573
+ return rt(
574
574
  s ? { "files[]": e } : e,
575
575
  u && new u(),
576
576
  this.formSerializer
@@ -580,7 +580,7 @@ const Ne = {
580
580
  return i || o ? (r.setContentType("application/json", !1), Ci(e)) : e;
581
581
  }],
582
582
  transformResponse: [function(e) {
583
- const r = this.transitional || Ne.transitional, n = r && r.forcedJSONParsing, o = this.responseType === "json";
583
+ const r = this.transitional || Fe.transitional, n = r && r.forcedJSONParsing, o = this.responseType === "json";
584
584
  if (f.isResponse(e) || f.isReadableStream(e))
585
585
  return e;
586
586
  if (e && f.isString(e) && (n && !this.responseType || o)) {
@@ -618,7 +618,7 @@ const Ne = {
618
618
  }
619
619
  };
620
620
  f.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
621
- Ne.headers[t] = {};
621
+ Fe.headers[t] = {};
622
622
  });
623
623
  const Ii = f.toObjectSet([
624
624
  "age",
@@ -649,8 +649,8 @@ const Ii = f.toObjectSet([
649
649
  function Ee(t) {
650
650
  return t && String(t).trim().toLowerCase();
651
651
  }
652
- function je(t) {
653
- return t === !1 || t == null ? t : f.isArray(t) ? t.map(je) : String(t);
652
+ function He(t) {
653
+ return t === !1 || t == null ? t : f.isArray(t) ? t.map(He) : String(t);
654
654
  }
655
655
  function Fi(t) {
656
656
  const e = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -660,7 +660,7 @@ function Fi(t) {
660
660
  return e;
661
661
  }
662
662
  const Di = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
663
- function ct(t, e, r, n, o) {
663
+ function ut(t, e, r, n, o) {
664
664
  if (f.isFunction(n))
665
665
  return n.call(this, e, r);
666
666
  if (o && (e = r), !!f.isString(e)) {
@@ -695,7 +695,7 @@ class $ {
695
695
  if (!l)
696
696
  throw new Error("header name must be a non-empty string");
697
697
  const p = f.findKey(o, l);
698
- (!p || o[p] === void 0 || c === !0 || c === void 0 && o[p] !== !1) && (o[p || u] = je(s));
698
+ (!p || o[p] === void 0 || c === !0 || c === void 0 && o[p] !== !1) && (o[p || u] = He(s));
699
699
  }
700
700
  const a = (s, u) => f.forEach(s, (c, l) => i(c, l, u));
701
701
  if (f.isPlainObject(e) || e instanceof this.constructor)
@@ -734,7 +734,7 @@ class $ {
734
734
  has(e, r) {
735
735
  if (e = Ee(e), e) {
736
736
  const n = f.findKey(this, e);
737
- return !!(n && this[n] !== void 0 && (!r || ct(this, this[n], n, r)));
737
+ return !!(n && this[n] !== void 0 && (!r || ut(this, this[n], n, r)));
738
738
  }
739
739
  return !1;
740
740
  }
@@ -744,7 +744,7 @@ class $ {
744
744
  function i(a) {
745
745
  if (a = Ee(a), a) {
746
746
  const s = f.findKey(n, a);
747
- s && (!r || ct(n, n[s], s, r)) && (delete n[s], o = !0);
747
+ s && (!r || ut(n, n[s], s, r)) && (delete n[s], o = !0);
748
748
  }
749
749
  }
750
750
  return f.isArray(e) ? e.forEach(i) : i(e), o;
@@ -754,7 +754,7 @@ class $ {
754
754
  let n = r.length, o = !1;
755
755
  for (; n--; ) {
756
756
  const i = r[n];
757
- (!e || ct(this, this[i], i, e, !0)) && (delete this[i], o = !0);
757
+ (!e || ut(this, this[i], i, e, !0)) && (delete this[i], o = !0);
758
758
  }
759
759
  return o;
760
760
  }
@@ -763,11 +763,11 @@ class $ {
763
763
  return f.forEach(this, (o, i) => {
764
764
  const a = f.findKey(n, i);
765
765
  if (a) {
766
- r[a] = je(o), delete r[i];
766
+ r[a] = He(o), delete r[i];
767
767
  return;
768
768
  }
769
769
  const s = e ? $i(i) : String(i).trim();
770
- s !== i && delete r[i], r[s] = je(o), n[s] = !0;
770
+ s !== i && delete r[i], r[s] = He(o), n[s] = !0;
771
771
  }), this;
772
772
  }
773
773
  concat(...e) {
@@ -821,8 +821,8 @@ f.reduceDescriptors($.prototype, ({ value: t }, e) => {
821
821
  };
822
822
  });
823
823
  f.freezeMethods($);
824
- function ut(t, e) {
825
- const r = this || Ne, n = e || r, o = $.from(n.headers);
824
+ function ft(t, e) {
825
+ const r = this || Fe, n = e || r, o = $.from(n.headers);
826
826
  let i = n.data;
827
827
  return f.forEach(t, function(s) {
828
828
  i = s.call(r, i, o.normalize(), e ? e.status : void 0);
@@ -879,7 +879,7 @@ function Mi(t, e) {
879
879
  }, n - p)));
880
880
  }, () => o && a(o)];
881
881
  }
882
- const Ge = (t, e, r = 3) => {
882
+ const Je = (t, e, r = 3) => {
883
883
  let n = 0;
884
884
  const o = Bi(50, 250);
885
885
  return Mi((i) => {
@@ -1081,7 +1081,7 @@ const _n = (t) => {
1081
1081
  )), h = null;
1082
1082
  }, i === void 0 && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function(E, T) {
1083
1083
  h.setRequestHeader(T, E);
1084
- }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && ([y, d] = Ge(c, !0), h.addEventListener("progress", y)), u && h.upload && ([p, v] = Ge(u), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = (g) => {
1084
+ }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && ([y, d] = Je(c, !0), h.addEventListener("progress", y)), u && h.upload && ([p, v] = Je(u), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = (g) => {
1085
1085
  h && (n(!g || g.type ? new ve(null, t, h) : g), h.abort(), h = null);
1086
1086
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1087
1087
  const O = Li(o.url);
@@ -1171,7 +1171,7 @@ const _n = (t) => {
1171
1171
  }, {
1172
1172
  highWaterMark: 2
1173
1173
  });
1174
- }, gr = 64 * 1024, { isFunction: Le } = f, Ki = (({ Request: t, Response: e }) => ({
1174
+ }, gr = 64 * 1024, { isFunction: Be } = f, Ki = (({ Request: t, Response: e }) => ({
1175
1175
  Request: t,
1176
1176
  Response: e
1177
1177
  }))(f.global), {
@@ -1187,10 +1187,10 @@ const _n = (t) => {
1187
1187
  t = f.merge.call({
1188
1188
  skipUndefined: !0
1189
1189
  }, Ki, t);
1190
- const { fetch: e, Request: r, Response: n } = t, o = e ? Le(e) : typeof fetch == "function", i = Le(r), a = Le(n);
1190
+ const { fetch: e, Request: r, Response: n } = t, o = e ? Be(e) : typeof fetch == "function", i = Be(r), a = Be(n);
1191
1191
  if (!o)
1192
1192
  return !1;
1193
- const s = o && Le(vr), u = o && (typeof wr == "function" ? /* @__PURE__ */ ((d) => (m) => d.encode(m))(new wr()) : async (d) => new Uint8Array(await new r(d).arrayBuffer())), c = i && s && Sr(() => {
1193
+ const s = o && Be(vr), u = o && (typeof wr == "function" ? /* @__PURE__ */ ((d) => (m) => d.encode(m))(new wr()) : async (d) => new Uint8Array(await new r(d).arrayBuffer())), c = i && s && Sr(() => {
1194
1194
  let d = !1;
1195
1195
  const m = new r(F.origin, {
1196
1196
  body: new vr(),
@@ -1258,11 +1258,11 @@ const _n = (t) => {
1258
1258
  duplex: "half"
1259
1259
  }), le;
1260
1260
  if (f.isFormData(S) && (le = K.headers.get("content-type")) && V.setContentType(le), K.body) {
1261
- const [lt, Ue] = dr(
1261
+ const [ct, Le] = dr(
1262
1262
  B,
1263
- Ge(yr(U))
1263
+ Je(yr(U))
1264
1264
  );
1265
- S = mr(K.body, gr, lt, Ue);
1265
+ S = mr(K.body, gr, ct, Le);
1266
1266
  }
1267
1267
  }
1268
1268
  f.isString(L) || (L = L ? "include" : "omit");
@@ -1283,13 +1283,13 @@ const _n = (t) => {
1283
1283
  ["status", "statusText", "headers"].forEach((sr) => {
1284
1284
  K[sr] = j[sr];
1285
1285
  });
1286
- const le = f.toFiniteNumber(j.headers.get("content-length")), [lt, Ue] = T && dr(
1286
+ const le = f.toFiniteNumber(j.headers.get("content-length")), [ct, Le] = T && dr(
1287
1287
  le,
1288
- Ge(yr(T), !0)
1288
+ Je(yr(T), !0)
1289
1289
  ) || [];
1290
1290
  j = new n(
1291
- mr(j.body, gr, lt, () => {
1292
- Ue && Ue(), I && I();
1291
+ mr(j.body, gr, ct, () => {
1292
+ Le && Le(), I && I();
1293
1293
  }),
1294
1294
  K
1295
1295
  );
@@ -1385,36 +1385,36 @@ const In = {
1385
1385
  */
1386
1386
  adapters: Kt
1387
1387
  };
1388
- function ft(t) {
1388
+ function pt(t) {
1389
1389
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1390
1390
  throw new ve(null, t);
1391
1391
  }
1392
1392
  function Er(t) {
1393
- return ft(t), t.headers = $.from(t.headers), t.data = ut.call(
1393
+ return pt(t), t.headers = $.from(t.headers), t.data = ft.call(
1394
1394
  t,
1395
1395
  t.transformRequest
1396
- ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), In.getAdapter(t.adapter || Ne.adapter, t)(t).then(function(n) {
1397
- return ft(t), n.data = ut.call(
1396
+ ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), In.getAdapter(t.adapter || Fe.adapter, t)(t).then(function(n) {
1397
+ return pt(t), n.data = ft.call(
1398
1398
  t,
1399
1399
  t.transformResponse,
1400
1400
  n
1401
1401
  ), n.headers = $.from(n.headers), n;
1402
1402
  }, function(n) {
1403
- return Tn(n) || (ft(t), n && n.response && (n.response.data = ut.call(
1403
+ return Tn(n) || (pt(t), n && n.response && (n.response.data = ft.call(
1404
1404
  t,
1405
1405
  t.transformResponse,
1406
1406
  n.response
1407
1407
  ), n.response.headers = $.from(n.response.headers))), Promise.reject(n);
1408
1408
  });
1409
1409
  }
1410
- const Nn = "1.13.2", rt = {};
1410
+ const Nn = "1.13.2", nt = {};
1411
1411
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1412
- rt[t] = function(n) {
1412
+ nt[t] = function(n) {
1413
1413
  return typeof n === t || "a" + (e < 1 ? "n " : " ") + t;
1414
1414
  };
1415
1415
  });
1416
1416
  const Or = {};
1417
- rt.transitional = function(e, r, n) {
1417
+ nt.transitional = function(e, r, n) {
1418
1418
  function o(i, a) {
1419
1419
  return "[Axios v" + Nn + "] Transitional option '" + i + "'" + a + (n ? ". " + n : "");
1420
1420
  }
@@ -1427,7 +1427,7 @@ rt.transitional = function(e, r, n) {
1427
1427
  return r && !Or[a] && (Or[a] = !0), e ? e(i, a, s) : !0;
1428
1428
  };
1429
1429
  };
1430
- rt.spelling = function(e) {
1430
+ nt.spelling = function(e) {
1431
1431
  return (r, n) => !0;
1432
1432
  };
1433
1433
  function ta(t, e, r) {
@@ -1447,10 +1447,10 @@ function ta(t, e, r) {
1447
1447
  throw new w("Unknown option " + i, w.ERR_BAD_OPTION);
1448
1448
  }
1449
1449
  }
1450
- const He = {
1450
+ const ze = {
1451
1451
  assertOptions: ta,
1452
- validators: rt
1453
- }, H = He.validators;
1452
+ validators: nt
1453
+ }, H = ze.validators;
1454
1454
  class re {
1455
1455
  constructor(e) {
1456
1456
  this.defaults = e || {}, this.interceptors = {
@@ -1486,16 +1486,16 @@ class re {
1486
1486
  _request(e, r) {
1487
1487
  typeof e == "string" ? (r = r || {}, r.url = e) : r = e || {}, r = oe(this.defaults, r);
1488
1488
  const { transitional: n, paramsSerializer: o, headers: i } = r;
1489
- n !== void 0 && He.assertOptions(n, {
1489
+ n !== void 0 && ze.assertOptions(n, {
1490
1490
  silentJSONParsing: H.transitional(H.boolean),
1491
1491
  forcedJSONParsing: H.transitional(H.boolean),
1492
1492
  clarifyTimeoutError: H.transitional(H.boolean)
1493
1493
  }, !1), o != null && (f.isFunction(o) ? r.paramsSerializer = {
1494
1494
  serialize: o
1495
- } : He.assertOptions(o, {
1495
+ } : ze.assertOptions(o, {
1496
1496
  encode: H.function,
1497
1497
  serialize: H.function
1498
- }, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), He.assertOptions(r, {
1498
+ }, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), ze.assertOptions(r, {
1499
1499
  baseUrl: H.spelling("baseURL"),
1500
1500
  withXsrfToken: H.spelling("withXSRFToken")
1501
1501
  }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
@@ -1656,7 +1656,7 @@ function ra(t) {
1656
1656
  function na(t) {
1657
1657
  return f.isObject(t) && t.isAxiosError === !0;
1658
1658
  }
1659
- const Lt = {
1659
+ const Bt = {
1660
1660
  Continue: 100,
1661
1661
  SwitchingProtocols: 101,
1662
1662
  Processing: 102,
@@ -1727,8 +1727,8 @@ const Lt = {
1727
1727
  SslHandshakeFailed: 525,
1728
1728
  InvalidSslCertificate: 526
1729
1729
  };
1730
- Object.entries(Lt).forEach(([t, e]) => {
1731
- Lt[e] = t;
1730
+ Object.entries(Bt).forEach(([t, e]) => {
1731
+ Bt[e] = t;
1732
1732
  });
1733
1733
  function Fn(t) {
1734
1734
  const e = new re(t), r = fn(re.prototype.request, e);
@@ -1736,13 +1736,13 @@ function Fn(t) {
1736
1736
  return Fn(oe(t, o));
1737
1737
  }, r;
1738
1738
  }
1739
- const R = Fn(Ne);
1739
+ const R = Fn(Fe);
1740
1740
  R.Axios = re;
1741
1741
  R.CanceledError = ve;
1742
1742
  R.CancelToken = Qt;
1743
1743
  R.isCancel = Tn;
1744
1744
  R.VERSION = Nn;
1745
- R.toFormData = tt;
1745
+ R.toFormData = rt;
1746
1746
  R.AxiosError = w;
1747
1747
  R.Cancel = R.CanceledError;
1748
1748
  R.all = function(e) {
@@ -1754,7 +1754,7 @@ R.mergeConfig = oe;
1754
1754
  R.AxiosHeaders = $;
1755
1755
  R.formToJSON = (t) => Rn(f.isHTMLForm(t) ? new FormData(t) : t);
1756
1756
  R.getAdapter = In.getAdapter;
1757
- R.HttpStatusCode = Lt;
1757
+ R.HttpStatusCode = Bt;
1758
1758
  R.default = R;
1759
1759
  var Ar = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1760
1760
  function oa(t) {
@@ -1784,7 +1784,7 @@ const aa = {}, sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1784
1784
  __proto__: null,
1785
1785
  default: aa
1786
1786
  }, Symbol.toStringTag, { value: "Module" })), la = /* @__PURE__ */ ia(sa);
1787
- var Xt = typeof Map == "function" && Map.prototype, pt = Object.getOwnPropertyDescriptor && Xt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Je = Xt && pt && typeof pt.get == "function" ? pt.get : null, Rr = Xt && Map.prototype.forEach, Yt = typeof Set == "function" && Set.prototype, dt = Object.getOwnPropertyDescriptor && Yt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ve = Yt && dt && typeof dt.get == "function" ? dt.get : null, Tr = Yt && Set.prototype.forEach, ca = typeof WeakMap == "function" && WeakMap.prototype, Ae = ca ? WeakMap.prototype.has : null, ua = typeof WeakSet == "function" && WeakSet.prototype, Re = ua ? WeakSet.prototype.has : null, fa = typeof WeakRef == "function" && WeakRef.prototype, Pr = fa ? WeakRef.prototype.deref : null, pa = Boolean.prototype.valueOf, da = Object.prototype.toString, ya = Function.prototype.toString, ha = String.prototype.match, er = String.prototype.slice, Q = String.prototype.replace, ma = String.prototype.toUpperCase, xr = String.prototype.toLowerCase, Dn = RegExp.prototype.test, _r = Array.prototype.concat, Z = Array.prototype.join, ga = Array.prototype.slice, Cr = Math.floor, Bt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, yt = Object.getOwnPropertySymbols, Mt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, he = typeof Symbol == "function" && typeof Symbol.iterator == "object", Te = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === he || !0) ? Symbol.toStringTag : null, $n = Object.prototype.propertyIsEnumerable, Ir = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1787
+ var Xt = typeof Map == "function" && Map.prototype, dt = Object.getOwnPropertyDescriptor && Xt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ve = Xt && dt && typeof dt.get == "function" ? dt.get : null, Rr = Xt && Map.prototype.forEach, Yt = typeof Set == "function" && Set.prototype, yt = Object.getOwnPropertyDescriptor && Yt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ke = Yt && yt && typeof yt.get == "function" ? yt.get : null, Tr = Yt && Set.prototype.forEach, ca = typeof WeakMap == "function" && WeakMap.prototype, Ae = ca ? WeakMap.prototype.has : null, ua = typeof WeakSet == "function" && WeakSet.prototype, Re = ua ? WeakSet.prototype.has : null, fa = typeof WeakRef == "function" && WeakRef.prototype, Pr = fa ? WeakRef.prototype.deref : null, pa = Boolean.prototype.valueOf, da = Object.prototype.toString, ya = Function.prototype.toString, ha = String.prototype.match, er = String.prototype.slice, Q = String.prototype.replace, ma = String.prototype.toUpperCase, xr = String.prototype.toLowerCase, Dn = RegExp.prototype.test, _r = Array.prototype.concat, Z = Array.prototype.join, ga = Array.prototype.slice, Cr = Math.floor, Mt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, ht = Object.getOwnPropertySymbols, kt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, he = typeof Symbol == "function" && typeof Symbol.iterator == "object", Te = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === he || !0) ? Symbol.toStringTag : null, $n = Object.prototype.propertyIsEnumerable, Ir = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1788
1788
  return t.__proto__;
1789
1789
  } : null);
1790
1790
  function Nr(t, e) {
@@ -1800,7 +1800,7 @@ function Nr(t, e) {
1800
1800
  }
1801
1801
  return Q.call(e, r, "$&_");
1802
1802
  }
1803
- var kt = la, Fr = kt.custom, Dr = Bn(Fr) ? Fr : null, Un = {
1803
+ var qt = la, Fr = qt.custom, Dr = Bn(Fr) ? Fr : null, Un = {
1804
1804
  __proto__: null,
1805
1805
  double: '"',
1806
1806
  single: "'"
@@ -1808,7 +1808,7 @@ var kt = la, Fr = kt.custom, Dr = Bn(Fr) ? Fr : null, Un = {
1808
1808
  __proto__: null,
1809
1809
  double: /(["\\])/g,
1810
1810
  single: /(['\\])/g
1811
- }, nt = function t(e, r, n, o) {
1811
+ }, ot = function t(e, r, n, o) {
1812
1812
  var i = r || {};
1813
1813
  if (G(i, "quoteStyle") && !G(Un, i.quoteStyle))
1814
1814
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
@@ -1842,7 +1842,7 @@ var kt = la, Fr = kt.custom, Dr = Bn(Fr) ? Fr : null, Un = {
1842
1842
  }
1843
1843
  var l = typeof i.depth > "u" ? 5 : i.depth;
1844
1844
  if (typeof n > "u" && (n = 0), n >= l && l > 0 && typeof e == "object")
1845
- return qt(e) ? "[Array]" : "[Object]";
1845
+ return jt(e) ? "[Array]" : "[Object]";
1846
1846
  var p = Ua(i, n);
1847
1847
  if (typeof o > "u")
1848
1848
  o = [];
@@ -1858,11 +1858,11 @@ var kt = la, Fr = kt.custom, Dr = Bn(Fr) ? Fr : null, Un = {
1858
1858
  return t(C, i, n + 1, o);
1859
1859
  }
1860
1860
  if (typeof e == "function" && !$r(e)) {
1861
- var v = Pa(e), d = Be(e, y);
1861
+ var v = Pa(e), d = Me(e, y);
1862
1862
  return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (d.length > 0 ? " { " + Z.call(d, ", ") + " }" : "");
1863
1863
  }
1864
1864
  if (Bn(e)) {
1865
- var m = he ? Q.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Mt.call(e);
1865
+ var m = he ? Q.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : kt.call(e);
1866
1866
  return typeof e == "object" && !he ? Oe(m) : m;
1867
1867
  }
1868
1868
  if (Fa(e)) {
@@ -1870,19 +1870,19 @@ var kt = la, Fr = kt.custom, Dr = Bn(Fr) ? Fr : null, Un = {
1870
1870
  h += " " + S[O].name + "=" + Ln(wa(S[O].value), "double", i);
1871
1871
  return h += ">", e.childNodes && e.childNodes.length && (h += "..."), h += "</" + xr.call(String(e.nodeName)) + ">", h;
1872
1872
  }
1873
- if (qt(e)) {
1873
+ if (jt(e)) {
1874
1874
  if (e.length === 0)
1875
1875
  return "[]";
1876
- var g = Be(e, y);
1877
- return p && !$a(g) ? "[" + jt(g, p) + "]" : "[ " + Z.call(g, ", ") + " ]";
1876
+ var g = Me(e, y);
1877
+ return p && !$a(g) ? "[" + Ht(g, p) + "]" : "[ " + Z.call(g, ", ") + " ]";
1878
1878
  }
1879
1879
  if (ba(e)) {
1880
- var E = Be(e, y);
1880
+ var E = Me(e, y);
1881
1881
  return !("cause" in Error.prototype) && "cause" in e && !$n.call(e, "cause") ? "{ [" + String(e) + "] " + Z.call(_r.call("[cause]: " + y(e.cause), E), ", ") + " }" : E.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + Z.call(E, ", ") + " }";
1882
1882
  }
1883
1883
  if (typeof e == "object" && a) {
1884
- if (Dr && typeof e[Dr] == "function" && kt)
1885
- return kt(e, { depth: l - n });
1884
+ if (Dr && typeof e[Dr] == "function" && qt)
1885
+ return qt(e, { depth: l - n });
1886
1886
  if (a !== "symbol" && typeof e.inspect == "function")
1887
1887
  return e.inspect();
1888
1888
  }
@@ -1890,24 +1890,24 @@ var kt = la, Fr = kt.custom, Dr = Bn(Fr) ? Fr : null, Un = {
1890
1890
  var T = [];
1891
1891
  return Rr && Rr.call(e, function(C, I) {
1892
1892
  T.push(y(I, e, !0) + " => " + y(C, e));
1893
- }), Ur("Map", Je.call(e), T, p);
1893
+ }), Ur("Map", Ve.call(e), T, p);
1894
1894
  }
1895
1895
  if (Ia(e)) {
1896
1896
  var U = [];
1897
1897
  return Tr && Tr.call(e, function(C) {
1898
1898
  U.push(y(C, e));
1899
- }), Ur("Set", Ve.call(e), U, p);
1899
+ }), Ur("Set", Ke.call(e), U, p);
1900
1900
  }
1901
1901
  if (_a(e))
1902
- return ht("WeakMap");
1902
+ return mt("WeakMap");
1903
1903
  if (Na(e))
1904
- return ht("WeakSet");
1904
+ return mt("WeakSet");
1905
1905
  if (Ca(e))
1906
- return ht("WeakRef");
1906
+ return mt("WeakRef");
1907
1907
  if (Oa(e))
1908
1908
  return Oe(y(Number(e)));
1909
1909
  if (Ra(e))
1910
- return Oe(y(Bt.call(e)));
1910
+ return Oe(y(Mt.call(e)));
1911
1911
  if (Aa(e))
1912
1912
  return Oe(pa.call(e));
1913
1913
  if (Ea(e))
@@ -1917,8 +1917,8 @@ var kt = la, Fr = kt.custom, Dr = Bn(Fr) ? Fr : null, Un = {
1917
1917
  if (typeof globalThis < "u" && e === globalThis || typeof Ar < "u" && e === Ar)
1918
1918
  return "{ [object globalThis] }";
1919
1919
  if (!Sa(e) && !$r(e)) {
1920
- var P = Be(e, y), V = Ir ? Ir(e) === Object.prototype : e instanceof Object || e.constructor === Object, L = e instanceof Object ? "" : "null prototype", M = !V && Te && Object(e) === e && Te in e ? er.call(X(e), 8, -1) : L ? "Object" : "", Y = V || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", k = Y + (M || L ? "[" + Z.call(_r.call([], M || [], L || []), ": ") + "] " : "");
1921
- return P.length === 0 ? k + "{}" : p ? k + "{" + jt(P, p) + "}" : k + "{ " + Z.call(P, ", ") + " }";
1920
+ var P = Me(e, y), V = Ir ? Ir(e) === Object.prototype : e instanceof Object || e.constructor === Object, L = e instanceof Object ? "" : "null prototype", M = !V && Te && Object(e) === e && Te in e ? er.call(X(e), 8, -1) : L ? "Object" : "", Y = V || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", k = Y + (M || L ? "[" + Z.call(_r.call([], M || [], L || []), ": ") + "] " : "");
1921
+ return P.length === 0 ? k + "{}" : p ? k + "{" + Ht(P, p) + "}" : k + "{ " + Z.call(P, ", ") + " }";
1922
1922
  }
1923
1923
  return String(e);
1924
1924
  };
@@ -1932,7 +1932,7 @@ function wa(t) {
1932
1932
  function ae(t) {
1933
1933
  return !Te || !(typeof t == "object" && (Te in t || typeof t[Te] < "u"));
1934
1934
  }
1935
- function qt(t) {
1935
+ function jt(t) {
1936
1936
  return X(t) === "[object Array]" && ae(t);
1937
1937
  }
1938
1938
  function Sa(t) {
@@ -1958,19 +1958,19 @@ function Bn(t) {
1958
1958
  return t && typeof t == "object" && t instanceof Symbol;
1959
1959
  if (typeof t == "symbol")
1960
1960
  return !0;
1961
- if (!t || typeof t != "object" || !Mt)
1961
+ if (!t || typeof t != "object" || !kt)
1962
1962
  return !1;
1963
1963
  try {
1964
- return Mt.call(t), !0;
1964
+ return kt.call(t), !0;
1965
1965
  } catch {
1966
1966
  }
1967
1967
  return !1;
1968
1968
  }
1969
1969
  function Ra(t) {
1970
- if (!t || typeof t != "object" || !Bt)
1970
+ if (!t || typeof t != "object" || !Mt)
1971
1971
  return !1;
1972
1972
  try {
1973
- return Bt.call(t), !0;
1973
+ return Mt.call(t), !0;
1974
1974
  } catch {
1975
1975
  }
1976
1976
  return !1;
@@ -1999,12 +1999,12 @@ function Mn(t, e) {
1999
1999
  return -1;
2000
2000
  }
2001
2001
  function xa(t) {
2002
- if (!Je || !t || typeof t != "object")
2002
+ if (!Ve || !t || typeof t != "object")
2003
2003
  return !1;
2004
2004
  try {
2005
- Je.call(t);
2005
+ Ve.call(t);
2006
2006
  try {
2007
- Ve.call(t);
2007
+ Ke.call(t);
2008
2008
  } catch {
2009
2009
  return !0;
2010
2010
  }
@@ -2038,12 +2038,12 @@ function Ca(t) {
2038
2038
  return !1;
2039
2039
  }
2040
2040
  function Ia(t) {
2041
- if (!Ve || !t || typeof t != "object")
2041
+ if (!Ke || !t || typeof t != "object")
2042
2042
  return !1;
2043
2043
  try {
2044
- Ve.call(t);
2044
+ Ke.call(t);
2045
2045
  try {
2046
- Je.call(t);
2046
+ Ve.call(t);
2047
2047
  } catch {
2048
2048
  return !0;
2049
2049
  }
@@ -2093,11 +2093,11 @@ function Da(t) {
2093
2093
  function Oe(t) {
2094
2094
  return "Object(" + t + ")";
2095
2095
  }
2096
- function ht(t) {
2096
+ function mt(t) {
2097
2097
  return t + " { ? }";
2098
2098
  }
2099
2099
  function Ur(t, e, r, n) {
2100
- var o = n ? jt(r, n) : Z.call(r, ", ");
2100
+ var o = n ? Ht(r, n) : Z.call(r, ", ");
2101
2101
  return t + " (" + e + ") {" + o + "}";
2102
2102
  }
2103
2103
  function $a(t) {
@@ -2120,7 +2120,7 @@ function Ua(t, e) {
2120
2120
  prev: Z.call(Array(e + 1), r)
2121
2121
  };
2122
2122
  }
2123
- function jt(t, e) {
2123
+ function Ht(t, e) {
2124
2124
  if (t.length === 0)
2125
2125
  return "";
2126
2126
  var r = `
@@ -2128,14 +2128,14 @@ function jt(t, e) {
2128
2128
  return r + Z.call(t, "," + r) + `
2129
2129
  ` + e.prev;
2130
2130
  }
2131
- function Be(t, e) {
2132
- var r = qt(t), n = [];
2131
+ function Me(t, e) {
2132
+ var r = jt(t), n = [];
2133
2133
  if (r) {
2134
2134
  n.length = t.length;
2135
2135
  for (var o = 0; o < t.length; o++)
2136
2136
  n[o] = G(t, o) ? e(t[o], t) : "";
2137
2137
  }
2138
- var i = typeof yt == "function" ? yt(t) : [], a;
2138
+ var i = typeof ht == "function" ? ht(t) : [], a;
2139
2139
  if (he) {
2140
2140
  a = {};
2141
2141
  for (var s = 0; s < i.length; s++)
@@ -2143,23 +2143,23 @@ function Be(t, e) {
2143
2143
  }
2144
2144
  for (var u in t)
2145
2145
  G(t, u) && (r && String(Number(u)) === u && u < t.length || he && a["$" + u] instanceof Symbol || (Dn.call(/[^\w$]/, u) ? n.push(e(u, t) + ": " + e(t[u], t)) : n.push(u + ": " + e(t[u], t))));
2146
- if (typeof yt == "function")
2146
+ if (typeof ht == "function")
2147
2147
  for (var c = 0; c < i.length; c++)
2148
2148
  $n.call(t, i[c]) && n.push("[" + e(i[c]) + "]: " + e(t[i[c]], t));
2149
2149
  return n;
2150
2150
  }
2151
- var La = nt, Ba = we, ot = function(t, e, r) {
2151
+ var La = ot, Ba = we, it = function(t, e, r) {
2152
2152
  for (var n = t, o; (o = n.next) != null; n = o)
2153
2153
  if (o.key === e)
2154
2154
  return n.next = o.next, r || (o.next = /** @type {NonNullable<typeof list.next>} */
2155
2155
  t.next, t.next = o), o;
2156
2156
  }, Ma = function(t, e) {
2157
2157
  if (t) {
2158
- var r = ot(t, e);
2158
+ var r = it(t, e);
2159
2159
  return r && r.value;
2160
2160
  }
2161
2161
  }, ka = function(t, e, r) {
2162
- var n = ot(t, e);
2162
+ var n = it(t, e);
2163
2163
  n ? n.value = r : t.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
2164
2164
  {
2165
2165
  // eslint-disable-line no-param-reassign, no-extra-parens
@@ -2168,10 +2168,10 @@ var La = nt, Ba = we, ot = function(t, e, r) {
2168
2168
  value: r
2169
2169
  };
2170
2170
  }, qa = function(t, e) {
2171
- return t ? !!ot(t, e) : !1;
2171
+ return t ? !!it(t, e) : !1;
2172
2172
  }, ja = function(t, e) {
2173
2173
  if (t)
2174
- return ot(t, e, !0);
2174
+ return it(t, e, !0);
2175
2175
  }, Ha = function() {
2176
2176
  var e, r = {
2177
2177
  assert: function(n) {
@@ -2204,23 +2204,23 @@ var La = nt, Ba = we, ot = function(t, e, r) {
2204
2204
  return e !== e;
2205
2205
  }, ns = rs, os = function(e) {
2206
2206
  return ns(e) || e === 0 ? e : e < 0 ? -1 : 1;
2207
- }, is = Object.getOwnPropertyDescriptor, ze = is;
2208
- if (ze)
2207
+ }, is = Object.getOwnPropertyDescriptor, We = is;
2208
+ if (We)
2209
2209
  try {
2210
- ze([], "length");
2210
+ We([], "length");
2211
2211
  } catch {
2212
- ze = null;
2212
+ We = null;
2213
2213
  }
2214
- var jn = ze, We = Object.defineProperty || !1;
2215
- if (We)
2214
+ var jn = We, Ze = Object.defineProperty || !1;
2215
+ if (Ze)
2216
2216
  try {
2217
- We({}, "a", { value: 1 });
2217
+ Ze({}, "a", { value: 1 });
2218
2218
  } catch {
2219
- We = !1;
2219
+ Ze = !1;
2220
2220
  }
2221
- var as = We, mt, Lr;
2221
+ var as = Ze, gt, Lr;
2222
2222
  function ss() {
2223
- return Lr || (Lr = 1, mt = function() {
2223
+ return Lr || (Lr = 1, gt = function() {
2224
2224
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
2225
2225
  return !1;
2226
2226
  if (typeof Symbol.iterator == "symbol")
@@ -2246,31 +2246,31 @@ function ss() {
2246
2246
  return !1;
2247
2247
  }
2248
2248
  return !0;
2249
- }), mt;
2249
+ }), gt;
2250
2250
  }
2251
- var gt, Br;
2251
+ var vt, Br;
2252
2252
  function ls() {
2253
- if (Br) return gt;
2253
+ if (Br) return vt;
2254
2254
  Br = 1;
2255
2255
  var t = typeof Symbol < "u" && Symbol, e = ss();
2256
- return gt = function() {
2256
+ return vt = function() {
2257
2257
  return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
2258
- }, gt;
2258
+ }, vt;
2259
2259
  }
2260
- var vt, Mr;
2260
+ var wt, Mr;
2261
2261
  function Hn() {
2262
- return Mr || (Mr = 1, vt = typeof Reflect < "u" && Reflect.getPrototypeOf || null), vt;
2262
+ return Mr || (Mr = 1, wt = typeof Reflect < "u" && Reflect.getPrototypeOf || null), wt;
2263
2263
  }
2264
- var wt, kr;
2264
+ var St, kr;
2265
2265
  function zn() {
2266
- if (kr) return wt;
2266
+ if (kr) return St;
2267
2267
  kr = 1;
2268
2268
  var t = qn;
2269
- return wt = t.getPrototypeOf || null, wt;
2269
+ return St = t.getPrototypeOf || null, St;
2270
2270
  }
2271
- var St, qr;
2271
+ var bt, qr;
2272
2272
  function cs() {
2273
- if (qr) return St;
2273
+ if (qr) return bt;
2274
2274
  qr = 1;
2275
2275
  var t = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, r = Math.max, n = "[object Function]", o = function(u, c) {
2276
2276
  for (var l = [], p = 0; p < u.length; p += 1)
@@ -2287,7 +2287,7 @@ function cs() {
2287
2287
  c += s[l], l + 1 < s.length && (c += u);
2288
2288
  return c;
2289
2289
  };
2290
- return St = function(u) {
2290
+ return bt = function(u) {
2291
2291
  var c = this;
2292
2292
  if (typeof c != "function" || e.apply(c) !== n)
2293
2293
  throw new TypeError(t + c);
@@ -2311,30 +2311,30 @@ function cs() {
2311
2311
  h.prototype = c.prototype, p.prototype = new h(), h.prototype = null;
2312
2312
  }
2313
2313
  return p;
2314
- }, St;
2314
+ }, bt;
2315
2315
  }
2316
- var bt, jr;
2317
- function it() {
2318
- if (jr) return bt;
2316
+ var Et, jr;
2317
+ function at() {
2318
+ if (jr) return Et;
2319
2319
  jr = 1;
2320
2320
  var t = cs();
2321
- return bt = Function.prototype.bind || t, bt;
2321
+ return Et = Function.prototype.bind || t, Et;
2322
2322
  }
2323
- var Et, Hr;
2323
+ var Ot, Hr;
2324
2324
  function tr() {
2325
- return Hr || (Hr = 1, Et = Function.prototype.call), Et;
2325
+ return Hr || (Hr = 1, Ot = Function.prototype.call), Ot;
2326
2326
  }
2327
- var Ot, zr;
2327
+ var At, zr;
2328
2328
  function Wn() {
2329
- return zr || (zr = 1, Ot = Function.prototype.apply), Ot;
2329
+ return zr || (zr = 1, At = Function.prototype.apply), At;
2330
2330
  }
2331
- var us = typeof Reflect < "u" && Reflect && Reflect.apply, fs = it(), ps = Wn(), ds = tr(), ys = us, hs = ys || fs.call(ds, ps), ms = it(), gs = we, vs = tr(), ws = hs, Zn = function(e) {
2331
+ var us = typeof Reflect < "u" && Reflect && Reflect.apply, fs = at(), ps = Wn(), ds = tr(), ys = us, hs = ys || fs.call(ds, ps), ms = at(), gs = we, vs = tr(), ws = hs, Zn = function(e) {
2332
2332
  if (e.length < 1 || typeof e[0] != "function")
2333
2333
  throw new gs("a function is required");
2334
2334
  return ws(ms, vs, e);
2335
- }, At, Wr;
2335
+ }, Rt, Wr;
2336
2336
  function Ss() {
2337
- if (Wr) return At;
2337
+ if (Wr) return Rt;
2338
2338
  Wr = 1;
2339
2339
  var t = Zn, e = jn, r;
2340
2340
  try {
@@ -2349,19 +2349,19 @@ function Ss() {
2349
2349
  /** @type {keyof typeof Object.prototype} */
2350
2350
  "__proto__"
2351
2351
  ), o = Object, i = o.getPrototypeOf;
2352
- return At = n && typeof n.get == "function" ? t([n.get]) : typeof i == "function" ? (
2352
+ return Rt = n && typeof n.get == "function" ? t([n.get]) : typeof i == "function" ? (
2353
2353
  /** @type {import('./get')} */
2354
2354
  function(s) {
2355
2355
  return i(s == null ? s : o(s));
2356
2356
  }
2357
- ) : !1, At;
2357
+ ) : !1, Rt;
2358
2358
  }
2359
- var Rt, Zr;
2359
+ var Tt, Zr;
2360
2360
  function bs() {
2361
- if (Zr) return Rt;
2361
+ if (Zr) return Tt;
2362
2362
  Zr = 1;
2363
2363
  var t = Hn(), e = zn(), r = Ss();
2364
- return Rt = t ? function(o) {
2364
+ return Tt = t ? function(o) {
2365
2365
  return t(o);
2366
2366
  } : e ? function(o) {
2367
2367
  if (!o || typeof o != "object" && typeof o != "function")
@@ -2369,33 +2369,33 @@ function bs() {
2369
2369
  return e(o);
2370
2370
  } : r ? function(o) {
2371
2371
  return r(o);
2372
- } : null, Rt;
2372
+ } : null, Tt;
2373
2373
  }
2374
- var Tt, Gr;
2374
+ var Pt, Gr;
2375
2375
  function Es() {
2376
- if (Gr) return Tt;
2376
+ if (Gr) return Pt;
2377
2377
  Gr = 1;
2378
- var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = it();
2379
- return Tt = r.call(t, e), Tt;
2378
+ var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = at();
2379
+ return Pt = r.call(t, e), Pt;
2380
2380
  }
2381
- var b, Os = qn, As = za, Rs = Wa, Ts = Za, Ps = Ga, me = Ja, pe = we, xs = Va, _s = Ka, Cs = Qa, Is = Xa, Ns = Ya, Fs = es, Ds = ts, $s = os, Gn = Function, Pt = function(t) {
2381
+ var b, Os = qn, As = za, Rs = Wa, Ts = Za, Ps = Ga, me = Ja, pe = we, xs = Va, _s = Ka, Cs = Qa, Is = Xa, Ns = Ya, Fs = es, Ds = ts, $s = os, Gn = Function, xt = function(t) {
2382
2382
  try {
2383
2383
  return Gn('"use strict"; return (' + t + ").constructor;")();
2384
2384
  } catch {
2385
2385
  }
2386
- }, xe = jn, Us = as, xt = function() {
2386
+ }, _e = jn, Us = as, _t = function() {
2387
2387
  throw new pe();
2388
- }, Ls = xe ? function() {
2388
+ }, Ls = _e ? function() {
2389
2389
  try {
2390
- return arguments.callee, xt;
2390
+ return arguments.callee, _t;
2391
2391
  } catch {
2392
2392
  try {
2393
- return xe(arguments, "callee").get;
2393
+ return _e(arguments, "callee").get;
2394
2394
  } catch {
2395
- return xt;
2395
+ return _t;
2396
2396
  }
2397
2397
  }
2398
- }() : xt, ce = ls()(), _ = bs(), Bs = zn(), Ms = Hn(), Jn = Wn(), Fe = tr(), fe = {}, ks = typeof Uint8Array > "u" || !_ ? b : _(Uint8Array), ne = {
2398
+ }() : _t, ce = ls()(), _ = bs(), Bs = zn(), Ms = Hn(), Jn = Wn(), De = tr(), fe = {}, ks = typeof Uint8Array > "u" || !_ ? b : _(Uint8Array), ne = {
2399
2399
  __proto__: null,
2400
2400
  "%AggregateError%": typeof AggregateError > "u" ? b : AggregateError,
2401
2401
  "%Array%": Array,
@@ -2439,7 +2439,7 @@ var b, Os = qn, As = za, Rs = Wa, Ts = Za, Ps = Ga, me = Ja, pe = we, xs = Va, _
2439
2439
  "%Math%": Math,
2440
2440
  "%Number%": Number,
2441
2441
  "%Object%": Os,
2442
- "%Object.getOwnPropertyDescriptor%": xe,
2442
+ "%Object.getOwnPropertyDescriptor%": _e,
2443
2443
  "%parseFloat%": parseFloat,
2444
2444
  "%parseInt%": parseInt,
2445
2445
  "%Promise%": typeof Promise > "u" ? b : Promise,
@@ -2466,7 +2466,7 @@ var b, Os = qn, As = za, Rs = Wa, Ts = Za, Ps = Ga, me = Ja, pe = we, xs = Va, _
2466
2466
  "%WeakMap%": typeof WeakMap > "u" ? b : WeakMap,
2467
2467
  "%WeakRef%": typeof WeakRef > "u" ? b : WeakRef,
2468
2468
  "%WeakSet%": typeof WeakSet > "u" ? b : WeakSet,
2469
- "%Function.prototype.call%": Fe,
2469
+ "%Function.prototype.call%": De,
2470
2470
  "%Function.prototype.apply%": Jn,
2471
2471
  "%Object.defineProperty%": Us,
2472
2472
  "%Object.getPrototypeOf%": Bs,
@@ -2489,11 +2489,11 @@ if (_)
2489
2489
  var js = function t(e) {
2490
2490
  var r;
2491
2491
  if (e === "%AsyncFunction%")
2492
- r = Pt("async function () {}");
2492
+ r = xt("async function () {}");
2493
2493
  else if (e === "%GeneratorFunction%")
2494
- r = Pt("function* () {}");
2494
+ r = xt("function* () {}");
2495
2495
  else if (e === "%AsyncGeneratorFunction%")
2496
- r = Pt("async function* () {}");
2496
+ r = xt("async function* () {}");
2497
2497
  else if (e === "%AsyncGenerator%") {
2498
2498
  var n = t("%AsyncGeneratorFunction%");
2499
2499
  n && (r = n.prototype);
@@ -2555,8 +2555,8 @@ var js = function t(e) {
2555
2555
  "%URIErrorPrototype%": ["URIError", "prototype"],
2556
2556
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
2557
2557
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
2558
- }, De = it(), Ke = Es(), Hs = De.call(Fe, Array.prototype.concat), zs = De.call(Jn, Array.prototype.splice), Vr = De.call(Fe, String.prototype.replace), Qe = De.call(Fe, String.prototype.slice), Ws = De.call(Fe, RegExp.prototype.exec), Zs = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Gs = /\\(\\)?/g, Js = function(e) {
2559
- var r = Qe(e, 0, 1), n = Qe(e, -1);
2558
+ }, $e = at(), Qe = Es(), Hs = $e.call(De, Array.prototype.concat), zs = $e.call(Jn, Array.prototype.splice), Vr = $e.call(De, String.prototype.replace), Xe = $e.call(De, String.prototype.slice), Ws = $e.call(De, RegExp.prototype.exec), Zs = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Gs = /\\(\\)?/g, Js = function(e) {
2559
+ var r = Xe(e, 0, 1), n = Xe(e, -1);
2560
2560
  if (r === "%" && n !== "%")
2561
2561
  throw new me("invalid intrinsic syntax, expected closing `%`");
2562
2562
  if (n === "%" && r !== "%")
@@ -2567,7 +2567,7 @@ var js = function t(e) {
2567
2567
  }), o;
2568
2568
  }, Vs = function(e, r) {
2569
2569
  var n = e, o;
2570
- if (Ke(Jr, n) && (o = Jr[n], n = "%" + o[0] + "%"), Ke(ne, n)) {
2570
+ if (Qe(Jr, n) && (o = Jr[n], n = "%" + o[0] + "%"), Qe(ne, n)) {
2571
2571
  var i = ne[n];
2572
2572
  if (i === fe && (i = js(n)), typeof i > "u" && !r)
2573
2573
  throw new pe("intrinsic " + e + " exists, but is not available. Please file an issue!");
@@ -2588,10 +2588,10 @@ var js = function t(e) {
2588
2588
  var n = Js(e), o = n.length > 0 ? n[0] : "", i = Vs("%" + o + "%", r), a = i.name, s = i.value, u = !1, c = i.alias;
2589
2589
  c && (o = c[0], zs(n, Hs([0, 1], c)));
2590
2590
  for (var l = 1, p = !0; l < n.length; l += 1) {
2591
- var y = n[l], v = Qe(y, 0, 1), d = Qe(y, -1);
2591
+ var y = n[l], v = Xe(y, 0, 1), d = Xe(y, -1);
2592
2592
  if ((v === '"' || v === "'" || v === "`" || d === '"' || d === "'" || d === "`") && v !== d)
2593
2593
  throw new me("property names with quotes must have matching quotes");
2594
- if ((y === "constructor" || !p) && (u = !0), o += "." + y, a = "%" + o + "%", Ke(ne, a))
2594
+ if ((y === "constructor" || !p) && (u = !0), o += "." + y, a = "%" + o + "%", Qe(ne, a))
2595
2595
  s = ne[a];
2596
2596
  else if (s != null) {
2597
2597
  if (!(y in s)) {
@@ -2599,11 +2599,11 @@ var js = function t(e) {
2599
2599
  throw new pe("base intrinsic for " + e + " exists, but the property is not available.");
2600
2600
  return;
2601
2601
  }
2602
- if (xe && l + 1 >= n.length) {
2603
- var m = xe(s, y);
2602
+ if (_e && l + 1 >= n.length) {
2603
+ var m = _e(s, y);
2604
2604
  p = !!m, p && "get" in m && !("originalValue" in m.get) ? s = m.get : s = s[y];
2605
2605
  } else
2606
- p = Ke(s, y), s = s[y];
2606
+ p = Qe(s, y), s = s[y];
2607
2607
  p && !u && (ne[a] = s);
2608
2608
  }
2609
2609
  }
@@ -2617,7 +2617,7 @@ var js = function t(e) {
2617
2617
  /** @type {const} */
2618
2618
  [n]
2619
2619
  ) : n;
2620
- }, Qs = rr, $e = Qn, Xs = nt, Ys = we, Kr = Qs("%Map%", !0), el = $e("Map.prototype.get", !0), tl = $e("Map.prototype.set", !0), rl = $e("Map.prototype.has", !0), nl = $e("Map.prototype.delete", !0), ol = $e("Map.prototype.size", !0), Xn = !!Kr && /** @type {Exclude<import('.'), false>} */
2620
+ }, Qs = rr, Ue = Qn, Xs = ot, Ys = we, Kr = Qs("%Map%", !0), el = Ue("Map.prototype.get", !0), tl = Ue("Map.prototype.set", !0), rl = Ue("Map.prototype.has", !0), nl = Ue("Map.prototype.delete", !0), ol = Ue("Map.prototype.size", !0), Xn = !!Kr && /** @type {Exclude<import('.'), false>} */
2621
2621
  function() {
2622
2622
  var e, r = {
2623
2623
  assert: function(n) {
@@ -2643,7 +2643,7 @@ function() {
2643
2643
  }
2644
2644
  };
2645
2645
  return r;
2646
- }, il = rr, at = Qn, al = nt, Me = Xn, sl = we, ue = il("%WeakMap%", !0), ll = at("WeakMap.prototype.get", !0), cl = at("WeakMap.prototype.set", !0), ul = at("WeakMap.prototype.has", !0), fl = at("WeakMap.prototype.delete", !0), pl = ue ? (
2646
+ }, il = rr, st = Qn, al = ot, ke = Xn, sl = we, ue = il("%WeakMap%", !0), ll = st("WeakMap.prototype.get", !0), cl = st("WeakMap.prototype.set", !0), ul = st("WeakMap.prototype.has", !0), fl = st("WeakMap.prototype.delete", !0), pl = ue ? (
2647
2647
  /** @type {Exclude<import('.'), false>} */
2648
2648
  function() {
2649
2649
  var e, r, n = {
@@ -2655,7 +2655,7 @@ function() {
2655
2655
  if (ue && o && (typeof o == "object" || typeof o == "function")) {
2656
2656
  if (e)
2657
2657
  return fl(e, o);
2658
- } else if (Me && r)
2658
+ } else if (ke && r)
2659
2659
  return r.delete(o);
2660
2660
  return !1;
2661
2661
  },
@@ -2666,12 +2666,12 @@ function() {
2666
2666
  return ue && o && (typeof o == "object" || typeof o == "function") && e ? ul(e, o) : !!r && r.has(o);
2667
2667
  },
2668
2668
  set: function(o, i) {
2669
- ue && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new ue()), cl(e, o, i)) : Me && (r || (r = Me()), r.set(o, i));
2669
+ ue && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new ue()), cl(e, o, i)) : ke && (r || (r = ke()), r.set(o, i));
2670
2670
  }
2671
2671
  };
2672
2672
  return n;
2673
2673
  }
2674
- ) : Me, dl = we, yl = nt, hl = Ha, ml = Xn, gl = pl, vl = gl || ml || hl, wl = function() {
2674
+ ) : ke, dl = we, yl = ot, hl = Ha, ml = Xn, gl = pl, vl = gl || ml || hl, wl = function() {
2675
2675
  var e, r = {
2676
2676
  assert: function(n) {
2677
2677
  if (!r.has(n))
@@ -2691,11 +2691,11 @@ function() {
2691
2691
  }
2692
2692
  };
2693
2693
  return r;
2694
- }, Sl = String.prototype.replace, bl = /%20/g, _t = {
2694
+ }, Sl = String.prototype.replace, bl = /%20/g, Ct = {
2695
2695
  RFC1738: "RFC1738",
2696
2696
  RFC3986: "RFC3986"
2697
2697
  }, nr = {
2698
- default: _t.RFC3986,
2698
+ default: Ct.RFC3986,
2699
2699
  formatters: {
2700
2700
  RFC1738: function(t) {
2701
2701
  return Sl.call(t, bl, "+");
@@ -2704,9 +2704,9 @@ function() {
2704
2704
  return String(t);
2705
2705
  }
2706
2706
  },
2707
- RFC1738: _t.RFC1738,
2708
- RFC3986: _t.RFC3986
2709
- }, El = nr, Ct = Object.prototype.hasOwnProperty, ee = Array.isArray, z = function() {
2707
+ RFC1738: Ct.RFC1738,
2708
+ RFC3986: Ct.RFC3986
2709
+ }, El = nr, It = Object.prototype.hasOwnProperty, ee = Array.isArray, z = function() {
2710
2710
  for (var t = [], e = 0; e < 256; ++e)
2711
2711
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2712
2712
  return t;
@@ -2730,7 +2730,7 @@ function() {
2730
2730
  if (ee(e))
2731
2731
  e.push(r);
2732
2732
  else if (e && typeof e == "object")
2733
- (n && (n.plainObjects || n.allowPrototypes) || !Ct.call(Object.prototype, r)) && (e[r] = !0);
2733
+ (n && (n.plainObjects || n.allowPrototypes) || !It.call(Object.prototype, r)) && (e[r] = !0);
2734
2734
  else
2735
2735
  return [e, r];
2736
2736
  return e;
@@ -2739,14 +2739,14 @@ function() {
2739
2739
  return [e].concat(r);
2740
2740
  var o = e;
2741
2741
  return ee(e) && !ee(r) && (o = Yn(e, n)), ee(e) && ee(r) ? (r.forEach(function(i, a) {
2742
- if (Ct.call(e, a)) {
2742
+ if (It.call(e, a)) {
2743
2743
  var s = e[a];
2744
2744
  s && typeof s == "object" && i && typeof i == "object" ? e[a] = t(s, i, n) : e.push(i);
2745
2745
  } else
2746
2746
  e[a] = i;
2747
2747
  }), e) : Object.keys(r).reduce(function(i, a) {
2748
2748
  var s = r[a];
2749
- return Ct.call(i, a) ? i[a] = t(i[a], s, n) : i[a] = s, i;
2749
+ return It.call(i, a) ? i[a] = t(i[a], s, n) : i[a] = s, i;
2750
2750
  }, o);
2751
2751
  }, Rl = function(e, r) {
2752
2752
  return Object.keys(r).reduce(function(n, o) {
@@ -2761,7 +2761,7 @@ function() {
2761
2761
  } catch {
2762
2762
  return n;
2763
2763
  }
2764
- }, It = 1024, Pl = function(e, r, n, o, i) {
2764
+ }, Nt = 1024, Pl = function(e, r, n, o, i) {
2765
2765
  if (e.length === 0)
2766
2766
  return e;
2767
2767
  var a = e;
@@ -2769,8 +2769,8 @@ function() {
2769
2769
  return escape(a).replace(/%u[0-9a-f]{4}/gi, function(v) {
2770
2770
  return "%26%23" + parseInt(v.slice(2), 16) + "%3B";
2771
2771
  });
2772
- for (var s = "", u = 0; u < a.length; u += It) {
2773
- for (var c = a.length >= It ? a.slice(u, u + It) : a, l = [], p = 0; p < c.length; ++p) {
2772
+ for (var s = "", u = 0; u < a.length; u += Nt) {
2773
+ for (var c = a.length >= Nt ? a.slice(u, u + Nt) : a, l = [], p = 0; p < c.length; ++p) {
2774
2774
  var y = c.charCodeAt(p);
2775
2775
  if (y === 45 || y === 46 || y === 95 || y === 126 || y >= 48 && y <= 57 || y >= 65 && y <= 90 || y >= 97 && y <= 122 || i === El.RFC1738 && (y === 40 || y === 41)) {
2776
2776
  l[l.length] = c.charAt(p);
@@ -2824,7 +2824,7 @@ function() {
2824
2824
  isRegExp: _l,
2825
2825
  maybeMap: Nl,
2826
2826
  merge: Al
2827
- }, to = wl, Ze = eo, Pe = nr, Fl = Object.prototype.hasOwnProperty, ro = {
2827
+ }, to = wl, Ge = eo, Pe = nr, Fl = Object.prototype.hasOwnProperty, ro = {
2828
2828
  brackets: function(e) {
2829
2829
  return e + "[]";
2830
2830
  },
@@ -2848,7 +2848,7 @@ function() {
2848
2848
  delimiter: "&",
2849
2849
  encode: !0,
2850
2850
  encodeDotInKeys: !1,
2851
- encoder: Ze.encode,
2851
+ encoder: Ge.encode,
2852
2852
  encodeValuesOnly: !1,
2853
2853
  filter: void 0,
2854
2854
  format: Qr,
@@ -2862,24 +2862,24 @@ function() {
2862
2862
  strictNullHandling: !1
2863
2863
  }, Ul = function(e) {
2864
2864
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2865
- }, Nt = {}, Ll = function t(e, r, n, o, i, a, s, u, c, l, p, y, v, d, m, h, S, O) {
2866
- for (var g = e, E = O, T = 0, U = !1; (E = E.get(Nt)) !== void 0 && !U; ) {
2865
+ }, Ft = {}, Ll = function t(e, r, n, o, i, a, s, u, c, l, p, y, v, d, m, h, S, O) {
2866
+ for (var g = e, E = O, T = 0, U = !1; (E = E.get(Ft)) !== void 0 && !U; ) {
2867
2867
  var P = E.get(e);
2868
2868
  if (T += 1, typeof P < "u") {
2869
2869
  if (P === T)
2870
2870
  throw new RangeError("Cyclic object value");
2871
2871
  U = !0;
2872
2872
  }
2873
- typeof E.get(Nt) > "u" && (T = 0);
2873
+ typeof E.get(Ft) > "u" && (T = 0);
2874
2874
  }
2875
- if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && W(g) && (g = Ze.maybeMap(g, function(be) {
2875
+ if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && W(g) && (g = Ge.maybeMap(g, function(be) {
2876
2876
  return be instanceof Date ? v(be) : be;
2877
2877
  })), g === null) {
2878
2878
  if (a)
2879
2879
  return c && !h ? c(r, x.encoder, S, "key", d) : r;
2880
2880
  g = "";
2881
2881
  }
2882
- if (Ul(g) || Ze.isBuffer(g)) {
2882
+ if (Ul(g) || Ge.isBuffer(g)) {
2883
2883
  if (c) {
2884
2884
  var V = h ? r : c(r, x.encoder, S, "key", d);
2885
2885
  return [m(V) + "=" + m(c(g, x.encoder, S, "value", d))];
@@ -2891,7 +2891,7 @@ function() {
2891
2891
  return L;
2892
2892
  var M;
2893
2893
  if (n === "comma" && W(g))
2894
- h && c && (g = Ze.maybeMap(g, c)), M = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
2894
+ h && c && (g = Ge.maybeMap(g, c)), M = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
2895
2895
  else if (W(l))
2896
2896
  M = l;
2897
2897
  else {
@@ -2907,7 +2907,7 @@ function() {
2907
2907
  var se = y && u ? String(B).replace(/\./g, "%2E") : String(B), j = W(g) ? typeof n == "function" ? n(C, se) : C : C + (y ? "." + se : "[" + se + "]");
2908
2908
  O.set(e, T);
2909
2909
  var Se = to();
2910
- Se.set(Nt, O), no(L, t(
2910
+ Se.set(Ft, O), no(L, t(
2911
2911
  N,
2912
2912
  j,
2913
2913
  n,
@@ -3008,7 +3008,7 @@ function() {
3008
3008
  }
3009
3009
  var v = a.join(n.delimiter), d = n.addQueryPrefix === !0 ? "?" : "";
3010
3010
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? d += "utf8=%26%2310003%3B&" : d += "utf8=%E2%9C%93&"), v.length > 0 ? d + v : "";
3011
- }, ie = eo, Ht = Object.prototype.hasOwnProperty, Xr = Array.isArray, A = {
3011
+ }, ie = eo, zt = Object.prototype.hasOwnProperty, Xr = Array.isArray, A = {
3012
3012
  allowDots: !1,
3013
3013
  allowEmptyArrays: !1,
3014
3014
  allowPrototypes: !1,
@@ -3066,7 +3066,7 @@ function() {
3066
3066
  return r.decoder(h, A.decoder, c, "value");
3067
3067
  }
3068
3068
  )), d && r.interpretNumericEntities && c === "iso-8859-1" && (d = kl(String(d))), l.indexOf("[]=") > -1 && (d = Xr(d) ? [d] : d);
3069
- var m = Ht.call(n, v);
3069
+ var m = zt.call(n, v);
3070
3070
  m && r.duplicates === "combine" ? n[v] = ie.combine(n[v], d) : (!m || r.duplicates === "last") && (n[v] = d);
3071
3071
  }
3072
3072
  return n;
@@ -3092,12 +3092,12 @@ function() {
3092
3092
  if (e) {
3093
3093
  var i = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, a = /(\[[^[\]]*])/, s = /(\[[^[\]]*])/g, u = n.depth > 0 && a.exec(i), c = u ? i.slice(0, u.index) : i, l = [];
3094
3094
  if (c) {
3095
- if (!n.plainObjects && Ht.call(Object.prototype, c) && !n.allowPrototypes)
3095
+ if (!n.plainObjects && zt.call(Object.prototype, c) && !n.allowPrototypes)
3096
3096
  return;
3097
3097
  l.push(c);
3098
3098
  }
3099
3099
  for (var p = 0; n.depth > 0 && (u = s.exec(i)) !== null && p < n.depth; ) {
3100
- if (p += 1, !n.plainObjects && Ht.call(Object.prototype, u[1].slice(1, -1)) && !n.allowPrototypes)
3100
+ if (p += 1, !n.plainObjects && zt.call(Object.prototype, u[1].slice(1, -1)) && !n.allowPrototypes)
3101
3101
  return;
3102
3102
  l.push(u[1]);
3103
3103
  }
@@ -3165,7 +3165,7 @@ function() {
3165
3165
  };
3166
3166
  const Xl = /* @__PURE__ */ oa(Ql);
3167
3167
  /*! js-cookie v3.0.5 | MIT */
3168
- function ke(t) {
3168
+ function qe(t) {
3169
3169
  for (var e = 1; e < arguments.length; e++) {
3170
3170
  var r = arguments[e];
3171
3171
  for (var n in r)
@@ -3184,10 +3184,10 @@ var Yl = {
3184
3184
  );
3185
3185
  }
3186
3186
  };
3187
- function zt(t, e) {
3187
+ function Wt(t, e) {
3188
3188
  function r(o, i, a) {
3189
3189
  if (!(typeof document > "u")) {
3190
- a = ke({}, 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);
3190
+ a = qe({}, 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);
3191
3191
  var s = "";
3192
3192
  for (var u in a)
3193
3193
  a[u] && (s += "; " + u, a[u] !== !0 && (s += "=" + a[u].split(";")[0]));
@@ -3216,16 +3216,16 @@ function zt(t, e) {
3216
3216
  r(
3217
3217
  o,
3218
3218
  "",
3219
- ke({}, i, {
3219
+ qe({}, i, {
3220
3220
  expires: -1
3221
3221
  })
3222
3222
  );
3223
3223
  },
3224
3224
  withAttributes: function(o) {
3225
- return zt(this.converter, ke({}, this.attributes, o));
3225
+ return Wt(this.converter, qe({}, this.attributes, o));
3226
3226
  },
3227
3227
  withConverter: function(o) {
3228
- return zt(ke({}, this.converter, o), this.attributes);
3228
+ return Wt(qe({}, this.converter, o), this.attributes);
3229
3229
  }
3230
3230
  },
3231
3231
  {
@@ -3234,12 +3234,12 @@ function zt(t, e) {
3234
3234
  }
3235
3235
  );
3236
3236
  }
3237
- var Yr = zt(Yl, { path: "/" });
3237
+ var Yr = Wt(Yl, { path: "/" });
3238
3238
  de.extend(Oo);
3239
3239
  de.extend(Ao);
3240
3240
  const io = "UTC", or = "timeZone", ao = "timezonechange", ec = "__UPF_TIMEZONE_CHANGE__", en = /* @__PURE__ */ new Set();
3241
3241
  var sn, ln;
3242
- const tc = (ln = (sn = de.tz) == null ? void 0 : sn.guess) == null ? void 0 : ln.bind(de.tz), J = (t) => (t || "").trim(), st = () => typeof window > "u" ? void 0 : window, so = () => {
3242
+ const tc = (ln = (sn = de.tz) == null ? void 0 : sn.guess) == null ? void 0 : ln.bind(de.tz), J = (t) => (t || "").trim(), lt = () => typeof window > "u" ? void 0 : window, so = () => {
3243
3243
  try {
3244
3244
  return typeof sessionStorage > "u" ? "" : J(sessionStorage.getItem(or));
3245
3245
  } catch {
@@ -3252,7 +3252,7 @@ const tc = (ln = (sn = de.tz) == null ? void 0 : sn.guess) == null ? void 0 : ln
3252
3252
  }
3253
3253
  }, lo = () => {
3254
3254
  var e;
3255
- const t = st();
3255
+ const t = lt();
3256
3256
  if (!(t != null && t.name)) return "";
3257
3257
  try {
3258
3258
  const r = (e = JSON.parse(t.name || "{}")) == null ? void 0 : e.parentData;
@@ -3264,7 +3264,7 @@ const tc = (ln = (sn = de.tz) == null ? void 0 : sn.guess) == null ? void 0 : ln
3264
3264
  timeZone: J(t),
3265
3265
  source: e,
3266
3266
  timestamp: Date.now()
3267
- }), Wt = Eo(so() || lo()), nc = /* @__PURE__ */ new Set();
3267
+ }), Zt = Eo(so() || lo()), nc = /* @__PURE__ */ new Set();
3268
3268
  let tn = !1;
3269
3269
  const oc = () => {
3270
3270
  if (!(typeof Intl > "u" || typeof Intl.DateTimeFormat != "function"))
@@ -3306,14 +3306,14 @@ const oc = () => {
3306
3306
  }, cc = (t) => {
3307
3307
  var e;
3308
3308
  try {
3309
- (e = st()) == null || e.dispatchEvent(new CustomEvent(ao, { detail: t }));
3309
+ (e = lt()) == null || e.dispatchEvent(new CustomEvent(ao, { detail: t }));
3310
3310
  } catch {
3311
3311
  }
3312
3312
  }, uc = (t, e = {}) => {
3313
- const r = J(t), n = co(r, e.source), o = Wt.value !== r;
3314
- o && (Wt.value = r);
3313
+ const r = J(t), n = co(r, e.source), o = Zt.value !== r;
3314
+ o && (Zt.value = r);
3315
3315
  try {
3316
- const i = st();
3316
+ const i = lt();
3317
3317
  i && (i.__UPF_TIMEZONE_SNAPSHOT__ = n);
3318
3318
  } catch {
3319
3319
  }
@@ -3342,24 +3342,44 @@ const oc = () => {
3342
3342
  const e = t.data;
3343
3343
  !e || e.type !== ec || ir(e.detail || e, "message");
3344
3344
  }, hc = () => {
3345
- const t = st();
3345
+ const t = lt();
3346
3346
  return !t || tn ? !1 : (tn = !0, t.addEventListener(ao, pc), t.addEventListener("storage", dc), t.addEventListener("message", yc), !0);
3347
3347
  };
3348
3348
  hc();
3349
3349
  const mc = () => {
3350
- const e = J(Wt.value) || so() || lo() || ac() || oc();
3350
+ const e = J(Zt.value) || so() || lo() || ac() || oc();
3351
3351
  return uo(e) ? J(e) : io;
3352
3352
  }, ar = un(), fo = ar.sso ?? !0, rn = ar.i18n ?? !0, po = ar.noRedireLogin ?? !1;
3353
3353
  let nn = "", on = 0;
3354
- const gc = 1e3, vc = ["/instance", "/instance/list", "/instance/getlast", "/instancelog"], Zt = (t) => {
3354
+ const gc = 1e3, vc = [
3355
+ "/api/iot/",
3356
+ "/api/iot-device/",
3357
+ "/api/device-relation/",
3358
+ "/api/oss/minio/",
3359
+ "/api/progress/accessor/",
3360
+ "/api/dms/analysis/"
3361
+ ], wc = ["/instance", "/instance/list", "/instance/getlast", "/instancelog"], xe = (t) => {
3355
3362
  const e = String(t || "").trim().toLowerCase().split("?")[0].split("#")[0];
3356
3363
  return e ? e.startsWith("/") ? e : `/${e}` : "";
3357
- }, wc = (t) => {
3358
- const e = new URL(t), r = Zt(e.pathname), n = Zt(e.hash.replace(/^#/, ""));
3364
+ }, Sc = (t, e = "") => {
3365
+ const r = String(t || "").trim(), n = String(e || "").trim(), o = (s) => {
3366
+ if (!s) return "";
3367
+ try {
3368
+ if (/^https?:\/\//i.test(s)) return xe(new URL(s).pathname);
3369
+ } catch {
3370
+ }
3371
+ return xe(s);
3372
+ }, i = o(r);
3373
+ if (!i) return o(n);
3374
+ if (i.startsWith("/api/")) return i;
3375
+ const a = o(n);
3376
+ return a ? xe(`${a}/${i}`.replace(/\/+/g, "/")) : i;
3377
+ }, bc = (t) => {
3378
+ const e = new URL(t), r = xe(e.pathname), n = xe(e.hash.replace(/^#/, ""));
3359
3379
  return r.startsWith("/iot/iot") || n.startsWith("/iot/iot") || e.searchParams.get("app") === "iot";
3360
- }, Sc = (t) => {
3361
- const e = Zt(t);
3362
- return e ? !vc.some((r) => e.endsWith(r)) : !0;
3380
+ }, Ec = (t, e = "") => {
3381
+ const r = Sc(t, e);
3382
+ return !r || !vc.some((o) => r.startsWith(o)) ? !1 : !wc.some((o) => r.endsWith(o));
3363
3383
  }, an = async (t, e, r = []) => {
3364
3384
  const n = Date.now(), o = 1200, i = 60;
3365
3385
  for (; Date.now() - n < o; ) {
@@ -3369,20 +3389,20 @@ const gc = 1e3, vc = ["/instance", "/instance/list", "/instance/getlast", "/inst
3369
3389
  }
3370
3390
  return t(e, ...r);
3371
3391
  };
3372
- let Ft = !1;
3373
- const bc = 5e3, yo = () => Ft ? !1 : (Ft = !0, setTimeout(() => {
3374
- Ft = !1;
3375
- }, bc), !0), ho = () => {
3392
+ let Dt = !1;
3393
+ const Oc = 5e3, yo = () => Dt ? !1 : (Dt = !0, setTimeout(() => {
3394
+ Dt = !1;
3395
+ }, Oc), !0), ho = () => {
3376
3396
  if (po) return;
3377
3397
  const t = "/login";
3378
3398
  if (location.pathname === t) return;
3379
3399
  window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1;
3380
3400
  const e = window.top;
3381
3401
  e != null && e.vueRouter ? e.vueRouter.replace(t) : window.location.replace(`/#${t}`);
3382
- }, Ec = () => go("code") || "" || po ? !1 : yo() ? (fo ? vo({ ...wo, redirect_uri: So }) : ho(), !0) : !1, Oc = async (t) => {
3402
+ }, Ac = () => go("code") || "" || po ? !1 : yo() ? (fo ? vo({ ...wo, redirect_uri: So }) : ho(), !0) : !1, Rc = async (t) => {
3383
3403
  var r;
3384
3404
  return ((r = t.config) == null ? void 0 : r.responseType) === "blob" ? t : t.data ?? t;
3385
- }, Ac = async (t, e) => {
3405
+ }, Tc = async (t, e) => {
3386
3406
  var d, m, h, S;
3387
3407
  const { t: r } = cn();
3388
3408
  let n, o, i = {};
@@ -3390,7 +3410,7 @@ const bc = 5e3, yo = () => Ft ? !1 : (Ft = !0, setTimeout(() => {
3390
3410
  let s = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || {};
3391
3411
  const u = s == null ? void 0 : s.code, c = (m = t.response) == null ? void 0 : m.status;
3392
3412
  if (u === 401 || c === 401) {
3393
- Ec(), n = u || c, i = s;
3413
+ Ac(), n = u || c, i = s;
3394
3414
  const O = (e == null ? void 0 : e.i18n) ?? !0;
3395
3415
  if (rn && O && (s != null && s.status)) {
3396
3416
  const g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r(s.status, ...g);
@@ -3423,7 +3443,7 @@ const bc = 5e3, yo = () => Ft ? !1 : (Ft = !0, setTimeout(() => {
3423
3443
  const p = Date.now(), y = o === nn, v = p - on < gc;
3424
3444
  return !(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((S = (h = window.DasMessage) == null ? void 0 : h.error) == null || S.call(h, { message: o, showClose: !0 }), nn = o, on = p), { ...i, code: n, msg: o, error: t };
3425
3445
  };
3426
- function Lc(t, e) {
3446
+ function Mc(t, e) {
3427
3447
  const r = R.create();
3428
3448
  return mo(r, async (n) => {
3429
3449
  const { currentLang: o } = cn(), i = un();
@@ -3444,14 +3464,14 @@ function Lc(t, e) {
3444
3464
  }
3445
3465
  p && !n.headers.Authorization && (n.headers.Authorization = `Bearer ${p}`);
3446
3466
  }
3447
- n.baseURL || (n.baseURL = i.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Xl.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = Oc), n.onError || (n.onError = Ac), (n.csrf ?? !1) && (n.headers["csrf-token"] = Yr.get("csrf-token"));
3467
+ n.baseURL || (n.baseURL = i.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Xl.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = Rc), n.onError || (n.onError = Tc), (n.csrf ?? !1) && (n.headers["csrf-token"] = Yr.get("csrf-token"));
3448
3468
  const u = n.params || {};
3449
3469
  if (u.project === void 0) {
3450
3470
  let p = 0;
3451
3471
  const y = new URL(location.href).searchParams;
3452
3472
  p = y.get("project") || y.get("projectId") || 0, p || (p = Ro().id ?? 0), (p || p === 0) && (u.project = p);
3453
3473
  }
3454
- if (wc(location.href) && Sc(String(n.url || ""))) {
3474
+ if (bc(location.href) && Ec(String(n.url || ""), String(n.urlPrefix || ""))) {
3455
3475
  const { instanceInfo: p } = To();
3456
3476
  p != null && p.instanceId && (u.instance = p.instanceId);
3457
3477
  }
@@ -3461,6 +3481,6 @@ function Lc(t, e) {
3461
3481
  });
3462
3482
  }
3463
3483
  export {
3464
- Lc as createService,
3465
- Ec as handleUnauthorized
3484
+ Mc as createService,
3485
+ Ac as handleUnauthorized
3466
3486
  };