oraculo-ui 0.1.150 → 0.1.152

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,27 +1,27 @@
1
- import { jsx as t, jsxs as _, Fragment as pe } from "react/jsx-runtime";
2
- import { Link as it, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ee, Container as Ct } from "@mui/material";
3
- import fe, { useState as Z, useEffect as Q, useRef as U, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ce, createContext as Nt, useContext as $t, useMemo as ie, useLayoutEffect as Mt } from "react";
1
+ import { jsx as t, jsxs as y, Fragment as pe } from "react/jsx-runtime";
2
+ import { Link as lt, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ce, Container as Tt } from "@mui/material";
3
+ import fe, { useState as Z, useEffect as Q, useRef as U, forwardRef as Nt, useImperativeHandle as $t, useCallback as ke, createContext as Mt, useContext as Bt, useMemo as ie, useLayoutEffect as At } from "react";
4
4
  import j from "@mui/material/Skeleton";
5
- import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
5
+ import { Splide as Rt, SplideSlide as Lt } from "@splidejs/react-splide";
6
6
  import z from "@mui/material/Box";
7
7
  import ue from "@mui/material/Typography";
8
8
  import H from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as oe } from "@olimpo/capture-client";
10
- import { ChevronLeftRounded as Ae, ChevronRightRounded as Re } from "@mui/icons-material";
10
+ import { ChevronLeftRounded as Re, ChevronRightRounded as Le } from "@mui/icons-material";
11
11
  import xe from "@mui/material/useMediaQuery";
12
- import lt from "@mui/icons-material/ChevronLeftRounded";
13
- import ct from "@mui/icons-material/ChevronRightRounded";
14
- import { useTheme as Rt, createTheme as Lt, ThemeProvider as Ft } from "@mui/material/styles";
15
- import qt from "@mui/material/CssBaseline";
16
- import { onSnapshot as zt, doc as Pt } from "firebase/firestore";
12
+ import ct from "@mui/icons-material/ChevronLeftRounded";
13
+ import dt from "@mui/icons-material/ChevronRightRounded";
14
+ import { useTheme as Ft, createTheme as qt, ThemeProvider as zt } from "@mui/material/styles";
15
+ import Pt from "@mui/material/CssBaseline";
16
+ import { onSnapshot as Dt, doc as Ut } from "firebase/firestore";
17
17
  function J({
18
18
  children: e,
19
19
  onClick: a,
20
20
  href: n,
21
21
  target: r,
22
22
  rel: i,
23
- type: s = "button",
24
- disabled: l = !1,
23
+ type: l = "button",
24
+ disabled: s = !1,
25
25
  variant: d = "primary",
26
26
  size: h,
27
27
  fullWidth: f = !1,
@@ -29,24 +29,24 @@ function J({
29
29
  className: u = "",
30
30
  ariaLabel: c,
31
31
  leftIcon: g,
32
- rightIcon: b,
32
+ rightIcon: v,
33
33
  iconOnly: x
34
34
  }) {
35
- const T = !!e && e !== !0, w = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, R = x != null ? x : w && !T, k = [
35
+ const k = !!e && e !== !0, b = (!!g ? 1 : 0) + (!!v ? 1 : 0) == 1, B = x != null ? x : b && !k, w = [
36
36
  "orc-btn",
37
37
  d === "secondary" ? "orc-btn--secondary" : d === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  h ? `orc-btn--${h}` : "",
39
39
  f ? "orc-btn--full" : "",
40
40
  m ? "orc-btn--fullHeight" : "",
41
- R ? "orc-btn--iconOnly" : "",
41
+ B ? "orc-btn--iconOnly" : "",
42
42
  u
43
- ].filter(Boolean).join(" "), S = /* @__PURE__ */ _(pe, { children: [
43
+ ].filter(Boolean).join(" "), S = /* @__PURE__ */ y(pe, { children: [
44
44
  g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
45
- !R && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
- b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b })
47
- ] }), F = l ? !0 : void 0;
45
+ !B && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
+ v && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: v })
47
+ ] }), F = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
- it,
49
+ lt,
50
50
  {
51
51
  href: n,
52
52
  target: r,
@@ -54,18 +54,18 @@ function J({
54
54
  "aria-label": c,
55
55
  "aria-disabled": F,
56
56
  tabIndex: F ? -1 : void 0,
57
- className: k,
57
+ className: w,
58
58
  onClick: F ? (L) => L.preventDefault() : a,
59
59
  children: S
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
63
63
  {
64
- type: s,
64
+ type: l,
65
65
  onClick: a,
66
66
  disabled: !!F,
67
67
  "aria-label": c,
68
- className: k,
68
+ className: w,
69
69
  children: S
70
70
  }
71
71
  );
@@ -76,12 +76,12 @@ function ge({
76
76
  size: n = "md",
77
77
  className: r = ""
78
78
  }) {
79
- const s = [
79
+ const l = [
80
80
  "orc-section-title",
81
81
  n ? `orc-section-title--${n}` : "",
82
82
  r
83
83
  ].filter(Boolean).join(" ");
84
- return /* @__PURE__ */ _("div", { className: s, children: [
84
+ return /* @__PURE__ */ y("div", { className: l, children: [
85
85
  a && /* @__PURE__ */ t(
86
86
  "img",
87
87
  {
@@ -93,7 +93,7 @@ function ge({
93
93
  /* @__PURE__ */ t("h2", { className: "orc-section-title__title", children: e })
94
94
  ] });
95
95
  }
96
- const dt = ({
96
+ const ut = ({
97
97
  total: e,
98
98
  active: a,
99
99
  onSelect: n,
@@ -101,10 +101,10 @@ const dt = ({
101
101
  durationMs: i = 5e3
102
102
  }) => {
103
103
  if (e <= 1) return null;
104
- const s = ["orc-dots", r].filter(Boolean).join(" "), [l, d] = Z(0);
104
+ const l = ["orc-dots", r].filter(Boolean).join(" "), [s, d] = Z(0);
105
105
  return Q(() => {
106
106
  d((h) => h + 1);
107
- }, [a, i]), /* @__PURE__ */ t("div", { className: s, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((h, f) => {
107
+ }, [a, i]), /* @__PURE__ */ t("div", { className: l, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((h, f) => {
108
108
  const m = f === a;
109
109
  return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
110
110
  "button",
@@ -121,7 +121,7 @@ const dt = ({
121
121
  m && d((u) => u + 1), n == null || n(f);
122
122
  }
123
123
  },
124
- m ? `a-${f}-${l}` : `i-${f}`
124
+ m ? `a-${f}-${s}` : `i-${f}`
125
125
  ) }, f);
126
126
  }) });
127
127
  };
@@ -132,15 +132,15 @@ function me({
132
132
  justify: r = "stretch",
133
133
  columns: i = null
134
134
  }) {
135
- const s = i || `repeat(auto-fit, minmax(${a}px, 1fr))`, l = typeof n == "number" ? `${n * 8}px` : n;
135
+ const l = i || `repeat(auto-fit, minmax(${a}px, 1fr))`, s = typeof n == "number" ? `${n * 8}px` : n;
136
136
  return /* @__PURE__ */ t(
137
137
  "div",
138
138
  {
139
139
  style: {
140
140
  display: "grid",
141
- gridTemplateColumns: s,
141
+ gridTemplateColumns: l,
142
142
  justifyItems: r,
143
- gap: l,
143
+ gap: s,
144
144
  height: "inherit"
145
145
  },
146
146
  children: e
@@ -178,16 +178,16 @@ function Ze({ src: e, alt: a }) {
178
178
  }
179
179
  );
180
180
  }
181
- const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Fe = {
182
- contenedor: Dt,
183
- flexGroup: Ut,
184
- subtitle: Vt
181
+ const Vt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Wt = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Gt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", qe = {
182
+ contenedor: Vt,
183
+ flexGroup: Wt,
184
+ subtitle: Gt
185
185
  };
186
- function Wt({ title: e, subtitle: a }) {
187
- return /* @__PURE__ */ _(
186
+ function jt({ title: e, subtitle: a }) {
187
+ return /* @__PURE__ */ y(
188
188
  "div",
189
189
  {
190
- className: Fe.contenedor,
190
+ className: qe.contenedor,
191
191
  children: [
192
192
  /* @__PURE__ */ t(
193
193
  "span",
@@ -200,17 +200,17 @@ function Wt({ title: e, subtitle: a }) {
200
200
  children: e
201
201
  }
202
202
  ),
203
- a && /* @__PURE__ */ _(
203
+ a && /* @__PURE__ */ y(
204
204
  "div",
205
205
  {
206
- className: Fe.flexGroup,
206
+ className: qe.flexGroup,
207
207
  children: [
208
- /* @__PURE__ */ _("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
208
+ /* @__PURE__ */ y("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
209
209
  " ",
210
210
  /* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
211
211
  " "
212
212
  ] }),
213
- /* @__PURE__ */ t("span", { className: Fe.subtitle, children: a }),
213
+ /* @__PURE__ */ t("span", { className: qe.subtitle, children: a }),
214
214
  /* @__PURE__ */ t("div", {})
215
215
  ]
216
216
  }
@@ -219,7 +219,7 @@ function Wt({ title: e, subtitle: a }) {
219
219
  }
220
220
  );
221
221
  }
222
- function Gt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
222
+ function Ht({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
223
223
  return /* @__PURE__ */ t(
224
224
  "span",
225
225
  {
@@ -240,14 +240,14 @@ function Gt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
240
240
  }
241
241
  );
242
242
  }
243
- function jt({ live: e, time: a }) {
244
- return /* @__PURE__ */ _("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
- e && /* @__PURE__ */ t(Gt, { text: "En vivo" }),
243
+ function Kt({ live: e, time: a }) {
244
+ return /* @__PURE__ */ y("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
+ e && /* @__PURE__ */ t(Ht, { text: "En vivo" }),
246
246
  a && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: a })
247
247
  ] });
248
248
  }
249
- function Ht({ title: e, subtitle: a, live: n = !1, time: r = "" }) {
250
- return /* @__PURE__ */ _(
249
+ function Zt({ title: e, subtitle: a, live: n = !1, time: r = "" }) {
250
+ return /* @__PURE__ */ y(
251
251
  "div",
252
252
  {
253
253
  style: {
@@ -257,33 +257,33 @@ function Ht({ title: e, subtitle: a, live: n = !1, time: r = "" }) {
257
257
  color: "#FFFFFF"
258
258
  },
259
259
  children: [
260
- /* @__PURE__ */ t(Wt, { title: e, subtitle: a }),
261
- /* @__PURE__ */ t(jt, { live: n, time: r })
260
+ /* @__PURE__ */ t(jt, { title: e, subtitle: a }),
261
+ /* @__PURE__ */ t(Kt, { live: n, time: r })
262
262
  ]
263
263
  }
264
264
  );
265
265
  }
266
- const Kt = "oraculo__OraculoEventLabel-module__label___c64Xw", Zt = {
267
- label: Kt
266
+ const Jt = "oraculo__OraculoEventLabel-module__label___c64Xw", Xt = {
267
+ label: Jt
268
268
  };
269
- function ut({ text: e }) {
270
- return /* @__PURE__ */ t("span", { className: Zt.label, children: e });
269
+ function mt({ text: e }) {
270
+ return /* @__PURE__ */ t("span", { className: Xt.label, children: e });
271
271
  }
272
- const Jt = "oraculo__OraculoEventLeague-module__container___rdk4F", Xt = {
273
- container: Jt
272
+ const Yt = "oraculo__OraculoEventLeague-module__container___rdk4F", Qt = {
273
+ container: Yt
274
274
  };
275
- function mt({ title: e }) {
276
- return /* @__PURE__ */ t("div", { className: Xt.container, children: e.toUpperCase() });
275
+ function pt({ title: e }) {
276
+ return /* @__PURE__ */ t("div", { className: Qt.container, children: e.toUpperCase() });
277
277
  }
278
- const Yt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Qt = "oraculo__OraculoEventScore-module__name___r4uL6", ea = "oraculo__OraculoEventScore-module__score___Xl03M", ta = "oraculo__OraculoEventScore-module__normal___cCNFz", aa = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
279
- scoreWrapper: Yt,
280
- name: Qt,
281
- score: ea,
282
- normal: ta,
283
- small: aa
278
+ const ea = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", ta = "oraculo__OraculoEventScore-module__name___r4uL6", aa = "oraculo__OraculoEventScore-module__score___Xl03M", na = "oraculo__OraculoEventScore-module__normal___cCNFz", oa = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
279
+ scoreWrapper: ea,
280
+ name: ta,
281
+ score: aa,
282
+ normal: na,
283
+ small: oa
284
284
  };
285
- function pt({ text: e, name: a, size: n = "normal" }) {
286
- return /* @__PURE__ */ _(
285
+ function ft({ text: e, name: a, size: n = "normal" }) {
286
+ return /* @__PURE__ */ y(
287
287
  "div",
288
288
  {
289
289
  className: `${ve.scoreWrapper} ${ve[n]}`,
@@ -294,23 +294,23 @@ function pt({ text: e, name: a, size: n = "normal" }) {
294
294
  }
295
295
  );
296
296
  }
297
- const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__OraculoEventTeamInfo-module__regular___ag826", ra = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", ia = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", sa = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", la = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
298
- team: na,
299
- regular: oa,
300
- compact: ra,
301
- logo: ia,
302
- name: sa,
303
- skeleton: la
304
- }, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7", we = {
305
- polo: ca,
306
- svgWrapper: da,
307
- shadow: ua,
308
- highlight: ma
297
+ const ra = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ia = "oraculo__OraculoEventTeamInfo-module__regular___ag826", la = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", sa = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", ca = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", da = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
298
+ team: ra,
299
+ regular: ia,
300
+ compact: la,
301
+ logo: sa,
302
+ name: ca,
303
+ skeleton: da
304
+ }, ua = "oraculo__OraculoTeamPolo-module__polo___BisRg", ma = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", pa = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", fa = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Ie = {
305
+ polo: ua,
306
+ svgWrapper: ma,
307
+ shadow: pa,
308
+ highlight: fa
309
309
  };
310
- function pa({ jersey: e, className: a }) {
311
- const n = `#${e.base}`, r = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, s = e.sleevelong ? `#${e.sleevelong}` : null;
312
- return /* @__PURE__ */ _("div", { className: `${we.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: we.svgWrapper, children: /* @__PURE__ */ _("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
310
+ function ga({ jersey: e, className: a }) {
311
+ const n = `#${e.base}`, r = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, l = e.sleevelong ? `#${e.sleevelong}` : null;
312
+ return /* @__PURE__ */ y("div", { className: `${Ie.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ t("div", { className: Ie.svgWrapper, children: /* @__PURE__ */ y("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ t(
315
315
  "path",
316
316
  {
@@ -318,11 +318,11 @@ function pa({ jersey: e, className: a }) {
318
318
  d: "m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8l-5-12.3-1.9-3.8-1.8-1.6.1-.8v-1l-.4-1.8-1.3-4.1-3.3-9-1.3-2-2.2-5.7-2.5-.3-1 .8v2l-2.7 13.1-8.7 58-.9 6.4-.2 7.9c0 3-1 16-1.7 18.3l-2.5 9-.2 7.6-.3 8.7-.3 7.5.3 4 .5 15c.3 1.9-.6 7-1.1 9.3-.6 2.4-1.6 7.5-1.4 8.8.3 1.4-.2 4.4-.5 5.8l-1.3 8.9c-.2 1.4-.8 5-1.3 7.2.7 1.6 4.7 14.6 5.9 17.8 1.2 3.3 4.8 19.4 5 20.7.3 1 1.1 7.8 1.5 11 .1 2.5.3 8 .2 10 0 2-.8 6.6-1.1 8.6-.2 1.7-.7 5.5-1.2 7s-1.2 8.5-1.4 11.8A81.1 81.1 0 0 1 477 552l.3 7.1.2 6.5 1.4 17.7.5 6 1.5 7.7.4 4.6c.3 2.1.7 7 .7 10.1.3 3-2.5 6-4 7 0 .2-1.2 1-4.6 3-6.4 5-26.3 11.6-35.5 14.3a379.2 379.2 0 0 1-58.6 11.2c-2.3.8-27 2.2-39 2.7-8.3 0-27 0-34.5-.4-11.5.9-47.4-4.8-63.9-7.7-6.3-.9-42.1-10.4-48-14.4-3.7-2.4-14.3-8-16.9-9.7a10.7 10.7 0 0 1-4.1-5.4c-.3-1 .1-8.6.4-12.3l.6-5 1.4-9.6 1-8 .3-4.3-.4-7.7-1-10.8v-13.8l.7-10 1.1-7.7 1.8-8 2.8-9.5 3.3-9.3a78 78 0 0 1-2.5-20.8 1112.2 1112.2 0 0 1 .6-14.1c-.1-.7 2.1-10.2 3.3-15l1-3.8-.1-.8c-1.4-8.3-1.5-14-1.9-15.4a78 78 0 0 1 .4-10.9l2-6.7.4-2-.4-1.5a67.6 67.6 0 0 1-7.3-27l-.2-7.7.5-5.4.3-1.5.4-3.9.7-5 .2-2.2-.2-.4-.3-6-1-3.1-.3-4-.7-7.6-1.5-8.3-.8-4.2-1.4-9.2-.4-4.3L172 279l-2.2-14.6a545 545 0 0 1-1.7-8.5c-.1-1-2-2.1-3-2.6 0 .6-.6 1.5-1.7 2-1.2.7-2.4 1.3-2.7 2.2l-.8 4.7a15 15 0 0 1-2.5 4.1 16.4 16.4 0 0 0-2.6 6.3l-.3 2.4v1.3l-1.4 1.1-.3.3-6 14.5c-.7 2.3-1.3 1.8-1.9 1.5l-10.5-3.1-9-3-18.3-6-20-6.8-13-4.8c-2.1-1-7-3-9.4-3.8-2.5-.8-3-1.3-2.8-1.4Z"
319
319
  }
320
320
  ),
321
- i && /* @__PURE__ */ _(pe, { children: [
321
+ i && /* @__PURE__ */ y(pe, { children: [
322
322
  /* @__PURE__ */ t("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
323
323
  /* @__PURE__ */ t("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
324
324
  ] }),
325
- s && /* @__PURE__ */ t(pe, { children: /* @__PURE__ */ t("path", { fill: s, 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
+ l && /* @__PURE__ */ t(pe, { children: /* @__PURE__ */ t("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" }) }),
326
326
  /* @__PURE__ */ t(
327
327
  "path",
328
328
  {
@@ -350,7 +350,7 @@ function pa({ jersey: e, className: a }) {
350
350
  "img",
351
351
  {
352
352
  src: "https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",
353
- className: we.shadow,
353
+ className: Ie.shadow,
354
354
  alt: "",
355
355
  "aria-hidden": !0
356
356
  }
@@ -359,17 +359,17 @@ function pa({ jersey: e, className: a }) {
359
359
  "img",
360
360
  {
361
361
  src: "https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png",
362
- className: we.highlight,
362
+ className: Ie.highlight,
363
363
  alt: "",
364
364
  "aria-hidden": !0
365
365
  }
366
366
  )
367
367
  ] });
368
368
  }
369
- function $e({ name: e, jersey: a, size: n = "regular" }) {
370
- return /* @__PURE__ */ _("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
369
+ function Me({ name: e, jersey: a, size: n = "regular" }) {
370
+ return /* @__PURE__ */ y("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
371
371
  a != null && a.base ? /* @__PURE__ */ t(
372
- pa,
372
+ ga,
373
373
  {
374
374
  jersey: a,
375
375
  className: `${_e.logo}`
@@ -378,12 +378,12 @@ function $e({ name: e, jersey: a, size: n = "regular" }) {
378
378
  /* @__PURE__ */ t("span", { className: _e.name, children: e })
379
379
  ] });
380
380
  }
381
- function fa(e, a, {
381
+ function ha(e, a, {
382
382
  enabled: n = !0,
383
383
  threshold: r = 60,
384
384
  cooldownMs: i = 500
385
385
  } = {}) {
386
- const s = U(0), l = U(0);
386
+ const l = U(0), s = U(0);
387
387
  Q(() => {
388
388
  if (!n) return;
389
389
  const d = e.current;
@@ -393,40 +393,40 @@ function fa(e, a, {
393
393
  if (!m || !m.go) return;
394
394
  const { deltaX: u, deltaY: c } = f;
395
395
  if (Math.abs(u) <= Math.abs(c)) return;
396
- f.preventDefault(), s.current += u;
396
+ f.preventDefault(), l.current += u;
397
397
  const g = Date.now();
398
- if (g - l.current < i || Math.abs(s.current) < r) return;
399
- const b = s.current > 0 ? ">" : "<";
400
- s.current = 0, l.current = g, m.go(b);
398
+ if (g - s.current < i || Math.abs(l.current) < r) return;
399
+ const v = l.current > 0 ? ">" : "<";
400
+ l.current = 0, s.current = g, m.go(v);
401
401
  };
402
402
  return d.addEventListener("wheel", h, { passive: !1 }), () => {
403
- d.removeEventListener("wheel", h), s.current = 0;
403
+ d.removeEventListener("wheel", h), l.current = 0;
404
404
  };
405
405
  }, [n, r, i, e, a]);
406
406
  }
407
- const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "oraculo__OraculoCarousel-module__right___KwpOE", ba = "oraculo__OraculoCarousel-module__left___n3WQu", va = "oraculo__OraculoCarousel-module__svg___0mGuX", ye = {
408
- gradientOverlay: ga,
409
- right: ha,
410
- left: ba,
411
- svg: va
412
- }, _a = Bt, ya = At, he = Tt(
407
+ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "oraculo__OraculoCarousel-module__right___KwpOE", _a = "oraculo__OraculoCarousel-module__left___n3WQu", ya = "oraculo__OraculoCarousel-module__svg___0mGuX", ye = {
408
+ gradientOverlay: ba,
409
+ right: va,
410
+ left: _a,
411
+ svg: ya
412
+ }, xa = Rt, Sa = Lt, he = Nt(
413
413
  ({
414
414
  items: e = [],
415
415
  renderItem: a,
416
416
  perPage: n = 1,
417
417
  gap: r = "0px",
418
418
  breakpoints: i,
419
- options: s = {},
420
- className: l = "",
419
+ options: l = {},
420
+ className: s = "",
421
421
  onMove: d,
422
422
  useIndexAsKey: h = !1,
423
423
  enableHorizontalWheel: f = !0,
424
424
  showRightGradient: m = !1
425
425
  }, u) => {
426
- const c = U(null), g = U(null), b = U(e.length), x = U(null), T = U(null), y = U("user");
427
- fa(g, c, {
426
+ const c = U(null), g = U(null), v = U(e.length), x = U(null), k = U(null), T = U("user");
427
+ ha(g, c, {
428
428
  enabled: f
429
- }), kt(u, () => ({
429
+ }), $t(u, () => ({
430
430
  next: () => {
431
431
  var I;
432
432
  return (I = c.current) == null ? void 0 : I.go(">");
@@ -436,84 +436,84 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
436
436
  return (I = c.current) == null ? void 0 : I.go("<");
437
437
  },
438
438
  go: (I) => {
439
- var v;
440
- return (v = c.current) == null ? void 0 : v.go(I);
439
+ var _;
440
+ return (_ = c.current) == null ? void 0 : _.go(I);
441
441
  }
442
442
  }));
443
- const O = (I) => {
443
+ const E = (I) => {
444
444
  var K;
445
- const v = I.Components.Slides, E = I.Components.Controller, q = I.root.querySelector(".splide__track"), M = (K = q == null ? void 0 : q.clientWidth) != null ? K : 0, B = E.getIndex(), P = v.getLength();
446
- let V = 0, W = B;
447
- for (let G = B; G < P; G++) {
448
- const X = v.getAt(G);
445
+ const _ = I.Components.Slides, O = I.Components.Controller, q = I.root.querySelector(".splide__track"), M = (K = q == null ? void 0 : q.clientWidth) != null ? K : 0, A = O.getIndex(), P = _.getLength();
446
+ let V = 0, W = A;
447
+ for (let G = A; G < P; G++) {
448
+ const X = _.getAt(G);
449
449
  if (!X || (V += X.slide.offsetWidth, V > M)) break;
450
450
  W = G;
451
451
  }
452
- return { visibleStart: B, visibleEnd: W };
453
- }, w = (I) => {
454
- const v = I.root.querySelector(".splide__track"), E = I.root.querySelector(".splide__list");
455
- return !v || !E ? !1 : E.scrollWidth > v.clientWidth + 1;
456
- }, R = U(!1), k = Ce((I) => {
452
+ return { visibleStart: A, visibleEnd: W };
453
+ }, b = (I) => {
454
+ const _ = I.root.querySelector(".splide__track"), O = I.root.querySelector(".splide__list");
455
+ return !_ || !O ? !1 : O.scrollWidth > _.clientWidth + 1;
456
+ }, B = U(!1), w = ke((I) => {
457
457
  var K, G;
458
- if (R.current) return;
459
- const E = I.Components.Slides.getLength(), q = y.current;
460
- if (y.current = "user", !w(I)) {
458
+ if (B.current) return;
459
+ const O = I.Components.Slides.getLength(), q = T.current;
460
+ if (T.current = "user", !b(I)) {
461
461
  d == null || d({
462
462
  index: 0,
463
463
  isStart: !0,
464
464
  isEnd: !0,
465
- total: E,
465
+ total: O,
466
466
  visibleStart: 0,
467
- visibleEnd: E - 1,
467
+ visibleEnd: O - 1,
468
468
  source: q
469
469
  });
470
470
  return;
471
471
  }
472
- const { visibleStart: M, visibleEnd: B } = O(I), P = M === 0, V = B === E - 1;
473
- m && ((K = x.current) == null || K.style.setProperty("--gradient-opacity", P ? "0" : "1"), (G = T.current) == null || G.style.setProperty("--gradient-opacity", V ? "0" : "1"));
472
+ const { visibleStart: M, visibleEnd: A } = E(I), P = M === 0, V = A === O - 1;
473
+ m && ((K = x.current) == null || K.style.setProperty("--gradient-opacity", P ? "0" : "1"), (G = k.current) == null || G.style.setProperty("--gradient-opacity", V ? "0" : "1"));
474
474
  const W = I.Components.Controller.getIndex();
475
475
  d == null || d({
476
476
  index: W,
477
477
  isStart: P,
478
478
  isEnd: V,
479
- total: E,
479
+ total: O,
480
480
  visibleStart: M,
481
- visibleEnd: B,
481
+ visibleEnd: A,
482
482
  source: q
483
483
  });
484
484
  }, [d]);
485
485
  fe.useEffect(() => {
486
- var E;
487
- const I = (E = c.current) == null ? void 0 : E.splide;
486
+ var O;
487
+ const I = (O = c.current) == null ? void 0 : O.splide;
488
488
  if (!I) return;
489
- const v = b.current !== e.length;
490
- b.current = e.length, v && requestAnimationFrame(() => {
491
- R.current = !0;
489
+ const _ = v.current !== e.length;
490
+ v.current = e.length, _ && requestAnimationFrame(() => {
491
+ B.current = !0;
492
492
  try {
493
493
  I.refresh();
494
494
  } finally {
495
- R.current = !1;
495
+ B.current = !1;
496
496
  }
497
- y.current = "resize", k(I);
497
+ T.current = "resize", w(I);
498
498
  });
499
- }, [e.length, k]);
500
- const S = Ce(() => {
501
- var v;
502
- const I = (v = c.current) == null ? void 0 : v.splide;
499
+ }, [e.length, w]);
500
+ const S = ke(() => {
501
+ var _;
502
+ const I = (_ = c.current) == null ? void 0 : _.splide;
503
503
  if (I) {
504
- R.current = !0;
504
+ B.current = !0;
505
505
  try {
506
506
  I.go(0, !1);
507
507
  } finally {
508
- R.current = !1;
508
+ B.current = !1;
509
509
  }
510
- y.current = "resize", k(I);
510
+ T.current = "resize", w(I);
511
511
  }
512
- }, [k]), F = Ce(
512
+ }, [w]), F = ke(
513
513
  (I) => {
514
- y.current = "mounted", k(I);
514
+ T.current = "mounted", w(I);
515
515
  },
516
- [k]
516
+ [w]
517
517
  ), L = {
518
518
  type: "slide",
519
519
  trimSpace: !1,
@@ -526,38 +526,38 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
526
526
  perPage: n,
527
527
  gap: r,
528
528
  breakpoints: i,
529
- ...s,
529
+ ...l,
530
530
  ...f ? { wheel: !1 } : {}
531
531
  };
532
- return /* @__PURE__ */ _(
532
+ return /* @__PURE__ */ y(
533
533
  "div",
534
534
  {
535
535
  ref: g,
536
- className: l,
536
+ className: s,
537
537
  style: { width: "100%", position: "relative", height: "100%" },
538
538
  children: [
539
539
  /* @__PURE__ */ t(
540
- _a,
540
+ xa,
541
541
  {
542
542
  ref: c,
543
543
  options: L,
544
- onMove: k,
544
+ onMove: w,
545
545
  onMounted: F,
546
546
  onResize: S,
547
- children: e.map((I, v) => {
548
- var E;
549
- return /* @__PURE__ */ t(ya, { children: a(I, v) }, h ? v : (E = I.id) != null ? E : v);
547
+ children: e.map((I, _) => {
548
+ var O;
549
+ return /* @__PURE__ */ t(Sa, { children: a(I, _) }, h ? _ : (O = I.id) != null ? O : _);
550
550
  })
551
551
  }
552
552
  ),
553
- m && /* @__PURE__ */ _(pe, { children: [
553
+ m && /* @__PURE__ */ y(pe, { children: [
554
554
  /* @__PURE__ */ t(
555
555
  "div",
556
556
  {
557
557
  ref: x,
558
558
  className: `${ye.gradientOverlay} ${ye.left}`,
559
559
  style: { "--gradient-opacity": "0" },
560
- children: /* @__PURE__ */ _(
560
+ children: /* @__PURE__ */ y(
561
561
  "svg",
562
562
  {
563
563
  className: ye.svg,
@@ -567,7 +567,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
567
567
  xmlns: "http://www.w3.org/2000/svg",
568
568
  children: [
569
569
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
570
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ _("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
570
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ y("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
571
571
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
572
572
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
573
573
  ] }) })
@@ -579,10 +579,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
579
579
  /* @__PURE__ */ t(
580
580
  "div",
581
581
  {
582
- ref: T,
582
+ ref: k,
583
583
  className: `${ye.gradientOverlay} ${ye.right}`,
584
584
  style: { "--gradient-opacity": "1" },
585
- children: /* @__PURE__ */ _(
585
+ children: /* @__PURE__ */ y(
586
586
  "svg",
587
587
  {
588
588
  className: ye.svg,
@@ -592,7 +592,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
592
592
  xmlns: "http://www.w3.org/2000/svg",
593
593
  children: [
594
594
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
595
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ _("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
595
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ y("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
596
596
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
597
597
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
598
598
  ] }) })
@@ -612,10 +612,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
612
612
  size: n = "sm",
613
613
  fillParent: r = !1
614
614
  }) => {
615
- const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, s = (d) => {
615
+ const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, l = (d) => {
616
616
  d.stopPropagation(), a == null || a();
617
- }, l = r ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
618
- return /* @__PURE__ */ _(
617
+ }, s = r ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
618
+ return /* @__PURE__ */ y(
619
619
  z,
620
620
  {
621
621
  onClick: a,
@@ -626,7 +626,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
626
626
  overflow: "hidden",
627
627
  boxSizing: "border-box",
628
628
  transition: "transform .15s ease, box-shadow .15s ease",
629
- ...l,
629
+ ...s,
630
630
  "&:hover": {
631
631
  transform: "translateY(-2px)",
632
632
  boxShadow: 8,
@@ -686,14 +686,14 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
686
686
  transition: "opacity .15s ease, transform .15s ease",
687
687
  pointerEvents: "none"
688
688
  },
689
- children: /* @__PURE__ */ t(J, { variant: "primary", size: "md", onClick: s, children: "Jugar" })
689
+ children: /* @__PURE__ */ t(J, { variant: "primary", size: "md", onClick: l, children: "Jugar" })
690
690
  }
691
691
  )
692
692
  ]
693
693
  }
694
694
  );
695
695
  };
696
- function xa({
696
+ function wa({
697
697
  imageUrl: e,
698
698
  orden: a = 1,
699
699
  onClick: n,
@@ -703,27 +703,27 @@ function xa({
703
703
  md: { w: 186, h: 264, r: 22.6, font: 64 }
704
704
  }
705
705
  }) {
706
- var u, c, g, b;
707
- const s = (x, T) => {
708
- var y, O, w, R;
706
+ var u, c, g, v;
707
+ const l = (x, k) => {
708
+ var T, E, b, B;
709
709
  return {
710
- xs: (O = (y = i.xs) == null ? void 0 : y[x]) != null ? O : T,
711
- md: (R = (w = i.md) == null ? void 0 : w[x]) != null ? R : T
710
+ xs: (E = (T = i.xs) == null ? void 0 : T[x]) != null ? E : k,
711
+ md: (B = (b = i.md) == null ? void 0 : b[x]) != null ? B : k
712
712
  };
713
- }, l = s("w", 186), d = s("h", 264), h = s("r", 22.6), f = s("font", 64), m = {
713
+ }, s = l("w", 186), d = l("h", 264), h = l("r", 22.6), f = l("font", 64), m = {
714
714
  xs: Math.round(((c = (u = i.xs) == null ? void 0 : u.font) != null ? c : 64) * 0.28),
715
- md: Math.round(((b = (g = i.md) == null ? void 0 : g.font) != null ? b : 64) * 0.28)
715
+ md: Math.round(((v = (g = i.md) == null ? void 0 : g.font) != null ? v : 64) * 0.28)
716
716
  };
717
- return /* @__PURE__ */ _(
717
+ return /* @__PURE__ */ y(
718
718
  z,
719
719
  {
720
720
  sx: {
721
721
  position: "relative",
722
722
  width: "100%",
723
- maxWidth: { xs: `${l.xs}px`, md: `${l.md}px` },
723
+ maxWidth: { xs: `${s.xs}px`, md: `${s.md}px` },
724
724
  aspectRatio: {
725
- xs: `${l.xs}/${d.xs}`,
726
- md: `${l.md}/${d.md}`
725
+ xs: `${s.xs}/${d.xs}`,
726
+ md: `${s.md}/${d.md}`
727
727
  },
728
728
  borderRadius: { xs: `${h.xs}px`, md: `${h.md}px` },
729
729
  boxSizing: "border-box",
@@ -804,15 +804,42 @@ function xa({
804
804
  }
805
805
  );
806
806
  }
807
- const Sa = ({
807
+ const Je = ({
808
808
  logo: e,
809
809
  provider: a,
810
810
  providerName: n,
811
811
  machine: r,
812
- onClick: i
812
+ onClick: i,
813
+ loading: l = !1
813
814
  }) => {
814
815
  var s;
815
- return /* @__PURE__ */ _(
816
+ return l ? /* @__PURE__ */ t(
817
+ z,
818
+ {
819
+ sx: {
820
+ flex: "0 0 auto",
821
+ position: "relative",
822
+ borderRadius: "20px",
823
+ overflow: "hidden",
824
+ width: { xs: 100, md: 180 },
825
+ height: { xs: 200, md: 380 }
826
+ },
827
+ children: /* @__PURE__ */ t(
828
+ j,
829
+ {
830
+ variant: "rectangular",
831
+ width: "100%",
832
+ height: "100%",
833
+ sx: {
834
+ bgcolor: "rgba(255,255,255,0.10)",
835
+ "&::after": {
836
+ background: "linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"
837
+ }
838
+ }
839
+ }
840
+ )
841
+ }
842
+ ) : /* @__PURE__ */ y(
816
843
  z,
817
844
  {
818
845
  onClick: i,
@@ -883,7 +910,7 @@ const Sa = ({
883
910
  ]
884
911
  }
885
912
  );
886
- }, qe = 12, ze = ({ r: e = 16 }) => /* @__PURE__ */ t(z, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
913
+ }, ze = 12, Pe = ({ r: e = 16 }) => /* @__PURE__ */ t(z, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
887
914
  j,
888
915
  {
889
916
  variant: "rectangular",
@@ -898,17 +925,17 @@ const Sa = ({
898
925
  }
899
926
  }
900
927
  }
901
- ) }), ft = ({
928
+ ) }), gt = ({
902
929
  items: e,
903
930
  layout: a = "grid",
904
931
  onClick: n,
905
932
  loading: r = !1,
906
933
  gridSkeletonCount: i = 4
907
934
  }) => {
908
- var s, l;
935
+ var l, s;
909
936
  if (a === "mosaic") {
910
937
  const d = e[0], h = e.slice(1, 5);
911
- return /* @__PURE__ */ _(
938
+ return /* @__PURE__ */ y(
912
939
  z,
913
940
  {
914
941
  sx: {
@@ -926,8 +953,8 @@ const Sa = ({
926
953
  xs: "104px",
927
954
  md: "152px"
928
955
  },
929
- columnGap: `${qe}px`,
930
- rowGap: `${qe}px`,
956
+ columnGap: `${ze}px`,
957
+ rowGap: `${ze}px`,
931
958
  alignItems: "stretch",
932
959
  justifyItems: "stretch"
933
960
  },
@@ -942,10 +969,10 @@ const Sa = ({
942
969
  overflow: "hidden",
943
970
  borderRadius: 2
944
971
  },
945
- children: r ? /* @__PURE__ */ t(ze, {}) : d && /* @__PURE__ */ t(
972
+ children: r ? /* @__PURE__ */ t(Pe, {}) : d && /* @__PURE__ */ t(
946
973
  Te,
947
974
  {
948
- imageUrl: `https://olimpo.bet${(l = (s = d.background) != null ? s : d.imageUrl) != null ? l : ""}`,
975
+ imageUrl: `https://olimpo.bet${(s = (l = d.background) != null ? l : d.imageUrl) != null ? s : ""}`,
949
976
  size: "lg",
950
977
  fillParent: !0,
951
978
  onClick: () => n == null ? void 0 : n(d, 0)
@@ -964,7 +991,7 @@ const Sa = ({
964
991
  overflow: "hidden",
965
992
  borderRadius: 2
966
993
  },
967
- children: r ? /* @__PURE__ */ t(ze, {}) : /* @__PURE__ */ t(
994
+ children: r ? /* @__PURE__ */ t(Pe, {}) : /* @__PURE__ */ t(
968
995
  Te,
969
996
  {
970
997
  imageUrl: `https://olimpo.bet${(c = (u = f.background) != null ? u : f.imageUrl) != null ? c : ""}`,
@@ -994,7 +1021,7 @@ const Sa = ({
994
1021
  xs: "repeat(2, 112px)",
995
1022
  md: "repeat(2, 168px)"
996
1023
  },
997
- gap: `${qe}px`,
1024
+ gap: `${ze}px`,
998
1025
  gridAutoFlow: "column"
999
1026
  },
1000
1027
  children: (r ? Array.from({ length: i }) : e).map((d, h) => {
@@ -1003,7 +1030,7 @@ const Sa = ({
1003
1030
  z,
1004
1031
  {
1005
1032
  sx: { overflow: "hidden", borderRadius: 2 },
1006
- children: r ? /* @__PURE__ */ t(ze, {}) : /* @__PURE__ */ t(
1033
+ children: r ? /* @__PURE__ */ t(Pe, {}) : /* @__PURE__ */ t(
1007
1034
  Te,
1008
1035
  {
1009
1036
  imageUrl: `https://olimpo.bet${(m = (f = d.background) != null ? f : d.imageUrl) != null ? m : ""}`,
@@ -1018,19 +1045,19 @@ const Sa = ({
1018
1045
  })
1019
1046
  }
1020
1047
  );
1021
- }, Je = ({
1048
+ }, Xe = ({
1022
1049
  title: e,
1023
1050
  amount: a,
1024
1051
  subtitle: n,
1025
1052
  buttonText: r,
1026
1053
  onButtonClick: i,
1027
- backgroundImage: s,
1028
- alt: l,
1054
+ backgroundImage: l,
1055
+ alt: s,
1029
1056
  className: d = "",
1030
1057
  variant: h = "small"
1031
1058
  }) => {
1032
1059
  const f = a ? a.slice(0, 2) : "", m = a ? a.slice(2) : "", u = h === "large";
1033
- return /* @__PURE__ */ _(
1060
+ return /* @__PURE__ */ y(
1034
1061
  z,
1035
1062
  {
1036
1063
  className: d,
@@ -1044,7 +1071,7 @@ const Sa = ({
1044
1071
  mx: "auto"
1045
1072
  },
1046
1073
  children: [
1047
- s && /* @__PURE__ */ t(
1074
+ l && /* @__PURE__ */ t(
1048
1075
  z,
1049
1076
  {
1050
1077
  sx: {
@@ -1061,8 +1088,8 @@ const Sa = ({
1061
1088
  z,
1062
1089
  {
1063
1090
  component: "img",
1064
- src: s,
1065
- alt: l != null ? l : "Fondo promocional",
1091
+ src: l,
1092
+ alt: s != null ? s : "Fondo promocional",
1066
1093
  sx: {
1067
1094
  width: "100%",
1068
1095
  height: "100%",
@@ -1091,7 +1118,7 @@ const Sa = ({
1091
1118
  pl: "14%",
1092
1119
  pr: { xs: "14%", lg: "15%" }
1093
1120
  },
1094
- children: /* @__PURE__ */ _(
1121
+ children: /* @__PURE__ */ y(
1095
1122
  z,
1096
1123
  {
1097
1124
  sx: {
@@ -1112,7 +1139,7 @@ const Sa = ({
1112
1139
  children: e
1113
1140
  }
1114
1141
  ),
1115
- a && /* @__PURE__ */ _(
1142
+ a && /* @__PURE__ */ y(
1116
1143
  z,
1117
1144
  {
1118
1145
  component: "p",
@@ -1170,15 +1197,15 @@ const Sa = ({
1170
1197
  ]
1171
1198
  }
1172
1199
  );
1173
- }, wa = ({
1200
+ }, Ia = ({
1174
1201
  text: e,
1175
1202
  buttonLabel: a = "Conoce más",
1176
1203
  onClick: n,
1177
1204
  imgAlt: r = "Club Olimpo",
1178
1205
  imgSrcMobile: i,
1179
- imgSrcDesktopBg: s,
1180
- imgSrcDesktopLogo: l
1181
- }) => /* @__PURE__ */ _(pe, { children: [
1206
+ imgSrcDesktopBg: l,
1207
+ imgSrcDesktopLogo: s
1208
+ }) => /* @__PURE__ */ y(pe, { children: [
1182
1209
  /* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
1183
1210
  "img",
1184
1211
  {
@@ -1187,20 +1214,20 @@ const Sa = ({
1187
1214
  className: "orc-co-bgMobileImg"
1188
1215
  }
1189
1216
  ) }),
1190
- /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ _("div", { className: "orc-co-desktopInner", children: [
1191
- s && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
1217
+ /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ y("div", { className: "orc-co-desktopInner", children: [
1218
+ l && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
1192
1219
  "img",
1193
1220
  {
1194
- src: s,
1221
+ src: l,
1195
1222
  alt: `${r} fondo`,
1196
1223
  className: "orc-co-bgDesktopImg"
1197
1224
  }
1198
1225
  ) }),
1199
- /* @__PURE__ */ _("div", { className: "orc-co-desktopContent", children: [
1200
- l && /* @__PURE__ */ t(
1226
+ /* @__PURE__ */ y("div", { className: "orc-co-desktopContent", children: [
1227
+ s && /* @__PURE__ */ t(
1201
1228
  "img",
1202
1229
  {
1203
- src: l,
1230
+ src: s,
1204
1231
  alt: `${r} logo`,
1205
1232
  className: "orc-co-logoImg"
1206
1233
  }
@@ -1209,35 +1236,35 @@ const Sa = ({
1209
1236
  /* @__PURE__ */ t(J, { onClick: n, variant: "primary", size: "md", children: a })
1210
1237
  ] })
1211
1238
  ] }) }),
1212
- /* @__PURE__ */ _("div", { className: "orc-co-bottom", children: [
1239
+ /* @__PURE__ */ y("div", { className: "orc-co-bottom", children: [
1213
1240
  /* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
1214
1241
  /* @__PURE__ */ t(J, { onClick: n, variant: "primary", size: "md", children: a })
1215
1242
  ] })
1216
- ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ca = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1217
- card: Ia,
1218
- combinadas: Oa,
1219
- combinadasScroll: Ea,
1220
- apuestaItem: Ca,
1243
+ ] }), Oa = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", ka = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", Na = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", $a = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Ma = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ba = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1244
+ card: Oa,
1245
+ combinadas: Ea,
1246
+ combinadasScroll: Ca,
1247
+ apuestaItem: ka,
1221
1248
  lineContainer: Ta,
1222
- circle: ka,
1223
- line: Na,
1224
- apuestaText: $a,
1225
- cuotaTotal: Ma
1249
+ circle: Na,
1250
+ line: $a,
1251
+ apuestaText: Ma,
1252
+ cuotaTotal: Ba
1226
1253
  };
1227
1254
  function Ue(e, a) {
1228
1255
  const n = Array.isArray(a) ? a : [a];
1229
1256
  sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
1230
1257
  }
1231
- function Ba() {
1258
+ function Aa() {
1232
1259
  window.location.href = "/deportes#in-play";
1233
1260
  }
1234
- function Aa() {
1261
+ function Ra() {
1235
1262
  window.location.href = "/deportes#sports-hub/football";
1236
1263
  }
1237
- function Ra() {
1264
+ function La() {
1238
1265
  window.location.href = "/deportes#specials";
1239
1266
  }
1240
- async function gt(e) {
1267
+ async function ht(e) {
1241
1268
  return await (await fetch("https://api.mktolimpo.com/api/jerseys/search", {
1242
1269
  method: "POST",
1243
1270
  headers: {
@@ -1248,47 +1275,47 @@ async function gt(e) {
1248
1275
  })
1249
1276
  })).json();
1250
1277
  }
1251
- const ht = Nt(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
1278
+ const bt = Mt(void 0), vt = ({ children: e, docId: a, moduleId: n }) => {
1252
1279
  const r = fe.useMemo(() => ({ docId: a, moduleId: n }), [a, n]);
1253
- return /* @__PURE__ */ t(ht.Provider, { value: r, children: e });
1254
- }, vt = () => {
1255
- const e = $t(ht);
1280
+ return /* @__PURE__ */ t(bt.Provider, { value: r, children: e });
1281
+ }, _t = () => {
1282
+ const e = Bt(bt);
1256
1283
  if (!e)
1257
1284
  throw new Error("useDocContext debe usarse dentro de DocIdProvider");
1258
1285
  return e;
1259
- }, re = () => vt().docId, le = () => vt().moduleId;
1260
- function La({ coupon: e }) {
1286
+ }, re = () => _t().docId, se = () => _t().moduleId;
1287
+ function Fa({ coupon: e }) {
1261
1288
  var f;
1262
1289
  const a = oe(), n = re();
1263
1290
  function r(m) {
1264
- var g, b;
1291
+ var g, v;
1265
1292
  const u = [], c = Array.from(
1266
1293
  new Map(
1267
1294
  ((g = m == null ? void 0 : m.events) != null ? g : []).filter(Boolean).map((x) => [x.id, x])
1268
1295
  ).values()
1269
1296
  );
1270
1297
  return c.forEach((x) => {
1271
- var w;
1272
- const T = (w = x.betoffers) != null ? w : [], y = x.homeName, O = x.awayName;
1273
- T.forEach((R) => {
1274
- var L, I, v, E, q, M, B;
1275
- if (!((L = R == null ? void 0 : R.outcomes) != null && L.length)) return;
1276
- const k = R.outcomes[0];
1277
- if (!k) return;
1298
+ var b;
1299
+ const k = (b = x.betoffers) != null ? b : [], T = x.homeName, E = x.awayName;
1300
+ k.forEach((B) => {
1301
+ var L, I, _, O, q, M, A;
1302
+ if (!((L = B == null ? void 0 : B.outcomes) != null && L.length)) return;
1303
+ const w = B.outcomes[0];
1304
+ if (!w) return;
1278
1305
  let S = "";
1279
- const F = k != null && k.line ? k.line / 1e3 : "";
1280
- ["Más de", "Mas de", "Over"].includes(k.label) ? (S = `Más de ${F}`, k.participant && (S = `${k.participant} - ${S}`)) : ["Menos de", "Menos", "Under"].includes(k.label) ? (S = `Menos de ${F}`, k.participant && (S = `${k.participant} - ${S}`)) : ["Sí", "No"].includes(k.label) ? (S = k.label, k.participant && (S = `${k.participant} - ${S}`)) : ["1X", "12", "X2"].includes(k.label) ? (k.label === "1X" && (S = `${y} o Empate`), k.label === "12" && (S = `${y} o ${O}`), k.label === "X2" && (S = `${O} o Empate`)) : (S = (v = (I = k.participant) != null ? I : k.label) != null ? v : "", F !== "" && S === k.label && (S = `${k.label} ${F}`)), u.push({
1281
- id: k.id,
1306
+ const F = w != null && w.line ? w.line / 1e3 : "";
1307
+ ["Más de", "Mas de", "Over"].includes(w.label) ? (S = `Más de ${F}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Menos de", "Menos", "Under"].includes(w.label) ? (S = `Menos de ${F}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Sí", "No"].includes(w.label) ? (S = w.label, w.participant && (S = `${w.participant} - ${S}`)) : ["1X", "12", "X2"].includes(w.label) ? (w.label === "1X" && (S = `${T} o Empate`), w.label === "12" && (S = `${T} o ${E}`), w.label === "X2" && (S = `${E} o Empate`)) : (S = (_ = (I = w.participant) != null ? I : w.label) != null ? _ : "", F !== "" && S === w.label && (S = `${w.label} ${F}`)), u.push({
1308
+ id: w.id,
1282
1309
  value: S,
1283
- label: (q = (E = R.criterion) == null ? void 0 : E.label) != null ? q : "",
1284
- odds: (M = k.odds) != null ? M : 0,
1285
- position: (B = k.position) != null ? B : 0,
1310
+ label: (q = (O = B.criterion) == null ? void 0 : O.label) != null ? q : "",
1311
+ odds: (M = w.odds) != null ? M : 0,
1312
+ position: (A = w.position) != null ? A : 0,
1286
1313
  eventId: x.id
1287
1314
  });
1288
1315
  });
1289
1316
  }), {
1290
- outcomes: u.sort((x, T) => x.position - T.position),
1291
- total: Number((b = m == null ? void 0 : m.combinadoTotal) != null ? b : 0).toLocaleString("en-US", {
1317
+ outcomes: u.sort((x, k) => x.position - k.position),
1318
+ total: Number((v = m == null ? void 0 : m.combinadoTotal) != null ? v : 0).toLocaleString("en-US", {
1292
1319
  minimumFractionDigits: 2,
1293
1320
  maximumFractionDigits: 2
1294
1321
  }),
@@ -1302,23 +1329,23 @@ function La({ coupon: e }) {
1302
1329
  if (u.length === 1)
1303
1330
  return `/deportes#event/${u[0].id}`;
1304
1331
  const c = u[0].groupId;
1305
- if (u.every((b) => b.groupId === c)) {
1306
- const b = u[0].path;
1307
- if (Array.isArray(b) && b.length > 0)
1308
- return `/deportes#sports-hub/${b.map((T) => T.termKey).filter(Boolean).join("/")}`;
1332
+ if (u.every((v) => v.groupId === c)) {
1333
+ const v = u[0].path;
1334
+ if (Array.isArray(v) && v.length > 0)
1335
+ return `/deportes#sports-hub/${v.map((k) => k.termKey).filter(Boolean).join("/")}`;
1309
1336
  }
1310
1337
  return "/deportes#home";
1311
1338
  }
1312
- const s = (m, u) => {
1339
+ const l = (m, u) => {
1313
1340
  const c = Array.isArray(m) ? m : [m], g = Array.from(
1314
1341
  new Set(
1315
- l.outcomes.map((T) => {
1316
- var O;
1317
- const y = h.get(Number(T.eventId));
1318
- return (O = y == null ? void 0 : y.name) != null ? O : "";
1342
+ s.outcomes.map((k) => {
1343
+ var E;
1344
+ const T = h.get(Number(k.eventId));
1345
+ return (E = T == null ? void 0 : T.name) != null ? E : "";
1319
1346
  })
1320
1347
  )
1321
- ).filter(Boolean), b = g.length > 0 ? g.join(" + ") : JSON.stringify(c), x = u ? `${b} - Cuota: ${u}` : b;
1348
+ ).filter(Boolean), v = g.length > 0 ? g.join(" + ") : JSON.stringify(c), x = u ? `${v} - Cuota: ${u}` : v;
1322
1349
  a({
1323
1350
  element: "evento_semana_outcome",
1324
1351
  label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${x}`,
@@ -1332,13 +1359,13 @@ function La({ coupon: e }) {
1332
1359
  }), Ue(i(e), m);
1333
1360
  };
1334
1361
  if (!((f = e == null ? void 0 : e.events) != null && f.length)) return null;
1335
- const l = r(e), d = l.outcomes.reduce((m, u) => (m[u.eventId] || (m[u.eventId] = []), m[u.eventId].push(u), m), {}), h = new Map(
1336
- l.events.map((m) => [m.id, m])
1362
+ const s = r(e), d = s.outcomes.reduce((m, u) => (m[u.eventId] || (m[u.eventId] = []), m[u.eventId].push(u), m), {}), h = new Map(
1363
+ s.events.map((m) => [m.id, m])
1337
1364
  );
1338
- return /* @__PURE__ */ _("div", { className: ce.card, children: [
1365
+ return /* @__PURE__ */ y("div", { className: ce.card, children: [
1339
1366
  /* @__PURE__ */ t("div", { className: ce.combinadas, children: /* @__PURE__ */ t("div", { className: ce.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(d).reverse().map(([m, u]) => {
1340
1367
  const c = h.get(Number(m));
1341
- return c ? /* @__PURE__ */ _(
1368
+ return c ? /* @__PURE__ */ y(
1342
1369
  H,
1343
1370
  {
1344
1371
  direction: "column",
@@ -1360,34 +1387,34 @@ function La({ coupon: e }) {
1360
1387
  src: "/assets/img/home/Combinadas/line.png"
1361
1388
  }
1362
1389
  ),
1363
- u.map((g, b) => /* @__PURE__ */ _("div", { className: ce.apuestaItem, children: [
1364
- /* @__PURE__ */ _("div", { className: ce.lineContainer, children: [
1390
+ u.map((g, v) => /* @__PURE__ */ y("div", { className: ce.apuestaItem, children: [
1391
+ /* @__PURE__ */ y("div", { className: ce.lineContainer, children: [
1365
1392
  /* @__PURE__ */ t("div", { className: ce.circle }),
1366
- b < u.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1393
+ v < u.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1367
1394
  ] }),
1368
- /* @__PURE__ */ _("div", { className: ce.apuestaText, children: [
1395
+ /* @__PURE__ */ y("div", { className: ce.apuestaText, children: [
1369
1396
  /* @__PURE__ */ t("strong", { children: g.value }),
1370
1397
  " | ",
1371
1398
  g.label
1372
1399
  ] })
1373
- ] }, `${m}-${b}`))
1400
+ ] }, `${m}-${v}`))
1374
1401
  ]
1375
1402
  },
1376
1403
  m
1377
1404
  ) : null;
1378
1405
  }) }) }) }),
1379
- /* @__PURE__ */ _(
1406
+ /* @__PURE__ */ y(
1380
1407
  "button",
1381
1408
  {
1382
- onClick: () => s(
1383
- l.outcomes.map((m) => m.id),
1384
- l.total
1409
+ onClick: () => l(
1410
+ s.outcomes.map((m) => m.id),
1411
+ s.total
1385
1412
  ),
1386
1413
  className: ce.cuotaTotal,
1387
1414
  children: [
1388
- /* @__PURE__ */ _("span", { children: [
1415
+ /* @__PURE__ */ y("span", { children: [
1389
1416
  "Cuota total: ",
1390
- /* @__PURE__ */ t("strong", { children: l.total })
1417
+ /* @__PURE__ */ t("strong", { children: s.total })
1391
1418
  ] }),
1392
1419
  /* @__PURE__ */ t(
1393
1420
  "img",
@@ -1416,14 +1443,14 @@ const de = {
1416
1443
  "orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
1417
1444
  "orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
1418
1445
  };
1419
- function Fa({
1446
+ function qa({
1420
1447
  children: e,
1421
1448
  onClick: a,
1422
1449
  href: n,
1423
1450
  target: r,
1424
1451
  rel: i,
1425
- type: s = "button",
1426
- disabled: l = !1,
1452
+ type: l = "button",
1453
+ disabled: s = !1,
1427
1454
  variant: d = "primary",
1428
1455
  size: h,
1429
1456
  fullWidth: f = !1,
@@ -1431,10 +1458,10 @@ function Fa({
1431
1458
  className: u = "",
1432
1459
  ariaLabel: c,
1433
1460
  leftIcon: g,
1434
- rightIcon: b,
1461
+ rightIcon: v,
1435
1462
  iconOnly: x
1436
1463
  }) {
1437
- const T = !!e && e !== !0, w = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, R = x != null ? x : w && !T, k = [
1464
+ const k = !!e && e !== !0, b = (!!g ? 1 : 0) + (!!v ? 1 : 0) == 1, B = x != null ? x : b && !k, w = [
1438
1465
  de["orc-btn"],
1439
1466
  // base
1440
1467
  de[`orc-btn--${d}`],
@@ -1443,15 +1470,15 @@ function Fa({
1443
1470
  // sm / md / lg
1444
1471
  f ? de["orc-btn--full"] : "",
1445
1472
  m ? de["orc-btn--fullHeight"] : "",
1446
- R ? de["orc-btn--iconOnly"] : "",
1473
+ B ? de["orc-btn--iconOnly"] : "",
1447
1474
  u
1448
- ].filter(Boolean).join(" "), S = /* @__PURE__ */ _(pe, { children: [
1475
+ ].filter(Boolean).join(" "), S = /* @__PURE__ */ y(pe, { children: [
1449
1476
  g && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: g }),
1450
- !R && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1451
- b && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: b })
1452
- ] }), F = l ? !0 : void 0;
1477
+ !B && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1478
+ v && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: v })
1479
+ ] }), F = s ? !0 : void 0;
1453
1480
  return n ? /* @__PURE__ */ t(
1454
- it,
1481
+ lt,
1455
1482
  {
1456
1483
  href: n,
1457
1484
  target: r,
@@ -1459,55 +1486,55 @@ function Fa({
1459
1486
  "aria-label": c,
1460
1487
  "aria-disabled": F,
1461
1488
  tabIndex: F ? -1 : void 0,
1462
- className: k,
1489
+ className: w,
1463
1490
  onClick: F ? (L) => L.preventDefault() : a,
1464
1491
  children: S
1465
1492
  }
1466
1493
  ) : /* @__PURE__ */ t(
1467
1494
  "button",
1468
1495
  {
1469
- type: s,
1496
+ type: l,
1470
1497
  onClick: a,
1471
1498
  disabled: !!F,
1472
1499
  "aria-label": c,
1473
- className: k,
1500
+ className: w,
1474
1501
  children: S
1475
1502
  }
1476
1503
  );
1477
1504
  }
1478
- const qa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", za = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Pa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
1479
- cardWrapper: qa,
1480
- customButtonLabel: za,
1481
- customButtonDisabled: Pa
1482
- }, Xe = {
1505
+ const za = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Da = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", Ne = {
1506
+ cardWrapper: za,
1507
+ customButtonLabel: Pa,
1508
+ customButtonDisabled: Da
1509
+ }, Ye = {
1483
1510
  base: "FFFFFF",
1484
1511
  sleeve: "FFFFFF",
1485
1512
  number: "000000",
1486
1513
  real: !1,
1487
1514
  type: "short_sleeves"
1488
- }, Ye = {
1515
+ }, Qe = {
1489
1516
  base: "000000",
1490
1517
  sleeve: "000000",
1491
1518
  number: "FFFFFF",
1492
1519
  real: !1,
1493
1520
  type: "short_sleeves"
1494
- }, Me = (e, a, n = "player") => {
1495
- var i, s;
1521
+ }, Be = (e, a, n = "player") => {
1522
+ var i, l;
1496
1523
  if (e === void 0)
1497
1524
  return null;
1498
1525
  if (e === null)
1499
- return a === "home" ? Xe : Ye;
1500
- const r = (s = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : s[n];
1501
- return r || (a === "home" ? Xe : Ye);
1526
+ return a === "home" ? Ye : Qe;
1527
+ const r = (l = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : l[n];
1528
+ return r || (a === "home" ? Ye : Qe);
1502
1529
  };
1503
- function Da({ event: e, liveData: a, betOffers: n, jersey: r }) {
1504
- var d, h, f, m, u, c, g, b, x, T, y;
1530
+ function Ua({ event: e, liveData: a, betOffers: n, jersey: r }) {
1531
+ var d, h, f, m, u, c, g, v, x, k, T;
1505
1532
  const i = n == null ? void 0 : n.find(
1506
- (O) => {
1507
- var w;
1508
- return ((w = O.betOfferType) == null ? void 0 : w.id) === 2;
1533
+ (E) => {
1534
+ var b;
1535
+ return ((b = E.betOfferType) == null ? void 0 : b.id) === 2;
1509
1536
  }
1510
- ), s = {
1537
+ ), l = {
1511
1538
  englishLabel: "",
1512
1539
  type: "",
1513
1540
  betOfferId: 0,
@@ -1516,15 +1543,15 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: r }) {
1516
1543
  oddsAmerican: "",
1517
1544
  status: "INACTIVE",
1518
1545
  cashOutStatus: "SUSPENDED"
1519
- }, l = [
1520
- { ...s, id: -1, label: "1", odds: void 0 },
1521
- { ...s, id: -2, label: "X", odds: void 0 },
1522
- { ...s, id: -3, label: "2", odds: void 0 }
1546
+ }, s = [
1547
+ { ...l, id: -1, label: "1", odds: void 0 },
1548
+ { ...l, id: -2, label: "X", odds: void 0 },
1549
+ { ...l, id: -3, label: "2", odds: void 0 }
1523
1550
  ];
1524
- return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
- /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1551
+ return /* @__PURE__ */ t("div", { className: Ne.cardWrapper, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1552
+ /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1526
1553
  /* @__PURE__ */ t(
1527
- Ht,
1554
+ Zt,
1528
1555
  {
1529
1556
  title: (f = (h = (d = e == null ? void 0 : e.path) == null ? void 0 : d[0]) == null ? void 0 : h.name) != null ? f : "",
1530
1557
  subtitle: (m = e == null ? void 0 : e.group) != null ? m : "",
@@ -1532,85 +1559,85 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: r }) {
1532
1559
  time: ((u = a == null ? void 0 : a.matchClock) == null ? void 0 : u.minute) != null ? `${a.matchClock.minute}'` : ""
1533
1560
  }
1534
1561
  ),
1535
- /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1536
- /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.homeName, jersey: Me(r, "home") }),
1537
- /* @__PURE__ */ t(pt, { text: ((g = (c = a == null ? void 0 : a.score) == null ? void 0 : c.home) != null ? g : 0) + ":" + ((x = (b = a == null ? void 0 : a.score) == null ? void 0 : b.away) != null ? x : 0), name: "En vivo" }),
1538
- /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.awayName, jersey: Me(r, "away") })
1562
+ /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1563
+ /* @__PURE__ */ t(Me, { name: e == null ? void 0 : e.homeName, jersey: Be(r, "home") }),
1564
+ /* @__PURE__ */ t(ft, { text: ((g = (c = a == null ? void 0 : a.score) == null ? void 0 : c.home) != null ? g : 0) + ":" + ((x = (v = a == null ? void 0 : a.score) == null ? void 0 : v.away) != null ? x : 0), name: "En vivo" }),
1565
+ /* @__PURE__ */ t(Me, { name: e == null ? void 0 : e.awayName, jersey: Be(r, "away") })
1539
1566
  ] }) })
1540
1567
  ] }),
1541
- /* @__PURE__ */ _(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1542
- /* @__PURE__ */ t(me, { spacing: 1, children: ((T = i == null ? void 0 : i.outcomes) != null ? T : l).map((O, w) => /* @__PURE__ */ t(ut, { text: O.label.toUpperCase() }, w)) }),
1543
- /* @__PURE__ */ t(me, { spacing: 2, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : l).map((O, w) => /* @__PURE__ */ t(Fa, { variant: "primary", disabled: O.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1544
- Ue("/deportes#event/live/" + e.id, O.id);
1545
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: O.odds === void 0 ? "" : (O.odds / 1e3).toFixed(2) }) }, w)) })
1568
+ /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1569
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((k = i == null ? void 0 : i.outcomes) != null ? k : s).map((E, b) => /* @__PURE__ */ t(mt, { text: E.label.toUpperCase() }, b)) }),
1570
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((T = i == null ? void 0 : i.outcomes) != null ? T : s).map((E, b) => /* @__PURE__ */ t(qa, { variant: "primary", disabled: E.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1571
+ Ue("/deportes#event/live/" + e.id, E.id);
1572
+ }, className: Ne.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: Ne.customButtonLabel, children: E.odds === void 0 ? "" : (E.odds / 1e3).toFixed(2) }) }, b)) })
1546
1573
  ] })
1547
1574
  ] }) });
1548
1575
  }
1549
- const Ua = "oraculo__OraculoEventDate-module__date___xhIlh", Va = {
1550
- date: Ua
1576
+ const Va = "oraculo__OraculoEventDate-module__date___xhIlh", Wa = {
1577
+ date: Va
1551
1578
  };
1552
- function Wa({ text: e }) {
1553
- return /* @__PURE__ */ t("div", { className: `oli-font ${Va.date}`, children: e });
1579
+ function Ga({ text: e }) {
1580
+ return /* @__PURE__ */ t("div", { className: `oli-font ${Wa.date}`, children: e });
1554
1581
  }
1555
- const Ga = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ja = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Ha = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Ka = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", be = {
1556
- cardContainer: Ga,
1557
- cardBackground: ja,
1558
- jugadas: Ha,
1559
- equipos: Ka
1582
+ const ja = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Ha = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Ka = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Za = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", be = {
1583
+ cardContainer: ja,
1584
+ cardBackground: Ha,
1585
+ jugadas: Ka,
1586
+ equipos: Za
1560
1587
  };
1561
- function Za({ event: e, jersey: a }) {
1562
- var l, d, h, f, m, u, c;
1588
+ function Ja({ event: e, jersey: a }) {
1589
+ var s, d, h, f, m, u, c;
1563
1590
  const n = oe(), r = re();
1564
1591
  function i(g) {
1565
- const b = new Date(g), x = b.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), T = b.getDate().toString().padStart(2, "0"), y = (b.getMonth() + 1).toString().padStart(2, "0");
1566
- let O = b.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1567
- return O = O.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${T}/${y} | ${O}`;
1592
+ const v = new Date(g), x = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), k = v.getDate().toString().padStart(2, "0"), T = (v.getMonth() + 1).toString().padStart(2, "0");
1593
+ let E = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1594
+ return E = E.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${k}/${T} | ${E}`;
1568
1595
  }
1569
- const s = (g, b) => {
1570
- const x = `${e.homeName} vs ${e.awayName}`, T = b ? (b / 1e3).toFixed(2) : "", y = T ? `${x} - Cuota: ${T}` : x;
1596
+ const l = (g, v) => {
1597
+ const x = `${e.homeName} vs ${e.awayName}`, k = v ? (v / 1e3).toFixed(2) : "", T = k ? `${x} - Cuota: ${k}` : x;
1571
1598
  n({
1572
1599
  element: "evento_semana_outcome",
1573
- label: `Landing: ${r} - OraculoEventSemanaCard - Click: ${y}`,
1600
+ label: `Landing: ${r} - OraculoEventSemanaCard - Click: ${T}`,
1574
1601
  target: "/deportes#in-play",
1575
1602
  event_type: "click",
1576
1603
  module_id: 301,
1577
1604
  metadata: {
1578
1605
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1579
1606
  },
1580
- tags: { section: "OraculoEventSemanaCard", outcomes: y }
1607
+ tags: { section: "OraculoEventSemanaCard", outcomes: T }
1581
1608
  }), Ue("/deportes#event/" + e.id, g);
1582
1609
  };
1583
- return /* @__PURE__ */ _("div", { className: be.cardContainer, children: [
1584
- /* @__PURE__ */ t(mt, { title: (l = e == null ? void 0 : e.group) != null ? l : "" }),
1585
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1586
- /* @__PURE__ */ _(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1587
- /* @__PURE__ */ _("div", { className: be.equipos, children: [
1588
- /* @__PURE__ */ t($e, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1589
- /* @__PURE__ */ t(pt, { text: "vs.", name: "", size: "small" }),
1590
- /* @__PURE__ */ t($e, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1610
+ return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
1611
+ /* @__PURE__ */ t(pt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
1612
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1613
+ /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1614
+ /* @__PURE__ */ y("div", { className: be.equipos, children: [
1615
+ /* @__PURE__ */ t(Me, { name: e.homeName, size: "compact", jersey: Be(a, "home") }),
1616
+ /* @__PURE__ */ t(ft, { text: "vs.", name: "", size: "small" }),
1617
+ /* @__PURE__ */ t(Me, { name: e.awayName, size: "compact", jersey: Be(a, "away") })
1591
1618
  ] }),
1592
- /* @__PURE__ */ t(Wa, { text: i(e.start) })
1619
+ /* @__PURE__ */ t(Ga, { text: i(e.start) })
1593
1620
  ] }),
1594
- /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1595
- /* @__PURE__ */ t(me, { spacing: 1, children: ((f = (h = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : h.outcomes) != null ? f : []).map((g, b) => /* @__PURE__ */ t(ut, { text: g.label.toUpperCase() }, b)) }),
1596
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((c = (u = (m = e == null ? void 0 : e.outcome) == null ? void 0 : m[0]) == null ? void 0 : u.outcomes) != null ? c : []).map((g, b) => /* @__PURE__ */ t(J, { variant: "primary", fullHeight: !0, onClick: () => {
1597
- s(g.id, g.odds);
1598
- }, children: (g.odds / 1e3).toFixed(2) }, b)) }) })
1621
+ /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1622
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((f = (h = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : h.outcomes) != null ? f : []).map((g, v) => /* @__PURE__ */ t(mt, { text: g.label.toUpperCase() }, v)) }),
1623
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((c = (u = (m = e == null ? void 0 : e.outcome) == null ? void 0 : m[0]) == null ? void 0 : u.outcomes) != null ? c : []).map((g, v) => /* @__PURE__ */ t(J, { variant: "primary", fullHeight: !0, onClick: () => {
1624
+ l(g.id, g.odds);
1625
+ }, children: (g.odds / 1e3).toFixed(2) }, v)) }) })
1599
1626
  ] })
1600
1627
  ] }) })
1601
1628
  ] });
1602
1629
  }
1603
- function Ja({
1630
+ function Xa({
1604
1631
  items: e,
1605
1632
  title: a = "Destacados",
1606
1633
  iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
1607
1634
  onViewMore: r,
1608
1635
  onItemClick: i,
1609
- className: s = "",
1610
- paddingMobile: l = "24px"
1636
+ className: l = "",
1637
+ paddingMobile: s = "24px"
1611
1638
  }) {
1612
- var k;
1613
- const d = U(null), [h, f] = Z({ isStart: !0, isEnd: !1 }), m = oe(), u = re(), c = le(), g = !e || e.length === 0, b = () => {
1639
+ var w;
1640
+ const d = U(null), [h, f] = Z({ isStart: !0, isEnd: !1 }), m = oe(), u = re(), c = se(), g = !e || e.length === 0, v = () => {
1614
1641
  var S;
1615
1642
  m({
1616
1643
  element: "destacados_carousel_prev",
@@ -1636,7 +1663,7 @@ function Ja({
1636
1663
  },
1637
1664
  tags: { section: "OraculoSeccionDestacados" }
1638
1665
  }), (S = d.current) == null || S.next();
1639
- }, T = () => {
1666
+ }, k = () => {
1640
1667
  m({
1641
1668
  element: "destacados_view_more",
1642
1669
  label: `${u} - OraculoSeccionDestacados - Ver más`,
@@ -1648,15 +1675,15 @@ function Ja({
1648
1675
  },
1649
1676
  tags: { section: "OraculoSeccionDestacados" }
1650
1677
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1651
- }, y = s || void 0, O = xe("(max-width:950px)"), w = (k = e == null ? void 0 : e.length) != null ? k : 0;
1678
+ }, T = l || void 0, E = xe("(max-width:950px)"), b = (w = e == null ? void 0 : e.length) != null ? w : 0;
1652
1679
  Q(() => {
1653
- if (w === 0) {
1680
+ if (b === 0) {
1654
1681
  f({ isStart: !0, isEnd: !0 });
1655
1682
  return;
1656
1683
  }
1657
1684
  f({ isStart: !0, isEnd: !1 });
1658
- }, [w, O, l]);
1659
- const R = (S) => {
1685
+ }, [b, E, s]);
1686
+ const B = (S) => {
1660
1687
  const F = S.promotion, L = F ? `https://www.olimpo.bet/promociones/${encodeURIComponent(F)}` : "";
1661
1688
  if (m({
1662
1689
  element: "destacados_card",
@@ -1677,8 +1704,8 @@ function Ja({
1677
1704
  }
1678
1705
  L && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(L);
1679
1706
  };
1680
- return /* @__PURE__ */ _("section", { className: y, style: { width: "100%" }, children: [
1681
- /* @__PURE__ */ _(
1707
+ return /* @__PURE__ */ y("section", { className: T, style: { width: "100%" }, children: [
1708
+ /* @__PURE__ */ y(
1682
1709
  "header",
1683
1710
  {
1684
1711
  style: {
@@ -1688,20 +1715,20 @@ function Ja({
1688
1715
  columnGap: 12,
1689
1716
  rowGap: 8,
1690
1717
  marginBottom: 16,
1691
- paddingLeft: O ? l : 0,
1692
- paddingRight: O ? l : 0
1718
+ paddingLeft: E ? s : 0,
1719
+ paddingRight: E ? s : 0
1693
1720
  },
1694
1721
  children: [
1695
1722
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1696
- /* @__PURE__ */ _("div", { style: { display: "flex", gap: 8 }, children: [
1723
+ /* @__PURE__ */ y("div", { style: { display: "flex", gap: 8 }, children: [
1697
1724
  /* @__PURE__ */ t(
1698
1725
  J,
1699
1726
  {
1700
1727
  ariaLabel: "Anterior",
1701
1728
  variant: "secondary",
1702
1729
  iconOnly: !0,
1703
- leftIcon: /* @__PURE__ */ t(Ae, {}),
1704
- onClick: b,
1730
+ leftIcon: /* @__PURE__ */ t(Re, {}),
1731
+ onClick: v,
1705
1732
  disabled: h.isStart || g
1706
1733
  }
1707
1734
  ),
@@ -1711,13 +1738,13 @@ function Ja({
1711
1738
  ariaLabel: "Siguiente",
1712
1739
  variant: "secondary",
1713
1740
  iconOnly: !0,
1714
- rightIcon: /* @__PURE__ */ t(Re, {}),
1741
+ rightIcon: /* @__PURE__ */ t(Le, {}),
1715
1742
  onClick: x,
1716
1743
  disabled: h.isEnd || g
1717
1744
  }
1718
1745
  )
1719
1746
  ] }),
1720
- /* @__PURE__ */ t(J, { variant: "secondary", onClick: T, children: "Ver más" })
1747
+ /* @__PURE__ */ t(J, { variant: "secondary", onClick: k, children: "Ver más" })
1721
1748
  ]
1722
1749
  }
1723
1750
  ),
@@ -1729,10 +1756,10 @@ function Ja({
1729
1756
  perPage: void 0,
1730
1757
  gap: "16px",
1731
1758
  enableHorizontalWheel: !0,
1732
- showRightGradient: !O,
1759
+ showRightGradient: !E,
1733
1760
  options: { autoWidth: !0, trimSpace: "move" },
1734
1761
  breakpoints: {
1735
- 768: { perPage: 2, focus: "start", padding: { left: l, right: l } },
1762
+ 768: { perPage: 2, focus: "start", padding: { left: s, right: s } },
1736
1763
  1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
1737
1764
  },
1738
1765
  renderItem: (S) => /* @__PURE__ */ t(
@@ -1742,7 +1769,7 @@ function Ja({
1742
1769
  textAlign: "center",
1743
1770
  cursor: "pointer"
1744
1771
  },
1745
- onClick: () => R(S),
1772
+ onClick: () => B(S),
1746
1773
  children: /* @__PURE__ */ t(
1747
1774
  "img",
1748
1775
  {
@@ -1779,28 +1806,28 @@ function Ja({
1779
1806
  )
1780
1807
  ] });
1781
1808
  }
1782
- const Ne = "__ORACULO_EXTRAS__";
1783
- function _t() {
1809
+ const $e = "__ORACULO_EXTRAS__";
1810
+ function yt() {
1784
1811
  const e = globalThis;
1785
- return e[Ne] || (e[Ne] = {}), e[Ne];
1812
+ return e[$e] || (e[$e] = {}), e[$e];
1786
1813
  }
1787
- function Xa(e) {
1788
- _t().extras = e;
1814
+ function Ya(e) {
1815
+ yt().extras = e;
1789
1816
  }
1790
- function se(e) {
1817
+ function le(e) {
1791
1818
  var a;
1792
- return (a = _t().extras) == null ? void 0 : a[e];
1819
+ return (a = yt().extras) == null ? void 0 : a[e];
1793
1820
  }
1794
- function Ya() {
1795
- delete globalThis[Ne];
1821
+ function Qa() {
1822
+ delete globalThis[$e];
1796
1823
  }
1797
- function Qa({
1824
+ function en({
1798
1825
  items: e,
1799
1826
  title: a = "Top Juegos",
1800
1827
  iconUrl: n,
1801
1828
  onCardClick: r
1802
1829
  }) {
1803
- const i = oe(), s = re(), l = le(), d = ie(
1830
+ const i = oe(), l = re(), s = se(), d = ie(
1804
1831
  () => (e != null ? e : []).map((u, c) => {
1805
1832
  var g;
1806
1833
  return {
@@ -1813,10 +1840,10 @@ function Qa({
1813
1840
  ), h = !e || e.length === 0, f = h ? Array.from({ length: 6 }) : d.slice(0, 6), m = (u) => {
1814
1841
  i({
1815
1842
  element: "top_juegos_card",
1816
- label: `${s} - OraculoSeccionTopJuegos - Open game: ${String(u.machine || "unknown")}`,
1843
+ label: `${l} - OraculoSeccionTopJuegos - Open game: ${String(u.machine || "unknown")}`,
1817
1844
  target: String(u.machine || "unknown"),
1818
1845
  event_type: "click",
1819
- module_id: l,
1846
+ module_id: s,
1820
1847
  metadata: {
1821
1848
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1822
1849
  },
@@ -1825,12 +1852,12 @@ function Qa({
1825
1852
  section: "OraculoSeccionTopJuegos"
1826
1853
  }
1827
1854
  });
1828
- const c = se("showIframe"), g = se("loadMachine");
1855
+ const c = le("showIframe"), g = le("loadMachine");
1829
1856
  c == null || c(), requestAnimationFrame(() => {
1830
1857
  g == null || g(u, !1, "CASINO");
1831
1858
  });
1832
1859
  };
1833
- return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1860
+ return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1834
1861
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1835
1862
  /* @__PURE__ */ t(
1836
1863
  z,
@@ -1846,9 +1873,9 @@ function Qa({
1846
1873
  width: "100%"
1847
1874
  },
1848
1875
  children: f.map((u, c) => {
1849
- var g, b;
1876
+ var g, v;
1850
1877
  return /* @__PURE__ */ t(
1851
- xa,
1878
+ wa,
1852
1879
  {
1853
1880
  imageUrl: h ? "" : u.background ? `https://olimpo.bet${u.background}` : `https://olimpo.bet${(g = u.logo) != null ? g : ""}`,
1854
1881
  orden: h ? c + 1 : u.orden,
@@ -1857,15 +1884,15 @@ function Qa({
1857
1884
  r == null || r(u), m(u);
1858
1885
  }
1859
1886
  },
1860
- h ? `sk-${c}` : (b = u.machine) != null ? b : `${c}`
1887
+ h ? `sk-${c}` : (v = u.machine) != null ? v : `${c}`
1861
1888
  );
1862
1889
  })
1863
1890
  }
1864
1891
  )
1865
1892
  ] }) });
1866
1893
  }
1867
- const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
1868
- var n, r, i, s, l, d, h, f, m, u, c, g, b, x;
1894
+ const tn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", an = (e, a) => {
1895
+ var n, r, i, l, s, d, h, f, m, u, c, g, v, x;
1869
1896
  return {
1870
1897
  orden: Number(a),
1871
1898
  machine: String(
@@ -1873,8 +1900,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1873
1900
  ),
1874
1901
  logo: (r = e.logo) != null ? r : "",
1875
1902
  name: (i = e.room_name) != null ? i : "",
1876
- web_name: (s = e.product) != null ? s : "",
1877
- provider: (l = e.service) != null ? l : "",
1903
+ web_name: (l = e.product) != null ? l : "",
1904
+ provider: (s = e.service) != null ? s : "",
1878
1905
  sub_provider: (d = e.service) != null ? d : "",
1879
1906
  external_id: (h = e.external_id) != null ? h : "",
1880
1907
  type: (f = e.game_type) != null ? f : "",
@@ -1882,28 +1909,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1882
1909
  lobby_tag: (u = e.lobby_tag) != null ? u : null,
1883
1910
  background: (c = e.background) != null ? c : "",
1884
1911
  rtp: (g = e.rtp) != null ? g : null,
1885
- demo_allowed: (b = e.demo_allowed) != null ? b : !1,
1912
+ demo_allowed: (v = e.demo_allowed) != null ? v : !1,
1886
1913
  gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
1887
1914
  };
1888
- }, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
1915
+ }, nn = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], xt = () => {
1889
1916
  var a, n, r;
1890
- const e = se("user");
1917
+ const e = le("user");
1891
1918
  return (r = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? r : null;
1892
- }, nn = async (e) => {
1893
- const a = yt(), n = new URLSearchParams({
1919
+ }, on = async (e) => {
1920
+ const a = xt(), n = new URLSearchParams({
1894
1921
  userId: String(a),
1895
1922
  productType: e
1896
- }), r = `${en}?${n.toString()}`, i = await fetch(r);
1923
+ }), r = `${tn}?${n.toString()}`, i = await fetch(r);
1897
1924
  if (!i.ok)
1898
1925
  throw new Error(
1899
1926
  `No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
1900
1927
  );
1901
- const s = await i.json();
1928
+ const l = await i.json();
1902
1929
  return {
1903
- ...s,
1904
- recommendations: Array.isArray(s == null ? void 0 : s.recommendations) ? s.recommendations.slice(0, 49) : []
1930
+ ...l,
1931
+ recommendations: Array.isArray(l == null ? void 0 : l.recommendations) ? l.recommendations.slice(0, 49) : []
1905
1932
  };
1906
- }, on = async (e, a) => {
1933
+ }, rn = async (e, a) => {
1907
1934
  const n = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", r = JSON.stringify({
1908
1935
  userId: String(e),
1909
1936
  items: a
@@ -1918,57 +1945,57 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1918
1945
  throw new Error(`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`);
1919
1946
  return (await i.json()).rankedItems;
1920
1947
  }, Ve = (e, a = !1, n = "Casino") => {
1921
- const [r, i] = Z([]), [s, l] = Z(!1);
1948
+ const [r, i] = Z([]), [l, s] = Z(!1);
1922
1949
  return Q(() => {
1923
1950
  let d = !1;
1924
1951
  return (async () => {
1925
1952
  if (!a) {
1926
- i(Array.isArray(e) ? e : []), l(!1);
1953
+ i(Array.isArray(e) ? e : []), s(!1);
1927
1954
  return;
1928
1955
  }
1929
- l(!0);
1956
+ s(!0);
1930
1957
  try {
1931
- const f = await nn(n), m = an(f);
1958
+ const f = await on(n), m = nn(f);
1932
1959
  if (!m.length) {
1933
1960
  d || i([]);
1934
1961
  return;
1935
1962
  }
1936
- const u = yt(), c = await on(u, m), g = c.map((y) => y.itemId), b = await Promise.allSettled(
1937
- g.map(async (y, O) => {
1938
- const w = await fetch(`https://api.mktolimpo.com/api/machine/${y}`);
1939
- if (!w.ok)
1940
- throw new Error(`No se pudo obtener machine ${y}`);
1941
- const R = await w.json();
1942
- return tn(R, O);
1963
+ const u = xt(), c = await rn(u, m), g = c.map((T) => T.itemId), v = await Promise.allSettled(
1964
+ g.map(async (T, E) => {
1965
+ const b = await fetch(`https://api.mktolimpo.com/api/machine/${T}`);
1966
+ if (!b.ok)
1967
+ throw new Error(`No se pudo obtener machine ${T}`);
1968
+ const B = await b.json();
1969
+ return an(B, E);
1943
1970
  })
1944
1971
  );
1945
1972
  if (d) return;
1946
- const x = b.filter(
1947
- (y) => y.status === "fulfilled"
1948
- ).map((y) => y.value), T = c.map((y) => {
1949
- const O = x.find((w) => w.machine === y.itemId);
1950
- return O ? { ...O, score: y.score } : null;
1951
- }).filter(Boolean).sort((y, O) => {
1952
- var w, R;
1953
- return ((w = O.score) != null ? w : 0) - ((R = y.score) != null ? R : 0);
1973
+ const x = v.filter(
1974
+ (T) => T.status === "fulfilled"
1975
+ ).map((T) => T.value), k = c.map((T) => {
1976
+ const E = x.find((b) => b.machine === T.itemId);
1977
+ return E ? { ...E, score: T.score } : null;
1978
+ }).filter(Boolean).sort((T, E) => {
1979
+ var b, B;
1980
+ return ((b = E.score) != null ? b : 0) - ((B = T.score) != null ? B : 0);
1954
1981
  });
1955
- i(T);
1982
+ i(k);
1956
1983
  } catch (f) {
1957
1984
  console.error(`[usePersonalizeGameItems:${n}] error:`, f), d || i([]);
1958
1985
  } finally {
1959
- d || l(!1);
1986
+ d || s(!1);
1960
1987
  }
1961
1988
  })(), () => {
1962
1989
  d = !0;
1963
1990
  };
1964
1991
  }, [e, a, n]), {
1965
1992
  resolvedItems: r,
1966
- loading: s
1993
+ loading: l
1967
1994
  };
1968
- }, rn = (e, a = !1) => Ve(e, a, "Casino"), sn = (e, a = !1) => Ve(e, a, "Deportes virtuales"), ln = (e, a = !1) => Ve(e, a, "Casino en vivo"), cn = (e, a) => {
1995
+ }, ln = (e, a = !1) => Ve(e, a, "Casino"), sn = (e, a = !1) => Ve(e, a, "Deportes virtuales"), cn = (e, a = !1) => Ve(e, a, "Casino en vivo"), dn = (e, a) => {
1969
1996
  var n, r;
1970
1997
  return (r = (n = e.orden) != null ? n : e.machine) != null ? r : a;
1971
- }, dn = (e) => {
1998
+ }, un = (e) => {
1972
1999
  if (typeof e == "boolean") return e;
1973
2000
  if (typeof e == "string")
1974
2001
  return e.toLowerCase() === "true";
@@ -1978,52 +2005,52 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1978
2005
  return e.value.toLowerCase() === "true";
1979
2006
  }
1980
2007
  return !1;
1981
- }, un = ({
2008
+ }, mn = ({
1982
2009
  items: e,
1983
2010
  title: a = "Casino en vivo",
1984
2011
  subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
1985
2012
  backgroundMobileUrl: r = "",
1986
2013
  onCardClick: i,
1987
- backgroundDesktopUrl: s = "",
1988
- onViewMore: l,
2014
+ backgroundDesktopUrl: l = "",
2015
+ onViewMore: s,
1989
2016
  className: d,
1990
2017
  isPersonalize: h = !1
1991
2018
  }) => {
1992
- const f = oe(), m = re(), u = le(), c = dn(h), { resolvedItems: g } = ln(
2019
+ const f = oe(), m = re(), u = se(), c = un(h), { resolvedItems: g, loading: v } = cn(
1993
2020
  e,
1994
2021
  c
1995
- ), b = c ? g : Array.isArray(e) ? e : [], x = (y) => {
2022
+ ), x = c ? g : Array.isArray(e) ? e : [], k = c ? v : !Array.isArray(e) || e.length === 0, T = (b) => {
1996
2023
  f({
1997
2024
  element: "live_casino_card",
1998
- label: `${m} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(y.machine || "unknown")}`,
1999
- target: String(y.machine || "unknown"),
2025
+ label: `${m} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(b.machine || "unknown")}`,
2026
+ target: String(b.machine || "unknown"),
2000
2027
  event_type: "click",
2001
2028
  module_id: u,
2002
2029
  metadata: {
2003
2030
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2004
2031
  },
2005
2032
  tags: {
2006
- game_name: String(y.machine || "unknown"),
2007
- provider: y.provider || "unknown",
2033
+ game_name: String(b.machine || "unknown"),
2034
+ provider: b.provider || "unknown",
2008
2035
  section: "OraculoSeccionCasinoEnVivo"
2009
2036
  }
2010
2037
  });
2011
- const O = se("showIframe"), w = se("loadMachine");
2038
+ const B = le("showIframe"), w = le("loadMachine");
2012
2039
  if (!w) {
2013
2040
  if (i) {
2014
- i(y);
2041
+ i(b);
2015
2042
  return;
2016
2043
  }
2017
2044
  console.warn(
2018
2045
  "[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
2019
- { machine: y == null ? void 0 : y.machine, provider: y == null ? void 0 : y.provider }
2046
+ { machine: b == null ? void 0 : b.machine, provider: b == null ? void 0 : b.provider }
2020
2047
  );
2021
2048
  return;
2022
2049
  }
2023
- O == null || O(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2024
- w == null || w(y, !1, "casino_en_vivo");
2050
+ B == null || B(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2051
+ w == null || w(b, !1, "casino_en_vivo");
2025
2052
  });
2026
- }, T = () => {
2053
+ }, E = () => {
2027
2054
  f({
2028
2055
  element: "casino_en_vivo_view_more",
2029
2056
  label: `${m} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Ver más`,
@@ -2034,9 +2061,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2034
2061
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2035
2062
  },
2036
2063
  tags: { section: "OraculoSeccionCasinoEnVivo" }
2037
- }), typeof globalThis != "undefined" && globalThis.location && (l ? l() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2064
+ }), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2038
2065
  };
2039
- return /* @__PURE__ */ _(
2066
+ return /* @__PURE__ */ y(
2040
2067
  z,
2041
2068
  {
2042
2069
  className: d,
@@ -2061,7 +2088,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2061
2088
  md: `
2062
2089
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
2063
2090
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
2064
- url('${s}')
2091
+ url('${l}')
2065
2092
  `
2066
2093
  },
2067
2094
  backgroundSize: {
@@ -2074,14 +2101,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2074
2101
  }
2075
2102
  }
2076
2103
  ),
2077
- /* @__PURE__ */ _(
2104
+ /* @__PURE__ */ y(
2078
2105
  z,
2079
2106
  {
2080
2107
  sx: {
2081
2108
  position: "relative",
2082
2109
  zIndex: 1,
2083
2110
  maxWidth: 1200,
2084
- height: { xs: "420px", md: "540px" },
2111
+ height: { xs: "450px", md: "590px" },
2085
2112
  mx: "auto",
2086
2113
  px: { xs: 2.5, md: 6 },
2087
2114
  display: "flex",
@@ -2092,7 +2119,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2092
2119
  textAlign: { xs: "center", md: "left" }
2093
2120
  },
2094
2121
  children: [
2095
- /* @__PURE__ */ _(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2122
+ /* @__PURE__ */ y(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2096
2123
  /* @__PURE__ */ t(
2097
2124
  ue,
2098
2125
  {
@@ -2123,7 +2150,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2123
2150
  {
2124
2151
  variant: "primary",
2125
2152
  size: "md",
2126
- onClick: T,
2153
+ onClick: E,
2127
2154
  children: "Ver más"
2128
2155
  }
2129
2156
  ) })
@@ -2139,18 +2166,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2139
2166
  py: { xs: 3, md: 0 },
2140
2167
  alignItems: "center"
2141
2168
  },
2142
- children: (b != null ? b : []).slice(0, 3).map((y, O) => {
2169
+ children: k ? Array.from({ length: 3 }).map((b, B) => /* @__PURE__ */ t(Je, { loading: !0, logo: "" }, `sk-${B}`)) : (x != null ? x : []).slice(0, 3).map((b, B) => {
2143
2170
  var w;
2144
2171
  return /* @__PURE__ */ t(
2145
- Sa,
2172
+ Je,
2146
2173
  {
2147
- logo: `https://olimpo.bet${y.background ? y.background : (w = y.logo) != null ? w : ""}`,
2148
- provider: y.provider,
2149
- providerName: y.web_name,
2150
- machine: y.machine,
2151
- onClick: () => x(y)
2174
+ logo: `https://olimpo.bet${b.background ? b.background : (w = b.logo) != null ? w : ""}`,
2175
+ provider: b.provider,
2176
+ providerName: b.web_name,
2177
+ machine: b.machine,
2178
+ onClick: () => T(b)
2152
2179
  },
2153
- cn(y, O)
2180
+ dn(b, B)
2154
2181
  );
2155
2182
  })
2156
2183
  }
@@ -2160,7 +2187,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2160
2187
  {
2161
2188
  variant: "primary",
2162
2189
  size: "lg",
2163
- onClick: T,
2190
+ onClick: E,
2164
2191
  children: "Ver más"
2165
2192
  }
2166
2193
  ) })
@@ -2170,7 +2197,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2170
2197
  ]
2171
2198
  }
2172
2199
  );
2173
- }, mn = (e) => {
2200
+ }, pn = (e) => {
2174
2201
  if (typeof e == "boolean") return e;
2175
2202
  if (typeof e == "string")
2176
2203
  return e.toLowerCase() === "true";
@@ -2180,52 +2207,52 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2180
2207
  return e.value.toLowerCase() === "true";
2181
2208
  }
2182
2209
  return !1;
2183
- }, xt = (e, a) => {
2210
+ }, St = (e, a) => {
2184
2211
  var n, r;
2185
2212
  return (r = (n = e.orden) != null ? n : e.machine) != null ? r : a;
2186
- }, pn = (e, a = !0, n = 1) => {
2187
- const r = e.map((l, d) => {
2213
+ }, fn = (e, a = !0, n = 1) => {
2214
+ const r = e.map((s, d) => {
2188
2215
  var h;
2189
2216
  return {
2190
- id: xt(l, d),
2191
- imageUrl: (h = l.logo) != null ? h : "",
2192
- ...l.background ? { background: l.background } : {}
2217
+ id: St(s, d),
2218
+ imageUrl: (h = s.logo) != null ? h : "",
2219
+ ...s.background ? { background: s.background } : {}
2193
2220
  };
2194
2221
  });
2195
2222
  if (!r.length) return [];
2196
2223
  const i = [];
2197
- let s = 0;
2224
+ let l = 0;
2198
2225
  if (a) {
2199
- const l = Math.min(r.length, 1);
2226
+ const s = Math.min(r.length, 1);
2200
2227
  i.push({
2201
2228
  id: "mosaic-0",
2202
2229
  kind: "mosaic",
2203
- items: r.slice(0, l)
2204
- }), s = l;
2230
+ items: r.slice(0, s)
2231
+ }), l = s;
2205
2232
  }
2206
- for (; s < r.length; ) {
2207
- const l = Math.min(s + n, r.length);
2233
+ for (; l < r.length; ) {
2234
+ const s = Math.min(l + n, r.length);
2208
2235
  i.push({
2209
- id: `grid-${s}`,
2236
+ id: `grid-${l}`,
2210
2237
  kind: "grid",
2211
- items: r.slice(s, l)
2212
- }), s = l;
2238
+ items: r.slice(l, s)
2239
+ }), l = s;
2213
2240
  }
2214
2241
  return i;
2215
- }, fn = ({
2242
+ }, gn = ({
2216
2243
  items: e,
2217
2244
  title: a = "Casino",
2218
2245
  iconUrl: n = "/assets/img/home/Casino/diamante.svg",
2219
2246
  onItemClick: r,
2220
2247
  onViewMore: i,
2221
- mosaicFirst: s = !0,
2222
- gridSize: l = 1,
2248
+ mosaicFirst: l = !0,
2249
+ gridSize: s = 1,
2223
2250
  isPersonalize: d = !1
2224
2251
  }) => {
2225
- const h = oe(), f = re(), m = le(), u = U(null), [c, g] = Z({ isStart: !0, isEnd: !1 }), b = mn(d), { resolvedItems: x, loading: T } = rn(
2252
+ const h = oe(), f = re(), m = se(), u = U(null), [c, g] = Z({ isStart: !0, isEnd: !1 }), v = pn(d), { resolvedItems: x, loading: k } = ln(
2226
2253
  e,
2227
- b
2228
- ), y = b ? x : Array.isArray(e) ? e : [], O = () => {
2254
+ v
2255
+ ), T = v ? x : Array.isArray(e) ? e : [], E = () => {
2229
2256
  var I;
2230
2257
  h({
2231
2258
  element: "casino_prev",
@@ -2238,7 +2265,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2238
2265
  },
2239
2266
  tags: { section: "OraculoSeccionCasino" }
2240
2267
  }), (I = u.current) == null || I.prev();
2241
- }, w = () => {
2268
+ }, b = () => {
2242
2269
  var I;
2243
2270
  h({
2244
2271
  element: "casino_next",
@@ -2251,7 +2278,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2251
2278
  },
2252
2279
  tags: { section: "OraculoSeccionCasino" }
2253
2280
  }), (I = u.current) == null || I.next();
2254
- }, R = () => {
2281
+ }, B = () => {
2255
2282
  if (h({
2256
2283
  element: "casino_view_more",
2257
2284
  label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Ver más`,
@@ -2267,15 +2294,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2267
2294
  return;
2268
2295
  }
2269
2296
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2270
- }, k = (I = !0, v = 4) => {
2271
- const E = (M) => Array.from({ length: M }, (B, P) => ({
2297
+ }, w = (I = !0, _ = 4) => {
2298
+ const O = (M) => Array.from({ length: M }, (A, P) => ({
2272
2299
  id: `sk-${M}-${P}`,
2273
2300
  imageUrl: ""
2274
2301
  })), q = [];
2275
- return I && q.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), q.push({ id: "grid-loading", kind: "grid", items: E(v) }), q;
2276
- }, S = b ? T : !Array.isArray(e) || e.length === 0, F = De("(max-width:950px)"), L = S ? k(s, l) : pn(y, s, l);
2277
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ _(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2278
- /* @__PURE__ */ _(
2302
+ return I && q.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), q.push({ id: "grid-loading", kind: "grid", items: O(_) }), q;
2303
+ }, S = v ? k : !Array.isArray(e) || e.length === 0, F = De("(max-width:950px)"), L = S ? w(l, s) : fn(T, l, s);
2304
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2305
+ /* @__PURE__ */ y(
2279
2306
  z,
2280
2307
  {
2281
2308
  sx: {
@@ -2291,15 +2318,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2291
2318
  },
2292
2319
  children: [
2293
2320
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2294
- /* @__PURE__ */ _(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2321
+ /* @__PURE__ */ y(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2295
2322
  /* @__PURE__ */ t(
2296
2323
  J,
2297
2324
  {
2298
2325
  ariaLabel: "Anterior",
2299
2326
  variant: "secondary",
2300
2327
  iconOnly: !0,
2301
- leftIcon: /* @__PURE__ */ t(lt, {}),
2302
- onClick: O,
2328
+ leftIcon: /* @__PURE__ */ t(ct, {}),
2329
+ onClick: E,
2303
2330
  disabled: c.isStart
2304
2331
  }
2305
2332
  ),
@@ -2309,13 +2336,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2309
2336
  ariaLabel: "Siguiente",
2310
2337
  variant: "secondary",
2311
2338
  iconOnly: !0,
2312
- rightIcon: /* @__PURE__ */ t(ct, {}),
2313
- onClick: w,
2339
+ rightIcon: /* @__PURE__ */ t(dt, {}),
2340
+ onClick: b,
2314
2341
  disabled: c.isEnd
2315
2342
  }
2316
2343
  )
2317
2344
  ] }),
2318
- /* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: R, children: "Ver más" }) })
2345
+ /* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: B, children: "Ver más" }) })
2319
2346
  ]
2320
2347
  }
2321
2348
  ),
@@ -2347,41 +2374,41 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2347
2374
  }
2348
2375
  },
2349
2376
  renderItem: (I) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2350
- ft,
2377
+ gt,
2351
2378
  {
2352
2379
  items: I.items,
2353
2380
  layout: I.kind === "mosaic" ? "mosaic" : "grid",
2354
2381
  loading: S,
2355
- onClick: (v) => {
2382
+ onClick: (_) => {
2356
2383
  if (S) return;
2357
- const E = y.find(
2358
- (B, P) => String(xt(B, P)) === String(v.id)
2384
+ const O = T.find(
2385
+ (A, P) => String(St(A, P)) === String(_.id)
2359
2386
  );
2360
- if (!E) return;
2361
- r == null || r(E), h({
2387
+ if (!O) return;
2388
+ r == null || r(O), h({
2362
2389
  element: "casino_game_card",
2363
- label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
2364
- target: String(E.machine || "unknown"),
2390
+ label: `${f} - OraculoSeccionCasino ${d ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
2391
+ target: String(O.machine || "unknown"),
2365
2392
  event_type: "click",
2366
2393
  module_id: m,
2367
2394
  metadata: {
2368
2395
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2369
2396
  },
2370
2397
  tags: {
2371
- game_name: String(E.machine || "unknown"),
2398
+ game_name: String(O.machine || "unknown"),
2372
2399
  section: a || "Casino"
2373
2400
  }
2374
2401
  });
2375
- const q = se("showIframe"), M = se("loadMachine");
2376
- q == null || q(), M == null || M(E, !1, "CASINO");
2402
+ const q = le("showIframe"), M = le("loadMachine");
2403
+ q == null || q(), M == null || M(O, !1, "CASINO");
2377
2404
  }
2378
2405
  }
2379
2406
  ) }),
2380
- onMove: ({ isStart: I, isEnd: v }) => g({ isStart: I, isEnd: v })
2407
+ onMove: ({ isStart: I, isEnd: _ }) => g({ isStart: I, isEnd: _ })
2381
2408
  }
2382
2409
  )
2383
2410
  ] }) });
2384
- }, gn = (e) => {
2411
+ }, hn = (e) => {
2385
2412
  if (typeof e == "boolean") return e;
2386
2413
  if (typeof e == "string")
2387
2414
  return e.toLowerCase() === "true";
@@ -2391,41 +2418,41 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2391
2418
  return e.value.toLowerCase() === "true";
2392
2419
  }
2393
2420
  return !1;
2394
- }, St = (e, a) => {
2421
+ }, wt = (e, a) => {
2395
2422
  var n, r;
2396
2423
  return (r = (n = e.orden) != null ? n : e.machine) != null ? r : a;
2397
- }, hn = (e, a = !0, n = 1) => {
2398
- const r = e.map((l, d) => {
2424
+ }, bn = (e, a = !0, n = 1) => {
2425
+ const r = e.map((s, d) => {
2399
2426
  var h;
2400
2427
  return {
2401
- id: St(l, d),
2402
- imageUrl: (h = l.logo) != null ? h : "",
2403
- ...l.background ? { background: l.background } : {}
2428
+ id: wt(s, d),
2429
+ imageUrl: (h = s.logo) != null ? h : "",
2430
+ ...s.background ? { background: s.background } : {}
2404
2431
  };
2405
2432
  });
2406
2433
  if (!r.length) return [];
2407
2434
  const i = [];
2408
- let s = 0;
2435
+ let l = 0;
2409
2436
  if (a) {
2410
- const l = Math.min(r.length, 1);
2437
+ const s = Math.min(r.length, 1);
2411
2438
  i.push({
2412
2439
  id: "mosaic-0",
2413
2440
  kind: "mosaic",
2414
- items: r.slice(0, l)
2415
- }), s = l;
2441
+ items: r.slice(0, s)
2442
+ }), l = s;
2416
2443
  }
2417
- for (; s < r.length; ) {
2418
- const l = Math.min(s + n, r.length);
2444
+ for (; l < r.length; ) {
2445
+ const s = Math.min(l + n, r.length);
2419
2446
  i.push({
2420
- id: `grid-${s}`,
2447
+ id: `grid-${l}`,
2421
2448
  kind: "grid",
2422
- items: r.slice(s, l)
2423
- }), s = l;
2449
+ items: r.slice(l, s)
2450
+ }), l = s;
2424
2451
  }
2425
2452
  return i;
2426
- }, bn = (e = !0, a = 4) => {
2427
- const n = (i) => Array.from({ length: i }, (s, l) => ({
2428
- id: `sk-${i}-${l}`,
2453
+ }, vn = (e = !0, a = 4) => {
2454
+ const n = (i) => Array.from({ length: i }, (l, s) => ({
2455
+ id: `sk-${i}-${s}`,
2429
2456
  imageUrl: ""
2430
2457
  })), r = [];
2431
2458
  return e && r.push({
@@ -2437,24 +2464,24 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2437
2464
  kind: "grid",
2438
2465
  items: n(a)
2439
2466
  }), r;
2440
- }, vn = ({
2467
+ }, _n = ({
2441
2468
  items: e,
2442
2469
  title: a = "Virtuales",
2443
2470
  iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
2444
2471
  onItemClick: r,
2445
2472
  onViewMore: i,
2446
- mosaicFirst: s = !0,
2447
- gridSize: l = 1,
2473
+ mosaicFirst: l = !0,
2474
+ gridSize: s = 1,
2448
2475
  isPersonalize: d = !1
2449
2476
  }) => {
2450
- const h = U(null), [f, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), g = le(), b = gn(d), { resolvedItems: x, loading: T } = sn(
2477
+ const h = U(null), [f, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), g = se(), v = hn(d), { resolvedItems: x, loading: k } = sn(
2451
2478
  e,
2452
- b
2453
- ), y = b ? x : Array.isArray(e) ? e : [], O = () => {
2479
+ v
2480
+ ), T = v ? x : Array.isArray(e) ? e : [], E = () => {
2454
2481
  var L;
2455
2482
  u({
2456
2483
  element: "virtuales_prev",
2457
- label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Anterior`,
2484
+ label: `${c} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Anterior`,
2458
2485
  target: "prev",
2459
2486
  event_type: "click",
2460
2487
  module_id: g,
@@ -2463,11 +2490,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2463
2490
  },
2464
2491
  tags: { section: "OraculoSeccionVirtuales" }
2465
2492
  }), (L = h.current) == null || L.prev();
2466
- }, w = () => {
2493
+ }, b = () => {
2467
2494
  var L;
2468
2495
  u({
2469
2496
  element: "virtuales_next",
2470
- label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Siguiente`,
2497
+ label: `${c} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Siguiente`,
2471
2498
  target: "next",
2472
2499
  event_type: "click",
2473
2500
  module_id: g,
@@ -2476,10 +2503,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2476
2503
  },
2477
2504
  tags: { section: "OraculoSeccionVirtuales" }
2478
2505
  }), (L = h.current) == null || L.next();
2479
- }, R = () => {
2506
+ }, B = () => {
2480
2507
  if (u({
2481
2508
  element: "virtuales_view_more",
2482
- label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Ver más`,
2509
+ label: `${c} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Ver más`,
2483
2510
  target: "https://www.olimpo.bet/juegos-virtuales",
2484
2511
  event_type: "click",
2485
2512
  module_id: g,
@@ -2492,9 +2519,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2492
2519
  return;
2493
2520
  }
2494
2521
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2495
- }, k = b ? T : !Array.isArray(e) || e.length === 0, S = xe("(max-width:950px)"), F = k ? bn(s, l) : hn(y, s, l);
2496
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ _(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2497
- /* @__PURE__ */ _(
2522
+ }, w = v ? k : !Array.isArray(e) || e.length === 0, S = xe("(max-width:950px)"), F = w ? vn(l, s) : bn(T, l, s);
2523
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2524
+ /* @__PURE__ */ y(
2498
2525
  z,
2499
2526
  {
2500
2527
  sx: {
@@ -2510,15 +2537,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2510
2537
  },
2511
2538
  children: [
2512
2539
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2513
- /* @__PURE__ */ _(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2540
+ /* @__PURE__ */ y(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2514
2541
  /* @__PURE__ */ t(
2515
2542
  J,
2516
2543
  {
2517
2544
  ariaLabel: "Anterior",
2518
2545
  variant: "secondary",
2519
2546
  iconOnly: !0,
2520
- leftIcon: /* @__PURE__ */ t(lt, {}),
2521
- onClick: O,
2547
+ leftIcon: /* @__PURE__ */ t(ct, {}),
2548
+ onClick: E,
2522
2549
  disabled: f.isStart
2523
2550
  }
2524
2551
  ),
@@ -2528,13 +2555,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2528
2555
  ariaLabel: "Siguiente",
2529
2556
  variant: "secondary",
2530
2557
  iconOnly: !0,
2531
- rightIcon: /* @__PURE__ */ t(ct, {}),
2532
- onClick: w,
2558
+ rightIcon: /* @__PURE__ */ t(dt, {}),
2559
+ onClick: b,
2533
2560
  disabled: f.isEnd
2534
2561
  }
2535
2562
  )
2536
2563
  ] }),
2537
- /* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: R, children: "Ver más" }) })
2564
+ /* @__PURE__ */ t(z, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(J, { variant: "secondary", onClick: B, children: "Ver más" }) })
2538
2565
  ]
2539
2566
  }
2540
2567
  ),
@@ -2566,42 +2593,42 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2566
2593
  showRightGradient: !S,
2567
2594
  options: { autoWidth: !0, trimSpace: "move" },
2568
2595
  renderItem: (L) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2569
- ft,
2596
+ gt,
2570
2597
  {
2571
2598
  items: L.items,
2572
2599
  layout: L.kind === "mosaic" ? "mosaic" : "grid",
2573
- loading: k,
2600
+ loading: w,
2574
2601
  onClick: (I) => {
2575
- if (k) return;
2576
- const v = y.find(
2577
- (M, B) => String(St(M, B)) === String(I.id)
2602
+ if (w) return;
2603
+ const _ = T.find(
2604
+ (M, A) => String(wt(M, A)) === String(I.id)
2578
2605
  );
2579
- if (!v) {
2606
+ if (!_) {
2580
2607
  console.warn(
2581
2608
  "[virtuales] no se encontró game para id:",
2582
2609
  I.id
2583
2610
  );
2584
2611
  return;
2585
2612
  }
2586
- r == null || r(v), u({
2613
+ r == null || r(_), u({
2587
2614
  element: "virtuales_game_card",
2588
- label: `${c} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Game: ${String(v.machine || "unknown")}`,
2589
- target: String(v.machine || "unknown"),
2615
+ label: `${c} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Game: ${String(_.machine || "unknown")}`,
2616
+ target: String(_.machine || "unknown"),
2590
2617
  event_type: "click",
2591
2618
  module_id: g,
2592
2619
  metadata: {
2593
2620
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2594
2621
  },
2595
2622
  tags: {
2596
- game_name: String(v.machine || "unknown"),
2623
+ game_name: String(_.machine || "unknown"),
2597
2624
  section: a || "Virtuales"
2598
2625
  }
2599
2626
  });
2600
- const E = se("showIframe"), q = se("loadMachine");
2601
- E == null || E(), q == null || q(
2602
- v,
2627
+ const O = le("showIframe"), q = le("loadMachine");
2628
+ O == null || O(), q == null || q(
2629
+ _,
2603
2630
  !1,
2604
- b ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2631
+ v ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2605
2632
  );
2606
2633
  }
2607
2634
  }
@@ -2610,7 +2637,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2610
2637
  }
2611
2638
  )
2612
2639
  ] }) });
2613
- }, _n = (e) => ({
2640
+ }, yn = (e) => ({
2614
2641
  position: "relative",
2615
2642
  py: 8,
2616
2643
  color: "#fff",
@@ -2624,15 +2651,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2624
2651
  backgroundRepeat: "no-repeat",
2625
2652
  backgroundPosition: "center",
2626
2653
  backgroundSize: "cover"
2627
- }), Qe = {
2654
+ }), et = {
2628
2655
  textAlign: "center",
2629
2656
  lineHeight: 1.1,
2630
2657
  mb: 1.5
2631
- }, et = {
2658
+ }, tt = {
2632
2659
  display: "inline-block",
2633
2660
  fontWeight: 600,
2634
2661
  fontSize: 24
2635
- }, tt = {
2662
+ }, at = {
2636
2663
  display: "inline-block",
2637
2664
  fontSize: 24,
2638
2665
  lineHeight: 1.1,
@@ -2642,92 +2669,92 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2642
2669
  0 0 6px rgba(255, 255, 255, .6),
2643
2670
  0 1px 0 rgba(137, 137, 137, .85)
2644
2671
  `
2645
- }, yn = ({
2672
+ }, xn = ({
2646
2673
  headline: e,
2647
2674
  headline2: a,
2648
2675
  items: n,
2649
2676
  backgroundImageUrl: r
2650
2677
  }) => {
2651
- const i = oe(), s = re(), l = xe("(max-width: 767px)"), d = n.length > 1, h = U(null), f = U(null), m = U(!1), u = U(!1), [c, g] = Z(0), [b, x] = Z({ isStart: !0, isEnd: !1 });
2678
+ const i = oe(), l = re(), s = xe("(max-width: 767px)"), d = n.length > 1, h = U(null), f = U(null), m = U(!1), u = U(!1), [c, g] = Z(0), [v, x] = Z({ isStart: !0, isEnd: !1 });
2652
2679
  Q(() => {
2653
- const v = setTimeout(() => {
2680
+ const _ = setTimeout(() => {
2654
2681
  m.current = !0;
2655
2682
  }, 500);
2656
- return () => clearTimeout(v);
2683
+ return () => clearTimeout(_);
2657
2684
  }, []);
2658
- const T = U(b);
2685
+ const k = U(v);
2659
2686
  Q(() => {
2660
- T.current = b;
2661
- }, [b]);
2662
- const y = U(!1), O = U(null), w = n == null ? void 0 : n[c], R = ie(
2687
+ k.current = v;
2688
+ }, [v]);
2689
+ const T = U(!1), E = U(null), b = n == null ? void 0 : n[c], B = ie(
2663
2690
  () => {
2664
- var v, E;
2665
- return (E = (v = w == null ? void 0 : w.backgroundImageUrl) != null ? v : r) != null ? E : "";
2691
+ var _, O;
2692
+ return (O = (_ = b == null ? void 0 : b.backgroundImageUrl) != null ? _ : r) != null ? O : "";
2666
2693
  },
2667
- [w, r]
2668
- ), k = _n(R), S = !n || n.length === 0, F = (v, E) => {
2694
+ [b, r]
2695
+ ), w = yn(B), S = !n || n.length === 0, F = (_, O) => {
2669
2696
  i({
2670
2697
  element: "welcome_banner_button",
2671
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${v.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
2698
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${_.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
2672
2699
  target: "action",
2673
2700
  event_type: "click",
2674
2701
  module_id: 301,
2675
2702
  metadata: {
2676
2703
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2677
- banner_position: E + 1,
2704
+ banner_position: O + 1,
2678
2705
  banner_total: (n == null ? void 0 : n.length) || 0
2679
2706
  },
2680
2707
  tags: {
2681
- banner_title: v.title || "no_title",
2682
- button_text: v.buttonText || "no_text"
2708
+ banner_title: _.title || "no_title",
2709
+ button_text: _.buttonText || "no_text"
2683
2710
  }
2684
- }), v.onButtonClick && v.onButtonClick();
2685
- }, L = (v) => {
2711
+ }), _.onButtonClick && _.onButtonClick();
2712
+ }, L = (_) => {
2686
2713
  if (!m.current) return;
2687
2714
  if (u.current) {
2688
2715
  u.current = !1;
2689
2716
  return;
2690
2717
  }
2691
- const E = n == null ? void 0 : n[v];
2718
+ const O = n == null ? void 0 : n[_];
2692
2719
  i({
2693
2720
  element: "welcome_banner_carousel",
2694
- label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (v + 1)}`,
2721
+ label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (_ + 1)}`,
2695
2722
  target: "no_url",
2696
2723
  event_type: "view",
2697
2724
  module_id: 301,
2698
2725
  metadata: {
2699
2726
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2700
- slide_index: v + 1,
2727
+ slide_index: _ + 1,
2701
2728
  total_slides: (n == null ? void 0 : n.length) || 0,
2702
2729
  interaction_type: "manual_slide"
2703
2730
  },
2704
2731
  tags: {
2705
- banner_position: String(v + 1),
2706
- banner_title: (E == null ? void 0 : E.title) || "no_title"
2732
+ banner_position: String(_ + 1),
2733
+ banner_title: (O == null ? void 0 : O.title) || "no_title"
2707
2734
  }
2708
2735
  });
2709
2736
  };
2710
2737
  Q(() => {
2711
- const v = f.current;
2712
- if (!v) return;
2713
- const E = 6, q = 380, M = (B) => {
2738
+ const _ = f.current;
2739
+ if (!_) return;
2740
+ const O = 6, q = 380, M = (A) => {
2714
2741
  var K, G;
2715
- if (S || B.ctrlKey || y.current) return;
2716
- const P = B.deltaX, V = B.deltaY;
2717
- if (Math.abs(P) <= Math.abs(V) || Math.abs(P) < E) return;
2742
+ if (S || A.ctrlKey || T.current) return;
2743
+ const P = A.deltaX, V = A.deltaY;
2744
+ if (Math.abs(P) <= Math.abs(V) || Math.abs(P) < O) return;
2718
2745
  const W = P > 0;
2719
- W && T.current.isEnd || !W && T.current.isStart || (B.preventDefault(), y.current = !0, W ? (K = h.current) == null || K.next() : (G = h.current) == null || G.prev(), O.current && window.clearTimeout(O.current), O.current = window.setTimeout(() => {
2720
- y.current = !1;
2746
+ W && k.current.isEnd || !W && k.current.isStart || (A.preventDefault(), T.current = !0, W ? (K = h.current) == null || K.next() : (G = h.current) == null || G.prev(), E.current && window.clearTimeout(E.current), E.current = window.setTimeout(() => {
2747
+ T.current = !1;
2721
2748
  }, q));
2722
2749
  };
2723
- return v.addEventListener("wheel", M, { passive: !1 }), () => {
2724
- v.removeEventListener("wheel", M), O.current && window.clearTimeout(O.current);
2750
+ return _.addEventListener("wheel", M, { passive: !1 }), () => {
2751
+ _.removeEventListener("wheel", M), E.current && window.clearTimeout(E.current);
2725
2752
  };
2726
2753
  }, [S]);
2727
- const I = (v, E, q) => {
2754
+ const I = (_, O, q) => {
2728
2755
  var P, V;
2729
- const M = (P = v.headline) != null ? P : e, B = (V = v.headline2) != null ? V : a;
2730
- return E ? /* @__PURE__ */ _(
2756
+ const M = (P = _.headline) != null ? P : e, A = (V = _.headline2) != null ? V : a;
2757
+ return O ? /* @__PURE__ */ y(
2731
2758
  z,
2732
2759
  {
2733
2760
  sx: {
@@ -2740,7 +2767,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2740
2767
  columnGap: 6
2741
2768
  },
2742
2769
  children: [
2743
- (M || B) && /* @__PURE__ */ t(
2770
+ (M || A) && /* @__PURE__ */ t(
2744
2771
  z,
2745
2772
  {
2746
2773
  sx: {
@@ -2749,44 +2776,44 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2749
2776
  justifyContent: "flex-start",
2750
2777
  minHeight: "100%"
2751
2778
  },
2752
- children: /* @__PURE__ */ _(z, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2753
- M && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: M }),
2754
- B && /* @__PURE__ */ _(pe, { children: [
2779
+ children: /* @__PURE__ */ y(z, { sx: { ...et, textAlign: "left", mb: 0 }, children: [
2780
+ M && /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: M }),
2781
+ A && /* @__PURE__ */ y(pe, { children: [
2755
2782
  /* @__PURE__ */ t("br", {}),
2756
- /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: B })
2783
+ /* @__PURE__ */ t(ue, { component: "span", sx: at, children: A })
2757
2784
  ] })
2758
2785
  ] })
2759
2786
  }
2760
2787
  ),
2761
2788
  /* @__PURE__ */ t(z, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(z, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2762
- Je,
2789
+ Xe,
2763
2790
  {
2764
- ...v,
2765
- onButtonClick: () => F(v, q),
2791
+ ..._,
2792
+ onButtonClick: () => F(_, q),
2766
2793
  variant: "large"
2767
2794
  }
2768
2795
  ) }) })
2769
2796
  ]
2770
2797
  }
2771
- ) : /* @__PURE__ */ _(z, { sx: { textAlign: "center" }, children: [
2772
- (M || B) && /* @__PURE__ */ _(z, { sx: Qe, children: [
2773
- M && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: M }),
2774
- B && /* @__PURE__ */ _(pe, { children: [
2798
+ ) : /* @__PURE__ */ y(z, { sx: { textAlign: "center" }, children: [
2799
+ (M || A) && /* @__PURE__ */ y(z, { sx: et, children: [
2800
+ M && /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: M }),
2801
+ A && /* @__PURE__ */ y(pe, { children: [
2775
2802
  /* @__PURE__ */ t("br", {}),
2776
- /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: B })
2803
+ /* @__PURE__ */ t(ue, { component: "span", sx: at, children: A })
2777
2804
  ] })
2778
2805
  ] }),
2779
2806
  /* @__PURE__ */ t(z, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2780
- Je,
2807
+ Xe,
2781
2808
  {
2782
- ...v,
2783
- onButtonClick: () => F(v, q),
2809
+ ..._,
2810
+ onButtonClick: () => F(_, q),
2784
2811
  variant: "small"
2785
2812
  }
2786
2813
  ) })
2787
2814
  ] });
2788
2815
  };
2789
- return /* @__PURE__ */ _(z, { component: "section", sx: k, children: [
2816
+ return /* @__PURE__ */ y(z, { component: "section", sx: w, children: [
2790
2817
  /* @__PURE__ */ t("div", { ref: f, style: { width: "100%" }, children: /* @__PURE__ */ t(
2791
2818
  he,
2792
2819
  {
@@ -2804,56 +2831,56 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2804
2831
  // arrows: false,
2805
2832
  // drag: true,
2806
2833
  },
2807
- renderItem: (v, E) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children: I(v, !l, E) }),
2808
- onMove: ({ index: v, isStart: E, isEnd: q, source: M }) => {
2809
- g(v), typeof E == "boolean" && typeof q == "boolean" && x({ isStart: E, isEnd: q }), M === "user" && L(v);
2834
+ renderItem: (_, O) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children: I(_, !s, O) }),
2835
+ onMove: ({ index: _, isStart: O, isEnd: q, source: M }) => {
2836
+ g(_), typeof O == "boolean" && typeof q == "boolean" && x({ isStart: O, isEnd: q }), M === "user" && L(_);
2810
2837
  }
2811
2838
  }
2812
2839
  ) }),
2813
2840
  d && /* @__PURE__ */ t(z, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2814
- dt,
2841
+ ut,
2815
2842
  {
2816
2843
  total: n.length,
2817
2844
  active: c,
2818
- onSelect: (v) => {
2819
- var E;
2845
+ onSelect: (_) => {
2846
+ var O;
2820
2847
  i({
2821
2848
  element: "welcome_banner_dots",
2822
- label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${v + 1}`,
2849
+ label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${_ + 1}`,
2823
2850
  target: "no_url",
2824
2851
  event_type: "click",
2825
2852
  module_id: 301,
2826
2853
  metadata: {
2827
2854
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2828
- dot_index: v + 1,
2855
+ dot_index: _ + 1,
2829
2856
  total_dots: n.length
2830
2857
  },
2831
2858
  tags: {
2832
2859
  navigation_type: "dot_click"
2833
2860
  }
2834
- }), g(v), (E = h.current) == null || E.go(v);
2861
+ }), g(_), (O = h.current) == null || O.go(_);
2835
2862
  }
2836
2863
  }
2837
2864
  ) })
2838
2865
  ] });
2839
- }, xn = ({
2866
+ }, Sn = ({
2840
2867
  className: e = "",
2841
2868
  fullBleed: a = !0,
2842
2869
  items: n,
2843
2870
  selectedIndex: r = 0,
2844
2871
  ariaLabel: i,
2845
- user: s = null
2872
+ user: l = null
2846
2873
  }) => {
2847
- const l = U(null), d = U(null), h = oe(), f = re(), m = le();
2874
+ const s = U(null), d = U(null), h = oe(), f = re(), m = se();
2848
2875
  if (!n) return null;
2849
2876
  const u = async () => {
2850
- let x = s;
2877
+ let x = l;
2851
2878
  if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
2852
2879
  try {
2853
- const T = localStorage.getItem("user");
2854
- T && (x = JSON.parse(T));
2855
- } catch (T) {
2856
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", T);
2880
+ const k = localStorage.getItem("user");
2881
+ k && (x = JSON.parse(k));
2882
+ } catch (k) {
2883
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", k);
2857
2884
  }
2858
2885
  if (!(x != null && x.user) || !(x != null && x.session))
2859
2886
  return console.warn("User data missing"), null;
@@ -2869,40 +2896,40 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2869
2896
  tags: { section: "OraculoSeccionClubOlimpo" }
2870
2897
  });
2871
2898
  try {
2872
- const T = {
2899
+ const k = {
2873
2900
  idUsuario: "PE" + x.user,
2874
2901
  session_id: x.session,
2875
2902
  pagina: "home"
2876
- }, O = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2903
+ }, E = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2877
2904
  method: "POST",
2878
2905
  headers: {
2879
2906
  "Content-Type": "application/json"
2880
2907
  },
2881
- body: JSON.stringify(T)
2908
+ body: JSON.stringify(k)
2882
2909
  });
2883
- if (O.ok) {
2884
- const w = await O.json();
2885
- return w == null ? void 0 : w.url;
2910
+ if (E.ok) {
2911
+ const b = await E.json();
2912
+ return b == null ? void 0 : b.url;
2886
2913
  }
2887
2914
  return null;
2888
- } catch (T) {
2889
- return console.error("[getMarketPlaceUrl]", T), null;
2915
+ } catch (k) {
2916
+ return console.error("[getMarketPlaceUrl]", k), null;
2890
2917
  }
2891
2918
  }, c = async () => {
2892
2919
  const x = await u();
2893
2920
  x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2894
2921
  }, g = Array.isArray(n) ? n[r] : n;
2895
- Mt(() => {
2896
- if (!l.current || !d.current || typeof ResizeObserver == "undefined") return;
2897
- const x = l.current, T = d.current, y = () => {
2922
+ At(() => {
2923
+ if (!s.current || !d.current || typeof ResizeObserver == "undefined") return;
2924
+ const x = s.current, k = d.current, T = () => {
2898
2925
  x.style.setProperty(
2899
2926
  "--orc-co-bottomH",
2900
- `${T.offsetHeight + 16}px`
2927
+ `${k.offsetHeight + 16}px`
2901
2928
  );
2902
- }, O = new ResizeObserver(y);
2903
- return O.observe(T), y(), () => O.disconnect();
2929
+ }, E = new ResizeObserver(T);
2930
+ return E.observe(k), T(), () => E.disconnect();
2904
2931
  }, []);
2905
- const b = [
2932
+ const v = [
2906
2933
  "orc-co-wrap",
2907
2934
  a ? "orc-co-fullBleed" : "",
2908
2935
  e
@@ -2910,11 +2937,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2910
2937
  return /* @__PURE__ */ t(
2911
2938
  "section",
2912
2939
  {
2913
- ref: l,
2914
- className: b,
2940
+ ref: s,
2941
+ className: v,
2915
2942
  "aria-label": i || g.imgAlt || "Club Olimpo",
2916
2943
  children: /* @__PURE__ */ t("div", { ref: d, children: /* @__PURE__ */ t(
2917
- wa,
2944
+ Ia,
2918
2945
  {
2919
2946
  text: g.text,
2920
2947
  onClick: c,
@@ -2927,38 +2954,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2927
2954
  ) })
2928
2955
  }
2929
2956
  );
2930
- }, Sn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", wn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
2931
- controls: Sn,
2932
- padding: wn
2933
- }, In = (e) => {
2957
+ }, wn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", In = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", nt = {
2958
+ controls: wn,
2959
+ padding: In
2960
+ }, On = (e) => {
2934
2961
  var a, n;
2935
2962
  return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((r) => {
2936
- var i, s;
2937
- return (s = (i = r.outcomes) == null ? void 0 : i.map((l) => l.id)) != null ? s : [];
2963
+ var i, l;
2964
+ return (l = (i = r.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? l : [];
2938
2965
  }) : [];
2939
2966
  };
2940
- function On(e, a, n) {
2967
+ function En(e, a, n) {
2941
2968
  return n ? n.map((r) => {
2942
2969
  var m, u;
2943
- const i = r.prePackCouponRows.flatMap((c) => In(c).map((g) => ({ eventId: c.eventId, outcomeId: g }))), s = new Set(i.map((c) => c.eventId)), l = new Set(i.map((c) => c.outcomeId)), d = new Map(i.map((c, g) => [c.outcomeId, g])), h = {};
2970
+ const i = r.prePackCouponRows.flatMap((c) => On(c).map((g) => ({ eventId: c.eventId, outcomeId: g }))), l = new Set(i.map((c) => c.eventId)), s = new Set(i.map((c) => c.outcomeId)), d = new Map(i.map((c, g) => [c.outcomeId, g])), h = {};
2944
2971
  for (const c of a) {
2945
- if (!s.has(c.eventId)) continue;
2946
- const g = c.outcomes.filter((b) => l.has(b.id)).map((b) => ({ ...b, position: d.get(b.id) }));
2972
+ if (!l.has(c.eventId)) continue;
2973
+ const g = c.outcomes.filter((v) => s.has(v.id)).map((v) => ({ ...v, position: d.get(v.id) }));
2947
2974
  g.length && ((u = h[m = c.eventId]) != null || (h[m] = []), h[c.eventId].push({ ...c, outcomes: g }));
2948
2975
  }
2949
- const f = e.filter((c) => s.has(c.id)).map((c) => {
2976
+ const f = e.filter((c) => l.has(c.id)).map((c) => {
2950
2977
  var g;
2951
2978
  return { ...c, betoffers: (g = h[c.id]) != null ? g : [] };
2952
2979
  });
2953
2980
  return {
2954
2981
  couponId: r.id,
2955
2982
  status: r.status,
2956
- combinadoTotal: En(r.prePackCouponRows),
2983
+ combinadoTotal: Cn(r.prePackCouponRows),
2957
2984
  events: f
2958
2985
  };
2959
2986
  }) : [];
2960
2987
  }
2961
- function En(e) {
2988
+ function Cn(e) {
2962
2989
  if (!Array.isArray(e) || e.length === 0) return 0;
2963
2990
  let a = 1;
2964
2991
  for (const n of e) {
@@ -2967,7 +2994,7 @@ function En(e) {
2967
2994
  }
2968
2995
  return Math.floor(a * 100) / 100;
2969
2996
  }
2970
- const Cn = fe.memo(La);
2997
+ const kn = fe.memo(Fa);
2971
2998
  function Tn({
2972
2999
  items: e,
2973
3000
  title: a = "Combinadas del Olimpo",
@@ -2975,78 +3002,78 @@ function Tn({
2975
3002
  onViewMore: r,
2976
3003
  className: i = ""
2977
3004
  }) {
2978
- const s = oe(), l = re(), d = le(), h = U(null), [f, m] = Z({ isStart: !0, isEnd: !1 }), [u, c] = Z([]), g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", b = () => {
2979
- var k;
2980
- s({
3005
+ const l = oe(), s = re(), d = se(), h = U(null), [f, m] = Z({ isStart: !0, isEnd: !1 }), [u, c] = Z([]), g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", v = () => {
3006
+ var w;
3007
+ l({
2981
3008
  element: "evento_combinadas_prev",
2982
- label: `${l} - OraculoSeccionEventoCombinadas - Click: Anterior`,
3009
+ label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
2983
3010
  event_type: "click",
2984
3011
  module_id: d,
2985
3012
  metadata: {
2986
3013
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2987
3014
  },
2988
3015
  tags: { section: "OraculoSeccionEventoCombinadas" }
2989
- }), (k = h.current) == null || k.prev();
3016
+ }), (w = h.current) == null || w.prev();
2990
3017
  }, x = () => {
2991
- var k;
2992
- s({
3018
+ var w;
3019
+ l({
2993
3020
  element: "evento_combinadas_next",
2994
- label: `${l} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
3021
+ label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
2995
3022
  event_type: "click",
2996
3023
  module_id: d,
2997
3024
  metadata: {
2998
3025
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2999
3026
  },
3000
3027
  tags: { section: "OraculoSeccionEventoCombinadas" }
3001
- }), (k = h.current) == null || k.next();
3002
- }, T = () => {
3003
- s({
3028
+ }), (w = h.current) == null || w.next();
3029
+ }, k = () => {
3030
+ l({
3004
3031
  element: "evento_combinadas_ver_mas",
3005
- label: `${l} - OraculoSeccionEventoCombinadas - Click: Ver más`,
3032
+ label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
3006
3033
  event_type: "click",
3007
3034
  module_id: d,
3008
3035
  metadata: {
3009
3036
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3010
3037
  },
3011
3038
  tags: { section: "OraculoSeccionEventoCombinadas" }
3012
- }), Ra();
3013
- }, y = ie(() => u.filter((k) => k.combinadoTotal !== null), [u]);
3014
- async function O() {
3015
- var k, S, F, L;
3039
+ }), La();
3040
+ }, T = ie(() => u.filter((w) => w.combinadoTotal !== null), [u]);
3041
+ async function E() {
3042
+ var w, S, F, L;
3016
3043
  try {
3017
- const v = await (await fetch(g)).json(), E = (L = (F = (S = (k = v == null ? void 0 : v.group) == null ? void 0 : k.groups) == null ? void 0 : S.map((P) => P.id)) == null ? void 0 : F.filter(Boolean)) == null ? void 0 : L.join(",");
3018
- if (!E) {
3044
+ const _ = await (await fetch(g)).json(), O = (L = (F = (S = (w = _ == null ? void 0 : _.group) == null ? void 0 : w.groups) == null ? void 0 : S.map((P) => P.id)) == null ? void 0 : F.filter(Boolean)) == null ? void 0 : L.join(",");
3045
+ if (!O) {
3019
3046
  console.error("Could not extract group ID");
3020
3047
  return;
3021
3048
  }
3022
- const q = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${E}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, B = await (await fetch(q)).json();
3023
- c(On(B.events, B.betOffers, B.prePackCoupons));
3049
+ const q = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, A = await (await fetch(q)).json();
3050
+ c(En(A.events, A.betOffers, A.prePackCoupons));
3024
3051
  } catch (I) {
3025
3052
  console.error("loadDataEventSpecial error:", I);
3026
3053
  }
3027
3054
  }
3028
3055
  Q(() => {
3029
- O();
3056
+ E();
3030
3057
  }, []);
3031
- const w = i || void 0, R = xe("(max-width:950px)");
3032
- return y.length === 0 ? null : /* @__PURE__ */ t("section", { className: w, style: {
3058
+ const b = i || void 0, B = xe("(max-width:950px)");
3059
+ return T.length === 0 ? null : /* @__PURE__ */ t("section", { className: b, style: {
3033
3060
  // paddingLeft: 16,
3034
3061
  // paddingRight: 16,
3035
3062
  width: "100%",
3036
3063
  boxSizing: "border-box"
3037
- }, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3038
- /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3064
+ }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3065
+ /* @__PURE__ */ t("div", { className: nt.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3039
3066
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3040
- /* @__PURE__ */ _("div", { className: at.controls, children: [
3041
- /* @__PURE__ */ _(me, { spacing: 1, columns: "auto auto", children: [
3067
+ /* @__PURE__ */ y("div", { className: nt.controls, children: [
3068
+ /* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
3042
3069
  /* @__PURE__ */ t(
3043
3070
  J,
3044
3071
  {
3045
3072
  ariaLabel: "Anterior",
3046
3073
  variant: "secondary",
3047
3074
  iconOnly: !0,
3048
- leftIcon: /* @__PURE__ */ t(Ae, {}),
3049
- onClick: b,
3075
+ leftIcon: /* @__PURE__ */ t(Re, {}),
3076
+ onClick: v,
3050
3077
  disabled: f.isStart
3051
3078
  }
3052
3079
  ),
@@ -3056,61 +3083,61 @@ function Tn({
3056
3083
  ariaLabel: "Siguiente",
3057
3084
  variant: "secondary",
3058
3085
  iconOnly: !0,
3059
- rightIcon: /* @__PURE__ */ t(Re, {}),
3086
+ rightIcon: /* @__PURE__ */ t(Le, {}),
3060
3087
  onClick: x,
3061
3088
  disabled: f.isEnd
3062
3089
  }
3063
3090
  )
3064
3091
  ] }),
3065
- /* @__PURE__ */ t(J, { variant: "secondary", onClick: T, children: "Ver más" })
3092
+ /* @__PURE__ */ t(J, { variant: "secondary", onClick: k, children: "Ver más" })
3066
3093
  ] })
3067
3094
  ] }) }),
3068
3095
  /* @__PURE__ */ t(
3069
3096
  he,
3070
3097
  {
3071
3098
  ref: h,
3072
- items: y,
3099
+ items: T,
3073
3100
  perPage: void 0,
3074
3101
  gap: "16px",
3075
3102
  options: { autoWidth: !0, trimSpace: "move" },
3076
3103
  useIndexAsKey: !0,
3077
3104
  enableHorizontalWheel: !0,
3078
- showRightGradient: !R,
3105
+ showRightGradient: !B,
3079
3106
  breakpoints: {
3080
3107
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3081
3108
  },
3082
- renderItem: (k) => /* @__PURE__ */ t(Cn, { coupon: k }),
3083
- onMove: ({ isStart: k, isEnd: S }) => m({ isStart: k, isEnd: S })
3109
+ renderItem: (w) => /* @__PURE__ */ t(kn, { coupon: w }),
3110
+ onMove: ({ isStart: w, isEnd: S }) => m({ isStart: w, isEnd: S })
3084
3111
  }
3085
3112
  )
3086
3113
  ] }) });
3087
3114
  }
3088
- function kn({}) {
3115
+ function Nn({}) {
3089
3116
  return /* @__PURE__ */ t(
3090
3117
  "div",
3091
3118
  {
3092
- className: ke.cardWrapper,
3093
- children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1, children: [
3094
- /* @__PURE__ */ _(H, { spacing: 1, direction: "row", children: [
3119
+ className: Ne.cardWrapper,
3120
+ children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, children: [
3121
+ /* @__PURE__ */ y(H, { spacing: 1, direction: "row", children: [
3095
3122
  /* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
3096
3123
  /* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
3097
3124
  ] }),
3098
- /* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3125
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3099
3126
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
3100
3127
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
3101
3128
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
3102
3129
  ] }),
3103
- /* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3130
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3104
3131
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
3105
3132
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
3106
3133
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
3107
3134
  ] }),
3108
- /* @__PURE__ */ _(H, { spacing: 2, direction: "row", children: [
3135
+ /* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
3109
3136
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3110
3137
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3111
3138
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
3112
3139
  ] }),
3113
- /* @__PURE__ */ _(H, { spacing: 2, direction: "row", children: [
3140
+ /* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
3114
3141
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3115
3142
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3116
3143
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
@@ -3119,64 +3146,64 @@ function kn({}) {
3119
3146
  }
3120
3147
  );
3121
3148
  }
3122
- const Nn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", $n = {
3123
- fadeWrapper: Nn
3149
+ const $n = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Mn = {
3150
+ fadeWrapper: $n
3124
3151
  };
3125
- function Be({ children: e }) {
3126
- return /* @__PURE__ */ t("div", { className: $n.fadeWrapper, children: e });
3152
+ function Ae({ children: e }) {
3153
+ return /* @__PURE__ */ t("div", { className: Mn.fadeWrapper, children: e });
3127
3154
  }
3128
- const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3129
- padding: Mn
3155
+ const Bn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", An = {
3156
+ padding: Bn
3130
3157
  };
3131
- function wt({
3158
+ function It({
3132
3159
  events: e,
3133
3160
  visibleRange: a,
3134
3161
  fetchJerseys: n,
3135
3162
  buffer: r = 2,
3136
3163
  debounceMs: i = 250
3137
3164
  }) {
3138
- const [s, l] = Z({}), d = U(/* @__PURE__ */ new Set()), h = U(0), f = U(null), m = U(null);
3165
+ const [l, s] = Z({}), d = U(/* @__PURE__ */ new Set()), h = U(0), f = U(null), m = U(null);
3139
3166
  return Q(() => {
3140
3167
  if (!(!e || e.length === 0))
3141
3168
  return f.current && clearTimeout(f.current), f.current = setTimeout(() => {
3142
- var R, k;
3143
- const u = (R = a.start) != null ? R : 0, c = (k = a.end) != null ? k : 7, g = Math.max(0, u - r), b = Math.min(e.length - 1, c + r);
3144
- let x = g, T = b;
3145
- const y = m.current;
3146
- y && (g > y.end && (x = y.end + 1), b < y.start && (T = y.start - 1)), m.current = { start: g, end: b };
3147
- const O = e.slice(x, T + 1).map((S) => S == null ? void 0 : S.id).filter((S) => !!S).filter((S) => !d.current.has(S)).filter((S) => !(S in s));
3148
- if (O.length === 0) return;
3149
- O.forEach((S) => d.current.add(S));
3150
- const w = ++h.current;
3169
+ var B, w;
3170
+ const u = (B = a.start) != null ? B : 0, c = (w = a.end) != null ? w : 7, g = Math.max(0, u - r), v = Math.min(e.length - 1, c + r);
3171
+ let x = g, k = v;
3172
+ const T = m.current;
3173
+ T && (g > T.end && (x = T.end + 1), v < T.start && (k = T.start - 1)), m.current = { start: g, end: v };
3174
+ const E = e.slice(x, k + 1).map((S) => S == null ? void 0 : S.id).filter((S) => !!S).filter((S) => !d.current.has(S)).filter((S) => !(S in l));
3175
+ if (E.length === 0) return;
3176
+ E.forEach((S) => d.current.add(S));
3177
+ const b = ++h.current;
3151
3178
  (async () => {
3152
3179
  try {
3153
- const S = await n(O);
3154
- if (w !== h.current) {
3155
- O.forEach((L) => d.current.delete(L));
3180
+ const S = await n(E);
3181
+ if (b !== h.current) {
3182
+ E.forEach((L) => d.current.delete(L));
3156
3183
  return;
3157
3184
  }
3158
3185
  if (!(S != null && S.events)) {
3159
- O.forEach(
3186
+ E.forEach(
3160
3187
  (L) => d.current.delete(L)
3161
3188
  );
3162
3189
  return;
3163
3190
  }
3164
- l((L) => {
3191
+ s((L) => {
3165
3192
  const I = { ...L };
3166
- for (const [v, E] of Object.entries(S.events)) {
3167
- const q = Number(v);
3168
- I[q] || (I[q] = E);
3193
+ for (const [_, O] of Object.entries(S.events)) {
3194
+ const q = Number(_);
3195
+ I[q] || (I[q] = O);
3169
3196
  }
3170
3197
  return I;
3171
3198
  });
3172
3199
  const F = new Set(
3173
3200
  Object.keys(S.events).map(Number)
3174
3201
  );
3175
- O.forEach((L) => {
3202
+ E.forEach((L) => {
3176
3203
  d.current.delete(L);
3177
3204
  });
3178
3205
  } catch (S) {
3179
- O.forEach(
3206
+ E.forEach(
3180
3207
  (F) => d.current.delete(F)
3181
3208
  ), console.error("Jersey fetch error", S);
3182
3209
  }
@@ -3185,91 +3212,91 @@ function wt({
3185
3212
  f.current && clearTimeout(f.current);
3186
3213
  };
3187
3214
  }, [e, a, r, i, n]), {
3188
- jerseys: s,
3215
+ jerseys: l,
3189
3216
  isPending: d.current
3190
3217
  };
3191
3218
  }
3192
- const An = (e) => {
3219
+ const Rn = (e) => {
3193
3220
  const a = ["esports", "cyber"];
3194
3221
  return e.filter((n) => {
3195
- var s, l;
3196
- const r = (s = n == null ? void 0 : n.event) == null ? void 0 : s.sport;
3222
+ var l, s;
3223
+ const r = (l = n == null ? void 0 : n.event) == null ? void 0 : l.sport;
3197
3224
  if (typeof r != "string" || r !== "FOOTBALL") return !1;
3198
- const i = typeof ((l = n == null ? void 0 : n.event) == null ? void 0 : l.group) == "string" ? n.event.group.toLowerCase() : "";
3225
+ const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
3199
3226
  return !a.some((d) => i.includes(d));
3200
3227
  });
3201
- }, Rn = fe.memo(Da);
3202
- function Ln({
3228
+ }, Ln = fe.memo(Ua);
3229
+ function Fn({
3203
3230
  items: e,
3204
3231
  title: a = "En vivo",
3205
3232
  iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
3206
3233
  onViewMore: r,
3207
3234
  className: i = ""
3208
3235
  }) {
3209
- const s = "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", l = U(null), [d, h] = Z({ isStart: !0, isEnd: !1 }), [f, m] = Z(null), [u, c] = Z({ start: null, end: null }), [g, b] = Z(null), x = U(!1), T = oe(), y = re(), O = le(), w = U(/* @__PURE__ */ new Map()), R = () => {
3236
+ const l = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = U(null), [d, h] = Z({ isStart: !0, isEnd: !1 }), [f, m] = Z(null), [u, c] = Z({ start: null, end: null }), [g, v] = Z(null), x = U(!1), k = oe(), T = re(), E = se(), b = U(/* @__PURE__ */ new Map()), B = () => {
3210
3237
  var M;
3211
- T({
3238
+ k({
3212
3239
  element: "evento_en_vivo_prev",
3213
- label: `${y} - OraculoSeccionEventoEnVivo - Anterior`,
3240
+ label: `${T} - OraculoSeccionEventoEnVivo - Anterior`,
3214
3241
  target: "prev",
3215
3242
  event_type: "click",
3216
- module_id: O,
3243
+ module_id: E,
3217
3244
  metadata: {
3218
3245
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3219
3246
  },
3220
3247
  tags: { section: "OraculoSeccionEventoEnVivo" }
3221
- }), (M = l.current) == null || M.prev();
3222
- }, k = () => {
3248
+ }), (M = s.current) == null || M.prev();
3249
+ }, w = () => {
3223
3250
  var M;
3224
- T({
3251
+ k({
3225
3252
  element: "evento_en_vivo_next",
3226
- label: `${y} - OraculoSeccionEventoEnVivo - Siguiente`,
3253
+ label: `${T} - OraculoSeccionEventoEnVivo - Siguiente`,
3227
3254
  target: "next",
3228
3255
  event_type: "click",
3229
- module_id: O,
3256
+ module_id: E,
3230
3257
  metadata: {
3231
3258
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3232
3259
  },
3233
3260
  tags: { section: "OraculoSeccionEventoEnVivo" }
3234
- }), (M = l.current) == null || M.next();
3261
+ }), (M = s.current) == null || M.next();
3235
3262
  }, S = () => {
3236
- T({
3263
+ k({
3237
3264
  element: "evento_en_vivo_view_more",
3238
- label: `${y} - OraculoSeccionEventoEnVivo - Ver más`,
3265
+ label: `${T} - OraculoSeccionEventoEnVivo - Ver más`,
3239
3266
  target: "ver_mas",
3240
3267
  event_type: "click",
3241
- module_id: O,
3268
+ module_id: E,
3242
3269
  metadata: {
3243
3270
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3244
3271
  },
3245
3272
  tags: { section: "OraculoSeccionEventoEnVivo" }
3246
- }), Ba();
3247
- }, F = Ce(async () => {
3273
+ }), Aa();
3274
+ }, F = ke(async () => {
3248
3275
  var M;
3249
3276
  try {
3250
3277
  if (!x.current) {
3251
3278
  x.current = !0;
3252
3279
  try {
3253
3280
  const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((M = K == null ? void 0 : K.data) == null ? void 0 : M.event_ids) || [], X = /* @__PURE__ */ new Map();
3254
- G.forEach((te, o) => X.set(String(te), o)), w.current = X;
3281
+ G.forEach((te, o) => X.set(String(te), o)), b.current = X;
3255
3282
  } catch (W) {
3256
3283
  console.error("Order fetch failed, using default sorting", W);
3257
3284
  }
3258
3285
  }
3259
- const B = await fetch(s);
3260
- if (!B.ok) throw new Error("Failed to fetch live events");
3261
- const P = await B.json(), V = An(P.events);
3262
- if (w.current.size === 0)
3286
+ const A = await fetch(l);
3287
+ if (!A.ok) throw new Error("Failed to fetch live events");
3288
+ const P = await A.json(), V = Rn(P.events);
3289
+ if (b.current.size === 0)
3263
3290
  m(V);
3264
3291
  else {
3265
3292
  const W = [...V].sort((K, G) => {
3266
- const X = w.current.get(String(K.event.id)), te = w.current.get(String(G.event.id));
3293
+ const X = b.current.get(String(K.event.id)), te = b.current.get(String(G.event.id));
3267
3294
  return (X !== void 0 ? X : 1 / 0) - (te !== void 0 ? te : 1 / 0);
3268
3295
  });
3269
3296
  m(W);
3270
3297
  }
3271
- } catch (B) {
3272
- console.error("LoadData Error:", B);
3298
+ } catch (A) {
3299
+ console.error("LoadData Error:", A);
3273
3300
  }
3274
3301
  }, []);
3275
3302
  Q(() => {
@@ -3277,34 +3304,34 @@ function Ln({
3277
3304
  const M = setInterval(F, 2e4);
3278
3305
  return () => clearInterval(M);
3279
3306
  }, [F]);
3280
- const { jerseys: L } = wt({
3307
+ const { jerseys: L } = It({
3281
3308
  events: (f == null ? void 0 : f.map((M) => M.event)) || [],
3282
3309
  // extract actual event objects
3283
3310
  visibleRange: u,
3284
- fetchJerseys: gt,
3311
+ fetchJerseys: ht,
3285
3312
  buffer: 3,
3286
3313
  // same as your previous BUFFER
3287
3314
  debounceMs: 300
3288
3315
  // same as your previous debouncedVisibleRange
3289
- }), I = i || void 0, v = f === null, E = ie(() => v ? Array(4).fill({}) : (f == null ? void 0 : f.slice(0, 20)) || [], [v, f]), q = xe("(max-width:950px)");
3290
- return !v && f.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
3316
+ }), I = i || void 0, _ = f === null, O = ie(() => _ ? Array(4).fill({}) : (f == null ? void 0 : f.slice(0, 20)) || [], [_, f]), q = xe("(max-width:950px)");
3317
+ return !_ && f.length === 0 ? null : /* @__PURE__ */ t("section", { className: I, style: {
3291
3318
  // paddingLeft: 16,
3292
3319
  // paddingRight: 16,
3293
3320
  width: "100%",
3294
3321
  boxSizing: "border-box"
3295
- }, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3296
- /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3322
+ }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3323
+ /* @__PURE__ */ t("div", { className: An.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3297
3324
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3298
- /* @__PURE__ */ _("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3299
- /* @__PURE__ */ _(me, { spacing: 1, columns: "auto auto", children: [
3325
+ /* @__PURE__ */ y("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3326
+ /* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
3300
3327
  /* @__PURE__ */ t(
3301
3328
  J,
3302
3329
  {
3303
3330
  ariaLabel: "Anterior",
3304
3331
  variant: "secondary",
3305
3332
  iconOnly: !0,
3306
- leftIcon: /* @__PURE__ */ t(Ae, {}),
3307
- onClick: R,
3333
+ leftIcon: /* @__PURE__ */ t(Re, {}),
3334
+ onClick: B,
3308
3335
  disabled: d.isStart
3309
3336
  }
3310
3337
  ),
@@ -3314,8 +3341,8 @@ function Ln({
3314
3341
  ariaLabel: "Siguiente",
3315
3342
  variant: "secondary",
3316
3343
  iconOnly: !0,
3317
- rightIcon: /* @__PURE__ */ t(Re, {}),
3318
- onClick: k,
3344
+ rightIcon: /* @__PURE__ */ t(Le, {}),
3345
+ onClick: w,
3319
3346
  disabled: d.isEnd
3320
3347
  }
3321
3348
  )
@@ -3326,8 +3353,8 @@ function Ln({
3326
3353
  /* @__PURE__ */ t(
3327
3354
  he,
3328
3355
  {
3329
- ref: l,
3330
- items: E,
3356
+ ref: s,
3357
+ items: O,
3331
3358
  perPage: void 0,
3332
3359
  showRightGradient: !q,
3333
3360
  enableHorizontalWheel: !0,
@@ -3340,44 +3367,44 @@ function Ln({
3340
3367
  },
3341
3368
  renderItem: (M) => {
3342
3369
  var V;
3343
- const B = ((V = M.event) == null ? void 0 : V.id) || M.eventId, P = B in L ? L[B] : void 0;
3344
- return v ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3345
- Rn,
3370
+ const A = ((V = M.event) == null ? void 0 : V.id) || M.eventId, P = A in L ? L[A] : void 0;
3371
+ return _ ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Nn, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(
3372
+ Ln,
3346
3373
  {
3347
3374
  ...M,
3348
3375
  jersey: P
3349
3376
  }
3350
3377
  ) });
3351
3378
  },
3352
- onMove: ({ isStart: M, isEnd: B, visibleStart: P, visibleEnd: V }) => {
3379
+ onMove: ({ isStart: M, isEnd: A, visibleStart: P, visibleEnd: V }) => {
3353
3380
  h(
3354
- (W) => W.isStart === M && W.isEnd === B ? W : { isStart: M, isEnd: B }
3381
+ (W) => W.isStart === M && W.isEnd === A ? W : { isStart: M, isEnd: A }
3355
3382
  ), c({ start: P, end: V });
3356
3383
  }
3357
3384
  }
3358
3385
  )
3359
3386
  ] }) });
3360
3387
  }
3361
- function Fn() {
3362
- return /* @__PURE__ */ _("div", { className: be.cardContainer, children: [
3363
- /* @__PURE__ */ t(mt, { title: "" }),
3364
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3365
- /* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3388
+ function qn() {
3389
+ return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
3390
+ /* @__PURE__ */ t(pt, { title: "" }),
3391
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3392
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3366
3393
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
3367
3394
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
3368
3395
  ] }),
3369
- /* @__PURE__ */ _(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3370
- /* @__PURE__ */ _(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3396
+ /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3397
+ /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3371
3398
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
3372
3399
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
3373
3400
  ] }),
3374
3401
  /* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
3375
- /* @__PURE__ */ _(H, { direction: "row", spacing: 1, children: [
3402
+ /* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
3376
3403
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3377
3404
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3378
3405
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
3379
3406
  ] }),
3380
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ _(H, { direction: "row", spacing: 1, children: [
3407
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
3381
3408
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3382
3409
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3383
3410
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
@@ -3386,30 +3413,30 @@ function Fn() {
3386
3413
  ] }) })
3387
3414
  ] });
3388
3415
  }
3389
- const qn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", zn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Pn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
3390
- wrapper: qn,
3391
- container: zn,
3392
- buttonWrapper: Pn,
3393
- padding: Dn
3394
- }, Un = fe.memo(Za);
3395
- async function Vn(e, a = 2, n) {
3416
+ const zn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Pn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Dn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Un = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Oe = {
3417
+ wrapper: zn,
3418
+ container: Pn,
3419
+ buttonWrapper: Dn,
3420
+ padding: Un
3421
+ }, Vn = fe.memo(Ja);
3422
+ async function Wn(e, a = 2, n) {
3396
3423
  const r = [];
3397
3424
  for (let i = 0; i < e.length; i += a) {
3398
3425
  if (n.aborted)
3399
3426
  throw new DOMException("Aborted", "AbortError");
3400
- const s = e.slice(i, i + a), l = await Promise.all(
3401
- s.map((d) => fetch(d, { signal: n }).then((h) => h.json()))
3427
+ const l = e.slice(i, i + a), s = await Promise.all(
3428
+ l.map((d) => fetch(d, { signal: n }).then((h) => h.json()))
3402
3429
  );
3403
- r.push(...l);
3430
+ r.push(...s);
3404
3431
  }
3405
3432
  return r;
3406
3433
  }
3407
- function Wn(e) {
3434
+ function Gn(e) {
3408
3435
  return [...e].sort(
3409
3436
  (a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
3410
3437
  );
3411
3438
  }
3412
- function Gn(e) {
3439
+ function jn(e) {
3413
3440
  const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
3414
3441
  return e.filter((r) => {
3415
3442
  if (!r.start) return !1;
@@ -3417,27 +3444,27 @@ function Gn(e) {
3417
3444
  return i >= a && i <= n;
3418
3445
  });
3419
3446
  }
3420
- function jn(e, a) {
3447
+ function Hn(e, a) {
3421
3448
  const r = a.filter((i) => {
3422
- var s;
3423
- return ((s = i.betOfferType) == null ? void 0 : s.id) === 2;
3424
- }).reduce((i, s) => (i[s.eventId] || (i[s.eventId] = []), i[s.eventId].push(s), i), {});
3449
+ var l;
3450
+ return ((l = i.betOfferType) == null ? void 0 : l.id) === 2;
3451
+ }).reduce((i, l) => (i[l.eventId] || (i[l.eventId] = []), i[l.eventId].push(l), i), {});
3425
3452
  return e.filter((i) => r[i.id]).map((i) => ({
3426
3453
  ...i,
3427
3454
  outcome: r[i.id]
3428
3455
  }));
3429
3456
  }
3430
- function Hn({
3457
+ function Kn({
3431
3458
  items: e,
3432
3459
  title: a = "En vivo",
3433
3460
  iconUrl: n,
3434
3461
  onViewMore: r,
3435
3462
  className: i = ""
3436
3463
  }) {
3437
- const s = oe(), l = re(), d = le(), h = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", f = U(null), [m, u] = Z({ isStart: !0, isEnd: !1 }), [c, g] = Z(null), [b, x] = Z({ start: null, end: null }), T = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", y = () => {
3438
- s({
3464
+ const l = oe(), s = re(), d = se(), h = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", f = U(null), [m, u] = Z({ isStart: !0, isEnd: !1 }), [c, g] = Z(null), [v, x] = Z({ start: null, end: null }), k = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", T = () => {
3465
+ l({
3439
3466
  element: "evento_semana_view_more",
3440
- label: `${l} - OraculoSeccionEventoSemana - Ver más`,
3467
+ label: `${s} - OraculoSeccionEventoSemana - Ver más`,
3441
3468
  target: "ver_mas",
3442
3469
  event_type: "click",
3443
3470
  module_id: d,
@@ -3445,22 +3472,22 @@ function Hn({
3445
3472
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3446
3473
  },
3447
3474
  tags: { section: "OraculoSeccionEventoSemana" }
3448
- }), Aa();
3475
+ }), Ra();
3449
3476
  };
3450
- async function O(I) {
3477
+ async function E(I) {
3451
3478
  var q, M;
3452
- let v = [], E = [];
3479
+ let _ = [], O = [];
3453
3480
  try {
3454
- const B = await fetch(
3481
+ const A = await fetch(
3455
3482
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
3456
3483
  { signal: I }
3457
3484
  );
3458
- if (B.ok) {
3459
- const P = await B.json();
3460
- v = ((q = P == null ? void 0 : P.data) == null ? void 0 : q.group_ids) || [], E = ((M = P == null ? void 0 : P.data) == null ? void 0 : M.event_ids) || [];
3485
+ if (A.ok) {
3486
+ const P = await A.json();
3487
+ _ = ((q = P == null ? void 0 : P.data) == null ? void 0 : q.group_ids) || [], O = ((M = P == null ? void 0 : P.data) == null ? void 0 : M.event_ids) || [];
3461
3488
  }
3462
- } catch (B) {
3463
- B.name !== "AbortError" && console.warn("Order API not available, using default group order");
3489
+ } catch (A) {
3490
+ A.name !== "AbortError" && console.warn("Order API not available, using default group order");
3464
3491
  return;
3465
3492
  }
3466
3493
  try {
@@ -3472,9 +3499,9 @@ function Hn({
3472
3499
  return;
3473
3500
  }
3474
3501
  let W = [...V.groups];
3475
- if (v.length > 0) {
3502
+ if (_.length > 0) {
3476
3503
  const o = new Map(
3477
- v.map((p, C) => [p, C])
3504
+ _.map((p, C) => [p, C])
3478
3505
  );
3479
3506
  W.sort((p, C) => {
3480
3507
  const N = o.get(String(p.id)), $ = o.get(String(C.id));
@@ -3486,32 +3513,32 @@ function Hn({
3486
3513
  if (o.groups && o.groups.length > 0) {
3487
3514
  const C = o.groups[0];
3488
3515
  return [
3489
- `${p}/${o.termKey}/${C.termKey}/all/matches.json?${T}`
3516
+ `${p}/${o.termKey}/${C.termKey}/all/matches.json?${k}`
3490
3517
  ];
3491
3518
  }
3492
3519
  return [
3493
- `${p}/${o.termKey}/all/all/matches.json?${T}`
3520
+ `${p}/${o.termKey}/all/all/matches.json?${k}`
3494
3521
  ];
3495
3522
  }, te = G.flatMap(X);
3496
- w(te, E, I);
3497
- } catch (B) {
3498
- console.error(B);
3523
+ b(te, O, I);
3524
+ } catch (A) {
3525
+ console.error(A);
3499
3526
  }
3500
3527
  }
3501
- async function w(I, v, E) {
3528
+ async function b(I, _, O) {
3502
3529
  try {
3503
- const q = await Vn(I, 2, E);
3504
- let M = [], B = [];
3530
+ const q = await Wn(I, 2, O);
3531
+ let M = [], A = [];
3505
3532
  q.forEach((K) => {
3506
- K.events && (M.push(...K.events.map((G) => G.event)), B.push(
3533
+ K.events && (M.push(...K.events.map((G) => G.event)), A.push(
3507
3534
  ...K.events.flatMap((G) => G.betOffers || [])
3508
3535
  ));
3509
3536
  });
3510
- const P = jn(M, B), V = Wn(Gn(P));
3537
+ const P = Hn(M, A), V = Gn(jn(P));
3511
3538
  let W = V;
3512
- if (v.length > 0) {
3539
+ if (_.length > 0) {
3513
3540
  const K = new Map(
3514
- v.map((G, X) => [
3541
+ _.map((G, X) => [
3515
3542
  String(G),
3516
3543
  X
3517
3544
  ])
@@ -3521,7 +3548,7 @@ function Hn({
3521
3548
  return te !== void 0 && o !== void 0 ? te - o : te !== void 0 ? -1 : o !== void 0 ? 1 : 0;
3522
3549
  });
3523
3550
  }
3524
- if (E.aborted) return;
3551
+ if (O.aborted) return;
3525
3552
  g(W);
3526
3553
  } catch (q) {
3527
3554
  console.error("Error loading events:", q);
@@ -3530,32 +3557,32 @@ function Hn({
3530
3557
  Q(() => {
3531
3558
  if (!e) return;
3532
3559
  const I = new AbortController();
3533
- return O(I.signal), () => {
3560
+ return E(I.signal), () => {
3534
3561
  I.abort();
3535
3562
  };
3536
3563
  }, [e]);
3537
- const R = i || void 0, k = {
3564
+ const B = i || void 0, w = {
3538
3565
  paddingLeft: 0,
3539
3566
  width: "100%",
3540
3567
  boxSizing: "border-box"
3541
- }, { jerseys: S } = wt({
3568
+ }, { jerseys: S } = It({
3542
3569
  events: c,
3543
- visibleRange: b,
3544
- fetchJerseys: gt,
3570
+ visibleRange: v,
3571
+ fetchJerseys: ht,
3545
3572
  buffer: 2,
3546
3573
  debounceMs: 250
3547
3574
  }), F = c === null, L = xe("(max-width:950px)");
3548
- return !F && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: R, style: k, children: /* @__PURE__ */ _("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3549
- /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ _(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3575
+ return !F && c.length === 0 ? null : /* @__PURE__ */ t("section", { className: B, style: w, children: /* @__PURE__ */ y("div", { className: `${Oe.wrapper} ${Oe.padding}`, children: [
3576
+ /* @__PURE__ */ t("div", { className: Oe.container, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3550
3577
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3551
- /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
3578
+ /* @__PURE__ */ t("div", { className: Oe.buttonWrapper, children: /* @__PURE__ */ t(
3552
3579
  J,
3553
3580
  {
3554
3581
  variant: "secondary",
3555
3582
  size: "lg",
3556
3583
  fullWidth: !0,
3557
3584
  onClick: () => {
3558
- y();
3585
+ T();
3559
3586
  },
3560
3587
  children: "Ver más"
3561
3588
  }
@@ -3580,25 +3607,25 @@ function Hn({
3580
3607
  }
3581
3608
  },
3582
3609
  renderItem: (I) => {
3583
- const v = I.id, E = v in S ? S[v] : void 0;
3584
- return F ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Fn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: I, jersey: E }) });
3610
+ const _ = I.id, O = _ in S ? S[_] : void 0;
3611
+ return F ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(qn, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Vn, { event: I, jersey: O }) });
3585
3612
  },
3586
- onMove: ({ isStart: I, isEnd: v, visibleStart: E, visibleEnd: q, source: M }) => {
3587
- u({ isStart: I, isEnd: v }), x({
3588
- start: E,
3613
+ onMove: ({ isStart: I, isEnd: _, visibleStart: O, visibleEnd: q, source: M }) => {
3614
+ u({ isStart: I, isEnd: _ }), x({
3615
+ start: O,
3589
3616
  end: q
3590
- }), M === "user" && s({
3617
+ }), M === "user" && l({
3591
3618
  element: "evento_semana_carousel_slide",
3592
- label: `${l} - OraculoSeccionEventoSemana - Slide Carousel`,
3619
+ label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
3593
3620
  target: "carousel",
3594
3621
  event_type: "slide",
3595
3622
  module_id: d,
3596
3623
  metadata: {
3597
3624
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3598
- visibleStart: E,
3625
+ visibleStart: O,
3599
3626
  visibleEnd: q,
3600
3627
  isStart: I,
3601
- isEnd: v
3628
+ isEnd: _
3602
3629
  },
3603
3630
  tags: { section: "OraculoSeccionEventoSemana" }
3604
3631
  });
@@ -3607,9 +3634,9 @@ function Hn({
3607
3634
  ) })
3608
3635
  ] }) });
3609
3636
  }
3610
- const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3637
+ const Zn = -300, Jn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ot = (e) => {
3611
3638
  if (!e) return null;
3612
- if (Zn(e)) {
3639
+ if (Jn(e)) {
3613
3640
  const h = new Date(e).getTime();
3614
3641
  return Number.isNaN(h) ? null : h;
3615
3642
  }
@@ -3617,37 +3644,37 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3617
3644
  /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
3618
3645
  );
3619
3646
  if (!a) return null;
3620
- const [, n, r, i, s, l, d = "00"] = a;
3647
+ const [, n, r, i, l, s, d = "00"] = a;
3621
3648
  return Date.UTC(
3622
3649
  Number(n),
3623
3650
  Number(r) - 1,
3624
3651
  Number(i),
3625
- Number(s) - Kn / 60,
3626
- Number(l),
3652
+ Number(l) - Zn / 60,
3653
+ Number(s),
3627
3654
  Number(d)
3628
3655
  );
3629
- }, Jn = (e, a) => {
3630
- var d, h, f, m, u, c, g, b, x;
3631
- const n = (f = (h = (d = e == null ? void 0 : e.fields) != null ? d : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? f : [], r = (c = (u = e == null ? void 0 : e.startAt) != null ? u : (m = n.find((T) => (T == null ? void 0 : T.name) === "startAt")) == null ? void 0 : m.value) != null ? c : null, i = (x = (b = e == null ? void 0 : e.endAt) != null ? b : (g = n.find((T) => (T == null ? void 0 : T.name) === "endAt")) == null ? void 0 : g.value) != null ? x : null, s = nt(r), l = nt(i);
3632
- return !(s != null && a < s || l != null && a >= l);
3656
+ }, Xn = (e, a) => {
3657
+ var d, h, f, m, u, c, g, v, x;
3658
+ const n = (f = (h = (d = e == null ? void 0 : e.fields) != null ? d : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? f : [], r = (c = (u = e == null ? void 0 : e.startAt) != null ? u : (m = n.find((k) => (k == null ? void 0 : k.name) === "startAt")) == null ? void 0 : m.value) != null ? c : null, i = (x = (v = e == null ? void 0 : e.endAt) != null ? v : (g = n.find((k) => (k == null ? void 0 : k.name) === "endAt")) == null ? void 0 : g.value) != null ? x : null, l = ot(r), s = ot(i);
3659
+ return !(l != null && a < l || s != null && a >= s);
3633
3660
  };
3634
- function Xn({
3661
+ function Yn({
3635
3662
  backgrounds: e,
3636
3663
  items: a,
3637
3664
  hideItems: n,
3638
3665
  user: r = null
3639
3666
  }) {
3640
3667
  var te;
3641
- const [i, s] = Z(0), l = oe(), d = re(), h = le(), f = U(null), m = U(!1), u = U(!1), [c, g] = Z(() => Date.now()), b = se("setDepositActionGlobal"), x = se("setAbrirLiveActionGlobal"), T = se("openLoginWithRedirect"), y = (o) => [...o != null ? o : []].map((p, C) => ({ item: p, index: C })).sort((p, C) => {
3642
- var A, D;
3643
- const N = (A = p.item.order) != null ? A : Number.MAX_SAFE_INTEGER, $ = (D = C.item.order) != null ? D : Number.MAX_SAFE_INTEGER;
3668
+ const [i, l] = Z(0), s = oe(), d = re(), h = se(), f = U(null), m = U(!1), u = U(!1), [c, g] = Z(() => Date.now()), v = le("setDepositActionGlobal"), x = le("setAbrirLiveActionGlobal"), k = le("openLoginWithRedirect"), T = (o) => [...o != null ? o : []].map((p, C) => ({ item: p, index: C })).sort((p, C) => {
3669
+ var R, D;
3670
+ const N = (R = p.item.order) != null ? R : Number.MAX_SAFE_INTEGER, $ = (D = C.item.order) != null ? D : Number.MAX_SAFE_INTEGER;
3644
3671
  return N - $ || p.index - C.index;
3645
- }).map(({ item: p }) => p), O = ie(() => y(a), [a]), w = ie(() => {
3672
+ }).map(({ item: p }) => p), E = ie(() => T(a), [a]), b = ie(() => {
3646
3673
  const o = (e != null ? e : []).filter(
3647
- (p) => Jn(p, c)
3674
+ (p) => Xn(p, c)
3648
3675
  );
3649
- return y(o);
3650
- }, [e, c]), R = w.length || 1, k = !w || w.length === 0, S = !k && w.length > 1, F = !n && O.length > 0;
3676
+ return T(o);
3677
+ }, [e, c]), B = b.length || 1, w = !b || b.length === 0, S = !w && b.length > 1, F = !n && E.length > 0;
3651
3678
  De("(max-width:950px)");
3652
3679
  const L = "#B5B5B5";
3653
3680
  Q(() => {
@@ -3679,7 +3706,7 @@ function Xn({
3679
3706
  backgroundColor: "transparent",
3680
3707
  cursor: "default"
3681
3708
  }
3682
- }, v = ie(
3709
+ }, _ = ie(
3683
3710
  () => ({
3684
3711
  type: "loop",
3685
3712
  perMove: 1,
@@ -3696,13 +3723,13 @@ function Xn({
3696
3723
  }, 500);
3697
3724
  return () => clearTimeout(o);
3698
3725
  }, []);
3699
- const E = (o, p, C) => {
3726
+ const O = (o, p, C) => {
3700
3727
  var D, Y;
3701
3728
  const N = !!p.idFunction, $ = !!p.href;
3702
3729
  if (N)
3703
3730
  switch (o.preventDefault(), o.stopPropagation(), p.idFunction) {
3704
3731
  case "deposito":
3705
- b == null || b(!0);
3732
+ v == null || v(!0);
3706
3733
  return;
3707
3734
  case "abrirLive":
3708
3735
  x == null || x();
@@ -3714,17 +3741,17 @@ function Xn({
3714
3741
  o.preventDefault(), o.stopPropagation();
3715
3742
  return;
3716
3743
  }
3717
- const A = ((Y = (D = p.href) == null ? void 0 : D.split("/").pop()) == null ? void 0 : Y.split(".")[0]) || p.label || p.id || `banner_${C + 1}`;
3718
- l({
3744
+ const R = ((Y = (D = p.href) == null ? void 0 : D.split("/").pop()) == null ? void 0 : Y.split(".")[0]) || p.label || p.id || `banner_${C + 1}`;
3745
+ s({
3719
3746
  element: "banner_carousel",
3720
- label: `${d} - OraculoSeccionBanners - Banner click: ${A}`,
3747
+ label: `${d} - OraculoSeccionBanners - Banner click: ${R}`,
3721
3748
  target: p.href || "no_url",
3722
3749
  event_type: "click",
3723
3750
  module_id: h,
3724
3751
  metadata: {
3725
3752
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3726
3753
  banner_position: C + 1,
3727
- banner_total: (w == null ? void 0 : w.length) || 0
3754
+ banner_total: (b == null ? void 0 : b.length) || 0
3728
3755
  },
3729
3756
  tags: {
3730
3757
  banner_type: "carousel",
@@ -3734,7 +3761,7 @@ function Xn({
3734
3761
  });
3735
3762
  }, q = (o) => {
3736
3763
  var p;
3737
- if (l({
3764
+ if (s({
3738
3765
  element: "banner_menu_item",
3739
3766
  label: `${d} - OraculoSeccionBanners - Menu item click: ${o.label || o.id}`,
3740
3767
  target: o.href || "action",
@@ -3748,7 +3775,7 @@ function Xn({
3748
3775
  item_label: o.label || "no_label"
3749
3776
  }
3750
3777
  }), !r && o.label == "MISIONES") {
3751
- T == null || T((p = o.href) != null ? p : "");
3778
+ k == null || k((p = o.href) != null ? p : "");
3752
3779
  return;
3753
3780
  }
3754
3781
  if (o.onClick) {
@@ -3756,10 +3783,10 @@ function Xn({
3756
3783
  return;
3757
3784
  }
3758
3785
  o.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(o.href);
3759
- }, M = 5e3, B = U(null), P = !k && ((te = w == null ? void 0 : w.length) != null ? te : 0) > 1, V = () => {
3760
- B.current != null && (window.clearTimeout(B.current), B.current = null);
3786
+ }, M = 5e3, A = U(null), P = !w && ((te = b == null ? void 0 : b.length) != null ? te : 0) > 1, V = () => {
3787
+ A.current != null && (window.clearTimeout(A.current), A.current = null);
3761
3788
  }, W = () => {
3762
- V(), P && (B.current = window.setTimeout(() => {
3789
+ V(), P && (A.current = window.setTimeout(() => {
3763
3790
  var o;
3764
3791
  u.current = !0, (o = f.current) == null || o.next();
3765
3792
  }, M));
@@ -3772,26 +3799,26 @@ function Xn({
3772
3799
  var p;
3773
3800
  o.preventDefault(), o.stopPropagation(), V(), (p = f.current) == null || p.next();
3774
3801
  }, X = (o) => {
3775
- var N, $, A, D;
3776
- const p = (o % R + R) % R;
3802
+ var N, $, R, D;
3803
+ const p = (o % B + B) % B;
3777
3804
  if (!m.current) return;
3778
- const C = (N = w == null ? void 0 : w[p]) != null && N.href ? ((A = ($ = w[p].href) == null ? void 0 : $.split("/").pop()) == null ? void 0 : A.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
3779
- l({
3805
+ const C = (N = b == null ? void 0 : b[p]) != null && N.href ? ((R = ($ = b[p].href) == null ? void 0 : $.split("/").pop()) == null ? void 0 : R.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
3806
+ s({
3780
3807
  element: "banner_carousel",
3781
3808
  label: `${d} - OraculoSeccionBanners - Banner view: Slide ${p + 1} - ${C}`,
3782
- target: ((D = w == null ? void 0 : w[p]) == null ? void 0 : D.href) || "no_url",
3809
+ target: ((D = b == null ? void 0 : b[p]) == null ? void 0 : D.href) || "no_url",
3783
3810
  event_type: "view",
3784
3811
  module_id: h,
3785
3812
  metadata: {
3786
3813
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3787
3814
  slide_index: p + 1,
3788
- total_slides: R,
3815
+ total_slides: B,
3789
3816
  interaction_type: "manual_slide"
3790
3817
  },
3791
3818
  tags: { banner_position: String(p + 1) }
3792
3819
  });
3793
3820
  };
3794
- return /* @__PURE__ */ _(
3821
+ return /* @__PURE__ */ y(
3795
3822
  ee,
3796
3823
  {
3797
3824
  component: "section",
@@ -3801,7 +3828,7 @@ function Xn({
3801
3828
  pb: F ? { xs: "40px", sm: 0 } : 0
3802
3829
  },
3803
3830
  children: [
3804
- /* @__PURE__ */ _(
3831
+ /* @__PURE__ */ y(
3805
3832
  ee,
3806
3833
  {
3807
3834
  sx: {
@@ -3829,38 +3856,38 @@ function Xn({
3829
3856
  he,
3830
3857
  {
3831
3858
  ref: f,
3832
- items: w,
3859
+ items: b,
3833
3860
  perPage: 1,
3834
3861
  gap: "0px",
3835
3862
  enableHorizontalWheel: !0,
3836
- options: v,
3863
+ options: _,
3837
3864
  onMove: ({ index: o, source: p }) => {
3838
- const C = (o % R + R) % R;
3839
- s(C);
3865
+ const C = (o % B + B) % B;
3866
+ l(C);
3840
3867
  const N = u.current;
3841
3868
  u.current = !1, p === "user" && (W(), N || X(o));
3842
3869
  },
3843
3870
  renderItem: (o, p) => {
3844
3871
  var D, Y, ne;
3845
- const C = !!o.idFunction, N = !!o.href, $ = N && !C, A = C || N;
3846
- return /* @__PURE__ */ _(
3872
+ const C = !!o.idFunction, N = !!o.href, $ = N && !C, R = C || N;
3873
+ return /* @__PURE__ */ y(
3847
3874
  ee,
3848
3875
  {
3849
3876
  component: $ ? "a" : "div",
3850
3877
  href: $ ? o.href : void 0,
3851
3878
  target: $ ? (D = o.target) != null ? D : "_self" : void 0,
3852
3879
  rel: $ && o.target === "_blank" ? "noopener noreferrer" : void 0,
3853
- onClick: (ae) => E(ae, o, p),
3880
+ onClick: (ae) => O(ae, o, p),
3854
3881
  sx: {
3855
3882
  position: "relative",
3856
3883
  width: "100%",
3857
3884
  height: "100%",
3858
3885
  display: "block",
3859
3886
  textDecoration: "none",
3860
- cursor: A ? "pointer" : "default"
3887
+ cursor: R ? "pointer" : "default"
3861
3888
  },
3862
3889
  children: [
3863
- /* @__PURE__ */ _(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3890
+ /* @__PURE__ */ y(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3864
3891
  /* @__PURE__ */ t("source", { srcSet: o.desktopSrc, media: "(min-width:950px)" }),
3865
3892
  /* @__PURE__ */ t("source", { srcSet: o.mobileSrc, media: "(max-width:949px)" }),
3866
3893
  /* @__PURE__ */ t(
@@ -3907,7 +3934,7 @@ function Xn({
3907
3934
  )
3908
3935
  }
3909
3936
  ),
3910
- S && /* @__PURE__ */ _(pe, { children: [
3937
+ S && /* @__PURE__ */ y(pe, { children: [
3911
3938
  /* @__PURE__ */ t(
3912
3939
  Ke,
3913
3940
  {
@@ -3919,7 +3946,7 @@ function Xn({
3919
3946
  "@media (max-width:1024px)": { left: 24 },
3920
3947
  "@media (max-width:786px)": { display: "none" }
3921
3948
  },
3922
- children: /* @__PURE__ */ t(Ae, {})
3949
+ children: /* @__PURE__ */ t(Re, {})
3923
3950
  }
3924
3951
  ),
3925
3952
  /* @__PURE__ */ t(
@@ -3933,7 +3960,7 @@ function Xn({
3933
3960
  "@media (max-width:1024px)": { right: 24 },
3934
3961
  "@media (max-width:786px)": { display: "none" }
3935
3962
  },
3936
- children: /* @__PURE__ */ t(Re, {})
3963
+ children: /* @__PURE__ */ t(Le, {})
3937
3964
  }
3938
3965
  )
3939
3966
  ] }),
@@ -3950,13 +3977,13 @@ function Xn({
3950
3977
  zIndex: 2
3951
3978
  },
3952
3979
  children: /* @__PURE__ */ t(
3953
- dt,
3980
+ ut,
3954
3981
  {
3955
- total: R,
3982
+ total: B,
3956
3983
  active: i,
3957
3984
  durationMs: M
3958
3985
  },
3959
- `${i}-${R}`
3986
+ `${i}-${B}`
3960
3987
  )
3961
3988
  }
3962
3989
  )
@@ -3981,7 +4008,7 @@ function Xn({
3981
4008
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3982
4009
  zIndex: 3
3983
4010
  },
3984
- children: O == null ? void 0 : O.map((o) => /* @__PURE__ */ _(
4011
+ children: E == null ? void 0 : E.map((o) => /* @__PURE__ */ y(
3985
4012
  ee,
3986
4013
  {
3987
4014
  sx: {
@@ -4028,7 +4055,7 @@ function Xn({
4028
4055
  },
4029
4056
  onClick: () => q(o),
4030
4057
  children: [
4031
- o.icon && /* @__PURE__ */ _(
4058
+ o.icon && /* @__PURE__ */ y(
4032
4059
  ee,
4033
4060
  {
4034
4061
  sx: {
@@ -4098,7 +4125,7 @@ function Xn({
4098
4125
  }
4099
4126
  );
4100
4127
  }
4101
- const Yn = [
4128
+ const Qn = [
4102
4129
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
4103
4130
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
4104
4131
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
@@ -4108,12 +4135,12 @@ const Yn = [
4108
4135
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
4109
4136
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
4110
4137
  ];
4111
- function Qn({
4138
+ function eo({
4112
4139
  title: e = "Medios de pago",
4113
- items: a = Yn
4140
+ items: a = Qn
4114
4141
  }) {
4115
4142
  const n = Math.ceil(a.length / 2), r = a.slice(0, n), i = a.slice(n);
4116
- return /* @__PURE__ */ _(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4143
+ return /* @__PURE__ */ y(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4117
4144
  /* @__PURE__ */ t(
4118
4145
  st,
4119
4146
  {
@@ -4142,37 +4169,37 @@ function Qn({
4142
4169
  }
4143
4170
  }
4144
4171
  ),
4145
- /* @__PURE__ */ _(Ee, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4172
+ /* @__PURE__ */ y(Ce, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4146
4173
  /* @__PURE__ */ t(
4147
- Ee,
4174
+ Ce,
4148
4175
  {
4149
4176
  direction: "row",
4150
4177
  justifyContent: "center",
4151
4178
  alignItems: "center",
4152
4179
  gap: { xs: 2, md: 3 },
4153
4180
  flexWrap: "wrap",
4154
- children: r.map((s, l) => /* @__PURE__ */ t(Ze, { ...s }, `${s.alt}-${s.src}-${l}`))
4181
+ children: r.map((l, s) => /* @__PURE__ */ t(Ze, { ...l }, `${l.alt}-${l.src}-${s}`))
4155
4182
  }
4156
4183
  ),
4157
4184
  /* @__PURE__ */ t(
4158
- Ee,
4185
+ Ce,
4159
4186
  {
4160
4187
  direction: "row",
4161
4188
  justifyContent: "center",
4162
4189
  alignItems: "center",
4163
4190
  gap: { xs: 2, md: 3 },
4164
4191
  flexWrap: "wrap",
4165
- children: i.map((s, l) => /* @__PURE__ */ t(Ze, { ...s }, `${s.alt}-${s.src}-${l}`))
4192
+ children: i.map((l, s) => /* @__PURE__ */ t(Ze, { ...l }, `${l.alt}-${l.src}-${s}`))
4166
4193
  }
4167
4194
  )
4168
4195
  ] })
4169
4196
  ] });
4170
4197
  }
4171
- function It({
4198
+ function Ot({
4172
4199
  children: e
4173
4200
  }) {
4174
- const a = Rt(), n = fe.useMemo(
4175
- () => Lt(a, {
4201
+ const a = Ft(), n = fe.useMemo(
4202
+ () => qt(a, {
4176
4203
  typography: { fontFamily: "var(--orc-font)" },
4177
4204
  components: {
4178
4205
  MuiTypography: {
@@ -4184,32 +4211,32 @@ function It({
4184
4211
  }),
4185
4212
  [a]
4186
4213
  );
4187
- return /* @__PURE__ */ _(Ft, { theme: n, children: [
4188
- /* @__PURE__ */ t(qt, {}),
4214
+ return /* @__PURE__ */ y(zt, { theme: n, children: [
4215
+ /* @__PURE__ */ t(Pt, {}),
4189
4216
  e
4190
4217
  ] });
4191
4218
  }
4192
- function wo({
4219
+ function Oo({
4193
4220
  docId: e = "Landing: home",
4194
4221
  moduleId: a = 301,
4195
4222
  children: n
4196
4223
  }) {
4197
- return /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: e, moduleId: a, children: n }) });
4224
+ return /* @__PURE__ */ t(Ot, { children: /* @__PURE__ */ t(vt, { docId: e, moduleId: a, children: n }) });
4198
4225
  }
4199
- const eo = {
4200
- OraculoSeccionDestacados: Ja,
4201
- OraculoSeccionTopJuegos: Qa,
4202
- OraculoSeccionCasinoEnVivo: un,
4203
- OraculoSeccionCasino: fn,
4204
- OraculoSeccionVirtuales: vn,
4205
- OraculoSeccionClubOlimpo: xn,
4206
- OraculoSeccionBonoBienvenida: yn,
4207
- OraculoSeccionBanners: Xn,
4208
- OraculoSeccionMediosPago: Qn,
4209
- OraculoSeccionEventoEnVivo: Ln,
4210
- OraculoSeccionEventoSemana: Hn,
4226
+ const to = {
4227
+ OraculoSeccionDestacados: Xa,
4228
+ OraculoSeccionTopJuegos: en,
4229
+ OraculoSeccionCasinoEnVivo: mn,
4230
+ OraculoSeccionCasino: gn,
4231
+ OraculoSeccionVirtuales: _n,
4232
+ OraculoSeccionClubOlimpo: Sn,
4233
+ OraculoSeccionBonoBienvenida: xn,
4234
+ OraculoSeccionBanners: Yn,
4235
+ OraculoSeccionMediosPago: eo,
4236
+ OraculoSeccionEventoEnVivo: Fn,
4237
+ OraculoSeccionEventoSemana: Kn,
4211
4238
  OraculoSeccionEventoCombinadas: Tn
4212
- }, Pe = {
4239
+ }, Ee = {
4213
4240
  sections: [
4214
4241
  {
4215
4242
  title: "Banners",
@@ -5577,20 +5604,20 @@ const eo = {
5577
5604
  componentKey: "OraculoSeccionMediosPago"
5578
5605
  }
5579
5606
  ]
5580
- }, to = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
5581
- function Oe(e) {
5607
+ }, ao = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, no = (e) => /^OraculoSeccion[A-Z]/.test(e);
5608
+ function Se(e) {
5582
5609
  return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
5583
5610
  var r, i;
5584
5611
  return ((r = a.order) != null ? r : 0) - ((i = n.order) != null ? i : 0);
5585
5612
  }).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
5586
- var r, i, s, l, d;
5613
+ var r, i, l, s, d;
5587
5614
  return {
5588
5615
  id: (r = a.id) != null ? r : n + 1,
5589
5616
  title: (i = a.title) != null ? i : "",
5590
5617
  componentKey: a.componentKey,
5591
- visible: (s = a.visible) != null ? s : !0,
5618
+ visible: (l = a.visible) != null ? l : !0,
5592
5619
  order: n + 1,
5593
- props: (l = a.props) != null ? l : {},
5620
+ props: (s = a.props) != null ? s : {},
5594
5621
  apiUrl: (d = a.apiUrl) != null ? d : "",
5595
5622
  dataMode: a.dataMode,
5596
5623
  variableName: a.variableName,
@@ -5603,23 +5630,23 @@ function Oe(e) {
5603
5630
  };
5604
5631
  }) : [];
5605
5632
  }
5606
- const no = Object.fromEntries(
5607
- Object.entries(eo).filter(
5608
- ([e, a]) => ao(e) && to(a)
5633
+ const oo = Object.fromEntries(
5634
+ Object.entries(to).filter(
5635
+ ([e, a]) => no(e) && ao(a)
5609
5636
  )
5610
- ), oo = (e) => {
5637
+ ), ro = (e) => {
5611
5638
  try {
5612
5639
  return Object.fromEntries(e != null ? e : []);
5613
5640
  } catch {
5614
5641
  return console.warn("[oraculo] extras inválidos. Debe ser Array<[string, unknown]>", e), {};
5615
5642
  }
5616
5643
  };
5617
- class ot extends Error {
5644
+ class rt extends Error {
5618
5645
  constructor(a, n, r) {
5619
5646
  super(`HTTP ${a} ${r}`), this.status = a, this.url = n, this.statusText = r, this.name = "HttpError";
5620
5647
  }
5621
5648
  }
5622
- class ro extends fe.Component {
5649
+ class io extends fe.Component {
5623
5650
  constructor(a) {
5624
5651
  super(a), this.state = { hasError: !1 };
5625
5652
  }
@@ -5639,23 +5666,29 @@ class ro extends fe.Component {
5639
5666
  return this.state.hasError ? null : this.props.children;
5640
5667
  }
5641
5668
  }
5642
- const rt = [
5669
+ const it = [
5643
5670
  "OraculoSeccionEventoEnVivo",
5644
5671
  "OraculoSeccionEventoSemana",
5645
5672
  "OraculoSeccionEventoCombinadas"
5646
- ], Io = ({
5673
+ ], lo = [
5674
+ "OraculoSeccionCasino",
5675
+ "OraculoSeccionVirtuales",
5676
+ "OraculoSeccionCasinoEnVivo"
5677
+ ], Eo = ({
5647
5678
  sectionsOverride: e,
5648
5679
  docId: a = "Landing: home",
5649
5680
  moduleId: n = 301,
5650
5681
  db: r,
5651
5682
  extras: i,
5652
- loader: s,
5653
- disableWrapper: l = !1
5683
+ loader: l,
5684
+ disableWrapper: s = !1
5654
5685
  }) => {
5655
- const d = ie(() => oo(i), [i]), h = s || d.loader, [f, m] = Z([]), [u, c] = Z(!1), [g, b] = Z({}), [x, T] = Z({}), [y, O] = Z({}), w = De("(min-width:1024px)"), R = ie(
5656
- () => Oe(Pe),
5686
+ const d = ie(() => ro(i), [i]), h = l || d.loader, [f, m] = Z(
5687
+ () => e ? [] : Se(Ee)
5688
+ ), [u, c] = Z(!1), [g, v] = Z({}), [x, k] = Z({}), [T, E] = Z({}), b = De("(min-width:1024px)"), B = ie(
5689
+ () => Se(Ee),
5657
5690
  []
5658
- ), k = (o) => R.find(
5691
+ ), w = (o) => B.find(
5659
5692
  (p) => p.id === o.id || p.componentKey === o.componentKey
5660
5693
  ), S = (o) => Array.isArray(o) ? o.map((p) => Number(p)).filter((p) => !Number.isNaN(p)) : [], F = ie(() => {
5661
5694
  const o = d.user;
@@ -5664,15 +5697,15 @@ const rt = [
5664
5697
  const p = o.manualScalarFields;
5665
5698
  if (!Array.isArray(p)) return [];
5666
5699
  const C = p.find(
5667
- (A) => String((A == null ? void 0 : A.name) || "").trim().toLowerCase() === "groups"
5700
+ (R) => String((R == null ? void 0 : R.name) || "").trim().toLowerCase() === "groups"
5668
5701
  );
5669
5702
  if (!C) return [];
5670
5703
  const N = C.value;
5671
5704
  if (N == null) return [];
5672
5705
  if (Array.isArray(N))
5673
- return N.map((A) => Number(String(A).trim())).filter((A) => !Number.isNaN(A));
5706
+ return N.map((R) => Number(String(R).trim())).filter((R) => !Number.isNaN(R));
5674
5707
  const $ = String(N).trim();
5675
- return $ ? $.split(",").map((A) => Number(A.trim())).filter((A) => !Number.isNaN(A)) : [];
5708
+ return $ ? $.split(",").map((R) => Number(R.trim())).filter((R) => !Number.isNaN(R)) : [];
5676
5709
  }, I = (o, p) => {
5677
5710
  const C = L(o);
5678
5711
  if (C.length === 0) return !0;
@@ -5683,22 +5716,22 @@ const rt = [
5683
5716
  Q(() => {
5684
5717
  if (e) return;
5685
5718
  if (!r) {
5686
- console.warn("[landing] sin db -> fallback json"), m(Oe(Pe));
5719
+ console.warn("[landing] sin db -> fallback json"), m(Se(Ee));
5687
5720
  return;
5688
5721
  }
5689
5722
  const o = (C, N) => {
5690
- console.warn("[landing] FALLBACK:", C, N != null ? N : ""), m(Oe(Pe)), c(!1);
5723
+ console.warn("[landing] FALLBACK:", C, N != null ? N : ""), m(Se(Ee)), c(!1);
5691
5724
  };
5692
5725
  c(!0);
5693
- const p = zt(
5694
- Pt(r, "landings", a),
5726
+ const p = Dt(
5727
+ Ut(r, "landings", a),
5695
5728
  (C) => {
5696
5729
  try {
5697
5730
  if (!C.exists()) {
5698
5731
  o(`doc landings/${a} no existe`);
5699
5732
  return;
5700
5733
  }
5701
- const N = C.data(), $ = Oe(N);
5734
+ const N = C.data(), $ = Se(N);
5702
5735
  if (!$.length) {
5703
5736
  o("JSON inválido o sin secciones normalizables", N);
5704
5737
  return;
@@ -5715,11 +5748,11 @@ const rt = [
5715
5748
  }
5716
5749
  );
5717
5750
  return () => p();
5718
- }, [e, a, r]), Q(() => (Xa(d), () => Ya()), [d]), Q(() => {
5751
+ }, [e, a, r]), Q(() => (Ya(d), () => Qa()), [d]), Q(() => {
5719
5752
  (e ? e.slice() : f.slice()).map((C) => C.componentKey).filter((C) => !!C).length;
5720
5753
  }, [e, f]);
5721
- const v = async (o) => {
5722
- if (rt.includes(o.componentKey))
5754
+ const _ = async (o) => {
5755
+ if (it.includes(o.componentKey))
5723
5756
  return {
5724
5757
  items: [],
5725
5758
  events: [],
@@ -5728,7 +5761,7 @@ const rt = [
5728
5761
  const p = (o.apiUrl || "").trim();
5729
5762
  if (!p) return;
5730
5763
  const C = o.apiMethod || "GET", N = o.apiParams || [];
5731
- let $ = p, A, D;
5764
+ let $ = p, R, D;
5732
5765
  if (C === "GET") {
5733
5766
  const ne = new URL(
5734
5767
  p,
@@ -5741,59 +5774,59 @@ const rt = [
5741
5774
  const ne = new URLSearchParams();
5742
5775
  for (const ae of N)
5743
5776
  ae.key && ne.append(ae.key, ae.value);
5744
- A = ne.toString(), D = {
5777
+ R = ne.toString(), D = {
5745
5778
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5746
5779
  };
5747
5780
  }
5748
5781
  const Y = await fetch($, {
5749
5782
  method: C,
5750
5783
  headers: D,
5751
- body: A
5784
+ body: R
5752
5785
  });
5753
- if (!Y.ok) throw new ot(Y.status, $, Y.statusText);
5786
+ if (!Y.ok) throw new rt(Y.status, $, Y.statusText);
5754
5787
  return Y.json();
5755
- }, E = ie(
5788
+ }, O = ie(
5756
5789
  () => e ? e.slice() : f.slice(),
5757
5790
  [e, f]
5758
5791
  ), q = fe.useRef(/* @__PURE__ */ new Set());
5759
5792
  Q(() => {
5760
- const o = E.map((p) => ({ s: p, url: (p.apiUrl || "").trim() })).filter(({ url: p }) => !!p);
5793
+ const o = O.map((p) => ({ s: p, url: (p.apiUrl || "").trim() })).filter(({ url: p }) => !!p);
5761
5794
  if (o.length)
5762
5795
  for (const { s: p, url: C } of o) {
5763
5796
  const N = `${p.id}|${C}`;
5764
- q.current.has(N) || (q.current.add(N), T(($) => ({ ...$, [p.id]: !0 })), O(($) => ({ ...$, [p.id]: "" })), (async () => {
5797
+ q.current.has(N) || (q.current.add(N), k(($) => ({ ...$, [p.id]: !0 })), E(($) => ({ ...$, [p.id]: "" })), (async () => {
5765
5798
  try {
5766
- const $ = await v(p);
5767
- b((A) => ({ ...A, [p.id]: $ }));
5799
+ const $ = await _(p);
5800
+ v((R) => ({ ...R, [p.id]: $ }));
5768
5801
  } catch ($) {
5769
- let A = "Error desconocido";
5770
- $ instanceof ot ? A = `Error HTTP ${$.status} (${$.statusText}) en ${$.url}` : $ instanceof SyntaxError ? A = "Respuesta no es JSON válido" : $ instanceof TypeError ? A = "Fallo de red / CORS / conexión" : typeof $ == "string" && (A = $.toString()), O((D) => ({ ...D, [p.id]: A }));
5802
+ let R = "Error desconocido";
5803
+ $ instanceof rt ? R = `Error HTTP ${$.status} (${$.statusText}) en ${$.url}` : $ instanceof SyntaxError ? R = "Respuesta no es JSON válido" : $ instanceof TypeError ? R = "Fallo de red / CORS / conexión" : typeof $ == "string" && (R = $.toString()), E((D) => ({ ...D, [p.id]: R }));
5771
5804
  } finally {
5772
- T(($) => ({ ...$, [p.id]: !1 }));
5805
+ k(($) => ({ ...$, [p.id]: !1 }));
5773
5806
  }
5774
5807
  })());
5775
5808
  }
5776
- }, [E]);
5809
+ }, [O]);
5777
5810
  const M = ie(
5778
- () => E.filter((o) => o.visible).filter((o) => I(o, F)).sort((o, p) => o.order - p.order),
5779
- [E, F]
5780
- ), B = (o) => Array.isArray(o) ? o.map((p) => {
5811
+ () => O.filter((o) => o.visible).filter((o) => I(o, F)).sort((o, p) => o.order - p.order),
5812
+ [O, F]
5813
+ ), A = (o) => Array.isArray(o) ? o.map((p) => {
5781
5814
  const C = {};
5782
5815
  for (const N of p.fields || []) {
5783
5816
  const $ = (N.type || "string").toLowerCase();
5784
5817
  if ($ === "number") {
5785
- const A = String(N.value || "").trim();
5786
- if (A !== "") {
5787
- const D = Number(A);
5818
+ const R = String(N.value || "").trim();
5819
+ if (R !== "") {
5820
+ const D = Number(R);
5788
5821
  Number.isNaN(D) || (C[N.name] = D);
5789
5822
  }
5790
5823
  } else if ($ === "boolean")
5791
5824
  C[N.name] = String(N.value).toLowerCase() === "true";
5792
5825
  else if ($ === "function") {
5793
- const A = String(N.value || "").trim();
5794
- if (A)
5826
+ const R = String(N.value || "").trim();
5827
+ if (R)
5795
5828
  try {
5796
- const D = new Function(A);
5829
+ const D = new Function(R);
5797
5830
  C[N.name] = D;
5798
5831
  } catch (D) {
5799
5832
  console.error(`❌ Error creando función en item '${N.name}':`, D);
@@ -5811,8 +5844,8 @@ const rt = [
5811
5844
  if (N === "number") {
5812
5845
  const $ = String(C.value || "").trim();
5813
5846
  if ($ !== "") {
5814
- const A = Number($);
5815
- Number.isNaN(A) || (p[C.name] = A);
5847
+ const R = Number($);
5848
+ Number.isNaN(R) || (p[C.name] = R);
5816
5849
  }
5817
5850
  } else if (N === "boolean")
5818
5851
  p[C.name] = String(C.value).toLowerCase() === "true";
@@ -5820,45 +5853,45 @@ const rt = [
5820
5853
  const $ = String(C.value || "").trim();
5821
5854
  if ($)
5822
5855
  try {
5823
- const A = new Function($);
5824
- p[C.name] = A;
5825
- } catch (A) {
5826
- console.error(`❌ Error creando función en item '${C.name}':`, A);
5856
+ const R = new Function($);
5857
+ p[C.name] = R;
5858
+ } catch (R) {
5859
+ console.error(`❌ Error creando función en item '${C.name}':`, R);
5827
5860
  }
5828
5861
  } else
5829
5862
  p[C.name] = C.value;
5830
5863
  }
5831
5864
  return p;
5832
5865
  }, V = (o, p, C, N) => {
5833
- const $ = C ? { ...C } : {}, A = (N || "items").trim() || "items";
5866
+ const $ = C ? { ...C } : {}, R = (N || "items").trim() || "items";
5834
5867
  if (p)
5835
- return $[A] = p.arr || [], $;
5868
+ return $[R] = p.arr || [], $;
5836
5869
  const D = o;
5837
5870
  if (Array.isArray(D))
5838
- return $[A] = D, $;
5871
+ return $[R] = D, $;
5839
5872
  if (D && typeof D == "object") {
5840
5873
  const Y = D;
5841
- return Array.isArray(Y.lobby) ? ($[A] = Y.lobby, $) : Array.isArray(Y.items) ? ($[A] = Y.items, $) : ($[A] = D, $);
5874
+ return Array.isArray(Y.lobby) ? ($[R] = Y.lobby, $) : Array.isArray(Y.items) ? ($[R] = Y.items, $) : ($[R] = D, $);
5842
5875
  }
5843
- return $[A] = [], $;
5876
+ return $[R] = [], $;
5844
5877
  }, W = (o) => {
5845
- var A;
5846
- const p = !!((A = o.apiUrl) != null && A.trim()), C = p ? g[o.id] : void 0;
5878
+ var R;
5879
+ const p = !!((R = o.apiUrl) != null && R.trim()), C = p ? g[o.id] : void 0;
5847
5880
  let N = o.props ? { ...o.props } : {};
5848
5881
  const $ = P(o.manualScalarFields);
5849
- if (rt.includes(o.componentKey))
5882
+ if (it.includes(o.componentKey))
5850
5883
  return { items: C, ...N, ...$ };
5851
5884
  if (N = { ...N, ...$ }, p)
5852
5885
  N = V(C, null, N);
5853
5886
  else if (o.dataMode === "manual") {
5854
- const D = B(o.manualItems);
5887
+ const D = A(o.manualItems);
5855
5888
  if (N = V(
5856
5889
  null,
5857
5890
  { arr: D, variableName: o.variableName },
5858
5891
  N,
5859
5892
  o.variableName
5860
5893
  ), o.variableName2 && o.manualItems2) {
5861
- const Y = B(o.manualItems2), ne = (o.variableName2 || "items2").trim() || "items2";
5894
+ const Y = A(o.manualItems2), ne = (o.variableName2 || "items2").trim() || "items2";
5862
5895
  N[ne] = Y;
5863
5896
  }
5864
5897
  }
@@ -5881,7 +5914,7 @@ const rt = [
5881
5914
  return W(o);
5882
5915
  } catch (p) {
5883
5916
  console.error("🔥 ERROR EN buildCompProps:", o, p);
5884
- const C = k(o);
5917
+ const C = w(o);
5885
5918
  if (C && C !== o)
5886
5919
  try {
5887
5920
  return console.warn(
@@ -5898,12 +5931,12 @@ const rt = [
5898
5931
  component: "bg-yellow-100 text-yellow-800"
5899
5932
  }[p]}`, children: C }, o), te = (o) => {
5900
5933
  var He;
5901
- const p = o.componentKey, C = no[p], $ = (/* @__PURE__ */ new Set([
5934
+ const p = o.componentKey, C = oo[p], $ = (/* @__PURE__ */ new Set([
5902
5935
  "OraculoSeccionBanners",
5903
5936
  "OraculoSeccionBonoBienvenida",
5904
5937
  "OraculoSeccionCasinoEnVivo",
5905
5938
  "OraculoSeccionClubOlimpo",
5906
- ...w ? [] : [
5939
+ ...b ? [] : [
5907
5940
  "OraculoSeccionEventoEnVivo",
5908
5941
  "OraculoSeccionEventoSemana",
5909
5942
  "OraculoSeccionEventoCombinadas",
@@ -5911,10 +5944,10 @@ const rt = [
5911
5944
  "OraculoSeccionDestacados",
5912
5945
  "OraculoSeccionCasino"
5913
5946
  ]
5914
- ])).has(o.componentKey), A = w ? 120 : 24, D = (w ? 8 : 5) * 8, Y = o.componentKey === "OraculoSeccionCasinoEnVivo", ne = {
5947
+ ])).has(o.componentKey), R = b ? 120 : 24, D = (b ? 8 : 5) * 8, Y = o.componentKey === "OraculoSeccionCasinoEnVivo", ne = {
5915
5948
  width: "100%",
5916
5949
  boxSizing: "border-box",
5917
- ...$ ? {} : { paddingLeft: A, paddingRight: A },
5950
+ ...$ ? {} : { paddingLeft: R, paddingRight: R },
5918
5951
  ...Y ? {
5919
5952
  marginTop: -D,
5920
5953
  marginBottom: -D
@@ -5926,25 +5959,26 @@ const rt = [
5926
5959
  "component",
5927
5960
  `Componente "${p}" no encontrado`
5928
5961
  );
5929
- const ae = !!((He = o.apiUrl) != null && He.trim()), We = ae ? g[o.id] : void 0, Ot = ae ? !!x[o.id] : !1, Ge = ae ? y[o.id] : "";
5962
+ const ae = !!((He = o.apiUrl) != null && He.trim()), We = ae ? g[o.id] : void 0, Et = ae ? !!x[o.id] : !1, Ge = ae ? T[o.id] : "";
5930
5963
  if (ae) {
5931
- if (Ot && !We)
5964
+ const kt = lo.includes(o.componentKey);
5965
+ if (Et && !We && !kt)
5932
5966
  return X(
5933
5967
  o.id,
5934
5968
  "loading",
5935
5969
  `Cargando datos desde ${o.apiUrl}...`
5936
5970
  );
5937
5971
  if (Ge && !We) {
5938
- const Se = k(o);
5939
- if (Se && Se.dataMode === "manual")
5972
+ const we = w(o);
5973
+ if (we && we.dataMode === "manual")
5940
5974
  try {
5941
- const Le = G(Se);
5942
- return /* @__PURE__ */ t("div", { style: ne, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(C, { ...Le }) }, o.id);
5943
- } catch (Le) {
5975
+ const Fe = G(we);
5976
+ return /* @__PURE__ */ t("div", { style: ne, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(C, { ...Fe }) }, o.id);
5977
+ } catch (Fe) {
5944
5978
  console.error(
5945
5979
  "🔥 ERROR renderizando fallback manual de sección:",
5946
- Se,
5947
- Le
5980
+ we,
5981
+ Fe
5948
5982
  );
5949
5983
  }
5950
5984
  return X(
@@ -5954,22 +5988,22 @@ const rt = [
5954
5988
  );
5955
5989
  }
5956
5990
  }
5957
- const je = G(o), Et = o.componentKey === "OraculoSeccionClubOlimpo" || o.componentKey === "OraculoSeccionBanners" ? {
5991
+ const je = G(o), Ct = o.componentKey === "OraculoSeccionClubOlimpo" || o.componentKey === "OraculoSeccionBanners" ? {
5958
5992
  ...je,
5959
5993
  user: d.user
5960
5994
  } : je;
5961
- return /* @__PURE__ */ t(ro, { section: o, children: /* @__PURE__ */ t(
5995
+ return /* @__PURE__ */ t(io, { section: o, children: /* @__PURE__ */ t(
5962
5996
  "div",
5963
5997
  {
5964
5998
  style: ne,
5965
5999
  className: "oraculo-section-wrapper",
5966
- children: /* @__PURE__ */ t(C, { ...Et })
6000
+ children: /* @__PURE__ */ t(C, { ...Ct })
5967
6001
  },
5968
6002
  o.id
5969
6003
  ) });
5970
6004
  };
5971
- return u && !e ? h ? /* @__PURE__ */ t(h, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !u && !e && f.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
5972
- Ct,
6005
+ return u && !e && f.length === 0 ? h ? /* @__PURE__ */ t(h, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !u && !e && f.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(Ot, { children: /* @__PURE__ */ t(vt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
6006
+ Tt,
5973
6007
  {
5974
6008
  className: "oli-font",
5975
6009
  maxWidth: !1,
@@ -5982,7 +6016,7 @@ const rt = [
5982
6016
  maxWidth: "100%",
5983
6017
  overflowX: "hidden"
5984
6018
  },
5985
- children: /* @__PURE__ */ t(Ee, { direction: "column", spacing: w ? 8 : 5, useFlexGap: !0, children: M.map((o) => {
6019
+ children: /* @__PURE__ */ t(Ce, { direction: "column", spacing: b ? 8 : 5, useFlexGap: !0, children: M.map((o) => {
5986
6020
  try {
5987
6021
  return te(o);
5988
6022
  } catch (p) {
@@ -5993,45 +6027,45 @@ const rt = [
5993
6027
  ) }) });
5994
6028
  };
5995
6029
  export {
5996
- bt as DocIdProvider,
6030
+ vt as DocIdProvider,
5997
6031
  J as OraculoButton,
5998
6032
  he as OraculoCarousel,
5999
- dt as OraculoCarouselDots,
6000
- wa as OraculoClubOlimpoVisual,
6001
- La as OraculoEventCombinadasCard,
6002
- Da as OraculoEventEnVivoCard,
6003
- Ht as OraculoEventHeader,
6004
- ut as OraculoEventLabel,
6005
- mt as OraculoEventLeague,
6006
- pt as OraculoEventScore,
6007
- Za as OraculoEventSemanaCard,
6008
- jt as OraculoEventStatus,
6009
- Gt as OraculoEventStatusBadge,
6010
- $e as OraculoEventTeamInfo,
6033
+ ut as OraculoCarouselDots,
6034
+ Ia as OraculoClubOlimpoVisual,
6035
+ Fa as OraculoEventCombinadasCard,
6036
+ Ua as OraculoEventEnVivoCard,
6037
+ Zt as OraculoEventHeader,
6038
+ mt as OraculoEventLabel,
6039
+ pt as OraculoEventLeague,
6040
+ ft as OraculoEventScore,
6041
+ Ja as OraculoEventSemanaCard,
6042
+ Kt as OraculoEventStatus,
6043
+ Ht as OraculoEventStatusBadge,
6044
+ Me as OraculoEventTeamInfo,
6011
6045
  Te as OraculoGameCard,
6012
- xa as OraculoGameRankCard,
6013
- ft as OraculoGameSlide,
6046
+ wa as OraculoGameRankCard,
6047
+ gt as OraculoGameSlide,
6014
6048
  me as OraculoGridGroup,
6015
- Sa as OraculoLiveCasinoCard,
6049
+ Je as OraculoLiveCasinoCard,
6016
6050
  Ze as OraculoLogoMediosPago,
6017
- Io as OraculoPageLandingPreview,
6018
- Xn as OraculoSeccionBanners,
6019
- yn as OraculoSeccionBonoBienvenida,
6020
- fn as OraculoSeccionCasino,
6021
- un as OraculoSeccionCasinoEnVivo,
6022
- xn as OraculoSeccionClubOlimpo,
6023
- Ja as OraculoSeccionDestacados,
6051
+ Eo as OraculoPageLandingPreview,
6052
+ Yn as OraculoSeccionBanners,
6053
+ xn as OraculoSeccionBonoBienvenida,
6054
+ gn as OraculoSeccionCasino,
6055
+ mn as OraculoSeccionCasinoEnVivo,
6056
+ Sn as OraculoSeccionClubOlimpo,
6057
+ Xa as OraculoSeccionDestacados,
6024
6058
  Tn as OraculoSeccionEventoCombinadas,
6025
- Ln as OraculoSeccionEventoEnVivo,
6026
- Hn as OraculoSeccionEventoSemana,
6027
- Qn as OraculoSeccionMediosPago,
6028
- Qa as OraculoSeccionTopJuegos,
6029
- vn as OraculoSeccionVirtuales,
6030
- wo as OraculoSectionHost,
6059
+ Fn as OraculoSeccionEventoEnVivo,
6060
+ Kn as OraculoSeccionEventoSemana,
6061
+ eo as OraculoSeccionMediosPago,
6062
+ en as OraculoSeccionTopJuegos,
6063
+ _n as OraculoSeccionVirtuales,
6064
+ Oo as OraculoSectionHost,
6031
6065
  ge as OraculoSectionTitle,
6032
- It as OraculoThemeProvider,
6033
- Qa as OraculoTopJuegoItem,
6034
- Je as OraculoWelcomeBanner,
6035
- Io as default
6066
+ Ot as OraculoThemeProvider,
6067
+ en as OraculoTopJuegoItem,
6068
+ Xe as OraculoWelcomeBanner,
6069
+ Eo as default
6036
6070
  };
6037
6071
  //# sourceMappingURL=index.es.js.map