@golstats/gsc-filters 1.1.7 → 1.1.9

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 { useCssVars as He, ref as w, computed as H, watch as N, openBlock as f, createElementBlock as p, normalizeClass as be, createElementVNode as r, normalizeStyle as U, Fragment as V, toDisplayString as A, createCommentVNode as T, renderList as ne, createVNode as L, unref as D, withDirectives as ie, vShow as de, pushScopeId as me, popScopeId as he, vModelRadio as st, createTextVNode as ot, renderSlot as mt, withCtx as se, onMounted as Sa, onBeforeMount as vs, Transition as ka, mergeProps as Le, resolveComponent as va, withModifiers as ra, createBlock as Je, normalizeProps as Kt, guardReactiveProps as $t, defineAsyncComponent as na, KeepAlive as ms, resolveDynamicComponent as Bi, defineComponent as hs, inject as ys, createStaticVNode as Pa, nextTick as Ya, provide as ft } from "vue";
1
+ import { useCssVars as He, ref as w, computed as H, watch as N, openBlock as f, createElementBlock as p, normalizeClass as be, createElementVNode as r, normalizeStyle as U, Fragment as V, toDisplayString as A, createCommentVNode as T, renderList as ne, createVNode as L, unref as D, withDirectives as ie, vShow as ce, pushScopeId as me, popScopeId as he, vModelRadio as st, createTextVNode as ot, renderSlot as mt, withCtx as se, onMounted as Sa, onBeforeMount as vs, Transition as ka, mergeProps as Le, resolveComponent as va, withModifiers as ra, createBlock as Je, normalizeProps as Kt, guardReactiveProps as $t, defineAsyncComponent as na, KeepAlive as ms, resolveDynamicComponent as Bi, defineComponent as hs, inject as ys, createStaticVNode as Pa, nextTick as Ya, provide as ft } from "vue";
2
2
  const tt = {
3
3
  All: 1,
4
4
  YEAR: 2,
@@ -174,7 +174,7 @@ const tt = {
174
174
  function d(c) {
175
175
  return `${{}.TEAM_LOGOS_URL || "https://golstatsimages.blob.core.windows.net/teams-80/"}${c}.png`;
176
176
  }
177
- return (c, v) => (f(), p("div", {
177
+ return (c, m) => (f(), p("div", {
178
178
  class: be(["checkbox", `box-${e.boxPosition}`]),
179
179
  onClick: l
180
180
  }, [
@@ -375,13 +375,13 @@ const bt = (e) => (me("data-v-9f942989"), e = e(), he(), e), As = {
375
375
  })), c = H(() => {
376
376
  var S;
377
377
  return (S = t.productivityCategories) == null ? void 0 : S.offensive.categories.reduce((x, P) => (P.isSelected && x++, x), 0);
378
- }), v = H(() => {
378
+ }), m = H(() => {
379
379
  var S;
380
380
  return (S = t.productivityCategories) == null ? void 0 : S.defensive.categories.reduce((x, P) => (P.isSelected && x++, x), 0);
381
381
  }), u = H(() => {
382
382
  var S;
383
383
  return (S = t.productivityCategories) == null ? void 0 : S.possession.categories.reduce((x, P) => (P.isSelected && x++, x), 0);
384
- }), m = H(() => t.isFromTemplates || t.isForTemplateForm);
384
+ }), v = H(() => t.isFromTemplates || t.isForTemplateForm);
385
385
  N(
386
386
  () => t.productivityCategories,
387
387
  (S) => {
@@ -423,7 +423,7 @@ const bt = (e) => (me("data-v-9f942989"), e = e(), he(), e), As = {
423
423
  "model-value": P.isSelected,
424
424
  "avoid-interaction": e.areMinCategoriesReached && P.isSelected,
425
425
  "avoid-to-check": e.areMaxCategoriesReached,
426
- "box-value": m.value ? null : P.priority || 0,
426
+ "box-value": v.value ? null : P.priority || 0,
427
427
  "onUpdate:modelValue": (j) => h(j, P)
428
428
  }, null, 8, ["label", "fontFamily", "model-value", "avoid-interaction", "avoid-to-check", "box-value", "onUpdate:modelValue"])
429
429
  ]))), 128)) : (f(), p(V, { key: 1 }, [
@@ -438,7 +438,7 @@ const bt = (e) => (me("data-v-9f942989"), e = e(), he(), e), As = {
438
438
  onClick: x[0] || (x[0] = (P) => g("offensive"))
439
439
  }, [
440
440
  ie(L(at, { "is-expanded": a.value }, null, 8, ["is-expanded"]), [
441
- [de, e.isExpansionMode]
441
+ [ce, e.isExpansionMode]
442
442
  ])
443
443
  ])
444
444
  ]),
@@ -453,12 +453,12 @@ const bt = (e) => (me("data-v-9f942989"), e = e(), he(), e), As = {
453
453
  "model-value": P.isSelected,
454
454
  "avoid-to-check": e.areMaxCategoriesReached,
455
455
  "avoid-interaction": e.areMinCategoriesReached && P.isSelected,
456
- "box-value": m.value ? null : P.priority || 0,
456
+ "box-value": v.value ? null : P.priority || 0,
457
457
  "onUpdate:modelValue": (j) => h(j, P)
458
458
  }, null, 8, ["label", "fontFamily", "model-value", "avoid-to-check", "avoid-interaction", "box-value", "onUpdate:modelValue"])
459
459
  ]))), 128))
460
460
  ], 512), [
461
- [de, !e.isExpansionMode || a.value]
461
+ [ce, !e.isExpansionMode || a.value]
462
462
  ])
463
463
  ])) : T("", !0),
464
464
  e.productivityCategories.defensive || e.productivityCategories.possession ? (f(), p("div", Ns, [
@@ -466,14 +466,14 @@ const bt = (e) => (me("data-v-9f942989"), e = e(), he(), e), As = {
466
466
  r("div", Rs, [
467
467
  r("div", Js, [
468
468
  r("span", null, A(e.productivityCategories.defensive.title), 1),
469
- r("span", Xs, "(" + A(v.value) + ")", 1)
469
+ r("span", Xs, "(" + A(m.value) + ")", 1)
470
470
  ]),
471
471
  r("div", {
472
472
  class: "productivity__body__title__expand-button",
473
473
  onClick: x[1] || (x[1] = (P) => g("defensive"))
474
474
  }, [
475
475
  ie(L(at, { "is-expanded": o.value }, null, 8, ["is-expanded"]), [
476
- [de, e.isExpansionMode]
476
+ [ce, e.isExpansionMode]
477
477
  ])
478
478
  ])
479
479
  ]),
@@ -488,12 +488,12 @@ const bt = (e) => (me("data-v-9f942989"), e = e(), he(), e), As = {
488
488
  "model-value": P.isSelected,
489
489
  "avoid-to-check": e.areMaxCategoriesReached,
490
490
  "avoid-interaction": e.areMinCategoriesReached && P.isSelected,
491
- "box-value": m.value ? null : P.priority || 0,
491
+ "box-value": v.value ? null : P.priority || 0,
492
492
  "onUpdate:modelValue": (j) => h(j, P)
493
493
  }, null, 8, ["label", "fontFamily", "model-value", "avoid-to-check", "avoid-interaction", "box-value", "onUpdate:modelValue"])
494
494
  ]))), 128))
495
495
  ], 512), [
496
- [de, !e.isExpansionMode || o.value]
496
+ [ce, !e.isExpansionMode || o.value]
497
497
  ])
498
498
  ])) : T("", !0),
499
499
  e.productivityCategories.possession ? (f(), p("div", _s, [
@@ -507,7 +507,7 @@ const bt = (e) => (me("data-v-9f942989"), e = e(), he(), e), As = {
507
507
  onClick: x[2] || (x[2] = (P) => g("possession"))
508
508
  }, [
509
509
  ie(L(at, { "is-expanded": s.value }, null, 8, ["is-expanded"]), [
510
- [de, e.isExpansionMode]
510
+ [ce, e.isExpansionMode]
511
511
  ])
512
512
  ])
513
513
  ]),
@@ -522,7 +522,7 @@ const bt = (e) => (me("data-v-9f942989"), e = e(), he(), e), As = {
522
522
  "model-value": P.isSelected,
523
523
  "avoid-to-check": e.areMaxCategoriesReached,
524
524
  "avoid-interaction": e.areMinCategoriesReached && P.isSelected,
525
- "box-value": m.value ? null : P.priority || 0,
525
+ "box-value": v.value ? null : P.priority || 0,
526
526
  "onUpdate:modelValue": (j) => h(j, P)
527
527
  }, null, 8, ["label", "fontFamily", "model-value", "avoid-to-check", "avoid-interaction", "box-value", "onUpdate:modelValue"]),
528
528
  P.parameters && e.areProductivityButtonsVisible ? (f(), p("div", {
@@ -533,13 +533,13 @@ const bt = (e) => (me("data-v-9f942989"), e = e(), he(), e), As = {
533
533
  }, Ks, 8, Qs)) : T("", !0)
534
534
  ]))), 128))
535
535
  ], 512), [
536
- [de, !e.isExpansionMode || s.value]
536
+ [ce, !e.isExpansionMode || s.value]
537
537
  ])
538
538
  ])) : T("", !0)
539
539
  ])) : T("", !0)
540
540
  ], 64))
541
541
  ], 4),
542
- !m.value && e.productivityCategories.offensesConditions && e.areOffensesConditionsVisible ? (f(), p("div", $s, [
542
+ !v.value && e.productivityCategories.offensesConditions && e.areOffensesConditionsVisible ? (f(), p("div", $s, [
543
543
  r("div", eo, [
544
544
  to,
545
545
  r("div", ao, [
@@ -720,7 +720,7 @@ const qe = (e) => (me("data-v-e2ded643"), e = e(), he(), e), po = { class: "deta
720
720
  emits: ["change-statistic-type"],
721
721
  setup(e, { emit: i }) {
722
722
  const t = e;
723
- He((m) => ({
723
+ He((v) => ({
724
724
  "1ae8ae49": e.buttonsBackgroundColor,
725
725
  "51b78caa": e.buttonsTextColor,
726
726
  "30a9d324": e.buttonsBorderWidth,
@@ -733,20 +733,20 @@ const qe = (e) => (me("data-v-e2ded643"), e = e(), he(), e), po = { class: "deta
733
733
  const a = w("");
734
734
  N(
735
735
  () => t.statisticType,
736
- (m) => {
737
- a.value = m;
736
+ (v) => {
737
+ a.value = v;
738
738
  },
739
739
  {
740
740
  immediate: !0
741
741
  }
742
742
  ), N(
743
743
  () => a.value,
744
- (m) => {
745
- t.statisticType = m, i("change-statistic-type", m);
744
+ (v) => {
745
+ t.statisticType = v, i("change-statistic-type", v);
746
746
  }
747
747
  );
748
- const o = H(() => t.playingAs.every((m) => m.isSelected)), s = H(() => t.gameSections.every((m) => m.isSelected)), n = H(() => t.gameSections.reduce(
749
- (m, h) => (h.value <= 3 ? m.firstHalf.push(h) : m.secondHalf.push(h), m),
748
+ const o = H(() => t.playingAs.every((v) => v.isSelected)), s = H(() => t.gameSections.every((v) => v.isSelected)), n = H(() => t.gameSections.reduce(
749
+ (v, h) => (h.value <= 3 ? v.firstHalf.push(h) : v.secondHalf.push(h), v),
750
750
  {
751
751
  firstHalf: [],
752
752
  secondHalf: []
@@ -755,27 +755,27 @@ const qe = (e) => (me("data-v-e2ded643"), e = e(), he(), e), po = { class: "deta
755
755
  "--border-radius-first-button": `${t.buttonsBorderRadius} 0 0 ${t.buttonsBorderRadius}`,
756
756
  "--border-radius-last-button": `0 ${t.buttonsBorderRadius} ${t.buttonsBorderRadius} 0`
757
757
  }));
758
- function d(m) {
759
- m ? t.playingAs.forEach((h) => {
758
+ function d(v) {
759
+ v ? t.playingAs.forEach((h) => {
760
760
  h.isSelected = !0;
761
761
  }) : t.playingAs.forEach((h, k) => {
762
762
  h.isSelected = k === 0;
763
763
  });
764
764
  }
765
- function c(m) {
766
- t.playingAs.filter((h) => h.isSelected).length === 1 && m.isSelected || (m.isSelected = !m.isSelected);
765
+ function c(v) {
766
+ t.playingAs.filter((h) => h.isSelected).length === 1 && v.isSelected || (v.isSelected = !v.isSelected);
767
767
  }
768
- function v(m) {
769
- t.gameSections.filter((h) => h.isSelected).length === 1 && m.isSelected || (m.isSelected = !m.isSelected);
768
+ function m(v) {
769
+ t.gameSections.filter((h) => h.isSelected).length === 1 && v.isSelected || (v.isSelected = !v.isSelected);
770
770
  }
771
- function u(m) {
772
- m ? t.gameSections.forEach((h) => {
771
+ function u(v) {
772
+ v ? t.gameSections.forEach((h) => {
773
773
  h.isSelected = !0;
774
774
  }) : t.gameSections.forEach((h, k) => {
775
775
  h.isSelected = k === 0;
776
776
  });
777
777
  }
778
- return (m, h) => (f(), p("div", {
778
+ return (v, h) => (f(), p("div", {
779
779
  class: "details",
780
780
  style: U(l.value)
781
781
  }, [
@@ -790,7 +790,7 @@ const qe = (e) => (me("data-v-e2ded643"), e = e(), he(), e), po = { class: "deta
790
790
  }, null, 8, ["fontFamily", "model-value"])
791
791
  ])
792
792
  ], 512), [
793
- [de, !e.isPlayingAsHidden]
793
+ [ce, !e.isPlayingAsHidden]
794
794
  ]),
795
795
  ie(r("div", ho, [
796
796
  r("div", yo, [
@@ -801,7 +801,7 @@ const qe = (e) => (me("data-v-e2ded643"), e = e(), he(), e), po = { class: "deta
801
801
  }, A(k.name), 11, bo))), 128))
802
802
  ])
803
803
  ], 512), [
804
- [de, !e.isPlayingAsHidden]
804
+ [ce, !e.isPlayingAsHidden]
805
805
  ]),
806
806
  r("div", go, [
807
807
  xo,
@@ -820,7 +820,7 @@ const qe = (e) => (me("data-v-e2ded643"), e = e(), he(), e), po = { class: "deta
820
820
  (f(!0), p(V, null, ne(n.value.firstHalf, (k, g) => (f(), p("div", {
821
821
  key: `pa${g}`,
822
822
  class: be(["details__body__button", { active: k.isSelected }]),
823
- onClick: (S) => v(k)
823
+ onClick: (S) => m(k)
824
824
  }, A(k.text), 11, Lo))), 128))
825
825
  ])
826
826
  ]),
@@ -830,7 +830,7 @@ const qe = (e) => (me("data-v-e2ded643"), e = e(), he(), e), po = { class: "deta
830
830
  (f(!0), p(V, null, ne(n.value.secondHalf, (k, g) => (f(), p("div", {
831
831
  key: `pa${g}`,
832
832
  class: be(["details__body__button", { active: k.isSelected }]),
833
- onClick: (S) => v(k)
833
+ onClick: (S) => m(k)
834
834
  }, A(k.text), 11, To))), 128))
835
835
  ])
836
836
  ]),
@@ -934,7 +934,7 @@ const Yo = { class: "tournaments" }, Vo = {
934
934
  },
935
935
  emits: ["change-filters-selected", "update:filters"],
936
936
  setup(e, { emit: i }) {
937
- const t = e, a = w(!1), o = w([]), s = H(() => n.value.filter((v) => v.isSelected).length), n = H(() => t.tournamentsUrl ? o.value : t.tournaments);
937
+ const t = e, a = w(!1), o = w([]), s = H(() => n.value.filter((m) => m.isSelected).length), n = H(() => t.tournamentsUrl ? o.value : t.tournaments);
938
938
  async function l() {
939
939
  if (t.tournamentsUrl)
940
940
  try {
@@ -943,13 +943,13 @@ const Yo = { class: "tournaments" }, Vo = {
943
943
  Authorization: t.token
944
944
  }
945
945
  })).json();
946
- o.value = u.map((m) => ({
947
- ...m.tournament,
948
- seasons: m.seasons,
946
+ o.value = u.map((v) => ({
947
+ ...v.tournament,
948
+ seasons: v.seasons,
949
949
  isSelected: !0
950
950
  }));
951
- } catch (v) {
952
- console.error("Error fetching tournaments:", v);
951
+ } catch (m) {
952
+ console.error("Error fetching tournaments:", m);
953
953
  }
954
954
  }
955
955
  N(
@@ -965,23 +965,23 @@ const Yo = { class: "tournaments" }, Vo = {
965
965
  }
966
966
  ), N(
967
967
  () => n.value,
968
- (v) => {
969
- const u = v.filter((m) => m.isSelected);
970
- a.value = u.length === v.length, i("change-filters-selected", u.length), i("update:filters", n.value);
968
+ (m) => {
969
+ const u = m.filter((v) => v.isSelected);
970
+ a.value = u.length === m.length, i("change-filters-selected", u.length), i("update:filters", n.value);
971
971
  },
972
972
  { immediate: !0, deep: !0 }
973
973
  );
974
- function d(v) {
975
- n.value.forEach((u, m) => {
976
- u.isSelected = v || (m !== 0 ? v : !0);
974
+ function d(m) {
975
+ n.value.forEach((u, v) => {
976
+ u.isSelected = m || (v !== 0 ? m : !0);
977
977
  });
978
978
  }
979
- function c(v, u) {
980
- t.isOneTournamentOnly && t.tournaments.forEach((m) => {
981
- m.isSelected = !1;
982
- }), u.isSelected = v;
979
+ function c(m, u) {
980
+ t.isOneTournamentOnly && t.tournaments.forEach((v) => {
981
+ v.isSelected = !1;
982
+ }), u.isSelected = m;
983
983
  }
984
- return (v, u) => (f(), p("div", Yo, [
984
+ return (m, u) => (f(), p("div", Yo, [
985
985
  L(gt, { height: "200px" }, {
986
986
  default: se(() => [
987
987
  e.isOneTournamentOnly ? T("", !0) : (f(), p("div", Vo, [
@@ -993,17 +993,17 @@ const Yo = { class: "tournaments" }, Vo = {
993
993
  "onUpdate:modelValue": d
994
994
  }, null, 8, ["model-value", "fontFamily"])
995
995
  ])),
996
- (f(!0), p(V, null, ne(n.value, (m) => (f(), p("div", {
997
- key: m.id || m._id,
996
+ (f(!0), p(V, null, ne(n.value, (v) => (f(), p("div", {
997
+ key: v.id || v._id,
998
998
  class: "tournaments__tournament"
999
999
  }, [
1000
1000
  L(D(ee), {
1001
- "model-value": m.isSelected,
1002
- label: m.name,
1001
+ "model-value": v.isSelected,
1002
+ label: v.name,
1003
1003
  fontFamily: e.fontFamily,
1004
1004
  width: "100%",
1005
- "avoid-interaction": s.value === 1 && m.isSelected,
1006
- "onUpdate:modelValue": (h) => c(h, m)
1005
+ "avoid-interaction": s.value === 1 && v.isSelected,
1006
+ "onUpdate:modelValue": (h) => c(h, v)
1007
1007
  }, null, 8, ["model-value", "label", "fontFamily", "avoid-interaction", "onUpdate:modelValue"])
1008
1008
  ]))), 128))
1009
1009
  ]),
@@ -1118,7 +1118,7 @@ const Qo = {
1118
1118
  fill: e.svgColor
1119
1119
  }, null, 8, ar)
1120
1120
  ], 512)), [
1121
- [de, l.isSelected]
1121
+ [ce, l.isSelected]
1122
1122
  ])
1123
1123
  ])
1124
1124
  ], 8, qo))), 128))
@@ -1632,19 +1632,19 @@ const xr = /* @__PURE__ */ cr(La, [["render", gr], ["__scopeId", "data-v-f3ee6b2
1632
1632
  function c() {
1633
1633
  t.isDisabled || (n.value = !n.value);
1634
1634
  }
1635
- function v(h) {
1635
+ function m(h) {
1636
1636
  o.value && !o.value.contains(h.target) && (n.value = !1);
1637
1637
  }
1638
1638
  function u(h, k) {
1639
1639
  t.isMultipleOption ? s.value = -1 : (s.value = k, n.value = !1), a.value = h, i("input", a.value), i("update:modelValue", a.value);
1640
1640
  }
1641
- function m() {
1641
+ function v() {
1642
1642
  n.value = !1, i("click-ready");
1643
1643
  }
1644
1644
  return Sa(() => {
1645
- document.addEventListener("click", v);
1645
+ document.addEventListener("click", m);
1646
1646
  }), vs(() => {
1647
- document.removeEventListener("click", v);
1647
+ document.removeEventListener("click", m);
1648
1648
  }), (h, k) => (f(), p("div", {
1649
1649
  ref_key: "dropDown",
1650
1650
  ref: o,
@@ -1701,7 +1701,7 @@ const xr = /* @__PURE__ */ cr(La, [["render", gr], ["__scopeId", "data-v-f3ee6b2
1701
1701
  }, [
1702
1702
  mt(h.$slots, "availableItem", { item: g })
1703
1703
  ], 10, Or)), [
1704
- [de, !g.isHidden]
1704
+ [ce, !g.isHidden]
1705
1705
  ])
1706
1706
  ]))), 256))
1707
1707
  ], 4),
@@ -1714,12 +1714,12 @@ const xr = /* @__PURE__ */ cr(La, [["render", gr], ["__scopeId", "data-v-f3ee6b2
1714
1714
  height: "22px",
1715
1715
  "border-radius": "62px",
1716
1716
  "border-width": 0.8,
1717
- onClick: m
1717
+ onClick: v
1718
1718
  })
1719
1719
  ])) : T("", !0)
1720
1720
  ])
1721
1721
  ], 512), [
1722
- [de, n.value]
1722
+ [ce, n.value]
1723
1723
  ])
1724
1724
  ]),
1725
1725
  _: 3
@@ -1822,18 +1822,18 @@ const lt = (e) => (me("data-v-7a29901a"), e = e(), he(), e), Tr = { class: "univ
1822
1822
  statistics: { ...a.universeFilters.statistics }
1823
1823
  };
1824
1824
  }
1825
- function v(u) {
1825
+ function m(u) {
1826
1826
  l.value.lastMonths = u;
1827
1827
  }
1828
1828
  return i({
1829
1829
  resetFilters: c
1830
- }), (u, m) => (f(), p("div", Tr, [
1830
+ }), (u, v) => (f(), p("div", Tr, [
1831
1831
  Mr,
1832
1832
  r("div", Fr, [
1833
1833
  r("div", Dr, [
1834
1834
  r("div", Br, [
1835
1835
  ie(r("input", {
1836
- "onUpdate:modelValue": m[0] || (m[0] = (h) => l.value.statisticsRadios = h),
1836
+ "onUpdate:modelValue": v[0] || (v[0] = (h) => l.value.statisticsRadios = h),
1837
1837
  type: "radio",
1838
1838
  id: "total",
1839
1839
  value: "total",
@@ -1847,7 +1847,7 @@ const lt = (e) => (me("data-v-7a29901a"), e = e(), he(), e), Tr = { class: "univ
1847
1847
  r("div", zr, [
1848
1848
  r("div", Hr, [
1849
1849
  ie(r("input", {
1850
- "onUpdate:modelValue": m[1] || (m[1] = (h) => l.value.statisticsRadios = h),
1850
+ "onUpdate:modelValue": v[1] || (v[1] = (h) => l.value.statisticsRadios = h),
1851
1851
  type: "radio",
1852
1852
  id: "every",
1853
1853
  value: "every90",
@@ -1881,7 +1881,7 @@ const lt = (e) => (me("data-v-7a29901a"), e = e(), he(), e), Tr = { class: "univ
1881
1881
  L(D(Xe), Le(D(Ve), {
1882
1882
  items: e.universeFilters.lastMonths,
1883
1883
  "model-value": l.value.lastMonths,
1884
- onInput: v
1884
+ onInput: m
1885
1885
  }), {
1886
1886
  default: se(({ selectedItem: h }) => [
1887
1887
  r("div", _r, A(h) + " " + A(h === 1 ? "mes" : "meses"), 1)
@@ -2430,12 +2430,16 @@ const zi = /* @__PURE__ */ Ai(wa, [["render", pn]]), vn = { class: "template-dis
2430
2430
  ]));
2431
2431
  }
2432
2432
  };
2433
- const hn = (e) => (me("data-v-63087438"), e = e(), he(), e), yn = { class: "template-games" }, bn = { class: "template-games__header" }, gn = /* @__PURE__ */ hn(() => /* @__PURE__ */ r("div", { class: "template-games__header__title" }, "Partidos jugados:", -1)), xn = { class: "template-games__header__all-games" }, Sn = {
2433
+ const hn = (e) => (me("data-v-aa104b3c"), e = e(), he(), e), yn = { class: "template-games" }, bn = { class: "template-games__header" }, gn = /* @__PURE__ */ hn(() => /* @__PURE__ */ r("div", { class: "template-games__header__title" }, "Partidos jugados:", -1)), xn = { class: "template-games__header__all-games" }, Sn = {
2434
2434
  __name: "TemplateGames",
2435
2435
  props: {
2436
2436
  gamesFilters: {
2437
2437
  type: Array,
2438
2438
  default: () => []
2439
+ },
2440
+ providerId: {
2441
+ type: Number,
2442
+ default: 0
2439
2443
  }
2440
2444
  },
2441
2445
  emits: ["update:gamesFilters"],
@@ -2475,15 +2479,16 @@ const hn = (e) => (me("data-v-63087438"), e = e(), he(), e), yn = { class: "temp
2475
2479
  }, [
2476
2480
  L(D(ee), {
2477
2481
  modelValue: d.isSelected,
2478
- "onUpdate:modelValue": (v) => d.isSelected = v,
2482
+ "onUpdate:modelValue": (m) => d.isSelected = m,
2479
2483
  label: d.label,
2480
2484
  "teams-ids": d.teamsIds,
2485
+ provider: e.providerId,
2481
2486
  "avoid-interaction": o.value === 1 && d.isSelected
2482
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "teams-ids", "avoid-interaction"])
2487
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "teams-ids", "provider", "avoid-interaction"])
2483
2488
  ]))), 128))
2484
2489
  ]));
2485
2490
  }
2486
- }, kn = /* @__PURE__ */ te(Sn, [["__scopeId", "data-v-63087438"]]), Pn = (e, i) => {
2491
+ }, kn = /* @__PURE__ */ te(Sn, [["__scopeId", "data-v-aa104b3c"]]), Pn = (e, i) => {
2487
2492
  const t = e.__vccOpts || e;
2488
2493
  for (const [a, o] of i)
2489
2494
  t[a] = o;
@@ -2929,7 +2934,7 @@ const Xn = /* @__PURE__ */ Bn(Ia, [["render", Jn], ["__scopeId", "data-v-f3ee6b2
2929
2934
  function d(c) {
2930
2935
  return `${{}.TEAM_LOGOS_URL || "https://golstatsimages.blob.core.windows.net/teams-80/"}${c}.png`;
2931
2936
  }
2932
- return (c, v) => (f(), p("div", {
2937
+ return (c, m) => (f(), p("div", {
2933
2938
  class: be(["checkbox", `box-${e.boxPosition}`]),
2934
2939
  onClick: l
2935
2940
  }, [
@@ -3584,7 +3589,7 @@ const Fl = { class: "toggle-buttons__background" }, Dl = ["onClick"], Bl = {
3584
3589
  (f(!0), p(V, null, ne(e.buttons, (d, c) => (f(), p("div", {
3585
3590
  key: `b${c}`,
3586
3591
  class: be(["toggle-buttons__button", { active: a.value === c }]),
3587
- onClick: (v) => s(c)
3592
+ onClick: (m) => s(c)
3588
3593
  }, A(d.text || d), 11, Dl))), 128))
3589
3594
  ], 4)
3590
3595
  ]));
@@ -3696,8 +3701,8 @@ function ma(...e) {
3696
3701
  continue;
3697
3702
  const d = Object.getOwnPropertySymbols(l);
3698
3703
  for (let c = 0; c < d.length; c++) {
3699
- const v = d[c];
3700
- pd.call(l, v) && o(l[v], v);
3704
+ const m = d[c];
3705
+ pd.call(l, m) && o(l[m], m);
3701
3706
  }
3702
3707
  }
3703
3708
  return a;
@@ -4001,23 +4006,23 @@ class ta {
4001
4006
  set(i, t, a) {
4002
4007
  const o = this;
4003
4008
  function s(l, d, c) {
4004
- const v = wt(d);
4005
- if (!v)
4009
+ const m = wt(d);
4010
+ if (!m)
4006
4011
  return;
4007
- const u = b.findKey(o, v);
4012
+ const u = b.findKey(o, m);
4008
4013
  (!u || o[u] === void 0 || c === !0 || c === void 0 && o[u] !== !1) && (o[u || d] = Rt(l));
4009
4014
  }
4010
- const n = (l, d) => b.forEach(l, (c, v) => s(c, v, d));
4015
+ const n = (l, d) => b.forEach(l, (c, m) => s(c, m, d));
4011
4016
  if (b.isPlainObject(i) || i instanceof this.constructor)
4012
4017
  n(i, t);
4013
4018
  else if (b.isString(i) && (i = i.trim()) && !Bd(i))
4014
4019
  n(wd(i), t);
4015
4020
  else if (b.isObject(i) && b.isSafeIterable(i)) {
4016
4021
  let l = /* @__PURE__ */ Object.create(null), d, c;
4017
- for (const v of i) {
4018
- if (!b.isArray(v))
4022
+ for (const m of i) {
4023
+ if (!b.isArray(m))
4019
4024
  throw new TypeError("Object iterator must return a key-value pair");
4020
- c = v[0], b.hasOwnProp(l, c) ? (d = l[c], l[c] = b.isArray(d) ? [...d, v[1]] : [d, v[1]]) : l[c] = v[1];
4025
+ c = m[0], b.hasOwnProp(l, c) ? (d = l[c], l[c] = b.isArray(d) ? [...d, m[1]] : [d, m[1]]) : l[c] = m[1];
4021
4026
  }
4022
4027
  n(l, t);
4023
4028
  } else
@@ -4277,7 +4282,7 @@ function aa(e, i, t) {
4277
4282
  return !b.isUndefined(j[P]);
4278
4283
  }
4279
4284
  );
4280
- const a = t.metaTokens, o = t.visitor || k, s = t.dots, n = t.indexes, l = t.Blob || typeof Blob < "u" && Blob, d = t.maxDepth === void 0 ? Yi : t.maxDepth, c = l && b.isSpecCompliantForm(i), v = [];
4285
+ const a = t.metaTokens, o = t.visitor || k, s = t.dots, n = t.indexes, l = t.Blob || typeof Blob < "u" && Blob, d = t.maxDepth === void 0 ? Yi : t.maxDepth, c = l && b.isSpecCompliantForm(i), m = [];
4281
4286
  if (!b.isFunction(o))
4282
4287
  throw new TypeError("visitor must be a function");
4283
4288
  function u(x) {
@@ -4298,7 +4303,7 @@ function aa(e, i, t) {
4298
4303
  }
4299
4304
  return x;
4300
4305
  }
4301
- function m(x) {
4306
+ function v(x) {
4302
4307
  if (x > d)
4303
4308
  throw new _(
4304
4309
  "Object is too deeply nested (" + x + " levels). Max depth: " + d,
@@ -4314,7 +4319,7 @@ function aa(e, i, t) {
4314
4319
  return $;
4315
4320
  for (; j.length && j[j.length - 1] !== this; )
4316
4321
  j.pop();
4317
- return j.push($), m(P + j.length - 1), $;
4322
+ return j.push($), v(P + j.length - 1), $;
4318
4323
  });
4319
4324
  }
4320
4325
  function k(x, P, j) {
@@ -4342,11 +4347,11 @@ function aa(e, i, t) {
4342
4347
  });
4343
4348
  function S(x, P, j = 0) {
4344
4349
  if (!b.isUndefined(x)) {
4345
- if (m(j), v.indexOf(x) !== -1)
4350
+ if (v(j), m.indexOf(x) !== -1)
4346
4351
  throw new Error("Circular reference detected in " + P.join("."));
4347
- v.push(x), b.forEach(x, function(ue, $) {
4352
+ m.push(x), b.forEach(x, function(ue, $) {
4348
4353
  (!(b.isUndefined(ue) || ue === null) && o.call(i, ue, b.isString($) ? $.trim() : $, P, g)) === !0 && S(ue, P ? P.concat($) : [$], j + 1);
4349
- }), v.pop();
4354
+ }), m.pop();
4350
4355
  }
4351
4356
  }
4352
4357
  if (!b.isObject(e))
@@ -4558,10 +4563,10 @@ const za = {
4558
4563
  if (a.indexOf("application/x-www-form-urlencoded") > -1)
4559
4564
  return Kd(i, d).toString();
4560
4565
  if ((l = b.isFileList(i)) || a.indexOf("multipart/form-data") > -1) {
4561
- const c = pt(this, "env"), v = c && c.FormData;
4566
+ const c = pt(this, "env"), m = c && c.FormData;
4562
4567
  return aa(
4563
4568
  l ? { "files[]": i } : i,
4564
- v && new v(),
4569
+ m && new m(),
4565
4570
  d
4566
4571
  );
4567
4572
  }
@@ -4657,25 +4662,25 @@ function s1(e, i) {
4657
4662
  const t = new Array(e), a = new Array(e);
4658
4663
  let o = 0, s = 0, n;
4659
4664
  return i = i !== void 0 ? i : 1e3, function(d) {
4660
- const c = Date.now(), v = a[s];
4665
+ const c = Date.now(), m = a[s];
4661
4666
  n || (n = c), t[o] = d, a[o] = c;
4662
- let u = s, m = 0;
4667
+ let u = s, v = 0;
4663
4668
  for (; u !== o; )
4664
- m += t[u++], u = u % e;
4669
+ v += t[u++], u = u % e;
4665
4670
  if (o = (o + 1) % e, o === s && (s = (s + 1) % e), c - n < i)
4666
4671
  return;
4667
- const h = v && c - v;
4668
- return h ? Math.round(m * 1e3 / h) : void 0;
4672
+ const h = m && c - m;
4673
+ return h ? Math.round(v * 1e3 / h) : void 0;
4669
4674
  };
4670
4675
  }
4671
4676
  function o1(e, i) {
4672
4677
  let t = 0, a = 1e3 / i, o, s;
4673
- const n = (c, v = Date.now()) => {
4674
- t = v, o = null, s && (clearTimeout(s), s = null), e(...c);
4678
+ const n = (c, m = Date.now()) => {
4679
+ t = m, o = null, s && (clearTimeout(s), s = null), e(...c);
4675
4680
  };
4676
4681
  return [(...c) => {
4677
- const v = Date.now(), u = v - t;
4678
- u >= a ? n(c, v) : (o = c, s || (s = setTimeout(() => {
4682
+ const m = Date.now(), u = m - t;
4683
+ u >= a ? n(c, m) : (o = c, s || (s = setTimeout(() => {
4679
4684
  s = null, n(o);
4680
4685
  }, a - u)));
4681
4686
  }, () => o && n(o)];
@@ -4686,15 +4691,15 @@ const Wt = (e, i, t = 3) => {
4686
4691
  return o1((s) => {
4687
4692
  if (!s || typeof s.loaded != "number")
4688
4693
  return;
4689
- const n = s.loaded, l = s.lengthComputable ? s.total : void 0, d = l != null ? Math.min(n, l) : n, c = Math.max(0, d - a), v = o(c);
4694
+ const n = s.loaded, l = s.lengthComputable ? s.total : void 0, d = l != null ? Math.min(n, l) : n, c = Math.max(0, d - a), m = o(c);
4690
4695
  a = Math.max(a, d);
4691
4696
  const u = {
4692
4697
  loaded: d,
4693
4698
  total: l,
4694
4699
  progress: l ? d / l : void 0,
4695
4700
  bytes: c,
4696
- rate: v || void 0,
4697
- estimated: v && l ? (l - d) / v : void 0,
4701
+ rate: m || void 0,
4702
+ estimated: m && l ? (l - d) / m : void 0,
4698
4703
  event: s,
4699
4704
  lengthComputable: l != null,
4700
4705
  [i ? "download" : "upload"]: !0
@@ -4796,44 +4801,44 @@ function nt(e, i) {
4796
4801
  writable: !0,
4797
4802
  configurable: !0
4798
4803
  });
4799
- function a(v, u, m, h) {
4800
- return b.isPlainObject(v) && b.isPlainObject(u) ? b.merge.call({ caseless: h }, v, u) : b.isPlainObject(u) ? b.merge({}, u) : b.isArray(u) ? u.slice() : u;
4804
+ function a(m, u, v, h) {
4805
+ return b.isPlainObject(m) && b.isPlainObject(u) ? b.merge.call({ caseless: h }, m, u) : b.isPlainObject(u) ? b.merge({}, u) : b.isArray(u) ? u.slice() : u;
4801
4806
  }
4802
- function o(v, u, m, h) {
4807
+ function o(m, u, v, h) {
4803
4808
  if (b.isUndefined(u)) {
4804
- if (!b.isUndefined(v))
4805
- return a(void 0, v, m, h);
4809
+ if (!b.isUndefined(m))
4810
+ return a(void 0, m, v, h);
4806
4811
  } else
4807
- return a(v, u, m, h);
4812
+ return a(m, u, v, h);
4808
4813
  }
4809
- function s(v, u) {
4814
+ function s(m, u) {
4810
4815
  if (!b.isUndefined(u))
4811
4816
  return a(void 0, u);
4812
4817
  }
4813
- function n(v, u) {
4818
+ function n(m, u) {
4814
4819
  if (b.isUndefined(u)) {
4815
- if (!b.isUndefined(v))
4816
- return a(void 0, v);
4820
+ if (!b.isUndefined(m))
4821
+ return a(void 0, m);
4817
4822
  } else
4818
4823
  return a(void 0, u);
4819
4824
  }
4820
- function l(v) {
4825
+ function l(m) {
4821
4826
  const u = b.hasOwnProp(i, "transitional") ? i.transitional : void 0;
4822
4827
  if (!b.isUndefined(u))
4823
4828
  if (b.isPlainObject(u)) {
4824
- if (b.hasOwnProp(u, v))
4825
- return u[v];
4829
+ if (b.hasOwnProp(u, m))
4830
+ return u[m];
4826
4831
  } else
4827
4832
  return;
4828
- const m = b.hasOwnProp(e, "transitional") ? e.transitional : void 0;
4829
- if (b.isPlainObject(m) && b.hasOwnProp(m, v))
4830
- return m[v];
4833
+ const v = b.hasOwnProp(e, "transitional") ? e.transitional : void 0;
4834
+ if (b.isPlainObject(v) && b.hasOwnProp(v, m))
4835
+ return v[m];
4831
4836
  }
4832
- function d(v, u, m) {
4833
- if (b.hasOwnProp(i, m))
4834
- return a(v, u);
4835
- if (b.hasOwnProp(e, m))
4836
- return a(void 0, v);
4837
+ function d(m, u, v) {
4838
+ if (b.hasOwnProp(i, v))
4839
+ return a(m, u);
4840
+ if (b.hasOwnProp(e, v))
4841
+ return a(void 0, m);
4837
4842
  }
4838
4843
  const c = {
4839
4844
  url: s,
@@ -4865,13 +4870,13 @@ function nt(e, i) {
4865
4870
  allowedSocketPaths: n,
4866
4871
  responseEncoding: n,
4867
4872
  validateStatus: d,
4868
- headers: (v, u, m) => o(mi(v), mi(u), m, !0)
4873
+ headers: (m, u, v) => o(mi(m), mi(u), v, !0)
4869
4874
  };
4870
4875
  return b.forEach(Object.keys({ ...e, ...i }), function(u) {
4871
4876
  if (u === "__proto__" || u === "constructor" || u === "prototype")
4872
4877
  return;
4873
- const m = b.hasOwnProp(c, u) ? c[u] : o, h = b.hasOwnProp(e, u) ? e[u] : void 0, k = b.hasOwnProp(i, u) ? i[u] : void 0, g = m(h, k, u);
4874
- b.isUndefined(g) && m !== d || (t[u] = g);
4878
+ const v = b.hasOwnProp(c, u) ? c[u] : o, h = b.hasOwnProp(e, u) ? e[u] : void 0, k = b.hasOwnProp(i, u) ? i[u] : void 0, g = v(h, k, u);
4879
+ b.isUndefined(g) && v !== d || (t[u] = g);
4875
4880
  }), b.hasOwnProp(i, "validateStatus") && b.isUndefined(i.validateStatus) && l("validateStatusUndefinedResolves") === !1 && (b.hasOwnProp(e, "validateStatus") ? t.validateStatus = a(void 0, e.validateStatus) : delete t.validateStatus), t;
4876
4881
  }
4877
4882
  const v1 = ["content-type", "content-length"];
@@ -4889,21 +4894,21 @@ const h1 = (e) => encodeURIComponent(e).replace(
4889
4894
  (i, t) => String.fromCharCode(parseInt(t, 16))
4890
4895
  );
4891
4896
  function ts(e) {
4892
- const i = nt({}, e), t = (m) => b.hasOwnProp(i, m) ? i[m] : void 0, a = t("data");
4897
+ const i = nt({}, e), t = (v) => b.hasOwnProp(i, v) ? i[v] : void 0, a = t("data");
4893
4898
  let o = t("withXSRFToken");
4894
4899
  const s = t("xsrfHeaderName"), n = t("xsrfCookieName");
4895
4900
  let l = t("headers");
4896
- const d = t("auth"), c = t("baseURL"), v = t("allowAbsoluteUrls"), u = t("url");
4901
+ const d = t("auth"), c = t("baseURL"), m = t("allowAbsoluteUrls"), u = t("url");
4897
4902
  if (i.headers = l = Ee.from(l), i.url = Ui(
4898
- es(c, u, v, i),
4903
+ es(c, u, m, i),
4899
4904
  t("params"),
4900
4905
  t("paramsSerializer")
4901
4906
  ), d) {
4902
- const m = b.getSafeProp(d, "username") || "", h = b.getSafeProp(d, "password") || "";
4907
+ const v = b.getSafeProp(d, "username") || "", h = b.getSafeProp(d, "password") || "";
4903
4908
  try {
4904
4909
  l.set(
4905
4910
  "Authorization",
4906
- "Basic " + btoa(m + ":" + (h ? h1(h) : ""))
4911
+ "Basic " + btoa(v + ":" + (h ? h1(h) : ""))
4907
4912
  );
4908
4913
  } catch (k) {
4909
4914
  throw _.from(k, _.ERR_BAD_OPTION_VALUE, e);
@@ -4920,9 +4925,9 @@ const y1 = typeof XMLHttpRequest < "u", b1 = y1 && function(e) {
4920
4925
  const o = ts(e);
4921
4926
  let s = o.data;
4922
4927
  const n = Ee.from(o.headers).normalize();
4923
- let { responseType: l, onUploadProgress: d, onDownloadProgress: c } = o, v, u, m, h, k;
4928
+ let { responseType: l, onUploadProgress: d, onDownloadProgress: c } = o, m, u, v, h, k;
4924
4929
  function g() {
4925
- h && h(), k && k(), o.cancelToken && o.cancelToken.unsubscribe(v), o.signal && o.signal.removeEventListener("abort", v);
4930
+ h && h(), k && k(), o.cancelToken && o.cancelToken.unsubscribe(m), o.signal && o.signal.removeEventListener("abort", m);
4926
4931
  }
4927
4932
  let S = new XMLHttpRequest();
4928
4933
  S.open(o.method.toUpperCase(), o.url, !0), S.timeout = o.timeout;
@@ -4969,9 +4974,9 @@ const y1 = typeof XMLHttpRequest < "u", b1 = y1 && function(e) {
4969
4974
  ), g(), S = null;
4970
4975
  }, s === void 0 && n.setContentType(null), "setRequestHeader" in S && b.forEach(_i(n), function(W, ue) {
4971
4976
  S.setRequestHeader(ue, W);
4972
- }), b.isUndefined(o.withCredentials) || (S.withCredentials = !!o.withCredentials), l && l !== "json" && (S.responseType = o.responseType), c && ([m, k] = Wt(c, !0), S.addEventListener("progress", m)), d && S.upload && ([u, h] = Wt(d), S.upload.addEventListener("progress", u), S.upload.addEventListener("loadend", h)), (o.cancelToken || o.signal) && (v = (j) => {
4977
+ }), b.isUndefined(o.withCredentials) || (S.withCredentials = !!o.withCredentials), l && l !== "json" && (S.responseType = o.responseType), c && ([v, k] = Wt(c, !0), S.addEventListener("progress", v)), d && S.upload && ([u, h] = Wt(d), S.upload.addEventListener("progress", u), S.upload.addEventListener("loadend", h)), (o.cancelToken || o.signal) && (m = (j) => {
4973
4978
  S && (a(!j || j.type ? new At(null, e, S) : j), S.abort(), g(), S = null);
4974
- }, o.cancelToken && o.cancelToken.subscribe(v), o.signal && (o.signal.aborted ? v() : o.signal.addEventListener("abort", v)));
4979
+ }, o.cancelToken && o.cancelToken.subscribe(m), o.signal && (o.signal.aborted ? m() : o.signal.addEventListener("abort", m)));
4975
4980
  const P = i1(o.url);
4976
4981
  if (P && !Ie.protocols.includes(P)) {
4977
4982
  a(
@@ -5047,17 +5052,17 @@ const y1 = typeof XMLHttpRequest < "u", b1 = y1 && function(e) {
5047
5052
  {
5048
5053
  async pull(d) {
5049
5054
  try {
5050
- const { done: c, value: v } = await o.next();
5055
+ const { done: c, value: m } = await o.next();
5051
5056
  if (c) {
5052
5057
  l(), d.close();
5053
5058
  return;
5054
5059
  }
5055
- let u = v.byteLength;
5060
+ let u = m.byteLength;
5056
5061
  if (t) {
5057
- let m = s += u;
5058
- t(m);
5062
+ let v = s += u;
5063
+ t(v);
5059
5064
  }
5060
- d.enqueue(new Uint8Array(v));
5065
+ d.enqueue(new Uint8Array(m));
5061
5066
  } catch (c) {
5062
5067
  throw l(c), c;
5063
5068
  }
@@ -5087,12 +5092,12 @@ function L1(e) {
5087
5092
  Ut(k) && Ut(g) && (n -= 2, h += 2);
5088
5093
  }
5089
5094
  let d = 0, c = l - 1;
5090
- const v = (h) => h >= 2 && a.charCodeAt(h - 2) === 37 && // '%'
5095
+ const m = (h) => h >= 2 && a.charCodeAt(h - 2) === 37 && // '%'
5091
5096
  a.charCodeAt(h - 1) === 51 && // '3'
5092
5097
  (a.charCodeAt(h) === 68 || a.charCodeAt(h) === 100);
5093
- c >= 0 && (a.charCodeAt(c) === 61 ? (d++, c--) : v(c) && (d++, c -= 3)), d === 1 && c >= 0 && (a.charCodeAt(c) === 61 || v(c)) && d++;
5094
- const m = Math.floor(n / 4) * 3 - (d || 0);
5095
- return m > 0 ? m : 0;
5098
+ c >= 0 && (a.charCodeAt(c) === 61 ? (d++, c--) : m(c) && (d++, c -= 3)), d === 1 && c >= 0 && (a.charCodeAt(c) === 61 || m(c)) && d++;
5099
+ const v = Math.floor(n / 4) * 3 - (d || 0);
5100
+ return v > 0 ? v : 0;
5096
5101
  }
5097
5102
  let s = 0;
5098
5103
  for (let n = 0, l = a.length; n < l; n++) {
@@ -5147,7 +5152,7 @@ const Ea = "1.18.1", yi = 64 * 1024, { isFunction: Nt } = b, w1 = (e) => encodeU
5147
5152
  const { fetch: o, Request: s, Response: n } = e, l = o ? Nt(o) : typeof fetch == "function", d = Nt(s), c = Nt(n);
5148
5153
  if (!l)
5149
5154
  return !1;
5150
- const v = l && Nt(t), u = l && (typeof a == "function" ? ((x) => (P) => x.encode(P))(new a()) : async (x) => new Uint8Array(await new s(x).arrayBuffer())), m = d && v && gi(() => {
5155
+ const m = l && Nt(t), u = l && (typeof a == "function" ? ((x) => (P) => x.encode(P))(new a()) : async (x) => new Uint8Array(await new s(x).arrayBuffer())), v = d && m && gi(() => {
5151
5156
  let x = !1;
5152
5157
  const P = new s(Ie.origin, {
5153
5158
  body: new t(),
@@ -5157,7 +5162,7 @@ const Ea = "1.18.1", yi = 64 * 1024, { isFunction: Nt } = b, w1 = (e) => encodeU
5157
5162
  }
5158
5163
  }), j = P.headers.has("Content-Type");
5159
5164
  return P.body != null && P.body.cancel(), x && !j;
5160
- }), h = c && v && gi(() => b.isReadableStream(new n("").body)), k = {
5165
+ }), h = c && m && gi(() => b.isReadableStream(new n("").body)), k = {
5161
5166
  stream: h && ((x) => x.body)
5162
5167
  };
5163
5168
  l && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((x) => {
@@ -5207,7 +5212,7 @@ const Ea = "1.18.1", yi = 64 * 1024, { isFunction: Nt } = b, w1 = (e) => encodeU
5207
5212
  maxContentLength: q,
5208
5213
  maxBodyLength: B
5209
5214
  } = ts(x);
5210
- const Se = b.isNumber(q) && q > -1, ke = b.isNumber(B) && B > -1, ce = (F) => b.hasOwnProp(x, F) ? x[F] : void 0;
5215
+ const Se = b.isNumber(q) && q > -1, ke = b.isNumber(B) && B > -1, le = (F) => b.hasOwnProp(x, F) ? x[F] : void 0;
5211
5216
  let Me = o || fetch;
5212
5217
  we = we ? (we + "").toLowerCase() : "text";
5213
5218
  let Pe = x1(
@@ -5226,7 +5231,7 @@ const Ea = "1.18.1", yi = 64 * 1024, { isFunction: Nt } = b, w1 = (e) => encodeU
5226
5231
  );
5227
5232
  try {
5228
5233
  let F;
5229
- const J = ce("auth");
5234
+ const J = le("auth");
5230
5235
  if (J) {
5231
5236
  const C = b.getSafeProp(J, "username") || "", z = b.getSafeProp(J, "password") || "";
5232
5237
  F = {
@@ -5270,7 +5275,7 @@ const Ea = "1.18.1", yi = 64 * 1024, { isFunction: Nt } = b, w1 = (e) => encodeU
5270
5275
  },
5271
5276
  K
5272
5277
  );
5273
- if (m && j !== "get" && j !== "head" && (je || X)) {
5278
+ if (v && j !== "get" && j !== "head" && (je || X)) {
5274
5279
  if (Fe = Fe ?? await S(E, W), Fe !== 0 || X) {
5275
5280
  let C = new s(P, {
5276
5281
  method: "POST",
@@ -5285,9 +5290,9 @@ const Ea = "1.18.1", yi = 64 * 1024, { isFunction: Nt } = b, w1 = (e) => encodeU
5285
5290
  W = Z(C.body, K, Ge);
5286
5291
  }
5287
5292
  }
5288
- } else if (X && !d && v && j !== "get" && j !== "head")
5293
+ } else if (X && !d && m && j !== "get" && j !== "head")
5289
5294
  W = Z(W);
5290
- else if (X && d && !m && j !== "get" && j !== "head")
5295
+ else if (X && d && !v && j !== "get" && j !== "head")
5291
5296
  throw new _(
5292
5297
  "Stream request bodies are not supported by the current fetch implementation",
5293
5298
  _.ERR_NOT_SUPPORT,
@@ -5295,7 +5300,7 @@ const Ea = "1.18.1", yi = 64 * 1024, { isFunction: Nt } = b, w1 = (e) => encodeU
5295
5300
  fe
5296
5301
  );
5297
5302
  b.isString(R) || (R = R ? "include" : "omit");
5298
- const le = d && "credentials" in s.prototype;
5303
+ const de = d && "credentials" in s.prototype;
5299
5304
  if (b.isFormData(W)) {
5300
5305
  const C = E.getContentType();
5301
5306
  C && /^multipart\/form-data/i.test(C) && !/boundary=/i.test(C) && E.delete("content-type");
@@ -5308,7 +5313,7 @@ const Ea = "1.18.1", yi = 64 * 1024, { isFunction: Nt } = b, w1 = (e) => encodeU
5308
5313
  headers: _i(E.normalize()),
5309
5314
  body: W,
5310
5315
  duplex: "half",
5311
- credentials: le ? R : void 0
5316
+ credentials: de ? R : void 0
5312
5317
  };
5313
5318
  fe = d && new s(P, ae);
5314
5319
  let Y = await (d ? Me(fe, G) : Me(P, ae));
@@ -5413,9 +5418,9 @@ const Ea = "1.18.1", yi = 64 * 1024, { isFunction: Nt } = b, w1 = (e) => encodeU
5413
5418
  }, T1 = /* @__PURE__ */ new Map(), as = (e) => {
5414
5419
  let i = e && e.env || {};
5415
5420
  const { fetch: t, Request: a, Response: o } = i, s = [a, o, t];
5416
- let n = s.length, l = n, d, c, v = T1;
5421
+ let n = s.length, l = n, d, c, m = T1;
5417
5422
  for (; l--; )
5418
- d = s[l], c = v.get(d), c === void 0 && v.set(d, c = l ? /* @__PURE__ */ new Map() : I1(i)), v = c;
5423
+ d = s[l], c = m.get(d), c === void 0 && m.set(d, c = l ? /* @__PURE__ */ new Map() : I1(i)), m = c;
5419
5424
  return c;
5420
5425
  };
5421
5426
  as();
@@ -5654,16 +5659,16 @@ class Qt {
5654
5659
  this.interceptors.response.forEach(function(g) {
5655
5660
  c.push(g.fulfilled, g.rejected);
5656
5661
  });
5657
- let v, u = 0, m;
5662
+ let m, u = 0, v;
5658
5663
  if (!d) {
5659
5664
  const k = [Si.bind(this), void 0];
5660
- for (k.unshift(...l), k.push(...c), m = k.length, v = Promise.resolve(t); u < m; )
5661
- v = v.then(k[u++], k[u++]);
5662
- return v;
5665
+ for (k.unshift(...l), k.push(...c), v = k.length, m = Promise.resolve(t); u < v; )
5666
+ m = m.then(k[u++], k[u++]);
5667
+ return m;
5663
5668
  }
5664
- m = l.length;
5669
+ v = l.length;
5665
5670
  let h = t;
5666
- for (; u < m; ) {
5671
+ for (; u < v; ) {
5667
5672
  const k = l[u++], g = l[u++];
5668
5673
  try {
5669
5674
  h = k(h);
@@ -5673,13 +5678,13 @@ class Qt {
5673
5678
  }
5674
5679
  }
5675
5680
  try {
5676
- v = Si.call(this, h);
5681
+ m = Si.call(this, h);
5677
5682
  } catch (k) {
5678
5683
  return Promise.reject(k);
5679
5684
  }
5680
- for (u = 0, m = c.length; u < m; )
5681
- v = v.then(c[u++], c[u++]);
5682
- return v;
5685
+ for (u = 0, v = c.length; u < v; )
5686
+ m = m.then(c[u++], c[u++]);
5687
+ return m;
5683
5688
  }
5684
5689
  getUri(i) {
5685
5690
  i = nt(this.defaults, i);
@@ -6230,7 +6235,7 @@ function j1(e, i) {
6230
6235
  function Ot(e, i) {
6231
6236
  if (ye(2, arguments), !i || qt(i) !== "object")
6232
6237
  return /* @__PURE__ */ new Date(NaN);
6233
- var t = i.years ? Ye(i.years) : 0, a = i.months ? Ye(i.months) : 0, o = i.weeks ? Ye(i.weeks) : 0, s = i.days ? Ye(i.days) : 0, n = i.hours ? Ye(i.hours) : 0, l = i.minutes ? Ye(i.minutes) : 0, d = i.seconds ? Ye(i.seconds) : 0, c = pe(e), v = a || t ? j1(c, a + t * 12) : c, u = s || o ? E1(v, s + o * 7) : v, m = l + n * 60, h = d + m * 60, k = h * 1e3, g = new Date(u.getTime() + k);
6238
+ var t = i.years ? Ye(i.years) : 0, a = i.months ? Ye(i.months) : 0, o = i.weeks ? Ye(i.weeks) : 0, s = i.days ? Ye(i.days) : 0, n = i.hours ? Ye(i.hours) : 0, l = i.minutes ? Ye(i.minutes) : 0, d = i.seconds ? Ye(i.seconds) : 0, c = pe(e), m = a || t ? j1(c, a + t * 12) : c, u = s || o ? E1(m, s + o * 7) : m, v = l + n * 60, h = d + v * 60, k = h * 1e3, g = new Date(u.getTime() + k);
6234
6239
  return g;
6235
6240
  }
6236
6241
  function Pi(e) {
@@ -6403,24 +6408,27 @@ async function e9(e = [], i = "", t = 0, a = !1) {
6403
6408
  try {
6404
6409
  const o = e.map((s) => nc(s, i, t, a));
6405
6410
  if (o.length) {
6406
- const s = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Date(), l = [], d = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), v = await Promise.all(o);
6407
- for (const u of v)
6408
- for (const m of u) {
6409
- const h = new Date(m.dob), k = ns(h), g = ls({
6411
+ const s = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Date(), l = [], d = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), m = await Promise.all(o);
6412
+ for (const u of m)
6413
+ for (const v of u) {
6414
+ const h = new Date(v.dob), k = ns(h), g = ls({
6410
6415
  start: h,
6411
6416
  end: n
6412
6417
  });
6413
- d.has(m.nationality_id) || d.set(m.nationality_id, {
6414
- id: m.nationality_id,
6418
+ v.nationality_id != null && !d.has(v.nationality_id) && d.set(v.nationality_id, {
6419
+ id: v.nationality_id,
6415
6420
  isSelected: !0,
6416
- name: os[`${m.nationality_id}`]
6417
- }), c.has(m.position_id) || c.set(m.position_id, {
6418
- id: m.position_id,
6421
+ // El API ya manda el nombre (`player.nationality`); el catálogo local
6422
+ // solo es fallback. Con provider >= 2 los ids son del espacio Opta
6423
+ // y el catálogo GolStats daría nombres equivocados.
6424
+ name: v.nationality || os[`${v.nationality_id}`]
6425
+ }), c.has(v.position_id) || c.set(v.position_id, {
6426
+ id: v.position_id,
6419
6427
  isSelected: !0,
6420
- name: rs[`${m.position_id}`]
6428
+ name: rs[`${v.position_id}`]
6421
6429
  }), s.add(k), l.push(g.years);
6422
6430
  }
6423
- return et.minAge = Math.min(...l), et.maxAge = Math.max(...l), et.availableYears = [...s].sort((u, m) => m - u), et.nationalities = [...d.values()], et.positions = [...c.values()], et.isEligibilitySwitchVisible = e.some(
6431
+ return et.minAge = Math.min(...l), et.maxAge = Math.max(...l), et.availableYears = [...s].sort((u, v) => v - u), et.nationalities = [...d.values()], et.positions = [...c.values()], et.isEligibilitySwitchVisible = e.some(
6424
6432
  (u) => ds.has(u.tournamentId)
6425
6433
  ), et;
6426
6434
  } else
@@ -6467,7 +6475,7 @@ const lc = {
6467
6475
  }, null, 544));
6468
6476
  }
6469
6477
  }, zt = /* @__PURE__ */ te(lc, [["__scopeId", "data-v-caefc67f"]]);
6470
- const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "personal-data" }, cc = { class: "personal-data__age" }, uc = { class: "personal-data__age__toggle" }, fc = { class: "personal-data__age__range" }, pc = { class: "personal-data__age__dropdown" }, vc = /* @__PURE__ */ dt(() => /* @__PURE__ */ r("div", { class: "label" }, "Año", -1)), mc = { class: "selected-item" }, hc = /* @__PURE__ */ dt(() => /* @__PURE__ */ r("div", { class: "separator" }, null, -1)), yc = { class: "personal-data__nationality-position" }, bc = {
6478
+ const dt = (e) => (me("data-v-a18dafe7"), e = e(), he(), e), dc = { class: "personal-data" }, cc = { class: "personal-data__age" }, uc = { class: "personal-data__age__toggle" }, fc = { class: "personal-data__age__range" }, pc = { class: "personal-data__age__dropdown" }, vc = /* @__PURE__ */ dt(() => /* @__PURE__ */ r("div", { class: "label" }, "Año", -1)), mc = { class: "selected-item" }, hc = /* @__PURE__ */ dt(() => /* @__PURE__ */ r("div", { class: "separator" }, null, -1)), yc = { class: "personal-data__nationality-position" }, bc = {
6471
6479
  key: 0,
6472
6480
  class: "personal-data__nationality-position__switch"
6473
6481
  }, gc = /* @__PURE__ */ dt(() => /* @__PURE__ */ r("div", { class: "label" }, "Nacionalidad", -1)), xc = /* @__PURE__ */ dt(() => /* @__PURE__ */ r("div", { class: "label" }, "Elegibilidad", -1)), Sc = { class: "personal-data__nationality-position__nationality" }, kc = /* @__PURE__ */ dt(() => /* @__PURE__ */ r("div", { class: "label" }, "Nacionalidad", -1)), Pc = { class: "selected-item" }, Cc = /* @__PURE__ */ dt(() => /* @__PURE__ */ r("div", { class: "label" }, "Elegibilidad", -1)), Lc = { class: "selected-item" }, wc = { class: "personal-data__nationality-position__position" }, Oc = /* @__PURE__ */ dt(() => /* @__PURE__ */ r("div", { class: "label" }, "Posición", -1)), Ic = { class: "selected-item" }, Tc = "https://ts7thxzaik.execute-api.us-west-2.amazonaws.com/prod/players/seasons/", Mc = {
@@ -6538,7 +6546,7 @@ const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "pers
6538
6546
  }, n = w({ ...Zt }), l = w(["Por edad", "Por año"]), d = w(0), c = w({
6539
6547
  min: Zt.minAge,
6540
6548
  max: Zt.maxAge
6541
- }), v = w(Ve), u = w(""), m = w(""), h = w(
6549
+ }), m = w(Ve), u = w(""), v = w(""), h = w(
6542
6550
  n.value.availableYears[n.value.availableYears.length - 1]
6543
6551
  ), k = w(0), g = H(() => {
6544
6552
  const E = n.value.nationalities ? [...n.value.nationalities] : [];
@@ -6563,7 +6571,7 @@ const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "pers
6563
6571
  S,
6564
6572
  (E) => {
6565
6573
  const R = E.reduce((G, q, B) => (B !== 0 && q.isSelected && G++, G), 0);
6566
- R === S.value.length - 1 && (E[0].isSelected = !0), E[0] && E[0].isSelected ? m.value = "Todas las posiciones" : m.value = `${R} seleccionadas`, ve();
6574
+ R === S.value.length - 1 && (E[0].isSelected = !0), E[0] && E[0].isSelected ? v.value = "Todas las posiciones" : v.value = `${R} seleccionadas`, ve();
6567
6575
  },
6568
6576
  { immediate: !0, deep: !0 }
6569
6577
  ), N(
@@ -6591,21 +6599,25 @@ const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "pers
6591
6599
  try {
6592
6600
  if (E && E.id) {
6593
6601
  const R = /* @__PURE__ */ new Set(), G = await W(E.id), q = /* @__PURE__ */ new Date(), B = [], Se = /* @__PURE__ */ new Map(), ke = /* @__PURE__ */ new Map();
6594
- G.forEach((ce) => {
6595
- const Me = new Date(ce.dob), Pe = ns(Me), fe = ls({
6602
+ G.forEach((le) => {
6603
+ const Me = new Date(le.dob), Pe = ns(Me), fe = ls({
6596
6604
  start: Me,
6597
6605
  end: q
6598
6606
  });
6599
- Se.has(ce.nationality_id) || Se.set(ce.nationality_id, {
6600
- id: ce.nationality_id,
6607
+ le.nationality_id != null && !Se.has(le.nationality_id) && Se.set(le.nationality_id, {
6608
+ id: le.nationality_id,
6601
6609
  isSelected: !0,
6602
- name: os[`${ce.nationality_id}`]
6603
- }), ke.has(ce.position_id) || ke.set(ce.position_id, {
6604
- id: ce.position_id,
6610
+ // El API ya manda el nombre (`player.nationality`); el catálogo local
6611
+ // solo es fallback. Con provider >= 2 los ids son del espacio Opta
6612
+ // (México=1, Argentina=6...) y el catálogo GolStats daría nombres
6613
+ // equivocados, por eso el nombre del API tiene prioridad.
6614
+ name: le.nationality || os[`${le.nationality_id}`]
6615
+ }), ke.has(le.position_id) || ke.set(le.position_id, {
6616
+ id: le.position_id,
6605
6617
  isSelected: !0,
6606
- name: rs[`${ce.position_id}`]
6618
+ name: rs[`${le.position_id}`]
6607
6619
  }), R.add(Pe), B.push(fe.years);
6608
- }), n.value.minAge = Math.min(...B), n.value.maxAge = Math.max(...B), n.value.availableYears = [...R].sort((ce, Me) => Me - ce), h.value = n.value.availableYears[0], n.value.nationalities = [...Se.values()], n.value.positions = [...ke.values()], c.value.min = n.value.minAge, c.value.max = n.value.maxAge;
6620
+ }), n.value.minAge = Math.min(...B), n.value.maxAge = Math.max(...B), n.value.availableYears = [...R].sort((le, Me) => Me - le), h.value = n.value.availableYears[0], n.value.nationalities = [...Se.values()], n.value.positions = [...ke.values()], c.value.min = n.value.minAge, c.value.max = n.value.maxAge;
6609
6621
  }
6610
6622
  } catch (R) {
6611
6623
  throw new Error(R);
@@ -6689,11 +6701,11 @@ const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "pers
6689
6701
  onInput: $
6690
6702
  }, null, 8, ["min-limit", "max-limit", "min-value", "max-value"])
6691
6703
  ], 512), [
6692
- [de, d.value === 0]
6704
+ [ce, d.value === 0]
6693
6705
  ]),
6694
6706
  ie(r("div", pc, [
6695
6707
  vc,
6696
- L(D(Xe), Le({ "model-value": h.value }, v.value, {
6708
+ L(D(Xe), Le({ "model-value": h.value }, m.value, {
6697
6709
  items: n.value.availableYears,
6698
6710
  onInput: we
6699
6711
  }), {
@@ -6706,7 +6718,7 @@ const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "pers
6706
6718
  _: 1
6707
6719
  }, 16, ["model-value", "items"])
6708
6720
  ], 512), [
6709
- [de, d.value === 1]
6721
+ [ce, d.value === 1]
6710
6722
  ])
6711
6723
  ]),
6712
6724
  hc,
@@ -6722,7 +6734,7 @@ const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "pers
6722
6734
  r("div", Sc, [
6723
6735
  n.value.isEligibilitySelected ? (f(), p(V, { key: 1 }, [
6724
6736
  Cc,
6725
- L(D(Xe), Le(v.value, {
6737
+ L(D(Xe), Le(m.value, {
6726
6738
  "is-multiple-option": "",
6727
6739
  items: n.value.eligibility,
6728
6740
  "is-disabled": ""
@@ -6745,7 +6757,7 @@ const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "pers
6745
6757
  }, 16, ["items"])
6746
6758
  ], 64)) : (f(), p(V, { key: 0 }, [
6747
6759
  kc,
6748
- L(D(Xe), Le(v.value, {
6760
+ L(D(Xe), Le(m.value, {
6749
6761
  "is-multiple-option": "",
6750
6762
  items: g.value
6751
6763
  }), {
@@ -6769,16 +6781,16 @@ const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "pers
6769
6781
  ]),
6770
6782
  r("div", wc, [
6771
6783
  Oc,
6772
- L(D(Xe), Le(v.value, {
6784
+ L(D(Xe), Le(m.value, {
6773
6785
  "is-multiple-option": "",
6774
6786
  items: S.value
6775
6787
  }), {
6776
6788
  default: se(() => [
6777
6789
  r("div", Ic, [
6778
6790
  e.isFemale ? (f(), p(V, { key: 0 }, [
6779
- ot(A(m.value.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva")), 1)
6791
+ ot(A(v.value.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva")), 1)
6780
6792
  ], 64)) : (f(), p(V, { key: 1 }, [
6781
- ot(A(m.value), 1)
6793
+ ot(A(v.value), 1)
6782
6794
  ], 64))
6783
6795
  ])
6784
6796
  ]),
@@ -6799,7 +6811,7 @@ const dt = (e) => (me("data-v-102c8460"), e = e(), he(), e), dc = { class: "pers
6799
6811
  ])
6800
6812
  ]));
6801
6813
  }
6802
- }, Fc = /* @__PURE__ */ te(Mc, [["__scopeId", "data-v-102c8460"]]);
6814
+ }, Fc = /* @__PURE__ */ te(Mc, [["__scopeId", "data-v-a18dafe7"]]);
6803
6815
  const Dc = { class: "plays" }, Bc = { class: "plays__body__offensive" }, Ac = { class: "plays__body__title" }, zc = { class: "number-of-categories" }, Hc = { class: "plays__body__categories" }, Ec = { class: "plays__body__defensive-possession-offenses" }, jc = { class: "plays__body__title" }, Nc = { class: "number-of-categories" }, Gc = { class: "plays__body__categories" }, Rc = { class: "plays__body__title" }, Jc = { class: "number-of-categories" }, Xc = { class: "plays__body__categories" }, Zc = { class: "plays__body__title" }, _c = { class: "number-of-categories" }, Yc = { class: "plays__body__categories" }, Vc = {
6804
6816
  __name: "TemplatePlays",
6805
6817
  props: {
@@ -6823,11 +6835,11 @@ const Dc = { class: "plays" }, Bc = { class: "plays__body__offensive" }, Ac = {
6823
6835
  setup(e) {
6824
6836
  const i = e, t = w(!1), a = w(!1), o = w(!1), s = w(!1), n = H(() => ({
6825
6837
  "--template-columns": i.isExpansionMode ? "1fr" : "1fr 1fr"
6826
- })), l = H(() => i.playsCategories.offensive.categories.reduce((h, k) => (k.isSelected && h++, h), 0)), d = H(() => i.playsCategories.defensive.categories.reduce((h, k) => (k.isSelected && h++, h), 0)), c = H(() => i.playsCategories.possession.categories.reduce((h, k) => (k.isSelected && h++, h), 0)), v = H(() => i.playsCategories.offenses.categories.reduce((h, k) => (k.isSelected && h++, h), 0));
6838
+ })), l = H(() => i.playsCategories.offensive.categories.reduce((h, k) => (k.isSelected && h++, h), 0)), d = H(() => i.playsCategories.defensive.categories.reduce((h, k) => (k.isSelected && h++, h), 0)), c = H(() => i.playsCategories.possession.categories.reduce((h, k) => (k.isSelected && h++, h), 0)), m = H(() => i.playsCategories.offenses.categories.reduce((h, k) => (k.isSelected && h++, h), 0));
6827
6839
  function u(h, k) {
6828
6840
  k.isSelected = h;
6829
6841
  }
6830
- function m(h) {
6842
+ function v(h) {
6831
6843
  h === "offensive" ? t.value = !t.value : h === "defensive" ? a.value = !a.value : h === "possession" ? o.value = !o.value : h === "offenses" && (s.value = !s.value);
6832
6844
  }
6833
6845
  return (h, k) => (f(), p("div", Dc, [
@@ -6839,17 +6851,17 @@ const Dc = { class: "plays" }, Bc = { class: "plays__body__offensive" }, Ac = {
6839
6851
  r("div", Ac, [
6840
6852
  r("div", {
6841
6853
  class: "plays__body__title__info",
6842
- onClick: k[0] || (k[0] = (g) => m("offensive"))
6854
+ onClick: k[0] || (k[0] = (g) => v("offensive"))
6843
6855
  }, [
6844
6856
  r("span", null, A(e.playsCategories.offensive.title), 1),
6845
6857
  r("span", zc, "(" + A(l.value) + ")", 1)
6846
6858
  ]),
6847
6859
  r("div", {
6848
6860
  class: "plays__body__title__expand-button",
6849
- onClick: k[1] || (k[1] = (g) => m("offensive"))
6861
+ onClick: k[1] || (k[1] = (g) => v("offensive"))
6850
6862
  }, [
6851
6863
  ie(L(at, { "is-expanded": t.value }, null, 8, ["is-expanded"]), [
6852
- [de, e.isExpansionMode]
6864
+ [ce, e.isExpansionMode]
6853
6865
  ])
6854
6866
  ])
6855
6867
  ]),
@@ -6868,24 +6880,24 @@ const Dc = { class: "plays" }, Bc = { class: "plays__body__offensive" }, Ac = {
6868
6880
  }, null, 8, ["label", "fontFamily", "model-value", "box-value", "onUpdate:modelValue"])
6869
6881
  ]))), 128))
6870
6882
  ], 512), [
6871
- [de, !e.isExpansionMode || t.value]
6883
+ [ce, !e.isExpansionMode || t.value]
6872
6884
  ])
6873
6885
  ]),
6874
6886
  r("div", Ec, [
6875
6887
  r("div", jc, [
6876
6888
  r("div", {
6877
6889
  class: "plays__body__title__info",
6878
- onClick: k[2] || (k[2] = (g) => m("defensive"))
6890
+ onClick: k[2] || (k[2] = (g) => v("defensive"))
6879
6891
  }, [
6880
6892
  r("span", null, A(e.playsCategories.defensive.title), 1),
6881
6893
  r("span", Nc, "(" + A(d.value) + ")", 1)
6882
6894
  ]),
6883
6895
  r("div", {
6884
6896
  class: "plays__body__title__expand-button",
6885
- onClick: k[3] || (k[3] = (g) => m("defensive"))
6897
+ onClick: k[3] || (k[3] = (g) => v("defensive"))
6886
6898
  }, [
6887
6899
  ie(L(at, { "is-expanded": a.value }, null, 8, ["is-expanded"]), [
6888
- [de, e.isExpansionMode]
6900
+ [ce, e.isExpansionMode]
6889
6901
  ])
6890
6902
  ])
6891
6903
  ]),
@@ -6904,22 +6916,22 @@ const Dc = { class: "plays" }, Bc = { class: "plays__body__offensive" }, Ac = {
6904
6916
  }, null, 8, ["label", "fontFamily", "model-value", "box-value", "onUpdate:modelValue"])
6905
6917
  ]))), 128))
6906
6918
  ], 512), [
6907
- [de, !e.isExpansionMode || a.value]
6919
+ [ce, !e.isExpansionMode || a.value]
6908
6920
  ]),
6909
6921
  r("div", Rc, [
6910
6922
  r("div", {
6911
6923
  class: "plays__body__title__info",
6912
- onClick: k[4] || (k[4] = (g) => m("possession"))
6924
+ onClick: k[4] || (k[4] = (g) => v("possession"))
6913
6925
  }, [
6914
6926
  r("span", null, A(e.playsCategories.possession.title), 1),
6915
6927
  r("span", Jc, "(" + A(c.value) + ")", 1)
6916
6928
  ]),
6917
6929
  r("div", {
6918
6930
  class: "plays__body__title__expand-button",
6919
- onClick: k[5] || (k[5] = (g) => m("possession"))
6931
+ onClick: k[5] || (k[5] = (g) => v("possession"))
6920
6932
  }, [
6921
6933
  ie(L(at, { "is-expanded": o.value }, null, 8, ["is-expanded"]), [
6922
- [de, e.isExpansionMode]
6934
+ [ce, e.isExpansionMode]
6923
6935
  ])
6924
6936
  ])
6925
6937
  ]),
@@ -6938,22 +6950,22 @@ const Dc = { class: "plays" }, Bc = { class: "plays__body__offensive" }, Ac = {
6938
6950
  }, null, 8, ["label", "fontFamily", "model-value", "box-value", "onUpdate:modelValue"])
6939
6951
  ]))), 128))
6940
6952
  ], 512), [
6941
- [de, !e.isExpansionMode || o.value]
6953
+ [ce, !e.isExpansionMode || o.value]
6942
6954
  ]),
6943
6955
  r("div", Zc, [
6944
6956
  r("div", {
6945
6957
  class: "plays__body__title__info",
6946
- onClick: k[6] || (k[6] = (g) => m("offenses"))
6958
+ onClick: k[6] || (k[6] = (g) => v("offenses"))
6947
6959
  }, [
6948
6960
  r("span", null, A(e.playsCategories.offenses.title), 1),
6949
- r("span", _c, "(" + A(v.value) + ")", 1)
6961
+ r("span", _c, "(" + A(m.value) + ")", 1)
6950
6962
  ]),
6951
6963
  r("div", {
6952
6964
  class: "plays__body__title__expand-button",
6953
- onClick: k[7] || (k[7] = (g) => m("offenses"))
6965
+ onClick: k[7] || (k[7] = (g) => v("offenses"))
6954
6966
  }, [
6955
6967
  ie(L(at, { "is-expanded": s.value }, null, 8, ["is-expanded"]), [
6956
- [de, e.isExpansionMode]
6968
+ [ce, e.isExpansionMode]
6957
6969
  ])
6958
6970
  ])
6959
6971
  ]),
@@ -6972,7 +6984,7 @@ const Dc = { class: "plays" }, Bc = { class: "plays__body__offensive" }, Ac = {
6972
6984
  }, null, 8, ["label", "fontFamily", "model-value", "box-value", "onUpdate:modelValue"])
6973
6985
  ]))), 128))
6974
6986
  ], 512), [
6975
- [de, !e.isExpansionMode || s.value]
6987
+ [ce, !e.isExpansionMode || s.value]
6976
6988
  ])
6977
6989
  ])
6978
6990
  ], 4)
@@ -7523,181 +7535,85 @@ const Kc = {
7523
7535
  offensive: {
7524
7536
  title: "Ofensivo",
7525
7537
  categories: [
7526
- {
7527
- name: "Goles",
7528
- isSelected: !0,
7529
- id: 1
7530
- },
7531
- {
7532
- name: "Cobros de Corner",
7533
- isSelected: !0,
7534
- id: 2
7535
- },
7536
- {
7537
- name: "Asistencias",
7538
- isSelected: !0,
7539
- id: 3
7540
- },
7541
- {
7542
- name: "Participación en goles",
7543
- isSelected: !0,
7544
- id: 4
7545
- },
7546
- {
7547
- name: "Tiros a gol",
7548
- isSelected: !0,
7549
- id: 5
7550
- },
7551
- {
7552
- name: "Tiros a destino",
7553
- isSelected: !0,
7554
- id: 6
7555
- },
7556
- {
7557
- name: "Tiros a gol › Cabeza",
7558
- isSelected: !0,
7559
- id: 7
7560
- },
7561
- {
7562
- name: "Centros",
7563
- isSelected: !0,
7564
- id: 8
7565
- },
7566
- {
7567
- name: "Centros › A destino",
7568
- isSelected: !0,
7569
- id: 9
7570
- },
7571
- {
7572
- name: "Regates › Acertados",
7573
- isSelected: !0,
7574
- id: 10
7575
- },
7576
- {
7577
- name: "Orígenes de gol › 1vs1 exitoso ofensivo",
7578
- isSelected: !0,
7579
- id: 11
7580
- },
7581
- {
7582
- name: "Gran ocasión",
7583
- isSelected: !0,
7584
- id: 12
7585
- },
7586
- {
7587
- name: "Proveniente de córner",
7588
- isSelected: !0,
7589
- id: 13
7590
- },
7591
- {
7592
- name: "Proveniente de balón parado",
7593
- isSelected: !0,
7594
- id: 14
7595
- },
7596
- {
7597
- name: "Proveniente de saque de banda táctico",
7598
- isSelected: !0,
7599
- id: 15
7600
- },
7601
- {
7602
- name: "Proveniente de centro",
7603
- isSelected: !0,
7604
- id: 16
7605
- }
7538
+ { name: "Goles", isSelected: !0, id: 1 },
7539
+ // Opta 393
7540
+ { name: "Cobros de córner", isSelected: !0, id: 3 },
7541
+ // Opta 927
7542
+ { name: "Asistencias", isSelected: !0, id: 5 },
7543
+ // Opta 447
7544
+ { name: "Participación en goles", isSelected: !0, id: 6 },
7545
+ // Opta 472
7546
+ { name: "Tiros a gol", isSelected: !0, id: 7 },
7547
+ // Opta 55
7548
+ { name: "Tiros a destino", isSelected: !0, id: 8 },
7549
+ // Opta 389
7550
+ { name: "Tiros a gol de Cabeza", isSelected: !0, id: 9 },
7551
+ // Opta 194
7552
+ { name: "Centros", isSelected: !0, id: 10 },
7553
+ // Opta 454
7554
+ { name: "Centros a destino", isSelected: !0, id: 11 },
7555
+ // Opta 1036
7556
+ { name: "Regates acertados", isSelected: !0, id: 12 },
7557
+ // Opta 470
7558
+ { name: "Origenes de gol regates acertados", isSelected: !0, id: 13 },
7559
+ // Opta 996
7560
+ { name: "Gran ocasión", isSelected: !0, id: 22 },
7561
+ // Opta 1075
7562
+ { name: "Proveniente de córner", isSelected: !0, id: 29 },
7563
+ // Opta 1233
7564
+ { name: "Proveniente de balón parado", isSelected: !0, id: 30 },
7565
+ // Opta 1237
7566
+ { name: "Proveniente de saque de banda táctico", isSelected: !0, id: 31 },
7567
+ // Opta 1241
7568
+ { name: "Proveniente de centro", isSelected: !0, id: 32 }
7569
+ // Opta 1378
7606
7570
  ]
7607
7571
  },
7608
7572
  defensive: {
7609
7573
  title: "Defensivo",
7610
7574
  categories: [
7611
- {
7612
- name: "Duelos defensivos ganados",
7613
- isSelected: !0,
7614
- id: 17
7615
- },
7616
- {
7617
- name: "Despejes",
7618
- isSelected: !0,
7619
- id: 18
7620
- },
7621
- {
7622
- name: "Despejes › De cabeza",
7623
- isSelected: !0,
7624
- id: 19
7625
- },
7626
- {
7627
- name: "Intercepciones",
7628
- isSelected: !0,
7629
- id: 20
7630
- },
7631
- {
7632
- name: "Duelos aéreos ganados",
7633
- isSelected: !0,
7634
- id: 21
7635
- },
7636
- {
7637
- name: "Duelos aéreos ganados en área propia",
7638
- isSelected: !0,
7639
- id: 22
7640
- },
7641
- {
7642
- name: "Paradas del portero",
7643
- isSelected: !0,
7644
- id: 23
7645
- }
7575
+ { name: "Duelos defensivos ganados", isSelected: !0, id: 14 },
7576
+ // Opta 866
7577
+ { name: "Despejes", isSelected: !0, id: 15 },
7578
+ // Opta 873
7579
+ { name: "Despejes de cabeza", isSelected: !0, id: 27 },
7580
+ // Opta 874
7581
+ { name: "Intercepciones", isSelected: !0, id: 25 },
7582
+ // Opta 871
7583
+ { name: "Duelos aéreos ganados", isSelected: !0, id: 24 },
7584
+ // Opta 38
7585
+ { name: "Duelos aéreos ganados en área propia", isSelected: !0, id: 16 },
7586
+ // Opta 1383
7587
+ { name: "Paradas del Portero", isSelected: !0, id: 21 }
7588
+ // Opta 893
7646
7589
  ]
7647
7590
  },
7648
7591
  possession: {
7649
7592
  title: "Posesión",
7650
7593
  categories: [
7651
- {
7652
- name: "Pases acertados",
7653
- isSelected: !0,
7654
- id: 24
7655
- },
7656
- {
7657
- name: "Recuperaciones de balón",
7658
- isSelected: !0,
7659
- id: 25
7660
- },
7661
- {
7662
- name: "Pases › Balón largo",
7663
- isSelected: !0,
7664
- id: 26
7665
- },
7666
- {
7667
- name: "Pases › Pase de cabeza",
7668
- isSelected: !0,
7669
- id: 27
7670
- },
7671
- {
7672
- name: "Pase filtrado",
7673
- isSelected: !0,
7674
- id: 28
7675
- }
7594
+ { name: "Pases acertados", isSelected: !0, id: 2 },
7595
+ // Opta 2
7596
+ { name: "Recuperaciones de balón", isSelected: !0, id: 4 },
7597
+ // Opta 46
7598
+ { name: "Pases balón largo", isSelected: !0, id: 26 },
7599
+ // Opta 12
7600
+ { name: "Pases pase de cabeza", isSelected: !0, id: 28 },
7601
+ // Opta 13
7602
+ { name: "Pase filtrado", isSelected: !0, id: 23 }
7603
+ // Opta 33
7676
7604
  ]
7677
7605
  },
7678
7606
  offenses: {
7679
7607
  title: "Infracciones",
7680
7608
  categories: [
7681
- {
7682
- name: "Faltas cometidas",
7683
- isSelected: !0,
7684
- id: 29
7685
- },
7686
- {
7687
- name: "Faltas recibidas",
7688
- isSelected: !0,
7689
- id: 30
7690
- },
7691
- {
7692
- name: "Tarjetas amarillas",
7693
- isSelected: !0,
7694
- id: 31
7695
- },
7696
- {
7697
- name: "Tarjetas rojas",
7698
- isSelected: !0,
7699
- id: 32
7700
- }
7609
+ { name: "Faltas cometidas", isSelected: !0, id: 17 },
7610
+ // Opta 971
7611
+ { name: "Faltas recibidas", isSelected: !0, id: 18 },
7612
+ // Opta 984
7613
+ { name: "Tarjetas amarillas", isSelected: !0, id: 19 },
7614
+ // Opta 985
7615
+ { name: "Tarjetas rojas", isSelected: !0, id: 20 }
7616
+ // Opta 986
7701
7617
  ]
7702
7618
  }
7703
7619
  }, eu = {
@@ -8607,10 +8523,10 @@ const oa = (e) => (me("data-v-b747abbd"), e = e(), he(), e), Bu = { class: "cont
8607
8523
  function c(u) {
8608
8524
  s.value = u;
8609
8525
  }
8610
- function v(u) {
8526
+ function m(u) {
8611
8527
  n.value = u;
8612
8528
  }
8613
- return (u, m) => (f(), p(V, null, [
8529
+ return (u, v) => (f(), p(V, null, [
8614
8530
  r("div", Bu, [
8615
8531
  r("div", Au, [
8616
8532
  r("div", zu, [
@@ -8652,7 +8568,7 @@ const oa = (e) => (me("data-v-b747abbd"), e = e(), he(), e), Bu = { class: "cont
8652
8568
  s.value && s.value.arrayGames ? (f(), p("div", Wu, [
8653
8569
  L(sa, {
8654
8570
  items: s.value.arrayGames,
8655
- onInput: v
8571
+ onInput: m
8656
8572
  }, null, 8, ["items"])
8657
8573
  ])) : T("", !0)
8658
8574
  ])
@@ -8719,11 +8635,11 @@ const l0 = { class: "advanced-filters" }, d0 = { class: "advanced-filters__butto
8719
8635
  },
8720
8636
  setup(e) {
8721
8637
  const i = e, t = na(
8722
- () => import("./FilterSubcategories-9d8abc8b.js")
8638
+ () => import("./FilterSubcategories-1640fee4.js")
8723
8639
  ), a = na(
8724
- () => import("./FilterConditions-019536c4.js")
8640
+ () => import("./FilterConditions-b0597311.js")
8725
8641
  ), o = na(
8726
- () => import("./FilterField-bf053092.js")
8642
+ () => import("./FilterField-f5bc7f5e.js")
8727
8643
  ), s = [
8728
8644
  {
8729
8645
  name: "Sub categorías",
@@ -8741,13 +8657,13 @@ const l0 = { class: "advanced-filters" }, d0 = { class: "advanced-filters__butto
8741
8657
  function d(c) {
8742
8658
  n.value = c;
8743
8659
  }
8744
- return (c, v) => (f(), p("div", l0, [
8660
+ return (c, m) => (f(), p("div", l0, [
8745
8661
  r("div", d0, [
8746
8662
  (f(), p(V, null, ne(s, (u) => r("div", {
8747
8663
  key: u.name,
8748
8664
  role: "button",
8749
8665
  class: be(["advanced-filters__buttons__button", { active: n.value.name === u.name }]),
8750
- onClick: (m) => d(u)
8666
+ onClick: (v) => d(u)
8751
8667
  }, A(u.name), 11, c0)), 64))
8752
8668
  ]),
8753
8669
  r("div", u0, [
@@ -8797,8 +8713,8 @@ const ct = (e) => (me("data-v-0f866dba"), e = e(), he(), e), p0 = { class: "cont
8797
8713
  fontColor: "#132634"
8798
8714
  }, o = w(null), s = w(null);
8799
8715
  w(null);
8800
- const n = w(null), l = w(null), d = w(null), c = w(null), v = w(!0), u = H(() => d.value ? d.value.position_id === 1 ? t.advancedFilterCategories.goalkeeper : t.advancedFilterCategories.player : []);
8801
- function m(P) {
8716
+ const n = w(null), l = w(null), d = w(null), c = w(null), m = w(!0), u = H(() => d.value ? d.value.position_id === 1 ? t.advancedFilterCategories.goalkeeper : t.advancedFilterCategories.player : []);
8717
+ function v(P) {
8802
8718
  o.value = P, i("update:tournament", P);
8803
8719
  }
8804
8720
  function h(P) {
@@ -8825,7 +8741,7 @@ const ct = (e) => (me("data-v-0f866dba"), e = e(), he(), e), p0 = { class: "cont
8825
8741
  L(Ae, {
8826
8742
  items: e.tournaments,
8827
8743
  itemTextKey: "name",
8828
- onInput: m
8744
+ onInput: v
8829
8745
  }, null, 8, ["items"])
8830
8746
  ])
8831
8747
  ])
@@ -8891,8 +8807,8 @@ const ct = (e) => (me("data-v-0f866dba"), e = e(), he(), e), p0 = { class: "cont
8891
8807
  j0,
8892
8808
  r("div", N0, [
8893
8809
  L(zt, {
8894
- modelValue: v.value,
8895
- "onUpdate:modelValue": j[0] || (j[0] = (W) => v.value = W)
8810
+ modelValue: m.value,
8811
+ "onUpdate:modelValue": j[0] || (j[0] = (W) => m.value = W)
8896
8812
  }, null, 8, ["modelValue"])
8897
8813
  ])
8898
8814
  ])
@@ -8942,11 +8858,11 @@ const Ct = (e) => (me("data-v-3622a398"), e = e(), he(), e), Z0 = { class: "cont
8942
8858
  fontColor: "#132634"
8943
8859
  }, o = w(null), s = w(null);
8944
8860
  w(null);
8945
- const n = w(null), l = w(null), d = w(null), c = w(!0), v = H(() => t.advancedFilterCategories.team);
8861
+ const n = w(null), l = w(null), d = w(null), c = w(!0), m = H(() => t.advancedFilterCategories.team);
8946
8862
  function u(S) {
8947
8863
  o.value = S, i("update:tournament", S);
8948
8864
  }
8949
- function m(S) {
8865
+ function v(S) {
8950
8866
  s.value = S, i("update:season", S);
8951
8867
  }
8952
8868
  function h(S) {
@@ -8979,7 +8895,7 @@ const Ct = (e) => (me("data-v-3622a398"), e = e(), he(), e), Z0 = { class: "cont
8979
8895
  L(Ae, {
8980
8896
  items: o.value.seasons,
8981
8897
  itemTextKey: "name",
8982
- onInput: m
8898
+ onInput: v
8983
8899
  }, null, 8, ["items"])
8984
8900
  ])) : T("", !0)
8985
8901
  ]),
@@ -9010,7 +8926,7 @@ const Ct = (e) => (me("data-v-3622a398"), e = e(), he(), e), Z0 = { class: "cont
9010
8926
  df,
9011
8927
  r("div", cf, [
9012
8928
  L(Ae, {
9013
- items: v.value,
8929
+ items: m.value,
9014
8930
  itemTextKey: "name",
9015
8931
  "is-list-same-width": !1,
9016
8932
  onInput: g
@@ -9073,11 +8989,11 @@ const Lt = (e) => (me("data-v-edabdfc6"), e = e(), he(), e), bf = { class: "cont
9073
8989
  backgroundColor: "#CBEE6B",
9074
8990
  borderColor: "#CBEE6B",
9075
8991
  fontColor: "#132634"
9076
- }, o = w(null), s = w(null), n = w(null), l = w(null), d = w(null), c = w(!0), v = H(() => t.advancedFilterCategories.games);
8992
+ }, o = w(null), s = w(null), n = w(null), l = w(null), d = w(null), c = w(!0), m = H(() => t.advancedFilterCategories.games);
9077
8993
  function u(S) {
9078
8994
  o.value = S, i("update:tournament", S);
9079
8995
  }
9080
- function m(S) {
8996
+ function v(S) {
9081
8997
  s.value = S, i("update:season", S);
9082
8998
  }
9083
8999
  function h(S) {
@@ -9110,7 +9026,7 @@ const Lt = (e) => (me("data-v-edabdfc6"), e = e(), he(), e), bf = { class: "cont
9110
9026
  L(Ae, {
9111
9027
  items: o.value.seasons,
9112
9028
  itemTextKey: "name",
9113
- onInput: m
9029
+ onInput: v
9114
9030
  }, null, 8, ["items"])
9115
9031
  ])) : T("", !0)
9116
9032
  ]),
@@ -9141,7 +9057,7 @@ const Lt = (e) => (me("data-v-edabdfc6"), e = e(), he(), e), bf = { class: "cont
9141
9057
  Hf,
9142
9058
  r("div", Ef, [
9143
9059
  L(Ae, {
9144
- items: v.value,
9060
+ items: m.value,
9145
9061
  itemTextKey: "name",
9146
9062
  "is-list-same-width": !1,
9147
9063
  onInput: g
@@ -9213,7 +9129,7 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9213
9129
  activeBorderColor: "#CBEE6B",
9214
9130
  fontSize: "11px",
9215
9131
  fontColor: "#FFFFFF"
9216
- }, v = [], u = ["g-23", "g-24", "g-25"], m = w(_t), h = {
9132
+ }, m = [], u = ["g-23", "g-24", "g-25"], v = w(_t), h = {
9217
9133
  player: 1,
9218
9134
  team: 2,
9219
9135
  goalkeeper: 3
@@ -9223,7 +9139,7 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9223
9139
  () => t.providerId,
9224
9140
  (M) => {
9225
9141
  k = du(M).then((F) => {
9226
- m.value = F;
9142
+ v.value = F;
9227
9143
  });
9228
9144
  },
9229
9145
  { immediate: !0 }
@@ -9295,9 +9211,9 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9295
9211
  const Z = {
9296
9212
  Authorization: Ii() || t.token
9297
9213
  }, {
9298
- data: { data: le, teams: ae }
9214
+ data: { data: de, teams: ae }
9299
9215
  } = await Ue.get(X, { headers: Z });
9300
- return { seasonsAndGames: le, seasonsAndTeams: ae };
9216
+ return { seasonsAndGames: de, seasonsAndTeams: ae };
9301
9217
  } catch (Z) {
9302
9218
  if (F > 0)
9303
9219
  return E(M, F - 1, X);
@@ -9335,7 +9251,7 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9335
9251
  id: Y.team_id
9336
9252
  }), ae.set(Y.team_id, Y), ae), /* @__PURE__ */ new Map());
9337
9253
  W.value = P.value.arrayTeams[0], P.value.mapGames = /* @__PURE__ */ new Map(), P.value.mapGamesByTeam = /* @__PURE__ */ new Map();
9338
- const le = Array.from(
9254
+ const de = Array.from(
9339
9255
  F.reduce((ae, Y) => (Y.games.forEach((O) => {
9340
9256
  if (O.game_status === 1 && O.has_video) {
9341
9257
  (!P.value.maxGameId || O.game_id > P.value.maxGameId) && (P.value.maxGameId = O.game_id);
@@ -9369,9 +9285,9 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9369
9285
  }
9370
9286
  }), ae), /* @__PURE__ */ new Map()).values()
9371
9287
  );
9372
- le.reverse(), le.forEach((ae) => {
9288
+ de.reverse(), de.forEach((ae) => {
9373
9289
  ae.arrayGames.sort((Y, O) => Y.numberDateTimeMillis - O.numberDateTimeMillis);
9374
- }), P.value.arrayMatchDays = le, ue.value = le[0] || {};
9290
+ }), P.value.arrayMatchDays = de, ue.value = de[0] || {};
9375
9291
  } catch (F) {
9376
9292
  throw new Error(F);
9377
9293
  }
@@ -9436,7 +9352,7 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9436
9352
  isEmpty: !1
9437
9353
  }
9438
9354
  );
9439
- const J = /* @__PURE__ */ new Map(), X = "Resumen", Z = "Todas sus jugadas", le = $.value.player.reduce(
9355
+ const J = /* @__PURE__ */ new Map(), X = "Resumen", Z = "Todas sus jugadas", de = $.value.player.reduce(
9440
9356
  (Y, O) => {
9441
9357
  const Q = ke(O);
9442
9358
  return Q.forEach((oe) => {
@@ -9455,27 +9371,27 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9455
9371
  );
9456
9372
  $.value.games.unshift({
9457
9373
  name: X,
9458
- arrayCategoriesIds: m.value.games,
9374
+ arrayCategoriesIds: v.value.games,
9459
9375
  booleanIsBestPlays: !0
9460
9376
  }), $.value.team.unshift({
9461
9377
  name: X,
9462
- arrayCategoriesIds: m.value.team,
9378
+ arrayCategoriesIds: v.value.team,
9463
9379
  booleanIsBestPlays: !0
9464
9380
  }), $.value.player.unshift(
9465
9381
  {
9466
9382
  name: X,
9467
- arrayCategoriesIds: m.value.player.regular,
9383
+ arrayCategoriesIds: v.value.player.regular,
9468
9384
  booleanIsBestPlays: !0
9469
9385
  },
9470
9386
  {
9471
9387
  name: Z,
9472
- arrayCategoriesIds: le,
9388
+ arrayCategoriesIds: de,
9473
9389
  booleanIsMinutesPlayed: !0
9474
9390
  }
9475
9391
  ), $.value.goalkeeper.unshift(
9476
9392
  {
9477
9393
  name: X,
9478
- arrayCategoriesIds: m.value.player.goalkeeper,
9394
+ arrayCategoriesIds: v.value.player.goalkeeper,
9479
9395
  booleanIsBestPlays: !0
9480
9396
  },
9481
9397
  {
@@ -9489,12 +9405,12 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9489
9405
  throw new Error(M);
9490
9406
  }
9491
9407
  }
9492
- function Se(M, F = 0, J = /* @__PURE__ */ new Map(), X = !1, Z = {}, le = []) {
9408
+ function Se(M, F = 0, J = /* @__PURE__ */ new Map(), X = !1, Z = {}, de = []) {
9493
9409
  if (!M.group_id)
9494
9410
  return;
9495
9411
  let ae = J.get(F);
9496
9412
  const Y = X ? `${M.id_category}_r` : M.id_category;
9497
- M.id_category && le.push(M.id_category);
9413
+ M.id_category && de.push(M.id_category);
9498
9414
  let O = {
9499
9415
  ids: [Y],
9500
9416
  groupId: M.group_id,
@@ -9510,7 +9426,7 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9510
9426
  const Q = M.group_id.charAt(M.group_id.length - 1), oe = ae.find(
9511
9427
  (C) => C.groupId.endsWith(Q)
9512
9428
  );
9513
- oe && !v.includes(O.groupId) ? (O = oe, oe.ids.push(Y), oe.fatherCategories.push(Z), oe.fatherCategories.forEach((C) => {
9429
+ oe && !m.includes(O.groupId) ? (O = oe, oe.ids.push(Y), oe.fatherCategories.push(Z), oe.fatherCategories.forEach((C) => {
9514
9430
  C.childCategories ? C.childCategories.find(
9515
9431
  (K) => K.groupId === O.groupId
9516
9432
  ) || C.childCategories.push(O) : C.childCategories = [O];
@@ -9528,7 +9444,7 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9528
9444
  J,
9529
9445
  X,
9530
9446
  O,
9531
- le
9447
+ de
9532
9448
  );
9533
9449
  }) : M.rival_categories && M.rival_categories.length && M.rival_categories.forEach((Q) => {
9534
9450
  Se(
@@ -9537,7 +9453,7 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9537
9453
  J,
9538
9454
  !0,
9539
9455
  O,
9540
- le
9456
+ de
9541
9457
  );
9542
9458
  }), F === 0)
9543
9459
  return Array.from(J.values());
@@ -9548,7 +9464,7 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9548
9464
  return F.arrayCategoriesIds;
9549
9465
  const J = { total: [], toRemove: [] };
9550
9466
  if (F.subcategoryGroups && F.subcategoryGroups.length ? F.subcategoryGroups[0].forEach((Z) => {
9551
- ce(Z, null, J);
9467
+ le(Z, null, J);
9552
9468
  }) : (F.ids && J.total.push(...F.ids), F.rival_ids && F.rival_ids.forEach((X) => {
9553
9469
  J.total.push(`${X}_r`);
9554
9470
  })), J.total = J.total.reduce((X, Z) => (J.toRemove.includes(Z) || X.push(Z), X), []), !M) {
@@ -9557,19 +9473,19 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9557
9473
  }
9558
9474
  return J.total;
9559
9475
  }
9560
- function ce(M, F = [], J = { total: [], toRemove: [] }) {
9476
+ function le(M, F = [], J = { total: [], toRemove: [] }) {
9561
9477
  M.isSelected ? M.childCategories ? M.childCategories.forEach((X) => {
9562
- const Z = F ? Object.entries(M.idsByFatherCategory).reduce((le, [ae, Y]) => (F.includes(Number(ae)) && Y.forEach((O) => {
9563
- typeof O == "string" && O.endsWith("_r") ? le.push(Number(O.split("_")[0])) : le.push(O);
9564
- }), le), []) : [M.id];
9565
- ce(X, Z, J);
9478
+ const Z = F ? Object.entries(M.idsByFatherCategory).reduce((de, [ae, Y]) => (F.includes(Number(ae)) && Y.forEach((O) => {
9479
+ typeof O == "string" && O.endsWith("_r") ? de.push(Number(O.split("_")[0])) : de.push(O);
9480
+ }), de), []) : [M.id];
9481
+ le(X, Z, J);
9566
9482
  }) : F ? Object.entries(M.idsByFatherCategory).forEach(([X, Z]) => {
9567
- F.includes(Number(X)) && Z.forEach((le) => {
9568
- J.total.push(le);
9483
+ F.includes(Number(X)) && Z.forEach((de) => {
9484
+ J.total.push(de);
9569
9485
  });
9570
9486
  }) : M.level === 1 ? Object.entries(M.idsByFatherCategory).forEach(([X, Z]) => {
9571
- Z.forEach((le) => {
9572
- J.total.push(le);
9487
+ Z.forEach((de) => {
9488
+ J.total.push(de);
9573
9489
  });
9574
9490
  }) : J.total.push(M.id) : M.childCategories || M.ids.forEach((X) => {
9575
9491
  J.toRemove.push(X);
@@ -9581,9 +9497,9 @@ const _f = { class: "template-videos" }, Yf = { class: "template-videos__header"
9581
9497
  seasonId: M
9582
9498
  });
9583
9499
  return F.forEach((J) => {
9584
- const [X, Z] = J.player_name.split(","), le = X.split(" ");
9500
+ const [X, Z] = J.player_name.split(","), de = X.split(" ");
9585
9501
  let ae = "";
9586
- for (const Y of le)
9502
+ for (const Y of de)
9587
9503
  if (ae += ` ${Y}`, Y.length > 3)
9588
9504
  break;
9589
9505
  J.shortName = Z && X ? `${Z.trim().charAt(0)}.${ae}` : "";
@@ -9710,14 +9626,14 @@ const Kf = { class: "template-taken-corners" }, $f = { class: "template-taken-co
9710
9626
  a.providerId
9711
9627
  );
9712
9628
  }
9713
- function v(g) {
9629
+ function m(g) {
9714
9630
  let S = !1;
9715
9631
  return g.split(" ").reduce((P, j) => (S || (j.length > 3 ? (P = j, S = !0) : P += `${j} `), P), "").trim();
9716
9632
  }
9717
9633
  function u(g) {
9718
- return `${v(g.last_name)}, ${g.first_name.trim()}`;
9634
+ return `${m(g.last_name)}, ${g.first_name.trim()}`;
9719
9635
  }
9720
- function m(g) {
9636
+ function v(g) {
9721
9637
  return a.isFemale ? Ti.get(g.positions[0]).replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : Ti.get(g.positions[0]);
9722
9638
  }
9723
9639
  function h(g) {
@@ -9777,7 +9693,7 @@ const Kf = { class: "template-taken-corners" }, $f = { class: "template-taken-co
9777
9693
  alt: "country flag"
9778
9694
  }, null, 8, u2)
9779
9695
  ]),
9780
- r("div", f2, A(m(x)), 1)
9696
+ r("div", f2, A(v(x)), 1)
9781
9697
  ])
9782
9698
  ]),
9783
9699
  r("div", p2, [
@@ -9862,8 +9778,8 @@ const _a = (e) => (me("data-v-40f800f9"), e = e(), he(), e), h2 = { class: "temp
9862
9778
  r("div", {
9863
9779
  class: be(["template-how-was-corner__content", { "is-expansion-mode": e.isExpansionMode }])
9864
9780
  }, [
9865
- (f(!0), p(V, null, ne(o.value, (c, v) => (f(), p("div", {
9866
- key: v,
9781
+ (f(!0), p(V, null, ne(o.value, (c, m) => (f(), p("div", {
9782
+ key: m,
9867
9783
  class: be(["template-how-was-corner__content__corner-type", { "is-selected": c.isSelected }]),
9868
9784
  onClick: (u) => n(c)
9869
9785
  }, [
@@ -9986,33 +9902,33 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
9986
9902
  emits: ["update:filters", "change-filters-selected"],
9987
9903
  setup(e, { expose: i, emit: t }) {
9988
9904
  const a = e, o = w(!0), s = w([]), n = H(() => (/* @__PURE__ */ new Date()).getTime());
9989
- N(s, (v) => {
9990
- o.value = v.length === 35;
9905
+ N(s, (m) => {
9906
+ o.value = m.length === 35;
9991
9907
  }), N(
9992
9908
  () => a.zoneFilters,
9993
- (v) => {
9994
- s.value = v;
9909
+ (m) => {
9910
+ s.value = m;
9995
9911
  },
9996
9912
  { immediate: !0, deep: !0 }
9997
9913
  ), N(
9998
9914
  () => s.value,
9999
- (v) => {
10000
- t("update:filters", v), t("change-filters-selected", v.length);
9915
+ (m) => {
9916
+ t("update:filters", m), t("change-filters-selected", m.length);
10001
9917
  },
10002
9918
  { deep: !0 }
10003
9919
  );
10004
- function l(v) {
10005
- v ? (s.value = Tt, o.value = !0) : (s.value = [], o.value = !1);
9920
+ function l(m) {
9921
+ m ? (s.value = Tt, o.value = !0) : (s.value = [], o.value = !1);
10006
9922
  }
10007
- function d(v) {
10008
- s.value.includes(v) ? s.value = s.value.filter((u) => u !== v) : s.value.push(v), o.value = s.value.length === 35;
9923
+ function d(m) {
9924
+ s.value.includes(m) ? s.value = s.value.filter((u) => u !== m) : s.value.push(m), o.value = s.value.length === 35;
10009
9925
  }
10010
9926
  function c() {
10011
9927
  s.value = [...Tt];
10012
9928
  }
10013
9929
  return i({
10014
9930
  clearFilters: c
10015
- }), (v, u) => (f(), p("div", D2, [
9931
+ }), (m, u) => (f(), p("div", D2, [
10016
9932
  r("div", B2, [
10017
9933
  r("div", {
10018
9934
  class: "controls-zone-container-title",
@@ -10038,7 +9954,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10038
9954
  r("div", H2, [
10039
9955
  (f(), p("svg", E2, [
10040
9956
  r("rect", {
10041
- onClick: u[0] || (u[0] = (m) => d(1)),
9957
+ onClick: u[0] || (u[0] = (v) => d(1)),
10042
9958
  class: "sector-field",
10043
9959
  x: "0.347042",
10044
9960
  y: "0.347042",
@@ -10050,7 +9966,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10050
9966
  fill: s.value.includes(1) ? "#FFFF0030" : "#2e3b46"
10051
9967
  }, null, 8, j2),
10052
9968
  r("rect", {
10053
- onClick: u[1] || (u[1] = (m) => d(9)),
9969
+ onClick: u[1] || (u[1] = (v) => d(9)),
10054
9970
  class: "sector-field",
10055
9971
  x: "288.347",
10056
9972
  y: "0.347042",
@@ -10062,7 +9978,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10062
9978
  fill: s.value.includes(9) ? "#FFFF0030" : "#2e3b46"
10063
9979
  }, null, 8, N2),
10064
9980
  r("rect", {
10065
- onClick: u[2] || (u[2] = (m) => d(17)),
9981
+ onClick: u[2] || (u[2] = (v) => d(17)),
10066
9982
  class: "sector-field",
10067
9983
  x: "0.347042",
10068
9984
  y: "44.347",
@@ -10074,7 +9990,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10074
9990
  fill: s.value.includes(17) ? "#FFFF0030" : "#2e3b46"
10075
9991
  }, null, 8, G2),
10076
9992
  r("rect", {
10077
- onClick: u[3] || (u[3] = (m) => d(25)),
9993
+ onClick: u[3] || (u[3] = (v) => d(25)),
10078
9994
  class: "sector-field",
10079
9995
  x: "288.347",
10080
9996
  y: "44.347",
@@ -10086,7 +10002,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10086
10002
  fill: s.value.includes(25) ? "#FFFF0030" : "#2e3b46"
10087
10003
  }, null, 8, R2),
10088
10004
  r("rect", {
10089
- onClick: u[4] || (u[4] = (m) => d(26)),
10005
+ onClick: u[4] || (u[4] = (v) => d(26)),
10090
10006
  class: "sector-field",
10091
10007
  x: "0.347042",
10092
10008
  y: "88.347",
@@ -10098,7 +10014,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10098
10014
  fill: s.value.includes(26) ? "#FFFF0030" : "#2e3b46"
10099
10015
  }, null, 8, J2),
10100
10016
  r("rect", {
10101
- onClick: u[5] || (u[5] = (m) => d(27)),
10017
+ onClick: u[5] || (u[5] = (v) => d(27)),
10102
10018
  class: "sector-field",
10103
10019
  x: "91.347",
10104
10020
  y: "88.347",
@@ -10110,7 +10026,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10110
10026
  fill: s.value.includes(27) ? "#FFFF0030" : "#2e3b46"
10111
10027
  }, null, 8, X2),
10112
10028
  r("rect", {
10113
- onClick: u[6] || (u[6] = (m) => d(28)),
10029
+ onClick: u[6] || (u[6] = (v) => d(28)),
10114
10030
  class: "sector-field",
10115
10031
  x: "157.015",
10116
10032
  y: "88.347",
@@ -10122,7 +10038,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10122
10038
  fill: s.value.includes(28) ? "#FFFF0030" : "#2e3b46"
10123
10039
  }, null, 8, Z2),
10124
10040
  r("rect", {
10125
- onClick: u[7] || (u[7] = (m) => d(29)),
10041
+ onClick: u[7] || (u[7] = (v) => d(29)),
10126
10042
  class: "sector-field",
10127
10043
  x: "222.679",
10128
10044
  y: "88.347",
@@ -10134,7 +10050,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10134
10050
  fill: s.value.includes(29) ? "#FFFF0030" : "#2e3b46"
10135
10051
  }, null, 8, _2),
10136
10052
  r("rect", {
10137
- onClick: u[8] || (u[8] = (m) => d(30)),
10053
+ onClick: u[8] || (u[8] = (v) => d(30)),
10138
10054
  class: "sector-field",
10139
10055
  x: "288.347",
10140
10056
  y: "88.347",
@@ -10146,7 +10062,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10146
10062
  fill: s.value.includes(30) ? "#FFFF0030" : "#2e3b46"
10147
10063
  }, null, 8, Y2),
10148
10064
  r("rect", {
10149
- onClick: u[9] || (u[9] = (m) => d(31)),
10065
+ onClick: u[9] || (u[9] = (v) => d(31)),
10150
10066
  class: "sector-field",
10151
10067
  x: "0.347042",
10152
10068
  y: "132.347",
@@ -10158,7 +10074,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10158
10074
  fill: s.value.includes(31) ? "#FFFF0030" : "#2e3b46"
10159
10075
  }, null, 8, V2),
10160
10076
  r("rect", {
10161
- onClick: u[10] || (u[10] = (m) => d(32)),
10077
+ onClick: u[10] || (u[10] = (v) => d(32)),
10162
10078
  class: "sector-field",
10163
10079
  x: "91.347",
10164
10080
  y: "132.347",
@@ -10170,7 +10086,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10170
10086
  fill: s.value.includes(32) ? "#FFFF0030" : "#2e3b46"
10171
10087
  }, null, 8, W2),
10172
10088
  r("rect", {
10173
- onClick: u[11] || (u[11] = (m) => d(33)),
10089
+ onClick: u[11] || (u[11] = (v) => d(33)),
10174
10090
  class: "sector-field",
10175
10091
  x: "157.015",
10176
10092
  y: "132.347",
@@ -10182,7 +10098,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10182
10098
  fill: s.value.includes(33) ? "#FFFF0030" : "#2e3b46"
10183
10099
  }, null, 8, U2),
10184
10100
  r("rect", {
10185
- onClick: u[12] || (u[12] = (m) => d(34)),
10101
+ onClick: u[12] || (u[12] = (v) => d(34)),
10186
10102
  class: "sector-field",
10187
10103
  x: "222.679",
10188
10104
  y: "132.347",
@@ -10194,7 +10110,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10194
10110
  fill: s.value.includes(34) ? "#FFFF0030" : "#2e3b46"
10195
10111
  }, null, 8, Q2),
10196
10112
  r("rect", {
10197
- onClick: u[13] || (u[13] = (m) => d(35)),
10113
+ onClick: u[13] || (u[13] = (v) => d(35)),
10198
10114
  class: "sector-field",
10199
10115
  x: "288.347",
10200
10116
  y: "132.347",
@@ -10206,7 +10122,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10206
10122
  fill: s.value.includes(35) ? "#FFFF0030" : "#2e3b46"
10207
10123
  }, null, 8, q2),
10208
10124
  r("rect", {
10209
- onClick: u[14] || (u[14] = (m) => d(2)),
10125
+ onClick: u[14] || (u[14] = (v) => d(2)),
10210
10126
  class: "sector-field",
10211
10127
  x: "91.347",
10212
10128
  y: "0.347042",
@@ -10218,7 +10134,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10218
10134
  fill: s.value.includes(2) ? "#FFFF0030" : "#2e3b46"
10219
10135
  }, null, 8, K2),
10220
10136
  r("rect", {
10221
- onClick: u[15] || (u[15] = (m) => d(3)),
10137
+ onClick: u[15] || (u[15] = (v) => d(3)),
10222
10138
  class: "sector-field",
10223
10139
  x: "114.347",
10224
10140
  y: "0.347042",
@@ -10230,7 +10146,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10230
10146
  fill: s.value.includes(3) ? "#FFFF0030" : "#2e3b46"
10231
10147
  }, null, 8, $2),
10232
10148
  r("rect", {
10233
- onClick: u[16] || (u[16] = (m) => d(4)),
10149
+ onClick: u[16] || (u[16] = (v) => d(4)),
10234
10150
  class: "sector-field",
10235
10151
  x: "137.347",
10236
10152
  y: "0.347042",
@@ -10242,7 +10158,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10242
10158
  fill: s.value.includes(4) ? "#FFFF0030" : "#2e3b46"
10243
10159
  }, null, 8, ep),
10244
10160
  r("rect", {
10245
- onClick: u[17] || (u[17] = (m) => d(5)),
10161
+ onClick: u[17] || (u[17] = (v) => d(5)),
10246
10162
  class: "sector-field",
10247
10163
  x: "172.347",
10248
10164
  y: "0.347042",
@@ -10254,7 +10170,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10254
10170
  fill: s.value.includes(5) ? "#FFFF0030" : "#2e3b46"
10255
10171
  }, null, 8, tp),
10256
10172
  r("rect", {
10257
- onClick: u[18] || (u[18] = (m) => d(6)),
10173
+ onClick: u[18] || (u[18] = (v) => d(6)),
10258
10174
  class: "sector-field",
10259
10175
  x: "207.347",
10260
10176
  y: "0.347042",
@@ -10266,7 +10182,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10266
10182
  fill: s.value.includes(6) ? "#FFFF0030" : "#2e3b46"
10267
10183
  }, null, 8, ap),
10268
10184
  r("rect", {
10269
- onClick: u[19] || (u[19] = (m) => d(7)),
10185
+ onClick: u[19] || (u[19] = (v) => d(7)),
10270
10186
  class: "sector-field",
10271
10187
  x: "242.347",
10272
10188
  y: "0.347042",
@@ -10278,7 +10194,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10278
10194
  fill: s.value.includes(7) ? "#FFFF0030" : "#2e3b46"
10279
10195
  }, null, 8, ip),
10280
10196
  r("rect", {
10281
- onClick: u[20] || (u[20] = (m) => d(8)),
10197
+ onClick: u[20] || (u[20] = (v) => d(8)),
10282
10198
  class: "sector-field",
10283
10199
  x: "265.347",
10284
10200
  y: "0.347042",
@@ -10290,7 +10206,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10290
10206
  fill: s.value.includes(8) ? "#FFFF0030" : "#2e3b46"
10291
10207
  }, null, 8, sp),
10292
10208
  r("rect", {
10293
- onClick: u[21] || (u[21] = (m) => d(10)),
10209
+ onClick: u[21] || (u[21] = (v) => d(10)),
10294
10210
  class: "sector-field",
10295
10211
  x: "91.347",
10296
10212
  y: "29.6804",
@@ -10302,7 +10218,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10302
10218
  fill: s.value.includes(10) ? "#FFFF0030" : "#2e3b46"
10303
10219
  }, null, 8, op),
10304
10220
  r("rect", {
10305
- onClick: u[22] || (u[22] = (m) => d(11)),
10221
+ onClick: u[22] || (u[22] = (v) => d(11)),
10306
10222
  class: "sector-field",
10307
10223
  x: "114.347",
10308
10224
  y: "29.6804",
@@ -10314,7 +10230,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10314
10230
  fill: s.value.includes(11) ? "#FFFF0030" : "#2e3b46"
10315
10231
  }, null, 8, rp),
10316
10232
  r("rect", {
10317
- onClick: u[23] || (u[23] = (m) => d(12)),
10233
+ onClick: u[23] || (u[23] = (v) => d(12)),
10318
10234
  class: "sector-field",
10319
10235
  x: "137.347",
10320
10236
  y: "29.6804",
@@ -10326,7 +10242,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10326
10242
  fill: s.value.includes(12) ? "#FFFF0030" : "#2e3b46"
10327
10243
  }, null, 8, np),
10328
10244
  r("rect", {
10329
- onClick: u[24] || (u[24] = (m) => d(13)),
10245
+ onClick: u[24] || (u[24] = (v) => d(13)),
10330
10246
  class: "sector-field",
10331
10247
  x: "172.347",
10332
10248
  y: "29.6804",
@@ -10338,7 +10254,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10338
10254
  fill: s.value.includes(13) ? "#FFFF0030" : "#2e3b46"
10339
10255
  }, null, 8, lp),
10340
10256
  r("rect", {
10341
- onClick: u[25] || (u[25] = (m) => d(14)),
10257
+ onClick: u[25] || (u[25] = (v) => d(14)),
10342
10258
  class: "sector-field",
10343
10259
  x: "207.347",
10344
10260
  y: "29.6804",
@@ -10350,7 +10266,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10350
10266
  fill: s.value.includes(14) ? "#FFFF0030" : "#2e3b46"
10351
10267
  }, null, 8, dp),
10352
10268
  r("rect", {
10353
- onClick: u[26] || (u[26] = (m) => d(15)),
10269
+ onClick: u[26] || (u[26] = (v) => d(15)),
10354
10270
  class: "sector-field",
10355
10271
  x: "242.347",
10356
10272
  y: "29.6804",
@@ -10362,7 +10278,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10362
10278
  fill: s.value.includes(15) ? "#FFFF0030" : "#2e3b46"
10363
10279
  }, null, 8, cp),
10364
10280
  r("rect", {
10365
- onClick: u[27] || (u[27] = (m) => d(16)),
10281
+ onClick: u[27] || (u[27] = (v) => d(16)),
10366
10282
  class: "sector-field",
10367
10283
  x: "265.347",
10368
10284
  y: "29.6804",
@@ -10374,7 +10290,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10374
10290
  fill: s.value.includes(16) ? "#FFFF0030" : "#2e3b46"
10375
10291
  }, null, 8, up),
10376
10292
  r("rect", {
10377
- onClick: u[28] || (u[28] = (m) => d(18)),
10293
+ onClick: u[28] || (u[28] = (v) => d(18)),
10378
10294
  class: "sector-field",
10379
10295
  x: "91.347",
10380
10296
  y: "59.0137",
@@ -10386,7 +10302,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10386
10302
  fill: s.value.includes(18) ? "#FFFF0030" : "#2e3b46"
10387
10303
  }, null, 8, fp),
10388
10304
  r("rect", {
10389
- onClick: u[29] || (u[29] = (m) => d(19)),
10305
+ onClick: u[29] || (u[29] = (v) => d(19)),
10390
10306
  class: "sector-field",
10391
10307
  x: "114.347",
10392
10308
  y: "59.0137",
@@ -10398,7 +10314,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10398
10314
  fill: s.value.includes(19) ? "#FFFF0030" : "#2e3b46"
10399
10315
  }, null, 8, pp),
10400
10316
  r("rect", {
10401
- onClick: u[30] || (u[30] = (m) => d(20)),
10317
+ onClick: u[30] || (u[30] = (v) => d(20)),
10402
10318
  class: "sector-field",
10403
10319
  x: "137.347",
10404
10320
  y: "59.0137",
@@ -10410,7 +10326,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10410
10326
  fill: s.value.includes(20) ? "#FFFF0030" : "#2e3b46"
10411
10327
  }, null, 8, vp),
10412
10328
  r("rect", {
10413
- onClick: u[31] || (u[31] = (m) => d(21)),
10329
+ onClick: u[31] || (u[31] = (v) => d(21)),
10414
10330
  class: "sector-field",
10415
10331
  x: "172.347",
10416
10332
  y: "59.0137",
@@ -10422,7 +10338,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10422
10338
  fill: s.value.includes(21) ? "#FFFF0030" : "#2e3b46"
10423
10339
  }, null, 8, mp),
10424
10340
  r("rect", {
10425
- onClick: u[32] || (u[32] = (m) => d(22)),
10341
+ onClick: u[32] || (u[32] = (v) => d(22)),
10426
10342
  class: "sector-field",
10427
10343
  x: "207.347",
10428
10344
  y: "59.0137",
@@ -10434,7 +10350,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10434
10350
  fill: s.value.includes(22) ? "#FFFF0030" : "#2e3b46"
10435
10351
  }, null, 8, hp),
10436
10352
  r("rect", {
10437
- onClick: u[33] || (u[33] = (m) => d(23)),
10353
+ onClick: u[33] || (u[33] = (v) => d(23)),
10438
10354
  class: "sector-field",
10439
10355
  x: "242.347",
10440
10356
  y: "59.0137",
@@ -10446,7 +10362,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10446
10362
  fill: s.value.includes(23) ? "#FFFF0030" : "#2e3b46"
10447
10363
  }, null, 8, yp),
10448
10364
  r("rect", {
10449
- onClick: u[34] || (u[34] = (m) => d(24)),
10365
+ onClick: u[34] || (u[34] = (v) => d(24)),
10450
10366
  class: "sector-field",
10451
10367
  x: "265.347",
10452
10368
  y: "59.0137",
@@ -10476,7 +10392,7 @@ const $e = (e) => (me("data-v-964e874b"), e = e(), he(), e), D2 = { class: "temp
10476
10392
  ]))
10477
10393
  ]),
10478
10394
  ie(r("div", Tp, Dp, 512), [
10479
- [de, !1]
10395
+ [ce, !1]
10480
10396
  ])
10481
10397
  ]));
10482
10398
  }
@@ -10528,13 +10444,13 @@ const zp = { class: "what-happened" }, Hp = { class: "what-happened__all" }, Ep
10528
10444
  g.isSelected = h;
10529
10445
  });
10530
10446
  }
10531
- function v(h, k, g) {
10447
+ function m(h, k, g) {
10532
10448
  g.isSelected = h, k.isSelected = k.child.every((S) => S.isSelected);
10533
10449
  }
10534
10450
  function u(h, k) {
10535
10451
  k.isSelected = h;
10536
10452
  }
10537
- function m() {
10453
+ function v() {
10538
10454
  a.whatHappenedFilters.forEach((h) => {
10539
10455
  h.child ? h.child.forEach((k) => {
10540
10456
  k.isSelected = !0;
@@ -10542,7 +10458,7 @@ const zp = { class: "what-happened" }, Hp = { class: "what-happened__all" }, Ep
10542
10458
  });
10543
10459
  }
10544
10460
  return i({
10545
- onResetFilters: m
10461
+ onResetFilters: v
10546
10462
  }), (h, k) => (f(), p("div", zp, [
10547
10463
  r("div", Hp, [
10548
10464
  L(D(ee), {
@@ -10574,7 +10490,7 @@ const zp = { class: "what-happened" }, Hp = { class: "what-happened__all" }, Ep
10574
10490
  "model-value": x.isSelected,
10575
10491
  label: e.isFemale ? x.text.replace("Ganados por portero rival", "Ganados por portera rival").replace("Ganados por jugador rival", "Ganados por jugadora rival") : x.text,
10576
10492
  "avoid-interaction": l.value && x.isSelected,
10577
- "onUpdate:modelValue": (j) => v(j, g, x)
10493
+ "onUpdate:modelValue": (j) => m(j, g, x)
10578
10494
  }, null, 8, ["model-value", "label", "avoid-interaction", "onUpdate:modelValue"])
10579
10495
  ]))), 128))
10580
10496
  ])) : (f(), p("div", Gp, [
@@ -10683,35 +10599,35 @@ const fs = (e) => (me("data-v-0a1535f8"), e = e(), he(), e), Xp = { class: "temp
10683
10599
  _p,
10684
10600
  L(zt, {
10685
10601
  modelValue: o.value.isMoment,
10686
- "onUpdate:modelValue": c[0] || (c[0] = (v) => o.value.isMoment = v)
10602
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => o.value.isMoment = m)
10687
10603
  }, null, 8, ["modelValue"]),
10688
10604
  Yp
10689
10605
  ], 512), [
10690
- [de, !o.value.isMomentOnly]
10606
+ [ce, !o.value.isMomentOnly]
10691
10607
  ]),
10692
10608
  r("div", Vp, A(n.value), 1),
10693
10609
  o.value.isMoment ? (f(), p("div", Wp, [
10694
- (f(!0), p(V, null, ne(o.value.results.moment, (v, u) => (f(), p("div", {
10610
+ (f(!0), p(V, null, ne(o.value.results.moment, (m, u) => (f(), p("div", {
10695
10611
  key: u,
10696
10612
  class: "template-results__result"
10697
10613
  }, [
10698
10614
  L(D(ee), {
10699
- modelValue: v.isSelected,
10700
- "onUpdate:modelValue": (m) => v.isSelected = m,
10701
- label: v.name,
10702
- "avoid-interaction": s.value === 1 && v.isSelected
10615
+ modelValue: m.isSelected,
10616
+ "onUpdate:modelValue": (v) => m.isSelected = v,
10617
+ label: m.name,
10618
+ "avoid-interaction": s.value === 1 && m.isSelected
10703
10619
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "avoid-interaction"])
10704
10620
  ]))), 128))
10705
10621
  ])) : (f(), p("div", Up, [
10706
- (f(!0), p(V, null, ne(o.value.results.final, (v, u) => (f(), p("div", {
10622
+ (f(!0), p(V, null, ne(o.value.results.final, (m, u) => (f(), p("div", {
10707
10623
  key: u,
10708
10624
  class: "template-results__result"
10709
10625
  }, [
10710
10626
  L(D(ee), {
10711
- modelValue: v.isSelected,
10712
- "onUpdate:modelValue": (m) => v.isSelected = m,
10713
- label: v.name,
10714
- "avoid-interaction": s.value === 1 && v.isSelected
10627
+ modelValue: m.isSelected,
10628
+ "onUpdate:modelValue": (v) => m.isSelected = v,
10629
+ label: m.name,
10630
+ "avoid-interaction": s.value === 1 && m.isSelected
10715
10631
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "avoid-interaction"])
10716
10632
  ]))), 128))
10717
10633
  ]))
@@ -10785,7 +10701,7 @@ const Kp = { class: "years" }, $p = ["onClick"], e5 = {
10785
10701
  }, o = w(""), s = H(() => {
10786
10702
  let l = t.positions && t.positions.length ? [...t.positions] : [];
10787
10703
  const d = l[0];
10788
- return (!d || d.id !== 0) && l.unshift(a), l.sort((c, v) => c.id - v.id), l;
10704
+ return (!d || d.id !== 0) && l.unshift(a), l.sort((c, m) => c.id - m.id), l;
10789
10705
  });
10790
10706
  N(
10791
10707
  s,
@@ -10798,13 +10714,13 @@ const Kp = { class: "years" }, $p = ["onClick"], e5 = {
10798
10714
  function n(l, d) {
10799
10715
  d.id === 0 ? s.value.forEach((c) => {
10800
10716
  c.isSelected = l;
10801
- }) : (d.isSelected = l, s.value[0].isSelected = s.value.every((c, v) => v === 0 ? !0 : c.isSelected));
10717
+ }) : (d.isSelected = l, s.value[0].isSelected = s.value.every((c, m) => m === 0 ? !0 : c.isSelected));
10802
10718
  }
10803
10719
  return (l, d) => (f(), p("div", a5, [
10804
10720
  L(gt, { height: "200px" }, {
10805
10721
  default: se(() => [
10806
- (f(!0), p(V, null, ne(s.value, (c, v) => (f(), p("div", {
10807
- key: v,
10722
+ (f(!0), p(V, null, ne(s.value, (c, m) => (f(), p("div", {
10723
+ key: m,
10808
10724
  style: { padding: "5px 0" }
10809
10725
  }, [
10810
10726
  L(D(ee), {
@@ -10859,15 +10775,15 @@ const Kp = { class: "years" }, $p = ["onClick"], e5 = {
10859
10775
  isSelected: !1
10860
10776
  }, o = w(""), s = H(() => {
10861
10777
  let l = t.nationalities && t.nationalities.length ? [...t.nationalities] : [], d = [];
10862
- const c = l.find((m) => m.id === 138), v = l.find((m) => m.id === 0), u = l.filter((m) => m.id !== 138);
10863
- return u.sort((m, h) => m.name.localeCompare(h.name)), c && (d = [c, ...u]), v || (d = [a, ...d]), d;
10778
+ const c = l.find((v) => v.id === 138), m = l.find((v) => v.id === 0), u = l.filter((v) => v.id !== 138);
10779
+ return u.sort((v, h) => v.name.localeCompare(h.name)), c && (d = [c, ...u]), m || (d = [a, ...d]), d;
10864
10780
  });
10865
10781
  N(
10866
10782
  s,
10867
10783
  (l) => {
10868
- const d = l.filter((v) => v.isSelected);
10784
+ const d = l.filter((m) => m.isSelected);
10869
10785
  d.length === s.value.length - 1 && (l[0].isSelected = !0), l[0] && l[0].isSelected ? o.value = "Todas las posiciones" : d.length === 1 ? o.value = d[0].name : o.value = `${d.length} seleccionadas`;
10870
- const c = l.filter((v) => v.id !== 0 && v.isSelected);
10786
+ const c = l.filter((m) => m.id !== 0 && m.isSelected);
10871
10787
  i("change-nationality", c);
10872
10788
  },
10873
10789
  { immediate: !0, deep: !0 }
@@ -10876,14 +10792,14 @@ const Kp = { class: "years" }, $p = ["onClick"], e5 = {
10876
10792
  d.id === 0 ? s.value.forEach((c) => {
10877
10793
  l ? c.isSelected = l : c.isSelected = c.id === 138;
10878
10794
  }) : (d.isSelected = l, s.value[0].isSelected = s.value.every(
10879
- (c, v) => v === 0 ? !0 : c.isSelected
10795
+ (c, m) => m === 0 ? !0 : c.isSelected
10880
10796
  ));
10881
10797
  }
10882
10798
  return (l, d) => (f(), p("div", s5, [
10883
10799
  L(gt, { height: "200px" }, {
10884
10800
  default: se(() => [
10885
- (f(!0), p(V, null, ne(s.value, (c, v) => (f(), p("div", {
10886
- key: v,
10801
+ (f(!0), p(V, null, ne(s.value, (c, m) => (f(), p("div", {
10802
+ key: m,
10887
10803
  style: { padding: "5px 0" }
10888
10804
  }, [
10889
10805
  L(D(ee), {
@@ -10941,13 +10857,13 @@ const r5 = (e) => (me("data-v-5413b129"), e = e(), he(), e), n5 = { class: "team
10941
10857
  },
10942
10858
  emits: ["change-filters-selected", "update:filters"],
10943
10859
  setup(e, { expose: i, emit: t }) {
10944
- const a = e, o = w([]), s = w([]), n = H(() => o.value.filter((m) => !a.excludedTeamsIds.length || !a.excludedTeamsIds.includes(m.id || m.team_id)));
10860
+ const a = e, o = w([]), s = w([]), n = H(() => o.value.filter((v) => !a.excludedTeamsIds.length || !a.excludedTeamsIds.includes(v.id || v.team_id)));
10945
10861
  N(
10946
10862
  () => a.seasonsIds,
10947
- async (m) => {
10948
- if (m)
10863
+ async (v) => {
10864
+ if (v)
10949
10865
  try {
10950
- l(m, s.value) || (s.value = [...m], await d());
10866
+ l(v, s.value) || (s.value = [...v], await d());
10951
10867
  } catch (h) {
10952
10868
  console.error("Error fetching teams:", h);
10953
10869
  }
@@ -10955,32 +10871,32 @@ const r5 = (e) => (me("data-v-5413b129"), e = e(), he(), e), n5 = { class: "team
10955
10871
  { immediate: !0 }
10956
10872
  ), N(
10957
10873
  () => n.value,
10958
- (m) => {
10959
- const h = m.filter((k) => k.isSelected);
10874
+ (v) => {
10875
+ const h = v.filter((k) => k.isSelected);
10960
10876
  t("change-filters-selected", h.length), t("update:filters", h);
10961
10877
  },
10962
10878
  { immediate: !0, deep: !0 }
10963
10879
  );
10964
- function l(m, h) {
10965
- if (m.length !== h.length)
10880
+ function l(v, h) {
10881
+ if (v.length !== h.length)
10966
10882
  return !1;
10967
- const k = [...m].sort(), g = [...h].sort();
10883
+ const k = [...v].sort(), g = [...h].sort();
10968
10884
  return k.every((S, x) => S === g[x]);
10969
10885
  }
10970
10886
  async function d() {
10971
- const m = /* @__PURE__ */ new Set(), h = [], k = a.seasonsIds.map((S) => c({ seasonId: S }));
10887
+ const v = /* @__PURE__ */ new Set(), h = [], k = a.seasonsIds.map((S) => c({ seasonId: S }));
10972
10888
  (await Promise.all(k)).forEach((S) => {
10973
10889
  S.teams.forEach((x) => {
10974
- m.has(x.id || x.team_id) || (m.add(x.id || x.team_id), h.push({
10890
+ v.has(x.id || x.team_id) || (v.add(x.id || x.team_id), h.push({
10975
10891
  ...x,
10976
10892
  isSelected: a.isFirstTeamSelected && h.length === 0
10977
10893
  }));
10978
10894
  });
10979
10895
  }), o.value = h;
10980
10896
  }
10981
- async function c({ seasonId: m }) {
10897
+ async function c({ seasonId: v }) {
10982
10898
  try {
10983
- const h = Qe(`https://yjeig444bb.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/${m}`, a.providerId, a.isDevApis);
10899
+ const h = Qe(`https://yjeig444bb.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/${v}`, a.providerId, a.isDevApis);
10984
10900
  return (await fetch(h, {
10985
10901
  headers: {
10986
10902
  Authorization: a.token
@@ -10990,17 +10906,17 @@ const r5 = (e) => (me("data-v-5413b129"), e = e(), he(), e), n5 = { class: "team
10990
10906
  return Promise.reject(h);
10991
10907
  }
10992
10908
  }
10993
- function v(m, h) {
10994
- h.isSelected = m;
10909
+ function m(v, h) {
10910
+ h.isSelected = v;
10995
10911
  }
10996
- function u(m = !1) {
10912
+ function u(v = !1) {
10997
10913
  n.value.forEach((h, k) => {
10998
- h.isSelected = m && k === 0;
10914
+ h.isSelected = v && k === 0;
10999
10915
  });
11000
10916
  }
11001
10917
  return i({
11002
10918
  clearSelectedTeams: u
11003
- }), (m, h) => (f(), p("div", n5, [
10919
+ }), (v, h) => (f(), p("div", n5, [
11004
10920
  e.isHeaderVisible ? (f(), p("div", l5, [
11005
10921
  ot(" No considerar partidos jugados vs "),
11006
10922
  d5
@@ -11015,7 +10931,7 @@ const r5 = (e) => (me("data-v-5413b129"), e = e(), he(), e), n5 = { class: "team
11015
10931
  "model-value": k.isSelected,
11016
10932
  fontFamily: e.fontFamily,
11017
10933
  width: "fit-content",
11018
- "onUpdate:modelValue": (g) => v(g, k)
10934
+ "onUpdate:modelValue": (g) => m(g, k)
11019
10935
  }, null, 8, ["model-value", "fontFamily", "onUpdate:modelValue"]),
11020
10936
  r("div", c5, [
11021
10937
  r("img", {
@@ -11675,7 +11591,7 @@ const C5 = {
11675
11591
  areYellowCardsSelected: !1,
11676
11592
  areRedCardsSelected: !1,
11677
11593
  areFoulsCommittedSelected: !1
11678
- }), c = w(null), v = w(null), u = w(null), m = w(null), h = w(null), k = H(() => ({
11594
+ }), c = w(null), m = w(null), u = w(null), v = w(null), h = w(null), k = H(() => ({
11679
11595
  "--width": a.width,
11680
11596
  "--max-width": a.maxWidth,
11681
11597
  "--background-color": a.backgroundColor,
@@ -11789,11 +11705,11 @@ const C5 = {
11789
11705
  results: a.resultsFilters.results.map((z) => (z.isSelected = !0, z))
11790
11706
  }) : a.filterType === y.RESULTS_BY_TIME ? h.value && h.value.removeFilters() : a.filterType === y.GAMES ? a.gamesFilters.forEach((z) => {
11791
11707
  z.isSelected = !0;
11792
- }) : a.filterType === y.TAKEN_CORNERS ? v.value.clearFilters() : a.filterType === y.HOW_WAS_CORNER ? (a.howWasCornerFilters.left.forEach((z) => {
11708
+ }) : a.filterType === y.TAKEN_CORNERS ? m.value.clearFilters() : a.filterType === y.HOW_WAS_CORNER ? (a.howWasCornerFilters.left.forEach((z) => {
11793
11709
  z.isSelected = !0;
11794
11710
  }), a.howWasCornerFilters.right.forEach((z) => {
11795
11711
  z.isSelected = !0;
11796
- })) : a.filterType === y.ZONE ? u.value && u.value.clearFilters() : a.filterType === y.WHAT_HAPPENED ? m.value && m.value.onResetFilters() : a.filterType === y.NATIONALITIES ? a.nationalities.forEach((z) => {
11712
+ })) : a.filterType === y.ZONE ? u.value && u.value.clearFilters() : a.filterType === y.WHAT_HAPPENED ? v.value && v.value.onResetFilters() : a.filterType === y.NATIONALITIES ? a.nationalities.forEach((z) => {
11797
11713
  z.isSelected = !0;
11798
11714
  }) : a.filterType === y.TEAMS && o.value && o.value.clearSelectedTeams();
11799
11715
  }
@@ -11854,7 +11770,7 @@ const C5 = {
11854
11770
  C.isSelected = !1;
11855
11771
  }), t("apply");
11856
11772
  }
11857
- function ce(C) {
11773
+ function le(C) {
11858
11774
  t("update:filters", C);
11859
11775
  }
11860
11776
  function Me(C) {
@@ -11890,7 +11806,7 @@ const C5 = {
11890
11806
  function Z(C) {
11891
11807
  a.filterType === y.DISTANCE && t("update:filters", C);
11892
11808
  }
11893
- function le(C) {
11809
+ function de(C) {
11894
11810
  a.filterType === y.RESULTS && t("update:filters", C);
11895
11811
  }
11896
11812
  function ae(C) {
@@ -12055,7 +11971,7 @@ const C5 = {
12055
11971
  ref_key: "templateResults",
12056
11972
  ref: h,
12057
11973
  "results-filters": e.resultsFilters,
12058
- "onUpdate:resultsFilters": le
11974
+ "onUpdate:resultsFilters": de
12059
11975
  }, null, 8, ["results-filters"])
12060
11976
  ])) : T("", !0),
12061
11977
  e.filterType === D(y).RESULTS_BY_TIME ? (f(), p("div", X5, [
@@ -12064,25 +11980,26 @@ const C5 = {
12064
11980
  ref: h,
12065
11981
  "results-filters": e.resultsByTimeFilters,
12066
11982
  onChangeFiltersSelected: E,
12067
- "onUpdate:filters": ce
11983
+ "onUpdate:filters": le
12068
11984
  }, null, 8, ["results-filters"])
12069
11985
  ])) : T("", !0),
12070
11986
  e.filterType === D(y).GAMES ? (f(), p("div", Z5, [
12071
11987
  L(kn, {
12072
11988
  "games-filters": e.gamesFilters,
11989
+ "provider-id": e.providerId,
12073
11990
  "onUpdate:gamesFilters": ae
12074
- }, null, 8, ["games-filters"])
11991
+ }, null, 8, ["games-filters", "provider-id"])
12075
11992
  ])) : T("", !0),
12076
11993
  e.filterType === D(y).TAKEN_CORNERS ? (f(), p("div", _5, [
12077
11994
  L(m2, {
12078
11995
  "is-female": e.isFemale,
12079
11996
  ref_key: "templateTakenCorners",
12080
- ref: v,
11997
+ ref: m,
12081
11998
  "taken-corners-filters": e.takenCornersFilters,
12082
11999
  "is-expansion-mode": e.isExpansionMode,
12083
12000
  "provider-id": e.providerId,
12084
12001
  onChangeFiltersSelected: E,
12085
- "onUpdate:filters": ce
12002
+ "onUpdate:filters": le
12086
12003
  }, null, 8, ["is-female", "taken-corners-filters", "is-expansion-mode", "provider-id"])
12087
12004
  ])) : T("", !0),
12088
12005
  e.filterType === D(y).VIDEOS ? (f(), p("div", Y5, [
@@ -12097,7 +12014,7 @@ const C5 = {
12097
12014
  "how-was-corner-filters": e.howWasCornerFilters,
12098
12015
  "is-expansion-mode": e.isExpansionMode,
12099
12016
  onChangeFiltersSelected: E,
12100
- "onUpdate:filters": ce
12017
+ "onUpdate:filters": le
12101
12018
  }, null, 8, ["how-was-corner-filters", "is-expansion-mode"])
12102
12019
  ])) : T("", !0),
12103
12020
  e.filterType === D(y).ZONE ? (f(), p("div", W5, [
@@ -12106,17 +12023,17 @@ const C5 = {
12106
12023
  ref: u,
12107
12024
  "zone-filters": e.zoneFilters,
12108
12025
  onChangeFiltersSelected: E,
12109
- "onUpdate:filters": ce
12026
+ "onUpdate:filters": le
12110
12027
  }, null, 8, ["zone-filters"])
12111
12028
  ])) : T("", !0),
12112
12029
  e.filterType === D(y).WHAT_HAPPENED ? (f(), p("div", U5, [
12113
12030
  L(Jp, {
12114
12031
  "is-female": e.isFemale,
12115
12032
  ref_key: "templateWhatHappened",
12116
- ref: m,
12033
+ ref: v,
12117
12034
  "what-happened-filters": e.whatHappenedFilters,
12118
12035
  onChangeFiltersSelected: E,
12119
- "onUpdate:filters": ce
12036
+ "onUpdate:filters": le
12120
12037
  }, null, 8, ["is-female", "what-happened-filters"])
12121
12038
  ])) : T("", !0),
12122
12039
  e.filterType === D(y).POSITIONS ? (f(), p("div", Q5, [
@@ -12190,7 +12107,7 @@ const C5 = {
12190
12107
  ])) : T("", !0)
12191
12108
  ], 4));
12192
12109
  }
12193
- }, Mi = /* @__PURE__ */ te(i3, [["__scopeId", "data-v-16f4e2fe"]]), s3 = (e, i) => {
12110
+ }, Mi = /* @__PURE__ */ te(i3, [["__scopeId", "data-v-91cbd144"]]), s3 = (e, i) => {
12194
12111
  const t = e.__vccOpts || e;
12195
12112
  for (const [a, o] of i)
12196
12113
  t[a] = o;
@@ -12270,7 +12187,7 @@ const C5 = {
12270
12187
  l.value.top = `${P.height + t.menuMarginTop}px`;
12271
12188
  }
12272
12189
  }
12273
- function v() {
12190
+ function m() {
12274
12191
  new IntersectionObserver((h) => {
12275
12192
  h[0].intersectionRatio > 0 && c(h[0]);
12276
12193
  }).observe(s.value);
@@ -12278,18 +12195,18 @@ const C5 = {
12278
12195
  function u() {
12279
12196
  o.value = !o.value, i("update:modelValue", o.value);
12280
12197
  }
12281
- function m() {
12198
+ function v() {
12282
12199
  o.value = !1, i("update:modelValue", o.value);
12283
12200
  }
12284
12201
  return Sa(() => {
12285
12202
  Ya(() => {
12286
- v();
12203
+ m();
12287
12204
  });
12288
12205
  }), (h, k) => (f(), p(V, null, [
12289
12206
  o.value ? (f(), p("div", {
12290
12207
  key: 0,
12291
12208
  id: "menu-overlay",
12292
- onClick: m
12209
+ onClick: v
12293
12210
  })) : T("", !0),
12294
12211
  r("div", {
12295
12212
  class: "menu-container",
@@ -12313,7 +12230,7 @@ const C5 = {
12313
12230
  }, [
12314
12231
  mt(h.$slots, "menu", {}, void 0, !0)
12315
12232
  ], 4), [
12316
- [de, o.value]
12233
+ [ce, o.value]
12317
12234
  ])
12318
12235
  ]),
12319
12236
  _: 3
@@ -12610,7 +12527,7 @@ const ut = (e) => (me("data-v-72c20835"), e = e(), he(), e), n3 = {
12610
12527
  y.TEAMS
12611
12528
  ].includes(i.iconType)), s = H(() => [y.POSSESSION_VISUALISATIONS, y.FIELD, y.GAMES].includes(
12612
12529
  i.iconType
12613
- )), n = H(() => [y.DETAILS, y.UNIVERSE].includes(i.iconType)), l = H(() => [y.PERSONAL_DATA].includes(i.iconType)), d = H(() => [y.PRODUCTIVITY].includes(i.iconType)), c = H(() => [y.HOW_WAS_CORNER].includes(i.iconType)), v = H(() => [y.TAKEN_CORNERS].includes(i.iconType)), u = H(() => [y.ZONE].includes(i.iconType)), m = H(() => [y.WHAT_HAPPENED].includes(i.iconType));
12530
+ )), n = H(() => [y.DETAILS, y.UNIVERSE].includes(i.iconType)), l = H(() => [y.PERSONAL_DATA].includes(i.iconType)), d = H(() => [y.PRODUCTIVITY].includes(i.iconType)), c = H(() => [y.HOW_WAS_CORNER].includes(i.iconType)), m = H(() => [y.TAKEN_CORNERS].includes(i.iconType)), u = H(() => [y.ZONE].includes(i.iconType)), v = H(() => [y.WHAT_HAPPENED].includes(i.iconType));
12614
12531
  return (h, k) => (f(), p("div", {
12615
12532
  class: "button",
12616
12533
  style: U(t.value)
@@ -12704,10 +12621,10 @@ const ut = (e) => (me("data-v-72c20835"), e = e(), he(), e), n3 = {
12704
12621
  }, null, 8, P3)
12705
12622
  ])) : T("", !0),
12706
12623
  d.value ? (f(), p("svg", C3, w3)) : T("", !0),
12707
- v.value ? (f(), p("svg", O3, T3)) : T("", !0),
12624
+ m.value ? (f(), p("svg", O3, T3)) : T("", !0),
12708
12625
  c.value ? (f(), p("svg", M3, D3)) : T("", !0),
12709
12626
  u.value ? (f(), p("svg", B3, j3)) : T("", !0),
12710
- m.value ? (f(), p("svg", N3, R3)) : T("", !0)
12627
+ v.value ? (f(), p("svg", N3, R3)) : T("", !0)
12711
12628
  ])) : T("", !0),
12712
12629
  r("div", J3, A(e.text), 1),
12713
12630
  e.showBadge ? (f(), p(V, { key: 1 }, [
@@ -12717,7 +12634,7 @@ const ut = (e) => (me("data-v-72c20835"), e = e(), he(), e), n3 = {
12717
12634
  style: U(a.value)
12718
12635
  }, [
12719
12636
  ie(r("span", null, A(e.infoValue), 513), [
12720
- [de, e.infoValue]
12637
+ [ce, e.infoValue]
12721
12638
  ])
12722
12639
  ], 4)
12723
12640
  ])) : (f(), p(V, { key: 1 }, [
@@ -12727,7 +12644,7 @@ const ut = (e) => (me("data-v-72c20835"), e = e(), he(), e), n3 = {
12727
12644
  style: U(a.value)
12728
12645
  }, [
12729
12646
  ie(r("span", null, A(e.infoValue), 513), [
12730
- [de, e.infoValue]
12647
+ [ce, e.infoValue]
12731
12648
  ])
12732
12649
  ], 4)) : e.filtersTotal > 0 ? (f(), p("div", Z3)) : T("", !0)
12733
12650
  ], 64))
@@ -12896,7 +12813,7 @@ const ut = (e) => (me("data-v-72c20835"), e = e(), he(), e), n3 = {
12896
12813
  mt(n.$slots, "content", {}, void 0, !0)
12897
12814
  ])
12898
12815
  ], 512), [
12899
- [de, a.value]
12816
+ [ce, a.value]
12900
12817
  ])
12901
12818
  ]),
12902
12819
  _: 3
@@ -13585,7 +13502,7 @@ const f4 = { class: "filters" }, p4 = {
13585
13502
  borderRadius: "12px",
13586
13503
  filterType: y.TOURNAMENTS,
13587
13504
  isFooterVisible: !0
13588
- }, v = {
13505
+ }, m = {
13589
13506
  width: "246px",
13590
13507
  maxWidth: "246px",
13591
13508
  backgroundColor: "#2E3B46",
@@ -13599,7 +13516,7 @@ const f4 = { class: "filters" }, p4 = {
13599
13516
  borderRadius: "12px",
13600
13517
  filterType: y.YEARS,
13601
13518
  isFooterVisible: !0
13602
- }, m = {
13519
+ }, v = {
13603
13520
  width: "246px",
13604
13521
  maxWidth: "246px",
13605
13522
  backgroundColor: "#2E3B46",
@@ -13706,8 +13623,8 @@ const f4 = { class: "filters" }, p4 = {
13706
13623
  }, we = {
13707
13624
  filterType: y.POSSESSION_VISUALISATIONS,
13708
13625
  isFooterVisible: !0
13709
- }, E = w(!1), R = w(!1), G = w(0), q = w(0), B = w({}), Se = w(Ft), ke = w(Ja), ce = w(Xa), Me = w(cs), Pe = w(Yt), fe = w(It);
13710
- ft("playOffAbbreviationsStructure", Se), ft("howWasCornerStructure", ke), ft("whatHappenedStructure", ce), ft("playsStructure", Me), ft("productivityStructure", Pe), ft("defaultCategoriesStructure", fe), N(
13626
+ }, E = w(!1), R = w(!1), G = w(0), q = w(0), B = w({}), Se = w(Ft), ke = w(Ja), le = w(Xa), Me = w(cs), Pe = w(Yt), fe = w(It);
13627
+ ft("playOffAbbreviationsStructure", Se), ft("howWasCornerStructure", ke), ft("whatHappenedStructure", le), ft("playsStructure", Me), ft("productivityStructure", Pe), ft("defaultCategoriesStructure", fe), N(
13711
13628
  () => a.providerId,
13712
13629
  async (I) => {
13713
13630
  try {
@@ -13726,7 +13643,7 @@ const f4 = { class: "filters" }, p4 = {
13726
13643
  ), N(
13727
13644
  () => a.providerId,
13728
13645
  async (I) => {
13729
- ce.value = await ou(I);
13646
+ le.value = await ou(I);
13730
13647
  },
13731
13648
  { immediate: !0 }
13732
13649
  ), N(
@@ -13753,7 +13670,7 @@ const f4 = { class: "filters" }, p4 = {
13753
13670
  a.filterType === y.HOW_WAS_CORNER && !a.filters && (B.value = { ...B.value, howWasCornerFilters: I });
13754
13671
  }
13755
13672
  ), N(
13756
- () => ce.value,
13673
+ () => le.value,
13757
13674
  (I) => {
13758
13675
  a.filterType === y.WHAT_HAPPENED && !a.filters && (B.value = { ...B.value, whatHappenedFilters: [...I] });
13759
13676
  }
@@ -13870,12 +13787,12 @@ const f4 = { class: "filters" }, p4 = {
13870
13787
  } : I === y.WHAT_HAPPENED ? B.value = {
13871
13788
  ...je,
13872
13789
  ...a.templateProps,
13873
- whatHappenedFilters: a.filters || [...ce.value]
13790
+ whatHappenedFilters: a.filters || [...le.value]
13874
13791
  } : I === y.POSSESSION_VISUALISATIONS ? B.value = {
13875
13792
  ...we,
13876
13793
  ...a.templateProps
13877
13794
  } : I === y.POSITIONS ? B.value = {
13878
- ...v,
13795
+ ...m,
13879
13796
  ...a.templateProps,
13880
13797
  positions: a.filters || [
13881
13798
  { isSelected: !0, id: 1, name: "Portero" },
@@ -13893,7 +13810,7 @@ const f4 = { class: "filters" }, p4 = {
13893
13810
  ...a.templateProps,
13894
13811
  years: a.filters || Array.from({ length: 30 }, (re, Be) => 1981 + Be).sort((re, Be) => Be - re)
13895
13812
  } : I === y.NATIONALITIES && (B.value = {
13896
- ...m,
13813
+ ...v,
13897
13814
  ...a.templateProps,
13898
13815
  nationalities: a.filters || [
13899
13816
  { isSelected: !0, id: 138, name: "Mexicana" },
@@ -13912,7 +13829,7 @@ const f4 = { class: "filters" }, p4 = {
13912
13829
  { isSelected: !0, id: 166, name: "Peruana" }
13913
13830
  ]
13914
13831
  });
13915
- B.value.isExpansionMode = a.isExpansionPanel, a.isExpansionPanel && (B.value.width = "100%", B.value.maxWidth = "100%"), le();
13832
+ B.value.isExpansionMode = a.isExpansionPanel, a.isExpansionPanel && (B.value.width = "100%", B.value.maxWidth = "100%"), de();
13916
13833
  },
13917
13834
  { immediate: !0 }
13918
13835
  ), N(
@@ -14020,12 +13937,12 @@ const f4 = { class: "filters" }, p4 = {
14020
13937
  } : a.filterType === y.WHAT_HAPPENED ? B.value = {
14021
13938
  ...je,
14022
13939
  ...a.templateProps,
14023
- whatHappenedFilters: a.filters || [...ce.value]
13940
+ whatHappenedFilters: a.filters || [...le.value]
14024
13941
  } : a.filterType === y.POSSESSION_VISUALISATIONS ? B.value = {
14025
13942
  ...we,
14026
13943
  ...a.templateProps
14027
13944
  } : a.filterType === y.POSITIONS ? B.value = {
14028
- ...v,
13945
+ ...m,
14029
13946
  ...a.templateProps,
14030
13947
  positions: a.filters || [
14031
13948
  { isSelected: !0, id: 1, name: "Portero" },
@@ -14043,7 +13960,7 @@ const f4 = { class: "filters" }, p4 = {
14043
13960
  ...a.templateProps,
14044
13961
  years: a.filters || Array.from({ length: 30 }, (I, re) => 1981 + re).sort((I, re) => re - I)
14045
13962
  } : a.filterType === y.NATIONALITIES && (B.value = {
14046
- ...m,
13963
+ ...v,
14047
13964
  ...a.templateProps,
14048
13965
  nationalities: a.filters || [
14049
13966
  { isSelected: !0, id: 138, name: "Mexicana" },
@@ -14069,7 +13986,7 @@ const f4 = { class: "filters" }, p4 = {
14069
13986
  }), N(R, (I) => {
14070
13987
  I || t("close", Z.value);
14071
13988
  });
14072
- function le() {
13989
+ function de() {
14073
13990
  M.value = a.filterType === y.UNIVERSE && a.showUniverseTime ? Ne.value : a.buttonFilterProps && a.buttonFilterProps.text ? a.buttonFilterProps.text : a.menuButtonText || O(), F.value = a.expansionPanelText || O();
14074
13991
  }
14075
13992
  function ae(I) {
@@ -14141,7 +14058,7 @@ const f4 = { class: "filters" }, p4 = {
14141
14058
  I.value && I.value.statistics && (I.value.minutesPlayed && re++, I.value.percentMinutesPlayed && re++, I.value.lastMonths && re++, I.value.statistics.totals && re++, I.value.statistics.averagePerGame && re++, I.value.statistics.averagePerMinute && re++), a.showUniverseTime && (Ne.value = `Durante los últimos ${I.value.lastMonths} meses`), B.value.universe = I.value, G.value = re, z(I.value);
14142
14059
  }
14143
14060
  function z(I) {
14144
- Z.value = I, le(), t("update:filters", I);
14061
+ Z.value = I, de(), t("update:filters", I);
14145
14062
  }
14146
14063
  function K(I) {
14147
14064
  q.value = I;
@@ -14321,20 +14238,20 @@ const y4 = { class: "dropdown__position" }, b4 = {
14321
14238
  }), n = H(() => {
14322
14239
  let d = t.positions && t.positions.length ? [...t.positions] : [];
14323
14240
  const c = d[0];
14324
- return (!c || c.id !== 0) && d.unshift(a), d.sort((v, u) => v.id - u.id), d;
14241
+ return (!c || c.id !== 0) && d.unshift(a), d.sort((m, u) => m.id - u.id), d;
14325
14242
  });
14326
14243
  N(
14327
14244
  n,
14328
14245
  (d) => {
14329
- const c = d.filter((v) => v.isSelected);
14246
+ const c = d.filter((m) => m.isSelected);
14330
14247
  c.length === n.value.length - 1 && (d[0].isSelected = !0), d[0] && d[0].isSelected ? o.value = "Todas las posiciones" : c.length === 1 ? o.value = c[0].name : o.value = `${c.length} seleccionadas`, i("change-positions", d);
14331
14248
  },
14332
14249
  { immediate: !0, deep: !0 }
14333
14250
  );
14334
14251
  function l(d, c) {
14335
- c.id === 0 ? n.value.forEach((v) => {
14336
- v.isSelected = d;
14337
- }) : (c.isSelected = d, n.value[0].isSelected = n.value.every((v, u) => u === 0 ? !0 : v.isSelected));
14252
+ c.id === 0 ? n.value.forEach((m) => {
14253
+ m.isSelected = d;
14254
+ }) : (c.isSelected = d, n.value[0].isSelected = n.value.every((m, u) => u === 0 ? !0 : m.isSelected));
14338
14255
  }
14339
14256
  return (d, c) => (f(), p("div", y4, [
14340
14257
  e.isLabelVisible ? (f(), p("div", b4, "Posición")) : T("", !0),
@@ -14351,14 +14268,14 @@ const y4 = { class: "dropdown__position" }, b4 = {
14351
14268
  ], 64))
14352
14269
  ])
14353
14270
  ]),
14354
- availableItem: se(({ item: v }) => [
14271
+ availableItem: se(({ item: m }) => [
14355
14272
  r("div", null, [
14356
14273
  L(D(ee), {
14357
- "model-value": v.isSelected,
14358
- label: e.isFemale ? v.name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : v.name,
14274
+ "model-value": m.isSelected,
14275
+ label: e.isFemale ? m.name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : m.name,
14359
14276
  fontFamily: e.fontFamily,
14360
14277
  width: "100%",
14361
- "onUpdate:modelValue": (u) => l(u, v)
14278
+ "onUpdate:modelValue": (u) => l(u, m)
14362
14279
  }, null, 8, ["model-value", "label", "fontFamily", "onUpdate:modelValue"])
14363
14280
  ])
14364
14281
  ]),
@@ -14607,18 +14524,18 @@ const F4 = (e) => (me("data-v-4dbc5ffe"), e = e(), he(), e), D4 = { class: "drop
14607
14524
  }
14608
14525
  ], s = w({}), n = H(() => {
14609
14526
  const c = { ...Ve };
14610
- return t.dropdownProps && Object.keys(t.dropdownProps).forEach((v) => {
14611
- c[v] = t.dropdownProps[v];
14527
+ return t.dropdownProps && Object.keys(t.dropdownProps).forEach((m) => {
14528
+ c[m] = t.dropdownProps[m];
14612
14529
  }), c;
14613
14530
  }), l = H(() => t.isFemaleMode ? o : a);
14614
14531
  N(
14615
14532
  l,
14616
14533
  (c) => {
14617
14534
  if (t.defaultPositionName) {
14618
- const v = c.find(
14535
+ const m = c.find(
14619
14536
  (u) => u.name === t.defaultPositionName
14620
14537
  );
14621
- v && (s.value = v);
14538
+ m && (s.value = m);
14622
14539
  } else
14623
14540
  s.value.ids || (s.value = c[0]);
14624
14541
  },
@@ -14627,7 +14544,7 @@ const F4 = (e) => (me("data-v-4dbc5ffe"), e = e(), he(), e), D4 = { class: "drop
14627
14544
  function d(c) {
14628
14545
  s.value = c, i("change-position", c);
14629
14546
  }
14630
- return (c, v) => (f(), p("div", D4, [
14547
+ return (c, m) => (f(), p("div", D4, [
14631
14548
  e.isLabelVisible ? (f(), p("div", B4, "Posición")) : T("", !0),
14632
14549
  L(D(Xe), Le(n.value, {
14633
14550
  items: l.value,
@@ -14642,7 +14559,7 @@ const F4 = (e) => (me("data-v-4dbc5ffe"), e = e(), he(), e), D4 = { class: "drop
14642
14559
  r("div", null, A(u.name), 1),
14643
14560
  r("div", null, [
14644
14561
  ie((f(), p("svg", H4, j4, 512)), [
14645
- [de, s.value.name === u.name]
14562
+ [ce, s.value.name === u.name]
14646
14563
  ])
14647
14564
  ])
14648
14565
  ])
@@ -14816,14 +14733,14 @@ const Z4 = (e) => (me("data-v-c3f4398d"), e = e(), he(), e), _4 = { class: "drop
14816
14733
  "arrow-width": "10",
14817
14734
  onInput: n
14818
14735
  }), {
14819
- default: se(({ selectedItem: v }) => [
14820
- r("div", V4, A(v.name), 1)
14736
+ default: se(({ selectedItem: m }) => [
14737
+ r("div", V4, A(m.name), 1)
14821
14738
  ]),
14822
- availableItem: se(({ item: v }) => [
14739
+ availableItem: se(({ item: m }) => [
14823
14740
  r("div", W4, [
14824
- r("div", null, A(v.name), 1),
14741
+ r("div", null, A(m.name), 1),
14825
14742
  ie((f(), p("svg", U4, q4, 512)), [
14826
- [de, o.value.name === v.name]
14743
+ [ce, o.value.name === m.name]
14827
14744
  ])
14828
14745
  ])
14829
14746
  ]),