pd-ui-package 1.2.0 → 1.3.1

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.
@@ -0,0 +1,1772 @@
1
+ function ze(e, t) {
2
+ return function() {
3
+ return e.apply(t, arguments);
4
+ };
5
+ }
6
+ const { toString: ht } = Object.prototype, { getPrototypeOf: be } = Object, { iterator: re, toStringTag: Je } = Symbol, se = /* @__PURE__ */ ((e) => (t) => {
7
+ const n = ht.call(t);
8
+ return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
9
+ })(/* @__PURE__ */ Object.create(null)), P = (e) => (e = e.toLowerCase(), (t) => se(t) === e), oe = (e) => (t) => typeof t === e, { isArray: M } = Array, I = oe("undefined");
10
+ function V(e) {
11
+ return e !== null && !I(e) && e.constructor !== null && !I(e.constructor) && T(e.constructor.isBuffer) && e.constructor.isBuffer(e);
12
+ }
13
+ const Ve = P("ArrayBuffer");
14
+ function mt(e) {
15
+ let t;
16
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ve(e.buffer), t;
17
+ }
18
+ const yt = oe("string"), T = oe("function"), We = oe("number"), W = (e) => e !== null && typeof e == "object", bt = (e) => e === !0 || e === !1, Y = (e) => {
19
+ if (se(e) !== "object")
20
+ return !1;
21
+ const t = be(e);
22
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Je in e) && !(re in e);
23
+ }, wt = (e) => {
24
+ if (!W(e) || V(e))
25
+ return !1;
26
+ try {
27
+ return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
28
+ } catch {
29
+ return !1;
30
+ }
31
+ }, Et = P("Date"), gt = P("File"), St = P("Blob"), Rt = P("FileList"), Ot = (e) => W(e) && T(e.pipe), Tt = (e) => {
32
+ let t;
33
+ return e && (typeof FormData == "function" && e instanceof FormData || T(e.append) && ((t = se(e)) === "formdata" || // detect form-data instance
34
+ t === "object" && T(e.toString) && e.toString() === "[object FormData]"));
35
+ }, At = P("URLSearchParams"), [xt, Ct, Nt, Pt] = ["ReadableStream", "Request", "Response", "Headers"].map(P), Ft = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
36
+ function K(e, t, { allOwnKeys: n = !1 } = {}) {
37
+ if (e === null || typeof e > "u")
38
+ return;
39
+ let r, s;
40
+ if (typeof e != "object" && (e = [e]), M(e))
41
+ for (r = 0, s = e.length; r < s; r++)
42
+ t.call(null, e[r], r, e);
43
+ else {
44
+ if (V(e))
45
+ return;
46
+ const i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), o = i.length;
47
+ let c;
48
+ for (r = 0; r < o; r++)
49
+ c = i[r], t.call(null, e[c], c, e);
50
+ }
51
+ }
52
+ function Ke(e, t) {
53
+ if (V(e))
54
+ return null;
55
+ t = t.toLowerCase();
56
+ const n = Object.keys(e);
57
+ let r = n.length, s;
58
+ for (; r-- > 0; )
59
+ if (s = n[r], t === s.toLowerCase())
60
+ return s;
61
+ return null;
62
+ }
63
+ const D = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ve = (e) => !I(e) && e !== D;
64
+ function pe() {
65
+ const { caseless: e, skipUndefined: t } = ve(this) && this || {}, n = {}, r = (s, i) => {
66
+ const o = e && Ke(n, i) || i;
67
+ Y(n[o]) && Y(s) ? n[o] = pe(n[o], s) : Y(s) ? n[o] = pe({}, s) : M(s) ? n[o] = s.slice() : (!t || !I(s)) && (n[o] = s);
68
+ };
69
+ for (let s = 0, i = arguments.length; s < i; s++)
70
+ arguments[s] && K(arguments[s], r);
71
+ return n;
72
+ }
73
+ const _t = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
74
+ n && T(s) ? e[i] = ze(s, n) : e[i] = s;
75
+ }, { allOwnKeys: r }), e), Ut = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Lt = (e, t, n, r) => {
76
+ e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
77
+ value: t.prototype
78
+ }), n && Object.assign(e.prototype, n);
79
+ }, Bt = (e, t, n, r) => {
80
+ let s, i, o;
81
+ const c = {};
82
+ if (t = t || {}, e == null) return t;
83
+ do {
84
+ for (s = Object.getOwnPropertyNames(e), i = s.length; i-- > 0; )
85
+ o = s[i], (!r || r(o, e, t)) && !c[o] && (t[o] = e[o], c[o] = !0);
86
+ e = n !== !1 && be(e);
87
+ } while (e && (!n || n(e, t)) && e !== Object.prototype);
88
+ return t;
89
+ }, kt = (e, t, n) => {
90
+ e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
91
+ const r = e.indexOf(t, n);
92
+ return r !== -1 && r === n;
93
+ }, Dt = (e) => {
94
+ if (!e) return null;
95
+ if (M(e)) return e;
96
+ let t = e.length;
97
+ if (!We(t)) return null;
98
+ const n = new Array(t);
99
+ for (; t-- > 0; )
100
+ n[t] = e[t];
101
+ return n;
102
+ }, jt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && be(Uint8Array)), qt = (e, t) => {
103
+ const r = (e && e[re]).call(e);
104
+ let s;
105
+ for (; (s = r.next()) && !s.done; ) {
106
+ const i = s.value;
107
+ t.call(e, i[0], i[1]);
108
+ }
109
+ }, Ht = (e, t) => {
110
+ let n;
111
+ const r = [];
112
+ for (; (n = e.exec(t)) !== null; )
113
+ r.push(n);
114
+ return r;
115
+ }, It = P("HTMLFormElement"), Mt = (e) => e.toLowerCase().replace(
116
+ /[-_\s]([a-z\d])(\w*)/g,
117
+ function(n, r, s) {
118
+ return r.toUpperCase() + s;
119
+ }
120
+ ), Ce = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), $t = P("RegExp"), Xe = (e, t) => {
121
+ const n = Object.getOwnPropertyDescriptors(e), r = {};
122
+ K(n, (s, i) => {
123
+ let o;
124
+ (o = t(s, i, e)) !== !1 && (r[i] = o || s);
125
+ }), Object.defineProperties(e, r);
126
+ }, zt = (e) => {
127
+ Xe(e, (t, n) => {
128
+ if (T(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
129
+ return !1;
130
+ const r = e[n];
131
+ if (T(r)) {
132
+ if (t.enumerable = !1, "writable" in t) {
133
+ t.writable = !1;
134
+ return;
135
+ }
136
+ t.set || (t.set = () => {
137
+ throw Error("Can not rewrite read-only method '" + n + "'");
138
+ });
139
+ }
140
+ });
141
+ }, Jt = (e, t) => {
142
+ const n = {}, r = (s) => {
143
+ s.forEach((i) => {
144
+ n[i] = !0;
145
+ });
146
+ };
147
+ return M(e) ? r(e) : r(String(e).split(t)), n;
148
+ }, Vt = () => {
149
+ }, Wt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
150
+ function Kt(e) {
151
+ return !!(e && T(e.append) && e[Je] === "FormData" && e[re]);
152
+ }
153
+ const vt = (e) => {
154
+ const t = new Array(10), n = (r, s) => {
155
+ if (W(r)) {
156
+ if (t.indexOf(r) >= 0)
157
+ return;
158
+ if (V(r))
159
+ return r;
160
+ if (!("toJSON" in r)) {
161
+ t[s] = r;
162
+ const i = M(r) ? [] : {};
163
+ return K(r, (o, c) => {
164
+ const d = n(o, s + 1);
165
+ !I(d) && (i[c] = d);
166
+ }), t[s] = void 0, i;
167
+ }
168
+ }
169
+ return r;
170
+ };
171
+ return n(e, 0);
172
+ }, Xt = P("AsyncFunction"), Gt = (e) => e && (W(e) || T(e)) && T(e.then) && T(e.catch), Ge = ((e, t) => e ? setImmediate : t ? ((n, r) => (D.addEventListener("message", ({ source: s, data: i }) => {
173
+ s === D && i === n && r.length && r.shift()();
174
+ }, !1), (s) => {
175
+ r.push(s), D.postMessage(n, "*");
176
+ }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
177
+ typeof setImmediate == "function",
178
+ T(D.postMessage)
179
+ ), Qt = typeof queueMicrotask < "u" ? queueMicrotask.bind(D) : typeof process < "u" && process.nextTick || Ge, Zt = (e) => e != null && T(e[re]), a = {
180
+ isArray: M,
181
+ isArrayBuffer: Ve,
182
+ isBuffer: V,
183
+ isFormData: Tt,
184
+ isArrayBufferView: mt,
185
+ isString: yt,
186
+ isNumber: We,
187
+ isBoolean: bt,
188
+ isObject: W,
189
+ isPlainObject: Y,
190
+ isEmptyObject: wt,
191
+ isReadableStream: xt,
192
+ isRequest: Ct,
193
+ isResponse: Nt,
194
+ isHeaders: Pt,
195
+ isUndefined: I,
196
+ isDate: Et,
197
+ isFile: gt,
198
+ isBlob: St,
199
+ isRegExp: $t,
200
+ isFunction: T,
201
+ isStream: Ot,
202
+ isURLSearchParams: At,
203
+ isTypedArray: jt,
204
+ isFileList: Rt,
205
+ forEach: K,
206
+ merge: pe,
207
+ extend: _t,
208
+ trim: Ft,
209
+ stripBOM: Ut,
210
+ inherits: Lt,
211
+ toFlatObject: Bt,
212
+ kindOf: se,
213
+ kindOfTest: P,
214
+ endsWith: kt,
215
+ toArray: Dt,
216
+ forEachEntry: qt,
217
+ matchAll: Ht,
218
+ isHTMLForm: It,
219
+ hasOwnProperty: Ce,
220
+ hasOwnProp: Ce,
221
+ // an alias to avoid ESLint no-prototype-builtins detection
222
+ reduceDescriptors: Xe,
223
+ freezeMethods: zt,
224
+ toObjectSet: Jt,
225
+ toCamelCase: Mt,
226
+ noop: Vt,
227
+ toFiniteNumber: Wt,
228
+ findKey: Ke,
229
+ global: D,
230
+ isContextDefined: ve,
231
+ isSpecCompliantForm: Kt,
232
+ toJSONObject: vt,
233
+ isAsyncFn: Xt,
234
+ isThenable: Gt,
235
+ setImmediate: Ge,
236
+ asap: Qt,
237
+ isIterable: Zt
238
+ };
239
+ function y(e, t, n, r, s) {
240
+ 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);
241
+ }
242
+ a.inherits(y, Error, {
243
+ toJSON: function() {
244
+ return {
245
+ // Standard
246
+ message: this.message,
247
+ name: this.name,
248
+ // Microsoft
249
+ description: this.description,
250
+ number: this.number,
251
+ // Mozilla
252
+ fileName: this.fileName,
253
+ lineNumber: this.lineNumber,
254
+ columnNumber: this.columnNumber,
255
+ stack: this.stack,
256
+ // Axios
257
+ config: a.toJSONObject(this.config),
258
+ code: this.code,
259
+ status: this.status
260
+ };
261
+ }
262
+ });
263
+ const Qe = y.prototype, Ze = {};
264
+ [
265
+ "ERR_BAD_OPTION_VALUE",
266
+ "ERR_BAD_OPTION",
267
+ "ECONNABORTED",
268
+ "ETIMEDOUT",
269
+ "ERR_NETWORK",
270
+ "ERR_FR_TOO_MANY_REDIRECTS",
271
+ "ERR_DEPRECATED",
272
+ "ERR_BAD_RESPONSE",
273
+ "ERR_BAD_REQUEST",
274
+ "ERR_CANCELED",
275
+ "ERR_NOT_SUPPORT",
276
+ "ERR_INVALID_URL"
277
+ // eslint-disable-next-line func-names
278
+ ].forEach((e) => {
279
+ Ze[e] = { value: e };
280
+ });
281
+ Object.defineProperties(y, Ze);
282
+ Object.defineProperty(Qe, "isAxiosError", { value: !0 });
283
+ y.from = (e, t, n, r, s, i) => {
284
+ const o = Object.create(Qe);
285
+ a.toFlatObject(e, o, function(l) {
286
+ return l !== Error.prototype;
287
+ }, (f) => f !== "isAxiosError");
288
+ const c = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
289
+ return y.call(o, c, d, n, r, s), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", i && Object.assign(o, i), o;
290
+ };
291
+ const Yt = null;
292
+ function he(e) {
293
+ return a.isPlainObject(e) || a.isArray(e);
294
+ }
295
+ function Ye(e) {
296
+ return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
297
+ }
298
+ function Ne(e, t, n) {
299
+ return e ? e.concat(t).map(function(s, i) {
300
+ return s = Ye(s), !n && i ? "[" + s + "]" : s;
301
+ }).join(n ? "." : "") : t;
302
+ }
303
+ function en(e) {
304
+ return a.isArray(e) && !e.some(he);
305
+ }
306
+ const tn = a.toFlatObject(a, {}, null, function(t) {
307
+ return /^is[A-Z]/.test(t);
308
+ });
309
+ function ie(e, t, n) {
310
+ if (!a.isObject(e))
311
+ throw new TypeError("target must be an object");
312
+ t = t || new FormData(), n = a.toFlatObject(n, {
313
+ metaTokens: !0,
314
+ dots: !1,
315
+ indexes: !1
316
+ }, !1, function(m, p) {
317
+ return !a.isUndefined(p[m]);
318
+ });
319
+ const r = n.metaTokens, s = n.visitor || l, i = n.dots, o = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
320
+ if (!a.isFunction(s))
321
+ throw new TypeError("visitor must be a function");
322
+ function f(u) {
323
+ if (u === null) return "";
324
+ if (a.isDate(u))
325
+ return u.toISOString();
326
+ if (a.isBoolean(u))
327
+ return u.toString();
328
+ if (!d && a.isBlob(u))
329
+ throw new y("Blob is not supported. Use a Buffer instead.");
330
+ return a.isArrayBuffer(u) || a.isTypedArray(u) ? d && typeof Blob == "function" ? new Blob([u]) : Buffer.from(u) : u;
331
+ }
332
+ function l(u, m, p) {
333
+ let E = u;
334
+ if (u && !p && typeof u == "object") {
335
+ if (a.endsWith(m, "{}"))
336
+ m = r ? m : m.slice(0, -2), u = JSON.stringify(u);
337
+ else if (a.isArray(u) && en(u) || (a.isFileList(u) || a.endsWith(m, "[]")) && (E = a.toArray(u)))
338
+ return m = Ye(m), E.forEach(function(g, O) {
339
+ !(a.isUndefined(g) || g === null) && t.append(
340
+ // eslint-disable-next-line no-nested-ternary
341
+ o === !0 ? Ne([m], O, i) : o === null ? m : m + "[]",
342
+ f(g)
343
+ );
344
+ }), !1;
345
+ }
346
+ return he(u) ? !0 : (t.append(Ne(p, m, i), f(u)), !1);
347
+ }
348
+ const h = [], b = Object.assign(tn, {
349
+ defaultVisitor: l,
350
+ convertValue: f,
351
+ isVisitable: he
352
+ });
353
+ function S(u, m) {
354
+ if (!a.isUndefined(u)) {
355
+ if (h.indexOf(u) !== -1)
356
+ throw Error("Circular reference detected in " + m.join("."));
357
+ h.push(u), a.forEach(u, function(E, x) {
358
+ (!(a.isUndefined(E) || E === null) && s.call(
359
+ t,
360
+ E,
361
+ a.isString(x) ? x.trim() : x,
362
+ m,
363
+ b
364
+ )) === !0 && S(E, m ? m.concat(x) : [x]);
365
+ }), h.pop();
366
+ }
367
+ }
368
+ if (!a.isObject(e))
369
+ throw new TypeError("data must be an object");
370
+ return S(e), t;
371
+ }
372
+ function Pe(e) {
373
+ const t = {
374
+ "!": "%21",
375
+ "'": "%27",
376
+ "(": "%28",
377
+ ")": "%29",
378
+ "~": "%7E",
379
+ "%20": "+",
380
+ "%00": "\0"
381
+ };
382
+ return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(r) {
383
+ return t[r];
384
+ });
385
+ }
386
+ function we(e, t) {
387
+ this._pairs = [], e && ie(e, this, t);
388
+ }
389
+ const et = we.prototype;
390
+ et.append = function(t, n) {
391
+ this._pairs.push([t, n]);
392
+ };
393
+ et.toString = function(t) {
394
+ const n = t ? function(r) {
395
+ return t.call(this, r, Pe);
396
+ } : Pe;
397
+ return this._pairs.map(function(s) {
398
+ return n(s[0]) + "=" + n(s[1]);
399
+ }, "").join("&");
400
+ };
401
+ function nn(e) {
402
+ return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
403
+ }
404
+ function tt(e, t, n) {
405
+ if (!t)
406
+ return e;
407
+ const r = n && n.encode || nn;
408
+ a.isFunction(n) && (n = {
409
+ serialize: n
410
+ });
411
+ const s = n && n.serialize;
412
+ let i;
413
+ if (s ? i = s(t, n) : i = a.isURLSearchParams(t) ? t.toString() : new we(t, n).toString(r), i) {
414
+ const o = e.indexOf("#");
415
+ o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
416
+ }
417
+ return e;
418
+ }
419
+ class Fe {
420
+ constructor() {
421
+ this.handlers = [];
422
+ }
423
+ /**
424
+ * Add a new interceptor to the stack
425
+ *
426
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
427
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
428
+ *
429
+ * @return {Number} An ID used to remove interceptor later
430
+ */
431
+ use(t, n, r) {
432
+ return this.handlers.push({
433
+ fulfilled: t,
434
+ rejected: n,
435
+ synchronous: r ? r.synchronous : !1,
436
+ runWhen: r ? r.runWhen : null
437
+ }), this.handlers.length - 1;
438
+ }
439
+ /**
440
+ * Remove an interceptor from the stack
441
+ *
442
+ * @param {Number} id The ID that was returned by `use`
443
+ *
444
+ * @returns {void}
445
+ */
446
+ eject(t) {
447
+ this.handlers[t] && (this.handlers[t] = null);
448
+ }
449
+ /**
450
+ * Clear all interceptors from the stack
451
+ *
452
+ * @returns {void}
453
+ */
454
+ clear() {
455
+ this.handlers && (this.handlers = []);
456
+ }
457
+ /**
458
+ * Iterate over all the registered interceptors
459
+ *
460
+ * This method is particularly useful for skipping over any
461
+ * interceptors that may have become `null` calling `eject`.
462
+ *
463
+ * @param {Function} fn The function to call for each interceptor
464
+ *
465
+ * @returns {void}
466
+ */
467
+ forEach(t) {
468
+ a.forEach(this.handlers, function(r) {
469
+ r !== null && t(r);
470
+ });
471
+ }
472
+ }
473
+ const nt = {
474
+ silentJSONParsing: !0,
475
+ forcedJSONParsing: !0,
476
+ clarifyTimeoutError: !1
477
+ }, rn = typeof URLSearchParams < "u" ? URLSearchParams : we, sn = typeof FormData < "u" ? FormData : null, on = typeof Blob < "u" ? Blob : null, an = {
478
+ isBrowser: !0,
479
+ classes: {
480
+ URLSearchParams: rn,
481
+ FormData: sn,
482
+ Blob: on
483
+ },
484
+ protocols: ["http", "https", "file", "blob", "url", "data"]
485
+ }, Ee = typeof window < "u" && typeof document < "u", me = typeof navigator == "object" && navigator || void 0, cn = Ee && (!me || ["ReactNative", "NativeScript", "NS"].indexOf(me.product) < 0), ln = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
486
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", un = Ee && window.location.href || "http://localhost", fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
487
+ __proto__: null,
488
+ hasBrowserEnv: Ee,
489
+ hasStandardBrowserEnv: cn,
490
+ hasStandardBrowserWebWorkerEnv: ln,
491
+ navigator: me,
492
+ origin: un
493
+ }, Symbol.toStringTag, { value: "Module" })), R = {
494
+ ...fn,
495
+ ...an
496
+ };
497
+ function dn(e, t) {
498
+ return ie(e, new R.classes.URLSearchParams(), {
499
+ visitor: function(n, r, s, i) {
500
+ return R.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
501
+ },
502
+ ...t
503
+ });
504
+ }
505
+ function pn(e) {
506
+ return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
507
+ }
508
+ function hn(e) {
509
+ const t = {}, n = Object.keys(e);
510
+ let r;
511
+ const s = n.length;
512
+ let i;
513
+ for (r = 0; r < s; r++)
514
+ i = n[r], t[i] = e[i];
515
+ return t;
516
+ }
517
+ function rt(e) {
518
+ function t(n, r, s, i) {
519
+ let o = n[i++];
520
+ if (o === "__proto__") return !0;
521
+ const c = Number.isFinite(+o), d = i >= n.length;
522
+ return o = !o && a.isArray(s) ? s.length : o, d ? (a.hasOwnProp(s, o) ? s[o] = [s[o], r] : s[o] = r, !c) : ((!s[o] || !a.isObject(s[o])) && (s[o] = []), t(n, r, s[o], i) && a.isArray(s[o]) && (s[o] = hn(s[o])), !c);
523
+ }
524
+ if (a.isFormData(e) && a.isFunction(e.entries)) {
525
+ const n = {};
526
+ return a.forEachEntry(e, (r, s) => {
527
+ t(pn(r), s, n, 0);
528
+ }), n;
529
+ }
530
+ return null;
531
+ }
532
+ function mn(e, t, n) {
533
+ if (a.isString(e))
534
+ try {
535
+ return (t || JSON.parse)(e), a.trim(e);
536
+ } catch (r) {
537
+ if (r.name !== "SyntaxError")
538
+ throw r;
539
+ }
540
+ return (n || JSON.stringify)(e);
541
+ }
542
+ const v = {
543
+ transitional: nt,
544
+ adapter: ["xhr", "http", "fetch"],
545
+ transformRequest: [function(t, n) {
546
+ const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, i = a.isObject(t);
547
+ if (i && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
548
+ return s ? JSON.stringify(rt(t)) : t;
549
+ if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t) || a.isReadableStream(t))
550
+ return t;
551
+ if (a.isArrayBufferView(t))
552
+ return t.buffer;
553
+ if (a.isURLSearchParams(t))
554
+ return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
555
+ let c;
556
+ if (i) {
557
+ if (r.indexOf("application/x-www-form-urlencoded") > -1)
558
+ return dn(t, this.formSerializer).toString();
559
+ if ((c = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
560
+ const d = this.env && this.env.FormData;
561
+ return ie(
562
+ c ? { "files[]": t } : t,
563
+ d && new d(),
564
+ this.formSerializer
565
+ );
566
+ }
567
+ }
568
+ return i || s ? (n.setContentType("application/json", !1), mn(t)) : t;
569
+ }],
570
+ transformResponse: [function(t) {
571
+ const n = this.transitional || v.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
572
+ if (a.isResponse(t) || a.isReadableStream(t))
573
+ return t;
574
+ if (t && a.isString(t) && (r && !this.responseType || s)) {
575
+ const o = !(n && n.silentJSONParsing) && s;
576
+ try {
577
+ return JSON.parse(t, this.parseReviver);
578
+ } catch (c) {
579
+ if (o)
580
+ throw c.name === "SyntaxError" ? y.from(c, y.ERR_BAD_RESPONSE, this, null, this.response) : c;
581
+ }
582
+ }
583
+ return t;
584
+ }],
585
+ /**
586
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
587
+ * timeout is not created.
588
+ */
589
+ timeout: 0,
590
+ xsrfCookieName: "XSRF-TOKEN",
591
+ xsrfHeaderName: "X-XSRF-TOKEN",
592
+ maxContentLength: -1,
593
+ maxBodyLength: -1,
594
+ env: {
595
+ FormData: R.classes.FormData,
596
+ Blob: R.classes.Blob
597
+ },
598
+ validateStatus: function(t) {
599
+ return t >= 200 && t < 300;
600
+ },
601
+ headers: {
602
+ common: {
603
+ Accept: "application/json, text/plain, */*",
604
+ "Content-Type": void 0
605
+ }
606
+ }
607
+ };
608
+ a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
609
+ v.headers[e] = {};
610
+ });
611
+ const yn = a.toObjectSet([
612
+ "age",
613
+ "authorization",
614
+ "content-length",
615
+ "content-type",
616
+ "etag",
617
+ "expires",
618
+ "from",
619
+ "host",
620
+ "if-modified-since",
621
+ "if-unmodified-since",
622
+ "last-modified",
623
+ "location",
624
+ "max-forwards",
625
+ "proxy-authorization",
626
+ "referer",
627
+ "retry-after",
628
+ "user-agent"
629
+ ]), bn = (e) => {
630
+ const t = {};
631
+ let n, r, s;
632
+ return e && e.split(`
633
+ `).forEach(function(o) {
634
+ s = o.indexOf(":"), n = o.substring(0, s).trim().toLowerCase(), r = o.substring(s + 1).trim(), !(!n || t[n] && yn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
635
+ }), t;
636
+ }, _e = Symbol("internals");
637
+ function J(e) {
638
+ return e && String(e).trim().toLowerCase();
639
+ }
640
+ function ee(e) {
641
+ return e === !1 || e == null ? e : a.isArray(e) ? e.map(ee) : String(e);
642
+ }
643
+ function wn(e) {
644
+ const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
645
+ let r;
646
+ for (; r = n.exec(e); )
647
+ t[r[1]] = r[2];
648
+ return t;
649
+ }
650
+ const En = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
651
+ function ue(e, t, n, r, s) {
652
+ if (a.isFunction(r))
653
+ return r.call(this, t, n);
654
+ if (s && (t = n), !!a.isString(t)) {
655
+ if (a.isString(r))
656
+ return t.indexOf(r) !== -1;
657
+ if (a.isRegExp(r))
658
+ return r.test(t);
659
+ }
660
+ }
661
+ function gn(e) {
662
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
663
+ }
664
+ function Sn(e, t) {
665
+ const n = a.toCamelCase(" " + t);
666
+ ["get", "set", "has"].forEach((r) => {
667
+ Object.defineProperty(e, r + n, {
668
+ value: function(s, i, o) {
669
+ return this[r].call(this, t, s, i, o);
670
+ },
671
+ configurable: !0
672
+ });
673
+ });
674
+ }
675
+ let A = class {
676
+ constructor(t) {
677
+ t && this.set(t);
678
+ }
679
+ set(t, n, r) {
680
+ const s = this;
681
+ function i(c, d, f) {
682
+ const l = J(d);
683
+ if (!l)
684
+ throw new Error("header name must be a non-empty string");
685
+ const h = a.findKey(s, l);
686
+ (!h || s[h] === void 0 || f === !0 || f === void 0 && s[h] !== !1) && (s[h || d] = ee(c));
687
+ }
688
+ const o = (c, d) => a.forEach(c, (f, l) => i(f, l, d));
689
+ if (a.isPlainObject(t) || t instanceof this.constructor)
690
+ o(t, n);
691
+ else if (a.isString(t) && (t = t.trim()) && !En(t))
692
+ o(bn(t), n);
693
+ else if (a.isObject(t) && a.isIterable(t)) {
694
+ let c = {}, d, f;
695
+ for (const l of t) {
696
+ if (!a.isArray(l))
697
+ throw TypeError("Object iterator must return a key-value pair");
698
+ c[f = l[0]] = (d = c[f]) ? a.isArray(d) ? [...d, l[1]] : [d, l[1]] : l[1];
699
+ }
700
+ o(c, n);
701
+ } else
702
+ t != null && i(n, t, r);
703
+ return this;
704
+ }
705
+ get(t, n) {
706
+ if (t = J(t), t) {
707
+ const r = a.findKey(this, t);
708
+ if (r) {
709
+ const s = this[r];
710
+ if (!n)
711
+ return s;
712
+ if (n === !0)
713
+ return wn(s);
714
+ if (a.isFunction(n))
715
+ return n.call(this, s, r);
716
+ if (a.isRegExp(n))
717
+ return n.exec(s);
718
+ throw new TypeError("parser must be boolean|regexp|function");
719
+ }
720
+ }
721
+ }
722
+ has(t, n) {
723
+ if (t = J(t), t) {
724
+ const r = a.findKey(this, t);
725
+ return !!(r && this[r] !== void 0 && (!n || ue(this, this[r], r, n)));
726
+ }
727
+ return !1;
728
+ }
729
+ delete(t, n) {
730
+ const r = this;
731
+ let s = !1;
732
+ function i(o) {
733
+ if (o = J(o), o) {
734
+ const c = a.findKey(r, o);
735
+ c && (!n || ue(r, r[c], c, n)) && (delete r[c], s = !0);
736
+ }
737
+ }
738
+ return a.isArray(t) ? t.forEach(i) : i(t), s;
739
+ }
740
+ clear(t) {
741
+ const n = Object.keys(this);
742
+ let r = n.length, s = !1;
743
+ for (; r--; ) {
744
+ const i = n[r];
745
+ (!t || ue(this, this[i], i, t, !0)) && (delete this[i], s = !0);
746
+ }
747
+ return s;
748
+ }
749
+ normalize(t) {
750
+ const n = this, r = {};
751
+ return a.forEach(this, (s, i) => {
752
+ const o = a.findKey(r, i);
753
+ if (o) {
754
+ n[o] = ee(s), delete n[i];
755
+ return;
756
+ }
757
+ const c = t ? gn(i) : String(i).trim();
758
+ c !== i && delete n[i], n[c] = ee(s), r[c] = !0;
759
+ }), this;
760
+ }
761
+ concat(...t) {
762
+ return this.constructor.concat(this, ...t);
763
+ }
764
+ toJSON(t) {
765
+ const n = /* @__PURE__ */ Object.create(null);
766
+ return a.forEach(this, (r, s) => {
767
+ r != null && r !== !1 && (n[s] = t && a.isArray(r) ? r.join(", ") : r);
768
+ }), n;
769
+ }
770
+ [Symbol.iterator]() {
771
+ return Object.entries(this.toJSON())[Symbol.iterator]();
772
+ }
773
+ toString() {
774
+ return Object.entries(this.toJSON()).map(([t, n]) => t + ": " + n).join(`
775
+ `);
776
+ }
777
+ getSetCookie() {
778
+ return this.get("set-cookie") || [];
779
+ }
780
+ get [Symbol.toStringTag]() {
781
+ return "AxiosHeaders";
782
+ }
783
+ static from(t) {
784
+ return t instanceof this ? t : new this(t);
785
+ }
786
+ static concat(t, ...n) {
787
+ const r = new this(t);
788
+ return n.forEach((s) => r.set(s)), r;
789
+ }
790
+ static accessor(t) {
791
+ const r = (this[_e] = this[_e] = {
792
+ accessors: {}
793
+ }).accessors, s = this.prototype;
794
+ function i(o) {
795
+ const c = J(o);
796
+ r[c] || (Sn(s, o), r[c] = !0);
797
+ }
798
+ return a.isArray(t) ? t.forEach(i) : i(t), this;
799
+ }
800
+ };
801
+ A.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
802
+ a.reduceDescriptors(A.prototype, ({ value: e }, t) => {
803
+ let n = t[0].toUpperCase() + t.slice(1);
804
+ return {
805
+ get: () => e,
806
+ set(r) {
807
+ this[n] = r;
808
+ }
809
+ };
810
+ });
811
+ a.freezeMethods(A);
812
+ function fe(e, t) {
813
+ const n = this || v, r = t || n, s = A.from(r.headers);
814
+ let i = r.data;
815
+ return a.forEach(e, function(c) {
816
+ i = c.call(n, i, s.normalize(), t ? t.status : void 0);
817
+ }), s.normalize(), i;
818
+ }
819
+ function st(e) {
820
+ return !!(e && e.__CANCEL__);
821
+ }
822
+ function $(e, t, n) {
823
+ y.call(this, e ?? "canceled", y.ERR_CANCELED, t, n), this.name = "CanceledError";
824
+ }
825
+ a.inherits($, y, {
826
+ __CANCEL__: !0
827
+ });
828
+ function ot(e, t, n) {
829
+ const r = n.config.validateStatus;
830
+ !n.status || !r || r(n.status) ? e(n) : t(new y(
831
+ "Request failed with status code " + n.status,
832
+ [y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
833
+ n.config,
834
+ n.request,
835
+ n
836
+ ));
837
+ }
838
+ function Rn(e) {
839
+ const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
840
+ return t && t[1] || "";
841
+ }
842
+ function On(e, t) {
843
+ e = e || 10;
844
+ const n = new Array(e), r = new Array(e);
845
+ let s = 0, i = 0, o;
846
+ return t = t !== void 0 ? t : 1e3, function(d) {
847
+ const f = Date.now(), l = r[i];
848
+ o || (o = f), n[s] = d, r[s] = f;
849
+ let h = i, b = 0;
850
+ for (; h !== s; )
851
+ b += n[h++], h = h % e;
852
+ if (s = (s + 1) % e, s === i && (i = (i + 1) % e), f - o < t)
853
+ return;
854
+ const S = l && f - l;
855
+ return S ? Math.round(b * 1e3 / S) : void 0;
856
+ };
857
+ }
858
+ function Tn(e, t) {
859
+ let n = 0, r = 1e3 / t, s, i;
860
+ const o = (f, l = Date.now()) => {
861
+ n = l, s = null, i && (clearTimeout(i), i = null), e(...f);
862
+ };
863
+ return [(...f) => {
864
+ const l = Date.now(), h = l - n;
865
+ h >= r ? o(f, l) : (s = f, i || (i = setTimeout(() => {
866
+ i = null, o(s);
867
+ }, r - h)));
868
+ }, () => s && o(s)];
869
+ }
870
+ const ne = (e, t, n = 3) => {
871
+ let r = 0;
872
+ const s = On(50, 250);
873
+ return Tn((i) => {
874
+ const o = i.loaded, c = i.lengthComputable ? i.total : void 0, d = o - r, f = s(d), l = o <= c;
875
+ r = o;
876
+ const h = {
877
+ loaded: o,
878
+ total: c,
879
+ progress: c ? o / c : void 0,
880
+ bytes: d,
881
+ rate: f || void 0,
882
+ estimated: f && c && l ? (c - o) / f : void 0,
883
+ event: i,
884
+ lengthComputable: c != null,
885
+ [t ? "download" : "upload"]: !0
886
+ };
887
+ e(h);
888
+ }, n);
889
+ }, Ue = (e, t) => {
890
+ const n = e != null;
891
+ return [(r) => t[0]({
892
+ lengthComputable: n,
893
+ total: e,
894
+ loaded: r
895
+ }), t[1]];
896
+ }, Le = (e) => (...t) => a.asap(() => e(...t)), An = R.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, R.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
897
+ new URL(R.origin),
898
+ R.navigator && /(msie|trident)/i.test(R.navigator.userAgent)
899
+ ) : () => !0, xn = R.hasStandardBrowserEnv ? (
900
+ // Standard browser envs support document.cookie
901
+ {
902
+ write(e, t, n, r, s, i, o) {
903
+ if (typeof document > "u") return;
904
+ const c = [`${e}=${encodeURIComponent(t)}`];
905
+ a.isNumber(n) && c.push(`expires=${new Date(n).toUTCString()}`), a.isString(r) && c.push(`path=${r}`), a.isString(s) && c.push(`domain=${s}`), i === !0 && c.push("secure"), a.isString(o) && c.push(`SameSite=${o}`), document.cookie = c.join("; ");
906
+ },
907
+ read(e) {
908
+ if (typeof document > "u") return null;
909
+ const t = document.cookie.match(new RegExp("(?:^|; )" + e + "=([^;]*)"));
910
+ return t ? decodeURIComponent(t[1]) : null;
911
+ },
912
+ remove(e) {
913
+ this.write(e, "", Date.now() - 864e5, "/");
914
+ }
915
+ }
916
+ ) : (
917
+ // Non-standard browser env (web workers, react-native) lack needed support.
918
+ {
919
+ write() {
920
+ },
921
+ read() {
922
+ return null;
923
+ },
924
+ remove() {
925
+ }
926
+ }
927
+ );
928
+ function Cn(e) {
929
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
930
+ }
931
+ function Nn(e, t) {
932
+ return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
933
+ }
934
+ function it(e, t, n) {
935
+ let r = !Cn(t);
936
+ return e && (r || n == !1) ? Nn(e, t) : t;
937
+ }
938
+ const Be = (e) => e instanceof A ? { ...e } : e;
939
+ function q(e, t) {
940
+ t = t || {};
941
+ const n = {};
942
+ function r(f, l, h, b) {
943
+ return a.isPlainObject(f) && a.isPlainObject(l) ? a.merge.call({ caseless: b }, f, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l;
944
+ }
945
+ function s(f, l, h, b) {
946
+ if (a.isUndefined(l)) {
947
+ if (!a.isUndefined(f))
948
+ return r(void 0, f, h, b);
949
+ } else return r(f, l, h, b);
950
+ }
951
+ function i(f, l) {
952
+ if (!a.isUndefined(l))
953
+ return r(void 0, l);
954
+ }
955
+ function o(f, l) {
956
+ if (a.isUndefined(l)) {
957
+ if (!a.isUndefined(f))
958
+ return r(void 0, f);
959
+ } else return r(void 0, l);
960
+ }
961
+ function c(f, l, h) {
962
+ if (h in t)
963
+ return r(f, l);
964
+ if (h in e)
965
+ return r(void 0, f);
966
+ }
967
+ const d = {
968
+ url: i,
969
+ method: i,
970
+ data: i,
971
+ baseURL: o,
972
+ transformRequest: o,
973
+ transformResponse: o,
974
+ paramsSerializer: o,
975
+ timeout: o,
976
+ timeoutMessage: o,
977
+ withCredentials: o,
978
+ withXSRFToken: o,
979
+ adapter: o,
980
+ responseType: o,
981
+ xsrfCookieName: o,
982
+ xsrfHeaderName: o,
983
+ onUploadProgress: o,
984
+ onDownloadProgress: o,
985
+ decompress: o,
986
+ maxContentLength: o,
987
+ maxBodyLength: o,
988
+ beforeRedirect: o,
989
+ transport: o,
990
+ httpAgent: o,
991
+ httpsAgent: o,
992
+ cancelToken: o,
993
+ socketPath: o,
994
+ responseEncoding: o,
995
+ validateStatus: c,
996
+ headers: (f, l, h) => s(Be(f), Be(l), h, !0)
997
+ };
998
+ return a.forEach(Object.keys({ ...e, ...t }), function(l) {
999
+ const h = d[l] || s, b = h(e[l], t[l], l);
1000
+ a.isUndefined(b) && h !== c || (n[l] = b);
1001
+ }), n;
1002
+ }
1003
+ const at = (e) => {
1004
+ const t = q({}, e);
1005
+ let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: i, headers: o, auth: c } = t;
1006
+ if (t.headers = o = A.from(o), t.url = tt(it(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && o.set(
1007
+ "Authorization",
1008
+ "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
1009
+ ), a.isFormData(n)) {
1010
+ if (R.hasStandardBrowserEnv || R.hasStandardBrowserWebWorkerEnv)
1011
+ o.setContentType(void 0);
1012
+ else if (a.isFunction(n.getHeaders)) {
1013
+ const d = n.getHeaders(), f = ["content-type", "content-length"];
1014
+ Object.entries(d).forEach(([l, h]) => {
1015
+ f.includes(l.toLowerCase()) && o.set(l, h);
1016
+ });
1017
+ }
1018
+ }
1019
+ if (R.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && An(t.url))) {
1020
+ const d = s && i && xn.read(i);
1021
+ d && o.set(s, d);
1022
+ }
1023
+ return t;
1024
+ }, Pn = typeof XMLHttpRequest < "u", Fn = Pn && function(e) {
1025
+ return new Promise(function(n, r) {
1026
+ const s = at(e);
1027
+ let i = s.data;
1028
+ const o = A.from(s.headers).normalize();
1029
+ let { responseType: c, onUploadProgress: d, onDownloadProgress: f } = s, l, h, b, S, u;
1030
+ function m() {
1031
+ S && S(), u && u(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l);
1032
+ }
1033
+ let p = new XMLHttpRequest();
1034
+ p.open(s.method.toUpperCase(), s.url, !0), p.timeout = s.timeout;
1035
+ function E() {
1036
+ if (!p)
1037
+ return;
1038
+ const g = A.from(
1039
+ "getAllResponseHeaders" in p && p.getAllResponseHeaders()
1040
+ ), N = {
1041
+ data: !c || c === "text" || c === "json" ? p.responseText : p.response,
1042
+ status: p.status,
1043
+ statusText: p.statusText,
1044
+ headers: g,
1045
+ config: e,
1046
+ request: p
1047
+ };
1048
+ ot(function(C) {
1049
+ n(C), m();
1050
+ }, function(C) {
1051
+ r(C), m();
1052
+ }, N), p = null;
1053
+ }
1054
+ "onloadend" in p ? p.onloadend = E : p.onreadystatechange = function() {
1055
+ !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(E);
1056
+ }, p.onabort = function() {
1057
+ p && (r(new y("Request aborted", y.ECONNABORTED, e, p)), p = null);
1058
+ }, p.onerror = function(O) {
1059
+ const N = O && O.message ? O.message : "Network Error", B = new y(N, y.ERR_NETWORK, e, p);
1060
+ B.event = O || null, r(B), p = null;
1061
+ }, p.ontimeout = function() {
1062
+ let O = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
1063
+ const N = s.transitional || nt;
1064
+ s.timeoutErrorMessage && (O = s.timeoutErrorMessage), r(new y(
1065
+ O,
1066
+ N.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
1067
+ e,
1068
+ p
1069
+ )), p = null;
1070
+ }, i === void 0 && o.setContentType(null), "setRequestHeader" in p && a.forEach(o.toJSON(), function(O, N) {
1071
+ p.setRequestHeader(N, O);
1072
+ }), a.isUndefined(s.withCredentials) || (p.withCredentials = !!s.withCredentials), c && c !== "json" && (p.responseType = s.responseType), f && ([b, u] = ne(f, !0), p.addEventListener("progress", b)), d && p.upload && ([h, S] = ne(d), p.upload.addEventListener("progress", h), p.upload.addEventListener("loadend", S)), (s.cancelToken || s.signal) && (l = (g) => {
1073
+ p && (r(!g || g.type ? new $(null, e, p) : g), p.abort(), p = null);
1074
+ }, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
1075
+ const x = Rn(s.url);
1076
+ if (x && R.protocols.indexOf(x) === -1) {
1077
+ r(new y("Unsupported protocol " + x + ":", y.ERR_BAD_REQUEST, e));
1078
+ return;
1079
+ }
1080
+ p.send(i || null);
1081
+ });
1082
+ }, _n = (e, t) => {
1083
+ const { length: n } = e = e ? e.filter(Boolean) : [];
1084
+ if (t || n) {
1085
+ let r = new AbortController(), s;
1086
+ const i = function(f) {
1087
+ if (!s) {
1088
+ s = !0, c();
1089
+ const l = f instanceof Error ? f : this.reason;
1090
+ r.abort(l instanceof y ? l : new $(l instanceof Error ? l.message : l));
1091
+ }
1092
+ };
1093
+ let o = t && setTimeout(() => {
1094
+ o = null, i(new y(`timeout ${t} of ms exceeded`, y.ETIMEDOUT));
1095
+ }, t);
1096
+ const c = () => {
1097
+ e && (o && clearTimeout(o), o = null, e.forEach((f) => {
1098
+ f.unsubscribe ? f.unsubscribe(i) : f.removeEventListener("abort", i);
1099
+ }), e = null);
1100
+ };
1101
+ e.forEach((f) => f.addEventListener("abort", i));
1102
+ const { signal: d } = r;
1103
+ return d.unsubscribe = () => a.asap(c), d;
1104
+ }
1105
+ }, Un = function* (e, t) {
1106
+ let n = e.byteLength;
1107
+ if (n < t) {
1108
+ yield e;
1109
+ return;
1110
+ }
1111
+ let r = 0, s;
1112
+ for (; r < n; )
1113
+ s = r + t, yield e.slice(r, s), r = s;
1114
+ }, Ln = async function* (e, t) {
1115
+ for await (const n of Bn(e))
1116
+ yield* Un(n, t);
1117
+ }, Bn = async function* (e) {
1118
+ if (e[Symbol.asyncIterator]) {
1119
+ yield* e;
1120
+ return;
1121
+ }
1122
+ const t = e.getReader();
1123
+ try {
1124
+ for (; ; ) {
1125
+ const { done: n, value: r } = await t.read();
1126
+ if (n)
1127
+ break;
1128
+ yield r;
1129
+ }
1130
+ } finally {
1131
+ await t.cancel();
1132
+ }
1133
+ }, ke = (e, t, n, r) => {
1134
+ const s = Ln(e, t);
1135
+ let i = 0, o, c = (d) => {
1136
+ o || (o = !0, r && r(d));
1137
+ };
1138
+ return new ReadableStream({
1139
+ async pull(d) {
1140
+ try {
1141
+ const { done: f, value: l } = await s.next();
1142
+ if (f) {
1143
+ c(), d.close();
1144
+ return;
1145
+ }
1146
+ let h = l.byteLength;
1147
+ if (n) {
1148
+ let b = i += h;
1149
+ n(b);
1150
+ }
1151
+ d.enqueue(new Uint8Array(l));
1152
+ } catch (f) {
1153
+ throw c(f), f;
1154
+ }
1155
+ },
1156
+ cancel(d) {
1157
+ return c(d), s.return();
1158
+ }
1159
+ }, {
1160
+ highWaterMark: 2
1161
+ });
1162
+ }, De = 64 * 1024, { isFunction: Z } = a, kn = (({ Request: e, Response: t }) => ({
1163
+ Request: e,
1164
+ Response: t
1165
+ }))(a.global), {
1166
+ ReadableStream: je,
1167
+ TextEncoder: qe
1168
+ } = a.global, He = (e, ...t) => {
1169
+ try {
1170
+ return !!e(...t);
1171
+ } catch {
1172
+ return !1;
1173
+ }
1174
+ }, Dn = (e) => {
1175
+ e = a.merge.call({
1176
+ skipUndefined: !0
1177
+ }, kn, e);
1178
+ const { fetch: t, Request: n, Response: r } = e, s = t ? Z(t) : typeof fetch == "function", i = Z(n), o = Z(r);
1179
+ if (!s)
1180
+ return !1;
1181
+ const c = s && Z(je), d = s && (typeof qe == "function" ? /* @__PURE__ */ ((u) => (m) => u.encode(m))(new qe()) : async (u) => new Uint8Array(await new n(u).arrayBuffer())), f = i && c && He(() => {
1182
+ let u = !1;
1183
+ const m = new n(R.origin, {
1184
+ body: new je(),
1185
+ method: "POST",
1186
+ get duplex() {
1187
+ return u = !0, "half";
1188
+ }
1189
+ }).headers.has("Content-Type");
1190
+ return u && !m;
1191
+ }), l = o && c && He(() => a.isReadableStream(new r("").body)), h = {
1192
+ stream: l && ((u) => u.body)
1193
+ };
1194
+ s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((u) => {
1195
+ !h[u] && (h[u] = (m, p) => {
1196
+ let E = m && m[u];
1197
+ if (E)
1198
+ return E.call(m);
1199
+ throw new y(`Response type '${u}' is not supported`, y.ERR_NOT_SUPPORT, p);
1200
+ });
1201
+ });
1202
+ const b = async (u) => {
1203
+ if (u == null)
1204
+ return 0;
1205
+ if (a.isBlob(u))
1206
+ return u.size;
1207
+ if (a.isSpecCompliantForm(u))
1208
+ return (await new n(R.origin, {
1209
+ method: "POST",
1210
+ body: u
1211
+ }).arrayBuffer()).byteLength;
1212
+ if (a.isArrayBufferView(u) || a.isArrayBuffer(u))
1213
+ return u.byteLength;
1214
+ if (a.isURLSearchParams(u) && (u = u + ""), a.isString(u))
1215
+ return (await d(u)).byteLength;
1216
+ }, S = async (u, m) => {
1217
+ const p = a.toFiniteNumber(u.getContentLength());
1218
+ return p ?? b(m);
1219
+ };
1220
+ return async (u) => {
1221
+ let {
1222
+ url: m,
1223
+ method: p,
1224
+ data: E,
1225
+ signal: x,
1226
+ cancelToken: g,
1227
+ timeout: O,
1228
+ onDownloadProgress: N,
1229
+ onUploadProgress: B,
1230
+ responseType: C,
1231
+ headers: ce,
1232
+ withCredentials: X = "same-origin",
1233
+ fetchOptions: Se
1234
+ } = at(u), Re = t || fetch;
1235
+ C = C ? (C + "").toLowerCase() : "text";
1236
+ let G = _n([x, g && g.toAbortSignal()], O), z = null;
1237
+ const k = G && G.unsubscribe && (() => {
1238
+ G.unsubscribe();
1239
+ });
1240
+ let Oe;
1241
+ try {
1242
+ if (B && f && p !== "get" && p !== "head" && (Oe = await S(ce, E)) !== 0) {
1243
+ let L = new n(m, {
1244
+ method: "POST",
1245
+ body: E,
1246
+ duplex: "half"
1247
+ }), H;
1248
+ if (a.isFormData(E) && (H = L.headers.get("content-type")) && ce.setContentType(H), L.body) {
1249
+ const [le, Q] = Ue(
1250
+ Oe,
1251
+ ne(Le(B))
1252
+ );
1253
+ E = ke(L.body, De, le, Q);
1254
+ }
1255
+ }
1256
+ a.isString(X) || (X = X ? "include" : "omit");
1257
+ const F = i && "credentials" in n.prototype, Te = {
1258
+ ...Se,
1259
+ signal: G,
1260
+ method: p.toUpperCase(),
1261
+ headers: ce.normalize().toJSON(),
1262
+ body: E,
1263
+ duplex: "half",
1264
+ credentials: F ? X : void 0
1265
+ };
1266
+ z = i && new n(m, Te);
1267
+ let U = await (i ? Re(z, Se) : Re(m, Te));
1268
+ const Ae = l && (C === "stream" || C === "response");
1269
+ if (l && (N || Ae && k)) {
1270
+ const L = {};
1271
+ ["status", "statusText", "headers"].forEach((xe) => {
1272
+ L[xe] = U[xe];
1273
+ });
1274
+ const H = a.toFiniteNumber(U.headers.get("content-length")), [le, Q] = N && Ue(
1275
+ H,
1276
+ ne(Le(N), !0)
1277
+ ) || [];
1278
+ U = new r(
1279
+ ke(U.body, De, le, () => {
1280
+ Q && Q(), k && k();
1281
+ }),
1282
+ L
1283
+ );
1284
+ }
1285
+ C = C || "text";
1286
+ let pt = await h[a.findKey(h, C) || "text"](U, u);
1287
+ return !Ae && k && k(), await new Promise((L, H) => {
1288
+ ot(L, H, {
1289
+ data: pt,
1290
+ headers: A.from(U.headers),
1291
+ status: U.status,
1292
+ statusText: U.statusText,
1293
+ config: u,
1294
+ request: z
1295
+ });
1296
+ });
1297
+ } catch (F) {
1298
+ throw k && k(), F && F.name === "TypeError" && /Load failed|fetch/i.test(F.message) ? Object.assign(
1299
+ new y("Network Error", y.ERR_NETWORK, u, z),
1300
+ {
1301
+ cause: F.cause || F
1302
+ }
1303
+ ) : y.from(F, F && F.code, u, z);
1304
+ }
1305
+ };
1306
+ }, jn = /* @__PURE__ */ new Map(), ct = (e) => {
1307
+ let t = e && e.env || {};
1308
+ const { fetch: n, Request: r, Response: s } = t, i = [
1309
+ r,
1310
+ s,
1311
+ n
1312
+ ];
1313
+ let o = i.length, c = o, d, f, l = jn;
1314
+ for (; c--; )
1315
+ d = i[c], f = l.get(d), f === void 0 && l.set(d, f = c ? /* @__PURE__ */ new Map() : Dn(t)), l = f;
1316
+ return f;
1317
+ };
1318
+ ct();
1319
+ const ge = {
1320
+ http: Yt,
1321
+ xhr: Fn,
1322
+ fetch: {
1323
+ get: ct
1324
+ }
1325
+ };
1326
+ a.forEach(ge, (e, t) => {
1327
+ if (e) {
1328
+ try {
1329
+ Object.defineProperty(e, "name", { value: t });
1330
+ } catch {
1331
+ }
1332
+ Object.defineProperty(e, "adapterName", { value: t });
1333
+ }
1334
+ });
1335
+ const Ie = (e) => `- ${e}`, qn = (e) => a.isFunction(e) || e === null || e === !1;
1336
+ function Hn(e, t) {
1337
+ e = a.isArray(e) ? e : [e];
1338
+ const { length: n } = e;
1339
+ let r, s;
1340
+ const i = {};
1341
+ for (let o = 0; o < n; o++) {
1342
+ r = e[o];
1343
+ let c;
1344
+ if (s = r, !qn(r) && (s = ge[(c = String(r)).toLowerCase()], s === void 0))
1345
+ throw new y(`Unknown adapter '${c}'`);
1346
+ if (s && (a.isFunction(s) || (s = s.get(t))))
1347
+ break;
1348
+ i[c || "#" + o] = s;
1349
+ }
1350
+ if (!s) {
1351
+ const o = Object.entries(i).map(
1352
+ ([d, f]) => `adapter ${d} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
1353
+ );
1354
+ let c = n ? o.length > 1 ? `since :
1355
+ ` + o.map(Ie).join(`
1356
+ `) : " " + Ie(o[0]) : "as no adapter specified";
1357
+ throw new y(
1358
+ "There is no suitable adapter to dispatch the request " + c,
1359
+ "ERR_NOT_SUPPORT"
1360
+ );
1361
+ }
1362
+ return s;
1363
+ }
1364
+ const lt = {
1365
+ /**
1366
+ * Resolve an adapter from a list of adapter names or functions.
1367
+ * @type {Function}
1368
+ */
1369
+ getAdapter: Hn,
1370
+ /**
1371
+ * Exposes all known adapters
1372
+ * @type {Object<string, Function|Object>}
1373
+ */
1374
+ adapters: ge
1375
+ };
1376
+ function de(e) {
1377
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1378
+ throw new $(null, e);
1379
+ }
1380
+ function Me(e) {
1381
+ return de(e), e.headers = A.from(e.headers), e.data = fe.call(
1382
+ e,
1383
+ e.transformRequest
1384
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), lt.getAdapter(e.adapter || v.adapter, e)(e).then(function(r) {
1385
+ return de(e), r.data = fe.call(
1386
+ e,
1387
+ e.transformResponse,
1388
+ r
1389
+ ), r.headers = A.from(r.headers), r;
1390
+ }, function(r) {
1391
+ return st(r) || (de(e), r && r.response && (r.response.data = fe.call(
1392
+ e,
1393
+ e.transformResponse,
1394
+ r.response
1395
+ ), r.response.headers = A.from(r.response.headers))), Promise.reject(r);
1396
+ });
1397
+ }
1398
+ const ut = "1.13.2", ae = {};
1399
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1400
+ ae[e] = function(r) {
1401
+ return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1402
+ };
1403
+ });
1404
+ const $e = {};
1405
+ ae.transitional = function(t, n, r) {
1406
+ function s(i, o) {
1407
+ return "[Axios v" + ut + "] Transitional option '" + i + "'" + o + (r ? ". " + r : "");
1408
+ }
1409
+ return (i, o, c) => {
1410
+ if (t === !1)
1411
+ throw new y(
1412
+ s(o, " has been removed" + (n ? " in " + n : "")),
1413
+ y.ERR_DEPRECATED
1414
+ );
1415
+ return n && !$e[o] && ($e[o] = !0, console.warn(
1416
+ s(
1417
+ o,
1418
+ " has been deprecated since v" + n + " and will be removed in the near future"
1419
+ )
1420
+ )), t ? t(i, o, c) : !0;
1421
+ };
1422
+ };
1423
+ ae.spelling = function(t) {
1424
+ return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
1425
+ };
1426
+ function In(e, t, n) {
1427
+ if (typeof e != "object")
1428
+ throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
1429
+ const r = Object.keys(e);
1430
+ let s = r.length;
1431
+ for (; s-- > 0; ) {
1432
+ const i = r[s], o = t[i];
1433
+ if (o) {
1434
+ const c = e[i], d = c === void 0 || o(c, i, e);
1435
+ if (d !== !0)
1436
+ throw new y("option " + i + " must be " + d, y.ERR_BAD_OPTION_VALUE);
1437
+ continue;
1438
+ }
1439
+ if (n !== !0)
1440
+ throw new y("Unknown option " + i, y.ERR_BAD_OPTION);
1441
+ }
1442
+ }
1443
+ const te = {
1444
+ assertOptions: In,
1445
+ validators: ae
1446
+ }, _ = te.validators;
1447
+ let j = class {
1448
+ constructor(t) {
1449
+ this.defaults = t || {}, this.interceptors = {
1450
+ request: new Fe(),
1451
+ response: new Fe()
1452
+ };
1453
+ }
1454
+ /**
1455
+ * Dispatch a request
1456
+ *
1457
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
1458
+ * @param {?Object} config
1459
+ *
1460
+ * @returns {Promise} The Promise to be fulfilled
1461
+ */
1462
+ async request(t, n) {
1463
+ try {
1464
+ return await this._request(t, n);
1465
+ } catch (r) {
1466
+ if (r instanceof Error) {
1467
+ let s = {};
1468
+ Error.captureStackTrace ? Error.captureStackTrace(s) : s = new Error();
1469
+ const i = s.stack ? s.stack.replace(/^.+\n/, "") : "";
1470
+ try {
1471
+ r.stack ? i && !String(r.stack).endsWith(i.replace(/^.+\n.+\n/, "")) && (r.stack += `
1472
+ ` + i) : r.stack = i;
1473
+ } catch {
1474
+ }
1475
+ }
1476
+ throw r;
1477
+ }
1478
+ }
1479
+ _request(t, n) {
1480
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = q(this.defaults, n);
1481
+ const { transitional: r, paramsSerializer: s, headers: i } = n;
1482
+ r !== void 0 && te.assertOptions(r, {
1483
+ silentJSONParsing: _.transitional(_.boolean),
1484
+ forcedJSONParsing: _.transitional(_.boolean),
1485
+ clarifyTimeoutError: _.transitional(_.boolean)
1486
+ }, !1), s != null && (a.isFunction(s) ? n.paramsSerializer = {
1487
+ serialize: s
1488
+ } : te.assertOptions(s, {
1489
+ encode: _.function,
1490
+ serialize: _.function
1491
+ }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), te.assertOptions(n, {
1492
+ baseUrl: _.spelling("baseURL"),
1493
+ withXsrfToken: _.spelling("withXSRFToken")
1494
+ }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1495
+ let o = i && a.merge(
1496
+ i.common,
1497
+ i[n.method]
1498
+ );
1499
+ i && a.forEach(
1500
+ ["delete", "get", "head", "post", "put", "patch", "common"],
1501
+ (u) => {
1502
+ delete i[u];
1503
+ }
1504
+ ), n.headers = A.concat(o, i);
1505
+ const c = [];
1506
+ let d = !0;
1507
+ this.interceptors.request.forEach(function(m) {
1508
+ typeof m.runWhen == "function" && m.runWhen(n) === !1 || (d = d && m.synchronous, c.unshift(m.fulfilled, m.rejected));
1509
+ });
1510
+ const f = [];
1511
+ this.interceptors.response.forEach(function(m) {
1512
+ f.push(m.fulfilled, m.rejected);
1513
+ });
1514
+ let l, h = 0, b;
1515
+ if (!d) {
1516
+ const u = [Me.bind(this), void 0];
1517
+ for (u.unshift(...c), u.push(...f), b = u.length, l = Promise.resolve(n); h < b; )
1518
+ l = l.then(u[h++], u[h++]);
1519
+ return l;
1520
+ }
1521
+ b = c.length;
1522
+ let S = n;
1523
+ for (; h < b; ) {
1524
+ const u = c[h++], m = c[h++];
1525
+ try {
1526
+ S = u(S);
1527
+ } catch (p) {
1528
+ m.call(this, p);
1529
+ break;
1530
+ }
1531
+ }
1532
+ try {
1533
+ l = Me.call(this, S);
1534
+ } catch (u) {
1535
+ return Promise.reject(u);
1536
+ }
1537
+ for (h = 0, b = f.length; h < b; )
1538
+ l = l.then(f[h++], f[h++]);
1539
+ return l;
1540
+ }
1541
+ getUri(t) {
1542
+ t = q(this.defaults, t);
1543
+ const n = it(t.baseURL, t.url, t.allowAbsoluteUrls);
1544
+ return tt(n, t.params, t.paramsSerializer);
1545
+ }
1546
+ };
1547
+ a.forEach(["delete", "get", "head", "options"], function(t) {
1548
+ j.prototype[t] = function(n, r) {
1549
+ return this.request(q(r || {}, {
1550
+ method: t,
1551
+ url: n,
1552
+ data: (r || {}).data
1553
+ }));
1554
+ };
1555
+ });
1556
+ a.forEach(["post", "put", "patch"], function(t) {
1557
+ function n(r) {
1558
+ return function(i, o, c) {
1559
+ return this.request(q(c || {}, {
1560
+ method: t,
1561
+ headers: r ? {
1562
+ "Content-Type": "multipart/form-data"
1563
+ } : {},
1564
+ url: i,
1565
+ data: o
1566
+ }));
1567
+ };
1568
+ }
1569
+ j.prototype[t] = n(), j.prototype[t + "Form"] = n(!0);
1570
+ });
1571
+ let Mn = class ft {
1572
+ constructor(t) {
1573
+ if (typeof t != "function")
1574
+ throw new TypeError("executor must be a function.");
1575
+ let n;
1576
+ this.promise = new Promise(function(i) {
1577
+ n = i;
1578
+ });
1579
+ const r = this;
1580
+ this.promise.then((s) => {
1581
+ if (!r._listeners) return;
1582
+ let i = r._listeners.length;
1583
+ for (; i-- > 0; )
1584
+ r._listeners[i](s);
1585
+ r._listeners = null;
1586
+ }), this.promise.then = (s) => {
1587
+ let i;
1588
+ const o = new Promise((c) => {
1589
+ r.subscribe(c), i = c;
1590
+ }).then(s);
1591
+ return o.cancel = function() {
1592
+ r.unsubscribe(i);
1593
+ }, o;
1594
+ }, t(function(i, o, c) {
1595
+ r.reason || (r.reason = new $(i, o, c), n(r.reason));
1596
+ });
1597
+ }
1598
+ /**
1599
+ * Throws a `CanceledError` if cancellation has been requested.
1600
+ */
1601
+ throwIfRequested() {
1602
+ if (this.reason)
1603
+ throw this.reason;
1604
+ }
1605
+ /**
1606
+ * Subscribe to the cancel signal
1607
+ */
1608
+ subscribe(t) {
1609
+ if (this.reason) {
1610
+ t(this.reason);
1611
+ return;
1612
+ }
1613
+ this._listeners ? this._listeners.push(t) : this._listeners = [t];
1614
+ }
1615
+ /**
1616
+ * Unsubscribe from the cancel signal
1617
+ */
1618
+ unsubscribe(t) {
1619
+ if (!this._listeners)
1620
+ return;
1621
+ const n = this._listeners.indexOf(t);
1622
+ n !== -1 && this._listeners.splice(n, 1);
1623
+ }
1624
+ toAbortSignal() {
1625
+ const t = new AbortController(), n = (r) => {
1626
+ t.abort(r);
1627
+ };
1628
+ return this.subscribe(n), t.signal.unsubscribe = () => this.unsubscribe(n), t.signal;
1629
+ }
1630
+ /**
1631
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
1632
+ * cancels the `CancelToken`.
1633
+ */
1634
+ static source() {
1635
+ let t;
1636
+ return {
1637
+ token: new ft(function(s) {
1638
+ t = s;
1639
+ }),
1640
+ cancel: t
1641
+ };
1642
+ }
1643
+ };
1644
+ function $n(e) {
1645
+ return function(n) {
1646
+ return e.apply(null, n);
1647
+ };
1648
+ }
1649
+ function zn(e) {
1650
+ return a.isObject(e) && e.isAxiosError === !0;
1651
+ }
1652
+ const ye = {
1653
+ Continue: 100,
1654
+ SwitchingProtocols: 101,
1655
+ Processing: 102,
1656
+ EarlyHints: 103,
1657
+ Ok: 200,
1658
+ Created: 201,
1659
+ Accepted: 202,
1660
+ NonAuthoritativeInformation: 203,
1661
+ NoContent: 204,
1662
+ ResetContent: 205,
1663
+ PartialContent: 206,
1664
+ MultiStatus: 207,
1665
+ AlreadyReported: 208,
1666
+ ImUsed: 226,
1667
+ MultipleChoices: 300,
1668
+ MovedPermanently: 301,
1669
+ Found: 302,
1670
+ SeeOther: 303,
1671
+ NotModified: 304,
1672
+ UseProxy: 305,
1673
+ Unused: 306,
1674
+ TemporaryRedirect: 307,
1675
+ PermanentRedirect: 308,
1676
+ BadRequest: 400,
1677
+ Unauthorized: 401,
1678
+ PaymentRequired: 402,
1679
+ Forbidden: 403,
1680
+ NotFound: 404,
1681
+ MethodNotAllowed: 405,
1682
+ NotAcceptable: 406,
1683
+ ProxyAuthenticationRequired: 407,
1684
+ RequestTimeout: 408,
1685
+ Conflict: 409,
1686
+ Gone: 410,
1687
+ LengthRequired: 411,
1688
+ PreconditionFailed: 412,
1689
+ PayloadTooLarge: 413,
1690
+ UriTooLong: 414,
1691
+ UnsupportedMediaType: 415,
1692
+ RangeNotSatisfiable: 416,
1693
+ ExpectationFailed: 417,
1694
+ ImATeapot: 418,
1695
+ MisdirectedRequest: 421,
1696
+ UnprocessableEntity: 422,
1697
+ Locked: 423,
1698
+ FailedDependency: 424,
1699
+ TooEarly: 425,
1700
+ UpgradeRequired: 426,
1701
+ PreconditionRequired: 428,
1702
+ TooManyRequests: 429,
1703
+ RequestHeaderFieldsTooLarge: 431,
1704
+ UnavailableForLegalReasons: 451,
1705
+ InternalServerError: 500,
1706
+ NotImplemented: 501,
1707
+ BadGateway: 502,
1708
+ ServiceUnavailable: 503,
1709
+ GatewayTimeout: 504,
1710
+ HttpVersionNotSupported: 505,
1711
+ VariantAlsoNegotiates: 506,
1712
+ InsufficientStorage: 507,
1713
+ LoopDetected: 508,
1714
+ NotExtended: 510,
1715
+ NetworkAuthenticationRequired: 511,
1716
+ WebServerIsDown: 521,
1717
+ ConnectionTimedOut: 522,
1718
+ OriginIsUnreachable: 523,
1719
+ TimeoutOccurred: 524,
1720
+ SslHandshakeFailed: 525,
1721
+ InvalidSslCertificate: 526
1722
+ };
1723
+ Object.entries(ye).forEach(([e, t]) => {
1724
+ ye[t] = e;
1725
+ });
1726
+ function dt(e) {
1727
+ const t = new j(e), n = ze(j.prototype.request, t);
1728
+ return a.extend(n, j.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1729
+ return dt(q(e, s));
1730
+ }, n;
1731
+ }
1732
+ const w = dt(v);
1733
+ w.Axios = j;
1734
+ w.CanceledError = $;
1735
+ w.CancelToken = Mn;
1736
+ w.isCancel = st;
1737
+ w.VERSION = ut;
1738
+ w.toFormData = ie;
1739
+ w.AxiosError = y;
1740
+ w.Cancel = w.CanceledError;
1741
+ w.all = function(t) {
1742
+ return Promise.all(t);
1743
+ };
1744
+ w.spread = $n;
1745
+ w.isAxiosError = zn;
1746
+ w.mergeConfig = q;
1747
+ w.AxiosHeaders = A;
1748
+ w.formToJSON = (e) => rt(a.isHTMLForm(e) ? new FormData(e) : e);
1749
+ w.getAdapter = lt.getAdapter;
1750
+ w.HttpStatusCode = ye;
1751
+ w.default = w;
1752
+ const {
1753
+ Axios: Wn,
1754
+ AxiosError: Kn,
1755
+ CanceledError: vn,
1756
+ isCancel: Xn,
1757
+ CancelToken: Gn,
1758
+ VERSION: Qn,
1759
+ all: Zn,
1760
+ Cancel: Yn,
1761
+ isAxiosError: er,
1762
+ spread: tr,
1763
+ toFormData: nr,
1764
+ AxiosHeaders: rr,
1765
+ HttpStatusCode: sr,
1766
+ formToJSON: or,
1767
+ getAdapter: ir,
1768
+ mergeConfig: ar
1769
+ } = w;
1770
+ export {
1771
+ w as a
1772
+ };