@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
@@ -269,10 +269,10 @@ var _o = function _o(t, e, r) {
269
269
  return he(t) ? n(t) : n(String(t).split(e)), r;
270
270
  },
271
271
  Ho = function Ho() {},
272
- Wo = function Wo(t, e) {
272
+ zo = function zo(t, e) {
273
273
  return t != null && Number.isFinite(t = +t) ? t : e;
274
274
  };
275
- function zo(t) {
275
+ function Wo(t) {
276
276
  return !!(t && $(t.append) && t[tn] === "FormData" && t[Qe]);
277
277
  }
278
278
  var Go = function Go(t) {
@@ -363,11 +363,11 @@ var Go = function Go(t) {
363
363
  toObjectSet: jo,
364
364
  toCamelCase: Mo,
365
365
  noop: Ho,
366
- toFiniteNumber: Wo,
366
+ toFiniteNumber: zo,
367
367
  findKey: on,
368
368
  global: ee,
369
369
  isContextDefined: an,
370
- isSpecCompliantForm: zo,
370
+ isSpecCompliantForm: Wo,
371
371
  toJSONObject: Go,
372
372
  isAsyncFn: Jo,
373
373
  isThenable: Vo,
@@ -486,8 +486,8 @@ function Ye(t, e, r) {
486
486
  function v(d, m) {
487
487
  if (!f.isUndefined(d)) {
488
488
  if (p.indexOf(d) !== -1) throw Error("Circular reference detected in " + m.join("."));
489
- p.push(d), f.forEach(d, function (b, A) {
490
- (!(f.isUndefined(b) || b === null) && o.call(e, b, f.isString(A) ? A.trim() : A, m, y)) === true && v(b, m ? m.concat(A) : [A]);
489
+ p.push(d), f.forEach(d, function (b, O) {
490
+ (!(f.isUndefined(b) || b === null) && o.call(e, b, f.isString(O) ? O.trim() : O, m, y)) === true && v(b, m ? m.concat(O) : [O]);
491
491
  }), p.pop();
492
492
  }
493
493
  }
@@ -508,10 +508,10 @@ function or(t) {
508
508
  return e[n];
509
509
  });
510
510
  }
511
- function Wt(t, e) {
511
+ function zt(t, e) {
512
512
  this._pairs = [], t && Ye(t, this, e);
513
513
  }
514
- var pn = Wt.prototype;
514
+ var pn = zt.prototype;
515
515
  pn.append = function (e, r) {
516
516
  this._pairs.push([e, r]);
517
517
  };
@@ -534,7 +534,7 @@ function dn(t, e, r) {
534
534
  });
535
535
  var o = r && r.serialize;
536
536
  var i;
537
- if (o ? i = o(e, r) : i = f.isURLSearchParams(e) ? e.toString() : new Wt(e, r).toString(n), i) {
537
+ if (o ? i = o(e, r) : i = f.isURLSearchParams(e) ? e.toString() : new zt(e, r).toString(n), i) {
538
538
  var a = t.indexOf("#");
539
539
  a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + i;
540
540
  }
@@ -609,7 +609,7 @@ var yn = {
609
609
  forcedJSONParsing: true,
610
610
  clarifyTimeoutError: false
611
611
  },
612
- ti = (typeof URLSearchParams === "undefined" ? "undefined" : _typeof(URLSearchParams)) < "u" ? URLSearchParams : Wt,
612
+ ti = (typeof URLSearchParams === "undefined" ? "undefined" : _typeof(URLSearchParams)) < "u" ? URLSearchParams : zt,
613
613
  ri = (typeof FormData === "undefined" ? "undefined" : _typeof(FormData)) < "u" ? FormData : null,
614
614
  ni = (typeof Blob === "undefined" ? "undefined" : _typeof(Blob)) < "u" ? Blob : null,
615
615
  oi = {
@@ -621,16 +621,16 @@ var yn = {
621
621
  },
622
622
  protocols: ["http", "https", "file", "blob", "url", "data"]
623
623
  },
624
- zt = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && (typeof document === "undefined" ? "undefined" : _typeof(document)) < "u",
624
+ Wt = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && (typeof document === "undefined" ? "undefined" : _typeof(document)) < "u",
625
625
  It = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) == "object" && navigator || undefined,
626
- ii = zt && (!It || ["ReactNative", "NativeScript", "NS"].indexOf(It.product) < 0),
626
+ ii = Wt && (!It || ["ReactNative", "NativeScript", "NS"].indexOf(It.product) < 0),
627
627
  ai = (typeof WorkerGlobalScope === "undefined" ? "undefined" : _typeof(WorkerGlobalScope)) < "u" &&
628
628
  // eslint-disable-next-line no-undef
629
629
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
630
- si = zt && window.location.href || "http://localhost",
630
+ si = Wt && window.location.href || "http://localhost",
631
631
  li = /* @__PURE__ */Object.freeze(/* @__PURE__ */Object.defineProperty({
632
632
  __proto__: null,
633
- hasBrowserEnv: zt,
633
+ hasBrowserEnv: Wt,
634
634
  hasStandardBrowserEnv: ii,
635
635
  hasStandardBrowserWebWorkerEnv: ai,
636
636
  navigator: It,
@@ -1055,7 +1055,7 @@ function Si(t, e) {
1055
1055
  return o && a(o);
1056
1056
  }];
1057
1057
  }
1058
- var ze = function ze(t, e) {
1058
+ var We = function We(t, e) {
1059
1059
  var r = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
1060
1060
  var n = 0;
1061
1061
  var o = bi(50, 250);
@@ -1237,7 +1237,7 @@ var wn = function wn(t) {
1237
1237
  Pi = (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof(XMLHttpRequest)) < "u",
1238
1238
  Ti = Pi && function (t) {
1239
1239
  return new Promise(function (r, n) {
1240
- var _ze, _ze2, _ze3, _ze4;
1240
+ var _We, _We2, _We3, _We4;
1241
1241
  var o = wn(t);
1242
1242
  var i = o.data;
1243
1243
  var a = D.from(o.headers).normalize();
@@ -1257,7 +1257,7 @@ var wn = function wn(t) {
1257
1257
  function b() {
1258
1258
  if (!h) return;
1259
1259
  var g = D.from("getAllResponseHeaders" in h && h.getAllResponseHeaders()),
1260
- O = {
1260
+ P = {
1261
1261
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1262
1262
  status: h.status,
1263
1263
  statusText: h.statusText,
@@ -1269,28 +1269,28 @@ var wn = function wn(t) {
1269
1269
  r(T), m();
1270
1270
  }, function (T) {
1271
1271
  n(T), m();
1272
- }, O), h = null;
1272
+ }, P), h = null;
1273
1273
  }
1274
1274
  "onloadend" in h ? h.onloadend = b : h.onreadystatechange = function () {
1275
1275
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(b);
1276
1276
  }, h.onabort = function () {
1277
1277
  h && (n(new w("Request aborted", w.ECONNABORTED, t, h)), h = null);
1278
1278
  }, h.onerror = function (E) {
1279
- var O = E && E.message ? E.message : "Network Error",
1280
- U = new w(O, w.ERR_NETWORK, t, h);
1279
+ var P = E && E.message ? E.message : "Network Error",
1280
+ U = new w(P, w.ERR_NETWORK, t, h);
1281
1281
  U.event = E || null, n(U), h = null;
1282
1282
  }, h.ontimeout = function () {
1283
1283
  var E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1284
- var O = o.transitional || yn;
1285
- o.timeoutErrorMessage && (E = o.timeoutErrorMessage), n(new w(E, O.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED, t, h)), h = null;
1286
- }, i === undefined && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function (E, O) {
1287
- h.setRequestHeader(O, E);
1288
- }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && (_ze = ze(c, true), _ze2 = _slicedToArray(_ze, 2), y = _ze2[0], d = _ze2[1], h.addEventListener("progress", y)), u && h.upload && (_ze3 = ze(u), _ze4 = _slicedToArray(_ze3, 2), p = _ze4[0], v = _ze4[1], h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = function l(g) {
1284
+ var P = o.transitional || yn;
1285
+ o.timeoutErrorMessage && (E = o.timeoutErrorMessage), n(new w(E, P.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED, t, h)), h = null;
1286
+ }, i === undefined && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function (E, P) {
1287
+ h.setRequestHeader(P, E);
1288
+ }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && (_We = We(c, true), _We2 = _slicedToArray(_We, 2), y = _We2[0], d = _We2[1], h.addEventListener("progress", y)), u && h.upload && (_We3 = We(u), _We4 = _slicedToArray(_We3, 2), p = _We4[0], v = _We4[1], h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = function l(g) {
1289
1289
  h && (n(!g || g.type ? new me(null, t, h) : g), h.abort(), h = null);
1290
1290
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1291
- var A = wi(o.url);
1292
- if (A && I.protocols.indexOf(A) === -1) {
1293
- n(new w("Unsupported protocol " + A + ":", w.ERR_BAD_REQUEST, t));
1291
+ var O = wi(o.url);
1292
+ if (O && I.protocols.indexOf(O) === -1) {
1293
+ n(new w("Unsupported protocol " + O + ":", w.ERR_BAD_REQUEST, t));
1294
1294
  return;
1295
1295
  }
1296
1296
  h.send(i || null);
@@ -1677,13 +1677,13 @@ var wn = function wn(t) {
1677
1677
  }();
1678
1678
  return /*#__PURE__*/function () {
1679
1679
  var _ref15 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(d) {
1680
- var _wn, m, h, b, A, g, E, O, U, T, V, _wn$withCredentials, L, M, Z, k, C, F, B, K, se, _sr, _sr2, it, $e, N, ae, j, ve, _K, _se, _ref16, _ref17, _it, _$e, we, _t8, _t9, _t0;
1680
+ var _wn, m, h, b, O, g, E, P, U, T, V, _wn$withCredentials, L, M, Z, k, C, F, B, K, se, _sr, _sr2, it, $e, N, ae, j, ve, _K, _se, _ref16, _ref17, _it, _$e, we, _t8, _t9, _t0;
1681
1681
  return _regenerator().w(function (_context8) {
1682
1682
  while (1) switch (_context8.p = _context8.n) {
1683
1683
  case 0:
1684
- _wn = wn(d), m = _wn.url, h = _wn.method, b = _wn.data, A = _wn.signal, g = _wn.cancelToken, E = _wn.timeout, O = _wn.onDownloadProgress, U = _wn.onUploadProgress, T = _wn.responseType, V = _wn.headers, _wn$withCredentials = _wn.withCredentials, L = _wn$withCredentials === void 0 ? "same-origin" : _wn$withCredentials, M = _wn.fetchOptions, Z = e || fetch;
1684
+ _wn = wn(d), m = _wn.url, h = _wn.method, b = _wn.data, O = _wn.signal, g = _wn.cancelToken, E = _wn.timeout, P = _wn.onDownloadProgress, U = _wn.onUploadProgress, T = _wn.responseType, V = _wn.headers, _wn$withCredentials = _wn.withCredentials, L = _wn$withCredentials === void 0 ? "same-origin" : _wn$withCredentials, M = _wn.fetchOptions, Z = e || fetch;
1685
1685
  T = T ? (T + "").toLowerCase() : "text";
1686
- k = xi([A, g && g.toAbortSignal()], E), C = null;
1686
+ k = xi([O, g && g.toAbortSignal()], E), C = null;
1687
1687
  F = k && k.unsubscribe && function () {
1688
1688
  k.unsubscribe();
1689
1689
  };
@@ -1709,7 +1709,7 @@ var wn = function wn(t) {
1709
1709
  duplex: "half"
1710
1710
  });
1711
1711
  if (f.isFormData(b) && (se = K.headers.get("content-type")) && V.setContentType(se), K.body) {
1712
- _sr = sr(B, ze(lr(U))), _sr2 = _slicedToArray(_sr, 2), it = _sr2[0], $e = _sr2[1];
1712
+ _sr = sr(B, We(lr(U))), _sr2 = _slicedToArray(_sr, 2), it = _sr2[0], $e = _sr2[1];
1713
1713
  b = ur(K.body, fr, it, $e);
1714
1714
  }
1715
1715
  case 4:
@@ -1728,12 +1728,12 @@ var wn = function wn(t) {
1728
1728
  case 5:
1729
1729
  j = _context8.v;
1730
1730
  ve = l && (T === "stream" || T === "response");
1731
- if (l && (O || ve && F)) {
1731
+ if (l && (P || ve && F)) {
1732
1732
  _K = {};
1733
1733
  ["status", "statusText", "headers"].forEach(function (tr) {
1734
1734
  _K[tr] = j[tr];
1735
1735
  });
1736
- _se = f.toFiniteNumber(j.headers.get("content-length")), _ref16 = O && sr(_se, ze(lr(O), !0)) || [], _ref17 = _slicedToArray(_ref16, 2), _it = _ref17[0], _$e = _ref17[1];
1736
+ _se = f.toFiniteNumber(j.headers.get("content-length")), _ref16 = P && sr(_se, We(lr(P), !0)) || [], _ref17 = _slicedToArray(_ref16, 2), _it = _ref17[0], _$e = _ref17[1];
1737
1737
  j = new n(ur(j.body, fr, _it, function () {
1738
1738
  _$e && _$e(), F && F();
1739
1739
  }), _K);
@@ -2231,28 +2231,28 @@ function On(t) {
2231
2231
  return On(ne(t, o));
2232
2232
  }, r;
2233
2233
  }
2234
- var P = On(Ce);
2235
- P.Axios = te;
2236
- P.CanceledError = me;
2237
- P.CancelToken = Jt;
2238
- P.isCancel = mn;
2239
- P.VERSION = En;
2240
- P.toFormData = Ye;
2241
- P.AxiosError = w;
2242
- P.Cancel = P.CanceledError;
2243
- P.all = function (e) {
2234
+ var R = On(Ce);
2235
+ R.Axios = te;
2236
+ R.CanceledError = me;
2237
+ R.CancelToken = Jt;
2238
+ R.isCancel = mn;
2239
+ R.VERSION = En;
2240
+ R.toFormData = Ye;
2241
+ R.AxiosError = w;
2242
+ R.Cancel = R.CanceledError;
2243
+ R.all = function (e) {
2244
2244
  return Promise.all(e);
2245
2245
  };
2246
- P.spread = Bi;
2247
- P.isAxiosError = Mi;
2248
- P.mergeConfig = ne;
2249
- P.AxiosHeaders = D;
2250
- P.formToJSON = function (t) {
2246
+ R.spread = Bi;
2247
+ R.isAxiosError = Mi;
2248
+ R.mergeConfig = ne;
2249
+ R.AxiosHeaders = D;
2250
+ R.formToJSON = function (t) {
2251
2251
  return hn(f.isHTMLForm(t) ? new FormData(t) : t);
2252
2252
  };
2253
- P.getAdapter = Sn.getAdapter;
2254
- P.HttpStatusCode = $t;
2255
- P["default"] = P;
2253
+ R.getAdapter = Sn.getAdapter;
2254
+ R.HttpStatusCode = $t;
2255
+ R["default"] = R;
2256
2256
  var vr = (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" ? globalThis : (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window : (typeof global === "undefined" ? "undefined" : _typeof(global)) < "u" ? global : (typeof self === "undefined" ? "undefined" : _typeof(self)) < "u" ? self : {};
2257
2257
  function ki(t) {
2258
2258
  return t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t["default"] : t;
@@ -2286,7 +2286,7 @@ var ji = {},
2286
2286
  }, Symbol.toStringTag, {
2287
2287
  value: "Module"
2288
2288
  })),
2289
- Wi = /* @__PURE__ */qi(Hi);
2289
+ zi = /* @__PURE__ */qi(Hi);
2290
2290
  var Vt = typeof Map == "function" && Map.prototype,
2291
2291
  ct = Object.getOwnPropertyDescriptor && Vt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null,
2292
2292
  Ge = Vt && ct && typeof ct.get == "function" ? ct.get : null,
@@ -2295,8 +2295,8 @@ var Vt = typeof Map == "function" && Map.prototype,
2295
2295
  ut = Object.getOwnPropertyDescriptor && Kt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null,
2296
2296
  Je = Kt && ut && typeof ut.get == "function" ? ut.get : null,
2297
2297
  br = Kt && Set.prototype.forEach,
2298
- zi = typeof WeakMap == "function" && WeakMap.prototype,
2299
- Ee = zi ? WeakMap.prototype.has : null,
2298
+ Wi = typeof WeakMap == "function" && WeakMap.prototype,
2299
+ Ee = Wi ? WeakMap.prototype.has : null,
2300
2300
  Gi = typeof WeakSet == "function" && WeakSet.prototype,
2301
2301
  Oe = Gi ? WeakSet.prototype.has : null,
2302
2302
  Ji = typeof WeakRef == "function" && WeakRef.prototype,
@@ -2336,7 +2336,7 @@ function Pr(t, e) {
2336
2336
  }
2337
2337
  return Q.call(e, r, "$&_");
2338
2338
  }
2339
- var Lt = Wi,
2339
+ var Lt = zi,
2340
2340
  Tr = Lt.custom,
2341
2341
  xr = xn(Tr) ? Tr : null,
2342
2342
  Pn = {
@@ -2394,7 +2394,7 @@ var Lt = Wi,
2394
2394
  return _typeof(e) == "object" && !de ? Se(m) : m;
2395
2395
  }
2396
2396
  if (ha(e)) {
2397
- for (var h = "<" + Er.call(String(e.nodeName)), b = e.attributes || [], A = 0; A < b.length; A++) h += " " + b[A].name + "=" + Tn(ta(b[A].value), "double", i);
2397
+ for (var h = "<" + Er.call(String(e.nodeName)), b = e.attributes || [], O = 0; O < b.length; O++) h += " " + b[O].name + "=" + Tn(ta(b[O].value), "double", i);
2398
2398
  return h += ">", e.childNodes && e.childNodes.length && (h += "..."), h += "</" + Er.call(String(e.nodeName)) + ">", h;
2399
2399
  }
2400
2400
  if (Bt(e)) {
@@ -2413,10 +2413,10 @@ var Lt = Wi,
2413
2413
  if (a !== "symbol" && typeof e.inspect == "function") return e.inspect();
2414
2414
  }
2415
2415
  if (ua(e)) {
2416
- var O = [];
2416
+ var P = [];
2417
2417
  return wr && wr.call(e, function (C, F) {
2418
- O.push(y(F, e, true) + " => " + y(C, e));
2419
- }), Cr("Map", Ge.call(e), O, p);
2418
+ P.push(y(F, e, true) + " => " + y(C, e));
2419
+ }), Cr("Map", Ge.call(e), P, p);
2420
2420
  }
2421
2421
  if (da(e)) {
2422
2422
  var U = [];
@@ -2755,7 +2755,7 @@ function Ha() {
2755
2755
  }), dt;
2756
2756
  }
2757
2757
  var yt, Nr;
2758
- function Wa() {
2758
+ function za() {
2759
2759
  if (Nr) return yt;
2760
2760
  Nr = 1;
2761
2761
  var t = (typeof Symbol === "undefined" ? "undefined" : _typeof(Symbol)) < "u" && Symbol,
@@ -2776,7 +2776,7 @@ function $n() {
2776
2776
  return mt = t.getPrototypeOf || null, mt;
2777
2777
  }
2778
2778
  var gt, Dr;
2779
- function za() {
2779
+ function Wa() {
2780
2780
  if (Dr) return gt;
2781
2781
  Dr = 1;
2782
2782
  var t = "Function.prototype.bind called on incompatible ",
@@ -2817,7 +2817,7 @@ var vt, Ur;
2817
2817
  function nt() {
2818
2818
  if (Ur) return vt;
2819
2819
  Ur = 1;
2820
- var t = za();
2820
+ var t = Wa();
2821
2821
  return vt = Function.prototype.bind || t, vt;
2822
2822
  }
2823
2823
  var wt, Lr;
@@ -2928,7 +2928,7 @@ var S,
2928
2928
  }
2929
2929
  }
2930
2930
  }() : Rt,
2931
- le = Wa()(),
2931
+ le = za()(),
2932
2932
  _ = ns(),
2933
2933
  bs = $n(),
2934
2934
  Ss = In(),
@@ -3168,13 +3168,13 @@ var As = function t(e) {
3168
3168
  Ie = qn,
3169
3169
  $s = tt,
3170
3170
  Ds = ge,
3171
- Wr = Is("%Map%", true),
3171
+ zr = Is("%Map%", true),
3172
3172
  Us = Ie("Map.prototype.get", true),
3173
3173
  Ls = Ie("Map.prototype.set", true),
3174
3174
  Bs = Ie("Map.prototype.has", true),
3175
3175
  Ms = Ie("Map.prototype.delete", true),
3176
3176
  ks = Ie("Map.prototype.size", true),
3177
- jn = !!Wr && /** @type {Exclude<import('.'), false>} */
3177
+ jn = !!zr && /** @type {Exclude<import('.'), false>} */
3178
3178
  function () {
3179
3179
  var e,
3180
3180
  r = {
@@ -3195,7 +3195,7 @@ var As = function t(e) {
3195
3195
  return e ? Bs(e, n) : false;
3196
3196
  },
3197
3197
  set: function set(n, o) {
3198
- e || (e = new Wr()), Ls(e, n, o);
3198
+ e || (e = new zr()), Ls(e, n, o);
3199
3199
  }
3200
3200
  };
3201
3201
  return r;
@@ -3206,8 +3206,8 @@ var As = function t(e) {
3206
3206
  Le = jn,
3207
3207
  Hs = ge,
3208
3208
  ce = qs("%WeakMap%", true),
3209
- Ws = ot("WeakMap.prototype.get", true),
3210
- zs = ot("WeakMap.prototype.set", true),
3209
+ zs = ot("WeakMap.prototype.get", true),
3210
+ Ws = ot("WeakMap.prototype.set", true),
3211
3211
  Gs = ot("WeakMap.prototype.has", true),
3212
3212
  Js = ot("WeakMap.prototype.delete", true),
3213
3213
  Vs = ce ? (/** @type {Exclude<import('.'), false>} */
@@ -3225,13 +3225,13 @@ var As = function t(e) {
3225
3225
  return false;
3226
3226
  },
3227
3227
  get: function get(o) {
3228
- return ce && o && (_typeof(o) == "object" || typeof o == "function") && e ? Ws(e, o) : r && r.get(o);
3228
+ return ce && o && (_typeof(o) == "object" || typeof o == "function") && e ? zs(e, o) : r && r.get(o);
3229
3229
  },
3230
3230
  has: function has(o) {
3231
3231
  return ce && o && (_typeof(o) == "object" || typeof o == "function") && e ? Gs(e, o) : !!r && r.has(o);
3232
3232
  },
3233
3233
  set: function set(o, i) {
3234
- ce && o && (_typeof(o) == "object" || typeof o == "function") ? (e || (e = new ce()), zs(e, o, i)) : Le && (r || (r = Le()), r.set(o, i));
3234
+ ce && o && (_typeof(o) == "object" || typeof o == "function") ? (e || (e = new ce()), Ws(e, o, i)) : Le && (r || (r = Le()), r.set(o, i));
3235
3235
  }
3236
3236
  };
3237
3237
  return n;
@@ -3285,7 +3285,7 @@ var As = function t(e) {
3285
3285
  ol = Yt,
3286
3286
  Tt = Object.prototype.hasOwnProperty,
3287
3287
  Y = Array.isArray,
3288
- W = function () {
3288
+ z = function () {
3289
3289
  for (var t = [], e = 0; e < 256; ++e) t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
3290
3290
  return t;
3291
3291
  }(),
@@ -3352,18 +3352,18 @@ var As = function t(e) {
3352
3352
  continue;
3353
3353
  }
3354
3354
  if (y < 128) {
3355
- l[l.length] = W[y];
3355
+ l[l.length] = z[y];
3356
3356
  continue;
3357
3357
  }
3358
3358
  if (y < 2048) {
3359
- l[l.length] = W[192 | y >> 6] + W[128 | y & 63];
3359
+ l[l.length] = z[192 | y >> 6] + z[128 | y & 63];
3360
3360
  continue;
3361
3361
  }
3362
3362
  if (y < 55296 || y >= 57344) {
3363
- l[l.length] = W[224 | y >> 12] + W[128 | y >> 6 & 63] + W[128 | y & 63];
3363
+ l[l.length] = z[224 | y >> 12] + z[128 | y >> 6 & 63] + z[128 | y & 63];
3364
3364
  continue;
3365
3365
  }
3366
- p += 1, y = 65536 + ((y & 1023) << 10 | c.charCodeAt(p) & 1023), l[l.length] = W[240 | y >> 18] + W[128 | y >> 12 & 63] + W[128 | y >> 6 & 63] + W[128 | y & 63];
3366
+ p += 1, y = 65536 + ((y & 1023) << 10 | c.charCodeAt(p) & 1023), l[l.length] = z[240 | y >> 18] + z[128 | y >> 12 & 63] + z[128 | y >> 6 & 63] + z[128 | y & 63];
3367
3367
  }
3368
3368
  s += l.join("");
3369
3369
  }
@@ -3401,7 +3401,7 @@ var As = function t(e) {
3401
3401
  }
3402
3402
  return r(e);
3403
3403
  },
3404
- Wn = {
3404
+ zn = {
3405
3405
  arrayToObject: Hn,
3406
3406
  assign: sl,
3407
3407
  combine: dl,
@@ -3413,8 +3413,8 @@ var As = function t(e) {
3413
3413
  maybeMap: yl,
3414
3414
  merge: al
3415
3415
  },
3416
- zn = tl,
3417
- We = Wn,
3416
+ Wn = tl,
3417
+ ze = zn,
3418
3418
  Re = Yt,
3419
3419
  hl = Object.prototype.hasOwnProperty,
3420
3420
  Gn = {
@@ -3429,13 +3429,13 @@ var As = function t(e) {
3429
3429
  return e;
3430
3430
  }
3431
3431
  },
3432
- z = Array.isArray,
3432
+ W = Array.isArray,
3433
3433
  ml = Array.prototype.push,
3434
3434
  Jn = function Jn(t, e) {
3435
- ml.apply(t, z(e) ? e : [e]);
3435
+ ml.apply(t, W(e) ? e : [e]);
3436
3436
  },
3437
3437
  gl = Date.prototype.toISOString,
3438
- zr = Re["default"],
3438
+ Wr = Re["default"],
3439
3439
  x = {
3440
3440
  addQueryPrefix: false,
3441
3441
  allowDots: false,
@@ -3447,11 +3447,11 @@ var As = function t(e) {
3447
3447
  delimiter: "&",
3448
3448
  encode: true,
3449
3449
  encodeDotInKeys: false,
3450
- encoder: We.encode,
3450
+ encoder: ze.encode,
3451
3451
  encodeValuesOnly: false,
3452
3452
  filter: undefined,
3453
- format: zr,
3454
- formatter: Re.formatters[zr],
3453
+ format: Wr,
3454
+ formatter: Re.formatters[Wr],
3455
3455
  // deprecated
3456
3456
  indices: false,
3457
3457
  serializeDate: function serializeDate(e) {
@@ -3464,22 +3464,22 @@ var As = function t(e) {
3464
3464
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || _typeof(e) == "symbol" || typeof e == "bigint";
3465
3465
  },
3466
3466
  _t = {},
3467
- wl = function t(e, r, n, o, i, a, s, u, c, l, p, y, v, d, m, h, b, A) {
3468
- for (var g = e, E = A, O = 0, U = false; (E = E.get(_t)) !== undefined && !U;) {
3467
+ wl = function t(e, r, n, o, i, a, s, u, c, l, p, y, v, d, m, h, b, O) {
3468
+ for (var g = e, E = O, P = 0, U = false; (E = E.get(_t)) !== undefined && !U;) {
3469
3469
  var T = E.get(e);
3470
- if (O += 1, _typeof(T) < "u") {
3471
- if (T === O) throw new RangeError("Cyclic object value");
3470
+ if (P += 1, _typeof(T) < "u") {
3471
+ if (T === P) throw new RangeError("Cyclic object value");
3472
3472
  U = true;
3473
3473
  }
3474
- _typeof(E.get(_t)) > "u" && (O = 0);
3474
+ _typeof(E.get(_t)) > "u" && (P = 0);
3475
3475
  }
3476
- if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && z(g) && (g = We.maybeMap(g, function (we) {
3476
+ if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && W(g) && (g = ze.maybeMap(g, function (we) {
3477
3477
  return we instanceof Date ? v(we) : we;
3478
3478
  })), g === null) {
3479
3479
  if (a) return c && !h ? c(r, x.encoder, b, "key", d) : r;
3480
3480
  g = "";
3481
3481
  }
3482
- if (vl(g) || We.isBuffer(g)) {
3482
+ if (vl(g) || ze.isBuffer(g)) {
3483
3483
  if (c) {
3484
3484
  var V = h ? r : c(r, x.encoder, b, "key", d);
3485
3485
  return [m(V) + "=" + m(c(g, x.encoder, b, "value", d))];
@@ -3489,24 +3489,24 @@ var As = function t(e) {
3489
3489
  var L = [];
3490
3490
  if (_typeof(g) > "u") return L;
3491
3491
  var M;
3492
- if (n === "comma" && z(g)) h && c && (g = We.maybeMap(g, c)), M = [{
3492
+ if (n === "comma" && W(g)) h && c && (g = ze.maybeMap(g, c)), M = [{
3493
3493
  value: g.length > 0 ? g.join(",") || null : undefined
3494
- }];else if (z(l)) M = l;else {
3494
+ }];else if (W(l)) M = l;else {
3495
3495
  var Z = Object.keys(g);
3496
3496
  M = p ? Z.sort(p) : Z;
3497
3497
  }
3498
3498
  var k = u ? String(r).replace(/\./g, "%2E") : String(r),
3499
- C = o && z(g) && g.length === 1 ? k + "[]" : k;
3500
- if (i && z(g) && g.length === 0) return C + "[]";
3499
+ C = o && W(g) && g.length === 1 ? k + "[]" : k;
3500
+ if (i && W(g) && g.length === 0) return C + "[]";
3501
3501
  for (var F = 0; F < M.length; ++F) {
3502
3502
  var B = M[F],
3503
3503
  N = _typeof(B) == "object" && B && _typeof(B.value) < "u" ? B.value : g[B];
3504
3504
  if (!(s && N === null)) {
3505
3505
  var ae = y && u ? String(B).replace(/\./g, "%2E") : String(B),
3506
- j = z(g) ? typeof n == "function" ? n(C, ae) : C : C + (y ? "." + ae : "[" + ae + "]");
3507
- A.set(e, O);
3508
- var ve = zn();
3509
- ve.set(_t, A), Jn(L, t(N, j, n, o, i, a, s, u, n === "comma" && h && z(g) ? null : c, l, p, y, v, d, m, h, b, ve));
3506
+ j = W(g) ? typeof n == "function" ? n(C, ae) : C : C + (y ? "." + ae : "[" + ae + "]");
3507
+ O.set(e, P);
3508
+ var ve = Wn();
3509
+ ve.set(_t, O), Jn(L, t(N, j, n, o, i, a, s, u, n === "comma" && h && W(g) ? null : c, l, p, y, v, d, m, h, b, ve));
3510
3510
  }
3511
3511
  }
3512
3512
  return L;
@@ -3525,7 +3525,7 @@ var As = function t(e) {
3525
3525
  }
3526
3526
  var o = Re.formatters[n],
3527
3527
  i = x.filter;
3528
- (typeof e.filter == "function" || z(e.filter)) && (i = e.filter);
3528
+ (typeof e.filter == "function" || W(e.filter)) && (i = e.filter);
3529
3529
  var a;
3530
3530
  if (e.arrayFormat in Gn ? a = e.arrayFormat : "indices" in e ? a = e.indices ? "indices" : "repeat" : a = x.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean") throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
3531
3531
  var s = _typeof(e.allowDots) > "u" ? e.encodeDotInKeys === true ? true : x.allowDots : !!e.allowDots;
@@ -3556,13 +3556,13 @@ var As = function t(e) {
3556
3556
  n = bl(e),
3557
3557
  o,
3558
3558
  i;
3559
- typeof n.filter == "function" ? (i = n.filter, r = i("", r)) : z(n.filter) && (i = n.filter, o = i);
3559
+ typeof n.filter == "function" ? (i = n.filter, r = i("", r)) : W(n.filter) && (i = n.filter, o = i);
3560
3560
  var a = [];
3561
3561
  if (_typeof(r) != "object" || r === null) return "";
3562
3562
  var s = Gn[n.arrayFormat],
3563
3563
  u = s === "comma" && n.commaRoundTrip;
3564
3564
  o || (o = Object.keys(r)), n.sort && o.sort(n.sort);
3565
- for (var c = zn(), l = 0; l < o.length; ++l) {
3565
+ for (var c = Wn(), l = 0; l < o.length; ++l) {
3566
3566
  var p = o[l],
3567
3567
  y = r[p];
3568
3568
  n.skipNulls && y === null || Jn(a, wl(y, p, s, u, n.allowEmptyArrays, n.strictNullHandling, n.skipNulls, n.encodeDotInKeys, n.encode ? n.encoder : null, n.filter, n.sort, n.allowDots, n.serializeDate, n.format, n.formatter, n.encodeValuesOnly, n.charset, c));
@@ -3571,10 +3571,10 @@ var As = function t(e) {
3571
3571
  d = n.addQueryPrefix === true ? "?" : "";
3572
3572
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? d += "utf8=%26%2310003%3B&" : d += "utf8=%E2%9C%93&"), v.length > 0 ? d + v : "";
3573
3573
  },
3574
- oe = Wn,
3574
+ oe = zn,
3575
3575
  kt = Object.prototype.hasOwnProperty,
3576
3576
  Gr = Array.isArray,
3577
- R = {
3577
+ A = {
3578
3578
  allowDots: false,
3579
3579
  allowEmptyArrays: false,
3580
3580
  allowPrototypes: false,
@@ -3628,8 +3628,8 @@ var As = function t(e) {
3628
3628
  y = p === -1 ? l.indexOf("=") : p + 1,
3629
3629
  v,
3630
3630
  d;
3631
- y === -1 ? (v = r.decoder(l, R.decoder, c, "key"), d = r.strictNullHandling ? null : "") : (v = r.decoder(l.slice(0, y), R.decoder, c, "key"), d = oe.maybeMap(Vn(l.slice(y + 1), r, Gr(n[v]) ? n[v].length : 0), function (h) {
3632
- return r.decoder(h, R.decoder, c, "value");
3631
+ y === -1 ? (v = r.decoder(l, A.decoder, c, "key"), d = r.strictNullHandling ? null : "") : (v = r.decoder(l.slice(0, y), A.decoder, c, "key"), d = oe.maybeMap(Vn(l.slice(y + 1), r, Gr(n[v]) ? n[v].length : 0), function (h) {
3632
+ return r.decoder(h, A.decoder, c, "value");
3633
3633
  })), d && r.interpretNumericEntities && c === "iso-8859-1" && (d = El(String(d))), l.indexOf("[]=") > -1 && (d = Gr(d) ? [d] : d);
3634
3634
  var m = kt.call(n, v);
3635
3635
  m && r.duplicates === "combine" ? n[v] = oe.combine(n[v], d) : (!m || r.duplicates === "last") && (n[v] = d);
@@ -3684,38 +3684,38 @@ var As = function t(e) {
3684
3684
  }
3685
3685
  },
3686
3686
  xl = function xl(e) {
3687
- if (!e) return R;
3687
+ if (!e) return A;
3688
3688
  if (_typeof(e.allowEmptyArrays) < "u" && typeof e.allowEmptyArrays != "boolean") throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
3689
3689
  if (_typeof(e.decodeDotInKeys) < "u" && typeof e.decodeDotInKeys != "boolean") throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
3690
3690
  if (e.decoder !== null && _typeof(e.decoder) < "u" && typeof e.decoder != "function") throw new TypeError("Decoder has to be a function.");
3691
3691
  if (_typeof(e.charset) < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1") throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
3692
3692
  if (_typeof(e.throwOnLimitExceeded) < "u" && typeof e.throwOnLimitExceeded != "boolean") throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
3693
- var r = _typeof(e.charset) > "u" ? R.charset : e.charset,
3694
- n = _typeof(e.duplicates) > "u" ? R.duplicates : e.duplicates;
3693
+ var r = _typeof(e.charset) > "u" ? A.charset : e.charset,
3694
+ n = _typeof(e.duplicates) > "u" ? A.duplicates : e.duplicates;
3695
3695
  if (n !== "combine" && n !== "first" && n !== "last") throw new TypeError("The duplicates option must be either combine, first, or last");
3696
- var o = _typeof(e.allowDots) > "u" ? e.decodeDotInKeys === true ? true : R.allowDots : !!e.allowDots;
3696
+ var o = _typeof(e.allowDots) > "u" ? e.decodeDotInKeys === true ? true : A.allowDots : !!e.allowDots;
3697
3697
  return {
3698
3698
  allowDots: o,
3699
- allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : R.allowEmptyArrays,
3700
- allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : R.allowPrototypes,
3701
- allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : R.allowSparse,
3702
- arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : R.arrayLimit,
3699
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : A.allowEmptyArrays,
3700
+ allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : A.allowPrototypes,
3701
+ allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : A.allowSparse,
3702
+ arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : A.arrayLimit,
3703
3703
  charset: r,
3704
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : R.charsetSentinel,
3705
- comma: typeof e.comma == "boolean" ? e.comma : R.comma,
3706
- decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : R.decodeDotInKeys,
3707
- decoder: typeof e.decoder == "function" ? e.decoder : R.decoder,
3708
- delimiter: typeof e.delimiter == "string" || oe.isRegExp(e.delimiter) ? e.delimiter : R.delimiter,
3704
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : A.charsetSentinel,
3705
+ comma: typeof e.comma == "boolean" ? e.comma : A.comma,
3706
+ decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : A.decodeDotInKeys,
3707
+ decoder: typeof e.decoder == "function" ? e.decoder : A.decoder,
3708
+ delimiter: typeof e.delimiter == "string" || oe.isRegExp(e.delimiter) ? e.delimiter : A.delimiter,
3709
3709
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
3710
- depth: typeof e.depth == "number" || e.depth === false ? +e.depth : R.depth,
3710
+ depth: typeof e.depth == "number" || e.depth === false ? +e.depth : A.depth,
3711
3711
  duplicates: n,
3712
3712
  ignoreQueryPrefix: e.ignoreQueryPrefix === true,
3713
- interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : R.interpretNumericEntities,
3714
- parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : R.parameterLimit,
3713
+ interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : A.interpretNumericEntities,
3714
+ parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : A.parameterLimit,
3715
3715
  parseArrays: e.parseArrays !== false,
3716
- plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : R.plainObjects,
3717
- strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : R.strictDepth,
3718
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : R.strictNullHandling,
3716
+ plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : A.plainObjects,
3717
+ strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : A.strictDepth,
3718
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : A.strictNullHandling,
3719
3719
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : false
3720
3720
  };
3721
3721
  },
@@ -3869,7 +3869,12 @@ var Ll = 5e3,
3869
3869
  var t = "/login";
3870
3870
  location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = false, (e = window.top) != null && e.vueRouter ? (r = window.top) == null || r.vueRouter.replace(t) : window.location.replace("/#".concat(t)));
3871
3871
  },
3872
- Bl = /*#__PURE__*/function () {
3872
+ Bl = function Bl() {
3873
+ return sso.getQuery("code") || "" || Qn ? false : Xn() ? (Kn ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3874
+ redirect_uri: sso.real_uri
3875
+ })) : Zn(), true) : false;
3876
+ },
3877
+ Ml = /*#__PURE__*/function () {
3873
3878
  var _ref23 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(t) {
3874
3879
  var _t$data;
3875
3880
  var r;
@@ -3880,13 +3885,13 @@ var Ll = 5e3,
3880
3885
  }
3881
3886
  }, _callee0);
3882
3887
  }));
3883
- return function Bl(_x11) {
3888
+ return function Ml(_x11) {
3884
3889
  return _ref23.apply(this, arguments);
3885
3890
  };
3886
3891
  }(),
3887
- Ml = /*#__PURE__*/function () {
3892
+ kl = /*#__PURE__*/function () {
3888
3893
  var _ref24 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(t, e) {
3889
- var m, h, b, A, _i18nBridge$getI18nBr, r, n, o, i, a, s, u, c, l, _ref25, g, E, O, _ref26, _ref27, _g, _E, _O, y, v, d, _t11, _t12, _t13;
3894
+ var d, m, h, b, _i18nBridge$getI18nBr, r, n, o, i, a, s, u, c, _ref25, O, g, E, _ref26, _ref27, _O, _g, _E, p, y, v, _t11, _t12, _t13;
3890
3895
  return _regenerator().w(function (_context10) {
3891
3896
  while (1) switch (_context10.n) {
3892
3897
  case 0:
@@ -3897,33 +3902,31 @@ var Ll = 5e3,
3897
3902
  404: r("接口地址未找到"),
3898
3903
  500: r("服务器内部错误")
3899
3904
  };
3900
- s = ((m = t == null ? undefined : t.response) == null ? undefined : m.data) || {};
3901
- u = sso.getQuery("code") || "", c = s == null ? undefined : s.code, l = (h = t.response) == null ? undefined : h.status;
3902
- if (!(!u && !Qn && (c === 401 || l === 401))) {
3905
+ s = ((d = t == null ? undefined : t.response) == null ? undefined : d.data) || {};
3906
+ u = s == null ? undefined : s.code, c = (m = t.response) == null ? undefined : m.status;
3907
+ if (!(u === 401 || c === 401)) {
3903
3908
  _context10.n = 6;
3904
3909
  break;
3905
3910
  }
3906
- Xn() && (Kn ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3907
- redirect_uri: sso.real_uri
3908
- })) : Zn()), n = c || l, i = s;
3909
- g = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3910
- if (!(Vr && g && s != null && s.status)) {
3911
+ Bl(), n = u || c, i = s;
3912
+ O = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3913
+ if (!(Vr && O && s != null && s.status)) {
3911
3914
  _context10.n = 4;
3912
3915
  break;
3913
3916
  }
3914
- E = !(s != null && s.data) || !s.data.length ? [] : s.data, O = r.apply(void 0, [s.status].concat(_toConsumableArray(E)));
3915
- if (!(O === s.status)) {
3917
+ g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r.apply(void 0, [s.status].concat(_toConsumableArray(g)));
3918
+ if (!(E === s.status)) {
3916
3919
  _context10.n = 2;
3917
3920
  break;
3918
3921
  }
3919
3922
  _context10.n = 1;
3920
- return Xr(r, s.status, E);
3923
+ return Xr(r, s.status, g);
3921
3924
  case 1:
3922
3925
  _t11 = _context10.v;
3923
3926
  _context10.n = 3;
3924
3927
  break;
3925
3928
  case 2:
3926
- _t11 = O;
3929
+ _t11 = E;
3927
3930
  case 3:
3928
3931
  o = _t11;
3929
3932
  _context10.n = 5;
@@ -3944,13 +3947,13 @@ var Ll = 5e3,
3944
3947
  break;
3945
3948
  }
3946
3949
  _context10.n = 7;
3947
- return new Promise(function (g) {
3948
- var E = new FileReader();
3949
- E.readAsText(s, "utf-8"), E.onload = function () {
3950
+ return new Promise(function (O) {
3951
+ var g = new FileReader();
3952
+ g.readAsText(s, "utf-8"), g.onload = function () {
3950
3953
  try {
3951
- g(JSON.parse(E.result || "{}"));
3954
+ O(JSON.parse(g.result || "{}"));
3952
3955
  } catch (_unused21) {
3953
- g({
3956
+ O({
3954
3957
  code: 400,
3955
3958
  msg: r("解析错误")
3956
3959
  });
@@ -3965,24 +3968,24 @@ var Ll = 5e3,
3965
3968
  break;
3966
3969
  }
3967
3970
  n = s.code, i = s;
3968
- _g = (_ref26 = e == null ? undefined : e.i18n) !== null && _ref26 !== void 0 ? _ref26 : true;
3969
- if (!(Vr && _g && s != null && s.status)) {
3971
+ _O = (_ref26 = e == null ? undefined : e.i18n) !== null && _ref26 !== void 0 ? _ref26 : true;
3972
+ if (!(Vr && _O && s != null && s.status)) {
3970
3973
  _context10.n = 12;
3971
3974
  break;
3972
3975
  }
3973
- _E = !(s != null && s.data) || !s.data.length ? [] : s.data, _O = r.apply(void 0, [s.status].concat(_toConsumableArray(_E)));
3974
- if (!(_O === s.status)) {
3976
+ _g = !(s != null && s.data) || !s.data.length ? [] : s.data, _E = r.apply(void 0, [s.status].concat(_toConsumableArray(_g)));
3977
+ if (!(_E === s.status)) {
3975
3978
  _context10.n = 10;
3976
3979
  break;
3977
3980
  }
3978
3981
  _context10.n = 9;
3979
- return Xr(r, s.status, _E);
3982
+ return Xr(r, s.status, _g);
3980
3983
  case 9:
3981
3984
  _t13 = _context10.v;
3982
3985
  _context10.n = 11;
3983
3986
  break;
3984
3987
  case 10:
3985
- _t13 = _O;
3988
+ _t13 = _E;
3986
3989
  case 11:
3987
3990
  o = _t13;
3988
3991
  _context10.n = 13;
@@ -4002,11 +4005,11 @@ var Ll = 5e3,
4002
4005
  t.request ? (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("网络异常,请检查您的网络情况")) : (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("请求配置异常"));
4003
4006
  case 17:
4004
4007
  e != null && e.customErrorMessage && (o = e == null ? undefined : e.customErrorMessage(o, t));
4005
- y = Date.now(), v = o === Kr, d = y - Qr < Ul;
4006
- return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!v || !d) && ((A = (b = window.DasMessage) == null ? undefined : b.error) == null || A.call(b, {
4008
+ p = Date.now(), y = o === Kr, v = p - Qr < Ul;
4009
+ return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((b = (h = window.DasMessage) == null ? undefined : h.error) == null || b.call(h, {
4007
4010
  message: o,
4008
4011
  showClose: true
4009
- }), Kr = o, Qr = y), _objectSpread(_objectSpread({}, i), {}, {
4012
+ }), Kr = o, Qr = p), _objectSpread(_objectSpread({}, i), {}, {
4010
4013
  code: n,
4011
4014
  msg: o,
4012
4015
  error: t
@@ -4014,12 +4017,12 @@ var Ll = 5e3,
4014
4017
  }
4015
4018
  }, _callee1);
4016
4019
  }));
4017
- return function Ml(_x12, _x13) {
4020
+ return function kl(_x12, _x13) {
4018
4021
  return _ref24.apply(this, arguments);
4019
4022
  };
4020
4023
  }();
4021
- function Ql(t, e) {
4022
- var r = P.create();
4024
+ function Xl(t, e) {
4025
+ var r = R.create();
4023
4026
  return curringHttp.curringHttp(r, /*#__PURE__*/function () {
4024
4027
  var _ref28 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee10(n) {
4025
4028
  var _n$csrf, _ref29;
@@ -4079,7 +4082,7 @@ function Ql(t, e) {
4079
4082
  indices: false
4080
4083
  });
4081
4084
  }
4082
- }), n.onSuccess || (n.onSuccess = Bl), n.onError || (n.onError = Ml), ((_n$csrf = n.csrf) !== null && _n$csrf !== void 0 ? _n$csrf : false) && (n.headers["csrf-token"] = Jr.get("csrf-token"));
4085
+ }), n.onSuccess || (n.onSuccess = Ml), n.onError || (n.onError = kl), ((_n$csrf = n.csrf) !== null && _n$csrf !== void 0 ? _n$csrf : false) && (n.headers["csrf-token"] = Jr.get("csrf-token"));
4083
4086
  u = n.params || {};
4084
4087
  if (u.project === undefined) {
4085
4088
  _p = 0;
@@ -4101,4 +4104,5 @@ function Ql(t, e) {
4101
4104
  };
4102
4105
  }());
4103
4106
  }
4104
- exports.createService = Ql;
4107
+ exports.createService = Xl;
4108
+ exports.handleUnauthorized = Bl;