@opencloud-eu/web-client 1.0.0 → 2.1.0

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.
@@ -1,36 +1,36 @@
1
- import { p as pe, g as Ye, B as et } from "./index-Pl8khka8.js";
2
- function Ne(e, t) {
1
+ import { p as de, g as Ge, B as Qe } from "./index-Pl8khka8.js";
2
+ function xe(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
5
5
  };
6
6
  }
7
- const { toString: tt } = Object.prototype, { getPrototypeOf: ue } = Object, K = /* @__PURE__ */ ((e) => (t) => {
8
- const n = tt.call(t);
7
+ const { toString: Ze } = Object.prototype, { getPrototypeOf: ce } = Object, K = /* @__PURE__ */ ((e) => (t) => {
8
+ const n = Ze.call(t);
9
9
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
10
- })(/* @__PURE__ */ Object.create(null)), C = (e) => (e = e.toLowerCase(), (t) => K(t) === e), v = (e) => (t) => typeof t === e, { isArray: U } = Array, q = v("undefined");
11
- function nt(e) {
10
+ })(/* @__PURE__ */ Object.create(null)), C = (e) => (e = e.toLowerCase(), (t) => K(t) === e), v = (e) => (t) => typeof t === e, { isArray: D } = Array, q = v("undefined");
11
+ function Ye(e) {
12
12
  return e !== null && !q(e) && e.constructor !== null && !q(e.constructor) && x(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
13
  }
14
- const Pe = C("ArrayBuffer");
15
- function rt(e) {
14
+ const Ce = C("ArrayBuffer");
15
+ function et(e) {
16
16
  let t;
17
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Pe(e.buffer), t;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ce(e.buffer), t;
18
18
  }
19
- const st = v("string"), x = v("function"), _e = v("number"), X = (e) => e !== null && typeof e == "object", ot = (e) => e === !0 || e === !1, z = (e) => {
19
+ const tt = v("string"), x = v("function"), Ne = v("number"), X = (e) => e !== null && typeof e == "object", nt = (e) => e === !0 || e === !1, $ = (e) => {
20
20
  if (K(e) !== "object")
21
21
  return !1;
22
- const t = ue(e);
22
+ const t = ce(e);
23
23
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
24
- }, it = C("Date"), at = C("File"), ct = C("Blob"), ut = C("FileList"), lt = (e) => X(e) && x(e.pipe), ft = (e) => {
24
+ }, rt = C("Date"), st = C("File"), ot = C("Blob"), it = C("FileList"), at = (e) => X(e) && x(e.pipe), ct = (e) => {
25
25
  let t;
26
26
  return e && (typeof FormData == "function" && e instanceof FormData || x(e.append) && ((t = K(e)) === "formdata" || // detect form-data instance
27
27
  t === "object" && x(e.toString) && e.toString() === "[object FormData]"));
28
- }, dt = C("URLSearchParams"), [pt, ht, mt, yt] = ["ReadableStream", "Request", "Response", "Headers"].map(C), bt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
28
+ }, lt = C("URLSearchParams"), [ut, ft, dt, pt] = ["ReadableStream", "Request", "Response", "Headers"].map(C), ht = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
29
  function H(e, t, { allOwnKeys: n = !1 } = {}) {
30
30
  if (e === null || typeof e > "u")
31
31
  return;
32
32
  let r, s;
33
- if (typeof e != "object" && (e = [e]), U(e))
33
+ if (typeof e != "object" && (e = [e]), D(e))
34
34
  for (r = 0, s = e.length; r < s; r++)
35
35
  t.call(null, e[r], r, e);
36
36
  else {
@@ -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 Fe(e, t) {
43
+ function Pe(e, t) {
44
44
  t = t.toLowerCase();
45
45
  const n = Object.keys(e);
46
46
  let r = n.length, s;
@@ -49,71 +49,71 @@ function Fe(e, t) {
49
49
  return s;
50
50
  return null;
51
51
  }
52
- const L = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : Ye, Le = (e) => !q(e) && e !== L;
53
- function re() {
54
- const { caseless: e } = Le(this) && this || {}, t = {}, n = (r, s) => {
55
- const o = e && Fe(t, s) || s;
56
- z(t[o]) && z(r) ? t[o] = re(t[o], r) : z(r) ? t[o] = re({}, r) : U(r) ? t[o] = r.slice() : t[o] = r;
52
+ const U = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : Ge, Fe = (e) => !q(e) && e !== U;
53
+ function ne() {
54
+ const { caseless: e } = Fe(this) && this || {}, t = {}, n = (r, s) => {
55
+ const o = e && Pe(t, s) || s;
56
+ $(t[o]) && $(r) ? t[o] = ne(t[o], r) : $(r) ? t[o] = ne({}, r) : D(r) ? t[o] = r.slice() : t[o] = r;
57
57
  };
58
58
  for (let r = 0, s = arguments.length; r < s; r++)
59
59
  arguments[r] && H(arguments[r], n);
60
60
  return t;
61
61
  }
62
- const wt = (e, t, n, { allOwnKeys: r } = {}) => (H(t, (s, o) => {
63
- n && x(s) ? e[o] = Ne(s, n) : e[o] = s;
64
- }, { allOwnKeys: r }), e), Et = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Rt = (e, t, n, r) => {
62
+ const mt = (e, t, n, { allOwnKeys: r } = {}) => (H(t, (s, o) => {
63
+ n && x(s) ? e[o] = xe(s, n) : e[o] = s;
64
+ }, { allOwnKeys: r }), e), yt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), bt = (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
67
67
  }), n && Object.assign(e.prototype, n);
68
- }, gt = (e, t, n, r) => {
68
+ }, wt = (e, t, n, r) => {
69
69
  let s, o, i;
70
70
  const c = {};
71
71
  if (t = t || {}, e == null) return t;
72
72
  do {
73
73
  for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
74
74
  i = s[o], (!r || r(i, e, t)) && !c[i] && (t[i] = e[i], c[i] = !0);
75
- e = n !== !1 && ue(e);
75
+ e = n !== !1 && ce(e);
76
76
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
77
77
  return t;
78
- }, St = (e, t, n) => {
78
+ }, Et = (e, t, n) => {
79
79
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
80
80
  const r = e.indexOf(t, n);
81
81
  return r !== -1 && r === n;
82
- }, Ot = (e) => {
82
+ }, Rt = (e) => {
83
83
  if (!e) return null;
84
- if (U(e)) return e;
84
+ if (D(e)) return e;
85
85
  let t = e.length;
86
- if (!_e(t)) return null;
86
+ if (!Ne(t)) return null;
87
87
  const n = new Array(t);
88
88
  for (; t-- > 0; )
89
89
  n[t] = e[t];
90
90
  return n;
91
- }, Tt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ue(Uint8Array)), At = (e, t) => {
91
+ }, St = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ce(Uint8Array)), gt = (e, t) => {
92
92
  const r = (e && e[Symbol.iterator]).call(e);
93
93
  let s;
94
94
  for (; (s = r.next()) && !s.done; ) {
95
95
  const o = s.value;
96
96
  t.call(e, o[0], o[1]);
97
97
  }
98
- }, xt = (e, t) => {
98
+ }, Ot = (e, t) => {
99
99
  let n;
100
100
  const r = [];
101
101
  for (; (n = e.exec(t)) !== null; )
102
102
  r.push(n);
103
103
  return r;
104
- }, Ct = C("HTMLFormElement"), Nt = (e) => e.toLowerCase().replace(
104
+ }, Tt = C("HTMLFormElement"), At = (e) => e.toLowerCase().replace(
105
105
  /[-_\s]([a-z\d])(\w*)/g,
106
106
  function(n, r, s) {
107
107
  return r.toUpperCase() + s;
108
108
  }
109
- ), he = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Pt = C("RegExp"), Be = (e, t) => {
109
+ ), pe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), xt = C("RegExp"), _e = (e, t) => {
110
110
  const n = Object.getOwnPropertyDescriptors(e), r = {};
111
111
  H(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
- }, _t = (e) => {
116
- Be(e, (t, n) => {
115
+ }, Ct = (e) => {
116
+ _e(e, (t, n) => {
117
117
  if (x(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
118
118
  return !1;
119
119
  const r = e[n];
@@ -127,36 +127,26 @@ const wt = (e, t, n, { allOwnKeys: r } = {}) => (H(t, (s, o) => {
127
127
  });
128
128
  }
129
129
  });
130
- }, Ft = (e, t) => {
130
+ }, Nt = (e, t) => {
131
131
  const n = {}, r = (s) => {
132
132
  s.forEach((o) => {
133
133
  n[o] = !0;
134
134
  });
135
135
  };
136
- return U(e) ? r(e) : r(String(e).split(t)), n;
137
- }, Lt = () => {
138
- }, Bt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, Y = "abcdefghijklmnopqrstuvwxyz", me = "0123456789", De = {
139
- DIGIT: me,
140
- ALPHA: Y,
141
- ALPHA_DIGIT: Y + Y.toUpperCase() + me
142
- }, Dt = (e = 16, t = De.ALPHA_DIGIT) => {
143
- let n = "";
144
- const { length: r } = t;
145
- for (; e--; )
146
- n += t[Math.random() * r | 0];
147
- return n;
148
- };
149
- function Ut(e) {
136
+ return D(e) ? r(e) : r(String(e).split(t)), n;
137
+ }, Pt = () => {
138
+ }, Ft = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
139
+ function _t(e) {
150
140
  return !!(e && x(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
151
141
  }
152
- const kt = (e) => {
142
+ const Ut = (e) => {
153
143
  const t = new Array(10), n = (r, s) => {
154
144
  if (X(r)) {
155
145
  if (t.indexOf(r) >= 0)
156
146
  return;
157
147
  if (!("toJSON" in r)) {
158
148
  t[s] = r;
159
- const o = U(r) ? [] : {};
149
+ const o = D(r) ? [] : {};
160
150
  return H(r, (i, c) => {
161
151
  const f = n(i, s + 1);
162
152
  !q(f) && (o[c] = f);
@@ -166,72 +156,70 @@ const kt = (e) => {
166
156
  return r;
167
157
  };
168
158
  return n(e, 0);
169
- }, jt = C("AsyncFunction"), qt = (e) => e && (X(e) || x(e)) && x(e.then) && x(e.catch), Ue = ((e, t) => e ? setImmediate : t ? ((n, r) => (L.addEventListener("message", ({ source: s, data: o }) => {
170
- s === L && o === n && r.length && r.shift()();
159
+ }, Lt = C("AsyncFunction"), Bt = (e) => e && (X(e) || x(e)) && x(e.then) && x(e.catch), Ue = ((e, t) => e ? setImmediate : t ? ((n, r) => (U.addEventListener("message", ({ source: s, data: o }) => {
160
+ s === U && o === n && r.length && r.shift()();
171
161
  }, !1), (s) => {
172
- r.push(s), L.postMessage(n, "*");
162
+ r.push(s), U.postMessage(n, "*");
173
163
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
174
164
  typeof setImmediate == "function",
175
- x(L.postMessage)
176
- ), Ht = typeof queueMicrotask < "u" ? queueMicrotask.bind(L) : typeof pe < "u" && pe.nextTick || Ue, a = {
177
- isArray: U,
178
- isArrayBuffer: Pe,
179
- isBuffer: nt,
180
- isFormData: ft,
181
- isArrayBufferView: rt,
182
- isString: st,
183
- isNumber: _e,
184
- isBoolean: ot,
165
+ x(U.postMessage)
166
+ ), Dt = typeof queueMicrotask < "u" ? queueMicrotask.bind(U) : typeof de < "u" && de.nextTick || Ue, a = {
167
+ isArray: D,
168
+ isArrayBuffer: Ce,
169
+ isBuffer: Ye,
170
+ isFormData: ct,
171
+ isArrayBufferView: et,
172
+ isString: tt,
173
+ isNumber: Ne,
174
+ isBoolean: nt,
185
175
  isObject: X,
186
- isPlainObject: z,
187
- isReadableStream: pt,
188
- isRequest: ht,
189
- isResponse: mt,
190
- isHeaders: yt,
176
+ isPlainObject: $,
177
+ isReadableStream: ut,
178
+ isRequest: ft,
179
+ isResponse: dt,
180
+ isHeaders: pt,
191
181
  isUndefined: q,
192
- isDate: it,
193
- isFile: at,
194
- isBlob: ct,
195
- isRegExp: Pt,
182
+ isDate: rt,
183
+ isFile: st,
184
+ isBlob: ot,
185
+ isRegExp: xt,
196
186
  isFunction: x,
197
- isStream: lt,
198
- isURLSearchParams: dt,
199
- isTypedArray: Tt,
200
- isFileList: ut,
187
+ isStream: at,
188
+ isURLSearchParams: lt,
189
+ isTypedArray: St,
190
+ isFileList: it,
201
191
  forEach: H,
202
- merge: re,
203
- extend: wt,
204
- trim: bt,
205
- stripBOM: Et,
206
- inherits: Rt,
207
- toFlatObject: gt,
192
+ merge: ne,
193
+ extend: mt,
194
+ trim: ht,
195
+ stripBOM: yt,
196
+ inherits: bt,
197
+ toFlatObject: wt,
208
198
  kindOf: K,
209
199
  kindOfTest: C,
210
- endsWith: St,
211
- toArray: Ot,
212
- forEachEntry: At,
213
- matchAll: xt,
214
- isHTMLForm: Ct,
215
- hasOwnProperty: he,
216
- hasOwnProp: he,
200
+ endsWith: Et,
201
+ toArray: Rt,
202
+ forEachEntry: gt,
203
+ matchAll: Ot,
204
+ isHTMLForm: Tt,
205
+ hasOwnProperty: pe,
206
+ hasOwnProp: pe,
217
207
  // an alias to avoid ESLint no-prototype-builtins detection
218
- reduceDescriptors: Be,
219
- freezeMethods: _t,
220
- toObjectSet: Ft,
221
- toCamelCase: Nt,
222
- noop: Lt,
223
- toFiniteNumber: Bt,
224
- findKey: Fe,
225
- global: L,
226
- isContextDefined: Le,
227
- ALPHABET: De,
228
- generateString: Dt,
229
- isSpecCompliantForm: Ut,
230
- toJSONObject: kt,
231
- isAsyncFn: jt,
232
- isThenable: qt,
208
+ reduceDescriptors: _e,
209
+ freezeMethods: Ct,
210
+ toObjectSet: Nt,
211
+ toCamelCase: At,
212
+ noop: Pt,
213
+ toFiniteNumber: Ft,
214
+ findKey: Pe,
215
+ global: U,
216
+ isContextDefined: Fe,
217
+ isSpecCompliantForm: _t,
218
+ toJSONObject: Ut,
219
+ isAsyncFn: Lt,
220
+ isThenable: Bt,
233
221
  setImmediate: Ue,
234
- asap: Ht
222
+ asap: Dt
235
223
  };
236
224
  function m(e, t, n, r, s) {
237
225
  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);
@@ -257,7 +245,7 @@ a.inherits(m, Error, {
257
245
  };
258
246
  }
259
247
  });
260
- const ke = m.prototype, je = {};
248
+ const Le = m.prototype, Be = {};
261
249
  [
262
250
  "ERR_BAD_OPTION_VALUE",
263
251
  "ERR_BAD_OPTION",
@@ -273,32 +261,32 @@ const ke = m.prototype, je = {};
273
261
  "ERR_INVALID_URL"
274
262
  // eslint-disable-next-line func-names
275
263
  ].forEach((e) => {
276
- je[e] = { value: e };
264
+ Be[e] = { value: e };
277
265
  });
278
- Object.defineProperties(m, je);
279
- Object.defineProperty(ke, "isAxiosError", { value: !0 });
266
+ Object.defineProperties(m, Be);
267
+ Object.defineProperty(Le, "isAxiosError", { value: !0 });
280
268
  m.from = (e, t, n, r, s, o) => {
281
- const i = Object.create(ke);
269
+ const i = Object.create(Le);
282
270
  return a.toFlatObject(e, i, function(f) {
283
271
  return f !== Error.prototype;
284
272
  }, (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;
285
273
  };
286
- const It = null;
287
- function se(e) {
274
+ const kt = null;
275
+ function re(e) {
288
276
  return a.isPlainObject(e) || a.isArray(e);
289
277
  }
290
- function qe(e) {
278
+ function De(e) {
291
279
  return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
292
280
  }
293
- function ye(e, t, n) {
281
+ function he(e, t, n) {
294
282
  return e ? e.concat(t).map(function(s, o) {
295
- return s = qe(s), !n && o ? "[" + s + "]" : s;
283
+ return s = De(s), !n && o ? "[" + s + "]" : s;
296
284
  }).join(n ? "." : "") : t;
297
285
  }
298
- function Mt(e) {
299
- return a.isArray(e) && !e.some(se);
286
+ function jt(e) {
287
+ return a.isArray(e) && !e.some(re);
300
288
  }
301
- const zt = a.toFlatObject(a, {}, null, function(t) {
289
+ const qt = a.toFlatObject(a, {}, null, function(t) {
302
290
  return /^is[A-Z]/.test(t);
303
291
  });
304
292
  function G(e, t, n) {
@@ -311,50 +299,50 @@ function G(e, t, n) {
311
299
  }, !1, function(y, h) {
312
300
  return !a.isUndefined(h[y]);
313
301
  });
314
- const r = n.metaTokens, s = n.visitor || l, o = n.dots, i = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
302
+ const r = n.metaTokens, s = n.visitor || u, o = n.dots, i = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
315
303
  if (!a.isFunction(s))
316
304
  throw new TypeError("visitor must be a function");
317
- function u(p) {
305
+ function l(p) {
318
306
  if (p === null) return "";
319
307
  if (a.isDate(p))
320
308
  return p.toISOString();
321
309
  if (!f && a.isBlob(p))
322
310
  throw new m("Blob is not supported. Use a Buffer instead.");
323
- return a.isArrayBuffer(p) || a.isTypedArray(p) ? f && typeof Blob == "function" ? new Blob([p]) : et.from(p) : p;
311
+ return a.isArrayBuffer(p) || a.isTypedArray(p) ? f && typeof Blob == "function" ? new Blob([p]) : Qe.from(p) : p;
324
312
  }
325
- function l(p, y, h) {
313
+ function u(p, y, h) {
326
314
  let w = p;
327
315
  if (p && !h && typeof p == "object") {
328
316
  if (a.endsWith(y, "{}"))
329
317
  y = r ? y : y.slice(0, -2), p = JSON.stringify(p);
330
- else if (a.isArray(p) && Mt(p) || (a.isFileList(p) || a.endsWith(y, "[]")) && (w = a.toArray(p)))
331
- return y = qe(y), w.forEach(function(S, P) {
332
- !(a.isUndefined(S) || S === null) && t.append(
318
+ else if (a.isArray(p) && jt(p) || (a.isFileList(p) || a.endsWith(y, "[]")) && (w = a.toArray(p)))
319
+ return y = De(y), w.forEach(function(g, P) {
320
+ !(a.isUndefined(g) || g === null) && t.append(
333
321
  // eslint-disable-next-line no-nested-ternary
334
- i === !0 ? ye([y], P, o) : i === null ? y : y + "[]",
335
- u(S)
322
+ i === !0 ? he([y], P, o) : i === null ? y : y + "[]",
323
+ l(g)
336
324
  );
337
325
  }), !1;
338
326
  }
339
- return se(p) ? !0 : (t.append(ye(h, y, o), u(p)), !1);
327
+ return re(p) ? !0 : (t.append(he(h, y, o), l(p)), !1);
340
328
  }
341
- const d = [], b = Object.assign(zt, {
342
- defaultVisitor: l,
343
- convertValue: u,
344
- isVisitable: se
329
+ const d = [], b = Object.assign(qt, {
330
+ defaultVisitor: u,
331
+ convertValue: l,
332
+ isVisitable: re
345
333
  });
346
334
  function R(p, y) {
347
335
  if (!a.isUndefined(p)) {
348
336
  if (d.indexOf(p) !== -1)
349
337
  throw Error("Circular reference detected in " + y.join("."));
350
- d.push(p), a.forEach(p, function(w, g) {
338
+ d.push(p), a.forEach(p, function(w, S) {
351
339
  (!(a.isUndefined(w) || w === null) && s.call(
352
340
  t,
353
341
  w,
354
- a.isString(g) ? g.trim() : g,
342
+ a.isString(S) ? S.trim() : S,
355
343
  y,
356
344
  b
357
- )) === !0 && R(w, y ? y.concat(g) : [g]);
345
+ )) === !0 && R(w, y ? y.concat(S) : [S]);
358
346
  }), d.pop();
359
347
  }
360
348
  }
@@ -362,7 +350,7 @@ function G(e, t, n) {
362
350
  throw new TypeError("data must be an object");
363
351
  return R(e), t;
364
352
  }
365
- function be(e) {
353
+ function me(e) {
366
354
  const t = {
367
355
  "!": "%21",
368
356
  "'": "%27",
@@ -379,25 +367,25 @@ function be(e) {
379
367
  function le(e, t) {
380
368
  this._pairs = [], e && G(e, this, t);
381
369
  }
382
- const He = le.prototype;
383
- He.append = function(t, n) {
370
+ const ke = le.prototype;
371
+ ke.append = function(t, n) {
384
372
  this._pairs.push([t, n]);
385
373
  };
386
- He.toString = function(t) {
374
+ ke.toString = function(t) {
387
375
  const n = t ? function(r) {
388
- return t.call(this, r, be);
389
- } : be;
376
+ return t.call(this, r, me);
377
+ } : me;
390
378
  return this._pairs.map(function(s) {
391
379
  return n(s[0]) + "=" + n(s[1]);
392
380
  }, "").join("&");
393
381
  };
394
- function $t(e) {
382
+ function Ht(e) {
395
383
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
396
384
  }
397
- function Ie(e, t, n) {
385
+ function je(e, t, n) {
398
386
  if (!t)
399
387
  return e;
400
- const r = n && n.encode || $t;
388
+ const r = n && n.encode || Ht;
401
389
  a.isFunction(n) && (n = {
402
390
  serialize: n
403
391
  });
@@ -409,7 +397,7 @@ function Ie(e, t, n) {
409
397
  }
410
398
  return e;
411
399
  }
412
- class we {
400
+ class ye {
413
401
  constructor() {
414
402
  this.handlers = [];
415
403
  }
@@ -463,41 +451,41 @@ class we {
463
451
  });
464
452
  }
465
453
  }
466
- const Me = {
454
+ const qe = {
467
455
  silentJSONParsing: !0,
468
456
  forcedJSONParsing: !0,
469
457
  clarifyTimeoutError: !1
470
- }, Jt = typeof URLSearchParams < "u" ? URLSearchParams : le, Vt = typeof FormData < "u" ? FormData : null, Wt = typeof Blob < "u" ? Blob : null, Kt = {
458
+ }, It = typeof URLSearchParams < "u" ? URLSearchParams : le, Mt = typeof FormData < "u" ? FormData : null, $t = typeof Blob < "u" ? Blob : null, zt = {
471
459
  isBrowser: !0,
472
460
  classes: {
473
- URLSearchParams: Jt,
474
- FormData: Vt,
475
- Blob: Wt
461
+ URLSearchParams: It,
462
+ FormData: Mt,
463
+ Blob: $t
476
464
  },
477
465
  protocols: ["http", "https", "file", "blob", "url", "data"]
478
- }, fe = typeof window < "u" && typeof document < "u", oe = typeof navigator == "object" && navigator || void 0, vt = fe && (!oe || ["ReactNative", "NativeScript", "NS"].indexOf(oe.product) < 0), Xt = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
479
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Gt = fe && window.location.href || "http://localhost", Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
466
+ }, ue = typeof window < "u" && typeof document < "u", se = typeof navigator == "object" && navigator || void 0, Jt = ue && (!se || ["ReactNative", "NativeScript", "NS"].indexOf(se.product) < 0), Vt = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
467
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Wt = ue && window.location.href || "http://localhost", Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
480
468
  __proto__: null,
481
- hasBrowserEnv: fe,
482
- hasStandardBrowserEnv: vt,
483
- hasStandardBrowserWebWorkerEnv: Xt,
484
- navigator: oe,
485
- origin: Gt
469
+ hasBrowserEnv: ue,
470
+ hasStandardBrowserEnv: Jt,
471
+ hasStandardBrowserWebWorkerEnv: Vt,
472
+ navigator: se,
473
+ origin: Wt
486
474
  }, Symbol.toStringTag, { value: "Module" })), O = {
487
- ...Qt,
488
- ...Kt
475
+ ...Kt,
476
+ ...zt
489
477
  };
490
- function Zt(e, t) {
478
+ function vt(e, t) {
491
479
  return G(e, new O.classes.URLSearchParams(), Object.assign({
492
480
  visitor: function(n, r, s, o) {
493
481
  return O.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
494
482
  }
495
483
  }, t));
496
484
  }
497
- function Yt(e) {
485
+ function Xt(e) {
498
486
  return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
499
487
  }
500
- function en(e) {
488
+ function Gt(e) {
501
489
  const t = {}, n = Object.keys(e);
502
490
  let r;
503
491
  const s = n.length;
@@ -506,22 +494,22 @@ function en(e) {
506
494
  o = n[r], t[o] = e[o];
507
495
  return t;
508
496
  }
509
- function ze(e) {
497
+ function He(e) {
510
498
  function t(n, r, s, o) {
511
499
  let i = n[o++];
512
500
  if (i === "__proto__") return !0;
513
501
  const c = Number.isFinite(+i), f = o >= n.length;
514
- return i = !i && a.isArray(s) ? s.length : i, f ? (a.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !c) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && a.isArray(s[i]) && (s[i] = en(s[i])), !c);
502
+ return i = !i && a.isArray(s) ? s.length : i, f ? (a.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !c) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && a.isArray(s[i]) && (s[i] = Gt(s[i])), !c);
515
503
  }
516
504
  if (a.isFormData(e) && a.isFunction(e.entries)) {
517
505
  const n = {};
518
506
  return a.forEachEntry(e, (r, s) => {
519
- t(Yt(r), s, n, 0);
507
+ t(Xt(r), s, n, 0);
520
508
  }), n;
521
509
  }
522
510
  return null;
523
511
  }
524
- function tn(e, t, n) {
512
+ function Qt(e, t, n) {
525
513
  if (a.isString(e))
526
514
  try {
527
515
  return (t || JSON.parse)(e), a.trim(e);
@@ -532,12 +520,12 @@ function tn(e, t, n) {
532
520
  return (n || JSON.stringify)(e);
533
521
  }
534
522
  const I = {
535
- transitional: Me,
523
+ transitional: qe,
536
524
  adapter: ["xhr", "http", "fetch"],
537
525
  transformRequest: [function(t, n) {
538
526
  const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = a.isObject(t);
539
527
  if (o && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
540
- return s ? JSON.stringify(ze(t)) : t;
528
+ return s ? JSON.stringify(He(t)) : t;
541
529
  if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t) || a.isReadableStream(t))
542
530
  return t;
543
531
  if (a.isArrayBufferView(t))
@@ -547,7 +535,7 @@ const I = {
547
535
  let c;
548
536
  if (o) {
549
537
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
550
- return Zt(t, this.formSerializer).toString();
538
+ return vt(t, this.formSerializer).toString();
551
539
  if ((c = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
552
540
  const f = this.env && this.env.FormData;
553
541
  return G(
@@ -557,7 +545,7 @@ const I = {
557
545
  );
558
546
  }
559
547
  }
560
- return o || s ? (n.setContentType("application/json", !1), tn(t)) : t;
548
+ return o || s ? (n.setContentType("application/json", !1), Qt(t)) : t;
561
549
  }],
562
550
  transformResponse: [function(t) {
563
551
  const n = this.transitional || I.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
@@ -600,7 +588,7 @@ const I = {
600
588
  a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
601
589
  I.headers[e] = {};
602
590
  });
603
- const nn = a.toObjectSet([
591
+ const Zt = a.toObjectSet([
604
592
  "age",
605
593
  "authorization",
606
594
  "content-length",
@@ -618,29 +606,29 @@ const nn = a.toObjectSet([
618
606
  "referer",
619
607
  "retry-after",
620
608
  "user-agent"
621
- ]), rn = (e) => {
609
+ ]), Yt = (e) => {
622
610
  const t = {};
623
611
  let n, r, s;
624
612
  return e && e.split(`
625
613
  `).forEach(function(i) {
626
- s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && nn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
614
+ s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && Zt[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
627
615
  }), t;
628
- }, Ee = Symbol("internals");
616
+ }, be = Symbol("internals");
629
617
  function j(e) {
630
618
  return e && String(e).trim().toLowerCase();
631
619
  }
632
- function $(e) {
633
- return e === !1 || e == null ? e : a.isArray(e) ? e.map($) : String(e);
620
+ function z(e) {
621
+ return e === !1 || e == null ? e : a.isArray(e) ? e.map(z) : String(e);
634
622
  }
635
- function sn(e) {
623
+ function en(e) {
636
624
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
637
625
  let r;
638
626
  for (; r = n.exec(e); )
639
627
  t[r[1]] = r[2];
640
628
  return t;
641
629
  }
642
- const on = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
643
- function ee(e, t, n, r, s) {
630
+ const tn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
631
+ function Y(e, t, n, r, s) {
644
632
  if (a.isFunction(r))
645
633
  return r.call(this, t, n);
646
634
  if (s && (t = n), !!a.isString(t)) {
@@ -650,10 +638,10 @@ function ee(e, t, n, r, s) {
650
638
  return r.test(t);
651
639
  }
652
640
  }
653
- function an(e) {
641
+ function nn(e) {
654
642
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
655
643
  }
656
- function cn(e, t) {
644
+ function rn(e, t) {
657
645
  const n = a.toCamelCase(" " + t);
658
646
  ["get", "set", "has"].forEach((r) => {
659
647
  Object.defineProperty(e, r + n, {
@@ -670,18 +658,18 @@ let A = class {
670
658
  }
671
659
  set(t, n, r) {
672
660
  const s = this;
673
- function o(c, f, u) {
674
- const l = j(f);
675
- if (!l)
661
+ function o(c, f, l) {
662
+ const u = j(f);
663
+ if (!u)
676
664
  throw new Error("header name must be a non-empty string");
677
- const d = a.findKey(s, l);
678
- (!d || s[d] === void 0 || u === !0 || u === void 0 && s[d] !== !1) && (s[d || f] = $(c));
665
+ const d = a.findKey(s, u);
666
+ (!d || s[d] === void 0 || l === !0 || l === void 0 && s[d] !== !1) && (s[d || f] = z(c));
679
667
  }
680
- const i = (c, f) => a.forEach(c, (u, l) => o(u, l, f));
668
+ const i = (c, f) => a.forEach(c, (l, u) => o(l, u, f));
681
669
  if (a.isPlainObject(t) || t instanceof this.constructor)
682
670
  i(t, n);
683
- else if (a.isString(t) && (t = t.trim()) && !on(t))
684
- i(rn(t), n);
671
+ else if (a.isString(t) && (t = t.trim()) && !tn(t))
672
+ i(Yt(t), n);
685
673
  else if (a.isHeaders(t))
686
674
  for (const [c, f] of t.entries())
687
675
  o(f, c, r);
@@ -697,7 +685,7 @@ let A = class {
697
685
  if (!n)
698
686
  return s;
699
687
  if (n === !0)
700
- return sn(s);
688
+ return en(s);
701
689
  if (a.isFunction(n))
702
690
  return n.call(this, s, r);
703
691
  if (a.isRegExp(n))
@@ -709,7 +697,7 @@ let A = class {
709
697
  has(t, n) {
710
698
  if (t = j(t), t) {
711
699
  const r = a.findKey(this, t);
712
- return !!(r && this[r] !== void 0 && (!n || ee(this, this[r], r, n)));
700
+ return !!(r && this[r] !== void 0 && (!n || Y(this, this[r], r, n)));
713
701
  }
714
702
  return !1;
715
703
  }
@@ -719,7 +707,7 @@ let A = class {
719
707
  function o(i) {
720
708
  if (i = j(i), i) {
721
709
  const c = a.findKey(r, i);
722
- c && (!n || ee(r, r[c], c, n)) && (delete r[c], s = !0);
710
+ c && (!n || Y(r, r[c], c, n)) && (delete r[c], s = !0);
723
711
  }
724
712
  }
725
713
  return a.isArray(t) ? t.forEach(o) : o(t), s;
@@ -729,7 +717,7 @@ let A = class {
729
717
  let r = n.length, s = !1;
730
718
  for (; r--; ) {
731
719
  const o = n[r];
732
- (!t || ee(this, this[o], o, t, !0)) && (delete this[o], s = !0);
720
+ (!t || Y(this, this[o], o, t, !0)) && (delete this[o], s = !0);
733
721
  }
734
722
  return s;
735
723
  }
@@ -738,11 +726,11 @@ let A = class {
738
726
  return a.forEach(this, (s, o) => {
739
727
  const i = a.findKey(r, o);
740
728
  if (i) {
741
- n[i] = $(s), delete n[o];
729
+ n[i] = z(s), delete n[o];
742
730
  return;
743
731
  }
744
- const c = t ? an(o) : String(o).trim();
745
- c !== o && delete n[o], n[c] = $(s), r[c] = !0;
732
+ const c = t ? nn(o) : String(o).trim();
733
+ c !== o && delete n[o], n[c] = z(s), r[c] = !0;
746
734
  }), this;
747
735
  }
748
736
  concat(...t) {
@@ -772,12 +760,12 @@ let A = class {
772
760
  return n.forEach((s) => r.set(s)), r;
773
761
  }
774
762
  static accessor(t) {
775
- const r = (this[Ee] = this[Ee] = {
763
+ const r = (this[be] = this[be] = {
776
764
  accessors: {}
777
765
  }).accessors, s = this.prototype;
778
766
  function o(i) {
779
767
  const c = j(i);
780
- r[c] || (cn(s, i), r[c] = !0);
768
+ r[c] || (rn(s, i), r[c] = !0);
781
769
  }
782
770
  return a.isArray(t) ? t.forEach(o) : o(t), this;
783
771
  }
@@ -793,14 +781,14 @@ a.reduceDescriptors(A.prototype, ({ value: e }, t) => {
793
781
  };
794
782
  });
795
783
  a.freezeMethods(A);
796
- function te(e, t) {
784
+ function ee(e, t) {
797
785
  const n = this || I, r = t || n, s = A.from(r.headers);
798
786
  let o = r.data;
799
787
  return a.forEach(e, function(c) {
800
788
  o = c.call(n, o, s.normalize(), t ? t.status : void 0);
801
789
  }), s.normalize(), o;
802
790
  }
803
- function $e(e) {
791
+ function Ie(e) {
804
792
  return !!(e && e.__CANCEL__);
805
793
  }
806
794
  function k(e, t, n) {
@@ -809,7 +797,7 @@ function k(e, t, n) {
809
797
  a.inherits(k, m, {
810
798
  __CANCEL__: !0
811
799
  });
812
- function Je(e, t, n) {
800
+ function Me(e, t, n) {
813
801
  const r = n.config.validateStatus;
814
802
  !n.status || !r || r(n.status) ? e(n) : t(new m(
815
803
  "Request failed with status code " + n.status,
@@ -819,68 +807,68 @@ function Je(e, t, n) {
819
807
  n
820
808
  ));
821
809
  }
822
- function un(e) {
810
+ function sn(e) {
823
811
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
824
812
  return t && t[1] || "";
825
813
  }
826
- function ln(e, t) {
814
+ function on(e, t) {
827
815
  e = e || 10;
828
816
  const n = new Array(e), r = new Array(e);
829
817
  let s = 0, o = 0, i;
830
818
  return t = t !== void 0 ? t : 1e3, function(f) {
831
- const u = Date.now(), l = r[o];
832
- i || (i = u), n[s] = f, r[s] = u;
819
+ const l = Date.now(), u = r[o];
820
+ i || (i = l), n[s] = f, r[s] = l;
833
821
  let d = o, b = 0;
834
822
  for (; d !== s; )
835
823
  b += n[d++], d = d % e;
836
- if (s = (s + 1) % e, s === o && (o = (o + 1) % e), u - i < t)
824
+ if (s = (s + 1) % e, s === o && (o = (o + 1) % e), l - i < t)
837
825
  return;
838
- const R = l && u - l;
826
+ const R = u && l - u;
839
827
  return R ? Math.round(b * 1e3 / R) : void 0;
840
828
  };
841
829
  }
842
- function fn(e, t) {
830
+ function an(e, t) {
843
831
  let n = 0, r = 1e3 / t, s, o;
844
- const i = (u, l = Date.now()) => {
845
- n = l, s = null, o && (clearTimeout(o), o = null), e.apply(null, u);
832
+ const i = (l, u = Date.now()) => {
833
+ n = u, s = null, o && (clearTimeout(o), o = null), e.apply(null, l);
846
834
  };
847
- return [(...u) => {
848
- const l = Date.now(), d = l - n;
849
- d >= r ? i(u, l) : (s = u, o || (o = setTimeout(() => {
835
+ return [(...l) => {
836
+ const u = Date.now(), d = u - n;
837
+ d >= r ? i(l, u) : (s = l, o || (o = setTimeout(() => {
850
838
  o = null, i(s);
851
839
  }, r - d)));
852
840
  }, () => s && i(s)];
853
841
  }
854
842
  const V = (e, t, n = 3) => {
855
843
  let r = 0;
856
- const s = ln(50, 250);
857
- return fn((o) => {
858
- const i = o.loaded, c = o.lengthComputable ? o.total : void 0, f = i - r, u = s(f), l = i <= c;
844
+ const s = on(50, 250);
845
+ return an((o) => {
846
+ const i = o.loaded, c = o.lengthComputable ? o.total : void 0, f = i - r, l = s(f), u = i <= c;
859
847
  r = i;
860
848
  const d = {
861
849
  loaded: i,
862
850
  total: c,
863
851
  progress: c ? i / c : void 0,
864
852
  bytes: f,
865
- rate: u || void 0,
866
- estimated: u && c && l ? (c - i) / u : void 0,
853
+ rate: l || void 0,
854
+ estimated: l && c && u ? (c - i) / l : void 0,
867
855
  event: o,
868
856
  lengthComputable: c != null,
869
857
  [t ? "download" : "upload"]: !0
870
858
  };
871
859
  e(d);
872
860
  }, n);
873
- }, Re = (e, t) => {
861
+ }, we = (e, t) => {
874
862
  const n = e != null;
875
863
  return [(r) => t[0]({
876
864
  lengthComputable: n,
877
865
  total: e,
878
866
  loaded: r
879
867
  }), t[1]];
880
- }, ge = (e) => (...t) => a.asap(() => e(...t)), dn = O.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, O.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
868
+ }, Ee = (e) => (...t) => a.asap(() => e(...t)), cn = O.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, O.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
881
869
  new URL(O.origin),
882
870
  O.navigator && /(msie|trident)/i.test(O.navigator.userAgent)
883
- ) : () => !0, pn = O.hasStandardBrowserEnv ? (
871
+ ) : () => !0, ln = O.hasStandardBrowserEnv ? (
884
872
  // Standard browser envs support document.cookie
885
873
  {
886
874
  write(e, t, n, r, s, o) {
@@ -907,43 +895,44 @@ const V = (e, t, n = 3) => {
907
895
  }
908
896
  }
909
897
  );
910
- function hn(e) {
898
+ function un(e) {
911
899
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
912
900
  }
913
- function mn(e, t) {
901
+ function fn(e, t) {
914
902
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
915
903
  }
916
- function Ve(e, t) {
917
- return e && !hn(t) ? mn(e, t) : t;
904
+ function $e(e, t, n) {
905
+ let r = !un(t);
906
+ return e && (r || n == !1) ? fn(e, t) : t;
918
907
  }
919
- const Se = (e) => e instanceof A ? { ...e } : e;
920
- function D(e, t) {
908
+ const Re = (e) => e instanceof A ? { ...e } : e;
909
+ function B(e, t) {
921
910
  t = t || {};
922
911
  const n = {};
923
- function r(u, l, d, b) {
924
- return a.isPlainObject(u) && a.isPlainObject(l) ? a.merge.call({ caseless: b }, u, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l;
912
+ function r(l, u, d, b) {
913
+ return a.isPlainObject(l) && a.isPlainObject(u) ? a.merge.call({ caseless: b }, l, u) : a.isPlainObject(u) ? a.merge({}, u) : a.isArray(u) ? u.slice() : u;
925
914
  }
926
- function s(u, l, d, b) {
927
- if (a.isUndefined(l)) {
928
- if (!a.isUndefined(u))
929
- return r(void 0, u, d, b);
930
- } else return r(u, l, d, b);
915
+ function s(l, u, d, b) {
916
+ if (a.isUndefined(u)) {
917
+ if (!a.isUndefined(l))
918
+ return r(void 0, l, d, b);
919
+ } else return r(l, u, d, b);
931
920
  }
932
- function o(u, l) {
933
- if (!a.isUndefined(l))
934
- return r(void 0, l);
921
+ function o(l, u) {
922
+ if (!a.isUndefined(u))
923
+ return r(void 0, u);
935
924
  }
936
- function i(u, l) {
937
- if (a.isUndefined(l)) {
938
- if (!a.isUndefined(u))
939
- return r(void 0, u);
940
- } else return r(void 0, l);
925
+ function i(l, u) {
926
+ if (a.isUndefined(u)) {
927
+ if (!a.isUndefined(l))
928
+ return r(void 0, l);
929
+ } else return r(void 0, u);
941
930
  }
942
- function c(u, l, d) {
931
+ function c(l, u, d) {
943
932
  if (d in t)
944
- return r(u, l);
933
+ return r(l, u);
945
934
  if (d in e)
946
- return r(void 0, u);
935
+ return r(void 0, l);
947
936
  }
948
937
  const f = {
949
938
  url: o,
@@ -974,17 +963,17 @@ function D(e, t) {
974
963
  socketPath: i,
975
964
  responseEncoding: i,
976
965
  validateStatus: c,
977
- headers: (u, l, d) => s(Se(u), Se(l), d, !0)
966
+ headers: (l, u, d) => s(Re(l), Re(u), d, !0)
978
967
  };
979
- return a.forEach(Object.keys(Object.assign({}, e, t)), function(l) {
980
- const d = f[l] || s, b = d(e[l], t[l], l);
981
- a.isUndefined(b) && d !== c || (n[l] = b);
968
+ return a.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
969
+ const d = f[u] || s, b = d(e[u], t[u], u);
970
+ a.isUndefined(b) && d !== c || (n[u] = b);
982
971
  }), n;
983
972
  }
984
- const We = (e) => {
985
- const t = D({}, e);
973
+ const ze = (e) => {
974
+ const t = B({}, e);
986
975
  let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: c } = t;
987
- t.headers = i = A.from(i), t.url = Ie(Ve(t.baseURL, t.url), e.params, e.paramsSerializer), c && i.set(
976
+ t.headers = i = A.from(i), t.url = je($e(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && i.set(
988
977
  "Authorization",
989
978
  "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
990
979
  );
@@ -993,43 +982,43 @@ const We = (e) => {
993
982
  if (O.hasStandardBrowserEnv || O.hasStandardBrowserWebWorkerEnv)
994
983
  i.setContentType(void 0);
995
984
  else if ((f = i.getContentType()) !== !1) {
996
- const [u, ...l] = f ? f.split(";").map((d) => d.trim()).filter(Boolean) : [];
997
- i.setContentType([u || "multipart/form-data", ...l].join("; "));
985
+ const [l, ...u] = f ? f.split(";").map((d) => d.trim()).filter(Boolean) : [];
986
+ i.setContentType([l || "multipart/form-data", ...u].join("; "));
998
987
  }
999
988
  }
1000
- if (O.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && dn(t.url))) {
1001
- const u = s && o && pn.read(o);
1002
- u && i.set(s, u);
989
+ if (O.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && cn(t.url))) {
990
+ const l = s && o && ln.read(o);
991
+ l && i.set(s, l);
1003
992
  }
1004
993
  return t;
1005
- }, yn = typeof XMLHttpRequest < "u", bn = yn && function(e) {
994
+ }, dn = typeof XMLHttpRequest < "u", pn = dn && function(e) {
1006
995
  return new Promise(function(n, r) {
1007
- const s = We(e);
996
+ const s = ze(e);
1008
997
  let o = s.data;
1009
998
  const i = A.from(s.headers).normalize();
1010
- let { responseType: c, onUploadProgress: f, onDownloadProgress: u } = s, l, d, b, R, p;
999
+ let { responseType: c, onUploadProgress: f, onDownloadProgress: l } = s, u, d, b, R, p;
1011
1000
  function y() {
1012
- R && R(), p && p(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l);
1001
+ R && R(), p && p(), s.cancelToken && s.cancelToken.unsubscribe(u), s.signal && s.signal.removeEventListener("abort", u);
1013
1002
  }
1014
1003
  let h = new XMLHttpRequest();
1015
1004
  h.open(s.method.toUpperCase(), s.url, !0), h.timeout = s.timeout;
1016
1005
  function w() {
1017
1006
  if (!h)
1018
1007
  return;
1019
- const S = A.from(
1008
+ const g = A.from(
1020
1009
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1021
1010
  ), T = {
1022
1011
  data: !c || c === "text" || c === "json" ? h.responseText : h.response,
1023
1012
  status: h.status,
1024
1013
  statusText: h.statusText,
1025
- headers: S,
1014
+ headers: g,
1026
1015
  config: e,
1027
1016
  request: h
1028
1017
  };
1029
- Je(function(F) {
1030
- n(F), y();
1031
- }, function(F) {
1032
- r(F), y();
1018
+ Me(function(_) {
1019
+ n(_), y();
1020
+ }, function(_) {
1021
+ r(_), y();
1033
1022
  }, T), h = null;
1034
1023
  }
1035
1024
  "onloadend" in h ? h.onloadend = w : h.onreadystatechange = function() {
@@ -1040,7 +1029,7 @@ const We = (e) => {
1040
1029
  r(new m("Network Error", m.ERR_NETWORK, e, h)), h = null;
1041
1030
  }, h.ontimeout = function() {
1042
1031
  let P = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
1043
- const T = s.transitional || Me;
1032
+ const T = s.transitional || qe;
1044
1033
  s.timeoutErrorMessage && (P = s.timeoutErrorMessage), r(new m(
1045
1034
  P,
1046
1035
  T.clarifyTimeoutError ? m.ETIMEDOUT : m.ECONNABORTED,
@@ -1049,40 +1038,40 @@ const We = (e) => {
1049
1038
  )), h = null;
1050
1039
  }, o === void 0 && i.setContentType(null), "setRequestHeader" in h && a.forEach(i.toJSON(), function(P, T) {
1051
1040
  h.setRequestHeader(T, P);
1052
- }), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), u && ([b, p] = V(u, !0), h.addEventListener("progress", b)), f && h.upload && ([d, R] = V(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", R)), (s.cancelToken || s.signal) && (l = (S) => {
1053
- h && (r(!S || S.type ? new k(null, e, h) : S), h.abort(), h = null);
1054
- }, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
1055
- const g = un(s.url);
1056
- if (g && O.protocols.indexOf(g) === -1) {
1057
- r(new m("Unsupported protocol " + g + ":", m.ERR_BAD_REQUEST, e));
1041
+ }), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), l && ([b, p] = V(l, !0), h.addEventListener("progress", b)), f && h.upload && ([d, R] = V(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", R)), (s.cancelToken || s.signal) && (u = (g) => {
1042
+ h && (r(!g || g.type ? new k(null, e, h) : g), h.abort(), h = null);
1043
+ }, s.cancelToken && s.cancelToken.subscribe(u), s.signal && (s.signal.aborted ? u() : s.signal.addEventListener("abort", u)));
1044
+ const S = sn(s.url);
1045
+ if (S && O.protocols.indexOf(S) === -1) {
1046
+ r(new m("Unsupported protocol " + S + ":", m.ERR_BAD_REQUEST, e));
1058
1047
  return;
1059
1048
  }
1060
1049
  h.send(o || null);
1061
1050
  });
1062
- }, wn = (e, t) => {
1051
+ }, hn = (e, t) => {
1063
1052
  const { length: n } = e = e ? e.filter(Boolean) : [];
1064
1053
  if (t || n) {
1065
1054
  let r = new AbortController(), s;
1066
- const o = function(u) {
1055
+ const o = function(l) {
1067
1056
  if (!s) {
1068
1057
  s = !0, c();
1069
- const l = u instanceof Error ? u : this.reason;
1070
- r.abort(l instanceof m ? l : new k(l instanceof Error ? l.message : l));
1058
+ const u = l instanceof Error ? l : this.reason;
1059
+ r.abort(u instanceof m ? u : new k(u instanceof Error ? u.message : u));
1071
1060
  }
1072
1061
  };
1073
1062
  let i = t && setTimeout(() => {
1074
1063
  i = null, o(new m(`timeout ${t} of ms exceeded`, m.ETIMEDOUT));
1075
1064
  }, t);
1076
1065
  const c = () => {
1077
- e && (i && clearTimeout(i), i = null, e.forEach((u) => {
1078
- u.unsubscribe ? u.unsubscribe(o) : u.removeEventListener("abort", o);
1066
+ e && (i && clearTimeout(i), i = null, e.forEach((l) => {
1067
+ l.unsubscribe ? l.unsubscribe(o) : l.removeEventListener("abort", o);
1079
1068
  }), e = null);
1080
1069
  };
1081
- e.forEach((u) => u.addEventListener("abort", o));
1070
+ e.forEach((l) => l.addEventListener("abort", o));
1082
1071
  const { signal: f } = r;
1083
1072
  return f.unsubscribe = () => a.asap(c), f;
1084
1073
  }
1085
- }, En = function* (e, t) {
1074
+ }, mn = function* (e, t) {
1086
1075
  let n = e.byteLength;
1087
1076
  if (n < t) {
1088
1077
  yield e;
@@ -1091,10 +1080,10 @@ const We = (e) => {
1091
1080
  let r = 0, s;
1092
1081
  for (; r < n; )
1093
1082
  s = r + t, yield e.slice(r, s), r = s;
1094
- }, Rn = async function* (e, t) {
1095
- for await (const n of gn(e))
1096
- yield* En(n, t);
1097
- }, gn = async function* (e) {
1083
+ }, yn = async function* (e, t) {
1084
+ for await (const n of bn(e))
1085
+ yield* mn(n, t);
1086
+ }, bn = async function* (e) {
1098
1087
  if (e[Symbol.asyncIterator]) {
1099
1088
  yield* e;
1100
1089
  return;
@@ -1110,27 +1099,27 @@ const We = (e) => {
1110
1099
  } finally {
1111
1100
  await t.cancel();
1112
1101
  }
1113
- }, Oe = (e, t, n, r) => {
1114
- const s = Rn(e, t);
1102
+ }, Se = (e, t, n, r) => {
1103
+ const s = yn(e, t);
1115
1104
  let o = 0, i, c = (f) => {
1116
1105
  i || (i = !0, r && r(f));
1117
1106
  };
1118
1107
  return new ReadableStream({
1119
1108
  async pull(f) {
1120
1109
  try {
1121
- const { done: u, value: l } = await s.next();
1122
- if (u) {
1110
+ const { done: l, value: u } = await s.next();
1111
+ if (l) {
1123
1112
  c(), f.close();
1124
1113
  return;
1125
1114
  }
1126
- let d = l.byteLength;
1115
+ let d = u.byteLength;
1127
1116
  if (n) {
1128
1117
  let b = o += d;
1129
1118
  n(b);
1130
1119
  }
1131
- f.enqueue(new Uint8Array(l));
1132
- } catch (u) {
1133
- throw c(u), u;
1120
+ f.enqueue(new Uint8Array(u));
1121
+ } catch (l) {
1122
+ throw c(l), l;
1134
1123
  }
1135
1124
  },
1136
1125
  cancel(f) {
@@ -1139,13 +1128,13 @@ const We = (e) => {
1139
1128
  }, {
1140
1129
  highWaterMark: 2
1141
1130
  });
1142
- }, Q = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Ke = Q && typeof ReadableStream == "function", Sn = Q && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), ve = (e, ...t) => {
1131
+ }, Q = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Je = Q && typeof ReadableStream == "function", wn = Q && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Ve = (e, ...t) => {
1143
1132
  try {
1144
1133
  return !!e(...t);
1145
1134
  } catch {
1146
1135
  return !1;
1147
1136
  }
1148
- }, On = Ke && ve(() => {
1137
+ }, En = Je && Ve(() => {
1149
1138
  let e = !1;
1150
1139
  const t = new Request(O.origin, {
1151
1140
  body: new ReadableStream(),
@@ -1155,8 +1144,8 @@ const We = (e) => {
1155
1144
  }
1156
1145
  }).headers.has("Content-Type");
1157
1146
  return e && !t;
1158
- }), Te = 64 * 1024, ie = Ke && ve(() => a.isReadableStream(new Response("").body)), W = {
1159
- stream: ie && ((e) => e.body)
1147
+ }), ge = 64 * 1024, oe = Je && Ve(() => a.isReadableStream(new Response("").body)), W = {
1148
+ stream: oe && ((e) => e.body)
1160
1149
  };
1161
1150
  Q && ((e) => {
1162
1151
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
@@ -1165,7 +1154,7 @@ Q && ((e) => {
1165
1154
  });
1166
1155
  });
1167
1156
  })(new Response());
1168
- const Tn = async (e) => {
1157
+ const Rn = async (e) => {
1169
1158
  if (e == null)
1170
1159
  return 0;
1171
1160
  if (a.isBlob(e))
@@ -1178,11 +1167,11 @@ const Tn = async (e) => {
1178
1167
  if (a.isArrayBufferView(e) || a.isArrayBuffer(e))
1179
1168
  return e.byteLength;
1180
1169
  if (a.isURLSearchParams(e) && (e = e + ""), a.isString(e))
1181
- return (await Sn(e)).byteLength;
1182
- }, An = async (e, t) => {
1170
+ return (await wn(e)).byteLength;
1171
+ }, Sn = async (e, t) => {
1183
1172
  const n = a.toFiniteNumber(e.getContentLength());
1184
- return n ?? Tn(t);
1185
- }, xn = Q && (async (e) => {
1173
+ return n ?? Rn(t);
1174
+ }, gn = Q && (async (e) => {
1186
1175
  let {
1187
1176
  url: t,
1188
1177
  method: n,
@@ -1192,30 +1181,30 @@ const Tn = async (e) => {
1192
1181
  timeout: i,
1193
1182
  onDownloadProgress: c,
1194
1183
  onUploadProgress: f,
1195
- responseType: u,
1196
- headers: l,
1184
+ responseType: l,
1185
+ headers: u,
1197
1186
  withCredentials: d = "same-origin",
1198
1187
  fetchOptions: b
1199
- } = We(e);
1200
- u = u ? (u + "").toLowerCase() : "text";
1201
- let R = wn([s, o && o.toAbortSignal()], i), p;
1188
+ } = ze(e);
1189
+ l = l ? (l + "").toLowerCase() : "text";
1190
+ let R = hn([s, o && o.toAbortSignal()], i), p;
1202
1191
  const y = R && R.unsubscribe && (() => {
1203
1192
  R.unsubscribe();
1204
1193
  });
1205
1194
  let h;
1206
1195
  try {
1207
- if (f && On && n !== "get" && n !== "head" && (h = await An(l, r)) !== 0) {
1196
+ if (f && En && n !== "get" && n !== "head" && (h = await Sn(u, r)) !== 0) {
1208
1197
  let T = new Request(t, {
1209
1198
  method: "POST",
1210
1199
  body: r,
1211
1200
  duplex: "half"
1212
- }), _;
1213
- if (a.isFormData(r) && (_ = T.headers.get("content-type")) && l.setContentType(_), T.body) {
1214
- const [F, M] = Re(
1201
+ }), F;
1202
+ if (a.isFormData(r) && (F = T.headers.get("content-type")) && u.setContentType(F), T.body) {
1203
+ const [_, M] = we(
1215
1204
  h,
1216
- V(ge(f))
1205
+ V(Ee(f))
1217
1206
  );
1218
- r = Oe(T.body, Te, F, M);
1207
+ r = Se(T.body, ge, _, M);
1219
1208
  }
1220
1209
  }
1221
1210
  a.isString(d) || (d = d ? "include" : "omit");
@@ -1224,37 +1213,37 @@ const Tn = async (e) => {
1224
1213
  ...b,
1225
1214
  signal: R,
1226
1215
  method: n.toUpperCase(),
1227
- headers: l.normalize().toJSON(),
1216
+ headers: u.normalize().toJSON(),
1228
1217
  body: r,
1229
1218
  duplex: "half",
1230
1219
  credentials: w ? d : void 0
1231
1220
  });
1232
- let g = await fetch(p);
1233
- const S = ie && (u === "stream" || u === "response");
1234
- if (ie && (c || S && y)) {
1221
+ let S = await fetch(p);
1222
+ const g = oe && (l === "stream" || l === "response");
1223
+ if (oe && (c || g && y)) {
1235
1224
  const T = {};
1236
- ["status", "statusText", "headers"].forEach((de) => {
1237
- T[de] = g[de];
1225
+ ["status", "statusText", "headers"].forEach((fe) => {
1226
+ T[fe] = S[fe];
1238
1227
  });
1239
- const _ = a.toFiniteNumber(g.headers.get("content-length")), [F, M] = c && Re(
1240
- _,
1241
- V(ge(c), !0)
1228
+ const F = a.toFiniteNumber(S.headers.get("content-length")), [_, M] = c && we(
1229
+ F,
1230
+ V(Ee(c), !0)
1242
1231
  ) || [];
1243
- g = new Response(
1244
- Oe(g.body, Te, F, () => {
1232
+ S = new Response(
1233
+ Se(S.body, ge, _, () => {
1245
1234
  M && M(), y && y();
1246
1235
  }),
1247
1236
  T
1248
1237
  );
1249
1238
  }
1250
- u = u || "text";
1251
- let P = await W[a.findKey(W, u) || "text"](g, e);
1252
- return !S && y && y(), await new Promise((T, _) => {
1253
- Je(T, _, {
1239
+ l = l || "text";
1240
+ let P = await W[a.findKey(W, l) || "text"](S, e);
1241
+ return !g && y && y(), await new Promise((T, F) => {
1242
+ Me(T, F, {
1254
1243
  data: P,
1255
- headers: A.from(g.headers),
1256
- status: g.status,
1257
- statusText: g.statusText,
1244
+ headers: A.from(S.headers),
1245
+ status: S.status,
1246
+ statusText: S.statusText,
1258
1247
  config: e,
1259
1248
  request: p
1260
1249
  });
@@ -1267,12 +1256,12 @@ const Tn = async (e) => {
1267
1256
  }
1268
1257
  ) : m.from(w, w && w.code, e, p);
1269
1258
  }
1270
- }), ae = {
1271
- http: It,
1272
- xhr: bn,
1273
- fetch: xn
1259
+ }), ie = {
1260
+ http: kt,
1261
+ xhr: pn,
1262
+ fetch: gn
1274
1263
  };
1275
- a.forEach(ae, (e, t) => {
1264
+ a.forEach(ie, (e, t) => {
1276
1265
  if (e) {
1277
1266
  try {
1278
1267
  Object.defineProperty(e, "name", { value: t });
@@ -1281,7 +1270,7 @@ a.forEach(ae, (e, t) => {
1281
1270
  Object.defineProperty(e, "adapterName", { value: t });
1282
1271
  }
1283
1272
  });
1284
- const Ae = (e) => `- ${e}`, Cn = (e) => a.isFunction(e) || e === null || e === !1, Xe = {
1273
+ const Oe = (e) => `- ${e}`, On = (e) => a.isFunction(e) || e === null || e === !1, We = {
1285
1274
  getAdapter: (e) => {
1286
1275
  e = a.isArray(e) ? e : [e];
1287
1276
  const { length: t } = e;
@@ -1290,7 +1279,7 @@ const Ae = (e) => `- ${e}`, Cn = (e) => a.isFunction(e) || e === null || e === !
1290
1279
  for (let o = 0; o < t; o++) {
1291
1280
  n = e[o];
1292
1281
  let i;
1293
- if (r = n, !Cn(n) && (r = ae[(i = String(n)).toLowerCase()], r === void 0))
1282
+ if (r = n, !On(n) && (r = ie[(i = String(n)).toLowerCase()], r === void 0))
1294
1283
  throw new m(`Unknown adapter '${i}'`);
1295
1284
  if (r)
1296
1285
  break;
@@ -1301,8 +1290,8 @@ const Ae = (e) => `- ${e}`, Cn = (e) => a.isFunction(e) || e === null || e === !
1301
1290
  ([c, f]) => `adapter ${c} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
1302
1291
  );
1303
1292
  let i = t ? o.length > 1 ? `since :
1304
- ` + o.map(Ae).join(`
1305
- `) : " " + Ae(o[0]) : "as no adapter specified";
1293
+ ` + o.map(Oe).join(`
1294
+ `) : " " + Oe(o[0]) : "as no adapter specified";
1306
1295
  throw new m(
1307
1296
  "There is no suitable adapter to dispatch the request " + i,
1308
1297
  "ERR_NOT_SUPPORT"
@@ -1310,40 +1299,40 @@ const Ae = (e) => `- ${e}`, Cn = (e) => a.isFunction(e) || e === null || e === !
1310
1299
  }
1311
1300
  return r;
1312
1301
  },
1313
- adapters: ae
1302
+ adapters: ie
1314
1303
  };
1315
- function ne(e) {
1304
+ function te(e) {
1316
1305
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1317
1306
  throw new k(null, e);
1318
1307
  }
1319
- function xe(e) {
1320
- return ne(e), e.headers = A.from(e.headers), e.data = te.call(
1308
+ function Te(e) {
1309
+ return te(e), e.headers = A.from(e.headers), e.data = ee.call(
1321
1310
  e,
1322
1311
  e.transformRequest
1323
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Xe.getAdapter(e.adapter || I.adapter)(e).then(function(r) {
1324
- return ne(e), r.data = te.call(
1312
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), We.getAdapter(e.adapter || I.adapter)(e).then(function(r) {
1313
+ return te(e), r.data = ee.call(
1325
1314
  e,
1326
1315
  e.transformResponse,
1327
1316
  r
1328
1317
  ), r.headers = A.from(r.headers), r;
1329
1318
  }, function(r) {
1330
- return $e(r) || (ne(e), r && r.response && (r.response.data = te.call(
1319
+ return Ie(r) || (te(e), r && r.response && (r.response.data = ee.call(
1331
1320
  e,
1332
1321
  e.transformResponse,
1333
1322
  r.response
1334
1323
  ), r.response.headers = A.from(r.response.headers))), Promise.reject(r);
1335
1324
  });
1336
1325
  }
1337
- const Ge = "1.7.9", Z = {};
1326
+ const Ke = "1.8.4", Z = {};
1338
1327
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1339
1328
  Z[e] = function(r) {
1340
1329
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1341
1330
  };
1342
1331
  });
1343
- const Ce = {};
1332
+ const Ae = {};
1344
1333
  Z.transitional = function(t, n, r) {
1345
1334
  function s(o, i) {
1346
- return "[Axios v" + Ge + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1335
+ return "[Axios v" + Ke + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1347
1336
  }
1348
1337
  return (o, i, c) => {
1349
1338
  if (t === !1)
@@ -1351,7 +1340,7 @@ Z.transitional = function(t, n, r) {
1351
1340
  s(i, " has been removed" + (n ? " in " + n : "")),
1352
1341
  m.ERR_DEPRECATED
1353
1342
  );
1354
- return n && !Ce[i] && (Ce[i] = !0, console.warn(
1343
+ return n && !Ae[i] && (Ae[i] = !0, console.warn(
1355
1344
  s(
1356
1345
  i,
1357
1346
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -1362,7 +1351,7 @@ Z.transitional = function(t, n, r) {
1362
1351
  Z.spelling = function(t) {
1363
1352
  return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
1364
1353
  };
1365
- function Nn(e, t, n) {
1354
+ function Tn(e, t, n) {
1366
1355
  if (typeof e != "object")
1367
1356
  throw new m("options must be an object", m.ERR_BAD_OPTION_VALUE);
1368
1357
  const r = Object.keys(e);
@@ -1380,14 +1369,14 @@ function Nn(e, t, n) {
1380
1369
  }
1381
1370
  }
1382
1371
  const J = {
1383
- assertOptions: Nn,
1372
+ assertOptions: Tn,
1384
1373
  validators: Z
1385
1374
  }, N = J.validators;
1386
- let B = class {
1375
+ let L = class {
1387
1376
  constructor(t) {
1388
1377
  this.defaults = t, this.interceptors = {
1389
- request: new we(),
1390
- response: new we()
1378
+ request: new ye(),
1379
+ response: new ye()
1391
1380
  };
1392
1381
  }
1393
1382
  /**
@@ -1416,7 +1405,7 @@ let B = class {
1416
1405
  }
1417
1406
  }
1418
1407
  _request(t, n) {
1419
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = D(this.defaults, n);
1408
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = B(this.defaults, n);
1420
1409
  const { transitional: r, paramsSerializer: s, headers: o } = n;
1421
1410
  r !== void 0 && J.assertOptions(r, {
1422
1411
  silentJSONParsing: N.transitional(N.boolean),
@@ -1427,7 +1416,7 @@ let B = class {
1427
1416
  } : J.assertOptions(s, {
1428
1417
  encode: N.function,
1429
1418
  serialize: N.function
1430
- }, !0)), J.assertOptions(n, {
1419
+ }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), J.assertOptions(n, {
1431
1420
  baseUrl: N.spelling("baseURL"),
1432
1421
  withXsrfToken: N.spelling("withXSRFToken")
1433
1422
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -1446,16 +1435,16 @@ let B = class {
1446
1435
  this.interceptors.request.forEach(function(y) {
1447
1436
  typeof y.runWhen == "function" && y.runWhen(n) === !1 || (f = f && y.synchronous, c.unshift(y.fulfilled, y.rejected));
1448
1437
  });
1449
- const u = [];
1438
+ const l = [];
1450
1439
  this.interceptors.response.forEach(function(y) {
1451
- u.push(y.fulfilled, y.rejected);
1440
+ l.push(y.fulfilled, y.rejected);
1452
1441
  });
1453
- let l, d = 0, b;
1442
+ let u, d = 0, b;
1454
1443
  if (!f) {
1455
- const p = [xe.bind(this), void 0];
1456
- for (p.unshift.apply(p, c), p.push.apply(p, u), b = p.length, l = Promise.resolve(n); d < b; )
1457
- l = l.then(p[d++], p[d++]);
1458
- return l;
1444
+ const p = [Te.bind(this), void 0];
1445
+ for (p.unshift.apply(p, c), p.push.apply(p, l), b = p.length, u = Promise.resolve(n); d < b; )
1446
+ u = u.then(p[d++], p[d++]);
1447
+ return u;
1459
1448
  }
1460
1449
  b = c.length;
1461
1450
  let R = n;
@@ -1469,23 +1458,23 @@ let B = class {
1469
1458
  }
1470
1459
  }
1471
1460
  try {
1472
- l = xe.call(this, R);
1461
+ u = Te.call(this, R);
1473
1462
  } catch (p) {
1474
1463
  return Promise.reject(p);
1475
1464
  }
1476
- for (d = 0, b = u.length; d < b; )
1477
- l = l.then(u[d++], u[d++]);
1478
- return l;
1465
+ for (d = 0, b = l.length; d < b; )
1466
+ u = u.then(l[d++], l[d++]);
1467
+ return u;
1479
1468
  }
1480
1469
  getUri(t) {
1481
- t = D(this.defaults, t);
1482
- const n = Ve(t.baseURL, t.url);
1483
- return Ie(n, t.params, t.paramsSerializer);
1470
+ t = B(this.defaults, t);
1471
+ const n = $e(t.baseURL, t.url, t.allowAbsoluteUrls);
1472
+ return je(n, t.params, t.paramsSerializer);
1484
1473
  }
1485
1474
  };
1486
1475
  a.forEach(["delete", "get", "head", "options"], function(t) {
1487
- B.prototype[t] = function(n, r) {
1488
- return this.request(D(r || {}, {
1476
+ L.prototype[t] = function(n, r) {
1477
+ return this.request(B(r || {}, {
1489
1478
  method: t,
1490
1479
  url: n,
1491
1480
  data: (r || {}).data
@@ -1495,7 +1484,7 @@ a.forEach(["delete", "get", "head", "options"], function(t) {
1495
1484
  a.forEach(["post", "put", "patch"], function(t) {
1496
1485
  function n(r) {
1497
1486
  return function(o, i, c) {
1498
- return this.request(D(c || {}, {
1487
+ return this.request(B(c || {}, {
1499
1488
  method: t,
1500
1489
  headers: r ? {
1501
1490
  "Content-Type": "multipart/form-data"
@@ -1505,9 +1494,9 @@ a.forEach(["post", "put", "patch"], function(t) {
1505
1494
  }));
1506
1495
  };
1507
1496
  }
1508
- B.prototype[t] = n(), B.prototype[t + "Form"] = n(!0);
1497
+ L.prototype[t] = n(), L.prototype[t + "Form"] = n(!0);
1509
1498
  });
1510
- let Pn = class Qe {
1499
+ let An = class ve {
1511
1500
  constructor(t) {
1512
1501
  if (typeof t != "function")
1513
1502
  throw new TypeError("executor must be a function.");
@@ -1573,22 +1562,22 @@ let Pn = class Qe {
1573
1562
  static source() {
1574
1563
  let t;
1575
1564
  return {
1576
- token: new Qe(function(s) {
1565
+ token: new ve(function(s) {
1577
1566
  t = s;
1578
1567
  }),
1579
1568
  cancel: t
1580
1569
  };
1581
1570
  }
1582
1571
  };
1583
- function _n(e) {
1572
+ function xn(e) {
1584
1573
  return function(n) {
1585
1574
  return e.apply(null, n);
1586
1575
  };
1587
1576
  }
1588
- function Fn(e) {
1577
+ function Cn(e) {
1589
1578
  return a.isObject(e) && e.isAxiosError === !0;
1590
1579
  }
1591
- const ce = {
1580
+ const ae = {
1592
1581
  Continue: 100,
1593
1582
  SwitchingProtocols: 101,
1594
1583
  Processing: 102,
@@ -1653,52 +1642,52 @@ const ce = {
1653
1642
  NotExtended: 510,
1654
1643
  NetworkAuthenticationRequired: 511
1655
1644
  };
1656
- Object.entries(ce).forEach(([e, t]) => {
1657
- ce[t] = e;
1645
+ Object.entries(ae).forEach(([e, t]) => {
1646
+ ae[t] = e;
1658
1647
  });
1659
- function Ze(e) {
1660
- const t = new B(e), n = Ne(B.prototype.request, t);
1661
- return a.extend(n, B.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1662
- return Ze(D(e, s));
1648
+ function Xe(e) {
1649
+ const t = new L(e), n = xe(L.prototype.request, t);
1650
+ return a.extend(n, L.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1651
+ return Xe(B(e, s));
1663
1652
  }, n;
1664
1653
  }
1665
- const E = Ze(I);
1666
- E.Axios = B;
1654
+ const E = Xe(I);
1655
+ E.Axios = L;
1667
1656
  E.CanceledError = k;
1668
- E.CancelToken = Pn;
1669
- E.isCancel = $e;
1670
- E.VERSION = Ge;
1657
+ E.CancelToken = An;
1658
+ E.isCancel = Ie;
1659
+ E.VERSION = Ke;
1671
1660
  E.toFormData = G;
1672
1661
  E.AxiosError = m;
1673
1662
  E.Cancel = E.CanceledError;
1674
1663
  E.all = function(t) {
1675
1664
  return Promise.all(t);
1676
1665
  };
1677
- E.spread = _n;
1678
- E.isAxiosError = Fn;
1679
- E.mergeConfig = D;
1666
+ E.spread = xn;
1667
+ E.isAxiosError = Cn;
1668
+ E.mergeConfig = B;
1680
1669
  E.AxiosHeaders = A;
1681
- E.formToJSON = (e) => ze(a.isHTMLForm(e) ? new FormData(e) : e);
1682
- E.getAdapter = Xe.getAdapter;
1683
- E.HttpStatusCode = ce;
1670
+ E.formToJSON = (e) => He(a.isHTMLForm(e) ? new FormData(e) : e);
1671
+ E.getAdapter = We.getAdapter;
1672
+ E.HttpStatusCode = ae;
1684
1673
  E.default = E;
1685
1674
  const {
1686
- Axios: Un,
1687
- AxiosError: kn,
1688
- CanceledError: jn,
1689
- isCancel: qn,
1690
- CancelToken: Hn,
1691
- VERSION: In,
1692
- all: Mn,
1693
- Cancel: zn,
1694
- isAxiosError: $n,
1695
- spread: Jn,
1696
- toFormData: Vn,
1697
- AxiosHeaders: Wn,
1698
- HttpStatusCode: Kn,
1699
- formToJSON: vn,
1700
- getAdapter: Xn,
1701
- mergeConfig: Gn
1675
+ Axios: _n,
1676
+ AxiosError: Un,
1677
+ CanceledError: Ln,
1678
+ isCancel: Bn,
1679
+ CancelToken: Dn,
1680
+ VERSION: kn,
1681
+ all: jn,
1682
+ Cancel: qn,
1683
+ isAxiosError: Hn,
1684
+ spread: In,
1685
+ toFormData: Mn,
1686
+ AxiosHeaders: $n,
1687
+ HttpStatusCode: zn,
1688
+ formToJSON: Jn,
1689
+ getAdapter: Vn,
1690
+ mergeConfig: Wn
1702
1691
  } = E;
1703
1692
  export {
1704
1693
  E as a