oraculo-ui 0.2.65 → 0.2.67

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,
@@ -952,7 +952,7 @@ function za({
952
952
  }
953
953
  );
954
954
  }
955
- const Ke = "/assets/img/home/CasinoEnVivo/image3.png", Ua = "/assets/img/home/CasinoEnVivo/image2.png", Le = "/assets/img/home/CasinoEnVivo/image1.png", it = ({
955
+ const Ke = "/assets/img/casino/image3.png", Ua = "/assets/img/casino/image2.png", Le = "/assets/img/casino/image1.png", it = ({
956
956
  logo: e,
957
957
  provider: a,
958
958
  providerName: n,
@@ -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
  }
@@ -2418,12 +2427,12 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2418
2427
  return (async () => {
2419
2428
  l(!0), i([]);
2420
2429
  try {
2421
- const f = await Wn(n);
2430
+ const f = await Dn(n);
2422
2431
  if (!f.length) {
2423
2432
  c || i([]);
2424
2433
  return;
2425
2434
  }
2426
- await Dn(
2435
+ await Hn(
2427
2436
  f,
2428
2437
  (m) => {
2429
2438
  c || (i(m), l(!1));
@@ -2442,10 +2451,10 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2442
2451
  resolvedItems: o,
2443
2452
  loading: s
2444
2453
  };
2445
- }, 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) => {
2446
2455
  var n, o;
2447
2456
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2448
- }, Kn = (e) => {
2457
+ }, Jn = (e) => {
2449
2458
  if (typeof e == "boolean") return e;
2450
2459
  if (typeof e == "string")
2451
2460
  return e.toLowerCase() === "true";
@@ -2455,7 +2464,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2455
2464
  return e.value.toLowerCase() === "true";
2456
2465
  }
2457
2466
  return !1;
2458
- }, Jn = ({
2467
+ }, Xn = ({
2459
2468
  items: e,
2460
2469
  title: a = "Casino en vivo",
2461
2470
  subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
@@ -2469,10 +2478,10 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2469
2478
  isLoggedIn: m = !1,
2470
2479
  onToggleFavorite: d
2471
2480
  }) => {
2472
- 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(
2473
2482
  e,
2474
2483
  _
2475
- ), 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(
2476
2485
  (w, B) => {
2477
2486
  if (!d) return;
2478
2487
  const E = !!w.favourite;
@@ -2485,7 +2494,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2485
2494
  label: `${h} - OraculoSeccionCasinoEnVivo${_ ? " - personalize" : ""} - Open game: ${String(w.machine || "unknown")}`,
2486
2495
  target: String(w.machine || "unknown"),
2487
2496
  event_type: "click",
2488
- module_id: x,
2497
+ module_id: S,
2489
2498
  metadata: {
2490
2499
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2491
2500
  },
@@ -2510,13 +2519,13 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2510
2519
  Ze(String(w.machine || "")), B == null || B(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2511
2520
  E == null || E(w, !1, "casino_en_vivo");
2512
2521
  });
2513
- }, y = () => {
2522
+ }, x = () => {
2514
2523
  u({
2515
2524
  element: "casino_en_vivo_view_more",
2516
2525
  label: `${h} - OraculoSeccionCasinoEnVivo${_ ? " - personalize" : ""} - Ver más`,
2517
2526
  target: "https://www.olimpo.bet/casino-en-vivo",
2518
2527
  event_type: "click",
2519
- module_id: x,
2528
+ module_id: S,
2520
2529
  metadata: {
2521
2530
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2522
2531
  },
@@ -2610,7 +2619,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2610
2619
  {
2611
2620
  variant: "primary",
2612
2621
  size: "md",
2613
- onClick: y,
2622
+ onClick: x,
2614
2623
  children: "Ver más"
2615
2624
  }
2616
2625
  ) })
@@ -2641,7 +2650,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2641
2650
  isFavorite: m ? !!w.favourite : void 0,
2642
2651
  onToggleFavorite: m && d ? (v) => L(w, v) : void 0
2643
2652
  },
2644
- jn(w, B)
2653
+ Kn(w, B)
2645
2654
  );
2646
2655
  })
2647
2656
  }
@@ -2651,7 +2660,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2651
2660
  {
2652
2661
  variant: "primary",
2653
2662
  size: "lg",
2654
- onClick: y,
2663
+ onClick: x,
2655
2664
  children: "Ver más"
2656
2665
  }
2657
2666
  ) })
@@ -2661,7 +2670,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2661
2670
  ]
2662
2671
  }
2663
2672
  );
2664
- }, Xn = (e) => {
2673
+ }, Qn = (e) => {
2665
2674
  if (typeof e == "boolean") return e;
2666
2675
  if (typeof e == "string")
2667
2676
  return e.toLowerCase() === "true";
@@ -2674,7 +2683,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2674
2683
  }, At = (e, a) => {
2675
2684
  var n, o;
2676
2685
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2677
- }, Qn = (e, a = !0, n = 1) => {
2686
+ }, Yn = (e, a = !0, n = 1) => {
2678
2687
  const o = e.map((l, c) => {
2679
2688
  var g;
2680
2689
  return {
@@ -2703,7 +2712,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2703
2712
  }), s = l;
2704
2713
  }
2705
2714
  return i;
2706
- }, Yn = ({
2715
+ }, eo = ({
2707
2716
  items: e,
2708
2717
  title: a = "Casino",
2709
2718
  iconUrl: n = "/assets/img/home/Casino/diamante.svg",
@@ -2713,10 +2722,10 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2713
2722
  gridSize: l = 1,
2714
2723
  isPersonalize: c = !1
2715
2724
  }) => {
2716
- 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(
2717
2726
  e,
2718
- x
2719
- ), M = x ? _ : Array.isArray(e) ? e : [], k = () => {
2727
+ S
2728
+ ), M = S ? _ : Array.isArray(e) ? e : [], k = () => {
2720
2729
  var E;
2721
2730
  g({
2722
2731
  element: "casino_prev",
@@ -2764,7 +2773,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2764
2773
  imageUrl: ""
2765
2774
  })), F = [];
2766
2775
  return E && F.push({ id: "mosaic-loading", kind: "mosaic", items: T(5) }), F.push({ id: "grid-loading", kind: "grid", items: T(v) }), F;
2767
- }, 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);
2768
2777
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2769
2778
  /* @__PURE__ */ b(
2770
2779
  U,
@@ -2842,9 +2851,9 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2842
2851
  {
2843
2852
  items: E.items,
2844
2853
  layout: E.kind === "mosaic" ? "mosaic" : "grid",
2845
- loading: y,
2854
+ loading: x,
2846
2855
  onClick: (v) => {
2847
- if (y) return;
2856
+ if (x) return;
2848
2857
  const T = M.find(
2849
2858
  (P, V) => String(At(P, V)) === String(v.id)
2850
2859
  );
@@ -2874,7 +2883,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2874
2883
  }
2875
2884
  )
2876
2885
  ] }) });
2877
- }, eo = (e) => {
2886
+ }, to = (e) => {
2878
2887
  if (typeof e == "boolean") return e;
2879
2888
  if (typeof e == "string")
2880
2889
  return e.toLowerCase() === "true";
@@ -2887,7 +2896,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2887
2896
  }, Mt = (e, a) => {
2888
2897
  var n, o;
2889
2898
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2890
- }, to = (e, a = !0, n = 1) => {
2899
+ }, ao = (e, a = !0, n = 1) => {
2891
2900
  const o = e.map((l, c) => {
2892
2901
  var g;
2893
2902
  return {
@@ -2916,7 +2925,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2916
2925
  }), s = l;
2917
2926
  }
2918
2927
  return i;
2919
- }, ao = (e = !0, a = 4) => {
2928
+ }, no = (e = !0, a = 4) => {
2920
2929
  const n = (i) => Array.from({ length: i }, (s, l) => ({
2921
2930
  id: `sk-${i}-${l}`,
2922
2931
  imageUrl: ""
@@ -2930,7 +2939,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2930
2939
  kind: "grid",
2931
2940
  items: n(a)
2932
2941
  }), o;
2933
- }, no = ({
2942
+ }, oo = ({
2934
2943
  items: e,
2935
2944
  title: a = "Virtuales",
2936
2945
  iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
@@ -2940,14 +2949,14 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2940
2949
  gridSize: l = 1,
2941
2950
  isPersonalize: c = !1
2942
2951
  }) => {
2943
- 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(
2944
2953
  e,
2945
- x
2946
- ), M = x ? _ : Array.isArray(e) ? e : [], k = () => {
2954
+ S
2955
+ ), M = S ? _ : Array.isArray(e) ? e : [], k = () => {
2947
2956
  var B;
2948
2957
  d({
2949
2958
  element: "virtuales_prev",
2950
- label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Anterior`,
2959
+ label: `${u} - OraculoSeccionVirtuales${S ? " - personalize" : ""} - Anterior`,
2951
2960
  target: "prev",
2952
2961
  event_type: "click",
2953
2962
  module_id: h,
@@ -2960,7 +2969,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2960
2969
  var B;
2961
2970
  d({
2962
2971
  element: "virtuales_next",
2963
- label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Siguiente`,
2972
+ label: `${u} - OraculoSeccionVirtuales${S ? " - personalize" : ""} - Siguiente`,
2964
2973
  target: "next",
2965
2974
  event_type: "click",
2966
2975
  module_id: h,
@@ -2972,7 +2981,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2972
2981
  }, L = () => {
2973
2982
  if (d({
2974
2983
  element: "virtuales_view_more",
2975
- label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Ver más`,
2984
+ label: `${u} - OraculoSeccionVirtuales${S ? " - personalize" : ""} - Ver más`,
2976
2985
  target: "https://www.olimpo.bet/juegos-virtuales",
2977
2986
  event_type: "click",
2978
2987
  module_id: h,
@@ -2985,7 +2994,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2985
2994
  return;
2986
2995
  }
2987
2996
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2988
- }, 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);
2989
2998
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2990
2999
  /* @__PURE__ */ b(
2991
3000
  U,
@@ -3056,7 +3065,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3056
3065
  }
3057
3066
  },
3058
3067
  enableHorizontalWheel: !0,
3059
- showRightGradient: !y,
3068
+ showRightGradient: !x,
3060
3069
  options: { autoWidth: !0, trimSpace: "move" },
3061
3070
  renderItem: (B) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
3062
3071
  Tt,
@@ -3078,7 +3087,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3078
3087
  }
3079
3088
  o == null || o(v), d({
3080
3089
  element: "virtuales_game_card",
3081
- label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Game: ${String(v.machine || "unknown")}`,
3090
+ label: `${u} - OraculoSeccionVirtuales${S ? " - personalize" : ""} - Game: ${String(v.machine || "unknown")}`,
3082
3091
  target: String(v.machine || "unknown"),
3083
3092
  event_type: "click",
3084
3093
  module_id: h,
@@ -3095,7 +3104,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3095
3104
  F == null || F(
3096
3105
  v,
3097
3106
  !1,
3098
- x ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
3107
+ S ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
3099
3108
  );
3100
3109
  });
3101
3110
  }
@@ -3105,7 +3114,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3105
3114
  }
3106
3115
  )
3107
3116
  ] }) });
3108
- }, oo = (e) => ({
3117
+ }, ro = (e) => ({
3109
3118
  position: "relative",
3110
3119
  py: 8,
3111
3120
  color: "#fff",
@@ -3137,30 +3146,30 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3137
3146
  0 0 6px rgba(255, 255, 255, .6),
3138
3147
  0 1px 0 rgba(137, 137, 137, .85)
3139
3148
  `
3140
- }, ro = ({
3149
+ }, io = ({
3141
3150
  headline: e,
3142
3151
  headline2: a,
3143
3152
  items: n,
3144
3153
  backgroundImageUrl: o
3145
3154
  }) => {
3146
- 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 });
3147
3156
  re(() => {
3148
3157
  const v = setTimeout(() => {
3149
3158
  m.current = !0;
3150
3159
  }, 500);
3151
3160
  return () => clearTimeout(v);
3152
3161
  }, []);
3153
- const S = Z(x);
3162
+ const y = Z(S);
3154
3163
  re(() => {
3155
- S.current = x;
3156
- }, [x]);
3164
+ y.current = S;
3165
+ }, [S]);
3157
3166
  const M = Z(!1), k = Z(null), O = n == null ? void 0 : n[u], L = de(
3158
3167
  () => {
3159
3168
  var v, T;
3160
3169
  return (T = (v = O == null ? void 0 : O.backgroundImageUrl) != null ? v : o) != null ? T : "";
3161
3170
  },
3162
3171
  [O, o]
3163
- ), I = oo(L), y = !n || n.length === 0, w = (v, T) => {
3172
+ ), I = ro(L), x = !n || n.length === 0, w = (v, T) => {
3164
3173
  i({
3165
3174
  element: "welcome_banner_button",
3166
3175
  label: `OraculoSeccionBonoBienvenida - Banner button click: ${v.title || "OraculoSeccionBonoBienvenida - Banner " + (T + 1)}`,
@@ -3207,18 +3216,18 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3207
3216
  if (!v) return;
3208
3217
  const T = 6, F = 380, R = (P) => {
3209
3218
  var G, q;
3210
- if (y || P.ctrlKey || M.current) return;
3219
+ if (x || P.ctrlKey || M.current) return;
3211
3220
  const V = P.deltaX, W = P.deltaY;
3212
3221
  if (Math.abs(V) <= Math.abs(W) || Math.abs(V) < T) return;
3213
3222
  const D = V > 0;
3214
- 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(() => {
3215
3224
  M.current = !1;
3216
3225
  }, F));
3217
3226
  };
3218
3227
  return v.addEventListener("wheel", R, { passive: !1 }), () => {
3219
3228
  v.removeEventListener("wheel", R), k.current && window.clearTimeout(k.current);
3220
3229
  };
3221
- }, [y]);
3230
+ }, [x]);
3222
3231
  const E = (v, T, F) => {
3223
3232
  var V, W;
3224
3233
  const R = (V = v.headline) != null ? V : e, P = (W = v.headline2) != null ? W : a;
@@ -3331,7 +3340,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3331
3340
  }
3332
3341
  ) })
3333
3342
  ] });
3334
- }, io = ({
3343
+ }, lo = ({
3335
3344
  className: e = "",
3336
3345
  fullBleed: a = !0,
3337
3346
  items: n,
@@ -3345,10 +3354,10 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3345
3354
  let _ = s;
3346
3355
  if ((!(_ != null && _.user) || !(_ != null && _.session)) && typeof window != "undefined")
3347
3356
  try {
3348
- const S = localStorage.getItem("user");
3349
- S && (_ = JSON.parse(S));
3350
- } catch (S) {
3351
- 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);
3352
3361
  }
3353
3362
  if (!(_ != null && _.user) || !(_ != null && _.session))
3354
3363
  return console.warn("User data missing"), null;
@@ -3364,7 +3373,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3364
3373
  tags: { section: "OraculoSeccionClubOlimpo" }
3365
3374
  });
3366
3375
  try {
3367
- const S = {
3376
+ const y = {
3368
3377
  idUsuario: "PE" + _.user,
3369
3378
  session_id: _.session,
3370
3379
  pagina: "home"
@@ -3373,15 +3382,15 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3373
3382
  headers: {
3374
3383
  "Content-Type": "application/json"
3375
3384
  },
3376
- body: JSON.stringify(S)
3385
+ body: JSON.stringify(y)
3377
3386
  });
3378
3387
  if (k.ok) {
3379
3388
  const O = await k.json();
3380
3389
  return O == null ? void 0 : O.url;
3381
3390
  }
3382
3391
  return null;
3383
- } catch (S) {
3384
- return console.error("[getMarketPlaceUrl]", S), null;
3392
+ } catch (y) {
3393
+ return console.error("[getMarketPlaceUrl]", y), null;
3385
3394
  }
3386
3395
  }, u = async () => {
3387
3396
  const _ = await d();
@@ -3389,15 +3398,15 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3389
3398
  }, h = Array.isArray(n) ? n[o] : n;
3390
3399
  Vt(() => {
3391
3400
  if (!l.current || !c.current || typeof ResizeObserver == "undefined") return;
3392
- const _ = l.current, S = c.current, M = () => {
3401
+ const _ = l.current, y = c.current, M = () => {
3393
3402
  _.style.setProperty(
3394
3403
  "--orc-co-bottomH",
3395
- `${S.offsetHeight + 16}px`
3404
+ `${y.offsetHeight + 16}px`
3396
3405
  );
3397
3406
  }, k = new ResizeObserver(M);
3398
- return k.observe(S), M(), () => k.disconnect();
3407
+ return k.observe(y), M(), () => k.disconnect();
3399
3408
  }, []);
3400
- const x = [
3409
+ const S = [
3401
3410
  "orc-co-wrap",
3402
3411
  a ? "orc-co-fullBleed" : "",
3403
3412
  e
@@ -3406,7 +3415,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3406
3415
  "section",
3407
3416
  {
3408
3417
  ref: l,
3409
- className: x,
3418
+ className: S,
3410
3419
  "aria-label": i || h.imgAlt || "Club Olimpo",
3411
3420
  children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
3412
3421
  qa,
@@ -3422,23 +3431,23 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
3422
3431
  ) })
3423
3432
  }
3424
3433
  );
3425
- }, lo = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", so = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", gt = {
3426
- controls: lo,
3427
- padding: so
3428
- }, 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) => {
3429
3438
  var a, n;
3430
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) => {
3431
3440
  var i, s;
3432
3441
  return (s = (i = o.outcomes) == null ? void 0 : i.map((l) => l.id)) != null ? s : [];
3433
3442
  }) : [];
3434
3443
  };
3435
- function uo(e, a, n) {
3444
+ function mo(e, a, n) {
3436
3445
  return n ? n.map((o) => {
3437
3446
  var m, d;
3438
- 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 = {};
3439
3448
  for (const u of a) {
3440
3449
  if (!s.has(u.eventId)) continue;
3441
- 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) }));
3442
3451
  h.length && ((d = g[m = u.eventId]) != null || (g[m] = []), g[u.eventId].push({ ...u, outcomes: h }));
3443
3452
  }
3444
3453
  const f = e.filter((u) => s.has(u.id)).map((u) => {
@@ -3448,12 +3457,12 @@ function uo(e, a, n) {
3448
3457
  return {
3449
3458
  couponId: o.id,
3450
3459
  status: o.status,
3451
- combinadoTotal: mo(o.prePackCouponRows),
3460
+ combinadoTotal: po(o.prePackCouponRows),
3452
3461
  events: f
3453
3462
  };
3454
3463
  }) : [];
3455
3464
  }
3456
- function mo(e) {
3465
+ function po(e) {
3457
3466
  if (!Array.isArray(e) || e.length === 0) return 0;
3458
3467
  let a = 1;
3459
3468
  for (const n of e) {
@@ -3462,15 +3471,15 @@ function mo(e) {
3462
3471
  }
3463
3472
  return Math.floor(a * 100) / 100;
3464
3473
  }
3465
- const po = ve.memo(en);
3466
- function fo({
3474
+ const fo = ve.memo(en);
3475
+ function go({
3467
3476
  items: e,
3468
3477
  title: a = "Combinadas del Olimpo",
3469
3478
  iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
3470
3479
  onViewMore: o,
3471
3480
  className: i = ""
3472
3481
  }) {
3473
- 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 = () => {
3474
3483
  var I;
3475
3484
  s({
3476
3485
  element: "evento_combinadas_prev",
@@ -3494,7 +3503,7 @@ function fo({
3494
3503
  },
3495
3504
  tags: { section: "OraculoSeccionEventoCombinadas" }
3496
3505
  }), (I = g.current) == null || I.next();
3497
- }, S = () => {
3506
+ }, y = () => {
3498
3507
  s({
3499
3508
  element: "evento_combinadas_ver_mas",
3500
3509
  label: `${l} - OraculoSeccionEventoCombinadas - Click: Ver más`,
@@ -3507,15 +3516,15 @@ function fo({
3507
3516
  }), Ya();
3508
3517
  }, M = de(() => d.filter((I) => I.combinadoTotal !== null), [d]);
3509
3518
  async function k() {
3510
- var I, y, w, B;
3519
+ var I, x, w, B;
3511
3520
  try {
3512
- 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(",");
3513
3522
  if (!T) {
3514
3523
  console.error("Could not extract group ID");
3515
3524
  return;
3516
3525
  }
3517
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();
3518
- u(uo(P.events, P.betOffers, P.prePackCoupons));
3527
+ u(mo(P.events, P.betOffers, P.prePackCoupons));
3519
3528
  } catch (E) {
3520
3529
  console.error("loadDataEventSpecial error:", E);
3521
3530
  }
@@ -3541,7 +3550,7 @@ function fo({
3541
3550
  variant: "secondary",
3542
3551
  iconOnly: !0,
3543
3552
  leftIcon: /* @__PURE__ */ t(He, {}),
3544
- onClick: x,
3553
+ onClick: S,
3545
3554
  disabled: f.isStart
3546
3555
  }
3547
3556
  ),
@@ -3557,7 +3566,7 @@ function fo({
3557
3566
  }
3558
3567
  )
3559
3568
  ] }),
3560
- /* @__PURE__ */ t(ae, { variant: "secondary", onClick: S, children: "Ver más" })
3569
+ /* @__PURE__ */ t(ae, { variant: "secondary", onClick: y, children: "Ver más" })
3561
3570
  ] })
3562
3571
  ] }) }),
3563
3572
  /* @__PURE__ */ t(
@@ -3574,13 +3583,13 @@ function fo({
3574
3583
  breakpoints: {
3575
3584
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3576
3585
  },
3577
- renderItem: (I) => /* @__PURE__ */ t(po, { coupon: I }),
3578
- 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 })
3579
3588
  }
3580
3589
  )
3581
3590
  ] }) });
3582
3591
  }
3583
- function go({}) {
3592
+ function ho({}) {
3584
3593
  return /* @__PURE__ */ t(
3585
3594
  "div",
3586
3595
  {
@@ -3614,14 +3623,14 @@ function go({}) {
3614
3623
  }
3615
3624
  );
3616
3625
  }
3617
- const ho = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", bo = {
3618
- fadeWrapper: ho
3626
+ const bo = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", _o = {
3627
+ fadeWrapper: bo
3619
3628
  };
3620
3629
  function De({ children: e }) {
3621
- return /* @__PURE__ */ t("div", { className: bo.fadeWrapper, children: e });
3630
+ return /* @__PURE__ */ t("div", { className: _o.fadeWrapper, children: e });
3622
3631
  }
3623
- const _o = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", vo = {
3624
- padding: _o
3632
+ const vo = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", yo = {
3633
+ padding: vo
3625
3634
  };
3626
3635
  function Bt({
3627
3636
  events: e,
@@ -3635,22 +3644,22 @@ function Bt({
3635
3644
  if (!(!e || e.length === 0))
3636
3645
  return f.current && clearTimeout(f.current), f.current = setTimeout(() => {
3637
3646
  var L, I;
3638
- 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);
3639
- 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;
3640
3649
  const M = m.current;
3641
- M && (h > M.end && (_ = M.end + 1), x < M.start && (S = M.start - 1)), m.current = { start: h, end: x };
3642
- 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));
3643
3652
  if (k.length === 0) return;
3644
- k.forEach((y) => c.current.add(y));
3653
+ k.forEach((x) => c.current.add(x));
3645
3654
  const O = ++g.current;
3646
3655
  (async () => {
3647
3656
  try {
3648
- const y = await n(k);
3657
+ const x = await n(k);
3649
3658
  if (O !== g.current) {
3650
3659
  k.forEach((B) => c.current.delete(B));
3651
3660
  return;
3652
3661
  }
3653
- if (!(y != null && y.events)) {
3662
+ if (!(x != null && x.events)) {
3654
3663
  k.forEach(
3655
3664
  (B) => c.current.delete(B)
3656
3665
  );
@@ -3658,22 +3667,22 @@ function Bt({
3658
3667
  }
3659
3668
  l((B) => {
3660
3669
  const E = { ...B };
3661
- for (const [v, T] of Object.entries(y.events)) {
3670
+ for (const [v, T] of Object.entries(x.events)) {
3662
3671
  const F = Number(v);
3663
3672
  E[F] || (E[F] = T);
3664
3673
  }
3665
3674
  return E;
3666
3675
  });
3667
3676
  const w = new Set(
3668
- Object.keys(y.events).map(Number)
3677
+ Object.keys(x.events).map(Number)
3669
3678
  );
3670
3679
  k.forEach((B) => {
3671
3680
  c.current.delete(B);
3672
3681
  });
3673
- } catch (y) {
3682
+ } catch (x) {
3674
3683
  k.forEach(
3675
3684
  (w) => c.current.delete(w)
3676
- ), console.error("Jersey fetch error", y);
3685
+ ), console.error("Jersey fetch error", x);
3677
3686
  }
3678
3687
  })();
3679
3688
  }, i), () => {
@@ -3684,7 +3693,7 @@ function Bt({
3684
3693
  isPending: c.current
3685
3694
  };
3686
3695
  }
3687
- const yo = (e) => {
3696
+ const xo = (e) => {
3688
3697
  const a = ["esports", "cyber"];
3689
3698
  return e.filter((n) => {
3690
3699
  var s, l;
@@ -3692,8 +3701,8 @@ const yo = (e) => {
3692
3701
  const i = typeof ((l = n == null ? void 0 : n.event) == null ? void 0 : l.group) == "string" ? n.event.group.toLowerCase() : "";
3693
3702
  return !a.some((c) => i.includes(c));
3694
3703
  });
3695
- }, xo = ve.memo(Sn);
3696
- function So({
3704
+ }, So = ve.memo(Sn);
3705
+ function wo({
3697
3706
  items: e,
3698
3707
  title: a = "En vivo",
3699
3708
  iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
@@ -3704,9 +3713,9 @@ function So({
3704
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" },
3705
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" },
3706
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" }
3707
- ], 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 = () => {
3708
3717
  var R;
3709
- S({
3718
+ y({
3710
3719
  element: "evento_en_vivo_prev",
3711
3720
  label: `${M} - OraculoSeccionEventoEnVivo - Anterior`,
3712
3721
  target: "prev",
@@ -3719,7 +3728,7 @@ function So({
3719
3728
  }), (R = l.current) == null || R.prev();
3720
3729
  }, I = () => {
3721
3730
  var R;
3722
- S({
3731
+ y({
3723
3732
  element: "evento_en_vivo_next",
3724
3733
  label: `${M} - OraculoSeccionEventoEnVivo - Siguiente`,
3725
3734
  target: "next",
@@ -3730,8 +3739,8 @@ function So({
3730
3739
  },
3731
3740
  tags: { section: "OraculoSeccionEventoEnVivo" }
3732
3741
  }), (R = l.current) == null || R.next();
3733
- }, y = () => {
3734
- S({
3742
+ }, x = () => {
3743
+ y({
3735
3744
  element: "evento_en_vivo_view_more",
3736
3745
  label: `${M} - OraculoSeccionEventoEnVivo - Ver más`,
3737
3746
  target: "ver_mas",
@@ -3771,7 +3780,7 @@ function So({
3771
3780
  );
3772
3781
  let V = [];
3773
3782
  P.forEach(({ sport: G, events: q }) => {
3774
- const Y = yo(q).map((r) => ({ ...r, _sportGroup: G }));
3783
+ const Y = xo(q).map((r) => ({ ...r, _sportGroup: G }));
3775
3784
  V.push(...Y);
3776
3785
  });
3777
3786
  const W = {
@@ -3812,7 +3821,7 @@ function So({
3812
3821
  width: "100%",
3813
3822
  boxSizing: "border-box"
3814
3823
  }, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3815
- /* @__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: [
3816
3825
  /* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
3817
3826
  /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3818
3827
  /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
@@ -3839,7 +3848,7 @@ function So({
3839
3848
  }
3840
3849
  )
3841
3850
  ] }),
3842
- /* @__PURE__ */ t(ae, { variant: "secondary", onClick: y, children: "Ver más" })
3851
+ /* @__PURE__ */ t(ae, { variant: "secondary", onClick: x, children: "Ver más" })
3843
3852
  ] })
3844
3853
  ] }) }),
3845
3854
  /* @__PURE__ */ t(
@@ -3860,8 +3869,8 @@ function So({
3860
3869
  renderItem: (R) => {
3861
3870
  var W;
3862
3871
  const P = ((W = R.event) == null ? void 0 : W.id) || R.eventId, V = P in B ? B[P] : void 0;
3863
- return v ? /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(go, {}) }) : /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(
3864
- xo,
3872
+ return v ? /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(ho, {}) }) : /* @__PURE__ */ t(De, { children: /* @__PURE__ */ t(
3873
+ So,
3865
3874
  {
3866
3875
  ...R,
3867
3876
  jersey: V
@@ -3877,7 +3886,7 @@ function So({
3877
3886
  )
3878
3887
  ] }) });
3879
3888
  }
3880
- function wo() {
3889
+ function Oo() {
3881
3890
  return /* @__PURE__ */ b("div", { className: Te.cardContainer, children: [
3882
3891
  /* @__PURE__ */ t(Ot, { title: "" }),
3883
3892
  /* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
@@ -3905,13 +3914,13 @@ function wo() {
3905
3914
  ] }) })
3906
3915
  ] });
3907
3916
  }
3908
- 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 = {
3909
- wrapper: Oo,
3910
- container: Io,
3911
- buttonWrapper: To,
3912
- padding: Eo
3913
- }, Co = ve.memo(Nn);
3914
- 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) {
3915
3924
  const o = [];
3916
3925
  for (let i = 0; i < e.length; i += a) {
3917
3926
  if (n.aborted)
@@ -3923,12 +3932,12 @@ async function ko(e, a = 2, n) {
3923
3932
  }
3924
3933
  return o;
3925
3934
  }
3926
- function No(e) {
3935
+ function $o(e) {
3927
3936
  return [...e].sort(
3928
3937
  (a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
3929
3938
  );
3930
3939
  }
3931
- function $o(e) {
3940
+ function Ao(e) {
3932
3941
  const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
3933
3942
  return e.filter((o) => {
3934
3943
  if (!o.start) return !1;
@@ -3936,7 +3945,7 @@ function $o(e) {
3936
3945
  return i >= a && i <= n;
3937
3946
  });
3938
3947
  }
3939
- function Ao(e, a) {
3948
+ function Mo(e, a) {
3940
3949
  const o = a.filter((i) => {
3941
3950
  var s;
3942
3951
  return ((s = i.betOfferType) == null ? void 0 : s.id) === 2;
@@ -3946,7 +3955,7 @@ function Ao(e, a) {
3946
3955
  outcome: o[i.id]
3947
3956
  }));
3948
3957
  }
3949
- function Mo({
3958
+ function Bo({
3950
3959
  items: e,
3951
3960
  title: a = "En vivo",
3952
3961
  iconUrl: n,
@@ -3957,7 +3966,7 @@ function Mo({
3957
3966
  { englishName: "Football", termPath: "football", limit: 5 },
3958
3967
  { englishName: "Basketball", termPath: "basketball", limit: 2 },
3959
3968
  { englishName: "Tennis", termPath: "tennis", limit: 2 }
3960
- ], 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 = () => {
3961
3970
  s({
3962
3971
  element: "evento_semana_view_more",
3963
3972
  label: `${l} - OraculoSeccionEventoSemana - Ver más`,
@@ -4026,14 +4035,14 @@ function Mo({
4026
4035
  }
4027
4036
  async function L(v, T, F) {
4028
4037
  try {
4029
- const R = await ko(v, 2, F);
4038
+ const R = await No(v, 2, F);
4030
4039
  let P = [], V = [];
4031
4040
  R.forEach((q) => {
4032
4041
  q.events && (P.push(...q.events.map((K) => K.event)), V.push(
4033
4042
  ...q.events.flatMap((K) => K.betOffers || [])
4034
4043
  ));
4035
4044
  });
4036
- const W = Ao(P, V), D = No($o(W));
4045
+ const W = Mo(P, V), D = $o(Ao(W));
4037
4046
  let G = D;
4038
4047
  if (T.length > 0) {
4039
4048
  const q = new Map(
@@ -4048,7 +4057,7 @@ function Mo({
4048
4057
  });
4049
4058
  }
4050
4059
  if (F.aborted) return;
4051
- x(G);
4060
+ S(G);
4052
4061
  } catch (R) {
4053
4062
  console.error("Error loading events:", R);
4054
4063
  }
@@ -4060,7 +4069,7 @@ function Mo({
4060
4069
  v.abort();
4061
4070
  };
4062
4071
  }, [e]);
4063
- const I = i || void 0, y = {
4072
+ const I = i || void 0, x = {
4064
4073
  paddingLeft: 0,
4065
4074
  width: "100%",
4066
4075
  boxSizing: "border-box"
@@ -4071,7 +4080,7 @@ function Mo({
4071
4080
  buffer: 2,
4072
4081
  debounceMs: 250
4073
4082
  }), B = h === null, E = Ne("(max-width:950px)");
4074
- 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: [
4075
4084
  /* @__PURE__ */ t("div", { className: Re.container, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
4076
4085
  /* @__PURE__ */ t(ye, { title: "Eventos de la semana" }),
4077
4086
  /* @__PURE__ */ t("div", { className: Re.buttonWrapper, children: /* @__PURE__ */ t(
@@ -4107,10 +4116,10 @@ function Mo({
4107
4116
  },
4108
4117
  renderItem: (v) => {
4109
4118
  const T = v.id, F = T in w ? w[T] : void 0;
4110
- 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 }) });
4111
4120
  },
4112
4121
  onMove: ({ isStart: v, isEnd: T, visibleStart: F, visibleEnd: R, source: P }) => {
4113
- u({ isStart: v, isEnd: T }), S({
4122
+ u({ isStart: v, isEnd: T }), y({
4114
4123
  start: F,
4115
4124
  end: R
4116
4125
  }), P === "user" && s({
@@ -4133,9 +4142,9 @@ function Mo({
4133
4142
  ) })
4134
4143
  ] }) });
4135
4144
  }
4136
- 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) => {
4137
4146
  if (!e) return null;
4138
- if (Lo(e)) {
4147
+ if (Ro(e)) {
4139
4148
  const g = new Date(e).getTime();
4140
4149
  return Number.isNaN(g) ? null : g;
4141
4150
  }
@@ -4148,32 +4157,32 @@ const Bo = -300, Lo = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ht = (e) => {
4148
4157
  Number(n),
4149
4158
  Number(o) - 1,
4150
4159
  Number(i),
4151
- Number(s) - Bo / 60,
4160
+ Number(s) - Lo / 60,
4152
4161
  Number(l),
4153
4162
  Number(c)
4154
4163
  );
4155
- }, Ro = (e, a) => {
4156
- var c, g, f, m, d, u, h, x, _;
4157
- 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);
4158
4167
  return !(s != null && a < s || l != null && a >= l);
4159
4168
  };
4160
- function Po({
4169
+ function Fo({
4161
4170
  backgrounds: e,
4162
4171
  items: a,
4163
4172
  hideItems: n,
4164
4173
  user: o = null
4165
4174
  }) {
4166
4175
  var Y;
4167
- 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) => {
4168
4177
  var $, z;
4169
4178
  const A = ($ = p.item.order) != null ? $ : Number.MAX_SAFE_INTEGER, N = (z = C.item.order) != null ? z : Number.MAX_SAFE_INTEGER;
4170
4179
  return A - N || p.index - C.index;
4171
4180
  }).map(({ item: p }) => p), k = de(() => M(a), [a]), O = de(() => {
4172
4181
  const r = (e != null ? e : []).filter(
4173
- (p) => Ro(p, u)
4182
+ (p) => Po(p, u)
4174
4183
  );
4175
4184
  return M(r);
4176
- }, [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;
4177
4186
  et("(max-width:950px)");
4178
4187
  const B = "#B5B5B5";
4179
4188
  re(() => {
@@ -4228,7 +4237,7 @@ function Po({
4228
4237
  if (A)
4229
4238
  switch (r.preventDefault(), r.stopPropagation(), p.idFunction) {
4230
4239
  case "deposito":
4231
- x == null || x(!0);
4240
+ S == null || S(!0);
4232
4241
  return;
4233
4242
  case "abrirLive":
4234
4243
  _ == null || _();
@@ -4274,7 +4283,7 @@ function Po({
4274
4283
  item_label: r.label || "no_label"
4275
4284
  }
4276
4285
  }), !o && r.label == "MISIONES") {
4277
- S == null || S((p = r.href) != null ? p : "");
4286
+ y == null || y((p = r.href) != null ? p : "");
4278
4287
  return;
4279
4288
  }
4280
4289
  if (r.onClick) {
@@ -4433,7 +4442,7 @@ function Po({
4433
4442
  )
4434
4443
  }
4435
4444
  ),
4436
- y && /* @__PURE__ */ b(te, { children: [
4445
+ x && /* @__PURE__ */ b(te, { children: [
4437
4446
  /* @__PURE__ */ t(
4438
4447
  Qe,
4439
4448
  {
@@ -4624,7 +4633,7 @@ function Po({
4624
4633
  }
4625
4634
  );
4626
4635
  }
4627
- const Fo = [
4636
+ const zo = [
4628
4637
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
4629
4638
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
4630
4639
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
@@ -4634,9 +4643,9 @@ const Fo = [
4634
4643
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
4635
4644
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
4636
4645
  ];
4637
- function zo({
4646
+ function Uo({
4638
4647
  title: e = "Medios de pago",
4639
- items: a = Fo
4648
+ items: a = zo
4640
4649
  }) {
4641
4650
  const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
4642
4651
  return /* @__PURE__ */ b(le, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
@@ -4715,26 +4724,26 @@ function Lt({
4715
4724
  e
4716
4725
  ] });
4717
4726
  }
4718
- function cr({
4727
+ function dr({
4719
4728
  docId: e = "Landing: home",
4720
4729
  moduleId: a = 301,
4721
4730
  children: n
4722
4731
  }) {
4723
4732
  return /* @__PURE__ */ t(Lt, { children: /* @__PURE__ */ t(kt, { docId: e, moduleId: a, children: n }) });
4724
4733
  }
4725
- const Uo = {
4734
+ const qo = {
4726
4735
  OraculoSeccionDestacados: An,
4727
4736
  OraculoSeccionTopJuegos: Pn,
4728
- OraculoSeccionCasinoEnVivo: Jn,
4729
- OraculoSeccionCasino: Yn,
4730
- OraculoSeccionVirtuales: no,
4731
- OraculoSeccionClubOlimpo: io,
4732
- OraculoSeccionBonoBienvenida: ro,
4733
- OraculoSeccionBanners: Po,
4734
- OraculoSeccionMediosPago: zo,
4735
- OraculoSeccionEventoEnVivo: So,
4736
- OraculoSeccionEventoSemana: Mo,
4737
- 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
4738
4747
  }, Pe = {
4739
4748
  sections: [
4740
4749
  {
@@ -6103,7 +6112,7 @@ const Uo = {
6103
6112
  componentKey: "OraculoSeccionMediosPago"
6104
6113
  }
6105
6114
  ]
6106
- }, 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);
6107
6116
  function Ae(e) {
6108
6117
  return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
6109
6118
  var o, i;
@@ -6129,11 +6138,11 @@ function Ae(e) {
6129
6138
  };
6130
6139
  }) : [];
6131
6140
  }
6132
- const Wo = Object.fromEntries(
6133
- Object.entries(Uo).filter(
6134
- ([e, a]) => Vo(e) && qo(a)
6141
+ const Do = Object.fromEntries(
6142
+ Object.entries(qo).filter(
6143
+ ([e, a]) => Wo(e) && Vo(a)
6135
6144
  )
6136
- ), Do = (e) => {
6145
+ ), Ho = (e) => {
6137
6146
  try {
6138
6147
  return Object.fromEntries(e != null ? e : []);
6139
6148
  } catch {
@@ -6145,7 +6154,7 @@ class bt extends Error {
6145
6154
  super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
6146
6155
  }
6147
6156
  }
6148
- class Ho extends ve.Component {
6157
+ class Go extends ve.Component {
6149
6158
  constructor(a) {
6150
6159
  super(a), this.state = { hasError: !1 };
6151
6160
  }
@@ -6169,13 +6178,13 @@ const _t = [
6169
6178
  "OraculoSeccionEventoEnVivo",
6170
6179
  "OraculoSeccionEventoSemana",
6171
6180
  "OraculoSeccionEventoCombinadas"
6172
- ], Go = [
6181
+ ], Zo = [
6173
6182
  "OraculoSeccionCasino",
6174
6183
  "OraculoSeccionVirtuales",
6175
6184
  "OraculoSeccionCasinoEnVivo",
6176
6185
  "OraculoSeccionTopJuegos",
6177
6186
  "OraculoSeccionDestacados"
6178
- ], dr = ({
6187
+ ], ur = ({
6179
6188
  sectionsOverride: e,
6180
6189
  docId: a = "Landing: home",
6181
6190
  moduleId: n = 301,
@@ -6184,16 +6193,16 @@ const _t = [
6184
6193
  loader: s,
6185
6194
  disableWrapper: l = !1
6186
6195
  }) => {
6187
- 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(
6188
6197
  () => e ? [] : Ae(Pe)
6189
- ), [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(
6190
6199
  () => Ae(Pe),
6191
6200
  []
6192
6201
  ), I = (r) => L.find(
6193
6202
  (p) => p.id === r.id || p.componentKey === r.componentKey
6194
- ), 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(() => {
6195
6204
  const r = c.user;
6196
- return y(r == null ? void 0 : r.groups);
6205
+ return x(r == null ? void 0 : r.groups);
6197
6206
  }, [c]), B = (r) => {
6198
6207
  const p = r.manualScalarFields;
6199
6208
  if (!Array.isArray(p)) return [];
@@ -6295,15 +6304,15 @@ const _t = [
6295
6304
  if (r.length)
6296
6305
  for (const { s: p, url: C } of r) {
6297
6306
  const A = `${p.id}|${C}`;
6298
- 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 () => {
6299
6308
  try {
6300
6309
  const N = await v(p);
6301
- x(($) => ({ ...$, [p.id]: N }));
6310
+ S(($) => ({ ...$, [p.id]: N }));
6302
6311
  } catch (N) {
6303
6312
  let $ = "Error desconocido";
6304
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]: $ }));
6305
6314
  } finally {
6306
- S((N) => ({ ...N, [p.id]: !1 }));
6315
+ y((N) => ({ ...N, [p.id]: !1 }));
6307
6316
  }
6308
6317
  })());
6309
6318
  }
@@ -6432,7 +6441,7 @@ const _t = [
6432
6441
  component: "bg-yellow-100 text-yellow-800"
6433
6442
  }[p]}`, children: C }, r), Y = (r) => {
6434
6443
  var $e;
6435
- const p = r.componentKey, C = Wo[p], N = (/* @__PURE__ */ new Set([
6444
+ const p = r.componentKey, C = Do[p], N = (/* @__PURE__ */ new Set([
6436
6445
  "OraculoSeccionBanners",
6437
6446
  "OraculoSeccionBonoBienvenida",
6438
6447
  "OraculoSeccionCasinoEnVivo",
@@ -6462,7 +6471,7 @@ const _t = [
6462
6471
  );
6463
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] : "";
6464
6473
  if (oe) {
6465
- const Rt = Go.includes(r.componentKey);
6474
+ const Rt = Zo.includes(r.componentKey);
6466
6475
  if (ie && !j && !Rt)
6467
6476
  return K(
6468
6477
  r.id,
@@ -6493,7 +6502,7 @@ const _t = [
6493
6502
  ...we,
6494
6503
  user: c.user
6495
6504
  } : we;
6496
- return /* @__PURE__ */ t(Ho, { section: r, children: /* @__PURE__ */ t(
6505
+ return /* @__PURE__ */ t(Go, { section: r, children: /* @__PURE__ */ t(
6497
6506
  "div",
6498
6507
  {
6499
6508
  style: ne,
@@ -6550,24 +6559,24 @@ export {
6550
6559
  me as OraculoGridGroup,
6551
6560
  it as OraculoLiveCasinoCard,
6552
6561
  at as OraculoLogoMediosPago,
6553
- dr as OraculoPageLandingPreview,
6554
- Po as OraculoSeccionBanners,
6555
- ro as OraculoSeccionBonoBienvenida,
6556
- Yn as OraculoSeccionCasino,
6557
- Jn as OraculoSeccionCasinoEnVivo,
6558
- 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,
6559
6568
  An as OraculoSeccionDestacados,
6560
- fo as OraculoSeccionEventoCombinadas,
6561
- So as OraculoSeccionEventoEnVivo,
6562
- Mo as OraculoSeccionEventoSemana,
6563
- zo as OraculoSeccionMediosPago,
6569
+ go as OraculoSeccionEventoCombinadas,
6570
+ wo as OraculoSeccionEventoEnVivo,
6571
+ Bo as OraculoSeccionEventoSemana,
6572
+ Uo as OraculoSeccionMediosPago,
6564
6573
  Pn as OraculoSeccionTopJuegos,
6565
- no as OraculoSeccionVirtuales,
6566
- cr as OraculoSectionHost,
6574
+ oo as OraculoSeccionVirtuales,
6575
+ dr as OraculoSectionHost,
6567
6576
  ye as OraculoSectionTitle,
6568
6577
  Lt as OraculoThemeProvider,
6569
6578
  Pn as OraculoTopJuegoItem,
6570
6579
  lt as OraculoWelcomeBanner,
6571
- dr as default
6580
+ ur as default
6572
6581
  };
6573
6582
  //# sourceMappingURL=index.es.js.map