@das-fed/upf-utils 6.4.0-dev.227 → 6.4.0-dev.229

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 (93) hide show
  1. package/api-services/es5.js +1082 -1077
  2. package/api-services/index.js +846 -842
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +1418 -1403
  5. package/api-services/modules/app-manage/index.js +1198 -1180
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +161 -158
  8. package/api-services/modules/authentication/index.js +138 -138
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +1180 -1165
  11. package/api-services/modules/bems/index.js +976 -958
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +702 -699
  14. package/api-services/modules/contract/index.js +619 -619
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +1389 -1374
  17. package/api-services/modules/duty-manage/index.js +1180 -1162
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +1174 -1159
  20. package/api-services/modules/enterpriseright/index.js +971 -953
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +1337 -1346
  23. package/api-services/modules/file/es5.js +1222 -1231
  24. package/api-services/modules/file/index.js +987 -1005
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +1384 -1391
  27. package/api-services/modules/gateway-edge/index.js +1165 -1179
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +1046 -1064
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +1206 -1191
  32. package/api-services/modules/iot/index.js +1006 -988
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +1148 -1133
  35. package/api-services/modules/justauth/index.js +954 -936
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +1157 -1163
  38. package/api-services/modules/knowledge/index.js +955 -969
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +1384 -1393
  41. package/api-services/modules/link/index.js +1165 -1183
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1157 -1163
  44. package/api-services/modules/permission/index.js +955 -969
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +171 -168
  47. package/api-services/modules/platformManage/index.js +150 -150
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +235 -232
  50. package/api-services/modules/portal/index.js +209 -209
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +919 -913
  53. package/api-services/modules/space-manage/index.js +728 -724
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +1117 -1126
  56. package/api-services/modules/super-admin/index.js +916 -934
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +165 -162
  59. package/api-services/modules/supplier/index.js +141 -141
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +1134 -1143
  62. package/api-services/modules/supplychain-manage/index.js +932 -950
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +1145 -1133
  65. package/api-services/modules/systemConfiguration/index.js +948 -934
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +1174 -1159
  68. package/api-services/modules/tool/index.js +971 -953
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +1390 -1397
  71. package/api-services/src/create-service/index.js +1164 -1178
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +1635 -1596
  74. package/common-info/getPermissionMethod/es5.js +1160 -1148
  75. package/common-info/getPermissionMethod/index.js +956 -942
  76. package/common-info/getPermissionMethod/index.js.gz +0 -0
  77. package/common-info/index.d.ts +9 -2
  78. package/common-info/index.js +1417 -1397
  79. package/common-info/index.js.gz +0 -0
  80. package/create-api-service/es5.js +165 -161
  81. package/create-api-service/index.d.ts +6 -6
  82. package/create-api-service/index.js +151 -150
  83. package/create-api-service/index.js.gz +0 -0
  84. package/directive/auth/es5.js +49 -56
  85. package/directive/auth/index.js +33 -41
  86. package/directive/auth/index.js.gz +0 -0
  87. package/esm-map.json +4 -1
  88. package/hooks/use-get-auth/es5.js +57 -191
  89. package/hooks/use-get-auth/index.d.ts +2 -7
  90. package/hooks/use-get-auth/index.js +16 -50
  91. package/package.json +3 -3
  92. package/hooks/use-get-auth/apis.d.ts +0 -4
  93. package/hooks/use-get-auth/index.js.gz +0 -0
@@ -186,7 +186,7 @@ const qo = (t) => {
186
186
  }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
187
187
  typeof setImmediate == "function",
188
188
  I(ee.postMessage)
189
- ), Wo = typeof queueMicrotask < "u" ? queueMicrotask.bind(ee) : typeof process < "u" && process.nextTick || rn, zo = (t) => t != null && I(t[Qe]), f = {
189
+ ), zo = typeof queueMicrotask < "u" ? queueMicrotask.bind(ee) : typeof process < "u" && process.nextTick || rn, Wo = (t) => t != null && I(t[Qe]), f = {
190
190
  isArray: he,
191
191
  isArrayBuffer: Xr,
192
192
  isBuffer: Te,
@@ -243,8 +243,8 @@ const qo = (t) => {
243
243
  isAsyncFn: jo,
244
244
  isThenable: Ho,
245
245
  setImmediate: rn,
246
- asap: Wo,
247
- isIterable: zo
246
+ asap: zo,
247
+ isIterable: Wo
248
248
  };
249
249
  function w(t, e, r, n, o) {
250
250
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), r && (this.config = r), n && (this.request = n), o && (this.response = o, this.status = o.status ? o.status : null);
@@ -364,14 +364,14 @@ function Ye(t, e, r) {
364
364
  if (!f.isUndefined(d)) {
365
365
  if (p.indexOf(d) !== -1)
366
366
  throw Error("Circular reference detected in " + m.join("."));
367
- p.push(d), f.forEach(d, function(S, A) {
367
+ p.push(d), f.forEach(d, function(S, O) {
368
368
  (!(f.isUndefined(S) || S === null) && o.call(
369
369
  e,
370
370
  S,
371
- f.isString(A) ? A.trim() : A,
371
+ f.isString(O) ? O.trim() : O,
372
372
  m,
373
373
  y
374
- )) === !0 && v(S, m ? m.concat(A) : [A]);
374
+ )) === !0 && v(S, m ? m.concat(O) : [O]);
375
375
  }), p.pop();
376
376
  }
377
377
  }
@@ -877,7 +877,7 @@ function mi(t, e) {
877
877
  }, n - p)));
878
878
  }, () => o && a(o)];
879
879
  }
880
- const ze = (t, e, r = 3) => {
880
+ const We = (t, e, r = 3) => {
881
881
  let n = 0;
882
882
  const o = hi(50, 250);
883
883
  return mi((i) => {
@@ -1047,7 +1047,7 @@ const yn = (t) => {
1047
1047
  return;
1048
1048
  const g = D.from(
1049
1049
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1050
- ), O = {
1050
+ ), P = {
1051
1051
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1052
1052
  status: h.status,
1053
1053
  statusText: h.statusText,
@@ -1059,32 +1059,32 @@ const yn = (t) => {
1059
1059
  r(T), m();
1060
1060
  }, function(T) {
1061
1061
  n(T), m();
1062
- }, O), h = null;
1062
+ }, P), h = null;
1063
1063
  }
1064
1064
  "onloadend" in h ? h.onloadend = S : h.onreadystatechange = function() {
1065
1065
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(S);
1066
1066
  }, h.onabort = function() {
1067
1067
  h && (n(new w("Request aborted", w.ECONNABORTED, t, h)), h = null);
1068
1068
  }, h.onerror = function(E) {
1069
- const O = E && E.message ? E.message : "Network Error", U = new w(O, w.ERR_NETWORK, t, h);
1069
+ const P = E && E.message ? E.message : "Network Error", U = new w(P, w.ERR_NETWORK, t, h);
1070
1070
  U.event = E || null, n(U), h = null;
1071
1071
  }, h.ontimeout = function() {
1072
1072
  let E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1073
- const O = o.transitional || cn;
1073
+ const P = o.transitional || cn;
1074
1074
  o.timeoutErrorMessage && (E = o.timeoutErrorMessage), n(new w(
1075
1075
  E,
1076
- O.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
1076
+ P.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
1077
1077
  t,
1078
1078
  h
1079
1079
  )), h = null;
1080
- }, i === void 0 && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function(E, O) {
1081
- h.setRequestHeader(O, E);
1082
- }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), u && ([y, d] = ze(u, !0), h.addEventListener("progress", y)), c && h.upload && ([p, v] = ze(c), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = (g) => {
1080
+ }, i === void 0 && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function(E, P) {
1081
+ h.setRequestHeader(P, E);
1082
+ }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), u && ([y, d] = We(u, !0), h.addEventListener("progress", y)), c && h.upload && ([p, v] = We(c), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = (g) => {
1083
1083
  h && (n(!g || g.type ? new me(null, t, h) : g), h.abort(), h = null);
1084
1084
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1085
- const A = yi(o.url);
1086
- if (A && $.protocols.indexOf(A) === -1) {
1087
- n(new w("Unsupported protocol " + A + ":", w.ERR_BAD_REQUEST, t));
1085
+ const O = yi(o.url);
1086
+ if (O && $.protocols.indexOf(O) === -1) {
1087
+ n(new w("Unsupported protocol " + O + ":", w.ERR_BAD_REQUEST, t));
1088
1088
  return;
1089
1089
  }
1090
1090
  h.send(i || null);
@@ -1232,10 +1232,10 @@ const yn = (t) => {
1232
1232
  url: m,
1233
1233
  method: h,
1234
1234
  data: S,
1235
- signal: A,
1235
+ signal: O,
1236
1236
  cancelToken: g,
1237
1237
  timeout: E,
1238
- onDownloadProgress: O,
1238
+ onDownloadProgress: P,
1239
1239
  onUploadProgress: U,
1240
1240
  responseType: T,
1241
1241
  headers: V,
@@ -1243,7 +1243,7 @@ const yn = (t) => {
1243
1243
  fetchOptions: M
1244
1244
  } = yn(d), Z = e || fetch;
1245
1245
  T = T ? (T + "").toLowerCase() : "text";
1246
- let k = Oi([A, g && g.toAbortSignal()], E), C = null;
1246
+ let k = Oi([O, g && g.toAbortSignal()], E), C = null;
1247
1247
  const F = k && k.unsubscribe && (() => {
1248
1248
  k.unsubscribe();
1249
1249
  });
@@ -1258,7 +1258,7 @@ const yn = (t) => {
1258
1258
  if (f.isFormData(S) && (se = K.headers.get("content-type")) && V.setContentType(se), K.body) {
1259
1259
  const [it, Ie] = or(
1260
1260
  B,
1261
- ze(ir(U))
1261
+ We(ir(U))
1262
1262
  );
1263
1263
  S = sr(K.body, lr, it, Ie);
1264
1264
  }
@@ -1276,14 +1276,14 @@ const yn = (t) => {
1276
1276
  C = i && new r(m, ae);
1277
1277
  let j = await (i ? Z(C, M) : Z(m, ae));
1278
1278
  const ve = l && (T === "stream" || T === "response");
1279
- if (l && (O || ve && F)) {
1279
+ if (l && (P || ve && F)) {
1280
1280
  const K = {};
1281
1281
  ["status", "statusText", "headers"].forEach((Zt) => {
1282
1282
  K[Zt] = j[Zt];
1283
1283
  });
1284
- const se = f.toFiniteNumber(j.headers.get("content-length")), [it, Ie] = O && or(
1284
+ const se = f.toFiniteNumber(j.headers.get("content-length")), [it, Ie] = P && or(
1285
1285
  se,
1286
- ze(ir(O), !0)
1286
+ We(ir(P), !0)
1287
1287
  ) || [];
1288
1288
  j = new n(
1289
1289
  sr(j.body, lr, it, () => {
@@ -1573,7 +1573,7 @@ f.forEach(["post", "put", "patch"], function(e) {
1573
1573
  }
1574
1574
  te.prototype[e] = r(), te.prototype[e + "Form"] = r(!0);
1575
1575
  });
1576
- class Wt {
1576
+ class zt {
1577
1577
  constructor(e) {
1578
1578
  if (typeof e != "function")
1579
1579
  throw new TypeError("executor must be a function.");
@@ -1639,7 +1639,7 @@ class Wt {
1639
1639
  static source() {
1640
1640
  let e;
1641
1641
  return {
1642
- token: new Wt(function(o) {
1642
+ token: new zt(function(o) {
1643
1643
  e = o;
1644
1644
  }),
1645
1645
  cancel: e
@@ -1734,26 +1734,26 @@ function vn(t) {
1734
1734
  return vn(ne(t, o));
1735
1735
  }, r;
1736
1736
  }
1737
- const P = vn(Ce);
1738
- P.Axios = te;
1739
- P.CanceledError = me;
1740
- P.CancelToken = Wt;
1741
- P.isCancel = fn;
1742
- P.VERSION = gn;
1743
- P.toFormData = Ye;
1744
- P.AxiosError = w;
1745
- P.Cancel = P.CanceledError;
1746
- P.all = function(e) {
1737
+ const R = vn(Ce);
1738
+ R.Axios = te;
1739
+ R.CanceledError = me;
1740
+ R.CancelToken = zt;
1741
+ R.isCancel = fn;
1742
+ R.VERSION = gn;
1743
+ R.toFormData = Ye;
1744
+ R.AxiosError = w;
1745
+ R.Cancel = R.CanceledError;
1746
+ R.all = function(e) {
1747
1747
  return Promise.all(e);
1748
1748
  };
1749
- P.spread = $i;
1750
- P.isAxiosError = Ii;
1751
- P.mergeConfig = ne;
1752
- P.AxiosHeaders = D;
1753
- P.formToJSON = (t) => un(f.isHTMLForm(t) ? new FormData(t) : t);
1754
- P.getAdapter = mn.getAdapter;
1755
- P.HttpStatusCode = Ft;
1756
- P.default = P;
1749
+ R.spread = $i;
1750
+ R.isAxiosError = Ii;
1751
+ R.mergeConfig = ne;
1752
+ R.AxiosHeaders = D;
1753
+ R.formToJSON = (t) => un(f.isHTMLForm(t) ? new FormData(t) : t);
1754
+ R.getAdapter = mn.getAdapter;
1755
+ R.HttpStatusCode = Ft;
1756
+ R.default = R;
1757
1757
  var hr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1758
1758
  function Di(t) {
1759
1759
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -1782,7 +1782,7 @@ const Li = {}, Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1782
1782
  __proto__: null,
1783
1783
  default: Li
1784
1784
  }, Symbol.toStringTag, { value: "Module" })), Mi = /* @__PURE__ */ Ui(Bi);
1785
- var zt = typeof Map == "function" && Map.prototype, ct = Object.getOwnPropertyDescriptor && zt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ge = zt && ct && typeof ct.get == "function" ? ct.get : null, mr = zt && Map.prototype.forEach, Gt = typeof Set == "function" && Set.prototype, ut = Object.getOwnPropertyDescriptor && Gt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Je = Gt && ut && typeof ut.get == "function" ? ut.get : null, gr = Gt && Set.prototype.forEach, ki = typeof WeakMap == "function" && WeakMap.prototype, Ee = ki ? WeakMap.prototype.has : null, qi = typeof WeakSet == "function" && WeakSet.prototype, Oe = qi ? WeakSet.prototype.has : null, ji = typeof WeakRef == "function" && WeakRef.prototype, vr = ji ? WeakRef.prototype.deref : null, Hi = Boolean.prototype.valueOf, Wi = Object.prototype.toString, zi = Function.prototype.toString, Gi = String.prototype.match, Jt = String.prototype.slice, Q = String.prototype.replace, Ji = String.prototype.toUpperCase, wr = String.prototype.toLowerCase, wn = RegExp.prototype.test, br = Array.prototype.concat, G = Array.prototype.join, Vi = Array.prototype.slice, Sr = Math.floor, Nt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, ft = Object.getOwnPropertySymbols, $t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, de = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ae = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === de || !0) ? Symbol.toStringTag : null, bn = Object.prototype.propertyIsEnumerable, Er = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1785
+ var Wt = typeof Map == "function" && Map.prototype, ct = Object.getOwnPropertyDescriptor && Wt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ge = Wt && ct && typeof ct.get == "function" ? ct.get : null, mr = Wt && Map.prototype.forEach, Gt = typeof Set == "function" && Set.prototype, ut = Object.getOwnPropertyDescriptor && Gt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Je = Gt && ut && typeof ut.get == "function" ? ut.get : null, gr = Gt && Set.prototype.forEach, ki = typeof WeakMap == "function" && WeakMap.prototype, Ee = ki ? WeakMap.prototype.has : null, qi = typeof WeakSet == "function" && WeakSet.prototype, Oe = qi ? WeakSet.prototype.has : null, ji = typeof WeakRef == "function" && WeakRef.prototype, vr = ji ? WeakRef.prototype.deref : null, Hi = Boolean.prototype.valueOf, zi = Object.prototype.toString, Wi = Function.prototype.toString, Gi = String.prototype.match, Jt = String.prototype.slice, Q = String.prototype.replace, Ji = String.prototype.toUpperCase, wr = String.prototype.toLowerCase, wn = RegExp.prototype.test, br = Array.prototype.concat, G = Array.prototype.join, Vi = Array.prototype.slice, Sr = Math.floor, Nt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, ft = Object.getOwnPropertySymbols, $t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, de = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ae = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === de || !0) ? Symbol.toStringTag : null, bn = Object.prototype.propertyIsEnumerable, Er = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1786
1786
  return t.__proto__;
1787
1787
  } : null);
1788
1788
  function Or(t, e) {
@@ -1864,8 +1864,8 @@ var It = Mi, Ar = It.custom, Rr = On(Ar) ? Ar : null, Sn = {
1864
1864
  return typeof e == "object" && !de ? Se(m) : m;
1865
1865
  }
1866
1866
  if (ua(e)) {
1867
- for (var h = "<" + wr.call(String(e.nodeName)), S = e.attributes || [], A = 0; A < S.length; A++)
1868
- h += " " + S[A].name + "=" + En(Qi(S[A].value), "double", i);
1867
+ for (var h = "<" + wr.call(String(e.nodeName)), S = e.attributes || [], O = 0; O < S.length; O++)
1868
+ h += " " + S[O].name + "=" + En(Qi(S[O].value), "double", i);
1869
1869
  return h += ">", e.childNodes && e.childNodes.length && (h += "..."), h += "</" + wr.call(String(e.nodeName)) + ">", h;
1870
1870
  }
1871
1871
  if (Dt(e)) {
@@ -1885,10 +1885,10 @@ var It = Mi, Ar = It.custom, Rr = On(Ar) ? Ar : null, Sn = {
1885
1885
  return e.inspect();
1886
1886
  }
1887
1887
  if (ia(e)) {
1888
- var O = [];
1888
+ var P = [];
1889
1889
  return mr && mr.call(e, function(C, F) {
1890
- O.push(y(F, e, !0) + " => " + y(C, e));
1891
- }), Tr("Map", Ge.call(e), O, p);
1890
+ P.push(y(F, e, !0) + " => " + y(C, e));
1891
+ }), Tr("Map", Ge.call(e), P, p);
1892
1892
  }
1893
1893
  if (la(e)) {
1894
1894
  var U = [];
@@ -1980,12 +1980,12 @@ function J(t, e) {
1980
1980
  return na.call(t, e);
1981
1981
  }
1982
1982
  function X(t) {
1983
- return Wi.call(t);
1983
+ return zi.call(t);
1984
1984
  }
1985
1985
  function oa(t) {
1986
1986
  if (t.name)
1987
1987
  return t.name;
1988
- var e = Gi.call(zi.call(t), /^function\s*([\w$]+)/);
1988
+ var e = Gi.call(Wi.call(t), /^function\s*([\w$]+)/);
1989
1989
  return e ? e[1] : null;
1990
1990
  }
1991
1991
  function An(t, e) {
@@ -2272,11 +2272,11 @@ var ka = "Function.prototype.bind called on incompatible ", qa = Object.prototyp
2272
2272
  for (var i = 0; i < r.length; i += 1)
2273
2273
  n[i + e.length] = r[i];
2274
2274
  return n;
2275
- }, Wa = function(e, r) {
2275
+ }, za = function(e, r) {
2276
2276
  for (var n = [], o = r, i = 0; o < e.length; o += 1, i += 1)
2277
2277
  n[i] = e[o];
2278
2278
  return n;
2279
- }, za = function(t, e) {
2279
+ }, Wa = function(t, e) {
2280
2280
  for (var r = "", n = 0; n < t.length; n += 1)
2281
2281
  r += t[n], n + 1 < t.length && (r += e);
2282
2282
  return r;
@@ -2284,7 +2284,7 @@ var ka = "Function.prototype.bind called on incompatible ", qa = Object.prototyp
2284
2284
  var r = this;
2285
2285
  if (typeof r != "function" || qa.apply(r) !== Ha)
2286
2286
  throw new TypeError(ka + r);
2287
- for (var n = Wa(arguments, 1), o, i = function() {
2287
+ for (var n = za(arguments, 1), o, i = function() {
2288
2288
  if (this instanceof o) {
2289
2289
  var l = r.apply(
2290
2290
  this,
@@ -2298,7 +2298,7 @@ var ka = "Function.prototype.bind called on incompatible ", qa = Object.prototyp
2298
2298
  );
2299
2299
  }, a = ja(0, r.length - n.length), s = [], c = 0; c < a; c++)
2300
2300
  s[c] = "$" + c;
2301
- if (o = Function("binder", "return function (" + za(s, ",") + "){ return binder.apply(this,arguments); }")(i), r.prototype) {
2301
+ if (o = Function("binder", "return function (" + Wa(s, ",") + "){ return binder.apply(this,arguments); }")(i), r.prototype) {
2302
2302
  var u = function() {
2303
2303
  };
2304
2304
  u.prototype = r.prototype, o.prototype = new u(), u.prototype = null;
@@ -2623,13 +2623,13 @@ function() {
2623
2623
  }
2624
2624
  };
2625
2625
  return r;
2626
- }, Hs = Kt, ot = Un, Ws = tt, Le = Ln, zs = ge, ce = Hs("%WeakMap%", !0), Gs = ot("WeakMap.prototype.get", !0), Js = ot("WeakMap.prototype.set", !0), Vs = ot("WeakMap.prototype.has", !0), Ks = ot("WeakMap.prototype.delete", !0), Qs = ce ? (
2626
+ }, Hs = Kt, ot = Un, zs = tt, Le = Ln, Ws = ge, ce = Hs("%WeakMap%", !0), Gs = ot("WeakMap.prototype.get", !0), Js = ot("WeakMap.prototype.set", !0), Vs = ot("WeakMap.prototype.has", !0), Ks = ot("WeakMap.prototype.delete", !0), Qs = ce ? (
2627
2627
  /** @type {Exclude<import('.'), false>} */
2628
2628
  function() {
2629
2629
  var e, r, n = {
2630
2630
  assert: function(o) {
2631
2631
  if (!n.has(o))
2632
- throw new zs("Side channel does not contain " + Ws(o));
2632
+ throw new Ws("Side channel does not contain " + zs(o));
2633
2633
  },
2634
2634
  delete: function(o) {
2635
2635
  if (ce && o && (typeof o == "object" || typeof o == "function")) {
@@ -2686,7 +2686,7 @@ function() {
2686
2686
  },
2687
2687
  RFC1738: Ot.RFC1738,
2688
2688
  RFC3986: Ot.RFC3986
2689
- }, al = Qt, At = Object.prototype.hasOwnProperty, Y = Array.isArray, W = function() {
2689
+ }, al = Qt, At = Object.prototype.hasOwnProperty, Y = Array.isArray, z = function() {
2690
2690
  for (var t = [], e = 0; e < 256; ++e)
2691
2691
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2692
2692
  return t;
@@ -2757,18 +2757,18 @@ function() {
2757
2757
  continue;
2758
2758
  }
2759
2759
  if (y < 128) {
2760
- l[l.length] = W[y];
2760
+ l[l.length] = z[y];
2761
2761
  continue;
2762
2762
  }
2763
2763
  if (y < 2048) {
2764
- l[l.length] = W[192 | y >> 6] + W[128 | y & 63];
2764
+ l[l.length] = z[192 | y >> 6] + z[128 | y & 63];
2765
2765
  continue;
2766
2766
  }
2767
2767
  if (y < 55296 || y >= 57344) {
2768
- l[l.length] = W[224 | y >> 12] + W[128 | y >> 6 & 63] + W[128 | y & 63];
2768
+ l[l.length] = z[224 | y >> 12] + z[128 | y >> 6 & 63] + z[128 | y & 63];
2769
2769
  continue;
2770
2770
  }
2771
- p += 1, y = 65536 + ((y & 1023) << 10 | u.charCodeAt(p) & 1023), l[l.length] = W[240 | y >> 18] + W[128 | y >> 12 & 63] + W[128 | y >> 6 & 63] + W[128 | y & 63];
2771
+ p += 1, y = 65536 + ((y & 1023) << 10 | u.charCodeAt(p) & 1023), l[l.length] = z[240 | y >> 18] + z[128 | y >> 12 & 63] + z[128 | y >> 6 & 63] + z[128 | y & 63];
2772
2772
  }
2773
2773
  s += l.join("");
2774
2774
  }
@@ -2804,7 +2804,7 @@ function() {
2804
2804
  isRegExp: dl,
2805
2805
  maybeMap: ml,
2806
2806
  merge: ll
2807
- }, kn = nl, We = Mn, Re = Qt, gl = Object.prototype.hasOwnProperty, qn = {
2807
+ }, kn = nl, ze = Mn, Re = Qt, gl = Object.prototype.hasOwnProperty, qn = {
2808
2808
  brackets: function(e) {
2809
2809
  return e + "[]";
2810
2810
  },
@@ -2815,8 +2815,8 @@ function() {
2815
2815
  repeat: function(e) {
2816
2816
  return e;
2817
2817
  }
2818
- }, z = Array.isArray, vl = Array.prototype.push, jn = function(t, e) {
2819
- vl.apply(t, z(e) ? e : [e]);
2818
+ }, W = Array.isArray, vl = Array.prototype.push, jn = function(t, e) {
2819
+ vl.apply(t, W(e) ? e : [e]);
2820
2820
  }, wl = Date.prototype.toISOString, kr = Re.default, x = {
2821
2821
  addQueryPrefix: !1,
2822
2822
  allowDots: !1,
@@ -2828,7 +2828,7 @@ function() {
2828
2828
  delimiter: "&",
2829
2829
  encode: !0,
2830
2830
  encodeDotInKeys: !1,
2831
- encoder: We.encode,
2831
+ encoder: ze.encode,
2832
2832
  encodeValuesOnly: !1,
2833
2833
  filter: void 0,
2834
2834
  format: kr,
@@ -2842,24 +2842,24 @@ function() {
2842
2842
  strictNullHandling: !1
2843
2843
  }, bl = function(e) {
2844
2844
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2845
- }, Pt = {}, Sl = function t(e, r, n, o, i, a, s, c, u, l, p, y, v, d, m, h, S, A) {
2846
- for (var g = e, E = A, O = 0, U = !1; (E = E.get(Pt)) !== void 0 && !U; ) {
2845
+ }, Pt = {}, Sl = function t(e, r, n, o, i, a, s, c, u, l, p, y, v, d, m, h, S, O) {
2846
+ for (var g = e, E = O, P = 0, U = !1; (E = E.get(Pt)) !== void 0 && !U; ) {
2847
2847
  var T = E.get(e);
2848
- if (O += 1, typeof T < "u") {
2849
- if (T === O)
2848
+ if (P += 1, typeof T < "u") {
2849
+ if (T === P)
2850
2850
  throw new RangeError("Cyclic object value");
2851
2851
  U = !0;
2852
2852
  }
2853
- typeof E.get(Pt) > "u" && (O = 0);
2853
+ typeof E.get(Pt) > "u" && (P = 0);
2854
2854
  }
2855
- if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && z(g) && (g = We.maybeMap(g, function(we) {
2855
+ if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && W(g) && (g = ze.maybeMap(g, function(we) {
2856
2856
  return we instanceof Date ? v(we) : we;
2857
2857
  })), g === null) {
2858
2858
  if (a)
2859
2859
  return u && !h ? u(r, x.encoder, S, "key", d) : r;
2860
2860
  g = "";
2861
2861
  }
2862
- if (bl(g) || We.isBuffer(g)) {
2862
+ if (bl(g) || ze.isBuffer(g)) {
2863
2863
  if (u) {
2864
2864
  var V = h ? r : u(r, x.encoder, S, "key", d);
2865
2865
  return [m(V) + "=" + m(u(g, x.encoder, S, "value", d))];
@@ -2870,24 +2870,24 @@ function() {
2870
2870
  if (typeof g > "u")
2871
2871
  return L;
2872
2872
  var M;
2873
- if (n === "comma" && z(g))
2874
- h && u && (g = We.maybeMap(g, u)), M = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
2875
- else if (z(l))
2873
+ if (n === "comma" && W(g))
2874
+ h && u && (g = ze.maybeMap(g, u)), M = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
2875
+ else if (W(l))
2876
2876
  M = l;
2877
2877
  else {
2878
2878
  var Z = Object.keys(g);
2879
2879
  M = p ? Z.sort(p) : Z;
2880
2880
  }
2881
- var k = c ? String(r).replace(/\./g, "%2E") : String(r), C = o && z(g) && g.length === 1 ? k + "[]" : k;
2882
- if (i && z(g) && g.length === 0)
2881
+ var k = c ? String(r).replace(/\./g, "%2E") : String(r), C = o && W(g) && g.length === 1 ? k + "[]" : k;
2882
+ if (i && W(g) && g.length === 0)
2883
2883
  return C + "[]";
2884
2884
  for (var F = 0; F < M.length; ++F) {
2885
2885
  var B = M[F], N = typeof B == "object" && B && typeof B.value < "u" ? B.value : g[B];
2886
2886
  if (!(s && N === null)) {
2887
- var ae = y && c ? String(B).replace(/\./g, "%2E") : String(B), j = z(g) ? typeof n == "function" ? n(C, ae) : C : C + (y ? "." + ae : "[" + ae + "]");
2888
- A.set(e, O);
2887
+ var ae = y && c ? String(B).replace(/\./g, "%2E") : String(B), j = W(g) ? typeof n == "function" ? n(C, ae) : C : C + (y ? "." + ae : "[" + ae + "]");
2888
+ O.set(e, P);
2889
2889
  var ve = kn();
2890
- ve.set(Pt, A), jn(L, t(
2890
+ ve.set(Pt, O), jn(L, t(
2891
2891
  N,
2892
2892
  j,
2893
2893
  n,
@@ -2896,7 +2896,7 @@ function() {
2896
2896
  a,
2897
2897
  s,
2898
2898
  c,
2899
- n === "comma" && h && z(g) ? null : u,
2899
+ n === "comma" && h && W(g) ? null : u,
2900
2900
  l,
2901
2901
  p,
2902
2902
  y,
@@ -2929,7 +2929,7 @@ function() {
2929
2929
  n = e.format;
2930
2930
  }
2931
2931
  var o = Re.formatters[n], i = x.filter;
2932
- (typeof e.filter == "function" || z(e.filter)) && (i = e.filter);
2932
+ (typeof e.filter == "function" || W(e.filter)) && (i = e.filter);
2933
2933
  var a;
2934
2934
  if (e.arrayFormat in qn ? a = e.arrayFormat : "indices" in e ? a = e.indices ? "indices" : "repeat" : a = x.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
2935
2935
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
@@ -2957,7 +2957,7 @@ function() {
2957
2957
  };
2958
2958
  }, Ol = function(t, e) {
2959
2959
  var r = t, n = El(e), o, i;
2960
- typeof n.filter == "function" ? (i = n.filter, r = i("", r)) : z(n.filter) && (i = n.filter, o = i);
2960
+ typeof n.filter == "function" ? (i = n.filter, r = i("", r)) : W(n.filter) && (i = n.filter, o = i);
2961
2961
  var a = [];
2962
2962
  if (typeof r != "object" || r === null)
2963
2963
  return "";
@@ -2988,7 +2988,7 @@ function() {
2988
2988
  }
2989
2989
  var v = a.join(n.delimiter), d = n.addQueryPrefix === !0 ? "?" : "";
2990
2990
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? d += "utf8=%26%2310003%3B&" : d += "utf8=%E2%9C%93&"), v.length > 0 ? d + v : "";
2991
- }, oe = Mn, Lt = Object.prototype.hasOwnProperty, qr = Array.isArray, R = {
2991
+ }, oe = Mn, Lt = Object.prototype.hasOwnProperty, qr = Array.isArray, A = {
2992
2992
  allowDots: !1,
2993
2993
  allowEmptyArrays: !1,
2994
2994
  allowPrototypes: !1,
@@ -3036,14 +3036,14 @@ function() {
3036
3036
  for (c = 0; c < a.length; ++c)
3037
3037
  if (c !== s) {
3038
3038
  var l = a[c], p = l.indexOf("]="), y = p === -1 ? l.indexOf("=") : p + 1, v, d;
3039
- y === -1 ? (v = r.decoder(l, R.decoder, u, "key"), d = r.strictNullHandling ? null : "") : (v = r.decoder(l.slice(0, y), R.decoder, u, "key"), d = oe.maybeMap(
3039
+ y === -1 ? (v = r.decoder(l, A.decoder, u, "key"), d = r.strictNullHandling ? null : "") : (v = r.decoder(l.slice(0, y), A.decoder, u, "key"), d = oe.maybeMap(
3040
3040
  Hn(
3041
3041
  l.slice(y + 1),
3042
3042
  r,
3043
3043
  qr(n[v]) ? n[v].length : 0
3044
3044
  ),
3045
3045
  function(h) {
3046
- return r.decoder(h, R.decoder, u, "value");
3046
+ return r.decoder(h, A.decoder, u, "value");
3047
3047
  }
3048
3048
  )), d && r.interpretNumericEntities && u === "iso-8859-1" && (d = Al(String(d))), l.indexOf("[]=") > -1 && (d = qr(d) ? [d] : d);
3049
3049
  var m = Lt.call(n, v);
@@ -3090,7 +3090,7 @@ function() {
3090
3090
  }
3091
3091
  }, Cl = function(e) {
3092
3092
  if (!e)
3093
- return R;
3093
+ return A;
3094
3094
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
3095
3095
  throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
3096
3096
  if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
@@ -3101,32 +3101,32 @@ function() {
3101
3101
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
3102
3102
  if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
3103
3103
  throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
3104
- var r = typeof e.charset > "u" ? R.charset : e.charset, n = typeof e.duplicates > "u" ? R.duplicates : e.duplicates;
3104
+ var r = typeof e.charset > "u" ? A.charset : e.charset, n = typeof e.duplicates > "u" ? A.duplicates : e.duplicates;
3105
3105
  if (n !== "combine" && n !== "first" && n !== "last")
3106
3106
  throw new TypeError("The duplicates option must be either combine, first, or last");
3107
- var o = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : R.allowDots : !!e.allowDots;
3107
+ var o = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : A.allowDots : !!e.allowDots;
3108
3108
  return {
3109
3109
  allowDots: o,
3110
- allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : R.allowEmptyArrays,
3111
- allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : R.allowPrototypes,
3112
- allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : R.allowSparse,
3113
- arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : R.arrayLimit,
3110
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : A.allowEmptyArrays,
3111
+ allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : A.allowPrototypes,
3112
+ allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : A.allowSparse,
3113
+ arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : A.arrayLimit,
3114
3114
  charset: r,
3115
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : R.charsetSentinel,
3116
- comma: typeof e.comma == "boolean" ? e.comma : R.comma,
3117
- decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : R.decodeDotInKeys,
3118
- decoder: typeof e.decoder == "function" ? e.decoder : R.decoder,
3119
- delimiter: typeof e.delimiter == "string" || oe.isRegExp(e.delimiter) ? e.delimiter : R.delimiter,
3115
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : A.charsetSentinel,
3116
+ comma: typeof e.comma == "boolean" ? e.comma : A.comma,
3117
+ decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : A.decodeDotInKeys,
3118
+ decoder: typeof e.decoder == "function" ? e.decoder : A.decoder,
3119
+ delimiter: typeof e.delimiter == "string" || oe.isRegExp(e.delimiter) ? e.delimiter : A.delimiter,
3120
3120
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
3121
- depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : R.depth,
3121
+ depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : A.depth,
3122
3122
  duplicates: n,
3123
3123
  ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
3124
- interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : R.interpretNumericEntities,
3125
- parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : R.parameterLimit,
3124
+ interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : A.interpretNumericEntities,
3125
+ parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : A.parameterLimit,
3126
3126
  parseArrays: e.parseArrays !== !1,
3127
- plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : R.plainObjects,
3128
- strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : R.strictDepth,
3129
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : R.strictNullHandling,
3127
+ plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : A.plainObjects,
3128
+ strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : A.strictDepth,
3129
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : A.strictNullHandling,
3130
3130
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
3131
3131
  };
3132
3132
  }, Fl = function(t, e) {
@@ -3217,8 +3217,8 @@ function Bt(t, e) {
3217
3217
  var jr = Bt(Ll, { path: "/" });
3218
3218
  Mt.extend(eo);
3219
3219
  Mt.extend(to);
3220
- const Xt = Vr(), Wn = Xt.sso ?? !0, Hr = Xt.i18n ?? !0, zn = Xt.noRedireLogin ?? !1;
3221
- let Wr = "", zr = 0;
3220
+ const Xt = Vr(), zn = Xt.sso ?? !0, Hr = Xt.i18n ?? !0, Wn = Xt.noRedireLogin ?? !1;
3221
+ let zr = "", Wr = 0;
3222
3222
  const Bl = 1e3, Gr = async (t, e, r = []) => {
3223
3223
  const n = Date.now(), o = 1200, i = 60;
3224
3224
  for (; Date.now() - n < o; ) {
@@ -3233,43 +3233,43 @@ const Ml = 5e3, Gn = () => Tt ? !1 : (Tt = !0, setTimeout(() => {
3233
3233
  Tt = !1;
3234
3234
  }, Ml), !0), Jn = () => {
3235
3235
  var e, r;
3236
- if (zn) return;
3236
+ if (Wn) return;
3237
3237
  const t = "/login";
3238
3238
  location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (e = window.top) != null && e.vueRouter ? (r = window.top) == null || r.vueRouter.replace(t) : window.location.replace(`/#${t}`));
3239
- }, kl = async (t) => {
3239
+ }, kl = () => Qn("code") || "" || Wn ? !1 : Gn() ? (zn ? Xn({ ...Zn, redirect_uri: Yn }) : Jn(), !0) : !1, ql = async (t) => {
3240
3240
  var r;
3241
3241
  return ((r = t.config) == null ? void 0 : r.responseType) === "blob" ? t : t.data ?? t;
3242
- }, ql = async (t, e) => {
3243
- var m, h, S, A;
3242
+ }, jl = async (t, e) => {
3243
+ var d, m, h, S;
3244
3244
  const { t: r } = Jr();
3245
3245
  let n, o, i = {};
3246
3246
  const a = { 400: r("参数校验错误"), 404: r("接口地址未找到"), 500: r("服务器内部错误") };
3247
- let s = ((m = t == null ? void 0 : t.response) == null ? void 0 : m.data) || {};
3248
- const c = Qn("code") || "", u = s == null ? void 0 : s.code, l = (h = t.response) == null ? void 0 : h.status;
3249
- if (!c && !zn && (u === 401 || l === 401)) {
3250
- Gn() && (Wn ? Xn({ ...Zn, redirect_uri: Yn }) : Jn()), n = u || l, i = s;
3251
- const g = (e == null ? void 0 : e.i18n) ?? !0;
3252
- if (Hr && g && (s != null && s.status)) {
3253
- const E = !(s != null && s.data) || !s.data.length ? [] : s.data, O = r(s.status, ...E);
3254
- o = O === s.status ? await Gr(r, s.status, E) : O;
3247
+ let s = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || {};
3248
+ const c = s == null ? void 0 : s.code, u = (m = t.response) == null ? void 0 : m.status;
3249
+ if (c === 401 || u === 401) {
3250
+ kl(), n = c || u, i = s;
3251
+ const O = (e == null ? void 0 : e.i18n) ?? !0;
3252
+ if (Hr && O && (s != null && s.status)) {
3253
+ const g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r(s.status, ...g);
3254
+ o = E === s.status ? await Gr(r, s.status, g) : E;
3255
3255
  } else
3256
3256
  o = (s == null ? void 0 : s.msg) || a[n] || (t == null ? void 0 : t.message);
3257
3257
  } else if (t.response) {
3258
- if (s instanceof Blob && (s = await new Promise((g) => {
3259
- const E = new FileReader();
3260
- E.readAsText(s, "utf-8"), E.onload = () => {
3258
+ if (s instanceof Blob && (s = await new Promise((O) => {
3259
+ const g = new FileReader();
3260
+ g.readAsText(s, "utf-8"), g.onload = () => {
3261
3261
  try {
3262
- g(JSON.parse(E.result || "{}"));
3262
+ O(JSON.parse(g.result || "{}"));
3263
3263
  } catch {
3264
- g({ code: 400, msg: r("解析错误") });
3264
+ O({ code: 400, msg: r("解析错误") });
3265
3265
  }
3266
3266
  };
3267
3267
  })), s.code !== void 0 && s.code !== null) {
3268
3268
  n = s.code, i = s;
3269
- const g = (e == null ? void 0 : e.i18n) ?? !0;
3270
- if (Hr && g && (s != null && s.status)) {
3271
- const E = !(s != null && s.data) || !s.data.length ? [] : s.data, O = r(s.status, ...E);
3272
- o = O === s.status ? await Gr(r, s.status, E) : O;
3269
+ const O = (e == null ? void 0 : e.i18n) ?? !0;
3270
+ if (Hr && O && (s != null && s.status)) {
3271
+ const g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r(s.status, ...g);
3272
+ o = E === s.status ? await Gr(r, s.status, g) : E;
3273
3273
  } else
3274
3274
  o = (s == null ? void 0 : s.msg) ?? "";
3275
3275
  } else
@@ -3277,11 +3277,11 @@ const Ml = 5e3, Gn = () => Tt ? !1 : (Tt = !0, setTimeout(() => {
3277
3277
  o || (o = a[t.response.status] || t.message);
3278
3278
  } else t.request ? (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("网络异常,请检查您的网络情况")) : (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("请求配置异常"));
3279
3279
  e != null && e.customErrorMessage && (o = e == null ? void 0 : e.customErrorMessage(o, t));
3280
- const y = Date.now(), v = o === Wr, d = y - zr < Bl;
3281
- return !(e != null && e.ignoreErrorMessage) && o && (!v || !d) && ((A = (S = window.DasMessage) == null ? void 0 : S.error) == null || A.call(S, { message: o, showClose: !0 }), Wr = o, zr = y), { ...i, code: n, msg: o, error: t };
3280
+ const p = Date.now(), y = o === zr, v = p - Wr < Bl;
3281
+ 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 }), zr = o, Wr = p), { ...i, code: n, msg: o, error: t };
3282
3282
  };
3283
- function jl(t, e) {
3284
- const r = P.create();
3283
+ function Hl(t, e) {
3284
+ const r = R.create();
3285
3285
  return Vn(r, async (n) => {
3286
3286
  const { currentLang: o } = Jr(), i = Vr();
3287
3287
  if (n.headers || (n.headers = {}), !(n != null && n.public)) {
@@ -3290,7 +3290,7 @@ function jl(t, e) {
3290
3290
  const y = new URL(location.href).searchParams;
3291
3291
  p = y.get("token") || y.get("accessToken") || y.get("accesstoken") || "";
3292
3292
  }
3293
- if (Wn)
3293
+ if (zn)
3294
3294
  p || (p = await Kn(n));
3295
3295
  else {
3296
3296
  p || (p = oo());
@@ -3301,7 +3301,7 @@ function jl(t, e) {
3301
3301
  }
3302
3302
  p && !n.headers.Authorization && (n.headers.Authorization = `Bearer ${p}`);
3303
3303
  }
3304
- n.baseURL || (n.baseURL = i.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Ul.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = kl), n.onError || (n.onError = ql), (n.csrf ?? !1) && (n.headers["csrf-token"] = jr.get("csrf-token"));
3304
+ n.baseURL || (n.baseURL = i.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Ul.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = ql), n.onError || (n.onError = jl), (n.csrf ?? !1) && (n.headers["csrf-token"] = jr.get("csrf-token"));
3305
3305
  const c = n.params || {};
3306
3306
  if (c.project === void 0) {
3307
3307
  let p = 0;
@@ -3317,7 +3317,7 @@ function jl(t, e) {
3317
3317
  return l && (n.headers["Accept-Language"] = l), l && jr.set("locale", l), n;
3318
3318
  });
3319
3319
  }
3320
- const Hl = "v1", ec = jl(`/api/license/admin/${Hl}`);
3320
+ const zl = "v1", tc = Hl(`/api/license/admin/${zl}`);
3321
3321
  export {
3322
- ec as authentication
3322
+ tc as authentication
3323
3323
  };