@opencloud-eu/web-client 6.1.0 → 7.0.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.
- package/dist/{axios-Drchb9eh.js → axios-DAxu7d04.js} +359 -316
- package/dist/{dist-tjee3PVd.js → dist-CSYfvE5O.js} +7 -7
- package/dist/{generated-B6vcMOfs.js → generated-DpuGzXYs.js} +1 -1
- package/dist/{graph-DcYhPBws.js → graph-DDFvgcOx.js} +3 -3
- package/dist/{helpers-B0hzJ78Q.js → helpers-BuCcZhiF.js} +313 -313
- package/dist/ocs-BX4C1k3k.js +2916 -0
- package/dist/{toString-tGn_k7yU.js → toString-9BJo4tor.js} +42 -42
- package/dist/web-client/graph/generated.js +1 -1
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/webdav.js +2 -2
- package/dist/web-client.js +5 -5
- package/dist/{webdav-CcBUJk4K.js → webdav-BS8H6On8.js} +202 -200
- package/package.json +2 -2
- package/dist/ocs-2K0ogAXF.js +0 -1658
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e, t } from "./dist-
|
|
1
|
+
import { n as e, t } from "./dist-CSYfvE5O.js";
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
|
-
var n = Object.create, r = Object.defineProperty, i = Object.getOwnPropertyDescriptor, a = Object.getOwnPropertyNames, o = Object.getPrototypeOf, s = Object.prototype.hasOwnProperty, c = (e, t) => () => (e && (t = e(e = 0)), t), l = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), u = (e, t) => {
|
|
3
|
+
var n = Object.create, r = Object.defineProperty, i = Object.getOwnPropertyDescriptor, a = Object.getOwnPropertyNames, o = Object.getPrototypeOf, s = Object.prototype.hasOwnProperty, c = (e, t) => () => (e && (t = e(e = 0)), t), l = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), u = (e, t) => {
|
|
4
4
|
let n = {};
|
|
5
5
|
for (var i in e) r(n, i, {
|
|
6
6
|
get: e[i],
|
|
@@ -18,7 +18,7 @@ var n = Object.create, r = Object.defineProperty, i = Object.getOwnPropertyDescr
|
|
|
18
18
|
enumerable: !0
|
|
19
19
|
}) : i, e));
|
|
20
20
|
//#endregion
|
|
21
|
-
//#region ../../node_modules/.pnpm/vite-plugin-node-polyfills@0.
|
|
21
|
+
//#region ../../node_modules/.pnpm/vite-plugin-node-polyfills@0.26.0_rollup@4.60.0_vite@8.0.10_@types+node@25.6.0_esbuild@_39e58dd573fae6993a3f383997c9be68/node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js
|
|
22
22
|
function p(e) {
|
|
23
23
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
24
24
|
}
|
|
@@ -29,91 +29,91 @@ function h() {
|
|
|
29
29
|
throw Error("clearTimeout has not been defined");
|
|
30
30
|
}
|
|
31
31
|
function g(e) {
|
|
32
|
-
if (
|
|
33
|
-
if ((
|
|
32
|
+
if (w === setTimeout) return setTimeout(e, 0);
|
|
33
|
+
if ((w === m || !w) && setTimeout) return w = setTimeout, setTimeout(e, 0);
|
|
34
34
|
try {
|
|
35
|
-
return
|
|
35
|
+
return w(e, 0);
|
|
36
36
|
} catch {
|
|
37
37
|
try {
|
|
38
|
-
return
|
|
38
|
+
return w.call(null, e, 0);
|
|
39
39
|
} catch {
|
|
40
|
-
return
|
|
40
|
+
return w.call(this, e, 0);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
function _(e) {
|
|
45
|
-
if (
|
|
46
|
-
if ((
|
|
45
|
+
if (T === clearTimeout) return clearTimeout(e);
|
|
46
|
+
if ((T === h || !T) && clearTimeout) return T = clearTimeout, clearTimeout(e);
|
|
47
47
|
try {
|
|
48
|
-
return
|
|
48
|
+
return T(e);
|
|
49
49
|
} catch {
|
|
50
50
|
try {
|
|
51
|
-
return
|
|
51
|
+
return T.call(null, e);
|
|
52
52
|
} catch {
|
|
53
|
-
return
|
|
53
|
+
return T.call(this, e);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
function v() {
|
|
58
|
-
!
|
|
58
|
+
!D || !O || (D = !1, O.length ? E = O.concat(E) : k = -1, E.length && y());
|
|
59
59
|
}
|
|
60
60
|
function y() {
|
|
61
|
-
if (!
|
|
61
|
+
if (!D) {
|
|
62
62
|
var e = g(v);
|
|
63
|
-
|
|
64
|
-
for (var t =
|
|
65
|
-
for (
|
|
66
|
-
|
|
63
|
+
D = !0;
|
|
64
|
+
for (var t = E.length; t;) {
|
|
65
|
+
for (O = E, E = []; ++k < t;) O && O[k].run();
|
|
66
|
+
k = -1, t = E.length;
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
O = null, D = !1, _(e);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function b(e, t) {
|
|
72
72
|
this.fun = e, this.array = t;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
var
|
|
76
|
-
|
|
74
|
+
function x() {}
|
|
75
|
+
var S, C, w, T, E, D, O, k, ee, te, ne = c((() => {
|
|
76
|
+
S = { exports: {} }, C = S.exports = {}, (function() {
|
|
77
77
|
try {
|
|
78
|
-
|
|
78
|
+
w = typeof setTimeout == "function" ? setTimeout : m;
|
|
79
79
|
} catch {
|
|
80
|
-
|
|
80
|
+
w = m;
|
|
81
81
|
}
|
|
82
82
|
try {
|
|
83
|
-
|
|
83
|
+
T = typeof clearTimeout == "function" ? clearTimeout : h;
|
|
84
84
|
} catch {
|
|
85
|
-
|
|
85
|
+
T = h;
|
|
86
86
|
}
|
|
87
|
-
})(),
|
|
87
|
+
})(), E = [], D = !1, k = -1, C.nextTick = function(e) {
|
|
88
88
|
var t = Array(arguments.length - 1);
|
|
89
89
|
if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
|
|
90
|
-
|
|
91
|
-
},
|
|
90
|
+
E.push(new b(e, t)), E.length === 1 && !D && g(y);
|
|
91
|
+
}, b.prototype.run = function() {
|
|
92
92
|
this.fun.apply(null, this.array);
|
|
93
|
-
},
|
|
93
|
+
}, C.title = "browser", C.browser = !0, C.env = {}, C.argv = [], C.version = "", C.versions = {}, C.on = x, C.addListener = x, C.once = x, C.off = x, C.removeListener = x, C.removeAllListeners = x, C.emit = x, C.prependListener = x, C.prependOnceListener = x, C.listeners = function(e) {
|
|
94
94
|
return [];
|
|
95
|
-
},
|
|
95
|
+
}, C.binding = function(e) {
|
|
96
96
|
throw Error("process.binding is not supported");
|
|
97
|
-
},
|
|
97
|
+
}, C.cwd = function() {
|
|
98
98
|
return "/";
|
|
99
|
-
},
|
|
99
|
+
}, C.chdir = function(e) {
|
|
100
100
|
throw Error("process.chdir is not supported");
|
|
101
|
-
},
|
|
101
|
+
}, C.umask = function() {
|
|
102
102
|
return 0;
|
|
103
|
-
},
|
|
103
|
+
}, ee = S.exports, te = /* @__PURE__ */ p(ee);
|
|
104
104
|
}));
|
|
105
105
|
//#endregion
|
|
106
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
107
|
-
|
|
106
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/bind.js
|
|
107
|
+
ne();
|
|
108
|
+
function re(e, t) {
|
|
108
109
|
return function() {
|
|
109
110
|
return e.apply(t, arguments);
|
|
110
111
|
};
|
|
111
112
|
}
|
|
112
113
|
//#endregion
|
|
113
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
let n = ae.call(t);
|
|
114
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/utils.js
|
|
115
|
+
var { toString: ie } = Object.prototype, { getPrototypeOf: ae } = Object, { iterator: oe, toStringTag: se } = Symbol, A = ((e) => (t) => {
|
|
116
|
+
let n = ie.call(t);
|
|
117
117
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
118
118
|
})(Object.create(null)), j = (e) => (e = e.toLowerCase(), (t) => A(t) === e), M = (e) => (t) => typeof t === e, { isArray: N } = Array, P = M("undefined");
|
|
119
119
|
function F(e) {
|
|
@@ -126,8 +126,8 @@ function le(e) {
|
|
|
126
126
|
}
|
|
127
127
|
var ue = M("string"), I = M("function"), de = M("number"), L = (e) => typeof e == "object" && !!e, fe = (e) => e === !0 || e === !1, R = (e) => {
|
|
128
128
|
if (A(e) !== "object") return !1;
|
|
129
|
-
let t =
|
|
130
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(se in e) && !(
|
|
129
|
+
let t = ae(e);
|
|
130
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(se in e) && !(oe in e);
|
|
131
131
|
}, pe = (e) => {
|
|
132
132
|
if (!L(e) || F(e)) return !1;
|
|
133
133
|
try {
|
|
@@ -140,8 +140,12 @@ function xe() {
|
|
|
140
140
|
return typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : e === void 0 ? {} : e;
|
|
141
141
|
}
|
|
142
142
|
var Se = xe(), Ce = Se.FormData === void 0 ? void 0 : Se.FormData, we = (e) => {
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
if (!e) return !1;
|
|
144
|
+
if (Ce && e instanceof Ce) return !0;
|
|
145
|
+
let t = ae(e);
|
|
146
|
+
if (!t || t === Object.prototype || !I(e.append)) return !1;
|
|
147
|
+
let n = A(e);
|
|
148
|
+
return n === "formdata" || n === "object" && I(e.toString) && e.toString() === "[object FormData]";
|
|
145
149
|
}, Te = j("URLSearchParams"), [Ee, De, Oe, ke] = [
|
|
146
150
|
"ReadableStream",
|
|
147
151
|
"Request",
|
|
@@ -177,7 +181,7 @@ function Ne() {
|
|
|
177
181
|
}
|
|
178
182
|
var Pe = (e, t, n, { allOwnKeys: r } = {}) => (z(t, (t, r) => {
|
|
179
183
|
n && I(t) ? Object.defineProperty(e, r, {
|
|
180
|
-
value:
|
|
184
|
+
value: re(t, n),
|
|
181
185
|
writable: !0,
|
|
182
186
|
enumerable: !0,
|
|
183
187
|
configurable: !0
|
|
@@ -199,7 +203,7 @@ var Pe = (e, t, n, { allOwnKeys: r } = {}) => (z(t, (t, r) => {
|
|
|
199
203
|
if (t ||= {}, e == null) return t;
|
|
200
204
|
do {
|
|
201
205
|
for (i = Object.getOwnPropertyNames(e), a = i.length; a-- > 0;) o = i[a], (!r || r(o, e, t)) && !s[o] && (t[o] = e[o], s[o] = !0);
|
|
202
|
-
e = n !== !1 &&
|
|
206
|
+
e = n !== !1 && ae(e);
|
|
203
207
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
204
208
|
return t;
|
|
205
209
|
}, Re = (e, t, n) => {
|
|
@@ -214,8 +218,8 @@ var Pe = (e, t, n, { allOwnKeys: r } = {}) => (z(t, (t, r) => {
|
|
|
214
218
|
let n = Array(t);
|
|
215
219
|
for (; t-- > 0;) n[t] = e[t];
|
|
216
220
|
return n;
|
|
217
|
-
}, Be = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" &&
|
|
218
|
-
let n = (e && e[
|
|
221
|
+
}, Be = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ae(Uint8Array)), Ve = (e, t) => {
|
|
222
|
+
let n = (e && e[oe]).call(e), r;
|
|
219
223
|
for (; (r = n.next()) && !r.done;) {
|
|
220
224
|
let n = r.value;
|
|
221
225
|
t.call(e, n[0], n[1]);
|
|
@@ -259,7 +263,7 @@ var Pe = (e, t, n, { allOwnKeys: r } = {}) => (z(t, (t, r) => {
|
|
|
259
263
|
return N(e) ? r(e) : r(String(e).split(t)), n;
|
|
260
264
|
}, Xe = () => {}, Ze = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
261
265
|
function Qe(e) {
|
|
262
|
-
return !!(e && I(e.append) && e[se] === "FormData" && e[
|
|
266
|
+
return !!(e && I(e.append) && e[se] === "FormData" && e[oe]);
|
|
263
267
|
}
|
|
264
268
|
var $e = (e) => {
|
|
265
269
|
let t = Array(10), n = (e, r) => {
|
|
@@ -340,8 +344,8 @@ var $e = (e) => {
|
|
|
340
344
|
isAsyncFn: et,
|
|
341
345
|
isThenable: tt,
|
|
342
346
|
setImmediate: nt,
|
|
343
|
-
asap: typeof queueMicrotask < "u" ? queueMicrotask.bind(B) :
|
|
344
|
-
isIterable: (e) => e != null && I(e[
|
|
347
|
+
asap: typeof queueMicrotask < "u" ? queueMicrotask.bind(B) : te !== void 0 && te.nextTick || nt,
|
|
348
|
+
isIterable: (e) => e != null && I(e[oe])
|
|
345
349
|
}, H = class e extends Error {
|
|
346
350
|
static from(t, n, r, i, a, o) {
|
|
347
351
|
let s = new e(t.message, n || t.code, r, i, a);
|
|
@@ -371,9 +375,9 @@ var $e = (e) => {
|
|
|
371
375
|
};
|
|
372
376
|
}
|
|
373
377
|
};
|
|
374
|
-
H.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE", H.ERR_BAD_OPTION = "ERR_BAD_OPTION", H.ECONNABORTED = "ECONNABORTED", H.ETIMEDOUT = "ETIMEDOUT", H.ERR_NETWORK = "ERR_NETWORK", H.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS", H.ERR_DEPRECATED = "ERR_DEPRECATED", H.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE", H.ERR_BAD_REQUEST = "ERR_BAD_REQUEST", H.ERR_CANCELED = "ERR_CANCELED", H.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT", H.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
378
|
+
H.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE", H.ERR_BAD_OPTION = "ERR_BAD_OPTION", H.ECONNABORTED = "ECONNABORTED", H.ETIMEDOUT = "ETIMEDOUT", H.ERR_NETWORK = "ERR_NETWORK", H.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS", H.ERR_DEPRECATED = "ERR_DEPRECATED", H.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE", H.ERR_BAD_REQUEST = "ERR_BAD_REQUEST", H.ERR_CANCELED = "ERR_CANCELED", H.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT", H.ERR_INVALID_URL = "ERR_INVALID_URL", H.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
|
|
375
379
|
//#endregion
|
|
376
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
380
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/toFormData.js
|
|
377
381
|
function rt(e) {
|
|
378
382
|
return V.isPlainObject(e) || V.isArray(e);
|
|
379
383
|
}
|
|
@@ -391,7 +395,7 @@ function ot(e) {
|
|
|
391
395
|
var st = V.toFlatObject(V, {}, null, function(e) {
|
|
392
396
|
return /^is[A-Z]/.test(e);
|
|
393
397
|
});
|
|
394
|
-
function
|
|
398
|
+
function ct(e, n, r) {
|
|
395
399
|
if (!V.isObject(e)) throw TypeError("target must be an object");
|
|
396
400
|
n ||= new FormData(), r = V.toFlatObject(r, {
|
|
397
401
|
metaTokens: !0,
|
|
@@ -400,89 +404,89 @@ function U(e, n, r) {
|
|
|
400
404
|
}, !1, function(e, t) {
|
|
401
405
|
return !V.isUndefined(t[e]);
|
|
402
406
|
});
|
|
403
|
-
let i = r.metaTokens, a = r.visitor ||
|
|
407
|
+
let i = r.metaTokens, a = r.visitor || f, o = r.dots, s = r.indexes, c = r.Blob || typeof Blob < "u" && Blob, l = r.maxDepth === void 0 ? 100 : r.maxDepth, u = c && V.isSpecCompliantForm(n);
|
|
404
408
|
if (!V.isFunction(a)) throw TypeError("visitor must be a function");
|
|
405
|
-
function
|
|
409
|
+
function d(e) {
|
|
406
410
|
if (e === null) return "";
|
|
407
411
|
if (V.isDate(e)) return e.toISOString();
|
|
408
412
|
if (V.isBoolean(e)) return e.toString();
|
|
409
|
-
if (!
|
|
410
|
-
return V.isArrayBuffer(e) || V.isTypedArray(e) ?
|
|
413
|
+
if (!u && V.isBlob(e)) throw new H("Blob is not supported. Use a Buffer instead.");
|
|
414
|
+
return V.isArrayBuffer(e) || V.isTypedArray(e) ? u && typeof Blob == "function" ? new Blob([e]) : t.from(e) : e;
|
|
411
415
|
}
|
|
412
|
-
function
|
|
416
|
+
function f(e, t, r) {
|
|
413
417
|
let a = e;
|
|
414
|
-
if (V.isReactNative(n) && V.isReactNativeBlob(e)) return n.append(at(r, t, o),
|
|
418
|
+
if (V.isReactNative(n) && V.isReactNativeBlob(e)) return n.append(at(r, t, o), d(e)), !1;
|
|
415
419
|
if (e && !r && typeof e == "object") {
|
|
416
420
|
if (V.endsWith(t, "{}")) t = i ? t : t.slice(0, -2), e = JSON.stringify(e);
|
|
417
421
|
else if (V.isArray(e) && ot(e) || (V.isFileList(e) || V.endsWith(t, "[]")) && (a = V.toArray(e))) return t = it(t), a.forEach(function(e, r) {
|
|
418
|
-
!(V.isUndefined(e) || e === null) && n.append(s === !0 ? at([t], r, o) : s === null ? t : t + "[]",
|
|
422
|
+
!(V.isUndefined(e) || e === null) && n.append(s === !0 ? at([t], r, o) : s === null ? t : t + "[]", d(e));
|
|
419
423
|
}), !1;
|
|
420
424
|
}
|
|
421
|
-
return rt(e) ? !0 : (n.append(at(r, t, o),
|
|
425
|
+
return rt(e) ? !0 : (n.append(at(r, t, o), d(e)), !1);
|
|
422
426
|
}
|
|
423
|
-
let
|
|
424
|
-
defaultVisitor:
|
|
425
|
-
convertValue:
|
|
427
|
+
let p = [], m = Object.assign(st, {
|
|
428
|
+
defaultVisitor: f,
|
|
429
|
+
convertValue: d,
|
|
426
430
|
isVisitable: rt
|
|
427
431
|
});
|
|
428
|
-
function
|
|
432
|
+
function h(e, t, r = 0) {
|
|
429
433
|
if (!V.isUndefined(e)) {
|
|
430
|
-
if (
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
+
if (r > l) throw new H("Object is too deeply nested (" + r + " levels). Max depth: " + l, H.ERR_FORM_DATA_DEPTH_EXCEEDED);
|
|
435
|
+
if (p.indexOf(e) !== -1) throw Error("Circular reference detected in " + t.join("."));
|
|
436
|
+
p.push(e), V.forEach(e, function(e, i) {
|
|
437
|
+
(!(V.isUndefined(e) || e === null) && a.call(n, e, V.isString(i) ? i.trim() : i, t, m)) === !0 && h(e, t ? t.concat(i) : [i], r + 1);
|
|
438
|
+
}), p.pop();
|
|
434
439
|
}
|
|
435
440
|
}
|
|
436
441
|
if (!V.isObject(e)) throw TypeError("data must be an object");
|
|
437
|
-
return
|
|
442
|
+
return h(e), n;
|
|
438
443
|
}
|
|
439
444
|
//#endregion
|
|
440
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
441
|
-
function
|
|
445
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
446
|
+
function lt(e) {
|
|
442
447
|
let t = {
|
|
443
448
|
"!": "%21",
|
|
444
449
|
"'": "%27",
|
|
445
450
|
"(": "%28",
|
|
446
451
|
")": "%29",
|
|
447
452
|
"~": "%7E",
|
|
448
|
-
"%20": "+"
|
|
449
|
-
"%00": "\0"
|
|
453
|
+
"%20": "+"
|
|
450
454
|
};
|
|
451
|
-
return encodeURIComponent(e).replace(/[!'()~]|%20
|
|
455
|
+
return encodeURIComponent(e).replace(/[!'()~]|%20/g, function(e) {
|
|
452
456
|
return t[e];
|
|
453
457
|
});
|
|
454
458
|
}
|
|
455
|
-
function
|
|
456
|
-
this._pairs = [], e &&
|
|
459
|
+
function ut(e, t) {
|
|
460
|
+
this._pairs = [], e && ct(e, this, t);
|
|
457
461
|
}
|
|
458
|
-
var
|
|
459
|
-
|
|
462
|
+
var dt = ut.prototype;
|
|
463
|
+
dt.append = function(e, t) {
|
|
460
464
|
this._pairs.push([e, t]);
|
|
461
|
-
},
|
|
465
|
+
}, dt.toString = function(e) {
|
|
462
466
|
let t = e ? function(t) {
|
|
463
|
-
return e.call(this, t,
|
|
464
|
-
} :
|
|
467
|
+
return e.call(this, t, lt);
|
|
468
|
+
} : lt;
|
|
465
469
|
return this._pairs.map(function(e) {
|
|
466
470
|
return t(e[0]) + "=" + t(e[1]);
|
|
467
471
|
}, "").join("&");
|
|
468
472
|
};
|
|
469
473
|
//#endregion
|
|
470
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
471
|
-
function
|
|
474
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/buildURL.js
|
|
475
|
+
function ft(e) {
|
|
472
476
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
473
477
|
}
|
|
474
|
-
function
|
|
478
|
+
function pt(e, t, n) {
|
|
475
479
|
if (!t) return e;
|
|
476
|
-
let r = n && n.encode ||
|
|
477
|
-
if (o = a ? a(t, i) : V.isURLSearchParams(t) ? t.toString() : new
|
|
480
|
+
let r = n && n.encode || ft, i = V.isFunction(n) ? { serialize: n } : n, a = i && i.serialize, o;
|
|
481
|
+
if (o = a ? a(t, i) : V.isURLSearchParams(t) ? t.toString() : new ut(t, i).toString(r), o) {
|
|
478
482
|
let t = e.indexOf("#");
|
|
479
483
|
t !== -1 && (e = e.slice(0, t)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
|
|
480
484
|
}
|
|
481
485
|
return e;
|
|
482
486
|
}
|
|
483
487
|
//#endregion
|
|
484
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
485
|
-
var
|
|
488
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/core/InterceptorManager.js
|
|
489
|
+
var mt = class {
|
|
486
490
|
constructor() {
|
|
487
491
|
this.handlers = [];
|
|
488
492
|
}
|
|
@@ -505,15 +509,15 @@ var pt = class {
|
|
|
505
509
|
t !== null && e(t);
|
|
506
510
|
});
|
|
507
511
|
}
|
|
508
|
-
},
|
|
512
|
+
}, ht = {
|
|
509
513
|
silentJSONParsing: !0,
|
|
510
514
|
forcedJSONParsing: !0,
|
|
511
515
|
clarifyTimeoutError: !1,
|
|
512
516
|
legacyInterceptorReqResOrdering: !0
|
|
513
|
-
},
|
|
517
|
+
}, gt = {
|
|
514
518
|
isBrowser: !0,
|
|
515
519
|
classes: {
|
|
516
|
-
URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams :
|
|
520
|
+
URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : ut,
|
|
517
521
|
FormData: typeof FormData < "u" ? FormData : null,
|
|
518
522
|
Blob: typeof Blob < "u" ? Blob : null
|
|
519
523
|
},
|
|
@@ -525,58 +529,59 @@ var pt = class {
|
|
|
525
529
|
"url",
|
|
526
530
|
"data"
|
|
527
531
|
]
|
|
528
|
-
},
|
|
529
|
-
hasBrowserEnv: () =>
|
|
530
|
-
hasStandardBrowserEnv: () =>
|
|
531
|
-
hasStandardBrowserWebWorkerEnv: () =>
|
|
532
|
-
navigator: () =>
|
|
533
|
-
origin: () =>
|
|
534
|
-
}),
|
|
532
|
+
}, _t = /* @__PURE__ */ u({
|
|
533
|
+
hasBrowserEnv: () => vt,
|
|
534
|
+
hasStandardBrowserEnv: () => bt,
|
|
535
|
+
hasStandardBrowserWebWorkerEnv: () => xt,
|
|
536
|
+
navigator: () => yt,
|
|
537
|
+
origin: () => St
|
|
538
|
+
}), vt = typeof window < "u" && typeof document < "u", yt = typeof navigator == "object" && navigator || void 0, bt = vt && (!yt || [
|
|
535
539
|
"ReactNative",
|
|
536
540
|
"NativeScript",
|
|
537
541
|
"NS"
|
|
538
|
-
].indexOf(
|
|
539
|
-
...
|
|
540
|
-
...
|
|
542
|
+
].indexOf(yt.product) < 0), xt = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", St = vt && window.location.href || "http://localhost", U = {
|
|
543
|
+
..._t,
|
|
544
|
+
...gt
|
|
541
545
|
};
|
|
542
546
|
//#endregion
|
|
543
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
544
|
-
function
|
|
545
|
-
return
|
|
547
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
548
|
+
function Ct(e, t) {
|
|
549
|
+
return ct(e, new U.classes.URLSearchParams(), {
|
|
546
550
|
visitor: function(e, t, n, r) {
|
|
547
|
-
return
|
|
551
|
+
return U.isNode && V.isBuffer(e) ? (this.append(t, e.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
|
|
548
552
|
},
|
|
549
553
|
...t
|
|
550
554
|
});
|
|
551
555
|
}
|
|
552
556
|
//#endregion
|
|
553
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
554
|
-
function
|
|
557
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
558
|
+
function wt(e) {
|
|
555
559
|
return V.matchAll(/\w+|\[(\w*)]/g, e).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
|
|
556
560
|
}
|
|
557
|
-
function
|
|
561
|
+
function Tt(e) {
|
|
558
562
|
let t = {}, n = Object.keys(e), r, i = n.length, a;
|
|
559
563
|
for (r = 0; r < i; r++) a = n[r], t[a] = e[a];
|
|
560
564
|
return t;
|
|
561
565
|
}
|
|
562
|
-
function
|
|
566
|
+
function Et(e) {
|
|
563
567
|
function t(e, n, r, i) {
|
|
564
568
|
let a = e[i++];
|
|
565
569
|
if (a === "__proto__") return !0;
|
|
566
570
|
let o = Number.isFinite(+a), s = i >= e.length;
|
|
567
|
-
return a = !a && V.isArray(r) ? r.length : a, s ? (V.hasOwnProp(r, a) ? r[a] = [r[a], n] : r[a] = n, !o) : ((!r[a] || !V.isObject(r[a])) && (r[a] = []), t(e, n, r[a], i) && V.isArray(r[a]) && (r[a] =
|
|
571
|
+
return a = !a && V.isArray(r) ? r.length : a, s ? (V.hasOwnProp(r, a) ? r[a] = V.isArray(r[a]) ? r[a].concat(n) : [r[a], n] : r[a] = n, !o) : ((!r[a] || !V.isObject(r[a])) && (r[a] = []), t(e, n, r[a], i) && V.isArray(r[a]) && (r[a] = Tt(r[a])), !o);
|
|
568
572
|
}
|
|
569
573
|
if (V.isFormData(e) && V.isFunction(e.entries)) {
|
|
570
574
|
let n = {};
|
|
571
575
|
return V.forEachEntry(e, (e, r) => {
|
|
572
|
-
t(
|
|
576
|
+
t(wt(e), r, n, 0);
|
|
573
577
|
}), n;
|
|
574
578
|
}
|
|
575
579
|
return null;
|
|
576
580
|
}
|
|
577
581
|
//#endregion
|
|
578
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
579
|
-
|
|
582
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/defaults/index.js
|
|
583
|
+
var W = (e, t) => e != null && V.hasOwnProp(e, t) ? e[t] : void 0;
|
|
584
|
+
function Dt(e, t, n) {
|
|
580
585
|
if (V.isString(e)) try {
|
|
581
586
|
return (t || JSON.parse)(e), V.trim(e);
|
|
582
587
|
} catch (e) {
|
|
@@ -585,7 +590,7 @@ function Et(e, t, n) {
|
|
|
585
590
|
return (n || JSON.stringify)(e);
|
|
586
591
|
}
|
|
587
592
|
var G = {
|
|
588
|
-
transitional:
|
|
593
|
+
transitional: ht,
|
|
589
594
|
adapter: [
|
|
590
595
|
"xhr",
|
|
591
596
|
"http",
|
|
@@ -593,29 +598,30 @@ var G = {
|
|
|
593
598
|
],
|
|
594
599
|
transformRequest: [function(e, t) {
|
|
595
600
|
let n = t.getContentType() || "", r = n.indexOf("application/json") > -1, i = V.isObject(e);
|
|
596
|
-
if (i && V.isHTMLForm(e) && (e = new FormData(e)), V.isFormData(e)) return r ? JSON.stringify(
|
|
601
|
+
if (i && V.isHTMLForm(e) && (e = new FormData(e)), V.isFormData(e)) return r ? JSON.stringify(Et(e)) : e;
|
|
597
602
|
if (V.isArrayBuffer(e) || V.isBuffer(e) || V.isStream(e) || V.isFile(e) || V.isBlob(e) || V.isReadableStream(e)) return e;
|
|
598
603
|
if (V.isArrayBufferView(e)) return e.buffer;
|
|
599
604
|
if (V.isURLSearchParams(e)) return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
|
|
600
605
|
let a;
|
|
601
606
|
if (i) {
|
|
602
|
-
|
|
607
|
+
let t = W(this, "formSerializer");
|
|
608
|
+
if (n.indexOf("application/x-www-form-urlencoded") > -1) return Ct(e, t).toString();
|
|
603
609
|
if ((a = V.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
|
|
604
|
-
let
|
|
605
|
-
return
|
|
610
|
+
let n = W(this, "env"), r = n && n.FormData;
|
|
611
|
+
return ct(a ? { "files[]": e } : e, r && new r(), t);
|
|
606
612
|
}
|
|
607
613
|
}
|
|
608
|
-
return i || r ? (t.setContentType("application/json", !1),
|
|
614
|
+
return i || r ? (t.setContentType("application/json", !1), Dt(e)) : e;
|
|
609
615
|
}],
|
|
610
616
|
transformResponse: [function(e) {
|
|
611
|
-
let t = this
|
|
617
|
+
let t = W(this, "transitional") || G.transitional, n = t && t.forcedJSONParsing, r = W(this, "responseType"), i = r === "json";
|
|
612
618
|
if (V.isResponse(e) || V.isReadableStream(e)) return e;
|
|
613
|
-
if (e && V.isString(e) && (n && !
|
|
614
|
-
let n = !(t && t.silentJSONParsing) &&
|
|
619
|
+
if (e && V.isString(e) && (n && !r || i)) {
|
|
620
|
+
let n = !(t && t.silentJSONParsing) && i;
|
|
615
621
|
try {
|
|
616
|
-
return JSON.parse(e, this
|
|
622
|
+
return JSON.parse(e, W(this, "parseReviver"));
|
|
617
623
|
} catch (e) {
|
|
618
|
-
if (n) throw e.name === "SyntaxError" ? H.from(e, H.ERR_BAD_RESPONSE, this, null, this
|
|
624
|
+
if (n) throw e.name === "SyntaxError" ? H.from(e, H.ERR_BAD_RESPONSE, this, null, W(this, "response")) : e;
|
|
619
625
|
}
|
|
620
626
|
}
|
|
621
627
|
return e;
|
|
@@ -626,8 +632,8 @@ var G = {
|
|
|
626
632
|
maxContentLength: -1,
|
|
627
633
|
maxBodyLength: -1,
|
|
628
634
|
env: {
|
|
629
|
-
FormData:
|
|
630
|
-
Blob:
|
|
635
|
+
FormData: U.classes.FormData,
|
|
636
|
+
Blob: U.classes.Blob
|
|
631
637
|
},
|
|
632
638
|
validateStatus: function(e) {
|
|
633
639
|
return e >= 200 && e < 300;
|
|
@@ -648,8 +654,8 @@ V.forEach([
|
|
|
648
654
|
G.headers[e] = {};
|
|
649
655
|
});
|
|
650
656
|
//#endregion
|
|
651
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
652
|
-
var
|
|
657
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/parseHeaders.js
|
|
658
|
+
var Ot = V.toObjectSet([
|
|
653
659
|
"age",
|
|
654
660
|
"authorization",
|
|
655
661
|
"content-length",
|
|
@@ -667,35 +673,52 @@ var Dt = V.toObjectSet([
|
|
|
667
673
|
"referer",
|
|
668
674
|
"retry-after",
|
|
669
675
|
"user-agent"
|
|
670
|
-
]),
|
|
676
|
+
]), kt = (e) => {
|
|
671
677
|
let t = {}, n, r, i;
|
|
672
678
|
return e && e.split("\n").forEach(function(e) {
|
|
673
|
-
i = e.indexOf(":"), n = e.substring(0, i).trim().toLowerCase(), r = e.substring(i + 1).trim(), !(!n || t[n] &&
|
|
679
|
+
i = e.indexOf(":"), n = e.substring(0, i).trim().toLowerCase(), r = e.substring(i + 1).trim(), !(!n || t[n] && Ot[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
674
680
|
}), t;
|
|
675
|
-
},
|
|
681
|
+
}, At = Symbol("internals"), jt = /[^\x09\x20-\x7E\x80-\xFF]/g;
|
|
682
|
+
function Mt(e) {
|
|
683
|
+
let t = 0, n = e.length;
|
|
684
|
+
for (; t < n;) {
|
|
685
|
+
let n = e.charCodeAt(t);
|
|
686
|
+
if (n !== 9 && n !== 32) break;
|
|
687
|
+
t += 1;
|
|
688
|
+
}
|
|
689
|
+
for (; n > t;) {
|
|
690
|
+
let t = e.charCodeAt(n - 1);
|
|
691
|
+
if (t !== 9 && t !== 32) break;
|
|
692
|
+
--n;
|
|
693
|
+
}
|
|
694
|
+
return t === 0 && n === e.length ? e : e.slice(t, n);
|
|
695
|
+
}
|
|
676
696
|
function K(e) {
|
|
677
697
|
return e && String(e).trim().toLowerCase();
|
|
678
698
|
}
|
|
699
|
+
function Nt(e) {
|
|
700
|
+
return Mt(e.replace(jt, ""));
|
|
701
|
+
}
|
|
679
702
|
function q(e) {
|
|
680
|
-
return e === !1 || e == null ? e : V.isArray(e) ? e.map(q) : String(e);
|
|
703
|
+
return e === !1 || e == null ? e : V.isArray(e) ? e.map(q) : Nt(String(e));
|
|
681
704
|
}
|
|
682
|
-
function
|
|
705
|
+
function Pt(e) {
|
|
683
706
|
let t = Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g, r;
|
|
684
707
|
for (; r = n.exec(e);) t[r[1]] = r[2];
|
|
685
708
|
return t;
|
|
686
709
|
}
|
|
687
|
-
var
|
|
688
|
-
function
|
|
710
|
+
var Ft = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
711
|
+
function It(e, t, n, r, i) {
|
|
689
712
|
if (V.isFunction(r)) return r.call(this, t, n);
|
|
690
713
|
if (i && (t = n), V.isString(t)) {
|
|
691
714
|
if (V.isString(r)) return t.indexOf(r) !== -1;
|
|
692
715
|
if (V.isRegExp(r)) return r.test(t);
|
|
693
716
|
}
|
|
694
717
|
}
|
|
695
|
-
function
|
|
718
|
+
function Lt(e) {
|
|
696
719
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, n) => t.toUpperCase() + n);
|
|
697
720
|
}
|
|
698
|
-
function
|
|
721
|
+
function Rt(e, t) {
|
|
699
722
|
let n = V.toCamelCase(" " + t);
|
|
700
723
|
[
|
|
701
724
|
"get",
|
|
@@ -724,7 +747,7 @@ var J = class {
|
|
|
724
747
|
}
|
|
725
748
|
let a = (e, t) => V.forEach(e, (e, n) => i(e, n, t));
|
|
726
749
|
if (V.isPlainObject(e) || e instanceof this.constructor) a(e, t);
|
|
727
|
-
else if (V.isString(e) && (e = e.trim()) && !
|
|
750
|
+
else if (V.isString(e) && (e = e.trim()) && !Ft(e)) a(kt(e), t);
|
|
728
751
|
else if (V.isObject(e) && V.isIterable(e)) {
|
|
729
752
|
let n = {}, r, i;
|
|
730
753
|
for (let t of e) {
|
|
@@ -741,7 +764,7 @@ var J = class {
|
|
|
741
764
|
if (n) {
|
|
742
765
|
let e = this[n];
|
|
743
766
|
if (!t) return e;
|
|
744
|
-
if (t === !0) return
|
|
767
|
+
if (t === !0) return Pt(e);
|
|
745
768
|
if (V.isFunction(t)) return t.call(this, e, n);
|
|
746
769
|
if (V.isRegExp(t)) return t.exec(e);
|
|
747
770
|
throw TypeError("parser must be boolean|regexp|function");
|
|
@@ -751,7 +774,7 @@ var J = class {
|
|
|
751
774
|
has(e, t) {
|
|
752
775
|
if (e = K(e), e) {
|
|
753
776
|
let n = V.findKey(this, e);
|
|
754
|
-
return !!(n && this[n] !== void 0 && (!t ||
|
|
777
|
+
return !!(n && this[n] !== void 0 && (!t || It(this, this[n], n, t)));
|
|
755
778
|
}
|
|
756
779
|
return !1;
|
|
757
780
|
}
|
|
@@ -760,7 +783,7 @@ var J = class {
|
|
|
760
783
|
function i(e) {
|
|
761
784
|
if (e = K(e), e) {
|
|
762
785
|
let i = V.findKey(n, e);
|
|
763
|
-
i && (!t ||
|
|
786
|
+
i && (!t || It(n, n[i], i, t)) && (delete n[i], r = !0);
|
|
764
787
|
}
|
|
765
788
|
}
|
|
766
789
|
return V.isArray(e) ? e.forEach(i) : i(e), r;
|
|
@@ -769,7 +792,7 @@ var J = class {
|
|
|
769
792
|
let t = Object.keys(this), n = t.length, r = !1;
|
|
770
793
|
for (; n--;) {
|
|
771
794
|
let i = t[n];
|
|
772
|
-
(!e ||
|
|
795
|
+
(!e || It(this, this[i], i, e, !0)) && (delete this[i], r = !0);
|
|
773
796
|
}
|
|
774
797
|
return r;
|
|
775
798
|
}
|
|
@@ -781,7 +804,7 @@ var J = class {
|
|
|
781
804
|
t[a] = q(r), delete t[i];
|
|
782
805
|
return;
|
|
783
806
|
}
|
|
784
|
-
let o = e ?
|
|
807
|
+
let o = e ? Lt(i) : String(i).trim();
|
|
785
808
|
o !== i && delete t[i], t[o] = q(r), n[o] = !0;
|
|
786
809
|
}), this;
|
|
787
810
|
}
|
|
@@ -814,10 +837,10 @@ var J = class {
|
|
|
814
837
|
return t.forEach((e) => n.set(e)), n;
|
|
815
838
|
}
|
|
816
839
|
static accessor(e) {
|
|
817
|
-
let t = (this[
|
|
840
|
+
let t = (this[At] = this[At] = { accessors: {} }).accessors, n = this.prototype;
|
|
818
841
|
function r(e) {
|
|
819
842
|
let r = K(e);
|
|
820
|
-
t[r] || (
|
|
843
|
+
t[r] || (Rt(n, e), t[r] = !0);
|
|
821
844
|
}
|
|
822
845
|
return V.isArray(e) ? e.forEach(r) : r(e), this;
|
|
823
846
|
}
|
|
@@ -839,40 +862,40 @@ J.accessor([
|
|
|
839
862
|
};
|
|
840
863
|
}), V.freezeMethods(J);
|
|
841
864
|
//#endregion
|
|
842
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
843
|
-
function
|
|
865
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/core/transformData.js
|
|
866
|
+
function zt(e, t) {
|
|
844
867
|
let n = this || G, r = t || n, i = J.from(r.headers), a = r.data;
|
|
845
868
|
return V.forEach(e, function(e) {
|
|
846
869
|
a = e.call(n, a, i.normalize(), t ? t.status : void 0);
|
|
847
870
|
}), i.normalize(), a;
|
|
848
871
|
}
|
|
849
872
|
//#endregion
|
|
850
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
851
|
-
function
|
|
873
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/cancel/isCancel.js
|
|
874
|
+
function Bt(e) {
|
|
852
875
|
return !!(e && e.__CANCEL__);
|
|
853
876
|
}
|
|
854
877
|
//#endregion
|
|
855
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
878
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/cancel/CanceledError.js
|
|
856
879
|
var Y = class extends H {
|
|
857
880
|
constructor(e, t, n) {
|
|
858
881
|
super(e ?? "canceled", H.ERR_CANCELED, t, n), this.name = "CanceledError", this.__CANCEL__ = !0;
|
|
859
882
|
}
|
|
860
883
|
};
|
|
861
884
|
//#endregion
|
|
862
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
863
|
-
function
|
|
885
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/core/settle.js
|
|
886
|
+
function Vt(e, t, n) {
|
|
864
887
|
let r = n.config.validateStatus;
|
|
865
888
|
!n.status || !r || r(n.status) ? e(n) : t(new H("Request failed with status code " + n.status, [H.ERR_BAD_REQUEST, H.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n));
|
|
866
889
|
}
|
|
867
890
|
//#endregion
|
|
868
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
869
|
-
function
|
|
891
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/parseProtocol.js
|
|
892
|
+
function Ht(e) {
|
|
870
893
|
let t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
871
894
|
return t && t[1] || "";
|
|
872
895
|
}
|
|
873
896
|
//#endregion
|
|
874
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
875
|
-
function
|
|
897
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/speedometer.js
|
|
898
|
+
function Ut(e, t) {
|
|
876
899
|
e ||= 10;
|
|
877
900
|
let n = Array(e), r = Array(e), i = 0, a = 0, o;
|
|
878
901
|
return t = t === void 0 ? 1e3 : t, function(s) {
|
|
@@ -886,8 +909,8 @@ function zt(e, t) {
|
|
|
886
909
|
};
|
|
887
910
|
}
|
|
888
911
|
//#endregion
|
|
889
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
890
|
-
function
|
|
912
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/throttle.js
|
|
913
|
+
function Wt(e, t) {
|
|
891
914
|
let n = 0, r = 1e3 / t, i, a, o = (t, r = Date.now()) => {
|
|
892
915
|
n = r, i = null, a &&= (clearTimeout(a), null), e(...t);
|
|
893
916
|
};
|
|
@@ -899,31 +922,31 @@ function Bt(e, t) {
|
|
|
899
922
|
}, () => i && o(i)];
|
|
900
923
|
}
|
|
901
924
|
//#endregion
|
|
902
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
903
|
-
var
|
|
904
|
-
let r = 0, i =
|
|
905
|
-
return
|
|
906
|
-
let a = n.loaded, o = n.lengthComputable ? n.total : void 0, s = a
|
|
907
|
-
r =
|
|
908
|
-
loaded:
|
|
925
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
926
|
+
var Gt = (e, t, n = 3) => {
|
|
927
|
+
let r = 0, i = Ut(50, 250);
|
|
928
|
+
return Wt((n) => {
|
|
929
|
+
let a = n.loaded, o = n.lengthComputable ? n.total : void 0, s = o == null ? a : Math.min(a, o), c = Math.max(0, s - r), l = i(c);
|
|
930
|
+
r = Math.max(r, s), e({
|
|
931
|
+
loaded: s,
|
|
909
932
|
total: o,
|
|
910
|
-
progress: o ?
|
|
911
|
-
bytes:
|
|
912
|
-
rate:
|
|
913
|
-
estimated:
|
|
933
|
+
progress: o ? s / o : void 0,
|
|
934
|
+
bytes: c,
|
|
935
|
+
rate: l || void 0,
|
|
936
|
+
estimated: l && o ? (o - s) / l : void 0,
|
|
914
937
|
event: n,
|
|
915
938
|
lengthComputable: o != null,
|
|
916
939
|
[t ? "download" : "upload"]: !0
|
|
917
940
|
});
|
|
918
941
|
}, n);
|
|
919
|
-
},
|
|
942
|
+
}, Kt = (e, t) => {
|
|
920
943
|
let n = e != null;
|
|
921
944
|
return [(r) => t[0]({
|
|
922
945
|
lengthComputable: n,
|
|
923
946
|
total: e,
|
|
924
947
|
loaded: r
|
|
925
948
|
}), t[1]];
|
|
926
|
-
},
|
|
949
|
+
}, qt = (e) => (...t) => V.asap(() => e(...t)), Jt = U.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, U.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(new URL(U.origin), U.navigator && /(msie|trident)/i.test(U.navigator.userAgent)) : () => !0, Yt = U.hasStandardBrowserEnv ? {
|
|
927
950
|
write(e, t, n, r, i, a, o) {
|
|
928
951
|
if (typeof document > "u") return;
|
|
929
952
|
let s = [`${e}=${encodeURIComponent(t)}`];
|
|
@@ -945,27 +968,33 @@ var Vt = (e, t, n = 3) => {
|
|
|
945
968
|
remove() {}
|
|
946
969
|
};
|
|
947
970
|
//#endregion
|
|
948
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
949
|
-
function
|
|
971
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
972
|
+
function Xt(e) {
|
|
950
973
|
return typeof e == "string" ? /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e) : !1;
|
|
951
974
|
}
|
|
952
975
|
//#endregion
|
|
953
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
954
|
-
function
|
|
976
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/combineURLs.js
|
|
977
|
+
function Zt(e, t) {
|
|
955
978
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
956
979
|
}
|
|
957
980
|
//#endregion
|
|
958
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
959
|
-
function
|
|
960
|
-
let r = !
|
|
961
|
-
return e && (r || n
|
|
981
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/core/buildFullPath.js
|
|
982
|
+
function Qt(e, t, n) {
|
|
983
|
+
let r = !Xt(t);
|
|
984
|
+
return e && (r || n === !1) ? Zt(e, t) : t;
|
|
962
985
|
}
|
|
963
986
|
//#endregion
|
|
964
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
965
|
-
var
|
|
987
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/core/mergeConfig.js
|
|
988
|
+
var $t = (e) => e instanceof J ? { ...e } : e;
|
|
966
989
|
function X(e, t) {
|
|
967
990
|
t ||= {};
|
|
968
|
-
let n =
|
|
991
|
+
let n = Object.create(null);
|
|
992
|
+
Object.defineProperty(n, "hasOwnProperty", {
|
|
993
|
+
value: Object.prototype.hasOwnProperty,
|
|
994
|
+
enumerable: !1,
|
|
995
|
+
writable: !0,
|
|
996
|
+
configurable: !0
|
|
997
|
+
});
|
|
969
998
|
function r(e, t, n, r) {
|
|
970
999
|
return V.isPlainObject(e) && V.isPlainObject(t) ? V.merge.call({ caseless: r }, e, t) : V.isPlainObject(t) ? V.merge({}, t) : V.isArray(t) ? t.slice() : t;
|
|
971
1000
|
}
|
|
@@ -981,8 +1010,8 @@ function X(e, t) {
|
|
|
981
1010
|
if (!V.isUndefined(e)) return r(void 0, e);
|
|
982
1011
|
}
|
|
983
1012
|
function s(n, i, a) {
|
|
984
|
-
if (a
|
|
985
|
-
if (a
|
|
1013
|
+
if (V.hasOwnProp(t, a)) return r(n, i);
|
|
1014
|
+
if (V.hasOwnProp(e, a)) return r(void 0, n);
|
|
986
1015
|
}
|
|
987
1016
|
let c = {
|
|
988
1017
|
url: a,
|
|
@@ -1011,40 +1040,41 @@ function X(e, t) {
|
|
|
1011
1040
|
httpsAgent: o,
|
|
1012
1041
|
cancelToken: o,
|
|
1013
1042
|
socketPath: o,
|
|
1043
|
+
allowedSocketPaths: o,
|
|
1014
1044
|
responseEncoding: o,
|
|
1015
1045
|
validateStatus: s,
|
|
1016
|
-
headers: (e, t, n) => i(
|
|
1046
|
+
headers: (e, t, n) => i($t(e), $t(t), n, !0)
|
|
1017
1047
|
};
|
|
1018
1048
|
return V.forEach(Object.keys({
|
|
1019
1049
|
...e,
|
|
1020
1050
|
...t
|
|
1021
1051
|
}), function(r) {
|
|
1022
1052
|
if (r === "__proto__" || r === "constructor" || r === "prototype") return;
|
|
1023
|
-
let a = V.hasOwnProp(c, r) ? c[r] : i, o = a(e[r], t[r], r);
|
|
1053
|
+
let a = V.hasOwnProp(c, r) ? c[r] : i, o = a(V.hasOwnProp(e, r) ? e[r] : void 0, V.hasOwnProp(t, r) ? t[r] : void 0, r);
|
|
1024
1054
|
V.isUndefined(o) && a !== s || (n[r] = o);
|
|
1025
1055
|
}), n;
|
|
1026
1056
|
}
|
|
1027
1057
|
//#endregion
|
|
1028
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
1029
|
-
var
|
|
1030
|
-
let t = X({}, e),
|
|
1031
|
-
if (t.headers =
|
|
1032
|
-
if (
|
|
1033
|
-
else if (V.isFunction(
|
|
1034
|
-
let e =
|
|
1058
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/resolveConfig.js
|
|
1059
|
+
var en = (e) => {
|
|
1060
|
+
let t = X({}, e), n = (e) => V.hasOwnProp(t, e) ? t[e] : void 0, r = n("data"), i = n("withXSRFToken"), a = n("xsrfHeaderName"), o = n("xsrfCookieName"), s = n("headers"), c = n("auth"), l = n("baseURL"), u = n("allowAbsoluteUrls"), d = n("url");
|
|
1061
|
+
if (t.headers = s = J.from(s), t.url = pt(Qt(l, d, u), e.params, e.paramsSerializer), c && s.set("Authorization", "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))), V.isFormData(r)) {
|
|
1062
|
+
if (U.hasStandardBrowserEnv || U.hasStandardBrowserWebWorkerEnv) s.setContentType(void 0);
|
|
1063
|
+
else if (V.isFunction(r.getHeaders)) {
|
|
1064
|
+
let e = r.getHeaders(), t = ["content-type", "content-length"];
|
|
1035
1065
|
Object.entries(e).forEach(([e, n]) => {
|
|
1036
|
-
t.includes(e.toLowerCase()) &&
|
|
1066
|
+
t.includes(e.toLowerCase()) && s.set(e, n);
|
|
1037
1067
|
});
|
|
1038
1068
|
}
|
|
1039
1069
|
}
|
|
1040
|
-
if (
|
|
1041
|
-
let e =
|
|
1042
|
-
e &&
|
|
1070
|
+
if (U.hasStandardBrowserEnv && (V.isFunction(i) && (i = i(t)), i === !0 || i == null && Jt(t.url))) {
|
|
1071
|
+
let e = a && o && Yt.read(o);
|
|
1072
|
+
e && s.set(a, e);
|
|
1043
1073
|
}
|
|
1044
1074
|
return t;
|
|
1045
|
-
},
|
|
1075
|
+
}, tn = typeof XMLHttpRequest < "u" && function(e) {
|
|
1046
1076
|
return new Promise(function(t, n) {
|
|
1047
|
-
let r =
|
|
1077
|
+
let r = en(e), i = r.data, a = J.from(r.headers).normalize(), { responseType: o, onUploadProgress: s, onDownloadProgress: c } = r, l, u, d, f, p;
|
|
1048
1078
|
function m() {
|
|
1049
1079
|
f && f(), p && p(), r.cancelToken && r.cancelToken.unsubscribe(l), r.signal && r.signal.removeEventListener("abort", l);
|
|
1050
1080
|
}
|
|
@@ -1053,7 +1083,7 @@ var Xt = (e) => {
|
|
|
1053
1083
|
function g() {
|
|
1054
1084
|
if (!h) return;
|
|
1055
1085
|
let r = J.from("getAllResponseHeaders" in h && h.getAllResponseHeaders());
|
|
1056
|
-
|
|
1086
|
+
Vt(function(e) {
|
|
1057
1087
|
t(e), m();
|
|
1058
1088
|
}, function(e) {
|
|
1059
1089
|
n(e), m();
|
|
@@ -1074,21 +1104,21 @@ var Xt = (e) => {
|
|
|
1074
1104
|
let r = new H(t && t.message ? t.message : "Network Error", H.ERR_NETWORK, e, h);
|
|
1075
1105
|
r.event = t || null, n(r), h = null;
|
|
1076
1106
|
}, h.ontimeout = function() {
|
|
1077
|
-
let t = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded", i = r.transitional ||
|
|
1107
|
+
let t = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded", i = r.transitional || ht;
|
|
1078
1108
|
r.timeoutErrorMessage && (t = r.timeoutErrorMessage), n(new H(t, i.clarifyTimeoutError ? H.ETIMEDOUT : H.ECONNABORTED, e, h)), h = null;
|
|
1079
1109
|
}, i === void 0 && a.setContentType(null), "setRequestHeader" in h && V.forEach(a.toJSON(), function(e, t) {
|
|
1080
1110
|
h.setRequestHeader(t, e);
|
|
1081
|
-
}), V.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), o && o !== "json" && (h.responseType = r.responseType), c && ([d, p] =
|
|
1111
|
+
}), V.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), o && o !== "json" && (h.responseType = r.responseType), c && ([d, p] = Gt(c, !0), h.addEventListener("progress", d)), s && h.upload && ([u, f] = Gt(s), h.upload.addEventListener("progress", u), h.upload.addEventListener("loadend", f)), (r.cancelToken || r.signal) && (l = (t) => {
|
|
1082
1112
|
h &&= (n(!t || t.type ? new Y(null, e, h) : t), h.abort(), null);
|
|
1083
1113
|
}, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
|
|
1084
|
-
let _ =
|
|
1085
|
-
if (_ &&
|
|
1114
|
+
let _ = Ht(r.url);
|
|
1115
|
+
if (_ && U.protocols.indexOf(_) === -1) {
|
|
1086
1116
|
n(new H("Unsupported protocol " + _ + ":", H.ERR_BAD_REQUEST, e));
|
|
1087
1117
|
return;
|
|
1088
1118
|
}
|
|
1089
1119
|
h.send(i || null);
|
|
1090
1120
|
});
|
|
1091
|
-
},
|
|
1121
|
+
}, nn = (e, t) => {
|
|
1092
1122
|
let { length: n } = e = e ? e.filter(Boolean) : [];
|
|
1093
1123
|
if (t || n) {
|
|
1094
1124
|
let n = new AbortController(), r, i = function(e) {
|
|
@@ -1108,7 +1138,7 @@ var Xt = (e) => {
|
|
|
1108
1138
|
let { signal: s } = n;
|
|
1109
1139
|
return s.unsubscribe = () => V.asap(o), s;
|
|
1110
1140
|
}
|
|
1111
|
-
},
|
|
1141
|
+
}, rn = function* (e, t) {
|
|
1112
1142
|
let n = e.byteLength;
|
|
1113
1143
|
if (!t || n < t) {
|
|
1114
1144
|
yield e;
|
|
@@ -1116,9 +1146,9 @@ var Xt = (e) => {
|
|
|
1116
1146
|
}
|
|
1117
1147
|
let r = 0, i;
|
|
1118
1148
|
for (; r < n;) i = r + t, yield e.slice(r, i), r = i;
|
|
1119
|
-
},
|
|
1120
|
-
for await (let n of
|
|
1121
|
-
},
|
|
1149
|
+
}, an = async function* (e, t) {
|
|
1150
|
+
for await (let n of on(e)) yield* rn(n, t);
|
|
1151
|
+
}, on = async function* (e) {
|
|
1122
1152
|
if (e[Symbol.asyncIterator]) {
|
|
1123
1153
|
yield* e;
|
|
1124
1154
|
return;
|
|
@@ -1133,8 +1163,8 @@ var Xt = (e) => {
|
|
|
1133
1163
|
} finally {
|
|
1134
1164
|
await t.cancel();
|
|
1135
1165
|
}
|
|
1136
|
-
},
|
|
1137
|
-
let i =
|
|
1166
|
+
}, sn = (e, t, n, r) => {
|
|
1167
|
+
let i = an(e, t), a = 0, o, s = (e) => {
|
|
1138
1168
|
o || (o = !0, r && r(e));
|
|
1139
1169
|
};
|
|
1140
1170
|
return new ReadableStream({
|
|
@@ -1155,29 +1185,29 @@ var Xt = (e) => {
|
|
|
1155
1185
|
return s(e), i.return();
|
|
1156
1186
|
}
|
|
1157
1187
|
}, { highWaterMark: 2 });
|
|
1158
|
-
},
|
|
1188
|
+
}, cn = 64 * 1024, { isFunction: ln } = V, un = (({ Request: e, Response: t }) => ({
|
|
1159
1189
|
Request: e,
|
|
1160
1190
|
Response: t
|
|
1161
|
-
}))(V.global), { ReadableStream:
|
|
1191
|
+
}))(V.global), { ReadableStream: dn, TextEncoder: fn } = V.global, pn = (e, ...t) => {
|
|
1162
1192
|
try {
|
|
1163
1193
|
return !!e(...t);
|
|
1164
1194
|
} catch {
|
|
1165
1195
|
return !1;
|
|
1166
1196
|
}
|
|
1167
|
-
},
|
|
1168
|
-
e = V.merge.call({ skipUndefined: !0 },
|
|
1169
|
-
let { fetch: t, Request: n, Response: r } = e, i = t ?
|
|
1197
|
+
}, mn = (e) => {
|
|
1198
|
+
e = V.merge.call({ skipUndefined: !0 }, un, e);
|
|
1199
|
+
let { fetch: t, Request: n, Response: r } = e, i = t ? ln(t) : typeof fetch == "function", a = ln(n), o = ln(r);
|
|
1170
1200
|
if (!i) return !1;
|
|
1171
|
-
let s = i &&
|
|
1172
|
-
let e = !1, t = new n(
|
|
1173
|
-
body: new
|
|
1201
|
+
let s = i && ln(dn), c = i && (typeof fn == "function" ? ((e) => (t) => e.encode(t))(new fn()) : async (e) => new Uint8Array(await new n(e).arrayBuffer())), l = a && s && pn(() => {
|
|
1202
|
+
let e = !1, t = new n(U.origin, {
|
|
1203
|
+
body: new dn(),
|
|
1174
1204
|
method: "POST",
|
|
1175
1205
|
get duplex() {
|
|
1176
1206
|
return e = !0, "half";
|
|
1177
1207
|
}
|
|
1178
|
-
}).headers.has("Content-Type");
|
|
1179
|
-
return e && !
|
|
1180
|
-
}), u = o && s &&
|
|
1208
|
+
}), r = t.headers.has("Content-Type");
|
|
1209
|
+
return t.body != null && t.body.cancel(), e && !r;
|
|
1210
|
+
}), u = o && s && pn(() => V.isReadableStream(new r("").body)), d = { stream: u && ((e) => e.body) };
|
|
1181
1211
|
i && [
|
|
1182
1212
|
"text",
|
|
1183
1213
|
"arrayBuffer",
|
|
@@ -1194,7 +1224,7 @@ var Xt = (e) => {
|
|
|
1194
1224
|
let f = async (e) => {
|
|
1195
1225
|
if (e == null) return 0;
|
|
1196
1226
|
if (V.isBlob(e)) return e.size;
|
|
1197
|
-
if (V.isSpecCompliantForm(e)) return (await new n(
|
|
1227
|
+
if (V.isSpecCompliantForm(e)) return (await new n(U.origin, {
|
|
1198
1228
|
method: "POST",
|
|
1199
1229
|
body: e
|
|
1200
1230
|
}).arrayBuffer()).byteLength;
|
|
@@ -1202,36 +1232,41 @@ var Xt = (e) => {
|
|
|
1202
1232
|
if (V.isURLSearchParams(e) && (e += ""), V.isString(e)) return (await c(e)).byteLength;
|
|
1203
1233
|
}, p = async (e, t) => V.toFiniteNumber(e.getContentLength()) ?? f(t);
|
|
1204
1234
|
return async (e) => {
|
|
1205
|
-
let { url: i, method: o, data: s, signal: c, cancelToken: f, timeout: m, onDownloadProgress: h, onUploadProgress: g, responseType: _, headers: v, withCredentials: y = "same-origin", fetchOptions:
|
|
1235
|
+
let { url: i, method: o, data: s, signal: c, cancelToken: f, timeout: m, onDownloadProgress: h, onUploadProgress: g, responseType: _, headers: v, withCredentials: y = "same-origin", fetchOptions: b } = en(e), x = t || fetch;
|
|
1206
1236
|
_ = _ ? (_ + "").toLowerCase() : "text";
|
|
1207
|
-
let
|
|
1208
|
-
|
|
1209
|
-
}),
|
|
1237
|
+
let S = nn([c, f && f.toAbortSignal()], m), C = null, w = S && S.unsubscribe && (() => {
|
|
1238
|
+
S.unsubscribe();
|
|
1239
|
+
}), T;
|
|
1210
1240
|
try {
|
|
1211
|
-
if (g && l && o !== "get" && o !== "head" && (
|
|
1241
|
+
if (g && l && o !== "get" && o !== "head" && (T = await p(v, s)) !== 0) {
|
|
1212
1242
|
let e = new n(i, {
|
|
1213
1243
|
method: "POST",
|
|
1214
1244
|
body: s,
|
|
1215
1245
|
duplex: "half"
|
|
1216
1246
|
}), t;
|
|
1217
1247
|
if (V.isFormData(s) && (t = e.headers.get("content-type")) && v.setContentType(t), e.body) {
|
|
1218
|
-
let [t, n] =
|
|
1219
|
-
s =
|
|
1248
|
+
let [t, n] = Kt(T, Gt(qt(g)));
|
|
1249
|
+
s = sn(e.body, cn, t, n);
|
|
1220
1250
|
}
|
|
1221
1251
|
}
|
|
1222
1252
|
V.isString(y) || (y = y ? "include" : "omit");
|
|
1223
|
-
let t = a && "credentials" in n.prototype
|
|
1224
|
-
|
|
1225
|
-
|
|
1253
|
+
let t = a && "credentials" in n.prototype;
|
|
1254
|
+
if (V.isFormData(s)) {
|
|
1255
|
+
let e = v.getContentType();
|
|
1256
|
+
e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && v.delete("content-type");
|
|
1257
|
+
}
|
|
1258
|
+
let c = {
|
|
1259
|
+
...b,
|
|
1260
|
+
signal: S,
|
|
1226
1261
|
method: o.toUpperCase(),
|
|
1227
1262
|
headers: v.normalize().toJSON(),
|
|
1228
1263
|
body: s,
|
|
1229
1264
|
duplex: "half",
|
|
1230
1265
|
credentials: t ? y : void 0
|
|
1231
1266
|
};
|
|
1232
|
-
|
|
1233
|
-
let f = await (a ?
|
|
1234
|
-
if (u && (h || m &&
|
|
1267
|
+
C = a && new n(i, c);
|
|
1268
|
+
let f = await (a ? x(C, b) : x(i, c)), m = u && (_ === "stream" || _ === "response");
|
|
1269
|
+
if (u && (h || m && w)) {
|
|
1235
1270
|
let e = {};
|
|
1236
1271
|
[
|
|
1237
1272
|
"status",
|
|
@@ -1240,45 +1275,45 @@ var Xt = (e) => {
|
|
|
1240
1275
|
].forEach((t) => {
|
|
1241
1276
|
e[t] = f[t];
|
|
1242
1277
|
});
|
|
1243
|
-
let t = V.toFiniteNumber(f.headers.get("content-length")), [n, i] = h &&
|
|
1244
|
-
f = new r(
|
|
1245
|
-
i && i(),
|
|
1278
|
+
let t = V.toFiniteNumber(f.headers.get("content-length")), [n, i] = h && Kt(t, Gt(qt(h), !0)) || [];
|
|
1279
|
+
f = new r(sn(f.body, cn, n, () => {
|
|
1280
|
+
i && i(), w && w();
|
|
1246
1281
|
}), e);
|
|
1247
1282
|
}
|
|
1248
1283
|
_ ||= "text";
|
|
1249
|
-
let
|
|
1250
|
-
return !m &&
|
|
1251
|
-
|
|
1252
|
-
data:
|
|
1284
|
+
let E = await d[V.findKey(d, _) || "text"](f, e);
|
|
1285
|
+
return !m && w && w(), await new Promise((t, n) => {
|
|
1286
|
+
Vt(t, n, {
|
|
1287
|
+
data: E,
|
|
1253
1288
|
headers: J.from(f.headers),
|
|
1254
1289
|
status: f.status,
|
|
1255
1290
|
statusText: f.statusText,
|
|
1256
1291
|
config: e,
|
|
1257
|
-
request:
|
|
1292
|
+
request: C
|
|
1258
1293
|
});
|
|
1259
1294
|
});
|
|
1260
1295
|
} catch (t) {
|
|
1261
|
-
throw
|
|
1296
|
+
throw w && w(), t && t.name === "TypeError" && /Load failed|fetch/i.test(t.message) ? Object.assign(new H("Network Error", H.ERR_NETWORK, e, C, t && t.response), { cause: t.cause || t }) : H.from(t, t && t.code, e, C, t && t.response);
|
|
1262
1297
|
}
|
|
1263
1298
|
};
|
|
1264
|
-
},
|
|
1299
|
+
}, hn = /* @__PURE__ */ new Map(), gn = (e) => {
|
|
1265
1300
|
let t = e && e.env || {}, { fetch: n, Request: r, Response: i } = t, a = [
|
|
1266
1301
|
r,
|
|
1267
1302
|
i,
|
|
1268
1303
|
n
|
|
1269
|
-
], o = a.length, s, c, l =
|
|
1270
|
-
for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() :
|
|
1304
|
+
], o = a.length, s, c, l = hn;
|
|
1305
|
+
for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : mn(t)), l = c;
|
|
1271
1306
|
return c;
|
|
1272
1307
|
};
|
|
1273
|
-
|
|
1308
|
+
gn();
|
|
1274
1309
|
//#endregion
|
|
1275
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
1276
|
-
var
|
|
1310
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/adapters/adapters.js
|
|
1311
|
+
var _n = {
|
|
1277
1312
|
http: null,
|
|
1278
|
-
xhr:
|
|
1279
|
-
fetch: { get:
|
|
1313
|
+
xhr: tn,
|
|
1314
|
+
fetch: { get: gn }
|
|
1280
1315
|
};
|
|
1281
|
-
V.forEach(
|
|
1316
|
+
V.forEach(_n, (e, t) => {
|
|
1282
1317
|
if (e) {
|
|
1283
1318
|
try {
|
|
1284
1319
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -1286,46 +1321,46 @@ V.forEach(pn, (e, t) => {
|
|
|
1286
1321
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1287
1322
|
}
|
|
1288
1323
|
});
|
|
1289
|
-
var
|
|
1290
|
-
function
|
|
1324
|
+
var vn = (e) => `- ${e}`, yn = (e) => V.isFunction(e) || e === null || e === !1;
|
|
1325
|
+
function bn(e, t) {
|
|
1291
1326
|
e = V.isArray(e) ? e : [e];
|
|
1292
1327
|
let { length: n } = e, r, i, a = {};
|
|
1293
1328
|
for (let o = 0; o < n; o++) {
|
|
1294
1329
|
r = e[o];
|
|
1295
1330
|
let n;
|
|
1296
|
-
if (i = r, !
|
|
1331
|
+
if (i = r, !yn(r) && (i = _n[(n = String(r)).toLowerCase()], i === void 0)) throw new H(`Unknown adapter '${n}'`);
|
|
1297
1332
|
if (i && (V.isFunction(i) || (i = i.get(t)))) break;
|
|
1298
1333
|
a[n || "#" + o] = i;
|
|
1299
1334
|
}
|
|
1300
1335
|
if (!i) {
|
|
1301
1336
|
let e = Object.entries(a).map(([e, t]) => `adapter ${e} ` + (t === !1 ? "is not supported by the environment" : "is not available in the build"));
|
|
1302
|
-
throw new H("There is no suitable adapter to dispatch the request " + (n ? e.length > 1 ? "since :\n" + e.map(
|
|
1337
|
+
throw new H("There is no suitable adapter to dispatch the request " + (n ? e.length > 1 ? "since :\n" + e.map(vn).join("\n") : " " + vn(e[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT");
|
|
1303
1338
|
}
|
|
1304
1339
|
return i;
|
|
1305
1340
|
}
|
|
1306
|
-
var
|
|
1307
|
-
getAdapter:
|
|
1308
|
-
adapters:
|
|
1341
|
+
var xn = {
|
|
1342
|
+
getAdapter: bn,
|
|
1343
|
+
adapters: _n
|
|
1309
1344
|
};
|
|
1310
1345
|
//#endregion
|
|
1311
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
1312
|
-
function
|
|
1346
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/core/dispatchRequest.js
|
|
1347
|
+
function Sn(e) {
|
|
1313
1348
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new Y(null, e);
|
|
1314
1349
|
}
|
|
1315
|
-
function
|
|
1316
|
-
return
|
|
1350
|
+
function Cn(e) {
|
|
1351
|
+
return Sn(e), e.headers = J.from(e.headers), e.data = zt.call(e, e.transformRequest), [
|
|
1317
1352
|
"post",
|
|
1318
1353
|
"put",
|
|
1319
1354
|
"patch"
|
|
1320
|
-
].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1321
|
-
return
|
|
1355
|
+
].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), xn.getAdapter(e.adapter || G.adapter, e)(e).then(function(t) {
|
|
1356
|
+
return Sn(e), t.data = zt.call(e, e.transformResponse, t), t.headers = J.from(t.headers), t;
|
|
1322
1357
|
}, function(t) {
|
|
1323
|
-
return
|
|
1358
|
+
return Bt(t) || (Sn(e), t && t.response && (t.response.data = zt.call(e, e.transformResponse, t.response), t.response.headers = J.from(t.response.headers))), Promise.reject(t);
|
|
1324
1359
|
});
|
|
1325
1360
|
}
|
|
1326
1361
|
//#endregion
|
|
1327
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
1328
|
-
var
|
|
1362
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/env/data.js
|
|
1363
|
+
var wn = "1.15.2", Tn = {};
|
|
1329
1364
|
[
|
|
1330
1365
|
"object",
|
|
1331
1366
|
"boolean",
|
|
@@ -1334,27 +1369,27 @@ var bn = "1.13.6", xn = {};
|
|
|
1334
1369
|
"string",
|
|
1335
1370
|
"symbol"
|
|
1336
1371
|
].forEach((e, t) => {
|
|
1337
|
-
|
|
1372
|
+
Tn[e] = function(n) {
|
|
1338
1373
|
return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1339
1374
|
};
|
|
1340
1375
|
});
|
|
1341
|
-
var
|
|
1342
|
-
|
|
1376
|
+
var En = {};
|
|
1377
|
+
Tn.transitional = function(e, t, n) {
|
|
1343
1378
|
function r(e, t) {
|
|
1344
|
-
return "[Axios v" +
|
|
1379
|
+
return "[Axios v" + wn + "] Transitional option '" + e + "'" + t + (n ? ". " + n : "");
|
|
1345
1380
|
}
|
|
1346
1381
|
return (n, i, a) => {
|
|
1347
1382
|
if (e === !1) throw new H(r(i, " has been removed" + (t ? " in " + t : "")), H.ERR_DEPRECATED);
|
|
1348
|
-
return t && !
|
|
1383
|
+
return t && !En[i] && (En[i] = !0, console.warn(r(i, " has been deprecated since v" + t + " and will be removed in the near future"))), e ? e(n, i, a) : !0;
|
|
1349
1384
|
};
|
|
1350
|
-
},
|
|
1385
|
+
}, Tn.spelling = function(e) {
|
|
1351
1386
|
return (t, n) => (console.warn(`${n} is likely a misspelling of ${e}`), !0);
|
|
1352
1387
|
};
|
|
1353
|
-
function
|
|
1388
|
+
function Dn(e, t, n) {
|
|
1354
1389
|
if (typeof e != "object") throw new H("options must be an object", H.ERR_BAD_OPTION_VALUE);
|
|
1355
1390
|
let r = Object.keys(e), i = r.length;
|
|
1356
1391
|
for (; i-- > 0;) {
|
|
1357
|
-
let a = r[i], o = t[a];
|
|
1392
|
+
let a = r[i], o = Object.prototype.hasOwnProperty.call(t, a) ? t[a] : void 0;
|
|
1358
1393
|
if (o) {
|
|
1359
1394
|
let t = e[a], n = t === void 0 || o(t, a, e);
|
|
1360
1395
|
if (n !== !0) throw new H("option " + a + " must be " + n, H.ERR_BAD_OPTION_VALUE);
|
|
@@ -1363,14 +1398,14 @@ function Cn(e, t, n) {
|
|
|
1363
1398
|
if (n !== !0) throw new H("Unknown option " + a, H.ERR_BAD_OPTION);
|
|
1364
1399
|
}
|
|
1365
1400
|
}
|
|
1366
|
-
var
|
|
1367
|
-
assertOptions:
|
|
1368
|
-
validators:
|
|
1369
|
-
}, Z =
|
|
1401
|
+
var On = {
|
|
1402
|
+
assertOptions: Dn,
|
|
1403
|
+
validators: Tn
|
|
1404
|
+
}, Z = On.validators, Q = class {
|
|
1370
1405
|
constructor(e) {
|
|
1371
1406
|
this.defaults = e || {}, this.interceptors = {
|
|
1372
|
-
request: new
|
|
1373
|
-
response: new
|
|
1407
|
+
request: new mt(),
|
|
1408
|
+
response: new mt()
|
|
1374
1409
|
};
|
|
1375
1410
|
}
|
|
1376
1411
|
async request(e, t) {
|
|
@@ -1380,9 +1415,17 @@ var wn = {
|
|
|
1380
1415
|
if (e instanceof Error) {
|
|
1381
1416
|
let t = {};
|
|
1382
1417
|
Error.captureStackTrace ? Error.captureStackTrace(t) : t = /* @__PURE__ */ Error();
|
|
1383
|
-
let n =
|
|
1418
|
+
let n = (() => {
|
|
1419
|
+
if (!t.stack) return "";
|
|
1420
|
+
let e = t.stack.indexOf("\n");
|
|
1421
|
+
return e === -1 ? "" : t.stack.slice(e + 1);
|
|
1422
|
+
})();
|
|
1384
1423
|
try {
|
|
1385
|
-
|
|
1424
|
+
if (!e.stack) e.stack = n;
|
|
1425
|
+
else if (n) {
|
|
1426
|
+
let t = n.indexOf("\n"), r = t === -1 ? -1 : n.indexOf("\n", t + 1), i = r === -1 ? "" : n.slice(r + 1);
|
|
1427
|
+
String(e.stack).endsWith(i) || (e.stack += "\n" + n);
|
|
1428
|
+
}
|
|
1386
1429
|
} catch {}
|
|
1387
1430
|
}
|
|
1388
1431
|
throw e;
|
|
@@ -1391,15 +1434,15 @@ var wn = {
|
|
|
1391
1434
|
_request(e, t) {
|
|
1392
1435
|
typeof e == "string" ? (t ||= {}, t.url = e) : t = e || {}, t = X(this.defaults, t);
|
|
1393
1436
|
let { transitional: n, paramsSerializer: r, headers: i } = t;
|
|
1394
|
-
n !== void 0 &&
|
|
1437
|
+
n !== void 0 && On.assertOptions(n, {
|
|
1395
1438
|
silentJSONParsing: Z.transitional(Z.boolean),
|
|
1396
1439
|
forcedJSONParsing: Z.transitional(Z.boolean),
|
|
1397
1440
|
clarifyTimeoutError: Z.transitional(Z.boolean),
|
|
1398
1441
|
legacyInterceptorReqResOrdering: Z.transitional(Z.boolean)
|
|
1399
|
-
}, !1), r != null && (V.isFunction(r) ? t.paramsSerializer = { serialize: r } :
|
|
1442
|
+
}, !1), r != null && (V.isFunction(r) ? t.paramsSerializer = { serialize: r } : On.assertOptions(r, {
|
|
1400
1443
|
encode: Z.function,
|
|
1401
1444
|
serialize: Z.function
|
|
1402
|
-
}, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls === void 0 ? t.allowAbsoluteUrls = !0 : t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls),
|
|
1445
|
+
}, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls === void 0 ? t.allowAbsoluteUrls = !0 : t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls), On.assertOptions(t, {
|
|
1403
1446
|
baseUrl: Z.spelling("baseURL"),
|
|
1404
1447
|
withXsrfToken: Z.spelling("withXSRFToken")
|
|
1405
1448
|
}, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -1419,7 +1462,7 @@ var wn = {
|
|
|
1419
1462
|
this.interceptors.request.forEach(function(e) {
|
|
1420
1463
|
if (typeof e.runWhen == "function" && e.runWhen(t) === !1) return;
|
|
1421
1464
|
s &&= e.synchronous;
|
|
1422
|
-
let n = t.transitional ||
|
|
1465
|
+
let n = t.transitional || ht;
|
|
1423
1466
|
n && n.legacyInterceptorReqResOrdering ? o.unshift(e.fulfilled, e.rejected) : o.push(e.fulfilled, e.rejected);
|
|
1424
1467
|
});
|
|
1425
1468
|
let c = [];
|
|
@@ -1428,7 +1471,7 @@ var wn = {
|
|
|
1428
1471
|
});
|
|
1429
1472
|
let l, u = 0, d;
|
|
1430
1473
|
if (!s) {
|
|
1431
|
-
let e = [
|
|
1474
|
+
let e = [Cn.bind(this), void 0];
|
|
1432
1475
|
for (e.unshift(...o), e.push(...c), d = e.length, l = Promise.resolve(t); u < d;) l = l.then(e[u++], e[u++]);
|
|
1433
1476
|
return l;
|
|
1434
1477
|
}
|
|
@@ -1444,7 +1487,7 @@ var wn = {
|
|
|
1444
1487
|
}
|
|
1445
1488
|
}
|
|
1446
1489
|
try {
|
|
1447
|
-
l =
|
|
1490
|
+
l = Cn.call(this, f);
|
|
1448
1491
|
} catch (e) {
|
|
1449
1492
|
return Promise.reject(e);
|
|
1450
1493
|
}
|
|
@@ -1452,7 +1495,7 @@ var wn = {
|
|
|
1452
1495
|
return l;
|
|
1453
1496
|
}
|
|
1454
1497
|
getUri(e) {
|
|
1455
|
-
return e = X(this.defaults, e),
|
|
1498
|
+
return e = X(this.defaults, e), pt(Qt(e.baseURL, e.url, e.allowAbsoluteUrls), e.params, e.paramsSerializer);
|
|
1456
1499
|
}
|
|
1457
1500
|
};
|
|
1458
1501
|
V.forEach([
|
|
@@ -1486,8 +1529,8 @@ V.forEach([
|
|
|
1486
1529
|
Q.prototype[e] = t(), Q.prototype[e + "Form"] = t(!0);
|
|
1487
1530
|
});
|
|
1488
1531
|
//#endregion
|
|
1489
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
1490
|
-
var
|
|
1532
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/cancel/CancelToken.js
|
|
1533
|
+
var kn = class e {
|
|
1491
1534
|
constructor(e) {
|
|
1492
1535
|
if (typeof e != "function") throw TypeError("executor must be a function.");
|
|
1493
1536
|
let t;
|
|
@@ -1543,20 +1586,20 @@ var Tn = class e {
|
|
|
1543
1586
|
}
|
|
1544
1587
|
};
|
|
1545
1588
|
//#endregion
|
|
1546
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
1547
|
-
function
|
|
1589
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/spread.js
|
|
1590
|
+
function An(e) {
|
|
1548
1591
|
return function(t) {
|
|
1549
1592
|
return e.apply(null, t);
|
|
1550
1593
|
};
|
|
1551
1594
|
}
|
|
1552
1595
|
//#endregion
|
|
1553
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
1554
|
-
function
|
|
1596
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/isAxiosError.js
|
|
1597
|
+
function jn(e) {
|
|
1555
1598
|
return V.isObject(e) && e.isAxiosError === !0;
|
|
1556
1599
|
}
|
|
1557
1600
|
//#endregion
|
|
1558
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
1559
|
-
var
|
|
1601
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
1602
|
+
var Mn = {
|
|
1560
1603
|
Continue: 100,
|
|
1561
1604
|
SwitchingProtocols: 101,
|
|
1562
1605
|
Processing: 102,
|
|
@@ -1627,20 +1670,20 @@ var On = {
|
|
|
1627
1670
|
SslHandshakeFailed: 525,
|
|
1628
1671
|
InvalidSslCertificate: 526
|
|
1629
1672
|
};
|
|
1630
|
-
Object.entries(
|
|
1631
|
-
|
|
1673
|
+
Object.entries(Mn).forEach(([e, t]) => {
|
|
1674
|
+
Mn[t] = e;
|
|
1632
1675
|
});
|
|
1633
1676
|
//#endregion
|
|
1634
|
-
//#region ../../node_modules/.pnpm/axios@1.
|
|
1635
|
-
function
|
|
1636
|
-
let t = new Q(e), n =
|
|
1677
|
+
//#region ../../node_modules/.pnpm/axios@1.15.2/node_modules/axios/lib/axios.js
|
|
1678
|
+
function Nn(e) {
|
|
1679
|
+
let t = new Q(e), n = re(Q.prototype.request, t);
|
|
1637
1680
|
return V.extend(n, Q.prototype, t, { allOwnKeys: !0 }), V.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(t) {
|
|
1638
|
-
return
|
|
1681
|
+
return Nn(X(e, t));
|
|
1639
1682
|
}, n;
|
|
1640
1683
|
}
|
|
1641
|
-
var $ =
|
|
1642
|
-
$.Axios = Q, $.CanceledError = Y, $.CancelToken =
|
|
1684
|
+
var $ = Nn(G);
|
|
1685
|
+
$.Axios = Q, $.CanceledError = Y, $.CancelToken = kn, $.isCancel = Bt, $.VERSION = wn, $.toFormData = ct, $.AxiosError = H, $.Cancel = $.CanceledError, $.all = function(e) {
|
|
1643
1686
|
return Promise.all(e);
|
|
1644
|
-
}, $.spread =
|
|
1687
|
+
}, $.spread = An, $.isAxiosError = jn, $.mergeConfig = X, $.AxiosHeaders = J, $.formToJSON = (e) => Et(V.isHTMLForm(e) ? new FormData(e) : e), $.getAdapter = xn.getAdapter, $.HttpStatusCode = Mn, $.default = $;
|
|
1645
1688
|
//#endregion
|
|
1646
|
-
export { f as a, l as i,
|
|
1689
|
+
export { f as a, l as i, ne as n, te as r, $ as t };
|