@das-fed/utils 6.4.0-dev.55.8 → 6.4.0-dev.56

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 (78) hide show
  1. package/api-services/i18n/index.js +1 -1
  2. package/api-services/i18n/index.js.gz +0 -0
  3. package/api-services/index.js +128 -128
  4. package/api-services/index.js.gz +0 -0
  5. package/api-services/modules/app-manage/index.js +94 -94
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/index.js +94 -94
  8. package/api-services/modules/authentication/index.js.gz +0 -0
  9. package/api-services/modules/bems/index.js +93 -93
  10. package/api-services/modules/bems/index.js.gz +0 -0
  11. package/api-services/modules/contract/index.js +94 -94
  12. package/api-services/modules/contract/index.js.gz +0 -0
  13. package/api-services/modules/duty-manage/index.js +92 -92
  14. package/api-services/modules/duty-manage/index.js.gz +0 -0
  15. package/api-services/modules/enterpriseright/index.js +94 -94
  16. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  17. package/api-services/modules/file/index.js +125 -125
  18. package/api-services/modules/file/index.js.gz +0 -0
  19. package/api-services/modules/gateway-edge/index.js +94 -94
  20. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  21. package/api-services/modules/index.js +165 -165
  22. package/api-services/modules/index.js.gz +0 -0
  23. package/api-services/modules/iot/index.js +95 -95
  24. package/api-services/modules/iot/index.js.gz +0 -0
  25. package/api-services/modules/justauth/index.js +92 -92
  26. package/api-services/modules/justauth/index.js.gz +0 -0
  27. package/api-services/modules/knowledge/index.js +94 -94
  28. package/api-services/modules/knowledge/index.js.gz +0 -0
  29. package/api-services/modules/link/index.js +94 -94
  30. package/api-services/modules/link/index.js.gz +0 -0
  31. package/api-services/modules/permission/index.js +94 -94
  32. package/api-services/modules/permission/index.js.gz +0 -0
  33. package/api-services/modules/platformManage/index.js +96 -96
  34. package/api-services/modules/platformManage/index.js.gz +0 -0
  35. package/api-services/modules/portal/index.js +94 -94
  36. package/api-services/modules/portal/index.js.gz +0 -0
  37. package/api-services/modules/space-manage/index.js +94 -94
  38. package/api-services/modules/space-manage/index.js.gz +0 -0
  39. package/api-services/modules/super-admin/index.js +95 -95
  40. package/api-services/modules/super-admin/index.js.gz +0 -0
  41. package/api-services/modules/supplier/index.js +95 -95
  42. package/api-services/modules/supplier/index.js.gz +0 -0
  43. package/api-services/modules/supplychain-manage/index.js +94 -94
  44. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  45. package/api-services/modules/systemConfiguration/index.js +94 -94
  46. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  47. package/api-services/modules/tool/index.js +94 -94
  48. package/api-services/modules/tool/index.js.gz +0 -0
  49. package/api-services/src/create-service/index.js +93 -93
  50. package/api-services/src/create-service/index.js.gz +0 -0
  51. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  52. package/common-info/index.d.ts +7 -1
  53. package/common-info/index.js +84 -51
  54. package/common-info/index.js.gz +0 -0
  55. package/common-info/set-personal-info/index.js.gz +0 -0
  56. package/common-info/type.d.ts +175 -120
  57. package/common-tools/extract-file-name/index.js.gz +0 -0
  58. package/common-tools/get-url-params/index.js.gz +0 -0
  59. package/create-api-service/i18n/index.js +2 -2
  60. package/create-api-service/index.js +93 -93
  61. package/create-api-service/index.js.gz +0 -0
  62. package/create-api-service/sso/index.js +35 -35
  63. package/create-api-service/sso/index.js.gz +0 -0
  64. package/curring-http/index.js.gz +0 -0
  65. package/curring-http/type.d.ts +87 -87
  66. package/directive/auth/index.js.gz +0 -0
  67. package/dom-check-in/index.js +2 -2
  68. package/esm-map.json +3 -1
  69. package/hooks/use-get-auth/index.js.gz +0 -0
  70. package/nextTiken/index.js.gz +0 -0
  71. package/package.json +4 -4
  72. package/pinyin-first-character/index.js.gz +0 -0
  73. package/style/index.js.gz +0 -0
  74. package/use-low-code/index.js +3 -3
  75. package/use-low-code/index.js.gz +0 -0
  76. package/use-low-code/style.css +1 -1
  77. package/webSocket-service/index.js.gz +0 -0
  78. package/webSocket-service/type.d.ts +28 -28
Binary file
@@ -1,7 +1,7 @@
1
1
  import { setI18nRule as Sn, t as J } 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
- import Tt from "dayjs";
4
+ import Pt from "dayjs";
5
5
  import xn from "dayjs/plugin/utc";
6
6
  import Cn from "dayjs/plugin/timezone";
7
7
  import { getProjectInfo as Fn, getInstanceInfo as Nn } from "@das-fed/utils/common-info";
@@ -12,7 +12,7 @@ function Pr(t, e) {
12
12
  return t.apply(e, arguments);
13
13
  };
14
14
  }
15
- const { toString: _n } = Object.prototype, { getPrototypeOf: xt } = Object, qe = /* @__PURE__ */ ((t) => (e) => {
15
+ const { toString: _n } = Object.prototype, { getPrototypeOf: Tt } = Object, qe = /* @__PURE__ */ ((t) => (e) => {
16
16
  const n = _n.call(e);
17
17
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
18
18
  })(/* @__PURE__ */ Object.create(null)), B = (t) => (t = t.toLowerCase(), (e) => qe(e) === t), ze = (t) => (e) => typeof e === t, { isArray: pe } = Array, Ee = ze("undefined");
@@ -27,7 +27,7 @@ function $n(t) {
27
27
  const Bn = ze("string"), I = ze("function"), xr = ze("number"), He = (t) => t !== null && typeof t == "object", Un = (t) => t === !0 || t === !1, De = (t) => {
28
28
  if (qe(t) !== "object")
29
29
  return !1;
30
- const e = xt(t);
30
+ const e = Tt(t);
31
31
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
32
32
  }, Ln = B("Date"), kn = B("File"), Mn = B("Blob"), jn = B("FileList"), qn = (t) => He(t) && I(t.pipe), zn = (t) => {
33
33
  let e;
@@ -57,7 +57,7 @@ function Cr(t, e) {
57
57
  return o;
58
58
  return null;
59
59
  }
60
- const Z = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Fr = (t) => !Ee(t) && t !== Z;
60
+ const Y = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Fr = (t) => !Ee(t) && t !== Y;
61
61
  function ft() {
62
62
  const { caseless: t } = Fr(this) && this || {}, e = {}, n = (r, o) => {
63
63
  const a = t && Cr(e, o) || o;
@@ -69,18 +69,18 @@ function ft() {
69
69
  }
70
70
  const Qn = (t, e, n, { allOwnKeys: r } = {}) => (Ae(e, (o, a) => {
71
71
  n && I(o) ? t[a] = Pr(o, n) : t[a] = o;
72
- }, { allOwnKeys: r }), t), Xn = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Yn = (t, e, n, r) => {
72
+ }, { allOwnKeys: r }), t), Xn = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Zn = (t, e, n, r) => {
73
73
  t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
74
74
  value: e.prototype
75
75
  }), n && Object.assign(t.prototype, n);
76
- }, Zn = (t, e, n, r) => {
76
+ }, Yn = (t, e, n, r) => {
77
77
  let o, a, i;
78
78
  const s = {};
79
79
  if (e = e || {}, t == null) return e;
80
80
  do {
81
81
  for (o = Object.getOwnPropertyNames(t), a = o.length; a-- > 0; )
82
82
  i = o[a], (!r || r(i, t, e)) && !s[i] && (e[i] = t[i], s[i] = !0);
83
- t = n !== !1 && xt(t);
83
+ t = n !== !1 && Tt(t);
84
84
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
85
85
  return e;
86
86
  }, eo = (t, e, n) => {
@@ -96,7 +96,7 @@ const Qn = (t, e, n, { allOwnKeys: r } = {}) => (Ae(e, (o, a) => {
96
96
  for (; e-- > 0; )
97
97
  n[e] = t[e];
98
98
  return n;
99
- }, ro = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && xt(Uint8Array)), no = (t, e) => {
99
+ }, ro = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Tt(Uint8Array)), no = (t, e) => {
100
100
  const r = (t && t[Symbol.iterator]).call(t);
101
101
  let o;
102
102
  for (; (o = r.next()) && !o.done; ) {
@@ -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 && (He(t) || I(t)) && I(t.then) && I(t.catch), _r = ((t, e) => t ? setImmediate : e ? ((n, r) => (Z.addEventListener("message", ({ source: o, data: a }) => {
178
- o === Z && a === n && r.length && r.shift()();
177
+ }, mo = B("AsyncFunction"), go = (t) => t && (He(t) || I(t)) && I(t.then) && I(t.catch), _r = ((t, e) => t ? setImmediate : e ? ((n, r) => (Y.addEventListener("message", ({ source: o, data: a }) => {
178
+ o === Y && a === n && r.length && r.shift()();
179
179
  }, !1), (o) => {
180
- r.push(o), Z.postMessage(n, "*");
180
+ r.push(o), Y.postMessage(n, "*");
181
181
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
182
182
  typeof setImmediate == "function",
183
- I(Z.postMessage)
184
- ), vo = typeof queueMicrotask < "u" ? queueMicrotask.bind(Z) : typeof process < "u" && process.nextTick || _r, f = {
183
+ I(Y.postMessage)
184
+ ), vo = typeof queueMicrotask < "u" ? queueMicrotask.bind(Y) : typeof process < "u" && process.nextTick || _r, f = {
185
185
  isArray: pe,
186
186
  isArrayBuffer: Tr,
187
187
  isBuffer: In,
@@ -211,8 +211,8 @@ const ho = (t) => {
211
211
  extend: Qn,
212
212
  trim: Kn,
213
213
  stripBOM: Xn,
214
- inherits: Yn,
215
- toFlatObject: Zn,
214
+ inherits: Zn,
215
+ toFlatObject: Yn,
216
216
  kindOf: qe,
217
217
  kindOfTest: B,
218
218
  endsWith: eo,
@@ -230,7 +230,7 @@ const ho = (t) => {
230
230
  noop: uo,
231
231
  toFiniteNumber: fo,
232
232
  findKey: Cr,
233
- global: Z,
233
+ global: Y,
234
234
  isContextDefined: Fr,
235
235
  ALPHABET: Dr,
236
236
  generateString: po,
@@ -384,10 +384,10 @@ function Ht(t) {
384
384
  return e[r];
385
385
  });
386
386
  }
387
- function Ct(t, e) {
387
+ function xt(t, e) {
388
388
  this._pairs = [], t && We(t, this, e);
389
389
  }
390
- const Ur = Ct.prototype;
390
+ const Ur = xt.prototype;
391
391
  Ur.append = function(e, n) {
392
392
  this._pairs.push([e, n]);
393
393
  };
@@ -407,7 +407,7 @@ function Lr(t, e, n) {
407
407
  return t;
408
408
  const r = n && n.encode || Eo, o = n && n.serialize;
409
409
  let a;
410
- if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new Ct(e, n).toString(r), a) {
410
+ if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new xt(e, n).toString(r), a) {
411
411
  const i = t.indexOf("#");
412
412
  i !== -1 && (t = t.slice(0, i)), t += (t.indexOf("?") === -1 ? "?" : "&") + a;
413
413
  }
@@ -471,7 +471,7 @@ const kr = {
471
471
  silentJSONParsing: !0,
472
472
  forcedJSONParsing: !0,
473
473
  clarifyTimeoutError: !1
474
- }, Ao = typeof URLSearchParams < "u" ? URLSearchParams : Ct, Oo = typeof FormData < "u" ? FormData : null, Ro = typeof Blob < "u" ? Blob : null, Po = {
474
+ }, Ao = typeof URLSearchParams < "u" ? URLSearchParams : xt, Oo = typeof FormData < "u" ? FormData : null, Ro = typeof Blob < "u" ? Blob : null, Po = {
475
475
  isBrowser: !0,
476
476
  classes: {
477
477
  URLSearchParams: Ao,
@@ -479,10 +479,10 @@ const kr = {
479
479
  Blob: Ro
480
480
  },
481
481
  protocols: ["http", "https", "file", "blob", "url", "data"]
482
- }, Ft = typeof window < "u" && typeof document < "u", dt = typeof navigator == "object" && navigator || void 0, To = Ft && (!dt || ["ReactNative", "NativeScript", "NS"].indexOf(dt.product) < 0), xo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
483
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Co = Ft && window.location.href || "http://localhost", Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
482
+ }, Ct = typeof window < "u" && typeof document < "u", dt = typeof navigator == "object" && navigator || void 0, To = Ct && (!dt || ["ReactNative", "NativeScript", "NS"].indexOf(dt.product) < 0), xo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
483
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Co = Ct && window.location.href || "http://localhost", Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
484
484
  __proto__: null,
485
- hasBrowserEnv: Ft,
485
+ hasBrowserEnv: Ct,
486
486
  hasStandardBrowserEnv: To,
487
487
  hasStandardBrowserWebWorkerEnv: xo,
488
488
  navigator: dt,
@@ -1123,10 +1123,10 @@ const Hr = (t) => {
1123
1123
  let r = 0, o;
1124
1124
  for (; r < n; )
1125
1125
  o = r + e, yield t.slice(r, o), r = o;
1126
- }, Yo = async function* (t, e) {
1127
- for await (const n of Zo(t))
1126
+ }, Zo = async function* (t, e) {
1127
+ for await (const n of Yo(t))
1128
1128
  yield* Xo(n, e);
1129
- }, Zo = async function* (t) {
1129
+ }, Yo = async function* (t) {
1130
1130
  if (t[Symbol.asyncIterator]) {
1131
1131
  yield* t;
1132
1132
  return;
@@ -1143,7 +1143,7 @@ const Hr = (t) => {
1143
1143
  await e.cancel();
1144
1144
  }
1145
1145
  }, Qt = (t, e, n, r) => {
1146
- const o = Yo(t, e);
1146
+ const o = Zo(t, e);
1147
1147
  let a = 0, i, s = (u) => {
1148
1148
  i || (i = !0, r && r(u));
1149
1149
  };
@@ -1313,7 +1313,7 @@ f.forEach(ht, (t, e) => {
1313
1313
  Object.defineProperty(t, "adapterName", { value: e });
1314
1314
  }
1315
1315
  });
1316
- const Yt = (t) => `- ${t}`, aa = (t) => f.isFunction(t) || t === null || t === !1, Jr = {
1316
+ const Zt = (t) => `- ${t}`, aa = (t) => f.isFunction(t) || t === null || t === !1, Jr = {
1317
1317
  getAdapter: (t) => {
1318
1318
  t = f.isArray(t) ? t : [t];
1319
1319
  const { length: e } = t;
@@ -1333,8 +1333,8 @@ const Yt = (t) => `- ${t}`, aa = (t) => f.isFunction(t) || t === null || t === !
1333
1333
  ([s, u]) => `adapter ${s} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
1334
1334
  );
1335
1335
  let i = e ? a.length > 1 ? `since :
1336
- ` + a.map(Yt).join(`
1337
- `) : " " + Yt(a[0]) : "as no adapter specified";
1336
+ ` + a.map(Zt).join(`
1337
+ `) : " " + Zt(a[0]) : "as no adapter specified";
1338
1338
  throw new b(
1339
1339
  "There is no suitable adapter to dispatch the request " + i,
1340
1340
  "ERR_NOT_SUPPORT"
@@ -1344,36 +1344,36 @@ const Yt = (t) => `- ${t}`, aa = (t) => f.isFunction(t) || t === null || t === !
1344
1344
  },
1345
1345
  adapters: ht
1346
1346
  };
1347
- function Ye(t) {
1347
+ function Ze(t) {
1348
1348
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1349
1349
  throw new de(null, t);
1350
1350
  }
1351
- function Zt(t) {
1352
- return Ye(t), t.headers = _.from(t.headers), t.data = Xe.call(
1351
+ function Yt(t) {
1352
+ return Ze(t), t.headers = _.from(t.headers), t.data = Xe.call(
1353
1353
  t,
1354
1354
  t.transformRequest
1355
1355
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Jr.getAdapter(t.adapter || Oe.adapter)(t).then(function(r) {
1356
- return Ye(t), r.data = Xe.call(
1356
+ return Ze(t), r.data = Xe.call(
1357
1357
  t,
1358
1358
  t.transformResponse,
1359
1359
  r
1360
1360
  ), r.headers = _.from(r.headers), r;
1361
1361
  }, function(r) {
1362
- return jr(r) || (Ye(t), r && r.response && (r.response.data = Xe.call(
1362
+ return jr(r) || (Ze(t), r && r.response && (r.response.data = Xe.call(
1363
1363
  t,
1364
1364
  t.transformResponse,
1365
1365
  r.response
1366
1366
  ), r.response.headers = _.from(r.response.headers))), Promise.reject(r);
1367
1367
  });
1368
1368
  }
1369
- const Vr = "1.7.7", Nt = {};
1369
+ const Vr = "1.7.7", Ft = {};
1370
1370
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1371
- Nt[t] = function(r) {
1371
+ Ft[t] = function(r) {
1372
1372
  return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
1373
1373
  };
1374
1374
  });
1375
1375
  const er = {};
1376
- Nt.transitional = function(e, n, r) {
1376
+ Ft.transitional = function(e, n, r) {
1377
1377
  function o(a, i) {
1378
1378
  return "[Axios v" + Vr + "] Transitional option '" + a + "'" + i + (r ? ". " + r : "");
1379
1379
  }
@@ -1405,7 +1405,7 @@ function ia(t, e, n) {
1405
1405
  }
1406
1406
  const mt = {
1407
1407
  assertOptions: ia,
1408
- validators: Nt
1408
+ validators: Ft
1409
1409
  }, V = mt.validators;
1410
1410
  class ee {
1411
1411
  constructor(e) {
@@ -1473,7 +1473,7 @@ class ee {
1473
1473
  });
1474
1474
  let c, p = 0, d;
1475
1475
  if (!u) {
1476
- const y = [Zt.bind(this), void 0];
1476
+ const y = [Yt.bind(this), void 0];
1477
1477
  for (y.unshift.apply(y, s), y.push.apply(y, l), d = y.length, c = Promise.resolve(n); p < d; )
1478
1478
  c = c.then(y[p++], y[p++]);
1479
1479
  return c;
@@ -1490,7 +1490,7 @@ class ee {
1490
1490
  }
1491
1491
  }
1492
1492
  try {
1493
- c = Zt.call(this, g);
1493
+ c = Yt.call(this, g);
1494
1494
  } catch (y) {
1495
1495
  return Promise.reject(y);
1496
1496
  }
@@ -1528,7 +1528,7 @@ f.forEach(["post", "put", "patch"], function(e) {
1528
1528
  }
1529
1529
  ee.prototype[e] = n(), ee.prototype[e + "Form"] = n(!0);
1530
1530
  });
1531
- class Dt {
1531
+ class Nt {
1532
1532
  constructor(e) {
1533
1533
  if (typeof e != "function")
1534
1534
  throw new TypeError("executor must be a function.");
@@ -1594,7 +1594,7 @@ class Dt {
1594
1594
  static source() {
1595
1595
  let e;
1596
1596
  return {
1597
- token: new Dt(function(o) {
1597
+ token: new Nt(function(o) {
1598
1598
  e = o;
1599
1599
  }),
1600
1600
  cancel: e
@@ -1686,7 +1686,7 @@ function Kr(t) {
1686
1686
  const R = Kr(Oe);
1687
1687
  R.Axios = ee;
1688
1688
  R.CanceledError = de;
1689
- R.CancelToken = Dt;
1689
+ R.CancelToken = Nt;
1690
1690
  R.isCancel = jr;
1691
1691
  R.VERSION = Vr;
1692
1692
  R.toFormData = We;
@@ -1751,11 +1751,11 @@ var fa = Error, pa = EvalError, da = RangeError, ya = ReferenceError, Qr = Synta
1751
1751
  return !0;
1752
1752
  }, rr = typeof Symbol < "u" && Symbol, ga = ma, va = function() {
1753
1753
  return typeof rr != "function" || typeof Symbol != "function" || typeof rr("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : ga();
1754
- }, Ze = {
1754
+ }, Ye = {
1755
1755
  __proto__: null,
1756
1756
  foo: {}
1757
1757
  }, ba = Object, wa = function() {
1758
- return { __proto__: Ze }.foo === Ze.foo && !(Ze instanceof ba);
1758
+ return { __proto__: Ye }.foo === Ye.foo && !(Ye instanceof ba);
1759
1759
  }, Sa = "Function.prototype.bind called on incompatible ", Ea = Object.prototype.toString, Aa = Math.max, Oa = "[object Function]", nr = function(e, n) {
1760
1760
  for (var r = [], o = 0; o < e.length; o += 1)
1761
1761
  r[o] = e[o];
@@ -1794,7 +1794,7 @@ var fa = Error, pa = EvalError, da = RangeError, ya = ReferenceError, Qr = Synta
1794
1794
  l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
1795
1795
  }
1796
1796
  return o;
1797
- }, xa = Ta, _t = Function.prototype.bind || xa, Ca = Function.prototype.call, Fa = Object.prototype.hasOwnProperty, Na = _t, Da = Na.call(Ca, Fa), w, _a = fa, Ia = pa, $a = da, Ba = ya, ce = Qr, le = Re, Ua = ha, Xr = Function, et = function(t) {
1797
+ }, xa = Ta, Dt = Function.prototype.bind || xa, Ca = Function.prototype.call, Fa = Object.prototype.hasOwnProperty, Na = Dt, Da = Na.call(Ca, Fa), w, _a = fa, Ia = pa, $a = da, Ba = ya, ce = Qr, le = Re, Ua = ha, Xr = Function, et = function(t) {
1798
1798
  try {
1799
1799
  return Xr('"use strict"; return (' + t + ").constructor;")();
1800
1800
  } catch {
@@ -1966,7 +1966,7 @@ var qa = function t(e) {
1966
1966
  "%URIErrorPrototype%": ["URIError", "prototype"],
1967
1967
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1968
1968
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1969
- }, Pe = _t, Le = Da, za = Pe.call(Function.call, Array.prototype.concat), Ha = Pe.call(Function.apply, Array.prototype.splice), ar = Pe.call(Function.call, String.prototype.replace), ke = Pe.call(Function.call, String.prototype.slice), Wa = Pe.call(Function.call, RegExp.prototype.exec), Ga = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ja = /\\(\\)?/g, Va = function(e) {
1969
+ }, Pe = Dt, Le = Da, za = Pe.call(Function.call, Array.prototype.concat), Ha = Pe.call(Function.apply, Array.prototype.splice), ar = Pe.call(Function.call, String.prototype.replace), ke = Pe.call(Function.call, String.prototype.slice), Wa = Pe.call(Function.call, RegExp.prototype.exec), Ga = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ja = /\\(\\)?/g, Va = function(e) {
1970
1970
  var n = ke(e, 0, 1), r = ke(e, -1);
1971
1971
  if (n === "%" && r !== "%")
1972
1972
  throw new ce("invalid intrinsic syntax, expected closing `%`");
@@ -2019,8 +2019,8 @@ var qa = function t(e) {
2019
2019
  }
2020
2020
  }
2021
2021
  return s;
2022
- }, Yr = { exports: {} }, rt, ir;
2023
- function It() {
2022
+ }, Zr = { exports: {} }, rt, ir;
2023
+ function _t() {
2024
2024
  if (ir) return rt;
2025
2025
  ir = 1;
2026
2026
  var t = ye, e = t("%Object.defineProperty%", !0) || !1;
@@ -2039,7 +2039,7 @@ if (Ie)
2039
2039
  } catch {
2040
2040
  Ie = null;
2041
2041
  }
2042
- var Zr = Ie, sr = It(), Xa = Qr, ie = Re, lr = Zr, Ya = function(e, n, r) {
2042
+ var Yr = Ie, sr = _t(), Xa = Qr, ie = Re, lr = Yr, Za = function(e, n, r) {
2043
2043
  if (!e || typeof e != "object" && typeof e != "function")
2044
2044
  throw new ie("`obj` must be an object or a function`");
2045
2045
  if (typeof n != "string" && typeof n != "symbol")
@@ -2064,7 +2064,7 @@ var Zr = Ie, sr = It(), Xa = Qr, ie = Re, lr = Zr, Ya = function(e, n, r) {
2064
2064
  e[n] = r;
2065
2065
  else
2066
2066
  throw new Xa("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
2067
- }, vt = It(), en = function() {
2067
+ }, vt = _t(), en = function() {
2068
2068
  return !!vt;
2069
2069
  };
2070
2070
  en.hasArrayLengthDefineBug = function() {
@@ -2076,7 +2076,7 @@ en.hasArrayLengthDefineBug = function() {
2076
2076
  return !0;
2077
2077
  }
2078
2078
  };
2079
- var Za = en, ei = ye, cr = Ya, ti = Za(), ur = Zr, fr = Re, ri = ei("%Math.floor%"), ni = function(e, n) {
2079
+ var Ya = en, ei = ye, cr = Za, ti = Ya(), ur = Yr, fr = Re, ri = ei("%Math.floor%"), ni = function(e, n) {
2080
2080
  if (typeof e != "function")
2081
2081
  throw new fr("`fn` is not a function");
2082
2082
  if (typeof n != "number" || n < 0 || n > 4294967295 || ri(n) !== n)
@@ -2101,7 +2101,7 @@ var Za = en, ei = ye, cr = Ya, ti = Za(), ur = Zr, fr = Re, ri = ei("%Math.floor
2101
2101
  )), e;
2102
2102
  };
2103
2103
  (function(t) {
2104
- var e = _t, n = ye, r = ni, o = Re, a = n("%Function.prototype.apply%"), i = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || e.call(i, a), u = It(), l = n("%Math.max%");
2104
+ var e = Dt, n = ye, r = ni, o = Re, a = n("%Function.prototype.apply%"), i = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || e.call(i, a), u = _t(), l = n("%Math.max%");
2105
2105
  t.exports = function(d) {
2106
2106
  if (typeof d != "function")
2107
2107
  throw new o("a function is required");
@@ -2116,8 +2116,8 @@ var Za = en, ei = ye, cr = Ya, ti = Za(), ur = Zr, fr = Re, ri = ei("%Math.floor
2116
2116
  return s(e, a, arguments);
2117
2117
  };
2118
2118
  u ? u(t.exports, "apply", { value: c }) : t.exports.apply = c;
2119
- })(Yr);
2120
- var oi = Yr.exports, tn = ye, rn = oi, ai = rn(tn("String.prototype.indexOf")), ii = function(e, n) {
2119
+ })(Zr);
2120
+ var oi = Zr.exports, tn = ye, rn = oi, ai = rn(tn("String.prototype.indexOf")), ii = function(e, n) {
2121
2121
  var r = tn(e, !!n);
2122
2122
  return typeof r == "function" && ai(e, ".prototype.") > -1 ? rn(r) : r;
2123
2123
  };
@@ -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 $t = typeof Map == "function" && Map.prototype, nt = Object.getOwnPropertyDescriptor && $t ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Me = $t && nt && typeof nt.get == "function" ? nt.get : null, pr = $t && Map.prototype.forEach, Bt = typeof Set == "function" && Set.prototype, ot = Object.getOwnPropertyDescriptor && Bt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, je = Bt && ot && typeof ot.get == "function" ? ot.get : null, dr = Bt && Set.prototype.forEach, ui = typeof WeakMap == "function" && WeakMap.prototype, be = ui ? WeakMap.prototype.has : null, fi = typeof WeakSet == "function" && WeakSet.prototype, we = fi ? WeakSet.prototype.has : null, pi = typeof WeakRef == "function" && WeakRef.prototype, yr = pi ? WeakRef.prototype.deref : null, di = Boolean.prototype.valueOf, yi = Object.prototype.toString, hi = Function.prototype.toString, mi = String.prototype.match, Ut = String.prototype.slice, Q = String.prototype.replace, gi = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, nn = RegExp.prototype.test, mr = Array.prototype.concat, M = Array.prototype.join, vi = Array.prototype.slice, gr = Math.floor, bt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, at = Object.getOwnPropertySymbols, wt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ue = typeof Symbol == "function" && typeof Symbol.iterator == "object", C = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ue || !0) ? Symbol.toStringTag : null, on = Object.prototype.propertyIsEnumerable, vr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2128
+ var It = typeof Map == "function" && Map.prototype, nt = Object.getOwnPropertyDescriptor && It ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Me = It && nt && typeof nt.get == "function" ? nt.get : null, pr = It && Map.prototype.forEach, $t = typeof Set == "function" && Set.prototype, ot = Object.getOwnPropertyDescriptor && $t ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, je = $t && ot && typeof ot.get == "function" ? ot.get : null, dr = $t && Set.prototype.forEach, ui = typeof WeakMap == "function" && WeakMap.prototype, be = ui ? WeakMap.prototype.has : null, fi = typeof WeakSet == "function" && WeakSet.prototype, we = fi ? WeakSet.prototype.has : null, pi = typeof WeakRef == "function" && WeakRef.prototype, yr = pi ? WeakRef.prototype.deref : null, di = Boolean.prototype.valueOf, yi = Object.prototype.toString, hi = Function.prototype.toString, mi = String.prototype.match, Bt = String.prototype.slice, Q = String.prototype.replace, gi = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, nn = RegExp.prototype.test, mr = Array.prototype.concat, M = Array.prototype.join, vi = Array.prototype.slice, gr = Math.floor, bt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, at = Object.getOwnPropertySymbols, wt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ue = typeof Symbol == "function" && typeof Symbol.iterator == "object", C = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ue || !0) ? Symbol.toStringTag : null, on = Object.prototype.propertyIsEnumerable, vr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2129
2129
  return t.__proto__;
2130
2130
  } : null);
2131
2131
  function br(t, e) {
@@ -2135,7 +2135,7 @@ function br(t, e) {
2135
2135
  if (typeof t == "number") {
2136
2136
  var r = t < 0 ? -gr(-t) : gr(t);
2137
2137
  if (r !== t) {
2138
- var o = String(r), a = Ut.call(e, o.length + 1);
2138
+ var o = String(r), a = Bt.call(e, o.length + 1);
2139
2139
  return Q.call(o, n, "$&_") + "." + Q.call(Q.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
2140
2140
  }
2141
2141
  }
@@ -2250,7 +2250,7 @@ var St = ci, wr = St.custom, Sr = sn(wr) ? wr : null, bi = function t(e, n, r, o
2250
2250
  if (typeof globalThis < "u" && e === globalThis || typeof tr < "u" && e === tr)
2251
2251
  return "{ [object globalThis] }";
2252
2252
  if (!Si(e) && !Er(e)) {
2253
- var N = xe(e, d), z = vr ? vr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", H = !z && C && Object(e) === e && C in e ? Ut.call(X(e), 8, -1) : U ? "Object" : "", Te = z || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", oe = Te + (H || U ? "[" + M.call(mr.call([], H || [], U || []), ": ") + "] " : "");
2253
+ var N = xe(e, d), z = vr ? vr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", H = !z && C && Object(e) === e && C in e ? Bt.call(X(e), 8, -1) : U ? "Object" : "", Te = z || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", oe = Te + (H || U ? "[" + M.call(mr.call([], H || [], U || []), ": ") + "] " : "");
2254
2254
  return N.length === 0 ? oe + "{}" : p ? oe + "{" + At(N, p) + "}" : oe + "{ " + M.call(N, ", ") + " }";
2255
2255
  }
2256
2256
  return String(e);
@@ -2403,7 +2403,7 @@ function Ii(t) {
2403
2403
  function cn(t, e) {
2404
2404
  if (t.length > e.maxStringLength) {
2405
2405
  var n = t.length - e.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
2406
- return cn(Ut.call(t, 0, e.maxStringLength), e) + r;
2406
+ return cn(Bt.call(t, 0, e.maxStringLength), e) + r;
2407
2407
  }
2408
2408
  var o = Q.call(Q.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, $i);
2409
2409
  return an(o, "single", e);
@@ -2476,16 +2476,16 @@ function xe(t, e) {
2476
2476
  on.call(t, a[l]) && r.push("[" + e(a[l]) + "]: " + e(t[a[l]], t));
2477
2477
  return r;
2478
2478
  }
2479
- var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%", !0), Mi = he("WeakMap.prototype.get", !0), ji = he("WeakMap.prototype.set", !0), qi = he("WeakMap.prototype.has", !0), zi = he("Map.prototype.get", !0), Hi = he("Map.prototype.set", !0), Wi = he("Map.prototype.has", !0), Lt = function(t, e) {
2479
+ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%", !0), Mi = he("WeakMap.prototype.get", !0), ji = he("WeakMap.prototype.set", !0), qi = he("WeakMap.prototype.has", !0), zi = he("Map.prototype.get", !0), Hi = he("Map.prototype.set", !0), Wi = he("Map.prototype.has", !0), Ut = function(t, e) {
2480
2480
  for (var n = t, r; (r = n.next) !== null; n = r)
2481
2481
  if (r.key === e)
2482
2482
  return n.next = r.next, r.next = /** @type {NonNullable<typeof list.next>} */
2483
2483
  t.next, t.next = r, r;
2484
2484
  }, Gi = function(t, e) {
2485
- var n = Lt(t, e);
2485
+ var n = Ut(t, e);
2486
2486
  return n && n.value;
2487
2487
  }, Ji = function(t, e, n) {
2488
- var r = Lt(t, e);
2488
+ var r = Ut(t, e);
2489
2489
  r ? r.value = n : t.next = /** @type {import('.').ListNode<typeof value>} */
2490
2490
  {
2491
2491
  // eslint-disable-line no-param-reassign, no-extra-parens
@@ -2494,7 +2494,7 @@ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2494
2494
  value: n
2495
2495
  };
2496
2496
  }, Vi = function(t, e) {
2497
- return !!Lt(t, e);
2497
+ return !!Ut(t, e);
2498
2498
  }, Ki = function() {
2499
2499
  var e, n, r, o = {
2500
2500
  assert: function(a) {
@@ -2530,7 +2530,7 @@ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2530
2530
  }, Qi = String.prototype.replace, Xi = /%20/g, st = {
2531
2531
  RFC1738: "RFC1738",
2532
2532
  RFC3986: "RFC3986"
2533
- }, kt = {
2533
+ }, Lt = {
2534
2534
  default: st.RFC3986,
2535
2535
  formatters: {
2536
2536
  RFC1738: function(t) {
@@ -2542,14 +2542,14 @@ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2542
2542
  },
2543
2543
  RFC1738: st.RFC1738,
2544
2544
  RFC3986: st.RFC3986
2545
- }, Yi = kt, lt = Object.prototype.hasOwnProperty, Y = Array.isArray, L = function() {
2545
+ }, Zi = Lt, lt = Object.prototype.hasOwnProperty, Z = 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
- }(), Zi = function(e) {
2549
+ }(), Yi = function(e) {
2550
2550
  for (; e.length > 1; ) {
2551
2551
  var n = e.pop(), r = n.obj[n.prop];
2552
- if (Y(r)) {
2552
+ if (Z(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 un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2563
2563
  if (!n)
2564
2564
  return e;
2565
2565
  if (typeof n != "object") {
2566
- if (Y(e))
2566
+ if (Z(e))
2567
2567
  e.push(n);
2568
2568
  else if (e && typeof e == "object")
2569
2569
  (r && (r.plainObjects || r.allowPrototypes) || !lt.call(Object.prototype, n)) && (e[n] = !0);
@@ -2574,7 +2574,7 @@ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2574
2574
  if (!e || typeof e != "object")
2575
2575
  return [e].concat(n);
2576
2576
  var o = e;
2577
- return Y(e) && !Y(n) && (o = fn(e, r)), Y(e) && Y(n) ? (n.forEach(function(a, i) {
2577
+ return Z(e) && !Z(n) && (o = fn(e, r)), Z(e) && Z(n) ? (n.forEach(function(a, i) {
2578
2578
  if (lt.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);
@@ -2608,7 +2608,7 @@ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2608
2608
  for (var s = "", u = 0; u < i.length; u += ct) {
2609
2609
  for (var l = i.length >= ct ? i.slice(u, u + ct) : i, c = [], p = 0; p < l.length; ++p) {
2610
2610
  var d = l.charCodeAt(p);
2611
- if (d === 45 || d === 46 || d === 95 || d === 126 || d >= 48 && d <= 57 || d >= 65 && d <= 90 || d >= 97 && d <= 122 || a === Yi.RFC1738 && (d === 40 || d === 41)) {
2611
+ if (d === 45 || d === 46 || d === 95 || d === 126 || d >= 48 && d <= 57 || d >= 65 && d <= 90 || d >= 97 && d <= 122 || a === Zi.RFC1738 && (d === 40 || d === 41)) {
2612
2612
  c[c.length] = l.charAt(p);
2613
2613
  continue;
2614
2614
  }
@@ -2635,7 +2635,7 @@ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2635
2635
  var l = s[u], c = i[l];
2636
2636
  typeof c == "object" && c !== null && r.indexOf(c) === -1 && (n.push({ obj: i, prop: l }), r.push(c));
2637
2637
  }
2638
- return Zi(n), e;
2638
+ return Yi(n), e;
2639
2639
  }, as = function(e) {
2640
2640
  return Object.prototype.toString.call(e) === "[object RegExp]";
2641
2641
  }, is = function(e) {
@@ -2643,7 +2643,7 @@ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2643
2643
  }, ss = function(e, n) {
2644
2644
  return [].concat(e, n);
2645
2645
  }, ls = function(e, n) {
2646
- if (Y(e)) {
2646
+ if (Z(e)) {
2647
2647
  for (var r = [], o = 0; o < e.length; o += 1)
2648
2648
  r.push(n(e[o]));
2649
2649
  return r;
@@ -2660,7 +2660,7 @@ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2660
2660
  isRegExp: as,
2661
2661
  maybeMap: ls,
2662
2662
  merge: es
2663
- }, dn = Ki, $e = pn, Se = kt, cs = Object.prototype.hasOwnProperty, yn = {
2663
+ }, dn = Ki, $e = pn, Se = Lt, cs = Object.prototype.hasOwnProperty, yn = {
2664
2664
  brackets: function(e) {
2665
2665
  return e + "[]";
2666
2666
  },
@@ -2969,7 +2969,7 @@ var un = ye, he = ii, Li = bi, ki = Re, Ce = un("%WeakMap%", !0), Fe = un("%Map%
2969
2969
  o = fe.merge(o, u, n);
2970
2970
  }
2971
2971
  return n.allowSparse === !0 ? o : fe.compact(o);
2972
- }, Rs = hs, Ps = Os, Ts = kt, xs = {
2972
+ }, Rs = hs, Ps = Os, Ts = Lt, xs = {
2973
2973
  formats: Ts,
2974
2974
  parse: Ps,
2975
2975
  stringify: Rs
@@ -3048,33 +3048,33 @@ function Rt(t, e) {
3048
3048
  var Ns = Rt(Fs, { path: "/" });
3049
3049
  const Ds = {
3050
3050
  参数校验错误: { "zh-CN": "参数校验错误", en: "Parameter Validation Error", _appCode: "framework" },
3051
- 接口地址未找到: { "zh-CN": "接口地址未找到", en: "Api Endpoint Not Found", _appCode: "framework" },
3051
+ 接口地址未找到: { "zh-CN": "接口地址未找到", en: "Api endpoint not found", _appCode: "framework" },
3052
3052
  服务器内部错误: { "zh-CN": "服务器内部错误", en: "Internal Server Error", _appCode: "framework" },
3053
3053
  解析错误: { "zh-CN": "解析错误", en: "Parsing Error", _appCode: "framework" },
3054
3054
  请求配置异常: { "zh-CN": "请求配置异常", en: "Request Configuration Error", _appCode: "framework" },
3055
3055
  "网络异常,请检查您的网络情况": {
3056
3056
  "zh-CN": "网络异常,请检查您的网络情况",
3057
- en: "Network Error, Please Check Your Network Status",
3057
+ en: "Network error, please check your network status",
3058
3058
  _appCode: "framework"
3059
3059
  }
3060
3060
  };
3061
3061
  Sn(Ds);
3062
- Tt.extend(xn);
3063
- Tt.extend(Cn);
3064
- const gn = Rr(), Pt = gn.sso ?? !0, vn = gn.noRedireLogin ?? !1, bn = () => {
3062
+ Pt.extend(xn);
3063
+ Pt.extend(Cn);
3064
+ const kt = Rr(), gn = kt.sso ?? !0, _s = kt.i18n ?? !0, vn = kt.noRedireLogin ?? !1, bn = () => {
3065
3065
  if (vn) return;
3066
3066
  const t = "/login";
3067
3067
  location.pathname !== t && (sessionStorage.clear(), window.__isAutoCloseApp = !1, location.replace(t));
3068
- }, _s = async (t) => {
3068
+ }, Is = async (t) => {
3069
3069
  var n;
3070
3070
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
3071
- }, Is = async (t, e) => {
3071
+ }, $s = async (t, e) => {
3072
3072
  var u, l, c, p, d;
3073
3073
  let n = ((u = t.response) == null ? void 0 : u.status) || 500, r = (l = t.response) == null ? void 0 : l.message, o = {};
3074
3074
  const a = { 400: J("参数校验错误"), 404: J("接口地址未找到"), 500: J("服务器内部错误") };
3075
3075
  let i = ((c = t == null ? void 0 : t.response) == null ? void 0 : c.data) || {};
3076
3076
  if (!(On("code") || "") && !vn && (n === 401 || (i == null ? void 0 : i.code) === 401))
3077
- Pt ? Rn({ ...Pn, redirect_uri: Tn }) : bn(), o = i;
3077
+ gn ? Rn({ ...Pn, redirect_uri: Tn }) : bn(), o = i;
3078
3078
  else {
3079
3079
  if (t.response) {
3080
3080
  if (i instanceof Blob && (i = await new Promise((g) => {
@@ -3087,7 +3087,7 @@ const gn = Rr(), Pt = gn.sso ?? !0, vn = gn.noRedireLogin ?? !1, bn = () => {
3087
3087
  }
3088
3088
  };
3089
3089
  })), i.code) {
3090
- if (n = i.code, Pt) {
3090
+ if (n = i.code, _s) {
3091
3091
  const g = (i == null ? void 0 : i.status) ?? "";
3092
3092
  r = !(i != null && i.data) || !i.data.length ? J(g) : J(g, ...i.data);
3093
3093
  } else
@@ -3109,9 +3109,9 @@ const gn = Rr(), Pt = gn.sso ?? !0, vn = gn.noRedireLogin ?? !1, bn = () => {
3109
3109
  const c = new URL(location.href).searchParams;
3110
3110
  l = c.get("token") || c.get("accessToken") || c.get("accesstoken") || "";
3111
3111
  }
3112
- Pt ? l || (l = await An(r)) : (l || (l = Dn()), l || bn()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3112
+ gn ? l || (l = await An(r)) : (l || (l = Dn()), l || bn()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3113
3113
  }
3114
- r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => Cs.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = _s), r.onError || (r.onError = Is), (r.csrf ?? !1) && (r.headers["csrf-token"] = Ns.get("csrf-token"));
3114
+ r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => Cs.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = Is), r.onError || (r.onError = $s), (r.csrf ?? !1) && (r.headers["csrf-token"] = Ns.get("csrf-token"));
3115
3115
  const s = r.params || {};
3116
3116
  if (s.project === void 0) {
3117
3117
  let l = 0;
@@ -3122,22 +3122,22 @@ const gn = Rr(), Pt = gn.sso ?? !0, vn = gn.noRedireLogin ?? !1, bn = () => {
3122
3122
  const { instanceInfo: l } = Nn();
3123
3123
  l != null && l.instanceId && (s.instance = l.instanceId);
3124
3124
  }
3125
- return r.params = s, r.headers.Timezone = Tt.tz.guess(), r;
3125
+ return r.params = s, r.headers.Timezone = Pt.tz.guess(), r;
3126
3126
  });
3127
- }, q = "v1", Hs = j(`/api/iot/${q}`), Ws = {
3127
+ }, q = "v1", Ws = j(`/api/iot/${q}`), Gs = {
3128
3128
  thingmodel: j(`/api/iot-device/thingmodel/${q}`),
3129
3129
  deviceManage: j(`/api/iot-device/devicemanage/${q}`),
3130
3130
  product: j(`/api/iot-device/product/${q}`),
3131
3131
  productStorage: j(`/api/iot-device/product-storage/${q}`)
3132
- }, Gs = {
3132
+ }, Js = {
3133
3133
  projectDevice: j(`/api/device-relation/deviceproject/${q}`),
3134
3134
  deviceRules: j(`/api/device-relation/devicerule/${q}`),
3135
3135
  project: j(`/api/device-relation/project/${q}`)
3136
- }, Js = j(`/api/oss/minio/${q}`), Vs = j(`/api/progress/accessor/${q}`);
3136
+ }, Vs = j(`/api/oss/minio/${q}`), Ks = j(`/api/progress/accessor/${q}`);
3137
3137
  export {
3138
- Hs as iot,
3139
- Js as iotMinio,
3140
- Ws as iotModules,
3141
- Vs as iotProgress,
3142
- Gs as iotRelationModules
3138
+ Ws as iot,
3139
+ Vs as iotMinio,
3140
+ Gs as iotModules,
3141
+ Ks as iotProgress,
3142
+ Js as iotRelationModules
3143
3143
  };