oraculo-ui 0.2.67 → 0.2.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -32,7 +32,7 @@ function ae({
32
32
  rightIcon: S,
33
33
  iconOnly: _
34
34
  }) {
35
- const y = !!e && e !== !0, O = (!!h ? 1 : 0) + (!!S ? 1 : 0) == 1, L = _ != null ? _ : O && !y, I = [
35
+ const x = !!e && e !== !0, I = (!!h ? 1 : 0) + (!!S ? 1 : 0) == 1, L = _ != null ? _ : I && !x, O = [
36
36
  "orc-btn",
37
37
  c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  g ? `orc-btn--${g}` : "",
@@ -40,7 +40,7 @@ function ae({
40
40
  m ? "orc-btn--fullHeight" : "",
41
41
  L ? "orc-btn--iconOnly" : "",
42
42
  d
43
- ].filter(Boolean).join(" "), x = /* @__PURE__ */ b(te, { children: [
43
+ ].filter(Boolean).join(" "), y = /* @__PURE__ */ b(te, { children: [
44
44
  h && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: h }),
45
45
  !L && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
46
  S && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: S })
@@ -54,9 +54,9 @@ function ae({
54
54
  "aria-label": u,
55
55
  "aria-disabled": w,
56
56
  tabIndex: w ? -1 : void 0,
57
- className: I,
57
+ className: O,
58
58
  onClick: w ? (B) => B.preventDefault() : a,
59
- children: x
59
+ children: y
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
@@ -65,8 +65,8 @@ function ae({
65
65
  onClick: a,
66
66
  disabled: !!w,
67
67
  "aria-label": u,
68
- className: I,
69
- children: x
68
+ className: O,
69
+ children: y
70
70
  }
71
71
  );
72
72
  }
@@ -483,8 +483,8 @@ function $a({
483
483
  }) {
484
484
  const s = (n == null ? void 0 : n.base) === "D8D8D8" && (n == null ? void 0 : n.sleeve) === "D8D8D8" || (n == null ? void 0 : n.base) === "585858" && (n == null ? void 0 : n.sleeve) === "585858", l = (_) => _ ? _.startsWith("#") ? _ : `#${_}` : null;
485
485
  if (e === "TENNIS" && i == "" || e === "BASKETBALL" && (n == null || s)) {
486
- const y = `https://d28gilnhu2bcbp.cloudfront.net/landing/${e === "BASKETBALL" ? "basketball" : "tennis"}_default.png`;
487
- return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src: y, className: _e.flagImage }) });
486
+ const x = `https://d28gilnhu2bcbp.cloudfront.net/landing/${e === "BASKETBALL" ? "basketball" : "tennis"}_default.png`;
487
+ return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src: x, className: _e.flagImage }) });
488
488
  }
489
489
  if (e === "TENNIS")
490
490
  return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src: `https://img.sportradar.com/ls/crest/big/${i}.png`, className: _e.flagImage }) });
@@ -571,7 +571,7 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
571
571
  enableHorizontalWheel: f = !0,
572
572
  showRightGradient: m = !1
573
573
  }, d) => {
574
- const u = Z(null), h = Z(null), S = Z(e.length), _ = Z(null), y = Z(null), M = Z("user");
574
+ const u = Z(null), h = Z(null), S = Z(e.length), _ = Z(null), x = Z(null), M = Z("user");
575
575
  Aa(h, u, {
576
576
  enabled: f
577
577
  }), zt(d, () => ({
@@ -598,14 +598,14 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
598
598
  D = q;
599
599
  }
600
600
  return { visibleStart: P, visibleEnd: D };
601
- }, O = (E) => {
601
+ }, I = (E) => {
602
602
  const v = E.root.querySelector(".splide__track"), T = E.root.querySelector(".splide__list");
603
603
  return !v || !T ? !1 : T.scrollWidth > v.clientWidth + 1;
604
- }, L = Z(!1), I = Me((E) => {
604
+ }, L = Z(!1), O = Me((E) => {
605
605
  var G, q;
606
606
  if (L.current) return;
607
607
  const T = E.Components.Slides.getLength(), F = M.current;
608
- if (M.current = "user", !O(E)) {
608
+ if (M.current = "user", !I(E)) {
609
609
  c == null || c({
610
610
  index: 0,
611
611
  isStart: !0,
@@ -618,7 +618,7 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
618
618
  return;
619
619
  }
620
620
  const { visibleStart: R, visibleEnd: P } = k(E), V = R === 0, W = P === T - 1;
621
- m && ((G = _.current) == null || G.style.setProperty("--gradient-opacity", V ? "0" : "1"), (q = y.current) == null || q.style.setProperty("--gradient-opacity", W ? "0" : "1"));
621
+ m && ((G = _.current) == null || G.style.setProperty("--gradient-opacity", V ? "0" : "1"), (q = x.current) == null || q.style.setProperty("--gradient-opacity", W ? "0" : "1"));
622
622
  const D = E.Components.Controller.getIndex();
623
623
  c == null || c({
624
624
  index: D,
@@ -642,10 +642,10 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
642
642
  } finally {
643
643
  L.current = !1;
644
644
  }
645
- M.current = "resize", I(E);
645
+ M.current = "resize", O(E);
646
646
  });
647
- }, [e.length, I]);
648
- const x = Me(() => {
647
+ }, [e.length, O]);
648
+ const y = Me(() => {
649
649
  var v;
650
650
  const E = (v = u.current) == null ? void 0 : v.splide;
651
651
  if (E) {
@@ -655,13 +655,13 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
655
655
  } finally {
656
656
  L.current = !1;
657
657
  }
658
- M.current = "resize", I(E);
658
+ M.current = "resize", O(E);
659
659
  }
660
- }, [I]), w = Me(
660
+ }, [O]), w = Me(
661
661
  (E) => {
662
- M.current = "mounted", I(E);
662
+ M.current = "mounted", O(E);
663
663
  },
664
- [I]
664
+ [O]
665
665
  ), B = {
666
666
  type: "slide",
667
667
  trimSpace: !1,
@@ -689,9 +689,9 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
689
689
  {
690
690
  ref: u,
691
691
  options: B,
692
- onMove: I,
692
+ onMove: O,
693
693
  onMounted: w,
694
- onResize: x,
694
+ onResize: y,
695
695
  children: e.map((E, v) => {
696
696
  var T;
697
697
  return /* @__PURE__ */ t(Fa, { children: a(E, v) }, g ? v : (T = E.id) != null ? T : v);
@@ -727,7 +727,7 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
727
727
  /* @__PURE__ */ t(
728
728
  "div",
729
729
  {
730
- ref: y,
730
+ ref: x,
731
731
  className: `${ke.gradientOverlay} ${ke.right}`,
732
732
  style: { "--gradient-opacity": "1" },
733
733
  children: /* @__PURE__ */ b(
@@ -852,11 +852,11 @@ function za({
852
852
  }
853
853
  }) {
854
854
  var d, u, h, S;
855
- const s = (_, y) => {
856
- var M, k, O, L;
855
+ const s = (_, x) => {
856
+ var M, k, I, L;
857
857
  return {
858
- xs: (k = (M = i.xs) == null ? void 0 : M[_]) != null ? k : y,
859
- md: (L = (O = i.md) == null ? void 0 : O[_]) != null ? L : y
858
+ xs: (k = (M = i.xs) == null ? void 0 : M[_]) != null ? k : x,
859
+ md: (L = (I = i.md) == null ? void 0 : I[_]) != null ? L : x
860
860
  };
861
861
  }, l = s("w", 186), c = s("h", 264), g = s("r", 22.6), f = s("font", 64), m = {
862
862
  xs: Math.round(((u = (d = i.xs) == null ? void 0 : d.font) != null ? u : 64) * 0.28),
@@ -1501,26 +1501,26 @@ function en({ coupon: e }) {
1501
1501
  ).values()
1502
1502
  );
1503
1503
  return u.forEach((_) => {
1504
- var O;
1505
- const y = (O = _.betoffers) != null ? O : [], M = _.homeName, k = _.awayName;
1506
- y.forEach((L) => {
1504
+ var I;
1505
+ const x = (I = _.betoffers) != null ? I : [], M = _.homeName, k = _.awayName;
1506
+ x.forEach((L) => {
1507
1507
  var B, E, v, T, F, R, P;
1508
1508
  if (!((B = L == null ? void 0 : L.outcomes) != null && B.length)) return;
1509
- const I = L.outcomes[0];
1510
- if (!I) return;
1511
- let x = "";
1512
- const w = I != null && I.line ? I.line / 1e3 : "";
1513
- ["Más de", "Mas de", "Over"].includes(I.label) ? (x = `Más de ${w}`, I.participant && (x = `${I.participant} - ${x}`)) : ["Menos de", "Menos", "Under"].includes(I.label) ? (x = `Menos de ${w}`, I.participant && (x = `${I.participant} - ${x}`)) : ["Sí", "No"].includes(I.label) ? (x = I.label, I.participant && (x = `${I.participant} - ${x}`)) : ["1X", "12", "X2"].includes(I.label) ? (I.label === "1X" && (x = `${M} o Empate`), I.label === "12" && (x = `${M} o ${k}`), I.label === "X2" && (x = `${k} o Empate`)) : (x = (v = (E = I.participant) != null ? E : I.label) != null ? v : "", w !== "" && x === I.label && (x = `${I.label} ${w}`)), d.push({
1514
- id: I.id,
1515
- value: x,
1509
+ const O = L.outcomes[0];
1510
+ if (!O) return;
1511
+ let y = "";
1512
+ const w = O != null && O.line ? O.line / 1e3 : "";
1513
+ ["Más de", "Mas de", "Over"].includes(O.label) ? (y = `Más de ${w}`, O.participant && (y = `${O.participant} - ${y}`)) : ["Menos de", "Menos", "Under"].includes(O.label) ? (y = `Menos de ${w}`, O.participant && (y = `${O.participant} - ${y}`)) : ["Sí", "No"].includes(O.label) ? (y = O.label, O.participant && (y = `${O.participant} - ${y}`)) : ["1X", "12", "X2"].includes(O.label) ? (O.label === "1X" && (y = `${M} o Empate`), O.label === "12" && (y = `${M} o ${k}`), O.label === "X2" && (y = `${k} o Empate`)) : (y = (v = (E = O.participant) != null ? E : O.label) != null ? v : "", w !== "" && y === O.label && (y = `${O.label} ${w}`)), d.push({
1514
+ id: O.id,
1515
+ value: y,
1516
1516
  label: (F = (T = L.criterion) == null ? void 0 : T.label) != null ? F : "",
1517
- odds: (R = I.odds) != null ? R : 0,
1518
- position: (P = I.position) != null ? P : 0,
1517
+ odds: (R = O.odds) != null ? R : 0,
1518
+ position: (P = O.position) != null ? P : 0,
1519
1519
  eventId: _.id
1520
1520
  });
1521
1521
  });
1522
1522
  }), {
1523
- outcomes: d.sort((_, y) => _.position - y.position),
1523
+ outcomes: d.sort((_, x) => _.position - x.position),
1524
1524
  total: Number((S = m == null ? void 0 : m.combinadoTotal) != null ? S : 0).toLocaleString("en-US", {
1525
1525
  minimumFractionDigits: 2,
1526
1526
  maximumFractionDigits: 2
@@ -1538,16 +1538,16 @@ function en({ coupon: e }) {
1538
1538
  if (d.every((S) => S.groupId === u)) {
1539
1539
  const S = d[0].path;
1540
1540
  if (Array.isArray(S) && S.length > 0)
1541
- return `/deportes#sports-hub/${S.map((y) => y.termKey).filter(Boolean).join("/")}`;
1541
+ return `/deportes#sports-hub/${S.map((x) => x.termKey).filter(Boolean).join("/")}`;
1542
1542
  }
1543
1543
  return "/deportes#home";
1544
1544
  }
1545
1545
  const s = (m, d) => {
1546
1546
  const u = Array.isArray(m) ? m : [m], h = Array.from(
1547
1547
  new Set(
1548
- l.outcomes.map((y) => {
1548
+ l.outcomes.map((x) => {
1549
1549
  var k;
1550
- const M = g.get(Number(y.eventId));
1550
+ const M = g.get(Number(x.eventId));
1551
1551
  return (k = M == null ? void 0 : M.name) != null ? k : "";
1552
1552
  })
1553
1553
  )
@@ -1667,7 +1667,7 @@ function st({
1667
1667
  rightIcon: S,
1668
1668
  iconOnly: _
1669
1669
  }) {
1670
- const y = !!e && e !== !0, O = (!!h ? 1 : 0) + (!!S ? 1 : 0) == 1, L = _ != null ? _ : O && !y, I = [
1670
+ const x = !!e && e !== !0, I = (!!h ? 1 : 0) + (!!S ? 1 : 0) == 1, L = _ != null ? _ : I && !x, O = [
1671
1671
  ge["orc-btn"],
1672
1672
  // base
1673
1673
  ge[`orc-btn--${c}`],
@@ -1678,7 +1678,7 @@ function st({
1678
1678
  m ? ge["orc-btn--fullHeight"] : "",
1679
1679
  L ? ge["orc-btn--iconOnly"] : "",
1680
1680
  d
1681
- ].filter(Boolean).join(" "), x = /* @__PURE__ */ b(te, { children: [
1681
+ ].filter(Boolean).join(" "), y = /* @__PURE__ */ b(te, { children: [
1682
1682
  h && /* @__PURE__ */ t("span", { className: ge["orc-btn__icon"], children: h }),
1683
1683
  !L && /* @__PURE__ */ t("span", { className: ge["orc-btn__label"], children: e }),
1684
1684
  S && /* @__PURE__ */ t("span", { className: ge["orc-btn__icon"], children: S })
@@ -1692,9 +1692,9 @@ function st({
1692
1692
  "aria-label": u,
1693
1693
  "aria-disabled": w,
1694
1694
  tabIndex: w ? -1 : void 0,
1695
- className: I,
1695
+ className: O,
1696
1696
  onClick: w ? (B) => B.preventDefault() : a,
1697
- children: x
1697
+ children: y
1698
1698
  }
1699
1699
  ) : /* @__PURE__ */ t(
1700
1700
  "button",
@@ -1703,8 +1703,8 @@ function st({
1703
1703
  onClick: a,
1704
1704
  disabled: !!w,
1705
1705
  "aria-label": u,
1706
- className: I,
1707
- children: x
1706
+ className: O,
1707
+ children: y
1708
1708
  }
1709
1709
  );
1710
1710
  }
@@ -1734,22 +1734,22 @@ function hn({
1734
1734
  homeServe: l = !0
1735
1735
  }) {
1736
1736
  const c = n.reduce(
1737
- (M, k, O) => k >= 0 ? O : M,
1737
+ (M, k, I) => k >= 0 ? I : M,
1738
1738
  0
1739
1739
  );
1740
1740
  let g = 0, f = 0;
1741
1741
  n.forEach((M, k) => {
1742
1742
  var L;
1743
- const O = (L = o[k]) != null ? L : -1;
1744
- k !== c && M >= 0 && O >= 0 && (M > O && g++, O > M && f++);
1743
+ const I = (L = o[k]) != null ? L : -1;
1744
+ k !== c && M >= 0 && I >= 0 && (M > I && g++, I > M && f++);
1745
1745
  });
1746
1746
  const m = n[c] >= 0 ? n[c] : 0, d = o[c] >= 0 ? o[c] : 0, u = (M) => {
1747
1747
  if (typeof M == "number") return M;
1748
1748
  const k = String(M).trim().toUpperCase();
1749
1749
  return k === "A" || k === "ADV" ? 50 : parseInt(k, 10) || 0;
1750
1750
  }, h = u(i), S = u(s);
1751
- let _ = !1, y = !1;
1752
- return g !== f ? (_ = g > f, y = f > g) : m !== d ? (_ = m > d, y = d > m) : h !== S && (_ = h > S, y = S > h), /* @__PURE__ */ t("div", { className: H.tennisContainer, children: /* @__PURE__ */ b("table", { className: H.tennisTable, children: [
1751
+ let _ = !1, x = !1;
1752
+ return g !== f ? (_ = g > f, x = f > g) : m !== d ? (_ = m > d, x = d > m) : h !== S && (_ = h > S, x = S > h), /* @__PURE__ */ t("div", { className: H.tennisContainer, children: /* @__PURE__ */ b("table", { className: H.tennisTable, children: [
1753
1753
  /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ b("tr", { style: { height: "18px" }, children: [
1754
1754
  /* @__PURE__ */ t("th", { className: H.colName }),
1755
1755
  /* @__PURE__ */ t("th", { className: H.colHeader, children: "SETS" }),
@@ -1765,9 +1765,9 @@ function hn({
1765
1765
  ] }),
1766
1766
  /* @__PURE__ */ b("tr", { className: H.tennisTableRow, children: [
1767
1767
  /* @__PURE__ */ t("td", { className: H.cellPlayerNameAway, children: /* @__PURE__ */ t("span", { className: H.playerName, children: a }) }),
1768
- /* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${y ? H.active : ""}`, children: f }),
1769
- /* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${H.border} ${y ? H.active : ""}`, children: d }),
1770
- /* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${y ? H.active : ""}`, children: s })
1768
+ /* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${x ? H.active : ""}`, children: f }),
1769
+ /* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${H.border} ${x ? H.active : ""}`, children: d }),
1770
+ /* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${x ? H.active : ""}`, children: s })
1771
1771
  ] })
1772
1772
  ] })
1773
1773
  ] }) });
@@ -1809,7 +1809,7 @@ const bn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", _n = "
1809
1809
  return e ? (a = xn[e]) != null ? a : e : "";
1810
1810
  };
1811
1811
  function Sn({ event: e, liveData: a, betOffers: n, jersey: o }) {
1812
- var u, h, S, _, y, M, k, O, L, I, x, w, B, E, v, T, F, R, P, V, W, D, G, q, K, Y, r, p, C, A;
1812
+ var u, h, S, _, x, M, k, I, L, O, y, w, B, E, v, T, F, R, P, V, W, D, G, q, K, Y, r, p, C, A;
1813
1813
  const i = ((u = e == null ? void 0 : e.sport) == null ? void 0 : u.toUpperCase()) === "TENNIS", s = ((h = e == null ? void 0 : e.sport) == null ? void 0 : h.toUpperCase()) === "BASKETBALL", l = ((S = e == null ? void 0 : e.sport) == null ? void 0 : S.toUpperCase()) === "FOOTBALL", c = n == null ? void 0 : n.find(
1814
1814
  (N) => {
1815
1815
  var $;
@@ -1837,11 +1837,11 @@ function Sn({ event: e, liveData: a, betOffers: n, jersey: o }) {
1837
1837
  /* @__PURE__ */ t(
1838
1838
  la,
1839
1839
  {
1840
- title: (k = (M = (y = e == null ? void 0 : e.path) == null ? void 0 : y[0]) == null ? void 0 : M.name) != null ? k : "",
1841
- subtitle: (O = e == null ? void 0 : e.group) != null ? O : "",
1840
+ title: (k = (M = (x = e == null ? void 0 : e.path) == null ? void 0 : x[0]) == null ? void 0 : M.name) != null ? k : "",
1841
+ subtitle: (I = e == null ? void 0 : e.group) != null ? I : "",
1842
1842
  live: !0,
1843
1843
  time: i ? f() : ((L = a == null ? void 0 : a.matchClock) == null ? void 0 : L.minute) != null ? `${a.matchClock.minute}'` : "",
1844
- extra: s ? ut((I = a == null ? void 0 : a.matchClock) == null ? void 0 : I.periodId) : ""
1844
+ extra: s ? ut((O = a == null ? void 0 : a.matchClock) == null ? void 0 : O.periodId) : ""
1845
1845
  }
1846
1846
  ),
1847
1847
  /* @__PURE__ */ t("div", { children: i ? /* @__PURE__ */ t(
@@ -1849,7 +1849,7 @@ function Sn({ event: e, liveData: a, betOffers: n, jersey: o }) {
1849
1849
  {
1850
1850
  homeName: e == null ? void 0 : e.homeName,
1851
1851
  awayName: e == null ? void 0 : e.awayName,
1852
- homeSets: (B = (w = (x = a == null ? void 0 : a.statistics) == null ? void 0 : x.sets) == null ? void 0 : w.home) != null ? B : [],
1852
+ homeSets: (B = (w = (y = a == null ? void 0 : a.statistics) == null ? void 0 : y.sets) == null ? void 0 : w.home) != null ? B : [],
1853
1853
  awaySets: (T = (v = (E = a == null ? void 0 : a.statistics) == null ? void 0 : E.sets) == null ? void 0 : v.away) != null ? T : [],
1854
1854
  homePoints: (R = (F = a == null ? void 0 : a.score) == null ? void 0 : F.home) != null ? R : "0",
1855
1855
  awayPoints: (V = (P = a == null ? void 0 : a.score) == null ? void 0 : P.away) != null ? V : "0",
@@ -1951,12 +1951,12 @@ function Nn({ event: e, jersey: a }) {
1951
1951
  const n = se(), o = ce();
1952
1952
  function i(d) {
1953
1953
  const u = new Date(d), h = u.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), S = u.getDate().toString().padStart(2, "0"), _ = (u.getMonth() + 1).toString().padStart(2, "0");
1954
- let y = u.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1955
- return y = y.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${h} ${S}/${_} | ${y}`;
1954
+ let x = u.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1955
+ return x = x.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${h} ${S}/${_} | ${x}`;
1956
1956
  }
1957
1957
  const s = (d) => {
1958
- var k, O, L, I, x, w, B, E;
1959
- const u = `/deportes#event/${e.id}`, h = `${e.homeName} vs ${e.awayName}`, S = d.odds ? (d.odds / 1e3).toFixed(2) : "", _ = S ? `${h} - Cuota: ${S}` : h, y = (k = e == null ? void 0 : e.outcome) == null ? void 0 : k[0], M = new CustomEvent("ORACULO_WEEKLY_OUTCOME_SELECTED", {
1958
+ var k, I, L, O, y, w, B, E;
1959
+ const u = `/deportes#event/${e.id}`, h = `${e.homeName} vs ${e.awayName}`, S = d.odds ? (d.odds / 1e3).toFixed(2) : "", _ = S ? `${h} - Cuota: ${S}` : h, x = (k = e == null ? void 0 : e.outcome) == null ? void 0 : k[0], M = new CustomEvent("ORACULO_WEEKLY_OUTCOME_SELECTED", {
1960
1960
  cancelable: !0,
1961
1961
  detail: {
1962
1962
  eventId: e.id,
@@ -1967,14 +1967,14 @@ function Nn({ event: e, jersey: a }) {
1967
1967
  sport: e.sport,
1968
1968
  league: e.group,
1969
1969
  leagueId: e.groupId,
1970
- country: (L = (O = e.path) == null ? void 0 : O[1]) == null ? void 0 : L.name,
1970
+ country: (L = (I = e.path) == null ? void 0 : I[1]) == null ? void 0 : L.name,
1971
1971
  outcomeId: d.id,
1972
1972
  outcomeLabel: d.label,
1973
1973
  outcomeType: d.type,
1974
1974
  odds: d.odds,
1975
- betOfferId: (I = d.betOfferId) != null ? I : y == null ? void 0 : y.id,
1976
- criterionId: (x = y == null ? void 0 : y.criterion) == null ? void 0 : x.id,
1977
- market: (E = (w = y == null ? void 0 : y.criterion) == null ? void 0 : w.label) != null ? E : (B = y == null ? void 0 : y.betOfferType) == null ? void 0 : B.name,
1975
+ betOfferId: (O = d.betOfferId) != null ? O : x == null ? void 0 : x.id,
1976
+ criterionId: (y = x == null ? void 0 : x.criterion) == null ? void 0 : y.id,
1977
+ market: (E = (w = x == null ? void 0 : x.criterion) == null ? void 0 : w.label) != null ? E : (B = x == null ? void 0 : x.betOfferType) == null ? void 0 : B.name,
1978
1978
  destination: u
1979
1979
  }
1980
1980
  });
@@ -2002,34 +2002,34 @@ function Nn({ event: e, jersey: a }) {
2002
2002
  /* @__PURE__ */ t(In, { text: i(e.start) })
2003
2003
  ] }),
2004
2004
  /* @__PURE__ */ t(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: (() => {
2005
- var y, M, k;
2006
- const d = (k = (M = (y = e == null ? void 0 : e.outcome) == null ? void 0 : y[0]) == null ? void 0 : M.outcomes) != null ? k : [], u = (e == null ? void 0 : e.sport) === "TENNIS", h = { OT_ONE: 1, OT_CROSS: 2, OT_TWO: 3 }, S = [...d].sort((O, L) => {
2005
+ var x, M, k;
2006
+ const d = (k = (M = (x = e == null ? void 0 : e.outcome) == null ? void 0 : x[0]) == null ? void 0 : M.outcomes) != null ? k : [], u = (e == null ? void 0 : e.sport) === "TENNIS", h = { OT_ONE: 1, OT_CROSS: 2, OT_TWO: 3 }, S = [...d].sort((I, L) => {
2007
2007
  var w, B;
2008
- if (O.displayOrder !== void 0 && L.displayOrder !== void 0)
2009
- return O.displayOrder - L.displayOrder;
2010
- const I = O.type && (w = h[O.type]) != null ? w : 99, x = L.type && (B = h[L.type]) != null ? B : 99;
2011
- return I - x;
2012
- }), _ = (O) => {
2013
- var L, I, x, w;
2014
- return u || S.length === 2 ? O.type === "OT_ONE" ? "1" : O.type === "OT_TWO" ? "2" : (I = (L = O.label) == null ? void 0 : L.toUpperCase()) != null ? I : "" : (w = (x = O.label) == null ? void 0 : x.toUpperCase()) != null ? w : "";
2008
+ if (I.displayOrder !== void 0 && L.displayOrder !== void 0)
2009
+ return I.displayOrder - L.displayOrder;
2010
+ const O = I.type && (w = h[I.type]) != null ? w : 99, y = L.type && (B = h[L.type]) != null ? B : 99;
2011
+ return O - y;
2012
+ }), _ = (I) => {
2013
+ var L, O, y, w;
2014
+ return u || S.length === 2 ? I.type === "OT_ONE" ? "1" : I.type === "OT_TWO" ? "2" : (O = (L = I.label) == null ? void 0 : L.toUpperCase()) != null ? O : "" : (w = (y = I.label) == null ? void 0 : y.toUpperCase()) != null ? w : "";
2015
2015
  };
2016
2016
  return /* @__PURE__ */ b(te, { children: [
2017
- /* @__PURE__ */ t(me, { spacing: 1, children: S.map((O, L) => /* @__PURE__ */ t(
2017
+ /* @__PURE__ */ t(me, { spacing: 1, children: S.map((I, L) => /* @__PURE__ */ t(
2018
2018
  Ye,
2019
2019
  {
2020
- text: _(O)
2020
+ text: _(I)
2021
2021
  },
2022
- O.id || L
2022
+ I.id || L
2023
2023
  )) }),
2024
- /* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: S.map((O, L) => /* @__PURE__ */ t(
2024
+ /* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: S.map((I, L) => /* @__PURE__ */ t(
2025
2025
  ae,
2026
2026
  {
2027
2027
  variant: "primary",
2028
2028
  fullHeight: !0,
2029
- onClick: () => s(O),
2030
- children: (O.odds / 1e3).toFixed(2)
2029
+ onClick: () => s(I),
2030
+ children: (I.odds / 1e3).toFixed(2)
2031
2031
  },
2032
- O.id || L
2032
+ I.id || L
2033
2033
  )) }) })
2034
2034
  ] });
2035
2035
  })() })
@@ -2057,9 +2057,9 @@ function An({
2057
2057
  className: s = "",
2058
2058
  paddingMobile: l = "24px"
2059
2059
  }) {
2060
- var I;
2060
+ var O;
2061
2061
  const c = Z(null), [g, f] = ee({ isStart: !0, isEnd: !1 }), m = se(), d = ce(), u = pe(), h = !e || e.length === 0, S = () => {
2062
- var x;
2062
+ var y;
2063
2063
  m({
2064
2064
  element: "destacados_carousel_prev",
2065
2065
  label: `${d} - OraculoSeccionDestacados - Anterior`,
@@ -2070,9 +2070,9 @@ function An({
2070
2070
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2071
2071
  },
2072
2072
  tags: { section: "OraculoSeccionDestacados" }
2073
- }), (x = c.current) == null || x.prev();
2073
+ }), (y = c.current) == null || y.prev();
2074
2074
  }, _ = () => {
2075
- var x;
2075
+ var y;
2076
2076
  m({
2077
2077
  element: "destacados_carousel_next",
2078
2078
  label: `${d} - OraculoSeccionDestacados - Siguiente`,
@@ -2083,8 +2083,8 @@ function An({
2083
2083
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2084
2084
  },
2085
2085
  tags: { section: "OraculoSeccionDestacados" }
2086
- }), (x = c.current) == null || x.next();
2087
- }, y = () => {
2086
+ }), (y = c.current) == null || y.next();
2087
+ }, x = () => {
2088
2088
  m({
2089
2089
  element: "destacados_view_more",
2090
2090
  label: `${d} - OraculoSeccionDestacados - Ver más`,
@@ -2096,19 +2096,19 @@ function An({
2096
2096
  },
2097
2097
  tags: { section: "OraculoSeccionDestacados" }
2098
2098
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
2099
- }, M = s || void 0, k = Ne("(max-width:950px)"), O = (I = e == null ? void 0 : e.length) != null ? I : 0;
2099
+ }, M = s || void 0, k = Ne("(max-width:950px)"), I = (O = e == null ? void 0 : e.length) != null ? O : 0;
2100
2100
  re(() => {
2101
- if (O === 0) {
2101
+ if (I === 0) {
2102
2102
  f({ isStart: !0, isEnd: !0 });
2103
2103
  return;
2104
2104
  }
2105
2105
  f({ isStart: !0, isEnd: !1 });
2106
- }, [O, k, l]);
2107
- const L = (x) => {
2108
- const w = x.promotion, B = w ? `https://www.olimpo.bet/promociones/${encodeURIComponent(w)}` : "";
2106
+ }, [I, k, l]);
2107
+ const L = (y) => {
2108
+ const w = y.promotion, B = w ? `https://www.olimpo.bet/promociones/${encodeURIComponent(w)}` : "";
2109
2109
  if (m({
2110
2110
  element: "destacados_card",
2111
- label: `${d} - OraculoSeccionDestacados - Click: ${w || x.title}`,
2111
+ label: `${d} - OraculoSeccionDestacados - Click: ${w || y.title}`,
2112
2112
  target: B || "custom_item_action",
2113
2113
  event_type: "click",
2114
2114
  module_id: u,
@@ -2120,7 +2120,7 @@ function An({
2120
2120
  promotion: String(w || "")
2121
2121
  }
2122
2122
  }), i) {
2123
- i(x);
2123
+ i(y);
2124
2124
  return;
2125
2125
  }
2126
2126
  B && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(B);
@@ -2165,7 +2165,7 @@ function An({
2165
2165
  }
2166
2166
  )
2167
2167
  ] }),
2168
- /* @__PURE__ */ t(ae, { variant: "secondary", onClick: y, children: "Ver más" })
2168
+ /* @__PURE__ */ t(ae, { variant: "secondary", onClick: x, children: "Ver más" })
2169
2169
  ]
2170
2170
  }
2171
2171
  ),
@@ -2183,7 +2183,7 @@ function An({
2183
2183
  768: { perPage: 2, focus: "start", padding: { left: l, right: l } },
2184
2184
  1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
2185
2185
  },
2186
- renderItem: (x) => {
2186
+ renderItem: (y) => {
2187
2187
  const w = typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px";
2188
2188
  return h ? /* @__PURE__ */ t("div", { style: { width: "100%" }, children: /* @__PURE__ */ t(
2189
2189
  X,
@@ -2199,19 +2199,19 @@ function An({
2199
2199
  }
2200
2200
  }
2201
2201
  }
2202
- ) }, x.title) : /* @__PURE__ */ t(
2202
+ ) }, y.title) : /* @__PURE__ */ t(
2203
2203
  "div",
2204
2204
  {
2205
2205
  style: {
2206
2206
  textAlign: "center",
2207
2207
  cursor: "pointer"
2208
2208
  },
2209
- onClick: () => L(x),
2209
+ onClick: () => L(y),
2210
2210
  children: /* @__PURE__ */ t(
2211
2211
  "img",
2212
2212
  {
2213
- src: `https://olimpo.bet${x.image !== "" ? x.image : x.summary_image}`,
2214
- alt: x.title,
2213
+ src: `https://olimpo.bet${y.image !== "" ? y.image : y.summary_image}`,
2214
+ alt: y.title,
2215
2215
  style: {
2216
2216
  width: "100%",
2217
2217
  height: w,
@@ -2222,11 +2222,11 @@ function An({
2222
2222
  }
2223
2223
  )
2224
2224
  },
2225
- `${x.title}-${x.image}`
2225
+ `${y.title}-${y.image}`
2226
2226
  );
2227
2227
  },
2228
- onMove: ({ isStart: x, isEnd: w, source: B }) => {
2229
- f({ isStart: x, isEnd: w }), B === "user" && m({
2228
+ onMove: ({ isStart: y, isEnd: w, source: B }) => {
2229
+ f({ isStart: y, isEnd: w }), B === "user" && m({
2230
2230
  element: "destacados_carousel_slide",
2231
2231
  label: `${d} - OraculoSeccionDestacados - Slide Carousel`,
2232
2232
  target: "carousel",
@@ -2234,7 +2234,7 @@ function An({
2234
2234
  module_id: u,
2235
2235
  metadata: {
2236
2236
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2237
- isStart: x,
2237
+ isStart: y,
2238
2238
  isEnd: w
2239
2239
  },
2240
2240
  tags: { section: "OraculoSeccionDestacados" }
@@ -2352,7 +2352,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2352
2352
  "Casino en vivo": "Live",
2353
2353
  "Deportes virtuales": "Virtuales"
2354
2354
  }, Vn = (e, a) => {
2355
- var n, o, i, s, l, c, g, f, m, d, u, h, S, _, y;
2355
+ var n, o, i, s, l, c, g, f, m, d, u, h, S, _, x;
2356
2356
  return {
2357
2357
  orden: Number(a),
2358
2358
  machine: String(
@@ -2375,7 +2375,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2375
2375
  background: (h = e.background) != null ? h : "",
2376
2376
  rtp: (S = e.rtp) != null ? S : null,
2377
2377
  demo_allowed: (_ = e.demo_allowed) != null ? _ : !1,
2378
- gaming_session_required: (y = e.gaming_session_required) != null ? y : !1
2378
+ gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
2379
2379
  };
2380
2380
  }, Wn = (e, a) => {
2381
2381
  if (!e) return [];
@@ -2478,17 +2478,17 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2478
2478
  isLoggedIn: m = !1,
2479
2479
  onToggleFavorite: d
2480
2480
  }) => {
2481
- const u = se(), h = ce(), S = pe(), _ = Jn(g), { resolvedItems: y, loading: M } = jn(
2481
+ const u = se(), h = ce(), S = pe(), _ = Jn(g), { resolvedItems: x, loading: M } = jn(
2482
2482
  e,
2483
2483
  _
2484
- ), k = _ ? y : Array.isArray(e) ? e : [], O = _ ? M : !Array.isArray(e) || e.length === 0, L = Me(
2484
+ ), k = _ ? x : Array.isArray(e) ? e : [], I = _ ? M : !Array.isArray(e) || e.length === 0, L = Me(
2485
2485
  (w, B) => {
2486
2486
  if (!d) return;
2487
2487
  const E = !!w.favourite;
2488
2488
  B !== E && d(w, B);
2489
2489
  },
2490
2490
  [d]
2491
- ), I = (w) => {
2491
+ ), O = (w) => {
2492
2492
  u({
2493
2493
  element: "live_casino_card",
2494
2494
  label: `${h} - OraculoSeccionCasinoEnVivo${_ ? " - personalize" : ""} - Open game: ${String(w.machine || "unknown")}`,
@@ -2519,7 +2519,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2519
2519
  Ze(String(w.machine || "")), B == null || B(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2520
2520
  E == null || E(w, !1, "casino_en_vivo");
2521
2521
  });
2522
- }, x = () => {
2522
+ }, y = () => {
2523
2523
  u({
2524
2524
  element: "casino_en_vivo_view_more",
2525
2525
  label: `${h} - OraculoSeccionCasinoEnVivo${_ ? " - personalize" : ""} - Ver más`,
@@ -2619,7 +2619,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2619
2619
  {
2620
2620
  variant: "primary",
2621
2621
  size: "md",
2622
- onClick: x,
2622
+ onClick: y,
2623
2623
  children: "Ver más"
2624
2624
  }
2625
2625
  ) })
@@ -2635,7 +2635,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2635
2635
  py: { xs: 3, md: 0 },
2636
2636
  alignItems: "center"
2637
2637
  },
2638
- children: O ? Array.from({ length: 3 }).map((w, B) => /* @__PURE__ */ t(it, { loading: !0, logo: "" }, `sk-${B}`)) : (k != null ? k : []).slice(0, 3).map((w, B) => {
2638
+ children: I ? Array.from({ length: 3 }).map((w, B) => /* @__PURE__ */ t(it, { loading: !0, logo: "" }, `sk-${B}`)) : (k != null ? k : []).slice(0, 3).map((w, B) => {
2639
2639
  var E;
2640
2640
  return /* @__PURE__ */ t(
2641
2641
  it,
@@ -2645,7 +2645,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2645
2645
  provider: w.provider,
2646
2646
  providerName: w.web_name,
2647
2647
  machine: w.machine,
2648
- onClick: () => I(w),
2648
+ onClick: () => O(w),
2649
2649
  existFavorite: f,
2650
2650
  isFavorite: m ? !!w.favourite : void 0,
2651
2651
  onToggleFavorite: m && d ? (v) => L(w, v) : void 0
@@ -2660,7 +2660,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2660
2660
  {
2661
2661
  variant: "primary",
2662
2662
  size: "lg",
2663
- onClick: x,
2663
+ onClick: y,
2664
2664
  children: "Ver más"
2665
2665
  }
2666
2666
  ) })
@@ -2722,7 +2722,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2722
2722
  gridSize: l = 1,
2723
2723
  isPersonalize: c = !1
2724
2724
  }) => {
2725
- const g = se(), f = ce(), m = pe(), d = Z(null), [u, h] = ee({ isStart: !0, isEnd: !1 }), S = Qn(c), { resolvedItems: _, loading: y } = Gn(
2725
+ const g = se(), f = ce(), m = pe(), d = Z(null), [u, h] = ee({ isStart: !0, isEnd: !1 }), S = Qn(c), { resolvedItems: _, loading: x } = Gn(
2726
2726
  e,
2727
2727
  S
2728
2728
  ), M = S ? _ : Array.isArray(e) ? e : [], k = () => {
@@ -2738,7 +2738,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2738
2738
  },
2739
2739
  tags: { section: "OraculoSeccionCasino" }
2740
2740
  }), (E = d.current) == null || E.prev();
2741
- }, O = () => {
2741
+ }, I = () => {
2742
2742
  var E;
2743
2743
  g({
2744
2744
  element: "casino_next",
@@ -2767,13 +2767,13 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2767
2767
  return;
2768
2768
  }
2769
2769
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2770
- }, I = (E = !0, v = 4) => {
2770
+ }, O = (E = !0, v = 4) => {
2771
2771
  const T = (R) => Array.from({ length: R }, (P, V) => ({
2772
2772
  id: `sk-${R}-${V}`,
2773
2773
  imageUrl: ""
2774
2774
  })), F = [];
2775
2775
  return E && F.push({ id: "mosaic-loading", kind: "mosaic", items: T(5) }), F.push({ id: "grid-loading", kind: "grid", items: T(v) }), F;
2776
- }, x = S ? y : !Array.isArray(e) || e.length === 0, w = et("(max-width:950px)"), B = x ? I(s, l) : Yn(M, s, l);
2776
+ }, y = S ? x : !Array.isArray(e) || e.length === 0, w = et("(max-width:950px)"), B = y ? O(s, l) : Yn(M, s, l);
2777
2777
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2778
2778
  /* @__PURE__ */ b(
2779
2779
  U,
@@ -2810,7 +2810,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2810
2810
  variant: "secondary",
2811
2811
  iconOnly: !0,
2812
2812
  rightIcon: /* @__PURE__ */ t(St, {}),
2813
- onClick: O,
2813
+ onClick: I,
2814
2814
  disabled: u.isEnd
2815
2815
  }
2816
2816
  )
@@ -2851,9 +2851,9 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2851
2851
  {
2852
2852
  items: E.items,
2853
2853
  layout: E.kind === "mosaic" ? "mosaic" : "grid",
2854
- loading: x,
2854
+ loading: y,
2855
2855
  onClick: (v) => {
2856
- if (x) return;
2856
+ if (y) return;
2857
2857
  const T = M.find(
2858
2858
  (P, V) => String(At(P, V)) === String(v.id)
2859
2859
  );
@@ -2949,7 +2949,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2949
2949
  gridSize: l = 1,
2950
2950
  isPersonalize: c = !1
2951
2951
  }) => {
2952
- const g = Z(null), [f, m] = ee({ isStart: !0, isEnd: !1 }), d = se(), u = ce(), h = pe(), S = to(c), { resolvedItems: _, loading: y } = Zn(
2952
+ const g = Z(null), [f, m] = ee({ isStart: !0, isEnd: !1 }), d = se(), u = ce(), h = pe(), S = to(c), { resolvedItems: _, loading: x } = Zn(
2953
2953
  e,
2954
2954
  S
2955
2955
  ), M = S ? _ : Array.isArray(e) ? e : [], k = () => {
@@ -2965,7 +2965,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2965
2965
  },
2966
2966
  tags: { section: "OraculoSeccionVirtuales" }
2967
2967
  }), (B = g.current) == null || B.prev();
2968
- }, O = () => {
2968
+ }, I = () => {
2969
2969
  var B;
2970
2970
  d({
2971
2971
  element: "virtuales_next",
@@ -2994,7 +2994,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2994
2994
  return;
2995
2995
  }
2996
2996
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2997
- }, I = S ? y : !Array.isArray(e) || e.length === 0, x = Ne("(max-width:950px)"), w = I ? no(s, l) : ao(M, s, l);
2997
+ }, O = S ? x : !Array.isArray(e) || e.length === 0, y = Ne("(max-width:950px)"), w = O ? no(s, l) : ao(M, s, l);
2998
2998
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2999
2999
  /* @__PURE__ */ b(
3000
3000
  U,
@@ -3031,7 +3031,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3031
3031
  variant: "secondary",
3032
3032
  iconOnly: !0,
3033
3033
  rightIcon: /* @__PURE__ */ t(St, {}),
3034
- onClick: O,
3034
+ onClick: I,
3035
3035
  disabled: f.isEnd
3036
3036
  }
3037
3037
  )
@@ -3065,16 +3065,16 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3065
3065
  }
3066
3066
  },
3067
3067
  enableHorizontalWheel: !0,
3068
- showRightGradient: !x,
3068
+ showRightGradient: !y,
3069
3069
  options: { autoWidth: !0, trimSpace: "move" },
3070
3070
  renderItem: (B) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
3071
3071
  Tt,
3072
3072
  {
3073
3073
  items: B.items,
3074
3074
  layout: B.kind === "mosaic" ? "mosaic" : "grid",
3075
- loading: I,
3075
+ loading: O,
3076
3076
  onClick: (E) => {
3077
- if (I) return;
3077
+ if (O) return;
3078
3078
  const v = M.find(
3079
3079
  (R, P) => String(Mt(R, P)) === String(E.id)
3080
3080
  );
@@ -3159,17 +3159,17 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3159
3159
  }, 500);
3160
3160
  return () => clearTimeout(v);
3161
3161
  }, []);
3162
- const y = Z(S);
3162
+ const x = Z(S);
3163
3163
  re(() => {
3164
- y.current = S;
3164
+ x.current = S;
3165
3165
  }, [S]);
3166
- const M = Z(!1), k = Z(null), O = n == null ? void 0 : n[u], L = de(
3166
+ const M = Z(!1), k = Z(null), I = n == null ? void 0 : n[u], L = de(
3167
3167
  () => {
3168
3168
  var v, T;
3169
- return (T = (v = O == null ? void 0 : O.backgroundImageUrl) != null ? v : o) != null ? T : "";
3169
+ return (T = (v = I == null ? void 0 : I.backgroundImageUrl) != null ? v : o) != null ? T : "";
3170
3170
  },
3171
- [O, o]
3172
- ), I = ro(L), x = !n || n.length === 0, w = (v, T) => {
3171
+ [I, o]
3172
+ ), O = ro(L), y = !n || n.length === 0, w = (v, T) => {
3173
3173
  i({
3174
3174
  element: "welcome_banner_button",
3175
3175
  label: `OraculoSeccionBonoBienvenida - Banner button click: ${v.title || "OraculoSeccionBonoBienvenida - Banner " + (T + 1)}`,
@@ -3216,18 +3216,18 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3216
3216
  if (!v) return;
3217
3217
  const T = 6, F = 380, R = (P) => {
3218
3218
  var G, q;
3219
- if (x || P.ctrlKey || M.current) return;
3219
+ if (y || P.ctrlKey || M.current) return;
3220
3220
  const V = P.deltaX, W = P.deltaY;
3221
3221
  if (Math.abs(V) <= Math.abs(W) || Math.abs(V) < T) return;
3222
3222
  const D = V > 0;
3223
- D && y.current.isEnd || !D && y.current.isStart || (P.preventDefault(), M.current = !0, D ? (G = g.current) == null || G.next() : (q = g.current) == null || q.prev(), k.current && window.clearTimeout(k.current), k.current = window.setTimeout(() => {
3223
+ D && x.current.isEnd || !D && x.current.isStart || (P.preventDefault(), M.current = !0, D ? (G = g.current) == null || G.next() : (q = g.current) == null || q.prev(), k.current && window.clearTimeout(k.current), k.current = window.setTimeout(() => {
3224
3224
  M.current = !1;
3225
3225
  }, F));
3226
3226
  };
3227
3227
  return v.addEventListener("wheel", R, { passive: !1 }), () => {
3228
3228
  v.removeEventListener("wheel", R), k.current && window.clearTimeout(k.current);
3229
3229
  };
3230
- }, [x]);
3230
+ }, [y]);
3231
3231
  const E = (v, T, F) => {
3232
3232
  var V, W;
3233
3233
  const R = (V = v.headline) != null ? V : e, P = (W = v.headline2) != null ? W : a;
@@ -3290,7 +3290,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3290
3290
  ) })
3291
3291
  ] });
3292
3292
  };
3293
- return /* @__PURE__ */ b(U, { component: "section", sx: I, children: [
3293
+ return /* @__PURE__ */ b(U, { component: "section", sx: O, children: [
3294
3294
  /* @__PURE__ */ t("div", { ref: f, style: { width: "100%" }, children: /* @__PURE__ */ t(
3295
3295
  xe,
3296
3296
  {
@@ -3354,10 +3354,10 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3354
3354
  let _ = s;
3355
3355
  if ((!(_ != null && _.user) || !(_ != null && _.session)) && typeof window != "undefined")
3356
3356
  try {
3357
- const y = localStorage.getItem("user");
3358
- y && (_ = JSON.parse(y));
3359
- } catch (y) {
3360
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", y);
3357
+ const x = localStorage.getItem("user");
3358
+ x && (_ = JSON.parse(x));
3359
+ } catch (x) {
3360
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", x);
3361
3361
  }
3362
3362
  if (!(_ != null && _.user) || !(_ != null && _.session))
3363
3363
  return console.warn("User data missing"), null;
@@ -3373,7 +3373,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3373
3373
  tags: { section: "OraculoSeccionClubOlimpo" }
3374
3374
  });
3375
3375
  try {
3376
- const y = {
3376
+ const x = {
3377
3377
  idUsuario: "PE" + _.user,
3378
3378
  session_id: _.session,
3379
3379
  pagina: "home"
@@ -3382,15 +3382,15 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3382
3382
  headers: {
3383
3383
  "Content-Type": "application/json"
3384
3384
  },
3385
- body: JSON.stringify(y)
3385
+ body: JSON.stringify(x)
3386
3386
  });
3387
3387
  if (k.ok) {
3388
- const O = await k.json();
3389
- return O == null ? void 0 : O.url;
3388
+ const I = await k.json();
3389
+ return I == null ? void 0 : I.url;
3390
3390
  }
3391
3391
  return null;
3392
- } catch (y) {
3393
- return console.error("[getMarketPlaceUrl]", y), null;
3392
+ } catch (x) {
3393
+ return console.error("[getMarketPlaceUrl]", x), null;
3394
3394
  }
3395
3395
  }, u = async () => {
3396
3396
  const _ = await d();
@@ -3398,13 +3398,13 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3398
3398
  }, h = Array.isArray(n) ? n[o] : n;
3399
3399
  Vt(() => {
3400
3400
  if (!l.current || !c.current || typeof ResizeObserver == "undefined") return;
3401
- const _ = l.current, y = c.current, M = () => {
3401
+ const _ = l.current, x = c.current, M = () => {
3402
3402
  _.style.setProperty(
3403
3403
  "--orc-co-bottomH",
3404
- `${y.offsetHeight + 16}px`
3404
+ `${x.offsetHeight + 16}px`
3405
3405
  );
3406
3406
  }, k = new ResizeObserver(M);
3407
- return k.observe(y), M(), () => k.disconnect();
3407
+ return k.observe(x), M(), () => k.disconnect();
3408
3408
  }, []);
3409
3409
  const S = [
3410
3410
  "orc-co-wrap",
@@ -3480,7 +3480,7 @@ function go({
3480
3480
  className: i = ""
3481
3481
  }) {
3482
3482
  const s = se(), l = ce(), c = pe(), g = Z(null), [f, m] = ee({ isStart: !0, isEnd: !1 }), [d, u] = ee([]), h = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", S = () => {
3483
- var I;
3483
+ var O;
3484
3484
  s({
3485
3485
  element: "evento_combinadas_prev",
3486
3486
  label: `${l} - OraculoSeccionEventoCombinadas - Click: Anterior`,
@@ -3490,9 +3490,9 @@ function go({
3490
3490
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3491
3491
  },
3492
3492
  tags: { section: "OraculoSeccionEventoCombinadas" }
3493
- }), (I = g.current) == null || I.prev();
3493
+ }), (O = g.current) == null || O.prev();
3494
3494
  }, _ = () => {
3495
- var I;
3495
+ var O;
3496
3496
  s({
3497
3497
  element: "evento_combinadas_next",
3498
3498
  label: `${l} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
@@ -3502,8 +3502,8 @@ function go({
3502
3502
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3503
3503
  },
3504
3504
  tags: { section: "OraculoSeccionEventoCombinadas" }
3505
- }), (I = g.current) == null || I.next();
3506
- }, y = () => {
3505
+ }), (O = g.current) == null || O.next();
3506
+ }, x = () => {
3507
3507
  s({
3508
3508
  element: "evento_combinadas_ver_mas",
3509
3509
  label: `${l} - OraculoSeccionEventoCombinadas - Click: Ver más`,
@@ -3514,11 +3514,14 @@ function go({
3514
3514
  },
3515
3515
  tags: { section: "OraculoSeccionEventoCombinadas" }
3516
3516
  }), Ya();
3517
- }, M = de(() => d.filter((I) => I.combinadoTotal !== null), [d]);
3517
+ }, M = de(() => d.filter((O) => {
3518
+ var y;
3519
+ return O.combinadoTotal !== null && ((y = O.events) == null ? void 0 : y.length) > 0;
3520
+ }), [d]);
3518
3521
  async function k() {
3519
- var I, x, w, B;
3522
+ var O, y, w, B;
3520
3523
  try {
3521
- const v = await (await fetch(h)).json(), T = (B = (w = (x = (I = v == null ? void 0 : v.group) == null ? void 0 : I.groups) == null ? void 0 : x.map((V) => V.id)) == null ? void 0 : w.filter(Boolean)) == null ? void 0 : B.join(",");
3524
+ const v = await (await fetch(h)).json(), T = (B = (w = (y = (O = v == null ? void 0 : v.group) == null ? void 0 : O.groups) == null ? void 0 : y.map((V) => V.id)) == null ? void 0 : w.filter(Boolean)) == null ? void 0 : B.join(",");
3522
3525
  if (!T) {
3523
3526
  console.error("Could not extract group ID");
3524
3527
  return;
@@ -3532,8 +3535,8 @@ function go({
3532
3535
  re(() => {
3533
3536
  k();
3534
3537
  }, []);
3535
- const O = i || void 0, L = Ne("(max-width:950px)");
3536
- return M.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: {
3538
+ const I = i || void 0, L = Ne("(max-width:950px)");
3539
+ return M.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
3537
3540
  // paddingLeft: 16,
3538
3541
  // paddingRight: 16,
3539
3542
  width: "100%",
@@ -3566,7 +3569,7 @@ function go({
3566
3569
  }
3567
3570
  )
3568
3571
  ] }),
3569
- /* @__PURE__ */ t(ae, { variant: "secondary", onClick: y, children: "Ver más" })
3572
+ /* @__PURE__ */ t(ae, { variant: "secondary", onClick: x, children: "Ver más" })
3570
3573
  ] })
3571
3574
  ] }) }),
3572
3575
  /* @__PURE__ */ t(
@@ -3583,8 +3586,8 @@ function go({
3583
3586
  breakpoints: {
3584
3587
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3585
3588
  },
3586
- renderItem: (I) => /* @__PURE__ */ t(fo, { coupon: I }),
3587
- onMove: ({ isStart: I, isEnd: x }) => m({ isStart: I, isEnd: x })
3589
+ renderItem: (O) => /* @__PURE__ */ t(fo, { coupon: O }),
3590
+ onMove: ({ isStart: O, isEnd: y }) => m({ isStart: O, isEnd: y })
3588
3591
  }
3589
3592
  )
3590
3593
  ] }) });
@@ -3643,23 +3646,23 @@ function Bt({
3643
3646
  return re(() => {
3644
3647
  if (!(!e || e.length === 0))
3645
3648
  return f.current && clearTimeout(f.current), f.current = setTimeout(() => {
3646
- var L, I;
3647
- const d = (L = a.start) != null ? L : 0, u = (I = a.end) != null ? I : 7, h = Math.max(0, d - o), S = Math.min(e.length - 1, u + o);
3648
- let _ = h, y = S;
3649
+ var L, O;
3650
+ const d = (L = a.start) != null ? L : 0, u = (O = a.end) != null ? O : 7, h = Math.max(0, d - o), S = Math.min(e.length - 1, u + o);
3651
+ let _ = h, x = S;
3649
3652
  const M = m.current;
3650
- M && (h > M.end && (_ = M.end + 1), S < M.start && (y = M.start - 1)), m.current = { start: h, end: S };
3651
- const k = e.slice(_, y + 1).map((x) => x == null ? void 0 : x.id).filter((x) => !!x).filter((x) => !c.current.has(x)).filter((x) => !(x in s));
3653
+ M && (h > M.end && (_ = M.end + 1), S < M.start && (x = M.start - 1)), m.current = { start: h, end: S };
3654
+ const k = e.slice(_, x + 1).map((y) => y == null ? void 0 : y.id).filter((y) => !!y).filter((y) => !c.current.has(y)).filter((y) => !(y in s));
3652
3655
  if (k.length === 0) return;
3653
- k.forEach((x) => c.current.add(x));
3654
- const O = ++g.current;
3656
+ k.forEach((y) => c.current.add(y));
3657
+ const I = ++g.current;
3655
3658
  (async () => {
3656
3659
  try {
3657
- const x = await n(k);
3658
- if (O !== g.current) {
3660
+ const y = await n(k);
3661
+ if (I !== g.current) {
3659
3662
  k.forEach((B) => c.current.delete(B));
3660
3663
  return;
3661
3664
  }
3662
- if (!(x != null && x.events)) {
3665
+ if (!(y != null && y.events)) {
3663
3666
  k.forEach(
3664
3667
  (B) => c.current.delete(B)
3665
3668
  );
@@ -3667,22 +3670,22 @@ function Bt({
3667
3670
  }
3668
3671
  l((B) => {
3669
3672
  const E = { ...B };
3670
- for (const [v, T] of Object.entries(x.events)) {
3673
+ for (const [v, T] of Object.entries(y.events)) {
3671
3674
  const F = Number(v);
3672
3675
  E[F] || (E[F] = T);
3673
3676
  }
3674
3677
  return E;
3675
3678
  });
3676
3679
  const w = new Set(
3677
- Object.keys(x.events).map(Number)
3680
+ Object.keys(y.events).map(Number)
3678
3681
  );
3679
3682
  k.forEach((B) => {
3680
3683
  c.current.delete(B);
3681
3684
  });
3682
- } catch (x) {
3685
+ } catch (y) {
3683
3686
  k.forEach(
3684
3687
  (w) => c.current.delete(w)
3685
- ), console.error("Jersey fetch error", x);
3688
+ ), console.error("Jersey fetch error", y);
3686
3689
  }
3687
3690
  })();
3688
3691
  }, i), () => {
@@ -3713,9 +3716,9 @@ function wo({
3713
3716
  { sport: "football", url: "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true" },
3714
3717
  { sport: "basketball", url: "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/basketball/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true" },
3715
3718
  { sport: "tennis", url: "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/tennis/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true" }
3716
- ], l = Z(null), [c, g] = ee({ isStart: !0, isEnd: !1 }), [f, m] = ee(null), [d, u] = ee({ start: null, end: null }), [h, S] = ee(null), _ = Z(!1), y = se(), M = ce(), k = pe(), O = Z(/* @__PURE__ */ new Map()), L = () => {
3719
+ ], l = Z(null), [c, g] = ee({ isStart: !0, isEnd: !1 }), [f, m] = ee(null), [d, u] = ee({ start: null, end: null }), [h, S] = ee(null), _ = Z(!1), x = se(), M = ce(), k = pe(), I = Z(/* @__PURE__ */ new Map()), L = () => {
3717
3720
  var R;
3718
- y({
3721
+ x({
3719
3722
  element: "evento_en_vivo_prev",
3720
3723
  label: `${M} - OraculoSeccionEventoEnVivo - Anterior`,
3721
3724
  target: "prev",
@@ -3726,9 +3729,9 @@ function wo({
3726
3729
  },
3727
3730
  tags: { section: "OraculoSeccionEventoEnVivo" }
3728
3731
  }), (R = l.current) == null || R.prev();
3729
- }, I = () => {
3732
+ }, O = () => {
3730
3733
  var R;
3731
- y({
3734
+ x({
3732
3735
  element: "evento_en_vivo_next",
3733
3736
  label: `${M} - OraculoSeccionEventoEnVivo - Siguiente`,
3734
3737
  target: "next",
@@ -3739,8 +3742,8 @@ function wo({
3739
3742
  },
3740
3743
  tags: { section: "OraculoSeccionEventoEnVivo" }
3741
3744
  }), (R = l.current) == null || R.next();
3742
- }, x = () => {
3743
- y({
3745
+ }, y = () => {
3746
+ x({
3744
3747
  element: "evento_en_vivo_view_more",
3745
3748
  label: `${M} - OraculoSeccionEventoEnVivo - Ver más`,
3746
3749
  target: "ver_mas",
@@ -3758,7 +3761,7 @@ function wo({
3758
3761
  _.current = !0;
3759
3762
  try {
3760
3763
  const q = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), K = ((R = q == null ? void 0 : q.data) == null ? void 0 : R.event_ids) || [], Y = /* @__PURE__ */ new Map();
3761
- K.forEach((r, p) => Y.set(String(r), p)), O.current = Y;
3764
+ K.forEach((r, p) => Y.set(String(r), p)), I.current = Y;
3762
3765
  } catch (G) {
3763
3766
  console.error("Order fetch failed, using default sorting", G);
3764
3767
  }
@@ -3792,7 +3795,7 @@ function wo({
3792
3795
  const K = (N = W[G._sportGroup]) != null ? N : 1 / 0, Y = ($ = W[q._sportGroup]) != null ? $ : 1 / 0;
3793
3796
  if (K !== Y)
3794
3797
  return K - Y;
3795
- const r = O.current.get(String(G.event.id)), p = O.current.get(String(q.event.id));
3798
+ const r = I.current.get(String(G.event.id)), p = I.current.get(String(q.event.id));
3796
3799
  return (r !== void 0 ? r : 1 / 0) - (p !== void 0 ? p : 1 / 0);
3797
3800
  });
3798
3801
  m(D);
@@ -3843,12 +3846,12 @@ function wo({
3843
3846
  variant: "secondary",
3844
3847
  iconOnly: !0,
3845
3848
  rightIcon: /* @__PURE__ */ t(Ge, {}),
3846
- onClick: I,
3849
+ onClick: O,
3847
3850
  disabled: c.isEnd
3848
3851
  }
3849
3852
  )
3850
3853
  ] }),
3851
- /* @__PURE__ */ t(ae, { variant: "secondary", onClick: x, children: "Ver más" })
3854
+ /* @__PURE__ */ t(ae, { variant: "secondary", onClick: y, children: "Ver más" })
3852
3855
  ] })
3853
3856
  ] }) }),
3854
3857
  /* @__PURE__ */ t(
@@ -3966,7 +3969,7 @@ function Bo({
3966
3969
  { englishName: "Football", termPath: "football", limit: 5 },
3967
3970
  { englishName: "Basketball", termPath: "basketball", limit: 2 },
3968
3971
  { englishName: "Tennis", termPath: "tennis", limit: 2 }
3969
- ], f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", m = Z(null), [d, u] = ee({ isStart: !0, isEnd: !1 }), [h, S] = ee(null), [_, y] = ee({ start: null, end: null }), M = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", k = () => {
3972
+ ], f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", m = Z(null), [d, u] = ee({ isStart: !0, isEnd: !1 }), [h, S] = ee(null), [_, x] = ee({ start: null, end: null }), M = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", k = () => {
3970
3973
  s({
3971
3974
  element: "evento_semana_view_more",
3972
3975
  label: `${l} - OraculoSeccionEventoSemana - Ver más`,
@@ -3979,7 +3982,7 @@ function Bo({
3979
3982
  tags: { section: "OraculoSeccionEventoSemana" }
3980
3983
  }), Qa();
3981
3984
  };
3982
- async function O(v) {
3985
+ async function I(v) {
3983
3986
  var R, P, V;
3984
3987
  let T = [], F = [];
3985
3988
  try {
@@ -4065,11 +4068,11 @@ function Bo({
4065
4068
  re(() => {
4066
4069
  if (!e) return;
4067
4070
  const v = new AbortController();
4068
- return O(v.signal), () => {
4071
+ return I(v.signal), () => {
4069
4072
  v.abort();
4070
4073
  };
4071
4074
  }, [e]);
4072
- const I = i || void 0, x = {
4075
+ const O = i || void 0, y = {
4073
4076
  paddingLeft: 0,
4074
4077
  width: "100%",
4075
4078
  boxSizing: "border-box"
@@ -4080,7 +4083,7 @@ function Bo({
4080
4083
  buffer: 2,
4081
4084
  debounceMs: 250
4082
4085
  }), B = h === null, E = Ne("(max-width:950px)");
4083
- return !B && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: x, children: /* @__PURE__ */ b("div", { className: `${Re.wrapper} ${Re.padding}`, children: [
4086
+ return !B && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: y, children: /* @__PURE__ */ b("div", { className: `${Re.wrapper} ${Re.padding}`, children: [
4084
4087
  /* @__PURE__ */ t("div", { className: Re.container, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
4085
4088
  /* @__PURE__ */ t(ye, { title: "Eventos de la semana" }),
4086
4089
  /* @__PURE__ */ t("div", { className: Re.buttonWrapper, children: /* @__PURE__ */ t(
@@ -4119,7 +4122,7 @@ function Bo({
4119
4122
  return B ? /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(Oo, {}) }) : /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(ko, { event: v, jersey: F }) });
4120
4123
  },
4121
4124
  onMove: ({ isStart: v, isEnd: T, visibleStart: F, visibleEnd: R, source: P }) => {
4122
- u({ isStart: v, isEnd: T }), y({
4125
+ u({ isStart: v, isEnd: T }), x({
4123
4126
  start: F,
4124
4127
  end: R
4125
4128
  }), P === "user" && s({
@@ -4163,7 +4166,7 @@ const Lo = -300, Ro = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ht = (e) => {
4163
4166
  );
4164
4167
  }, Po = (e, a) => {
4165
4168
  var c, g, f, m, d, u, h, S, _;
4166
- const n = (f = (g = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? g : e == null ? void 0 : e.extraFields) != null ? f : [], o = (u = (d = e == null ? void 0 : e.startAt) != null ? d : (m = n.find((y) => (y == null ? void 0 : y.name) === "startAt")) == null ? void 0 : m.value) != null ? u : null, i = (_ = (S = e == null ? void 0 : e.endAt) != null ? S : (h = n.find((y) => (y == null ? void 0 : y.name) === "endAt")) == null ? void 0 : h.value) != null ? _ : null, s = ht(o), l = ht(i);
4169
+ const n = (f = (g = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? g : e == null ? void 0 : e.extraFields) != null ? f : [], o = (u = (d = e == null ? void 0 : e.startAt) != null ? d : (m = n.find((x) => (x == null ? void 0 : x.name) === "startAt")) == null ? void 0 : m.value) != null ? u : null, i = (_ = (S = e == null ? void 0 : e.endAt) != null ? S : (h = n.find((x) => (x == null ? void 0 : x.name) === "endAt")) == null ? void 0 : h.value) != null ? _ : null, s = ht(o), l = ht(i);
4167
4170
  return !(s != null && a < s || l != null && a >= l);
4168
4171
  };
4169
4172
  function Fo({
@@ -4173,16 +4176,16 @@ function Fo({
4173
4176
  user: o = null
4174
4177
  }) {
4175
4178
  var Y;
4176
- const [i, s] = ee(0), l = se(), c = ce(), g = pe(), f = Z(null), m = Z(!1), d = Z(!1), [u, h] = ee(() => Date.now()), S = ue("setDepositActionGlobal"), _ = ue("setAbrirLiveActionGlobal"), y = ue("openLoginWithRedirect"), M = (r) => [...r != null ? r : []].map((p, C) => ({ item: p, index: C })).sort((p, C) => {
4179
+ const [i, s] = ee(0), l = se(), c = ce(), g = pe(), f = Z(null), m = Z(!1), d = Z(!1), [u, h] = ee(() => Date.now()), S = ue("setDepositActionGlobal"), _ = ue("setAbrirLiveActionGlobal"), x = ue("openLoginWithRedirect"), M = (r) => [...r != null ? r : []].map((p, C) => ({ item: p, index: C })).sort((p, C) => {
4177
4180
  var $, z;
4178
4181
  const A = ($ = p.item.order) != null ? $ : Number.MAX_SAFE_INTEGER, N = (z = C.item.order) != null ? z : Number.MAX_SAFE_INTEGER;
4179
4182
  return A - N || p.index - C.index;
4180
- }).map(({ item: p }) => p), k = de(() => M(a), [a]), O = de(() => {
4183
+ }).map(({ item: p }) => p), k = de(() => M(a), [a]), I = de(() => {
4181
4184
  const r = (e != null ? e : []).filter(
4182
4185
  (p) => Po(p, u)
4183
4186
  );
4184
4187
  return M(r);
4185
- }, [e, u]), L = O.length || 1, I = !O || O.length === 0, x = !I && O.length > 1, w = !n && k.length > 0;
4188
+ }, [e, u]), L = I.length || 1, O = !I || I.length === 0, y = !O && I.length > 1, w = !n && k.length > 0;
4186
4189
  et("(max-width:950px)");
4187
4190
  const B = "#B5B5B5";
4188
4191
  re(() => {
@@ -4259,7 +4262,7 @@ function Fo({
4259
4262
  metadata: {
4260
4263
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
4261
4264
  banner_position: C + 1,
4262
- banner_total: (O == null ? void 0 : O.length) || 0
4265
+ banner_total: (I == null ? void 0 : I.length) || 0
4263
4266
  },
4264
4267
  tags: {
4265
4268
  banner_type: "carousel",
@@ -4283,7 +4286,7 @@ function Fo({
4283
4286
  item_label: r.label || "no_label"
4284
4287
  }
4285
4288
  }), !o && r.label == "MISIONES") {
4286
- y == null || y((p = r.href) != null ? p : "");
4289
+ x == null || x((p = r.href) != null ? p : "");
4287
4290
  return;
4288
4291
  }
4289
4292
  if (r.onClick) {
@@ -4291,7 +4294,7 @@ function Fo({
4291
4294
  return;
4292
4295
  }
4293
4296
  r.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(r.href);
4294
- }, R = 5e3, P = Z(null), V = !I && ((Y = O == null ? void 0 : O.length) != null ? Y : 0) > 1, W = () => {
4297
+ }, R = 5e3, P = Z(null), V = !O && ((Y = I == null ? void 0 : I.length) != null ? Y : 0) > 1, W = () => {
4295
4298
  P.current != null && (window.clearTimeout(P.current), P.current = null);
4296
4299
  }, D = () => {
4297
4300
  W(), V && (P.current = window.setTimeout(() => {
@@ -4310,11 +4313,11 @@ function Fo({
4310
4313
  var A, N, $, z;
4311
4314
  const p = (r % L + L) % L;
4312
4315
  if (!m.current) return;
4313
- const C = (A = O == null ? void 0 : O[p]) != null && A.href ? (($ = (N = O[p].href) == null ? void 0 : N.split("/").pop()) == null ? void 0 : $.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
4316
+ const C = (A = I == null ? void 0 : I[p]) != null && A.href ? (($ = (N = I[p].href) == null ? void 0 : N.split("/").pop()) == null ? void 0 : $.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
4314
4317
  l({
4315
4318
  element: "banner_carousel",
4316
4319
  label: `${c} - OraculoSeccionBanners - Banner view: Slide ${p + 1} - ${C}`,
4317
- target: ((z = O == null ? void 0 : O[p]) == null ? void 0 : z.href) || "no_url",
4320
+ target: ((z = I == null ? void 0 : I[p]) == null ? void 0 : z.href) || "no_url",
4318
4321
  event_type: "view",
4319
4322
  module_id: g,
4320
4323
  metadata: {
@@ -4364,7 +4367,7 @@ function Fo({
4364
4367
  xe,
4365
4368
  {
4366
4369
  ref: f,
4367
- items: O,
4370
+ items: I,
4368
4371
  perPage: 1,
4369
4372
  gap: "0px",
4370
4373
  enableHorizontalWheel: !0,
@@ -4442,7 +4445,7 @@ function Fo({
4442
4445
  )
4443
4446
  }
4444
4447
  ),
4445
- x && /* @__PURE__ */ b(te, { children: [
4448
+ y && /* @__PURE__ */ b(te, { children: [
4446
4449
  /* @__PURE__ */ t(
4447
4450
  Qe,
4448
4451
  {
@@ -6195,14 +6198,14 @@ const _t = [
6195
6198
  }) => {
6196
6199
  const c = de(() => Ho(i), [i]), g = s || c.loader, [f, m] = ee(
6197
6200
  () => e ? [] : Ae(Pe)
6198
- ), [d, u] = ee(!1), [h, S] = ee({}), [_, y] = ee({}), [M, k] = ee({}), O = et("(min-width:1024px)"), L = de(
6201
+ ), [d, u] = ee(!1), [h, S] = ee({}), [_, x] = ee({}), [M, k] = ee({}), I = et("(min-width:1024px)"), L = de(
6199
6202
  () => Ae(Pe),
6200
6203
  []
6201
- ), I = (r) => L.find(
6204
+ ), O = (r) => L.find(
6202
6205
  (p) => p.id === r.id || p.componentKey === r.componentKey
6203
- ), x = (r) => Array.isArray(r) ? r.map((p) => Number(p)).filter((p) => !Number.isNaN(p)) : [], w = de(() => {
6206
+ ), y = (r) => Array.isArray(r) ? r.map((p) => Number(p)).filter((p) => !Number.isNaN(p)) : [], w = de(() => {
6204
6207
  const r = c.user;
6205
- return x(r == null ? void 0 : r.groups);
6208
+ return y(r == null ? void 0 : r.groups);
6206
6209
  }, [c]), B = (r) => {
6207
6210
  const p = r.manualScalarFields;
6208
6211
  if (!Array.isArray(p)) return [];
@@ -6304,7 +6307,7 @@ const _t = [
6304
6307
  if (r.length)
6305
6308
  for (const { s: p, url: C } of r) {
6306
6309
  const A = `${p.id}|${C}`;
6307
- F.current.has(A) || (F.current.add(A), y((N) => ({ ...N, [p.id]: !0 })), k((N) => ({ ...N, [p.id]: "" })), (async () => {
6310
+ F.current.has(A) || (F.current.add(A), x((N) => ({ ...N, [p.id]: !0 })), k((N) => ({ ...N, [p.id]: "" })), (async () => {
6308
6311
  try {
6309
6312
  const N = await v(p);
6310
6313
  S(($) => ({ ...$, [p.id]: N }));
@@ -6312,7 +6315,7 @@ const _t = [
6312
6315
  let $ = "Error desconocido";
6313
6316
  N instanceof bt ? $ = `Error HTTP ${N.status} (${N.statusText}) en ${N.url}` : N instanceof SyntaxError ? $ = "Respuesta no es JSON válido" : N instanceof TypeError ? $ = "Fallo de red / CORS / conexión" : typeof N == "string" && ($ = N.toString()), k((z) => ({ ...z, [p.id]: $ }));
6314
6317
  } finally {
6315
- y((N) => ({ ...N, [p.id]: !1 }));
6318
+ x((N) => ({ ...N, [p.id]: !1 }));
6316
6319
  }
6317
6320
  })());
6318
6321
  }
@@ -6424,7 +6427,7 @@ const _t = [
6424
6427
  return D(r);
6425
6428
  } catch (p) {
6426
6429
  console.error("🔥 ERROR EN buildCompProps:", r, p);
6427
- const C = I(r);
6430
+ const C = O(r);
6428
6431
  if (C && C !== r)
6429
6432
  try {
6430
6433
  return console.warn(
@@ -6446,7 +6449,7 @@ const _t = [
6446
6449
  "OraculoSeccionBonoBienvenida",
6447
6450
  "OraculoSeccionCasinoEnVivo",
6448
6451
  "OraculoSeccionClubOlimpo",
6449
- ...O ? [] : [
6452
+ ...I ? [] : [
6450
6453
  "OraculoSeccionEventoEnVivo",
6451
6454
  "OraculoSeccionEventoSemana",
6452
6455
  "OraculoSeccionEventoCombinadas",
@@ -6454,7 +6457,7 @@ const _t = [
6454
6457
  "OraculoSeccionDestacados",
6455
6458
  "OraculoSeccionCasino"
6456
6459
  ]
6457
- ])).has(r.componentKey), $ = O ? 120 : 24, z = (O ? 8 : 5) * 8, J = r.componentKey === "OraculoSeccionCasinoEnVivo", ne = {
6460
+ ])).has(r.componentKey), $ = I ? 120 : 24, z = (I ? 8 : 5) * 8, J = r.componentKey === "OraculoSeccionCasinoEnVivo", ne = {
6458
6461
  width: "100%",
6459
6462
  boxSizing: "border-box",
6460
6463
  ...N ? {} : { paddingLeft: $, paddingRight: $ },
@@ -6479,7 +6482,7 @@ const _t = [
6479
6482
  `Cargando datos desde ${r.apiUrl}...`
6480
6483
  );
6481
6484
  if (Se && !j) {
6482
- const Be = I(r);
6485
+ const Be = O(r);
6483
6486
  if (Be && Be.dataMode === "manual")
6484
6487
  try {
6485
6488
  const je = q(Be);
@@ -6527,7 +6530,7 @@ const _t = [
6527
6530
  maxWidth: "100%",
6528
6531
  overflowX: "hidden"
6529
6532
  },
6530
- children: /* @__PURE__ */ t(Fe, { direction: "column", spacing: O ? 8 : 5, useFlexGap: !0, children: R.map((r) => {
6533
+ children: /* @__PURE__ */ t(Fe, { direction: "column", spacing: I ? 8 : 5, useFlexGap: !0, children: R.map((r) => {
6531
6534
  try {
6532
6535
  return Y(r);
6533
6536
  } catch (p) {