@golstats/gsc-lineups-reports 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as p, createElementBlock as g, Fragment as F, createElementVNode as o, createTextVNode as M, createCommentVNode as k, toDisplayString as T, normalizeStyle as G, normalizeClass as r, renderList as re, defineComponent as Et, inject as Oe, reactive as Ve, ref as
|
|
1
|
+
import { openBlock as p, createElementBlock as g, Fragment as F, createElementVNode as o, createTextVNode as M, createCommentVNode as k, toDisplayString as T, normalizeStyle as G, normalizeClass as r, renderList as re, defineComponent as Et, inject as Oe, reactive as Ve, ref as H, h as Me, provide as Se, onMounted as xt, nextTick as Ls, onUnmounted as Gi, computed as De, watch as fe, cloneVNode as ci, useCssVars as Ue, createVNode as z, unref as Ot, withCtx as q, createBlock as oe, renderSlot as We, pushScopeId as Xi, popScopeId as Ji, resolveComponent as pe, onBeforeMount as js, Transition as Hs, withDirectives as di, vShow as hi, createStaticVNode as Yi } from "vue";
|
|
2
2
|
function Ki(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
@@ -267,7 +267,7 @@ const Sa = (e) => {
|
|
|
267
267
|
asap: ka,
|
|
268
268
|
isIterable: Oa
|
|
269
269
|
};
|
|
270
|
-
let
|
|
270
|
+
let U = class ns extends Error {
|
|
271
271
|
static from(t, i, s, a, n, l) {
|
|
272
272
|
const c = new ns(t.message, i || t.code, s, a, n);
|
|
273
273
|
return c.cause = t, c.name = t.name, t.status != null && c.status == null && (c.status = t.status), l && Object.assign(c, l), c;
|
|
@@ -311,18 +311,18 @@ let P = class ns extends Error {
|
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
314
|
+
U.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
|
|
315
|
+
U.ERR_BAD_OPTION = "ERR_BAD_OPTION";
|
|
316
|
+
U.ECONNABORTED = "ECONNABORTED";
|
|
317
|
+
U.ETIMEDOUT = "ETIMEDOUT";
|
|
318
|
+
U.ERR_NETWORK = "ERR_NETWORK";
|
|
319
|
+
U.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
|
|
320
|
+
U.ERR_DEPRECATED = "ERR_DEPRECATED";
|
|
321
|
+
U.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
|
|
322
|
+
U.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
|
|
323
|
+
U.ERR_CANCELED = "ERR_CANCELED";
|
|
324
|
+
U.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
|
|
325
|
+
U.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
326
326
|
const Ta = null;
|
|
327
327
|
function Rt(e) {
|
|
328
328
|
return S.isPlainObject(e) || S.isArray(e);
|
|
@@ -366,7 +366,7 @@ function ct(e, t, i) {
|
|
|
366
366
|
if (S.isBoolean(_))
|
|
367
367
|
return _.toString();
|
|
368
368
|
if (!m && S.isBlob(_))
|
|
369
|
-
throw new
|
|
369
|
+
throw new U("Blob is not supported. Use a Buffer instead.");
|
|
370
370
|
return S.isArrayBuffer(_) || S.isTypedArray(_) ? m && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
|
|
371
371
|
}
|
|
372
372
|
function f(_, b, u) {
|
|
@@ -396,8 +396,8 @@ function ct(e, t, i) {
|
|
|
396
396
|
if (!S.isUndefined(_)) {
|
|
397
397
|
if (v.indexOf(_) !== -1)
|
|
398
398
|
throw Error("Circular reference detected in " + b.join("."));
|
|
399
|
-
v.push(_), S.forEach(_, function(O,
|
|
400
|
-
(!(S.isUndefined(O) || O === null) && a.call(t, O, S.isString(
|
|
399
|
+
v.push(_), S.forEach(_, function(O, L) {
|
|
400
|
+
(!(S.isUndefined(O) || O === null) && a.call(t, O, S.isString(L) ? L.trim() : L, b, d)) === !0 && C(O, b ? b.concat(L) : [L]);
|
|
401
401
|
}), v.pop();
|
|
402
402
|
}
|
|
403
403
|
}
|
|
@@ -616,7 +616,7 @@ const Ge = {
|
|
|
616
616
|
return JSON.parse(t, this.parseReviver);
|
|
617
617
|
} catch (c) {
|
|
618
618
|
if (l)
|
|
619
|
-
throw c.name === "SyntaxError" ?
|
|
619
|
+
throw c.name === "SyntaxError" ? U.from(c, U.ERR_BAD_RESPONSE, this, null, this.response) : c;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
622
|
return t;
|
|
@@ -886,7 +886,7 @@ function wt(e, t) {
|
|
|
886
886
|
function hs(e) {
|
|
887
887
|
return !!(e && e.__CANCEL__);
|
|
888
888
|
}
|
|
889
|
-
let Xe = class extends
|
|
889
|
+
let Xe = class extends U {
|
|
890
890
|
/**
|
|
891
891
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
892
892
|
*
|
|
@@ -897,15 +897,15 @@ let Xe = class extends P {
|
|
|
897
897
|
* @returns {CanceledError} The created error.
|
|
898
898
|
*/
|
|
899
899
|
constructor(t, i, s) {
|
|
900
|
-
super(t ?? "canceled",
|
|
900
|
+
super(t ?? "canceled", U.ERR_CANCELED, i, s), this.name = "CanceledError", this.__CANCEL__ = !0;
|
|
901
901
|
}
|
|
902
902
|
};
|
|
903
903
|
function us(e, t, i) {
|
|
904
904
|
const s = i.config.validateStatus;
|
|
905
905
|
!i.status || !s || s(i.status) ? e(i) : t(
|
|
906
|
-
new
|
|
906
|
+
new U(
|
|
907
907
|
"Request failed with status code " + i.status,
|
|
908
|
-
[
|
|
908
|
+
[U.ERR_BAD_REQUEST, U.ERR_BAD_RESPONSE][Math.floor(i.status / 100) - 4],
|
|
909
909
|
i.config,
|
|
910
910
|
i.request,
|
|
911
911
|
i
|
|
@@ -1145,17 +1145,17 @@ const ps = (e) => {
|
|
|
1145
1145
|
"onloadend" in u ? u.onloadend = O : u.onreadystatechange = function() {
|
|
1146
1146
|
!u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(O);
|
|
1147
1147
|
}, u.onabort = function() {
|
|
1148
|
-
u && (s(new
|
|
1148
|
+
u && (s(new U("Request aborted", U.ECONNABORTED, e, u)), u = null);
|
|
1149
1149
|
}, u.onerror = function(h) {
|
|
1150
|
-
const I = h && h.message ? h.message : "Network Error", A = new
|
|
1150
|
+
const I = h && h.message ? h.message : "Network Error", A = new U(I, U.ERR_NETWORK, e, u);
|
|
1151
1151
|
A.event = h || null, s(A), u = null;
|
|
1152
1152
|
}, u.ontimeout = function() {
|
|
1153
1153
|
let h = a.timeout ? "timeout of " + a.timeout + "ms exceeded" : "timeout exceeded";
|
|
1154
1154
|
const I = a.transitional || Wt;
|
|
1155
1155
|
a.timeoutErrorMessage && (h = a.timeoutErrorMessage), s(
|
|
1156
|
-
new
|
|
1156
|
+
new U(
|
|
1157
1157
|
h,
|
|
1158
|
-
I.clarifyTimeoutError ?
|
|
1158
|
+
I.clarifyTimeoutError ? U.ETIMEDOUT : U.ECONNABORTED,
|
|
1159
1159
|
e,
|
|
1160
1160
|
u
|
|
1161
1161
|
)
|
|
@@ -1165,12 +1165,12 @@ const ps = (e) => {
|
|
|
1165
1165
|
}), S.isUndefined(a.withCredentials) || (u.withCredentials = !!a.withCredentials), c && c !== "json" && (u.responseType = a.responseType), y && ([d, _] = nt(y, !0), u.addEventListener("progress", d)), m && u.upload && ([v, C] = nt(m), u.upload.addEventListener("progress", v), u.upload.addEventListener("loadend", C)), (a.cancelToken || a.signal) && (f = (w) => {
|
|
1166
1166
|
u && (s(!w || w.type ? new Xe(null, e, u) : w), u.abort(), u = null);
|
|
1167
1167
|
}, a.cancelToken && a.cancelToken.subscribe(f), a.signal && (a.signal.aborted ? f() : a.signal.addEventListener("abort", f)));
|
|
1168
|
-
const
|
|
1169
|
-
if (
|
|
1168
|
+
const L = Ka(a.url);
|
|
1169
|
+
if (L && ie.protocols.indexOf(L) === -1) {
|
|
1170
1170
|
s(
|
|
1171
|
-
new
|
|
1172
|
-
"Unsupported protocol " +
|
|
1173
|
-
|
|
1171
|
+
new U(
|
|
1172
|
+
"Unsupported protocol " + L + ":",
|
|
1173
|
+
U.ERR_BAD_REQUEST,
|
|
1174
1174
|
e
|
|
1175
1175
|
)
|
|
1176
1176
|
);
|
|
@@ -1187,12 +1187,12 @@ const ps = (e) => {
|
|
|
1187
1187
|
a = !0, c();
|
|
1188
1188
|
const f = y instanceof Error ? y : this.reason;
|
|
1189
1189
|
s.abort(
|
|
1190
|
-
f instanceof
|
|
1190
|
+
f instanceof U ? f : new Xe(f instanceof Error ? f.message : f)
|
|
1191
1191
|
);
|
|
1192
1192
|
}
|
|
1193
1193
|
};
|
|
1194
1194
|
let l = t && setTimeout(() => {
|
|
1195
|
-
l = null, n(new
|
|
1195
|
+
l = null, n(new U(`timeout of ${t}ms exceeded`, U.ETIMEDOUT));
|
|
1196
1196
|
}, t);
|
|
1197
1197
|
const c = () => {
|
|
1198
1198
|
e && (l && clearTimeout(l), l = null, e.forEach((y) => {
|
|
@@ -1301,9 +1301,9 @@ const ps = (e) => {
|
|
|
1301
1301
|
let O = b && b[_];
|
|
1302
1302
|
if (O)
|
|
1303
1303
|
return O.call(b);
|
|
1304
|
-
throw new
|
|
1304
|
+
throw new U(
|
|
1305
1305
|
`Response type '${_}' is not supported`,
|
|
1306
|
-
|
|
1306
|
+
U.ERR_NOT_SUPPORT,
|
|
1307
1307
|
u
|
|
1308
1308
|
);
|
|
1309
1309
|
});
|
|
@@ -1331,7 +1331,7 @@ const ps = (e) => {
|
|
|
1331
1331
|
url: b,
|
|
1332
1332
|
method: u,
|
|
1333
1333
|
data: O,
|
|
1334
|
-
signal:
|
|
1334
|
+
signal: L,
|
|
1335
1335
|
cancelToken: w,
|
|
1336
1336
|
timeout: h,
|
|
1337
1337
|
onDownloadProgress: I,
|
|
@@ -1343,7 +1343,7 @@ const ps = (e) => {
|
|
|
1343
1343
|
} = ps(_), ye = t || fetch;
|
|
1344
1344
|
B = B ? (B + "").toLowerCase() : "text";
|
|
1345
1345
|
let V = rn(
|
|
1346
|
-
[
|
|
1346
|
+
[L, w && w.toAbortSignal()],
|
|
1347
1347
|
h
|
|
1348
1348
|
), J = null;
|
|
1349
1349
|
const X = V && V.unsubscribe && (() => {
|
|
@@ -1352,17 +1352,17 @@ const ps = (e) => {
|
|
|
1352
1352
|
let Ae;
|
|
1353
1353
|
try {
|
|
1354
1354
|
if (A && y && u !== "get" && u !== "head" && (Ae = await C(D, O)) !== 0) {
|
|
1355
|
-
let
|
|
1355
|
+
let x = new i(b, {
|
|
1356
1356
|
method: "POST",
|
|
1357
1357
|
body: O,
|
|
1358
1358
|
duplex: "half"
|
|
1359
1359
|
}), ne;
|
|
1360
|
-
if (S.isFormData(O) && (ne =
|
|
1360
|
+
if (S.isFormData(O) && (ne = x.headers.get("content-type")) && D.setContentType(ne), x.body) {
|
|
1361
1361
|
const [ue, we] = _i(
|
|
1362
1362
|
Ae,
|
|
1363
1363
|
nt(bi(A))
|
|
1364
1364
|
);
|
|
1365
|
-
O = vi(
|
|
1365
|
+
O = vi(x.body, Si, ue, we);
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
S.isString(N) || (N = N ? "include" : "omit");
|
|
@@ -1379,9 +1379,9 @@ const ps = (e) => {
|
|
|
1379
1379
|
let te = await (n ? ye(J, ae) : ye(b, se));
|
|
1380
1380
|
const R = f && (B === "stream" || B === "response");
|
|
1381
1381
|
if (f && (I || R && X)) {
|
|
1382
|
-
const
|
|
1382
|
+
const x = {};
|
|
1383
1383
|
["status", "statusText", "headers"].forEach(($e) => {
|
|
1384
|
-
|
|
1384
|
+
x[$e] = te[$e];
|
|
1385
1385
|
});
|
|
1386
1386
|
const ne = S.toFiniteNumber(te.headers.get("content-length")), [ue, we] = I && _i(
|
|
1387
1387
|
ne,
|
|
@@ -1391,7 +1391,7 @@ const ps = (e) => {
|
|
|
1391
1391
|
vi(te.body, Si, ue, () => {
|
|
1392
1392
|
we && we(), X && X();
|
|
1393
1393
|
}),
|
|
1394
|
-
|
|
1394
|
+
x
|
|
1395
1395
|
);
|
|
1396
1396
|
}
|
|
1397
1397
|
B = B || "text";
|
|
@@ -1399,8 +1399,8 @@ const ps = (e) => {
|
|
|
1399
1399
|
te,
|
|
1400
1400
|
_
|
|
1401
1401
|
);
|
|
1402
|
-
return !R && X && X(), await new Promise((
|
|
1403
|
-
us(
|
|
1402
|
+
return !R && X && X(), await new Promise((x, ne) => {
|
|
1403
|
+
us(x, ne, {
|
|
1404
1404
|
data: $,
|
|
1405
1405
|
headers: ce.from(te.headers),
|
|
1406
1406
|
status: te.status,
|
|
@@ -1411,9 +1411,9 @@ const ps = (e) => {
|
|
|
1411
1411
|
});
|
|
1412
1412
|
} catch (Z) {
|
|
1413
1413
|
throw X && X(), Z && Z.name === "TypeError" && /Load failed|fetch/i.test(Z.message) ? Object.assign(
|
|
1414
|
-
new
|
|
1414
|
+
new U(
|
|
1415
1415
|
"Network Error",
|
|
1416
|
-
|
|
1416
|
+
U.ERR_NETWORK,
|
|
1417
1417
|
_,
|
|
1418
1418
|
J,
|
|
1419
1419
|
Z && Z.response
|
|
@@ -1421,7 +1421,7 @@ const ps = (e) => {
|
|
|
1421
1421
|
{
|
|
1422
1422
|
cause: Z.cause || Z
|
|
1423
1423
|
}
|
|
1424
|
-
) :
|
|
1424
|
+
) : U.from(Z, Z && Z.code, _, J, Z && Z.response);
|
|
1425
1425
|
}
|
|
1426
1426
|
};
|
|
1427
1427
|
}, mn = /* @__PURE__ */ new Map(), fs = (e) => {
|
|
@@ -1459,7 +1459,7 @@ function fn(e, t) {
|
|
|
1459
1459
|
s = e[l];
|
|
1460
1460
|
let c;
|
|
1461
1461
|
if (a = s, !pn(s) && (a = zt[(c = String(s)).toLowerCase()], a === void 0))
|
|
1462
|
-
throw new
|
|
1462
|
+
throw new U(`Unknown adapter '${c}'`);
|
|
1463
1463
|
if (a && (S.isFunction(a) || (a = a.get(t))))
|
|
1464
1464
|
break;
|
|
1465
1465
|
n[c || "#" + l] = a;
|
|
@@ -1471,7 +1471,7 @@ function fn(e, t) {
|
|
|
1471
1471
|
let c = i ? l.length > 1 ? `since :
|
|
1472
1472
|
` + l.map(Oi).join(`
|
|
1473
1473
|
`) : " " + Oi(l[0]) : "as no adapter specified";
|
|
1474
|
-
throw new
|
|
1474
|
+
throw new U(
|
|
1475
1475
|
"There is no suitable adapter to dispatch the request " + c,
|
|
1476
1476
|
"ERR_NOT_SUPPORT"
|
|
1477
1477
|
);
|
|
@@ -1521,9 +1521,9 @@ dt.transitional = function(t, i, s) {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
return (n, l, c) => {
|
|
1523
1523
|
if (t === !1)
|
|
1524
|
-
throw new
|
|
1524
|
+
throw new U(
|
|
1525
1525
|
a(l, " has been removed" + (i ? " in " + i : "")),
|
|
1526
|
-
|
|
1526
|
+
U.ERR_DEPRECATED
|
|
1527
1527
|
);
|
|
1528
1528
|
return i && !Ri[l] && (Ri[l] = !0, console.warn(
|
|
1529
1529
|
a(
|
|
@@ -1538,7 +1538,7 @@ dt.spelling = function(t) {
|
|
|
1538
1538
|
};
|
|
1539
1539
|
function gn(e, t, i) {
|
|
1540
1540
|
if (typeof e != "object")
|
|
1541
|
-
throw new
|
|
1541
|
+
throw new U("options must be an object", U.ERR_BAD_OPTION_VALUE);
|
|
1542
1542
|
const s = Object.keys(e);
|
|
1543
1543
|
let a = s.length;
|
|
1544
1544
|
for (; a-- > 0; ) {
|
|
@@ -1546,14 +1546,14 @@ function gn(e, t, i) {
|
|
|
1546
1546
|
if (l) {
|
|
1547
1547
|
const c = e[n], m = c === void 0 || l(c, n, e);
|
|
1548
1548
|
if (m !== !0)
|
|
1549
|
-
throw new
|
|
1549
|
+
throw new U(
|
|
1550
1550
|
"option " + n + " must be " + m,
|
|
1551
|
-
|
|
1551
|
+
U.ERR_BAD_OPTION_VALUE
|
|
1552
1552
|
);
|
|
1553
1553
|
continue;
|
|
1554
1554
|
}
|
|
1555
1555
|
if (i !== !0)
|
|
1556
|
-
throw new
|
|
1556
|
+
throw new U("Unknown option " + n, U.ERR_BAD_OPTION);
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
1559
|
const et = {
|
|
@@ -1880,7 +1880,7 @@ W.CancelToken = yn;
|
|
|
1880
1880
|
W.isCancel = hs;
|
|
1881
1881
|
W.VERSION = ys;
|
|
1882
1882
|
W.toFormData = ct;
|
|
1883
|
-
W.AxiosError =
|
|
1883
|
+
W.AxiosError = U;
|
|
1884
1884
|
W.Cancel = W.CanceledError;
|
|
1885
1885
|
W.all = function(t) {
|
|
1886
1886
|
return Promise.all(t);
|
|
@@ -3132,10 +3132,10 @@ const ro = [
|
|
|
3132
3132
|
"removeListener"
|
|
3133
3133
|
// used by the Node.js EventEmitter
|
|
3134
3134
|
];
|
|
3135
|
-
var
|
|
3135
|
+
var E;
|
|
3136
3136
|
(function(e) {
|
|
3137
3137
|
e[e.CONNECT = 0] = "CONNECT", e[e.DISCONNECT = 1] = "DISCONNECT", e[e.EVENT = 2] = "EVENT", e[e.ACK = 3] = "ACK", e[e.CONNECT_ERROR = 4] = "CONNECT_ERROR", e[e.BINARY_EVENT = 5] = "BINARY_EVENT", e[e.BINARY_ACK = 6] = "BINARY_ACK";
|
|
3138
|
-
})(
|
|
3138
|
+
})(E || (E = {}));
|
|
3139
3139
|
class lo {
|
|
3140
3140
|
/**
|
|
3141
3141
|
* Encoder constructor
|
|
@@ -3152,8 +3152,8 @@ class lo {
|
|
|
3152
3152
|
* @param {Object} obj - packet object
|
|
3153
3153
|
*/
|
|
3154
3154
|
encode(t) {
|
|
3155
|
-
return (t.type ===
|
|
3156
|
-
type: t.type ===
|
|
3155
|
+
return (t.type === E.EVENT || t.type === E.ACK) && st(t) ? this.encodeAsBinary({
|
|
3156
|
+
type: t.type === E.EVENT ? E.BINARY_EVENT : E.BINARY_ACK,
|
|
3157
3157
|
nsp: t.nsp,
|
|
3158
3158
|
data: t.data,
|
|
3159
3159
|
id: t.id
|
|
@@ -3164,7 +3164,7 @@ class lo {
|
|
|
3164
3164
|
*/
|
|
3165
3165
|
encodeAsString(t) {
|
|
3166
3166
|
let i = "" + t.type;
|
|
3167
|
-
return (t.type ===
|
|
3167
|
+
return (t.type === E.BINARY_EVENT || t.type === E.BINARY_ACK) && (i += t.attachments + "-"), t.nsp && t.nsp !== "/" && (i += t.nsp + ","), t.id != null && (i += t.id), t.data != null && (i += JSON.stringify(t.data, this.replacer)), i;
|
|
3168
3168
|
}
|
|
3169
3169
|
/**
|
|
3170
3170
|
* Encode packet as 'buffer sequence' by removing blobs, and
|
|
@@ -3197,8 +3197,8 @@ class Yt extends Y {
|
|
|
3197
3197
|
if (this.reconstructor)
|
|
3198
3198
|
throw new Error("got plaintext data when reconstructing a packet");
|
|
3199
3199
|
i = this.decodeString(t);
|
|
3200
|
-
const s = i.type ===
|
|
3201
|
-
s || i.type ===
|
|
3200
|
+
const s = i.type === E.BINARY_EVENT;
|
|
3201
|
+
s || i.type === E.BINARY_ACK ? (i.type = s ? E.EVENT : E.ACK, this.reconstructor = new co(i), i.attachments === 0 && super.emitReserved("decoded", i)) : super.emitReserved("decoded", i);
|
|
3202
3202
|
} else if (Jt(t) || t.base64)
|
|
3203
3203
|
if (this.reconstructor)
|
|
3204
3204
|
i = this.reconstructor.takeBinaryData(t), i && (this.reconstructor = null, super.emitReserved("decoded", i));
|
|
@@ -3218,9 +3218,9 @@ class Yt extends Y {
|
|
|
3218
3218
|
const s = {
|
|
3219
3219
|
type: Number(t.charAt(0))
|
|
3220
3220
|
};
|
|
3221
|
-
if (
|
|
3221
|
+
if (E[s.type] === void 0)
|
|
3222
3222
|
throw new Error("unknown packet type " + s.type);
|
|
3223
|
-
if (s.type ===
|
|
3223
|
+
if (s.type === E.BINARY_EVENT || s.type === E.BINARY_ACK) {
|
|
3224
3224
|
const n = i + 1;
|
|
3225
3225
|
for (; t.charAt(++i) !== "-" && i != t.length; )
|
|
3226
3226
|
;
|
|
@@ -3273,17 +3273,17 @@ class Yt extends Y {
|
|
|
3273
3273
|
}
|
|
3274
3274
|
static isPayloadValid(t, i) {
|
|
3275
3275
|
switch (t) {
|
|
3276
|
-
case
|
|
3276
|
+
case E.CONNECT:
|
|
3277
3277
|
return Di(i);
|
|
3278
|
-
case
|
|
3278
|
+
case E.DISCONNECT:
|
|
3279
3279
|
return i === void 0;
|
|
3280
|
-
case
|
|
3280
|
+
case E.CONNECT_ERROR:
|
|
3281
3281
|
return typeof i == "string" || Di(i);
|
|
3282
|
-
case
|
|
3283
|
-
case
|
|
3282
|
+
case E.EVENT:
|
|
3283
|
+
case E.BINARY_EVENT:
|
|
3284
3284
|
return Array.isArray(i) && (typeof i[0] == "number" || typeof i[0] == "string" && ro.indexOf(i[0]) === -1);
|
|
3285
|
-
case
|
|
3286
|
-
case
|
|
3285
|
+
case E.ACK:
|
|
3286
|
+
case E.BINARY_ACK:
|
|
3287
3287
|
return Array.isArray(i);
|
|
3288
3288
|
}
|
|
3289
3289
|
}
|
|
@@ -3331,7 +3331,7 @@ const uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3331
3331
|
Decoder: Yt,
|
|
3332
3332
|
Encoder: lo,
|
|
3333
3333
|
get PacketType() {
|
|
3334
|
-
return
|
|
3334
|
+
return E;
|
|
3335
3335
|
}
|
|
3336
3336
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3337
3337
|
function me(e, t, i) {
|
|
@@ -3469,7 +3469,7 @@ class Ms extends Y {
|
|
|
3469
3469
|
if (i.unshift(t), this._opts.retries && !this.flags.fromQueue && !this.flags.volatile)
|
|
3470
3470
|
return this._addToQueue(i), this;
|
|
3471
3471
|
const l = {
|
|
3472
|
-
type:
|
|
3472
|
+
type: E.EVENT,
|
|
3473
3473
|
data: i
|
|
3474
3474
|
};
|
|
3475
3475
|
if (l.options = {}, l.options.compress = this.flags.compress !== !1, typeof i[i.length - 1] == "function") {
|
|
@@ -3577,7 +3577,7 @@ class Ms extends Y {
|
|
|
3577
3577
|
*/
|
|
3578
3578
|
_sendConnectPacket(t) {
|
|
3579
3579
|
this.packet({
|
|
3580
|
-
type:
|
|
3580
|
+
type: E.CONNECT,
|
|
3581
3581
|
data: this._pid ? Object.assign({ pid: this._pid, offset: this._lastOffset }, t) : t
|
|
3582
3582
|
});
|
|
3583
3583
|
}
|
|
@@ -3623,21 +3623,21 @@ class Ms extends Y {
|
|
|
3623
3623
|
onpacket(t) {
|
|
3624
3624
|
if (t.nsp === this.nsp)
|
|
3625
3625
|
switch (t.type) {
|
|
3626
|
-
case
|
|
3626
|
+
case E.CONNECT:
|
|
3627
3627
|
t.data && t.data.sid ? this.onconnect(t.data.sid, t.data.pid) : this.emitReserved("connect_error", new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));
|
|
3628
3628
|
break;
|
|
3629
|
-
case
|
|
3630
|
-
case
|
|
3629
|
+
case E.EVENT:
|
|
3630
|
+
case E.BINARY_EVENT:
|
|
3631
3631
|
this.onevent(t);
|
|
3632
3632
|
break;
|
|
3633
|
-
case
|
|
3634
|
-
case
|
|
3633
|
+
case E.ACK:
|
|
3634
|
+
case E.BINARY_ACK:
|
|
3635
3635
|
this.onack(t);
|
|
3636
3636
|
break;
|
|
3637
|
-
case
|
|
3637
|
+
case E.DISCONNECT:
|
|
3638
3638
|
this.ondisconnect();
|
|
3639
3639
|
break;
|
|
3640
|
-
case
|
|
3640
|
+
case E.CONNECT_ERROR:
|
|
3641
3641
|
this.destroy();
|
|
3642
3642
|
const s = new Error(t.data.message);
|
|
3643
3643
|
s.data = t.data.data, this.emitReserved("connect_error", s);
|
|
@@ -3672,7 +3672,7 @@ class Ms extends Y {
|
|
|
3672
3672
|
let s = !1;
|
|
3673
3673
|
return function(...a) {
|
|
3674
3674
|
s || (s = !0, i.packet({
|
|
3675
|
-
type:
|
|
3675
|
+
type: E.ACK,
|
|
3676
3676
|
id: t,
|
|
3677
3677
|
data: a
|
|
3678
3678
|
}));
|
|
@@ -3741,7 +3741,7 @@ class Ms extends Y {
|
|
|
3741
3741
|
* @return self
|
|
3742
3742
|
*/
|
|
3743
3743
|
disconnect() {
|
|
3744
|
-
return this.connected && this.packet({ type:
|
|
3744
|
+
return this.connected && this.packet({ type: E.DISCONNECT }), this.destroy(), this.connected && this.onclose("io client disconnect"), this;
|
|
3745
3745
|
}
|
|
3746
3746
|
/**
|
|
3747
3747
|
* Alias for {@link disconnect()}.
|
|
@@ -4233,7 +4233,7 @@ function Ce(e, t, i) {
|
|
|
4233
4233
|
const s = i ? `https://dev-apis.golstats.com/${t}/` : `https://apis.golstats.com/${t}/`, l = new URL(e).pathname.replace(/^\//, "").split("/"), c = l[0].toLowerCase(), m = c === "prod" || c === "qa" ? l.slice(1).join("/") : l.join("/");
|
|
4234
4234
|
return s + m;
|
|
4235
4235
|
}
|
|
4236
|
-
function
|
|
4236
|
+
function P(e, t) {
|
|
4237
4237
|
if (!t || t <= 1)
|
|
4238
4238
|
return e;
|
|
4239
4239
|
const i = new URL(e), s = i.pathname.split("/").filter((c) => c !== "");
|
|
@@ -4662,7 +4662,7 @@ function er(e = "", t = {}) {
|
|
|
4662
4662
|
var tr = Et({
|
|
4663
4663
|
name: "ARIA",
|
|
4664
4664
|
setup() {
|
|
4665
|
-
const e = Oe("config", Ve(Object.assign({}, ee))), t = Oe("currentSlide",
|
|
4665
|
+
const e = Oe("config", Ve(Object.assign({}, ee))), t = Oe("currentSlide", H(0)), i = Oe("slidesCount", H(0));
|
|
4666
4666
|
return () => Me("div", {
|
|
4667
4667
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
4668
4668
|
"aria-live": "polite",
|
|
@@ -4677,10 +4677,10 @@ var tr = Et({
|
|
|
4677
4677
|
props: Pi,
|
|
4678
4678
|
setup(e, { slots: t, emit: i, expose: s }) {
|
|
4679
4679
|
var a;
|
|
4680
|
-
const n =
|
|
4680
|
+
const n = H(null), l = H([]), c = H(0), m = H(0), y = Ve(Object.assign({}, ee));
|
|
4681
4681
|
let f = Object.assign({}, ee), v;
|
|
4682
|
-
const d =
|
|
4683
|
-
let O,
|
|
4682
|
+
const d = H((a = e.modelValue) !== null && a !== void 0 ? a : 0), C = H(0), _ = H(0), b = H(0), u = H(0);
|
|
4683
|
+
let O, L;
|
|
4684
4684
|
Se("config", y), Se("slidesCount", m), Se("currentSlide", d), Se("maxSlide", b), Se("minSlide", u), Se("slideWidth", c);
|
|
4685
4685
|
function w() {
|
|
4686
4686
|
v = Object.assign({}, e.breakpoints), f = Object.assign(Object.assign(Object.assign({}, f), e), { i18n: Object.assign(Object.assign({}, f.i18n), e.i18n), breakpoints: void 0 }), I(f);
|
|
@@ -4688,15 +4688,15 @@ var tr = Et({
|
|
|
4688
4688
|
function h() {
|
|
4689
4689
|
if (!v || !Object.keys(v).length)
|
|
4690
4690
|
return;
|
|
4691
|
-
const
|
|
4691
|
+
const j = Object.keys(v).map((K) => Number(K)).sort((K, ve) => +ve - +K);
|
|
4692
4692
|
let Q = Object.assign({}, f);
|
|
4693
|
-
|
|
4693
|
+
j.some((K) => {
|
|
4694
4694
|
const ve = window.matchMedia(`(min-width: ${K}px)`).matches;
|
|
4695
4695
|
return ve && (Q = Object.assign(Object.assign({}, Q), v[K])), ve;
|
|
4696
4696
|
}), I(Q);
|
|
4697
4697
|
}
|
|
4698
|
-
function I(
|
|
4699
|
-
Object.entries(
|
|
4698
|
+
function I(j) {
|
|
4699
|
+
Object.entries(j).forEach(([Q, K]) => y[Q] = K);
|
|
4700
4700
|
}
|
|
4701
4701
|
const A = Qo(() => {
|
|
4702
4702
|
h(), B();
|
|
@@ -4704,8 +4704,8 @@ var tr = Et({
|
|
|
4704
4704
|
function B() {
|
|
4705
4705
|
if (!n.value)
|
|
4706
4706
|
return;
|
|
4707
|
-
const
|
|
4708
|
-
c.value =
|
|
4707
|
+
const j = n.value.getBoundingClientRect();
|
|
4708
|
+
c.value = j.width / y.itemsToShow;
|
|
4709
4709
|
}
|
|
4710
4710
|
function D() {
|
|
4711
4711
|
m.value <= 0 || (_.value = Math.ceil((m.value - 1) / 2), b.value = Jo({ config: y, slidesCount: m.value }), u.value = Yo({ config: y, slidesCount: m.value }), y.wrapAround || (d.value = jt({
|
|
@@ -4717,26 +4717,26 @@ var tr = Et({
|
|
|
4717
4717
|
xt(() => {
|
|
4718
4718
|
Ls(() => B()), setTimeout(() => B(), 1e3), h(), $(), window.addEventListener("resize", A, { passive: !0 }), i("init");
|
|
4719
4719
|
}), Gi(() => {
|
|
4720
|
-
|
|
4720
|
+
L && clearTimeout(L), O && clearInterval(O), window.removeEventListener("resize", A, {
|
|
4721
4721
|
passive: !0
|
|
4722
4722
|
});
|
|
4723
4723
|
});
|
|
4724
4724
|
let N = !1;
|
|
4725
|
-
const ae = { x: 0, y: 0 }, ye = { x: 0, y: 0 }, V = Ve({ x: 0, y: 0 }), J =
|
|
4725
|
+
const ae = { x: 0, y: 0 }, ye = { x: 0, y: 0 }, V = Ve({ x: 0, y: 0 }), J = H(!1), X = H(!1), Ae = () => {
|
|
4726
4726
|
J.value = !0;
|
|
4727
4727
|
}, Z = () => {
|
|
4728
4728
|
J.value = !1;
|
|
4729
4729
|
};
|
|
4730
|
-
function se(
|
|
4731
|
-
["INPUT", "TEXTAREA", "SELECT"].includes(
|
|
4730
|
+
function se(j) {
|
|
4731
|
+
["INPUT", "TEXTAREA", "SELECT"].includes(j.target.tagName) || (N = j.type === "touchstart", N || j.preventDefault(), !(!N && j.button !== 0 || ne.value) && (ae.x = N ? j.touches[0].clientX : j.clientX, ae.y = N ? j.touches[0].clientY : j.clientY, document.addEventListener(N ? "touchmove" : "mousemove", te, !0), document.addEventListener(N ? "touchend" : "mouseup", R, !0)));
|
|
4732
4732
|
}
|
|
4733
|
-
const te = Zo((
|
|
4734
|
-
X.value = !0, ye.x = N ?
|
|
4733
|
+
const te = Zo((j) => {
|
|
4734
|
+
X.value = !0, ye.x = N ? j.touches[0].clientX : j.clientX, ye.y = N ? j.touches[0].clientY : j.clientY;
|
|
4735
4735
|
const Q = ye.x - ae.x, K = ye.y - ae.y;
|
|
4736
4736
|
V.y = K, V.x = Q;
|
|
4737
4737
|
}, y.throttle);
|
|
4738
4738
|
function R() {
|
|
4739
|
-
const
|
|
4739
|
+
const j = y.dir === "rtl" ? -1 : 1, Q = Math.sign(V.x) * 0.4, K = Math.round(V.x / c.value + Q) * j;
|
|
4740
4740
|
if (K && !N) {
|
|
4741
4741
|
const ve = (pt) => {
|
|
4742
4742
|
pt.stopPropagation(), window.removeEventListener("click", ve, !0);
|
|
@@ -4750,22 +4750,22 @@ var tr = Et({
|
|
|
4750
4750
|
y.pauseAutoplayOnHover && J.value || we();
|
|
4751
4751
|
}, y.autoplay));
|
|
4752
4752
|
}
|
|
4753
|
-
function
|
|
4753
|
+
function x() {
|
|
4754
4754
|
O && (clearInterval(O), O = null), $();
|
|
4755
4755
|
}
|
|
4756
|
-
const ne =
|
|
4757
|
-
function ue(
|
|
4758
|
-
const Q = y.wrapAround ?
|
|
4759
|
-
val:
|
|
4756
|
+
const ne = H(!1);
|
|
4757
|
+
function ue(j) {
|
|
4758
|
+
const Q = y.wrapAround ? j : jt({
|
|
4759
|
+
val: j,
|
|
4760
4760
|
max: b.value,
|
|
4761
4761
|
min: u.value
|
|
4762
4762
|
});
|
|
4763
4763
|
d.value === Q || ne.value || (i("slide-start", {
|
|
4764
|
-
slidingToIndex:
|
|
4764
|
+
slidingToIndex: j,
|
|
4765
4765
|
currentSlideIndex: d.value,
|
|
4766
4766
|
prevSlideIndex: C.value,
|
|
4767
4767
|
slidesCount: m.value
|
|
4768
|
-
}), ne.value = !0, C.value = d.value, d.value = Q,
|
|
4768
|
+
}), ne.value = !0, C.value = d.value, d.value = Q, L = setTimeout(() => {
|
|
4769
4769
|
if (y.wrapAround) {
|
|
4770
4770
|
const K = Ht({
|
|
4771
4771
|
val: Q,
|
|
@@ -4774,14 +4774,14 @@ var tr = Et({
|
|
|
4774
4774
|
});
|
|
4775
4775
|
K !== d.value && (d.value = K, i("loop", {
|
|
4776
4776
|
currentSlideIndex: d.value,
|
|
4777
|
-
slidingToIndex:
|
|
4777
|
+
slidingToIndex: j
|
|
4778
4778
|
}));
|
|
4779
4779
|
}
|
|
4780
4780
|
i("update:modelValue", d.value), i("slide-end", {
|
|
4781
4781
|
currentSlideIndex: d.value,
|
|
4782
4782
|
prevSlideIndex: C.value,
|
|
4783
4783
|
slidesCount: m.value
|
|
4784
|
-
}), ne.value = !1,
|
|
4784
|
+
}), ne.value = !1, x();
|
|
4785
4785
|
}, y.transition));
|
|
4786
4786
|
}
|
|
4787
4787
|
function we() {
|
|
@@ -4799,7 +4799,7 @@ var tr = Et({
|
|
|
4799
4799
|
}));
|
|
4800
4800
|
Se("slidesToScroll", si);
|
|
4801
4801
|
const Us = De(() => {
|
|
4802
|
-
const
|
|
4802
|
+
const j = y.dir === "rtl" ? -1 : 1, Q = si.value * c.value * j;
|
|
4803
4803
|
return {
|
|
4804
4804
|
transform: `translateX(${V.x - Q}px)`,
|
|
4805
4805
|
transition: `${ne.value ? y.transition : 0}ms`,
|
|
@@ -4808,12 +4808,12 @@ var tr = Et({
|
|
|
4808
4808
|
};
|
|
4809
4809
|
});
|
|
4810
4810
|
function ai() {
|
|
4811
|
-
w(), h(), D(), B(),
|
|
4811
|
+
w(), h(), D(), B(), x();
|
|
4812
4812
|
}
|
|
4813
|
-
Object.keys(Pi).forEach((
|
|
4814
|
-
["modelValue"].includes(
|
|
4815
|
-
}), fe(() => e.modelValue, (
|
|
4816
|
-
|
|
4813
|
+
Object.keys(Pi).forEach((j) => {
|
|
4814
|
+
["modelValue"].includes(j) || fe(() => e[j], ai);
|
|
4815
|
+
}), fe(() => e.modelValue, (j) => {
|
|
4816
|
+
j !== d.value && ue(Number(j));
|
|
4817
4817
|
}), fe(m, D), i("before-init"), w();
|
|
4818
4818
|
const ni = {
|
|
4819
4819
|
config: y,
|
|
@@ -4841,22 +4841,22 @@ var tr = Et({
|
|
|
4841
4841
|
});
|
|
4842
4842
|
const oi = t.default || t.slides, ri = t.addons, li = Ve(ni);
|
|
4843
4843
|
return () => {
|
|
4844
|
-
const
|
|
4845
|
-
|
|
4846
|
-
let K =
|
|
4844
|
+
const j = Ds(oi == null ? void 0 : oi(li)), Q = (ri == null ? void 0 : ri(li)) || [];
|
|
4845
|
+
j.forEach((ft, gt) => ft.props.index = gt);
|
|
4846
|
+
let K = j;
|
|
4847
4847
|
if (y.wrapAround) {
|
|
4848
|
-
const ft =
|
|
4849
|
-
index: -
|
|
4848
|
+
const ft = j.map((yt, He) => ci(yt, {
|
|
4849
|
+
index: -j.length + He,
|
|
4850
4850
|
isClone: !0,
|
|
4851
4851
|
key: `clone-before-${He}`
|
|
4852
|
-
})), gt =
|
|
4853
|
-
index:
|
|
4852
|
+
})), gt = j.map((yt, He) => ci(yt, {
|
|
4853
|
+
index: j.length + He,
|
|
4854
4854
|
isClone: !0,
|
|
4855
4855
|
key: `clone-after-${He}`
|
|
4856
4856
|
}));
|
|
4857
|
-
K = [...ft, ...
|
|
4857
|
+
K = [...ft, ...j, ...gt];
|
|
4858
4858
|
}
|
|
4859
|
-
l.value =
|
|
4859
|
+
l.value = j, m.value = Math.max(j.length, 1);
|
|
4860
4860
|
const ve = Me("ol", {
|
|
4861
4861
|
class: "carousel__track",
|
|
4862
4862
|
style: Us.value,
|
|
@@ -4897,7 +4897,7 @@ var sr = Et({
|
|
|
4897
4897
|
}
|
|
4898
4898
|
},
|
|
4899
4899
|
setup(e, { slots: t }) {
|
|
4900
|
-
const i = Oe("config", Ve(Object.assign({}, ee))), s = Oe("currentSlide",
|
|
4900
|
+
const i = Oe("config", Ve(Object.assign({}, ee))), s = Oe("currentSlide", H(0)), a = Oe("slidesToScroll", H(0)), n = Oe("isSliding", H(!1)), l = () => e.index === s.value, c = () => e.index === s.value - 1, m = () => e.index === s.value + 1, y = () => {
|
|
4901
4901
|
const f = Math.floor(a.value), v = Math.ceil(a.value + i.itemsToShow - 1);
|
|
4902
4902
|
return e.index >= f && e.index <= v;
|
|
4903
4903
|
};
|
|
@@ -5064,7 +5064,7 @@ const ar = (e, t) => {
|
|
|
5064
5064
|
"1904d43f": e.marginTop,
|
|
5065
5065
|
cfb58986: e.secondarySlidesOpacity
|
|
5066
5066
|
}));
|
|
5067
|
-
const a =
|
|
5067
|
+
const a = H(null), n = H({}), l = H(0), c = H(!1);
|
|
5068
5068
|
fe(
|
|
5069
5069
|
a,
|
|
5070
5070
|
(b) => {
|
|
@@ -5135,7 +5135,7 @@ const ar = (e, t) => {
|
|
|
5135
5135
|
onSlideStart: _
|
|
5136
5136
|
}, {
|
|
5137
5137
|
default: q(() => [
|
|
5138
|
-
(p(!0), g(F, null, re(e.items, (O,
|
|
5138
|
+
(p(!0), g(F, null, re(e.items, (O, L) => (p(), oe(Ot(sr), { key: L }, {
|
|
5139
5139
|
default: q(() => [
|
|
5140
5140
|
We(b.$slots, "default", { item: O }, void 0, !0)
|
|
5141
5141
|
]),
|
|
@@ -5197,17 +5197,17 @@ const ar = (e, t) => {
|
|
|
5197
5197
|
]))
|
|
5198
5198
|
])) : k("", !0),
|
|
5199
5199
|
e.isPaginationVisible ? (p(), g("div", _r, [
|
|
5200
|
-
(p(!0), g(F, null, re(e.items, (O,
|
|
5201
|
-
key: `i-${
|
|
5200
|
+
(p(!0), g(F, null, re(e.items, (O, L) => (p(), g("div", {
|
|
5201
|
+
key: `i-${L}`,
|
|
5202
5202
|
class: "gsc-carousel__2d__navigation__pagination__item",
|
|
5203
5203
|
style: G({
|
|
5204
5204
|
height: `${s.navigationHeight}px`,
|
|
5205
|
-
width: `${l.value ===
|
|
5205
|
+
width: `${l.value === L ? s.navigationActiveWidth : s.navigationActiveWidth / 2}px`,
|
|
5206
5206
|
borderRadius: `${s.navigationBorderRadius}px`,
|
|
5207
|
-
backgroundColor: `${l.value ===
|
|
5207
|
+
backgroundColor: `${l.value === L ? s.navigationActiveColor : s.navigationColor}`,
|
|
5208
5208
|
transition: "all 0.1s ease-in-out"
|
|
5209
5209
|
}),
|
|
5210
|
-
onClick: (w) => C(
|
|
5210
|
+
onClick: (w) => C(L)
|
|
5211
5211
|
}, null, 12, br))), 128))
|
|
5212
5212
|
])) : k("", !0),
|
|
5213
5213
|
e.areNavigationArrowsVisible ? (p(), g("div", {
|
|
@@ -5228,7 +5228,7 @@ const ar = (e, t) => {
|
|
|
5228
5228
|
}
|
|
5229
5229
|
}, Kt = /* @__PURE__ */ ar(Sr, [["__scopeId", "data-v-54620d25"]]);
|
|
5230
5230
|
function Ir(e) {
|
|
5231
|
-
const t =
|
|
5231
|
+
const t = H({ width: 0, height: 0 });
|
|
5232
5232
|
function i() {
|
|
5233
5233
|
const s = e.value.getBoundingClientRect();
|
|
5234
5234
|
t.value.width = s.width, t.value.height = s.height;
|
|
@@ -5485,7 +5485,7 @@ const Pr = /* @__PURE__ */ Cr(Zt, [["render", Dr], ["__scopeId", "data-v-b548a08
|
|
|
5485
5485
|
arrowsBorder: { type: String, default: "none" }
|
|
5486
5486
|
},
|
|
5487
5487
|
setup() {
|
|
5488
|
-
const e =
|
|
5488
|
+
const e = H("myDivRef"), {
|
|
5489
5489
|
elementSize: t
|
|
5490
5490
|
} = Ir(e);
|
|
5491
5491
|
return {
|
|
@@ -5729,7 +5729,7 @@ const mt = /* @__PURE__ */ Ur(Qt, [["render", Wr], ["__scopeId", "data-v-8a86dfa
|
|
|
5729
5729
|
}
|
|
5730
5730
|
},
|
|
5731
5731
|
methods: {
|
|
5732
|
-
getImageUrl:
|
|
5732
|
+
getImageUrl: P,
|
|
5733
5733
|
changeCarouselItem(e) {
|
|
5734
5734
|
this.$emit("input", {
|
|
5735
5735
|
season_id: e.selectedItem.season,
|
|
@@ -6475,7 +6475,7 @@ const Rc = /* @__PURE__ */ _c(ei, [["render", Tc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6475
6475
|
},
|
|
6476
6476
|
emits: ["input", "click-ready", "update:modelValue"],
|
|
6477
6477
|
setup(e, { emit: t }) {
|
|
6478
|
-
const i = e, s =
|
|
6478
|
+
const i = e, s = H({}), a = H(null), n = H(i.isMultipleOption ? -1 : 0), l = H(!1);
|
|
6479
6479
|
fe(
|
|
6480
6480
|
() => i.items,
|
|
6481
6481
|
(C, _) => {
|
|
@@ -6725,7 +6725,7 @@ const Rc = /* @__PURE__ */ _c(ei, [["render", Tc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6725
6725
|
Ue((h) => ({
|
|
6726
6726
|
v62819590: e.marginModal
|
|
6727
6727
|
}));
|
|
6728
|
-
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 =
|
|
6728
|
+
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 = H(null), l = t, c = H(["local", "visit"]), m = H(["win", "draw", "lose"]), y = H(!0), f = H(!0), v = H(!0), d = H(!0), C = H(["local", "visit"]), _ = H(["win", "draw", "lose"]), b = () => {
|
|
6729
6729
|
n.value.focus(), c.value = JSON.parse(JSON.stringify(C.value)), m.value = JSON.parse(JSON.stringify(_.value)), y.value = v.value, f.value = d.value;
|
|
6730
6730
|
};
|
|
6731
6731
|
fe(() => i.itemSelect, (h) => {
|
|
@@ -6740,7 +6740,7 @@ const Rc = /* @__PURE__ */ _c(ei, [["render", Tc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6740
6740
|
B == -1 ? A.push(h) : I == "team" && C.value.length == 2 ? A.splice(B, 1) : (I == "team" && A.push(h), _.value.length > 1 && A.splice(B, 1)), v.value = C.value.length == 2, d.value = _.value.length == 3;
|
|
6741
6741
|
}, O = () => {
|
|
6742
6742
|
C.value = ["local", "visit"], _.value = ["win", "draw", "lose"], v.value = !0, d.value = !0, l("change", { selectedFilterTeam: C.value, selectedFilterResults: _.value });
|
|
6743
|
-
},
|
|
6743
|
+
}, L = () => {
|
|
6744
6744
|
l("change", { selectedFilterTeam: C.value, selectedFilterResults: _.value });
|
|
6745
6745
|
}, w = () => {
|
|
6746
6746
|
l("change", { selectedFilterTeam: C.value, selectedFilterResults: _.value });
|
|
@@ -6828,7 +6828,7 @@ const Rc = /* @__PURE__ */ _c(ei, [["render", Tc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6828
6828
|
}, "Quitar filtros"),
|
|
6829
6829
|
o("div", {
|
|
6830
6830
|
class: "button filter-modal__outline-btn",
|
|
6831
|
-
onClick:
|
|
6831
|
+
onClick: L
|
|
6832
6832
|
}, "Listo")
|
|
6833
6833
|
])
|
|
6834
6834
|
], 34)
|
|
@@ -7313,7 +7313,7 @@ const hd = /* @__PURE__ */ ad(ti, [["render", dd], ["__scopeId", "data-v-e2a2044
|
|
|
7313
7313
|
}
|
|
7314
7314
|
},
|
|
7315
7315
|
methods: {
|
|
7316
|
-
getImageUrl:
|
|
7316
|
+
getImageUrl: P,
|
|
7317
7317
|
clickOnValueFilter() {
|
|
7318
7318
|
this.auxISsection = 0;
|
|
7319
7319
|
},
|
|
@@ -8542,7 +8542,7 @@ const Iu = {
|
|
|
8542
8542
|
}
|
|
8543
8543
|
},
|
|
8544
8544
|
methods: {
|
|
8545
|
-
getImageUrl:
|
|
8545
|
+
getImageUrl: P,
|
|
8546
8546
|
remplazarMxJor(e) {
|
|
8547
8547
|
return e.replace("M", "JOR ");
|
|
8548
8548
|
},
|
|
@@ -9005,17 +9005,17 @@ const Zm = {
|
|
|
9005
9005
|
}
|
|
9006
9006
|
},
|
|
9007
9007
|
methods: {
|
|
9008
|
-
getImageUrl:
|
|
9008
|
+
getImageUrl: P,
|
|
9009
9009
|
clickOnSelectOption(e) {
|
|
9010
9010
|
this.$emit("clickOnSelectOption", e);
|
|
9011
9011
|
},
|
|
9012
9012
|
changeDropdownVisit(e) {
|
|
9013
9013
|
const t = this.gameRecientes[this.gameInfo.away_team_abbreviation].findIndex((i) => i.matchday_id === e.id);
|
|
9014
|
-
this.rivalVisitAbrev = this.gameInfo.away_team_abbreviation == this.gameRecientes[this.gameInfo.away_team_abbreviation][t].home_team_abbreviation ? this.gameRecientes[this.gameInfo.away_team_abbreviation][t].away_team_abbreviation : this.gameRecientes[this.gameInfo.away_team_abbreviation][t].home_team_abbreviation, this.rivalVisitImg = this.gameInfo.away_team_abbreviation == this.gameRecientes[this.gameInfo.away_team_abbreviation][t].home_team_abbreviation ?
|
|
9014
|
+
this.rivalVisitAbrev = this.gameInfo.away_team_abbreviation == this.gameRecientes[this.gameInfo.away_team_abbreviation][t].home_team_abbreviation ? this.gameRecientes[this.gameInfo.away_team_abbreviation][t].away_team_abbreviation : this.gameRecientes[this.gameInfo.away_team_abbreviation][t].home_team_abbreviation, this.rivalVisitImg = this.gameInfo.away_team_abbreviation == this.gameRecientes[this.gameInfo.away_team_abbreviation][t].home_team_abbreviation ? P("https://golstatsimages.blob.core.windows.net/teams-80/" + this.gameRecientes[this.gameInfo.away_team_abbreviation][t].away_team + ".png", this.provider) : P("https://golstatsimages.blob.core.windows.net/teams-80/" + this.gameRecientes[this.gameInfo.away_team_abbreviation][t].home_team + ".png", this.provider), this.$emit("changeaway", this.gameRecientes[this.gameInfo.away_team_abbreviation][t]);
|
|
9015
9015
|
},
|
|
9016
9016
|
changeDropdownLocal(e) {
|
|
9017
9017
|
const t = this.gameRecientes[this.gameInfo.home_team_abbreviation].findIndex((i) => i.matchday_id === e.id);
|
|
9018
|
-
this.rivalHomeAbrev = this.gameInfo.home_team_abbreviation == this.gameRecientes[this.gameInfo.home_team_abbreviation][t].away_team_abbreviation ? this.gameRecientes[this.gameInfo.home_team_abbreviation][t].home_team_abbreviation : this.gameRecientes[this.gameInfo.home_team_abbreviation][t].away_team_abbreviation, this.rivalHomeImg = this.gameInfo.home_team_abbreviation == this.gameRecientes[this.gameInfo.home_team_abbreviation][t].away_team_abbreviation ?
|
|
9018
|
+
this.rivalHomeAbrev = this.gameInfo.home_team_abbreviation == this.gameRecientes[this.gameInfo.home_team_abbreviation][t].away_team_abbreviation ? this.gameRecientes[this.gameInfo.home_team_abbreviation][t].home_team_abbreviation : this.gameRecientes[this.gameInfo.home_team_abbreviation][t].away_team_abbreviation, this.rivalHomeImg = this.gameInfo.home_team_abbreviation == this.gameRecientes[this.gameInfo.home_team_abbreviation][t].away_team_abbreviation ? P("https://golstatsimages.blob.core.windows.net/teams-80/" + this.gameRecientes[this.gameInfo.home_team_abbreviation][t].home_team + ".png", this.provider) : P("https://golstatsimages.blob.core.windows.net/teams-80/" + this.gameRecientes[this.gameInfo.home_team_abbreviation][t].away_team + ".png", this.provider), this.$emit("changehome", this.gameRecientes[this.gameInfo.home_team_abbreviation][t]);
|
|
9019
9019
|
}
|
|
9020
9020
|
}
|
|
9021
9021
|
}, pf = ["src"], ff = { class: "selector-tournaments" }, gf = ["src"], yf = ["src"], _f = { class: "selector-tournaments" }, bf = ["src"], wf = ["src"], vf = { class: "selector-tournaments" }, Sf = ["src"], If = ["src"], Cf = { class: "selector-tournaments" }, kf = ["src"], Of = ["src"], Tf = ["src"], Rf = { class: "selector-tournaments" }, Ff = ["src"], Af = ["src"], $f = { class: "selector-tournaments" };
|
|
@@ -10045,13 +10045,16 @@ const Uf = {
|
|
|
10045
10045
|
name: t[this.home_team_id][u].playerName,
|
|
10046
10046
|
position: m != -1 ? this.isFemale ? this.positions[this.dataPlayersHome[m].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[this.dataPlayersHome[m].position_id - 1].name : "",
|
|
10047
10047
|
position_id: this.dataPlayersHome[m].position_id,
|
|
10048
|
-
imgPlayer:
|
|
10048
|
+
imgPlayer: P(
|
|
10049
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + t[this.home_team_id][u].playerID + ".png",
|
|
10050
|
+
this.provider
|
|
10051
|
+
),
|
|
10049
10052
|
nationality: m != -1 && this.dataPlayersHome[m].nationality ? this.dataPlayersHome[m].nationality.substring(0, 3) : "",
|
|
10050
10053
|
imgNationality: m != -1 ? this.dataPlayersHome[m].nationality_photo : "",
|
|
10051
10054
|
substitutionIn: !1,
|
|
10052
10055
|
substitutionOut: !1,
|
|
10053
10056
|
abrevNamePlayer: c,
|
|
10054
|
-
imgTeam:
|
|
10057
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + this.home_team_id + ".png", this.provider),
|
|
10055
10058
|
substitutionMin: "",
|
|
10056
10059
|
substitutionDataID: "",
|
|
10057
10060
|
shirt_number: t[this.home_team_id][u].jerseyNumber,
|
|
@@ -10096,13 +10099,16 @@ const Uf = {
|
|
|
10096
10099
|
name: t[this.away_team_id][u].playerName,
|
|
10097
10100
|
position: b != -1 ? this.isFemale ? this.positions[this.dataPlayersAway[b].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[this.dataPlayersAway[b].position_id - 1].name : "",
|
|
10098
10101
|
position_id: this.dataPlayersAway[b].position_id,
|
|
10099
|
-
imgPlayer:
|
|
10102
|
+
imgPlayer: P(
|
|
10103
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + t[this.away_team_id][u].playerID + ".png",
|
|
10104
|
+
this.provider
|
|
10105
|
+
),
|
|
10100
10106
|
nationality: b != -1 && this.dataPlayersAway[b].nationality ? this.dataPlayersAway[b].nationality.substring(0, 3) : "",
|
|
10101
10107
|
imgNationality: b != -1 ? this.dataPlayersAway[b].nationality_photo : "",
|
|
10102
10108
|
substitutionIn: !1,
|
|
10103
10109
|
substitutionOut: !1,
|
|
10104
10110
|
abrevNamePlayer: _,
|
|
10105
|
-
imgTeam:
|
|
10111
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + this.away_team_id + ".png", this.provider),
|
|
10106
10112
|
substitutionMin: "",
|
|
10107
10113
|
substitutionDataID: "",
|
|
10108
10114
|
shirt_number: t[this.away_team_id][u].jerseyNumber,
|
|
@@ -10155,13 +10161,16 @@ const Uf = {
|
|
|
10155
10161
|
name: t.data[h].player_name,
|
|
10156
10162
|
position: f != -1 ? this.isFemale ? this.positions[t.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[t.home_team.players[f].position_id - 1].name : "",
|
|
10157
10163
|
position_id: t.home_team.players[f].position_id,
|
|
10158
|
-
imgPlayer:
|
|
10164
|
+
imgPlayer: P(
|
|
10165
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + t.data[h].player_id + ".png",
|
|
10166
|
+
this.provider
|
|
10167
|
+
),
|
|
10159
10168
|
nationality: f != -1 && t.home_team.players[f].nationality ? t.home_team.players[f].nationality.substring(0, 3) : "",
|
|
10160
10169
|
imgNationality: f != -1 ? t.home_team.players[f].nationality_photo : "",
|
|
10161
10170
|
substitutionIn: !1,
|
|
10162
10171
|
substitutionOut: !1,
|
|
10163
10172
|
abrevNamePlayer: c,
|
|
10164
|
-
imgTeam:
|
|
10173
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + t.team_id + ".png", this.provider),
|
|
10165
10174
|
substitutionMin: "",
|
|
10166
10175
|
substitutionDataID: "",
|
|
10167
10176
|
shirt_number: t.data[h].jersey_number,
|
|
@@ -10182,7 +10191,7 @@ const Uf = {
|
|
|
10182
10191
|
idSubstitution: 0,
|
|
10183
10192
|
isbench: !1,
|
|
10184
10193
|
id_team: t.team_id
|
|
10185
|
-
}), this.homeTeamLogo =
|
|
10194
|
+
}), this.homeTeamLogo = P("https://golstatsimages.blob.core.windows.net/teams-80/" + t.team_id + ".png", this.provider);
|
|
10186
10195
|
}
|
|
10187
10196
|
this.playersHome.sort(
|
|
10188
10197
|
(h, I) => h.position_id > I.position_id ? 1 : I.position_id > h.position_id ? -1 : 0
|
|
@@ -10204,8 +10213,8 @@ const Uf = {
|
|
|
10204
10213
|
d.length == 2 || d.length == 1 ? d[0].length < 4 ? _ = d[0] + " " + d[1] : _ = d[0] : d.length == 3 ? _ = d[0] + " " + d[1] : d.length == 4 && (_ = d[1] + " " + d[2] + " " + d[3]);
|
|
10205
10214
|
var b = C[C.length - 1] != "" ? C[C.length - 1].charAt(0) : C[C.length - 2] ? C[C.length - 2].charAt(0) : "";
|
|
10206
10215
|
_ = _.replace(",", "");
|
|
10207
|
-
var u = b + ". " + _, O = t.data[h].x,
|
|
10208
|
-
|
|
10216
|
+
var u = b + ". " + _, O = t.data[h].x, L = 100 - (100 - O) * 50 / 100;
|
|
10217
|
+
L = L * 0.9;
|
|
10209
10218
|
var w = t.away_team.players.findIndex(
|
|
10210
10219
|
(I) => I.player_id == t.data[h].player_id
|
|
10211
10220
|
);
|
|
@@ -10214,18 +10223,21 @@ const Uf = {
|
|
|
10214
10223
|
name: t.data[h].player_name,
|
|
10215
10224
|
position: w != -1 ? this.isFemale ? this.positions[t.away_team.players[w].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[t.away_team.players[w].position_id - 1].name : "",
|
|
10216
10225
|
position_id: t.away_team.players[w].position_id,
|
|
10217
|
-
imgPlayer:
|
|
10226
|
+
imgPlayer: P(
|
|
10227
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + t.data[h].player_id + ".png",
|
|
10228
|
+
this.provider
|
|
10229
|
+
),
|
|
10218
10230
|
nationality: w != -1 && t.away_team.players[w].nationality ? t.away_team.players[w].nationality.substring(0, 3) : "",
|
|
10219
10231
|
imgNationality: w != -1 ? t.away_team.players[w].nationality_photo : "",
|
|
10220
10232
|
substitutionIn: !1,
|
|
10221
10233
|
substitutionOut: !1,
|
|
10222
10234
|
abrevNamePlayer: u,
|
|
10223
|
-
imgTeam:
|
|
10235
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + t.team_id + ".png", this.provider),
|
|
10224
10236
|
substitutionMin: "",
|
|
10225
10237
|
substitutionDataID: "",
|
|
10226
10238
|
shirt_number: t.data[h].jersey_number,
|
|
10227
10239
|
positionX: t.data[h].y - 13,
|
|
10228
|
-
positionY:
|
|
10240
|
+
positionY: L + 2,
|
|
10229
10241
|
positionXOrigin: t.data[h].y - 17,
|
|
10230
10242
|
positionYOrigin: t.data[h].x - 7,
|
|
10231
10243
|
playerId: t.data[h].player_id,
|
|
@@ -10241,7 +10253,7 @@ const Uf = {
|
|
|
10241
10253
|
idSubstitution: 0,
|
|
10242
10254
|
isbench: !1,
|
|
10243
10255
|
id_team: t.team_id
|
|
10244
|
-
}), this.awayTeamLogo =
|
|
10256
|
+
}), this.awayTeamLogo = P("https://golstatsimages.blob.core.windows.net/teams-80/" + t.team_id + ".png", this.provider);
|
|
10245
10257
|
}
|
|
10246
10258
|
this.playersAway.sort(
|
|
10247
10259
|
(h, I) => h.position_id > I.position_id ? 1 : I.position_id > h.position_id ? -1 : 0
|
|
@@ -10304,10 +10316,10 @@ const Uf = {
|
|
|
10304
10316
|
if (t.event_type_id == 1) {
|
|
10305
10317
|
if (t.team_id == this.home_team_id) {
|
|
10306
10318
|
if (this.playersHome.length > 0) {
|
|
10307
|
-
var
|
|
10319
|
+
var L = this.playersHome.findIndex(
|
|
10308
10320
|
(D) => D.playerId == t.player_id
|
|
10309
10321
|
);
|
|
10310
|
-
|
|
10322
|
+
L != -1 && (this.playersHome[L].goals += 1, this.playersHome[L].goalsMin.push(t.minute), this.playersHome[L].idsGoals.push(t.play_id));
|
|
10311
10323
|
}
|
|
10312
10324
|
} else if (this.playersAway.length > 0) {
|
|
10313
10325
|
var w = this.playersAway.findIndex(
|
|
@@ -10552,13 +10564,16 @@ const Uf = {
|
|
|
10552
10564
|
name: h.data.home_team.starting_lineup[0].lineup[I].player_name,
|
|
10553
10565
|
position: this.isFemale ? this.positions[h.data.home_team.players[y].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[h.data.home_team.players[y].position_id - 1].name,
|
|
10554
10566
|
position_id: h.data.home_team.players[y].position_id - 1,
|
|
10555
|
-
imgPlayer:
|
|
10567
|
+
imgPlayer: P(
|
|
10568
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + h.data.home_team.starting_lineup[0].lineup[I].player_id + ".png",
|
|
10569
|
+
this.provider
|
|
10570
|
+
),
|
|
10556
10571
|
nationality: h.data.home_team.players[y].nationality ? h.data.home_team.players[y].nationality.substring(0, 3) : "",
|
|
10557
10572
|
imgNationality: h.data.home_team.players[y].nationality_photo,
|
|
10558
10573
|
substitutionIn: !1,
|
|
10559
10574
|
substitutionOut: !1,
|
|
10560
10575
|
abrevNamePlayer: l,
|
|
10561
|
-
imgTeam:
|
|
10576
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + h.data.home_team.team_id + ".png", this.provider),
|
|
10562
10577
|
substitutionMin: "",
|
|
10563
10578
|
substitutionDataID: "",
|
|
10564
10579
|
shirt_number: h.data.home_team.starting_lineup[0].lineup[I].jersey_number,
|
|
@@ -10579,7 +10594,7 @@ const Uf = {
|
|
|
10579
10594
|
idSubstitution: 0,
|
|
10580
10595
|
isbench: !1,
|
|
10581
10596
|
id_team: h.data.home_team.team_id
|
|
10582
|
-
}), this.homeTeamLogo =
|
|
10597
|
+
}), this.homeTeamLogo = P("https://golstatsimages.blob.core.windows.net/teams-80/" + h.data.home_team.team_id + ".png", this.provider);
|
|
10583
10598
|
}
|
|
10584
10599
|
if (this.playersHome.sort(
|
|
10585
10600
|
(I, A) => I.position_id > A.position_id ? 1 : A.position_id > I.position_id ? -1 : 0
|
|
@@ -10598,7 +10613,10 @@ const Uf = {
|
|
|
10598
10613
|
name: h.data.home_team.bench[I].playerName,
|
|
10599
10614
|
position: u != -1 ? this.isFemale ? this.positions[h.data.home_team.players[u].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[h.data.home_team.players[u].position_id - 1].name : "",
|
|
10600
10615
|
position_id: h.data.home_team.players[u].position_id,
|
|
10601
|
-
imgPlayer:
|
|
10616
|
+
imgPlayer: P(
|
|
10617
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + h.data.home_team.bench[I].playerID + ".png",
|
|
10618
|
+
this.provider
|
|
10619
|
+
),
|
|
10602
10620
|
nationality: u != -1 && h.data.home_team.players[u].nationality ? h.data.home_team.players[u].nationality.substring(
|
|
10603
10621
|
0,
|
|
10604
10622
|
3
|
|
@@ -10607,7 +10625,7 @@ const Uf = {
|
|
|
10607
10625
|
substitutionIn: !1,
|
|
10608
10626
|
substitutionOut: !1,
|
|
10609
10627
|
abrevNamePlayer: b,
|
|
10610
|
-
imgTeam:
|
|
10628
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + h.data.home_team.team_id + ".png", this.provider),
|
|
10611
10629
|
substitutionMin: "",
|
|
10612
10630
|
substitutionDataID: "",
|
|
10613
10631
|
shirt_number: h.data.home_team.bench[I].jerseyNumber,
|
|
@@ -10655,8 +10673,8 @@ const Uf = {
|
|
|
10655
10673
|
a = a.replace(",", "");
|
|
10656
10674
|
var l = n + ". " + a, O = h.data.away_team.starting_lineup[0].lineup[I].x;
|
|
10657
10675
|
O = Math.abs(O - 100);
|
|
10658
|
-
var m = O * 50 / 100,
|
|
10659
|
-
|
|
10676
|
+
var m = O * 50 / 100, L = h.data.away_team.starting_lineup[0].lineup[I].y;
|
|
10677
|
+
L = Math.abs(L - 100);
|
|
10660
10678
|
var y = h.data.away_team.players.findIndex(
|
|
10661
10679
|
(X) => X.player_id == h.data.away_team.starting_lineup[0].lineup[I].player_id
|
|
10662
10680
|
);
|
|
@@ -10665,17 +10683,20 @@ const Uf = {
|
|
|
10665
10683
|
name: h.data.away_team.starting_lineup[0].lineup[I].player_name,
|
|
10666
10684
|
position: this.isFemale ? this.positions[h.data.away_team.players[y].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[h.data.away_team.players[y].position_id - 1].name,
|
|
10667
10685
|
position_id: h.data.away_team.players[y].position_id - 1,
|
|
10668
|
-
imgPlayer:
|
|
10686
|
+
imgPlayer: P(
|
|
10687
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + h.data.away_team.starting_lineup[0].lineup[I].player_id + ".png",
|
|
10688
|
+
this.provider
|
|
10689
|
+
),
|
|
10669
10690
|
nationality: h.data.away_team.players[y].nationality ? h.data.away_team.players[y].nationality.substring(0, 3) : "",
|
|
10670
10691
|
imgNationality: h.data.away_team.players[y].nationality_photo,
|
|
10671
10692
|
substitutionIn: !1,
|
|
10672
10693
|
substitutionOut: !1,
|
|
10673
10694
|
abrevNamePlayer: l,
|
|
10674
|
-
imgTeam:
|
|
10695
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + h.data.away_team.team_id + ".png", this.provider),
|
|
10675
10696
|
substitutionMin: "",
|
|
10676
10697
|
substitutionDataID: "",
|
|
10677
10698
|
shirt_number: h.data.away_team.starting_lineup[0].lineup[I].jersey_number,
|
|
10678
|
-
positionX:
|
|
10699
|
+
positionX: L - 20,
|
|
10679
10700
|
positionY: m * 0.9,
|
|
10680
10701
|
positionXOrigin: h.data.away_team.starting_lineup[0].lineup[I].y - 17,
|
|
10681
10702
|
positionYOrigin: h.data.away_team.starting_lineup[0].lineup[I].x - 2,
|
|
@@ -10692,7 +10713,7 @@ const Uf = {
|
|
|
10692
10713
|
idSubstitution: 0,
|
|
10693
10714
|
isbench: !1,
|
|
10694
10715
|
id_team: h.data.away_team.team_id
|
|
10695
|
-
}), this.homeTeamLogo =
|
|
10716
|
+
}), this.homeTeamLogo = P("https://golstatsimages.blob.core.windows.net/teams-80/" + h.data.away_team.team_id + ".png", this.provider);
|
|
10696
10717
|
}
|
|
10697
10718
|
if (this.playersHome.sort(
|
|
10698
10719
|
(I, A) => I.position_id > A.position_id ? 1 : A.position_id > I.position_id ? -1 : 0
|
|
@@ -10711,7 +10732,10 @@ const Uf = {
|
|
|
10711
10732
|
name: h.data.away_team.bench[I].playerName,
|
|
10712
10733
|
position: u != -1 ? this.isFemale ? this.positions[h.data.away_team.players[u].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[h.data.away_team.players[u].position_id - 1].name : "",
|
|
10713
10734
|
position_id: h.data.away_team.players[u].position_id,
|
|
10714
|
-
imgPlayer:
|
|
10735
|
+
imgPlayer: P(
|
|
10736
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + h.data.away_team.bench[I].playerID + ".png",
|
|
10737
|
+
this.provider
|
|
10738
|
+
),
|
|
10715
10739
|
nationality: u != -1 && h.data.away_team.players[u].nationality ? h.data.away_team.players[u].nationality.substring(
|
|
10716
10740
|
0,
|
|
10717
10741
|
3
|
|
@@ -10720,7 +10744,7 @@ const Uf = {
|
|
|
10720
10744
|
substitutionIn: !1,
|
|
10721
10745
|
substitutionOut: !1,
|
|
10722
10746
|
abrevNamePlayer: b,
|
|
10723
|
-
imgTeam:
|
|
10747
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + h.data.away_team.team_id + ".png", this.provider),
|
|
10724
10748
|
substitutionMin: "",
|
|
10725
10749
|
substitutionDataID: "",
|
|
10726
10750
|
shirt_number: h.data.away_team.bench[I].jerseyNumber,
|
|
@@ -10864,13 +10888,16 @@ const Uf = {
|
|
|
10864
10888
|
name: w.data.home_team.starting_lineup[0].lineup[h].player_name,
|
|
10865
10889
|
position: this.isFemale ? this.positions[w.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[w.data.home_team.players[f].position_id - 1].name,
|
|
10866
10890
|
position_id: w.data.home_team.players[f].position_id,
|
|
10867
|
-
imgPlayer:
|
|
10891
|
+
imgPlayer: P(
|
|
10892
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + w.data.home_team.starting_lineup[0].lineup[h].player_id + ".png",
|
|
10893
|
+
this.provider
|
|
10894
|
+
),
|
|
10868
10895
|
nationality: w.data.home_team.players[f].nationality ? w.data.home_team.players[f].nationality.substring(0, 3) : "",
|
|
10869
10896
|
imgNationality: w.data.home_team.players[f].nationality_photo,
|
|
10870
10897
|
substitutionIn: !1,
|
|
10871
10898
|
substitutionOut: !1,
|
|
10872
10899
|
abrevNamePlayer: l,
|
|
10873
|
-
imgTeam:
|
|
10900
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + w.data.home_team.team_id + ".png", this.provider),
|
|
10874
10901
|
substitutionMin: "",
|
|
10875
10902
|
substitutionDataID: "",
|
|
10876
10903
|
shirt_number: w.data.home_team.starting_lineup[0].lineup[h].jersey_number,
|
|
@@ -10891,7 +10918,7 @@ const Uf = {
|
|
|
10891
10918
|
idSubstitution: 0,
|
|
10892
10919
|
isbench: !1,
|
|
10893
10920
|
id_team: w.data.home_team.team_id
|
|
10894
|
-
}), this.awayTeamLogo =
|
|
10921
|
+
}), this.awayTeamLogo = P("https://golstatsimages.blob.core.windows.net/teams-80/" + w.data.home_team.team_id + ".png", this.provider);
|
|
10895
10922
|
}
|
|
10896
10923
|
if (this.playersAway.sort(
|
|
10897
10924
|
(h, I) => h.position_id > I.position_id ? 1 : I.position_id > h.position_id ? -1 : 0
|
|
@@ -10910,7 +10937,10 @@ const Uf = {
|
|
|
10910
10937
|
name: w.data.home_team.bench[h].playerName,
|
|
10911
10938
|
position: O != -1 ? this.isFemale ? this.positions[w.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[w.data.home_team.players[O].position_id - 1].name : "",
|
|
10912
10939
|
position_id: w.data.home_team.players[O].position_id,
|
|
10913
|
-
imgPlayer:
|
|
10940
|
+
imgPlayer: P(
|
|
10941
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + w.data.home_team.bench[h].playerID + ".png",
|
|
10942
|
+
this.provider
|
|
10943
|
+
),
|
|
10914
10944
|
nationality: O != -1 && w.data.home_team.players[O].nationality ? w.data.home_team.players[O].nationality.substring(
|
|
10915
10945
|
0,
|
|
10916
10946
|
3
|
|
@@ -10919,7 +10949,7 @@ const Uf = {
|
|
|
10919
10949
|
substitutionIn: !1,
|
|
10920
10950
|
substitutionOut: !1,
|
|
10921
10951
|
abrevNamePlayer: u,
|
|
10922
|
-
imgTeam:
|
|
10952
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + w.data.home_team.team_id + ".png", this.provider),
|
|
10923
10953
|
substitutionMin: "",
|
|
10924
10954
|
substitutionDataID: "",
|
|
10925
10955
|
shirt_number: w.data.home_team.bench[h].jerseyNumber,
|
|
@@ -10973,13 +11003,16 @@ const Uf = {
|
|
|
10973
11003
|
name: w.data.away_team.starting_lineup[0].lineup[h].player_name,
|
|
10974
11004
|
position: this.isFemale ? this.positions[w.data.away_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[w.data.away_team.players[f].position_id - 1].name,
|
|
10975
11005
|
position_id: w.data.away_team.players[f].position_id,
|
|
10976
|
-
imgPlayer:
|
|
11006
|
+
imgPlayer: P(
|
|
11007
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + w.data.away_team.starting_lineup[0].lineup[h].player_id + ".png",
|
|
11008
|
+
this.provider
|
|
11009
|
+
),
|
|
10977
11010
|
nationality: w.data.away_team.players[f].nationality ? w.data.away_team.players[f].nationality.substring(0, 3) : "",
|
|
10978
11011
|
imgNationality: w.data.away_team.players[f].nationality_photo,
|
|
10979
11012
|
substitutionIn: !1,
|
|
10980
11013
|
substitutionOut: !1,
|
|
10981
11014
|
abrevNamePlayer: l,
|
|
10982
|
-
imgTeam:
|
|
11015
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + w.data.away_team.team_id + ".png", this.provider),
|
|
10983
11016
|
substitutionMin: "",
|
|
10984
11017
|
substitutionDataID: "",
|
|
10985
11018
|
shirt_number: w.data.away_team.starting_lineup[0].lineup[h].jersey_number,
|
|
@@ -11000,7 +11033,7 @@ const Uf = {
|
|
|
11000
11033
|
idSubstitution: 0,
|
|
11001
11034
|
isbench: !1,
|
|
11002
11035
|
id_team: w.data.away_team.team_id
|
|
11003
|
-
}), this.awayTeamLogo =
|
|
11036
|
+
}), this.awayTeamLogo = P("https://golstatsimages.blob.core.windows.net/teams-80/" + w.data.away_team.team_id + ".png", this.provider);
|
|
11004
11037
|
}
|
|
11005
11038
|
if (this.playersAway.sort(
|
|
11006
11039
|
(h, I) => h.position_id > I.position_id ? 1 : I.position_id > h.position_id ? -1 : 0
|
|
@@ -11019,7 +11052,10 @@ const Uf = {
|
|
|
11019
11052
|
name: w.data.away_team.bench[h].playerName,
|
|
11020
11053
|
position: O != -1 ? this.isFemale ? this.positions[w.data.away_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[w.data.away_team.players[O].position_id - 1].name : "",
|
|
11021
11054
|
position_id: w.data.away_team.players[O].position_id,
|
|
11022
|
-
imgPlayer:
|
|
11055
|
+
imgPlayer: P(
|
|
11056
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + w.data.away_team.bench[h].playerID + ".png",
|
|
11057
|
+
this.provider
|
|
11058
|
+
),
|
|
11023
11059
|
nationality: O != -1 && w.data.away_team.players[O].nationality ? w.data.away_team.players[O].nationality.substring(
|
|
11024
11060
|
0,
|
|
11025
11061
|
3
|
|
@@ -11028,7 +11064,7 @@ const Uf = {
|
|
|
11028
11064
|
substitutionIn: !1,
|
|
11029
11065
|
substitutionOut: !1,
|
|
11030
11066
|
abrevNamePlayer: u,
|
|
11031
|
-
imgTeam:
|
|
11067
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + w.data.away_team.team_id + ".png", this.provider),
|
|
11032
11068
|
substitutionMin: "",
|
|
11033
11069
|
substitutionDataID: "",
|
|
11034
11070
|
shirt_number: w.data.away_team.bench[h].jerseyNumber,
|
|
@@ -11059,8 +11095,8 @@ const Uf = {
|
|
|
11059
11095
|
await this.getMXM(e), this.removeRequestPending(e, "away"), console.log(
|
|
11060
11096
|
`✅ getLineUpProbablesAway3D: Petición completada exitosamente para game_id: ${e}`
|
|
11061
11097
|
), console.log(`📊 Jugadores AWAY cargados: ${this.playersAway.length}`);
|
|
11062
|
-
} catch (
|
|
11063
|
-
return this.removeRequestPending(e, "away"), console.error(`❌ getLineUpProbablesAway3D: Error en petición para game_id: ${e}`,
|
|
11098
|
+
} catch (L) {
|
|
11099
|
+
return this.removeRequestPending(e, "away"), console.error(`❌ getLineUpProbablesAway3D: Error en petición para game_id: ${e}`, L), Promise.reject(L);
|
|
11064
11100
|
}
|
|
11065
11101
|
},
|
|
11066
11102
|
async getLineupProbablesHome(e) {
|
|
@@ -11335,7 +11371,7 @@ const Uf = {
|
|
|
11335
11371
|
if (!R || !R.data)
|
|
11336
11372
|
throw new Error("There is not lineups for this game.");
|
|
11337
11373
|
this.dataPlayersHome = R.data.home_team.players, this.dataPlayersAway = R.data.away_team.players, R.data.home_team.starting_lineup[0].lineup.sort(
|
|
11338
|
-
($,
|
|
11374
|
+
($, x) => $.position_id > x.position_id ? 1 : x.position_id > $.position_id ? -1 : 0
|
|
11339
11375
|
);
|
|
11340
11376
|
for (let $ = 0; $ < R.data.home_team.starting_lineup[0].lineup.length; $++) {
|
|
11341
11377
|
this.home_team_id = R.data.home_team.team_id, this.imageExists(
|
|
@@ -11352,20 +11388,23 @@ const Uf = {
|
|
|
11352
11388
|
var l = a[a.length - 1] != "" ? a[a.length - 1].charAt(0) : a[a.length - 2] ? a[a.length - 2].charAt(0) : "";
|
|
11353
11389
|
n = n.replace(",", "");
|
|
11354
11390
|
var c = l + ". " + n, m = R.data.home_team.starting_lineup[0].lineup[$].x, y = m * 50 / 100, f = R.data.home_team.players.findIndex(
|
|
11355
|
-
(
|
|
11391
|
+
(x) => x.player_id == R.data.home_team.starting_lineup[0].lineup[$].player_id
|
|
11356
11392
|
);
|
|
11357
11393
|
this.playersHome.push({
|
|
11358
11394
|
played: !0,
|
|
11359
11395
|
name: R.data.home_team.starting_lineup[0].lineup[$].player_name,
|
|
11360
11396
|
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,
|
|
11361
11397
|
position_id: R.data.home_team.players[f].position_id - 1,
|
|
11362
|
-
imgPlayer:
|
|
11398
|
+
imgPlayer: P(
|
|
11399
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.home_team.starting_lineup[0].lineup[$].player_id + ".png",
|
|
11400
|
+
this.provider
|
|
11401
|
+
),
|
|
11363
11402
|
nationality: R.data.home_team.players[f].nationality ? R.data.home_team.players[f].nationality.substring(0, 3) : "",
|
|
11364
11403
|
imgNationality: R.data.home_team.players[f].nationality_photo,
|
|
11365
11404
|
substitutionIn: !1,
|
|
11366
11405
|
substitutionOut: !1,
|
|
11367
11406
|
abrevNamePlayer: c,
|
|
11368
|
-
imgTeam:
|
|
11407
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png", this.provider),
|
|
11369
11408
|
substitutionMin: "",
|
|
11370
11409
|
substitutionDataID: "",
|
|
11371
11410
|
shirt_number: R.data.home_team.starting_lineup[0].lineup[$].jersey_number,
|
|
@@ -11386,10 +11425,10 @@ const Uf = {
|
|
|
11386
11425
|
idSubstitution: 0,
|
|
11387
11426
|
isbench: !1,
|
|
11388
11427
|
id_team: R.data.home_team.team_id
|
|
11389
|
-
}), this.homeTeamLogo =
|
|
11428
|
+
}), this.homeTeamLogo = P("https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png", this.provider), this.homeTeamLogo = P("https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png", this.provider), 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;
|
|
11390
11429
|
}
|
|
11391
11430
|
if (this.playersHome.sort(
|
|
11392
|
-
($,
|
|
11431
|
+
($, x) => $.position_id > x.position_id ? 1 : x.position_id > $.position_id ? -1 : 0
|
|
11393
11432
|
), R.data.home_team.bench) {
|
|
11394
11433
|
for (let $ = 0; $ < R.data.home_team.bench.length; $++) {
|
|
11395
11434
|
this.subsTitle = !0;
|
|
@@ -11398,14 +11437,17 @@ const Uf = {
|
|
|
11398
11437
|
var b = C[C.length - 1] != "" ? C[C.length - 1].charAt(0) : C[C.length - 2] ? C[C.length - 2].charAt(0) : "";
|
|
11399
11438
|
_ = _.replace(",", "");
|
|
11400
11439
|
var u = b + ". " + _, O = R.data.home_team.players.findIndex(
|
|
11401
|
-
(
|
|
11440
|
+
(x) => x.player_id == R.data.home_team.bench[$].playerID
|
|
11402
11441
|
);
|
|
11403
11442
|
this.playersHome.push({
|
|
11404
11443
|
played: !1,
|
|
11405
11444
|
name: R.data.home_team.bench[$].playerName,
|
|
11406
11445
|
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 : "",
|
|
11407
11446
|
position_id: R.data.home_team.players[O].position_id,
|
|
11408
|
-
imgPlayer:
|
|
11447
|
+
imgPlayer: P(
|
|
11448
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.home_team.bench[$].playerID + ".png",
|
|
11449
|
+
this.provider
|
|
11450
|
+
),
|
|
11409
11451
|
nationality: O != -1 && R.data.home_team.players[O].nationality ? R.data.home_team.players[O].nationality.substring(
|
|
11410
11452
|
0,
|
|
11411
11453
|
3
|
|
@@ -11414,7 +11456,7 @@ const Uf = {
|
|
|
11414
11456
|
substitutionIn: !1,
|
|
11415
11457
|
substitutionOut: !1,
|
|
11416
11458
|
abrevNamePlayer: u,
|
|
11417
|
-
imgTeam:
|
|
11459
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png", this.provider),
|
|
11418
11460
|
substitutionMin: "",
|
|
11419
11461
|
substitutionDataID: "",
|
|
11420
11462
|
shirt_number: R.data.home_team.bench[$].jerseyNumber,
|
|
@@ -11438,7 +11480,7 @@ const Uf = {
|
|
|
11438
11480
|
});
|
|
11439
11481
|
}
|
|
11440
11482
|
this.playersHome.sort(
|
|
11441
|
-
($,
|
|
11483
|
+
($, x) => $.position_id > x.position_id ? 1 : x.position_id > $.position_id ? -1 : 0
|
|
11442
11484
|
);
|
|
11443
11485
|
}
|
|
11444
11486
|
for (let $ = 0; $ < R.data.away_team.starting_lineup[0].lineup.length; $++) {
|
|
@@ -11451,27 +11493,30 @@ const Uf = {
|
|
|
11451
11493
|
"away",
|
|
11452
11494
|
0
|
|
11453
11495
|
);
|
|
11454
|
-
var
|
|
11496
|
+
var L = R.data.away_team.starting_lineup[0].lineup[$].player_name.split(","), w = L[0].split(" "), h = L[1].trim().split(" "), I = "";
|
|
11455
11497
|
w.length == 2 || w.length == 1 ? w[0].length < 4 ? I = w[0] + " " + w[1] : I = w[0] : w.length == 3 ? I = w[0] + " " + w[1] : w.length == 4 && (I = w[1] + " " + w[2] + " " + w[3]);
|
|
11456
11498
|
var A = h[a.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
|
|
11457
11499
|
I = I.replace(",", "");
|
|
11458
11500
|
var B = A + ". " + I, D = R.data.away_team.starting_lineup[0].lineup[$].x, N = 100 - (100 - D) * 50 / 100;
|
|
11459
11501
|
N = N * 0.9;
|
|
11460
11502
|
var ae = R.data.away_team.players.findIndex(
|
|
11461
|
-
(
|
|
11503
|
+
(x) => x.player_id == R.data.away_team.starting_lineup[0].lineup[$].player_id
|
|
11462
11504
|
);
|
|
11463
11505
|
this.playersAway.push({
|
|
11464
11506
|
played: !0,
|
|
11465
11507
|
name: R.data.away_team.starting_lineup[0].lineup[$].player_name,
|
|
11466
11508
|
position: 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,
|
|
11467
11509
|
position_id: R.data.away_team.players[ae].position_id,
|
|
11468
|
-
imgPlayer:
|
|
11510
|
+
imgPlayer: P(
|
|
11511
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.starting_lineup[0].lineup[$].player_id + ".png",
|
|
11512
|
+
this.provider
|
|
11513
|
+
),
|
|
11469
11514
|
nationality: R.data.away_team.players[ae].nationality ? R.data.away_team.players[ae].nationality.substring(0, 3) : "",
|
|
11470
11515
|
imgNationality: R.data.away_team.players[ae].nationality_photo,
|
|
11471
11516
|
substitutionIn: !1,
|
|
11472
11517
|
substitutionOut: !1,
|
|
11473
11518
|
abrevNamePlayer: B,
|
|
11474
|
-
imgTeam:
|
|
11519
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png", this.provider),
|
|
11475
11520
|
substitutionMin: "",
|
|
11476
11521
|
substitutionDataID: "",
|
|
11477
11522
|
shirt_number: R.data.away_team.starting_lineup[0].lineup[$].jersey_number,
|
|
@@ -11492,10 +11537,10 @@ const Uf = {
|
|
|
11492
11537
|
idSubstitution: 0,
|
|
11493
11538
|
isbench: !1,
|
|
11494
11539
|
id_team: R.data.away_team.team_id
|
|
11495
|
-
}), this.awayTeamLogo =
|
|
11540
|
+
}), this.awayTeamLogo = P("https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png", this.provider), 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;
|
|
11496
11541
|
}
|
|
11497
11542
|
if (this.playersAway.sort(
|
|
11498
|
-
($,
|
|
11543
|
+
($, x) => $.position_id > x.position_id ? 1 : x.position_id > $.position_id ? -1 : 0
|
|
11499
11544
|
), R.data.away_team.bench) {
|
|
11500
11545
|
for (let $ = 0; $ < R.data.away_team.bench.length; $++) {
|
|
11501
11546
|
this.subsTitle = !0;
|
|
@@ -11504,14 +11549,17 @@ const Uf = {
|
|
|
11504
11549
|
var Ae = J[J.length - 1] != "" ? J[J.length - 1].charAt(0) : J[J.length - 2] ? J[J.length - 2].charAt(0) : "";
|
|
11505
11550
|
X = X.replace(",", "");
|
|
11506
11551
|
var Z = Ae + ". " + X, se = R.data.away_team.players.findIndex(
|
|
11507
|
-
(
|
|
11552
|
+
(x) => x.player_id == R.data.away_team.bench[$].playerID
|
|
11508
11553
|
);
|
|
11509
11554
|
this.playersAway.push({
|
|
11510
11555
|
played: !1,
|
|
11511
11556
|
name: R.data.away_team.bench[$].playerName,
|
|
11512
11557
|
position: se != -1 ? this.isFemale ? this.positions[R.data.away_team.players[se].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[se].position_id - 1].name : "",
|
|
11513
11558
|
position_id: R.data.away_team.players[se].position_id,
|
|
11514
|
-
imgPlayer:
|
|
11559
|
+
imgPlayer: P(
|
|
11560
|
+
"https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.bench[$].playerID + ".png",
|
|
11561
|
+
this.provider
|
|
11562
|
+
),
|
|
11515
11563
|
nationality: se != -1 && R.data.away_team.players[se].nationality ? R.data.away_team.players[se].nationality.substring(
|
|
11516
11564
|
0,
|
|
11517
11565
|
3
|
|
@@ -11520,7 +11568,7 @@ const Uf = {
|
|
|
11520
11568
|
substitutionIn: !1,
|
|
11521
11569
|
substitutionOut: !1,
|
|
11522
11570
|
abrevNamePlayer: Z,
|
|
11523
|
-
imgTeam:
|
|
11571
|
+
imgTeam: P("https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png", this.provider),
|
|
11524
11572
|
substitutionMin: "",
|
|
11525
11573
|
substitutionDataID: "",
|
|
11526
11574
|
shirt_number: R.data.away_team.bench[$].jerseyNumber,
|
|
@@ -11544,7 +11592,7 @@ const Uf = {
|
|
|
11544
11592
|
});
|
|
11545
11593
|
}
|
|
11546
11594
|
this.playersAway.sort(
|
|
11547
|
-
($,
|
|
11595
|
+
($, x) => $.position_id > x.position_id ? 1 : x.position_id > $.position_id ? -1 : 0
|
|
11548
11596
|
);
|
|
11549
11597
|
}
|
|
11550
11598
|
setTimeout(async () => {
|