oraculo-ui 0.2.25 → 0.2.27

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,6 +1,6 @@
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 De, IconButton as Ke, Typography as st, Stack as Oe, Container as Et } from "@mui/material";
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";
1
+ import { jsx as t, jsxs as v, Fragment as pe } from "react/jsx-runtime";
2
+ import { Link as rt, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ce, Container as Ot } from "@mui/material";
3
+ import fe, { useState as X, useEffect as Q, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Oe, createContext as Nt, useContext as $t, useMemo as ie, useLayoutEffect as Mt } from "react";
4
4
  import j from "@mui/material/Skeleton";
5
5
  import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
6
6
  import q from "@mui/material/Box";
@@ -11,10 +11,10 @@ import { ChevronLeftRounded as Ae, ChevronRightRounded as ze } from "@mui/icons-
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";
14
- import { useTheme as zt, createTheme as Rt, ThemeProvider as Pt } from "@mui/material/styles";
15
- import Lt from "@mui/material/CssBaseline";
14
+ import { useTheme as zt, createTheme as Rt, ThemeProvider as Lt } from "@mui/material/styles";
15
+ import Pt from "@mui/material/CssBaseline";
16
16
  import { onSnapshot as Ft, doc as qt } from "firebase/firestore";
17
- function X({
17
+ function Y({
18
18
  children: e,
19
19
  onClick: a,
20
20
  href: n,
@@ -23,28 +23,28 @@ function X({
23
23
  type: r = "button",
24
24
  disabled: s = !1,
25
25
  variant: c = "primary",
26
- size: f,
27
- fullWidth: h = !1,
26
+ size: p,
27
+ fullWidth: g = !1,
28
28
  fullHeight: u = !1,
29
- className: p = "",
29
+ className: m = "",
30
30
  ariaLabel: d,
31
- leftIcon: g,
32
- rightIcon: m,
33
- iconOnly: _
31
+ leftIcon: f,
32
+ rightIcon: b,
33
+ iconOnly: x
34
34
  }) {
35
- const I = !!e && e !== !0, C = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : C && !I, k = [
35
+ const _ = !!e && e !== !0, T = (!!f ? 1 : 0) + (!!b ? 1 : 0) == 1, D = x != null ? x : T && !_, y = [
36
36
  "orc-btn",
37
37
  c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
- f ? `orc-btn--${f}` : "",
39
- h ? "orc-btn--full" : "",
38
+ p ? `orc-btn--${p}` : "",
39
+ g ? "orc-btn--full" : "",
40
40
  u ? "orc-btn--fullHeight" : "",
41
41
  D ? "orc-btn--iconOnly" : "",
42
- p
43
- ].filter(Boolean).join(" "), M = /* @__PURE__ */ b(pe, { children: [
44
- g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
42
+ m
43
+ ].filter(Boolean).join(" "), $ = /* @__PURE__ */ v(pe, { children: [
44
+ f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
45
45
  !D && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
- m && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: m })
47
- ] }), T = s ? !0 : void 0;
46
+ b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b })
47
+ ] }), C = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
49
  rt,
50
50
  {
@@ -52,21 +52,21 @@ function X({
52
52
  target: o,
53
53
  rel: i,
54
54
  "aria-label": d,
55
- "aria-disabled": T,
56
- tabIndex: T ? -1 : void 0,
57
- className: k,
58
- onClick: T ? (A) => A.preventDefault() : a,
59
- children: M
55
+ "aria-disabled": C,
56
+ tabIndex: C ? -1 : void 0,
57
+ className: y,
58
+ onClick: C ? (A) => A.preventDefault() : a,
59
+ children: $
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
63
63
  {
64
64
  type: r,
65
65
  onClick: a,
66
- disabled: !!T,
66
+ disabled: !!C,
67
67
  "aria-label": d,
68
- className: k,
69
- children: M
68
+ className: y,
69
+ children: $
70
70
  }
71
71
  );
72
72
  }
@@ -81,7 +81,7 @@ function ge({
81
81
  n ? `orc-section-title--${n}` : "",
82
82
  o
83
83
  ].filter(Boolean).join(" ");
84
- return /* @__PURE__ */ b("div", { className: r, children: [
84
+ return /* @__PURE__ */ v("div", { className: r, children: [
85
85
  a && /* @__PURE__ */ t(
86
86
  "img",
87
87
  {
@@ -101,28 +101,28 @@ const dt = ({
101
101
  durationMs: i = 5e3
102
102
  }) => {
103
103
  if (e <= 1) return null;
104
- const r = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = Z(0);
105
- return ee(() => {
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
- const u = h === a;
104
+ const r = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = X(0);
105
+ return Q(() => {
106
+ c((p) => p + 1);
107
+ }, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((p, g) => {
108
+ const u = g === a;
109
109
  return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
110
110
  "button",
111
111
  {
112
112
  type: "button",
113
113
  role: "tab",
114
114
  "aria-selected": u,
115
- "aria-label": `Ir al slide ${h + 1}`,
115
+ "aria-label": `Ir al slide ${g + 1}`,
116
116
  className: "orc-dots__dot" + (u ? " orc-dots__dot--active" : ""),
117
117
  style: u ? {
118
118
  "--dot-progress-ms": `${i}ms`
119
119
  } : void 0,
120
120
  onClick: () => {
121
- u && c((p) => p + 1), n == null || n(h);
121
+ u && c((m) => m + 1), n == null || n(g);
122
122
  }
123
123
  },
124
- u ? `a-${h}-${s}` : `i-${h}`
125
- ) }, h);
124
+ u ? `a-${g}-${s}` : `i-${g}`
125
+ ) }, g);
126
126
  }) });
127
127
  };
128
128
  function me({
@@ -149,7 +149,7 @@ function me({
149
149
  }
150
150
  function Ze({ src: e, alt: a }) {
151
151
  return /* @__PURE__ */ t(
152
- Q,
152
+ ee,
153
153
  {
154
154
  sx: {
155
155
  position: "relative",
@@ -160,7 +160,7 @@ function Ze({ src: e, alt: a }) {
160
160
  display: "inline-block"
161
161
  },
162
162
  children: /* @__PURE__ */ t(
163
- Q,
163
+ ee,
164
164
  {
165
165
  component: "img",
166
166
  src: e,
@@ -178,16 +178,16 @@ function Ze({ src: e, alt: a }) {
178
178
  }
179
179
  );
180
180
  }
181
- const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Pe = {
181
+ const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Le = {
182
182
  contenedor: Dt,
183
183
  flexGroup: Ut,
184
184
  subtitle: Vt
185
185
  };
186
186
  function Wt({ title: e, subtitle: a }) {
187
- return /* @__PURE__ */ b(
187
+ return /* @__PURE__ */ v(
188
188
  "div",
189
189
  {
190
- className: Pe.contenedor,
190
+ className: Le.contenedor,
191
191
  children: [
192
192
  /* @__PURE__ */ t(
193
193
  "span",
@@ -200,17 +200,17 @@ function Wt({ title: e, subtitle: a }) {
200
200
  children: e
201
201
  }
202
202
  ),
203
- a && /* @__PURE__ */ b(
203
+ a && /* @__PURE__ */ v(
204
204
  "div",
205
205
  {
206
- className: Pe.flexGroup,
206
+ className: Le.flexGroup,
207
207
  children: [
208
- /* @__PURE__ */ b("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
208
+ /* @__PURE__ */ v("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
209
209
  " ",
210
210
  /* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
211
211
  " "
212
212
  ] }),
213
- /* @__PURE__ */ t("span", { className: Pe.subtitle, children: a }),
213
+ /* @__PURE__ */ t("span", { className: Le.subtitle, children: a }),
214
214
  /* @__PURE__ */ t("div", {})
215
215
  ]
216
216
  }
@@ -241,13 +241,13 @@ function Gt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
241
241
  );
242
242
  }
243
243
  function jt({ live: e, time: a }) {
244
- return /* @__PURE__ */ b("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
244
+ return /* @__PURE__ */ v("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
245
  e && /* @__PURE__ */ t(Gt, { text: "En vivo" }),
246
246
  a && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: a })
247
247
  ] });
248
248
  }
249
249
  function Ht({ title: e, subtitle: a, live: n = !1, time: o = "" }) {
250
- return /* @__PURE__ */ b(
250
+ return /* @__PURE__ */ v(
251
251
  "div",
252
252
  {
253
253
  style: {
@@ -269,11 +269,11 @@ const Kt = "oraculo__OraculoEventLabel-module__label___c64Xw", Zt = {
269
269
  function ut({ text: e }) {
270
270
  return /* @__PURE__ */ t("span", { className: Zt.label, children: e });
271
271
  }
272
- const Jt = "oraculo__OraculoEventLeague-module__container___rdk4F", Xt = {
273
- container: Jt
272
+ const Xt = "oraculo__OraculoEventLeague-module__container___rdk4F", Jt = {
273
+ container: Xt
274
274
  };
275
275
  function mt({ title: e }) {
276
- return /* @__PURE__ */ t("div", { className: Xt.container, children: e.toUpperCase() });
276
+ return /* @__PURE__ */ t("div", { className: Jt.container, children: e.toUpperCase() });
277
277
  }
278
278
  const Yt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Qt = "oraculo__OraculoEventScore-module__name___r4uL6", ea = "oraculo__OraculoEventScore-module__score___Xl03M", ta = "oraculo__OraculoEventScore-module__normal___cCNFz", aa = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
279
279
  scoreWrapper: Yt,
@@ -283,7 +283,7 @@ const Yt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Qt = "orac
283
283
  small: aa
284
284
  };
285
285
  function pt({ text: e, name: a, size: n = "normal" }) {
286
- return /* @__PURE__ */ b(
286
+ return /* @__PURE__ */ v(
287
287
  "div",
288
288
  {
289
289
  className: `${ve.scoreWrapper} ${ve[n]}`,
@@ -309,8 +309,8 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
309
309
  };
310
310
  function pa({ jersey: e, className: a }) {
311
311
  const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, r = e.sleevelong ? `#${e.sleevelong}` : null;
312
- return /* @__PURE__ */ b("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ b("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
312
+ return /* @__PURE__ */ v("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ v("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ t(
315
315
  "path",
316
316
  {
@@ -318,7 +318,7 @@ function pa({ jersey: e, className: a }) {
318
318
  d: "m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8l-5-12.3-1.9-3.8-1.8-1.6.1-.8v-1l-.4-1.8-1.3-4.1-3.3-9-1.3-2-2.2-5.7-2.5-.3-1 .8v2l-2.7 13.1-8.7 58-.9 6.4-.2 7.9c0 3-1 16-1.7 18.3l-2.5 9-.2 7.6-.3 8.7-.3 7.5.3 4 .5 15c.3 1.9-.6 7-1.1 9.3-.6 2.4-1.6 7.5-1.4 8.8.3 1.4-.2 4.4-.5 5.8l-1.3 8.9c-.2 1.4-.8 5-1.3 7.2.7 1.6 4.7 14.6 5.9 17.8 1.2 3.3 4.8 19.4 5 20.7.3 1 1.1 7.8 1.5 11 .1 2.5.3 8 .2 10 0 2-.8 6.6-1.1 8.6-.2 1.7-.7 5.5-1.2 7s-1.2 8.5-1.4 11.8A81.1 81.1 0 0 1 477 552l.3 7.1.2 6.5 1.4 17.7.5 6 1.5 7.7.4 4.6c.3 2.1.7 7 .7 10.1.3 3-2.5 6-4 7 0 .2-1.2 1-4.6 3-6.4 5-26.3 11.6-35.5 14.3a379.2 379.2 0 0 1-58.6 11.2c-2.3.8-27 2.2-39 2.7-8.3 0-27 0-34.5-.4-11.5.9-47.4-4.8-63.9-7.7-6.3-.9-42.1-10.4-48-14.4-3.7-2.4-14.3-8-16.9-9.7a10.7 10.7 0 0 1-4.1-5.4c-.3-1 .1-8.6.4-12.3l.6-5 1.4-9.6 1-8 .3-4.3-.4-7.7-1-10.8v-13.8l.7-10 1.1-7.7 1.8-8 2.8-9.5 3.3-9.3a78 78 0 0 1-2.5-20.8 1112.2 1112.2 0 0 1 .6-14.1c-.1-.7 2.1-10.2 3.3-15l1-3.8-.1-.8c-1.4-8.3-1.5-14-1.9-15.4a78 78 0 0 1 .4-10.9l2-6.7.4-2-.4-1.5a67.6 67.6 0 0 1-7.3-27l-.2-7.7.5-5.4.3-1.5.4-3.9.7-5 .2-2.2-.2-.4-.3-6-1-3.1-.3-4-.7-7.6-1.5-8.3-.8-4.2-1.4-9.2-.4-4.3L172 279l-2.2-14.6a545 545 0 0 1-1.7-8.5c-.1-1-2-2.1-3-2.6 0 .6-.6 1.5-1.7 2-1.2.7-2.4 1.3-2.7 2.2l-.8 4.7a15 15 0 0 1-2.5 4.1 16.4 16.4 0 0 0-2.6 6.3l-.3 2.4v1.3l-1.4 1.1-.3.3-6 14.5c-.7 2.3-1.3 1.8-1.9 1.5l-10.5-3.1-9-3-18.3-6-20-6.8-13-4.8c-2.1-1-7-3-9.4-3.8-2.5-.8-3-1.3-2.8-1.4Z"
319
319
  }
320
320
  ),
321
- i && /* @__PURE__ */ b(pe, { children: [
321
+ i && /* @__PURE__ */ v(pe, { children: [
322
322
  /* @__PURE__ */ t("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
323
323
  /* @__PURE__ */ t("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
324
324
  ] }),
@@ -366,8 +366,8 @@ function pa({ jersey: e, className: a }) {
366
366
  )
367
367
  ] });
368
368
  }
369
- function Ne({ name: e, jersey: a, size: n = "regular" }) {
370
- return /* @__PURE__ */ b("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
369
+ function $e({ name: e, jersey: a, size: n = "regular" }) {
370
+ return /* @__PURE__ */ v("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
371
371
  a != null && a.base ? /* @__PURE__ */ t(
372
372
  pa,
373
373
  {
@@ -384,23 +384,23 @@ function fa(e, a, {
384
384
  cooldownMs: i = 500
385
385
  } = {}) {
386
386
  const r = V(0), s = V(0);
387
- ee(() => {
387
+ Q(() => {
388
388
  if (!n) return;
389
389
  const c = e.current;
390
390
  if (!c) return;
391
- const f = (h) => {
391
+ const p = (g) => {
392
392
  const u = a.current;
393
393
  if (!u || !u.go) return;
394
- const { deltaX: p, deltaY: d } = h;
395
- if (Math.abs(p) <= Math.abs(d)) return;
396
- h.preventDefault(), r.current += p;
397
- const g = Date.now();
398
- if (g - s.current < i || Math.abs(r.current) < o) return;
399
- const m = r.current > 0 ? ">" : "<";
400
- r.current = 0, s.current = g, u.go(m);
394
+ const { deltaX: m, deltaY: d } = g;
395
+ if (Math.abs(m) <= Math.abs(d)) return;
396
+ g.preventDefault(), r.current += m;
397
+ const f = Date.now();
398
+ if (f - s.current < i || Math.abs(r.current) < o) return;
399
+ const b = r.current > 0 ? ">" : "<";
400
+ r.current = 0, s.current = f, u.go(b);
401
401
  };
402
- return c.addEventListener("wheel", f, { passive: !1 }), () => {
403
- c.removeEventListener("wheel", f), r.current = 0;
402
+ return c.addEventListener("wheel", p, { passive: !1 }), () => {
403
+ c.removeEventListener("wheel", p), r.current = 0;
404
404
  };
405
405
  }, [n, o, i, e, a]);
406
406
  }
@@ -419,85 +419,85 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
419
419
  options: r = {},
420
420
  className: s = "",
421
421
  onMove: c,
422
- useIndexAsKey: f = !1,
423
- enableHorizontalWheel: h = !0,
422
+ useIndexAsKey: p = !1,
423
+ enableHorizontalWheel: g = !0,
424
424
  showRightGradient: u = !1
425
- }, p) => {
426
- const d = V(null), g = V(null), m = V(e.length), _ = V(null), I = V(null);
427
- fa(g, d, {
428
- enabled: h
429
- }), kt(p, () => ({
425
+ }, m) => {
426
+ const d = V(null), f = V(null), b = V(e.length), x = V(null), _ = V(null);
427
+ fa(f, d, {
428
+ enabled: g
429
+ }), kt(m, () => ({
430
430
  next: () => {
431
- var T;
432
- return (T = d.current) == null ? void 0 : T.go(">");
431
+ var C;
432
+ return (C = d.current) == null ? void 0 : C.go(">");
433
433
  },
434
434
  prev: () => {
435
- var T;
436
- return (T = d.current) == null ? void 0 : T.go("<");
435
+ var C;
436
+ return (C = d.current) == null ? void 0 : C.go("<");
437
437
  },
438
- go: (T) => {
438
+ go: (C) => {
439
439
  var A;
440
- return (A = d.current) == null ? void 0 : A.go(T);
440
+ return (A = d.current) == null ? void 0 : A.go(C);
441
441
  }
442
442
  }));
443
- const y = (T) => {
443
+ const h = (C) => {
444
444
  var W;
445
- const A = T.Components.Slides, $ = T.Components.Controller, x = T.root.querySelector(".splide__track"), O = (W = x == null ? void 0 : x.clientWidth) != null ? W : 0, P = $.getIndex(), z = A.getLength();
446
- let R = 0, U = P;
447
- for (let G = P; G < z; G++) {
448
- const w = A.getAt(G);
449
- if (!w || (R += w.slide.offsetWidth, R > O)) break;
445
+ const A = C.Components.Slides, M = C.Components.Controller, w = C.root.querySelector(".splide__track"), k = (W = w == null ? void 0 : w.clientWidth) != null ? W : 0, L = M.getIndex(), z = A.getLength();
446
+ let R = 0, U = L;
447
+ for (let G = L; G < z; G++) {
448
+ const J = A.getAt(G);
449
+ if (!J || (R += J.slide.offsetWidth, R > k)) break;
450
450
  U = G;
451
451
  }
452
- return { visibleStart: P, visibleEnd: U };
453
- }, v = (T) => {
454
- const A = T.root.querySelector(".splide__track"), $ = T.root.querySelector(".splide__list");
455
- return !A || !$ ? !1 : $.scrollWidth > A.clientWidth + 1;
456
- }, C = Ee((T) => {
452
+ return { visibleStart: L, visibleEnd: U };
453
+ }, E = (C) => {
454
+ const A = C.root.querySelector(".splide__track"), M = C.root.querySelector(".splide__list");
455
+ return !A || !M ? !1 : M.scrollWidth > A.clientWidth + 1;
456
+ }, T = Oe((C) => {
457
457
  var U, W;
458
- const $ = T.Components.Slides.getLength();
459
- if (!v(T)) {
458
+ const M = C.Components.Slides.getLength();
459
+ if (!E(C)) {
460
460
  c == null || c({
461
461
  index: 0,
462
462
  isStart: !0,
463
463
  isEnd: !0,
464
- total: $,
464
+ total: M,
465
465
  visibleStart: 0,
466
- visibleEnd: $ - 1
466
+ visibleEnd: M - 1
467
467
  });
468
468
  return;
469
469
  }
470
- const { visibleStart: x, visibleEnd: O } = y(T), P = x === 0, z = O === $ - 1;
471
- u && ((U = _.current) == null || U.style.setProperty("--gradient-opacity", P ? "0" : "1"), (W = I.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
- const R = T.Components.Controller.getIndex();
470
+ const { visibleStart: w, visibleEnd: k } = h(C), L = w === 0, z = k === M - 1;
471
+ u && ((U = x.current) == null || U.style.setProperty("--gradient-opacity", L ? "0" : "1"), (W = _.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
+ const R = C.Components.Controller.getIndex();
473
473
  c == null || c({
474
474
  index: R,
475
- isStart: P,
475
+ isStart: L,
476
476
  isEnd: z,
477
- total: $,
478
- visibleStart: x,
479
- visibleEnd: O
477
+ total: M,
478
+ visibleStart: w,
479
+ visibleEnd: k
480
480
  });
481
481
  }, [c]);
482
482
  fe.useEffect(() => {
483
- var $;
484
- const T = ($ = d.current) == null ? void 0 : $.splide;
485
- if (!T) return;
486
- const A = m.current !== e.length;
487
- m.current = e.length, A && requestAnimationFrame(() => {
488
- T.refresh(), C(T);
483
+ var M;
484
+ const C = (M = d.current) == null ? void 0 : M.splide;
485
+ if (!C) return;
486
+ const A = b.current !== e.length;
487
+ b.current = e.length, A && requestAnimationFrame(() => {
488
+ C.refresh(), T(C);
489
489
  });
490
- }, [e.length, C]);
491
- const D = Ee(() => {
490
+ }, [e.length, T]);
491
+ const D = Oe(() => {
492
492
  var A;
493
- const T = (A = d.current) == null ? void 0 : A.splide;
494
- T && (T.go(0, !1), C(T));
495
- }, [C]), k = Ee(
496
- (T) => {
497
- C(T);
493
+ const C = (A = d.current) == null ? void 0 : A.splide;
494
+ C && (C.go(0, !1), T(C));
495
+ }, [T]), y = Oe(
496
+ (C) => {
497
+ T(C);
498
498
  },
499
- [C]
500
- ), M = {
499
+ [T]
500
+ ), $ = {
501
501
  type: "slide",
502
502
  trimSpace: !1,
503
503
  drag: !0,
@@ -510,12 +510,12 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
510
510
  gap: o,
511
511
  breakpoints: i,
512
512
  ...r,
513
- ...h ? { wheel: !1 } : {}
513
+ ...g ? { wheel: !1 } : {}
514
514
  };
515
- return /* @__PURE__ */ b(
515
+ return /* @__PURE__ */ v(
516
516
  "div",
517
517
  {
518
- ref: g,
518
+ ref: f,
519
519
  className: s,
520
520
  style: { width: "100%", position: "relative", height: "100%" },
521
521
  children: [
@@ -523,24 +523,24 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
523
523
  _a,
524
524
  {
525
525
  ref: d,
526
- options: M,
527
- onMove: C,
528
- onMounted: k,
526
+ options: $,
527
+ onMove: T,
528
+ onMounted: y,
529
529
  onResize: D,
530
- children: e.map((T, A) => {
531
- var $;
532
- return /* @__PURE__ */ t(ya, { children: a(T, A) }, f ? A : ($ = T.id) != null ? $ : A);
530
+ children: e.map((C, A) => {
531
+ var M;
532
+ return /* @__PURE__ */ t(ya, { children: a(C, A) }, p ? A : (M = C.id) != null ? M : A);
533
533
  })
534
534
  }
535
535
  ),
536
- u && /* @__PURE__ */ b(pe, { children: [
536
+ u && /* @__PURE__ */ v(pe, { children: [
537
537
  /* @__PURE__ */ t(
538
538
  "div",
539
539
  {
540
- ref: _,
540
+ ref: x,
541
541
  className: `${ye.gradientOverlay} ${ye.left}`,
542
542
  style: { "--gradient-opacity": "0" },
543
- children: /* @__PURE__ */ b(
543
+ children: /* @__PURE__ */ v(
544
544
  "svg",
545
545
  {
546
546
  className: ye.svg,
@@ -550,7 +550,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
550
550
  xmlns: "http://www.w3.org/2000/svg",
551
551
  children: [
552
552
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
553
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
553
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ v("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
554
554
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
555
555
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
556
556
  ] }) })
@@ -562,10 +562,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
562
562
  /* @__PURE__ */ t(
563
563
  "div",
564
564
  {
565
- ref: I,
565
+ ref: _,
566
566
  className: `${ye.gradientOverlay} ${ye.right}`,
567
567
  style: { "--gradient-opacity": "1" },
568
- children: /* @__PURE__ */ b(
568
+ children: /* @__PURE__ */ v(
569
569
  "svg",
570
570
  {
571
571
  className: ye.svg,
@@ -575,7 +575,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
575
575
  xmlns: "http://www.w3.org/2000/svg",
576
576
  children: [
577
577
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
578
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
578
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ v("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
579
579
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
580
580
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
581
581
  ] }) })
@@ -598,7 +598,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
598
598
  const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (c) => {
599
599
  c.stopPropagation(), a == null || a();
600
600
  }, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
601
- return /* @__PURE__ */ b(
601
+ return /* @__PURE__ */ v(
602
602
  q,
603
603
  {
604
604
  onClick: a,
@@ -669,7 +669,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
669
669
  transition: "opacity .15s ease, transform .15s ease",
670
670
  pointerEvents: "none"
671
671
  },
672
- children: /* @__PURE__ */ t(X, { variant: "primary", size: "md", onClick: r, children: "Jugar" })
672
+ children: /* @__PURE__ */ t(Y, { variant: "primary", size: "md", onClick: r, children: "Jugar" })
673
673
  }
674
674
  )
675
675
  ]
@@ -686,18 +686,18 @@ function xa({
686
686
  md: { w: 186, h: 264, r: 22.6, font: 64 }
687
687
  }
688
688
  }) {
689
- var p, d, g, m;
690
- const r = (_, I) => {
691
- var y, v, C, D;
689
+ var m, d, f, b;
690
+ const r = (x, _) => {
691
+ var h, E, T, D;
692
692
  return {
693
- xs: (v = (y = i.xs) == null ? void 0 : y[_]) != null ? v : I,
694
- md: (D = (C = i.md) == null ? void 0 : C[_]) != null ? D : I
693
+ xs: (E = (h = i.xs) == null ? void 0 : h[x]) != null ? E : _,
694
+ md: (D = (T = i.md) == null ? void 0 : T[x]) != null ? D : _
695
695
  };
696
- }, s = r("w", 186), c = r("h", 264), f = r("r", 22.6), h = r("font", 64), u = {
697
- xs: Math.round(((d = (p = i.xs) == null ? void 0 : p.font) != null ? d : 64) * 0.28),
698
- md: Math.round(((m = (g = i.md) == null ? void 0 : g.font) != null ? m : 64) * 0.28)
696
+ }, s = r("w", 186), c = r("h", 264), p = r("r", 22.6), g = r("font", 64), u = {
697
+ xs: Math.round(((d = (m = i.xs) == null ? void 0 : m.font) != null ? d : 64) * 0.28),
698
+ md: Math.round(((b = (f = i.md) == null ? void 0 : f.font) != null ? b : 64) * 0.28)
699
699
  };
700
- return /* @__PURE__ */ b(
700
+ return /* @__PURE__ */ v(
701
701
  q,
702
702
  {
703
703
  sx: {
@@ -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: `${f.xs}px`, md: `${f.md}px` },
711
+ borderRadius: { xs: `${p.xs}px`, md: `${p.md}px` },
712
712
  boxSizing: "border-box",
713
713
  overflow: "visible",
714
714
  pb: { xs: `${u.xs}px`, md: `${u.md}px` },
@@ -771,8 +771,8 @@ function xa({
771
771
  },
772
772
  fontFamily: '"secondary", sans-serif',
773
773
  fontSize: {
774
- xs: `${h.xs}px`,
775
- md: `${h.md}px`
774
+ xs: `${g.xs}px`,
775
+ md: `${g.md}px`
776
776
  },
777
777
  lineHeight: 1,
778
778
  color: "#3CC666",
@@ -795,7 +795,7 @@ const wa = ({
795
795
  onClick: i
796
796
  }) => {
797
797
  var r;
798
- return /* @__PURE__ */ b(
798
+ return /* @__PURE__ */ v(
799
799
  q,
800
800
  {
801
801
  onClick: i,
@@ -866,7 +866,7 @@ const wa = ({
866
866
  ]
867
867
  }
868
868
  );
869
- }, Le = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(q, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
869
+ }, Pe = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(q, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
870
870
  j,
871
871
  {
872
872
  variant: "rectangular",
@@ -890,8 +890,8 @@ const wa = ({
890
890
  }) => {
891
891
  var r, s;
892
892
  if (a === "mosaic") {
893
- const c = e[0], f = e.slice(1, 5);
894
- return /* @__PURE__ */ b(
893
+ const c = e[0], p = e.slice(1, 5);
894
+ return /* @__PURE__ */ v(
895
895
  q,
896
896
  {
897
897
  sx: {
@@ -909,8 +909,8 @@ const wa = ({
909
909
  xs: "104px",
910
910
  md: "152px"
911
911
  },
912
- columnGap: `${Le}px`,
913
- rowGap: `${Le}px`,
912
+ columnGap: `${Pe}px`,
913
+ rowGap: `${Pe}px`,
914
914
  alignItems: "stretch",
915
915
  justifyItems: "stretch"
916
916
  },
@@ -936,8 +936,8 @@ const wa = ({
936
936
  )
937
937
  }
938
938
  ),
939
- (o ? Array.from({ length: 4 }) : f).map((h, u) => {
940
- var p, d;
939
+ (o ? Array.from({ length: 4 }) : p).map((g, u) => {
940
+ var m, d;
941
941
  return /* @__PURE__ */ t(
942
942
  q,
943
943
  {
@@ -950,14 +950,14 @@ const wa = ({
950
950
  children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
951
951
  Te,
952
952
  {
953
- imageUrl: `https://olimpo.bet${(d = (p = h.background) != null ? p : h.imageUrl) != null ? d : ""}`,
953
+ imageUrl: `https://olimpo.bet${(d = (m = g.background) != null ? m : g.imageUrl) != null ? d : ""}`,
954
954
  size: "sm",
955
955
  fillParent: !0,
956
- onClick: () => n == null ? void 0 : n(h, u + 1)
956
+ onClick: () => n == null ? void 0 : n(g, u + 1)
957
957
  }
958
958
  )
959
959
  },
960
- o ? `sk-${u}` : h.id
960
+ o ? `sk-${u}` : g.id
961
961
  );
962
962
  })
963
963
  ]
@@ -977,11 +977,11 @@ const wa = ({
977
977
  xs: "repeat(2, 112px)",
978
978
  md: "repeat(2, 168px)"
979
979
  },
980
- gap: `${Le}px`,
980
+ gap: `${Pe}px`,
981
981
  gridAutoFlow: "column"
982
982
  },
983
- children: (o ? Array.from({ length: i }) : e).map((c, f) => {
984
- var h, u, p;
983
+ children: (o ? Array.from({ length: i }) : e).map((c, p) => {
984
+ var g, u, m;
985
985
  return /* @__PURE__ */ t(
986
986
  q,
987
987
  {
@@ -989,19 +989,19 @@ const wa = ({
989
989
  children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
990
990
  Te,
991
991
  {
992
- imageUrl: `https://olimpo.bet${(u = (h = c.background) != null ? h : c.imageUrl) != null ? u : ""}`,
992
+ imageUrl: `https://olimpo.bet${(u = (g = c.background) != null ? g : c.imageUrl) != null ? u : ""}`,
993
993
  size: "sm",
994
994
  fillParent: !0,
995
- onClick: () => n == null ? void 0 : n(c, f)
995
+ onClick: () => n == null ? void 0 : n(c, p)
996
996
  }
997
997
  )
998
998
  },
999
- o ? `sk-${f}` : (p = c.id) != null ? p : f
999
+ o ? `sk-${p}` : (m = c.id) != null ? m : p
1000
1000
  );
1001
1001
  })
1002
1002
  }
1003
1003
  );
1004
- }, Je = ({
1004
+ }, Xe = ({
1005
1005
  title: e,
1006
1006
  amount: a,
1007
1007
  subtitle: n,
@@ -1010,10 +1010,10 @@ const wa = ({
1010
1010
  backgroundImage: r,
1011
1011
  alt: s,
1012
1012
  className: c = "",
1013
- variant: f = "small"
1013
+ variant: p = "small"
1014
1014
  }) => {
1015
- const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", p = f === "large";
1016
- return /* @__PURE__ */ b(
1015
+ const g = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", m = p === "large";
1016
+ return /* @__PURE__ */ v(
1017
1017
  q,
1018
1018
  {
1019
1019
  className: c,
@@ -1022,7 +1022,7 @@ const wa = ({
1022
1022
  width: "100%",
1023
1023
  maxWidth: {
1024
1024
  xs: 328,
1025
- md: p ? 618 : 456
1025
+ md: m ? 618 : 456
1026
1026
  },
1027
1027
  mx: "auto"
1028
1028
  },
@@ -1035,7 +1035,7 @@ const wa = ({
1035
1035
  width: "100%",
1036
1036
  aspectRatio: {
1037
1037
  xs: "328 / 188",
1038
- md: p ? "618 / 346" : "456 / 272"
1038
+ md: m ? "618 / 346" : "456 / 272"
1039
1039
  },
1040
1040
  borderRadius: "14px",
1041
1041
  overflow: "hidden"
@@ -1074,7 +1074,7 @@ const wa = ({
1074
1074
  pl: "14%",
1075
1075
  pr: { xs: "14%", lg: "15%" }
1076
1076
  },
1077
- children: /* @__PURE__ */ b(
1077
+ children: /* @__PURE__ */ v(
1078
1078
  q,
1079
1079
  {
1080
1080
  sx: {
@@ -1095,7 +1095,7 @@ const wa = ({
1095
1095
  children: e
1096
1096
  }
1097
1097
  ),
1098
- a && /* @__PURE__ */ b(
1098
+ a && /* @__PURE__ */ v(
1099
1099
  q,
1100
1100
  {
1101
1101
  component: "p",
@@ -1118,7 +1118,7 @@ const wa = ({
1118
1118
  {
1119
1119
  component: "span",
1120
1120
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
1121
- children: h
1121
+ children: g
1122
1122
  }
1123
1123
  ),
1124
1124
  /* @__PURE__ */ t(
@@ -1144,7 +1144,7 @@ const wa = ({
1144
1144
  children: n
1145
1145
  }
1146
1146
  ),
1147
- o && /* @__PURE__ */ t(X, { onClick: i, children: o })
1147
+ o && /* @__PURE__ */ t(Y, { onClick: i, children: o })
1148
1148
  ]
1149
1149
  }
1150
1150
  )
@@ -1161,7 +1161,7 @@ const wa = ({
1161
1161
  imgSrcMobile: i,
1162
1162
  imgSrcDesktopBg: r,
1163
1163
  imgSrcDesktopLogo: s
1164
- }) => /* @__PURE__ */ b(pe, { children: [
1164
+ }) => /* @__PURE__ */ v(pe, { children: [
1165
1165
  /* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
1166
1166
  "img",
1167
1167
  {
@@ -1170,7 +1170,7 @@ const wa = ({
1170
1170
  className: "orc-co-bgMobileImg"
1171
1171
  }
1172
1172
  ) }),
1173
- /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ b("div", { className: "orc-co-desktopInner", children: [
1173
+ /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ v("div", { className: "orc-co-desktopInner", children: [
1174
1174
  r && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
1175
1175
  "img",
1176
1176
  {
@@ -1179,7 +1179,7 @@ const wa = ({
1179
1179
  className: "orc-co-bgDesktopImg"
1180
1180
  }
1181
1181
  ) }),
1182
- /* @__PURE__ */ b("div", { className: "orc-co-desktopContent", children: [
1182
+ /* @__PURE__ */ v("div", { className: "orc-co-desktopContent", children: [
1183
1183
  s && /* @__PURE__ */ t(
1184
1184
  "img",
1185
1185
  {
@@ -1189,22 +1189,22 @@ const wa = ({
1189
1189
  }
1190
1190
  ),
1191
1191
  /* @__PURE__ */ t("p", { className: "orc-co-captionDesktop", children: e }),
1192
- /* @__PURE__ */ t(X, { onClick: n, variant: "primary", size: "md", children: a })
1192
+ /* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
1193
1193
  ] })
1194
1194
  ] }) }),
1195
- /* @__PURE__ */ b("div", { className: "orc-co-bottom", children: [
1195
+ /* @__PURE__ */ v("div", { className: "orc-co-bottom", children: [
1196
1196
  /* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
1197
- /* @__PURE__ */ t(X, { onClick: n, variant: "primary", size: "md", children: a })
1197
+ /* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
1198
1198
  ] })
1199
- ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ea = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", $a = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Na = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1199
+ ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Oa = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1200
1200
  card: Ia,
1201
- combinadas: Ca,
1202
- combinadasScroll: Oa,
1203
- apuestaItem: Ea,
1201
+ combinadas: Ea,
1202
+ combinadasScroll: Ca,
1203
+ apuestaItem: Oa,
1204
1204
  lineContainer: Ta,
1205
1205
  circle: ka,
1206
- line: $a,
1207
- apuestaText: Na,
1206
+ line: Na,
1207
+ apuestaText: $a,
1208
1208
  cuotaTotal: Ma
1209
1209
  };
1210
1210
  function Ue(e, a) {
@@ -1231,47 +1231,47 @@ async function gt(e) {
1231
1231
  })
1232
1232
  })).json();
1233
1233
  }
1234
- const ht = $t(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
1234
+ const ht = Nt(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
1235
1235
  const o = fe.useMemo(() => ({ docId: a, moduleId: n }), [a, n]);
1236
1236
  return /* @__PURE__ */ t(ht.Provider, { value: o, children: e });
1237
1237
  }, vt = () => {
1238
- const e = Nt(ht);
1238
+ const e = $t(ht);
1239
1239
  if (!e)
1240
1240
  throw new Error("useDocContext debe usarse dentro de DocIdProvider");
1241
1241
  return e;
1242
1242
  }, ne = () => vt().docId, le = () => vt().moduleId;
1243
1243
  function Ra({ coupon: e }) {
1244
- var h;
1244
+ var g;
1245
1245
  const a = ae(), n = ne();
1246
1246
  function o(u) {
1247
- var g, m;
1248
- const p = [], d = Array.from(
1247
+ var f, b;
1248
+ const m = [], d = Array.from(
1249
1249
  new Map(
1250
- ((g = u == null ? void 0 : u.events) != null ? g : []).filter(Boolean).map((_) => [_.id, _])
1250
+ ((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((x) => [x.id, x])
1251
1251
  ).values()
1252
1252
  );
1253
- return d.forEach((_) => {
1254
- var C;
1255
- const I = (C = _.betoffers) != null ? C : [], y = _.homeName, v = _.awayName;
1256
- I.forEach((D) => {
1257
- var A, $, x, O, P, z, R;
1253
+ return d.forEach((x) => {
1254
+ var T;
1255
+ const _ = (T = x.betoffers) != null ? T : [], h = x.homeName, E = x.awayName;
1256
+ _.forEach((D) => {
1257
+ var A, M, w, k, L, z, R;
1258
1258
  if (!((A = D == null ? void 0 : D.outcomes) != null && A.length)) return;
1259
- const k = D.outcomes[0];
1260
- if (!k) return;
1261
- let M = "";
1262
- const T = k != null && k.line ? k.line / 1e3 : "";
1263
- ["Más de", "Mas de", "Over"].includes(k.label) ? (M = `Más de ${T}`, k.participant && (M = `${k.participant} - ${M}`)) : ["Menos de", "Menos", "Under"].includes(k.label) ? (M = `Menos de ${T}`, k.participant && (M = `${k.participant} - ${M}`)) : ["Sí", "No"].includes(k.label) ? (M = k.label, k.participant && (M = `${k.participant} - ${M}`)) : ["1X", "12", "X2"].includes(k.label) ? (k.label === "1X" && (M = `${y} o Empate`), k.label === "12" && (M = `${y} o ${v}`), k.label === "X2" && (M = `${v} o Empate`)) : (M = (x = ($ = k.participant) != null ? $ : k.label) != null ? x : "", T !== "" && M === k.label && (M = `${k.label} ${T}`)), p.push({
1264
- id: k.id,
1265
- value: M,
1266
- label: (P = (O = D.criterion) == null ? void 0 : O.label) != null ? P : "",
1267
- odds: (z = k.odds) != null ? z : 0,
1268
- position: (R = k.position) != null ? R : 0,
1269
- eventId: _.id
1259
+ const y = D.outcomes[0];
1260
+ if (!y) return;
1261
+ let $ = "";
1262
+ const C = y != null && y.line ? y.line / 1e3 : "";
1263
+ ["Más de", "Mas de", "Over"].includes(y.label) ? ($ = `Más de ${C}`, y.participant && ($ = `${y.participant} - ${$}`)) : ["Menos de", "Menos", "Under"].includes(y.label) ? ($ = `Menos de ${C}`, y.participant && ($ = `${y.participant} - ${$}`)) : ["Sí", "No"].includes(y.label) ? ($ = y.label, y.participant && ($ = `${y.participant} - ${$}`)) : ["1X", "12", "X2"].includes(y.label) ? (y.label === "1X" && ($ = `${h} o Empate`), y.label === "12" && ($ = `${h} o ${E}`), y.label === "X2" && ($ = `${E} o Empate`)) : ($ = (w = (M = y.participant) != null ? M : y.label) != null ? w : "", C !== "" && $ === y.label && ($ = `${y.label} ${C}`)), m.push({
1264
+ id: y.id,
1265
+ value: $,
1266
+ label: (L = (k = D.criterion) == null ? void 0 : k.label) != null ? L : "",
1267
+ odds: (z = y.odds) != null ? z : 0,
1268
+ position: (R = y.position) != null ? R : 0,
1269
+ eventId: x.id
1270
1270
  });
1271
1271
  });
1272
1272
  }), {
1273
- outcomes: p.sort((_, I) => _.position - I.position),
1274
- total: Number((m = u == null ? void 0 : u.combinadoTotal) != null ? m : 0).toLocaleString("en-US", {
1273
+ outcomes: m.sort((x, _) => x.position - _.position),
1274
+ total: Number((b = u == null ? void 0 : u.combinadoTotal) != null ? b : 0).toLocaleString("en-US", {
1275
1275
  minimumFractionDigits: 2,
1276
1276
  maximumFractionDigits: 2
1277
1277
  }),
@@ -1281,47 +1281,47 @@ function Ra({ coupon: e }) {
1281
1281
  function i(u) {
1282
1282
  if (!u || !Array.isArray(u.events) || u.events.length === 0)
1283
1283
  return "/deportes#home";
1284
- const p = u.events;
1285
- if (p.length === 1)
1286
- return `/deportes#event/${p[0].id}`;
1287
- const d = p[0].groupId;
1288
- if (p.every((m) => m.groupId === d)) {
1289
- const m = p[0].path;
1290
- if (Array.isArray(m) && m.length > 0)
1291
- return `/deportes#sports-hub/${m.map((I) => I.termKey).filter(Boolean).join("/")}`;
1284
+ const m = u.events;
1285
+ if (m.length === 1)
1286
+ return `/deportes#event/${m[0].id}`;
1287
+ const d = m[0].groupId;
1288
+ if (m.every((b) => b.groupId === d)) {
1289
+ const b = m[0].path;
1290
+ if (Array.isArray(b) && b.length > 0)
1291
+ return `/deportes#sports-hub/${b.map((_) => _.termKey).filter(Boolean).join("/")}`;
1292
1292
  }
1293
1293
  return "/deportes#home";
1294
1294
  }
1295
- const r = (u, p) => {
1296
- const d = Array.isArray(u) ? u : [u], g = Array.from(
1295
+ const r = (u, m) => {
1296
+ const d = Array.isArray(u) ? u : [u], f = Array.from(
1297
1297
  new Set(
1298
- s.outcomes.map((I) => {
1299
- var v;
1300
- const y = f.get(Number(I.eventId));
1301
- return (v = y == null ? void 0 : y.name) != null ? v : "";
1298
+ s.outcomes.map((_) => {
1299
+ var E;
1300
+ const h = p.get(Number(_.eventId));
1301
+ return (E = h == null ? void 0 : h.name) != null ? E : "";
1302
1302
  })
1303
1303
  )
1304
- ).filter(Boolean), m = g.length > 0 ? g.join(" + ") : JSON.stringify(d), _ = p ? `${m} - Cuota: ${p}` : m;
1304
+ ).filter(Boolean), b = f.length > 0 ? f.join(" + ") : JSON.stringify(d), x = m ? `${b} - Cuota: ${m}` : b;
1305
1305
  a({
1306
1306
  element: "evento_semana_outcome",
1307
- label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${_}`,
1307
+ label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${x}`,
1308
1308
  target: "/deportes#in-play",
1309
1309
  event_type: "click",
1310
1310
  module_id: 301,
1311
1311
  metadata: {
1312
1312
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1313
1313
  },
1314
- tags: { section: "OraculoEventCombinadasCard", outcomes: _ }
1314
+ tags: { section: "OraculoEventCombinadasCard", outcomes: x }
1315
1315
  }), Ue(i(e), u);
1316
1316
  };
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), {}), f = new Map(
1317
+ if (!((g = e == null ? void 0 : e.events) != null && g.length)) return null;
1318
+ const s = o(e), c = s.outcomes.reduce((u, m) => (u[m.eventId] || (u[m.eventId] = []), u[m.eventId].push(m), u), {}), p = new Map(
1319
1319
  s.events.map((u) => [u.id, u])
1320
1320
  );
1321
- return /* @__PURE__ */ b("div", { className: ce.card, children: [
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 = f.get(Number(u));
1324
- return d ? /* @__PURE__ */ b(
1321
+ return /* @__PURE__ */ v("div", { className: ce.card, children: [
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, m]) => {
1323
+ const d = p.get(Number(u));
1324
+ return d ? /* @__PURE__ */ v(
1325
1325
  H,
1326
1326
  {
1327
1327
  direction: "column",
@@ -1343,23 +1343,23 @@ function Ra({ coupon: e }) {
1343
1343
  src: "/assets/img/home/Combinadas/line.png"
1344
1344
  }
1345
1345
  ),
1346
- p.map((g, m) => /* @__PURE__ */ b("div", { className: ce.apuestaItem, children: [
1347
- /* @__PURE__ */ b("div", { className: ce.lineContainer, children: [
1346
+ m.map((f, b) => /* @__PURE__ */ v("div", { className: ce.apuestaItem, children: [
1347
+ /* @__PURE__ */ v("div", { className: ce.lineContainer, children: [
1348
1348
  /* @__PURE__ */ t("div", { className: ce.circle }),
1349
- m < p.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1349
+ b < m.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1350
1350
  ] }),
1351
- /* @__PURE__ */ b("div", { className: ce.apuestaText, children: [
1352
- /* @__PURE__ */ t("strong", { children: g.value }),
1351
+ /* @__PURE__ */ v("div", { className: ce.apuestaText, children: [
1352
+ /* @__PURE__ */ t("strong", { children: f.value }),
1353
1353
  " | ",
1354
- g.label
1354
+ f.label
1355
1355
  ] })
1356
- ] }, `${u}-${m}`))
1356
+ ] }, `${u}-${b}`))
1357
1357
  ]
1358
1358
  },
1359
1359
  u
1360
1360
  ) : null;
1361
1361
  }) }) }) }),
1362
- /* @__PURE__ */ b(
1362
+ /* @__PURE__ */ v(
1363
1363
  "button",
1364
1364
  {
1365
1365
  onClick: () => r(
@@ -1368,7 +1368,7 @@ function Ra({ coupon: e }) {
1368
1368
  ),
1369
1369
  className: ce.cuotaTotal,
1370
1370
  children: [
1371
- /* @__PURE__ */ b("span", { children: [
1371
+ /* @__PURE__ */ v("span", { children: [
1372
1372
  "Cuota total: ",
1373
1373
  /* @__PURE__ */ t("strong", { children: s.total })
1374
1374
  ] }),
@@ -1399,7 +1399,7 @@ const de = {
1399
1399
  "orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
1400
1400
  "orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
1401
1401
  };
1402
- function Pa({
1402
+ function La({
1403
1403
  children: e,
1404
1404
  onClick: a,
1405
1405
  href: n,
@@ -1408,31 +1408,31 @@ function Pa({
1408
1408
  type: r = "button",
1409
1409
  disabled: s = !1,
1410
1410
  variant: c = "primary",
1411
- size: f,
1412
- fullWidth: h = !1,
1411
+ size: p,
1412
+ fullWidth: g = !1,
1413
1413
  fullHeight: u = !1,
1414
- className: p = "",
1414
+ className: m = "",
1415
1415
  ariaLabel: d,
1416
- leftIcon: g,
1417
- rightIcon: m,
1418
- iconOnly: _
1416
+ leftIcon: f,
1417
+ rightIcon: b,
1418
+ iconOnly: x
1419
1419
  }) {
1420
- const I = !!e && e !== !0, C = (!!g ? 1 : 0) + (!!m ? 1 : 0) == 1, D = _ != null ? _ : C && !I, k = [
1420
+ const _ = !!e && e !== !0, T = (!!f ? 1 : 0) + (!!b ? 1 : 0) == 1, D = x != null ? x : T && !_, y = [
1421
1421
  de["orc-btn"],
1422
1422
  // base
1423
1423
  de[`orc-btn--${c}`],
1424
1424
  // variant primary/secondary/tertiary
1425
- f ? de[`orc-btn--${f}`] : "",
1425
+ p ? de[`orc-btn--${p}`] : "",
1426
1426
  // sm / md / lg
1427
- h ? de["orc-btn--full"] : "",
1427
+ g ? de["orc-btn--full"] : "",
1428
1428
  u ? de["orc-btn--fullHeight"] : "",
1429
1429
  D ? de["orc-btn--iconOnly"] : "",
1430
- p
1431
- ].filter(Boolean).join(" "), M = /* @__PURE__ */ b(pe, { children: [
1432
- g && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: g }),
1430
+ m
1431
+ ].filter(Boolean).join(" "), $ = /* @__PURE__ */ v(pe, { children: [
1432
+ f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
1433
1433
  !D && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1434
- m && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: m })
1435
- ] }), T = s ? !0 : void 0;
1434
+ b && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: b })
1435
+ ] }), C = s ? !0 : void 0;
1436
1436
  return n ? /* @__PURE__ */ t(
1437
1437
  rt,
1438
1438
  {
@@ -1440,29 +1440,29 @@ function Pa({
1440
1440
  target: o,
1441
1441
  rel: i,
1442
1442
  "aria-label": d,
1443
- "aria-disabled": T,
1444
- tabIndex: T ? -1 : void 0,
1445
- className: k,
1446
- onClick: T ? (A) => A.preventDefault() : a,
1447
- children: M
1443
+ "aria-disabled": C,
1444
+ tabIndex: C ? -1 : void 0,
1445
+ className: y,
1446
+ onClick: C ? (A) => A.preventDefault() : a,
1447
+ children: $
1448
1448
  }
1449
1449
  ) : /* @__PURE__ */ t(
1450
1450
  "button",
1451
1451
  {
1452
1452
  type: r,
1453
1453
  onClick: a,
1454
- disabled: !!T,
1454
+ disabled: !!C,
1455
1455
  "aria-label": d,
1456
- className: k,
1457
- children: M
1456
+ className: y,
1457
+ children: $
1458
1458
  }
1459
1459
  );
1460
1460
  }
1461
- const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", qa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1462
- cardWrapper: La,
1461
+ const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", qa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1462
+ cardWrapper: Pa,
1463
1463
  customButtonLabel: Fa,
1464
1464
  customButtonDisabled: qa
1465
- }, Xe = {
1465
+ }, Je = {
1466
1466
  base: "FFFFFF",
1467
1467
  sleeve: "FFFFFF",
1468
1468
  number: "000000",
@@ -1479,16 +1479,16 @@ const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
1479
1479
  if (e === void 0)
1480
1480
  return null;
1481
1481
  if (e === null)
1482
- return a === "home" ? Xe : Ye;
1482
+ return a === "home" ? Je : Ye;
1483
1483
  const o = (r = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : r[n];
1484
- return o || (a === "home" ? Xe : Ye);
1484
+ return o || (a === "home" ? Je : Ye);
1485
1485
  };
1486
1486
  function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1487
- var c, f, h, u, p, d, g, m, _, I, y;
1487
+ var c, p, g, u, m, d, f, b, x, _, h;
1488
1488
  const i = n == null ? void 0 : n.find(
1489
- (v) => {
1490
- var C;
1491
- return ((C = v.betOfferType) == null ? void 0 : C.id) === 2;
1489
+ (E) => {
1490
+ var T;
1491
+ return ((T = E.betOfferType) == null ? void 0 : T.id) === 2;
1492
1492
  }
1493
1493
  ), r = {
1494
1494
  englishLabel: "",
@@ -1504,28 +1504,28 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1504
1504
  { ...r, id: -2, label: "X", odds: void 0 },
1505
1505
  { ...r, id: -3, label: "2", odds: void 0 }
1506
1506
  ];
1507
- return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1508
- /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1507
+ return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1508
+ /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1509
1509
  /* @__PURE__ */ t(
1510
1510
  Ht,
1511
1511
  {
1512
- title: (h = (f = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : f.name) != null ? h : "",
1512
+ title: (g = (p = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : p.name) != null ? g : "",
1513
1513
  subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
1514
1514
  live: !0,
1515
- time: ((p = a == null ? void 0 : a.matchClock) == null ? void 0 : p.minute) != null ? `${a.matchClock.minute}'` : ""
1515
+ time: ((m = a == null ? void 0 : a.matchClock) == null ? void 0 : m.minute) != null ? `${a.matchClock.minute}'` : ""
1516
1516
  }
1517
1517
  ),
1518
- /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1519
- /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
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
- /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1518
+ /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ v(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1519
+ /* @__PURE__ */ t($e, { 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) + ":" + ((x = (b = a == null ? void 0 : a.score) == null ? void 0 : b.away) != null ? x : 0), name: "En vivo" }),
1521
+ /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1522
1522
  ] }) })
1523
1523
  ] }),
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(Pa, { 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) }) }, C)) })
1524
+ /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : s).map((E, T) => /* @__PURE__ */ t(ut, { text: E.label.toUpperCase() }, T)) }),
1526
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((h = i == null ? void 0 : i.outcomes) != null ? h : s).map((E, T) => /* @__PURE__ */ t(La, { variant: "primary", disabled: E.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
+ Ue("/deportes#event/live/" + e.id, E.id);
1528
+ }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: E.odds === void 0 ? "" : (E.odds / 1e3).toFixed(2) }) }, T)) })
1529
1529
  ] })
1530
1530
  ] }) });
1531
1531
  }
@@ -1542,112 +1542,120 @@ 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, f, h, u, p, d;
1545
+ var s, c, p, g, u, m, d;
1546
1546
  const n = ae(), o = ne();
1547
- function i(g) {
1548
- const m = new Date(g), _ = m.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), I = m.getDate().toString().padStart(2, "0"), y = (m.getMonth() + 1).toString().padStart(2, "0");
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}`;
1547
+ function i(f) {
1548
+ const b = new Date(f), x = b.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), _ = b.getDate().toString().padStart(2, "0"), h = (b.getMonth() + 1).toString().padStart(2, "0");
1549
+ let E = b.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1550
+ return E = E.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${_}/${h} | ${E}`;
1551
1551
  }
1552
- const r = (g, m) => {
1553
- const _ = `${e.homeName} vs ${e.awayName}`, I = m ? (m / 1e3).toFixed(2) : "", y = I ? `${_} - Cuota: ${I}` : _;
1552
+ const r = (f, b) => {
1553
+ const x = `${e.homeName} vs ${e.awayName}`, _ = b ? (b / 1e3).toFixed(2) : "", h = _ ? `${x} - Cuota: ${_}` : x;
1554
1554
  n({
1555
1555
  element: "evento_semana_outcome",
1556
- label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${y}`,
1556
+ label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${h}`,
1557
1557
  target: "/deportes#in-play",
1558
1558
  event_type: "click",
1559
1559
  module_id: 301,
1560
1560
  metadata: {
1561
1561
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1562
1562
  },
1563
- tags: { section: "OraculoEventSemanaCard", outcomes: y }
1564
- }), Ue("/deportes#event/" + e.id, g);
1563
+ tags: { section: "OraculoEventSemanaCard", outcomes: h }
1564
+ }), Ue("/deportes#event/" + e.id, f);
1565
1565
  };
1566
- return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
1566
+ return /* @__PURE__ */ v("div", { className: be.cardContainer, children: [
1567
1567
  /* @__PURE__ */ t(mt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
1568
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1569
- /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1570
- /* @__PURE__ */ b("div", { className: be.equipos, children: [
1571
- /* @__PURE__ */ t(Ne, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1568
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1569
+ /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1570
+ /* @__PURE__ */ v("div", { className: be.equipos, children: [
1571
+ /* @__PURE__ */ t($e, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1572
1572
  /* @__PURE__ */ t(pt, { text: "vs.", name: "", size: "small" }),
1573
- /* @__PURE__ */ t(Ne, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1573
+ /* @__PURE__ */ t($e, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1574
1574
  ] }),
1575
1575
  /* @__PURE__ */ t(Wa, { text: i(e.start) })
1576
1576
  ] }),
1577
- /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
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)) }) })
1577
+ /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1578
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((g = (p = (c = e == null ? void 0 : e.outcome) == null ? void 0 : c[0]) == null ? void 0 : p.outcomes) != null ? g : []).map((f, b) => /* @__PURE__ */ t(ut, { text: f.label.toUpperCase() }, b)) }),
1579
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (m = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((f, b) => /* @__PURE__ */ t(Y, { variant: "primary", fullHeight: !0, onClick: () => {
1580
+ r(f.id, f.odds);
1581
+ }, children: (f.odds / 1e3).toFixed(2) }, b)) }) })
1582
1582
  ] })
1583
1583
  ] }) })
1584
1584
  ] });
1585
1585
  }
1586
- function Ja({
1586
+ function Xa({
1587
1587
  items: e,
1588
1588
  title: a = "Destacados",
1589
1589
  iconUrl: n,
1590
1590
  onViewMore: o,
1591
- className: i = ""
1591
+ className: i = "",
1592
+ paddingMobile: r = "16px"
1592
1593
  }) {
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
- var v;
1595
- f({
1594
+ var D;
1595
+ const s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), g = ae(), u = ne(), m = le(), d = !e || e.length === 0, f = () => {
1596
+ var y;
1597
+ g({
1596
1598
  element: "destacados_carousel_prev",
1597
- label: `${h} - OraculoSeccionDestacados - Anterior`,
1599
+ label: `${u} - OraculoSeccionDestacados - Anterior`,
1598
1600
  target: "carousel",
1599
1601
  event_type: "click",
1600
- module_id: u,
1602
+ module_id: m,
1601
1603
  metadata: {
1602
1604
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1603
1605
  },
1604
1606
  tags: { section: "OraculoSeccionDestacados" }
1605
- }), (v = r.current) == null || v.prev();
1606
- }, g = () => {
1607
- var v;
1608
- f({
1607
+ }), (y = s.current) == null || y.prev();
1608
+ }, b = () => {
1609
+ var y;
1610
+ g({
1609
1611
  element: "destacados_carousel_next",
1610
- label: `${h} - OraculoSeccionDestacados - Siguiente`,
1612
+ label: `${u} - OraculoSeccionDestacados - Siguiente`,
1611
1613
  target: "carousel",
1612
1614
  event_type: "click",
1613
- module_id: u,
1615
+ module_id: m,
1614
1616
  metadata: {
1615
1617
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1616
1618
  },
1617
1619
  tags: { section: "OraculoSeccionDestacados" }
1618
- }), (v = r.current) == null || v.next();
1619
- }, m = () => {
1620
- f({
1620
+ }), (y = s.current) == null || y.next();
1621
+ }, x = () => {
1622
+ g({
1621
1623
  element: "destacados_view_more",
1622
- label: `${h} - OraculoSeccionDestacados - Ver más`,
1624
+ label: `${u} - OraculoSeccionDestacados - Ver más`,
1623
1625
  target: "https://www.olimpo.bet/promociones",
1624
1626
  event_type: "click",
1625
- module_id: u,
1627
+ module_id: m,
1626
1628
  metadata: {
1627
1629
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1628
1630
  },
1629
1631
  tags: { section: "OraculoSeccionDestacados" }
1630
1632
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1631
- }, _ = (v) => {
1632
- if (!v) return;
1633
- const D = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
1634
- f({
1633
+ }, _ = (y) => {
1634
+ if (!y) return;
1635
+ const C = `https://www.olimpo.bet/promociones/${encodeURIComponent(y)}`;
1636
+ g({
1635
1637
  element: "destacados_card",
1636
- label: `${h} - OraculoSeccionDestacados - Click: ${String(v)}`,
1637
- target: D,
1638
+ label: `${u} - OraculoSeccionDestacados - Click: ${String(y)}`,
1639
+ target: C,
1638
1640
  event_type: "click",
1639
- module_id: u,
1641
+ module_id: m,
1640
1642
  metadata: {
1641
1643
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1642
1644
  },
1643
1645
  tags: {
1644
1646
  section: "OraculoSeccionDestacados",
1645
- promotion: String(v)
1647
+ promotion: String(y)
1646
1648
  }
1647
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(D);
1648
- }, I = i || void 0, y = xe("(max-width:950px)");
1649
- return /* @__PURE__ */ b("section", { className: I, style: { width: "100%" }, children: [
1650
- /* @__PURE__ */ b(
1649
+ }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(C);
1650
+ }, h = i || void 0, E = xe("(max-width:950px)"), T = (D = e == null ? void 0 : e.length) != null ? D : 0;
1651
+ return Q(() => {
1652
+ if (T === 0) {
1653
+ p({ isStart: !0, isEnd: !0 });
1654
+ return;
1655
+ }
1656
+ p({ isStart: !0, isEnd: !1 });
1657
+ }, [T, E, r]), /* @__PURE__ */ v("section", { className: h, style: { width: "100%" }, children: [
1658
+ /* @__PURE__ */ v(
1651
1659
  "header",
1652
1660
  {
1653
1661
  style: {
@@ -1656,68 +1664,67 @@ function Ja({
1656
1664
  alignItems: "center",
1657
1665
  columnGap: 12,
1658
1666
  rowGap: 8,
1659
- // marginBottom: 16,
1660
- paddingLeft: y ? 16 : 0,
1661
- paddingRight: y ? 16 : 0
1667
+ marginBottom: 16,
1668
+ paddingLeft: E ? r : 0,
1669
+ paddingRight: E ? r : 0
1662
1670
  },
1663
1671
  children: [
1664
1672
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1665
- /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8 }, children: [
1673
+ /* @__PURE__ */ v("div", { style: { display: "flex", gap: 8 }, children: [
1666
1674
  /* @__PURE__ */ t(
1667
- X,
1675
+ Y,
1668
1676
  {
1669
1677
  ariaLabel: "Anterior",
1670
1678
  variant: "secondary",
1671
1679
  iconOnly: !0,
1672
1680
  leftIcon: /* @__PURE__ */ t(Ae, {}),
1673
- onClick: d,
1674
- disabled: s.isStart || p
1681
+ onClick: f,
1682
+ disabled: c.isStart || d
1675
1683
  }
1676
1684
  ),
1677
1685
  /* @__PURE__ */ t(
1678
- X,
1686
+ Y,
1679
1687
  {
1680
1688
  ariaLabel: "Siguiente",
1681
1689
  variant: "secondary",
1682
1690
  iconOnly: !0,
1683
1691
  rightIcon: /* @__PURE__ */ t(ze, {}),
1684
- onClick: g,
1685
- disabled: s.isEnd || p
1692
+ onClick: b,
1693
+ disabled: c.isEnd || d
1686
1694
  }
1687
1695
  )
1688
1696
  ] }),
1689
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: m, children: "Ver más" })
1697
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: x, children: "Ver más" })
1690
1698
  ]
1691
1699
  }
1692
1700
  ),
1693
1701
  /* @__PURE__ */ t(
1694
1702
  he,
1695
1703
  {
1696
- ref: r,
1704
+ ref: s,
1697
1705
  items: e,
1698
1706
  perPage: void 0,
1699
1707
  gap: "16px",
1700
1708
  enableHorizontalWheel: !0,
1701
- showRightGradient: !y,
1709
+ showRightGradient: !E,
1702
1710
  options: { autoWidth: !0, trimSpace: "move" },
1703
1711
  breakpoints: {
1704
- 768: { perPage: 2, focus: "start", padding: { left: "24px", right: "24px" } },
1712
+ 768: { perPage: 2, focus: "start", padding: { left: r, right: r } },
1705
1713
  1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
1706
1714
  },
1707
- renderItem: (v) => /* @__PURE__ */ t(
1715
+ renderItem: (y) => /* @__PURE__ */ t(
1708
1716
  "div",
1709
1717
  {
1710
1718
  style: {
1711
1719
  textAlign: "center",
1712
- marginTop: 16,
1713
1720
  cursor: "pointer"
1714
1721
  },
1715
- onClick: () => _(v.promotion),
1722
+ onClick: () => _(y.promotion),
1716
1723
  children: /* @__PURE__ */ t(
1717
1724
  "img",
1718
1725
  {
1719
- src: `https://olimpo.bet${v.image !== "" ? v.image : v.summary_image}`,
1720
- alt: v.title,
1726
+ src: `https://olimpo.bet${y.image !== "" ? y.image : y.summary_image}`,
1727
+ alt: y.title,
1721
1728
  style: {
1722
1729
  width: "100%",
1723
1730
  height: typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px",
@@ -1728,19 +1735,19 @@ function Ja({
1728
1735
  }
1729
1736
  )
1730
1737
  },
1731
- `${v.title}-${v.image}`
1738
+ `${y.title}-${y.image}`
1732
1739
  ),
1733
- onMove: ({ isStart: v, isEnd: C }) => {
1734
- c({ isStart: v, isEnd: C }), f({
1740
+ onMove: ({ isStart: y, isEnd: $ }) => {
1741
+ p({ isStart: y, isEnd: $ }), g({
1735
1742
  element: "destacados_carousel_slide",
1736
- label: `${h} - OraculoSeccionDestacados - Slide Carousel`,
1743
+ label: `${u} - OraculoSeccionDestacados - Slide Carousel`,
1737
1744
  target: "carousel",
1738
1745
  event_type: "slide",
1739
- module_id: u,
1746
+ module_id: m,
1740
1747
  metadata: {
1741
1748
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1742
- isStart: v,
1743
- isEnd: C
1749
+ isStart: y,
1750
+ isEnd: $
1744
1751
  },
1745
1752
  tags: { section: "OraculoSeccionDestacados" }
1746
1753
  });
@@ -1749,12 +1756,12 @@ function Ja({
1749
1756
  )
1750
1757
  ] });
1751
1758
  }
1752
- const $e = "__ORACULO_EXTRAS__";
1759
+ const Ne = "__ORACULO_EXTRAS__";
1753
1760
  function _t() {
1754
1761
  const e = globalThis;
1755
- return e[$e] || (e[$e] = {}), e[$e];
1762
+ return e[Ne] || (e[Ne] = {}), e[Ne];
1756
1763
  }
1757
- function Xa(e) {
1764
+ function Ja(e) {
1758
1765
  _t().extras = e;
1759
1766
  }
1760
1767
  function se(e) {
@@ -1762,7 +1769,7 @@ function se(e) {
1762
1769
  return (a = _t().extras) == null ? void 0 : a[e];
1763
1770
  }
1764
1771
  function Ya() {
1765
- delete globalThis[$e];
1772
+ delete globalThis[Ne];
1766
1773
  }
1767
1774
  function Qa({
1768
1775
  items: e,
@@ -1771,36 +1778,36 @@ function Qa({
1771
1778
  onCardClick: o
1772
1779
  }) {
1773
1780
  const i = ae(), r = ne(), s = le(), c = ie(
1774
- () => (e != null ? e : []).map((p, d) => {
1775
- var g;
1781
+ () => (e != null ? e : []).map((m, d) => {
1782
+ var f;
1776
1783
  return {
1777
- ...p,
1778
- orden: (g = p.orden) != null ? g : d + 1,
1784
+ ...m,
1785
+ orden: (f = m.orden) != null ? f : d + 1,
1779
1786
  _originalIndex: d
1780
1787
  };
1781
- }).sort((p, d) => p.orden != null && d.orden != null ? p.orden - d.orden : p._originalIndex - d._originalIndex),
1788
+ }).sort((m, d) => m.orden != null && d.orden != null ? m.orden - d.orden : m._originalIndex - d._originalIndex),
1782
1789
  [e]
1783
- ), f = !e || e.length === 0, h = f ? Array.from({ length: 6 }) : c.slice(0, 6), u = (p) => {
1790
+ ), p = !e || e.length === 0, g = p ? Array.from({ length: 6 }) : c.slice(0, 6), u = (m) => {
1784
1791
  i({
1785
1792
  element: "top_juegos_card",
1786
- label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(p.machine || "unknown")}`,
1787
- target: String(p.machine || "unknown"),
1793
+ label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(m.machine || "unknown")}`,
1794
+ target: String(m.machine || "unknown"),
1788
1795
  event_type: "click",
1789
1796
  module_id: s,
1790
1797
  metadata: {
1791
1798
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1792
1799
  },
1793
1800
  tags: {
1794
- game_name: String(p.machine || "unknown"),
1801
+ game_name: String(m.machine || "unknown"),
1795
1802
  section: "OraculoSeccionTopJuegos"
1796
1803
  }
1797
1804
  });
1798
- const d = se("showIframe"), g = se("loadMachine");
1805
+ const d = se("showIframe"), f = se("loadMachine");
1799
1806
  d == null || d(), requestAnimationFrame(() => {
1800
- g == null || g(p, !1, "CASINO");
1807
+ f == null || f(m, !1, "CASINO");
1801
1808
  });
1802
1809
  };
1803
- return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1810
+ return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1804
1811
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1805
1812
  /* @__PURE__ */ t(
1806
1813
  q,
@@ -1815,19 +1822,19 @@ function Qa({
1815
1822
  justifyItems: "center",
1816
1823
  width: "100%"
1817
1824
  },
1818
- children: h.map((p, d) => {
1819
- var g, m;
1825
+ children: g.map((m, d) => {
1826
+ var f, b;
1820
1827
  return /* @__PURE__ */ t(
1821
1828
  xa,
1822
1829
  {
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
- o == null || o(p), u(p);
1830
+ imageUrl: p ? "" : m.background ? `https://olimpo.bet${m.background}` : `https://olimpo.bet${(f = m.logo) != null ? f : ""}`,
1831
+ orden: p ? d + 1 : m.orden,
1832
+ loading: p,
1833
+ onClick: p ? void 0 : () => {
1834
+ o == null || o(m), u(m);
1828
1835
  }
1829
1836
  },
1830
- f ? `sk-${d}` : (m = p.machine) != null ? m : `${d}`
1837
+ p ? `sk-${d}` : (b = m.machine) != null ? b : `${d}`
1831
1838
  );
1832
1839
  })
1833
1840
  }
@@ -1835,7 +1842,7 @@ function Qa({
1835
1842
  ] }) });
1836
1843
  }
1837
1844
  const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
1838
- var n, o, i, r, s, c, f, h, u, p, d, g, m, _;
1845
+ var n, o, i, r, s, c, p, g, u, m, d, f, b, x;
1839
1846
  return {
1840
1847
  orden: Number(a),
1841
1848
  machine: String(
@@ -1846,14 +1853,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1846
1853
  web_name: (r = e.product) != null ? r : "",
1847
1854
  provider: (s = e.service) != null ? s : "",
1848
1855
  sub_provider: (c = e.service) != null ? c : "",
1849
- external_id: (f = e.external_id) != null ? f : "",
1850
- type: (h = e.game_type) != null ? h : "",
1856
+ external_id: (p = e.external_id) != null ? p : "",
1857
+ type: (g = e.game_type) != null ? g : "",
1851
1858
  tags: (u = e.tags) != null ? u : "",
1852
- lobby_tag: (p = e.lobby_tag) != null ? p : null,
1859
+ lobby_tag: (m = e.lobby_tag) != null ? m : null,
1853
1860
  background: (d = e.background) != null ? d : "",
1854
- rtp: (g = e.rtp) != null ? g : null,
1855
- demo_allowed: (m = e.demo_allowed) != null ? m : !1,
1856
- gaming_session_required: (_ = e.gaming_session_required) != null ? _ : !1
1861
+ rtp: (f = e.rtp) != null ? f : null,
1862
+ demo_allowed: (b = e.demo_allowed) != null ? b : !1,
1863
+ gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
1857
1864
  };
1858
1865
  }, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
1859
1866
  var a, n, o;
@@ -1888,8 +1895,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1888
1895
  throw new Error(`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`);
1889
1896
  return (await i.json()).rankedItems;
1890
1897
  }, Ve = (e, a = !1, n = "Casino") => {
1891
- const [o, i] = Z([]), [r, s] = Z(!1);
1892
- return ee(() => {
1898
+ const [o, i] = X([]), [r, s] = X(!1);
1899
+ return Q(() => {
1893
1900
  let c = !1;
1894
1901
  return (async () => {
1895
1902
  if (!a) {
@@ -1898,33 +1905,33 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1898
1905
  }
1899
1906
  s(!0);
1900
1907
  try {
1901
- const h = await nn(n), u = an(h);
1908
+ const g = await nn(n), u = an(g);
1902
1909
  if (!u.length) {
1903
1910
  c || i([]);
1904
1911
  return;
1905
1912
  }
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 C = await fetch(`https://api.mktolimpo.com/api/machine/${y}`);
1909
- if (!C.ok)
1910
- throw new Error(`No se pudo obtener machine ${y}`);
1911
- const D = await C.json();
1912
- return tn(D, v);
1913
+ const m = yt(), d = await on(m, u), f = d.map((h) => h.itemId), b = await Promise.allSettled(
1914
+ f.map(async (h, E) => {
1915
+ const T = await fetch(`https://api.mktolimpo.com/api/machine/${h}`);
1916
+ if (!T.ok)
1917
+ throw new Error(`No se pudo obtener machine ${h}`);
1918
+ const D = await T.json();
1919
+ return tn(D, E);
1913
1920
  })
1914
1921
  );
1915
1922
  if (c) return;
1916
- const _ = m.filter(
1917
- (y) => y.status === "fulfilled"
1918
- ).map((y) => y.value), I = d.map((y) => {
1919
- const v = _.find((C) => C.machine === y.itemId);
1920
- return v ? { ...v, score: y.score } : null;
1921
- }).filter(Boolean).sort((y, v) => {
1922
- var C, D;
1923
- return ((C = v.score) != null ? C : 0) - ((D = y.score) != null ? D : 0);
1923
+ const x = b.filter(
1924
+ (h) => h.status === "fulfilled"
1925
+ ).map((h) => h.value), _ = d.map((h) => {
1926
+ const E = x.find((T) => T.machine === h.itemId);
1927
+ return E ? { ...E, score: h.score } : null;
1928
+ }).filter(Boolean).sort((h, E) => {
1929
+ var T, D;
1930
+ return ((T = E.score) != null ? T : 0) - ((D = h.score) != null ? D : 0);
1924
1931
  });
1925
- i(I);
1926
- } catch (h) {
1927
- console.error(`[usePersonalizeGameItems:${n}] error:`, h), c || i([]);
1932
+ i(_);
1933
+ } catch (g) {
1934
+ console.error(`[usePersonalizeGameItems:${n}] error:`, g), c || i([]);
1928
1935
  } finally {
1929
1936
  c || s(!1);
1930
1937
  }
@@ -1957,56 +1964,56 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1957
1964
  backgroundDesktopUrl: r = "",
1958
1965
  onViewMore: s,
1959
1966
  className: c,
1960
- isPersonalize: f = !1
1967
+ isPersonalize: p = !1
1961
1968
  }) => {
1962
- const h = ae(), u = ne(), p = le(), d = dn(f), { resolvedItems: g } = ln(
1969
+ const g = ae(), u = ne(), m = le(), d = dn(p), { resolvedItems: f } = ln(
1963
1970
  e,
1964
1971
  d
1965
- ), m = d ? g : Array.isArray(e) ? e : [], _ = (y) => {
1966
- h({
1972
+ ), b = d ? f : Array.isArray(e) ? e : [], x = (h) => {
1973
+ g({
1967
1974
  element: "live_casino_card",
1968
- label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(y.machine || "unknown")}`,
1969
- target: String(y.machine || "unknown"),
1975
+ label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(h.machine || "unknown")}`,
1976
+ target: String(h.machine || "unknown"),
1970
1977
  event_type: "click",
1971
- module_id: p,
1978
+ module_id: m,
1972
1979
  metadata: {
1973
1980
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1974
1981
  },
1975
1982
  tags: {
1976
- game_name: String(y.machine || "unknown"),
1977
- provider: y.provider || "unknown",
1983
+ game_name: String(h.machine || "unknown"),
1984
+ provider: h.provider || "unknown",
1978
1985
  section: "OraculoSeccionCasinoEnVivo"
1979
1986
  }
1980
1987
  });
1981
- const v = se("showIframe"), C = se("loadMachine");
1982
- if (!C) {
1988
+ const E = se("showIframe"), T = se("loadMachine");
1989
+ if (!T) {
1983
1990
  if (i) {
1984
- i(y);
1991
+ i(h);
1985
1992
  return;
1986
1993
  }
1987
1994
  console.warn(
1988
1995
  "[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
1989
- { machine: y == null ? void 0 : y.machine, provider: y == null ? void 0 : y.provider }
1996
+ { machine: h == null ? void 0 : h.machine, provider: h == null ? void 0 : h.provider }
1990
1997
  );
1991
1998
  return;
1992
1999
  }
1993
- v == null || v(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1994
- C == null || C(y, !1, "casino_en_vivo");
2000
+ E == null || E(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2001
+ T == null || T(h, !1, "casino_en_vivo");
1995
2002
  });
1996
- }, I = () => {
1997
- h({
2003
+ }, _ = () => {
2004
+ g({
1998
2005
  element: "casino_en_vivo_view_more",
1999
2006
  label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Ver más`,
2000
2007
  target: "https://www.olimpo.bet/casino-en-vivo",
2001
2008
  event_type: "click",
2002
- module_id: p,
2009
+ module_id: m,
2003
2010
  metadata: {
2004
2011
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2005
2012
  },
2006
2013
  tags: { section: "OraculoSeccionCasinoEnVivo" }
2007
2014
  }), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2008
2015
  };
2009
- return /* @__PURE__ */ b(
2016
+ return /* @__PURE__ */ v(
2010
2017
  q,
2011
2018
  {
2012
2019
  className: c,
@@ -2044,7 +2051,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2044
2051
  }
2045
2052
  }
2046
2053
  ),
2047
- /* @__PURE__ */ b(
2054
+ /* @__PURE__ */ v(
2048
2055
  q,
2049
2056
  {
2050
2057
  sx: {
@@ -2062,7 +2069,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2062
2069
  textAlign: { xs: "center", md: "left" }
2063
2070
  },
2064
2071
  children: [
2065
- /* @__PURE__ */ b(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2072
+ /* @__PURE__ */ v(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2066
2073
  /* @__PURE__ */ t(
2067
2074
  ue,
2068
2075
  {
@@ -2089,11 +2096,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2089
2096
  }
2090
2097
  ),
2091
2098
  /* @__PURE__ */ t(q, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
2092
- X,
2099
+ Y,
2093
2100
  {
2094
2101
  variant: "primary",
2095
2102
  size: "md",
2096
- onClick: I,
2103
+ onClick: _,
2097
2104
  children: "Ver más"
2098
2105
  }
2099
2106
  ) })
@@ -2109,28 +2116,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2109
2116
  py: { xs: 3, md: 0 },
2110
2117
  alignItems: "center"
2111
2118
  },
2112
- children: (m != null ? m : []).slice(0, 3).map((y, v) => {
2113
- var C;
2119
+ children: (b != null ? b : []).slice(0, 3).map((h, E) => {
2120
+ var T;
2114
2121
  return /* @__PURE__ */ t(
2115
2122
  wa,
2116
2123
  {
2117
- logo: `https://olimpo.bet${y.background ? y.background : (C = y.logo) != null ? C : ""}`,
2118
- provider: y.provider,
2119
- providerName: y.web_name,
2120
- machine: y.machine,
2121
- onClick: () => _(y)
2124
+ logo: `https://olimpo.bet${h.background ? h.background : (T = h.logo) != null ? T : ""}`,
2125
+ provider: h.provider,
2126
+ providerName: h.web_name,
2127
+ machine: h.machine,
2128
+ onClick: () => x(h)
2122
2129
  },
2123
- cn(y, v)
2130
+ cn(h, E)
2124
2131
  );
2125
2132
  })
2126
2133
  }
2127
2134
  ),
2128
2135
  /* @__PURE__ */ t(q, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
2129
- X,
2136
+ Y,
2130
2137
  {
2131
2138
  variant: "primary",
2132
2139
  size: "lg",
2133
- onClick: I,
2140
+ onClick: _,
2134
2141
  children: "Ver más"
2135
2142
  }
2136
2143
  ) })
@@ -2155,10 +2162,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2155
2162
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2156
2163
  }, pn = (e, a = !0, n = 1) => {
2157
2164
  const o = e.map((s, c) => {
2158
- var f;
2165
+ var p;
2159
2166
  return {
2160
2167
  id: xt(s, c),
2161
- imageUrl: (f = s.logo) != null ? f : "",
2168
+ imageUrl: (p = s.logo) != null ? p : "",
2162
2169
  ...s.background ? { background: s.background } : {}
2163
2170
  };
2164
2171
  });
@@ -2192,14 +2199,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2192
2199
  gridSize: s = 1,
2193
2200
  isPersonalize: c = !1
2194
2201
  }) => {
2195
- const f = ae(), h = ne(), u = le(), p = V(null), [d, g] = Z({ isStart: !0, isEnd: !1 }), m = mn(c), { resolvedItems: _, loading: I } = rn(
2202
+ const p = ae(), g = ne(), u = le(), m = V(null), [d, f] = X({ isStart: !0, isEnd: !1 }), b = mn(c), { resolvedItems: x, loading: _ } = rn(
2196
2203
  e,
2197
- m
2198
- ), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
2199
- var $;
2200
- f({
2204
+ b
2205
+ ), h = b ? x : Array.isArray(e) ? e : [], E = () => {
2206
+ var M;
2207
+ p({
2201
2208
  element: "casino_prev",
2202
- label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
2209
+ label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
2203
2210
  target: "prev",
2204
2211
  event_type: "click",
2205
2212
  module_id: u,
@@ -2207,12 +2214,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2207
2214
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2208
2215
  },
2209
2216
  tags: { section: "OraculoSeccionCasino" }
2210
- }), ($ = p.current) == null || $.prev();
2211
- }, C = () => {
2212
- var $;
2213
- f({
2217
+ }), (M = m.current) == null || M.prev();
2218
+ }, T = () => {
2219
+ var M;
2220
+ p({
2214
2221
  element: "casino_next",
2215
- label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
2222
+ label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
2216
2223
  target: "next",
2217
2224
  event_type: "click",
2218
2225
  module_id: u,
@@ -2220,11 +2227,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2220
2227
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2221
2228
  },
2222
2229
  tags: { section: "OraculoSeccionCasino" }
2223
- }), ($ = p.current) == null || $.next();
2230
+ }), (M = m.current) == null || M.next();
2224
2231
  }, D = () => {
2225
- if (f({
2232
+ if (p({
2226
2233
  element: "casino_view_more",
2227
- label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
2234
+ label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
2228
2235
  target: "https://www.olimpo.bet/casino",
2229
2236
  event_type: "click",
2230
2237
  module_id: u,
@@ -2237,15 +2244,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2237
2244
  return;
2238
2245
  }
2239
2246
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2240
- }, k = ($ = !0, x = 4) => {
2241
- const O = (z) => Array.from({ length: z }, (R, U) => ({
2247
+ }, y = (M = !0, w = 4) => {
2248
+ const k = (z) => Array.from({ length: z }, (R, U) => ({
2242
2249
  id: `sk-${z}-${U}`,
2243
2250
  imageUrl: ""
2244
- })), P = [];
2245
- return $ && P.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), P.push({ id: "grid-loading", kind: "grid", items: O(x) }), P;
2246
- }, M = m ? I : !Array.isArray(e) || e.length === 0, T = De("(max-width:950px)"), A = M ? k(r, s) : pn(y, r, s);
2247
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2248
- /* @__PURE__ */ b(
2251
+ })), L = [];
2252
+ return M && L.push({ id: "mosaic-loading", kind: "mosaic", items: k(5) }), L.push({ id: "grid-loading", kind: "grid", items: k(w) }), L;
2253
+ }, $ = b ? _ : !Array.isArray(e) || e.length === 0, C = De("(max-width:950px)"), A = $ ? y(r, s) : pn(h, r, s);
2254
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2255
+ /* @__PURE__ */ v(
2249
2256
  q,
2250
2257
  {
2251
2258
  sx: {
@@ -2261,44 +2268,44 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2261
2268
  },
2262
2269
  children: [
2263
2270
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2264
- /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2271
+ /* @__PURE__ */ v(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2265
2272
  /* @__PURE__ */ t(
2266
- X,
2273
+ Y,
2267
2274
  {
2268
2275
  ariaLabel: "Anterior",
2269
2276
  variant: "secondary",
2270
2277
  iconOnly: !0,
2271
2278
  leftIcon: /* @__PURE__ */ t(lt, {}),
2272
- onClick: v,
2279
+ onClick: E,
2273
2280
  disabled: d.isStart
2274
2281
  }
2275
2282
  ),
2276
2283
  /* @__PURE__ */ t(
2277
- X,
2284
+ Y,
2278
2285
  {
2279
2286
  ariaLabel: "Siguiente",
2280
2287
  variant: "secondary",
2281
2288
  iconOnly: !0,
2282
2289
  rightIcon: /* @__PURE__ */ t(ct, {}),
2283
- onClick: C,
2290
+ onClick: T,
2284
2291
  disabled: d.isEnd
2285
2292
  }
2286
2293
  )
2287
2294
  ] }),
2288
- /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2295
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: D, children: "Ver más" }) })
2289
2296
  ]
2290
2297
  }
2291
2298
  ),
2292
2299
  /* @__PURE__ */ t(
2293
2300
  he,
2294
2301
  {
2295
- ref: p,
2302
+ ref: m,
2296
2303
  items: A,
2297
2304
  perPage: void 0,
2298
2305
  gap: "16px",
2299
2306
  enableHorizontalWheel: !0,
2300
2307
  options: { autoWidth: !0, trimSpace: "move" },
2301
- showRightGradient: !T,
2308
+ showRightGradient: !C,
2302
2309
  breakpoints: {
2303
2310
  400: {
2304
2311
  gap: "4px",
@@ -2316,38 +2323,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2316
2323
  padding: { left: "24px", right: "24px" }
2317
2324
  }
2318
2325
  },
2319
- renderItem: ($) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2326
+ renderItem: (M) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2320
2327
  ft,
2321
2328
  {
2322
- items: $.items,
2323
- layout: $.kind === "mosaic" ? "mosaic" : "grid",
2324
- loading: M,
2325
- onClick: (x) => {
2326
- if (M) return;
2327
- const O = y.find(
2328
- (R, U) => String(xt(R, U)) === String(x.id)
2329
+ items: M.items,
2330
+ layout: M.kind === "mosaic" ? "mosaic" : "grid",
2331
+ loading: $,
2332
+ onClick: (w) => {
2333
+ if ($) return;
2334
+ const k = h.find(
2335
+ (R, U) => String(xt(R, U)) === String(w.id)
2329
2336
  );
2330
- if (!O) return;
2331
- o == null || o(O), f({
2337
+ if (!k) return;
2338
+ o == null || o(k), p({
2332
2339
  element: "casino_game_card",
2333
- label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
2334
- target: String(O.machine || "unknown"),
2340
+ label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(k.machine || "unknown")}`,
2341
+ target: String(k.machine || "unknown"),
2335
2342
  event_type: "click",
2336
2343
  module_id: u,
2337
2344
  metadata: {
2338
2345
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2339
2346
  },
2340
2347
  tags: {
2341
- game_name: String(O.machine || "unknown"),
2348
+ game_name: String(k.machine || "unknown"),
2342
2349
  section: a || "Casino"
2343
2350
  }
2344
2351
  });
2345
- const P = se("showIframe"), z = se("loadMachine");
2346
- P == null || P(), z == null || z(O, !1, "CASINO");
2352
+ const L = se("showIframe"), z = se("loadMachine");
2353
+ L == null || L(), z == null || z(k, !1, "CASINO");
2347
2354
  }
2348
2355
  }
2349
2356
  ) }),
2350
- onMove: ({ isStart: $, isEnd: x }) => g({ isStart: $, isEnd: x })
2357
+ onMove: ({ isStart: M, isEnd: w }) => f({ isStart: M, isEnd: w })
2351
2358
  }
2352
2359
  )
2353
2360
  ] }) });
@@ -2366,10 +2373,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2366
2373
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2367
2374
  }, hn = (e, a = !0, n = 1) => {
2368
2375
  const o = e.map((s, c) => {
2369
- var f;
2376
+ var p;
2370
2377
  return {
2371
2378
  id: wt(s, c),
2372
- imageUrl: (f = s.logo) != null ? f : "",
2379
+ imageUrl: (p = s.logo) != null ? p : "",
2373
2380
  ...s.background ? { background: s.background } : {}
2374
2381
  };
2375
2382
  });
@@ -2417,42 +2424,42 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2417
2424
  gridSize: s = 1,
2418
2425
  isPersonalize: c = !1
2419
2426
  }) => {
2420
- const f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), p = ae(), d = ne(), g = le(), m = gn(c), { resolvedItems: _, loading: I } = sn(
2427
+ const p = V(null), [g, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), f = le(), b = gn(c), { resolvedItems: x, loading: _ } = sn(
2421
2428
  e,
2422
- m
2423
- ), y = m ? _ : Array.isArray(e) ? e : [], v = () => {
2429
+ b
2430
+ ), h = b ? x : Array.isArray(e) ? e : [], E = () => {
2424
2431
  var A;
2425
- p({
2432
+ m({
2426
2433
  element: "virtuales_prev",
2427
- label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Anterior`,
2434
+ label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Anterior`,
2428
2435
  target: "prev",
2429
2436
  event_type: "click",
2430
- module_id: g,
2437
+ module_id: f,
2431
2438
  metadata: {
2432
2439
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2433
2440
  },
2434
2441
  tags: { section: "OraculoSeccionVirtuales" }
2435
- }), (A = f.current) == null || A.prev();
2436
- }, C = () => {
2442
+ }), (A = p.current) == null || A.prev();
2443
+ }, T = () => {
2437
2444
  var A;
2438
- p({
2445
+ m({
2439
2446
  element: "virtuales_next",
2440
- label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Siguiente`,
2447
+ label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Siguiente`,
2441
2448
  target: "next",
2442
2449
  event_type: "click",
2443
- module_id: g,
2450
+ module_id: f,
2444
2451
  metadata: {
2445
2452
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2446
2453
  },
2447
2454
  tags: { section: "OraculoSeccionVirtuales" }
2448
- }), (A = f.current) == null || A.next();
2455
+ }), (A = p.current) == null || A.next();
2449
2456
  }, D = () => {
2450
- if (p({
2457
+ if (m({
2451
2458
  element: "virtuales_view_more",
2452
- label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Ver más`,
2459
+ label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Ver más`,
2453
2460
  target: "https://www.olimpo.bet/juegos-virtuales",
2454
2461
  event_type: "click",
2455
- module_id: g,
2462
+ module_id: f,
2456
2463
  metadata: {
2457
2464
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2458
2465
  },
@@ -2462,9 +2469,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2462
2469
  return;
2463
2470
  }
2464
2471
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2465
- }, k = m ? I : !Array.isArray(e) || e.length === 0, M = xe("(max-width:950px)"), T = k ? bn(r, s) : hn(y, r, s);
2466
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2467
- /* @__PURE__ */ b(
2472
+ }, y = b ? _ : !Array.isArray(e) || e.length === 0, $ = xe("(max-width:950px)"), C = y ? bn(r, s) : hn(h, r, s);
2473
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2474
+ /* @__PURE__ */ v(
2468
2475
  q,
2469
2476
  {
2470
2477
  sx: {
@@ -2480,39 +2487,39 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2480
2487
  },
2481
2488
  children: [
2482
2489
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2483
- /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2490
+ /* @__PURE__ */ v(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2484
2491
  /* @__PURE__ */ t(
2485
- X,
2492
+ Y,
2486
2493
  {
2487
2494
  ariaLabel: "Anterior",
2488
2495
  variant: "secondary",
2489
2496
  iconOnly: !0,
2490
2497
  leftIcon: /* @__PURE__ */ t(lt, {}),
2491
- onClick: v,
2492
- disabled: h.isStart
2498
+ onClick: E,
2499
+ disabled: g.isStart
2493
2500
  }
2494
2501
  ),
2495
2502
  /* @__PURE__ */ t(
2496
- X,
2503
+ Y,
2497
2504
  {
2498
2505
  ariaLabel: "Siguiente",
2499
2506
  variant: "secondary",
2500
2507
  iconOnly: !0,
2501
2508
  rightIcon: /* @__PURE__ */ t(ct, {}),
2502
- onClick: C,
2503
- disabled: h.isEnd
2509
+ onClick: T,
2510
+ disabled: g.isEnd
2504
2511
  }
2505
2512
  )
2506
2513
  ] }),
2507
- /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2514
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: D, children: "Ver más" }) })
2508
2515
  ]
2509
2516
  }
2510
2517
  ),
2511
2518
  /* @__PURE__ */ t(
2512
2519
  he,
2513
2520
  {
2514
- ref: f,
2515
- items: T,
2521
+ ref: p,
2522
+ items: C,
2516
2523
  perPage: void 0,
2517
2524
  gap: "16px",
2518
2525
  breakpoints: {
@@ -2533,50 +2540,50 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2533
2540
  }
2534
2541
  },
2535
2542
  enableHorizontalWheel: !0,
2536
- showRightGradient: !M,
2543
+ showRightGradient: !$,
2537
2544
  options: { autoWidth: !0, trimSpace: "move" },
2538
2545
  renderItem: (A) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2539
2546
  ft,
2540
2547
  {
2541
2548
  items: A.items,
2542
2549
  layout: A.kind === "mosaic" ? "mosaic" : "grid",
2543
- loading: k,
2544
- onClick: ($) => {
2545
- if (k) return;
2546
- const x = y.find(
2547
- (z, R) => String(wt(z, R)) === String($.id)
2550
+ loading: y,
2551
+ onClick: (M) => {
2552
+ if (y) return;
2553
+ const w = h.find(
2554
+ (z, R) => String(wt(z, R)) === String(M.id)
2548
2555
  );
2549
- if (!x) {
2556
+ if (!w) {
2550
2557
  console.warn(
2551
2558
  "[virtuales] no se encontró game para id:",
2552
- $.id
2559
+ M.id
2553
2560
  );
2554
2561
  return;
2555
2562
  }
2556
- o == null || o(x), p({
2563
+ o == null || o(w), m({
2557
2564
  element: "virtuales_game_card",
2558
- label: `${d} - OraculoSeccionVirtuales${m ? " - personalize" : ""} - Game: ${String(x.machine || "unknown")}`,
2559
- target: String(x.machine || "unknown"),
2565
+ label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Game: ${String(w.machine || "unknown")}`,
2566
+ target: String(w.machine || "unknown"),
2560
2567
  event_type: "click",
2561
- module_id: g,
2568
+ module_id: f,
2562
2569
  metadata: {
2563
2570
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2564
2571
  },
2565
2572
  tags: {
2566
- game_name: String(x.machine || "unknown"),
2573
+ game_name: String(w.machine || "unknown"),
2567
2574
  section: a || "Virtuales"
2568
2575
  }
2569
2576
  });
2570
- const O = se("showIframe"), P = se("loadMachine");
2571
- O == null || O(), P == null || P(
2572
- x,
2577
+ const k = se("showIframe"), L = se("loadMachine");
2578
+ k == null || k(), L == null || L(
2579
+ w,
2573
2580
  !1,
2574
- m ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2581
+ b ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2575
2582
  );
2576
2583
  }
2577
2584
  }
2578
2585
  ) }),
2579
- onMove: ({ isStart: A, isEnd: $ }) => u({ isStart: A, isEnd: $ })
2586
+ onMove: ({ isStart: A, isEnd: M }) => u({ isStart: A, isEnd: M })
2580
2587
  }
2581
2588
  )
2582
2589
  ] }) });
@@ -2618,86 +2625,86 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2618
2625
  items: n,
2619
2626
  backgroundImageUrl: o
2620
2627
  }) => {
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
- ee(() => {
2623
- const x = setTimeout(() => {
2628
+ const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, p = V(null), g = V(null), u = V(!1), m = V(!1), [d, f] = X(0), [b, x] = X({ isStart: !0, isEnd: !1 });
2629
+ Q(() => {
2630
+ const w = setTimeout(() => {
2624
2631
  u.current = !0;
2625
2632
  }, 500);
2626
- return () => clearTimeout(x);
2633
+ return () => clearTimeout(w);
2627
2634
  }, []);
2628
- const I = V(m);
2629
- ee(() => {
2630
- I.current = m;
2631
- }, [m]);
2632
- const y = V(!1), v = V(null), C = n == null ? void 0 : n[d], D = ie(
2635
+ const _ = V(b);
2636
+ Q(() => {
2637
+ _.current = b;
2638
+ }, [b]);
2639
+ const h = V(!1), E = V(null), T = n == null ? void 0 : n[d], D = ie(
2633
2640
  () => {
2634
- var x, O;
2635
- return (O = (x = C == null ? void 0 : C.backgroundImageUrl) != null ? x : o) != null ? O : "";
2641
+ var w, k;
2642
+ return (k = (w = T == null ? void 0 : T.backgroundImageUrl) != null ? w : o) != null ? k : "";
2636
2643
  },
2637
- [C, o]
2638
- ), k = _n(D), M = !n || n.length === 0, T = (x, O) => {
2644
+ [T, o]
2645
+ ), y = _n(D), $ = !n || n.length === 0, C = (w, k) => {
2639
2646
  i({
2640
2647
  element: "welcome_banner_button",
2641
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${x.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
2648
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${w.title || "OraculoSeccionBonoBienvenida - Banner " + (k + 1)}`,
2642
2649
  target: "action",
2643
2650
  event_type: "click",
2644
2651
  module_id: 301,
2645
2652
  metadata: {
2646
2653
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2647
- banner_position: O + 1,
2654
+ banner_position: k + 1,
2648
2655
  banner_total: (n == null ? void 0 : n.length) || 0
2649
2656
  },
2650
2657
  tags: {
2651
- banner_title: x.title || "no_title",
2652
- button_text: x.buttonText || "no_text"
2658
+ banner_title: w.title || "no_title",
2659
+ button_text: w.buttonText || "no_text"
2653
2660
  }
2654
- }), x.onButtonClick && x.onButtonClick();
2655
- }, A = (x) => {
2661
+ }), w.onButtonClick && w.onButtonClick();
2662
+ }, A = (w) => {
2656
2663
  if (!u.current) return;
2657
- if (p.current) {
2658
- p.current = !1;
2664
+ if (m.current) {
2665
+ m.current = !1;
2659
2666
  return;
2660
2667
  }
2661
- const O = n == null ? void 0 : n[x];
2668
+ const k = n == null ? void 0 : n[w];
2662
2669
  i({
2663
2670
  element: "welcome_banner_carousel",
2664
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (x + 1)}`,
2671
+ label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(k == null ? void 0 : k.title) || "OraculoSeccionBonoBienvenida - Banner " + (w + 1)}`,
2665
2672
  target: "no_url",
2666
2673
  event_type: "view",
2667
2674
  module_id: 301,
2668
2675
  metadata: {
2669
2676
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2670
- slide_index: x + 1,
2677
+ slide_index: w + 1,
2671
2678
  total_slides: (n == null ? void 0 : n.length) || 0,
2672
2679
  interaction_type: "manual_slide"
2673
2680
  },
2674
2681
  tags: {
2675
- banner_position: String(x + 1),
2676
- banner_title: (O == null ? void 0 : O.title) || "no_title"
2682
+ banner_position: String(w + 1),
2683
+ banner_title: (k == null ? void 0 : k.title) || "no_title"
2677
2684
  }
2678
2685
  });
2679
2686
  };
2680
- ee(() => {
2681
- const x = h.current;
2682
- if (!x) return;
2683
- const O = 6, P = 380, z = (R) => {
2684
- var w, F;
2685
- if (M || R.ctrlKey || y.current) return;
2687
+ Q(() => {
2688
+ const w = g.current;
2689
+ if (!w) return;
2690
+ const k = 6, L = 380, z = (R) => {
2691
+ var J, I;
2692
+ if ($ || R.ctrlKey || h.current) return;
2686
2693
  const U = R.deltaX, W = R.deltaY;
2687
- if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < O) return;
2694
+ if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < k) return;
2688
2695
  const G = U > 0;
2689
- G && I.current.isEnd || !G && I.current.isStart || (R.preventDefault(), y.current = !0, G ? (w = f.current) == null || w.next() : (F = f.current) == null || F.prev(), v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
2690
- y.current = !1;
2691
- }, P));
2696
+ G && _.current.isEnd || !G && _.current.isStart || (R.preventDefault(), h.current = !0, G ? (J = p.current) == null || J.next() : (I = p.current) == null || I.prev(), E.current && window.clearTimeout(E.current), E.current = window.setTimeout(() => {
2697
+ h.current = !1;
2698
+ }, L));
2692
2699
  };
2693
- return x.addEventListener("wheel", z, { passive: !1 }), () => {
2694
- x.removeEventListener("wheel", z), v.current && window.clearTimeout(v.current);
2700
+ return w.addEventListener("wheel", z, { passive: !1 }), () => {
2701
+ w.removeEventListener("wheel", z), E.current && window.clearTimeout(E.current);
2695
2702
  };
2696
- }, [M]);
2697
- const $ = (x, O, P) => {
2703
+ }, [$]);
2704
+ const M = (w, k, L) => {
2698
2705
  var U, W;
2699
- const z = (U = x.headline) != null ? U : e, R = (W = x.headline2) != null ? W : a;
2700
- return O ? /* @__PURE__ */ b(
2706
+ const z = (U = w.headline) != null ? U : e, R = (W = w.headline2) != null ? W : a;
2707
+ return k ? /* @__PURE__ */ v(
2701
2708
  q,
2702
2709
  {
2703
2710
  sx: {
@@ -2719,9 +2726,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2719
2726
  justifyContent: "flex-start",
2720
2727
  minHeight: "100%"
2721
2728
  },
2722
- children: /* @__PURE__ */ b(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2729
+ children: /* @__PURE__ */ v(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2723
2730
  z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2724
- R && /* @__PURE__ */ b(pe, { children: [
2731
+ R && /* @__PURE__ */ v(pe, { children: [
2725
2732
  /* @__PURE__ */ t("br", {}),
2726
2733
  /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
2727
2734
  ] })
@@ -2729,38 +2736,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2729
2736
  }
2730
2737
  ),
2731
2738
  /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(q, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2732
- Je,
2739
+ Xe,
2733
2740
  {
2734
- ...x,
2735
- onButtonClick: () => T(x, P),
2741
+ ...w,
2742
+ onButtonClick: () => C(w, L),
2736
2743
  variant: "large"
2737
2744
  }
2738
2745
  ) }) })
2739
2746
  ]
2740
2747
  }
2741
- ) : /* @__PURE__ */ b(q, { sx: { textAlign: "center" }, children: [
2742
- (z || R) && /* @__PURE__ */ b(q, { sx: Qe, children: [
2748
+ ) : /* @__PURE__ */ v(q, { sx: { textAlign: "center" }, children: [
2749
+ (z || R) && /* @__PURE__ */ v(q, { sx: Qe, children: [
2743
2750
  z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2744
- R && /* @__PURE__ */ b(pe, { children: [
2751
+ R && /* @__PURE__ */ v(pe, { children: [
2745
2752
  /* @__PURE__ */ t("br", {}),
2746
2753
  /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
2747
2754
  ] })
2748
2755
  ] }),
2749
2756
  /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2750
- Je,
2757
+ Xe,
2751
2758
  {
2752
- ...x,
2753
- onButtonClick: () => T(x, P),
2759
+ ...w,
2760
+ onButtonClick: () => C(w, L),
2754
2761
  variant: "small"
2755
2762
  }
2756
2763
  ) })
2757
2764
  ] });
2758
2765
  };
2759
- return /* @__PURE__ */ b(q, { component: "section", sx: k, children: [
2760
- /* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
2766
+ return /* @__PURE__ */ v(q, { component: "section", sx: y, children: [
2767
+ /* @__PURE__ */ t("div", { ref: g, style: { width: "100%" }, children: /* @__PURE__ */ t(
2761
2768
  he,
2762
2769
  {
2763
- ref: f,
2770
+ ref: p,
2764
2771
  items: n,
2765
2772
  perPage: 1,
2766
2773
  gap: "0px",
@@ -2774,9 +2781,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2774
2781
  // arrows: false,
2775
2782
  // drag: true,
2776
2783
  },
2777
- renderItem: (x, O) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: $(x, !s, O) }),
2778
- onMove: ({ index: x, isStart: O, isEnd: P }) => {
2779
- g(x), typeof O == "boolean" && typeof P == "boolean" && _({ isStart: O, isEnd: P }), A(x);
2784
+ renderItem: (w, k) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: M(w, !s, k) }),
2785
+ onMove: ({ index: w, isStart: k, isEnd: L }) => {
2786
+ f(w), typeof k == "boolean" && typeof L == "boolean" && x({ isStart: k, isEnd: L }), A(w);
2780
2787
  }
2781
2788
  }
2782
2789
  ) }),
@@ -2785,23 +2792,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2785
2792
  {
2786
2793
  total: n.length,
2787
2794
  active: d,
2788
- onSelect: (x) => {
2789
- var O;
2795
+ onSelect: (w) => {
2796
+ var k;
2790
2797
  i({
2791
2798
  element: "welcome_banner_dots",
2792
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${x + 1}`,
2799
+ label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${w + 1}`,
2793
2800
  target: "no_url",
2794
2801
  event_type: "click",
2795
2802
  module_id: 301,
2796
2803
  metadata: {
2797
2804
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2798
- dot_index: x + 1,
2805
+ dot_index: w + 1,
2799
2806
  total_dots: n.length
2800
2807
  },
2801
2808
  tags: {
2802
2809
  navigation_type: "dot_click"
2803
2810
  }
2804
- }), g(x), (O = f.current) == null || O.go(x);
2811
+ }), f(w), (k = p.current) == null || k.go(w);
2805
2812
  }
2806
2813
  }
2807
2814
  ) })
@@ -2814,22 +2821,22 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2814
2821
  ariaLabel: i,
2815
2822
  user: r = null
2816
2823
  }) => {
2817
- const s = V(null), c = V(null), f = ae(), h = ne(), u = le();
2824
+ const s = V(null), c = V(null), p = ae(), g = ne(), u = le();
2818
2825
  if (!n) return null;
2819
- const p = async () => {
2820
- let _ = r;
2821
- if ((!(_ != null && _.user) || !(_ != null && _.session)) && typeof window != "undefined")
2826
+ const m = async () => {
2827
+ let x = r;
2828
+ if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
2822
2829
  try {
2823
- const I = localStorage.getItem("user");
2824
- I && (_ = JSON.parse(I));
2825
- } catch (I) {
2826
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", I);
2830
+ const _ = localStorage.getItem("user");
2831
+ _ && (x = JSON.parse(_));
2832
+ } catch (_) {
2833
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", _);
2827
2834
  }
2828
- if (!(_ != null && _.user) || !(_ != null && _.session))
2835
+ if (!(x != null && x.user) || !(x != null && x.session))
2829
2836
  return console.warn("User data missing"), null;
2830
- f({
2837
+ p({
2831
2838
  element: "club_olimpo_button",
2832
- label: `${h} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2839
+ label: `${g} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2833
2840
  target: "https://www.clubolimpo.com/OlimpoBetWeb/",
2834
2841
  event_type: "click",
2835
2842
  module_id: u,
@@ -2839,40 +2846,40 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2839
2846
  tags: { section: "OraculoSeccionClubOlimpo" }
2840
2847
  });
2841
2848
  try {
2842
- const I = {
2843
- idUsuario: "PE" + _.user,
2844
- session_id: _.session,
2849
+ const _ = {
2850
+ idUsuario: "PE" + x.user,
2851
+ session_id: x.session,
2845
2852
  pagina: "home"
2846
- }, v = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2853
+ }, E = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2847
2854
  method: "POST",
2848
2855
  headers: {
2849
2856
  "Content-Type": "application/json"
2850
2857
  },
2851
- body: JSON.stringify(I)
2858
+ body: JSON.stringify(_)
2852
2859
  });
2853
- if (v.ok) {
2854
- const C = await v.json();
2855
- return C == null ? void 0 : C.url;
2860
+ if (E.ok) {
2861
+ const T = await E.json();
2862
+ return T == null ? void 0 : T.url;
2856
2863
  }
2857
2864
  return null;
2858
- } catch (I) {
2859
- return console.error("[getMarketPlaceUrl]", I), null;
2865
+ } catch (_) {
2866
+ return console.error("[getMarketPlaceUrl]", _), null;
2860
2867
  }
2861
2868
  }, d = async () => {
2862
- const _ = await p();
2863
- _ ? window.location.href = _ : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2864
- }, g = Array.isArray(n) ? n[o] : n;
2869
+ const x = await m();
2870
+ x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2871
+ }, f = Array.isArray(n) ? n[o] : n;
2865
2872
  Mt(() => {
2866
2873
  if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
2867
- const _ = s.current, I = c.current, y = () => {
2868
- _.style.setProperty(
2874
+ const x = s.current, _ = c.current, h = () => {
2875
+ x.style.setProperty(
2869
2876
  "--orc-co-bottomH",
2870
- `${I.offsetHeight + 16}px`
2877
+ `${_.offsetHeight + 16}px`
2871
2878
  );
2872
- }, v = new ResizeObserver(y);
2873
- return v.observe(I), y(), () => v.disconnect();
2879
+ }, E = new ResizeObserver(h);
2880
+ return E.observe(_), h(), () => E.disconnect();
2874
2881
  }, []);
2875
- const m = [
2882
+ const b = [
2876
2883
  "orc-co-wrap",
2877
2884
  a ? "orc-co-fullBleed" : "",
2878
2885
  e
@@ -2881,18 +2888,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2881
2888
  "section",
2882
2889
  {
2883
2890
  ref: s,
2884
- className: m,
2885
- "aria-label": i || g.imgAlt || "Club Olimpo",
2891
+ className: b,
2892
+ "aria-label": i || f.imgAlt || "Club Olimpo",
2886
2893
  children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
2887
2894
  Sa,
2888
2895
  {
2889
- text: g.text,
2896
+ text: f.text,
2890
2897
  onClick: d,
2891
- imgAlt: g.imgAlt,
2892
- buttonLabel: g.buttonLabel,
2893
- imgSrcMobile: g.imgMobile,
2894
- imgSrcDesktopBg: g.imgDesktopBg,
2895
- imgSrcDesktopLogo: g.imgDesktopLogo
2898
+ imgAlt: f.imgAlt,
2899
+ buttonLabel: f.buttonLabel,
2900
+ imgSrcMobile: f.imgMobile,
2901
+ imgSrcDesktopBg: f.imgDesktopBg,
2902
+ imgSrcDesktopLogo: f.imgDesktopLogo
2896
2903
  }
2897
2904
  ) })
2898
2905
  }
@@ -2907,28 +2914,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2907
2914
  return (r = (i = o.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? r : [];
2908
2915
  }) : [];
2909
2916
  };
2910
- function Cn(e, a, n) {
2917
+ function En(e, a, n) {
2911
2918
  return n ? n.map((o) => {
2912
- var u, p;
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 = {};
2919
+ var u, m;
2920
+ 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])), p = {};
2914
2921
  for (const d of a) {
2915
2922
  if (!r.has(d.eventId)) continue;
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 }));
2923
+ const f = d.outcomes.filter((b) => s.has(b.id)).map((b) => ({ ...b, position: c.get(b.id) }));
2924
+ f.length && ((m = p[u = d.eventId]) != null || (p[u] = []), p[d.eventId].push({ ...d, outcomes: f }));
2918
2925
  }
2919
- const h = e.filter((d) => r.has(d.id)).map((d) => {
2920
- var g;
2921
- return { ...d, betoffers: (g = f[d.id]) != null ? g : [] };
2926
+ const g = e.filter((d) => r.has(d.id)).map((d) => {
2927
+ var f;
2928
+ return { ...d, betoffers: (f = p[d.id]) != null ? f : [] };
2922
2929
  });
2923
2930
  return {
2924
2931
  couponId: o.id,
2925
2932
  status: o.status,
2926
- combinadoTotal: On(o.prePackCouponRows),
2927
- events: h
2933
+ combinadoTotal: Cn(o.prePackCouponRows),
2934
+ events: g
2928
2935
  };
2929
2936
  }) : [];
2930
2937
  }
2931
- function On(e) {
2938
+ function Cn(e) {
2932
2939
  if (!Array.isArray(e) || e.length === 0) return 0;
2933
2940
  let a = 1;
2934
2941
  for (const n of e) {
@@ -2937,7 +2944,7 @@ function On(e) {
2937
2944
  }
2938
2945
  return Math.floor(a * 100) / 100;
2939
2946
  }
2940
- const En = fe.memo(Ra);
2947
+ const On = fe.memo(Ra);
2941
2948
  function Tn({
2942
2949
  items: e,
2943
2950
  title: a = "Combinadas del Olimpo",
@@ -2945,8 +2952,8 @@ function Tn({
2945
2952
  onViewMore: o,
2946
2953
  className: i = ""
2947
2954
  }) {
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
- var k;
2955
+ const r = ae(), s = ne(), c = le(), p = V(null), [g, u] = X({ isStart: !0, isEnd: !1 }), [m, d] = X([]), 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", b = () => {
2956
+ var y;
2950
2957
  r({
2951
2958
  element: "evento_combinadas_prev",
2952
2959
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
@@ -2956,9 +2963,9 @@ function Tn({
2956
2963
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2957
2964
  },
2958
2965
  tags: { section: "OraculoSeccionEventoCombinadas" }
2959
- }), (k = f.current) == null || k.prev();
2960
- }, _ = () => {
2961
- var k;
2966
+ }), (y = p.current) == null || y.prev();
2967
+ }, x = () => {
2968
+ var y;
2962
2969
  r({
2963
2970
  element: "evento_combinadas_next",
2964
2971
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
@@ -2968,8 +2975,8 @@ function Tn({
2968
2975
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2969
2976
  },
2970
2977
  tags: { section: "OraculoSeccionEventoCombinadas" }
2971
- }), (k = f.current) == null || k.next();
2972
- }, I = () => {
2978
+ }), (y = p.current) == null || y.next();
2979
+ }, _ = () => {
2973
2980
  r({
2974
2981
  element: "evento_combinadas_ver_mas",
2975
2982
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
@@ -2980,66 +2987,66 @@ function Tn({
2980
2987
  },
2981
2988
  tags: { section: "OraculoSeccionEventoCombinadas" }
2982
2989
  }), za();
2983
- }, y = ie(() => p.filter((k) => k.combinadoTotal !== null), [p]);
2984
- async function v() {
2985
- var k, M, T, A;
2990
+ }, h = ie(() => m.filter((y) => y.combinadoTotal !== null), [m]);
2991
+ async function E() {
2992
+ var y, $, C, A;
2986
2993
  try {
2987
- const x = await (await fetch(g)).json(), O = (A = (T = (M = (k = x == null ? void 0 : x.group) == null ? void 0 : k.groups) == null ? void 0 : M.map((U) => U.id)) == null ? void 0 : T.filter(Boolean)) == null ? void 0 : A.join(",");
2988
- if (!O) {
2994
+ const w = await (await fetch(f)).json(), k = (A = (C = ($ = (y = w == null ? void 0 : w.group) == null ? void 0 : y.groups) == null ? void 0 : $.map((U) => U.id)) == null ? void 0 : C.filter(Boolean)) == null ? void 0 : A.join(",");
2995
+ if (!k) {
2989
2996
  console.error("Could not extract group ID");
2990
2997
  return;
2991
2998
  }
2992
- const P = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(P)).json();
2993
- d(Cn(R.events, R.betOffers, R.prePackCoupons));
2994
- } catch ($) {
2995
- console.error("loadDataEventSpecial error:", $);
2999
+ const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${k}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(L)).json();
3000
+ d(En(R.events, R.betOffers, R.prePackCoupons));
3001
+ } catch (M) {
3002
+ console.error("loadDataEventSpecial error:", M);
2996
3003
  }
2997
3004
  }
2998
- ee(() => {
2999
- v();
3005
+ Q(() => {
3006
+ E();
3000
3007
  }, []);
3001
- const C = i || void 0, D = xe("(max-width:950px)");
3002
- return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: C, style: {
3008
+ const T = i || void 0, D = xe("(max-width:950px)");
3009
+ return h.length === 0 ? null : /* @__PURE__ */ t("section", { className: T, style: {
3003
3010
  // paddingLeft: 16,
3004
3011
  // paddingRight: 16,
3005
3012
  width: "100%",
3006
3013
  boxSizing: "border-box"
3007
- }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3008
- /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3014
+ }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3015
+ /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ v(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3009
3016
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3010
- /* @__PURE__ */ b("div", { className: at.controls, children: [
3011
- /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
3017
+ /* @__PURE__ */ v("div", { className: at.controls, children: [
3018
+ /* @__PURE__ */ v(me, { spacing: 1, columns: "auto auto", children: [
3012
3019
  /* @__PURE__ */ t(
3013
- X,
3020
+ Y,
3014
3021
  {
3015
3022
  ariaLabel: "Anterior",
3016
3023
  variant: "secondary",
3017
3024
  iconOnly: !0,
3018
3025
  leftIcon: /* @__PURE__ */ t(Ae, {}),
3019
- onClick: m,
3020
- disabled: h.isStart
3026
+ onClick: b,
3027
+ disabled: g.isStart
3021
3028
  }
3022
3029
  ),
3023
3030
  /* @__PURE__ */ t(
3024
- X,
3031
+ Y,
3025
3032
  {
3026
3033
  ariaLabel: "Siguiente",
3027
3034
  variant: "secondary",
3028
3035
  iconOnly: !0,
3029
3036
  rightIcon: /* @__PURE__ */ t(ze, {}),
3030
- onClick: _,
3031
- disabled: h.isEnd
3037
+ onClick: x,
3038
+ disabled: g.isEnd
3032
3039
  }
3033
3040
  )
3034
3041
  ] }),
3035
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: I, children: "Ver más" })
3042
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: _, children: "Ver más" })
3036
3043
  ] })
3037
3044
  ] }) }),
3038
3045
  /* @__PURE__ */ t(
3039
3046
  he,
3040
3047
  {
3041
- ref: f,
3042
- items: y,
3048
+ ref: p,
3049
+ items: h,
3043
3050
  perPage: void 0,
3044
3051
  gap: "16px",
3045
3052
  options: { autoWidth: !0, trimSpace: "move" },
@@ -3049,8 +3056,8 @@ function Tn({
3049
3056
  breakpoints: {
3050
3057
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3051
3058
  },
3052
- renderItem: (k) => /* @__PURE__ */ t(En, { coupon: k }),
3053
- onMove: ({ isStart: k, isEnd: M }) => u({ isStart: k, isEnd: M })
3059
+ renderItem: (y) => /* @__PURE__ */ t(On, { coupon: y }),
3060
+ onMove: ({ isStart: y, isEnd: $ }) => u({ isStart: y, isEnd: $ })
3054
3061
  }
3055
3062
  )
3056
3063
  ] }) });
@@ -3060,27 +3067,27 @@ function kn({}) {
3060
3067
  "div",
3061
3068
  {
3062
3069
  className: ke.cardWrapper,
3063
- children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1, children: [
3064
- /* @__PURE__ */ b(H, { spacing: 1, direction: "row", children: [
3070
+ children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1, children: [
3071
+ /* @__PURE__ */ v(H, { spacing: 1, direction: "row", children: [
3065
3072
  /* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
3066
3073
  /* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
3067
3074
  ] }),
3068
- /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3075
+ /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3069
3076
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
3070
3077
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
3071
3078
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
3072
3079
  ] }),
3073
- /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3080
+ /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3074
3081
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
3075
3082
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
3076
3083
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
3077
3084
  ] }),
3078
- /* @__PURE__ */ b(H, { spacing: 2, direction: "row", children: [
3085
+ /* @__PURE__ */ v(H, { spacing: 2, direction: "row", children: [
3079
3086
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3080
3087
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3081
3088
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
3082
3089
  ] }),
3083
- /* @__PURE__ */ b(H, { spacing: 2, direction: "row", children: [
3090
+ /* @__PURE__ */ v(H, { spacing: 2, direction: "row", children: [
3084
3091
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3085
3092
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3086
3093
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
@@ -3089,11 +3096,11 @@ function kn({}) {
3089
3096
  }
3090
3097
  );
3091
3098
  }
3092
- const $n = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Nn = {
3093
- fadeWrapper: $n
3099
+ const Nn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", $n = {
3100
+ fadeWrapper: Nn
3094
3101
  };
3095
3102
  function Be({ children: e }) {
3096
- return /* @__PURE__ */ t("div", { className: Nn.fadeWrapper, children: e });
3103
+ return /* @__PURE__ */ t("div", { className: $n.fadeWrapper, children: e });
3097
3104
  }
3098
3105
  const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3099
3106
  padding: Mn
@@ -3105,54 +3112,54 @@ function St({
3105
3112
  buffer: o = 2,
3106
3113
  debounceMs: i = 250
3107
3114
  }) {
3108
- const [r, s] = Z({}), c = V(/* @__PURE__ */ new Set()), f = V(0), h = V(null), u = V(null);
3109
- return ee(() => {
3115
+ const [r, s] = X({}), c = V(/* @__PURE__ */ new Set()), p = V(0), g = V(null), u = V(null);
3116
+ return Q(() => {
3110
3117
  if (!(!e || e.length === 0))
3111
- return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
3112
- var D, k;
3113
- const p = (D = a.start) != null ? D : 0, d = (k = a.end) != null ? k : 7, g = Math.max(0, p - o), m = Math.min(e.length - 1, d + o);
3114
- let _ = g, I = m;
3115
- const y = u.current;
3116
- y && (g > y.end && (_ = y.end + 1), m < y.start && (I = y.start - 1)), u.current = { start: g, end: m };
3117
- const v = e.slice(_, I + 1).map((M) => M == null ? void 0 : M.id).filter((M) => !!M).filter((M) => !c.current.has(M)).filter((M) => !(M in r));
3118
- if (v.length === 0) return;
3119
- v.forEach((M) => c.current.add(M));
3120
- const C = ++f.current;
3118
+ return g.current && clearTimeout(g.current), g.current = setTimeout(() => {
3119
+ var D, y;
3120
+ const m = (D = a.start) != null ? D : 0, d = (y = a.end) != null ? y : 7, f = Math.max(0, m - o), b = Math.min(e.length - 1, d + o);
3121
+ let x = f, _ = b;
3122
+ const h = u.current;
3123
+ h && (f > h.end && (x = h.end + 1), b < h.start && (_ = h.start - 1)), u.current = { start: f, end: b };
3124
+ const E = e.slice(x, _ + 1).map(($) => $ == null ? void 0 : $.id).filter(($) => !!$).filter(($) => !c.current.has($)).filter(($) => !($ in r));
3125
+ if (E.length === 0) return;
3126
+ E.forEach(($) => c.current.add($));
3127
+ const T = ++p.current;
3121
3128
  (async () => {
3122
3129
  try {
3123
- const M = await n(v);
3124
- if (C !== f.current) {
3125
- v.forEach((A) => c.current.delete(A));
3130
+ const $ = await n(E);
3131
+ if (T !== p.current) {
3132
+ E.forEach((A) => c.current.delete(A));
3126
3133
  return;
3127
3134
  }
3128
- if (!(M != null && M.events)) {
3129
- v.forEach(
3135
+ if (!($ != null && $.events)) {
3136
+ E.forEach(
3130
3137
  (A) => c.current.delete(A)
3131
3138
  );
3132
3139
  return;
3133
3140
  }
3134
3141
  s((A) => {
3135
- const $ = { ...A };
3136
- for (const [x, O] of Object.entries(M.events)) {
3137
- const P = Number(x);
3138
- $[P] || ($[P] = O);
3142
+ const M = { ...A };
3143
+ for (const [w, k] of Object.entries($.events)) {
3144
+ const L = Number(w);
3145
+ M[L] || (M[L] = k);
3139
3146
  }
3140
- return $;
3147
+ return M;
3141
3148
  });
3142
- const T = new Set(
3143
- Object.keys(M.events).map(Number)
3149
+ const C = new Set(
3150
+ Object.keys($.events).map(Number)
3144
3151
  );
3145
- v.forEach((A) => {
3152
+ E.forEach((A) => {
3146
3153
  c.current.delete(A);
3147
3154
  });
3148
- } catch (M) {
3149
- v.forEach(
3150
- (T) => c.current.delete(T)
3151
- ), console.error("Jersey fetch error", M);
3155
+ } catch ($) {
3156
+ E.forEach(
3157
+ (C) => c.current.delete(C)
3158
+ ), console.error("Jersey fetch error", $);
3152
3159
  }
3153
3160
  })();
3154
3161
  }, i), () => {
3155
- h.current && clearTimeout(h.current);
3162
+ g.current && clearTimeout(g.current);
3156
3163
  };
3157
3164
  }, [e, a, o, i, n]), {
3158
3165
  jerseys: r,
@@ -3176,52 +3183,52 @@ function Rn({
3176
3183
  onViewMore: o,
3177
3184
  className: i = ""
3178
3185
  }) {
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), I = ae(), y = ne(), v = le(), C = V(/* @__PURE__ */ new Map()), D = () => {
3186
+ 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, p] = X({ isStart: !0, isEnd: !1 }), [g, u] = X(null), [m, d] = X({ start: null, end: null }), [f, b] = X(null), x = V(!1), _ = ae(), h = ne(), E = le(), T = V(/* @__PURE__ */ new Map()), D = () => {
3180
3187
  var z;
3181
- I({
3188
+ _({
3182
3189
  element: "evento_en_vivo_prev",
3183
- label: `${y} - OraculoSeccionEventoEnVivo - Anterior`,
3190
+ label: `${h} - OraculoSeccionEventoEnVivo - Anterior`,
3184
3191
  target: "prev",
3185
3192
  event_type: "click",
3186
- module_id: v,
3193
+ module_id: E,
3187
3194
  metadata: {
3188
3195
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3189
3196
  },
3190
3197
  tags: { section: "OraculoSeccionEventoEnVivo" }
3191
3198
  }), (z = s.current) == null || z.prev();
3192
- }, k = () => {
3199
+ }, y = () => {
3193
3200
  var z;
3194
- I({
3201
+ _({
3195
3202
  element: "evento_en_vivo_next",
3196
- label: `${y} - OraculoSeccionEventoEnVivo - Siguiente`,
3203
+ label: `${h} - OraculoSeccionEventoEnVivo - Siguiente`,
3197
3204
  target: "next",
3198
3205
  event_type: "click",
3199
- module_id: v,
3206
+ module_id: E,
3200
3207
  metadata: {
3201
3208
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3202
3209
  },
3203
3210
  tags: { section: "OraculoSeccionEventoEnVivo" }
3204
3211
  }), (z = s.current) == null || z.next();
3205
- }, M = () => {
3206
- I({
3212
+ }, $ = () => {
3213
+ _({
3207
3214
  element: "evento_en_vivo_view_more",
3208
- label: `${y} - OraculoSeccionEventoEnVivo - Ver más`,
3215
+ label: `${h} - OraculoSeccionEventoEnVivo - Ver más`,
3209
3216
  target: "ver_mas",
3210
3217
  event_type: "click",
3211
- module_id: v,
3218
+ module_id: E,
3212
3219
  metadata: {
3213
3220
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3214
3221
  },
3215
3222
  tags: { section: "OraculoSeccionEventoEnVivo" }
3216
3223
  }), Ba();
3217
- }, T = Ee(async () => {
3224
+ }, C = Oe(async () => {
3218
3225
  var z;
3219
3226
  try {
3220
- if (!_.current) {
3221
- _.current = !0;
3227
+ if (!x.current) {
3228
+ x.current = !0;
3222
3229
  try {
3223
- const w = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), F = ((z = w == null ? void 0 : w.data) == null ? void 0 : z.event_ids) || [], K = /* @__PURE__ */ new Map();
3224
- F.forEach((Y, l) => K.set(String(Y), l)), C.current = K;
3230
+ const J = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), I = ((z = J == null ? void 0 : J.data) == null ? void 0 : z.event_ids) || [], P = /* @__PURE__ */ new Map();
3231
+ I.forEach((K, l) => P.set(String(K), l)), T.current = P;
3225
3232
  } catch (G) {
3226
3233
  console.error("Order fetch failed, using default sorting", G);
3227
3234
  }
@@ -3229,12 +3236,12 @@ function Rn({
3229
3236
  const R = await fetch(r);
3230
3237
  if (!R.ok) throw new Error("Failed to fetch live events");
3231
3238
  const U = await R.json(), W = An(U.events);
3232
- if (C.current.size === 0)
3239
+ if (T.current.size === 0)
3233
3240
  u(W);
3234
3241
  else {
3235
- const G = [...W].sort((w, F) => {
3236
- const K = C.current.get(String(w.event.id)), Y = C.current.get(String(F.event.id));
3237
- return (K !== void 0 ? K : 1 / 0) - (Y !== void 0 ? Y : 1 / 0);
3242
+ const G = [...W].sort((J, I) => {
3243
+ const P = T.current.get(String(J.event.id)), K = T.current.get(String(I.event.id));
3244
+ return (P !== void 0 ? P : 1 / 0) - (K !== void 0 ? K : 1 / 0);
3238
3245
  });
3239
3246
  u(G);
3240
3247
  }
@@ -3242,33 +3249,33 @@ function Rn({
3242
3249
  console.error("LoadData Error:", R);
3243
3250
  }
3244
3251
  }, []);
3245
- ee(() => {
3246
- T();
3247
- const z = setInterval(T, 2e4);
3252
+ Q(() => {
3253
+ C();
3254
+ const z = setInterval(C, 2e4);
3248
3255
  return () => clearInterval(z);
3249
- }, [T]);
3256
+ }, [C]);
3250
3257
  const { jerseys: A } = St({
3251
- events: (h == null ? void 0 : h.map((z) => z.event)) || [],
3258
+ events: (g == null ? void 0 : g.map((z) => z.event)) || [],
3252
3259
  // extract actual event objects
3253
- visibleRange: p,
3260
+ visibleRange: m,
3254
3261
  fetchJerseys: gt,
3255
3262
  buffer: 3,
3256
3263
  // same as your previous BUFFER
3257
3264
  debounceMs: 300
3258
3265
  // same as your previous debouncedVisibleRange
3259
- }), $ = i || void 0, x = h === null, O = ie(() => x ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [x, h]), P = xe("(max-width:950px)");
3260
- return !x && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
3266
+ }), M = i || void 0, w = g === null, k = ie(() => w ? Array(4).fill({}) : (g == null ? void 0 : g.slice(0, 20)) || [], [w, g]), L = xe("(max-width:950px)");
3267
+ return !w && g.length === 0 ? null : /* @__PURE__ */ t("section", { className: M, style: {
3261
3268
  // paddingLeft: 16,
3262
3269
  // paddingRight: 16,
3263
3270
  width: "100%",
3264
3271
  boxSizing: "border-box"
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: [
3272
+ }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3273
+ /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ v(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3267
3274
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3268
- /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3269
- /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
3275
+ /* @__PURE__ */ v("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3276
+ /* @__PURE__ */ v(me, { spacing: 1, columns: "auto auto", children: [
3270
3277
  /* @__PURE__ */ t(
3271
- X,
3278
+ Y,
3272
3279
  {
3273
3280
  ariaLabel: "Anterior",
3274
3281
  variant: "secondary",
@@ -3279,27 +3286,27 @@ function Rn({
3279
3286
  }
3280
3287
  ),
3281
3288
  /* @__PURE__ */ t(
3282
- X,
3289
+ Y,
3283
3290
  {
3284
3291
  ariaLabel: "Siguiente",
3285
3292
  variant: "secondary",
3286
3293
  iconOnly: !0,
3287
3294
  rightIcon: /* @__PURE__ */ t(ze, {}),
3288
- onClick: k,
3295
+ onClick: y,
3289
3296
  disabled: c.isEnd
3290
3297
  }
3291
3298
  )
3292
3299
  ] }),
3293
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: M, children: "Ver más" })
3300
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: $, children: "Ver más" })
3294
3301
  ] })
3295
3302
  ] }) }),
3296
3303
  /* @__PURE__ */ t(
3297
3304
  he,
3298
3305
  {
3299
3306
  ref: s,
3300
- items: O,
3307
+ items: k,
3301
3308
  perPage: void 0,
3302
- showRightGradient: !P,
3309
+ showRightGradient: !L,
3303
3310
  enableHorizontalWheel: !0,
3304
3311
  gap: "16px",
3305
3312
  options: { autoWidth: !0, trimSpace: "move" },
@@ -3311,7 +3318,7 @@ function Rn({
3311
3318
  renderItem: (z) => {
3312
3319
  var W;
3313
3320
  const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in A ? A[R] : void 0;
3314
- return x ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3321
+ return w ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3315
3322
  zn,
3316
3323
  {
3317
3324
  ...z,
@@ -3320,7 +3327,7 @@ function Rn({
3320
3327
  ) });
3321
3328
  },
3322
3329
  onMove: ({ isStart: z, isEnd: R, visibleStart: U, visibleEnd: W }) => {
3323
- f(
3330
+ p(
3324
3331
  (G) => G.isStart === z && G.isEnd === R ? G : { isStart: z, isEnd: R }
3325
3332
  ), d({ start: U, end: W });
3326
3333
  }
@@ -3328,26 +3335,26 @@ function Rn({
3328
3335
  )
3329
3336
  ] }) });
3330
3337
  }
3331
- function Pn() {
3332
- return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
3338
+ function Ln() {
3339
+ return /* @__PURE__ */ v("div", { className: be.cardContainer, children: [
3333
3340
  /* @__PURE__ */ t(mt, { title: "" }),
3334
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3335
- /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3341
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3342
+ /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3336
3343
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
3337
3344
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
3338
3345
  ] }),
3339
- /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3340
- /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3346
+ /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3347
+ /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3341
3348
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
3342
3349
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
3343
3350
  ] }),
3344
3351
  /* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
3345
- /* @__PURE__ */ b(H, { direction: "row", spacing: 1, children: [
3352
+ /* @__PURE__ */ v(H, { direction: "row", spacing: 1, children: [
3346
3353
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3347
3354
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3348
3355
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
3349
3356
  ] }),
3350
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ b(H, { direction: "row", spacing: 1, children: [
3357
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ v(H, { direction: "row", spacing: 1, children: [
3351
3358
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3352
3359
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3353
3360
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
@@ -3356,8 +3363,8 @@ function Pn() {
3356
3363
  ] }) })
3357
3364
  ] });
3358
3365
  }
3359
- const Ln = "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
- wrapper: Ln,
3366
+ 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 = {
3367
+ wrapper: Pn,
3361
3368
  container: Fn,
3362
3369
  buttonWrapper: qn,
3363
3370
  padding: Dn
@@ -3368,7 +3375,7 @@ async function Vn(e, a = 2, n) {
3368
3375
  if (n.aborted)
3369
3376
  throw new DOMException("Aborted", "AbortError");
3370
3377
  const r = e.slice(i, i + a), s = await Promise.all(
3371
- r.map((c) => fetch(c, { signal: n }).then((f) => f.json()))
3378
+ r.map((c) => fetch(c, { signal: n }).then((p) => p.json()))
3372
3379
  );
3373
3380
  o.push(...s);
3374
3381
  }
@@ -3404,7 +3411,7 @@ function Hn({
3404
3411
  onViewMore: o,
3405
3412
  className: i = ""
3406
3413
  }) {
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 }), I = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
3414
+ const r = ae(), s = ne(), c = le(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", g = V(null), [u, m] = X({ isStart: !0, isEnd: !1 }), [d, f] = X(null), [b, x] = X({ start: null, end: null }), _ = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", h = () => {
3408
3415
  r({
3409
3416
  element: "evento_semana_view_more",
3410
3417
  label: `${s} - OraculoSeccionEventoSemana - Ver más`,
@@ -3417,24 +3424,24 @@ function Hn({
3417
3424
  tags: { section: "OraculoSeccionEventoSemana" }
3418
3425
  }), Aa();
3419
3426
  };
3420
- async function v($) {
3421
- var P, z;
3422
- let x = [], O = [];
3427
+ async function E(M) {
3428
+ var L, z;
3429
+ let w = [], k = [];
3423
3430
  try {
3424
3431
  const R = await fetch(
3425
3432
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
3426
- { signal: $ }
3433
+ { signal: M }
3427
3434
  );
3428
3435
  if (R.ok) {
3429
3436
  const U = await R.json();
3430
- x = ((P = U == null ? void 0 : U.data) == null ? void 0 : P.group_ids) || [], O = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3437
+ w = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], k = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3431
3438
  }
3432
3439
  } catch (R) {
3433
3440
  R.name !== "AbortError" && console.warn("Order API not available, using default group order");
3434
3441
  return;
3435
3442
  }
3436
3443
  try {
3437
- const W = (await (await fetch(f, { signal: $ })).json()).group.groups.find(
3444
+ const W = (await (await fetch(p, { signal: M })).json()).group.groups.find(
3438
3445
  (l) => l.englishName === "Football"
3439
3446
  );
3440
3447
  if (!W || !Array.isArray(W.groups)) {
@@ -3442,90 +3449,90 @@ function Hn({
3442
3449
  return;
3443
3450
  }
3444
3451
  let G = [...W.groups];
3445
- if (x.length > 0) {
3452
+ if (w.length > 0) {
3446
3453
  const l = new Map(
3447
- x.map((S, E) => [S, E])
3454
+ w.map((S, O) => [S, O])
3448
3455
  );
3449
- G.sort((S, E) => {
3450
- const N = l.get(String(S.id)), B = l.get(String(E.id));
3456
+ G.sort((S, O) => {
3457
+ const N = l.get(String(S.id)), B = l.get(String(O.id));
3451
3458
  return N !== void 0 && B !== void 0 ? N - B : N !== void 0 ? -1 : B !== void 0 ? 1 : 0;
3452
3459
  });
3453
3460
  }
3454
- const F = G.slice(0, 5), K = (l) => {
3461
+ const I = G.slice(0, 5), P = (l) => {
3455
3462
  const S = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3456
3463
  if (l.groups && l.groups.length > 0) {
3457
- const E = l.groups[0];
3464
+ const O = l.groups[0];
3458
3465
  return [
3459
- `${S}/${l.termKey}/${E.termKey}/all/matches.json?${I}`
3466
+ `${S}/${l.termKey}/${O.termKey}/all/matches.json?${_}`
3460
3467
  ];
3461
3468
  }
3462
3469
  return [
3463
- `${S}/${l.termKey}/all/all/matches.json?${I}`
3470
+ `${S}/${l.termKey}/all/all/matches.json?${_}`
3464
3471
  ];
3465
- }, Y = F.flatMap(K);
3466
- C(Y, O, $);
3472
+ }, K = I.flatMap(P);
3473
+ T(K, k, M);
3467
3474
  } catch (R) {
3468
3475
  console.error(R);
3469
3476
  }
3470
3477
  }
3471
- async function C($, x, O) {
3478
+ async function T(M, w, k) {
3472
3479
  try {
3473
- const P = await Vn($, 2, O);
3480
+ const L = await Vn(M, 2, k);
3474
3481
  let z = [], R = [];
3475
- P.forEach((w) => {
3476
- w.events && (z.push(...w.events.map((F) => F.event)), R.push(
3477
- ...w.events.flatMap((F) => F.betOffers || [])
3482
+ L.forEach((J) => {
3483
+ J.events && (z.push(...J.events.map((I) => I.event)), R.push(
3484
+ ...J.events.flatMap((I) => I.betOffers || [])
3478
3485
  ));
3479
3486
  });
3480
3487
  const U = jn(z, R), W = Wn(Gn(U));
3481
3488
  let G = W;
3482
- if (x.length > 0) {
3483
- const w = new Map(
3484
- x.map((F, K) => [
3485
- String(F),
3486
- K
3489
+ if (w.length > 0) {
3490
+ const J = new Map(
3491
+ w.map((I, P) => [
3492
+ String(I),
3493
+ P
3487
3494
  ])
3488
3495
  );
3489
- G = [...W].sort((F, K) => {
3490
- const Y = w.get(String(F.id)), l = w.get(String(K.id));
3491
- return Y !== void 0 && l !== void 0 ? Y - l : Y !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3496
+ G = [...W].sort((I, P) => {
3497
+ const K = J.get(String(I.id)), l = J.get(String(P.id));
3498
+ return K !== void 0 && l !== void 0 ? K - l : K !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3492
3499
  });
3493
3500
  }
3494
- if (O.aborted) return;
3495
- g(G);
3496
- } catch (P) {
3497
- console.error("Error loading events:", P);
3501
+ if (k.aborted) return;
3502
+ f(G);
3503
+ } catch (L) {
3504
+ console.error("Error loading events:", L);
3498
3505
  }
3499
3506
  }
3500
- ee(() => {
3507
+ Q(() => {
3501
3508
  if (!e) return;
3502
- const $ = new AbortController();
3503
- return v($.signal), () => {
3504
- $.abort();
3509
+ const M = new AbortController();
3510
+ return E(M.signal), () => {
3511
+ M.abort();
3505
3512
  };
3506
3513
  }, [e]);
3507
- const D = i || void 0, k = {
3514
+ const D = i || void 0, y = {
3508
3515
  paddingLeft: 0,
3509
3516
  width: "100%",
3510
3517
  boxSizing: "border-box"
3511
- }, { jerseys: M } = St({
3518
+ }, { jerseys: $ } = St({
3512
3519
  events: d,
3513
- visibleRange: m,
3520
+ visibleRange: b,
3514
3521
  fetchJerseys: gt,
3515
3522
  buffer: 2,
3516
3523
  debounceMs: 250
3517
- }), T = d === null, A = xe("(max-width:950px)");
3518
- return !T && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: k, children: /* @__PURE__ */ b("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3519
- /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3524
+ }), C = d === null, A = xe("(max-width:950px)");
3525
+ return !C && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: y, children: /* @__PURE__ */ v("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3526
+ /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3520
3527
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3521
3528
  /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
3522
- X,
3529
+ Y,
3523
3530
  {
3524
3531
  variant: "secondary",
3525
3532
  size: "lg",
3526
3533
  fullWidth: !0,
3527
3534
  onClick: () => {
3528
- y();
3535
+ h();
3529
3536
  },
3530
3537
  children: "Ver más"
3531
3538
  }
@@ -3534,8 +3541,8 @@ function Hn({
3534
3541
  /* @__PURE__ */ t("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ t(
3535
3542
  he,
3536
3543
  {
3537
- ref: h,
3538
- items: T ? Array(6).fill({}) : d.slice(0, 20),
3544
+ ref: g,
3545
+ items: C ? Array(6).fill({}) : d.slice(0, 20),
3539
3546
  perPage: 3.5,
3540
3547
  gap: "16px",
3541
3548
  enableHorizontalWheel: !0,
@@ -3549,14 +3556,14 @@ function Hn({
3549
3556
  padding: { left: "8px", right: "8px" }
3550
3557
  }
3551
3558
  },
3552
- renderItem: ($) => {
3553
- const x = $.id, O = x in M ? M[x] : void 0;
3554
- return T ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Pn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: $, jersey: O }) });
3559
+ renderItem: (M) => {
3560
+ const w = M.id, k = w in $ ? $[w] : void 0;
3561
+ return C ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Ln, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: M, jersey: k }) });
3555
3562
  },
3556
- onMove: ({ isStart: $, isEnd: x, visibleStart: O, visibleEnd: P }) => {
3557
- p({ isStart: $, isEnd: x }), _({
3558
- start: O,
3559
- end: P
3563
+ onMove: ({ isStart: M, isEnd: w, visibleStart: k, visibleEnd: L }) => {
3564
+ m({ isStart: M, isEnd: w }), x({
3565
+ start: k,
3566
+ end: L
3560
3567
  }), r({
3561
3568
  element: "evento_semana_carousel_slide",
3562
3569
  label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
@@ -3565,10 +3572,10 @@ function Hn({
3565
3572
  module_id: c,
3566
3573
  metadata: {
3567
3574
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3568
- visibleStart: O,
3569
- visibleEnd: P,
3570
- isStart: $,
3571
- isEnd: x
3575
+ visibleStart: k,
3576
+ visibleEnd: L,
3577
+ isStart: M,
3578
+ isEnd: w
3572
3579
  },
3573
3580
  tags: { section: "OraculoSeccionEventoSemana" }
3574
3581
  });
@@ -3580,8 +3587,8 @@ function Hn({
3580
3587
  const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3581
3588
  if (!e) return null;
3582
3589
  if (Zn(e)) {
3583
- const f = new Date(e).getTime();
3584
- return Number.isNaN(f) ? null : f;
3590
+ const p = new Date(e).getTime();
3591
+ return Number.isNaN(p) ? null : p;
3585
3592
  }
3586
3593
  const a = e.match(
3587
3594
  /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
@@ -3596,27 +3603,36 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3596
3603
  Number(s),
3597
3604
  Number(c)
3598
3605
  );
3599
- }, Jn = (e, a) => {
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((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 : (g = n.find((I) => (I == null ? void 0 : I.name) === "endAt")) == null ? void 0 : g.value) != null ? _ : null, r = nt(o), s = nt(i);
3606
+ }, Xn = (e, a) => {
3607
+ var c, p, g, u, m, d, f, b, x;
3608
+ const n = (g = (p = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? p : e == null ? void 0 : e.extraFields) != null ? g : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((_) => (_ == null ? void 0 : _.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (x = (b = e == null ? void 0 : e.endAt) != null ? b : (f = n.find((_) => (_ == null ? void 0 : _.name) === "endAt")) == null ? void 0 : f.value) != null ? x : null, r = nt(o), s = nt(i);
3602
3609
  return !(r != null && a < r || s != null && a >= s);
3603
3610
  };
3604
- function Xn({
3611
+ function Jn({
3605
3612
  backgrounds: e,
3606
3613
  items: a,
3607
3614
  hideItems: n
3608
3615
  }) {
3609
- var W, G;
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((w) => Jn(w, 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;
3616
+ var J;
3617
+ const [o, i] = X(0), r = ae(), s = ne(), c = le(), p = V(null), g = V(!1), u = V(!1), [m, d] = X(() => Date.now()), f = se("setDepositActionGlobal"), b = (I) => [...I != null ? I : []].map((P, K) => ({ item: P, index: K })).sort((P, K) => {
3618
+ var O, N;
3619
+ const l = (O = P.item.order) != null ? O : Number.MAX_SAFE_INTEGER, S = (N = K.item.order) != null ? N : Number.MAX_SAFE_INTEGER;
3620
+ return l - S || P.index - K.index;
3621
+ }).map(({ item: P }) => P), x = ie(() => b(a), [a]), _ = ie(() => {
3622
+ const I = (e != null ? e : []).filter(
3623
+ (P) => Xn(P, m)
3624
+ );
3625
+ return b(I);
3626
+ }, [e, m]), h = _.length || 1, E = !_ || _.length === 0, T = !E && _.length > 1, D = !n && x.length > 0;
3611
3627
  De("(max-width:950px)");
3612
- const C = "#B5B5B5";
3613
- ee(() => {
3614
- const w = window.setInterval(() => {
3628
+ const y = "#B5B5B5";
3629
+ Q(() => {
3630
+ const I = window.setInterval(() => {
3615
3631
  d(Date.now());
3616
3632
  }, 3e4);
3617
- return () => window.clearInterval(w);
3633
+ return () => window.clearInterval(I);
3618
3634
  }, []);
3619
- const D = {
3635
+ const $ = {
3620
3636
  position: "absolute",
3621
3637
  top: "50%",
3622
3638
  transform: "translateY(-50%)",
@@ -3624,22 +3640,22 @@ function Xn({
3624
3640
  width: 48,
3625
3641
  height: 40,
3626
3642
  borderRadius: "12px",
3627
- border: `1.5px solid ${C}`,
3643
+ border: `1.5px solid ${y}`,
3628
3644
  py: 1,
3629
3645
  px: 1.5,
3630
- color: C,
3646
+ color: y,
3631
3647
  backgroundColor: "transparent",
3632
3648
  "&:hover": {
3633
3649
  backgroundColor: "rgba(181,181,181,0.08)"
3634
3650
  },
3635
3651
  "&.Mui-disabled": {
3636
3652
  opacity: 0.35,
3637
- borderColor: C,
3638
- color: C,
3653
+ borderColor: y,
3654
+ color: y,
3639
3655
  backgroundColor: "transparent",
3640
3656
  cursor: "default"
3641
3657
  }
3642
- }, k = ie(
3658
+ }, C = ie(
3643
3659
  () => ({
3644
3660
  type: "loop",
3645
3661
  perMove: 1,
@@ -3650,111 +3666,111 @@ function Xn({
3650
3666
  }),
3651
3667
  []
3652
3668
  );
3653
- ee(() => {
3654
- const w = setTimeout(() => {
3655
- h.current = !0;
3669
+ Q(() => {
3670
+ const I = setTimeout(() => {
3671
+ g.current = !0;
3656
3672
  }, 500);
3657
- return () => clearTimeout(w);
3673
+ return () => clearTimeout(I);
3658
3674
  }, []);
3659
- const M = (w, F, K) => {
3660
- var E, N;
3661
- const Y = !!F.idFunction, l = !!F.href;
3662
- if (Y)
3663
- switch (w.preventDefault(), w.stopPropagation(), F.idFunction) {
3675
+ const A = (I, P, K) => {
3676
+ var N, B;
3677
+ const l = !!P.idFunction, S = !!P.href;
3678
+ if (l)
3679
+ switch (I.preventDefault(), I.stopPropagation(), P.idFunction) {
3664
3680
  case "deposito":
3665
- g == null || g(!0);
3681
+ f == null || f(!0);
3666
3682
  return;
3667
3683
  default:
3668
3684
  return;
3669
3685
  }
3670
- if (!l) {
3671
- w.preventDefault(), w.stopPropagation();
3686
+ if (!S) {
3687
+ I.preventDefault(), I.stopPropagation();
3672
3688
  return;
3673
3689
  }
3674
- const S = ((N = (E = F.href) == null ? void 0 : E.split("/").pop()) == null ? void 0 : N.split(".")[0]) || F.label || F.id || `banner_${K + 1}`;
3690
+ const O = ((B = (N = P.href) == null ? void 0 : N.split("/").pop()) == null ? void 0 : B.split(".")[0]) || P.label || P.id || `banner_${K + 1}`;
3675
3691
  r({
3676
3692
  element: "banner_carousel",
3677
- label: `${s} - OraculoSeccionBanners - Banner click: ${S}`,
3678
- target: F.href || "no_url",
3693
+ label: `${s} - OraculoSeccionBanners - Banner click: ${O}`,
3694
+ target: P.href || "no_url",
3679
3695
  event_type: "click",
3680
3696
  module_id: c,
3681
3697
  metadata: {
3682
3698
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3683
3699
  banner_position: K + 1,
3684
- banner_total: (m == null ? void 0 : m.length) || 0
3700
+ banner_total: (_ == null ? void 0 : _.length) || 0
3685
3701
  },
3686
3702
  tags: {
3687
3703
  banner_type: "carousel",
3688
3704
  banner_target: "_self",
3689
- banner_url: F.href || "no_url"
3705
+ banner_url: P.href || "no_url"
3690
3706
  }
3691
3707
  });
3692
- }, T = (w) => {
3708
+ }, M = (I) => {
3693
3709
  if (r({
3694
3710
  element: "banner_menu_item",
3695
- label: `${s} - OraculoSeccionBanners - Menu item click: ${w.label || w.id}`,
3696
- target: w.href || "action",
3711
+ label: `${s} - OraculoSeccionBanners - Menu item click: ${I.label || I.id}`,
3712
+ target: I.href || "action",
3697
3713
  event_type: "click",
3698
3714
  module_id: c,
3699
3715
  metadata: {
3700
3716
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3701
- item_id: w.id
3717
+ item_id: I.id
3702
3718
  },
3703
3719
  tags: {
3704
- item_label: w.label || "no_label"
3720
+ item_label: I.label || "no_label"
3705
3721
  }
3706
- }), w.onClick) {
3707
- w.onClick();
3722
+ }), I.onClick) {
3723
+ I.onClick();
3708
3724
  return;
3709
3725
  }
3710
- w.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w.href);
3711
- }, A = 5e3, $ = V(null), x = !I && ((G = m == null ? void 0 : m.length) != null ? G : 0) > 1, O = () => {
3712
- $.current != null && (window.clearTimeout($.current), $.current = null);
3713
- }, P = () => {
3714
- O(), x && ($.current = window.setTimeout(() => {
3715
- var w;
3716
- u.current = !0, (w = f.current) == null || w.next();
3717
- }, A));
3726
+ I.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(I.href);
3727
+ }, w = 5e3, k = V(null), L = !E && ((J = _ == null ? void 0 : _.length) != null ? J : 0) > 1, z = () => {
3728
+ k.current != null && (window.clearTimeout(k.current), k.current = null);
3729
+ }, R = () => {
3730
+ z(), L && (k.current = window.setTimeout(() => {
3731
+ var I;
3732
+ u.current = !0, (I = p.current) == null || I.next();
3733
+ }, w));
3718
3734
  };
3719
- ee(() => (P(), () => O()), [x, A]);
3720
- const z = (w) => {
3721
- var F;
3722
- w.preventDefault(), w.stopPropagation(), O(), (F = f.current) == null || F.prev();
3723
- }, R = (w) => {
3724
- var F;
3725
- w.preventDefault(), w.stopPropagation(), O(), (F = f.current) == null || F.next();
3726
- }, U = (w) => {
3727
- var Y, l, S, E;
3728
- const F = (w % _ + _) % _;
3729
- if (!h.current) return;
3730
- const K = (Y = m == null ? void 0 : m[F]) != null && Y.href ? ((S = (l = m[F].href) == null ? void 0 : l.split("/").pop()) == null ? void 0 : S.split(".")[0]) || `banner_${F + 1}` : `banner_${F + 1}`;
3735
+ Q(() => (R(), () => z()), [L, w]);
3736
+ const U = (I) => {
3737
+ var P;
3738
+ I.preventDefault(), I.stopPropagation(), z(), (P = p.current) == null || P.prev();
3739
+ }, W = (I) => {
3740
+ var P;
3741
+ I.preventDefault(), I.stopPropagation(), z(), (P = p.current) == null || P.next();
3742
+ }, G = (I) => {
3743
+ var l, S, O, N;
3744
+ const P = (I % h + h) % h;
3745
+ if (!g.current) return;
3746
+ const K = (l = _ == null ? void 0 : _[P]) != null && l.href ? ((O = (S = _[P].href) == null ? void 0 : S.split("/").pop()) == null ? void 0 : O.split(".")[0]) || `banner_${P + 1}` : `banner_${P + 1}`;
3731
3747
  r({
3732
3748
  element: "banner_carousel",
3733
- label: `${s} - OraculoSeccionBanners - Banner view: Slide ${F + 1} - ${K}`,
3734
- target: ((E = m == null ? void 0 : m[F]) == null ? void 0 : E.href) || "no_url",
3749
+ label: `${s} - OraculoSeccionBanners - Banner view: Slide ${P + 1} - ${K}`,
3750
+ target: ((N = _ == null ? void 0 : _[P]) == null ? void 0 : N.href) || "no_url",
3735
3751
  event_type: "view",
3736
3752
  module_id: c,
3737
3753
  metadata: {
3738
3754
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3739
- slide_index: F + 1,
3740
- total_slides: _,
3755
+ slide_index: P + 1,
3756
+ total_slides: h,
3741
3757
  interaction_type: "manual_slide"
3742
3758
  },
3743
- tags: { banner_position: String(F + 1) }
3759
+ tags: { banner_position: String(P + 1) }
3744
3760
  });
3745
3761
  };
3746
- return /* @__PURE__ */ b(
3747
- Q,
3762
+ return /* @__PURE__ */ v(
3763
+ ee,
3748
3764
  {
3749
3765
  component: "section",
3750
3766
  sx: {
3751
3767
  position: "relative",
3752
3768
  overflow: "visible",
3753
- pb: v ? { xs: "40px", sm: 0 } : 0
3769
+ pb: D ? { xs: "40px", sm: 0 } : 0
3754
3770
  },
3755
3771
  children: [
3756
- /* @__PURE__ */ b(
3757
- Q,
3772
+ /* @__PURE__ */ v(
3773
+ ee,
3758
3774
  {
3759
3775
  sx: {
3760
3776
  position: "relative",
@@ -3770,7 +3786,7 @@ function Xn({
3770
3786
  },
3771
3787
  children: [
3772
3788
  /* @__PURE__ */ t(
3773
- Q,
3789
+ ee,
3774
3790
  {
3775
3791
  sx: {
3776
3792
  height: "100%",
@@ -3780,46 +3796,46 @@ function Xn({
3780
3796
  children: /* @__PURE__ */ t(
3781
3797
  he,
3782
3798
  {
3783
- ref: f,
3784
- items: m,
3799
+ ref: p,
3800
+ items: _,
3785
3801
  perPage: 1,
3786
3802
  gap: "0px",
3787
3803
  enableHorizontalWheel: !0,
3788
- options: k,
3789
- onMove: ({ index: w }) => {
3790
- const F = (w % _ + _) % _;
3791
- i(F);
3804
+ options: C,
3805
+ onMove: ({ index: I }) => {
3806
+ const P = (I % h + h) % h;
3807
+ i(P);
3792
3808
  const K = u.current;
3793
- u.current = !1, P(), K || U(w);
3809
+ u.current = !1, R(), K || G(I);
3794
3810
  },
3795
- renderItem: (w, F) => {
3796
- var E, N, B;
3797
- const K = !!w.idFunction, Y = !!w.href, l = Y && !K, S = K || Y;
3798
- return /* @__PURE__ */ b(
3799
- Q,
3811
+ renderItem: (I, P) => {
3812
+ var N, B, F;
3813
+ const K = !!I.idFunction, l = !!I.href, S = l && !K, O = K || l;
3814
+ return /* @__PURE__ */ v(
3815
+ ee,
3800
3816
  {
3801
- component: l ? "a" : "div",
3802
- href: l ? w.href : void 0,
3803
- target: l ? (E = w.target) != null ? E : "_self" : void 0,
3804
- rel: l && w.target === "_blank" ? "noopener noreferrer" : void 0,
3805
- onClick: (L) => M(L, w, F),
3817
+ component: S ? "a" : "div",
3818
+ href: S ? I.href : void 0,
3819
+ target: S ? (N = I.target) != null ? N : "_self" : void 0,
3820
+ rel: S && I.target === "_blank" ? "noopener noreferrer" : void 0,
3821
+ onClick: (Z) => A(Z, I, P),
3806
3822
  sx: {
3807
3823
  position: "relative",
3808
3824
  width: "100%",
3809
3825
  height: "100%",
3810
3826
  display: "block",
3811
3827
  textDecoration: "none",
3812
- cursor: S ? "pointer" : "default"
3828
+ cursor: O ? "pointer" : "default"
3813
3829
  },
3814
3830
  children: [
3815
- /* @__PURE__ */ b(Q, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3816
- /* @__PURE__ */ t("source", { srcSet: w.desktopSrc, media: "(min-width:950px)" }),
3817
- /* @__PURE__ */ t("source", { srcSet: w.mobileSrc, media: "(max-width:949px)" }),
3831
+ /* @__PURE__ */ v(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3832
+ /* @__PURE__ */ t("source", { srcSet: I.desktopSrc, media: "(min-width:950px)" }),
3833
+ /* @__PURE__ */ t("source", { srcSet: I.mobileSrc, media: "(max-width:949px)" }),
3818
3834
  /* @__PURE__ */ t(
3819
- Q,
3835
+ ee,
3820
3836
  {
3821
3837
  component: "img",
3822
- src: (B = (N = w.fallbackSrc) != null ? N : w.desktopSrc) != null ? B : "",
3838
+ src: (F = (B = I.fallbackSrc) != null ? B : I.desktopSrc) != null ? F : "",
3823
3839
  alt: "",
3824
3840
  "aria-hidden": !0,
3825
3841
  loading: "lazy",
@@ -3833,7 +3849,7 @@ function Xn({
3833
3849
  )
3834
3850
  ] }),
3835
3851
  /* @__PURE__ */ t(
3836
- Q,
3852
+ ee,
3837
3853
  {
3838
3854
  sx: {
3839
3855
  position: "absolute",
@@ -3859,14 +3875,14 @@ function Xn({
3859
3875
  )
3860
3876
  }
3861
3877
  ),
3862
- y && /* @__PURE__ */ b(pe, { children: [
3878
+ T && /* @__PURE__ */ v(pe, { children: [
3863
3879
  /* @__PURE__ */ t(
3864
3880
  Ke,
3865
3881
  {
3866
3882
  "aria-label": "Anterior",
3867
- onClick: z,
3883
+ onClick: U,
3868
3884
  sx: {
3869
- ...D,
3885
+ ...$,
3870
3886
  left: "120px",
3871
3887
  "@media (max-width:1024px)": { left: 24 },
3872
3888
  "@media (max-width:786px)": { display: "none" }
@@ -3878,9 +3894,9 @@ function Xn({
3878
3894
  Ke,
3879
3895
  {
3880
3896
  "aria-label": "Siguiente",
3881
- onClick: R,
3897
+ onClick: W,
3882
3898
  sx: {
3883
- ...D,
3899
+ ...$,
3884
3900
  right: "120px",
3885
3901
  "@media (max-width:1024px)": { right: 24 },
3886
3902
  "@media (max-width:786px)": { display: "none" }
@@ -3890,7 +3906,7 @@ function Xn({
3890
3906
  )
3891
3907
  ] }),
3892
3908
  /* @__PURE__ */ t(
3893
- Q,
3909
+ ee,
3894
3910
  {
3895
3911
  sx: {
3896
3912
  position: "absolute",
@@ -3904,19 +3920,19 @@ function Xn({
3904
3920
  children: /* @__PURE__ */ t(
3905
3921
  dt,
3906
3922
  {
3907
- total: _,
3923
+ total: h,
3908
3924
  active: o,
3909
- durationMs: A
3925
+ durationMs: w
3910
3926
  },
3911
- `${o}-${_}`
3927
+ `${o}-${h}`
3912
3928
  )
3913
3929
  }
3914
3930
  )
3915
3931
  ]
3916
3932
  }
3917
3933
  ),
3918
- v && /* @__PURE__ */ t(
3919
- Q,
3934
+ D && /* @__PURE__ */ t(
3935
+ ee,
3920
3936
  {
3921
3937
  sx: {
3922
3938
  position: "absolute",
@@ -3933,8 +3949,8 @@ function Xn({
3933
3949
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3934
3950
  zIndex: 3
3935
3951
  },
3936
- children: a == null ? void 0 : a.map((w) => /* @__PURE__ */ b(
3937
- Q,
3952
+ children: x == null ? void 0 : x.map((I) => /* @__PURE__ */ v(
3953
+ ee,
3938
3954
  {
3939
3955
  sx: {
3940
3956
  position: "relative",
@@ -3945,7 +3961,7 @@ function Xn({
3945
3961
  gap: { xs: 0.5, md: 1 },
3946
3962
  color: "#FFFFFF",
3947
3963
  minWidth: 0,
3948
- cursor: w.onClick || w.href ? "pointer" : "default",
3964
+ cursor: I.onClick || I.href ? "pointer" : "default",
3949
3965
  whiteSpace: "nowrap",
3950
3966
  "&::after": {
3951
3967
  content: '""',
@@ -3969,7 +3985,7 @@ function Xn({
3969
3985
  opacity: 1,
3970
3986
  transform: "scaleX(1)"
3971
3987
  },
3972
- ...w.iconHover && {
3988
+ ...I.iconHover && {
3973
3989
  "&:hover .menu-icon-default": {
3974
3990
  display: "none"
3975
3991
  },
@@ -3978,10 +3994,10 @@ function Xn({
3978
3994
  }
3979
3995
  }
3980
3996
  },
3981
- onClick: () => T(w),
3997
+ onClick: () => M(I),
3982
3998
  children: [
3983
- w.icon && /* @__PURE__ */ b(
3984
- Q,
3999
+ I.icon && /* @__PURE__ */ v(
4000
+ ee,
3985
4001
  {
3986
4002
  sx: {
3987
4003
  position: "relative",
@@ -3991,11 +4007,11 @@ function Xn({
3991
4007
  },
3992
4008
  children: [
3993
4009
  /* @__PURE__ */ t(
3994
- Q,
4010
+ ee,
3995
4011
  {
3996
4012
  component: "img",
3997
- src: w.icon,
3998
- alt: w.label || `icon-${w.id}`,
4013
+ src: I.icon,
4014
+ alt: I.label || `icon-${I.id}`,
3999
4015
  className: "menu-icon-default",
4000
4016
  sx: {
4001
4017
  display: "block",
@@ -4007,12 +4023,12 @@ function Xn({
4007
4023
  }
4008
4024
  }
4009
4025
  ),
4010
- w.iconHover && /* @__PURE__ */ t(
4011
- Q,
4026
+ I.iconHover && /* @__PURE__ */ t(
4027
+ ee,
4012
4028
  {
4013
4029
  component: "img",
4014
- src: w.iconHover,
4015
- alt: w.label || `icon-hover-${w.id}`,
4030
+ src: I.iconHover,
4031
+ alt: I.label || `icon-hover-${I.id}`,
4016
4032
  className: "menu-icon-hover",
4017
4033
  sx: {
4018
4034
  display: "none",
@@ -4037,12 +4053,12 @@ function Xn({
4037
4053
  color: "#E0E0E0",
4038
4054
  textAlign: "center"
4039
4055
  },
4040
- children: w.label
4056
+ children: I.label
4041
4057
  }
4042
4058
  )
4043
4059
  ]
4044
4060
  },
4045
- w.id
4061
+ I.id
4046
4062
  ))
4047
4063
  }
4048
4064
  )
@@ -4064,7 +4080,7 @@ function Qn({
4064
4080
  items: a = Yn
4065
4081
  }) {
4066
4082
  const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
4067
- return /* @__PURE__ */ b(Q, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4083
+ return /* @__PURE__ */ v(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4068
4084
  /* @__PURE__ */ t(
4069
4085
  st,
4070
4086
  {
@@ -4080,7 +4096,7 @@ function Qn({
4080
4096
  }
4081
4097
  ),
4082
4098
  /* @__PURE__ */ t(
4083
- Q,
4099
+ ee,
4084
4100
  {
4085
4101
  sx: {
4086
4102
  width: "288px",
@@ -4093,9 +4109,9 @@ function Qn({
4093
4109
  }
4094
4110
  }
4095
4111
  ),
4096
- /* @__PURE__ */ b(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4112
+ /* @__PURE__ */ v(Ce, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4097
4113
  /* @__PURE__ */ t(
4098
- Oe,
4114
+ Ce,
4099
4115
  {
4100
4116
  direction: "row",
4101
4117
  justifyContent: "center",
@@ -4106,7 +4122,7 @@ function Qn({
4106
4122
  }
4107
4123
  ),
4108
4124
  /* @__PURE__ */ t(
4109
- Oe,
4125
+ Ce,
4110
4126
  {
4111
4127
  direction: "row",
4112
4128
  justifyContent: "center",
@@ -4135,8 +4151,8 @@ function It({
4135
4151
  }),
4136
4152
  [a]
4137
4153
  );
4138
- return /* @__PURE__ */ b(Pt, { theme: n, children: [
4139
- /* @__PURE__ */ t(Lt, {}),
4154
+ return /* @__PURE__ */ v(Lt, { theme: n, children: [
4155
+ /* @__PURE__ */ t(Pt, {}),
4140
4156
  e
4141
4157
  ] });
4142
4158
  }
@@ -4148,14 +4164,14 @@ function So({
4148
4164
  return /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: e, moduleId: a, children: n }) });
4149
4165
  }
4150
4166
  const eo = {
4151
- OraculoSeccionDestacados: Ja,
4167
+ OraculoSeccionDestacados: Xa,
4152
4168
  OraculoSeccionTopJuegos: Qa,
4153
4169
  OraculoSeccionCasinoEnVivo: un,
4154
4170
  OraculoSeccionCasino: fn,
4155
4171
  OraculoSeccionVirtuales: vn,
4156
4172
  OraculoSeccionClubOlimpo: xn,
4157
4173
  OraculoSeccionBonoBienvenida: yn,
4158
- OraculoSeccionBanners: Xn,
4174
+ OraculoSeccionBanners: Jn,
4159
4175
  OraculoSeccionMediosPago: Qn,
4160
4176
  OraculoSeccionEventoEnVivo: Rn,
4161
4177
  OraculoSeccionEventoSemana: Hn,
@@ -4210,6 +4226,14 @@ const eo = {
4210
4226
  required: !1,
4211
4227
  isImage: !1,
4212
4228
  name: "href"
4229
+ },
4230
+ {
4231
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4232
+ isImage: !1,
4233
+ name: "order",
4234
+ required: !1,
4235
+ type: "number",
4236
+ value: 2
4213
4237
  }
4214
4238
  ],
4215
4239
  id: "724a1dc0-d55b-4443-a580-cad22e328536"
@@ -4257,6 +4281,14 @@ const eo = {
4257
4281
  name: "href",
4258
4282
  required: !1,
4259
4283
  isImage: !1
4284
+ },
4285
+ {
4286
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4287
+ isImage: !1,
4288
+ name: "order",
4289
+ required: !1,
4290
+ type: "number",
4291
+ value: 1
4260
4292
  }
4261
4293
  ],
4262
4294
  id: "ad0df0e2-c8ce-4524-b05a-2a29578aba11"
@@ -4304,6 +4336,14 @@ const eo = {
4304
4336
  value: "https://www.olimpo.bet/casino",
4305
4337
  id: "26a486fd-31e6-4ed4-ab83-0f9a7bf6adc4",
4306
4338
  type: "string"
4339
+ },
4340
+ {
4341
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4342
+ isImage: !1,
4343
+ name: "order",
4344
+ required: !1,
4345
+ type: "number",
4346
+ value: 5
4307
4347
  }
4308
4348
  ],
4309
4349
  id: "966bc1fc-0b1a-4a50-a4a2-964262922c3d"
@@ -4351,6 +4391,14 @@ const eo = {
4351
4391
  id: "4b72f490-75e4-458e-a4b5-68f0736a25d4",
4352
4392
  type: "string",
4353
4393
  value: "https://www.olimpo.bet/private/misiones"
4394
+ },
4395
+ {
4396
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4397
+ isImage: !1,
4398
+ name: "order",
4399
+ required: !1,
4400
+ type: "number",
4401
+ value: 3
4354
4402
  }
4355
4403
  ],
4356
4404
  id: "31e00ff9-f2dd-4942-bff3-919902fde880"
@@ -4444,6 +4492,14 @@ const eo = {
4444
4492
  required: !1,
4445
4493
  type: "string",
4446
4494
  value: "deposito"
4495
+ },
4496
+ {
4497
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4498
+ isImage: !1,
4499
+ name: "order",
4500
+ required: !1,
4501
+ type: "number",
4502
+ value: 1
4447
4503
  }
4448
4504
  ],
4449
4505
  id: "13b35362-5695-4687-b6a8-645f8effd264"
@@ -4506,6 +4562,14 @@ const eo = {
4506
4562
  required: !1,
4507
4563
  type: "string",
4508
4564
  value: ""
4565
+ },
4566
+ {
4567
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4568
+ isImage: !1,
4569
+ name: "order",
4570
+ required: !1,
4571
+ type: "number",
4572
+ value: 2
4509
4573
  }
4510
4574
  ],
4511
4575
  id: "024f8130-91e1-4296-b826-cffa32ab1a96"
@@ -4568,6 +4632,14 @@ const eo = {
4568
4632
  required: !1,
4569
4633
  type: "string",
4570
4634
  value: ""
4635
+ },
4636
+ {
4637
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4638
+ isImage: !1,
4639
+ name: "order",
4640
+ required: !1,
4641
+ type: "number",
4642
+ value: 7
4571
4643
  }
4572
4644
  ],
4573
4645
  id: "cdfce77c-a814-43f1-911d-3715803252c2"
@@ -4630,6 +4702,14 @@ const eo = {
4630
4702
  required: !1,
4631
4703
  type: "string",
4632
4704
  value: "2026-04-14T12:15"
4705
+ },
4706
+ {
4707
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4708
+ isImage: !1,
4709
+ name: "order",
4710
+ required: !1,
4711
+ type: "number",
4712
+ value: 3
4633
4713
  }
4634
4714
  ],
4635
4715
  id: "b3816989-ffeb-4409-bc0a-46310867097c"
@@ -4692,6 +4772,14 @@ const eo = {
4692
4772
  required: !1,
4693
4773
  type: "string",
4694
4774
  value: "2026-04-14T11:50"
4775
+ },
4776
+ {
4777
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4778
+ isImage: !1,
4779
+ name: "order",
4780
+ required: !1,
4781
+ type: "number",
4782
+ value: 4
4695
4783
  }
4696
4784
  ],
4697
4785
  id: "2e3e6afd-bbd3-4bbd-b6e7-0eba50e556d4"
@@ -4751,6 +4839,14 @@ const eo = {
4751
4839
  required: !1,
4752
4840
  type: "string",
4753
4841
  value: "2026-04-14T12:15"
4842
+ },
4843
+ {
4844
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4845
+ isImage: !1,
4846
+ name: "order",
4847
+ required: !1,
4848
+ type: "number",
4849
+ value: 5
4754
4850
  }
4755
4851
  ],
4756
4852
  id: "706ea8a2-46ae-4fd9-8b42-5879a903a006"
@@ -5449,7 +5545,7 @@ const eo = {
5449
5545
  }
5450
5546
  ]
5451
5547
  }, to = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
5452
- function Ce(e) {
5548
+ function Ee(e) {
5453
5549
  return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
5454
5550
  var o, i;
5455
5551
  return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
@@ -5523,42 +5619,42 @@ const it = [
5523
5619
  loader: r,
5524
5620
  disableWrapper: s = !1
5525
5621
  }) => {
5526
- const c = ie(() => oo(i), [i]), f = r || c.loader, [h, u] = Z([]), [p, d] = Z(!1), [g, m] = Z({}), [_, I] = Z({}), [y, v] = Z({}), C = De("(min-width:1024px)"), D = ie(
5527
- () => Ce(qe),
5622
+ const c = ie(() => oo(i), [i]), p = r || c.loader, [g, u] = X([]), [m, d] = X(!1), [f, b] = X({}), [x, _] = X({}), [h, E] = X({}), T = De("(min-width:1024px)"), D = ie(
5623
+ () => Ee(qe),
5528
5624
  []
5529
- ), k = (l) => D.find(
5625
+ ), y = (l) => D.find(
5530
5626
  (S) => S.id === l.id || S.componentKey === l.componentKey
5531
- ), M = (l) => Array.isArray(l) ? l.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], T = ie(() => {
5627
+ ), $ = (l) => Array.isArray(l) ? l.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], C = ie(() => {
5532
5628
  const l = c.user;
5533
- return M(l == null ? void 0 : l.groups);
5629
+ return $(l == null ? void 0 : l.groups);
5534
5630
  }, [c]), A = (l) => {
5535
5631
  const S = l.manualScalarFields;
5536
5632
  if (!Array.isArray(S)) return [];
5537
- const E = S.find(
5538
- (L) => String((L == null ? void 0 : L.name) || "").trim().toLowerCase() === "groups"
5633
+ const O = S.find(
5634
+ (F) => String((F == null ? void 0 : F.name) || "").trim().toLowerCase() === "groups"
5539
5635
  );
5540
- if (!E) return [];
5541
- const N = E.value;
5636
+ if (!O) return [];
5637
+ const N = O.value;
5542
5638
  if (N == null) return [];
5543
5639
  if (Array.isArray(N))
5544
- return N.map((L) => Number(String(L).trim())).filter((L) => !Number.isNaN(L));
5640
+ return N.map((F) => Number(String(F).trim())).filter((F) => !Number.isNaN(F));
5545
5641
  const B = String(N).trim();
5546
- return B ? B.split(",").map((L) => Number(L.trim())).filter((L) => !Number.isNaN(L)) : [];
5547
- }, $ = (l, S) => {
5548
- const E = A(l);
5549
- if (E.length === 0) return !0;
5642
+ return B ? B.split(",").map((F) => Number(F.trim())).filter((F) => !Number.isNaN(F)) : [];
5643
+ }, M = (l, S) => {
5644
+ const O = A(l);
5645
+ if (O.length === 0) return !0;
5550
5646
  if (!Array.isArray(S) || S.length === 0) return !1;
5551
5647
  const N = new Set(S);
5552
- return E.some((B) => N.has(B));
5648
+ return O.some((B) => N.has(B));
5553
5649
  };
5554
- ee(() => {
5650
+ Q(() => {
5555
5651
  if (e) return;
5556
5652
  if (!o) {
5557
- console.warn("[landing] sin db -> fallback json"), u(Ce(qe));
5653
+ console.warn("[landing] sin db -> fallback json"), u(Ee(qe));
5558
5654
  return;
5559
5655
  }
5560
- const l = (E, N) => {
5561
- console.warn("[landing] FALLBACK:", E, N != null ? N : ""), u(Ce(qe)), d(!1);
5656
+ const l = (O, N) => {
5657
+ console.warn("[landing] FALLBACK:", O, N != null ? N : ""), u(Ee(qe)), d(!1);
5562
5658
  };
5563
5659
  if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
5564
5660
  d(!0), l("forzado por env");
@@ -5567,13 +5663,13 @@ const it = [
5567
5663
  d(!0);
5568
5664
  const S = Ft(
5569
5665
  qt(o, "landings", a),
5570
- (E) => {
5666
+ (O) => {
5571
5667
  try {
5572
- if (!E.exists()) {
5668
+ if (!O.exists()) {
5573
5669
  l(`doc landings/${a} no existe`);
5574
5670
  return;
5575
5671
  }
5576
- const N = E.data(), B = Ce(N);
5672
+ const N = O.data(), B = Ee(N);
5577
5673
  if (!B.length) {
5578
5674
  l("JSON inválido o sin secciones normalizables", N);
5579
5675
  return;
@@ -5585,15 +5681,15 @@ const it = [
5585
5681
  d(!1);
5586
5682
  }
5587
5683
  },
5588
- (E) => {
5589
- l("error onSnapshot", E);
5684
+ (O) => {
5685
+ l("error onSnapshot", O);
5590
5686
  }
5591
5687
  );
5592
5688
  return () => S();
5593
- }, [e, a, o]), ee(() => (Xa(c), () => Ya()), [c]), ee(() => {
5594
- (e ? e.slice() : h.slice()).map((E) => E.componentKey).filter((E) => !!E).length;
5595
- }, [e, h]);
5596
- const x = async (l) => {
5689
+ }, [e, a, o]), Q(() => (Ja(c), () => Ya()), [c]), Q(() => {
5690
+ (e ? e.slice() : g.slice()).map((O) => O.componentKey).filter((O) => !!O).length;
5691
+ }, [e, g]);
5692
+ const w = async (l) => {
5597
5693
  if (it.includes(l.componentKey))
5598
5694
  return {
5599
5695
  items: [],
@@ -5602,9 +5698,9 @@ const it = [
5602
5698
  };
5603
5699
  const S = (l.apiUrl || "").trim();
5604
5700
  if (!S) return;
5605
- const E = l.apiMethod || "GET", N = l.apiParams || [];
5606
- let B = S, L, J;
5607
- if (E === "GET") {
5701
+ const O = l.apiMethod || "GET", N = l.apiParams || [];
5702
+ let B = S, F, Z;
5703
+ if (O === "GET") {
5608
5704
  const re = new URL(
5609
5705
  S,
5610
5706
  typeof window == "undefined" ? "http://localhost" : window.location.origin
@@ -5616,120 +5712,120 @@ const it = [
5616
5712
  const re = new URLSearchParams();
5617
5713
  for (const oe of N)
5618
5714
  oe.key && re.append(oe.key, oe.value);
5619
- L = re.toString(), J = {
5715
+ F = re.toString(), Z = {
5620
5716
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5621
5717
  };
5622
5718
  }
5623
5719
  const te = await fetch(B, {
5624
- method: E,
5625
- headers: J,
5626
- body: L
5720
+ method: O,
5721
+ headers: Z,
5722
+ body: F
5627
5723
  });
5628
5724
  if (!te.ok) throw new ot(te.status, B, te.statusText);
5629
5725
  return te.json();
5630
- }, O = ie(
5631
- () => e ? e.slice() : h.slice(),
5632
- [e, h]
5633
- ), P = fe.useRef(/* @__PURE__ */ new Set());
5634
- ee(() => {
5635
- const l = O.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5726
+ }, k = ie(
5727
+ () => e ? e.slice() : g.slice(),
5728
+ [e, g]
5729
+ ), L = fe.useRef(/* @__PURE__ */ new Set());
5730
+ Q(() => {
5731
+ const l = k.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5636
5732
  if (l.length)
5637
- for (const { s: S, url: E } of l) {
5638
- const N = `${S.id}|${E}`;
5639
- P.current.has(N) || (P.current.add(N), I((B) => ({ ...B, [S.id]: !0 })), v((B) => ({ ...B, [S.id]: "" })), (async () => {
5733
+ for (const { s: S, url: O } of l) {
5734
+ const N = `${S.id}|${O}`;
5735
+ L.current.has(N) || (L.current.add(N), _((B) => ({ ...B, [S.id]: !0 })), E((B) => ({ ...B, [S.id]: "" })), (async () => {
5640
5736
  try {
5641
- const B = await x(S);
5642
- m((L) => ({ ...L, [S.id]: B }));
5737
+ const B = await w(S);
5738
+ b((F) => ({ ...F, [S.id]: B }));
5643
5739
  } catch (B) {
5644
- let L = "Error desconocido";
5645
- B instanceof ot ? L = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? L = "Respuesta no es JSON válido" : B instanceof TypeError ? L = "Fallo de red / CORS / conexión" : typeof B == "string" && (L = B.toString()), v((J) => ({ ...J, [S.id]: L }));
5740
+ let F = "Error desconocido";
5741
+ B instanceof ot ? F = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? F = "Respuesta no es JSON válido" : B instanceof TypeError ? F = "Fallo de red / CORS / conexión" : typeof B == "string" && (F = B.toString()), E((Z) => ({ ...Z, [S.id]: F }));
5646
5742
  } finally {
5647
- I((B) => ({ ...B, [S.id]: !1 }));
5743
+ _((B) => ({ ...B, [S.id]: !1 }));
5648
5744
  }
5649
5745
  })());
5650
5746
  }
5651
- }, [O]);
5747
+ }, [k]);
5652
5748
  const z = ie(
5653
- () => O.filter((l) => l.visible).filter((l) => $(l, T)).sort((l, S) => l.order - S.order),
5654
- [O, T]
5749
+ () => k.filter((l) => l.visible).filter((l) => M(l, C)).sort((l, S) => l.order - S.order),
5750
+ [k, C]
5655
5751
  ), R = (l) => Array.isArray(l) ? l.map((S) => {
5656
- const E = {};
5752
+ const O = {};
5657
5753
  for (const N of S.fields || []) {
5658
5754
  const B = (N.type || "string").toLowerCase();
5659
5755
  if (B === "number") {
5660
- const L = String(N.value || "").trim();
5661
- if (L !== "") {
5662
- const J = Number(L);
5663
- Number.isNaN(J) || (E[N.name] = J);
5756
+ const F = String(N.value || "").trim();
5757
+ if (F !== "") {
5758
+ const Z = Number(F);
5759
+ Number.isNaN(Z) || (O[N.name] = Z);
5664
5760
  }
5665
5761
  } else if (B === "boolean")
5666
- E[N.name] = String(N.value).toLowerCase() === "true";
5762
+ O[N.name] = String(N.value).toLowerCase() === "true";
5667
5763
  else if (B === "function") {
5668
- const L = String(N.value || "").trim();
5669
- if (L)
5764
+ const F = String(N.value || "").trim();
5765
+ if (F)
5670
5766
  try {
5671
- const J = new Function(L);
5672
- E[N.name] = J;
5673
- } catch (J) {
5674
- console.error(`❌ Error creando función en item '${N.name}':`, J);
5767
+ const Z = new Function(F);
5768
+ O[N.name] = Z;
5769
+ } catch (Z) {
5770
+ console.error(`❌ Error creando función en item '${N.name}':`, Z);
5675
5771
  }
5676
5772
  } else
5677
- E[N.name] = N.value;
5773
+ O[N.name] = N.value;
5678
5774
  }
5679
- return E;
5775
+ return O;
5680
5776
  }) : [], U = (l) => {
5681
5777
  const S = {};
5682
5778
  if (!Array.isArray(l)) return S;
5683
- for (const E of l) {
5684
- if (!E.name) continue;
5685
- const N = (E.type || "string").toLowerCase();
5779
+ for (const O of l) {
5780
+ if (!O.name) continue;
5781
+ const N = (O.type || "string").toLowerCase();
5686
5782
  if (N === "number") {
5687
- const B = String(E.value || "").trim();
5783
+ const B = String(O.value || "").trim();
5688
5784
  if (B !== "") {
5689
- const L = Number(B);
5690
- Number.isNaN(L) || (S[E.name] = L);
5785
+ const F = Number(B);
5786
+ Number.isNaN(F) || (S[O.name] = F);
5691
5787
  }
5692
5788
  } else if (N === "boolean")
5693
- S[E.name] = String(E.value).toLowerCase() === "true";
5789
+ S[O.name] = String(O.value).toLowerCase() === "true";
5694
5790
  else if (N === "function") {
5695
- const B = String(E.value || "").trim();
5791
+ const B = String(O.value || "").trim();
5696
5792
  if (B)
5697
5793
  try {
5698
- const L = new Function(B);
5699
- S[E.name] = L;
5700
- } catch (L) {
5701
- console.error(`❌ Error creando función en item '${E.name}':`, L);
5794
+ const F = new Function(B);
5795
+ S[O.name] = F;
5796
+ } catch (F) {
5797
+ console.error(`❌ Error creando función en item '${O.name}':`, F);
5702
5798
  }
5703
5799
  } else
5704
- S[E.name] = E.value;
5800
+ S[O.name] = O.value;
5705
5801
  }
5706
5802
  return S;
5707
- }, W = (l, S, E, N) => {
5708
- const B = E ? { ...E } : {}, L = (N || "items").trim() || "items";
5803
+ }, W = (l, S, O, N) => {
5804
+ const B = O ? { ...O } : {}, F = (N || "items").trim() || "items";
5709
5805
  if (S)
5710
- return B[L] = S.arr || [], B;
5711
- const J = l;
5712
- if (Array.isArray(J))
5713
- return B[L] = J, B;
5714
- if (J && typeof J == "object") {
5715
- const te = J;
5716
- return Array.isArray(te.lobby) ? (B[L] = te.lobby, B) : Array.isArray(te.items) ? (B[L] = te.items, B) : (B[L] = J, B);
5806
+ return B[F] = S.arr || [], B;
5807
+ const Z = l;
5808
+ if (Array.isArray(Z))
5809
+ return B[F] = Z, B;
5810
+ if (Z && typeof Z == "object") {
5811
+ const te = Z;
5812
+ return Array.isArray(te.lobby) ? (B[F] = te.lobby, B) : Array.isArray(te.items) ? (B[F] = te.items, B) : (B[F] = Z, B);
5717
5813
  }
5718
- return B[L] = [], B;
5814
+ return B[F] = [], B;
5719
5815
  }, G = (l) => {
5720
- var L;
5721
- const S = !!((L = l.apiUrl) != null && L.trim()), E = S ? g[l.id] : void 0;
5816
+ var F;
5817
+ const S = !!((F = l.apiUrl) != null && F.trim()), O = S ? f[l.id] : void 0;
5722
5818
  let N = l.props ? { ...l.props } : {};
5723
5819
  const B = U(l.manualScalarFields);
5724
5820
  if (it.includes(l.componentKey))
5725
- return { items: E, ...N, ...B };
5821
+ return { items: O, ...N, ...B };
5726
5822
  if (N = { ...N, ...B }, S)
5727
- N = W(E, null, N);
5823
+ N = W(O, null, N);
5728
5824
  else if (l.dataMode === "manual") {
5729
- const J = R(l.manualItems);
5825
+ const Z = R(l.manualItems);
5730
5826
  if (N = W(
5731
5827
  null,
5732
- { arr: J, variableName: l.variableName },
5828
+ { arr: Z, variableName: l.variableName },
5733
5829
  N,
5734
5830
  l.variableName
5735
5831
  ), l.variableName2 && l.manualItems2) {
@@ -5738,47 +5834,47 @@ const it = [
5738
5834
  }
5739
5835
  }
5740
5836
  return N;
5741
- }, w = (l) => {
5837
+ }, J = (l) => {
5742
5838
  const S = l.props ? { ...l.props } : {};
5743
5839
  try {
5744
5840
  Object.assign(S, U(l.manualScalarFields));
5745
5841
  } catch (N) {
5746
5842
  console.error("❌ Error armando scalars vacíos:", l, N);
5747
5843
  }
5748
- const E = (l.variableName || "items").trim() || "items";
5749
- if (typeof S[E] == "undefined" && (S[E] = []), l.variableName2) {
5844
+ const O = (l.variableName || "items").trim() || "items";
5845
+ if (typeof S[O] == "undefined" && (S[O] = []), l.variableName2) {
5750
5846
  const N = (l.variableName2 || "items2").trim() || "items2";
5751
5847
  typeof S[N] == "undefined" && (S[N] = []);
5752
5848
  }
5753
5849
  return S;
5754
- }, F = (l) => {
5850
+ }, I = (l) => {
5755
5851
  try {
5756
5852
  return G(l);
5757
5853
  } catch (S) {
5758
5854
  console.error("🔥 ERROR EN buildCompProps:", l, S);
5759
- const E = k(l);
5760
- if (E && E !== l)
5855
+ const O = y(l);
5856
+ if (O && O !== l)
5761
5857
  try {
5762
5858
  return console.warn(
5763
5859
  `[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
5764
- ), G(E);
5860
+ ), G(O);
5765
5861
  } catch (N) {
5766
- console.error("🔥 ERROR EN fallback buildCompProps:", E, N);
5862
+ console.error("🔥 ERROR EN fallback buildCompProps:", O, N);
5767
5863
  }
5768
- return w(l);
5864
+ return J(l);
5769
5865
  }
5770
- }, K = (l, S, E) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5866
+ }, P = (l, S, O) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5771
5867
  loading: "bg-blue-100 text-blue-800",
5772
5868
  error: "bg-red-100 text-red-800",
5773
5869
  component: "bg-yellow-100 text-yellow-800"
5774
- }[S]}`, children: E }, l), Y = (l) => {
5870
+ }[S]}`, children: O }, l), K = (l) => {
5775
5871
  var He;
5776
- const S = l.componentKey, E = no[S], B = (/* @__PURE__ */ new Set([
5872
+ const S = l.componentKey, O = no[S], B = (/* @__PURE__ */ new Set([
5777
5873
  "OraculoSeccionBanners",
5778
5874
  "OraculoSeccionBonoBienvenida",
5779
5875
  "OraculoSeccionCasinoEnVivo",
5780
5876
  "OraculoSeccionClubOlimpo",
5781
- ...C ? [] : [
5877
+ ...T ? [] : [
5782
5878
  "OraculoSeccionEventoEnVivo",
5783
5879
  "OraculoSeccionEventoSemana",
5784
5880
  "OraculoSeccionEventoCombinadas",
@@ -5786,35 +5882,35 @@ const it = [
5786
5882
  "OraculoSeccionDestacados",
5787
5883
  "OraculoSeccionCasino"
5788
5884
  ]
5789
- ])).has(l.componentKey), L = C ? 120 : 24, J = (C ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5885
+ ])).has(l.componentKey), F = T ? 120 : 24, Z = (T ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5790
5886
  width: "100%",
5791
5887
  boxSizing: "border-box",
5792
- ...B ? {} : { paddingLeft: L, paddingRight: L },
5888
+ ...B ? {} : { paddingLeft: F, paddingRight: F },
5793
5889
  ...te ? {
5794
- marginTop: -J,
5795
- marginBottom: -J
5890
+ marginTop: -Z,
5891
+ marginBottom: -Z
5796
5892
  } : {}
5797
5893
  };
5798
- if (!E)
5799
- return console.warn(`No hay componente registrado para "${S}"`), K(
5894
+ if (!O)
5895
+ return console.warn(`No hay componente registrado para "${S}"`), P(
5800
5896
  l.id,
5801
5897
  "component",
5802
5898
  `Componente "${S}" no encontrado`
5803
5899
  );
5804
- 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] : "";
5900
+ const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0, Et = oe ? !!x[l.id] : !1, Ge = oe ? h[l.id] : "";
5805
5901
  if (oe) {
5806
- if (Ct && !We)
5807
- return K(
5902
+ if (Et && !We)
5903
+ return P(
5808
5904
  l.id,
5809
5905
  "loading",
5810
5906
  `Cargando datos desde ${l.apiUrl}...`
5811
5907
  );
5812
5908
  if (Ge && !We) {
5813
- const we = k(l);
5909
+ const we = y(l);
5814
5910
  if (we && we.dataMode === "manual")
5815
5911
  try {
5816
- const Re = F(we);
5817
- return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(E, { ...Re }) }, l.id);
5912
+ const Re = I(we);
5913
+ return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(O, { ...Re }) }, l.id);
5818
5914
  } catch (Re) {
5819
5915
  console.error(
5820
5916
  "🔥 ERROR renderizando fallback manual de sección:",
@@ -5822,14 +5918,14 @@ const it = [
5822
5918
  Re
5823
5919
  );
5824
5920
  }
5825
- return K(
5921
+ return P(
5826
5922
  l.id,
5827
5923
  "error",
5828
5924
  `Error cargando ${l.apiUrl}: ${Ge}`
5829
5925
  );
5830
5926
  }
5831
5927
  }
5832
- const je = F(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5928
+ const je = I(l), Ct = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5833
5929
  ...je,
5834
5930
  user: c.user
5835
5931
  } : je;
@@ -5838,13 +5934,13 @@ const it = [
5838
5934
  {
5839
5935
  style: re,
5840
5936
  className: "oraculo-section-wrapper",
5841
- children: /* @__PURE__ */ t(E, { ...Ot })
5937
+ children: /* @__PURE__ */ t(O, { ...Ct })
5842
5938
  },
5843
5939
  l.id
5844
5940
  ) });
5845
5941
  };
5846
- 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(
5847
- Et,
5942
+ return m && !e ? p ? /* @__PURE__ */ t(p, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !m && !e && g.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(
5943
+ Ot,
5848
5944
  {
5849
5945
  className: "oli-font",
5850
5946
  maxWidth: !1,
@@ -5857,9 +5953,9 @@ const it = [
5857
5953
  maxWidth: "100%",
5858
5954
  overflowX: "hidden"
5859
5955
  },
5860
- children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: C ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
5956
+ children: /* @__PURE__ */ t(Ce, { direction: "column", spacing: T ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
5861
5957
  try {
5862
- return Y(l);
5958
+ return K(l);
5863
5959
  } catch (S) {
5864
5960
  return console.error("🔥 ERROR EN SECTION:", l, S), null;
5865
5961
  }
@@ -5869,7 +5965,7 @@ const it = [
5869
5965
  };
5870
5966
  export {
5871
5967
  bt as DocIdProvider,
5872
- X as OraculoButton,
5968
+ Y as OraculoButton,
5873
5969
  he as OraculoCarousel,
5874
5970
  dt as OraculoCarouselDots,
5875
5971
  Sa as OraculoClubOlimpoVisual,
@@ -5882,7 +5978,7 @@ export {
5882
5978
  Za as OraculoEventSemanaCard,
5883
5979
  jt as OraculoEventStatus,
5884
5980
  Gt as OraculoEventStatusBadge,
5885
- Ne as OraculoEventTeamInfo,
5981
+ $e as OraculoEventTeamInfo,
5886
5982
  Te as OraculoGameCard,
5887
5983
  xa as OraculoGameRankCard,
5888
5984
  ft as OraculoGameSlide,
@@ -5890,12 +5986,12 @@ export {
5890
5986
  wa as OraculoLiveCasinoCard,
5891
5987
  Ze as OraculoLogoMediosPago,
5892
5988
  Io as OraculoPageLandingPreview,
5893
- Xn as OraculoSeccionBanners,
5989
+ Jn as OraculoSeccionBanners,
5894
5990
  yn as OraculoSeccionBonoBienvenida,
5895
5991
  fn as OraculoSeccionCasino,
5896
5992
  un as OraculoSeccionCasinoEnVivo,
5897
5993
  xn as OraculoSeccionClubOlimpo,
5898
- Ja as OraculoSeccionDestacados,
5994
+ Xa as OraculoSeccionDestacados,
5899
5995
  Tn as OraculoSeccionEventoCombinadas,
5900
5996
  Rn as OraculoSeccionEventoEnVivo,
5901
5997
  Hn as OraculoSeccionEventoSemana,
@@ -5906,7 +6002,7 @@ export {
5906
6002
  ge as OraculoSectionTitle,
5907
6003
  It as OraculoThemeProvider,
5908
6004
  Qa as OraculoTopJuegoItem,
5909
- Je as OraculoWelcomeBanner,
6005
+ Xe as OraculoWelcomeBanner,
5910
6006
  Io as default
5911
6007
  };
5912
6008
  //# sourceMappingURL=index.es.js.map