oraculo-ui 0.2.33 → 0.2.34

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
@@ -301,7 +301,7 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
301
301
  logo: ia,
302
302
  name: sa,
303
303
  skeleton: la
304
- }, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7", we = {
304
+ }, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Se = {
305
305
  polo: ca,
306
306
  svgWrapper: da,
307
307
  shadow: ua,
@@ -309,8 +309,8 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
309
309
  };
310
310
  function pa({ jersey: e, className: a }) {
311
311
  const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, r = e.stripes ? `#${e.stripes}` : null, i = e.sleevelong ? `#${e.sleevelong}` : null;
312
- return /* @__PURE__ */ _("div", { className: `${we.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: we.svgWrapper, children: /* @__PURE__ */ _("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
312
+ return /* @__PURE__ */ _("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ _("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ t(
315
315
  "path",
316
316
  {
@@ -350,7 +350,7 @@ function pa({ jersey: e, className: a }) {
350
350
  "img",
351
351
  {
352
352
  src: "https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",
353
- className: we.shadow,
353
+ className: Se.shadow,
354
354
  alt: "",
355
355
  "aria-hidden": !0
356
356
  }
@@ -359,7 +359,7 @@ function pa({ jersey: e, className: a }) {
359
359
  "img",
360
360
  {
361
361
  src: "https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png",
362
- className: we.highlight,
362
+ className: Se.highlight,
363
363
  alt: "",
364
364
  "aria-hidden": !0
365
365
  }
@@ -440,7 +440,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
440
440
  return (v = d.current) == null ? void 0 : v.go(O);
441
441
  }
442
442
  }));
443
- const S = (O) => {
443
+ const w = (O) => {
444
444
  var Z;
445
445
  const v = O.Components.Slides, I = O.Components.Controller, R = O.root.querySelector(".splide__track"), B = (Z = R == null ? void 0 : R.clientWidth) != null ? Z : 0, A = I.getIndex(), U = v.getLength();
446
446
  let W = 0, j = A;
@@ -469,7 +469,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
469
469
  });
470
470
  return;
471
471
  }
472
- const { visibleStart: B, visibleEnd: A } = S(O), U = B === 0, W = A === I - 1;
472
+ const { visibleStart: B, visibleEnd: A } = w(O), U = B === 0, W = A === I - 1;
473
473
  u && ((Z = x.current) == null || Z.style.setProperty("--gradient-opacity", U ? "0" : "1"), (G = C.current) == null || G.style.setProperty("--gradient-opacity", W ? "0" : "1"));
474
474
  const j = O.Components.Controller.getIndex();
475
475
  c == null || c({
@@ -705,9 +705,9 @@ function xa({
705
705
  }) {
706
706
  var m, d, g, b;
707
707
  const i = (x, C) => {
708
- var p, S, M, z;
708
+ var p, w, M, z;
709
709
  return {
710
- xs: (S = (p = r.xs) == null ? void 0 : p[x]) != null ? S : C,
710
+ xs: (w = (p = r.xs) == null ? void 0 : p[x]) != null ? w : C,
711
711
  md: (z = (M = r.md) == null ? void 0 : M[x]) != null ? z : C
712
712
  };
713
713
  }, s = i("w", 186), c = i("h", 264), f = i("r", 22.6), h = i("font", 64), u = {
@@ -804,7 +804,7 @@ function xa({
804
804
  }
805
805
  );
806
806
  }
807
- const Sa = ({
807
+ const wa = ({
808
808
  logo: e,
809
809
  provider: a,
810
810
  providerName: n,
@@ -1170,7 +1170,7 @@ const Sa = ({
1170
1170
  ]
1171
1171
  }
1172
1172
  );
1173
- }, wa = ({
1173
+ }, Sa = ({
1174
1174
  text: e,
1175
1175
  buttonLabel: a = "Conoce más",
1176
1176
  onClick: n,
@@ -1269,7 +1269,7 @@ function La({ coupon: e }) {
1269
1269
  );
1270
1270
  return d.forEach((x) => {
1271
1271
  var M;
1272
- const C = (M = x.betoffers) != null ? M : [], p = x.homeName, S = x.awayName;
1272
+ const C = (M = x.betoffers) != null ? M : [], p = x.homeName, w = x.awayName;
1273
1273
  C.forEach((z) => {
1274
1274
  var D, O, v, I, R, B, A;
1275
1275
  if (!((D = z == null ? void 0 : z.outcomes) != null && D.length)) return;
@@ -1277,7 +1277,7 @@ function La({ coupon: e }) {
1277
1277
  if (!y) return;
1278
1278
  let k = "";
1279
1279
  const q = y != null && y.line ? y.line / 1e3 : "";
1280
- ["Más de", "Mas de", "Over"].includes(y.label) ? (k = `Más de ${q}`, y.participant && (k = `${y.participant} - ${k}`)) : ["Menos de", "Menos", "Under"].includes(y.label) ? (k = `Menos de ${q}`, y.participant && (k = `${y.participant} - ${k}`)) : ["Sí", "No"].includes(y.label) ? (k = y.label, y.participant && (k = `${y.participant} - ${k}`)) : ["1X", "12", "X2"].includes(y.label) ? (y.label === "1X" && (k = `${p} o Empate`), y.label === "12" && (k = `${p} o ${S}`), y.label === "X2" && (k = `${S} o Empate`)) : (k = (v = (O = y.participant) != null ? O : y.label) != null ? v : "", q !== "" && k === y.label && (k = `${y.label} ${q}`)), m.push({
1280
+ ["Más de", "Mas de", "Over"].includes(y.label) ? (k = `Más de ${q}`, y.participant && (k = `${y.participant} - ${k}`)) : ["Menos de", "Menos", "Under"].includes(y.label) ? (k = `Menos de ${q}`, y.participant && (k = `${y.participant} - ${k}`)) : ["Sí", "No"].includes(y.label) ? (k = y.label, y.participant && (k = `${y.participant} - ${k}`)) : ["1X", "12", "X2"].includes(y.label) ? (y.label === "1X" && (k = `${p} o Empate`), y.label === "12" && (k = `${p} o ${w}`), y.label === "X2" && (k = `${w} o Empate`)) : (k = (v = (O = y.participant) != null ? O : y.label) != null ? v : "", q !== "" && k === y.label && (k = `${y.label} ${q}`)), m.push({
1281
1281
  id: y.id,
1282
1282
  value: k,
1283
1283
  label: (R = (I = z.criterion) == null ? void 0 : I.label) != null ? R : "",
@@ -1313,9 +1313,9 @@ function La({ coupon: e }) {
1313
1313
  const d = Array.isArray(u) ? u : [u], g = Array.from(
1314
1314
  new Set(
1315
1315
  s.outcomes.map((C) => {
1316
- var S;
1316
+ var w;
1317
1317
  const p = f.get(Number(C.eventId));
1318
- return (S = p == null ? void 0 : p.name) != null ? S : "";
1318
+ return (w = p == null ? void 0 : p.name) != null ? w : "";
1319
1319
  })
1320
1320
  )
1321
1321
  ).filter(Boolean), b = g.length > 0 ? g.join(" + ") : JSON.stringify(d), x = m ? `${b} - Cuota: ${m}` : b;
@@ -1503,9 +1503,9 @@ const qa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", za = "
1503
1503
  function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1504
1504
  var c, f, h, u, m, d, g, b, x, C, p;
1505
1505
  const r = n == null ? void 0 : n.find(
1506
- (S) => {
1506
+ (w) => {
1507
1507
  var M;
1508
- return ((M = S.betOfferType) == null ? void 0 : M.id) === 2;
1508
+ return ((M = w.betOfferType) == null ? void 0 : M.id) === 2;
1509
1509
  }
1510
1510
  ), i = {
1511
1511
  englishLabel: "",
@@ -1539,10 +1539,10 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1539
1539
  ] }) })
1540
1540
  ] }),
1541
1541
  /* @__PURE__ */ _(K, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1542
- /* @__PURE__ */ t(me, { spacing: 1, children: ((C = r == null ? void 0 : r.outcomes) != null ? C : s).map((S, M) => /* @__PURE__ */ t(ut, { text: S.label.toUpperCase() }, M)) }),
1543
- /* @__PURE__ */ t(me, { spacing: 2, children: ((p = r == null ? void 0 : r.outcomes) != null ? p : s).map((S, M) => /* @__PURE__ */ t(Fa, { variant: "primary", disabled: S.odds == null || (r == null ? void 0 : r.cashOutStatus) == "SUSPENDED", onClick: () => {
1544
- Ue("/deportes#event/live/" + e.id, S.id);
1545
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: S.odds === void 0 ? "" : (S.odds / 1e3).toFixed(2) }) }, M)) })
1542
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((C = r == null ? void 0 : r.outcomes) != null ? C : s).map((w, M) => /* @__PURE__ */ t(ut, { text: w.label.toUpperCase() }, M)) }),
1543
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((p = r == null ? void 0 : r.outcomes) != null ? p : s).map((w, M) => /* @__PURE__ */ t(Fa, { variant: "primary", disabled: w.odds == null || (r == null ? void 0 : r.cashOutStatus) == "SUSPENDED", onClick: () => {
1544
+ Ue("/deportes#event/live/" + e.id, w.id);
1545
+ }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: w.odds === void 0 ? "" : (w.odds / 1e3).toFixed(2) }) }, M)) })
1546
1546
  ] })
1547
1547
  ] }) });
1548
1548
  }
@@ -1563,8 +1563,8 @@ function Za({ event: e, jersey: a }) {
1563
1563
  const n = ae(), o = ne();
1564
1564
  function r(g) {
1565
1565
  const b = new Date(g), x = b.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = b.getDate().toString().padStart(2, "0"), p = (b.getMonth() + 1).toString().padStart(2, "0");
1566
- let S = b.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1567
- return S = S.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${C}/${p} | ${S}`;
1566
+ let w = b.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1567
+ return w = w.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${C}/${p} | ${w}`;
1568
1568
  }
1569
1569
  const i = (g, b) => {
1570
1570
  const x = `${e.homeName} vs ${e.awayName}`, C = b ? (b / 1e3).toFixed(2) : "", p = C ? `${x} - Cuota: ${C}` : x;
@@ -1603,7 +1603,7 @@ function Za({ event: e, jersey: a }) {
1603
1603
  function Ja({
1604
1604
  items: e,
1605
1605
  title: a = "Destacados",
1606
- iconUrl: n,
1606
+ iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
1607
1607
  onViewMore: o,
1608
1608
  className: r = "",
1609
1609
  paddingMobile: i = "16px"
@@ -1664,14 +1664,14 @@ function Ja({
1664
1664
  promotion: String(y)
1665
1665
  }
1666
1666
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(q);
1667
- }, p = r || void 0, S = xe("(max-width:950px)"), M = (z = e == null ? void 0 : e.length) != null ? z : 0;
1667
+ }, p = r || void 0, w = xe("(max-width:950px)"), M = (z = e == null ? void 0 : e.length) != null ? z : 0;
1668
1668
  return Q(() => {
1669
1669
  if (M === 0) {
1670
1670
  f({ isStart: !0, isEnd: !0 });
1671
1671
  return;
1672
1672
  }
1673
1673
  f({ isStart: !0, isEnd: !1 });
1674
- }, [M, S, i]), /* @__PURE__ */ _("section", { className: p, style: { width: "100%" }, children: [
1674
+ }, [M, w, i]), /* @__PURE__ */ _("section", { className: p, style: { width: "100%" }, children: [
1675
1675
  /* @__PURE__ */ _(
1676
1676
  "header",
1677
1677
  {
@@ -1682,8 +1682,8 @@ function Ja({
1682
1682
  columnGap: 12,
1683
1683
  rowGap: 8,
1684
1684
  marginBottom: 16,
1685
- paddingLeft: S ? i : 0,
1686
- paddingRight: S ? i : 0
1685
+ paddingLeft: w ? i : 0,
1686
+ paddingRight: w ? i : 0
1687
1687
  },
1688
1688
  children: [
1689
1689
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
@@ -1723,7 +1723,7 @@ function Ja({
1723
1723
  perPage: void 0,
1724
1724
  gap: "16px",
1725
1725
  enableHorizontalWheel: !0,
1726
- showRightGradient: !S,
1726
+ showRightGradient: !w,
1727
1727
  options: { autoWidth: !0, trimSpace: "move" },
1728
1728
  breakpoints: {
1729
1729
  768: { perPage: 2, focus: "start", padding: { left: i, right: i } },
@@ -1928,23 +1928,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1928
1928
  return;
1929
1929
  }
1930
1930
  const m = yt(), d = await on(m, u), g = d.map((p) => p.itemId), b = await Promise.allSettled(
1931
- g.map(async (p, S) => {
1931
+ g.map(async (p, w) => {
1932
1932
  const M = await fetch(`https://api.mktolimpo.com/api/machine/${p}`);
1933
1933
  if (!M.ok)
1934
1934
  throw new Error(`No se pudo obtener machine ${p}`);
1935
1935
  const z = await M.json();
1936
- return tn(z, S);
1936
+ return tn(z, w);
1937
1937
  })
1938
1938
  );
1939
1939
  if (c) return;
1940
1940
  const x = b.filter(
1941
1941
  (p) => p.status === "fulfilled"
1942
1942
  ).map((p) => p.value), C = d.map((p) => {
1943
- const S = x.find((M) => M.machine === p.itemId);
1944
- return S ? { ...S, score: p.score } : null;
1945
- }).filter(Boolean).sort((p, S) => {
1943
+ const w = x.find((M) => M.machine === p.itemId);
1944
+ return w ? { ...w, score: p.score } : null;
1945
+ }).filter(Boolean).sort((p, w) => {
1946
1946
  var M, z;
1947
- return ((M = S.score) != null ? M : 0) - ((z = p.score) != null ? z : 0);
1947
+ return ((M = w.score) != null ? M : 0) - ((z = p.score) != null ? z : 0);
1948
1948
  });
1949
1949
  r(C);
1950
1950
  } catch (h) {
@@ -2002,7 +2002,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2002
2002
  section: "OraculoSeccionCasinoEnVivo"
2003
2003
  }
2004
2004
  });
2005
- const S = ie("showIframe"), M = ie("loadMachine");
2005
+ const w = ie("showIframe"), M = ie("loadMachine");
2006
2006
  if (!M) {
2007
2007
  if (r) {
2008
2008
  r(p);
@@ -2014,7 +2014,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2014
2014
  );
2015
2015
  return;
2016
2016
  }
2017
- S == null || S(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2017
+ w == null || w(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2018
2018
  M == null || M(p, !1, "casino_en_vivo");
2019
2019
  });
2020
2020
  }, C = () => {
@@ -2133,10 +2133,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2133
2133
  py: { xs: 3, md: 0 },
2134
2134
  alignItems: "center"
2135
2135
  },
2136
- children: (b != null ? b : []).slice(0, 3).map((p, S) => {
2136
+ children: (b != null ? b : []).slice(0, 3).map((p, w) => {
2137
2137
  var M;
2138
2138
  return /* @__PURE__ */ t(
2139
- Sa,
2139
+ wa,
2140
2140
  {
2141
2141
  logo: `https://olimpo.bet${p.background ? p.background : (M = p.logo) != null ? M : ""}`,
2142
2142
  provider: p.provider,
@@ -2144,7 +2144,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2144
2144
  machine: p.machine,
2145
2145
  onClick: () => x(p)
2146
2146
  },
2147
- cn(p, S)
2147
+ cn(p, w)
2148
2148
  );
2149
2149
  })
2150
2150
  }
@@ -2219,7 +2219,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2219
2219
  const f = ae(), h = ne(), u = le(), m = V(null), [d, g] = X({ isStart: !0, isEnd: !1 }), b = mn(c), { resolvedItems: x, loading: C } = rn(
2220
2220
  e,
2221
2221
  b
2222
- ), p = b ? x : Array.isArray(e) ? e : [], S = () => {
2222
+ ), p = b ? x : Array.isArray(e) ? e : [], w = () => {
2223
2223
  var O;
2224
2224
  f({
2225
2225
  element: "casino_prev",
@@ -2293,7 +2293,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2293
2293
  variant: "secondary",
2294
2294
  iconOnly: !0,
2295
2295
  leftIcon: /* @__PURE__ */ t(lt, {}),
2296
- onClick: S,
2296
+ onClick: w,
2297
2297
  disabled: d.isStart
2298
2298
  }
2299
2299
  ),
@@ -2385,14 +2385,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2385
2385
  return e.value.toLowerCase() === "true";
2386
2386
  }
2387
2387
  return !1;
2388
- }, St = (e, a) => {
2388
+ }, wt = (e, a) => {
2389
2389
  var n, o;
2390
2390
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2391
2391
  }, hn = (e, a = !0, n = 1) => {
2392
2392
  const o = e.map((s, c) => {
2393
2393
  var f;
2394
2394
  return {
2395
- id: St(s, c),
2395
+ id: wt(s, c),
2396
2396
  imageUrl: (f = s.logo) != null ? f : "",
2397
2397
  ...s.background ? { background: s.background } : {}
2398
2398
  };
@@ -2444,7 +2444,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2444
2444
  const f = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), g = le(), b = gn(c), { resolvedItems: x, loading: C } = sn(
2445
2445
  e,
2446
2446
  b
2447
- ), p = b ? x : Array.isArray(e) ? e : [], S = () => {
2447
+ ), p = b ? x : Array.isArray(e) ? e : [], w = () => {
2448
2448
  var D;
2449
2449
  m({
2450
2450
  element: "virtuales_prev",
@@ -2512,7 +2512,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2512
2512
  variant: "secondary",
2513
2513
  iconOnly: !0,
2514
2514
  leftIcon: /* @__PURE__ */ t(lt, {}),
2515
- onClick: S,
2515
+ onClick: w,
2516
2516
  disabled: h.isStart
2517
2517
  }
2518
2518
  ),
@@ -2568,7 +2568,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2568
2568
  onClick: (O) => {
2569
2569
  if (y) return;
2570
2570
  const v = p.find(
2571
- (B, A) => String(St(B, A)) === String(O.id)
2571
+ (B, A) => String(wt(B, A)) === String(O.id)
2572
2572
  );
2573
2573
  if (!v) {
2574
2574
  console.warn(
@@ -2653,7 +2653,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2653
2653
  Q(() => {
2654
2654
  C.current = b;
2655
2655
  }, [b]);
2656
- const p = V(!1), S = V(null), M = n == null ? void 0 : n[d], z = re(
2656
+ const p = V(!1), w = V(null), M = n == null ? void 0 : n[d], z = re(
2657
2657
  () => {
2658
2658
  var v, I;
2659
2659
  return (I = (v = M == null ? void 0 : M.backgroundImageUrl) != null ? v : o) != null ? I : "";
@@ -2710,12 +2710,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2710
2710
  const U = A.deltaX, W = A.deltaY;
2711
2711
  if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < I) return;
2712
2712
  const j = U > 0;
2713
- j && C.current.isEnd || !j && C.current.isStart || (A.preventDefault(), p.current = !0, j ? (Z = f.current) == null || Z.next() : (G = f.current) == null || G.prev(), S.current && window.clearTimeout(S.current), S.current = window.setTimeout(() => {
2713
+ j && C.current.isEnd || !j && C.current.isStart || (A.preventDefault(), p.current = !0, j ? (Z = f.current) == null || Z.next() : (G = f.current) == null || G.prev(), w.current && window.clearTimeout(w.current), w.current = window.setTimeout(() => {
2714
2714
  p.current = !1;
2715
2715
  }, R));
2716
2716
  };
2717
2717
  return v.addEventListener("wheel", B, { passive: !1 }), () => {
2718
- v.removeEventListener("wheel", B), S.current && window.clearTimeout(S.current);
2718
+ v.removeEventListener("wheel", B), w.current && window.clearTimeout(w.current);
2719
2719
  };
2720
2720
  }, [k]);
2721
2721
  const O = (v, I, R) => {
@@ -2867,15 +2867,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2867
2867
  idUsuario: "PE" + x.user,
2868
2868
  session_id: x.session,
2869
2869
  pagina: "home"
2870
- }, S = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2870
+ }, w = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2871
2871
  method: "POST",
2872
2872
  headers: {
2873
2873
  "Content-Type": "application/json"
2874
2874
  },
2875
2875
  body: JSON.stringify(C)
2876
2876
  });
2877
- if (S.ok) {
2878
- const M = await S.json();
2877
+ if (w.ok) {
2878
+ const M = await w.json();
2879
2879
  return M == null ? void 0 : M.url;
2880
2880
  }
2881
2881
  return null;
@@ -2893,8 +2893,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2893
2893
  "--orc-co-bottomH",
2894
2894
  `${C.offsetHeight + 16}px`
2895
2895
  );
2896
- }, S = new ResizeObserver(p);
2897
- return S.observe(C), p(), () => S.disconnect();
2896
+ }, w = new ResizeObserver(p);
2897
+ return w.observe(C), p(), () => w.disconnect();
2898
2898
  }, []);
2899
2899
  const b = [
2900
2900
  "orc-co-wrap",
@@ -2908,7 +2908,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2908
2908
  className: b,
2909
2909
  "aria-label": r || g.imgAlt || "Club Olimpo",
2910
2910
  children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
2911
- wa,
2911
+ Sa,
2912
2912
  {
2913
2913
  text: g.text,
2914
2914
  onClick: d,
@@ -2921,9 +2921,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2921
2921
  ) })
2922
2922
  }
2923
2923
  );
2924
- }, Sn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", wn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
2925
- controls: Sn,
2926
- padding: wn
2924
+ }, wn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Sn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
2925
+ controls: wn,
2926
+ padding: Sn
2927
2927
  }, In = (e) => {
2928
2928
  var a, n;
2929
2929
  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) => {
@@ -3005,7 +3005,7 @@ function Tn({
3005
3005
  tags: { section: "OraculoSeccionEventoCombinadas" }
3006
3006
  }), Ra();
3007
3007
  }, p = re(() => m.filter((y) => y.combinadoTotal !== null), [m]);
3008
- async function S() {
3008
+ async function w() {
3009
3009
  var y, k, q, D;
3010
3010
  try {
3011
3011
  const v = await (await fetch(g)).json(), I = (D = (q = (k = (y = v == null ? void 0 : v.group) == null ? void 0 : y.groups) == null ? void 0 : k.map((U) => U.id)) == null ? void 0 : q.filter(Boolean)) == null ? void 0 : D.join(",");
@@ -3020,7 +3020,7 @@ function Tn({
3020
3020
  }
3021
3021
  }
3022
3022
  Q(() => {
3023
- S();
3023
+ w();
3024
3024
  }, []);
3025
3025
  const M = r || void 0, z = xe("(max-width:950px)");
3026
3026
  return p.length === 0 ? null : /* @__PURE__ */ t("section", { className: M, style: {
@@ -3122,7 +3122,7 @@ function Be({ children: e }) {
3122
3122
  const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3123
3123
  padding: Mn
3124
3124
  };
3125
- function wt({
3125
+ function St({
3126
3126
  events: e,
3127
3127
  visibleRange: a,
3128
3128
  fetchJerseys: n,
@@ -3138,19 +3138,19 @@ function wt({
3138
3138
  let x = g, C = b;
3139
3139
  const p = u.current;
3140
3140
  p && (g > p.end && (x = p.end + 1), b < p.start && (C = p.start - 1)), u.current = { start: g, end: b };
3141
- const S = e.slice(x, C + 1).map((k) => k == null ? void 0 : k.id).filter((k) => !!k).filter((k) => !c.current.has(k)).filter((k) => !(k in i));
3142
- if (S.length === 0) return;
3143
- S.forEach((k) => c.current.add(k));
3141
+ const w = e.slice(x, C + 1).map((k) => k == null ? void 0 : k.id).filter((k) => !!k).filter((k) => !c.current.has(k)).filter((k) => !(k in i));
3142
+ if (w.length === 0) return;
3143
+ w.forEach((k) => c.current.add(k));
3144
3144
  const M = ++f.current;
3145
3145
  (async () => {
3146
3146
  try {
3147
- const k = await n(S);
3147
+ const k = await n(w);
3148
3148
  if (M !== f.current) {
3149
- S.forEach((D) => c.current.delete(D));
3149
+ w.forEach((D) => c.current.delete(D));
3150
3150
  return;
3151
3151
  }
3152
3152
  if (!(k != null && k.events)) {
3153
- S.forEach(
3153
+ w.forEach(
3154
3154
  (D) => c.current.delete(D)
3155
3155
  );
3156
3156
  return;
@@ -3166,11 +3166,11 @@ function wt({
3166
3166
  const q = new Set(
3167
3167
  Object.keys(k.events).map(Number)
3168
3168
  );
3169
- S.forEach((D) => {
3169
+ w.forEach((D) => {
3170
3170
  c.current.delete(D);
3171
3171
  });
3172
3172
  } catch (k) {
3173
- S.forEach(
3173
+ w.forEach(
3174
3174
  (q) => c.current.delete(q)
3175
3175
  ), console.error("Jersey fetch error", k);
3176
3176
  }
@@ -3200,14 +3200,14 @@ function Ln({
3200
3200
  onViewMore: o,
3201
3201
  className: r = ""
3202
3202
  }) {
3203
- const i = "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", s = V(null), [c, f] = X({ isStart: !0, isEnd: !1 }), [h, u] = X(null), [m, d] = X({ start: null, end: null }), [g, b] = X(null), x = V(!1), C = ae(), p = ne(), S = le(), M = V(/* @__PURE__ */ new Map()), z = () => {
3203
+ const i = "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", s = V(null), [c, f] = X({ isStart: !0, isEnd: !1 }), [h, u] = X(null), [m, d] = X({ start: null, end: null }), [g, b] = X(null), x = V(!1), C = ae(), p = ne(), w = le(), M = V(/* @__PURE__ */ new Map()), z = () => {
3204
3204
  var B;
3205
3205
  C({
3206
3206
  element: "evento_en_vivo_prev",
3207
3207
  label: `${p} - OraculoSeccionEventoEnVivo - Anterior`,
3208
3208
  target: "prev",
3209
3209
  event_type: "click",
3210
- module_id: S,
3210
+ module_id: w,
3211
3211
  metadata: {
3212
3212
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3213
3213
  },
@@ -3220,7 +3220,7 @@ function Ln({
3220
3220
  label: `${p} - OraculoSeccionEventoEnVivo - Siguiente`,
3221
3221
  target: "next",
3222
3222
  event_type: "click",
3223
- module_id: S,
3223
+ module_id: w,
3224
3224
  metadata: {
3225
3225
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3226
3226
  },
@@ -3232,7 +3232,7 @@ function Ln({
3232
3232
  label: `${p} - OraculoSeccionEventoEnVivo - Ver más`,
3233
3233
  target: "ver_mas",
3234
3234
  event_type: "click",
3235
- module_id: S,
3235
+ module_id: w,
3236
3236
  metadata: {
3237
3237
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3238
3238
  },
@@ -3271,7 +3271,7 @@ function Ln({
3271
3271
  const B = setInterval(q, 2e4);
3272
3272
  return () => clearInterval(B);
3273
3273
  }, [q]);
3274
- const { jerseys: D } = wt({
3274
+ const { jerseys: D } = St({
3275
3275
  events: (h == null ? void 0 : h.map((B) => B.event)) || [],
3276
3276
  // extract actual event objects
3277
3277
  visibleRange: m,
@@ -3441,7 +3441,7 @@ function Hn({
3441
3441
  tags: { section: "OraculoSeccionEventoSemana" }
3442
3442
  }), Aa();
3443
3443
  };
3444
- async function S(O) {
3444
+ async function w(O) {
3445
3445
  var R, B;
3446
3446
  let v = [], I = [];
3447
3447
  try {
@@ -3468,23 +3468,23 @@ function Hn({
3468
3468
  let j = [...W.groups];
3469
3469
  if (v.length > 0) {
3470
3470
  const l = new Map(
3471
- v.map((w, T) => [w, T])
3471
+ v.map((S, T) => [S, T])
3472
3472
  );
3473
- j.sort((w, T) => {
3474
- const N = l.get(String(w.id)), $ = l.get(String(T.id));
3473
+ j.sort((S, T) => {
3474
+ const N = l.get(String(S.id)), $ = l.get(String(T.id));
3475
3475
  return N !== void 0 && $ !== void 0 ? N - $ : N !== void 0 ? -1 : $ !== void 0 ? 1 : 0;
3476
3476
  });
3477
3477
  }
3478
3478
  const G = j.slice(0, 5), E = (l) => {
3479
- const w = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3479
+ const S = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3480
3480
  if (l.groups && l.groups.length > 0) {
3481
3481
  const T = l.groups[0];
3482
3482
  return [
3483
- `${w}/${l.termKey}/${T.termKey}/all/matches.json?${C}`
3483
+ `${S}/${l.termKey}/${T.termKey}/all/matches.json?${C}`
3484
3484
  ];
3485
3485
  }
3486
3486
  return [
3487
- `${w}/${l.termKey}/all/all/matches.json?${C}`
3487
+ `${S}/${l.termKey}/all/all/matches.json?${C}`
3488
3488
  ];
3489
3489
  }, F = G.flatMap(E);
3490
3490
  M(F, I, O);
@@ -3524,7 +3524,7 @@ function Hn({
3524
3524
  Q(() => {
3525
3525
  if (!e) return;
3526
3526
  const O = new AbortController();
3527
- return S(O.signal), () => {
3527
+ return w(O.signal), () => {
3528
3528
  O.abort();
3529
3529
  };
3530
3530
  }, [e]);
@@ -3532,7 +3532,7 @@ function Hn({
3532
3532
  paddingLeft: 0,
3533
3533
  width: "100%",
3534
3534
  boxSizing: "border-box"
3535
- }, { jerseys: k } = wt({
3535
+ }, { jerseys: k } = St({
3536
3536
  events: d,
3537
3537
  visibleRange: b,
3538
3538
  fetchJerseys: gt,
@@ -3633,14 +3633,14 @@ function Xn({
3633
3633
  var G;
3634
3634
  const [o, r] = X(0), i = ae(), s = ne(), c = le(), f = V(null), h = V(!1), u = V(!1), [m, d] = X(() => Date.now()), g = ie("setDepositActionGlobal"), b = ie("setAbrirLiveActionGlobal"), x = (E) => [...E != null ? E : []].map((F, l) => ({ item: F, index: l })).sort((F, l) => {
3635
3635
  var N, $;
3636
- const w = (N = F.item.order) != null ? N : Number.MAX_SAFE_INTEGER, T = ($ = l.item.order) != null ? $ : Number.MAX_SAFE_INTEGER;
3637
- return w - T || F.index - l.index;
3636
+ const S = (N = F.item.order) != null ? N : Number.MAX_SAFE_INTEGER, T = ($ = l.item.order) != null ? $ : Number.MAX_SAFE_INTEGER;
3637
+ return S - T || F.index - l.index;
3638
3638
  }).map(({ item: F }) => F), C = re(() => x(a), [a]), p = re(() => {
3639
3639
  const E = (e != null ? e : []).filter(
3640
3640
  (F) => Jn(F, m)
3641
3641
  );
3642
3642
  return x(E);
3643
- }, [e, m]), S = p.length || 1, M = !p || p.length === 0, z = !M && p.length > 1, y = !n && C.length > 0;
3643
+ }, [e, m]), w = p.length || 1, M = !p || p.length === 0, z = !M && p.length > 1, y = !n && C.length > 0;
3644
3644
  De("(max-width:950px)");
3645
3645
  const k = "#B5B5B5";
3646
3646
  Q(() => {
@@ -3691,8 +3691,8 @@ function Xn({
3691
3691
  }, []);
3692
3692
  const O = (E, F, l) => {
3693
3693
  var $, L;
3694
- const w = !!F.idFunction, T = !!F.href;
3695
- if (w)
3694
+ const S = !!F.idFunction, T = !!F.href;
3695
+ if (S)
3696
3696
  switch (E.preventDefault(), E.stopPropagation(), F.idFunction) {
3697
3697
  case "deposito":
3698
3698
  g == null || g(!0);
@@ -3760,10 +3760,10 @@ function Xn({
3760
3760
  var F;
3761
3761
  E.preventDefault(), E.stopPropagation(), A(), (F = f.current) == null || F.next();
3762
3762
  }, Z = (E) => {
3763
- var w, T, N, $;
3764
- const F = (E % S + S) % S;
3763
+ var S, T, N, $;
3764
+ const F = (E % w + w) % w;
3765
3765
  if (!h.current) return;
3766
- const l = (w = p == null ? void 0 : p[F]) != null && w.href ? ((N = (T = p[F].href) == null ? void 0 : T.split("/").pop()) == null ? void 0 : N.split(".")[0]) || `banner_${F + 1}` : `banner_${F + 1}`;
3766
+ const l = (S = p == null ? void 0 : p[F]) != null && S.href ? ((N = (T = p[F].href) == null ? void 0 : T.split("/").pop()) == null ? void 0 : N.split(".")[0]) || `banner_${F + 1}` : `banner_${F + 1}`;
3767
3767
  i({
3768
3768
  element: "banner_carousel",
3769
3769
  label: `${s} - OraculoSeccionBanners - Banner view: Slide ${F + 1} - ${l}`,
@@ -3773,7 +3773,7 @@ function Xn({
3773
3773
  metadata: {
3774
3774
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3775
3775
  slide_index: F + 1,
3776
- total_slides: S,
3776
+ total_slides: w,
3777
3777
  interaction_type: "manual_slide"
3778
3778
  },
3779
3779
  tags: { banner_position: String(F + 1) }
@@ -3823,14 +3823,14 @@ function Xn({
3823
3823
  enableHorizontalWheel: !0,
3824
3824
  options: D,
3825
3825
  onMove: ({ index: E, source: F }) => {
3826
- const l = (E % S + S) % S;
3826
+ const l = (E % w + w) % w;
3827
3827
  r(l);
3828
- const w = u.current;
3829
- u.current = !1, F === "user" && (U(), w || Z(E));
3828
+ const S = u.current;
3829
+ u.current = !1, F === "user" && (U(), S || Z(E));
3830
3830
  },
3831
3831
  renderItem: (E, F) => {
3832
3832
  var $, L, J;
3833
- const l = !!E.idFunction, w = !!E.href, T = w && !l, N = l || w;
3833
+ const l = !!E.idFunction, S = !!E.href, T = S && !l, N = l || S;
3834
3834
  return /* @__PURE__ */ _(
3835
3835
  ee,
3836
3836
  {
@@ -3940,11 +3940,11 @@ function Xn({
3940
3940
  children: /* @__PURE__ */ t(
3941
3941
  dt,
3942
3942
  {
3943
- total: S,
3943
+ total: w,
3944
3944
  active: o,
3945
3945
  durationMs: I
3946
3946
  },
3947
- `${o}-${S}`
3947
+ `${o}-${w}`
3948
3948
  )
3949
3949
  }
3950
3950
  )
@@ -4177,7 +4177,7 @@ function It({
4177
4177
  e
4178
4178
  ] });
4179
4179
  }
4180
- function wo({
4180
+ function So({
4181
4181
  docId: e = "Landing: home",
4182
4182
  moduleId: a = 301,
4183
4183
  children: n
@@ -5640,18 +5640,18 @@ const rt = [
5640
5640
  loader: i,
5641
5641
  disableWrapper: s = !1
5642
5642
  }) => {
5643
- const c = re(() => oo(r), [r]), f = i || c.loader, [h, u] = X([]), [m, d] = X(!1), [g, b] = X({}), [x, C] = X({}), [p, S] = X({}), M = De("(min-width:1024px)"), z = re(
5643
+ const c = re(() => oo(r), [r]), f = i || c.loader, [h, u] = X([]), [m, d] = X(!1), [g, b] = X({}), [x, C] = X({}), [p, w] = X({}), M = De("(min-width:1024px)"), z = re(
5644
5644
  () => Oe(Pe),
5645
5645
  []
5646
5646
  ), y = (l) => z.find(
5647
- (w) => w.id === l.id || w.componentKey === l.componentKey
5648
- ), k = (l) => Array.isArray(l) ? l.map((w) => Number(w)).filter((w) => !Number.isNaN(w)) : [], q = re(() => {
5647
+ (S) => S.id === l.id || S.componentKey === l.componentKey
5648
+ ), k = (l) => Array.isArray(l) ? l.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], q = re(() => {
5649
5649
  const l = c.user;
5650
5650
  return k(l == null ? void 0 : l.groups);
5651
5651
  }, [c]), D = (l) => {
5652
- const w = l.manualScalarFields;
5653
- if (!Array.isArray(w)) return [];
5654
- const T = w.find(
5652
+ const S = l.manualScalarFields;
5653
+ if (!Array.isArray(S)) return [];
5654
+ const T = S.find(
5655
5655
  (L) => String((L == null ? void 0 : L.name) || "").trim().toLowerCase() === "groups"
5656
5656
  );
5657
5657
  if (!T) return [];
@@ -5661,11 +5661,11 @@ const rt = [
5661
5661
  return N.map((L) => Number(String(L).trim())).filter((L) => !Number.isNaN(L));
5662
5662
  const $ = String(N).trim();
5663
5663
  return $ ? $.split(",").map((L) => Number(L.trim())).filter((L) => !Number.isNaN(L)) : [];
5664
- }, O = (l, w) => {
5664
+ }, O = (l, S) => {
5665
5665
  const T = D(l);
5666
5666
  if (T.length === 0) return !0;
5667
- if (!Array.isArray(w) || w.length === 0) return !1;
5668
- const N = new Set(w);
5667
+ if (!Array.isArray(S) || S.length === 0) return !1;
5668
+ const N = new Set(S);
5669
5669
  return T.some(($) => N.has($));
5670
5670
  };
5671
5671
  Q(() => {
@@ -5678,7 +5678,7 @@ const rt = [
5678
5678
  console.warn("[landing] FALLBACK:", T, N != null ? N : ""), u(Oe(Pe)), d(!1);
5679
5679
  };
5680
5680
  d(!0);
5681
- const w = zt(
5681
+ const S = zt(
5682
5682
  Pt(o, "landings", a),
5683
5683
  (T) => {
5684
5684
  try {
@@ -5702,7 +5702,7 @@ const rt = [
5702
5702
  l("error onSnapshot", T);
5703
5703
  }
5704
5704
  );
5705
- return () => w();
5705
+ return () => S();
5706
5706
  }, [e, a, o]), Q(() => (Xa(c), () => Ya()), [c]), Q(() => {
5707
5707
  (e ? e.slice() : h.slice()).map((T) => T.componentKey).filter((T) => !!T).length;
5708
5708
  }, [e, h]);
@@ -5713,13 +5713,13 @@ const rt = [
5713
5713
  events: [],
5714
5714
  data: {}
5715
5715
  };
5716
- const w = (l.apiUrl || "").trim();
5717
- if (!w) return;
5716
+ const S = (l.apiUrl || "").trim();
5717
+ if (!S) return;
5718
5718
  const T = l.apiMethod || "GET", N = l.apiParams || [];
5719
- let $ = w, L, J;
5719
+ let $ = S, L, J;
5720
5720
  if (T === "GET") {
5721
5721
  const se = new URL(
5722
- w,
5722
+ S,
5723
5723
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5724
5724
  );
5725
5725
  for (const oe of N)
@@ -5745,29 +5745,29 @@ const rt = [
5745
5745
  [e, h]
5746
5746
  ), R = fe.useRef(/* @__PURE__ */ new Set());
5747
5747
  Q(() => {
5748
- const l = I.map((w) => ({ s: w, url: (w.apiUrl || "").trim() })).filter(({ url: w }) => !!w);
5748
+ const l = I.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5749
5749
  if (l.length)
5750
- for (const { s: w, url: T } of l) {
5751
- const N = `${w.id}|${T}`;
5752
- R.current.has(N) || (R.current.add(N), C(($) => ({ ...$, [w.id]: !0 })), S(($) => ({ ...$, [w.id]: "" })), (async () => {
5750
+ for (const { s: S, url: T } of l) {
5751
+ const N = `${S.id}|${T}`;
5752
+ R.current.has(N) || (R.current.add(N), C(($) => ({ ...$, [S.id]: !0 })), w(($) => ({ ...$, [S.id]: "" })), (async () => {
5753
5753
  try {
5754
- const $ = await v(w);
5755
- b((L) => ({ ...L, [w.id]: $ }));
5754
+ const $ = await v(S);
5755
+ b((L) => ({ ...L, [S.id]: $ }));
5756
5756
  } catch ($) {
5757
5757
  let L = "Error desconocido";
5758
- $ instanceof ot ? L = `Error HTTP ${$.status} (${$.statusText}) en ${$.url}` : $ instanceof SyntaxError ? L = "Respuesta no es JSON válido" : $ instanceof TypeError ? L = "Fallo de red / CORS / conexión" : typeof $ == "string" && (L = $.toString()), S((J) => ({ ...J, [w.id]: L }));
5758
+ $ instanceof ot ? L = `Error HTTP ${$.status} (${$.statusText}) en ${$.url}` : $ instanceof SyntaxError ? L = "Respuesta no es JSON válido" : $ instanceof TypeError ? L = "Fallo de red / CORS / conexión" : typeof $ == "string" && (L = $.toString()), w((J) => ({ ...J, [S.id]: L }));
5759
5759
  } finally {
5760
- C(($) => ({ ...$, [w.id]: !1 }));
5760
+ C(($) => ({ ...$, [S.id]: !1 }));
5761
5761
  }
5762
5762
  })());
5763
5763
  }
5764
5764
  }, [I]);
5765
5765
  const B = re(
5766
- () => I.filter((l) => l.visible).filter((l) => O(l, q)).sort((l, w) => l.order - w.order),
5766
+ () => I.filter((l) => l.visible).filter((l) => O(l, q)).sort((l, S) => l.order - S.order),
5767
5767
  [I, q]
5768
- ), A = (l) => Array.isArray(l) ? l.map((w) => {
5768
+ ), A = (l) => Array.isArray(l) ? l.map((S) => {
5769
5769
  const T = {};
5770
- for (const N of w.fields || []) {
5770
+ for (const N of S.fields || []) {
5771
5771
  const $ = (N.type || "string").toLowerCase();
5772
5772
  if ($ === "number") {
5773
5773
  const L = String(N.value || "").trim();
@@ -5791,8 +5791,8 @@ const rt = [
5791
5791
  }
5792
5792
  return T;
5793
5793
  }) : [], U = (l) => {
5794
- const w = {};
5795
- if (!Array.isArray(l)) return w;
5794
+ const S = {};
5795
+ if (!Array.isArray(l)) return S;
5796
5796
  for (const T of l) {
5797
5797
  if (!T.name) continue;
5798
5798
  const N = (T.type || "string").toLowerCase();
@@ -5800,27 +5800,27 @@ const rt = [
5800
5800
  const $ = String(T.value || "").trim();
5801
5801
  if ($ !== "") {
5802
5802
  const L = Number($);
5803
- Number.isNaN(L) || (w[T.name] = L);
5803
+ Number.isNaN(L) || (S[T.name] = L);
5804
5804
  }
5805
5805
  } else if (N === "boolean")
5806
- w[T.name] = String(T.value).toLowerCase() === "true";
5806
+ S[T.name] = String(T.value).toLowerCase() === "true";
5807
5807
  else if (N === "function") {
5808
5808
  const $ = String(T.value || "").trim();
5809
5809
  if ($)
5810
5810
  try {
5811
5811
  const L = new Function($);
5812
- w[T.name] = L;
5812
+ S[T.name] = L;
5813
5813
  } catch (L) {
5814
5814
  console.error(`❌ Error creando función en item '${T.name}':`, L);
5815
5815
  }
5816
5816
  } else
5817
- w[T.name] = T.value;
5817
+ S[T.name] = T.value;
5818
5818
  }
5819
- return w;
5820
- }, W = (l, w, T, N) => {
5819
+ return S;
5820
+ }, W = (l, S, T, N) => {
5821
5821
  const $ = T ? { ...T } : {}, L = (N || "items").trim() || "items";
5822
- if (w)
5823
- return $[L] = w.arr || [], $;
5822
+ if (S)
5823
+ return $[L] = S.arr || [], $;
5824
5824
  const J = l;
5825
5825
  if (Array.isArray(J))
5826
5826
  return $[L] = J, $;
@@ -5831,12 +5831,12 @@ const rt = [
5831
5831
  return $[L] = [], $;
5832
5832
  }, j = (l) => {
5833
5833
  var L;
5834
- const w = !!((L = l.apiUrl) != null && L.trim()), T = w ? g[l.id] : void 0;
5834
+ const S = !!((L = l.apiUrl) != null && L.trim()), T = S ? g[l.id] : void 0;
5835
5835
  let N = l.props ? { ...l.props } : {};
5836
5836
  const $ = U(l.manualScalarFields);
5837
5837
  if (rt.includes(l.componentKey))
5838
5838
  return { items: T, ...N, ...$ };
5839
- if (N = { ...N, ...$ }, w)
5839
+ if (N = { ...N, ...$ }, S)
5840
5840
  N = W(T, null, N);
5841
5841
  else if (l.dataMode === "manual") {
5842
5842
  const J = A(l.manualItems);
@@ -5852,23 +5852,23 @@ const rt = [
5852
5852
  }
5853
5853
  return N;
5854
5854
  }, Z = (l) => {
5855
- const w = l.props ? { ...l.props } : {};
5855
+ const S = l.props ? { ...l.props } : {};
5856
5856
  try {
5857
- Object.assign(w, U(l.manualScalarFields));
5857
+ Object.assign(S, U(l.manualScalarFields));
5858
5858
  } catch (N) {
5859
5859
  console.error("❌ Error armando scalars vacíos:", l, N);
5860
5860
  }
5861
5861
  const T = (l.variableName || "items").trim() || "items";
5862
- if (typeof w[T] == "undefined" && (w[T] = []), l.variableName2) {
5862
+ if (typeof S[T] == "undefined" && (S[T] = []), l.variableName2) {
5863
5863
  const N = (l.variableName2 || "items2").trim() || "items2";
5864
- typeof w[N] == "undefined" && (w[N] = []);
5864
+ typeof S[N] == "undefined" && (S[N] = []);
5865
5865
  }
5866
- return w;
5866
+ return S;
5867
5867
  }, G = (l) => {
5868
5868
  try {
5869
5869
  return j(l);
5870
- } catch (w) {
5871
- console.error("🔥 ERROR EN buildCompProps:", l, w);
5870
+ } catch (S) {
5871
+ console.error("🔥 ERROR EN buildCompProps:", l, S);
5872
5872
  const T = y(l);
5873
5873
  if (T && T !== l)
5874
5874
  try {
@@ -5880,13 +5880,13 @@ const rt = [
5880
5880
  }
5881
5881
  return Z(l);
5882
5882
  }
5883
- }, E = (l, w, T) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5883
+ }, E = (l, S, T) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5884
5884
  loading: "bg-blue-100 text-blue-800",
5885
5885
  error: "bg-red-100 text-red-800",
5886
5886
  component: "bg-yellow-100 text-yellow-800"
5887
- }[w]}`, children: T }, l), F = (l) => {
5887
+ }[S]}`, children: T }, l), F = (l) => {
5888
5888
  var He;
5889
- const w = l.componentKey, T = no[w], $ = (/* @__PURE__ */ new Set([
5889
+ const S = l.componentKey, T = no[S], $ = (/* @__PURE__ */ new Set([
5890
5890
  "OraculoSeccionBanners",
5891
5891
  "OraculoSeccionBonoBienvenida",
5892
5892
  "OraculoSeccionCasinoEnVivo",
@@ -5909,10 +5909,10 @@ const rt = [
5909
5909
  } : {}
5910
5910
  };
5911
5911
  if (!T)
5912
- return console.warn(`No hay componente registrado para "${w}"`), E(
5912
+ return console.warn(`No hay componente registrado para "${S}"`), E(
5913
5913
  l.id,
5914
5914
  "component",
5915
- `Componente "${w}" no encontrado`
5915
+ `Componente "${S}" no encontrado`
5916
5916
  );
5917
5917
  const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? g[l.id] : void 0, Ot = oe ? !!x[l.id] : !1, Ge = oe ? p[l.id] : "";
5918
5918
  if (oe) {
@@ -5923,15 +5923,15 @@ const rt = [
5923
5923
  `Cargando datos desde ${l.apiUrl}...`
5924
5924
  );
5925
5925
  if (Ge && !We) {
5926
- const Se = y(l);
5927
- if (Se && Se.dataMode === "manual")
5926
+ const we = y(l);
5927
+ if (we && we.dataMode === "manual")
5928
5928
  try {
5929
- const Le = G(Se);
5929
+ const Le = G(we);
5930
5930
  return /* @__PURE__ */ t("div", { style: se, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(T, { ...Le }) }, l.id);
5931
5931
  } catch (Le) {
5932
5932
  console.error(
5933
5933
  "🔥 ERROR renderizando fallback manual de sección:",
5934
- Se,
5934
+ we,
5935
5935
  Le
5936
5936
  );
5937
5937
  }
@@ -5973,8 +5973,8 @@ const rt = [
5973
5973
  children: /* @__PURE__ */ t(Ee, { direction: "column", spacing: M ? 8 : 5, useFlexGap: !0, children: B.map((l) => {
5974
5974
  try {
5975
5975
  return F(l);
5976
- } catch (w) {
5977
- return console.error("🔥 ERROR EN SECTION:", l, w), null;
5976
+ } catch (S) {
5977
+ return console.error("🔥 ERROR EN SECTION:", l, S), null;
5978
5978
  }
5979
5979
  }) })
5980
5980
  }
@@ -5985,7 +5985,7 @@ export {
5985
5985
  Y as OraculoButton,
5986
5986
  he as OraculoCarousel,
5987
5987
  dt as OraculoCarouselDots,
5988
- wa as OraculoClubOlimpoVisual,
5988
+ Sa as OraculoClubOlimpoVisual,
5989
5989
  La as OraculoEventCombinadasCard,
5990
5990
  Da as OraculoEventEnVivoCard,
5991
5991
  Ht as OraculoEventHeader,
@@ -6000,7 +6000,7 @@ export {
6000
6000
  xa as OraculoGameRankCard,
6001
6001
  ft as OraculoGameSlide,
6002
6002
  me as OraculoGridGroup,
6003
- Sa as OraculoLiveCasinoCard,
6003
+ wa as OraculoLiveCasinoCard,
6004
6004
  Ze as OraculoLogoMediosPago,
6005
6005
  Io as OraculoPageLandingPreview,
6006
6006
  Xn as OraculoSeccionBanners,
@@ -6015,7 +6015,7 @@ export {
6015
6015
  Qn as OraculoSeccionMediosPago,
6016
6016
  Qa as OraculoSeccionTopJuegos,
6017
6017
  vn as OraculoSeccionVirtuales,
6018
- wo as OraculoSectionHost,
6018
+ So as OraculoSectionHost,
6019
6019
  ge as OraculoSectionTitle,
6020
6020
  It as OraculoThemeProvider,
6021
6021
  Qa as OraculoTopJuegoItem,