oraculo-ui 0.1.103 → 0.1.104

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,11 +1,11 @@
1
1
  import { jsx as e, jsxs as g, Fragment as Q } from "react/jsx-runtime";
2
2
  import { Link as He, Box as Z, IconButton as Ae, Typography as Ke, Stack as ve, useMediaQuery as st, Container as ct } from "@mui/material";
3
- import de, { useState as W, useEffect as K, useRef as U, forwardRef as dt, useImperativeHandle as ut, useCallback as _e, useContext as mt, createContext as pt, useMemo as ne, useLayoutEffect as gt } from "react";
4
- import q from "@mui/material/Skeleton";
3
+ import de, { useState as j, useEffect as K, useRef as U, forwardRef as dt, useImperativeHandle as ut, useCallback as _e, useContext as mt, createContext as pt, useMemo as ne, useLayoutEffect as gt } from "react";
4
+ import V from "@mui/material/Skeleton";
5
5
  import { Splide as ft, SplideSlide as ht } from "@splidejs/react-splide";
6
6
  import L from "@mui/material/Box";
7
7
  import ae from "@mui/material/Typography";
8
- import V from "@mui/material/Stack";
8
+ import D from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as J } from "@olimpo/capture-client";
10
10
  import { ChevronLeftRounded as Ee, ChevronRightRounded as Ie } from "@mui/icons-material";
11
11
  import Ze from "@mui/icons-material/ChevronLeftRounded";
@@ -14,59 +14,59 @@ import bt from "@mui/material/useMediaQuery";
14
14
  import { useTheme as vt, createTheme as _t, ThemeProvider as yt } from "@mui/material/styles";
15
15
  import xt from "@mui/material/CssBaseline";
16
16
  import { onSnapshot as wt, doc as St } from "firebase/firestore";
17
- function G({
17
+ function H({
18
18
  children: t,
19
19
  onClick: a,
20
20
  href: n,
21
- target: i,
22
- rel: r,
23
- type: o = "button",
24
- disabled: d = !1,
21
+ target: r,
22
+ rel: l,
23
+ type: i = "button",
24
+ disabled: c = !1,
25
25
  variant: p = "primary",
26
26
  size: b,
27
- fullWidth: m = !1,
28
- fullHeight: c = !1,
29
- className: u = "",
27
+ fullWidth: u = !1,
28
+ fullHeight: s = !1,
29
+ className: d = "",
30
30
  ariaLabel: _,
31
- leftIcon: x,
32
- rightIcon: I,
31
+ leftIcon: y,
32
+ rightIcon: E,
33
33
  iconOnly: M
34
34
  }) {
35
- const v = !!t && t !== !0, C = (!!x ? 1 : 0) + (!!I ? 1 : 0) == 1, E = M != null ? M : C && !v, B = [
35
+ const v = !!t && t !== !0, S = (!!y ? 1 : 0) + (!!E ? 1 : 0) == 1, O = M != null ? M : S && !v, B = [
36
36
  "orc-btn",
37
37
  p === "secondary" ? "orc-btn--secondary" : p === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  b ? `orc-btn--${b}` : "",
39
- m ? "orc-btn--full" : "",
40
- c ? "orc-btn--fullHeight" : "",
41
- E ? "orc-btn--iconOnly" : "",
42
- u
43
- ].filter(Boolean).join(" "), A = /* @__PURE__ */ g(Q, { children: [
44
- x && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: x }),
45
- !E && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
46
- I && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: I })
47
- ] }), O = d ? !0 : void 0;
39
+ u ? "orc-btn--full" : "",
40
+ s ? "orc-btn--fullHeight" : "",
41
+ O ? "orc-btn--iconOnly" : "",
42
+ d
43
+ ].filter(Boolean).join(" "), R = /* @__PURE__ */ g(Q, { children: [
44
+ y && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: y }),
45
+ !O && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
46
+ E && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: E })
47
+ ] }), I = c ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ e(
49
49
  He,
50
50
  {
51
51
  href: n,
52
- target: i,
53
- rel: r,
52
+ target: r,
53
+ rel: l,
54
54
  "aria-label": _,
55
- "aria-disabled": O,
56
- tabIndex: O ? -1 : void 0,
55
+ "aria-disabled": I,
56
+ tabIndex: I ? -1 : void 0,
57
57
  className: B,
58
- onClick: O ? (R) => R.preventDefault() : a,
59
- children: A
58
+ onClick: I ? (A) => A.preventDefault() : a,
59
+ children: R
60
60
  }
61
61
  ) : /* @__PURE__ */ e(
62
62
  "button",
63
63
  {
64
- type: o,
64
+ type: i,
65
65
  onClick: a,
66
- disabled: !!O,
66
+ disabled: !!I,
67
67
  "aria-label": _,
68
68
  className: B,
69
- children: A
69
+ children: R
70
70
  }
71
71
  );
72
72
  }
@@ -74,14 +74,14 @@ function le({
74
74
  title: t,
75
75
  iconUrl: a,
76
76
  size: n = "md",
77
- className: i = ""
77
+ className: r = ""
78
78
  }) {
79
- const o = [
79
+ const i = [
80
80
  "orc-section-title",
81
81
  n ? `orc-section-title--${n}` : "",
82
- i
82
+ r
83
83
  ].filter(Boolean).join(" ");
84
- return /* @__PURE__ */ g("div", { className: o, children: [
84
+ return /* @__PURE__ */ g("div", { className: i, children: [
85
85
  a && /* @__PURE__ */ e(
86
86
  "img",
87
87
  {
@@ -97,50 +97,50 @@ const Xe = ({
97
97
  total: t,
98
98
  active: a,
99
99
  onSelect: n,
100
- className: i = "",
101
- durationMs: r = 5e3
100
+ className: r = "",
101
+ durationMs: l = 5e3
102
102
  }) => {
103
103
  if (t <= 1) return null;
104
- const o = ["orc-dots", i].filter(Boolean).join(" "), [d, p] = W(0);
104
+ const i = ["orc-dots", r].filter(Boolean).join(" "), [c, p] = j(0);
105
105
  return K(() => {
106
106
  p((b) => b + 1);
107
- }, [a, r]), /* @__PURE__ */ e("div", { className: o, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: t }).map((b, m) => {
108
- const c = m === a;
107
+ }, [a, l]), /* @__PURE__ */ e("div", { className: i, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: t }).map((b, u) => {
108
+ const s = u === a;
109
109
  return /* @__PURE__ */ e("span", { className: "orc-dots__cell", children: /* @__PURE__ */ e(
110
110
  "button",
111
111
  {
112
112
  type: "button",
113
113
  role: "tab",
114
- "aria-selected": c,
115
- "aria-label": `Ir al slide ${m + 1}`,
116
- className: "orc-dots__dot" + (c ? " orc-dots__dot--active" : ""),
117
- style: c ? {
118
- "--dot-progress-ms": `${r}ms`
114
+ "aria-selected": s,
115
+ "aria-label": `Ir al slide ${u + 1}`,
116
+ className: "orc-dots__dot" + (s ? " orc-dots__dot--active" : ""),
117
+ style: s ? {
118
+ "--dot-progress-ms": `${l}ms`
119
119
  } : void 0,
120
120
  onClick: () => {
121
- c && p((u) => u + 1), n == null || n(m);
121
+ s && p((d) => d + 1), n == null || n(u);
122
122
  }
123
123
  },
124
- c ? `a-${m}-${d}` : `i-${m}`
125
- ) }, m);
124
+ s ? `a-${u}-${c}` : `i-${u}`
125
+ ) }, u);
126
126
  }) });
127
127
  };
128
128
  function oe({
129
129
  children: t,
130
130
  minWidth: a = 32,
131
131
  spacing: n = 2,
132
- justify: i = "stretch",
133
- columns: r = null
132
+ justify: r = "stretch",
133
+ columns: l = null
134
134
  }) {
135
- const o = r || `repeat(auto-fit, minmax(${a}px, 1fr))`, d = typeof n == "number" ? `${n * 8}px` : n;
135
+ const i = l || `repeat(auto-fit, minmax(${a}px, 1fr))`, c = typeof n == "number" ? `${n * 8}px` : n;
136
136
  return /* @__PURE__ */ e(
137
137
  "div",
138
138
  {
139
139
  style: {
140
140
  display: "grid",
141
- gridTemplateColumns: o,
142
- justifyItems: i,
143
- gap: d,
141
+ gridTemplateColumns: i,
142
+ justifyItems: r,
143
+ gap: c,
144
144
  height: "inherit"
145
145
  },
146
146
  children: t
@@ -246,7 +246,7 @@ function kt({ live: t, time: a }) {
246
246
  a && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: a })
247
247
  ] });
248
248
  }
249
- function $t({ title: t, subtitle: a, live: n = !1, time: i = "" }) {
249
+ function $t({ title: t, subtitle: a, live: n = !1, time: r = "" }) {
250
250
  return /* @__PURE__ */ g(
251
251
  "div",
252
252
  {
@@ -258,7 +258,7 @@ function $t({ title: t, subtitle: a, live: n = !1, time: i = "" }) {
258
258
  },
259
259
  children: [
260
260
  /* @__PURE__ */ e(It, { title: t, subtitle: a }),
261
- /* @__PURE__ */ e(kt, { live: n, time: i })
261
+ /* @__PURE__ */ e(kt, { live: n, time: r })
262
262
  ]
263
263
  }
264
264
  );
@@ -308,7 +308,7 @@ const Ut = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", qt = "oraculo__
308
308
  highlight: Zt
309
309
  };
310
310
  function Jt({ jersey: t, className: a }) {
311
- const n = `#${t.base}`, i = t.sleeve ? `#${t.sleeve}` : n, r = t.stripes ? `#${t.stripes}` : null, o = t.sleevelong ? `#${t.sleevelong}` : null;
311
+ const n = `#${t.base}`, r = t.sleeve ? `#${t.sleeve}` : n, l = t.stripes ? `#${t.stripes}` : null, i = t.sleevelong ? `#${t.sleevelong}` : null;
312
312
  return /* @__PURE__ */ g("div", { className: `${he.polo} ${a != null ? a : ""}`, children: [
313
313
  /* @__PURE__ */ e("div", { className: he.svgWrapper, children: /* @__PURE__ */ g("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ e(
@@ -318,15 +318,15 @@ function Jt({ jersey: t, 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
- r && /* @__PURE__ */ g(Q, { children: [
322
- /* @__PURE__ */ e("path", { fill: r, 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
- /* @__PURE__ */ e("path", { fill: r, 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" })
321
+ l && /* @__PURE__ */ g(Q, { children: [
322
+ /* @__PURE__ */ e("path", { fill: l, 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
+ /* @__PURE__ */ e("path", { fill: l, 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
  ] }),
325
- o && /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e("path", { fill: o, 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" }) }),
325
+ i && /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e("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" }) }),
326
326
  /* @__PURE__ */ e(
327
327
  "path",
328
328
  {
329
- fill: i,
329
+ fill: r,
330
330
  fillRule: "evenodd",
331
331
  d: "m262.9 19.6-3.7 3.8-3.5 3.3-2.7 2.1c-2 1.6-5 5.7-1 17.1 4 9.8 5.2 12 5.3 11.9 1.4 2.5 4.4 7.9 5.9 9.1l6 7.8 15 14.6 10.5 8.7 12.6 11.3 8.3 6.2 7.6.6 17 .8 9.2-6.6 7-5.6 10.3-9 7-5.7 5.3-5.2 3.6-3.6 3.4-3.4 4.2-5 4-5.3 2.7-4C403.5 53 407 40 406 37.3c0-1.3-.9-4.6-3.9-7.2A129 129 0 0 1 391.2 20c-.8-1.1-4.2-4.3-7.3-6a52 52 0 0 0-15.3-3.9L353.5 9l-10.2-.4-15.4-.4H301.6c-4.6.2-14.6.6-17.2 1.2l-3.4.6c-3.2.5-6.9 1-8.4 2l-1.4.8c-1.5.7-2.8 1.4-5 3.7l-3.3 3.2Zm4.3 14 1.9 5.5 4.6 8.2 5 6.7 5.3 6.6 11 10.7 10.8 9.8 12.8 11.7 7.4 7 3 3 15-13.3 16.7-15.7 6.7-6.2 6-6.6a104.1 104.1 0 0 0 13.8-19.6c1-1.9 1.8-4.5 2-5.6 2.7-7.9 1.4-13.8-1.5-17.8-4-5.2-14.9-6.6-18.5-7.1h-.7c-13.8-1.9-39.8-2-46-1.9-9-.2-28.1.2-32.5.7-.6 0-1.2 0-1.9.2-6.8.6-19.9 1.9-22.6 10.6a22.6 22.6 0 0 0 .9 10.3l.8 2.9Z"
332
332
  }
@@ -334,14 +334,14 @@ function Jt({ jersey: t, className: a }) {
334
334
  /* @__PURE__ */ e(
335
335
  "path",
336
336
  {
337
- fill: i,
337
+ fill: r,
338
338
  d: "m74.8 250.8-6.8-2.7-.3.7-3 8.7-2 5.7c-1 2.2-.5 1.9.1 2.3l2.2 1 8.8 3.3 10.4 3.8 10.7 3.8 14.3 4.8 13 4.3 7 2.3 13.8 4.3c2.2.7 3 1.4 3.8 0l6.3-15.6-4.6-1.8a88 88 0 0 1-9.4-3c-.8-.6-11.8-3.7-17.3-5.4l-7-2.4-13-4.3c-3.2-1.3-9.9-3.8-11-4-1.2-.2-11-3.8-16-5.8Z"
339
339
  }
340
340
  ),
341
341
  /* @__PURE__ */ e(
342
342
  "path",
343
343
  {
344
- fill: i,
344
+ fill: r,
345
345
  d: "m505 284.5-3.5-7.5c.2-.2 1.2-.4 3 0 1.6.4 11.3-1.7 16-2.7l22.5-6.6 13.7-4.5 16.8-6.7a90 90 0 0 0 13.7-7.7v1l.6 2 1.9 5.5 2.9 7.8c.6 1.6-5.5 4.8-8.6 6.3l-17 7.2-15.3 5.4-13 4.2-13 3.3-9.9 2c-6.8 1.2-7.2-.4-8-2l-2.7-7Z"
346
346
  }
347
347
  )
@@ -374,35 +374,35 @@ function Se({ name: t, jersey: a, size: n = "regular" }) {
374
374
  jersey: a,
375
375
  className: `${pe.logo}`
376
376
  }
377
- ) : /* @__PURE__ */ e(q, { variant: "circular", className: `${pe.logo} ${pe.skeleton}` }),
377
+ ) : /* @__PURE__ */ e(V, { variant: "circular", className: `${pe.logo} ${pe.skeleton}` }),
378
378
  /* @__PURE__ */ e("span", { className: pe.name, children: t })
379
379
  ] });
380
380
  }
381
381
  function Xt(t, a, {
382
382
  enabled: n = !0,
383
- threshold: i = 60,
384
- cooldownMs: r = 500
383
+ threshold: r = 60,
384
+ cooldownMs: l = 500
385
385
  } = {}) {
386
- const o = U(0), d = U(0);
386
+ const i = U(0), c = U(0);
387
387
  K(() => {
388
388
  if (!n) return;
389
389
  const p = t.current;
390
390
  if (!p) return;
391
- const b = (m) => {
392
- const c = a.current;
393
- if (!c || !c.go) return;
394
- const { deltaX: u, deltaY: _ } = m;
395
- if (Math.abs(u) <= Math.abs(_)) return;
396
- m.preventDefault(), o.current += u;
397
- const x = Date.now();
398
- if (x - d.current < r || Math.abs(o.current) < i) return;
399
- const I = o.current > 0 ? ">" : "<";
400
- o.current = 0, d.current = x, c.go(I);
391
+ const b = (u) => {
392
+ const s = a.current;
393
+ if (!s || !s.go) return;
394
+ const { deltaX: d, deltaY: _ } = u;
395
+ if (Math.abs(d) <= Math.abs(_)) return;
396
+ u.preventDefault(), i.current += d;
397
+ const y = Date.now();
398
+ if (y - c.current < l || Math.abs(i.current) < r) return;
399
+ const E = i.current > 0 ? ">" : "<";
400
+ i.current = 0, c.current = y, s.go(E);
401
401
  };
402
402
  return p.addEventListener("wheel", b, { passive: !1 }), () => {
403
- p.removeEventListener("wheel", b), o.current = 0;
403
+ p.removeEventListener("wheel", b), i.current = 0;
404
404
  };
405
- }, [n, i, r, t, a]);
405
+ }, [n, r, l, t, a]);
406
406
  }
407
407
  const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "oraculo__OraculoCarousel-module__right___KwpOE", ea = "oraculo__OraculoCarousel-module__left___n3WQu", ta = "oraculo__OraculoCarousel-module__svg___0mGuX", ge = {
408
408
  gradientOverlay: Yt,
@@ -414,49 +414,49 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
414
414
  items: t = [],
415
415
  renderItem: a,
416
416
  perPage: n = 1,
417
- gap: i = "0px",
418
- breakpoints: r,
419
- options: o = {},
420
- className: d = "",
417
+ gap: r = "0px",
418
+ breakpoints: l,
419
+ options: i = {},
420
+ className: c = "",
421
421
  onMove: p,
422
422
  useIndexAsKey: b = !1,
423
- enableHorizontalWheel: m = !0,
424
- showRightGradient: c = !1
425
- }, u) => {
426
- const _ = U(null), x = U(null), I = U(t.length), M = U(null), v = U(null);
427
- Xt(x, _, {
428
- enabled: m
429
- }), ut(u, () => ({
423
+ enableHorizontalWheel: u = !0,
424
+ showRightGradient: s = !1
425
+ }, d) => {
426
+ const _ = U(null), y = U(null), E = U(t.length), M = U(null), v = U(null);
427
+ Xt(y, _, {
428
+ enabled: u
429
+ }), ut(d, () => ({
430
430
  next: () => {
431
- var O;
432
- return (O = _.current) == null ? void 0 : O.go(">");
431
+ var I;
432
+ return (I = _.current) == null ? void 0 : I.go(">");
433
433
  },
434
434
  prev: () => {
435
- var O;
436
- return (O = _.current) == null ? void 0 : O.go("<");
435
+ var I;
436
+ return (I = _.current) == null ? void 0 : I.go("<");
437
437
  },
438
- go: (O) => {
439
- var R;
440
- return (R = _.current) == null ? void 0 : R.go(O);
438
+ go: (I) => {
439
+ var A;
440
+ return (A = _.current) == null ? void 0 : A.go(I);
441
441
  }
442
442
  }));
443
- const T = (O) => {
444
- var h;
445
- const R = O.Components.Slides, z = O.Components.Controller, S = O.root.querySelector(".splide__track"), k = (h = S == null ? void 0 : S.clientWidth) != null ? h : 0, F = z.getIndex(), f = R.getLength();
446
- let l = 0, s = F;
447
- for (let y = F; y < f; y++) {
448
- const $ = R.getAt(y);
449
- if (!$ || (l += $.slide.offsetWidth, l > k)) break;
450
- s = y;
443
+ const N = (I) => {
444
+ var o;
445
+ const A = I.Components.Slides, z = I.Components.Controller, C = I.root.querySelector(".splide__track"), k = (o = C == null ? void 0 : C.clientWidth) != null ? o : 0, P = z.getIndex(), f = A.getLength();
446
+ let w = 0, m = P;
447
+ for (let h = P; h < f; h++) {
448
+ const $ = A.getAt(h);
449
+ if (!$ || (w += $.slide.offsetWidth, w > k)) break;
450
+ m = h;
451
451
  }
452
- return { visibleStart: F, visibleEnd: s };
453
- }, w = (O) => {
454
- const R = O.root.querySelector(".splide__track"), z = O.root.querySelector(".splide__list");
455
- return !R || !z ? !1 : z.scrollWidth > R.clientWidth + 1;
456
- }, C = _e((O) => {
457
- var s, h;
458
- const z = O.Components.Slides.getLength();
459
- if (!w(O)) {
452
+ return { visibleStart: P, visibleEnd: m };
453
+ }, x = (I) => {
454
+ const A = I.root.querySelector(".splide__track"), z = I.root.querySelector(".splide__list");
455
+ return !A || !z ? !1 : z.scrollWidth > A.clientWidth + 1;
456
+ }, S = _e((I) => {
457
+ var m, o;
458
+ const z = I.Components.Slides.getLength();
459
+ if (!x(I)) {
460
460
  p == null || p({
461
461
  index: 0,
462
462
  isStart: !0,
@@ -467,37 +467,37 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
467
467
  });
468
468
  return;
469
469
  }
470
- const { visibleStart: S, visibleEnd: k } = T(O), F = S === 0, f = k === z - 1;
471
- c && ((s = M.current) == null || s.style.setProperty("--gradient-opacity", F ? "0" : "1"), (h = v.current) == null || h.style.setProperty("--gradient-opacity", f ? "0" : "1"));
472
- const l = O.Components.Controller.getIndex();
470
+ const { visibleStart: C, visibleEnd: k } = N(I), P = C === 0, f = k === z - 1;
471
+ s && ((m = M.current) == null || m.style.setProperty("--gradient-opacity", P ? "0" : "1"), (o = v.current) == null || o.style.setProperty("--gradient-opacity", f ? "0" : "1"));
472
+ const w = I.Components.Controller.getIndex();
473
473
  p == null || p({
474
- index: l,
475
- isStart: F,
474
+ index: w,
475
+ isStart: P,
476
476
  isEnd: f,
477
477
  total: z,
478
- visibleStart: S,
478
+ visibleStart: C,
479
479
  visibleEnd: k
480
480
  });
481
481
  }, [p]);
482
482
  de.useEffect(() => {
483
483
  var z;
484
- const O = (z = _.current) == null ? void 0 : z.splide;
485
- if (!O) return;
486
- const R = I.current !== t.length;
487
- I.current = t.length, R && requestAnimationFrame(() => {
488
- O.refresh(), C(O);
484
+ const I = (z = _.current) == null ? void 0 : z.splide;
485
+ if (!I) return;
486
+ const A = E.current !== t.length;
487
+ E.current = t.length, A && requestAnimationFrame(() => {
488
+ I.refresh(), S(I);
489
489
  });
490
- }, [t.length, C]);
491
- const E = _e(() => {
492
- var R;
493
- const O = (R = _.current) == null ? void 0 : R.splide;
494
- O && (O.go(0, !1), C(O));
495
- }, [C]), B = _e(
496
- (O) => {
497
- C(O);
490
+ }, [t.length, S]);
491
+ const O = _e(() => {
492
+ var A;
493
+ const I = (A = _.current) == null ? void 0 : A.splide;
494
+ I && (I.go(0, !1), S(I));
495
+ }, [S]), B = _e(
496
+ (I) => {
497
+ S(I);
498
498
  },
499
- [C]
500
- ), A = {
499
+ [S]
500
+ ), R = {
501
501
  type: "slide",
502
502
  trimSpace: !1,
503
503
  drag: !0,
@@ -507,27 +507,27 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
507
507
  focus: "start",
508
508
  autoWidth: !1,
509
509
  perPage: n,
510
- gap: i,
511
- breakpoints: r,
512
- ...o,
513
- ...m ? { wheel: !1 } : {}
510
+ gap: r,
511
+ breakpoints: l,
512
+ ...i,
513
+ ...u ? { wheel: !1 } : {}
514
514
  };
515
- return /* @__PURE__ */ g("div", { ref: x, className: d, style: { width: "100%", position: "relative" }, children: [
515
+ return /* @__PURE__ */ g("div", { ref: y, className: c, style: { width: "100%", position: "relative" }, children: [
516
516
  /* @__PURE__ */ e(
517
517
  aa,
518
518
  {
519
519
  ref: _,
520
- options: A,
521
- onMove: C,
520
+ options: R,
521
+ onMove: S,
522
522
  onMounted: B,
523
- onResize: E,
524
- children: t.map((O, R) => {
523
+ onResize: O,
524
+ children: t.map((I, A) => {
525
525
  var z;
526
- return /* @__PURE__ */ e(na, { children: a(O, R) }, b ? R : (z = O.id) != null ? z : R);
526
+ return /* @__PURE__ */ e(na, { children: a(I, A) }, b ? A : (z = I.id) != null ? z : A);
527
527
  })
528
528
  }
529
529
  ),
530
- c && /* @__PURE__ */ g(Q, { children: [
530
+ s && /* @__PURE__ */ g(Q, { children: [
531
531
  /* @__PURE__ */ e(
532
532
  "div",
533
533
  {
@@ -585,11 +585,11 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
585
585
  imageUrl: t,
586
586
  onClick: a,
587
587
  size: n = "sm",
588
- fillParent: i = !1
588
+ fillParent: r = !1
589
589
  }) => {
590
- const r = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, o = (p) => {
590
+ const l = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, i = (p) => {
591
591
  p.stopPropagation(), a == null || a();
592
- }, d = i ? { width: "100%", height: "100%" } : { width: `${r.w}px`, height: `${r.h}px` };
592
+ }, c = r ? { width: "100%", height: "100%" } : { width: `${l.w}px`, height: `${l.h}px` };
593
593
  return /* @__PURE__ */ g(
594
594
  L,
595
595
  {
@@ -601,7 +601,7 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
601
601
  overflow: "hidden",
602
602
  boxSizing: "border-box",
603
603
  transition: "transform .15s ease, box-shadow .15s ease",
604
- ...d,
604
+ ...c,
605
605
  "&:hover": {
606
606
  transform: "translateY(-2px)",
607
607
  boxShadow: 8,
@@ -661,7 +661,7 @@ const Yt = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Qt = "ora
661
661
  transition: "opacity .15s ease, transform .15s ease",
662
662
  pointerEvents: "none"
663
663
  },
664
- children: /* @__PURE__ */ e(G, { variant: "primary", size: "md", onClick: o, children: "Jugar" })
664
+ children: /* @__PURE__ */ e(H, { variant: "primary", size: "md", onClick: i, children: "Jugar" })
665
665
  }
666
666
  )
667
667
  ]
@@ -672,22 +672,22 @@ function oa({
672
672
  imageUrl: t,
673
673
  orden: a = 1,
674
674
  onClick: n,
675
- loading: i = !1,
676
- sizes: r = {
675
+ loading: r = !1,
676
+ sizes: l = {
677
677
  xs: { w: 104, h: 112, r: 18, font: 48 },
678
678
  md: { w: 186, h: 264, r: 22.6, font: 64 }
679
679
  }
680
680
  }) {
681
- var u, _, x, I;
682
- const o = (M, v) => {
683
- var T, w, C, E;
681
+ var d, _, y, E;
682
+ const i = (M, v) => {
683
+ var N, x, S, O;
684
684
  return {
685
- xs: (w = (T = r.xs) == null ? void 0 : T[M]) != null ? w : v,
686
- md: (E = (C = r.md) == null ? void 0 : C[M]) != null ? E : v
685
+ xs: (x = (N = l.xs) == null ? void 0 : N[M]) != null ? x : v,
686
+ md: (O = (S = l.md) == null ? void 0 : S[M]) != null ? O : v
687
687
  };
688
- }, d = o("w", 186), p = o("h", 264), b = o("r", 22.6), m = o("font", 64), c = {
689
- xs: Math.round(((_ = (u = r.xs) == null ? void 0 : u.font) != null ? _ : 64) * 0.28),
690
- md: Math.round(((I = (x = r.md) == null ? void 0 : x.font) != null ? I : 64) * 0.28)
688
+ }, c = i("w", 186), p = i("h", 264), b = i("r", 22.6), u = i("font", 64), s = {
689
+ xs: Math.round(((_ = (d = l.xs) == null ? void 0 : d.font) != null ? _ : 64) * 0.28),
690
+ md: Math.round(((E = (y = l.md) == null ? void 0 : y.font) != null ? E : 64) * 0.28)
691
691
  };
692
692
  return /* @__PURE__ */ g(
693
693
  L,
@@ -695,15 +695,15 @@ function oa({
695
695
  sx: {
696
696
  position: "relative",
697
697
  width: "100%",
698
- maxWidth: { xs: `${d.xs}px`, md: `${d.md}px` },
698
+ maxWidth: { xs: `${c.xs}px`, md: `${c.md}px` },
699
699
  aspectRatio: {
700
- xs: `${d.xs}/${p.xs}`,
701
- md: `${d.md}/${p.md}`
700
+ xs: `${c.xs}/${p.xs}`,
701
+ md: `${c.md}/${p.md}`
702
702
  },
703
703
  borderRadius: { xs: `${b.xs}px`, md: `${b.md}px` },
704
704
  boxSizing: "border-box",
705
705
  overflow: "visible",
706
- pb: { xs: `${c.xs}px`, md: `${c.md}px` },
706
+ pb: { xs: `${s.xs}px`, md: `${s.md}px` },
707
707
  "&::before": {
708
708
  content: '""',
709
709
  position: "absolute",
@@ -725,8 +725,8 @@ function oa({
725
725
  borderRadius: "inherit",
726
726
  overflow: "hidden"
727
727
  },
728
- children: i ? /* @__PURE__ */ e(
729
- q,
728
+ children: r ? /* @__PURE__ */ e(
729
+ V,
730
730
  {
731
731
  variant: "rectangular",
732
732
  width: "100%",
@@ -758,13 +758,13 @@ function oa({
758
758
  position: "absolute",
759
759
  left: 8,
760
760
  bottom: {
761
- xs: `-${c.xs}px`,
762
- md: `-${c.md}px`
761
+ xs: `-${s.xs}px`,
762
+ md: `-${s.md}px`
763
763
  },
764
764
  fontFamily: '"secondary", sans-serif',
765
765
  fontSize: {
766
- xs: `${m.xs}px`,
767
- md: `${m.md}px`
766
+ xs: `${u.xs}px`,
767
+ md: `${u.md}px`
768
768
  },
769
769
  lineHeight: 1,
770
770
  color: "#3CC666",
@@ -783,14 +783,14 @@ const ia = ({
783
783
  logo: t,
784
784
  provider: a,
785
785
  providerName: n,
786
- machine: i,
787
- onClick: r
786
+ machine: r,
787
+ onClick: l
788
788
  }) => {
789
- var o;
789
+ var i;
790
790
  return /* @__PURE__ */ g(
791
791
  L,
792
792
  {
793
- onClick: r,
793
+ onClick: l,
794
794
  sx: {
795
795
  flex: "0 0 auto",
796
796
  position: "relative",
@@ -816,7 +816,7 @@ const ia = ({
816
816
  {
817
817
  component: "img",
818
818
  src: t,
819
- alt: `Juego ${i != null ? i : ""}`,
819
+ alt: `Juego ${r != null ? r : ""}`,
820
820
  sx: {
821
821
  position: "absolute",
822
822
  inset: 0,
@@ -850,7 +850,7 @@ const ia = ({
850
850
  fontSize: { xs: 11, md: 14 },
851
851
  textTransform: "capitalize"
852
852
  },
853
- children: (o = a != null ? a : n) != null ? o : ""
853
+ children: (i = a != null ? a : n) != null ? i : ""
854
854
  }
855
855
  )
856
856
  }
@@ -859,7 +859,7 @@ const ia = ({
859
859
  }
860
860
  );
861
861
  }, ke = 12, $e = ({ r: t = 16 }) => /* @__PURE__ */ e(L, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
862
- q,
862
+ V,
863
863
  {
864
864
  variant: "rectangular",
865
865
  width: "100%",
@@ -877,10 +877,10 @@ const ia = ({
877
877
  items: t,
878
878
  layout: a = "grid",
879
879
  onClick: n,
880
- loading: i = !1,
881
- gridSkeletonCount: r = 4
880
+ loading: r = !1,
881
+ gridSkeletonCount: l = 4
882
882
  }) => {
883
- var o, d;
883
+ var i, c;
884
884
  if (a === "mosaic") {
885
885
  const p = t[0], b = t.slice(1, 5);
886
886
  return /* @__PURE__ */ g(
@@ -917,10 +917,10 @@ const ia = ({
917
917
  overflow: "hidden",
918
918
  borderRadius: 2
919
919
  },
920
- children: i ? /* @__PURE__ */ e($e, {}) : p && /* @__PURE__ */ e(
920
+ children: r ? /* @__PURE__ */ e($e, {}) : p && /* @__PURE__ */ e(
921
921
  ye,
922
922
  {
923
- imageUrl: `https://olimpo.bet${(d = (o = p.background) != null ? o : p.imageUrl) != null ? d : ""}`,
923
+ imageUrl: `https://olimpo.bet${(c = (i = p.background) != null ? i : p.imageUrl) != null ? c : ""}`,
924
924
  size: "lg",
925
925
  fillParent: !0,
926
926
  onClick: () => n == null ? void 0 : n(p, 0)
@@ -928,8 +928,8 @@ const ia = ({
928
928
  )
929
929
  }
930
930
  ),
931
- (i ? Array.from({ length: 4 }) : b).map((m, c) => {
932
- var u, _;
931
+ (r ? Array.from({ length: 4 }) : b).map((u, s) => {
932
+ var d, _;
933
933
  return /* @__PURE__ */ e(
934
934
  L,
935
935
  {
@@ -939,17 +939,17 @@ const ia = ({
939
939
  overflow: "hidden",
940
940
  borderRadius: 2
941
941
  },
942
- children: i ? /* @__PURE__ */ e($e, {}) : /* @__PURE__ */ e(
942
+ children: r ? /* @__PURE__ */ e($e, {}) : /* @__PURE__ */ e(
943
943
  ye,
944
944
  {
945
- imageUrl: `https://olimpo.bet${(_ = (u = m.background) != null ? u : m.imageUrl) != null ? _ : ""}`,
945
+ imageUrl: `https://olimpo.bet${(_ = (d = u.background) != null ? d : u.imageUrl) != null ? _ : ""}`,
946
946
  size: "sm",
947
947
  fillParent: !0,
948
- onClick: () => n == null ? void 0 : n(m, c + 1)
948
+ onClick: () => n == null ? void 0 : n(u, s + 1)
949
949
  }
950
950
  )
951
951
  },
952
- i ? `sk-${c}` : m.id
952
+ r ? `sk-${s}` : u.id
953
953
  );
954
954
  })
955
955
  ]
@@ -972,23 +972,23 @@ const ia = ({
972
972
  gap: `${ke}px`,
973
973
  gridAutoFlow: "column"
974
974
  },
975
- children: (i ? Array.from({ length: r }) : t).map((p, b) => {
976
- var m, c, u;
975
+ children: (r ? Array.from({ length: l }) : t).map((p, b) => {
976
+ var u, s, d;
977
977
  return /* @__PURE__ */ e(
978
978
  L,
979
979
  {
980
980
  sx: { overflow: "hidden", borderRadius: 2 },
981
- children: i ? /* @__PURE__ */ e($e, {}) : /* @__PURE__ */ e(
981
+ children: r ? /* @__PURE__ */ e($e, {}) : /* @__PURE__ */ e(
982
982
  ye,
983
983
  {
984
- imageUrl: `https://olimpo.bet${(c = (m = p.background) != null ? m : p.imageUrl) != null ? c : ""}`,
984
+ imageUrl: `https://olimpo.bet${(s = (u = p.background) != null ? u : p.imageUrl) != null ? s : ""}`,
985
985
  size: "sm",
986
986
  fillParent: !0,
987
987
  onClick: () => n == null ? void 0 : n(p, b)
988
988
  }
989
989
  )
990
990
  },
991
- i ? `sk-${b}` : (u = p.id) != null ? u : b
991
+ r ? `sk-${b}` : (d = p.id) != null ? d : b
992
992
  );
993
993
  })
994
994
  }
@@ -997,14 +997,14 @@ const ia = ({
997
997
  title: t,
998
998
  amount: a,
999
999
  subtitle: n,
1000
- buttonText: i,
1001
- onButtonClick: r,
1002
- backgroundImage: o,
1003
- alt: d,
1000
+ buttonText: r,
1001
+ onButtonClick: l,
1002
+ backgroundImage: i,
1003
+ alt: c,
1004
1004
  className: p = "",
1005
1005
  variant: b = "small"
1006
1006
  }) => {
1007
- const m = a ? a.slice(0, 2) : "", c = a ? a.slice(2) : "", u = b === "large";
1007
+ const u = a ? a.slice(0, 2) : "", s = a ? a.slice(2) : "", d = b === "large";
1008
1008
  return /* @__PURE__ */ g(
1009
1009
  L,
1010
1010
  {
@@ -1014,12 +1014,12 @@ const ia = ({
1014
1014
  width: "100%",
1015
1015
  maxWidth: {
1016
1016
  xs: 328,
1017
- md: u ? 618 : 456
1017
+ md: d ? 618 : 456
1018
1018
  },
1019
1019
  mx: "auto"
1020
1020
  },
1021
1021
  children: [
1022
- o && /* @__PURE__ */ e(
1022
+ i && /* @__PURE__ */ e(
1023
1023
  L,
1024
1024
  {
1025
1025
  sx: {
@@ -1027,7 +1027,7 @@ const ia = ({
1027
1027
  width: "100%",
1028
1028
  aspectRatio: {
1029
1029
  xs: "328 / 188",
1030
- md: u ? "618 / 346" : "456 / 272"
1030
+ md: d ? "618 / 346" : "456 / 272"
1031
1031
  },
1032
1032
  borderRadius: "14px",
1033
1033
  overflow: "hidden"
@@ -1036,8 +1036,8 @@ const ia = ({
1036
1036
  L,
1037
1037
  {
1038
1038
  component: "img",
1039
- src: o,
1040
- alt: d != null ? d : "Fondo promocional",
1039
+ src: i,
1040
+ alt: c != null ? c : "Fondo promocional",
1041
1041
  sx: {
1042
1042
  width: "100%",
1043
1043
  height: "100%",
@@ -1110,7 +1110,7 @@ const ia = ({
1110
1110
  {
1111
1111
  component: "span",
1112
1112
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
1113
- children: m
1113
+ children: u
1114
1114
  }
1115
1115
  ),
1116
1116
  /* @__PURE__ */ e(
@@ -1118,7 +1118,7 @@ const ia = ({
1118
1118
  {
1119
1119
  component: "span",
1120
1120
  sx: { fontSize: { xs: 52, md: 77 } },
1121
- children: c
1121
+ children: s
1122
1122
  }
1123
1123
  )
1124
1124
  ]
@@ -1136,7 +1136,7 @@ const ia = ({
1136
1136
  children: n
1137
1137
  }
1138
1138
  ),
1139
- i && /* @__PURE__ */ e(G, { onClick: r, children: i })
1139
+ r && /* @__PURE__ */ e(H, { onClick: l, children: r })
1140
1140
  ]
1141
1141
  }
1142
1142
  )
@@ -1149,44 +1149,44 @@ const ia = ({
1149
1149
  text: t,
1150
1150
  buttonLabel: a = "Conoce más",
1151
1151
  onClick: n,
1152
- imgAlt: i = "Club Olimpo",
1153
- imgSrcMobile: r,
1154
- imgSrcDesktopBg: o,
1155
- imgSrcDesktopLogo: d
1152
+ imgAlt: r = "Club Olimpo",
1153
+ imgSrcMobile: l,
1154
+ imgSrcDesktopBg: i,
1155
+ imgSrcDesktopLogo: c
1156
1156
  }) => /* @__PURE__ */ g(Q, { children: [
1157
1157
  /* @__PURE__ */ e("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ e(
1158
1158
  "img",
1159
1159
  {
1160
- src: r,
1161
- alt: i,
1160
+ src: l,
1161
+ alt: r,
1162
1162
  className: "orc-co-bgMobileImg"
1163
1163
  }
1164
1164
  ) }),
1165
1165
  /* @__PURE__ */ g("div", { className: "orc-co-bgDesktop", children: [
1166
- o && /* @__PURE__ */ e("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ e(
1166
+ i && /* @__PURE__ */ e("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ e(
1167
1167
  "img",
1168
1168
  {
1169
- src: o,
1170
- alt: `${i} fondo`,
1169
+ src: i,
1170
+ alt: `${r} fondo`,
1171
1171
  className: "orc-co-bgDesktopImg"
1172
1172
  }
1173
1173
  ) }),
1174
1174
  /* @__PURE__ */ g("div", { className: "orc-co-desktopContent", children: [
1175
- d && /* @__PURE__ */ e(
1175
+ c && /* @__PURE__ */ e(
1176
1176
  "img",
1177
1177
  {
1178
- src: d,
1179
- alt: `${i} logo`,
1178
+ src: c,
1179
+ alt: `${r} logo`,
1180
1180
  className: "orc-co-logoImg"
1181
1181
  }
1182
1182
  ),
1183
1183
  /* @__PURE__ */ e("p", { className: "orc-co-captionDesktop", children: t }),
1184
- /* @__PURE__ */ e(G, { onClick: n, variant: "primary", size: "md", children: a })
1184
+ /* @__PURE__ */ e(H, { onClick: n, variant: "primary", size: "md", children: a })
1185
1185
  ] })
1186
1186
  ] }),
1187
1187
  /* @__PURE__ */ g("div", { className: "orc-co-bottom", children: [
1188
1188
  /* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
1189
- /* @__PURE__ */ e(G, { onClick: n, variant: "primary", size: "md", children: a })
1189
+ /* @__PURE__ */ e(H, { onClick: n, variant: "primary", size: "md", children: a })
1190
1190
  ] })
1191
1191
  ] }), la = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", sa = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", ca = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", da = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", ua = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ma = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", pa = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", ga = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", fa = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ee = {
1192
1192
  card: la,
@@ -1224,10 +1224,10 @@ async function at(t) {
1224
1224
  })).json();
1225
1225
  }
1226
1226
  function nt(t, a = 250) {
1227
- const [n, i] = W(t);
1227
+ const [n, r] = j(t);
1228
1228
  return K(() => {
1229
- const r = setTimeout(() => i(t), a);
1230
- return () => clearTimeout(r);
1229
+ const l = setTimeout(() => r(t), a);
1230
+ return () => clearTimeout(l);
1231
1231
  }, [t, a]), n;
1232
1232
  }
1233
1233
  const ot = pt(void 0), Me = ({ children: t, docId: a }) => {
@@ -1242,69 +1242,69 @@ const ot = pt(void 0), Me = ({ children: t, docId: a }) => {
1242
1242
  function _a({ coupon: t }) {
1243
1243
  var b;
1244
1244
  const a = J(), n = X();
1245
- function i(m) {
1246
- var _, x;
1247
- const c = [], u = Array.from(
1245
+ function r(u) {
1246
+ var _, y;
1247
+ const s = [], d = Array.from(
1248
1248
  new Map(
1249
- ((_ = m == null ? void 0 : m.events) != null ? _ : []).filter(Boolean).map((I) => [I.id, I])
1249
+ ((_ = u == null ? void 0 : u.events) != null ? _ : []).filter(Boolean).map((E) => [E.id, E])
1250
1250
  ).values()
1251
1251
  );
1252
- return u.forEach((I) => {
1253
- var w;
1254
- const M = (w = I.betoffers) != null ? w : [], v = I.homeName, T = I.awayName;
1255
- M.forEach((C) => {
1256
- var O, R, z, S, k, F, f;
1257
- if (!((O = C == null ? void 0 : C.outcomes) != null && O.length)) return;
1258
- const E = C.outcomes[0];
1259
- if (!E) return;
1252
+ return d.forEach((E) => {
1253
+ var x;
1254
+ const M = (x = E.betoffers) != null ? x : [], v = E.homeName, N = E.awayName;
1255
+ M.forEach((S) => {
1256
+ var I, A, z, C, k, P, f;
1257
+ if (!((I = S == null ? void 0 : S.outcomes) != null && I.length)) return;
1258
+ const O = S.outcomes[0];
1259
+ if (!O) return;
1260
1260
  let B = "";
1261
- const A = E != null && E.line ? E.line / 1e3 : "";
1262
- ["Más de", "Mas de", "Over"].includes(E.label) ? (B = `Más de ${A}`, E.participant && (B = `${E.participant} - ${B}`)) : ["Menos de", "Menos", "Under"].includes(E.label) ? (B = `Menos de ${A}`, E.participant && (B = `${E.participant} - ${B}`)) : ["Sí", "No"].includes(E.label) ? (B = E.label, E.participant && (B = `${E.participant} - ${B}`)) : ["1X", "12", "X2"].includes(E.label) ? (E.label === "1X" && (B = `${v} o Empate`), E.label === "12" && (B = `${v} o ${T}`), E.label === "X2" && (B = `${T} o Empate`)) : (B = (z = (R = E.participant) != null ? R : E.label) != null ? z : "", A !== "" && B === E.label && (B = `${E.label} ${A}`)), c.push({
1263
- id: E.id,
1261
+ const R = O != null && O.line ? O.line / 1e3 : "";
1262
+ ["Más de", "Mas de", "Over"].includes(O.label) ? (B = `Más de ${R}`, O.participant && (B = `${O.participant} - ${B}`)) : ["Menos de", "Menos", "Under"].includes(O.label) ? (B = `Menos de ${R}`, O.participant && (B = `${O.participant} - ${B}`)) : ["Sí", "No"].includes(O.label) ? (B = O.label, O.participant && (B = `${O.participant} - ${B}`)) : ["1X", "12", "X2"].includes(O.label) ? (O.label === "1X" && (B = `${v} o Empate`), O.label === "12" && (B = `${v} o ${N}`), O.label === "X2" && (B = `${N} o Empate`)) : (B = (z = (A = O.participant) != null ? A : O.label) != null ? z : "", R !== "" && B === O.label && (B = `${O.label} ${R}`)), s.push({
1263
+ id: O.id,
1264
1264
  value: B,
1265
- label: (k = (S = C.criterion) == null ? void 0 : S.label) != null ? k : "",
1266
- odds: (F = E.odds) != null ? F : 0,
1267
- position: (f = E.position) != null ? f : 0,
1268
- eventId: I.id
1265
+ label: (k = (C = S.criterion) == null ? void 0 : C.label) != null ? k : "",
1266
+ odds: (P = O.odds) != null ? P : 0,
1267
+ position: (f = O.position) != null ? f : 0,
1268
+ eventId: E.id
1269
1269
  });
1270
1270
  });
1271
1271
  }), {
1272
- outcomes: c.sort((I, M) => I.position - M.position),
1273
- total: (((x = m == null ? void 0 : m.combinadoTotal) != null ? x : 0) / 1e3).toFixed(2),
1274
- events: u
1272
+ outcomes: s.sort((E, M) => E.position - M.position),
1273
+ total: (((y = u == null ? void 0 : u.combinadoTotal) != null ? y : 0) / 1e3).toFixed(2),
1274
+ events: d
1275
1275
  };
1276
1276
  }
1277
- const r = (m, c) => {
1278
- const u = Array.isArray(m) ? m : [m], _ = Array.from(
1277
+ const l = (u, s) => {
1278
+ const d = Array.isArray(u) ? u : [u], _ = Array.from(
1279
1279
  new Set(
1280
- o.outcomes.map((M) => {
1281
- var T;
1280
+ i.outcomes.map((M) => {
1281
+ var N;
1282
1282
  const v = p.get(Number(M.eventId));
1283
- return (T = v == null ? void 0 : v.name) != null ? T : "";
1283
+ return (N = v == null ? void 0 : v.name) != null ? N : "";
1284
1284
  })
1285
1285
  )
1286
- ).filter(Boolean), x = _.length > 0 ? _.join(" + ") : JSON.stringify(u), I = c ? `${x} - Cuota: ${c}` : x;
1286
+ ).filter(Boolean), y = _.length > 0 ? _.join(" + ") : JSON.stringify(d), E = s ? `${y} - Cuota: ${s}` : y;
1287
1287
  a({
1288
1288
  element: "evento_semana_outcome",
1289
- label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${I}`,
1289
+ label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${E}`,
1290
1290
  target: "/deportes#in-play",
1291
1291
  event_type: "click",
1292
1292
  module_id: 301,
1293
1293
  metadata: {
1294
1294
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1295
1295
  },
1296
- tags: { section: "OraculoEventCombinadasCard", outcomes: I }
1297
- }), Le(m);
1296
+ tags: { section: "OraculoEventCombinadasCard", outcomes: E }
1297
+ }), Le(u);
1298
1298
  };
1299
1299
  if (!((b = t == null ? void 0 : t.events) != null && b.length)) return null;
1300
- const o = i(t), d = o.outcomes.reduce((m, c) => (m[c.eventId] || (m[c.eventId] = []), m[c.eventId].push(c), m), {}), p = new Map(
1301
- o.events.map((m) => [m.id, m])
1300
+ const i = r(t), c = i.outcomes.reduce((u, s) => (u[s.eventId] || (u[s.eventId] = []), u[s.eventId].push(s), u), {}), p = new Map(
1301
+ i.events.map((u) => [u.id, u])
1302
1302
  );
1303
1303
  return /* @__PURE__ */ g("div", { className: ee.card, children: [
1304
- /* @__PURE__ */ e("div", { className: ee.combinadas, children: /* @__PURE__ */ e("div", { className: ee.combinadasScroll, children: /* @__PURE__ */ e(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(d).reverse().map(([m, c]) => {
1305
- const u = p.get(Number(m));
1306
- return u ? /* @__PURE__ */ g(
1307
- V,
1304
+ /* @__PURE__ */ e("div", { className: ee.combinadas, children: /* @__PURE__ */ e("div", { className: ee.combinadasScroll, children: /* @__PURE__ */ e(D, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(c).reverse().map(([u, s]) => {
1305
+ const d = p.get(Number(u));
1306
+ return d ? /* @__PURE__ */ g(
1307
+ D,
1308
1308
  {
1309
1309
  direction: "column",
1310
1310
  spacing: 0.5,
@@ -1313,7 +1313,7 @@ function _a({ coupon: t }) {
1313
1313
  /* @__PURE__ */ e(
1314
1314
  le,
1315
1315
  {
1316
- title: u.name,
1316
+ title: d.name,
1317
1317
  iconUrl: "/assets/img/home/Combinadas/pelota.png",
1318
1318
  size: "xs"
1319
1319
  }
@@ -1325,34 +1325,34 @@ function _a({ coupon: t }) {
1325
1325
  src: "/assets/img/home/Combinadas/line.png"
1326
1326
  }
1327
1327
  ),
1328
- c.map((_, x) => /* @__PURE__ */ g("div", { className: ee.apuestaItem, children: [
1328
+ s.map((_, y) => /* @__PURE__ */ g("div", { className: ee.apuestaItem, children: [
1329
1329
  /* @__PURE__ */ g("div", { className: ee.lineContainer, children: [
1330
1330
  /* @__PURE__ */ e("div", { className: ee.circle }),
1331
- x < c.length - 1 && /* @__PURE__ */ e("div", { className: ee.line })
1331
+ y < s.length - 1 && /* @__PURE__ */ e("div", { className: ee.line })
1332
1332
  ] }),
1333
1333
  /* @__PURE__ */ g("div", { className: ee.apuestaText, children: [
1334
1334
  /* @__PURE__ */ e("strong", { children: _.value }),
1335
1335
  " | ",
1336
1336
  _.label
1337
1337
  ] })
1338
- ] }, `${m}-${x}`))
1338
+ ] }, `${u}-${y}`))
1339
1339
  ]
1340
1340
  },
1341
- m
1341
+ u
1342
1342
  ) : null;
1343
1343
  }) }) }) }),
1344
1344
  /* @__PURE__ */ g(
1345
1345
  "button",
1346
1346
  {
1347
- onClick: () => r(
1348
- o.outcomes.map((m) => m.id),
1349
- o.total
1347
+ onClick: () => l(
1348
+ i.outcomes.map((u) => u.id),
1349
+ i.total
1350
1350
  ),
1351
1351
  className: ee.cuotaTotal,
1352
1352
  children: [
1353
1353
  /* @__PURE__ */ g("span", { children: [
1354
1354
  "Cuota total: ",
1355
- /* @__PURE__ */ e("strong", { children: o.total })
1355
+ /* @__PURE__ */ e("strong", { children: i.total })
1356
1356
  ] }),
1357
1357
  /* @__PURE__ */ e(
1358
1358
  "img",
@@ -1385,58 +1385,58 @@ function ya({
1385
1385
  children: t,
1386
1386
  onClick: a,
1387
1387
  href: n,
1388
- target: i,
1389
- rel: r,
1390
- type: o = "button",
1391
- disabled: d = !1,
1388
+ target: r,
1389
+ rel: l,
1390
+ type: i = "button",
1391
+ disabled: c = !1,
1392
1392
  variant: p = "primary",
1393
1393
  size: b,
1394
- fullWidth: m = !1,
1395
- fullHeight: c = !1,
1396
- className: u = "",
1394
+ fullWidth: u = !1,
1395
+ fullHeight: s = !1,
1396
+ className: d = "",
1397
1397
  ariaLabel: _,
1398
- leftIcon: x,
1399
- rightIcon: I,
1398
+ leftIcon: y,
1399
+ rightIcon: E,
1400
1400
  iconOnly: M
1401
1401
  }) {
1402
- const v = !!t && t !== !0, C = (!!x ? 1 : 0) + (!!I ? 1 : 0) == 1, E = M != null ? M : C && !v, B = [
1402
+ const v = !!t && t !== !0, S = (!!y ? 1 : 0) + (!!E ? 1 : 0) == 1, O = M != null ? M : S && !v, B = [
1403
1403
  te["orc-btn"],
1404
1404
  // base
1405
1405
  te[`orc-btn--${p}`],
1406
1406
  // variant primary/secondary/tertiary
1407
1407
  b ? te[`orc-btn--${b}`] : "",
1408
1408
  // sm / md / lg
1409
- m ? te["orc-btn--full"] : "",
1410
- c ? te["orc-btn--fullHeight"] : "",
1411
- E ? te["orc-btn--iconOnly"] : "",
1412
- u
1413
- ].filter(Boolean).join(" "), A = /* @__PURE__ */ g(Q, { children: [
1414
- x && /* @__PURE__ */ e("span", { className: te["orc-btn__icon"], children: x }),
1415
- !E && /* @__PURE__ */ e("span", { className: te["orc-btn__label"], children: t }),
1416
- I && /* @__PURE__ */ e("span", { className: te["orc-btn__icon"], children: I })
1417
- ] }), O = d ? !0 : void 0;
1409
+ u ? te["orc-btn--full"] : "",
1410
+ s ? te["orc-btn--fullHeight"] : "",
1411
+ O ? te["orc-btn--iconOnly"] : "",
1412
+ d
1413
+ ].filter(Boolean).join(" "), R = /* @__PURE__ */ g(Q, { children: [
1414
+ y && /* @__PURE__ */ e("span", { className: te["orc-btn__icon"], children: y }),
1415
+ !O && /* @__PURE__ */ e("span", { className: te["orc-btn__label"], children: t }),
1416
+ E && /* @__PURE__ */ e("span", { className: te["orc-btn__icon"], children: E })
1417
+ ] }), I = c ? !0 : void 0;
1418
1418
  return n ? /* @__PURE__ */ e(
1419
1419
  He,
1420
1420
  {
1421
1421
  href: n,
1422
- target: i,
1423
- rel: r,
1422
+ target: r,
1423
+ rel: l,
1424
1424
  "aria-label": _,
1425
- "aria-disabled": O,
1426
- tabIndex: O ? -1 : void 0,
1425
+ "aria-disabled": I,
1426
+ tabIndex: I ? -1 : void 0,
1427
1427
  className: B,
1428
- onClick: O ? (R) => R.preventDefault() : a,
1429
- children: A
1428
+ onClick: I ? (A) => A.preventDefault() : a,
1429
+ children: R
1430
1430
  }
1431
1431
  ) : /* @__PURE__ */ e(
1432
1432
  "button",
1433
1433
  {
1434
- type: o,
1434
+ type: i,
1435
1435
  onClick: a,
1436
- disabled: !!O,
1436
+ disabled: !!I,
1437
1437
  "aria-label": _,
1438
1438
  className: B,
1439
- children: A
1439
+ children: R
1440
1440
  }
1441
1441
  );
1442
1442
  }
@@ -1457,22 +1457,22 @@ const xa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", wa = "
1457
1457
  real: !1,
1458
1458
  type: "short_sleeves"
1459
1459
  }, Ce = (t, a, n = "player") => {
1460
- var r, o;
1460
+ var l, i;
1461
1461
  if (t === void 0)
1462
1462
  return null;
1463
1463
  if (t === null)
1464
1464
  return a === "home" ? Pe : ze;
1465
- const i = (o = (r = t == null ? void 0 : t.jerseys) == null ? void 0 : r[a]) == null ? void 0 : o[n];
1466
- return i || (a === "home" ? Pe : ze);
1465
+ const r = (i = (l = t == null ? void 0 : t.jerseys) == null ? void 0 : l[a]) == null ? void 0 : i[n];
1466
+ return r || (a === "home" ? Pe : ze);
1467
1467
  };
1468
- function Ca({ event: t, liveData: a, betOffers: n, jersey: i }) {
1469
- var p, b, m, c, u, _, x, I, M, v, T;
1470
- const r = n == null ? void 0 : n.find(
1471
- (w) => {
1472
- var C;
1473
- return ((C = w.betOfferType) == null ? void 0 : C.id) === 2;
1468
+ function Ca({ event: t, liveData: a, betOffers: n, jersey: r }) {
1469
+ var p, b, u, s, d, _, y, E, M, v, N;
1470
+ const l = n == null ? void 0 : n.find(
1471
+ (x) => {
1472
+ var S;
1473
+ return ((S = x.betOfferType) == null ? void 0 : S.id) === 2;
1474
1474
  }
1475
- ), o = {
1475
+ ), i = {
1476
1476
  englishLabel: "",
1477
1477
  type: "",
1478
1478
  betOfferId: 0,
@@ -1481,33 +1481,33 @@ function Ca({ event: t, liveData: a, betOffers: n, jersey: i }) {
1481
1481
  oddsAmerican: "",
1482
1482
  status: "INACTIVE",
1483
1483
  cashOutStatus: "SUSPENDED"
1484
- }, d = [
1485
- { ...o, id: -1, label: "1", odds: void 0 },
1486
- { ...o, id: -2, label: "X", odds: void 0 },
1487
- { ...o, id: -3, label: "2", odds: void 0 }
1484
+ }, c = [
1485
+ { ...i, id: -1, label: "1", odds: void 0 },
1486
+ { ...i, id: -2, label: "X", odds: void 0 },
1487
+ { ...i, id: -3, label: "2", odds: void 0 }
1488
1488
  ];
1489
- return /* @__PURE__ */ e("div", { className: xe.cardWrapper, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1490
- /* @__PURE__ */ g(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1489
+ return /* @__PURE__ */ e("div", { className: xe.cardWrapper, children: /* @__PURE__ */ g(D, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1490
+ /* @__PURE__ */ g(D, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1491
1491
  /* @__PURE__ */ e(
1492
1492
  $t,
1493
1493
  {
1494
- title: (m = (b = (p = t == null ? void 0 : t.path) == null ? void 0 : p[0]) == null ? void 0 : b.name) != null ? m : "",
1495
- subtitle: (c = t == null ? void 0 : t.group) != null ? c : "",
1494
+ title: (u = (b = (p = t == null ? void 0 : t.path) == null ? void 0 : p[0]) == null ? void 0 : b.name) != null ? u : "",
1495
+ subtitle: (s = t == null ? void 0 : t.group) != null ? s : "",
1496
1496
  live: !0,
1497
- time: ((u = a == null ? void 0 : a.matchClock) == null ? void 0 : u.minute) != null ? `${a.matchClock.minute}'` : ""
1497
+ time: ((d = a == null ? void 0 : a.matchClock) == null ? void 0 : d.minute) != null ? `${a.matchClock.minute}'` : ""
1498
1498
  }
1499
1499
  ),
1500
1500
  /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ g(oe, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1501
- /* @__PURE__ */ e(Se, { name: t == null ? void 0 : t.homeName, jersey: Ce(i, "home") }),
1502
- /* @__PURE__ */ e(et, { text: ((x = (_ = a == null ? void 0 : a.score) == null ? void 0 : _.home) != null ? x : 0) + ":" + ((M = (I = a == null ? void 0 : a.score) == null ? void 0 : I.away) != null ? M : 0), name: "En vivo" }),
1503
- /* @__PURE__ */ e(Se, { name: t == null ? void 0 : t.awayName, jersey: Ce(i, "away") })
1501
+ /* @__PURE__ */ e(Se, { name: t == null ? void 0 : t.homeName, jersey: Ce(r, "home") }),
1502
+ /* @__PURE__ */ e(et, { text: ((y = (_ = a == null ? void 0 : a.score) == null ? void 0 : _.home) != null ? y : 0) + ":" + ((M = (E = a == null ? void 0 : a.score) == null ? void 0 : E.away) != null ? M : 0), name: "En vivo" }),
1503
+ /* @__PURE__ */ e(Se, { name: t == null ? void 0 : t.awayName, jersey: Ce(r, "away") })
1504
1504
  ] }) })
1505
1505
  ] }),
1506
- /* @__PURE__ */ g(V, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1507
- /* @__PURE__ */ e(oe, { spacing: 1, children: ((v = r == null ? void 0 : r.outcomes) != null ? v : d).map((w, C) => /* @__PURE__ */ e(Ye, { text: w.label.toUpperCase() }, C)) }),
1508
- /* @__PURE__ */ e(oe, { spacing: 2, children: ((T = r == null ? void 0 : r.outcomes) != null ? T : d).map((w, C) => /* @__PURE__ */ e(ya, { variant: "primary", disabled: w.odds == null || (r == null ? void 0 : r.cashOutStatus) == "SUSPENDED", onClick: () => {
1509
- Le(w.id);
1510
- }, className: xe.customButtonDisabled, children: /* @__PURE__ */ e("span", { className: xe.customButtonLabel, children: w.odds === void 0 ? "" : (w.odds / 1e3).toFixed(2) }) }, C)) })
1506
+ /* @__PURE__ */ g(D, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1507
+ /* @__PURE__ */ e(oe, { spacing: 1, children: ((v = l == null ? void 0 : l.outcomes) != null ? v : c).map((x, S) => /* @__PURE__ */ e(Ye, { text: x.label.toUpperCase() }, S)) }),
1508
+ /* @__PURE__ */ e(oe, { spacing: 2, children: ((N = l == null ? void 0 : l.outcomes) != null ? N : c).map((x, S) => /* @__PURE__ */ e(ya, { variant: "primary", disabled: x.odds == null || (l == null ? void 0 : l.cashOutStatus) == "SUSPENDED", onClick: () => {
1509
+ Le(x.id);
1510
+ }, className: xe.customButtonDisabled, children: /* @__PURE__ */ e("span", { className: xe.customButtonLabel, children: x.odds === void 0 ? "" : (x.odds / 1e3).toFixed(2) }) }, S)) })
1511
1511
  ] })
1512
1512
  ] }) });
1513
1513
  }
@@ -1524,43 +1524,43 @@ const Ta = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ka =
1524
1524
  equipos: Na
1525
1525
  };
1526
1526
  function Ma({ event: t, jersey: a }) {
1527
- var d, p, b, m, c, u, _;
1528
- const n = J(), i = X();
1529
- function r(x) {
1530
- const I = new Date(x), M = I.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), v = I.getDate().toString().padStart(2, "0"), T = (I.getMonth() + 1).toString().padStart(2, "0");
1531
- let w = I.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1532
- return w = w.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${M} ${v}/${T} | ${w}`;
1527
+ var c, p, b, u, s, d, _;
1528
+ const n = J(), r = X();
1529
+ function l(y) {
1530
+ const E = new Date(y), M = E.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), v = E.getDate().toString().padStart(2, "0"), N = (E.getMonth() + 1).toString().padStart(2, "0");
1531
+ let x = E.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1532
+ return x = x.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${M} ${v}/${N} | ${x}`;
1533
1533
  }
1534
- const o = (x, I) => {
1535
- const M = `${t.homeName} vs ${t.awayName}`, v = I ? (I / 1e3).toFixed(2) : "", T = v ? `${M} - Cuota: ${v}` : M;
1534
+ const i = (y, E) => {
1535
+ const M = `${t.homeName} vs ${t.awayName}`, v = E ? (E / 1e3).toFixed(2) : "", N = v ? `${M} - Cuota: ${v}` : M;
1536
1536
  n({
1537
1537
  element: "evento_semana_outcome",
1538
- label: `Landing: ${i} - OraculoEventSemanaCard - Click: ${T}`,
1538
+ label: `Landing: ${r} - OraculoEventSemanaCard - Click: ${N}`,
1539
1539
  target: "/deportes#in-play",
1540
1540
  event_type: "click",
1541
1541
  module_id: 301,
1542
1542
  metadata: {
1543
1543
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1544
1544
  },
1545
- tags: { section: "OraculoEventSemanaCard", outcomes: T }
1546
- }), Le(x);
1545
+ tags: { section: "OraculoEventSemanaCard", outcomes: N }
1546
+ }), Le(y);
1547
1547
  };
1548
1548
  return /* @__PURE__ */ g("div", { className: ce.cardContainer, children: [
1549
- /* @__PURE__ */ e(Qe, { title: (d = t == null ? void 0 : t.group) != null ? d : "" }),
1550
- /* @__PURE__ */ e("div", { className: ce.cardBackground, children: /* @__PURE__ */ g(V, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1551
- /* @__PURE__ */ g(V, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1549
+ /* @__PURE__ */ e(Qe, { title: (c = t == null ? void 0 : t.group) != null ? c : "" }),
1550
+ /* @__PURE__ */ e("div", { className: ce.cardBackground, children: /* @__PURE__ */ g(D, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1551
+ /* @__PURE__ */ g(D, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1552
1552
  /* @__PURE__ */ g("div", { className: ce.equipos, children: [
1553
1553
  /* @__PURE__ */ e(Se, { name: t.homeName, size: "compact", jersey: Ce(a, "home") }),
1554
1554
  /* @__PURE__ */ e(et, { text: "vs.", name: "", size: "small" }),
1555
1555
  /* @__PURE__ */ e(Se, { name: t.awayName, size: "compact", jersey: Ce(a, "away") })
1556
1556
  ] }),
1557
- /* @__PURE__ */ e(Ia, { text: r(t.start) })
1557
+ /* @__PURE__ */ e(Ia, { text: l(t.start) })
1558
1558
  ] }),
1559
- /* @__PURE__ */ g(V, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1560
- /* @__PURE__ */ e(oe, { spacing: 1, children: ((m = (b = (p = t == null ? void 0 : t.outcome) == null ? void 0 : p[0]) == null ? void 0 : b.outcomes) != null ? m : []).map((x, I) => /* @__PURE__ */ e(Ye, { text: x.label.toUpperCase() }, I)) }),
1561
- /* @__PURE__ */ e("div", { className: ce.jugadas, children: /* @__PURE__ */ e(oe, { spacing: 1, children: ((_ = (u = (c = t == null ? void 0 : t.outcome) == null ? void 0 : c[0]) == null ? void 0 : u.outcomes) != null ? _ : []).map((x, I) => /* @__PURE__ */ e(G, { variant: "primary", fullHeight: !0, onClick: () => {
1562
- o(x.id, x.odds);
1563
- }, children: (x.odds / 1e3).toFixed(2) }, I)) }) })
1559
+ /* @__PURE__ */ g(D, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1560
+ /* @__PURE__ */ e(oe, { spacing: 1, children: ((u = (b = (p = t == null ? void 0 : t.outcome) == null ? void 0 : p[0]) == null ? void 0 : b.outcomes) != null ? u : []).map((y, E) => /* @__PURE__ */ e(Ye, { text: y.label.toUpperCase() }, E)) }),
1561
+ /* @__PURE__ */ e("div", { className: ce.jugadas, children: /* @__PURE__ */ e(oe, { spacing: 1, children: ((_ = (d = (s = t == null ? void 0 : t.outcome) == null ? void 0 : s[0]) == null ? void 0 : d.outcomes) != null ? _ : []).map((y, E) => /* @__PURE__ */ e(H, { variant: "primary", fullHeight: !0, onClick: () => {
1562
+ i(y.id, y.odds);
1563
+ }, children: (y.odds / 1e3).toFixed(2) }, E)) }) })
1564
1564
  ] })
1565
1565
  ] }) })
1566
1566
  ] });
@@ -1569,14 +1569,14 @@ function Ba({
1569
1569
  items: t,
1570
1570
  title: a = "Destacados",
1571
1571
  iconUrl: n,
1572
- onViewMore: i,
1573
- className: r = ""
1572
+ onViewMore: r,
1573
+ className: l = ""
1574
1574
  }) {
1575
- const o = U(null), [d, p] = W({ isStart: !0, isEnd: !1 }), b = J(), m = X(), c = !t || t.length === 0, u = () => {
1575
+ const i = U(null), [c, p] = j({ isStart: !0, isEnd: !1 }), b = J(), u = X(), s = !t || t.length === 0, d = () => {
1576
1576
  var v;
1577
1577
  b({
1578
1578
  element: "destacados_carousel_prev",
1579
- label: `Landing: ${m} - OraculoSeccionDestacados - Anterior`,
1579
+ label: `Landing: ${u} - OraculoSeccionDestacados - Anterior`,
1580
1580
  target: "carousel",
1581
1581
  event_type: "click",
1582
1582
  module_id: 301,
@@ -1584,12 +1584,12 @@ function Ba({
1584
1584
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1585
1585
  },
1586
1586
  tags: { section: "OraculoSeccionDestacados" }
1587
- }), (v = o.current) == null || v.prev();
1587
+ }), (v = i.current) == null || v.prev();
1588
1588
  }, _ = () => {
1589
1589
  var v;
1590
1590
  b({
1591
1591
  element: "destacados_carousel_next",
1592
- label: `Landing: ${m} - OraculoSeccionDestacados - Siguiente`,
1592
+ label: `Landing: ${u} - OraculoSeccionDestacados - Siguiente`,
1593
1593
  target: "carousel",
1594
1594
  event_type: "click",
1595
1595
  module_id: 301,
@@ -1597,11 +1597,11 @@ function Ba({
1597
1597
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1598
1598
  },
1599
1599
  tags: { section: "OraculoSeccionDestacados" }
1600
- }), (v = o.current) == null || v.next();
1601
- }, x = () => {
1600
+ }), (v = i.current) == null || v.next();
1601
+ }, y = () => {
1602
1602
  b({
1603
1603
  element: "destacados_view_more",
1604
- label: `Landing: ${m} - OraculoSeccionDestacados - Ver más`,
1604
+ label: `Landing: ${u} - OraculoSeccionDestacados - Ver más`,
1605
1605
  target: "https://www.olimpo.bet/promociones",
1606
1606
  event_type: "click",
1607
1607
  module_id: 301,
@@ -1610,13 +1610,13 @@ function Ba({
1610
1610
  },
1611
1611
  tags: { section: "OraculoSeccionDestacados" }
1612
1612
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1613
- }, I = (v) => {
1613
+ }, E = (v) => {
1614
1614
  if (!v) return;
1615
- const w = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
1615
+ const x = `https://www.olimpo.bet/promociones/${encodeURIComponent(v)}`;
1616
1616
  b({
1617
1617
  element: "destacados_card",
1618
- label: `Landing: ${m} - OraculoSeccionDestacados - Click: ${String(v)}`,
1619
- target: w,
1618
+ label: `Landing: ${u} - OraculoSeccionDestacados - Click: ${String(v)}`,
1619
+ target: x,
1620
1620
  event_type: "click",
1621
1621
  module_id: 301,
1622
1622
  metadata: {
@@ -1626,9 +1626,9 @@ function Ba({
1626
1626
  section: "OraculoSeccionDestacados",
1627
1627
  promotion: String(v)
1628
1628
  }
1629
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w);
1629
+ }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(x);
1630
1630
  };
1631
- return /* @__PURE__ */ g("section", { className: r || void 0, style: { width: "100%" }, children: [
1631
+ return /* @__PURE__ */ g("section", { className: l || void 0, style: { width: "100%" }, children: [
1632
1632
  /* @__PURE__ */ g(
1633
1633
  "header",
1634
1634
  {
@@ -1646,36 +1646,36 @@ function Ba({
1646
1646
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
1647
1647
  /* @__PURE__ */ g("div", { style: { display: "flex", gap: 8 }, children: [
1648
1648
  /* @__PURE__ */ e(
1649
- G,
1649
+ H,
1650
1650
  {
1651
1651
  ariaLabel: "Anterior",
1652
1652
  variant: "secondary",
1653
1653
  iconOnly: !0,
1654
1654
  leftIcon: /* @__PURE__ */ e(Ee, {}),
1655
- onClick: u,
1656
- disabled: d.isStart || c
1655
+ onClick: d,
1656
+ disabled: c.isStart || s
1657
1657
  }
1658
1658
  ),
1659
1659
  /* @__PURE__ */ e(
1660
- G,
1660
+ H,
1661
1661
  {
1662
1662
  ariaLabel: "Siguiente",
1663
1663
  variant: "secondary",
1664
1664
  iconOnly: !0,
1665
1665
  rightIcon: /* @__PURE__ */ e(Ie, {}),
1666
1666
  onClick: _,
1667
- disabled: d.isEnd || c
1667
+ disabled: c.isEnd || s
1668
1668
  }
1669
1669
  )
1670
1670
  ] }),
1671
- /* @__PURE__ */ e(G, { variant: "secondary", onClick: x, children: "Ver más" })
1671
+ /* @__PURE__ */ e(H, { variant: "secondary", onClick: y, children: "Ver más" })
1672
1672
  ]
1673
1673
  }
1674
1674
  ),
1675
1675
  /* @__PURE__ */ e(
1676
1676
  se,
1677
1677
  {
1678
- ref: o,
1678
+ ref: i,
1679
1679
  items: t,
1680
1680
  perPage: void 0,
1681
1681
  gap: "16px",
@@ -1694,7 +1694,7 @@ function Ba({
1694
1694
  marginTop: 16,
1695
1695
  cursor: "pointer"
1696
1696
  },
1697
- onClick: () => I(v.promotion),
1697
+ onClick: () => E(v.promotion),
1698
1698
  children: /* @__PURE__ */ e(
1699
1699
  "img",
1700
1700
  {
@@ -1712,8 +1712,8 @@ function Ba({
1712
1712
  },
1713
1713
  `${v.title}-${v.image}`
1714
1714
  ),
1715
- onMove: ({ isStart: v, isEnd: T }) => {
1716
- p({ isStart: v, isEnd: T }), b({
1715
+ onMove: ({ isStart: v, isEnd: N }) => {
1716
+ p({ isStart: v, isEnd: N }), b({
1717
1717
  element: "destacados_carousel_slide",
1718
1718
  label: "OraculoSeccionDestacados - Slide Carousel",
1719
1719
  target: "carousel",
@@ -1722,7 +1722,7 @@ function Ba({
1722
1722
  metadata: {
1723
1723
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1724
1724
  isStart: v,
1725
- isEnd: T
1725
+ isEnd: N
1726
1726
  },
1727
1727
  tags: { section: "OraculoSeccionDestacados" }
1728
1728
  });
@@ -1750,39 +1750,39 @@ function Ra({
1750
1750
  items: t,
1751
1751
  title: a = "Top Juegos",
1752
1752
  iconUrl: n,
1753
- onCardClick: i
1753
+ onCardClick: r
1754
1754
  }) {
1755
- const r = J(), o = X(), d = ne(
1756
- () => (t != null ? t : []).map((c, u) => {
1755
+ const l = J(), i = X(), c = ne(
1756
+ () => (t != null ? t : []).map((s, d) => {
1757
1757
  var _;
1758
1758
  return {
1759
- ...c,
1760
- orden: (_ = c.orden) != null ? _ : u + 1,
1761
- _originalIndex: u
1759
+ ...s,
1760
+ orden: (_ = s.orden) != null ? _ : d + 1,
1761
+ _originalIndex: d
1762
1762
  };
1763
- }).sort((c, u) => c.orden != null && u.orden != null ? c.orden - u.orden : c._originalIndex - u._originalIndex),
1763
+ }).sort((s, d) => s.orden != null && d.orden != null ? s.orden - d.orden : s._originalIndex - d._originalIndex),
1764
1764
  [t]
1765
- ), p = !t || t.length === 0, b = p ? Array.from({ length: 6 }) : d.slice(0, 6), m = (c) => {
1766
- r({
1765
+ ), p = !t || t.length === 0, b = p ? Array.from({ length: 6 }) : c.slice(0, 6), u = (s) => {
1766
+ l({
1767
1767
  element: "top_juegos_card",
1768
- label: `Landing: ${o} - OraculoSeccionTopJuegos - Open game: ${String(c.machine || "unknown")}`,
1769
- target: String(c.machine || "unknown"),
1768
+ label: `Landing: ${i} - OraculoSeccionTopJuegos - Open game: ${String(s.machine || "unknown")}`,
1769
+ target: String(s.machine || "unknown"),
1770
1770
  event_type: "click",
1771
1771
  module_id: 301,
1772
1772
  metadata: {
1773
1773
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1774
1774
  },
1775
1775
  tags: {
1776
- game_name: String(c.machine || "unknown"),
1776
+ game_name: String(s.machine || "unknown"),
1777
1777
  section: "OraculoSeccionTopJuegos"
1778
1778
  }
1779
1779
  });
1780
- const u = re("showIframe"), _ = re("loadMachine");
1781
- u == null || u(), requestAnimationFrame(() => {
1782
- _ == null || _(c, !1, "CASINO");
1780
+ const d = re("showIframe"), _ = re("loadMachine");
1781
+ d == null || d(), requestAnimationFrame(() => {
1782
+ _ == null || _(s, !1, "CASINO");
1783
1783
  });
1784
1784
  };
1785
- return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1785
+ return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ g(D, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1786
1786
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
1787
1787
  /* @__PURE__ */ e(
1788
1788
  L,
@@ -1797,19 +1797,19 @@ function Ra({
1797
1797
  justifyItems: "center",
1798
1798
  width: "100%"
1799
1799
  },
1800
- children: b.map((c, u) => {
1801
- var _, x;
1800
+ children: b.map((s, d) => {
1801
+ var _, y;
1802
1802
  return /* @__PURE__ */ e(
1803
1803
  oa,
1804
1804
  {
1805
- imageUrl: p ? "" : c.background ? `https://olimpo.bet${c.background}` : `https://olimpo.bet${(_ = c.logo) != null ? _ : ""}`,
1806
- orden: p ? u + 1 : c.orden,
1805
+ imageUrl: p ? "" : s.background ? `https://olimpo.bet${s.background}` : `https://olimpo.bet${(_ = s.logo) != null ? _ : ""}`,
1806
+ orden: p ? d + 1 : s.orden,
1807
1807
  loading: p,
1808
1808
  onClick: p ? void 0 : () => {
1809
- i == null || i(c), m(c);
1809
+ r == null || r(s), u(s);
1810
1810
  }
1811
1811
  },
1812
- p ? `sk-${u}` : (x = c.machine) != null ? x : `${u}`
1812
+ p ? `sk-${d}` : (y = s.machine) != null ? y : `${d}`
1813
1813
  );
1814
1814
  })
1815
1815
  }
@@ -1817,38 +1817,38 @@ function Ra({
1817
1817
  ] }) });
1818
1818
  }
1819
1819
  const Fa = (t, a) => {
1820
- var n, i;
1821
- return (i = (n = t.orden) != null ? n : t.machine) != null ? i : a;
1820
+ var n, r;
1821
+ return (r = (n = t.orden) != null ? n : t.machine) != null ? r : a;
1822
1822
  }, Pa = ({
1823
1823
  items: t,
1824
1824
  title: a = "Casino en vivo",
1825
1825
  subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
1826
- backgroundMobileUrl: i = "",
1827
- backgroundDesktopUrl: r = "",
1828
- onViewMore: o,
1829
- className: d
1826
+ backgroundMobileUrl: r = "",
1827
+ backgroundDesktopUrl: l = "",
1828
+ onViewMore: i,
1829
+ className: c
1830
1830
  }) => {
1831
- const p = J(), b = X(), m = (u) => {
1831
+ const p = J(), b = X(), u = (d) => {
1832
1832
  p({
1833
1833
  element: "live_casino_card",
1834
- label: `Landing: ${b} - OraculoSeccionCasinoEnVivo - Open game: ${String(u.machine || "unknown")}`,
1835
- target: String(u.machine || "unknown"),
1834
+ label: `Landing: ${b} - OraculoSeccionCasinoEnVivo - Open game: ${String(d.machine || "unknown")}`,
1835
+ target: String(d.machine || "unknown"),
1836
1836
  event_type: "click",
1837
1837
  module_id: 301,
1838
1838
  metadata: {
1839
1839
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1840
1840
  },
1841
1841
  tags: {
1842
- game_name: String(u.machine || "unknown"),
1843
- provider: u.provider || "unknown",
1842
+ game_name: String(d.machine || "unknown"),
1843
+ provider: d.provider || "unknown",
1844
1844
  section: "OraculoSeccionCasinoEnVivo"
1845
1845
  }
1846
1846
  });
1847
- const _ = re("showIframe"), x = re("loadMachine");
1847
+ const _ = re("showIframe"), y = re("loadMachine");
1848
1848
  _ == null || _(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1849
- x == null || x(u, !1, "casino_en_vivo");
1849
+ y == null || y(d, !1, "casino_en_vivo");
1850
1850
  });
1851
- }, c = () => {
1851
+ }, s = () => {
1852
1852
  p({
1853
1853
  element: "casino_en_vivo_view_more",
1854
1854
  label: `Landing: ${b} - OraculoSeccionCasinoEnVivo - Ver más`,
@@ -1859,12 +1859,12 @@ const Fa = (t, a) => {
1859
1859
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1860
1860
  },
1861
1861
  tags: { section: "OraculoSeccionCasinoEnVivo" }
1862
- }), typeof globalThis != "undefined" && globalThis.location && (o ? o() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
1862
+ }), typeof globalThis != "undefined" && globalThis.location && (i ? i() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
1863
1863
  };
1864
1864
  return /* @__PURE__ */ g(
1865
1865
  L,
1866
1866
  {
1867
- className: d,
1867
+ className: c,
1868
1868
  sx: {
1869
1869
  position: "relative",
1870
1870
  color: "white",
@@ -1882,12 +1882,12 @@ const Fa = (t, a) => {
1882
1882
  xs: `
1883
1883
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
1884
1884
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
1885
- url('${i}')
1885
+ url('${r}')
1886
1886
  `,
1887
1887
  md: `
1888
1888
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
1889
1889
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
1890
- url('${r}')
1890
+ url('${l}')
1891
1891
  `
1892
1892
  },
1893
1893
  backgroundSize: "cover",
@@ -1915,7 +1915,7 @@ const Fa = (t, a) => {
1915
1915
  textAlign: { xs: "center", md: "left" }
1916
1916
  },
1917
1917
  children: [
1918
- /* @__PURE__ */ g(V, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1918
+ /* @__PURE__ */ g(D, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1919
1919
  /* @__PURE__ */ e(
1920
1920
  ae,
1921
1921
  {
@@ -1942,11 +1942,11 @@ const Fa = (t, a) => {
1942
1942
  }
1943
1943
  ),
1944
1944
  /* @__PURE__ */ e(L, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
1945
- G,
1945
+ H,
1946
1946
  {
1947
1947
  variant: "primary",
1948
1948
  size: "md",
1949
- onClick: c,
1949
+ onClick: s,
1950
1950
  children: "Ver más"
1951
1951
  }
1952
1952
  ) })
@@ -1962,28 +1962,28 @@ const Fa = (t, a) => {
1962
1962
  py: { xs: 3, md: 0 },
1963
1963
  alignItems: "center"
1964
1964
  },
1965
- children: (t != null ? t : []).slice(0, 3).map((u, _) => {
1966
- var x;
1965
+ children: (t != null ? t : []).slice(0, 3).map((d, _) => {
1966
+ var y;
1967
1967
  return /* @__PURE__ */ e(
1968
1968
  ia,
1969
1969
  {
1970
- logo: `https://olimpo.bet${u.background ? u.background : (x = u.logo) != null ? x : ""}`,
1971
- provider: u.provider,
1972
- providerName: u.web_name,
1973
- machine: u.machine,
1974
- onClick: () => m(u)
1970
+ logo: `https://olimpo.bet${d.background ? d.background : (y = d.logo) != null ? y : ""}`,
1971
+ provider: d.provider,
1972
+ providerName: d.web_name,
1973
+ machine: d.machine,
1974
+ onClick: () => u(d)
1975
1975
  },
1976
- Fa(u, _)
1976
+ Fa(d, _)
1977
1977
  );
1978
1978
  })
1979
1979
  }
1980
1980
  ),
1981
1981
  /* @__PURE__ */ e(L, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
1982
- G,
1982
+ H,
1983
1983
  {
1984
1984
  variant: "primary",
1985
1985
  size: "lg",
1986
- onClick: c,
1986
+ onClick: s,
1987
1987
  children: "Ver más"
1988
1988
  }
1989
1989
  ) })
@@ -1994,48 +1994,48 @@ const Fa = (t, a) => {
1994
1994
  }
1995
1995
  );
1996
1996
  }, rt = (t, a) => {
1997
- var n, i;
1998
- return (i = (n = t.orden) != null ? n : t.machine) != null ? i : a;
1997
+ var n, r;
1998
+ return (r = (n = t.orden) != null ? n : t.machine) != null ? r : a;
1999
1999
  }, za = (t, a = !0, n = 1) => {
2000
- const i = t.map((d, p) => {
2000
+ const r = t.map((c, p) => {
2001
2001
  var b;
2002
2002
  return {
2003
- id: rt(d, p),
2004
- imageUrl: (b = d.logo) != null ? b : "",
2005
- ...d.background ? { background: d.background } : {}
2003
+ id: rt(c, p),
2004
+ imageUrl: (b = c.logo) != null ? b : "",
2005
+ ...c.background ? { background: c.background } : {}
2006
2006
  };
2007
2007
  });
2008
- if (!i.length) return [];
2009
- const r = [];
2010
- let o = 0;
2008
+ if (!r.length) return [];
2009
+ const l = [];
2010
+ let i = 0;
2011
2011
  if (a) {
2012
- const d = Math.min(i.length, 1);
2013
- r.push({
2012
+ const c = Math.min(r.length, 1);
2013
+ l.push({
2014
2014
  id: "mosaic-0",
2015
2015
  kind: "mosaic",
2016
- items: i.slice(0, d)
2017
- }), o = d;
2016
+ items: r.slice(0, c)
2017
+ }), i = c;
2018
2018
  }
2019
- for (; o < i.length; ) {
2020
- const d = Math.min(o + n, i.length);
2021
- r.push({
2022
- id: `grid-${o}`,
2019
+ for (; i < r.length; ) {
2020
+ const c = Math.min(i + n, r.length);
2021
+ l.push({
2022
+ id: `grid-${i}`,
2023
2023
  kind: "grid",
2024
- items: i.slice(o, d)
2025
- }), o = d;
2024
+ items: r.slice(i, c)
2025
+ }), i = c;
2026
2026
  }
2027
- return r;
2027
+ return l;
2028
2028
  }, Ua = ({
2029
2029
  items: t,
2030
2030
  title: a = "Casino",
2031
2031
  iconUrl: n = "/assets/img/home/Casino/diamante.svg",
2032
- onItemClick: i,
2033
- onViewMore: r,
2034
- mosaicFirst: o = !0,
2035
- gridSize: d = 1
2032
+ onItemClick: r,
2033
+ onViewMore: l,
2034
+ mosaicFirst: i = !0,
2035
+ gridSize: c = 1
2036
2036
  }) => {
2037
- const p = J(), b = X(), m = U(null), [c, u] = W({ isStart: !0, isEnd: !1 }), _ = () => {
2038
- var w;
2037
+ const p = J(), b = X(), u = U(null), [s, d] = j({ isStart: !0, isEnd: !1 }), _ = () => {
2038
+ var x;
2039
2039
  p({
2040
2040
  element: "casino_prev",
2041
2041
  label: `Landing: ${b} - OraculoSeccionCasino - Anterior`,
@@ -2046,9 +2046,9 @@ const Fa = (t, a) => {
2046
2046
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2047
2047
  },
2048
2048
  tags: { section: "OraculoSeccionCasino" }
2049
- }), (w = m.current) == null || w.prev();
2050
- }, x = () => {
2051
- var w;
2049
+ }), (x = u.current) == null || x.prev();
2050
+ }, y = () => {
2051
+ var x;
2052
2052
  p({
2053
2053
  element: "casino_next",
2054
2054
  label: `Landing: ${b} - OraculoSeccionCasino - Siguiente`,
@@ -2059,8 +2059,8 @@ const Fa = (t, a) => {
2059
2059
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2060
2060
  },
2061
2061
  tags: { section: "OraculoSeccionCasino" }
2062
- }), (w = m.current) == null || w.next();
2063
- }, I = () => {
2062
+ }), (x = u.current) == null || x.next();
2063
+ }, E = () => {
2064
2064
  p({
2065
2065
  element: "casino_view_more",
2066
2066
  label: `Landing: ${b} - OraculoSeccionCasino - Ver más`,
@@ -2072,14 +2072,14 @@ const Fa = (t, a) => {
2072
2072
  },
2073
2073
  tags: { section: "OraculoSeccionCasino" }
2074
2074
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2075
- }, M = (w = !0, C = 4) => {
2076
- const E = (A) => Array.from({ length: A }, (O, R) => ({
2077
- id: `sk-${A}-${R}`,
2075
+ }, M = (x = !0, S = 4) => {
2076
+ const O = (R) => Array.from({ length: R }, (I, A) => ({
2077
+ id: `sk-${R}-${A}`,
2078
2078
  imageUrl: ""
2079
2079
  })), B = [];
2080
- return w && B.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), B.push({ id: "grid-loading", kind: "grid", items: E(C) }), B;
2081
- }, v = !t || t.length === 0, T = v ? M(o, d) : za(t, o, d);
2082
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ g(V, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2080
+ return x && B.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), B.push({ id: "grid-loading", kind: "grid", items: O(S) }), B;
2081
+ }, v = !t || t.length === 0, N = v ? M(i, c) : za(t, i, c);
2082
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ g(D, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2083
2083
  /* @__PURE__ */ g(
2084
2084
  L,
2085
2085
  {
@@ -2095,37 +2095,37 @@ const Fa = (t, a) => {
2095
2095
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
2096
2096
  /* @__PURE__ */ g(L, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2097
2097
  /* @__PURE__ */ e(
2098
- G,
2098
+ H,
2099
2099
  {
2100
2100
  ariaLabel: "Anterior",
2101
2101
  variant: "secondary",
2102
2102
  iconOnly: !0,
2103
2103
  leftIcon: /* @__PURE__ */ e(Ze, {}),
2104
2104
  onClick: _,
2105
- disabled: c.isStart
2105
+ disabled: s.isStart
2106
2106
  }
2107
2107
  ),
2108
2108
  /* @__PURE__ */ e(
2109
- G,
2109
+ H,
2110
2110
  {
2111
2111
  ariaLabel: "Siguiente",
2112
2112
  variant: "secondary",
2113
2113
  iconOnly: !0,
2114
2114
  rightIcon: /* @__PURE__ */ e(Je, {}),
2115
- onClick: x,
2116
- disabled: c.isEnd
2115
+ onClick: y,
2116
+ disabled: s.isEnd
2117
2117
  }
2118
2118
  )
2119
2119
  ] }),
2120
- /* @__PURE__ */ e(L, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(G, { variant: "secondary", onClick: I, children: "Ver más" }) })
2120
+ /* @__PURE__ */ e(L, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(H, { variant: "secondary", onClick: E, children: "Ver más" }) })
2121
2121
  ]
2122
2122
  }
2123
2123
  ),
2124
2124
  /* @__PURE__ */ e(
2125
2125
  se,
2126
2126
  {
2127
- ref: m,
2128
- items: T,
2127
+ ref: u,
2128
+ items: N,
2129
2129
  perPage: void 0,
2130
2130
  gap: "16px",
2131
2131
  enableHorizontalWheel: !0,
@@ -2136,90 +2136,90 @@ const Fa = (t, a) => {
2136
2136
  768: { gap: "8px", focus: "center", padding: { left: "24px", right: "24px" } },
2137
2137
  1024: { gap: "10px", focus: "center", padding: { left: "24px", right: "24px" } }
2138
2138
  },
2139
- renderItem: (w) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
2139
+ renderItem: (x) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
2140
2140
  tt,
2141
2141
  {
2142
- items: w.items,
2143
- layout: w.kind === "mosaic" ? "mosaic" : "grid",
2142
+ items: x.items,
2143
+ layout: x.kind === "mosaic" ? "mosaic" : "grid",
2144
2144
  loading: v,
2145
- onClick: (C) => {
2145
+ onClick: (S) => {
2146
2146
  if (v) return;
2147
- const E = t.find(
2148
- (O, R) => String(rt(O, R)) === String(C.id)
2147
+ const O = t.find(
2148
+ (I, A) => String(rt(I, A)) === String(S.id)
2149
2149
  );
2150
- if (!E) return;
2150
+ if (!O) return;
2151
2151
  p({
2152
2152
  element: "casino_game_card",
2153
- label: `Landing: ${b} - OraculoSeccionCasino - Open game: ${String(E.machine) || "unknown"}`,
2154
- target: String(E.machine || "unknown"),
2153
+ label: `Landing: ${b} - OraculoSeccionCasino - Open game: ${String(O.machine) || "unknown"}`,
2154
+ target: String(O.machine || "unknown"),
2155
2155
  event_type: "click",
2156
2156
  module_id: 301,
2157
2157
  metadata: {
2158
2158
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2159
2159
  },
2160
2160
  tags: {
2161
- game_name: String(E.machine || "unknown"),
2161
+ game_name: String(O.machine || "unknown"),
2162
2162
  section: a || "Casino"
2163
2163
  }
2164
2164
  });
2165
- const B = re("showIframe"), A = re("loadMachine");
2166
- B == null || B(), A == null || A(E, !1, "CASINO");
2165
+ const B = re("showIframe"), R = re("loadMachine");
2166
+ B == null || B(), R == null || R(O, !1, "CASINO");
2167
2167
  }
2168
2168
  }
2169
2169
  ) }),
2170
- onMove: ({ isStart: w, isEnd: C }) => u({ isStart: w, isEnd: C })
2170
+ onMove: ({ isStart: x, isEnd: S }) => d({ isStart: x, isEnd: S })
2171
2171
  }
2172
2172
  )
2173
2173
  ] }) });
2174
2174
  }, lt = (t, a) => {
2175
- var n, i;
2176
- return (i = (n = t.orden) != null ? n : t.machine) != null ? i : a;
2175
+ var n, r;
2176
+ return (r = (n = t.orden) != null ? n : t.machine) != null ? r : a;
2177
2177
  }, qa = (t, a = !0, n = 1) => {
2178
- const i = t.map((d, p) => {
2178
+ const r = t.map((c, p) => {
2179
2179
  var b;
2180
2180
  return {
2181
- id: lt(d, p),
2182
- imageUrl: (b = d.logo) != null ? b : "",
2183
- ...d.background ? { background: d.background } : {}
2181
+ id: lt(c, p),
2182
+ imageUrl: (b = c.logo) != null ? b : "",
2183
+ ...c.background ? { background: c.background } : {}
2184
2184
  };
2185
2185
  });
2186
- if (!i.length) return [];
2187
- const r = [];
2188
- let o = 0;
2186
+ if (!r.length) return [];
2187
+ const l = [];
2188
+ let i = 0;
2189
2189
  if (a) {
2190
- const d = Math.min(i.length, 1);
2191
- r.push({
2190
+ const c = Math.min(r.length, 1);
2191
+ l.push({
2192
2192
  id: "mosaic-0",
2193
2193
  kind: "mosaic",
2194
- items: i.slice(0, d)
2195
- }), o = d;
2194
+ items: r.slice(0, c)
2195
+ }), i = c;
2196
2196
  }
2197
- for (; o < i.length; ) {
2198
- const d = Math.min(o + n, i.length);
2199
- r.push({
2200
- id: `grid-${o}`,
2197
+ for (; i < r.length; ) {
2198
+ const c = Math.min(i + n, r.length);
2199
+ l.push({
2200
+ id: `grid-${i}`,
2201
2201
  kind: "grid",
2202
- items: i.slice(o, d)
2203
- }), o = d;
2202
+ items: r.slice(i, c)
2203
+ }), i = c;
2204
2204
  }
2205
- return r;
2205
+ return l;
2206
2206
  }, Va = (t = !0, a = 4) => {
2207
- const n = (r) => Array.from({ length: r }, (o, d) => ({ id: `sk-${r}-${d}`, imageUrl: "" })), i = [];
2208
- return t && i.push({ id: "mosaic-loading", kind: "mosaic", items: n(5) }), i.push({ id: "grid-loading", kind: "grid", items: n(a) }), i;
2207
+ const n = (l) => Array.from({ length: l }, (i, c) => ({ id: `sk-${l}-${c}`, imageUrl: "" })), r = [];
2208
+ return t && r.push({ id: "mosaic-loading", kind: "mosaic", items: n(5) }), r.push({ id: "grid-loading", kind: "grid", items: n(a) }), r;
2209
2209
  }, Da = ({
2210
2210
  items: t,
2211
2211
  title: a = "Virtuales",
2212
2212
  iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
2213
- onItemClick: i,
2214
- onViewMore: r,
2215
- mosaicFirst: o = !0,
2216
- gridSize: d = 1
2213
+ onItemClick: r,
2214
+ onViewMore: l,
2215
+ mosaicFirst: i = !0,
2216
+ gridSize: c = 1
2217
2217
  }) => {
2218
- const p = U(null), [b, m] = W({ isStart: !0, isEnd: !1 }), c = J(), u = X(), _ = () => {
2219
- var T;
2220
- c({
2218
+ const p = U(null), [b, u] = j({ isStart: !0, isEnd: !1 }), s = J(), d = X(), _ = () => {
2219
+ var N;
2220
+ s({
2221
2221
  element: "virtuales_prev",
2222
- label: `Landing: ${u} - OraculoSeccionVirtuales - Anterior`,
2222
+ label: `Landing: ${d} - OraculoSeccionVirtuales - Anterior`,
2223
2223
  target: "prev",
2224
2224
  event_type: "click",
2225
2225
  module_id: 301,
@@ -2227,12 +2227,12 @@ const Fa = (t, a) => {
2227
2227
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2228
2228
  },
2229
2229
  tags: { section: "OraculoSeccionVirtuales" }
2230
- }), (T = p.current) == null || T.prev();
2231
- }, x = () => {
2232
- var T;
2233
- c({
2230
+ }), (N = p.current) == null || N.prev();
2231
+ }, y = () => {
2232
+ var N;
2233
+ s({
2234
2234
  element: "virtuales_next",
2235
- label: `Landing: ${u} - OraculoSeccionVirtuales - Siguiente`,
2235
+ label: `Landing: ${d} - OraculoSeccionVirtuales - Siguiente`,
2236
2236
  target: "next",
2237
2237
  event_type: "click",
2238
2238
  module_id: 301,
@@ -2240,11 +2240,11 @@ const Fa = (t, a) => {
2240
2240
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2241
2241
  },
2242
2242
  tags: { section: "OraculoSeccionVirtuales" }
2243
- }), (T = p.current) == null || T.next();
2244
- }, I = () => {
2245
- c({
2243
+ }), (N = p.current) == null || N.next();
2244
+ }, E = () => {
2245
+ s({
2246
2246
  element: "virtuales_view_more",
2247
- label: `Landing: ${u} - OraculoSeccionVirtuales - Ver más`,
2247
+ label: `Landing: ${d} - OraculoSeccionVirtuales - Ver más`,
2248
2248
  target: "https://www.olimpo.bet/juegos-virtuales",
2249
2249
  event_type: "click",
2250
2250
  module_id: 301,
@@ -2253,8 +2253,8 @@ const Fa = (t, a) => {
2253
2253
  },
2254
2254
  tags: { section: "OraculoSeccionVirtuales" }
2255
2255
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2256
- }, M = !t || t.length === 0, v = M ? Va(o, d) : qa(t, o, d);
2257
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ g(V, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2256
+ }, M = !t || t.length === 0, v = M ? Va(i, c) : qa(t, i, c);
2257
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ g(D, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2258
2258
  /* @__PURE__ */ g(
2259
2259
  L,
2260
2260
  {
@@ -2270,7 +2270,7 @@ const Fa = (t, a) => {
2270
2270
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
2271
2271
  /* @__PURE__ */ g(L, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2272
2272
  /* @__PURE__ */ e(
2273
- G,
2273
+ H,
2274
2274
  {
2275
2275
  ariaLabel: "Anterior",
2276
2276
  variant: "secondary",
@@ -2281,18 +2281,18 @@ const Fa = (t, a) => {
2281
2281
  }
2282
2282
  ),
2283
2283
  /* @__PURE__ */ e(
2284
- G,
2284
+ H,
2285
2285
  {
2286
2286
  ariaLabel: "Siguiente",
2287
2287
  variant: "secondary",
2288
2288
  iconOnly: !0,
2289
2289
  rightIcon: /* @__PURE__ */ e(Je, {}),
2290
- onClick: x,
2290
+ onClick: y,
2291
2291
  disabled: b.isEnd
2292
2292
  }
2293
2293
  )
2294
2294
  ] }),
2295
- /* @__PURE__ */ e(L, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(G, { variant: "secondary", onClick: I, children: "Ver más" }) })
2295
+ /* @__PURE__ */ e(L, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(H, { variant: "secondary", onClick: E, children: "Ver más" }) })
2296
2296
  ]
2297
2297
  }
2298
2298
  ),
@@ -2311,44 +2311,44 @@ const Fa = (t, a) => {
2311
2311
  enableHorizontalWheel: !0,
2312
2312
  showRightGradient: !0,
2313
2313
  options: { autoWidth: !0, trimSpace: "move" },
2314
- renderItem: (T) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
2314
+ renderItem: (N) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
2315
2315
  tt,
2316
2316
  {
2317
- items: T.items,
2318
- layout: T.kind === "mosaic" ? "mosaic" : "grid",
2317
+ items: N.items,
2318
+ layout: N.kind === "mosaic" ? "mosaic" : "grid",
2319
2319
  loading: M,
2320
- onClick: (w) => {
2320
+ onClick: (x) => {
2321
2321
  if (M) return;
2322
- const C = t.find(
2323
- (A, O) => String(lt(A, O)) === String(w.id)
2322
+ const S = t.find(
2323
+ (R, I) => String(lt(R, I)) === String(x.id)
2324
2324
  );
2325
- if (!C) {
2325
+ if (!S) {
2326
2326
  console.warn(
2327
2327
  "[virtuales] no se encontró game para id:",
2328
- w.id
2328
+ x.id
2329
2329
  );
2330
2330
  return;
2331
2331
  }
2332
- c({
2332
+ s({
2333
2333
  element: "virtuales_game_card",
2334
- label: `Landing: ${u} - OraculoSeccionVirtuales - Open game: ${String(C.machine || "unknown")}`,
2335
- target: String(C.machine || "unknown"),
2334
+ label: `Landing: ${d} - OraculoSeccionVirtuales - Open game: ${String(S.machine || "unknown")}`,
2335
+ target: String(S.machine || "unknown"),
2336
2336
  event_type: "click",
2337
2337
  module_id: 301,
2338
2338
  metadata: {
2339
2339
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2340
2340
  },
2341
2341
  tags: {
2342
- game_name: String(C.machine || "unknown"),
2342
+ game_name: String(S.machine || "unknown"),
2343
2343
  section: "OraculoSeccionVirtuales"
2344
2344
  }
2345
2345
  });
2346
- const E = re("showIframe"), B = re("loadMachine");
2347
- E == null || E(), B == null || B(C, !1, "VIRTUALES");
2346
+ const O = re("showIframe"), B = re("loadMachine");
2347
+ O == null || O(), B == null || B(S, !1, "VIRTUALES");
2348
2348
  }
2349
2349
  }
2350
2350
  ) }),
2351
- onMove: ({ isStart: T, isEnd: w }) => m({ isStart: T, isEnd: w })
2351
+ onMove: ({ isStart: N, isEnd: x }) => u({ isStart: N, isEnd: x })
2352
2352
  }
2353
2353
  )
2354
2354
  ] }) });
@@ -2388,29 +2388,29 @@ const Fa = (t, a) => {
2388
2388
  headline: t,
2389
2389
  headline2: a,
2390
2390
  items: n,
2391
- backgroundImageUrl: i
2391
+ backgroundImageUrl: r
2392
2392
  }) => {
2393
- const r = J(), o = X(), d = bt("(max-width: 767px)"), p = n.length > 1, b = U(null), m = U(null), c = U(!1), u = U(!1), [_, x] = W(0), [I, M] = W({ isStart: !0, isEnd: !1 });
2393
+ const l = J(), i = X(), c = bt("(max-width: 767px)"), p = n.length > 1, b = U(null), u = U(null), s = U(!1), d = U(!1), [_, y] = j(0), [E, M] = j({ isStart: !0, isEnd: !1 });
2394
2394
  K(() => {
2395
- const S = setTimeout(() => {
2396
- c.current = !0;
2395
+ const C = setTimeout(() => {
2396
+ s.current = !0;
2397
2397
  }, 500);
2398
- return () => clearTimeout(S);
2398
+ return () => clearTimeout(C);
2399
2399
  }, []);
2400
- const v = U(I);
2400
+ const v = U(E);
2401
2401
  K(() => {
2402
- v.current = I;
2403
- }, [I]);
2404
- const T = U(!1), w = U(null), C = n == null ? void 0 : n[_], E = ne(
2402
+ v.current = E;
2403
+ }, [E]);
2404
+ const N = U(!1), x = U(null), S = n == null ? void 0 : n[_], O = ne(
2405
2405
  () => {
2406
- var S, k;
2407
- return (k = (S = C == null ? void 0 : C.backgroundImageUrl) != null ? S : i) != null ? k : "";
2406
+ var C, k;
2407
+ return (k = (C = S == null ? void 0 : S.backgroundImageUrl) != null ? C : r) != null ? k : "";
2408
2408
  },
2409
- [C, i]
2410
- ), B = Wa(E), A = !n || n.length === 0, O = (S, k) => {
2411
- r({
2409
+ [S, r]
2410
+ ), B = Wa(O), R = !n || n.length === 0, I = (C, k) => {
2411
+ l({
2412
2412
  element: "welcome_banner_button",
2413
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${S.title || "OraculoSeccionBonoBienvenida - Banner " + (k + 1)}`,
2413
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${C.title || "OraculoSeccionBonoBienvenida - Banner " + (k + 1)}`,
2414
2414
  target: "action",
2415
2415
  event_type: "click",
2416
2416
  module_id: 301,
@@ -2420,55 +2420,55 @@ const Fa = (t, a) => {
2420
2420
  banner_total: (n == null ? void 0 : n.length) || 0
2421
2421
  },
2422
2422
  tags: {
2423
- banner_title: S.title || "no_title",
2424
- button_text: S.buttonText || "no_text"
2423
+ banner_title: C.title || "no_title",
2424
+ button_text: C.buttonText || "no_text"
2425
2425
  }
2426
- }), S.onButtonClick && S.onButtonClick();
2427
- }, R = (S) => {
2428
- if (!c.current) return;
2429
- if (u.current) {
2430
- u.current = !1;
2426
+ }), C.onButtonClick && C.onButtonClick();
2427
+ }, A = (C) => {
2428
+ if (!s.current) return;
2429
+ if (d.current) {
2430
+ d.current = !1;
2431
2431
  return;
2432
2432
  }
2433
- const k = n == null ? void 0 : n[S];
2434
- r({
2433
+ const k = n == null ? void 0 : n[C];
2434
+ l({
2435
2435
  element: "welcome_banner_carousel",
2436
- label: `Landing: ${o} - OraculoSeccionBonoBienvenida - Banner view: ${(k == null ? void 0 : k.title) || "OraculoSeccionBonoBienvenida - Banner " + (S + 1)}`,
2436
+ label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(k == null ? void 0 : k.title) || "OraculoSeccionBonoBienvenida - Banner " + (C + 1)}`,
2437
2437
  target: "no_url",
2438
2438
  event_type: "view",
2439
2439
  module_id: 301,
2440
2440
  metadata: {
2441
2441
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2442
- slide_index: S + 1,
2442
+ slide_index: C + 1,
2443
2443
  total_slides: (n == null ? void 0 : n.length) || 0,
2444
2444
  interaction_type: "manual_slide"
2445
2445
  },
2446
2446
  tags: {
2447
- banner_position: String(S + 1),
2447
+ banner_position: String(C + 1),
2448
2448
  banner_title: (k == null ? void 0 : k.title) || "no_title"
2449
2449
  }
2450
2450
  });
2451
2451
  };
2452
2452
  K(() => {
2453
- const S = m.current;
2454
- if (!S) return;
2455
- const k = 6, F = 380, f = (l) => {
2456
- var $, N;
2457
- if (A || l.ctrlKey || T.current) return;
2458
- const s = l.deltaX, h = l.deltaY;
2459
- if (Math.abs(s) <= Math.abs(h) || Math.abs(s) < k) return;
2460
- const y = s > 0;
2461
- y && v.current.isEnd || !y && v.current.isStart || (l.preventDefault(), T.current = !0, y ? ($ = b.current) == null || $.next() : (N = b.current) == null || N.prev(), w.current && window.clearTimeout(w.current), w.current = window.setTimeout(() => {
2462
- T.current = !1;
2463
- }, F));
2453
+ const C = u.current;
2454
+ if (!C) return;
2455
+ const k = 6, P = 380, f = (w) => {
2456
+ var $, T;
2457
+ if (R || w.ctrlKey || N.current) return;
2458
+ const m = w.deltaX, o = w.deltaY;
2459
+ if (Math.abs(m) <= Math.abs(o) || Math.abs(m) < k) return;
2460
+ const h = m > 0;
2461
+ h && v.current.isEnd || !h && v.current.isStart || (w.preventDefault(), N.current = !0, h ? ($ = b.current) == null || $.next() : (T = b.current) == null || T.prev(), x.current && window.clearTimeout(x.current), x.current = window.setTimeout(() => {
2462
+ N.current = !1;
2463
+ }, P));
2464
2464
  };
2465
- return S.addEventListener("wheel", f, { passive: !1 }), () => {
2466
- S.removeEventListener("wheel", f), w.current && window.clearTimeout(w.current);
2465
+ return C.addEventListener("wheel", f, { passive: !1 }), () => {
2466
+ C.removeEventListener("wheel", f), x.current && window.clearTimeout(x.current);
2467
2467
  };
2468
- }, [A]);
2469
- const z = (S, k, F) => {
2470
- var s, h;
2471
- const f = (s = S.headline) != null ? s : t, l = (h = S.headline2) != null ? h : a;
2468
+ }, [R]);
2469
+ const z = (C, k, P) => {
2470
+ var m, o;
2471
+ const f = (m = C.headline) != null ? m : t, w = (o = C.headline2) != null ? o : a;
2472
2472
  return k ? /* @__PURE__ */ g(
2473
2473
  L,
2474
2474
  {
@@ -2482,7 +2482,7 @@ const Fa = (t, a) => {
2482
2482
  columnGap: 6
2483
2483
  },
2484
2484
  children: [
2485
- (f || l) && /* @__PURE__ */ e(
2485
+ (f || w) && /* @__PURE__ */ e(
2486
2486
  L,
2487
2487
  {
2488
2488
  sx: {
@@ -2493,9 +2493,9 @@ const Fa = (t, a) => {
2493
2493
  },
2494
2494
  children: /* @__PURE__ */ g(L, { sx: { ...Ue, textAlign: "left", mb: 0 }, children: [
2495
2495
  f && /* @__PURE__ */ e(ae, { component: "span", sx: qe, children: f }),
2496
- l && /* @__PURE__ */ g(Q, { children: [
2496
+ w && /* @__PURE__ */ g(Q, { children: [
2497
2497
  /* @__PURE__ */ e("br", {}),
2498
- /* @__PURE__ */ e(ae, { component: "span", sx: Ve, children: l })
2498
+ /* @__PURE__ */ e(ae, { component: "span", sx: Ve, children: w })
2499
2499
  ] })
2500
2500
  ] })
2501
2501
  }
@@ -2503,33 +2503,33 @@ const Fa = (t, a) => {
2503
2503
  /* @__PURE__ */ e(L, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e(L, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ e(
2504
2504
  Fe,
2505
2505
  {
2506
- ...S,
2507
- onButtonClick: () => O(S, F),
2506
+ ...C,
2507
+ onButtonClick: () => I(C, P),
2508
2508
  variant: "large"
2509
2509
  }
2510
2510
  ) }) })
2511
2511
  ]
2512
2512
  }
2513
2513
  ) : /* @__PURE__ */ g(L, { sx: { textAlign: "center" }, children: [
2514
- (f || l) && /* @__PURE__ */ g(L, { sx: Ue, children: [
2514
+ (f || w) && /* @__PURE__ */ g(L, { sx: Ue, children: [
2515
2515
  f && /* @__PURE__ */ e(ae, { component: "span", sx: qe, children: f }),
2516
- l && /* @__PURE__ */ g(Q, { children: [
2516
+ w && /* @__PURE__ */ g(Q, { children: [
2517
2517
  /* @__PURE__ */ e("br", {}),
2518
- /* @__PURE__ */ e(ae, { component: "span", sx: Ve, children: l })
2518
+ /* @__PURE__ */ e(ae, { component: "span", sx: Ve, children: w })
2519
2519
  ] })
2520
2520
  ] }),
2521
2521
  /* @__PURE__ */ e(L, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
2522
2522
  Fe,
2523
2523
  {
2524
- ...S,
2525
- onButtonClick: () => O(S, F),
2524
+ ...C,
2525
+ onButtonClick: () => I(C, P),
2526
2526
  variant: "small"
2527
2527
  }
2528
2528
  ) })
2529
2529
  ] });
2530
2530
  };
2531
2531
  return /* @__PURE__ */ g(L, { component: "section", sx: B, children: [
2532
- /* @__PURE__ */ e("div", { ref: m, style: { width: "100%" }, children: /* @__PURE__ */ e(
2532
+ /* @__PURE__ */ e("div", { ref: u, style: { width: "100%" }, children: /* @__PURE__ */ e(
2533
2533
  se,
2534
2534
  {
2535
2535
  ref: b,
@@ -2546,9 +2546,9 @@ const Fa = (t, a) => {
2546
2546
  // arrows: false,
2547
2547
  // drag: true,
2548
2548
  },
2549
- renderItem: (S, k) => /* @__PURE__ */ e(L, { sx: { width: "100%" }, children: z(S, !d, k) }),
2550
- onMove: ({ index: S, isStart: k, isEnd: F }) => {
2551
- x(S), typeof k == "boolean" && typeof F == "boolean" && M({ isStart: k, isEnd: F }), R(S);
2549
+ renderItem: (C, k) => /* @__PURE__ */ e(L, { sx: { width: "100%" }, children: z(C, !c, k) }),
2550
+ onMove: ({ index: C, isStart: k, isEnd: P }) => {
2551
+ y(C), typeof k == "boolean" && typeof P == "boolean" && M({ isStart: k, isEnd: P }), A(C);
2552
2552
  }
2553
2553
  }
2554
2554
  ) }),
@@ -2557,23 +2557,23 @@ const Fa = (t, a) => {
2557
2557
  {
2558
2558
  total: n.length,
2559
2559
  active: _,
2560
- onSelect: (S) => {
2560
+ onSelect: (C) => {
2561
2561
  var k;
2562
- r({
2562
+ l({
2563
2563
  element: "welcome_banner_dots",
2564
- label: `Landing: ${o} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${S + 1}`,
2564
+ label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${C + 1}`,
2565
2565
  target: "no_url",
2566
2566
  event_type: "click",
2567
2567
  module_id: 301,
2568
2568
  metadata: {
2569
2569
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2570
- dot_index: S + 1,
2570
+ dot_index: C + 1,
2571
2571
  total_dots: n.length
2572
2572
  },
2573
2573
  tags: {
2574
2574
  navigation_type: "dot_click"
2575
2575
  }
2576
- }), x(S), (k = b.current) == null || k.go(S);
2576
+ }), y(C), (k = b.current) == null || k.go(C);
2577
2577
  }
2578
2578
  }
2579
2579
  ) })
@@ -2582,12 +2582,12 @@ const Fa = (t, a) => {
2582
2582
  className: t = "",
2583
2583
  fullBleed: a = !0,
2584
2584
  items: n,
2585
- selectedIndex: i = 0,
2586
- ariaLabel: r
2585
+ selectedIndex: r = 0,
2586
+ ariaLabel: l
2587
2587
  }) => {
2588
- const o = U(null), d = U(null), p = J(), b = X();
2588
+ const i = U(null), c = U(null), p = J(), b = X();
2589
2589
  if (!n) return null;
2590
- const m = () => {
2590
+ const u = () => {
2591
2591
  p({
2592
2592
  element: "club_olimpo_button",
2593
2593
  label: `Landing: ${b} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
@@ -2599,18 +2599,18 @@ const Fa = (t, a) => {
2599
2599
  },
2600
2600
  tags: { section: "OraculoSeccionClubOlimpo" }
2601
2601
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2602
- }, c = Array.isArray(n) ? n[i] : n;
2602
+ }, s = Array.isArray(n) ? n[r] : n;
2603
2603
  gt(() => {
2604
- if (!o.current || !d.current || typeof ResizeObserver == "undefined") return;
2605
- const _ = o.current, x = d.current, I = () => {
2604
+ if (!i.current || !c.current || typeof ResizeObserver == "undefined") return;
2605
+ const _ = i.current, y = c.current, E = () => {
2606
2606
  _.style.setProperty(
2607
2607
  "--orc-co-bottomH",
2608
- `${x.offsetHeight + 16}px`
2608
+ `${y.offsetHeight + 16}px`
2609
2609
  );
2610
- }, M = new ResizeObserver(I);
2611
- return M.observe(x), I(), () => M.disconnect();
2610
+ }, M = new ResizeObserver(E);
2611
+ return M.observe(y), E(), () => M.disconnect();
2612
2612
  }, []);
2613
- const u = [
2613
+ const d = [
2614
2614
  "orc-co-wrap",
2615
2615
  a ? "orc-co-fullBleed" : "",
2616
2616
  t
@@ -2618,18 +2618,18 @@ const Fa = (t, a) => {
2618
2618
  return /* @__PURE__ */ e(
2619
2619
  "section",
2620
2620
  {
2621
- ref: o,
2622
- className: u,
2623
- "aria-label": r || c.imgAlt || "Club Olimpo",
2624
- children: /* @__PURE__ */ e("div", { ref: d, children: /* @__PURE__ */ e(
2621
+ ref: i,
2622
+ className: d,
2623
+ "aria-label": l || s.imgAlt || "Club Olimpo",
2624
+ children: /* @__PURE__ */ e("div", { ref: c, children: /* @__PURE__ */ e(
2625
2625
  ra,
2626
2626
  {
2627
- text: c.text,
2628
- onClick: m,
2629
- imgAlt: c.imgAlt,
2630
- imgSrcMobile: c.imgMobile,
2631
- imgSrcDesktopBg: c.imgDesktopBg,
2632
- imgSrcDesktopLogo: c.imgDesktopLogo
2627
+ text: s.text,
2628
+ onClick: u,
2629
+ imgAlt: s.imgAlt,
2630
+ imgSrcMobile: s.imgMobile,
2631
+ imgSrcDesktopBg: s.imgDesktopBg,
2632
+ imgSrcDesktopLogo: s.imgDesktopLogo
2633
2633
  }
2634
2634
  ) })
2635
2635
  }
@@ -2639,29 +2639,29 @@ const Fa = (t, a) => {
2639
2639
  padding: Ka
2640
2640
  }, Za = (t) => {
2641
2641
  var a, n;
2642
- return (a = t.outcome) != null && a.id ? [t.outcome.id] : t.type === "BET_BUILDER" && ((n = t.group) != null && n.groups) ? t.group.groups.flatMap((i) => {
2643
- var r, o;
2644
- return (o = (r = i.outcomes) == null ? void 0 : r.map((d) => d.id)) != null ? o : [];
2642
+ return (a = t.outcome) != null && a.id ? [t.outcome.id] : t.type === "BET_BUILDER" && ((n = t.group) != null && n.groups) ? t.group.groups.flatMap((r) => {
2643
+ var l, i;
2644
+ return (i = (l = r.outcomes) == null ? void 0 : l.map((c) => c.id)) != null ? i : [];
2645
2645
  }) : [];
2646
2646
  };
2647
2647
  function Ja(t, a, n) {
2648
- return n ? n.map((i) => {
2649
- var c, u, _, x, I, M;
2650
- const r = i.prePackCouponRows.flatMap((v) => Za(v).map((T) => ({ eventId: v.eventId, outcomeId: T }))), o = new Set(r.map((v) => v.eventId)), d = new Set(r.map((v) => v.outcomeId)), p = new Map(r.map((v, T) => [v.outcomeId, T])), b = {};
2648
+ return n ? n.map((r) => {
2649
+ var s, d, _, y, E, M;
2650
+ const l = r.prePackCouponRows.flatMap((v) => Za(v).map((N) => ({ eventId: v.eventId, outcomeId: N }))), i = new Set(l.map((v) => v.eventId)), c = new Set(l.map((v) => v.outcomeId)), p = new Map(l.map((v, N) => [v.outcomeId, N])), b = {};
2651
2651
  for (const v of a) {
2652
- if (!o.has(v.eventId)) continue;
2653
- const T = v.outcomes.filter((w) => d.has(w.id)).map((w) => ({ ...w, position: p.get(w.id) }));
2654
- T.length && ((u = b[c = v.eventId]) != null || (b[c] = []), b[v.eventId].push({ ...v, outcomes: T }));
2652
+ if (!i.has(v.eventId)) continue;
2653
+ const N = v.outcomes.filter((x) => c.has(x.id)).map((x) => ({ ...x, position: p.get(x.id) }));
2654
+ N.length && ((d = b[s = v.eventId]) != null || (b[s] = []), b[v.eventId].push({ ...v, outcomes: N }));
2655
2655
  }
2656
- const m = t.filter((v) => o.has(v.id)).map((v) => {
2657
- var T;
2658
- return { ...v, betoffers: (T = b[v.id]) != null ? T : [] };
2656
+ const u = t.filter((v) => i.has(v.id)).map((v) => {
2657
+ var N;
2658
+ return { ...v, betoffers: (N = b[v.id]) != null ? N : [] };
2659
2659
  });
2660
2660
  return {
2661
- couponId: i.id,
2662
- status: i.status,
2663
- combinadoTotal: (M = (I = (x = (_ = i.prePackCouponBets) == null ? void 0 : _[0]) == null ? void 0 : x.odds) == null ? void 0 : I.decimal) != null ? M : null,
2664
- events: m
2661
+ couponId: r.id,
2662
+ status: r.status,
2663
+ combinadoTotal: (M = (E = (y = (_ = r.prePackCouponBets) == null ? void 0 : _[0]) == null ? void 0 : y.odds) == null ? void 0 : E.decimal) != null ? M : null,
2664
+ events: u
2665
2665
  };
2666
2666
  }) : [];
2667
2667
  }
@@ -2670,37 +2670,37 @@ function Ya({
2670
2670
  items: t,
2671
2671
  title: a = "Combinadas del Olimpo",
2672
2672
  iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
2673
- onViewMore: i,
2674
- className: r = ""
2673
+ onViewMore: r,
2674
+ className: l = ""
2675
2675
  }) {
2676
- const o = J(), d = X(), p = U(null), [b, m] = W({ isStart: !0, isEnd: !1 }), [c, u] = W([]), _ = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", x = () => {
2677
- var C;
2678
- o({
2676
+ const i = J(), c = X(), p = U(null), [b, u] = j({ isStart: !0, isEnd: !1 }), [s, d] = j([]), _ = "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", y = () => {
2677
+ var S;
2678
+ i({
2679
2679
  element: "evento_combinadas_prev",
2680
- label: `Landing: ${d} - OraculoSeccionEventoCombinadas - Click: Anterior`,
2680
+ label: `Landing: ${c} - OraculoSeccionEventoCombinadas - Click: Anterior`,
2681
2681
  event_type: "click",
2682
2682
  module_id: 301,
2683
2683
  metadata: {
2684
2684
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2685
2685
  },
2686
2686
  tags: { section: "OraculoSeccionEventoCombinadas" }
2687
- }), (C = p.current) == null || C.prev();
2688
- }, I = () => {
2689
- var C;
2690
- o({
2687
+ }), (S = p.current) == null || S.prev();
2688
+ }, E = () => {
2689
+ var S;
2690
+ i({
2691
2691
  element: "evento_combinadas_next",
2692
- label: `Landing: ${d} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
2692
+ label: `Landing: ${c} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
2693
2693
  event_type: "click",
2694
2694
  module_id: 301,
2695
2695
  metadata: {
2696
2696
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2697
2697
  },
2698
2698
  tags: { section: "OraculoSeccionEventoCombinadas" }
2699
- }), (C = p.current) == null || C.next();
2699
+ }), (S = p.current) == null || S.next();
2700
2700
  }, M = () => {
2701
- o({
2701
+ i({
2702
2702
  element: "evento_combinadas_ver_mas",
2703
- label: `Landing: ${d} - OraculoSeccionEventoCombinadas - Click: Ver más`,
2703
+ label: `Landing: ${c} - OraculoSeccionEventoCombinadas - Click: Ver más`,
2704
2704
  event_type: "click",
2705
2705
  module_id: 301,
2706
2706
  metadata: {
@@ -2708,59 +2708,59 @@ function Ya({
2708
2708
  },
2709
2709
  tags: { section: "OraculoSeccionEventoCombinadas" }
2710
2710
  }), va();
2711
- }, v = ne(() => c.filter((C) => C.combinadoTotal !== null), [c]);
2712
- async function T() {
2713
- var C, E, B;
2711
+ }, v = ne(() => s.filter((S) => S.combinadoTotal !== null), [s]);
2712
+ async function N() {
2713
+ var S, O, B;
2714
2714
  try {
2715
- const O = await (await fetch(_)).json(), R = (B = (E = (C = O == null ? void 0 : O.group) == null ? void 0 : C.groups) == null ? void 0 : E[0]) == null ? void 0 : B.id;
2716
- if (!R) {
2715
+ const I = await (await fetch(_)).json(), A = (B = (O = (S = I == null ? void 0 : I.group) == null ? void 0 : S.groups) == null ? void 0 : O[0]) == null ? void 0 : B.id;
2716
+ if (!A) {
2717
2717
  console.error("Could not extract group ID");
2718
2718
  return;
2719
2719
  }
2720
- const z = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${R}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, k = await (await fetch(z)).json();
2721
- u(Ja(k.events, k.betOffers, k.prePackCoupons));
2722
- } catch (A) {
2723
- console.error("loadDataEventSpecial error:", A);
2720
+ const z = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${A}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, k = await (await fetch(z)).json();
2721
+ d(Ja(k.events, k.betOffers, k.prePackCoupons));
2722
+ } catch (R) {
2723
+ console.error("loadDataEventSpecial error:", R);
2724
2724
  }
2725
2725
  }
2726
2726
  K(() => {
2727
- T();
2727
+ N();
2728
2728
  }, []);
2729
- const w = r || void 0;
2730
- return v.length === 0 ? null : /* @__PURE__ */ e("section", { className: w, style: {
2729
+ const x = l || void 0;
2730
+ return v.length === 0 ? null : /* @__PURE__ */ e("section", { className: x, style: {
2731
2731
  // paddingLeft: 16,
2732
2732
  // paddingRight: 16,
2733
2733
  width: "100%",
2734
2734
  boxSizing: "border-box"
2735
- }, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2735
+ }, children: /* @__PURE__ */ g(D, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2736
2736
  /* @__PURE__ */ e("div", { className: De.padding, children: /* @__PURE__ */ g(oe, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2737
2737
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
2738
2738
  /* @__PURE__ */ g("div", { className: De.controls, children: [
2739
2739
  /* @__PURE__ */ g(oe, { spacing: 1, columns: "auto auto", children: [
2740
2740
  /* @__PURE__ */ e(
2741
- G,
2741
+ H,
2742
2742
  {
2743
2743
  ariaLabel: "Anterior",
2744
2744
  variant: "secondary",
2745
2745
  iconOnly: !0,
2746
2746
  leftIcon: /* @__PURE__ */ e(Ee, {}),
2747
- onClick: x,
2747
+ onClick: y,
2748
2748
  disabled: b.isStart
2749
2749
  }
2750
2750
  ),
2751
2751
  /* @__PURE__ */ e(
2752
- G,
2752
+ H,
2753
2753
  {
2754
2754
  ariaLabel: "Siguiente",
2755
2755
  variant: "secondary",
2756
2756
  iconOnly: !0,
2757
2757
  rightIcon: /* @__PURE__ */ e(Ie, {}),
2758
- onClick: I,
2758
+ onClick: E,
2759
2759
  disabled: b.isEnd
2760
2760
  }
2761
2761
  )
2762
2762
  ] }),
2763
- /* @__PURE__ */ e(G, { variant: "secondary", onClick: M, children: "Ver más" })
2763
+ /* @__PURE__ */ e(H, { variant: "secondary", onClick: M, children: "Ver más" })
2764
2764
  ] })
2765
2765
  ] }) }),
2766
2766
  /* @__PURE__ */ e(
@@ -2777,8 +2777,8 @@ function Ya({
2777
2777
  breakpoints: {
2778
2778
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
2779
2779
  },
2780
- renderItem: (C) => /* @__PURE__ */ e(Xa, { coupon: C }),
2781
- onMove: ({ isStart: C, isEnd: E }) => m({ isStart: C, isEnd: E })
2780
+ renderItem: (S) => /* @__PURE__ */ e(Xa, { coupon: S }),
2781
+ onMove: ({ isStart: S, isEnd: O }) => u({ isStart: S, isEnd: O })
2782
2782
  }
2783
2783
  )
2784
2784
  ] }) });
@@ -2788,30 +2788,30 @@ function Qa({}) {
2788
2788
  "div",
2789
2789
  {
2790
2790
  className: xe.cardWrapper,
2791
- children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1, children: [
2792
- /* @__PURE__ */ g(V, { spacing: 1, direction: "row", children: [
2793
- /* @__PURE__ */ e(q, { variant: "text", width: "60%", height: 24 }),
2794
- /* @__PURE__ */ e(q, { variant: "text", width: "39%", height: 24 })
2791
+ children: /* @__PURE__ */ g(D, { direction: "column", spacing: 1, children: [
2792
+ /* @__PURE__ */ g(D, { spacing: 1, direction: "row", children: [
2793
+ /* @__PURE__ */ e(V, { variant: "text", width: "60%", height: 24 }),
2794
+ /* @__PURE__ */ e(V, { variant: "text", width: "39%", height: 24 })
2795
2795
  ] }),
2796
- /* @__PURE__ */ g(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2797
- /* @__PURE__ */ e(q, { variant: "circular", width: 32, height: 40 }),
2798
- /* @__PURE__ */ e(q, { variant: "text", width: 40, height: 40 }),
2799
- /* @__PURE__ */ e(q, { variant: "circular", width: 32, height: 40 })
2796
+ /* @__PURE__ */ g(D, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2797
+ /* @__PURE__ */ e(V, { variant: "circular", width: 32, height: 40 }),
2798
+ /* @__PURE__ */ e(V, { variant: "text", width: 40, height: 40 }),
2799
+ /* @__PURE__ */ e(V, { variant: "circular", width: 32, height: 40 })
2800
2800
  ] }),
2801
- /* @__PURE__ */ g(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2802
- /* @__PURE__ */ e(q, { variant: "text", width: 32, height: 16 }),
2803
- /* @__PURE__ */ e(q, { variant: "text", width: 40, height: 16 }),
2804
- /* @__PURE__ */ e(q, { variant: "text", width: 32, height: 16 })
2801
+ /* @__PURE__ */ g(D, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2802
+ /* @__PURE__ */ e(V, { variant: "text", width: 32, height: 16 }),
2803
+ /* @__PURE__ */ e(V, { variant: "text", width: 40, height: 16 }),
2804
+ /* @__PURE__ */ e(V, { variant: "text", width: 32, height: 16 })
2805
2805
  ] }),
2806
- /* @__PURE__ */ g(V, { spacing: 2, direction: "row", children: [
2807
- /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 16 }),
2808
- /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 16 }),
2809
- /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 16 })
2806
+ /* @__PURE__ */ g(D, { spacing: 2, direction: "row", children: [
2807
+ /* @__PURE__ */ e(V, { variant: "rounded", width: 88, height: 16 }),
2808
+ /* @__PURE__ */ e(V, { variant: "rounded", width: 88, height: 16 }),
2809
+ /* @__PURE__ */ e(V, { variant: "rounded", width: 88, height: 16 })
2810
2810
  ] }),
2811
- /* @__PURE__ */ g(V, { spacing: 2, direction: "row", children: [
2812
- /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 32 }),
2813
- /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 32 }),
2814
- /* @__PURE__ */ e(q, { variant: "rounded", width: 88, height: 32 })
2811
+ /* @__PURE__ */ g(D, { spacing: 2, direction: "row", children: [
2812
+ /* @__PURE__ */ e(V, { variant: "rounded", width: 88, height: 32 }),
2813
+ /* @__PURE__ */ e(V, { variant: "rounded", width: 88, height: 32 }),
2814
+ /* @__PURE__ */ e(V, { variant: "rounded", width: 88, height: 32 })
2815
2815
  ] })
2816
2816
  ] })
2817
2817
  }
@@ -2828,24 +2828,24 @@ const an = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", nn = {
2828
2828
  }, on = (t) => {
2829
2829
  const a = ["esports", "cyber"];
2830
2830
  return t.filter((n) => {
2831
- var r;
2831
+ var l;
2832
2832
  if (n.event.sport !== "FOOTBALL") return !1;
2833
- const i = ((r = n.event.group) == null ? void 0 : r.toLowerCase()) || "";
2834
- return !a.some((o) => i.includes(o));
2833
+ const r = ((l = n.event.group) == null ? void 0 : l.toLowerCase()) || "";
2834
+ return !a.some((i) => r.includes(i));
2835
2835
  });
2836
2836
  }, rn = de.memo(Ca);
2837
2837
  function ln({
2838
2838
  items: t,
2839
2839
  title: a = "En vivo",
2840
2840
  iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
2841
- onViewMore: i,
2842
- className: r = ""
2841
+ onViewMore: r,
2842
+ className: l = ""
2843
2843
  }) {
2844
- const o = "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", d = U(null), [p, b] = W({ isStart: !0, isEnd: !1 }), [m, c] = W(null), [u, _] = W({}), [x, I] = W({ start: null, end: null }), M = U(!1), [v, T] = W(null), w = U(!1), C = J(), E = X(), B = U(/* @__PURE__ */ new Map()), A = nt(x, 300), O = U(/* @__PURE__ */ new Set()), R = () => {
2845
- var s;
2846
- C({
2844
+ const i = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", c = U(null), [p, b] = j({ isStart: !0, isEnd: !1 }), [u, s] = j(null), [d, _] = j({}), [y, E] = j({ start: null, end: null }), M = U(!1), [v, N] = j(null), x = U(!1), S = J(), O = X(), B = U(/* @__PURE__ */ new Map()), R = nt(y, 300), I = U(/* @__PURE__ */ new Set()), A = () => {
2845
+ var m;
2846
+ S({
2847
2847
  element: "evento_en_vivo_prev",
2848
- label: `Landing: ${E} - OraculoSeccionEventoEnVivo - Anterior`,
2848
+ label: `Landing: ${O} - OraculoSeccionEventoEnVivo - Anterior`,
2849
2849
  target: "prev",
2850
2850
  event_type: "click",
2851
2851
  module_id: 301,
@@ -2853,12 +2853,12 @@ function ln({
2853
2853
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2854
2854
  },
2855
2855
  tags: { section: "OraculoSeccionEventoEnVivo" }
2856
- }), (s = d.current) == null || s.prev();
2856
+ }), (m = c.current) == null || m.prev();
2857
2857
  }, z = () => {
2858
- var s;
2859
- C({
2858
+ var m;
2859
+ S({
2860
2860
  element: "evento_en_vivo_next",
2861
- label: `Landing: ${E} - OraculoSeccionEventoEnVivo - Siguiente`,
2861
+ label: `Landing: ${O} - OraculoSeccionEventoEnVivo - Siguiente`,
2862
2862
  target: "next",
2863
2863
  event_type: "click",
2864
2864
  module_id: 301,
@@ -2866,11 +2866,11 @@ function ln({
2866
2866
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2867
2867
  },
2868
2868
  tags: { section: "OraculoSeccionEventoEnVivo" }
2869
- }), (s = d.current) == null || s.next();
2870
- }, S = () => {
2871
- C({
2869
+ }), (m = c.current) == null || m.next();
2870
+ }, C = () => {
2871
+ S({
2872
2872
  element: "evento_en_vivo_view_more",
2873
- label: `Landing: ${E} - OraculoSeccionEventoEnVivo - Ver más`,
2873
+ label: `Landing: ${O} - OraculoSeccionEventoEnVivo - Ver más`,
2874
2874
  target: "ver_mas",
2875
2875
  event_type: "click",
2876
2876
  module_id: 301,
@@ -2880,82 +2880,82 @@ function ln({
2880
2880
  tags: { section: "OraculoSeccionEventoEnVivo" }
2881
2881
  }), ha();
2882
2882
  }, k = _e(async () => {
2883
- var s;
2883
+ var m;
2884
2884
  try {
2885
- if (!w.current) {
2886
- w.current = !0;
2885
+ if (!x.current) {
2886
+ x.current = !0;
2887
2887
  try {
2888
- const P = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), j = ((s = P == null ? void 0 : P.data) == null ? void 0 : s.event_ids) || [], D = /* @__PURE__ */ new Map();
2889
- j.forEach((H, Y) => D.set(String(H), Y)), B.current = D;
2890
- } catch (N) {
2891
- console.error("Order fetch failed, using default sorting", N);
2888
+ const F = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((m = F == null ? void 0 : F.data) == null ? void 0 : m.event_ids) || [], q = /* @__PURE__ */ new Map();
2889
+ G.forEach((W, Y) => q.set(String(W), Y)), B.current = q;
2890
+ } catch (T) {
2891
+ console.error("Order fetch failed, using default sorting", T);
2892
2892
  }
2893
2893
  }
2894
- const h = await fetch(o);
2895
- if (!h.ok) throw new Error("Failed to fetch live events");
2896
- const y = await h.json(), $ = on(y.events);
2894
+ const o = await fetch(i);
2895
+ if (!o.ok) throw new Error("Failed to fetch live events");
2896
+ const h = await o.json(), $ = on(h.events);
2897
2897
  if (B.current.size === 0)
2898
- c($);
2898
+ s($);
2899
2899
  else {
2900
- const N = [...$].sort((P, j) => {
2901
- const D = B.current.get(String(P.event.id)), H = B.current.get(String(j.event.id));
2902
- return (D !== void 0 ? D : 1 / 0) - (H !== void 0 ? H : 1 / 0);
2900
+ const T = [...$].sort((F, G) => {
2901
+ const q = B.current.get(String(F.event.id)), W = B.current.get(String(G.event.id));
2902
+ return (q !== void 0 ? q : 1 / 0) - (W !== void 0 ? W : 1 / 0);
2903
2903
  });
2904
- c(N);
2904
+ s(T);
2905
2905
  }
2906
- } catch (h) {
2907
- console.error("LoadData Error:", h);
2906
+ } catch (o) {
2907
+ console.error("LoadData Error:", o);
2908
2908
  }
2909
2909
  }, []);
2910
2910
  K(() => {
2911
2911
  k();
2912
- const s = setInterval(k, 2e4);
2913
- return () => clearInterval(s);
2912
+ const m = setInterval(k, 2e4);
2913
+ return () => clearInterval(m);
2914
2914
  }, [k]), K(() => {
2915
- if (A.start === null || A.end === null || !(m != null && m.length) || M.current)
2915
+ if (R.start === null || R.end === null || !(u != null && u.length) || M.current)
2916
2916
  return;
2917
- const s = 3, h = Math.max(0, A.start - s), y = Math.min(m.length - 1, A.end + s), $ = m.slice(h, y + 1).map((N) => {
2918
- var P;
2919
- return (P = N == null ? void 0 : N.event) == null ? void 0 : P.id;
2920
- }).filter((N) => N && !O.current.has(N));
2921
- $.length !== 0 && ($.forEach((N) => O.current.add(N)), M.current = !0, at($).then((N) => {
2922
- N != null && N.events && _((P) => ({
2923
- ...P,
2924
- ...N.events
2917
+ const m = 3, o = Math.max(0, R.start - m), h = Math.min(u.length - 1, R.end + m), $ = u.slice(o, h + 1).map((T) => {
2918
+ var F;
2919
+ return (F = T == null ? void 0 : T.event) == null ? void 0 : F.id;
2920
+ }).filter((T) => T && !I.current.has(T));
2921
+ $.length !== 0 && ($.forEach((T) => I.current.add(T)), M.current = !0, at($).then((T) => {
2922
+ T != null && T.events && _((F) => ({
2923
+ ...F,
2924
+ ...T.events
2925
2925
  }));
2926
- }).catch((N) => {
2927
- console.error("Jersey fetch error", N), $.forEach((P) => O.current.delete(P));
2926
+ }).catch((T) => {
2927
+ console.error("Jersey fetch error", T), $.forEach((F) => I.current.delete(F));
2928
2928
  }).finally(() => {
2929
2929
  M.current = !1;
2930
2930
  }));
2931
- }, [A, m]);
2932
- const F = r || void 0, f = m === null;
2933
- if (!f && m.length === 0)
2931
+ }, [R, u]);
2932
+ const P = l || void 0, f = u === null;
2933
+ if (!f && u.length === 0)
2934
2934
  return null;
2935
- const l = ne(() => f ? Array(4).fill({}) : (m == null ? void 0 : m.slice(0, 20)) || [], [f, m]);
2936
- return /* @__PURE__ */ e("section", { className: F, style: {
2935
+ const w = ne(() => f ? Array(4).fill({}) : (u == null ? void 0 : u.slice(0, 20)) || [], [f, u]);
2936
+ return /* @__PURE__ */ e("section", { className: P, style: {
2937
2937
  // paddingLeft: 16,
2938
2938
  // paddingRight: 16,
2939
2939
  width: "100%",
2940
2940
  boxSizing: "border-box"
2941
- }, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2941
+ }, children: /* @__PURE__ */ g(D, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2942
2942
  /* @__PURE__ */ e("div", { className: nn.padding, children: /* @__PURE__ */ g(oe, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2943
2943
  /* @__PURE__ */ e(le, { title: a, iconUrl: n, size: "md" }),
2944
2944
  /* @__PURE__ */ g("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
2945
2945
  /* @__PURE__ */ g(oe, { spacing: 1, columns: "auto auto", children: [
2946
2946
  /* @__PURE__ */ e(
2947
- G,
2947
+ H,
2948
2948
  {
2949
2949
  ariaLabel: "Anterior",
2950
2950
  variant: "secondary",
2951
2951
  iconOnly: !0,
2952
2952
  leftIcon: /* @__PURE__ */ e(Ee, {}),
2953
- onClick: R,
2953
+ onClick: A,
2954
2954
  disabled: p.isStart
2955
2955
  }
2956
2956
  ),
2957
2957
  /* @__PURE__ */ e(
2958
- G,
2958
+ H,
2959
2959
  {
2960
2960
  ariaLabel: "Siguiente",
2961
2961
  variant: "secondary",
@@ -2966,14 +2966,14 @@ function ln({
2966
2966
  }
2967
2967
  )
2968
2968
  ] }),
2969
- /* @__PURE__ */ e(G, { variant: "secondary", onClick: S, children: "Ver más" })
2969
+ /* @__PURE__ */ e(H, { variant: "secondary", onClick: C, children: "Ver más" })
2970
2970
  ] })
2971
2971
  ] }) }),
2972
2972
  /* @__PURE__ */ e(
2973
2973
  se,
2974
2974
  {
2975
- ref: d,
2976
- items: l,
2975
+ ref: c,
2976
+ items: w,
2977
2977
  perPage: void 0,
2978
2978
  showRightGradient: !0,
2979
2979
  enableHorizontalWheel: !0,
@@ -2984,21 +2984,21 @@ function ln({
2984
2984
  768: { gap: "8px", focus: "center", padding: { left: "24px", right: "24px" } },
2985
2985
  1024: { gap: "10px", focus: "center", padding: { left: "24px", right: "24px" } }
2986
2986
  },
2987
- renderItem: (s) => {
2987
+ renderItem: (m) => {
2988
2988
  var $;
2989
- const h = (($ = s.event) == null ? void 0 : $.id) || s.eventId, y = h in u ? u[h] : void 0;
2989
+ const o = (($ = m.event) == null ? void 0 : $.id) || m.eventId, h = o in d ? d[o] : void 0;
2990
2990
  return f ? /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(Qa, {}) }) : /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(
2991
2991
  rn,
2992
2992
  {
2993
- ...s,
2994
- jersey: y
2993
+ ...m,
2994
+ jersey: h
2995
2995
  }
2996
2996
  ) });
2997
2997
  },
2998
- onMove: ({ isStart: s, isEnd: h, visibleStart: y, visibleEnd: $ }) => {
2998
+ onMove: ({ isStart: m, isEnd: o, visibleStart: h, visibleEnd: $ }) => {
2999
2999
  b(
3000
- (N) => N.isStart === s && N.isEnd === h ? N : { isStart: s, isEnd: h }
3001
- ), I({ start: y, end: $ });
3000
+ (T) => T.isStart === m && T.isEnd === o ? T : { isStart: m, isEnd: o }
3001
+ ), E({ start: h, end: $ });
3002
3002
  }
3003
3003
  }
3004
3004
  )
@@ -3007,26 +3007,26 @@ function ln({
3007
3007
  function sn() {
3008
3008
  return /* @__PURE__ */ g("div", { className: ce.cardContainer, children: [
3009
3009
  /* @__PURE__ */ e(Qe, { title: "" }),
3010
- /* @__PURE__ */ e("div", { className: ce.cardBackground, children: /* @__PURE__ */ g(V, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3011
- /* @__PURE__ */ g(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3012
- /* @__PURE__ */ e(q, { variant: "circular", width: 48, height: 48 }),
3013
- /* @__PURE__ */ e(q, { variant: "circular", width: 48, height: 48 })
3010
+ /* @__PURE__ */ e("div", { className: ce.cardBackground, children: /* @__PURE__ */ g(D, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3011
+ /* @__PURE__ */ g(D, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3012
+ /* @__PURE__ */ e(V, { variant: "circular", width: 48, height: 48 }),
3013
+ /* @__PURE__ */ e(V, { variant: "circular", width: 48, height: 48 })
3014
3014
  ] }),
3015
- /* @__PURE__ */ g(V, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3016
- /* @__PURE__ */ g(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3017
- /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 12 }),
3018
- /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 12 })
3015
+ /* @__PURE__ */ g(D, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3016
+ /* @__PURE__ */ g(D, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3017
+ /* @__PURE__ */ e(V, { variant: "text", width: 80, height: 12 }),
3018
+ /* @__PURE__ */ e(V, { variant: "text", width: 80, height: 12 })
3019
3019
  ] }),
3020
- /* @__PURE__ */ e(V, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(q, { variant: "text", width: 160, height: 12 }) }),
3021
- /* @__PURE__ */ g(V, { direction: "row", spacing: 1, children: [
3022
- /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 16 }),
3023
- /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 16 }),
3024
- /* @__PURE__ */ e(q, { variant: "text", width: 80, height: 16 })
3020
+ /* @__PURE__ */ e(D, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(V, { variant: "text", width: 160, height: 12 }) }),
3021
+ /* @__PURE__ */ g(D, { direction: "row", spacing: 1, children: [
3022
+ /* @__PURE__ */ e(V, { variant: "text", width: 80, height: 16 }),
3023
+ /* @__PURE__ */ e(V, { variant: "text", width: 80, height: 16 }),
3024
+ /* @__PURE__ */ e(V, { variant: "text", width: 80, height: 16 })
3025
3025
  ] }),
3026
- /* @__PURE__ */ e("div", { className: ce.jugadas, children: /* @__PURE__ */ g(V, { direction: "row", spacing: 1, children: [
3027
- /* @__PURE__ */ e(q, { variant: "rounded", width: 80, height: 32 }),
3028
- /* @__PURE__ */ e(q, { variant: "rounded", width: 80, height: 32 }),
3029
- /* @__PURE__ */ e(q, { variant: "rounded", width: 80, height: 32 })
3026
+ /* @__PURE__ */ e("div", { className: ce.jugadas, children: /* @__PURE__ */ g(D, { direction: "row", spacing: 1, children: [
3027
+ /* @__PURE__ */ e(V, { variant: "rounded", width: 80, height: 32 }),
3028
+ /* @__PURE__ */ e(V, { variant: "rounded", width: 80, height: 32 }),
3029
+ /* @__PURE__ */ e(V, { variant: "rounded", width: 80, height: 32 })
3030
3030
  ] }) })
3031
3031
  ] })
3032
3032
  ] }) })
@@ -3039,16 +3039,16 @@ const cn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", dn = "
3039
3039
  padding: mn
3040
3040
  }, pn = de.memo(Ma);
3041
3041
  async function gn(t, a = 2, n) {
3042
- const i = [];
3043
- for (let r = 0; r < t.length; r += a) {
3042
+ const r = [];
3043
+ for (let l = 0; l < t.length; l += a) {
3044
3044
  if (n.aborted)
3045
3045
  throw new DOMException("Aborted", "AbortError");
3046
- const o = t.slice(r, r + a), d = await Promise.all(
3047
- o.map((p) => fetch(p, { signal: n }).then((b) => b.json()))
3046
+ const i = t.slice(l, l + a), c = await Promise.all(
3047
+ i.map((p) => fetch(p, { signal: n }).then((b) => b.json()))
3048
3048
  );
3049
- i.push(...d);
3049
+ r.push(...c);
3050
3050
  }
3051
- return i;
3051
+ return r;
3052
3052
  }
3053
3053
  function fn(t) {
3054
3054
  return [...t].sort(
@@ -3057,37 +3057,37 @@ function fn(t) {
3057
3057
  }
3058
3058
  function hn(t) {
3059
3059
  const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
3060
- return t.filter((i) => {
3061
- if (!i.start) return !1;
3062
- const r = new Date(i.start);
3063
- return r >= a && r <= n;
3060
+ return t.filter((r) => {
3061
+ if (!r.start) return !1;
3062
+ const l = new Date(r.start);
3063
+ return l >= a && l <= n;
3064
3064
  });
3065
3065
  }
3066
3066
  function bn(t, a) {
3067
- const i = a.filter((r) => {
3068
- var o;
3069
- return ((o = r.betOfferType) == null ? void 0 : o.id) === 2;
3070
- }).reduce((r, o) => (r[o.eventId] || (r[o.eventId] = []), r[o.eventId].push(o), r), {});
3071
- return t.filter((r) => i[r.id]).map((r) => ({
3072
- ...r,
3073
- outcome: i[r.id]
3067
+ const r = a.filter((l) => {
3068
+ var i;
3069
+ return ((i = l.betOfferType) == null ? void 0 : i.id) === 2;
3070
+ }).reduce((l, i) => (l[i.eventId] || (l[i.eventId] = []), l[i.eventId].push(i), l), {});
3071
+ return t.filter((l) => r[l.id]).map((l) => ({
3072
+ ...l,
3073
+ outcome: r[l.id]
3074
3074
  }));
3075
3075
  }
3076
3076
  function vn({
3077
3077
  items: t,
3078
3078
  title: a = "En vivo",
3079
3079
  iconUrl: n,
3080
- onViewMore: i,
3081
- className: r = ""
3080
+ onViewMore: r,
3081
+ className: l = ""
3082
3082
  }) {
3083
- const o = J(), d = X(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", b = U(null), [m, c] = W({ isStart: !0, isEnd: !1 }), [u, _] = W(null);
3083
+ const i = J(), c = X(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", b = U(null), [u, s] = j({ isStart: !0, isEnd: !1 }), [d, _] = j(null);
3084
3084
  U(/* @__PURE__ */ new Set());
3085
- const [x, I] = W({}), [M, v] = W({ start: null, end: null }), T = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", w = nt(M, 250), C = U(!1);
3086
- ne(() => u === null ? Array(6).fill({}) : u.slice(0, 20), [u]);
3087
- const E = () => {
3088
- o({
3085
+ const [y, E] = j({}), [M, v] = j({ start: null, end: null }), N = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", x = nt(M, 250), S = U(!1);
3086
+ ne(() => d === null ? Array(6).fill({}) : d.slice(0, 20), [d]);
3087
+ const O = () => {
3088
+ i({
3089
3089
  element: "evento_semana_view_more",
3090
- label: `Landing: ${d} - OraculoSeccionEventoSemana - Ver más`,
3090
+ label: `Landing: ${c} - OraculoSeccionEventoSemana - Ver más`,
3091
3091
  target: "ver_mas",
3092
3092
  event_type: "click",
3093
3093
  module_id: 301,
@@ -3097,81 +3097,81 @@ function vn({
3097
3097
  tags: { section: "OraculoSeccionEventoSemana" }
3098
3098
  }), ba();
3099
3099
  };
3100
- async function B(S) {
3101
- var f, l;
3102
- let k = [], F = [];
3100
+ async function B(C) {
3101
+ var f, w;
3102
+ let k = [], P = [];
3103
3103
  try {
3104
- const s = await fetch(
3104
+ const m = await fetch(
3105
3105
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
3106
- { signal: S }
3106
+ { signal: C }
3107
3107
  );
3108
- if (s.ok) {
3109
- const h = await s.json();
3110
- k = ((f = h == null ? void 0 : h.data) == null ? void 0 : f.group_ids) || [], F = ((l = h == null ? void 0 : h.data) == null ? void 0 : l.event_ids) || [];
3108
+ if (m.ok) {
3109
+ const o = await m.json();
3110
+ k = ((f = o == null ? void 0 : o.data) == null ? void 0 : f.group_ids) || [], P = ((w = o == null ? void 0 : o.data) == null ? void 0 : w.event_ids) || [];
3111
3111
  }
3112
- } catch (s) {
3113
- s.name !== "AbortError" && console.warn("Order API not available, using default group order");
3112
+ } catch (m) {
3113
+ m.name !== "AbortError" && console.warn("Order API not available, using default group order");
3114
3114
  return;
3115
3115
  }
3116
3116
  try {
3117
- const y = (await (await fetch(p, { signal: S })).json()).group.groups.find(
3118
- (H) => H.englishName === "Football"
3117
+ const h = (await (await fetch(p, { signal: C })).json()).group.groups.find(
3118
+ (W) => W.englishName === "Football"
3119
3119
  );
3120
- if (!y || !Array.isArray(y.groups)) {
3120
+ if (!h || !Array.isArray(h.groups)) {
3121
3121
  console.error("Football groups not found");
3122
3122
  return;
3123
3123
  }
3124
- let $ = [...y.groups];
3124
+ let $ = [...h.groups];
3125
3125
  if (k.length > 0) {
3126
- const H = new Map(
3126
+ const W = new Map(
3127
3127
  k.map((Y, ie) => [Y, ie])
3128
3128
  );
3129
3129
  $.sort((Y, ie) => {
3130
- const fe = H.get(String(Y.id)), ue = H.get(String(ie.id));
3130
+ const fe = W.get(String(Y.id)), ue = W.get(String(ie.id));
3131
3131
  return fe !== void 0 && ue !== void 0 ? fe - ue : fe !== void 0 ? -1 : ue !== void 0 ? 1 : 0;
3132
3132
  });
3133
3133
  }
3134
- const P = $.slice(0, 5), j = (H) => {
3134
+ const F = $.slice(0, 5), G = (W) => {
3135
3135
  const Y = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3136
- if (H.groups && H.groups.length > 0) {
3137
- const ie = H.groups[0];
3136
+ if (W.groups && W.groups.length > 0) {
3137
+ const ie = W.groups[0];
3138
3138
  return [
3139
- `${Y}/${H.termKey}/${ie.termKey}/all/matches.json?${T}`
3139
+ `${Y}/${W.termKey}/${ie.termKey}/all/matches.json?${N}`
3140
3140
  ];
3141
3141
  }
3142
3142
  return [
3143
- `${Y}/${H.termKey}/all/all/matches.json?${T}`
3143
+ `${Y}/${W.termKey}/all/all/matches.json?${N}`
3144
3144
  ];
3145
- }, D = P.flatMap(j);
3146
- A(D, F, S);
3147
- } catch (s) {
3148
- console.error(s);
3145
+ }, q = F.flatMap(G);
3146
+ R(q, P, C);
3147
+ } catch (m) {
3148
+ console.error(m);
3149
3149
  }
3150
3150
  }
3151
- async function A(S, k, F) {
3151
+ async function R(C, k, P) {
3152
3152
  try {
3153
- const f = await gn(S, 2, F);
3154
- let l = [], s = [];
3155
- f.forEach((N) => {
3156
- N.events && (l.push(...N.events.map((P) => P.event)), s.push(
3157
- ...N.events.flatMap((P) => P.betOffers || [])
3153
+ const f = await gn(C, 2, P);
3154
+ let w = [], m = [];
3155
+ f.forEach((T) => {
3156
+ T.events && (w.push(...T.events.map((F) => F.event)), m.push(
3157
+ ...T.events.flatMap((F) => F.betOffers || [])
3158
3158
  ));
3159
3159
  });
3160
- const h = bn(l, s), y = fn(hn(h));
3161
- let $ = y;
3160
+ const o = bn(w, m), h = fn(hn(o));
3161
+ let $ = h;
3162
3162
  if (k.length > 0) {
3163
- const N = new Map(
3164
- k.map((P, j) => [
3165
- String(P),
3166
- j
3163
+ const T = new Map(
3164
+ k.map((F, G) => [
3165
+ String(F),
3166
+ G
3167
3167
  ])
3168
3168
  );
3169
- $ = [...y].sort((P, j) => {
3170
- const D = N.get(String(P.id)), H = N.get(String(j.id));
3171
- return D !== void 0 && H !== void 0 ? D - H : D !== void 0 ? -1 : H !== void 0 ? 1 : 0;
3169
+ $ = [...h].sort((F, G) => {
3170
+ const q = T.get(String(F.id)), W = T.get(String(G.id));
3171
+ return q !== void 0 && W !== void 0 ? q - W : q !== void 0 ? -1 : W !== void 0 ? 1 : 0;
3172
3172
  });
3173
3173
  }
3174
- if (F.aborted) return;
3174
+ if (P.aborted) return;
3175
3175
  _($);
3176
3176
  } catch (f) {
3177
3177
  console.error("Error loading events:", f);
@@ -3179,48 +3179,48 @@ function vn({
3179
3179
  }
3180
3180
  K(() => {
3181
3181
  if (!t) return;
3182
- const S = new AbortController();
3183
- return B(S.signal), () => {
3184
- S.abort();
3182
+ const C = new AbortController();
3183
+ return B(C.signal), () => {
3184
+ C.abort();
3185
3185
  };
3186
3186
  }, [t]), K(() => {
3187
- if (w.start === null || w.end === null || !(u != null && u.length) || C.current)
3187
+ if (x.start === null || x.end === null || !(d != null && d.length) || S.current)
3188
3188
  return;
3189
- const S = 2, k = Math.max(0, w.start - S), F = Math.min(u.length - 1, w.end + S), f = u.slice(k, F + 1).map((s) => s == null ? void 0 : s.id).filter(Boolean).filter((s) => x[s] === void 0);
3189
+ const C = 2, k = Math.max(0, x.start - C), P = Math.min(d.length - 1, x.end + C), f = d.slice(k, P + 1).map((m) => m == null ? void 0 : m.id).filter(Boolean).filter((m) => y[m] === void 0);
3190
3190
  if (!f.length) return;
3191
- let l = !1;
3192
- return C.current = !0, (async () => {
3191
+ let w = !1;
3192
+ return S.current = !0, (async () => {
3193
3193
  try {
3194
- const s = await at(f);
3195
- l || I((h) => ({
3196
- ...h,
3197
- ...s.events
3194
+ const m = await at(f);
3195
+ w || E((o) => ({
3196
+ ...o,
3197
+ ...m.events
3198
3198
  }));
3199
- } catch (s) {
3200
- console.error("Jersey fetch error", s);
3199
+ } catch (m) {
3200
+ console.error("Jersey fetch error", m);
3201
3201
  } finally {
3202
- C.current = !1;
3202
+ S.current = !1;
3203
3203
  }
3204
3204
  })(), () => {
3205
- l = !0;
3205
+ w = !0;
3206
3206
  };
3207
- }, [w, u]);
3208
- const O = r || void 0, R = {
3207
+ }, [x, d]);
3208
+ const I = l || void 0, A = {
3209
3209
  paddingLeft: 0,
3210
3210
  width: "100%",
3211
3211
  boxSizing: "border-box"
3212
- }, z = u === null;
3213
- return !z && u.length === 0 ? null : /* @__PURE__ */ e("section", { className: O, style: R, children: /* @__PURE__ */ g("div", { className: `${be.wrapper} ${be.padding}`, children: [
3214
- /* @__PURE__ */ e("div", { className: be.container, children: /* @__PURE__ */ g(V, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3212
+ }, z = d === null;
3213
+ return !z && d.length === 0 ? null : /* @__PURE__ */ e("section", { className: I, style: A, children: /* @__PURE__ */ g("div", { className: `${be.wrapper} ${be.padding}`, children: [
3214
+ /* @__PURE__ */ e("div", { className: be.container, children: /* @__PURE__ */ g(D, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3215
3215
  /* @__PURE__ */ e(le, { title: "Eventos de la semana" }),
3216
3216
  /* @__PURE__ */ e("div", { className: be.buttonWrapper, children: /* @__PURE__ */ e(
3217
- G,
3217
+ H,
3218
3218
  {
3219
3219
  variant: "secondary",
3220
3220
  size: "lg",
3221
3221
  fullWidth: !0,
3222
3222
  onClick: () => {
3223
- E();
3223
+ O();
3224
3224
  },
3225
3225
  children: "Ver más"
3226
3226
  }
@@ -3230,7 +3230,7 @@ function vn({
3230
3230
  se,
3231
3231
  {
3232
3232
  ref: b,
3233
- items: z ? Array(6).fill({}) : u.slice(0, 20),
3233
+ items: z ? Array(6).fill({}) : d.slice(0, 20),
3234
3234
  perPage: 3.5,
3235
3235
  gap: "16px",
3236
3236
  enableHorizontalWheel: !0,
@@ -3244,25 +3244,25 @@ function vn({
3244
3244
  padding: { left: "8px", right: "8px" }
3245
3245
  }
3246
3246
  },
3247
- renderItem: (S) => {
3248
- const k = S.id, F = k in x ? x[k] : void 0;
3249
- return z ? /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(sn, {}) }) : /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(pn, { event: S, jersey: F }) });
3247
+ renderItem: (C) => {
3248
+ const k = C.id, P = k in y ? y[k] : void 0;
3249
+ return z ? /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(sn, {}) }) : /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(pn, { event: C, jersey: P }) });
3250
3250
  },
3251
- onMove: ({ isStart: S, isEnd: k, visibleStart: F, visibleEnd: f }) => {
3252
- c({ isStart: S, isEnd: k }), v({
3253
- start: F,
3251
+ onMove: ({ isStart: C, isEnd: k, visibleStart: P, visibleEnd: f }) => {
3252
+ s({ isStart: C, isEnd: k }), v({
3253
+ start: P,
3254
3254
  end: f
3255
- }), o({
3255
+ }), i({
3256
3256
  element: "evento_semana_carousel_slide",
3257
- label: `Landing: ${d} - OraculoSeccionEventoSemana - Slide Carousel`,
3257
+ label: `Landing: ${c} - OraculoSeccionEventoSemana - Slide Carousel`,
3258
3258
  target: "carousel",
3259
3259
  event_type: "slide",
3260
3260
  module_id: 301,
3261
3261
  metadata: {
3262
3262
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3263
- visibleStart: F,
3263
+ visibleStart: P,
3264
3264
  visibleEnd: f,
3265
- isStart: S,
3265
+ isStart: C,
3266
3266
  isEnd: k
3267
3267
  },
3268
3268
  tags: { section: "OraculoSeccionEventoSemana" }
@@ -3277,14 +3277,14 @@ function _n({
3277
3277
  items: a,
3278
3278
  hideItems: n
3279
3279
  }) {
3280
- var k, F, f;
3281
- const [i, r] = W(0), o = J(), d = X(), p = U(null), b = U(!1), m = U(!1), c = (t == null ? void 0 : t.length) || 1, u = !t || t.length === 0, _ = !u && ((k = t == null ? void 0 : t.length) != null ? k : 0) > 1, x = !n && ((F = a == null ? void 0 : a.length) != null ? F : 0) > 0, I = (l) => {
3282
- var s;
3283
- l.preventDefault(), l.stopPropagation(), z(), (s = p.current) == null || s.prev();
3284
- }, M = (l) => {
3285
- var s;
3286
- l.preventDefault(), l.stopPropagation(), z(), (s = p.current) == null || s.next();
3287
- }, v = "#B5B5B5", T = {
3280
+ var f, w, m;
3281
+ const [r, l] = j(0), i = J(), c = X(), p = U(null), b = U(!1), u = U(!1), s = (t == null ? void 0 : t.length) || 1, d = !t || t.length === 0, _ = !d && ((f = t == null ? void 0 : t.length) != null ? f : 0) > 1, y = !n && ((w = a == null ? void 0 : a.length) != null ? w : 0) > 0, E = !_ || r === 0, M = !_ || r === s - 1, v = (o) => {
3282
+ var h;
3283
+ o.preventDefault(), o.stopPropagation(), k(), (h = p.current) == null || h.prev();
3284
+ }, N = (o) => {
3285
+ var h;
3286
+ o.preventDefault(), o.stopPropagation(), k(), (h = p.current) == null || h.next();
3287
+ }, x = "#B5B5B5", S = {
3288
3288
  position: "absolute",
3289
3289
  top: "50%",
3290
3290
  transform: "translateY(-50%)",
@@ -3292,22 +3292,22 @@ function _n({
3292
3292
  width: 48,
3293
3293
  height: 40,
3294
3294
  borderRadius: "12px",
3295
- border: `1.5px solid ${v}`,
3295
+ border: `1.5px solid ${x}`,
3296
3296
  py: 1,
3297
3297
  px: 1.5,
3298
- color: v,
3298
+ color: x,
3299
3299
  backgroundColor: "transparent",
3300
3300
  "&:hover": {
3301
3301
  backgroundColor: "rgba(181,181,181,0.08)"
3302
3302
  },
3303
3303
  "&.Mui-disabled": {
3304
3304
  opacity: 0.35,
3305
- borderColor: v,
3306
- color: v,
3305
+ borderColor: x,
3306
+ color: x,
3307
3307
  backgroundColor: "transparent",
3308
3308
  cursor: "default"
3309
3309
  }
3310
- }, w = ne(
3310
+ }, O = ne(
3311
3311
  () => ({
3312
3312
  type: "loop",
3313
3313
  perMove: 1,
@@ -3319,80 +3319,80 @@ function _n({
3319
3319
  []
3320
3320
  );
3321
3321
  K(() => {
3322
- const l = setTimeout(() => {
3322
+ const o = setTimeout(() => {
3323
3323
  b.current = !0;
3324
3324
  }, 500);
3325
- return () => clearTimeout(l);
3325
+ return () => clearTimeout(o);
3326
3326
  }, []);
3327
- const C = (l, s) => {
3328
- var y, $;
3329
- const h = (($ = (y = l.href) == null ? void 0 : y.split("/").pop()) == null ? void 0 : $.split(".")[0]) || l.label || l.id || `banner_${s + 1}`;
3330
- o({
3327
+ const B = (o, h) => {
3328
+ var T, F;
3329
+ const $ = ((F = (T = o.href) == null ? void 0 : T.split("/").pop()) == null ? void 0 : F.split(".")[0]) || o.label || o.id || `banner_${h + 1}`;
3330
+ i({
3331
3331
  element: "banner_carousel",
3332
- label: `Landing: ${d} - OraculoSeccionBanners - Banner click: ${h}`,
3333
- target: l.href || "no_url",
3332
+ label: `Landing: ${c} - OraculoSeccionBanners - Banner click: ${$}`,
3333
+ target: o.href || "no_url",
3334
3334
  event_type: "click",
3335
3335
  module_id: 301,
3336
3336
  metadata: {
3337
3337
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3338
- banner_position: s + 1,
3338
+ banner_position: h + 1,
3339
3339
  banner_total: (t == null ? void 0 : t.length) || 0
3340
3340
  },
3341
3341
  tags: {
3342
3342
  banner_type: "carousel",
3343
3343
  banner_target: "_self",
3344
- banner_url: l.href || "no_url"
3344
+ banner_url: o.href || "no_url"
3345
3345
  }
3346
3346
  });
3347
- }, E = (l) => {
3348
- if (o({
3347
+ }, R = (o) => {
3348
+ if (i({
3349
3349
  element: "banner_menu_item",
3350
- label: `Landing: ${d} - OraculoSeccionBanners - Menu item click: ${l.label || l.id}`,
3351
- target: l.href || "action",
3350
+ label: `Landing: ${c} - OraculoSeccionBanners - Menu item click: ${o.label || o.id}`,
3351
+ target: o.href || "action",
3352
3352
  event_type: "click",
3353
3353
  module_id: 301,
3354
3354
  metadata: {
3355
3355
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3356
- item_id: l.id
3356
+ item_id: o.id
3357
3357
  },
3358
3358
  tags: {
3359
- item_label: l.label || "no_label"
3359
+ item_label: o.label || "no_label"
3360
3360
  }
3361
- }), l.onClick) {
3362
- l.onClick();
3361
+ }), o.onClick) {
3362
+ o.onClick();
3363
3363
  return;
3364
3364
  }
3365
- l.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(l.href);
3366
- }, B = (l) => {
3367
- var $, N, P, j;
3368
- const s = (l % c + c) % c;
3369
- r(s);
3370
- const h = m.current;
3371
- if (m.current = !1, h || S(), !b.current || h) return;
3372
- const y = ($ = t == null ? void 0 : t[s]) != null && $.href ? ((P = (N = t[s].href) == null ? void 0 : N.split("/").pop()) == null ? void 0 : P.split(".")[0]) || `banner_${s + 1}` : `banner_${s + 1}`;
3373
- o({
3365
+ o.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(o.href);
3366
+ }, I = (o) => {
3367
+ var F, G, q, W;
3368
+ const h = (o % s + s) % s;
3369
+ l(h);
3370
+ const $ = u.current;
3371
+ if (u.current = !1, $ || P(), !b.current || $) return;
3372
+ const T = (F = t == null ? void 0 : t[h]) != null && F.href ? ((q = (G = t[h].href) == null ? void 0 : G.split("/").pop()) == null ? void 0 : q.split(".")[0]) || `banner_${h + 1}` : `banner_${h + 1}`;
3373
+ i({
3374
3374
  element: "banner_carousel",
3375
- label: `Landing: ${d} - OraculoSeccionBanners - Banner view: Slide ${s + 1} - ${y}`,
3376
- target: ((j = t == null ? void 0 : t[s]) == null ? void 0 : j.href) || "no_url",
3375
+ label: `Landing: ${c} - OraculoSeccionBanners - Banner view: Slide ${h + 1} - ${T}`,
3376
+ target: ((W = t == null ? void 0 : t[h]) == null ? void 0 : W.href) || "no_url",
3377
3377
  event_type: "view",
3378
3378
  module_id: 301,
3379
3379
  metadata: {
3380
3380
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3381
- slide_index: s + 1,
3382
- total_slides: c,
3381
+ slide_index: h + 1,
3382
+ total_slides: s,
3383
3383
  interaction_type: "manual_slide"
3384
3384
  },
3385
- tags: { banner_position: String(s + 1) }
3385
+ tags: { banner_position: String(h + 1) }
3386
3386
  });
3387
- }, A = 5e3, O = U(null), R = !u && ((f = t == null ? void 0 : t.length) != null ? f : 0) > 1, z = () => {
3388
- O.current != null && (window.clearInterval(O.current), O.current = null);
3389
- }, S = () => {
3390
- z(), R && (O.current = window.setInterval(() => {
3391
- var l;
3392
- m.current = !0, (l = p.current) == null || l.next();
3387
+ }, A = 5e3, z = U(null), C = !d && ((m = t == null ? void 0 : t.length) != null ? m : 0) > 1, k = () => {
3388
+ z.current != null && (window.clearInterval(z.current), z.current = null);
3389
+ }, P = () => {
3390
+ k(), C && (z.current = window.setInterval(() => {
3391
+ var o;
3392
+ u.current = !0, (o = p.current) == null || o.next();
3393
3393
  }, A));
3394
3394
  };
3395
- return K(() => (S(), () => z()), [u, t == null ? void 0 : t.length, A]), /* @__PURE__ */ g(
3395
+ return K(() => (P(), () => k()), [d, t == null ? void 0 : t.length, A]), /* @__PURE__ */ g(
3396
3396
  Z,
3397
3397
  {
3398
3398
  component: "section",
@@ -3419,22 +3419,22 @@ function _n({
3419
3419
  perPage: 1,
3420
3420
  gap: "0px",
3421
3421
  enableHorizontalWheel: !0,
3422
- options: w,
3423
- onMove: ({ index: l }) => {
3424
- const s = (l % c + c) % c;
3425
- r(s), B(l);
3422
+ options: O,
3423
+ onMove: ({ index: o }) => {
3424
+ const h = (o % s + s) % s;
3425
+ l(h), I(o);
3426
3426
  },
3427
- renderItem: (l, s) => {
3428
- var h, y;
3427
+ renderItem: (o, h) => {
3428
+ var $, T;
3429
3429
  return /* @__PURE__ */ g(
3430
3430
  Z,
3431
3431
  {
3432
3432
  component: "a",
3433
- href: l.href,
3434
- target: (h = l.target) != null ? h : "_self",
3435
- rel: l.target === "_blank" ? "noopener noreferrer" : void 0,
3433
+ href: o.href,
3434
+ target: ($ = o.target) != null ? $ : "_self",
3435
+ rel: o.target === "_blank" ? "noopener noreferrer" : void 0,
3436
3436
  onClick: () => {
3437
- C(l, s);
3437
+ B(o, h);
3438
3438
  },
3439
3439
  sx: {
3440
3440
  position: "relative",
@@ -3450,13 +3450,13 @@ function _n({
3450
3450
  component: "picture",
3451
3451
  sx: { position: "absolute", inset: 0, lineHeight: 0 },
3452
3452
  children: [
3453
- /* @__PURE__ */ e("source", { srcSet: l.desktopSrc, media: "(min-width:800px)" }),
3454
- /* @__PURE__ */ e("source", { srcSet: l.mobileSrc, media: "(max-width:799px)" }),
3453
+ /* @__PURE__ */ e("source", { srcSet: o.desktopSrc, media: "(min-width:800px)" }),
3454
+ /* @__PURE__ */ e("source", { srcSet: o.mobileSrc, media: "(max-width:799px)" }),
3455
3455
  /* @__PURE__ */ e(
3456
3456
  Z,
3457
3457
  {
3458
3458
  component: "img",
3459
- src: (y = l.fallbackSrc) != null ? y : l.desktopSrc,
3459
+ src: (T = o.fallbackSrc) != null ? T : o.desktopSrc,
3460
3460
  alt: "",
3461
3461
  "aria-hidden": !0,
3462
3462
  loading: "lazy",
@@ -3501,17 +3501,18 @@ function _n({
3501
3501
  Ae,
3502
3502
  {
3503
3503
  "aria-label": "Anterior",
3504
- onClick: I,
3504
+ onClick: v,
3505
3505
  sx: {
3506
- ...T,
3506
+ ...S,
3507
3507
  left: "120px",
3508
3508
  "@media (max-width:1024px)": {
3509
3509
  left: 24
3510
3510
  },
3511
- "@media (max-width:800px)": {
3512
- top: "40%"
3511
+ "@media (max-width:786px)": {
3512
+ display: "none"
3513
3513
  }
3514
3514
  },
3515
+ disabled: E,
3515
3516
  children: /* @__PURE__ */ e(Ee, {})
3516
3517
  }
3517
3518
  ),
@@ -3519,17 +3520,18 @@ function _n({
3519
3520
  Ae,
3520
3521
  {
3521
3522
  "aria-label": "Siguiente",
3522
- onClick: M,
3523
+ onClick: N,
3523
3524
  sx: {
3524
- ...T,
3525
+ ...S,
3525
3526
  right: "120px",
3526
3527
  "@media (max-width:1024px)": {
3527
3528
  right: 24
3528
3529
  },
3529
- "@media (max-width:800px)": {
3530
- top: "40%"
3530
+ "@media (max-width:786px)": {
3531
+ display: "none"
3531
3532
  }
3532
3533
  },
3534
+ disabled: M,
3533
3535
  children: /* @__PURE__ */ e(Ie, {})
3534
3536
  }
3535
3537
  )
@@ -3546,13 +3548,13 @@ function _n({
3546
3548
  justifyContent: "center",
3547
3549
  zIndex: 2
3548
3550
  },
3549
- children: /* @__PURE__ */ e(Xe, { total: c, active: i, durationMs: A })
3551
+ children: /* @__PURE__ */ e(Xe, { total: s, active: r, durationMs: A })
3550
3552
  }
3551
3553
  )
3552
3554
  ]
3553
3555
  }
3554
3556
  ),
3555
- x && /* @__PURE__ */ e(
3557
+ y && /* @__PURE__ */ e(
3556
3558
  Z,
3557
3559
  {
3558
3560
  sx: {
@@ -3573,7 +3575,7 @@ function _n({
3573
3575
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3574
3576
  zIndex: 3
3575
3577
  },
3576
- children: a == null ? void 0 : a.map((l) => /* @__PURE__ */ g(
3578
+ children: a == null ? void 0 : a.map((o) => /* @__PURE__ */ g(
3577
3579
  Z,
3578
3580
  {
3579
3581
  sx: {
@@ -3584,17 +3586,17 @@ function _n({
3584
3586
  gap: { xs: 0.5, md: 1 },
3585
3587
  color: "#FFFFFF",
3586
3588
  minWidth: 0,
3587
- cursor: l.onClick || l.href ? "pointer" : "default",
3589
+ cursor: o.onClick || o.href ? "pointer" : "default",
3588
3590
  whiteSpace: "nowrap"
3589
3591
  },
3590
- onClick: () => E(l),
3592
+ onClick: () => R(o),
3591
3593
  children: [
3592
- l.icon && /* @__PURE__ */ e(
3594
+ o.icon && /* @__PURE__ */ e(
3593
3595
  Z,
3594
3596
  {
3595
3597
  component: "img",
3596
- src: l.icon,
3597
- alt: l.label || `icon-${l.id}`,
3598
+ src: o.icon,
3599
+ alt: o.label || `icon-${o.id}`,
3598
3600
  sx: {
3599
3601
  width: { xs: 20, sm: 22, md: 24 },
3600
3602
  height: { xs: 20, sm: 22, md: 24 },
@@ -3611,12 +3613,12 @@ function _n({
3611
3613
  color: "#E0E0E0",
3612
3614
  textAlign: "center"
3613
3615
  },
3614
- children: l.label
3616
+ children: o.label
3615
3617
  }
3616
3618
  )
3617
3619
  ]
3618
3620
  },
3619
- l.id
3621
+ o.id
3620
3622
  ))
3621
3623
  }
3622
3624
  )
@@ -3637,7 +3639,7 @@ function xn({
3637
3639
  title: t = "Medios de pago",
3638
3640
  items: a = yn
3639
3641
  }) {
3640
- const n = Math.ceil(a.length / 2), i = a.slice(0, n), r = a.slice(n);
3642
+ const n = Math.ceil(a.length / 2), r = a.slice(0, n), l = a.slice(n);
3641
3643
  return /* @__PURE__ */ g(Z, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
3642
3644
  /* @__PURE__ */ e(
3643
3645
  Ke,
@@ -3676,7 +3678,7 @@ function xn({
3676
3678
  alignItems: "center",
3677
3679
  gap: { xs: 2, md: 3 },
3678
3680
  flexWrap: "wrap",
3679
- children: i.map((o, d) => /* @__PURE__ */ e(Re, { ...o }, `${o.alt}-${o.src}-${d}`))
3681
+ children: r.map((i, c) => /* @__PURE__ */ e(Re, { ...i }, `${i.alt}-${i.src}-${c}`))
3680
3682
  }
3681
3683
  ),
3682
3684
  /* @__PURE__ */ e(
@@ -3687,7 +3689,7 @@ function xn({
3687
3689
  alignItems: "center",
3688
3690
  gap: { xs: 2, md: 3 },
3689
3691
  flexWrap: "wrap",
3690
- children: r.map((o, d) => /* @__PURE__ */ e(Re, { ...o }, `${o.alt}-${o.src}-${d}`))
3692
+ children: l.map((i, c) => /* @__PURE__ */ e(Re, { ...i }, `${i.alt}-${i.src}-${c}`))
3691
3693
  }
3692
3694
  )
3693
3695
  ] })
@@ -4799,17 +4801,17 @@ const wn = {
4799
4801
  }, Sn = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, Cn = (t) => /^OraculoSeccion[A-Z]/.test(t);
4800
4802
  function Ne(t) {
4801
4803
  return t && Array.isArray(t.sections) ? t.sections.slice().sort((a, n) => {
4802
- var i, r;
4803
- return ((i = a.order) != null ? i : 0) - ((r = n.order) != null ? r : 0);
4804
+ var r, l;
4805
+ return ((r = a.order) != null ? r : 0) - ((l = n.order) != null ? l : 0);
4804
4806
  }).map((a, n) => ({ ...a, order: n + 1 })) : t && Array.isArray(t.components) ? t.components.map((a, n) => {
4805
- var i, r, o, d, p;
4807
+ var r, l, i, c, p;
4806
4808
  return {
4807
- id: (i = a.id) != null ? i : n + 1,
4808
- title: (r = a.title) != null ? r : "",
4809
+ id: (r = a.id) != null ? r : n + 1,
4810
+ title: (l = a.title) != null ? l : "",
4809
4811
  componentKey: a.componentKey,
4810
- visible: (o = a.visible) != null ? o : !0,
4812
+ visible: (i = a.visible) != null ? i : !0,
4811
4813
  order: n + 1,
4812
- props: (d = a.props) != null ? d : {},
4814
+ props: (c = a.props) != null ? c : {},
4813
4815
  apiUrl: (p = a.apiUrl) != null ? p : "",
4814
4816
  dataMode: a.dataMode,
4815
4817
  variableName: a.variableName,
@@ -4831,8 +4833,8 @@ const On = Object.fromEntries(
4831
4833
  }
4832
4834
  };
4833
4835
  class je extends Error {
4834
- constructor(a, n, i) {
4835
- super(`HTTP ${a} ${i}`), this.status = a, this.url = n, this.statusText = i, this.name = "HttpError";
4836
+ constructor(a, n, r) {
4837
+ super(`HTTP ${a} ${r}`), this.status = a, this.url = n, this.statusText = r, this.name = "HttpError";
4836
4838
  }
4837
4839
  }
4838
4840
  const Ge = [
@@ -4843,54 +4845,54 @@ const Ge = [
4843
4845
  sectionsOverride: t,
4844
4846
  docId: a = "home",
4845
4847
  db: n,
4846
- extras: i,
4847
- loader: r,
4848
- disableWrapper: o = !1
4848
+ extras: r,
4849
+ loader: l,
4850
+ disableWrapper: i = !1
4849
4851
  }) => {
4850
- const d = ne(() => En(i), [i]), p = r || d.loader, [b, m] = W([]), [c, u] = W(!1), [_, x] = W({}), [I, M] = W({}), [v, T] = W({}), w = st("(min-width:1024px)");
4852
+ const c = ne(() => En(r), [r]), p = l || c.loader, [b, u] = j([]), [s, d] = j(!1), [_, y] = j({}), [E, M] = j({}), [v, N] = j({}), x = st("(min-width:1024px)");
4851
4853
  K(() => {
4852
4854
  if (t) return;
4853
4855
  if (!n) {
4854
- console.warn("[landing] sin db -> fallback json"), m(Ne(We));
4856
+ console.warn("[landing] sin db -> fallback json"), u(Ne(We));
4855
4857
  return;
4856
4858
  }
4857
- const f = (s, h) => {
4858
- console.warn("[landing] FALLBACK:", s, h != null ? h : ""), m(Ne(We)), u(!1);
4859
+ const f = (m, o) => {
4860
+ console.warn("[landing] FALLBACK:", m, o != null ? o : ""), u(Ne(We)), d(!1);
4859
4861
  };
4860
4862
  if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
4861
- u(!0), f("forzado por env");
4863
+ d(!0), f("forzado por env");
4862
4864
  return;
4863
4865
  }
4864
- u(!0);
4865
- const l = wt(
4866
+ d(!0);
4867
+ const w = wt(
4866
4868
  St(n, "landings", a),
4867
- (s) => {
4869
+ (m) => {
4868
4870
  try {
4869
- if (!s.exists()) {
4871
+ if (!m.exists()) {
4870
4872
  f(`doc landings/${a} no existe`);
4871
4873
  return;
4872
4874
  }
4873
- const h = s.data(), y = Ne(h);
4874
- if (!y.length) {
4875
- f("JSON inválido o sin secciones normalizables", h);
4875
+ const o = m.data(), h = Ne(o);
4876
+ if (!h.length) {
4877
+ f("JSON inválido o sin secciones normalizables", o);
4876
4878
  return;
4877
4879
  }
4878
- console.log("[landing] Firestore OK (json grande):", h), m(y);
4879
- } catch (h) {
4880
- f("error procesando snapshot", h);
4880
+ console.log("[landing] Firestore OK (json grande):", o), u(h);
4881
+ } catch (o) {
4882
+ f("error procesando snapshot", o);
4881
4883
  } finally {
4882
- u(!1);
4884
+ d(!1);
4883
4885
  }
4884
4886
  },
4885
- (s) => {
4886
- f("error onSnapshot", s);
4887
+ (m) => {
4888
+ f("error onSnapshot", m);
4887
4889
  }
4888
4890
  );
4889
- return () => l();
4890
- }, [t, a, n]), K(() => (La(d), () => Aa()), [d]), K(() => {
4891
- (t ? t.slice() : b.slice()).map((s) => s.componentKey).filter((s) => !!s).length;
4891
+ return () => w();
4892
+ }, [t, a, n]), K(() => (La(c), () => Aa()), [c]), K(() => {
4893
+ (t ? t.slice() : b.slice()).map((m) => m.componentKey).filter((m) => !!m).length;
4892
4894
  }, [t, b]);
4893
- const C = async (f) => {
4895
+ const S = async (f) => {
4894
4896
  if (Ge.includes(f.componentKey))
4895
4897
  return {
4896
4898
  // whatever empty structure your UI expects
@@ -4898,169 +4900,169 @@ const Ge = [
4898
4900
  events: [],
4899
4901
  data: {}
4900
4902
  };
4901
- const l = (f.apiUrl || "").trim();
4902
- if (!l) return;
4903
- const s = f.apiMethod || "GET", h = f.apiParams || [];
4904
- let y = l, $, N;
4905
- if (s === "GET") {
4906
- const j = new URL(
4907
- l,
4903
+ const w = (f.apiUrl || "").trim();
4904
+ if (!w) return;
4905
+ const m = f.apiMethod || "GET", o = f.apiParams || [];
4906
+ let h = w, $, T;
4907
+ if (m === "GET") {
4908
+ const G = new URL(
4909
+ w,
4908
4910
  typeof window == "undefined" ? "http://localhost" : window.location.origin
4909
4911
  );
4910
- for (const D of h)
4911
- D.key && j.searchParams.append(D.key, D.value);
4912
- y = j.toString();
4912
+ for (const q of o)
4913
+ q.key && G.searchParams.append(q.key, q.value);
4914
+ h = G.toString();
4913
4915
  } else {
4914
- const j = new URLSearchParams();
4915
- for (const D of h)
4916
- D.key && j.append(D.key, D.value);
4917
- $ = j.toString(), N = {
4916
+ const G = new URLSearchParams();
4917
+ for (const q of o)
4918
+ q.key && G.append(q.key, q.value);
4919
+ $ = G.toString(), T = {
4918
4920
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
4919
4921
  };
4920
4922
  }
4921
- const P = await fetch(y, {
4922
- method: s,
4923
- headers: N,
4923
+ const F = await fetch(h, {
4924
+ method: m,
4925
+ headers: T,
4924
4926
  body: $
4925
4927
  });
4926
- if (!P.ok) throw new je(P.status, y, P.statusText);
4927
- return P.json();
4928
- }, E = ne(
4928
+ if (!F.ok) throw new je(F.status, h, F.statusText);
4929
+ return F.json();
4930
+ }, O = ne(
4929
4931
  () => t ? t.slice() : b.slice(),
4930
4932
  [t, b]
4931
4933
  ), B = de.useRef(/* @__PURE__ */ new Set());
4932
4934
  K(() => {
4933
- const f = E.map((l) => ({ s: l, url: (l.apiUrl || "").trim() })).filter(({ url: l }) => !!l);
4935
+ const f = O.map((w) => ({ s: w, url: (w.apiUrl || "").trim() })).filter(({ url: w }) => !!w);
4934
4936
  if (f.length)
4935
- for (const { s: l, url: s } of f) {
4936
- const h = `${l.id}|${s}`;
4937
- B.current.has(h) || (B.current.add(h), M((y) => ({ ...y, [l.id]: !0 })), T((y) => ({ ...y, [l.id]: "" })), (async () => {
4937
+ for (const { s: w, url: m } of f) {
4938
+ const o = `${w.id}|${m}`;
4939
+ B.current.has(o) || (B.current.add(o), M((h) => ({ ...h, [w.id]: !0 })), N((h) => ({ ...h, [w.id]: "" })), (async () => {
4938
4940
  try {
4939
- const y = await C(l);
4940
- x(($) => ({ ...$, [l.id]: y }));
4941
- } catch (y) {
4941
+ const h = await S(w);
4942
+ y(($) => ({ ...$, [w.id]: h }));
4943
+ } catch (h) {
4942
4944
  let $ = "Error desconocido";
4943
- y instanceof je ? $ = `Error HTTP ${y.status} (${y.statusText}) en ${y.url}` : y instanceof SyntaxError ? $ = "Respuesta no es JSON válido" : y instanceof TypeError ? $ = "Fallo de red / CORS / conexión" : typeof y == "string" && ($ = y.toString()), T((N) => ({ ...N, [l.id]: $ }));
4945
+ h instanceof je ? $ = `Error HTTP ${h.status} (${h.statusText}) en ${h.url}` : h instanceof SyntaxError ? $ = "Respuesta no es JSON válido" : h instanceof TypeError ? $ = "Fallo de red / CORS / conexión" : typeof h == "string" && ($ = h.toString()), N((T) => ({ ...T, [w.id]: $ }));
4944
4946
  } finally {
4945
- M((y) => ({ ...y, [l.id]: !1 }));
4947
+ M((h) => ({ ...h, [w.id]: !1 }));
4946
4948
  }
4947
4949
  })());
4948
4950
  }
4949
- }, [E]);
4950
- const A = ne(
4951
- () => E.filter((f) => f.visible).sort((f, l) => f.order - l.order),
4952
- [E]
4953
- ), O = (f) => Array.isArray(f) ? f.map((l) => {
4954
- const s = {};
4955
- for (const h of l.fields || []) {
4956
- const y = (h.type || "string").toLowerCase();
4957
- if (y === "number") {
4958
- const $ = String(h.value || "").trim();
4951
+ }, [O]);
4952
+ const R = ne(
4953
+ () => O.filter((f) => f.visible).sort((f, w) => f.order - w.order),
4954
+ [O]
4955
+ ), I = (f) => Array.isArray(f) ? f.map((w) => {
4956
+ const m = {};
4957
+ for (const o of w.fields || []) {
4958
+ const h = (o.type || "string").toLowerCase();
4959
+ if (h === "number") {
4960
+ const $ = String(o.value || "").trim();
4959
4961
  if ($ !== "") {
4960
- const N = Number($);
4961
- Number.isNaN(N) || (s[h.name] = N);
4962
+ const T = Number($);
4963
+ Number.isNaN(T) || (m[o.name] = T);
4962
4964
  }
4963
- } else if (y === "boolean")
4964
- s[h.name] = String(h.value).toLowerCase() === "true";
4965
- else if (y === "function") {
4966
- const $ = String(h.value || "").trim();
4965
+ } else if (h === "boolean")
4966
+ m[o.name] = String(o.value).toLowerCase() === "true";
4967
+ else if (h === "function") {
4968
+ const $ = String(o.value || "").trim();
4967
4969
  if ($)
4968
4970
  try {
4969
- const N = new Function($);
4970
- s[h.name] = N;
4971
- } catch (N) {
4972
- console.error(`❌ Error creando función en item '${h.name}':`, N);
4971
+ const T = new Function($);
4972
+ m[o.name] = T;
4973
+ } catch (T) {
4974
+ console.error(`❌ Error creando función en item '${o.name}':`, T);
4973
4975
  }
4974
- } else s[h.name] = h.value;
4976
+ } else m[o.name] = o.value;
4975
4977
  }
4976
- return s;
4977
- }) : [], R = (f) => {
4978
- const l = {};
4979
- if (!Array.isArray(f)) return l;
4980
- for (const s of f) {
4981
- if (!s.name) continue;
4982
- const h = (s.type || "string").toLowerCase();
4983
- if (h === "number") {
4984
- const y = String(s.value || "").trim();
4985
- if (y !== "") {
4986
- const $ = Number(y);
4987
- Number.isNaN($) || (l[s.name] = $);
4978
+ return m;
4979
+ }) : [], A = (f) => {
4980
+ const w = {};
4981
+ if (!Array.isArray(f)) return w;
4982
+ for (const m of f) {
4983
+ if (!m.name) continue;
4984
+ const o = (m.type || "string").toLowerCase();
4985
+ if (o === "number") {
4986
+ const h = String(m.value || "").trim();
4987
+ if (h !== "") {
4988
+ const $ = Number(h);
4989
+ Number.isNaN($) || (w[m.name] = $);
4988
4990
  }
4989
- } else if (h === "boolean")
4990
- l[s.name] = String(s.value).toLowerCase() === "true";
4991
- else if (h === "function") {
4992
- const y = String(s.value || "").trim();
4993
- if (y)
4991
+ } else if (o === "boolean")
4992
+ w[m.name] = String(m.value).toLowerCase() === "true";
4993
+ else if (o === "function") {
4994
+ const h = String(m.value || "").trim();
4995
+ if (h)
4994
4996
  try {
4995
- const $ = new Function(y);
4996
- l[s.name] = $;
4997
+ const $ = new Function(h);
4998
+ w[m.name] = $;
4997
4999
  } catch ($) {
4998
- console.error(`❌ Error creando función en item '${s.name}':`, $);
5000
+ console.error(`❌ Error creando función en item '${m.name}':`, $);
4999
5001
  }
5000
- } else l[s.name] = s.value;
5002
+ } else w[m.name] = m.value;
5001
5003
  }
5002
- return l;
5003
- }, z = (f, l, s) => {
5004
- const h = s ? { ...s } : {};
5005
- if (l) {
5006
- const D = (l.variableName || "items").trim() || "items";
5007
- return h[D] = l.arr || [], h;
5004
+ return w;
5005
+ }, z = (f, w, m) => {
5006
+ const o = m ? { ...m } : {};
5007
+ if (w) {
5008
+ const q = (w.variableName || "items").trim() || "items";
5009
+ return o[q] = w.arr || [], o;
5008
5010
  }
5009
- const y = f, $ = Array.isArray(y), N = !$ && typeof y == "object" && y !== null ? y : void 0, P = N && Array.isArray(N.lobby || N.items) ? N.lobby || N.items : void 0, j = (D) => $ ? y : P || D;
5010
- return h.items = j(P || []), h;
5011
- }, S = (f) => {
5011
+ const h = f, $ = Array.isArray(h), T = !$ && typeof h == "object" && h !== null ? h : void 0, F = T && Array.isArray(T.lobby || T.items) ? T.lobby || T.items : void 0, G = (q) => $ ? h : F || q;
5012
+ return o.items = G(F || []), o;
5013
+ }, C = (f) => {
5012
5014
  var $;
5013
- const l = !!(($ = f.apiUrl) != null && $.trim()), s = l ? _[f.id] : void 0;
5014
- let h = f.props ? { ...f.props } : {};
5015
- const y = R(f.manualScalarFields);
5015
+ const w = !!(($ = f.apiUrl) != null && $.trim()), m = w ? _[f.id] : void 0;
5016
+ let o = f.props ? { ...f.props } : {};
5017
+ const h = A(f.manualScalarFields);
5016
5018
  if (Ge.includes(f.componentKey))
5017
- return { items: s, ...h, ...y };
5018
- if (h = { ...h, ...y }, l) h = z(s, null, h);
5019
+ return { items: m, ...o, ...h };
5020
+ if (o = { ...o, ...h }, w) o = z(m, null, o);
5019
5021
  else if (f.dataMode === "manual") {
5020
- const N = O(f.manualItems);
5021
- if (h = z(
5022
+ const T = I(f.manualItems);
5023
+ if (o = z(
5022
5024
  null,
5023
- { arr: N, variableName: f.variableName },
5024
- h
5025
+ { arr: T, variableName: f.variableName },
5026
+ o
5025
5027
  ), f.variableName2 && f.manualItems2) {
5026
- const P = O(f.manualItems2), j = (f.variableName2 || "items2").trim() || "items2";
5027
- h[j] = P;
5028
+ const F = I(f.manualItems2), G = (f.variableName2 || "items2").trim() || "items2";
5029
+ o[G] = F;
5028
5030
  }
5029
5031
  }
5030
- return h;
5031
- }, k = (f, l, s) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
5032
+ return o;
5033
+ }, k = (f, w, m) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
5032
5034
  loading: "bg-blue-100 text-blue-800",
5033
5035
  error: "bg-red-100 text-red-800",
5034
5036
  component: "bg-yellow-100 text-yellow-800"
5035
- }[l]}`, children: s }, f), F = (f) => {
5037
+ }[w]}`, children: m }, f), P = (f) => {
5036
5038
  var ue;
5037
- const l = f.componentKey, s = On[l];
5038
- if (!s)
5039
- return console.warn(`No hay componente registrado para "${l}"`), k(
5039
+ const w = f.componentKey, m = On[w];
5040
+ if (!m)
5041
+ return console.warn(`No hay componente registrado para "${w}"`), k(
5040
5042
  f.id,
5041
5043
  "component",
5042
- `Componente "${l}" no encontrado`
5044
+ `Componente "${w}" no encontrado`
5043
5045
  );
5044
- const h = !!((ue = f.apiUrl) != null && ue.trim()), y = h ? _[f.id] : void 0, $ = h ? !!I[f.id] : !1, N = h ? v[f.id] : "";
5045
- if (h) {
5046
- if ($ && !y)
5046
+ const o = !!((ue = f.apiUrl) != null && ue.trim()), h = o ? _[f.id] : void 0, $ = o ? !!E[f.id] : !1, T = o ? v[f.id] : "";
5047
+ if (o) {
5048
+ if ($ && !h)
5047
5049
  return k(
5048
5050
  f.id,
5049
5051
  "loading",
5050
5052
  `Cargando datos desde ${f.apiUrl}...`
5051
5053
  );
5052
- if (N && !y)
5054
+ if (T && !h)
5053
5055
  return k(
5054
5056
  f.id,
5055
5057
  "error",
5056
- `Error cargando ${f.apiUrl}: ${N}`
5058
+ `Error cargando ${f.apiUrl}: ${T}`
5057
5059
  );
5058
5060
  }
5059
- const P = S(f), D = (/* @__PURE__ */ new Set([
5061
+ const F = C(f), q = (/* @__PURE__ */ new Set([
5060
5062
  "OraculoSeccionBanners",
5061
5063
  "OraculoSeccionBonoBienvenida",
5062
5064
  "OraculoSeccionCasinoEnVivo",
5063
- ...w ? [] : [
5065
+ ...x ? [] : [
5064
5066
  "OraculoSeccionClubOlimpo",
5065
5067
  "OraculoSeccionEventoEnVivo",
5066
5068
  "OraculoSeccionEventoSemana",
@@ -5069,18 +5071,18 @@ const Ge = [
5069
5071
  "OraculoSeccionDestacados",
5070
5072
  "OraculoSeccionCasino"
5071
5073
  ]
5072
- ])).has(f.componentKey), H = w ? 120 : 24, Y = (w ? 8 : 5) * 8, ie = f.componentKey === "OraculoSeccionCasinoEnVivo", fe = {
5074
+ ])).has(f.componentKey), W = x ? 120 : 24, Y = (x ? 8 : 5) * 8, ie = f.componentKey === "OraculoSeccionCasinoEnVivo", fe = {
5073
5075
  width: "100%",
5074
5076
  boxSizing: "border-box",
5075
- ...D ? {} : { paddingLeft: H, paddingRight: H },
5077
+ ...q ? {} : { paddingLeft: W, paddingRight: W },
5076
5078
  ...ie ? {
5077
5079
  marginTop: -Y,
5078
5080
  marginBottom: -Y
5079
5081
  } : {}
5080
5082
  };
5081
- return /* @__PURE__ */ e("div", { style: fe, className: "oraculo-section-wrapper", children: /* @__PURE__ */ e(s, { ...P }) }, f.id);
5083
+ return /* @__PURE__ */ e("div", { style: fe, className: "oraculo-section-wrapper", children: /* @__PURE__ */ e(m, { ...F }) }, f.id);
5082
5084
  };
5083
- return c && !t ? p ? /* @__PURE__ */ e(p, {}) : /* @__PURE__ */ e("div", { children: "Cargando..." }) : !c && !t && b.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : o ? /* @__PURE__ */ e(Be, { children: /* @__PURE__ */ e(Me, { docId: a, children: /* @__PURE__ */ e(Q, { children: A.map(F) }) }) }) : /* @__PURE__ */ e(Be, { children: /* @__PURE__ */ e(Me, { docId: a, children: /* @__PURE__ */ e(
5085
+ return s && !t ? p ? /* @__PURE__ */ e(p, {}) : /* @__PURE__ */ e("div", { children: "Cargando..." }) : !s && !t && b.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : i ? /* @__PURE__ */ e(Be, { children: /* @__PURE__ */ e(Me, { docId: a, children: /* @__PURE__ */ e(Q, { children: R.map(P) }) }) }) : /* @__PURE__ */ e(Be, { children: /* @__PURE__ */ e(Me, { docId: a, children: /* @__PURE__ */ e(
5084
5086
  ct,
5085
5087
  {
5086
5088
  className: "oli-font",
@@ -5095,13 +5097,13 @@ const Ge = [
5095
5097
  maxWidth: "100%",
5096
5098
  overflowX: "hidden"
5097
5099
  },
5098
- children: /* @__PURE__ */ e(ve, { direction: "column", spacing: w ? 8 : 5, useFlexGap: !0, children: A.map(F) })
5100
+ children: /* @__PURE__ */ e(ve, { direction: "column", spacing: x ? 8 : 5, useFlexGap: !0, children: R.map(P) })
5099
5101
  }
5100
5102
  ) }) });
5101
5103
  };
5102
5104
  export {
5103
5105
  Me as DocIdProvider,
5104
- G as OraculoButton,
5106
+ H as OraculoButton,
5105
5107
  se as OraculoCarousel,
5106
5108
  Xe as OraculoCarouselDots,
5107
5109
  ra as OraculoClubOlimpoVisual,