oraculo-ui 0.2.21 → 0.2.23

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,20 +1,20 @@
1
- import { jsx as t, jsxs as g, Fragment as me } from "react/jsx-runtime";
2
- import { Link as ot, Box as Y, useMediaQuery as De, IconButton as He, Typography as it, Stack as Oe, Container as Ct } from "@mui/material";
3
- import fe, { useState as K, useEffect as Q, useRef as V, forwardRef as Ot, useImperativeHandle as Et, useCallback as Ee, createContext as Tt, useContext as kt, useMemo as re, useLayoutEffect as $t } from "react";
1
+ import { jsx as t, jsxs as h, Fragment as me } from "react/jsx-runtime";
2
+ import { Link as it, Box as Y, useMediaQuery as Ue, IconButton as Ke, Typography as rt, Stack as Oe, Container as Ot } from "@mui/material";
3
+ import fe, { useState as K, useEffect as Q, useRef as V, forwardRef as Et, useImperativeHandle as Tt, useCallback as Ee, createContext as kt, useContext as $t, useMemo as re, useLayoutEffect as Nt } from "react";
4
4
  import j from "@mui/material/Skeleton";
5
- import { Splide as Nt, SplideSlide as Mt } from "@splidejs/react-splide";
5
+ import { Splide as Mt, SplideSlide as Bt } from "@splidejs/react-splide";
6
6
  import q from "@mui/material/Box";
7
7
  import de from "@mui/material/Typography";
8
8
  import H from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as ae } from "@olimpo/capture-client";
10
10
  import { ChevronLeftRounded as ze, ChevronRightRounded as Ae } from "@mui/icons-material";
11
11
  import xe from "@mui/material/useMediaQuery";
12
- import rt from "@mui/icons-material/ChevronLeftRounded";
13
- import st from "@mui/icons-material/ChevronRightRounded";
14
- import { useTheme as Bt, createTheme as zt, ThemeProvider as At } from "@mui/material/styles";
15
- import Rt from "@mui/material/CssBaseline";
16
- import { onSnapshot as Lt, doc as Pt } from "firebase/firestore";
17
- function X({
12
+ import st from "@mui/icons-material/ChevronLeftRounded";
13
+ import lt from "@mui/icons-material/ChevronRightRounded";
14
+ import { useTheme as zt, createTheme as At, ThemeProvider as Rt } from "@mui/material/styles";
15
+ import Lt from "@mui/material/CssBaseline";
16
+ import { onSnapshot as Pt, doc as Ft } from "firebase/firestore";
17
+ function J({
18
18
  children: e,
19
19
  onClick: a,
20
20
  href: n,
@@ -22,51 +22,51 @@ function X({
22
22
  rel: i,
23
23
  type: r = "button",
24
24
  disabled: s = !1,
25
- variant: m = "primary",
25
+ variant: d = "primary",
26
26
  size: p,
27
27
  fullWidth: f = !1,
28
- fullHeight: d = !1,
28
+ fullHeight: u = !1,
29
29
  className: l = "",
30
30
  ariaLabel: c,
31
- leftIcon: b,
32
- rightIcon: h,
33
- iconOnly: E
31
+ leftIcon: g,
32
+ rightIcon: b,
33
+ iconOnly: x
34
34
  }) {
35
- const M = !!e && e !== !0, C = (!!b ? 1 : 0) + (!!h ? 1 : 0) == 1, D = E != null ? E : C && !M, I = [
35
+ const T = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, U = x != null ? x : I && !T, O = [
36
36
  "orc-btn",
37
- m === "secondary" ? "orc-btn--secondary" : m === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
37
+ d === "secondary" ? "orc-btn--secondary" : d === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  p ? `orc-btn--${p}` : "",
39
39
  f ? "orc-btn--full" : "",
40
- d ? "orc-btn--fullHeight" : "",
41
- D ? "orc-btn--iconOnly" : "",
40
+ u ? "orc-btn--fullHeight" : "",
41
+ U ? "orc-btn--iconOnly" : "",
42
42
  l
43
- ].filter(Boolean).join(" "), T = /* @__PURE__ */ g(me, { children: [
44
- b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b }),
45
- !D && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
- h && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: h })
47
- ] }), w = s ? !0 : void 0;
43
+ ].filter(Boolean).join(" "), k = /* @__PURE__ */ h(me, { children: [
44
+ g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
45
+ !U && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
+ b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b })
47
+ ] }), S = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
- ot,
49
+ it,
50
50
  {
51
51
  href: n,
52
52
  target: o,
53
53
  rel: i,
54
54
  "aria-label": c,
55
- "aria-disabled": w,
56
- tabIndex: w ? -1 : void 0,
57
- className: I,
58
- onClick: w ? (B) => B.preventDefault() : a,
59
- children: T
55
+ "aria-disabled": S,
56
+ tabIndex: S ? -1 : void 0,
57
+ className: O,
58
+ onClick: S ? (B) => B.preventDefault() : a,
59
+ children: k
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
63
63
  {
64
64
  type: r,
65
65
  onClick: a,
66
- disabled: !!w,
66
+ disabled: !!S,
67
67
  "aria-label": c,
68
- className: I,
69
- children: T
68
+ className: O,
69
+ children: k
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__ */ g("div", { className: r, children: [
84
+ return /* @__PURE__ */ h("div", { className: r, children: [
85
85
  a && /* @__PURE__ */ t(
86
86
  "img",
87
87
  {
@@ -93,7 +93,7 @@ function ge({
93
93
  /* @__PURE__ */ t("h2", { className: "orc-section-title__title", children: e })
94
94
  ] });
95
95
  }
96
- const lt = ({
96
+ const ct = ({
97
97
  total: e,
98
98
  active: a,
99
99
  onSelect: n,
@@ -101,27 +101,27 @@ const lt = ({
101
101
  durationMs: i = 5e3
102
102
  }) => {
103
103
  if (e <= 1) return null;
104
- const r = ["orc-dots", o].filter(Boolean).join(" "), [s, m] = K(0);
104
+ const r = ["orc-dots", o].filter(Boolean).join(" "), [s, d] = K(0);
105
105
  return Q(() => {
106
- m((p) => p + 1);
106
+ d((p) => p + 1);
107
107
  }, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((p, f) => {
108
- const d = f === a;
108
+ const u = f === 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
- "aria-selected": d,
114
+ "aria-selected": u,
115
115
  "aria-label": `Ir al slide ${f + 1}`,
116
- className: "orc-dots__dot" + (d ? " orc-dots__dot--active" : ""),
117
- style: d ? {
116
+ className: "orc-dots__dot" + (u ? " orc-dots__dot--active" : ""),
117
+ style: u ? {
118
118
  "--dot-progress-ms": `${i}ms`
119
119
  } : void 0,
120
120
  onClick: () => {
121
- d && m((l) => l + 1), n == null || n(f);
121
+ u && d((l) => l + 1), n == null || n(f);
122
122
  }
123
123
  },
124
- d ? `a-${f}-${s}` : `i-${f}`
124
+ u ? `a-${f}-${s}` : `i-${f}`
125
125
  ) }, f);
126
126
  }) });
127
127
  };
@@ -147,7 +147,7 @@ function ue({
147
147
  }
148
148
  );
149
149
  }
150
- function Ke({ src: e, alt: a }) {
150
+ function Ze({ src: e, alt: a }) {
151
151
  return /* @__PURE__ */ t(
152
152
  Y,
153
153
  {
@@ -178,13 +178,13 @@ function Ke({ src: e, alt: a }) {
178
178
  }
179
179
  );
180
180
  }
181
- const Ft = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", qt = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Dt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Le = {
182
- contenedor: Ft,
183
- flexGroup: qt,
181
+ const qt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Dt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Le = {
182
+ contenedor: qt,
183
+ flexGroup: Ut,
184
184
  subtitle: Dt
185
185
  };
186
- function Ut({ title: e, subtitle: a }) {
187
- return /* @__PURE__ */ g(
186
+ function Vt({ title: e, subtitle: a }) {
187
+ return /* @__PURE__ */ h(
188
188
  "div",
189
189
  {
190
190
  className: Le.contenedor,
@@ -200,12 +200,12 @@ function Ut({ title: e, subtitle: a }) {
200
200
  children: e
201
201
  }
202
202
  ),
203
- a && /* @__PURE__ */ g(
203
+ a && /* @__PURE__ */ h(
204
204
  "div",
205
205
  {
206
206
  className: Le.flexGroup,
207
207
  children: [
208
- /* @__PURE__ */ g("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
208
+ /* @__PURE__ */ h("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
  " "
@@ -219,7 +219,7 @@ function Ut({ title: e, subtitle: a }) {
219
219
  }
220
220
  );
221
221
  }
222
- function Vt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
222
+ function Wt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
223
223
  return /* @__PURE__ */ t(
224
224
  "span",
225
225
  {
@@ -240,14 +240,14 @@ function Vt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
240
240
  }
241
241
  );
242
242
  }
243
- function Wt({ live: e, time: a }) {
244
- return /* @__PURE__ */ g("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
- e && /* @__PURE__ */ t(Vt, { text: "En vivo" }),
243
+ function Gt({ live: e, time: a }) {
244
+ return /* @__PURE__ */ h("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
+ e && /* @__PURE__ */ t(Wt, { 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
- function Gt({ title: e, subtitle: a, live: n = !1, time: o = "" }) {
250
- return /* @__PURE__ */ g(
249
+ function jt({ title: e, subtitle: a, live: n = !1, time: o = "" }) {
250
+ return /* @__PURE__ */ h(
251
251
  "div",
252
252
  {
253
253
  style: {
@@ -257,33 +257,33 @@ function Gt({ title: e, subtitle: a, live: n = !1, time: o = "" }) {
257
257
  color: "#FFFFFF"
258
258
  },
259
259
  children: [
260
- /* @__PURE__ */ t(Ut, { title: e, subtitle: a }),
261
- /* @__PURE__ */ t(Wt, { live: n, time: o })
260
+ /* @__PURE__ */ t(Vt, { title: e, subtitle: a }),
261
+ /* @__PURE__ */ t(Gt, { live: n, time: o })
262
262
  ]
263
263
  }
264
264
  );
265
265
  }
266
- const jt = "oraculo__OraculoEventLabel-module__label___c64Xw", Ht = {
267
- label: jt
266
+ const Ht = "oraculo__OraculoEventLabel-module__label___c64Xw", Kt = {
267
+ label: Ht
268
268
  };
269
- function ct({ text: e }) {
270
- return /* @__PURE__ */ t("span", { className: Ht.label, children: e });
269
+ function dt({ text: e }) {
270
+ return /* @__PURE__ */ t("span", { className: Kt.label, children: e });
271
271
  }
272
- const Kt = "oraculo__OraculoEventLeague-module__container___rdk4F", Zt = {
273
- container: Kt
272
+ const Zt = "oraculo__OraculoEventLeague-module__container___rdk4F", Jt = {
273
+ container: Zt
274
274
  };
275
- function dt({ title: e }) {
276
- return /* @__PURE__ */ t("div", { className: Zt.container, children: e.toUpperCase() });
275
+ function ut({ title: e }) {
276
+ return /* @__PURE__ */ t("div", { className: Jt.container, children: e.toUpperCase() });
277
277
  }
278
- const Xt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Jt = "oraculo__OraculoEventScore-module__name___r4uL6", Yt = "oraculo__OraculoEventScore-module__score___Xl03M", Qt = "oraculo__OraculoEventScore-module__normal___cCNFz", ea = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
278
+ const Xt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Yt = "oraculo__OraculoEventScore-module__name___r4uL6", Qt = "oraculo__OraculoEventScore-module__score___Xl03M", ea = "oraculo__OraculoEventScore-module__normal___cCNFz", ta = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
279
279
  scoreWrapper: Xt,
280
- name: Jt,
281
- score: Yt,
282
- normal: Qt,
283
- small: ea
280
+ name: Yt,
281
+ score: Qt,
282
+ normal: ea,
283
+ small: ta
284
284
  };
285
- function ut({ text: e, name: a, size: n = "normal" }) {
286
- return /* @__PURE__ */ g(
285
+ function mt({ text: e, name: a, size: n = "normal" }) {
286
+ return /* @__PURE__ */ h(
287
287
  "div",
288
288
  {
289
289
  className: `${ve.scoreWrapper} ${ve[n]}`,
@@ -294,23 +294,23 @@ function ut({ text: e, name: a, size: n = "normal" }) {
294
294
  }
295
295
  );
296
296
  }
297
- const ta = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", aa = "oraculo__OraculoEventTeamInfo-module__regular___ag826", na = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", oa = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", ia = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", ra = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
298
- team: ta,
299
- regular: aa,
300
- compact: na,
301
- logo: oa,
302
- name: ia,
303
- skeleton: ra
304
- }, sa = "oraculo__OraculoTeamPolo-module__polo___BisRg", la = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ca = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", da = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Se = {
305
- polo: sa,
306
- svgWrapper: la,
307
- shadow: ca,
308
- highlight: da
297
+ const aa = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", na = "oraculo__OraculoEventTeamInfo-module__regular___ag826", oa = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", ia = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", ra = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", sa = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
298
+ team: aa,
299
+ regular: na,
300
+ compact: oa,
301
+ logo: ia,
302
+ name: ra,
303
+ skeleton: sa
304
+ }, la = "oraculo__OraculoTeamPolo-module__polo___BisRg", ca = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", da = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ua = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Se = {
305
+ polo: la,
306
+ svgWrapper: ca,
307
+ shadow: da,
308
+ highlight: ua
309
309
  };
310
- function ua({ jersey: e, className: a }) {
310
+ function ma({ 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__ */ g("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ g("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
312
+ return /* @__PURE__ */ h("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ h("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ t(
315
315
  "path",
316
316
  {
@@ -318,7 +318,7 @@ function ua({ 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__ */ g(me, { children: [
321
+ i && /* @__PURE__ */ h(me, { 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
  ] }),
@@ -367,9 +367,9 @@ function ua({ jersey: e, className: a }) {
367
367
  ] });
368
368
  }
369
369
  function Ne({ name: e, jersey: a, size: n = "regular" }) {
370
- return /* @__PURE__ */ g("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
370
+ return /* @__PURE__ */ h("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
371
371
  a != null && a.base ? /* @__PURE__ */ t(
372
- ua,
372
+ ma,
373
373
  {
374
374
  jersey: a,
375
375
  className: `${_e.logo}`
@@ -378,7 +378,7 @@ function Ne({ name: e, jersey: a, size: n = "regular" }) {
378
378
  /* @__PURE__ */ t("span", { className: _e.name, children: e })
379
379
  ] });
380
380
  }
381
- function ma(e, a, {
381
+ function pa(e, a, {
382
382
  enabled: n = !0,
383
383
  threshold: o = 60,
384
384
  cooldownMs: i = 500
@@ -386,30 +386,30 @@ function ma(e, a, {
386
386
  const r = V(0), s = V(0);
387
387
  Q(() => {
388
388
  if (!n) return;
389
- const m = e.current;
390
- if (!m) return;
389
+ const d = e.current;
390
+ if (!d) return;
391
391
  const p = (f) => {
392
- const d = a.current;
393
- if (!d || !d.go) return;
392
+ const u = a.current;
393
+ if (!u || !u.go) return;
394
394
  const { deltaX: l, deltaY: c } = f;
395
395
  if (Math.abs(l) <= Math.abs(c)) return;
396
396
  f.preventDefault(), r.current += l;
397
- const b = Date.now();
398
- if (b - s.current < i || Math.abs(r.current) < o) return;
399
- const h = r.current > 0 ? ">" : "<";
400
- r.current = 0, s.current = b, d.go(h);
397
+ const g = Date.now();
398
+ if (g - s.current < i || Math.abs(r.current) < o) return;
399
+ const b = r.current > 0 ? ">" : "<";
400
+ r.current = 0, s.current = g, u.go(b);
401
401
  };
402
- return m.addEventListener("wheel", p, { passive: !1 }), () => {
403
- m.removeEventListener("wheel", p), r.current = 0;
402
+ return d.addEventListener("wheel", p, { passive: !1 }), () => {
403
+ d.removeEventListener("wheel", p), r.current = 0;
404
404
  };
405
405
  }, [n, o, i, e, a]);
406
406
  }
407
- const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "oraculo__OraculoCarousel-module__right___KwpOE", ga = "oraculo__OraculoCarousel-module__left___n3WQu", ha = "oraculo__OraculoCarousel-module__svg___0mGuX", ye = {
408
- gradientOverlay: pa,
409
- right: fa,
410
- left: ga,
411
- svg: ha
412
- }, ba = Nt, va = Mt, he = Ot(
407
+ const fa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ga = "oraculo__OraculoCarousel-module__right___KwpOE", ha = "oraculo__OraculoCarousel-module__left___n3WQu", ba = "oraculo__OraculoCarousel-module__svg___0mGuX", ye = {
408
+ gradientOverlay: fa,
409
+ right: ga,
410
+ left: ha,
411
+ svg: ba
412
+ }, va = Mt, _a = Bt, he = Et(
413
413
  ({
414
414
  items: e = [],
415
415
  renderItem: a,
@@ -418,86 +418,86 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
418
418
  breakpoints: i,
419
419
  options: r = {},
420
420
  className: s = "",
421
- onMove: m,
421
+ onMove: d,
422
422
  useIndexAsKey: p = !1,
423
423
  enableHorizontalWheel: f = !0,
424
- showRightGradient: d = !1
424
+ showRightGradient: u = !1
425
425
  }, l) => {
426
- const c = V(null), b = V(null), h = V(e.length), E = V(null), M = V(null);
427
- ma(b, c, {
426
+ const c = V(null), g = V(null), b = V(e.length), x = V(null), T = V(null);
427
+ pa(g, c, {
428
428
  enabled: f
429
- }), Et(l, () => ({
429
+ }), Tt(l, () => ({
430
430
  next: () => {
431
- var w;
432
- return (w = c.current) == null ? void 0 : w.go(">");
431
+ var S;
432
+ return (S = c.current) == null ? void 0 : S.go(">");
433
433
  },
434
434
  prev: () => {
435
- var w;
436
- return (w = c.current) == null ? void 0 : w.go("<");
435
+ var S;
436
+ return (S = c.current) == null ? void 0 : S.go("<");
437
437
  },
438
- go: (w) => {
438
+ go: (S) => {
439
439
  var B;
440
- return (B = c.current) == null ? void 0 : B.go(w);
440
+ return (B = c.current) == null ? void 0 : B.go(S);
441
441
  }
442
442
  }));
443
- const y = (w) => {
443
+ const _ = (S) => {
444
444
  var P;
445
- const B = w.Components.Slides, k = w.Components.Controller, x = w.root.querySelector(".splide__track"), O = (P = x == null ? void 0 : x.clientWidth) != null ? P : 0, L = k.getIndex(), A = B.getLength();
446
- let R = 0, v = L;
447
- for (let U = L; U < A; U++) {
448
- const W = B.getAt(U);
449
- if (!W || (R += W.slide.offsetWidth, R > O)) break;
450
- v = U;
445
+ const B = S.Components.Slides, $ = S.Components.Controller, w = S.root.querySelector(".splide__track"), E = (P = w == null ? void 0 : w.clientWidth) != null ? P : 0, L = $.getIndex(), A = B.getLength();
446
+ let R = 0, y = L;
447
+ for (let D = L; D < A; D++) {
448
+ const W = B.getAt(D);
449
+ if (!W || (R += W.slide.offsetWidth, R > E)) break;
450
+ y = D;
451
451
  }
452
- return { visibleStart: L, visibleEnd: v };
453
- }, _ = (w) => {
454
- const B = w.root.querySelector(".splide__track"), k = w.root.querySelector(".splide__list");
455
- return !B || !k ? !1 : k.scrollWidth > B.clientWidth + 1;
456
- }, C = Ee((w) => {
457
- var v, P;
458
- const k = w.Components.Slides.getLength();
459
- if (!_(w)) {
460
- m == null || m({
452
+ return { visibleStart: L, visibleEnd: y };
453
+ }, v = (S) => {
454
+ const B = S.root.querySelector(".splide__track"), $ = S.root.querySelector(".splide__list");
455
+ return !B || !$ ? !1 : $.scrollWidth > B.clientWidth + 1;
456
+ }, I = Ee((S) => {
457
+ var y, P;
458
+ const $ = S.Components.Slides.getLength();
459
+ if (!v(S)) {
460
+ d == null || d({
461
461
  index: 0,
462
462
  isStart: !0,
463
463
  isEnd: !0,
464
- total: k,
464
+ total: $,
465
465
  visibleStart: 0,
466
- visibleEnd: k - 1
466
+ visibleEnd: $ - 1
467
467
  });
468
468
  return;
469
469
  }
470
- const { visibleStart: x, visibleEnd: O } = y(w), L = x === 0, A = O === k - 1;
471
- d && ((v = E.current) == null || v.style.setProperty("--gradient-opacity", L ? "0" : "1"), (P = M.current) == null || P.style.setProperty("--gradient-opacity", A ? "0" : "1"));
472
- const R = w.Components.Controller.getIndex();
473
- m == null || m({
470
+ const { visibleStart: w, visibleEnd: E } = _(S), L = w === 0, A = E === $ - 1;
471
+ u && ((y = x.current) == null || y.style.setProperty("--gradient-opacity", L ? "0" : "1"), (P = T.current) == null || P.style.setProperty("--gradient-opacity", A ? "0" : "1"));
472
+ const R = S.Components.Controller.getIndex();
473
+ d == null || d({
474
474
  index: R,
475
475
  isStart: L,
476
476
  isEnd: A,
477
- total: k,
478
- visibleStart: x,
479
- visibleEnd: O
477
+ total: $,
478
+ visibleStart: w,
479
+ visibleEnd: E
480
480
  });
481
- }, [m]);
481
+ }, [d]);
482
482
  fe.useEffect(() => {
483
- var k;
484
- const w = (k = c.current) == null ? void 0 : k.splide;
485
- if (!w) return;
486
- const B = h.current !== e.length;
487
- h.current = e.length, B && requestAnimationFrame(() => {
488
- w.refresh(), C(w);
483
+ var $;
484
+ const S = ($ = c.current) == null ? void 0 : $.splide;
485
+ if (!S) return;
486
+ const B = b.current !== e.length;
487
+ b.current = e.length, B && requestAnimationFrame(() => {
488
+ S.refresh(), I(S);
489
489
  });
490
- }, [e.length, C]);
491
- const D = Ee(() => {
490
+ }, [e.length, I]);
491
+ const U = Ee(() => {
492
492
  var B;
493
- const w = (B = c.current) == null ? void 0 : B.splide;
494
- w && (w.go(0, !1), C(w));
495
- }, [C]), I = Ee(
496
- (w) => {
497
- C(w);
493
+ const S = (B = c.current) == null ? void 0 : B.splide;
494
+ S && (S.go(0, !1), I(S));
495
+ }, [I]), O = Ee(
496
+ (S) => {
497
+ I(S);
498
498
  },
499
- [C]
500
- ), T = {
499
+ [I]
500
+ ), k = {
501
501
  type: "slide",
502
502
  trimSpace: !1,
503
503
  drag: !0,
@@ -512,35 +512,35 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
512
512
  ...r,
513
513
  ...f ? { wheel: !1 } : {}
514
514
  };
515
- return /* @__PURE__ */ g(
515
+ return /* @__PURE__ */ h(
516
516
  "div",
517
517
  {
518
- ref: b,
518
+ ref: g,
519
519
  className: s,
520
520
  style: { width: "100%", position: "relative", height: "100%" },
521
521
  children: [
522
522
  /* @__PURE__ */ t(
523
- ba,
523
+ va,
524
524
  {
525
525
  ref: c,
526
- options: T,
527
- onMove: C,
528
- onMounted: I,
529
- onResize: D,
530
- children: e.map((w, B) => {
531
- var k;
532
- return /* @__PURE__ */ t(va, { children: a(w, B) }, p ? B : (k = w.id) != null ? k : B);
526
+ options: k,
527
+ onMove: I,
528
+ onMounted: O,
529
+ onResize: U,
530
+ children: e.map((S, B) => {
531
+ var $;
532
+ return /* @__PURE__ */ t(_a, { children: a(S, B) }, p ? B : ($ = S.id) != null ? $ : B);
533
533
  })
534
534
  }
535
535
  ),
536
- d && /* @__PURE__ */ g(me, { children: [
536
+ u && /* @__PURE__ */ h(me, { children: [
537
537
  /* @__PURE__ */ t(
538
538
  "div",
539
539
  {
540
- ref: E,
540
+ ref: x,
541
541
  className: `${ye.gradientOverlay} ${ye.left}`,
542
542
  style: { "--gradient-opacity": "0" },
543
- children: /* @__PURE__ */ g(
543
+ children: /* @__PURE__ */ h(
544
544
  "svg",
545
545
  {
546
546
  className: ye.svg,
@@ -550,7 +550,7 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "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__ */ g("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
553
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ h("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 pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
562
562
  /* @__PURE__ */ t(
563
563
  "div",
564
564
  {
565
- ref: M,
565
+ ref: T,
566
566
  className: `${ye.gradientOverlay} ${ye.right}`,
567
567
  style: { "--gradient-opacity": "1" },
568
- children: /* @__PURE__ */ g(
568
+ children: /* @__PURE__ */ h(
569
569
  "svg",
570
570
  {
571
571
  className: ye.svg,
@@ -575,7 +575,7 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "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__ */ g("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
578
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ h("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
  ] }) })
@@ -595,10 +595,10 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "ora
595
595
  size: n = "sm",
596
596
  fillParent: o = !1
597
597
  }) => {
598
- const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (m) => {
599
- m.stopPropagation(), a == null || a();
598
+ const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (d) => {
599
+ d.stopPropagation(), a == null || a();
600
600
  }, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
601
- return /* @__PURE__ */ g(
601
+ return /* @__PURE__ */ h(
602
602
  q,
603
603
  {
604
604
  onClick: a,
@@ -669,14 +669,14 @@ const pa = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", fa = "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(J, { variant: "primary", size: "md", onClick: r, children: "Jugar" })
673
673
  }
674
674
  )
675
675
  ]
676
676
  }
677
677
  );
678
678
  };
679
- function _a({
679
+ function ya({
680
680
  imageUrl: e,
681
681
  orden: a = 1,
682
682
  onClick: n,
@@ -686,18 +686,18 @@ function _a({
686
686
  md: { w: 186, h: 264, r: 22.6, font: 64 }
687
687
  }
688
688
  }) {
689
- var l, c, b, h;
690
- const r = (E, M) => {
691
- var y, _, C, D;
689
+ var l, c, g, b;
690
+ const r = (x, T) => {
691
+ var _, v, I, U;
692
692
  return {
693
- xs: (_ = (y = i.xs) == null ? void 0 : y[E]) != null ? _ : M,
694
- md: (D = (C = i.md) == null ? void 0 : C[E]) != null ? D : M
693
+ xs: (v = (_ = i.xs) == null ? void 0 : _[x]) != null ? v : T,
694
+ md: (U = (I = i.md) == null ? void 0 : I[x]) != null ? U : T
695
695
  };
696
- }, s = r("w", 186), m = r("h", 264), p = r("r", 22.6), f = r("font", 64), d = {
696
+ }, s = r("w", 186), d = r("h", 264), p = r("r", 22.6), f = r("font", 64), u = {
697
697
  xs: Math.round(((c = (l = i.xs) == null ? void 0 : l.font) != null ? c : 64) * 0.28),
698
- md: Math.round(((h = (b = i.md) == null ? void 0 : b.font) != null ? h : 64) * 0.28)
698
+ md: Math.round(((b = (g = i.md) == null ? void 0 : g.font) != null ? b : 64) * 0.28)
699
699
  };
700
- return /* @__PURE__ */ g(
700
+ return /* @__PURE__ */ h(
701
701
  q,
702
702
  {
703
703
  sx: {
@@ -705,13 +705,13 @@ function _a({
705
705
  width: "100%",
706
706
  maxWidth: { xs: `${s.xs}px`, md: `${s.md}px` },
707
707
  aspectRatio: {
708
- xs: `${s.xs}/${m.xs}`,
709
- md: `${s.md}/${m.md}`
708
+ xs: `${s.xs}/${d.xs}`,
709
+ md: `${s.md}/${d.md}`
710
710
  },
711
711
  borderRadius: { xs: `${p.xs}px`, md: `${p.md}px` },
712
712
  boxSizing: "border-box",
713
713
  overflow: "visible",
714
- pb: { xs: `${d.xs}px`, md: `${d.md}px` },
714
+ pb: { xs: `${u.xs}px`, md: `${u.md}px` },
715
715
  "&::before": {
716
716
  content: '""',
717
717
  position: "absolute",
@@ -766,8 +766,8 @@ function _a({
766
766
  position: "absolute",
767
767
  left: 8,
768
768
  bottom: {
769
- xs: `-${d.xs}px`,
770
- md: `-${d.md}px`
769
+ xs: `-${u.xs}px`,
770
+ md: `-${u.md}px`
771
771
  },
772
772
  fontFamily: '"secondary", sans-serif',
773
773
  fontSize: {
@@ -787,7 +787,7 @@ function _a({
787
787
  }
788
788
  );
789
789
  }
790
- const ya = ({
790
+ const xa = ({
791
791
  logo: e,
792
792
  provider: a,
793
793
  providerName: n,
@@ -795,7 +795,7 @@ const ya = ({
795
795
  onClick: i
796
796
  }) => {
797
797
  var r;
798
- return /* @__PURE__ */ g(
798
+ return /* @__PURE__ */ h(
799
799
  q,
800
800
  {
801
801
  onClick: i,
@@ -881,7 +881,7 @@ const ya = ({
881
881
  }
882
882
  }
883
883
  }
884
- ) }), mt = ({
884
+ ) }), pt = ({
885
885
  items: e,
886
886
  layout: a = "grid",
887
887
  onClick: n,
@@ -890,8 +890,8 @@ const ya = ({
890
890
  }) => {
891
891
  var r, s;
892
892
  if (a === "mosaic") {
893
- const m = e[0], p = e.slice(1, 5);
894
- return /* @__PURE__ */ g(
893
+ const d = e[0], p = e.slice(1, 5);
894
+ return /* @__PURE__ */ h(
895
895
  q,
896
896
  {
897
897
  sx: {
@@ -925,18 +925,18 @@ const ya = ({
925
925
  overflow: "hidden",
926
926
  borderRadius: 2
927
927
  },
928
- children: o ? /* @__PURE__ */ t(Fe, {}) : m && /* @__PURE__ */ t(
928
+ children: o ? /* @__PURE__ */ t(Fe, {}) : d && /* @__PURE__ */ t(
929
929
  Te,
930
930
  {
931
- imageUrl: `https://olimpo.bet${(s = (r = m.background) != null ? r : m.imageUrl) != null ? s : ""}`,
931
+ imageUrl: `https://olimpo.bet${(s = (r = d.background) != null ? r : d.imageUrl) != null ? s : ""}`,
932
932
  size: "lg",
933
933
  fillParent: !0,
934
- onClick: () => n == null ? void 0 : n(m, 0)
934
+ onClick: () => n == null ? void 0 : n(d, 0)
935
935
  }
936
936
  )
937
937
  }
938
938
  ),
939
- (o ? Array.from({ length: 4 }) : p).map((f, d) => {
939
+ (o ? Array.from({ length: 4 }) : p).map((f, u) => {
940
940
  var l, c;
941
941
  return /* @__PURE__ */ t(
942
942
  q,
@@ -953,11 +953,11 @@ const ya = ({
953
953
  imageUrl: `https://olimpo.bet${(c = (l = f.background) != null ? l : f.imageUrl) != null ? c : ""}`,
954
954
  size: "sm",
955
955
  fillParent: !0,
956
- onClick: () => n == null ? void 0 : n(f, d + 1)
956
+ onClick: () => n == null ? void 0 : n(f, u + 1)
957
957
  }
958
958
  )
959
959
  },
960
- o ? `sk-${d}` : f.id
960
+ o ? `sk-${u}` : f.id
961
961
  );
962
962
  })
963
963
  ]
@@ -980,8 +980,8 @@ const ya = ({
980
980
  gap: `${Pe}px`,
981
981
  gridAutoFlow: "column"
982
982
  },
983
- children: (o ? Array.from({ length: i }) : e).map((m, p) => {
984
- var f, d, l;
983
+ children: (o ? Array.from({ length: i }) : e).map((d, p) => {
984
+ var f, u, l;
985
985
  return /* @__PURE__ */ t(
986
986
  q,
987
987
  {
@@ -989,19 +989,19 @@ const ya = ({
989
989
  children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
990
990
  Te,
991
991
  {
992
- imageUrl: `https://olimpo.bet${(d = (f = m.background) != null ? f : m.imageUrl) != null ? d : ""}`,
992
+ imageUrl: `https://olimpo.bet${(u = (f = d.background) != null ? f : d.imageUrl) != null ? u : ""}`,
993
993
  size: "sm",
994
994
  fillParent: !0,
995
- onClick: () => n == null ? void 0 : n(m, p)
995
+ onClick: () => n == null ? void 0 : n(d, p)
996
996
  }
997
997
  )
998
998
  },
999
- o ? `sk-${p}` : (l = m.id) != null ? l : p
999
+ o ? `sk-${p}` : (l = d.id) != null ? l : p
1000
1000
  );
1001
1001
  })
1002
1002
  }
1003
1003
  );
1004
- }, Ze = ({
1004
+ }, Je = ({
1005
1005
  title: e,
1006
1006
  amount: a,
1007
1007
  subtitle: n,
@@ -1009,14 +1009,14 @@ const ya = ({
1009
1009
  onButtonClick: i,
1010
1010
  backgroundImage: r,
1011
1011
  alt: s,
1012
- className: m = "",
1012
+ className: d = "",
1013
1013
  variant: p = "small"
1014
1014
  }) => {
1015
- const f = a ? a.slice(0, 2) : "", d = a ? a.slice(2) : "", l = p === "large";
1016
- return /* @__PURE__ */ g(
1015
+ const f = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", l = p === "large";
1016
+ return /* @__PURE__ */ h(
1017
1017
  q,
1018
1018
  {
1019
- className: m,
1019
+ className: d,
1020
1020
  sx: {
1021
1021
  position: "relative",
1022
1022
  width: "100%",
@@ -1074,7 +1074,7 @@ const ya = ({
1074
1074
  pl: "14%",
1075
1075
  pr: { xs: "14%", lg: "15%" }
1076
1076
  },
1077
- children: /* @__PURE__ */ g(
1077
+ children: /* @__PURE__ */ h(
1078
1078
  q,
1079
1079
  {
1080
1080
  sx: {
@@ -1095,7 +1095,7 @@ const ya = ({
1095
1095
  children: e
1096
1096
  }
1097
1097
  ),
1098
- a && /* @__PURE__ */ g(
1098
+ a && /* @__PURE__ */ h(
1099
1099
  q,
1100
1100
  {
1101
1101
  component: "p",
@@ -1126,7 +1126,7 @@ const ya = ({
1126
1126
  {
1127
1127
  component: "span",
1128
1128
  sx: { fontSize: { xs: 52, md: 77 } },
1129
- children: d
1129
+ children: u
1130
1130
  }
1131
1131
  )
1132
1132
  ]
@@ -1144,7 +1144,7 @@ const ya = ({
1144
1144
  children: n
1145
1145
  }
1146
1146
  ),
1147
- o && /* @__PURE__ */ t(X, { onClick: i, children: o })
1147
+ o && /* @__PURE__ */ t(J, { onClick: i, children: o })
1148
1148
  ]
1149
1149
  }
1150
1150
  )
@@ -1153,7 +1153,7 @@ const ya = ({
1153
1153
  ]
1154
1154
  }
1155
1155
  );
1156
- }, xa = ({
1156
+ }, wa = ({
1157
1157
  text: e,
1158
1158
  buttonLabel: a = "Conoce más",
1159
1159
  onClick: n,
@@ -1161,7 +1161,7 @@ const ya = ({
1161
1161
  imgSrcMobile: i,
1162
1162
  imgSrcDesktopBg: r,
1163
1163
  imgSrcDesktopLogo: s
1164
- }) => /* @__PURE__ */ g(me, { children: [
1164
+ }) => /* @__PURE__ */ h(me, { children: [
1165
1165
  /* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
1166
1166
  "img",
1167
1167
  {
@@ -1170,7 +1170,7 @@ const ya = ({
1170
1170
  className: "orc-co-bgMobileImg"
1171
1171
  }
1172
1172
  ) }),
1173
- /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ g("div", { className: "orc-co-desktopInner", children: [
1173
+ /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ h("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 ya = ({
1179
1179
  className: "orc-co-bgDesktopImg"
1180
1180
  }
1181
1181
  ) }),
1182
- /* @__PURE__ */ g("div", { className: "orc-co-desktopContent", children: [
1182
+ /* @__PURE__ */ h("div", { className: "orc-co-desktopContent", children: [
1183
1183
  s && /* @__PURE__ */ t(
1184
1184
  "img",
1185
1185
  {
@@ -1189,38 +1189,38 @@ const ya = ({
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(J, { onClick: n, variant: "primary", size: "md", children: a })
1193
1193
  ] })
1194
1194
  ] }) }),
1195
- /* @__PURE__ */ g("div", { className: "orc-co-bottom", children: [
1195
+ /* @__PURE__ */ h("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(J, { onClick: n, variant: "primary", size: "md", children: a })
1198
1198
  ] })
1199
- ] }), wa = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Sa = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ia = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ca = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Oa = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", Ea = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Ta = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", ka = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", $a = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", le = {
1200
- card: wa,
1201
- combinadas: Sa,
1202
- combinadasScroll: Ia,
1203
- apuestaItem: Ca,
1204
- lineContainer: Oa,
1205
- circle: Ea,
1206
- line: Ta,
1207
- apuestaText: ka,
1208
- cuotaTotal: $a
1199
+ ] }), Sa = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ia = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Oa = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ea = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", Ta = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", ka = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Na = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", le = {
1200
+ card: Sa,
1201
+ combinadas: Ia,
1202
+ combinadasScroll: Ca,
1203
+ apuestaItem: Oa,
1204
+ lineContainer: Ea,
1205
+ circle: Ta,
1206
+ line: ka,
1207
+ apuestaText: $a,
1208
+ cuotaTotal: Na
1209
1209
  };
1210
- function Ue(e, a) {
1210
+ function De(e, a) {
1211
1211
  const n = Array.isArray(a) ? a : [a];
1212
1212
  sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
1213
1213
  }
1214
- function Na() {
1214
+ function Ma() {
1215
1215
  window.location.href = "/deportes#in-play";
1216
1216
  }
1217
- function Ma() {
1217
+ function Ba() {
1218
1218
  window.location.href = "/deportes#sports-hub/football";
1219
1219
  }
1220
- function Ba() {
1220
+ function za() {
1221
1221
  window.location.href = "/deportes#specials";
1222
1222
  }
1223
- async function pt(e) {
1223
+ async function ft(e) {
1224
1224
  return await (await fetch("https://api.mktolimpo.com/api/jerseys/search", {
1225
1225
  method: "POST",
1226
1226
  headers: {
@@ -1231,97 +1231,97 @@ async function pt(e) {
1231
1231
  })
1232
1232
  })).json();
1233
1233
  }
1234
- const ft = Tt(void 0), gt = ({ children: e, docId: a, moduleId: n }) => {
1234
+ const gt = kt(void 0), ht = ({ children: e, docId: a, moduleId: n }) => {
1235
1235
  const o = fe.useMemo(() => ({ docId: a, moduleId: n }), [a, n]);
1236
- return /* @__PURE__ */ t(ft.Provider, { value: o, children: e });
1237
- }, ht = () => {
1238
- const e = kt(ft);
1236
+ return /* @__PURE__ */ t(gt.Provider, { value: o, children: e });
1237
+ }, bt = () => {
1238
+ const e = $t(gt);
1239
1239
  if (!e)
1240
1240
  throw new Error("useDocContext debe usarse dentro de DocIdProvider");
1241
1241
  return e;
1242
- }, ne = () => ht().docId, se = () => ht().moduleId;
1243
- function za({ coupon: e }) {
1242
+ }, ne = () => bt().docId, se = () => bt().moduleId;
1243
+ function Aa({ coupon: e }) {
1244
1244
  var f;
1245
1245
  const a = ae(), n = ne();
1246
- function o(d) {
1247
- var b, h;
1246
+ function o(u) {
1247
+ var g, b;
1248
1248
  const l = [], c = Array.from(
1249
1249
  new Map(
1250
- ((b = d == null ? void 0 : d.events) != null ? b : []).filter(Boolean).map((E) => [E.id, E])
1250
+ ((g = u == null ? void 0 : u.events) != null ? g : []).filter(Boolean).map((x) => [x.id, x])
1251
1251
  ).values()
1252
1252
  );
1253
- return c.forEach((E) => {
1254
- var C;
1255
- const M = (C = E.betoffers) != null ? C : [], y = E.homeName, _ = E.awayName;
1256
- M.forEach((D) => {
1257
- var B, k, x, O, L, A, R;
1258
- if (!((B = D == null ? void 0 : D.outcomes) != null && B.length)) return;
1259
- const I = D.outcomes[0];
1260
- if (!I) return;
1261
- let T = "";
1262
- const w = I != null && I.line ? I.line / 1e3 : "";
1263
- ["Más de", "Mas de", "Over"].includes(I.label) ? (T = `Más de ${w}`, I.participant && (T = `${I.participant} - ${T}`)) : ["Menos de", "Menos", "Under"].includes(I.label) ? (T = `Menos de ${w}`, I.participant && (T = `${I.participant} - ${T}`)) : ["Sí", "No"].includes(I.label) ? (T = I.label, I.participant && (T = `${I.participant} - ${T}`)) : ["1X", "12", "X2"].includes(I.label) ? (I.label === "1X" && (T = `${y} o Empate`), I.label === "12" && (T = `${y} o ${_}`), I.label === "X2" && (T = `${_} o Empate`)) : (T = (x = (k = I.participant) != null ? k : I.label) != null ? x : "", w !== "" && T === I.label && (T = `${I.label} ${w}`)), l.push({
1264
- id: I.id,
1265
- value: T,
1266
- label: (L = (O = D.criterion) == null ? void 0 : O.label) != null ? L : "",
1267
- odds: (A = I.odds) != null ? A : 0,
1268
- position: (R = I.position) != null ? R : 0,
1269
- eventId: E.id
1253
+ return c.forEach((x) => {
1254
+ var I;
1255
+ const T = (I = x.betoffers) != null ? I : [], _ = x.homeName, v = x.awayName;
1256
+ T.forEach((U) => {
1257
+ var B, $, w, E, L, A, R;
1258
+ if (!((B = U == null ? void 0 : U.outcomes) != null && B.length)) return;
1259
+ const O = U.outcomes[0];
1260
+ if (!O) return;
1261
+ let k = "";
1262
+ const S = O != null && O.line ? O.line / 1e3 : "";
1263
+ ["Más de", "Mas de", "Over"].includes(O.label) ? (k = `Más de ${S}`, O.participant && (k = `${O.participant} - ${k}`)) : ["Menos de", "Menos", "Under"].includes(O.label) ? (k = `Menos de ${S}`, O.participant && (k = `${O.participant} - ${k}`)) : ["Sí", "No"].includes(O.label) ? (k = O.label, O.participant && (k = `${O.participant} - ${k}`)) : ["1X", "12", "X2"].includes(O.label) ? (O.label === "1X" && (k = `${_} o Empate`), O.label === "12" && (k = `${_} o ${v}`), O.label === "X2" && (k = `${v} o Empate`)) : (k = (w = ($ = O.participant) != null ? $ : O.label) != null ? w : "", S !== "" && k === O.label && (k = `${O.label} ${S}`)), l.push({
1264
+ id: O.id,
1265
+ value: k,
1266
+ label: (L = (E = U.criterion) == null ? void 0 : E.label) != null ? L : "",
1267
+ odds: (A = O.odds) != null ? A : 0,
1268
+ position: (R = O.position) != null ? R : 0,
1269
+ eventId: x.id
1270
1270
  });
1271
1271
  });
1272
1272
  }), {
1273
- outcomes: l.sort((E, M) => E.position - M.position),
1274
- total: Number((h = d == null ? void 0 : d.combinadoTotal) != null ? h : 0).toLocaleString("en-US", {
1273
+ outcomes: l.sort((x, T) => x.position - T.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
  }),
1278
1278
  events: c
1279
1279
  };
1280
1280
  }
1281
- function i(d) {
1282
- if (!d || !Array.isArray(d.events) || d.events.length === 0)
1281
+ function i(u) {
1282
+ if (!u || !Array.isArray(u.events) || u.events.length === 0)
1283
1283
  return "/deportes#home";
1284
- const l = d.events;
1284
+ const l = u.events;
1285
1285
  if (l.length === 1)
1286
1286
  return `/deportes#event/${l[0].id}`;
1287
1287
  const c = l[0].groupId;
1288
- if (l.every((h) => h.groupId === c)) {
1289
- const h = l[0].path;
1290
- if (Array.isArray(h) && h.length > 0)
1291
- return `/deportes#sports-hub/${h.map((M) => M.termKey).filter(Boolean).join("/")}`;
1288
+ if (l.every((b) => b.groupId === c)) {
1289
+ const b = l[0].path;
1290
+ if (Array.isArray(b) && b.length > 0)
1291
+ return `/deportes#sports-hub/${b.map((T) => T.termKey).filter(Boolean).join("/")}`;
1292
1292
  }
1293
1293
  return "/deportes#home";
1294
1294
  }
1295
- const r = (d, l) => {
1296
- const c = Array.isArray(d) ? d : [d], b = Array.from(
1295
+ const r = (u, l) => {
1296
+ const c = Array.isArray(u) ? u : [u], g = Array.from(
1297
1297
  new Set(
1298
- s.outcomes.map((M) => {
1299
- var _;
1300
- const y = p.get(Number(M.eventId));
1301
- return (_ = y == null ? void 0 : y.name) != null ? _ : "";
1298
+ s.outcomes.map((T) => {
1299
+ var v;
1300
+ const _ = p.get(Number(T.eventId));
1301
+ return (v = _ == null ? void 0 : _.name) != null ? v : "";
1302
1302
  })
1303
1303
  )
1304
- ).filter(Boolean), h = b.length > 0 ? b.join(" + ") : JSON.stringify(c), E = l ? `${h} - Cuota: ${l}` : h;
1304
+ ).filter(Boolean), b = g.length > 0 ? g.join(" + ") : JSON.stringify(c), x = l ? `${b} - Cuota: ${l}` : b;
1305
1305
  a({
1306
1306
  element: "evento_semana_outcome",
1307
- label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${E}`,
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: E }
1315
- }), Ue(i(e), d);
1314
+ tags: { section: "OraculoEventCombinadasCard", outcomes: x }
1315
+ }), De(i(e), u);
1316
1316
  };
1317
1317
  if (!((f = e == null ? void 0 : e.events) != null && f.length)) return null;
1318
- const s = o(e), m = s.outcomes.reduce((d, l) => (d[l.eventId] || (d[l.eventId] = []), d[l.eventId].push(l), d), {}), p = new Map(
1319
- s.events.map((d) => [d.id, d])
1318
+ const s = o(e), d = s.outcomes.reduce((u, l) => (u[l.eventId] || (u[l.eventId] = []), u[l.eventId].push(l), u), {}), p = new Map(
1319
+ s.events.map((u) => [u.id, u])
1320
1320
  );
1321
- return /* @__PURE__ */ g("div", { className: le.card, children: [
1322
- /* @__PURE__ */ t("div", { className: le.combinadas, children: /* @__PURE__ */ t("div", { className: le.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(m).reverse().map(([d, l]) => {
1323
- const c = p.get(Number(d));
1324
- return c ? /* @__PURE__ */ g(
1321
+ return /* @__PURE__ */ h("div", { className: le.card, children: [
1322
+ /* @__PURE__ */ t("div", { className: le.combinadas, children: /* @__PURE__ */ t("div", { className: le.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(d).reverse().map(([u, l]) => {
1323
+ const c = p.get(Number(u));
1324
+ return c ? /* @__PURE__ */ h(
1325
1325
  H,
1326
1326
  {
1327
1327
  direction: "column",
@@ -1343,32 +1343,32 @@ function za({ coupon: e }) {
1343
1343
  src: "/assets/img/home/Combinadas/line.png"
1344
1344
  }
1345
1345
  ),
1346
- l.map((b, h) => /* @__PURE__ */ g("div", { className: le.apuestaItem, children: [
1347
- /* @__PURE__ */ g("div", { className: le.lineContainer, children: [
1346
+ l.map((g, b) => /* @__PURE__ */ h("div", { className: le.apuestaItem, children: [
1347
+ /* @__PURE__ */ h("div", { className: le.lineContainer, children: [
1348
1348
  /* @__PURE__ */ t("div", { className: le.circle }),
1349
- h < l.length - 1 && /* @__PURE__ */ t("div", { className: le.line })
1349
+ b < l.length - 1 && /* @__PURE__ */ t("div", { className: le.line })
1350
1350
  ] }),
1351
- /* @__PURE__ */ g("div", { className: le.apuestaText, children: [
1352
- /* @__PURE__ */ t("strong", { children: b.value }),
1351
+ /* @__PURE__ */ h("div", { className: le.apuestaText, children: [
1352
+ /* @__PURE__ */ t("strong", { children: g.value }),
1353
1353
  " | ",
1354
- b.label
1354
+ g.label
1355
1355
  ] })
1356
- ] }, `${d}-${h}`))
1356
+ ] }, `${u}-${b}`))
1357
1357
  ]
1358
1358
  },
1359
- d
1359
+ u
1360
1360
  ) : null;
1361
1361
  }) }) }) }),
1362
- /* @__PURE__ */ g(
1362
+ /* @__PURE__ */ h(
1363
1363
  "button",
1364
1364
  {
1365
1365
  onClick: () => r(
1366
- s.outcomes.map((d) => d.id),
1366
+ s.outcomes.map((u) => u.id),
1367
1367
  s.total
1368
1368
  ),
1369
1369
  className: le.cuotaTotal,
1370
1370
  children: [
1371
- /* @__PURE__ */ g("span", { children: [
1371
+ /* @__PURE__ */ h("span", { children: [
1372
1372
  "Cuota total: ",
1373
1373
  /* @__PURE__ */ t("strong", { children: s.total })
1374
1374
  ] }),
@@ -1399,7 +1399,7 @@ const ce = {
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 Aa({
1402
+ function Ra({
1403
1403
  children: e,
1404
1404
  onClick: a,
1405
1405
  href: n,
@@ -1407,68 +1407,68 @@ function Aa({
1407
1407
  rel: i,
1408
1408
  type: r = "button",
1409
1409
  disabled: s = !1,
1410
- variant: m = "primary",
1410
+ variant: d = "primary",
1411
1411
  size: p,
1412
1412
  fullWidth: f = !1,
1413
- fullHeight: d = !1,
1413
+ fullHeight: u = !1,
1414
1414
  className: l = "",
1415
1415
  ariaLabel: c,
1416
- leftIcon: b,
1417
- rightIcon: h,
1418
- iconOnly: E
1416
+ leftIcon: g,
1417
+ rightIcon: b,
1418
+ iconOnly: x
1419
1419
  }) {
1420
- const M = !!e && e !== !0, C = (!!b ? 1 : 0) + (!!h ? 1 : 0) == 1, D = E != null ? E : C && !M, I = [
1420
+ const T = !!e && e !== !0, I = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, U = x != null ? x : I && !T, O = [
1421
1421
  ce["orc-btn"],
1422
1422
  // base
1423
- ce[`orc-btn--${m}`],
1423
+ ce[`orc-btn--${d}`],
1424
1424
  // variant primary/secondary/tertiary
1425
1425
  p ? ce[`orc-btn--${p}`] : "",
1426
1426
  // sm / md / lg
1427
1427
  f ? ce["orc-btn--full"] : "",
1428
- d ? ce["orc-btn--fullHeight"] : "",
1429
- D ? ce["orc-btn--iconOnly"] : "",
1428
+ u ? ce["orc-btn--fullHeight"] : "",
1429
+ U ? ce["orc-btn--iconOnly"] : "",
1430
1430
  l
1431
- ].filter(Boolean).join(" "), T = /* @__PURE__ */ g(me, { children: [
1432
- b && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: b }),
1433
- !D && /* @__PURE__ */ t("span", { className: ce["orc-btn__label"], children: e }),
1434
- h && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: h })
1435
- ] }), w = s ? !0 : void 0;
1431
+ ].filter(Boolean).join(" "), k = /* @__PURE__ */ h(me, { children: [
1432
+ g && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: g }),
1433
+ !U && /* @__PURE__ */ t("span", { className: ce["orc-btn__label"], children: e }),
1434
+ b && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: b })
1435
+ ] }), S = s ? !0 : void 0;
1436
1436
  return n ? /* @__PURE__ */ t(
1437
- ot,
1437
+ it,
1438
1438
  {
1439
1439
  href: n,
1440
1440
  target: o,
1441
1441
  rel: i,
1442
1442
  "aria-label": c,
1443
- "aria-disabled": w,
1444
- tabIndex: w ? -1 : void 0,
1445
- className: I,
1446
- onClick: w ? (B) => B.preventDefault() : a,
1447
- children: T
1443
+ "aria-disabled": S,
1444
+ tabIndex: S ? -1 : void 0,
1445
+ className: O,
1446
+ onClick: S ? (B) => B.preventDefault() : a,
1447
+ children: k
1448
1448
  }
1449
1449
  ) : /* @__PURE__ */ t(
1450
1450
  "button",
1451
1451
  {
1452
1452
  type: r,
1453
1453
  onClick: a,
1454
- disabled: !!w,
1454
+ disabled: !!S,
1455
1455
  "aria-label": c,
1456
- className: I,
1457
- children: T
1456
+ className: O,
1457
+ children: k
1458
1458
  }
1459
1459
  );
1460
1460
  }
1461
- const Ra = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", La = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Pa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1462
- cardWrapper: Ra,
1463
- customButtonLabel: La,
1464
- customButtonDisabled: Pa
1461
+ const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1462
+ cardWrapper: La,
1463
+ customButtonLabel: Pa,
1464
+ customButtonDisabled: Fa
1465
1465
  }, Xe = {
1466
1466
  base: "FFFFFF",
1467
1467
  sleeve: "FFFFFF",
1468
1468
  number: "000000",
1469
1469
  real: !1,
1470
1470
  type: "short_sleeves"
1471
- }, Je = {
1471
+ }, Ye = {
1472
1472
  base: "000000",
1473
1473
  sleeve: "000000",
1474
1474
  number: "FFFFFF",
@@ -1479,16 +1479,16 @@ const Ra = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", La = "
1479
1479
  if (e === void 0)
1480
1480
  return null;
1481
1481
  if (e === null)
1482
- return a === "home" ? Xe : Je;
1482
+ return a === "home" ? Xe : 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 : Je);
1484
+ return o || (a === "home" ? Xe : Ye);
1485
1485
  };
1486
- function Fa({ event: e, liveData: a, betOffers: n, jersey: o }) {
1487
- var m, p, f, d, l, c, b, h, E, M, y;
1486
+ function qa({ event: e, liveData: a, betOffers: n, jersey: o }) {
1487
+ var d, p, f, u, l, c, g, b, x, T, _;
1488
1488
  const i = n == null ? void 0 : n.find(
1489
- (_) => {
1490
- var C;
1491
- return ((C = _.betOfferType) == null ? void 0 : C.id) === 2;
1489
+ (v) => {
1490
+ var I;
1491
+ return ((I = v.betOfferType) == null ? void 0 : I.id) === 2;
1492
1492
  }
1493
1493
  ), r = {
1494
1494
  englishLabel: "",
@@ -1504,150 +1504,150 @@ function Fa({ 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__ */ g(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1508
- /* @__PURE__ */ g(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1507
+ return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1508
+ /* @__PURE__ */ h(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1509
1509
  /* @__PURE__ */ t(
1510
- Gt,
1510
+ jt,
1511
1511
  {
1512
- title: (f = (p = (m = e == null ? void 0 : e.path) == null ? void 0 : m[0]) == null ? void 0 : p.name) != null ? f : "",
1513
- subtitle: (d = e == null ? void 0 : e.group) != null ? d : "",
1512
+ title: (f = (p = (d = e == null ? void 0 : e.path) == null ? void 0 : d[0]) == null ? void 0 : p.name) != null ? f : "",
1513
+ subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
1514
1514
  live: !0,
1515
1515
  time: ((l = a == null ? void 0 : a.matchClock) == null ? void 0 : l.minute) != null ? `${a.matchClock.minute}'` : ""
1516
1516
  }
1517
1517
  ),
1518
- /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ g(ue, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1518
+ /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ h(ue, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1519
1519
  /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
1520
- /* @__PURE__ */ t(ut, { text: ((b = (c = a == null ? void 0 : a.score) == null ? void 0 : c.home) != null ? b : 0) + ":" + ((E = (h = a == null ? void 0 : a.score) == null ? void 0 : h.away) != null ? E : 0), name: "En vivo" }),
1520
+ /* @__PURE__ */ t(mt, { text: ((g = (c = a == null ? void 0 : a.score) == null ? void 0 : c.home) != null ? g : 0) + ":" + ((x = (b = a == null ? void 0 : a.score) == null ? void 0 : b.away) != null ? x : 0), name: "En vivo" }),
1521
1521
  /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1522
1522
  ] }) })
1523
1523
  ] }),
1524
- /* @__PURE__ */ g(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
- /* @__PURE__ */ t(ue, { spacing: 1, children: ((M = i == null ? void 0 : i.outcomes) != null ? M : s).map((_, C) => /* @__PURE__ */ t(ct, { text: _.label.toUpperCase() }, C)) }),
1526
- /* @__PURE__ */ t(ue, { spacing: 2, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : s).map((_, C) => /* @__PURE__ */ t(Aa, { variant: "primary", disabled: _.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
- Ue("/deportes#event/live/" + e.id, _.id);
1528
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: _.odds === void 0 ? "" : (_.odds / 1e3).toFixed(2) }) }, C)) })
1524
+ /* @__PURE__ */ h(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
+ /* @__PURE__ */ t(ue, { spacing: 1, children: ((T = i == null ? void 0 : i.outcomes) != null ? T : s).map((v, I) => /* @__PURE__ */ t(dt, { text: v.label.toUpperCase() }, I)) }),
1526
+ /* @__PURE__ */ t(ue, { spacing: 2, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : s).map((v, I) => /* @__PURE__ */ t(Ra, { variant: "primary", disabled: v.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
+ De("/deportes#event/live/" + e.id, v.id);
1528
+ }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: v.odds === void 0 ? "" : (v.odds / 1e3).toFixed(2) }) }, I)) })
1529
1529
  ] })
1530
1530
  ] }) });
1531
1531
  }
1532
- const qa = "oraculo__OraculoEventDate-module__date___xhIlh", Da = {
1533
- date: qa
1532
+ const Ua = "oraculo__OraculoEventDate-module__date___xhIlh", Da = {
1533
+ date: Ua
1534
1534
  };
1535
- function Ua({ text: e }) {
1535
+ function Va({ text: e }) {
1536
1536
  return /* @__PURE__ */ t("div", { className: `oli-font ${Da.date}`, children: e });
1537
1537
  }
1538
- const Va = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Wa = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Ga = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", ja = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", be = {
1539
- cardContainer: Va,
1540
- cardBackground: Wa,
1541
- jugadas: Ga,
1542
- equipos: ja
1538
+ const Wa = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Ga = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", ja = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Ha = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", be = {
1539
+ cardContainer: Wa,
1540
+ cardBackground: Ga,
1541
+ jugadas: ja,
1542
+ equipos: Ha
1543
1543
  };
1544
- function Ha({ event: e, jersey: a }) {
1545
- var s, m, p, f, d, l, c;
1544
+ function Ka({ event: e, jersey: a }) {
1545
+ var s, d, p, f, u, l, c;
1546
1546
  const n = ae(), o = ne();
1547
- function i(b) {
1548
- const h = new Date(b), E = h.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), M = h.getDate().toString().padStart(2, "0"), y = (h.getMonth() + 1).toString().padStart(2, "0");
1549
- let _ = h.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1550
- return _ = _.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${E} ${M}/${y} | ${_}`;
1547
+ function i(g) {
1548
+ const b = new Date(g), x = b.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), T = b.getDate().toString().padStart(2, "0"), _ = (b.getMonth() + 1).toString().padStart(2, "0");
1549
+ let v = b.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"), `${x} ${T}/${_} | ${v}`;
1551
1551
  }
1552
- const r = (b, h) => {
1553
- const E = `${e.homeName} vs ${e.awayName}`, M = h ? (h / 1e3).toFixed(2) : "", y = M ? `${E} - Cuota: ${M}` : E;
1552
+ const r = (g, b) => {
1553
+ const x = `${e.homeName} vs ${e.awayName}`, T = b ? (b / 1e3).toFixed(2) : "", _ = T ? `${x} - Cuota: ${T}` : x;
1554
1554
  n({
1555
1555
  element: "evento_semana_outcome",
1556
- label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${y}`,
1556
+ label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${_}`,
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, b);
1563
+ tags: { section: "OraculoEventSemanaCard", outcomes: _ }
1564
+ }), De("/deportes#event/" + e.id, g);
1565
1565
  };
1566
- return /* @__PURE__ */ g("div", { className: be.cardContainer, children: [
1567
- /* @__PURE__ */ t(dt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
1568
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ g(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1569
- /* @__PURE__ */ g(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1570
- /* @__PURE__ */ g("div", { className: be.equipos, children: [
1566
+ return /* @__PURE__ */ h("div", { className: be.cardContainer, children: [
1567
+ /* @__PURE__ */ t(ut, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
1568
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ h(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1569
+ /* @__PURE__ */ h(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1570
+ /* @__PURE__ */ h("div", { className: be.equipos, children: [
1571
1571
  /* @__PURE__ */ t(Ne, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1572
- /* @__PURE__ */ t(ut, { text: "vs.", name: "", size: "small" }),
1572
+ /* @__PURE__ */ t(mt, { text: "vs.", name: "", size: "small" }),
1573
1573
  /* @__PURE__ */ t(Ne, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1574
1574
  ] }),
1575
- /* @__PURE__ */ t(Ua, { text: i(e.start) })
1575
+ /* @__PURE__ */ t(Va, { text: i(e.start) })
1576
1576
  ] }),
1577
- /* @__PURE__ */ g(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1578
- /* @__PURE__ */ t(ue, { spacing: 1, children: ((f = (p = (m = e == null ? void 0 : e.outcome) == null ? void 0 : m[0]) == null ? void 0 : p.outcomes) != null ? f : []).map((b, h) => /* @__PURE__ */ t(ct, { text: b.label.toUpperCase() }, h)) }),
1579
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(ue, { spacing: 1, children: ((c = (l = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : l.outcomes) != null ? c : []).map((b, h) => /* @__PURE__ */ t(X, { variant: "primary", fullHeight: !0, onClick: () => {
1580
- r(b.id, b.odds);
1581
- }, children: (b.odds / 1e3).toFixed(2) }, h)) }) })
1577
+ /* @__PURE__ */ h(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1578
+ /* @__PURE__ */ t(ue, { spacing: 1, children: ((f = (p = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : p.outcomes) != null ? f : []).map((g, b) => /* @__PURE__ */ t(dt, { text: g.label.toUpperCase() }, b)) }),
1579
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(ue, { spacing: 1, children: ((c = (l = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : l.outcomes) != null ? c : []).map((g, b) => /* @__PURE__ */ t(J, { variant: "primary", fullHeight: !0, onClick: () => {
1580
+ r(g.id, g.odds);
1581
+ }, children: (g.odds / 1e3).toFixed(2) }, b)) }) })
1582
1582
  ] })
1583
1583
  ] }) })
1584
1584
  ] });
1585
1585
  }
1586
- function Ka({
1586
+ function Za({
1587
1587
  items: e,
1588
1588
  title: a = "Destacados",
1589
1589
  iconUrl: n,
1590
1590
  onViewMore: o,
1591
1591
  className: i = ""
1592
1592
  }) {
1593
- const r = V(null), [s, m] = K({ isStart: !0, isEnd: !1 }), p = ae(), f = ne(), d = se(), l = !e || e.length === 0, c = () => {
1594
- var _;
1593
+ const r = V(null), [s, d] = K({ isStart: !0, isEnd: !1 }), p = ae(), f = ne(), u = se(), l = !e || e.length === 0, c = () => {
1594
+ var v;
1595
1595
  p({
1596
1596
  element: "destacados_carousel_prev",
1597
1597
  label: `${f} - OraculoSeccionDestacados - Anterior`,
1598
1598
  target: "carousel",
1599
1599
  event_type: "click",
1600
- module_id: d,
1600
+ module_id: u,
1601
1601
  metadata: {
1602
1602
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1603
1603
  },
1604
1604
  tags: { section: "OraculoSeccionDestacados" }
1605
- }), (_ = r.current) == null || _.prev();
1606
- }, b = () => {
1607
- var _;
1605
+ }), (v = r.current) == null || v.prev();
1606
+ }, g = () => {
1607
+ var v;
1608
1608
  p({
1609
1609
  element: "destacados_carousel_next",
1610
1610
  label: `${f} - OraculoSeccionDestacados - Siguiente`,
1611
1611
  target: "carousel",
1612
1612
  event_type: "click",
1613
- module_id: d,
1613
+ module_id: u,
1614
1614
  metadata: {
1615
1615
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1616
1616
  },
1617
1617
  tags: { section: "OraculoSeccionDestacados" }
1618
- }), (_ = r.current) == null || _.next();
1619
- }, h = () => {
1618
+ }), (v = r.current) == null || v.next();
1619
+ }, b = () => {
1620
1620
  p({
1621
1621
  element: "destacados_view_more",
1622
1622
  label: `${f} - OraculoSeccionDestacados - Ver más`,
1623
1623
  target: "https://www.olimpo.bet/promociones",
1624
1624
  event_type: "click",
1625
- module_id: d,
1625
+ module_id: u,
1626
1626
  metadata: {
1627
1627
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1628
1628
  },
1629
1629
  tags: { section: "OraculoSeccionDestacados" }
1630
1630
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1631
- }, E = (_) => {
1632
- if (!_) return;
1633
- const D = `https://www.olimpo.bet/promociones/${encodeURIComponent(_)}`;
1631
+ }, x = (v) => {
1632
+ if (!v) return;
1633
+ const U = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
1634
1634
  p({
1635
1635
  element: "destacados_card",
1636
- label: `${f} - OraculoSeccionDestacados - Click: ${String(_)}`,
1637
- target: D,
1636
+ label: `${f} - OraculoSeccionDestacados - Click: ${String(v)}`,
1637
+ target: U,
1638
1638
  event_type: "click",
1639
- module_id: d,
1639
+ module_id: u,
1640
1640
  metadata: {
1641
1641
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1642
1642
  },
1643
1643
  tags: {
1644
1644
  section: "OraculoSeccionDestacados",
1645
- promotion: String(_)
1645
+ promotion: String(v)
1646
1646
  }
1647
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(D);
1648
- }, M = i || void 0, y = xe("(max-width:950px)");
1649
- return /* @__PURE__ */ g("section", { className: M, style: { width: "100%" }, children: [
1650
- /* @__PURE__ */ g(
1647
+ }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(U);
1648
+ }, T = i || void 0, _ = xe("(max-width:950px)");
1649
+ return /* @__PURE__ */ h("section", { className: T, style: { width: "100%" }, children: [
1650
+ /* @__PURE__ */ h(
1651
1651
  "header",
1652
1652
  {
1653
1653
  style: {
@@ -1657,14 +1657,14 @@ function Ka({
1657
1657
  columnGap: 12,
1658
1658
  rowGap: 8,
1659
1659
  // marginBottom: 16,
1660
- paddingLeft: y ? 16 : 0,
1661
- paddingRight: y ? 16 : 0
1660
+ paddingLeft: _ ? 16 : 0,
1661
+ paddingRight: _ ? 16 : 0
1662
1662
  },
1663
1663
  children: [
1664
1664
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1665
- /* @__PURE__ */ g("div", { style: { display: "flex", gap: 8 }, children: [
1665
+ /* @__PURE__ */ h("div", { style: { display: "flex", gap: 8 }, children: [
1666
1666
  /* @__PURE__ */ t(
1667
- X,
1667
+ J,
1668
1668
  {
1669
1669
  ariaLabel: "Anterior",
1670
1670
  variant: "secondary",
@@ -1675,18 +1675,18 @@ function Ka({
1675
1675
  }
1676
1676
  ),
1677
1677
  /* @__PURE__ */ t(
1678
- X,
1678
+ J,
1679
1679
  {
1680
1680
  ariaLabel: "Siguiente",
1681
1681
  variant: "secondary",
1682
1682
  iconOnly: !0,
1683
1683
  rightIcon: /* @__PURE__ */ t(Ae, {}),
1684
- onClick: b,
1684
+ onClick: g,
1685
1685
  disabled: s.isEnd || l
1686
1686
  }
1687
1687
  )
1688
1688
  ] }),
1689
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: h, children: "Ver más" })
1689
+ /* @__PURE__ */ t(J, { variant: "secondary", onClick: b, children: "Ver más" })
1690
1690
  ]
1691
1691
  }
1692
1692
  ),
@@ -1698,13 +1698,13 @@ function Ka({
1698
1698
  perPage: void 0,
1699
1699
  gap: "16px",
1700
1700
  enableHorizontalWheel: !0,
1701
- showRightGradient: !y,
1701
+ showRightGradient: !_,
1702
1702
  options: { autoWidth: !0, trimSpace: "move" },
1703
1703
  breakpoints: {
1704
1704
  768: { perPage: 2, focus: "start", padding: { left: "24px", right: "24px" } },
1705
1705
  1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
1706
1706
  },
1707
- renderItem: (_) => /* @__PURE__ */ t(
1707
+ renderItem: (v) => /* @__PURE__ */ t(
1708
1708
  "div",
1709
1709
  {
1710
1710
  style: {
@@ -1712,12 +1712,12 @@ function Ka({
1712
1712
  marginTop: 16,
1713
1713
  cursor: "pointer"
1714
1714
  },
1715
- onClick: () => E(_.promotion),
1715
+ onClick: () => x(v.promotion),
1716
1716
  children: /* @__PURE__ */ t(
1717
1717
  "img",
1718
1718
  {
1719
- src: `https://olimpo.bet${_.image !== "" ? _.image : _.summary_image}`,
1720
- alt: _.title,
1719
+ src: `https://olimpo.bet${v.image !== "" ? v.image : v.summary_image}`,
1720
+ alt: v.title,
1721
1721
  style: {
1722
1722
  width: "100%",
1723
1723
  height: typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px",
@@ -1728,19 +1728,19 @@ function Ka({
1728
1728
  }
1729
1729
  )
1730
1730
  },
1731
- `${_.title}-${_.image}`
1731
+ `${v.title}-${v.image}`
1732
1732
  ),
1733
- onMove: ({ isStart: _, isEnd: C }) => {
1734
- m({ isStart: _, isEnd: C }), p({
1733
+ onMove: ({ isStart: v, isEnd: I }) => {
1734
+ d({ isStart: v, isEnd: I }), p({
1735
1735
  element: "destacados_carousel_slide",
1736
1736
  label: `${f} - OraculoSeccionDestacados - Slide Carousel`,
1737
1737
  target: "carousel",
1738
1738
  event_type: "slide",
1739
- module_id: d,
1739
+ module_id: u,
1740
1740
  metadata: {
1741
1741
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1742
- isStart: _,
1743
- isEnd: C
1742
+ isStart: v,
1743
+ isEnd: I
1744
1744
  },
1745
1745
  tags: { section: "OraculoSeccionDestacados" }
1746
1746
  });
@@ -1750,37 +1750,37 @@ function Ka({
1750
1750
  ] });
1751
1751
  }
1752
1752
  const $e = "__ORACULO_EXTRAS__";
1753
- function bt() {
1753
+ function vt() {
1754
1754
  const e = globalThis;
1755
1755
  return e[$e] || (e[$e] = {}), e[$e];
1756
1756
  }
1757
- function Za(e) {
1758
- bt().extras = e;
1757
+ function Ja(e) {
1758
+ vt().extras = e;
1759
1759
  }
1760
1760
  function pe(e) {
1761
1761
  var a;
1762
- return (a = bt().extras) == null ? void 0 : a[e];
1762
+ return (a = vt().extras) == null ? void 0 : a[e];
1763
1763
  }
1764
1764
  function Xa() {
1765
1765
  delete globalThis[$e];
1766
1766
  }
1767
- function Ja({
1767
+ function Ya({
1768
1768
  items: e,
1769
1769
  title: a = "Top Juegos",
1770
1770
  iconUrl: n,
1771
1771
  onCardClick: o
1772
1772
  }) {
1773
- const i = ae(), r = ne(), s = se(), m = re(
1773
+ const i = ae(), r = ne(), s = se(), d = re(
1774
1774
  () => (e != null ? e : []).map((l, c) => {
1775
- var b;
1775
+ var g;
1776
1776
  return {
1777
1777
  ...l,
1778
- orden: (b = l.orden) != null ? b : c + 1,
1778
+ orden: (g = l.orden) != null ? g : c + 1,
1779
1779
  _originalIndex: c
1780
1780
  };
1781
1781
  }).sort((l, c) => l.orden != null && c.orden != null ? l.orden - c.orden : l._originalIndex - c._originalIndex),
1782
1782
  [e]
1783
- ), p = !e || e.length === 0, f = p ? Array.from({ length: 6 }) : m.slice(0, 6), d = (l) => {
1783
+ ), p = !e || e.length === 0, f = p ? Array.from({ length: 6 }) : d.slice(0, 6), u = (l) => {
1784
1784
  i({
1785
1785
  element: "top_juegos_card",
1786
1786
  label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(l.machine || "unknown")}`,
@@ -1795,12 +1795,12 @@ function Ja({
1795
1795
  section: "OraculoSeccionTopJuegos"
1796
1796
  }
1797
1797
  });
1798
- const c = pe("showIframe"), b = pe("loadMachine");
1798
+ const c = pe("showIframe"), g = pe("loadMachine");
1799
1799
  c == null || c(), requestAnimationFrame(() => {
1800
- b == null || b(l, !1, "CASINO");
1800
+ g == null || g(l, !1, "CASINO");
1801
1801
  });
1802
1802
  };
1803
- return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ g(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1803
+ return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1804
1804
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1805
1805
  /* @__PURE__ */ t(
1806
1806
  q,
@@ -1816,26 +1816,26 @@ function Ja({
1816
1816
  width: "100%"
1817
1817
  },
1818
1818
  children: f.map((l, c) => {
1819
- var b, h;
1819
+ var g, b;
1820
1820
  return /* @__PURE__ */ t(
1821
- _a,
1821
+ ya,
1822
1822
  {
1823
- imageUrl: p ? "" : l.background ? `https://olimpo.bet${l.background}` : `https://olimpo.bet${(b = l.logo) != null ? b : ""}`,
1823
+ imageUrl: p ? "" : l.background ? `https://olimpo.bet${l.background}` : `https://olimpo.bet${(g = l.logo) != null ? g : ""}`,
1824
1824
  orden: p ? c + 1 : l.orden,
1825
1825
  loading: p,
1826
1826
  onClick: p ? void 0 : () => {
1827
- o == null || o(l), d(l);
1827
+ o == null || o(l), u(l);
1828
1828
  }
1829
1829
  },
1830
- p ? `sk-${c}` : (h = l.machine) != null ? h : `${c}`
1830
+ p ? `sk-${c}` : (b = l.machine) != null ? b : `${c}`
1831
1831
  );
1832
1832
  })
1833
1833
  }
1834
1834
  )
1835
1835
  ] }) });
1836
1836
  }
1837
- const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", Qa = (e, a) => {
1838
- var n, o, i, r, s, m, p, f, d, l, c, b, h, E;
1837
+ const Qa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", en = (e, a) => {
1838
+ var n, o, i, r, s, d, p, f, u, l, c, g, b, x;
1839
1839
  return {
1840
1840
  orden: Number(a),
1841
1841
  machine: String(
@@ -1845,25 +1845,25 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1845
1845
  name: (i = e.room_name) != null ? i : "",
1846
1846
  web_name: (r = e.product) != null ? r : "",
1847
1847
  provider: (s = e.service) != null ? s : "",
1848
- sub_provider: (m = e.service) != null ? m : "",
1848
+ sub_provider: (d = e.service) != null ? d : "",
1849
1849
  external_id: (p = e.external_id) != null ? p : "",
1850
1850
  type: (f = e.game_type) != null ? f : "",
1851
- tags: (d = e.tags) != null ? d : "",
1851
+ tags: (u = e.tags) != null ? u : "",
1852
1852
  lobby_tag: (l = e.lobby_tag) != null ? l : null,
1853
1853
  background: (c = e.background) != null ? c : "",
1854
- rtp: (b = e.rtp) != null ? b : null,
1855
- demo_allowed: (h = e.demo_allowed) != null ? h : !1,
1856
- gaming_session_required: (E = e.gaming_session_required) != null ? E : !1
1854
+ rtp: (g = e.rtp) != null ? g : null,
1855
+ demo_allowed: (b = e.demo_allowed) != null ? b : !1,
1856
+ gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
1857
1857
  };
1858
- }, en = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], vt = () => {
1858
+ }, tn = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], _t = () => {
1859
1859
  var a, n, o;
1860
1860
  const e = pe("user");
1861
1861
  return (o = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? o : null;
1862
- }, tn = async (e) => {
1863
- const a = vt(), n = new URLSearchParams({
1862
+ }, an = async (e) => {
1863
+ const a = _t(), n = new URLSearchParams({
1864
1864
  userId: String(a),
1865
1865
  productType: e
1866
- }), o = `${Ya}?${n.toString()}`, i = await fetch(o);
1866
+ }), o = `${Qa}?${n.toString()}`, i = await fetch(o);
1867
1867
  if (!i.ok)
1868
1868
  throw new Error(
1869
1869
  `No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
@@ -1873,7 +1873,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1873
1873
  ...r,
1874
1874
  recommendations: Array.isArray(r == null ? void 0 : r.recommendations) ? r.recommendations.slice(0, 49) : []
1875
1875
  };
1876
- }, an = async (e, a) => {
1876
+ }, nn = async (e, a) => {
1877
1877
  const n = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", o = JSON.stringify({
1878
1878
  userId: String(e),
1879
1879
  items: a
@@ -1890,7 +1890,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1890
1890
  }, Ve = (e, a = !1, n = "Casino") => {
1891
1891
  const [o, i] = K([]), [r, s] = K(!1);
1892
1892
  return Q(() => {
1893
- let m = !1;
1893
+ let d = !1;
1894
1894
  return (async () => {
1895
1895
  if (!a) {
1896
1896
  i(Array.isArray(e) ? e : []), s(!1);
@@ -1898,47 +1898,47 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1898
1898
  }
1899
1899
  s(!0);
1900
1900
  try {
1901
- const f = await tn(n), d = en(f);
1902
- if (!d.length) {
1903
- m || i([]);
1901
+ const f = await an(n), u = tn(f);
1902
+ if (!u.length) {
1903
+ d || i([]);
1904
1904
  return;
1905
1905
  }
1906
- const l = vt(), c = await an(l, d), b = c.map((y) => y.itemId), h = await Promise.allSettled(
1907
- b.map(async (y, _) => {
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 Qa(D, _);
1906
+ const l = _t(), c = await nn(l, u), g = c.map((_) => _.itemId), b = await Promise.allSettled(
1907
+ g.map(async (_, v) => {
1908
+ const I = await fetch(`https://api.mktolimpo.com/api/machine/${_}`);
1909
+ if (!I.ok)
1910
+ throw new Error(`No se pudo obtener machine ${_}`);
1911
+ const U = await I.json();
1912
+ return en(U, v);
1913
1913
  })
1914
1914
  );
1915
- if (m) return;
1916
- const E = h.filter(
1917
- (y) => y.status === "fulfilled"
1918
- ).map((y) => y.value), M = c.map((y) => {
1919
- const _ = E.find((C) => C.machine === y.itemId);
1920
- return _ ? { ..._, score: y.score } : null;
1921
- }).filter(Boolean).sort((y, _) => {
1922
- var C, D;
1923
- return ((C = _.score) != null ? C : 0) - ((D = y.score) != null ? D : 0);
1915
+ if (d) return;
1916
+ const x = b.filter(
1917
+ (_) => _.status === "fulfilled"
1918
+ ).map((_) => _.value), T = c.map((_) => {
1919
+ const v = x.find((I) => I.machine === _.itemId);
1920
+ return v ? { ...v, score: _.score } : null;
1921
+ }).filter(Boolean).sort((_, v) => {
1922
+ var I, U;
1923
+ return ((I = v.score) != null ? I : 0) - ((U = _.score) != null ? U : 0);
1924
1924
  });
1925
- i(M);
1925
+ i(T);
1926
1926
  } catch (f) {
1927
- console.error(`[usePersonalizeGameItems:${n}] error:`, f), m || i([]);
1927
+ console.error(`[usePersonalizeGameItems:${n}] error:`, f), d || i([]);
1928
1928
  } finally {
1929
- m || s(!1);
1929
+ d || s(!1);
1930
1930
  }
1931
1931
  })(), () => {
1932
- m = !0;
1932
+ d = !0;
1933
1933
  };
1934
1934
  }, [e, a, n]), {
1935
1935
  resolvedItems: o,
1936
1936
  loading: r
1937
1937
  };
1938
- }, nn = (e, a = !1) => Ve(e, a, "Casino"), on = (e, a = !1) => Ve(e, a, "Deportes virtuales"), rn = (e, a = !1) => Ve(e, a, "Casino en vivo"), sn = (e, a) => {
1938
+ }, on = (e, a = !1) => Ve(e, a, "Casino"), rn = (e, a = !1) => Ve(e, a, "Deportes virtuales"), sn = (e, a = !1) => Ve(e, a, "Casino en vivo"), ln = (e, a) => {
1939
1939
  var n, o;
1940
1940
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
1941
- }, ln = (e) => {
1941
+ }, cn = (e) => {
1942
1942
  if (typeof e == "boolean") return e;
1943
1943
  if (typeof e == "string")
1944
1944
  return e.toLowerCase() === "true";
@@ -1948,7 +1948,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1948
1948
  return e.value.toLowerCase() === "true";
1949
1949
  }
1950
1950
  return !1;
1951
- }, cn = ({
1951
+ }, dn = ({
1952
1952
  items: e,
1953
1953
  title: a = "Casino en vivo",
1954
1954
  subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
@@ -1956,47 +1956,47 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1956
1956
  onCardClick: i,
1957
1957
  backgroundDesktopUrl: r = "",
1958
1958
  onViewMore: s,
1959
- className: m,
1959
+ className: d,
1960
1960
  isPersonalize: p = !1
1961
1961
  }) => {
1962
- const f = ae(), d = ne(), l = se(), c = ln(p), { resolvedItems: b } = rn(
1962
+ const f = ae(), u = ne(), l = se(), c = cn(p), { resolvedItems: g } = sn(
1963
1963
  e,
1964
1964
  c
1965
- ), h = c ? b : Array.isArray(e) ? e : [], E = (y) => {
1965
+ ), b = c ? g : Array.isArray(e) ? e : [], x = (_) => {
1966
1966
  f({
1967
1967
  element: "live_casino_card",
1968
- label: `${d} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(y.machine || "unknown")}`,
1969
- target: String(y.machine || "unknown"),
1968
+ label: `${u} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(_.machine || "unknown")}`,
1969
+ target: String(_.machine || "unknown"),
1970
1970
  event_type: "click",
1971
1971
  module_id: l,
1972
1972
  metadata: {
1973
1973
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1974
1974
  },
1975
1975
  tags: {
1976
- game_name: String(y.machine || "unknown"),
1977
- provider: y.provider || "unknown",
1976
+ game_name: String(_.machine || "unknown"),
1977
+ provider: _.provider || "unknown",
1978
1978
  section: "OraculoSeccionCasinoEnVivo"
1979
1979
  }
1980
1980
  });
1981
- const _ = pe("showIframe"), C = pe("loadMachine");
1982
- if (!C) {
1981
+ const v = pe("showIframe"), I = pe("loadMachine");
1982
+ if (!I) {
1983
1983
  if (i) {
1984
- i(y);
1984
+ i(_);
1985
1985
  return;
1986
1986
  }
1987
1987
  console.warn(
1988
1988
  "[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 }
1989
+ { machine: _ == null ? void 0 : _.machine, provider: _ == null ? void 0 : _.provider }
1990
1990
  );
1991
1991
  return;
1992
1992
  }
1993
- _ == null || _(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1994
- C == null || C(y, !1, "casino_en_vivo");
1993
+ v == null || v(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1994
+ I == null || I(_, !1, "casino_en_vivo");
1995
1995
  });
1996
- }, M = () => {
1996
+ }, T = () => {
1997
1997
  f({
1998
1998
  element: "casino_en_vivo_view_more",
1999
- label: `${d} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Ver más`,
1999
+ label: `${u} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Ver más`,
2000
2000
  target: "https://www.olimpo.bet/casino-en-vivo",
2001
2001
  event_type: "click",
2002
2002
  module_id: l,
@@ -2006,10 +2006,10 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2006
2006
  tags: { section: "OraculoSeccionCasinoEnVivo" }
2007
2007
  }), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2008
2008
  };
2009
- return /* @__PURE__ */ g(
2009
+ return /* @__PURE__ */ h(
2010
2010
  q,
2011
2011
  {
2012
- className: m,
2012
+ className: d,
2013
2013
  sx: {
2014
2014
  position: "relative",
2015
2015
  color: "white",
@@ -2044,7 +2044,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2044
2044
  }
2045
2045
  }
2046
2046
  ),
2047
- /* @__PURE__ */ g(
2047
+ /* @__PURE__ */ h(
2048
2048
  q,
2049
2049
  {
2050
2050
  sx: {
@@ -2062,7 +2062,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2062
2062
  textAlign: { xs: "center", md: "left" }
2063
2063
  },
2064
2064
  children: [
2065
- /* @__PURE__ */ g(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2065
+ /* @__PURE__ */ h(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2066
2066
  /* @__PURE__ */ t(
2067
2067
  de,
2068
2068
  {
@@ -2089,11 +2089,11 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2089
2089
  }
2090
2090
  ),
2091
2091
  /* @__PURE__ */ t(q, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
2092
- X,
2092
+ J,
2093
2093
  {
2094
2094
  variant: "primary",
2095
2095
  size: "md",
2096
- onClick: M,
2096
+ onClick: T,
2097
2097
  children: "Ver más"
2098
2098
  }
2099
2099
  ) })
@@ -2109,28 +2109,28 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2109
2109
  py: { xs: 3, md: 0 },
2110
2110
  alignItems: "center"
2111
2111
  },
2112
- children: (h != null ? h : []).slice(0, 3).map((y, _) => {
2113
- var C;
2112
+ children: (b != null ? b : []).slice(0, 3).map((_, v) => {
2113
+ var I;
2114
2114
  return /* @__PURE__ */ t(
2115
- ya,
2115
+ xa,
2116
2116
  {
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: () => E(y)
2117
+ logo: `https://olimpo.bet${_.background ? _.background : (I = _.logo) != null ? I : ""}`,
2118
+ provider: _.provider,
2119
+ providerName: _.web_name,
2120
+ machine: _.machine,
2121
+ onClick: () => x(_)
2122
2122
  },
2123
- sn(y, _)
2123
+ ln(_, v)
2124
2124
  );
2125
2125
  })
2126
2126
  }
2127
2127
  ),
2128
2128
  /* @__PURE__ */ t(q, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
2129
- X,
2129
+ J,
2130
2130
  {
2131
2131
  variant: "primary",
2132
2132
  size: "lg",
2133
- onClick: M,
2133
+ onClick: T,
2134
2134
  children: "Ver más"
2135
2135
  }
2136
2136
  ) })
@@ -2140,7 +2140,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2140
2140
  ]
2141
2141
  }
2142
2142
  );
2143
- }, dn = (e) => {
2143
+ }, un = (e) => {
2144
2144
  if (typeof e == "boolean") return e;
2145
2145
  if (typeof e == "string")
2146
2146
  return e.toLowerCase() === "true";
@@ -2150,14 +2150,14 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2150
2150
  return e.value.toLowerCase() === "true";
2151
2151
  }
2152
2152
  return !1;
2153
- }, _t = (e, a) => {
2153
+ }, yt = (e, a) => {
2154
2154
  var n, o;
2155
2155
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2156
- }, un = (e, a = !0, n = 1) => {
2157
- const o = e.map((s, m) => {
2156
+ }, mn = (e, a = !0, n = 1) => {
2157
+ const o = e.map((s, d) => {
2158
2158
  var p;
2159
2159
  return {
2160
- id: _t(s, m),
2160
+ id: yt(s, d),
2161
2161
  imageUrl: (p = s.logo) != null ? p : "",
2162
2162
  ...s.background ? { background: s.background } : {}
2163
2163
  };
@@ -2182,7 +2182,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2182
2182
  }), r = s;
2183
2183
  }
2184
2184
  return i;
2185
- }, mn = ({
2185
+ }, pn = ({
2186
2186
  items: e,
2187
2187
  title: a = "Casino",
2188
2188
  iconUrl: n = "/assets/img/home/Casino/diamante.svg",
@@ -2190,44 +2190,44 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2190
2190
  onViewMore: i,
2191
2191
  mosaicFirst: r = !0,
2192
2192
  gridSize: s = 1,
2193
- isPersonalize: m = !1
2193
+ isPersonalize: d = !1
2194
2194
  }) => {
2195
- const p = ae(), f = ne(), d = se(), l = V(null), [c, b] = K({ isStart: !0, isEnd: !1 }), h = dn(m), { resolvedItems: E, loading: M } = nn(
2195
+ const p = ae(), f = ne(), u = se(), l = V(null), [c, g] = K({ isStart: !0, isEnd: !1 }), b = un(d), { resolvedItems: x, loading: T } = on(
2196
2196
  e,
2197
- h
2198
- ), y = h ? E : Array.isArray(e) ? e : [], _ = () => {
2199
- var k;
2197
+ b
2198
+ ), _ = b ? x : Array.isArray(e) ? e : [], v = () => {
2199
+ var $;
2200
2200
  p({
2201
2201
  element: "casino_prev",
2202
- label: `${f} - OraculoSeccionCasino ${m ? " - personalize" : ""} - Anterior`,
2202
+ label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Anterior`,
2203
2203
  target: "prev",
2204
2204
  event_type: "click",
2205
- module_id: d,
2205
+ module_id: u,
2206
2206
  metadata: {
2207
2207
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2208
2208
  },
2209
2209
  tags: { section: "OraculoSeccionCasino" }
2210
- }), (k = l.current) == null || k.prev();
2211
- }, C = () => {
2212
- var k;
2210
+ }), ($ = l.current) == null || $.prev();
2211
+ }, I = () => {
2212
+ var $;
2213
2213
  p({
2214
2214
  element: "casino_next",
2215
- label: `${f} - OraculoSeccionCasino ${m ? " - personalize" : ""} - Siguiente`,
2215
+ label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Siguiente`,
2216
2216
  target: "next",
2217
2217
  event_type: "click",
2218
- module_id: d,
2218
+ module_id: u,
2219
2219
  metadata: {
2220
2220
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2221
2221
  },
2222
2222
  tags: { section: "OraculoSeccionCasino" }
2223
- }), (k = l.current) == null || k.next();
2224
- }, D = () => {
2223
+ }), ($ = l.current) == null || $.next();
2224
+ }, U = () => {
2225
2225
  if (p({
2226
2226
  element: "casino_view_more",
2227
- label: `${f} - OraculoSeccionCasino ${m ? " - personalize" : ""} - Ver más`,
2227
+ label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Ver más`,
2228
2228
  target: "https://www.olimpo.bet/casino",
2229
2229
  event_type: "click",
2230
- module_id: d,
2230
+ module_id: u,
2231
2231
  metadata: {
2232
2232
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2233
2233
  },
@@ -2237,15 +2237,15 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2237
2237
  return;
2238
2238
  }
2239
2239
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2240
- }, I = (k = !0, x = 4) => {
2241
- const O = (A) => Array.from({ length: A }, (R, v) => ({
2242
- id: `sk-${A}-${v}`,
2240
+ }, O = ($ = !0, w = 4) => {
2241
+ const E = (A) => Array.from({ length: A }, (R, y) => ({
2242
+ id: `sk-${A}-${y}`,
2243
2243
  imageUrl: ""
2244
2244
  })), L = [];
2245
- return k && L.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), L.push({ id: "grid-loading", kind: "grid", items: O(x) }), L;
2246
- }, T = h ? M : !Array.isArray(e) || e.length === 0, w = De("(max-width:950px)"), B = T ? I(r, s) : un(y, r, s);
2247
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ g(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2248
- /* @__PURE__ */ g(
2245
+ return $ && L.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), L.push({ id: "grid-loading", kind: "grid", items: E(w) }), L;
2246
+ }, k = b ? T : !Array.isArray(e) || e.length === 0, S = Ue("(max-width:950px)"), B = k ? O(r, s) : mn(_, r, s);
2247
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ h(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2248
+ /* @__PURE__ */ h(
2249
2249
  q,
2250
2250
  {
2251
2251
  sx: {
@@ -2261,31 +2261,31 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2261
2261
  },
2262
2262
  children: [
2263
2263
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2264
- /* @__PURE__ */ g(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2264
+ /* @__PURE__ */ h(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2265
2265
  /* @__PURE__ */ t(
2266
- X,
2266
+ J,
2267
2267
  {
2268
2268
  ariaLabel: "Anterior",
2269
2269
  variant: "secondary",
2270
2270
  iconOnly: !0,
2271
- leftIcon: /* @__PURE__ */ t(rt, {}),
2272
- onClick: _,
2271
+ leftIcon: /* @__PURE__ */ t(st, {}),
2272
+ onClick: v,
2273
2273
  disabled: c.isStart
2274
2274
  }
2275
2275
  ),
2276
2276
  /* @__PURE__ */ t(
2277
- X,
2277
+ J,
2278
2278
  {
2279
2279
  ariaLabel: "Siguiente",
2280
2280
  variant: "secondary",
2281
2281
  iconOnly: !0,
2282
- rightIcon: /* @__PURE__ */ t(st, {}),
2283
- onClick: C,
2282
+ rightIcon: /* @__PURE__ */ t(lt, {}),
2283
+ onClick: I,
2284
2284
  disabled: c.isEnd
2285
2285
  }
2286
2286
  )
2287
2287
  ] }),
2288
- /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2288
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: U, children: "Ver más" }) })
2289
2289
  ]
2290
2290
  }
2291
2291
  ),
@@ -2298,7 +2298,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2298
2298
  gap: "16px",
2299
2299
  enableHorizontalWheel: !0,
2300
2300
  options: { autoWidth: !0, trimSpace: "move" },
2301
- showRightGradient: !w,
2301
+ showRightGradient: !S,
2302
2302
  breakpoints: {
2303
2303
  400: {
2304
2304
  gap: "4px",
@@ -2316,42 +2316,42 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2316
2316
  padding: { left: "24px", right: "24px" }
2317
2317
  }
2318
2318
  },
2319
- renderItem: (k) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2320
- mt,
2319
+ renderItem: ($) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2320
+ pt,
2321
2321
  {
2322
- items: k.items,
2323
- layout: k.kind === "mosaic" ? "mosaic" : "grid",
2324
- loading: T,
2325
- onClick: (x) => {
2326
- if (T) return;
2327
- const O = y.find(
2328
- (R, v) => String(_t(R, v)) === String(x.id)
2322
+ items: $.items,
2323
+ layout: $.kind === "mosaic" ? "mosaic" : "grid",
2324
+ loading: k,
2325
+ onClick: (w) => {
2326
+ if (k) return;
2327
+ const E = _.find(
2328
+ (R, y) => String(yt(R, y)) === String(w.id)
2329
2329
  );
2330
- if (!O) return;
2331
- o == null || o(O), p({
2330
+ if (!E) return;
2331
+ o == null || o(E), p({
2332
2332
  element: "casino_game_card",
2333
- label: `${f} - OraculoSeccionCasino ${m ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
2334
- target: String(O.machine || "unknown"),
2333
+ label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
2334
+ target: String(E.machine || "unknown"),
2335
2335
  event_type: "click",
2336
- module_id: d,
2336
+ module_id: u,
2337
2337
  metadata: {
2338
2338
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2339
2339
  },
2340
2340
  tags: {
2341
- game_name: String(O.machine || "unknown"),
2341
+ game_name: String(E.machine || "unknown"),
2342
2342
  section: a || "Casino"
2343
2343
  }
2344
2344
  });
2345
2345
  const L = pe("showIframe"), A = pe("loadMachine");
2346
- L == null || L(), A == null || A(O, !1, "CASINO");
2346
+ L == null || L(), A == null || A(E, !1, "CASINO");
2347
2347
  }
2348
2348
  }
2349
2349
  ) }),
2350
- onMove: ({ isStart: k, isEnd: x }) => b({ isStart: k, isEnd: x })
2350
+ onMove: ({ isStart: $, isEnd: w }) => g({ isStart: $, isEnd: w })
2351
2351
  }
2352
2352
  )
2353
2353
  ] }) });
2354
- }, pn = (e) => {
2354
+ }, fn = (e) => {
2355
2355
  if (typeof e == "boolean") return e;
2356
2356
  if (typeof e == "string")
2357
2357
  return e.toLowerCase() === "true";
@@ -2361,14 +2361,14 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2361
2361
  return e.value.toLowerCase() === "true";
2362
2362
  }
2363
2363
  return !1;
2364
- }, yt = (e, a) => {
2364
+ }, xt = (e, a) => {
2365
2365
  var n, o;
2366
2366
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2367
- }, fn = (e, a = !0, n = 1) => {
2368
- const o = e.map((s, m) => {
2367
+ }, gn = (e, a = !0, n = 1) => {
2368
+ const o = e.map((s, d) => {
2369
2369
  var p;
2370
2370
  return {
2371
- id: yt(s, m),
2371
+ id: xt(s, d),
2372
2372
  imageUrl: (p = s.logo) != null ? p : "",
2373
2373
  ...s.background ? { background: s.background } : {}
2374
2374
  };
@@ -2393,7 +2393,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2393
2393
  }), r = s;
2394
2394
  }
2395
2395
  return i;
2396
- }, gn = (e = !0, a = 4) => {
2396
+ }, hn = (e = !0, a = 4) => {
2397
2397
  const n = (i) => Array.from({ length: i }, (r, s) => ({
2398
2398
  id: `sk-${i}-${s}`,
2399
2399
  imageUrl: ""
@@ -2407,7 +2407,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2407
2407
  kind: "grid",
2408
2408
  items: n(a)
2409
2409
  }), o;
2410
- }, hn = ({
2410
+ }, bn = ({
2411
2411
  items: e,
2412
2412
  title: a = "Virtuales",
2413
2413
  iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
@@ -2415,44 +2415,44 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2415
2415
  onViewMore: i,
2416
2416
  mosaicFirst: r = !0,
2417
2417
  gridSize: s = 1,
2418
- isPersonalize: m = !1
2418
+ isPersonalize: d = !1
2419
2419
  }) => {
2420
- const p = V(null), [f, d] = K({ isStart: !0, isEnd: !1 }), l = ae(), c = ne(), b = se(), h = pn(m), { resolvedItems: E, loading: M } = on(
2420
+ const p = V(null), [f, u] = K({ isStart: !0, isEnd: !1 }), l = ae(), c = ne(), g = se(), b = fn(d), { resolvedItems: x, loading: T } = rn(
2421
2421
  e,
2422
- h
2423
- ), y = h ? E : Array.isArray(e) ? e : [], _ = () => {
2422
+ b
2423
+ ), _ = b ? x : Array.isArray(e) ? e : [], v = () => {
2424
2424
  var B;
2425
2425
  l({
2426
2426
  element: "virtuales_prev",
2427
- label: `${c} - OraculoSeccionVirtuales${h ? " - personalize" : ""} - Anterior`,
2427
+ label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Anterior`,
2428
2428
  target: "prev",
2429
2429
  event_type: "click",
2430
- module_id: b,
2430
+ module_id: g,
2431
2431
  metadata: {
2432
2432
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2433
2433
  },
2434
2434
  tags: { section: "OraculoSeccionVirtuales" }
2435
2435
  }), (B = p.current) == null || B.prev();
2436
- }, C = () => {
2436
+ }, I = () => {
2437
2437
  var B;
2438
2438
  l({
2439
2439
  element: "virtuales_next",
2440
- label: `${c} - OraculoSeccionVirtuales${h ? " - personalize" : ""} - Siguiente`,
2440
+ label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Siguiente`,
2441
2441
  target: "next",
2442
2442
  event_type: "click",
2443
- module_id: b,
2443
+ module_id: g,
2444
2444
  metadata: {
2445
2445
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2446
2446
  },
2447
2447
  tags: { section: "OraculoSeccionVirtuales" }
2448
2448
  }), (B = p.current) == null || B.next();
2449
- }, D = () => {
2449
+ }, U = () => {
2450
2450
  if (l({
2451
2451
  element: "virtuales_view_more",
2452
- label: `${c} - OraculoSeccionVirtuales${h ? " - personalize" : ""} - Ver más`,
2452
+ label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Ver más`,
2453
2453
  target: "https://www.olimpo.bet/juegos-virtuales",
2454
2454
  event_type: "click",
2455
- module_id: b,
2455
+ module_id: g,
2456
2456
  metadata: {
2457
2457
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2458
2458
  },
@@ -2462,9 +2462,9 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2462
2462
  return;
2463
2463
  }
2464
2464
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2465
- }, I = h ? M : !Array.isArray(e) || e.length === 0, T = xe("(max-width:950px)"), w = I ? gn(r, s) : fn(y, r, s);
2466
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ g(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2467
- /* @__PURE__ */ g(
2465
+ }, O = b ? T : !Array.isArray(e) || e.length === 0, k = xe("(max-width:950px)"), S = O ? hn(r, s) : gn(_, r, s);
2466
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ h(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2467
+ /* @__PURE__ */ h(
2468
2468
  q,
2469
2469
  {
2470
2470
  sx: {
@@ -2480,31 +2480,31 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2480
2480
  },
2481
2481
  children: [
2482
2482
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2483
- /* @__PURE__ */ g(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2483
+ /* @__PURE__ */ h(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2484
2484
  /* @__PURE__ */ t(
2485
- X,
2485
+ J,
2486
2486
  {
2487
2487
  ariaLabel: "Anterior",
2488
2488
  variant: "secondary",
2489
2489
  iconOnly: !0,
2490
- leftIcon: /* @__PURE__ */ t(rt, {}),
2491
- onClick: _,
2490
+ leftIcon: /* @__PURE__ */ t(st, {}),
2491
+ onClick: v,
2492
2492
  disabled: f.isStart
2493
2493
  }
2494
2494
  ),
2495
2495
  /* @__PURE__ */ t(
2496
- X,
2496
+ J,
2497
2497
  {
2498
2498
  ariaLabel: "Siguiente",
2499
2499
  variant: "secondary",
2500
2500
  iconOnly: !0,
2501
- rightIcon: /* @__PURE__ */ t(st, {}),
2502
- onClick: C,
2501
+ rightIcon: /* @__PURE__ */ t(lt, {}),
2502
+ onClick: I,
2503
2503
  disabled: f.isEnd
2504
2504
  }
2505
2505
  )
2506
2506
  ] }),
2507
- /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2507
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: U, children: "Ver más" }) })
2508
2508
  ]
2509
2509
  }
2510
2510
  ),
@@ -2512,7 +2512,7 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2512
2512
  he,
2513
2513
  {
2514
2514
  ref: p,
2515
- items: w,
2515
+ items: S,
2516
2516
  perPage: void 0,
2517
2517
  gap: "16px",
2518
2518
  breakpoints: {
@@ -2533,54 +2533,54 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2533
2533
  }
2534
2534
  },
2535
2535
  enableHorizontalWheel: !0,
2536
- showRightGradient: !T,
2536
+ showRightGradient: !k,
2537
2537
  options: { autoWidth: !0, trimSpace: "move" },
2538
2538
  renderItem: (B) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2539
- mt,
2539
+ pt,
2540
2540
  {
2541
2541
  items: B.items,
2542
2542
  layout: B.kind === "mosaic" ? "mosaic" : "grid",
2543
- loading: I,
2544
- onClick: (k) => {
2545
- if (I) return;
2546
- const x = y.find(
2547
- (A, R) => String(yt(A, R)) === String(k.id)
2543
+ loading: O,
2544
+ onClick: ($) => {
2545
+ if (O) return;
2546
+ const w = _.find(
2547
+ (A, R) => String(xt(A, R)) === String($.id)
2548
2548
  );
2549
- if (!x) {
2549
+ if (!w) {
2550
2550
  console.warn(
2551
2551
  "[virtuales] no se encontró game para id:",
2552
- k.id
2552
+ $.id
2553
2553
  );
2554
2554
  return;
2555
2555
  }
2556
- o == null || o(x), l({
2556
+ o == null || o(w), l({
2557
2557
  element: "virtuales_game_card",
2558
- label: `${c} - OraculoSeccionVirtuales${h ? " - personalize" : ""} - Game: ${String(x.machine || "unknown")}`,
2559
- target: String(x.machine || "unknown"),
2558
+ label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Game: ${String(w.machine || "unknown")}`,
2559
+ target: String(w.machine || "unknown"),
2560
2560
  event_type: "click",
2561
- module_id: b,
2561
+ module_id: g,
2562
2562
  metadata: {
2563
2563
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2564
2564
  },
2565
2565
  tags: {
2566
- game_name: String(x.machine || "unknown"),
2566
+ game_name: String(w.machine || "unknown"),
2567
2567
  section: a || "Virtuales"
2568
2568
  }
2569
2569
  });
2570
- const O = pe("showIframe"), L = pe("loadMachine");
2571
- O == null || O(), L == null || L(
2572
- x,
2570
+ const E = pe("showIframe"), L = pe("loadMachine");
2571
+ E == null || E(), L == null || L(
2572
+ w,
2573
2573
  !1,
2574
- h ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2574
+ b ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2575
2575
  );
2576
2576
  }
2577
2577
  }
2578
2578
  ) }),
2579
- onMove: ({ isStart: B, isEnd: k }) => d({ isStart: B, isEnd: k })
2579
+ onMove: ({ isStart: B, isEnd: $ }) => u({ isStart: B, isEnd: $ })
2580
2580
  }
2581
2581
  )
2582
2582
  ] }) });
2583
- }, bn = (e) => ({
2583
+ }, vn = (e) => ({
2584
2584
  position: "relative",
2585
2585
  py: 8,
2586
2586
  color: "#fff",
@@ -2594,15 +2594,15 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2594
2594
  backgroundRepeat: "no-repeat",
2595
2595
  backgroundPosition: "center",
2596
2596
  backgroundSize: "cover"
2597
- }), Ye = {
2597
+ }), Qe = {
2598
2598
  textAlign: "center",
2599
2599
  lineHeight: 1.1,
2600
2600
  mb: 1.5
2601
- }, Qe = {
2601
+ }, et = {
2602
2602
  display: "inline-block",
2603
2603
  fontWeight: 600,
2604
2604
  fontSize: 24
2605
- }, et = {
2605
+ }, tt = {
2606
2606
  display: "inline-block",
2607
2607
  fontSize: 24,
2608
2608
  lineHeight: 1.1,
@@ -2612,92 +2612,92 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2612
2612
  0 0 6px rgba(255, 255, 255, .6),
2613
2613
  0 1px 0 rgba(137, 137, 137, .85)
2614
2614
  `
2615
- }, vn = ({
2615
+ }, _n = ({
2616
2616
  headline: e,
2617
2617
  headline2: a,
2618
2618
  items: n,
2619
2619
  backgroundImageUrl: o
2620
2620
  }) => {
2621
- const i = ae(), r = ne(), s = xe("(max-width: 767px)"), m = n.length > 1, p = V(null), f = V(null), d = V(!1), l = V(!1), [c, b] = K(0), [h, E] = K({ isStart: !0, isEnd: !1 });
2621
+ const i = ae(), r = ne(), s = xe("(max-width: 767px)"), d = n.length > 1, p = V(null), f = V(null), u = V(!1), l = V(!1), [c, g] = K(0), [b, x] = K({ isStart: !0, isEnd: !1 });
2622
2622
  Q(() => {
2623
- const x = setTimeout(() => {
2624
- d.current = !0;
2623
+ const w = setTimeout(() => {
2624
+ u.current = !0;
2625
2625
  }, 500);
2626
- return () => clearTimeout(x);
2626
+ return () => clearTimeout(w);
2627
2627
  }, []);
2628
- const M = V(h);
2628
+ const T = V(b);
2629
2629
  Q(() => {
2630
- M.current = h;
2631
- }, [h]);
2632
- const y = V(!1), _ = V(null), C = n == null ? void 0 : n[c], D = re(
2630
+ T.current = b;
2631
+ }, [b]);
2632
+ const _ = V(!1), v = V(null), I = n == null ? void 0 : n[c], U = re(
2633
2633
  () => {
2634
- var x, O;
2635
- return (O = (x = C == null ? void 0 : C.backgroundImageUrl) != null ? x : o) != null ? O : "";
2634
+ var w, E;
2635
+ return (E = (w = I == null ? void 0 : I.backgroundImageUrl) != null ? w : o) != null ? E : "";
2636
2636
  },
2637
- [C, o]
2638
- ), I = bn(D), T = !n || n.length === 0, w = (x, O) => {
2637
+ [I, o]
2638
+ ), O = vn(U), k = !n || n.length === 0, S = (w, E) => {
2639
2639
  i({
2640
2640
  element: "welcome_banner_button",
2641
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${x.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
2641
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${w.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
2642
2642
  target: "action",
2643
2643
  event_type: "click",
2644
2644
  module_id: 301,
2645
2645
  metadata: {
2646
2646
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2647
- banner_position: O + 1,
2647
+ banner_position: E + 1,
2648
2648
  banner_total: (n == null ? void 0 : n.length) || 0
2649
2649
  },
2650
2650
  tags: {
2651
- banner_title: x.title || "no_title",
2652
- button_text: x.buttonText || "no_text"
2651
+ banner_title: w.title || "no_title",
2652
+ button_text: w.buttonText || "no_text"
2653
2653
  }
2654
- }), x.onButtonClick && x.onButtonClick();
2655
- }, B = (x) => {
2656
- if (!d.current) return;
2654
+ }), w.onButtonClick && w.onButtonClick();
2655
+ }, B = (w) => {
2656
+ if (!u.current) return;
2657
2657
  if (l.current) {
2658
2658
  l.current = !1;
2659
2659
  return;
2660
2660
  }
2661
- const O = n == null ? void 0 : n[x];
2661
+ const E = n == null ? void 0 : n[w];
2662
2662
  i({
2663
2663
  element: "welcome_banner_carousel",
2664
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (x + 1)}`,
2664
+ label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (w + 1)}`,
2665
2665
  target: "no_url",
2666
2666
  event_type: "view",
2667
2667
  module_id: 301,
2668
2668
  metadata: {
2669
2669
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2670
- slide_index: x + 1,
2670
+ slide_index: w + 1,
2671
2671
  total_slides: (n == null ? void 0 : n.length) || 0,
2672
2672
  interaction_type: "manual_slide"
2673
2673
  },
2674
2674
  tags: {
2675
- banner_position: String(x + 1),
2676
- banner_title: (O == null ? void 0 : O.title) || "no_title"
2675
+ banner_position: String(w + 1),
2676
+ banner_title: (E == null ? void 0 : E.title) || "no_title"
2677
2677
  }
2678
2678
  });
2679
2679
  };
2680
2680
  Q(() => {
2681
- const x = f.current;
2682
- if (!x) return;
2683
- const O = 6, L = 380, A = (R) => {
2681
+ const w = f.current;
2682
+ if (!w) return;
2683
+ const E = 6, L = 380, A = (R) => {
2684
2684
  var W, G;
2685
- if (T || R.ctrlKey || y.current) return;
2686
- const v = R.deltaX, P = R.deltaY;
2687
- if (Math.abs(v) <= Math.abs(P) || Math.abs(v) < O) return;
2688
- const U = v > 0;
2689
- U && M.current.isEnd || !U && M.current.isStart || (R.preventDefault(), y.current = !0, U ? (W = p.current) == null || W.next() : (G = p.current) == null || G.prev(), _.current && window.clearTimeout(_.current), _.current = window.setTimeout(() => {
2690
- y.current = !1;
2685
+ if (k || R.ctrlKey || _.current) return;
2686
+ const y = R.deltaX, P = R.deltaY;
2687
+ if (Math.abs(y) <= Math.abs(P) || Math.abs(y) < E) return;
2688
+ const D = y > 0;
2689
+ D && T.current.isEnd || !D && T.current.isStart || (R.preventDefault(), _.current = !0, D ? (W = p.current) == null || W.next() : (G = p.current) == null || G.prev(), v.current && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
2690
+ _.current = !1;
2691
2691
  }, L));
2692
2692
  };
2693
- return x.addEventListener("wheel", A, { passive: !1 }), () => {
2694
- x.removeEventListener("wheel", A), _.current && window.clearTimeout(_.current);
2693
+ return w.addEventListener("wheel", A, { passive: !1 }), () => {
2694
+ w.removeEventListener("wheel", A), v.current && window.clearTimeout(v.current);
2695
2695
  };
2696
- }, [T]);
2697
- const k = (x, O, L) => {
2698
- var v, P;
2699
- const A = (v = x.headline) != null ? v : e, R = (P = x.headline2) != null ? P : a;
2700
- return O ? /* @__PURE__ */ g(
2696
+ }, [k]);
2697
+ const $ = (w, E, L) => {
2698
+ var y, P;
2699
+ const A = (y = w.headline) != null ? y : e, R = (P = w.headline2) != null ? P : a;
2700
+ return E ? /* @__PURE__ */ h(
2701
2701
  q,
2702
2702
  {
2703
2703
  sx: {
@@ -2719,44 +2719,44 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2719
2719
  justifyContent: "flex-start",
2720
2720
  minHeight: "100%"
2721
2721
  },
2722
- children: /* @__PURE__ */ g(q, { sx: { ...Ye, textAlign: "left", mb: 0 }, children: [
2723
- A && /* @__PURE__ */ t(de, { component: "span", sx: Qe, children: A }),
2724
- R && /* @__PURE__ */ g(me, { children: [
2722
+ children: /* @__PURE__ */ h(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2723
+ A && /* @__PURE__ */ t(de, { component: "span", sx: et, children: A }),
2724
+ R && /* @__PURE__ */ h(me, { children: [
2725
2725
  /* @__PURE__ */ t("br", {}),
2726
- /* @__PURE__ */ t(de, { component: "span", sx: et, children: R })
2726
+ /* @__PURE__ */ t(de, { component: "span", sx: tt, children: R })
2727
2727
  ] })
2728
2728
  ] })
2729
2729
  }
2730
2730
  ),
2731
2731
  /* @__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
- Ze,
2732
+ Je,
2733
2733
  {
2734
- ...x,
2735
- onButtonClick: () => w(x, L),
2734
+ ...w,
2735
+ onButtonClick: () => S(w, L),
2736
2736
  variant: "large"
2737
2737
  }
2738
2738
  ) }) })
2739
2739
  ]
2740
2740
  }
2741
- ) : /* @__PURE__ */ g(q, { sx: { textAlign: "center" }, children: [
2742
- (A || R) && /* @__PURE__ */ g(q, { sx: Ye, children: [
2743
- A && /* @__PURE__ */ t(de, { component: "span", sx: Qe, children: A }),
2744
- R && /* @__PURE__ */ g(me, { children: [
2741
+ ) : /* @__PURE__ */ h(q, { sx: { textAlign: "center" }, children: [
2742
+ (A || R) && /* @__PURE__ */ h(q, { sx: Qe, children: [
2743
+ A && /* @__PURE__ */ t(de, { component: "span", sx: et, children: A }),
2744
+ R && /* @__PURE__ */ h(me, { children: [
2745
2745
  /* @__PURE__ */ t("br", {}),
2746
- /* @__PURE__ */ t(de, { component: "span", sx: et, children: R })
2746
+ /* @__PURE__ */ t(de, { component: "span", sx: tt, children: R })
2747
2747
  ] })
2748
2748
  ] }),
2749
2749
  /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2750
- Ze,
2750
+ Je,
2751
2751
  {
2752
- ...x,
2753
- onButtonClick: () => w(x, L),
2752
+ ...w,
2753
+ onButtonClick: () => S(w, L),
2754
2754
  variant: "small"
2755
2755
  }
2756
2756
  ) })
2757
2757
  ] });
2758
2758
  };
2759
- return /* @__PURE__ */ g(q, { component: "section", sx: I, children: [
2759
+ return /* @__PURE__ */ h(q, { component: "section", sx: O, children: [
2760
2760
  /* @__PURE__ */ t("div", { ref: f, style: { width: "100%" }, children: /* @__PURE__ */ t(
2761
2761
  he,
2762
2762
  {
@@ -2774,71 +2774,105 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2774
2774
  // arrows: false,
2775
2775
  // drag: true,
2776
2776
  },
2777
- renderItem: (x, O) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: k(x, !s, O) }),
2778
- onMove: ({ index: x, isStart: O, isEnd: L }) => {
2779
- b(x), typeof O == "boolean" && typeof L == "boolean" && E({ isStart: O, isEnd: L }), B(x);
2777
+ renderItem: (w, E) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: $(w, !s, E) }),
2778
+ onMove: ({ index: w, isStart: E, isEnd: L }) => {
2779
+ g(w), typeof E == "boolean" && typeof L == "boolean" && x({ isStart: E, isEnd: L }), B(w);
2780
2780
  }
2781
2781
  }
2782
2782
  ) }),
2783
- m && /* @__PURE__ */ t(q, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2784
- lt,
2783
+ d && /* @__PURE__ */ t(q, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2784
+ ct,
2785
2785
  {
2786
2786
  total: n.length,
2787
2787
  active: c,
2788
- onSelect: (x) => {
2789
- var O;
2788
+ onSelect: (w) => {
2789
+ var E;
2790
2790
  i({
2791
2791
  element: "welcome_banner_dots",
2792
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${x + 1}`,
2792
+ label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${w + 1}`,
2793
2793
  target: "no_url",
2794
2794
  event_type: "click",
2795
2795
  module_id: 301,
2796
2796
  metadata: {
2797
2797
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2798
- dot_index: x + 1,
2798
+ dot_index: w + 1,
2799
2799
  total_dots: n.length
2800
2800
  },
2801
2801
  tags: {
2802
2802
  navigation_type: "dot_click"
2803
2803
  }
2804
- }), b(x), (O = p.current) == null || O.go(x);
2804
+ }), g(w), (E = p.current) == null || E.go(w);
2805
2805
  }
2806
2806
  }
2807
2807
  ) })
2808
2808
  ] });
2809
- }, _n = ({
2809
+ }, yn = ({
2810
2810
  className: e = "",
2811
2811
  fullBleed: a = !0,
2812
2812
  items: n,
2813
2813
  selectedIndex: o = 0,
2814
- ariaLabel: i
2814
+ ariaLabel: i,
2815
+ user: r = null
2815
2816
  }) => {
2816
- const r = V(null), s = V(null), m = ae(), p = ne(), f = se();
2817
+ const s = V(null), d = V(null), p = ae(), f = ne(), u = se();
2817
2818
  if (!n) return null;
2818
- const d = () => {
2819
- m({
2819
+ const l = async () => {
2820
+ let x = r;
2821
+ if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
2822
+ try {
2823
+ const T = localStorage.getItem("user");
2824
+ T && (x = JSON.parse(T));
2825
+ } catch (T) {
2826
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", T);
2827
+ }
2828
+ if (!(x != null && x.user) || !(x != null && x.session))
2829
+ return console.warn("User data missing"), null;
2830
+ p({
2820
2831
  element: "club_olimpo_button",
2821
- label: `${p} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2822
- target: "https://www.olimpo.bet/conoce-club-olimpo",
2832
+ label: `${f} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2833
+ target: "https://www.clubolimpo.com/OlimpoBetWeb/",
2823
2834
  event_type: "click",
2824
- module_id: f,
2835
+ module_id: u,
2825
2836
  metadata: {
2826
2837
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2827
2838
  },
2828
2839
  tags: { section: "OraculoSeccionClubOlimpo" }
2829
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2830
- }, l = Array.isArray(n) ? n[o] : n;
2831
- $t(() => {
2832
- if (!r.current || !s.current || typeof ResizeObserver == "undefined") return;
2833
- const b = r.current, h = s.current, E = () => {
2834
- b.style.setProperty(
2840
+ });
2841
+ try {
2842
+ const T = {
2843
+ idUsuario: "PE" + x.user,
2844
+ session_id: x.session,
2845
+ pagina: "home"
2846
+ }, v = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2847
+ method: "POST",
2848
+ headers: {
2849
+ "Content-Type": "application/json"
2850
+ },
2851
+ body: JSON.stringify(T)
2852
+ });
2853
+ if (v.ok) {
2854
+ const I = await v.json();
2855
+ return I == null ? void 0 : I.url;
2856
+ }
2857
+ return null;
2858
+ } catch (T) {
2859
+ return console.error("[getMarketPlaceUrl]", T), null;
2860
+ }
2861
+ }, c = async () => {
2862
+ const x = await l();
2863
+ x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2864
+ }, g = Array.isArray(n) ? n[o] : n;
2865
+ Nt(() => {
2866
+ if (!s.current || !d.current || typeof ResizeObserver == "undefined") return;
2867
+ const x = s.current, T = d.current, _ = () => {
2868
+ x.style.setProperty(
2835
2869
  "--orc-co-bottomH",
2836
- `${h.offsetHeight + 16}px`
2870
+ `${T.offsetHeight + 16}px`
2837
2871
  );
2838
- }, M = new ResizeObserver(E);
2839
- return M.observe(h), E(), () => M.disconnect();
2872
+ }, v = new ResizeObserver(_);
2873
+ return v.observe(T), _(), () => v.disconnect();
2840
2874
  }, []);
2841
- const c = [
2875
+ const b = [
2842
2876
  "orc-co-wrap",
2843
2877
  a ? "orc-co-fullBleed" : "",
2844
2878
  e
@@ -2846,55 +2880,55 @@ const Ya = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2846
2880
  return /* @__PURE__ */ t(
2847
2881
  "section",
2848
2882
  {
2849
- ref: r,
2850
- className: c,
2851
- "aria-label": i || l.imgAlt || "Club Olimpo",
2852
- children: /* @__PURE__ */ t("div", { ref: s, children: /* @__PURE__ */ t(
2853
- xa,
2883
+ ref: s,
2884
+ className: b,
2885
+ "aria-label": i || g.imgAlt || "Club Olimpo",
2886
+ children: /* @__PURE__ */ t("div", { ref: d, children: /* @__PURE__ */ t(
2887
+ wa,
2854
2888
  {
2855
- text: l.text,
2856
- onClick: d,
2857
- imgAlt: l.imgAlt,
2858
- buttonLabel: l.buttonLabel,
2859
- imgSrcMobile: l.imgMobile,
2860
- imgSrcDesktopBg: l.imgDesktopBg,
2861
- imgSrcDesktopLogo: l.imgDesktopLogo
2889
+ text: g.text,
2890
+ onClick: c,
2891
+ imgAlt: g.imgAlt,
2892
+ buttonLabel: g.buttonLabel,
2893
+ imgSrcMobile: g.imgMobile,
2894
+ imgSrcDesktopBg: g.imgDesktopBg,
2895
+ imgSrcDesktopLogo: g.imgDesktopLogo
2862
2896
  }
2863
2897
  ) })
2864
2898
  }
2865
2899
  );
2866
- }, yn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", xn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", tt = {
2867
- controls: yn,
2868
- padding: xn
2869
- }, wn = (e) => {
2900
+ }, xn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", wn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
2901
+ controls: xn,
2902
+ padding: wn
2903
+ }, Sn = (e) => {
2870
2904
  var a, n;
2871
2905
  return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
2872
2906
  var i, r;
2873
2907
  return (r = (i = o.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? r : [];
2874
2908
  }) : [];
2875
2909
  };
2876
- function Sn(e, a, n) {
2910
+ function In(e, a, n) {
2877
2911
  return n ? n.map((o) => {
2878
- var d, l;
2879
- const i = o.prePackCouponRows.flatMap((c) => wn(c).map((b) => ({ eventId: c.eventId, outcomeId: b }))), r = new Set(i.map((c) => c.eventId)), s = new Set(i.map((c) => c.outcomeId)), m = new Map(i.map((c, b) => [c.outcomeId, b])), p = {};
2912
+ var u, l;
2913
+ const i = o.prePackCouponRows.flatMap((c) => Sn(c).map((g) => ({ eventId: c.eventId, outcomeId: g }))), r = new Set(i.map((c) => c.eventId)), s = new Set(i.map((c) => c.outcomeId)), d = new Map(i.map((c, g) => [c.outcomeId, g])), p = {};
2880
2914
  for (const c of a) {
2881
2915
  if (!r.has(c.eventId)) continue;
2882
- const b = c.outcomes.filter((h) => s.has(h.id)).map((h) => ({ ...h, position: m.get(h.id) }));
2883
- b.length && ((l = p[d = c.eventId]) != null || (p[d] = []), p[c.eventId].push({ ...c, outcomes: b }));
2916
+ const g = c.outcomes.filter((b) => s.has(b.id)).map((b) => ({ ...b, position: d.get(b.id) }));
2917
+ g.length && ((l = p[u = c.eventId]) != null || (p[u] = []), p[c.eventId].push({ ...c, outcomes: g }));
2884
2918
  }
2885
2919
  const f = e.filter((c) => r.has(c.id)).map((c) => {
2886
- var b;
2887
- return { ...c, betoffers: (b = p[c.id]) != null ? b : [] };
2920
+ var g;
2921
+ return { ...c, betoffers: (g = p[c.id]) != null ? g : [] };
2888
2922
  });
2889
2923
  return {
2890
2924
  couponId: o.id,
2891
2925
  status: o.status,
2892
- combinadoTotal: In(o.prePackCouponRows),
2926
+ combinadoTotal: Cn(o.prePackCouponRows),
2893
2927
  events: f
2894
2928
  };
2895
2929
  }) : [];
2896
2930
  }
2897
- function In(e) {
2931
+ function Cn(e) {
2898
2932
  if (!Array.isArray(e) || e.length === 0) return 0;
2899
2933
  let a = 1;
2900
2934
  for (const n of e) {
@@ -2903,150 +2937,150 @@ function In(e) {
2903
2937
  }
2904
2938
  return Math.floor(a * 100) / 100;
2905
2939
  }
2906
- const Cn = fe.memo(za);
2907
- function On({
2940
+ const On = fe.memo(Aa);
2941
+ function En({
2908
2942
  items: e,
2909
2943
  title: a = "Combinadas del Olimpo",
2910
2944
  iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
2911
2945
  onViewMore: o,
2912
2946
  className: i = ""
2913
2947
  }) {
2914
- const r = ae(), s = ne(), m = se(), p = V(null), [f, d] = K({ isStart: !0, isEnd: !1 }), [l, c] = K([]), b = "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", h = () => {
2915
- var I;
2948
+ const r = ae(), s = ne(), d = se(), p = V(null), [f, u] = K({ isStart: !0, isEnd: !1 }), [l, c] = K([]), 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", b = () => {
2949
+ var O;
2916
2950
  r({
2917
2951
  element: "evento_combinadas_prev",
2918
2952
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
2919
2953
  event_type: "click",
2920
- module_id: m,
2954
+ module_id: d,
2921
2955
  metadata: {
2922
2956
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2923
2957
  },
2924
2958
  tags: { section: "OraculoSeccionEventoCombinadas" }
2925
- }), (I = p.current) == null || I.prev();
2926
- }, E = () => {
2927
- var I;
2959
+ }), (O = p.current) == null || O.prev();
2960
+ }, x = () => {
2961
+ var O;
2928
2962
  r({
2929
2963
  element: "evento_combinadas_next",
2930
2964
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
2931
2965
  event_type: "click",
2932
- module_id: m,
2966
+ module_id: d,
2933
2967
  metadata: {
2934
2968
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2935
2969
  },
2936
2970
  tags: { section: "OraculoSeccionEventoCombinadas" }
2937
- }), (I = p.current) == null || I.next();
2938
- }, M = () => {
2971
+ }), (O = p.current) == null || O.next();
2972
+ }, T = () => {
2939
2973
  r({
2940
2974
  element: "evento_combinadas_ver_mas",
2941
2975
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
2942
2976
  event_type: "click",
2943
- module_id: m,
2977
+ module_id: d,
2944
2978
  metadata: {
2945
2979
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2946
2980
  },
2947
2981
  tags: { section: "OraculoSeccionEventoCombinadas" }
2948
- }), Ba();
2949
- }, y = re(() => l.filter((I) => I.combinadoTotal !== null), [l]);
2950
- async function _() {
2951
- var I, T, w, B;
2982
+ }), za();
2983
+ }, _ = re(() => l.filter((O) => O.combinadoTotal !== null), [l]);
2984
+ async function v() {
2985
+ var O, k, S, B;
2952
2986
  try {
2953
- const x = await (await fetch(b)).json(), O = (B = (w = (T = (I = x == null ? void 0 : x.group) == null ? void 0 : I.groups) == null ? void 0 : T.map((v) => v.id)) == null ? void 0 : w.filter(Boolean)) == null ? void 0 : B.join(",");
2954
- if (!O) {
2987
+ const w = await (await fetch(g)).json(), E = (B = (S = (k = (O = w == null ? void 0 : w.group) == null ? void 0 : O.groups) == null ? void 0 : k.map((y) => y.id)) == null ? void 0 : S.filter(Boolean)) == null ? void 0 : B.join(",");
2988
+ if (!E) {
2955
2989
  console.error("Could not extract group ID");
2956
2990
  return;
2957
2991
  }
2958
- const L = `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(L)).json();
2959
- c(Sn(R.events, R.betOffers, R.prePackCoupons));
2960
- } catch (k) {
2961
- console.error("loadDataEventSpecial error:", k);
2992
+ const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${E}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(L)).json();
2993
+ c(In(R.events, R.betOffers, R.prePackCoupons));
2994
+ } catch ($) {
2995
+ console.error("loadDataEventSpecial error:", $);
2962
2996
  }
2963
2997
  }
2964
2998
  Q(() => {
2965
- _();
2999
+ v();
2966
3000
  }, []);
2967
- const C = i || void 0, D = xe("(max-width:950px)");
2968
- return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: C, style: {
3001
+ const I = i || void 0, U = xe("(max-width:950px)");
3002
+ return _.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
2969
3003
  // paddingLeft: 16,
2970
3004
  // paddingRight: 16,
2971
3005
  width: "100%",
2972
3006
  boxSizing: "border-box"
2973
- }, children: /* @__PURE__ */ g(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2974
- /* @__PURE__ */ t("div", { className: tt.padding, children: /* @__PURE__ */ g(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3007
+ }, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3008
+ /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ h(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2975
3009
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2976
- /* @__PURE__ */ g("div", { className: tt.controls, children: [
2977
- /* @__PURE__ */ g(ue, { spacing: 1, columns: "auto auto", children: [
3010
+ /* @__PURE__ */ h("div", { className: at.controls, children: [
3011
+ /* @__PURE__ */ h(ue, { spacing: 1, columns: "auto auto", children: [
2978
3012
  /* @__PURE__ */ t(
2979
- X,
3013
+ J,
2980
3014
  {
2981
3015
  ariaLabel: "Anterior",
2982
3016
  variant: "secondary",
2983
3017
  iconOnly: !0,
2984
3018
  leftIcon: /* @__PURE__ */ t(ze, {}),
2985
- onClick: h,
3019
+ onClick: b,
2986
3020
  disabled: f.isStart
2987
3021
  }
2988
3022
  ),
2989
3023
  /* @__PURE__ */ t(
2990
- X,
3024
+ J,
2991
3025
  {
2992
3026
  ariaLabel: "Siguiente",
2993
3027
  variant: "secondary",
2994
3028
  iconOnly: !0,
2995
3029
  rightIcon: /* @__PURE__ */ t(Ae, {}),
2996
- onClick: E,
3030
+ onClick: x,
2997
3031
  disabled: f.isEnd
2998
3032
  }
2999
3033
  )
3000
3034
  ] }),
3001
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: M, children: "Ver más" })
3035
+ /* @__PURE__ */ t(J, { variant: "secondary", onClick: T, children: "Ver más" })
3002
3036
  ] })
3003
3037
  ] }) }),
3004
3038
  /* @__PURE__ */ t(
3005
3039
  he,
3006
3040
  {
3007
3041
  ref: p,
3008
- items: y,
3042
+ items: _,
3009
3043
  perPage: void 0,
3010
3044
  gap: "16px",
3011
3045
  options: { autoWidth: !0, trimSpace: "move" },
3012
3046
  useIndexAsKey: !0,
3013
3047
  enableHorizontalWheel: !0,
3014
- showRightGradient: !D,
3048
+ showRightGradient: !U,
3015
3049
  breakpoints: {
3016
3050
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3017
3051
  },
3018
- renderItem: (I) => /* @__PURE__ */ t(Cn, { coupon: I }),
3019
- onMove: ({ isStart: I, isEnd: T }) => d({ isStart: I, isEnd: T })
3052
+ renderItem: (O) => /* @__PURE__ */ t(On, { coupon: O }),
3053
+ onMove: ({ isStart: O, isEnd: k }) => u({ isStart: O, isEnd: k })
3020
3054
  }
3021
3055
  )
3022
3056
  ] }) });
3023
3057
  }
3024
- function En({}) {
3058
+ function Tn({}) {
3025
3059
  return /* @__PURE__ */ t(
3026
3060
  "div",
3027
3061
  {
3028
3062
  className: ke.cardWrapper,
3029
- children: /* @__PURE__ */ g(H, { direction: "column", spacing: 1, children: [
3030
- /* @__PURE__ */ g(H, { spacing: 1, direction: "row", children: [
3063
+ children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1, children: [
3064
+ /* @__PURE__ */ h(H, { spacing: 1, direction: "row", children: [
3031
3065
  /* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
3032
3066
  /* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
3033
3067
  ] }),
3034
- /* @__PURE__ */ g(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3068
+ /* @__PURE__ */ h(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3035
3069
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
3036
3070
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
3037
3071
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
3038
3072
  ] }),
3039
- /* @__PURE__ */ g(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3073
+ /* @__PURE__ */ h(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3040
3074
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
3041
3075
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
3042
3076
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
3043
3077
  ] }),
3044
- /* @__PURE__ */ g(H, { spacing: 2, direction: "row", children: [
3078
+ /* @__PURE__ */ h(H, { spacing: 2, direction: "row", children: [
3045
3079
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3046
3080
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3047
3081
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
3048
3082
  ] }),
3049
- /* @__PURE__ */ g(H, { spacing: 2, direction: "row", children: [
3083
+ /* @__PURE__ */ h(H, { spacing: 2, direction: "row", children: [
3050
3084
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3051
3085
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3052
3086
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
@@ -3055,66 +3089,66 @@ function En({}) {
3055
3089
  }
3056
3090
  );
3057
3091
  }
3058
- const Tn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", kn = {
3059
- fadeWrapper: Tn
3092
+ const kn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", $n = {
3093
+ fadeWrapper: kn
3060
3094
  };
3061
3095
  function Be({ children: e }) {
3062
- return /* @__PURE__ */ t("div", { className: kn.fadeWrapper, children: e });
3096
+ return /* @__PURE__ */ t("div", { className: $n.fadeWrapper, children: e });
3063
3097
  }
3064
- const $n = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Nn = {
3065
- padding: $n
3098
+ const Nn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Mn = {
3099
+ padding: Nn
3066
3100
  };
3067
- function xt({
3101
+ function wt({
3068
3102
  events: e,
3069
3103
  visibleRange: a,
3070
3104
  fetchJerseys: n,
3071
3105
  buffer: o = 2,
3072
3106
  debounceMs: i = 250
3073
3107
  }) {
3074
- const [r, s] = K({}), m = V(/* @__PURE__ */ new Set()), p = V(0), f = V(null), d = V(null);
3108
+ const [r, s] = K({}), d = V(/* @__PURE__ */ new Set()), p = V(0), f = V(null), u = V(null);
3075
3109
  return Q(() => {
3076
3110
  if (!(!e || e.length === 0))
3077
3111
  return f.current && clearTimeout(f.current), f.current = setTimeout(() => {
3078
- var D, I;
3079
- const l = (D = a.start) != null ? D : 0, c = (I = a.end) != null ? I : 7, b = Math.max(0, l - o), h = Math.min(e.length - 1, c + o);
3080
- let E = b, M = h;
3081
- const y = d.current;
3082
- y && (b > y.end && (E = y.end + 1), h < y.start && (M = y.start - 1)), d.current = { start: b, end: h };
3083
- const _ = e.slice(E, M + 1).map((T) => T == null ? void 0 : T.id).filter((T) => !!T).filter((T) => !m.current.has(T)).filter((T) => !(T in r));
3084
- if (_.length === 0) return;
3085
- _.forEach((T) => m.current.add(T));
3086
- const C = ++p.current;
3112
+ var U, O;
3113
+ const l = (U = a.start) != null ? U : 0, c = (O = a.end) != null ? O : 7, g = Math.max(0, l - o), b = Math.min(e.length - 1, c + o);
3114
+ let x = g, T = b;
3115
+ const _ = u.current;
3116
+ _ && (g > _.end && (x = _.end + 1), b < _.start && (T = _.start - 1)), u.current = { start: g, end: b };
3117
+ const v = e.slice(x, T + 1).map((k) => k == null ? void 0 : k.id).filter((k) => !!k).filter((k) => !d.current.has(k)).filter((k) => !(k in r));
3118
+ if (v.length === 0) return;
3119
+ v.forEach((k) => d.current.add(k));
3120
+ const I = ++p.current;
3087
3121
  (async () => {
3088
3122
  try {
3089
- const T = await n(_);
3090
- if (C !== p.current) {
3091
- _.forEach((B) => m.current.delete(B));
3123
+ const k = await n(v);
3124
+ if (I !== p.current) {
3125
+ v.forEach((B) => d.current.delete(B));
3092
3126
  return;
3093
3127
  }
3094
- if (!(T != null && T.events)) {
3095
- _.forEach(
3096
- (B) => m.current.delete(B)
3128
+ if (!(k != null && k.events)) {
3129
+ v.forEach(
3130
+ (B) => d.current.delete(B)
3097
3131
  );
3098
3132
  return;
3099
3133
  }
3100
3134
  s((B) => {
3101
- const k = { ...B };
3102
- for (const [x, O] of Object.entries(T.events)) {
3103
- const L = Number(x);
3104
- k[L] || (k[L] = O);
3135
+ const $ = { ...B };
3136
+ for (const [w, E] of Object.entries(k.events)) {
3137
+ const L = Number(w);
3138
+ $[L] || ($[L] = E);
3105
3139
  }
3106
- return k;
3140
+ return $;
3107
3141
  });
3108
- const w = new Set(
3109
- Object.keys(T.events).map(Number)
3142
+ const S = new Set(
3143
+ Object.keys(k.events).map(Number)
3110
3144
  );
3111
- _.forEach((B) => {
3112
- m.current.delete(B);
3145
+ v.forEach((B) => {
3146
+ d.current.delete(B);
3113
3147
  });
3114
- } catch (T) {
3115
- _.forEach(
3116
- (w) => m.current.delete(w)
3117
- ), console.error("Jersey fetch error", T);
3148
+ } catch (k) {
3149
+ v.forEach(
3150
+ (S) => d.current.delete(S)
3151
+ ), console.error("Jersey fetch error", k);
3118
3152
  }
3119
3153
  })();
3120
3154
  }, i), () => {
@@ -3122,148 +3156,148 @@ function xt({
3122
3156
  };
3123
3157
  }, [e, a, o, i, n]), {
3124
3158
  jerseys: r,
3125
- isPending: m.current
3159
+ isPending: d.current
3126
3160
  };
3127
3161
  }
3128
- const Mn = (e) => {
3162
+ const Bn = (e) => {
3129
3163
  const a = ["esports", "cyber"];
3130
3164
  return e.filter((n) => {
3131
3165
  var r, s;
3132
3166
  const o = (r = n == null ? void 0 : n.event) == null ? void 0 : r.sport;
3133
3167
  if (typeof o != "string" || o !== "FOOTBALL") return !1;
3134
3168
  const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
3135
- return !a.some((m) => i.includes(m));
3169
+ return !a.some((d) => i.includes(d));
3136
3170
  });
3137
- }, Bn = fe.memo(Fa);
3138
- function zn({
3171
+ }, zn = fe.memo(qa);
3172
+ function An({
3139
3173
  items: e,
3140
3174
  title: a = "En vivo",
3141
3175
  iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
3142
3176
  onViewMore: o,
3143
3177
  className: i = ""
3144
3178
  }) {
3145
- 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), [m, p] = K({ isStart: !0, isEnd: !1 }), [f, d] = K(null), [l, c] = K({ start: null, end: null }), [b, h] = K(null), E = V(!1), M = ae(), y = ne(), _ = se(), C = V(/* @__PURE__ */ new Map()), D = () => {
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), [d, p] = K({ isStart: !0, isEnd: !1 }), [f, u] = K(null), [l, c] = K({ start: null, end: null }), [g, b] = K(null), x = V(!1), T = ae(), _ = ne(), v = se(), I = V(/* @__PURE__ */ new Map()), U = () => {
3146
3180
  var A;
3147
- M({
3181
+ T({
3148
3182
  element: "evento_en_vivo_prev",
3149
- label: `${y} - OraculoSeccionEventoEnVivo - Anterior`,
3183
+ label: `${_} - OraculoSeccionEventoEnVivo - Anterior`,
3150
3184
  target: "prev",
3151
3185
  event_type: "click",
3152
- module_id: _,
3186
+ module_id: v,
3153
3187
  metadata: {
3154
3188
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3155
3189
  },
3156
3190
  tags: { section: "OraculoSeccionEventoEnVivo" }
3157
3191
  }), (A = s.current) == null || A.prev();
3158
- }, I = () => {
3192
+ }, O = () => {
3159
3193
  var A;
3160
- M({
3194
+ T({
3161
3195
  element: "evento_en_vivo_next",
3162
- label: `${y} - OraculoSeccionEventoEnVivo - Siguiente`,
3196
+ label: `${_} - OraculoSeccionEventoEnVivo - Siguiente`,
3163
3197
  target: "next",
3164
3198
  event_type: "click",
3165
- module_id: _,
3199
+ module_id: v,
3166
3200
  metadata: {
3167
3201
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3168
3202
  },
3169
3203
  tags: { section: "OraculoSeccionEventoEnVivo" }
3170
3204
  }), (A = s.current) == null || A.next();
3171
- }, T = () => {
3172
- M({
3205
+ }, k = () => {
3206
+ T({
3173
3207
  element: "evento_en_vivo_view_more",
3174
- label: `${y} - OraculoSeccionEventoEnVivo - Ver más`,
3208
+ label: `${_} - OraculoSeccionEventoEnVivo - Ver más`,
3175
3209
  target: "ver_mas",
3176
3210
  event_type: "click",
3177
- module_id: _,
3211
+ module_id: v,
3178
3212
  metadata: {
3179
3213
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3180
3214
  },
3181
3215
  tags: { section: "OraculoSeccionEventoEnVivo" }
3182
- }), Na();
3183
- }, w = Ee(async () => {
3216
+ }), Ma();
3217
+ }, S = Ee(async () => {
3184
3218
  var A;
3185
3219
  try {
3186
- if (!E.current) {
3187
- E.current = !0;
3220
+ if (!x.current) {
3221
+ x.current = !0;
3188
3222
  try {
3189
- const W = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((A = W == null ? void 0 : W.data) == null ? void 0 : A.event_ids) || [], J = /* @__PURE__ */ new Map();
3190
- G.forEach((ee, u) => J.set(String(ee), u)), C.current = J;
3191
- } catch (U) {
3192
- console.error("Order fetch failed, using default sorting", U);
3223
+ const W = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((A = W == null ? void 0 : W.data) == null ? void 0 : A.event_ids) || [], X = /* @__PURE__ */ new Map();
3224
+ G.forEach((ee, m) => X.set(String(ee), m)), I.current = X;
3225
+ } catch (D) {
3226
+ console.error("Order fetch failed, using default sorting", D);
3193
3227
  }
3194
3228
  }
3195
3229
  const R = await fetch(r);
3196
3230
  if (!R.ok) throw new Error("Failed to fetch live events");
3197
- const v = await R.json(), P = Mn(v.events);
3198
- if (C.current.size === 0)
3199
- d(P);
3231
+ const y = await R.json(), P = Bn(y.events);
3232
+ if (I.current.size === 0)
3233
+ u(P);
3200
3234
  else {
3201
- const U = [...P].sort((W, G) => {
3202
- const J = C.current.get(String(W.event.id)), ee = C.current.get(String(G.event.id));
3203
- return (J !== void 0 ? J : 1 / 0) - (ee !== void 0 ? ee : 1 / 0);
3235
+ const D = [...P].sort((W, G) => {
3236
+ const X = I.current.get(String(W.event.id)), ee = I.current.get(String(G.event.id));
3237
+ return (X !== void 0 ? X : 1 / 0) - (ee !== void 0 ? ee : 1 / 0);
3204
3238
  });
3205
- d(U);
3239
+ u(D);
3206
3240
  }
3207
3241
  } catch (R) {
3208
3242
  console.error("LoadData Error:", R);
3209
3243
  }
3210
3244
  }, []);
3211
3245
  Q(() => {
3212
- w();
3213
- const A = setInterval(w, 2e4);
3246
+ S();
3247
+ const A = setInterval(S, 2e4);
3214
3248
  return () => clearInterval(A);
3215
- }, [w]);
3216
- const { jerseys: B } = xt({
3249
+ }, [S]);
3250
+ const { jerseys: B } = wt({
3217
3251
  events: (f == null ? void 0 : f.map((A) => A.event)) || [],
3218
3252
  // extract actual event objects
3219
3253
  visibleRange: l,
3220
- fetchJerseys: pt,
3254
+ fetchJerseys: ft,
3221
3255
  buffer: 3,
3222
3256
  // same as your previous BUFFER
3223
3257
  debounceMs: 300
3224
3258
  // same as your previous debouncedVisibleRange
3225
- }), k = i || void 0, x = f === null, O = re(() => x ? Array(4).fill({}) : (f == null ? void 0 : f.slice(0, 20)) || [], [x, f]), L = xe("(max-width:950px)");
3226
- return !x && f.length === 0 ? null : /* @__PURE__ */ t("section", { className: k, style: {
3259
+ }), $ = i || void 0, w = f === null, E = re(() => w ? Array(4).fill({}) : (f == null ? void 0 : f.slice(0, 20)) || [], [w, f]), L = xe("(max-width:950px)");
3260
+ return !w && f.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
3227
3261
  // paddingLeft: 16,
3228
3262
  // paddingRight: 16,
3229
3263
  width: "100%",
3230
3264
  boxSizing: "border-box"
3231
- }, children: /* @__PURE__ */ g(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3232
- /* @__PURE__ */ t("div", { className: Nn.padding, children: /* @__PURE__ */ g(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3265
+ }, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3266
+ /* @__PURE__ */ t("div", { className: Mn.padding, children: /* @__PURE__ */ h(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3233
3267
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3234
- /* @__PURE__ */ g("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3235
- /* @__PURE__ */ g(ue, { spacing: 1, columns: "auto auto", children: [
3268
+ /* @__PURE__ */ h("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3269
+ /* @__PURE__ */ h(ue, { spacing: 1, columns: "auto auto", children: [
3236
3270
  /* @__PURE__ */ t(
3237
- X,
3271
+ J,
3238
3272
  {
3239
3273
  ariaLabel: "Anterior",
3240
3274
  variant: "secondary",
3241
3275
  iconOnly: !0,
3242
3276
  leftIcon: /* @__PURE__ */ t(ze, {}),
3243
- onClick: D,
3244
- disabled: m.isStart
3277
+ onClick: U,
3278
+ disabled: d.isStart
3245
3279
  }
3246
3280
  ),
3247
3281
  /* @__PURE__ */ t(
3248
- X,
3282
+ J,
3249
3283
  {
3250
3284
  ariaLabel: "Siguiente",
3251
3285
  variant: "secondary",
3252
3286
  iconOnly: !0,
3253
3287
  rightIcon: /* @__PURE__ */ t(Ae, {}),
3254
- onClick: I,
3255
- disabled: m.isEnd
3288
+ onClick: O,
3289
+ disabled: d.isEnd
3256
3290
  }
3257
3291
  )
3258
3292
  ] }),
3259
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: T, children: "Ver más" })
3293
+ /* @__PURE__ */ t(J, { variant: "secondary", onClick: k, children: "Ver más" })
3260
3294
  ] })
3261
3295
  ] }) }),
3262
3296
  /* @__PURE__ */ t(
3263
3297
  he,
3264
3298
  {
3265
3299
  ref: s,
3266
- items: O,
3300
+ items: E,
3267
3301
  perPage: void 0,
3268
3302
  showRightGradient: !L,
3269
3303
  enableHorizontalWheel: !0,
@@ -3276,44 +3310,44 @@ function zn({
3276
3310
  },
3277
3311
  renderItem: (A) => {
3278
3312
  var P;
3279
- const R = ((P = A.event) == null ? void 0 : P.id) || A.eventId, v = R in B ? B[R] : void 0;
3280
- return x ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(En, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3281
- Bn,
3313
+ const R = ((P = A.event) == null ? void 0 : P.id) || A.eventId, y = R in B ? B[R] : void 0;
3314
+ return w ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Tn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3315
+ zn,
3282
3316
  {
3283
3317
  ...A,
3284
- jersey: v
3318
+ jersey: y
3285
3319
  }
3286
3320
  ) });
3287
3321
  },
3288
- onMove: ({ isStart: A, isEnd: R, visibleStart: v, visibleEnd: P }) => {
3322
+ onMove: ({ isStart: A, isEnd: R, visibleStart: y, visibleEnd: P }) => {
3289
3323
  p(
3290
- (U) => U.isStart === A && U.isEnd === R ? U : { isStart: A, isEnd: R }
3291
- ), c({ start: v, end: P });
3324
+ (D) => D.isStart === A && D.isEnd === R ? D : { isStart: A, isEnd: R }
3325
+ ), c({ start: y, end: P });
3292
3326
  }
3293
3327
  }
3294
3328
  )
3295
3329
  ] }) });
3296
3330
  }
3297
- function An() {
3298
- return /* @__PURE__ */ g("div", { className: be.cardContainer, children: [
3299
- /* @__PURE__ */ t(dt, { title: "" }),
3300
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ g(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3301
- /* @__PURE__ */ g(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3331
+ function Rn() {
3332
+ return /* @__PURE__ */ h("div", { className: be.cardContainer, children: [
3333
+ /* @__PURE__ */ t(ut, { title: "" }),
3334
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ h(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3335
+ /* @__PURE__ */ h(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3302
3336
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
3303
3337
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
3304
3338
  ] }),
3305
- /* @__PURE__ */ g(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3306
- /* @__PURE__ */ g(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3339
+ /* @__PURE__ */ h(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3340
+ /* @__PURE__ */ h(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3307
3341
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
3308
3342
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
3309
3343
  ] }),
3310
3344
  /* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
3311
- /* @__PURE__ */ g(H, { direction: "row", spacing: 1, children: [
3345
+ /* @__PURE__ */ h(H, { direction: "row", spacing: 1, children: [
3312
3346
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3313
3347
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3314
3348
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
3315
3349
  ] }),
3316
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ g(H, { direction: "row", spacing: 1, children: [
3350
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ h(H, { direction: "row", spacing: 1, children: [
3317
3351
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3318
3352
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3319
3353
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
@@ -3322,30 +3356,30 @@ function An() {
3322
3356
  ] }) })
3323
3357
  ] });
3324
3358
  }
3325
- const Rn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Ln = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Pn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Fn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3326
- wrapper: Rn,
3327
- container: Ln,
3328
- buttonWrapper: Pn,
3329
- padding: Fn
3330
- }, qn = fe.memo(Ha);
3359
+ const Ln = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Pn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Fn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", qn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3360
+ wrapper: Ln,
3361
+ container: Pn,
3362
+ buttonWrapper: Fn,
3363
+ padding: qn
3364
+ }, Un = fe.memo(Ka);
3331
3365
  async function Dn(e, a = 2, n) {
3332
3366
  const o = [];
3333
3367
  for (let i = 0; i < e.length; i += a) {
3334
3368
  if (n.aborted)
3335
3369
  throw new DOMException("Aborted", "AbortError");
3336
3370
  const r = e.slice(i, i + a), s = await Promise.all(
3337
- r.map((m) => fetch(m, { signal: n }).then((p) => p.json()))
3371
+ r.map((d) => fetch(d, { signal: n }).then((p) => p.json()))
3338
3372
  );
3339
3373
  o.push(...s);
3340
3374
  }
3341
3375
  return o;
3342
3376
  }
3343
- function Un(e) {
3377
+ function Vn(e) {
3344
3378
  return [...e].sort(
3345
3379
  (a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
3346
3380
  );
3347
3381
  }
3348
- function Vn(e) {
3382
+ function Wn(e) {
3349
3383
  const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
3350
3384
  return e.filter((o) => {
3351
3385
  if (!o.start) return !1;
@@ -3353,7 +3387,7 @@ function Vn(e) {
3353
3387
  return i >= a && i <= n;
3354
3388
  });
3355
3389
  }
3356
- function Wn(e, a) {
3390
+ function Gn(e, a) {
3357
3391
  const o = a.filter((i) => {
3358
3392
  var r;
3359
3393
  return ((r = i.betOfferType) == null ? void 0 : r.id) === 2;
@@ -3363,135 +3397,135 @@ function Wn(e, a) {
3363
3397
  outcome: o[i.id]
3364
3398
  }));
3365
3399
  }
3366
- function Gn({
3400
+ function jn({
3367
3401
  items: e,
3368
3402
  title: a = "En vivo",
3369
3403
  iconUrl: n,
3370
3404
  onViewMore: o,
3371
3405
  className: i = ""
3372
3406
  }) {
3373
- const r = ae(), s = ne(), m = se(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", f = V(null), [d, l] = K({ isStart: !0, isEnd: !1 }), [c, b] = K(null), [h, E] = K({ start: null, end: null }), M = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
3407
+ const r = ae(), s = ne(), d = se(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", f = V(null), [u, l] = K({ isStart: !0, isEnd: !1 }), [c, g] = K(null), [b, x] = K({ start: null, end: null }), T = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", _ = () => {
3374
3408
  r({
3375
3409
  element: "evento_semana_view_more",
3376
3410
  label: `${s} - OraculoSeccionEventoSemana - Ver más`,
3377
3411
  target: "ver_mas",
3378
3412
  event_type: "click",
3379
- module_id: m,
3413
+ module_id: d,
3380
3414
  metadata: {
3381
3415
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3382
3416
  },
3383
3417
  tags: { section: "OraculoSeccionEventoSemana" }
3384
- }), Ma();
3418
+ }), Ba();
3385
3419
  };
3386
- async function _(k) {
3420
+ async function v($) {
3387
3421
  var L, A;
3388
- let x = [], O = [];
3422
+ let w = [], E = [];
3389
3423
  try {
3390
3424
  const R = await fetch(
3391
3425
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
3392
- { signal: k }
3426
+ { signal: $ }
3393
3427
  );
3394
3428
  if (R.ok) {
3395
- const v = await R.json();
3396
- x = ((L = v == null ? void 0 : v.data) == null ? void 0 : L.group_ids) || [], O = ((A = v == null ? void 0 : v.data) == null ? void 0 : A.event_ids) || [];
3429
+ const y = await R.json();
3430
+ w = ((L = y == null ? void 0 : y.data) == null ? void 0 : L.group_ids) || [], E = ((A = y == null ? void 0 : y.data) == null ? void 0 : A.event_ids) || [];
3397
3431
  }
3398
3432
  } catch (R) {
3399
3433
  R.name !== "AbortError" && console.warn("Order API not available, using default group order");
3400
3434
  return;
3401
3435
  }
3402
3436
  try {
3403
- const P = (await (await fetch(p, { signal: k })).json()).group.groups.find(
3404
- (u) => u.englishName === "Football"
3437
+ const P = (await (await fetch(p, { signal: $ })).json()).group.groups.find(
3438
+ (m) => m.englishName === "Football"
3405
3439
  );
3406
3440
  if (!P || !Array.isArray(P.groups)) {
3407
3441
  console.error("Football groups not found");
3408
3442
  return;
3409
3443
  }
3410
- let U = [...P.groups];
3411
- if (x.length > 0) {
3412
- const u = new Map(
3413
- x.map((S, $) => [S, $])
3444
+ let D = [...P.groups];
3445
+ if (w.length > 0) {
3446
+ const m = new Map(
3447
+ w.map((C, N) => [C, N])
3414
3448
  );
3415
- U.sort((S, $) => {
3416
- const N = u.get(String(S.id)), z = u.get(String($.id));
3417
- return N !== void 0 && z !== void 0 ? N - z : N !== void 0 ? -1 : z !== void 0 ? 1 : 0;
3449
+ D.sort((C, N) => {
3450
+ const M = m.get(String(C.id)), z = m.get(String(N.id));
3451
+ return M !== void 0 && z !== void 0 ? M - z : M !== void 0 ? -1 : z !== void 0 ? 1 : 0;
3418
3452
  });
3419
3453
  }
3420
- const G = U.slice(0, 5), J = (u) => {
3421
- const S = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3422
- if (u.groups && u.groups.length > 0) {
3423
- const $ = u.groups[0];
3454
+ const G = D.slice(0, 5), X = (m) => {
3455
+ const C = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3456
+ if (m.groups && m.groups.length > 0) {
3457
+ const N = m.groups[0];
3424
3458
  return [
3425
- `${S}/${u.termKey}/${$.termKey}/all/matches.json?${M}`
3459
+ `${C}/${m.termKey}/${N.termKey}/all/matches.json?${T}`
3426
3460
  ];
3427
3461
  }
3428
3462
  return [
3429
- `${S}/${u.termKey}/all/all/matches.json?${M}`
3463
+ `${C}/${m.termKey}/all/all/matches.json?${T}`
3430
3464
  ];
3431
- }, ee = G.flatMap(J);
3432
- C(ee, O, k);
3465
+ }, ee = G.flatMap(X);
3466
+ I(ee, E, $);
3433
3467
  } catch (R) {
3434
3468
  console.error(R);
3435
3469
  }
3436
3470
  }
3437
- async function C(k, x, O) {
3471
+ async function I($, w, E) {
3438
3472
  try {
3439
- const L = await Dn(k, 2, O);
3473
+ const L = await Dn($, 2, E);
3440
3474
  let A = [], R = [];
3441
3475
  L.forEach((W) => {
3442
3476
  W.events && (A.push(...W.events.map((G) => G.event)), R.push(
3443
3477
  ...W.events.flatMap((G) => G.betOffers || [])
3444
3478
  ));
3445
3479
  });
3446
- const v = Wn(A, R), P = Un(Vn(v));
3447
- let U = P;
3448
- if (x.length > 0) {
3480
+ const y = Gn(A, R), P = Vn(Wn(y));
3481
+ let D = P;
3482
+ if (w.length > 0) {
3449
3483
  const W = new Map(
3450
- x.map((G, J) => [
3484
+ w.map((G, X) => [
3451
3485
  String(G),
3452
- J
3486
+ X
3453
3487
  ])
3454
3488
  );
3455
- U = [...P].sort((G, J) => {
3456
- const ee = W.get(String(G.id)), u = W.get(String(J.id));
3457
- return ee !== void 0 && u !== void 0 ? ee - u : ee !== void 0 ? -1 : u !== void 0 ? 1 : 0;
3489
+ D = [...P].sort((G, X) => {
3490
+ const ee = W.get(String(G.id)), m = W.get(String(X.id));
3491
+ return ee !== void 0 && m !== void 0 ? ee - m : ee !== void 0 ? -1 : m !== void 0 ? 1 : 0;
3458
3492
  });
3459
3493
  }
3460
- if (O.aborted) return;
3461
- b(U);
3494
+ if (E.aborted) return;
3495
+ g(D);
3462
3496
  } catch (L) {
3463
3497
  console.error("Error loading events:", L);
3464
3498
  }
3465
3499
  }
3466
3500
  Q(() => {
3467
3501
  if (!e) return;
3468
- const k = new AbortController();
3469
- return _(k.signal), () => {
3470
- k.abort();
3502
+ const $ = new AbortController();
3503
+ return v($.signal), () => {
3504
+ $.abort();
3471
3505
  };
3472
3506
  }, [e]);
3473
- const D = i || void 0, I = {
3507
+ const U = i || void 0, O = {
3474
3508
  paddingLeft: 0,
3475
3509
  width: "100%",
3476
3510
  boxSizing: "border-box"
3477
- }, { jerseys: T } = xt({
3511
+ }, { jerseys: k } = wt({
3478
3512
  events: c,
3479
- visibleRange: h,
3480
- fetchJerseys: pt,
3513
+ visibleRange: b,
3514
+ fetchJerseys: ft,
3481
3515
  buffer: 2,
3482
3516
  debounceMs: 250
3483
- }), w = c === null, B = xe("(max-width:950px)");
3484
- return !w && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: I, children: /* @__PURE__ */ g("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3485
- /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ g(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3517
+ }), S = c === null, B = xe("(max-width:950px)");
3518
+ return !S && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: U, style: O, children: /* @__PURE__ */ h("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3519
+ /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ h(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3486
3520
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3487
3521
  /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
3488
- X,
3522
+ J,
3489
3523
  {
3490
3524
  variant: "secondary",
3491
3525
  size: "lg",
3492
3526
  fullWidth: !0,
3493
3527
  onClick: () => {
3494
- y();
3528
+ _();
3495
3529
  },
3496
3530
  children: "Ver más"
3497
3531
  }
@@ -3501,7 +3535,7 @@ function Gn({
3501
3535
  he,
3502
3536
  {
3503
3537
  ref: f,
3504
- items: w ? Array(6).fill({}) : c.slice(0, 20),
3538
+ items: S ? Array(6).fill({}) : c.slice(0, 20),
3505
3539
  perPage: 3.5,
3506
3540
  gap: "16px",
3507
3541
  enableHorizontalWheel: !0,
@@ -3515,26 +3549,26 @@ function Gn({
3515
3549
  padding: { left: "8px", right: "8px" }
3516
3550
  }
3517
3551
  },
3518
- renderItem: (k) => {
3519
- const x = k.id, O = x in T ? T[x] : void 0;
3520
- return w ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(An, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(qn, { event: k, jersey: O }) });
3552
+ renderItem: ($) => {
3553
+ const w = $.id, E = w in k ? k[w] : void 0;
3554
+ return S ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Rn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: $, jersey: E }) });
3521
3555
  },
3522
- onMove: ({ isStart: k, isEnd: x, visibleStart: O, visibleEnd: L }) => {
3523
- l({ isStart: k, isEnd: x }), E({
3524
- start: O,
3556
+ onMove: ({ isStart: $, isEnd: w, visibleStart: E, visibleEnd: L }) => {
3557
+ l({ isStart: $, isEnd: w }), x({
3558
+ start: E,
3525
3559
  end: L
3526
3560
  }), r({
3527
3561
  element: "evento_semana_carousel_slide",
3528
3562
  label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
3529
3563
  target: "carousel",
3530
3564
  event_type: "slide",
3531
- module_id: m,
3565
+ module_id: d,
3532
3566
  metadata: {
3533
3567
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3534
- visibleStart: O,
3568
+ visibleStart: E,
3535
3569
  visibleEnd: L,
3536
- isStart: k,
3537
- isEnd: x
3570
+ isStart: $,
3571
+ isEnd: w
3538
3572
  },
3539
3573
  tags: { section: "OraculoSeccionEventoSemana" }
3540
3574
  });
@@ -3543,15 +3577,15 @@ function Gn({
3543
3577
  ) })
3544
3578
  ] }) });
3545
3579
  }
3546
- function jn({
3580
+ function Hn({
3547
3581
  backgrounds: e,
3548
3582
  items: a,
3549
3583
  hideItems: n
3550
3584
  }) {
3551
3585
  var L, A, R;
3552
- const [o, i] = K(0), r = ae(), s = ne(), m = se(), p = V(null), f = V(!1), d = V(!1), l = (e == null ? void 0 : e.length) || 1, c = !e || e.length === 0, b = !c && ((L = e == null ? void 0 : e.length) != null ? L : 0) > 1, h = !n && ((A = a == null ? void 0 : a.length) != null ? A : 0) > 0;
3553
- De("(max-width:950px)");
3554
- const E = "#B5B5B5", M = {
3586
+ const [o, i] = K(0), r = ae(), s = ne(), d = se(), p = V(null), f = V(!1), u = V(!1), l = (e == null ? void 0 : e.length) || 1, c = !e || e.length === 0, g = !c && ((L = e == null ? void 0 : e.length) != null ? L : 0) > 1, b = !n && ((A = a == null ? void 0 : a.length) != null ? A : 0) > 0;
3587
+ Ue("(max-width:950px)");
3588
+ const x = "#B5B5B5", T = {
3555
3589
  position: "absolute",
3556
3590
  top: "50%",
3557
3591
  transform: "translateY(-50%)",
@@ -3559,22 +3593,22 @@ function jn({
3559
3593
  width: 48,
3560
3594
  height: 40,
3561
3595
  borderRadius: "12px",
3562
- border: `1.5px solid ${E}`,
3596
+ border: `1.5px solid ${x}`,
3563
3597
  py: 1,
3564
3598
  px: 1.5,
3565
- color: E,
3599
+ color: x,
3566
3600
  backgroundColor: "transparent",
3567
3601
  "&:hover": {
3568
3602
  backgroundColor: "rgba(181,181,181,0.08)"
3569
3603
  },
3570
3604
  "&.Mui-disabled": {
3571
3605
  opacity: 0.35,
3572
- borderColor: E,
3573
- color: E,
3606
+ borderColor: x,
3607
+ color: x,
3574
3608
  backgroundColor: "transparent",
3575
3609
  cursor: "default"
3576
3610
  }
3577
- }, y = re(
3611
+ }, _ = re(
3578
3612
  () => ({
3579
3613
  type: "loop",
3580
3614
  perMove: 1,
@@ -3586,20 +3620,20 @@ function jn({
3586
3620
  []
3587
3621
  );
3588
3622
  Q(() => {
3589
- const v = setTimeout(() => {
3623
+ const y = setTimeout(() => {
3590
3624
  f.current = !0;
3591
3625
  }, 500);
3592
- return () => clearTimeout(v);
3626
+ return () => clearTimeout(y);
3593
3627
  }, []);
3594
- const _ = (v, P) => {
3628
+ const v = (y, P) => {
3595
3629
  var W, G;
3596
- const U = ((G = (W = v.href) == null ? void 0 : W.split("/").pop()) == null ? void 0 : G.split(".")[0]) || v.label || v.id || `banner_${P + 1}`;
3630
+ const D = ((G = (W = y.href) == null ? void 0 : W.split("/").pop()) == null ? void 0 : G.split(".")[0]) || y.label || y.id || `banner_${P + 1}`;
3597
3631
  r({
3598
3632
  element: "banner_carousel",
3599
- label: `${s} - OraculoSeccionBanners - Banner click: ${U}`,
3600
- target: v.href || "no_url",
3633
+ label: `${s} - OraculoSeccionBanners - Banner click: ${D}`,
3634
+ target: y.href || "no_url",
3601
3635
  event_type: "click",
3602
- module_id: m,
3636
+ module_id: d,
3603
3637
  metadata: {
3604
3638
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3605
3639
  banner_position: P + 1,
@@ -3608,54 +3642,54 @@ function jn({
3608
3642
  tags: {
3609
3643
  banner_type: "carousel",
3610
3644
  banner_target: "_self",
3611
- banner_url: v.href || "no_url"
3645
+ banner_url: y.href || "no_url"
3612
3646
  }
3613
3647
  });
3614
- }, C = (v) => {
3648
+ }, I = (y) => {
3615
3649
  if (r({
3616
3650
  element: "banner_menu_item",
3617
- label: `${s} - OraculoSeccionBanners - Menu item click: ${v.label || v.id}`,
3618
- target: v.href || "action",
3651
+ label: `${s} - OraculoSeccionBanners - Menu item click: ${y.label || y.id}`,
3652
+ target: y.href || "action",
3619
3653
  event_type: "click",
3620
- module_id: m,
3654
+ module_id: d,
3621
3655
  metadata: {
3622
3656
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3623
- item_id: v.id
3657
+ item_id: y.id
3624
3658
  },
3625
3659
  tags: {
3626
- item_label: v.label || "no_label"
3660
+ item_label: y.label || "no_label"
3627
3661
  }
3628
- }), v.onClick) {
3629
- v.onClick();
3662
+ }), y.onClick) {
3663
+ y.onClick();
3630
3664
  return;
3631
3665
  }
3632
- v.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(v.href);
3633
- }, D = 5e3, I = V(null), T = !c && ((R = e == null ? void 0 : e.length) != null ? R : 0) > 1, w = () => {
3634
- I.current != null && (window.clearTimeout(I.current), I.current = null);
3666
+ y.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(y.href);
3667
+ }, U = 5e3, O = V(null), k = !c && ((R = e == null ? void 0 : e.length) != null ? R : 0) > 1, S = () => {
3668
+ O.current != null && (window.clearTimeout(O.current), O.current = null);
3635
3669
  }, B = () => {
3636
- w(), T && (I.current = window.setTimeout(() => {
3637
- var v;
3638
- d.current = !0, (v = p.current) == null || v.next();
3639
- }, D));
3670
+ S(), k && (O.current = window.setTimeout(() => {
3671
+ var y;
3672
+ u.current = !0, (y = p.current) == null || y.next();
3673
+ }, U));
3640
3674
  };
3641
- Q(() => (B(), () => w()), [T, D]);
3642
- const k = (v) => {
3675
+ Q(() => (B(), () => S()), [k, U]);
3676
+ const $ = (y) => {
3643
3677
  var P;
3644
- v.preventDefault(), v.stopPropagation(), w(), (P = p.current) == null || P.prev();
3645
- }, x = (v) => {
3678
+ y.preventDefault(), y.stopPropagation(), S(), (P = p.current) == null || P.prev();
3679
+ }, w = (y) => {
3646
3680
  var P;
3647
- v.preventDefault(), v.stopPropagation(), w(), (P = p.current) == null || P.next();
3648
- }, O = (v) => {
3649
- var W, G, J, ee;
3650
- const P = (v % l + l) % l;
3681
+ y.preventDefault(), y.stopPropagation(), S(), (P = p.current) == null || P.next();
3682
+ }, E = (y) => {
3683
+ var W, G, X, ee;
3684
+ const P = (y % l + l) % l;
3651
3685
  if (!f.current) return;
3652
- const U = (W = e == null ? void 0 : e[P]) != null && W.href ? ((J = (G = e[P].href) == null ? void 0 : G.split("/").pop()) == null ? void 0 : J.split(".")[0]) || `banner_${P + 1}` : `banner_${P + 1}`;
3686
+ const D = (W = e == null ? void 0 : e[P]) != null && W.href ? ((X = (G = e[P].href) == null ? void 0 : G.split("/").pop()) == null ? void 0 : X.split(".")[0]) || `banner_${P + 1}` : `banner_${P + 1}`;
3653
3687
  r({
3654
3688
  element: "banner_carousel",
3655
- label: `${s} - OraculoSeccionBanners - Banner view: Slide ${P + 1} - ${U}`,
3689
+ label: `${s} - OraculoSeccionBanners - Banner view: Slide ${P + 1} - ${D}`,
3656
3690
  target: ((ee = e == null ? void 0 : e[P]) == null ? void 0 : ee.href) || "no_url",
3657
3691
  event_type: "view",
3658
- module_id: m,
3692
+ module_id: d,
3659
3693
  metadata: {
3660
3694
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3661
3695
  slide_index: P + 1,
@@ -3665,17 +3699,17 @@ function jn({
3665
3699
  tags: { banner_position: String(P + 1) }
3666
3700
  });
3667
3701
  };
3668
- return /* @__PURE__ */ g(
3702
+ return /* @__PURE__ */ h(
3669
3703
  Y,
3670
3704
  {
3671
3705
  component: "section",
3672
3706
  sx: {
3673
3707
  position: "relative",
3674
3708
  overflow: "visible",
3675
- pb: h ? { xs: "40px", sm: 0 } : 0
3709
+ pb: b ? { xs: "40px", sm: 0 } : 0
3676
3710
  },
3677
3711
  children: [
3678
- /* @__PURE__ */ g(
3712
+ /* @__PURE__ */ h(
3679
3713
  Y,
3680
3714
  {
3681
3715
  sx: {
@@ -3707,23 +3741,23 @@ function jn({
3707
3741
  perPage: 1,
3708
3742
  gap: "0px",
3709
3743
  enableHorizontalWheel: !0,
3710
- options: y,
3711
- onMove: ({ index: v }) => {
3712
- const P = (v % l + l) % l;
3744
+ options: _,
3745
+ onMove: ({ index: y }) => {
3746
+ const P = (y % l + l) % l;
3713
3747
  i(P);
3714
- const U = d.current;
3715
- d.current = !1, B(), U || O(v);
3748
+ const D = u.current;
3749
+ u.current = !1, B(), D || E(y);
3716
3750
  },
3717
- renderItem: (v, P) => {
3718
- var U, W, G;
3719
- return /* @__PURE__ */ g(
3751
+ renderItem: (y, P) => {
3752
+ var D, W, G;
3753
+ return /* @__PURE__ */ h(
3720
3754
  Y,
3721
3755
  {
3722
3756
  component: "a",
3723
- href: v.href,
3724
- target: (U = v.target) != null ? U : "_self",
3725
- rel: v.target === "_blank" ? "noopener noreferrer" : void 0,
3726
- onClick: () => _(v, P),
3757
+ href: y.href,
3758
+ target: (D = y.target) != null ? D : "_self",
3759
+ rel: y.target === "_blank" ? "noopener noreferrer" : void 0,
3760
+ onClick: () => v(y, P),
3727
3761
  sx: {
3728
3762
  position: "relative",
3729
3763
  width: "100%",
@@ -3733,14 +3767,14 @@ function jn({
3733
3767
  cursor: "pointer"
3734
3768
  },
3735
3769
  children: [
3736
- /* @__PURE__ */ g(Y, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3737
- /* @__PURE__ */ t("source", { srcSet: v.desktopSrc, media: "(min-width:950px)" }),
3738
- /* @__PURE__ */ t("source", { srcSet: v.mobileSrc, media: "(max-width:949px)" }),
3770
+ /* @__PURE__ */ h(Y, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3771
+ /* @__PURE__ */ t("source", { srcSet: y.desktopSrc, media: "(min-width:950px)" }),
3772
+ /* @__PURE__ */ t("source", { srcSet: y.mobileSrc, media: "(max-width:949px)" }),
3739
3773
  /* @__PURE__ */ t(
3740
3774
  Y,
3741
3775
  {
3742
3776
  component: "img",
3743
- src: (G = (W = v.fallbackSrc) != null ? W : v.desktopSrc) != null ? G : "",
3777
+ src: (G = (W = y.fallbackSrc) != null ? W : y.desktopSrc) != null ? G : "",
3744
3778
  alt: "",
3745
3779
  "aria-hidden": !0,
3746
3780
  loading: "lazy",
@@ -3780,14 +3814,14 @@ function jn({
3780
3814
  )
3781
3815
  }
3782
3816
  ),
3783
- b && /* @__PURE__ */ g(me, { children: [
3817
+ g && /* @__PURE__ */ h(me, { children: [
3784
3818
  /* @__PURE__ */ t(
3785
- He,
3819
+ Ke,
3786
3820
  {
3787
3821
  "aria-label": "Anterior",
3788
- onClick: k,
3822
+ onClick: $,
3789
3823
  sx: {
3790
- ...M,
3824
+ ...T,
3791
3825
  left: "120px",
3792
3826
  "@media (max-width:1024px)": { left: 24 },
3793
3827
  "@media (max-width:786px)": { display: "none" }
@@ -3796,12 +3830,12 @@ function jn({
3796
3830
  }
3797
3831
  ),
3798
3832
  /* @__PURE__ */ t(
3799
- He,
3833
+ Ke,
3800
3834
  {
3801
3835
  "aria-label": "Siguiente",
3802
- onClick: x,
3836
+ onClick: w,
3803
3837
  sx: {
3804
- ...M,
3838
+ ...T,
3805
3839
  right: "120px",
3806
3840
  "@media (max-width:1024px)": { right: 24 },
3807
3841
  "@media (max-width:786px)": { display: "none" }
@@ -3823,11 +3857,11 @@ function jn({
3823
3857
  zIndex: 2
3824
3858
  },
3825
3859
  children: /* @__PURE__ */ t(
3826
- lt,
3860
+ ct,
3827
3861
  {
3828
3862
  total: l,
3829
3863
  active: o,
3830
- durationMs: D
3864
+ durationMs: U
3831
3865
  },
3832
3866
  `${o}-${l}`
3833
3867
  )
@@ -3836,7 +3870,7 @@ function jn({
3836
3870
  ]
3837
3871
  }
3838
3872
  ),
3839
- h && /* @__PURE__ */ t(
3873
+ b && /* @__PURE__ */ t(
3840
3874
  Y,
3841
3875
  {
3842
3876
  sx: {
@@ -3854,7 +3888,7 @@ function jn({
3854
3888
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3855
3889
  zIndex: 3
3856
3890
  },
3857
- children: a == null ? void 0 : a.map((v) => /* @__PURE__ */ g(
3891
+ children: a == null ? void 0 : a.map((y) => /* @__PURE__ */ h(
3858
3892
  Y,
3859
3893
  {
3860
3894
  sx: {
@@ -3866,7 +3900,7 @@ function jn({
3866
3900
  gap: { xs: 0.5, md: 1 },
3867
3901
  color: "#FFFFFF",
3868
3902
  minWidth: 0,
3869
- cursor: v.onClick || v.href ? "pointer" : "default",
3903
+ cursor: y.onClick || y.href ? "pointer" : "default",
3870
3904
  whiteSpace: "nowrap",
3871
3905
  "&::after": {
3872
3906
  content: '""',
@@ -3890,7 +3924,7 @@ function jn({
3890
3924
  opacity: 1,
3891
3925
  transform: "scaleX(1)"
3892
3926
  },
3893
- ...v.iconHover && {
3927
+ ...y.iconHover && {
3894
3928
  "&:hover .menu-icon-default": {
3895
3929
  display: "none"
3896
3930
  },
@@ -3899,9 +3933,9 @@ function jn({
3899
3933
  }
3900
3934
  }
3901
3935
  },
3902
- onClick: () => C(v),
3936
+ onClick: () => I(y),
3903
3937
  children: [
3904
- v.icon && /* @__PURE__ */ g(
3938
+ y.icon && /* @__PURE__ */ h(
3905
3939
  Y,
3906
3940
  {
3907
3941
  sx: {
@@ -3915,8 +3949,8 @@ function jn({
3915
3949
  Y,
3916
3950
  {
3917
3951
  component: "img",
3918
- src: v.icon,
3919
- alt: v.label || `icon-${v.id}`,
3952
+ src: y.icon,
3953
+ alt: y.label || `icon-${y.id}`,
3920
3954
  className: "menu-icon-default",
3921
3955
  sx: {
3922
3956
  display: "block",
@@ -3928,12 +3962,12 @@ function jn({
3928
3962
  }
3929
3963
  }
3930
3964
  ),
3931
- v.iconHover && /* @__PURE__ */ t(
3965
+ y.iconHover && /* @__PURE__ */ t(
3932
3966
  Y,
3933
3967
  {
3934
3968
  component: "img",
3935
- src: v.iconHover,
3936
- alt: v.label || `icon-hover-${v.id}`,
3969
+ src: y.iconHover,
3970
+ alt: y.label || `icon-hover-${y.id}`,
3937
3971
  className: "menu-icon-hover",
3938
3972
  sx: {
3939
3973
  display: "none",
@@ -3949,7 +3983,7 @@ function jn({
3949
3983
  }
3950
3984
  ),
3951
3985
  /* @__PURE__ */ t(
3952
- it,
3986
+ rt,
3953
3987
  {
3954
3988
  className: "menu-text",
3955
3989
  sx: {
@@ -3958,12 +3992,12 @@ function jn({
3958
3992
  color: "#E0E0E0",
3959
3993
  textAlign: "center"
3960
3994
  },
3961
- children: v.label
3995
+ children: y.label
3962
3996
  }
3963
3997
  )
3964
3998
  ]
3965
3999
  },
3966
- v.id
4000
+ y.id
3967
4001
  ))
3968
4002
  }
3969
4003
  )
@@ -3971,7 +4005,7 @@ function jn({
3971
4005
  }
3972
4006
  );
3973
4007
  }
3974
- const Hn = [
4008
+ const Kn = [
3975
4009
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
3976
4010
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" },
3977
4011
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/BCP.png", alt: "BCP" },
@@ -3980,14 +4014,14 @@ const Hn = [
3980
4014
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/monnet.svg", alt: "Monnet" },
3981
4015
  { src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
3982
4016
  ];
3983
- function Kn({
4017
+ function Zn({
3984
4018
  title: e = "Medios de pago",
3985
- items: a = Hn
4019
+ items: a = Kn
3986
4020
  }) {
3987
4021
  const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
3988
- return /* @__PURE__ */ g(Y, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4022
+ return /* @__PURE__ */ h(Y, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
3989
4023
  /* @__PURE__ */ t(
3990
- it,
4024
+ rt,
3991
4025
  {
3992
4026
  id: "mp-title",
3993
4027
  variant: "h6",
@@ -4014,7 +4048,7 @@ function Kn({
4014
4048
  }
4015
4049
  }
4016
4050
  ),
4017
- /* @__PURE__ */ g(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4051
+ /* @__PURE__ */ h(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4018
4052
  /* @__PURE__ */ t(
4019
4053
  Oe,
4020
4054
  {
@@ -4023,7 +4057,7 @@ function Kn({
4023
4057
  alignItems: "center",
4024
4058
  gap: { xs: 2, md: 3 },
4025
4059
  flexWrap: "wrap",
4026
- children: o.map((r, s) => /* @__PURE__ */ t(Ke, { ...r }, `${r.alt}-${r.src}-${s}`))
4060
+ children: o.map((r, s) => /* @__PURE__ */ t(Ze, { ...r }, `${r.alt}-${r.src}-${s}`))
4027
4061
  }
4028
4062
  ),
4029
4063
  /* @__PURE__ */ t(
@@ -4034,17 +4068,17 @@ function Kn({
4034
4068
  alignItems: "center",
4035
4069
  gap: { xs: 2, md: 3 },
4036
4070
  flexWrap: "wrap",
4037
- children: i.map((r, s) => /* @__PURE__ */ t(Ke, { ...r }, `${r.alt}-${r.src}-${s}`))
4071
+ children: i.map((r, s) => /* @__PURE__ */ t(Ze, { ...r }, `${r.alt}-${r.src}-${s}`))
4038
4072
  }
4039
4073
  )
4040
4074
  ] })
4041
4075
  ] });
4042
4076
  }
4043
- function wt({
4077
+ function St({
4044
4078
  children: e
4045
4079
  }) {
4046
- const a = Bt(), n = fe.useMemo(
4047
- () => zt(a, {
4080
+ const a = zt(), n = fe.useMemo(
4081
+ () => At(a, {
4048
4082
  typography: { fontFamily: "var(--orc-font)" },
4049
4083
  components: {
4050
4084
  MuiTypography: {
@@ -4056,31 +4090,31 @@ function wt({
4056
4090
  }),
4057
4091
  [a]
4058
4092
  );
4059
- return /* @__PURE__ */ g(At, { theme: n, children: [
4060
- /* @__PURE__ */ t(Rt, {}),
4093
+ return /* @__PURE__ */ h(Rt, { theme: n, children: [
4094
+ /* @__PURE__ */ t(Lt, {}),
4061
4095
  e
4062
4096
  ] });
4063
4097
  }
4064
- function vo({
4098
+ function _o({
4065
4099
  docId: e = "Landing: home",
4066
4100
  moduleId: a = 301,
4067
4101
  children: n
4068
4102
  }) {
4069
- return /* @__PURE__ */ t(wt, { children: /* @__PURE__ */ t(gt, { docId: e, moduleId: a, children: n }) });
4103
+ return /* @__PURE__ */ t(St, { children: /* @__PURE__ */ t(ht, { docId: e, moduleId: a, children: n }) });
4070
4104
  }
4071
- const Zn = {
4072
- OraculoSeccionDestacados: Ka,
4073
- OraculoSeccionTopJuegos: Ja,
4074
- OraculoSeccionCasinoEnVivo: cn,
4075
- OraculoSeccionCasino: mn,
4076
- OraculoSeccionVirtuales: hn,
4077
- OraculoSeccionClubOlimpo: _n,
4078
- OraculoSeccionBonoBienvenida: vn,
4079
- OraculoSeccionBanners: jn,
4080
- OraculoSeccionMediosPago: Kn,
4081
- OraculoSeccionEventoEnVivo: zn,
4082
- OraculoSeccionEventoSemana: Gn,
4083
- OraculoSeccionEventoCombinadas: On
4105
+ const Jn = {
4106
+ OraculoSeccionDestacados: Za,
4107
+ OraculoSeccionTopJuegos: Ya,
4108
+ OraculoSeccionCasinoEnVivo: dn,
4109
+ OraculoSeccionCasino: pn,
4110
+ OraculoSeccionVirtuales: bn,
4111
+ OraculoSeccionClubOlimpo: yn,
4112
+ OraculoSeccionBonoBienvenida: _n,
4113
+ OraculoSeccionBanners: Hn,
4114
+ OraculoSeccionMediosPago: Zn,
4115
+ OraculoSeccionEventoEnVivo: An,
4116
+ OraculoSeccionEventoSemana: jn,
4117
+ OraculoSeccionEventoCombinadas: En
4084
4118
  }, qe = {
4085
4119
  sections: [
4086
4120
  {
@@ -5265,13 +5299,13 @@ const Zn = {
5265
5299
  componentKey: "OraculoSeccionMediosPago"
5266
5300
  }
5267
5301
  ]
5268
- }, Xn = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, Jn = (e) => /^OraculoSeccion[A-Z]/.test(e);
5302
+ }, Xn = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, Yn = (e) => /^OraculoSeccion[A-Z]/.test(e);
5269
5303
  function Ce(e) {
5270
5304
  return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
5271
5305
  var o, i;
5272
5306
  return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
5273
5307
  }).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
5274
- var o, i, r, s, m;
5308
+ var o, i, r, s, d;
5275
5309
  return {
5276
5310
  id: (o = a.id) != null ? o : n + 1,
5277
5311
  title: (i = a.title) != null ? i : "",
@@ -5279,7 +5313,7 @@ function Ce(e) {
5279
5313
  visible: (r = a.visible) != null ? r : !0,
5280
5314
  order: n + 1,
5281
5315
  props: (s = a.props) != null ? s : {},
5282
- apiUrl: (m = a.apiUrl) != null ? m : "",
5316
+ apiUrl: (d = a.apiUrl) != null ? d : "",
5283
5317
  dataMode: a.dataMode,
5284
5318
  variableName: a.variableName,
5285
5319
  manualItems: a.manualItems,
@@ -5291,23 +5325,23 @@ function Ce(e) {
5291
5325
  };
5292
5326
  }) : [];
5293
5327
  }
5294
- const Yn = Object.fromEntries(
5295
- Object.entries(Zn).filter(
5296
- ([e, a]) => Jn(e) && Xn(a)
5328
+ const Qn = Object.fromEntries(
5329
+ Object.entries(Jn).filter(
5330
+ ([e, a]) => Yn(e) && Xn(a)
5297
5331
  )
5298
- ), Qn = (e) => {
5332
+ ), eo = (e) => {
5299
5333
  try {
5300
5334
  return Object.fromEntries(e != null ? e : []);
5301
5335
  } catch {
5302
5336
  return console.warn("[oraculo] extras inválidos. Debe ser Array<[string, unknown]>", e), {};
5303
5337
  }
5304
5338
  };
5305
- class at extends Error {
5339
+ class nt extends Error {
5306
5340
  constructor(a, n, o) {
5307
5341
  super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
5308
5342
  }
5309
5343
  }
5310
- class eo extends fe.Component {
5344
+ class to extends fe.Component {
5311
5345
  constructor(a) {
5312
5346
  super(a), this.state = { hasError: !1 };
5313
5347
  }
@@ -5327,11 +5361,11 @@ class eo extends fe.Component {
5327
5361
  return this.state.hasError ? null : this.props.children;
5328
5362
  }
5329
5363
  }
5330
- const nt = [
5364
+ const ot = [
5331
5365
  "OraculoSeccionEventoEnVivo",
5332
5366
  "OraculoSeccionEventoSemana",
5333
5367
  "OraculoSeccionEventoCombinadas"
5334
- ], _o = ({
5368
+ ], yo = ({
5335
5369
  sectionsOverride: e,
5336
5370
  docId: a = "Landing: home",
5337
5371
  moduleId: n = 301,
@@ -5340,192 +5374,192 @@ const nt = [
5340
5374
  loader: r,
5341
5375
  disableWrapper: s = !1
5342
5376
  }) => {
5343
- const m = re(() => Qn(i), [i]), p = r || m.loader, [f, d] = K([]), [l, c] = K(!1), [b, h] = K({}), [E, M] = K({}), [y, _] = K({}), C = De("(min-width:1024px)"), D = re(
5377
+ const d = re(() => eo(i), [i]), p = r || d.loader, [f, u] = K([]), [l, c] = K(!1), [g, b] = K({}), [x, T] = K({}), [_, v] = K({}), I = Ue("(min-width:1024px)"), U = re(
5344
5378
  () => Ce(qe),
5345
5379
  []
5346
- ), I = (u) => D.find(
5347
- (S) => S.id === u.id || S.componentKey === u.componentKey
5348
- ), T = (u) => Array.isArray(u) ? u.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], w = re(() => {
5349
- const u = m.user;
5350
- return T(u == null ? void 0 : u.groups);
5351
- }, [m]), B = (u) => {
5352
- const S = u.manualScalarFields;
5353
- if (!Array.isArray(S)) return [];
5354
- const $ = S.find(
5380
+ ), O = (m) => U.find(
5381
+ (C) => C.id === m.id || C.componentKey === m.componentKey
5382
+ ), k = (m) => Array.isArray(m) ? m.map((C) => Number(C)).filter((C) => !Number.isNaN(C)) : [], S = re(() => {
5383
+ const m = d.user;
5384
+ return k(m == null ? void 0 : m.groups);
5385
+ }, [d]), B = (m) => {
5386
+ const C = m.manualScalarFields;
5387
+ if (!Array.isArray(C)) return [];
5388
+ const N = C.find(
5355
5389
  (F) => String((F == null ? void 0 : F.name) || "").trim().toLowerCase() === "groups"
5356
5390
  );
5357
- if (!$) return [];
5358
- const N = $.value;
5359
- if (N == null) return [];
5360
- if (Array.isArray(N))
5361
- return N.map((F) => Number(String(F).trim())).filter((F) => !Number.isNaN(F));
5362
- const z = String(N).trim();
5391
+ if (!N) return [];
5392
+ const M = N.value;
5393
+ if (M == null) return [];
5394
+ if (Array.isArray(M))
5395
+ return M.map((F) => Number(String(F).trim())).filter((F) => !Number.isNaN(F));
5396
+ const z = String(M).trim();
5363
5397
  return z ? z.split(",").map((F) => Number(F.trim())).filter((F) => !Number.isNaN(F)) : [];
5364
- }, k = (u, S) => {
5365
- const $ = B(u);
5366
- if ($.length === 0) return !0;
5367
- if (!Array.isArray(S) || S.length === 0) return !1;
5368
- const N = new Set(S);
5369
- return $.some((z) => N.has(z));
5398
+ }, $ = (m, C) => {
5399
+ const N = B(m);
5400
+ if (N.length === 0) return !0;
5401
+ if (!Array.isArray(C) || C.length === 0) return !1;
5402
+ const M = new Set(C);
5403
+ return N.some((z) => M.has(z));
5370
5404
  };
5371
5405
  Q(() => {
5372
5406
  if (e) return;
5373
5407
  if (!o) {
5374
- console.warn("[landing] sin db -> fallback json"), d(Ce(qe));
5408
+ console.warn("[landing] sin db -> fallback json"), u(Ce(qe));
5375
5409
  return;
5376
5410
  }
5377
- const u = ($, N) => {
5378
- console.warn("[landing] FALLBACK:", $, N != null ? N : ""), d(Ce(qe)), c(!1);
5411
+ const m = (N, M) => {
5412
+ console.warn("[landing] FALLBACK:", N, M != null ? M : ""), u(Ce(qe)), c(!1);
5379
5413
  };
5380
5414
  if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
5381
- c(!0), u("forzado por env");
5415
+ c(!0), m("forzado por env");
5382
5416
  return;
5383
5417
  }
5384
5418
  c(!0);
5385
- const S = Lt(
5386
- Pt(o, "landings", a),
5387
- ($) => {
5419
+ const C = Pt(
5420
+ Ft(o, "landings", a),
5421
+ (N) => {
5388
5422
  try {
5389
- if (!$.exists()) {
5390
- u(`doc landings/${a} no existe`);
5423
+ if (!N.exists()) {
5424
+ m(`doc landings/${a} no existe`);
5391
5425
  return;
5392
5426
  }
5393
- const N = $.data(), z = Ce(N);
5427
+ const M = N.data(), z = Ce(M);
5394
5428
  if (!z.length) {
5395
- u("JSON inválido o sin secciones normalizables", N);
5429
+ m("JSON inválido o sin secciones normalizables", M);
5396
5430
  return;
5397
5431
  }
5398
- console.log("[landing] Firestore OK (json grande):", N), d(z);
5399
- } catch (N) {
5400
- u("error procesando snapshot", N);
5432
+ console.log("[landing] Firestore OK (json grande):", M), u(z);
5433
+ } catch (M) {
5434
+ m("error procesando snapshot", M);
5401
5435
  } finally {
5402
5436
  c(!1);
5403
5437
  }
5404
5438
  },
5405
- ($) => {
5406
- u("error onSnapshot", $);
5439
+ (N) => {
5440
+ m("error onSnapshot", N);
5407
5441
  }
5408
5442
  );
5409
- return () => S();
5410
- }, [e, a, o]), Q(() => (Za(m), () => Xa()), [m]), Q(() => {
5411
- (e ? e.slice() : f.slice()).map(($) => $.componentKey).filter(($) => !!$).length;
5443
+ return () => C();
5444
+ }, [e, a, o]), Q(() => (Ja(d), () => Xa()), [d]), Q(() => {
5445
+ (e ? e.slice() : f.slice()).map((N) => N.componentKey).filter((N) => !!N).length;
5412
5446
  }, [e, f]);
5413
- const x = async (u) => {
5414
- if (nt.includes(u.componentKey))
5447
+ const w = async (m) => {
5448
+ if (ot.includes(m.componentKey))
5415
5449
  return {
5416
5450
  items: [],
5417
5451
  events: [],
5418
5452
  data: {}
5419
5453
  };
5420
- const S = (u.apiUrl || "").trim();
5421
- if (!S) return;
5422
- const $ = u.apiMethod || "GET", N = u.apiParams || [];
5423
- let z = S, F, Z;
5424
- if ($ === "GET") {
5454
+ const C = (m.apiUrl || "").trim();
5455
+ if (!C) return;
5456
+ const N = m.apiMethod || "GET", M = m.apiParams || [];
5457
+ let z = C, F, Z;
5458
+ if (N === "GET") {
5425
5459
  const ie = new URL(
5426
- S,
5460
+ C,
5427
5461
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5428
5462
  );
5429
- for (const oe of N)
5463
+ for (const oe of M)
5430
5464
  oe.key && ie.searchParams.append(oe.key, oe.value);
5431
5465
  z = ie.toString();
5432
5466
  } else {
5433
5467
  const ie = new URLSearchParams();
5434
- for (const oe of N)
5468
+ for (const oe of M)
5435
5469
  oe.key && ie.append(oe.key, oe.value);
5436
5470
  F = ie.toString(), Z = {
5437
5471
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5438
5472
  };
5439
5473
  }
5440
5474
  const te = await fetch(z, {
5441
- method: $,
5475
+ method: N,
5442
5476
  headers: Z,
5443
5477
  body: F
5444
5478
  });
5445
- if (!te.ok) throw new at(te.status, z, te.statusText);
5479
+ if (!te.ok) throw new nt(te.status, z, te.statusText);
5446
5480
  return te.json();
5447
- }, O = re(
5481
+ }, E = re(
5448
5482
  () => e ? e.slice() : f.slice(),
5449
5483
  [e, f]
5450
5484
  ), L = fe.useRef(/* @__PURE__ */ new Set());
5451
5485
  Q(() => {
5452
- const u = O.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5453
- if (u.length)
5454
- for (const { s: S, url: $ } of u) {
5455
- const N = `${S.id}|${$}`;
5456
- L.current.has(N) || (L.current.add(N), M((z) => ({ ...z, [S.id]: !0 })), _((z) => ({ ...z, [S.id]: "" })), (async () => {
5486
+ const m = E.map((C) => ({ s: C, url: (C.apiUrl || "").trim() })).filter(({ url: C }) => !!C);
5487
+ if (m.length)
5488
+ for (const { s: C, url: N } of m) {
5489
+ const M = `${C.id}|${N}`;
5490
+ L.current.has(M) || (L.current.add(M), T((z) => ({ ...z, [C.id]: !0 })), v((z) => ({ ...z, [C.id]: "" })), (async () => {
5457
5491
  try {
5458
- const z = await x(S);
5459
- h((F) => ({ ...F, [S.id]: z }));
5492
+ const z = await w(C);
5493
+ b((F) => ({ ...F, [C.id]: z }));
5460
5494
  } catch (z) {
5461
5495
  let F = "Error desconocido";
5462
- z instanceof at ? F = `Error HTTP ${z.status} (${z.statusText}) en ${z.url}` : z instanceof SyntaxError ? F = "Respuesta no es JSON válido" : z instanceof TypeError ? F = "Fallo de red / CORS / conexión" : typeof z == "string" && (F = z.toString()), _((Z) => ({ ...Z, [S.id]: F }));
5496
+ z instanceof nt ? F = `Error HTTP ${z.status} (${z.statusText}) en ${z.url}` : z instanceof SyntaxError ? F = "Respuesta no es JSON válido" : z instanceof TypeError ? F = "Fallo de red / CORS / conexión" : typeof z == "string" && (F = z.toString()), v((Z) => ({ ...Z, [C.id]: F }));
5463
5497
  } finally {
5464
- M((z) => ({ ...z, [S.id]: !1 }));
5498
+ T((z) => ({ ...z, [C.id]: !1 }));
5465
5499
  }
5466
5500
  })());
5467
5501
  }
5468
- }, [O]);
5502
+ }, [E]);
5469
5503
  const A = re(
5470
- () => O.filter((u) => u.visible).filter((u) => k(u, w)).sort((u, S) => u.order - S.order),
5471
- [O, w]
5472
- ), R = (u) => Array.isArray(u) ? u.map((S) => {
5473
- const $ = {};
5474
- for (const N of S.fields || []) {
5475
- const z = (N.type || "string").toLowerCase();
5504
+ () => E.filter((m) => m.visible).filter((m) => $(m, S)).sort((m, C) => m.order - C.order),
5505
+ [E, S]
5506
+ ), R = (m) => Array.isArray(m) ? m.map((C) => {
5507
+ const N = {};
5508
+ for (const M of C.fields || []) {
5509
+ const z = (M.type || "string").toLowerCase();
5476
5510
  if (z === "number") {
5477
- const F = String(N.value || "").trim();
5511
+ const F = String(M.value || "").trim();
5478
5512
  if (F !== "") {
5479
5513
  const Z = Number(F);
5480
- Number.isNaN(Z) || ($[N.name] = Z);
5514
+ Number.isNaN(Z) || (N[M.name] = Z);
5481
5515
  }
5482
5516
  } else if (z === "boolean")
5483
- $[N.name] = String(N.value).toLowerCase() === "true";
5517
+ N[M.name] = String(M.value).toLowerCase() === "true";
5484
5518
  else if (z === "function") {
5485
- const F = String(N.value || "").trim();
5519
+ const F = String(M.value || "").trim();
5486
5520
  if (F)
5487
5521
  try {
5488
5522
  const Z = new Function(F);
5489
- $[N.name] = Z;
5523
+ N[M.name] = Z;
5490
5524
  } catch (Z) {
5491
- console.error(`❌ Error creando función en item '${N.name}':`, Z);
5525
+ console.error(`❌ Error creando función en item '${M.name}':`, Z);
5492
5526
  }
5493
5527
  } else
5494
- $[N.name] = N.value;
5528
+ N[M.name] = M.value;
5495
5529
  }
5496
- return $;
5497
- }) : [], v = (u) => {
5498
- const S = {};
5499
- if (!Array.isArray(u)) return S;
5500
- for (const $ of u) {
5501
- if (!$.name) continue;
5502
- const N = ($.type || "string").toLowerCase();
5503
- if (N === "number") {
5504
- const z = String($.value || "").trim();
5530
+ return N;
5531
+ }) : [], y = (m) => {
5532
+ const C = {};
5533
+ if (!Array.isArray(m)) return C;
5534
+ for (const N of m) {
5535
+ if (!N.name) continue;
5536
+ const M = (N.type || "string").toLowerCase();
5537
+ if (M === "number") {
5538
+ const z = String(N.value || "").trim();
5505
5539
  if (z !== "") {
5506
5540
  const F = Number(z);
5507
- Number.isNaN(F) || (S[$.name] = F);
5541
+ Number.isNaN(F) || (C[N.name] = F);
5508
5542
  }
5509
- } else if (N === "boolean")
5510
- S[$.name] = String($.value).toLowerCase() === "true";
5511
- else if (N === "function") {
5512
- const z = String($.value || "").trim();
5543
+ } else if (M === "boolean")
5544
+ C[N.name] = String(N.value).toLowerCase() === "true";
5545
+ else if (M === "function") {
5546
+ const z = String(N.value || "").trim();
5513
5547
  if (z)
5514
5548
  try {
5515
5549
  const F = new Function(z);
5516
- S[$.name] = F;
5550
+ C[N.name] = F;
5517
5551
  } catch (F) {
5518
- console.error(`❌ Error creando función en item '${$.name}':`, F);
5552
+ console.error(`❌ Error creando función en item '${N.name}':`, F);
5519
5553
  }
5520
5554
  } else
5521
- S[$.name] = $.value;
5555
+ C[N.name] = N.value;
5522
5556
  }
5523
- return S;
5524
- }, P = (u, S, $, N) => {
5525
- const z = $ ? { ...$ } : {}, F = (N || "items").trim() || "items";
5526
- if (S)
5527
- return z[F] = S.arr || [], z;
5528
- const Z = u;
5557
+ return C;
5558
+ }, P = (m, C, N, M) => {
5559
+ const z = N ? { ...N } : {}, F = (M || "items").trim() || "items";
5560
+ if (C)
5561
+ return z[F] = C.arr || [], z;
5562
+ const Z = m;
5529
5563
  if (Array.isArray(Z))
5530
5564
  return z[F] = Z, z;
5531
5565
  if (Z && typeof Z == "object") {
@@ -5533,69 +5567,69 @@ const nt = [
5533
5567
  return Array.isArray(te.lobby) ? (z[F] = te.lobby, z) : Array.isArray(te.items) ? (z[F] = te.items, z) : (z[F] = Z, z);
5534
5568
  }
5535
5569
  return z[F] = [], z;
5536
- }, U = (u) => {
5570
+ }, D = (m) => {
5537
5571
  var F;
5538
- const S = !!((F = u.apiUrl) != null && F.trim()), $ = S ? b[u.id] : void 0;
5539
- let N = u.props ? { ...u.props } : {};
5540
- const z = v(u.manualScalarFields);
5541
- if (nt.includes(u.componentKey))
5542
- return { items: $, ...N, ...z };
5543
- if (N = { ...N, ...z }, S)
5544
- N = P($, null, N);
5545
- else if (u.dataMode === "manual") {
5546
- const Z = R(u.manualItems);
5547
- if (N = P(
5572
+ const C = !!((F = m.apiUrl) != null && F.trim()), N = C ? g[m.id] : void 0;
5573
+ let M = m.props ? { ...m.props } : {};
5574
+ const z = y(m.manualScalarFields);
5575
+ if (ot.includes(m.componentKey))
5576
+ return { items: N, ...M, ...z };
5577
+ if (M = { ...M, ...z }, C)
5578
+ M = P(N, null, M);
5579
+ else if (m.dataMode === "manual") {
5580
+ const Z = R(m.manualItems);
5581
+ if (M = P(
5548
5582
  null,
5549
- { arr: Z, variableName: u.variableName },
5550
- N,
5551
- u.variableName
5552
- ), u.variableName2 && u.manualItems2) {
5553
- const te = R(u.manualItems2), ie = (u.variableName2 || "items2").trim() || "items2";
5554
- N[ie] = te;
5583
+ { arr: Z, variableName: m.variableName },
5584
+ M,
5585
+ m.variableName
5586
+ ), m.variableName2 && m.manualItems2) {
5587
+ const te = R(m.manualItems2), ie = (m.variableName2 || "items2").trim() || "items2";
5588
+ M[ie] = te;
5555
5589
  }
5556
5590
  }
5557
- return N;
5558
- }, W = (u) => {
5559
- const S = u.props ? { ...u.props } : {};
5591
+ return M;
5592
+ }, W = (m) => {
5593
+ const C = m.props ? { ...m.props } : {};
5560
5594
  try {
5561
- Object.assign(S, v(u.manualScalarFields));
5562
- } catch (N) {
5563
- console.error("❌ Error armando scalars vacíos:", u, N);
5595
+ Object.assign(C, y(m.manualScalarFields));
5596
+ } catch (M) {
5597
+ console.error("❌ Error armando scalars vacíos:", m, M);
5564
5598
  }
5565
- const $ = (u.variableName || "items").trim() || "items";
5566
- if (typeof S[$] == "undefined" && (S[$] = []), u.variableName2) {
5567
- const N = (u.variableName2 || "items2").trim() || "items2";
5568
- typeof S[N] == "undefined" && (S[N] = []);
5599
+ const N = (m.variableName || "items").trim() || "items";
5600
+ if (typeof C[N] == "undefined" && (C[N] = []), m.variableName2) {
5601
+ const M = (m.variableName2 || "items2").trim() || "items2";
5602
+ typeof C[M] == "undefined" && (C[M] = []);
5569
5603
  }
5570
- return S;
5571
- }, G = (u) => {
5604
+ return C;
5605
+ }, G = (m) => {
5572
5606
  try {
5573
- return U(u);
5574
- } catch (S) {
5575
- console.error("🔥 ERROR EN buildCompProps:", u, S);
5576
- const $ = I(u);
5577
- if ($ && $ !== u)
5607
+ return D(m);
5608
+ } catch (C) {
5609
+ console.error("🔥 ERROR EN buildCompProps:", m, C);
5610
+ const N = O(m);
5611
+ if (N && N !== m)
5578
5612
  try {
5579
5613
  return console.warn(
5580
- `[landing] usando fallback local para sección ${u.title} (${u.componentKey})`
5581
- ), U($);
5582
- } catch (N) {
5583
- console.error("🔥 ERROR EN fallback buildCompProps:", $, N);
5614
+ `[landing] usando fallback local para sección ${m.title} (${m.componentKey})`
5615
+ ), D(N);
5616
+ } catch (M) {
5617
+ console.error("🔥 ERROR EN fallback buildCompProps:", N, M);
5584
5618
  }
5585
- return W(u);
5619
+ return W(m);
5586
5620
  }
5587
- }, J = (u, S, $) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5621
+ }, X = (m, C, N) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5588
5622
  loading: "bg-blue-100 text-blue-800",
5589
5623
  error: "bg-red-100 text-red-800",
5590
5624
  component: "bg-yellow-100 text-yellow-800"
5591
- }[S]}`, children: $ }, u), ee = (u) => {
5592
- var je;
5593
- const S = u.componentKey, $ = Yn[S], z = (/* @__PURE__ */ new Set([
5625
+ }[C]}`, children: N }, m), ee = (m) => {
5626
+ var He;
5627
+ const C = m.componentKey, N = Qn[C], z = (/* @__PURE__ */ new Set([
5594
5628
  "OraculoSeccionBanners",
5595
5629
  "OraculoSeccionBonoBienvenida",
5596
5630
  "OraculoSeccionCasinoEnVivo",
5597
5631
  "OraculoSeccionClubOlimpo",
5598
- ...C ? [] : [
5632
+ ...I ? [] : [
5599
5633
  "OraculoSeccionEventoEnVivo",
5600
5634
  "OraculoSeccionEventoSemana",
5601
5635
  "OraculoSeccionEventoCombinadas",
@@ -5603,7 +5637,7 @@ const nt = [
5603
5637
  "OraculoSeccionDestacados",
5604
5638
  "OraculoSeccionCasino"
5605
5639
  ]
5606
- ])).has(u.componentKey), F = C ? 120 : 24, Z = (C ? 8 : 5) * 8, te = u.componentKey === "OraculoSeccionCasinoEnVivo", ie = {
5640
+ ])).has(m.componentKey), F = I ? 120 : 24, Z = (I ? 8 : 5) * 8, te = m.componentKey === "OraculoSeccionCasinoEnVivo", ie = {
5607
5641
  width: "100%",
5608
5642
  boxSizing: "border-box",
5609
5643
  ...z ? {} : { paddingLeft: F, paddingRight: F },
@@ -5612,26 +5646,26 @@ const nt = [
5612
5646
  marginBottom: -Z
5613
5647
  } : {}
5614
5648
  };
5615
- if (!$)
5616
- return console.warn(`No hay componente registrado para "${S}"`), J(
5617
- u.id,
5649
+ if (!N)
5650
+ return console.warn(`No hay componente registrado para "${C}"`), X(
5651
+ m.id,
5618
5652
  "component",
5619
- `Componente "${S}" no encontrado`
5653
+ `Componente "${C}" no encontrado`
5620
5654
  );
5621
- const oe = !!((je = u.apiUrl) != null && je.trim()), We = oe ? b[u.id] : void 0, St = oe ? !!E[u.id] : !1, Ge = oe ? y[u.id] : "";
5655
+ const oe = !!((He = m.apiUrl) != null && He.trim()), We = oe ? g[m.id] : void 0, It = oe ? !!x[m.id] : !1, Ge = oe ? _[m.id] : "";
5622
5656
  if (oe) {
5623
- if (St && !We)
5624
- return J(
5625
- u.id,
5657
+ if (It && !We)
5658
+ return X(
5659
+ m.id,
5626
5660
  "loading",
5627
- `Cargando datos desde ${u.apiUrl}...`
5661
+ `Cargando datos desde ${m.apiUrl}...`
5628
5662
  );
5629
5663
  if (Ge && !We) {
5630
- const we = I(u);
5664
+ const we = O(m);
5631
5665
  if (we && we.dataMode === "manual")
5632
5666
  try {
5633
5667
  const Re = G(we);
5634
- return /* @__PURE__ */ t("div", { style: ie, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t($, { ...Re }) }, u.id);
5668
+ return /* @__PURE__ */ t("div", { style: ie, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(N, { ...Re }) }, m.id);
5635
5669
  } catch (Re) {
5636
5670
  console.error(
5637
5671
  "🔥 ERROR renderizando fallback manual de sección:",
@@ -5639,26 +5673,29 @@ const nt = [
5639
5673
  Re
5640
5674
  );
5641
5675
  }
5642
- return J(
5643
- u.id,
5676
+ return X(
5677
+ m.id,
5644
5678
  "error",
5645
- `Error cargando ${u.apiUrl}: ${Ge}`
5679
+ `Error cargando ${m.apiUrl}: ${Ge}`
5646
5680
  );
5647
5681
  }
5648
5682
  }
5649
- const It = G(u);
5650
- return /* @__PURE__ */ t(eo, { section: u, children: /* @__PURE__ */ t(
5683
+ const je = G(m), Ct = m.componentKey === "OraculoSeccionClubOlimpo" ? {
5684
+ ...je,
5685
+ user: d.user
5686
+ } : je;
5687
+ return /* @__PURE__ */ t(to, { section: m, children: /* @__PURE__ */ t(
5651
5688
  "div",
5652
5689
  {
5653
5690
  style: ie,
5654
5691
  className: "oraculo-section-wrapper",
5655
- children: /* @__PURE__ */ t($, { ...It })
5692
+ children: /* @__PURE__ */ t(N, { ...Ct })
5656
5693
  },
5657
- u.id
5694
+ m.id
5658
5695
  ) });
5659
5696
  };
5660
- return l && !e ? p ? /* @__PURE__ */ t(p, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !l && !e && f.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(wt, { children: /* @__PURE__ */ t(gt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
5661
- Ct,
5697
+ return l && !e ? p ? /* @__PURE__ */ t(p, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !l && !e && f.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(St, { children: /* @__PURE__ */ t(ht, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
5698
+ Ot,
5662
5699
  {
5663
5700
  className: "oli-font",
5664
5701
  maxWidth: !1,
@@ -5671,56 +5708,56 @@ const nt = [
5671
5708
  maxWidth: "100%",
5672
5709
  overflowX: "hidden"
5673
5710
  },
5674
- children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: C ? 8 : 5, useFlexGap: !0, children: A.map((u) => {
5711
+ children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: I ? 8 : 5, useFlexGap: !0, children: A.map((m) => {
5675
5712
  try {
5676
- return ee(u);
5677
- } catch (S) {
5678
- return console.error("🔥 ERROR EN SECTION:", u, S), null;
5713
+ return ee(m);
5714
+ } catch (C) {
5715
+ return console.error("🔥 ERROR EN SECTION:", m, C), null;
5679
5716
  }
5680
5717
  }) })
5681
5718
  }
5682
5719
  ) }) });
5683
5720
  };
5684
5721
  export {
5685
- gt as DocIdProvider,
5686
- X as OraculoButton,
5722
+ ht as DocIdProvider,
5723
+ J as OraculoButton,
5687
5724
  he as OraculoCarousel,
5688
- lt as OraculoCarouselDots,
5689
- xa as OraculoClubOlimpoVisual,
5690
- za as OraculoEventCombinadasCard,
5691
- Fa as OraculoEventEnVivoCard,
5692
- Gt as OraculoEventHeader,
5693
- ct as OraculoEventLabel,
5694
- dt as OraculoEventLeague,
5695
- ut as OraculoEventScore,
5696
- Ha as OraculoEventSemanaCard,
5697
- Wt as OraculoEventStatus,
5698
- Vt as OraculoEventStatusBadge,
5725
+ ct as OraculoCarouselDots,
5726
+ wa as OraculoClubOlimpoVisual,
5727
+ Aa as OraculoEventCombinadasCard,
5728
+ qa as OraculoEventEnVivoCard,
5729
+ jt as OraculoEventHeader,
5730
+ dt as OraculoEventLabel,
5731
+ ut as OraculoEventLeague,
5732
+ mt as OraculoEventScore,
5733
+ Ka as OraculoEventSemanaCard,
5734
+ Gt as OraculoEventStatus,
5735
+ Wt as OraculoEventStatusBadge,
5699
5736
  Ne as OraculoEventTeamInfo,
5700
5737
  Te as OraculoGameCard,
5701
- _a as OraculoGameRankCard,
5702
- mt as OraculoGameSlide,
5738
+ ya as OraculoGameRankCard,
5739
+ pt as OraculoGameSlide,
5703
5740
  ue as OraculoGridGroup,
5704
- ya as OraculoLiveCasinoCard,
5705
- Ke as OraculoLogoMediosPago,
5706
- _o as OraculoPageLandingPreview,
5707
- jn as OraculoSeccionBanners,
5708
- vn as OraculoSeccionBonoBienvenida,
5709
- mn as OraculoSeccionCasino,
5710
- cn as OraculoSeccionCasinoEnVivo,
5711
- _n as OraculoSeccionClubOlimpo,
5712
- Ka as OraculoSeccionDestacados,
5713
- On as OraculoSeccionEventoCombinadas,
5714
- zn as OraculoSeccionEventoEnVivo,
5715
- Gn as OraculoSeccionEventoSemana,
5716
- Kn as OraculoSeccionMediosPago,
5717
- Ja as OraculoSeccionTopJuegos,
5718
- hn as OraculoSeccionVirtuales,
5719
- vo as OraculoSectionHost,
5741
+ xa as OraculoLiveCasinoCard,
5742
+ Ze as OraculoLogoMediosPago,
5743
+ yo as OraculoPageLandingPreview,
5744
+ Hn as OraculoSeccionBanners,
5745
+ _n as OraculoSeccionBonoBienvenida,
5746
+ pn as OraculoSeccionCasino,
5747
+ dn as OraculoSeccionCasinoEnVivo,
5748
+ yn as OraculoSeccionClubOlimpo,
5749
+ Za as OraculoSeccionDestacados,
5750
+ En as OraculoSeccionEventoCombinadas,
5751
+ An as OraculoSeccionEventoEnVivo,
5752
+ jn as OraculoSeccionEventoSemana,
5753
+ Zn as OraculoSeccionMediosPago,
5754
+ Ya as OraculoSeccionTopJuegos,
5755
+ bn as OraculoSeccionVirtuales,
5756
+ _o as OraculoSectionHost,
5720
5757
  ge as OraculoSectionTitle,
5721
- wt as OraculoThemeProvider,
5722
- Ja as OraculoTopJuegoItem,
5723
- Ze as OraculoWelcomeBanner,
5724
- _o as default
5758
+ St as OraculoThemeProvider,
5759
+ Ya as OraculoTopJuegoItem,
5760
+ Je as OraculoWelcomeBanner,
5761
+ yo as default
5725
5762
  };
5726
5763
  //# sourceMappingURL=index.es.js.map