@golstats/gsc-lineups-reports 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gsc-lineups-reports.es.js +732 -612
- package/dist/gsc-lineups-reports.umd.js +6 -6
- package/package.json +1 -1
- package/src/App.vue +34 -1
- package/src/components/gsc-lineups-reports.vue +67 -3
- package/src/components/gsc-lineups.vue +6779 -6610
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { createElementBlock as g, openBlock as m, Fragment as F, createCommentVNode as k, createElementVNode as o, createTextVNode as A, toDisplayString as T, normalizeStyle as
|
|
2
|
-
function
|
|
1
|
+
import { createElementBlock as g, openBlock as m, Fragment as F, createCommentVNode as k, createElementVNode as o, createTextVNode as A, toDisplayString as T, normalizeStyle as q, normalizeClass as r, renderList as te, defineComponent as Et, inject as ve, reactive as Le, ref as U, h as ke, provide as pe, onMounted as xt, nextTick as As, onUnmounted as Bi, computed as Te, watch as ce, cloneVNode as ri, useCssVars as Re, createVNode as B, unref as It, withCtx as x, createBlock as ee, renderSlot as Ue, pushScopeId as Vi, popScopeId as Wi, resolveComponent as le, onBeforeMount as js, Transition as Ds, withDirectives as li, vShow as ci, createStaticVNode as qi } from "vue";
|
|
2
|
+
function zi(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
const { toString:
|
|
8
|
-
const i =
|
|
7
|
+
const { toString: Ps } = Object.prototype, { getPrototypeOf: Bt } = Object, { iterator: et, toStringTag: Ni } = Symbol, tt = /* @__PURE__ */ ((e) => (t) => {
|
|
8
|
+
const i = Ps.call(t);
|
|
9
9
|
return e[i] || (e[i] = i.slice(8, -1).toLowerCase());
|
|
10
|
-
})(/* @__PURE__ */ Object.create(null)), de = (e) => (e = e.toLowerCase(), (t) => tt(t) === e), it = (e) => (t) => typeof t === e, { isArray:
|
|
11
|
-
function
|
|
12
|
-
return e !== null && !
|
|
10
|
+
})(/* @__PURE__ */ Object.create(null)), de = (e) => (e = e.toLowerCase(), (t) => tt(t) === e), it = (e) => (t) => typeof t === e, { isArray: Fe } = Array, He = it("undefined");
|
|
11
|
+
function Ls(e) {
|
|
12
|
+
return e !== null && !He(e) && e.constructor !== null && !He(e.constructor) && ie(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13
13
|
}
|
|
14
14
|
const Xi = de("ArrayBuffer");
|
|
15
|
-
function
|
|
15
|
+
function Us(e) {
|
|
16
16
|
let t;
|
|
17
17
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Xi(e.buffer), t;
|
|
18
18
|
}
|
|
19
|
-
const Hs = it("string"), ie = it("function"),
|
|
19
|
+
const Hs = it("string"), ie = it("function"), Gi = it("number"), st = (e) => e !== null && typeof e == "object", Es = (e) => e === !0 || e === !1, qe = (e) => {
|
|
20
20
|
if (tt(e) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const t = Bt(e);
|
|
23
23
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ni in e) && !(et in e);
|
|
24
|
-
}, xs = de("Date"), Bs = de("File"), Vs = de("Blob"), Ws = de("FileList"),
|
|
24
|
+
}, xs = de("Date"), Bs = de("File"), Vs = de("Blob"), Ws = de("FileList"), qs = (e) => st(e) && ie(e.pipe), zs = (e) => {
|
|
25
25
|
let t;
|
|
26
26
|
return e && (typeof FormData == "function" && e instanceof FormData || ie(e.append) && ((t = tt(e)) === "formdata" || // detect form-data instance
|
|
27
27
|
t === "object" && ie(e.toString) && e.toString() === "[object FormData]"));
|
|
28
|
-
}, Ns = de("URLSearchParams"), [Xs,
|
|
29
|
-
function
|
|
28
|
+
}, Ns = de("URLSearchParams"), [Xs, Gs, Js, Ys] = ["ReadableStream", "Request", "Response", "Headers"].map(de), Ks = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
|
+
function Ee(e, t, { allOwnKeys: i = !1 } = {}) {
|
|
30
30
|
if (e === null || typeof e > "u")
|
|
31
31
|
return;
|
|
32
32
|
let s, a;
|
|
33
|
-
if (typeof e != "object" && (e = [e]),
|
|
33
|
+
if (typeof e != "object" && (e = [e]), Fe(e))
|
|
34
34
|
for (s = 0, a = e.length; s < a; s++)
|
|
35
35
|
t.call(null, e[s], s, e);
|
|
36
36
|
else {
|
|
@@ -40,7 +40,7 @@ function He(e, t, { allOwnKeys: i = !1 } = {}) {
|
|
|
40
40
|
d = n[s], t.call(null, e[d], d, e);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Ji(e, t) {
|
|
44
44
|
t = t.toLowerCase();
|
|
45
45
|
const i = Object.keys(e);
|
|
46
46
|
let s = i.length, a;
|
|
@@ -49,18 +49,18 @@ function Gi(e, t) {
|
|
|
49
49
|
return a;
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
-
const
|
|
52
|
+
const Se = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Yi = (e) => !He(e) && e !== Se;
|
|
53
53
|
function kt() {
|
|
54
54
|
const { caseless: e } = Yi(this) && this || {}, t = {}, i = (s, a) => {
|
|
55
|
-
const n = e &&
|
|
56
|
-
|
|
55
|
+
const n = e && Ji(t, a) || a;
|
|
56
|
+
qe(t[n]) && qe(s) ? t[n] = kt(t[n], s) : qe(s) ? t[n] = kt({}, s) : Fe(s) ? t[n] = s.slice() : t[n] = s;
|
|
57
57
|
};
|
|
58
58
|
for (let s = 0, a = arguments.length; s < a; s++)
|
|
59
|
-
arguments[s] &&
|
|
59
|
+
arguments[s] && Ee(arguments[s], i);
|
|
60
60
|
return t;
|
|
61
61
|
}
|
|
62
|
-
const Zs = (e, t, i, { allOwnKeys: s } = {}) => (
|
|
63
|
-
i && ie(a) ? e[n] =
|
|
62
|
+
const Zs = (e, t, i, { allOwnKeys: s } = {}) => (Ee(t, (a, n) => {
|
|
63
|
+
i && ie(a) ? e[n] = zi(a, i) : e[n] = a;
|
|
64
64
|
}, { allOwnKeys: s }), e), Qs = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ea = (e, t, i, s) => {
|
|
65
65
|
e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
66
66
|
value: t.prototype
|
|
@@ -81,9 +81,9 @@ const Zs = (e, t, i, { allOwnKeys: s } = {}) => (He(t, (a, n) => {
|
|
|
81
81
|
return s !== -1 && s === i;
|
|
82
82
|
}, sa = (e) => {
|
|
83
83
|
if (!e) return null;
|
|
84
|
-
if (
|
|
84
|
+
if (Fe(e)) return e;
|
|
85
85
|
let t = e.length;
|
|
86
|
-
if (!
|
|
86
|
+
if (!Gi(t)) return null;
|
|
87
87
|
const i = new Array(t);
|
|
88
88
|
for (; t-- > 0; )
|
|
89
89
|
i[t] = e[t];
|
|
@@ -108,7 +108,7 @@ const Zs = (e, t, i, { allOwnKeys: s } = {}) => (He(t, (a, n) => {
|
|
|
108
108
|
}
|
|
109
109
|
), di = (({ hasOwnProperty: e }) => (t, i) => e.call(t, i))(Object.prototype), ca = de("RegExp"), Ki = (e, t) => {
|
|
110
110
|
const i = Object.getOwnPropertyDescriptors(e), s = {};
|
|
111
|
-
|
|
111
|
+
Ee(i, (a, n) => {
|
|
112
112
|
let l;
|
|
113
113
|
(l = t(a, n, e)) !== !1 && (s[n] = l || a);
|
|
114
114
|
}), Object.defineProperties(e, s);
|
|
@@ -133,7 +133,7 @@ const Zs = (e, t, i, { allOwnKeys: s } = {}) => (He(t, (a, n) => {
|
|
|
133
133
|
i[n] = !0;
|
|
134
134
|
});
|
|
135
135
|
};
|
|
136
|
-
return
|
|
136
|
+
return Fe(e) ? s(e) : s(String(e).split(t)), i;
|
|
137
137
|
}, ua = () => {
|
|
138
138
|
}, ma = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
139
139
|
function pa(e) {
|
|
@@ -146,49 +146,49 @@ const fa = (e) => {
|
|
|
146
146
|
return;
|
|
147
147
|
if (!("toJSON" in s)) {
|
|
148
148
|
t[a] = s;
|
|
149
|
-
const n =
|
|
150
|
-
return
|
|
149
|
+
const n = Fe(s) ? [] : {};
|
|
150
|
+
return Ee(s, (l, d) => {
|
|
151
151
|
const p = i(l, a + 1);
|
|
152
|
-
!
|
|
152
|
+
!He(p) && (n[d] = p);
|
|
153
153
|
}), t[a] = void 0, n;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
return s;
|
|
157
157
|
};
|
|
158
158
|
return i(e, 0);
|
|
159
|
-
}, ga = de("AsyncFunction"), ya = (e) => e && (st(e) || ie(e)) && ie(e.then) && ie(e.catch), Zi = ((e, t) => e ? setImmediate : t ? ((i, s) => (
|
|
160
|
-
a ===
|
|
159
|
+
}, ga = de("AsyncFunction"), ya = (e) => e && (st(e) || ie(e)) && ie(e.then) && ie(e.catch), Zi = ((e, t) => e ? setImmediate : t ? ((i, s) => (Se.addEventListener("message", ({ source: a, data: n }) => {
|
|
160
|
+
a === Se && n === i && s.length && s.shift()();
|
|
161
161
|
}, !1), (a) => {
|
|
162
|
-
s.push(a),
|
|
162
|
+
s.push(a), Se.postMessage(i, "*");
|
|
163
163
|
}))(`axios@${Math.random()}`, []) : (i) => setTimeout(i))(
|
|
164
164
|
typeof setImmediate == "function",
|
|
165
|
-
ie(
|
|
166
|
-
), _a = typeof queueMicrotask < "u" ? queueMicrotask.bind(
|
|
167
|
-
isArray:
|
|
165
|
+
ie(Se.postMessage)
|
|
166
|
+
), _a = typeof queueMicrotask < "u" ? queueMicrotask.bind(Se) : typeof process < "u" && process.nextTick || Zi, ba = (e) => e != null && ie(e[et]), C = {
|
|
167
|
+
isArray: Fe,
|
|
168
168
|
isArrayBuffer: Xi,
|
|
169
|
-
isBuffer:
|
|
170
|
-
isFormData:
|
|
171
|
-
isArrayBufferView:
|
|
169
|
+
isBuffer: Ls,
|
|
170
|
+
isFormData: zs,
|
|
171
|
+
isArrayBufferView: Us,
|
|
172
172
|
isString: Hs,
|
|
173
|
-
isNumber:
|
|
173
|
+
isNumber: Gi,
|
|
174
174
|
isBoolean: Es,
|
|
175
175
|
isObject: st,
|
|
176
|
-
isPlainObject:
|
|
176
|
+
isPlainObject: qe,
|
|
177
177
|
isReadableStream: Xs,
|
|
178
|
-
isRequest:
|
|
179
|
-
isResponse:
|
|
178
|
+
isRequest: Gs,
|
|
179
|
+
isResponse: Js,
|
|
180
180
|
isHeaders: Ys,
|
|
181
|
-
isUndefined:
|
|
181
|
+
isUndefined: He,
|
|
182
182
|
isDate: xs,
|
|
183
183
|
isFile: Bs,
|
|
184
184
|
isBlob: Vs,
|
|
185
185
|
isRegExp: ca,
|
|
186
186
|
isFunction: ie,
|
|
187
|
-
isStream:
|
|
187
|
+
isStream: qs,
|
|
188
188
|
isURLSearchParams: Ns,
|
|
189
189
|
isTypedArray: aa,
|
|
190
190
|
isFileList: Ws,
|
|
191
|
-
forEach:
|
|
191
|
+
forEach: Ee,
|
|
192
192
|
merge: kt,
|
|
193
193
|
extend: Zs,
|
|
194
194
|
trim: Ks,
|
|
@@ -211,8 +211,8 @@ const fa = (e) => {
|
|
|
211
211
|
toCamelCase: la,
|
|
212
212
|
noop: ua,
|
|
213
213
|
toFiniteNumber: ma,
|
|
214
|
-
findKey:
|
|
215
|
-
global:
|
|
214
|
+
findKey: Ji,
|
|
215
|
+
global: Se,
|
|
216
216
|
isContextDefined: Yi,
|
|
217
217
|
isSpecCompliantForm: pa,
|
|
218
218
|
toJSONObject: fa,
|
|
@@ -222,10 +222,10 @@ const fa = (e) => {
|
|
|
222
222
|
asap: _a,
|
|
223
223
|
isIterable: ba
|
|
224
224
|
};
|
|
225
|
-
function
|
|
225
|
+
function L(e, t, i, s, a) {
|
|
226
226
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), i && (this.config = i), s && (this.request = s), a && (this.response = a, this.status = a.status ? a.status : null);
|
|
227
227
|
}
|
|
228
|
-
C.inherits(
|
|
228
|
+
C.inherits(L, Error, {
|
|
229
229
|
toJSON: function() {
|
|
230
230
|
return {
|
|
231
231
|
// Standard
|
|
@@ -246,7 +246,7 @@ C.inherits(U, Error, {
|
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
});
|
|
249
|
-
const Qi =
|
|
249
|
+
const Qi = L.prototype, es = {};
|
|
250
250
|
[
|
|
251
251
|
"ERR_BAD_OPTION_VALUE",
|
|
252
252
|
"ERR_BAD_OPTION",
|
|
@@ -264,13 +264,13 @@ const Qi = U.prototype, es = {};
|
|
|
264
264
|
].forEach((e) => {
|
|
265
265
|
es[e] = { value: e };
|
|
266
266
|
});
|
|
267
|
-
Object.defineProperties(
|
|
267
|
+
Object.defineProperties(L, es);
|
|
268
268
|
Object.defineProperty(Qi, "isAxiosError", { value: !0 });
|
|
269
|
-
|
|
269
|
+
L.from = (e, t, i, s, a, n) => {
|
|
270
270
|
const l = Object.create(Qi);
|
|
271
271
|
return C.toFlatObject(e, l, function(p) {
|
|
272
272
|
return p !== Error.prototype;
|
|
273
|
-
}, (d) => d !== "isAxiosError"),
|
|
273
|
+
}, (d) => d !== "isAxiosError"), L.call(l, e.message, t, i, s, a), l.cause = e, l.name = e.name, n && Object.assign(l, n), l;
|
|
274
274
|
};
|
|
275
275
|
const wa = null;
|
|
276
276
|
function Ot(e) {
|
|
@@ -310,7 +310,7 @@ function at(e, t, i) {
|
|
|
310
310
|
if (C.isBoolean(w))
|
|
311
311
|
return w.toString();
|
|
312
312
|
if (!p && C.isBlob(w))
|
|
313
|
-
throw new
|
|
313
|
+
throw new L("Blob is not supported. Use a Buffer instead.");
|
|
314
314
|
return C.isArrayBuffer(w) || C.isTypedArray(w) ? p && typeof Blob == "function" ? new Blob([w]) : Buffer.from(w) : w;
|
|
315
315
|
}
|
|
316
316
|
function f(w, _, u) {
|
|
@@ -512,7 +512,7 @@ function ns(e) {
|
|
|
512
512
|
}
|
|
513
513
|
return null;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Pa(e, t, i) {
|
|
516
516
|
if (C.isString(e))
|
|
517
517
|
try {
|
|
518
518
|
return (t || JSON.parse)(e), C.trim(e);
|
|
@@ -522,7 +522,7 @@ function La(e, t, i) {
|
|
|
522
522
|
}
|
|
523
523
|
return (i || JSON.stringify)(e);
|
|
524
524
|
}
|
|
525
|
-
const
|
|
525
|
+
const xe = {
|
|
526
526
|
transitional: as,
|
|
527
527
|
adapter: ["xhr", "http", "fetch"],
|
|
528
528
|
transformRequest: [function(t, i) {
|
|
@@ -548,10 +548,10 @@ const Ee = {
|
|
|
548
548
|
);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
return n || a ? (i.setContentType("application/json", !1),
|
|
551
|
+
return n || a ? (i.setContentType("application/json", !1), Pa(t)) : t;
|
|
552
552
|
}],
|
|
553
553
|
transformResponse: [function(t) {
|
|
554
|
-
const i = this.transitional ||
|
|
554
|
+
const i = this.transitional || xe.transitional, s = i && i.forcedJSONParsing, a = this.responseType === "json";
|
|
555
555
|
if (C.isResponse(t) || C.isReadableStream(t))
|
|
556
556
|
return t;
|
|
557
557
|
if (t && C.isString(t) && (s && !this.responseType || a)) {
|
|
@@ -560,7 +560,7 @@ const Ee = {
|
|
|
560
560
|
return JSON.parse(t);
|
|
561
561
|
} catch (d) {
|
|
562
562
|
if (l)
|
|
563
|
-
throw d.name === "SyntaxError" ?
|
|
563
|
+
throw d.name === "SyntaxError" ? L.from(d, L.ERR_BAD_RESPONSE, this, null, this.response) : d;
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
return t;
|
|
@@ -589,9 +589,9 @@ const Ee = {
|
|
|
589
589
|
}
|
|
590
590
|
};
|
|
591
591
|
C.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
592
|
-
|
|
592
|
+
xe.headers[e] = {};
|
|
593
593
|
});
|
|
594
|
-
const
|
|
594
|
+
const La = C.toObjectSet([
|
|
595
595
|
"age",
|
|
596
596
|
"authorization",
|
|
597
597
|
"content-length",
|
|
@@ -609,15 +609,15 @@ const Ua = C.toObjectSet([
|
|
|
609
609
|
"referer",
|
|
610
610
|
"retry-after",
|
|
611
611
|
"user-agent"
|
|
612
|
-
]),
|
|
612
|
+
]), Ua = (e) => {
|
|
613
613
|
const t = {};
|
|
614
614
|
let i, s, a;
|
|
615
615
|
return e && e.split(`
|
|
616
616
|
`).forEach(function(l) {
|
|
617
|
-
a = l.indexOf(":"), i = l.substring(0, a).trim().toLowerCase(), s = l.substring(a + 1).trim(), !(!i || t[i] &&
|
|
617
|
+
a = l.indexOf(":"), i = l.substring(0, a).trim().toLowerCase(), s = l.substring(a + 1).trim(), !(!i || t[i] && La[i]) && (i === "set-cookie" ? t[i] ? t[i].push(s) : t[i] = [s] : t[i] = t[i] ? t[i] + ", " + s : s);
|
|
618
618
|
}), t;
|
|
619
619
|
}, pi = Symbol("internals");
|
|
620
|
-
function
|
|
620
|
+
function je(e) {
|
|
621
621
|
return e && String(e).trim().toLowerCase();
|
|
622
622
|
}
|
|
623
623
|
function ze(e) {
|
|
@@ -662,7 +662,7 @@ let se = class {
|
|
|
662
662
|
set(t, i, s) {
|
|
663
663
|
const a = this;
|
|
664
664
|
function n(d, p, y) {
|
|
665
|
-
const f =
|
|
665
|
+
const f = je(p);
|
|
666
666
|
if (!f)
|
|
667
667
|
throw new Error("header name must be a non-empty string");
|
|
668
668
|
const b = C.findKey(a, f);
|
|
@@ -672,7 +672,7 @@ let se = class {
|
|
|
672
672
|
if (C.isPlainObject(t) || t instanceof this.constructor)
|
|
673
673
|
l(t, i);
|
|
674
674
|
else if (C.isString(t) && (t = t.trim()) && !Ea(t))
|
|
675
|
-
l(
|
|
675
|
+
l(Ua(t), i);
|
|
676
676
|
else if (C.isObject(t) && C.isIterable(t)) {
|
|
677
677
|
let d = {}, p, y;
|
|
678
678
|
for (const f of t) {
|
|
@@ -686,7 +686,7 @@ let se = class {
|
|
|
686
686
|
return this;
|
|
687
687
|
}
|
|
688
688
|
get(t, i) {
|
|
689
|
-
if (t =
|
|
689
|
+
if (t = je(t), t) {
|
|
690
690
|
const s = C.findKey(this, t);
|
|
691
691
|
if (s) {
|
|
692
692
|
const a = this[s];
|
|
@@ -703,7 +703,7 @@ let se = class {
|
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
705
|
has(t, i) {
|
|
706
|
-
if (t =
|
|
706
|
+
if (t = je(t), t) {
|
|
707
707
|
const s = C.findKey(this, t);
|
|
708
708
|
return !!(s && this[s] !== void 0 && (!i || yt(this, this[s], s, i)));
|
|
709
709
|
}
|
|
@@ -713,7 +713,7 @@ let se = class {
|
|
|
713
713
|
const s = this;
|
|
714
714
|
let a = !1;
|
|
715
715
|
function n(l) {
|
|
716
|
-
if (l =
|
|
716
|
+
if (l = je(l), l) {
|
|
717
717
|
const d = C.findKey(s, l);
|
|
718
718
|
d && (!i || yt(s, s[d], d, i)) && (delete s[d], a = !0);
|
|
719
719
|
}
|
|
@@ -775,7 +775,7 @@ let se = class {
|
|
|
775
775
|
accessors: {}
|
|
776
776
|
}).accessors, a = this.prototype;
|
|
777
777
|
function n(l) {
|
|
778
|
-
const d =
|
|
778
|
+
const d = je(l);
|
|
779
779
|
s[d] || (Ba(a, l), s[d] = !0);
|
|
780
780
|
}
|
|
781
781
|
return C.isArray(t) ? t.forEach(n) : n(t), this;
|
|
@@ -793,7 +793,7 @@ C.reduceDescriptors(se.prototype, ({ value: e }, t) => {
|
|
|
793
793
|
});
|
|
794
794
|
C.freezeMethods(se);
|
|
795
795
|
function _t(e, t) {
|
|
796
|
-
const i = this ||
|
|
796
|
+
const i = this || xe, s = t || i, a = se.from(s.headers);
|
|
797
797
|
let n = s.data;
|
|
798
798
|
return C.forEach(e, function(d) {
|
|
799
799
|
n = d.call(i, n, a.normalize(), t ? t.status : void 0);
|
|
@@ -802,17 +802,17 @@ function _t(e, t) {
|
|
|
802
802
|
function os(e) {
|
|
803
803
|
return !!(e && e.__CANCEL__);
|
|
804
804
|
}
|
|
805
|
-
function
|
|
806
|
-
|
|
805
|
+
function $e(e, t, i) {
|
|
806
|
+
L.call(this, e ?? "canceled", L.ERR_CANCELED, t, i), this.name = "CanceledError";
|
|
807
807
|
}
|
|
808
|
-
C.inherits(
|
|
808
|
+
C.inherits($e, L, {
|
|
809
809
|
__CANCEL__: !0
|
|
810
810
|
});
|
|
811
811
|
function rs(e, t, i) {
|
|
812
812
|
const s = i.config.validateStatus;
|
|
813
|
-
!i.status || !s || s(i.status) ? e(i) : t(new
|
|
813
|
+
!i.status || !s || s(i.status) ? e(i) : t(new L(
|
|
814
814
|
"Request failed with status code " + i.status,
|
|
815
|
-
[
|
|
815
|
+
[L.ERR_BAD_REQUEST, L.ERR_BAD_RESPONSE][Math.floor(i.status / 100) - 4],
|
|
816
816
|
i.config,
|
|
817
817
|
i.request,
|
|
818
818
|
i
|
|
@@ -838,7 +838,7 @@ function Wa(e, t) {
|
|
|
838
838
|
return I ? Math.round(c * 1e3 / I) : void 0;
|
|
839
839
|
};
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function qa(e, t) {
|
|
842
842
|
let i = 0, s = 1e3 / t, a, n;
|
|
843
843
|
const l = (y, f = Date.now()) => {
|
|
844
844
|
i = f, a = null, n && (clearTimeout(n), n = null), e.apply(null, y);
|
|
@@ -853,7 +853,7 @@ function za(e, t) {
|
|
|
853
853
|
const Ze = (e, t, i = 3) => {
|
|
854
854
|
let s = 0;
|
|
855
855
|
const a = Wa(50, 250);
|
|
856
|
-
return
|
|
856
|
+
return qa((n) => {
|
|
857
857
|
const l = n.loaded, d = n.lengthComputable ? n.total : void 0, p = l - s, y = a(p), f = l <= d;
|
|
858
858
|
s = l;
|
|
859
859
|
const b = {
|
|
@@ -876,7 +876,7 @@ const Ze = (e, t, i = 3) => {
|
|
|
876
876
|
total: e,
|
|
877
877
|
loaded: s
|
|
878
878
|
}), t[1]];
|
|
879
|
-
}, gi = (e) => (...t) => C.asap(() => e(...t)),
|
|
879
|
+
}, gi = (e) => (...t) => C.asap(() => e(...t)), za = K.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (i) => (i = new URL(i, K.origin), e.protocol === i.protocol && e.host === i.host && (t || e.port === i.port)))(
|
|
880
880
|
new URL(K.origin),
|
|
881
881
|
K.navigator && /(msie|trident)/i.test(K.navigator.userAgent)
|
|
882
882
|
) : () => !0, Na = K.hasStandardBrowserEnv ? (
|
|
@@ -909,15 +909,15 @@ const Ze = (e, t, i = 3) => {
|
|
|
909
909
|
function Xa(e) {
|
|
910
910
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
911
911
|
}
|
|
912
|
-
function
|
|
912
|
+
function Ga(e, t) {
|
|
913
913
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
914
914
|
}
|
|
915
915
|
function ls(e, t, i) {
|
|
916
916
|
let s = !Xa(t);
|
|
917
|
-
return e && (s || i == !1) ?
|
|
917
|
+
return e && (s || i == !1) ? Ga(e, t) : t;
|
|
918
918
|
}
|
|
919
919
|
const yi = (e) => e instanceof se ? { ...e } : e;
|
|
920
|
-
function
|
|
920
|
+
function Ie(e, t) {
|
|
921
921
|
t = t || {};
|
|
922
922
|
const i = {};
|
|
923
923
|
function s(y, f, b, c) {
|
|
@@ -982,7 +982,7 @@ function Ce(e, t) {
|
|
|
982
982
|
}), i;
|
|
983
983
|
}
|
|
984
984
|
const cs = (e) => {
|
|
985
|
-
const t =
|
|
985
|
+
const t = Ie({}, e);
|
|
986
986
|
let { data: i, withXSRFToken: s, xsrfHeaderName: a, xsrfCookieName: n, headers: l, auth: d } = t;
|
|
987
987
|
t.headers = l = se.from(l), t.url = ss(ls(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), d && l.set(
|
|
988
988
|
"Authorization",
|
|
@@ -997,12 +997,12 @@ const cs = (e) => {
|
|
|
997
997
|
l.setContentType([y || "multipart/form-data", ...f].join("; "));
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
|
-
if (K.hasStandardBrowserEnv && (s && C.isFunction(s) && (s = s(t)), s || s !== !1 &&
|
|
1000
|
+
if (K.hasStandardBrowserEnv && (s && C.isFunction(s) && (s = s(t)), s || s !== !1 && za(t.url))) {
|
|
1001
1001
|
const y = a && n && Na.read(n);
|
|
1002
1002
|
y && l.set(a, y);
|
|
1003
1003
|
}
|
|
1004
1004
|
return t;
|
|
1005
|
-
},
|
|
1005
|
+
}, Ja = typeof XMLHttpRequest < "u", Ya = Ja && function(e) {
|
|
1006
1006
|
return new Promise(function(i, s) {
|
|
1007
1007
|
const a = cs(e);
|
|
1008
1008
|
let n = a.data;
|
|
@@ -1035,26 +1035,26 @@ const cs = (e) => {
|
|
|
1035
1035
|
"onloadend" in u ? u.onloadend = O : u.onreadystatechange = function() {
|
|
1036
1036
|
!u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(O);
|
|
1037
1037
|
}, u.onabort = function() {
|
|
1038
|
-
u && (s(new
|
|
1038
|
+
u && (s(new L("Request aborted", L.ECONNABORTED, e, u)), u = null);
|
|
1039
1039
|
}, u.onerror = function() {
|
|
1040
|
-
s(new
|
|
1040
|
+
s(new L("Network Error", L.ERR_NETWORK, e, u)), u = null;
|
|
1041
1041
|
}, u.ontimeout = function() {
|
|
1042
1042
|
let h = a.timeout ? "timeout of " + a.timeout + "ms exceeded" : "timeout exceeded";
|
|
1043
1043
|
const S = a.transitional || as;
|
|
1044
|
-
a.timeoutErrorMessage && (h = a.timeoutErrorMessage), s(new
|
|
1044
|
+
a.timeoutErrorMessage && (h = a.timeoutErrorMessage), s(new L(
|
|
1045
1045
|
h,
|
|
1046
|
-
S.clarifyTimeoutError ?
|
|
1046
|
+
S.clarifyTimeoutError ? L.ETIMEDOUT : L.ECONNABORTED,
|
|
1047
1047
|
e,
|
|
1048
1048
|
u
|
|
1049
1049
|
)), u = null;
|
|
1050
1050
|
}, n === void 0 && l.setContentType(null), "setRequestHeader" in u && C.forEach(l.toJSON(), function(h, S) {
|
|
1051
1051
|
u.setRequestHeader(S, h);
|
|
1052
1052
|
}), C.isUndefined(a.withCredentials) || (u.withCredentials = !!a.withCredentials), d && d !== "json" && (u.responseType = a.responseType), y && ([c, w] = Ze(y, !0), u.addEventListener("progress", c)), p && u.upload && ([b, I] = Ze(p), u.upload.addEventListener("progress", b), u.upload.addEventListener("loadend", I)), (a.cancelToken || a.signal) && (f = (v) => {
|
|
1053
|
-
u && (s(!v || v.type ? new
|
|
1053
|
+
u && (s(!v || v.type ? new $e(null, e, u) : v), u.abort(), u = null);
|
|
1054
1054
|
}, a.cancelToken && a.cancelToken.subscribe(f), a.signal && (a.signal.aborted ? f() : a.signal.addEventListener("abort", f)));
|
|
1055
1055
|
const D = Va(a.url);
|
|
1056
1056
|
if (D && K.protocols.indexOf(D) === -1) {
|
|
1057
|
-
s(new
|
|
1057
|
+
s(new L("Unsupported protocol " + D + ":", L.ERR_BAD_REQUEST, e));
|
|
1058
1058
|
return;
|
|
1059
1059
|
}
|
|
1060
1060
|
u.send(n || null);
|
|
@@ -1067,11 +1067,11 @@ const cs = (e) => {
|
|
|
1067
1067
|
if (!a) {
|
|
1068
1068
|
a = !0, d();
|
|
1069
1069
|
const f = y instanceof Error ? y : this.reason;
|
|
1070
|
-
s.abort(f instanceof
|
|
1070
|
+
s.abort(f instanceof L ? f : new $e(f instanceof Error ? f.message : f));
|
|
1071
1071
|
}
|
|
1072
1072
|
};
|
|
1073
1073
|
let l = t && setTimeout(() => {
|
|
1074
|
-
l = null, n(new
|
|
1074
|
+
l = null, n(new L(`timeout ${t} of ms exceeded`, L.ETIMEDOUT));
|
|
1075
1075
|
}, t);
|
|
1076
1076
|
const d = () => {
|
|
1077
1077
|
e && (l && clearTimeout(l), l = null, e.forEach((y) => {
|
|
@@ -1161,7 +1161,7 @@ const cs = (e) => {
|
|
|
1161
1161
|
nt && ((e) => {
|
|
1162
1162
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
1163
1163
|
!Qe[t] && (Qe[t] = C.isFunction(e[t]) ? (i) => i[t]() : (i, s) => {
|
|
1164
|
-
throw new
|
|
1164
|
+
throw new L(`Response type '${t}' is not supported`, L.ERR_NOT_SUPPORT, s);
|
|
1165
1165
|
});
|
|
1166
1166
|
});
|
|
1167
1167
|
})(new Response());
|
|
@@ -1233,8 +1233,8 @@ const an = async (e) => {
|
|
|
1233
1233
|
const v = Rt && (y === "stream" || y === "response");
|
|
1234
1234
|
if (Rt && (d || v && _)) {
|
|
1235
1235
|
const S = {};
|
|
1236
|
-
["status", "statusText", "headers"].forEach((
|
|
1237
|
-
S[
|
|
1236
|
+
["status", "statusText", "headers"].forEach((z) => {
|
|
1237
|
+
S[z] = D[z];
|
|
1238
1238
|
});
|
|
1239
1239
|
const $ = C.toFiniteNumber(D.headers.get("content-length")), [V, j] = d && fi(
|
|
1240
1240
|
$,
|
|
@@ -1261,11 +1261,11 @@ const an = async (e) => {
|
|
|
1261
1261
|
});
|
|
1262
1262
|
} catch (O) {
|
|
1263
1263
|
throw _ && _(), O && O.name === "TypeError" && /Load failed|fetch/i.test(O.message) ? Object.assign(
|
|
1264
|
-
new
|
|
1264
|
+
new L("Network Error", L.ERR_NETWORK, e, w),
|
|
1265
1265
|
{
|
|
1266
1266
|
cause: O.cause || O
|
|
1267
1267
|
}
|
|
1268
|
-
) :
|
|
1268
|
+
) : L.from(O, O && O.code, e, w);
|
|
1269
1269
|
}
|
|
1270
1270
|
}), Ft = {
|
|
1271
1271
|
http: wa,
|
|
@@ -1291,7 +1291,7 @@ const wi = (e) => `- ${e}`, rn = (e) => C.isFunction(e) || e === null || e === !
|
|
|
1291
1291
|
i = e[n];
|
|
1292
1292
|
let l;
|
|
1293
1293
|
if (s = i, !rn(i) && (s = Ft[(l = String(i)).toLowerCase()], s === void 0))
|
|
1294
|
-
throw new
|
|
1294
|
+
throw new L(`Unknown adapter '${l}'`);
|
|
1295
1295
|
if (s)
|
|
1296
1296
|
break;
|
|
1297
1297
|
a[l || "#" + n] = s;
|
|
@@ -1303,7 +1303,7 @@ const wi = (e) => `- ${e}`, rn = (e) => C.isFunction(e) || e === null || e === !
|
|
|
1303
1303
|
let l = t ? n.length > 1 ? `since :
|
|
1304
1304
|
` + n.map(wi).join(`
|
|
1305
1305
|
`) : " " + wi(n[0]) : "as no adapter specified";
|
|
1306
|
-
throw new
|
|
1306
|
+
throw new L(
|
|
1307
1307
|
"There is no suitable adapter to dispatch the request " + l,
|
|
1308
1308
|
"ERR_NOT_SUPPORT"
|
|
1309
1309
|
);
|
|
@@ -1314,13 +1314,13 @@ const wi = (e) => `- ${e}`, rn = (e) => C.isFunction(e) || e === null || e === !
|
|
|
1314
1314
|
};
|
|
1315
1315
|
function bt(e) {
|
|
1316
1316
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1317
|
-
throw new
|
|
1317
|
+
throw new $e(null, e);
|
|
1318
1318
|
}
|
|
1319
1319
|
function vi(e) {
|
|
1320
1320
|
return bt(e), e.headers = se.from(e.headers), e.data = _t.call(
|
|
1321
1321
|
e,
|
|
1322
1322
|
e.transformRequest
|
|
1323
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), us.getAdapter(e.adapter ||
|
|
1323
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), us.getAdapter(e.adapter || xe.adapter)(e).then(function(s) {
|
|
1324
1324
|
return bt(e), s.data = _t.call(
|
|
1325
1325
|
e,
|
|
1326
1326
|
e.transformResponse,
|
|
@@ -1347,9 +1347,9 @@ ot.transitional = function(t, i, s) {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
return (n, l, d) => {
|
|
1349
1349
|
if (t === !1)
|
|
1350
|
-
throw new
|
|
1350
|
+
throw new L(
|
|
1351
1351
|
a(l, " has been removed" + (i ? " in " + i : "")),
|
|
1352
|
-
|
|
1352
|
+
L.ERR_DEPRECATED
|
|
1353
1353
|
);
|
|
1354
1354
|
return i && !Si[l] && (Si[l] = !0, console.warn(
|
|
1355
1355
|
a(
|
|
@@ -1364,7 +1364,7 @@ ot.spelling = function(t) {
|
|
|
1364
1364
|
};
|
|
1365
1365
|
function ln(e, t, i) {
|
|
1366
1366
|
if (typeof e != "object")
|
|
1367
|
-
throw new
|
|
1367
|
+
throw new L("options must be an object", L.ERR_BAD_OPTION_VALUE);
|
|
1368
1368
|
const s = Object.keys(e);
|
|
1369
1369
|
let a = s.length;
|
|
1370
1370
|
for (; a-- > 0; ) {
|
|
@@ -1372,18 +1372,18 @@ function ln(e, t, i) {
|
|
|
1372
1372
|
if (l) {
|
|
1373
1373
|
const d = e[n], p = d === void 0 || l(d, n, e);
|
|
1374
1374
|
if (p !== !0)
|
|
1375
|
-
throw new
|
|
1375
|
+
throw new L("option " + n + " must be " + p, L.ERR_BAD_OPTION_VALUE);
|
|
1376
1376
|
continue;
|
|
1377
1377
|
}
|
|
1378
1378
|
if (i !== !0)
|
|
1379
|
-
throw new
|
|
1379
|
+
throw new L("Unknown option " + n, L.ERR_BAD_OPTION);
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
|
-
const
|
|
1382
|
+
const Ne = {
|
|
1383
1383
|
assertOptions: ln,
|
|
1384
1384
|
validators: ot
|
|
1385
|
-
}, he =
|
|
1386
|
-
let
|
|
1385
|
+
}, he = Ne.validators;
|
|
1386
|
+
let Ce = class {
|
|
1387
1387
|
constructor(t) {
|
|
1388
1388
|
this.defaults = t || {}, this.interceptors = {
|
|
1389
1389
|
request: new mi(),
|
|
@@ -1416,18 +1416,18 @@ let Se = class {
|
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
_request(t, i) {
|
|
1419
|
-
typeof t == "string" ? (i = i || {}, i.url = t) : i = t || {}, i =
|
|
1419
|
+
typeof t == "string" ? (i = i || {}, i.url = t) : i = t || {}, i = Ie(this.defaults, i);
|
|
1420
1420
|
const { transitional: s, paramsSerializer: a, headers: n } = i;
|
|
1421
|
-
s !== void 0 &&
|
|
1421
|
+
s !== void 0 && Ne.assertOptions(s, {
|
|
1422
1422
|
silentJSONParsing: he.transitional(he.boolean),
|
|
1423
1423
|
forcedJSONParsing: he.transitional(he.boolean),
|
|
1424
1424
|
clarifyTimeoutError: he.transitional(he.boolean)
|
|
1425
1425
|
}, !1), a != null && (C.isFunction(a) ? i.paramsSerializer = {
|
|
1426
1426
|
serialize: a
|
|
1427
|
-
} :
|
|
1427
|
+
} : Ne.assertOptions(a, {
|
|
1428
1428
|
encode: he.function,
|
|
1429
1429
|
serialize: he.function
|
|
1430
|
-
}, !0)), i.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? i.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : i.allowAbsoluteUrls = !0),
|
|
1430
|
+
}, !0)), i.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? i.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : i.allowAbsoluteUrls = !0), Ne.assertOptions(i, {
|
|
1431
1431
|
baseUrl: he.spelling("baseURL"),
|
|
1432
1432
|
withXsrfToken: he.spelling("withXSRFToken")
|
|
1433
1433
|
}, !0), i.method = (i.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -1478,14 +1478,14 @@ let Se = class {
|
|
|
1478
1478
|
return f;
|
|
1479
1479
|
}
|
|
1480
1480
|
getUri(t) {
|
|
1481
|
-
t =
|
|
1481
|
+
t = Ie(this.defaults, t);
|
|
1482
1482
|
const i = ls(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
1483
1483
|
return ss(i, t.params, t.paramsSerializer);
|
|
1484
1484
|
}
|
|
1485
1485
|
};
|
|
1486
1486
|
C.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1487
|
-
|
|
1488
|
-
return this.request(
|
|
1487
|
+
Ce.prototype[t] = function(i, s) {
|
|
1488
|
+
return this.request(Ie(s || {}, {
|
|
1489
1489
|
method: t,
|
|
1490
1490
|
url: i,
|
|
1491
1491
|
data: (s || {}).data
|
|
@@ -1495,7 +1495,7 @@ C.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
1495
1495
|
C.forEach(["post", "put", "patch"], function(t) {
|
|
1496
1496
|
function i(s) {
|
|
1497
1497
|
return function(n, l, d) {
|
|
1498
|
-
return this.request(
|
|
1498
|
+
return this.request(Ie(d || {}, {
|
|
1499
1499
|
method: t,
|
|
1500
1500
|
headers: s ? {
|
|
1501
1501
|
"Content-Type": "multipart/form-data"
|
|
@@ -1505,7 +1505,7 @@ C.forEach(["post", "put", "patch"], function(t) {
|
|
|
1505
1505
|
}));
|
|
1506
1506
|
};
|
|
1507
1507
|
}
|
|
1508
|
-
|
|
1508
|
+
Ce.prototype[t] = i(), Ce.prototype[t + "Form"] = i(!0);
|
|
1509
1509
|
});
|
|
1510
1510
|
let cn = class ps {
|
|
1511
1511
|
constructor(t) {
|
|
@@ -1531,7 +1531,7 @@ let cn = class ps {
|
|
|
1531
1531
|
s.unsubscribe(n);
|
|
1532
1532
|
}, l;
|
|
1533
1533
|
}, t(function(n, l, d) {
|
|
1534
|
-
s.reason || (s.reason = new
|
|
1534
|
+
s.reason || (s.reason = new $e(n, l, d), i(s.reason));
|
|
1535
1535
|
});
|
|
1536
1536
|
}
|
|
1537
1537
|
/**
|
|
@@ -1657,38 +1657,38 @@ Object.entries($t).forEach(([e, t]) => {
|
|
|
1657
1657
|
$t[t] = e;
|
|
1658
1658
|
});
|
|
1659
1659
|
function fs(e) {
|
|
1660
|
-
const t = new
|
|
1661
|
-
return C.extend(i,
|
|
1662
|
-
return fs(
|
|
1660
|
+
const t = new Ce(e), i = zi(Ce.prototype.request, t);
|
|
1661
|
+
return C.extend(i, Ce.prototype, t, { allOwnKeys: !0 }), C.extend(i, t, null, { allOwnKeys: !0 }), i.create = function(a) {
|
|
1662
|
+
return fs(Ie(e, a));
|
|
1663
1663
|
}, i;
|
|
1664
1664
|
}
|
|
1665
|
-
const E = fs(
|
|
1666
|
-
E.Axios =
|
|
1667
|
-
E.CanceledError =
|
|
1665
|
+
const E = fs(xe);
|
|
1666
|
+
E.Axios = Ce;
|
|
1667
|
+
E.CanceledError = $e;
|
|
1668
1668
|
E.CancelToken = cn;
|
|
1669
1669
|
E.isCancel = os;
|
|
1670
1670
|
E.VERSION = ms;
|
|
1671
1671
|
E.toFormData = at;
|
|
1672
|
-
E.AxiosError =
|
|
1672
|
+
E.AxiosError = L;
|
|
1673
1673
|
E.Cancel = E.CanceledError;
|
|
1674
1674
|
E.all = function(t) {
|
|
1675
1675
|
return Promise.all(t);
|
|
1676
1676
|
};
|
|
1677
1677
|
E.spread = dn;
|
|
1678
1678
|
E.isAxiosError = hn;
|
|
1679
|
-
E.mergeConfig =
|
|
1679
|
+
E.mergeConfig = Ie;
|
|
1680
1680
|
E.AxiosHeaders = se;
|
|
1681
1681
|
E.formToJSON = (e) => ns(C.isHTMLForm(e) ? new FormData(e) : e);
|
|
1682
1682
|
E.getAdapter = us.getAdapter;
|
|
1683
1683
|
E.HttpStatusCode = $t;
|
|
1684
1684
|
E.default = E;
|
|
1685
1685
|
const {
|
|
1686
|
-
Axios:
|
|
1687
|
-
AxiosError:
|
|
1686
|
+
Axios: qf,
|
|
1687
|
+
AxiosError: zf,
|
|
1688
1688
|
CanceledError: Nf,
|
|
1689
1689
|
isCancel: Xf,
|
|
1690
|
-
CancelToken:
|
|
1691
|
-
VERSION:
|
|
1690
|
+
CancelToken: Gf,
|
|
1691
|
+
VERSION: Jf,
|
|
1692
1692
|
all: Yf,
|
|
1693
1693
|
Cancel: Kf,
|
|
1694
1694
|
isAxiosError: Zf,
|
|
@@ -1707,11 +1707,11 @@ ue.pong = "3";
|
|
|
1707
1707
|
ue.message = "4";
|
|
1708
1708
|
ue.upgrade = "5";
|
|
1709
1709
|
ue.noop = "6";
|
|
1710
|
-
const
|
|
1710
|
+
const Xe = /* @__PURE__ */ Object.create(null);
|
|
1711
1711
|
Object.keys(ue).forEach((e) => {
|
|
1712
|
-
|
|
1712
|
+
Xe[ue[e]] = e;
|
|
1713
1713
|
});
|
|
1714
|
-
const Mt = { type: "error", data: "parser error" }, gs = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", ys = typeof ArrayBuffer == "function", _s = (e) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(e) : e && e.buffer instanceof ArrayBuffer,
|
|
1714
|
+
const Mt = { type: "error", data: "parser error" }, gs = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", ys = typeof ArrayBuffer == "function", _s = (e) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(e) : e && e.buffer instanceof ArrayBuffer, qt = ({ type: e, data: t }, i, s) => gs && t instanceof Blob ? i ? s(t) : Ci(t, s) : ys && (t instanceof ArrayBuffer || _s(t)) ? i ? s(t) : Ci(new Blob([t]), s) : s(ue[e] + (t || "")), Ci = (e, t) => {
|
|
1715
1715
|
const i = new FileReader();
|
|
1716
1716
|
return i.onload = function() {
|
|
1717
1717
|
const s = i.result.split(",")[1];
|
|
@@ -1727,21 +1727,21 @@ function un(e, t) {
|
|
|
1727
1727
|
return e.data.arrayBuffer().then(Ii).then(t);
|
|
1728
1728
|
if (ys && (e.data instanceof ArrayBuffer || _s(e.data)))
|
|
1729
1729
|
return t(Ii(e.data));
|
|
1730
|
-
|
|
1730
|
+
qt(e, !1, (i) => {
|
|
1731
1731
|
wt || (wt = new TextEncoder()), t(wt.encode(i));
|
|
1732
1732
|
});
|
|
1733
1733
|
}
|
|
1734
|
-
const ki = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
|
|
1734
|
+
const ki = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Pe = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
|
|
1735
1735
|
for (let e = 0; e < ki.length; e++)
|
|
1736
|
-
|
|
1736
|
+
Pe[ki.charCodeAt(e)] = e;
|
|
1737
1737
|
const mn = (e) => {
|
|
1738
1738
|
let t = e.length * 0.75, i = e.length, s, a = 0, n, l, d, p;
|
|
1739
1739
|
e[e.length - 1] === "=" && (t--, e[e.length - 2] === "=" && t--);
|
|
1740
1740
|
const y = new ArrayBuffer(t), f = new Uint8Array(y);
|
|
1741
1741
|
for (s = 0; s < i; s += 4)
|
|
1742
|
-
n =
|
|
1742
|
+
n = Pe[e.charCodeAt(s)], l = Pe[e.charCodeAt(s + 1)], d = Pe[e.charCodeAt(s + 2)], p = Pe[e.charCodeAt(s + 3)], f[a++] = n << 2 | l >> 4, f[a++] = (l & 15) << 4 | d >> 2, f[a++] = (d & 3) << 6 | p & 63;
|
|
1743
1743
|
return y;
|
|
1744
|
-
}, pn = typeof ArrayBuffer == "function",
|
|
1744
|
+
}, pn = typeof ArrayBuffer == "function", zt = (e, t) => {
|
|
1745
1745
|
if (typeof e != "string")
|
|
1746
1746
|
return {
|
|
1747
1747
|
type: "message",
|
|
@@ -1751,11 +1751,11 @@ const mn = (e) => {
|
|
|
1751
1751
|
return i === "b" ? {
|
|
1752
1752
|
type: "message",
|
|
1753
1753
|
data: fn(e.substring(1), t)
|
|
1754
|
-
} :
|
|
1755
|
-
type:
|
|
1754
|
+
} : Xe[i] ? e.length > 1 ? {
|
|
1755
|
+
type: Xe[i],
|
|
1756
1756
|
data: e.substring(1)
|
|
1757
1757
|
} : {
|
|
1758
|
-
type:
|
|
1758
|
+
type: Xe[i]
|
|
1759
1759
|
} : Mt;
|
|
1760
1760
|
}, fn = (e, t) => {
|
|
1761
1761
|
if (pn) {
|
|
@@ -1775,14 +1775,14 @@ const mn = (e) => {
|
|
|
1775
1775
|
const i = e.length, s = new Array(i);
|
|
1776
1776
|
let a = 0;
|
|
1777
1777
|
e.forEach((n, l) => {
|
|
1778
|
-
|
|
1778
|
+
qt(n, !1, (d) => {
|
|
1779
1779
|
s[l] = d, ++a === i && t(s.join(ws));
|
|
1780
1780
|
});
|
|
1781
1781
|
});
|
|
1782
1782
|
}, yn = (e, t) => {
|
|
1783
1783
|
const i = e.split(ws), s = [];
|
|
1784
1784
|
for (let a = 0; a < i.length; a++) {
|
|
1785
|
-
const n =
|
|
1785
|
+
const n = zt(i[a], t);
|
|
1786
1786
|
if (s.push(n), n.type === "error")
|
|
1787
1787
|
break;
|
|
1788
1788
|
}
|
|
@@ -1811,10 +1811,10 @@ function _n() {
|
|
|
1811
1811
|
});
|
|
1812
1812
|
}
|
|
1813
1813
|
let vt;
|
|
1814
|
-
function
|
|
1814
|
+
function Ve(e) {
|
|
1815
1815
|
return e.reduce((t, i) => t + i.length, 0);
|
|
1816
1816
|
}
|
|
1817
|
-
function
|
|
1817
|
+
function We(e, t) {
|
|
1818
1818
|
if (e[0].length === t)
|
|
1819
1819
|
return e.shift();
|
|
1820
1820
|
const i = new Uint8Array(t);
|
|
@@ -1831,29 +1831,29 @@ function bn(e, t) {
|
|
|
1831
1831
|
transform(l, d) {
|
|
1832
1832
|
for (i.push(l); ; ) {
|
|
1833
1833
|
if (s === 0) {
|
|
1834
|
-
if (
|
|
1834
|
+
if (Ve(i) < 1)
|
|
1835
1835
|
break;
|
|
1836
|
-
const p =
|
|
1836
|
+
const p = We(i, 1);
|
|
1837
1837
|
n = (p[0] & 128) === 128, a = p[0] & 127, a < 126 ? s = 3 : a === 126 ? s = 1 : s = 2;
|
|
1838
1838
|
} else if (s === 1) {
|
|
1839
|
-
if (
|
|
1839
|
+
if (Ve(i) < 2)
|
|
1840
1840
|
break;
|
|
1841
|
-
const p =
|
|
1841
|
+
const p = We(i, 2);
|
|
1842
1842
|
a = new DataView(p.buffer, p.byteOffset, p.length).getUint16(0), s = 3;
|
|
1843
1843
|
} else if (s === 2) {
|
|
1844
|
-
if (
|
|
1844
|
+
if (Ve(i) < 8)
|
|
1845
1845
|
break;
|
|
1846
|
-
const p =
|
|
1846
|
+
const p = We(i, 8), y = new DataView(p.buffer, p.byteOffset, p.length), f = y.getUint32(0);
|
|
1847
1847
|
if (f > Math.pow(2, 21) - 1) {
|
|
1848
1848
|
d.enqueue(Mt);
|
|
1849
1849
|
break;
|
|
1850
1850
|
}
|
|
1851
1851
|
a = f * Math.pow(2, 32) + y.getUint32(4), s = 3;
|
|
1852
1852
|
} else {
|
|
1853
|
-
if (
|
|
1853
|
+
if (Ve(i) < a)
|
|
1854
1854
|
break;
|
|
1855
|
-
const p =
|
|
1856
|
-
d.enqueue(
|
|
1855
|
+
const p = We(i, a);
|
|
1856
|
+
d.enqueue(zt(n ? p : vt.decode(p), t)), s = 0;
|
|
1857
1857
|
}
|
|
1858
1858
|
if (a === 0 || a > e) {
|
|
1859
1859
|
d.enqueue(Mt);
|
|
@@ -2010,7 +2010,7 @@ class Nt extends X {
|
|
|
2010
2010
|
* @protected
|
|
2011
2011
|
*/
|
|
2012
2012
|
onData(t) {
|
|
2013
|
-
const i =
|
|
2013
|
+
const i = zt(t, this.socket.binaryType);
|
|
2014
2014
|
this.onPacket(i);
|
|
2015
2015
|
}
|
|
2016
2016
|
/**
|
|
@@ -2193,7 +2193,7 @@ class jn extends $n {
|
|
|
2193
2193
|
}), this.pollXhr = t;
|
|
2194
2194
|
}
|
|
2195
2195
|
}
|
|
2196
|
-
let Oe = class
|
|
2196
|
+
let Oe = class Ge extends X {
|
|
2197
2197
|
/**
|
|
2198
2198
|
* Request constructor
|
|
2199
2199
|
*
|
|
@@ -2247,7 +2247,7 @@ let Oe = class Xe extends X {
|
|
|
2247
2247
|
}, 0);
|
|
2248
2248
|
return;
|
|
2249
2249
|
}
|
|
2250
|
-
typeof document < "u" && (this._index =
|
|
2250
|
+
typeof document < "u" && (this._index = Ge.requestsCount++, Ge.requests[this._index] = this);
|
|
2251
2251
|
}
|
|
2252
2252
|
/**
|
|
2253
2253
|
* Called upon error.
|
|
@@ -2269,7 +2269,7 @@ let Oe = class Xe extends X {
|
|
|
2269
2269
|
this._xhr.abort();
|
|
2270
2270
|
} catch {
|
|
2271
2271
|
}
|
|
2272
|
-
typeof document < "u" && delete
|
|
2272
|
+
typeof document < "u" && delete Ge.requests[this._index], this._xhr = null;
|
|
2273
2273
|
}
|
|
2274
2274
|
}
|
|
2275
2275
|
/**
|
|
@@ -2310,7 +2310,7 @@ const Dn = function() {
|
|
|
2310
2310
|
});
|
|
2311
2311
|
return e && e.responseType !== null;
|
|
2312
2312
|
}();
|
|
2313
|
-
class
|
|
2313
|
+
class Pn extends jn {
|
|
2314
2314
|
constructor(t) {
|
|
2315
2315
|
super(t);
|
|
2316
2316
|
const i = t && t.forceBase64;
|
|
@@ -2334,7 +2334,7 @@ function ks(e) {
|
|
|
2334
2334
|
}
|
|
2335
2335
|
}
|
|
2336
2336
|
const Os = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
|
|
2337
|
-
class
|
|
2337
|
+
class Ln extends Nt {
|
|
2338
2338
|
get name() {
|
|
2339
2339
|
return "websocket";
|
|
2340
2340
|
}
|
|
@@ -2365,7 +2365,7 @@ class Un extends Nt {
|
|
|
2365
2365
|
this.writable = !1;
|
|
2366
2366
|
for (let i = 0; i < t.length; i++) {
|
|
2367
2367
|
const s = t[i], a = i === t.length - 1;
|
|
2368
|
-
|
|
2368
|
+
qt(s, this.supportsBinary, (n) => {
|
|
2369
2369
|
try {
|
|
2370
2370
|
this.doWrite(s, n);
|
|
2371
2371
|
} catch {
|
|
@@ -2391,7 +2391,7 @@ class Un extends Nt {
|
|
|
2391
2391
|
}
|
|
2392
2392
|
}
|
|
2393
2393
|
const St = ne.WebSocket || ne.MozWebSocket;
|
|
2394
|
-
class
|
|
2394
|
+
class Un extends Ln {
|
|
2395
2395
|
createSocket(t, i, s) {
|
|
2396
2396
|
return Os ? new St(t, i, s) : i ? new St(t, i) : new St(t);
|
|
2397
2397
|
}
|
|
@@ -2446,9 +2446,9 @@ class Hn extends Nt {
|
|
|
2446
2446
|
}
|
|
2447
2447
|
}
|
|
2448
2448
|
const En = {
|
|
2449
|
-
websocket:
|
|
2449
|
+
websocket: Un,
|
|
2450
2450
|
webtransport: Hn,
|
|
2451
|
-
polling:
|
|
2451
|
+
polling: Pn
|
|
2452
2452
|
}, xn = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, Bn = [
|
|
2453
2453
|
"source",
|
|
2454
2454
|
"protocol",
|
|
@@ -2760,7 +2760,7 @@ class ge extends X {
|
|
|
2760
2760
|
}
|
|
2761
2761
|
}
|
|
2762
2762
|
ge.protocol = vs;
|
|
2763
|
-
class
|
|
2763
|
+
class qn extends ge {
|
|
2764
2764
|
constructor() {
|
|
2765
2765
|
super(...arguments), this._upgrades = [];
|
|
2766
2766
|
}
|
|
@@ -2832,7 +2832,7 @@ class zn extends ge {
|
|
|
2832
2832
|
return i;
|
|
2833
2833
|
}
|
|
2834
2834
|
}
|
|
2835
|
-
let
|
|
2835
|
+
let zn = class extends qn {
|
|
2836
2836
|
constructor(t, i = {}) {
|
|
2837
2837
|
const s = typeof t == "object" ? t : i;
|
|
2838
2838
|
(!s.transports || s.transports && typeof s.transports[0] == "string") && (s.transports = (s.transports || ["polling", "websocket", "webtransport"]).map((a) => En[a]).filter((a) => !!a)), super(t, s);
|
|
@@ -2844,25 +2844,25 @@ function Nn(e, t = "", i) {
|
|
|
2844
2844
|
const n = s.host.indexOf(":") !== -1 ? "[" + s.host + "]" : s.host;
|
|
2845
2845
|
return s.id = s.protocol + "://" + n + ":" + s.port + t, s.href = s.protocol + "://" + n + (i && i.port === s.port ? "" : ":" + s.port), s;
|
|
2846
2846
|
}
|
|
2847
|
-
const Xn = typeof ArrayBuffer == "function",
|
|
2847
|
+
const Xn = typeof ArrayBuffer == "function", Gn = (e) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(e) : e.buffer instanceof ArrayBuffer, Ts = Object.prototype.toString, Jn = typeof Blob == "function" || typeof Blob < "u" && Ts.call(Blob) === "[object BlobConstructor]", Yn = typeof File == "function" || typeof File < "u" && Ts.call(File) === "[object FileConstructor]";
|
|
2848
2848
|
function Xt(e) {
|
|
2849
|
-
return Xn && (e instanceof ArrayBuffer ||
|
|
2849
|
+
return Xn && (e instanceof ArrayBuffer || Gn(e)) || Jn && e instanceof Blob || Yn && e instanceof File;
|
|
2850
2850
|
}
|
|
2851
|
-
function
|
|
2851
|
+
function Ye(e, t) {
|
|
2852
2852
|
if (!e || typeof e != "object")
|
|
2853
2853
|
return !1;
|
|
2854
2854
|
if (Array.isArray(e)) {
|
|
2855
2855
|
for (let i = 0, s = e.length; i < s; i++)
|
|
2856
|
-
if (
|
|
2856
|
+
if (Ye(e[i]))
|
|
2857
2857
|
return !0;
|
|
2858
2858
|
return !1;
|
|
2859
2859
|
}
|
|
2860
2860
|
if (Xt(e))
|
|
2861
2861
|
return !0;
|
|
2862
2862
|
if (e.toJSON && typeof e.toJSON == "function" && arguments.length === 1)
|
|
2863
|
-
return
|
|
2863
|
+
return Ye(e.toJSON(), !0);
|
|
2864
2864
|
for (const i in e)
|
|
2865
|
-
if (Object.prototype.hasOwnProperty.call(e, i) &&
|
|
2865
|
+
if (Object.prototype.hasOwnProperty.call(e, i) && Ye(e[i]))
|
|
2866
2866
|
return !0;
|
|
2867
2867
|
return !1;
|
|
2868
2868
|
}
|
|
@@ -2890,9 +2890,9 @@ function Dt(e, t) {
|
|
|
2890
2890
|
return e;
|
|
2891
2891
|
}
|
|
2892
2892
|
function Zn(e, t) {
|
|
2893
|
-
return e.data =
|
|
2893
|
+
return e.data = Pt(e.data, t), delete e.attachments, e;
|
|
2894
2894
|
}
|
|
2895
|
-
function
|
|
2895
|
+
function Pt(e, t) {
|
|
2896
2896
|
if (!e)
|
|
2897
2897
|
return e;
|
|
2898
2898
|
if (e && e._placeholder === !0) {
|
|
@@ -2901,10 +2901,10 @@ function Lt(e, t) {
|
|
|
2901
2901
|
throw new Error("illegal attachments");
|
|
2902
2902
|
} else if (Array.isArray(e))
|
|
2903
2903
|
for (let i = 0; i < e.length; i++)
|
|
2904
|
-
e[i] =
|
|
2904
|
+
e[i] = Pt(e[i], t);
|
|
2905
2905
|
else if (typeof e == "object")
|
|
2906
2906
|
for (const i in e)
|
|
2907
|
-
Object.prototype.hasOwnProperty.call(e, i) && (e[i] =
|
|
2907
|
+
Object.prototype.hasOwnProperty.call(e, i) && (e[i] = Pt(e[i], t));
|
|
2908
2908
|
return e;
|
|
2909
2909
|
}
|
|
2910
2910
|
const Qn = [
|
|
@@ -2936,7 +2936,7 @@ class to {
|
|
|
2936
2936
|
* @param {Object} obj - packet object
|
|
2937
2937
|
*/
|
|
2938
2938
|
encode(t) {
|
|
2939
|
-
return (t.type === H.EVENT || t.type === H.ACK) &&
|
|
2939
|
+
return (t.type === H.EVENT || t.type === H.ACK) && Ye(t) ? this.encodeAsBinary({
|
|
2940
2940
|
type: t.type === H.EVENT ? H.BINARY_EVENT : H.BINARY_ACK,
|
|
2941
2941
|
nsp: t.nsp,
|
|
2942
2942
|
data: t.data,
|
|
@@ -2963,7 +2963,7 @@ class to {
|
|
|
2963
2963
|
function Ti(e) {
|
|
2964
2964
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
2965
2965
|
}
|
|
2966
|
-
class
|
|
2966
|
+
class Gt extends X {
|
|
2967
2967
|
/**
|
|
2968
2968
|
* Decoder constructor
|
|
2969
2969
|
*
|
|
@@ -3038,7 +3038,7 @@ class Jt extends X {
|
|
|
3038
3038
|
}
|
|
3039
3039
|
if (t.charAt(++i)) {
|
|
3040
3040
|
const n = this.tryParse(t.substr(i));
|
|
3041
|
-
if (
|
|
3041
|
+
if (Gt.isPayloadValid(s.type, n))
|
|
3042
3042
|
s.data = n;
|
|
3043
3043
|
else
|
|
3044
3044
|
throw new Error("invalid payload");
|
|
@@ -3103,7 +3103,7 @@ class io {
|
|
|
3103
3103
|
}
|
|
3104
3104
|
const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3105
3105
|
__proto__: null,
|
|
3106
|
-
Decoder:
|
|
3106
|
+
Decoder: Gt,
|
|
3107
3107
|
Encoder: to,
|
|
3108
3108
|
get PacketType() {
|
|
3109
3109
|
return H;
|
|
@@ -3716,10 +3716,10 @@ class Rs extends X {
|
|
|
3716
3716
|
}
|
|
3717
3717
|
}
|
|
3718
3718
|
}
|
|
3719
|
-
function
|
|
3719
|
+
function Me(e) {
|
|
3720
3720
|
e = e || {}, this.ms = e.min || 100, this.max = e.max || 1e4, this.factor = e.factor || 2, this.jitter = e.jitter > 0 && e.jitter <= 1 ? e.jitter : 0, this.attempts = 0;
|
|
3721
3721
|
}
|
|
3722
|
-
|
|
3722
|
+
Me.prototype.duration = function() {
|
|
3723
3723
|
var e = this.ms * Math.pow(this.factor, this.attempts++);
|
|
3724
3724
|
if (this.jitter) {
|
|
3725
3725
|
var t = Math.random(), i = Math.floor(t * this.jitter * e);
|
|
@@ -3727,22 +3727,22 @@ $e.prototype.duration = function() {
|
|
|
3727
3727
|
}
|
|
3728
3728
|
return Math.min(e, this.max) | 0;
|
|
3729
3729
|
};
|
|
3730
|
-
|
|
3730
|
+
Me.prototype.reset = function() {
|
|
3731
3731
|
this.attempts = 0;
|
|
3732
3732
|
};
|
|
3733
|
-
|
|
3733
|
+
Me.prototype.setMin = function(e) {
|
|
3734
3734
|
this.ms = e;
|
|
3735
3735
|
};
|
|
3736
|
-
|
|
3736
|
+
Me.prototype.setMax = function(e) {
|
|
3737
3737
|
this.max = e;
|
|
3738
3738
|
};
|
|
3739
|
-
|
|
3739
|
+
Me.prototype.setJitter = function(e) {
|
|
3740
3740
|
this.jitter = e;
|
|
3741
3741
|
};
|
|
3742
|
-
class
|
|
3742
|
+
class Lt extends X {
|
|
3743
3743
|
constructor(t, i) {
|
|
3744
3744
|
var s;
|
|
3745
|
-
super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (i = t, t = void 0), i = i || {}, i.path = i.path || "/socket.io", this.opts = i, lt(this, i), this.reconnection(i.reconnection !== !1), this.reconnectionAttempts(i.reconnectionAttempts || 1 / 0), this.reconnectionDelay(i.reconnectionDelay || 1e3), this.reconnectionDelayMax(i.reconnectionDelayMax || 5e3), this.randomizationFactor((s = i.randomizationFactor) !== null && s !== void 0 ? s : 0.5), this.backoff = new
|
|
3745
|
+
super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (i = t, t = void 0), i = i || {}, i.path = i.path || "/socket.io", this.opts = i, lt(this, i), this.reconnection(i.reconnection !== !1), this.reconnectionAttempts(i.reconnectionAttempts || 1 / 0), this.reconnectionDelay(i.reconnectionDelay || 1e3), this.reconnectionDelayMax(i.reconnectionDelayMax || 5e3), this.randomizationFactor((s = i.randomizationFactor) !== null && s !== void 0 ? s : 0.5), this.backoff = new Me({
|
|
3746
3746
|
min: this.reconnectionDelay(),
|
|
3747
3747
|
max: this.reconnectionDelayMax(),
|
|
3748
3748
|
jitter: this.randomizationFactor()
|
|
@@ -3790,7 +3790,7 @@ class Ut extends X {
|
|
|
3790
3790
|
open(t) {
|
|
3791
3791
|
if (~this._readyState.indexOf("open"))
|
|
3792
3792
|
return this;
|
|
3793
|
-
this.engine = new
|
|
3793
|
+
this.engine = new zn(this.uri, this.opts);
|
|
3794
3794
|
const i = this.engine, s = this;
|
|
3795
3795
|
this._readyState = "opening", this.skipReconnect = !1;
|
|
3796
3796
|
const a = re(i, "open", function() {
|
|
@@ -3977,20 +3977,20 @@ class Ut extends X {
|
|
|
3977
3977
|
this._reconnecting = !1, this.backoff.reset(), this.emitReserved("reconnect", t);
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
|
-
const
|
|
3981
|
-
function
|
|
3980
|
+
const De = {};
|
|
3981
|
+
function Ke(e, t) {
|
|
3982
3982
|
typeof e == "object" && (t = e, e = void 0), t = t || {};
|
|
3983
|
-
const i = Nn(e, t.path || "/socket.io"), s = i.source, a = i.id, n = i.path, l =
|
|
3983
|
+
const i = Nn(e, t.path || "/socket.io"), s = i.source, a = i.id, n = i.path, l = De[a] && n in De[a].nsps, d = t.forceNew || t["force new connection"] || t.multiplex === !1 || l;
|
|
3984
3984
|
let p;
|
|
3985
|
-
return d ? p = new
|
|
3985
|
+
return d ? p = new Lt(s, t) : (De[a] || (De[a] = new Lt(s, t)), p = De[a]), i.query && !t.query && (t.query = i.queryKey), p.socket(i.path, t);
|
|
3986
3986
|
}
|
|
3987
|
-
Object.assign(
|
|
3988
|
-
Manager:
|
|
3987
|
+
Object.assign(Ke, {
|
|
3988
|
+
Manager: Lt,
|
|
3989
3989
|
Socket: Rs,
|
|
3990
|
-
io:
|
|
3991
|
-
connect:
|
|
3990
|
+
io: Ke,
|
|
3991
|
+
connect: Ke
|
|
3992
3992
|
});
|
|
3993
|
-
const no =
|
|
3993
|
+
const no = Ke("https://golstats-live-server-sockets.azurewebsites.net/", {
|
|
3994
3994
|
autoConnect: !1,
|
|
3995
3995
|
transports: ["websocket"]
|
|
3996
3996
|
});
|
|
@@ -4068,7 +4068,7 @@ const fe = (e, t) => {
|
|
|
4068
4068
|
}, jo = {
|
|
4069
4069
|
key: 5,
|
|
4070
4070
|
class: "gsc-goal_card_div_wrapper"
|
|
4071
|
-
}, Do = { class: "cont-display-gsc" },
|
|
4071
|
+
}, Do = { class: "cont-display-gsc" }, Po = ["src"], Lo = { class: "gsc-cont-info-by-player-row1" }, Uo = { class: "shield-player-cont" }, Ho = ["src"];
|
|
4072
4072
|
function Eo(e, t, i, s, a, n) {
|
|
4073
4073
|
return m(), g(F, null, [
|
|
4074
4074
|
i.type == 1 ? (m(), g("div", lo, [
|
|
@@ -4090,7 +4090,7 @@ function Eo(e, t, i, s, a, n) {
|
|
|
4090
4090
|
o("div", fo, [
|
|
4091
4091
|
o("div", {
|
|
4092
4092
|
class: "gsc-cont-info-by-player-row2-line-name",
|
|
4093
|
-
style:
|
|
4093
|
+
style: q(
|
|
4094
4094
|
i.data.section == "Historicos" && i.data.type != "Postmatch" ? "text-decoration: none !important; cursor: default !important" : ""
|
|
4095
4095
|
),
|
|
4096
4096
|
onClick: t[0] || (t[0] = (l) => n.openProfile({
|
|
@@ -4148,7 +4148,7 @@ function Eo(e, t, i, s, a, n) {
|
|
|
4148
4148
|
o("div", To, [
|
|
4149
4149
|
o("div", {
|
|
4150
4150
|
class: "gsc-cont-info-by-player-row2-line-name2",
|
|
4151
|
-
style:
|
|
4151
|
+
style: q(
|
|
4152
4152
|
i.data.section == "Historicos" && i.data.type != "Postmatch" ? "text-decoration: none !important; cursor: default !important" : ""
|
|
4153
4153
|
),
|
|
4154
4154
|
onClick: t[1] || (t[1] = (l) => n.openProfile({
|
|
@@ -4189,12 +4189,12 @@ function Eo(e, t, i, s, a, n) {
|
|
|
4189
4189
|
o("img", {
|
|
4190
4190
|
class: "gsc-img-country",
|
|
4191
4191
|
src: i.data.nation
|
|
4192
|
-
}, null, 8,
|
|
4192
|
+
}, null, 8, Po)
|
|
4193
4193
|
])
|
|
4194
4194
|
])
|
|
4195
4195
|
]),
|
|
4196
|
-
o("div",
|
|
4197
|
-
o("div",
|
|
4196
|
+
o("div", Lo, [
|
|
4197
|
+
o("div", Uo, [
|
|
4198
4198
|
o("img", {
|
|
4199
4199
|
class: "gsc-logo-player",
|
|
4200
4200
|
src: i.data.img
|
|
@@ -4369,7 +4369,7 @@ function Vo({ config: e, slidesCount: t }) {
|
|
|
4369
4369
|
}
|
|
4370
4370
|
return n;
|
|
4371
4371
|
}
|
|
4372
|
-
function
|
|
4372
|
+
function Ut({ val: e, max: t, min: i }) {
|
|
4373
4373
|
return t < i ? e : Math.min(Math.max(e, i), t);
|
|
4374
4374
|
}
|
|
4375
4375
|
function Wo({ config: e, currentSlide: t, slidesCount: i }) {
|
|
@@ -4387,7 +4387,7 @@ function Wo({ config: e, currentSlide: t, slidesCount: i }) {
|
|
|
4387
4387
|
l -= n - 1;
|
|
4388
4388
|
break;
|
|
4389
4389
|
}
|
|
4390
|
-
return a ? l :
|
|
4390
|
+
return a ? l : Ut({
|
|
4391
4391
|
val: l,
|
|
4392
4392
|
max: i - n,
|
|
4393
4393
|
min: 0
|
|
@@ -4402,14 +4402,14 @@ function Fs(e) {
|
|
|
4402
4402
|
function Ht({ val: e, max: t, min: i = 0 }) {
|
|
4403
4403
|
return e > t ? Ht({ val: e - (t + 1), max: t, min: i }) : e < i ? Ht({ val: e + (t + 1), max: t, min: i }) : e;
|
|
4404
4404
|
}
|
|
4405
|
-
function
|
|
4405
|
+
function qo(e, t) {
|
|
4406
4406
|
let i;
|
|
4407
4407
|
return t ? function(...s) {
|
|
4408
4408
|
const a = this;
|
|
4409
4409
|
i || (e.apply(a, s), i = !0, setTimeout(() => i = !1, t));
|
|
4410
4410
|
} : e;
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function zo(e, t) {
|
|
4413
4413
|
let i;
|
|
4414
4414
|
return function(...s) {
|
|
4415
4415
|
i && clearTimeout(i), i = setTimeout(() => {
|
|
@@ -4423,7 +4423,7 @@ function No(e = "", t = {}) {
|
|
|
4423
4423
|
var Xo = Et({
|
|
4424
4424
|
name: "ARIA",
|
|
4425
4425
|
setup() {
|
|
4426
|
-
const e =
|
|
4426
|
+
const e = ve("config", Le(Object.assign({}, Y))), t = ve("currentSlide", U(0)), i = ve("slidesCount", U(0));
|
|
4427
4427
|
return () => ke("div", {
|
|
4428
4428
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
4429
4429
|
"aria-live": "polite",
|
|
@@ -4433,14 +4433,14 @@ var Xo = Et({
|
|
|
4433
4433
|
slidesCount: i.value
|
|
4434
4434
|
}));
|
|
4435
4435
|
}
|
|
4436
|
-
}),
|
|
4436
|
+
}), Go = Et({
|
|
4437
4437
|
name: "Carousel",
|
|
4438
4438
|
props: Ri,
|
|
4439
4439
|
setup(e, { slots: t, emit: i, expose: s }) {
|
|
4440
4440
|
var a;
|
|
4441
|
-
const n =
|
|
4441
|
+
const n = U(null), l = U([]), d = U(0), p = U(0), y = Le(Object.assign({}, Y));
|
|
4442
4442
|
let f = Object.assign({}, Y), b;
|
|
4443
|
-
const c =
|
|
4443
|
+
const c = U((a = e.modelValue) !== null && a !== void 0 ? a : 0), I = U(0), w = U(0), _ = U(0), u = U(0);
|
|
4444
4444
|
let O, D;
|
|
4445
4445
|
pe("config", y), pe("slidesCount", p), pe("currentSlide", c), pe("maxSlide", _), pe("minSlide", u), pe("slideWidth", d);
|
|
4446
4446
|
function v() {
|
|
@@ -4449,27 +4449,27 @@ var Xo = Et({
|
|
|
4449
4449
|
function h() {
|
|
4450
4450
|
if (!b || !Object.keys(b).length)
|
|
4451
4451
|
return;
|
|
4452
|
-
const
|
|
4453
|
-
let
|
|
4454
|
-
|
|
4455
|
-
const me = window.matchMedia(`(min-width: ${
|
|
4456
|
-
return me && (
|
|
4457
|
-
}), S(
|
|
4452
|
+
const P = Object.keys(b).map((G) => Number(G)).sort((G, me) => +me - +G);
|
|
4453
|
+
let J = Object.assign({}, f);
|
|
4454
|
+
P.some((G) => {
|
|
4455
|
+
const me = window.matchMedia(`(min-width: ${G}px)`).matches;
|
|
4456
|
+
return me && (J = Object.assign(Object.assign({}, J), b[G])), me;
|
|
4457
|
+
}), S(J);
|
|
4458
4458
|
}
|
|
4459
|
-
function S(
|
|
4460
|
-
Object.entries(
|
|
4459
|
+
function S(P) {
|
|
4460
|
+
Object.entries(P).forEach(([J, G]) => y[J] = G);
|
|
4461
4461
|
}
|
|
4462
|
-
const $ =
|
|
4462
|
+
const $ = zo(() => {
|
|
4463
4463
|
h(), V();
|
|
4464
4464
|
}, 16);
|
|
4465
4465
|
function V() {
|
|
4466
4466
|
if (!n.value)
|
|
4467
4467
|
return;
|
|
4468
|
-
const
|
|
4469
|
-
d.value =
|
|
4468
|
+
const P = n.value.getBoundingClientRect();
|
|
4469
|
+
d.value = P.width / y.itemsToShow;
|
|
4470
4470
|
}
|
|
4471
4471
|
function j() {
|
|
4472
|
-
p.value <= 0 || (w.value = Math.ceil((p.value - 1) / 2), _.value = Bo({ config: y, slidesCount: p.value }), u.value = Vo({ config: y, slidesCount: p.value }), y.wrapAround || (c.value =
|
|
4472
|
+
p.value <= 0 || (w.value = Math.ceil((p.value - 1) / 2), _.value = Bo({ config: y, slidesCount: p.value }), u.value = Vo({ config: y, slidesCount: p.value }), y.wrapAround || (c.value = Ut({
|
|
4473
4473
|
val: c.value,
|
|
4474
4474
|
max: _.value,
|
|
4475
4475
|
min: u.value
|
|
@@ -4482,88 +4482,88 @@ var Xo = Et({
|
|
|
4482
4482
|
passive: !0
|
|
4483
4483
|
});
|
|
4484
4484
|
});
|
|
4485
|
-
let
|
|
4486
|
-
const oe = { x: 0, y: 0 }, ye = { x: 0, y: 0 }, N = Le({ x: 0, y: 0 }), Z =
|
|
4485
|
+
let z = !1;
|
|
4486
|
+
const oe = { x: 0, y: 0 }, ye = { x: 0, y: 0 }, N = Le({ x: 0, y: 0 }), Z = U(!1), Q = U(!1), dt = () => {
|
|
4487
4487
|
Z.value = !0;
|
|
4488
4488
|
}, ht = () => {
|
|
4489
4489
|
Z.value = !1;
|
|
4490
4490
|
};
|
|
4491
|
-
function ae(
|
|
4492
|
-
["INPUT", "TEXTAREA", "SELECT"].includes(
|
|
4491
|
+
function ae(P) {
|
|
4492
|
+
["INPUT", "TEXTAREA", "SELECT"].includes(P.target.tagName) || (z = P.type === "touchstart", z || P.preventDefault(), !(!z && P.button !== 0 || be.value) && (oe.x = z ? P.touches[0].clientX : P.clientX, oe.y = z ? P.touches[0].clientY : P.clientY, document.addEventListener(z ? "touchmove" : "mousemove", _e, !0), document.addEventListener(z ? "touchend" : "mouseup", R, !0)));
|
|
4493
4493
|
}
|
|
4494
|
-
const
|
|
4495
|
-
Q.value = !0, ye.x =
|
|
4496
|
-
const
|
|
4497
|
-
N.y =
|
|
4494
|
+
const _e = qo((P) => {
|
|
4495
|
+
Q.value = !0, ye.x = z ? P.touches[0].clientX : P.clientX, ye.y = z ? P.touches[0].clientY : P.clientY;
|
|
4496
|
+
const J = ye.x - oe.x, G = ye.y - oe.y;
|
|
4497
|
+
N.y = G, N.x = J;
|
|
4498
4498
|
}, y.throttle);
|
|
4499
4499
|
function R() {
|
|
4500
|
-
const
|
|
4501
|
-
if (
|
|
4500
|
+
const P = y.dir === "rtl" ? -1 : 1, J = Math.sign(N.x) * 0.4, G = Math.round(N.x / d.value + J) * P;
|
|
4501
|
+
if (G && !z) {
|
|
4502
4502
|
const me = (mt) => {
|
|
4503
4503
|
mt.stopPropagation(), window.removeEventListener("click", me, !0);
|
|
4504
4504
|
};
|
|
4505
4505
|
window.addEventListener("click", me, !0);
|
|
4506
4506
|
}
|
|
4507
|
-
|
|
4507
|
+
we(c.value - G), N.x = 0, N.y = 0, Q.value = !1, document.removeEventListener(z ? "touchmove" : "mousemove", _e, !0), document.removeEventListener(z ? "touchend" : "mouseup", R, !0);
|
|
4508
4508
|
}
|
|
4509
4509
|
function M() {
|
|
4510
4510
|
!y.autoplay || y.autoplay <= 0 || (O = setInterval(() => {
|
|
4511
|
-
y.pauseAutoplayOnHover && Z.value ||
|
|
4511
|
+
y.pauseAutoplayOnHover && Z.value || Be();
|
|
4512
4512
|
}, y.autoplay));
|
|
4513
4513
|
}
|
|
4514
4514
|
function W() {
|
|
4515
4515
|
O && (clearInterval(O), O = null), M();
|
|
4516
4516
|
}
|
|
4517
|
-
const
|
|
4518
|
-
function
|
|
4519
|
-
const
|
|
4520
|
-
val:
|
|
4517
|
+
const be = U(!1);
|
|
4518
|
+
function we(P) {
|
|
4519
|
+
const J = y.wrapAround ? P : Ut({
|
|
4520
|
+
val: P,
|
|
4521
4521
|
max: _.value,
|
|
4522
4522
|
min: u.value
|
|
4523
4523
|
});
|
|
4524
|
-
c.value ===
|
|
4525
|
-
slidingToIndex:
|
|
4524
|
+
c.value === J || be.value || (i("slide-start", {
|
|
4525
|
+
slidingToIndex: P,
|
|
4526
4526
|
currentSlideIndex: c.value,
|
|
4527
4527
|
prevSlideIndex: I.value,
|
|
4528
4528
|
slidesCount: p.value
|
|
4529
|
-
}),
|
|
4529
|
+
}), be.value = !0, I.value = c.value, c.value = J, D = setTimeout(() => {
|
|
4530
4530
|
if (y.wrapAround) {
|
|
4531
|
-
const
|
|
4532
|
-
val:
|
|
4531
|
+
const G = Ht({
|
|
4532
|
+
val: J,
|
|
4533
4533
|
max: _.value,
|
|
4534
4534
|
min: 0
|
|
4535
4535
|
});
|
|
4536
|
-
|
|
4536
|
+
G !== c.value && (c.value = G, i("loop", {
|
|
4537
4537
|
currentSlideIndex: c.value,
|
|
4538
|
-
slidingToIndex:
|
|
4538
|
+
slidingToIndex: P
|
|
4539
4539
|
}));
|
|
4540
4540
|
}
|
|
4541
4541
|
i("update:modelValue", c.value), i("slide-end", {
|
|
4542
4542
|
currentSlideIndex: c.value,
|
|
4543
4543
|
prevSlideIndex: I.value,
|
|
4544
4544
|
slidesCount: p.value
|
|
4545
|
-
}),
|
|
4545
|
+
}), be.value = !1, W();
|
|
4546
4546
|
}, y.transition));
|
|
4547
4547
|
}
|
|
4548
|
-
function
|
|
4549
|
-
|
|
4548
|
+
function Be() {
|
|
4549
|
+
we(c.value + y.itemsToScroll);
|
|
4550
4550
|
}
|
|
4551
4551
|
function ut() {
|
|
4552
|
-
|
|
4552
|
+
we(c.value - y.itemsToScroll);
|
|
4553
4553
|
}
|
|
4554
|
-
const ei = { slideTo:
|
|
4555
|
-
pe("nav", ei), pe("isSliding",
|
|
4556
|
-
const ti =
|
|
4554
|
+
const ei = { slideTo: we, next: Be, prev: ut };
|
|
4555
|
+
pe("nav", ei), pe("isSliding", be);
|
|
4556
|
+
const ti = Te(() => Wo({
|
|
4557
4557
|
config: y,
|
|
4558
4558
|
currentSlide: c.value,
|
|
4559
4559
|
slidesCount: p.value
|
|
4560
4560
|
}));
|
|
4561
4561
|
pe("slidesToScroll", ti);
|
|
4562
|
-
const Ms =
|
|
4563
|
-
const
|
|
4562
|
+
const Ms = Te(() => {
|
|
4563
|
+
const P = y.dir === "rtl" ? -1 : 1, J = ti.value * d.value * P;
|
|
4564
4564
|
return {
|
|
4565
|
-
transform: `translateX(${N.x -
|
|
4566
|
-
transition: `${
|
|
4565
|
+
transform: `translateX(${N.x - J}px)`,
|
|
4566
|
+
transition: `${be.value ? y.transition : 0}ms`,
|
|
4567
4567
|
margin: y.wrapAround ? `0 -${p.value * d.value}px` : "",
|
|
4568
4568
|
width: "100%"
|
|
4569
4569
|
};
|
|
@@ -4571,18 +4571,18 @@ var Xo = Et({
|
|
|
4571
4571
|
function ii() {
|
|
4572
4572
|
v(), h(), j(), V(), W();
|
|
4573
4573
|
}
|
|
4574
|
-
Object.keys(Ri).forEach((
|
|
4575
|
-
["modelValue"].includes(
|
|
4576
|
-
}), ce(() => e.modelValue, (
|
|
4577
|
-
|
|
4574
|
+
Object.keys(Ri).forEach((P) => {
|
|
4575
|
+
["modelValue"].includes(P) || ce(() => e[P], ii);
|
|
4576
|
+
}), ce(() => e.modelValue, (P) => {
|
|
4577
|
+
P !== c.value && we(Number(P));
|
|
4578
4578
|
}), ce(p, j), i("before-init"), v();
|
|
4579
4579
|
const si = {
|
|
4580
4580
|
config: y,
|
|
4581
4581
|
slidesCount: p,
|
|
4582
4582
|
slideWidth: d,
|
|
4583
|
-
next:
|
|
4583
|
+
next: Be,
|
|
4584
4584
|
prev: ut,
|
|
4585
|
-
slideTo:
|
|
4585
|
+
slideTo: we,
|
|
4586
4586
|
currentSlide: c,
|
|
4587
4587
|
maxSlide: _,
|
|
4588
4588
|
minSlide: u,
|
|
@@ -4594,41 +4594,41 @@ var Xo = Et({
|
|
|
4594
4594
|
updateSlideWidth: V,
|
|
4595
4595
|
initDefaultConfigs: v,
|
|
4596
4596
|
restartCarousel: ii,
|
|
4597
|
-
slideTo:
|
|
4598
|
-
next:
|
|
4597
|
+
slideTo: we,
|
|
4598
|
+
next: Be,
|
|
4599
4599
|
prev: ut,
|
|
4600
4600
|
nav: ei,
|
|
4601
4601
|
data: si
|
|
4602
4602
|
});
|
|
4603
4603
|
const ai = t.default || t.slides, ni = t.addons, oi = Le(si);
|
|
4604
4604
|
return () => {
|
|
4605
|
-
const
|
|
4606
|
-
|
|
4607
|
-
let
|
|
4605
|
+
const P = Fs(ai == null ? void 0 : ai(oi)), J = (ni == null ? void 0 : ni(oi)) || [];
|
|
4606
|
+
P.forEach((pt, ft) => pt.props.index = ft);
|
|
4607
|
+
let G = P;
|
|
4608
4608
|
if (y.wrapAround) {
|
|
4609
|
-
const pt =
|
|
4610
|
-
index: -
|
|
4609
|
+
const pt = P.map((gt, Ae) => ri(gt, {
|
|
4610
|
+
index: -P.length + Ae,
|
|
4611
4611
|
isClone: !0,
|
|
4612
|
-
key: `clone-before-${
|
|
4613
|
-
})), ft =
|
|
4614
|
-
index:
|
|
4612
|
+
key: `clone-before-${Ae}`
|
|
4613
|
+
})), ft = P.map((gt, Ae) => ri(gt, {
|
|
4614
|
+
index: P.length + Ae,
|
|
4615
4615
|
isClone: !0,
|
|
4616
|
-
key: `clone-after-${
|
|
4616
|
+
key: `clone-after-${Ae}`
|
|
4617
4617
|
}));
|
|
4618
|
-
|
|
4618
|
+
G = [...pt, ...P, ...ft];
|
|
4619
4619
|
}
|
|
4620
|
-
l.value =
|
|
4620
|
+
l.value = P, p.value = Math.max(P.length, 1);
|
|
4621
4621
|
const me = ke("ol", {
|
|
4622
4622
|
class: "carousel__track",
|
|
4623
4623
|
style: Ms.value,
|
|
4624
4624
|
onMousedownCapture: y.mouseDrag ? ae : null,
|
|
4625
4625
|
onTouchstartPassiveCapture: y.touchDrag ? ae : null
|
|
4626
|
-
},
|
|
4626
|
+
}, G), mt = ke("div", { class: "carousel__viewport" }, me);
|
|
4627
4627
|
return ke("section", {
|
|
4628
4628
|
ref: n,
|
|
4629
4629
|
class: {
|
|
4630
4630
|
carousel: !0,
|
|
4631
|
-
"is-sliding":
|
|
4631
|
+
"is-sliding": be.value,
|
|
4632
4632
|
"is-dragging": Q.value,
|
|
4633
4633
|
"is-hover": Z.value,
|
|
4634
4634
|
"carousel--rtl": y.dir === "rtl"
|
|
@@ -4638,14 +4638,14 @@ var Xo = Et({
|
|
|
4638
4638
|
tabindex: "0",
|
|
4639
4639
|
onMouseenter: dt,
|
|
4640
4640
|
onMouseleave: ht
|
|
4641
|
-
}, [mt,
|
|
4641
|
+
}, [mt, J, ke(Xo)]);
|
|
4642
4642
|
};
|
|
4643
4643
|
}
|
|
4644
4644
|
}), Fi;
|
|
4645
4645
|
(function(e) {
|
|
4646
4646
|
e.arrowUp = "arrowUp", e.arrowDown = "arrowDown", e.arrowRight = "arrowRight", e.arrowLeft = "arrowLeft";
|
|
4647
4647
|
})(Fi || (Fi = {}));
|
|
4648
|
-
var
|
|
4648
|
+
var Jo = Et({
|
|
4649
4649
|
name: "CarouselSlide",
|
|
4650
4650
|
props: {
|
|
4651
4651
|
index: {
|
|
@@ -4658,7 +4658,7 @@ var Go = Et({
|
|
|
4658
4658
|
}
|
|
4659
4659
|
},
|
|
4660
4660
|
setup(e, { slots: t }) {
|
|
4661
|
-
const i =
|
|
4661
|
+
const i = ve("config", Le(Object.assign({}, Y))), s = ve("currentSlide", U(0)), a = ve("slidesToScroll", U(0)), n = ve("isSliding", U(!1)), l = () => e.index === s.value, d = () => e.index === s.value - 1, p = () => e.index === s.value + 1, y = () => {
|
|
4662
4662
|
const f = Math.floor(a.value), b = Math.ceil(a.value + i.itemsToShow - 1);
|
|
4663
4663
|
return e.index >= f && e.index <= b;
|
|
4664
4664
|
};
|
|
@@ -4818,14 +4818,14 @@ const Yo = (e, t) => {
|
|
|
4818
4818
|
emits: ["input", "update:currentItemIndex"],
|
|
4819
4819
|
setup(e, { expose: t, emit: i }) {
|
|
4820
4820
|
const s = e;
|
|
4821
|
-
|
|
4821
|
+
Re((_) => ({
|
|
4822
4822
|
"2c72d674": e.slideLeftArrowBackgroundImage,
|
|
4823
4823
|
"90a63f40": e.slidesArrowsLeftAndRight,
|
|
4824
4824
|
"2627d097": e.slideRightArrowBackgroundImage,
|
|
4825
4825
|
"1904d43f": e.marginTop,
|
|
4826
4826
|
cfb58986: e.secondarySlidesOpacity
|
|
4827
4827
|
}));
|
|
4828
|
-
const a =
|
|
4828
|
+
const a = U(null), n = U({}), l = U(0), d = U(!1);
|
|
4829
4829
|
ce(
|
|
4830
4830
|
a,
|
|
4831
4831
|
(_) => {
|
|
@@ -4888,7 +4888,7 @@ const Yo = (e, t) => {
|
|
|
4888
4888
|
class: r(["gsc-carousel__2d", { "main-slide-priority": e.isMainSlidePriority }])
|
|
4889
4889
|
}, [
|
|
4890
4890
|
o("div", ir, [
|
|
4891
|
-
B(It(
|
|
4891
|
+
B(It(Go), {
|
|
4892
4892
|
ref_key: "carousel2d",
|
|
4893
4893
|
ref: a,
|
|
4894
4894
|
"items-to-show": e.itemsToShow,
|
|
@@ -4896,7 +4896,7 @@ const Yo = (e, t) => {
|
|
|
4896
4896
|
onSlideStart: w
|
|
4897
4897
|
}, {
|
|
4898
4898
|
default: x(() => [
|
|
4899
|
-
(m(!0), g(F, null, te(e.items, (O, D) => (m(), ee(It(
|
|
4899
|
+
(m(!0), g(F, null, te(e.items, (O, D) => (m(), ee(It(Jo), { key: D }, {
|
|
4900
4900
|
default: x(() => [
|
|
4901
4901
|
Ue(_.$slots, "default", { item: O }, void 0, !0)
|
|
4902
4902
|
]),
|
|
@@ -4909,7 +4909,7 @@ const Yo = (e, t) => {
|
|
|
4909
4909
|
e.areSlidesArrowsVisible && e.items.length > 1 ? (m(), g("div", {
|
|
4910
4910
|
key: 0,
|
|
4911
4911
|
class: "gsc-carousel__2d__arrow-left",
|
|
4912
|
-
style:
|
|
4912
|
+
style: q("max-width:" + e.arrowsMaxWidth + "!important"),
|
|
4913
4913
|
onClick: u[0] || (u[0] = (O) => a.value.prev())
|
|
4914
4914
|
}, [
|
|
4915
4915
|
o("div", {
|
|
@@ -4928,7 +4928,7 @@ const Yo = (e, t) => {
|
|
|
4928
4928
|
e.areSlidesArrowsVisible && e.items.length > 1 ? (m(), g("div", {
|
|
4929
4929
|
key: 1,
|
|
4930
4930
|
class: "gsc-carousel__2d__arrow-right",
|
|
4931
|
-
style:
|
|
4931
|
+
style: q("max-width:" + e.arrowsMaxWidth + "!important"),
|
|
4932
4932
|
onClick: u[1] || (u[1] = (O) => y())
|
|
4933
4933
|
}, [
|
|
4934
4934
|
o("div", {
|
|
@@ -4961,7 +4961,7 @@ const Yo = (e, t) => {
|
|
|
4961
4961
|
(m(!0), g(F, null, te(e.items, (O, D) => (m(), g("div", {
|
|
4962
4962
|
key: `i-${D}`,
|
|
4963
4963
|
class: "gsc-carousel__2d__navigation__pagination__item",
|
|
4964
|
-
style:
|
|
4964
|
+
style: q({
|
|
4965
4965
|
height: `${s.navigationHeight}px`,
|
|
4966
4966
|
width: `${l.value === D ? s.navigationActiveWidth : s.navigationActiveWidth / 2}px`,
|
|
4967
4967
|
borderRadius: `${s.navigationBorderRadius}px`,
|
|
@@ -4987,9 +4987,9 @@ const Yo = (e, t) => {
|
|
|
4987
4987
|
], 2))
|
|
4988
4988
|
]));
|
|
4989
4989
|
}
|
|
4990
|
-
},
|
|
4990
|
+
}, Jt = /* @__PURE__ */ Yo(pr, [["__scopeId", "data-v-54620d25"]]);
|
|
4991
4991
|
function fr(e) {
|
|
4992
|
-
const t =
|
|
4992
|
+
const t = U({ width: 0, height: 0 });
|
|
4993
4993
|
function i() {
|
|
4994
4994
|
const s = e.value.getBoundingClientRect();
|
|
4995
4995
|
t.value.width = s.width, t.value.height = s.height;
|
|
@@ -5077,7 +5077,7 @@ const gr = (e, t) => {
|
|
|
5077
5077
|
}
|
|
5078
5078
|
}
|
|
5079
5079
|
}, $i = () => {
|
|
5080
|
-
|
|
5080
|
+
Re((e) => ({
|
|
5081
5081
|
"42d3dba6": e.backgroundColor,
|
|
5082
5082
|
"4de5d2cf": e.height,
|
|
5083
5083
|
"67bafa7b": e.arrowsPosition,
|
|
@@ -5246,7 +5246,7 @@ const Or = /* @__PURE__ */ gr(Yt, [["render", kr], ["__scopeId", "data-v-b548a08
|
|
|
5246
5246
|
arrowsBorder: { type: String, default: "none" }
|
|
5247
5247
|
},
|
|
5248
5248
|
setup() {
|
|
5249
|
-
const e =
|
|
5249
|
+
const e = U("myDivRef"), {
|
|
5250
5250
|
elementSize: t
|
|
5251
5251
|
} = fr(e);
|
|
5252
5252
|
return {
|
|
@@ -5270,7 +5270,7 @@ const Or = /* @__PURE__ */ gr(Yt, [["render", kr], ["__scopeId", "data-v-b548a08
|
|
|
5270
5270
|
}
|
|
5271
5271
|
}
|
|
5272
5272
|
}, Ai = () => {
|
|
5273
|
-
|
|
5273
|
+
Re((e) => ({
|
|
5274
5274
|
cff4a118: e.fontSize,
|
|
5275
5275
|
"42aab7f6": e.borderWidth,
|
|
5276
5276
|
d29bcbd2: e.fontFamily,
|
|
@@ -5293,17 +5293,17 @@ const Rr = { ref: "myDivRef" }, Fr = {
|
|
|
5293
5293
|
key: 2,
|
|
5294
5294
|
class: "gs-switch-container-carousel"
|
|
5295
5295
|
}, Dr = ["onClick"];
|
|
5296
|
-
function
|
|
5296
|
+
function Pr(e, t, i, s, a, n) {
|
|
5297
5297
|
const l = le("GSCSlider");
|
|
5298
5298
|
return m(), g("div", Rr, [
|
|
5299
5299
|
i.type == 0 ? (m(), g("div", Fr, [
|
|
5300
5300
|
o("div", {
|
|
5301
5301
|
class: "gs-switch-container__control",
|
|
5302
|
-
style:
|
|
5302
|
+
style: q([n.customGrid(s.elementSize)])
|
|
5303
5303
|
}, [
|
|
5304
5304
|
(m(!0), g(F, null, te(i.buttons, (d, p) => (m(), g("div", {
|
|
5305
5305
|
class: "gs-switch-container__control__button-option",
|
|
5306
|
-
style:
|
|
5306
|
+
style: q([{ height: i.height }, i.selectedOption == d ? { borderColor: i.colorOptionActive, color: i.colorFont + "!important", background: i.backgroundOptionActive } : { borderColor: i.colorOptionDisable, color: "grey !important" }]),
|
|
5307
5307
|
key: p,
|
|
5308
5308
|
onClick: (y) => (i.selectedOption = d, n.clickEmitEvent(d))
|
|
5309
5309
|
}, T(d), 13, $r))), 128))
|
|
@@ -5313,11 +5313,11 @@ function Lr(e, t, i, s, a, n) {
|
|
|
5313
5313
|
i.type == 1 ? (m(), g("div", Mr, [
|
|
5314
5314
|
o("div", {
|
|
5315
5315
|
class: "gs-switch-container-type__control",
|
|
5316
|
-
style:
|
|
5316
|
+
style: q([n.customGrid(s.elementSize)])
|
|
5317
5317
|
}, [
|
|
5318
5318
|
(m(!0), g(F, null, te(i.buttons, (d, p) => (m(), g("div", {
|
|
5319
5319
|
class: "gs-switch-container-type__control__button-option-type",
|
|
5320
|
-
style:
|
|
5320
|
+
style: q([{ height: i.height }, i.selectedOption == d ? { borderColor: i.colorOptionActive, color: i.colorFont + "!important", background: i.backgroundOptionActive } : { borderColor: i.colorOptionDisable, borderWidth: "0px", borderWidth: "0px !important", color: "grey !important", background: i.backgroundOptionDisable }]),
|
|
5321
5321
|
key: p,
|
|
5322
5322
|
onClick: (y) => (i.selectedOption = d, n.clickEmitEvent(d))
|
|
5323
5323
|
}, T(d), 13, Ar))), 128))
|
|
@@ -5341,7 +5341,7 @@ function Lr(e, t, i, s, a, n) {
|
|
|
5341
5341
|
default: x(() => [
|
|
5342
5342
|
(m(!0), g(F, null, te(i.buttons, (d, p) => (m(), g("div", {
|
|
5343
5343
|
class: "button-option-multi",
|
|
5344
|
-
style:
|
|
5344
|
+
style: q([{ height: i.height }, i.selectedOption == d ? { borderColor: i.colorOptionActive, color: i.colorFont + "!important", background: i.backgroundOptionActive } : { borderColor: i.colorOptionDisable, color: "grey !important" }]),
|
|
5345
5345
|
key: p,
|
|
5346
5346
|
onClick: (y) => (i.selectedOption = d, n.clickEmitEvent(d))
|
|
5347
5347
|
}, T(d), 13, Dr))), 128))
|
|
@@ -5351,21 +5351,21 @@ function Lr(e, t, i, s, a, n) {
|
|
|
5351
5351
|
])) : k("", !0)
|
|
5352
5352
|
], 512);
|
|
5353
5353
|
}
|
|
5354
|
-
const ct = /* @__PURE__ */ Tr(Kt, [["render",
|
|
5355
|
-
selectoritem:
|
|
5356
|
-
selectoritem2:
|
|
5354
|
+
const ct = /* @__PURE__ */ Tr(Kt, [["render", Pr], ["__scopeId", "data-v-8a86dfaf"]]), Lr = "_selectoritem_1hm4i_137", Ur = "_selectoritem2_1hm4i_157", Hr = "_gscheaderlineup_1hm4i_177", Er = "_anNoEstn_1hm4i_191", xr = "_groupsLeague_1hm4i_197", Br = "_jugadores_1hm4i_209", Vr = "_switchOption_1hm4i_219", Wr = "_jugadores1_1hm4i_239", qr = "_switchOption1_1hm4i_249", zr = "_switchStatesBig_1hm4i_265", Nr = "_groupsLeagueParent_1hm4i_283", Xr = "_imgHomeTeamIcon_1hm4i_301", Gr = "_imgHomeTeamWrapper_1hm4i_313", Jr = "_teamContainer_1hm4i_337", Yr = "_name_1hm4i_361", Kr = "_homeTeamContainer_1hm4i_373", Zr = "_div_1hm4i_393", Qr = "_scoreContainer_1hm4i_401", el = "_scoreContainerWrapper_1hm4i_421", tl = "_teamContainer1_1hm4i_447", il = "_awayTeamContainer_1hm4i_471", sl = "_matchContainer_1hm4i_491", al = "_sliderMatchesChild_1hm4i_509", nl = "_manchesterUnited_1hm4i_521", ol = "_sliderMatchesItem_1hm4i_533", rl = "_sliderMatches_1hm4i_509", ll = "_sortIcon_1hm4i_569", cl = "_filtros_1hm4i_583", dl = "_sortParent_1hm4i_599", hl = "_shapeIcon_1hm4i_613", ul = "_btnFilter_1hm4i_623", ml = "_btnFilter1_1hm4i_651", pl = "_btnFilterParent_1hm4i_679", fl = "_backArrowIcon_1hm4i_695", gl = "_teamContainer2_1hm4i_707", yl = "_homeTeam_1hm4i_373", _l = "_div4_1hm4i_735", bl = "_finalScore_1hm4i_745", wl = "_manchesterUnited1_1hm4i_771", vl = "_scoreContainer1_1hm4i_785", Sl = "_match_1hm4i_491", Cl = "_manchesterUnited2_1hm4i_821", Il = "_btnDetails_1hm4i_831", kl = "_matchContainer1_1hm4i_851", Ol = "_goalChild_1hm4i_867", Tl = "_goal_1hm4i_867", Rl = "_manchesterUnited3_1hm4i_893", Fl = "_minuteEvent_1hm4i_907", $l = "_yellowCard_1hm4i_921", Ml = "_awayTeamEvents_1hm4i_935", Al = "_rectangle_1hm4i_949", jl = "_homeTeamEvents_1hm4i_963", Dl = "_totalEvents_1hm4i_979", Pl = "_headerSeccionAlineaciones1_1hm4i_995", Ll = "_switchOption3_1hm4i_1017", Ul = "_switchOption4_1hm4i_1041", Hl = "_switchStatesBig1_1hm4i_1061", El = "_manchesterUnited13_1hm4i_1075", xl = "_homeTeamContainer1_1hm4i_1085", Bl = "_scoreContainer2_1hm4i_1099", Vl = "_matchContainer2_1hm4i_1127", Wl = "_manchesterUnited14_1hm4i_1147", ql = "_sliderMatchesInner_1hm4i_1161", zl = "_rectangleIcon_1hm4i_1181", Nl = "_sliderMatches1_1hm4i_1201", Xl = "_containerData_1hm4i_1217", Gl = "_headerSeccionAlineaciones2_1hm4i_1245", Jl = "_headerSeccionAlineaciones_1hm4i_995", Yl = "_headerSeccionAlineaciones21200_1hm4i_1293", Kl = "_headerSeccionAlineaciones1540_1hm4i_1299", Zl = "_headerSeccionAlineaciones2540_1hm4i_1307", Ql = {
|
|
5355
|
+
selectoritem: Lr,
|
|
5356
|
+
selectoritem2: Ur,
|
|
5357
5357
|
gscheaderlineup: Hr,
|
|
5358
5358
|
anNoEstn: Er,
|
|
5359
5359
|
groupsLeague: xr,
|
|
5360
5360
|
jugadores: Br,
|
|
5361
5361
|
switchOption: Vr,
|
|
5362
5362
|
jugadores1: Wr,
|
|
5363
|
-
switchOption1:
|
|
5364
|
-
switchStatesBig:
|
|
5363
|
+
switchOption1: qr,
|
|
5364
|
+
switchStatesBig: zr,
|
|
5365
5365
|
groupsLeagueParent: Nr,
|
|
5366
5366
|
imgHomeTeamIcon: Xr,
|
|
5367
|
-
imgHomeTeamWrapper:
|
|
5368
|
-
teamContainer:
|
|
5367
|
+
imgHomeTeamWrapper: Gr,
|
|
5368
|
+
teamContainer: Jr,
|
|
5369
5369
|
name: Yr,
|
|
5370
5370
|
homeTeamContainer: Kr,
|
|
5371
5371
|
div: Zr,
|
|
@@ -5405,26 +5405,26 @@ const ct = /* @__PURE__ */ Tr(Kt, [["render", Lr], ["__scopeId", "data-v-8a86dfa
|
|
|
5405
5405
|
rectangle: Al,
|
|
5406
5406
|
homeTeamEvents: jl,
|
|
5407
5407
|
totalEvents: Dl,
|
|
5408
|
-
headerSeccionAlineaciones1:
|
|
5409
|
-
switchOption3:
|
|
5410
|
-
switchOption4:
|
|
5408
|
+
headerSeccionAlineaciones1: Pl,
|
|
5409
|
+
switchOption3: Ll,
|
|
5410
|
+
switchOption4: Ul,
|
|
5411
5411
|
switchStatesBig1: Hl,
|
|
5412
5412
|
manchesterUnited13: El,
|
|
5413
5413
|
homeTeamContainer1: xl,
|
|
5414
5414
|
scoreContainer2: Bl,
|
|
5415
5415
|
matchContainer2: Vl,
|
|
5416
5416
|
manchesterUnited14: Wl,
|
|
5417
|
-
sliderMatchesInner:
|
|
5418
|
-
rectangleIcon:
|
|
5417
|
+
sliderMatchesInner: ql,
|
|
5418
|
+
rectangleIcon: zl,
|
|
5419
5419
|
sliderMatches1: Nl,
|
|
5420
5420
|
containerData: Xl,
|
|
5421
|
-
headerSeccionAlineaciones2:
|
|
5422
|
-
headerSeccionAlineaciones:
|
|
5421
|
+
headerSeccionAlineaciones2: Gl,
|
|
5422
|
+
headerSeccionAlineaciones: Jl,
|
|
5423
5423
|
headerSeccionAlineaciones21200: Yl,
|
|
5424
5424
|
headerSeccionAlineaciones1540: Kl,
|
|
5425
5425
|
headerSeccionAlineaciones2540: Zl
|
|
5426
5426
|
}, ec = {
|
|
5427
|
-
components: { GSCCarousel:
|
|
5427
|
+
components: { GSCCarousel: Jt, GscSwitchComponent: ct },
|
|
5428
5428
|
props: {
|
|
5429
5429
|
optionSelected: {
|
|
5430
5430
|
type: String,
|
|
@@ -5993,7 +5993,7 @@ const lc = {
|
|
|
5993
5993
|
}
|
|
5994
5994
|
}
|
|
5995
5995
|
}, Di = () => {
|
|
5996
|
-
|
|
5996
|
+
Re((e) => ({
|
|
5997
5997
|
"9d01acb4": e.height,
|
|
5998
5998
|
"14e95081": e.borderWidthBtn,
|
|
5999
5999
|
"38fec285": e.borderType,
|
|
@@ -6008,8 +6008,8 @@ const lc = {
|
|
|
6008
6008
|
"93b87770": e.marginLeftStat,
|
|
6009
6009
|
c7f7beba: e.fontSizeStat
|
|
6010
6010
|
}));
|
|
6011
|
-
},
|
|
6012
|
-
Zt.setup =
|
|
6011
|
+
}, Pi = Zt.setup;
|
|
6012
|
+
Zt.setup = Pi ? (e, t) => (Di(), Pi(e, t)) : Di;
|
|
6013
6013
|
const hc = (e) => (Vi("data-v-f3ee6b2b"), e = e(), Wi(), e), uc = ["src"], mc = {
|
|
6014
6014
|
key: 1,
|
|
6015
6015
|
class: "text"
|
|
@@ -6022,20 +6022,20 @@ function bc(e, t, i, s, a, n) {
|
|
|
6022
6022
|
i.type == 0 ? (m(), g("div", {
|
|
6023
6023
|
key: 0,
|
|
6024
6024
|
class: r(["button", a.status && i.typeOnOff && "button-active"]),
|
|
6025
|
-
style:
|
|
6025
|
+
style: q([n.customStyle, a.status && i.typeOnOff && n.customActive]),
|
|
6026
6026
|
onClick: t[0] || (t[0] = (...l) => n.btnClick && n.btnClick(...l))
|
|
6027
6027
|
}, [
|
|
6028
6028
|
i.icon && i.iconPosition.toLowerCase() === "left" ? (m(), g("img", {
|
|
6029
6029
|
key: 0,
|
|
6030
6030
|
class: "icon",
|
|
6031
|
-
style:
|
|
6031
|
+
style: q({ width: i.iconSize }),
|
|
6032
6032
|
src: i.icon
|
|
6033
6033
|
}, null, 12, uc)) : k("", !0),
|
|
6034
6034
|
i.textValue ? (m(), g("div", mc, T(i.textValue), 1)) : k("", !0),
|
|
6035
6035
|
i.icon && i.iconPosition.toLowerCase() === "right" ? (m(), g("img", {
|
|
6036
6036
|
key: 2,
|
|
6037
6037
|
class: "icon",
|
|
6038
|
-
style:
|
|
6038
|
+
style: q({ width: i.iconSize }),
|
|
6039
6039
|
src: i.icon
|
|
6040
6040
|
}, null, 12, pc)) : k("", !0)
|
|
6041
6041
|
], 6)) : k("", !0),
|
|
@@ -6231,7 +6231,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6231
6231
|
},
|
|
6232
6232
|
emits: ["input", "click-ready", "update:modelValue"],
|
|
6233
6233
|
setup(e, { emit: t }) {
|
|
6234
|
-
const i = e, s =
|
|
6234
|
+
const i = e, s = U({}), a = U(null), n = U(i.isMultipleOption ? -1 : 0), l = U(!1);
|
|
6235
6235
|
ce(
|
|
6236
6236
|
() => i.items,
|
|
6237
6237
|
(I, w) => {
|
|
@@ -6257,7 +6257,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6257
6257
|
},
|
|
6258
6258
|
{ immediate: !0 }
|
|
6259
6259
|
);
|
|
6260
|
-
const d =
|
|
6260
|
+
const d = Te(() => ({
|
|
6261
6261
|
height: i.height,
|
|
6262
6262
|
width: i.width,
|
|
6263
6263
|
backgroundColor: i.backgroundColor,
|
|
@@ -6285,7 +6285,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6285
6285
|
"--dropdown-opacity": i.isDisabled ? "0.5" : "1",
|
|
6286
6286
|
"--dropdown-cursor": i.isDisabled ? "not-allowed" : "pointer",
|
|
6287
6287
|
"--dropdown-font-size": i.fontSize ? i.fontSize : "14px"
|
|
6288
|
-
})), p =
|
|
6288
|
+
})), p = Te(() => ({
|
|
6289
6289
|
height: `${i.arrowHeight}px`,
|
|
6290
6290
|
width: `${i.arrowWidth}px`
|
|
6291
6291
|
}));
|
|
@@ -6309,11 +6309,11 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6309
6309
|
ref_key: "dropDown",
|
|
6310
6310
|
ref: a,
|
|
6311
6311
|
class: "gsc-dropdown",
|
|
6312
|
-
style:
|
|
6312
|
+
style: q(d.value)
|
|
6313
6313
|
}, [
|
|
6314
6314
|
o("div", {
|
|
6315
6315
|
class: "gsc-dropdown__main-container",
|
|
6316
|
-
style:
|
|
6316
|
+
style: q({ "padding-right": `${e.arrowWidth + 8}px` }),
|
|
6317
6317
|
onClick: y
|
|
6318
6318
|
}, [
|
|
6319
6319
|
o("div", vc, [
|
|
@@ -6321,7 +6321,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6321
6321
|
]),
|
|
6322
6322
|
o("div", {
|
|
6323
6323
|
class: r(["gsc-dropdown__main-container__icon", { "rotated-180": l.value }]),
|
|
6324
|
-
style:
|
|
6324
|
+
style: q(p.value)
|
|
6325
6325
|
}, [
|
|
6326
6326
|
e.iconType === 1 ? (m(), g("svg", {
|
|
6327
6327
|
key: 0,
|
|
@@ -6351,7 +6351,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6351
6351
|
o("div", null, [
|
|
6352
6352
|
o("div", {
|
|
6353
6353
|
class: "gsc-dropdown__items",
|
|
6354
|
-
style:
|
|
6354
|
+
style: q({ "margin-top": `${i.borderWidth}px` })
|
|
6355
6355
|
}, [
|
|
6356
6356
|
(m(!0), g(F, null, te(e.items, (_, u) => (m(), g("div", null, [
|
|
6357
6357
|
li((m(), g("div", {
|
|
@@ -6393,7 +6393,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6393
6393
|
viewBox: "0 0 21 22",
|
|
6394
6394
|
fill: "none",
|
|
6395
6395
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6396
|
-
},
|
|
6396
|
+
}, Li = {
|
|
6397
6397
|
__name: "CheckBox",
|
|
6398
6398
|
props: ["model-value", "label"],
|
|
6399
6399
|
emits: ["update:model-value"],
|
|
@@ -6436,7 +6436,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6436
6436
|
])))
|
|
6437
6437
|
]));
|
|
6438
6438
|
}
|
|
6439
|
-
}, Ac = ["value"], jc = { class: "filter-modal__padding" }, Dc = { class: "filter-modal__content-header" },
|
|
6439
|
+
}, Ac = ["value"], jc = { class: "filter-modal__padding" }, Dc = { class: "filter-modal__content-header" }, Pc = { class: "filter-modal__content-options" }, Lc = ["onClick"], Uc = { class: "filter-modal__content-header" }, Hc = { class: "filter-modal__content-options" }, Ec = ["onClick"], xc = {
|
|
6440
6440
|
__name: "gsc-filter",
|
|
6441
6441
|
props: {
|
|
6442
6442
|
name: {
|
|
@@ -6478,10 +6478,10 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6478
6478
|
},
|
|
6479
6479
|
emits: ["update:model-value", "change"],
|
|
6480
6480
|
setup(e, { emit: t }) {
|
|
6481
|
-
|
|
6481
|
+
Re((h) => ({
|
|
6482
6482
|
d00c78a6: e.marginModal
|
|
6483
6483
|
}));
|
|
6484
|
-
const i = e, s = [{ id: "local", name: "Local" }, { id: "visit", name: "Visitante" }], a = [{ id: "win", name: "Ganado" }, { id: "draw", name: "Empatados" }, { id: "lose", name: "Perdidos" }], n =
|
|
6484
|
+
const i = e, s = [{ id: "local", name: "Local" }, { id: "visit", name: "Visitante" }], a = [{ id: "win", name: "Ganado" }, { id: "draw", name: "Empatados" }, { id: "lose", name: "Perdidos" }], n = U(null), l = t, d = U(["local", "visit"]), p = U(["win", "draw", "lose"]), y = U(!0), f = U(!0), b = U(!0), c = U(!0), I = U(["local", "visit"]), w = U(["win", "draw", "lose"]), _ = () => {
|
|
6485
6485
|
n.value.focus(), d.value = JSON.parse(JSON.stringify(I.value)), p.value = JSON.parse(JSON.stringify(w.value)), y.value = b.value, f.value = c.value;
|
|
6486
6486
|
};
|
|
6487
6487
|
ce(() => i.itemSelect, (h) => {
|
|
@@ -6503,14 +6503,14 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6503
6503
|
};
|
|
6504
6504
|
return (h, S) => (m(), g("div", {
|
|
6505
6505
|
class: "filter-modal",
|
|
6506
|
-
style:
|
|
6506
|
+
style: q({ zIndex: e.zIndex })
|
|
6507
6507
|
}, [
|
|
6508
6508
|
e.showButton ? (m(), g("div", {
|
|
6509
6509
|
key: 0,
|
|
6510
6510
|
class: "filter-modal__input",
|
|
6511
6511
|
onClick: _
|
|
6512
6512
|
}, [
|
|
6513
|
-
S[5] || (S[5] =
|
|
6513
|
+
S[5] || (S[5] = qi('<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-2118a6cd><g id="vuesax/outline/sort" data-v-2118a6cd><g id="sort" data-v-2118a6cd><path id="Vector" opacity="0.7" d="M15.75 5.8125H2.25C1.9425 5.8125 1.6875 5.5575 1.6875 5.25C1.6875 4.9425 1.9425 4.6875 2.25 4.6875H15.75C16.0575 4.6875 16.3125 4.9425 16.3125 5.25C16.3125 5.5575 16.0575 5.8125 15.75 5.8125Z" fill="white" data-v-2118a6cd></path><path id="Vector_2" opacity="0.7" d="M13.5 9.5625H4.5C4.1925 9.5625 3.9375 9.3075 3.9375 9C3.9375 8.6925 4.1925 8.4375 4.5 8.4375H13.5C13.8075 8.4375 14.0625 8.6925 14.0625 9C14.0625 9.3075 13.8075 9.5625 13.5 9.5625Z" fill="white" data-v-2118a6cd></path><path id="Vector_3" opacity="0.7" d="M10.5 13.3125H7.5C7.1925 13.3125 6.9375 13.0575 6.9375 12.75C6.9375 12.4425 7.1925 12.1875 7.5 12.1875H10.5C10.8075 12.1875 11.0625 12.4425 11.0625 12.75C11.0625 13.0575 10.8075 13.3125 10.5 13.3125Z" fill="white" data-v-2118a6cd></path></g></g></svg>', 1)),
|
|
6514
6514
|
o("input", {
|
|
6515
6515
|
type: "text",
|
|
6516
6516
|
value: e.name,
|
|
@@ -6543,7 +6543,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6543
6543
|
o("div", jc, [
|
|
6544
6544
|
o("div", Dc, [
|
|
6545
6545
|
S[7] || (S[7] = o("h3", null, "Jugando como:", -1)),
|
|
6546
|
-
B(
|
|
6546
|
+
B(Li, {
|
|
6547
6547
|
modelValue: b.value,
|
|
6548
6548
|
"onUpdate:modelValue": [
|
|
6549
6549
|
S[0] || (S[0] = ($) => b.value = $),
|
|
@@ -6552,15 +6552,15 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6552
6552
|
label: "Todos"
|
|
6553
6553
|
}, null, 8, ["modelValue"])
|
|
6554
6554
|
]),
|
|
6555
|
-
o("ul",
|
|
6555
|
+
o("ul", Pc, [
|
|
6556
6556
|
(m(), g(F, null, te(s, ($) => o("li", {
|
|
6557
6557
|
onClick: (V) => u($.id, "team"),
|
|
6558
6558
|
class: r({ active: I.value.includes($.id) })
|
|
6559
|
-
}, T($.name), 11,
|
|
6559
|
+
}, T($.name), 11, Lc)), 64))
|
|
6560
6560
|
]),
|
|
6561
|
-
o("div",
|
|
6561
|
+
o("div", Uc, [
|
|
6562
6562
|
S[8] || (S[8] = o("h3", null, "Resultados:", -1)),
|
|
6563
|
-
B(
|
|
6563
|
+
B(Li, {
|
|
6564
6564
|
modelValue: c.value,
|
|
6565
6565
|
"onUpdate:modelValue": [
|
|
6566
6566
|
S[2] || (S[2] = ($) => c.value = $),
|
|
@@ -6604,14 +6604,14 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6604
6604
|
viewBox: "0 0 4 6",
|
|
6605
6605
|
fill: "none",
|
|
6606
6606
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6607
|
-
},
|
|
6607
|
+
}, qc = {
|
|
6608
6608
|
key: 2,
|
|
6609
6609
|
width: "4",
|
|
6610
6610
|
height: "6",
|
|
6611
6611
|
viewBox: "0 0 4 6",
|
|
6612
6612
|
fill: "none",
|
|
6613
6613
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6614
|
-
},
|
|
6614
|
+
}, Ui = {
|
|
6615
6615
|
__name: "Icons",
|
|
6616
6616
|
props: {
|
|
6617
6617
|
icon: {
|
|
@@ -6621,7 +6621,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6621
6621
|
},
|
|
6622
6622
|
setup(e) {
|
|
6623
6623
|
return (t, i) => e.icon === "goal" ? (m(), g("svg", Vc, i[0] || (i[0] = [
|
|
6624
|
-
|
|
6624
|
+
qi('<path fill-rule="evenodd" clip-rule="evenodd" d="M4.02408 0.891998C2.29589 0.891998 0.894531 2.28984 0.894531 4.01399C0.894531 5.73814 2.29589 7.13598 4.02408 7.13598C5.75227 7.13598 7.15363 5.73814 7.15363 4.01399C7.15363 2.28984 5.75227 0.891998 4.02408 0.891998V0.891998Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M3.17056 5.33314L2.63867 3.69586L4.02996 2.68407L5.42152 3.69586L4.89018 5.33314H3.17056Z" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5.2148 1.13477L4.02938 1.63931L2.84424 1.13477" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.66458 1.99231L1.77847 3.2768L0.932129 4.24869" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.38428 5.63698L2.63977 5.92542L3.30228 7.03115" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M4.7583 7.03114L5.42027 5.92487L6.67535 5.63643" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.1312 4.24842L6.28418 3.27599L6.39793 1.99231" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M4.03044 1.63925V2.68417" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5.42432 3.7367L6.28358 3.27614" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M4.8916 5.33328L5.42294 5.92497" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.17029 5.33328L2.63867 5.92551" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.77881 3.27682L2.63848 3.69599" stroke="white" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"></path>', 12)
|
|
6625
6625
|
]))) : e.icon === "yellow-card" ? (m(), g("svg", Wc, i[1] || (i[1] = [
|
|
6626
6626
|
o("rect", {
|
|
6627
6627
|
width: "4",
|
|
@@ -6629,7 +6629,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6629
6629
|
rx: "1",
|
|
6630
6630
|
fill: "#F7C330"
|
|
6631
6631
|
}, null, -1)
|
|
6632
|
-
]))) : e.icon === "red-card" ? (m(), g("svg",
|
|
6632
|
+
]))) : e.icon === "red-card" ? (m(), g("svg", qc, i[2] || (i[2] = [
|
|
6633
6633
|
o("rect", {
|
|
6634
6634
|
width: "4",
|
|
6635
6635
|
height: "6",
|
|
@@ -6638,7 +6638,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6638
6638
|
}, null, -1)
|
|
6639
6639
|
]))) : k("", !0);
|
|
6640
6640
|
}
|
|
6641
|
-
},
|
|
6641
|
+
}, zc = { class: "match-details" }, Nc = { class: "match-details__list" }, Xc = { class: "match-details__list right" }, Gc = {
|
|
6642
6642
|
__name: "MatchDetails",
|
|
6643
6643
|
props: {
|
|
6644
6644
|
localDetails: {
|
|
@@ -6651,10 +6651,10 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6651
6651
|
}
|
|
6652
6652
|
},
|
|
6653
6653
|
setup(e) {
|
|
6654
|
-
return (t, i) => (m(), g("div",
|
|
6654
|
+
return (t, i) => (m(), g("div", zc, [
|
|
6655
6655
|
o("ul", Nc, [
|
|
6656
6656
|
(m(!0), g(F, null, te(e.localDetails, (s) => (m(), g("li", null, [
|
|
6657
|
-
B(
|
|
6657
|
+
B(Ui, {
|
|
6658
6658
|
class: "icon",
|
|
6659
6659
|
icon: s.icon
|
|
6660
6660
|
}, null, 8, ["icon"]),
|
|
@@ -6664,7 +6664,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6664
6664
|
o("ul", Xc, [
|
|
6665
6665
|
(m(!0), g(F, null, te(e.foreignDetails, (s) => (m(), g("li", null, [
|
|
6666
6666
|
o("span", null, T(s.description), 1),
|
|
6667
|
-
B(
|
|
6667
|
+
B(Ui, {
|
|
6668
6668
|
class: "icon",
|
|
6669
6669
|
icon: s.icon
|
|
6670
6670
|
}, null, 8, ["icon"])
|
|
@@ -6672,7 +6672,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6672
6672
|
])
|
|
6673
6673
|
]));
|
|
6674
6674
|
}
|
|
6675
|
-
},
|
|
6675
|
+
}, Jc = /* @__PURE__ */ fe(Gc, [["__scopeId", "data-v-ad3b88e3"]]), Yc = (e, t) => {
|
|
6676
6676
|
const i = e.__vccOpts || e;
|
|
6677
6677
|
for (const [s, a] of t)
|
|
6678
6678
|
i[s] = a;
|
|
@@ -6742,7 +6742,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6742
6742
|
}
|
|
6743
6743
|
}
|
|
6744
6744
|
}, Hi = () => {
|
|
6745
|
-
|
|
6745
|
+
Re((e) => ({
|
|
6746
6746
|
"1b04779e": e.widthCircle,
|
|
6747
6747
|
c974bf22: e.heightCircle
|
|
6748
6748
|
}));
|
|
@@ -6758,7 +6758,7 @@ const Kc = {
|
|
|
6758
6758
|
function id(e, t, i, s, a, n) {
|
|
6759
6759
|
return m(), g("div", {
|
|
6760
6760
|
class: "gsc-switch-radio",
|
|
6761
|
-
style:
|
|
6761
|
+
style: q(n.customText)
|
|
6762
6762
|
}, [
|
|
6763
6763
|
i.textOptionLeft != "" && !i.hiddenLabels ? (m(), g("span", Kc, T(i.textOptionLeft), 1)) : k("", !0),
|
|
6764
6764
|
i.iconA != "" ? (m(), g("img", {
|
|
@@ -6774,7 +6774,7 @@ function id(e, t, i, s, a, n) {
|
|
|
6774
6774
|
}, null, 40, Qc),
|
|
6775
6775
|
o("label", {
|
|
6776
6776
|
for: "toggle-btn",
|
|
6777
|
-
style:
|
|
6777
|
+
style: q([n.customStyle, { "--circle-color": i.circleColorSwitch }])
|
|
6778
6778
|
}, null, 4),
|
|
6779
6779
|
i.iconB != "" ? (m(), g("img", {
|
|
6780
6780
|
key: 2,
|
|
@@ -6784,7 +6784,7 @@ function id(e, t, i, s, a, n) {
|
|
|
6784
6784
|
i.textOptionRight != "" && !i.hiddenLabels ? (m(), g("span", td, T(i.textOptionRight), 1)) : k("", !0)
|
|
6785
6785
|
], 4);
|
|
6786
6786
|
}
|
|
6787
|
-
const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a20444"]]), ad = "_containernofoundsearchrecientes_nc3mr_159", nd = "_btndeletefilters_nc3mr_215", od = "_leyenddeleteshow_nc3mr_247", rd = "_selectoritem_nc3mr_261", ld = "_anNoEstn_nc3mr_279", cd = "_groupsLeague_nc3mr_287", dd = "_historicas_nc3mr_297", hd = "_switchOption_nc3mr_309", ud = "_recientes_nc3mr_331", md = "_switchOption1_nc3mr_343", pd = "_switchOption2_nc3mr_369", fd = "_switchStatesBig_nc3mr_387", gd = "_groupsLeagueParent_nc3mr_407", yd = "_imgHomeTeamIcon_nc3mr_427", _d = "_imgHomeTeamWrapper_nc3mr_441", bd = "_teamContainer_nc3mr_467", wd = "_name_nc3mr_493", vd = "_homeTeamContainer_nc3mr_507", Sd = "_div_nc3mr_529", Cd = "_scoreContainer_nc3mr_539", Id = "_scoreContainerWrapper_nc3mr_561", kd = "_teamContainer1_nc3mr_587", Od = "_awayTeamContainer_nc3mr_613", Td = "_matchContainer_nc3mr_635", Rd = "_sliderMatchesChild_nc3mr_655", Fd = "_manchesterUnited_nc3mr_669", $d = "_sliderMatchesItem_nc3mr_683", Md = "_sliderMatches_nc3mr_655", Ad = "_sortIcon_nc3mr_719", jd = "_filtros_nc3mr_735", Dd = "_sortParent_nc3mr_753",
|
|
6787
|
+
const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a20444"]]), ad = "_containernofoundsearchrecientes_nc3mr_159", nd = "_btndeletefilters_nc3mr_215", od = "_leyenddeleteshow_nc3mr_247", rd = "_selectoritem_nc3mr_261", ld = "_anNoEstn_nc3mr_279", cd = "_groupsLeague_nc3mr_287", dd = "_historicas_nc3mr_297", hd = "_switchOption_nc3mr_309", ud = "_recientes_nc3mr_331", md = "_switchOption1_nc3mr_343", pd = "_switchOption2_nc3mr_369", fd = "_switchStatesBig_nc3mr_387", gd = "_groupsLeagueParent_nc3mr_407", yd = "_imgHomeTeamIcon_nc3mr_427", _d = "_imgHomeTeamWrapper_nc3mr_441", bd = "_teamContainer_nc3mr_467", wd = "_name_nc3mr_493", vd = "_homeTeamContainer_nc3mr_507", Sd = "_div_nc3mr_529", Cd = "_scoreContainer_nc3mr_539", Id = "_scoreContainerWrapper_nc3mr_561", kd = "_teamContainer1_nc3mr_587", Od = "_awayTeamContainer_nc3mr_613", Td = "_matchContainer_nc3mr_635", Rd = "_sliderMatchesChild_nc3mr_655", Fd = "_manchesterUnited_nc3mr_669", $d = "_sliderMatchesItem_nc3mr_683", Md = "_sliderMatches_nc3mr_655", Ad = "_sortIcon_nc3mr_719", jd = "_filtros_nc3mr_735", Dd = "_sortParent_nc3mr_753", Pd = "_shapeIcon_nc3mr_769", Ld = "_btnFilter_nc3mr_781", Ud = "_btnFilter1_nc3mr_813", Hd = "_btnFilterParent_nc3mr_843", Ed = "_backArrowIcon_nc3mr_861", xd = "_teamContainer2_nc3mr_875", Bd = "_homeTeam_nc3mr_507", Vd = "_div4_nc3mr_907", Wd = "_finalScore_nc3mr_919", qd = "_manchesterUnited1_nc3mr_947", zd = "_scoreContainer1_nc3mr_963", Nd = "_match_nc3mr_635", Xd = "_manchesterUnited2_nc3mr_997", Gd = "_btnDetails_nc3mr_1023", Jd = "_matchContainer1_nc3mr_1045", Yd = "_goalChild_nc3mr_1063", Kd = "_goal_nc3mr_1063", Zd = "_manchesterUnited3_nc3mr_1093", Qd = "_minuteEvent_nc3mr_1109", eh = "_yellowCard_nc3mr_1125", th = "_awayTeamEvents_nc3mr_1141", ih = "_rectangle_nc3mr_1157", sh = "_homeTeamEvents_nc3mr_1173", ah = "_totalEvents_nc3mr_1191", nh = "_headerSeccionAlineaciones1_nc3mr_1209", oh = "_sliderMatchesInner_nc3mr_1231", rh = "_btnFilter2_nc3mr_1245", lh = "_btnDetails1_nc3mr_1279", ch = "_matchContainer3_nc3mr_1297", dh = "_backArrowIcon1_nc3mr_1319", hh = "_match1_nc3mr_1333", uh = "_headerSeccionAlineaciones2_nc3mr_1345", mh = "_jugadores2_nc3mr_1367", ph = "_switchOption6_nc3mr_1381", fh = "_switchOption7_nc3mr_1403", gh = "_switchStatesBig2_nc3mr_1429", yh = "_manchesterUnited26_nc3mr_1445", _h = "_homeTeamContainer2_nc3mr_1457", bh = "_vectorIcon_nc3mr_1473", wh = "_teamSwitch_nc3mr_1485", vh = "_matchContainer5_nc3mr_1511", Sh = "_manchesterUnited27_nc3mr_1533", Ch = "_sliderMatchesChild1_nc3mr_1549", Ih = "_sliderMatchesChild2_nc3mr_1571", kh = "_sliderMatches2_nc3mr_1593", Oh = "_filtros2_nc3mr_1613", Th = "_btnFilter4_nc3mr_1633", Rh = "_jornada2_nc3mr_1665", Fh = "_filterMatchday_nc3mr_1679", $h = "_btnDetails2_nc3mr_1701", Mh = "_filtersContainer_nc3mr_1723", Ah = "_matchContainer6_nc3mr_1743", jh = "_matchDetailContainer_nc3mr_1761", Dh = "_containerData_nc3mr_1781", Ph = "_headerSeccionAlineaciones3_nc3mr_1811", Lh = "_headerSeccionAlineaciones_nc3mr_1209", Uh = "_headerSeccionAlineaciones31200_nc3mr_1863", Hh = "_headerSeccionAlineaciones3420_nc3mr_1889", Eh = "_headerSeccionAlineaciones3880_nc3mr_1915", xh = "_headerSeccionAlineaciones3540_nc3mr_1939", Bh = "_headerSeccionAlineaciones11200_nc3mr_1965", Vh = "_headerSeccionAlineaciones1420_nc3mr_1993", Wh = "_headerSeccionAlineaciones1880_nc3mr_2015", qh = "_headerSeccionAlineaciones21200_nc3mr_2037", zh = "_headerSeccionAlineaciones2420_nc3mr_2065", Nh = "_headerSeccionAlineaciones2880_nc3mr_2089", Xh = "_headerSeccionAlineaciones2540_nc3mr_2111", Gh = {
|
|
6788
6788
|
containernofoundsearchrecientes: ad,
|
|
6789
6789
|
"text-containernofoundsearchrecientes": "_text-containernofoundsearchrecientes_nc3mr_171",
|
|
6790
6790
|
"btn-delete-filters": "_btn-delete-filters_nc3mr_183",
|
|
@@ -6818,21 +6818,21 @@ const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a2044
|
|
|
6818
6818
|
sortIcon: Ad,
|
|
6819
6819
|
filtros: jd,
|
|
6820
6820
|
sortParent: Dd,
|
|
6821
|
-
shapeIcon:
|
|
6822
|
-
btnFilter:
|
|
6823
|
-
btnFilter1:
|
|
6821
|
+
shapeIcon: Pd,
|
|
6822
|
+
btnFilter: Ld,
|
|
6823
|
+
btnFilter1: Ud,
|
|
6824
6824
|
btnFilterParent: Hd,
|
|
6825
6825
|
backArrowIcon: Ed,
|
|
6826
6826
|
teamContainer2: xd,
|
|
6827
6827
|
homeTeam: Bd,
|
|
6828
6828
|
div4: Vd,
|
|
6829
6829
|
finalScore: Wd,
|
|
6830
|
-
manchesterUnited1:
|
|
6831
|
-
scoreContainer1:
|
|
6830
|
+
manchesterUnited1: qd,
|
|
6831
|
+
scoreContainer1: zd,
|
|
6832
6832
|
match: Nd,
|
|
6833
6833
|
manchesterUnited2: Xd,
|
|
6834
|
-
btnDetails:
|
|
6835
|
-
matchContainer1:
|
|
6834
|
+
btnDetails: Gd,
|
|
6835
|
+
matchContainer1: Jd,
|
|
6836
6836
|
goalChild: Yd,
|
|
6837
6837
|
goal: Kd,
|
|
6838
6838
|
manchesterUnited3: Zd,
|
|
@@ -6872,27 +6872,27 @@ const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a2044
|
|
|
6872
6872
|
matchContainer6: Ah,
|
|
6873
6873
|
matchDetailContainer: jh,
|
|
6874
6874
|
containerData: Dh,
|
|
6875
|
-
headerSeccionAlineaciones3:
|
|
6876
|
-
headerSeccionAlineaciones:
|
|
6877
|
-
headerSeccionAlineaciones31200:
|
|
6875
|
+
headerSeccionAlineaciones3: Ph,
|
|
6876
|
+
headerSeccionAlineaciones: Lh,
|
|
6877
|
+
headerSeccionAlineaciones31200: Uh,
|
|
6878
6878
|
headerSeccionAlineaciones3420: Hh,
|
|
6879
6879
|
headerSeccionAlineaciones3880: Eh,
|
|
6880
6880
|
headerSeccionAlineaciones3540: xh,
|
|
6881
6881
|
headerSeccionAlineaciones11200: Bh,
|
|
6882
6882
|
headerSeccionAlineaciones1420: Vh,
|
|
6883
6883
|
headerSeccionAlineaciones1880: Wh,
|
|
6884
|
-
headerSeccionAlineaciones21200:
|
|
6885
|
-
headerSeccionAlineaciones2420:
|
|
6884
|
+
headerSeccionAlineaciones21200: qh,
|
|
6885
|
+
headerSeccionAlineaciones2420: zh,
|
|
6886
6886
|
headerSeccionAlineaciones2880: Nh,
|
|
6887
6887
|
headerSeccionAlineaciones2540: Xh
|
|
6888
|
-
},
|
|
6888
|
+
}, Jh = {
|
|
6889
6889
|
components: {
|
|
6890
|
-
GSCCarousel:
|
|
6890
|
+
GSCCarousel: Jt,
|
|
6891
6891
|
GscSwitchComponent: ct,
|
|
6892
6892
|
GSCDropdown: $s,
|
|
6893
6893
|
GSCFilter: Bc,
|
|
6894
6894
|
GSCSwitchRadio: sd,
|
|
6895
|
-
GSCMatchDetails:
|
|
6895
|
+
GSCMatchDetails: Jc
|
|
6896
6896
|
},
|
|
6897
6897
|
props: {
|
|
6898
6898
|
widthSize: {
|
|
@@ -8152,8 +8152,8 @@ function pu(e, t, i, s, a, n) {
|
|
|
8152
8152
|
], 2);
|
|
8153
8153
|
}
|
|
8154
8154
|
const fu = {
|
|
8155
|
-
$style:
|
|
8156
|
-
}, gu = /* @__PURE__ */ fe(
|
|
8155
|
+
$style: Gh
|
|
8156
|
+
}, gu = /* @__PURE__ */ fe(Jh, [["render", pu], ["__cssModules", fu]]), yu = "_selectoritem_125nf_179", _u = "_selectoritem2_125nf_199", bu = "_gscheaderlineup_125nf_219", wu = "_anNoEstn_125nf_233", vu = "_groupsLeague_125nf_239", Su = "_jugadores_125nf_249", Cu = "_switchOption_125nf_259", Iu = "_jugadores1_125nf_279", ku = "_switchOption1_125nf_289", Ou = "_switchStatesBig_125nf_305", Tu = "_groupsLeagueParent_125nf_323", Ru = "_imgHomeTeamIcon_125nf_341", Fu = "_imgHomeTeamWrapper_125nf_353", $u = "_teamContainer_125nf_377", Mu = "_name_125nf_401", Au = "_homeTeamContainer_125nf_413", ju = "_div_125nf_433", Du = "_titleSession_125nf_441", Pu = "_scoreContainer_125nf_461", Lu = "_scoreContainerWrapper_125nf_481", Uu = "_teamContainer1_125nf_505", Hu = "_awayTeamContainer_125nf_529", Eu = "_matchContainer_125nf_549", xu = "_sliderMatchesChild_125nf_567", Bu = "_manchesterUnited_125nf_579", Vu = "_sliderMatchesItem_125nf_591", Wu = "_sliderMatches_125nf_567", qu = "_sortIcon_125nf_627", zu = "_filtros_125nf_641", Nu = "_sortParent_125nf_657", Xu = "_shapeIcon_125nf_671", Gu = "_btnFilter_125nf_681", Ju = "_btnFilter1_125nf_709", Yu = "_btnFilterParent_125nf_737", Ku = "_backArrowIcon_125nf_753", Zu = "_teamContainer2_125nf_765", Qu = "_homeTeam_125nf_413", em = "_div4_125nf_793", tm = "_finalScore_125nf_803", im = "_manchesterUnited1_125nf_829", sm = "_scoreContainer1_125nf_843", am = "_match_125nf_549", nm = "_manchesterUnited2_125nf_879", om = "_btnDetails_125nf_889", rm = "_matchContainer1_125nf_909", lm = "_goalChild_125nf_925", cm = "_goal_125nf_925", dm = "_manchesterUnited3_125nf_951", hm = "_minuteEvent_125nf_965", um = "_yellowCard_125nf_979", mm = "_awayTeamEvents_125nf_993", pm = "_rectangle_125nf_1007", fm = "_homeTeamEvents_125nf_1021", gm = "_totalEvents_125nf_1037", ym = "_headerSeccionAlineaciones1_125nf_1053", _m = "_switchOption3_125nf_1075", bm = "_switchOption4_125nf_1099", wm = "_switchStatesBig1_125nf_1119", vm = "_manchesterUnited13_125nf_1133", Sm = "_homeTeamContainer1_125nf_1143", Cm = "_scoreContainer2_125nf_1157", Im = "_matchContainer2_125nf_1185", km = "_manchesterUnited14_125nf_1205", Om = "_sliderMatchesInner_125nf_1219", Tm = "_rectangleIcon_125nf_1239", Rm = "_sliderMatches1_125nf_1259", Fm = "_containerData_125nf_1275", $m = "_headerSeccionAlineaciones2_125nf_1303", Mm = "_headerSeccionAlineaciones_125nf_1053", Am = "_headerSeccionAlineaciones21200_125nf_1351", jm = "_headerSeccionAlineaciones1540_125nf_1357", Dm = "_headerSeccionAlineaciones2540_125nf_1365", Pm = {
|
|
8157
8157
|
selectoritem: yu,
|
|
8158
8158
|
selectoritem2: _u,
|
|
8159
8159
|
gscheaderlineup: bu,
|
|
@@ -8172,21 +8172,21 @@ const fu = {
|
|
|
8172
8172
|
homeTeamContainer: Au,
|
|
8173
8173
|
div: ju,
|
|
8174
8174
|
titleSession: Du,
|
|
8175
|
-
scoreContainer:
|
|
8176
|
-
scoreContainerWrapper:
|
|
8177
|
-
teamContainer1:
|
|
8175
|
+
scoreContainer: Pu,
|
|
8176
|
+
scoreContainerWrapper: Lu,
|
|
8177
|
+
teamContainer1: Uu,
|
|
8178
8178
|
awayTeamContainer: Hu,
|
|
8179
8179
|
matchContainer: Eu,
|
|
8180
8180
|
sliderMatchesChild: xu,
|
|
8181
8181
|
manchesterUnited: Bu,
|
|
8182
8182
|
sliderMatchesItem: Vu,
|
|
8183
8183
|
sliderMatches: Wu,
|
|
8184
|
-
sortIcon:
|
|
8185
|
-
filtros:
|
|
8184
|
+
sortIcon: qu,
|
|
8185
|
+
filtros: zu,
|
|
8186
8186
|
sortParent: Nu,
|
|
8187
8187
|
shapeIcon: Xu,
|
|
8188
|
-
btnFilter:
|
|
8189
|
-
btnFilter1:
|
|
8188
|
+
btnFilter: Gu,
|
|
8189
|
+
btnFilter1: Ju,
|
|
8190
8190
|
btnFilterParent: Yu,
|
|
8191
8191
|
backArrowIcon: Ku,
|
|
8192
8192
|
teamContainer2: Zu,
|
|
@@ -8226,8 +8226,8 @@ const fu = {
|
|
|
8226
8226
|
headerSeccionAlineaciones21200: Am,
|
|
8227
8227
|
headerSeccionAlineaciones1540: jm,
|
|
8228
8228
|
headerSeccionAlineaciones2540: Dm
|
|
8229
|
-
},
|
|
8230
|
-
components: { GSCCarousel:
|
|
8229
|
+
}, Lm = {
|
|
8230
|
+
components: { GSCCarousel: Jt, GscSwitchComponent: ct },
|
|
8231
8231
|
props: {
|
|
8232
8232
|
optionSelected: {
|
|
8233
8233
|
type: String,
|
|
@@ -8304,7 +8304,7 @@ const fu = {
|
|
|
8304
8304
|
this.$emit("clickOnSelectOption", e);
|
|
8305
8305
|
}
|
|
8306
8306
|
}
|
|
8307
|
-
},
|
|
8307
|
+
}, Um = ["src"], Hm = ["src"], Em = ["src"], xm = ["src"], Bm = ["src"], Vm = ["src"];
|
|
8308
8308
|
function Wm(e, t, i, s, a, n) {
|
|
8309
8309
|
return m(), g("div", {
|
|
8310
8310
|
class: r(e.$style.gscheaderlineup)
|
|
@@ -8350,7 +8350,7 @@ function Wm(e, t, i, s, a, n) {
|
|
|
8350
8350
|
class: r(e.$style.imgHomeTeamIcon),
|
|
8351
8351
|
alt: "",
|
|
8352
8352
|
src: "https://golstatsimages.blob.core.windows.net/teams-80/" + i.gameInfo.home_team + ".png"
|
|
8353
|
-
}, null, 10,
|
|
8353
|
+
}, null, 10, Um)
|
|
8354
8354
|
], 2)
|
|
8355
8355
|
], 2),
|
|
8356
8356
|
o("div", {
|
|
@@ -8636,13 +8636,13 @@ function Wm(e, t, i, s, a, n) {
|
|
|
8636
8636
|
], 2)
|
|
8637
8637
|
], 2);
|
|
8638
8638
|
}
|
|
8639
|
-
const
|
|
8640
|
-
$style:
|
|
8641
|
-
},
|
|
8639
|
+
const qm = {
|
|
8640
|
+
$style: Pm
|
|
8641
|
+
}, zm = /* @__PURE__ */ fe(Lm, [["render", Wm], ["__cssModules", qm]]), Nm = "_anNoEstn_j98j7_139", Xm = "_groupsLeague_j98j7_145", Gm = "_historicas_j98j7_153", Jm = "_switchOption_j98j7_163", Ym = "_switchOption1_j98j7_183", Km = "_probables_j98j7_203", Zm = "_switchOption2_j98j7_213", Qm = "_switchStatesBig_j98j7_237", ep = "_groupsLeagueParent_j98j7_255", tp = "_imgHomeTeamIcon_j98j7_273", ip = "_imgHomeTeamWrapper_j98j7_285", sp = "_teamContainer_j98j7_309", ap = "_name_j98j7_333", np = "_jor_j98j7_345", op = "_jorParent_j98j7_357", rp = "_shapeIcon_j98j7_373", lp = "_frameParent_j98j7_383", cp = "_manchesterUnited_j98j7_413", dp = "_necaxaIcon_j98j7_435", hp = "_manchesterUnited1_j98j7_447", up = "_team_j98j7_309", mp = "_homeTeamContainer_j98j7_475", pp = "_div1_j98j7_495", fp = "_scoreContainer_j98j7_503", gp = "_scoreContainerWrapper_j98j7_525", yp = "_team1_j98j7_549", _p = "_name1_j98j7_563", bp = "_teamContainer1_j98j7_577", wp = "_awayTeamContainer_j98j7_601", vp = "_matchContainer_j98j7_623", Sp = "_goalChild_j98j7_641", Cp = "_goal_j98j7_641", Ip = "_manchesterUnited4_j98j7_667", kp = "_minuteEvent_j98j7_681", Op = "_yellowCard_j98j7_695", Tp = "_awayTeamEvents_j98j7_709", Rp = "_rectangle_j98j7_723", Fp = "_homeTeamEvents_j98j7_737", $p = "_totalEvents_j98j7_753", Mp = "_headerSeccionAlineaciones1_j98j7_769", Ap = "_homeTeamContainer1_j98j7_789", jp = "_awayTeamContainer1_j98j7_813", Dp = "_headerSeccionAlineaciones2_j98j7_837", Pp = "_jugadores_j98j7_857", Lp = "_switchOption6_j98j7_869", Up = "_switchOption8_j98j7_889", Hp = "_switchStatesBig2_j98j7_913", Ep = "_manchesterUnited28_j98j7_927", xp = "_homeTeamContainer2_j98j7_935", Bp = "_matchContainer2_j98j7_949", Vp = "_manchesterUnited29_j98j7_971", Wp = "_sliderMatchesChild_j98j7_985", qp = "_sliderMatchesItem_j98j7_1005", zp = "_sliderMatches_j98j7_985", Np = "_jorParent2_j98j7_1045", Xp = "_filterMatchday_j98j7_1059", Gp = "_necaxaIcon4_j98j7_1081", Jp = "_team4_j98j7_1093", Yp = "_filterMatchdayParent_j98j7_1113", Kp = "_filterMatchday1_j98j7_1127", Zp = "_teamParent_j98j7_1157", Qp = "_filtersContainer_j98j7_1177", ef = "_containerData_j98j7_1195", tf = "_headerSeccionAlineaciones3_j98j7_1223", sf = "_headerSeccionAlineaciones_j98j7_769", af = {
|
|
8642
8642
|
anNoEstn: Nm,
|
|
8643
8643
|
groupsLeague: Xm,
|
|
8644
|
-
historicas:
|
|
8645
|
-
switchOption:
|
|
8644
|
+
historicas: Gm,
|
|
8645
|
+
switchOption: Jm,
|
|
8646
8646
|
switchOption1: Ym,
|
|
8647
8647
|
probables: Km,
|
|
8648
8648
|
switchOption2: Zm,
|
|
@@ -8682,21 +8682,21 @@ const zm = {
|
|
|
8682
8682
|
homeTeamContainer1: Ap,
|
|
8683
8683
|
awayTeamContainer1: jp,
|
|
8684
8684
|
headerSeccionAlineaciones2: Dp,
|
|
8685
|
-
jugadores:
|
|
8686
|
-
switchOption6:
|
|
8687
|
-
switchOption8:
|
|
8685
|
+
jugadores: Pp,
|
|
8686
|
+
switchOption6: Lp,
|
|
8687
|
+
switchOption8: Up,
|
|
8688
8688
|
switchStatesBig2: Hp,
|
|
8689
8689
|
manchesterUnited28: Ep,
|
|
8690
8690
|
homeTeamContainer2: xp,
|
|
8691
8691
|
matchContainer2: Bp,
|
|
8692
8692
|
manchesterUnited29: Vp,
|
|
8693
8693
|
sliderMatchesChild: Wp,
|
|
8694
|
-
sliderMatchesItem:
|
|
8695
|
-
sliderMatches:
|
|
8694
|
+
sliderMatchesItem: qp,
|
|
8695
|
+
sliderMatches: zp,
|
|
8696
8696
|
jorParent2: Np,
|
|
8697
8697
|
filterMatchday: Xp,
|
|
8698
|
-
necaxaIcon4:
|
|
8699
|
-
team4:
|
|
8698
|
+
necaxaIcon4: Gp,
|
|
8699
|
+
team4: Jp,
|
|
8700
8700
|
filterMatchdayParent: Yp,
|
|
8701
8701
|
filterMatchday1: Kp,
|
|
8702
8702
|
teamParent: Zp,
|
|
@@ -9383,7 +9383,7 @@ const Tf = {
|
|
|
9383
9383
|
HeaderPlayerHistorico: cc,
|
|
9384
9384
|
HeaderPlayerRecientes: gu,
|
|
9385
9385
|
HeaderPlayerProbables: Of,
|
|
9386
|
-
HeaderPlayerPostmatch:
|
|
9386
|
+
HeaderPlayerPostmatch: zm
|
|
9387
9387
|
},
|
|
9388
9388
|
data() {
|
|
9389
9389
|
return {
|
|
@@ -9481,6 +9481,17 @@ const Tf = {
|
|
|
9481
9481
|
gameInfoheader: {},
|
|
9482
9482
|
gamesHistoric: [],
|
|
9483
9483
|
gamesRecientes: [],
|
|
9484
|
+
// Sistema de bloqueo para evitar peticiones duplicadas
|
|
9485
|
+
lineupLoadingLocks: {
|
|
9486
|
+
general: !1,
|
|
9487
|
+
home: !1,
|
|
9488
|
+
away: !1,
|
|
9489
|
+
probables: !1
|
|
9490
|
+
},
|
|
9491
|
+
// Mapa de peticiones en curso para evitar duplicados
|
|
9492
|
+
pendingRequests: /* @__PURE__ */ new Set(),
|
|
9493
|
+
// Debounce timer para evitar peticiones excesivas
|
|
9494
|
+
debounceTimer: null,
|
|
9484
9495
|
matchdaysPerTeam: [],
|
|
9485
9496
|
lastGetGame: 0,
|
|
9486
9497
|
lastSection: ""
|
|
@@ -9613,7 +9624,19 @@ const Tf = {
|
|
|
9613
9624
|
immediate: !0,
|
|
9614
9625
|
async handler(e, t) {
|
|
9615
9626
|
e != t && this.selectedOption !== "Postmatch" && (e === "Probables" && setTimeout(() => {
|
|
9616
|
-
|
|
9627
|
+
var i, s;
|
|
9628
|
+
this.gamehome && this.gamehome.game_id && this.gamehome.game_id !== 0 && this.gameaway && this.gameaway.game_id && this.gameaway.game_id !== 0 ? (console.log(
|
|
9629
|
+
"✅ Cargando alineaciones probables - Home:",
|
|
9630
|
+
this.gamehome.game_id,
|
|
9631
|
+
"Away:",
|
|
9632
|
+
this.gameaway.game_id
|
|
9633
|
+
), this.auxProbablesIDGameHome = this.gamehome.game_id, this.auxProbablesIDGameAway = this.gameaway.game_id, this.cleaneDataAway(), this.cleaneDataHome(), this.getLineUpProbablesHome3D(this.gamehome.game_id), this.getLineUpProbablesAway3D(this.gameaway.game_id)) : console.warn(
|
|
9634
|
+
"❌ No se pueden cargar alineaciones probables - game_id inválidos:",
|
|
9635
|
+
{
|
|
9636
|
+
home: (i = this.gamehome) == null ? void 0 : i.game_id,
|
|
9637
|
+
away: (s = this.gameaway) == null ? void 0 : s.game_id
|
|
9638
|
+
}
|
|
9639
|
+
), this.lastSection = e;
|
|
9617
9640
|
}, 1e3), e === "Historicos" && this.gamesHistoric[0] && await this.getLineUp(this.gamesHistoric[0].game));
|
|
9618
9641
|
}
|
|
9619
9642
|
},
|
|
@@ -9641,9 +9664,9 @@ const Tf = {
|
|
|
9641
9664
|
)];
|
|
9642
9665
|
let n = null;
|
|
9643
9666
|
const l = this.selectedOption === "Postmatch" ? e.game_id : this.selectOptMenuheader === "Historicos" ? this.gamesHistoric[0].game : 0;
|
|
9644
|
-
l && l !== this.lastGetLineUpGameId
|
|
9667
|
+
l && l !== 0 && l !== this.lastGetLineUpGameId ? (console.log("✅ Haciendo petición de alineaciones para game_id:", l), n = E.get(this.url + l, i), a.push(n)) : l === 0 && console.warn("❌ Se evitó petición con game_id = 0");
|
|
9645
9668
|
const [d, p] = await Promise.all(a);
|
|
9646
|
-
await this.gameDataInfo(e, d), await this.getLineUp(l, p);
|
|
9669
|
+
await this.gameDataInfo(e, d), l && l !== 0 && await this.getLineUp(l, p);
|
|
9647
9670
|
}
|
|
9648
9671
|
} catch (i) {
|
|
9649
9672
|
throw new Error(i);
|
|
@@ -9887,7 +9910,7 @@ const Tf = {
|
|
|
9887
9910
|
);
|
|
9888
9911
|
for (let j = 0; j < this.playersHome.length; j++) {
|
|
9889
9912
|
var d = this.playersHome[j].idsGoals.findIndex(
|
|
9890
|
-
(
|
|
9913
|
+
(z) => z == t.play_id
|
|
9891
9914
|
);
|
|
9892
9915
|
d != -1 && (i = d, s = j);
|
|
9893
9916
|
}
|
|
@@ -9903,7 +9926,7 @@ const Tf = {
|
|
|
9903
9926
|
);
|
|
9904
9927
|
for (let j = 0; j < this.playersAway.length; j++) {
|
|
9905
9928
|
var b = this.playersAway[j].idsGoals.findIndex(
|
|
9906
|
-
(
|
|
9929
|
+
(z) => z == t.play_id
|
|
9907
9930
|
);
|
|
9908
9931
|
b != -1 && (i = b, s = j);
|
|
9909
9932
|
}
|
|
@@ -10080,6 +10103,21 @@ const Tf = {
|
|
|
10080
10103
|
}
|
|
10081
10104
|
},
|
|
10082
10105
|
methods: {
|
|
10106
|
+
// Función para verificar si una petición ya está en curso
|
|
10107
|
+
isRequestPending(e, t = "general") {
|
|
10108
|
+
const i = `${t}_${e}`;
|
|
10109
|
+
return this.pendingRequests.has(i);
|
|
10110
|
+
},
|
|
10111
|
+
// Función para marcar una petición como en curso
|
|
10112
|
+
markRequestPending(e, t = "general") {
|
|
10113
|
+
const i = `${t}_${e}`;
|
|
10114
|
+
this.pendingRequests.add(i), console.log(`🔒 Marcando petición como pendiente: ${i}`);
|
|
10115
|
+
},
|
|
10116
|
+
// Función para remover una petición del estado pendiente
|
|
10117
|
+
removeRequestPending(e, t = "general") {
|
|
10118
|
+
const i = `${t}_${e}`;
|
|
10119
|
+
this.pendingRequests.delete(i), console.log(`🔓 Removiendo petición pendiente: ${i}`);
|
|
10120
|
+
},
|
|
10083
10121
|
// Función para calcular el ajuste de perspectiva basado en la posición X
|
|
10084
10122
|
calculatePerspectiveAdjustment(e) {
|
|
10085
10123
|
const i = Math.max(0, Math.min(100, e)), s = 12 * (1 - Math.pow(i / 100, 2));
|
|
@@ -10094,6 +10132,20 @@ const Tf = {
|
|
|
10094
10132
|
this.$emit("onOpenProfile", e);
|
|
10095
10133
|
},
|
|
10096
10134
|
async getLineUpProbablesHome3D(e) {
|
|
10135
|
+
if (e == null || e === 0) {
|
|
10136
|
+
console.warn(
|
|
10137
|
+
"❌ getLineUpProbablesHome3D: Se intentó hacer petición con game_id inválido:",
|
|
10138
|
+
e
|
|
10139
|
+
);
|
|
10140
|
+
return;
|
|
10141
|
+
}
|
|
10142
|
+
if (this.isRequestPending(e, "home")) {
|
|
10143
|
+
console.warn(
|
|
10144
|
+
`🔒 getLineUpProbablesHome3D: Ya hay una petición en curso para game_id: ${e}`
|
|
10145
|
+
);
|
|
10146
|
+
return;
|
|
10147
|
+
}
|
|
10148
|
+
this.markRequestPending(e, "home");
|
|
10097
10149
|
try {
|
|
10098
10150
|
const h = await E.create({
|
|
10099
10151
|
headers: {
|
|
@@ -10324,9 +10376,11 @@ const Tf = {
|
|
|
10324
10376
|
);
|
|
10325
10377
|
}
|
|
10326
10378
|
}
|
|
10327
|
-
await this.getMXM(e)
|
|
10379
|
+
await this.getMXM(e), this.removeRequestPending(e, "home"), console.log(
|
|
10380
|
+
`✅ getLineUpProbablesHome3D: Petición completada exitosamente para game_id: ${e}`
|
|
10381
|
+
);
|
|
10328
10382
|
} catch (v) {
|
|
10329
|
-
return Promise.reject(v);
|
|
10383
|
+
return this.removeRequestPending(e, "home"), console.error(`❌ getLineUpProbablesHome3D: Error en petición para game_id: ${e}`, v), Promise.reject(v);
|
|
10330
10384
|
}
|
|
10331
10385
|
},
|
|
10332
10386
|
cleaneDataHome() {
|
|
@@ -10372,6 +10426,20 @@ const Tf = {
|
|
|
10372
10426
|
}, this.movil = !1;
|
|
10373
10427
|
},
|
|
10374
10428
|
async getLineUpProbablesAway3D(e) {
|
|
10429
|
+
if (e == null || e === 0) {
|
|
10430
|
+
console.warn(
|
|
10431
|
+
"❌ getLineUpProbablesAway3D: Se intentó hacer petición con game_id inválido:",
|
|
10432
|
+
e
|
|
10433
|
+
);
|
|
10434
|
+
return;
|
|
10435
|
+
}
|
|
10436
|
+
if (this.isRequestPending(e, "away")) {
|
|
10437
|
+
console.warn(
|
|
10438
|
+
`🔒 getLineUpProbablesAway3D: Ya hay una petición en curso para game_id: ${e}`
|
|
10439
|
+
);
|
|
10440
|
+
return;
|
|
10441
|
+
}
|
|
10442
|
+
this.markRequestPending(e, "away");
|
|
10375
10443
|
try {
|
|
10376
10444
|
const v = await E.create({
|
|
10377
10445
|
headers: {
|
|
@@ -10602,29 +10670,39 @@ const Tf = {
|
|
|
10602
10670
|
);
|
|
10603
10671
|
}
|
|
10604
10672
|
}
|
|
10605
|
-
await this.getMXM(e)
|
|
10673
|
+
await this.getMXM(e), this.removeRequestPending(e, "away"), console.log(
|
|
10674
|
+
`✅ getLineUpProbablesAway3D: Petición completada exitosamente para game_id: ${e}`
|
|
10675
|
+
);
|
|
10606
10676
|
} catch (D) {
|
|
10607
|
-
return Promise.reject(D);
|
|
10677
|
+
return this.removeRequestPending(e, "away"), console.error(`❌ getLineUpProbablesAway3D: Error en petición para game_id: ${e}`, D), Promise.reject(D);
|
|
10608
10678
|
}
|
|
10609
10679
|
},
|
|
10610
10680
|
async getLineupProbablesHome(e) {
|
|
10611
|
-
this.auxProbablesIDGameHome != e.id && (this.auxProbablesIDGameHome = e.id, this.cleaneDataHome(), this.getLineUpProbablesHome3D(e.id));
|
|
10681
|
+
e && e.id && e.id !== 0 ? this.auxProbablesIDGameHome != e.id && (console.log("✅ getLineupProbablesHome: Cargando alineaciones para game_id:", e.id), this.auxProbablesIDGameHome = e.id, this.cleaneDataHome(), this.getLineUpProbablesHome3D(e.id)) : console.warn("❌ getLineupProbablesHome: game_id inválido:", e == null ? void 0 : e.id);
|
|
10612
10682
|
},
|
|
10613
10683
|
async getLineupProbablesAway(e) {
|
|
10614
|
-
this.auxProbablesIDGameAway != e.id && (this.auxProbablesIDGameAway = e.id, this.cleaneDataAway(), this.getLineUpProbablesAway3D(e.id));
|
|
10684
|
+
e && e.id && e.id !== 0 ? this.auxProbablesIDGameAway != e.id && (console.log("✅ getLineupProbablesAway: Cargando alineaciones para game_id:", e.id), this.auxProbablesIDGameAway = e.id, this.cleaneDataAway(), this.getLineUpProbablesAway3D(e.id)) : console.warn("❌ getLineupProbablesAway: game_id inválido:", e == null ? void 0 : e.id);
|
|
10615
10685
|
},
|
|
10616
10686
|
async getLineupProbables(e) {
|
|
10617
|
-
|
|
10618
|
-
|
|
10687
|
+
if (e && e.id && e.id !== 0) {
|
|
10688
|
+
var t = { season_id: e.season_id, game_id: e.id };
|
|
10689
|
+
this.lastGetGame != t.game_id && (console.log("✅ getLineupProbables: Cargando alineaciones para game_id:", e.id), this.cleaneData(), await this.getLineUp(t.game_id)), this.lastGetGame = t.game_id;
|
|
10690
|
+
} else
|
|
10691
|
+
console.warn("❌ getLineupProbables: game_id inválido:", e == null ? void 0 : e.id);
|
|
10619
10692
|
},
|
|
10620
10693
|
async changeCarouselItem(e) {
|
|
10621
|
-
typeof e.game_id < "u" && e.game_id != this.gameInfoheader.id
|
|
10694
|
+
e && e.game_id && e.game_id !== 0 && typeof e.game_id < "u" && e.game_id != this.gameInfoheader.id ? this.auxHistoricGameID != e.game_id && (console.log("✅ changeCarouselItem: Cargando alineaciones para game_id:", e.game_id), this.auxHistoricGameID = e.game_id, this.cleaneData(), await this.getLineUp(e.game_id)) : console.warn("❌ changeCarouselItem: game_id inválido:", e == null ? void 0 : e.game_id);
|
|
10622
10695
|
},
|
|
10623
10696
|
async changeCarouselItemRecent(e) {
|
|
10624
|
-
|
|
10697
|
+
var i;
|
|
10698
|
+
if (e.selectedItem && e.selectedItem.id && e.selectedItem.id !== 0) {
|
|
10625
10699
|
var t = { season_id: e.selectedItem.season_id, game_id: e.selectedItem.id };
|
|
10626
|
-
|
|
10627
|
-
|
|
10700
|
+
console.log(
|
|
10701
|
+
"✅ changeCarouselItemRecent: Cargando alineaciones para game_id:",
|
|
10702
|
+
e.selectedItem.id
|
|
10703
|
+
), this.homeTeam.acronymrecientes = e.selectedItem.home_team_abbreviation, this.visitingTeam.acronymrecientes = e.selectedItem.away_team_abbreviation, this.cleaneData(), await this.getLineUp(t.game_id), this.lastGetGame = t.game_id;
|
|
10704
|
+
} else
|
|
10705
|
+
console.warn("❌ changeCarouselItemRecent: game_id inválido:", (i = e.selectedItem) == null ? void 0 : i.id);
|
|
10628
10706
|
},
|
|
10629
10707
|
async getHeaderInfo(e, t = null) {
|
|
10630
10708
|
const i = E.create({
|
|
@@ -10683,7 +10761,7 @@ const Tf = {
|
|
|
10683
10761
|
this.gameForAnalysis = a;
|
|
10684
10762
|
},
|
|
10685
10763
|
cleaneData() {
|
|
10686
|
-
this.retries = 3, this.teamActive = "home", this.subsActive = !1, this.playersHome = [], this.playersAway = [], this.subsTitle = !1, this.uniformHome = "", this.uniformHomeG = "", this.uniformAway = "", this.uniformAwayG = "", this.dataPlayersHome = [], this.dataPlayersAway = [], this.homeTeamLogo = "", this.awayTeamLogo = "", this.homeTeamName = "", this.awayTeamName = "", this.home_team_id = 0, this.updateComponentAway = 0, this.away_team_id = 0, this.substitutionModal = {
|
|
10764
|
+
this.pendingRequests.clear(), console.log("🧹 cleaneData: Limpiando todas las peticiones pendientes"), this.retries = 3, this.teamActive = "home", this.subsActive = !1, this.playersHome = [], this.playersAway = [], this.subsTitle = !1, this.uniformHome = "", this.uniformHomeG = "", this.uniformAway = "", this.uniformAwayG = "", this.dataPlayersHome = [], this.dataPlayersAway = [], this.homeTeamLogo = "", this.awayTeamLogo = "", this.homeTeamName = "", this.awayTeamName = "", this.home_team_id = 0, this.updateComponentAway = 0, this.away_team_id = 0, this.substitutionModal = {
|
|
10687
10765
|
min: "",
|
|
10688
10766
|
in: {
|
|
10689
10767
|
playerImg: "",
|
|
@@ -10829,56 +10907,113 @@ const Tf = {
|
|
|
10829
10907
|
}
|
|
10830
10908
|
},
|
|
10831
10909
|
async getLineUp(e, t) {
|
|
10832
|
-
if (e
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10838
|
-
|
|
10839
|
-
|
|
10840
|
-
|
|
10841
|
-
|
|
10842
|
-
|
|
10843
|
-
|
|
10910
|
+
if (e == null || e === 0) {
|
|
10911
|
+
console.warn("❌ getLineUp: Se intentó hacer petición con game_id inválido:", e);
|
|
10912
|
+
return;
|
|
10913
|
+
}
|
|
10914
|
+
if (this.isRequestPending(e, "general")) {
|
|
10915
|
+
console.warn(`🔒 getLineUp: Ya hay una petición en curso para game_id: ${e}`);
|
|
10916
|
+
return;
|
|
10917
|
+
}
|
|
10918
|
+
this.markRequestPending(e, "general");
|
|
10919
|
+
try {
|
|
10920
|
+
this.lastGetLineUpGameId = e, this.lastSection = this.selectOptMenuheader;
|
|
10921
|
+
const _e = E.create({
|
|
10922
|
+
headers: {
|
|
10923
|
+
Authorization: `${this.tokenPremium}`
|
|
10924
|
+
}
|
|
10925
|
+
}), R = t || await _e.get(this.url + e);
|
|
10926
|
+
if (!R || !R.data)
|
|
10927
|
+
throw new Error("There is not lineups for this game.");
|
|
10928
|
+
this.dataPlayersHome = R.data.home_team.players, this.dataPlayersAway = R.data.away_team.players, R.data.home_team.starting_lineup[0].lineup.sort(
|
|
10929
|
+
(M, W) => M.position_id > W.position_id ? 1 : W.position_id > M.position_id ? -1 : 0
|
|
10930
|
+
);
|
|
10931
|
+
for (let M = 0; M < R.data.home_team.starting_lineup[0].lineup.length; M++) {
|
|
10932
|
+
this.home_team_id = R.data.home_team.team_id, this.imageExists(
|
|
10933
|
+
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + R.data.home_team.team_id + ".svg",
|
|
10934
|
+
"home",
|
|
10935
|
+
1
|
|
10936
|
+
), this.imageExists(
|
|
10937
|
+
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + R.data.home_team.team_id + "_g.svg",
|
|
10938
|
+
"home",
|
|
10939
|
+
0
|
|
10844
10940
|
);
|
|
10845
|
-
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
)
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10941
|
+
var i = R.data.home_team.starting_lineup[0].lineup[M].player_name.split(","), s = i[0].split(" "), a = i[1].trim().split(" "), n = "";
|
|
10942
|
+
s.length == 2 || s.length == 1 ? s[0].length < 4 ? n = s[0] + " " + s[1] : n = s[0] : s.length == 3 ? n = s[0] + " " + s[1] : s.length == 4 && (n = s[1] + " " + s[2] + " " + s[3]);
|
|
10943
|
+
var l = a[a.length - 1] != "" ? a[a.length - 1].charAt(0) : a[a.length - 2] ? a[a.length - 2].charAt(0) : "";
|
|
10944
|
+
n = n.replace(",", "");
|
|
10945
|
+
var d = l + ". " + n, p = R.data.home_team.starting_lineup[0].lineup[M].x, y = p * 50 / 100, f = R.data.home_team.players.findIndex(
|
|
10946
|
+
(W) => W.player_id == R.data.home_team.starting_lineup[0].lineup[M].player_id
|
|
10947
|
+
);
|
|
10948
|
+
this.playersHome.push({
|
|
10949
|
+
played: !0,
|
|
10950
|
+
name: R.data.home_team.starting_lineup[0].lineup[M].player_name,
|
|
10951
|
+
position: this.isFemale ? this.positions[R.data.home_team.players[f].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[R.data.home_team.players[f].position_id - 1].name,
|
|
10952
|
+
position_id: R.data.home_team.players[f].position_id - 1,
|
|
10953
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.home_team.starting_lineup[0].lineup[M].player_id + ".png",
|
|
10954
|
+
nationality: R.data.home_team.players[f].nationality ? R.data.home_team.players[f].nationality.substring(0, 3) : "",
|
|
10955
|
+
imgNationality: R.data.home_team.players[f].nationality_photo,
|
|
10956
|
+
substitutionIn: !1,
|
|
10957
|
+
substitutionOut: !1,
|
|
10958
|
+
abrevNamePlayer: d,
|
|
10959
|
+
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png",
|
|
10960
|
+
substitutionMin: "",
|
|
10961
|
+
substitutionDataID: "",
|
|
10962
|
+
shirt_number: R.data.home_team.starting_lineup[0].lineup[M].jersey_number,
|
|
10963
|
+
positionX: R.data.home_team.starting_lineup[0].lineup[M].y - 13,
|
|
10964
|
+
positionY: y * 0.9,
|
|
10965
|
+
positionXOrigin: R.data.home_team.starting_lineup[0].lineup[M].y - 17,
|
|
10966
|
+
positionYOrigin: R.data.home_team.starting_lineup[0].lineup[M].x - 2,
|
|
10967
|
+
playerId: R.data.home_team.starting_lineup[0].lineup[M].player_id,
|
|
10968
|
+
goals: 0,
|
|
10969
|
+
yellowcards: 0,
|
|
10970
|
+
redcards: 0,
|
|
10971
|
+
goalsMin: [],
|
|
10972
|
+
yellowcardsMin: 0,
|
|
10973
|
+
redcardsMin: 0,
|
|
10974
|
+
idyellowcards: 0,
|
|
10975
|
+
idredcards: 0,
|
|
10976
|
+
idsGoals: [],
|
|
10977
|
+
idSubstitution: 0,
|
|
10978
|
+
isbench: !1,
|
|
10979
|
+
id_team: R.data.home_team.team_id
|
|
10980
|
+
}), this.homeTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png", this.homeTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png", this.selectOptMenuheader == "Historicos" ? (R.data.home_team.team_id == this.homeTeam.team_id && (this.homeTeamAbrev = this.homeTeam.acronym), R.data.home_team.team_id == this.visitingTeam.team_id && (this.homeTeamAbrev = this.visitingTeam.acronym)) : this.homeTeamAbrev = this.homeTeam.acronymrecientes;
|
|
10981
|
+
}
|
|
10982
|
+
if (this.playersHome.sort(
|
|
10983
|
+
(M, W) => M.position_id > W.position_id ? 1 : W.position_id > M.position_id ? -1 : 0
|
|
10984
|
+
), R.data.home_team.bench) {
|
|
10985
|
+
for (let M = 0; M < R.data.home_team.bench.length; M++) {
|
|
10986
|
+
this.subsTitle = !0;
|
|
10987
|
+
var b = R.data.home_team.bench[M].playerName.split(","), c = b[0].split(" "), I = b[1].trim().split(" "), w = "";
|
|
10988
|
+
c.length == 2 || c.length == 1 ? c[0].length < 4 ? w = c[0] + " " + c[1] : w = c[0] : c.length == 3 ? w = c[0] + " " + c[1] : c.length == 4 && (w = c[1] + " " + c[2] + " " + c[3]);
|
|
10989
|
+
var _ = I[I.length - 1] != "" ? I[I.length - 1].charAt(0) : I[I.length - 2] ? I[I.length - 2].charAt(0) : "";
|
|
10990
|
+
w = w.replace(",", "");
|
|
10991
|
+
var u = _ + ". " + w, O = R.data.home_team.players.findIndex(
|
|
10992
|
+
(W) => W.player_id == R.data.home_team.bench[M].playerID
|
|
10861
10993
|
);
|
|
10862
10994
|
this.playersHome.push({
|
|
10863
|
-
played: !
|
|
10864
|
-
name: R.data.home_team.
|
|
10865
|
-
position: this.isFemale ? this.positions[R.data.home_team.players[
|
|
10866
|
-
position_id: R.data.home_team.players[
|
|
10867
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.home_team.
|
|
10868
|
-
nationality: R.data.home_team.players[
|
|
10869
|
-
|
|
10995
|
+
played: !1,
|
|
10996
|
+
name: R.data.home_team.bench[M].playerName,
|
|
10997
|
+
position: O != -1 ? this.isFemale ? this.positions[R.data.home_team.players[O].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[R.data.home_team.players[O].position_id - 1].name : "",
|
|
10998
|
+
position_id: R.data.home_team.players[O].position_id,
|
|
10999
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.home_team.bench[M].playerID + ".png",
|
|
11000
|
+
nationality: O != -1 && R.data.home_team.players[O].nationality ? R.data.home_team.players[O].nationality.substring(
|
|
11001
|
+
0,
|
|
11002
|
+
3
|
|
11003
|
+
) : "",
|
|
11004
|
+
imgNationality: O != -1 ? R.data.home_team.players[O].nationality_photo : "",
|
|
10870
11005
|
substitutionIn: !1,
|
|
10871
11006
|
substitutionOut: !1,
|
|
10872
|
-
abrevNamePlayer:
|
|
11007
|
+
abrevNamePlayer: u,
|
|
10873
11008
|
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png",
|
|
10874
11009
|
substitutionMin: "",
|
|
10875
11010
|
substitutionDataID: "",
|
|
10876
|
-
shirt_number: R.data.home_team.
|
|
10877
|
-
positionX:
|
|
10878
|
-
positionY:
|
|
10879
|
-
positionXOrigin:
|
|
10880
|
-
positionYOrigin:
|
|
10881
|
-
playerId: R.data.home_team.
|
|
11011
|
+
shirt_number: R.data.home_team.bench[M].jerseyNumber,
|
|
11012
|
+
positionX: "",
|
|
11013
|
+
positionY: "",
|
|
11014
|
+
positionXOrigin: "",
|
|
11015
|
+
positionYOrigin: "",
|
|
11016
|
+
playerId: R.data.home_team.bench[M].playerID,
|
|
10882
11017
|
goals: 0,
|
|
10883
11018
|
yellowcards: 0,
|
|
10884
11019
|
redcards: 0,
|
|
@@ -10889,102 +11024,102 @@ const Tf = {
|
|
|
10889
11024
|
idredcards: 0,
|
|
10890
11025
|
idsGoals: [],
|
|
10891
11026
|
idSubstitution: 0,
|
|
10892
|
-
isbench: !
|
|
11027
|
+
isbench: !0,
|
|
10893
11028
|
id_team: R.data.home_team.team_id
|
|
10894
|
-
})
|
|
11029
|
+
});
|
|
10895
11030
|
}
|
|
10896
|
-
|
|
11031
|
+
this.playersHome.sort(
|
|
10897
11032
|
(M, W) => M.position_id > W.position_id ? 1 : W.position_id > M.position_id ? -1 : 0
|
|
10898
|
-
)
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
);
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
q = q * 0.9;
|
|
10965
|
-
var oe = R.data.away_team.players.findIndex(
|
|
10966
|
-
(W) => W.player_id == R.data.away_team.starting_lineup[0].lineup[M].player_id
|
|
11033
|
+
);
|
|
11034
|
+
}
|
|
11035
|
+
for (let M = 0; M < R.data.away_team.starting_lineup[0].lineup.length; M++) {
|
|
11036
|
+
this.away_team_id = R.data.away_team.team_id, this.imageExists(
|
|
11037
|
+
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + R.data.away_team.team_id + ".svg",
|
|
11038
|
+
"away",
|
|
11039
|
+
1
|
|
11040
|
+
), this.imageExists(
|
|
11041
|
+
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + R.data.away_team.team_id + "_g.svg",
|
|
11042
|
+
"away",
|
|
11043
|
+
0
|
|
11044
|
+
);
|
|
11045
|
+
var D = R.data.away_team.starting_lineup[0].lineup[M].player_name.split(","), v = D[0].split(" "), h = D[1].trim().split(" "), S = "";
|
|
11046
|
+
v.length == 2 || v.length == 1 ? v[0].length < 4 ? S = v[0] + " " + v[1] : S = v[0] : v.length == 3 ? S = v[0] + " " + v[1] : v.length == 4 && (S = v[1] + " " + v[2] + " " + v[3]);
|
|
11047
|
+
var $ = h[a.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
|
|
11048
|
+
S = S.replace(",", "");
|
|
11049
|
+
var V = $ + ". " + S, j = R.data.away_team.starting_lineup[0].lineup[M].x, z = 100 - (100 - j) * 50 / 100;
|
|
11050
|
+
z = z * 0.9;
|
|
11051
|
+
var oe = R.data.away_team.players.findIndex(
|
|
11052
|
+
(W) => W.player_id == R.data.away_team.starting_lineup[0].lineup[M].player_id
|
|
11053
|
+
);
|
|
11054
|
+
this.playersAway.push({
|
|
11055
|
+
played: !0,
|
|
11056
|
+
name: R.data.away_team.starting_lineup[0].lineup[M].player_name,
|
|
11057
|
+
position: this.isFemale ? this.positions[R.data.away_team.players[oe].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[R.data.away_team.players[oe].position_id - 1].name,
|
|
11058
|
+
position_id: R.data.away_team.players[oe].position_id,
|
|
11059
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.starting_lineup[0].lineup[M].player_id + ".png",
|
|
11060
|
+
nationality: R.data.away_team.players[oe].nationality ? R.data.away_team.players[oe].nationality.substring(0, 3) : "",
|
|
11061
|
+
imgNationality: R.data.away_team.players[oe].nationality_photo,
|
|
11062
|
+
substitutionIn: !1,
|
|
11063
|
+
substitutionOut: !1,
|
|
11064
|
+
abrevNamePlayer: V,
|
|
11065
|
+
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png",
|
|
11066
|
+
substitutionMin: "",
|
|
11067
|
+
substitutionDataID: "",
|
|
11068
|
+
shirt_number: R.data.away_team.starting_lineup[0].lineup[M].jersey_number,
|
|
11069
|
+
positionX: R.data.away_team.starting_lineup[0].lineup[M].y - 13,
|
|
11070
|
+
positionY: z,
|
|
11071
|
+
positionXOrigin: R.data.away_team.starting_lineup[0].lineup[M].y - 17,
|
|
11072
|
+
positionYOrigin: R.data.away_team.starting_lineup[0].lineup[M].x - 7,
|
|
11073
|
+
playerId: R.data.away_team.starting_lineup[0].lineup[M].player_id,
|
|
11074
|
+
goals: 0,
|
|
11075
|
+
yellowcards: 0,
|
|
11076
|
+
redcards: 0,
|
|
11077
|
+
goalsMin: [],
|
|
11078
|
+
yellowcardsMin: 0,
|
|
11079
|
+
redcardsMin: 0,
|
|
11080
|
+
idyellowcards: 0,
|
|
11081
|
+
idredcards: 0,
|
|
11082
|
+
idsGoals: [],
|
|
11083
|
+
idSubstitution: 0,
|
|
11084
|
+
isbench: !1,
|
|
11085
|
+
id_team: R.data.away_team.team_id
|
|
11086
|
+
}), this.awayTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png", this.selectOptMenuheader == "Historicos" ? (R.data.away_team.team_id == this.visitingTeam.team_id && (this.awayTeamAbrev = this.visitingTeam.acronym), R.data.away_team.team_id == this.homeTeam.team_id && (this.awayTeamAbrev = this.homeTeam.acronym)) : this.awayTeamAbrev = this.visitingTeam.acronymrecientes;
|
|
11087
|
+
}
|
|
11088
|
+
if (this.playersAway.sort(
|
|
11089
|
+
(M, W) => M.position_id > W.position_id ? 1 : W.position_id > M.position_id ? -1 : 0
|
|
11090
|
+
), R.data.away_team.bench) {
|
|
11091
|
+
for (let M = 0; M < R.data.away_team.bench.length; M++) {
|
|
11092
|
+
this.subsTitle = !0;
|
|
11093
|
+
var ye = R.data.away_team.bench[M].playerName.split(","), N = ye[0].split(" "), Z = ye[1].trim().split(" "), Q = "";
|
|
11094
|
+
N.length == 2 || N.length == 1 ? N[0].length < 4 ? Q = N[0] + " " + N[1] : Q = N[0] : N.length == 3 ? Q = N[0] + " " + N[1] : N.length == 4 && (Q = N[1] + " " + N[2] + " " + N[3]);
|
|
11095
|
+
var dt = Z[Z.length - 1] != "" ? Z[Z.length - 1].charAt(0) : Z[Z.length - 2] ? Z[Z.length - 2].charAt(0) : "";
|
|
11096
|
+
Q = Q.replace(",", "");
|
|
11097
|
+
var ht = dt + ". " + Q, ae = R.data.away_team.players.findIndex(
|
|
11098
|
+
(W) => W.player_id == R.data.away_team.bench[M].playerID
|
|
10967
11099
|
);
|
|
10968
11100
|
this.playersAway.push({
|
|
10969
|
-
played: !
|
|
10970
|
-
name: R.data.away_team.
|
|
10971
|
-
position: this.isFemale ? this.positions[R.data.away_team.players[
|
|
10972
|
-
position_id: R.data.away_team.players[
|
|
10973
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.
|
|
10974
|
-
nationality: R.data.away_team.players[
|
|
10975
|
-
|
|
11101
|
+
played: !1,
|
|
11102
|
+
name: R.data.away_team.bench[M].playerName,
|
|
11103
|
+
position: ae != -1 ? this.isFemale ? this.positions[R.data.away_team.players[ae].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[R.data.away_team.players[ae].position_id - 1].name : "",
|
|
11104
|
+
position_id: R.data.away_team.players[ae].position_id,
|
|
11105
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.bench[M].playerID + ".png",
|
|
11106
|
+
nationality: ae != -1 && R.data.away_team.players[ae].nationality ? R.data.away_team.players[ae].nationality.substring(
|
|
11107
|
+
0,
|
|
11108
|
+
3
|
|
11109
|
+
) : "",
|
|
11110
|
+
imgNationality: ae != -1 ? R.data.away_team.players[ae].nationality_photo : "",
|
|
10976
11111
|
substitutionIn: !1,
|
|
10977
11112
|
substitutionOut: !1,
|
|
10978
|
-
abrevNamePlayer:
|
|
11113
|
+
abrevNamePlayer: ht,
|
|
10979
11114
|
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png",
|
|
10980
11115
|
substitutionMin: "",
|
|
10981
11116
|
substitutionDataID: "",
|
|
10982
|
-
shirt_number: R.data.away_team.
|
|
10983
|
-
positionX:
|
|
10984
|
-
positionY:
|
|
10985
|
-
positionXOrigin:
|
|
10986
|
-
positionYOrigin:
|
|
10987
|
-
playerId: R.data.away_team.
|
|
11117
|
+
shirt_number: R.data.away_team.bench[M].jerseyNumber,
|
|
11118
|
+
positionX: "",
|
|
11119
|
+
positionY: "",
|
|
11120
|
+
positionXOrigin: "",
|
|
11121
|
+
positionYOrigin: "",
|
|
11122
|
+
playerId: R.data.away_team.bench[M].playerID,
|
|
10988
11123
|
goals: 0,
|
|
10989
11124
|
yellowcards: 0,
|
|
10990
11125
|
redcards: 0,
|
|
@@ -10995,69 +11130,20 @@ const Tf = {
|
|
|
10995
11130
|
idredcards: 0,
|
|
10996
11131
|
idsGoals: [],
|
|
10997
11132
|
idSubstitution: 0,
|
|
10998
|
-
isbench: !
|
|
11133
|
+
isbench: !0,
|
|
10999
11134
|
id_team: R.data.away_team.team_id
|
|
11000
|
-
})
|
|
11135
|
+
});
|
|
11001
11136
|
}
|
|
11002
|
-
|
|
11137
|
+
this.playersAway.sort(
|
|
11003
11138
|
(M, W) => M.position_id > W.position_id ? 1 : W.position_id > M.position_id ? -1 : 0
|
|
11004
|
-
)
|
|
11005
|
-
for (let M = 0; M < R.data.away_team.bench.length; M++) {
|
|
11006
|
-
this.subsTitle = !0;
|
|
11007
|
-
var ye = R.data.away_team.bench[M].playerName.split(","), N = ye[0].split(" "), Z = ye[1].trim().split(" "), Q = "";
|
|
11008
|
-
N.length == 2 || N.length == 1 ? N[0].length < 4 ? Q = N[0] + " " + N[1] : Q = N[0] : N.length == 3 ? Q = N[0] + " " + N[1] : N.length == 4 && (Q = N[1] + " " + N[2] + " " + N[3]);
|
|
11009
|
-
var dt = Z[Z.length - 1] != "" ? Z[Z.length - 1].charAt(0) : Z[Z.length - 2] ? Z[Z.length - 2].charAt(0) : "";
|
|
11010
|
-
Q = Q.replace(",", "");
|
|
11011
|
-
var ht = dt + ". " + Q, ae = R.data.away_team.players.findIndex(
|
|
11012
|
-
(W) => W.player_id == R.data.away_team.bench[M].playerID
|
|
11013
|
-
);
|
|
11014
|
-
this.playersAway.push({
|
|
11015
|
-
played: !1,
|
|
11016
|
-
name: R.data.away_team.bench[M].playerName,
|
|
11017
|
-
position: ae != -1 ? this.isFemale ? this.positions[R.data.away_team.players[ae].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[R.data.away_team.players[ae].position_id - 1].name : "",
|
|
11018
|
-
position_id: R.data.away_team.players[ae].position_id,
|
|
11019
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.bench[M].playerID + ".png",
|
|
11020
|
-
nationality: ae != -1 && R.data.away_team.players[ae].nationality ? R.data.away_team.players[ae].nationality.substring(
|
|
11021
|
-
0,
|
|
11022
|
-
3
|
|
11023
|
-
) : "",
|
|
11024
|
-
imgNationality: ae != -1 ? R.data.away_team.players[ae].nationality_photo : "",
|
|
11025
|
-
substitutionIn: !1,
|
|
11026
|
-
substitutionOut: !1,
|
|
11027
|
-
abrevNamePlayer: ht,
|
|
11028
|
-
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png",
|
|
11029
|
-
substitutionMin: "",
|
|
11030
|
-
substitutionDataID: "",
|
|
11031
|
-
shirt_number: R.data.away_team.bench[M].jerseyNumber,
|
|
11032
|
-
positionX: "",
|
|
11033
|
-
positionY: "",
|
|
11034
|
-
positionXOrigin: "",
|
|
11035
|
-
positionYOrigin: "",
|
|
11036
|
-
playerId: R.data.away_team.bench[M].playerID,
|
|
11037
|
-
goals: 0,
|
|
11038
|
-
yellowcards: 0,
|
|
11039
|
-
redcards: 0,
|
|
11040
|
-
goalsMin: [],
|
|
11041
|
-
yellowcardsMin: 0,
|
|
11042
|
-
redcardsMin: 0,
|
|
11043
|
-
idyellowcards: 0,
|
|
11044
|
-
idredcards: 0,
|
|
11045
|
-
idsGoals: [],
|
|
11046
|
-
idSubstitution: 0,
|
|
11047
|
-
isbench: !0,
|
|
11048
|
-
id_team: R.data.away_team.team_id
|
|
11049
|
-
});
|
|
11050
|
-
}
|
|
11051
|
-
this.playersAway.sort(
|
|
11052
|
-
(M, W) => M.position_id > W.position_id ? 1 : W.position_id > M.position_id ? -1 : 0
|
|
11053
|
-
);
|
|
11054
|
-
}
|
|
11055
|
-
setTimeout(async () => {
|
|
11056
|
-
await this.getMXM(e);
|
|
11057
|
-
}, 500);
|
|
11058
|
-
} catch (Ie) {
|
|
11059
|
-
return Promise.reject(Ie);
|
|
11139
|
+
);
|
|
11060
11140
|
}
|
|
11141
|
+
setTimeout(async () => {
|
|
11142
|
+
await this.getMXM(e);
|
|
11143
|
+
}, 500), this.removeRequestPending(e, "general"), console.log(`✅ getLineUp: Petición completada exitosamente para game_id: ${e}`);
|
|
11144
|
+
} catch (_e) {
|
|
11145
|
+
return this.removeRequestPending(e, "general"), console.error(`❌ getLineUp: Error en petición para game_id: ${e}`, _e), Promise.reject(_e);
|
|
11146
|
+
}
|
|
11061
11147
|
},
|
|
11062
11148
|
closeChange() {
|
|
11063
11149
|
this.subsActive = !1;
|
|
@@ -11098,7 +11184,7 @@ const Tf = {
|
|
|
11098
11184
|
}, Af = ["src"], jf = {
|
|
11099
11185
|
class: "team-shield-right",
|
|
11100
11186
|
style: { "margin-right": "16%" }
|
|
11101
|
-
}, Df = ["src"],
|
|
11187
|
+
}, Df = ["src"], Pf = { class: "lineup-players is-centered" }, Lf = ["onClick"], Uf = ["onClick"];
|
|
11102
11188
|
function Hf(e, t, i, s, a, n) {
|
|
11103
11189
|
return m(), g("div", Rf, [
|
|
11104
11190
|
o("div", Ff, T(n.sizeBrowser), 1),
|
|
@@ -11119,7 +11205,7 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11119
11205
|
}, null, 8, Df)
|
|
11120
11206
|
])
|
|
11121
11207
|
]),
|
|
11122
|
-
o("div",
|
|
11208
|
+
o("div", Pf, [
|
|
11123
11209
|
o("div", {
|
|
11124
11210
|
class: r(["lineup-players__container", { fallback: a.gamesContainerWidth === 0 }]),
|
|
11125
11211
|
ref: "gamesContainer"
|
|
@@ -11144,14 +11230,14 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11144
11230
|
"active",
|
|
11145
11231
|
a.gamesContainerWidth < 740 ? "movil" : ""
|
|
11146
11232
|
]),
|
|
11147
|
-
style:
|
|
11233
|
+
style: q({
|
|
11148
11234
|
top: l.positionX + "%",
|
|
11149
11235
|
left: l.positionY - 5 + n.calculatePerspectiveAdjustment(l.positionX) + "%"
|
|
11150
11236
|
})
|
|
11151
11237
|
}, [
|
|
11152
11238
|
o("div", {
|
|
11153
11239
|
class: r(n.jerseyitemplayerClass),
|
|
11154
|
-
style:
|
|
11240
|
+
style: q(
|
|
11155
11241
|
l.position != "Portero" ? { backgroundImage: a.uniformHome } : { backgroundImage: a.uniformHomeG }
|
|
11156
11242
|
)
|
|
11157
11243
|
}, [
|
|
@@ -11197,7 +11283,7 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11197
11283
|
onClick: (p) => n.viewChange(l.substitutionDataID)
|
|
11198
11284
|
}, t[0] || (t[0] = [
|
|
11199
11285
|
o("img", { src: "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/line.png" }, null, -1)
|
|
11200
|
-
]), 10,
|
|
11286
|
+
]), 10, Lf)) : k("", !0)
|
|
11201
11287
|
], 2)
|
|
11202
11288
|
], 6)) : k("", !0)
|
|
11203
11289
|
], 64))), 128)),
|
|
@@ -11211,14 +11297,14 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11211
11297
|
"active",
|
|
11212
11298
|
a.gamesContainerWidth < 740 ? "movil" : ""
|
|
11213
11299
|
]),
|
|
11214
|
-
style:
|
|
11300
|
+
style: q({
|
|
11215
11301
|
top: l.positionX + "%",
|
|
11216
11302
|
left: l.positionY - 4 + n.calculatePerspectiveAdjustmentAway(l.positionX) + "%"
|
|
11217
11303
|
})
|
|
11218
11304
|
}, [
|
|
11219
11305
|
o("div", {
|
|
11220
11306
|
class: r(n.jerseyitemplayerClass),
|
|
11221
|
-
style:
|
|
11307
|
+
style: q(
|
|
11222
11308
|
l.position != "Portero" ? { backgroundImage: a.uniformAway } : { backgroundImage: a.uniformAwayG }
|
|
11223
11309
|
)
|
|
11224
11310
|
}, [
|
|
@@ -11264,7 +11350,7 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11264
11350
|
onClick: (p) => n.viewChange(l.substitutionDataID)
|
|
11265
11351
|
}, t[1] || (t[1] = [
|
|
11266
11352
|
o("img", { src: "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/line.png" }, null, -1)
|
|
11267
|
-
]), 10,
|
|
11353
|
+
]), 10, Uf)) : k("", !0)
|
|
11268
11354
|
], 2)
|
|
11269
11355
|
], 6)) : k("", !0)
|
|
11270
11356
|
], 64))), 128))
|
|
@@ -11319,6 +11405,15 @@ const Ef = /* @__PURE__ */ fe(Tf, [["render", Hf]]), xf = {
|
|
|
11319
11405
|
default: () => {
|
|
11320
11406
|
}
|
|
11321
11407
|
},
|
|
11408
|
+
gameNumber: {
|
|
11409
|
+
type: Number,
|
|
11410
|
+
default: 0
|
|
11411
|
+
},
|
|
11412
|
+
lastGames: {
|
|
11413
|
+
type: Object,
|
|
11414
|
+
default: () => {
|
|
11415
|
+
}
|
|
11416
|
+
},
|
|
11322
11417
|
gameaway: {
|
|
11323
11418
|
type: Object,
|
|
11324
11419
|
default: () => {
|
|
@@ -11330,16 +11425,41 @@ const Ef = /* @__PURE__ */ fe(Tf, [["render", Hf]]), xf = {
|
|
|
11330
11425
|
}
|
|
11331
11426
|
},
|
|
11332
11427
|
setup(e) {
|
|
11333
|
-
|
|
11428
|
+
const t = e, i = (n) => n ? {
|
|
11429
|
+
game_id: n.game_id || null,
|
|
11430
|
+
season_id: n.season_id || null,
|
|
11431
|
+
prematch: n.prematch !== void 0 ? n.prematch : !0
|
|
11432
|
+
} : {
|
|
11433
|
+
game_id: null,
|
|
11434
|
+
season_id: null,
|
|
11435
|
+
prematch: !0
|
|
11436
|
+
}, s = Te(() => {
|
|
11437
|
+
if (![1, 2, 3].includes(t.gameNumber))
|
|
11438
|
+
return i(null);
|
|
11439
|
+
if (t.selectedOption === "Prematch" && t.lastGames && t.lastGames.last_home_games) {
|
|
11440
|
+
const n = t.gameNumber - 1, l = t.lastGames.last_home_games[n];
|
|
11441
|
+
return i(l);
|
|
11442
|
+
}
|
|
11443
|
+
return i(null);
|
|
11444
|
+
}), a = Te(() => {
|
|
11445
|
+
if (![1, 2, 3].includes(t.gameNumber))
|
|
11446
|
+
return i(null);
|
|
11447
|
+
if (t.selectedOption === "Prematch" && t.lastGames && t.lastGames.last_visiting_games) {
|
|
11448
|
+
const n = t.gameNumber - 1, l = t.lastGames.last_visiting_games[n];
|
|
11449
|
+
return i(l);
|
|
11450
|
+
}
|
|
11451
|
+
return i(null);
|
|
11452
|
+
});
|
|
11453
|
+
return (n, l) => (m(), g("div", null, [
|
|
11334
11454
|
B(Ef, {
|
|
11335
11455
|
game: e.game,
|
|
11336
|
-
gamehome:
|
|
11337
|
-
gameaway:
|
|
11338
|
-
"selected-option":
|
|
11339
|
-
}, null, 8, ["game", "gamehome", "gameaway"])
|
|
11456
|
+
gamehome: s.value,
|
|
11457
|
+
gameaway: a.value,
|
|
11458
|
+
"selected-option": e.selectedOption
|
|
11459
|
+
}, null, 8, ["game", "gamehome", "gameaway", "selected-option"])
|
|
11340
11460
|
]));
|
|
11341
11461
|
}
|
|
11342
|
-
}, rg = /* @__PURE__ */ fe(xf, [["__scopeId", "data-v-
|
|
11462
|
+
}, rg = /* @__PURE__ */ fe(xf, [["__scopeId", "data-v-0ee3fd7d"]]);
|
|
11343
11463
|
export {
|
|
11344
11464
|
rg as GSCLineupsReports
|
|
11345
11465
|
};
|