oraculo-ui 0.1.134 → 0.1.136

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
@@ -1,13 +1,13 @@
1
1
  import { jsx as t, jsxs as b, Fragment as pe } from "react/jsx-runtime";
2
- import { Link as rt, Box as Q, useMediaQuery as Ue, IconButton as Ke, Typography as st, Stack as Oe, Container as Et } from "@mui/material";
2
+ import { Link as rt, Box as Q, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Oe, Container as Et } from "@mui/material";
3
3
  import fe, { useState as Z, useEffect as ee, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ee, createContext as $t, useContext as Nt, useMemo as ie, useLayoutEffect as Mt } from "react";
4
4
  import j from "@mui/material/Skeleton";
5
- import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
5
+ import { Splide as At, SplideSlide as Bt } from "@splidejs/react-splide";
6
6
  import F from "@mui/material/Box";
7
7
  import ue from "@mui/material/Typography";
8
8
  import H from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as ae } from "@olimpo/capture-client";
10
- import { ChevronLeftRounded as Ae, ChevronRightRounded as ze } from "@mui/icons-material";
10
+ import { ChevronLeftRounded as Be, ChevronRightRounded as ze } from "@mui/icons-material";
11
11
  import xe from "@mui/material/useMediaQuery";
12
12
  import lt from "@mui/icons-material/ChevronLeftRounded";
13
13
  import ct from "@mui/icons-material/ChevronRightRounded";
@@ -23,26 +23,26 @@ function X({
23
23
  type: r = "button",
24
24
  disabled: s = !1,
25
25
  variant: c = "primary",
26
- size: g,
26
+ size: f,
27
27
  fullWidth: h = !1,
28
28
  fullHeight: u = !1,
29
29
  className: p = "",
30
30
  ariaLabel: d,
31
- leftIcon: f,
31
+ leftIcon: g,
32
32
  rightIcon: m,
33
33
  iconOnly: _
34
34
  }) {
35
- const I = !!e && e !== !0, C = (!!f ? 1 : 0) + (!!m ? 1 : 0) == 1, U = _ != null ? _ : C && !I, T = [
35
+ const S = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : I && !S, T = [
36
36
  "orc-btn",
37
37
  c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
- g ? `orc-btn--${g}` : "",
38
+ f ? `orc-btn--${f}` : "",
39
39
  h ? "orc-btn--full" : "",
40
40
  u ? "orc-btn--fullHeight" : "",
41
- U ? "orc-btn--iconOnly" : "",
41
+ D ? "orc-btn--iconOnly" : "",
42
42
  p
43
43
  ].filter(Boolean).join(" "), N = /* @__PURE__ */ b(pe, { children: [
44
- f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
45
- !U && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
44
+ g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
45
+ !D && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
46
  m && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: m })
47
47
  ] }), E = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
@@ -103,8 +103,8 @@ const dt = ({
103
103
  if (e <= 1) return null;
104
104
  const r = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = Z(0);
105
105
  return ee(() => {
106
- c((g) => g + 1);
107
- }, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((g, h) => {
106
+ c((f) => f + 1);
107
+ }, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((f, h) => {
108
108
  const u = h === a;
109
109
  return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
110
110
  "button",
@@ -178,9 +178,9 @@ function Ze({ src: e, alt: a }) {
178
178
  }
179
179
  );
180
180
  }
181
- const Ut = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Dt = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Le = {
182
- contenedor: Ut,
183
- flexGroup: Dt,
181
+ const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Le = {
182
+ contenedor: Dt,
183
+ flexGroup: Ut,
184
184
  subtitle: Vt
185
185
  };
186
186
  function Wt({ title: e, subtitle: a }) {
@@ -388,19 +388,19 @@ function fa(e, a, {
388
388
  if (!n) return;
389
389
  const c = e.current;
390
390
  if (!c) return;
391
- const g = (h) => {
391
+ const f = (h) => {
392
392
  const u = a.current;
393
393
  if (!u || !u.go) return;
394
394
  const { deltaX: p, deltaY: d } = h;
395
395
  if (Math.abs(p) <= Math.abs(d)) return;
396
396
  h.preventDefault(), r.current += p;
397
- const f = Date.now();
398
- if (f - s.current < i || Math.abs(r.current) < o) return;
397
+ const g = Date.now();
398
+ if (g - s.current < i || Math.abs(r.current) < o) return;
399
399
  const m = r.current > 0 ? ">" : "<";
400
- r.current = 0, s.current = f, u.go(m);
400
+ r.current = 0, s.current = g, u.go(m);
401
401
  };
402
- return c.addEventListener("wheel", g, { passive: !1 }), () => {
403
- c.removeEventListener("wheel", g), r.current = 0;
402
+ return c.addEventListener("wheel", f, { passive: !1 }), () => {
403
+ c.removeEventListener("wheel", f), r.current = 0;
404
404
  };
405
405
  }, [n, o, i, e, a]);
406
406
  }
@@ -409,7 +409,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
409
409
  right: ha,
410
410
  left: ba,
411
411
  svg: va
412
- }, _a = Bt, ya = At, he = Tt(
412
+ }, _a = At, ya = Bt, he = Tt(
413
413
  ({
414
414
  items: e = [],
415
415
  renderItem: a,
@@ -419,12 +419,12 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
419
419
  options: r = {},
420
420
  className: s = "",
421
421
  onMove: c,
422
- useIndexAsKey: g = !1,
422
+ useIndexAsKey: f = !1,
423
423
  enableHorizontalWheel: h = !0,
424
424
  showRightGradient: u = !1
425
425
  }, p) => {
426
- const d = V(null), f = V(null), m = V(e.length), _ = V(null), I = V(null);
427
- fa(f, d, {
426
+ const d = V(null), g = V(null), m = V(e.length), _ = V(null), S = V(null);
427
+ fa(g, d, {
428
428
  enabled: h
429
429
  }), kt(p, () => ({
430
430
  next: () => {
@@ -443,18 +443,18 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
443
443
  const y = (E) => {
444
444
  var W;
445
445
  const M = E.Components.Slides, k = E.Components.Controller, x = E.root.querySelector(".splide__track"), O = (W = x == null ? void 0 : x.clientWidth) != null ? W : 0, L = k.getIndex(), z = M.getLength();
446
- let R = 0, D = L;
446
+ let R = 0, U = L;
447
447
  for (let G = L; G < z; G++) {
448
- const S = M.getAt(G);
449
- if (!S || (R += S.slide.offsetWidth, R > O)) break;
450
- D = G;
448
+ const C = M.getAt(G);
449
+ if (!C || (R += C.slide.offsetWidth, R > O)) break;
450
+ U = G;
451
451
  }
452
- return { visibleStart: L, visibleEnd: D };
452
+ return { visibleStart: L, visibleEnd: U };
453
453
  }, v = (E) => {
454
454
  const M = E.root.querySelector(".splide__track"), k = E.root.querySelector(".splide__list");
455
455
  return !M || !k ? !1 : k.scrollWidth > M.clientWidth + 1;
456
- }, C = Ee((E) => {
457
- var D, W;
456
+ }, I = Ee((E) => {
457
+ var U, W;
458
458
  const k = E.Components.Slides.getLength();
459
459
  if (!v(E)) {
460
460
  c == null || c({
@@ -468,7 +468,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
468
468
  return;
469
469
  }
470
470
  const { visibleStart: x, visibleEnd: O } = y(E), L = x === 0, z = O === k - 1;
471
- u && ((D = _.current) == null || D.style.setProperty("--gradient-opacity", L ? "0" : "1"), (W = I.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
471
+ u && ((U = _.current) == null || U.style.setProperty("--gradient-opacity", L ? "0" : "1"), (W = S.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
472
  const R = E.Components.Controller.getIndex();
473
473
  c == null || c({
474
474
  index: R,
@@ -485,18 +485,18 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
485
485
  if (!E) return;
486
486
  const M = m.current !== e.length;
487
487
  m.current = e.length, M && requestAnimationFrame(() => {
488
- E.refresh(), C(E);
488
+ E.refresh(), I(E);
489
489
  });
490
- }, [e.length, C]);
491
- const U = Ee(() => {
490
+ }, [e.length, I]);
491
+ const D = Ee(() => {
492
492
  var M;
493
493
  const E = (M = d.current) == null ? void 0 : M.splide;
494
- E && (E.go(0, !1), C(E));
495
- }, [C]), T = Ee(
494
+ E && (E.go(0, !1), I(E));
495
+ }, [I]), T = Ee(
496
496
  (E) => {
497
- C(E);
497
+ I(E);
498
498
  },
499
- [C]
499
+ [I]
500
500
  ), N = {
501
501
  type: "slide",
502
502
  trimSpace: !1,
@@ -515,7 +515,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
515
515
  return /* @__PURE__ */ b(
516
516
  "div",
517
517
  {
518
- ref: f,
518
+ ref: g,
519
519
  className: s,
520
520
  style: { width: "100%", position: "relative", height: "100%" },
521
521
  children: [
@@ -524,12 +524,12 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
524
524
  {
525
525
  ref: d,
526
526
  options: N,
527
- onMove: C,
527
+ onMove: I,
528
528
  onMounted: T,
529
- onResize: U,
529
+ onResize: D,
530
530
  children: e.map((E, M) => {
531
531
  var k;
532
- return /* @__PURE__ */ t(ya, { children: a(E, M) }, g ? M : (k = E.id) != null ? k : M);
532
+ return /* @__PURE__ */ t(ya, { children: a(E, M) }, f ? M : (k = E.id) != null ? k : M);
533
533
  })
534
534
  }
535
535
  ),
@@ -562,7 +562,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
562
562
  /* @__PURE__ */ t(
563
563
  "div",
564
564
  {
565
- ref: I,
565
+ ref: S,
566
566
  className: `${ye.gradientOverlay} ${ye.right}`,
567
567
  style: { "--gradient-opacity": "1" },
568
568
  children: /* @__PURE__ */ b(
@@ -686,16 +686,16 @@ function xa({
686
686
  md: { w: 186, h: 264, r: 22.6, font: 64 }
687
687
  }
688
688
  }) {
689
- var p, d, f, m;
690
- const r = (_, I) => {
691
- var y, v, C, U;
689
+ var p, d, g, m;
690
+ const r = (_, S) => {
691
+ var y, v, I, D;
692
692
  return {
693
- xs: (v = (y = i.xs) == null ? void 0 : y[_]) != null ? v : I,
694
- md: (U = (C = i.md) == null ? void 0 : C[_]) != null ? U : I
693
+ xs: (v = (y = i.xs) == null ? void 0 : y[_]) != null ? v : S,
694
+ md: (D = (I = i.md) == null ? void 0 : I[_]) != null ? D : S
695
695
  };
696
- }, s = r("w", 186), c = r("h", 264), g = r("r", 22.6), h = r("font", 64), u = {
696
+ }, s = r("w", 186), c = r("h", 264), f = r("r", 22.6), h = r("font", 64), u = {
697
697
  xs: Math.round(((d = (p = i.xs) == null ? void 0 : p.font) != null ? d : 64) * 0.28),
698
- md: Math.round(((m = (f = i.md) == null ? void 0 : f.font) != null ? m : 64) * 0.28)
698
+ md: Math.round(((m = (g = i.md) == null ? void 0 : g.font) != null ? m : 64) * 0.28)
699
699
  };
700
700
  return /* @__PURE__ */ b(
701
701
  F,
@@ -708,7 +708,7 @@ function xa({
708
708
  xs: `${s.xs}/${c.xs}`,
709
709
  md: `${s.md}/${c.md}`
710
710
  },
711
- borderRadius: { xs: `${g.xs}px`, md: `${g.md}px` },
711
+ borderRadius: { xs: `${f.xs}px`, md: `${f.md}px` },
712
712
  boxSizing: "border-box",
713
713
  overflow: "visible",
714
714
  pb: { xs: `${u.xs}px`, md: `${u.md}px` },
@@ -890,7 +890,7 @@ const wa = ({
890
890
  }) => {
891
891
  var r, s;
892
892
  if (a === "mosaic") {
893
- const c = e[0], g = e.slice(1, 5);
893
+ const c = e[0], f = e.slice(1, 5);
894
894
  return /* @__PURE__ */ b(
895
895
  F,
896
896
  {
@@ -936,7 +936,7 @@ const wa = ({
936
936
  )
937
937
  }
938
938
  ),
939
- (o ? Array.from({ length: 4 }) : g).map((h, u) => {
939
+ (o ? Array.from({ length: 4 }) : f).map((h, u) => {
940
940
  var p, d;
941
941
  return /* @__PURE__ */ t(
942
942
  F,
@@ -980,7 +980,7 @@ const wa = ({
980
980
  gap: `${Pe}px`,
981
981
  gridAutoFlow: "column"
982
982
  },
983
- children: (o ? Array.from({ length: i }) : e).map((c, g) => {
983
+ children: (o ? Array.from({ length: i }) : e).map((c, f) => {
984
984
  var h, u, p;
985
985
  return /* @__PURE__ */ t(
986
986
  F,
@@ -992,11 +992,11 @@ const wa = ({
992
992
  imageUrl: `https://olimpo.bet${(u = (h = c.background) != null ? h : c.imageUrl) != null ? u : ""}`,
993
993
  size: "sm",
994
994
  fillParent: !0,
995
- onClick: () => n == null ? void 0 : n(c, g)
995
+ onClick: () => n == null ? void 0 : n(c, f)
996
996
  }
997
997
  )
998
998
  },
999
- o ? `sk-${g}` : (p = c.id) != null ? p : g
999
+ o ? `sk-${f}` : (p = c.id) != null ? p : f
1000
1000
  );
1001
1001
  })
1002
1002
  }
@@ -1010,9 +1010,9 @@ const wa = ({
1010
1010
  backgroundImage: r,
1011
1011
  alt: s,
1012
1012
  className: c = "",
1013
- variant: g = "small"
1013
+ variant: f = "small"
1014
1014
  }) => {
1015
- const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", p = g === "large";
1015
+ const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", p = f === "large";
1016
1016
  return /* @__PURE__ */ b(
1017
1017
  F,
1018
1018
  {
@@ -1207,14 +1207,14 @@ const wa = ({
1207
1207
  apuestaText: Na,
1208
1208
  cuotaTotal: Ma
1209
1209
  };
1210
- function De(e, a) {
1210
+ function Ue(e, a) {
1211
1211
  const n = Array.isArray(a) ? a : [a];
1212
1212
  sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
1213
1213
  }
1214
- function Ba() {
1214
+ function Aa() {
1215
1215
  window.location.href = "/deportes#in-play";
1216
1216
  }
1217
- function Aa() {
1217
+ function Ba() {
1218
1218
  window.location.href = "/deportes#sports-hub/football";
1219
1219
  }
1220
1220
  function za() {
@@ -1244,33 +1244,33 @@ function Ra({ coupon: e }) {
1244
1244
  var h;
1245
1245
  const a = ae(), n = ne();
1246
1246
  function o(u) {
1247
- var f, m;
1247
+ var g, m;
1248
1248
  const p = [], d = Array.from(
1249
1249
  new Map(
1250
- ((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((_) => [_.id, _])
1250
+ ((g = u == null ? void 0 : u.events) != null ? g : []).filter(Boolean).map((_) => [_.id, _])
1251
1251
  ).values()
1252
1252
  );
1253
1253
  return d.forEach((_) => {
1254
- var C;
1255
- const I = (C = _.betoffers) != null ? C : [], y = _.homeName, v = _.awayName;
1256
- I.forEach((U) => {
1254
+ var I;
1255
+ const S = (I = _.betoffers) != null ? I : [], y = _.homeName, v = _.awayName;
1256
+ S.forEach((D) => {
1257
1257
  var M, k, x, O, L, z, R;
1258
- if (!((M = U == null ? void 0 : U.outcomes) != null && M.length)) return;
1259
- const T = U.outcomes[0];
1258
+ if (!((M = D == null ? void 0 : D.outcomes) != null && M.length)) return;
1259
+ const T = D.outcomes[0];
1260
1260
  if (!T) return;
1261
1261
  let N = "";
1262
1262
  const E = T != null && T.line ? T.line / 1e3 : "";
1263
1263
  ["Más de", "Mas de", "Over"].includes(T.label) ? (N = `Más de ${E}`, T.participant && (N = `${T.participant} - ${N}`)) : ["Menos de", "Menos", "Under"].includes(T.label) ? (N = `Menos de ${E}`, T.participant && (N = `${T.participant} - ${N}`)) : ["Sí", "No"].includes(T.label) ? (N = T.label, T.participant && (N = `${T.participant} - ${N}`)) : ["1X", "12", "X2"].includes(T.label) ? (T.label === "1X" && (N = `${y} o Empate`), T.label === "12" && (N = `${y} o ${v}`), T.label === "X2" && (N = `${v} o Empate`)) : (N = (x = (k = T.participant) != null ? k : T.label) != null ? x : "", E !== "" && N === T.label && (N = `${T.label} ${E}`)), p.push({
1264
1264
  id: T.id,
1265
1265
  value: N,
1266
- label: (L = (O = U.criterion) == null ? void 0 : O.label) != null ? L : "",
1266
+ label: (L = (O = D.criterion) == null ? void 0 : O.label) != null ? L : "",
1267
1267
  odds: (z = T.odds) != null ? z : 0,
1268
1268
  position: (R = T.position) != null ? R : 0,
1269
1269
  eventId: _.id
1270
1270
  });
1271
1271
  });
1272
1272
  }), {
1273
- outcomes: p.sort((_, I) => _.position - I.position),
1273
+ outcomes: p.sort((_, S) => _.position - S.position),
1274
1274
  total: Number((m = u == null ? void 0 : u.combinadoTotal) != null ? m : 0).toLocaleString("en-US", {
1275
1275
  minimumFractionDigits: 2,
1276
1276
  maximumFractionDigits: 2
@@ -1288,20 +1288,20 @@ function Ra({ coupon: e }) {
1288
1288
  if (p.every((m) => m.groupId === d)) {
1289
1289
  const m = p[0].path;
1290
1290
  if (Array.isArray(m) && m.length > 0)
1291
- return `/deportes#sports-hub/${m.map((I) => I.termKey).filter(Boolean).join("/")}`;
1291
+ return `/deportes#sports-hub/${m.map((S) => S.termKey).filter(Boolean).join("/")}`;
1292
1292
  }
1293
1293
  return "/deportes#home";
1294
1294
  }
1295
1295
  const r = (u, p) => {
1296
- const d = Array.isArray(u) ? u : [u], f = Array.from(
1296
+ const d = Array.isArray(u) ? u : [u], g = Array.from(
1297
1297
  new Set(
1298
- s.outcomes.map((I) => {
1298
+ s.outcomes.map((S) => {
1299
1299
  var v;
1300
- const y = g.get(Number(I.eventId));
1300
+ const y = f.get(Number(S.eventId));
1301
1301
  return (v = y == null ? void 0 : y.name) != null ? v : "";
1302
1302
  })
1303
1303
  )
1304
- ).filter(Boolean), m = f.length > 0 ? f.join(" + ") : JSON.stringify(d), _ = p ? `${m} - Cuota: ${p}` : m;
1304
+ ).filter(Boolean), m = g.length > 0 ? g.join(" + ") : JSON.stringify(d), _ = p ? `${m} - Cuota: ${p}` : m;
1305
1305
  a({
1306
1306
  element: "evento_semana_outcome",
1307
1307
  label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${_}`,
@@ -1312,15 +1312,15 @@ function Ra({ coupon: e }) {
1312
1312
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1313
1313
  },
1314
1314
  tags: { section: "OraculoEventCombinadasCard", outcomes: _ }
1315
- }), De(i(e), u);
1315
+ }), Ue(i(e), u);
1316
1316
  };
1317
1317
  if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
1318
- const s = o(e), c = s.outcomes.reduce((u, p) => (u[p.eventId] || (u[p.eventId] = []), u[p.eventId].push(p), u), {}), g = new Map(
1318
+ const s = o(e), c = s.outcomes.reduce((u, p) => (u[p.eventId] || (u[p.eventId] = []), u[p.eventId].push(p), u), {}), f = new Map(
1319
1319
  s.events.map((u) => [u.id, u])
1320
1320
  );
1321
1321
  return /* @__PURE__ */ b("div", { className: ce.card, children: [
1322
1322
  /* @__PURE__ */ t("div", { className: ce.combinadas, children: /* @__PURE__ */ t("div", { className: ce.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(c).reverse().map(([u, p]) => {
1323
- const d = g.get(Number(u));
1323
+ const d = f.get(Number(u));
1324
1324
  return d ? /* @__PURE__ */ b(
1325
1325
  H,
1326
1326
  {
@@ -1343,15 +1343,15 @@ function Ra({ coupon: e }) {
1343
1343
  src: "/assets/img/home/Combinadas/line.png"
1344
1344
  }
1345
1345
  ),
1346
- p.map((f, m) => /* @__PURE__ */ b("div", { className: ce.apuestaItem, children: [
1346
+ p.map((g, m) => /* @__PURE__ */ b("div", { className: ce.apuestaItem, children: [
1347
1347
  /* @__PURE__ */ b("div", { className: ce.lineContainer, children: [
1348
1348
  /* @__PURE__ */ t("div", { className: ce.circle }),
1349
1349
  m < p.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1350
1350
  ] }),
1351
1351
  /* @__PURE__ */ b("div", { className: ce.apuestaText, children: [
1352
- /* @__PURE__ */ t("strong", { children: f.value }),
1352
+ /* @__PURE__ */ t("strong", { children: g.value }),
1353
1353
  " | ",
1354
- f.label
1354
+ g.label
1355
1355
  ] })
1356
1356
  ] }, `${u}-${m}`))
1357
1357
  ]
@@ -1408,29 +1408,29 @@ function La({
1408
1408
  type: r = "button",
1409
1409
  disabled: s = !1,
1410
1410
  variant: c = "primary",
1411
- size: g,
1411
+ size: f,
1412
1412
  fullWidth: h = !1,
1413
1413
  fullHeight: u = !1,
1414
1414
  className: p = "",
1415
1415
  ariaLabel: d,
1416
- leftIcon: f,
1416
+ leftIcon: g,
1417
1417
  rightIcon: m,
1418
1418
  iconOnly: _
1419
1419
  }) {
1420
- const I = !!e && e !== !0, C = (!!f ? 1 : 0) + (!!m ? 1 : 0) == 1, U = _ != null ? _ : C && !I, T = [
1420
+ const S = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : I && !S, T = [
1421
1421
  de["orc-btn"],
1422
1422
  // base
1423
1423
  de[`orc-btn--${c}`],
1424
1424
  // variant primary/secondary/tertiary
1425
- g ? de[`orc-btn--${g}`] : "",
1425
+ f ? de[`orc-btn--${f}`] : "",
1426
1426
  // sm / md / lg
1427
1427
  h ? de["orc-btn--full"] : "",
1428
1428
  u ? de["orc-btn--fullHeight"] : "",
1429
- U ? de["orc-btn--iconOnly"] : "",
1429
+ D ? de["orc-btn--iconOnly"] : "",
1430
1430
  p
1431
1431
  ].filter(Boolean).join(" "), N = /* @__PURE__ */ b(pe, { children: [
1432
- f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
1433
- !U && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1432
+ g && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: g }),
1433
+ !D && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1434
1434
  m && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: m })
1435
1435
  ] }), E = s ? !0 : void 0;
1436
1436
  return n ? /* @__PURE__ */ t(
@@ -1483,12 +1483,12 @@ const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
1483
1483
  const o = (r = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : r[n];
1484
1484
  return o || (a === "home" ? Xe : Ye);
1485
1485
  };
1486
- function Ua({ event: e, liveData: a, betOffers: n, jersey: o }) {
1487
- var c, g, h, u, p, d, f, m, _, I, y;
1486
+ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1487
+ var c, f, h, u, p, d, g, m, _, S, y;
1488
1488
  const i = n == null ? void 0 : n.find(
1489
1489
  (v) => {
1490
- var C;
1491
- return ((C = v.betOfferType) == null ? void 0 : C.id) === 2;
1490
+ var I;
1491
+ return ((I = v.betOfferType) == null ? void 0 : I.id) === 2;
1492
1492
  }
1493
1493
  ), r = {
1494
1494
  englishLabel: "",
@@ -1509,7 +1509,7 @@ function Ua({ event: e, liveData: a, betOffers: n, jersey: o }) {
1509
1509
  /* @__PURE__ */ t(
1510
1510
  Ht,
1511
1511
  {
1512
- title: (h = (g = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : g.name) != null ? h : "",
1512
+ title: (h = (f = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : f.name) != null ? h : "",
1513
1513
  subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
1514
1514
  live: !0,
1515
1515
  time: ((p = a == null ? void 0 : a.matchClock) == null ? void 0 : p.minute) != null ? `${a.matchClock.minute}'` : ""
@@ -1517,20 +1517,20 @@ function Ua({ event: e, liveData: a, betOffers: n, jersey: o }) {
1517
1517
  ),
1518
1518
  /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1519
1519
  /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
1520
- /* @__PURE__ */ t(pt, { text: ((f = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? f : 0) + ":" + ((_ = (m = a == null ? void 0 : a.score) == null ? void 0 : m.away) != null ? _ : 0), name: "En vivo" }),
1520
+ /* @__PURE__ */ t(pt, { text: ((g = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? g : 0) + ":" + ((_ = (m = a == null ? void 0 : a.score) == null ? void 0 : m.away) != null ? _ : 0), name: "En vivo" }),
1521
1521
  /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1522
1522
  ] }) })
1523
1523
  ] }),
1524
1524
  /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
- /* @__PURE__ */ t(me, { spacing: 1, children: ((I = i == null ? void 0 : i.outcomes) != null ? I : s).map((v, C) => /* @__PURE__ */ t(ut, { text: v.label.toUpperCase() }, C)) }),
1526
- /* @__PURE__ */ t(me, { spacing: 2, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : s).map((v, C) => /* @__PURE__ */ t(La, { variant: "primary", disabled: v.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
- De("/deportes#event/live/" + e.id, v.id);
1528
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: v.odds === void 0 ? "" : (v.odds / 1e3).toFixed(2) }) }, C)) })
1525
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((S = i == null ? void 0 : i.outcomes) != null ? S : s).map((v, I) => /* @__PURE__ */ t(ut, { text: v.label.toUpperCase() }, I)) }),
1526
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : s).map((v, I) => /* @__PURE__ */ t(La, { variant: "primary", disabled: v.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
+ Ue("/deportes#event/live/" + e.id, v.id);
1528
+ }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: v.odds === void 0 ? "" : (v.odds / 1e3).toFixed(2) }) }, I)) })
1529
1529
  ] })
1530
1530
  ] }) });
1531
1531
  }
1532
- const Da = "oraculo__OraculoEventDate-module__date___xhIlh", Va = {
1533
- date: Da
1532
+ const Ua = "oraculo__OraculoEventDate-module__date___xhIlh", Va = {
1533
+ date: Ua
1534
1534
  };
1535
1535
  function Wa({ text: e }) {
1536
1536
  return /* @__PURE__ */ t("div", { className: `oli-font ${Va.date}`, children: e });
@@ -1542,15 +1542,15 @@ const Ga = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ja =
1542
1542
  equipos: Ka
1543
1543
  };
1544
1544
  function Za({ event: e, jersey: a }) {
1545
- var s, c, g, h, u, p, d;
1545
+ var s, c, f, h, u, p, d;
1546
1546
  const n = ae(), o = ne();
1547
- function i(f) {
1548
- const m = new Date(f), _ = m.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), I = m.getDate().toString().padStart(2, "0"), y = (m.getMonth() + 1).toString().padStart(2, "0");
1547
+ function i(g) {
1548
+ const m = new Date(g), _ = m.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), S = m.getDate().toString().padStart(2, "0"), y = (m.getMonth() + 1).toString().padStart(2, "0");
1549
1549
  let v = m.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1550
- return v = v.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${_} ${I}/${y} | ${v}`;
1550
+ return v = v.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${_} ${S}/${y} | ${v}`;
1551
1551
  }
1552
- const r = (f, m) => {
1553
- const _ = `${e.homeName} vs ${e.awayName}`, I = m ? (m / 1e3).toFixed(2) : "", y = I ? `${_} - Cuota: ${I}` : _;
1552
+ const r = (g, m) => {
1553
+ const _ = `${e.homeName} vs ${e.awayName}`, S = m ? (m / 1e3).toFixed(2) : "", y = S ? `${_} - Cuota: ${S}` : _;
1554
1554
  n({
1555
1555
  element: "evento_semana_outcome",
1556
1556
  label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${y}`,
@@ -1561,7 +1561,7 @@ function Za({ event: e, jersey: a }) {
1561
1561
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1562
1562
  },
1563
1563
  tags: { section: "OraculoEventSemanaCard", outcomes: y }
1564
- }), De("/deportes#event/" + e.id, f);
1564
+ }), Ue("/deportes#event/" + e.id, g);
1565
1565
  };
1566
1566
  return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
1567
1567
  /* @__PURE__ */ t(mt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
@@ -1575,10 +1575,10 @@ function Za({ event: e, jersey: a }) {
1575
1575
  /* @__PURE__ */ t(Wa, { text: i(e.start) })
1576
1576
  ] }),
1577
1577
  /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1578
- /* @__PURE__ */ t(me, { spacing: 1, children: ((h = (g = (c = e == null ? void 0 : e.outcome) == null ? void 0 : c[0]) == null ? void 0 : g.outcomes) != null ? h : []).map((f, m) => /* @__PURE__ */ t(ut, { text: f.label.toUpperCase() }, m)) }),
1579
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (p = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : p.outcomes) != null ? d : []).map((f, m) => /* @__PURE__ */ t(X, { variant: "primary", fullHeight: !0, onClick: () => {
1580
- r(f.id, f.odds);
1581
- }, children: (f.odds / 1e3).toFixed(2) }, m)) }) })
1578
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((h = (f = (c = e == null ? void 0 : e.outcome) == null ? void 0 : c[0]) == null ? void 0 : f.outcomes) != null ? h : []).map((g, m) => /* @__PURE__ */ t(ut, { text: g.label.toUpperCase() }, m)) }),
1579
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (p = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : p.outcomes) != null ? d : []).map((g, m) => /* @__PURE__ */ t(X, { variant: "primary", fullHeight: !0, onClick: () => {
1580
+ r(g.id, g.odds);
1581
+ }, children: (g.odds / 1e3).toFixed(2) }, m)) }) })
1582
1582
  ] })
1583
1583
  ] }) })
1584
1584
  ] });
@@ -1590,9 +1590,9 @@ function Ja({
1590
1590
  onViewMore: o,
1591
1591
  className: i = ""
1592
1592
  }) {
1593
- const r = V(null), [s, c] = Z({ isStart: !0, isEnd: !1 }), g = ae(), h = ne(), u = le(), p = !e || e.length === 0, d = () => {
1593
+ const r = V(null), [s, c] = Z({ isStart: !0, isEnd: !1 }), f = ae(), h = ne(), u = le(), p = !e || e.length === 0, d = () => {
1594
1594
  var v;
1595
- g({
1595
+ f({
1596
1596
  element: "destacados_carousel_prev",
1597
1597
  label: `${h} - OraculoSeccionDestacados - Anterior`,
1598
1598
  target: "carousel",
@@ -1603,9 +1603,9 @@ function Ja({
1603
1603
  },
1604
1604
  tags: { section: "OraculoSeccionDestacados" }
1605
1605
  }), (v = r.current) == null || v.prev();
1606
- }, f = () => {
1606
+ }, g = () => {
1607
1607
  var v;
1608
- g({
1608
+ f({
1609
1609
  element: "destacados_carousel_next",
1610
1610
  label: `${h} - OraculoSeccionDestacados - Siguiente`,
1611
1611
  target: "carousel",
@@ -1617,7 +1617,7 @@ function Ja({
1617
1617
  tags: { section: "OraculoSeccionDestacados" }
1618
1618
  }), (v = r.current) == null || v.next();
1619
1619
  }, m = () => {
1620
- g({
1620
+ f({
1621
1621
  element: "destacados_view_more",
1622
1622
  label: `${h} - OraculoSeccionDestacados - Ver más`,
1623
1623
  target: "https://www.olimpo.bet/promociones",
@@ -1630,11 +1630,11 @@ function Ja({
1630
1630
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1631
1631
  }, _ = (v) => {
1632
1632
  if (!v) return;
1633
- const U = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
1634
- g({
1633
+ const D = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
1634
+ f({
1635
1635
  element: "destacados_card",
1636
1636
  label: `${h} - OraculoSeccionDestacados - Click: ${String(v)}`,
1637
- target: U,
1637
+ target: D,
1638
1638
  event_type: "click",
1639
1639
  module_id: u,
1640
1640
  metadata: {
@@ -1644,9 +1644,9 @@ function Ja({
1644
1644
  section: "OraculoSeccionDestacados",
1645
1645
  promotion: String(v)
1646
1646
  }
1647
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(U);
1648
- }, I = i || void 0, y = xe("(max-width:950px)");
1649
- return /* @__PURE__ */ b("section", { className: I, style: { width: "100%" }, children: [
1647
+ }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(D);
1648
+ }, S = i || void 0, y = xe("(max-width:950px)");
1649
+ return /* @__PURE__ */ b("section", { className: S, style: { width: "100%" }, children: [
1650
1650
  /* @__PURE__ */ b(
1651
1651
  "header",
1652
1652
  {
@@ -1669,7 +1669,7 @@ function Ja({
1669
1669
  ariaLabel: "Anterior",
1670
1670
  variant: "secondary",
1671
1671
  iconOnly: !0,
1672
- leftIcon: /* @__PURE__ */ t(Ae, {}),
1672
+ leftIcon: /* @__PURE__ */ t(Be, {}),
1673
1673
  onClick: d,
1674
1674
  disabled: s.isStart || p
1675
1675
  }
@@ -1681,7 +1681,7 @@ function Ja({
1681
1681
  variant: "secondary",
1682
1682
  iconOnly: !0,
1683
1683
  rightIcon: /* @__PURE__ */ t(ze, {}),
1684
- onClick: f,
1684
+ onClick: g,
1685
1685
  disabled: s.isEnd || p
1686
1686
  }
1687
1687
  )
@@ -1730,8 +1730,8 @@ function Ja({
1730
1730
  },
1731
1731
  `${v.title}-${v.image}`
1732
1732
  ),
1733
- onMove: ({ isStart: v, isEnd: C }) => {
1734
- c({ isStart: v, isEnd: C }), g({
1733
+ onMove: ({ isStart: v, isEnd: I }) => {
1734
+ c({ isStart: v, isEnd: I }), f({
1735
1735
  element: "destacados_carousel_slide",
1736
1736
  label: `${h} - OraculoSeccionDestacados - Slide Carousel`,
1737
1737
  target: "carousel",
@@ -1740,7 +1740,7 @@ function Ja({
1740
1740
  metadata: {
1741
1741
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1742
1742
  isStart: v,
1743
- isEnd: C
1743
+ isEnd: I
1744
1744
  },
1745
1745
  tags: { section: "OraculoSeccionDestacados" }
1746
1746
  });
@@ -1772,15 +1772,15 @@ function Qa({
1772
1772
  }) {
1773
1773
  const i = ae(), r = ne(), s = le(), c = ie(
1774
1774
  () => (e != null ? e : []).map((p, d) => {
1775
- var f;
1775
+ var g;
1776
1776
  return {
1777
1777
  ...p,
1778
- orden: (f = p.orden) != null ? f : d + 1,
1778
+ orden: (g = p.orden) != null ? g : d + 1,
1779
1779
  _originalIndex: d
1780
1780
  };
1781
1781
  }).sort((p, d) => p.orden != null && d.orden != null ? p.orden - d.orden : p._originalIndex - d._originalIndex),
1782
1782
  [e]
1783
- ), g = !e || e.length === 0, h = g ? Array.from({ length: 6 }) : c.slice(0, 6), u = (p) => {
1783
+ ), f = !e || e.length === 0, h = f ? Array.from({ length: 6 }) : c.slice(0, 6), u = (p) => {
1784
1784
  i({
1785
1785
  element: "top_juegos_card",
1786
1786
  label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(p.machine || "unknown")}`,
@@ -1795,9 +1795,9 @@ function Qa({
1795
1795
  section: "OraculoSeccionTopJuegos"
1796
1796
  }
1797
1797
  });
1798
- const d = se("showIframe"), f = se("loadMachine");
1798
+ const d = se("showIframe"), g = se("loadMachine");
1799
1799
  d == null || d(), requestAnimationFrame(() => {
1800
- f == null || f(p, !1, "CASINO");
1800
+ g == null || g(p, !1, "CASINO");
1801
1801
  });
1802
1802
  };
1803
1803
  return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
@@ -1816,18 +1816,18 @@ function Qa({
1816
1816
  width: "100%"
1817
1817
  },
1818
1818
  children: h.map((p, d) => {
1819
- var f, m;
1819
+ var g, m;
1820
1820
  return /* @__PURE__ */ t(
1821
1821
  xa,
1822
1822
  {
1823
- imageUrl: g ? "" : p.background ? `https://olimpo.bet${p.background}` : `https://olimpo.bet${(f = p.logo) != null ? f : ""}`,
1824
- orden: g ? d + 1 : p.orden,
1825
- loading: g,
1826
- onClick: g ? void 0 : () => {
1823
+ imageUrl: f ? "" : p.background ? `https://olimpo.bet${p.background}` : `https://olimpo.bet${(g = p.logo) != null ? g : ""}`,
1824
+ orden: f ? d + 1 : p.orden,
1825
+ loading: f,
1826
+ onClick: f ? void 0 : () => {
1827
1827
  o == null || o(p), u(p);
1828
1828
  }
1829
1829
  },
1830
- g ? `sk-${d}` : (m = p.machine) != null ? m : `${d}`
1830
+ f ? `sk-${d}` : (m = p.machine) != null ? m : `${d}`
1831
1831
  );
1832
1832
  })
1833
1833
  }
@@ -1835,7 +1835,7 @@ function Qa({
1835
1835
  ] }) });
1836
1836
  }
1837
1837
  const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
1838
- var n, o, i, r, s, c, g, h, u, p, d, f, m, _;
1838
+ var n, o, i, r, s, c, f, h, u, p, d, g, m, _;
1839
1839
  return {
1840
1840
  orden: Number(a),
1841
1841
  machine: String(
@@ -1846,12 +1846,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1846
1846
  web_name: (r = e.product) != null ? r : "",
1847
1847
  provider: (s = e.service) != null ? s : "",
1848
1848
  sub_provider: (c = e.service) != null ? c : "",
1849
- external_id: (g = e.external_id) != null ? g : "",
1849
+ external_id: (f = e.external_id) != null ? f : "",
1850
1850
  type: (h = e.game_type) != null ? h : "",
1851
1851
  tags: (u = e.tags) != null ? u : "",
1852
1852
  lobby_tag: (p = e.lobby_tag) != null ? p : null,
1853
1853
  background: (d = e.background) != null ? d : "",
1854
- rtp: (f = e.rtp) != null ? f : null,
1854
+ rtp: (g = e.rtp) != null ? g : null,
1855
1855
  demo_allowed: (m = e.demo_allowed) != null ? m : !1,
1856
1856
  gaming_session_required: (_ = e.gaming_session_required) != null ? _ : !1
1857
1857
  };
@@ -1903,26 +1903,26 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1903
1903
  c || i([]);
1904
1904
  return;
1905
1905
  }
1906
- const p = yt(), d = await on(p, u), f = d.map((y) => y.itemId), m = await Promise.allSettled(
1907
- f.map(async (y, v) => {
1908
- const C = await fetch(`https://api.mktolimpo.com/api/machine/${y}`);
1909
- if (!C.ok)
1906
+ const p = yt(), d = await on(p, u), g = d.map((y) => y.itemId), m = await Promise.allSettled(
1907
+ g.map(async (y, v) => {
1908
+ const I = await fetch(`https://api.mktolimpo.com/api/machine/${y}`);
1909
+ if (!I.ok)
1910
1910
  throw new Error(`No se pudo obtener machine ${y}`);
1911
- const U = await C.json();
1912
- return tn(U, v);
1911
+ const D = await I.json();
1912
+ return tn(D, v);
1913
1913
  })
1914
1914
  );
1915
1915
  if (c) return;
1916
1916
  const _ = m.filter(
1917
1917
  (y) => y.status === "fulfilled"
1918
- ).map((y) => y.value), I = d.map((y) => {
1919
- const v = _.find((C) => C.machine === y.itemId);
1918
+ ).map((y) => y.value), S = d.map((y) => {
1919
+ const v = _.find((I) => I.machine === y.itemId);
1920
1920
  return v ? { ...v, score: y.score } : null;
1921
1921
  }).filter(Boolean).sort((y, v) => {
1922
- var C, U;
1923
- return ((C = v.score) != null ? C : 0) - ((U = y.score) != null ? U : 0);
1922
+ var I, D;
1923
+ return ((I = v.score) != null ? I : 0) - ((D = y.score) != null ? D : 0);
1924
1924
  });
1925
- i(I);
1925
+ i(S);
1926
1926
  } catch (h) {
1927
1927
  console.error(`[usePersonalizeGameItems:${n}] error:`, h), c || i([]);
1928
1928
  } finally {
@@ -1957,12 +1957,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1957
1957
  backgroundDesktopUrl: r = "",
1958
1958
  onViewMore: s,
1959
1959
  className: c,
1960
- isPersonalize: g = !1
1960
+ isPersonalize: f = !1
1961
1961
  }) => {
1962
- const h = ae(), u = ne(), p = le(), d = dn(g), { resolvedItems: f } = ln(
1962
+ const h = ae(), u = ne(), p = le(), d = dn(f), { resolvedItems: g } = ln(
1963
1963
  e,
1964
1964
  d
1965
- ), m = d ? f : Array.isArray(e) ? e : [], _ = (y) => {
1965
+ ), m = d ? g : Array.isArray(e) ? e : [], _ = (y) => {
1966
1966
  h({
1967
1967
  element: "live_casino_card",
1968
1968
  label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(y.machine || "unknown")}`,
@@ -1978,8 +1978,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1978
1978
  section: "OraculoSeccionCasinoEnVivo"
1979
1979
  }
1980
1980
  });
1981
- const v = se("showIframe"), C = se("loadMachine");
1982
- if (!C) {
1981
+ const v = se("showIframe"), I = se("loadMachine");
1982
+ if (!I) {
1983
1983
  if (i) {
1984
1984
  i(y);
1985
1985
  return;
@@ -1991,9 +1991,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1991
1991
  return;
1992
1992
  }
1993
1993
  v == null || v(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1994
- C == null || C(y, !1, "casino_en_vivo");
1994
+ I == null || I(y, !1, "casino_en_vivo");
1995
1995
  });
1996
- }, I = () => {
1996
+ }, S = () => {
1997
1997
  h({
1998
1998
  element: "casino_en_vivo_view_more",
1999
1999
  label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Ver más`,
@@ -2093,7 +2093,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2093
2093
  {
2094
2094
  variant: "primary",
2095
2095
  size: "md",
2096
- onClick: I,
2096
+ onClick: S,
2097
2097
  children: "Ver más"
2098
2098
  }
2099
2099
  ) })
@@ -2110,11 +2110,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2110
2110
  alignItems: "center"
2111
2111
  },
2112
2112
  children: (m != null ? m : []).slice(0, 3).map((y, v) => {
2113
- var C;
2113
+ var I;
2114
2114
  return /* @__PURE__ */ t(
2115
2115
  wa,
2116
2116
  {
2117
- logo: `https://olimpo.bet${y.background ? y.background : (C = y.logo) != null ? C : ""}`,
2117
+ logo: `https://olimpo.bet${y.background ? y.background : (I = y.logo) != null ? I : ""}`,
2118
2118
  provider: y.provider,
2119
2119
  providerName: y.web_name,
2120
2120
  machine: y.machine,
@@ -2130,7 +2130,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2130
2130
  {
2131
2131
  variant: "primary",
2132
2132
  size: "lg",
2133
- onClick: I,
2133
+ onClick: S,
2134
2134
  children: "Ver más"
2135
2135
  }
2136
2136
  ) })
@@ -2155,10 +2155,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2155
2155
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2156
2156
  }, pn = (e, a = !0, n = 1) => {
2157
2157
  const o = e.map((s, c) => {
2158
- var g;
2158
+ var f;
2159
2159
  return {
2160
2160
  id: xt(s, c),
2161
- imageUrl: (g = s.logo) != null ? g : "",
2161
+ imageUrl: (f = s.logo) != null ? f : "",
2162
2162
  ...s.background ? { background: s.background } : {}
2163
2163
  };
2164
2164
  });
@@ -2192,12 +2192,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2192
2192
  gridSize: s = 1,
2193
2193
  isPersonalize: c = !1
2194
2194
  }) => {
2195
- const g = ae(), h = ne(), u = le(), p = V(null), [d, f] = Z({ isStart: !0, isEnd: !1 }), m = mn(c), { resolvedItems: _, loading: I } = rn(
2195
+ const f = ae(), h = ne(), u = le(), p = V(null), [d, g] = Z({ isStart: !0, isEnd: !1 }), m = mn(c), { resolvedItems: _, loading: S } = rn(
2196
2196
  e,
2197
2197
  m
2198
2198
  ), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
2199
2199
  var k;
2200
- g({
2200
+ f({
2201
2201
  element: "casino_prev",
2202
2202
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
2203
2203
  target: "prev",
@@ -2208,9 +2208,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2208
2208
  },
2209
2209
  tags: { section: "OraculoSeccionCasino" }
2210
2210
  }), (k = p.current) == null || k.prev();
2211
- }, C = () => {
2211
+ }, I = () => {
2212
2212
  var k;
2213
- g({
2213
+ f({
2214
2214
  element: "casino_next",
2215
2215
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
2216
2216
  target: "next",
@@ -2221,8 +2221,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2221
2221
  },
2222
2222
  tags: { section: "OraculoSeccionCasino" }
2223
2223
  }), (k = p.current) == null || k.next();
2224
- }, U = () => {
2225
- if (g({
2224
+ }, D = () => {
2225
+ if (f({
2226
2226
  element: "casino_view_more",
2227
2227
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
2228
2228
  target: "https://www.olimpo.bet/casino",
@@ -2238,12 +2238,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2238
2238
  }
2239
2239
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2240
2240
  }, T = (k = !0, x = 4) => {
2241
- const O = (z) => Array.from({ length: z }, (R, D) => ({
2242
- id: `sk-${z}-${D}`,
2241
+ const O = (z) => Array.from({ length: z }, (R, U) => ({
2242
+ id: `sk-${z}-${U}`,
2243
2243
  imageUrl: ""
2244
2244
  })), L = [];
2245
2245
  return k && L.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), L.push({ id: "grid-loading", kind: "grid", items: O(x) }), L;
2246
- }, N = m ? I : !Array.isArray(e) || e.length === 0, E = Ue("(max-width:950px)"), M = N ? T(r, s) : pn(y, r, s);
2246
+ }, N = m ? S : !Array.isArray(e) || e.length === 0, E = De("(max-width:950px)"), M = N ? T(r, s) : pn(y, r, s);
2247
2247
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2248
2248
  /* @__PURE__ */ b(
2249
2249
  F,
@@ -2280,12 +2280,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2280
2280
  variant: "secondary",
2281
2281
  iconOnly: !0,
2282
2282
  rightIcon: /* @__PURE__ */ t(ct, {}),
2283
- onClick: C,
2283
+ onClick: I,
2284
2284
  disabled: d.isEnd
2285
2285
  }
2286
2286
  )
2287
2287
  ] }),
2288
- /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: U, children: "Ver más" }) })
2288
+ /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2289
2289
  ]
2290
2290
  }
2291
2291
  ),
@@ -2325,10 +2325,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2325
2325
  onClick: (x) => {
2326
2326
  if (N) return;
2327
2327
  const O = y.find(
2328
- (R, D) => String(xt(R, D)) === String(x.id)
2328
+ (R, U) => String(xt(R, U)) === String(x.id)
2329
2329
  );
2330
2330
  if (!O) return;
2331
- o == null || o(O), g({
2331
+ o == null || o(O), f({
2332
2332
  element: "casino_game_card",
2333
2333
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
2334
2334
  target: String(O.machine || "unknown"),
@@ -2347,7 +2347,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2347
2347
  }
2348
2348
  }
2349
2349
  ) }),
2350
- onMove: ({ isStart: k, isEnd: x }) => f({ isStart: k, isEnd: x })
2350
+ onMove: ({ isStart: k, isEnd: x }) => g({ isStart: k, isEnd: x })
2351
2351
  }
2352
2352
  )
2353
2353
  ] }) });
@@ -2366,10 +2366,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2366
2366
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2367
2367
  }, hn = (e, a = !0, n = 1) => {
2368
2368
  const o = e.map((s, c) => {
2369
- var g;
2369
+ var f;
2370
2370
  return {
2371
2371
  id: wt(s, c),
2372
- imageUrl: (g = s.logo) != null ? g : "",
2372
+ imageUrl: (f = s.logo) != null ? f : "",
2373
2373
  ...s.background ? { background: s.background } : {}
2374
2374
  };
2375
2375
  });
@@ -2417,7 +2417,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2417
2417
  gridSize: s = 1,
2418
2418
  isPersonalize: c = !1
2419
2419
  }) => {
2420
- const g = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), p = ae(), d = ne(), f = le(), m = gn(c), { resolvedItems: _, loading: I } = sn(
2420
+ const f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), p = ae(), d = ne(), g = le(), m = gn(c), { resolvedItems: _, loading: S } = sn(
2421
2421
  e,
2422
2422
  m
2423
2423
  ), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
@@ -2427,32 +2427,32 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2427
2427
  label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Anterior`,
2428
2428
  target: "prev",
2429
2429
  event_type: "click",
2430
- module_id: f,
2430
+ module_id: g,
2431
2431
  metadata: {
2432
2432
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2433
2433
  },
2434
2434
  tags: { section: "OraculoSeccionVirtuales" }
2435
- }), (M = g.current) == null || M.prev();
2436
- }, C = () => {
2435
+ }), (M = f.current) == null || M.prev();
2436
+ }, I = () => {
2437
2437
  var M;
2438
2438
  p({
2439
2439
  element: "virtuales_next",
2440
2440
  label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Siguiente`,
2441
2441
  target: "next",
2442
2442
  event_type: "click",
2443
- module_id: f,
2443
+ module_id: g,
2444
2444
  metadata: {
2445
2445
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2446
2446
  },
2447
2447
  tags: { section: "OraculoSeccionVirtuales" }
2448
- }), (M = g.current) == null || M.next();
2449
- }, U = () => {
2448
+ }), (M = f.current) == null || M.next();
2449
+ }, D = () => {
2450
2450
  if (p({
2451
2451
  element: "virtuales_view_more",
2452
2452
  label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Ver más`,
2453
2453
  target: "https://www.olimpo.bet/juegos-virtuales",
2454
2454
  event_type: "click",
2455
- module_id: f,
2455
+ module_id: g,
2456
2456
  metadata: {
2457
2457
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2458
2458
  },
@@ -2462,7 +2462,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2462
2462
  return;
2463
2463
  }
2464
2464
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2465
- }, T = m ? I : !Array.isArray(e) || e.length === 0, N = xe("(max-width:950px)"), E = T ? bn(r, s) : hn(y, r, s);
2465
+ }, T = m ? S : !Array.isArray(e) || e.length === 0, N = xe("(max-width:950px)"), E = T ? bn(r, s) : hn(y, r, s);
2466
2466
  return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2467
2467
  /* @__PURE__ */ b(
2468
2468
  F,
@@ -2499,19 +2499,19 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2499
2499
  variant: "secondary",
2500
2500
  iconOnly: !0,
2501
2501
  rightIcon: /* @__PURE__ */ t(ct, {}),
2502
- onClick: C,
2502
+ onClick: I,
2503
2503
  disabled: h.isEnd
2504
2504
  }
2505
2505
  )
2506
2506
  ] }),
2507
- /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: U, children: "Ver más" }) })
2507
+ /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2508
2508
  ]
2509
2509
  }
2510
2510
  ),
2511
2511
  /* @__PURE__ */ t(
2512
2512
  he,
2513
2513
  {
2514
- ref: g,
2514
+ ref: f,
2515
2515
  items: E,
2516
2516
  perPage: void 0,
2517
2517
  gap: "16px",
@@ -2558,7 +2558,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2558
2558
  label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Game: ${String(x.machine || "unknown")}`,
2559
2559
  target: String(x.machine || "unknown"),
2560
2560
  event_type: "click",
2561
- module_id: f,
2561
+ module_id: g,
2562
2562
  metadata: {
2563
2563
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2564
2564
  },
@@ -2618,24 +2618,24 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2618
2618
  items: n,
2619
2619
  backgroundImageUrl: o
2620
2620
  }) => {
2621
- const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, g = V(null), h = V(null), u = V(!1), p = V(!1), [d, f] = Z(0), [m, _] = Z({ isStart: !0, isEnd: !1 });
2621
+ const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, f = V(null), h = V(null), u = V(!1), p = V(!1), [d, g] = Z(0), [m, _] = Z({ isStart: !0, isEnd: !1 });
2622
2622
  ee(() => {
2623
2623
  const x = setTimeout(() => {
2624
2624
  u.current = !0;
2625
2625
  }, 500);
2626
2626
  return () => clearTimeout(x);
2627
2627
  }, []);
2628
- const I = V(m);
2628
+ const S = V(m);
2629
2629
  ee(() => {
2630
- I.current = m;
2630
+ S.current = m;
2631
2631
  }, [m]);
2632
- const y = V(!1), v = V(null), C = n == null ? void 0 : n[d], U = ie(
2632
+ const y = V(!1), v = V(null), I = n == null ? void 0 : n[d], D = ie(
2633
2633
  () => {
2634
2634
  var x, O;
2635
- return (O = (x = C == null ? void 0 : C.backgroundImageUrl) != null ? x : o) != null ? O : "";
2635
+ return (O = (x = I == null ? void 0 : I.backgroundImageUrl) != null ? x : o) != null ? O : "";
2636
2636
  },
2637
- [C, o]
2638
- ), T = _n(U), N = !n || n.length === 0, E = (x, O) => {
2637
+ [I, o]
2638
+ ), T = _n(D), N = !n || n.length === 0, E = (x, O) => {
2639
2639
  i({
2640
2640
  element: "welcome_banner_button",
2641
2641
  label: `OraculoSeccionBonoBienvenida - Banner button click: ${x.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
@@ -2681,12 +2681,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2681
2681
  const x = h.current;
2682
2682
  if (!x) return;
2683
2683
  const O = 6, L = 380, z = (R) => {
2684
- var S, q;
2684
+ var C, q;
2685
2685
  if (N || R.ctrlKey || y.current) return;
2686
- const D = R.deltaX, W = R.deltaY;
2687
- if (Math.abs(D) <= Math.abs(W) || Math.abs(D) < O) return;
2688
- const G = D > 0;
2689
- G && I.current.isEnd || !G && I.current.isStart || (R.preventDefault(), y.current = !0, G ? (S = g.current) == null || S.next() : (q = g.current) == null || q.prev(), v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
2686
+ const U = R.deltaX, W = R.deltaY;
2687
+ if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < O) return;
2688
+ const G = U > 0;
2689
+ G && S.current.isEnd || !G && S.current.isStart || (R.preventDefault(), y.current = !0, G ? (C = f.current) == null || C.next() : (q = f.current) == null || q.prev(), v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
2690
2690
  y.current = !1;
2691
2691
  }, L));
2692
2692
  };
@@ -2695,8 +2695,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2695
2695
  };
2696
2696
  }, [N]);
2697
2697
  const k = (x, O, L) => {
2698
- var D, W;
2699
- const z = (D = x.headline) != null ? D : e, R = (W = x.headline2) != null ? W : a;
2698
+ var U, W;
2699
+ const z = (U = x.headline) != null ? U : e, R = (W = x.headline2) != null ? W : a;
2700
2700
  return O ? /* @__PURE__ */ b(
2701
2701
  F,
2702
2702
  {
@@ -2760,7 +2760,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2760
2760
  /* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
2761
2761
  he,
2762
2762
  {
2763
- ref: g,
2763
+ ref: f,
2764
2764
  items: n,
2765
2765
  perPage: 1,
2766
2766
  gap: "0px",
@@ -2776,7 +2776,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2776
2776
  },
2777
2777
  renderItem: (x, O) => /* @__PURE__ */ t(F, { sx: { width: "100%" }, children: k(x, !s, O) }),
2778
2778
  onMove: ({ index: x, isStart: O, isEnd: L }) => {
2779
- f(x), typeof O == "boolean" && typeof L == "boolean" && _({ isStart: O, isEnd: L }), M(x);
2779
+ g(x), typeof O == "boolean" && typeof L == "boolean" && _({ isStart: O, isEnd: L }), M(x);
2780
2780
  }
2781
2781
  }
2782
2782
  ) }),
@@ -2801,7 +2801,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2801
2801
  tags: {
2802
2802
  navigation_type: "dot_click"
2803
2803
  }
2804
- }), f(x), (O = g.current) == null || O.go(x);
2804
+ }), g(x), (O = f.current) == null || O.go(x);
2805
2805
  }
2806
2806
  }
2807
2807
  ) })
@@ -2814,20 +2814,20 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2814
2814
  ariaLabel: i,
2815
2815
  user: r = null
2816
2816
  }) => {
2817
- const s = V(null), c = V(null), g = ae(), h = ne(), u = le();
2817
+ const s = V(null), c = V(null), f = ae(), h = ne(), u = le();
2818
2818
  if (!n) return null;
2819
2819
  const p = async () => {
2820
2820
  let _ = r;
2821
2821
  if ((!(_ != null && _.user) || !(_ != null && _.session)) && typeof window != "undefined")
2822
2822
  try {
2823
- const I = localStorage.getItem("user");
2824
- I && (_ = JSON.parse(I));
2825
- } catch (I) {
2826
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", I);
2823
+ const S = localStorage.getItem("user");
2824
+ S && (_ = JSON.parse(S));
2825
+ } catch (S) {
2826
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", S);
2827
2827
  }
2828
2828
  if (!(_ != null && _.user) || !(_ != null && _.session))
2829
2829
  return console.warn("User data missing"), null;
2830
- g({
2830
+ f({
2831
2831
  element: "club_olimpo_button",
2832
2832
  label: `${h} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2833
2833
  target: "https://www.clubolimpo.com/OlimpoBetWeb/",
@@ -2839,7 +2839,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2839
2839
  tags: { section: "OraculoSeccionClubOlimpo" }
2840
2840
  });
2841
2841
  try {
2842
- const I = {
2842
+ const S = {
2843
2843
  idUsuario: "PE" + _.user,
2844
2844
  session_id: _.session,
2845
2845
  pagina: "home"
@@ -2848,29 +2848,29 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2848
2848
  headers: {
2849
2849
  "Content-Type": "application/json"
2850
2850
  },
2851
- body: JSON.stringify(I)
2851
+ body: JSON.stringify(S)
2852
2852
  });
2853
2853
  if (v.ok) {
2854
- const C = await v.json();
2855
- return C == null ? void 0 : C.url;
2854
+ const I = await v.json();
2855
+ return I == null ? void 0 : I.url;
2856
2856
  }
2857
2857
  return null;
2858
- } catch (I) {
2859
- return console.error("[getMarketPlaceUrl]", I), null;
2858
+ } catch (S) {
2859
+ return console.error("[getMarketPlaceUrl]", S), null;
2860
2860
  }
2861
2861
  }, d = async () => {
2862
2862
  const _ = await p();
2863
2863
  _ ? window.location.href = _ : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2864
- }, f = Array.isArray(n) ? n[o] : n;
2864
+ }, g = Array.isArray(n) ? n[o] : n;
2865
2865
  Mt(() => {
2866
2866
  if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
2867
- const _ = s.current, I = c.current, y = () => {
2867
+ const _ = s.current, S = c.current, y = () => {
2868
2868
  _.style.setProperty(
2869
2869
  "--orc-co-bottomH",
2870
- `${I.offsetHeight + 16}px`
2870
+ `${S.offsetHeight + 16}px`
2871
2871
  );
2872
2872
  }, v = new ResizeObserver(y);
2873
- return v.observe(I), y(), () => v.disconnect();
2873
+ return v.observe(S), y(), () => v.disconnect();
2874
2874
  }, []);
2875
2875
  const m = [
2876
2876
  "orc-co-wrap",
@@ -2882,17 +2882,17 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2882
2882
  {
2883
2883
  ref: s,
2884
2884
  className: m,
2885
- "aria-label": i || f.imgAlt || "Club Olimpo",
2885
+ "aria-label": i || g.imgAlt || "Club Olimpo",
2886
2886
  children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
2887
2887
  Sa,
2888
2888
  {
2889
- text: f.text,
2889
+ text: g.text,
2890
2890
  onClick: d,
2891
- imgAlt: f.imgAlt,
2892
- buttonLabel: f.buttonLabel,
2893
- imgSrcMobile: f.imgMobile,
2894
- imgSrcDesktopBg: f.imgDesktopBg,
2895
- imgSrcDesktopLogo: f.imgDesktopLogo
2891
+ imgAlt: g.imgAlt,
2892
+ buttonLabel: g.buttonLabel,
2893
+ imgSrcMobile: g.imgMobile,
2894
+ imgSrcDesktopBg: g.imgDesktopBg,
2895
+ imgSrcDesktopLogo: g.imgDesktopLogo
2896
2896
  }
2897
2897
  ) })
2898
2898
  }
@@ -2910,15 +2910,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2910
2910
  function Cn(e, a, n) {
2911
2911
  return n ? n.map((o) => {
2912
2912
  var u, p;
2913
- const i = o.prePackCouponRows.flatMap((d) => In(d).map((f) => ({ eventId: d.eventId, outcomeId: f }))), r = new Set(i.map((d) => d.eventId)), s = new Set(i.map((d) => d.outcomeId)), c = new Map(i.map((d, f) => [d.outcomeId, f])), g = {};
2913
+ const i = o.prePackCouponRows.flatMap((d) => In(d).map((g) => ({ eventId: d.eventId, outcomeId: g }))), r = new Set(i.map((d) => d.eventId)), s = new Set(i.map((d) => d.outcomeId)), c = new Map(i.map((d, g) => [d.outcomeId, g])), f = {};
2914
2914
  for (const d of a) {
2915
2915
  if (!r.has(d.eventId)) continue;
2916
- const f = d.outcomes.filter((m) => s.has(m.id)).map((m) => ({ ...m, position: c.get(m.id) }));
2917
- f.length && ((p = g[u = d.eventId]) != null || (g[u] = []), g[d.eventId].push({ ...d, outcomes: f }));
2916
+ const g = d.outcomes.filter((m) => s.has(m.id)).map((m) => ({ ...m, position: c.get(m.id) }));
2917
+ g.length && ((p = f[u = d.eventId]) != null || (f[u] = []), f[d.eventId].push({ ...d, outcomes: g }));
2918
2918
  }
2919
2919
  const h = e.filter((d) => r.has(d.id)).map((d) => {
2920
- var f;
2921
- return { ...d, betoffers: (f = g[d.id]) != null ? f : [] };
2920
+ var g;
2921
+ return { ...d, betoffers: (g = f[d.id]) != null ? g : [] };
2922
2922
  });
2923
2923
  return {
2924
2924
  couponId: o.id,
@@ -2945,7 +2945,7 @@ function Tn({
2945
2945
  onViewMore: o,
2946
2946
  className: i = ""
2947
2947
  }) {
2948
- const r = ae(), s = ne(), c = le(), g = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), [p, d] = Z([]), f = "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", m = () => {
2948
+ const r = ae(), s = ne(), c = le(), f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), [p, d] = Z([]), g = "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", m = () => {
2949
2949
  var T;
2950
2950
  r({
2951
2951
  element: "evento_combinadas_prev",
@@ -2956,7 +2956,7 @@ function Tn({
2956
2956
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2957
2957
  },
2958
2958
  tags: { section: "OraculoSeccionEventoCombinadas" }
2959
- }), (T = g.current) == null || T.prev();
2959
+ }), (T = f.current) == null || T.prev();
2960
2960
  }, _ = () => {
2961
2961
  var T;
2962
2962
  r({
@@ -2968,8 +2968,8 @@ function Tn({
2968
2968
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2969
2969
  },
2970
2970
  tags: { section: "OraculoSeccionEventoCombinadas" }
2971
- }), (T = g.current) == null || T.next();
2972
- }, I = () => {
2971
+ }), (T = f.current) == null || T.next();
2972
+ }, S = () => {
2973
2973
  r({
2974
2974
  element: "evento_combinadas_ver_mas",
2975
2975
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
@@ -2984,7 +2984,7 @@ function Tn({
2984
2984
  async function v() {
2985
2985
  var T, N, E, M;
2986
2986
  try {
2987
- const x = await (await fetch(f)).json(), O = (M = (E = (N = (T = x == null ? void 0 : x.group) == null ? void 0 : T.groups) == null ? void 0 : N.map((D) => D.id)) == null ? void 0 : E.filter(Boolean)) == null ? void 0 : M.join(",");
2987
+ const x = await (await fetch(g)).json(), O = (M = (E = (N = (T = x == null ? void 0 : x.group) == null ? void 0 : T.groups) == null ? void 0 : N.map((U) => U.id)) == null ? void 0 : E.filter(Boolean)) == null ? void 0 : M.join(",");
2988
2988
  if (!O) {
2989
2989
  console.error("Could not extract group ID");
2990
2990
  return;
@@ -2998,8 +2998,8 @@ function Tn({
2998
2998
  ee(() => {
2999
2999
  v();
3000
3000
  }, []);
3001
- const C = i || void 0, U = xe("(max-width:950px)");
3002
- return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: C, style: {
3001
+ const I = i || void 0, D = xe("(max-width:950px)");
3002
+ return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
3003
3003
  // paddingLeft: 16,
3004
3004
  // paddingRight: 16,
3005
3005
  width: "100%",
@@ -3015,7 +3015,7 @@ function Tn({
3015
3015
  ariaLabel: "Anterior",
3016
3016
  variant: "secondary",
3017
3017
  iconOnly: !0,
3018
- leftIcon: /* @__PURE__ */ t(Ae, {}),
3018
+ leftIcon: /* @__PURE__ */ t(Be, {}),
3019
3019
  onClick: m,
3020
3020
  disabled: h.isStart
3021
3021
  }
@@ -3032,20 +3032,20 @@ function Tn({
3032
3032
  }
3033
3033
  )
3034
3034
  ] }),
3035
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: I, children: "Ver más" })
3035
+ /* @__PURE__ */ t(X, { variant: "secondary", onClick: S, children: "Ver más" })
3036
3036
  ] })
3037
3037
  ] }) }),
3038
3038
  /* @__PURE__ */ t(
3039
3039
  he,
3040
3040
  {
3041
- ref: g,
3041
+ ref: f,
3042
3042
  items: y,
3043
3043
  perPage: void 0,
3044
3044
  gap: "16px",
3045
3045
  options: { autoWidth: !0, trimSpace: "move" },
3046
3046
  useIndexAsKey: !0,
3047
3047
  enableHorizontalWheel: !0,
3048
- showRightGradient: !U,
3048
+ showRightGradient: !D,
3049
3049
  breakpoints: {
3050
3050
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3051
3051
  },
@@ -3092,10 +3092,10 @@ function kn({}) {
3092
3092
  const $n = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Nn = {
3093
3093
  fadeWrapper: $n
3094
3094
  };
3095
- function Be({ children: e }) {
3095
+ function Ae({ children: e }) {
3096
3096
  return /* @__PURE__ */ t("div", { className: Nn.fadeWrapper, children: e });
3097
3097
  }
3098
- const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3098
+ const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", An = {
3099
3099
  padding: Mn
3100
3100
  };
3101
3101
  function St({
@@ -3105,23 +3105,23 @@ function St({
3105
3105
  buffer: o = 2,
3106
3106
  debounceMs: i = 250
3107
3107
  }) {
3108
- const [r, s] = Z({}), c = V(/* @__PURE__ */ new Set()), g = V(0), h = V(null), u = V(null);
3108
+ const [r, s] = Z({}), c = V(/* @__PURE__ */ new Set()), f = V(0), h = V(null), u = V(null);
3109
3109
  return ee(() => {
3110
3110
  if (!(!e || e.length === 0))
3111
3111
  return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
3112
- var U, T;
3113
- const p = (U = a.start) != null ? U : 0, d = (T = a.end) != null ? T : 7, f = Math.max(0, p - o), m = Math.min(e.length - 1, d + o);
3114
- let _ = f, I = m;
3112
+ var D, T;
3113
+ const p = (D = a.start) != null ? D : 0, d = (T = a.end) != null ? T : 7, g = Math.max(0, p - o), m = Math.min(e.length - 1, d + o);
3114
+ let _ = g, S = m;
3115
3115
  const y = u.current;
3116
- y && (f > y.end && (_ = y.end + 1), m < y.start && (I = y.start - 1)), u.current = { start: f, end: m };
3117
- const v = e.slice(_, I + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in r));
3116
+ y && (g > y.end && (_ = y.end + 1), m < y.start && (S = y.start - 1)), u.current = { start: g, end: m };
3117
+ const v = e.slice(_, S + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in r));
3118
3118
  if (v.length === 0) return;
3119
3119
  v.forEach((N) => c.current.add(N));
3120
- const C = ++g.current;
3120
+ const I = ++f.current;
3121
3121
  (async () => {
3122
3122
  try {
3123
3123
  const N = await n(v);
3124
- if (C !== g.current) {
3124
+ if (I !== f.current) {
3125
3125
  v.forEach((M) => c.current.delete(M));
3126
3126
  return;
3127
3127
  }
@@ -3159,7 +3159,7 @@ function St({
3159
3159
  isPending: c.current
3160
3160
  };
3161
3161
  }
3162
- const An = (e) => {
3162
+ const Bn = (e) => {
3163
3163
  const a = ["esports", "cyber"];
3164
3164
  return e.filter((n) => {
3165
3165
  var r, s;
@@ -3168,7 +3168,7 @@ const An = (e) => {
3168
3168
  const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
3169
3169
  return !a.some((c) => i.includes(c));
3170
3170
  });
3171
- }, zn = fe.memo(Ua);
3171
+ }, zn = fe.memo(Da);
3172
3172
  function Rn({
3173
3173
  items: e,
3174
3174
  title: a = "En vivo",
@@ -3176,9 +3176,9 @@ function Rn({
3176
3176
  onViewMore: o,
3177
3177
  className: i = ""
3178
3178
  }) {
3179
- const r = "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, g] = Z({ isStart: !0, isEnd: !1 }), [h, u] = Z(null), [p, d] = Z({ start: null, end: null }), [f, m] = Z(null), _ = V(!1), I = ae(), y = ne(), v = le(), C = V(/* @__PURE__ */ new Map()), U = () => {
3179
+ const r = "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] = Z({ isStart: !0, isEnd: !1 }), [h, u] = Z(null), [p, d] = Z({ start: null, end: null }), [g, m] = Z(null), _ = V(!1), S = ae(), y = ne(), v = le(), I = V(/* @__PURE__ */ new Map()), D = () => {
3180
3180
  var z;
3181
- I({
3181
+ S({
3182
3182
  element: "evento_en_vivo_prev",
3183
3183
  label: `${y} - OraculoSeccionEventoEnVivo - Anterior`,
3184
3184
  target: "prev",
@@ -3191,7 +3191,7 @@ function Rn({
3191
3191
  }), (z = s.current) == null || z.prev();
3192
3192
  }, T = () => {
3193
3193
  var z;
3194
- I({
3194
+ S({
3195
3195
  element: "evento_en_vivo_next",
3196
3196
  label: `${y} - OraculoSeccionEventoEnVivo - Siguiente`,
3197
3197
  target: "next",
@@ -3203,7 +3203,7 @@ function Rn({
3203
3203
  tags: { section: "OraculoSeccionEventoEnVivo" }
3204
3204
  }), (z = s.current) == null || z.next();
3205
3205
  }, N = () => {
3206
- I({
3206
+ S({
3207
3207
  element: "evento_en_vivo_view_more",
3208
3208
  label: `${y} - OraculoSeccionEventoEnVivo - Ver más`,
3209
3209
  target: "ver_mas",
@@ -3213,27 +3213,27 @@ function Rn({
3213
3213
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3214
3214
  },
3215
3215
  tags: { section: "OraculoSeccionEventoEnVivo" }
3216
- }), Ba();
3216
+ }), Aa();
3217
3217
  }, E = Ee(async () => {
3218
3218
  var z;
3219
3219
  try {
3220
3220
  if (!_.current) {
3221
3221
  _.current = !0;
3222
3222
  try {
3223
- const S = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), q = ((z = S == null ? void 0 : S.data) == null ? void 0 : z.event_ids) || [], K = /* @__PURE__ */ new Map();
3224
- q.forEach((Y, l) => K.set(String(Y), l)), C.current = K;
3223
+ const C = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), q = ((z = C == null ? void 0 : C.data) == null ? void 0 : z.event_ids) || [], K = /* @__PURE__ */ new Map();
3224
+ q.forEach((Y, l) => K.set(String(Y), l)), I.current = K;
3225
3225
  } catch (G) {
3226
3226
  console.error("Order fetch failed, using default sorting", G);
3227
3227
  }
3228
3228
  }
3229
3229
  const R = await fetch(r);
3230
3230
  if (!R.ok) throw new Error("Failed to fetch live events");
3231
- const D = await R.json(), W = An(D.events);
3232
- if (C.current.size === 0)
3231
+ const U = await R.json(), W = Bn(U.events);
3232
+ if (I.current.size === 0)
3233
3233
  u(W);
3234
3234
  else {
3235
- const G = [...W].sort((S, q) => {
3236
- const K = C.current.get(String(S.event.id)), Y = C.current.get(String(q.event.id));
3235
+ const G = [...W].sort((C, q) => {
3236
+ const K = I.current.get(String(C.event.id)), Y = I.current.get(String(q.event.id));
3237
3237
  return (K !== void 0 ? K : 1 / 0) - (Y !== void 0 ? Y : 1 / 0);
3238
3238
  });
3239
3239
  u(G);
@@ -3263,7 +3263,7 @@ function Rn({
3263
3263
  width: "100%",
3264
3264
  boxSizing: "border-box"
3265
3265
  }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3266
- /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3266
+ /* @__PURE__ */ t("div", { className: An.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3267
3267
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3268
3268
  /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3269
3269
  /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
@@ -3273,8 +3273,8 @@ function Rn({
3273
3273
  ariaLabel: "Anterior",
3274
3274
  variant: "secondary",
3275
3275
  iconOnly: !0,
3276
- leftIcon: /* @__PURE__ */ t(Ae, {}),
3277
- onClick: U,
3276
+ leftIcon: /* @__PURE__ */ t(Be, {}),
3277
+ onClick: D,
3278
3278
  disabled: c.isStart
3279
3279
  }
3280
3280
  ),
@@ -3310,19 +3310,19 @@ function Rn({
3310
3310
  },
3311
3311
  renderItem: (z) => {
3312
3312
  var W;
3313
- const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, D = R in M ? M[R] : void 0;
3314
- return x ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3313
+ const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in M ? M[R] : void 0;
3314
+ return x ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(
3315
3315
  zn,
3316
3316
  {
3317
3317
  ...z,
3318
- jersey: D
3318
+ jersey: U
3319
3319
  }
3320
3320
  ) });
3321
3321
  },
3322
- onMove: ({ isStart: z, isEnd: R, visibleStart: D, visibleEnd: W }) => {
3323
- g(
3322
+ onMove: ({ isStart: z, isEnd: R, visibleStart: U, visibleEnd: W }) => {
3323
+ f(
3324
3324
  (G) => G.isStart === z && G.isEnd === R ? G : { isStart: z, isEnd: R }
3325
- ), d({ start: D, end: W });
3325
+ ), d({ start: U, end: W });
3326
3326
  }
3327
3327
  }
3328
3328
  )
@@ -3356,19 +3356,19 @@ function Ln() {
3356
3356
  ] }) })
3357
3357
  ] });
3358
3358
  }
3359
- const Pn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", qn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Un = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3359
+ const Pn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", qn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3360
3360
  wrapper: Pn,
3361
3361
  container: Fn,
3362
3362
  buttonWrapper: qn,
3363
- padding: Un
3364
- }, Dn = fe.memo(Za);
3363
+ padding: Dn
3364
+ }, Un = fe.memo(Za);
3365
3365
  async function Vn(e, a = 2, n) {
3366
3366
  const o = [];
3367
3367
  for (let i = 0; i < e.length; i += a) {
3368
3368
  if (n.aborted)
3369
3369
  throw new DOMException("Aborted", "AbortError");
3370
3370
  const r = e.slice(i, i + a), s = await Promise.all(
3371
- r.map((c) => fetch(c, { signal: n }).then((g) => g.json()))
3371
+ r.map((c) => fetch(c, { signal: n }).then((f) => f.json()))
3372
3372
  );
3373
3373
  o.push(...s);
3374
3374
  }
@@ -3404,7 +3404,7 @@ function Hn({
3404
3404
  onViewMore: o,
3405
3405
  className: i = ""
3406
3406
  }) {
3407
- const r = ae(), s = ne(), c = le(), g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, p] = Z({ isStart: !0, isEnd: !1 }), [d, f] = Z(null), [m, _] = Z({ start: null, end: null }), I = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
3407
+ const r = ae(), s = ne(), c = le(), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, p] = Z({ isStart: !0, isEnd: !1 }), [d, g] = Z(null), [m, _] = Z({ start: null, end: null }), S = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
3408
3408
  r({
3409
3409
  element: "evento_semana_view_more",
3410
3410
  label: `${s} - OraculoSeccionEventoSemana - Ver más`,
@@ -3415,7 +3415,7 @@ function Hn({
3415
3415
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3416
3416
  },
3417
3417
  tags: { section: "OraculoSeccionEventoSemana" }
3418
- }), Aa();
3418
+ }), Ba();
3419
3419
  };
3420
3420
  async function v(k) {
3421
3421
  var L, z;
@@ -3426,15 +3426,15 @@ function Hn({
3426
3426
  { signal: k }
3427
3427
  );
3428
3428
  if (R.ok) {
3429
- const D = await R.json();
3430
- x = ((L = D == null ? void 0 : D.data) == null ? void 0 : L.group_ids) || [], O = ((z = D == null ? void 0 : D.data) == null ? void 0 : z.event_ids) || [];
3429
+ const U = await R.json();
3430
+ x = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], O = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3431
3431
  }
3432
3432
  } catch (R) {
3433
3433
  R.name !== "AbortError" && console.warn("Order API not available, using default group order");
3434
3434
  return;
3435
3435
  }
3436
3436
  try {
3437
- const W = (await (await fetch(g, { signal: k })).json()).group.groups.find(
3437
+ const W = (await (await fetch(f, { signal: k })).json()).group.groups.find(
3438
3438
  (l) => l.englishName === "Football"
3439
3439
  );
3440
3440
  if (!W || !Array.isArray(W.groups)) {
@@ -3447,8 +3447,8 @@ function Hn({
3447
3447
  x.map((w, $) => [w, $])
3448
3448
  );
3449
3449
  G.sort((w, $) => {
3450
- const B = l.get(String(w.id)), A = l.get(String($.id));
3451
- return B !== void 0 && A !== void 0 ? B - A : B !== void 0 ? -1 : A !== void 0 ? 1 : 0;
3450
+ const A = l.get(String(w.id)), B = l.get(String($.id));
3451
+ return A !== void 0 && B !== void 0 ? A - B : A !== void 0 ? -1 : B !== void 0 ? 1 : 0;
3452
3452
  });
3453
3453
  }
3454
3454
  const q = G.slice(0, 5), K = (l) => {
@@ -3456,43 +3456,43 @@ function Hn({
3456
3456
  if (l.groups && l.groups.length > 0) {
3457
3457
  const $ = l.groups[0];
3458
3458
  return [
3459
- `${w}/${l.termKey}/${$.termKey}/all/matches.json?${I}`
3459
+ `${w}/${l.termKey}/${$.termKey}/all/matches.json?${S}`
3460
3460
  ];
3461
3461
  }
3462
3462
  return [
3463
- `${w}/${l.termKey}/all/all/matches.json?${I}`
3463
+ `${w}/${l.termKey}/all/all/matches.json?${S}`
3464
3464
  ];
3465
3465
  }, Y = q.flatMap(K);
3466
- C(Y, O, k);
3466
+ I(Y, O, k);
3467
3467
  } catch (R) {
3468
3468
  console.error(R);
3469
3469
  }
3470
3470
  }
3471
- async function C(k, x, O) {
3471
+ async function I(k, x, O) {
3472
3472
  try {
3473
3473
  const L = await Vn(k, 2, O);
3474
3474
  let z = [], R = [];
3475
- L.forEach((S) => {
3476
- S.events && (z.push(...S.events.map((q) => q.event)), R.push(
3477
- ...S.events.flatMap((q) => q.betOffers || [])
3475
+ L.forEach((C) => {
3476
+ C.events && (z.push(...C.events.map((q) => q.event)), R.push(
3477
+ ...C.events.flatMap((q) => q.betOffers || [])
3478
3478
  ));
3479
3479
  });
3480
- const D = jn(z, R), W = Wn(Gn(D));
3480
+ const U = jn(z, R), W = Wn(Gn(U));
3481
3481
  let G = W;
3482
3482
  if (x.length > 0) {
3483
- const S = new Map(
3483
+ const C = new Map(
3484
3484
  x.map((q, K) => [
3485
3485
  String(q),
3486
3486
  K
3487
3487
  ])
3488
3488
  );
3489
3489
  G = [...W].sort((q, K) => {
3490
- const Y = S.get(String(q.id)), l = S.get(String(K.id));
3490
+ const Y = C.get(String(q.id)), l = C.get(String(K.id));
3491
3491
  return Y !== void 0 && l !== void 0 ? Y - l : Y !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3492
3492
  });
3493
3493
  }
3494
3494
  if (O.aborted) return;
3495
- f(G);
3495
+ g(G);
3496
3496
  } catch (L) {
3497
3497
  console.error("Error loading events:", L);
3498
3498
  }
@@ -3504,7 +3504,7 @@ function Hn({
3504
3504
  k.abort();
3505
3505
  };
3506
3506
  }, [e]);
3507
- const U = i || void 0, T = {
3507
+ const D = i || void 0, T = {
3508
3508
  paddingLeft: 0,
3509
3509
  width: "100%",
3510
3510
  boxSizing: "border-box"
@@ -3515,7 +3515,7 @@ function Hn({
3515
3515
  buffer: 2,
3516
3516
  debounceMs: 250
3517
3517
  }), E = d === null, M = xe("(max-width:950px)");
3518
- return !E && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: U, style: T, children: /* @__PURE__ */ b("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3518
+ return !E && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: T, children: /* @__PURE__ */ b("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3519
3519
  /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3520
3520
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3521
3521
  /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
@@ -3551,7 +3551,7 @@ function Hn({
3551
3551
  },
3552
3552
  renderItem: (k) => {
3553
3553
  const x = k.id, O = x in N ? N[x] : void 0;
3554
- return E ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Ln, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Dn, { event: k, jersey: O }) });
3554
+ return E ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Ln, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Un, { event: k, jersey: O }) });
3555
3555
  },
3556
3556
  onMove: ({ isStart: k, isEnd: x, visibleStart: O, visibleEnd: L }) => {
3557
3557
  p({ isStart: k, isEnd: x }), _({
@@ -3580,8 +3580,8 @@ function Hn({
3580
3580
  const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3581
3581
  if (!e) return null;
3582
3582
  if (Zn(e)) {
3583
- const g = new Date(e).getTime();
3584
- return Number.isNaN(g) ? null : g;
3583
+ const f = new Date(e).getTime();
3584
+ return Number.isNaN(f) ? null : f;
3585
3585
  }
3586
3586
  const a = e.match(
3587
3587
  /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
@@ -3597,8 +3597,8 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3597
3597
  Number(c)
3598
3598
  );
3599
3599
  }, Jn = (e, a) => {
3600
- var c, g, h, u, p, d, f, m, _;
3601
- const n = (h = (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 ? h : [], o = (d = (p = e == null ? void 0 : e.startAt) != null ? p : (u = n.find((I) => (I == null ? void 0 : I.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (_ = (m = e == null ? void 0 : e.endAt) != null ? m : (f = n.find((I) => (I == null ? void 0 : I.name) === "endAt")) == null ? void 0 : f.value) != null ? _ : null, r = nt(o), s = nt(i);
3600
+ var c, f, h, u, p, d, g, m, _;
3601
+ const n = (h = (f = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (p = e == null ? void 0 : e.startAt) != null ? p : (u = n.find((S) => (S == null ? void 0 : S.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (_ = (m = e == null ? void 0 : e.endAt) != null ? m : (g = n.find((S) => (S == null ? void 0 : S.name) === "endAt")) == null ? void 0 : g.value) != null ? _ : null, r = nt(o), s = nt(i);
3602
3602
  return !(r != null && a < r || s != null && a >= s);
3603
3603
  };
3604
3604
  function Xn({
@@ -3607,16 +3607,16 @@ function Xn({
3607
3607
  hideItems: n
3608
3608
  }) {
3609
3609
  var W, G;
3610
- const [o, i] = Z(0), r = ae(), s = ne(), c = le(), g = V(null), h = V(!1), u = V(!1), [p, d] = Z(() => Date.now()), f = se("setDepositActionGlobal"), m = ie(() => (e != null ? e : []).filter((S) => Jn(S, p)), [e, p]), _ = m.length || 1, I = !m || m.length === 0, y = !I && m.length > 1, v = !n && ((W = a == null ? void 0 : a.length) != null ? W : 0) > 0;
3611
- Ue("(max-width:950px)");
3612
- const C = "#B5B5B5";
3610
+ const [o, i] = Z(0), r = ae(), s = ne(), c = le(), f = V(null), h = V(!1), u = V(!1), [p, d] = Z(() => Date.now()), g = se("setDepositActionGlobal"), m = ie(() => (e != null ? e : []).filter((C) => Jn(C, p)), [e, p]), _ = m.length || 1, S = !m || m.length === 0, y = !S && m.length > 1, v = !n && ((W = a == null ? void 0 : a.length) != null ? W : 0) > 0;
3611
+ De("(max-width:950px)");
3612
+ const I = "#B5B5B5";
3613
3613
  ee(() => {
3614
- const S = window.setInterval(() => {
3614
+ const C = window.setInterval(() => {
3615
3615
  d(Date.now());
3616
3616
  }, 3e4);
3617
- return () => window.clearInterval(S);
3617
+ return () => window.clearInterval(C);
3618
3618
  }, []);
3619
- const U = {
3619
+ const D = {
3620
3620
  position: "absolute",
3621
3621
  top: "50%",
3622
3622
  transform: "translateY(-50%)",
@@ -3624,18 +3624,18 @@ function Xn({
3624
3624
  width: 48,
3625
3625
  height: 40,
3626
3626
  borderRadius: "12px",
3627
- border: `1.5px solid ${C}`,
3627
+ border: `1.5px solid ${I}`,
3628
3628
  py: 1,
3629
3629
  px: 1.5,
3630
- color: C,
3630
+ color: I,
3631
3631
  backgroundColor: "transparent",
3632
3632
  "&:hover": {
3633
3633
  backgroundColor: "rgba(181,181,181,0.08)"
3634
3634
  },
3635
3635
  "&.Mui-disabled": {
3636
3636
  opacity: 0.35,
3637
- borderColor: C,
3638
- color: C,
3637
+ borderColor: I,
3638
+ color: I,
3639
3639
  backgroundColor: "transparent",
3640
3640
  cursor: "default"
3641
3641
  }
@@ -3651,18 +3651,21 @@ function Xn({
3651
3651
  []
3652
3652
  );
3653
3653
  ee(() => {
3654
- const S = setTimeout(() => {
3654
+ const C = setTimeout(() => {
3655
3655
  h.current = !0;
3656
3656
  }, 500);
3657
- return () => clearTimeout(S);
3657
+ return () => clearTimeout(C);
3658
3658
  }, []);
3659
- const N = (S, q, K) => {
3659
+ const N = (C, q, K) => {
3660
3660
  var l, w;
3661
- switch (q.href) {
3662
- case "#deposito":
3663
- S.preventDefault(), f == null || f(!0);
3664
- return;
3665
- }
3661
+ if (q.idfunction)
3662
+ switch (C.preventDefault(), q.idfunction) {
3663
+ case "deposito":
3664
+ g == null || g(!0);
3665
+ return;
3666
+ default:
3667
+ return;
3668
+ }
3666
3669
  const Y = ((w = (l = q.href) == null ? void 0 : l.split("/").pop()) == null ? void 0 : w.split(".")[0]) || q.label || q.id || `banner_${K + 1}`;
3667
3670
  r({
3668
3671
  element: "banner_carousel",
@@ -3681,47 +3684,43 @@ function Xn({
3681
3684
  banner_url: q.href || "no_url"
3682
3685
  }
3683
3686
  });
3684
- }, E = (S) => {
3687
+ }, E = (C) => {
3685
3688
  if (r({
3686
3689
  element: "banner_menu_item",
3687
- label: `${s} - OraculoSeccionBanners - Menu item click: ${S.label || S.id}`,
3688
- target: S.href || "action",
3690
+ label: `${s} - OraculoSeccionBanners - Menu item click: ${C.label || C.id}`,
3691
+ target: C.href || "action",
3689
3692
  event_type: "click",
3690
3693
  module_id: c,
3691
3694
  metadata: {
3692
3695
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3693
- item_id: S.id
3696
+ item_id: C.id
3694
3697
  },
3695
3698
  tags: {
3696
- item_label: S.label || "no_label"
3699
+ item_label: C.label || "no_label"
3697
3700
  }
3698
- }), S.onClick) {
3699
- S.onClick();
3701
+ }), C.onClick) {
3702
+ C.onClick();
3700
3703
  return;
3701
3704
  }
3702
- if (S.href === "#deposito") {
3703
- console.log("click deposito"), f == null || f(!0);
3704
- return;
3705
- }
3706
- S.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(S.href);
3707
- }, M = 5e3, k = V(null), x = !I && ((G = m == null ? void 0 : m.length) != null ? G : 0) > 1, O = () => {
3705
+ C.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(C.href);
3706
+ }, M = 5e3, k = V(null), x = !S && ((G = m == null ? void 0 : m.length) != null ? G : 0) > 1, O = () => {
3708
3707
  k.current != null && (window.clearTimeout(k.current), k.current = null);
3709
3708
  }, L = () => {
3710
3709
  O(), x && (k.current = window.setTimeout(() => {
3711
- var S;
3712
- u.current = !0, (S = g.current) == null || S.next();
3710
+ var C;
3711
+ u.current = !0, (C = f.current) == null || C.next();
3713
3712
  }, M));
3714
3713
  };
3715
3714
  ee(() => (L(), () => O()), [x, M]);
3716
- const z = (S) => {
3715
+ const z = (C) => {
3717
3716
  var q;
3718
- S.preventDefault(), S.stopPropagation(), O(), (q = g.current) == null || q.prev();
3719
- }, R = (S) => {
3717
+ C.preventDefault(), C.stopPropagation(), O(), (q = f.current) == null || q.prev();
3718
+ }, R = (C) => {
3720
3719
  var q;
3721
- S.preventDefault(), S.stopPropagation(), O(), (q = g.current) == null || q.next();
3722
- }, D = (S) => {
3720
+ C.preventDefault(), C.stopPropagation(), O(), (q = f.current) == null || q.next();
3721
+ }, U = (C) => {
3723
3722
  var Y, l, w, $;
3724
- const q = (S % _ + _) % _;
3723
+ const q = (C % _ + _) % _;
3725
3724
  if (!h.current) return;
3726
3725
  const K = (Y = m == null ? void 0 : m[q]) != null && Y.href ? ((w = (l = m[q].href) == null ? void 0 : l.split("/").pop()) == null ? void 0 : w.split(".")[0]) || `banner_${q + 1}` : `banner_${q + 1}`;
3727
3726
  r({
@@ -3776,28 +3775,28 @@ function Xn({
3776
3775
  children: /* @__PURE__ */ t(
3777
3776
  he,
3778
3777
  {
3779
- ref: g,
3778
+ ref: f,
3780
3779
  items: m,
3781
3780
  perPage: 1,
3782
3781
  gap: "0px",
3783
3782
  enableHorizontalWheel: !0,
3784
3783
  options: T,
3785
- onMove: ({ index: S }) => {
3786
- const q = (S % _ + _) % _;
3784
+ onMove: ({ index: C }) => {
3785
+ const q = (C % _ + _) % _;
3787
3786
  i(q);
3788
3787
  const K = u.current;
3789
- u.current = !1, L(), K || D(S);
3788
+ u.current = !1, L(), K || U(C);
3790
3789
  },
3791
- renderItem: (S, q) => {
3790
+ renderItem: (C, q) => {
3792
3791
  var K, Y, l;
3793
3792
  return /* @__PURE__ */ b(
3794
3793
  Q,
3795
3794
  {
3796
3795
  component: "a",
3797
- href: S.href === "#deposito" ? "" : S.href,
3798
- target: (K = S.target) != null ? K : "_self",
3799
- rel: S.target === "_blank" ? "noopener noreferrer" : void 0,
3800
- onClick: (w) => N(w, S, q),
3796
+ href: C.href || "",
3797
+ target: (K = C.target) != null ? K : "_self",
3798
+ rel: C.target === "_blank" ? "noopener noreferrer" : void 0,
3799
+ onClick: (w) => N(w, C, q),
3801
3800
  sx: {
3802
3801
  position: "relative",
3803
3802
  width: "100%",
@@ -3808,13 +3807,13 @@ function Xn({
3808
3807
  },
3809
3808
  children: [
3810
3809
  /* @__PURE__ */ b(Q, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3811
- /* @__PURE__ */ t("source", { srcSet: S.desktopSrc, media: "(min-width:950px)" }),
3812
- /* @__PURE__ */ t("source", { srcSet: S.mobileSrc, media: "(max-width:949px)" }),
3810
+ /* @__PURE__ */ t("source", { srcSet: C.desktopSrc, media: "(min-width:950px)" }),
3811
+ /* @__PURE__ */ t("source", { srcSet: C.mobileSrc, media: "(max-width:949px)" }),
3813
3812
  /* @__PURE__ */ t(
3814
3813
  Q,
3815
3814
  {
3816
3815
  component: "img",
3817
- src: (l = (Y = S.fallbackSrc) != null ? Y : S.desktopSrc) != null ? l : "",
3816
+ src: (l = (Y = C.fallbackSrc) != null ? Y : C.desktopSrc) != null ? l : "",
3818
3817
  alt: "",
3819
3818
  "aria-hidden": !0,
3820
3819
  loading: "lazy",
@@ -3861,12 +3860,12 @@ function Xn({
3861
3860
  "aria-label": "Anterior",
3862
3861
  onClick: z,
3863
3862
  sx: {
3864
- ...U,
3863
+ ...D,
3865
3864
  left: "120px",
3866
3865
  "@media (max-width:1024px)": { left: 24 },
3867
3866
  "@media (max-width:786px)": { display: "none" }
3868
3867
  },
3869
- children: /* @__PURE__ */ t(Ae, {})
3868
+ children: /* @__PURE__ */ t(Be, {})
3870
3869
  }
3871
3870
  ),
3872
3871
  /* @__PURE__ */ t(
@@ -3875,7 +3874,7 @@ function Xn({
3875
3874
  "aria-label": "Siguiente",
3876
3875
  onClick: R,
3877
3876
  sx: {
3878
- ...U,
3877
+ ...D,
3879
3878
  right: "120px",
3880
3879
  "@media (max-width:1024px)": { right: 24 },
3881
3880
  "@media (max-width:786px)": { display: "none" }
@@ -3928,7 +3927,7 @@ function Xn({
3928
3927
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3929
3928
  zIndex: 3
3930
3929
  },
3931
- children: a == null ? void 0 : a.map((S) => /* @__PURE__ */ b(
3930
+ children: a == null ? void 0 : a.map((C) => /* @__PURE__ */ b(
3932
3931
  Q,
3933
3932
  {
3934
3933
  sx: {
@@ -3940,7 +3939,7 @@ function Xn({
3940
3939
  gap: { xs: 0.5, md: 1 },
3941
3940
  color: "#FFFFFF",
3942
3941
  minWidth: 0,
3943
- cursor: S.onClick || S.href ? "pointer" : "default",
3942
+ cursor: C.onClick || C.href ? "pointer" : "default",
3944
3943
  whiteSpace: "nowrap",
3945
3944
  "&::after": {
3946
3945
  content: '""',
@@ -3964,7 +3963,7 @@ function Xn({
3964
3963
  opacity: 1,
3965
3964
  transform: "scaleX(1)"
3966
3965
  },
3967
- ...S.iconHover && {
3966
+ ...C.iconHover && {
3968
3967
  "&:hover .menu-icon-default": {
3969
3968
  display: "none"
3970
3969
  },
@@ -3973,9 +3972,9 @@ function Xn({
3973
3972
  }
3974
3973
  }
3975
3974
  },
3976
- onClick: () => E(S),
3975
+ onClick: () => E(C),
3977
3976
  children: [
3978
- S.icon && /* @__PURE__ */ b(
3977
+ C.icon && /* @__PURE__ */ b(
3979
3978
  Q,
3980
3979
  {
3981
3980
  sx: {
@@ -3989,8 +3988,8 @@ function Xn({
3989
3988
  Q,
3990
3989
  {
3991
3990
  component: "img",
3992
- src: S.icon,
3993
- alt: S.label || `icon-${S.id}`,
3991
+ src: C.icon,
3992
+ alt: C.label || `icon-${C.id}`,
3994
3993
  className: "menu-icon-default",
3995
3994
  sx: {
3996
3995
  display: "block",
@@ -4002,12 +4001,12 @@ function Xn({
4002
4001
  }
4003
4002
  }
4004
4003
  ),
4005
- S.iconHover && /* @__PURE__ */ t(
4004
+ C.iconHover && /* @__PURE__ */ t(
4006
4005
  Q,
4007
4006
  {
4008
4007
  component: "img",
4009
- src: S.iconHover,
4010
- alt: S.label || `icon-hover-${S.id}`,
4008
+ src: C.iconHover,
4009
+ alt: C.label || `icon-hover-${C.id}`,
4011
4010
  className: "menu-icon-hover",
4012
4011
  sx: {
4013
4012
  display: "none",
@@ -4032,12 +4031,12 @@ function Xn({
4032
4031
  color: "#E0E0E0",
4033
4032
  textAlign: "center"
4034
4033
  },
4035
- children: S.label
4034
+ children: C.label
4036
4035
  }
4037
4036
  )
4038
4037
  ]
4039
4038
  },
4040
- S.id
4039
+ C.id
4041
4040
  ))
4042
4041
  }
4043
4042
  )
@@ -4414,7 +4413,7 @@ const eo = {
4414
4413
  name: "href",
4415
4414
  id: "54689f0e-f698-48a1-9d84-d13a397e24ea",
4416
4415
  type: "string",
4417
- value: "#deposito"
4416
+ value: ""
4418
4417
  },
4419
4418
  {
4420
4419
  id: "5a6d8750-9087-404f-8388-a2c8ea74baf2",
@@ -4431,6 +4430,14 @@ const eo = {
4431
4430
  required: !1,
4432
4431
  type: "string",
4433
4432
  value: ""
4433
+ },
4434
+ {
4435
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4436
+ isImage: !1,
4437
+ name: "idfunction",
4438
+ required: !1,
4439
+ type: "string",
4440
+ value: "deposito"
4434
4441
  }
4435
4442
  ],
4436
4443
  id: "13b35362-5695-4687-b6a8-645f8effd264"
@@ -5510,10 +5517,10 @@ const it = [
5510
5517
  loader: r,
5511
5518
  disableWrapper: s = !1
5512
5519
  }) => {
5513
- const c = ie(() => oo(i), [i]), g = r || c.loader, [h, u] = Z([]), [p, d] = Z(!1), [f, m] = Z({}), [_, I] = Z({}), [y, v] = Z({}), C = Ue("(min-width:1024px)"), U = ie(
5520
+ const c = ie(() => oo(i), [i]), f = r || c.loader, [h, u] = Z([]), [p, d] = Z(!1), [g, m] = Z({}), [_, S] = Z({}), [y, v] = Z({}), I = De("(min-width:1024px)"), D = ie(
5514
5521
  () => Ce(qe),
5515
5522
  []
5516
- ), T = (l) => U.find(
5523
+ ), T = (l) => D.find(
5517
5524
  (w) => w.id === l.id || w.componentKey === l.componentKey
5518
5525
  ), N = (l) => Array.isArray(l) ? l.map((w) => Number(w)).filter((w) => !Number.isNaN(w)) : [], E = ie(() => {
5519
5526
  const l = c.user;
@@ -5525,18 +5532,18 @@ const it = [
5525
5532
  (P) => String((P == null ? void 0 : P.name) || "").trim().toLowerCase() === "groups"
5526
5533
  );
5527
5534
  if (!$) return [];
5528
- const B = $.value;
5529
- if (B == null) return [];
5530
- if (Array.isArray(B))
5531
- return B.map((P) => Number(String(P).trim())).filter((P) => !Number.isNaN(P));
5532
- const A = String(B).trim();
5533
- return A ? A.split(",").map((P) => Number(P.trim())).filter((P) => !Number.isNaN(P)) : [];
5535
+ const A = $.value;
5536
+ if (A == null) return [];
5537
+ if (Array.isArray(A))
5538
+ return A.map((P) => Number(String(P).trim())).filter((P) => !Number.isNaN(P));
5539
+ const B = String(A).trim();
5540
+ return B ? B.split(",").map((P) => Number(P.trim())).filter((P) => !Number.isNaN(P)) : [];
5534
5541
  }, k = (l, w) => {
5535
5542
  const $ = M(l);
5536
5543
  if ($.length === 0) return !0;
5537
5544
  if (!Array.isArray(w) || w.length === 0) return !1;
5538
- const B = new Set(w);
5539
- return $.some((A) => B.has(A));
5545
+ const A = new Set(w);
5546
+ return $.some((B) => A.has(B));
5540
5547
  };
5541
5548
  ee(() => {
5542
5549
  if (e) return;
@@ -5544,8 +5551,8 @@ const it = [
5544
5551
  console.warn("[landing] sin db -> fallback json"), u(Ce(qe));
5545
5552
  return;
5546
5553
  }
5547
- const l = ($, B) => {
5548
- console.warn("[landing] FALLBACK:", $, B != null ? B : ""), u(Ce(qe)), d(!1);
5554
+ const l = ($, A) => {
5555
+ console.warn("[landing] FALLBACK:", $, A != null ? A : ""), u(Ce(qe)), d(!1);
5549
5556
  };
5550
5557
  if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
5551
5558
  d(!0), l("forzado por env");
@@ -5560,14 +5567,14 @@ const it = [
5560
5567
  l(`doc landings/${a} no existe`);
5561
5568
  return;
5562
5569
  }
5563
- const B = $.data(), A = Ce(B);
5564
- if (!A.length) {
5565
- l("JSON inválido o sin secciones normalizables", B);
5570
+ const A = $.data(), B = Ce(A);
5571
+ if (!B.length) {
5572
+ l("JSON inválido o sin secciones normalizables", A);
5566
5573
  return;
5567
5574
  }
5568
- console.log("[landing] Firestore OK (json grande):", B), u(A);
5569
- } catch (B) {
5570
- l("error procesando snapshot", B);
5575
+ console.log("[landing] Firestore OK (json grande):", A), u(B);
5576
+ } catch (A) {
5577
+ l("error procesando snapshot", A);
5571
5578
  } finally {
5572
5579
  d(!1);
5573
5580
  }
@@ -5589,30 +5596,30 @@ const it = [
5589
5596
  };
5590
5597
  const w = (l.apiUrl || "").trim();
5591
5598
  if (!w) return;
5592
- const $ = l.apiMethod || "GET", B = l.apiParams || [];
5593
- let A = w, P, J;
5599
+ const $ = l.apiMethod || "GET", A = l.apiParams || [];
5600
+ let B = w, P, J;
5594
5601
  if ($ === "GET") {
5595
5602
  const re = new URL(
5596
5603
  w,
5597
5604
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5598
5605
  );
5599
- for (const oe of B)
5606
+ for (const oe of A)
5600
5607
  oe.key && re.searchParams.append(oe.key, oe.value);
5601
- A = re.toString();
5608
+ B = re.toString();
5602
5609
  } else {
5603
5610
  const re = new URLSearchParams();
5604
- for (const oe of B)
5611
+ for (const oe of A)
5605
5612
  oe.key && re.append(oe.key, oe.value);
5606
5613
  P = re.toString(), J = {
5607
5614
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5608
5615
  };
5609
5616
  }
5610
- const te = await fetch(A, {
5617
+ const te = await fetch(B, {
5611
5618
  method: $,
5612
5619
  headers: J,
5613
5620
  body: P
5614
5621
  });
5615
- if (!te.ok) throw new ot(te.status, A, te.statusText);
5622
+ if (!te.ok) throw new ot(te.status, B, te.statusText);
5616
5623
  return te.json();
5617
5624
  }, O = ie(
5618
5625
  () => e ? e.slice() : h.slice(),
@@ -5622,16 +5629,16 @@ const it = [
5622
5629
  const l = O.map((w) => ({ s: w, url: (w.apiUrl || "").trim() })).filter(({ url: w }) => !!w);
5623
5630
  if (l.length)
5624
5631
  for (const { s: w, url: $ } of l) {
5625
- const B = `${w.id}|${$}`;
5626
- L.current.has(B) || (L.current.add(B), I((A) => ({ ...A, [w.id]: !0 })), v((A) => ({ ...A, [w.id]: "" })), (async () => {
5632
+ const A = `${w.id}|${$}`;
5633
+ L.current.has(A) || (L.current.add(A), S((B) => ({ ...B, [w.id]: !0 })), v((B) => ({ ...B, [w.id]: "" })), (async () => {
5627
5634
  try {
5628
- const A = await x(w);
5629
- m((P) => ({ ...P, [w.id]: A }));
5630
- } catch (A) {
5635
+ const B = await x(w);
5636
+ m((P) => ({ ...P, [w.id]: B }));
5637
+ } catch (B) {
5631
5638
  let P = "Error desconocido";
5632
- A instanceof ot ? P = `Error HTTP ${A.status} (${A.statusText}) en ${A.url}` : A instanceof SyntaxError ? P = "Respuesta no es JSON válido" : A instanceof TypeError ? P = "Fallo de red / CORS / conexión" : typeof A == "string" && (P = A.toString()), v((J) => ({ ...J, [w.id]: P }));
5639
+ B instanceof ot ? P = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? P = "Respuesta no es JSON válido" : B instanceof TypeError ? P = "Fallo de red / CORS / conexión" : typeof B == "string" && (P = B.toString()), v((J) => ({ ...J, [w.id]: P }));
5633
5640
  } finally {
5634
- I((A) => ({ ...A, [w.id]: !1 }));
5641
+ S((B) => ({ ...B, [w.id]: !1 }));
5635
5642
  }
5636
5643
  })());
5637
5644
  }
@@ -5641,48 +5648,48 @@ const it = [
5641
5648
  [O, E]
5642
5649
  ), R = (l) => Array.isArray(l) ? l.map((w) => {
5643
5650
  const $ = {};
5644
- for (const B of w.fields || []) {
5645
- const A = (B.type || "string").toLowerCase();
5646
- if (A === "number") {
5647
- const P = String(B.value || "").trim();
5651
+ for (const A of w.fields || []) {
5652
+ const B = (A.type || "string").toLowerCase();
5653
+ if (B === "number") {
5654
+ const P = String(A.value || "").trim();
5648
5655
  if (P !== "") {
5649
5656
  const J = Number(P);
5650
- Number.isNaN(J) || ($[B.name] = J);
5657
+ Number.isNaN(J) || ($[A.name] = J);
5651
5658
  }
5652
- } else if (A === "boolean")
5653
- $[B.name] = String(B.value).toLowerCase() === "true";
5654
- else if (A === "function") {
5655
- const P = String(B.value || "").trim();
5659
+ } else if (B === "boolean")
5660
+ $[A.name] = String(A.value).toLowerCase() === "true";
5661
+ else if (B === "function") {
5662
+ const P = String(A.value || "").trim();
5656
5663
  if (P)
5657
5664
  try {
5658
5665
  const J = new Function(P);
5659
- $[B.name] = J;
5666
+ $[A.name] = J;
5660
5667
  } catch (J) {
5661
- console.error(`❌ Error creando función en item '${B.name}':`, J);
5668
+ console.error(`❌ Error creando función en item '${A.name}':`, J);
5662
5669
  }
5663
5670
  } else
5664
- $[B.name] = B.value;
5671
+ $[A.name] = A.value;
5665
5672
  }
5666
5673
  return $;
5667
- }) : [], D = (l) => {
5674
+ }) : [], U = (l) => {
5668
5675
  const w = {};
5669
5676
  if (!Array.isArray(l)) return w;
5670
5677
  for (const $ of l) {
5671
5678
  if (!$.name) continue;
5672
- const B = ($.type || "string").toLowerCase();
5673
- if (B === "number") {
5674
- const A = String($.value || "").trim();
5675
- if (A !== "") {
5676
- const P = Number(A);
5679
+ const A = ($.type || "string").toLowerCase();
5680
+ if (A === "number") {
5681
+ const B = String($.value || "").trim();
5682
+ if (B !== "") {
5683
+ const P = Number(B);
5677
5684
  Number.isNaN(P) || (w[$.name] = P);
5678
5685
  }
5679
- } else if (B === "boolean")
5686
+ } else if (A === "boolean")
5680
5687
  w[$.name] = String($.value).toLowerCase() === "true";
5681
- else if (B === "function") {
5682
- const A = String($.value || "").trim();
5683
- if (A)
5688
+ else if (A === "function") {
5689
+ const B = String($.value || "").trim();
5690
+ if (B)
5684
5691
  try {
5685
- const P = new Function(A);
5692
+ const P = new Function(B);
5686
5693
  w[$.name] = P;
5687
5694
  } catch (P) {
5688
5695
  console.error(`❌ Error creando función en item '${$.name}':`, P);
@@ -5691,51 +5698,51 @@ const it = [
5691
5698
  w[$.name] = $.value;
5692
5699
  }
5693
5700
  return w;
5694
- }, W = (l, w, $, B) => {
5695
- const A = $ ? { ...$ } : {}, P = (B || "items").trim() || "items";
5701
+ }, W = (l, w, $, A) => {
5702
+ const B = $ ? { ...$ } : {}, P = (A || "items").trim() || "items";
5696
5703
  if (w)
5697
- return A[P] = w.arr || [], A;
5704
+ return B[P] = w.arr || [], B;
5698
5705
  const J = l;
5699
5706
  if (Array.isArray(J))
5700
- return A[P] = J, A;
5707
+ return B[P] = J, B;
5701
5708
  if (J && typeof J == "object") {
5702
5709
  const te = J;
5703
- return Array.isArray(te.lobby) ? (A[P] = te.lobby, A) : Array.isArray(te.items) ? (A[P] = te.items, A) : (A[P] = J, A);
5710
+ return Array.isArray(te.lobby) ? (B[P] = te.lobby, B) : Array.isArray(te.items) ? (B[P] = te.items, B) : (B[P] = J, B);
5704
5711
  }
5705
- return A[P] = [], A;
5712
+ return B[P] = [], B;
5706
5713
  }, G = (l) => {
5707
5714
  var P;
5708
- const w = !!((P = l.apiUrl) != null && P.trim()), $ = w ? f[l.id] : void 0;
5709
- let B = l.props ? { ...l.props } : {};
5710
- const A = D(l.manualScalarFields);
5715
+ const w = !!((P = l.apiUrl) != null && P.trim()), $ = w ? g[l.id] : void 0;
5716
+ let A = l.props ? { ...l.props } : {};
5717
+ const B = U(l.manualScalarFields);
5711
5718
  if (it.includes(l.componentKey))
5712
- return { items: $, ...B, ...A };
5713
- if (B = { ...B, ...A }, w)
5714
- B = W($, null, B);
5719
+ return { items: $, ...A, ...B };
5720
+ if (A = { ...A, ...B }, w)
5721
+ A = W($, null, A);
5715
5722
  else if (l.dataMode === "manual") {
5716
5723
  const J = R(l.manualItems);
5717
- if (B = W(
5724
+ if (A = W(
5718
5725
  null,
5719
5726
  { arr: J, variableName: l.variableName },
5720
- B,
5727
+ A,
5721
5728
  l.variableName
5722
5729
  ), l.variableName2 && l.manualItems2) {
5723
5730
  const te = R(l.manualItems2), re = (l.variableName2 || "items2").trim() || "items2";
5724
- B[re] = te;
5731
+ A[re] = te;
5725
5732
  }
5726
5733
  }
5727
- return B;
5728
- }, S = (l) => {
5734
+ return A;
5735
+ }, C = (l) => {
5729
5736
  const w = l.props ? { ...l.props } : {};
5730
5737
  try {
5731
- Object.assign(w, D(l.manualScalarFields));
5732
- } catch (B) {
5733
- console.error("❌ Error armando scalars vacíos:", l, B);
5738
+ Object.assign(w, U(l.manualScalarFields));
5739
+ } catch (A) {
5740
+ console.error("❌ Error armando scalars vacíos:", l, A);
5734
5741
  }
5735
5742
  const $ = (l.variableName || "items").trim() || "items";
5736
5743
  if (typeof w[$] == "undefined" && (w[$] = []), l.variableName2) {
5737
- const B = (l.variableName2 || "items2").trim() || "items2";
5738
- typeof w[B] == "undefined" && (w[B] = []);
5744
+ const A = (l.variableName2 || "items2").trim() || "items2";
5745
+ typeof w[A] == "undefined" && (w[A] = []);
5739
5746
  }
5740
5747
  return w;
5741
5748
  }, q = (l) => {
@@ -5749,10 +5756,10 @@ const it = [
5749
5756
  return console.warn(
5750
5757
  `[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
5751
5758
  ), G($);
5752
- } catch (B) {
5753
- console.error("🔥 ERROR EN fallback buildCompProps:", $, B);
5759
+ } catch (A) {
5760
+ console.error("🔥 ERROR EN fallback buildCompProps:", $, A);
5754
5761
  }
5755
- return S(l);
5762
+ return C(l);
5756
5763
  }
5757
5764
  }, K = (l, w, $) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5758
5765
  loading: "bg-blue-100 text-blue-800",
@@ -5760,12 +5767,12 @@ const it = [
5760
5767
  component: "bg-yellow-100 text-yellow-800"
5761
5768
  }[w]}`, children: $ }, l), Y = (l) => {
5762
5769
  var He;
5763
- const w = l.componentKey, $ = no[w], A = (/* @__PURE__ */ new Set([
5770
+ const w = l.componentKey, $ = no[w], B = (/* @__PURE__ */ new Set([
5764
5771
  "OraculoSeccionBanners",
5765
5772
  "OraculoSeccionBonoBienvenida",
5766
5773
  "OraculoSeccionCasinoEnVivo",
5767
5774
  "OraculoSeccionClubOlimpo",
5768
- ...C ? [] : [
5775
+ ...I ? [] : [
5769
5776
  "OraculoSeccionEventoEnVivo",
5770
5777
  "OraculoSeccionEventoSemana",
5771
5778
  "OraculoSeccionEventoCombinadas",
@@ -5773,10 +5780,10 @@ const it = [
5773
5780
  "OraculoSeccionDestacados",
5774
5781
  "OraculoSeccionCasino"
5775
5782
  ]
5776
- ])).has(l.componentKey), P = C ? 120 : 24, J = (C ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5783
+ ])).has(l.componentKey), P = I ? 120 : 24, J = (I ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5777
5784
  width: "100%",
5778
5785
  boxSizing: "border-box",
5779
- ...A ? {} : { paddingLeft: P, paddingRight: P },
5786
+ ...B ? {} : { paddingLeft: P, paddingRight: P },
5780
5787
  ...te ? {
5781
5788
  marginTop: -J,
5782
5789
  marginBottom: -J
@@ -5788,7 +5795,7 @@ const it = [
5788
5795
  "component",
5789
5796
  `Componente "${w}" no encontrado`
5790
5797
  );
5791
- const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0, Ct = oe ? !!_[l.id] : !1, Ge = oe ? y[l.id] : "";
5798
+ const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? g[l.id] : void 0, Ct = oe ? !!_[l.id] : !1, Ge = oe ? y[l.id] : "";
5792
5799
  if (oe) {
5793
5800
  if (Ct && !We)
5794
5801
  return K(
@@ -5830,7 +5837,7 @@ const it = [
5830
5837
  l.id
5831
5838
  ) });
5832
5839
  };
5833
- return p && !e ? g ? /* @__PURE__ */ t(g, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !p && !e && h.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
5840
+ return p && !e ? f ? /* @__PURE__ */ t(f, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !p && !e && h.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
5834
5841
  Et,
5835
5842
  {
5836
5843
  className: "oli-font",
@@ -5844,7 +5851,7 @@ const it = [
5844
5851
  maxWidth: "100%",
5845
5852
  overflowX: "hidden"
5846
5853
  },
5847
- children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: C ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
5854
+ children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: I ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
5848
5855
  try {
5849
5856
  return Y(l);
5850
5857
  } catch (w) {
@@ -5861,7 +5868,7 @@ export {
5861
5868
  dt as OraculoCarouselDots,
5862
5869
  Sa as OraculoClubOlimpoVisual,
5863
5870
  Ra as OraculoEventCombinadasCard,
5864
- Ua as OraculoEventEnVivoCard,
5871
+ Da as OraculoEventEnVivoCard,
5865
5872
  Ht as OraculoEventHeader,
5866
5873
  ut as OraculoEventLabel,
5867
5874
  mt as OraculoEventLeague,