@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
|
@@ -124,7 +124,7 @@ var yo = Ze("string"),
|
|
|
124
124
|
xo = function xo(t) {
|
|
125
125
|
return t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
126
126
|
};
|
|
127
|
-
function
|
|
127
|
+
function Ce(t, e) {
|
|
128
128
|
var _ref3 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
|
|
129
129
|
_ref3$allOwnKeys = _ref3.allOwnKeys,
|
|
130
130
|
r = _ref3$allOwnKeys === void 0 ? false : _ref3$allOwnKeys;
|
|
@@ -160,19 +160,19 @@ function Ft() {
|
|
|
160
160
|
var a = t && on(r, i) || i;
|
|
161
161
|
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);
|
|
162
162
|
};
|
|
163
|
-
for (var o = 0, i = arguments.length; o < i; o++) arguments[o] &&
|
|
163
|
+
for (var o = 0, i = arguments.length; o < i; o++) arguments[o] && Ce(arguments[o], n);
|
|
164
164
|
return r;
|
|
165
165
|
}
|
|
166
|
-
var
|
|
166
|
+
var Co = function Co(t, e, r) {
|
|
167
167
|
var _ref5 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
|
|
168
168
|
n = _ref5.allOwnKeys;
|
|
169
|
-
return
|
|
169
|
+
return Ce(e, function (o, i) {
|
|
170
170
|
r && $(o) ? t[i] = en(o, r) : t[i] = o;
|
|
171
171
|
}, {
|
|
172
172
|
allOwnKeys: n
|
|
173
173
|
}), t;
|
|
174
174
|
},
|
|
175
|
-
|
|
175
|
+
_o = function _o(t) {
|
|
176
176
|
return t.charCodeAt(0) === 65279 && (t = t.slice(1)), t;
|
|
177
177
|
},
|
|
178
178
|
Fo = function Fo(t, e, r, n) {
|
|
@@ -239,7 +239,7 @@ var _o = function _o(t, e, r) {
|
|
|
239
239
|
sn = function sn(t, e) {
|
|
240
240
|
var r = Object.getOwnPropertyDescriptors(t),
|
|
241
241
|
n = {};
|
|
242
|
-
|
|
242
|
+
Ce(r, function (o, i) {
|
|
243
243
|
var a;
|
|
244
244
|
(a = e(o, i, t)) !== false && (n[i] = a || o);
|
|
245
245
|
}), Object.defineProperties(t, n);
|
|
@@ -269,10 +269,10 @@ var _o = function _o(t, e, r) {
|
|
|
269
269
|
return he(t) ? n(t) : n(String(t).split(e)), r;
|
|
270
270
|
},
|
|
271
271
|
Ho = function Ho() {},
|
|
272
|
-
|
|
272
|
+
zo = function zo(t, e) {
|
|
273
273
|
return t != null && Number.isFinite(t = +t) ? t : e;
|
|
274
274
|
};
|
|
275
|
-
function
|
|
275
|
+
function Wo(t) {
|
|
276
276
|
return !!(t && $(t.append) && t[tn] === "FormData" && t[Qe]);
|
|
277
277
|
}
|
|
278
278
|
var Go = function Go(t) {
|
|
@@ -284,7 +284,7 @@ var Go = function Go(t) {
|
|
|
284
284
|
if (!("toJSON" in n)) {
|
|
285
285
|
e[o] = n;
|
|
286
286
|
var i = he(n) ? [] : {};
|
|
287
|
-
return
|
|
287
|
+
return Ce(n, function (a, s) {
|
|
288
288
|
var u = _r2(a, o + 1);
|
|
289
289
|
!pe(u) && (i[s] = u);
|
|
290
290
|
}), e[o] = undefined, i;
|
|
@@ -341,11 +341,11 @@ var Go = function Go(t) {
|
|
|
341
341
|
isURLSearchParams: Oo,
|
|
342
342
|
isTypedArray: Do,
|
|
343
343
|
isFileList: bo,
|
|
344
|
-
forEach:
|
|
344
|
+
forEach: Ce,
|
|
345
345
|
merge: Ft,
|
|
346
|
-
extend:
|
|
346
|
+
extend: Co,
|
|
347
347
|
trim: xo,
|
|
348
|
-
stripBOM:
|
|
348
|
+
stripBOM: _o,
|
|
349
349
|
inherits: Fo,
|
|
350
350
|
toFlatObject: No,
|
|
351
351
|
kindOf: Xe,
|
|
@@ -363,11 +363,11 @@ var Go = function Go(t) {
|
|
|
363
363
|
toObjectSet: jo,
|
|
364
364
|
toCamelCase: Mo,
|
|
365
365
|
noop: Ho,
|
|
366
|
-
toFiniteNumber:
|
|
366
|
+
toFiniteNumber: zo,
|
|
367
367
|
findKey: on,
|
|
368
368
|
global: ee,
|
|
369
369
|
isContextDefined: an,
|
|
370
|
-
isSpecCompliantForm:
|
|
370
|
+
isSpecCompliantForm: Wo,
|
|
371
371
|
toJSONObject: Go,
|
|
372
372
|
isAsyncFn: Jo,
|
|
373
373
|
isThenable: Vo,
|
|
@@ -486,8 +486,8 @@ function Ye(t, e, r) {
|
|
|
486
486
|
function v(d, m) {
|
|
487
487
|
if (!f.isUndefined(d)) {
|
|
488
488
|
if (p.indexOf(d) !== -1) throw Error("Circular reference detected in " + m.join("."));
|
|
489
|
-
p.push(d), f.forEach(d, function (b,
|
|
490
|
-
(!(f.isUndefined(b) || b === null) && o.call(e, b, f.isString(
|
|
489
|
+
p.push(d), f.forEach(d, function (b, O) {
|
|
490
|
+
(!(f.isUndefined(b) || b === null) && o.call(e, b, f.isString(O) ? O.trim() : O, m, y)) === true && v(b, m ? m.concat(O) : [O]);
|
|
491
491
|
}), p.pop();
|
|
492
492
|
}
|
|
493
493
|
}
|
|
@@ -508,10 +508,10 @@ function or(t) {
|
|
|
508
508
|
return e[n];
|
|
509
509
|
});
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function zt(t, e) {
|
|
512
512
|
this._pairs = [], t && Ye(t, this, e);
|
|
513
513
|
}
|
|
514
|
-
var pn =
|
|
514
|
+
var pn = zt.prototype;
|
|
515
515
|
pn.append = function (e, r) {
|
|
516
516
|
this._pairs.push([e, r]);
|
|
517
517
|
};
|
|
@@ -534,7 +534,7 @@ function dn(t, e, r) {
|
|
|
534
534
|
});
|
|
535
535
|
var o = r && r.serialize;
|
|
536
536
|
var i;
|
|
537
|
-
if (o ? i = o(e, r) : i = f.isURLSearchParams(e) ? e.toString() : new
|
|
537
|
+
if (o ? i = o(e, r) : i = f.isURLSearchParams(e) ? e.toString() : new zt(e, r).toString(n), i) {
|
|
538
538
|
var a = t.indexOf("#");
|
|
539
539
|
a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + i;
|
|
540
540
|
}
|
|
@@ -609,7 +609,7 @@ var yn = {
|
|
|
609
609
|
forcedJSONParsing: true,
|
|
610
610
|
clarifyTimeoutError: false
|
|
611
611
|
},
|
|
612
|
-
ti = (typeof URLSearchParams === "undefined" ? "undefined" : _typeof(URLSearchParams)) < "u" ? URLSearchParams :
|
|
612
|
+
ti = (typeof URLSearchParams === "undefined" ? "undefined" : _typeof(URLSearchParams)) < "u" ? URLSearchParams : zt,
|
|
613
613
|
ri = (typeof FormData === "undefined" ? "undefined" : _typeof(FormData)) < "u" ? FormData : null,
|
|
614
614
|
ni = (typeof Blob === "undefined" ? "undefined" : _typeof(Blob)) < "u" ? Blob : null,
|
|
615
615
|
oi = {
|
|
@@ -621,16 +621,16 @@ var yn = {
|
|
|
621
621
|
},
|
|
622
622
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
623
623
|
},
|
|
624
|
-
|
|
624
|
+
Wt = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && (typeof document === "undefined" ? "undefined" : _typeof(document)) < "u",
|
|
625
625
|
It = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) == "object" && navigator || undefined,
|
|
626
|
-
ii =
|
|
626
|
+
ii = Wt && (!It || ["ReactNative", "NativeScript", "NS"].indexOf(It.product) < 0),
|
|
627
627
|
ai = (typeof WorkerGlobalScope === "undefined" ? "undefined" : _typeof(WorkerGlobalScope)) < "u" &&
|
|
628
628
|
// eslint-disable-next-line no-undef
|
|
629
629
|
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
630
|
-
si =
|
|
630
|
+
si = Wt && window.location.href || "http://localhost",
|
|
631
631
|
li = /* @__PURE__ */Object.freeze(/* @__PURE__ */Object.defineProperty({
|
|
632
632
|
__proto__: null,
|
|
633
|
-
hasBrowserEnv:
|
|
633
|
+
hasBrowserEnv: Wt,
|
|
634
634
|
hasStandardBrowserEnv: ii,
|
|
635
635
|
hasStandardBrowserWebWorkerEnv: ai,
|
|
636
636
|
navigator: It,
|
|
@@ -684,7 +684,7 @@ function pi(t, e, r) {
|
|
|
684
684
|
}
|
|
685
685
|
return (0, JSON.stringify)(t);
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var _e = {
|
|
688
688
|
transitional: yn,
|
|
689
689
|
adapter: ["xhr", "http", "fetch"],
|
|
690
690
|
transformRequest: [function (e, r) {
|
|
@@ -708,7 +708,7 @@ var Ce = {
|
|
|
708
708
|
return i || o ? (r.setContentType("application/json", false), pi(e)) : e;
|
|
709
709
|
}],
|
|
710
710
|
transformResponse: [function (e) {
|
|
711
|
-
var r = this.transitional ||
|
|
711
|
+
var r = this.transitional || _e.transitional,
|
|
712
712
|
n = r && r.forcedJSONParsing,
|
|
713
713
|
o = this.responseType === "json";
|
|
714
714
|
if (f.isResponse(e) || f.isReadableStream(e)) return e;
|
|
@@ -746,7 +746,7 @@ var Ce = {
|
|
|
746
746
|
}
|
|
747
747
|
};
|
|
748
748
|
f.forEach(["delete", "get", "head", "post", "put", "patch"], function (t) {
|
|
749
|
-
|
|
749
|
+
_e.headers[t] = {};
|
|
750
750
|
});
|
|
751
751
|
var di = f.toObjectSet(["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]),
|
|
752
752
|
yi = function yi(t) {
|
|
@@ -989,7 +989,7 @@ f.reduceDescriptors(D.prototype, function (_ref0, e) {
|
|
|
989
989
|
});
|
|
990
990
|
f.freezeMethods(D);
|
|
991
991
|
function st(t, e) {
|
|
992
|
-
var r = this ||
|
|
992
|
+
var r = this || _e,
|
|
993
993
|
n = e || r,
|
|
994
994
|
o = D.from(n.headers);
|
|
995
995
|
var i = n.data;
|
|
@@ -1055,7 +1055,7 @@ function Si(t, e) {
|
|
|
1055
1055
|
return o && a(o);
|
|
1056
1056
|
}];
|
|
1057
1057
|
}
|
|
1058
|
-
var
|
|
1058
|
+
var We = function We(t, e) {
|
|
1059
1059
|
var r = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
|
|
1060
1060
|
var n = 0;
|
|
1061
1061
|
var o = bi(50, 250);
|
|
@@ -1237,7 +1237,7 @@ var wn = function wn(t) {
|
|
|
1237
1237
|
Pi = (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof(XMLHttpRequest)) < "u",
|
|
1238
1238
|
Ti = Pi && function (t) {
|
|
1239
1239
|
return new Promise(function (r, n) {
|
|
1240
|
-
var
|
|
1240
|
+
var _We, _We2, _We3, _We4;
|
|
1241
1241
|
var o = wn(t);
|
|
1242
1242
|
var i = o.data;
|
|
1243
1243
|
var a = D.from(o.headers).normalize();
|
|
@@ -1257,7 +1257,7 @@ var wn = function wn(t) {
|
|
|
1257
1257
|
function b() {
|
|
1258
1258
|
if (!h) return;
|
|
1259
1259
|
var g = D.from("getAllResponseHeaders" in h && h.getAllResponseHeaders()),
|
|
1260
|
-
|
|
1260
|
+
P = {
|
|
1261
1261
|
data: !s || s === "text" || s === "json" ? h.responseText : h.response,
|
|
1262
1262
|
status: h.status,
|
|
1263
1263
|
statusText: h.statusText,
|
|
@@ -1269,28 +1269,28 @@ var wn = function wn(t) {
|
|
|
1269
1269
|
r(T), m();
|
|
1270
1270
|
}, function (T) {
|
|
1271
1271
|
n(T), m();
|
|
1272
|
-
},
|
|
1272
|
+
}, P), h = null;
|
|
1273
1273
|
}
|
|
1274
1274
|
"onloadend" in h ? h.onloadend = b : h.onreadystatechange = function () {
|
|
1275
1275
|
!h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(b);
|
|
1276
1276
|
}, h.onabort = function () {
|
|
1277
1277
|
h && (n(new w("Request aborted", w.ECONNABORTED, t, h)), h = null);
|
|
1278
1278
|
}, h.onerror = function (E) {
|
|
1279
|
-
var
|
|
1280
|
-
U = new w(
|
|
1279
|
+
var P = E && E.message ? E.message : "Network Error",
|
|
1280
|
+
U = new w(P, w.ERR_NETWORK, t, h);
|
|
1281
1281
|
U.event = E || null, n(U), h = null;
|
|
1282
1282
|
}, h.ontimeout = function () {
|
|
1283
1283
|
var E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
1284
|
-
var
|
|
1285
|
-
o.timeoutErrorMessage && (E = o.timeoutErrorMessage), n(new w(E,
|
|
1286
|
-
}, i === undefined && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function (E,
|
|
1287
|
-
h.setRequestHeader(
|
|
1288
|
-
}), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && (
|
|
1284
|
+
var P = o.transitional || yn;
|
|
1285
|
+
o.timeoutErrorMessage && (E = o.timeoutErrorMessage), n(new w(E, P.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED, t, h)), h = null;
|
|
1286
|
+
}, i === undefined && a.setContentType(null), "setRequestHeader" in h && f.forEach(a.toJSON(), function (E, P) {
|
|
1287
|
+
h.setRequestHeader(P, E);
|
|
1288
|
+
}), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && (_We = We(c, true), _We2 = _slicedToArray(_We, 2), y = _We2[0], d = _We2[1], h.addEventListener("progress", y)), u && h.upload && (_We3 = We(u), _We4 = _slicedToArray(_We3, 2), p = _We4[0], v = _We4[1], h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = function l(g) {
|
|
1289
1289
|
h && (n(!g || g.type ? new me(null, t, h) : g), h.abort(), h = null);
|
|
1290
1290
|
}, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
|
|
1291
|
-
var
|
|
1292
|
-
if (
|
|
1293
|
-
n(new w("Unsupported protocol " +
|
|
1291
|
+
var O = wi(o.url);
|
|
1292
|
+
if (O && I.protocols.indexOf(O) === -1) {
|
|
1293
|
+
n(new w("Unsupported protocol " + O + ":", w.ERR_BAD_REQUEST, t));
|
|
1294
1294
|
return;
|
|
1295
1295
|
}
|
|
1296
1296
|
h.send(i || null);
|
|
@@ -1326,7 +1326,7 @@ var wn = function wn(t) {
|
|
|
1326
1326
|
}, u;
|
|
1327
1327
|
}
|
|
1328
1328
|
},
|
|
1329
|
-
|
|
1329
|
+
Ci = /*#__PURE__*/_regenerator().m(function Ci(t, e) {
|
|
1330
1330
|
var r, n, o;
|
|
1331
1331
|
return _regenerator().w(function (_context) {
|
|
1332
1332
|
while (1) switch (_context.n) {
|
|
@@ -1358,9 +1358,9 @@ var wn = function wn(t) {
|
|
|
1358
1358
|
case 6:
|
|
1359
1359
|
return _context.a(2);
|
|
1360
1360
|
}
|
|
1361
|
-
},
|
|
1361
|
+
}, Ci);
|
|
1362
1362
|
}),
|
|
1363
|
-
|
|
1363
|
+
_i = /*#__PURE__*/function () {
|
|
1364
1364
|
var _ref = _wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee(t, e) {
|
|
1365
1365
|
var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, r, _t3;
|
|
1366
1366
|
return _regenerator().w(function (_context2) {
|
|
@@ -1379,7 +1379,7 @@ var wn = function wn(t) {
|
|
|
1379
1379
|
break;
|
|
1380
1380
|
}
|
|
1381
1381
|
r = _step.value;
|
|
1382
|
-
return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(
|
|
1382
|
+
return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(Ci(r, e)), _awaitAsyncGenerator)), 4);
|
|
1383
1383
|
case 4:
|
|
1384
1384
|
_iteratorAbruptCompletion = false;
|
|
1385
1385
|
_context2.n = 2;
|
|
@@ -1417,7 +1417,7 @@ var wn = function wn(t) {
|
|
|
1417
1417
|
}
|
|
1418
1418
|
}, _callee, null, [[8,, 9, 11], [1, 6, 7, 12]]);
|
|
1419
1419
|
}));
|
|
1420
|
-
return function
|
|
1420
|
+
return function _i(_x, _x2) {
|
|
1421
1421
|
return _ref.apply(this, arguments);
|
|
1422
1422
|
};
|
|
1423
1423
|
}(),
|
|
@@ -1471,7 +1471,7 @@ var wn = function wn(t) {
|
|
|
1471
1471
|
};
|
|
1472
1472
|
}(),
|
|
1473
1473
|
ur = function ur(t, e, r, n) {
|
|
1474
|
-
var o =
|
|
1474
|
+
var o = _i(t, e);
|
|
1475
1475
|
var i = 0,
|
|
1476
1476
|
a,
|
|
1477
1477
|
s = function s(u) {
|
|
@@ -1677,13 +1677,13 @@ var wn = function wn(t) {
|
|
|
1677
1677
|
}();
|
|
1678
1678
|
return /*#__PURE__*/function () {
|
|
1679
1679
|
var _ref15 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(d) {
|
|
1680
|
-
var _wn, m, h, b,
|
|
1680
|
+
var _wn, m, h, b, O, g, E, P, U, T, V, _wn$withCredentials, L, M, Z, k, _, F, B, K, se, _sr, _sr2, it, $e, N, ae, j, ve, _K, _se, _ref16, _ref17, _it, _$e, we, _t8, _t9, _t0;
|
|
1681
1681
|
return _regenerator().w(function (_context8) {
|
|
1682
1682
|
while (1) switch (_context8.p = _context8.n) {
|
|
1683
1683
|
case 0:
|
|
1684
|
-
_wn = wn(d), m = _wn.url, h = _wn.method, b = _wn.data,
|
|
1684
|
+
_wn = wn(d), m = _wn.url, h = _wn.method, b = _wn.data, O = _wn.signal, g = _wn.cancelToken, E = _wn.timeout, P = _wn.onDownloadProgress, U = _wn.onUploadProgress, T = _wn.responseType, V = _wn.headers, _wn$withCredentials = _wn.withCredentials, L = _wn$withCredentials === void 0 ? "same-origin" : _wn$withCredentials, M = _wn.fetchOptions, Z = e || fetch;
|
|
1685
1685
|
T = T ? (T + "").toLowerCase() : "text";
|
|
1686
|
-
k = xi([
|
|
1686
|
+
k = xi([O, g && g.toAbortSignal()], E), _ = null;
|
|
1687
1687
|
F = k && k.unsubscribe && function () {
|
|
1688
1688
|
k.unsubscribe();
|
|
1689
1689
|
};
|
|
@@ -1709,7 +1709,7 @@ var wn = function wn(t) {
|
|
|
1709
1709
|
duplex: "half"
|
|
1710
1710
|
});
|
|
1711
1711
|
if (f.isFormData(b) && (se = K.headers.get("content-type")) && V.setContentType(se), K.body) {
|
|
1712
|
-
_sr = sr(B,
|
|
1712
|
+
_sr = sr(B, We(lr(U))), _sr2 = _slicedToArray(_sr, 2), it = _sr2[0], $e = _sr2[1];
|
|
1713
1713
|
b = ur(K.body, fr, it, $e);
|
|
1714
1714
|
}
|
|
1715
1715
|
case 4:
|
|
@@ -1722,18 +1722,18 @@ var wn = function wn(t) {
|
|
|
1722
1722
|
duplex: "half",
|
|
1723
1723
|
credentials: N ? L : void 0
|
|
1724
1724
|
});
|
|
1725
|
-
|
|
1725
|
+
_ = i && new r(m, ae);
|
|
1726
1726
|
_context8.n = 5;
|
|
1727
|
-
return i ? Z(
|
|
1727
|
+
return i ? Z(_, M) : Z(m, ae);
|
|
1728
1728
|
case 5:
|
|
1729
1729
|
j = _context8.v;
|
|
1730
1730
|
ve = l && (T === "stream" || T === "response");
|
|
1731
|
-
if (l && (
|
|
1731
|
+
if (l && (P || ve && F)) {
|
|
1732
1732
|
_K = {};
|
|
1733
1733
|
["status", "statusText", "headers"].forEach(function (tr) {
|
|
1734
1734
|
_K[tr] = j[tr];
|
|
1735
1735
|
});
|
|
1736
|
-
_se = f.toFiniteNumber(j.headers.get("content-length")), _ref16 =
|
|
1736
|
+
_se = f.toFiniteNumber(j.headers.get("content-length")), _ref16 = P && sr(_se, We(lr(P), !0)) || [], _ref17 = _slicedToArray(_ref16, 2), _it = _ref17[0], _$e = _ref17[1];
|
|
1737
1737
|
j = new n(ur(j.body, fr, _it, function () {
|
|
1738
1738
|
_$e && _$e(), F && F();
|
|
1739
1739
|
}), _K);
|
|
@@ -1752,7 +1752,7 @@ var wn = function wn(t) {
|
|
|
1752
1752
|
status: j.status,
|
|
1753
1753
|
statusText: j.statusText,
|
|
1754
1754
|
config: d,
|
|
1755
|
-
request:
|
|
1755
|
+
request: _
|
|
1756
1756
|
});
|
|
1757
1757
|
});
|
|
1758
1758
|
case 7:
|
|
@@ -1760,9 +1760,9 @@ var wn = function wn(t) {
|
|
|
1760
1760
|
case 8:
|
|
1761
1761
|
_context8.p = 8;
|
|
1762
1762
|
_t0 = _context8.v;
|
|
1763
|
-
throw F && F(), _t0 && _t0.name === "TypeError" && /Load failed|fetch/i.test(_t0.message) ? Object.assign(new w("Network Error", w.ERR_NETWORK, d,
|
|
1763
|
+
throw F && F(), _t0 && _t0.name === "TypeError" && /Load failed|fetch/i.test(_t0.message) ? Object.assign(new w("Network Error", w.ERR_NETWORK, d, _), {
|
|
1764
1764
|
cause: _t0.cause || _t0
|
|
1765
|
-
}) : w.from(_t0, _t0 && _t0.code, d,
|
|
1765
|
+
}) : w.from(_t0, _t0 && _t0.code, d, _);
|
|
1766
1766
|
case 9:
|
|
1767
1767
|
return _context8.a(2);
|
|
1768
1768
|
}
|
|
@@ -1855,7 +1855,7 @@ function lt(t) {
|
|
|
1855
1855
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted) throw new me(null, t);
|
|
1856
1856
|
}
|
|
1857
1857
|
function mr(t) {
|
|
1858
|
-
return lt(t), t.headers = D.from(t.headers), t.data = st.call(t, t.transformRequest), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", false), Sn.getAdapter(t.adapter ||
|
|
1858
|
+
return lt(t), t.headers = D.from(t.headers), t.data = st.call(t, t.transformRequest), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", false), Sn.getAdapter(t.adapter || _e.adapter, t)(t).then(function (n) {
|
|
1859
1859
|
return lt(t), n.data = st.call(t, t.transformResponse, n), n.headers = D.from(n.headers), n;
|
|
1860
1860
|
}, function (n) {
|
|
1861
1861
|
return mn(n) || (lt(t), n && n.response && (n.response.data = st.call(t, t.transformResponse, n.response), n.response.headers = D.from(n.response.headers))), Promise.reject(n);
|
|
@@ -2231,28 +2231,28 @@ function On(t) {
|
|
|
2231
2231
|
return On(ne(t, o));
|
|
2232
2232
|
}, r;
|
|
2233
2233
|
}
|
|
2234
|
-
var
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2234
|
+
var R = On(_e);
|
|
2235
|
+
R.Axios = te;
|
|
2236
|
+
R.CanceledError = me;
|
|
2237
|
+
R.CancelToken = Jt;
|
|
2238
|
+
R.isCancel = mn;
|
|
2239
|
+
R.VERSION = En;
|
|
2240
|
+
R.toFormData = Ye;
|
|
2241
|
+
R.AxiosError = w;
|
|
2242
|
+
R.Cancel = R.CanceledError;
|
|
2243
|
+
R.all = function (e) {
|
|
2244
2244
|
return Promise.all(e);
|
|
2245
2245
|
};
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2246
|
+
R.spread = Bi;
|
|
2247
|
+
R.isAxiosError = Mi;
|
|
2248
|
+
R.mergeConfig = ne;
|
|
2249
|
+
R.AxiosHeaders = D;
|
|
2250
|
+
R.formToJSON = function (t) {
|
|
2251
2251
|
return hn(f.isHTMLForm(t) ? new FormData(t) : t);
|
|
2252
2252
|
};
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2253
|
+
R.getAdapter = Sn.getAdapter;
|
|
2254
|
+
R.HttpStatusCode = $t;
|
|
2255
|
+
R["default"] = R;
|
|
2256
2256
|
var vr = (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" ? globalThis : (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window : (typeof global === "undefined" ? "undefined" : _typeof(global)) < "u" ? global : (typeof self === "undefined" ? "undefined" : _typeof(self)) < "u" ? self : {};
|
|
2257
2257
|
function ki(t) {
|
|
2258
2258
|
return t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t["default"] : t;
|
|
@@ -2286,7 +2286,7 @@ var ji = {},
|
|
|
2286
2286
|
}, Symbol.toStringTag, {
|
|
2287
2287
|
value: "Module"
|
|
2288
2288
|
})),
|
|
2289
|
-
|
|
2289
|
+
zi = /* @__PURE__ */qi(Hi);
|
|
2290
2290
|
var Vt = typeof Map == "function" && Map.prototype,
|
|
2291
2291
|
ct = Object.getOwnPropertyDescriptor && Vt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null,
|
|
2292
2292
|
Ge = Vt && ct && typeof ct.get == "function" ? ct.get : null,
|
|
@@ -2295,8 +2295,8 @@ var Vt = typeof Map == "function" && Map.prototype,
|
|
|
2295
2295
|
ut = Object.getOwnPropertyDescriptor && Kt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null,
|
|
2296
2296
|
Je = Kt && ut && typeof ut.get == "function" ? ut.get : null,
|
|
2297
2297
|
br = Kt && Set.prototype.forEach,
|
|
2298
|
-
|
|
2299
|
-
Ee =
|
|
2298
|
+
Wi = typeof WeakMap == "function" && WeakMap.prototype,
|
|
2299
|
+
Ee = Wi ? WeakMap.prototype.has : null,
|
|
2300
2300
|
Gi = typeof WeakSet == "function" && WeakSet.prototype,
|
|
2301
2301
|
Oe = Gi ? WeakSet.prototype.has : null,
|
|
2302
2302
|
Ji = typeof WeakRef == "function" && WeakRef.prototype,
|
|
@@ -2336,7 +2336,7 @@ function Pr(t, e) {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
return Q.call(e, r, "$&_");
|
|
2338
2338
|
}
|
|
2339
|
-
var Lt =
|
|
2339
|
+
var Lt = zi,
|
|
2340
2340
|
Tr = Lt.custom,
|
|
2341
2341
|
xr = xn(Tr) ? Tr : null,
|
|
2342
2342
|
Pn = {
|
|
@@ -2361,7 +2361,7 @@ var Lt = Wi,
|
|
|
2361
2361
|
if (_typeof(e) > "u") return "undefined";
|
|
2362
2362
|
if (e === null) return "null";
|
|
2363
2363
|
if (typeof e == "boolean") return e ? "true" : "false";
|
|
2364
|
-
if (typeof e == "string") return
|
|
2364
|
+
if (typeof e == "string") return _n(e, i);
|
|
2365
2365
|
if (typeof e == "number") {
|
|
2366
2366
|
if (e === 0) return 1 / 0 / e > 0 ? "0" : "-0";
|
|
2367
2367
|
var u = String(e);
|
|
@@ -2374,17 +2374,17 @@ var Lt = Wi,
|
|
|
2374
2374
|
var l = _typeof(i.depth) > "u" ? 5 : i.depth;
|
|
2375
2375
|
if (_typeof(n) > "u" && (n = 0), n >= l && l > 0 && _typeof(e) == "object") return Bt(e) ? "[Array]" : "[Object]";
|
|
2376
2376
|
var p = va(i, n);
|
|
2377
|
-
if (_typeof(o) > "u") o = [];else if (
|
|
2378
|
-
function y(
|
|
2377
|
+
if (_typeof(o) > "u") o = [];else if (Cn(o, e) >= 0) return "[Circular]";
|
|
2378
|
+
function y(_, F, B) {
|
|
2379
2379
|
if (F && (o = Yi.call(o), o.push(F)), B) {
|
|
2380
2380
|
var N = {
|
|
2381
2381
|
depth: i.depth
|
|
2382
2382
|
};
|
|
2383
|
-
return J(i, "quoteStyle") && (N.quoteStyle = i.quoteStyle), t(
|
|
2383
|
+
return J(i, "quoteStyle") && (N.quoteStyle = i.quoteStyle), t(_, N, n + 1, o);
|
|
2384
2384
|
}
|
|
2385
|
-
return t(
|
|
2385
|
+
return t(_, i, n + 1, o);
|
|
2386
2386
|
}
|
|
2387
|
-
if (typeof e == "function" && !
|
|
2387
|
+
if (typeof e == "function" && !Cr(e)) {
|
|
2388
2388
|
var v = ca(e),
|
|
2389
2389
|
d = Ue(e, y);
|
|
2390
2390
|
return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (d.length > 0 ? " { " + G.call(d, ", ") + " }" : "");
|
|
@@ -2394,7 +2394,7 @@ var Lt = Wi,
|
|
|
2394
2394
|
return _typeof(e) == "object" && !de ? Se(m) : m;
|
|
2395
2395
|
}
|
|
2396
2396
|
if (ha(e)) {
|
|
2397
|
-
for (var h = "<" + Er.call(String(e.nodeName)), b = e.attributes || [],
|
|
2397
|
+
for (var h = "<" + Er.call(String(e.nodeName)), b = e.attributes || [], O = 0; O < b.length; O++) h += " " + b[O].name + "=" + Tn(ta(b[O].value), "double", i);
|
|
2398
2398
|
return h += ">", e.childNodes && e.childNodes.length && (h += "..."), h += "</" + Er.call(String(e.nodeName)) + ">", h;
|
|
2399
2399
|
}
|
|
2400
2400
|
if (Bt(e)) {
|
|
@@ -2413,16 +2413,16 @@ var Lt = Wi,
|
|
|
2413
2413
|
if (a !== "symbol" && typeof e.inspect == "function") return e.inspect();
|
|
2414
2414
|
}
|
|
2415
2415
|
if (ua(e)) {
|
|
2416
|
-
var
|
|
2417
|
-
return wr && wr.call(e, function (
|
|
2418
|
-
|
|
2419
|
-
}),
|
|
2416
|
+
var P = [];
|
|
2417
|
+
return wr && wr.call(e, function (_, F) {
|
|
2418
|
+
P.push(y(F, e, true) + " => " + y(_, e));
|
|
2419
|
+
}), _r("Map", Ge.call(e), P, p);
|
|
2420
2420
|
}
|
|
2421
2421
|
if (da(e)) {
|
|
2422
2422
|
var U = [];
|
|
2423
|
-
return br && br.call(e, function (
|
|
2424
|
-
U.push(y(
|
|
2425
|
-
}),
|
|
2423
|
+
return br && br.call(e, function (_) {
|
|
2424
|
+
U.push(y(_, e));
|
|
2425
|
+
}), _r("Set", Je.call(e), U, p);
|
|
2426
2426
|
}
|
|
2427
2427
|
if (fa(e)) return pt("WeakMap");
|
|
2428
2428
|
if (ya(e)) return pt("WeakSet");
|
|
@@ -2433,7 +2433,7 @@ var Lt = Wi,
|
|
|
2433
2433
|
if (oa(e)) return Se(y(String(e)));
|
|
2434
2434
|
if ((typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && e === window) return "{ [object Window] }";
|
|
2435
2435
|
if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" && e === globalThis || _typeof(vr) < "u" && e === vr) return "{ [object globalThis] }";
|
|
2436
|
-
if (!ra(e) && !
|
|
2436
|
+
if (!ra(e) && !Cr(e)) {
|
|
2437
2437
|
var T = Ue(e, y),
|
|
2438
2438
|
V = Rr ? Rr(e) === Object.prototype : e instanceof Object || e.constructor === Object,
|
|
2439
2439
|
L = e instanceof Object ? "" : "null prototype",
|
|
@@ -2461,7 +2461,7 @@ function Bt(t) {
|
|
|
2461
2461
|
function ra(t) {
|
|
2462
2462
|
return X(t) === "[object Date]" && ie(t);
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2464
|
+
function Cr(t) {
|
|
2465
2465
|
return X(t) === "[object RegExp]" && ie(t);
|
|
2466
2466
|
}
|
|
2467
2467
|
function na(t) {
|
|
@@ -2506,7 +2506,7 @@ function ca(t) {
|
|
|
2506
2506
|
var e = Xi.call(Qi.call(t), /^function\s*([\w$]+)/);
|
|
2507
2507
|
return e ? e[1] : null;
|
|
2508
2508
|
}
|
|
2509
|
-
function
|
|
2509
|
+
function Cn(t, e) {
|
|
2510
2510
|
if (t.indexOf) return t.indexOf(e);
|
|
2511
2511
|
for (var r = 0, n = t.length; r < n; r++) if (t[r] === e) return r;
|
|
2512
2512
|
return -1;
|
|
@@ -2573,11 +2573,11 @@ function ya(t) {
|
|
|
2573
2573
|
function ha(t) {
|
|
2574
2574
|
return !t || _typeof(t) != "object" ? false : (typeof HTMLElement === "undefined" ? "undefined" : _typeof(HTMLElement)) < "u" && t instanceof HTMLElement ? true : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
|
|
2575
2575
|
}
|
|
2576
|
-
function
|
|
2576
|
+
function _n(t, e) {
|
|
2577
2577
|
if (t.length > e.maxStringLength) {
|
|
2578
2578
|
var r = t.length - e.maxStringLength,
|
|
2579
2579
|
n = "... " + r + " more character" + (r > 1 ? "s" : "");
|
|
2580
|
-
return
|
|
2580
|
+
return _n(Qt.call(t, 0, e.maxStringLength), e) + n;
|
|
2581
2581
|
}
|
|
2582
2582
|
var o = ea[e.quoteStyle || "single"];
|
|
2583
2583
|
o.lastIndex = 0;
|
|
@@ -2601,12 +2601,12 @@ function Se(t) {
|
|
|
2601
2601
|
function pt(t) {
|
|
2602
2602
|
return t + " { ? }";
|
|
2603
2603
|
}
|
|
2604
|
-
function
|
|
2604
|
+
function _r(t, e, r, n) {
|
|
2605
2605
|
var o = n ? Mt(r, n) : G.call(r, ", ");
|
|
2606
2606
|
return t + " (" + e + ") {" + o + "}";
|
|
2607
2607
|
}
|
|
2608
2608
|
function ga(t) {
|
|
2609
|
-
for (var e = 0; e < t.length; e++) if (
|
|
2609
|
+
for (var e = 0; e < t.length; e++) if (Cn(t[e], "\n") >= 0) return false;
|
|
2610
2610
|
return true;
|
|
2611
2611
|
}
|
|
2612
2612
|
function va(t, e) {
|
|
@@ -2697,8 +2697,8 @@ var wa = tt,
|
|
|
2697
2697
|
Pa = Error,
|
|
2698
2698
|
Ta = EvalError,
|
|
2699
2699
|
xa = RangeError,
|
|
2700
|
-
|
|
2701
|
-
|
|
2700
|
+
Ca = ReferenceError,
|
|
2701
|
+
_a = SyntaxError,
|
|
2702
2702
|
Fa = URIError,
|
|
2703
2703
|
Na = Math.abs,
|
|
2704
2704
|
Ia = Math.floor,
|
|
@@ -2755,7 +2755,7 @@ function Ha() {
|
|
|
2755
2755
|
}), dt;
|
|
2756
2756
|
}
|
|
2757
2757
|
var yt, Nr;
|
|
2758
|
-
function
|
|
2758
|
+
function za() {
|
|
2759
2759
|
if (Nr) return yt;
|
|
2760
2760
|
Nr = 1;
|
|
2761
2761
|
var t = (typeof Symbol === "undefined" ? "undefined" : _typeof(Symbol)) < "u" && Symbol,
|
|
@@ -2776,7 +2776,7 @@ function $n() {
|
|
|
2776
2776
|
return mt = t.getPrototypeOf || null, mt;
|
|
2777
2777
|
}
|
|
2778
2778
|
var gt, Dr;
|
|
2779
|
-
function
|
|
2779
|
+
function Wa() {
|
|
2780
2780
|
if (Dr) return gt;
|
|
2781
2781
|
Dr = 1;
|
|
2782
2782
|
var t = "Function.prototype.bind called on incompatible ",
|
|
@@ -2817,7 +2817,7 @@ var vt, Ur;
|
|
|
2817
2817
|
function nt() {
|
|
2818
2818
|
if (Ur) return vt;
|
|
2819
2819
|
Ur = 1;
|
|
2820
|
-
var t =
|
|
2820
|
+
var t = Wa();
|
|
2821
2821
|
return vt = Function.prototype.bind || t, vt;
|
|
2822
2822
|
}
|
|
2823
2823
|
var wt, Lr;
|
|
@@ -2895,8 +2895,8 @@ var S,
|
|
|
2895
2895
|
as = Pa,
|
|
2896
2896
|
ss = Ta,
|
|
2897
2897
|
ls = xa,
|
|
2898
|
-
cs =
|
|
2899
|
-
ye =
|
|
2898
|
+
cs = Ca,
|
|
2899
|
+
ye = _a,
|
|
2900
2900
|
fe = ge,
|
|
2901
2901
|
us = Fa,
|
|
2902
2902
|
fs = Na,
|
|
@@ -2928,20 +2928,20 @@ var S,
|
|
|
2928
2928
|
}
|
|
2929
2929
|
}
|
|
2930
2930
|
}() : Rt,
|
|
2931
|
-
le =
|
|
2932
|
-
|
|
2931
|
+
le = za()(),
|
|
2932
|
+
C = ns(),
|
|
2933
2933
|
bs = $n(),
|
|
2934
2934
|
Ss = In(),
|
|
2935
2935
|
Bn = Dn(),
|
|
2936
2936
|
Fe = Xt(),
|
|
2937
2937
|
ue = {},
|
|
2938
|
-
Es = (typeof Uint8Array === "undefined" ? "undefined" : _typeof(Uint8Array)) > "u" || !
|
|
2938
|
+
Es = (typeof Uint8Array === "undefined" ? "undefined" : _typeof(Uint8Array)) > "u" || !C ? S : C(Uint8Array),
|
|
2939
2939
|
re = {
|
|
2940
2940
|
__proto__: null,
|
|
2941
2941
|
"%AggregateError%": (typeof AggregateError === "undefined" ? "undefined" : _typeof(AggregateError)) > "u" ? S : AggregateError,
|
|
2942
2942
|
"%Array%": Array,
|
|
2943
2943
|
"%ArrayBuffer%": (typeof ArrayBuffer === "undefined" ? "undefined" : _typeof(ArrayBuffer)) > "u" ? S : ArrayBuffer,
|
|
2944
|
-
"%ArrayIteratorPrototype%": le &&
|
|
2944
|
+
"%ArrayIteratorPrototype%": le && C ? C([][Symbol.iterator]()) : S,
|
|
2945
2945
|
"%AsyncFromSyncIteratorPrototype%": S,
|
|
2946
2946
|
"%AsyncFunction%": ue,
|
|
2947
2947
|
"%AsyncGenerator%": ue,
|
|
@@ -2973,10 +2973,10 @@ var S,
|
|
|
2973
2973
|
"%Int32Array%": (typeof Int32Array === "undefined" ? "undefined" : _typeof(Int32Array)) > "u" ? S : Int32Array,
|
|
2974
2974
|
"%isFinite%": isFinite,
|
|
2975
2975
|
"%isNaN%": isNaN,
|
|
2976
|
-
"%IteratorPrototype%": le &&
|
|
2976
|
+
"%IteratorPrototype%": le && C ? C(C([][Symbol.iterator]())) : S,
|
|
2977
2977
|
"%JSON%": (typeof JSON === "undefined" ? "undefined" : _typeof(JSON)) == "object" ? JSON : S,
|
|
2978
2978
|
"%Map%": (typeof Map === "undefined" ? "undefined" : _typeof(Map)) > "u" ? S : Map,
|
|
2979
|
-
"%MapIteratorPrototype%": (typeof Map === "undefined" ? "undefined" : _typeof(Map)) > "u" || !le || !
|
|
2979
|
+
"%MapIteratorPrototype%": (typeof Map === "undefined" ? "undefined" : _typeof(Map)) > "u" || !le || !C ? S : C((/* @__PURE__ */new Map())[Symbol.iterator]()),
|
|
2980
2980
|
"%Math%": Math,
|
|
2981
2981
|
"%Number%": Number,
|
|
2982
2982
|
"%Object%": is,
|
|
@@ -2990,10 +2990,10 @@ var S,
|
|
|
2990
2990
|
"%Reflect%": (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) > "u" ? S : Reflect,
|
|
2991
2991
|
"%RegExp%": RegExp,
|
|
2992
2992
|
"%Set%": (typeof Set === "undefined" ? "undefined" : _typeof(Set)) > "u" ? S : Set,
|
|
2993
|
-
"%SetIteratorPrototype%": (typeof Set === "undefined" ? "undefined" : _typeof(Set)) > "u" || !le || !
|
|
2993
|
+
"%SetIteratorPrototype%": (typeof Set === "undefined" ? "undefined" : _typeof(Set)) > "u" || !le || !C ? S : C((/* @__PURE__ */new Set())[Symbol.iterator]()),
|
|
2994
2994
|
"%SharedArrayBuffer%": (typeof SharedArrayBuffer === "undefined" ? "undefined" : _typeof(SharedArrayBuffer)) > "u" ? S : SharedArrayBuffer,
|
|
2995
2995
|
"%String%": String,
|
|
2996
|
-
"%StringIteratorPrototype%": le &&
|
|
2996
|
+
"%StringIteratorPrototype%": le && C ? C(""[Symbol.iterator]()) : S,
|
|
2997
2997
|
"%Symbol%": le ? Symbol : S,
|
|
2998
2998
|
"%SyntaxError%": ye,
|
|
2999
2999
|
"%ThrowTypeError%": ws,
|
|
@@ -3020,10 +3020,10 @@ var S,
|
|
|
3020
3020
|
"%Math.sign%": gs,
|
|
3021
3021
|
"%Reflect.getPrototypeOf%": Ss
|
|
3022
3022
|
};
|
|
3023
|
-
if (
|
|
3023
|
+
if (C) try {
|
|
3024
3024
|
null.error;
|
|
3025
3025
|
} catch (t) {
|
|
3026
|
-
var Os =
|
|
3026
|
+
var Os = C(C(t));
|
|
3027
3027
|
re["%Error.prototype%"] = Os;
|
|
3028
3028
|
}
|
|
3029
3029
|
var As = function t(e) {
|
|
@@ -3033,7 +3033,7 @@ var As = function t(e) {
|
|
|
3033
3033
|
n && (r = n.prototype);
|
|
3034
3034
|
} else if (e === "%AsyncIteratorPrototype%") {
|
|
3035
3035
|
var o = t("%AsyncGenerator%");
|
|
3036
|
-
o &&
|
|
3036
|
+
o && C && (r = C(o.prototype));
|
|
3037
3037
|
}
|
|
3038
3038
|
return re[e] = r, r;
|
|
3039
3039
|
},
|
|
@@ -3099,15 +3099,15 @@ var As = function t(e) {
|
|
|
3099
3099
|
Ke = Ne.call(Fe, String.prototype.slice),
|
|
3100
3100
|
Ts = Ne.call(Fe, RegExp.prototype.exec),
|
|
3101
3101
|
xs = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
|
|
3102
|
-
|
|
3103
|
-
|
|
3102
|
+
Cs = /\\(\\)?/g,
|
|
3103
|
+
_s = function _s(e) {
|
|
3104
3104
|
var r = Ke(e, 0, 1),
|
|
3105
3105
|
n = Ke(e, -1);
|
|
3106
3106
|
if (r === "%" && n !== "%") throw new ye("invalid intrinsic syntax, expected closing `%`");
|
|
3107
3107
|
if (n === "%" && r !== "%") throw new ye("invalid intrinsic syntax, expected opening `%`");
|
|
3108
3108
|
var o = [];
|
|
3109
3109
|
return Hr(e, xs, function (i, a, s, u) {
|
|
3110
|
-
o[o.length] = s ? Hr(u,
|
|
3110
|
+
o[o.length] = s ? Hr(u, Cs, "$1") : a || i;
|
|
3111
3111
|
}), o;
|
|
3112
3112
|
},
|
|
3113
3113
|
Fs = function Fs(e, r) {
|
|
@@ -3128,7 +3128,7 @@ var As = function t(e) {
|
|
|
3128
3128
|
if (typeof e != "string" || e.length === 0) throw new fe("intrinsic name must be a non-empty string");
|
|
3129
3129
|
if (arguments.length > 1 && typeof r != "boolean") throw new fe('"allowMissing" argument must be a boolean');
|
|
3130
3130
|
if (Ts(/^%?[^%]*%?$/, e) === null) throw new ye("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
3131
|
-
var n =
|
|
3131
|
+
var n = _s(e),
|
|
3132
3132
|
o = n.length > 0 ? n[0] : "",
|
|
3133
3133
|
i = Fs("%" + o + "%", r),
|
|
3134
3134
|
a = i.name,
|
|
@@ -3168,13 +3168,13 @@ var As = function t(e) {
|
|
|
3168
3168
|
Ie = qn,
|
|
3169
3169
|
$s = tt,
|
|
3170
3170
|
Ds = ge,
|
|
3171
|
-
|
|
3171
|
+
zr = Is("%Map%", true),
|
|
3172
3172
|
Us = Ie("Map.prototype.get", true),
|
|
3173
3173
|
Ls = Ie("Map.prototype.set", true),
|
|
3174
3174
|
Bs = Ie("Map.prototype.has", true),
|
|
3175
3175
|
Ms = Ie("Map.prototype.delete", true),
|
|
3176
3176
|
ks = Ie("Map.prototype.size", true),
|
|
3177
|
-
jn = !!
|
|
3177
|
+
jn = !!zr && /** @type {Exclude<import('.'), false>} */
|
|
3178
3178
|
function () {
|
|
3179
3179
|
var e,
|
|
3180
3180
|
r = {
|
|
@@ -3195,7 +3195,7 @@ var As = function t(e) {
|
|
|
3195
3195
|
return e ? Bs(e, n) : false;
|
|
3196
3196
|
},
|
|
3197
3197
|
set: function set(n, o) {
|
|
3198
|
-
e || (e = new
|
|
3198
|
+
e || (e = new zr()), Ls(e, n, o);
|
|
3199
3199
|
}
|
|
3200
3200
|
};
|
|
3201
3201
|
return r;
|
|
@@ -3206,8 +3206,8 @@ var As = function t(e) {
|
|
|
3206
3206
|
Le = jn,
|
|
3207
3207
|
Hs = ge,
|
|
3208
3208
|
ce = qs("%WeakMap%", true),
|
|
3209
|
-
|
|
3210
|
-
|
|
3209
|
+
zs = ot("WeakMap.prototype.get", true),
|
|
3210
|
+
Ws = ot("WeakMap.prototype.set", true),
|
|
3211
3211
|
Gs = ot("WeakMap.prototype.has", true),
|
|
3212
3212
|
Js = ot("WeakMap.prototype.delete", true),
|
|
3213
3213
|
Vs = ce ? (/** @type {Exclude<import('.'), false>} */
|
|
@@ -3225,13 +3225,13 @@ var As = function t(e) {
|
|
|
3225
3225
|
return false;
|
|
3226
3226
|
},
|
|
3227
3227
|
get: function get(o) {
|
|
3228
|
-
return ce && o && (_typeof(o) == "object" || typeof o == "function") && e ?
|
|
3228
|
+
return ce && o && (_typeof(o) == "object" || typeof o == "function") && e ? zs(e, o) : r && r.get(o);
|
|
3229
3229
|
},
|
|
3230
3230
|
has: function has(o) {
|
|
3231
3231
|
return ce && o && (_typeof(o) == "object" || typeof o == "function") && e ? Gs(e, o) : !!r && r.has(o);
|
|
3232
3232
|
},
|
|
3233
3233
|
set: function set(o, i) {
|
|
3234
|
-
ce && o && (_typeof(o) == "object" || typeof o == "function") ? (e || (e = new ce()),
|
|
3234
|
+
ce && o && (_typeof(o) == "object" || typeof o == "function") ? (e || (e = new ce()), Ws(e, o, i)) : Le && (r || (r = Le()), r.set(o, i));
|
|
3235
3235
|
}
|
|
3236
3236
|
};
|
|
3237
3237
|
return n;
|
|
@@ -3285,7 +3285,7 @@ var As = function t(e) {
|
|
|
3285
3285
|
ol = Yt,
|
|
3286
3286
|
Tt = Object.prototype.hasOwnProperty,
|
|
3287
3287
|
Y = Array.isArray,
|
|
3288
|
-
|
|
3288
|
+
z = function () {
|
|
3289
3289
|
for (var t = [], e = 0; e < 256; ++e) t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
3290
3290
|
return t;
|
|
3291
3291
|
}(),
|
|
@@ -3352,18 +3352,18 @@ var As = function t(e) {
|
|
|
3352
3352
|
continue;
|
|
3353
3353
|
}
|
|
3354
3354
|
if (y < 128) {
|
|
3355
|
-
l[l.length] =
|
|
3355
|
+
l[l.length] = z[y];
|
|
3356
3356
|
continue;
|
|
3357
3357
|
}
|
|
3358
3358
|
if (y < 2048) {
|
|
3359
|
-
l[l.length] =
|
|
3359
|
+
l[l.length] = z[192 | y >> 6] + z[128 | y & 63];
|
|
3360
3360
|
continue;
|
|
3361
3361
|
}
|
|
3362
3362
|
if (y < 55296 || y >= 57344) {
|
|
3363
|
-
l[l.length] =
|
|
3363
|
+
l[l.length] = z[224 | y >> 12] + z[128 | y >> 6 & 63] + z[128 | y & 63];
|
|
3364
3364
|
continue;
|
|
3365
3365
|
}
|
|
3366
|
-
p += 1, y = 65536 + ((y & 1023) << 10 | c.charCodeAt(p) & 1023), l[l.length] =
|
|
3366
|
+
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];
|
|
3367
3367
|
}
|
|
3368
3368
|
s += l.join("");
|
|
3369
3369
|
}
|
|
@@ -3401,7 +3401,7 @@ var As = function t(e) {
|
|
|
3401
3401
|
}
|
|
3402
3402
|
return r(e);
|
|
3403
3403
|
},
|
|
3404
|
-
|
|
3404
|
+
zn = {
|
|
3405
3405
|
arrayToObject: Hn,
|
|
3406
3406
|
assign: sl,
|
|
3407
3407
|
combine: dl,
|
|
@@ -3413,8 +3413,8 @@ var As = function t(e) {
|
|
|
3413
3413
|
maybeMap: yl,
|
|
3414
3414
|
merge: al
|
|
3415
3415
|
},
|
|
3416
|
-
|
|
3417
|
-
|
|
3416
|
+
Wn = tl,
|
|
3417
|
+
ze = zn,
|
|
3418
3418
|
Re = Yt,
|
|
3419
3419
|
hl = Object.prototype.hasOwnProperty,
|
|
3420
3420
|
Gn = {
|
|
@@ -3429,13 +3429,13 @@ var As = function t(e) {
|
|
|
3429
3429
|
return e;
|
|
3430
3430
|
}
|
|
3431
3431
|
},
|
|
3432
|
-
|
|
3432
|
+
W = Array.isArray,
|
|
3433
3433
|
ml = Array.prototype.push,
|
|
3434
3434
|
Jn = function Jn(t, e) {
|
|
3435
|
-
ml.apply(t,
|
|
3435
|
+
ml.apply(t, W(e) ? e : [e]);
|
|
3436
3436
|
},
|
|
3437
3437
|
gl = Date.prototype.toISOString,
|
|
3438
|
-
|
|
3438
|
+
Wr = Re["default"],
|
|
3439
3439
|
x = {
|
|
3440
3440
|
addQueryPrefix: false,
|
|
3441
3441
|
allowDots: false,
|
|
@@ -3447,11 +3447,11 @@ var As = function t(e) {
|
|
|
3447
3447
|
delimiter: "&",
|
|
3448
3448
|
encode: true,
|
|
3449
3449
|
encodeDotInKeys: false,
|
|
3450
|
-
encoder:
|
|
3450
|
+
encoder: ze.encode,
|
|
3451
3451
|
encodeValuesOnly: false,
|
|
3452
3452
|
filter: undefined,
|
|
3453
|
-
format:
|
|
3454
|
-
formatter: Re.formatters[
|
|
3453
|
+
format: Wr,
|
|
3454
|
+
formatter: Re.formatters[Wr],
|
|
3455
3455
|
// deprecated
|
|
3456
3456
|
indices: false,
|
|
3457
3457
|
serializeDate: function serializeDate(e) {
|
|
@@ -3463,23 +3463,23 @@ var As = function t(e) {
|
|
|
3463
3463
|
vl = function vl(e) {
|
|
3464
3464
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || _typeof(e) == "symbol" || typeof e == "bigint";
|
|
3465
3465
|
},
|
|
3466
|
-
|
|
3467
|
-
wl = function t(e, r, n, o, i, a, s, u, c, l, p, y, v, d, m, h, b,
|
|
3468
|
-
for (var g = e, E =
|
|
3466
|
+
Ct = {},
|
|
3467
|
+
wl = function t(e, r, n, o, i, a, s, u, c, l, p, y, v, d, m, h, b, O) {
|
|
3468
|
+
for (var g = e, E = O, P = 0, U = false; (E = E.get(Ct)) !== undefined && !U;) {
|
|
3469
3469
|
var T = E.get(e);
|
|
3470
|
-
if (
|
|
3471
|
-
if (T ===
|
|
3470
|
+
if (P += 1, _typeof(T) < "u") {
|
|
3471
|
+
if (T === P) throw new RangeError("Cyclic object value");
|
|
3472
3472
|
U = true;
|
|
3473
3473
|
}
|
|
3474
|
-
_typeof(E.get(
|
|
3474
|
+
_typeof(E.get(Ct)) > "u" && (P = 0);
|
|
3475
3475
|
}
|
|
3476
|
-
if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" &&
|
|
3476
|
+
if (typeof l == "function" ? g = l(r, g) : g instanceof Date ? g = v(g) : n === "comma" && W(g) && (g = ze.maybeMap(g, function (we) {
|
|
3477
3477
|
return we instanceof Date ? v(we) : we;
|
|
3478
3478
|
})), g === null) {
|
|
3479
3479
|
if (a) return c && !h ? c(r, x.encoder, b, "key", d) : r;
|
|
3480
3480
|
g = "";
|
|
3481
3481
|
}
|
|
3482
|
-
if (vl(g) ||
|
|
3482
|
+
if (vl(g) || ze.isBuffer(g)) {
|
|
3483
3483
|
if (c) {
|
|
3484
3484
|
var V = h ? r : c(r, x.encoder, b, "key", d);
|
|
3485
3485
|
return [m(V) + "=" + m(c(g, x.encoder, b, "value", d))];
|
|
@@ -3489,24 +3489,24 @@ var As = function t(e) {
|
|
|
3489
3489
|
var L = [];
|
|
3490
3490
|
if (_typeof(g) > "u") return L;
|
|
3491
3491
|
var M;
|
|
3492
|
-
if (n === "comma" &&
|
|
3492
|
+
if (n === "comma" && W(g)) h && c && (g = ze.maybeMap(g, c)), M = [{
|
|
3493
3493
|
value: g.length > 0 ? g.join(",") || null : undefined
|
|
3494
|
-
}];else if (
|
|
3494
|
+
}];else if (W(l)) M = l;else {
|
|
3495
3495
|
var Z = Object.keys(g);
|
|
3496
3496
|
M = p ? Z.sort(p) : Z;
|
|
3497
3497
|
}
|
|
3498
3498
|
var k = u ? String(r).replace(/\./g, "%2E") : String(r),
|
|
3499
|
-
|
|
3500
|
-
if (i &&
|
|
3499
|
+
_ = o && W(g) && g.length === 1 ? k + "[]" : k;
|
|
3500
|
+
if (i && W(g) && g.length === 0) return _ + "[]";
|
|
3501
3501
|
for (var F = 0; F < M.length; ++F) {
|
|
3502
3502
|
var B = M[F],
|
|
3503
3503
|
N = _typeof(B) == "object" && B && _typeof(B.value) < "u" ? B.value : g[B];
|
|
3504
3504
|
if (!(s && N === null)) {
|
|
3505
3505
|
var ae = y && u ? String(B).replace(/\./g, "%2E") : String(B),
|
|
3506
|
-
j =
|
|
3507
|
-
|
|
3508
|
-
var ve =
|
|
3509
|
-
ve.set(
|
|
3506
|
+
j = W(g) ? typeof n == "function" ? n(_, ae) : _ : _ + (y ? "." + ae : "[" + ae + "]");
|
|
3507
|
+
O.set(e, P);
|
|
3508
|
+
var ve = Wn();
|
|
3509
|
+
ve.set(Ct, O), Jn(L, t(N, j, n, o, i, a, s, u, n === "comma" && h && W(g) ? null : c, l, p, y, v, d, m, h, b, ve));
|
|
3510
3510
|
}
|
|
3511
3511
|
}
|
|
3512
3512
|
return L;
|
|
@@ -3525,7 +3525,7 @@ var As = function t(e) {
|
|
|
3525
3525
|
}
|
|
3526
3526
|
var o = Re.formatters[n],
|
|
3527
3527
|
i = x.filter;
|
|
3528
|
-
(typeof e.filter == "function" ||
|
|
3528
|
+
(typeof e.filter == "function" || W(e.filter)) && (i = e.filter);
|
|
3529
3529
|
var a;
|
|
3530
3530
|
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") throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
3531
3531
|
var s = _typeof(e.allowDots) > "u" ? e.encodeDotInKeys === true ? true : x.allowDots : !!e.allowDots;
|
|
@@ -3556,13 +3556,13 @@ var As = function t(e) {
|
|
|
3556
3556
|
n = bl(e),
|
|
3557
3557
|
o,
|
|
3558
3558
|
i;
|
|
3559
|
-
typeof n.filter == "function" ? (i = n.filter, r = i("", r)) :
|
|
3559
|
+
typeof n.filter == "function" ? (i = n.filter, r = i("", r)) : W(n.filter) && (i = n.filter, o = i);
|
|
3560
3560
|
var a = [];
|
|
3561
3561
|
if (_typeof(r) != "object" || r === null) return "";
|
|
3562
3562
|
var s = Gn[n.arrayFormat],
|
|
3563
3563
|
u = s === "comma" && n.commaRoundTrip;
|
|
3564
3564
|
o || (o = Object.keys(r)), n.sort && o.sort(n.sort);
|
|
3565
|
-
for (var c =
|
|
3565
|
+
for (var c = Wn(), l = 0; l < o.length; ++l) {
|
|
3566
3566
|
var p = o[l],
|
|
3567
3567
|
y = r[p];
|
|
3568
3568
|
n.skipNulls && y === null || Jn(a, wl(y, p, s, u, n.allowEmptyArrays, n.strictNullHandling, n.skipNulls, n.encodeDotInKeys, n.encode ? n.encoder : null, n.filter, n.sort, n.allowDots, n.serializeDate, n.format, n.formatter, n.encodeValuesOnly, n.charset, c));
|
|
@@ -3571,10 +3571,10 @@ var As = function t(e) {
|
|
|
3571
3571
|
d = n.addQueryPrefix === true ? "?" : "";
|
|
3572
3572
|
return n.charsetSentinel && (n.charset === "iso-8859-1" ? d += "utf8=%26%2310003%3B&" : d += "utf8=%E2%9C%93&"), v.length > 0 ? d + v : "";
|
|
3573
3573
|
},
|
|
3574
|
-
oe =
|
|
3574
|
+
oe = zn,
|
|
3575
3575
|
kt = Object.prototype.hasOwnProperty,
|
|
3576
3576
|
Gr = Array.isArray,
|
|
3577
|
-
|
|
3577
|
+
A = {
|
|
3578
3578
|
allowDots: false,
|
|
3579
3579
|
allowEmptyArrays: false,
|
|
3580
3580
|
allowPrototypes: false,
|
|
@@ -3628,8 +3628,8 @@ var As = function t(e) {
|
|
|
3628
3628
|
y = p === -1 ? l.indexOf("=") : p + 1,
|
|
3629
3629
|
v,
|
|
3630
3630
|
d;
|
|
3631
|
-
y === -1 ? (v = r.decoder(l,
|
|
3632
|
-
return r.decoder(h,
|
|
3631
|
+
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(Vn(l.slice(y + 1), r, Gr(n[v]) ? n[v].length : 0), function (h) {
|
|
3632
|
+
return r.decoder(h, A.decoder, c, "value");
|
|
3633
3633
|
})), d && r.interpretNumericEntities && c === "iso-8859-1" && (d = El(String(d))), l.indexOf("[]=") > -1 && (d = Gr(d) ? [d] : d);
|
|
3634
3634
|
var m = kt.call(n, v);
|
|
3635
3635
|
m && r.duplicates === "combine" ? n[v] = oe.combine(n[v], d) : (!m || r.duplicates === "last") && (n[v] = d);
|
|
@@ -3684,42 +3684,42 @@ var As = function t(e) {
|
|
|
3684
3684
|
}
|
|
3685
3685
|
},
|
|
3686
3686
|
xl = function xl(e) {
|
|
3687
|
-
if (!e) return
|
|
3687
|
+
if (!e) return A;
|
|
3688
3688
|
if (_typeof(e.allowEmptyArrays) < "u" && typeof e.allowEmptyArrays != "boolean") throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
3689
3689
|
if (_typeof(e.decodeDotInKeys) < "u" && typeof e.decodeDotInKeys != "boolean") throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
3690
3690
|
if (e.decoder !== null && _typeof(e.decoder) < "u" && typeof e.decoder != "function") throw new TypeError("Decoder has to be a function.");
|
|
3691
3691
|
if (_typeof(e.charset) < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1") throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
3692
3692
|
if (_typeof(e.throwOnLimitExceeded) < "u" && typeof e.throwOnLimitExceeded != "boolean") throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
3693
|
-
var r = _typeof(e.charset) > "u" ?
|
|
3694
|
-
n = _typeof(e.duplicates) > "u" ?
|
|
3693
|
+
var r = _typeof(e.charset) > "u" ? A.charset : e.charset,
|
|
3694
|
+
n = _typeof(e.duplicates) > "u" ? A.duplicates : e.duplicates;
|
|
3695
3695
|
if (n !== "combine" && n !== "first" && n !== "last") throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
3696
|
-
var o = _typeof(e.allowDots) > "u" ? e.decodeDotInKeys === true ? true :
|
|
3696
|
+
var o = _typeof(e.allowDots) > "u" ? e.decodeDotInKeys === true ? true : A.allowDots : !!e.allowDots;
|
|
3697
3697
|
return {
|
|
3698
3698
|
allowDots: o,
|
|
3699
|
-
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays :
|
|
3700
|
-
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes :
|
|
3701
|
-
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse :
|
|
3702
|
-
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit :
|
|
3699
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : A.allowEmptyArrays,
|
|
3700
|
+
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : A.allowPrototypes,
|
|
3701
|
+
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : A.allowSparse,
|
|
3702
|
+
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : A.arrayLimit,
|
|
3703
3703
|
charset: r,
|
|
3704
|
-
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel :
|
|
3705
|
-
comma: typeof e.comma == "boolean" ? e.comma :
|
|
3706
|
-
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys :
|
|
3707
|
-
decoder: typeof e.decoder == "function" ? e.decoder :
|
|
3708
|
-
delimiter: typeof e.delimiter == "string" || oe.isRegExp(e.delimiter) ? e.delimiter :
|
|
3704
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : A.charsetSentinel,
|
|
3705
|
+
comma: typeof e.comma == "boolean" ? e.comma : A.comma,
|
|
3706
|
+
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : A.decodeDotInKeys,
|
|
3707
|
+
decoder: typeof e.decoder == "function" ? e.decoder : A.decoder,
|
|
3708
|
+
delimiter: typeof e.delimiter == "string" || oe.isRegExp(e.delimiter) ? e.delimiter : A.delimiter,
|
|
3709
3709
|
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
3710
|
-
depth: typeof e.depth == "number" || e.depth === false ? +e.depth :
|
|
3710
|
+
depth: typeof e.depth == "number" || e.depth === false ? +e.depth : A.depth,
|
|
3711
3711
|
duplicates: n,
|
|
3712
3712
|
ignoreQueryPrefix: e.ignoreQueryPrefix === true,
|
|
3713
|
-
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities :
|
|
3714
|
-
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit :
|
|
3713
|
+
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : A.interpretNumericEntities,
|
|
3714
|
+
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : A.parameterLimit,
|
|
3715
3715
|
parseArrays: e.parseArrays !== false,
|
|
3716
|
-
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects :
|
|
3717
|
-
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth :
|
|
3718
|
-
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling :
|
|
3716
|
+
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : A.plainObjects,
|
|
3717
|
+
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : A.strictDepth,
|
|
3718
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : A.strictNullHandling,
|
|
3719
3719
|
throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : false
|
|
3720
3720
|
};
|
|
3721
3721
|
},
|
|
3722
|
-
|
|
3722
|
+
Cl = function Cl(t, e) {
|
|
3723
3723
|
var r = xl(e);
|
|
3724
3724
|
if (t === "" || t === null || _typeof(t) > "u") return r.plainObjects ? {
|
|
3725
3725
|
__proto__: null
|
|
@@ -3733,13 +3733,13 @@ var As = function t(e) {
|
|
|
3733
3733
|
}
|
|
3734
3734
|
return r.allowSparse === true ? o : oe.compact(o);
|
|
3735
3735
|
},
|
|
3736
|
-
|
|
3737
|
-
Fl =
|
|
3736
|
+
_l = Sl,
|
|
3737
|
+
Fl = Cl,
|
|
3738
3738
|
Nl = Yt,
|
|
3739
3739
|
Il = {
|
|
3740
3740
|
formats: Nl,
|
|
3741
3741
|
parse: Fl,
|
|
3742
|
-
stringify:
|
|
3742
|
+
stringify: _l
|
|
3743
3743
|
};
|
|
3744
3744
|
var $l = /* @__PURE__ */ki(Il);
|
|
3745
3745
|
/*! js-cookie v3.0.5 | MIT */
|
|
@@ -3856,11 +3856,11 @@ var Ul = 1e3,
|
|
|
3856
3856
|
return _ref22.apply(this, arguments);
|
|
3857
3857
|
};
|
|
3858
3858
|
}();
|
|
3859
|
-
var
|
|
3859
|
+
var _t = false;
|
|
3860
3860
|
var Ll = 5e3,
|
|
3861
3861
|
Xn = function Xn() {
|
|
3862
|
-
return
|
|
3863
|
-
|
|
3862
|
+
return _t ? false : (_t = true, setTimeout(function () {
|
|
3863
|
+
_t = false;
|
|
3864
3864
|
}, Ll), true);
|
|
3865
3865
|
},
|
|
3866
3866
|
Zn = function Zn() {
|
|
@@ -3869,7 +3869,12 @@ var Ll = 5e3,
|
|
|
3869
3869
|
var t = "/login";
|
|
3870
3870
|
location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = false, (e = window.top) != null && e.vueRouter ? (r = window.top) == null || r.vueRouter.replace(t) : window.location.replace("/#".concat(t)));
|
|
3871
3871
|
},
|
|
3872
|
-
Bl =
|
|
3872
|
+
Bl = function Bl() {
|
|
3873
|
+
return sso.getQuery("code") || "" || Qn ? false : Xn() ? (Kn ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
|
|
3874
|
+
redirect_uri: sso.real_uri
|
|
3875
|
+
})) : Zn(), true) : false;
|
|
3876
|
+
},
|
|
3877
|
+
Ml = /*#__PURE__*/function () {
|
|
3873
3878
|
var _ref23 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(t) {
|
|
3874
3879
|
var _t$data;
|
|
3875
3880
|
var r;
|
|
@@ -3880,13 +3885,13 @@ var Ll = 5e3,
|
|
|
3880
3885
|
}
|
|
3881
3886
|
}, _callee0);
|
|
3882
3887
|
}));
|
|
3883
|
-
return function
|
|
3888
|
+
return function Ml(_x11) {
|
|
3884
3889
|
return _ref23.apply(this, arguments);
|
|
3885
3890
|
};
|
|
3886
3891
|
}(),
|
|
3887
|
-
|
|
3892
|
+
kl = /*#__PURE__*/function () {
|
|
3888
3893
|
var _ref24 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(t, e) {
|
|
3889
|
-
var m, h, b,
|
|
3894
|
+
var d, m, h, b, _i18nBridge$getI18nBr, r, n, o, i, a, s, u, c, _ref25, O, g, E, _ref26, _ref27, _O, _g, _E, p, y, v, _t11, _t12, _t13;
|
|
3890
3895
|
return _regenerator().w(function (_context10) {
|
|
3891
3896
|
while (1) switch (_context10.n) {
|
|
3892
3897
|
case 0:
|
|
@@ -3897,33 +3902,31 @@ var Ll = 5e3,
|
|
|
3897
3902
|
404: r("接口地址未找到"),
|
|
3898
3903
|
500: r("服务器内部错误")
|
|
3899
3904
|
};
|
|
3900
|
-
s = ((
|
|
3901
|
-
u =
|
|
3902
|
-
if (!(
|
|
3905
|
+
s = ((d = t == null ? undefined : t.response) == null ? undefined : d.data) || {};
|
|
3906
|
+
u = s == null ? undefined : s.code, c = (m = t.response) == null ? undefined : m.status;
|
|
3907
|
+
if (!(u === 401 || c === 401)) {
|
|
3903
3908
|
_context10.n = 6;
|
|
3904
3909
|
break;
|
|
3905
3910
|
}
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
g = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
|
|
3910
|
-
if (!(Vr && g && s != null && s.status)) {
|
|
3911
|
+
Bl(), n = u || c, i = s;
|
|
3912
|
+
O = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
|
|
3913
|
+
if (!(Vr && O && s != null && s.status)) {
|
|
3911
3914
|
_context10.n = 4;
|
|
3912
3915
|
break;
|
|
3913
3916
|
}
|
|
3914
|
-
|
|
3915
|
-
if (!(
|
|
3917
|
+
g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r.apply(void 0, [s.status].concat(_toConsumableArray(g)));
|
|
3918
|
+
if (!(E === s.status)) {
|
|
3916
3919
|
_context10.n = 2;
|
|
3917
3920
|
break;
|
|
3918
3921
|
}
|
|
3919
3922
|
_context10.n = 1;
|
|
3920
|
-
return Xr(r, s.status,
|
|
3923
|
+
return Xr(r, s.status, g);
|
|
3921
3924
|
case 1:
|
|
3922
3925
|
_t11 = _context10.v;
|
|
3923
3926
|
_context10.n = 3;
|
|
3924
3927
|
break;
|
|
3925
3928
|
case 2:
|
|
3926
|
-
_t11 =
|
|
3929
|
+
_t11 = E;
|
|
3927
3930
|
case 3:
|
|
3928
3931
|
o = _t11;
|
|
3929
3932
|
_context10.n = 5;
|
|
@@ -3944,13 +3947,13 @@ var Ll = 5e3,
|
|
|
3944
3947
|
break;
|
|
3945
3948
|
}
|
|
3946
3949
|
_context10.n = 7;
|
|
3947
|
-
return new Promise(function (
|
|
3948
|
-
var
|
|
3949
|
-
|
|
3950
|
+
return new Promise(function (O) {
|
|
3951
|
+
var g = new FileReader();
|
|
3952
|
+
g.readAsText(s, "utf-8"), g.onload = function () {
|
|
3950
3953
|
try {
|
|
3951
|
-
|
|
3954
|
+
O(JSON.parse(g.result || "{}"));
|
|
3952
3955
|
} catch (_unused21) {
|
|
3953
|
-
|
|
3956
|
+
O({
|
|
3954
3957
|
code: 400,
|
|
3955
3958
|
msg: r("解析错误")
|
|
3956
3959
|
});
|
|
@@ -3965,24 +3968,24 @@ var Ll = 5e3,
|
|
|
3965
3968
|
break;
|
|
3966
3969
|
}
|
|
3967
3970
|
n = s.code, i = s;
|
|
3968
|
-
|
|
3969
|
-
if (!(Vr &&
|
|
3971
|
+
_O = (_ref26 = e == null ? undefined : e.i18n) !== null && _ref26 !== void 0 ? _ref26 : true;
|
|
3972
|
+
if (!(Vr && _O && s != null && s.status)) {
|
|
3970
3973
|
_context10.n = 12;
|
|
3971
3974
|
break;
|
|
3972
3975
|
}
|
|
3973
|
-
|
|
3974
|
-
if (!(
|
|
3976
|
+
_g = !(s != null && s.data) || !s.data.length ? [] : s.data, _E = r.apply(void 0, [s.status].concat(_toConsumableArray(_g)));
|
|
3977
|
+
if (!(_E === s.status)) {
|
|
3975
3978
|
_context10.n = 10;
|
|
3976
3979
|
break;
|
|
3977
3980
|
}
|
|
3978
3981
|
_context10.n = 9;
|
|
3979
|
-
return Xr(r, s.status,
|
|
3982
|
+
return Xr(r, s.status, _g);
|
|
3980
3983
|
case 9:
|
|
3981
3984
|
_t13 = _context10.v;
|
|
3982
3985
|
_context10.n = 11;
|
|
3983
3986
|
break;
|
|
3984
3987
|
case 10:
|
|
3985
|
-
_t13 =
|
|
3988
|
+
_t13 = _E;
|
|
3986
3989
|
case 11:
|
|
3987
3990
|
o = _t13;
|
|
3988
3991
|
_context10.n = 13;
|
|
@@ -4002,11 +4005,11 @@ var Ll = 5e3,
|
|
|
4002
4005
|
t.request ? (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("网络异常,请检查您的网络情况")) : (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("请求配置异常"));
|
|
4003
4006
|
case 17:
|
|
4004
4007
|
e != null && e.customErrorMessage && (o = e == null ? undefined : e.customErrorMessage(o, t));
|
|
4005
|
-
|
|
4006
|
-
return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!
|
|
4008
|
+
p = Date.now(), y = o === Kr, v = p - Qr < Ul;
|
|
4009
|
+
return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((b = (h = window.DasMessage) == null ? undefined : h.error) == null || b.call(h, {
|
|
4007
4010
|
message: o,
|
|
4008
4011
|
showClose: true
|
|
4009
|
-
}), Kr = o, Qr =
|
|
4012
|
+
}), Kr = o, Qr = p), _objectSpread(_objectSpread({}, i), {}, {
|
|
4010
4013
|
code: n,
|
|
4011
4014
|
msg: o,
|
|
4012
4015
|
error: t
|
|
@@ -4014,12 +4017,12 @@ var Ll = 5e3,
|
|
|
4014
4017
|
}
|
|
4015
4018
|
}, _callee1);
|
|
4016
4019
|
}));
|
|
4017
|
-
return function
|
|
4020
|
+
return function kl(_x12, _x13) {
|
|
4018
4021
|
return _ref24.apply(this, arguments);
|
|
4019
4022
|
};
|
|
4020
4023
|
}();
|
|
4021
|
-
function
|
|
4022
|
-
var r =
|
|
4024
|
+
function ql(t, e) {
|
|
4025
|
+
var r = R.create();
|
|
4023
4026
|
return curringHttp.curringHttp(r, /*#__PURE__*/function () {
|
|
4024
4027
|
var _ref28 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee10(n) {
|
|
4025
4028
|
var _n$csrf, _ref29;
|
|
@@ -4079,7 +4082,7 @@ function kl(t, e) {
|
|
|
4079
4082
|
indices: false
|
|
4080
4083
|
});
|
|
4081
4084
|
}
|
|
4082
|
-
}), n.onSuccess || (n.onSuccess =
|
|
4085
|
+
}), n.onSuccess || (n.onSuccess = Ml), n.onError || (n.onError = kl), ((_n$csrf = n.csrf) !== null && _n$csrf !== void 0 ? _n$csrf : false) && (n.headers["csrf-token"] = Jr.get("csrf-token"));
|
|
4083
4086
|
u = n.params || {};
|
|
4084
4087
|
if (u.project === undefined) {
|
|
4085
4088
|
_p = 0;
|
|
@@ -4101,6 +4104,6 @@ function kl(t, e) {
|
|
|
4101
4104
|
};
|
|
4102
4105
|
}());
|
|
4103
4106
|
}
|
|
4104
|
-
var
|
|
4105
|
-
|
|
4106
|
-
exports.portal =
|
|
4107
|
+
var jl = "v1",
|
|
4108
|
+
Yl = ql("/api/portal/user/".concat(jl));
|
|
4109
|
+
exports.portal = Yl;
|