oraculo-ui 0.2.24 → 0.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,13 +1,13 @@
1
- import { jsx as t, jsxs as v, Fragment as me } from "react/jsx-runtime";
2
- import { Link as rt, Box as Q, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Oe, Container as Et } from "@mui/material";
3
- import fe, { useState as K, useEffect as ee, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ee, createContext as $t, useContext as Nt, useMemo as ie, useLayoutEffect as Mt } from "react";
1
+ import { jsx as t, jsxs as b, Fragment as pe } from "react/jsx-runtime";
2
+ import { Link as rt, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Oe, Container as Et } from "@mui/material";
3
+ import fe, { useState as Z, useEffect as Q, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ee, createContext as $t, useContext as Nt, useMemo as ie, useLayoutEffect as Mt } from "react";
4
4
  import j from "@mui/material/Skeleton";
5
- import { Splide as At, SplideSlide as Bt } from "@splidejs/react-splide";
6
- import F from "@mui/material/Box";
7
- import de from "@mui/material/Typography";
5
+ import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
6
+ import q from "@mui/material/Box";
7
+ import ue from "@mui/material/Typography";
8
8
  import H from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as ae } from "@olimpo/capture-client";
10
- import { ChevronLeftRounded as Be, ChevronRightRounded as ze } from "@mui/icons-material";
10
+ import { ChevronLeftRounded as Ae, ChevronRightRounded as ze } from "@mui/icons-material";
11
11
  import xe from "@mui/material/useMediaQuery";
12
12
  import lt from "@mui/icons-material/ChevronLeftRounded";
13
13
  import ct from "@mui/icons-material/ChevronRightRounded";
@@ -22,29 +22,29 @@ function X({
22
22
  rel: i,
23
23
  type: r = "button",
24
24
  disabled: s = !1,
25
- variant: l = "primary",
25
+ variant: c = "primary",
26
26
  size: f,
27
27
  fullWidth: h = !1,
28
28
  fullHeight: u = !1,
29
- className: p = "",
29
+ className: m = "",
30
30
  ariaLabel: d,
31
- leftIcon: c,
32
- rightIcon: g,
33
- iconOnly: x
31
+ leftIcon: g,
32
+ rightIcon: p,
33
+ iconOnly: v
34
34
  }) {
35
- const I = !!e && e !== !0, C = (!!c ? 1 : 0) + (!!g ? 1 : 0) == 1, q = x != null ? x : C && !I, T = [
35
+ const C = !!e && e !== !0, O = (!!g ? 1 : 0) + (!!p ? 1 : 0) == 1, D = v != null ? v : O && !C, y = [
36
36
  "orc-btn",
37
- l === "secondary" ? "orc-btn--secondary" : l === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
37
+ c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
38
  f ? `orc-btn--${f}` : "",
39
39
  h ? "orc-btn--full" : "",
40
40
  u ? "orc-btn--fullHeight" : "",
41
- q ? "orc-btn--iconOnly" : "",
42
- p
43
- ].filter(Boolean).join(" "), k = /* @__PURE__ */ v(me, { children: [
44
- c && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: c }),
45
- !q && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
- g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g })
47
- ] }), O = s ? !0 : void 0;
41
+ D ? "orc-btn--iconOnly" : "",
42
+ m
43
+ ].filter(Boolean).join(" "), $ = /* @__PURE__ */ b(pe, { children: [
44
+ g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
45
+ !D && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
+ p && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: p })
47
+ ] }), E = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
49
  rt,
50
50
  {
@@ -52,21 +52,21 @@ function X({
52
52
  target: o,
53
53
  rel: i,
54
54
  "aria-label": d,
55
- "aria-disabled": O,
56
- tabIndex: O ? -1 : void 0,
57
- className: T,
58
- onClick: O ? (M) => M.preventDefault() : a,
59
- children: k
55
+ "aria-disabled": E,
56
+ tabIndex: E ? -1 : void 0,
57
+ className: y,
58
+ onClick: E ? (A) => A.preventDefault() : a,
59
+ children: $
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
63
63
  {
64
64
  type: r,
65
65
  onClick: a,
66
- disabled: !!O,
66
+ disabled: !!E,
67
67
  "aria-label": d,
68
- className: T,
69
- children: k
68
+ className: y,
69
+ children: $
70
70
  }
71
71
  );
72
72
  }
@@ -81,7 +81,7 @@ function ge({
81
81
  n ? `orc-section-title--${n}` : "",
82
82
  o
83
83
  ].filter(Boolean).join(" ");
84
- return /* @__PURE__ */ v("div", { className: r, children: [
84
+ return /* @__PURE__ */ b("div", { className: r, children: [
85
85
  a && /* @__PURE__ */ t(
86
86
  "img",
87
87
  {
@@ -101,9 +101,9 @@ const dt = ({
101
101
  durationMs: i = 5e3
102
102
  }) => {
103
103
  if (e <= 1) return null;
104
- const r = ["orc-dots", o].filter(Boolean).join(" "), [s, l] = K(0);
105
- return ee(() => {
106
- l((f) => f + 1);
104
+ const r = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = Z(0);
105
+ return Q(() => {
106
+ c((f) => f + 1);
107
107
  }, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((f, h) => {
108
108
  const u = h === a;
109
109
  return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
@@ -118,14 +118,14 @@ const dt = ({
118
118
  "--dot-progress-ms": `${i}ms`
119
119
  } : void 0,
120
120
  onClick: () => {
121
- u && l((p) => p + 1), n == null || n(h);
121
+ u && c((m) => m + 1), n == null || n(h);
122
122
  }
123
123
  },
124
124
  u ? `a-${h}-${s}` : `i-${h}`
125
125
  ) }, h);
126
126
  }) });
127
127
  };
128
- function ue({
128
+ function me({
129
129
  children: e,
130
130
  minWidth: a = 32,
131
131
  spacing: n = 2,
@@ -149,7 +149,7 @@ function ue({
149
149
  }
150
150
  function Ze({ src: e, alt: a }) {
151
151
  return /* @__PURE__ */ t(
152
- Q,
152
+ ee,
153
153
  {
154
154
  sx: {
155
155
  position: "relative",
@@ -160,7 +160,7 @@ function Ze({ src: e, alt: a }) {
160
160
  display: "inline-block"
161
161
  },
162
162
  children: /* @__PURE__ */ t(
163
- Q,
163
+ ee,
164
164
  {
165
165
  component: "img",
166
166
  src: e,
@@ -184,7 +184,7 @@ const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oracul
184
184
  subtitle: Vt
185
185
  };
186
186
  function Wt({ title: e, subtitle: a }) {
187
- return /* @__PURE__ */ v(
187
+ return /* @__PURE__ */ b(
188
188
  "div",
189
189
  {
190
190
  className: Le.contenedor,
@@ -200,12 +200,12 @@ function Wt({ title: e, subtitle: a }) {
200
200
  children: e
201
201
  }
202
202
  ),
203
- a && /* @__PURE__ */ v(
203
+ a && /* @__PURE__ */ b(
204
204
  "div",
205
205
  {
206
206
  className: Le.flexGroup,
207
207
  children: [
208
- /* @__PURE__ */ v("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
208
+ /* @__PURE__ */ b("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
  " "
@@ -241,13 +241,13 @@ function Gt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
241
241
  );
242
242
  }
243
243
  function jt({ live: e, time: a }) {
244
- return /* @__PURE__ */ v("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
244
+ return /* @__PURE__ */ b("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
245
245
  e && /* @__PURE__ */ t(Gt, { text: "En vivo" }),
246
246
  a && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: a })
247
247
  ] });
248
248
  }
249
249
  function Ht({ title: e, subtitle: a, live: n = !1, time: o = "" }) {
250
- return /* @__PURE__ */ v(
250
+ return /* @__PURE__ */ b(
251
251
  "div",
252
252
  {
253
253
  style: {
@@ -283,7 +283,7 @@ const Yt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Qt = "orac
283
283
  small: aa
284
284
  };
285
285
  function pt({ text: e, name: a, size: n = "normal" }) {
286
- return /* @__PURE__ */ v(
286
+ return /* @__PURE__ */ b(
287
287
  "div",
288
288
  {
289
289
  className: `${ve.scoreWrapper} ${ve[n]}`,
@@ -309,8 +309,8 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
309
309
  };
310
310
  function pa({ jersey: e, className: a }) {
311
311
  const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, r = e.sleevelong ? `#${e.sleevelong}` : null;
312
- return /* @__PURE__ */ v("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ v("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
312
+ return /* @__PURE__ */ b("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ b("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
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__ */ v(me, { children: [
321
+ i && /* @__PURE__ */ b(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
- r && /* @__PURE__ */ t(me, { children: /* @__PURE__ */ t("path", { fill: r, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }) }),
325
+ r && /* @__PURE__ */ t(pe, { children: /* @__PURE__ */ t("path", { fill: r, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }) }),
326
326
  /* @__PURE__ */ t(
327
327
  "path",
328
328
  {
@@ -367,7 +367,7 @@ function pa({ jersey: e, className: a }) {
367
367
  ] });
368
368
  }
369
369
  function Ne({ name: e, jersey: a, size: n = "regular" }) {
370
- return /* @__PURE__ */ v("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
370
+ return /* @__PURE__ */ b("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
371
371
  a != null && a.base ? /* @__PURE__ */ t(
372
372
  pa,
373
373
  {
@@ -384,23 +384,23 @@ function fa(e, a, {
384
384
  cooldownMs: i = 500
385
385
  } = {}) {
386
386
  const r = V(0), s = V(0);
387
- ee(() => {
387
+ Q(() => {
388
388
  if (!n) return;
389
- const l = e.current;
390
- if (!l) return;
389
+ const c = e.current;
390
+ if (!c) return;
391
391
  const f = (h) => {
392
392
  const u = a.current;
393
393
  if (!u || !u.go) return;
394
- const { deltaX: p, deltaY: d } = h;
395
- if (Math.abs(p) <= Math.abs(d)) return;
396
- h.preventDefault(), r.current += p;
397
- const c = Date.now();
398
- if (c - s.current < i || Math.abs(r.current) < o) return;
399
- const g = r.current > 0 ? ">" : "<";
400
- r.current = 0, s.current = c, u.go(g);
394
+ const { deltaX: m, deltaY: d } = h;
395
+ if (Math.abs(m) <= Math.abs(d)) return;
396
+ h.preventDefault(), r.current += m;
397
+ const g = Date.now();
398
+ if (g - s.current < i || Math.abs(r.current) < o) return;
399
+ const p = r.current > 0 ? ">" : "<";
400
+ r.current = 0, s.current = g, u.go(p);
401
401
  };
402
- return l.addEventListener("wheel", f, { passive: !1 }), () => {
403
- l.removeEventListener("wheel", f), r.current = 0;
402
+ return c.addEventListener("wheel", f, { passive: !1 }), () => {
403
+ c.removeEventListener("wheel", f), r.current = 0;
404
404
  };
405
405
  }, [n, o, i, e, a]);
406
406
  }
@@ -409,7 +409,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
409
409
  right: ha,
410
410
  left: ba,
411
411
  svg: va
412
- }, _a = At, ya = Bt, he = Tt(
412
+ }, _a = Bt, ya = At, he = Tt(
413
413
  ({
414
414
  items: e = [],
415
415
  renderItem: a,
@@ -418,86 +418,86 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
418
418
  breakpoints: i,
419
419
  options: r = {},
420
420
  className: s = "",
421
- onMove: l,
421
+ onMove: c,
422
422
  useIndexAsKey: f = !1,
423
423
  enableHorizontalWheel: h = !0,
424
424
  showRightGradient: u = !1
425
- }, p) => {
426
- const d = V(null), c = V(null), g = V(e.length), x = V(null), I = V(null);
427
- fa(c, d, {
425
+ }, m) => {
426
+ const d = V(null), g = V(null), p = V(e.length), v = V(null), C = V(null);
427
+ fa(g, d, {
428
428
  enabled: h
429
- }), kt(p, () => ({
429
+ }), kt(m, () => ({
430
430
  next: () => {
431
- var O;
432
- return (O = d.current) == null ? void 0 : O.go(">");
431
+ var E;
432
+ return (E = d.current) == null ? void 0 : E.go(">");
433
433
  },
434
434
  prev: () => {
435
- var O;
436
- return (O = d.current) == null ? void 0 : O.go("<");
435
+ var E;
436
+ return (E = d.current) == null ? void 0 : E.go("<");
437
437
  },
438
- go: (O) => {
439
- var M;
440
- return (M = d.current) == null ? void 0 : M.go(O);
438
+ go: (E) => {
439
+ var A;
440
+ return (A = d.current) == null ? void 0 : A.go(E);
441
441
  }
442
442
  }));
443
- const _ = (O) => {
443
+ const _ = (E) => {
444
444
  var W;
445
- const M = O.Components.Slides, $ = O.Components.Controller, y = O.root.querySelector(".splide__track"), E = (W = y == null ? void 0 : y.clientWidth) != null ? W : 0, L = $.getIndex(), z = M.getLength();
445
+ const A = E.Components.Slides, N = E.Components.Controller, x = E.root.querySelector(".splide__track"), T = (W = x == null ? void 0 : x.clientWidth) != null ? W : 0, L = N.getIndex(), z = A.getLength();
446
446
  let R = 0, U = L;
447
- for (let w = L; w < z; w++) {
448
- const D = M.getAt(w);
449
- if (!D || (R += D.slide.offsetWidth, R > E)) break;
450
- U = w;
447
+ for (let G = L; G < z; G++) {
448
+ const w = A.getAt(G);
449
+ if (!w || (R += w.slide.offsetWidth, R > T)) break;
450
+ U = G;
451
451
  }
452
452
  return { visibleStart: L, visibleEnd: U };
453
- }, b = (O) => {
454
- const M = O.root.querySelector(".splide__track"), $ = O.root.querySelector(".splide__list");
455
- return !M || !$ ? !1 : $.scrollWidth > M.clientWidth + 1;
456
- }, C = Ee((O) => {
453
+ }, I = (E) => {
454
+ const A = E.root.querySelector(".splide__track"), N = E.root.querySelector(".splide__list");
455
+ return !A || !N ? !1 : N.scrollWidth > A.clientWidth + 1;
456
+ }, O = Ee((E) => {
457
457
  var U, W;
458
- const $ = O.Components.Slides.getLength();
459
- if (!b(O)) {
460
- l == null || l({
458
+ const N = E.Components.Slides.getLength();
459
+ if (!I(E)) {
460
+ c == null || c({
461
461
  index: 0,
462
462
  isStart: !0,
463
463
  isEnd: !0,
464
- total: $,
464
+ total: N,
465
465
  visibleStart: 0,
466
- visibleEnd: $ - 1
466
+ visibleEnd: N - 1
467
467
  });
468
468
  return;
469
469
  }
470
- const { visibleStart: y, visibleEnd: E } = _(O), L = y === 0, z = E === $ - 1;
471
- u && ((U = x.current) == null || U.style.setProperty("--gradient-opacity", L ? "0" : "1"), (W = I.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
- const R = O.Components.Controller.getIndex();
473
- l == null || l({
470
+ const { visibleStart: x, visibleEnd: T } = _(E), L = x === 0, z = T === N - 1;
471
+ u && ((U = v.current) == null || U.style.setProperty("--gradient-opacity", L ? "0" : "1"), (W = C.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
472
+ const R = E.Components.Controller.getIndex();
473
+ c == null || c({
474
474
  index: R,
475
475
  isStart: L,
476
476
  isEnd: z,
477
- total: $,
478
- visibleStart: y,
479
- visibleEnd: E
477
+ total: N,
478
+ visibleStart: x,
479
+ visibleEnd: T
480
480
  });
481
- }, [l]);
481
+ }, [c]);
482
482
  fe.useEffect(() => {
483
- var $;
484
- const O = ($ = d.current) == null ? void 0 : $.splide;
485
- if (!O) return;
486
- const M = g.current !== e.length;
487
- g.current = e.length, M && requestAnimationFrame(() => {
488
- O.refresh(), C(O);
483
+ var N;
484
+ const E = (N = d.current) == null ? void 0 : N.splide;
485
+ if (!E) return;
486
+ const A = p.current !== e.length;
487
+ p.current = e.length, A && requestAnimationFrame(() => {
488
+ E.refresh(), O(E);
489
489
  });
490
- }, [e.length, C]);
491
- const q = Ee(() => {
492
- var M;
493
- const O = (M = d.current) == null ? void 0 : M.splide;
494
- O && (O.go(0, !1), C(O));
495
- }, [C]), T = Ee(
496
- (O) => {
497
- C(O);
490
+ }, [e.length, O]);
491
+ const D = Ee(() => {
492
+ var A;
493
+ const E = (A = d.current) == null ? void 0 : A.splide;
494
+ E && (E.go(0, !1), O(E));
495
+ }, [O]), y = Ee(
496
+ (E) => {
497
+ O(E);
498
498
  },
499
- [C]
500
- ), k = {
499
+ [O]
500
+ ), $ = {
501
501
  type: "slide",
502
502
  trimSpace: !1,
503
503
  drag: !0,
@@ -512,10 +512,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
512
512
  ...r,
513
513
  ...h ? { wheel: !1 } : {}
514
514
  };
515
- return /* @__PURE__ */ v(
515
+ return /* @__PURE__ */ b(
516
516
  "div",
517
517
  {
518
- ref: c,
518
+ ref: g,
519
519
  className: s,
520
520
  style: { width: "100%", position: "relative", height: "100%" },
521
521
  children: [
@@ -523,24 +523,24 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
523
523
  _a,
524
524
  {
525
525
  ref: d,
526
- options: k,
527
- onMove: C,
528
- onMounted: T,
529
- onResize: q,
530
- children: e.map((O, M) => {
531
- var $;
532
- return /* @__PURE__ */ t(ya, { children: a(O, M) }, f ? M : ($ = O.id) != null ? $ : M);
526
+ options: $,
527
+ onMove: O,
528
+ onMounted: y,
529
+ onResize: D,
530
+ children: e.map((E, A) => {
531
+ var N;
532
+ return /* @__PURE__ */ t(ya, { children: a(E, A) }, f ? A : (N = E.id) != null ? N : A);
533
533
  })
534
534
  }
535
535
  ),
536
- u && /* @__PURE__ */ v(me, { children: [
536
+ u && /* @__PURE__ */ b(pe, { children: [
537
537
  /* @__PURE__ */ t(
538
538
  "div",
539
539
  {
540
- ref: x,
540
+ ref: v,
541
541
  className: `${ye.gradientOverlay} ${ye.left}`,
542
542
  style: { "--gradient-opacity": "0" },
543
- children: /* @__PURE__ */ v(
543
+ children: /* @__PURE__ */ b(
544
544
  "svg",
545
545
  {
546
546
  className: ye.svg,
@@ -550,7 +550,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
550
550
  xmlns: "http://www.w3.org/2000/svg",
551
551
  children: [
552
552
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
553
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ v("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
553
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
554
554
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
555
555
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
556
556
  ] }) })
@@ -562,10 +562,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
562
562
  /* @__PURE__ */ t(
563
563
  "div",
564
564
  {
565
- ref: I,
565
+ ref: C,
566
566
  className: `${ye.gradientOverlay} ${ye.right}`,
567
567
  style: { "--gradient-opacity": "1" },
568
- children: /* @__PURE__ */ v(
568
+ children: /* @__PURE__ */ b(
569
569
  "svg",
570
570
  {
571
571
  className: ye.svg,
@@ -575,7 +575,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
575
575
  xmlns: "http://www.w3.org/2000/svg",
576
576
  children: [
577
577
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
578
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ v("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
578
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
579
579
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
580
580
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
581
581
  ] }) })
@@ -595,11 +595,11 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
595
595
  size: n = "sm",
596
596
  fillParent: o = !1
597
597
  }) => {
598
- const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (l) => {
599
- l.stopPropagation(), a == null || a();
598
+ const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (c) => {
599
+ c.stopPropagation(), a == null || a();
600
600
  }, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
601
- return /* @__PURE__ */ v(
602
- F,
601
+ return /* @__PURE__ */ b(
602
+ q,
603
603
  {
604
604
  onClick: a,
605
605
  role: "button",
@@ -641,7 +641,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
641
641
  }
642
642
  ),
643
643
  /* @__PURE__ */ t(
644
- F,
644
+ q,
645
645
  {
646
646
  className: "oraculo-game-card-overlay",
647
647
  sx: {
@@ -656,7 +656,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
656
656
  }
657
657
  ),
658
658
  /* @__PURE__ */ t(
659
- F,
659
+ q,
660
660
  {
661
661
  className: "oraculo-game-card-btn",
662
662
  sx: {
@@ -686,27 +686,27 @@ function xa({
686
686
  md: { w: 186, h: 264, r: 22.6, font: 64 }
687
687
  }
688
688
  }) {
689
- var p, d, c, g;
690
- const r = (x, I) => {
691
- var _, b, C, q;
689
+ var m, d, g, p;
690
+ const r = (v, C) => {
691
+ var _, I, O, D;
692
692
  return {
693
- xs: (b = (_ = i.xs) == null ? void 0 : _[x]) != null ? b : I,
694
- md: (q = (C = i.md) == null ? void 0 : C[x]) != null ? q : I
693
+ xs: (I = (_ = i.xs) == null ? void 0 : _[v]) != null ? I : C,
694
+ md: (D = (O = i.md) == null ? void 0 : O[v]) != null ? D : C
695
695
  };
696
- }, s = r("w", 186), l = r("h", 264), f = r("r", 22.6), h = r("font", 64), u = {
697
- xs: Math.round(((d = (p = i.xs) == null ? void 0 : p.font) != null ? d : 64) * 0.28),
698
- md: Math.round(((g = (c = i.md) == null ? void 0 : c.font) != null ? g : 64) * 0.28)
696
+ }, s = r("w", 186), c = r("h", 264), f = r("r", 22.6), h = r("font", 64), u = {
697
+ xs: Math.round(((d = (m = i.xs) == null ? void 0 : m.font) != null ? d : 64) * 0.28),
698
+ md: Math.round(((p = (g = i.md) == null ? void 0 : g.font) != null ? p : 64) * 0.28)
699
699
  };
700
- return /* @__PURE__ */ v(
701
- F,
700
+ return /* @__PURE__ */ b(
701
+ q,
702
702
  {
703
703
  sx: {
704
704
  position: "relative",
705
705
  width: "100%",
706
706
  maxWidth: { xs: `${s.xs}px`, md: `${s.md}px` },
707
707
  aspectRatio: {
708
- xs: `${s.xs}/${l.xs}`,
709
- md: `${s.md}/${l.md}`
708
+ xs: `${s.xs}/${c.xs}`,
709
+ md: `${s.md}/${c.md}`
710
710
  },
711
711
  borderRadius: { xs: `${f.xs}px`, md: `${f.md}px` },
712
712
  boxSizing: "border-box",
@@ -725,7 +725,7 @@ function xa({
725
725
  },
726
726
  children: [
727
727
  /* @__PURE__ */ t(
728
- F,
728
+ q,
729
729
  {
730
730
  sx: {
731
731
  position: "absolute",
@@ -759,7 +759,7 @@ function xa({
759
759
  }
760
760
  ),
761
761
  /* @__PURE__ */ t(
762
- F,
762
+ q,
763
763
  {
764
764
  component: "span",
765
765
  sx: {
@@ -795,8 +795,8 @@ const wa = ({
795
795
  onClick: i
796
796
  }) => {
797
797
  var r;
798
- return /* @__PURE__ */ v(
799
- F,
798
+ return /* @__PURE__ */ b(
799
+ q,
800
800
  {
801
801
  onClick: i,
802
802
  sx: {
@@ -820,7 +820,7 @@ const wa = ({
820
820
  },
821
821
  children: [
822
822
  /* @__PURE__ */ t(
823
- F,
823
+ q,
824
824
  {
825
825
  component: "img",
826
826
  src: e,
@@ -836,7 +836,7 @@ const wa = ({
836
836
  }
837
837
  ),
838
838
  /* @__PURE__ */ t(
839
- F,
839
+ q,
840
840
  {
841
841
  className: "orc-live-provider-label",
842
842
  sx: {
@@ -850,7 +850,7 @@ const wa = ({
850
850
  pointerEvents: "none"
851
851
  },
852
852
  children: /* @__PURE__ */ t(
853
- de,
853
+ ue,
854
854
  {
855
855
  sx: {
856
856
  color: "#fff",
@@ -866,7 +866,7 @@ const wa = ({
866
866
  ]
867
867
  }
868
868
  );
869
- }, Pe = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(F, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
869
+ }, Pe = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(q, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
870
870
  j,
871
871
  {
872
872
  variant: "rectangular",
@@ -890,9 +890,9 @@ const wa = ({
890
890
  }) => {
891
891
  var r, s;
892
892
  if (a === "mosaic") {
893
- const l = e[0], f = e.slice(1, 5);
894
- return /* @__PURE__ */ v(
895
- F,
893
+ const c = e[0], f = e.slice(1, 5);
894
+ return /* @__PURE__ */ b(
895
+ q,
896
896
  {
897
897
  sx: {
898
898
  display: "grid",
@@ -916,7 +916,7 @@ const wa = ({
916
916
  },
917
917
  children: [
918
918
  /* @__PURE__ */ t(
919
- F,
919
+ q,
920
920
  {
921
921
  sx: {
922
922
  width: { xs: 184, md: 280 },
@@ -925,21 +925,21 @@ const wa = ({
925
925
  overflow: "hidden",
926
926
  borderRadius: 2
927
927
  },
928
- children: o ? /* @__PURE__ */ t(Fe, {}) : l && /* @__PURE__ */ t(
928
+ children: o ? /* @__PURE__ */ t(Fe, {}) : c && /* @__PURE__ */ t(
929
929
  Te,
930
930
  {
931
- imageUrl: `https://olimpo.bet${(s = (r = l.background) != null ? r : l.imageUrl) != null ? s : ""}`,
931
+ imageUrl: `https://olimpo.bet${(s = (r = c.background) != null ? r : c.imageUrl) != null ? s : ""}`,
932
932
  size: "lg",
933
933
  fillParent: !0,
934
- onClick: () => n == null ? void 0 : n(l, 0)
934
+ onClick: () => n == null ? void 0 : n(c, 0)
935
935
  }
936
936
  )
937
937
  }
938
938
  ),
939
939
  (o ? Array.from({ length: 4 }) : f).map((h, u) => {
940
- var p, d;
940
+ var m, d;
941
941
  return /* @__PURE__ */ t(
942
- F,
942
+ q,
943
943
  {
944
944
  sx: {
945
945
  width: { xs: 104, md: 152 },
@@ -950,7 +950,7 @@ const wa = ({
950
950
  children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
951
951
  Te,
952
952
  {
953
- imageUrl: `https://olimpo.bet${(d = (p = h.background) != null ? p : h.imageUrl) != null ? d : ""}`,
953
+ imageUrl: `https://olimpo.bet${(d = (m = h.background) != null ? m : h.imageUrl) != null ? d : ""}`,
954
954
  size: "sm",
955
955
  fillParent: !0,
956
956
  onClick: () => n == null ? void 0 : n(h, u + 1)
@@ -965,7 +965,7 @@ const wa = ({
965
965
  );
966
966
  }
967
967
  return /* @__PURE__ */ t(
968
- F,
968
+ q,
969
969
  {
970
970
  sx: {
971
971
  display: "grid",
@@ -980,23 +980,23 @@ const wa = ({
980
980
  gap: `${Pe}px`,
981
981
  gridAutoFlow: "column"
982
982
  },
983
- children: (o ? Array.from({ length: i }) : e).map((l, f) => {
984
- var h, u, p;
983
+ children: (o ? Array.from({ length: i }) : e).map((c, f) => {
984
+ var h, u, m;
985
985
  return /* @__PURE__ */ t(
986
- F,
986
+ q,
987
987
  {
988
988
  sx: { overflow: "hidden", borderRadius: 2 },
989
989
  children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
990
990
  Te,
991
991
  {
992
- imageUrl: `https://olimpo.bet${(u = (h = l.background) != null ? h : l.imageUrl) != null ? u : ""}`,
992
+ imageUrl: `https://olimpo.bet${(u = (h = c.background) != null ? h : c.imageUrl) != null ? u : ""}`,
993
993
  size: "sm",
994
994
  fillParent: !0,
995
- onClick: () => n == null ? void 0 : n(l, f)
995
+ onClick: () => n == null ? void 0 : n(c, f)
996
996
  }
997
997
  )
998
998
  },
999
- o ? `sk-${f}` : (p = l.id) != null ? p : f
999
+ o ? `sk-${f}` : (m = c.id) != null ? m : f
1000
1000
  );
1001
1001
  })
1002
1002
  }
@@ -1009,39 +1009,39 @@ const wa = ({
1009
1009
  onButtonClick: i,
1010
1010
  backgroundImage: r,
1011
1011
  alt: s,
1012
- className: l = "",
1012
+ className: c = "",
1013
1013
  variant: f = "small"
1014
1014
  }) => {
1015
- const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", p = f === "large";
1016
- return /* @__PURE__ */ v(
1017
- F,
1015
+ const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", m = f === "large";
1016
+ return /* @__PURE__ */ b(
1017
+ q,
1018
1018
  {
1019
- className: l,
1019
+ className: c,
1020
1020
  sx: {
1021
1021
  position: "relative",
1022
1022
  width: "100%",
1023
1023
  maxWidth: {
1024
1024
  xs: 328,
1025
- md: p ? 618 : 456
1025
+ md: m ? 618 : 456
1026
1026
  },
1027
1027
  mx: "auto"
1028
1028
  },
1029
1029
  children: [
1030
1030
  r && /* @__PURE__ */ t(
1031
- F,
1031
+ q,
1032
1032
  {
1033
1033
  sx: {
1034
1034
  position: "relative",
1035
1035
  width: "100%",
1036
1036
  aspectRatio: {
1037
1037
  xs: "328 / 188",
1038
- md: p ? "618 / 346" : "456 / 272"
1038
+ md: m ? "618 / 346" : "456 / 272"
1039
1039
  },
1040
1040
  borderRadius: "14px",
1041
1041
  overflow: "hidden"
1042
1042
  },
1043
1043
  children: /* @__PURE__ */ t(
1044
- F,
1044
+ q,
1045
1045
  {
1046
1046
  component: "img",
1047
1047
  src: r,
@@ -1061,7 +1061,7 @@ const wa = ({
1061
1061
  }
1062
1062
  ),
1063
1063
  /* @__PURE__ */ t(
1064
- F,
1064
+ q,
1065
1065
  {
1066
1066
  sx: {
1067
1067
  position: "absolute",
@@ -1074,8 +1074,8 @@ const wa = ({
1074
1074
  pl: "14%",
1075
1075
  pr: { xs: "14%", lg: "15%" }
1076
1076
  },
1077
- children: /* @__PURE__ */ v(
1078
- F,
1077
+ children: /* @__PURE__ */ b(
1078
+ q,
1079
1079
  {
1080
1080
  sx: {
1081
1081
  maxWidth: "60%",
@@ -1085,7 +1085,7 @@ const wa = ({
1085
1085
  },
1086
1086
  children: [
1087
1087
  e && /* @__PURE__ */ t(
1088
- de,
1088
+ ue,
1089
1089
  {
1090
1090
  sx: {
1091
1091
  fontSize: { xs: 12, md: 20 },
@@ -1095,8 +1095,8 @@ const wa = ({
1095
1095
  children: e
1096
1096
  }
1097
1097
  ),
1098
- a && /* @__PURE__ */ v(
1099
- F,
1098
+ a && /* @__PURE__ */ b(
1099
+ q,
1100
1100
  {
1101
1101
  component: "p",
1102
1102
  sx: {
@@ -1114,7 +1114,7 @@ const wa = ({
1114
1114
  },
1115
1115
  children: [
1116
1116
  /* @__PURE__ */ t(
1117
- F,
1117
+ q,
1118
1118
  {
1119
1119
  component: "span",
1120
1120
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
@@ -1122,7 +1122,7 @@ const wa = ({
1122
1122
  }
1123
1123
  ),
1124
1124
  /* @__PURE__ */ t(
1125
- F,
1125
+ q,
1126
1126
  {
1127
1127
  component: "span",
1128
1128
  sx: { fontSize: { xs: 52, md: 77 } },
@@ -1133,7 +1133,7 @@ const wa = ({
1133
1133
  }
1134
1134
  ),
1135
1135
  n && /* @__PURE__ */ t(
1136
- de,
1136
+ ue,
1137
1137
  {
1138
1138
  sx: {
1139
1139
  pb: "20px",
@@ -1161,7 +1161,7 @@ const wa = ({
1161
1161
  imgSrcMobile: i,
1162
1162
  imgSrcDesktopBg: r,
1163
1163
  imgSrcDesktopLogo: s
1164
- }) => /* @__PURE__ */ v(me, { children: [
1164
+ }) => /* @__PURE__ */ b(pe, { children: [
1165
1165
  /* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
1166
1166
  "img",
1167
1167
  {
@@ -1170,7 +1170,7 @@ const wa = ({
1170
1170
  className: "orc-co-bgMobileImg"
1171
1171
  }
1172
1172
  ) }),
1173
- /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ v("div", { className: "orc-co-desktopInner", children: [
1173
+ /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ b("div", { className: "orc-co-desktopInner", children: [
1174
1174
  r && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
1175
1175
  "img",
1176
1176
  {
@@ -1179,7 +1179,7 @@ const wa = ({
1179
1179
  className: "orc-co-bgDesktopImg"
1180
1180
  }
1181
1181
  ) }),
1182
- /* @__PURE__ */ v("div", { className: "orc-co-desktopContent", children: [
1182
+ /* @__PURE__ */ b("div", { className: "orc-co-desktopContent", children: [
1183
1183
  s && /* @__PURE__ */ t(
1184
1184
  "img",
1185
1185
  {
@@ -1192,11 +1192,11 @@ const wa = ({
1192
1192
  /* @__PURE__ */ t(X, { onClick: n, variant: "primary", size: "md", children: a })
1193
1193
  ] })
1194
1194
  ] }) }),
1195
- /* @__PURE__ */ v("div", { className: "orc-co-bottom", children: [
1195
+ /* @__PURE__ */ b("div", { className: "orc-co-bottom", children: [
1196
1196
  /* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
1197
1197
  /* @__PURE__ */ t(X, { onClick: n, variant: "primary", size: "md", children: a })
1198
1198
  ] })
1199
- ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ea = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", $a = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Na = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", le = {
1199
+ ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ea = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", $a = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Na = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1200
1200
  card: Ia,
1201
1201
  combinadas: Ca,
1202
1202
  combinadasScroll: Oa,
@@ -1211,10 +1211,10 @@ function Ue(e, a) {
1211
1211
  const n = Array.isArray(a) ? a : [a];
1212
1212
  sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
1213
1213
  }
1214
- function Aa() {
1214
+ function Ba() {
1215
1215
  window.location.href = "/deportes#in-play";
1216
1216
  }
1217
- function Ba() {
1217
+ function Aa() {
1218
1218
  window.location.href = "/deportes#sports-hub/football";
1219
1219
  }
1220
1220
  function za() {
@@ -1239,39 +1239,39 @@ const ht = $t(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
1239
1239
  if (!e)
1240
1240
  throw new Error("useDocContext debe usarse dentro de DocIdProvider");
1241
1241
  return e;
1242
- }, ne = () => vt().docId, se = () => vt().moduleId;
1242
+ }, ne = () => vt().docId, le = () => vt().moduleId;
1243
1243
  function Ra({ coupon: e }) {
1244
1244
  var h;
1245
1245
  const a = ae(), n = ne();
1246
1246
  function o(u) {
1247
- var c, g;
1248
- const p = [], d = Array.from(
1247
+ var g, p;
1248
+ const m = [], d = Array.from(
1249
1249
  new Map(
1250
- ((c = u == null ? void 0 : u.events) != null ? c : []).filter(Boolean).map((x) => [x.id, x])
1250
+ ((g = u == null ? void 0 : u.events) != null ? g : []).filter(Boolean).map((v) => [v.id, v])
1251
1251
  ).values()
1252
1252
  );
1253
- return d.forEach((x) => {
1254
- var C;
1255
- const I = (C = x.betoffers) != null ? C : [], _ = x.homeName, b = x.awayName;
1256
- I.forEach((q) => {
1257
- var M, $, y, E, L, z, R;
1258
- if (!((M = q == null ? void 0 : q.outcomes) != null && M.length)) return;
1259
- const T = q.outcomes[0];
1260
- if (!T) return;
1261
- let k = "";
1262
- const O = T != null && T.line ? T.line / 1e3 : "";
1263
- ["Más de", "Mas de", "Over"].includes(T.label) ? (k = `Más de ${O}`, T.participant && (k = `${T.participant} - ${k}`)) : ["Menos de", "Menos", "Under"].includes(T.label) ? (k = `Menos de ${O}`, T.participant && (k = `${T.participant} - ${k}`)) : ["Sí", "No"].includes(T.label) ? (k = T.label, T.participant && (k = `${T.participant} - ${k}`)) : ["1X", "12", "X2"].includes(T.label) ? (T.label === "1X" && (k = `${_} o Empate`), T.label === "12" && (k = `${_} o ${b}`), T.label === "X2" && (k = `${b} o Empate`)) : (k = (y = ($ = T.participant) != null ? $ : T.label) != null ? y : "", O !== "" && k === T.label && (k = `${T.label} ${O}`)), p.push({
1264
- id: T.id,
1265
- value: k,
1266
- label: (L = (E = q.criterion) == null ? void 0 : E.label) != null ? L : "",
1267
- odds: (z = T.odds) != null ? z : 0,
1268
- position: (R = T.position) != null ? R : 0,
1269
- eventId: x.id
1253
+ return d.forEach((v) => {
1254
+ var O;
1255
+ const C = (O = v.betoffers) != null ? O : [], _ = v.homeName, I = v.awayName;
1256
+ C.forEach((D) => {
1257
+ var A, N, x, T, L, z, R;
1258
+ if (!((A = D == null ? void 0 : D.outcomes) != null && A.length)) return;
1259
+ const y = D.outcomes[0];
1260
+ if (!y) return;
1261
+ let $ = "";
1262
+ const E = y != null && y.line ? y.line / 1e3 : "";
1263
+ ["Más de", "Mas de", "Over"].includes(y.label) ? ($ = `Más de ${E}`, y.participant && ($ = `${y.participant} - ${$}`)) : ["Menos de", "Menos", "Under"].includes(y.label) ? ($ = `Menos de ${E}`, y.participant && ($ = `${y.participant} - ${$}`)) : ["Sí", "No"].includes(y.label) ? ($ = y.label, y.participant && ($ = `${y.participant} - ${$}`)) : ["1X", "12", "X2"].includes(y.label) ? (y.label === "1X" && ($ = `${_} o Empate`), y.label === "12" && ($ = `${_} o ${I}`), y.label === "X2" && ($ = `${I} o Empate`)) : ($ = (x = (N = y.participant) != null ? N : y.label) != null ? x : "", E !== "" && $ === y.label && ($ = `${y.label} ${E}`)), m.push({
1264
+ id: y.id,
1265
+ value: $,
1266
+ label: (L = (T = D.criterion) == null ? void 0 : T.label) != null ? L : "",
1267
+ odds: (z = y.odds) != null ? z : 0,
1268
+ position: (R = y.position) != null ? R : 0,
1269
+ eventId: v.id
1270
1270
  });
1271
1271
  });
1272
1272
  }), {
1273
- outcomes: p.sort((x, I) => x.position - I.position),
1274
- total: Number((g = u == null ? void 0 : u.combinadoTotal) != null ? g : 0).toLocaleString("en-US", {
1273
+ outcomes: m.sort((v, C) => v.position - C.position),
1274
+ total: Number((p = u == null ? void 0 : u.combinadoTotal) != null ? p : 0).toLocaleString("en-US", {
1275
1275
  minimumFractionDigits: 2,
1276
1276
  maximumFractionDigits: 2
1277
1277
  }),
@@ -1281,47 +1281,47 @@ function Ra({ coupon: e }) {
1281
1281
  function i(u) {
1282
1282
  if (!u || !Array.isArray(u.events) || u.events.length === 0)
1283
1283
  return "/deportes#home";
1284
- const p = u.events;
1285
- if (p.length === 1)
1286
- return `/deportes#event/${p[0].id}`;
1287
- const d = p[0].groupId;
1288
- if (p.every((g) => g.groupId === d)) {
1289
- const g = p[0].path;
1290
- if (Array.isArray(g) && g.length > 0)
1291
- return `/deportes#sports-hub/${g.map((I) => I.termKey).filter(Boolean).join("/")}`;
1284
+ const m = u.events;
1285
+ if (m.length === 1)
1286
+ return `/deportes#event/${m[0].id}`;
1287
+ const d = m[0].groupId;
1288
+ if (m.every((p) => p.groupId === d)) {
1289
+ const p = m[0].path;
1290
+ if (Array.isArray(p) && p.length > 0)
1291
+ return `/deportes#sports-hub/${p.map((C) => C.termKey).filter(Boolean).join("/")}`;
1292
1292
  }
1293
1293
  return "/deportes#home";
1294
1294
  }
1295
- const r = (u, p) => {
1296
- const d = Array.isArray(u) ? u : [u], c = Array.from(
1295
+ const r = (u, m) => {
1296
+ const d = Array.isArray(u) ? u : [u], g = Array.from(
1297
1297
  new Set(
1298
- s.outcomes.map((I) => {
1299
- var b;
1300
- const _ = f.get(Number(I.eventId));
1301
- return (b = _ == null ? void 0 : _.name) != null ? b : "";
1298
+ s.outcomes.map((C) => {
1299
+ var I;
1300
+ const _ = f.get(Number(C.eventId));
1301
+ return (I = _ == null ? void 0 : _.name) != null ? I : "";
1302
1302
  })
1303
1303
  )
1304
- ).filter(Boolean), g = c.length > 0 ? c.join(" + ") : JSON.stringify(d), x = p ? `${g} - Cuota: ${p}` : g;
1304
+ ).filter(Boolean), p = g.length > 0 ? g.join(" + ") : JSON.stringify(d), v = m ? `${p} - Cuota: ${m}` : p;
1305
1305
  a({
1306
1306
  element: "evento_semana_outcome",
1307
- label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${x}`,
1307
+ label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${v}`,
1308
1308
  target: "/deportes#in-play",
1309
1309
  event_type: "click",
1310
1310
  module_id: 301,
1311
1311
  metadata: {
1312
1312
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1313
1313
  },
1314
- tags: { section: "OraculoEventCombinadasCard", outcomes: x }
1314
+ tags: { section: "OraculoEventCombinadasCard", outcomes: v }
1315
1315
  }), Ue(i(e), u);
1316
1316
  };
1317
1317
  if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
1318
- const s = o(e), l = s.outcomes.reduce((u, p) => (u[p.eventId] || (u[p.eventId] = []), u[p.eventId].push(p), u), {}), f = new Map(
1318
+ const s = o(e), c = s.outcomes.reduce((u, m) => (u[m.eventId] || (u[m.eventId] = []), u[m.eventId].push(m), u), {}), f = new Map(
1319
1319
  s.events.map((u) => [u.id, u])
1320
1320
  );
1321
- return /* @__PURE__ */ v("div", { className: le.card, children: [
1322
- /* @__PURE__ */ t("div", { className: le.combinadas, children: /* @__PURE__ */ t("div", { className: le.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(l).reverse().map(([u, p]) => {
1321
+ return /* @__PURE__ */ b("div", { className: ce.card, children: [
1322
+ /* @__PURE__ */ t("div", { className: ce.combinadas, children: /* @__PURE__ */ t("div", { className: ce.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(c).reverse().map(([u, m]) => {
1323
1323
  const d = f.get(Number(u));
1324
- return d ? /* @__PURE__ */ v(
1324
+ return d ? /* @__PURE__ */ b(
1325
1325
  H,
1326
1326
  {
1327
1327
  direction: "column",
@@ -1343,32 +1343,32 @@ function Ra({ coupon: e }) {
1343
1343
  src: "/assets/img/home/Combinadas/line.png"
1344
1344
  }
1345
1345
  ),
1346
- p.map((c, g) => /* @__PURE__ */ v("div", { className: le.apuestaItem, children: [
1347
- /* @__PURE__ */ v("div", { className: le.lineContainer, children: [
1348
- /* @__PURE__ */ t("div", { className: le.circle }),
1349
- g < p.length - 1 && /* @__PURE__ */ t("div", { className: le.line })
1346
+ m.map((g, p) => /* @__PURE__ */ b("div", { className: ce.apuestaItem, children: [
1347
+ /* @__PURE__ */ b("div", { className: ce.lineContainer, children: [
1348
+ /* @__PURE__ */ t("div", { className: ce.circle }),
1349
+ p < m.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1350
1350
  ] }),
1351
- /* @__PURE__ */ v("div", { className: le.apuestaText, children: [
1352
- /* @__PURE__ */ t("strong", { children: c.value }),
1351
+ /* @__PURE__ */ b("div", { className: ce.apuestaText, children: [
1352
+ /* @__PURE__ */ t("strong", { children: g.value }),
1353
1353
  " | ",
1354
- c.label
1354
+ g.label
1355
1355
  ] })
1356
- ] }, `${u}-${g}`))
1356
+ ] }, `${u}-${p}`))
1357
1357
  ]
1358
1358
  },
1359
1359
  u
1360
1360
  ) : null;
1361
1361
  }) }) }) }),
1362
- /* @__PURE__ */ v(
1362
+ /* @__PURE__ */ b(
1363
1363
  "button",
1364
1364
  {
1365
1365
  onClick: () => r(
1366
1366
  s.outcomes.map((u) => u.id),
1367
1367
  s.total
1368
1368
  ),
1369
- className: le.cuotaTotal,
1369
+ className: ce.cuotaTotal,
1370
1370
  children: [
1371
- /* @__PURE__ */ v("span", { children: [
1371
+ /* @__PURE__ */ b("span", { children: [
1372
1372
  "Cuota total: ",
1373
1373
  /* @__PURE__ */ t("strong", { children: s.total })
1374
1374
  ] }),
@@ -1385,7 +1385,7 @@ function Ra({ coupon: e }) {
1385
1385
  )
1386
1386
  ] });
1387
1387
  }
1388
- const ce = {
1388
+ const de = {
1389
1389
  "orc-btn": "oraculo__OraculoButtonBet-module__orc-btn___jakza",
1390
1390
  "orc-btn__label": "oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH",
1391
1391
  "orc-btn__icon": "oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd",
@@ -1407,32 +1407,32 @@ function La({
1407
1407
  rel: i,
1408
1408
  type: r = "button",
1409
1409
  disabled: s = !1,
1410
- variant: l = "primary",
1410
+ variant: c = "primary",
1411
1411
  size: f,
1412
1412
  fullWidth: h = !1,
1413
1413
  fullHeight: u = !1,
1414
- className: p = "",
1414
+ className: m = "",
1415
1415
  ariaLabel: d,
1416
- leftIcon: c,
1417
- rightIcon: g,
1418
- iconOnly: x
1416
+ leftIcon: g,
1417
+ rightIcon: p,
1418
+ iconOnly: v
1419
1419
  }) {
1420
- const I = !!e && e !== !0, C = (!!c ? 1 : 0) + (!!g ? 1 : 0) == 1, q = x != null ? x : C && !I, T = [
1421
- ce["orc-btn"],
1420
+ const C = !!e && e !== !0, O = (!!g ? 1 : 0) + (!!p ? 1 : 0) == 1, D = v != null ? v : O && !C, y = [
1421
+ de["orc-btn"],
1422
1422
  // base
1423
- ce[`orc-btn--${l}`],
1423
+ de[`orc-btn--${c}`],
1424
1424
  // variant primary/secondary/tertiary
1425
- f ? ce[`orc-btn--${f}`] : "",
1425
+ f ? de[`orc-btn--${f}`] : "",
1426
1426
  // sm / md / lg
1427
- h ? ce["orc-btn--full"] : "",
1428
- u ? ce["orc-btn--fullHeight"] : "",
1429
- q ? ce["orc-btn--iconOnly"] : "",
1430
- p
1431
- ].filter(Boolean).join(" "), k = /* @__PURE__ */ v(me, { children: [
1432
- c && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: c }),
1433
- !q && /* @__PURE__ */ t("span", { className: ce["orc-btn__label"], children: e }),
1434
- g && /* @__PURE__ */ t("span", { className: ce["orc-btn__icon"], children: g })
1435
- ] }), O = s ? !0 : void 0;
1427
+ h ? de["orc-btn--full"] : "",
1428
+ u ? de["orc-btn--fullHeight"] : "",
1429
+ D ? de["orc-btn--iconOnly"] : "",
1430
+ m
1431
+ ].filter(Boolean).join(" "), $ = /* @__PURE__ */ b(pe, { children: [
1432
+ g && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: g }),
1433
+ !D && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1434
+ p && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: p })
1435
+ ] }), E = s ? !0 : void 0;
1436
1436
  return n ? /* @__PURE__ */ t(
1437
1437
  rt,
1438
1438
  {
@@ -1440,21 +1440,21 @@ function La({
1440
1440
  target: o,
1441
1441
  rel: i,
1442
1442
  "aria-label": d,
1443
- "aria-disabled": O,
1444
- tabIndex: O ? -1 : void 0,
1445
- className: T,
1446
- onClick: O ? (M) => M.preventDefault() : a,
1447
- children: k
1443
+ "aria-disabled": E,
1444
+ tabIndex: E ? -1 : void 0,
1445
+ className: y,
1446
+ onClick: E ? (A) => A.preventDefault() : a,
1447
+ children: $
1448
1448
  }
1449
1449
  ) : /* @__PURE__ */ t(
1450
1450
  "button",
1451
1451
  {
1452
1452
  type: r,
1453
1453
  onClick: a,
1454
- disabled: !!O,
1454
+ disabled: !!E,
1455
1455
  "aria-label": d,
1456
- className: T,
1457
- children: k
1456
+ className: y,
1457
+ children: $
1458
1458
  }
1459
1459
  );
1460
1460
  }
@@ -1484,11 +1484,11 @@ const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
1484
1484
  return o || (a === "home" ? Xe : Ye);
1485
1485
  };
1486
1486
  function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1487
- var l, f, h, u, p, d, c, g, x, I, _;
1487
+ var c, f, h, u, m, d, g, p, v, C, _;
1488
1488
  const i = n == null ? void 0 : n.find(
1489
- (b) => {
1490
- var C;
1491
- return ((C = b.betOfferType) == null ? void 0 : C.id) === 2;
1489
+ (I) => {
1490
+ var O;
1491
+ return ((O = I.betOfferType) == null ? void 0 : O.id) === 2;
1492
1492
  }
1493
1493
  ), r = {
1494
1494
  englishLabel: "",
@@ -1504,28 +1504,28 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1504
1504
  { ...r, id: -2, label: "X", odds: void 0 },
1505
1505
  { ...r, id: -3, label: "2", odds: void 0 }
1506
1506
  ];
1507
- return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1508
- /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1507
+ return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1508
+ /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1509
1509
  /* @__PURE__ */ t(
1510
1510
  Ht,
1511
1511
  {
1512
- title: (h = (f = (l = e == null ? void 0 : e.path) == null ? void 0 : l[0]) == null ? void 0 : f.name) != null ? h : "",
1512
+ title: (h = (f = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : f.name) != null ? h : "",
1513
1513
  subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
1514
1514
  live: !0,
1515
- time: ((p = a == null ? void 0 : a.matchClock) == null ? void 0 : p.minute) != null ? `${a.matchClock.minute}'` : ""
1515
+ time: ((m = a == null ? void 0 : a.matchClock) == null ? void 0 : m.minute) != null ? `${a.matchClock.minute}'` : ""
1516
1516
  }
1517
1517
  ),
1518
- /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ v(ue, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1518
+ /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1519
1519
  /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
1520
- /* @__PURE__ */ t(pt, { text: ((c = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? c : 0) + ":" + ((x = (g = a == null ? void 0 : a.score) == null ? void 0 : g.away) != null ? x : 0), name: "En vivo" }),
1520
+ /* @__PURE__ */ t(pt, { text: ((g = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? g : 0) + ":" + ((v = (p = a == null ? void 0 : a.score) == null ? void 0 : p.away) != null ? v : 0), name: "En vivo" }),
1521
1521
  /* @__PURE__ */ t(Ne, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1522
1522
  ] }) })
1523
1523
  ] }),
1524
- /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
- /* @__PURE__ */ t(ue, { spacing: 1, children: ((I = i == null ? void 0 : i.outcomes) != null ? I : s).map((b, C) => /* @__PURE__ */ t(ut, { text: b.label.toUpperCase() }, C)) }),
1526
- /* @__PURE__ */ t(ue, { spacing: 2, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : s).map((b, C) => /* @__PURE__ */ t(La, { variant: "primary", disabled: b.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
- Ue("/deportes#event/live/" + e.id, b.id);
1528
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: b.odds === void 0 ? "" : (b.odds / 1e3).toFixed(2) }) }, C)) })
1524
+ /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((C = i == null ? void 0 : i.outcomes) != null ? C : s).map((I, O) => /* @__PURE__ */ t(ut, { text: I.label.toUpperCase() }, O)) }),
1526
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : s).map((I, O) => /* @__PURE__ */ t(La, { variant: "primary", disabled: I.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1527
+ Ue("/deportes#event/live/" + e.id, I.id);
1528
+ }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: I.odds === void 0 ? "" : (I.odds / 1e3).toFixed(2) }) }, O)) })
1529
1529
  ] })
1530
1530
  ] }) });
1531
1531
  }
@@ -1542,15 +1542,15 @@ const Ga = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ja =
1542
1542
  equipos: Ka
1543
1543
  };
1544
1544
  function Za({ event: e, jersey: a }) {
1545
- var s, l, f, h, u, p, d;
1545
+ var s, c, f, h, u, m, d;
1546
1546
  const n = ae(), o = ne();
1547
- function i(c) {
1548
- const g = new Date(c), x = g.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), I = g.getDate().toString().padStart(2, "0"), _ = (g.getMonth() + 1).toString().padStart(2, "0");
1549
- let b = g.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1550
- return b = b.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${I}/${_} | ${b}`;
1547
+ function i(g) {
1548
+ const p = new Date(g), v = p.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = p.getDate().toString().padStart(2, "0"), _ = (p.getMonth() + 1).toString().padStart(2, "0");
1549
+ let I = p.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1550
+ return I = I.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${v} ${C}/${_} | ${I}`;
1551
1551
  }
1552
- const r = (c, g) => {
1553
- const x = `${e.homeName} vs ${e.awayName}`, I = g ? (g / 1e3).toFixed(2) : "", _ = I ? `${x} - Cuota: ${I}` : x;
1552
+ const r = (g, p) => {
1553
+ const v = `${e.homeName} vs ${e.awayName}`, C = p ? (p / 1e3).toFixed(2) : "", _ = C ? `${v} - Cuota: ${C}` : v;
1554
1554
  n({
1555
1555
  element: "evento_semana_outcome",
1556
1556
  label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${_}`,
@@ -1561,24 +1561,24 @@ function Za({ event: e, jersey: a }) {
1561
1561
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1562
1562
  },
1563
1563
  tags: { section: "OraculoEventSemanaCard", outcomes: _ }
1564
- }), Ue("/deportes#event/" + e.id, c);
1564
+ }), Ue("/deportes#event/" + e.id, g);
1565
1565
  };
1566
- return /* @__PURE__ */ v("div", { className: be.cardContainer, children: [
1566
+ return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
1567
1567
  /* @__PURE__ */ t(mt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
1568
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1569
- /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1570
- /* @__PURE__ */ v("div", { className: be.equipos, children: [
1568
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1569
+ /* @__PURE__ */ b(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1570
+ /* @__PURE__ */ b("div", { className: be.equipos, children: [
1571
1571
  /* @__PURE__ */ t(Ne, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1572
1572
  /* @__PURE__ */ t(pt, { text: "vs.", name: "", size: "small" }),
1573
1573
  /* @__PURE__ */ t(Ne, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1574
1574
  ] }),
1575
1575
  /* @__PURE__ */ t(Wa, { text: i(e.start) })
1576
1576
  ] }),
1577
- /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1578
- /* @__PURE__ */ t(ue, { spacing: 1, children: ((h = (f = (l = e == null ? void 0 : e.outcome) == null ? void 0 : l[0]) == null ? void 0 : f.outcomes) != null ? h : []).map((c, g) => /* @__PURE__ */ t(ut, { text: c.label.toUpperCase() }, g)) }),
1579
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(ue, { spacing: 1, children: ((d = (p = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : p.outcomes) != null ? d : []).map((c, g) => /* @__PURE__ */ t(X, { variant: "primary", fullHeight: !0, onClick: () => {
1580
- r(c.id, c.odds);
1581
- }, children: (c.odds / 1e3).toFixed(2) }, g)) }) })
1577
+ /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1578
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((h = (f = (c = e == null ? void 0 : e.outcome) == null ? void 0 : c[0]) == null ? void 0 : f.outcomes) != null ? h : []).map((g, p) => /* @__PURE__ */ t(ut, { text: g.label.toUpperCase() }, p)) }),
1579
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (m = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((g, p) => /* @__PURE__ */ t(X, { variant: "primary", fullHeight: !0, onClick: () => {
1580
+ r(g.id, g.odds);
1581
+ }, children: (g.odds / 1e3).toFixed(2) }, p)) }) })
1582
1582
  ] })
1583
1583
  ] }) })
1584
1584
  ] });
@@ -1588,66 +1588,74 @@ function Ja({
1588
1588
  title: a = "Destacados",
1589
1589
  iconUrl: n,
1590
1590
  onViewMore: o,
1591
- className: i = ""
1591
+ className: i = "",
1592
+ paddingMobile: r = "16px"
1592
1593
  }) {
1593
- const r = V(null), [s, l] = K({ isStart: !0, isEnd: !1 }), f = ae(), h = ne(), u = se(), p = !e || e.length === 0, d = () => {
1594
- var b;
1595
- f({
1594
+ var D;
1595
+ const s = V(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), h = ae(), u = ne(), m = le(), d = !e || e.length === 0, g = () => {
1596
+ var y;
1597
+ h({
1596
1598
  element: "destacados_carousel_prev",
1597
- label: `${h} - OraculoSeccionDestacados - Anterior`,
1599
+ label: `${u} - OraculoSeccionDestacados - Anterior`,
1598
1600
  target: "carousel",
1599
1601
  event_type: "click",
1600
- module_id: u,
1602
+ module_id: m,
1601
1603
  metadata: {
1602
1604
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1603
1605
  },
1604
1606
  tags: { section: "OraculoSeccionDestacados" }
1605
- }), (b = r.current) == null || b.prev();
1606
- }, c = () => {
1607
- var b;
1608
- f({
1607
+ }), (y = s.current) == null || y.prev();
1608
+ }, p = () => {
1609
+ var y;
1610
+ h({
1609
1611
  element: "destacados_carousel_next",
1610
- label: `${h} - OraculoSeccionDestacados - Siguiente`,
1612
+ label: `${u} - OraculoSeccionDestacados - Siguiente`,
1611
1613
  target: "carousel",
1612
1614
  event_type: "click",
1613
- module_id: u,
1615
+ module_id: m,
1614
1616
  metadata: {
1615
1617
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1616
1618
  },
1617
1619
  tags: { section: "OraculoSeccionDestacados" }
1618
- }), (b = r.current) == null || b.next();
1619
- }, g = () => {
1620
- f({
1620
+ }), (y = s.current) == null || y.next();
1621
+ }, v = () => {
1622
+ h({
1621
1623
  element: "destacados_view_more",
1622
- label: `${h} - OraculoSeccionDestacados - Ver más`,
1624
+ label: `${u} - OraculoSeccionDestacados - Ver más`,
1623
1625
  target: "https://www.olimpo.bet/promociones",
1624
1626
  event_type: "click",
1625
- module_id: u,
1627
+ module_id: m,
1626
1628
  metadata: {
1627
1629
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1628
1630
  },
1629
1631
  tags: { section: "OraculoSeccionDestacados" }
1630
1632
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1631
- }, x = (b) => {
1632
- if (!b) return;
1633
- const q = `https://www.olimpo.bet/promociones/${encodeURIComponent(b)}`;
1634
- f({
1633
+ }, C = (y) => {
1634
+ if (!y) return;
1635
+ const E = `https://www.olimpo.bet/promociones/${encodeURIComponent(y)}`;
1636
+ h({
1635
1637
  element: "destacados_card",
1636
- label: `${h} - OraculoSeccionDestacados - Click: ${String(b)}`,
1637
- target: q,
1638
+ label: `${u} - OraculoSeccionDestacados - Click: ${String(y)}`,
1639
+ target: E,
1638
1640
  event_type: "click",
1639
- module_id: u,
1641
+ module_id: m,
1640
1642
  metadata: {
1641
1643
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1642
1644
  },
1643
1645
  tags: {
1644
1646
  section: "OraculoSeccionDestacados",
1645
- promotion: String(b)
1647
+ promotion: String(y)
1646
1648
  }
1647
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(q);
1648
- }, I = i || void 0, _ = xe("(max-width:950px)");
1649
- return /* @__PURE__ */ v("section", { className: I, style: { width: "100%" }, children: [
1650
- /* @__PURE__ */ v(
1649
+ }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(E);
1650
+ }, _ = i || void 0, I = xe("(max-width:950px)"), O = (D = e == null ? void 0 : e.length) != null ? D : 0;
1651
+ return Q(() => {
1652
+ if (O === 0) {
1653
+ f({ isStart: !0, isEnd: !0 });
1654
+ return;
1655
+ }
1656
+ f({ isStart: !0, isEnd: !1 });
1657
+ }, [O, I, r]), /* @__PURE__ */ b("section", { className: _, style: { width: "100%" }, children: [
1658
+ /* @__PURE__ */ b(
1651
1659
  "header",
1652
1660
  {
1653
1661
  style: {
@@ -1656,22 +1664,22 @@ function Ja({
1656
1664
  alignItems: "center",
1657
1665
  columnGap: 12,
1658
1666
  rowGap: 8,
1659
- // marginBottom: 16,
1660
- paddingLeft: _ ? 16 : 0,
1661
- paddingRight: _ ? 16 : 0
1667
+ marginBottom: 16,
1668
+ paddingLeft: I ? r : 0,
1669
+ paddingRight: I ? r : 0
1662
1670
  },
1663
1671
  children: [
1664
1672
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1665
- /* @__PURE__ */ v("div", { style: { display: "flex", gap: 8 }, children: [
1673
+ /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8 }, children: [
1666
1674
  /* @__PURE__ */ t(
1667
1675
  X,
1668
1676
  {
1669
1677
  ariaLabel: "Anterior",
1670
1678
  variant: "secondary",
1671
1679
  iconOnly: !0,
1672
- leftIcon: /* @__PURE__ */ t(Be, {}),
1673
- onClick: d,
1674
- disabled: s.isStart || p
1680
+ leftIcon: /* @__PURE__ */ t(Ae, {}),
1681
+ onClick: g,
1682
+ disabled: c.isStart || d
1675
1683
  }
1676
1684
  ),
1677
1685
  /* @__PURE__ */ t(
@@ -1681,43 +1689,42 @@ function Ja({
1681
1689
  variant: "secondary",
1682
1690
  iconOnly: !0,
1683
1691
  rightIcon: /* @__PURE__ */ t(ze, {}),
1684
- onClick: c,
1685
- disabled: s.isEnd || p
1692
+ onClick: p,
1693
+ disabled: c.isEnd || d
1686
1694
  }
1687
1695
  )
1688
1696
  ] }),
1689
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: g, children: "Ver más" })
1697
+ /* @__PURE__ */ t(X, { variant: "secondary", onClick: v, children: "Ver más" })
1690
1698
  ]
1691
1699
  }
1692
1700
  ),
1693
1701
  /* @__PURE__ */ t(
1694
1702
  he,
1695
1703
  {
1696
- ref: r,
1704
+ ref: s,
1697
1705
  items: e,
1698
1706
  perPage: void 0,
1699
1707
  gap: "16px",
1700
1708
  enableHorizontalWheel: !0,
1701
- showRightGradient: !_,
1709
+ showRightGradient: !I,
1702
1710
  options: { autoWidth: !0, trimSpace: "move" },
1703
1711
  breakpoints: {
1704
- 768: { perPage: 2, focus: "start", padding: { left: "24px", right: "24px" } },
1712
+ 768: { perPage: 2, focus: "start", padding: { left: r, right: r } },
1705
1713
  1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
1706
1714
  },
1707
- renderItem: (b) => /* @__PURE__ */ t(
1715
+ renderItem: (y) => /* @__PURE__ */ t(
1708
1716
  "div",
1709
1717
  {
1710
1718
  style: {
1711
1719
  textAlign: "center",
1712
- marginTop: 16,
1713
1720
  cursor: "pointer"
1714
1721
  },
1715
- onClick: () => x(b.promotion),
1722
+ onClick: () => C(y.promotion),
1716
1723
  children: /* @__PURE__ */ t(
1717
1724
  "img",
1718
1725
  {
1719
- src: `https://olimpo.bet${b.image !== "" ? b.image : b.summary_image}`,
1720
- alt: b.title,
1726
+ src: `https://olimpo.bet${y.image !== "" ? y.image : y.summary_image}`,
1727
+ alt: y.title,
1721
1728
  style: {
1722
1729
  width: "100%",
1723
1730
  height: typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px",
@@ -1728,19 +1735,19 @@ function Ja({
1728
1735
  }
1729
1736
  )
1730
1737
  },
1731
- `${b.title}-${b.image}`
1738
+ `${y.title}-${y.image}`
1732
1739
  ),
1733
- onMove: ({ isStart: b, isEnd: C }) => {
1734
- l({ isStart: b, isEnd: C }), f({
1740
+ onMove: ({ isStart: y, isEnd: $ }) => {
1741
+ f({ isStart: y, isEnd: $ }), h({
1735
1742
  element: "destacados_carousel_slide",
1736
- label: `${h} - OraculoSeccionDestacados - Slide Carousel`,
1743
+ label: `${u} - OraculoSeccionDestacados - Slide Carousel`,
1737
1744
  target: "carousel",
1738
1745
  event_type: "slide",
1739
- module_id: u,
1746
+ module_id: m,
1740
1747
  metadata: {
1741
1748
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1742
- isStart: b,
1743
- isEnd: C
1749
+ isStart: y,
1750
+ isEnd: $
1744
1751
  },
1745
1752
  tags: { section: "OraculoSeccionDestacados" }
1746
1753
  });
@@ -1757,7 +1764,7 @@ function _t() {
1757
1764
  function Xa(e) {
1758
1765
  _t().extras = e;
1759
1766
  }
1760
- function pe(e) {
1767
+ function se(e) {
1761
1768
  var a;
1762
1769
  return (a = _t().extras) == null ? void 0 : a[e];
1763
1770
  }
@@ -1770,40 +1777,40 @@ function Qa({
1770
1777
  iconUrl: n,
1771
1778
  onCardClick: o
1772
1779
  }) {
1773
- const i = ae(), r = ne(), s = se(), l = ie(
1774
- () => (e != null ? e : []).map((p, d) => {
1775
- var c;
1780
+ const i = ae(), r = ne(), s = le(), c = ie(
1781
+ () => (e != null ? e : []).map((m, d) => {
1782
+ var g;
1776
1783
  return {
1777
- ...p,
1778
- orden: (c = p.orden) != null ? c : d + 1,
1784
+ ...m,
1785
+ orden: (g = m.orden) != null ? g : d + 1,
1779
1786
  _originalIndex: d
1780
1787
  };
1781
- }).sort((p, d) => p.orden != null && d.orden != null ? p.orden - d.orden : p._originalIndex - d._originalIndex),
1788
+ }).sort((m, d) => m.orden != null && d.orden != null ? m.orden - d.orden : m._originalIndex - d._originalIndex),
1782
1789
  [e]
1783
- ), f = !e || e.length === 0, h = f ? Array.from({ length: 6 }) : l.slice(0, 6), u = (p) => {
1790
+ ), f = !e || e.length === 0, h = f ? Array.from({ length: 6 }) : c.slice(0, 6), u = (m) => {
1784
1791
  i({
1785
1792
  element: "top_juegos_card",
1786
- label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(p.machine || "unknown")}`,
1787
- target: String(p.machine || "unknown"),
1793
+ label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(m.machine || "unknown")}`,
1794
+ target: String(m.machine || "unknown"),
1788
1795
  event_type: "click",
1789
1796
  module_id: s,
1790
1797
  metadata: {
1791
1798
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1792
1799
  },
1793
1800
  tags: {
1794
- game_name: String(p.machine || "unknown"),
1801
+ game_name: String(m.machine || "unknown"),
1795
1802
  section: "OraculoSeccionTopJuegos"
1796
1803
  }
1797
1804
  });
1798
- const d = pe("showIframe"), c = pe("loadMachine");
1805
+ const d = se("showIframe"), g = se("loadMachine");
1799
1806
  d == null || d(), requestAnimationFrame(() => {
1800
- c == null || c(p, !1, "CASINO");
1807
+ g == null || g(m, !1, "CASINO");
1801
1808
  });
1802
1809
  };
1803
- return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1810
+ return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1804
1811
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1805
1812
  /* @__PURE__ */ t(
1806
- F,
1813
+ q,
1807
1814
  {
1808
1815
  sx: {
1809
1816
  display: "grid",
@@ -1815,19 +1822,19 @@ function Qa({
1815
1822
  justifyItems: "center",
1816
1823
  width: "100%"
1817
1824
  },
1818
- children: h.map((p, d) => {
1819
- var c, g;
1825
+ children: h.map((m, d) => {
1826
+ var g, p;
1820
1827
  return /* @__PURE__ */ t(
1821
1828
  xa,
1822
1829
  {
1823
- imageUrl: f ? "" : p.background ? `https://olimpo.bet${p.background}` : `https://olimpo.bet${(c = p.logo) != null ? c : ""}`,
1824
- orden: f ? d + 1 : p.orden,
1830
+ imageUrl: f ? "" : m.background ? `https://olimpo.bet${m.background}` : `https://olimpo.bet${(g = m.logo) != null ? g : ""}`,
1831
+ orden: f ? d + 1 : m.orden,
1825
1832
  loading: f,
1826
1833
  onClick: f ? void 0 : () => {
1827
- o == null || o(p), u(p);
1834
+ o == null || o(m), u(m);
1828
1835
  }
1829
1836
  },
1830
- f ? `sk-${d}` : (g = p.machine) != null ? g : `${d}`
1837
+ f ? `sk-${d}` : (p = m.machine) != null ? p : `${d}`
1831
1838
  );
1832
1839
  })
1833
1840
  }
@@ -1835,7 +1842,7 @@ function Qa({
1835
1842
  ] }) });
1836
1843
  }
1837
1844
  const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
1838
- var n, o, i, r, s, l, f, h, u, p, d, c, g, x;
1845
+ var n, o, i, r, s, c, f, h, u, m, d, g, p, v;
1839
1846
  return {
1840
1847
  orden: Number(a),
1841
1848
  machine: String(
@@ -1845,19 +1852,19 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1845
1852
  name: (i = e.room_name) != null ? i : "",
1846
1853
  web_name: (r = e.product) != null ? r : "",
1847
1854
  provider: (s = e.service) != null ? s : "",
1848
- sub_provider: (l = e.service) != null ? l : "",
1855
+ sub_provider: (c = e.service) != null ? c : "",
1849
1856
  external_id: (f = e.external_id) != null ? f : "",
1850
1857
  type: (h = e.game_type) != null ? h : "",
1851
1858
  tags: (u = e.tags) != null ? u : "",
1852
- lobby_tag: (p = e.lobby_tag) != null ? p : null,
1859
+ lobby_tag: (m = e.lobby_tag) != null ? m : null,
1853
1860
  background: (d = e.background) != null ? d : "",
1854
- rtp: (c = e.rtp) != null ? c : null,
1855
- demo_allowed: (g = e.demo_allowed) != null ? g : !1,
1856
- gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
1861
+ rtp: (g = e.rtp) != null ? g : null,
1862
+ demo_allowed: (p = e.demo_allowed) != null ? p : !1,
1863
+ gaming_session_required: (v = e.gaming_session_required) != null ? v : !1
1857
1864
  };
1858
1865
  }, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
1859
1866
  var a, n, o;
1860
- const e = pe("user");
1867
+ const e = se("user");
1861
1868
  return (o = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? o : null;
1862
1869
  }, nn = async (e) => {
1863
1870
  const a = yt(), n = new URLSearchParams({
@@ -1888,9 +1895,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1888
1895
  throw new Error(`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`);
1889
1896
  return (await i.json()).rankedItems;
1890
1897
  }, Ve = (e, a = !1, n = "Casino") => {
1891
- const [o, i] = K([]), [r, s] = K(!1);
1892
- return ee(() => {
1893
- let l = !1;
1898
+ const [o, i] = Z([]), [r, s] = Z(!1);
1899
+ return Q(() => {
1900
+ let c = !1;
1894
1901
  return (async () => {
1895
1902
  if (!a) {
1896
1903
  i(Array.isArray(e) ? e : []), s(!1);
@@ -1900,36 +1907,36 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1900
1907
  try {
1901
1908
  const h = await nn(n), u = an(h);
1902
1909
  if (!u.length) {
1903
- l || i([]);
1910
+ c || i([]);
1904
1911
  return;
1905
1912
  }
1906
- const p = yt(), d = await on(p, u), c = d.map((_) => _.itemId), g = await Promise.allSettled(
1907
- c.map(async (_, b) => {
1908
- const C = await fetch(`https://api.mktolimpo.com/api/machine/${_}`);
1909
- if (!C.ok)
1913
+ const m = yt(), d = await on(m, u), g = d.map((_) => _.itemId), p = await Promise.allSettled(
1914
+ g.map(async (_, I) => {
1915
+ const O = await fetch(`https://api.mktolimpo.com/api/machine/${_}`);
1916
+ if (!O.ok)
1910
1917
  throw new Error(`No se pudo obtener machine ${_}`);
1911
- const q = await C.json();
1912
- return tn(q, b);
1918
+ const D = await O.json();
1919
+ return tn(D, I);
1913
1920
  })
1914
1921
  );
1915
- if (l) return;
1916
- const x = g.filter(
1922
+ if (c) return;
1923
+ const v = p.filter(
1917
1924
  (_) => _.status === "fulfilled"
1918
- ).map((_) => _.value), I = d.map((_) => {
1919
- const b = x.find((C) => C.machine === _.itemId);
1920
- return b ? { ...b, score: _.score } : null;
1921
- }).filter(Boolean).sort((_, b) => {
1922
- var C, q;
1923
- return ((C = b.score) != null ? C : 0) - ((q = _.score) != null ? q : 0);
1925
+ ).map((_) => _.value), C = d.map((_) => {
1926
+ const I = v.find((O) => O.machine === _.itemId);
1927
+ return I ? { ...I, score: _.score } : null;
1928
+ }).filter(Boolean).sort((_, I) => {
1929
+ var O, D;
1930
+ return ((O = I.score) != null ? O : 0) - ((D = _.score) != null ? D : 0);
1924
1931
  });
1925
- i(I);
1932
+ i(C);
1926
1933
  } catch (h) {
1927
- console.error(`[usePersonalizeGameItems:${n}] error:`, h), l || i([]);
1934
+ console.error(`[usePersonalizeGameItems:${n}] error:`, h), c || i([]);
1928
1935
  } finally {
1929
- l || s(!1);
1936
+ c || s(!1);
1930
1937
  }
1931
1938
  })(), () => {
1932
- l = !0;
1939
+ c = !0;
1933
1940
  };
1934
1941
  }, [e, a, n]), {
1935
1942
  resolvedItems: o,
@@ -1956,19 +1963,19 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1956
1963
  onCardClick: i,
1957
1964
  backgroundDesktopUrl: r = "",
1958
1965
  onViewMore: s,
1959
- className: l,
1966
+ className: c,
1960
1967
  isPersonalize: f = !1
1961
1968
  }) => {
1962
- const h = ae(), u = ne(), p = se(), d = dn(f), { resolvedItems: c } = ln(
1969
+ const h = ae(), u = ne(), m = le(), d = dn(f), { resolvedItems: g } = ln(
1963
1970
  e,
1964
1971
  d
1965
- ), g = d ? c : Array.isArray(e) ? e : [], x = (_) => {
1972
+ ), p = d ? g : Array.isArray(e) ? e : [], v = (_) => {
1966
1973
  h({
1967
1974
  element: "live_casino_card",
1968
1975
  label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(_.machine || "unknown")}`,
1969
1976
  target: String(_.machine || "unknown"),
1970
1977
  event_type: "click",
1971
- module_id: p,
1978
+ module_id: m,
1972
1979
  metadata: {
1973
1980
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1974
1981
  },
@@ -1978,8 +1985,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1978
1985
  section: "OraculoSeccionCasinoEnVivo"
1979
1986
  }
1980
1987
  });
1981
- const b = pe("showIframe"), C = pe("loadMachine");
1982
- if (!C) {
1988
+ const I = se("showIframe"), O = se("loadMachine");
1989
+ if (!O) {
1983
1990
  if (i) {
1984
1991
  i(_);
1985
1992
  return;
@@ -1990,26 +1997,26 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1990
1997
  );
1991
1998
  return;
1992
1999
  }
1993
- b == null || b(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1994
- C == null || C(_, !1, "casino_en_vivo");
2000
+ I == null || I(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2001
+ O == null || O(_, !1, "casino_en_vivo");
1995
2002
  });
1996
- }, I = () => {
2003
+ }, C = () => {
1997
2004
  h({
1998
2005
  element: "casino_en_vivo_view_more",
1999
2006
  label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Ver más`,
2000
2007
  target: "https://www.olimpo.bet/casino-en-vivo",
2001
2008
  event_type: "click",
2002
- module_id: p,
2009
+ module_id: m,
2003
2010
  metadata: {
2004
2011
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2005
2012
  },
2006
2013
  tags: { section: "OraculoSeccionCasinoEnVivo" }
2007
2014
  }), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2008
2015
  };
2009
- return /* @__PURE__ */ v(
2010
- F,
2016
+ return /* @__PURE__ */ b(
2017
+ q,
2011
2018
  {
2012
- className: l,
2019
+ className: c,
2013
2020
  sx: {
2014
2021
  position: "relative",
2015
2022
  color: "white",
@@ -2017,7 +2024,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2017
2024
  },
2018
2025
  children: [
2019
2026
  /* @__PURE__ */ t(
2020
- F,
2027
+ q,
2021
2028
  {
2022
2029
  sx: {
2023
2030
  position: "absolute",
@@ -2044,8 +2051,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2044
2051
  }
2045
2052
  }
2046
2053
  ),
2047
- /* @__PURE__ */ v(
2048
- F,
2054
+ /* @__PURE__ */ b(
2055
+ q,
2049
2056
  {
2050
2057
  sx: {
2051
2058
  position: "relative",
@@ -2062,9 +2069,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2062
2069
  textAlign: { xs: "center", md: "left" }
2063
2070
  },
2064
2071
  children: [
2065
- /* @__PURE__ */ v(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2072
+ /* @__PURE__ */ b(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2066
2073
  /* @__PURE__ */ t(
2067
- de,
2074
+ ue,
2068
2075
  {
2069
2076
  variant: "h4",
2070
2077
  sx: {
@@ -2077,7 +2084,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2077
2084
  }
2078
2085
  ),
2079
2086
  /* @__PURE__ */ t(
2080
- de,
2087
+ ue,
2081
2088
  {
2082
2089
  sx: {
2083
2090
  fontSize: { xs: 14, md: 18 },
@@ -2088,18 +2095,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2088
2095
  children: n
2089
2096
  }
2090
2097
  ),
2091
- /* @__PURE__ */ t(F, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
2098
+ /* @__PURE__ */ t(q, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
2092
2099
  X,
2093
2100
  {
2094
2101
  variant: "primary",
2095
2102
  size: "md",
2096
- onClick: I,
2103
+ onClick: C,
2097
2104
  children: "Ver más"
2098
2105
  }
2099
2106
  ) })
2100
2107
  ] }),
2101
2108
  /* @__PURE__ */ t(
2102
- F,
2109
+ q,
2103
2110
  {
2104
2111
  sx: {
2105
2112
  display: "flex",
@@ -2109,28 +2116,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2109
2116
  py: { xs: 3, md: 0 },
2110
2117
  alignItems: "center"
2111
2118
  },
2112
- children: (g != null ? g : []).slice(0, 3).map((_, b) => {
2113
- var C;
2119
+ children: (p != null ? p : []).slice(0, 3).map((_, I) => {
2120
+ var O;
2114
2121
  return /* @__PURE__ */ t(
2115
2122
  wa,
2116
2123
  {
2117
- logo: `https://olimpo.bet${_.background ? _.background : (C = _.logo) != null ? C : ""}`,
2124
+ logo: `https://olimpo.bet${_.background ? _.background : (O = _.logo) != null ? O : ""}`,
2118
2125
  provider: _.provider,
2119
2126
  providerName: _.web_name,
2120
2127
  machine: _.machine,
2121
- onClick: () => x(_)
2128
+ onClick: () => v(_)
2122
2129
  },
2123
- cn(_, b)
2130
+ cn(_, I)
2124
2131
  );
2125
2132
  })
2126
2133
  }
2127
2134
  ),
2128
- /* @__PURE__ */ t(F, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
2135
+ /* @__PURE__ */ t(q, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
2129
2136
  X,
2130
2137
  {
2131
2138
  variant: "primary",
2132
2139
  size: "lg",
2133
- onClick: I,
2140
+ onClick: C,
2134
2141
  children: "Ver más"
2135
2142
  }
2136
2143
  ) })
@@ -2154,10 +2161,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2154
2161
  var n, o;
2155
2162
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2156
2163
  }, pn = (e, a = !0, n = 1) => {
2157
- const o = e.map((s, l) => {
2164
+ const o = e.map((s, c) => {
2158
2165
  var f;
2159
2166
  return {
2160
- id: xt(s, l),
2167
+ id: xt(s, c),
2161
2168
  imageUrl: (f = s.logo) != null ? f : "",
2162
2169
  ...s.background ? { background: s.background } : {}
2163
2170
  };
@@ -2190,16 +2197,16 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2190
2197
  onViewMore: i,
2191
2198
  mosaicFirst: r = !0,
2192
2199
  gridSize: s = 1,
2193
- isPersonalize: l = !1
2200
+ isPersonalize: c = !1
2194
2201
  }) => {
2195
- const f = ae(), h = ne(), u = se(), p = V(null), [d, c] = K({ isStart: !0, isEnd: !1 }), g = mn(l), { resolvedItems: x, loading: I } = rn(
2202
+ const f = ae(), h = ne(), u = le(), m = V(null), [d, g] = Z({ isStart: !0, isEnd: !1 }), p = mn(c), { resolvedItems: v, loading: C } = rn(
2196
2203
  e,
2197
- g
2198
- ), _ = g ? x : Array.isArray(e) ? e : [], b = () => {
2199
- var $;
2204
+ p
2205
+ ), _ = p ? v : Array.isArray(e) ? e : [], I = () => {
2206
+ var N;
2200
2207
  f({
2201
2208
  element: "casino_prev",
2202
- label: `${h} - OraculoSeccionCasino ${l ? " - personalize" : ""} - Anterior`,
2209
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
2203
2210
  target: "prev",
2204
2211
  event_type: "click",
2205
2212
  module_id: u,
@@ -2207,12 +2214,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2207
2214
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2208
2215
  },
2209
2216
  tags: { section: "OraculoSeccionCasino" }
2210
- }), ($ = p.current) == null || $.prev();
2211
- }, C = () => {
2212
- var $;
2217
+ }), (N = m.current) == null || N.prev();
2218
+ }, O = () => {
2219
+ var N;
2213
2220
  f({
2214
2221
  element: "casino_next",
2215
- label: `${h} - OraculoSeccionCasino ${l ? " - personalize" : ""} - Siguiente`,
2222
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
2216
2223
  target: "next",
2217
2224
  event_type: "click",
2218
2225
  module_id: u,
@@ -2220,11 +2227,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2220
2227
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2221
2228
  },
2222
2229
  tags: { section: "OraculoSeccionCasino" }
2223
- }), ($ = p.current) == null || $.next();
2224
- }, q = () => {
2230
+ }), (N = m.current) == null || N.next();
2231
+ }, D = () => {
2225
2232
  if (f({
2226
2233
  element: "casino_view_more",
2227
- label: `${h} - OraculoSeccionCasino ${l ? " - personalize" : ""} - Ver más`,
2234
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
2228
2235
  target: "https://www.olimpo.bet/casino",
2229
2236
  event_type: "click",
2230
2237
  module_id: u,
@@ -2237,16 +2244,16 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2237
2244
  return;
2238
2245
  }
2239
2246
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2240
- }, T = ($ = !0, y = 4) => {
2241
- const E = (z) => Array.from({ length: z }, (R, U) => ({
2247
+ }, y = (N = !0, x = 4) => {
2248
+ const T = (z) => Array.from({ length: z }, (R, U) => ({
2242
2249
  id: `sk-${z}-${U}`,
2243
2250
  imageUrl: ""
2244
2251
  })), L = [];
2245
- return $ && L.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), L.push({ id: "grid-loading", kind: "grid", items: E(y) }), L;
2246
- }, k = g ? I : !Array.isArray(e) || e.length === 0, O = De("(max-width:950px)"), M = k ? T(r, s) : pn(_, r, s);
2247
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2248
- /* @__PURE__ */ v(
2249
- F,
2252
+ return N && L.push({ id: "mosaic-loading", kind: "mosaic", items: T(5) }), L.push({ id: "grid-loading", kind: "grid", items: T(x) }), L;
2253
+ }, $ = p ? C : !Array.isArray(e) || e.length === 0, E = De("(max-width:950px)"), A = $ ? y(r, s) : pn(_, r, s);
2254
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2255
+ /* @__PURE__ */ b(
2256
+ q,
2250
2257
  {
2251
2258
  sx: {
2252
2259
  display: "grid",
@@ -2261,7 +2268,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2261
2268
  },
2262
2269
  children: [
2263
2270
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2264
- /* @__PURE__ */ v(F, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2271
+ /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2265
2272
  /* @__PURE__ */ t(
2266
2273
  X,
2267
2274
  {
@@ -2269,7 +2276,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2269
2276
  variant: "secondary",
2270
2277
  iconOnly: !0,
2271
2278
  leftIcon: /* @__PURE__ */ t(lt, {}),
2272
- onClick: b,
2279
+ onClick: I,
2273
2280
  disabled: d.isStart
2274
2281
  }
2275
2282
  ),
@@ -2280,25 +2287,25 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2280
2287
  variant: "secondary",
2281
2288
  iconOnly: !0,
2282
2289
  rightIcon: /* @__PURE__ */ t(ct, {}),
2283
- onClick: C,
2290
+ onClick: O,
2284
2291
  disabled: d.isEnd
2285
2292
  }
2286
2293
  )
2287
2294
  ] }),
2288
- /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: q, children: "Ver más" }) })
2295
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2289
2296
  ]
2290
2297
  }
2291
2298
  ),
2292
2299
  /* @__PURE__ */ t(
2293
2300
  he,
2294
2301
  {
2295
- ref: p,
2296
- items: M,
2302
+ ref: m,
2303
+ items: A,
2297
2304
  perPage: void 0,
2298
2305
  gap: "16px",
2299
2306
  enableHorizontalWheel: !0,
2300
2307
  options: { autoWidth: !0, trimSpace: "move" },
2301
- showRightGradient: !O,
2308
+ showRightGradient: !E,
2302
2309
  breakpoints: {
2303
2310
  400: {
2304
2311
  gap: "4px",
@@ -2316,38 +2323,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2316
2323
  padding: { left: "24px", right: "24px" }
2317
2324
  }
2318
2325
  },
2319
- renderItem: ($) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2326
+ renderItem: (N) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2320
2327
  ft,
2321
2328
  {
2322
- items: $.items,
2323
- layout: $.kind === "mosaic" ? "mosaic" : "grid",
2324
- loading: k,
2325
- onClick: (y) => {
2326
- if (k) return;
2327
- const E = _.find(
2328
- (R, U) => String(xt(R, U)) === String(y.id)
2329
+ items: N.items,
2330
+ layout: N.kind === "mosaic" ? "mosaic" : "grid",
2331
+ loading: $,
2332
+ onClick: (x) => {
2333
+ if ($) return;
2334
+ const T = _.find(
2335
+ (R, U) => String(xt(R, U)) === String(x.id)
2329
2336
  );
2330
- if (!E) return;
2331
- o == null || o(E), f({
2337
+ if (!T) return;
2338
+ o == null || o(T), f({
2332
2339
  element: "casino_game_card",
2333
- label: `${h} - OraculoSeccionCasino ${l ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
2334
- target: String(E.machine || "unknown"),
2340
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(T.machine || "unknown")}`,
2341
+ target: String(T.machine || "unknown"),
2335
2342
  event_type: "click",
2336
2343
  module_id: u,
2337
2344
  metadata: {
2338
2345
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2339
2346
  },
2340
2347
  tags: {
2341
- game_name: String(E.machine || "unknown"),
2348
+ game_name: String(T.machine || "unknown"),
2342
2349
  section: a || "Casino"
2343
2350
  }
2344
2351
  });
2345
- const L = pe("showIframe"), z = pe("loadMachine");
2346
- L == null || L(), z == null || z(E, !1, "CASINO");
2352
+ const L = se("showIframe"), z = se("loadMachine");
2353
+ L == null || L(), z == null || z(T, !1, "CASINO");
2347
2354
  }
2348
2355
  }
2349
2356
  ) }),
2350
- onMove: ({ isStart: $, isEnd: y }) => c({ isStart: $, isEnd: y })
2357
+ onMove: ({ isStart: N, isEnd: x }) => g({ isStart: N, isEnd: x })
2351
2358
  }
2352
2359
  )
2353
2360
  ] }) });
@@ -2365,10 +2372,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2365
2372
  var n, o;
2366
2373
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2367
2374
  }, hn = (e, a = !0, n = 1) => {
2368
- const o = e.map((s, l) => {
2375
+ const o = e.map((s, c) => {
2369
2376
  var f;
2370
2377
  return {
2371
- id: wt(s, l),
2378
+ id: wt(s, c),
2372
2379
  imageUrl: (f = s.logo) != null ? f : "",
2373
2380
  ...s.background ? { background: s.background } : {}
2374
2381
  };
@@ -2415,44 +2422,44 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2415
2422
  onViewMore: i,
2416
2423
  mosaicFirst: r = !0,
2417
2424
  gridSize: s = 1,
2418
- isPersonalize: l = !1
2425
+ isPersonalize: c = !1
2419
2426
  }) => {
2420
- const f = V(null), [h, u] = K({ isStart: !0, isEnd: !1 }), p = ae(), d = ne(), c = se(), g = gn(l), { resolvedItems: x, loading: I } = sn(
2427
+ const f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), g = le(), p = gn(c), { resolvedItems: v, loading: C } = sn(
2421
2428
  e,
2422
- g
2423
- ), _ = g ? x : Array.isArray(e) ? e : [], b = () => {
2424
- var M;
2425
- p({
2429
+ p
2430
+ ), _ = p ? v : Array.isArray(e) ? e : [], I = () => {
2431
+ var A;
2432
+ m({
2426
2433
  element: "virtuales_prev",
2427
- label: `${d} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Anterior`,
2434
+ label: `${d} - OraculoSeccionVirtuales${p ? " - personalize" : ""} - Anterior`,
2428
2435
  target: "prev",
2429
2436
  event_type: "click",
2430
- module_id: c,
2437
+ module_id: g,
2431
2438
  metadata: {
2432
2439
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2433
2440
  },
2434
2441
  tags: { section: "OraculoSeccionVirtuales" }
2435
- }), (M = f.current) == null || M.prev();
2436
- }, C = () => {
2437
- var M;
2438
- p({
2442
+ }), (A = f.current) == null || A.prev();
2443
+ }, O = () => {
2444
+ var A;
2445
+ m({
2439
2446
  element: "virtuales_next",
2440
- label: `${d} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Siguiente`,
2447
+ label: `${d} - OraculoSeccionVirtuales${p ? " - personalize" : ""} - Siguiente`,
2441
2448
  target: "next",
2442
2449
  event_type: "click",
2443
- module_id: c,
2450
+ module_id: g,
2444
2451
  metadata: {
2445
2452
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2446
2453
  },
2447
2454
  tags: { section: "OraculoSeccionVirtuales" }
2448
- }), (M = f.current) == null || M.next();
2449
- }, q = () => {
2450
- if (p({
2455
+ }), (A = f.current) == null || A.next();
2456
+ }, D = () => {
2457
+ if (m({
2451
2458
  element: "virtuales_view_more",
2452
- label: `${d} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Ver más`,
2459
+ label: `${d} - OraculoSeccionVirtuales${p ? " - personalize" : ""} - Ver más`,
2453
2460
  target: "https://www.olimpo.bet/juegos-virtuales",
2454
2461
  event_type: "click",
2455
- module_id: c,
2462
+ module_id: g,
2456
2463
  metadata: {
2457
2464
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2458
2465
  },
@@ -2462,10 +2469,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2462
2469
  return;
2463
2470
  }
2464
2471
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2465
- }, T = g ? I : !Array.isArray(e) || e.length === 0, k = xe("(max-width:950px)"), O = T ? bn(r, s) : hn(_, r, s);
2466
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2467
- /* @__PURE__ */ v(
2468
- F,
2472
+ }, y = p ? C : !Array.isArray(e) || e.length === 0, $ = xe("(max-width:950px)"), E = y ? bn(r, s) : hn(_, r, s);
2473
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2474
+ /* @__PURE__ */ b(
2475
+ q,
2469
2476
  {
2470
2477
  sx: {
2471
2478
  display: "grid",
@@ -2480,7 +2487,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2480
2487
  },
2481
2488
  children: [
2482
2489
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2483
- /* @__PURE__ */ v(F, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2490
+ /* @__PURE__ */ b(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2484
2491
  /* @__PURE__ */ t(
2485
2492
  X,
2486
2493
  {
@@ -2488,7 +2495,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2488
2495
  variant: "secondary",
2489
2496
  iconOnly: !0,
2490
2497
  leftIcon: /* @__PURE__ */ t(lt, {}),
2491
- onClick: b,
2498
+ onClick: I,
2492
2499
  disabled: h.isStart
2493
2500
  }
2494
2501
  ),
@@ -2499,12 +2506,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2499
2506
  variant: "secondary",
2500
2507
  iconOnly: !0,
2501
2508
  rightIcon: /* @__PURE__ */ t(ct, {}),
2502
- onClick: C,
2509
+ onClick: O,
2503
2510
  disabled: h.isEnd
2504
2511
  }
2505
2512
  )
2506
2513
  ] }),
2507
- /* @__PURE__ */ t(F, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: q, children: "Ver más" }) })
2514
+ /* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(X, { variant: "secondary", onClick: D, children: "Ver más" }) })
2508
2515
  ]
2509
2516
  }
2510
2517
  ),
@@ -2512,7 +2519,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2512
2519
  he,
2513
2520
  {
2514
2521
  ref: f,
2515
- items: O,
2522
+ items: E,
2516
2523
  perPage: void 0,
2517
2524
  gap: "16px",
2518
2525
  breakpoints: {
@@ -2533,50 +2540,50 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2533
2540
  }
2534
2541
  },
2535
2542
  enableHorizontalWheel: !0,
2536
- showRightGradient: !k,
2543
+ showRightGradient: !$,
2537
2544
  options: { autoWidth: !0, trimSpace: "move" },
2538
- renderItem: (M) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2545
+ renderItem: (A) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2539
2546
  ft,
2540
2547
  {
2541
- items: M.items,
2542
- layout: M.kind === "mosaic" ? "mosaic" : "grid",
2543
- loading: T,
2544
- onClick: ($) => {
2545
- if (T) return;
2546
- const y = _.find(
2547
- (z, R) => String(wt(z, R)) === String($.id)
2548
+ items: A.items,
2549
+ layout: A.kind === "mosaic" ? "mosaic" : "grid",
2550
+ loading: y,
2551
+ onClick: (N) => {
2552
+ if (y) return;
2553
+ const x = _.find(
2554
+ (z, R) => String(wt(z, R)) === String(N.id)
2548
2555
  );
2549
- if (!y) {
2556
+ if (!x) {
2550
2557
  console.warn(
2551
2558
  "[virtuales] no se encontró game para id:",
2552
- $.id
2559
+ N.id
2553
2560
  );
2554
2561
  return;
2555
2562
  }
2556
- o == null || o(y), p({
2563
+ o == null || o(x), m({
2557
2564
  element: "virtuales_game_card",
2558
- label: `${d} - OraculoSeccionVirtuales${g ? " - personalize" : ""} - Game: ${String(y.machine || "unknown")}`,
2559
- target: String(y.machine || "unknown"),
2565
+ label: `${d} - OraculoSeccionVirtuales${p ? " - personalize" : ""} - Game: ${String(x.machine || "unknown")}`,
2566
+ target: String(x.machine || "unknown"),
2560
2567
  event_type: "click",
2561
- module_id: c,
2568
+ module_id: g,
2562
2569
  metadata: {
2563
2570
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2564
2571
  },
2565
2572
  tags: {
2566
- game_name: String(y.machine || "unknown"),
2573
+ game_name: String(x.machine || "unknown"),
2567
2574
  section: a || "Virtuales"
2568
2575
  }
2569
2576
  });
2570
- const E = pe("showIframe"), L = pe("loadMachine");
2571
- E == null || E(), L == null || L(
2572
- y,
2577
+ const T = se("showIframe"), L = se("loadMachine");
2578
+ T == null || T(), L == null || L(
2579
+ x,
2573
2580
  !1,
2574
- g ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2581
+ p ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2575
2582
  );
2576
2583
  }
2577
2584
  }
2578
2585
  ) }),
2579
- onMove: ({ isStart: M, isEnd: $ }) => u({ isStart: M, isEnd: $ })
2586
+ onMove: ({ isStart: A, isEnd: N }) => u({ isStart: A, isEnd: N })
2580
2587
  }
2581
2588
  )
2582
2589
  ] }) });
@@ -2618,87 +2625,87 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2618
2625
  items: n,
2619
2626
  backgroundImageUrl: o
2620
2627
  }) => {
2621
- const i = ae(), r = ne(), s = xe("(max-width: 767px)"), l = n.length > 1, f = V(null), h = V(null), u = V(!1), p = V(!1), [d, c] = K(0), [g, x] = K({ isStart: !0, isEnd: !1 });
2622
- ee(() => {
2623
- const y = setTimeout(() => {
2628
+ const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, f = V(null), h = V(null), u = V(!1), m = V(!1), [d, g] = Z(0), [p, v] = Z({ isStart: !0, isEnd: !1 });
2629
+ Q(() => {
2630
+ const x = setTimeout(() => {
2624
2631
  u.current = !0;
2625
2632
  }, 500);
2626
- return () => clearTimeout(y);
2633
+ return () => clearTimeout(x);
2627
2634
  }, []);
2628
- const I = V(g);
2629
- ee(() => {
2630
- I.current = g;
2631
- }, [g]);
2632
- const _ = V(!1), b = V(null), C = n == null ? void 0 : n[d], q = ie(
2635
+ const C = V(p);
2636
+ Q(() => {
2637
+ C.current = p;
2638
+ }, [p]);
2639
+ const _ = V(!1), I = V(null), O = n == null ? void 0 : n[d], D = ie(
2633
2640
  () => {
2634
- var y, E;
2635
- return (E = (y = C == null ? void 0 : C.backgroundImageUrl) != null ? y : o) != null ? E : "";
2641
+ var x, T;
2642
+ return (T = (x = O == null ? void 0 : O.backgroundImageUrl) != null ? x : o) != null ? T : "";
2636
2643
  },
2637
- [C, o]
2638
- ), T = _n(q), k = !n || n.length === 0, O = (y, E) => {
2644
+ [O, o]
2645
+ ), y = _n(D), $ = !n || n.length === 0, E = (x, T) => {
2639
2646
  i({
2640
2647
  element: "welcome_banner_button",
2641
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${y.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
2648
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${x.title || "OraculoSeccionBonoBienvenida - Banner " + (T + 1)}`,
2642
2649
  target: "action",
2643
2650
  event_type: "click",
2644
2651
  module_id: 301,
2645
2652
  metadata: {
2646
2653
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2647
- banner_position: E + 1,
2654
+ banner_position: T + 1,
2648
2655
  banner_total: (n == null ? void 0 : n.length) || 0
2649
2656
  },
2650
2657
  tags: {
2651
- banner_title: y.title || "no_title",
2652
- button_text: y.buttonText || "no_text"
2658
+ banner_title: x.title || "no_title",
2659
+ button_text: x.buttonText || "no_text"
2653
2660
  }
2654
- }), y.onButtonClick && y.onButtonClick();
2655
- }, M = (y) => {
2661
+ }), x.onButtonClick && x.onButtonClick();
2662
+ }, A = (x) => {
2656
2663
  if (!u.current) return;
2657
- if (p.current) {
2658
- p.current = !1;
2664
+ if (m.current) {
2665
+ m.current = !1;
2659
2666
  return;
2660
2667
  }
2661
- const E = n == null ? void 0 : n[y];
2668
+ const T = n == null ? void 0 : n[x];
2662
2669
  i({
2663
2670
  element: "welcome_banner_carousel",
2664
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (y + 1)}`,
2671
+ label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(T == null ? void 0 : T.title) || "OraculoSeccionBonoBienvenida - Banner " + (x + 1)}`,
2665
2672
  target: "no_url",
2666
2673
  event_type: "view",
2667
2674
  module_id: 301,
2668
2675
  metadata: {
2669
2676
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2670
- slide_index: y + 1,
2677
+ slide_index: x + 1,
2671
2678
  total_slides: (n == null ? void 0 : n.length) || 0,
2672
2679
  interaction_type: "manual_slide"
2673
2680
  },
2674
2681
  tags: {
2675
- banner_position: String(y + 1),
2676
- banner_title: (E == null ? void 0 : E.title) || "no_title"
2682
+ banner_position: String(x + 1),
2683
+ banner_title: (T == null ? void 0 : T.title) || "no_title"
2677
2684
  }
2678
2685
  });
2679
2686
  };
2680
- ee(() => {
2681
- const y = h.current;
2682
- if (!y) return;
2683
- const E = 6, L = 380, z = (R) => {
2684
- var D, G;
2685
- if (k || R.ctrlKey || _.current) return;
2687
+ Q(() => {
2688
+ const x = h.current;
2689
+ if (!x) return;
2690
+ const T = 6, L = 380, z = (R) => {
2691
+ var w, F;
2692
+ if ($ || R.ctrlKey || _.current) return;
2686
2693
  const U = R.deltaX, W = R.deltaY;
2687
- if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < E) return;
2688
- const w = U > 0;
2689
- w && I.current.isEnd || !w && I.current.isStart || (R.preventDefault(), _.current = !0, w ? (D = f.current) == null || D.next() : (G = f.current) == null || G.prev(), b.current && window.clearTimeout(b.current), b.current = window.setTimeout(() => {
2694
+ if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < T) return;
2695
+ const G = U > 0;
2696
+ G && C.current.isEnd || !G && C.current.isStart || (R.preventDefault(), _.current = !0, G ? (w = f.current) == null || w.next() : (F = f.current) == null || F.prev(), I.current && window.clearTimeout(I.current), I.current = window.setTimeout(() => {
2690
2697
  _.current = !1;
2691
2698
  }, L));
2692
2699
  };
2693
- return y.addEventListener("wheel", z, { passive: !1 }), () => {
2694
- y.removeEventListener("wheel", z), b.current && window.clearTimeout(b.current);
2700
+ return x.addEventListener("wheel", z, { passive: !1 }), () => {
2701
+ x.removeEventListener("wheel", z), I.current && window.clearTimeout(I.current);
2695
2702
  };
2696
- }, [k]);
2697
- const $ = (y, E, L) => {
2703
+ }, [$]);
2704
+ const N = (x, T, L) => {
2698
2705
  var U, W;
2699
- const z = (U = y.headline) != null ? U : e, R = (W = y.headline2) != null ? W : a;
2700
- return E ? /* @__PURE__ */ v(
2701
- F,
2706
+ const z = (U = x.headline) != null ? U : e, R = (W = x.headline2) != null ? W : a;
2707
+ return T ? /* @__PURE__ */ b(
2708
+ q,
2702
2709
  {
2703
2710
  sx: {
2704
2711
  maxWidth: 1200,
@@ -2711,7 +2718,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2711
2718
  },
2712
2719
  children: [
2713
2720
  (z || R) && /* @__PURE__ */ t(
2714
- F,
2721
+ q,
2715
2722
  {
2716
2723
  sx: {
2717
2724
  display: "flex",
@@ -2719,44 +2726,44 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2719
2726
  justifyContent: "flex-start",
2720
2727
  minHeight: "100%"
2721
2728
  },
2722
- children: /* @__PURE__ */ v(F, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2723
- z && /* @__PURE__ */ t(de, { component: "span", sx: et, children: z }),
2724
- R && /* @__PURE__ */ v(me, { children: [
2729
+ children: /* @__PURE__ */ b(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2730
+ z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2731
+ R && /* @__PURE__ */ b(pe, { children: [
2725
2732
  /* @__PURE__ */ t("br", {}),
2726
- /* @__PURE__ */ t(de, { component: "span", sx: tt, children: R })
2733
+ /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
2727
2734
  ] })
2728
2735
  ] })
2729
2736
  }
2730
2737
  ),
2731
- /* @__PURE__ */ t(F, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(F, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2738
+ /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(q, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2732
2739
  Je,
2733
2740
  {
2734
- ...y,
2735
- onButtonClick: () => O(y, L),
2741
+ ...x,
2742
+ onButtonClick: () => E(x, L),
2736
2743
  variant: "large"
2737
2744
  }
2738
2745
  ) }) })
2739
2746
  ]
2740
2747
  }
2741
- ) : /* @__PURE__ */ v(F, { sx: { textAlign: "center" }, children: [
2742
- (z || R) && /* @__PURE__ */ v(F, { sx: Qe, children: [
2743
- z && /* @__PURE__ */ t(de, { component: "span", sx: et, children: z }),
2744
- R && /* @__PURE__ */ v(me, { children: [
2748
+ ) : /* @__PURE__ */ b(q, { sx: { textAlign: "center" }, children: [
2749
+ (z || R) && /* @__PURE__ */ b(q, { sx: Qe, children: [
2750
+ z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
2751
+ R && /* @__PURE__ */ b(pe, { children: [
2745
2752
  /* @__PURE__ */ t("br", {}),
2746
- /* @__PURE__ */ t(de, { component: "span", sx: tt, children: R })
2753
+ /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
2747
2754
  ] })
2748
2755
  ] }),
2749
- /* @__PURE__ */ t(F, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2756
+ /* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2750
2757
  Je,
2751
2758
  {
2752
- ...y,
2753
- onButtonClick: () => O(y, L),
2759
+ ...x,
2760
+ onButtonClick: () => E(x, L),
2754
2761
  variant: "small"
2755
2762
  }
2756
2763
  ) })
2757
2764
  ] });
2758
2765
  };
2759
- return /* @__PURE__ */ v(F, { component: "section", sx: T, children: [
2766
+ return /* @__PURE__ */ b(q, { component: "section", sx: y, children: [
2760
2767
  /* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
2761
2768
  he,
2762
2769
  {
@@ -2774,34 +2781,34 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2774
2781
  // arrows: false,
2775
2782
  // drag: true,
2776
2783
  },
2777
- renderItem: (y, E) => /* @__PURE__ */ t(F, { sx: { width: "100%" }, children: $(y, !s, E) }),
2778
- onMove: ({ index: y, isStart: E, isEnd: L }) => {
2779
- c(y), typeof E == "boolean" && typeof L == "boolean" && x({ isStart: E, isEnd: L }), M(y);
2784
+ renderItem: (x, T) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: N(x, !s, T) }),
2785
+ onMove: ({ index: x, isStart: T, isEnd: L }) => {
2786
+ g(x), typeof T == "boolean" && typeof L == "boolean" && v({ isStart: T, isEnd: L }), A(x);
2780
2787
  }
2781
2788
  }
2782
2789
  ) }),
2783
- l && /* @__PURE__ */ t(F, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2790
+ c && /* @__PURE__ */ t(q, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2784
2791
  dt,
2785
2792
  {
2786
2793
  total: n.length,
2787
2794
  active: d,
2788
- onSelect: (y) => {
2789
- var E;
2795
+ onSelect: (x) => {
2796
+ var T;
2790
2797
  i({
2791
2798
  element: "welcome_banner_dots",
2792
- label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${y + 1}`,
2799
+ label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${x + 1}`,
2793
2800
  target: "no_url",
2794
2801
  event_type: "click",
2795
2802
  module_id: 301,
2796
2803
  metadata: {
2797
2804
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2798
- dot_index: y + 1,
2805
+ dot_index: x + 1,
2799
2806
  total_dots: n.length
2800
2807
  },
2801
2808
  tags: {
2802
2809
  navigation_type: "dot_click"
2803
2810
  }
2804
- }), c(y), (E = f.current) == null || E.go(y);
2811
+ }), g(x), (T = f.current) == null || T.go(x);
2805
2812
  }
2806
2813
  }
2807
2814
  ) })
@@ -2814,18 +2821,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2814
2821
  ariaLabel: i,
2815
2822
  user: r = null
2816
2823
  }) => {
2817
- const s = V(null), l = V(null), f = ae(), h = ne(), u = se();
2824
+ const s = V(null), c = V(null), f = ae(), h = ne(), u = le();
2818
2825
  if (!n) return null;
2819
- const p = async () => {
2820
- let x = r;
2821
- if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
2826
+ const m = async () => {
2827
+ let v = r;
2828
+ if ((!(v != null && v.user) || !(v != null && v.session)) && typeof window != "undefined")
2822
2829
  try {
2823
- const I = localStorage.getItem("user");
2824
- I && (x = JSON.parse(I));
2825
- } catch (I) {
2826
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", I);
2830
+ const C = localStorage.getItem("user");
2831
+ C && (v = JSON.parse(C));
2832
+ } catch (C) {
2833
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", C);
2827
2834
  }
2828
- if (!(x != null && x.user) || !(x != null && x.session))
2835
+ if (!(v != null && v.user) || !(v != null && v.session))
2829
2836
  return console.warn("User data missing"), null;
2830
2837
  f({
2831
2838
  element: "club_olimpo_button",
@@ -2839,40 +2846,40 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2839
2846
  tags: { section: "OraculoSeccionClubOlimpo" }
2840
2847
  });
2841
2848
  try {
2842
- const I = {
2843
- idUsuario: "PE" + x.user,
2844
- session_id: x.session,
2849
+ const C = {
2850
+ idUsuario: "PE" + v.user,
2851
+ session_id: v.session,
2845
2852
  pagina: "home"
2846
- }, b = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2853
+ }, I = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2847
2854
  method: "POST",
2848
2855
  headers: {
2849
2856
  "Content-Type": "application/json"
2850
2857
  },
2851
- body: JSON.stringify(I)
2858
+ body: JSON.stringify(C)
2852
2859
  });
2853
- if (b.ok) {
2854
- const C = await b.json();
2855
- return C == null ? void 0 : C.url;
2860
+ if (I.ok) {
2861
+ const O = await I.json();
2862
+ return O == null ? void 0 : O.url;
2856
2863
  }
2857
2864
  return null;
2858
- } catch (I) {
2859
- return console.error("[getMarketPlaceUrl]", I), null;
2865
+ } catch (C) {
2866
+ return console.error("[getMarketPlaceUrl]", C), null;
2860
2867
  }
2861
2868
  }, d = async () => {
2862
- const x = await p();
2863
- x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2864
- }, c = Array.isArray(n) ? n[o] : n;
2869
+ const v = await m();
2870
+ v ? window.location.href = v : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2871
+ }, g = Array.isArray(n) ? n[o] : n;
2865
2872
  Mt(() => {
2866
- if (!s.current || !l.current || typeof ResizeObserver == "undefined") return;
2867
- const x = s.current, I = l.current, _ = () => {
2868
- x.style.setProperty(
2873
+ if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
2874
+ const v = s.current, C = c.current, _ = () => {
2875
+ v.style.setProperty(
2869
2876
  "--orc-co-bottomH",
2870
- `${I.offsetHeight + 16}px`
2877
+ `${C.offsetHeight + 16}px`
2871
2878
  );
2872
- }, b = new ResizeObserver(_);
2873
- return b.observe(I), _(), () => b.disconnect();
2879
+ }, I = new ResizeObserver(_);
2880
+ return I.observe(C), _(), () => I.disconnect();
2874
2881
  }, []);
2875
- const g = [
2882
+ const p = [
2876
2883
  "orc-co-wrap",
2877
2884
  a ? "orc-co-fullBleed" : "",
2878
2885
  e
@@ -2881,18 +2888,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2881
2888
  "section",
2882
2889
  {
2883
2890
  ref: s,
2884
- className: g,
2885
- "aria-label": i || c.imgAlt || "Club Olimpo",
2886
- children: /* @__PURE__ */ t("div", { ref: l, children: /* @__PURE__ */ t(
2891
+ className: p,
2892
+ "aria-label": i || g.imgAlt || "Club Olimpo",
2893
+ children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
2887
2894
  Sa,
2888
2895
  {
2889
- text: c.text,
2896
+ text: g.text,
2890
2897
  onClick: d,
2891
- imgAlt: c.imgAlt,
2892
- buttonLabel: c.buttonLabel,
2893
- imgSrcMobile: c.imgMobile,
2894
- imgSrcDesktopBg: c.imgDesktopBg,
2895
- imgSrcDesktopLogo: c.imgDesktopLogo
2898
+ imgAlt: g.imgAlt,
2899
+ buttonLabel: g.buttonLabel,
2900
+ imgSrcMobile: g.imgMobile,
2901
+ imgSrcDesktopBg: g.imgDesktopBg,
2902
+ imgSrcDesktopLogo: g.imgDesktopLogo
2896
2903
  }
2897
2904
  ) })
2898
2905
  }
@@ -2909,16 +2916,16 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2909
2916
  };
2910
2917
  function Cn(e, a, n) {
2911
2918
  return n ? n.map((o) => {
2912
- var u, p;
2913
- const i = o.prePackCouponRows.flatMap((d) => In(d).map((c) => ({ eventId: d.eventId, outcomeId: c }))), r = new Set(i.map((d) => d.eventId)), s = new Set(i.map((d) => d.outcomeId)), l = new Map(i.map((d, c) => [d.outcomeId, c])), f = {};
2919
+ var u, m;
2920
+ const i = o.prePackCouponRows.flatMap((d) => In(d).map((g) => ({ eventId: d.eventId, outcomeId: g }))), r = new Set(i.map((d) => d.eventId)), s = new Set(i.map((d) => d.outcomeId)), c = new Map(i.map((d, g) => [d.outcomeId, g])), f = {};
2914
2921
  for (const d of a) {
2915
2922
  if (!r.has(d.eventId)) continue;
2916
- const c = d.outcomes.filter((g) => s.has(g.id)).map((g) => ({ ...g, position: l.get(g.id) }));
2917
- c.length && ((p = f[u = d.eventId]) != null || (f[u] = []), f[d.eventId].push({ ...d, outcomes: c }));
2923
+ const g = d.outcomes.filter((p) => s.has(p.id)).map((p) => ({ ...p, position: c.get(p.id) }));
2924
+ g.length && ((m = f[u = d.eventId]) != null || (f[u] = []), f[d.eventId].push({ ...d, outcomes: g }));
2918
2925
  }
2919
2926
  const h = e.filter((d) => r.has(d.id)).map((d) => {
2920
- var c;
2921
- return { ...d, betoffers: (c = f[d.id]) != null ? c : [] };
2927
+ var g;
2928
+ return { ...d, betoffers: (g = f[d.id]) != null ? g : [] };
2922
2929
  });
2923
2930
  return {
2924
2931
  couponId: o.id,
@@ -2945,78 +2952,78 @@ function Tn({
2945
2952
  onViewMore: o,
2946
2953
  className: i = ""
2947
2954
  }) {
2948
- const r = ae(), s = ne(), l = se(), f = V(null), [h, u] = K({ isStart: !0, isEnd: !1 }), [p, d] = K([]), c = "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", g = () => {
2949
- var T;
2955
+ const r = ae(), s = ne(), c = le(), f = V(null), [h, u] = Z({ isStart: !0, isEnd: !1 }), [m, d] = Z([]), g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", p = () => {
2956
+ var y;
2950
2957
  r({
2951
2958
  element: "evento_combinadas_prev",
2952
2959
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
2953
2960
  event_type: "click",
2954
- module_id: l,
2961
+ module_id: c,
2955
2962
  metadata: {
2956
2963
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2957
2964
  },
2958
2965
  tags: { section: "OraculoSeccionEventoCombinadas" }
2959
- }), (T = f.current) == null || T.prev();
2960
- }, x = () => {
2961
- var T;
2966
+ }), (y = f.current) == null || y.prev();
2967
+ }, v = () => {
2968
+ var y;
2962
2969
  r({
2963
2970
  element: "evento_combinadas_next",
2964
2971
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
2965
2972
  event_type: "click",
2966
- module_id: l,
2973
+ module_id: c,
2967
2974
  metadata: {
2968
2975
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2969
2976
  },
2970
2977
  tags: { section: "OraculoSeccionEventoCombinadas" }
2971
- }), (T = f.current) == null || T.next();
2972
- }, I = () => {
2978
+ }), (y = f.current) == null || y.next();
2979
+ }, C = () => {
2973
2980
  r({
2974
2981
  element: "evento_combinadas_ver_mas",
2975
2982
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
2976
2983
  event_type: "click",
2977
- module_id: l,
2984
+ module_id: c,
2978
2985
  metadata: {
2979
2986
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2980
2987
  },
2981
2988
  tags: { section: "OraculoSeccionEventoCombinadas" }
2982
2989
  }), za();
2983
- }, _ = ie(() => p.filter((T) => T.combinadoTotal !== null), [p]);
2984
- async function b() {
2985
- var T, k, O, M;
2990
+ }, _ = ie(() => m.filter((y) => y.combinadoTotal !== null), [m]);
2991
+ async function I() {
2992
+ var y, $, E, A;
2986
2993
  try {
2987
- const y = await (await fetch(c)).json(), E = (M = (O = (k = (T = y == null ? void 0 : y.group) == null ? void 0 : T.groups) == null ? void 0 : k.map((U) => U.id)) == null ? void 0 : O.filter(Boolean)) == null ? void 0 : M.join(",");
2988
- if (!E) {
2994
+ const x = await (await fetch(g)).json(), T = (A = (E = ($ = (y = x == null ? void 0 : x.group) == null ? void 0 : y.groups) == null ? void 0 : $.map((U) => U.id)) == null ? void 0 : E.filter(Boolean)) == null ? void 0 : A.join(",");
2995
+ if (!T) {
2989
2996
  console.error("Could not extract group ID");
2990
2997
  return;
2991
2998
  }
2992
- const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${E}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(L)).json();
2999
+ const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${T}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(L)).json();
2993
3000
  d(Cn(R.events, R.betOffers, R.prePackCoupons));
2994
- } catch ($) {
2995
- console.error("loadDataEventSpecial error:", $);
3001
+ } catch (N) {
3002
+ console.error("loadDataEventSpecial error:", N);
2996
3003
  }
2997
3004
  }
2998
- ee(() => {
2999
- b();
3005
+ Q(() => {
3006
+ I();
3000
3007
  }, []);
3001
- const C = i || void 0, q = xe("(max-width:950px)");
3002
- return _.length === 0 ? null : /* @__PURE__ */ t("section", { className: C, style: {
3008
+ const O = i || void 0, D = xe("(max-width:950px)");
3009
+ return _.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: {
3003
3010
  // paddingLeft: 16,
3004
3011
  // paddingRight: 16,
3005
3012
  width: "100%",
3006
3013
  boxSizing: "border-box"
3007
- }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3008
- /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ v(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3014
+ }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3015
+ /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3009
3016
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3010
- /* @__PURE__ */ v("div", { className: at.controls, children: [
3011
- /* @__PURE__ */ v(ue, { spacing: 1, columns: "auto auto", children: [
3017
+ /* @__PURE__ */ b("div", { className: at.controls, children: [
3018
+ /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
3012
3019
  /* @__PURE__ */ t(
3013
3020
  X,
3014
3021
  {
3015
3022
  ariaLabel: "Anterior",
3016
3023
  variant: "secondary",
3017
3024
  iconOnly: !0,
3018
- leftIcon: /* @__PURE__ */ t(Be, {}),
3019
- onClick: g,
3025
+ leftIcon: /* @__PURE__ */ t(Ae, {}),
3026
+ onClick: p,
3020
3027
  disabled: h.isStart
3021
3028
  }
3022
3029
  ),
@@ -3027,12 +3034,12 @@ function Tn({
3027
3034
  variant: "secondary",
3028
3035
  iconOnly: !0,
3029
3036
  rightIcon: /* @__PURE__ */ t(ze, {}),
3030
- onClick: x,
3037
+ onClick: v,
3031
3038
  disabled: h.isEnd
3032
3039
  }
3033
3040
  )
3034
3041
  ] }),
3035
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: I, children: "Ver más" })
3042
+ /* @__PURE__ */ t(X, { variant: "secondary", onClick: C, children: "Ver más" })
3036
3043
  ] })
3037
3044
  ] }) }),
3038
3045
  /* @__PURE__ */ t(
@@ -3045,12 +3052,12 @@ function Tn({
3045
3052
  options: { autoWidth: !0, trimSpace: "move" },
3046
3053
  useIndexAsKey: !0,
3047
3054
  enableHorizontalWheel: !0,
3048
- showRightGradient: !q,
3055
+ showRightGradient: !D,
3049
3056
  breakpoints: {
3050
3057
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3051
3058
  },
3052
- renderItem: (T) => /* @__PURE__ */ t(En, { coupon: T }),
3053
- onMove: ({ isStart: T, isEnd: k }) => u({ isStart: T, isEnd: k })
3059
+ renderItem: (y) => /* @__PURE__ */ t(En, { coupon: y }),
3060
+ onMove: ({ isStart: y, isEnd: $ }) => u({ isStart: y, isEnd: $ })
3054
3061
  }
3055
3062
  )
3056
3063
  ] }) });
@@ -3060,27 +3067,27 @@ function kn({}) {
3060
3067
  "div",
3061
3068
  {
3062
3069
  className: ke.cardWrapper,
3063
- children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1, children: [
3064
- /* @__PURE__ */ v(H, { spacing: 1, direction: "row", children: [
3070
+ children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1, children: [
3071
+ /* @__PURE__ */ b(H, { spacing: 1, direction: "row", children: [
3065
3072
  /* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
3066
3073
  /* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
3067
3074
  ] }),
3068
- /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3075
+ /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3069
3076
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
3070
3077
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
3071
3078
  /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
3072
3079
  ] }),
3073
- /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3080
+ /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3074
3081
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
3075
3082
  /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
3076
3083
  /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
3077
3084
  ] }),
3078
- /* @__PURE__ */ v(H, { spacing: 2, direction: "row", children: [
3085
+ /* @__PURE__ */ b(H, { spacing: 2, direction: "row", children: [
3079
3086
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3080
3087
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3081
3088
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
3082
3089
  ] }),
3083
- /* @__PURE__ */ v(H, { spacing: 2, direction: "row", children: [
3090
+ /* @__PURE__ */ b(H, { spacing: 2, direction: "row", children: [
3084
3091
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3085
3092
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3086
3093
  /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
@@ -3092,10 +3099,10 @@ function kn({}) {
3092
3099
  const $n = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Nn = {
3093
3100
  fadeWrapper: $n
3094
3101
  };
3095
- function Ae({ children: e }) {
3102
+ function Be({ children: e }) {
3096
3103
  return /* @__PURE__ */ t("div", { className: Nn.fadeWrapper, children: e });
3097
3104
  }
3098
- const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", An = {
3105
+ const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3099
3106
  padding: Mn
3100
3107
  };
3101
3108
  function St({
@@ -3105,50 +3112,50 @@ function St({
3105
3112
  buffer: o = 2,
3106
3113
  debounceMs: i = 250
3107
3114
  }) {
3108
- const [r, s] = K({}), l = V(/* @__PURE__ */ new Set()), f = V(0), h = V(null), u = V(null);
3109
- return ee(() => {
3115
+ const [r, s] = Z({}), c = V(/* @__PURE__ */ new Set()), f = V(0), h = V(null), u = V(null);
3116
+ return Q(() => {
3110
3117
  if (!(!e || e.length === 0))
3111
3118
  return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
3112
- var q, T;
3113
- const p = (q = a.start) != null ? q : 0, d = (T = a.end) != null ? T : 7, c = Math.max(0, p - o), g = Math.min(e.length - 1, d + o);
3114
- let x = c, I = g;
3119
+ var D, y;
3120
+ const m = (D = a.start) != null ? D : 0, d = (y = a.end) != null ? y : 7, g = Math.max(0, m - o), p = Math.min(e.length - 1, d + o);
3121
+ let v = g, C = p;
3115
3122
  const _ = u.current;
3116
- _ && (c > _.end && (x = _.end + 1), g < _.start && (I = _.start - 1)), u.current = { start: c, end: g };
3117
- const b = e.slice(x, I + 1).map((k) => k == null ? void 0 : k.id).filter((k) => !!k).filter((k) => !l.current.has(k)).filter((k) => !(k in r));
3118
- if (b.length === 0) return;
3119
- b.forEach((k) => l.current.add(k));
3120
- const C = ++f.current;
3123
+ _ && (g > _.end && (v = _.end + 1), p < _.start && (C = _.start - 1)), u.current = { start: g, end: p };
3124
+ const I = e.slice(v, C + 1).map(($) => $ == null ? void 0 : $.id).filter(($) => !!$).filter(($) => !c.current.has($)).filter(($) => !($ in r));
3125
+ if (I.length === 0) return;
3126
+ I.forEach(($) => c.current.add($));
3127
+ const O = ++f.current;
3121
3128
  (async () => {
3122
3129
  try {
3123
- const k = await n(b);
3124
- if (C !== f.current) {
3125
- b.forEach((M) => l.current.delete(M));
3130
+ const $ = await n(I);
3131
+ if (O !== f.current) {
3132
+ I.forEach((A) => c.current.delete(A));
3126
3133
  return;
3127
3134
  }
3128
- if (!(k != null && k.events)) {
3129
- b.forEach(
3130
- (M) => l.current.delete(M)
3135
+ if (!($ != null && $.events)) {
3136
+ I.forEach(
3137
+ (A) => c.current.delete(A)
3131
3138
  );
3132
3139
  return;
3133
3140
  }
3134
- s((M) => {
3135
- const $ = { ...M };
3136
- for (const [y, E] of Object.entries(k.events)) {
3137
- const L = Number(y);
3138
- $[L] || ($[L] = E);
3141
+ s((A) => {
3142
+ const N = { ...A };
3143
+ for (const [x, T] of Object.entries($.events)) {
3144
+ const L = Number(x);
3145
+ N[L] || (N[L] = T);
3139
3146
  }
3140
- return $;
3147
+ return N;
3141
3148
  });
3142
- const O = new Set(
3143
- Object.keys(k.events).map(Number)
3149
+ const E = new Set(
3150
+ Object.keys($.events).map(Number)
3144
3151
  );
3145
- b.forEach((M) => {
3146
- l.current.delete(M);
3152
+ I.forEach((A) => {
3153
+ c.current.delete(A);
3147
3154
  });
3148
- } catch (k) {
3149
- b.forEach(
3150
- (O) => l.current.delete(O)
3151
- ), console.error("Jersey fetch error", k);
3155
+ } catch ($) {
3156
+ I.forEach(
3157
+ (E) => c.current.delete(E)
3158
+ ), console.error("Jersey fetch error", $);
3152
3159
  }
3153
3160
  })();
3154
3161
  }, i), () => {
@@ -3156,17 +3163,17 @@ function St({
3156
3163
  };
3157
3164
  }, [e, a, o, i, n]), {
3158
3165
  jerseys: r,
3159
- isPending: l.current
3166
+ isPending: c.current
3160
3167
  };
3161
3168
  }
3162
- const Bn = (e) => {
3169
+ const An = (e) => {
3163
3170
  const a = ["esports", "cyber"];
3164
3171
  return e.filter((n) => {
3165
3172
  var r, s;
3166
3173
  const o = (r = n == null ? void 0 : n.event) == null ? void 0 : r.sport;
3167
3174
  if (typeof o != "string" || o !== "FOOTBALL") return !1;
3168
3175
  const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
3169
- return !a.some((l) => i.includes(l));
3176
+ return !a.some((c) => i.includes(c));
3170
3177
  });
3171
3178
  }, zn = fe.memo(Da);
3172
3179
  function Rn({
@@ -3176,106 +3183,106 @@ function Rn({
3176
3183
  onViewMore: o,
3177
3184
  className: i = ""
3178
3185
  }) {
3179
- const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [l, f] = K({ isStart: !0, isEnd: !1 }), [h, u] = K(null), [p, d] = K({ start: null, end: null }), [c, g] = K(null), x = V(!1), I = ae(), _ = ne(), b = se(), C = V(/* @__PURE__ */ new Map()), q = () => {
3186
+ const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), [h, u] = Z(null), [m, d] = Z({ start: null, end: null }), [g, p] = Z(null), v = V(!1), C = ae(), _ = ne(), I = le(), O = V(/* @__PURE__ */ new Map()), D = () => {
3180
3187
  var z;
3181
- I({
3188
+ C({
3182
3189
  element: "evento_en_vivo_prev",
3183
3190
  label: `${_} - OraculoSeccionEventoEnVivo - Anterior`,
3184
3191
  target: "prev",
3185
3192
  event_type: "click",
3186
- module_id: b,
3193
+ module_id: I,
3187
3194
  metadata: {
3188
3195
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3189
3196
  },
3190
3197
  tags: { section: "OraculoSeccionEventoEnVivo" }
3191
3198
  }), (z = s.current) == null || z.prev();
3192
- }, T = () => {
3199
+ }, y = () => {
3193
3200
  var z;
3194
- I({
3201
+ C({
3195
3202
  element: "evento_en_vivo_next",
3196
3203
  label: `${_} - OraculoSeccionEventoEnVivo - Siguiente`,
3197
3204
  target: "next",
3198
3205
  event_type: "click",
3199
- module_id: b,
3206
+ module_id: I,
3200
3207
  metadata: {
3201
3208
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3202
3209
  },
3203
3210
  tags: { section: "OraculoSeccionEventoEnVivo" }
3204
3211
  }), (z = s.current) == null || z.next();
3205
- }, k = () => {
3206
- I({
3212
+ }, $ = () => {
3213
+ C({
3207
3214
  element: "evento_en_vivo_view_more",
3208
3215
  label: `${_} - OraculoSeccionEventoEnVivo - Ver más`,
3209
3216
  target: "ver_mas",
3210
3217
  event_type: "click",
3211
- module_id: b,
3218
+ module_id: I,
3212
3219
  metadata: {
3213
3220
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3214
3221
  },
3215
3222
  tags: { section: "OraculoSeccionEventoEnVivo" }
3216
- }), Aa();
3217
- }, O = Ee(async () => {
3223
+ }), Ba();
3224
+ }, E = Ee(async () => {
3218
3225
  var z;
3219
3226
  try {
3220
- if (!x.current) {
3221
- x.current = !0;
3227
+ if (!v.current) {
3228
+ v.current = !0;
3222
3229
  try {
3223
- const D = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((z = D == null ? void 0 : D.data) == null ? void 0 : z.event_ids) || [], Z = /* @__PURE__ */ new Map();
3224
- G.forEach((Y, m) => Z.set(String(Y), m)), C.current = Z;
3225
- } catch (w) {
3226
- console.error("Order fetch failed, using default sorting", w);
3230
+ const w = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), F = ((z = w == null ? void 0 : w.data) == null ? void 0 : z.event_ids) || [], K = /* @__PURE__ */ new Map();
3231
+ F.forEach((Y, l) => K.set(String(Y), l)), O.current = K;
3232
+ } catch (G) {
3233
+ console.error("Order fetch failed, using default sorting", G);
3227
3234
  }
3228
3235
  }
3229
3236
  const R = await fetch(r);
3230
3237
  if (!R.ok) throw new Error("Failed to fetch live events");
3231
- const U = await R.json(), W = Bn(U.events);
3232
- if (C.current.size === 0)
3238
+ const U = await R.json(), W = An(U.events);
3239
+ if (O.current.size === 0)
3233
3240
  u(W);
3234
3241
  else {
3235
- const w = [...W].sort((D, G) => {
3236
- const Z = C.current.get(String(D.event.id)), Y = C.current.get(String(G.event.id));
3237
- return (Z !== void 0 ? Z : 1 / 0) - (Y !== void 0 ? Y : 1 / 0);
3242
+ const G = [...W].sort((w, F) => {
3243
+ const K = O.current.get(String(w.event.id)), Y = O.current.get(String(F.event.id));
3244
+ return (K !== void 0 ? K : 1 / 0) - (Y !== void 0 ? Y : 1 / 0);
3238
3245
  });
3239
- u(w);
3246
+ u(G);
3240
3247
  }
3241
3248
  } catch (R) {
3242
3249
  console.error("LoadData Error:", R);
3243
3250
  }
3244
3251
  }, []);
3245
- ee(() => {
3246
- O();
3247
- const z = setInterval(O, 2e4);
3252
+ Q(() => {
3253
+ E();
3254
+ const z = setInterval(E, 2e4);
3248
3255
  return () => clearInterval(z);
3249
- }, [O]);
3250
- const { jerseys: M } = St({
3256
+ }, [E]);
3257
+ const { jerseys: A } = St({
3251
3258
  events: (h == null ? void 0 : h.map((z) => z.event)) || [],
3252
3259
  // extract actual event objects
3253
- visibleRange: p,
3260
+ visibleRange: m,
3254
3261
  fetchJerseys: gt,
3255
3262
  buffer: 3,
3256
3263
  // same as your previous BUFFER
3257
3264
  debounceMs: 300
3258
3265
  // same as your previous debouncedVisibleRange
3259
- }), $ = i || void 0, y = h === null, E = ie(() => y ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [y, h]), L = xe("(max-width:950px)");
3260
- return !y && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
3266
+ }), N = i || void 0, x = h === null, T = ie(() => x ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [x, h]), L = xe("(max-width:950px)");
3267
+ return !x && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: N, style: {
3261
3268
  // paddingLeft: 16,
3262
3269
  // paddingRight: 16,
3263
3270
  width: "100%",
3264
3271
  boxSizing: "border-box"
3265
- }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3266
- /* @__PURE__ */ t("div", { className: An.padding, children: /* @__PURE__ */ v(ue, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3272
+ }, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3273
+ /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3267
3274
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3268
- /* @__PURE__ */ v("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3269
- /* @__PURE__ */ v(ue, { spacing: 1, columns: "auto auto", children: [
3275
+ /* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3276
+ /* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
3270
3277
  /* @__PURE__ */ t(
3271
3278
  X,
3272
3279
  {
3273
3280
  ariaLabel: "Anterior",
3274
3281
  variant: "secondary",
3275
3282
  iconOnly: !0,
3276
- leftIcon: /* @__PURE__ */ t(Be, {}),
3277
- onClick: q,
3278
- disabled: l.isStart
3283
+ leftIcon: /* @__PURE__ */ t(Ae, {}),
3284
+ onClick: D,
3285
+ disabled: c.isStart
3279
3286
  }
3280
3287
  ),
3281
3288
  /* @__PURE__ */ t(
@@ -3285,19 +3292,19 @@ function Rn({
3285
3292
  variant: "secondary",
3286
3293
  iconOnly: !0,
3287
3294
  rightIcon: /* @__PURE__ */ t(ze, {}),
3288
- onClick: T,
3289
- disabled: l.isEnd
3295
+ onClick: y,
3296
+ disabled: c.isEnd
3290
3297
  }
3291
3298
  )
3292
3299
  ] }),
3293
- /* @__PURE__ */ t(X, { variant: "secondary", onClick: k, children: "Ver más" })
3300
+ /* @__PURE__ */ t(X, { variant: "secondary", onClick: $, children: "Ver más" })
3294
3301
  ] })
3295
3302
  ] }) }),
3296
3303
  /* @__PURE__ */ t(
3297
3304
  he,
3298
3305
  {
3299
3306
  ref: s,
3300
- items: E,
3307
+ items: T,
3301
3308
  perPage: void 0,
3302
3309
  showRightGradient: !L,
3303
3310
  enableHorizontalWheel: !0,
@@ -3310,8 +3317,8 @@ function Rn({
3310
3317
  },
3311
3318
  renderItem: (z) => {
3312
3319
  var W;
3313
- const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in M ? M[R] : void 0;
3314
- return y ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(
3320
+ const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in A ? A[R] : void 0;
3321
+ return x ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3315
3322
  zn,
3316
3323
  {
3317
3324
  ...z,
@@ -3321,7 +3328,7 @@ function Rn({
3321
3328
  },
3322
3329
  onMove: ({ isStart: z, isEnd: R, visibleStart: U, visibleEnd: W }) => {
3323
3330
  f(
3324
- (w) => w.isStart === z && w.isEnd === R ? w : { isStart: z, isEnd: R }
3331
+ (G) => G.isStart === z && G.isEnd === R ? G : { isStart: z, isEnd: R }
3325
3332
  ), d({ start: U, end: W });
3326
3333
  }
3327
3334
  }
@@ -3329,25 +3336,25 @@ function Rn({
3329
3336
  ] }) });
3330
3337
  }
3331
3338
  function Ln() {
3332
- return /* @__PURE__ */ v("div", { className: be.cardContainer, children: [
3339
+ return /* @__PURE__ */ b("div", { className: be.cardContainer, children: [
3333
3340
  /* @__PURE__ */ t(mt, { title: "" }),
3334
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3335
- /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3341
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3342
+ /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3336
3343
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
3337
3344
  /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
3338
3345
  ] }),
3339
- /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3340
- /* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3346
+ /* @__PURE__ */ b(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3347
+ /* @__PURE__ */ b(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3341
3348
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
3342
3349
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
3343
3350
  ] }),
3344
3351
  /* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
3345
- /* @__PURE__ */ v(H, { direction: "row", spacing: 1, children: [
3352
+ /* @__PURE__ */ b(H, { direction: "row", spacing: 1, children: [
3346
3353
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3347
3354
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3348
3355
  /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
3349
3356
  ] }),
3350
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ v(H, { direction: "row", spacing: 1, children: [
3357
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ b(H, { direction: "row", spacing: 1, children: [
3351
3358
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3352
3359
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3353
3360
  /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
@@ -3368,7 +3375,7 @@ async function Vn(e, a = 2, n) {
3368
3375
  if (n.aborted)
3369
3376
  throw new DOMException("Aborted", "AbortError");
3370
3377
  const r = e.slice(i, i + a), s = await Promise.all(
3371
- r.map((l) => fetch(l, { signal: n }).then((f) => f.json()))
3378
+ r.map((c) => fetch(c, { signal: n }).then((f) => f.json()))
3372
3379
  );
3373
3380
  o.push(...s);
3374
3381
  }
@@ -3404,119 +3411,119 @@ function Hn({
3404
3411
  onViewMore: o,
3405
3412
  className: i = ""
3406
3413
  }) {
3407
- const r = ae(), s = ne(), l = se(), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, p] = K({ isStart: !0, isEnd: !1 }), [d, c] = K(null), [g, x] = K({ start: null, end: null }), I = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", _ = () => {
3414
+ const r = ae(), s = ne(), c = le(), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, m] = Z({ isStart: !0, isEnd: !1 }), [d, g] = Z(null), [p, v] = Z({ start: null, end: null }), C = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", _ = () => {
3408
3415
  r({
3409
3416
  element: "evento_semana_view_more",
3410
3417
  label: `${s} - OraculoSeccionEventoSemana - Ver más`,
3411
3418
  target: "ver_mas",
3412
3419
  event_type: "click",
3413
- module_id: l,
3420
+ module_id: c,
3414
3421
  metadata: {
3415
3422
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3416
3423
  },
3417
3424
  tags: { section: "OraculoSeccionEventoSemana" }
3418
- }), Ba();
3425
+ }), Aa();
3419
3426
  };
3420
- async function b($) {
3427
+ async function I(N) {
3421
3428
  var L, z;
3422
- let y = [], E = [];
3429
+ let x = [], T = [];
3423
3430
  try {
3424
3431
  const R = await fetch(
3425
3432
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
3426
- { signal: $ }
3433
+ { signal: N }
3427
3434
  );
3428
3435
  if (R.ok) {
3429
3436
  const U = await R.json();
3430
- y = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], E = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3437
+ x = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], T = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
3431
3438
  }
3432
3439
  } catch (R) {
3433
3440
  R.name !== "AbortError" && console.warn("Order API not available, using default group order");
3434
3441
  return;
3435
3442
  }
3436
3443
  try {
3437
- const W = (await (await fetch(f, { signal: $ })).json()).group.groups.find(
3438
- (m) => m.englishName === "Football"
3444
+ const W = (await (await fetch(f, { signal: N })).json()).group.groups.find(
3445
+ (l) => l.englishName === "Football"
3439
3446
  );
3440
3447
  if (!W || !Array.isArray(W.groups)) {
3441
3448
  console.error("Football groups not found");
3442
3449
  return;
3443
3450
  }
3444
- let w = [...W.groups];
3445
- if (y.length > 0) {
3446
- const m = new Map(
3447
- y.map((S, N) => [S, N])
3451
+ let G = [...W.groups];
3452
+ if (x.length > 0) {
3453
+ const l = new Map(
3454
+ x.map((S, k) => [S, k])
3448
3455
  );
3449
- w.sort((S, N) => {
3450
- const A = m.get(String(S.id)), B = m.get(String(N.id));
3451
- return A !== void 0 && B !== void 0 ? A - B : A !== void 0 ? -1 : B !== void 0 ? 1 : 0;
3456
+ G.sort((S, k) => {
3457
+ const M = l.get(String(S.id)), B = l.get(String(k.id));
3458
+ return M !== void 0 && B !== void 0 ? M - B : M !== void 0 ? -1 : B !== void 0 ? 1 : 0;
3452
3459
  });
3453
3460
  }
3454
- const G = w.slice(0, 5), Z = (m) => {
3461
+ const F = G.slice(0, 5), K = (l) => {
3455
3462
  const S = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3456
- if (m.groups && m.groups.length > 0) {
3457
- const N = m.groups[0];
3463
+ if (l.groups && l.groups.length > 0) {
3464
+ const k = l.groups[0];
3458
3465
  return [
3459
- `${S}/${m.termKey}/${N.termKey}/all/matches.json?${I}`
3466
+ `${S}/${l.termKey}/${k.termKey}/all/matches.json?${C}`
3460
3467
  ];
3461
3468
  }
3462
3469
  return [
3463
- `${S}/${m.termKey}/all/all/matches.json?${I}`
3470
+ `${S}/${l.termKey}/all/all/matches.json?${C}`
3464
3471
  ];
3465
- }, Y = G.flatMap(Z);
3466
- C(Y, E, $);
3472
+ }, Y = F.flatMap(K);
3473
+ O(Y, T, N);
3467
3474
  } catch (R) {
3468
3475
  console.error(R);
3469
3476
  }
3470
3477
  }
3471
- async function C($, y, E) {
3478
+ async function O(N, x, T) {
3472
3479
  try {
3473
- const L = await Vn($, 2, E);
3480
+ const L = await Vn(N, 2, T);
3474
3481
  let z = [], R = [];
3475
- L.forEach((D) => {
3476
- D.events && (z.push(...D.events.map((G) => G.event)), R.push(
3477
- ...D.events.flatMap((G) => G.betOffers || [])
3482
+ L.forEach((w) => {
3483
+ w.events && (z.push(...w.events.map((F) => F.event)), R.push(
3484
+ ...w.events.flatMap((F) => F.betOffers || [])
3478
3485
  ));
3479
3486
  });
3480
3487
  const U = jn(z, R), W = Wn(Gn(U));
3481
- let w = W;
3482
- if (y.length > 0) {
3483
- const D = new Map(
3484
- y.map((G, Z) => [
3485
- String(G),
3486
- Z
3488
+ let G = W;
3489
+ if (x.length > 0) {
3490
+ const w = new Map(
3491
+ x.map((F, K) => [
3492
+ String(F),
3493
+ K
3487
3494
  ])
3488
3495
  );
3489
- w = [...W].sort((G, Z) => {
3490
- const Y = D.get(String(G.id)), m = D.get(String(Z.id));
3491
- return Y !== void 0 && m !== void 0 ? Y - m : Y !== void 0 ? -1 : m !== void 0 ? 1 : 0;
3496
+ G = [...W].sort((F, K) => {
3497
+ const Y = w.get(String(F.id)), l = w.get(String(K.id));
3498
+ return Y !== void 0 && l !== void 0 ? Y - l : Y !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3492
3499
  });
3493
3500
  }
3494
- if (E.aborted) return;
3495
- c(w);
3501
+ if (T.aborted) return;
3502
+ g(G);
3496
3503
  } catch (L) {
3497
3504
  console.error("Error loading events:", L);
3498
3505
  }
3499
3506
  }
3500
- ee(() => {
3507
+ Q(() => {
3501
3508
  if (!e) return;
3502
- const $ = new AbortController();
3503
- return b($.signal), () => {
3504
- $.abort();
3509
+ const N = new AbortController();
3510
+ return I(N.signal), () => {
3511
+ N.abort();
3505
3512
  };
3506
3513
  }, [e]);
3507
- const q = i || void 0, T = {
3514
+ const D = i || void 0, y = {
3508
3515
  paddingLeft: 0,
3509
3516
  width: "100%",
3510
3517
  boxSizing: "border-box"
3511
- }, { jerseys: k } = St({
3518
+ }, { jerseys: $ } = St({
3512
3519
  events: d,
3513
- visibleRange: g,
3520
+ visibleRange: p,
3514
3521
  fetchJerseys: gt,
3515
3522
  buffer: 2,
3516
3523
  debounceMs: 250
3517
- }), O = d === null, M = xe("(max-width:950px)");
3518
- return !O && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: q, style: T, children: /* @__PURE__ */ v("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3519
- /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3524
+ }), E = d === null, A = xe("(max-width:950px)");
3525
+ return !E && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: y, children: /* @__PURE__ */ b("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3526
+ /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ b(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3520
3527
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3521
3528
  /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
3522
3529
  X,
@@ -3535,11 +3542,11 @@ function Hn({
3535
3542
  he,
3536
3543
  {
3537
3544
  ref: h,
3538
- items: O ? Array(6).fill({}) : d.slice(0, 20),
3545
+ items: E ? Array(6).fill({}) : d.slice(0, 20),
3539
3546
  perPage: 3.5,
3540
3547
  gap: "16px",
3541
3548
  enableHorizontalWheel: !0,
3542
- showRightGradient: !M,
3549
+ showRightGradient: !A,
3543
3550
  options: { autoWidth: !0, trimSpace: !0 },
3544
3551
  breakpoints: {
3545
3552
  1024: {
@@ -3549,26 +3556,26 @@ function Hn({
3549
3556
  padding: { left: "8px", right: "8px" }
3550
3557
  }
3551
3558
  },
3552
- renderItem: ($) => {
3553
- const y = $.id, E = y in k ? k[y] : void 0;
3554
- return O ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Ln, {}) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Un, { event: $, jersey: E }) });
3559
+ renderItem: (N) => {
3560
+ const x = N.id, T = x in $ ? $[x] : void 0;
3561
+ return E ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Ln, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: N, jersey: T }) });
3555
3562
  },
3556
- onMove: ({ isStart: $, isEnd: y, visibleStart: E, visibleEnd: L }) => {
3557
- p({ isStart: $, isEnd: y }), x({
3558
- start: E,
3563
+ onMove: ({ isStart: N, isEnd: x, visibleStart: T, visibleEnd: L }) => {
3564
+ m({ isStart: N, isEnd: x }), v({
3565
+ start: T,
3559
3566
  end: L
3560
3567
  }), r({
3561
3568
  element: "evento_semana_carousel_slide",
3562
3569
  label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
3563
3570
  target: "carousel",
3564
3571
  event_type: "slide",
3565
- module_id: l,
3572
+ module_id: c,
3566
3573
  metadata: {
3567
3574
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3568
- visibleStart: E,
3575
+ visibleStart: T,
3569
3576
  visibleEnd: L,
3570
- isStart: $,
3571
- isEnd: y
3577
+ isStart: N,
3578
+ isEnd: x
3572
3579
  },
3573
3580
  tags: { section: "OraculoSeccionEventoSemana" }
3574
3581
  });
@@ -3587,18 +3594,18 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3587
3594
  /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
3588
3595
  );
3589
3596
  if (!a) return null;
3590
- const [, n, o, i, r, s, l = "00"] = a;
3597
+ const [, n, o, i, r, s, c = "00"] = a;
3591
3598
  return Date.UTC(
3592
3599
  Number(n),
3593
3600
  Number(o) - 1,
3594
3601
  Number(i),
3595
3602
  Number(r) - Kn / 60,
3596
3603
  Number(s),
3597
- Number(l)
3604
+ Number(c)
3598
3605
  );
3599
3606
  }, Jn = (e, a) => {
3600
- var l, f, h, u, p, d, c, g, x;
3601
- const n = (h = (f = (l = e == null ? void 0 : e.fields) != null ? l : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (p = e == null ? void 0 : e.startAt) != null ? p : (u = n.find((I) => (I == null ? void 0 : I.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (x = (g = e == null ? void 0 : e.endAt) != null ? g : (c = n.find((I) => (I == null ? void 0 : I.name) === "endAt")) == null ? void 0 : c.value) != null ? x : null, r = nt(o), s = nt(i);
3607
+ var c, f, h, u, m, d, g, p, v;
3608
+ const n = (h = (f = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((C) => (C == null ? void 0 : C.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (v = (p = e == null ? void 0 : e.endAt) != null ? p : (g = n.find((C) => (C == null ? void 0 : C.name) === "endAt")) == null ? void 0 : g.value) != null ? v : null, r = nt(o), s = nt(i);
3602
3609
  return !(r != null && a < r || s != null && a >= s);
3603
3610
  };
3604
3611
  function Xn({
@@ -3606,17 +3613,17 @@ function Xn({
3606
3613
  items: a,
3607
3614
  hideItems: n
3608
3615
  }) {
3609
- var U, W;
3610
- const [o, i] = K(0), r = ae(), s = ne(), l = se(), f = V(null), h = V(!1), u = V(!1), [p, d] = K(() => Date.now()), c = ie(() => (e != null ? e : []).filter((w) => Jn(w, p)), [e, p]), g = c.length || 1, x = !c || c.length === 0, I = !x && c.length > 1, _ = !n && ((U = a == null ? void 0 : a.length) != null ? U : 0) > 0;
3616
+ var W, G;
3617
+ const [o, i] = Z(0), r = ae(), s = ne(), c = le(), f = V(null), h = V(!1), u = V(!1), [m, d] = Z(() => Date.now()), g = se("setDepositActionGlobal"), p = ie(() => (e != null ? e : []).filter((w) => Jn(w, m)), [e, m]), v = p.length || 1, C = !p || p.length === 0, _ = !C && p.length > 1, I = !n && ((W = a == null ? void 0 : a.length) != null ? W : 0) > 0;
3611
3618
  De("(max-width:950px)");
3612
- const b = "#B5B5B5";
3613
- ee(() => {
3619
+ const O = "#B5B5B5";
3620
+ Q(() => {
3614
3621
  const w = window.setInterval(() => {
3615
3622
  d(Date.now());
3616
3623
  }, 3e4);
3617
3624
  return () => window.clearInterval(w);
3618
3625
  }, []);
3619
- const C = {
3626
+ const D = {
3620
3627
  position: "absolute",
3621
3628
  top: "50%",
3622
3629
  transform: "translateY(-50%)",
@@ -3624,22 +3631,22 @@ function Xn({
3624
3631
  width: 48,
3625
3632
  height: 40,
3626
3633
  borderRadius: "12px",
3627
- border: `1.5px solid ${b}`,
3634
+ border: `1.5px solid ${O}`,
3628
3635
  py: 1,
3629
3636
  px: 1.5,
3630
- color: b,
3637
+ color: O,
3631
3638
  backgroundColor: "transparent",
3632
3639
  "&:hover": {
3633
3640
  backgroundColor: "rgba(181,181,181,0.08)"
3634
3641
  },
3635
3642
  "&.Mui-disabled": {
3636
3643
  opacity: 0.35,
3637
- borderColor: b,
3638
- color: b,
3644
+ borderColor: O,
3645
+ color: O,
3639
3646
  backgroundColor: "transparent",
3640
3647
  cursor: "default"
3641
3648
  }
3642
- }, q = ie(
3649
+ }, y = ie(
3643
3650
  () => ({
3644
3651
  type: "loop",
3645
3652
  perMove: 1,
@@ -3650,39 +3657,52 @@ function Xn({
3650
3657
  }),
3651
3658
  []
3652
3659
  );
3653
- ee(() => {
3660
+ Q(() => {
3654
3661
  const w = setTimeout(() => {
3655
3662
  h.current = !0;
3656
3663
  }, 500);
3657
3664
  return () => clearTimeout(w);
3658
3665
  }, []);
3659
- const T = (w, D) => {
3660
- var Z, Y;
3661
- const G = ((Y = (Z = w.href) == null ? void 0 : Z.split("/").pop()) == null ? void 0 : Y.split(".")[0]) || w.label || w.id || `banner_${D + 1}`;
3666
+ const $ = (w, F, K) => {
3667
+ var k, M;
3668
+ const Y = !!F.idFunction, l = !!F.href;
3669
+ if (Y)
3670
+ switch (w.preventDefault(), w.stopPropagation(), F.idFunction) {
3671
+ case "deposito":
3672
+ g == null || g(!0);
3673
+ return;
3674
+ default:
3675
+ return;
3676
+ }
3677
+ if (!l) {
3678
+ w.preventDefault(), w.stopPropagation();
3679
+ return;
3680
+ }
3681
+ const S = ((M = (k = F.href) == null ? void 0 : k.split("/").pop()) == null ? void 0 : M.split(".")[0]) || F.label || F.id || `banner_${K + 1}`;
3662
3682
  r({
3663
3683
  element: "banner_carousel",
3664
- label: `${s} - OraculoSeccionBanners - Banner click: ${G}`,
3665
- target: w.href || "no_url",
3684
+ label: `${s} - OraculoSeccionBanners - Banner click: ${S}`,
3685
+ target: F.href || "no_url",
3666
3686
  event_type: "click",
3667
- module_id: l,
3687
+ module_id: c,
3668
3688
  metadata: {
3669
3689
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3670
- banner_position: D + 1,
3671
- banner_total: (c == null ? void 0 : c.length) || 0
3690
+ banner_position: K + 1,
3691
+ banner_total: (p == null ? void 0 : p.length) || 0
3672
3692
  },
3673
3693
  tags: {
3674
3694
  banner_type: "carousel",
3675
3695
  banner_target: "_self",
3676
- banner_url: w.href || "no_url"
3696
+ banner_url: F.href || "no_url"
3677
3697
  }
3678
3698
  });
3679
- }, k = (w) => {
3699
+ }, E = (w) => {
3680
3700
  if (r({
3681
3701
  element: "banner_menu_item",
3682
3702
  label: `${s} - OraculoSeccionBanners - Menu item click: ${w.label || w.id}`,
3683
3703
  target: w.href || "action",
3684
3704
  event_type: "click",
3685
- module_id: l,
3705
+ module_id: c,
3686
3706
  metadata: {
3687
3707
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3688
3708
  item_id: w.id
@@ -3695,53 +3715,53 @@ function Xn({
3695
3715
  return;
3696
3716
  }
3697
3717
  w.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w.href);
3698
- }, O = 5e3, M = V(null), $ = !x && ((W = c == null ? void 0 : c.length) != null ? W : 0) > 1, y = () => {
3699
- M.current != null && (window.clearTimeout(M.current), M.current = null);
3700
- }, E = () => {
3701
- y(), $ && (M.current = window.setTimeout(() => {
3718
+ }, A = 5e3, N = V(null), x = !C && ((G = p == null ? void 0 : p.length) != null ? G : 0) > 1, T = () => {
3719
+ N.current != null && (window.clearTimeout(N.current), N.current = null);
3720
+ }, L = () => {
3721
+ T(), x && (N.current = window.setTimeout(() => {
3702
3722
  var w;
3703
3723
  u.current = !0, (w = f.current) == null || w.next();
3704
- }, O));
3724
+ }, A));
3705
3725
  };
3706
- ee(() => (E(), () => y()), [$, O]);
3707
- const L = (w) => {
3708
- var D;
3709
- w.preventDefault(), w.stopPropagation(), y(), (D = f.current) == null || D.prev();
3710
- }, z = (w) => {
3711
- var D;
3712
- w.preventDefault(), w.stopPropagation(), y(), (D = f.current) == null || D.next();
3726
+ Q(() => (L(), () => T()), [x, A]);
3727
+ const z = (w) => {
3728
+ var F;
3729
+ w.preventDefault(), w.stopPropagation(), T(), (F = f.current) == null || F.prev();
3713
3730
  }, R = (w) => {
3714
- var Z, Y, m, S;
3715
- const D = (w % g + g) % g;
3731
+ var F;
3732
+ w.preventDefault(), w.stopPropagation(), T(), (F = f.current) == null || F.next();
3733
+ }, U = (w) => {
3734
+ var Y, l, S, k;
3735
+ const F = (w % v + v) % v;
3716
3736
  if (!h.current) return;
3717
- const G = (Z = c == null ? void 0 : c[D]) != null && Z.href ? ((m = (Y = c[D].href) == null ? void 0 : Y.split("/").pop()) == null ? void 0 : m.split(".")[0]) || `banner_${D + 1}` : `banner_${D + 1}`;
3737
+ const K = (Y = p == null ? void 0 : p[F]) != null && Y.href ? ((S = (l = p[F].href) == null ? void 0 : l.split("/").pop()) == null ? void 0 : S.split(".")[0]) || `banner_${F + 1}` : `banner_${F + 1}`;
3718
3738
  r({
3719
3739
  element: "banner_carousel",
3720
- label: `${s} - OraculoSeccionBanners - Banner view: Slide ${D + 1} - ${G}`,
3721
- target: ((S = c == null ? void 0 : c[D]) == null ? void 0 : S.href) || "no_url",
3740
+ label: `${s} - OraculoSeccionBanners - Banner view: Slide ${F + 1} - ${K}`,
3741
+ target: ((k = p == null ? void 0 : p[F]) == null ? void 0 : k.href) || "no_url",
3722
3742
  event_type: "view",
3723
- module_id: l,
3743
+ module_id: c,
3724
3744
  metadata: {
3725
3745
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3726
- slide_index: D + 1,
3727
- total_slides: g,
3746
+ slide_index: F + 1,
3747
+ total_slides: v,
3728
3748
  interaction_type: "manual_slide"
3729
3749
  },
3730
- tags: { banner_position: String(D + 1) }
3750
+ tags: { banner_position: String(F + 1) }
3731
3751
  });
3732
3752
  };
3733
- return /* @__PURE__ */ v(
3734
- Q,
3753
+ return /* @__PURE__ */ b(
3754
+ ee,
3735
3755
  {
3736
3756
  component: "section",
3737
3757
  sx: {
3738
3758
  position: "relative",
3739
3759
  overflow: "visible",
3740
- pb: _ ? { xs: "40px", sm: 0 } : 0
3760
+ pb: I ? { xs: "40px", sm: 0 } : 0
3741
3761
  },
3742
3762
  children: [
3743
- /* @__PURE__ */ v(
3744
- Q,
3763
+ /* @__PURE__ */ b(
3764
+ ee,
3745
3765
  {
3746
3766
  sx: {
3747
3767
  position: "relative",
@@ -3757,7 +3777,7 @@ function Xn({
3757
3777
  },
3758
3778
  children: [
3759
3779
  /* @__PURE__ */ t(
3760
- Q,
3780
+ ee,
3761
3781
  {
3762
3782
  sx: {
3763
3783
  height: "100%",
@@ -3768,44 +3788,45 @@ function Xn({
3768
3788
  he,
3769
3789
  {
3770
3790
  ref: f,
3771
- items: c,
3791
+ items: p,
3772
3792
  perPage: 1,
3773
3793
  gap: "0px",
3774
3794
  enableHorizontalWheel: !0,
3775
- options: q,
3795
+ options: y,
3776
3796
  onMove: ({ index: w }) => {
3777
- const D = (w % g + g) % g;
3778
- i(D);
3779
- const G = u.current;
3780
- u.current = !1, E(), G || R(w);
3797
+ const F = (w % v + v) % v;
3798
+ i(F);
3799
+ const K = u.current;
3800
+ u.current = !1, L(), K || U(w);
3781
3801
  },
3782
- renderItem: (w, D) => {
3783
- var G, Z, Y;
3784
- return /* @__PURE__ */ v(
3785
- Q,
3802
+ renderItem: (w, F) => {
3803
+ var k, M, B;
3804
+ const K = !!w.idFunction, Y = !!w.href, l = Y && !K, S = K || Y;
3805
+ return /* @__PURE__ */ b(
3806
+ ee,
3786
3807
  {
3787
- component: "a",
3788
- href: w.href,
3789
- target: (G = w.target) != null ? G : "_self",
3790
- rel: w.target === "_blank" ? "noopener noreferrer" : void 0,
3791
- onClick: () => T(w, D),
3808
+ component: l ? "a" : "div",
3809
+ href: l ? w.href : void 0,
3810
+ target: l ? (k = w.target) != null ? k : "_self" : void 0,
3811
+ rel: l && w.target === "_blank" ? "noopener noreferrer" : void 0,
3812
+ onClick: (P) => $(P, w, F),
3792
3813
  sx: {
3793
3814
  position: "relative",
3794
3815
  width: "100%",
3795
3816
  height: "100%",
3796
3817
  display: "block",
3797
3818
  textDecoration: "none",
3798
- cursor: "pointer"
3819
+ cursor: S ? "pointer" : "default"
3799
3820
  },
3800
3821
  children: [
3801
- /* @__PURE__ */ v(Q, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3822
+ /* @__PURE__ */ b(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3802
3823
  /* @__PURE__ */ t("source", { srcSet: w.desktopSrc, media: "(min-width:950px)" }),
3803
3824
  /* @__PURE__ */ t("source", { srcSet: w.mobileSrc, media: "(max-width:949px)" }),
3804
3825
  /* @__PURE__ */ t(
3805
- Q,
3826
+ ee,
3806
3827
  {
3807
3828
  component: "img",
3808
- src: (Y = (Z = w.fallbackSrc) != null ? Z : w.desktopSrc) != null ? Y : "",
3829
+ src: (B = (M = w.fallbackSrc) != null ? M : w.desktopSrc) != null ? B : "",
3809
3830
  alt: "",
3810
3831
  "aria-hidden": !0,
3811
3832
  loading: "lazy",
@@ -3819,7 +3840,7 @@ function Xn({
3819
3840
  )
3820
3841
  ] }),
3821
3842
  /* @__PURE__ */ t(
3822
- Q,
3843
+ ee,
3823
3844
  {
3824
3845
  sx: {
3825
3846
  position: "absolute",
@@ -3845,28 +3866,28 @@ function Xn({
3845
3866
  )
3846
3867
  }
3847
3868
  ),
3848
- I && /* @__PURE__ */ v(me, { children: [
3869
+ _ && /* @__PURE__ */ b(pe, { children: [
3849
3870
  /* @__PURE__ */ t(
3850
3871
  Ke,
3851
3872
  {
3852
3873
  "aria-label": "Anterior",
3853
- onClick: L,
3874
+ onClick: z,
3854
3875
  sx: {
3855
- ...C,
3876
+ ...D,
3856
3877
  left: "120px",
3857
3878
  "@media (max-width:1024px)": { left: 24 },
3858
3879
  "@media (max-width:786px)": { display: "none" }
3859
3880
  },
3860
- children: /* @__PURE__ */ t(Be, {})
3881
+ children: /* @__PURE__ */ t(Ae, {})
3861
3882
  }
3862
3883
  ),
3863
3884
  /* @__PURE__ */ t(
3864
3885
  Ke,
3865
3886
  {
3866
3887
  "aria-label": "Siguiente",
3867
- onClick: z,
3888
+ onClick: R,
3868
3889
  sx: {
3869
- ...C,
3890
+ ...D,
3870
3891
  right: "120px",
3871
3892
  "@media (max-width:1024px)": { right: 24 },
3872
3893
  "@media (max-width:786px)": { display: "none" }
@@ -3876,7 +3897,7 @@ function Xn({
3876
3897
  )
3877
3898
  ] }),
3878
3899
  /* @__PURE__ */ t(
3879
- Q,
3900
+ ee,
3880
3901
  {
3881
3902
  sx: {
3882
3903
  position: "absolute",
@@ -3890,19 +3911,19 @@ function Xn({
3890
3911
  children: /* @__PURE__ */ t(
3891
3912
  dt,
3892
3913
  {
3893
- total: g,
3914
+ total: v,
3894
3915
  active: o,
3895
- durationMs: O
3916
+ durationMs: A
3896
3917
  },
3897
- `${o}-${g}`
3918
+ `${o}-${v}`
3898
3919
  )
3899
3920
  }
3900
3921
  )
3901
3922
  ]
3902
3923
  }
3903
3924
  ),
3904
- _ && /* @__PURE__ */ t(
3905
- Q,
3925
+ I && /* @__PURE__ */ t(
3926
+ ee,
3906
3927
  {
3907
3928
  sx: {
3908
3929
  position: "absolute",
@@ -3919,8 +3940,8 @@ function Xn({
3919
3940
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3920
3941
  zIndex: 3
3921
3942
  },
3922
- children: a == null ? void 0 : a.map((w) => /* @__PURE__ */ v(
3923
- Q,
3943
+ children: a == null ? void 0 : a.map((w) => /* @__PURE__ */ b(
3944
+ ee,
3924
3945
  {
3925
3946
  sx: {
3926
3947
  position: "relative",
@@ -3964,10 +3985,10 @@ function Xn({
3964
3985
  }
3965
3986
  }
3966
3987
  },
3967
- onClick: () => k(w),
3988
+ onClick: () => E(w),
3968
3989
  children: [
3969
- w.icon && /* @__PURE__ */ v(
3970
- Q,
3990
+ w.icon && /* @__PURE__ */ b(
3991
+ ee,
3971
3992
  {
3972
3993
  sx: {
3973
3994
  position: "relative",
@@ -3977,7 +3998,7 @@ function Xn({
3977
3998
  },
3978
3999
  children: [
3979
4000
  /* @__PURE__ */ t(
3980
- Q,
4001
+ ee,
3981
4002
  {
3982
4003
  component: "img",
3983
4004
  src: w.icon,
@@ -3994,7 +4015,7 @@ function Xn({
3994
4015
  }
3995
4016
  ),
3996
4017
  w.iconHover && /* @__PURE__ */ t(
3997
- Q,
4018
+ ee,
3998
4019
  {
3999
4020
  component: "img",
4000
4021
  src: w.iconHover,
@@ -4050,7 +4071,7 @@ function Qn({
4050
4071
  items: a = Yn
4051
4072
  }) {
4052
4073
  const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
4053
- return /* @__PURE__ */ v(Q, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4074
+ return /* @__PURE__ */ b(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4054
4075
  /* @__PURE__ */ t(
4055
4076
  st,
4056
4077
  {
@@ -4066,7 +4087,7 @@ function Qn({
4066
4087
  }
4067
4088
  ),
4068
4089
  /* @__PURE__ */ t(
4069
- Q,
4090
+ ee,
4070
4091
  {
4071
4092
  sx: {
4072
4093
  width: "288px",
@@ -4079,7 +4100,7 @@ function Qn({
4079
4100
  }
4080
4101
  }
4081
4102
  ),
4082
- /* @__PURE__ */ v(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4103
+ /* @__PURE__ */ b(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4083
4104
  /* @__PURE__ */ t(
4084
4105
  Oe,
4085
4106
  {
@@ -4121,7 +4142,7 @@ function It({
4121
4142
  }),
4122
4143
  [a]
4123
4144
  );
4124
- return /* @__PURE__ */ v(Lt, { theme: n, children: [
4145
+ return /* @__PURE__ */ b(Lt, { theme: n, children: [
4125
4146
  /* @__PURE__ */ t(Pt, {}),
4126
4147
  e
4127
4148
  ] });
@@ -4422,6 +4443,14 @@ const eo = {
4422
4443
  required: !1,
4423
4444
  type: "string",
4424
4445
  value: ""
4446
+ },
4447
+ {
4448
+ id: "fa9c467f-4f33-4bee-b502-a413d7212321",
4449
+ isImage: !1,
4450
+ name: "idFunction",
4451
+ required: !1,
4452
+ type: "string",
4453
+ value: "deposito"
4425
4454
  }
4426
4455
  ],
4427
4456
  id: "13b35362-5695-4687-b6a8-645f8effd264"
@@ -4475,7 +4504,7 @@ const eo = {
4475
4504
  name: "startAt",
4476
4505
  required: !1,
4477
4506
  type: "string",
4478
- value: "2026-04-13T10:45"
4507
+ value: ""
4479
4508
  },
4480
4509
  {
4481
4510
  id: "fa9c467f-4f33-4bee-b502-a413d726bbb2",
@@ -4483,7 +4512,7 @@ const eo = {
4483
4512
  name: "endAt",
4484
4513
  required: !1,
4485
4514
  type: "string",
4486
- value: "2026-04-14T11:15"
4515
+ value: ""
4487
4516
  }
4488
4517
  ],
4489
4518
  id: "024f8130-91e1-4296-b826-cffa32ab1a96"
@@ -4537,7 +4566,7 @@ const eo = {
4537
4566
  name: "startAt",
4538
4567
  required: !1,
4539
4568
  type: "string",
4540
- value: "2026-04-13T10:45"
4569
+ value: ""
4541
4570
  },
4542
4571
  {
4543
4572
  id: "fa9c467f-4f33-4bee-b502-a413d726bbb2",
@@ -4545,7 +4574,7 @@ const eo = {
4545
4574
  name: "endAt",
4546
4575
  required: !1,
4547
4576
  type: "string",
4548
- value: "2026-04-13T11:00"
4577
+ value: ""
4549
4578
  }
4550
4579
  ],
4551
4580
  id: "cdfce77c-a814-43f1-911d-3715803252c2"
@@ -5432,7 +5461,7 @@ function Ce(e) {
5432
5461
  var o, i;
5433
5462
  return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
5434
5463
  }).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
5435
- var o, i, r, s, l;
5464
+ var o, i, r, s, c;
5436
5465
  return {
5437
5466
  id: (o = a.id) != null ? o : n + 1,
5438
5467
  title: (i = a.title) != null ? i : "",
@@ -5440,7 +5469,7 @@ function Ce(e) {
5440
5469
  visible: (r = a.visible) != null ? r : !0,
5441
5470
  order: n + 1,
5442
5471
  props: (s = a.props) != null ? s : {},
5443
- apiUrl: (l = a.apiUrl) != null ? l : "",
5472
+ apiUrl: (c = a.apiUrl) != null ? c : "",
5444
5473
  dataMode: a.dataMode,
5445
5474
  variableName: a.variableName,
5446
5475
  manualItems: a.manualItems,
@@ -5501,192 +5530,192 @@ const it = [
5501
5530
  loader: r,
5502
5531
  disableWrapper: s = !1
5503
5532
  }) => {
5504
- const l = ie(() => oo(i), [i]), f = r || l.loader, [h, u] = K([]), [p, d] = K(!1), [c, g] = K({}), [x, I] = K({}), [_, b] = K({}), C = De("(min-width:1024px)"), q = ie(
5533
+ const c = ie(() => oo(i), [i]), f = r || c.loader, [h, u] = Z([]), [m, d] = Z(!1), [g, p] = Z({}), [v, C] = Z({}), [_, I] = Z({}), O = De("(min-width:1024px)"), D = ie(
5505
5534
  () => Ce(qe),
5506
5535
  []
5507
- ), T = (m) => q.find(
5508
- (S) => S.id === m.id || S.componentKey === m.componentKey
5509
- ), k = (m) => Array.isArray(m) ? m.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], O = ie(() => {
5510
- const m = l.user;
5511
- return k(m == null ? void 0 : m.groups);
5512
- }, [l]), M = (m) => {
5513
- const S = m.manualScalarFields;
5536
+ ), y = (l) => D.find(
5537
+ (S) => S.id === l.id || S.componentKey === l.componentKey
5538
+ ), $ = (l) => Array.isArray(l) ? l.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], E = ie(() => {
5539
+ const l = c.user;
5540
+ return $(l == null ? void 0 : l.groups);
5541
+ }, [c]), A = (l) => {
5542
+ const S = l.manualScalarFields;
5514
5543
  if (!Array.isArray(S)) return [];
5515
- const N = S.find(
5544
+ const k = S.find(
5516
5545
  (P) => String((P == null ? void 0 : P.name) || "").trim().toLowerCase() === "groups"
5517
5546
  );
5518
- if (!N) return [];
5519
- const A = N.value;
5520
- if (A == null) return [];
5521
- if (Array.isArray(A))
5522
- return A.map((P) => Number(String(P).trim())).filter((P) => !Number.isNaN(P));
5523
- const B = String(A).trim();
5547
+ if (!k) return [];
5548
+ const M = k.value;
5549
+ if (M == null) return [];
5550
+ if (Array.isArray(M))
5551
+ return M.map((P) => Number(String(P).trim())).filter((P) => !Number.isNaN(P));
5552
+ const B = String(M).trim();
5524
5553
  return B ? B.split(",").map((P) => Number(P.trim())).filter((P) => !Number.isNaN(P)) : [];
5525
- }, $ = (m, S) => {
5526
- const N = M(m);
5527
- if (N.length === 0) return !0;
5554
+ }, N = (l, S) => {
5555
+ const k = A(l);
5556
+ if (k.length === 0) return !0;
5528
5557
  if (!Array.isArray(S) || S.length === 0) return !1;
5529
- const A = new Set(S);
5530
- return N.some((B) => A.has(B));
5558
+ const M = new Set(S);
5559
+ return k.some((B) => M.has(B));
5531
5560
  };
5532
- ee(() => {
5561
+ Q(() => {
5533
5562
  if (e) return;
5534
5563
  if (!o) {
5535
5564
  console.warn("[landing] sin db -> fallback json"), u(Ce(qe));
5536
5565
  return;
5537
5566
  }
5538
- const m = (N, A) => {
5539
- console.warn("[landing] FALLBACK:", N, A != null ? A : ""), u(Ce(qe)), d(!1);
5567
+ const l = (k, M) => {
5568
+ console.warn("[landing] FALLBACK:", k, M != null ? M : ""), u(Ce(qe)), d(!1);
5540
5569
  };
5541
5570
  if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
5542
- d(!0), m("forzado por env");
5571
+ d(!0), l("forzado por env");
5543
5572
  return;
5544
5573
  }
5545
5574
  d(!0);
5546
5575
  const S = Ft(
5547
5576
  qt(o, "landings", a),
5548
- (N) => {
5577
+ (k) => {
5549
5578
  try {
5550
- if (!N.exists()) {
5551
- m(`doc landings/${a} no existe`);
5579
+ if (!k.exists()) {
5580
+ l(`doc landings/${a} no existe`);
5552
5581
  return;
5553
5582
  }
5554
- const A = N.data(), B = Ce(A);
5583
+ const M = k.data(), B = Ce(M);
5555
5584
  if (!B.length) {
5556
- m("JSON inválido o sin secciones normalizables", A);
5585
+ l("JSON inválido o sin secciones normalizables", M);
5557
5586
  return;
5558
5587
  }
5559
- console.log("[landing] Firestore OK (json grande):", A), u(B);
5560
- } catch (A) {
5561
- m("error procesando snapshot", A);
5588
+ console.log("[landing] Firestore OK (json grande):", M), u(B);
5589
+ } catch (M) {
5590
+ l("error procesando snapshot", M);
5562
5591
  } finally {
5563
5592
  d(!1);
5564
5593
  }
5565
5594
  },
5566
- (N) => {
5567
- m("error onSnapshot", N);
5595
+ (k) => {
5596
+ l("error onSnapshot", k);
5568
5597
  }
5569
5598
  );
5570
5599
  return () => S();
5571
- }, [e, a, o]), ee(() => (Xa(l), () => Ya()), [l]), ee(() => {
5572
- (e ? e.slice() : h.slice()).map((N) => N.componentKey).filter((N) => !!N).length;
5600
+ }, [e, a, o]), Q(() => (Xa(c), () => Ya()), [c]), Q(() => {
5601
+ (e ? e.slice() : h.slice()).map((k) => k.componentKey).filter((k) => !!k).length;
5573
5602
  }, [e, h]);
5574
- const y = async (m) => {
5575
- if (it.includes(m.componentKey))
5603
+ const x = async (l) => {
5604
+ if (it.includes(l.componentKey))
5576
5605
  return {
5577
5606
  items: [],
5578
5607
  events: [],
5579
5608
  data: {}
5580
5609
  };
5581
- const S = (m.apiUrl || "").trim();
5610
+ const S = (l.apiUrl || "").trim();
5582
5611
  if (!S) return;
5583
- const N = m.apiMethod || "GET", A = m.apiParams || [];
5612
+ const k = l.apiMethod || "GET", M = l.apiParams || [];
5584
5613
  let B = S, P, J;
5585
- if (N === "GET") {
5614
+ if (k === "GET") {
5586
5615
  const re = new URL(
5587
5616
  S,
5588
5617
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5589
5618
  );
5590
- for (const oe of A)
5619
+ for (const oe of M)
5591
5620
  oe.key && re.searchParams.append(oe.key, oe.value);
5592
5621
  B = re.toString();
5593
5622
  } else {
5594
5623
  const re = new URLSearchParams();
5595
- for (const oe of A)
5624
+ for (const oe of M)
5596
5625
  oe.key && re.append(oe.key, oe.value);
5597
5626
  P = re.toString(), J = {
5598
5627
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5599
5628
  };
5600
5629
  }
5601
5630
  const te = await fetch(B, {
5602
- method: N,
5631
+ method: k,
5603
5632
  headers: J,
5604
5633
  body: P
5605
5634
  });
5606
5635
  if (!te.ok) throw new ot(te.status, B, te.statusText);
5607
5636
  return te.json();
5608
- }, E = ie(
5637
+ }, T = ie(
5609
5638
  () => e ? e.slice() : h.slice(),
5610
5639
  [e, h]
5611
5640
  ), L = fe.useRef(/* @__PURE__ */ new Set());
5612
- ee(() => {
5613
- const m = E.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5614
- if (m.length)
5615
- for (const { s: S, url: N } of m) {
5616
- const A = `${S.id}|${N}`;
5617
- L.current.has(A) || (L.current.add(A), I((B) => ({ ...B, [S.id]: !0 })), b((B) => ({ ...B, [S.id]: "" })), (async () => {
5641
+ Q(() => {
5642
+ const l = T.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
5643
+ if (l.length)
5644
+ for (const { s: S, url: k } of l) {
5645
+ const M = `${S.id}|${k}`;
5646
+ L.current.has(M) || (L.current.add(M), C((B) => ({ ...B, [S.id]: !0 })), I((B) => ({ ...B, [S.id]: "" })), (async () => {
5618
5647
  try {
5619
- const B = await y(S);
5620
- g((P) => ({ ...P, [S.id]: B }));
5648
+ const B = await x(S);
5649
+ p((P) => ({ ...P, [S.id]: B }));
5621
5650
  } catch (B) {
5622
5651
  let P = "Error desconocido";
5623
- B instanceof ot ? P = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? P = "Respuesta no es JSON válido" : B instanceof TypeError ? P = "Fallo de red / CORS / conexión" : typeof B == "string" && (P = B.toString()), b((J) => ({ ...J, [S.id]: P }));
5652
+ B instanceof ot ? P = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? P = "Respuesta no es JSON válido" : B instanceof TypeError ? P = "Fallo de red / CORS / conexión" : typeof B == "string" && (P = B.toString()), I((J) => ({ ...J, [S.id]: P }));
5624
5653
  } finally {
5625
- I((B) => ({ ...B, [S.id]: !1 }));
5654
+ C((B) => ({ ...B, [S.id]: !1 }));
5626
5655
  }
5627
5656
  })());
5628
5657
  }
5629
- }, [E]);
5658
+ }, [T]);
5630
5659
  const z = ie(
5631
- () => E.filter((m) => m.visible).filter((m) => $(m, O)).sort((m, S) => m.order - S.order),
5632
- [E, O]
5633
- ), R = (m) => Array.isArray(m) ? m.map((S) => {
5634
- const N = {};
5635
- for (const A of S.fields || []) {
5636
- const B = (A.type || "string").toLowerCase();
5660
+ () => T.filter((l) => l.visible).filter((l) => N(l, E)).sort((l, S) => l.order - S.order),
5661
+ [T, E]
5662
+ ), R = (l) => Array.isArray(l) ? l.map((S) => {
5663
+ const k = {};
5664
+ for (const M of S.fields || []) {
5665
+ const B = (M.type || "string").toLowerCase();
5637
5666
  if (B === "number") {
5638
- const P = String(A.value || "").trim();
5667
+ const P = String(M.value || "").trim();
5639
5668
  if (P !== "") {
5640
5669
  const J = Number(P);
5641
- Number.isNaN(J) || (N[A.name] = J);
5670
+ Number.isNaN(J) || (k[M.name] = J);
5642
5671
  }
5643
5672
  } else if (B === "boolean")
5644
- N[A.name] = String(A.value).toLowerCase() === "true";
5673
+ k[M.name] = String(M.value).toLowerCase() === "true";
5645
5674
  else if (B === "function") {
5646
- const P = String(A.value || "").trim();
5675
+ const P = String(M.value || "").trim();
5647
5676
  if (P)
5648
5677
  try {
5649
5678
  const J = new Function(P);
5650
- N[A.name] = J;
5679
+ k[M.name] = J;
5651
5680
  } catch (J) {
5652
- console.error(`❌ Error creando función en item '${A.name}':`, J);
5681
+ console.error(`❌ Error creando función en item '${M.name}':`, J);
5653
5682
  }
5654
5683
  } else
5655
- N[A.name] = A.value;
5684
+ k[M.name] = M.value;
5656
5685
  }
5657
- return N;
5658
- }) : [], U = (m) => {
5686
+ return k;
5687
+ }) : [], U = (l) => {
5659
5688
  const S = {};
5660
- if (!Array.isArray(m)) return S;
5661
- for (const N of m) {
5662
- if (!N.name) continue;
5663
- const A = (N.type || "string").toLowerCase();
5664
- if (A === "number") {
5665
- const B = String(N.value || "").trim();
5689
+ if (!Array.isArray(l)) return S;
5690
+ for (const k of l) {
5691
+ if (!k.name) continue;
5692
+ const M = (k.type || "string").toLowerCase();
5693
+ if (M === "number") {
5694
+ const B = String(k.value || "").trim();
5666
5695
  if (B !== "") {
5667
5696
  const P = Number(B);
5668
- Number.isNaN(P) || (S[N.name] = P);
5697
+ Number.isNaN(P) || (S[k.name] = P);
5669
5698
  }
5670
- } else if (A === "boolean")
5671
- S[N.name] = String(N.value).toLowerCase() === "true";
5672
- else if (A === "function") {
5673
- const B = String(N.value || "").trim();
5699
+ } else if (M === "boolean")
5700
+ S[k.name] = String(k.value).toLowerCase() === "true";
5701
+ else if (M === "function") {
5702
+ const B = String(k.value || "").trim();
5674
5703
  if (B)
5675
5704
  try {
5676
5705
  const P = new Function(B);
5677
- S[N.name] = P;
5706
+ S[k.name] = P;
5678
5707
  } catch (P) {
5679
- console.error(`❌ Error creando función en item '${N.name}':`, P);
5708
+ console.error(`❌ Error creando función en item '${k.name}':`, P);
5680
5709
  }
5681
5710
  } else
5682
- S[N.name] = N.value;
5711
+ S[k.name] = k.value;
5683
5712
  }
5684
5713
  return S;
5685
- }, W = (m, S, N, A) => {
5686
- const B = N ? { ...N } : {}, P = (A || "items").trim() || "items";
5714
+ }, W = (l, S, k, M) => {
5715
+ const B = k ? { ...k } : {}, P = (M || "items").trim() || "items";
5687
5716
  if (S)
5688
5717
  return B[P] = S.arr || [], B;
5689
- const J = m;
5718
+ const J = l;
5690
5719
  if (Array.isArray(J))
5691
5720
  return B[P] = J, B;
5692
5721
  if (J && typeof J == "object") {
@@ -5694,69 +5723,69 @@ const it = [
5694
5723
  return Array.isArray(te.lobby) ? (B[P] = te.lobby, B) : Array.isArray(te.items) ? (B[P] = te.items, B) : (B[P] = J, B);
5695
5724
  }
5696
5725
  return B[P] = [], B;
5697
- }, w = (m) => {
5726
+ }, G = (l) => {
5698
5727
  var P;
5699
- const S = !!((P = m.apiUrl) != null && P.trim()), N = S ? c[m.id] : void 0;
5700
- let A = m.props ? { ...m.props } : {};
5701
- const B = U(m.manualScalarFields);
5702
- if (it.includes(m.componentKey))
5703
- return { items: N, ...A, ...B };
5704
- if (A = { ...A, ...B }, S)
5705
- A = W(N, null, A);
5706
- else if (m.dataMode === "manual") {
5707
- const J = R(m.manualItems);
5708
- if (A = W(
5728
+ const S = !!((P = l.apiUrl) != null && P.trim()), k = S ? g[l.id] : void 0;
5729
+ let M = l.props ? { ...l.props } : {};
5730
+ const B = U(l.manualScalarFields);
5731
+ if (it.includes(l.componentKey))
5732
+ return { items: k, ...M, ...B };
5733
+ if (M = { ...M, ...B }, S)
5734
+ M = W(k, null, M);
5735
+ else if (l.dataMode === "manual") {
5736
+ const J = R(l.manualItems);
5737
+ if (M = W(
5709
5738
  null,
5710
- { arr: J, variableName: m.variableName },
5711
- A,
5712
- m.variableName
5713
- ), m.variableName2 && m.manualItems2) {
5714
- const te = R(m.manualItems2), re = (m.variableName2 || "items2").trim() || "items2";
5715
- A[re] = te;
5739
+ { arr: J, variableName: l.variableName },
5740
+ M,
5741
+ l.variableName
5742
+ ), l.variableName2 && l.manualItems2) {
5743
+ const te = R(l.manualItems2), re = (l.variableName2 || "items2").trim() || "items2";
5744
+ M[re] = te;
5716
5745
  }
5717
5746
  }
5718
- return A;
5719
- }, D = (m) => {
5720
- const S = m.props ? { ...m.props } : {};
5747
+ return M;
5748
+ }, w = (l) => {
5749
+ const S = l.props ? { ...l.props } : {};
5721
5750
  try {
5722
- Object.assign(S, U(m.manualScalarFields));
5723
- } catch (A) {
5724
- console.error("❌ Error armando scalars vacíos:", m, A);
5751
+ Object.assign(S, U(l.manualScalarFields));
5752
+ } catch (M) {
5753
+ console.error("❌ Error armando scalars vacíos:", l, M);
5725
5754
  }
5726
- const N = (m.variableName || "items").trim() || "items";
5727
- if (typeof S[N] == "undefined" && (S[N] = []), m.variableName2) {
5728
- const A = (m.variableName2 || "items2").trim() || "items2";
5729
- typeof S[A] == "undefined" && (S[A] = []);
5755
+ const k = (l.variableName || "items").trim() || "items";
5756
+ if (typeof S[k] == "undefined" && (S[k] = []), l.variableName2) {
5757
+ const M = (l.variableName2 || "items2").trim() || "items2";
5758
+ typeof S[M] == "undefined" && (S[M] = []);
5730
5759
  }
5731
5760
  return S;
5732
- }, G = (m) => {
5761
+ }, F = (l) => {
5733
5762
  try {
5734
- return w(m);
5763
+ return G(l);
5735
5764
  } catch (S) {
5736
- console.error("🔥 ERROR EN buildCompProps:", m, S);
5737
- const N = T(m);
5738
- if (N && N !== m)
5765
+ console.error("🔥 ERROR EN buildCompProps:", l, S);
5766
+ const k = y(l);
5767
+ if (k && k !== l)
5739
5768
  try {
5740
5769
  return console.warn(
5741
- `[landing] usando fallback local para sección ${m.title} (${m.componentKey})`
5742
- ), w(N);
5743
- } catch (A) {
5744
- console.error("🔥 ERROR EN fallback buildCompProps:", N, A);
5770
+ `[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
5771
+ ), G(k);
5772
+ } catch (M) {
5773
+ console.error("🔥 ERROR EN fallback buildCompProps:", k, M);
5745
5774
  }
5746
- return D(m);
5775
+ return w(l);
5747
5776
  }
5748
- }, Z = (m, S, N) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5777
+ }, K = (l, S, k) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5749
5778
  loading: "bg-blue-100 text-blue-800",
5750
5779
  error: "bg-red-100 text-red-800",
5751
5780
  component: "bg-yellow-100 text-yellow-800"
5752
- }[S]}`, children: N }, m), Y = (m) => {
5781
+ }[S]}`, children: k }, l), Y = (l) => {
5753
5782
  var He;
5754
- const S = m.componentKey, N = no[S], B = (/* @__PURE__ */ new Set([
5783
+ const S = l.componentKey, k = no[S], B = (/* @__PURE__ */ new Set([
5755
5784
  "OraculoSeccionBanners",
5756
5785
  "OraculoSeccionBonoBienvenida",
5757
5786
  "OraculoSeccionCasinoEnVivo",
5758
5787
  "OraculoSeccionClubOlimpo",
5759
- ...C ? [] : [
5788
+ ...O ? [] : [
5760
5789
  "OraculoSeccionEventoEnVivo",
5761
5790
  "OraculoSeccionEventoSemana",
5762
5791
  "OraculoSeccionEventoCombinadas",
@@ -5764,7 +5793,7 @@ const it = [
5764
5793
  "OraculoSeccionDestacados",
5765
5794
  "OraculoSeccionCasino"
5766
5795
  ]
5767
- ])).has(m.componentKey), P = C ? 120 : 24, J = (C ? 8 : 5) * 8, te = m.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5796
+ ])).has(l.componentKey), P = O ? 120 : 24, J = (O ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
5768
5797
  width: "100%",
5769
5798
  boxSizing: "border-box",
5770
5799
  ...B ? {} : { paddingLeft: P, paddingRight: P },
@@ -5773,26 +5802,26 @@ const it = [
5773
5802
  marginBottom: -J
5774
5803
  } : {}
5775
5804
  };
5776
- if (!N)
5777
- return console.warn(`No hay componente registrado para "${S}"`), Z(
5778
- m.id,
5805
+ if (!k)
5806
+ return console.warn(`No hay componente registrado para "${S}"`), K(
5807
+ l.id,
5779
5808
  "component",
5780
5809
  `Componente "${S}" no encontrado`
5781
5810
  );
5782
- const oe = !!((He = m.apiUrl) != null && He.trim()), We = oe ? c[m.id] : void 0, Ct = oe ? !!x[m.id] : !1, Ge = oe ? _[m.id] : "";
5811
+ const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? g[l.id] : void 0, Ct = oe ? !!v[l.id] : !1, Ge = oe ? _[l.id] : "";
5783
5812
  if (oe) {
5784
5813
  if (Ct && !We)
5785
- return Z(
5786
- m.id,
5814
+ return K(
5815
+ l.id,
5787
5816
  "loading",
5788
- `Cargando datos desde ${m.apiUrl}...`
5817
+ `Cargando datos desde ${l.apiUrl}...`
5789
5818
  );
5790
5819
  if (Ge && !We) {
5791
- const we = T(m);
5820
+ const we = y(l);
5792
5821
  if (we && we.dataMode === "manual")
5793
5822
  try {
5794
- const Re = G(we);
5795
- return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(N, { ...Re }) }, m.id);
5823
+ const Re = F(we);
5824
+ return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(k, { ...Re }) }, l.id);
5796
5825
  } catch (Re) {
5797
5826
  console.error(
5798
5827
  "🔥 ERROR renderizando fallback manual de sección:",
@@ -5800,28 +5829,28 @@ const it = [
5800
5829
  Re
5801
5830
  );
5802
5831
  }
5803
- return Z(
5804
- m.id,
5832
+ return K(
5833
+ l.id,
5805
5834
  "error",
5806
- `Error cargando ${m.apiUrl}: ${Ge}`
5835
+ `Error cargando ${l.apiUrl}: ${Ge}`
5807
5836
  );
5808
5837
  }
5809
5838
  }
5810
- const je = G(m), Ot = m.componentKey === "OraculoSeccionClubOlimpo" ? {
5839
+ const je = F(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5811
5840
  ...je,
5812
- user: l.user
5841
+ user: c.user
5813
5842
  } : je;
5814
- return /* @__PURE__ */ t(io, { section: m, children: /* @__PURE__ */ t(
5843
+ return /* @__PURE__ */ t(io, { section: l, children: /* @__PURE__ */ t(
5815
5844
  "div",
5816
5845
  {
5817
5846
  style: re,
5818
5847
  className: "oraculo-section-wrapper",
5819
- children: /* @__PURE__ */ t(N, { ...Ot })
5848
+ children: /* @__PURE__ */ t(k, { ...Ot })
5820
5849
  },
5821
- m.id
5850
+ l.id
5822
5851
  ) });
5823
5852
  };
5824
- return p && !e ? f ? /* @__PURE__ */ t(f, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !p && !e && h.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
5853
+ return m && !e ? f ? /* @__PURE__ */ t(f, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !m && !e && h.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
5825
5854
  Et,
5826
5855
  {
5827
5856
  className: "oli-font",
@@ -5835,11 +5864,11 @@ const it = [
5835
5864
  maxWidth: "100%",
5836
5865
  overflowX: "hidden"
5837
5866
  },
5838
- children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: C ? 8 : 5, useFlexGap: !0, children: z.map((m) => {
5867
+ children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: O ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
5839
5868
  try {
5840
- return Y(m);
5869
+ return Y(l);
5841
5870
  } catch (S) {
5842
- return console.error("🔥 ERROR EN SECTION:", m, S), null;
5871
+ return console.error("🔥 ERROR EN SECTION:", l, S), null;
5843
5872
  }
5844
5873
  }) })
5845
5874
  }
@@ -5864,7 +5893,7 @@ export {
5864
5893
  Te as OraculoGameCard,
5865
5894
  xa as OraculoGameRankCard,
5866
5895
  ft as OraculoGameSlide,
5867
- ue as OraculoGridGroup,
5896
+ me as OraculoGridGroup,
5868
5897
  wa as OraculoLiveCasinoCard,
5869
5898
  Ze as OraculoLogoMediosPago,
5870
5899
  Io as OraculoPageLandingPreview,