oraculo-ui 0.2.64 → 0.2.66

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
@@ -29,10 +29,10 @@ function ae({
29
29
  className: d = "",
30
30
  ariaLabel: u,
31
31
  leftIcon: h,
32
- rightIcon: x,
32
+ rightIcon: S,
33
33
  iconOnly: _
34
34
  }) {
35
- const S = !!e && e !== !0, O = (!!h ? 1 : 0) + (!!x ? 1 : 0) == 1, L = _ != null ? _ : O && !S, I = [
35
+ const y = !!e && e !== !0, O = (!!h ? 1 : 0) + (!!S ? 1 : 0) == 1, L = _ != null ? _ : O && !y, I = [
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,10 +40,10 @@ function ae({
40
40
  m ? "orc-btn--fullHeight" : "",
41
41
  L ? "orc-btn--iconOnly" : "",
42
42
  d
43
- ].filter(Boolean).join(" "), y = /* @__PURE__ */ b(te, { children: [
43
+ ].filter(Boolean).join(" "), x = /* @__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
- x && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: x })
46
+ S && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: S })
47
47
  ] }), w = l ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
49
  vt,
@@ -56,7 +56,7 @@ function ae({
56
56
  tabIndex: w ? -1 : void 0,
57
57
  className: I,
58
58
  onClick: w ? (B) => B.preventDefault() : a,
59
- children: y
59
+ children: x
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
@@ -66,7 +66,7 @@ function ae({
66
66
  disabled: !!w,
67
67
  "aria-label": u,
68
68
  className: I,
69
- children: y
69
+ children: x
70
70
  }
71
71
  );
72
72
  }
@@ -483,15 +483,15 @@ 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 S = `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: S, className: _e.flagImage }) });
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 }) });
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 }) });
491
- const c = l(n.base) || "#FFFFFF", g = l(n.sleeve) || c, f = l(n.stripes), m = l(n.sleevelong), d = l(n.trim) || g, u = rt[e] || rt.FOOTBALL, h = u[a] || u.men, x = h.pathsComponent;
491
+ const c = l(n.base) || "#FFFFFF", g = l(n.sleeve) || c, f = l(n.stripes), m = l(n.sleevelong), d = l(n.trim) || g, u = rt[e] || rt.FOOTBALL, h = u[a] || u.men, S = h.pathsComponent;
492
492
  return /* @__PURE__ */ b("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: [
493
493
  /* @__PURE__ */ t("div", { className: _e.svgWrapper, children: /* @__PURE__ */ t("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: /* @__PURE__ */ t(
494
- x,
494
+ S,
495
495
  {
496
496
  base: c,
497
497
  sleeve: g,
@@ -544,8 +544,8 @@ function Aa(e, a, {
544
544
  f.preventDefault(), s.current += d;
545
545
  const h = Date.now();
546
546
  if (h - l.current < i || Math.abs(s.current) < o) return;
547
- const x = s.current > 0 ? ">" : "<";
548
- s.current = 0, l.current = h, m.go(x);
547
+ const S = s.current > 0 ? ">" : "<";
548
+ s.current = 0, l.current = h, m.go(S);
549
549
  };
550
550
  return c.addEventListener("wheel", g, { passive: !1 }), () => {
551
551
  c.removeEventListener("wheel", g), s.current = 0;
@@ -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), x = Z(e.length), _ = Z(null), S = Z(null), M = Z("user");
574
+ const u = Z(null), h = Z(null), S = Z(e.length), _ = Z(null), y = Z(null), M = Z("user");
575
575
  Aa(h, u, {
576
576
  enabled: f
577
577
  }), zt(d, () => ({
@@ -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 = S.current) == null || q.style.setProperty("--gradient-opacity", W ? "0" : "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"));
622
622
  const D = E.Components.Controller.getIndex();
623
623
  c == null || c({
624
624
  index: D,
@@ -634,8 +634,8 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
634
634
  var T;
635
635
  const E = (T = u.current) == null ? void 0 : T.splide;
636
636
  if (!E) return;
637
- const v = x.current !== e.length;
638
- x.current = e.length, v && requestAnimationFrame(() => {
637
+ const v = S.current !== e.length;
638
+ S.current = e.length, v && requestAnimationFrame(() => {
639
639
  L.current = !0;
640
640
  try {
641
641
  E.refresh();
@@ -645,7 +645,7 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
645
645
  M.current = "resize", I(E);
646
646
  });
647
647
  }, [e.length, I]);
648
- const y = Me(() => {
648
+ const x = Me(() => {
649
649
  var v;
650
650
  const E = (v = u.current) == null ? void 0 : v.splide;
651
651
  if (E) {
@@ -691,7 +691,7 @@ const Ma = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Ba = "ora
691
691
  options: B,
692
692
  onMove: I,
693
693
  onMounted: w,
694
- onResize: y,
694
+ onResize: x,
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: S,
730
+ ref: y,
731
731
  className: `${ke.gradientOverlay} ${ke.right}`,
732
732
  style: { "--gradient-opacity": "1" },
733
733
  children: /* @__PURE__ */ b(
@@ -851,16 +851,16 @@ function za({
851
851
  md: { w: 186, h: 264, r: 22.6, font: 64 }
852
852
  }
853
853
  }) {
854
- var d, u, h, x;
855
- const s = (_, S) => {
854
+ var d, u, h, S;
855
+ const s = (_, y) => {
856
856
  var M, k, O, L;
857
857
  return {
858
- xs: (k = (M = i.xs) == null ? void 0 : M[_]) != null ? k : S,
859
- md: (L = (O = i.md) == null ? void 0 : O[_]) != null ? L : S
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
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),
863
- md: Math.round(((x = (h = i.md) == null ? void 0 : h.font) != null ? x : 64) * 0.28)
863
+ md: Math.round(((S = (h = i.md) == null ? void 0 : h.font) != null ? S : 64) * 0.28)
864
864
  };
865
865
  return /* @__PURE__ */ b(
866
866
  U,
@@ -1494,7 +1494,7 @@ function en({ coupon: e }) {
1494
1494
  var f;
1495
1495
  const a = se(), n = ce();
1496
1496
  function o(m) {
1497
- var h, x;
1497
+ var h, S;
1498
1498
  const d = [], u = Array.from(
1499
1499
  new Map(
1500
1500
  ((h = m == null ? void 0 : m.events) != null ? h : []).filter(Boolean).map((_) => [_.id, _])
@@ -1502,17 +1502,17 @@ function en({ coupon: e }) {
1502
1502
  );
1503
1503
  return u.forEach((_) => {
1504
1504
  var O;
1505
- const S = (O = _.betoffers) != null ? O : [], M = _.homeName, k = _.awayName;
1506
- S.forEach((L) => {
1505
+ const y = (O = _.betoffers) != null ? O : [], M = _.homeName, k = _.awayName;
1506
+ y.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
1509
  const I = L.outcomes[0];
1510
1510
  if (!I) return;
1511
- let y = "";
1511
+ let x = "";
1512
1512
  const w = I != null && I.line ? I.line / 1e3 : "";
1513
- ["Más de", "Mas de", "Over"].includes(I.label) ? (y = `Más de ${w}`, I.participant && (y = `${I.participant} - ${y}`)) : ["Menos de", "Menos", "Under"].includes(I.label) ? (y = `Menos de ${w}`, I.participant && (y = `${I.participant} - ${y}`)) : ["Sí", "No"].includes(I.label) ? (y = I.label, I.participant && (y = `${I.participant} - ${y}`)) : ["1X", "12", "X2"].includes(I.label) ? (I.label === "1X" && (y = `${M} o Empate`), I.label === "12" && (y = `${M} o ${k}`), I.label === "X2" && (y = `${k} o Empate`)) : (y = (v = (E = I.participant) != null ? E : I.label) != null ? v : "", w !== "" && y === I.label && (y = `${I.label} ${w}`)), d.push({
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
1514
  id: I.id,
1515
- value: y,
1515
+ value: x,
1516
1516
  label: (F = (T = L.criterion) == null ? void 0 : T.label) != null ? F : "",
1517
1517
  odds: (R = I.odds) != null ? R : 0,
1518
1518
  position: (P = I.position) != null ? P : 0,
@@ -1520,8 +1520,8 @@ function en({ coupon: e }) {
1520
1520
  });
1521
1521
  });
1522
1522
  }), {
1523
- outcomes: d.sort((_, S) => _.position - S.position),
1524
- total: Number((x = m == null ? void 0 : m.combinadoTotal) != null ? x : 0).toLocaleString("en-US", {
1523
+ outcomes: d.sort((_, y) => _.position - y.position),
1524
+ total: Number((S = m == null ? void 0 : m.combinadoTotal) != null ? S : 0).toLocaleString("en-US", {
1525
1525
  minimumFractionDigits: 2,
1526
1526
  maximumFractionDigits: 2
1527
1527
  }),
@@ -1535,23 +1535,23 @@ function en({ coupon: e }) {
1535
1535
  if (d.length === 1)
1536
1536
  return `/deportes#event/${d[0].id}`;
1537
1537
  const u = d[0].groupId;
1538
- if (d.every((x) => x.groupId === u)) {
1539
- const x = d[0].path;
1540
- if (Array.isArray(x) && x.length > 0)
1541
- return `/deportes#sports-hub/${x.map((S) => S.termKey).filter(Boolean).join("/")}`;
1538
+ if (d.every((S) => S.groupId === u)) {
1539
+ const S = d[0].path;
1540
+ if (Array.isArray(S) && S.length > 0)
1541
+ return `/deportes#sports-hub/${S.map((y) => y.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((S) => {
1548
+ l.outcomes.map((y) => {
1549
1549
  var k;
1550
- const M = g.get(Number(S.eventId));
1550
+ const M = g.get(Number(y.eventId));
1551
1551
  return (k = M == null ? void 0 : M.name) != null ? k : "";
1552
1552
  })
1553
1553
  )
1554
- ).filter(Boolean), x = h.length > 0 ? h.join(" + ") : JSON.stringify(u), _ = d ? `${x} - Cuota: ${d}` : x;
1554
+ ).filter(Boolean), S = h.length > 0 ? h.join(" + ") : JSON.stringify(u), _ = d ? `${S} - Cuota: ${d}` : S;
1555
1555
  a({
1556
1556
  element: "evento_semana_outcome",
1557
1557
  label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${_}`,
@@ -1593,17 +1593,17 @@ function en({ coupon: e }) {
1593
1593
  src: "/assets/img/home/Combinadas/line.png"
1594
1594
  }
1595
1595
  ),
1596
- d.map((h, x) => /* @__PURE__ */ b("div", { className: fe.apuestaItem, children: [
1596
+ d.map((h, S) => /* @__PURE__ */ b("div", { className: fe.apuestaItem, children: [
1597
1597
  /* @__PURE__ */ b("div", { className: fe.lineContainer, children: [
1598
1598
  /* @__PURE__ */ t("div", { className: fe.circle }),
1599
- x < d.length - 1 && /* @__PURE__ */ t("div", { className: fe.line })
1599
+ S < d.length - 1 && /* @__PURE__ */ t("div", { className: fe.line })
1600
1600
  ] }),
1601
1601
  /* @__PURE__ */ b("div", { className: fe.apuestaText, children: [
1602
1602
  /* @__PURE__ */ t("strong", { children: h.value }),
1603
1603
  " | ",
1604
1604
  h.label
1605
1605
  ] })
1606
- ] }, `${m}-${x}`))
1606
+ ] }, `${m}-${S}`))
1607
1607
  ]
1608
1608
  },
1609
1609
  m
@@ -1664,10 +1664,10 @@ function st({
1664
1664
  className: d = "",
1665
1665
  ariaLabel: u,
1666
1666
  leftIcon: h,
1667
- rightIcon: x,
1667
+ rightIcon: S,
1668
1668
  iconOnly: _
1669
1669
  }) {
1670
- const S = !!e && e !== !0, O = (!!h ? 1 : 0) + (!!x ? 1 : 0) == 1, L = _ != null ? _ : O && !S, I = [
1670
+ const y = !!e && e !== !0, O = (!!h ? 1 : 0) + (!!S ? 1 : 0) == 1, L = _ != null ? _ : O && !y, I = [
1671
1671
  ge["orc-btn"],
1672
1672
  // base
1673
1673
  ge[`orc-btn--${c}`],
@@ -1678,10 +1678,10 @@ function st({
1678
1678
  m ? ge["orc-btn--fullHeight"] : "",
1679
1679
  L ? ge["orc-btn--iconOnly"] : "",
1680
1680
  d
1681
- ].filter(Boolean).join(" "), y = /* @__PURE__ */ b(te, { children: [
1681
+ ].filter(Boolean).join(" "), x = /* @__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
- x && /* @__PURE__ */ t("span", { className: ge["orc-btn__icon"], children: x })
1684
+ S && /* @__PURE__ */ t("span", { className: ge["orc-btn__icon"], children: S })
1685
1685
  ] }), w = l ? !0 : void 0;
1686
1686
  return n ? /* @__PURE__ */ t(
1687
1687
  vt,
@@ -1694,7 +1694,7 @@ function st({
1694
1694
  tabIndex: w ? -1 : void 0,
1695
1695
  className: I,
1696
1696
  onClick: w ? (B) => B.preventDefault() : a,
1697
- children: y
1697
+ children: x
1698
1698
  }
1699
1699
  ) : /* @__PURE__ */ t(
1700
1700
  "button",
@@ -1704,7 +1704,7 @@ function st({
1704
1704
  disabled: !!w,
1705
1705
  "aria-label": u,
1706
1706
  className: I,
1707
- children: y
1707
+ children: x
1708
1708
  }
1709
1709
  );
1710
1710
  }
@@ -1747,9 +1747,9 @@ function hn({
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
- }, h = u(i), x = u(s);
1751
- let _ = !1, S = !1;
1752
- return g !== f ? (_ = g > f, S = f > g) : m !== d ? (_ = m > d, S = d > m) : h !== x && (_ = h > x, S = x > h), /* @__PURE__ */ t("div", { className: H.tennisContainer, children: /* @__PURE__ */ b("table", { className: H.tennisTable, children: [
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: [
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} ${S ? H.active : ""}`, children: f }),
1769
- /* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${H.border} ${S ? H.active : ""}`, children: d }),
1770
- /* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${S ? H.active : ""}`, children: s })
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 })
1771
1771
  ] })
1772
1772
  ] })
1773
1773
  ] }) });
@@ -1809,8 +1809,8 @@ 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, x, _, S, M, k, O, L, I, y, w, B, E, v, T, F, R, P, V, W, D, G, q, K, Y, r, p, C, A;
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 = ((x = e == null ? void 0 : e.sport) == null ? void 0 : x.toUpperCase()) === "FOOTBALL", c = n == null ? void 0 : n.find(
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;
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 $;
1816
1816
  return (($ = N.betOfferType) == null ? void 0 : $.id) === 2;
@@ -1837,7 +1837,7 @@ function Sn({ event: e, liveData: a, betOffers: n, jersey: o }) {
1837
1837
  /* @__PURE__ */ t(
1838
1838
  la,
1839
1839
  {
1840
- title: (k = (M = (S = e == null ? void 0 : e.path) == null ? void 0 : S[0]) == null ? void 0 : M.name) != null ? k : "",
1840
+ title: (k = (M = (y = e == null ? void 0 : e.path) == null ? void 0 : y[0]) == null ? void 0 : M.name) != null ? k : "",
1841
1841
  subtitle: (O = e == null ? void 0 : e.group) != null ? O : "",
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}'` : "",
@@ -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 = (y = a == null ? void 0 : a.statistics) == null ? void 0 : y.sets) == null ? void 0 : w.home) != null ? B : [],
1852
+ homeSets: (B = (w = (x = a == null ? void 0 : a.statistics) == null ? void 0 : x.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",
@@ -1950,13 +1950,13 @@ function Nn({ event: e, jersey: a }) {
1950
1950
  var c, g, f, m;
1951
1951
  const n = se(), o = ce();
1952
1952
  function i(d) {
1953
- const u = new Date(d), h = u.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), x = u.getDate().toString().padStart(2, "0"), _ = (u.getMonth() + 1).toString().padStart(2, "0");
1954
- let S = u.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1955
- return S = S.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${h} ${x}/${_} | ${S}`;
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}`;
1956
1956
  }
1957
1957
  const s = (d) => {
1958
- var k, O, L, I, y, w, B, E;
1959
- const u = `/deportes#event/${e.id}`, h = `${e.homeName} vs ${e.awayName}`, x = d.odds ? (d.odds / 1e3).toFixed(2) : "", _ = x ? `${h} - Cuota: ${x}` : h, S = (k = e == null ? void 0 : e.outcome) == null ? void 0 : k[0], M = new CustomEvent("ORACULO_WEEKLY_OUTCOME_SELECTED", {
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", {
1960
1960
  cancelable: !0,
1961
1961
  detail: {
1962
1962
  eventId: e.id,
@@ -1972,9 +1972,9 @@ function Nn({ event: e, jersey: a }) {
1972
1972
  outcomeLabel: d.label,
1973
1973
  outcomeType: d.type,
1974
1974
  odds: d.odds,
1975
- betOfferId: (I = d.betOfferId) != null ? I : S == null ? void 0 : S.id,
1976
- criterionId: (y = S == null ? void 0 : S.criterion) == null ? void 0 : y.id,
1977
- market: (E = (w = S == null ? void 0 : S.criterion) == null ? void 0 : w.label) != null ? E : (B = S == null ? void 0 : S.betOfferType) == null ? void 0 : B.name,
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,
1978
1978
  destination: u
1979
1979
  }
1980
1980
  });
@@ -2002,26 +2002,26 @@ 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 S, M, k;
2006
- const d = (k = (M = (S = e == null ? void 0 : e.outcome) == null ? void 0 : S[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 }, x = [...d].sort((O, L) => {
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) => {
2007
2007
  var w, B;
2008
2008
  if (O.displayOrder !== void 0 && L.displayOrder !== void 0)
2009
2009
  return O.displayOrder - L.displayOrder;
2010
- const I = O.type && (w = h[O.type]) != null ? w : 99, y = L.type && (B = h[L.type]) != null ? B : 99;
2011
- return I - y;
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
2012
  }), _ = (O) => {
2013
- var L, I, y, w;
2014
- return u || x.length === 2 ? O.type === "OT_ONE" ? "1" : O.type === "OT_TWO" ? "2" : (I = (L = O.label) == null ? void 0 : L.toUpperCase()) != null ? I : "" : (w = (y = O.label) == null ? void 0 : y.toUpperCase()) != null ? w : "";
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 : "";
2015
2015
  };
2016
2016
  return /* @__PURE__ */ b(te, { children: [
2017
- /* @__PURE__ */ t(me, { spacing: 1, children: x.map((O, L) => /* @__PURE__ */ t(
2017
+ /* @__PURE__ */ t(me, { spacing: 1, children: S.map((O, L) => /* @__PURE__ */ t(
2018
2018
  Ye,
2019
2019
  {
2020
2020
  text: _(O)
2021
2021
  },
2022
2022
  O.id || L
2023
2023
  )) }),
2024
- /* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: x.map((O, L) => /* @__PURE__ */ t(
2024
+ /* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: S.map((O, L) => /* @__PURE__ */ t(
2025
2025
  ae,
2026
2026
  {
2027
2027
  variant: "primary",
@@ -2058,8 +2058,8 @@ function An({
2058
2058
  paddingMobile: l = "24px"
2059
2059
  }) {
2060
2060
  var I;
2061
- const c = Z(null), [g, f] = ee({ isStart: !0, isEnd: !1 }), m = se(), d = ce(), u = pe(), h = !e || e.length === 0, x = () => {
2062
- var y;
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;
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
- }), (y = c.current) == null || y.prev();
2073
+ }), (x = c.current) == null || x.prev();
2074
2074
  }, _ = () => {
2075
- var y;
2075
+ var x;
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
- }), (y = c.current) == null || y.next();
2087
- }, S = () => {
2086
+ }), (x = c.current) == null || x.next();
2087
+ }, y = () => {
2088
2088
  m({
2089
2089
  element: "destacados_view_more",
2090
2090
  label: `${d} - OraculoSeccionDestacados - Ver más`,
@@ -2104,11 +2104,11 @@ function An({
2104
2104
  }
2105
2105
  f({ isStart: !0, isEnd: !1 });
2106
2106
  }, [O, k, l]);
2107
- const L = (y) => {
2108
- const w = y.promotion, B = w ? `https://www.olimpo.bet/promociones/${encodeURIComponent(w)}` : "";
2107
+ const L = (x) => {
2108
+ const w = x.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 || y.title}`,
2111
+ label: `${d} - OraculoSeccionDestacados - Click: ${w || x.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(y);
2123
+ i(x);
2124
2124
  return;
2125
2125
  }
2126
2126
  B && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(B);
@@ -2149,7 +2149,7 @@ function An({
2149
2149
  variant: "secondary",
2150
2150
  iconOnly: !0,
2151
2151
  leftIcon: /* @__PURE__ */ t(He, {}),
2152
- onClick: x,
2152
+ onClick: S,
2153
2153
  disabled: g.isStart || h
2154
2154
  }
2155
2155
  ),
@@ -2165,7 +2165,7 @@ function An({
2165
2165
  }
2166
2166
  )
2167
2167
  ] }),
2168
- /* @__PURE__ */ t(ae, { variant: "secondary", onClick: S, children: "Ver más" })
2168
+ /* @__PURE__ */ t(ae, { variant: "secondary", onClick: y, 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: (y) => {
2186
+ renderItem: (x) => {
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
- ) }, y.title) : /* @__PURE__ */ t(
2202
+ ) }, x.title) : /* @__PURE__ */ t(
2203
2203
  "div",
2204
2204
  {
2205
2205
  style: {
2206
2206
  textAlign: "center",
2207
2207
  cursor: "pointer"
2208
2208
  },
2209
- onClick: () => L(y),
2209
+ onClick: () => L(x),
2210
2210
  children: /* @__PURE__ */ t(
2211
2211
  "img",
2212
2212
  {
2213
- src: `https://olimpo.bet${y.image !== "" ? y.image : y.summary_image}`,
2214
- alt: y.title,
2213
+ src: `https://olimpo.bet${x.image !== "" ? x.image : x.summary_image}`,
2214
+ alt: x.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
- `${y.title}-${y.image}`
2225
+ `${x.title}-${x.image}`
2226
2226
  );
2227
2227
  },
2228
- onMove: ({ isStart: y, isEnd: w, source: B }) => {
2229
- f({ isStart: y, isEnd: w }), B === "user" && m({
2228
+ onMove: ({ isStart: x, isEnd: w, source: B }) => {
2229
+ f({ isStart: x, 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: y,
2237
+ isStart: x,
2238
2238
  isEnd: w
2239
2239
  },
2240
2240
  tags: { section: "OraculoSeccionDestacados" }
@@ -2329,7 +2329,7 @@ function Pn({
2329
2329
  width: "100%"
2330
2330
  },
2331
2331
  children: f.map((d, u) => {
2332
- var h, x;
2332
+ var h, S;
2333
2333
  return /* @__PURE__ */ t(
2334
2334
  za,
2335
2335
  {
@@ -2340,15 +2340,19 @@ function Pn({
2340
2340
  o == null || o(d), m(d);
2341
2341
  }
2342
2342
  },
2343
- g ? `sk-${u}` : (x = d.machine) != null ? x : `${u}`
2343
+ g ? `sk-${u}` : (S = d.machine) != null ? S : `${u}`
2344
2344
  );
2345
2345
  })
2346
2346
  }
2347
2347
  )
2348
2348
  ] }) });
2349
2349
  }
2350
- const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularidad?type=popularidad", zn = 8, Un = 80, qn = (e, a) => {
2351
- var n, o, i, s, l, c, g, f, m, d, u, h, x, _;
2350
+ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularidad?type=popularidad", zn = 8, Un = 80, qn = {
2351
+ Casino: "Casino",
2352
+ "Casino en vivo": "Live",
2353
+ "Deportes virtuales": "Virtuales"
2354
+ }, Vn = (e, a) => {
2355
+ var n, o, i, s, l, c, g, f, m, d, u, h, S, _, y;
2352
2356
  return {
2353
2357
  orden: Number(a),
2354
2358
  machine: String(
@@ -2357,32 +2361,37 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2357
2361
  logo: (o = e.logo) != null ? o : "",
2358
2362
  name: (i = e.room_name) != null ? i : "",
2359
2363
  web_name: (s = e.room_name) != null ? s : "",
2360
- provider: (l = e.provider) != null ? l : "",
2364
+ // El lobby real (getLobby) entrega el provider en minúscula (clave de
2365
+ // integración, ej. "pragmatic"/"playtech"/"oryx"); /api/machine/{id}
2366
+ // en cambio devuelve el nombre para mostrar capitalizado ("Pragmatic").
2367
+ // Si se manda capitalizado, el backend de apertura de máquina no
2368
+ // encuentra la config del provider (TypeError: reading 'config').
2369
+ provider: String((l = e.provider) != null ? l : "").toLowerCase(),
2361
2370
  sub_provider: (c = e.service) != null ? c : "",
2362
2371
  external_id: (g = e.external_id) != null ? g : "",
2363
- type: (f = e.product) != null ? f : "",
2364
- tags: (m = e.tags) != null ? m : "",
2365
- lobby_tag: (d = e.lobby_tag) != null ? d : null,
2366
- background: (u = e.background) != null ? u : "",
2367
- rtp: (h = e.rtp) != null ? h : null,
2368
- demo_allowed: (x = e.demo_allowed) != null ? x : !1,
2369
- gaming_session_required: (_ = e.gaming_session_required) != null ? _ : !1
2372
+ type: (m = (f = qn[e.product]) != null ? f : e.product) != null ? m : "",
2373
+ tags: (d = e.tags) != null ? d : "",
2374
+ lobby_tag: (u = e.lobby_tag) != null ? u : null,
2375
+ background: (h = e.background) != null ? h : "",
2376
+ rtp: (S = e.rtp) != null ? S : null,
2377
+ demo_allowed: (_ = e.demo_allowed) != null ? _ : !1,
2378
+ gaming_session_required: (y = e.gaming_session_required) != null ? y : !1
2370
2379
  };
2371
- }, Vn = (e, a) => {
2380
+ }, Wn = (e, a) => {
2372
2381
  if (!e) return [];
2373
2382
  const n = Array.isArray(e) ? e : e.recommendations;
2374
2383
  return Array.isArray(n) ? n.filter(
2375
2384
  (o) => o && o.itemId != null && o.productType === a
2376
2385
  ).map((o) => String(o.itemId)) : [];
2377
- }, Wn = async (e) => {
2386
+ }, Dn = async (e) => {
2378
2387
  const a = await fetch(Fn);
2379
2388
  if (!a.ok)
2380
2389
  throw new Error(
2381
2390
  `No se pudo obtener la popularidad. HTTP ${a.status} ${a.statusText}`
2382
2391
  );
2383
2392
  const n = await a.json();
2384
- return Vn(n, e);
2385
- }, Dn = async (e, a, n) => {
2393
+ return Wn(n, e);
2394
+ }, Hn = async (e, a, n) => {
2386
2395
  const o = [];
2387
2396
  let i = 0, s = null;
2388
2397
  const l = () => {
@@ -2398,7 +2407,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2398
2407
  if (!d.ok)
2399
2408
  throw new Error(`No se pudo obtener machine ${m}`);
2400
2409
  const u = await d.json();
2401
- o[f] = qn(u, f), l();
2410
+ o[f] = Vn(u, f), l();
2402
2411
  } catch (d) {
2403
2412
  console.error(`[usePersonalizeGameItems] error al obtener machine ${m}:`, d);
2404
2413
  }
@@ -2411,20 +2420,19 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2411
2420
  }, tt = (e, a = !1, n = "Casino") => {
2412
2421
  const [o, i] = ee([]), [s, l] = ee(!1);
2413
2422
  return re(() => {
2423
+ a || (i(Array.isArray(e) ? e : []), l(!1));
2424
+ }, [e, a]), re(() => {
2425
+ if (!a) return;
2414
2426
  let c = !1;
2415
2427
  return (async () => {
2416
- if (!a) {
2417
- i(Array.isArray(e) ? e : []), l(!1);
2418
- return;
2419
- }
2420
2428
  l(!0), i([]);
2421
2429
  try {
2422
- const f = await Wn(n);
2430
+ const f = await Dn(n);
2423
2431
  if (!f.length) {
2424
2432
  c || i([]);
2425
2433
  return;
2426
2434
  }
2427
- await Dn(
2435
+ await Hn(
2428
2436
  f,
2429
2437
  (m) => {
2430
2438
  c || (i(m), l(!1));
@@ -2439,14 +2447,14 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2439
2447
  })(), () => {
2440
2448
  c = !0;
2441
2449
  };
2442
- }, [e, a, n]), {
2450
+ }, [a, n]), {
2443
2451
  resolvedItems: o,
2444
2452
  loading: s
2445
2453
  };
2446
- }, Hn = (e, a = !1) => tt(e, a, "Casino"), Gn = (e, a = !1) => tt(e, a, "Deportes virtuales"), Zn = (e, a = !1) => tt(e, a, "Casino en vivo"), jn = (e, a) => {
2454
+ }, Gn = (e, a = !1) => tt(e, a, "Casino"), Zn = (e, a = !1) => tt(e, a, "Deportes virtuales"), jn = (e, a = !1) => tt(e, a, "Casino en vivo"), Kn = (e, a) => {
2447
2455
  var n, o;
2448
2456
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2449
- }, Kn = (e) => {
2457
+ }, Jn = (e) => {
2450
2458
  if (typeof e == "boolean") return e;
2451
2459
  if (typeof e == "string")
2452
2460
  return e.toLowerCase() === "true";
@@ -2456,7 +2464,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2456
2464
  return e.value.toLowerCase() === "true";
2457
2465
  }
2458
2466
  return !1;
2459
- }, Jn = ({
2467
+ }, Xn = ({
2460
2468
  items: e,
2461
2469
  title: a = "Casino en vivo",
2462
2470
  subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
@@ -2470,10 +2478,10 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2470
2478
  isLoggedIn: m = !1,
2471
2479
  onToggleFavorite: d
2472
2480
  }) => {
2473
- const u = se(), h = ce(), x = pe(), _ = Kn(g), { resolvedItems: S, loading: M } = Zn(
2481
+ const u = se(), h = ce(), S = pe(), _ = Jn(g), { resolvedItems: y, loading: M } = jn(
2474
2482
  e,
2475
2483
  _
2476
- ), k = _ ? S : Array.isArray(e) ? e : [], O = _ ? M : !Array.isArray(e) || e.length === 0, L = Me(
2484
+ ), k = _ ? y : Array.isArray(e) ? e : [], O = _ ? M : !Array.isArray(e) || e.length === 0, L = Me(
2477
2485
  (w, B) => {
2478
2486
  if (!d) return;
2479
2487
  const E = !!w.favourite;
@@ -2486,7 +2494,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2486
2494
  label: `${h} - OraculoSeccionCasinoEnVivo${_ ? " - personalize" : ""} - Open game: ${String(w.machine || "unknown")}`,
2487
2495
  target: String(w.machine || "unknown"),
2488
2496
  event_type: "click",
2489
- module_id: x,
2497
+ module_id: S,
2490
2498
  metadata: {
2491
2499
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2492
2500
  },
@@ -2511,13 +2519,13 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2511
2519
  Ze(String(w.machine || "")), B == null || B(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2512
2520
  E == null || E(w, !1, "casino_en_vivo");
2513
2521
  });
2514
- }, y = () => {
2522
+ }, x = () => {
2515
2523
  u({
2516
2524
  element: "casino_en_vivo_view_more",
2517
2525
  label: `${h} - OraculoSeccionCasinoEnVivo${_ ? " - personalize" : ""} - Ver más`,
2518
2526
  target: "https://www.olimpo.bet/casino-en-vivo",
2519
2527
  event_type: "click",
2520
- module_id: x,
2528
+ module_id: S,
2521
2529
  metadata: {
2522
2530
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2523
2531
  },
@@ -2611,7 +2619,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2611
2619
  {
2612
2620
  variant: "primary",
2613
2621
  size: "md",
2614
- onClick: y,
2622
+ onClick: x,
2615
2623
  children: "Ver más"
2616
2624
  }
2617
2625
  ) })
@@ -2642,7 +2650,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2642
2650
  isFavorite: m ? !!w.favourite : void 0,
2643
2651
  onToggleFavorite: m && d ? (v) => L(w, v) : void 0
2644
2652
  },
2645
- jn(w, B)
2653
+ Kn(w, B)
2646
2654
  );
2647
2655
  })
2648
2656
  }
@@ -2652,7 +2660,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2652
2660
  {
2653
2661
  variant: "primary",
2654
2662
  size: "lg",
2655
- onClick: y,
2663
+ onClick: x,
2656
2664
  children: "Ver más"
2657
2665
  }
2658
2666
  ) })
@@ -2662,7 +2670,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2662
2670
  ]
2663
2671
  }
2664
2672
  );
2665
- }, Xn = (e) => {
2673
+ }, Qn = (e) => {
2666
2674
  if (typeof e == "boolean") return e;
2667
2675
  if (typeof e == "string")
2668
2676
  return e.toLowerCase() === "true";
@@ -2675,7 +2683,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2675
2683
  }, At = (e, a) => {
2676
2684
  var n, o;
2677
2685
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2678
- }, Qn = (e, a = !0, n = 1) => {
2686
+ }, Yn = (e, a = !0, n = 1) => {
2679
2687
  const o = e.map((l, c) => {
2680
2688
  var g;
2681
2689
  return {
@@ -2704,7 +2712,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2704
2712
  }), s = l;
2705
2713
  }
2706
2714
  return i;
2707
- }, Yn = ({
2715
+ }, eo = ({
2708
2716
  items: e,
2709
2717
  title: a = "Casino",
2710
2718
  iconUrl: n = "/assets/img/home/Casino/diamante.svg",
@@ -2714,10 +2722,10 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2714
2722
  gridSize: l = 1,
2715
2723
  isPersonalize: c = !1
2716
2724
  }) => {
2717
- const g = se(), f = ce(), m = pe(), d = Z(null), [u, h] = ee({ isStart: !0, isEnd: !1 }), x = Xn(c), { resolvedItems: _, loading: S } = Hn(
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(
2718
2726
  e,
2719
- x
2720
- ), M = x ? _ : Array.isArray(e) ? e : [], k = () => {
2727
+ S
2728
+ ), M = S ? _ : Array.isArray(e) ? e : [], k = () => {
2721
2729
  var E;
2722
2730
  g({
2723
2731
  element: "casino_prev",
@@ -2765,7 +2773,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2765
2773
  imageUrl: ""
2766
2774
  })), F = [];
2767
2775
  return E && F.push({ id: "mosaic-loading", kind: "mosaic", items: T(5) }), F.push({ id: "grid-loading", kind: "grid", items: T(v) }), F;
2768
- }, y = x ? S : !Array.isArray(e) || e.length === 0, w = et("(max-width:950px)"), B = y ? I(s, l) : Qn(M, s, l);
2776
+ }, x = S ? y : !Array.isArray(e) || e.length === 0, w = et("(max-width:950px)"), B = x ? I(s, l) : Yn(M, s, l);
2769
2777
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2770
2778
  /* @__PURE__ */ b(
2771
2779
  U,
@@ -2843,9 +2851,9 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2843
2851
  {
2844
2852
  items: E.items,
2845
2853
  layout: E.kind === "mosaic" ? "mosaic" : "grid",
2846
- loading: y,
2854
+ loading: x,
2847
2855
  onClick: (v) => {
2848
- if (y) return;
2856
+ if (x) return;
2849
2857
  const T = M.find(
2850
2858
  (P, V) => String(At(P, V)) === String(v.id)
2851
2859
  );
@@ -2875,7 +2883,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2875
2883
  }
2876
2884
  )
2877
2885
  ] }) });
2878
- }, eo = (e) => {
2886
+ }, to = (e) => {
2879
2887
  if (typeof e == "boolean") return e;
2880
2888
  if (typeof e == "string")
2881
2889
  return e.toLowerCase() === "true";
@@ -2888,7 +2896,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2888
2896
  }, Mt = (e, a) => {
2889
2897
  var n, o;
2890
2898
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2891
- }, to = (e, a = !0, n = 1) => {
2899
+ }, ao = (e, a = !0, n = 1) => {
2892
2900
  const o = e.map((l, c) => {
2893
2901
  var g;
2894
2902
  return {
@@ -2917,7 +2925,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2917
2925
  }), s = l;
2918
2926
  }
2919
2927
  return i;
2920
- }, ao = (e = !0, a = 4) => {
2928
+ }, no = (e = !0, a = 4) => {
2921
2929
  const n = (i) => Array.from({ length: i }, (s, l) => ({
2922
2930
  id: `sk-${i}-${l}`,
2923
2931
  imageUrl: ""
@@ -2931,7 +2939,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2931
2939
  kind: "grid",
2932
2940
  items: n(a)
2933
2941
  }), o;
2934
- }, no = ({
2942
+ }, oo = ({
2935
2943
  items: e,
2936
2944
  title: a = "Virtuales",
2937
2945
  iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
@@ -2941,14 +2949,14 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2941
2949
  gridSize: l = 1,
2942
2950
  isPersonalize: c = !1
2943
2951
  }) => {
2944
- const g = Z(null), [f, m] = ee({ isStart: !0, isEnd: !1 }), d = se(), u = ce(), h = pe(), x = eo(c), { resolvedItems: _, loading: S } = Gn(
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(
2945
2953
  e,
2946
- x
2947
- ), M = x ? _ : Array.isArray(e) ? e : [], k = () => {
2954
+ S
2955
+ ), M = S ? _ : Array.isArray(e) ? e : [], k = () => {
2948
2956
  var B;
2949
2957
  d({
2950
2958
  element: "virtuales_prev",
2951
- label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Anterior`,
2959
+ label: `${u} - OraculoSeccionVirtuales${S ? " - personalize" : ""} - Anterior`,
2952
2960
  target: "prev",
2953
2961
  event_type: "click",
2954
2962
  module_id: h,
@@ -2961,7 +2969,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2961
2969
  var B;
2962
2970
  d({
2963
2971
  element: "virtuales_next",
2964
- label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Siguiente`,
2972
+ label: `${u} - OraculoSeccionVirtuales${S ? " - personalize" : ""} - Siguiente`,
2965
2973
  target: "next",
2966
2974
  event_type: "click",
2967
2975
  module_id: h,
@@ -2973,7 +2981,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2973
2981
  }, L = () => {
2974
2982
  if (d({
2975
2983
  element: "virtuales_view_more",
2976
- label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Ver más`,
2984
+ label: `${u} - OraculoSeccionVirtuales${S ? " - personalize" : ""} - Ver más`,
2977
2985
  target: "https://www.olimpo.bet/juegos-virtuales",
2978
2986
  event_type: "click",
2979
2987
  module_id: h,
@@ -2986,7 +2994,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2986
2994
  return;
2987
2995
  }
2988
2996
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2989
- }, I = x ? S : !Array.isArray(e) || e.length === 0, y = Ne("(max-width:950px)"), w = I ? ao(s, l) : to(M, s, l);
2997
+ }, I = S ? y : !Array.isArray(e) || e.length === 0, x = Ne("(max-width:950px)"), w = I ? no(s, l) : ao(M, s, l);
2990
2998
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2991
2999
  /* @__PURE__ */ b(
2992
3000
  U,
@@ -3057,7 +3065,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3057
3065
  }
3058
3066
  },
3059
3067
  enableHorizontalWheel: !0,
3060
- showRightGradient: !y,
3068
+ showRightGradient: !x,
3061
3069
  options: { autoWidth: !0, trimSpace: "move" },
3062
3070
  renderItem: (B) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
3063
3071
  Tt,
@@ -3079,7 +3087,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3079
3087
  }
3080
3088
  o == null || o(v), d({
3081
3089
  element: "virtuales_game_card",
3082
- label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Game: ${String(v.machine || "unknown")}`,
3090
+ label: `${u} - OraculoSeccionVirtuales${S ? " - personalize" : ""} - Game: ${String(v.machine || "unknown")}`,
3083
3091
  target: String(v.machine || "unknown"),
3084
3092
  event_type: "click",
3085
3093
  module_id: h,
@@ -3096,7 +3104,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3096
3104
  F == null || F(
3097
3105
  v,
3098
3106
  !1,
3099
- x ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
3107
+ S ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
3100
3108
  );
3101
3109
  });
3102
3110
  }
@@ -3106,7 +3114,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3106
3114
  }
3107
3115
  )
3108
3116
  ] }) });
3109
- }, oo = (e) => ({
3117
+ }, ro = (e) => ({
3110
3118
  position: "relative",
3111
3119
  py: 8,
3112
3120
  color: "#fff",
@@ -3138,30 +3146,30 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3138
3146
  0 0 6px rgba(255, 255, 255, .6),
3139
3147
  0 1px 0 rgba(137, 137, 137, .85)
3140
3148
  `
3141
- }, ro = ({
3149
+ }, io = ({
3142
3150
  headline: e,
3143
3151
  headline2: a,
3144
3152
  items: n,
3145
3153
  backgroundImageUrl: o
3146
3154
  }) => {
3147
- const i = se(), s = ce(), l = Ne("(max-width: 767px)"), c = n.length > 1, g = Z(null), f = Z(null), m = Z(!1), d = Z(!1), [u, h] = ee(0), [x, _] = ee({ isStart: !0, isEnd: !1 });
3155
+ const i = se(), s = ce(), l = Ne("(max-width: 767px)"), c = n.length > 1, g = Z(null), f = Z(null), m = Z(!1), d = Z(!1), [u, h] = ee(0), [S, _] = ee({ isStart: !0, isEnd: !1 });
3148
3156
  re(() => {
3149
3157
  const v = setTimeout(() => {
3150
3158
  m.current = !0;
3151
3159
  }, 500);
3152
3160
  return () => clearTimeout(v);
3153
3161
  }, []);
3154
- const S = Z(x);
3162
+ const y = Z(S);
3155
3163
  re(() => {
3156
- S.current = x;
3157
- }, [x]);
3164
+ y.current = S;
3165
+ }, [S]);
3158
3166
  const M = Z(!1), k = Z(null), O = n == null ? void 0 : n[u], L = de(
3159
3167
  () => {
3160
3168
  var v, T;
3161
3169
  return (T = (v = O == null ? void 0 : O.backgroundImageUrl) != null ? v : o) != null ? T : "";
3162
3170
  },
3163
3171
  [O, o]
3164
- ), I = oo(L), y = !n || n.length === 0, w = (v, T) => {
3172
+ ), I = ro(L), x = !n || n.length === 0, w = (v, T) => {
3165
3173
  i({
3166
3174
  element: "welcome_banner_button",
3167
3175
  label: `OraculoSeccionBonoBienvenida - Banner button click: ${v.title || "OraculoSeccionBonoBienvenida - Banner " + (T + 1)}`,
@@ -3208,18 +3216,18 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3208
3216
  if (!v) return;
3209
3217
  const T = 6, F = 380, R = (P) => {
3210
3218
  var G, q;
3211
- if (y || P.ctrlKey || M.current) return;
3219
+ if (x || P.ctrlKey || M.current) return;
3212
3220
  const V = P.deltaX, W = P.deltaY;
3213
3221
  if (Math.abs(V) <= Math.abs(W) || Math.abs(V) < T) return;
3214
3222
  const D = V > 0;
3215
- D && S.current.isEnd || !D && S.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 && 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(() => {
3216
3224
  M.current = !1;
3217
3225
  }, F));
3218
3226
  };
3219
3227
  return v.addEventListener("wheel", R, { passive: !1 }), () => {
3220
3228
  v.removeEventListener("wheel", R), k.current && window.clearTimeout(k.current);
3221
3229
  };
3222
- }, [y]);
3230
+ }, [x]);
3223
3231
  const E = (v, T, F) => {
3224
3232
  var V, W;
3225
3233
  const R = (V = v.headline) != null ? V : e, P = (W = v.headline2) != null ? W : a;
@@ -3332,7 +3340,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3332
3340
  }
3333
3341
  ) })
3334
3342
  ] });
3335
- }, io = ({
3343
+ }, lo = ({
3336
3344
  className: e = "",
3337
3345
  fullBleed: a = !0,
3338
3346
  items: n,
@@ -3346,10 +3354,10 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3346
3354
  let _ = s;
3347
3355
  if ((!(_ != null && _.user) || !(_ != null && _.session)) && typeof window != "undefined")
3348
3356
  try {
3349
- const S = localStorage.getItem("user");
3350
- S && (_ = JSON.parse(S));
3351
- } catch (S) {
3352
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", S);
3357
+ const y = localStorage.getItem("user");
3358
+ y && (_ = JSON.parse(y));
3359
+ } catch (y) {
3360
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", y);
3353
3361
  }
3354
3362
  if (!(_ != null && _.user) || !(_ != null && _.session))
3355
3363
  return console.warn("User data missing"), null;
@@ -3365,7 +3373,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3365
3373
  tags: { section: "OraculoSeccionClubOlimpo" }
3366
3374
  });
3367
3375
  try {
3368
- const S = {
3376
+ const y = {
3369
3377
  idUsuario: "PE" + _.user,
3370
3378
  session_id: _.session,
3371
3379
  pagina: "home"
@@ -3374,15 +3382,15 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3374
3382
  headers: {
3375
3383
  "Content-Type": "application/json"
3376
3384
  },
3377
- body: JSON.stringify(S)
3385
+ body: JSON.stringify(y)
3378
3386
  });
3379
3387
  if (k.ok) {
3380
3388
  const O = await k.json();
3381
3389
  return O == null ? void 0 : O.url;
3382
3390
  }
3383
3391
  return null;
3384
- } catch (S) {
3385
- return console.error("[getMarketPlaceUrl]", S), null;
3392
+ } catch (y) {
3393
+ return console.error("[getMarketPlaceUrl]", y), null;
3386
3394
  }
3387
3395
  }, u = async () => {
3388
3396
  const _ = await d();
@@ -3390,15 +3398,15 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3390
3398
  }, h = Array.isArray(n) ? n[o] : n;
3391
3399
  Vt(() => {
3392
3400
  if (!l.current || !c.current || typeof ResizeObserver == "undefined") return;
3393
- const _ = l.current, S = c.current, M = () => {
3401
+ const _ = l.current, y = c.current, M = () => {
3394
3402
  _.style.setProperty(
3395
3403
  "--orc-co-bottomH",
3396
- `${S.offsetHeight + 16}px`
3404
+ `${y.offsetHeight + 16}px`
3397
3405
  );
3398
3406
  }, k = new ResizeObserver(M);
3399
- return k.observe(S), M(), () => k.disconnect();
3407
+ return k.observe(y), M(), () => k.disconnect();
3400
3408
  }, []);
3401
- const x = [
3409
+ const S = [
3402
3410
  "orc-co-wrap",
3403
3411
  a ? "orc-co-fullBleed" : "",
3404
3412
  e
@@ -3407,7 +3415,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3407
3415
  "section",
3408
3416
  {
3409
3417
  ref: l,
3410
- className: x,
3418
+ className: S,
3411
3419
  "aria-label": i || h.imgAlt || "Club Olimpo",
3412
3420
  children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
3413
3421
  qa,
@@ -3423,23 +3431,23 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3423
3431
  ) })
3424
3432
  }
3425
3433
  );
3426
- }, lo = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", so = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", gt = {
3427
- controls: lo,
3428
- padding: so
3429
- }, co = (e) => {
3434
+ }, so = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", co = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", gt = {
3435
+ controls: so,
3436
+ padding: co
3437
+ }, uo = (e) => {
3430
3438
  var a, n;
3431
3439
  return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
3432
3440
  var i, s;
3433
3441
  return (s = (i = o.outcomes) == null ? void 0 : i.map((l) => l.id)) != null ? s : [];
3434
3442
  }) : [];
3435
3443
  };
3436
- function uo(e, a, n) {
3444
+ function mo(e, a, n) {
3437
3445
  return n ? n.map((o) => {
3438
3446
  var m, d;
3439
- const i = o.prePackCouponRows.flatMap((u) => co(u).map((h) => ({ eventId: u.eventId, outcomeId: h }))), s = new Set(i.map((u) => u.eventId)), l = new Set(i.map((u) => u.outcomeId)), c = new Map(i.map((u, h) => [u.outcomeId, h])), g = {};
3447
+ const i = o.prePackCouponRows.flatMap((u) => uo(u).map((h) => ({ eventId: u.eventId, outcomeId: h }))), s = new Set(i.map((u) => u.eventId)), l = new Set(i.map((u) => u.outcomeId)), c = new Map(i.map((u, h) => [u.outcomeId, h])), g = {};
3440
3448
  for (const u of a) {
3441
3449
  if (!s.has(u.eventId)) continue;
3442
- const h = u.outcomes.filter((x) => l.has(x.id)).map((x) => ({ ...x, position: c.get(x.id) }));
3450
+ const h = u.outcomes.filter((S) => l.has(S.id)).map((S) => ({ ...S, position: c.get(S.id) }));
3443
3451
  h.length && ((d = g[m = u.eventId]) != null || (g[m] = []), g[u.eventId].push({ ...u, outcomes: h }));
3444
3452
  }
3445
3453
  const f = e.filter((u) => s.has(u.id)).map((u) => {
@@ -3449,12 +3457,12 @@ function uo(e, a, n) {
3449
3457
  return {
3450
3458
  couponId: o.id,
3451
3459
  status: o.status,
3452
- combinadoTotal: mo(o.prePackCouponRows),
3460
+ combinadoTotal: po(o.prePackCouponRows),
3453
3461
  events: f
3454
3462
  };
3455
3463
  }) : [];
3456
3464
  }
3457
- function mo(e) {
3465
+ function po(e) {
3458
3466
  if (!Array.isArray(e) || e.length === 0) return 0;
3459
3467
  let a = 1;
3460
3468
  for (const n of e) {
@@ -3463,15 +3471,15 @@ function mo(e) {
3463
3471
  }
3464
3472
  return Math.floor(a * 100) / 100;
3465
3473
  }
3466
- const po = ve.memo(en);
3467
- function fo({
3474
+ const fo = ve.memo(en);
3475
+ function go({
3468
3476
  items: e,
3469
3477
  title: a = "Combinadas del Olimpo",
3470
3478
  iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
3471
3479
  onViewMore: o,
3472
3480
  className: i = ""
3473
3481
  }) {
3474
- 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", x = () => {
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 = () => {
3475
3483
  var I;
3476
3484
  s({
3477
3485
  element: "evento_combinadas_prev",
@@ -3495,7 +3503,7 @@ function fo({
3495
3503
  },
3496
3504
  tags: { section: "OraculoSeccionEventoCombinadas" }
3497
3505
  }), (I = g.current) == null || I.next();
3498
- }, S = () => {
3506
+ }, y = () => {
3499
3507
  s({
3500
3508
  element: "evento_combinadas_ver_mas",
3501
3509
  label: `${l} - OraculoSeccionEventoCombinadas - Click: Ver más`,
@@ -3508,15 +3516,15 @@ function fo({
3508
3516
  }), Ya();
3509
3517
  }, M = de(() => d.filter((I) => I.combinadoTotal !== null), [d]);
3510
3518
  async function k() {
3511
- var I, y, w, B;
3519
+ var I, x, w, B;
3512
3520
  try {
3513
- const v = await (await fetch(h)).json(), T = (B = (w = (y = (I = v == null ? void 0 : v.group) == null ? void 0 : I.groups) == null ? void 0 : y.map((V) => V.id)) == null ? void 0 : w.filter(Boolean)) == null ? void 0 : B.join(",");
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(",");
3514
3522
  if (!T) {
3515
3523
  console.error("Could not extract group ID");
3516
3524
  return;
3517
3525
  }
3518
3526
  const F = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${T}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, P = await (await fetch(F)).json();
3519
- u(uo(P.events, P.betOffers, P.prePackCoupons));
3527
+ u(mo(P.events, P.betOffers, P.prePackCoupons));
3520
3528
  } catch (E) {
3521
3529
  console.error("loadDataEventSpecial error:", E);
3522
3530
  }
@@ -3542,7 +3550,7 @@ function fo({
3542
3550
  variant: "secondary",
3543
3551
  iconOnly: !0,
3544
3552
  leftIcon: /* @__PURE__ */ t(He, {}),
3545
- onClick: x,
3553
+ onClick: S,
3546
3554
  disabled: f.isStart
3547
3555
  }
3548
3556
  ),
@@ -3558,7 +3566,7 @@ function fo({
3558
3566
  }
3559
3567
  )
3560
3568
  ] }),
3561
- /* @__PURE__ */ t(ae, { variant: "secondary", onClick: S, children: "Ver más" })
3569
+ /* @__PURE__ */ t(ae, { variant: "secondary", onClick: y, children: "Ver más" })
3562
3570
  ] })
3563
3571
  ] }) }),
3564
3572
  /* @__PURE__ */ t(
@@ -3575,13 +3583,13 @@ function fo({
3575
3583
  breakpoints: {
3576
3584
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3577
3585
  },
3578
- renderItem: (I) => /* @__PURE__ */ t(po, { coupon: I }),
3579
- onMove: ({ isStart: I, isEnd: y }) => m({ isStart: I, isEnd: y })
3586
+ renderItem: (I) => /* @__PURE__ */ t(fo, { coupon: I }),
3587
+ onMove: ({ isStart: I, isEnd: x }) => m({ isStart: I, isEnd: x })
3580
3588
  }
3581
3589
  )
3582
3590
  ] }) });
3583
3591
  }
3584
- function go({}) {
3592
+ function ho({}) {
3585
3593
  return /* @__PURE__ */ t(
3586
3594
  "div",
3587
3595
  {
@@ -3615,14 +3623,14 @@ function go({}) {
3615
3623
  }
3616
3624
  );
3617
3625
  }
3618
- const ho = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", bo = {
3619
- fadeWrapper: ho
3626
+ const bo = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", _o = {
3627
+ fadeWrapper: bo
3620
3628
  };
3621
3629
  function De({ children: e }) {
3622
- return /* @__PURE__ */ t("div", { className: bo.fadeWrapper, children: e });
3630
+ return /* @__PURE__ */ t("div", { className: _o.fadeWrapper, children: e });
3623
3631
  }
3624
- const _o = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", vo = {
3625
- padding: _o
3632
+ const vo = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", yo = {
3633
+ padding: vo
3626
3634
  };
3627
3635
  function Bt({
3628
3636
  events: e,
@@ -3636,22 +3644,22 @@ function Bt({
3636
3644
  if (!(!e || e.length === 0))
3637
3645
  return f.current && clearTimeout(f.current), f.current = setTimeout(() => {
3638
3646
  var L, I;
3639
- const d = (L = a.start) != null ? L : 0, u = (I = a.end) != null ? I : 7, h = Math.max(0, d - o), x = Math.min(e.length - 1, u + o);
3640
- let _ = h, S = x;
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;
3641
3649
  const M = m.current;
3642
- M && (h > M.end && (_ = M.end + 1), x < M.start && (S = M.start - 1)), m.current = { start: h, end: x };
3643
- const k = e.slice(_, S + 1).map((y) => y == null ? void 0 : y.id).filter((y) => !!y).filter((y) => !c.current.has(y)).filter((y) => !(y in s));
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));
3644
3652
  if (k.length === 0) return;
3645
- k.forEach((y) => c.current.add(y));
3653
+ k.forEach((x) => c.current.add(x));
3646
3654
  const O = ++g.current;
3647
3655
  (async () => {
3648
3656
  try {
3649
- const y = await n(k);
3657
+ const x = await n(k);
3650
3658
  if (O !== g.current) {
3651
3659
  k.forEach((B) => c.current.delete(B));
3652
3660
  return;
3653
3661
  }
3654
- if (!(y != null && y.events)) {
3662
+ if (!(x != null && x.events)) {
3655
3663
  k.forEach(
3656
3664
  (B) => c.current.delete(B)
3657
3665
  );
@@ -3659,22 +3667,22 @@ function Bt({
3659
3667
  }
3660
3668
  l((B) => {
3661
3669
  const E = { ...B };
3662
- for (const [v, T] of Object.entries(y.events)) {
3670
+ for (const [v, T] of Object.entries(x.events)) {
3663
3671
  const F = Number(v);
3664
3672
  E[F] || (E[F] = T);
3665
3673
  }
3666
3674
  return E;
3667
3675
  });
3668
3676
  const w = new Set(
3669
- Object.keys(y.events).map(Number)
3677
+ Object.keys(x.events).map(Number)
3670
3678
  );
3671
3679
  k.forEach((B) => {
3672
3680
  c.current.delete(B);
3673
3681
  });
3674
- } catch (y) {
3682
+ } catch (x) {
3675
3683
  k.forEach(
3676
3684
  (w) => c.current.delete(w)
3677
- ), console.error("Jersey fetch error", y);
3685
+ ), console.error("Jersey fetch error", x);
3678
3686
  }
3679
3687
  })();
3680
3688
  }, i), () => {
@@ -3685,7 +3693,7 @@ function Bt({
3685
3693
  isPending: c.current
3686
3694
  };
3687
3695
  }
3688
- const yo = (e) => {
3696
+ const xo = (e) => {
3689
3697
  const a = ["esports", "cyber"];
3690
3698
  return e.filter((n) => {
3691
3699
  var s, l;
@@ -3693,8 +3701,8 @@ const yo = (e) => {
3693
3701
  const i = typeof ((l = n == null ? void 0 : n.event) == null ? void 0 : l.group) == "string" ? n.event.group.toLowerCase() : "";
3694
3702
  return !a.some((c) => i.includes(c));
3695
3703
  });
3696
- }, xo = ve.memo(Sn);
3697
- function So({
3704
+ }, So = ve.memo(Sn);
3705
+ function wo({
3698
3706
  items: e,
3699
3707
  title: a = "En vivo",
3700
3708
  iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
@@ -3705,9 +3713,9 @@ function So({
3705
3713
  { 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" },
3706
3714
  { 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" },
3707
3715
  { 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" }
3708
- ], l = Z(null), [c, g] = ee({ isStart: !0, isEnd: !1 }), [f, m] = ee(null), [d, u] = ee({ start: null, end: null }), [h, x] = ee(null), _ = Z(!1), S = se(), M = ce(), k = pe(), O = Z(/* @__PURE__ */ new Map()), L = () => {
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 = () => {
3709
3717
  var R;
3710
- S({
3718
+ y({
3711
3719
  element: "evento_en_vivo_prev",
3712
3720
  label: `${M} - OraculoSeccionEventoEnVivo - Anterior`,
3713
3721
  target: "prev",
@@ -3720,7 +3728,7 @@ function So({
3720
3728
  }), (R = l.current) == null || R.prev();
3721
3729
  }, I = () => {
3722
3730
  var R;
3723
- S({
3731
+ y({
3724
3732
  element: "evento_en_vivo_next",
3725
3733
  label: `${M} - OraculoSeccionEventoEnVivo - Siguiente`,
3726
3734
  target: "next",
@@ -3731,8 +3739,8 @@ function So({
3731
3739
  },
3732
3740
  tags: { section: "OraculoSeccionEventoEnVivo" }
3733
3741
  }), (R = l.current) == null || R.next();
3734
- }, y = () => {
3735
- S({
3742
+ }, x = () => {
3743
+ y({
3736
3744
  element: "evento_en_vivo_view_more",
3737
3745
  label: `${M} - OraculoSeccionEventoEnVivo - Ver más`,
3738
3746
  target: "ver_mas",
@@ -3772,7 +3780,7 @@ function So({
3772
3780
  );
3773
3781
  let V = [];
3774
3782
  P.forEach(({ sport: G, events: q }) => {
3775
- const Y = yo(q).map((r) => ({ ...r, _sportGroup: G }));
3783
+ const Y = xo(q).map((r) => ({ ...r, _sportGroup: G }));
3776
3784
  V.push(...Y);
3777
3785
  });
3778
3786
  const W = {
@@ -3813,7 +3821,7 @@ function So({
3813
3821
  width: "100%",
3814
3822
  boxSizing: "border-box"
3815
3823
  }, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3816
- /* @__PURE__ */ t("div", { className: vo.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3824
+ /* @__PURE__ */ t("div", { className: yo.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3817
3825
  /* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
3818
3826
  /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3819
3827
  /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
@@ -3840,7 +3848,7 @@ function So({
3840
3848
  }
3841
3849
  )
3842
3850
  ] }),
3843
- /* @__PURE__ */ t(ae, { variant: "secondary", onClick: y, children: "Ver más" })
3851
+ /* @__PURE__ */ t(ae, { variant: "secondary", onClick: x, children: "Ver más" })
3844
3852
  ] })
3845
3853
  ] }) }),
3846
3854
  /* @__PURE__ */ t(
@@ -3861,8 +3869,8 @@ function So({
3861
3869
  renderItem: (R) => {
3862
3870
  var W;
3863
3871
  const P = ((W = R.event) == null ? void 0 : W.id) || R.eventId, V = P in B ? B[P] : void 0;
3864
- return v ? /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(go, {}) }) : /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(
3865
- xo,
3872
+ return v ? /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(ho, {}) }) : /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(
3873
+ So,
3866
3874
  {
3867
3875
  ...R,
3868
3876
  jersey: V
@@ -3878,7 +3886,7 @@ function So({
3878
3886
  )
3879
3887
  ] }) });
3880
3888
  }
3881
- function wo() {
3889
+ function Oo() {
3882
3890
  return /* @__PURE__ */ b("div", { className: Te.cardContainer, children: [
3883
3891
  /* @__PURE__ */ t(Ot, { title: "" }),
3884
3892
  /* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
@@ -3906,13 +3914,13 @@ function wo() {
3906
3914
  ] }) })
3907
3915
  ] });
3908
3916
  }
3909
- const Oo = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Io = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", To = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Eo = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Re = {
3910
- wrapper: Oo,
3911
- container: Io,
3912
- buttonWrapper: To,
3913
- padding: Eo
3914
- }, Co = ve.memo(Nn);
3915
- async function ko(e, a = 2, n) {
3917
+ const Io = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", To = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Eo = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Co = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Re = {
3918
+ wrapper: Io,
3919
+ container: To,
3920
+ buttonWrapper: Eo,
3921
+ padding: Co
3922
+ }, ko = ve.memo(Nn);
3923
+ async function No(e, a = 2, n) {
3916
3924
  const o = [];
3917
3925
  for (let i = 0; i < e.length; i += a) {
3918
3926
  if (n.aborted)
@@ -3924,12 +3932,12 @@ async function ko(e, a = 2, n) {
3924
3932
  }
3925
3933
  return o;
3926
3934
  }
3927
- function No(e) {
3935
+ function $o(e) {
3928
3936
  return [...e].sort(
3929
3937
  (a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
3930
3938
  );
3931
3939
  }
3932
- function $o(e) {
3940
+ function Ao(e) {
3933
3941
  const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
3934
3942
  return e.filter((o) => {
3935
3943
  if (!o.start) return !1;
@@ -3937,7 +3945,7 @@ function $o(e) {
3937
3945
  return i >= a && i <= n;
3938
3946
  });
3939
3947
  }
3940
- function Ao(e, a) {
3948
+ function Mo(e, a) {
3941
3949
  const o = a.filter((i) => {
3942
3950
  var s;
3943
3951
  return ((s = i.betOfferType) == null ? void 0 : s.id) === 2;
@@ -3947,7 +3955,7 @@ function Ao(e, a) {
3947
3955
  outcome: o[i.id]
3948
3956
  }));
3949
3957
  }
3950
- function Mo({
3958
+ function Bo({
3951
3959
  items: e,
3952
3960
  title: a = "En vivo",
3953
3961
  iconUrl: n,
@@ -3958,7 +3966,7 @@ function Mo({
3958
3966
  { englishName: "Football", termPath: "football", limit: 5 },
3959
3967
  { englishName: "Basketball", termPath: "basketball", limit: 2 },
3960
3968
  { englishName: "Tennis", termPath: "tennis", limit: 2 }
3961
- ], 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, x] = ee(null), [_, S] = ee({ start: null, end: null }), M = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", k = () => {
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 = () => {
3962
3970
  s({
3963
3971
  element: "evento_semana_view_more",
3964
3972
  label: `${l} - OraculoSeccionEventoSemana - Ver más`,
@@ -4027,14 +4035,14 @@ function Mo({
4027
4035
  }
4028
4036
  async function L(v, T, F) {
4029
4037
  try {
4030
- const R = await ko(v, 2, F);
4038
+ const R = await No(v, 2, F);
4031
4039
  let P = [], V = [];
4032
4040
  R.forEach((q) => {
4033
4041
  q.events && (P.push(...q.events.map((K) => K.event)), V.push(
4034
4042
  ...q.events.flatMap((K) => K.betOffers || [])
4035
4043
  ));
4036
4044
  });
4037
- const W = Ao(P, V), D = No($o(W));
4045
+ const W = Mo(P, V), D = $o(Ao(W));
4038
4046
  let G = D;
4039
4047
  if (T.length > 0) {
4040
4048
  const q = new Map(
@@ -4049,7 +4057,7 @@ function Mo({
4049
4057
  });
4050
4058
  }
4051
4059
  if (F.aborted) return;
4052
- x(G);
4060
+ S(G);
4053
4061
  } catch (R) {
4054
4062
  console.error("Error loading events:", R);
4055
4063
  }
@@ -4061,7 +4069,7 @@ function Mo({
4061
4069
  v.abort();
4062
4070
  };
4063
4071
  }, [e]);
4064
- const I = i || void 0, y = {
4072
+ const I = i || void 0, x = {
4065
4073
  paddingLeft: 0,
4066
4074
  width: "100%",
4067
4075
  boxSizing: "border-box"
@@ -4072,7 +4080,7 @@ function Mo({
4072
4080
  buffer: 2,
4073
4081
  debounceMs: 250
4074
4082
  }), B = h === null, E = Ne("(max-width:950px)");
4075
- return !B && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: y, children: /* @__PURE__ */ b("div", { className: `${Re.wrapper} ${Re.padding}`, children: [
4083
+ return !B && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: x, children: /* @__PURE__ */ b("div", { className: `${Re.wrapper} ${Re.padding}`, children: [
4076
4084
  /* @__PURE__ */ t("div", { className: Re.container, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
4077
4085
  /* @__PURE__ */ t(ye, { title: "Eventos de la semana" }),
4078
4086
  /* @__PURE__ */ t("div", { className: Re.buttonWrapper, children: /* @__PURE__ */ t(
@@ -4108,10 +4116,10 @@ function Mo({
4108
4116
  },
4109
4117
  renderItem: (v) => {
4110
4118
  const T = v.id, F = T in w ? w[T] : void 0;
4111
- return B ? /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(wo, {}) }) : /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(Co, { event: v, jersey: F }) });
4119
+ return B ? /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(Oo, {}) }) : /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(ko, { event: v, jersey: F }) });
4112
4120
  },
4113
4121
  onMove: ({ isStart: v, isEnd: T, visibleStart: F, visibleEnd: R, source: P }) => {
4114
- u({ isStart: v, isEnd: T }), S({
4122
+ u({ isStart: v, isEnd: T }), y({
4115
4123
  start: F,
4116
4124
  end: R
4117
4125
  }), P === "user" && s({
@@ -4134,9 +4142,9 @@ function Mo({
4134
4142
  ) })
4135
4143
  ] }) });
4136
4144
  }
4137
- const Bo = -300, Lo = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ht = (e) => {
4145
+ const Lo = -300, Ro = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ht = (e) => {
4138
4146
  if (!e) return null;
4139
- if (Lo(e)) {
4147
+ if (Ro(e)) {
4140
4148
  const g = new Date(e).getTime();
4141
4149
  return Number.isNaN(g) ? null : g;
4142
4150
  }
@@ -4149,32 +4157,32 @@ const Bo = -300, Lo = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ht = (e) => {
4149
4157
  Number(n),
4150
4158
  Number(o) - 1,
4151
4159
  Number(i),
4152
- Number(s) - Bo / 60,
4160
+ Number(s) - Lo / 60,
4153
4161
  Number(l),
4154
4162
  Number(c)
4155
4163
  );
4156
- }, Ro = (e, a) => {
4157
- var c, g, f, m, d, u, h, x, _;
4158
- 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((S) => (S == null ? void 0 : S.name) === "startAt")) == null ? void 0 : m.value) != null ? u : null, i = (_ = (x = e == null ? void 0 : e.endAt) != null ? x : (h = n.find((S) => (S == null ? void 0 : S.name) === "endAt")) == null ? void 0 : h.value) != null ? _ : null, s = ht(o), l = ht(i);
4164
+ }, Po = (e, a) => {
4165
+ 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);
4159
4167
  return !(s != null && a < s || l != null && a >= l);
4160
4168
  };
4161
- function Po({
4169
+ function Fo({
4162
4170
  backgrounds: e,
4163
4171
  items: a,
4164
4172
  hideItems: n,
4165
4173
  user: o = null
4166
4174
  }) {
4167
4175
  var Y;
4168
- 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()), x = ue("setDepositActionGlobal"), _ = ue("setAbrirLiveActionGlobal"), S = ue("openLoginWithRedirect"), M = (r) => [...r != null ? r : []].map((p, C) => ({ item: p, index: C })).sort((p, C) => {
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) => {
4169
4177
  var $, z;
4170
4178
  const A = ($ = p.item.order) != null ? $ : Number.MAX_SAFE_INTEGER, N = (z = C.item.order) != null ? z : Number.MAX_SAFE_INTEGER;
4171
4179
  return A - N || p.index - C.index;
4172
4180
  }).map(({ item: p }) => p), k = de(() => M(a), [a]), O = de(() => {
4173
4181
  const r = (e != null ? e : []).filter(
4174
- (p) => Ro(p, u)
4182
+ (p) => Po(p, u)
4175
4183
  );
4176
4184
  return M(r);
4177
- }, [e, u]), L = O.length || 1, I = !O || O.length === 0, y = !I && O.length > 1, w = !n && k.length > 0;
4185
+ }, [e, u]), L = O.length || 1, I = !O || O.length === 0, x = !I && O.length > 1, w = !n && k.length > 0;
4178
4186
  et("(max-width:950px)");
4179
4187
  const B = "#B5B5B5";
4180
4188
  re(() => {
@@ -4229,7 +4237,7 @@ function Po({
4229
4237
  if (A)
4230
4238
  switch (r.preventDefault(), r.stopPropagation(), p.idFunction) {
4231
4239
  case "deposito":
4232
- x == null || x(!0);
4240
+ S == null || S(!0);
4233
4241
  return;
4234
4242
  case "abrirLive":
4235
4243
  _ == null || _();
@@ -4275,7 +4283,7 @@ function Po({
4275
4283
  item_label: r.label || "no_label"
4276
4284
  }
4277
4285
  }), !o && r.label == "MISIONES") {
4278
- S == null || S((p = r.href) != null ? p : "");
4286
+ y == null || y((p = r.href) != null ? p : "");
4279
4287
  return;
4280
4288
  }
4281
4289
  if (r.onClick) {
@@ -4434,7 +4442,7 @@ function Po({
4434
4442
  )
4435
4443
  }
4436
4444
  ),
4437
- y && /* @__PURE__ */ b(te, { children: [
4445
+ x && /* @__PURE__ */ b(te, { children: [
4438
4446
  /* @__PURE__ */ t(
4439
4447
  Qe,
4440
4448
  {
@@ -4625,7 +4633,7 @@ function Po({
4625
4633
  }
4626
4634
  );
4627
4635
  }
4628
- const Fo = [
4636
+ const zo = [
4629
4637
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
4630
4638
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
4631
4639
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
@@ -4635,9 +4643,9 @@ const Fo = [
4635
4643
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
4636
4644
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
4637
4645
  ];
4638
- function zo({
4646
+ function Uo({
4639
4647
  title: e = "Medios de pago",
4640
- items: a = Fo
4648
+ items: a = zo
4641
4649
  }) {
4642
4650
  const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
4643
4651
  return /* @__PURE__ */ b(le, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
@@ -4716,26 +4724,26 @@ function Lt({
4716
4724
  e
4717
4725
  ] });
4718
4726
  }
4719
- function cr({
4727
+ function dr({
4720
4728
  docId: e = "Landing: home",
4721
4729
  moduleId: a = 301,
4722
4730
  children: n
4723
4731
  }) {
4724
4732
  return /* @__PURE__ */ t(Lt, { children: /* @__PURE__ */ t(kt, { docId: e, moduleId: a, children: n }) });
4725
4733
  }
4726
- const Uo = {
4734
+ const qo = {
4727
4735
  OraculoSeccionDestacados: An,
4728
4736
  OraculoSeccionTopJuegos: Pn,
4729
- OraculoSeccionCasinoEnVivo: Jn,
4730
- OraculoSeccionCasino: Yn,
4731
- OraculoSeccionVirtuales: no,
4732
- OraculoSeccionClubOlimpo: io,
4733
- OraculoSeccionBonoBienvenida: ro,
4734
- OraculoSeccionBanners: Po,
4735
- OraculoSeccionMediosPago: zo,
4736
- OraculoSeccionEventoEnVivo: So,
4737
- OraculoSeccionEventoSemana: Mo,
4738
- OraculoSeccionEventoCombinadas: fo
4737
+ OraculoSeccionCasinoEnVivo: Xn,
4738
+ OraculoSeccionCasino: eo,
4739
+ OraculoSeccionVirtuales: oo,
4740
+ OraculoSeccionClubOlimpo: lo,
4741
+ OraculoSeccionBonoBienvenida: io,
4742
+ OraculoSeccionBanners: Fo,
4743
+ OraculoSeccionMediosPago: Uo,
4744
+ OraculoSeccionEventoEnVivo: wo,
4745
+ OraculoSeccionEventoSemana: Bo,
4746
+ OraculoSeccionEventoCombinadas: go
4739
4747
  }, Pe = {
4740
4748
  sections: [
4741
4749
  {
@@ -6104,7 +6112,7 @@ const Uo = {
6104
6112
  componentKey: "OraculoSeccionMediosPago"
6105
6113
  }
6106
6114
  ]
6107
- }, qo = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, Vo = (e) => /^OraculoSeccion[A-Z]/.test(e);
6115
+ }, Vo = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, Wo = (e) => /^OraculoSeccion[A-Z]/.test(e);
6108
6116
  function Ae(e) {
6109
6117
  return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
6110
6118
  var o, i;
@@ -6130,11 +6138,11 @@ function Ae(e) {
6130
6138
  };
6131
6139
  }) : [];
6132
6140
  }
6133
- const Wo = Object.fromEntries(
6134
- Object.entries(Uo).filter(
6135
- ([e, a]) => Vo(e) && qo(a)
6141
+ const Do = Object.fromEntries(
6142
+ Object.entries(qo).filter(
6143
+ ([e, a]) => Wo(e) && Vo(a)
6136
6144
  )
6137
- ), Do = (e) => {
6145
+ ), Ho = (e) => {
6138
6146
  try {
6139
6147
  return Object.fromEntries(e != null ? e : []);
6140
6148
  } catch {
@@ -6146,7 +6154,7 @@ class bt extends Error {
6146
6154
  super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
6147
6155
  }
6148
6156
  }
6149
- class Ho extends ve.Component {
6157
+ class Go extends ve.Component {
6150
6158
  constructor(a) {
6151
6159
  super(a), this.state = { hasError: !1 };
6152
6160
  }
@@ -6170,13 +6178,13 @@ const _t = [
6170
6178
  "OraculoSeccionEventoEnVivo",
6171
6179
  "OraculoSeccionEventoSemana",
6172
6180
  "OraculoSeccionEventoCombinadas"
6173
- ], Go = [
6181
+ ], Zo = [
6174
6182
  "OraculoSeccionCasino",
6175
6183
  "OraculoSeccionVirtuales",
6176
6184
  "OraculoSeccionCasinoEnVivo",
6177
6185
  "OraculoSeccionTopJuegos",
6178
6186
  "OraculoSeccionDestacados"
6179
- ], dr = ({
6187
+ ], ur = ({
6180
6188
  sectionsOverride: e,
6181
6189
  docId: a = "Landing: home",
6182
6190
  moduleId: n = 301,
@@ -6185,16 +6193,16 @@ const _t = [
6185
6193
  loader: s,
6186
6194
  disableWrapper: l = !1
6187
6195
  }) => {
6188
- const c = de(() => Do(i), [i]), g = s || c.loader, [f, m] = ee(
6196
+ const c = de(() => Ho(i), [i]), g = s || c.loader, [f, m] = ee(
6189
6197
  () => e ? [] : Ae(Pe)
6190
- ), [d, u] = ee(!1), [h, x] = ee({}), [_, S] = ee({}), [M, k] = ee({}), O = et("(min-width:1024px)"), L = de(
6198
+ ), [d, u] = ee(!1), [h, S] = ee({}), [_, y] = ee({}), [M, k] = ee({}), O = et("(min-width:1024px)"), L = de(
6191
6199
  () => Ae(Pe),
6192
6200
  []
6193
6201
  ), I = (r) => L.find(
6194
6202
  (p) => p.id === r.id || p.componentKey === r.componentKey
6195
- ), y = (r) => Array.isArray(r) ? r.map((p) => Number(p)).filter((p) => !Number.isNaN(p)) : [], w = de(() => {
6203
+ ), x = (r) => Array.isArray(r) ? r.map((p) => Number(p)).filter((p) => !Number.isNaN(p)) : [], w = de(() => {
6196
6204
  const r = c.user;
6197
- return y(r == null ? void 0 : r.groups);
6205
+ return x(r == null ? void 0 : r.groups);
6198
6206
  }, [c]), B = (r) => {
6199
6207
  const p = r.manualScalarFields;
6200
6208
  if (!Array.isArray(p)) return [];
@@ -6296,15 +6304,15 @@ const _t = [
6296
6304
  if (r.length)
6297
6305
  for (const { s: p, url: C } of r) {
6298
6306
  const A = `${p.id}|${C}`;
6299
- F.current.has(A) || (F.current.add(A), S((N) => ({ ...N, [p.id]: !0 })), k((N) => ({ ...N, [p.id]: "" })), (async () => {
6307
+ F.current.has(A) || (F.current.add(A), y((N) => ({ ...N, [p.id]: !0 })), k((N) => ({ ...N, [p.id]: "" })), (async () => {
6300
6308
  try {
6301
6309
  const N = await v(p);
6302
- x(($) => ({ ...$, [p.id]: N }));
6310
+ S(($) => ({ ...$, [p.id]: N }));
6303
6311
  } catch (N) {
6304
6312
  let $ = "Error desconocido";
6305
6313
  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]: $ }));
6306
6314
  } finally {
6307
- S((N) => ({ ...N, [p.id]: !1 }));
6315
+ y((N) => ({ ...N, [p.id]: !1 }));
6308
6316
  }
6309
6317
  })());
6310
6318
  }
@@ -6433,7 +6441,7 @@ const _t = [
6433
6441
  component: "bg-yellow-100 text-yellow-800"
6434
6442
  }[p]}`, children: C }, r), Y = (r) => {
6435
6443
  var $e;
6436
- const p = r.componentKey, C = Wo[p], N = (/* @__PURE__ */ new Set([
6444
+ const p = r.componentKey, C = Do[p], N = (/* @__PURE__ */ new Set([
6437
6445
  "OraculoSeccionBanners",
6438
6446
  "OraculoSeccionBonoBienvenida",
6439
6447
  "OraculoSeccionCasinoEnVivo",
@@ -6463,7 +6471,7 @@ const _t = [
6463
6471
  );
6464
6472
  const oe = !!(($e = r.apiUrl) != null && $e.trim()), j = oe ? h[r.id] : void 0, ie = oe ? !!_[r.id] : !1, Se = oe ? M[r.id] : "";
6465
6473
  if (oe) {
6466
- const Rt = Go.includes(r.componentKey);
6474
+ const Rt = Zo.includes(r.componentKey);
6467
6475
  if (ie && !j && !Rt)
6468
6476
  return K(
6469
6477
  r.id,
@@ -6494,7 +6502,7 @@ const _t = [
6494
6502
  ...we,
6495
6503
  user: c.user
6496
6504
  } : we;
6497
- return /* @__PURE__ */ t(Ho, { section: r, children: /* @__PURE__ */ t(
6505
+ return /* @__PURE__ */ t(Go, { section: r, children: /* @__PURE__ */ t(
6498
6506
  "div",
6499
6507
  {
6500
6508
  style: ne,
@@ -6551,24 +6559,24 @@ export {
6551
6559
  me as OraculoGridGroup,
6552
6560
  it as OraculoLiveCasinoCard,
6553
6561
  at as OraculoLogoMediosPago,
6554
- dr as OraculoPageLandingPreview,
6555
- Po as OraculoSeccionBanners,
6556
- ro as OraculoSeccionBonoBienvenida,
6557
- Yn as OraculoSeccionCasino,
6558
- Jn as OraculoSeccionCasinoEnVivo,
6559
- io as OraculoSeccionClubOlimpo,
6562
+ ur as OraculoPageLandingPreview,
6563
+ Fo as OraculoSeccionBanners,
6564
+ io as OraculoSeccionBonoBienvenida,
6565
+ eo as OraculoSeccionCasino,
6566
+ Xn as OraculoSeccionCasinoEnVivo,
6567
+ lo as OraculoSeccionClubOlimpo,
6560
6568
  An as OraculoSeccionDestacados,
6561
- fo as OraculoSeccionEventoCombinadas,
6562
- So as OraculoSeccionEventoEnVivo,
6563
- Mo as OraculoSeccionEventoSemana,
6564
- zo as OraculoSeccionMediosPago,
6569
+ go as OraculoSeccionEventoCombinadas,
6570
+ wo as OraculoSeccionEventoEnVivo,
6571
+ Bo as OraculoSeccionEventoSemana,
6572
+ Uo as OraculoSeccionMediosPago,
6565
6573
  Pn as OraculoSeccionTopJuegos,
6566
- no as OraculoSeccionVirtuales,
6567
- cr as OraculoSectionHost,
6574
+ oo as OraculoSeccionVirtuales,
6575
+ dr as OraculoSectionHost,
6568
6576
  ye as OraculoSectionTitle,
6569
6577
  Lt as OraculoThemeProvider,
6570
6578
  Pn as OraculoTopJuegoItem,
6571
6579
  lt as OraculoWelcomeBanner,
6572
- dr as default
6580
+ ur as default
6573
6581
  };
6574
6582
  //# sourceMappingURL=index.es.js.map