@golstats/gsc-relevant-data 1.0.26 → 1.0.28
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/README.md +2 -2
- package/dist/{CardBase-UGUm5LIO-Bu-WCWmh.js → CardBase-CQ_cz3DX-BjCIb_ux.js} +1 -1
- package/dist/{CardBaseAllIndividual-DhP1rAtE-3OsmwH3m.js → CardBaseAllIndividual-BfzkzaGP-COg-RvP5.js} +8 -8
- package/dist/{CardGeneral-BAXvz3FB-s6i9znzb.js → CardGeneral-BEI3l_d--F1tjBAaH.js} +2 -2
- package/dist/{CardGeneralIndividual-NPTnNZWV-eB61nP2F.js → CardGeneralIndividual-B4Y_5rP6-D4tq9Nm9.js} +2 -2
- package/dist/{CardGeneralTeams-x8ACH3cM-Dx-c_2vg.js → CardGeneralTeams-CXmyJkpJ-BHb5aRku.js} +28 -28
- package/dist/{CardIndividual-CLC_hCxp-M6QT2umS.js → CardIndividual-7ej3E3wn-BUmCQNaI.js} +3 -3
- package/dist/{CardIndividual1vs1-DlXYcpqn-C9hYWxqa.js → CardIndividual1vs1-Z2cAE1MR-58uyyGJ6.js} +2 -2
- package/dist/{CardIndividualAreas-DwGZNBiK-B5twxsqV.js → CardIndividualAreas-D3eFogiE-C7EgI_k3.js} +2 -2
- package/dist/{CardIndividualCenters-Dy9Y7EuU-CGcnKDIJ.js → CardIndividualCenters-4S8taJsU-Cb0q6vbi.js} +3 -3
- package/dist/{CardIndividualDistance-CZO9z3_W-DitMBi_w.js → CardIndividualDistance-DT01ahQX-Bw_vxhfj.js} +2 -2
- package/dist/{CardIndividualFouls-CQQKqTt0-Ctl63Cnv.js → CardIndividualFouls-BcE5EuiF-DbdEMAdU.js} +2 -2
- package/dist/{CardIndividualGoalParticipation-zk-n5xHy-BbM0v4R8.js → CardIndividualGoalParticipation-Bx2JTuHf-BdzJEHs-.js} +2 -2
- package/dist/{CardIndividualGoals-D8Q-nDDh-BCpvjxIp.js → CardIndividualGoals-BHhnubuE-wfCi-1JO.js} +6 -6
- package/dist/{CardIndividualGold-C2_0uQav-B3BOejd6.js → CardIndividualGold-Djd6C88i-BgEu5-JK.js} +3 -3
- package/dist/{CardIndividualNoGoalReceived-d4YI1ubq-DetMFo_a.js → CardIndividualNoGoalReceived-C3jS0zMR-CSfIiKMU.js} +43 -42
- package/dist/{CardIndividualPerformance-8cTQkdKa-CpPy72XR.js → CardIndividualPerformance-kI7QHeB1-5w2_ax8a.js} +2 -2
- package/dist/{CardIndividualSaves-D3klW0a0-C_6hBq8X.js → CardIndividualSaves-CslQjDqf-CzuZxqa1.js} +2 -2
- package/dist/{CardIndividualShotsOnGoal-CfSvMHck-BKXUSCTg.js → CardIndividualShotsOnGoal-1O1_NtGz-TfAW0R0H.js} +3 -3
- package/dist/{CardIndividualStatistics-dcv2daDu-271LyA8G.js → CardIndividualStatistics-Bck8k3hP-OeRTU-yu.js} +2 -2
- package/dist/{CardPromTournament-Bt_4pp95-C_RYLTRi.js → CardPromTournament-D5HMPX4m-CzhXy4ay.js} +2 -2
- package/dist/{CardSuccessfulPasses-DKUaTTnU-CVQUgEG3.js → CardSuccessfulPasses-Jba0cbKl-BY2OHd36.js} +2 -2
- package/dist/{CardTheMostProductive-CjEvn9nI-C8Ix4rse.js → CardTheMostProductive-DfNmPeVC-C50OMnaY.js} +3 -3
- package/dist/{PlayerProfileCircle-DkJ-ww6U-x-_45FA-.js → PlayerProfileCircle-BYhumEi4-Cb60lFSr.js} +1 -1
- package/dist/{Shield-SDusqLx5-B-AmrceB.js → Shield--rPGshU4-CHviAhUw.js} +1 -1
- package/dist/{TimeSvg2-Cl28aqUW-CYEg4vC4.js → TimeSvg2-BX0bDokD-BWiiXdSp.js} +1 -1
- package/dist/css/fonts.css +127 -127
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +1 -1
- package/dist/gsc-relevant-data.umd.cjs +2 -2
- package/dist/{index-bzUYfkcp.js → index-CDIGein5.js} +269 -268
- package/package.json +42 -42
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useCssVars as se, ref as F, onMounted as ie, onUnmounted as Zt, resolveComponent as $, openBlock as m, createElementBlock as y, createElementVNode as p, normalizeStyle as T, Fragment as O, renderList as P, toDisplayString as k, renderSlot as Z, createCommentVNode as v, createVNode as M, withCtx as q, normalizeClass as
|
|
1
|
+
import { useCssVars as se, ref as F, onMounted as ie, onUnmounted as Zt, resolveComponent as $, openBlock as m, createElementBlock as y, createElementVNode as p, normalizeStyle as T, Fragment as O, renderList as P, toDisplayString as k, renderSlot as Z, createCommentVNode as v, createVNode as M, withCtx as q, normalizeClass as R, computed as L, createBlock as W, unref as we, watch as me, onBeforeMount as kt, Transition as Tt, withDirectives as Q, vShow as re, pushScopeId as ne, popScopeId as ae, mergeProps as Kt, defineAsyncComponent as x, resolveDynamicComponent as Qt, withModifiers as Ke, vModelText as Yt } from "vue";
|
|
2
2
|
function er(e) {
|
|
3
3
|
const r = F({ width: 0, height: 0 });
|
|
4
4
|
function t() {
|
|
@@ -113,7 +113,7 @@ function cr(e, r, t, o, s, i) {
|
|
|
113
113
|
return m(), y("div", rr, [
|
|
114
114
|
t.arrows ? (m(), y("div", {
|
|
115
115
|
key: 0,
|
|
116
|
-
class:
|
|
116
|
+
class: R(["arrows-container", i.hideShowLeftArrow]),
|
|
117
117
|
onClick: r[0] || (r[0] = (...n) => i.scrollLeft && i.scrollLeft(...n))
|
|
118
118
|
}, [
|
|
119
119
|
p("div", or, [
|
|
@@ -143,7 +143,7 @@ function cr(e, r, t, o, s, i) {
|
|
|
143
143
|
t.arrows ? (m(), y("div", {
|
|
144
144
|
key: 1,
|
|
145
145
|
id: "arrows-container-right",
|
|
146
|
-
class:
|
|
146
|
+
class: R(["arrows-container", i.hideShowRightArrow]),
|
|
147
147
|
onClick: r[2] || (r[2] = (...n) => i.scrollRight && i.scrollRight(...n))
|
|
148
148
|
}, [
|
|
149
149
|
p("div", ar, [
|
|
@@ -465,12 +465,12 @@ const Cr = (e) => (ne("data-v-f3ee6b2b"), e = e(), ae(), e), kr = ["src"], Tr =
|
|
|
465
465
|
}, Ir = ["src"], xr = { class: "stats" }, Or = /* @__PURE__ */ Cr(() => /* @__PURE__ */ p("img", {
|
|
466
466
|
class: "iconstats",
|
|
467
467
|
src: "https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"
|
|
468
|
-
}, null, -1)), Pr = { class: "numstats" },
|
|
469
|
-
function
|
|
468
|
+
}, null, -1)), Pr = { class: "numstats" }, Ar = { class: "leyend" };
|
|
469
|
+
function Rr(e, r, t, o, s, i) {
|
|
470
470
|
return m(), y("div", null, [
|
|
471
471
|
t.type == 0 ? (m(), y("div", {
|
|
472
472
|
key: 0,
|
|
473
|
-
class:
|
|
473
|
+
class: R(["button", s.status && t.typeOnOff && "button-active"]),
|
|
474
474
|
style: T([i.customStyle, s.status && t.typeOnOff && i.customActive]),
|
|
475
475
|
onClick: r[0] || (r[0] = (...n) => i.btnClick && i.btnClick(...n))
|
|
476
476
|
}, [
|
|
@@ -497,11 +497,11 @@ function Ar(e, r, t, o, s, i) {
|
|
|
497
497
|
Or,
|
|
498
498
|
p("div", Pr, k(t.textStat), 1)
|
|
499
499
|
]),
|
|
500
|
-
p("div",
|
|
500
|
+
p("div", Ar, k(t.textCategory), 1)
|
|
501
501
|
])) : v("", !0)
|
|
502
502
|
]);
|
|
503
503
|
}
|
|
504
|
-
const Er = /* @__PURE__ */ _r(qe, [["render",
|
|
504
|
+
const Er = /* @__PURE__ */ _r(qe, [["render", Rr], ["__scopeId", "data-v-f3ee6b2b"]]), Br = { class: "gsc-dropdown__main-container__item-selected" }, Nr = ["height", "width"], Dr = ["stroke"], $r = { class: "gsc-dropdown__items-container" }, Lr = ["onClick"], zr = {
|
|
505
505
|
key: 0,
|
|
506
506
|
class: "gsc-dropdown__items-footer"
|
|
507
507
|
}, Fr = {
|
|
@@ -727,19 +727,19 @@ const Er = /* @__PURE__ */ _r(qe, [["render", Ar], ["__scopeId", "data-v-f3ee6b2
|
|
|
727
727
|
function h() {
|
|
728
728
|
t.isDisabled || (n.value = !n.value);
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function d(g) {
|
|
731
731
|
s.value && !s.value.contains(g.target) && (n.value = !1);
|
|
732
732
|
}
|
|
733
|
-
function
|
|
733
|
+
function l(g, f) {
|
|
734
734
|
t.isMultipleOption ? i.value = -1 : (i.value = f, n.value = !1), o.value = g, r("input", o.value), r("update:modelValue", o.value);
|
|
735
735
|
}
|
|
736
736
|
function S() {
|
|
737
737
|
n.value = !1, r("click-ready");
|
|
738
738
|
}
|
|
739
739
|
return ie(() => {
|
|
740
|
-
document.addEventListener("click",
|
|
740
|
+
document.addEventListener("click", d);
|
|
741
741
|
}), kt(() => {
|
|
742
|
-
document.removeEventListener("click",
|
|
742
|
+
document.removeEventListener("click", d);
|
|
743
743
|
}), (g, f) => (m(), y("div", {
|
|
744
744
|
ref_key: "dropDown",
|
|
745
745
|
ref: s,
|
|
@@ -755,7 +755,7 @@ const Er = /* @__PURE__ */ _r(qe, [["render", Ar], ["__scopeId", "data-v-f3ee6b2
|
|
|
755
755
|
Z(g.$slots, "default", { selectedItem: o.value })
|
|
756
756
|
]),
|
|
757
757
|
p("div", {
|
|
758
|
-
class:
|
|
758
|
+
class: R(["gsc-dropdown__main-container__icon", { "rotated-180": n.value }]),
|
|
759
759
|
style: T(u.value)
|
|
760
760
|
}, [
|
|
761
761
|
(m(), y("svg", {
|
|
@@ -781,9 +781,9 @@ const Er = /* @__PURE__ */ _r(qe, [["render", Ar], ["__scopeId", "data-v-f3ee6b2
|
|
|
781
781
|
style: T({ "margin-top": `${t.borderWidth}px` })
|
|
782
782
|
}, [
|
|
783
783
|
(m(!0), y(O, null, P(e.items, (w, b) => (m(), y("div", {
|
|
784
|
-
class:
|
|
784
|
+
class: R(["gsc-dropdown__items__item", { selected: b === i.value }]),
|
|
785
785
|
key: b,
|
|
786
|
-
onClick: (I) =>
|
|
786
|
+
onClick: (I) => l(w, b)
|
|
787
787
|
}, [
|
|
788
788
|
Z(g.$slots, "availableItem", { item: w })
|
|
789
789
|
], 10, Lr))), 128))
|
|
@@ -967,7 +967,7 @@ function eo(e, r, t, o, s, i) {
|
|
|
967
967
|
return m(), y("div", null, [
|
|
968
968
|
t.type == 0 ? (m(), y("div", {
|
|
969
969
|
key: 0,
|
|
970
|
-
class:
|
|
970
|
+
class: R(["button", s.status && t.typeOnOff && "button-active"]),
|
|
971
971
|
style: T([i.customStyle, s.status && t.typeOnOff && i.customActive]),
|
|
972
972
|
onClick: r[0] || (r[0] = (...n) => i.btnClick && i.btnClick(...n))
|
|
973
973
|
}, [
|
|
@@ -1224,19 +1224,19 @@ const to = /* @__PURE__ */ Hr(je, [["render", eo], ["__scopeId", "data-v-fb269a1
|
|
|
1224
1224
|
function h() {
|
|
1225
1225
|
t.isDisabled || (n.value = !n.value);
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function d(g) {
|
|
1228
1228
|
s.value && !s.value.contains(g.target) && (n.value = !1);
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1230
|
+
function l(g, f) {
|
|
1231
1231
|
t.isMultipleOption ? i.value = -1 : (i.value = f, n.value = !1), o.value = g, r("input", o.value), r("update:modelValue", o.value);
|
|
1232
1232
|
}
|
|
1233
1233
|
function S() {
|
|
1234
1234
|
n.value = !1, r("click-ready");
|
|
1235
1235
|
}
|
|
1236
1236
|
return ie(() => {
|
|
1237
|
-
document.addEventListener("click",
|
|
1237
|
+
document.addEventListener("click", d);
|
|
1238
1238
|
}), kt(() => {
|
|
1239
|
-
document.removeEventListener("click",
|
|
1239
|
+
document.removeEventListener("click", d);
|
|
1240
1240
|
}), (g, f) => (m(), y("div", {
|
|
1241
1241
|
ref_key: "dropDown",
|
|
1242
1242
|
ref: s,
|
|
@@ -1252,7 +1252,7 @@ const to = /* @__PURE__ */ Hr(je, [["render", eo], ["__scopeId", "data-v-fb269a1
|
|
|
1252
1252
|
Z(g.$slots, "default", { selectedItem: o.value })
|
|
1253
1253
|
]),
|
|
1254
1254
|
p("div", {
|
|
1255
|
-
class:
|
|
1255
|
+
class: R(["gsc-dropdown__main-container__icon", { "rotated-180": n.value }]),
|
|
1256
1256
|
style: T(u.value)
|
|
1257
1257
|
}, [
|
|
1258
1258
|
(m(), y("svg", {
|
|
@@ -1278,9 +1278,9 @@ const to = /* @__PURE__ */ Hr(je, [["render", eo], ["__scopeId", "data-v-fb269a1
|
|
|
1278
1278
|
style: T({ "margin-top": `${t.borderWidth}px` })
|
|
1279
1279
|
}, [
|
|
1280
1280
|
(m(!0), y(O, null, P(e.items, (w, b) => (m(), y("div", {
|
|
1281
|
-
class:
|
|
1281
|
+
class: R(["gsc-dropdown__items__item", { selected: b === i.value }]),
|
|
1282
1282
|
key: b,
|
|
1283
|
-
onClick: (I) =>
|
|
1283
|
+
onClick: (I) => l(w, b)
|
|
1284
1284
|
}, [
|
|
1285
1285
|
Z(g.$slots, "availableItem", { item: w })
|
|
1286
1286
|
], 10, no))), 128))
|
|
@@ -1410,7 +1410,7 @@ const to = /* @__PURE__ */ Hr(je, [["render", eo], ["__scopeId", "data-v-fb269a1
|
|
|
1410
1410
|
if (t.items && t.items.length)
|
|
1411
1411
|
o.value = [...t.items];
|
|
1412
1412
|
else {
|
|
1413
|
-
const g = await
|
|
1413
|
+
const g = await d();
|
|
1414
1414
|
r("change-tournaments", g), o.value = g.map((f) => ({
|
|
1415
1415
|
...f.tournament,
|
|
1416
1416
|
seasons: f.seasons,
|
|
@@ -1428,14 +1428,14 @@ const to = /* @__PURE__ */ Hr(je, [["render", eo], ["__scopeId", "data-v-fb269a1
|
|
|
1428
1428
|
const f = new XMLHttpRequest(), w = `${t.logosUrl}${g}.${t.logoFileType}`;
|
|
1429
1429
|
return f.open("HEAD", w, !1), f.send(), f.status !== 404;
|
|
1430
1430
|
}
|
|
1431
|
-
async function
|
|
1431
|
+
async function d() {
|
|
1432
1432
|
try {
|
|
1433
1433
|
return (await fetch(t.apiUrl || mo)).json();
|
|
1434
1434
|
} catch (g) {
|
|
1435
1435
|
return Promise.reject(g);
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
1438
|
-
function
|
|
1438
|
+
function l(g) {
|
|
1439
1439
|
r("input", g);
|
|
1440
1440
|
}
|
|
1441
1441
|
function S(g) {
|
|
@@ -1450,7 +1450,7 @@ const to = /* @__PURE__ */ Hr(je, [["render", eo], ["__scopeId", "data-v-fb269a1
|
|
|
1450
1450
|
M(we(lo), Kt(t, {
|
|
1451
1451
|
"model-value": n.value,
|
|
1452
1452
|
items: i.value,
|
|
1453
|
-
onInput:
|
|
1453
|
+
onInput: l,
|
|
1454
1454
|
"onUpdate:modelValue": S
|
|
1455
1455
|
}), {
|
|
1456
1456
|
default: q(({ selectedItem: w }) => [
|
|
@@ -1574,7 +1574,7 @@ function xo(e, r, t, o, s, i) {
|
|
|
1574
1574
|
return m(), y("div", bo, [
|
|
1575
1575
|
t.arrows ? (m(), y("div", {
|
|
1576
1576
|
key: 0,
|
|
1577
|
-
class:
|
|
1577
|
+
class: R(["arrows-container", i.hideShowLeftArrow]),
|
|
1578
1578
|
onClick: r[0] || (r[0] = (...n) => i.scrollLeft && i.scrollLeft(...n))
|
|
1579
1579
|
}, [
|
|
1580
1580
|
p("div", So, [
|
|
@@ -1604,7 +1604,7 @@ function xo(e, r, t, o, s, i) {
|
|
|
1604
1604
|
t.arrows ? (m(), y("div", {
|
|
1605
1605
|
key: 1,
|
|
1606
1606
|
id: "arrows-container-right",
|
|
1607
|
-
class:
|
|
1607
|
+
class: R(["arrows-container", i.hideShowRightArrow]),
|
|
1608
1608
|
onClick: r[2] || (r[2] = (...n) => i.scrollRight && i.scrollRight(...n))
|
|
1609
1609
|
}, [
|
|
1610
1610
|
p("div", ko, [
|
|
@@ -1665,14 +1665,14 @@ function Po() {
|
|
|
1665
1665
|
}, ue.exports = e, ue.exports.TinyEmitter = e, ue.exports;
|
|
1666
1666
|
}
|
|
1667
1667
|
var Pe, dt;
|
|
1668
|
-
function
|
|
1668
|
+
function Ao() {
|
|
1669
1669
|
if (dt) return Pe;
|
|
1670
1670
|
dt = 1;
|
|
1671
1671
|
var e = Po();
|
|
1672
1672
|
return Pe = new e(), Pe;
|
|
1673
1673
|
}
|
|
1674
|
-
var
|
|
1675
|
-
const Eo = /* @__PURE__ */ Oo(
|
|
1674
|
+
var Ro = Ao();
|
|
1675
|
+
const Eo = /* @__PURE__ */ Oo(Ro), Bo = {
|
|
1676
1676
|
key: 0,
|
|
1677
1677
|
class: "card-container"
|
|
1678
1678
|
}, He = {
|
|
@@ -1702,26 +1702,26 @@ const Eo = /* @__PURE__ */ Oo(Ao), Bo = {
|
|
|
1702
1702
|
emits: ["open-media"],
|
|
1703
1703
|
setup(e, { emit: r }) {
|
|
1704
1704
|
const t = {
|
|
1705
|
-
CardGeneral: x(() => import("./CardGeneral-
|
|
1706
|
-
CardGeneralIndividual: x(() => import("./CardGeneralIndividual-
|
|
1707
|
-
CardGeneralTeams: x(() => import("./CardGeneralTeams-
|
|
1708
|
-
CardIndividual: x(() => import("./CardIndividual-
|
|
1709
|
-
CardIndividualDistance: x(() => import("./CardIndividualDistance-
|
|
1710
|
-
CardIndividualAreas: x(() => import("./CardIndividualAreas-
|
|
1711
|
-
CardIndividualGoalParticipation: x(() => import("./CardIndividualGoalParticipation-
|
|
1712
|
-
CardIndividualGoals: x(() => import("./CardIndividualGoals-
|
|
1713
|
-
CardIndividualShotsOnGoal: x(() => import("./CardIndividualShotsOnGoal-
|
|
1714
|
-
CardIndividualFouls: x(() => import("./CardIndividualFouls-
|
|
1715
|
-
CardIndividualCenters: x(() => import("./CardIndividualCenters-
|
|
1716
|
-
CardIndividualSaves: x(() => import("./CardIndividualSaves-
|
|
1717
|
-
CardIndividual1vs1: x(() => import("./CardIndividual1vs1-
|
|
1718
|
-
CardIndividualStatistics: x(() => import("./CardIndividualStatistics-
|
|
1719
|
-
CardIndividualPerformance: x(() => import("./CardIndividualPerformance-
|
|
1720
|
-
CardIndividualGold: x(() => import("./CardIndividualGold-
|
|
1721
|
-
CardPromTournament: x(() => import("./CardPromTournament-
|
|
1722
|
-
CardIndividualNoGoalReceived: x(() => import("./CardIndividualNoGoalReceived-
|
|
1723
|
-
CardTheMostProductive: x(() => import("./CardTheMostProductive-
|
|
1724
|
-
CardSuccessfulPasses: x(() => import("./CardSuccessfulPasses-
|
|
1705
|
+
CardGeneral: x(() => import("./CardGeneral-BEI3l_d--F1tjBAaH.js")),
|
|
1706
|
+
CardGeneralIndividual: x(() => import("./CardGeneralIndividual-B4Y_5rP6-D4tq9Nm9.js")),
|
|
1707
|
+
CardGeneralTeams: x(() => import("./CardGeneralTeams-CXmyJkpJ-BHb5aRku.js")),
|
|
1708
|
+
CardIndividual: x(() => import("./CardIndividual-7ej3E3wn-BUmCQNaI.js")),
|
|
1709
|
+
CardIndividualDistance: x(() => import("./CardIndividualDistance-DT01ahQX-Bw_vxhfj.js")),
|
|
1710
|
+
CardIndividualAreas: x(() => import("./CardIndividualAreas-D3eFogiE-C7EgI_k3.js")),
|
|
1711
|
+
CardIndividualGoalParticipation: x(() => import("./CardIndividualGoalParticipation-Bx2JTuHf-BdzJEHs-.js")),
|
|
1712
|
+
CardIndividualGoals: x(() => import("./CardIndividualGoals-BHhnubuE-wfCi-1JO.js")),
|
|
1713
|
+
CardIndividualShotsOnGoal: x(() => import("./CardIndividualShotsOnGoal-1O1_NtGz-TfAW0R0H.js")),
|
|
1714
|
+
CardIndividualFouls: x(() => import("./CardIndividualFouls-BcE5EuiF-DbdEMAdU.js")),
|
|
1715
|
+
CardIndividualCenters: x(() => import("./CardIndividualCenters-4S8taJsU-Cb0q6vbi.js")),
|
|
1716
|
+
CardIndividualSaves: x(() => import("./CardIndividualSaves-CslQjDqf-CzuZxqa1.js")),
|
|
1717
|
+
CardIndividual1vs1: x(() => import("./CardIndividual1vs1-Z2cAE1MR-58uyyGJ6.js")),
|
|
1718
|
+
CardIndividualStatistics: x(() => import("./CardIndividualStatistics-Bck8k3hP-OeRTU-yu.js")),
|
|
1719
|
+
CardIndividualPerformance: x(() => import("./CardIndividualPerformance-kI7QHeB1-5w2_ax8a.js")),
|
|
1720
|
+
CardIndividualGold: x(() => import("./CardIndividualGold-Djd6C88i-BgEu5-JK.js")),
|
|
1721
|
+
CardPromTournament: x(() => import("./CardPromTournament-D5HMPX4m-CzhXy4ay.js")),
|
|
1722
|
+
CardIndividualNoGoalReceived: x(() => import("./CardIndividualNoGoalReceived-C3jS0zMR-CSfIiKMU.js")),
|
|
1723
|
+
CardTheMostProductive: x(() => import("./CardTheMostProductive-DfNmPeVC-C50OMnaY.js")),
|
|
1724
|
+
CardSuccessfulPasses: x(() => import("./CardSuccessfulPasses-Jba0cbKl-BY2OHd36.js"))
|
|
1725
1725
|
}, o = [
|
|
1726
1726
|
{
|
|
1727
1727
|
componentName: "CardGeneral",
|
|
@@ -2077,29 +2077,30 @@ const Eo = /* @__PURE__ */ Oo(Ao), Bo = {
|
|
|
2077
2077
|
}), g), /* @__PURE__ */ new Map()), s = e, i = r, n = L(() => o.get(s.data.id)), a = L(() => t[n.value]), u = L(() => s.showVideos && s.data.show_videos), h = L(() => {
|
|
2078
2078
|
const g = s.data.id.includes("-e"), f = s.data.id.includes("-g");
|
|
2079
2079
|
return g || f ? s.data.is_finished ? 5 : 6 : s.data.player_id === s.playerId ? s.data.is_finished ? 1 : 2 : s.data.is_finished ? 3 : 4;
|
|
2080
|
-
}),
|
|
2080
|
+
}), d = F(`play-media-${s.data.id}-${Date.now()}`), l = L(() => ({
|
|
2081
2081
|
...s.data,
|
|
2082
2082
|
title: s.playerId === s.data.player_id ? s.data.title : s.data.third_person_title || s.data.title,
|
|
2083
2083
|
descriptionType: h.value,
|
|
2084
2084
|
conditions: s.data.conditions && typeof s.data.conditions == "string" ? JSON.parse(s.data.conditions) : s.data.conditions
|
|
2085
2085
|
}));
|
|
2086
2086
|
function S() {
|
|
2087
|
-
const g =
|
|
2088
|
-
seasonId:
|
|
2087
|
+
const g = l.value.conditions && (l.value.conditions.matchlapse || l.value.conditions.section) ? l.value.conditions.section ? [l.value.conditions.section] : l.value.conditions.matchlapse === 1 ? [1, 2, 3] : [4, 5, 6] : [1, 2, 3, 4, 5, 6], f = {
|
|
2088
|
+
seasonId: l.value.season_id,
|
|
2089
2089
|
mainSectionType: 1,
|
|
2090
2090
|
// 1 = videoplayer, 2 = my playlists
|
|
2091
|
-
playListType:
|
|
2091
|
+
playListType: l.value.player_id ? 2 : 1,
|
|
2092
2092
|
// 1 = partidos, 2 = jugadores, 3 = equipos
|
|
2093
|
-
gameIdsToFilter:
|
|
2093
|
+
gameIdsToFilter: l.value.last_played_game_id ? [l.value.last_played_game_id] : null,
|
|
2094
2094
|
// ids de juegos a filtrar
|
|
2095
|
-
playerIds:
|
|
2095
|
+
playerIds: l.value.player_id ? [l.value.player_id] : [],
|
|
2096
2096
|
// goalkeeperIds: [],
|
|
2097
|
-
categoryIds: [...
|
|
2097
|
+
categoryIds: [...l.value.categories],
|
|
2098
2098
|
// son los ids de las categorias a ser pedidas
|
|
2099
|
-
teamIdsToFilter: [
|
|
2099
|
+
teamIdsToFilter: [l.value.team_id],
|
|
2100
2100
|
// ids de equipos a filtrar
|
|
2101
|
-
|
|
2102
|
-
//
|
|
2101
|
+
teamId: l.value.team_id,
|
|
2102
|
+
// id de equipo
|
|
2103
|
+
// matchResult: [1, 2, 3], // 1 = gana, 2 = pierde, 3 = empate.
|
|
2103
2104
|
// categorySingleName: '', // nombre individual para cada jugada en la lista
|
|
2104
2105
|
// avoidCategorySingleName: false, // para indicar casos en los que no se debe tomar en cuenta categorySingleName
|
|
2105
2106
|
currentPlayIndex: 0,
|
|
@@ -2114,7 +2115,7 @@ const Eo = /* @__PURE__ */ Oo(Ao), Bo = {
|
|
|
2114
2115
|
// playListTitle: '',
|
|
2115
2116
|
// mainCategoryId: 0, // id de categoria seleccionada
|
|
2116
2117
|
// subCategoryIds: [], // ids de subcategorias activas
|
|
2117
|
-
playingAs:
|
|
2118
|
+
playingAs: l.value.conditions && l.value.conditions.playing_as ? [l.value.conditions.playing_as] : [1, 2],
|
|
2118
2119
|
// array 1 local, 2 visitante, ambos todos
|
|
2119
2120
|
timeSections: g
|
|
2120
2121
|
// 1 = 0-15, 2 = 16-30, 3 = 31-45, 4 = 46-60, 5 = 61-75, 6 = 76-90,
|
|
@@ -2125,15 +2126,15 @@ const Eo = /* @__PURE__ */ Oo(Ao), Bo = {
|
|
|
2125
2126
|
i("open-media", f);
|
|
2126
2127
|
}
|
|
2127
2128
|
return ie(() => {
|
|
2128
|
-
Eo.on(
|
|
2129
|
+
Eo.on(d.value, S);
|
|
2129
2130
|
}), (g, f) => a.value ? (m(), y("div", Bo, [
|
|
2130
2131
|
(m(), W(Qt(a.value), {
|
|
2131
|
-
data:
|
|
2132
|
+
data: l.value,
|
|
2132
2133
|
height: e.height,
|
|
2133
2134
|
width: e.width,
|
|
2134
2135
|
"description-type": h.value,
|
|
2135
2136
|
"show-videos": u.value,
|
|
2136
|
-
"id-aux":
|
|
2137
|
+
"id-aux": d.value
|
|
2137
2138
|
}, null, 8, ["data", "height", "width", "description-type", "show-videos", "id-aux"]))
|
|
2138
2139
|
])) : v("", !0);
|
|
2139
2140
|
}
|
|
@@ -2188,9 +2189,9 @@ function Pt(e, r) {
|
|
|
2188
2189
|
return s;
|
|
2189
2190
|
return null;
|
|
2190
2191
|
}
|
|
2191
|
-
const V = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
2192
|
+
const V = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, At = (e) => !oe(e) && e !== V;
|
|
2192
2193
|
function Ne() {
|
|
2193
|
-
const { caseless: e } =
|
|
2194
|
+
const { caseless: e } = At(this) && this || {}, r = {}, t = (o, s) => {
|
|
2194
2195
|
const i = e && Pt(r, s) || s;
|
|
2195
2196
|
he(r[i]) && he(o) ? r[i] = Ne(r[i], o) : he(o) ? r[i] = Ne({}, o) : Y(o) ? r[i] = o.slice() : r[i] = o;
|
|
2196
2197
|
};
|
|
@@ -2245,14 +2246,14 @@ const Ko = (e, r, t, { allOwnKeys: o } = {}) => (le(r, (s, i) => {
|
|
|
2245
2246
|
function(t, o, s) {
|
|
2246
2247
|
return o.toUpperCase() + s;
|
|
2247
2248
|
}
|
|
2248
|
-
), ct = (({ hasOwnProperty: e }) => (r, t) => e.call(r, t))(Object.prototype), ls = j("RegExp"),
|
|
2249
|
+
), ct = (({ hasOwnProperty: e }) => (r, t) => e.call(r, t))(Object.prototype), ls = j("RegExp"), Rt = (e, r) => {
|
|
2249
2250
|
const t = Object.getOwnPropertyDescriptors(e), o = {};
|
|
2250
2251
|
le(t, (s, i) => {
|
|
2251
2252
|
let n;
|
|
2252
2253
|
(n = r(s, i, e)) !== !1 && (o[i] = n || s);
|
|
2253
2254
|
}), Object.defineProperties(e, o);
|
|
2254
2255
|
}, ds = (e) => {
|
|
2255
|
-
|
|
2256
|
+
Rt(e, (r, t) => {
|
|
2256
2257
|
if (z(e) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
|
|
2257
2258
|
return !1;
|
|
2258
2259
|
const o = e[t];
|
|
@@ -2274,10 +2275,10 @@ const Ko = (e, r, t, { allOwnKeys: o } = {}) => (le(r, (s, i) => {
|
|
|
2274
2275
|
};
|
|
2275
2276
|
return Y(e) ? o(e) : o(String(e).split(r)), t;
|
|
2276
2277
|
}, us = () => {
|
|
2277
|
-
}, hs = (e, r) => e != null && Number.isFinite(e = +e) ? e : r,
|
|
2278
|
+
}, hs = (e, r) => e != null && Number.isFinite(e = +e) ? e : r, Ae = "abcdefghijklmnopqrstuvwxyz", ut = "0123456789", Et = {
|
|
2278
2279
|
DIGIT: ut,
|
|
2279
|
-
ALPHA:
|
|
2280
|
-
ALPHA_DIGIT:
|
|
2280
|
+
ALPHA: Ae,
|
|
2281
|
+
ALPHA_DIGIT: Ae + Ae.toUpperCase() + ut
|
|
2281
2282
|
}, fs = (e = 16, r = Et.ALPHA_DIGIT) => {
|
|
2282
2283
|
let t = "";
|
|
2283
2284
|
const { length: o } = r;
|
|
@@ -2354,7 +2355,7 @@ const ms = (e) => {
|
|
|
2354
2355
|
hasOwnProperty: ct,
|
|
2355
2356
|
hasOwnProp: ct,
|
|
2356
2357
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
2357
|
-
reduceDescriptors:
|
|
2358
|
+
reduceDescriptors: Rt,
|
|
2358
2359
|
freezeMethods: ds,
|
|
2359
2360
|
toObjectSet: cs,
|
|
2360
2361
|
toCamelCase: as,
|
|
@@ -2362,7 +2363,7 @@ const ms = (e) => {
|
|
|
2362
2363
|
toFiniteNumber: hs,
|
|
2363
2364
|
findKey: Pt,
|
|
2364
2365
|
global: V,
|
|
2365
|
-
isContextDefined:
|
|
2366
|
+
isContextDefined: At,
|
|
2366
2367
|
ALPHABET: Et,
|
|
2367
2368
|
generateString: fs,
|
|
2368
2369
|
isSpecCompliantForm: ps,
|
|
@@ -2450,7 +2451,7 @@ function Ce(e, r, t) {
|
|
|
2450
2451
|
}, !1, function(w, b) {
|
|
2451
2452
|
return !c.isUndefined(b[w]);
|
|
2452
2453
|
});
|
|
2453
|
-
const o = t.metaTokens, s = t.visitor ||
|
|
2454
|
+
const o = t.metaTokens, s = t.visitor || d, i = t.dots, n = t.indexes, u = (t.Blob || typeof Blob < "u" && Blob) && c.isSpecCompliantForm(r);
|
|
2454
2455
|
if (!c.isFunction(s))
|
|
2455
2456
|
throw new TypeError("visitor must be a function");
|
|
2456
2457
|
function h(f) {
|
|
@@ -2461,7 +2462,7 @@ function Ce(e, r, t) {
|
|
|
2461
2462
|
throw new _("Blob is not supported. Use a Buffer instead.");
|
|
2462
2463
|
return c.isArrayBuffer(f) || c.isTypedArray(f) ? u && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
2463
2464
|
}
|
|
2464
|
-
function
|
|
2465
|
+
function d(f, w, b) {
|
|
2465
2466
|
let I = f;
|
|
2466
2467
|
if (f && !b && typeof f == "object") {
|
|
2467
2468
|
if (c.endsWith(w, "{}"))
|
|
@@ -2477,24 +2478,24 @@ function Ce(e, r, t) {
|
|
|
2477
2478
|
}
|
|
2478
2479
|
return De(f) ? !0 : (r.append(ht(b, w, i), h(f)), !1);
|
|
2479
2480
|
}
|
|
2480
|
-
const
|
|
2481
|
-
defaultVisitor:
|
|
2481
|
+
const l = [], S = Object.assign(vs, {
|
|
2482
|
+
defaultVisitor: d,
|
|
2482
2483
|
convertValue: h,
|
|
2483
2484
|
isVisitable: De
|
|
2484
2485
|
});
|
|
2485
2486
|
function g(f, w) {
|
|
2486
2487
|
if (!c.isUndefined(f)) {
|
|
2487
|
-
if (
|
|
2488
|
+
if (l.indexOf(f) !== -1)
|
|
2488
2489
|
throw Error("Circular reference detected in " + w.join("."));
|
|
2489
|
-
|
|
2490
|
+
l.push(f), c.forEach(f, function(I, A) {
|
|
2490
2491
|
(!(c.isUndefined(I) || I === null) && s.call(
|
|
2491
2492
|
r,
|
|
2492
2493
|
I,
|
|
2493
|
-
c.isString(
|
|
2494
|
+
c.isString(A) ? A.trim() : A,
|
|
2494
2495
|
w,
|
|
2495
2496
|
S
|
|
2496
|
-
)) === !0 && g(I, w ? w.concat(
|
|
2497
|
-
}),
|
|
2497
|
+
)) === !0 && g(I, w ? w.concat(A) : [A]);
|
|
2498
|
+
}), l.pop();
|
|
2498
2499
|
}
|
|
2499
2500
|
}
|
|
2500
2501
|
if (!c.isObject(e))
|
|
@@ -2615,7 +2616,7 @@ const Ft = {
|
|
|
2615
2616
|
},
|
|
2616
2617
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
2617
2618
|
}, Ve = typeof window < "u" && typeof document < "u", $e = typeof navigator == "object" && navigator || void 0, xs = Ve && (!$e || ["ReactNative", "NativeScript", "NS"].indexOf($e.product) < 0), Os = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
2618
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ps = Ve && window.location.href || "http://localhost",
|
|
2619
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ps = Ve && window.location.href || "http://localhost", As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2619
2620
|
__proto__: null,
|
|
2620
2621
|
hasBrowserEnv: Ve,
|
|
2621
2622
|
hasStandardBrowserEnv: xs,
|
|
@@ -2623,10 +2624,10 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ps
|
|
|
2623
2624
|
navigator: $e,
|
|
2624
2625
|
origin: Ps
|
|
2625
2626
|
}, Symbol.toStringTag, { value: "Module" })), B = {
|
|
2626
|
-
...
|
|
2627
|
+
...As,
|
|
2627
2628
|
...Is
|
|
2628
2629
|
};
|
|
2629
|
-
function
|
|
2630
|
+
function Rs(e, r) {
|
|
2630
2631
|
return Ce(e, new B.classes.URLSearchParams(), Object.assign({
|
|
2631
2632
|
visitor: function(t, o, s, i) {
|
|
2632
2633
|
return B.isNode && c.isBuffer(t) ? (this.append(o, t.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
@@ -2686,7 +2687,7 @@ const de = {
|
|
|
2686
2687
|
let a;
|
|
2687
2688
|
if (i) {
|
|
2688
2689
|
if (o.indexOf("application/x-www-form-urlencoded") > -1)
|
|
2689
|
-
return
|
|
2690
|
+
return Rs(r, this.formSerializer).toString();
|
|
2690
2691
|
if ((a = c.isFileList(r)) || o.indexOf("multipart/form-data") > -1) {
|
|
2691
2692
|
const u = this.env && this.env.FormData;
|
|
2692
2693
|
return Ce(
|
|
@@ -2779,7 +2780,7 @@ function Ls(e) {
|
|
|
2779
2780
|
return r;
|
|
2780
2781
|
}
|
|
2781
2782
|
const zs = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
2782
|
-
function
|
|
2783
|
+
function Re(e, r, t, o, s) {
|
|
2783
2784
|
if (c.isFunction(o))
|
|
2784
2785
|
return o.call(this, r, t);
|
|
2785
2786
|
if (s && (r = t), !!c.isString(r)) {
|
|
@@ -2810,13 +2811,13 @@ class D {
|
|
|
2810
2811
|
set(r, t, o) {
|
|
2811
2812
|
const s = this;
|
|
2812
2813
|
function i(a, u, h) {
|
|
2813
|
-
const
|
|
2814
|
-
if (!
|
|
2814
|
+
const d = te(u);
|
|
2815
|
+
if (!d)
|
|
2815
2816
|
throw new Error("header name must be a non-empty string");
|
|
2816
|
-
const
|
|
2817
|
-
(!
|
|
2817
|
+
const l = c.findKey(s, d);
|
|
2818
|
+
(!l || s[l] === void 0 || h === !0 || h === void 0 && s[l] !== !1) && (s[l || u] = fe(a));
|
|
2818
2819
|
}
|
|
2819
|
-
const n = (a, u) => c.forEach(a, (h,
|
|
2820
|
+
const n = (a, u) => c.forEach(a, (h, d) => i(h, d, u));
|
|
2820
2821
|
if (c.isPlainObject(r) || r instanceof this.constructor)
|
|
2821
2822
|
n(r, t);
|
|
2822
2823
|
else if (c.isString(r) && (r = r.trim()) && !zs(r))
|
|
@@ -2848,7 +2849,7 @@ class D {
|
|
|
2848
2849
|
has(r, t) {
|
|
2849
2850
|
if (r = te(r), r) {
|
|
2850
2851
|
const o = c.findKey(this, r);
|
|
2851
|
-
return !!(o && this[o] !== void 0 && (!t ||
|
|
2852
|
+
return !!(o && this[o] !== void 0 && (!t || Re(this, this[o], o, t)));
|
|
2852
2853
|
}
|
|
2853
2854
|
return !1;
|
|
2854
2855
|
}
|
|
@@ -2858,7 +2859,7 @@ class D {
|
|
|
2858
2859
|
function i(n) {
|
|
2859
2860
|
if (n = te(n), n) {
|
|
2860
2861
|
const a = c.findKey(o, n);
|
|
2861
|
-
a && (!t ||
|
|
2862
|
+
a && (!t || Re(o, o[a], a, t)) && (delete o[a], s = !0);
|
|
2862
2863
|
}
|
|
2863
2864
|
}
|
|
2864
2865
|
return c.isArray(r) ? r.forEach(i) : i(r), s;
|
|
@@ -2868,7 +2869,7 @@ class D {
|
|
|
2868
2869
|
let o = t.length, s = !1;
|
|
2869
2870
|
for (; o--; ) {
|
|
2870
2871
|
const i = t[o];
|
|
2871
|
-
(!r ||
|
|
2872
|
+
(!r || Re(this, this[i], i, r, !0)) && (delete this[i], s = !0);
|
|
2872
2873
|
}
|
|
2873
2874
|
return s;
|
|
2874
2875
|
}
|
|
@@ -2967,47 +2968,47 @@ function qs(e, r) {
|
|
|
2967
2968
|
const t = new Array(e), o = new Array(e);
|
|
2968
2969
|
let s = 0, i = 0, n;
|
|
2969
2970
|
return r = r !== void 0 ? r : 1e3, function(u) {
|
|
2970
|
-
const h = Date.now(),
|
|
2971
|
+
const h = Date.now(), d = o[i];
|
|
2971
2972
|
n || (n = h), t[s] = u, o[s] = h;
|
|
2972
|
-
let
|
|
2973
|
-
for (;
|
|
2974
|
-
S += t[
|
|
2973
|
+
let l = i, S = 0;
|
|
2974
|
+
for (; l !== s; )
|
|
2975
|
+
S += t[l++], l = l % e;
|
|
2975
2976
|
if (s = (s + 1) % e, s === i && (i = (i + 1) % e), h - n < r)
|
|
2976
2977
|
return;
|
|
2977
|
-
const g =
|
|
2978
|
+
const g = d && h - d;
|
|
2978
2979
|
return g ? Math.round(S * 1e3 / g) : void 0;
|
|
2979
2980
|
};
|
|
2980
2981
|
}
|
|
2981
2982
|
function js(e, r) {
|
|
2982
2983
|
let t = 0, o = 1e3 / r, s, i;
|
|
2983
|
-
const n = (h,
|
|
2984
|
-
t =
|
|
2984
|
+
const n = (h, d = Date.now()) => {
|
|
2985
|
+
t = d, s = null, i && (clearTimeout(i), i = null), e.apply(null, h);
|
|
2985
2986
|
};
|
|
2986
2987
|
return [(...h) => {
|
|
2987
|
-
const
|
|
2988
|
-
|
|
2988
|
+
const d = Date.now(), l = d - t;
|
|
2989
|
+
l >= o ? n(h, d) : (s = h, i || (i = setTimeout(() => {
|
|
2989
2990
|
i = null, n(s);
|
|
2990
|
-
}, o -
|
|
2991
|
+
}, o - l)));
|
|
2991
2992
|
}, () => s && n(s)];
|
|
2992
2993
|
}
|
|
2993
2994
|
const ye = (e, r, t = 3) => {
|
|
2994
2995
|
let o = 0;
|
|
2995
2996
|
const s = qs(50, 250);
|
|
2996
2997
|
return js((i) => {
|
|
2997
|
-
const n = i.loaded, a = i.lengthComputable ? i.total : void 0, u = n - o, h = s(u),
|
|
2998
|
+
const n = i.loaded, a = i.lengthComputable ? i.total : void 0, u = n - o, h = s(u), d = n <= a;
|
|
2998
2999
|
o = n;
|
|
2999
|
-
const
|
|
3000
|
+
const l = {
|
|
3000
3001
|
loaded: n,
|
|
3001
3002
|
total: a,
|
|
3002
3003
|
progress: a ? n / a : void 0,
|
|
3003
3004
|
bytes: u,
|
|
3004
3005
|
rate: h || void 0,
|
|
3005
|
-
estimated: h && a &&
|
|
3006
|
+
estimated: h && a && d ? (a - n) / h : void 0,
|
|
3006
3007
|
event: i,
|
|
3007
3008
|
lengthComputable: a != null,
|
|
3008
3009
|
[r ? "download" : "upload"]: !0
|
|
3009
3010
|
};
|
|
3010
|
-
e(
|
|
3011
|
+
e(l);
|
|
3011
3012
|
}, t);
|
|
3012
3013
|
}, yt = (e, r) => {
|
|
3013
3014
|
const t = e != null;
|
|
@@ -3059,29 +3060,29 @@ const wt = (e) => e instanceof D ? { ...e } : e;
|
|
|
3059
3060
|
function K(e, r) {
|
|
3060
3061
|
r = r || {};
|
|
3061
3062
|
const t = {};
|
|
3062
|
-
function o(h,
|
|
3063
|
-
return c.isPlainObject(h) && c.isPlainObject(
|
|
3063
|
+
function o(h, d, l, S) {
|
|
3064
|
+
return c.isPlainObject(h) && c.isPlainObject(d) ? c.merge.call({ caseless: S }, h, d) : c.isPlainObject(d) ? c.merge({}, d) : c.isArray(d) ? d.slice() : d;
|
|
3064
3065
|
}
|
|
3065
|
-
function s(h,
|
|
3066
|
-
if (c.isUndefined(
|
|
3066
|
+
function s(h, d, l, S) {
|
|
3067
|
+
if (c.isUndefined(d)) {
|
|
3067
3068
|
if (!c.isUndefined(h))
|
|
3068
|
-
return o(void 0, h,
|
|
3069
|
-
} else return o(h,
|
|
3069
|
+
return o(void 0, h, l, S);
|
|
3070
|
+
} else return o(h, d, l, S);
|
|
3070
3071
|
}
|
|
3071
|
-
function i(h,
|
|
3072
|
-
if (!c.isUndefined(
|
|
3073
|
-
return o(void 0,
|
|
3072
|
+
function i(h, d) {
|
|
3073
|
+
if (!c.isUndefined(d))
|
|
3074
|
+
return o(void 0, d);
|
|
3074
3075
|
}
|
|
3075
|
-
function n(h,
|
|
3076
|
-
if (c.isUndefined(
|
|
3076
|
+
function n(h, d) {
|
|
3077
|
+
if (c.isUndefined(d)) {
|
|
3077
3078
|
if (!c.isUndefined(h))
|
|
3078
3079
|
return o(void 0, h);
|
|
3079
|
-
} else return o(void 0,
|
|
3080
|
+
} else return o(void 0, d);
|
|
3080
3081
|
}
|
|
3081
|
-
function a(h,
|
|
3082
|
-
if (
|
|
3083
|
-
return o(h,
|
|
3084
|
-
if (
|
|
3082
|
+
function a(h, d, l) {
|
|
3083
|
+
if (l in r)
|
|
3084
|
+
return o(h, d);
|
|
3085
|
+
if (l in e)
|
|
3085
3086
|
return o(void 0, h);
|
|
3086
3087
|
}
|
|
3087
3088
|
const u = {
|
|
@@ -3113,11 +3114,11 @@ function K(e, r) {
|
|
|
3113
3114
|
socketPath: n,
|
|
3114
3115
|
responseEncoding: n,
|
|
3115
3116
|
validateStatus: a,
|
|
3116
|
-
headers: (h,
|
|
3117
|
+
headers: (h, d, l) => s(wt(h), wt(d), l, !0)
|
|
3117
3118
|
};
|
|
3118
|
-
return c.forEach(Object.keys(Object.assign({}, e, r)), function(
|
|
3119
|
-
const
|
|
3120
|
-
c.isUndefined(S) &&
|
|
3119
|
+
return c.forEach(Object.keys(Object.assign({}, e, r)), function(d) {
|
|
3120
|
+
const l = u[d] || s, S = l(e[d], r[d], d);
|
|
3121
|
+
c.isUndefined(S) && l !== a || (t[d] = S);
|
|
3121
3122
|
}), t;
|
|
3122
3123
|
}
|
|
3123
3124
|
const Ut = (e) => {
|
|
@@ -3132,8 +3133,8 @@ const Ut = (e) => {
|
|
|
3132
3133
|
if (B.hasStandardBrowserEnv || B.hasStandardBrowserWebWorkerEnv)
|
|
3133
3134
|
n.setContentType(void 0);
|
|
3134
3135
|
else if ((u = n.getContentType()) !== !1) {
|
|
3135
|
-
const [h, ...
|
|
3136
|
-
n.setContentType([h || "multipart/form-data", ...
|
|
3136
|
+
const [h, ...d] = u ? u.split(";").map((l) => l.trim()).filter(Boolean) : [];
|
|
3137
|
+
n.setContentType([h || "multipart/form-data", ...d].join("; "));
|
|
3137
3138
|
}
|
|
3138
3139
|
}
|
|
3139
3140
|
if (B.hasStandardBrowserEnv && (o && c.isFunction(o) && (o = o(r)), o || o !== !1 && Us(r.url))) {
|
|
@@ -3146,9 +3147,9 @@ const Ut = (e) => {
|
|
|
3146
3147
|
const s = Ut(e);
|
|
3147
3148
|
let i = s.data;
|
|
3148
3149
|
const n = D.from(s.headers).normalize();
|
|
3149
|
-
let { responseType: a, onUploadProgress: u, onDownloadProgress: h } = s,
|
|
3150
|
+
let { responseType: a, onUploadProgress: u, onDownloadProgress: h } = s, d, l, S, g, f;
|
|
3150
3151
|
function w() {
|
|
3151
|
-
g && g(), f && f(), s.cancelToken && s.cancelToken.unsubscribe(
|
|
3152
|
+
g && g(), f && f(), s.cancelToken && s.cancelToken.unsubscribe(d), s.signal && s.signal.removeEventListener("abort", d);
|
|
3152
3153
|
}
|
|
3153
3154
|
let b = new XMLHttpRequest();
|
|
3154
3155
|
b.open(s.method.toUpperCase(), s.url, !0), b.timeout = s.timeout;
|
|
@@ -3188,12 +3189,12 @@ const Ut = (e) => {
|
|
|
3188
3189
|
)), b = null;
|
|
3189
3190
|
}, i === void 0 && n.setContentType(null), "setRequestHeader" in b && c.forEach(n.toJSON(), function(H, N) {
|
|
3190
3191
|
b.setRequestHeader(N, H);
|
|
3191
|
-
}), c.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), a && a !== "json" && (b.responseType = s.responseType), h && ([S, f] = ye(h, !0), b.addEventListener("progress", S)), u && b.upload && ([
|
|
3192
|
+
}), c.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), a && a !== "json" && (b.responseType = s.responseType), h && ([S, f] = ye(h, !0), b.addEventListener("progress", S)), u && b.upload && ([l, g] = ye(u), b.upload.addEventListener("progress", l), b.upload.addEventListener("loadend", g)), (s.cancelToken || s.signal) && (d = (E) => {
|
|
3192
3193
|
b && (o(!E || E.type ? new ee(null, e, b) : E), b.abort(), b = null);
|
|
3193
|
-
}, s.cancelToken && s.cancelToken.subscribe(
|
|
3194
|
-
const
|
|
3195
|
-
if (
|
|
3196
|
-
o(new _("Unsupported protocol " +
|
|
3194
|
+
}, s.cancelToken && s.cancelToken.subscribe(d), s.signal && (s.signal.aborted ? d() : s.signal.addEventListener("abort", d)));
|
|
3195
|
+
const A = Ws(s.url);
|
|
3196
|
+
if (A && B.protocols.indexOf(A) === -1) {
|
|
3197
|
+
o(new _("Unsupported protocol " + A + ":", _.ERR_BAD_REQUEST, e));
|
|
3197
3198
|
return;
|
|
3198
3199
|
}
|
|
3199
3200
|
b.send(i || null);
|
|
@@ -3205,8 +3206,8 @@ const Ut = (e) => {
|
|
|
3205
3206
|
const i = function(h) {
|
|
3206
3207
|
if (!s) {
|
|
3207
3208
|
s = !0, a();
|
|
3208
|
-
const
|
|
3209
|
-
o.abort(
|
|
3209
|
+
const d = h instanceof Error ? h : this.reason;
|
|
3210
|
+
o.abort(d instanceof _ ? d : new ee(d instanceof Error ? d.message : d));
|
|
3210
3211
|
}
|
|
3211
3212
|
};
|
|
3212
3213
|
let n = r && setTimeout(() => {
|
|
@@ -3257,17 +3258,17 @@ const Ut = (e) => {
|
|
|
3257
3258
|
return new ReadableStream({
|
|
3258
3259
|
async pull(u) {
|
|
3259
3260
|
try {
|
|
3260
|
-
const { done: h, value:
|
|
3261
|
+
const { done: h, value: d } = await s.next();
|
|
3261
3262
|
if (h) {
|
|
3262
3263
|
a(), u.close();
|
|
3263
3264
|
return;
|
|
3264
3265
|
}
|
|
3265
|
-
let
|
|
3266
|
+
let l = d.byteLength;
|
|
3266
3267
|
if (t) {
|
|
3267
|
-
let S = i +=
|
|
3268
|
+
let S = i += l;
|
|
3268
3269
|
t(S);
|
|
3269
3270
|
}
|
|
3270
|
-
u.enqueue(new Uint8Array(
|
|
3271
|
+
u.enqueue(new Uint8Array(d));
|
|
3271
3272
|
} catch (h) {
|
|
3272
3273
|
throw a(h), h;
|
|
3273
3274
|
}
|
|
@@ -3332,8 +3333,8 @@ const ri = async (e) => {
|
|
|
3332
3333
|
onDownloadProgress: a,
|
|
3333
3334
|
onUploadProgress: u,
|
|
3334
3335
|
responseType: h,
|
|
3335
|
-
headers:
|
|
3336
|
-
withCredentials:
|
|
3336
|
+
headers: d,
|
|
3337
|
+
withCredentials: l = "same-origin",
|
|
3337
3338
|
fetchOptions: S
|
|
3338
3339
|
} = Ut(e);
|
|
3339
3340
|
h = h ? (h + "").toLowerCase() : "text";
|
|
@@ -3343,13 +3344,13 @@ const ri = async (e) => {
|
|
|
3343
3344
|
});
|
|
3344
3345
|
let b;
|
|
3345
3346
|
try {
|
|
3346
|
-
if (u && ti && t !== "get" && t !== "head" && (b = await oi(
|
|
3347
|
+
if (u && ti && t !== "get" && t !== "head" && (b = await oi(d, o)) !== 0) {
|
|
3347
3348
|
let N = new Request(r, {
|
|
3348
3349
|
method: "POST",
|
|
3349
3350
|
body: o,
|
|
3350
3351
|
duplex: "half"
|
|
3351
3352
|
}), G;
|
|
3352
|
-
if (c.isFormData(o) && (G = N.headers.get("content-type")) &&
|
|
3353
|
+
if (c.isFormData(o) && (G = N.headers.get("content-type")) && d.setContentType(G), N.body) {
|
|
3353
3354
|
const [J, ce] = yt(
|
|
3354
3355
|
b,
|
|
3355
3356
|
ye(gt(u))
|
|
@@ -3357,43 +3358,43 @@ const ri = async (e) => {
|
|
|
3357
3358
|
o = bt(N.body, St, J, ce);
|
|
3358
3359
|
}
|
|
3359
3360
|
}
|
|
3360
|
-
c.isString(
|
|
3361
|
+
c.isString(l) || (l = l ? "include" : "omit");
|
|
3361
3362
|
const I = "credentials" in Request.prototype;
|
|
3362
3363
|
f = new Request(r, {
|
|
3363
3364
|
...S,
|
|
3364
3365
|
signal: g,
|
|
3365
3366
|
method: t.toUpperCase(),
|
|
3366
|
-
headers:
|
|
3367
|
+
headers: d.normalize().toJSON(),
|
|
3367
3368
|
body: o,
|
|
3368
3369
|
duplex: "half",
|
|
3369
|
-
credentials: I ?
|
|
3370
|
+
credentials: I ? l : void 0
|
|
3370
3371
|
});
|
|
3371
|
-
let
|
|
3372
|
+
let A = await fetch(f);
|
|
3372
3373
|
const E = Le && (h === "stream" || h === "response");
|
|
3373
3374
|
if (Le && (a || E && w)) {
|
|
3374
3375
|
const N = {};
|
|
3375
3376
|
["status", "statusText", "headers"].forEach((Ze) => {
|
|
3376
|
-
N[Ze] =
|
|
3377
|
+
N[Ze] = A[Ze];
|
|
3377
3378
|
});
|
|
3378
|
-
const G = c.toFiniteNumber(
|
|
3379
|
+
const G = c.toFiniteNumber(A.headers.get("content-length")), [J, ce] = a && yt(
|
|
3379
3380
|
G,
|
|
3380
3381
|
ye(gt(a), !0)
|
|
3381
3382
|
) || [];
|
|
3382
|
-
|
|
3383
|
-
bt(
|
|
3383
|
+
A = new Response(
|
|
3384
|
+
bt(A.body, St, J, () => {
|
|
3384
3385
|
ce && ce(), w && w();
|
|
3385
3386
|
}),
|
|
3386
3387
|
N
|
|
3387
3388
|
);
|
|
3388
3389
|
}
|
|
3389
3390
|
h = h || "text";
|
|
3390
|
-
let H = await ge[c.findKey(ge, h) || "text"](
|
|
3391
|
+
let H = await ge[c.findKey(ge, h) || "text"](A, e);
|
|
3391
3392
|
return !E && w && w(), await new Promise((N, G) => {
|
|
3392
3393
|
qt(N, G, {
|
|
3393
3394
|
data: H,
|
|
3394
|
-
headers: D.from(
|
|
3395
|
-
status:
|
|
3396
|
-
statusText:
|
|
3395
|
+
headers: D.from(A.headers),
|
|
3396
|
+
status: A.status,
|
|
3397
|
+
statusText: A.statusText,
|
|
3397
3398
|
config: e,
|
|
3398
3399
|
request: f
|
|
3399
3400
|
});
|
|
@@ -3589,17 +3590,17 @@ class X {
|
|
|
3589
3590
|
this.interceptors.response.forEach(function(w) {
|
|
3590
3591
|
h.push(w.fulfilled, w.rejected);
|
|
3591
3592
|
});
|
|
3592
|
-
let
|
|
3593
|
+
let d, l = 0, S;
|
|
3593
3594
|
if (!u) {
|
|
3594
3595
|
const f = [_t.bind(this), void 0];
|
|
3595
|
-
for (f.unshift.apply(f, a), f.push.apply(f, h), S = f.length,
|
|
3596
|
-
|
|
3597
|
-
return
|
|
3596
|
+
for (f.unshift.apply(f, a), f.push.apply(f, h), S = f.length, d = Promise.resolve(t); l < S; )
|
|
3597
|
+
d = d.then(f[l++], f[l++]);
|
|
3598
|
+
return d;
|
|
3598
3599
|
}
|
|
3599
3600
|
S = a.length;
|
|
3600
3601
|
let g = t;
|
|
3601
|
-
for (
|
|
3602
|
-
const f = a[
|
|
3602
|
+
for (l = 0; l < S; ) {
|
|
3603
|
+
const f = a[l++], w = a[l++];
|
|
3603
3604
|
try {
|
|
3604
3605
|
g = f(g);
|
|
3605
3606
|
} catch (b) {
|
|
@@ -3608,13 +3609,13 @@ class X {
|
|
|
3608
3609
|
}
|
|
3609
3610
|
}
|
|
3610
3611
|
try {
|
|
3611
|
-
|
|
3612
|
+
d = _t.call(this, g);
|
|
3612
3613
|
} catch (f) {
|
|
3613
3614
|
return Promise.reject(f);
|
|
3614
3615
|
}
|
|
3615
|
-
for (
|
|
3616
|
-
|
|
3617
|
-
return
|
|
3616
|
+
for (l = 0, S = h.length; l < S; )
|
|
3617
|
+
d = d.then(h[l++], h[l++]);
|
|
3618
|
+
return d;
|
|
3618
3619
|
}
|
|
3619
3620
|
getUri(r) {
|
|
3620
3621
|
r = K(this.defaults, r);
|
|
@@ -3891,7 +3892,7 @@ const Ie = (e, r) => {
|
|
|
3891
3892
|
this.$emit("openmedia", e);
|
|
3892
3893
|
}
|
|
3893
3894
|
}
|
|
3894
|
-
}, ci = (e) => (ne("data-v-
|
|
3895
|
+
}, ci = (e) => (ne("data-v-dc325d3f"), e = e(), ae(), e), ui = { class: "generales-container" }, hi = { class: "container-generals-cards-ia-generales" }, fi = { class: "container-data-cards-ia-generales" }, pi = /* @__PURE__ */ ci(() => /* @__PURE__ */ p("div", { class: "loading-overlay" }, [
|
|
3895
3896
|
/* @__PURE__ */ p("div", { class: "loading-animation" })
|
|
3896
3897
|
], -1)), mi = [
|
|
3897
3898
|
pi
|
|
@@ -3945,7 +3946,7 @@ function yi(e, r, t, o, s, i) {
|
|
|
3945
3946
|
])
|
|
3946
3947
|
]);
|
|
3947
3948
|
}
|
|
3948
|
-
const gi = /* @__PURE__ */ Ie(di, [["render", yi], ["__scopeId", "data-v-
|
|
3949
|
+
const gi = /* @__PURE__ */ Ie(di, [["render", yi], ["__scopeId", "data-v-dc325d3f"]]), wi = {
|
|
3949
3950
|
name: "DataIAEquipos",
|
|
3950
3951
|
components: {
|
|
3951
3952
|
GSCSlider: be,
|
|
@@ -4152,14 +4153,14 @@ const gi = /* @__PURE__ */ Ie(di, [["render", yi], ["__scopeId", "data-v-8d2c103
|
|
|
4152
4153
|
return this.getModifiedTeamData(this.teamData);
|
|
4153
4154
|
}
|
|
4154
4155
|
}
|
|
4155
|
-
}, xe = (e) => (ne("data-v-
|
|
4156
|
+
}, xe = (e) => (ne("data-v-9bb4e111"), e = e(), ae(), e), bi = { class: "equipos-container" }, Si = { class: "header-container-equipos" }, vi = { class: "select-container" }, _i = { class: "custom-select" }, Ci = ["src", "alt"], ki = /* @__PURE__ */ xe(() => /* @__PURE__ */ p("div", { class: "select-arrow" }, null, -1)), Ti = {
|
|
4156
4157
|
key: 1,
|
|
4157
4158
|
class: "options-container"
|
|
4158
|
-
}, Ii = ["onClick"], xi = ["src", "alt"], Oi = { class: "container-generals-cards-ia-equipos" }, Pi = { class: "container-data-cards-ia-equipos" },
|
|
4159
|
+
}, Ii = ["onClick"], xi = ["src", "alt"], Oi = { class: "container-generals-cards-ia-equipos" }, Pi = { class: "container-data-cards-ia-equipos" }, Ai = {
|
|
4159
4160
|
key: 0,
|
|
4160
4161
|
class: "loading-overlay"
|
|
4161
|
-
},
|
|
4162
|
-
|
|
4162
|
+
}, Ri = /* @__PURE__ */ xe(() => /* @__PURE__ */ p("div", { class: "loading-animation" }, null, -1)), Ei = [
|
|
4163
|
+
Ri
|
|
4163
4164
|
], Bi = { class: "header-container-equipos" }, Ni = { class: "select-container" }, Di = { class: "custom-select" }, $i = ["src", "alt"], Li = ["onClick"], zi = /* @__PURE__ */ xe(() => /* @__PURE__ */ p("div", { class: "select-arrow" }, null, -1)), Fi = {
|
|
4164
4165
|
key: 1,
|
|
4165
4166
|
class: "options-container"
|
|
@@ -4183,27 +4184,27 @@ function Xi(e, r, t, o, s, i) {
|
|
|
4183
4184
|
alt: s.selectedTeam.colloquial_name
|
|
4184
4185
|
}, null, 8, Ci)) : v("", !0),
|
|
4185
4186
|
p("div", {
|
|
4186
|
-
class:
|
|
4187
|
-
onClick: r[0] || (r[0] = (...
|
|
4187
|
+
class: R(["team-selector", { "has-logo": s.selectedTeam && s.selectedTeam.logo }]),
|
|
4188
|
+
onClick: r[0] || (r[0] = (...d) => i.toggleDropdown && i.toggleDropdown(...d))
|
|
4188
4189
|
}, [
|
|
4189
4190
|
p("span", null, k(s.selectedTeam ? s.selectedTeam.colloquial_name : "Seleccionar equipo"), 1),
|
|
4190
4191
|
ki
|
|
4191
4192
|
], 2),
|
|
4192
4193
|
s.isOpen ? (m(), y("div", Ti, [
|
|
4193
4194
|
(m(!0), y(O, null, P(i.availableTeams.sort(
|
|
4194
|
-
(
|
|
4195
|
-
), (
|
|
4196
|
-
key:
|
|
4195
|
+
(d, l) => d.colloquial_name.localeCompare(l.colloquial_name)
|
|
4196
|
+
), (d) => (m(), y("div", {
|
|
4197
|
+
key: d.id,
|
|
4197
4198
|
class: "option",
|
|
4198
|
-
onClick: (
|
|
4199
|
+
onClick: (l) => i.selectTeam(d)
|
|
4199
4200
|
}, [
|
|
4200
|
-
|
|
4201
|
+
d.logo ? (m(), y("img", {
|
|
4201
4202
|
key: 0,
|
|
4202
|
-
src:
|
|
4203
|
+
src: d.logo,
|
|
4203
4204
|
class: "option-team-logo",
|
|
4204
|
-
alt:
|
|
4205
|
+
alt: d.colloquial_name
|
|
4205
4206
|
}, null, 8, xi)) : v("", !0),
|
|
4206
|
-
p("span", null, k(
|
|
4207
|
+
p("span", null, k(d.colloquial_name), 1)
|
|
4207
4208
|
], 8, Ii))), 128))
|
|
4208
4209
|
])) : v("", !0)
|
|
4209
4210
|
])
|
|
@@ -4230,18 +4231,18 @@ function Xi(e, r, t, o, s, i) {
|
|
|
4230
4231
|
}, {
|
|
4231
4232
|
default: q(() => [
|
|
4232
4233
|
p("div", Pi, [
|
|
4233
|
-
s.loading ? (m(), y(O, { key: 0 }, P(4, (
|
|
4234
|
-
key:
|
|
4234
|
+
s.loading ? (m(), y(O, { key: 0 }, P(4, (d) => p("div", {
|
|
4235
|
+
key: d,
|
|
4235
4236
|
class: "skeleton-card",
|
|
4236
4237
|
style: T([
|
|
4237
|
-
|
|
4238
|
-
|
|
4238
|
+
d > 1 ? { "margin-left": "20px" } : {},
|
|
4239
|
+
d === 4 ? { "margin-right": "30px" } : {}
|
|
4239
4240
|
])
|
|
4240
4241
|
}, [
|
|
4241
|
-
s.selectedTeam ? (m(), y("div",
|
|
4242
|
-
], 4)), 64)) : s.teamData ? (m(!0), y(O, { key: 1 }, P(s.teamData, (
|
|
4243
|
-
key:
|
|
4244
|
-
data:
|
|
4242
|
+
s.selectedTeam ? (m(), y("div", Ai, Ei)) : v("", !0)
|
|
4243
|
+
], 4)), 64)) : s.teamData ? (m(!0), y(O, { key: 1 }, P(s.teamData, (d, l) => (m(), W(n, {
|
|
4244
|
+
key: l,
|
|
4245
|
+
data: d,
|
|
4245
4246
|
class: "data-card",
|
|
4246
4247
|
"show-videos": t.showVideos,
|
|
4247
4248
|
onOpenMedia: i.onOpenMedia
|
|
@@ -4251,35 +4252,35 @@ function Xi(e, r, t, o, s, i) {
|
|
|
4251
4252
|
_: 1
|
|
4252
4253
|
}, 8, ["arrows-background", "arrows"]))
|
|
4253
4254
|
]),
|
|
4254
|
-
(m(!0), y(O, null, P(s.additionalCarousels, (
|
|
4255
|
+
(m(!0), y(O, null, P(s.additionalCarousels, (d, l) => {
|
|
4255
4256
|
var S, g;
|
|
4256
4257
|
return m(), y("div", {
|
|
4257
|
-
key:
|
|
4258
|
+
key: l,
|
|
4258
4259
|
class: "additional-carousel"
|
|
4259
4260
|
}, [
|
|
4260
4261
|
p("div", Bi, [
|
|
4261
4262
|
p("div", Ni, [
|
|
4262
4263
|
p("div", Di, [
|
|
4263
|
-
|
|
4264
|
+
d.selectedTeam && d.selectedTeam.logo ? (m(), y("img", {
|
|
4264
4265
|
key: 0,
|
|
4265
|
-
src:
|
|
4266
|
+
src: d.selectedTeam.logo,
|
|
4266
4267
|
class: "selected-team-logo",
|
|
4267
|
-
alt:
|
|
4268
|
+
alt: d.selectedTeam.team_name
|
|
4268
4269
|
}, null, 8, $i)) : v("", !0),
|
|
4269
4270
|
p("div", {
|
|
4270
|
-
class:
|
|
4271
|
-
onClick: (f) => i.toggleDropdownAdditional(
|
|
4271
|
+
class: R(["team-selector", { "has-logo": d.selectedTeam && d.selectedTeam.logo }]),
|
|
4272
|
+
onClick: (f) => i.toggleDropdownAdditional(l)
|
|
4272
4273
|
}, [
|
|
4273
|
-
p("span", null, k(
|
|
4274
|
+
p("span", null, k(d.selectedTeam ? d.selectedTeam.team_name : "Seleccionar equipo"), 1),
|
|
4274
4275
|
zi
|
|
4275
4276
|
], 10, Li),
|
|
4276
|
-
|
|
4277
|
-
(m(!0), y(O, null, P(i.getAvailableTeamsForCarousel(
|
|
4277
|
+
d.isOpen ? (m(), y("div", Fi, [
|
|
4278
|
+
(m(!0), y(O, null, P(i.getAvailableTeamsForCarousel(l).sort(
|
|
4278
4279
|
(f, w) => f.colloquial_name.localeCompare(w.colloquial_name)
|
|
4279
4280
|
), (f) => (m(), y("div", {
|
|
4280
4281
|
key: f.id,
|
|
4281
4282
|
class: "option",
|
|
4282
|
-
onClick: (w) => i.selectTeamAdditional(f,
|
|
4283
|
+
onClick: (w) => i.selectTeamAdditional(f, l)
|
|
4283
4284
|
}, [
|
|
4284
4285
|
f.logo ? (m(), y("img", {
|
|
4285
4286
|
key: 0,
|
|
@@ -4294,12 +4295,12 @@ function Xi(e, r, t, o, s, i) {
|
|
|
4294
4295
|
]),
|
|
4295
4296
|
p("div", {
|
|
4296
4297
|
class: "remove-carousel-btn",
|
|
4297
|
-
onClick: (f) => i.removeCarousel(
|
|
4298
|
+
onClick: (f) => i.removeCarousel(l)
|
|
4298
4299
|
}, "×", 8, qi)
|
|
4299
4300
|
]),
|
|
4300
4301
|
p("div", ji, [
|
|
4301
4302
|
(m(), W(a, {
|
|
4302
|
-
key: `carousel-slider-${
|
|
4303
|
+
key: `carousel-slider-${l}-${(S = d.selectedTeam) == null ? void 0 : S.team_id}`,
|
|
4303
4304
|
height: 510,
|
|
4304
4305
|
"px-scroll": 339,
|
|
4305
4306
|
"scroll-color": "none",
|
|
@@ -4313,14 +4314,14 @@ function Xi(e, r, t, o, s, i) {
|
|
|
4313
4314
|
"arrows-margin": 0,
|
|
4314
4315
|
"arrows-radius": "50%",
|
|
4315
4316
|
"arrows-border": "#ddd",
|
|
4316
|
-
arrows: !
|
|
4317
|
+
arrows: !d.loading && ((g = d.teamData) == null ? void 0 : g.teams),
|
|
4317
4318
|
ref_for: !0,
|
|
4318
|
-
ref: `carouselSlider${
|
|
4319
|
-
onMounted: (f) => i.initializeSlider(
|
|
4319
|
+
ref: `carouselSlider${l}`,
|
|
4320
|
+
onMounted: (f) => i.initializeSlider(l)
|
|
4320
4321
|
}, {
|
|
4321
4322
|
default: q(() => [
|
|
4322
4323
|
p("div", Ui, [
|
|
4323
|
-
|
|
4324
|
+
d.loading ? (m(), y(O, { key: 0 }, P(4, (f) => p("div", {
|
|
4324
4325
|
key: f,
|
|
4325
4326
|
class: "skeleton-card",
|
|
4326
4327
|
style: T([
|
|
@@ -4328,8 +4329,8 @@ function Xi(e, r, t, o, s, i) {
|
|
|
4328
4329
|
f === 4 ? { "margin-right": "30px" } : {}
|
|
4329
4330
|
])
|
|
4330
4331
|
}, [
|
|
4331
|
-
|
|
4332
|
-
], 4)), 64)) :
|
|
4332
|
+
d.selectedTeam ? (m(), y("div", Hi, Ji)) : v("", !0)
|
|
4333
|
+
], 4)), 64)) : d.teamData && d.teamData.teams ? (m(!0), y(O, { key: 1 }, P(d.teamData.teams, (f, w) => (m(), W(n, {
|
|
4333
4334
|
key: w,
|
|
4334
4335
|
data: f,
|
|
4335
4336
|
class: "data-card",
|
|
@@ -4346,12 +4347,12 @@ function Xi(e, r, t, o, s, i) {
|
|
|
4346
4347
|
p("div", Vi, [
|
|
4347
4348
|
p("div", {
|
|
4348
4349
|
class: "carousel-placeholder-equipos",
|
|
4349
|
-
onClick: r[1] || (r[1] = (...
|
|
4350
|
-
}, " Agregar carrusel de
|
|
4350
|
+
onClick: r[1] || (r[1] = (...d) => i.addCarousel && i.addCarousel(...d))
|
|
4351
|
+
}, " Agregar carrusel de equipos ")
|
|
4351
4352
|
])
|
|
4352
4353
|
]);
|
|
4353
4354
|
}
|
|
4354
|
-
const Zi = /* @__PURE__ */ Ie(wi, [["render", Xi], ["__scopeId", "data-v-
|
|
4355
|
+
const Zi = /* @__PURE__ */ Ie(wi, [["render", Xi], ["__scopeId", "data-v-9bb4e111"]]), Ki = {
|
|
4355
4356
|
name: "DataIAJugadores",
|
|
4356
4357
|
components: {
|
|
4357
4358
|
"g-s-c-slider": be,
|
|
@@ -4663,7 +4664,7 @@ const Zi = /* @__PURE__ */ Ie(wi, [["render", Xi], ["__scopeId", "data-v-a53e456
|
|
|
4663
4664
|
beforeUnmount() {
|
|
4664
4665
|
document.removeEventListener("click", this.closeTeamDropdown), document.removeEventListener("click", this.closePlayerDropdown), window.removeEventListener("resize", this.handleResize);
|
|
4665
4666
|
}
|
|
4666
|
-
}, Oe = (e) => (ne("data-v-
|
|
4667
|
+
}, Oe = (e) => (ne("data-v-cdcb4a07"), e = e(), ae(), e), Qi = { class: "jugadores-container" }, Yi = ["onClick"], en = /* @__PURE__ */ Oe(() => /* @__PURE__ */ p("span", null, "×", -1)), tn = [
|
|
4667
4668
|
en
|
|
4668
4669
|
], rn = { class: "header-container-jugadores" }, on = { class: "custom-select" }, sn = ["src", "alt"], nn = ["onClick"], an = /* @__PURE__ */ Oe(() => /* @__PURE__ */ p("div", { class: "select-arrow" }, null, -1)), ln = {
|
|
4669
4670
|
key: 1,
|
|
@@ -4688,11 +4689,11 @@ const Zi = /* @__PURE__ */ Ie(wi, [["render", Xi], ["__scopeId", "data-v-a53e456
|
|
|
4688
4689
|
key: 0,
|
|
4689
4690
|
class: "no-data-message"
|
|
4690
4691
|
}, Pn = { class: "message-box" };
|
|
4691
|
-
function
|
|
4692
|
+
function An(e, r, t, o, s, i) {
|
|
4692
4693
|
const n = $("GSCDataCard"), a = $("g-s-c-slider");
|
|
4693
4694
|
return m(), y("div", Qi, [
|
|
4694
4695
|
(m(!0), y(O, null, P(s.containers, (u, h) => {
|
|
4695
|
-
var
|
|
4696
|
+
var d;
|
|
4696
4697
|
return m(), y("div", {
|
|
4697
4698
|
key: `container-${u.id}`,
|
|
4698
4699
|
class: "container-section"
|
|
@@ -4700,7 +4701,7 @@ function Rn(e, r, t, o, s, i) {
|
|
|
4700
4701
|
h > 0 ? (m(), y("div", {
|
|
4701
4702
|
key: 0,
|
|
4702
4703
|
class: "close-container-button",
|
|
4703
|
-
onClick: (
|
|
4704
|
+
onClick: (l) => i.removeContainer(h)
|
|
4704
4705
|
}, tn, 8, Yi)) : v("", !0),
|
|
4705
4706
|
p("div", rn, [
|
|
4706
4707
|
p("div", {
|
|
@@ -4716,27 +4717,27 @@ function Rn(e, r, t, o, s, i) {
|
|
|
4716
4717
|
alt: u.selectedTeam.colloquial_name
|
|
4717
4718
|
}, null, 8, sn)) : v("", !0),
|
|
4718
4719
|
p("div", {
|
|
4719
|
-
class:
|
|
4720
|
-
onClick: (
|
|
4720
|
+
class: R(["team-selector", { "has-logo": u.selectedTeam && u.selectedTeam.logo }]),
|
|
4721
|
+
onClick: (l) => i.toggleDropdown(h)
|
|
4721
4722
|
}, [
|
|
4722
4723
|
p("span", null, k(u.selectedTeam ? u.selectedTeam.colloquial_name : "Seleccionar equipo"), 1),
|
|
4723
4724
|
an
|
|
4724
4725
|
], 10, nn),
|
|
4725
4726
|
u.isOpen ? (m(), y("div", ln, [
|
|
4726
4727
|
(m(!0), y(O, null, P(s.filteredTeams.sort(
|
|
4727
|
-
(
|
|
4728
|
-
), (
|
|
4729
|
-
key:
|
|
4728
|
+
(l, S) => l.colloquial_name.localeCompare(S.colloquial_name)
|
|
4729
|
+
), (l) => (m(), y("div", {
|
|
4730
|
+
key: l.id,
|
|
4730
4731
|
class: "option",
|
|
4731
|
-
onClick: (S) => i.selectTeam(
|
|
4732
|
+
onClick: (S) => i.selectTeam(l, h)
|
|
4732
4733
|
}, [
|
|
4733
|
-
|
|
4734
|
+
l.logo ? (m(), y("img", {
|
|
4734
4735
|
key: 0,
|
|
4735
|
-
src:
|
|
4736
|
+
src: l.logo,
|
|
4736
4737
|
class: "option-team-logo",
|
|
4737
|
-
alt:
|
|
4738
|
+
alt: l.colloquial_name
|
|
4738
4739
|
}, null, 8, cn)) : v("", !0),
|
|
4739
|
-
p("span", null, k(
|
|
4740
|
+
p("span", null, k(l.colloquial_name), 1)
|
|
4740
4741
|
], 8, dn))), 128))
|
|
4741
4742
|
])) : v("", !0)
|
|
4742
4743
|
])
|
|
@@ -4754,11 +4755,11 @@ function Rn(e, r, t, o, s, i) {
|
|
|
4754
4755
|
alt: u.selectedPlayer.name
|
|
4755
4756
|
}, null, 8, hn)) : v("", !0),
|
|
4756
4757
|
p("div", {
|
|
4757
|
-
class:
|
|
4758
|
+
class: R(["team-selector", {
|
|
4758
4759
|
"has-logo": u.selectedPlayer && u.selectedPlayer.photo,
|
|
4759
4760
|
disabled: !u.selectedTeam || u.players.length === 0
|
|
4760
4761
|
}]),
|
|
4761
|
-
onClick: (
|
|
4762
|
+
onClick: (l) => u.selectedTeam && i.togglePlayerDropdown(h)
|
|
4762
4763
|
}, [
|
|
4763
4764
|
p("span", null, k(u.selectedPlayer ? i.formatPlayerName(u.selectedPlayer.name) : "Seleccionar jugador"), 1),
|
|
4764
4765
|
pn
|
|
@@ -4768,7 +4769,7 @@ function Rn(e, r, t, o, s, i) {
|
|
|
4768
4769
|
p("div", gn, [
|
|
4769
4770
|
Q(p("input", {
|
|
4770
4771
|
type: "text",
|
|
4771
|
-
"onUpdate:modelValue": (
|
|
4772
|
+
"onUpdate:modelValue": (l) => u.playerSearchQuery = l,
|
|
4772
4773
|
placeholder: "Buscar jugador...",
|
|
4773
4774
|
onClick: r[0] || (r[0] = Ke(() => {
|
|
4774
4775
|
}, ["stop"]))
|
|
@@ -4778,26 +4779,26 @@ function Rn(e, r, t, o, s, i) {
|
|
|
4778
4779
|
u.playerSearchQuery ? (m(), y("button", {
|
|
4779
4780
|
key: 0,
|
|
4780
4781
|
class: "clear-search",
|
|
4781
|
-
onClick: Ke((
|
|
4782
|
+
onClick: Ke((l) => i.clearSearch(h), ["stop"])
|
|
4782
4783
|
}, " ✕ ", 8, bn)) : v("", !0)
|
|
4783
4784
|
])
|
|
4784
4785
|
])) : v("", !0),
|
|
4785
4786
|
(m(!0), y(O, null, P(i.filteredPlayers(h).sort(
|
|
4786
|
-
(
|
|
4787
|
-
), (
|
|
4788
|
-
key:
|
|
4789
|
-
class:
|
|
4790
|
-
selected: u.selectedPlayer && u.selectedPlayer.player_id ===
|
|
4787
|
+
(l, S) => i.formatPlayerName(l.name).localeCompare(i.formatPlayerName(S.name))
|
|
4788
|
+
), (l) => (m(), y("div", {
|
|
4789
|
+
key: l.player_id,
|
|
4790
|
+
class: R(["option", {
|
|
4791
|
+
selected: u.selectedPlayer && u.selectedPlayer.player_id === l.player_id
|
|
4791
4792
|
}]),
|
|
4792
|
-
onClick: (S) => i.selectPlayer(
|
|
4793
|
+
onClick: (S) => i.selectPlayer(l, h)
|
|
4793
4794
|
}, [
|
|
4794
|
-
|
|
4795
|
+
l.photo ? (m(), y("img", {
|
|
4795
4796
|
key: 0,
|
|
4796
|
-
src:
|
|
4797
|
+
src: l.photo,
|
|
4797
4798
|
class: "option-team-logo",
|
|
4798
|
-
alt:
|
|
4799
|
+
alt: l.name
|
|
4799
4800
|
}, null, 8, vn)) : v("", !0),
|
|
4800
|
-
p("span", null, k(i.formatPlayerName(
|
|
4801
|
+
p("span", null, k(i.formatPlayerName(l.name)), 1)
|
|
4801
4802
|
], 10, Sn))), 128))
|
|
4802
4803
|
])) : v("", !0)
|
|
4803
4804
|
])
|
|
@@ -4807,7 +4808,7 @@ function Rn(e, r, t, o, s, i) {
|
|
|
4807
4808
|
u.selectedPlayer && u.playerData && u.playerData.length > 0 ? (m(), W(a, {
|
|
4808
4809
|
ref_for: !0,
|
|
4809
4810
|
ref: "slider",
|
|
4810
|
-
key: `slider-${u.id}-${(
|
|
4811
|
+
key: `slider-${u.id}-${(d = u.selectedPlayer) == null ? void 0 : d.player_id}`,
|
|
4811
4812
|
height: 520,
|
|
4812
4813
|
"px-scroll": 339,
|
|
4813
4814
|
"scroll-color": "none",
|
|
@@ -4826,9 +4827,9 @@ function Rn(e, r, t, o, s, i) {
|
|
|
4826
4827
|
}, {
|
|
4827
4828
|
default: q(() => [
|
|
4828
4829
|
p("div", Cn, [
|
|
4829
|
-
(m(!0), y(O, null, P(u.playerData, (
|
|
4830
|
+
(m(!0), y(O, null, P(u.playerData, (l, S) => (m(), y("div", { key: S }, [
|
|
4830
4831
|
M(n, {
|
|
4831
|
-
data:
|
|
4832
|
+
data: l,
|
|
4832
4833
|
"show-videos": t.showVideos,
|
|
4833
4834
|
"player-id": t.playerId,
|
|
4834
4835
|
onOpenMedia: i.onOpenMedia
|
|
@@ -4838,15 +4839,15 @@ function Rn(e, r, t, o, s, i) {
|
|
|
4838
4839
|
]),
|
|
4839
4840
|
_: 2
|
|
4840
4841
|
}, 1032, ["arrows-background", "arrows"])) : (m(), y("div", kn, [
|
|
4841
|
-
u.loading ? (m(), y(O, { key: 0 }, P(4, (
|
|
4842
|
-
key:
|
|
4842
|
+
u.loading ? (m(), y(O, { key: 0 }, P(4, (l) => p("div", {
|
|
4843
|
+
key: l,
|
|
4843
4844
|
class: "skeleton-card"
|
|
4844
4845
|
}, In)), 64)) : u.selectedPlayer && u.playerData !== null && u.playerData.length === 0 ? (m(), y("div", xn, [
|
|
4845
4846
|
p("div", {
|
|
4846
|
-
class:
|
|
4847
|
+
class: R(["message-box", { "message-box-two-lines": s.windowWidth <= 360 }])
|
|
4847
4848
|
}, k(t.isFemale === 1 ? "La jugadora" : "El jugador") + " aún no cuenta con datos destacados. ", 3)
|
|
4848
|
-
])) : (m(), y(O, { key: 2 }, P(4, (
|
|
4849
|
-
key:
|
|
4849
|
+
])) : (m(), y(O, { key: 2 }, P(4, (l) => p("div", {
|
|
4850
|
+
key: l,
|
|
4850
4851
|
class: "skeleton-card"
|
|
4851
4852
|
})), 64))
|
|
4852
4853
|
]))
|
|
@@ -4862,7 +4863,7 @@ function Rn(e, r, t, o, s, i) {
|
|
|
4862
4863
|
}, " Agregar carrusel de " + k(t.isFemale === 1 ? "jugadoras" : "jugadores"), 1)) : v("", !0)
|
|
4863
4864
|
]);
|
|
4864
4865
|
}
|
|
4865
|
-
const
|
|
4866
|
+
const Rn = /* @__PURE__ */ Ie(Ki, [["render", An], ["__scopeId", "data-v-cdcb4a07"]]), En = {
|
|
4866
4867
|
name: "DataIA",
|
|
4867
4868
|
components: {
|
|
4868
4869
|
GSCSlider: be,
|
|
@@ -4871,7 +4872,7 @@ const An = /* @__PURE__ */ Ie(Ki, [["render", Rn], ["__scopeId", "data-v-d6c84cd
|
|
|
4871
4872
|
GSCTournamentSelect: go,
|
|
4872
4873
|
DataIAGenerales: gi,
|
|
4873
4874
|
DataIAEquipos: Zi,
|
|
4874
|
-
DataIAJugadores:
|
|
4875
|
+
DataIAJugadores: Rn
|
|
4875
4876
|
},
|
|
4876
4877
|
props: {
|
|
4877
4878
|
tournamentsApiUrl: {
|
|
@@ -5029,10 +5030,10 @@ const An = /* @__PURE__ */ Ie(Ki, [["render", Rn], ["__scopeId", "data-v-d6c84cd
|
|
|
5029
5030
|
3036,
|
|
5030
5031
|
3407,
|
|
5031
5032
|
3454
|
|
5032
|
-
], h = [...this.generalTableData.data].sort((
|
|
5033
|
-
this.torneoLiderId =
|
|
5033
|
+
], h = [...this.generalTableData.data].sort((l, S) => l.team_name.localeCompare(S.team_name)), d = h.find((l) => u.includes(l.team_id));
|
|
5034
|
+
this.torneoLiderId = d ? d.team_id : h[0].team_id, this.generalTableData.data = h;
|
|
5034
5035
|
} else if (this.tournamentType === 1 && ((i = this.generalTableData) != null && i.groups)) {
|
|
5035
|
-
const h = this.generalTableData.groups.reduce((S, g) => S.concat(g.data || []), []).sort((S, g) => S.team_name.localeCompare(g.team_name)),
|
|
5036
|
+
const h = this.generalTableData.groups.reduce((S, g) => S.concat(g.data || []), []).sort((S, g) => S.team_name.localeCompare(g.team_name)), d = [
|
|
5036
5037
|
175,
|
|
5037
5038
|
392,
|
|
5038
5039
|
550,
|
|
@@ -5057,8 +5058,8 @@ const An = /* @__PURE__ */ Ie(Ki, [["render", Rn], ["__scopeId", "data-v-d6c84cd
|
|
|
5057
5058
|
3036,
|
|
5058
5059
|
3407,
|
|
5059
5060
|
3454
|
|
5060
|
-
],
|
|
5061
|
-
this.torneoLiderId =
|
|
5061
|
+
], l = h.find((S) => d.includes(S.team_id));
|
|
5062
|
+
this.torneoLiderId = l ? l.team_id : h[0].team_id, this.generalTableData.data = h;
|
|
5062
5063
|
}
|
|
5063
5064
|
} catch (n) {
|
|
5064
5065
|
console.error("Error al obtener datos de la tabla general:", n);
|
|
@@ -5073,14 +5074,14 @@ const An = /* @__PURE__ */ Ie(Ki, [["render", Rn], ["__scopeId", "data-v-d6c84cd
|
|
|
5073
5074
|
ref: "container"
|
|
5074
5075
|
}, Nn = { class: "data-ia-header" }, Dn = { class: "tabs" }, $n = { class: "filters" }, Ln = { class: "league-select" }, zn = { class: "season-select" };
|
|
5075
5076
|
function Fn(e, r, t, o, s, i) {
|
|
5076
|
-
const n = $("GscSwitchComponent"), a = $("GSCTournamentSelect"), u = $("GSCSeasonSelect"), h = $("DataIAGenerales"),
|
|
5077
|
+
const n = $("GscSwitchComponent"), a = $("GSCTournamentSelect"), u = $("GSCSeasonSelect"), h = $("DataIAGenerales"), d = $("DataIAEquipos"), l = $("DataIAJugadores");
|
|
5077
5078
|
return m(), y("div", Bn, [
|
|
5078
5079
|
p("div", Nn, [
|
|
5079
5080
|
p("h2", {
|
|
5080
|
-
class:
|
|
5081
|
+
class: R(i.headerFontSize)
|
|
5081
5082
|
}, "Datos inteligencia Artificial", 2),
|
|
5082
5083
|
p("div", {
|
|
5083
|
-
class:
|
|
5084
|
+
class: R(["header-controls", s.containerSizeClass])
|
|
5084
5085
|
}, [
|
|
5085
5086
|
p("div", Dn, [
|
|
5086
5087
|
M(n, {
|
|
@@ -5119,7 +5120,7 @@ function Fn(e, r, t, o, s, i) {
|
|
|
5119
5120
|
], 2)
|
|
5120
5121
|
]),
|
|
5121
5122
|
p("div", {
|
|
5122
|
-
class:
|
|
5123
|
+
class: R(["cards-container", s.containerSizeClass]),
|
|
5123
5124
|
style: { width: "100%" }
|
|
5124
5125
|
}, [
|
|
5125
5126
|
Q(M(h, {
|
|
@@ -5131,7 +5132,7 @@ function Fn(e, r, t, o, s, i) {
|
|
|
5131
5132
|
}, null, 8, ["current-season-id", "show-videos", "player-id", "onMostProductive", "onOpenmedia"]), [
|
|
5132
5133
|
[re, s.optionSelected === "Generales"]
|
|
5133
5134
|
]),
|
|
5134
|
-
s.torneoLiderId ? Q((m(), W(
|
|
5135
|
+
s.torneoLiderId ? Q((m(), W(d, {
|
|
5135
5136
|
key: 0,
|
|
5136
5137
|
"current-season-id": s.seasonActive,
|
|
5137
5138
|
"torneo-lider-id": s.torneoLiderId,
|
|
@@ -5140,7 +5141,7 @@ function Fn(e, r, t, o, s, i) {
|
|
|
5140
5141
|
}, null, 8, ["current-season-id", "torneo-lider-id", "show-videos", "onOpenmedia"])), [
|
|
5141
5142
|
[re, s.optionSelected === "Equipos"]
|
|
5142
5143
|
]) : v("", !0),
|
|
5143
|
-
s.mostProductivePlayerId ? Q((m(), W(
|
|
5144
|
+
s.mostProductivePlayerId ? Q((m(), W(l, {
|
|
5144
5145
|
key: 1,
|
|
5145
5146
|
"player-id": t.playerId,
|
|
5146
5147
|
"current-season-id": s.seasonActive,
|
|
@@ -5154,7 +5155,7 @@ function Fn(e, r, t, o, s, i) {
|
|
|
5154
5155
|
], 2)
|
|
5155
5156
|
], 512);
|
|
5156
5157
|
}
|
|
5157
|
-
const Wn = /* @__PURE__ */ Ie(En, [["render", Fn], ["__scopeId", "data-v-
|
|
5158
|
+
const Wn = /* @__PURE__ */ Ie(En, [["render", Fn], ["__scopeId", "data-v-3911efc1"]]);
|
|
5158
5159
|
export {
|
|
5159
5160
|
Wn as D,
|
|
5160
5161
|
Eo as q
|