tyy-game-assiss 2.5.1 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/tyy-game-assis.js +180 -152
- package/dist/tyy-game-assis.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/tyy-game-assis.js
CHANGED
|
@@ -16,16 +16,16 @@ function Ur(t) {
|
|
|
16
16
|
let e;
|
|
17
17
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && qn(t.buffer), e;
|
|
18
18
|
}
|
|
19
|
-
const Lr = nt("string"), U = nt("function"), Wn = nt("number"), rt = (t) => t !== null && typeof t == "object", Mr = (t) => t === !0 || t === !1,
|
|
19
|
+
const Lr = nt("string"), U = nt("function"), Wn = nt("number"), rt = (t) => t !== null && typeof t == "object", Mr = (t) => t === !0 || t === !1, Ve = (t) => {
|
|
20
20
|
if (tt(t) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const e = Bt(t);
|
|
23
23
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
|
24
|
-
}, Hr = W("Date"), zr = W("File"), qr = W("Blob"), Wr = W("FileList"),
|
|
24
|
+
}, Hr = W("Date"), zr = W("File"), qr = W("Blob"), Wr = W("FileList"), Gr = (t) => rt(t) && U(t.pipe), Vr = (t) => {
|
|
25
25
|
let e;
|
|
26
26
|
return t && (typeof FormData == "function" && t instanceof FormData || U(t.append) && ((e = tt(t)) === "formdata" || // detect form-data instance
|
|
27
27
|
e === "object" && U(t.toString) && t.toString() === "[object FormData]"));
|
|
28
|
-
},
|
|
28
|
+
}, Qr = W("URLSearchParams"), Jr = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
29
|
function Ce(t, e, { allOwnKeys: n = !1 } = {}) {
|
|
30
30
|
if (t === null || typeof t > "u")
|
|
31
31
|
return;
|
|
@@ -40,7 +40,7 @@ function Ce(t, e, { allOwnKeys: n = !1 } = {}) {
|
|
|
40
40
|
s = o[r], e.call(null, t[s], s, t);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Gn(t, e) {
|
|
44
44
|
e = e.toLowerCase();
|
|
45
45
|
const n = Object.keys(t);
|
|
46
46
|
let r = n.length, i;
|
|
@@ -49,17 +49,17 @@ function Vn(t, e) {
|
|
|
49
49
|
return i;
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
-
const
|
|
52
|
+
const Vn = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Qn = (t) => !Re(t) && t !== Vn;
|
|
53
53
|
function bt() {
|
|
54
|
-
const { caseless: t } =
|
|
55
|
-
const o = t &&
|
|
56
|
-
|
|
54
|
+
const { caseless: t } = Qn(this) && this || {}, e = {}, n = (r, i) => {
|
|
55
|
+
const o = t && Gn(e, i) || i;
|
|
56
|
+
Ve(e[o]) && Ve(r) ? e[o] = bt(e[o], r) : Ve(r) ? e[o] = bt({}, r) : ge(r) ? e[o] = r.slice() : e[o] = r;
|
|
57
57
|
};
|
|
58
58
|
for (let r = 0, i = arguments.length; r < i; r++)
|
|
59
59
|
arguments[r] && Ce(arguments[r], n);
|
|
60
60
|
return e;
|
|
61
61
|
}
|
|
62
|
-
const
|
|
62
|
+
const jr = (t, e, n, { allOwnKeys: r } = {}) => (Ce(e, (i, o) => {
|
|
63
63
|
n && U(i) ? t[o] = zn(i, n) : t[o] = i;
|
|
64
64
|
}, { allOwnKeys: r }), t), Yr = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Kr = (t, e, n, r) => {
|
|
65
65
|
t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
@@ -110,14 +110,14 @@ const Gr = (t, e, n, { allOwnKeys: r } = {}) => (Ce(e, (i, o) => {
|
|
|
110
110
|
function(n, r, i) {
|
|
111
111
|
return r.toUpperCase() + i;
|
|
112
112
|
}
|
|
113
|
-
), $t = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), oi = W("RegExp"),
|
|
113
|
+
), $t = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), oi = W("RegExp"), Jn = (t, e) => {
|
|
114
114
|
const n = Object.getOwnPropertyDescriptors(t), r = {};
|
|
115
115
|
Ce(n, (i, o) => {
|
|
116
116
|
let a;
|
|
117
117
|
(a = e(i, o, t)) !== !1 && (r[o] = a || i);
|
|
118
118
|
}), Object.defineProperties(t, r);
|
|
119
119
|
}, si = (t) => {
|
|
120
|
-
|
|
120
|
+
Jn(t, (e, n) => {
|
|
121
121
|
if (U(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
122
122
|
return !1;
|
|
123
123
|
const r = t[n];
|
|
@@ -139,11 +139,11 @@ const Gr = (t, e, n, { allOwnKeys: r } = {}) => (Ce(e, (i, o) => {
|
|
|
139
139
|
};
|
|
140
140
|
return ge(t) ? r(t) : r(String(t).split(e)), n;
|
|
141
141
|
}, li = () => {
|
|
142
|
-
}, ci = (t, e) => (t = +t, Number.isFinite(t) ? t : e), at = "abcdefghijklmnopqrstuvwxyz", en = "0123456789",
|
|
142
|
+
}, ci = (t, e) => (t = +t, Number.isFinite(t) ? t : e), at = "abcdefghijklmnopqrstuvwxyz", en = "0123456789", jn = {
|
|
143
143
|
DIGIT: en,
|
|
144
144
|
ALPHA: at,
|
|
145
145
|
ALPHA_DIGIT: at + at.toUpperCase() + en
|
|
146
|
-
}, ui = (t = 16, e =
|
|
146
|
+
}, ui = (t = 16, e = jn.ALPHA_DIGIT) => {
|
|
147
147
|
let n = "";
|
|
148
148
|
const { length: r } = e;
|
|
149
149
|
for (; t--; )
|
|
@@ -174,27 +174,27 @@ const di = (t) => {
|
|
|
174
174
|
isArray: ge,
|
|
175
175
|
isArrayBuffer: qn,
|
|
176
176
|
isBuffer: Nr,
|
|
177
|
-
isFormData:
|
|
177
|
+
isFormData: Vr,
|
|
178
178
|
isArrayBufferView: Ur,
|
|
179
179
|
isString: Lr,
|
|
180
180
|
isNumber: Wn,
|
|
181
181
|
isBoolean: Mr,
|
|
182
182
|
isObject: rt,
|
|
183
|
-
isPlainObject:
|
|
183
|
+
isPlainObject: Ve,
|
|
184
184
|
isUndefined: Re,
|
|
185
185
|
isDate: Hr,
|
|
186
186
|
isFile: zr,
|
|
187
187
|
isBlob: qr,
|
|
188
188
|
isRegExp: oi,
|
|
189
189
|
isFunction: U,
|
|
190
|
-
isStream:
|
|
191
|
-
isURLSearchParams:
|
|
190
|
+
isStream: Gr,
|
|
191
|
+
isURLSearchParams: Qr,
|
|
192
192
|
isTypedArray: ei,
|
|
193
193
|
isFileList: Wr,
|
|
194
194
|
forEach: Ce,
|
|
195
195
|
merge: bt,
|
|
196
|
-
extend:
|
|
197
|
-
trim:
|
|
196
|
+
extend: jr,
|
|
197
|
+
trim: Jr,
|
|
198
198
|
stripBOM: Yr,
|
|
199
199
|
inherits: Kr,
|
|
200
200
|
toFlatObject: Xr,
|
|
@@ -208,16 +208,16 @@ const di = (t) => {
|
|
|
208
208
|
hasOwnProperty: $t,
|
|
209
209
|
hasOwnProp: $t,
|
|
210
210
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
211
|
-
reduceDescriptors:
|
|
211
|
+
reduceDescriptors: Jn,
|
|
212
212
|
freezeMethods: si,
|
|
213
213
|
toObjectSet: ai,
|
|
214
214
|
toCamelCase: ii,
|
|
215
215
|
noop: li,
|
|
216
216
|
toFiniteNumber: ci,
|
|
217
|
-
findKey:
|
|
218
|
-
global:
|
|
219
|
-
isContextDefined:
|
|
220
|
-
ALPHABET:
|
|
217
|
+
findKey: Gn,
|
|
218
|
+
global: Vn,
|
|
219
|
+
isContextDefined: Qn,
|
|
220
|
+
ALPHABET: jn,
|
|
221
221
|
generateString: ui,
|
|
222
222
|
isSpecCompliantForm: fi,
|
|
223
223
|
toJSONObject: di,
|
|
@@ -320,10 +320,10 @@ function it(t, e, n) {
|
|
|
320
320
|
if (f.endsWith(g, "{}"))
|
|
321
321
|
g = r ? g : g.slice(0, -2), y = JSON.stringify(y);
|
|
322
322
|
else if (f.isArray(y) && yi(y) || (f.isFileList(y) || f.endsWith(g, "[]")) && (b = f.toArray(y)))
|
|
323
|
-
return g = Xn(g), b.forEach(function(P,
|
|
323
|
+
return g = Xn(g), b.forEach(function(P, J) {
|
|
324
324
|
!(f.isUndefined(P) || P === null) && e.append(
|
|
325
325
|
// eslint-disable-next-line no-nested-ternary
|
|
326
|
-
a === !0 ? tn([g],
|
|
326
|
+
a === !0 ? tn([g], J, o) : a === null ? g : g + "[]",
|
|
327
327
|
u(P)
|
|
328
328
|
);
|
|
329
329
|
}), !1;
|
|
@@ -614,8 +614,8 @@ const Ut = Nt, Fi = f.toObjectSet([
|
|
|
614
614
|
function Se(t) {
|
|
615
615
|
return t && String(t).trim().toLowerCase();
|
|
616
616
|
}
|
|
617
|
-
function
|
|
618
|
-
return t === !1 || t == null ? t : f.isArray(t) ? t.map(
|
|
617
|
+
function Qe(t) {
|
|
618
|
+
return t === !1 || t == null ? t : f.isArray(t) ? t.map(Qe) : String(t);
|
|
619
619
|
}
|
|
620
620
|
function Pi(t) {
|
|
621
621
|
const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -660,7 +660,7 @@ class ot {
|
|
|
660
660
|
if (!m)
|
|
661
661
|
throw new Error("header name must be a non-empty string");
|
|
662
662
|
const d = f.findKey(i, m);
|
|
663
|
-
(!d || i[d] === void 0 || u === !0 || u === void 0 && i[d] !== !1) && (i[d || l] =
|
|
663
|
+
(!d || i[d] === void 0 || u === !0 || u === void 0 && i[d] !== !1) && (i[d || l] = Qe(s));
|
|
664
664
|
}
|
|
665
665
|
const a = (s, l) => f.forEach(s, (u, m) => o(u, m, l));
|
|
666
666
|
return f.isPlainObject(e) || e instanceof this.constructor ? a(e, n) : f.isString(e) && (e = e.trim()) && !Bi(e) ? a(Ii(e), n) : e != null && o(n, e, r), this;
|
|
@@ -714,11 +714,11 @@ class ot {
|
|
|
714
714
|
return f.forEach(this, (i, o) => {
|
|
715
715
|
const a = f.findKey(r, o);
|
|
716
716
|
if (a) {
|
|
717
|
-
n[a] =
|
|
717
|
+
n[a] = Qe(i), delete n[o];
|
|
718
718
|
return;
|
|
719
719
|
}
|
|
720
720
|
const s = e ? Di(o) : String(o).trim();
|
|
721
|
-
s !== o && delete n[o], n[s] =
|
|
721
|
+
s !== o && delete n[o], n[s] = Qe(i), r[s] = !0;
|
|
722
722
|
}), this;
|
|
723
723
|
}
|
|
724
724
|
concat(...e) {
|
|
@@ -769,9 +769,9 @@ f.reduceDescriptors(ot.prototype, ({ value: t }, e) => {
|
|
|
769
769
|
};
|
|
770
770
|
});
|
|
771
771
|
f.freezeMethods(ot);
|
|
772
|
-
const
|
|
772
|
+
const Q = ot;
|
|
773
773
|
function ct(t, e) {
|
|
774
|
-
const n = this || Ut, r = e || n, i =
|
|
774
|
+
const n = this || Ut, r = e || n, i = Q.from(r.headers);
|
|
775
775
|
let o = r.data;
|
|
776
776
|
return f.forEach(t, function(s) {
|
|
777
777
|
o = s.call(n, o, i.normalize(), e ? e.status : void 0);
|
|
@@ -902,10 +902,10 @@ function sn(t, e) {
|
|
|
902
902
|
m[e ? "download" : "upload"] = !0, t(m);
|
|
903
903
|
};
|
|
904
904
|
}
|
|
905
|
-
const
|
|
905
|
+
const Gi = typeof XMLHttpRequest < "u", Vi = Gi && function(t) {
|
|
906
906
|
return new Promise(function(n, r) {
|
|
907
907
|
let i = t.data;
|
|
908
|
-
const o =
|
|
908
|
+
const o = Q.from(t.headers).normalize();
|
|
909
909
|
let { responseType: a, withXSRFToken: s } = t, l;
|
|
910
910
|
function u() {
|
|
911
911
|
t.cancelToken && t.cancelToken.unsubscribe(l), t.signal && t.signal.removeEventListener("abort", l);
|
|
@@ -929,7 +929,7 @@ const Vi = typeof XMLHttpRequest < "u", Qi = Vi && function(t) {
|
|
|
929
929
|
function S() {
|
|
930
930
|
if (!d)
|
|
931
931
|
return;
|
|
932
|
-
const g =
|
|
932
|
+
const g = Q.from(
|
|
933
933
|
"getAllResponseHeaders" in d && d.getAllResponseHeaders()
|
|
934
934
|
), b = {
|
|
935
935
|
data: !a || a === "text" || a === "json" ? d.responseText : d.response,
|
|
@@ -978,7 +978,7 @@ const Vi = typeof XMLHttpRequest < "u", Qi = Vi && function(t) {
|
|
|
978
978
|
});
|
|
979
979
|
}, wt = {
|
|
980
980
|
http: mi,
|
|
981
|
-
xhr:
|
|
981
|
+
xhr: Vi
|
|
982
982
|
};
|
|
983
983
|
f.forEach(wt, (t, e) => {
|
|
984
984
|
if (t) {
|
|
@@ -989,7 +989,7 @@ f.forEach(wt, (t, e) => {
|
|
|
989
989
|
Object.defineProperty(t, "adapterName", { value: e });
|
|
990
990
|
}
|
|
991
991
|
});
|
|
992
|
-
const an = (t) => `- ${t}`,
|
|
992
|
+
const an = (t) => `- ${t}`, Qi = (t) => f.isFunction(t) || t === null || t === !1, or = {
|
|
993
993
|
getAdapter: (t) => {
|
|
994
994
|
t = f.isArray(t) ? t : [t];
|
|
995
995
|
const { length: e } = t;
|
|
@@ -998,7 +998,7 @@ const an = (t) => `- ${t}`, Ji = (t) => f.isFunction(t) || t === null || t === !
|
|
|
998
998
|
for (let o = 0; o < e; o++) {
|
|
999
999
|
n = t[o];
|
|
1000
1000
|
let a;
|
|
1001
|
-
if (r = n, !
|
|
1001
|
+
if (r = n, !Qi(n) && (r = wt[(a = String(n)).toLowerCase()], r === void 0))
|
|
1002
1002
|
throw new k(`Unknown adapter '${a}'`);
|
|
1003
1003
|
if (r)
|
|
1004
1004
|
break;
|
|
@@ -1025,7 +1025,7 @@ function ut(t) {
|
|
|
1025
1025
|
throw new Fe(null, t);
|
|
1026
1026
|
}
|
|
1027
1027
|
function ln(t) {
|
|
1028
|
-
return ut(t), t.headers =
|
|
1028
|
+
return ut(t), t.headers = Q.from(t.headers), t.data = ct.call(
|
|
1029
1029
|
t,
|
|
1030
1030
|
t.transformRequest
|
|
1031
1031
|
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), or.getAdapter(t.adapter || Ut.adapter)(t).then(function(r) {
|
|
@@ -1033,16 +1033,16 @@ function ln(t) {
|
|
|
1033
1033
|
t,
|
|
1034
1034
|
t.transformResponse,
|
|
1035
1035
|
r
|
|
1036
|
-
), r.headers =
|
|
1036
|
+
), r.headers = Q.from(r.headers), r;
|
|
1037
1037
|
}, function(r) {
|
|
1038
1038
|
return rr(r) || (ut(t), r && r.response && (r.response.data = ct.call(
|
|
1039
1039
|
t,
|
|
1040
1040
|
t.transformResponse,
|
|
1041
1041
|
r.response
|
|
1042
|
-
), r.response.headers =
|
|
1042
|
+
), r.response.headers = Q.from(r.response.headers))), Promise.reject(r);
|
|
1043
1043
|
});
|
|
1044
1044
|
}
|
|
1045
|
-
const cn = (t) => t instanceof
|
|
1045
|
+
const cn = (t) => t instanceof Q ? t.toJSON() : t;
|
|
1046
1046
|
function he(t, e) {
|
|
1047
1047
|
e = e || {};
|
|
1048
1048
|
const n = {};
|
|
@@ -1134,7 +1134,7 @@ Lt.transitional = function(e, n, r) {
|
|
|
1134
1134
|
)), e ? e(o, a, s) : !0;
|
|
1135
1135
|
};
|
|
1136
1136
|
};
|
|
1137
|
-
function
|
|
1137
|
+
function Ji(t, e, n) {
|
|
1138
1138
|
if (typeof t != "object")
|
|
1139
1139
|
throw new k("options must be an object", k.ERR_BAD_OPTION_VALUE);
|
|
1140
1140
|
const r = Object.keys(t);
|
|
@@ -1152,7 +1152,7 @@ function ji(t, e, n) {
|
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
1154
|
const St = {
|
|
1155
|
-
assertOptions:
|
|
1155
|
+
assertOptions: Ji,
|
|
1156
1156
|
validators: Lt
|
|
1157
1157
|
}, Y = St.validators;
|
|
1158
1158
|
class Ke {
|
|
@@ -1192,7 +1192,7 @@ class Ke {
|
|
|
1192
1192
|
(y) => {
|
|
1193
1193
|
delete o[y];
|
|
1194
1194
|
}
|
|
1195
|
-
), n.headers =
|
|
1195
|
+
), n.headers = Q.concat(a, o);
|
|
1196
1196
|
const s = [];
|
|
1197
1197
|
let l = !0;
|
|
1198
1198
|
this.interceptors.request.forEach(function(g) {
|
|
@@ -1259,7 +1259,7 @@ f.forEach(["post", "put", "patch"], function(e) {
|
|
|
1259
1259
|
}
|
|
1260
1260
|
Ke.prototype[e] = n(), Ke.prototype[e + "Form"] = n(!0);
|
|
1261
1261
|
});
|
|
1262
|
-
const
|
|
1262
|
+
const Je = Ke;
|
|
1263
1263
|
class Mt {
|
|
1264
1264
|
constructor(e) {
|
|
1265
1265
|
if (typeof e != "function")
|
|
@@ -1328,7 +1328,7 @@ class Mt {
|
|
|
1328
1328
|
};
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
|
-
const
|
|
1331
|
+
const ji = Mt;
|
|
1332
1332
|
function Yi(t) {
|
|
1333
1333
|
return function(n) {
|
|
1334
1334
|
return t.apply(null, n);
|
|
@@ -1407,15 +1407,15 @@ Object.entries(Et).forEach(([t, e]) => {
|
|
|
1407
1407
|
});
|
|
1408
1408
|
const Xi = Et;
|
|
1409
1409
|
function ar(t) {
|
|
1410
|
-
const e = new
|
|
1411
|
-
return f.extend(n,
|
|
1410
|
+
const e = new Je(t), n = zn(Je.prototype.request, e);
|
|
1411
|
+
return f.extend(n, Je.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(i) {
|
|
1412
1412
|
return ar(he(t, i));
|
|
1413
1413
|
}, n;
|
|
1414
1414
|
}
|
|
1415
1415
|
const R = ar(Ut);
|
|
1416
|
-
R.Axios =
|
|
1416
|
+
R.Axios = Je;
|
|
1417
1417
|
R.CanceledError = Fe;
|
|
1418
|
-
R.CancelToken =
|
|
1418
|
+
R.CancelToken = ji;
|
|
1419
1419
|
R.isCancel = rr;
|
|
1420
1420
|
R.VERSION = sr;
|
|
1421
1421
|
R.toFormData = it;
|
|
@@ -1427,7 +1427,7 @@ R.all = function(e) {
|
|
|
1427
1427
|
R.spread = Yi;
|
|
1428
1428
|
R.isAxiosError = Ki;
|
|
1429
1429
|
R.mergeConfig = he;
|
|
1430
|
-
R.AxiosHeaders =
|
|
1430
|
+
R.AxiosHeaders = Q;
|
|
1431
1431
|
R.formToJSON = (t) => nr(f.isHTMLForm(t) ? new FormData(t) : t);
|
|
1432
1432
|
R.getAdapter = or.getAdapter;
|
|
1433
1433
|
R.HttpStatusCode = Xi;
|
|
@@ -1531,14 +1531,14 @@ function xt(t, e) {
|
|
|
1531
1531
|
);
|
|
1532
1532
|
}
|
|
1533
1533
|
var de = xt(no, { path: "/" });
|
|
1534
|
-
let
|
|
1534
|
+
let Gt = lr.create({
|
|
1535
1535
|
baseURL: "https://api.play.cn/",
|
|
1536
1536
|
//Util.newDom
|
|
1537
1537
|
timeout: 3e4,
|
|
1538
1538
|
retry: 3,
|
|
1539
1539
|
retryDelay: 1e3
|
|
1540
1540
|
});
|
|
1541
|
-
|
|
1541
|
+
Gt.interceptors.request.use((t) => {
|
|
1542
1542
|
if (t.headers.vc = 50300, t.headers.channel_code = de.get("ass_channel_code"), t.headers.user_id = de.get("ass_user_id"), t.headers.access_token = de.get("ass_access_token"), t.url == "/api/v1/user/info.json" && (t.baseURL = "https://open.play.cn"), !(t.method === "post" || t.method === "put")) {
|
|
1543
1543
|
if (t.method === "get" && to.isIE) {
|
|
1544
1544
|
let e = t.url.indexOf("?") >= 0 ? "&" : "?";
|
|
@@ -1547,12 +1547,12 @@ Vt.interceptors.request.use((t) => {
|
|
|
1547
1547
|
}
|
|
1548
1548
|
return t;
|
|
1549
1549
|
}, (t) => Promise.reject(t));
|
|
1550
|
-
|
|
1550
|
+
Gt.interceptors.response.use((t) => {
|
|
1551
1551
|
let { data: e } = t;
|
|
1552
1552
|
return e;
|
|
1553
1553
|
}, (t) => Promise.reject(t));
|
|
1554
1554
|
function ro() {
|
|
1555
|
-
return
|
|
1555
|
+
return Gt;
|
|
1556
1556
|
}
|
|
1557
1557
|
var io = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1558
1558
|
function oo(t) {
|
|
@@ -1646,7 +1646,7 @@ var ao = function() {
|
|
|
1646
1646
|
u.prototype = n.prototype, i.prototype = new u(), u.prototype = null;
|
|
1647
1647
|
}
|
|
1648
1648
|
return i;
|
|
1649
|
-
}, bo = vo,
|
|
1649
|
+
}, bo = vo, Vt = Function.prototype.bind || bo, Ao = Function.prototype.call, wo = Object.prototype.hasOwnProperty, So = Vt, Eo = So.call(Ao, wo), E, me = SyntaxError, fr = Function, pe = TypeError, ft = function(t) {
|
|
1650
1650
|
try {
|
|
1651
1651
|
return fr('"use strict"; return (' + t + ").constructor;")();
|
|
1652
1652
|
} catch {
|
|
@@ -1816,7 +1816,7 @@ var Ro = function t(e) {
|
|
|
1816
1816
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
1817
1817
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
1818
1818
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
1819
|
-
}, Ie =
|
|
1819
|
+
}, Ie = Vt, Xe = Eo, Co = Ie.call(Function.call, Array.prototype.concat), Fo = Ie.call(Function.apply, Array.prototype.splice), _n = Ie.call(Function.call, String.prototype.replace), Ze = Ie.call(Function.call, String.prototype.slice), Io = Ie.call(Function.call, RegExp.prototype.exec), Po = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Bo = /\\(\\)?/g, Do = function(e) {
|
|
1820
1820
|
var n = Ze(e, 0, 1), r = Ze(e, -1);
|
|
1821
1821
|
if (n === "%" && r !== "%")
|
|
1822
1822
|
throw new me("invalid intrinsic syntax, expected closing `%`");
|
|
@@ -1887,21 +1887,21 @@ Tt.hasArrayLengthDefineBug = function() {
|
|
|
1887
1887
|
return !0;
|
|
1888
1888
|
}
|
|
1889
1889
|
};
|
|
1890
|
-
var pr = Tt, Lo = re,
|
|
1891
|
-
if (
|
|
1890
|
+
var pr = Tt, Lo = re, je = Lo("%Object.getOwnPropertyDescriptor%", !0);
|
|
1891
|
+
if (je)
|
|
1892
1892
|
try {
|
|
1893
|
-
|
|
1893
|
+
je([], "length");
|
|
1894
1894
|
} catch {
|
|
1895
|
-
|
|
1895
|
+
je = null;
|
|
1896
1896
|
}
|
|
1897
|
-
var hr =
|
|
1897
|
+
var hr = je, Mo = pr(), Qt = re, xe = Mo && Qt("%Object.defineProperty%", !0);
|
|
1898
1898
|
if (xe)
|
|
1899
1899
|
try {
|
|
1900
1900
|
xe({}, "a", { value: 1 });
|
|
1901
1901
|
} catch {
|
|
1902
1902
|
xe = !1;
|
|
1903
1903
|
}
|
|
1904
|
-
var Ho =
|
|
1904
|
+
var Ho = Qt("%SyntaxError%"), ce = Qt("%TypeError%"), gn = hr, zo = function(e, n, r) {
|
|
1905
1905
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
1906
1906
|
throw new ce("`obj` must be an object or a function`");
|
|
1907
1907
|
if (typeof n != "string" && typeof n != "symbol")
|
|
@@ -1926,7 +1926,7 @@ var Ho = Jt("%SyntaxError%"), ce = Jt("%TypeError%"), gn = hr, zo = function(e,
|
|
|
1926
1926
|
e[n] = r;
|
|
1927
1927
|
else
|
|
1928
1928
|
throw new Ho("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
1929
|
-
}, mr = re, vn = zo, qo = pr(), bn = hr, An = mr("%TypeError%"), Wo = mr("%Math.floor%"),
|
|
1929
|
+
}, mr = re, vn = zo, qo = pr(), bn = hr, An = mr("%TypeError%"), Wo = mr("%Math.floor%"), Go = function(e, n) {
|
|
1930
1930
|
if (typeof e != "function")
|
|
1931
1931
|
throw new An("`fn` is not a function");
|
|
1932
1932
|
if (typeof n != "number" || n < 0 || n > 4294967295 || Wo(n) !== n)
|
|
@@ -1951,7 +1951,7 @@ var Ho = Jt("%SyntaxError%"), ce = Jt("%TypeError%"), gn = hr, zo = function(e,
|
|
|
1951
1951
|
)), e;
|
|
1952
1952
|
};
|
|
1953
1953
|
(function(t) {
|
|
1954
|
-
var e =
|
|
1954
|
+
var e = Vt, n = re, r = Go, i = n("%TypeError%"), o = n("%Function.prototype.apply%"), a = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || e.call(a, o), l = n("%Object.defineProperty%", !0), u = n("%Math.max%");
|
|
1955
1955
|
if (l)
|
|
1956
1956
|
try {
|
|
1957
1957
|
l({}, "a", { value: 1 });
|
|
@@ -1973,15 +1973,15 @@ var Ho = Jt("%SyntaxError%"), ce = Jt("%TypeError%"), gn = hr, zo = function(e,
|
|
|
1973
1973
|
};
|
|
1974
1974
|
l ? l(t.exports, "apply", { value: m }) : t.exports.apply = m;
|
|
1975
1975
|
})(dr);
|
|
1976
|
-
var
|
|
1976
|
+
var Vo = dr.exports, yr = re, _r = Vo, Qo = _r(yr("String.prototype.indexOf")), Jo = function(e, n) {
|
|
1977
1977
|
var r = yr(e, !!n);
|
|
1978
|
-
return typeof r == "function" &&
|
|
1978
|
+
return typeof r == "function" && Qo(e, ".prototype.") > -1 ? _r(r) : r;
|
|
1979
1979
|
};
|
|
1980
|
-
const
|
|
1980
|
+
const jo = {}, Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1981
1981
|
__proto__: null,
|
|
1982
|
-
default:
|
|
1982
|
+
default: jo
|
|
1983
1983
|
}, Symbol.toStringTag, { value: "Module" })), Ko = /* @__PURE__ */ so(Yo);
|
|
1984
|
-
var
|
|
1984
|
+
var Jt = typeof Map == "function" && Map.prototype, pt = Object.getOwnPropertyDescriptor && Jt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, $e = Jt && pt && typeof pt.get == "function" ? pt.get : null, wn = Jt && Map.prototype.forEach, jt = typeof Set == "function" && Set.prototype, ht = Object.getOwnPropertyDescriptor && jt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, et = jt && ht && typeof ht.get == "function" ? ht.get : null, Sn = jt && Set.prototype.forEach, Xo = typeof WeakMap == "function" && WeakMap.prototype, ke = Xo ? WeakMap.prototype.has : null, Zo = typeof WeakSet == "function" && WeakSet.prototype, Te = Zo ? WeakSet.prototype.has : null, $o = typeof WeakRef == "function" && WeakRef.prototype, En = $o ? WeakRef.prototype.deref : null, es = Boolean.prototype.valueOf, ts = Object.prototype.toString, ns = Function.prototype.toString, rs = String.prototype.match, Yt = String.prototype.slice, X = String.prototype.replace, is = String.prototype.toUpperCase, xn = String.prototype.toLowerCase, gr = RegExp.prototype.test, kn = Array.prototype.concat, z = Array.prototype.join, os = Array.prototype.slice, Tn = Math.floor, Ot = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, mt = Object.getOwnPropertySymbols, Rt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ye = typeof Symbol == "function" && typeof Symbol.iterator == "object", N = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ye || "symbol") ? Symbol.toStringTag : null, vr = Object.prototype.propertyIsEnumerable, On = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
|
|
1985
1985
|
return t.__proto__;
|
|
1986
1986
|
} : null);
|
|
1987
1987
|
function Rn(t, e) {
|
|
@@ -2037,14 +2037,14 @@ var Ct = Ko, Cn = Ct.custom, Fn = Ar(Cn) ? Cn : null, ss = function t(e, n, r, i
|
|
|
2037
2037
|
i = [];
|
|
2038
2038
|
else if (wr(i, e) >= 0)
|
|
2039
2039
|
return "[Circular]";
|
|
2040
|
-
function v(
|
|
2040
|
+
function v(G, se, Ue) {
|
|
2041
2041
|
if (se && (i = os.call(i), i.push(se)), Ue) {
|
|
2042
2042
|
var ae = {
|
|
2043
2043
|
depth: o.depth
|
|
2044
2044
|
};
|
|
2045
|
-
return K(o, "quoteStyle") && (ae.quoteStyle = o.quoteStyle), t(
|
|
2045
|
+
return K(o, "quoteStyle") && (ae.quoteStyle = o.quoteStyle), t(G, ae, r + 1, i);
|
|
2046
2046
|
}
|
|
2047
|
-
return t(
|
|
2047
|
+
return t(G, o, r + 1, i);
|
|
2048
2048
|
}
|
|
2049
2049
|
if (typeof e == "function" && !In(e)) {
|
|
2050
2050
|
var S = ms(e), y = ze(e, v);
|
|
@@ -2066,8 +2066,8 @@ var Ct = Ko, Cn = Ct.custom, Fn = Ar(Cn) ? Cn : null, ss = function t(e, n, r, i
|
|
|
2066
2066
|
return d && !Ss(P) ? "[" + It(P, d) + "]" : "[ " + z.call(P, ", ") + " ]";
|
|
2067
2067
|
}
|
|
2068
2068
|
if (cs(e)) {
|
|
2069
|
-
var
|
|
2070
|
-
return !("cause" in Error.prototype) && "cause" in e && !vr.call(e, "cause") ? "{ [" + String(e) + "] " + z.call(kn.call("[cause]: " + v(e.cause),
|
|
2069
|
+
var J = ze(e, v);
|
|
2070
|
+
return !("cause" in Error.prototype) && "cause" in e && !vr.call(e, "cause") ? "{ [" + String(e) + "] " + z.call(kn.call("[cause]: " + v(e.cause), J), ", ") + " }" : J.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + z.call(J, ", ") + " }";
|
|
2071
2071
|
}
|
|
2072
2072
|
if (typeof e == "object" && a) {
|
|
2073
2073
|
if (Fn && typeof e[Fn] == "function" && Ct)
|
|
@@ -2077,14 +2077,14 @@ var Ct = Ko, Cn = Ct.custom, Fn = Ar(Cn) ? Cn : null, ss = function t(e, n, r, i
|
|
|
2077
2077
|
}
|
|
2078
2078
|
if (ys(e)) {
|
|
2079
2079
|
var Ae = [];
|
|
2080
|
-
return wn && wn.call(e, function(
|
|
2081
|
-
Ae.push(v(se, e, !0) + " => " + v(
|
|
2080
|
+
return wn && wn.call(e, function(G, se) {
|
|
2081
|
+
Ae.push(v(se, e, !0) + " => " + v(G, e));
|
|
2082
2082
|
}), Pn("Map", $e.call(e), Ae, d);
|
|
2083
2083
|
}
|
|
2084
2084
|
if (vs(e)) {
|
|
2085
2085
|
var Ne = [];
|
|
2086
|
-
return Sn && Sn.call(e, function(
|
|
2087
|
-
Ne.push(v(
|
|
2086
|
+
return Sn && Sn.call(e, function(G) {
|
|
2087
|
+
Ne.push(v(G, e));
|
|
2088
2088
|
}), Pn("Set", et.call(e), Ne, d);
|
|
2089
2089
|
}
|
|
2090
2090
|
if (_s(e))
|
|
@@ -2106,7 +2106,7 @@ var Ct = Ko, Cn = Ct.custom, Fn = Ar(Cn) ? Cn : null, ss = function t(e, n, r, i
|
|
|
2106
2106
|
if (e === io)
|
|
2107
2107
|
return "{ [object globalThis] }";
|
|
2108
2108
|
if (!ls(e) && !In(e)) {
|
|
2109
|
-
var $ = ze(e, v),
|
|
2109
|
+
var $ = ze(e, v), j = On ? On(e) === Object.prototype : e instanceof Object || e.constructor === Object, ie = e instanceof Object ? "" : "null prototype", oe = !j && N && Object(e) === e && N in e ? Yt.call(Z(e), 8, -1) : ie ? "Object" : "", we = j || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", L = we + (oe || ie ? "[" + z.call(kn.call([], oe || [], ie || []), ": ") + "] " : "");
|
|
2110
2110
|
return $.length === 0 ? L + "{}" : d ? L + "{" + It($, d) + "}" : L + "{ " + z.call($, ", ") + " }";
|
|
2111
2111
|
}
|
|
2112
2112
|
return String(e);
|
|
@@ -2332,7 +2332,7 @@ function ze(t, e) {
|
|
|
2332
2332
|
vr.call(t, o[u]) && r.push("[" + e(o[u]) + "]: " + e(t[o[u]], t));
|
|
2333
2333
|
return r;
|
|
2334
2334
|
}
|
|
2335
|
-
var Kt = re, ve =
|
|
2335
|
+
var Kt = re, ve = Jo, xs = ss, ks = Kt("%TypeError%"), qe = Kt("%WeakMap%", !0), We = Kt("%Map%", !0), Ts = ve("WeakMap.prototype.get", !0), Os = ve("WeakMap.prototype.set", !0), Rs = ve("WeakMap.prototype.has", !0), Cs = ve("Map.prototype.get", !0), Fs = ve("Map.prototype.set", !0), Is = ve("Map.prototype.has", !0), Xt = function(t, e) {
|
|
2336
2336
|
for (var n = t, r; (r = n.next) !== null; n = r)
|
|
2337
2337
|
if (r.key === e)
|
|
2338
2338
|
return n.next = r.next, r.next = t.next, t.next = r, r;
|
|
@@ -2451,7 +2451,7 @@ var Kt = re, ve = jo, xs = ss, ks = Kt("%TypeError%"), qe = Kt("%WeakMap%", !0),
|
|
|
2451
2451
|
} catch {
|
|
2452
2452
|
return r;
|
|
2453
2453
|
}
|
|
2454
|
-
},
|
|
2454
|
+
}, Gs = function(e, n, r, i, o) {
|
|
2455
2455
|
if (e.length === 0)
|
|
2456
2456
|
return e;
|
|
2457
2457
|
var a = e;
|
|
@@ -2480,18 +2480,18 @@ var Kt = re, ve = jo, xs = ss, ks = Kt("%TypeError%"), qe = Kt("%WeakMap%", !0),
|
|
|
2480
2480
|
l += 1, u = 65536 + ((u & 1023) << 10 | a.charCodeAt(l) & 1023), s += H[240 | u >> 18] + H[128 | u >> 12 & 63] + H[128 | u >> 6 & 63] + H[128 | u & 63];
|
|
2481
2481
|
}
|
|
2482
2482
|
return s;
|
|
2483
|
-
},
|
|
2483
|
+
}, Vs = function(e) {
|
|
2484
2484
|
for (var n = [{ obj: { o: e }, prop: "o" }], r = [], i = 0; i < n.length; ++i)
|
|
2485
2485
|
for (var o = n[i], a = o.obj[o.prop], s = Object.keys(a), l = 0; l < s.length; ++l) {
|
|
2486
2486
|
var u = s[l], m = a[u];
|
|
2487
2487
|
typeof m == "object" && m !== null && r.indexOf(m) === -1 && (n.push({ obj: a, prop: u }), r.push(m));
|
|
2488
2488
|
}
|
|
2489
2489
|
return Hs(n), e;
|
|
2490
|
-
},
|
|
2490
|
+
}, Qs = function(e) {
|
|
2491
2491
|
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
2492
|
-
},
|
|
2492
|
+
}, Js = function(e) {
|
|
2493
2493
|
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
2494
|
-
},
|
|
2494
|
+
}, js = function(e, n) {
|
|
2495
2495
|
return [].concat(e, n);
|
|
2496
2496
|
}, Ys = function(e, n) {
|
|
2497
2497
|
if (ee(e)) {
|
|
@@ -2503,12 +2503,12 @@ var Kt = re, ve = jo, xs = ss, ks = Kt("%TypeError%"), qe = Kt("%WeakMap%", !0),
|
|
|
2503
2503
|
}, xr = {
|
|
2504
2504
|
arrayToObject: Er,
|
|
2505
2505
|
assign: qs,
|
|
2506
|
-
combine:
|
|
2507
|
-
compact:
|
|
2506
|
+
combine: js,
|
|
2507
|
+
compact: Vs,
|
|
2508
2508
|
decode: Ws,
|
|
2509
|
-
encode:
|
|
2510
|
-
isBuffer:
|
|
2511
|
-
isRegExp:
|
|
2509
|
+
encode: Gs,
|
|
2510
|
+
isBuffer: Js,
|
|
2511
|
+
isRegExp: Qs,
|
|
2512
2512
|
maybeMap: Ys,
|
|
2513
2513
|
merge: zs
|
|
2514
2514
|
}, kr = Ns, Ye = xr, Oe = Zt, Ks = Object.prototype.hasOwnProperty, Bn = {
|
|
@@ -2522,8 +2522,8 @@ var Kt = re, ve = jo, xs = ss, ks = Kt("%TypeError%"), qe = Kt("%WeakMap%", !0),
|
|
|
2522
2522
|
repeat: function(e) {
|
|
2523
2523
|
return e;
|
|
2524
2524
|
}
|
|
2525
|
-
},
|
|
2526
|
-
Xs.apply(t,
|
|
2525
|
+
}, V = Array.isArray, Xs = Array.prototype.push, Tr = function(t, e) {
|
|
2526
|
+
Xs.apply(t, V(e) ? e : [e]);
|
|
2527
2527
|
}, Zs = Date.prototype.toISOString, Dn = Oe.default, D = {
|
|
2528
2528
|
addQueryPrefix: !1,
|
|
2529
2529
|
allowDots: !1,
|
|
@@ -2545,16 +2545,16 @@ var Kt = re, ve = jo, xs = ss, ks = Kt("%TypeError%"), qe = Kt("%WeakMap%", !0),
|
|
|
2545
2545
|
}, $s = function(e) {
|
|
2546
2546
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
2547
2547
|
}, vt = {}, ea = function t(e, n, r, i, o, a, s, l, u, m, d, v, S, y, g, T) {
|
|
2548
|
-
for (var b = e, C = T, P = 0,
|
|
2548
|
+
for (var b = e, C = T, P = 0, J = !1; (C = C.get(vt)) !== void 0 && !J; ) {
|
|
2549
2549
|
var Ae = C.get(e);
|
|
2550
2550
|
if (P += 1, typeof Ae < "u") {
|
|
2551
2551
|
if (Ae === P)
|
|
2552
2552
|
throw new RangeError("Cyclic object value");
|
|
2553
|
-
|
|
2553
|
+
J = !0;
|
|
2554
2554
|
}
|
|
2555
2555
|
typeof C.get(vt) > "u" && (P = 0);
|
|
2556
2556
|
}
|
|
2557
|
-
if (typeof l == "function" ? b = l(n, b) : b instanceof Date ? b = d(b) : r === "comma" &&
|
|
2557
|
+
if (typeof l == "function" ? b = l(n, b) : b instanceof Date ? b = d(b) : r === "comma" && V(b) && (b = Ye.maybeMap(b, function(ae) {
|
|
2558
2558
|
return ae instanceof Date ? d(ae) : ae;
|
|
2559
2559
|
})), b === null) {
|
|
2560
2560
|
if (o)
|
|
@@ -2571,29 +2571,29 @@ var Kt = re, ve = jo, xs = ss, ks = Kt("%TypeError%"), qe = Kt("%WeakMap%", !0),
|
|
|
2571
2571
|
var $ = [];
|
|
2572
2572
|
if (typeof b > "u")
|
|
2573
2573
|
return $;
|
|
2574
|
-
var
|
|
2575
|
-
if (r === "comma" &&
|
|
2576
|
-
y && s && (b = Ye.maybeMap(b, s)),
|
|
2577
|
-
else if (
|
|
2578
|
-
|
|
2574
|
+
var j;
|
|
2575
|
+
if (r === "comma" && V(b))
|
|
2576
|
+
y && s && (b = Ye.maybeMap(b, s)), j = [{ value: b.length > 0 ? b.join(",") || null : void 0 }];
|
|
2577
|
+
else if (V(l))
|
|
2578
|
+
j = l;
|
|
2579
2579
|
else {
|
|
2580
2580
|
var ie = Object.keys(b);
|
|
2581
|
-
|
|
2581
|
+
j = u ? ie.sort(u) : ie;
|
|
2582
2582
|
}
|
|
2583
|
-
for (var oe = i &&
|
|
2584
|
-
var L =
|
|
2585
|
-
if (!(a &&
|
|
2586
|
-
var se =
|
|
2583
|
+
for (var oe = i && V(b) && b.length === 1 ? n + "[]" : n, we = 0; we < j.length; ++we) {
|
|
2584
|
+
var L = j[we], G = typeof L == "object" && typeof L.value < "u" ? L.value : b[L];
|
|
2585
|
+
if (!(a && G === null)) {
|
|
2586
|
+
var se = V(b) ? typeof r == "function" ? r(oe, L) : oe : oe + (m ? "." + L : "[" + L + "]");
|
|
2587
2587
|
T.set(e, P);
|
|
2588
2588
|
var Ue = kr();
|
|
2589
2589
|
Ue.set(vt, T), Tr($, t(
|
|
2590
|
-
|
|
2590
|
+
G,
|
|
2591
2591
|
se,
|
|
2592
2592
|
r,
|
|
2593
2593
|
i,
|
|
2594
2594
|
o,
|
|
2595
2595
|
a,
|
|
2596
|
-
r === "comma" && y &&
|
|
2596
|
+
r === "comma" && y && V(b) ? null : s,
|
|
2597
2597
|
l,
|
|
2598
2598
|
u,
|
|
2599
2599
|
m,
|
|
@@ -2622,7 +2622,7 @@ var Kt = re, ve = jo, xs = ss, ks = Kt("%TypeError%"), qe = Kt("%WeakMap%", !0),
|
|
|
2622
2622
|
r = e.format;
|
|
2623
2623
|
}
|
|
2624
2624
|
var i = Oe.formatters[r], o = D.filter;
|
|
2625
|
-
return (typeof e.filter == "function" ||
|
|
2625
|
+
return (typeof e.filter == "function" || V(e.filter)) && (o = e.filter), {
|
|
2626
2626
|
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : D.addQueryPrefix,
|
|
2627
2627
|
allowDots: typeof e.allowDots > "u" ? D.allowDots : !!e.allowDots,
|
|
2628
2628
|
charset: n,
|
|
@@ -2641,7 +2641,7 @@ var Kt = re, ve = jo, xs = ss, ks = Kt("%TypeError%"), qe = Kt("%WeakMap%", !0),
|
|
|
2641
2641
|
};
|
|
2642
2642
|
}, na = function(t, e) {
|
|
2643
2643
|
var n = t, r = ta(e), i, o;
|
|
2644
|
-
typeof r.filter == "function" ? (o = r.filter, n = o("", n)) :
|
|
2644
|
+
typeof r.filter == "function" ? (o = r.filter, n = o("", n)) : V(r.filter) && (o = r.filter, i = o);
|
|
2645
2645
|
var a = [];
|
|
2646
2646
|
if (typeof n != "object" || n === null)
|
|
2647
2647
|
return "";
|
|
@@ -2793,7 +2793,7 @@ let be = ({ url: t, params: e, method: n, ourl: r }) => {
|
|
|
2793
2793
|
if (n === "post")
|
|
2794
2794
|
return Nn.post(i, ya.stringify(e), { headers: { "Content-Type": "application/x-www-form-urlencoded" } });
|
|
2795
2795
|
};
|
|
2796
|
-
function
|
|
2796
|
+
function Ge(t) {
|
|
2797
2797
|
return be({
|
|
2798
2798
|
url: "/api/v6/terminal/configs/by_name",
|
|
2799
2799
|
method: "get",
|
|
@@ -2976,7 +2976,11 @@ const Ta = {
|
|
|
2976
2976
|
//剩余时间
|
|
2977
2977
|
url_chat: "https://act.play.cn/hd/t/chat/?dark=" + this.isDark + "&modal=1",
|
|
2978
2978
|
parentData: "初始数据",
|
|
2979
|
-
isFullscreen: !1
|
|
2979
|
+
isFullscreen: !1,
|
|
2980
|
+
control_list: [],
|
|
2981
|
+
keyboardGuidance: "",
|
|
2982
|
+
leftGuidance: "",
|
|
2983
|
+
rightGuidance: ""
|
|
2980
2984
|
};
|
|
2981
2985
|
},
|
|
2982
2986
|
watch: {},
|
|
@@ -2989,7 +2993,16 @@ const Ta = {
|
|
|
2989
2993
|
}
|
|
2990
2994
|
this.isHarmonyOS() && (this.isHarmony = !0), console.log(this.game_cloud_service, "game_cloud_service"), Ln(this.game_id).then((t) => {
|
|
2991
2995
|
this.comTab = "", this.retract(), Un(t.ext.content_id).then((e) => {
|
|
2992
|
-
|
|
2996
|
+
if (e.ext)
|
|
2997
|
+
if (e.ext && Array.isArray(e.ext.control_list) && e.ext.control_list.length > 1) {
|
|
2998
|
+
this.leftGuidance = "", this.rightGuidance = "";
|
|
2999
|
+
for (let n = 0; n < e.ext.control_list.length; n++) {
|
|
3000
|
+
const r = e.ext.control_list[n];
|
|
3001
|
+
if (!this.rightGuidance && r.type === "keyboard" && r.guidance && (this.rightGuidance = r.guidance), !this.leftGuidance && r.type === "handle" && r.guidance && (this.leftGuidance = r.guidance, this.isShowOperation = !0), this.leftGuidance && this.rightGuidance)
|
|
3002
|
+
break;
|
|
3003
|
+
}
|
|
3004
|
+
} else
|
|
3005
|
+
this.screenImg = e.ext.open_img_handle && e.ext.open_img_handle[0], this.screenImg && this.screenImg != "" && (this.isShowOperation = !0);
|
|
2993
3006
|
});
|
|
2994
3007
|
}), this.getUserId(), this.getconfig(), this.getBitrate(), this.getClear(), this.getAspect();
|
|
2995
3008
|
},
|
|
@@ -3134,7 +3147,7 @@ const Ta = {
|
|
|
3134
3147
|
}, 1e3));
|
|
3135
3148
|
},
|
|
3136
3149
|
getconfig() {
|
|
3137
|
-
|
|
3150
|
+
Ge({ name: "game_header_menus" }).then((t) => {
|
|
3138
3151
|
if (t.code == 200) {
|
|
3139
3152
|
let r = [];
|
|
3140
3153
|
for (var e = 0; e < t.ext.value.length; e++) {
|
|
@@ -3149,7 +3162,7 @@ const Ta = {
|
|
|
3149
3162
|
},
|
|
3150
3163
|
// 获取清晰度
|
|
3151
3164
|
getClear() {
|
|
3152
|
-
|
|
3165
|
+
Ge({ name: "new_resolution" }).then((t) => {
|
|
3153
3166
|
if (t.code == 200) {
|
|
3154
3167
|
this.clearList = t.ext.value;
|
|
3155
3168
|
var e = {};
|
|
@@ -3165,7 +3178,7 @@ const Ta = {
|
|
|
3165
3178
|
},
|
|
3166
3179
|
// 获取清晰度
|
|
3167
3180
|
getBitrate() {
|
|
3168
|
-
|
|
3181
|
+
Ge({ name: "new_bitrate" }).then((t) => {
|
|
3169
3182
|
if (t.code == 200) {
|
|
3170
3183
|
this.bitrateList = t.ext.value;
|
|
3171
3184
|
var e = {};
|
|
@@ -3181,7 +3194,7 @@ const Ta = {
|
|
|
3181
3194
|
},
|
|
3182
3195
|
// 获取画面比例
|
|
3183
3196
|
getAspect() {
|
|
3184
|
-
|
|
3197
|
+
Ge({ name: "aspect_ratio" }).then((t) => {
|
|
3185
3198
|
if (t.code == 200) {
|
|
3186
3199
|
this.aspectList = t.ext.value;
|
|
3187
3200
|
var e = {};
|
|
@@ -3512,7 +3525,7 @@ const Ta = {
|
|
|
3512
3525
|
beforeDestroy() {
|
|
3513
3526
|
document.removeEventListener("fullscreenchange", this.handleFullscreenChange), document.removeEventListener("webkitfullscreenchange", this.handleFullscreenChange), document.removeEventListener("mozfullscreenchange", this.handleFullscreenChange), document.removeEventListener("MSFullscreenChange", this.handleFullscreenChange);
|
|
3514
3527
|
}
|
|
3515
|
-
}, x = (t) => (Pr("data-v-
|
|
3528
|
+
}, x = (t) => (Pr("data-v-ed48e7d8"), t = t(), Br(), t), Oa = ["src"], Ra = { key: 1 }, Ca = {
|
|
3516
3529
|
key: 0,
|
|
3517
3530
|
class: "setup"
|
|
3518
3531
|
}, Fa = {
|
|
@@ -3539,12 +3552,12 @@ const Ta = {
|
|
|
3539
3552
|
}, Wa = {
|
|
3540
3553
|
key: 0,
|
|
3541
3554
|
class: "zxhy"
|
|
3542
|
-
},
|
|
3555
|
+
}, Ga = /* @__PURE__ */ x(() => /* @__PURE__ */ c("div", { class: "content_mtitle" }, [
|
|
3543
3556
|
/* @__PURE__ */ c("div", { class: "content_mtitle1" }, "画面比例")
|
|
3544
|
-
], -1)),
|
|
3557
|
+
], -1)), Va = { class: "content_m_n" }, Qa = ["onClick"], Ja = {
|
|
3545
3558
|
key: 0,
|
|
3546
3559
|
class: "content_sxy"
|
|
3547
|
-
},
|
|
3560
|
+
}, ja = {
|
|
3548
3561
|
key: 0,
|
|
3549
3562
|
class: "zxhy"
|
|
3550
3563
|
}, Ya = { class: "info" }, Ka = { class: "info_left" }, Xa = ["src"], Za = {
|
|
@@ -3615,13 +3628,13 @@ const Ta = {
|
|
|
3615
3628
|
}, Wl = /* @__PURE__ */ x(() => /* @__PURE__ */ c("div", { class: "content_mtitle" }, [
|
|
3616
3629
|
/* @__PURE__ */ c("div", { class: "content_mtitle1" }, "清晰度"),
|
|
3617
3630
|
/* @__PURE__ */ c("div", { class: "content_mtitle2" }, "(游戏内设置,立即生效)")
|
|
3618
|
-
], -1)),
|
|
3631
|
+
], -1)), Gl = { class: "content_m_n" }, Vl = ["onClick"], Ql = {
|
|
3619
3632
|
key: 0,
|
|
3620
3633
|
class: "content_sxy"
|
|
3621
|
-
},
|
|
3634
|
+
}, Jl = {
|
|
3622
3635
|
key: 0,
|
|
3623
3636
|
class: "zxhy"
|
|
3624
|
-
},
|
|
3637
|
+
}, jl = /* @__PURE__ */ x(() => /* @__PURE__ */ c("div", { class: "content_mtitle" }, [
|
|
3625
3638
|
/* @__PURE__ */ c("div", { class: "content_mtitle1" }, "画面比例")
|
|
3626
3639
|
], -1)), Yl = { class: "content_m_n" }, Kl = ["onClick"], Xl = {
|
|
3627
3640
|
key: 0,
|
|
@@ -3717,21 +3730,21 @@ const Ta = {
|
|
|
3717
3730
|
], -1)), qc = {
|
|
3718
3731
|
class: "content_m_n",
|
|
3719
3732
|
style: { "margin-top": "20px" }
|
|
3720
|
-
}, Wc = ["onClick"],
|
|
3733
|
+
}, Wc = ["onClick"], Gc = {
|
|
3721
3734
|
key: 0,
|
|
3722
3735
|
class: "content_sxy"
|
|
3723
|
-
},
|
|
3736
|
+
}, Vc = {
|
|
3724
3737
|
key: 0,
|
|
3725
3738
|
class: "zxhy"
|
|
3726
|
-
},
|
|
3739
|
+
}, Qc = /* @__PURE__ */ x(() => /* @__PURE__ */ c("div", {
|
|
3727
3740
|
class: "content_mtitle",
|
|
3728
3741
|
style: { "margin-top": "100px" }
|
|
3729
3742
|
}, [
|
|
3730
3743
|
/* @__PURE__ */ c("div", { class: "content_mtitle1" }, "画面比例")
|
|
3731
|
-
], -1)),
|
|
3744
|
+
], -1)), Jc = {
|
|
3732
3745
|
class: "content_m_n",
|
|
3733
3746
|
style: { "margin-top": "20px" }
|
|
3734
|
-
},
|
|
3747
|
+
}, jc = ["onClick"], Yc = {
|
|
3735
3748
|
key: 0,
|
|
3736
3749
|
class: "content_sxy"
|
|
3737
3750
|
}, Kc = {
|
|
@@ -3806,8 +3819,11 @@ const Ta = {
|
|
|
3806
3819
|
}, Du = {
|
|
3807
3820
|
key: 0,
|
|
3808
3821
|
class: "zxhy"
|
|
3809
|
-
}, Nu = { class: "mask" }, Uu = { class: "mask_img" }, Lu =
|
|
3810
|
-
|
|
3822
|
+
}, Nu = { class: "mask" }, Uu = { class: "mask_img" }, Lu = {
|
|
3823
|
+
key: 0,
|
|
3824
|
+
class: "guidance-row"
|
|
3825
|
+
}, Mu = ["src"], Hu = ["src"], zu = ["src"];
|
|
3826
|
+
function qu(t, e, n, r, i, o) {
|
|
3811
3827
|
const a = Fr("AnimatedIframe");
|
|
3812
3828
|
return p(), h("div", null, [
|
|
3813
3829
|
c("div", {
|
|
@@ -3878,8 +3894,8 @@ function Mu(t, e, n, r, i, o) {
|
|
|
3878
3894
|
s.condition_name ? (p(), h("div", Wa, w(s.condition_name), 1)) : _("", !0)
|
|
3879
3895
|
], 10, za))), 128))
|
|
3880
3896
|
]),
|
|
3881
|
-
|
|
3882
|
-
c("div",
|
|
3897
|
+
Ga,
|
|
3898
|
+
c("div", Va, [
|
|
3883
3899
|
(p(!0), h(O, null, B(i.aspectList, (s, l) => (p(), h("div", {
|
|
3884
3900
|
class: A(["content_m_item", [i.aspectTab == s.item_id ? "content_iactive" : ""]]),
|
|
3885
3901
|
key: l,
|
|
@@ -3888,13 +3904,13 @@ function Mu(t, e, n, r, i, o) {
|
|
|
3888
3904
|
c("div", {
|
|
3889
3905
|
class: A(["content_m_y", [i.aspectTab == s.item_id ? "content_yactive" : ""]])
|
|
3890
3906
|
}, [
|
|
3891
|
-
i.aspectTab == s.item_id ? (p(), h("div",
|
|
3907
|
+
i.aspectTab == s.item_id ? (p(), h("div", Ja)) : _("", !0)
|
|
3892
3908
|
], 2),
|
|
3893
3909
|
c("div", {
|
|
3894
3910
|
class: A(["content_m_w", [i.aspectTab == s.item_id ? "content_wactive" : ""]])
|
|
3895
3911
|
}, w(s.item_name), 3),
|
|
3896
|
-
s.condition_name ? (p(), h("div",
|
|
3897
|
-
], 10,
|
|
3912
|
+
s.condition_name ? (p(), h("div", ja, w(s.condition_name), 1)) : _("", !0)
|
|
3913
|
+
], 10, Qa))), 128))
|
|
3898
3914
|
])
|
|
3899
3915
|
])) : _("", !0)
|
|
3900
3916
|
])) : _("", !0),
|
|
@@ -4039,7 +4055,7 @@ function Mu(t, e, n, r, i, o) {
|
|
|
4039
4055
|
], 10, Hl))), 128))
|
|
4040
4056
|
]),
|
|
4041
4057
|
Wl,
|
|
4042
|
-
c("div",
|
|
4058
|
+
c("div", Gl, [
|
|
4043
4059
|
(p(!0), h(O, null, B(i.bitrateList, (s, l) => (p(), h("div", {
|
|
4044
4060
|
class: A(["content_m_item", [i.codeTab == s.item_id ? "content_iactive" : ""]]),
|
|
4045
4061
|
key: l,
|
|
@@ -4048,15 +4064,15 @@ function Mu(t, e, n, r, i, o) {
|
|
|
4048
4064
|
c("div", {
|
|
4049
4065
|
class: A(["content_m_y", [i.codeTab == s.item_id ? "content_yactive" : ""]])
|
|
4050
4066
|
}, [
|
|
4051
|
-
i.codeTab == s.item_id ? (p(), h("div",
|
|
4067
|
+
i.codeTab == s.item_id ? (p(), h("div", Ql)) : _("", !0)
|
|
4052
4068
|
], 2),
|
|
4053
4069
|
c("div", {
|
|
4054
4070
|
class: A(["content_m_w", [i.codeTab == s.item_id ? "content_wactive" : ""]])
|
|
4055
4071
|
}, w(s.item_name), 3),
|
|
4056
|
-
s.condition_name ? (p(), h("div",
|
|
4057
|
-
], 10,
|
|
4072
|
+
s.condition_name ? (p(), h("div", Jl, w(s.condition_name), 1)) : _("", !0)
|
|
4073
|
+
], 10, Vl))), 128))
|
|
4058
4074
|
]),
|
|
4059
|
-
|
|
4075
|
+
jl,
|
|
4060
4076
|
c("div", Yl, [
|
|
4061
4077
|
(p(!0), h(O, null, B(i.aspectList, (s, l) => (p(), h("div", {
|
|
4062
4078
|
class: A(["content_m_item", [i.aspectTab == s.item_id ? "content_iactive" : ""]]),
|
|
@@ -4217,17 +4233,17 @@ function Mu(t, e, n, r, i, o) {
|
|
|
4217
4233
|
class: A(["content_m_y", [i.codeTab == s.item_id ? "content_yactive" : ""]]),
|
|
4218
4234
|
style: { "margin-left": "17px" }
|
|
4219
4235
|
}, [
|
|
4220
|
-
i.codeTab == s.item_id ? (p(), h("div",
|
|
4236
|
+
i.codeTab == s.item_id ? (p(), h("div", Gc)) : _("", !0)
|
|
4221
4237
|
], 2),
|
|
4222
4238
|
c("div", {
|
|
4223
4239
|
class: A(["content_m_w", [i.codeTab == s.item_id ? "content_wactive" : ""]]),
|
|
4224
4240
|
style: { "font-size": "22px" }
|
|
4225
4241
|
}, w(s.item_name), 3),
|
|
4226
|
-
s.condition_name ? (p(), h("div",
|
|
4242
|
+
s.condition_name ? (p(), h("div", Vc, w(s.condition_name), 1)) : _("", !0)
|
|
4227
4243
|
], 10, Wc))), 128))
|
|
4228
4244
|
]),
|
|
4229
|
-
|
|
4230
|
-
c("div",
|
|
4245
|
+
Qc,
|
|
4246
|
+
c("div", Jc, [
|
|
4231
4247
|
(p(!0), h(O, null, B(i.aspectList, (s, l) => (p(), h("div", {
|
|
4232
4248
|
class: A(["content_m_item", [i.aspectTab == s.item_id ? "content_iactive" : ""]]),
|
|
4233
4249
|
key: l,
|
|
@@ -4245,7 +4261,7 @@ function Mu(t, e, n, r, i, o) {
|
|
|
4245
4261
|
style: { "font-size": "22px" }
|
|
4246
4262
|
}, w(s.item_name), 3),
|
|
4247
4263
|
s.condition_name ? (p(), h("div", Kc, w(s.condition_name), 1)) : _("", !0)
|
|
4248
|
-
], 10,
|
|
4264
|
+
], 10, jc))), 128))
|
|
4249
4265
|
])
|
|
4250
4266
|
])) : _("", !0)
|
|
4251
4267
|
])) : _("", !0)
|
|
@@ -4402,11 +4418,23 @@ function Mu(t, e, n, r, i, o) {
|
|
|
4402
4418
|
]),
|
|
4403
4419
|
Mn(c("div", Nu, [
|
|
4404
4420
|
c("div", Uu, [
|
|
4405
|
-
|
|
4421
|
+
i.rightGuidance ? (p(), h("div", Lu, [
|
|
4422
|
+
c("img", {
|
|
4423
|
+
src: i.leftGuidance,
|
|
4424
|
+
class: "guidance-img left-img",
|
|
4425
|
+
alt: "左图"
|
|
4426
|
+
}, null, 8, Mu),
|
|
4427
|
+
c("img", {
|
|
4428
|
+
src: i.rightGuidance,
|
|
4429
|
+
class: "guidance-img right-img",
|
|
4430
|
+
alt: "右图"
|
|
4431
|
+
}, null, 8, Hu)
|
|
4432
|
+
])) : (p(), h("img", {
|
|
4433
|
+
key: 1,
|
|
4406
4434
|
class: "screenImg",
|
|
4407
4435
|
src: i.screenImg,
|
|
4408
4436
|
alt: ""
|
|
4409
|
-
}, null, 8,
|
|
4437
|
+
}, null, 8, zu)),
|
|
4410
4438
|
c("div", {
|
|
4411
4439
|
class: "close",
|
|
4412
4440
|
onClick: e[29] || (e[29] = (...s) => o.closeDialog && o.closeDialog(...s))
|
|
@@ -4417,7 +4445,7 @@ function Mu(t, e, n, r, i, o) {
|
|
|
4417
4445
|
])
|
|
4418
4446
|
]);
|
|
4419
4447
|
}
|
|
4420
|
-
const
|
|
4448
|
+
const Gu = /* @__PURE__ */ Rr(Ta, [["render", qu], ["__scopeId", "data-v-ed48e7d8"]]);
|
|
4421
4449
|
export {
|
|
4422
|
-
|
|
4450
|
+
Gu as gameassis
|
|
4423
4451
|
};
|