@das-fed/upf-utils 6.4.0-dev.227 → 6.4.0-dev.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-services/es5.js +1082 -1077
- package/api-services/index.js +846 -842
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/es5.js +1418 -1403
- package/api-services/modules/app-manage/index.js +1198 -1180
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/es5.js +161 -158
- package/api-services/modules/authentication/index.js +138 -138
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/es5.js +1180 -1165
- package/api-services/modules/bems/index.js +976 -958
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/es5.js +702 -699
- package/api-services/modules/contract/index.js +619 -619
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/es5.js +1389 -1374
- package/api-services/modules/duty-manage/index.js +1180 -1162
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/es5.js +1174 -1159
- package/api-services/modules/enterpriseright/index.js +971 -953
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/es5.js +1337 -1346
- package/api-services/modules/file/es5.js +1222 -1231
- package/api-services/modules/file/index.js +987 -1005
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/es5.js +1384 -1391
- package/api-services/modules/gateway-edge/index.js +1165 -1179
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1046 -1064
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/es5.js +1206 -1191
- package/api-services/modules/iot/index.js +1006 -988
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/es5.js +1148 -1133
- package/api-services/modules/justauth/index.js +954 -936
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/es5.js +1157 -1163
- package/api-services/modules/knowledge/index.js +955 -969
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/es5.js +1384 -1393
- package/api-services/modules/link/index.js +1165 -1183
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/es5.js +1157 -1163
- package/api-services/modules/permission/index.js +955 -969
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/es5.js +171 -168
- package/api-services/modules/platformManage/index.js +150 -150
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/es5.js +235 -232
- package/api-services/modules/portal/index.js +209 -209
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/es5.js +919 -913
- package/api-services/modules/space-manage/index.js +728 -724
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/es5.js +1117 -1126
- package/api-services/modules/super-admin/index.js +916 -934
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/es5.js +165 -162
- package/api-services/modules/supplier/index.js +141 -141
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/es5.js +1134 -1143
- package/api-services/modules/supplychain-manage/index.js +932 -950
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/es5.js +1145 -1133
- package/api-services/modules/systemConfiguration/index.js +948 -934
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/es5.js +1174 -1159
- package/api-services/modules/tool/index.js +971 -953
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/es5.js +1390 -1397
- package/api-services/src/create-service/index.js +1164 -1178
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/es5.js +1635 -1596
- package/common-info/getPermissionMethod/es5.js +1160 -1148
- package/common-info/getPermissionMethod/index.js +956 -942
- package/common-info/getPermissionMethod/index.js.gz +0 -0
- package/common-info/index.d.ts +9 -2
- package/common-info/index.js +1417 -1397
- package/common-info/index.js.gz +0 -0
- package/create-api-service/es5.js +165 -161
- package/create-api-service/index.d.ts +6 -6
- package/create-api-service/index.js +151 -150
- package/create-api-service/index.js.gz +0 -0
- package/directive/auth/es5.js +49 -56
- package/directive/auth/index.js +33 -41
- package/directive/auth/index.js.gz +0 -0
- package/esm-map.json +4 -1
- package/hooks/use-get-auth/es5.js +57 -191
- package/hooks/use-get-auth/index.d.ts +2 -7
- package/hooks/use-get-auth/index.js +16 -50
- package/package.json +3 -3
- package/hooks/use-get-auth/apis.d.ts +0 -4
- package/hooks/use-get-auth/index.js.gz +0 -0
|
@@ -43,7 +43,7 @@ const yo = Ze("string"), $ = Ze("function"), nn = Ze("number"), xe = (t) => t !=
|
|
|
43
43
|
return t && (typeof FormData == "function" && t instanceof FormData || $(t.append) && ((e = Xe(t)) === "formdata" || // detect form-data instance
|
|
44
44
|
e === "object" && $(t.toString) && t.toString() === "[object FormData]"));
|
|
45
45
|
}, Oo = q("URLSearchParams"), [Ao, Ro, Po, To] = ["ReadableStream", "Request", "Response", "Headers"].map(q), xo = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
46
|
-
function
|
|
46
|
+
function Ce(t, e, { allOwnKeys: r = !1 } = {}) {
|
|
47
47
|
if (t === null || typeof t > "u")
|
|
48
48
|
return;
|
|
49
49
|
let n, o;
|
|
@@ -77,12 +77,12 @@ function Ft() {
|
|
|
77
77
|
Me(r[a]) && Me(o) ? r[a] = Ft(r[a], o) : Me(o) ? r[a] = Ft({}, o) : he(o) ? r[a] = o.slice() : (!e || !pe(o)) && (r[a] = o);
|
|
78
78
|
};
|
|
79
79
|
for (let o = 0, i = arguments.length; o < i; o++)
|
|
80
|
-
arguments[o] &&
|
|
80
|
+
arguments[o] && Ce(arguments[o], n);
|
|
81
81
|
return r;
|
|
82
82
|
}
|
|
83
|
-
const
|
|
83
|
+
const Co = (t, e, r, { allOwnKeys: n } = {}) => (Ce(e, (o, i) => {
|
|
84
84
|
r && $(o) ? t[i] = en(o, r) : t[i] = o;
|
|
85
|
-
}, { allOwnKeys: n }), t),
|
|
85
|
+
}, { allOwnKeys: n }), t), _o = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Fo = (t, e, r, n) => {
|
|
86
86
|
t.prototype = Object.create(e.prototype, n), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
87
87
|
value: e.prototype
|
|
88
88
|
}), r && Object.assign(t.prototype, r);
|
|
@@ -129,7 +129,7 @@ const _o = (t, e, r, { allOwnKeys: n } = {}) => (_e(e, (o, i) => {
|
|
|
129
129
|
}
|
|
130
130
|
), rr = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), ko = q("RegExp"), sn = (t, e) => {
|
|
131
131
|
const r = Object.getOwnPropertyDescriptors(t), n = {};
|
|
132
|
-
|
|
132
|
+
Ce(r, (o, i) => {
|
|
133
133
|
let a;
|
|
134
134
|
(a = e(o, i, t)) !== !1 && (n[i] = a || o);
|
|
135
135
|
}), Object.defineProperties(t, n);
|
|
@@ -156,8 +156,8 @@ const _o = (t, e, r, { allOwnKeys: n } = {}) => (_e(e, (o, i) => {
|
|
|
156
156
|
};
|
|
157
157
|
return he(t) ? n(t) : n(String(t).split(e)), r;
|
|
158
158
|
}, Ho = () => {
|
|
159
|
-
},
|
|
160
|
-
function
|
|
159
|
+
}, zo = (t, e) => t != null && Number.isFinite(t = +t) ? t : e;
|
|
160
|
+
function Wo(t) {
|
|
161
161
|
return !!(t && $(t.append) && t[tn] === "FormData" && t[Qe]);
|
|
162
162
|
}
|
|
163
163
|
const Go = (t) => {
|
|
@@ -170,7 +170,7 @@ const Go = (t) => {
|
|
|
170
170
|
if (!("toJSON" in n)) {
|
|
171
171
|
e[o] = n;
|
|
172
172
|
const i = he(n) ? [] : {};
|
|
173
|
-
return
|
|
173
|
+
return Ce(n, (a, s) => {
|
|
174
174
|
const u = r(a, o + 1);
|
|
175
175
|
!pe(u) && (i[s] = u);
|
|
176
176
|
}), e[o] = void 0, i;
|
|
@@ -212,11 +212,11 @@ const Go = (t) => {
|
|
|
212
212
|
isURLSearchParams: Oo,
|
|
213
213
|
isTypedArray: Do,
|
|
214
214
|
isFileList: bo,
|
|
215
|
-
forEach:
|
|
215
|
+
forEach: Ce,
|
|
216
216
|
merge: Ft,
|
|
217
|
-
extend:
|
|
217
|
+
extend: Co,
|
|
218
218
|
trim: xo,
|
|
219
|
-
stripBOM:
|
|
219
|
+
stripBOM: _o,
|
|
220
220
|
inherits: Fo,
|
|
221
221
|
toFlatObject: No,
|
|
222
222
|
kindOf: Xe,
|
|
@@ -234,11 +234,11 @@ const Go = (t) => {
|
|
|
234
234
|
toObjectSet: jo,
|
|
235
235
|
toCamelCase: Mo,
|
|
236
236
|
noop: Ho,
|
|
237
|
-
toFiniteNumber:
|
|
237
|
+
toFiniteNumber: zo,
|
|
238
238
|
findKey: on,
|
|
239
239
|
global: ee,
|
|
240
240
|
isContextDefined: an,
|
|
241
|
-
isSpecCompliantForm:
|
|
241
|
+
isSpecCompliantForm: Wo,
|
|
242
242
|
toJSONObject: Go,
|
|
243
243
|
isAsyncFn: Jo,
|
|
244
244
|
isThenable: Vo,
|
|
@@ -364,14 +364,14 @@ function Ye(t, e, r) {
|
|
|
364
364
|
if (!f.isUndefined(d)) {
|
|
365
365
|
if (p.indexOf(d) !== -1)
|
|
366
366
|
throw Error("Circular reference detected in " + m.join("."));
|
|
367
|
-
p.push(d), f.forEach(d, function(b,
|
|
367
|
+
p.push(d), f.forEach(d, function(b, O) {
|
|
368
368
|
(!(f.isUndefined(b) || b === null) && o.call(
|
|
369
369
|
e,
|
|
370
370
|
b,
|
|
371
|
-
f.isString(
|
|
371
|
+
f.isString(O) ? O.trim() : O,
|
|
372
372
|
m,
|
|
373
373
|
y
|
|
374
|
-
)) === !0 && v(b, m ? m.concat(
|
|
374
|
+
)) === !0 && v(b, m ? m.concat(O) : [O]);
|
|
375
375
|
}), p.pop();
|
|
376
376
|
}
|
|
377
377
|
}
|
|
@@ -393,10 +393,10 @@ function or(t) {
|
|
|
393
393
|
return e[n];
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function zt(t, e) {
|
|
397
397
|
this._pairs = [], t && Ye(t, this, e);
|
|
398
398
|
}
|
|
399
|
-
const pn =
|
|
399
|
+
const pn = zt.prototype;
|
|
400
400
|
pn.append = function(e, r) {
|
|
401
401
|
this._pairs.push([e, r]);
|
|
402
402
|
};
|
|
@@ -420,7 +420,7 @@ function dn(t, e, r) {
|
|
|
420
420
|
});
|
|
421
421
|
const o = r && r.serialize;
|
|
422
422
|
let i;
|
|
423
|
-
if (o ? i = o(e, r) : i = f.isURLSearchParams(e) ? e.toString() : new
|
|
423
|
+
if (o ? i = o(e, r) : i = f.isURLSearchParams(e) ? e.toString() : new zt(e, r).toString(n), i) {
|
|
424
424
|
const a = t.indexOf("#");
|
|
425
425
|
a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + i;
|
|
426
426
|
}
|
|
@@ -484,7 +484,7 @@ const yn = {
|
|
|
484
484
|
silentJSONParsing: !0,
|
|
485
485
|
forcedJSONParsing: !0,
|
|
486
486
|
clarifyTimeoutError: !1
|
|
487
|
-
}, ti = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
487
|
+
}, ti = typeof URLSearchParams < "u" ? URLSearchParams : zt, ri = typeof FormData < "u" ? FormData : null, ni = typeof Blob < "u" ? Blob : null, oi = {
|
|
488
488
|
isBrowser: !0,
|
|
489
489
|
classes: {
|
|
490
490
|
URLSearchParams: ti,
|
|
@@ -492,10 +492,10 @@ const yn = {
|
|
|
492
492
|
Blob: ni
|
|
493
493
|
},
|
|
494
494
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
495
|
-
},
|
|
496
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", si =
|
|
495
|
+
}, Wt = typeof window < "u" && typeof document < "u", It = typeof navigator == "object" && navigator || void 0, ii = Wt && (!It || ["ReactNative", "NativeScript", "NS"].indexOf(It.product) < 0), ai = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
496
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", si = Wt && window.location.href || "http://localhost", li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
497
497
|
__proto__: null,
|
|
498
|
-
hasBrowserEnv:
|
|
498
|
+
hasBrowserEnv: Wt,
|
|
499
499
|
hasStandardBrowserEnv: ii,
|
|
500
500
|
hasStandardBrowserWebWorkerEnv: ai,
|
|
501
501
|
navigator: It,
|
|
@@ -549,7 +549,7 @@ function pi(t, e, r) {
|
|
|
549
549
|
}
|
|
550
550
|
return (r || JSON.stringify)(t);
|
|
551
551
|
}
|
|
552
|
-
const
|
|
552
|
+
const _e = {
|
|
553
553
|
transitional: yn,
|
|
554
554
|
adapter: ["xhr", "http", "fetch"],
|
|
555
555
|
transformRequest: [function(e, r) {
|
|
@@ -578,7 +578,7 @@ const Ce = {
|
|
|
578
578
|
return i || o ? (r.setContentType("application/json", !1), pi(e)) : e;
|
|
579
579
|
}],
|
|
580
580
|
transformResponse: [function(e) {
|
|
581
|
-
const r = this.transitional ||
|
|
581
|
+
const r = this.transitional || _e.transitional, n = r && r.forcedJSONParsing, o = this.responseType === "json";
|
|
582
582
|
if (f.isResponse(e) || f.isReadableStream(e))
|
|
583
583
|
return e;
|
|
584
584
|
if (e && f.isString(e) && (n && !this.responseType || o)) {
|
|
@@ -616,7 +616,7 @@ const Ce = {
|
|
|
616
616
|
}
|
|
617
617
|
};
|
|
618
618
|
f.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
|
|
619
|
-
|
|
619
|
+
_e.headers[t] = {};
|
|
620
620
|
});
|
|
621
621
|
const di = f.toObjectSet([
|
|
622
622
|
"age",
|
|
@@ -820,7 +820,7 @@ f.reduceDescriptors(D.prototype, ({ value: t }, e) => {
|
|
|
820
820
|
});
|
|
821
821
|
f.freezeMethods(D);
|
|
822
822
|
function st(t, e) {
|
|
823
|
-
const r = this ||
|
|
823
|
+
const r = this || _e, n = e || r, o = D.from(n.headers);
|
|
824
824
|
let i = n.data;
|
|
825
825
|
return f.forEach(t, function(s) {
|
|
826
826
|
i = s.call(r, i, o.normalize(), e ? e.status : void 0);
|
|
@@ -877,7 +877,7 @@ function Si(t, e) {
|
|
|
877
877
|
}, n - p)));
|
|
878
878
|
}, () => o && a(o)];
|
|
879
879
|
}
|
|
880
|
-
const
|
|
880
|
+
const We = (t, e, r = 3) => {
|
|
881
881
|
let n = 0;
|
|
882
882
|
const o = bi(50, 250);
|
|
883
883
|
return Si((i) => {
|
|
@@ -1047,7 +1047,7 @@ const wn = (t) => {
|
|
|
1047
1047
|
return;
|
|
1048
1048
|
const g = D.from(
|
|
1049
1049
|
"getAllResponseHeaders" in h && h.getAllResponseHeaders()
|
|
1050
|
-
),
|
|
1050
|
+
), P = {
|
|
1051
1051
|
data: !s || s === "text" || s === "json" ? h.responseText : h.response,
|
|
1052
1052
|
status: h.status,
|
|
1053
1053
|
statusText: h.statusText,
|
|
@@ -1059,32 +1059,32 @@ const wn = (t) => {
|
|
|
1059
1059
|
r(T), m();
|
|
1060
1060
|
}, function(T) {
|
|
1061
1061
|
n(T), m();
|
|
1062
|
-
},
|
|
1062
|
+
}, P), h = null;
|
|
1063
1063
|
}
|
|
1064
1064
|
"onloadend" in h ? h.onloadend = b : h.onreadystatechange = function() {
|
|
1065
1065
|
!h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(b);
|
|
1066
1066
|
}, h.onabort = function() {
|
|
1067
1067
|
h && (n(new w("Request aborted", w.ECONNABORTED, t, h)), h = null);
|
|
1068
1068
|
}, h.onerror = function(E) {
|
|
1069
|
-
const
|
|
1069
|
+
const P = E && E.message ? E.message : "Network Error", U = new w(P, w.ERR_NETWORK, t, h);
|
|
1070
1070
|
U.event = E || null, n(U), h = null;
|
|
1071
1071
|
}, h.ontimeout = function() {
|
|
1072
1072
|
let E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
1073
|
-
const
|
|
1073
|
+
const P = o.transitional || yn;
|
|
1074
1074
|
o.timeoutErrorMessage && (E = o.timeoutErrorMessage), n(new w(
|
|
1075
1075
|
E,
|
|
1076
|
-
|
|
1076
|
+
P.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
|
|
1077
1077
|
t,
|
|
1078
1078
|
h
|
|
1079
1079
|
)), h = null;
|
|
1080
|
-
}, i === void 0 && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function(E,
|
|
1081
|
-
h.setRequestHeader(
|
|
1082
|
-
}), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && ([y, d] =
|
|
1080
|
+
}, i === void 0 && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function(E, P) {
|
|
1081
|
+
h.setRequestHeader(P, E);
|
|
1082
|
+
}), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && ([y, d] = We(c, !0), h.addEventListener("progress", y)), u && h.upload && ([p, v] = We(u), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = (g) => {
|
|
1083
1083
|
h && (n(!g || g.type ? new me(null, t, h) : g), h.abort(), h = null);
|
|
1084
1084
|
}, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
|
|
1085
|
-
const
|
|
1086
|
-
if (
|
|
1087
|
-
n(new w("Unsupported protocol " +
|
|
1085
|
+
const O = wi(o.url);
|
|
1086
|
+
if (O && I.protocols.indexOf(O) === -1) {
|
|
1087
|
+
n(new w("Unsupported protocol " + O + ":", w.ERR_BAD_REQUEST, t));
|
|
1088
1088
|
return;
|
|
1089
1089
|
}
|
|
1090
1090
|
h.send(i || null);
|
|
@@ -1112,7 +1112,7 @@ const wn = (t) => {
|
|
|
1112
1112
|
const { signal: u } = n;
|
|
1113
1113
|
return u.unsubscribe = () => f.asap(s), u;
|
|
1114
1114
|
}
|
|
1115
|
-
},
|
|
1115
|
+
}, Ci = function* (t, e) {
|
|
1116
1116
|
let r = t.byteLength;
|
|
1117
1117
|
if (r < e) {
|
|
1118
1118
|
yield t;
|
|
@@ -1121,9 +1121,9 @@ const wn = (t) => {
|
|
|
1121
1121
|
let n = 0, o;
|
|
1122
1122
|
for (; n < r; )
|
|
1123
1123
|
o = n + e, yield t.slice(n, o), n = o;
|
|
1124
|
-
},
|
|
1124
|
+
}, _i = async function* (t, e) {
|
|
1125
1125
|
for await (const r of Fi(t))
|
|
1126
|
-
yield*
|
|
1126
|
+
yield* Ci(r, e);
|
|
1127
1127
|
}, Fi = async function* (t) {
|
|
1128
1128
|
if (t[Symbol.asyncIterator]) {
|
|
1129
1129
|
yield* t;
|
|
@@ -1141,7 +1141,7 @@ const wn = (t) => {
|
|
|
1141
1141
|
await e.cancel();
|
|
1142
1142
|
}
|
|
1143
1143
|
}, ur = (t, e, r, n) => {
|
|
1144
|
-
const o =
|
|
1144
|
+
const o = _i(t, e);
|
|
1145
1145
|
let i = 0, a, s = (u) => {
|
|
1146
1146
|
a || (a = !0, n && n(u));
|
|
1147
1147
|
};
|
|
@@ -1232,10 +1232,10 @@ const wn = (t) => {
|
|
|
1232
1232
|
url: m,
|
|
1233
1233
|
method: h,
|
|
1234
1234
|
data: b,
|
|
1235
|
-
signal:
|
|
1235
|
+
signal: O,
|
|
1236
1236
|
cancelToken: g,
|
|
1237
1237
|
timeout: E,
|
|
1238
|
-
onDownloadProgress:
|
|
1238
|
+
onDownloadProgress: P,
|
|
1239
1239
|
onUploadProgress: U,
|
|
1240
1240
|
responseType: T,
|
|
1241
1241
|
headers: V,
|
|
@@ -1243,7 +1243,7 @@ const wn = (t) => {
|
|
|
1243
1243
|
fetchOptions: M
|
|
1244
1244
|
} = wn(d), Z = e || fetch;
|
|
1245
1245
|
T = T ? (T + "").toLowerCase() : "text";
|
|
1246
|
-
let k = xi([
|
|
1246
|
+
let k = xi([O, g && g.toAbortSignal()], E), _ = null;
|
|
1247
1247
|
const F = k && k.unsubscribe && (() => {
|
|
1248
1248
|
k.unsubscribe();
|
|
1249
1249
|
});
|
|
@@ -1258,7 +1258,7 @@ const wn = (t) => {
|
|
|
1258
1258
|
if (f.isFormData(b) && (se = K.headers.get("content-type")) && V.setContentType(se), K.body) {
|
|
1259
1259
|
const [it, $e] = sr(
|
|
1260
1260
|
B,
|
|
1261
|
-
|
|
1261
|
+
We(lr(U))
|
|
1262
1262
|
);
|
|
1263
1263
|
b = ur(K.body, fr, it, $e);
|
|
1264
1264
|
}
|
|
@@ -1273,17 +1273,17 @@ const wn = (t) => {
|
|
|
1273
1273
|
duplex: "half",
|
|
1274
1274
|
credentials: N ? L : void 0
|
|
1275
1275
|
};
|
|
1276
|
-
|
|
1277
|
-
let j = await (i ? Z(
|
|
1276
|
+
_ = i && new r(m, ae);
|
|
1277
|
+
let j = await (i ? Z(_, M) : Z(m, ae));
|
|
1278
1278
|
const ve = l && (T === "stream" || T === "response");
|
|
1279
|
-
if (l && (
|
|
1279
|
+
if (l && (P || ve && F)) {
|
|
1280
1280
|
const K = {};
|
|
1281
1281
|
["status", "statusText", "headers"].forEach((tr) => {
|
|
1282
1282
|
K[tr] = j[tr];
|
|
1283
1283
|
});
|
|
1284
|
-
const se = f.toFiniteNumber(j.headers.get("content-length")), [it, $e] =
|
|
1284
|
+
const se = f.toFiniteNumber(j.headers.get("content-length")), [it, $e] = P && sr(
|
|
1285
1285
|
se,
|
|
1286
|
-
|
|
1286
|
+
We(lr(P), !0)
|
|
1287
1287
|
) || [];
|
|
1288
1288
|
j = new n(
|
|
1289
1289
|
ur(j.body, fr, it, () => {
|
|
@@ -1301,16 +1301,16 @@ const wn = (t) => {
|
|
|
1301
1301
|
status: j.status,
|
|
1302
1302
|
statusText: j.statusText,
|
|
1303
1303
|
config: d,
|
|
1304
|
-
request:
|
|
1304
|
+
request: _
|
|
1305
1305
|
});
|
|
1306
1306
|
});
|
|
1307
1307
|
} catch (N) {
|
|
1308
1308
|
throw F && F(), N && N.name === "TypeError" && /Load failed|fetch/i.test(N.message) ? Object.assign(
|
|
1309
|
-
new w("Network Error", w.ERR_NETWORK, d,
|
|
1309
|
+
new w("Network Error", w.ERR_NETWORK, d, _),
|
|
1310
1310
|
{
|
|
1311
1311
|
cause: N.cause || N
|
|
1312
1312
|
}
|
|
1313
|
-
) : w.from(N, N && N.code, d,
|
|
1313
|
+
) : w.from(N, N && N.code, d, _);
|
|
1314
1314
|
}
|
|
1315
1315
|
};
|
|
1316
1316
|
}, $i = /* @__PURE__ */ new Map(), bn = (t) => {
|
|
@@ -1391,7 +1391,7 @@ function mr(t) {
|
|
|
1391
1391
|
return lt(t), t.headers = D.from(t.headers), t.data = st.call(
|
|
1392
1392
|
t,
|
|
1393
1393
|
t.transformRequest
|
|
1394
|
-
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Sn.getAdapter(t.adapter ||
|
|
1394
|
+
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Sn.getAdapter(t.adapter || _e.adapter, t)(t).then(function(n) {
|
|
1395
1395
|
return lt(t), n.data = st.call(
|
|
1396
1396
|
t,
|
|
1397
1397
|
t.transformResponse,
|
|
@@ -1734,26 +1734,26 @@ function On(t) {
|
|
|
1734
1734
|
return On(ne(t, o));
|
|
1735
1735
|
}, r;
|
|
1736
1736
|
}
|
|
1737
|
-
const
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1737
|
+
const R = On(_e);
|
|
1738
|
+
R.Axios = te;
|
|
1739
|
+
R.CanceledError = me;
|
|
1740
|
+
R.CancelToken = Jt;
|
|
1741
|
+
R.isCancel = mn;
|
|
1742
|
+
R.VERSION = En;
|
|
1743
|
+
R.toFormData = Ye;
|
|
1744
|
+
R.AxiosError = w;
|
|
1745
|
+
R.Cancel = R.CanceledError;
|
|
1746
|
+
R.all = function(e) {
|
|
1747
1747
|
return Promise.all(e);
|
|
1748
1748
|
};
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1749
|
+
R.spread = Bi;
|
|
1750
|
+
R.isAxiosError = Mi;
|
|
1751
|
+
R.mergeConfig = ne;
|
|
1752
|
+
R.AxiosHeaders = D;
|
|
1753
|
+
R.formToJSON = (t) => hn(f.isHTMLForm(t) ? new FormData(t) : t);
|
|
1754
|
+
R.getAdapter = Sn.getAdapter;
|
|
1755
|
+
R.HttpStatusCode = $t;
|
|
1756
|
+
R.default = R;
|
|
1757
1757
|
var vr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1758
1758
|
function ki(t) {
|
|
1759
1759
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
@@ -1781,8 +1781,8 @@ var ge = TypeError;
|
|
|
1781
1781
|
const ji = {}, Hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1782
1782
|
__proto__: null,
|
|
1783
1783
|
default: ji
|
|
1784
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1785
|
-
var Vt = typeof Map == "function" && Map.prototype, ct = Object.getOwnPropertyDescriptor && Vt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ge = Vt && ct && typeof ct.get == "function" ? ct.get : null, wr = Vt && Map.prototype.forEach, Kt = typeof Set == "function" && Set.prototype, ut = Object.getOwnPropertyDescriptor && Kt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Je = Kt && ut && typeof ut.get == "function" ? ut.get : null, br = Kt && Set.prototype.forEach,
|
|
1784
|
+
}, Symbol.toStringTag, { value: "Module" })), zi = /* @__PURE__ */ qi(Hi);
|
|
1785
|
+
var Vt = typeof Map == "function" && Map.prototype, ct = Object.getOwnPropertyDescriptor && Vt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ge = Vt && ct && typeof ct.get == "function" ? ct.get : null, wr = Vt && Map.prototype.forEach, Kt = typeof Set == "function" && Set.prototype, ut = Object.getOwnPropertyDescriptor && Kt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Je = Kt && ut && typeof ut.get == "function" ? ut.get : null, br = Kt && Set.prototype.forEach, Wi = typeof WeakMap == "function" && WeakMap.prototype, Ee = Wi ? WeakMap.prototype.has : null, Gi = typeof WeakSet == "function" && WeakSet.prototype, Oe = Gi ? WeakSet.prototype.has : null, Ji = typeof WeakRef == "function" && WeakRef.prototype, Sr = Ji ? WeakRef.prototype.deref : null, Vi = Boolean.prototype.valueOf, Ki = Object.prototype.toString, Qi = Function.prototype.toString, Xi = String.prototype.match, Qt = String.prototype.slice, Q = String.prototype.replace, Zi = String.prototype.toUpperCase, Er = String.prototype.toLowerCase, An = RegExp.prototype.test, Or = Array.prototype.concat, G = Array.prototype.join, Yi = Array.prototype.slice, Ar = Math.floor, Dt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, ft = Object.getOwnPropertySymbols, Ut = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, de = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ae = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === de || !0) ? Symbol.toStringTag : null, Rn = Object.prototype.propertyIsEnumerable, Rr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
|
|
1786
1786
|
return t.__proto__;
|
|
1787
1787
|
} : null);
|
|
1788
1788
|
function Pr(t, e) {
|
|
@@ -1798,7 +1798,7 @@ function Pr(t, e) {
|
|
|
1798
1798
|
}
|
|
1799
1799
|
return Q.call(e, r, "$&_");
|
|
1800
1800
|
}
|
|
1801
|
-
var Lt =
|
|
1801
|
+
var Lt = zi, Tr = Lt.custom, xr = xn(Tr) ? Tr : null, Pn = {
|
|
1802
1802
|
__proto__: null,
|
|
1803
1803
|
double: '"',
|
|
1804
1804
|
single: "'"
|
|
@@ -1827,7 +1827,7 @@ var Lt = Wi, Tr = Lt.custom, xr = xn(Tr) ? Tr : null, Pn = {
|
|
|
1827
1827
|
if (typeof e == "boolean")
|
|
1828
1828
|
return e ? "true" : "false";
|
|
1829
1829
|
if (typeof e == "string")
|
|
1830
|
-
return
|
|
1830
|
+
return _n(e, i);
|
|
1831
1831
|
if (typeof e == "number") {
|
|
1832
1832
|
if (e === 0)
|
|
1833
1833
|
return 1 / 0 / e > 0 ? "0" : "-0";
|
|
@@ -1844,18 +1844,18 @@ var Lt = Wi, Tr = Lt.custom, xr = xn(Tr) ? Tr : null, Pn = {
|
|
|
1844
1844
|
var p = va(i, n);
|
|
1845
1845
|
if (typeof o > "u")
|
|
1846
1846
|
o = [];
|
|
1847
|
-
else if (
|
|
1847
|
+
else if (Cn(o, e) >= 0)
|
|
1848
1848
|
return "[Circular]";
|
|
1849
|
-
function y(
|
|
1849
|
+
function y(_, F, B) {
|
|
1850
1850
|
if (F && (o = Yi.call(o), o.push(F)), B) {
|
|
1851
1851
|
var N = {
|
|
1852
1852
|
depth: i.depth
|
|
1853
1853
|
};
|
|
1854
|
-
return J(i, "quoteStyle") && (N.quoteStyle = i.quoteStyle), t(
|
|
1854
|
+
return J(i, "quoteStyle") && (N.quoteStyle = i.quoteStyle), t(_, N, n + 1, o);
|
|
1855
1855
|
}
|
|
1856
|
-
return t(
|
|
1856
|
+
return t(_, i, n + 1, o);
|
|
1857
1857
|
}
|
|
1858
|
-
if (typeof e == "function" && !
|
|
1858
|
+
if (typeof e == "function" && !Cr(e)) {
|
|
1859
1859
|
var v = ca(e), d = Ue(e, y);
|
|
1860
1860
|
return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (d.length > 0 ? " { " + G.call(d, ", ") + " }" : "");
|
|
1861
1861
|
}
|
|
@@ -1864,8 +1864,8 @@ var Lt = Wi, Tr = Lt.custom, xr = xn(Tr) ? Tr : null, Pn = {
|
|
|
1864
1864
|
return typeof e == "object" && !de ? Se(m) : m;
|
|
1865
1865
|
}
|
|
1866
1866
|
if (ha(e)) {
|
|
1867
|
-
for (var h = "<" + Er.call(String(e.nodeName)), b = e.attributes || [],
|
|
1868
|
-
h += " " + b[
|
|
1867
|
+
for (var h = "<" + Er.call(String(e.nodeName)), b = e.attributes || [], O = 0; O < b.length; O++)
|
|
1868
|
+
h += " " + b[O].name + "=" + Tn(ta(b[O].value), "double", i);
|
|
1869
1869
|
return h += ">", e.childNodes && e.childNodes.length && (h += "..."), h += "</" + Er.call(String(e.nodeName)) + ">", h;
|
|
1870
1870
|
}
|
|
1871
1871
|
if (Bt(e)) {
|
|
@@ -1885,16 +1885,16 @@ var Lt = Wi, Tr = Lt.custom, xr = xn(Tr) ? Tr : null, Pn = {
|
|
|
1885
1885
|
return e.inspect();
|
|
1886
1886
|
}
|
|
1887
1887
|
if (ua(e)) {
|
|
1888
|
-
var
|
|
1889
|
-
return wr && wr.call(e, function(
|
|
1890
|
-
|
|
1891
|
-
}),
|
|
1888
|
+
var P = [];
|
|
1889
|
+
return wr && wr.call(e, function(_, F) {
|
|
1890
|
+
P.push(y(F, e, !0) + " => " + y(_, e));
|
|
1891
|
+
}), _r("Map", Ge.call(e), P, p);
|
|
1892
1892
|
}
|
|
1893
1893
|
if (da(e)) {
|
|
1894
1894
|
var U = [];
|
|
1895
|
-
return br && br.call(e, function(
|
|
1896
|
-
U.push(y(
|
|
1897
|
-
}),
|
|
1895
|
+
return br && br.call(e, function(_) {
|
|
1896
|
+
U.push(y(_, e));
|
|
1897
|
+
}), _r("Set", Je.call(e), U, p);
|
|
1898
1898
|
}
|
|
1899
1899
|
if (fa(e))
|
|
1900
1900
|
return pt("WeakMap");
|
|
@@ -1914,7 +1914,7 @@ var Lt = Wi, Tr = Lt.custom, xr = xn(Tr) ? Tr : null, Pn = {
|
|
|
1914
1914
|
return "{ [object Window] }";
|
|
1915
1915
|
if (typeof globalThis < "u" && e === globalThis || typeof vr < "u" && e === vr)
|
|
1916
1916
|
return "{ [object globalThis] }";
|
|
1917
|
-
if (!ra(e) && !
|
|
1917
|
+
if (!ra(e) && !Cr(e)) {
|
|
1918
1918
|
var T = Ue(e, y), V = Rr ? Rr(e) === Object.prototype : e instanceof Object || e.constructor === Object, L = e instanceof Object ? "" : "null prototype", M = !V && Ae && Object(e) === e && Ae in e ? Qt.call(X(e), 8, -1) : L ? "Object" : "", Z = V || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", k = Z + (M || L ? "[" + G.call(Or.call([], M || [], L || []), ": ") + "] " : "");
|
|
1919
1919
|
return T.length === 0 ? k + "{}" : p ? k + "{" + Mt(T, p) + "}" : k + "{ " + G.call(T, ", ") + " }";
|
|
1920
1920
|
}
|
|
@@ -1936,7 +1936,7 @@ function Bt(t) {
|
|
|
1936
1936
|
function ra(t) {
|
|
1937
1937
|
return X(t) === "[object Date]" && ie(t);
|
|
1938
1938
|
}
|
|
1939
|
-
function
|
|
1939
|
+
function Cr(t) {
|
|
1940
1940
|
return X(t) === "[object RegExp]" && ie(t);
|
|
1941
1941
|
}
|
|
1942
1942
|
function na(t) {
|
|
@@ -1988,7 +1988,7 @@ function ca(t) {
|
|
|
1988
1988
|
var e = Xi.call(Qi.call(t), /^function\s*([\w$]+)/);
|
|
1989
1989
|
return e ? e[1] : null;
|
|
1990
1990
|
}
|
|
1991
|
-
function
|
|
1991
|
+
function Cn(t, e) {
|
|
1992
1992
|
if (t.indexOf)
|
|
1993
1993
|
return t.indexOf(e);
|
|
1994
1994
|
for (var r = 0, n = t.length; r < n; r++)
|
|
@@ -2068,10 +2068,10 @@ function ya(t) {
|
|
|
2068
2068
|
function ha(t) {
|
|
2069
2069
|
return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
|
|
2070
2070
|
}
|
|
2071
|
-
function
|
|
2071
|
+
function _n(t, e) {
|
|
2072
2072
|
if (t.length > e.maxStringLength) {
|
|
2073
2073
|
var r = t.length - e.maxStringLength, n = "... " + r + " more character" + (r > 1 ? "s" : "");
|
|
2074
|
-
return
|
|
2074
|
+
return _n(Qt.call(t, 0, e.maxStringLength), e) + n;
|
|
2075
2075
|
}
|
|
2076
2076
|
var o = ea[e.quoteStyle || "single"];
|
|
2077
2077
|
o.lastIndex = 0;
|
|
@@ -2094,13 +2094,13 @@ function Se(t) {
|
|
|
2094
2094
|
function pt(t) {
|
|
2095
2095
|
return t + " { ? }";
|
|
2096
2096
|
}
|
|
2097
|
-
function
|
|
2097
|
+
function _r(t, e, r, n) {
|
|
2098
2098
|
var o = n ? Mt(r, n) : G.call(r, ", ");
|
|
2099
2099
|
return t + " (" + e + ") {" + o + "}";
|
|
2100
2100
|
}
|
|
2101
2101
|
function ga(t) {
|
|
2102
2102
|
for (var e = 0; e < t.length; e++)
|
|
2103
|
-
if (
|
|
2103
|
+
if (Cn(t[e], `
|
|
2104
2104
|
`) >= 0)
|
|
2105
2105
|
return !1;
|
|
2106
2106
|
return !0;
|
|
@@ -2198,7 +2198,7 @@ var wa = tt, ba = ge, rt = function(t, e, r) {
|
|
|
2198
2198
|
}
|
|
2199
2199
|
};
|
|
2200
2200
|
return r;
|
|
2201
|
-
}, Fn = Object, Pa = Error, Ta = EvalError, xa = RangeError,
|
|
2201
|
+
}, Fn = Object, Pa = Error, Ta = EvalError, xa = RangeError, Ca = ReferenceError, _a = SyntaxError, Fa = URIError, Na = Math.abs, Ia = Math.floor, $a = Math.max, Da = Math.min, Ua = Math.pow, La = Math.round, Ba = Number.isNaN || function(e) {
|
|
2202
2202
|
return e !== e;
|
|
2203
2203
|
}, Ma = Ba, ka = function(e) {
|
|
2204
2204
|
return Ma(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
@@ -2247,7 +2247,7 @@ function Ha() {
|
|
|
2247
2247
|
}), dt;
|
|
2248
2248
|
}
|
|
2249
2249
|
var yt, Nr;
|
|
2250
|
-
function
|
|
2250
|
+
function za() {
|
|
2251
2251
|
if (Nr) return yt;
|
|
2252
2252
|
Nr = 1;
|
|
2253
2253
|
var t = typeof Symbol < "u" && Symbol, e = Ha();
|
|
@@ -2267,7 +2267,7 @@ function $n() {
|
|
|
2267
2267
|
return mt = t.getPrototypeOf || null, mt;
|
|
2268
2268
|
}
|
|
2269
2269
|
var gt, Dr;
|
|
2270
|
-
function
|
|
2270
|
+
function Wa() {
|
|
2271
2271
|
if (Dr) return gt;
|
|
2272
2272
|
Dr = 1;
|
|
2273
2273
|
var t = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, r = Math.max, n = "[object Function]", o = function(u, c) {
|
|
@@ -2315,7 +2315,7 @@ var vt, Ur;
|
|
|
2315
2315
|
function nt() {
|
|
2316
2316
|
if (Ur) return vt;
|
|
2317
2317
|
Ur = 1;
|
|
2318
|
-
var t =
|
|
2318
|
+
var t = Wa();
|
|
2319
2319
|
return vt = Function.prototype.bind || t, vt;
|
|
2320
2320
|
}
|
|
2321
2321
|
var wt, Lr;
|
|
@@ -2376,7 +2376,7 @@ function os() {
|
|
|
2376
2376
|
var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = nt();
|
|
2377
2377
|
return Ot = r.call(t, e), Ot;
|
|
2378
2378
|
}
|
|
2379
|
-
var S, is = Fn, as = Pa, ss = Ta, ls = xa, cs =
|
|
2379
|
+
var S, is = Fn, as = Pa, ss = Ta, ls = xa, cs = Ca, ye = _a, fe = ge, us = Fa, fs = Na, ps = Ia, ds = $a, ys = Da, hs = Ua, ms = La, gs = ka, Ln = Function, At = function(t) {
|
|
2380
2380
|
try {
|
|
2381
2381
|
return Ln('"use strict"; return (' + t + ").constructor;")();
|
|
2382
2382
|
} catch {
|
|
@@ -2393,12 +2393,12 @@ var S, is = Fn, as = Pa, ss = Ta, ls = xa, cs = _a, ye = Ca, fe = ge, us = Fa, f
|
|
|
2393
2393
|
return Rt;
|
|
2394
2394
|
}
|
|
2395
2395
|
}
|
|
2396
|
-
}() : Rt, le =
|
|
2396
|
+
}() : Rt, le = za()(), C = ns(), bs = $n(), Ss = In(), Bn = Dn(), Fe = Xt(), ue = {}, Es = typeof Uint8Array > "u" || !C ? S : C(Uint8Array), re = {
|
|
2397
2397
|
__proto__: null,
|
|
2398
2398
|
"%AggregateError%": typeof AggregateError > "u" ? S : AggregateError,
|
|
2399
2399
|
"%Array%": Array,
|
|
2400
2400
|
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? S : ArrayBuffer,
|
|
2401
|
-
"%ArrayIteratorPrototype%": le &&
|
|
2401
|
+
"%ArrayIteratorPrototype%": le && C ? C([][Symbol.iterator]()) : S,
|
|
2402
2402
|
"%AsyncFromSyncIteratorPrototype%": S,
|
|
2403
2403
|
"%AsyncFunction%": ue,
|
|
2404
2404
|
"%AsyncGenerator%": ue,
|
|
@@ -2430,10 +2430,10 @@ var S, is = Fn, as = Pa, ss = Ta, ls = xa, cs = _a, ye = Ca, fe = ge, us = Fa, f
|
|
|
2430
2430
|
"%Int32Array%": typeof Int32Array > "u" ? S : Int32Array,
|
|
2431
2431
|
"%isFinite%": isFinite,
|
|
2432
2432
|
"%isNaN%": isNaN,
|
|
2433
|
-
"%IteratorPrototype%": le &&
|
|
2433
|
+
"%IteratorPrototype%": le && C ? C(C([][Symbol.iterator]())) : S,
|
|
2434
2434
|
"%JSON%": typeof JSON == "object" ? JSON : S,
|
|
2435
2435
|
"%Map%": typeof Map > "u" ? S : Map,
|
|
2436
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !le || !
|
|
2436
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !le || !C ? S : C((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
2437
2437
|
"%Math%": Math,
|
|
2438
2438
|
"%Number%": Number,
|
|
2439
2439
|
"%Object%": is,
|
|
@@ -2447,10 +2447,10 @@ var S, is = Fn, as = Pa, ss = Ta, ls = xa, cs = _a, ye = Ca, fe = ge, us = Fa, f
|
|
|
2447
2447
|
"%Reflect%": typeof Reflect > "u" ? S : Reflect,
|
|
2448
2448
|
"%RegExp%": RegExp,
|
|
2449
2449
|
"%Set%": typeof Set > "u" ? S : Set,
|
|
2450
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !le || !
|
|
2450
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !le || !C ? S : C((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
2451
2451
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? S : SharedArrayBuffer,
|
|
2452
2452
|
"%String%": String,
|
|
2453
|
-
"%StringIteratorPrototype%": le &&
|
|
2453
|
+
"%StringIteratorPrototype%": le && C ? C(""[Symbol.iterator]()) : S,
|
|
2454
2454
|
"%Symbol%": le ? Symbol : S,
|
|
2455
2455
|
"%SyntaxError%": ye,
|
|
2456
2456
|
"%ThrowTypeError%": ws,
|
|
@@ -2477,11 +2477,11 @@ var S, is = Fn, as = Pa, ss = Ta, ls = xa, cs = _a, ye = Ca, fe = ge, us = Fa, f
|
|
|
2477
2477
|
"%Math.sign%": gs,
|
|
2478
2478
|
"%Reflect.getPrototypeOf%": Ss
|
|
2479
2479
|
};
|
|
2480
|
-
if (
|
|
2480
|
+
if (C)
|
|
2481
2481
|
try {
|
|
2482
2482
|
null.error;
|
|
2483
2483
|
} catch (t) {
|
|
2484
|
-
var Os =
|
|
2484
|
+
var Os = C(C(t));
|
|
2485
2485
|
re["%Error.prototype%"] = Os;
|
|
2486
2486
|
}
|
|
2487
2487
|
var As = function t(e) {
|
|
@@ -2497,7 +2497,7 @@ var As = function t(e) {
|
|
|
2497
2497
|
n && (r = n.prototype);
|
|
2498
2498
|
} else if (e === "%AsyncIteratorPrototype%") {
|
|
2499
2499
|
var o = t("%AsyncGenerator%");
|
|
2500
|
-
o &&
|
|
2500
|
+
o && C && (r = C(o.prototype));
|
|
2501
2501
|
}
|
|
2502
2502
|
return re[e] = r, r;
|
|
2503
2503
|
}, jr = {
|
|
@@ -2553,7 +2553,7 @@ var As = function t(e) {
|
|
|
2553
2553
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
2554
2554
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
2555
2555
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
2556
|
-
}, Ne = nt(), Ve = os(), Rs = Ne.call(Fe, Array.prototype.concat), Ps = Ne.call(Bn, Array.prototype.splice), Hr = Ne.call(Fe, String.prototype.replace), Ke = Ne.call(Fe, String.prototype.slice), Ts = Ne.call(Fe, RegExp.prototype.exec), xs = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
|
|
2556
|
+
}, Ne = nt(), Ve = os(), Rs = Ne.call(Fe, Array.prototype.concat), Ps = Ne.call(Bn, Array.prototype.splice), Hr = Ne.call(Fe, String.prototype.replace), Ke = Ne.call(Fe, String.prototype.slice), Ts = Ne.call(Fe, RegExp.prototype.exec), xs = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Cs = /\\(\\)?/g, _s = function(e) {
|
|
2557
2557
|
var r = Ke(e, 0, 1), n = Ke(e, -1);
|
|
2558
2558
|
if (r === "%" && n !== "%")
|
|
2559
2559
|
throw new ye("invalid intrinsic syntax, expected closing `%`");
|
|
@@ -2561,7 +2561,7 @@ var As = function t(e) {
|
|
|
2561
2561
|
throw new ye("invalid intrinsic syntax, expected opening `%`");
|
|
2562
2562
|
var o = [];
|
|
2563
2563
|
return Hr(e, xs, function(i, a, s, u) {
|
|
2564
|
-
o[o.length] = s ? Hr(u,
|
|
2564
|
+
o[o.length] = s ? Hr(u, Cs, "$1") : a || i;
|
|
2565
2565
|
}), o;
|
|
2566
2566
|
}, Fs = function(e, r) {
|
|
2567
2567
|
var n = e, o;
|
|
@@ -2583,7 +2583,7 @@ var As = function t(e) {
|
|
|
2583
2583
|
throw new fe('"allowMissing" argument must be a boolean');
|
|
2584
2584
|
if (Ts(/^%?[^%]*%?$/, e) === null)
|
|
2585
2585
|
throw new ye("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
2586
|
-
var n =
|
|
2586
|
+
var n = _s(e), o = n.length > 0 ? n[0] : "", i = Fs("%" + o + "%", r), a = i.name, s = i.value, u = !1, c = i.alias;
|
|
2587
2587
|
c && (o = c[0], Ps(n, Rs([0, 1], c)));
|
|
2588
2588
|
for (var l = 1, p = !0; l < n.length; l += 1) {
|
|
2589
2589
|
var y = n[l], v = Ke(y, 0, 1), d = Ke(y, -1);
|
|
@@ -2615,7 +2615,7 @@ var As = function t(e) {
|
|
|
2615
2615
|
/** @type {const} */
|
|
2616
2616
|
[n]
|
|
2617
2617
|
) : n;
|
|
2618
|
-
}, Is = Zt, Ie = qn, $s = tt, Ds = ge,
|
|
2618
|
+
}, Is = Zt, Ie = qn, $s = tt, Ds = ge, zr = Is("%Map%", !0), Us = Ie("Map.prototype.get", !0), Ls = Ie("Map.prototype.set", !0), Bs = Ie("Map.prototype.has", !0), Ms = Ie("Map.prototype.delete", !0), ks = Ie("Map.prototype.size", !0), jn = !!zr && /** @type {Exclude<import('.'), false>} */
|
|
2619
2619
|
function() {
|
|
2620
2620
|
var e, r = {
|
|
2621
2621
|
assert: function(n) {
|
|
@@ -2637,11 +2637,11 @@ function() {
|
|
|
2637
2637
|
return e ? Bs(e, n) : !1;
|
|
2638
2638
|
},
|
|
2639
2639
|
set: function(n, o) {
|
|
2640
|
-
e || (e = new
|
|
2640
|
+
e || (e = new zr()), Ls(e, n, o);
|
|
2641
2641
|
}
|
|
2642
2642
|
};
|
|
2643
2643
|
return r;
|
|
2644
|
-
}, qs = Zt, ot = qn, js = tt, Le = jn, Hs = ge, ce = qs("%WeakMap%", !0),
|
|
2644
|
+
}, qs = Zt, ot = qn, js = tt, Le = jn, Hs = ge, ce = qs("%WeakMap%", !0), zs = ot("WeakMap.prototype.get", !0), Ws = ot("WeakMap.prototype.set", !0), Gs = ot("WeakMap.prototype.has", !0), Js = ot("WeakMap.prototype.delete", !0), Vs = ce ? (
|
|
2645
2645
|
/** @type {Exclude<import('.'), false>} */
|
|
2646
2646
|
function() {
|
|
2647
2647
|
var e, r, n = {
|
|
@@ -2658,13 +2658,13 @@ function() {
|
|
|
2658
2658
|
return !1;
|
|
2659
2659
|
},
|
|
2660
2660
|
get: function(o) {
|
|
2661
|
-
return ce && o && (typeof o == "object" || typeof o == "function") && e ?
|
|
2661
|
+
return ce && o && (typeof o == "object" || typeof o == "function") && e ? zs(e, o) : r && r.get(o);
|
|
2662
2662
|
},
|
|
2663
2663
|
has: function(o) {
|
|
2664
2664
|
return ce && o && (typeof o == "object" || typeof o == "function") && e ? Gs(e, o) : !!r && r.has(o);
|
|
2665
2665
|
},
|
|
2666
2666
|
set: function(o, i) {
|
|
2667
|
-
ce && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new ce()),
|
|
2667
|
+
ce && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new ce()), Ws(e, o, i)) : Le && (r || (r = Le()), r.set(o, i));
|
|
2668
2668
|
}
|
|
2669
2669
|
};
|
|
2670
2670
|
return n;
|
|
@@ -2704,7 +2704,7 @@ function() {
|
|
|
2704
2704
|
},
|
|
2705
2705
|
RFC1738: Pt.RFC1738,
|
|
2706
2706
|
RFC3986: Pt.RFC3986
|
|
2707
|
-
}, ol = Yt, Tt = Object.prototype.hasOwnProperty, Y = Array.isArray,
|
|
2707
|
+
}, ol = Yt, Tt = Object.prototype.hasOwnProperty, Y = Array.isArray, z = function() {
|
|
2708
2708
|
for (var t = [], e = 0; e < 256; ++e)
|
|
2709
2709
|
t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
2710
2710
|
return t;
|
|
@@ -2775,18 +2775,18 @@ function() {
|
|
|
2775
2775
|
continue;
|
|
2776
2776
|
}
|
|
2777
2777
|
if (y < 128) {
|
|
2778
|
-
l[l.length] =
|
|
2778
|
+
l[l.length] = z[y];
|
|
2779
2779
|
continue;
|
|
2780
2780
|
}
|
|
2781
2781
|
if (y < 2048) {
|
|
2782
|
-
l[l.length] =
|
|
2782
|
+
l[l.length] = z[192 | y >> 6] + z[128 | y & 63];
|
|
2783
2783
|
continue;
|
|
2784
2784
|
}
|
|
2785
2785
|
if (y < 55296 || y >= 57344) {
|
|
2786
|
-
l[l.length] =
|
|
2786
|
+
l[l.length] = z[224 | y >> 12] + z[128 | y >> 6 & 63] + z[128 | y & 63];
|
|
2787
2787
|
continue;
|
|
2788
2788
|
}
|
|
2789
|
-
p += 1, y = 65536 + ((y & 1023) << 10 | c.charCodeAt(p) & 1023), l[l.length] =
|
|
2789
|
+
p += 1, y = 65536 + ((y & 1023) << 10 | c.charCodeAt(p) & 1023), l[l.length] = z[240 | y >> 18] + z[128 | y >> 12 & 63] + z[128 | y >> 6 & 63] + z[128 | y & 63];
|
|
2790
2790
|
}
|
|
2791
2791
|
s += l.join("");
|
|
2792
2792
|
}
|
|
@@ -2811,7 +2811,7 @@ function() {
|
|
|
2811
2811
|
return n;
|
|
2812
2812
|
}
|
|
2813
2813
|
return r(e);
|
|
2814
|
-
},
|
|
2814
|
+
}, zn = {
|
|
2815
2815
|
arrayToObject: Hn,
|
|
2816
2816
|
assign: sl,
|
|
2817
2817
|
combine: dl,
|
|
@@ -2822,7 +2822,7 @@ function() {
|
|
|
2822
2822
|
isRegExp: fl,
|
|
2823
2823
|
maybeMap: yl,
|
|
2824
2824
|
merge: al
|
|
2825
|
-
},
|
|
2825
|
+
}, Wn = tl, ze = zn, Re = Yt, hl = Object.prototype.hasOwnProperty, Gn = {
|
|
2826
2826
|
brackets: function(e) {
|
|
2827
2827
|
return e + "[]";
|
|
2828
2828
|
},
|
|
@@ -2833,9 +2833,9 @@ function() {
|
|
|
2833
2833
|
repeat: function(e) {
|
|
2834
2834
|
return e;
|
|
2835
2835
|
}
|
|
2836
|
-
},
|
|
2837
|
-
ml.apply(t,
|
|
2838
|
-
}, gl = Date.prototype.toISOString,
|
|
2836
|
+
}, W = Array.isArray, ml = Array.prototype.push, Jn = function(t, e) {
|
|
2837
|
+
ml.apply(t, W(e) ? e : [e]);
|
|
2838
|
+
}, gl = Date.prototype.toISOString, Wr = Re.default, x = {
|
|
2839
2839
|
addQueryPrefix: !1,
|
|
2840
2840
|
allowDots: !1,
|
|
2841
2841
|
allowEmptyArrays: !1,
|
|
@@ -2846,11 +2846,11 @@ function() {
|
|
|
2846
2846
|
delimiter: "&",
|
|
2847
2847
|
encode: !0,
|
|
2848
2848
|
encodeDotInKeys: !1,
|
|
2849
|
-
encoder:
|
|
2849
|
+
encoder: ze.encode,
|
|
2850
2850
|
encodeValuesOnly: !1,
|
|
2851
2851
|
filter: void 0,
|
|
2852
|
-
format:
|
|
2853
|
-
formatter: Re.formatters[
|
|
2852
|
+
format: Wr,
|
|
2853
|
+
formatter: Re.formatters[Wr],
|
|
2854
2854
|
// deprecated
|
|
2855
2855
|
indices: !1,
|
|
2856
2856
|
serializeDate: function(e) {
|
|
@@ -2860,24 +2860,24 @@ function() {
|
|
|
2860
2860
|
strictNullHandling: !1
|
|
2861
2861
|
}, vl = function(e) {
|
|
2862
2862
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
2863
|
-
},
|
|
2864
|
-
for (var g = e, E =
|
|
2863
|
+
}, Ct = {}, wl = function t(e, r, n, o, i, a, s, u, c, l, p, y, v, d, m, h, b, O) {
|
|
2864
|
+
for (var g = e, E = O, P = 0, U = !1; (E = E.get(Ct)) !== void 0 && !U; ) {
|
|
2865
2865
|
var T = E.get(e);
|
|
2866
|
-
if (
|
|
2867
|
-
if (T ===
|
|
2866
|
+
if (P += 1, typeof T < "u") {
|
|
2867
|
+
if (T === P)
|
|
2868
2868
|
throw new RangeError("Cyclic object value");
|
|
2869
2869
|
U = !0;
|
|
2870
2870
|
}
|
|
2871
|
-
typeof E.get(
|
|
2871
|
+
typeof E.get(Ct) > "u" && (P = 0);
|
|
2872
2872
|
}
|
|
2873
|
-
if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" &&
|
|
2873
|
+
if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && W(g) && (g = ze.maybeMap(g, function(we) {
|
|
2874
2874
|
return we instanceof Date ? v(we) : we;
|
|
2875
2875
|
})), g === null) {
|
|
2876
2876
|
if (a)
|
|
2877
2877
|
return c && !h ? c(r, x.encoder, b, "key", d) : r;
|
|
2878
2878
|
g = "";
|
|
2879
2879
|
}
|
|
2880
|
-
if (vl(g) ||
|
|
2880
|
+
if (vl(g) || ze.isBuffer(g)) {
|
|
2881
2881
|
if (c) {
|
|
2882
2882
|
var V = h ? r : c(r, x.encoder, b, "key", d);
|
|
2883
2883
|
return [m(V) + "=" + m(c(g, x.encoder, b, "value", d))];
|
|
@@ -2888,24 +2888,24 @@ function() {
|
|
|
2888
2888
|
if (typeof g > "u")
|
|
2889
2889
|
return L;
|
|
2890
2890
|
var M;
|
|
2891
|
-
if (n === "comma" &&
|
|
2892
|
-
h && c && (g =
|
|
2893
|
-
else if (
|
|
2891
|
+
if (n === "comma" && W(g))
|
|
2892
|
+
h && c && (g = ze.maybeMap(g, c)), M = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
|
|
2893
|
+
else if (W(l))
|
|
2894
2894
|
M = l;
|
|
2895
2895
|
else {
|
|
2896
2896
|
var Z = Object.keys(g);
|
|
2897
2897
|
M = p ? Z.sort(p) : Z;
|
|
2898
2898
|
}
|
|
2899
|
-
var k = u ? String(r).replace(/\./g, "%2E") : String(r),
|
|
2900
|
-
if (i &&
|
|
2901
|
-
return
|
|
2899
|
+
var k = u ? String(r).replace(/\./g, "%2E") : String(r), _ = o && W(g) && g.length === 1 ? k + "[]" : k;
|
|
2900
|
+
if (i && W(g) && g.length === 0)
|
|
2901
|
+
return _ + "[]";
|
|
2902
2902
|
for (var F = 0; F < M.length; ++F) {
|
|
2903
2903
|
var B = M[F], N = typeof B == "object" && B && typeof B.value < "u" ? B.value : g[B];
|
|
2904
2904
|
if (!(s && N === null)) {
|
|
2905
|
-
var ae = y && u ? String(B).replace(/\./g, "%2E") : String(B), j =
|
|
2906
|
-
|
|
2907
|
-
var ve =
|
|
2908
|
-
ve.set(
|
|
2905
|
+
var ae = y && u ? String(B).replace(/\./g, "%2E") : String(B), j = W(g) ? typeof n == "function" ? n(_, ae) : _ : _ + (y ? "." + ae : "[" + ae + "]");
|
|
2906
|
+
O.set(e, P);
|
|
2907
|
+
var ve = Wn();
|
|
2908
|
+
ve.set(Ct, O), Jn(L, t(
|
|
2909
2909
|
N,
|
|
2910
2910
|
j,
|
|
2911
2911
|
n,
|
|
@@ -2914,7 +2914,7 @@ function() {
|
|
|
2914
2914
|
a,
|
|
2915
2915
|
s,
|
|
2916
2916
|
u,
|
|
2917
|
-
n === "comma" && h &&
|
|
2917
|
+
n === "comma" && h && W(g) ? null : c,
|
|
2918
2918
|
l,
|
|
2919
2919
|
p,
|
|
2920
2920
|
y,
|
|
@@ -2947,7 +2947,7 @@ function() {
|
|
|
2947
2947
|
n = e.format;
|
|
2948
2948
|
}
|
|
2949
2949
|
var o = Re.formatters[n], i = x.filter;
|
|
2950
|
-
(typeof e.filter == "function" ||
|
|
2950
|
+
(typeof e.filter == "function" || W(e.filter)) && (i = e.filter);
|
|
2951
2951
|
var a;
|
|
2952
2952
|
if (e.arrayFormat in Gn ? a = e.arrayFormat : "indices" in e ? a = e.indices ? "indices" : "repeat" : a = x.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
|
|
2953
2953
|
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
@@ -2975,13 +2975,13 @@ function() {
|
|
|
2975
2975
|
};
|
|
2976
2976
|
}, Sl = function(t, e) {
|
|
2977
2977
|
var r = t, n = bl(e), o, i;
|
|
2978
|
-
typeof n.filter == "function" ? (i = n.filter, r = i("", r)) :
|
|
2978
|
+
typeof n.filter == "function" ? (i = n.filter, r = i("", r)) : W(n.filter) && (i = n.filter, o = i);
|
|
2979
2979
|
var a = [];
|
|
2980
2980
|
if (typeof r != "object" || r === null)
|
|
2981
2981
|
return "";
|
|
2982
2982
|
var s = Gn[n.arrayFormat], u = s === "comma" && n.commaRoundTrip;
|
|
2983
2983
|
o || (o = Object.keys(r)), n.sort && o.sort(n.sort);
|
|
2984
|
-
for (var c =
|
|
2984
|
+
for (var c = Wn(), l = 0; l < o.length; ++l) {
|
|
2985
2985
|
var p = o[l], y = r[p];
|
|
2986
2986
|
n.skipNulls && y === null || Jn(a, wl(
|
|
2987
2987
|
y,
|
|
@@ -3006,7 +3006,7 @@ function() {
|
|
|
3006
3006
|
}
|
|
3007
3007
|
var v = a.join(n.delimiter), d = n.addQueryPrefix === !0 ? "?" : "";
|
|
3008
3008
|
return n.charsetSentinel && (n.charset === "iso-8859-1" ? d += "utf8=%26%2310003%3B&" : d += "utf8=%E2%9C%93&"), v.length > 0 ? d + v : "";
|
|
3009
|
-
}, oe =
|
|
3009
|
+
}, oe = zn, kt = Object.prototype.hasOwnProperty, Gr = Array.isArray, A = {
|
|
3010
3010
|
allowDots: !1,
|
|
3011
3011
|
allowEmptyArrays: !1,
|
|
3012
3012
|
allowPrototypes: !1,
|
|
@@ -3054,14 +3054,14 @@ function() {
|
|
|
3054
3054
|
for (u = 0; u < a.length; ++u)
|
|
3055
3055
|
if (u !== s) {
|
|
3056
3056
|
var l = a[u], p = l.indexOf("]="), y = p === -1 ? l.indexOf("=") : p + 1, v, d;
|
|
3057
|
-
y === -1 ? (v = r.decoder(l,
|
|
3057
|
+
y === -1 ? (v = r.decoder(l, A.decoder, c, "key"), d = r.strictNullHandling ? null : "") : (v = r.decoder(l.slice(0, y), A.decoder, c, "key"), d = oe.maybeMap(
|
|
3058
3058
|
Vn(
|
|
3059
3059
|
l.slice(y + 1),
|
|
3060
3060
|
r,
|
|
3061
3061
|
Gr(n[v]) ? n[v].length : 0
|
|
3062
3062
|
),
|
|
3063
3063
|
function(h) {
|
|
3064
|
-
return r.decoder(h,
|
|
3064
|
+
return r.decoder(h, A.decoder, c, "value");
|
|
3065
3065
|
}
|
|
3066
3066
|
)), d && r.interpretNumericEntities && c === "iso-8859-1" && (d = El(String(d))), l.indexOf("[]=") > -1 && (d = Gr(d) ? [d] : d);
|
|
3067
3067
|
var m = kt.call(n, v);
|
|
@@ -3108,7 +3108,7 @@ function() {
|
|
|
3108
3108
|
}
|
|
3109
3109
|
}, xl = function(e) {
|
|
3110
3110
|
if (!e)
|
|
3111
|
-
return
|
|
3111
|
+
return A;
|
|
3112
3112
|
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
3113
3113
|
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
3114
3114
|
if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
|
|
@@ -3119,35 +3119,35 @@ function() {
|
|
|
3119
3119
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
3120
3120
|
if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
|
|
3121
3121
|
throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
3122
|
-
var r = typeof e.charset > "u" ?
|
|
3122
|
+
var r = typeof e.charset > "u" ? A.charset : e.charset, n = typeof e.duplicates > "u" ? A.duplicates : e.duplicates;
|
|
3123
3123
|
if (n !== "combine" && n !== "first" && n !== "last")
|
|
3124
3124
|
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
3125
|
-
var o = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 :
|
|
3125
|
+
var o = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : A.allowDots : !!e.allowDots;
|
|
3126
3126
|
return {
|
|
3127
3127
|
allowDots: o,
|
|
3128
|
-
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays :
|
|
3129
|
-
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes :
|
|
3130
|
-
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse :
|
|
3131
|
-
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit :
|
|
3128
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : A.allowEmptyArrays,
|
|
3129
|
+
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : A.allowPrototypes,
|
|
3130
|
+
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : A.allowSparse,
|
|
3131
|
+
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : A.arrayLimit,
|
|
3132
3132
|
charset: r,
|
|
3133
|
-
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel :
|
|
3134
|
-
comma: typeof e.comma == "boolean" ? e.comma :
|
|
3135
|
-
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys :
|
|
3136
|
-
decoder: typeof e.decoder == "function" ? e.decoder :
|
|
3137
|
-
delimiter: typeof e.delimiter == "string" || oe.isRegExp(e.delimiter) ? e.delimiter :
|
|
3133
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : A.charsetSentinel,
|
|
3134
|
+
comma: typeof e.comma == "boolean" ? e.comma : A.comma,
|
|
3135
|
+
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : A.decodeDotInKeys,
|
|
3136
|
+
decoder: typeof e.decoder == "function" ? e.decoder : A.decoder,
|
|
3137
|
+
delimiter: typeof e.delimiter == "string" || oe.isRegExp(e.delimiter) ? e.delimiter : A.delimiter,
|
|
3138
3138
|
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
3139
|
-
depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth :
|
|
3139
|
+
depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : A.depth,
|
|
3140
3140
|
duplicates: n,
|
|
3141
3141
|
ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
|
|
3142
|
-
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities :
|
|
3143
|
-
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit :
|
|
3142
|
+
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : A.interpretNumericEntities,
|
|
3143
|
+
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : A.parameterLimit,
|
|
3144
3144
|
parseArrays: e.parseArrays !== !1,
|
|
3145
|
-
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects :
|
|
3146
|
-
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth :
|
|
3147
|
-
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling :
|
|
3145
|
+
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : A.plainObjects,
|
|
3146
|
+
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : A.strictDepth,
|
|
3147
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : A.strictNullHandling,
|
|
3148
3148
|
throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
|
|
3149
3149
|
};
|
|
3150
|
-
},
|
|
3150
|
+
}, Cl = function(t, e) {
|
|
3151
3151
|
var r = xl(e);
|
|
3152
3152
|
if (t === "" || t === null || typeof t > "u")
|
|
3153
3153
|
return r.plainObjects ? { __proto__: null } : {};
|
|
@@ -3156,10 +3156,10 @@ function() {
|
|
|
3156
3156
|
o = oe.merge(o, u, r);
|
|
3157
3157
|
}
|
|
3158
3158
|
return r.allowSparse === !0 ? o : oe.compact(o);
|
|
3159
|
-
},
|
|
3159
|
+
}, _l = Sl, Fl = Cl, Nl = Yt, Il = {
|
|
3160
3160
|
formats: Nl,
|
|
3161
3161
|
parse: Fl,
|
|
3162
|
-
stringify:
|
|
3162
|
+
stringify: _l
|
|
3163
3163
|
};
|
|
3164
3164
|
const $l = /* @__PURE__ */ ki(Il);
|
|
3165
3165
|
/*! js-cookie v3.0.5 | MIT */
|
|
@@ -3246,48 +3246,48 @@ const Ul = 1e3, Xr = async (t, e, r = []) => {
|
|
|
3246
3246
|
}
|
|
3247
3247
|
return t(e, ...r);
|
|
3248
3248
|
};
|
|
3249
|
-
let
|
|
3250
|
-
const Ll = 5e3, Xn = () =>
|
|
3251
|
-
|
|
3249
|
+
let _t = !1;
|
|
3250
|
+
const Ll = 5e3, Xn = () => _t ? !1 : (_t = !0, setTimeout(() => {
|
|
3251
|
+
_t = !1;
|
|
3252
3252
|
}, Ll), !0), Zn = () => {
|
|
3253
3253
|
var e, r;
|
|
3254
3254
|
if (Qn) return;
|
|
3255
3255
|
const t = "/login";
|
|
3256
3256
|
location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (e = window.top) != null && e.vueRouter ? (r = window.top) == null || r.vueRouter.replace(t) : window.location.replace(`/#${t}`));
|
|
3257
|
-
}, Bl = async (t) => {
|
|
3257
|
+
}, Bl = () => to("code") || "" || Qn ? !1 : Xn() ? (Kn ? ro({ ...no, redirect_uri: oo }) : Zn(), !0) : !1, Ml = async (t) => {
|
|
3258
3258
|
var r;
|
|
3259
3259
|
return ((r = t.config) == null ? void 0 : r.responseType) === "blob" ? t : t.data ?? t;
|
|
3260
|
-
},
|
|
3261
|
-
var m, h, b
|
|
3260
|
+
}, kl = async (t, e) => {
|
|
3261
|
+
var d, m, h, b;
|
|
3262
3262
|
const { t: r } = Zr();
|
|
3263
3263
|
let n, o, i = {};
|
|
3264
3264
|
const a = { 400: r("参数校验错误"), 404: r("接口地址未找到"), 500: r("服务器内部错误") };
|
|
3265
|
-
let s = ((
|
|
3266
|
-
const u =
|
|
3267
|
-
if (
|
|
3268
|
-
|
|
3269
|
-
const
|
|
3270
|
-
if (Vr &&
|
|
3271
|
-
const
|
|
3272
|
-
o =
|
|
3265
|
+
let s = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || {};
|
|
3266
|
+
const u = s == null ? void 0 : s.code, c = (m = t.response) == null ? void 0 : m.status;
|
|
3267
|
+
if (u === 401 || c === 401) {
|
|
3268
|
+
Bl(), n = u || c, i = s;
|
|
3269
|
+
const O = (e == null ? void 0 : e.i18n) ?? !0;
|
|
3270
|
+
if (Vr && O && (s != null && s.status)) {
|
|
3271
|
+
const g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r(s.status, ...g);
|
|
3272
|
+
o = E === s.status ? await Xr(r, s.status, g) : E;
|
|
3273
3273
|
} else
|
|
3274
3274
|
o = (s == null ? void 0 : s.msg) || a[n] || (t == null ? void 0 : t.message);
|
|
3275
3275
|
} else if (t.response) {
|
|
3276
|
-
if (s instanceof Blob && (s = await new Promise((
|
|
3277
|
-
const
|
|
3278
|
-
|
|
3276
|
+
if (s instanceof Blob && (s = await new Promise((O) => {
|
|
3277
|
+
const g = new FileReader();
|
|
3278
|
+
g.readAsText(s, "utf-8"), g.onload = () => {
|
|
3279
3279
|
try {
|
|
3280
|
-
|
|
3280
|
+
O(JSON.parse(g.result || "{}"));
|
|
3281
3281
|
} catch {
|
|
3282
|
-
|
|
3282
|
+
O({ code: 400, msg: r("解析错误") });
|
|
3283
3283
|
}
|
|
3284
3284
|
};
|
|
3285
3285
|
})), s.code !== void 0 && s.code !== null) {
|
|
3286
3286
|
n = s.code, i = s;
|
|
3287
|
-
const
|
|
3288
|
-
if (Vr &&
|
|
3289
|
-
const
|
|
3290
|
-
o =
|
|
3287
|
+
const O = (e == null ? void 0 : e.i18n) ?? !0;
|
|
3288
|
+
if (Vr && O && (s != null && s.status)) {
|
|
3289
|
+
const g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r(s.status, ...g);
|
|
3290
|
+
o = E === s.status ? await Xr(r, s.status, g) : E;
|
|
3291
3291
|
} else
|
|
3292
3292
|
o = (s == null ? void 0 : s.msg) ?? "";
|
|
3293
3293
|
} else
|
|
@@ -3295,11 +3295,11 @@ const Ll = 5e3, Xn = () => Ct ? !1 : (Ct = !0, setTimeout(() => {
|
|
|
3295
3295
|
o || (o = a[t.response.status] || t.message);
|
|
3296
3296
|
} else t.request ? (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("网络异常,请检查您的网络情况")) : (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("请求配置异常"));
|
|
3297
3297
|
e != null && e.customErrorMessage && (o = e == null ? void 0 : e.customErrorMessage(o, t));
|
|
3298
|
-
const
|
|
3299
|
-
return !(e != null && e.ignoreErrorMessage) && o && (!
|
|
3298
|
+
const p = Date.now(), y = o === Kr, v = p - Qr < Ul;
|
|
3299
|
+
return !(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((b = (h = window.DasMessage) == null ? void 0 : h.error) == null || b.call(h, { message: o, showClose: !0 }), Kr = o, Qr = p), { ...i, code: n, msg: o, error: t };
|
|
3300
3300
|
};
|
|
3301
|
-
function
|
|
3302
|
-
const r =
|
|
3301
|
+
function ql(t, e) {
|
|
3302
|
+
const r = R.create();
|
|
3303
3303
|
return Yn(r, async (n) => {
|
|
3304
3304
|
const { currentLang: o } = Zr(), i = Yr();
|
|
3305
3305
|
if (n.headers || (n.headers = {}), !(n != null && n.public)) {
|
|
@@ -3319,7 +3319,7 @@ function kl(t, e) {
|
|
|
3319
3319
|
}
|
|
3320
3320
|
p && !n.headers.Authorization && (n.headers.Authorization = `Bearer ${p}`);
|
|
3321
3321
|
}
|
|
3322
|
-
n.baseURL || (n.baseURL = i.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => $l.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess =
|
|
3322
|
+
n.baseURL || (n.baseURL = i.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => $l.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = Ml), n.onError || (n.onError = kl), (n.csrf ?? !1) && (n.headers["csrf-token"] = Jr.get("csrf-token"));
|
|
3323
3323
|
const u = n.params || {};
|
|
3324
3324
|
if (u.project === void 0) {
|
|
3325
3325
|
let p = 0;
|
|
@@ -3335,7 +3335,7 @@ function kl(t, e) {
|
|
|
3335
3335
|
return l && (n.headers["Accept-Language"] = l), l && Jr.set("locale", l), n;
|
|
3336
3336
|
});
|
|
3337
3337
|
}
|
|
3338
|
-
const
|
|
3338
|
+
const jl = "v1", Yl = ql(`/api/portal/user/${jl}`);
|
|
3339
3339
|
export {
|
|
3340
|
-
|
|
3340
|
+
Yl as portal
|
|
3341
3341
|
};
|