@das-fed/utils 6.4.0-dev.53 → 6.4.0-dev.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/api-services/index.js +59 -46
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +156 -143
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +200 -187
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +156 -143
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +200 -187
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +156 -143
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +200 -187
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js +59 -46
  16. package/api-services/modules/file/index.js.gz +0 -0
  17. package/api-services/modules/gateway-edge/index.js +200 -187
  18. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  19. package/api-services/modules/index.js +59 -46
  20. package/api-services/modules/index.js.gz +0 -0
  21. package/api-services/modules/iot/index.js +156 -143
  22. package/api-services/modules/iot/index.js.gz +0 -0
  23. package/api-services/modules/justauth/index.js +199 -186
  24. package/api-services/modules/justauth/index.js.gz +0 -0
  25. package/api-services/modules/knowledge/index.js +156 -143
  26. package/api-services/modules/knowledge/index.js.gz +0 -0
  27. package/api-services/modules/link/index.js +156 -143
  28. package/api-services/modules/link/index.js.gz +0 -0
  29. package/api-services/modules/permission/index.js +200 -187
  30. package/api-services/modules/permission/index.js.gz +0 -0
  31. package/api-services/modules/platformManage/index.js +161 -148
  32. package/api-services/modules/platformManage/index.js.gz +0 -0
  33. package/api-services/modules/portal/index.js +200 -187
  34. package/api-services/modules/portal/index.js.gz +0 -0
  35. package/api-services/modules/space-manage/index.js +156 -143
  36. package/api-services/modules/space-manage/index.js.gz +0 -0
  37. package/api-services/modules/super-admin/index.js +199 -186
  38. package/api-services/modules/super-admin/index.js.gz +0 -0
  39. package/api-services/modules/supplier/index.js +156 -143
  40. package/api-services/modules/supplier/index.js.gz +0 -0
  41. package/api-services/modules/supplychain-manage/index.js +156 -143
  42. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  43. package/api-services/modules/systemConfiguration/index.js +200 -187
  44. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  45. package/api-services/modules/tool/index.js +200 -187
  46. package/api-services/modules/tool/index.js.gz +0 -0
  47. package/api-services/src/create-service/index.js +200 -187
  48. package/api-services/src/create-service/index.js.gz +0 -0
  49. package/create-api-service/index.js +200 -187
  50. package/create-api-service/index.js.gz +0 -0
  51. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { setI18nRule as Sn, t as re } from "@das-fed/web/packages/i18n/index";
1
+ import { setI18nRule as Sn, t as W } from "@das-fed/web/packages/i18n/index";
2
2
  import { curringHttp as En } from "@das-fed/utils/curring-http";
3
3
  import { getToken as An, getQuery as On, login as Rn, getTokenParams as Pn, real_uri as Tn } from "@das-fed/utils/create-api-service/sso";
4
4
  import Ot from "dayjs";
@@ -57,7 +57,7 @@ function xr(t, e) {
57
57
  return o;
58
58
  return null;
59
59
  }
60
- const Q = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Fr = (t) => !we(t) && t !== Q;
60
+ const X = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Fr = (t) => !we(t) && t !== X;
61
61
  function ct() {
62
62
  const { caseless: t } = Fr(this) && this || {}, e = {}, n = (r, o) => {
63
63
  const a = t && xr(e, o) || o;
@@ -174,14 +174,14 @@ const ho = (t) => {
174
174
  return r;
175
175
  };
176
176
  return n(t, 0);
177
- }, mo = B("AsyncFunction"), go = (t) => t && (je(t) || _(t)) && _(t.then) && _(t.catch), Dr = ((t, e) => t ? setImmediate : e ? ((n, r) => (Q.addEventListener("message", ({ source: o, data: a }) => {
178
- o === Q && a === n && r.length && r.shift()();
177
+ }, mo = B("AsyncFunction"), go = (t) => t && (je(t) || _(t)) && _(t.then) && _(t.catch), Dr = ((t, e) => t ? setImmediate : e ? ((n, r) => (X.addEventListener("message", ({ source: o, data: a }) => {
178
+ o === X && a === n && r.length && r.shift()();
179
179
  }, !1), (o) => {
180
- r.push(o), Q.postMessage(n, "*");
180
+ r.push(o), X.postMessage(n, "*");
181
181
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
182
182
  typeof setImmediate == "function",
183
- _(Q.postMessage)
184
- ), vo = typeof queueMicrotask < "u" ? queueMicrotask.bind(Q) : typeof process < "u" && process.nextTick || Dr, f = {
183
+ _(X.postMessage)
184
+ ), vo = typeof queueMicrotask < "u" ? queueMicrotask.bind(X) : typeof process < "u" && process.nextTick || Dr, f = {
185
185
  isArray: ue,
186
186
  isArrayBuffer: Pr,
187
187
  isBuffer: _n,
@@ -230,7 +230,7 @@ const ho = (t) => {
230
230
  noop: uo,
231
231
  toFiniteNumber: fo,
232
232
  findKey: xr,
233
- global: Q,
233
+ global: X,
234
234
  isContextDefined: Fr,
235
235
  ALPHABET: Nr,
236
236
  generateString: po,
@@ -336,11 +336,11 @@ function ze(t, e, n) {
336
336
  if (f.endsWith(m, "{}"))
337
337
  m = r ? m : m.slice(0, -2), y = JSON.stringify(y);
338
338
  else if (f.isArray(y) && wo(y) || (f.isFileList(y) || f.endsWith(m, "[]")) && (S = f.toArray(y)))
339
- return m = $r(m), S.forEach(function(g, T) {
340
- !(f.isUndefined(g) || g === null) && e.append(
339
+ return m = $r(m), S.forEach(function(v, T) {
340
+ !(f.isUndefined(v) || v === null) && e.append(
341
341
  // eslint-disable-next-line no-nested-ternary
342
342
  i === !0 ? jt([m], T, a) : i === null ? m : m + "[]",
343
- l(g)
343
+ l(v)
344
344
  );
345
345
  }), !1;
346
346
  }
@@ -351,7 +351,7 @@ function ze(t, e, n) {
351
351
  convertValue: l,
352
352
  isVisitable: ut
353
353
  });
354
- function v(y, m) {
354
+ function g(y, m) {
355
355
  if (!f.isUndefined(y)) {
356
356
  if (p.indexOf(y) !== -1)
357
357
  throw Error("Circular reference detected in " + m.join("."));
@@ -362,13 +362,13 @@ function ze(t, e, n) {
362
362
  f.isString(E) ? E.trim() : E,
363
363
  m,
364
364
  d
365
- )) === !0 && v(S, m ? m.concat(E) : [E]);
365
+ )) === !0 && g(S, m ? m.concat(E) : [E]);
366
366
  }), p.pop();
367
367
  }
368
368
  }
369
369
  if (!f.isObject(t))
370
370
  throw new TypeError("data must be an object");
371
- return v(t), e;
371
+ return g(t), e;
372
372
  }
373
373
  function zt(t) {
374
374
  const e = {
@@ -839,8 +839,8 @@ function jo(t, e) {
839
839
  d += n[p++], p = p % t;
840
840
  if (o = (o + 1) % t, o === a && (a = (a + 1) % t), l - i < e)
841
841
  return;
842
- const v = c && l - c;
843
- return v ? Math.round(d * 1e3 / v) : void 0;
842
+ const g = c && l - c;
843
+ return g ? Math.round(d * 1e3 / g) : void 0;
844
844
  };
845
845
  }
846
846
  function zo(t, e) {
@@ -949,7 +949,7 @@ function jr(t, e) {
949
949
  return t && !Go(e) ? Jo(t, e) : e;
950
950
  }
951
951
  const Kt = (t) => t instanceof I ? { ...t } : t;
952
- function ee(t, e) {
952
+ function te(t, e) {
953
953
  e = e || {};
954
954
  const n = {};
955
955
  function r(l, c, p) {
@@ -1014,7 +1014,7 @@ function ee(t, e) {
1014
1014
  }), n;
1015
1015
  }
1016
1016
  const zr = (t) => {
1017
- const e = ee({}, t);
1017
+ const e = te({}, t);
1018
1018
  let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: a, headers: i, auth: s } = e;
1019
1019
  e.headers = i = I.from(i), e.url = Ur(jr(e.baseURL, e.url), t.params, t.paramsSerializer), s && i.set(
1020
1020
  "Authorization",
@@ -1039,22 +1039,22 @@ const zr = (t) => {
1039
1039
  const o = zr(t);
1040
1040
  let a = o.data;
1041
1041
  const i = I.from(o.headers).normalize();
1042
- let { responseType: s, onUploadProgress: u, onDownloadProgress: l } = o, c, p, d, v, y;
1042
+ let { responseType: s, onUploadProgress: u, onDownloadProgress: l } = o, c, p, d, g, y;
1043
1043
  function m() {
1044
- v && v(), y && y(), o.cancelToken && o.cancelToken.unsubscribe(c), o.signal && o.signal.removeEventListener("abort", c);
1044
+ g && g(), y && y(), o.cancelToken && o.cancelToken.unsubscribe(c), o.signal && o.signal.removeEventListener("abort", c);
1045
1045
  }
1046
1046
  let h = new XMLHttpRequest();
1047
1047
  h.open(o.method.toUpperCase(), o.url, !0), h.timeout = o.timeout;
1048
1048
  function S() {
1049
1049
  if (!h)
1050
1050
  return;
1051
- const g = I.from(
1051
+ const v = I.from(
1052
1052
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1053
1053
  ), A = {
1054
1054
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1055
1055
  status: h.status,
1056
1056
  statusText: h.statusText,
1057
- headers: g,
1057
+ headers: v,
1058
1058
  config: t,
1059
1059
  request: h
1060
1060
  };
@@ -1081,8 +1081,8 @@ const zr = (t) => {
1081
1081
  )), h = null;
1082
1082
  }, a === void 0 && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function(T, A) {
1083
1083
  h.setRequestHeader(A, T);
1084
- }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), l && ([d, y] = _e(l, !0), h.addEventListener("progress", d)), u && h.upload && ([p, v] = _e(u), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (c = (g) => {
1085
- h && (r(!g || g.type ? new fe(null, t, h) : g), h.abort(), h = null);
1084
+ }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), l && ([d, y] = _e(l, !0), h.addEventListener("progress", d)), u && h.upload && ([p, g] = _e(u), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", g)), (o.cancelToken || o.signal) && (c = (v) => {
1085
+ h && (r(!v || v.type ? new fe(null, t, h) : v), h.abort(), h = null);
1086
1086
  }, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
1087
1087
  const E = qo(o.url);
1088
1088
  if (E && D.protocols.indexOf(E) === -1) {
@@ -1230,9 +1230,9 @@ const ra = async (t) => {
1230
1230
  fetchOptions: d
1231
1231
  } = zr(t);
1232
1232
  l = l ? (l + "").toLowerCase() : "text";
1233
- let v = Qo([o, a && a.toAbortSignal()], i), y;
1234
- const m = v && v.unsubscribe && (() => {
1235
- v.unsubscribe();
1233
+ let g = Qo([o, a && a.toAbortSignal()], i), y;
1234
+ const m = g && g.unsubscribe && (() => {
1235
+ g.unsubscribe();
1236
1236
  });
1237
1237
  let h;
1238
1238
  try {
@@ -1254,7 +1254,7 @@ const ra = async (t) => {
1254
1254
  const S = "credentials" in Request.prototype;
1255
1255
  y = new Request(e, {
1256
1256
  ...d,
1257
- signal: v,
1257
+ signal: g,
1258
1258
  method: n.toUpperCase(),
1259
1259
  headers: c.normalize().toJSON(),
1260
1260
  body: r,
@@ -1262,8 +1262,8 @@ const ra = async (t) => {
1262
1262
  credentials: S ? p : void 0
1263
1263
  });
1264
1264
  let E = await fetch(y);
1265
- const g = pt && (l === "stream" || l === "response");
1266
- if (pt && (s || g && m)) {
1265
+ const v = pt && (l === "stream" || l === "response");
1266
+ if (pt && (s || v && m)) {
1267
1267
  const A = {};
1268
1268
  ["status", "statusText", "headers"].forEach((U) => {
1269
1269
  A[U] = E[U];
@@ -1281,7 +1281,7 @@ const ra = async (t) => {
1281
1281
  }
1282
1282
  l = l || "text";
1283
1283
  let T = await $e[f.findKey($e, l) || "text"](E, t);
1284
- return !g && m && m(), await new Promise((A, C) => {
1284
+ return !v && m && m(), await new Promise((A, C) => {
1285
1285
  qr(A, C, {
1286
1286
  data: T,
1287
1287
  headers: I.from(E.headers),
@@ -1406,8 +1406,8 @@ function ia(t, e, n) {
1406
1406
  const yt = {
1407
1407
  assertOptions: ia,
1408
1408
  validators: xt
1409
- }, W = yt.validators;
1410
- class X {
1409
+ }, G = yt.validators;
1410
+ class Z {
1411
1411
  constructor(e) {
1412
1412
  this.defaults = e, this.interceptors = {
1413
1413
  request: new Ht(),
@@ -1440,17 +1440,17 @@ class X {
1440
1440
  }
1441
1441
  }
1442
1442
  _request(e, n) {
1443
- typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = ee(this.defaults, n);
1443
+ typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = te(this.defaults, n);
1444
1444
  const { transitional: r, paramsSerializer: o, headers: a } = n;
1445
1445
  r !== void 0 && yt.assertOptions(r, {
1446
- silentJSONParsing: W.transitional(W.boolean),
1447
- forcedJSONParsing: W.transitional(W.boolean),
1448
- clarifyTimeoutError: W.transitional(W.boolean)
1446
+ silentJSONParsing: G.transitional(G.boolean),
1447
+ forcedJSONParsing: G.transitional(G.boolean),
1448
+ clarifyTimeoutError: G.transitional(G.boolean)
1449
1449
  }, !1), o != null && (f.isFunction(o) ? n.paramsSerializer = {
1450
1450
  serialize: o
1451
1451
  } : yt.assertOptions(o, {
1452
- encode: W.function,
1453
- serialize: W.function
1452
+ encode: G.function,
1453
+ serialize: G.function
1454
1454
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1455
1455
  let i = a && f.merge(
1456
1456
  a.common,
@@ -1479,18 +1479,18 @@ class X {
1479
1479
  return c;
1480
1480
  }
1481
1481
  d = s.length;
1482
- let v = n;
1482
+ let g = n;
1483
1483
  for (p = 0; p < d; ) {
1484
1484
  const y = s[p++], m = s[p++];
1485
1485
  try {
1486
- v = y(v);
1486
+ g = y(g);
1487
1487
  } catch (h) {
1488
1488
  m.call(this, h);
1489
1489
  break;
1490
1490
  }
1491
1491
  }
1492
1492
  try {
1493
- c = Zt.call(this, v);
1493
+ c = Zt.call(this, g);
1494
1494
  } catch (y) {
1495
1495
  return Promise.reject(y);
1496
1496
  }
@@ -1499,14 +1499,14 @@ class X {
1499
1499
  return c;
1500
1500
  }
1501
1501
  getUri(e) {
1502
- e = ee(this.defaults, e);
1502
+ e = te(this.defaults, e);
1503
1503
  const n = jr(e.baseURL, e.url);
1504
1504
  return Ur(n, e.params, e.paramsSerializer);
1505
1505
  }
1506
1506
  }
1507
1507
  f.forEach(["delete", "get", "head", "options"], function(e) {
1508
- X.prototype[e] = function(n, r) {
1509
- return this.request(ee(r || {}, {
1508
+ Z.prototype[e] = function(n, r) {
1509
+ return this.request(te(r || {}, {
1510
1510
  method: e,
1511
1511
  url: n,
1512
1512
  data: (r || {}).data
@@ -1516,7 +1516,7 @@ f.forEach(["delete", "get", "head", "options"], function(e) {
1516
1516
  f.forEach(["post", "put", "patch"], function(e) {
1517
1517
  function n(r) {
1518
1518
  return function(a, i, s) {
1519
- return this.request(ee(s || {}, {
1519
+ return this.request(te(s || {}, {
1520
1520
  method: e,
1521
1521
  headers: r ? {
1522
1522
  "Content-Type": "multipart/form-data"
@@ -1526,7 +1526,7 @@ f.forEach(["post", "put", "patch"], function(e) {
1526
1526
  }));
1527
1527
  };
1528
1528
  }
1529
- X.prototype[e] = n(), X.prototype[e + "Form"] = n(!0);
1529
+ Z.prototype[e] = n(), Z.prototype[e + "Form"] = n(!0);
1530
1530
  });
1531
1531
  class Ft {
1532
1532
  constructor(e) {
@@ -1678,13 +1678,13 @@ Object.entries(ht).forEach(([t, e]) => {
1678
1678
  ht[e] = t;
1679
1679
  });
1680
1680
  function Kr(t) {
1681
- const e = new X(t), n = Rr(X.prototype.request, e);
1682
- return f.extend(n, X.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
1683
- return Kr(ee(t, o));
1681
+ const e = new Z(t), n = Rr(Z.prototype.request, e);
1682
+ return f.extend(n, Z.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
1683
+ return Kr(te(t, o));
1684
1684
  }, n;
1685
1685
  }
1686
1686
  const R = Kr(Ee);
1687
- R.Axios = X;
1687
+ R.Axios = Z;
1688
1688
  R.CanceledError = fe;
1689
1689
  R.CancelToken = Ft;
1690
1690
  R.isCancel = kr;
@@ -1697,7 +1697,7 @@ R.all = function(e) {
1697
1697
  };
1698
1698
  R.spread = sa;
1699
1699
  R.isAxiosError = la;
1700
- R.mergeConfig = ee;
1700
+ R.mergeConfig = te;
1701
1701
  R.AxiosHeaders = I;
1702
1702
  R.formToJSON = (t) => Mr(f.isHTMLForm(t) ? new FormData(t) : t);
1703
1703
  R.getAdapter = Gr.getAdapter;
@@ -1799,28 +1799,28 @@ var fa = Error, pa = EvalError, da = RangeError, ya = ReferenceError, Vr = Synta
1799
1799
  return Qr('"use strict"; return (' + t + ").constructor;")();
1800
1800
  } catch {
1801
1801
  }
1802
- }, Z = Object.getOwnPropertyDescriptor;
1803
- if (Z)
1802
+ }, Y = Object.getOwnPropertyDescriptor;
1803
+ if (Y)
1804
1804
  try {
1805
- Z({}, "");
1805
+ Y({}, "");
1806
1806
  } catch {
1807
- Z = null;
1807
+ Y = null;
1808
1808
  }
1809
1809
  var Ye = function() {
1810
1810
  throw new ie();
1811
- }, La = Z ? function() {
1811
+ }, La = Y ? function() {
1812
1812
  try {
1813
1813
  return arguments.callee, Ye;
1814
1814
  } catch {
1815
1815
  try {
1816
- return Z(arguments, "callee").get;
1816
+ return Y(arguments, "callee").get;
1817
1817
  } catch {
1818
1818
  return Ye;
1819
1819
  }
1820
1820
  }
1821
1821
  }() : Ye, ne = va(), Ma = wa(), x = Object.getPrototypeOf || (Ma ? function(t) {
1822
1822
  return t.__proto__;
1823
- } : null), ae = {}, ka = typeof Uint8Array > "u" || !x ? w : x(Uint8Array), Y = {
1823
+ } : null), ae = {}, ka = typeof Uint8Array > "u" || !x ? w : x(Uint8Array), ee = {
1824
1824
  __proto__: null,
1825
1825
  "%AggregateError%": typeof AggregateError > "u" ? w : AggregateError,
1826
1826
  "%Array%": Array,
@@ -1895,7 +1895,7 @@ if (x)
1895
1895
  null.error;
1896
1896
  } catch (t) {
1897
1897
  var qa = x(x(t));
1898
- Y["%Error.prototype%"] = qa;
1898
+ ee["%Error.prototype%"] = qa;
1899
1899
  }
1900
1900
  var ja = function t(e) {
1901
1901
  var n;
@@ -1912,7 +1912,7 @@ var ja = function t(e) {
1912
1912
  var o = t("%AsyncGenerator%");
1913
1913
  o && x && (n = x(o.prototype));
1914
1914
  }
1915
- return Y[e] = n, n;
1915
+ return ee[e] = n, n;
1916
1916
  }, nr = {
1917
1917
  __proto__: null,
1918
1918
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
@@ -1978,8 +1978,8 @@ var ja = function t(e) {
1978
1978
  }), o;
1979
1979
  }, Va = function(e, n) {
1980
1980
  var r = e, o;
1981
- if (Be(nr, r) && (o = nr[r], r = "%" + o[0] + "%"), Be(Y, r)) {
1982
- var a = Y[r];
1981
+ if (Be(nr, r) && (o = nr[r], r = "%" + o[0] + "%"), Be(ee, r)) {
1982
+ var a = ee[r];
1983
1983
  if (a === ae && (a = ja(r)), typeof a > "u" && !n)
1984
1984
  throw new ie("intrinsic " + e + " exists, but is not available. Please file an issue!");
1985
1985
  return {
@@ -1999,23 +1999,23 @@ var ja = function t(e) {
1999
1999
  var r = Ka(e), o = r.length > 0 ? r[0] : "", a = Va("%" + o + "%", n), i = a.name, s = a.value, u = !1, l = a.alias;
2000
2000
  l && (o = l[0], Ha(r, za([0, 1], l)));
2001
2001
  for (var c = 1, p = !0; c < r.length; c += 1) {
2002
- var d = r[c], v = Ue(d, 0, 1), y = Ue(d, -1);
2003
- if ((v === '"' || v === "'" || v === "`" || y === '"' || y === "'" || y === "`") && v !== y)
2002
+ var d = r[c], g = Ue(d, 0, 1), y = Ue(d, -1);
2003
+ if ((g === '"' || g === "'" || g === "`" || y === '"' || y === "'" || y === "`") && g !== y)
2004
2004
  throw new se("property names with quotes must have matching quotes");
2005
- if ((d === "constructor" || !p) && (u = !0), o += "." + d, i = "%" + o + "%", Be(Y, i))
2006
- s = Y[i];
2005
+ if ((d === "constructor" || !p) && (u = !0), o += "." + d, i = "%" + o + "%", Be(ee, i))
2006
+ s = ee[i];
2007
2007
  else if (s != null) {
2008
2008
  if (!(d in s)) {
2009
2009
  if (!n)
2010
2010
  throw new ie("base intrinsic for " + e + " exists, but the property is not available.");
2011
2011
  return;
2012
2012
  }
2013
- if (Z && c + 1 >= r.length) {
2014
- var m = Z(s, d);
2013
+ if (Y && c + 1 >= r.length) {
2014
+ var m = Y(s, d);
2015
2015
  p = !!m, p && "get" in m && !("originalValue" in m.get) ? s = m.get : s = s[d];
2016
2016
  } else
2017
2017
  p = Be(s, d), s = s[d];
2018
- p && !u && (Y[i] = s);
2018
+ p && !u && (ee[i] = s);
2019
2019
  }
2020
2020
  }
2021
2021
  return s;
@@ -2105,9 +2105,9 @@ var Ya = Yr, ei = pe, lr = Za, ti = Ya(), cr = Zr, ur = Ae, ri = ei("%Math.floor
2105
2105
  t.exports = function(d) {
2106
2106
  if (typeof d != "function")
2107
2107
  throw new o("a function is required");
2108
- var v = s(e, i, arguments);
2108
+ var g = s(e, i, arguments);
2109
2109
  return r(
2110
- v,
2110
+ g,
2111
2111
  1 + l(0, d.length - (arguments.length - 1)),
2112
2112
  !0
2113
2113
  );
@@ -2125,7 +2125,7 @@ const si = {}, li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2125
2125
  __proto__: null,
2126
2126
  default: si
2127
2127
  }, Symbol.toStringTag, { value: "Module" })), ci = /* @__PURE__ */ ua(li);
2128
- var Dt = typeof Map == "function" && Map.prototype, tt = Object.getOwnPropertyDescriptor && Dt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Le = Dt && tt && typeof tt.get == "function" ? tt.get : null, fr = Dt && Map.prototype.forEach, It = typeof Set == "function" && Set.prototype, rt = Object.getOwnPropertyDescriptor && It ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Me = It && rt && typeof rt.get == "function" ? rt.get : null, pr = It && Set.prototype.forEach, ui = typeof WeakMap == "function" && WeakMap.prototype, ge = ui ? WeakMap.prototype.has : null, fi = typeof WeakSet == "function" && WeakSet.prototype, ve = fi ? WeakSet.prototype.has : null, pi = typeof WeakRef == "function" && WeakRef.prototype, dr = pi ? WeakRef.prototype.deref : null, di = Boolean.prototype.valueOf, yi = Object.prototype.toString, hi = Function.prototype.toString, mi = String.prototype.match, _t = String.prototype.slice, J = String.prototype.replace, gi = String.prototype.toUpperCase, yr = String.prototype.toLowerCase, rn = RegExp.prototype.test, hr = Array.prototype.concat, k = Array.prototype.join, vi = Array.prototype.slice, mr = Math.floor, gt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, nt = Object.getOwnPropertySymbols, vt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, le = typeof Symbol == "function" && typeof Symbol.iterator == "object", F = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === le || !0) ? Symbol.toStringTag : null, nn = Object.prototype.propertyIsEnumerable, gr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2128
+ var Dt = typeof Map == "function" && Map.prototype, tt = Object.getOwnPropertyDescriptor && Dt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Le = Dt && tt && typeof tt.get == "function" ? tt.get : null, fr = Dt && Map.prototype.forEach, It = typeof Set == "function" && Set.prototype, rt = Object.getOwnPropertyDescriptor && It ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Me = It && rt && typeof rt.get == "function" ? rt.get : null, pr = It && Set.prototype.forEach, ui = typeof WeakMap == "function" && WeakMap.prototype, ge = ui ? WeakMap.prototype.has : null, fi = typeof WeakSet == "function" && WeakSet.prototype, ve = fi ? WeakSet.prototype.has : null, pi = typeof WeakRef == "function" && WeakRef.prototype, dr = pi ? WeakRef.prototype.deref : null, di = Boolean.prototype.valueOf, yi = Object.prototype.toString, hi = Function.prototype.toString, mi = String.prototype.match, _t = String.prototype.slice, K = String.prototype.replace, gi = String.prototype.toUpperCase, yr = String.prototype.toLowerCase, rn = RegExp.prototype.test, hr = Array.prototype.concat, k = Array.prototype.join, vi = Array.prototype.slice, mr = Math.floor, gt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, nt = Object.getOwnPropertySymbols, vt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, le = typeof Symbol == "function" && typeof Symbol.iterator == "object", F = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === le || !0) ? Symbol.toStringTag : null, nn = Object.prototype.propertyIsEnumerable, gr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2129
2129
  return t.__proto__;
2130
2130
  } : null);
2131
2131
  function vr(t, e) {
@@ -2136,23 +2136,23 @@ function vr(t, e) {
2136
2136
  var r = t < 0 ? -mr(-t) : mr(t);
2137
2137
  if (r !== t) {
2138
2138
  var o = String(r), a = _t.call(e, o.length + 1);
2139
- return J.call(o, n, "$&_") + "." + J.call(J.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
2139
+ return K.call(o, n, "$&_") + "." + K.call(K.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
2140
2140
  }
2141
2141
  }
2142
- return J.call(e, n, "$&_");
2142
+ return K.call(e, n, "$&_");
2143
2143
  }
2144
2144
  var bt = ci, br = bt.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o) {
2145
2145
  var a = n || {};
2146
- if (G(a, "quoteStyle") && a.quoteStyle !== "single" && a.quoteStyle !== "double")
2146
+ if (J(a, "quoteStyle") && a.quoteStyle !== "single" && a.quoteStyle !== "double")
2147
2147
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
2148
- if (G(a, "maxStringLength") && (typeof a.maxStringLength == "number" ? a.maxStringLength < 0 && a.maxStringLength !== 1 / 0 : a.maxStringLength !== null))
2148
+ if (J(a, "maxStringLength") && (typeof a.maxStringLength == "number" ? a.maxStringLength < 0 && a.maxStringLength !== 1 / 0 : a.maxStringLength !== null))
2149
2149
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
2150
- var i = G(a, "customInspect") ? a.customInspect : !0;
2150
+ var i = J(a, "customInspect") ? a.customInspect : !0;
2151
2151
  if (typeof i != "boolean" && i !== "symbol")
2152
2152
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
2153
- if (G(a, "indent") && a.indent !== null && a.indent !== " " && !(parseInt(a.indent, 10) === a.indent && a.indent > 0))
2153
+ if (J(a, "indent") && a.indent !== null && a.indent !== " " && !(parseInt(a.indent, 10) === a.indent && a.indent > 0))
2154
2154
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
2155
- if (G(a, "numericSeparator") && typeof a.numericSeparator != "boolean")
2155
+ if (J(a, "numericSeparator") && typeof a.numericSeparator != "boolean")
2156
2156
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
2157
2157
  var s = a.numericSeparator;
2158
2158
  if (typeof e > "u")
@@ -2186,16 +2186,16 @@ var bt = ci, br = bt.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o
2186
2186
  var ye = {
2187
2187
  depth: a.depth
2188
2188
  };
2189
- return G(a, "quoteStyle") && (ye.quoteStyle = a.quoteStyle), t($, ye, r + 1, o);
2189
+ return J(a, "quoteStyle") && (ye.quoteStyle = a.quoteStyle), t($, ye, r + 1, o);
2190
2190
  }
2191
2191
  return t($, a, r + 1, o);
2192
2192
  }
2193
2193
  if (typeof e == "function" && !Sr(e)) {
2194
- var v = xi(e), y = Pe(e, d);
2195
- return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (y.length > 0 ? " { " + k.call(y, ", ") + " }" : "");
2194
+ var g = xi(e), y = Pe(e, d);
2195
+ return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (y.length > 0 ? " { " + k.call(y, ", ") + " }" : "");
2196
2196
  }
2197
2197
  if (an(e)) {
2198
- var m = le ? J.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : vt.call(e);
2198
+ var m = le ? K.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : vt.call(e);
2199
2199
  return typeof e == "object" && !le ? me(m) : m;
2200
2200
  }
2201
2201
  if (_i(e)) {
@@ -2206,8 +2206,8 @@ var bt = ci, br = bt.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o
2206
2206
  if (wt(e)) {
2207
2207
  if (e.length === 0)
2208
2208
  return "[]";
2209
- var g = Pe(e, d);
2210
- return p && !Bi(g) ? "[" + St(g, p) + "]" : "[ " + k.call(g, ", ") + " ]";
2209
+ var v = Pe(e, d);
2210
+ return p && !Bi(v) ? "[" + St(v, p) + "]" : "[ " + k.call(v, ", ") + " ]";
2211
2211
  }
2212
2212
  if (Ei(e)) {
2213
2213
  var T = Pe(e, d);
@@ -2250,8 +2250,8 @@ var bt = ci, br = bt.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o
2250
2250
  if (typeof globalThis < "u" && e === globalThis || typeof er < "u" && e === er)
2251
2251
  return "{ [object globalThis] }";
2252
2252
  if (!Si(e) && !Sr(e)) {
2253
- var N = Pe(e, d), q = gr ? gr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", j = !q && F && Object(e) === e && F in e ? _t.call(K(e), 8, -1) : U ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", te = Re + (j || U ? "[" + k.call(hr.call([], j || [], U || []), ": ") + "] " : "");
2254
- return N.length === 0 ? te + "{}" : p ? te + "{" + St(N, p) + "}" : te + "{ " + k.call(N, ", ") + " }";
2253
+ var N = Pe(e, d), q = gr ? gr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", j = !q && F && Object(e) === e && F in e ? _t.call(V(e), 8, -1) : U ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", re = Re + (j || U ? "[" + k.call(hr.call([], j || [], U || []), ": ") + "] " : "");
2254
+ return N.length === 0 ? re + "{}" : p ? re + "{" + St(N, p) + "}" : re + "{ " + k.call(N, ", ") + " }";
2255
2255
  }
2256
2256
  return String(e);
2257
2257
  };
@@ -2260,28 +2260,28 @@ function on(t, e, n) {
2260
2260
  return r + t + r;
2261
2261
  }
2262
2262
  function wi(t) {
2263
- return J.call(String(t), /"/g, "&quot;");
2263
+ return K.call(String(t), /"/g, "&quot;");
2264
2264
  }
2265
2265
  function wt(t) {
2266
- return K(t) === "[object Array]" && (!F || !(typeof t == "object" && F in t));
2266
+ return V(t) === "[object Array]" && (!F || !(typeof t == "object" && F in t));
2267
2267
  }
2268
2268
  function Si(t) {
2269
- return K(t) === "[object Date]" && (!F || !(typeof t == "object" && F in t));
2269
+ return V(t) === "[object Date]" && (!F || !(typeof t == "object" && F in t));
2270
2270
  }
2271
2271
  function Sr(t) {
2272
- return K(t) === "[object RegExp]" && (!F || !(typeof t == "object" && F in t));
2272
+ return V(t) === "[object RegExp]" && (!F || !(typeof t == "object" && F in t));
2273
2273
  }
2274
2274
  function Ei(t) {
2275
- return K(t) === "[object Error]" && (!F || !(typeof t == "object" && F in t));
2275
+ return V(t) === "[object Error]" && (!F || !(typeof t == "object" && F in t));
2276
2276
  }
2277
2277
  function Ai(t) {
2278
- return K(t) === "[object String]" && (!F || !(typeof t == "object" && F in t));
2278
+ return V(t) === "[object String]" && (!F || !(typeof t == "object" && F in t));
2279
2279
  }
2280
2280
  function Oi(t) {
2281
- return K(t) === "[object Number]" && (!F || !(typeof t == "object" && F in t));
2281
+ return V(t) === "[object Number]" && (!F || !(typeof t == "object" && F in t));
2282
2282
  }
2283
2283
  function Ri(t) {
2284
- return K(t) === "[object Boolean]" && (!F || !(typeof t == "object" && F in t));
2284
+ return V(t) === "[object Boolean]" && (!F || !(typeof t == "object" && F in t));
2285
2285
  }
2286
2286
  function an(t) {
2287
2287
  if (le)
@@ -2308,10 +2308,10 @@ function Pi(t) {
2308
2308
  var Ti = Object.prototype.hasOwnProperty || function(t) {
2309
2309
  return t in this;
2310
2310
  };
2311
- function G(t, e) {
2311
+ function J(t, e) {
2312
2312
  return Ti.call(t, e);
2313
2313
  }
2314
- function K(t) {
2314
+ function V(t) {
2315
2315
  return yi.call(t);
2316
2316
  }
2317
2317
  function xi(t) {
@@ -2405,7 +2405,7 @@ function ln(t, e) {
2405
2405
  var n = t.length - e.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
2406
2406
  return ln(_t.call(t, 0, e.maxStringLength), e) + r;
2407
2407
  }
2408
- var o = J.call(J.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, $i);
2408
+ var o = K.call(K.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, $i);
2409
2409
  return on(o, "single", e);
2410
2410
  }
2411
2411
  function $i(t) {
@@ -2461,7 +2461,7 @@ function Pe(t, e) {
2461
2461
  if (n) {
2462
2462
  r.length = t.length;
2463
2463
  for (var o = 0; o < t.length; o++)
2464
- r[o] = G(t, o) ? e(t[o], t) : "";
2464
+ r[o] = J(t, o) ? e(t[o], t) : "";
2465
2465
  }
2466
2466
  var a = typeof nt == "function" ? nt(t) : [], i;
2467
2467
  if (le) {
@@ -2470,7 +2470,7 @@ function Pe(t, e) {
2470
2470
  i["$" + a[s]] = a[s];
2471
2471
  }
2472
2472
  for (var u in t)
2473
- G(t, u) && (n && String(Number(u)) === u && u < t.length || le && i["$" + u] instanceof Symbol || (rn.call(/[^\w$]/, u) ? r.push(e(u, t) + ": " + e(t[u], t)) : r.push(u + ": " + e(t[u], t))));
2473
+ J(t, u) && (n && String(Number(u)) === u && u < t.length || le && i["$" + u] instanceof Symbol || (rn.call(/[^\w$]/, u) ? r.push(e(u, t) + ": " + e(t[u], t)) : r.push(u + ": " + e(t[u], t))));
2474
2474
  if (typeof nt == "function")
2475
2475
  for (var l = 0; l < a.length; l++)
2476
2476
  nn.call(t, a[l]) && r.push("[" + e(a[l]) + "]: " + e(t[a[l]], t));
@@ -2542,14 +2542,14 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2542
2542
  },
2543
2543
  RFC1738: at.RFC1738,
2544
2544
  RFC3986: at.RFC3986
2545
- }, Zi = Bt, it = Object.prototype.hasOwnProperty, V = Array.isArray, L = function() {
2545
+ }, Zi = Bt, it = Object.prototype.hasOwnProperty, Q = Array.isArray, L = function() {
2546
2546
  for (var t = [], e = 0; e < 256; ++e)
2547
2547
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2548
2548
  return t;
2549
2549
  }(), Yi = function(e) {
2550
2550
  for (; e.length > 1; ) {
2551
2551
  var n = e.pop(), r = n.obj[n.prop];
2552
- if (V(r)) {
2552
+ if (Q(r)) {
2553
2553
  for (var o = [], a = 0; a < r.length; ++a)
2554
2554
  typeof r[a] < "u" && o.push(r[a]);
2555
2555
  n.obj[n.prop] = o;
@@ -2563,7 +2563,7 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2563
2563
  if (!n)
2564
2564
  return e;
2565
2565
  if (typeof n != "object") {
2566
- if (V(e))
2566
+ if (Q(e))
2567
2567
  e.push(n);
2568
2568
  else if (e && typeof e == "object")
2569
2569
  (r && (r.plainObjects || r.allowPrototypes) || !it.call(Object.prototype, n)) && (e[n] = !0);
@@ -2574,7 +2574,7 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2574
2574
  if (!e || typeof e != "object")
2575
2575
  return [e].concat(n);
2576
2576
  var o = e;
2577
- return V(e) && !V(n) && (o = un(e, r)), V(e) && V(n) ? (n.forEach(function(a, i) {
2577
+ return Q(e) && !Q(n) && (o = un(e, r)), Q(e) && Q(n) ? (n.forEach(function(a, i) {
2578
2578
  if (it.call(e, i)) {
2579
2579
  var s = e[i];
2580
2580
  s && typeof s == "object" && a && typeof a == "object" ? e[i] = t(s, a, r) : e.push(a);
@@ -2602,8 +2602,8 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2602
2602
  return e;
2603
2603
  var i = e;
2604
2604
  if (typeof e == "symbol" ? i = Symbol.prototype.toString.call(e) : typeof e != "string" && (i = String(e)), r === "iso-8859-1")
2605
- return escape(i).replace(/%u[0-9a-f]{4}/gi, function(v) {
2606
- return "%26%23" + parseInt(v.slice(2), 16) + "%3B";
2605
+ return escape(i).replace(/%u[0-9a-f]{4}/gi, function(g) {
2606
+ return "%26%23" + parseInt(g.slice(2), 16) + "%3B";
2607
2607
  });
2608
2608
  for (var s = "", u = 0; u < i.length; u += st) {
2609
2609
  for (var l = i.length >= st ? i.slice(u, u + st) : i, c = [], p = 0; p < l.length; ++p) {
@@ -2643,7 +2643,7 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2643
2643
  }, ss = function(e, n) {
2644
2644
  return [].concat(e, n);
2645
2645
  }, ls = function(e, n) {
2646
- if (V(e)) {
2646
+ if (Q(e)) {
2647
2647
  for (var r = [], o = 0; o < e.length; o += 1)
2648
2648
  r.push(n(e[o]));
2649
2649
  return r;
@@ -2696,8 +2696,8 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2696
2696
  strictNullHandling: !1
2697
2697
  }, ps = function(e) {
2698
2698
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2699
- }, lt = {}, ds = function t(e, n, r, o, a, i, s, u, l, c, p, d, v, y, m, h, S, E) {
2700
- for (var g = e, T = E, A = 0, C = !1; (T = T.get(lt)) !== void 0 && !C; ) {
2699
+ }, lt = {}, ds = function t(e, n, r, o, a, i, s, u, l, c, p, d, g, y, m, h, S, E) {
2700
+ for (var v = e, T = E, A = 0, C = !1; (T = T.get(lt)) !== void 0 && !C; ) {
2701
2701
  var N = T.get(e);
2702
2702
  if (A += 1, typeof N < "u") {
2703
2703
  if (N === A)
@@ -2706,39 +2706,39 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2706
2706
  }
2707
2707
  typeof T.get(lt) > "u" && (A = 0);
2708
2708
  }
2709
- if (typeof c == "function" ? g = c(n, g) : g instanceof Date ? g = v(g) : r === "comma" && M(g) && (g = Ie.maybeMap(g, function(Ge) {
2710
- return Ge instanceof Date ? v(Ge) : Ge;
2711
- })), g === null) {
2709
+ if (typeof c == "function" ? v = c(n, v) : v instanceof Date ? v = g(v) : r === "comma" && M(v) && (v = Ie.maybeMap(v, function(Ge) {
2710
+ return Ge instanceof Date ? g(Ge) : Ge;
2711
+ })), v === null) {
2712
2712
  if (i)
2713
2713
  return l && !h ? l(n, P.encoder, S, "key", y) : n;
2714
- g = "";
2714
+ v = "";
2715
2715
  }
2716
- if (ps(g) || Ie.isBuffer(g)) {
2716
+ if (ps(v) || Ie.isBuffer(v)) {
2717
2717
  if (l) {
2718
2718
  var q = h ? n : l(n, P.encoder, S, "key", y);
2719
- return [m(q) + "=" + m(l(g, P.encoder, S, "value", y))];
2719
+ return [m(q) + "=" + m(l(v, P.encoder, S, "value", y))];
2720
2720
  }
2721
- return [m(n) + "=" + m(String(g))];
2721
+ return [m(n) + "=" + m(String(v))];
2722
2722
  }
2723
2723
  var U = [];
2724
- if (typeof g > "u")
2724
+ if (typeof v > "u")
2725
2725
  return U;
2726
2726
  var j;
2727
- if (r === "comma" && M(g))
2728
- h && l && (g = Ie.maybeMap(g, l)), j = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
2727
+ if (r === "comma" && M(v))
2728
+ h && l && (v = Ie.maybeMap(v, l)), j = [{ value: v.length > 0 ? v.join(",") || null : void 0 }];
2729
2729
  else if (M(c))
2730
2730
  j = c;
2731
2731
  else {
2732
- var Re = Object.keys(g);
2732
+ var Re = Object.keys(v);
2733
2733
  j = p ? Re.sort(p) : Re;
2734
2734
  }
2735
- var te = u ? n.replace(/\./g, "%2E") : n, $ = o && M(g) && g.length === 1 ? te + "[]" : te;
2736
- if (a && M(g) && g.length === 0)
2735
+ var re = u ? n.replace(/\./g, "%2E") : n, $ = o && M(v) && v.length === 1 ? re + "[]" : re;
2736
+ if (a && M(v) && v.length === 0)
2737
2737
  return $ + "[]";
2738
2738
  for (var z = 0; z < j.length; ++z) {
2739
- var H = j[z], ye = typeof H == "object" && typeof H.value < "u" ? H.value : g[H];
2739
+ var H = j[z], ye = typeof H == "object" && typeof H.value < "u" ? H.value : v[H];
2740
2740
  if (!(s && ye === null)) {
2741
- var We = d && u ? H.replace(/\./g, "%2E") : H, wn = M(g) ? typeof r == "function" ? r($, We) : $ : $ + (d ? "." + We : "[" + We + "]");
2741
+ var We = d && u ? H.replace(/\./g, "%2E") : H, wn = M(v) ? typeof r == "function" ? r($, We) : $ : $ + (d ? "." + We : "[" + We + "]");
2742
2742
  E.set(e, A);
2743
2743
  var Mt = pn();
2744
2744
  Mt.set(lt, E), yn(U, t(
@@ -2750,11 +2750,11 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2750
2750
  i,
2751
2751
  s,
2752
2752
  u,
2753
- r === "comma" && h && M(g) ? null : l,
2753
+ r === "comma" && h && M(v) ? null : l,
2754
2754
  c,
2755
2755
  p,
2756
2756
  d,
2757
- v,
2757
+ g,
2758
2758
  y,
2759
2759
  m,
2760
2760
  h,
@@ -2840,8 +2840,8 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2840
2840
  l
2841
2841
  ));
2842
2842
  }
2843
- var d = i.join(r.delimiter), v = r.addQueryPrefix === !0 ? "?" : "";
2844
- return r.charsetSentinel && (r.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), d.length > 0 ? v + d : "";
2843
+ var d = i.join(r.delimiter), g = r.addQueryPrefix === !0 ? "?" : "";
2844
+ return r.charsetSentinel && (r.charset === "iso-8859-1" ? g += "utf8=%26%2310003%3B&" : g += "utf8=%E2%9C%93&"), d.length > 0 ? g + d : "";
2845
2845
  }, ce = fn, Et = Object.prototype.hasOwnProperty, ms = Array.isArray, O = {
2846
2846
  allowDots: !1,
2847
2847
  allowEmptyArrays: !1,
@@ -2878,15 +2878,15 @@ var cn = pe, de = ii, Li = bi, Mi = Ae, Te = cn("%WeakMap%", !0), xe = cn("%Map%
2878
2878
  i[u].indexOf("utf8=") === 0 && (i[u] === bs ? l = "utf-8" : i[u] === vs && (l = "iso-8859-1"), s = u, u = i.length);
2879
2879
  for (u = 0; u < i.length; ++u)
2880
2880
  if (u !== s) {
2881
- var c = i[u], p = c.indexOf("]="), d = p === -1 ? c.indexOf("=") : p + 1, v, y;
2882
- d === -1 ? (v = n.decoder(c, O.decoder, l, "key"), y = n.strictNullHandling ? null : "") : (v = n.decoder(c.slice(0, d), O.decoder, l, "key"), y = ce.maybeMap(
2881
+ var c = i[u], p = c.indexOf("]="), d = p === -1 ? c.indexOf("=") : p + 1, g, y;
2882
+ d === -1 ? (g = n.decoder(c, O.decoder, l, "key"), y = n.strictNullHandling ? null : "") : (g = n.decoder(c.slice(0, d), O.decoder, l, "key"), y = ce.maybeMap(
2883
2883
  hn(c.slice(d + 1), n),
2884
2884
  function(h) {
2885
2885
  return n.decoder(h, O.decoder, l, "value");
2886
2886
  }
2887
2887
  )), y && n.interpretNumericEntities && l === "iso-8859-1" && (y = gs(y)), c.indexOf("[]=") > -1 && (y = ms(y) ? [y] : y);
2888
- var m = Et.call(r, v);
2889
- m && n.duplicates === "combine" ? r[v] = ce.combine(r[v], y) : (!m || n.duplicates === "last") && (r[v] = y);
2888
+ var m = Et.call(r, g);
2889
+ m && n.duplicates === "combine" ? r[g] = ce.combine(r[g], y) : (!m || n.duplicates === "last") && (r[g] = y);
2890
2890
  }
2891
2891
  return r;
2892
2892
  }, Ss = function(t, e, n, r) {
@@ -3068,18 +3068,31 @@ const mn = Or(), gn = mn.sso ?? !0, vn = mn.noRedireLogin ?? !1, bn = () => {
3068
3068
  }, _s = async (t, e) => {
3069
3069
  var u, l, c, p, d;
3070
3070
  let n = ((u = t.response) == null ? void 0 : u.status) || 500, r = (l = t.response) == null ? void 0 : l.message, o = {};
3071
- const a = { 400: re("参数校验错误"), 404: re("接口地址未找到"), 500: re("服务器内部错误") };
3071
+ const a = { 400: W("参数校验错误"), 404: W("接口地址未找到"), 500: W("服务器内部错误") };
3072
3072
  let i = ((c = t == null ? void 0 : t.response) == null ? void 0 : c.data) || {};
3073
- return !(On("code") || "") && !vn && (n === 401 || (i == null ? void 0 : i.code) === 401) ? (gn ? Rn({ ...Pn, redirect_uri: Tn }) : bn(), o = i) : (t.response ? (i instanceof Blob && (i = await new Promise((v) => {
3074
- const y = new FileReader();
3075
- y.readAsText(i, "utf-8"), y.onload = () => {
3076
- try {
3077
- v(JSON.parse(y.result || "{}"));
3078
- } catch {
3079
- v({ code: 400, msg: re("blob解析错误") });
3073
+ if (!(On("code") || "") && !vn && (n === 401 || (i == null ? void 0 : i.code) === 401))
3074
+ gn ? Rn({ ...Pn, redirect_uri: Tn }) : bn(), o = i;
3075
+ else {
3076
+ if (t.response) {
3077
+ if (i instanceof Blob && (i = await new Promise((g) => {
3078
+ const y = new FileReader();
3079
+ y.readAsText(i, "utf-8"), y.onload = () => {
3080
+ try {
3081
+ g(JSON.parse(y.result || "{}"));
3082
+ } catch {
3083
+ g({ code: 400, msg: W("blob解析错误") });
3084
+ }
3085
+ };
3086
+ })), i.code) {
3087
+ n = i.code;
3088
+ const g = (i == null ? void 0 : i.status) ?? "错误提示";
3089
+ r = !(i != null && i.data) || !i.data.length ? W(g) : W(g, ...i.data), o = i;
3080
3090
  }
3081
- };
3082
- })), i.code && (n = i.code, r = i.msg || i.message, o = i), r || (r = a[t.response.status] || t.message)) : t.request ? t.code === "ERR_CANCELED" ? t.abortReason && (r = t.abortReason) : r = re("网络异常,请检查您的网络情况") : t.code === "ERR_CANCELED" ? t.abortReason && (r = t.abortReason) : r = re("请求配置异常"), e != null && e.customErrorMessage && (r = e == null ? void 0 : e.customErrorMessage(r, t)), !(e != null && e.ignoreErrorMessage) && r && ((d = (p = window.DasMessage) == null ? void 0 : p.error) == null || d.call(p, { message: r, showClose: !0 }))), { ...o, code: n, msg: r, error: t };
3091
+ r || (r = a[t.response.status] || t.message);
3092
+ } else t.request ? t.code === "ERR_CANCELED" ? t.abortReason && (r = t.abortReason) : r = W("网络异常,请检查您的网络情况") : t.code === "ERR_CANCELED" ? t.abortReason && (r = t.abortReason) : r = W("请求配置异常");
3093
+ e != null && e.customErrorMessage && (r = e == null ? void 0 : e.customErrorMessage(r, t)), !(e != null && e.ignoreErrorMessage) && r && ((d = (p = window.DasMessage) == null ? void 0 : p.error) == null || d.call(p, { message: r, showClose: !0 }));
3094
+ }
3095
+ return { ...o, code: n, msg: r, error: t };
3083
3096
  }, Ut = (t, e) => {
3084
3097
  const n = R.create();
3085
3098
  return En(n, async (r) => {