tyy-game-assiss 2.3.2 → 2.3.3

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.
@@ -1,4553 +0,0 @@
1
- import { openBlock as p, createElementBlock as h, createElementVNode as c, withModifiers as W, normalizeStyle as Fe, createCommentVNode as v, normalizeClass as S, Fragment as I, renderList as N, toDisplayString as T, withDirectives as Gr, vShow as Vr } from "vue";
2
- function $n(t, e) {
3
- return function() {
4
- return t.apply(e, arguments);
5
- };
6
- }
7
- const { toString: Kr } = Object.prototype, { getPrototypeOf: Wt } = Object, rt = ((t) => (e) => {
8
- const n = Kr.call(e);
9
- return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
10
- })(/* @__PURE__ */ Object.create(null)), J = (t) => (t = t.toLowerCase(), (e) => rt(e) === t), it = (t) => (e) => typeof e === t, { isArray: ve } = Array, ke = it("undefined");
11
- function Yr(t) {
12
- return t !== null && !ke(t) && t.constructor !== null && !ke(t.constructor) && z(t.constructor.isBuffer) && t.constructor.isBuffer(t);
13
- }
14
- const er = J("ArrayBuffer");
15
- function Xr(t) {
16
- let e;
17
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && er(t.buffer), e;
18
- }
19
- const Zr = it("string"), z = it("function"), tr = it("number"), ot = (t) => t !== null && typeof t == "object", $r = (t) => t === !0 || t === !1, Je = (t) => {
20
- if (rt(t) !== "object")
21
- return !1;
22
- const e = Wt(t);
23
- return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
24
- }, ei = J("Date"), ti = J("File"), ni = J("Blob"), ri = J("FileList"), ii = (t) => ot(t) && z(t.pipe), oi = (t) => {
25
- let e;
26
- return t && (typeof FormData == "function" && t instanceof FormData || z(t.append) && ((e = rt(t)) === "formdata" || // detect form-data instance
27
- e === "object" && z(t.toString) && t.toString() === "[object FormData]"));
28
- }, si = J("URLSearchParams"), [ai, li, ci, ui] = ["ReadableStream", "Request", "Response", "Headers"].map(J), fi = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
- function Ce(t, e, { allOwnKeys: n = !1 } = {}) {
30
- if (t === null || typeof t > "u")
31
- return;
32
- let r, i;
33
- if (typeof t != "object" && (t = [t]), ve(t))
34
- for (r = 0, i = t.length; r < i; r++)
35
- e.call(null, t[r], r, t);
36
- else {
37
- const s = n ? Object.getOwnPropertyNames(t) : Object.keys(t), o = s.length;
38
- let a;
39
- for (r = 0; r < o; r++)
40
- a = s[r], e.call(null, t[a], a, t);
41
- }
42
- }
43
- function nr(t, e) {
44
- e = e.toLowerCase();
45
- const n = Object.keys(t);
46
- let r = n.length, i;
47
- for (; r-- > 0; )
48
- if (i = n[r], e === i.toLowerCase())
49
- return i;
50
- return null;
51
- }
52
- const oe = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), rr = (t) => !ke(t) && t !== oe;
53
- function Ot() {
54
- const { caseless: t } = rr(this) && this || {}, e = {}, n = (r, i) => {
55
- const s = t && nr(e, i) || i;
56
- Je(e[s]) && Je(r) ? e[s] = Ot(e[s], r) : Je(r) ? e[s] = Ot({}, r) : ve(r) ? e[s] = r.slice() : e[s] = r;
57
- };
58
- for (let r = 0, i = arguments.length; r < i; r++)
59
- arguments[r] && Ce(arguments[r], n);
60
- return e;
61
- }
62
- const di = (t, e, n, { allOwnKeys: r } = {}) => (Ce(e, (i, s) => {
63
- n && z(i) ? t[s] = $n(i, n) : t[s] = i;
64
- }, { allOwnKeys: r }), t), pi = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), hi = (t, e, n, r) => {
65
- t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
66
- value: e.prototype
67
- }), n && Object.assign(t.prototype, n);
68
- }, yi = (t, e, n, r) => {
69
- let i, s, o;
70
- const a = {};
71
- if (e = e || {}, t == null)
72
- return e;
73
- do {
74
- for (i = Object.getOwnPropertyNames(t), s = i.length; s-- > 0; )
75
- o = i[s], (!r || r(o, t, e)) && !a[o] && (e[o] = t[o], a[o] = !0);
76
- t = n !== !1 && Wt(t);
77
- } while (t && (!n || n(t, e)) && t !== Object.prototype);
78
- return e;
79
- }, mi = (t, e, n) => {
80
- t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length;
81
- const r = t.indexOf(e, n);
82
- return r !== -1 && r === n;
83
- }, gi = (t) => {
84
- if (!t)
85
- return null;
86
- if (ve(t))
87
- return t;
88
- let e = t.length;
89
- if (!tr(e))
90
- return null;
91
- const n = new Array(e);
92
- for (; e-- > 0; )
93
- n[e] = t[e];
94
- return n;
95
- }, _i = ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Wt(Uint8Array)), vi = (t, e) => {
96
- const r = (t && t[Symbol.iterator]).call(t);
97
- let i;
98
- for (; (i = r.next()) && !i.done; ) {
99
- const s = i.value;
100
- e.call(t, s[0], s[1]);
101
- }
102
- }, wi = (t, e) => {
103
- let n;
104
- const r = [];
105
- for (; (n = t.exec(e)) !== null; )
106
- r.push(n);
107
- return r;
108
- }, bi = J("HTMLFormElement"), Ai = (t) => t.toLowerCase().replace(
109
- /[-_\s]([a-z\d])(\w*)/g,
110
- function(n, r, i) {
111
- return r.toUpperCase() + i;
112
- }
113
- ), un = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Si = J("RegExp"), ir = (t, e) => {
114
- const n = Object.getOwnPropertyDescriptors(t), r = {};
115
- Ce(n, (i, s) => {
116
- let o;
117
- (o = e(i, s, t)) !== !1 && (r[s] = o || i);
118
- }), Object.defineProperties(t, r);
119
- }, Ei = (t) => {
120
- ir(t, (e, n) => {
121
- if (z(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
122
- return !1;
123
- const r = t[n];
124
- if (z(r)) {
125
- if (e.enumerable = !1, "writable" in e) {
126
- e.writable = !1;
127
- return;
128
- }
129
- e.set || (e.set = () => {
130
- throw Error("Can not rewrite read-only method '" + n + "'");
131
- });
132
- }
133
- });
134
- }, Ti = (t, e) => {
135
- const n = {}, r = (i) => {
136
- i.forEach((s) => {
137
- n[s] = !0;
138
- });
139
- };
140
- return ve(t) ? r(t) : r(String(t).split(e)), n;
141
- }, xi = () => {
142
- }, Ri = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, dt = "abcdefghijklmnopqrstuvwxyz", fn = "0123456789", or = {
143
- DIGIT: fn,
144
- ALPHA: dt,
145
- ALPHA_DIGIT: dt + dt.toUpperCase() + fn
146
- }, Oi = (t = 16, e = or.ALPHA_DIGIT) => {
147
- let n = "";
148
- const { length: r } = e;
149
- for (; t--; )
150
- n += e[Math.random() * r | 0];
151
- return n;
152
- };
153
- function ki(t) {
154
- return !!(t && z(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
155
- }
156
- const Ci = (t) => {
157
- const e = new Array(10), n = (r, i) => {
158
- if (ot(r)) {
159
- if (e.indexOf(r) >= 0)
160
- return;
161
- if (!("toJSON" in r)) {
162
- e[i] = r;
163
- const s = ve(r) ? [] : {};
164
- return Ce(r, (o, a) => {
165
- const l = n(o, i + 1);
166
- !ke(l) && (s[a] = l);
167
- }), e[i] = void 0, s;
168
- }
169
- }
170
- return r;
171
- };
172
- return n(t, 0);
173
- }, Ii = J("AsyncFunction"), Pi = (t) => t && (ot(t) || z(t)) && z(t.then) && z(t.catch), sr = ((t, e) => t ? setImmediate : e ? ((n, r) => (oe.addEventListener("message", ({ source: i, data: s }) => {
174
- i === oe && s === n && r.length && r.shift()();
175
- }, !1), (i) => {
176
- r.push(i), oe.postMessage(n, "*");
177
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
178
- typeof setImmediate == "function",
179
- z(oe.postMessage)
180
- ), Bi = typeof queueMicrotask < "u" ? queueMicrotask.bind(oe) : typeof process < "u" && process.nextTick || sr, d = {
181
- isArray: ve,
182
- isArrayBuffer: er,
183
- isBuffer: Yr,
184
- isFormData: oi,
185
- isArrayBufferView: Xr,
186
- isString: Zr,
187
- isNumber: tr,
188
- isBoolean: $r,
189
- isObject: ot,
190
- isPlainObject: Je,
191
- isReadableStream: ai,
192
- isRequest: li,
193
- isResponse: ci,
194
- isHeaders: ui,
195
- isUndefined: ke,
196
- isDate: ei,
197
- isFile: ti,
198
- isBlob: ni,
199
- isRegExp: Si,
200
- isFunction: z,
201
- isStream: ii,
202
- isURLSearchParams: si,
203
- isTypedArray: _i,
204
- isFileList: ri,
205
- forEach: Ce,
206
- merge: Ot,
207
- extend: di,
208
- trim: fi,
209
- stripBOM: pi,
210
- inherits: hi,
211
- toFlatObject: yi,
212
- kindOf: rt,
213
- kindOfTest: J,
214
- endsWith: mi,
215
- toArray: gi,
216
- forEachEntry: vi,
217
- matchAll: wi,
218
- isHTMLForm: bi,
219
- hasOwnProperty: un,
220
- hasOwnProp: un,
221
- // an alias to avoid ESLint no-prototype-builtins detection
222
- reduceDescriptors: ir,
223
- freezeMethods: Ei,
224
- toObjectSet: Ti,
225
- toCamelCase: Ai,
226
- noop: xi,
227
- toFiniteNumber: Ri,
228
- findKey: nr,
229
- global: oe,
230
- isContextDefined: rr,
231
- ALPHABET: or,
232
- generateString: Oi,
233
- isSpecCompliantForm: ki,
234
- toJSONObject: Ci,
235
- isAsyncFn: Ii,
236
- isThenable: Pi,
237
- setImmediate: sr,
238
- asap: Bi
239
- };
240
- function E(t, e, n, r, i) {
241
- Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), r && (this.request = r), i && (this.response = i, this.status = i.status ? i.status : null);
242
- }
243
- d.inherits(E, Error, {
244
- toJSON: function() {
245
- return {
246
- // Standard
247
- message: this.message,
248
- name: this.name,
249
- // Microsoft
250
- description: this.description,
251
- number: this.number,
252
- // Mozilla
253
- fileName: this.fileName,
254
- lineNumber: this.lineNumber,
255
- columnNumber: this.columnNumber,
256
- stack: this.stack,
257
- // Axios
258
- config: d.toJSONObject(this.config),
259
- code: this.code,
260
- status: this.status
261
- };
262
- }
263
- });
264
- const ar = E.prototype, lr = {};
265
- [
266
- "ERR_BAD_OPTION_VALUE",
267
- "ERR_BAD_OPTION",
268
- "ECONNABORTED",
269
- "ETIMEDOUT",
270
- "ERR_NETWORK",
271
- "ERR_FR_TOO_MANY_REDIRECTS",
272
- "ERR_DEPRECATED",
273
- "ERR_BAD_RESPONSE",
274
- "ERR_BAD_REQUEST",
275
- "ERR_CANCELED",
276
- "ERR_NOT_SUPPORT",
277
- "ERR_INVALID_URL"
278
- // eslint-disable-next-line func-names
279
- ].forEach((t) => {
280
- lr[t] = { value: t };
281
- });
282
- Object.defineProperties(E, lr);
283
- Object.defineProperty(ar, "isAxiosError", { value: !0 });
284
- E.from = (t, e, n, r, i, s) => {
285
- const o = Object.create(ar);
286
- return d.toFlatObject(t, o, function(l) {
287
- return l !== Error.prototype;
288
- }, (a) => a !== "isAxiosError"), E.call(o, t.message, e, n, r, i), o.cause = t, o.name = t.name, s && Object.assign(o, s), o;
289
- };
290
- const Di = null;
291
- function kt(t) {
292
- return d.isPlainObject(t) || d.isArray(t);
293
- }
294
- function cr(t) {
295
- return d.endsWith(t, "[]") ? t.slice(0, -2) : t;
296
- }
297
- function dn(t, e, n) {
298
- return t ? t.concat(e).map(function(i, s) {
299
- return i = cr(i), !n && s ? "[" + i + "]" : i;
300
- }).join(n ? "." : "") : e;
301
- }
302
- function Fi(t) {
303
- return d.isArray(t) && !t.some(kt);
304
- }
305
- const Ni = d.toFlatObject(d, {}, null, function(e) {
306
- return /^is[A-Z]/.test(e);
307
- });
308
- function st(t, e, n) {
309
- if (!d.isObject(t))
310
- throw new TypeError("target must be an object");
311
- e = e || new FormData(), n = d.toFlatObject(n, {
312
- metaTokens: !0,
313
- dots: !1,
314
- indexes: !1
315
- }, !1, function(w, _) {
316
- return !d.isUndefined(_[w]);
317
- });
318
- const r = n.metaTokens, i = n.visitor || u, s = n.dots, o = n.indexes, l = (n.Blob || typeof Blob < "u" && Blob) && d.isSpecCompliantForm(e);
319
- if (!d.isFunction(i))
320
- throw new TypeError("visitor must be a function");
321
- function f(g) {
322
- if (g === null)
323
- return "";
324
- if (d.isDate(g))
325
- return g.toISOString();
326
- if (!l && d.isBlob(g))
327
- throw new E("Blob is not supported. Use a Buffer instead.");
328
- return d.isArrayBuffer(g) || d.isTypedArray(g) ? l && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
329
- }
330
- function u(g, w, _) {
331
- let R = g;
332
- if (g && !_ && typeof g == "object") {
333
- if (d.endsWith(w, "{}"))
334
- w = r ? w : w.slice(0, -2), g = JSON.stringify(g);
335
- else if (d.isArray(g) && Fi(g) || (d.isFileList(g) || d.endsWith(w, "[]")) && (R = d.toArray(g)))
336
- return w = cr(w), R.forEach(function(b, D) {
337
- !(d.isUndefined(b) || b === null) && e.append(
338
- // eslint-disable-next-line no-nested-ternary
339
- o === !0 ? dn([w], D, s) : o === null ? w : w + "[]",
340
- f(b)
341
- );
342
- }), !1;
343
- }
344
- return kt(g) ? !0 : (e.append(dn(_, w, s), f(g)), !1);
345
- }
346
- const y = [], m = Object.assign(Ni, {
347
- defaultVisitor: u,
348
- convertValue: f,
349
- isVisitable: kt
350
- });
351
- function A(g, w) {
352
- if (!d.isUndefined(g)) {
353
- if (y.indexOf(g) !== -1)
354
- throw Error("Circular reference detected in " + w.join("."));
355
- y.push(g), d.forEach(g, function(R, O) {
356
- (!(d.isUndefined(R) || R === null) && i.call(
357
- e,
358
- R,
359
- d.isString(O) ? O.trim() : O,
360
- w,
361
- m
362
- )) === !0 && A(R, w ? w.concat(O) : [O]);
363
- }), y.pop();
364
- }
365
- }
366
- if (!d.isObject(t))
367
- throw new TypeError("data must be an object");
368
- return A(t), e;
369
- }
370
- function pn(t) {
371
- const e = {
372
- "!": "%21",
373
- "'": "%27",
374
- "(": "%28",
375
- ")": "%29",
376
- "~": "%7E",
377
- "%20": "+",
378
- "%00": "\0"
379
- };
380
- return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(r) {
381
- return e[r];
382
- });
383
- }
384
- function Qt(t, e) {
385
- this._pairs = [], t && st(t, this, e);
386
- }
387
- const ur = Qt.prototype;
388
- ur.append = function(e, n) {
389
- this._pairs.push([e, n]);
390
- };
391
- ur.toString = function(e) {
392
- const n = e ? function(r) {
393
- return e.call(this, r, pn);
394
- } : pn;
395
- return this._pairs.map(function(i) {
396
- return n(i[0]) + "=" + n(i[1]);
397
- }, "").join("&");
398
- };
399
- function Ui(t) {
400
- return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
401
- }
402
- function fr(t, e, n) {
403
- if (!e)
404
- return t;
405
- const r = n && n.encode || Ui, i = n && n.serialize;
406
- let s;
407
- if (i ? s = i(e, n) : s = d.isURLSearchParams(e) ? e.toString() : new Qt(e, n).toString(r), s) {
408
- const o = t.indexOf("#");
409
- o !== -1 && (t = t.slice(0, o)), t += (t.indexOf("?") === -1 ? "?" : "&") + s;
410
- }
411
- return t;
412
- }
413
- class Li {
414
- constructor() {
415
- this.handlers = [];
416
- }
417
- /**
418
- * Add a new interceptor to the stack
419
- *
420
- * @param {Function} fulfilled The function to handle `then` for a `Promise`
421
- * @param {Function} rejected The function to handle `reject` for a `Promise`
422
- *
423
- * @return {Number} An ID used to remove interceptor later
424
- */
425
- use(e, n, r) {
426
- return this.handlers.push({
427
- fulfilled: e,
428
- rejected: n,
429
- synchronous: r ? r.synchronous : !1,
430
- runWhen: r ? r.runWhen : null
431
- }), this.handlers.length - 1;
432
- }
433
- /**
434
- * Remove an interceptor from the stack
435
- *
436
- * @param {Number} id The ID that was returned by `use`
437
- *
438
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
439
- */
440
- eject(e) {
441
- this.handlers[e] && (this.handlers[e] = null);
442
- }
443
- /**
444
- * Clear all interceptors from the stack
445
- *
446
- * @returns {void}
447
- */
448
- clear() {
449
- this.handlers && (this.handlers = []);
450
- }
451
- /**
452
- * Iterate over all the registered interceptors
453
- *
454
- * This method is particularly useful for skipping over any
455
- * interceptors that may have become `null` calling `eject`.
456
- *
457
- * @param {Function} fn The function to call for each interceptor
458
- *
459
- * @returns {void}
460
- */
461
- forEach(e) {
462
- d.forEach(this.handlers, function(r) {
463
- r !== null && e(r);
464
- });
465
- }
466
- }
467
- const hn = Li, dr = {
468
- silentJSONParsing: !0,
469
- forcedJSONParsing: !0,
470
- clarifyTimeoutError: !1
471
- }, Mi = typeof URLSearchParams < "u" ? URLSearchParams : Qt, Hi = typeof FormData < "u" ? FormData : null, zi = typeof Blob < "u" ? Blob : null, qi = {
472
- isBrowser: !0,
473
- classes: {
474
- URLSearchParams: Mi,
475
- FormData: Hi,
476
- Blob: zi
477
- },
478
- protocols: ["http", "https", "file", "blob", "url", "data"]
479
- }, Jt = typeof window < "u" && typeof document < "u", Ct = typeof navigator == "object" && navigator || void 0, Wi = Jt && (!Ct || ["ReactNative", "NativeScript", "NS"].indexOf(Ct.product) < 0), Qi = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
480
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Ji = Jt && window.location.href || "http://localhost", ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
481
- __proto__: null,
482
- hasBrowserEnv: Jt,
483
- hasStandardBrowserEnv: Wi,
484
- hasStandardBrowserWebWorkerEnv: Qi,
485
- navigator: Ct,
486
- origin: Ji
487
- }, Symbol.toStringTag, { value: "Module" })), H = {
488
- ...ji,
489
- ...qi
490
- };
491
- function Gi(t, e) {
492
- return st(t, new H.classes.URLSearchParams(), Object.assign({
493
- visitor: function(n, r, i, s) {
494
- return H.isNode && d.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
495
- }
496
- }, e));
497
- }
498
- function Vi(t) {
499
- return d.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
500
- }
501
- function Ki(t) {
502
- const e = {}, n = Object.keys(t);
503
- let r;
504
- const i = n.length;
505
- let s;
506
- for (r = 0; r < i; r++)
507
- s = n[r], e[s] = t[s];
508
- return e;
509
- }
510
- function pr(t) {
511
- function e(n, r, i, s) {
512
- let o = n[s++];
513
- if (o === "__proto__")
514
- return !0;
515
- const a = Number.isFinite(+o), l = s >= n.length;
516
- return o = !o && d.isArray(i) ? i.length : o, l ? (d.hasOwnProp(i, o) ? i[o] = [i[o], r] : i[o] = r, !a) : ((!i[o] || !d.isObject(i[o])) && (i[o] = []), e(n, r, i[o], s) && d.isArray(i[o]) && (i[o] = Ki(i[o])), !a);
517
- }
518
- if (d.isFormData(t) && d.isFunction(t.entries)) {
519
- const n = {};
520
- return d.forEachEntry(t, (r, i) => {
521
- e(Vi(r), i, n, 0);
522
- }), n;
523
- }
524
- return null;
525
- }
526
- function Yi(t, e, n) {
527
- if (d.isString(t))
528
- try {
529
- return (e || JSON.parse)(t), d.trim(t);
530
- } catch (r) {
531
- if (r.name !== "SyntaxError")
532
- throw r;
533
- }
534
- return (n || JSON.stringify)(t);
535
- }
536
- const jt = {
537
- transitional: dr,
538
- adapter: ["xhr", "http", "fetch"],
539
- transformRequest: [function(e, n) {
540
- const r = n.getContentType() || "", i = r.indexOf("application/json") > -1, s = d.isObject(e);
541
- if (s && d.isHTMLForm(e) && (e = new FormData(e)), d.isFormData(e))
542
- return i ? JSON.stringify(pr(e)) : e;
543
- if (d.isArrayBuffer(e) || d.isBuffer(e) || d.isStream(e) || d.isFile(e) || d.isBlob(e) || d.isReadableStream(e))
544
- return e;
545
- if (d.isArrayBufferView(e))
546
- return e.buffer;
547
- if (d.isURLSearchParams(e))
548
- return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
549
- let a;
550
- if (s) {
551
- if (r.indexOf("application/x-www-form-urlencoded") > -1)
552
- return Gi(e, this.formSerializer).toString();
553
- if ((a = d.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
554
- const l = this.env && this.env.FormData;
555
- return st(
556
- a ? { "files[]": e } : e,
557
- l && new l(),
558
- this.formSerializer
559
- );
560
- }
561
- }
562
- return s || i ? (n.setContentType("application/json", !1), Yi(e)) : e;
563
- }],
564
- transformResponse: [function(e) {
565
- const n = this.transitional || jt.transitional, r = n && n.forcedJSONParsing, i = this.responseType === "json";
566
- if (d.isResponse(e) || d.isReadableStream(e))
567
- return e;
568
- if (e && d.isString(e) && (r && !this.responseType || i)) {
569
- const o = !(n && n.silentJSONParsing) && i;
570
- try {
571
- return JSON.parse(e);
572
- } catch (a) {
573
- if (o)
574
- throw a.name === "SyntaxError" ? E.from(a, E.ERR_BAD_RESPONSE, this, null, this.response) : a;
575
- }
576
- }
577
- return e;
578
- }],
579
- /**
580
- * A timeout in milliseconds to abort a request. If set to 0 (default) a
581
- * timeout is not created.
582
- */
583
- timeout: 0,
584
- xsrfCookieName: "XSRF-TOKEN",
585
- xsrfHeaderName: "X-XSRF-TOKEN",
586
- maxContentLength: -1,
587
- maxBodyLength: -1,
588
- env: {
589
- FormData: H.classes.FormData,
590
- Blob: H.classes.Blob
591
- },
592
- validateStatus: function(e) {
593
- return e >= 200 && e < 300;
594
- },
595
- headers: {
596
- common: {
597
- Accept: "application/json, text/plain, */*",
598
- "Content-Type": void 0
599
- }
600
- }
601
- };
602
- d.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
603
- jt.headers[t] = {};
604
- });
605
- const Gt = jt, Xi = d.toObjectSet([
606
- "age",
607
- "authorization",
608
- "content-length",
609
- "content-type",
610
- "etag",
611
- "expires",
612
- "from",
613
- "host",
614
- "if-modified-since",
615
- "if-unmodified-since",
616
- "last-modified",
617
- "location",
618
- "max-forwards",
619
- "proxy-authorization",
620
- "referer",
621
- "retry-after",
622
- "user-agent"
623
- ]), Zi = (t) => {
624
- const e = {};
625
- let n, r, i;
626
- return t && t.split(`
627
- `).forEach(function(o) {
628
- i = o.indexOf(":"), n = o.substring(0, i).trim().toLowerCase(), r = o.substring(i + 1).trim(), !(!n || e[n] && Xi[n]) && (n === "set-cookie" ? e[n] ? e[n].push(r) : e[n] = [r] : e[n] = e[n] ? e[n] + ", " + r : r);
629
- }), e;
630
- }, yn = Symbol("internals");
631
- function Ee(t) {
632
- return t && String(t).trim().toLowerCase();
633
- }
634
- function je(t) {
635
- return t === !1 || t == null ? t : d.isArray(t) ? t.map(je) : String(t);
636
- }
637
- function $i(t) {
638
- const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
639
- let r;
640
- for (; r = n.exec(t); )
641
- e[r[1]] = r[2];
642
- return e;
643
- }
644
- const eo = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
645
- function pt(t, e, n, r, i) {
646
- if (d.isFunction(r))
647
- return r.call(this, e, n);
648
- if (i && (e = n), !!d.isString(e)) {
649
- if (d.isString(r))
650
- return e.indexOf(r) !== -1;
651
- if (d.isRegExp(r))
652
- return r.test(e);
653
- }
654
- }
655
- function to(t) {
656
- return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, r) => n.toUpperCase() + r);
657
- }
658
- function no(t, e) {
659
- const n = d.toCamelCase(" " + e);
660
- ["get", "set", "has"].forEach((r) => {
661
- Object.defineProperty(t, r + n, {
662
- value: function(i, s, o) {
663
- return this[r].call(this, e, i, s, o);
664
- },
665
- configurable: !0
666
- });
667
- });
668
- }
669
- class at {
670
- constructor(e) {
671
- e && this.set(e);
672
- }
673
- set(e, n, r) {
674
- const i = this;
675
- function s(a, l, f) {
676
- const u = Ee(l);
677
- if (!u)
678
- throw new Error("header name must be a non-empty string");
679
- const y = d.findKey(i, u);
680
- (!y || i[y] === void 0 || f === !0 || f === void 0 && i[y] !== !1) && (i[y || l] = je(a));
681
- }
682
- const o = (a, l) => d.forEach(a, (f, u) => s(f, u, l));
683
- if (d.isPlainObject(e) || e instanceof this.constructor)
684
- o(e, n);
685
- else if (d.isString(e) && (e = e.trim()) && !eo(e))
686
- o(Zi(e), n);
687
- else if (d.isHeaders(e))
688
- for (const [a, l] of e.entries())
689
- s(l, a, r);
690
- else
691
- e != null && s(n, e, r);
692
- return this;
693
- }
694
- get(e, n) {
695
- if (e = Ee(e), e) {
696
- const r = d.findKey(this, e);
697
- if (r) {
698
- const i = this[r];
699
- if (!n)
700
- return i;
701
- if (n === !0)
702
- return $i(i);
703
- if (d.isFunction(n))
704
- return n.call(this, i, r);
705
- if (d.isRegExp(n))
706
- return n.exec(i);
707
- throw new TypeError("parser must be boolean|regexp|function");
708
- }
709
- }
710
- }
711
- has(e, n) {
712
- if (e = Ee(e), e) {
713
- const r = d.findKey(this, e);
714
- return !!(r && this[r] !== void 0 && (!n || pt(this, this[r], r, n)));
715
- }
716
- return !1;
717
- }
718
- delete(e, n) {
719
- const r = this;
720
- let i = !1;
721
- function s(o) {
722
- if (o = Ee(o), o) {
723
- const a = d.findKey(r, o);
724
- a && (!n || pt(r, r[a], a, n)) && (delete r[a], i = !0);
725
- }
726
- }
727
- return d.isArray(e) ? e.forEach(s) : s(e), i;
728
- }
729
- clear(e) {
730
- const n = Object.keys(this);
731
- let r = n.length, i = !1;
732
- for (; r--; ) {
733
- const s = n[r];
734
- (!e || pt(this, this[s], s, e, !0)) && (delete this[s], i = !0);
735
- }
736
- return i;
737
- }
738
- normalize(e) {
739
- const n = this, r = {};
740
- return d.forEach(this, (i, s) => {
741
- const o = d.findKey(r, s);
742
- if (o) {
743
- n[o] = je(i), delete n[s];
744
- return;
745
- }
746
- const a = e ? to(s) : String(s).trim();
747
- a !== s && delete n[s], n[a] = je(i), r[a] = !0;
748
- }), this;
749
- }
750
- concat(...e) {
751
- return this.constructor.concat(this, ...e);
752
- }
753
- toJSON(e) {
754
- const n = /* @__PURE__ */ Object.create(null);
755
- return d.forEach(this, (r, i) => {
756
- r != null && r !== !1 && (n[i] = e && d.isArray(r) ? r.join(", ") : r);
757
- }), n;
758
- }
759
- [Symbol.iterator]() {
760
- return Object.entries(this.toJSON())[Symbol.iterator]();
761
- }
762
- toString() {
763
- return Object.entries(this.toJSON()).map(([e, n]) => e + ": " + n).join(`
764
- `);
765
- }
766
- get [Symbol.toStringTag]() {
767
- return "AxiosHeaders";
768
- }
769
- static from(e) {
770
- return e instanceof this ? e : new this(e);
771
- }
772
- static concat(e, ...n) {
773
- const r = new this(e);
774
- return n.forEach((i) => r.set(i)), r;
775
- }
776
- static accessor(e) {
777
- const r = (this[yn] = this[yn] = {
778
- accessors: {}
779
- }).accessors, i = this.prototype;
780
- function s(o) {
781
- const a = Ee(o);
782
- r[a] || (no(i, o), r[a] = !0);
783
- }
784
- return d.isArray(e) ? e.forEach(s) : s(e), this;
785
- }
786
- }
787
- at.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
788
- d.reduceDescriptors(at.prototype, ({ value: t }, e) => {
789
- let n = e[0].toUpperCase() + e.slice(1);
790
- return {
791
- get: () => t,
792
- set(r) {
793
- this[n] = r;
794
- }
795
- };
796
- });
797
- d.freezeMethods(at);
798
- const Q = at;
799
- function ht(t, e) {
800
- const n = this || Gt, r = e || n, i = Q.from(r.headers);
801
- let s = r.data;
802
- return d.forEach(t, function(a) {
803
- s = a.call(n, s, i.normalize(), e ? e.status : void 0);
804
- }), i.normalize(), s;
805
- }
806
- function hr(t) {
807
- return !!(t && t.__CANCEL__);
808
- }
809
- function we(t, e, n) {
810
- E.call(this, t ?? "canceled", E.ERR_CANCELED, e, n), this.name = "CanceledError";
811
- }
812
- d.inherits(we, E, {
813
- __CANCEL__: !0
814
- });
815
- function yr(t, e, n) {
816
- const r = n.config.validateStatus;
817
- !n.status || !r || r(n.status) ? t(n) : e(new E(
818
- "Request failed with status code " + n.status,
819
- [E.ERR_BAD_REQUEST, E.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
820
- n.config,
821
- n.request,
822
- n
823
- ));
824
- }
825
- function ro(t) {
826
- const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
827
- return e && e[1] || "";
828
- }
829
- function io(t, e) {
830
- t = t || 10;
831
- const n = new Array(t), r = new Array(t);
832
- let i = 0, s = 0, o;
833
- return e = e !== void 0 ? e : 1e3, function(l) {
834
- const f = Date.now(), u = r[s];
835
- o || (o = f), n[i] = l, r[i] = f;
836
- let y = s, m = 0;
837
- for (; y !== i; )
838
- m += n[y++], y = y % t;
839
- if (i = (i + 1) % t, i === s && (s = (s + 1) % t), f - o < e)
840
- return;
841
- const A = u && f - u;
842
- return A ? Math.round(m * 1e3 / A) : void 0;
843
- };
844
- }
845
- function oo(t, e) {
846
- let n = 0, r = 1e3 / e, i, s;
847
- const o = (f, u = Date.now()) => {
848
- n = u, i = null, s && (clearTimeout(s), s = null), t.apply(null, f);
849
- };
850
- return [(...f) => {
851
- const u = Date.now(), y = u - n;
852
- y >= r ? o(f, u) : (i = f, s || (s = setTimeout(() => {
853
- s = null, o(i);
854
- }, r - y)));
855
- }, () => i && o(i)];
856
- }
857
- const Ye = (t, e, n = 3) => {
858
- let r = 0;
859
- const i = io(50, 250);
860
- return oo((s) => {
861
- const o = s.loaded, a = s.lengthComputable ? s.total : void 0, l = o - r, f = i(l), u = o <= a;
862
- r = o;
863
- const y = {
864
- loaded: o,
865
- total: a,
866
- progress: a ? o / a : void 0,
867
- bytes: l,
868
- rate: f || void 0,
869
- estimated: f && a && u ? (a - o) / f : void 0,
870
- event: s,
871
- lengthComputable: a != null,
872
- [e ? "download" : "upload"]: !0
873
- };
874
- t(y);
875
- }, n);
876
- }, mn = (t, e) => {
877
- const n = t != null;
878
- return [(r) => e[0]({
879
- lengthComputable: n,
880
- total: t,
881
- loaded: r
882
- }), e[1]];
883
- }, gn = (t) => (...e) => d.asap(() => t(...e)), so = H.hasStandardBrowserEnv ? (
884
- // Standard browser envs have full support of the APIs needed to test
885
- // whether the request URL is of the same origin as current location.
886
- function() {
887
- const e = H.navigator && /(msie|trident)/i.test(H.navigator.userAgent), n = document.createElement("a");
888
- let r;
889
- function i(s) {
890
- let o = s;
891
- return e && (n.setAttribute("href", o), o = n.href), n.setAttribute("href", o), {
892
- href: n.href,
893
- protocol: n.protocol ? n.protocol.replace(/:$/, "") : "",
894
- host: n.host,
895
- search: n.search ? n.search.replace(/^\?/, "") : "",
896
- hash: n.hash ? n.hash.replace(/^#/, "") : "",
897
- hostname: n.hostname,
898
- port: n.port,
899
- pathname: n.pathname.charAt(0) === "/" ? n.pathname : "/" + n.pathname
900
- };
901
- }
902
- return r = i(window.location.href), function(o) {
903
- const a = d.isString(o) ? i(o) : o;
904
- return a.protocol === r.protocol && a.host === r.host;
905
- };
906
- }()
907
- ) : (
908
- // Non standard browser envs (web workers, react-native) lack needed support.
909
- function() {
910
- return function() {
911
- return !0;
912
- };
913
- }()
914
- ), ao = H.hasStandardBrowserEnv ? (
915
- // Standard browser envs support document.cookie
916
- {
917
- write(t, e, n, r, i, s) {
918
- const o = [t + "=" + encodeURIComponent(e)];
919
- d.isNumber(n) && o.push("expires=" + new Date(n).toGMTString()), d.isString(r) && o.push("path=" + r), d.isString(i) && o.push("domain=" + i), s === !0 && o.push("secure"), document.cookie = o.join("; ");
920
- },
921
- read(t) {
922
- const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
923
- return e ? decodeURIComponent(e[3]) : null;
924
- },
925
- remove(t) {
926
- this.write(t, "", Date.now() - 864e5);
927
- }
928
- }
929
- ) : (
930
- // Non-standard browser env (web workers, react-native) lack needed support.
931
- {
932
- write() {
933
- },
934
- read() {
935
- return null;
936
- },
937
- remove() {
938
- }
939
- }
940
- );
941
- function lo(t) {
942
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
943
- }
944
- function co(t, e) {
945
- return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
946
- }
947
- function mr(t, e) {
948
- return t && !lo(e) ? co(t, e) : e;
949
- }
950
- const _n = (t) => t instanceof Q ? { ...t } : t;
951
- function le(t, e) {
952
- e = e || {};
953
- const n = {};
954
- function r(f, u, y) {
955
- return d.isPlainObject(f) && d.isPlainObject(u) ? d.merge.call({ caseless: y }, f, u) : d.isPlainObject(u) ? d.merge({}, u) : d.isArray(u) ? u.slice() : u;
956
- }
957
- function i(f, u, y) {
958
- if (d.isUndefined(u)) {
959
- if (!d.isUndefined(f))
960
- return r(void 0, f, y);
961
- } else
962
- return r(f, u, y);
963
- }
964
- function s(f, u) {
965
- if (!d.isUndefined(u))
966
- return r(void 0, u);
967
- }
968
- function o(f, u) {
969
- if (d.isUndefined(u)) {
970
- if (!d.isUndefined(f))
971
- return r(void 0, f);
972
- } else
973
- return r(void 0, u);
974
- }
975
- function a(f, u, y) {
976
- if (y in e)
977
- return r(f, u);
978
- if (y in t)
979
- return r(void 0, f);
980
- }
981
- const l = {
982
- url: s,
983
- method: s,
984
- data: s,
985
- baseURL: o,
986
- transformRequest: o,
987
- transformResponse: o,
988
- paramsSerializer: o,
989
- timeout: o,
990
- timeoutMessage: o,
991
- withCredentials: o,
992
- withXSRFToken: o,
993
- adapter: o,
994
- responseType: o,
995
- xsrfCookieName: o,
996
- xsrfHeaderName: o,
997
- onUploadProgress: o,
998
- onDownloadProgress: o,
999
- decompress: o,
1000
- maxContentLength: o,
1001
- maxBodyLength: o,
1002
- beforeRedirect: o,
1003
- transport: o,
1004
- httpAgent: o,
1005
- httpsAgent: o,
1006
- cancelToken: o,
1007
- socketPath: o,
1008
- responseEncoding: o,
1009
- validateStatus: a,
1010
- headers: (f, u) => i(_n(f), _n(u), !0)
1011
- };
1012
- return d.forEach(Object.keys(Object.assign({}, t, e)), function(u) {
1013
- const y = l[u] || i, m = y(t[u], e[u], u);
1014
- d.isUndefined(m) && y !== a || (n[u] = m);
1015
- }), n;
1016
- }
1017
- const gr = (t) => {
1018
- const e = le({}, t);
1019
- let { data: n, withXSRFToken: r, xsrfHeaderName: i, xsrfCookieName: s, headers: o, auth: a } = e;
1020
- e.headers = o = Q.from(o), e.url = fr(mr(e.baseURL, e.url), t.params, t.paramsSerializer), a && o.set(
1021
- "Authorization",
1022
- "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
1023
- );
1024
- let l;
1025
- if (d.isFormData(n)) {
1026
- if (H.hasStandardBrowserEnv || H.hasStandardBrowserWebWorkerEnv)
1027
- o.setContentType(void 0);
1028
- else if ((l = o.getContentType()) !== !1) {
1029
- const [f, ...u] = l ? l.split(";").map((y) => y.trim()).filter(Boolean) : [];
1030
- o.setContentType([f || "multipart/form-data", ...u].join("; "));
1031
- }
1032
- }
1033
- if (H.hasStandardBrowserEnv && (r && d.isFunction(r) && (r = r(e)), r || r !== !1 && so(e.url))) {
1034
- const f = i && s && ao.read(s);
1035
- f && o.set(i, f);
1036
- }
1037
- return e;
1038
- }, uo = typeof XMLHttpRequest < "u", fo = uo && function(t) {
1039
- return new Promise(function(n, r) {
1040
- const i = gr(t);
1041
- let s = i.data;
1042
- const o = Q.from(i.headers).normalize();
1043
- let { responseType: a, onUploadProgress: l, onDownloadProgress: f } = i, u, y, m, A, g;
1044
- function w() {
1045
- A && A(), g && g(), i.cancelToken && i.cancelToken.unsubscribe(u), i.signal && i.signal.removeEventListener("abort", u);
1046
- }
1047
- let _ = new XMLHttpRequest();
1048
- _.open(i.method.toUpperCase(), i.url, !0), _.timeout = i.timeout;
1049
- function R() {
1050
- if (!_)
1051
- return;
1052
- const b = Q.from(
1053
- "getAllResponseHeaders" in _ && _.getAllResponseHeaders()
1054
- ), k = {
1055
- data: !a || a === "text" || a === "json" ? _.responseText : _.response,
1056
- status: _.status,
1057
- statusText: _.statusText,
1058
- headers: b,
1059
- config: t,
1060
- request: _
1061
- };
1062
- yr(function(M) {
1063
- n(M), w();
1064
- }, function(M) {
1065
- r(M), w();
1066
- }, k), _ = null;
1067
- }
1068
- "onloadend" in _ ? _.onloadend = R : _.onreadystatechange = function() {
1069
- !_ || _.readyState !== 4 || _.status === 0 && !(_.responseURL && _.responseURL.indexOf("file:") === 0) || setTimeout(R);
1070
- }, _.onabort = function() {
1071
- _ && (r(new E("Request aborted", E.ECONNABORTED, t, _)), _ = null);
1072
- }, _.onerror = function() {
1073
- r(new E("Network Error", E.ERR_NETWORK, t, _)), _ = null;
1074
- }, _.ontimeout = function() {
1075
- let D = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
1076
- const k = i.transitional || dr;
1077
- i.timeoutErrorMessage && (D = i.timeoutErrorMessage), r(new E(
1078
- D,
1079
- k.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
1080
- t,
1081
- _
1082
- )), _ = null;
1083
- }, s === void 0 && o.setContentType(null), "setRequestHeader" in _ && d.forEach(o.toJSON(), function(D, k) {
1084
- _.setRequestHeader(k, D);
1085
- }), d.isUndefined(i.withCredentials) || (_.withCredentials = !!i.withCredentials), a && a !== "json" && (_.responseType = i.responseType), f && ([m, g] = Ye(f, !0), _.addEventListener("progress", m)), l && _.upload && ([y, A] = Ye(l), _.upload.addEventListener("progress", y), _.upload.addEventListener("loadend", A)), (i.cancelToken || i.signal) && (u = (b) => {
1086
- _ && (r(!b || b.type ? new we(null, t, _) : b), _.abort(), _ = null);
1087
- }, i.cancelToken && i.cancelToken.subscribe(u), i.signal && (i.signal.aborted ? u() : i.signal.addEventListener("abort", u)));
1088
- const O = ro(i.url);
1089
- if (O && H.protocols.indexOf(O) === -1) {
1090
- r(new E("Unsupported protocol " + O + ":", E.ERR_BAD_REQUEST, t));
1091
- return;
1092
- }
1093
- _.send(s || null);
1094
- });
1095
- }, po = (t, e) => {
1096
- const { length: n } = t = t ? t.filter(Boolean) : [];
1097
- if (e || n) {
1098
- let r = new AbortController(), i;
1099
- const s = function(f) {
1100
- if (!i) {
1101
- i = !0, a();
1102
- const u = f instanceof Error ? f : this.reason;
1103
- r.abort(u instanceof E ? u : new we(u instanceof Error ? u.message : u));
1104
- }
1105
- };
1106
- let o = e && setTimeout(() => {
1107
- o = null, s(new E(`timeout ${e} of ms exceeded`, E.ETIMEDOUT));
1108
- }, e);
1109
- const a = () => {
1110
- t && (o && clearTimeout(o), o = null, t.forEach((f) => {
1111
- f.unsubscribe ? f.unsubscribe(s) : f.removeEventListener("abort", s);
1112
- }), t = null);
1113
- };
1114
- t.forEach((f) => f.addEventListener("abort", s));
1115
- const { signal: l } = r;
1116
- return l.unsubscribe = () => d.asap(a), l;
1117
- }
1118
- }, ho = po, yo = function* (t, e) {
1119
- let n = t.byteLength;
1120
- if (!e || n < e) {
1121
- yield t;
1122
- return;
1123
- }
1124
- let r = 0, i;
1125
- for (; r < n; )
1126
- i = r + e, yield t.slice(r, i), r = i;
1127
- }, mo = async function* (t, e) {
1128
- for await (const n of go(t))
1129
- yield* yo(n, e);
1130
- }, go = async function* (t) {
1131
- if (t[Symbol.asyncIterator]) {
1132
- yield* t;
1133
- return;
1134
- }
1135
- const e = t.getReader();
1136
- try {
1137
- for (; ; ) {
1138
- const { done: n, value: r } = await e.read();
1139
- if (n)
1140
- break;
1141
- yield r;
1142
- }
1143
- } finally {
1144
- await e.cancel();
1145
- }
1146
- }, vn = (t, e, n, r) => {
1147
- const i = mo(t, e);
1148
- let s = 0, o, a = (l) => {
1149
- o || (o = !0, r && r(l));
1150
- };
1151
- return new ReadableStream({
1152
- async pull(l) {
1153
- try {
1154
- const { done: f, value: u } = await i.next();
1155
- if (f) {
1156
- a(), l.close();
1157
- return;
1158
- }
1159
- let y = u.byteLength;
1160
- if (n) {
1161
- let m = s += y;
1162
- n(m);
1163
- }
1164
- l.enqueue(new Uint8Array(u));
1165
- } catch (f) {
1166
- throw a(f), f;
1167
- }
1168
- },
1169
- cancel(l) {
1170
- return a(l), i.return();
1171
- }
1172
- }, {
1173
- highWaterMark: 2
1174
- });
1175
- }, lt = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", _r = lt && typeof ReadableStream == "function", _o = lt && (typeof TextEncoder == "function" ? ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), vr = (t, ...e) => {
1176
- try {
1177
- return !!t(...e);
1178
- } catch {
1179
- return !1;
1180
- }
1181
- }, vo = _r && vr(() => {
1182
- let t = !1;
1183
- const e = new Request(H.origin, {
1184
- body: new ReadableStream(),
1185
- method: "POST",
1186
- get duplex() {
1187
- return t = !0, "half";
1188
- }
1189
- }).headers.has("Content-Type");
1190
- return t && !e;
1191
- }), wn = 64 * 1024, It = _r && vr(() => d.isReadableStream(new Response("").body)), Xe = {
1192
- stream: It && ((t) => t.body)
1193
- };
1194
- lt && ((t) => {
1195
- ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
1196
- !Xe[e] && (Xe[e] = d.isFunction(t[e]) ? (n) => n[e]() : (n, r) => {
1197
- throw new E(`Response type '${e}' is not supported`, E.ERR_NOT_SUPPORT, r);
1198
- });
1199
- });
1200
- })(new Response());
1201
- const wo = async (t) => {
1202
- if (t == null)
1203
- return 0;
1204
- if (d.isBlob(t))
1205
- return t.size;
1206
- if (d.isSpecCompliantForm(t))
1207
- return (await new Request(H.origin, {
1208
- method: "POST",
1209
- body: t
1210
- }).arrayBuffer()).byteLength;
1211
- if (d.isArrayBufferView(t) || d.isArrayBuffer(t))
1212
- return t.byteLength;
1213
- if (d.isURLSearchParams(t) && (t = t + ""), d.isString(t))
1214
- return (await _o(t)).byteLength;
1215
- }, bo = async (t, e) => {
1216
- const n = d.toFiniteNumber(t.getContentLength());
1217
- return n ?? wo(e);
1218
- }, Ao = lt && (async (t) => {
1219
- let {
1220
- url: e,
1221
- method: n,
1222
- data: r,
1223
- signal: i,
1224
- cancelToken: s,
1225
- timeout: o,
1226
- onDownloadProgress: a,
1227
- onUploadProgress: l,
1228
- responseType: f,
1229
- headers: u,
1230
- withCredentials: y = "same-origin",
1231
- fetchOptions: m
1232
- } = gr(t);
1233
- f = f ? (f + "").toLowerCase() : "text";
1234
- let A = ho([i, s && s.toAbortSignal()], o), g;
1235
- const w = A && A.unsubscribe && (() => {
1236
- A.unsubscribe();
1237
- });
1238
- let _;
1239
- try {
1240
- if (l && vo && n !== "get" && n !== "head" && (_ = await bo(u, r)) !== 0) {
1241
- let k = new Request(e, {
1242
- method: "POST",
1243
- body: r,
1244
- duplex: "half"
1245
- }), L;
1246
- if (d.isFormData(r) && (L = k.headers.get("content-type")) && u.setContentType(L), k.body) {
1247
- const [M, Y] = mn(
1248
- _,
1249
- Ye(gn(l))
1250
- );
1251
- r = vn(k.body, wn, M, Y);
1252
- }
1253
- }
1254
- d.isString(y) || (y = y ? "include" : "omit");
1255
- const R = "credentials" in Request.prototype;
1256
- g = new Request(e, {
1257
- ...m,
1258
- signal: A,
1259
- method: n.toUpperCase(),
1260
- headers: u.normalize().toJSON(),
1261
- body: r,
1262
- duplex: "half",
1263
- credentials: R ? y : void 0
1264
- });
1265
- let O = await fetch(g);
1266
- const b = It && (f === "stream" || f === "response");
1267
- if (It && (a || b && w)) {
1268
- const k = {};
1269
- ["status", "statusText", "headers"].forEach((j) => {
1270
- k[j] = O[j];
1271
- });
1272
- const L = d.toFiniteNumber(O.headers.get("content-length")), [M, Y] = a && mn(
1273
- L,
1274
- Ye(gn(a), !0)
1275
- ) || [];
1276
- O = new Response(
1277
- vn(O.body, wn, M, () => {
1278
- Y && Y(), w && w();
1279
- }),
1280
- k
1281
- );
1282
- }
1283
- f = f || "text";
1284
- let D = await Xe[d.findKey(Xe, f) || "text"](O, t);
1285
- return !b && w && w(), await new Promise((k, L) => {
1286
- yr(k, L, {
1287
- data: D,
1288
- headers: Q.from(O.headers),
1289
- status: O.status,
1290
- statusText: O.statusText,
1291
- config: t,
1292
- request: g
1293
- });
1294
- });
1295
- } catch (R) {
1296
- throw w && w(), R && R.name === "TypeError" && /fetch/i.test(R.message) ? Object.assign(
1297
- new E("Network Error", E.ERR_NETWORK, t, g),
1298
- {
1299
- cause: R.cause || R
1300
- }
1301
- ) : E.from(R, R && R.code, t, g);
1302
- }
1303
- }), Pt = {
1304
- http: Di,
1305
- xhr: fo,
1306
- fetch: Ao
1307
- };
1308
- d.forEach(Pt, (t, e) => {
1309
- if (t) {
1310
- try {
1311
- Object.defineProperty(t, "name", { value: e });
1312
- } catch {
1313
- }
1314
- Object.defineProperty(t, "adapterName", { value: e });
1315
- }
1316
- });
1317
- const bn = (t) => `- ${t}`, So = (t) => d.isFunction(t) || t === null || t === !1, wr = {
1318
- getAdapter: (t) => {
1319
- t = d.isArray(t) ? t : [t];
1320
- const { length: e } = t;
1321
- let n, r;
1322
- const i = {};
1323
- for (let s = 0; s < e; s++) {
1324
- n = t[s];
1325
- let o;
1326
- if (r = n, !So(n) && (r = Pt[(o = String(n)).toLowerCase()], r === void 0))
1327
- throw new E(`Unknown adapter '${o}'`);
1328
- if (r)
1329
- break;
1330
- i[o || "#" + s] = r;
1331
- }
1332
- if (!r) {
1333
- const s = Object.entries(i).map(
1334
- ([a, l]) => `adapter ${a} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
1335
- );
1336
- let o = e ? s.length > 1 ? `since :
1337
- ` + s.map(bn).join(`
1338
- `) : " " + bn(s[0]) : "as no adapter specified";
1339
- throw new E(
1340
- "There is no suitable adapter to dispatch the request " + o,
1341
- "ERR_NOT_SUPPORT"
1342
- );
1343
- }
1344
- return r;
1345
- },
1346
- adapters: Pt
1347
- };
1348
- function yt(t) {
1349
- if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1350
- throw new we(null, t);
1351
- }
1352
- function An(t) {
1353
- return yt(t), t.headers = Q.from(t.headers), t.data = ht.call(
1354
- t,
1355
- t.transformRequest
1356
- ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), wr.getAdapter(t.adapter || Gt.adapter)(t).then(function(r) {
1357
- return yt(t), r.data = ht.call(
1358
- t,
1359
- t.transformResponse,
1360
- r
1361
- ), r.headers = Q.from(r.headers), r;
1362
- }, function(r) {
1363
- return hr(r) || (yt(t), r && r.response && (r.response.data = ht.call(
1364
- t,
1365
- t.transformResponse,
1366
- r.response
1367
- ), r.response.headers = Q.from(r.response.headers))), Promise.reject(r);
1368
- });
1369
- }
1370
- const br = "1.7.7", Vt = {};
1371
- ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1372
- Vt[t] = function(r) {
1373
- return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
1374
- };
1375
- });
1376
- const Sn = {};
1377
- Vt.transitional = function(e, n, r) {
1378
- function i(s, o) {
1379
- return "[Axios v" + br + "] Transitional option '" + s + "'" + o + (r ? ". " + r : "");
1380
- }
1381
- return (s, o, a) => {
1382
- if (e === !1)
1383
- throw new E(
1384
- i(o, " has been removed" + (n ? " in " + n : "")),
1385
- E.ERR_DEPRECATED
1386
- );
1387
- return n && !Sn[o] && (Sn[o] = !0, console.warn(
1388
- i(
1389
- o,
1390
- " has been deprecated since v" + n + " and will be removed in the near future"
1391
- )
1392
- )), e ? e(s, o, a) : !0;
1393
- };
1394
- };
1395
- function Eo(t, e, n) {
1396
- if (typeof t != "object")
1397
- throw new E("options must be an object", E.ERR_BAD_OPTION_VALUE);
1398
- const r = Object.keys(t);
1399
- let i = r.length;
1400
- for (; i-- > 0; ) {
1401
- const s = r[i], o = e[s];
1402
- if (o) {
1403
- const a = t[s], l = a === void 0 || o(a, s, t);
1404
- if (l !== !0)
1405
- throw new E("option " + s + " must be " + l, E.ERR_BAD_OPTION_VALUE);
1406
- continue;
1407
- }
1408
- if (n !== !0)
1409
- throw new E("Unknown option " + s, E.ERR_BAD_OPTION);
1410
- }
1411
- }
1412
- const Bt = {
1413
- assertOptions: Eo,
1414
- validators: Vt
1415
- }, ee = Bt.validators;
1416
- class Ze {
1417
- constructor(e) {
1418
- this.defaults = e, this.interceptors = {
1419
- request: new hn(),
1420
- response: new hn()
1421
- };
1422
- }
1423
- /**
1424
- * Dispatch a request
1425
- *
1426
- * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
1427
- * @param {?Object} config
1428
- *
1429
- * @returns {Promise} The Promise to be fulfilled
1430
- */
1431
- async request(e, n) {
1432
- try {
1433
- return await this._request(e, n);
1434
- } catch (r) {
1435
- if (r instanceof Error) {
1436
- let i;
1437
- Error.captureStackTrace ? Error.captureStackTrace(i = {}) : i = new Error();
1438
- const s = i.stack ? i.stack.replace(/^.+\n/, "") : "";
1439
- try {
1440
- r.stack ? s && !String(r.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (r.stack += `
1441
- ` + s) : r.stack = s;
1442
- } catch {
1443
- }
1444
- }
1445
- throw r;
1446
- }
1447
- }
1448
- _request(e, n) {
1449
- typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = le(this.defaults, n);
1450
- const { transitional: r, paramsSerializer: i, headers: s } = n;
1451
- r !== void 0 && Bt.assertOptions(r, {
1452
- silentJSONParsing: ee.transitional(ee.boolean),
1453
- forcedJSONParsing: ee.transitional(ee.boolean),
1454
- clarifyTimeoutError: ee.transitional(ee.boolean)
1455
- }, !1), i != null && (d.isFunction(i) ? n.paramsSerializer = {
1456
- serialize: i
1457
- } : Bt.assertOptions(i, {
1458
- encode: ee.function,
1459
- serialize: ee.function
1460
- }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1461
- let o = s && d.merge(
1462
- s.common,
1463
- s[n.method]
1464
- );
1465
- s && d.forEach(
1466
- ["delete", "get", "head", "post", "put", "patch", "common"],
1467
- (g) => {
1468
- delete s[g];
1469
- }
1470
- ), n.headers = Q.concat(o, s);
1471
- const a = [];
1472
- let l = !0;
1473
- this.interceptors.request.forEach(function(w) {
1474
- typeof w.runWhen == "function" && w.runWhen(n) === !1 || (l = l && w.synchronous, a.unshift(w.fulfilled, w.rejected));
1475
- });
1476
- const f = [];
1477
- this.interceptors.response.forEach(function(w) {
1478
- f.push(w.fulfilled, w.rejected);
1479
- });
1480
- let u, y = 0, m;
1481
- if (!l) {
1482
- const g = [An.bind(this), void 0];
1483
- for (g.unshift.apply(g, a), g.push.apply(g, f), m = g.length, u = Promise.resolve(n); y < m; )
1484
- u = u.then(g[y++], g[y++]);
1485
- return u;
1486
- }
1487
- m = a.length;
1488
- let A = n;
1489
- for (y = 0; y < m; ) {
1490
- const g = a[y++], w = a[y++];
1491
- try {
1492
- A = g(A);
1493
- } catch (_) {
1494
- w.call(this, _);
1495
- break;
1496
- }
1497
- }
1498
- try {
1499
- u = An.call(this, A);
1500
- } catch (g) {
1501
- return Promise.reject(g);
1502
- }
1503
- for (y = 0, m = f.length; y < m; )
1504
- u = u.then(f[y++], f[y++]);
1505
- return u;
1506
- }
1507
- getUri(e) {
1508
- e = le(this.defaults, e);
1509
- const n = mr(e.baseURL, e.url);
1510
- return fr(n, e.params, e.paramsSerializer);
1511
- }
1512
- }
1513
- d.forEach(["delete", "get", "head", "options"], function(e) {
1514
- Ze.prototype[e] = function(n, r) {
1515
- return this.request(le(r || {}, {
1516
- method: e,
1517
- url: n,
1518
- data: (r || {}).data
1519
- }));
1520
- };
1521
- });
1522
- d.forEach(["post", "put", "patch"], function(e) {
1523
- function n(r) {
1524
- return function(s, o, a) {
1525
- return this.request(le(a || {}, {
1526
- method: e,
1527
- headers: r ? {
1528
- "Content-Type": "multipart/form-data"
1529
- } : {},
1530
- url: s,
1531
- data: o
1532
- }));
1533
- };
1534
- }
1535
- Ze.prototype[e] = n(), Ze.prototype[e + "Form"] = n(!0);
1536
- });
1537
- const Ge = Ze;
1538
- class Kt {
1539
- constructor(e) {
1540
- if (typeof e != "function")
1541
- throw new TypeError("executor must be a function.");
1542
- let n;
1543
- this.promise = new Promise(function(s) {
1544
- n = s;
1545
- });
1546
- const r = this;
1547
- this.promise.then((i) => {
1548
- if (!r._listeners)
1549
- return;
1550
- let s = r._listeners.length;
1551
- for (; s-- > 0; )
1552
- r._listeners[s](i);
1553
- r._listeners = null;
1554
- }), this.promise.then = (i) => {
1555
- let s;
1556
- const o = new Promise((a) => {
1557
- r.subscribe(a), s = a;
1558
- }).then(i);
1559
- return o.cancel = function() {
1560
- r.unsubscribe(s);
1561
- }, o;
1562
- }, e(function(s, o, a) {
1563
- r.reason || (r.reason = new we(s, o, a), n(r.reason));
1564
- });
1565
- }
1566
- /**
1567
- * Throws a `CanceledError` if cancellation has been requested.
1568
- */
1569
- throwIfRequested() {
1570
- if (this.reason)
1571
- throw this.reason;
1572
- }
1573
- /**
1574
- * Subscribe to the cancel signal
1575
- */
1576
- subscribe(e) {
1577
- if (this.reason) {
1578
- e(this.reason);
1579
- return;
1580
- }
1581
- this._listeners ? this._listeners.push(e) : this._listeners = [e];
1582
- }
1583
- /**
1584
- * Unsubscribe from the cancel signal
1585
- */
1586
- unsubscribe(e) {
1587
- if (!this._listeners)
1588
- return;
1589
- const n = this._listeners.indexOf(e);
1590
- n !== -1 && this._listeners.splice(n, 1);
1591
- }
1592
- toAbortSignal() {
1593
- const e = new AbortController(), n = (r) => {
1594
- e.abort(r);
1595
- };
1596
- return this.subscribe(n), e.signal.unsubscribe = () => this.unsubscribe(n), e.signal;
1597
- }
1598
- /**
1599
- * Returns an object that contains a new `CancelToken` and a function that, when called,
1600
- * cancels the `CancelToken`.
1601
- */
1602
- static source() {
1603
- let e;
1604
- return {
1605
- token: new Kt(function(i) {
1606
- e = i;
1607
- }),
1608
- cancel: e
1609
- };
1610
- }
1611
- }
1612
- const To = Kt;
1613
- function xo(t) {
1614
- return function(n) {
1615
- return t.apply(null, n);
1616
- };
1617
- }
1618
- function Ro(t) {
1619
- return d.isObject(t) && t.isAxiosError === !0;
1620
- }
1621
- const Dt = {
1622
- Continue: 100,
1623
- SwitchingProtocols: 101,
1624
- Processing: 102,
1625
- EarlyHints: 103,
1626
- Ok: 200,
1627
- Created: 201,
1628
- Accepted: 202,
1629
- NonAuthoritativeInformation: 203,
1630
- NoContent: 204,
1631
- ResetContent: 205,
1632
- PartialContent: 206,
1633
- MultiStatus: 207,
1634
- AlreadyReported: 208,
1635
- ImUsed: 226,
1636
- MultipleChoices: 300,
1637
- MovedPermanently: 301,
1638
- Found: 302,
1639
- SeeOther: 303,
1640
- NotModified: 304,
1641
- UseProxy: 305,
1642
- Unused: 306,
1643
- TemporaryRedirect: 307,
1644
- PermanentRedirect: 308,
1645
- BadRequest: 400,
1646
- Unauthorized: 401,
1647
- PaymentRequired: 402,
1648
- Forbidden: 403,
1649
- NotFound: 404,
1650
- MethodNotAllowed: 405,
1651
- NotAcceptable: 406,
1652
- ProxyAuthenticationRequired: 407,
1653
- RequestTimeout: 408,
1654
- Conflict: 409,
1655
- Gone: 410,
1656
- LengthRequired: 411,
1657
- PreconditionFailed: 412,
1658
- PayloadTooLarge: 413,
1659
- UriTooLong: 414,
1660
- UnsupportedMediaType: 415,
1661
- RangeNotSatisfiable: 416,
1662
- ExpectationFailed: 417,
1663
- ImATeapot: 418,
1664
- MisdirectedRequest: 421,
1665
- UnprocessableEntity: 422,
1666
- Locked: 423,
1667
- FailedDependency: 424,
1668
- TooEarly: 425,
1669
- UpgradeRequired: 426,
1670
- PreconditionRequired: 428,
1671
- TooManyRequests: 429,
1672
- RequestHeaderFieldsTooLarge: 431,
1673
- UnavailableForLegalReasons: 451,
1674
- InternalServerError: 500,
1675
- NotImplemented: 501,
1676
- BadGateway: 502,
1677
- ServiceUnavailable: 503,
1678
- GatewayTimeout: 504,
1679
- HttpVersionNotSupported: 505,
1680
- VariantAlsoNegotiates: 506,
1681
- InsufficientStorage: 507,
1682
- LoopDetected: 508,
1683
- NotExtended: 510,
1684
- NetworkAuthenticationRequired: 511
1685
- };
1686
- Object.entries(Dt).forEach(([t, e]) => {
1687
- Dt[e] = t;
1688
- });
1689
- const Oo = Dt;
1690
- function Ar(t) {
1691
- const e = new Ge(t), n = $n(Ge.prototype.request, e);
1692
- return d.extend(n, Ge.prototype, e, { allOwnKeys: !0 }), d.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(i) {
1693
- return Ar(le(t, i));
1694
- }, n;
1695
- }
1696
- const P = Ar(Gt);
1697
- P.Axios = Ge;
1698
- P.CanceledError = we;
1699
- P.CancelToken = To;
1700
- P.isCancel = hr;
1701
- P.VERSION = br;
1702
- P.toFormData = st;
1703
- P.AxiosError = E;
1704
- P.Cancel = P.CanceledError;
1705
- P.all = function(e) {
1706
- return Promise.all(e);
1707
- };
1708
- P.spread = xo;
1709
- P.isAxiosError = Ro;
1710
- P.mergeConfig = le;
1711
- P.AxiosHeaders = Q;
1712
- P.formToJSON = (t) => pr(d.isHTMLForm(t) ? new FormData(t) : t);
1713
- P.getAdapter = wr.getAdapter;
1714
- P.HttpStatusCode = Oo;
1715
- P.default = P;
1716
- const Sr = P;
1717
- var pe = window.navigator.userAgent, Er = "ActiveXObject" in window, ko = pe.match(/Chrome/i), Co = !!(pe.match(/(iPhone|iPad|iPod)/i) || pe.match(/Android/i) || pe.match(/Windows Phone/i) || pe.match(
1718
- /IEMobile/i
1719
- )), Tr = null, Yt, Xt, Zt, $t;
1720
- Yt = Xt = Zt = $t = !1;
1721
- var Io = navigator.appName;
1722
- if (Io == "Microsoft Internet Explorer" || Er) {
1723
- var En = pe.match(/MSIE (\d+[.\d]*)/);
1724
- if (En) {
1725
- var Tn = En[1];
1726
- Tr = Tn;
1727
- var Ne = parseInt(Tn, 10);
1728
- Yt = Ne === 8, Xt = Ne == 9, Zt = Ne == 10, $t = Ne == 11;
1729
- }
1730
- }
1731
- const Po = {
1732
- isChrome: ko,
1733
- // 是否Chrome浏览器
1734
- isIE: Er,
1735
- // 是否IE浏览器
1736
- isMobile: Co,
1737
- // 是否移动端
1738
- IEVersion: Tr,
1739
- isIE8: Yt,
1740
- isIE9: Xt,
1741
- isIE10: Zt,
1742
- isIE11: $t
1743
- };
1744
- /*! js-cookie v3.0.5 | MIT */
1745
- function Ue(t) {
1746
- for (var e = 1; e < arguments.length; e++) {
1747
- var n = arguments[e];
1748
- for (var r in n)
1749
- t[r] = n[r];
1750
- }
1751
- return t;
1752
- }
1753
- var Bo = {
1754
- read: function(t) {
1755
- return t[0] === '"' && (t = t.slice(1, -1)), t.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
1756
- },
1757
- write: function(t) {
1758
- return encodeURIComponent(t).replace(
1759
- /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
1760
- decodeURIComponent
1761
- );
1762
- }
1763
- };
1764
- function Ft(t, e) {
1765
- function n(i, s, o) {
1766
- if (!(typeof document > "u")) {
1767
- o = Ue({}, e, o), typeof o.expires == "number" && (o.expires = new Date(Date.now() + o.expires * 864e5)), o.expires && (o.expires = o.expires.toUTCString()), i = encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
1768
- var a = "";
1769
- for (var l in o)
1770
- o[l] && (a += "; " + l, o[l] !== !0 && (a += "=" + o[l].split(";")[0]));
1771
- return document.cookie = i + "=" + t.write(s, i) + a;
1772
- }
1773
- }
1774
- function r(i) {
1775
- if (!(typeof document > "u" || arguments.length && !i)) {
1776
- for (var s = document.cookie ? document.cookie.split("; ") : [], o = {}, a = 0; a < s.length; a++) {
1777
- var l = s[a].split("="), f = l.slice(1).join("=");
1778
- try {
1779
- var u = decodeURIComponent(l[0]);
1780
- if (o[u] = t.read(f, u), i === u)
1781
- break;
1782
- } catch {
1783
- }
1784
- }
1785
- return i ? o[i] : o;
1786
- }
1787
- }
1788
- return Object.create(
1789
- {
1790
- set: n,
1791
- get: r,
1792
- remove: function(i, s) {
1793
- n(
1794
- i,
1795
- "",
1796
- Ue({}, s, {
1797
- expires: -1
1798
- })
1799
- );
1800
- },
1801
- withAttributes: function(i) {
1802
- return Ft(this.converter, Ue({}, this.attributes, i));
1803
- },
1804
- withConverter: function(i) {
1805
- return Ft(Ue({}, this.converter, i), this.attributes);
1806
- }
1807
- },
1808
- {
1809
- attributes: { value: Object.freeze(e) },
1810
- converter: { value: Object.freeze(t) }
1811
- }
1812
- );
1813
- }
1814
- var he = Ft(Bo, { path: "/" });
1815
- let en = Sr.create({
1816
- baseURL: "https://api.play.cn/",
1817
- //Util.newDom
1818
- timeout: 3e4,
1819
- retry: 3,
1820
- retryDelay: 1e3
1821
- });
1822
- en.interceptors.request.use((t) => {
1823
- if (t.headers.vc = 5e4, t.headers.channel_code = he.get("ass_channel_code"), t.headers.user_id = he.get("ass_user_id"), t.headers.access_token = he.get("ass_access_token"), t.url == "/api/v1/user/info.json" && (t.baseURL = "https://open.play.cn"), !(t.method === "post" || t.method === "put")) {
1824
- if (t.method === "get" && Po.isIE) {
1825
- let e = t.url.indexOf("?") >= 0 ? "&" : "?";
1826
- t.url += e + "_=" + Date.now();
1827
- }
1828
- }
1829
- return t;
1830
- }, (t) => Promise.reject(t));
1831
- en.interceptors.response.use((t) => {
1832
- let { data: e } = t;
1833
- return e;
1834
- }, (t) => Promise.reject(t));
1835
- function Do() {
1836
- return en;
1837
- }
1838
- var xn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1839
- function Fo(t) {
1840
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1841
- }
1842
- function No(t) {
1843
- if (t.__esModule)
1844
- return t;
1845
- var e = t.default;
1846
- if (typeof e == "function") {
1847
- var n = function r() {
1848
- return this instanceof r ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
1849
- };
1850
- n.prototype = e.prototype;
1851
- } else
1852
- n = {};
1853
- return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(t).forEach(function(r) {
1854
- var i = Object.getOwnPropertyDescriptor(t, r);
1855
- Object.defineProperty(n, r, i.get ? i : {
1856
- enumerable: !0,
1857
- get: function() {
1858
- return t[r];
1859
- }
1860
- });
1861
- }), n;
1862
- }
1863
- var Uo = Error, Lo = EvalError, Mo = RangeError, Ho = ReferenceError, xr = SyntaxError, Ie = TypeError, zo = URIError, qo = function() {
1864
- if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
1865
- return !1;
1866
- if (typeof Symbol.iterator == "symbol")
1867
- return !0;
1868
- var e = {}, n = Symbol("test"), r = Object(n);
1869
- if (typeof n == "string" || Object.prototype.toString.call(n) !== "[object Symbol]" || Object.prototype.toString.call(r) !== "[object Symbol]")
1870
- return !1;
1871
- var i = 42;
1872
- e[n] = i;
1873
- for (n in e)
1874
- return !1;
1875
- if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
1876
- return !1;
1877
- var s = Object.getOwnPropertySymbols(e);
1878
- if (s.length !== 1 || s[0] !== n || !Object.prototype.propertyIsEnumerable.call(e, n))
1879
- return !1;
1880
- if (typeof Object.getOwnPropertyDescriptor == "function") {
1881
- var o = Object.getOwnPropertyDescriptor(e, n);
1882
- if (o.value !== i || o.enumerable !== !0)
1883
- return !1;
1884
- }
1885
- return !0;
1886
- }, Rn = typeof Symbol < "u" && Symbol, Wo = qo, Qo = function() {
1887
- return typeof Rn != "function" || typeof Symbol != "function" || typeof Rn("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : Wo();
1888
- }, mt = {
1889
- __proto__: null,
1890
- foo: {}
1891
- }, Jo = Object, jo = function() {
1892
- return { __proto__: mt }.foo === mt.foo && !(mt instanceof Jo);
1893
- }, Go = "Function.prototype.bind called on incompatible ", Vo = Object.prototype.toString, Ko = Math.max, Yo = "[object Function]", On = function(e, n) {
1894
- for (var r = [], i = 0; i < e.length; i += 1)
1895
- r[i] = e[i];
1896
- for (var s = 0; s < n.length; s += 1)
1897
- r[s + e.length] = n[s];
1898
- return r;
1899
- }, Xo = function(e, n) {
1900
- for (var r = [], i = n || 0, s = 0; i < e.length; i += 1, s += 1)
1901
- r[s] = e[i];
1902
- return r;
1903
- }, Zo = function(t, e) {
1904
- for (var n = "", r = 0; r < t.length; r += 1)
1905
- n += t[r], r + 1 < t.length && (n += e);
1906
- return n;
1907
- }, $o = function(e) {
1908
- var n = this;
1909
- if (typeof n != "function" || Vo.apply(n) !== Yo)
1910
- throw new TypeError(Go + n);
1911
- for (var r = Xo(arguments, 1), i, s = function() {
1912
- if (this instanceof i) {
1913
- var u = n.apply(
1914
- this,
1915
- On(r, arguments)
1916
- );
1917
- return Object(u) === u ? u : this;
1918
- }
1919
- return n.apply(
1920
- e,
1921
- On(r, arguments)
1922
- );
1923
- }, o = Ko(0, n.length - r.length), a = [], l = 0; l < o; l++)
1924
- a[l] = "$" + l;
1925
- if (i = Function("binder", "return function (" + Zo(a, ",") + "){ return binder.apply(this,arguments); }")(s), n.prototype) {
1926
- var f = function() {
1927
- };
1928
- f.prototype = n.prototype, i.prototype = new f(), f.prototype = null;
1929
- }
1930
- return i;
1931
- }, es = $o, tn = Function.prototype.bind || es, ts = Function.prototype.call, ns = Object.prototype.hasOwnProperty, rs = tn, is = rs.call(ts, ns), x, os = Uo, ss = Lo, as = Mo, ls = Ho, me = xr, ye = Ie, cs = zo, Rr = Function, gt = function(t) {
1932
- try {
1933
- return Rr('"use strict"; return (' + t + ").constructor;")();
1934
- } catch {
1935
- }
1936
- }, se = Object.getOwnPropertyDescriptor;
1937
- if (se)
1938
- try {
1939
- se({}, "");
1940
- } catch {
1941
- se = null;
1942
- }
1943
- var _t = function() {
1944
- throw new ye();
1945
- }, us = se ? function() {
1946
- try {
1947
- return arguments.callee, _t;
1948
- } catch {
1949
- try {
1950
- return se(arguments, "callee").get;
1951
- } catch {
1952
- return _t;
1953
- }
1954
- }
1955
- }() : _t, ue = Qo(), fs = jo(), F = Object.getPrototypeOf || (fs ? function(t) {
1956
- return t.__proto__;
1957
- } : null), de = {}, ds = typeof Uint8Array > "u" || !F ? x : F(Uint8Array), ae = {
1958
- __proto__: null,
1959
- "%AggregateError%": typeof AggregateError > "u" ? x : AggregateError,
1960
- "%Array%": Array,
1961
- "%ArrayBuffer%": typeof ArrayBuffer > "u" ? x : ArrayBuffer,
1962
- "%ArrayIteratorPrototype%": ue && F ? F([][Symbol.iterator]()) : x,
1963
- "%AsyncFromSyncIteratorPrototype%": x,
1964
- "%AsyncFunction%": de,
1965
- "%AsyncGenerator%": de,
1966
- "%AsyncGeneratorFunction%": de,
1967
- "%AsyncIteratorPrototype%": de,
1968
- "%Atomics%": typeof Atomics > "u" ? x : Atomics,
1969
- "%BigInt%": typeof BigInt > "u" ? x : BigInt,
1970
- "%BigInt64Array%": typeof BigInt64Array > "u" ? x : BigInt64Array,
1971
- "%BigUint64Array%": typeof BigUint64Array > "u" ? x : BigUint64Array,
1972
- "%Boolean%": Boolean,
1973
- "%DataView%": typeof DataView > "u" ? x : DataView,
1974
- "%Date%": Date,
1975
- "%decodeURI%": decodeURI,
1976
- "%decodeURIComponent%": decodeURIComponent,
1977
- "%encodeURI%": encodeURI,
1978
- "%encodeURIComponent%": encodeURIComponent,
1979
- "%Error%": os,
1980
- "%eval%": eval,
1981
- // eslint-disable-line no-eval
1982
- "%EvalError%": ss,
1983
- "%Float32Array%": typeof Float32Array > "u" ? x : Float32Array,
1984
- "%Float64Array%": typeof Float64Array > "u" ? x : Float64Array,
1985
- "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? x : FinalizationRegistry,
1986
- "%Function%": Rr,
1987
- "%GeneratorFunction%": de,
1988
- "%Int8Array%": typeof Int8Array > "u" ? x : Int8Array,
1989
- "%Int16Array%": typeof Int16Array > "u" ? x : Int16Array,
1990
- "%Int32Array%": typeof Int32Array > "u" ? x : Int32Array,
1991
- "%isFinite%": isFinite,
1992
- "%isNaN%": isNaN,
1993
- "%IteratorPrototype%": ue && F ? F(F([][Symbol.iterator]())) : x,
1994
- "%JSON%": typeof JSON == "object" ? JSON : x,
1995
- "%Map%": typeof Map > "u" ? x : Map,
1996
- "%MapIteratorPrototype%": typeof Map > "u" || !ue || !F ? x : F((/* @__PURE__ */ new Map())[Symbol.iterator]()),
1997
- "%Math%": Math,
1998
- "%Number%": Number,
1999
- "%Object%": Object,
2000
- "%parseFloat%": parseFloat,
2001
- "%parseInt%": parseInt,
2002
- "%Promise%": typeof Promise > "u" ? x : Promise,
2003
- "%Proxy%": typeof Proxy > "u" ? x : Proxy,
2004
- "%RangeError%": as,
2005
- "%ReferenceError%": ls,
2006
- "%Reflect%": typeof Reflect > "u" ? x : Reflect,
2007
- "%RegExp%": RegExp,
2008
- "%Set%": typeof Set > "u" ? x : Set,
2009
- "%SetIteratorPrototype%": typeof Set > "u" || !ue || !F ? x : F((/* @__PURE__ */ new Set())[Symbol.iterator]()),
2010
- "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? x : SharedArrayBuffer,
2011
- "%String%": String,
2012
- "%StringIteratorPrototype%": ue && F ? F(""[Symbol.iterator]()) : x,
2013
- "%Symbol%": ue ? Symbol : x,
2014
- "%SyntaxError%": me,
2015
- "%ThrowTypeError%": us,
2016
- "%TypedArray%": ds,
2017
- "%TypeError%": ye,
2018
- "%Uint8Array%": typeof Uint8Array > "u" ? x : Uint8Array,
2019
- "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? x : Uint8ClampedArray,
2020
- "%Uint16Array%": typeof Uint16Array > "u" ? x : Uint16Array,
2021
- "%Uint32Array%": typeof Uint32Array > "u" ? x : Uint32Array,
2022
- "%URIError%": cs,
2023
- "%WeakMap%": typeof WeakMap > "u" ? x : WeakMap,
2024
- "%WeakRef%": typeof WeakRef > "u" ? x : WeakRef,
2025
- "%WeakSet%": typeof WeakSet > "u" ? x : WeakSet
2026
- };
2027
- if (F)
2028
- try {
2029
- null.error;
2030
- } catch (t) {
2031
- var ps = F(F(t));
2032
- ae["%Error.prototype%"] = ps;
2033
- }
2034
- var hs = function t(e) {
2035
- var n;
2036
- if (e === "%AsyncFunction%")
2037
- n = gt("async function () {}");
2038
- else if (e === "%GeneratorFunction%")
2039
- n = gt("function* () {}");
2040
- else if (e === "%AsyncGeneratorFunction%")
2041
- n = gt("async function* () {}");
2042
- else if (e === "%AsyncGenerator%") {
2043
- var r = t("%AsyncGeneratorFunction%");
2044
- r && (n = r.prototype);
2045
- } else if (e === "%AsyncIteratorPrototype%") {
2046
- var i = t("%AsyncGenerator%");
2047
- i && F && (n = F(i.prototype));
2048
- }
2049
- return ae[e] = n, n;
2050
- }, kn = {
2051
- __proto__: null,
2052
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
2053
- "%ArrayPrototype%": ["Array", "prototype"],
2054
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
2055
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
2056
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
2057
- "%ArrayProto_values%": ["Array", "prototype", "values"],
2058
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
2059
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
2060
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
2061
- "%BooleanPrototype%": ["Boolean", "prototype"],
2062
- "%DataViewPrototype%": ["DataView", "prototype"],
2063
- "%DatePrototype%": ["Date", "prototype"],
2064
- "%ErrorPrototype%": ["Error", "prototype"],
2065
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
2066
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
2067
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
2068
- "%FunctionPrototype%": ["Function", "prototype"],
2069
- "%Generator%": ["GeneratorFunction", "prototype"],
2070
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
2071
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
2072
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
2073
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
2074
- "%JSONParse%": ["JSON", "parse"],
2075
- "%JSONStringify%": ["JSON", "stringify"],
2076
- "%MapPrototype%": ["Map", "prototype"],
2077
- "%NumberPrototype%": ["Number", "prototype"],
2078
- "%ObjectPrototype%": ["Object", "prototype"],
2079
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
2080
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
2081
- "%PromisePrototype%": ["Promise", "prototype"],
2082
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
2083
- "%Promise_all%": ["Promise", "all"],
2084
- "%Promise_reject%": ["Promise", "reject"],
2085
- "%Promise_resolve%": ["Promise", "resolve"],
2086
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
2087
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
2088
- "%RegExpPrototype%": ["RegExp", "prototype"],
2089
- "%SetPrototype%": ["Set", "prototype"],
2090
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
2091
- "%StringPrototype%": ["String", "prototype"],
2092
- "%SymbolPrototype%": ["Symbol", "prototype"],
2093
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
2094
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
2095
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
2096
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
2097
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
2098
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
2099
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
2100
- "%URIErrorPrototype%": ["URIError", "prototype"],
2101
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
2102
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
2103
- }, Pe = tn, $e = is, ys = Pe.call(Function.call, Array.prototype.concat), ms = Pe.call(Function.apply, Array.prototype.splice), Cn = Pe.call(Function.call, String.prototype.replace), et = Pe.call(Function.call, String.prototype.slice), gs = Pe.call(Function.call, RegExp.prototype.exec), _s = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, vs = /\\(\\)?/g, ws = function(e) {
2104
- var n = et(e, 0, 1), r = et(e, -1);
2105
- if (n === "%" && r !== "%")
2106
- throw new me("invalid intrinsic syntax, expected closing `%`");
2107
- if (r === "%" && n !== "%")
2108
- throw new me("invalid intrinsic syntax, expected opening `%`");
2109
- var i = [];
2110
- return Cn(e, _s, function(s, o, a, l) {
2111
- i[i.length] = a ? Cn(l, vs, "$1") : o || s;
2112
- }), i;
2113
- }, bs = function(e, n) {
2114
- var r = e, i;
2115
- if ($e(kn, r) && (i = kn[r], r = "%" + i[0] + "%"), $e(ae, r)) {
2116
- var s = ae[r];
2117
- if (s === de && (s = hs(r)), typeof s > "u" && !n)
2118
- throw new ye("intrinsic " + e + " exists, but is not available. Please file an issue!");
2119
- return {
2120
- alias: i,
2121
- name: r,
2122
- value: s
2123
- };
2124
- }
2125
- throw new me("intrinsic " + e + " does not exist!");
2126
- }, be = function(e, n) {
2127
- if (typeof e != "string" || e.length === 0)
2128
- throw new ye("intrinsic name must be a non-empty string");
2129
- if (arguments.length > 1 && typeof n != "boolean")
2130
- throw new ye('"allowMissing" argument must be a boolean');
2131
- if (gs(/^%?[^%]*%?$/, e) === null)
2132
- throw new me("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
2133
- var r = ws(e), i = r.length > 0 ? r[0] : "", s = bs("%" + i + "%", n), o = s.name, a = s.value, l = !1, f = s.alias;
2134
- f && (i = f[0], ms(r, ys([0, 1], f)));
2135
- for (var u = 1, y = !0; u < r.length; u += 1) {
2136
- var m = r[u], A = et(m, 0, 1), g = et(m, -1);
2137
- if ((A === '"' || A === "'" || A === "`" || g === '"' || g === "'" || g === "`") && A !== g)
2138
- throw new me("property names with quotes must have matching quotes");
2139
- if ((m === "constructor" || !y) && (l = !0), i += "." + m, o = "%" + i + "%", $e(ae, o))
2140
- a = ae[o];
2141
- else if (a != null) {
2142
- if (!(m in a)) {
2143
- if (!n)
2144
- throw new ye("base intrinsic for " + e + " exists, but the property is not available.");
2145
- return;
2146
- }
2147
- if (se && u + 1 >= r.length) {
2148
- var w = se(a, m);
2149
- y = !!w, y && "get" in w && !("originalValue" in w.get) ? a = w.get : a = a[m];
2150
- } else
2151
- y = $e(a, m), a = a[m];
2152
- y && !l && (ae[o] = a);
2153
- }
2154
- }
2155
- return a;
2156
- }, Or = { exports: {} }, vt, In;
2157
- function nn() {
2158
- if (In)
2159
- return vt;
2160
- In = 1;
2161
- var t = be, e = t("%Object.defineProperty%", !0) || !1;
2162
- if (e)
2163
- try {
2164
- e({}, "a", { value: 1 });
2165
- } catch {
2166
- e = !1;
2167
- }
2168
- return vt = e, vt;
2169
- }
2170
- var As = be, Ve = As("%Object.getOwnPropertyDescriptor%", !0);
2171
- if (Ve)
2172
- try {
2173
- Ve([], "length");
2174
- } catch {
2175
- Ve = null;
2176
- }
2177
- var kr = Ve, Pn = nn(), Ss = xr, fe = Ie, Bn = kr, Es = function(e, n, r) {
2178
- if (!e || typeof e != "object" && typeof e != "function")
2179
- throw new fe("`obj` must be an object or a function`");
2180
- if (typeof n != "string" && typeof n != "symbol")
2181
- throw new fe("`property` must be a string or a symbol`");
2182
- if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null)
2183
- throw new fe("`nonEnumerable`, if provided, must be a boolean or null");
2184
- if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null)
2185
- throw new fe("`nonWritable`, if provided, must be a boolean or null");
2186
- if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null)
2187
- throw new fe("`nonConfigurable`, if provided, must be a boolean or null");
2188
- if (arguments.length > 6 && typeof arguments[6] != "boolean")
2189
- throw new fe("`loose`, if provided, must be a boolean");
2190
- var i = arguments.length > 3 ? arguments[3] : null, s = arguments.length > 4 ? arguments[4] : null, o = arguments.length > 5 ? arguments[5] : null, a = arguments.length > 6 ? arguments[6] : !1, l = !!Bn && Bn(e, n);
2191
- if (Pn)
2192
- Pn(e, n, {
2193
- configurable: o === null && l ? l.configurable : !o,
2194
- enumerable: i === null && l ? l.enumerable : !i,
2195
- value: r,
2196
- writable: s === null && l ? l.writable : !s
2197
- });
2198
- else if (a || !i && !s && !o)
2199
- e[n] = r;
2200
- else
2201
- throw new Ss("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
2202
- }, Nt = nn(), Cr = function() {
2203
- return !!Nt;
2204
- };
2205
- Cr.hasArrayLengthDefineBug = function() {
2206
- if (!Nt)
2207
- return null;
2208
- try {
2209
- return Nt([], "length", { value: 1 }).length !== 1;
2210
- } catch {
2211
- return !0;
2212
- }
2213
- };
2214
- var Ts = Cr, xs = be, Dn = Es, Rs = Ts(), Fn = kr, Nn = Ie, Os = xs("%Math.floor%"), ks = function(e, n) {
2215
- if (typeof e != "function")
2216
- throw new Nn("`fn` is not a function");
2217
- if (typeof n != "number" || n < 0 || n > 4294967295 || Os(n) !== n)
2218
- throw new Nn("`length` must be a positive 32-bit integer");
2219
- var r = arguments.length > 2 && !!arguments[2], i = !0, s = !0;
2220
- if ("length" in e && Fn) {
2221
- var o = Fn(e, "length");
2222
- o && !o.configurable && (i = !1), o && !o.writable && (s = !1);
2223
- }
2224
- return (i || s || !r) && (Rs ? Dn(
2225
- /** @type {Parameters<define>[0]} */
2226
- e,
2227
- "length",
2228
- n,
2229
- !0,
2230
- !0
2231
- ) : Dn(
2232
- /** @type {Parameters<define>[0]} */
2233
- e,
2234
- "length",
2235
- n
2236
- )), e;
2237
- };
2238
- (function(t) {
2239
- var e = tn, n = be, r = ks, i = Ie, s = n("%Function.prototype.apply%"), o = n("%Function.prototype.call%"), a = n("%Reflect.apply%", !0) || e.call(o, s), l = nn(), f = n("%Math.max%");
2240
- t.exports = function(m) {
2241
- if (typeof m != "function")
2242
- throw new i("a function is required");
2243
- var A = a(e, o, arguments);
2244
- return r(
2245
- A,
2246
- 1 + f(0, m.length - (arguments.length - 1)),
2247
- !0
2248
- );
2249
- };
2250
- var u = function() {
2251
- return a(e, s, arguments);
2252
- };
2253
- l ? l(t.exports, "apply", { value: u }) : t.exports.apply = u;
2254
- })(Or);
2255
- var Cs = Or.exports, Ir = be, Pr = Cs, Is = Pr(Ir("String.prototype.indexOf")), Ps = function(e, n) {
2256
- var r = Ir(e, !!n);
2257
- return typeof r == "function" && Is(e, ".prototype.") > -1 ? Pr(r) : r;
2258
- };
2259
- const Bs = {}, Ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2260
- __proto__: null,
2261
- default: Bs
2262
- }, Symbol.toStringTag, { value: "Module" })), Fs = /* @__PURE__ */ No(Ds);
2263
- var rn = typeof Map == "function" && Map.prototype, wt = Object.getOwnPropertyDescriptor && rn ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, tt = rn && wt && typeof wt.get == "function" ? wt.get : null, Un = rn && Map.prototype.forEach, on = typeof Set == "function" && Set.prototype, bt = Object.getOwnPropertyDescriptor && on ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, nt = on && bt && typeof bt.get == "function" ? bt.get : null, Ln = on && Set.prototype.forEach, Ns = typeof WeakMap == "function" && WeakMap.prototype, xe = Ns ? WeakMap.prototype.has : null, Us = typeof WeakSet == "function" && WeakSet.prototype, Re = Us ? WeakSet.prototype.has : null, Ls = typeof WeakRef == "function" && WeakRef.prototype, Mn = Ls ? WeakRef.prototype.deref : null, Ms = Boolean.prototype.valueOf, Hs = Object.prototype.toString, zs = Function.prototype.toString, qs = String.prototype.match, sn = String.prototype.slice, ne = String.prototype.replace, Ws = String.prototype.toUpperCase, Hn = String.prototype.toLowerCase, Br = RegExp.prototype.test, zn = Array.prototype.concat, K = Array.prototype.join, Qs = Array.prototype.slice, qn = Math.floor, Ut = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, At = Object.getOwnPropertySymbols, Lt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ge = typeof Symbol == "function" && typeof Symbol.iterator == "object", U = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ge || "symbol") ? Symbol.toStringTag : null, Dr = Object.prototype.propertyIsEnumerable, Wn = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2264
- return t.__proto__;
2265
- } : null);
2266
- function Qn(t, e) {
2267
- if (t === 1 / 0 || t === -1 / 0 || t !== t || t && t > -1e3 && t < 1e3 || Br.call(/e/, e))
2268
- return e;
2269
- var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
2270
- if (typeof t == "number") {
2271
- var r = t < 0 ? -qn(-t) : qn(t);
2272
- if (r !== t) {
2273
- var i = String(r), s = sn.call(e, i.length + 1);
2274
- return ne.call(i, n, "$&_") + "." + ne.call(ne.call(s, /([0-9]{3})/g, "$&_"), /_$/, "");
2275
- }
2276
- }
2277
- return ne.call(e, n, "$&_");
2278
- }
2279
- var Mt = Fs, Jn = Mt.custom, jn = Nr(Jn) ? Jn : null, Js = function t(e, n, r, i) {
2280
- var s = n || {};
2281
- if (te(s, "quoteStyle") && s.quoteStyle !== "single" && s.quoteStyle !== "double")
2282
- throw new TypeError('option "quoteStyle" must be "single" or "double"');
2283
- if (te(s, "maxStringLength") && (typeof s.maxStringLength == "number" ? s.maxStringLength < 0 && s.maxStringLength !== 1 / 0 : s.maxStringLength !== null))
2284
- throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
2285
- var o = te(s, "customInspect") ? s.customInspect : !0;
2286
- if (typeof o != "boolean" && o !== "symbol")
2287
- throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
2288
- if (te(s, "indent") && s.indent !== null && s.indent !== " " && !(parseInt(s.indent, 10) === s.indent && s.indent > 0))
2289
- throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
2290
- if (te(s, "numericSeparator") && typeof s.numericSeparator != "boolean")
2291
- throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
2292
- var a = s.numericSeparator;
2293
- if (typeof e > "u")
2294
- return "undefined";
2295
- if (e === null)
2296
- return "null";
2297
- if (typeof e == "boolean")
2298
- return e ? "true" : "false";
2299
- if (typeof e == "string")
2300
- return Lr(e, s);
2301
- if (typeof e == "number") {
2302
- if (e === 0)
2303
- return 1 / 0 / e > 0 ? "0" : "-0";
2304
- var l = String(e);
2305
- return a ? Qn(e, l) : l;
2306
- }
2307
- if (typeof e == "bigint") {
2308
- var f = String(e) + "n";
2309
- return a ? Qn(e, f) : f;
2310
- }
2311
- var u = typeof s.depth > "u" ? 5 : s.depth;
2312
- if (typeof r > "u" && (r = 0), r >= u && u > 0 && typeof e == "object")
2313
- return Ht(e) ? "[Array]" : "[Object]";
2314
- var y = ca(s, r);
2315
- if (typeof i > "u")
2316
- i = [];
2317
- else if (Ur(i, e) >= 0)
2318
- return "[Circular]";
2319
- function m(q, Z, $) {
2320
- if (Z && (i = Qs.call(i), i.push(Z)), $) {
2321
- var Se = {
2322
- depth: s.depth
2323
- };
2324
- return te(s, "quoteStyle") && (Se.quoteStyle = s.quoteStyle), t(q, Se, r + 1, i);
2325
- }
2326
- return t(q, s, r + 1, i);
2327
- }
2328
- if (typeof e == "function" && !Gn(e)) {
2329
- var A = ea(e), g = Le(e, m);
2330
- return "[Function" + (A ? ": " + A : " (anonymous)") + "]" + (g.length > 0 ? " { " + K.call(g, ", ") + " }" : "");
2331
- }
2332
- if (Nr(e)) {
2333
- var w = ge ? ne.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Lt.call(e);
2334
- return typeof e == "object" && !ge ? Te(w) : w;
2335
- }
2336
- if (sa(e)) {
2337
- for (var _ = "<" + Hn.call(String(e.nodeName)), R = e.attributes || [], O = 0; O < R.length; O++)
2338
- _ += " " + R[O].name + "=" + Fr(js(R[O].value), "double", s);
2339
- return _ += ">", e.childNodes && e.childNodes.length && (_ += "..."), _ += "</" + Hn.call(String(e.nodeName)) + ">", _;
2340
- }
2341
- if (Ht(e)) {
2342
- if (e.length === 0)
2343
- return "[]";
2344
- var b = Le(e, m);
2345
- return y && !la(b) ? "[" + zt(b, y) + "]" : "[ " + K.call(b, ", ") + " ]";
2346
- }
2347
- if (Vs(e)) {
2348
- var D = Le(e, m);
2349
- return !("cause" in Error.prototype) && "cause" in e && !Dr.call(e, "cause") ? "{ [" + String(e) + "] " + K.call(zn.call("[cause]: " + m(e.cause), D), ", ") + " }" : D.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + K.call(D, ", ") + " }";
2350
- }
2351
- if (typeof e == "object" && o) {
2352
- if (jn && typeof e[jn] == "function" && Mt)
2353
- return Mt(e, { depth: u - r });
2354
- if (o !== "symbol" && typeof e.inspect == "function")
2355
- return e.inspect();
2356
- }
2357
- if (ta(e)) {
2358
- var k = [];
2359
- return Un && Un.call(e, function(q, Z) {
2360
- k.push(m(Z, e, !0) + " => " + m(q, e));
2361
- }), Vn("Map", tt.call(e), k, y);
2362
- }
2363
- if (ia(e)) {
2364
- var L = [];
2365
- return Ln && Ln.call(e, function(q) {
2366
- L.push(m(q, e));
2367
- }), Vn("Set", nt.call(e), L, y);
2368
- }
2369
- if (na(e))
2370
- return St("WeakMap");
2371
- if (oa(e))
2372
- return St("WeakSet");
2373
- if (ra(e))
2374
- return St("WeakRef");
2375
- if (Ys(e))
2376
- return Te(m(Number(e)));
2377
- if (Zs(e))
2378
- return Te(m(Ut.call(e)));
2379
- if (Xs(e))
2380
- return Te(Ms.call(e));
2381
- if (Ks(e))
2382
- return Te(m(String(e)));
2383
- if (typeof window < "u" && e === window)
2384
- return "{ [object Window] }";
2385
- if (typeof globalThis < "u" && e === globalThis || typeof xn < "u" && e === xn)
2386
- return "{ [object globalThis] }";
2387
- if (!Gs(e) && !Gn(e)) {
2388
- var M = Le(e, m), Y = Wn ? Wn(e) === Object.prototype : e instanceof Object || e.constructor === Object, j = e instanceof Object ? "" : "null prototype", X = !Y && U && Object(e) === e && U in e ? sn.call(re(e), 8, -1) : j ? "Object" : "", De = Y || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", ce = De + (X || j ? "[" + K.call(zn.call([], X || [], j || []), ": ") + "] " : "");
2389
- return M.length === 0 ? ce + "{}" : y ? ce + "{" + zt(M, y) + "}" : ce + "{ " + K.call(M, ", ") + " }";
2390
- }
2391
- return String(e);
2392
- };
2393
- function Fr(t, e, n) {
2394
- var r = (n.quoteStyle || e) === "double" ? '"' : "'";
2395
- return r + t + r;
2396
- }
2397
- function js(t) {
2398
- return ne.call(String(t), /"/g, "&quot;");
2399
- }
2400
- function Ht(t) {
2401
- return re(t) === "[object Array]" && (!U || !(typeof t == "object" && U in t));
2402
- }
2403
- function Gs(t) {
2404
- return re(t) === "[object Date]" && (!U || !(typeof t == "object" && U in t));
2405
- }
2406
- function Gn(t) {
2407
- return re(t) === "[object RegExp]" && (!U || !(typeof t == "object" && U in t));
2408
- }
2409
- function Vs(t) {
2410
- return re(t) === "[object Error]" && (!U || !(typeof t == "object" && U in t));
2411
- }
2412
- function Ks(t) {
2413
- return re(t) === "[object String]" && (!U || !(typeof t == "object" && U in t));
2414
- }
2415
- function Ys(t) {
2416
- return re(t) === "[object Number]" && (!U || !(typeof t == "object" && U in t));
2417
- }
2418
- function Xs(t) {
2419
- return re(t) === "[object Boolean]" && (!U || !(typeof t == "object" && U in t));
2420
- }
2421
- function Nr(t) {
2422
- if (ge)
2423
- return t && typeof t == "object" && t instanceof Symbol;
2424
- if (typeof t == "symbol")
2425
- return !0;
2426
- if (!t || typeof t != "object" || !Lt)
2427
- return !1;
2428
- try {
2429
- return Lt.call(t), !0;
2430
- } catch {
2431
- }
2432
- return !1;
2433
- }
2434
- function Zs(t) {
2435
- if (!t || typeof t != "object" || !Ut)
2436
- return !1;
2437
- try {
2438
- return Ut.call(t), !0;
2439
- } catch {
2440
- }
2441
- return !1;
2442
- }
2443
- var $s = Object.prototype.hasOwnProperty || function(t) {
2444
- return t in this;
2445
- };
2446
- function te(t, e) {
2447
- return $s.call(t, e);
2448
- }
2449
- function re(t) {
2450
- return Hs.call(t);
2451
- }
2452
- function ea(t) {
2453
- if (t.name)
2454
- return t.name;
2455
- var e = qs.call(zs.call(t), /^function\s*([\w$]+)/);
2456
- return e ? e[1] : null;
2457
- }
2458
- function Ur(t, e) {
2459
- if (t.indexOf)
2460
- return t.indexOf(e);
2461
- for (var n = 0, r = t.length; n < r; n++)
2462
- if (t[n] === e)
2463
- return n;
2464
- return -1;
2465
- }
2466
- function ta(t) {
2467
- if (!tt || !t || typeof t != "object")
2468
- return !1;
2469
- try {
2470
- tt.call(t);
2471
- try {
2472
- nt.call(t);
2473
- } catch {
2474
- return !0;
2475
- }
2476
- return t instanceof Map;
2477
- } catch {
2478
- }
2479
- return !1;
2480
- }
2481
- function na(t) {
2482
- if (!xe || !t || typeof t != "object")
2483
- return !1;
2484
- try {
2485
- xe.call(t, xe);
2486
- try {
2487
- Re.call(t, Re);
2488
- } catch {
2489
- return !0;
2490
- }
2491
- return t instanceof WeakMap;
2492
- } catch {
2493
- }
2494
- return !1;
2495
- }
2496
- function ra(t) {
2497
- if (!Mn || !t || typeof t != "object")
2498
- return !1;
2499
- try {
2500
- return Mn.call(t), !0;
2501
- } catch {
2502
- }
2503
- return !1;
2504
- }
2505
- function ia(t) {
2506
- if (!nt || !t || typeof t != "object")
2507
- return !1;
2508
- try {
2509
- nt.call(t);
2510
- try {
2511
- tt.call(t);
2512
- } catch {
2513
- return !0;
2514
- }
2515
- return t instanceof Set;
2516
- } catch {
2517
- }
2518
- return !1;
2519
- }
2520
- function oa(t) {
2521
- if (!Re || !t || typeof t != "object")
2522
- return !1;
2523
- try {
2524
- Re.call(t, Re);
2525
- try {
2526
- xe.call(t, xe);
2527
- } catch {
2528
- return !0;
2529
- }
2530
- return t instanceof WeakSet;
2531
- } catch {
2532
- }
2533
- return !1;
2534
- }
2535
- function sa(t) {
2536
- return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
2537
- }
2538
- function Lr(t, e) {
2539
- if (t.length > e.maxStringLength) {
2540
- var n = t.length - e.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
2541
- return Lr(sn.call(t, 0, e.maxStringLength), e) + r;
2542
- }
2543
- var i = ne.call(ne.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, aa);
2544
- return Fr(i, "single", e);
2545
- }
2546
- function aa(t) {
2547
- var e = t.charCodeAt(0), n = {
2548
- 8: "b",
2549
- 9: "t",
2550
- 10: "n",
2551
- 12: "f",
2552
- 13: "r"
2553
- }[e];
2554
- return n ? "\\" + n : "\\x" + (e < 16 ? "0" : "") + Ws.call(e.toString(16));
2555
- }
2556
- function Te(t) {
2557
- return "Object(" + t + ")";
2558
- }
2559
- function St(t) {
2560
- return t + " { ? }";
2561
- }
2562
- function Vn(t, e, n, r) {
2563
- var i = r ? zt(n, r) : K.call(n, ", ");
2564
- return t + " (" + e + ") {" + i + "}";
2565
- }
2566
- function la(t) {
2567
- for (var e = 0; e < t.length; e++)
2568
- if (Ur(t[e], `
2569
- `) >= 0)
2570
- return !1;
2571
- return !0;
2572
- }
2573
- function ca(t, e) {
2574
- var n;
2575
- if (t.indent === " ")
2576
- n = " ";
2577
- else if (typeof t.indent == "number" && t.indent > 0)
2578
- n = K.call(Array(t.indent + 1), " ");
2579
- else
2580
- return null;
2581
- return {
2582
- base: n,
2583
- prev: K.call(Array(e + 1), n)
2584
- };
2585
- }
2586
- function zt(t, e) {
2587
- if (t.length === 0)
2588
- return "";
2589
- var n = `
2590
- ` + e.prev + e.base;
2591
- return n + K.call(t, "," + n) + `
2592
- ` + e.prev;
2593
- }
2594
- function Le(t, e) {
2595
- var n = Ht(t), r = [];
2596
- if (n) {
2597
- r.length = t.length;
2598
- for (var i = 0; i < t.length; i++)
2599
- r[i] = te(t, i) ? e(t[i], t) : "";
2600
- }
2601
- var s = typeof At == "function" ? At(t) : [], o;
2602
- if (ge) {
2603
- o = {};
2604
- for (var a = 0; a < s.length; a++)
2605
- o["$" + s[a]] = s[a];
2606
- }
2607
- for (var l in t)
2608
- te(t, l) && (n && String(Number(l)) === l && l < t.length || ge && o["$" + l] instanceof Symbol || (Br.call(/[^\w$]/, l) ? r.push(e(l, t) + ": " + e(t[l], t)) : r.push(l + ": " + e(t[l], t))));
2609
- if (typeof At == "function")
2610
- for (var f = 0; f < s.length; f++)
2611
- Dr.call(t, s[f]) && r.push("[" + e(s[f]) + "]: " + e(t[s[f]], t));
2612
- return r;
2613
- }
2614
- var Mr = be, Ae = Ps, ua = Js, fa = Ie, Me = Mr("%WeakMap%", !0), He = Mr("%Map%", !0), da = Ae("WeakMap.prototype.get", !0), pa = Ae("WeakMap.prototype.set", !0), ha = Ae("WeakMap.prototype.has", !0), ya = Ae("Map.prototype.get", !0), ma = Ae("Map.prototype.set", !0), ga = Ae("Map.prototype.has", !0), an = function(t, e) {
2615
- for (var n = t, r; (r = n.next) !== null; n = r)
2616
- if (r.key === e)
2617
- return n.next = r.next, r.next = /** @type {NonNullable<typeof list.next>} */
2618
- t.next, t.next = r, r;
2619
- }, _a = function(t, e) {
2620
- var n = an(t, e);
2621
- return n && n.value;
2622
- }, va = function(t, e, n) {
2623
- var r = an(t, e);
2624
- r ? r.value = n : t.next = /** @type {import('.').ListNode<typeof value>} */
2625
- {
2626
- // eslint-disable-line no-param-reassign, no-extra-parens
2627
- key: e,
2628
- next: t.next,
2629
- value: n
2630
- };
2631
- }, wa = function(t, e) {
2632
- return !!an(t, e);
2633
- }, ba = function() {
2634
- var e, n, r, i = {
2635
- assert: function(s) {
2636
- if (!i.has(s))
2637
- throw new fa("Side channel does not contain " + ua(s));
2638
- },
2639
- get: function(s) {
2640
- if (Me && s && (typeof s == "object" || typeof s == "function")) {
2641
- if (e)
2642
- return da(e, s);
2643
- } else if (He) {
2644
- if (n)
2645
- return ya(n, s);
2646
- } else if (r)
2647
- return _a(r, s);
2648
- },
2649
- has: function(s) {
2650
- if (Me && s && (typeof s == "object" || typeof s == "function")) {
2651
- if (e)
2652
- return ha(e, s);
2653
- } else if (He) {
2654
- if (n)
2655
- return ga(n, s);
2656
- } else if (r)
2657
- return wa(r, s);
2658
- return !1;
2659
- },
2660
- set: function(s, o) {
2661
- Me && s && (typeof s == "object" || typeof s == "function") ? (e || (e = new Me()), pa(e, s, o)) : He ? (n || (n = new He()), ma(n, s, o)) : (r || (r = { key: {}, next: null }), va(r, s, o));
2662
- }
2663
- };
2664
- return i;
2665
- }, Aa = String.prototype.replace, Sa = /%20/g, Et = {
2666
- RFC1738: "RFC1738",
2667
- RFC3986: "RFC3986"
2668
- }, ln = {
2669
- default: Et.RFC3986,
2670
- formatters: {
2671
- RFC1738: function(t) {
2672
- return Aa.call(t, Sa, "+");
2673
- },
2674
- RFC3986: function(t) {
2675
- return String(t);
2676
- }
2677
- },
2678
- RFC1738: Et.RFC1738,
2679
- RFC3986: Et.RFC3986
2680
- }, Ea = ln, Tt = Object.prototype.hasOwnProperty, ie = Array.isArray, G = function() {
2681
- for (var t = [], e = 0; e < 256; ++e)
2682
- t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2683
- return t;
2684
- }(), Ta = function(e) {
2685
- for (; e.length > 1; ) {
2686
- var n = e.pop(), r = n.obj[n.prop];
2687
- if (ie(r)) {
2688
- for (var i = [], s = 0; s < r.length; ++s)
2689
- typeof r[s] < "u" && i.push(r[s]);
2690
- n.obj[n.prop] = i;
2691
- }
2692
- }
2693
- }, Hr = function(e, n) {
2694
- for (var r = n && n.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, i = 0; i < e.length; ++i)
2695
- typeof e[i] < "u" && (r[i] = e[i]);
2696
- return r;
2697
- }, xa = function t(e, n, r) {
2698
- if (!n)
2699
- return e;
2700
- if (typeof n != "object") {
2701
- if (ie(e))
2702
- e.push(n);
2703
- else if (e && typeof e == "object")
2704
- (r && (r.plainObjects || r.allowPrototypes) || !Tt.call(Object.prototype, n)) && (e[n] = !0);
2705
- else
2706
- return [e, n];
2707
- return e;
2708
- }
2709
- if (!e || typeof e != "object")
2710
- return [e].concat(n);
2711
- var i = e;
2712
- return ie(e) && !ie(n) && (i = Hr(e, r)), ie(e) && ie(n) ? (n.forEach(function(s, o) {
2713
- if (Tt.call(e, o)) {
2714
- var a = e[o];
2715
- a && typeof a == "object" && s && typeof s == "object" ? e[o] = t(a, s, r) : e.push(s);
2716
- } else
2717
- e[o] = s;
2718
- }), e) : Object.keys(n).reduce(function(s, o) {
2719
- var a = n[o];
2720
- return Tt.call(s, o) ? s[o] = t(s[o], a, r) : s[o] = a, s;
2721
- }, i);
2722
- }, Ra = function(e, n) {
2723
- return Object.keys(n).reduce(function(r, i) {
2724
- return r[i] = n[i], r;
2725
- }, e);
2726
- }, Oa = function(t, e, n) {
2727
- var r = t.replace(/\+/g, " ");
2728
- if (n === "iso-8859-1")
2729
- return r.replace(/%[0-9a-f]{2}/gi, unescape);
2730
- try {
2731
- return decodeURIComponent(r);
2732
- } catch {
2733
- return r;
2734
- }
2735
- }, xt = 1024, ka = function(e, n, r, i, s) {
2736
- if (e.length === 0)
2737
- return e;
2738
- var o = e;
2739
- if (typeof e == "symbol" ? o = Symbol.prototype.toString.call(e) : typeof e != "string" && (o = String(e)), r === "iso-8859-1")
2740
- return escape(o).replace(/%u[0-9a-f]{4}/gi, function(A) {
2741
- return "%26%23" + parseInt(A.slice(2), 16) + "%3B";
2742
- });
2743
- for (var a = "", l = 0; l < o.length; l += xt) {
2744
- for (var f = o.length >= xt ? o.slice(l, l + xt) : o, u = [], y = 0; y < f.length; ++y) {
2745
- var m = f.charCodeAt(y);
2746
- if (m === 45 || m === 46 || m === 95 || m === 126 || m >= 48 && m <= 57 || m >= 65 && m <= 90 || m >= 97 && m <= 122 || s === Ea.RFC1738 && (m === 40 || m === 41)) {
2747
- u[u.length] = f.charAt(y);
2748
- continue;
2749
- }
2750
- if (m < 128) {
2751
- u[u.length] = G[m];
2752
- continue;
2753
- }
2754
- if (m < 2048) {
2755
- u[u.length] = G[192 | m >> 6] + G[128 | m & 63];
2756
- continue;
2757
- }
2758
- if (m < 55296 || m >= 57344) {
2759
- u[u.length] = G[224 | m >> 12] + G[128 | m >> 6 & 63] + G[128 | m & 63];
2760
- continue;
2761
- }
2762
- y += 1, m = 65536 + ((m & 1023) << 10 | f.charCodeAt(y) & 1023), u[u.length] = G[240 | m >> 18] + G[128 | m >> 12 & 63] + G[128 | m >> 6 & 63] + G[128 | m & 63];
2763
- }
2764
- a += u.join("");
2765
- }
2766
- return a;
2767
- }, Ca = function(e) {
2768
- for (var n = [{ obj: { o: e }, prop: "o" }], r = [], i = 0; i < n.length; ++i)
2769
- for (var s = n[i], o = s.obj[s.prop], a = Object.keys(o), l = 0; l < a.length; ++l) {
2770
- var f = a[l], u = o[f];
2771
- typeof u == "object" && u !== null && r.indexOf(u) === -1 && (n.push({ obj: o, prop: f }), r.push(u));
2772
- }
2773
- return Ta(n), e;
2774
- }, Ia = function(e) {
2775
- return Object.prototype.toString.call(e) === "[object RegExp]";
2776
- }, Pa = function(e) {
2777
- return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
2778
- }, Ba = function(e, n) {
2779
- return [].concat(e, n);
2780
- }, Da = function(e, n) {
2781
- if (ie(e)) {
2782
- for (var r = [], i = 0; i < e.length; i += 1)
2783
- r.push(n(e[i]));
2784
- return r;
2785
- }
2786
- return n(e);
2787
- }, zr = {
2788
- arrayToObject: Hr,
2789
- assign: Ra,
2790
- combine: Ba,
2791
- compact: Ca,
2792
- decode: Oa,
2793
- encode: ka,
2794
- isBuffer: Pa,
2795
- isRegExp: Ia,
2796
- maybeMap: Da,
2797
- merge: xa
2798
- }, qr = ba, Ke = zr, Oe = ln, Fa = Object.prototype.hasOwnProperty, Wr = {
2799
- brackets: function(e) {
2800
- return e + "[]";
2801
- },
2802
- comma: "comma",
2803
- indices: function(e, n) {
2804
- return e + "[" + n + "]";
2805
- },
2806
- repeat: function(e) {
2807
- return e;
2808
- }
2809
- }, V = Array.isArray, Na = Array.prototype.push, Qr = function(t, e) {
2810
- Na.apply(t, V(e) ? e : [e]);
2811
- }, Ua = Date.prototype.toISOString, Kn = Oe.default, B = {
2812
- addQueryPrefix: !1,
2813
- allowDots: !1,
2814
- allowEmptyArrays: !1,
2815
- arrayFormat: "indices",
2816
- charset: "utf-8",
2817
- charsetSentinel: !1,
2818
- delimiter: "&",
2819
- encode: !0,
2820
- encodeDotInKeys: !1,
2821
- encoder: Ke.encode,
2822
- encodeValuesOnly: !1,
2823
- format: Kn,
2824
- formatter: Oe.formatters[Kn],
2825
- // deprecated
2826
- indices: !1,
2827
- serializeDate: function(e) {
2828
- return Ua.call(e);
2829
- },
2830
- skipNulls: !1,
2831
- strictNullHandling: !1
2832
- }, La = function(e) {
2833
- return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2834
- }, Rt = {}, Ma = function t(e, n, r, i, s, o, a, l, f, u, y, m, A, g, w, _, R, O) {
2835
- for (var b = e, D = O, k = 0, L = !1; (D = D.get(Rt)) !== void 0 && !L; ) {
2836
- var M = D.get(e);
2837
- if (k += 1, typeof M < "u") {
2838
- if (M === k)
2839
- throw new RangeError("Cyclic object value");
2840
- L = !0;
2841
- }
2842
- typeof D.get(Rt) > "u" && (k = 0);
2843
- }
2844
- if (typeof u == "function" ? b = u(n, b) : b instanceof Date ? b = A(b) : r === "comma" && V(b) && (b = Ke.maybeMap(b, function(ft) {
2845
- return ft instanceof Date ? A(ft) : ft;
2846
- })), b === null) {
2847
- if (o)
2848
- return f && !_ ? f(n, B.encoder, R, "key", g) : n;
2849
- b = "";
2850
- }
2851
- if (La(b) || Ke.isBuffer(b)) {
2852
- if (f) {
2853
- var Y = _ ? n : f(n, B.encoder, R, "key", g);
2854
- return [w(Y) + "=" + w(f(b, B.encoder, R, "value", g))];
2855
- }
2856
- return [w(n) + "=" + w(String(b))];
2857
- }
2858
- var j = [];
2859
- if (typeof b > "u")
2860
- return j;
2861
- var X;
2862
- if (r === "comma" && V(b))
2863
- _ && f && (b = Ke.maybeMap(b, f)), X = [{ value: b.length > 0 ? b.join(",") || null : void 0 }];
2864
- else if (V(u))
2865
- X = u;
2866
- else {
2867
- var De = Object.keys(b);
2868
- X = y ? De.sort(y) : De;
2869
- }
2870
- var ce = l ? n.replace(/\./g, "%2E") : n, q = i && V(b) && b.length === 1 ? ce + "[]" : ce;
2871
- if (s && V(b) && b.length === 0)
2872
- return q + "[]";
2873
- for (var Z = 0; Z < X.length; ++Z) {
2874
- var $ = X[Z], Se = typeof $ == "object" && typeof $.value < "u" ? $.value : b[$];
2875
- if (!(a && Se === null)) {
2876
- var ut = m && l ? $.replace(/\./g, "%2E") : $, jr = V(b) ? typeof r == "function" ? r(q, ut) : q : q + (m ? "." + ut : "[" + ut + "]");
2877
- O.set(e, k);
2878
- var cn = qr();
2879
- cn.set(Rt, O), Qr(j, t(
2880
- Se,
2881
- jr,
2882
- r,
2883
- i,
2884
- s,
2885
- o,
2886
- a,
2887
- l,
2888
- r === "comma" && _ && V(b) ? null : f,
2889
- u,
2890
- y,
2891
- m,
2892
- A,
2893
- g,
2894
- w,
2895
- _,
2896
- R,
2897
- cn
2898
- ));
2899
- }
2900
- }
2901
- return j;
2902
- }, Ha = function(e) {
2903
- if (!e)
2904
- return B;
2905
- if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
2906
- throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
2907
- if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
2908
- throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
2909
- if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
2910
- throw new TypeError("Encoder has to be a function.");
2911
- var n = e.charset || B.charset;
2912
- if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
2913
- throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
2914
- var r = Oe.default;
2915
- if (typeof e.format < "u") {
2916
- if (!Fa.call(Oe.formatters, e.format))
2917
- throw new TypeError("Unknown format option provided.");
2918
- r = e.format;
2919
- }
2920
- var i = Oe.formatters[r], s = B.filter;
2921
- (typeof e.filter == "function" || V(e.filter)) && (s = e.filter);
2922
- var o;
2923
- if (e.arrayFormat in Wr ? o = e.arrayFormat : "indices" in e ? o = e.indices ? "indices" : "repeat" : o = B.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
2924
- throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
2925
- var a = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : B.allowDots : !!e.allowDots;
2926
- return {
2927
- addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : B.addQueryPrefix,
2928
- allowDots: a,
2929
- allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : B.allowEmptyArrays,
2930
- arrayFormat: o,
2931
- charset: n,
2932
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : B.charsetSentinel,
2933
- commaRoundTrip: e.commaRoundTrip,
2934
- delimiter: typeof e.delimiter > "u" ? B.delimiter : e.delimiter,
2935
- encode: typeof e.encode == "boolean" ? e.encode : B.encode,
2936
- encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : B.encodeDotInKeys,
2937
- encoder: typeof e.encoder == "function" ? e.encoder : B.encoder,
2938
- encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : B.encodeValuesOnly,
2939
- filter: s,
2940
- format: r,
2941
- formatter: i,
2942
- serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : B.serializeDate,
2943
- skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : B.skipNulls,
2944
- sort: typeof e.sort == "function" ? e.sort : null,
2945
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : B.strictNullHandling
2946
- };
2947
- }, za = function(t, e) {
2948
- var n = t, r = Ha(e), i, s;
2949
- typeof r.filter == "function" ? (s = r.filter, n = s("", n)) : V(r.filter) && (s = r.filter, i = s);
2950
- var o = [];
2951
- if (typeof n != "object" || n === null)
2952
- return "";
2953
- var a = Wr[r.arrayFormat], l = a === "comma" && r.commaRoundTrip;
2954
- i || (i = Object.keys(n)), r.sort && i.sort(r.sort);
2955
- for (var f = qr(), u = 0; u < i.length; ++u) {
2956
- var y = i[u];
2957
- r.skipNulls && n[y] === null || Qr(o, Ma(
2958
- n[y],
2959
- y,
2960
- a,
2961
- l,
2962
- r.allowEmptyArrays,
2963
- r.strictNullHandling,
2964
- r.skipNulls,
2965
- r.encodeDotInKeys,
2966
- r.encode ? r.encoder : null,
2967
- r.filter,
2968
- r.sort,
2969
- r.allowDots,
2970
- r.serializeDate,
2971
- r.format,
2972
- r.formatter,
2973
- r.encodeValuesOnly,
2974
- r.charset,
2975
- f
2976
- ));
2977
- }
2978
- var m = o.join(r.delimiter), A = r.addQueryPrefix === !0 ? "?" : "";
2979
- return r.charsetSentinel && (r.charset === "iso-8859-1" ? A += "utf8=%26%2310003%3B&" : A += "utf8=%E2%9C%93&"), m.length > 0 ? A + m : "";
2980
- }, _e = zr, qt = Object.prototype.hasOwnProperty, qa = Array.isArray, C = {
2981
- allowDots: !1,
2982
- allowEmptyArrays: !1,
2983
- allowPrototypes: !1,
2984
- allowSparse: !1,
2985
- arrayLimit: 20,
2986
- charset: "utf-8",
2987
- charsetSentinel: !1,
2988
- comma: !1,
2989
- decodeDotInKeys: !1,
2990
- decoder: _e.decode,
2991
- delimiter: "&",
2992
- depth: 5,
2993
- duplicates: "combine",
2994
- ignoreQueryPrefix: !1,
2995
- interpretNumericEntities: !1,
2996
- parameterLimit: 1e3,
2997
- parseArrays: !0,
2998
- plainObjects: !1,
2999
- strictDepth: !1,
3000
- strictNullHandling: !1
3001
- }, Wa = function(t) {
3002
- return t.replace(/&#(\d+);/g, function(e, n) {
3003
- return String.fromCharCode(parseInt(n, 10));
3004
- });
3005
- }, Jr = function(t, e) {
3006
- return t && typeof t == "string" && e.comma && t.indexOf(",") > -1 ? t.split(",") : t;
3007
- }, Qa = "utf8=%26%2310003%3B", Ja = "utf8=%E2%9C%93", ja = function(e, n) {
3008
- var r = { __proto__: null }, i = n.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
3009
- i = i.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
3010
- var s = n.parameterLimit === 1 / 0 ? void 0 : n.parameterLimit, o = i.split(n.delimiter, s), a = -1, l, f = n.charset;
3011
- if (n.charsetSentinel)
3012
- for (l = 0; l < o.length; ++l)
3013
- o[l].indexOf("utf8=") === 0 && (o[l] === Ja ? f = "utf-8" : o[l] === Qa && (f = "iso-8859-1"), a = l, l = o.length);
3014
- for (l = 0; l < o.length; ++l)
3015
- if (l !== a) {
3016
- var u = o[l], y = u.indexOf("]="), m = y === -1 ? u.indexOf("=") : y + 1, A, g;
3017
- m === -1 ? (A = n.decoder(u, C.decoder, f, "key"), g = n.strictNullHandling ? null : "") : (A = n.decoder(u.slice(0, m), C.decoder, f, "key"), g = _e.maybeMap(
3018
- Jr(u.slice(m + 1), n),
3019
- function(_) {
3020
- return n.decoder(_, C.decoder, f, "value");
3021
- }
3022
- )), g && n.interpretNumericEntities && f === "iso-8859-1" && (g = Wa(g)), u.indexOf("[]=") > -1 && (g = qa(g) ? [g] : g);
3023
- var w = qt.call(r, A);
3024
- w && n.duplicates === "combine" ? r[A] = _e.combine(r[A], g) : (!w || n.duplicates === "last") && (r[A] = g);
3025
- }
3026
- return r;
3027
- }, Ga = function(t, e, n, r) {
3028
- for (var i = r ? e : Jr(e, n), s = t.length - 1; s >= 0; --s) {
3029
- var o, a = t[s];
3030
- if (a === "[]" && n.parseArrays)
3031
- o = n.allowEmptyArrays && (i === "" || n.strictNullHandling && i === null) ? [] : [].concat(i);
3032
- else {
3033
- o = n.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
3034
- var l = a.charAt(0) === "[" && a.charAt(a.length - 1) === "]" ? a.slice(1, -1) : a, f = n.decodeDotInKeys ? l.replace(/%2E/g, ".") : l, u = parseInt(f, 10);
3035
- !n.parseArrays && f === "" ? o = { 0: i } : !isNaN(u) && a !== f && String(u) === f && u >= 0 && n.parseArrays && u <= n.arrayLimit ? (o = [], o[u] = i) : f !== "__proto__" && (o[f] = i);
3036
- }
3037
- i = o;
3038
- }
3039
- return i;
3040
- }, Va = function(e, n, r, i) {
3041
- if (e) {
3042
- var s = r.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, o = /(\[[^[\]]*])/, a = /(\[[^[\]]*])/g, l = r.depth > 0 && o.exec(s), f = l ? s.slice(0, l.index) : s, u = [];
3043
- if (f) {
3044
- if (!r.plainObjects && qt.call(Object.prototype, f) && !r.allowPrototypes)
3045
- return;
3046
- u.push(f);
3047
- }
3048
- for (var y = 0; r.depth > 0 && (l = a.exec(s)) !== null && y < r.depth; ) {
3049
- if (y += 1, !r.plainObjects && qt.call(Object.prototype, l[1].slice(1, -1)) && !r.allowPrototypes)
3050
- return;
3051
- u.push(l[1]);
3052
- }
3053
- if (l) {
3054
- if (r.strictDepth === !0)
3055
- throw new RangeError("Input depth exceeded depth option of " + r.depth + " and strictDepth is true");
3056
- u.push("[" + s.slice(l.index) + "]");
3057
- }
3058
- return Ga(u, n, r, i);
3059
- }
3060
- }, Ka = function(e) {
3061
- if (!e)
3062
- return C;
3063
- if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
3064
- throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
3065
- if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
3066
- throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
3067
- if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
3068
- throw new TypeError("Decoder has to be a function.");
3069
- if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
3070
- throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
3071
- var n = typeof e.charset > "u" ? C.charset : e.charset, r = typeof e.duplicates > "u" ? C.duplicates : e.duplicates;
3072
- if (r !== "combine" && r !== "first" && r !== "last")
3073
- throw new TypeError("The duplicates option must be either combine, first, or last");
3074
- var i = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : C.allowDots : !!e.allowDots;
3075
- return {
3076
- allowDots: i,
3077
- allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : C.allowEmptyArrays,
3078
- allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : C.allowPrototypes,
3079
- allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : C.allowSparse,
3080
- arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : C.arrayLimit,
3081
- charset: n,
3082
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : C.charsetSentinel,
3083
- comma: typeof e.comma == "boolean" ? e.comma : C.comma,
3084
- decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : C.decodeDotInKeys,
3085
- decoder: typeof e.decoder == "function" ? e.decoder : C.decoder,
3086
- delimiter: typeof e.delimiter == "string" || _e.isRegExp(e.delimiter) ? e.delimiter : C.delimiter,
3087
- // eslint-disable-next-line no-implicit-coercion, no-extra-parens
3088
- depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : C.depth,
3089
- duplicates: r,
3090
- ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
3091
- interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : C.interpretNumericEntities,
3092
- parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : C.parameterLimit,
3093
- parseArrays: e.parseArrays !== !1,
3094
- plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : C.plainObjects,
3095
- strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : C.strictDepth,
3096
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : C.strictNullHandling
3097
- };
3098
- }, Ya = function(t, e) {
3099
- var n = Ka(e);
3100
- if (t === "" || t === null || typeof t > "u")
3101
- return n.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
3102
- for (var r = typeof t == "string" ? ja(t, n) : t, i = n.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, s = Object.keys(r), o = 0; o < s.length; ++o) {
3103
- var a = s[o], l = Va(a, r[a], n, typeof t == "string");
3104
- i = _e.merge(i, l, n);
3105
- }
3106
- return n.allowSparse === !0 ? i : _e.compact(i);
3107
- }, Xa = za, Za = Ya, $a = ln, el = {
3108
- formats: $a,
3109
- parse: Za,
3110
- stringify: Xa
3111
- };
3112
- const tl = /* @__PURE__ */ Fo(el);
3113
- let Yn = Do();
3114
- Sr.CancelToken;
3115
- let Be = ({ url: t, params: e, method: n, ourl: r }) => {
3116
- let i = r + t;
3117
- if (n === "get")
3118
- return Yn.get(i, { params: e }, { headers: { "Content-Type": "application/x-www-form-urlencoded" } });
3119
- if (n === "post")
3120
- return Yn.post(i, tl.stringify(e), { headers: { "Content-Type": "application/x-www-form-urlencoded" } });
3121
- };
3122
- function ze(t) {
3123
- return Be({
3124
- url: "/api/v6/terminal/configs/by_name",
3125
- method: "get",
3126
- params: t,
3127
- ourl: ""
3128
- });
3129
- }
3130
- function nl(t) {
3131
- return Be({
3132
- url: "/api/v1/user/info.json",
3133
- method: "get",
3134
- params: t,
3135
- ourl: ""
3136
- });
3137
- }
3138
- function rl(t) {
3139
- return Be({
3140
- url: "/api/v1/users/mobile/members/information",
3141
- method: "get",
3142
- params: t,
3143
- ourl: ""
3144
- });
3145
- }
3146
- function Xn(t) {
3147
- return Be({
3148
- url: "/api/v6/contents/1981",
3149
- method: "get",
3150
- params: t,
3151
- ourl: ""
3152
- });
3153
- }
3154
- function il(t) {
3155
- return Be({
3156
- url: "/apis/logs",
3157
- params: t,
3158
- method: "get",
3159
- ourl: ""
3160
- });
3161
- }
3162
- const ct = "data:image/png;base64,iVBORw0KGg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LLobP8DM+bWTnMnDDwAAAAASUVORK5CYII=", Zn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAAAXNSR0IArs4c6QAAAHdJREFUKFOFkGERgmAQRN82MIJVTCANkCTSQCNAAxpAA4hABBusfM7JfMgw3q+be7O3tyfbNdBJmshKtu/ADbhImr9MqbH9AIocfkDAHjgFfOUgDUdgkFStIFRnICnbI9D8X2V7b277uRhfN+dG8nIXMMK1vy95AxCKOwb9TpvIAAAAAElFTkSuQmCC", sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAcCAYAAAAnbDzKAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgBzZeNbYMwEIXvCLN0ga7RBdoB0gG6QBboAizQBTpGu0BHiQLuGYWXRDH+wXeKn2QJ8Jn7PskgIDKMc27vBxmmJ6PM4Gd4OSZmHsggTAa5hr904sFCQl0gCI9u+hKqAlF4dNSVUBPIgkdXPQkVgSJ4dNaR6KgyUXjnfmX8rcypvGKrBBLw37zbvct488crNdUSm7dQBvzh5tI4HmTbvATrK7bTJoFSeEwZSBQLbIVHibJEkUAtPEoVJbIFtOCxREkiS0AbHksVJJICVvC4RaVEVMAaHreqkFgVSMB/CfwnKUYkPgT2NTgZkeAwXwR+mgbue5OfE3c67anrij7F7wQeBY/+hRI3Ao+GB0eBBARagQdPpsQs0Br8khwJbhV+SUqio3EMr2wA3mdmEJbg5MLuLd00/WB468aSZERBg/BLkozueHymxiPP7NP1+T8OxHF5nfcjnQAAAABJRU5ErkJggg==";
3163
- const al = (t, e) => {
3164
- const n = t.__vccOpts || t;
3165
- for (const [r, i] of e)
3166
- n[r] = i;
3167
- return n;
3168
- }, ll = {
3169
- name: "gameassis",
3170
- props: ["access_token", "client_id", "channel_code", "game_id", "game_cloud_service"],
3171
- data() {
3172
- return {
3173
- timer: null,
3174
- currentTop: 0,
3175
- clientWidth: 0,
3176
- clientHeight: 0,
3177
- itemWidth: 40,
3178
- itemHeight: 40,
3179
- coefficientHeight: 0.1,
3180
- gapWidth: 10,
3181
- left: 0,
3182
- top: 0,
3183
- timeOutEvent: 0,
3184
- numi: 1,
3185
- contentTab: 1,
3186
- //tab切换画质与偏好
3187
- anyhow: 1,
3188
- //判断横竖屏幕
3189
- typesOf: 1,
3190
- //判断是否为pad
3191
- computerTop: !0,
3192
- computerOne: !1,
3193
- //电脑端显示隐藏
3194
- computerTwo: !1,
3195
- //电脑端显示隐藏
3196
- isPad: "",
3197
- isiPad: "",
3198
- mobileOne: !1,
3199
- //手机端显示隐藏
3200
- mobileTwo: !1,
3201
- //手机端显示隐藏
3202
- expandShow: !0,
3203
- setupTab: "",
3204
- //选中
3205
- comTab: "",
3206
- terminal_id: 0,
3207
- //传参端口号0-手机 1-TV 2-PC 3-PAD 4-H5
3208
- vc: 5e4,
3209
- //传参
3210
- gameList: [],
3211
- bitrateList: [],
3212
- clearList: [],
3213
- aspectList: [],
3214
- codeTab: "",
3215
- clearTab: "",
3216
- aspectTab: "",
3217
- wifiTab: 1,
3218
- honeyTab: 1,
3219
- head_url: "",
3220
- //头像
3221
- nickname: "",
3222
- //名称
3223
- duration: "",
3224
- //时长
3225
- points: "",
3226
- //积分
3227
- level: "",
3228
- //会员等级
3229
- durationflag: !1,
3230
- pointsflag: !1,
3231
- vip_centerflag: !1,
3232
- dialogVisible: !1,
3233
- screenImg: null,
3234
- state_show: !1,
3235
- user_id: "",
3236
- phone: "",
3237
- isHarmony: !1,
3238
- //是否为鸿蒙
3239
- isShowOperation: !1,
3240
- //是否展示操作说明
3241
- remainder: null
3242
- //剩余时间
3243
- };
3244
- },
3245
- created() {
3246
- if (this.clientWidth = document.documentElement.clientWidth, this.clientHeight = document.documentElement.clientHeight, this.left = this.clientWidth - this.itemWidth, this.top = this.clientHeight * this.coefficientHeight, he.set("ass_channel_code", this.channel_code), he.set("ass_access_token", this.access_token), !navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))
3247
- this.typesOf = 3;
3248
- else {
3249
- const t = navigator.userAgent.toLowerCase();
3250
- this.isPad = /ipad/i.test(t), this.isiPad = /iphone/i.test(t) && /os [6-9]_\d+ like mac os/i.test(t), this.isPad || this.isiPad ? this.typesOf = 2 : this.typesOf = 1;
3251
- }
3252
- this.isHarmonyOS() && (this.isHarmony = !0), console.log(this.game_cloud_service, "game_cloud_service"), Xn().then((t) => {
3253
- this.comTab = "", this.retract(), this.screenImg = t.ext.open_img_handle && t.ext.open_img_handle[0], this.screenImg && this.screenImg != "" && (this.isShowOperation = !0);
3254
- }), this.getUserId(), this.getconfig(), this.getBitrate(), this.getClear(), this.getAspect();
3255
- },
3256
- mounted() {
3257
- document.addEventListener("click", this.bodyCloseMenus), window.matchMedia("(orientation: landscape)").matches ? this.anyhow = 2 : this.anyhow = 1, this.$nextTick(() => {
3258
- window.addEventListener("resize", this.renderResize, !1), document.body.addEventListener(
3259
- "touchmove",
3260
- function(e) {
3261
- e.preventDefault();
3262
- },
3263
- { passive: !1 }
3264
- );
3265
- const t = this.$refs.div;
3266
- t.addEventListener("touchstart", (e) => {
3267
- if (e.stopPropagation(), e.targetTouches.length === 1) {
3268
- const r = e.targetTouches[0].clientX - this.left;
3269
- (r > 60 || r == 60) && e.preventDefault();
3270
- }
3271
- t.style.transition = "none";
3272
- }), t.addEventListener(
3273
- "touchmove",
3274
- (e) => {
3275
- if (e.stopPropagation(), e.preventDefault(), e.targetTouches.length === 1) {
3276
- let n = event.targetTouches[0];
3277
- this.left = n.clientX - this.itemWidth / 2, this.top = n.clientY - this.itemHeight / 2;
3278
- }
3279
- },
3280
- !1
3281
- ), t.addEventListener(
3282
- "touchend",
3283
- (e) => {
3284
- if (e.stopPropagation(), t.style.transition = "all 0.3s", this.clientWidth = document.documentElement.clientWidth, this.clientHeight = document.documentElement.clientHeight, this.left > this.clientWidth / 2 ? this.left = this.clientWidth - this.itemWidth : this.left = 0, this.top <= 36)
3285
- this.top = 36 + this.gapWidth;
3286
- else {
3287
- let n = this.clientHeight - 50 - this.itemHeight - this.gapWidth;
3288
- this.top >= n && (this.top = n);
3289
- }
3290
- },
3291
- !1
3292
- );
3293
- });
3294
- },
3295
- methods: {
3296
- isHarmonyOS() {
3297
- return (navigator.userAgent || navigator.vendor || window.opera).toLowerCase().includes("harmonyos");
3298
- },
3299
- // 埋点方法
3300
- logReport(t) {
3301
- let e = navigator.userAgent, n = e.indexOf("Android") > -1 || e.indexOf("Adr") > -1;
3302
- var r = "android";
3303
- n || (r = "ios");
3304
- let i = {
3305
- channel_code: this.channel_code,
3306
- //渠道号
3307
- into_type: t.into_type,
3308
- //事件类型,参考产品埋点文档
3309
- phone: this.phone,
3310
- //手机号
3311
- event_from_id: t.event_from_id,
3312
- //事件类型
3313
- into_type_id: t.into_type_id,
3314
- //事件类型
3315
- event_from: t.event_from,
3316
- //事件类型
3317
- user_id: this.user_id,
3318
- //userId
3319
- visit_id: Date.now(),
3320
- //自定义生成,保持唯一就行
3321
- version_code: "50000",
3322
- //版本号
3323
- login_state: this.access_token ? 1 : 0,
3324
- //登录状态
3325
- is_vip: sessionStorage.getItem("isVip"),
3326
- //是否会员
3327
- dev_code: 0,
3328
- //设备号uacode
3329
- mac_addr: ""
3330
- //Mac地址非必填
3331
- }, s = {
3332
- version: "50000",
3333
- //版本号
3334
- app_key: "8888107",
3335
- //app_key
3336
- from: "wap_cloud5g",
3337
- //来源
3338
- channel_code: this.channel_code,
3339
- //渠道号
3340
- req_time: Date.now(),
3341
- //事件请求时间戳
3342
- timestamp: Date.now(),
3343
- //事件发生时间戳
3344
- user_id: this.user_id,
3345
- ip: "",
3346
- //用户IP
3347
- screen_px: window.screen.width + "*" + window.screen.height,
3348
- //分辨率
3349
- osStr: r,
3350
- //操作系统
3351
- event_key: t.event_key,
3352
- //事件类型
3353
- event_value: JSON.stringify(i)
3354
- };
3355
- il(s);
3356
- },
3357
- // 获取个人信息
3358
- getUserId() {
3359
- let t = {
3360
- client_id: this.client_id,
3361
- access_token: this.access_token
3362
- // client_id: '8888107',
3363
- // access_token: '7c510e647deac338324abb5f0201f87a'
3364
- };
3365
- nl(t).then((e) => {
3366
- e.code == 0 && (this.user_id = e.ext[0].id, he.set("ass_user_id", this.user_id), this.phone = e.ext[0].phone, this.getinformation(), this.head_url = e.ext[0].head_url ? e.ext[0].head_url : "../assets/image/head.png", this.nickname = e.ext[0].nickname);
3367
- });
3368
- },
3369
- // 获取时长积分
3370
- getinformation() {
3371
- let t = {
3372
- user_id: this.user_id
3373
- // access_token:this.access_token,
3374
- };
3375
- rl(t).then((e) => {
3376
- e.code == 200 && (this.points = e.ext.points, this.level = e.ext.level, this.countdownTimer(e.ext.duration));
3377
- });
3378
- },
3379
- countdownTimer(t) {
3380
- if (t && t === 0) {
3381
- clearInterval(this.remainder);
3382
- return;
3383
- }
3384
- this.remainder || (this.duration = (t / 60 / 1e3).toFixed(0), this.remainder = setInterval(() => {
3385
- if (t -= 1e3, t <= 0)
3386
- this.duration = 0, clearInterval(this.remainder), this.remainder = 0;
3387
- else {
3388
- const e = (t / 60 / 1e3).toFixed(0);
3389
- e != this.duration && (this.duration = e), console.log(t, "remainingTime");
3390
- }
3391
- }, 1e3));
3392
- },
3393
- getconfig() {
3394
- ze({ name: "game_header_menus" }).then((t) => {
3395
- if (t.code == 200) {
3396
- let r = [];
3397
- for (var e = 0; e < t.ext.value.length; e++) {
3398
- let i = !0;
3399
- t.ext.value[e].link == "points" && (this.pointsflag = !0, i = !1), t.ext.value[e].link == "duration" && (this.durationflag = !0, i = !1), t.ext.value[e].link == "vip_center" && (this.vip_centerflag = !0, i = !1), t.ext.value[e].link == "game_quit" && (i = !1), i && r.push(t.ext.value[e]);
3400
- }
3401
- for (var n = 0; n < r.length; n++)
3402
- r[n].flag = !1, this.typesOf == 1 && this.anyhow == 1 && (n + 1) % 4 == 0 && (r[n].flag = !0), this.typesOf == 1 && this.anyhow == 2 || this.typesOf == 2 ? (n + 1) % 2 == 0 && (r[n].flag = !0) : (n + 1) % 4 == 0 && (r[n].flag = !0);
3403
- this.gameList = r;
3404
- }
3405
- });
3406
- },
3407
- // 获取清晰度
3408
- getClear() {
3409
- ze({ name: "new_resolution" }).then((t) => {
3410
- if (t.code == 200) {
3411
- this.clearList = t.ext.value;
3412
- var e = {};
3413
- localStorage.getItem("new_resolution") ? (this.clearTab = localStorage.getItem("new_resolution"), e = {
3414
- name: "new_resolution",
3415
- item_id: localStorage.getItem("new_resolution")
3416
- }, this.$emit("set_qualitys", e)) : (this.clearTab = t.ext.active_item, e = {
3417
- name: "new_resolution",
3418
- item_id: t.ext.active_item
3419
- }, this.$emit("set_qualitys", e));
3420
- }
3421
- });
3422
- },
3423
- // 获取清晰度
3424
- getBitrate() {
3425
- ze({ name: "new_bitrate" }).then((t) => {
3426
- if (t.code == 200) {
3427
- this.bitrateList = t.ext.value;
3428
- var e = {};
3429
- localStorage.getItem("new_bitrate") ? (this.codeTab = localStorage.getItem("new_bitrate"), e = {
3430
- name: "new_bitrate",
3431
- item_id: localStorage.getItem("new_bitrate")
3432
- }, this.$emit("set_qualitys", e)) : (this.codeTab = t.ext.active_item, e = {
3433
- name: "new_bitrate",
3434
- item_id: t.ext.active_item
3435
- }, this.$emit("set_qualitys", e));
3436
- }
3437
- });
3438
- },
3439
- // 获取画面比例
3440
- getAspect() {
3441
- ze({ name: "aspect_ratio" }).then((t) => {
3442
- if (t.code == 200) {
3443
- this.aspectList = t.ext.value;
3444
- var e = {};
3445
- localStorage.getItem("aspect_ratio") ? (this.aspectTab = localStorage.getItem("aspect_ratio"), e = {
3446
- name: "aspect_ratio",
3447
- item_id: localStorage.getItem("aspect_ratio")
3448
- }, this.$emit("set_qualitys", e)) : (this.aspectTab = t.ext.active_item, e = {
3449
- name: "aspect_ratio",
3450
- item_id: t.ext.active_item
3451
- }, this.$emit("set_qualitys", e));
3452
- }
3453
- });
3454
- },
3455
- bodyCloseMenus() {
3456
- this.mobileOne === !0 && (this.mobileOne = !1, this.mobileTwo = !1, this.setupTab = "", this.expandShow = !0, this.$emit("setting_show", 0), this.drag());
3457
- },
3458
- onBtnClicked() {
3459
- (this.typesOf == 1 || this.typesOf == 2) && (this.mobileOne = !0, this.expandShow = !1, this.$emit("setting_show", 1)), this.durationflag && this.getinformation();
3460
- },
3461
- // 电脑端点击显示
3462
- computerHeader(t) {
3463
- t.stopPropagation(), this.computerOne = !0, this.computerTop = !1;
3464
- },
3465
- closeDialog() {
3466
- this.dialogVisible = !1, this.drag();
3467
- },
3468
- computerSetup(t) {
3469
- if (t.link == "setting_center") {
3470
- let e = {
3471
- event_from: "6",
3472
- event_from_id: this.game_id,
3473
- event_key: "c_assistant",
3474
- into_type: "4",
3475
- into_type_id: ""
3476
- };
3477
- this.logReport(e), this.computerTwo = !this.computerTwo, this.dialogVisible = !1, this.computerTwo ? this.comTab = t.link : this.comTab = "";
3478
- } else if (t.link == "share") {
3479
- let e = {
3480
- event_from: "6",
3481
- event_from_id: this.game_id,
3482
- event_key: "c_assistant",
3483
- into_type: "5",
3484
- into_type_id: ""
3485
- };
3486
- this.logReport(e), navigator.share ? navigator.share({ url: window.location.href }) : alert("该浏览器暂不支持分享功能");
3487
- } else if (t.link == "state_monitor") {
3488
- let e = {
3489
- event_from: "6",
3490
- event_from_id: this.game_id,
3491
- event_key: "c_assistant",
3492
- into_type: "7",
3493
- into_type_id: ""
3494
- };
3495
- this.logReport(e);
3496
- let n = (this.state_show = !this.state_show) ? 1 : 0, r = {
3497
- event_from: "6",
3498
- event_from_id: this.game_id,
3499
- event_key: "e_assistant",
3500
- into_type: n == 1 ? 3 : 4,
3501
- into_type_id: ""
3502
- };
3503
- this.logReport(r), this.$emit("state_show", n);
3504
- } else if (t.link == "feedback") {
3505
- let e = {
3506
- event_from: "6",
3507
- event_from_id: this.game_id,
3508
- event_key: "c_assistant",
3509
- into_type: "8",
3510
- into_type_id: ""
3511
- };
3512
- this.logReport(e), window.open("https://act.play.cn/hd/t/feedback_test/?access_token=" + this.access_token + "&caf=" + this.channel_code, "_blank");
3513
- } else if (t.link == "instructions") {
3514
- let e = {
3515
- event_from: "6",
3516
- event_from_id: this.game_id,
3517
- event_key: "c_assistant",
3518
- into_type: "6",
3519
- into_type_id: ""
3520
- };
3521
- this.logReport(e), this.dialogVisible = !0;
3522
- }
3523
- },
3524
- // 电脑端收起
3525
- retract() {
3526
- this.computerOne = !1, this.computerTwo = !1, this.computerTop = !0;
3527
- },
3528
- mobileSetup(t) {
3529
- if (t.link == "setting_center") {
3530
- let e = {
3531
- event_from: "6",
3532
- event_from_id: this.game_id,
3533
- event_key: "c_assistant",
3534
- into_type: "4",
3535
- into_type_id: ""
3536
- };
3537
- this.logReport(e), this.mobileTwo = !this.mobileTwo, this.dialogVisible = !1, this.mobileTwo ? this.setupTab = t.link : this.setupTab = "";
3538
- } else if (t.link == "share") {
3539
- let e = {
3540
- event_from: "6",
3541
- event_from_id: this.game_id,
3542
- event_key: "c_assistant",
3543
- into_type: "5",
3544
- into_type_id: ""
3545
- };
3546
- this.logReport(e), navigator.share ? navigator.share({ url: window.location.href }) : alert("该浏览器暂不支持分享功能");
3547
- } else if (t.link == "state_monitor") {
3548
- let e = {
3549
- event_from: "6",
3550
- event_from_id: this.game_id,
3551
- event_key: "c_assistant",
3552
- into_type: "7",
3553
- into_type_id: ""
3554
- };
3555
- this.logReport(e);
3556
- let n = (this.state_show = !this.state_show) ? 1 : 0, r = {
3557
- event_from: "6",
3558
- event_from_id: this.game_id,
3559
- event_key: "e_assistant",
3560
- into_type: n == 1 ? 3 : 4,
3561
- into_type_id: ""
3562
- };
3563
- this.logReport(r), this.$emit("state_show", n);
3564
- } else if (t.link == "feedback") {
3565
- let e = {
3566
- event_from: "6",
3567
- event_from_id: this.game_id,
3568
- event_key: "c_assistant",
3569
- into_type: "8",
3570
- into_type_id: ""
3571
- };
3572
- this.logReport(e), window.open("https://act.play.cn/hd/t/feedback_test/?access_token=" + this.access_token + "&caf=" + this.channel_code, "_blank");
3573
- } else if (t.link == "instructions") {
3574
- let e = {
3575
- event_from: "6",
3576
- event_from_id: this.game_id,
3577
- event_key: "c_assistant",
3578
- into_type: "6",
3579
- into_type_id: ""
3580
- };
3581
- this.logReport(e), Xn().then((n) => {
3582
- this.dialogVisible = !0, this.mobileTwo = !1, this.setupTab = "", this.mobileOne = !1, this.expandShow = !0, this.screenImg = n.ext.open_img_handle && n.ext.open_img_handle[0];
3583
- });
3584
- }
3585
- },
3586
- // 时长
3587
- durationT() {
3588
- let t = {
3589
- event_from: "6",
3590
- event_from_id: this.game_id,
3591
- event_key: "c_assistant",
3592
- into_type: "3",
3593
- into_type_id: ""
3594
- };
3595
- this.logReport(t), this.client_id == "8888107" ? window.open("https://h5.play.cn/h5/home/setUp?link=duration", "_blank") : window.open("https://h5.play.cn/c/dmg/home/setUp?link=duration");
3596
- },
3597
- // 积分
3598
- pointsT() {
3599
- let t = {
3600
- event_from: "6",
3601
- event_from_id: this.game_id,
3602
- event_key: "c_assistant",
3603
- into_type: "8",
3604
- into_type_id: ""
3605
- };
3606
- this.logReport(t), this.client_id == "8888107" ? window.open("https://h5.play.cn/h5/home/setUp?link=points") : window.open("https://h5.play.cn/c/dmg/home/setUp?link=points");
3607
- },
3608
- // 头像
3609
- head_urlT() {
3610
- let t = {
3611
- event_from: "6",
3612
- event_from_id: this.game_id,
3613
- event_key: "c_assistant",
3614
- into_type: "1",
3615
- into_type_id: ""
3616
- };
3617
- this.logReport(t);
3618
- let e = localStorage.getItem("topRouterId");
3619
- this.client_id == "8888107" ? window.open("https://h5.play.cn/h5/home/personalCtr?topRouterId=" + e) : window.open("https://h5.play.cn/c/dmg/home/personalCtr?topRouterId=" + e);
3620
- },
3621
- // 退出
3622
- logout() {
3623
- let t = {
3624
- event_from: "6",
3625
- event_from_id: this.game_id,
3626
- event_key: "c_assistant",
3627
- into_type: "2",
3628
- into_type_id: ""
3629
- };
3630
- this.logReport(t), this.computerOne = !1, this.computerTwo = !1, this.computerTop = !0, this.mobileOne = !1, this.mobileTwo = !1, this.setupTab = "", this.expandShow = !0, this.dialogVisible = !1, this.$emit("set_exit"), this.$emit("setting_show", 0);
3631
- },
3632
- codeClear(t) {
3633
- let e = {
3634
- event_from: "6",
3635
- event_from_id: this.game_id,
3636
- event_key: "g_exchange_px",
3637
- into_type: "",
3638
- into_type_id: ""
3639
- };
3640
- this.logReport(e), this.clearTab = t.item_id;
3641
- var n = {
3642
- name: "new_resolution",
3643
- item_id: t.item_id
3644
- };
3645
- localStorage.setItem("new_resolution", t.item_id), this.$emit("set_qualitys", n);
3646
- },
3647
- codeRate(t) {
3648
- let e = {
3649
- event_from: "6",
3650
- event_from_id: this.game_id,
3651
- event_key: "fps",
3652
- into_type: "",
3653
- into_type_id: ""
3654
- };
3655
- this.logReport(e), this.codeTab = t.item_id;
3656
- var n = {
3657
- name: "new_bitrate",
3658
- item_id: t.item_id
3659
- };
3660
- localStorage.setItem("new_bitrate", t.item_id), this.$emit("set_qualitys", n);
3661
- },
3662
- codeAspect(t) {
3663
- this.aspectTab = t.item_id;
3664
- var e = {
3665
- name: "aspect_ratio",
3666
- item_id: t.item_id
3667
- };
3668
- localStorage.setItem("aspect_ratio", t.item_id), this.$emit("set_qualitys", e);
3669
- },
3670
- renderResize() {
3671
- window.matchMedia("(orientation: landscape)").matches ? (this.anyhow = 2, this.clientWidth = document.documentElement.clientWidth, this.clientHeight = document.documentElement.clientHeight, this.left = this.clientWidth - this.itemWidth, this.top = this.clientHeight * this.coefficientHeight) : (this.clientWidth = document.documentElement.clientWidth, this.clientHeight = document.documentElement.clientHeight, this.left = this.clientWidth - this.itemWidth, this.top = this.clientHeight * this.coefficientHeight, this.anyhow = 1);
3672
- for (var t = 0; t < this.gameList.length; t++)
3673
- this.gameList[t].flag = !1, this.typesOf == 1 && this.anyhow == 1 && (t + 1) % 4 == 0 && (this.gameList[t].flag = !0), this.typesOf == 1 && this.anyhow == 2 && (t + 1) % 2 == 0 && (this.gameList[t].flag = !0), this.typesOf == 2 && (t + 1) % 2 == 0 && (this.gameList[t].flag = !0);
3674
- },
3675
- // 拖动效果
3676
- drag() {
3677
- this.$nextTick(() => {
3678
- document.body.addEventListener(
3679
- "touchmove",
3680
- function(e) {
3681
- e.preventDefault();
3682
- },
3683
- {
3684
- passive: !1
3685
- }
3686
- );
3687
- const t = this.$refs.div;
3688
- t.addEventListener("touchstart", (e) => {
3689
- if (e.stopPropagation(), e.targetTouches.length === 1) {
3690
- const r = e.targetTouches[0].clientX - this.left;
3691
- (r > 60 || r == 60) && e.preventDefault();
3692
- }
3693
- t.style.transition = "none";
3694
- }), t.addEventListener(
3695
- "touchmove",
3696
- (e) => {
3697
- if (e.stopPropagation(), e.preventDefault(), e.targetTouches.length === 1) {
3698
- let n = event.targetTouches[0];
3699
- this.left = n.clientX - this.itemWidth / 2, this.top = n.clientY - this.itemHeight / 2;
3700
- }
3701
- },
3702
- !1
3703
- ), t.addEventListener(
3704
- "touchend",
3705
- (e) => {
3706
- if (e.stopPropagation(), t.style.transition = "all 0.3s", this.left > this.clientWidth / 2 ? this.left = this.clientWidth - this.itemWidth : this.left = 0, this.top <= 36)
3707
- this.top = 36 + this.gapWidth;
3708
- else {
3709
- let n = this.clientHeight - 50 - this.itemHeight - this.gapWidth;
3710
- this.top >= n && (this.top = n);
3711
- }
3712
- },
3713
- !1
3714
- );
3715
- });
3716
- },
3717
- tabacTive(t) {
3718
- this.contentTab = t;
3719
- }
3720
- }
3721
- }, cl = ["src"], ul = { key: 1 }, fl = {
3722
- key: 0,
3723
- class: "setup"
3724
- }, dl = {
3725
- key: 0,
3726
- class: "content"
3727
- }, pl = { class: "content_top" }, hl = {
3728
- key: 0,
3729
- class: "content_m"
3730
- }, yl = { class: "content_m_n" }, ml = ["onClick"], gl = {
3731
- key: 0,
3732
- class: "content_sxy"
3733
- }, _l = {
3734
- key: 0,
3735
- class: "zxhy"
3736
- }, vl = { class: "content_m_n" }, wl = ["onClick"], bl = {
3737
- key: 0,
3738
- class: "content_sxy"
3739
- }, Al = {
3740
- key: 0,
3741
- class: "zxhy"
3742
- }, Sl = { class: "content_m_n" }, El = ["onClick"], Tl = {
3743
- key: 0,
3744
- class: "content_sxy"
3745
- }, xl = {
3746
- key: 0,
3747
- class: "zxhy"
3748
- }, Rl = { class: "setup_con" }, Ol = ["onClick"], kl = ["src"], Cl = { class: "setup_text" }, Il = { class: "info" }, Pl = { class: "info_left" }, Bl = ["src"], Dl = {
3749
- key: 1,
3750
- src: ct,
3751
- class: "member",
3752
- alt: ""
3753
- }, Fl = { class: "info_left_cont" }, Nl = { class: "info_left_cont1" }, Ul = { class: "info_left_cont2" }, Ll = { class: "info_left_cont2_text" }, Ml = { class: "info_left_cont2_text" }, Hl = { key: 1 }, zl = { class: "horiz" }, ql = {
3754
- class: "horiz_cont",
3755
- style: { width: "250px" }
3756
- }, Wl = { class: "horiz_cont_info" }, Ql = { class: "info_left" }, Jl = ["src"], jl = {
3757
- key: 1,
3758
- src: ct,
3759
- class: "member",
3760
- alt: ""
3761
- }, Gl = { class: "info_left_cont" }, Vl = { class: "info_left_cont1" }, Kl = { class: "info_left_cont2" }, Yl = { class: "info_left_cont2_text" }, Xl = { class: "info_left_cont2_text" }, Zl = {
3762
- class: "horiz_setup_con",
3763
- style: { "padding-top": "23px" }
3764
- }, $l = ["onClick"], ec = ["src"], tc = { class: "setup_text" }, nc = {
3765
- key: 0,
3766
- class: "horiz_set"
3767
- }, rc = { class: "content_top" }, ic = {
3768
- key: 0,
3769
- class: "horiz_m"
3770
- }, oc = { class: "content_m_n" }, sc = ["onClick"], ac = {
3771
- key: 0,
3772
- class: "content_sxy"
3773
- }, lc = {
3774
- key: 0,
3775
- class: "zxhy"
3776
- }, cc = { class: "content_m_n" }, uc = ["onClick"], fc = {
3777
- key: 0,
3778
- class: "content_sxy"
3779
- }, dc = {
3780
- key: 0,
3781
- class: "zxhy"
3782
- }, pc = { class: "content_m_n" }, hc = ["onClick"], yc = {
3783
- key: 0,
3784
- class: "content_sxy"
3785
- }, mc = {
3786
- key: 0,
3787
- class: "zxhy"
3788
- }, gc = { key: 2 }, _c = { class: "horiz" }, vc = {
3789
- key: 0,
3790
- class: "ipad_cont"
3791
- }, wc = { class: "horiz_cont_info" }, bc = { class: "info_left" }, Ac = ["src"], Sc = {
3792
- key: 1,
3793
- src: ct,
3794
- class: "member",
3795
- style: { left: "30px", width: "35px" },
3796
- alt: ""
3797
- }, Ec = { class: "info_left_cont" }, Tc = {
3798
- class: "info_left_cont1",
3799
- style: { "font-size": "22px" }
3800
- }, xc = { class: "info_left_cont2" }, Rc = {
3801
- class: "info_left_cont2_text",
3802
- style: { "font-size": "18px" }
3803
- }, Oc = {
3804
- class: "info_left_cont2_text",
3805
- style: { "font-size": "18px" }
3806
- }, kc = {
3807
- class: "horiz_setup_con",
3808
- style: { "padding-top": "23px" }
3809
- }, Cc = ["onClick"], Ic = ["src"], Pc = { class: "setup_text" }, Bc = {
3810
- key: 1,
3811
- class: "horiz_set"
3812
- }, Dc = { class: "content_top" }, Fc = {
3813
- key: 0,
3814
- class: "horiz_m",
3815
- style: { "margin-top": "56px", "margin-left": "24px" }
3816
- }, Nc = {
3817
- class: "content_m_n",
3818
- style: { "margin-top": "20px" }
3819
- }, Uc = ["onClick"], Lc = {
3820
- key: 0,
3821
- class: "content_sxy"
3822
- }, Mc = {
3823
- key: 0,
3824
- class: "zxhy"
3825
- }, Hc = {
3826
- class: "content_m_n",
3827
- style: { "margin-top": "20px" }
3828
- }, zc = ["onClick"], qc = {
3829
- key: 0,
3830
- class: "content_sxy"
3831
- }, Wc = {
3832
- key: 0,
3833
- class: "zxhy"
3834
- }, Qc = {
3835
- class: "content_m_n",
3836
- style: { "margin-top": "20px" }
3837
- }, Jc = ["onClick"], jc = {
3838
- key: 0,
3839
- class: "content_sxy"
3840
- }, Gc = {
3841
- key: 0,
3842
- class: "zxhy"
3843
- }, Vc = ["src"], Kc = {
3844
- key: 1,
3845
- class: "computer_content"
3846
- }, Yc = { class: "computer_c_header" }, Xc = ["src"], Zc = {
3847
- key: 1,
3848
- class: "computer_c_two",
3849
- src: ct,
3850
- alt: ""
3851
- }, $c = { class: "computer_c_time" }, eu = { class: "computer_c_time" }, tu = { class: "computer_c_data" }, nu = ["onMousedown"], ru = ["src"], iu = { class: "computer_c_item_text" }, ou = { class: "content_top" }, su = {
3852
- key: 0,
3853
- class: "horiz_m"
3854
- }, au = { class: "content_m_n" }, lu = ["onClick"], cu = {
3855
- key: 0,
3856
- class: "content_sxy"
3857
- }, uu = {
3858
- key: 0,
3859
- class: "zxhy"
3860
- }, fu = { class: "content_m_n" }, du = ["onClick"], pu = {
3861
- key: 0,
3862
- class: "content_sxy"
3863
- }, hu = {
3864
- key: 0,
3865
- class: "zxhy"
3866
- }, yu = { class: "content_m_n" }, mu = ["onClick"], gu = {
3867
- key: 0,
3868
- class: "content_sxy"
3869
- }, _u = {
3870
- key: 0,
3871
- class: "zxhy"
3872
- }, vu = { class: "mask" }, wu = { class: "mask_img" }, bu = ["src"];
3873
- function Au(t, e, n, r, i, s) {
3874
- return p(), h("div", null, [
3875
- c("div", {
3876
- onClick: e[25] || (e[25] = W(() => {
3877
- }, ["stop"]))
3878
- }, [
3879
- i.typesOf != 3 && i.expandShow ? (p(), h("div", {
3880
- key: 0,
3881
- class: "ys-float-btn",
3882
- style: Fe({
3883
- width: i.itemWidth + "px",
3884
- height: i.itemHeight + "px",
3885
- left: i.left + "px",
3886
- top: i.top + "px"
3887
- }),
3888
- ref: "div",
3889
- onClick: e[0] || (e[0] = (...o) => s.onBtnClicked && s.onBtnClicked(...o))
3890
- }, [
3891
- c("img", {
3892
- src: i.head_url,
3893
- alt: "",
3894
- style: { width: "100%", height: "100%", "border-radius": "100px" }
3895
- }, null, 8, cl)
3896
- ], 4)) : v("", !0),
3897
- i.typesOf == 1 ? (p(), h("div", ul, [
3898
- i.anyhow == 1 && i.mobileOne ? (p(), h("div", fl, [
3899
- i.mobileTwo ? (p(), h("div", dl, [
3900
- c("div", pl, [
3901
- c("div", {
3902
- onClick: e[1] || (e[1] = (o) => s.tabacTive(1)),
3903
- class: S(["content_tab", [i.contentTab == 1 ? "tabactive" : ""]])
3904
- }, "画质", 2)
3905
- ]),
3906
- i.contentTab == 1 ? (p(), h("div", hl, [
3907
- e[27] || (e[27] = c("div", { class: "content_mtitle" }, [
3908
- c("div", { class: "content_mtitle1" }, "分辨率"),
3909
- c("div", { class: "content_mtitle2" }, "(游戏内设置,下次启动游戏生效)")
3910
- ], -1)),
3911
- c("div", yl, [
3912
- (p(!0), h(I, null, N(i.clearList, (o, a) => (p(), h("div", {
3913
- class: S(["content_m_item", [i.clearTab == o.item_id ? "content_iactive" : ""]]),
3914
- key: a,
3915
- onClick: (l) => s.codeClear(o)
3916
- }, [
3917
- c("div", {
3918
- class: S(["content_m_y", [i.clearTab == o.item_id ? "content_yactive" : ""]])
3919
- }, [
3920
- i.clearTab == o.item_id ? (p(), h("div", gl)) : v("", !0)
3921
- ], 2),
3922
- c("div", {
3923
- class: S(["content_m_w", [i.clearTab == o.item_id ? "content_wactive" : ""]])
3924
- }, T(o.resolution_name), 3),
3925
- o.condition_name ? (p(), h("div", _l, T(o.condition_name), 1)) : v("", !0)
3926
- ], 10, ml))), 128))
3927
- ]),
3928
- e[28] || (e[28] = c("div", { class: "content_mtitle" }, [
3929
- c("div", { class: "content_mtitle1" }, "清晰度"),
3930
- c("div", { class: "content_mtitle2" }, "(游戏内设置,立即生效)")
3931
- ], -1)),
3932
- c("div", vl, [
3933
- (p(!0), h(I, null, N(i.bitrateList, (o, a) => (p(), h("div", {
3934
- class: S(["content_m_item", [i.codeTab == o.item_id ? "content_iactive" : ""]]),
3935
- key: a,
3936
- onClick: (l) => s.codeRate(o)
3937
- }, [
3938
- c("div", {
3939
- class: S(["content_m_y", [i.codeTab == o.item_id ? "content_yactive" : ""]])
3940
- }, [
3941
- i.codeTab == o.item_id ? (p(), h("div", bl)) : v("", !0)
3942
- ], 2),
3943
- c("div", {
3944
- class: S(["content_m_w", [i.codeTab == o.item_id ? "content_wactive" : ""]])
3945
- }, T(o.item_name), 3),
3946
- o.condition_name ? (p(), h("div", Al, T(o.condition_name), 1)) : v("", !0)
3947
- ], 10, wl))), 128))
3948
- ]),
3949
- e[29] || (e[29] = c("div", { class: "content_mtitle" }, [
3950
- c("div", { class: "content_mtitle1" }, "画面比例")
3951
- ], -1)),
3952
- c("div", Sl, [
3953
- (p(!0), h(I, null, N(i.aspectList, (o, a) => (p(), h("div", {
3954
- class: S(["content_m_item", [i.aspectTab == o.item_id ? "content_iactive" : ""]]),
3955
- key: a,
3956
- onClick: (l) => s.codeAspect(o)
3957
- }, [
3958
- c("div", {
3959
- class: S(["content_m_y", [i.aspectTab == o.item_id ? "content_yactive" : ""]])
3960
- }, [
3961
- i.aspectTab == o.item_id ? (p(), h("div", Tl)) : v("", !0)
3962
- ], 2),
3963
- c("div", {
3964
- class: S(["content_m_w", [i.aspectTab == o.item_id ? "content_wactive" : ""]])
3965
- }, T(o.item_name), 3),
3966
- o.condition_name ? (p(), h("div", xl, T(o.condition_name), 1)) : v("", !0)
3967
- ], 10, El))), 128))
3968
- ])
3969
- ])) : v("", !0)
3970
- ])) : v("", !0),
3971
- c("div", Rl, [
3972
- (p(!0), h(I, null, N(i.gameList, (o, a) => (p(), h(I, { key: a }, [
3973
- (n.game_cloud_service == 3 ? o.link === "feedback" || o.link === "game_quit" : !(i.isHarmony && o.link === "share") && !(o.link === "instructions" && !i.isShowOperation)) ? (p(), h("div", {
3974
- key: 0,
3975
- class: S(["setup_item", [i.setupTab == o.link ? "setupactive" : ""]]),
3976
- style: Fe({ "margin-right": o.flag ? "0px" : "1%" }),
3977
- onClick: (l) => s.mobileSetup(o)
3978
- }, [
3979
- c("img", {
3980
- src: o.icon,
3981
- alt: ""
3982
- }, null, 8, kl),
3983
- c("div", Cl, T(o.title), 1)
3984
- ], 14, Ol)) : v("", !0)
3985
- ], 64))), 128))
3986
- ]),
3987
- c("div", Il, [
3988
- c("div", Pl, [
3989
- i.vip_centerflag ? (p(), h("img", {
3990
- key: 0,
3991
- class: "info_left_img",
3992
- onClick: e[2] || (e[2] = (...o) => s.head_urlT && s.head_urlT(...o)),
3993
- src: i.head_url,
3994
- alt: ""
3995
- }, null, 8, Bl)) : v("", !0),
3996
- i.level == 2 ? (p(), h("img", Dl)) : v("", !0),
3997
- c("div", Fl, [
3998
- c("div", Nl, T(i.nickname), 1),
3999
- c("div", Ul, [
4000
- i.durationflag ? (p(), h("div", {
4001
- key: 0,
4002
- class: "info_left_cont2_1",
4003
- onClick: e[3] || (e[3] = (...o) => s.durationT && s.durationT(...o))
4004
- }, [
4005
- e[30] || (e[30] = c("img", {
4006
- src: qe,
4007
- alt: ""
4008
- }, null, -1)),
4009
- c("div", Ll, T(i.duration ? i.duration : "0") + "分钟", 1)
4010
- ])) : v("", !0),
4011
- i.pointsflag ? (p(), h("div", {
4012
- key: 1,
4013
- class: "info_left_cont2_1",
4014
- style: { "margin-left": "10px" },
4015
- onClick: e[4] || (e[4] = (...o) => s.pointsT && s.pointsT(...o))
4016
- }, [
4017
- e[31] || (e[31] = c("img", {
4018
- src: We,
4019
- alt: ""
4020
- }, null, -1)),
4021
- c("div", Ml, T(i.points), 1)
4022
- ])) : v("", !0)
4023
- ])
4024
- ])
4025
- ]),
4026
- c("div", {
4027
- class: "info_right",
4028
- onClick: e[5] || (e[5] = (...o) => s.logout && s.logout(...o))
4029
- }, e[32] || (e[32] = [
4030
- c("img", {
4031
- src: Qe,
4032
- alt: ""
4033
- }, null, -1),
4034
- c("div", { class: "info_right_exit" }, "退出", -1)
4035
- ]))
4036
- ])
4037
- ])) : v("", !0),
4038
- i.anyhow == 2 && i.mobileOne ? (p(), h("div", Hl, [
4039
- c("div", zl, [
4040
- c("div", ql, [
4041
- c("div", Wl, [
4042
- c("div", Ql, [
4043
- i.vip_centerflag ? (p(), h("img", {
4044
- key: 0,
4045
- class: "info_left_img",
4046
- src: i.head_url,
4047
- onClick: e[6] || (e[6] = (...o) => s.head_urlT && s.head_urlT(...o)),
4048
- alt: ""
4049
- }, null, 8, Jl)) : v("", !0),
4050
- i.level == 2 ? (p(), h("img", jl)) : v("", !0),
4051
- c("div", Gl, [
4052
- c("div", Vl, T(i.nickname), 1),
4053
- c("div", Kl, [
4054
- i.durationflag ? (p(), h("div", {
4055
- key: 0,
4056
- class: "info_left_cont2_1",
4057
- onClick: e[7] || (e[7] = (...o) => s.durationT && s.durationT(...o))
4058
- }, [
4059
- e[33] || (e[33] = c("img", {
4060
- src: qe,
4061
- alt: ""
4062
- }, null, -1)),
4063
- c("div", Yl, T(i.duration ? i.duration : "0") + "分钟", 1)
4064
- ])) : v("", !0),
4065
- i.pointsflag ? (p(), h("div", {
4066
- key: 1,
4067
- class: "info_left_cont2_1",
4068
- style: { "margin-left": "10px" },
4069
- onClick: e[8] || (e[8] = (...o) => s.pointsT && s.pointsT(...o))
4070
- }, [
4071
- e[34] || (e[34] = c("img", {
4072
- src: We,
4073
- alt: ""
4074
- }, null, -1)),
4075
- c("div", Xl, T(i.points), 1)
4076
- ])) : v("", !0)
4077
- ])
4078
- ])
4079
- ]),
4080
- c("div", {
4081
- class: "info_right",
4082
- onClick: e[9] || (e[9] = (...o) => s.logout && s.logout(...o))
4083
- }, e[35] || (e[35] = [
4084
- c("img", {
4085
- src: Qe,
4086
- alt: ""
4087
- }, null, -1),
4088
- c("div", { class: "info_right_exit" }, "退出", -1)
4089
- ]))
4090
- ]),
4091
- c("div", null, [
4092
- c("div", Zl, [
4093
- (p(!0), h(I, null, N(i.gameList, (o, a) => (p(), h(I, { key: a }, [
4094
- (n.game_cloud_service == 3 ? o.link === "feedback" || o.link === "game_quit" : !(i.isHarmony && o.link === "share") && !(o.link === "instructions" && !i.isShowOperation)) ? (p(), h("div", {
4095
- key: 0,
4096
- class: S(["horiz_item", [i.setupTab == o.link ? "setupactive" : ""]]),
4097
- onClick: (l) => s.mobileSetup(o),
4098
- style: Fe({ "margin-right": o.flag ? "0px" : "15px" })
4099
- }, [
4100
- c("img", {
4101
- src: o.icon,
4102
- alt: ""
4103
- }, null, 8, ec),
4104
- c("div", tc, T(o.title), 1)
4105
- ], 14, $l)) : v("", !0)
4106
- ], 64))), 128))
4107
- ])
4108
- ])
4109
- ]),
4110
- i.mobileTwo ? (p(), h("div", nc, [
4111
- c("div", rc, [
4112
- c("div", {
4113
- onClick: e[10] || (e[10] = (o) => s.tabacTive(1)),
4114
- class: S(["content_tab", [i.contentTab == 1 ? "tabactive" : ""]])
4115
- }, "画质", 2)
4116
- ]),
4117
- i.contentTab == 1 ? (p(), h("div", ic, [
4118
- e[36] || (e[36] = c("div", { class: "content_mtitle" }, [
4119
- c("div", { class: "content_mtitle1" }, "分辨率"),
4120
- c("div", { class: "content_mtitle2" }, "(游戏内设置,下次启动游戏生效)")
4121
- ], -1)),
4122
- c("div", oc, [
4123
- (p(!0), h(I, null, N(i.clearList, (o, a) => (p(), h("div", {
4124
- class: S(["content_m_item", [i.clearTab == o.item_id ? "content_iactive" : ""]]),
4125
- key: a,
4126
- onClick: (l) => s.codeClear(o)
4127
- }, [
4128
- c("div", {
4129
- class: S(["content_m_y", [i.clearTab == o.item_id ? "content_yactive" : ""]])
4130
- }, [
4131
- i.clearTab == o.item_id ? (p(), h("div", ac)) : v("", !0)
4132
- ], 2),
4133
- c("div", {
4134
- class: S(["content_m_w", [i.clearTab == o.item_id ? "content_wactive" : ""]])
4135
- }, T(o.resolution_name), 3),
4136
- o.condition_name ? (p(), h("div", lc, T(o.condition_name), 1)) : v("", !0)
4137
- ], 10, sc))), 128))
4138
- ]),
4139
- e[37] || (e[37] = c("div", { class: "content_mtitle" }, [
4140
- c("div", { class: "content_mtitle1" }, "清晰度"),
4141
- c("div", { class: "content_mtitle2" }, "(游戏内设置,立即生效)")
4142
- ], -1)),
4143
- c("div", cc, [
4144
- (p(!0), h(I, null, N(i.bitrateList, (o, a) => (p(), h("div", {
4145
- class: S(["content_m_item", [i.codeTab == o.item_id ? "content_iactive" : ""]]),
4146
- key: a,
4147
- onClick: (l) => s.codeRate(o)
4148
- }, [
4149
- c("div", {
4150
- class: S(["content_m_y", [i.codeTab == o.item_id ? "content_yactive" : ""]])
4151
- }, [
4152
- i.codeTab == o.item_id ? (p(), h("div", fc)) : v("", !0)
4153
- ], 2),
4154
- c("div", {
4155
- class: S(["content_m_w", [i.codeTab == o.item_id ? "content_wactive" : ""]])
4156
- }, T(o.item_name), 3),
4157
- o.condition_name ? (p(), h("div", dc, T(o.condition_name), 1)) : v("", !0)
4158
- ], 10, uc))), 128))
4159
- ]),
4160
- e[38] || (e[38] = c("div", { class: "content_mtitle" }, [
4161
- c("div", { class: "content_mtitle1" }, "画面比例")
4162
- ], -1)),
4163
- c("div", pc, [
4164
- (p(!0), h(I, null, N(i.aspectList, (o, a) => (p(), h("div", {
4165
- class: S(["content_m_item", [i.aspectTab == o.item_id ? "content_iactive" : ""]]),
4166
- key: a,
4167
- onClick: (l) => s.codeAspect(o)
4168
- }, [
4169
- c("div", {
4170
- class: S(["content_m_y", [i.aspectTab == o.item_id ? "content_yactive" : ""]])
4171
- }, [
4172
- i.aspectTab == o.item_id ? (p(), h("div", yc)) : v("", !0)
4173
- ], 2),
4174
- c("div", {
4175
- class: S(["content_m_w", [i.aspectTab == o.item_id ? "content_wactive" : ""]])
4176
- }, T(o.item_name), 3),
4177
- o.condition_name ? (p(), h("div", mc, T(o.condition_name), 1)) : v("", !0)
4178
- ], 10, hc))), 128))
4179
- ])
4180
- ])) : v("", !0)
4181
- ])) : v("", !0)
4182
- ])
4183
- ])) : v("", !0)
4184
- ])) : v("", !0),
4185
- i.typesOf == 2 ? (p(), h("div", gc, [
4186
- c("div", _c, [
4187
- i.mobileOne ? (p(), h("div", vc, [
4188
- c("div", wc, [
4189
- c("div", bc, [
4190
- i.vip_centerflag ? (p(), h("img", {
4191
- key: 0,
4192
- style: { width: "65px", height: "65px" },
4193
- class: "info_left_img",
4194
- onClick: e[11] || (e[11] = (...o) => s.head_urlT && s.head_urlT(...o)),
4195
- src: i.head_url,
4196
- alt: ""
4197
- }, null, 8, Ac)) : v("", !0),
4198
- i.level == 2 ? (p(), h("img", Sc)) : v("", !0),
4199
- c("div", Ec, [
4200
- c("div", Tc, T(i.nickname), 1),
4201
- c("div", xc, [
4202
- i.durationflag ? (p(), h("div", {
4203
- key: 0,
4204
- class: "info_left_cont2_1",
4205
- onClick: e[12] || (e[12] = (...o) => s.durationT && s.durationT(...o))
4206
- }, [
4207
- e[39] || (e[39] = c("img", {
4208
- src: qe,
4209
- style: { width: "16px", height: "16px" },
4210
- alt: ""
4211
- }, null, -1)),
4212
- c("div", Rc, T(i.duration ? i.duration : "0") + "分钟", 1)
4213
- ])) : v("", !0),
4214
- i.pointsflag ? (p(), h("div", {
4215
- key: 1,
4216
- class: "info_left_cont2_1",
4217
- style: { "margin-left": "10px" },
4218
- onClick: e[13] || (e[13] = (...o) => s.pointsT && s.pointsT(...o))
4219
- }, [
4220
- e[40] || (e[40] = c("img", {
4221
- src: We,
4222
- style: { width: "16px", height: "16px" },
4223
- alt: ""
4224
- }, null, -1)),
4225
- c("div", Oc, T(i.points), 1)
4226
- ])) : v("", !0)
4227
- ])
4228
- ])
4229
- ]),
4230
- c("div", {
4231
- class: "info_right",
4232
- onClick: e[14] || (e[14] = (...o) => s.logout && s.logout(...o))
4233
- }, e[41] || (e[41] = [
4234
- c("img", {
4235
- src: Qe,
4236
- style: { width: "22px", height: "22px" },
4237
- alt: ""
4238
- }, null, -1),
4239
- c("div", {
4240
- class: "info_right_exit",
4241
- style: { "font-size": "22px" }
4242
- }, "退出", -1)
4243
- ]))
4244
- ]),
4245
- c("div", null, [
4246
- c("div", kc, [
4247
- (p(!0), h(I, null, N(i.gameList, (o, a) => (p(), h(I, { key: a }, [
4248
- (n.game_cloud_service == 3 ? o.link === "feedback" || o.link === "game_quit" : !(i.isHarmony && o.link === "share") && !(o.link === "instructions" && !i.isShowOperation)) ? (p(), h("div", {
4249
- key: 0,
4250
- class: S(["ipad_item", [i.setupTab == o.link ? "setupactive" : ""]]),
4251
- style: Fe({ "margin-right": o.flag ? "0px" : "9%" }),
4252
- onClick: (l) => s.mobileSetup(o)
4253
- }, [
4254
- c("img", {
4255
- src: o.icon,
4256
- alt: ""
4257
- }, null, 8, Ic),
4258
- c("div", Pc, T(o.title), 1)
4259
- ], 14, Cc)) : v("", !0)
4260
- ], 64))), 128))
4261
- ])
4262
- ])
4263
- ])) : v("", !0),
4264
- i.mobileTwo ? (p(), h("div", Bc, [
4265
- c("div", Dc, [
4266
- c("div", {
4267
- onClick: e[15] || (e[15] = (o) => s.tabacTive(1)),
4268
- class: S(["content_tab", [i.contentTab == 1 ? "tabactive" : ""]])
4269
- }, "画质", 2)
4270
- ]),
4271
- i.contentTab == 1 ? (p(), h("div", Fc, [
4272
- e[42] || (e[42] = c("div", { class: "content_mtitle" }, [
4273
- c("div", { class: "content_mtitle1" }, "分辨率"),
4274
- c("div", { class: "content_mtitle2" }, "(游戏内设置,下次启动游戏生效)")
4275
- ], -1)),
4276
- c("div", Nc, [
4277
- (p(!0), h(I, null, N(i.clearList, (o, a) => (p(), h("div", {
4278
- class: S(["content_m_item", [i.clearTab == o.item_id ? "content_iactive" : ""]]),
4279
- key: a,
4280
- onClick: (l) => s.codeClear(o),
4281
- style: { width: "116px", height: "48px" }
4282
- }, [
4283
- c("div", {
4284
- class: S(["content_m_y", [i.clearTab == o.item_id ? "content_yactive" : ""]]),
4285
- style: { "margin-left": "17px" }
4286
- }, [
4287
- i.clearTab == o.item_id ? (p(), h("div", Lc)) : v("", !0)
4288
- ], 2),
4289
- c("div", {
4290
- class: S(["content_m_w", [i.clearTab == o.item_id ? "content_wactive" : ""]]),
4291
- style: { "font-size": "22px" }
4292
- }, T(o.resolution_name), 3),
4293
- o.condition_name ? (p(), h("div", Mc, T(o.condition_name), 1)) : v("", !0)
4294
- ], 10, Uc))), 128))
4295
- ]),
4296
- e[43] || (e[43] = c("div", {
4297
- class: "content_mtitle",
4298
- style: { "margin-top": "100px" }
4299
- }, [
4300
- c("div", { class: "content_mtitle1" }, "清晰度"),
4301
- c("div", { class: "content_mtitle2" }, "(游戏内设置,立即生效)")
4302
- ], -1)),
4303
- c("div", Hc, [
4304
- (p(!0), h(I, null, N(i.bitrateList, (o, a) => (p(), h("div", {
4305
- class: S(["content_m_item", [i.codeTab == o.item_id ? "content_iactive" : ""]]),
4306
- style: { width: "116px", height: "48px" },
4307
- key: a,
4308
- onClick: (l) => s.codeRate(o)
4309
- }, [
4310
- c("div", {
4311
- class: S(["content_m_y", [i.codeTab == o.item_id ? "content_yactive" : ""]]),
4312
- style: { "margin-left": "17px" }
4313
- }, [
4314
- i.codeTab == o.item_id ? (p(), h("div", qc)) : v("", !0)
4315
- ], 2),
4316
- c("div", {
4317
- class: S(["content_m_w", [i.codeTab == o.item_id ? "content_wactive" : ""]]),
4318
- style: { "font-size": "22px" }
4319
- }, T(o.item_name), 3),
4320
- o.condition_name ? (p(), h("div", Wc, T(o.condition_name), 1)) : v("", !0)
4321
- ], 10, zc))), 128))
4322
- ]),
4323
- e[44] || (e[44] = c("div", {
4324
- class: "content_mtitle",
4325
- style: { "margin-top": "100px" }
4326
- }, [
4327
- c("div", { class: "content_mtitle1" }, "画面比例")
4328
- ], -1)),
4329
- c("div", Qc, [
4330
- (p(!0), h(I, null, N(i.aspectList, (o, a) => (p(), h("div", {
4331
- class: S(["content_m_item", [i.aspectTab == o.item_id ? "content_iactive" : ""]]),
4332
- key: a,
4333
- style: { width: "116px", height: "48px" },
4334
- onClick: (l) => s.codeAspect(o)
4335
- }, [
4336
- c("div", {
4337
- class: S(["content_m_y", [i.aspectTab == o.item_id ? "content_yactive" : ""]]),
4338
- style: { "margin-left": "17px" }
4339
- }, [
4340
- i.aspectTab == o.item_id ? (p(), h("div", jc)) : v("", !0)
4341
- ], 2),
4342
- c("div", {
4343
- class: S(["content_m_w", [i.aspectTab == o.item_id ? "content_wactive" : ""]]),
4344
- style: { "font-size": "22px" }
4345
- }, T(o.item_name), 3),
4346
- o.condition_name ? (p(), h("div", Gc, T(o.condition_name), 1)) : v("", !0)
4347
- ], 10, Jc))), 128))
4348
- ])
4349
- ])) : v("", !0)
4350
- ])) : v("", !0)
4351
- ])
4352
- ])) : v("", !0),
4353
- i.typesOf == 3 ? (p(), h("div", {
4354
- key: 3,
4355
- class: "computer_header",
4356
- onMousedown: e[22] || (e[22] = W(() => {
4357
- }, ["stop"]))
4358
- }, [
4359
- i.computerTop ? (p(), h("div", {
4360
- key: 0,
4361
- class: "header_one",
4362
- onMousedown: e[16] || (e[16] = W((o) => s.computerHeader(o), ["stop"]))
4363
- }, [
4364
- e[45] || (e[45] = c("img", {
4365
- class: "img_one",
4366
- src: ol,
4367
- alt: ""
4368
- }, null, -1)),
4369
- c("img", {
4370
- class: "img_two",
4371
- src: i.head_url,
4372
- alt: ""
4373
- }, null, 8, Vc)
4374
- ], 32)) : v("", !0),
4375
- i.computerOne ? (p(), h("div", Kc, [
4376
- c("div", Yc, [
4377
- i.vip_centerflag ? (p(), h("img", {
4378
- key: 0,
4379
- class: "computer_c_one",
4380
- src: i.head_url,
4381
- alt: "",
4382
- onMousedown: e[17] || (e[17] = W((...o) => s.head_urlT && s.head_urlT(...o), ["stop"]))
4383
- }, null, 40, Xc)) : v("", !0),
4384
- i.level == 2 ? (p(), h("img", Zc)) : v("", !0)
4385
- ]),
4386
- i.durationflag ? (p(), h("div", {
4387
- key: 0,
4388
- class: "computer_c_Vector",
4389
- onMousedown: e[18] || (e[18] = W((...o) => s.durationT && s.durationT(...o), ["stop"]))
4390
- }, [
4391
- e[46] || (e[46] = c("img", {
4392
- src: qe,
4393
- alt: ""
4394
- }, null, -1)),
4395
- c("div", $c, T(i.duration ? i.duration : "0") + "分钟", 1),
4396
- e[47] || (e[47] = c("img", {
4397
- class: "Vector_right",
4398
- src: Zn,
4399
- alt: ""
4400
- }, null, -1))
4401
- ], 32)) : v("", !0),
4402
- i.pointsflag ? (p(), h("div", {
4403
- key: 1,
4404
- class: "computer_c_Vector",
4405
- onMousedown: e[19] || (e[19] = W((...o) => s.pointsT && s.pointsT(...o), ["stop"]))
4406
- }, [
4407
- e[48] || (e[48] = c("img", {
4408
- src: We,
4409
- alt: ""
4410
- }, null, -1)),
4411
- c("div", eu, T(i.points), 1),
4412
- e[49] || (e[49] = c("img", {
4413
- class: "Vector_right",
4414
- src: Zn,
4415
- alt: ""
4416
- }, null, -1))
4417
- ], 32)) : v("", !0),
4418
- c("div", tu, [
4419
- (p(!0), h(I, null, N(i.gameList, (o, a) => (p(), h(I, { key: a }, [
4420
- (n.game_cloud_service == 3 ? o.link === "feedback" : !(i.isHarmony && o.link === "share") && !(o.link === "instructions" && !i.isShowOperation)) ? (p(), h("div", {
4421
- key: 0,
4422
- onMousedown: W((l) => s.computerSetup(o), ["stop"]),
4423
- class: S(["computer_c_item", [i.comTab == o.link ? "setupactive" : ""]])
4424
- }, [
4425
- c("img", {
4426
- src: o.icon,
4427
- alt: ""
4428
- }, null, 8, ru),
4429
- c("div", iu, T(o.title), 1)
4430
- ], 42, nu)) : v("", !0)
4431
- ], 64))), 128)),
4432
- c("div", {
4433
- class: "computer_c_item",
4434
- onMousedown: e[20] || (e[20] = W((...o) => s.logout && s.logout(...o), ["stop"]))
4435
- }, e[50] || (e[50] = [
4436
- c("img", {
4437
- src: Qe,
4438
- alt: ""
4439
- }, null, -1),
4440
- c("div", { class: "computer_c_item_text" }, "退出", -1)
4441
- ]), 32)
4442
- ]),
4443
- e[52] || (e[52] = c("div", { class: "computer_c_border" }, null, -1)),
4444
- c("div", {
4445
- class: "computer_c_footer",
4446
- onMousedown: e[21] || (e[21] = W((...o) => s.retract && s.retract(...o), ["stop"]))
4447
- }, e[51] || (e[51] = [
4448
- c("img", {
4449
- src: sl,
4450
- alt: ""
4451
- }, null, -1)
4452
- ]), 32)
4453
- ])) : v("", !0)
4454
- ], 32)) : v("", !0),
4455
- i.computerTwo ? (p(), h("div", {
4456
- key: 4,
4457
- class: "computer_left",
4458
- onMousedown: e[24] || (e[24] = W(() => {
4459
- }, ["stop"]))
4460
- }, [
4461
- c("div", ou, [
4462
- c("div", {
4463
- onMousedown: e[23] || (e[23] = W((o) => s.tabacTive(1), ["stop"])),
4464
- class: S(["content_tab", [i.contentTab == 1 ? "tabactive" : ""]])
4465
- }, "画质", 34)
4466
- ]),
4467
- i.contentTab == 1 ? (p(), h("div", su, [
4468
- e[53] || (e[53] = c("div", { class: "content_mtitle" }, [
4469
- c("div", { class: "content_mtitle1" }, "分辨率"),
4470
- c("div", { class: "content_mtitle2" }, "(游戏内设置,下次启动游戏生效)")
4471
- ], -1)),
4472
- c("div", au, [
4473
- (p(!0), h(I, null, N(i.clearList, (o, a) => (p(), h("div", {
4474
- class: S(["content_m_item", [i.clearTab == o.item_id ? "content_iactive" : ""]]),
4475
- key: a,
4476
- onClick: (l) => s.codeClear(o)
4477
- }, [
4478
- c("div", {
4479
- class: S(["content_m_y", [i.clearTab == o.item_id ? "content_yactive" : ""]])
4480
- }, [
4481
- i.clearTab == o.item_id ? (p(), h("div", cu)) : v("", !0)
4482
- ], 2),
4483
- c("div", {
4484
- class: S(["content_m_w", [i.clearTab == o.item_id ? "content_wactive" : ""]])
4485
- }, T(o.resolution_name), 3),
4486
- o.condition_name ? (p(), h("div", uu, T(o.condition_name), 1)) : v("", !0)
4487
- ], 10, lu))), 128))
4488
- ]),
4489
- e[54] || (e[54] = c("div", { class: "content_mtitle" }, [
4490
- c("div", { class: "content_mtitle1" }, "清晰度"),
4491
- c("div", { class: "content_mtitle2" }, "(游戏内设置,立即生效)")
4492
- ], -1)),
4493
- c("div", fu, [
4494
- (p(!0), h(I, null, N(i.bitrateList, (o, a) => (p(), h("div", {
4495
- class: S(["content_m_item", [i.codeTab == o.item_id ? "content_iactive" : ""]]),
4496
- key: a,
4497
- onClick: (l) => s.codeRate(o)
4498
- }, [
4499
- c("div", {
4500
- class: S(["content_m_y", [i.codeTab == o.item_id ? "content_yactive" : ""]])
4501
- }, [
4502
- i.codeTab == o.item_id ? (p(), h("div", pu)) : v("", !0)
4503
- ], 2),
4504
- c("div", {
4505
- class: S(["content_m_w", [i.codeTab == o.item_id ? "content_wactive" : ""]])
4506
- }, T(o.item_name), 3),
4507
- o.condition_name ? (p(), h("div", hu, T(o.condition_name), 1)) : v("", !0)
4508
- ], 10, du))), 128))
4509
- ]),
4510
- e[55] || (e[55] = c("div", { class: "content_mtitle" }, [
4511
- c("div", { class: "content_mtitle1" }, "画面比例")
4512
- ], -1)),
4513
- c("div", yu, [
4514
- (p(!0), h(I, null, N(i.aspectList, (o, a) => (p(), h("div", {
4515
- class: S(["content_m_item", [i.aspectTab == o.item_id ? "content_iactive" : ""]]),
4516
- key: a,
4517
- onClick: (l) => s.codeAspect(o)
4518
- }, [
4519
- c("div", {
4520
- class: S(["content_m_y", [i.aspectTab == o.item_id ? "content_yactive" : ""]])
4521
- }, [
4522
- i.aspectTab == o.item_id ? (p(), h("div", gu)) : v("", !0)
4523
- ], 2),
4524
- c("div", {
4525
- class: S(["content_m_w", [i.aspectTab == o.item_id ? "content_wactive" : ""]])
4526
- }, T(o.item_name), 3),
4527
- o.condition_name ? (p(), h("div", _u, T(o.condition_name), 1)) : v("", !0)
4528
- ], 10, mu))), 128))
4529
- ])
4530
- ])) : v("", !0)
4531
- ], 32)) : v("", !0)
4532
- ]),
4533
- Gr(c("div", vu, [
4534
- c("div", wu, [
4535
- c("img", {
4536
- class: "screenImg",
4537
- src: i.screenImg,
4538
- alt: ""
4539
- }, null, 8, bu),
4540
- c("div", {
4541
- class: "close",
4542
- onClick: e[26] || (e[26] = (...o) => s.closeDialog && s.closeDialog(...o))
4543
- }, "×")
4544
- ])
4545
- ], 512), [
4546
- [Vr, i.dialogVisible]
4547
- ])
4548
- ]);
4549
- }
4550
- const Eu = /* @__PURE__ */ al(ll, [["render", Au], ["__scopeId", "data-v-cd9664a4"]]);
4551
- export {
4552
- Eu as gameassis
4553
- };