@das-fed/upf-utils 6.4.0-dev.170 → 6.4.0-dev.172

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 (123) hide show
  1. package/api-services/es5.js +4661 -0
  2. package/api-services/i18n/es5.js +58 -0
  3. package/api-services/index.js +593 -611
  4. package/api-services/index.js.gz +0 -0
  5. package/api-services/modules/app-manage/index.js +847 -883
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/index.js +701 -715
  8. package/api-services/modules/authentication/index.js.gz +0 -0
  9. package/api-services/modules/bems/index.js +882 -882
  10. package/api-services/modules/bems/index.js.gz +0 -0
  11. package/api-services/modules/contract/index.js +880 -880
  12. package/api-services/modules/contract/index.js.gz +0 -0
  13. package/api-services/modules/duty-manage/index.js +473 -491
  14. package/api-services/modules/duty-manage/index.js.gz +0 -0
  15. package/api-services/modules/enterpriseright/index.js +490 -508
  16. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  17. package/api-services/modules/es5.js +4619 -0
  18. package/api-services/modules/file/index.js +942 -978
  19. package/api-services/modules/file/index.js.gz +0 -0
  20. package/api-services/modules/gateway-edge/index.js +701 -715
  21. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  22. package/api-services/modules/index.js +651 -669
  23. package/api-services/modules/index.js.gz +0 -0
  24. package/api-services/modules/iot/index.js +1104 -1140
  25. package/api-services/modules/iot/index.js.gz +0 -0
  26. package/api-services/modules/justauth/index.js +492 -510
  27. package/api-services/modules/justauth/index.js.gz +0 -0
  28. package/api-services/modules/knowledge/index.js +698 -712
  29. package/api-services/modules/knowledge/index.js.gz +0 -0
  30. package/api-services/modules/link/index.js +880 -880
  31. package/api-services/modules/link/index.js.gz +0 -0
  32. package/api-services/modules/permission/index.js +490 -508
  33. package/api-services/modules/permission/index.js.gz +0 -0
  34. package/api-services/modules/platformManage/index.js +463 -481
  35. package/api-services/modules/platformManage/index.js.gz +0 -0
  36. package/api-services/modules/portal/index.js +880 -880
  37. package/api-services/modules/portal/index.js.gz +0 -0
  38. package/api-services/modules/space-manage/index.js +487 -505
  39. package/api-services/modules/space-manage/index.js.gz +0 -0
  40. package/api-services/modules/super-admin/index.js +881 -881
  41. package/api-services/modules/super-admin/index.js.gz +0 -0
  42. package/api-services/modules/supplier/index.js +483 -501
  43. package/api-services/modules/supplier/index.js.gz +0 -0
  44. package/api-services/modules/supplychain-manage/index.js +490 -508
  45. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  46. package/api-services/modules/systemConfiguration/index.js +880 -880
  47. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  48. package/api-services/modules/tool/index.js +880 -880
  49. package/api-services/modules/tool/index.js.gz +0 -0
  50. package/api-services/src/create-service/index.js +865 -901
  51. package/api-services/src/create-service/index.js.gz +0 -0
  52. package/atob/es5.js +12 -0
  53. package/common-info/es5.js +219 -0
  54. package/common-info/getIframeUrl/es5.js +18 -0
  55. package/common-info/getInfoFromUrl/es5.js +94 -0
  56. package/common-info/index.js +18 -18
  57. package/common-info/index.js.gz +0 -0
  58. package/common-info/set-personal-info/es5.js +2212 -0
  59. package/common-info/set-personal-info/index.js +172 -189
  60. package/common-info/set-personal-info/index.js.gz +0 -0
  61. package/common-tools/arr-tools/es5.js +14 -0
  62. package/common-tools/calc-text-width/es5.js +10 -0
  63. package/common-tools/date-format/es5.js +20 -0
  64. package/common-tools/es5.js +128 -0
  65. package/common-tools/extract-file-name/es5.js +2213 -0
  66. package/common-tools/extract-file-name/index.js +138 -155
  67. package/common-tools/extract-file-name/index.js.gz +0 -0
  68. package/common-tools/get-file-extension/es5.js +7 -0
  69. package/common-tools/get-url-params/es5.js +109 -0
  70. package/common-tools/handle-data/es5.js +170 -0
  71. package/common-tools/handle-data/index.js +28 -28
  72. package/common-tools/handle-data/index.js.gz +0 -0
  73. package/common-tools/nest-tree-format/es5.js +58 -0
  74. package/common-tools/obj-tools/es5.js +15 -0
  75. package/common-tools/platform-tools/es5.js +24 -0
  76. package/common-tools/queue-promise/es5.js +15 -0
  77. package/common-tools/setHtmlMinWH/es5.js +8 -0
  78. package/common-tools/update-browser-title/es5.js +56 -0
  79. package/common-tools/update-fav-icon/es5.js +76 -0
  80. package/config/es5.js +17 -0
  81. package/create-api-service/check-token/es5.js +2307 -0
  82. package/create-api-service/check-token/index.js +158 -175
  83. package/create-api-service/check-token/index.js.gz +0 -0
  84. package/create-api-service/es5.js +3949 -0
  85. package/create-api-service/i18n/es5.js +38 -0
  86. package/create-api-service/index.js +503 -521
  87. package/create-api-service/index.js.gz +0 -0
  88. package/create-api-service/proxy-sso/es5.js +35 -0
  89. package/create-api-service/sso/es5.js +2823 -0
  90. package/create-api-service/sso/index.js +309 -327
  91. package/create-api-service/sso/index.js.gz +0 -0
  92. package/curring-http/es5.js +2915 -0
  93. package/curring-http/index.js +285 -303
  94. package/curring-http/index.js.gz +0 -0
  95. package/dimple-canvas/es5.js +15 -0
  96. package/directive/auth/es5.js +96 -0
  97. package/directive/clickOutside/es5.js +87 -0
  98. package/directive/es5.js +23 -0
  99. package/directive/hoverInside/es5.js +61 -0
  100. package/directive/utils/es5.js +38 -0
  101. package/dom-check-in/es5.js +13 -0
  102. package/dom-watcher/es5.js +15 -0
  103. package/hooks/use-get-auth/es5.js +201 -0
  104. package/hooks/use-get-auth/index.js +22 -22
  105. package/hooks/use-get-auth/index.js.gz +0 -0
  106. package/load-js/es5.js +15 -0
  107. package/nextTiken/es5.js +70 -0
  108. package/oss/es5.js +13 -0
  109. package/package.json +17 -4
  110. package/pinyin-first-character/es5.js +9313 -0
  111. package/pinyin-first-character/index.js +24 -24
  112. package/pinyin-first-character/index.js.gz +0 -0
  113. package/process-engine-info/es5.js +20 -0
  114. package/pure-image-src/es5.js +30 -0
  115. package/size-watcher/es5.js +35 -0
  116. package/style/es5.js +143 -0
  117. package/token-tools/es5.js +26 -0
  118. package/use-low-code/es5.js +117 -0
  119. package/use-low-code/index.js +2 -2
  120. package/use-low-code/index.js.gz +0 -0
  121. package/vue/es5.js +9 -0
  122. package/webSocket-service/es5.js +122 -0
  123. package/with-install/es5.js +8 -0
@@ -1,32 +1,32 @@
1
1
  import { getConfig as st } from "@das-fed/upf-utils/config";
2
- function Ue(e, t) {
2
+ function Le(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
5
5
  };
6
6
  }
7
- const { toString: ot } = Object.prototype, { getPrototypeOf: fe } = Object, { iterator: X, toStringTag: Le } = Symbol, G = /* @__PURE__ */ ((e) => (t) => {
7
+ const { toString: ot } = Object.prototype, { getPrototypeOf: fe } = Object, { iterator: X, toStringTag: ke } = Symbol, G = /* @__PURE__ */ ((e) => (t) => {
8
8
  const n = ot.call(t);
9
9
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
10
10
  })(/* @__PURE__ */ Object.create(null)), C = (e) => (e = e.toLowerCase(), (t) => G(t) === e), Q = (e) => (t) => typeof t === e, { isArray: B } = Array, I = Q("undefined");
11
11
  function it(e) {
12
12
  return e !== null && !I(e) && e.constructor !== null && !I(e.constructor) && A(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
13
  }
14
- const ke = C("ArrayBuffer");
14
+ const Be = C("ArrayBuffer");
15
15
  function at(e) {
16
16
  let t;
17
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ke(e.buffer), t;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Be(e.buffer), t;
18
18
  }
19
- const ct = Q("string"), A = Q("function"), Be = Q("number"), Y = (e) => e !== null && typeof e == "object", lt = (e) => e === !0 || e === !1, $ = (e) => {
19
+ const ct = Q("string"), A = Q("function"), De = Q("number"), Y = (e) => e !== null && typeof e == "object", lt = (e) => e === !0 || e === !1, J = (e) => {
20
20
  if (G(e) !== "object")
21
21
  return !1;
22
22
  const t = fe(e);
23
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Le in e) && !(X in e);
23
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(ke in e) && !(X in e);
24
24
  }, ut = C("Date"), ft = C("File"), dt = C("Blob"), pt = C("FileList"), ht = (e) => Y(e) && A(e.pipe), mt = (e) => {
25
25
  let t;
26
26
  return e && (typeof FormData == "function" && e instanceof FormData || A(e.append) && ((t = G(e)) === "formdata" || // detect form-data instance
27
27
  t === "object" && A(e.toString) && e.toString() === "[object FormData]"));
28
28
  }, yt = C("URLSearchParams"), [wt, bt, Et, Rt] = ["ReadableStream", "Request", "Response", "Headers"].map(C), gt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
- function H(e, t, { allOwnKeys: n = !1 } = {}) {
29
+ function M(e, t, { allOwnKeys: n = !1 } = {}) {
30
30
  if (e === null || typeof e > "u")
31
31
  return;
32
32
  let r, s;
@@ -40,7 +40,7 @@ function H(e, t, { allOwnKeys: n = !1 } = {}) {
40
40
  c = o[r], t.call(null, e[c], c, e);
41
41
  }
42
42
  }
43
- function De(e, t) {
43
+ function je(e, t) {
44
44
  t = t.toLowerCase();
45
45
  const n = Object.keys(e);
46
46
  let r = n.length, s;
@@ -49,18 +49,18 @@ function De(e, t) {
49
49
  return s;
50
50
  return null;
51
51
  }
52
- const U = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, je = (e) => !I(e) && e !== U;
52
+ const U = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, qe = (e) => !I(e) && e !== U;
53
53
  function oe() {
54
- const { caseless: e } = je(this) && this || {}, t = {}, n = (r, s) => {
55
- const o = e && De(t, s) || s;
56
- $(t[o]) && $(r) ? t[o] = oe(t[o], r) : $(r) ? t[o] = oe({}, r) : B(r) ? t[o] = r.slice() : t[o] = r;
54
+ const { caseless: e } = qe(this) && this || {}, t = {}, n = (r, s) => {
55
+ const o = e && je(t, s) || s;
56
+ J(t[o]) && J(r) ? t[o] = oe(t[o], r) : J(r) ? t[o] = oe({}, r) : B(r) ? t[o] = r.slice() : t[o] = r;
57
57
  };
58
58
  for (let r = 0, s = arguments.length; r < s; r++)
59
- arguments[r] && H(arguments[r], n);
59
+ arguments[r] && M(arguments[r], n);
60
60
  return t;
61
61
  }
62
- const St = (e, t, n, { allOwnKeys: r } = {}) => (H(t, (s, o) => {
63
- n && A(s) ? e[o] = Ue(s, n) : e[o] = s;
62
+ const St = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
63
+ n && A(s) ? e[o] = Le(s, n) : e[o] = s;
64
64
  }, { allOwnKeys: r }), e), Tt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ot = (e, t, n, r) => {
65
65
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
66
66
  value: t.prototype
@@ -83,7 +83,7 @@ const St = (e, t, n, { allOwnKeys: r } = {}) => (H(t, (s, o) => {
83
83
  if (!e) return null;
84
84
  if (B(e)) return e;
85
85
  let t = e.length;
86
- if (!Be(t)) return null;
86
+ if (!De(t)) return null;
87
87
  const n = new Array(t);
88
88
  for (; t-- > 0; )
89
89
  n[t] = e[t];
@@ -106,14 +106,14 @@ const St = (e, t, n, { allOwnKeys: r } = {}) => (H(t, (s, o) => {
106
106
  function(n, r, s) {
107
107
  return r.toUpperCase() + s;
108
108
  }
109
- ), me = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Lt = C("RegExp"), qe = (e, t) => {
109
+ ), ye = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Lt = C("RegExp"), Ie = (e, t) => {
110
110
  const n = Object.getOwnPropertyDescriptors(e), r = {};
111
- H(n, (s, o) => {
111
+ M(n, (s, o) => {
112
112
  let i;
113
113
  (i = t(s, o, e)) !== !1 && (r[o] = i || s);
114
114
  }), Object.defineProperties(e, r);
115
115
  }, kt = (e) => {
116
- qe(e, (t, n) => {
116
+ Ie(e, (t, n) => {
117
117
  if (A(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
118
118
  return !1;
119
119
  const r = e[n];
@@ -137,7 +137,7 @@ const St = (e, t, n, { allOwnKeys: r } = {}) => (H(t, (s, o) => {
137
137
  }, Dt = () => {
138
138
  }, jt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
139
139
  function qt(e) {
140
- return !!(e && A(e.append) && e[Le] === "FormData" && e[X]);
140
+ return !!(e && A(e.append) && e[ke] === "FormData" && e[X]);
141
141
  }
142
142
  const It = (e) => {
143
143
  const t = new Array(10), n = (r, s) => {
@@ -147,7 +147,7 @@ const It = (e) => {
147
147
  if (!("toJSON" in r)) {
148
148
  t[s] = r;
149
149
  const o = B(r) ? [] : {};
150
- return H(r, (i, c) => {
150
+ return M(r, (i, c) => {
151
151
  const f = n(i, s + 1);
152
152
  !I(f) && (o[c] = f);
153
153
  }), t[s] = void 0, o;
@@ -156,24 +156,24 @@ const It = (e) => {
156
156
  return r;
157
157
  };
158
158
  return n(e, 0);
159
- }, Ht = C("AsyncFunction"), Mt = (e) => e && (Y(e) || A(e)) && A(e.then) && A(e.catch), Ie = ((e, t) => e ? setImmediate : t ? ((n, r) => (U.addEventListener("message", ({ source: s, data: o }) => {
159
+ }, Mt = C("AsyncFunction"), Ht = (e) => e && (Y(e) || A(e)) && A(e.then) && A(e.catch), Me = ((e, t) => e ? setImmediate : t ? ((n, r) => (U.addEventListener("message", ({ source: s, data: o }) => {
160
160
  s === U && o === n && r.length && r.shift()();
161
161
  }, !1), (s) => {
162
162
  r.push(s), U.postMessage(n, "*");
163
163
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
164
164
  typeof setImmediate == "function",
165
165
  A(U.postMessage)
166
- ), zt = typeof queueMicrotask < "u" ? queueMicrotask.bind(U) : typeof process < "u" && process.nextTick || Ie, $t = (e) => e != null && A(e[X]), a = {
166
+ ), zt = typeof queueMicrotask < "u" ? queueMicrotask.bind(U) : typeof process < "u" && process.nextTick || Me, Jt = (e) => e != null && A(e[X]), a = {
167
167
  isArray: B,
168
- isArrayBuffer: ke,
168
+ isArrayBuffer: Be,
169
169
  isBuffer: it,
170
170
  isFormData: mt,
171
171
  isArrayBufferView: at,
172
172
  isString: ct,
173
- isNumber: Be,
173
+ isNumber: De,
174
174
  isBoolean: lt,
175
175
  isObject: Y,
176
- isPlainObject: $,
176
+ isPlainObject: J,
177
177
  isReadableStream: wt,
178
178
  isRequest: bt,
179
179
  isResponse: Et,
@@ -188,7 +188,7 @@ const It = (e) => {
188
188
  isURLSearchParams: yt,
189
189
  isTypedArray: Nt,
190
190
  isFileList: pt,
191
- forEach: H,
191
+ forEach: M,
192
192
  merge: oe,
193
193
  extend: St,
194
194
  trim: gt,
@@ -202,25 +202,25 @@ const It = (e) => {
202
202
  forEachEntry: Pt,
203
203
  matchAll: _t,
204
204
  isHTMLForm: Ft,
205
- hasOwnProperty: me,
206
- hasOwnProp: me,
205
+ hasOwnProperty: ye,
206
+ hasOwnProp: ye,
207
207
  // an alias to avoid ESLint no-prototype-builtins detection
208
- reduceDescriptors: qe,
208
+ reduceDescriptors: Ie,
209
209
  freezeMethods: kt,
210
210
  toObjectSet: Bt,
211
211
  toCamelCase: Ut,
212
212
  noop: Dt,
213
213
  toFiniteNumber: jt,
214
- findKey: De,
214
+ findKey: je,
215
215
  global: U,
216
- isContextDefined: je,
216
+ isContextDefined: qe,
217
217
  isSpecCompliantForm: qt,
218
218
  toJSONObject: It,
219
- isAsyncFn: Ht,
220
- isThenable: Mt,
221
- setImmediate: Ie,
219
+ isAsyncFn: Mt,
220
+ isThenable: Ht,
221
+ setImmediate: Me,
222
222
  asap: zt,
223
- isIterable: $t
223
+ isIterable: Jt
224
224
  };
225
225
  function m(e, t, n, r, s) {
226
226
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
@@ -246,7 +246,7 @@ a.inherits(m, Error, {
246
246
  };
247
247
  }
248
248
  });
249
- const He = m.prototype, Me = {};
249
+ const He = m.prototype, ze = {};
250
250
  [
251
251
  "ERR_BAD_OPTION_VALUE",
252
252
  "ERR_BAD_OPTION",
@@ -262,9 +262,9 @@ const He = m.prototype, Me = {};
262
262
  "ERR_INVALID_URL"
263
263
  // eslint-disable-next-line func-names
264
264
  ].forEach((e) => {
265
- Me[e] = { value: e };
265
+ ze[e] = { value: e };
266
266
  });
267
- Object.defineProperties(m, Me);
267
+ Object.defineProperties(m, ze);
268
268
  Object.defineProperty(He, "isAxiosError", { value: !0 });
269
269
  m.from = (e, t, n, r, s, o) => {
270
270
  const i = Object.create(He);
@@ -272,22 +272,22 @@ m.from = (e, t, n, r, s, o) => {
272
272
  return f !== Error.prototype;
273
273
  }, (c) => c !== "isAxiosError"), m.call(i, e.message, t, n, r, s), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
274
274
  };
275
- const Jt = null;
275
+ const Vt = null;
276
276
  function ie(e) {
277
277
  return a.isPlainObject(e) || a.isArray(e);
278
278
  }
279
- function ze(e) {
279
+ function Je(e) {
280
280
  return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
281
281
  }
282
- function ye(e, t, n) {
282
+ function we(e, t, n) {
283
283
  return e ? e.concat(t).map(function(s, o) {
284
- return s = ze(s), !n && o ? "[" + s + "]" : s;
284
+ return s = Je(s), !n && o ? "[" + s + "]" : s;
285
285
  }).join(n ? "." : "") : t;
286
286
  }
287
- function Vt(e) {
287
+ function Wt(e) {
288
288
  return a.isArray(e) && !e.some(ie);
289
289
  }
290
- const Wt = a.toFlatObject(a, {}, null, function(t) {
290
+ const $t = a.toFlatObject(a, {}, null, function(t) {
291
291
  return /^is[A-Z]/.test(t);
292
292
  });
293
293
  function Z(e, t, n) {
@@ -318,18 +318,18 @@ function Z(e, t, n) {
318
318
  if (d && !h && typeof d == "object") {
319
319
  if (a.endsWith(y, "{}"))
320
320
  y = r ? y : y.slice(0, -2), d = JSON.stringify(d);
321
- else if (a.isArray(d) && Vt(d) || (a.isFileList(d) || a.endsWith(y, "[]")) && (b = a.toArray(d)))
322
- return y = ze(y), b.forEach(function(S, P) {
321
+ else if (a.isArray(d) && Wt(d) || (a.isFileList(d) || a.endsWith(y, "[]")) && (b = a.toArray(d)))
322
+ return y = Je(y), b.forEach(function(S, P) {
323
323
  !(a.isUndefined(S) || S === null) && t.append(
324
324
  // eslint-disable-next-line no-nested-ternary
325
- i === !0 ? ye([y], P, o) : i === null ? y : y + "[]",
325
+ i === !0 ? we([y], P, o) : i === null ? y : y + "[]",
326
326
  l(S)
327
327
  );
328
328
  }), !1;
329
329
  }
330
- return ie(d) ? !0 : (t.append(ye(h, y, o), l(d)), !1);
330
+ return ie(d) ? !0 : (t.append(we(h, y, o), l(d)), !1);
331
331
  }
332
- const p = [], w = Object.assign(Wt, {
332
+ const p = [], w = Object.assign($t, {
333
333
  defaultVisitor: u,
334
334
  convertValue: l,
335
335
  isVisitable: ie
@@ -353,7 +353,7 @@ function Z(e, t, n) {
353
353
  throw new TypeError("data must be an object");
354
354
  return R(e), t;
355
355
  }
356
- function we(e) {
356
+ function be(e) {
357
357
  const t = {
358
358
  "!": "%21",
359
359
  "'": "%27",
@@ -370,14 +370,14 @@ function we(e) {
370
370
  function de(e, t) {
371
371
  this._pairs = [], e && Z(e, this, t);
372
372
  }
373
- const $e = de.prototype;
374
- $e.append = function(t, n) {
373
+ const Ve = de.prototype;
374
+ Ve.append = function(t, n) {
375
375
  this._pairs.push([t, n]);
376
376
  };
377
- $e.toString = function(t) {
377
+ Ve.toString = function(t) {
378
378
  const n = t ? function(r) {
379
- return t.call(this, r, we);
380
- } : we;
379
+ return t.call(this, r, be);
380
+ } : be;
381
381
  return this._pairs.map(function(s) {
382
382
  return n(s[0]) + "=" + n(s[1]);
383
383
  }, "").join("&");
@@ -385,7 +385,7 @@ $e.toString = function(t) {
385
385
  function vt(e) {
386
386
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
387
387
  }
388
- function Je(e, t, n) {
388
+ function We(e, t, n) {
389
389
  if (!t)
390
390
  return e;
391
391
  const r = n && n.encode || vt;
@@ -400,7 +400,7 @@ function Je(e, t, n) {
400
400
  }
401
401
  return e;
402
402
  }
403
- class be {
403
+ class Ee {
404
404
  constructor() {
405
405
  this.handlers = [];
406
406
  }
@@ -454,7 +454,7 @@ class be {
454
454
  });
455
455
  }
456
456
  }
457
- const Ve = {
457
+ const $e = {
458
458
  silentJSONParsing: !0,
459
459
  forcedJSONParsing: !0,
460
460
  clarifyTimeoutError: !1
@@ -497,7 +497,7 @@ function sn(e) {
497
497
  o = n[r], t[o] = e[o];
498
498
  return t;
499
499
  }
500
- function We(e) {
500
+ function ve(e) {
501
501
  function t(n, r, s, o) {
502
502
  let i = n[o++];
503
503
  if (i === "__proto__") return !0;
@@ -520,15 +520,15 @@ function on(e, t, n) {
520
520
  if (r.name !== "SyntaxError")
521
521
  throw r;
522
522
  }
523
- return (n || JSON.stringify)(e);
523
+ return (0, JSON.stringify)(e);
524
524
  }
525
- const M = {
526
- transitional: Ve,
525
+ const H = {
526
+ transitional: $e,
527
527
  adapter: ["xhr", "http", "fetch"],
528
528
  transformRequest: [function(t, n) {
529
529
  const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = a.isObject(t);
530
530
  if (o && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
531
- return s ? JSON.stringify(We(t)) : t;
531
+ return s ? JSON.stringify(ve(t)) : t;
532
532
  if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t) || a.isReadableStream(t))
533
533
  return t;
534
534
  if (a.isArrayBufferView(t))
@@ -551,7 +551,7 @@ const M = {
551
551
  return o || s ? (n.setContentType("application/json", !1), on(t)) : t;
552
552
  }],
553
553
  transformResponse: [function(t) {
554
- const n = this.transitional || M.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
554
+ const n = this.transitional || H.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
555
555
  if (a.isResponse(t) || a.isReadableStream(t))
556
556
  return t;
557
557
  if (t && a.isString(t) && (r && !this.responseType || s)) {
@@ -589,7 +589,7 @@ const M = {
589
589
  }
590
590
  };
591
591
  a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
592
- M.headers[e] = {};
592
+ H.headers[e] = {};
593
593
  });
594
594
  const an = a.toObjectSet([
595
595
  "age",
@@ -616,12 +616,12 @@ const an = a.toObjectSet([
616
616
  `).forEach(function(i) {
617
617
  s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && an[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
618
618
  }), t;
619
- }, Ee = Symbol("internals");
619
+ }, Re = Symbol("internals");
620
620
  function j(e) {
621
621
  return e && String(e).trim().toLowerCase();
622
622
  }
623
- function J(e) {
624
- return e === !1 || e == null ? e : a.isArray(e) ? e.map(J) : String(e);
623
+ function V(e) {
624
+ return e === !1 || e == null ? e : a.isArray(e) ? e.map(V) : String(e);
625
625
  }
626
626
  function ln(e) {
627
627
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -655,7 +655,7 @@ function dn(e, t) {
655
655
  });
656
656
  });
657
657
  }
658
- let x = class {
658
+ class x {
659
659
  constructor(t) {
660
660
  t && this.set(t);
661
661
  }
@@ -666,7 +666,7 @@ let x = class {
666
666
  if (!u)
667
667
  throw new Error("header name must be a non-empty string");
668
668
  const p = a.findKey(s, u);
669
- (!p || s[p] === void 0 || l === !0 || l === void 0 && s[p] !== !1) && (s[p || f] = J(c));
669
+ (!p || s[p] === void 0 || l === !0 || l === void 0 && s[p] !== !1) && (s[p || f] = V(c));
670
670
  }
671
671
  const i = (c, f) => a.forEach(c, (l, u) => o(l, u, f));
672
672
  if (a.isPlainObject(t) || t instanceof this.constructor)
@@ -734,11 +734,11 @@ let x = class {
734
734
  return a.forEach(this, (s, o) => {
735
735
  const i = a.findKey(r, o);
736
736
  if (i) {
737
- n[i] = J(s), delete n[o];
737
+ n[i] = V(s), delete n[o];
738
738
  return;
739
739
  }
740
740
  const c = t ? fn(o) : String(o).trim();
741
- c !== o && delete n[o], n[c] = J(s), r[c] = !0;
741
+ c !== o && delete n[o], n[c] = V(s), r[c] = !0;
742
742
  }), this;
743
743
  }
744
744
  concat(...t) {
@@ -771,7 +771,7 @@ let x = class {
771
771
  return n.forEach((s) => r.set(s)), r;
772
772
  }
773
773
  static accessor(t) {
774
- const r = (this[Ee] = this[Ee] = {
774
+ const r = (this[Re] = this[Re] = {
775
775
  accessors: {}
776
776
  }).accessors, s = this.prototype;
777
777
  function o(i) {
@@ -780,7 +780,7 @@ let x = class {
780
780
  }
781
781
  return a.isArray(t) ? t.forEach(o) : o(t), this;
782
782
  }
783
- };
783
+ }
784
784
  x.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
785
785
  a.reduceDescriptors(x.prototype, ({ value: e }, t) => {
786
786
  let n = t[0].toUpperCase() + t.slice(1);
@@ -793,13 +793,13 @@ a.reduceDescriptors(x.prototype, ({ value: e }, t) => {
793
793
  });
794
794
  a.freezeMethods(x);
795
795
  function re(e, t) {
796
- const n = this || M, r = t || n, s = x.from(r.headers);
796
+ const n = this || H, r = t || n, s = x.from(r.headers);
797
797
  let o = r.data;
798
798
  return a.forEach(e, function(c) {
799
799
  o = c.call(n, o, s.normalize(), t ? t.status : void 0);
800
800
  }), s.normalize(), o;
801
801
  }
802
- function ve(e) {
802
+ function Ke(e) {
803
803
  return !!(e && e.__CANCEL__);
804
804
  }
805
805
  function D(e, t, n) {
@@ -808,7 +808,7 @@ function D(e, t, n) {
808
808
  a.inherits(D, m, {
809
809
  __CANCEL__: !0
810
810
  });
811
- function Ke(e, t, n) {
811
+ function Xe(e, t, n) {
812
812
  const r = n.config.validateStatus;
813
813
  !n.status || !r || r(n.status) ? e(n) : t(new m(
814
814
  "Request failed with status code " + n.status,
@@ -869,14 +869,14 @@ const v = (e, t, n = 3) => {
869
869
  };
870
870
  e(p);
871
871
  }, n);
872
- }, Re = (e, t) => {
872
+ }, ge = (e, t) => {
873
873
  const n = e != null;
874
874
  return [(r) => t[0]({
875
875
  lengthComputable: n,
876
876
  total: e,
877
877
  loaded: r
878
878
  }), t[1]];
879
- }, ge = (e) => (...t) => a.asap(() => e(...t)), yn = T.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, T.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
879
+ }, Se = (e) => (...t) => a.asap(() => e(...t)), yn = T.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, T.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
880
880
  new URL(T.origin),
881
881
  T.navigator && /(msie|trident)/i.test(T.navigator.userAgent)
882
882
  ) : () => !0, wn = T.hasStandardBrowserEnv ? (
@@ -912,11 +912,11 @@ function bn(e) {
912
912
  function En(e, t) {
913
913
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
914
914
  }
915
- function Xe(e, t, n) {
915
+ function Ge(e, t, n) {
916
916
  let r = !bn(t);
917
917
  return e && (r || n == !1) ? En(e, t) : t;
918
918
  }
919
- const Se = (e) => e instanceof x ? { ...e } : e;
919
+ const Te = (e) => e instanceof x ? { ...e } : e;
920
920
  function k(e, t) {
921
921
  t = t || {};
922
922
  const n = {};
@@ -974,17 +974,17 @@ function k(e, t) {
974
974
  socketPath: i,
975
975
  responseEncoding: i,
976
976
  validateStatus: c,
977
- headers: (l, u, p) => s(Se(l), Se(u), p, !0)
977
+ headers: (l, u, p) => s(Te(l), Te(u), p, !0)
978
978
  };
979
979
  return a.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
980
980
  const p = f[u] || s, w = p(e[u], t[u], u);
981
981
  a.isUndefined(w) && p !== c || (n[u] = w);
982
982
  }), n;
983
983
  }
984
- const Ge = (e) => {
984
+ const Qe = (e) => {
985
985
  const t = k({}, e);
986
986
  let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: c } = t;
987
- t.headers = i = x.from(i), t.url = Je(Xe(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && i.set(
987
+ t.headers = i = x.from(i), t.url = We(Ge(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && i.set(
988
988
  "Authorization",
989
989
  "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
990
990
  );
@@ -1004,7 +1004,7 @@ const Ge = (e) => {
1004
1004
  return t;
1005
1005
  }, Rn = typeof XMLHttpRequest < "u", gn = Rn && function(e) {
1006
1006
  return new Promise(function(n, r) {
1007
- const s = Ge(e);
1007
+ const s = Qe(e);
1008
1008
  let o = s.data;
1009
1009
  const i = x.from(s.headers).normalize();
1010
1010
  let { responseType: c, onUploadProgress: f, onDownloadProgress: l } = s, u, p, w, R, d;
@@ -1026,7 +1026,7 @@ const Ge = (e) => {
1026
1026
  config: e,
1027
1027
  request: h
1028
1028
  };
1029
- Ke(function(F) {
1029
+ Xe(function(F) {
1030
1030
  n(F), y();
1031
1031
  }, function(F) {
1032
1032
  r(F), y();
@@ -1040,7 +1040,7 @@ const Ge = (e) => {
1040
1040
  r(new m("Network Error", m.ERR_NETWORK, e, h)), h = null;
1041
1041
  }, h.ontimeout = function() {
1042
1042
  let P = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
1043
- const O = s.transitional || Ve;
1043
+ const O = s.transitional || $e;
1044
1044
  s.timeoutErrorMessage && (P = s.timeoutErrorMessage), r(new m(
1045
1045
  P,
1046
1046
  O.clarifyTimeoutError ? m.ETIMEDOUT : m.ECONNABORTED,
@@ -1110,7 +1110,7 @@ const Ge = (e) => {
1110
1110
  } finally {
1111
1111
  await t.cancel();
1112
1112
  }
1113
- }, Te = (e, t, n, r) => {
1113
+ }, Oe = (e, t, n, r) => {
1114
1114
  const s = On(e, t);
1115
1115
  let o = 0, i, c = (f) => {
1116
1116
  i || (i = !0, r && r(f));
@@ -1139,13 +1139,13 @@ const Ge = (e) => {
1139
1139
  }, {
1140
1140
  highWaterMark: 2
1141
1141
  });
1142
- }, ee = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Qe = ee && typeof ReadableStream == "function", xn = ee && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Ye = (e, ...t) => {
1142
+ }, ee = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Ye = ee && typeof ReadableStream == "function", xn = ee && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Ze = (e, ...t) => {
1143
1143
  try {
1144
1144
  return !!e(...t);
1145
1145
  } catch {
1146
1146
  return !1;
1147
1147
  }
1148
- }, Cn = Qe && Ye(() => {
1148
+ }, Cn = Ye && Ze(() => {
1149
1149
  let e = !1;
1150
1150
  const t = new Request(T.origin, {
1151
1151
  body: new ReadableStream(),
@@ -1155,7 +1155,7 @@ const Ge = (e) => {
1155
1155
  }
1156
1156
  }).headers.has("Content-Type");
1157
1157
  return e && !t;
1158
- }), Oe = 64 * 1024, ce = Qe && Ye(() => a.isReadableStream(new Response("").body)), K = {
1158
+ }), Ae = 64 * 1024, ce = Ye && Ze(() => a.isReadableStream(new Response("").body)), K = {
1159
1159
  stream: ce && ((e) => e.body)
1160
1160
  };
1161
1161
  ee && ((e) => {
@@ -1196,7 +1196,7 @@ const Nn = async (e) => {
1196
1196
  headers: u,
1197
1197
  withCredentials: p = "same-origin",
1198
1198
  fetchOptions: w
1199
- } = Ge(e);
1199
+ } = Qe(e);
1200
1200
  l = l ? (l + "").toLowerCase() : "text";
1201
1201
  let R = Sn([s, o && o.toAbortSignal()], i), d;
1202
1202
  const y = R && R.unsubscribe && (() => {
@@ -1211,11 +1211,11 @@ const Nn = async (e) => {
1211
1211
  duplex: "half"
1212
1212
  }), _;
1213
1213
  if (a.isFormData(r) && (_ = O.headers.get("content-type")) && u.setContentType(_), O.body) {
1214
- const [F, z] = Re(
1214
+ const [F, z] = ge(
1215
1215
  h,
1216
- v(ge(f))
1216
+ v(Se(f))
1217
1217
  );
1218
- r = Te(O.body, Oe, F, z);
1218
+ r = Oe(O.body, Ae, F, z);
1219
1219
  }
1220
1220
  }
1221
1221
  a.isString(p) || (p = p ? "include" : "omit");
@@ -1233,15 +1233,15 @@ const Nn = async (e) => {
1233
1233
  const S = ce && (l === "stream" || l === "response");
1234
1234
  if (ce && (c || S && y)) {
1235
1235
  const O = {};
1236
- ["status", "statusText", "headers"].forEach((he) => {
1237
- O[he] = g[he];
1236
+ ["status", "statusText", "headers"].forEach((me) => {
1237
+ O[me] = g[me];
1238
1238
  });
1239
- const _ = a.toFiniteNumber(g.headers.get("content-length")), [F, z] = c && Re(
1239
+ const _ = a.toFiniteNumber(g.headers.get("content-length")), [F, z] = c && ge(
1240
1240
  _,
1241
- v(ge(c), !0)
1241
+ v(Se(c), !0)
1242
1242
  ) || [];
1243
1243
  g = new Response(
1244
- Te(g.body, Oe, F, () => {
1244
+ Oe(g.body, Ae, F, () => {
1245
1245
  z && z(), y && y();
1246
1246
  }),
1247
1247
  O
@@ -1250,7 +1250,7 @@ const Nn = async (e) => {
1250
1250
  l = l || "text";
1251
1251
  let P = await K[a.findKey(K, l) || "text"](g, e);
1252
1252
  return !S && y && y(), await new Promise((O, _) => {
1253
- Ke(O, _, {
1253
+ Xe(O, _, {
1254
1254
  data: P,
1255
1255
  headers: x.from(g.headers),
1256
1256
  status: g.status,
@@ -1268,7 +1268,7 @@ const Nn = async (e) => {
1268
1268
  ) : m.from(b, b && b.code, e, d);
1269
1269
  }
1270
1270
  }), le = {
1271
- http: Jt,
1271
+ http: Vt,
1272
1272
  xhr: gn,
1273
1273
  fetch: _n
1274
1274
  };
@@ -1281,7 +1281,7 @@ a.forEach(le, (e, t) => {
1281
1281
  Object.defineProperty(e, "adapterName", { value: t });
1282
1282
  }
1283
1283
  });
1284
- const Ae = (e) => `- ${e}`, Fn = (e) => a.isFunction(e) || e === null || e === !1, Ze = {
1284
+ const xe = (e) => `- ${e}`, Fn = (e) => a.isFunction(e) || e === null || e === !1, et = {
1285
1285
  getAdapter: (e) => {
1286
1286
  e = a.isArray(e) ? e : [e];
1287
1287
  const { length: t } = e;
@@ -1301,8 +1301,8 @@ const Ae = (e) => `- ${e}`, Fn = (e) => a.isFunction(e) || e === null || e === !
1301
1301
  ([c, f]) => `adapter ${c} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
1302
1302
  );
1303
1303
  let i = t ? o.length > 1 ? `since :
1304
- ` + o.map(Ae).join(`
1305
- `) : " " + Ae(o[0]) : "as no adapter specified";
1304
+ ` + o.map(xe).join(`
1305
+ `) : " " + xe(o[0]) : "as no adapter specified";
1306
1306
  throw new m(
1307
1307
  "There is no suitable adapter to dispatch the request " + i,
1308
1308
  "ERR_NOT_SUPPORT"
@@ -1316,34 +1316,34 @@ function se(e) {
1316
1316
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1317
1317
  throw new D(null, e);
1318
1318
  }
1319
- function xe(e) {
1319
+ function Ce(e) {
1320
1320
  return se(e), e.headers = x.from(e.headers), e.data = re.call(
1321
1321
  e,
1322
1322
  e.transformRequest
1323
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ze.getAdapter(e.adapter || M.adapter)(e).then(function(r) {
1323
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), et.getAdapter(e.adapter || H.adapter)(e).then(function(r) {
1324
1324
  return se(e), r.data = re.call(
1325
1325
  e,
1326
1326
  e.transformResponse,
1327
1327
  r
1328
1328
  ), r.headers = x.from(r.headers), r;
1329
1329
  }, function(r) {
1330
- return ve(r) || (se(e), r && r.response && (r.response.data = re.call(
1330
+ return Ke(r) || (se(e), r && r.response && (r.response.data = re.call(
1331
1331
  e,
1332
1332
  e.transformResponse,
1333
1333
  r.response
1334
1334
  ), r.response.headers = x.from(r.response.headers))), Promise.reject(r);
1335
1335
  });
1336
1336
  }
1337
- const et = "1.10.0", te = {};
1337
+ const tt = "1.10.0", te = {};
1338
1338
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1339
1339
  te[e] = function(r) {
1340
1340
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1341
1341
  };
1342
1342
  });
1343
- const Ce = {};
1343
+ const Ne = {};
1344
1344
  te.transitional = function(t, n, r) {
1345
1345
  function s(o, i) {
1346
- return "[Axios v" + et + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1346
+ return "[Axios v" + tt + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1347
1347
  }
1348
1348
  return (o, i, c) => {
1349
1349
  if (t === !1)
@@ -1351,7 +1351,7 @@ te.transitional = function(t, n, r) {
1351
1351
  s(i, " has been removed" + (n ? " in " + n : "")),
1352
1352
  m.ERR_DEPRECATED
1353
1353
  );
1354
- return n && !Ce[i] && (Ce[i] = !0), t ? t(o, i, c) : !0;
1354
+ return n && !Ne[i] && (Ne[i] = !0), t ? t(o, i, c) : !0;
1355
1355
  };
1356
1356
  };
1357
1357
  te.spelling = function(t) {
@@ -1374,15 +1374,15 @@ function Un(e, t, n) {
1374
1374
  throw new m("Unknown option " + o, m.ERR_BAD_OPTION);
1375
1375
  }
1376
1376
  }
1377
- const V = {
1377
+ const W = {
1378
1378
  assertOptions: Un,
1379
1379
  validators: te
1380
- }, N = V.validators;
1381
- let L = class {
1380
+ }, N = W.validators;
1381
+ class L {
1382
1382
  constructor(t) {
1383
1383
  this.defaults = t || {}, this.interceptors = {
1384
- request: new be(),
1385
- response: new be()
1384
+ request: new Ee(),
1385
+ response: new Ee()
1386
1386
  };
1387
1387
  }
1388
1388
  /**
@@ -1413,16 +1413,16 @@ let L = class {
1413
1413
  _request(t, n) {
1414
1414
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = k(this.defaults, n);
1415
1415
  const { transitional: r, paramsSerializer: s, headers: o } = n;
1416
- r !== void 0 && V.assertOptions(r, {
1416
+ r !== void 0 && W.assertOptions(r, {
1417
1417
  silentJSONParsing: N.transitional(N.boolean),
1418
1418
  forcedJSONParsing: N.transitional(N.boolean),
1419
1419
  clarifyTimeoutError: N.transitional(N.boolean)
1420
1420
  }, !1), s != null && (a.isFunction(s) ? n.paramsSerializer = {
1421
1421
  serialize: s
1422
- } : V.assertOptions(s, {
1422
+ } : W.assertOptions(s, {
1423
1423
  encode: N.function,
1424
1424
  serialize: N.function
1425
- }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), V.assertOptions(n, {
1425
+ }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), W.assertOptions(n, {
1426
1426
  baseUrl: N.spelling("baseURL"),
1427
1427
  withXsrfToken: N.spelling("withXSRFToken")
1428
1428
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -1447,7 +1447,7 @@ let L = class {
1447
1447
  });
1448
1448
  let u, p = 0, w;
1449
1449
  if (!f) {
1450
- const d = [xe.bind(this), void 0];
1450
+ const d = [Ce.bind(this), void 0];
1451
1451
  for (d.unshift.apply(d, c), d.push.apply(d, l), w = d.length, u = Promise.resolve(n); p < w; )
1452
1452
  u = u.then(d[p++], d[p++]);
1453
1453
  return u;
@@ -1464,7 +1464,7 @@ let L = class {
1464
1464
  }
1465
1465
  }
1466
1466
  try {
1467
- u = xe.call(this, R);
1467
+ u = Ce.call(this, R);
1468
1468
  } catch (d) {
1469
1469
  return Promise.reject(d);
1470
1470
  }
@@ -1474,10 +1474,10 @@ let L = class {
1474
1474
  }
1475
1475
  getUri(t) {
1476
1476
  t = k(this.defaults, t);
1477
- const n = Xe(t.baseURL, t.url, t.allowAbsoluteUrls);
1478
- return Je(n, t.params, t.paramsSerializer);
1477
+ const n = Ge(t.baseURL, t.url, t.allowAbsoluteUrls);
1478
+ return We(n, t.params, t.paramsSerializer);
1479
1479
  }
1480
- };
1480
+ }
1481
1481
  a.forEach(["delete", "get", "head", "options"], function(t) {
1482
1482
  L.prototype[t] = function(n, r) {
1483
1483
  return this.request(k(r || {}, {
@@ -1502,7 +1502,7 @@ a.forEach(["post", "put", "patch"], function(t) {
1502
1502
  }
1503
1503
  L.prototype[t] = n(), L.prototype[t + "Form"] = n(!0);
1504
1504
  });
1505
- let Ln = class tt {
1505
+ class he {
1506
1506
  constructor(t) {
1507
1507
  if (typeof t != "function")
1508
1508
  throw new TypeError("executor must be a function.");
@@ -1568,19 +1568,19 @@ let Ln = class tt {
1568
1568
  static source() {
1569
1569
  let t;
1570
1570
  return {
1571
- token: new tt(function(s) {
1571
+ token: new he(function(s) {
1572
1572
  t = s;
1573
1573
  }),
1574
1574
  cancel: t
1575
1575
  };
1576
1576
  }
1577
- };
1578
- function kn(e) {
1577
+ }
1578
+ function Ln(e) {
1579
1579
  return function(n) {
1580
1580
  return e.apply(null, n);
1581
1581
  };
1582
1582
  }
1583
- function Bn(e) {
1583
+ function kn(e) {
1584
1584
  return a.isObject(e) && e.isAxiosError === !0;
1585
1585
  }
1586
1586
  const ue = {
@@ -1652,77 +1652,60 @@ Object.entries(ue).forEach(([e, t]) => {
1652
1652
  ue[t] = e;
1653
1653
  });
1654
1654
  function nt(e) {
1655
- const t = new L(e), n = Ue(L.prototype.request, t);
1655
+ const t = new L(e), n = Le(L.prototype.request, t);
1656
1656
  return a.extend(n, L.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1657
1657
  return nt(k(e, s));
1658
1658
  }, n;
1659
1659
  }
1660
- const E = nt(M);
1660
+ const E = nt(H);
1661
1661
  E.Axios = L;
1662
1662
  E.CanceledError = D;
1663
- E.CancelToken = Ln;
1664
- E.isCancel = ve;
1665
- E.VERSION = et;
1663
+ E.CancelToken = he;
1664
+ E.isCancel = Ke;
1665
+ E.VERSION = tt;
1666
1666
  E.toFormData = Z;
1667
1667
  E.AxiosError = m;
1668
1668
  E.Cancel = E.CanceledError;
1669
1669
  E.all = function(t) {
1670
1670
  return Promise.all(t);
1671
1671
  };
1672
- E.spread = kn;
1673
- E.isAxiosError = Bn;
1672
+ E.spread = Ln;
1673
+ E.isAxiosError = kn;
1674
1674
  E.mergeConfig = k;
1675
1675
  E.AxiosHeaders = x;
1676
- E.formToJSON = (e) => We(a.isHTMLForm(e) ? new FormData(e) : e);
1677
- E.getAdapter = Ze.getAdapter;
1676
+ E.formToJSON = (e) => ve(a.isHTMLForm(e) ? new FormData(e) : e);
1677
+ E.getAdapter = et.getAdapter;
1678
1678
  E.HttpStatusCode = ue;
1679
1679
  E.default = E;
1680
- const {
1681
- Axios: zn,
1682
- AxiosError: $n,
1683
- CanceledError: Jn,
1684
- isCancel: Vn,
1685
- CancelToken: Wn,
1686
- VERSION: vn,
1687
- all: Kn,
1688
- Cancel: Xn,
1689
- isAxiosError: Gn,
1690
- spread: Qn,
1691
- toFormData: Yn,
1692
- AxiosHeaders: Zn,
1693
- HttpStatusCode: er,
1694
- formToJSON: tr,
1695
- getAdapter: nr,
1696
- mergeConfig: rr
1697
- } = E, { baseURL: Dn } = st();
1698
- let W = !1, q = [];
1699
- const Ne = 1 * 60 * 1e3, Pe = 1, _e = 1e3, jn = async (e, t, n = 0) => {
1680
+ const { baseURL: Bn } = st();
1681
+ let $ = !1, q = [];
1682
+ const Pe = 1 * 60 * 1e3, _e = 1, Fe = 1e3, Dn = async (e, t, n = 0) => {
1700
1683
  const r = Date.now();
1701
- if (r < +e.accessExp - Ne)
1684
+ if (r < +e.accessExp - Pe)
1702
1685
  return e.accessToken;
1703
- if (r >= +e.refreshExp - Ne)
1704
- return Fe(), Promise.reject("Refresh token expired");
1705
- if (W)
1686
+ if (r >= +e.refreshExp - Pe)
1687
+ return Ue(), Promise.reject("Refresh token expired");
1688
+ if ($)
1706
1689
  return new Promise((s, o) => {
1707
1690
  q.push({ resolve: s, reject: o });
1708
1691
  });
1709
- W = !0;
1692
+ $ = !0;
1710
1693
  try {
1711
- const s = await rt(e.refreshToken, Pe, _e), o = {
1694
+ const s = await rt(e.refreshToken, _e, Fe), o = {
1712
1695
  accessToken: s.accessToken,
1713
1696
  accessExp: s.accessExp,
1714
1697
  refreshToken: s.refreshToken || e.refreshToken,
1715
1698
  refreshExp: s.refreshExp || e.refreshExp
1716
1699
  };
1717
- return t(o), qn(o.accessToken), o.accessToken;
1700
+ return t(o), jn(o.accessToken), o.accessToken;
1718
1701
  } catch {
1719
1702
  if (q.forEach((o) => {
1720
1703
  o.reject("Token refresh failed");
1721
- }), W = !1, q = [], n < Pe) {
1704
+ }), $ = !1, q = [], n < _e) {
1722
1705
  const o = n + 1;
1723
- return await new Promise((i) => setTimeout(i, _e)), jn(e, t, o);
1706
+ return await new Promise((i) => setTimeout(i, Fe)), Dn(e, t, o);
1724
1707
  }
1725
- return Fe(), Promise.reject("Token refresh failed after retries");
1708
+ return Ue(), Promise.reject("Token refresh failed after retries");
1726
1709
  }
1727
1710
  };
1728
1711
  async function rt(e, t, n, r = 0) {
@@ -1731,7 +1714,7 @@ async function rt(e, t, n, r = 0) {
1731
1714
  "/api/admin/basic-application/authorization/v1/visitor/oauth/token/refresh",
1732
1715
  { refreshToken: e },
1733
1716
  {
1734
- baseURL: Dn
1717
+ baseURL: Bn
1735
1718
  }
1736
1719
  );
1737
1720
  return (s == null ? void 0 : s.data) || {};
@@ -1741,16 +1724,16 @@ async function rt(e, t, n, r = 0) {
1741
1724
  throw new Error("Token refresh failed after retries");
1742
1725
  }
1743
1726
  }
1744
- function qn(e) {
1727
+ function jn(e) {
1745
1728
  q.forEach((t) => {
1746
1729
  t.resolve(e);
1747
- }), q = [], W = !1;
1730
+ }), q = [], $ = !1;
1748
1731
  }
1749
- function Fe() {
1732
+ function Ue() {
1750
1733
  var t, n;
1751
1734
  const e = "/login";
1752
1735
  location.pathname !== e && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (n = (t = window.top) == null ? void 0 : t.vueRouter) == null || n.replace(e));
1753
1736
  }
1754
1737
  export {
1755
- jn as getValidAccessToken
1738
+ Dn as getValidAccessToken
1756
1739
  };