oraculo-ui 0.2.30 → 0.2.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,11 +1,11 @@
1
- import { jsx as t, jsxs as y, Fragment as pe } from "react/jsx-runtime";
2
- import { Link as it, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Oe, Container as Ct } from "@mui/material";
1
+ import { jsx as t, jsxs as _, Fragment as pe } from "react/jsx-runtime";
2
+ import { Link as it, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ee, Container as Ct } from "@mui/material";
3
3
  import fe, { useState as X, useEffect as Q, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ce, createContext as Nt, useContext as $t, useMemo as re, useLayoutEffect as Mt } from "react";
4
- import j from "@mui/material/Skeleton";
4
+ import H from "@mui/material/Skeleton";
5
5
  import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
6
6
  import P from "@mui/material/Box";
7
7
  import ue from "@mui/material/Typography";
8
- import H from "@mui/material/Stack";
8
+ import K from "@mui/material/Stack";
9
9
  import { useCaptureInteraction as ae } from "@olimpo/capture-client";
10
10
  import { ChevronLeftRounded as Ae, ChevronRightRounded as Re } from "@mui/icons-material";
11
11
  import xe from "@mui/material/useMediaQuery";
@@ -23,28 +23,28 @@ function Y({
23
23
  type: i = "button",
24
24
  disabled: s = !1,
25
25
  variant: c = "primary",
26
- size: p,
26
+ size: f,
27
27
  fullWidth: h = !1,
28
28
  fullHeight: u = !1,
29
29
  className: m = "",
30
30
  ariaLabel: d,
31
- leftIcon: f,
32
- rightIcon: v,
33
- iconOnly: S
31
+ leftIcon: g,
32
+ rightIcon: b,
33
+ iconOnly: x
34
34
  }) {
35
- const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, q = S != null ? S : $ && !x, _ = [
35
+ const C = !!e && e !== !0, M = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, z = x != null ? x : M && !C, y = [
36
36
  "orc-btn",
37
37
  c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
38
- p ? `orc-btn--${p}` : "",
38
+ f ? `orc-btn--${f}` : "",
39
39
  h ? "orc-btn--full" : "",
40
40
  u ? "orc-btn--fullHeight" : "",
41
- q ? "orc-btn--iconOnly" : "",
41
+ z ? "orc-btn--iconOnly" : "",
42
42
  m
43
- ].filter(Boolean).join(" "), N = /* @__PURE__ */ y(pe, { children: [
44
- f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
45
- !q && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
- v && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: v })
47
- ] }), z = s ? !0 : void 0;
43
+ ].filter(Boolean).join(" "), k = /* @__PURE__ */ _(pe, { children: [
44
+ g && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: g }),
45
+ !z && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
46
+ b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b })
47
+ ] }), q = s ? !0 : void 0;
48
48
  return n ? /* @__PURE__ */ t(
49
49
  it,
50
50
  {
@@ -52,21 +52,21 @@ function Y({
52
52
  target: o,
53
53
  rel: r,
54
54
  "aria-label": d,
55
- "aria-disabled": z,
56
- tabIndex: z ? -1 : void 0,
57
- className: _,
58
- onClick: z ? (D) => D.preventDefault() : a,
59
- children: N
55
+ "aria-disabled": q,
56
+ tabIndex: q ? -1 : void 0,
57
+ className: y,
58
+ onClick: q ? (D) => D.preventDefault() : a,
59
+ children: k
60
60
  }
61
61
  ) : /* @__PURE__ */ t(
62
62
  "button",
63
63
  {
64
64
  type: i,
65
65
  onClick: a,
66
- disabled: !!z,
66
+ disabled: !!q,
67
67
  "aria-label": d,
68
- className: _,
69
- children: N
68
+ className: y,
69
+ children: k
70
70
  }
71
71
  );
72
72
  }
@@ -81,7 +81,7 @@ function ge({
81
81
  n ? `orc-section-title--${n}` : "",
82
82
  o
83
83
  ].filter(Boolean).join(" ");
84
- return /* @__PURE__ */ y("div", { className: i, children: [
84
+ return /* @__PURE__ */ _("div", { className: i, children: [
85
85
  a && /* @__PURE__ */ t(
86
86
  "img",
87
87
  {
@@ -103,8 +103,8 @@ const dt = ({
103
103
  if (e <= 1) return null;
104
104
  const i = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = X(0);
105
105
  return Q(() => {
106
- c((p) => p + 1);
107
- }, [a, r]), /* @__PURE__ */ t("div", { className: i, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((p, h) => {
106
+ c((f) => f + 1);
107
+ }, [a, r]), /* @__PURE__ */ t("div", { className: i, 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(
110
110
  "button",
@@ -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__ */ y(
187
+ return /* @__PURE__ */ _(
188
188
  "div",
189
189
  {
190
190
  className: Fe.contenedor,
@@ -200,12 +200,12 @@ function Wt({ title: e, subtitle: a }) {
200
200
  children: e
201
201
  }
202
202
  ),
203
- a && /* @__PURE__ */ y(
203
+ a && /* @__PURE__ */ _(
204
204
  "div",
205
205
  {
206
206
  className: Fe.flexGroup,
207
207
  children: [
208
- /* @__PURE__ */ y("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
208
+ /* @__PURE__ */ _("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__ */ y("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
244
+ return /* @__PURE__ */ _("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__ */ y(
250
+ return /* @__PURE__ */ _(
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__ */ y(
286
+ return /* @__PURE__ */ _(
287
287
  "div",
288
288
  {
289
289
  className: `${ve.scoreWrapper} ${ve[n]}`,
@@ -301,7 +301,7 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
301
301
  logo: ia,
302
302
  name: sa,
303
303
  skeleton: la
304
- }, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Se = {
304
+ }, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7", we = {
305
305
  polo: ca,
306
306
  svgWrapper: da,
307
307
  shadow: ua,
@@ -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, r = e.stripes ? `#${e.stripes}` : null, i = e.sleevelong ? `#${e.sleevelong}` : null;
312
- return /* @__PURE__ */ y("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
313
- /* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ y("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
312
+ return /* @__PURE__ */ _("div", { className: `${we.polo} ${a != null ? a : ""}`, children: [
313
+ /* @__PURE__ */ t("div", { className: we.svgWrapper, children: /* @__PURE__ */ _("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
314
314
  /* @__PURE__ */ t(
315
315
  "path",
316
316
  {
@@ -318,7 +318,7 @@ function pa({ jersey: e, className: a }) {
318
318
  d: "m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8l-5-12.3-1.9-3.8-1.8-1.6.1-.8v-1l-.4-1.8-1.3-4.1-3.3-9-1.3-2-2.2-5.7-2.5-.3-1 .8v2l-2.7 13.1-8.7 58-.9 6.4-.2 7.9c0 3-1 16-1.7 18.3l-2.5 9-.2 7.6-.3 8.7-.3 7.5.3 4 .5 15c.3 1.9-.6 7-1.1 9.3-.6 2.4-1.6 7.5-1.4 8.8.3 1.4-.2 4.4-.5 5.8l-1.3 8.9c-.2 1.4-.8 5-1.3 7.2.7 1.6 4.7 14.6 5.9 17.8 1.2 3.3 4.8 19.4 5 20.7.3 1 1.1 7.8 1.5 11 .1 2.5.3 8 .2 10 0 2-.8 6.6-1.1 8.6-.2 1.7-.7 5.5-1.2 7s-1.2 8.5-1.4 11.8A81.1 81.1 0 0 1 477 552l.3 7.1.2 6.5 1.4 17.7.5 6 1.5 7.7.4 4.6c.3 2.1.7 7 .7 10.1.3 3-2.5 6-4 7 0 .2-1.2 1-4.6 3-6.4 5-26.3 11.6-35.5 14.3a379.2 379.2 0 0 1-58.6 11.2c-2.3.8-27 2.2-39 2.7-8.3 0-27 0-34.5-.4-11.5.9-47.4-4.8-63.9-7.7-6.3-.9-42.1-10.4-48-14.4-3.7-2.4-14.3-8-16.9-9.7a10.7 10.7 0 0 1-4.1-5.4c-.3-1 .1-8.6.4-12.3l.6-5 1.4-9.6 1-8 .3-4.3-.4-7.7-1-10.8v-13.8l.7-10 1.1-7.7 1.8-8 2.8-9.5 3.3-9.3a78 78 0 0 1-2.5-20.8 1112.2 1112.2 0 0 1 .6-14.1c-.1-.7 2.1-10.2 3.3-15l1-3.8-.1-.8c-1.4-8.3-1.5-14-1.9-15.4a78 78 0 0 1 .4-10.9l2-6.7.4-2-.4-1.5a67.6 67.6 0 0 1-7.3-27l-.2-7.7.5-5.4.3-1.5.4-3.9.7-5 .2-2.2-.2-.4-.3-6-1-3.1-.3-4-.7-7.6-1.5-8.3-.8-4.2-1.4-9.2-.4-4.3L172 279l-2.2-14.6a545 545 0 0 1-1.7-8.5c-.1-1-2-2.1-3-2.6 0 .6-.6 1.5-1.7 2-1.2.7-2.4 1.3-2.7 2.2l-.8 4.7a15 15 0 0 1-2.5 4.1 16.4 16.4 0 0 0-2.6 6.3l-.3 2.4v1.3l-1.4 1.1-.3.3-6 14.5c-.7 2.3-1.3 1.8-1.9 1.5l-10.5-3.1-9-3-18.3-6-20-6.8-13-4.8c-2.1-1-7-3-9.4-3.8-2.5-.8-3-1.3-2.8-1.4Z"
319
319
  }
320
320
  ),
321
- r && /* @__PURE__ */ y(pe, { children: [
321
+ r && /* @__PURE__ */ _(pe, { children: [
322
322
  /* @__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" }),
323
323
  /* @__PURE__ */ t("path", { fill: r, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
324
324
  ] }),
@@ -350,7 +350,7 @@ function pa({ jersey: e, className: a }) {
350
350
  "img",
351
351
  {
352
352
  src: "https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",
353
- className: Se.shadow,
353
+ className: we.shadow,
354
354
  alt: "",
355
355
  "aria-hidden": !0
356
356
  }
@@ -359,7 +359,7 @@ function pa({ jersey: e, className: a }) {
359
359
  "img",
360
360
  {
361
361
  src: "https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png",
362
- className: Se.highlight,
362
+ className: we.highlight,
363
363
  alt: "",
364
364
  "aria-hidden": !0
365
365
  }
@@ -367,14 +367,14 @@ function pa({ jersey: e, className: a }) {
367
367
  ] });
368
368
  }
369
369
  function $e({ name: e, jersey: a, size: n = "regular" }) {
370
- return /* @__PURE__ */ y("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
370
+ return /* @__PURE__ */ _("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
371
371
  a != null && a.base ? /* @__PURE__ */ t(
372
372
  pa,
373
373
  {
374
374
  jersey: a,
375
375
  className: `${_e.logo}`
376
376
  }
377
- ) : /* @__PURE__ */ t(j, { variant: "circular", className: `${_e.logo} ${_e.skeleton}` }),
377
+ ) : /* @__PURE__ */ t(H, { variant: "circular", className: `${_e.logo} ${_e.skeleton}` }),
378
378
  /* @__PURE__ */ t("span", { className: _e.name, children: e })
379
379
  ] });
380
380
  }
@@ -388,19 +388,19 @@ function fa(e, a, {
388
388
  if (!n) return;
389
389
  const c = e.current;
390
390
  if (!c) return;
391
- const p = (h) => {
391
+ const f = (h) => {
392
392
  const u = a.current;
393
393
  if (!u || !u.go) return;
394
394
  const { deltaX: m, deltaY: d } = h;
395
395
  if (Math.abs(m) <= Math.abs(d)) return;
396
396
  h.preventDefault(), i.current += m;
397
- const f = Date.now();
398
- if (f - s.current < r || Math.abs(i.current) < o) return;
399
- const v = i.current > 0 ? ">" : "<";
400
- i.current = 0, s.current = f, u.go(v);
397
+ const g = Date.now();
398
+ if (g - s.current < r || Math.abs(i.current) < o) return;
399
+ const b = i.current > 0 ? ">" : "<";
400
+ i.current = 0, s.current = g, u.go(b);
401
401
  };
402
- return c.addEventListener("wheel", p, { passive: !1 }), () => {
403
- c.removeEventListener("wheel", p), i.current = 0;
402
+ return c.addEventListener("wheel", f, { passive: !1 }), () => {
403
+ c.removeEventListener("wheel", f), i.current = 0;
404
404
  };
405
405
  }, [n, o, r, e, a]);
406
406
  }
@@ -419,12 +419,12 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
419
419
  options: i = {},
420
420
  className: s = "",
421
421
  onMove: c,
422
- useIndexAsKey: p = !1,
422
+ useIndexAsKey: f = !1,
423
423
  enableHorizontalWheel: h = !0,
424
424
  showRightGradient: u = !1
425
425
  }, m) => {
426
- const d = V(null), f = V(null), v = V(e.length), S = V(null), x = V(null), g = V("user");
427
- fa(f, d, {
426
+ const d = V(null), g = V(null), b = V(e.length), x = V(null), C = V(null), p = V("user");
427
+ fa(g, d, {
428
428
  enabled: h
429
429
  }), kt(m, () => ({
430
430
  next: () => {
@@ -436,84 +436,84 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
436
436
  return (O = d.current) == null ? void 0 : O.go("<");
437
437
  },
438
438
  go: (O) => {
439
- var b;
440
- return (b = d.current) == null ? void 0 : b.go(O);
439
+ var v;
440
+ return (v = d.current) == null ? void 0 : v.go(O);
441
441
  }
442
442
  }));
443
- const C = (O) => {
444
- var K;
445
- const b = O.Components.Slides, E = O.Components.Controller, L = O.root.querySelector(".splide__track"), B = (K = L == null ? void 0 : L.clientWidth) != null ? K : 0, A = E.getIndex(), U = b.getLength();
446
- let W = 0, G = A;
447
- for (let w = A; w < U; w++) {
448
- const R = b.getAt(w);
449
- if (!R || (W += R.slide.offsetWidth, W > B)) break;
450
- G = w;
443
+ const S = (O) => {
444
+ var Z;
445
+ const v = O.Components.Slides, I = O.Components.Controller, R = O.root.querySelector(".splide__track"), B = (Z = R == null ? void 0 : R.clientWidth) != null ? Z : 0, A = I.getIndex(), U = v.getLength();
446
+ let W = 0, j = A;
447
+ for (let G = A; G < U; G++) {
448
+ const E = v.getAt(G);
449
+ if (!E || (W += E.slide.offsetWidth, W > B)) break;
450
+ j = G;
451
451
  }
452
- return { visibleStart: A, visibleEnd: G };
453
- }, $ = (O) => {
454
- const b = O.root.querySelector(".splide__track"), E = O.root.querySelector(".splide__list");
455
- return !b || !E ? !1 : E.scrollWidth > b.clientWidth + 1;
456
- }, q = V(!1), _ = Ce((O) => {
457
- var K, w;
458
- if (q.current) return;
459
- const E = O.Components.Slides.getLength(), L = g.current;
460
- if (g.current = "user", !$(O)) {
452
+ return { visibleStart: A, visibleEnd: j };
453
+ }, M = (O) => {
454
+ const v = O.root.querySelector(".splide__track"), I = O.root.querySelector(".splide__list");
455
+ return !v || !I ? !1 : I.scrollWidth > v.clientWidth + 1;
456
+ }, z = V(!1), y = Ce((O) => {
457
+ var Z, G;
458
+ if (z.current) return;
459
+ const I = O.Components.Slides.getLength(), R = p.current;
460
+ if (p.current = "user", !M(O)) {
461
461
  c == null || c({
462
462
  index: 0,
463
463
  isStart: !0,
464
464
  isEnd: !0,
465
- total: E,
465
+ total: I,
466
466
  visibleStart: 0,
467
- visibleEnd: E - 1,
468
- source: L
467
+ visibleEnd: I - 1,
468
+ source: R
469
469
  });
470
470
  return;
471
471
  }
472
- const { visibleStart: B, visibleEnd: A } = C(O), U = B === 0, W = A === E - 1;
473
- u && ((K = S.current) == null || K.style.setProperty("--gradient-opacity", U ? "0" : "1"), (w = x.current) == null || w.style.setProperty("--gradient-opacity", W ? "0" : "1"));
474
- const G = O.Components.Controller.getIndex();
472
+ const { visibleStart: B, visibleEnd: A } = S(O), U = B === 0, W = A === I - 1;
473
+ u && ((Z = x.current) == null || Z.style.setProperty("--gradient-opacity", U ? "0" : "1"), (G = C.current) == null || G.style.setProperty("--gradient-opacity", W ? "0" : "1"));
474
+ const j = O.Components.Controller.getIndex();
475
475
  c == null || c({
476
- index: G,
476
+ index: j,
477
477
  isStart: U,
478
478
  isEnd: W,
479
- total: E,
479
+ total: I,
480
480
  visibleStart: B,
481
481
  visibleEnd: A,
482
- source: L
482
+ source: R
483
483
  });
484
484
  }, [c]);
485
485
  fe.useEffect(() => {
486
- var E;
487
- const O = (E = d.current) == null ? void 0 : E.splide;
486
+ var I;
487
+ const O = (I = d.current) == null ? void 0 : I.splide;
488
488
  if (!O) return;
489
- const b = v.current !== e.length;
490
- v.current = e.length, b && requestAnimationFrame(() => {
491
- q.current = !0;
489
+ const v = b.current !== e.length;
490
+ b.current = e.length, v && requestAnimationFrame(() => {
491
+ z.current = !0;
492
492
  try {
493
493
  O.refresh();
494
494
  } finally {
495
- q.current = !1;
495
+ z.current = !1;
496
496
  }
497
- g.current = "resize", _(O);
497
+ p.current = "resize", y(O);
498
498
  });
499
- }, [e.length, _]);
500
- const N = Ce(() => {
501
- var b;
502
- const O = (b = d.current) == null ? void 0 : b.splide;
499
+ }, [e.length, y]);
500
+ const k = Ce(() => {
501
+ var v;
502
+ const O = (v = d.current) == null ? void 0 : v.splide;
503
503
  if (O) {
504
- q.current = !0;
504
+ z.current = !0;
505
505
  try {
506
506
  O.go(0, !1);
507
507
  } finally {
508
- q.current = !1;
508
+ z.current = !1;
509
509
  }
510
- g.current = "resize", _(O);
510
+ p.current = "resize", y(O);
511
511
  }
512
- }, [_]), z = Ce(
512
+ }, [y]), q = Ce(
513
513
  (O) => {
514
- g.current = "mounted", _(O);
514
+ p.current = "mounted", y(O);
515
515
  },
516
- [_]
516
+ [y]
517
517
  ), D = {
518
518
  type: "slide",
519
519
  trimSpace: !1,
@@ -529,10 +529,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
529
529
  ...i,
530
530
  ...h ? { wheel: !1 } : {}
531
531
  };
532
- return /* @__PURE__ */ y(
532
+ return /* @__PURE__ */ _(
533
533
  "div",
534
534
  {
535
- ref: f,
535
+ ref: g,
536
536
  className: s,
537
537
  style: { width: "100%", position: "relative", height: "100%" },
538
538
  children: [
@@ -541,23 +541,23 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
541
541
  {
542
542
  ref: d,
543
543
  options: D,
544
- onMove: _,
545
- onMounted: z,
546
- onResize: N,
547
- children: e.map((O, b) => {
548
- var E;
549
- return /* @__PURE__ */ t(ya, { children: a(O, b) }, p ? b : (E = O.id) != null ? E : b);
544
+ onMove: y,
545
+ onMounted: q,
546
+ onResize: k,
547
+ children: e.map((O, v) => {
548
+ var I;
549
+ return /* @__PURE__ */ t(ya, { children: a(O, v) }, f ? v : (I = O.id) != null ? I : v);
550
550
  })
551
551
  }
552
552
  ),
553
- u && /* @__PURE__ */ y(pe, { children: [
553
+ u && /* @__PURE__ */ _(pe, { children: [
554
554
  /* @__PURE__ */ t(
555
555
  "div",
556
556
  {
557
- ref: S,
557
+ ref: x,
558
558
  className: `${ye.gradientOverlay} ${ye.left}`,
559
559
  style: { "--gradient-opacity": "0" },
560
- children: /* @__PURE__ */ y(
560
+ children: /* @__PURE__ */ _(
561
561
  "svg",
562
562
  {
563
563
  className: ye.svg,
@@ -567,7 +567,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
567
567
  xmlns: "http://www.w3.org/2000/svg",
568
568
  children: [
569
569
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
570
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ y("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
570
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ _("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
571
571
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
572
572
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
573
573
  ] }) })
@@ -579,10 +579,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
579
579
  /* @__PURE__ */ t(
580
580
  "div",
581
581
  {
582
- ref: x,
582
+ ref: C,
583
583
  className: `${ye.gradientOverlay} ${ye.right}`,
584
584
  style: { "--gradient-opacity": "1" },
585
- children: /* @__PURE__ */ y(
585
+ children: /* @__PURE__ */ _(
586
586
  "svg",
587
587
  {
588
588
  className: ye.svg,
@@ -592,7 +592,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
592
592
  xmlns: "http://www.w3.org/2000/svg",
593
593
  children: [
594
594
  /* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
595
- /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ y("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
595
+ /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ _("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
596
596
  /* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
597
597
  /* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
598
598
  ] }) })
@@ -615,7 +615,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
615
615
  const r = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, i = (c) => {
616
616
  c.stopPropagation(), a == null || a();
617
617
  }, s = o ? { width: "100%", height: "100%" } : { width: `${r.w}px`, height: `${r.h}px` };
618
- return /* @__PURE__ */ y(
618
+ return /* @__PURE__ */ _(
619
619
  P,
620
620
  {
621
621
  onClick: a,
@@ -703,18 +703,18 @@ function xa({
703
703
  md: { w: 186, h: 264, r: 22.6, font: 64 }
704
704
  }
705
705
  }) {
706
- var m, d, f, v;
707
- const i = (S, x) => {
708
- var g, C, $, q;
706
+ var m, d, g, b;
707
+ const i = (x, C) => {
708
+ var p, S, M, z;
709
709
  return {
710
- xs: (C = (g = r.xs) == null ? void 0 : g[S]) != null ? C : x,
711
- md: (q = ($ = r.md) == null ? void 0 : $[S]) != null ? q : x
710
+ xs: (S = (p = r.xs) == null ? void 0 : p[x]) != null ? S : C,
711
+ md: (z = (M = r.md) == null ? void 0 : M[x]) != null ? z : C
712
712
  };
713
- }, s = i("w", 186), c = i("h", 264), p = i("r", 22.6), h = i("font", 64), u = {
713
+ }, s = i("w", 186), c = i("h", 264), f = i("r", 22.6), h = i("font", 64), u = {
714
714
  xs: Math.round(((d = (m = r.xs) == null ? void 0 : m.font) != null ? d : 64) * 0.28),
715
- md: Math.round(((v = (f = r.md) == null ? void 0 : f.font) != null ? v : 64) * 0.28)
715
+ md: Math.round(((b = (g = r.md) == null ? void 0 : g.font) != null ? b : 64) * 0.28)
716
716
  };
717
- return /* @__PURE__ */ y(
717
+ return /* @__PURE__ */ _(
718
718
  P,
719
719
  {
720
720
  sx: {
@@ -725,7 +725,7 @@ function xa({
725
725
  xs: `${s.xs}/${c.xs}`,
726
726
  md: `${s.md}/${c.md}`
727
727
  },
728
- borderRadius: { xs: `${p.xs}px`, md: `${p.md}px` },
728
+ borderRadius: { xs: `${f.xs}px`, md: `${f.md}px` },
729
729
  boxSizing: "border-box",
730
730
  overflow: "visible",
731
731
  pb: { xs: `${u.xs}px`, md: `${u.md}px` },
@@ -751,7 +751,7 @@ function xa({
751
751
  overflow: "hidden"
752
752
  },
753
753
  children: o ? /* @__PURE__ */ t(
754
- j,
754
+ H,
755
755
  {
756
756
  variant: "rectangular",
757
757
  width: "100%",
@@ -804,7 +804,7 @@ function xa({
804
804
  }
805
805
  );
806
806
  }
807
- const wa = ({
807
+ const Sa = ({
808
808
  logo: e,
809
809
  provider: a,
810
810
  providerName: n,
@@ -812,7 +812,7 @@ const wa = ({
812
812
  onClick: r
813
813
  }) => {
814
814
  var i;
815
- return /* @__PURE__ */ y(
815
+ return /* @__PURE__ */ _(
816
816
  P,
817
817
  {
818
818
  onClick: r,
@@ -884,7 +884,7 @@ const wa = ({
884
884
  }
885
885
  );
886
886
  }, qe = 12, ze = ({ r: e = 16 }) => /* @__PURE__ */ t(P, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
887
- j,
887
+ H,
888
888
  {
889
889
  variant: "rectangular",
890
890
  width: "100%",
@@ -907,8 +907,8 @@ const wa = ({
907
907
  }) => {
908
908
  var i, s;
909
909
  if (a === "mosaic") {
910
- const c = e[0], p = e.slice(1, 5);
911
- return /* @__PURE__ */ y(
910
+ const c = e[0], f = e.slice(1, 5);
911
+ return /* @__PURE__ */ _(
912
912
  P,
913
913
  {
914
914
  sx: {
@@ -953,7 +953,7 @@ const wa = ({
953
953
  )
954
954
  }
955
955
  ),
956
- (o ? Array.from({ length: 4 }) : p).map((h, u) => {
956
+ (o ? Array.from({ length: 4 }) : f).map((h, u) => {
957
957
  var m, d;
958
958
  return /* @__PURE__ */ t(
959
959
  P,
@@ -997,7 +997,7 @@ const wa = ({
997
997
  gap: `${qe}px`,
998
998
  gridAutoFlow: "column"
999
999
  },
1000
- children: (o ? Array.from({ length: r }) : e).map((c, p) => {
1000
+ children: (o ? Array.from({ length: r }) : e).map((c, f) => {
1001
1001
  var h, u, m;
1002
1002
  return /* @__PURE__ */ t(
1003
1003
  P,
@@ -1009,11 +1009,11 @@ const wa = ({
1009
1009
  imageUrl: `https://olimpo.bet${(u = (h = c.background) != null ? h : c.imageUrl) != null ? u : ""}`,
1010
1010
  size: "sm",
1011
1011
  fillParent: !0,
1012
- onClick: () => n == null ? void 0 : n(c, p)
1012
+ onClick: () => n == null ? void 0 : n(c, f)
1013
1013
  }
1014
1014
  )
1015
1015
  },
1016
- o ? `sk-${p}` : (m = c.id) != null ? m : p
1016
+ o ? `sk-${f}` : (m = c.id) != null ? m : f
1017
1017
  );
1018
1018
  })
1019
1019
  }
@@ -1027,10 +1027,10 @@ const wa = ({
1027
1027
  backgroundImage: i,
1028
1028
  alt: s,
1029
1029
  className: c = "",
1030
- variant: p = "small"
1030
+ variant: f = "small"
1031
1031
  }) => {
1032
- const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", m = p === "large";
1033
- return /* @__PURE__ */ y(
1032
+ const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", m = f === "large";
1033
+ return /* @__PURE__ */ _(
1034
1034
  P,
1035
1035
  {
1036
1036
  className: c,
@@ -1091,7 +1091,7 @@ const wa = ({
1091
1091
  pl: "14%",
1092
1092
  pr: { xs: "14%", lg: "15%" }
1093
1093
  },
1094
- children: /* @__PURE__ */ y(
1094
+ children: /* @__PURE__ */ _(
1095
1095
  P,
1096
1096
  {
1097
1097
  sx: {
@@ -1112,7 +1112,7 @@ const wa = ({
1112
1112
  children: e
1113
1113
  }
1114
1114
  ),
1115
- a && /* @__PURE__ */ y(
1115
+ a && /* @__PURE__ */ _(
1116
1116
  P,
1117
1117
  {
1118
1118
  component: "p",
@@ -1170,7 +1170,7 @@ const wa = ({
1170
1170
  ]
1171
1171
  }
1172
1172
  );
1173
- }, Sa = ({
1173
+ }, wa = ({
1174
1174
  text: e,
1175
1175
  buttonLabel: a = "Conoce más",
1176
1176
  onClick: n,
@@ -1178,7 +1178,7 @@ const wa = ({
1178
1178
  imgSrcMobile: r,
1179
1179
  imgSrcDesktopBg: i,
1180
1180
  imgSrcDesktopLogo: s
1181
- }) => /* @__PURE__ */ y(pe, { children: [
1181
+ }) => /* @__PURE__ */ _(pe, { children: [
1182
1182
  /* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
1183
1183
  "img",
1184
1184
  {
@@ -1187,7 +1187,7 @@ const wa = ({
1187
1187
  className: "orc-co-bgMobileImg"
1188
1188
  }
1189
1189
  ) }),
1190
- /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ y("div", { className: "orc-co-desktopInner", children: [
1190
+ /* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ _("div", { className: "orc-co-desktopInner", children: [
1191
1191
  i && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
1192
1192
  "img",
1193
1193
  {
@@ -1196,7 +1196,7 @@ const wa = ({
1196
1196
  className: "orc-co-bgDesktopImg"
1197
1197
  }
1198
1198
  ) }),
1199
- /* @__PURE__ */ y("div", { className: "orc-co-desktopContent", children: [
1199
+ /* @__PURE__ */ _("div", { className: "orc-co-desktopContent", children: [
1200
1200
  s && /* @__PURE__ */ t(
1201
1201
  "img",
1202
1202
  {
@@ -1209,14 +1209,14 @@ const wa = ({
1209
1209
  /* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
1210
1210
  ] })
1211
1211
  ] }) }),
1212
- /* @__PURE__ */ y("div", { className: "orc-co-bottom", children: [
1212
+ /* @__PURE__ */ _("div", { className: "orc-co-bottom", children: [
1213
1213
  /* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
1214
1214
  /* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
1215
1215
  ] })
1216
- ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ca = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1216
+ ] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ca = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
1217
1217
  card: Ia,
1218
- combinadas: Ea,
1219
- combinadasScroll: Oa,
1218
+ combinadas: Oa,
1219
+ combinadasScroll: Ea,
1220
1220
  apuestaItem: Ca,
1221
1221
  lineContainer: Ta,
1222
1222
  circle: ka,
@@ -1261,34 +1261,34 @@ function La({ coupon: e }) {
1261
1261
  var h;
1262
1262
  const a = ae(), n = ne();
1263
1263
  function o(u) {
1264
- var f, v;
1264
+ var g, b;
1265
1265
  const m = [], d = Array.from(
1266
1266
  new Map(
1267
- ((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((S) => [S.id, S])
1267
+ ((g = u == null ? void 0 : u.events) != null ? g : []).filter(Boolean).map((x) => [x.id, x])
1268
1268
  ).values()
1269
1269
  );
1270
- return d.forEach((S) => {
1271
- var $;
1272
- const x = ($ = S.betoffers) != null ? $ : [], g = S.homeName, C = S.awayName;
1273
- x.forEach((q) => {
1274
- var D, O, b, E, L, B, A;
1275
- if (!((D = q == null ? void 0 : q.outcomes) != null && D.length)) return;
1276
- const _ = q.outcomes[0];
1277
- if (!_) return;
1278
- let N = "";
1279
- const z = _ != null && _.line ? _.line / 1e3 : "";
1280
- ["Más de", "Mas de", "Over"].includes(_.label) ? (N = `Más de ${z}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Menos de", "Menos", "Under"].includes(_.label) ? (N = `Menos de ${z}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Sí", "No"].includes(_.label) ? (N = _.label, _.participant && (N = `${_.participant} - ${N}`)) : ["1X", "12", "X2"].includes(_.label) ? (_.label === "1X" && (N = `${g} o Empate`), _.label === "12" && (N = `${g} o ${C}`), _.label === "X2" && (N = `${C} o Empate`)) : (N = (b = (O = _.participant) != null ? O : _.label) != null ? b : "", z !== "" && N === _.label && (N = `${_.label} ${z}`)), m.push({
1281
- id: _.id,
1282
- value: N,
1283
- label: (L = (E = q.criterion) == null ? void 0 : E.label) != null ? L : "",
1284
- odds: (B = _.odds) != null ? B : 0,
1285
- position: (A = _.position) != null ? A : 0,
1286
- eventId: S.id
1270
+ return d.forEach((x) => {
1271
+ var M;
1272
+ const C = (M = x.betoffers) != null ? M : [], p = x.homeName, S = x.awayName;
1273
+ C.forEach((z) => {
1274
+ var D, O, v, I, R, B, A;
1275
+ if (!((D = z == null ? void 0 : z.outcomes) != null && D.length)) return;
1276
+ const y = z.outcomes[0];
1277
+ if (!y) return;
1278
+ let k = "";
1279
+ const q = y != null && y.line ? y.line / 1e3 : "";
1280
+ ["Más de", "Mas de", "Over"].includes(y.label) ? (k = `Más de ${q}`, y.participant && (k = `${y.participant} - ${k}`)) : ["Menos de", "Menos", "Under"].includes(y.label) ? (k = `Menos de ${q}`, y.participant && (k = `${y.participant} - ${k}`)) : ["Sí", "No"].includes(y.label) ? (k = y.label, y.participant && (k = `${y.participant} - ${k}`)) : ["1X", "12", "X2"].includes(y.label) ? (y.label === "1X" && (k = `${p} o Empate`), y.label === "12" && (k = `${p} o ${S}`), y.label === "X2" && (k = `${S} o Empate`)) : (k = (v = (O = y.participant) != null ? O : y.label) != null ? v : "", q !== "" && k === y.label && (k = `${y.label} ${q}`)), m.push({
1281
+ id: y.id,
1282
+ value: k,
1283
+ label: (R = (I = z.criterion) == null ? void 0 : I.label) != null ? R : "",
1284
+ odds: (B = y.odds) != null ? B : 0,
1285
+ position: (A = y.position) != null ? A : 0,
1286
+ eventId: x.id
1287
1287
  });
1288
1288
  });
1289
1289
  }), {
1290
- outcomes: m.sort((S, x) => S.position - x.position),
1291
- total: Number((v = u == null ? void 0 : u.combinadoTotal) != null ? v : 0).toLocaleString("en-US", {
1290
+ outcomes: m.sort((x, C) => x.position - C.position),
1291
+ total: Number((b = u == null ? void 0 : u.combinadoTotal) != null ? b : 0).toLocaleString("en-US", {
1292
1292
  minimumFractionDigits: 2,
1293
1293
  maximumFractionDigits: 2
1294
1294
  }),
@@ -1302,44 +1302,44 @@ function La({ coupon: e }) {
1302
1302
  if (m.length === 1)
1303
1303
  return `/deportes#event/${m[0].id}`;
1304
1304
  const d = m[0].groupId;
1305
- if (m.every((v) => v.groupId === d)) {
1306
- const v = m[0].path;
1307
- if (Array.isArray(v) && v.length > 0)
1308
- return `/deportes#sports-hub/${v.map((x) => x.termKey).filter(Boolean).join("/")}`;
1305
+ if (m.every((b) => b.groupId === d)) {
1306
+ const b = m[0].path;
1307
+ if (Array.isArray(b) && b.length > 0)
1308
+ return `/deportes#sports-hub/${b.map((C) => C.termKey).filter(Boolean).join("/")}`;
1309
1309
  }
1310
1310
  return "/deportes#home";
1311
1311
  }
1312
1312
  const i = (u, m) => {
1313
- const d = Array.isArray(u) ? u : [u], f = Array.from(
1313
+ const d = Array.isArray(u) ? u : [u], g = Array.from(
1314
1314
  new Set(
1315
- s.outcomes.map((x) => {
1316
- var C;
1317
- const g = p.get(Number(x.eventId));
1318
- return (C = g == null ? void 0 : g.name) != null ? C : "";
1315
+ s.outcomes.map((C) => {
1316
+ var S;
1317
+ const p = f.get(Number(C.eventId));
1318
+ return (S = p == null ? void 0 : p.name) != null ? S : "";
1319
1319
  })
1320
1320
  )
1321
- ).filter(Boolean), v = f.length > 0 ? f.join(" + ") : JSON.stringify(d), S = m ? `${v} - Cuota: ${m}` : v;
1321
+ ).filter(Boolean), b = g.length > 0 ? g.join(" + ") : JSON.stringify(d), x = m ? `${b} - Cuota: ${m}` : b;
1322
1322
  a({
1323
1323
  element: "evento_semana_outcome",
1324
- label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${S}`,
1324
+ label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${x}`,
1325
1325
  target: "/deportes#in-play",
1326
1326
  event_type: "click",
1327
1327
  module_id: 301,
1328
1328
  metadata: {
1329
1329
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1330
1330
  },
1331
- tags: { section: "OraculoEventCombinadasCard", outcomes: S }
1331
+ tags: { section: "OraculoEventCombinadasCard", outcomes: x }
1332
1332
  }), Ue(r(e), u);
1333
1333
  };
1334
1334
  if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
1335
- const s = o(e), c = s.outcomes.reduce((u, m) => (u[m.eventId] || (u[m.eventId] = []), u[m.eventId].push(m), u), {}), p = new Map(
1335
+ 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(
1336
1336
  s.events.map((u) => [u.id, u])
1337
1337
  );
1338
- return /* @__PURE__ */ y("div", { className: ce.card, children: [
1339
- /* @__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]) => {
1340
- const d = p.get(Number(u));
1341
- return d ? /* @__PURE__ */ y(
1342
- H,
1338
+ return /* @__PURE__ */ _("div", { className: ce.card, children: [
1339
+ /* @__PURE__ */ t("div", { className: ce.combinadas, children: /* @__PURE__ */ t("div", { className: ce.combinadasScroll, children: /* @__PURE__ */ t(K, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(c).reverse().map(([u, m]) => {
1340
+ const d = f.get(Number(u));
1341
+ return d ? /* @__PURE__ */ _(
1342
+ K,
1343
1343
  {
1344
1344
  direction: "column",
1345
1345
  spacing: 0.5,
@@ -1360,23 +1360,23 @@ function La({ coupon: e }) {
1360
1360
  src: "/assets/img/home/Combinadas/line.png"
1361
1361
  }
1362
1362
  ),
1363
- m.map((f, v) => /* @__PURE__ */ y("div", { className: ce.apuestaItem, children: [
1364
- /* @__PURE__ */ y("div", { className: ce.lineContainer, children: [
1363
+ m.map((g, b) => /* @__PURE__ */ _("div", { className: ce.apuestaItem, children: [
1364
+ /* @__PURE__ */ _("div", { className: ce.lineContainer, children: [
1365
1365
  /* @__PURE__ */ t("div", { className: ce.circle }),
1366
- v < m.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1366
+ b < m.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
1367
1367
  ] }),
1368
- /* @__PURE__ */ y("div", { className: ce.apuestaText, children: [
1369
- /* @__PURE__ */ t("strong", { children: f.value }),
1368
+ /* @__PURE__ */ _("div", { className: ce.apuestaText, children: [
1369
+ /* @__PURE__ */ t("strong", { children: g.value }),
1370
1370
  " | ",
1371
- f.label
1371
+ g.label
1372
1372
  ] })
1373
- ] }, `${u}-${v}`))
1373
+ ] }, `${u}-${b}`))
1374
1374
  ]
1375
1375
  },
1376
1376
  u
1377
1377
  ) : null;
1378
1378
  }) }) }) }),
1379
- /* @__PURE__ */ y(
1379
+ /* @__PURE__ */ _(
1380
1380
  "button",
1381
1381
  {
1382
1382
  onClick: () => i(
@@ -1385,7 +1385,7 @@ function La({ coupon: e }) {
1385
1385
  ),
1386
1386
  className: ce.cuotaTotal,
1387
1387
  children: [
1388
- /* @__PURE__ */ y("span", { children: [
1388
+ /* @__PURE__ */ _("span", { children: [
1389
1389
  "Cuota total: ",
1390
1390
  /* @__PURE__ */ t("strong", { children: s.total })
1391
1391
  ] }),
@@ -1425,31 +1425,31 @@ function Fa({
1425
1425
  type: i = "button",
1426
1426
  disabled: s = !1,
1427
1427
  variant: c = "primary",
1428
- size: p,
1428
+ size: f,
1429
1429
  fullWidth: h = !1,
1430
1430
  fullHeight: u = !1,
1431
1431
  className: m = "",
1432
1432
  ariaLabel: d,
1433
- leftIcon: f,
1434
- rightIcon: v,
1435
- iconOnly: S
1433
+ leftIcon: g,
1434
+ rightIcon: b,
1435
+ iconOnly: x
1436
1436
  }) {
1437
- const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, q = S != null ? S : $ && !x, _ = [
1437
+ const C = !!e && e !== !0, M = (!!g ? 1 : 0) + (!!b ? 1 : 0) == 1, z = x != null ? x : M && !C, y = [
1438
1438
  de["orc-btn"],
1439
1439
  // base
1440
1440
  de[`orc-btn--${c}`],
1441
1441
  // variant primary/secondary/tertiary
1442
- p ? de[`orc-btn--${p}`] : "",
1442
+ f ? de[`orc-btn--${f}`] : "",
1443
1443
  // sm / md / lg
1444
1444
  h ? de["orc-btn--full"] : "",
1445
1445
  u ? de["orc-btn--fullHeight"] : "",
1446
- q ? de["orc-btn--iconOnly"] : "",
1446
+ z ? de["orc-btn--iconOnly"] : "",
1447
1447
  m
1448
- ].filter(Boolean).join(" "), N = /* @__PURE__ */ y(pe, { children: [
1449
- f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
1450
- !q && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1451
- v && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: v })
1452
- ] }), z = s ? !0 : void 0;
1448
+ ].filter(Boolean).join(" "), k = /* @__PURE__ */ _(pe, { children: [
1449
+ g && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: g }),
1450
+ !z && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
1451
+ b && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: b })
1452
+ ] }), q = s ? !0 : void 0;
1453
1453
  return n ? /* @__PURE__ */ t(
1454
1454
  it,
1455
1455
  {
@@ -1457,21 +1457,21 @@ function Fa({
1457
1457
  target: o,
1458
1458
  rel: r,
1459
1459
  "aria-label": d,
1460
- "aria-disabled": z,
1461
- tabIndex: z ? -1 : void 0,
1462
- className: _,
1463
- onClick: z ? (D) => D.preventDefault() : a,
1464
- children: N
1460
+ "aria-disabled": q,
1461
+ tabIndex: q ? -1 : void 0,
1462
+ className: y,
1463
+ onClick: q ? (D) => D.preventDefault() : a,
1464
+ children: k
1465
1465
  }
1466
1466
  ) : /* @__PURE__ */ t(
1467
1467
  "button",
1468
1468
  {
1469
1469
  type: i,
1470
1470
  onClick: a,
1471
- disabled: !!z,
1471
+ disabled: !!q,
1472
1472
  "aria-label": d,
1473
- className: _,
1474
- children: N
1473
+ className: y,
1474
+ children: k
1475
1475
  }
1476
1476
  );
1477
1477
  }
@@ -1501,11 +1501,11 @@ const qa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", za = "
1501
1501
  return o || (a === "home" ? Xe : Ye);
1502
1502
  };
1503
1503
  function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1504
- var c, p, h, u, m, d, f, v, S, x, g;
1504
+ var c, f, h, u, m, d, g, b, x, C, p;
1505
1505
  const r = n == null ? void 0 : n.find(
1506
- (C) => {
1507
- var $;
1508
- return (($ = C.betOfferType) == null ? void 0 : $.id) === 2;
1506
+ (S) => {
1507
+ var M;
1508
+ return ((M = S.betOfferType) == null ? void 0 : M.id) === 2;
1509
1509
  }
1510
1510
  ), i = {
1511
1511
  englishLabel: "",
@@ -1521,28 +1521,28 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
1521
1521
  { ...i, id: -2, label: "X", odds: void 0 },
1522
1522
  { ...i, id: -3, label: "2", odds: void 0 }
1523
1523
  ];
1524
- return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
- /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1524
+ return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ _(K, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1525
+ /* @__PURE__ */ _(K, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1526
1526
  /* @__PURE__ */ t(
1527
1527
  Ht,
1528
1528
  {
1529
- title: (h = (p = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : p.name) != null ? h : "",
1529
+ title: (h = (f = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : f.name) != null ? h : "",
1530
1530
  subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
1531
1531
  live: !0,
1532
1532
  time: ((m = a == null ? void 0 : a.matchClock) == null ? void 0 : m.minute) != null ? `${a.matchClock.minute}'` : ""
1533
1533
  }
1534
1534
  ),
1535
- /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1535
+ /* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1536
1536
  /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
1537
- /* @__PURE__ */ t(pt, { text: ((f = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? f : 0) + ":" + ((S = (v = a == null ? void 0 : a.score) == null ? void 0 : v.away) != null ? S : 0), name: "En vivo" }),
1537
+ /* @__PURE__ */ t(pt, { text: ((g = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? g : 0) + ":" + ((x = (b = a == null ? void 0 : a.score) == null ? void 0 : b.away) != null ? x : 0), name: "En vivo" }),
1538
1538
  /* @__PURE__ */ t($e, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
1539
1539
  ] }) })
1540
1540
  ] }),
1541
- /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1542
- /* @__PURE__ */ t(me, { spacing: 1, children: ((x = r == null ? void 0 : r.outcomes) != null ? x : s).map((C, $) => /* @__PURE__ */ t(ut, { text: C.label.toUpperCase() }, $)) }),
1543
- /* @__PURE__ */ t(me, { spacing: 2, children: ((g = r == null ? void 0 : r.outcomes) != null ? g : s).map((C, $) => /* @__PURE__ */ t(Fa, { variant: "primary", disabled: C.odds == null || (r == null ? void 0 : r.cashOutStatus) == "SUSPENDED", onClick: () => {
1544
- Ue("/deportes#event/live/" + e.id, C.id);
1545
- }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: C.odds === void 0 ? "" : (C.odds / 1e3).toFixed(2) }) }, $)) })
1541
+ /* @__PURE__ */ _(K, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1542
+ /* @__PURE__ */ t(me, { spacing: 1, children: ((C = r == null ? void 0 : r.outcomes) != null ? C : s).map((S, M) => /* @__PURE__ */ t(ut, { text: S.label.toUpperCase() }, M)) }),
1543
+ /* @__PURE__ */ t(me, { spacing: 2, children: ((p = r == null ? void 0 : r.outcomes) != null ? p : s).map((S, M) => /* @__PURE__ */ t(Fa, { variant: "primary", disabled: S.odds == null || (r == null ? void 0 : r.cashOutStatus) == "SUSPENDED", onClick: () => {
1544
+ Ue("/deportes#event/live/" + e.id, S.id);
1545
+ }, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: S.odds === void 0 ? "" : (S.odds / 1e3).toFixed(2) }) }, M)) })
1546
1546
  ] })
1547
1547
  ] }) });
1548
1548
  }
@@ -1559,43 +1559,43 @@ const Ga = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ja =
1559
1559
  equipos: Ka
1560
1560
  };
1561
1561
  function Za({ event: e, jersey: a }) {
1562
- var s, c, p, h, u, m, d;
1562
+ var s, c, f, h, u, m, d;
1563
1563
  const n = ae(), o = ne();
1564
- function r(f) {
1565
- const v = new Date(f), S = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), x = v.getDate().toString().padStart(2, "0"), g = (v.getMonth() + 1).toString().padStart(2, "0");
1566
- let C = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1567
- return C = C.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${S} ${x}/${g} | ${C}`;
1564
+ function r(g) {
1565
+ const b = new Date(g), x = b.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = b.getDate().toString().padStart(2, "0"), p = (b.getMonth() + 1).toString().padStart(2, "0");
1566
+ let S = b.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1567
+ return S = S.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${C}/${p} | ${S}`;
1568
1568
  }
1569
- const i = (f, v) => {
1570
- const S = `${e.homeName} vs ${e.awayName}`, x = v ? (v / 1e3).toFixed(2) : "", g = x ? `${S} - Cuota: ${x}` : S;
1569
+ const i = (g, b) => {
1570
+ const x = `${e.homeName} vs ${e.awayName}`, C = b ? (b / 1e3).toFixed(2) : "", p = C ? `${x} - Cuota: ${C}` : x;
1571
1571
  n({
1572
1572
  element: "evento_semana_outcome",
1573
- label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${g}`,
1573
+ label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${p}`,
1574
1574
  target: "/deportes#in-play",
1575
1575
  event_type: "click",
1576
1576
  module_id: 301,
1577
1577
  metadata: {
1578
1578
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1579
1579
  },
1580
- tags: { section: "OraculoEventSemanaCard", outcomes: g }
1581
- }), Ue("/deportes#event/" + e.id, f);
1580
+ tags: { section: "OraculoEventSemanaCard", outcomes: p }
1581
+ }), Ue("/deportes#event/" + e.id, g);
1582
1582
  };
1583
- return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
1583
+ return /* @__PURE__ */ _("div", { className: be.cardContainer, children: [
1584
1584
  /* @__PURE__ */ t(mt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
1585
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1586
- /* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1587
- /* @__PURE__ */ y("div", { className: be.equipos, children: [
1585
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ _(K, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1586
+ /* @__PURE__ */ _(K, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1587
+ /* @__PURE__ */ _("div", { className: be.equipos, children: [
1588
1588
  /* @__PURE__ */ t($e, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
1589
1589
  /* @__PURE__ */ t(pt, { text: "vs.", name: "", size: "small" }),
1590
1590
  /* @__PURE__ */ t($e, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
1591
1591
  ] }),
1592
1592
  /* @__PURE__ */ t(Wa, { text: r(e.start) })
1593
1593
  ] }),
1594
- /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1595
- /* @__PURE__ */ t(me, { spacing: 1, children: ((h = (p = (c = e == null ? void 0 : e.outcome) == null ? void 0 : c[0]) == null ? void 0 : p.outcomes) != null ? h : []).map((f, v) => /* @__PURE__ */ t(ut, { text: f.label.toUpperCase() }, v)) }),
1596
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (m = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((f, v) => /* @__PURE__ */ t(Y, { variant: "primary", fullHeight: !0, onClick: () => {
1597
- i(f.id, f.odds);
1598
- }, children: (f.odds / 1e3).toFixed(2) }, v)) }) })
1594
+ /* @__PURE__ */ _(K, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1595
+ /* @__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, b) => /* @__PURE__ */ t(ut, { text: g.label.toUpperCase() }, b)) }),
1596
+ /* @__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, b) => /* @__PURE__ */ t(Y, { variant: "primary", fullHeight: !0, onClick: () => {
1597
+ i(g.id, g.odds);
1598
+ }, children: (g.odds / 1e3).toFixed(2) }, b)) }) })
1599
1599
  ] })
1600
1600
  ] }) })
1601
1601
  ] });
@@ -1608,9 +1608,9 @@ function Ja({
1608
1608
  className: r = "",
1609
1609
  paddingMobile: i = "16px"
1610
1610
  }) {
1611
- var q;
1612
- const s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), h = ae(), u = ne(), m = le(), d = !e || e.length === 0, f = () => {
1613
- var _;
1611
+ var z;
1612
+ const s = V(null), [c, f] = X({ isStart: !0, isEnd: !1 }), h = ae(), u = ne(), m = le(), d = !e || e.length === 0, g = () => {
1613
+ var y;
1614
1614
  h({
1615
1615
  element: "destacados_carousel_prev",
1616
1616
  label: `${u} - OraculoSeccionDestacados - Anterior`,
@@ -1621,9 +1621,9 @@ function Ja({
1621
1621
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1622
1622
  },
1623
1623
  tags: { section: "OraculoSeccionDestacados" }
1624
- }), (_ = s.current) == null || _.prev();
1625
- }, v = () => {
1626
- var _;
1624
+ }), (y = s.current) == null || y.prev();
1625
+ }, b = () => {
1626
+ var y;
1627
1627
  h({
1628
1628
  element: "destacados_carousel_next",
1629
1629
  label: `${u} - OraculoSeccionDestacados - Siguiente`,
@@ -1634,8 +1634,8 @@ function Ja({
1634
1634
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1635
1635
  },
1636
1636
  tags: { section: "OraculoSeccionDestacados" }
1637
- }), (_ = s.current) == null || _.next();
1638
- }, S = () => {
1637
+ }), (y = s.current) == null || y.next();
1638
+ }, x = () => {
1639
1639
  h({
1640
1640
  element: "destacados_view_more",
1641
1641
  label: `${u} - OraculoSeccionDestacados - Ver más`,
@@ -1647,13 +1647,13 @@ function Ja({
1647
1647
  },
1648
1648
  tags: { section: "OraculoSeccionDestacados" }
1649
1649
  }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
1650
- }, x = (_) => {
1651
- if (!_) return;
1652
- const z = `https://www.olimpo.bet/promociones/${encodeURIComponent(_)}`;
1650
+ }, C = (y) => {
1651
+ if (!y) return;
1652
+ const q = `https://www.olimpo.bet/promociones/${encodeURIComponent(y)}`;
1653
1653
  h({
1654
1654
  element: "destacados_card",
1655
- label: `${u} - OraculoSeccionDestacados - Click: ${String(_)}`,
1656
- target: z,
1655
+ label: `${u} - OraculoSeccionDestacados - Click: ${String(y)}`,
1656
+ target: q,
1657
1657
  event_type: "click",
1658
1658
  module_id: m,
1659
1659
  metadata: {
@@ -1661,18 +1661,18 @@ function Ja({
1661
1661
  },
1662
1662
  tags: {
1663
1663
  section: "OraculoSeccionDestacados",
1664
- promotion: String(_)
1664
+ promotion: String(y)
1665
1665
  }
1666
- }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(z);
1667
- }, g = r || void 0, C = xe("(max-width:950px)"), $ = (q = e == null ? void 0 : e.length) != null ? q : 0;
1666
+ }), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(q);
1667
+ }, p = r || void 0, S = xe("(max-width:950px)"), M = (z = e == null ? void 0 : e.length) != null ? z : 0;
1668
1668
  return Q(() => {
1669
- if ($ === 0) {
1670
- p({ isStart: !0, isEnd: !0 });
1669
+ if (M === 0) {
1670
+ f({ isStart: !0, isEnd: !0 });
1671
1671
  return;
1672
1672
  }
1673
- p({ isStart: !0, isEnd: !1 });
1674
- }, [$, C, i]), /* @__PURE__ */ y("section", { className: g, style: { width: "100%" }, children: [
1675
- /* @__PURE__ */ y(
1673
+ f({ isStart: !0, isEnd: !1 });
1674
+ }, [M, S, i]), /* @__PURE__ */ _("section", { className: p, style: { width: "100%" }, children: [
1675
+ /* @__PURE__ */ _(
1676
1676
  "header",
1677
1677
  {
1678
1678
  style: {
@@ -1682,12 +1682,12 @@ function Ja({
1682
1682
  columnGap: 12,
1683
1683
  rowGap: 8,
1684
1684
  marginBottom: 16,
1685
- paddingLeft: C ? i : 0,
1686
- paddingRight: C ? i : 0
1685
+ paddingLeft: S ? i : 0,
1686
+ paddingRight: S ? i : 0
1687
1687
  },
1688
1688
  children: [
1689
1689
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1690
- /* @__PURE__ */ y("div", { style: { display: "flex", gap: 8 }, children: [
1690
+ /* @__PURE__ */ _("div", { style: { display: "flex", gap: 8 }, children: [
1691
1691
  /* @__PURE__ */ t(
1692
1692
  Y,
1693
1693
  {
@@ -1695,7 +1695,7 @@ function Ja({
1695
1695
  variant: "secondary",
1696
1696
  iconOnly: !0,
1697
1697
  leftIcon: /* @__PURE__ */ t(Ae, {}),
1698
- onClick: f,
1698
+ onClick: g,
1699
1699
  disabled: c.isStart || d
1700
1700
  }
1701
1701
  ),
@@ -1706,12 +1706,12 @@ function Ja({
1706
1706
  variant: "secondary",
1707
1707
  iconOnly: !0,
1708
1708
  rightIcon: /* @__PURE__ */ t(Re, {}),
1709
- onClick: v,
1709
+ onClick: b,
1710
1710
  disabled: c.isEnd || d
1711
1711
  }
1712
1712
  )
1713
1713
  ] }),
1714
- /* @__PURE__ */ t(Y, { variant: "secondary", onClick: S, children: "Ver más" })
1714
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: x, children: "Ver más" })
1715
1715
  ]
1716
1716
  }
1717
1717
  ),
@@ -1723,25 +1723,25 @@ function Ja({
1723
1723
  perPage: void 0,
1724
1724
  gap: "16px",
1725
1725
  enableHorizontalWheel: !0,
1726
- showRightGradient: !C,
1726
+ showRightGradient: !S,
1727
1727
  options: { autoWidth: !0, trimSpace: "move" },
1728
1728
  breakpoints: {
1729
1729
  768: { perPage: 2, focus: "start", padding: { left: i, right: i } },
1730
1730
  1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
1731
1731
  },
1732
- renderItem: (_) => /* @__PURE__ */ t(
1732
+ renderItem: (y) => /* @__PURE__ */ t(
1733
1733
  "div",
1734
1734
  {
1735
1735
  style: {
1736
1736
  textAlign: "center",
1737
1737
  cursor: "pointer"
1738
1738
  },
1739
- onClick: () => x(_.promotion),
1739
+ onClick: () => C(y.promotion),
1740
1740
  children: /* @__PURE__ */ t(
1741
1741
  "img",
1742
1742
  {
1743
- src: `https://olimpo.bet${_.image !== "" ? _.image : _.summary_image}`,
1744
- alt: _.title,
1743
+ src: `https://olimpo.bet${y.image !== "" ? y.image : y.summary_image}`,
1744
+ alt: y.title,
1745
1745
  style: {
1746
1746
  width: "100%",
1747
1747
  height: typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px",
@@ -1752,10 +1752,10 @@ function Ja({
1752
1752
  }
1753
1753
  )
1754
1754
  },
1755
- `${_.title}-${_.image}`
1755
+ `${y.title}-${y.image}`
1756
1756
  ),
1757
- onMove: ({ isStart: _, isEnd: N, source: z }) => {
1758
- p({ isStart: _, isEnd: N }), z === "user" && h({
1757
+ onMove: ({ isStart: y, isEnd: k, source: q }) => {
1758
+ f({ isStart: y, isEnd: k }), q === "user" && h({
1759
1759
  element: "destacados_carousel_slide",
1760
1760
  label: `${u} - OraculoSeccionDestacados - Slide Carousel`,
1761
1761
  target: "carousel",
@@ -1763,8 +1763,8 @@ function Ja({
1763
1763
  module_id: m,
1764
1764
  metadata: {
1765
1765
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
1766
- isStart: _,
1767
- isEnd: N
1766
+ isStart: y,
1767
+ isEnd: k
1768
1768
  },
1769
1769
  tags: { section: "OraculoSeccionDestacados" }
1770
1770
  });
@@ -1781,7 +1781,7 @@ function _t() {
1781
1781
  function Xa(e) {
1782
1782
  _t().extras = e;
1783
1783
  }
1784
- function se(e) {
1784
+ function ie(e) {
1785
1785
  var a;
1786
1786
  return (a = _t().extras) == null ? void 0 : a[e];
1787
1787
  }
@@ -1796,15 +1796,15 @@ function Qa({
1796
1796
  }) {
1797
1797
  const r = ae(), i = ne(), s = le(), c = re(
1798
1798
  () => (e != null ? e : []).map((m, d) => {
1799
- var f;
1799
+ var g;
1800
1800
  return {
1801
1801
  ...m,
1802
- orden: (f = m.orden) != null ? f : d + 1,
1802
+ orden: (g = m.orden) != null ? g : d + 1,
1803
1803
  _originalIndex: d
1804
1804
  };
1805
1805
  }).sort((m, d) => m.orden != null && d.orden != null ? m.orden - d.orden : m._originalIndex - d._originalIndex),
1806
1806
  [e]
1807
- ), p = !e || e.length === 0, h = p ? Array.from({ length: 6 }) : c.slice(0, 6), u = (m) => {
1807
+ ), f = !e || e.length === 0, h = f ? Array.from({ length: 6 }) : c.slice(0, 6), u = (m) => {
1808
1808
  r({
1809
1809
  element: "top_juegos_card",
1810
1810
  label: `${i} - OraculoSeccionTopJuegos - Open game: ${String(m.machine || "unknown")}`,
@@ -1819,12 +1819,12 @@ function Qa({
1819
1819
  section: "OraculoSeccionTopJuegos"
1820
1820
  }
1821
1821
  });
1822
- const d = se("showIframe"), f = se("loadMachine");
1822
+ const d = ie("showIframe"), g = ie("loadMachine");
1823
1823
  d == null || d(), requestAnimationFrame(() => {
1824
- f == null || f(m, !1, "CASINO");
1824
+ g == null || g(m, !1, "CASINO");
1825
1825
  });
1826
1826
  };
1827
- return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1827
+ return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ _(K, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1828
1828
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
1829
1829
  /* @__PURE__ */ t(
1830
1830
  P,
@@ -1840,18 +1840,18 @@ function Qa({
1840
1840
  width: "100%"
1841
1841
  },
1842
1842
  children: h.map((m, d) => {
1843
- var f, v;
1843
+ var g, b;
1844
1844
  return /* @__PURE__ */ t(
1845
1845
  xa,
1846
1846
  {
1847
- imageUrl: p ? "" : m.background ? `https://olimpo.bet${m.background}` : `https://olimpo.bet${(f = m.logo) != null ? f : ""}`,
1848
- orden: p ? d + 1 : m.orden,
1849
- loading: p,
1850
- onClick: p ? void 0 : () => {
1847
+ imageUrl: f ? "" : m.background ? `https://olimpo.bet${m.background}` : `https://olimpo.bet${(g = m.logo) != null ? g : ""}`,
1848
+ orden: f ? d + 1 : m.orden,
1849
+ loading: f,
1850
+ onClick: f ? void 0 : () => {
1851
1851
  o == null || o(m), u(m);
1852
1852
  }
1853
1853
  },
1854
- p ? `sk-${d}` : (v = m.machine) != null ? v : `${d}`
1854
+ f ? `sk-${d}` : (b = m.machine) != null ? b : `${d}`
1855
1855
  );
1856
1856
  })
1857
1857
  }
@@ -1859,7 +1859,7 @@ function Qa({
1859
1859
  ] }) });
1860
1860
  }
1861
1861
  const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
1862
- var n, o, r, i, s, c, p, h, u, m, d, f, v, S;
1862
+ var n, o, r, i, s, c, f, h, u, m, d, g, b, x;
1863
1863
  return {
1864
1864
  orden: Number(a),
1865
1865
  machine: String(
@@ -1870,18 +1870,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1870
1870
  web_name: (i = e.product) != null ? i : "",
1871
1871
  provider: (s = e.service) != null ? s : "",
1872
1872
  sub_provider: (c = e.service) != null ? c : "",
1873
- external_id: (p = e.external_id) != null ? p : "",
1873
+ external_id: (f = e.external_id) != null ? f : "",
1874
1874
  type: (h = e.game_type) != null ? h : "",
1875
1875
  tags: (u = e.tags) != null ? u : "",
1876
1876
  lobby_tag: (m = e.lobby_tag) != null ? m : null,
1877
1877
  background: (d = e.background) != null ? d : "",
1878
- rtp: (f = e.rtp) != null ? f : null,
1879
- demo_allowed: (v = e.demo_allowed) != null ? v : !1,
1880
- gaming_session_required: (S = e.gaming_session_required) != null ? S : !1
1878
+ rtp: (g = e.rtp) != null ? g : null,
1879
+ demo_allowed: (b = e.demo_allowed) != null ? b : !1,
1880
+ gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
1881
1881
  };
1882
1882
  }, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
1883
1883
  var a, n, o;
1884
- const e = se("user");
1884
+ const e = ie("user");
1885
1885
  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;
1886
1886
  }, nn = async (e) => {
1887
1887
  const a = yt(), n = new URLSearchParams({
@@ -1927,26 +1927,26 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1927
1927
  c || r([]);
1928
1928
  return;
1929
1929
  }
1930
- const m = yt(), d = await on(m, u), f = d.map((g) => g.itemId), v = await Promise.allSettled(
1931
- f.map(async (g, C) => {
1932
- const $ = await fetch(`https://api.mktolimpo.com/api/machine/${g}`);
1933
- if (!$.ok)
1934
- throw new Error(`No se pudo obtener machine ${g}`);
1935
- const q = await $.json();
1936
- return tn(q, C);
1930
+ const m = yt(), d = await on(m, u), g = d.map((p) => p.itemId), b = await Promise.allSettled(
1931
+ g.map(async (p, S) => {
1932
+ const M = await fetch(`https://api.mktolimpo.com/api/machine/${p}`);
1933
+ if (!M.ok)
1934
+ throw new Error(`No se pudo obtener machine ${p}`);
1935
+ const z = await M.json();
1936
+ return tn(z, S);
1937
1937
  })
1938
1938
  );
1939
1939
  if (c) return;
1940
- const S = v.filter(
1941
- (g) => g.status === "fulfilled"
1942
- ).map((g) => g.value), x = d.map((g) => {
1943
- const C = S.find(($) => $.machine === g.itemId);
1944
- return C ? { ...C, score: g.score } : null;
1945
- }).filter(Boolean).sort((g, C) => {
1946
- var $, q;
1947
- return (($ = C.score) != null ? $ : 0) - ((q = g.score) != null ? q : 0);
1940
+ const x = b.filter(
1941
+ (p) => p.status === "fulfilled"
1942
+ ).map((p) => p.value), C = d.map((p) => {
1943
+ const S = x.find((M) => M.machine === p.itemId);
1944
+ return S ? { ...S, score: p.score } : null;
1945
+ }).filter(Boolean).sort((p, S) => {
1946
+ var M, z;
1947
+ return ((M = S.score) != null ? M : 0) - ((z = p.score) != null ? z : 0);
1948
1948
  });
1949
- r(x);
1949
+ r(C);
1950
1950
  } catch (h) {
1951
1951
  console.error(`[usePersonalizeGameItems:${n}] error:`, h), c || r([]);
1952
1952
  } finally {
@@ -1981,43 +1981,43 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
1981
1981
  backgroundDesktopUrl: i = "",
1982
1982
  onViewMore: s,
1983
1983
  className: c,
1984
- isPersonalize: p = !1
1984
+ isPersonalize: f = !1
1985
1985
  }) => {
1986
- const h = ae(), u = ne(), m = le(), d = dn(p), { resolvedItems: f } = ln(
1986
+ const h = ae(), u = ne(), m = le(), d = dn(f), { resolvedItems: g } = ln(
1987
1987
  e,
1988
1988
  d
1989
- ), v = d ? f : Array.isArray(e) ? e : [], S = (g) => {
1989
+ ), b = d ? g : Array.isArray(e) ? e : [], x = (p) => {
1990
1990
  h({
1991
1991
  element: "live_casino_card",
1992
- label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(g.machine || "unknown")}`,
1993
- target: String(g.machine || "unknown"),
1992
+ label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(p.machine || "unknown")}`,
1993
+ target: String(p.machine || "unknown"),
1994
1994
  event_type: "click",
1995
1995
  module_id: m,
1996
1996
  metadata: {
1997
1997
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
1998
1998
  },
1999
1999
  tags: {
2000
- game_name: String(g.machine || "unknown"),
2001
- provider: g.provider || "unknown",
2000
+ game_name: String(p.machine || "unknown"),
2001
+ provider: p.provider || "unknown",
2002
2002
  section: "OraculoSeccionCasinoEnVivo"
2003
2003
  }
2004
2004
  });
2005
- const C = se("showIframe"), $ = se("loadMachine");
2006
- if (!$) {
2005
+ const S = ie("showIframe"), M = ie("loadMachine");
2006
+ if (!M) {
2007
2007
  if (r) {
2008
- r(g);
2008
+ r(p);
2009
2009
  return;
2010
2010
  }
2011
2011
  console.warn(
2012
2012
  "[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
2013
- { machine: g == null ? void 0 : g.machine, provider: g == null ? void 0 : g.provider }
2013
+ { machine: p == null ? void 0 : p.machine, provider: p == null ? void 0 : p.provider }
2014
2014
  );
2015
2015
  return;
2016
2016
  }
2017
- C == null || C(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2018
- $ == null || $(g, !1, "casino_en_vivo");
2017
+ S == null || S(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
2018
+ M == null || M(p, !1, "casino_en_vivo");
2019
2019
  });
2020
- }, x = () => {
2020
+ }, C = () => {
2021
2021
  h({
2022
2022
  element: "casino_en_vivo_view_more",
2023
2023
  label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Ver más`,
@@ -2030,7 +2030,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2030
2030
  tags: { section: "OraculoSeccionCasinoEnVivo" }
2031
2031
  }), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
2032
2032
  };
2033
- return /* @__PURE__ */ y(
2033
+ return /* @__PURE__ */ _(
2034
2034
  P,
2035
2035
  {
2036
2036
  className: c,
@@ -2068,7 +2068,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2068
2068
  }
2069
2069
  }
2070
2070
  ),
2071
- /* @__PURE__ */ y(
2071
+ /* @__PURE__ */ _(
2072
2072
  P,
2073
2073
  {
2074
2074
  sx: {
@@ -2086,7 +2086,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2086
2086
  textAlign: { xs: "center", md: "left" }
2087
2087
  },
2088
2088
  children: [
2089
- /* @__PURE__ */ y(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2089
+ /* @__PURE__ */ _(K, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
2090
2090
  /* @__PURE__ */ t(
2091
2091
  ue,
2092
2092
  {
@@ -2117,7 +2117,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2117
2117
  {
2118
2118
  variant: "primary",
2119
2119
  size: "md",
2120
- onClick: x,
2120
+ onClick: C,
2121
2121
  children: "Ver más"
2122
2122
  }
2123
2123
  ) })
@@ -2133,18 +2133,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2133
2133
  py: { xs: 3, md: 0 },
2134
2134
  alignItems: "center"
2135
2135
  },
2136
- children: (v != null ? v : []).slice(0, 3).map((g, C) => {
2137
- var $;
2136
+ children: (b != null ? b : []).slice(0, 3).map((p, S) => {
2137
+ var M;
2138
2138
  return /* @__PURE__ */ t(
2139
- wa,
2139
+ Sa,
2140
2140
  {
2141
- logo: `https://olimpo.bet${g.background ? g.background : ($ = g.logo) != null ? $ : ""}`,
2142
- provider: g.provider,
2143
- providerName: g.web_name,
2144
- machine: g.machine,
2145
- onClick: () => S(g)
2141
+ logo: `https://olimpo.bet${p.background ? p.background : (M = p.logo) != null ? M : ""}`,
2142
+ provider: p.provider,
2143
+ providerName: p.web_name,
2144
+ machine: p.machine,
2145
+ onClick: () => x(p)
2146
2146
  },
2147
- cn(g, C)
2147
+ cn(p, S)
2148
2148
  );
2149
2149
  })
2150
2150
  }
@@ -2154,7 +2154,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2154
2154
  {
2155
2155
  variant: "primary",
2156
2156
  size: "lg",
2157
- onClick: x,
2157
+ onClick: C,
2158
2158
  children: "Ver más"
2159
2159
  }
2160
2160
  ) })
@@ -2179,10 +2179,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2179
2179
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2180
2180
  }, pn = (e, a = !0, n = 1) => {
2181
2181
  const o = e.map((s, c) => {
2182
- var p;
2182
+ var f;
2183
2183
  return {
2184
2184
  id: xt(s, c),
2185
- imageUrl: (p = s.logo) != null ? p : "",
2185
+ imageUrl: (f = s.logo) != null ? f : "",
2186
2186
  ...s.background ? { background: s.background } : {}
2187
2187
  };
2188
2188
  });
@@ -2216,12 +2216,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2216
2216
  gridSize: s = 1,
2217
2217
  isPersonalize: c = !1
2218
2218
  }) => {
2219
- const p = ae(), h = ne(), u = le(), m = V(null), [d, f] = X({ isStart: !0, isEnd: !1 }), v = mn(c), { resolvedItems: S, loading: x } = rn(
2219
+ const f = ae(), h = ne(), u = le(), m = V(null), [d, g] = X({ isStart: !0, isEnd: !1 }), b = mn(c), { resolvedItems: x, loading: C } = rn(
2220
2220
  e,
2221
- v
2222
- ), g = v ? S : Array.isArray(e) ? e : [], C = () => {
2221
+ b
2222
+ ), p = b ? x : Array.isArray(e) ? e : [], S = () => {
2223
2223
  var O;
2224
- p({
2224
+ f({
2225
2225
  element: "casino_prev",
2226
2226
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
2227
2227
  target: "prev",
@@ -2232,9 +2232,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2232
2232
  },
2233
2233
  tags: { section: "OraculoSeccionCasino" }
2234
2234
  }), (O = m.current) == null || O.prev();
2235
- }, $ = () => {
2235
+ }, M = () => {
2236
2236
  var O;
2237
- p({
2237
+ f({
2238
2238
  element: "casino_next",
2239
2239
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
2240
2240
  target: "next",
@@ -2245,8 +2245,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2245
2245
  },
2246
2246
  tags: { section: "OraculoSeccionCasino" }
2247
2247
  }), (O = m.current) == null || O.next();
2248
- }, q = () => {
2249
- if (p({
2248
+ }, z = () => {
2249
+ if (f({
2250
2250
  element: "casino_view_more",
2251
2251
  label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
2252
2252
  target: "https://www.olimpo.bet/casino",
@@ -2261,15 +2261,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2261
2261
  return;
2262
2262
  }
2263
2263
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
2264
- }, _ = (O = !0, b = 4) => {
2265
- const E = (B) => Array.from({ length: B }, (A, U) => ({
2264
+ }, y = (O = !0, v = 4) => {
2265
+ const I = (B) => Array.from({ length: B }, (A, U) => ({
2266
2266
  id: `sk-${B}-${U}`,
2267
2267
  imageUrl: ""
2268
- })), L = [];
2269
- return O && L.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), L.push({ id: "grid-loading", kind: "grid", items: E(b) }), L;
2270
- }, N = v ? x : !Array.isArray(e) || e.length === 0, z = De("(max-width:950px)"), D = N ? _(i, s) : pn(g, i, s);
2271
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2272
- /* @__PURE__ */ y(
2268
+ })), R = [];
2269
+ return O && R.push({ id: "mosaic-loading", kind: "mosaic", items: I(5) }), R.push({ id: "grid-loading", kind: "grid", items: I(v) }), R;
2270
+ }, k = b ? C : !Array.isArray(e) || e.length === 0, q = De("(max-width:950px)"), D = k ? y(i, s) : pn(p, i, s);
2271
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ _(K, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2272
+ /* @__PURE__ */ _(
2273
2273
  P,
2274
2274
  {
2275
2275
  sx: {
@@ -2285,7 +2285,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2285
2285
  },
2286
2286
  children: [
2287
2287
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2288
- /* @__PURE__ */ y(P, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2288
+ /* @__PURE__ */ _(P, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2289
2289
  /* @__PURE__ */ t(
2290
2290
  Y,
2291
2291
  {
@@ -2293,7 +2293,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2293
2293
  variant: "secondary",
2294
2294
  iconOnly: !0,
2295
2295
  leftIcon: /* @__PURE__ */ t(lt, {}),
2296
- onClick: C,
2296
+ onClick: S,
2297
2297
  disabled: d.isStart
2298
2298
  }
2299
2299
  ),
@@ -2304,12 +2304,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2304
2304
  variant: "secondary",
2305
2305
  iconOnly: !0,
2306
2306
  rightIcon: /* @__PURE__ */ t(ct, {}),
2307
- onClick: $,
2307
+ onClick: M,
2308
2308
  disabled: d.isEnd
2309
2309
  }
2310
2310
  )
2311
2311
  ] }),
2312
- /* @__PURE__ */ t(P, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: q, children: "Ver más" }) })
2312
+ /* @__PURE__ */ t(P, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: z, children: "Ver más" }) })
2313
2313
  ]
2314
2314
  }
2315
2315
  ),
@@ -2322,7 +2322,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2322
2322
  gap: "16px",
2323
2323
  enableHorizontalWheel: !0,
2324
2324
  options: { autoWidth: !0, trimSpace: "move" },
2325
- showRightGradient: !z,
2325
+ showRightGradient: !q,
2326
2326
  breakpoints: {
2327
2327
  400: {
2328
2328
  gap: "4px",
@@ -2345,33 +2345,33 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2345
2345
  {
2346
2346
  items: O.items,
2347
2347
  layout: O.kind === "mosaic" ? "mosaic" : "grid",
2348
- loading: N,
2349
- onClick: (b) => {
2350
- if (N) return;
2351
- const E = g.find(
2352
- (A, U) => String(xt(A, U)) === String(b.id)
2348
+ loading: k,
2349
+ onClick: (v) => {
2350
+ if (k) return;
2351
+ const I = p.find(
2352
+ (A, U) => String(xt(A, U)) === String(v.id)
2353
2353
  );
2354
- if (!E) return;
2355
- o == null || o(E), p({
2354
+ if (!I) return;
2355
+ o == null || o(I), f({
2356
2356
  element: "casino_game_card",
2357
- label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(E.machine || "unknown")}`,
2358
- target: String(E.machine || "unknown"),
2357
+ label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(I.machine || "unknown")}`,
2358
+ target: String(I.machine || "unknown"),
2359
2359
  event_type: "click",
2360
2360
  module_id: u,
2361
2361
  metadata: {
2362
2362
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2363
2363
  },
2364
2364
  tags: {
2365
- game_name: String(E.machine || "unknown"),
2365
+ game_name: String(I.machine || "unknown"),
2366
2366
  section: a || "Casino"
2367
2367
  }
2368
2368
  });
2369
- const L = se("showIframe"), B = se("loadMachine");
2370
- L == null || L(), B == null || B(E, !1, "CASINO");
2369
+ const R = ie("showIframe"), B = ie("loadMachine");
2370
+ R == null || R(), B == null || B(I, !1, "CASINO");
2371
2371
  }
2372
2372
  }
2373
2373
  ) }),
2374
- onMove: ({ isStart: O, isEnd: b }) => f({ isStart: O, isEnd: b })
2374
+ onMove: ({ isStart: O, isEnd: v }) => g({ isStart: O, isEnd: v })
2375
2375
  }
2376
2376
  )
2377
2377
  ] }) });
@@ -2385,15 +2385,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2385
2385
  return e.value.toLowerCase() === "true";
2386
2386
  }
2387
2387
  return !1;
2388
- }, wt = (e, a) => {
2388
+ }, St = (e, a) => {
2389
2389
  var n, o;
2390
2390
  return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
2391
2391
  }, hn = (e, a = !0, n = 1) => {
2392
2392
  const o = e.map((s, c) => {
2393
- var p;
2393
+ var f;
2394
2394
  return {
2395
- id: wt(s, c),
2396
- imageUrl: (p = s.logo) != null ? p : "",
2395
+ id: St(s, c),
2396
+ imageUrl: (f = s.logo) != null ? f : "",
2397
2397
  ...s.background ? { background: s.background } : {}
2398
2398
  };
2399
2399
  });
@@ -2441,42 +2441,42 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2441
2441
  gridSize: s = 1,
2442
2442
  isPersonalize: c = !1
2443
2443
  }) => {
2444
- const p = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), f = le(), v = gn(c), { resolvedItems: S, loading: x } = sn(
2444
+ const f = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), g = le(), b = gn(c), { resolvedItems: x, loading: C } = sn(
2445
2445
  e,
2446
- v
2447
- ), g = v ? S : Array.isArray(e) ? e : [], C = () => {
2446
+ b
2447
+ ), p = b ? x : Array.isArray(e) ? e : [], S = () => {
2448
2448
  var D;
2449
2449
  m({
2450
2450
  element: "virtuales_prev",
2451
- label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Anterior`,
2451
+ label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Anterior`,
2452
2452
  target: "prev",
2453
2453
  event_type: "click",
2454
- module_id: f,
2454
+ module_id: g,
2455
2455
  metadata: {
2456
2456
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2457
2457
  },
2458
2458
  tags: { section: "OraculoSeccionVirtuales" }
2459
- }), (D = p.current) == null || D.prev();
2460
- }, $ = () => {
2459
+ }), (D = f.current) == null || D.prev();
2460
+ }, M = () => {
2461
2461
  var D;
2462
2462
  m({
2463
2463
  element: "virtuales_next",
2464
- label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Siguiente`,
2464
+ label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Siguiente`,
2465
2465
  target: "next",
2466
2466
  event_type: "click",
2467
- module_id: f,
2467
+ module_id: g,
2468
2468
  metadata: {
2469
2469
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2470
2470
  },
2471
2471
  tags: { section: "OraculoSeccionVirtuales" }
2472
- }), (D = p.current) == null || D.next();
2473
- }, q = () => {
2472
+ }), (D = f.current) == null || D.next();
2473
+ }, z = () => {
2474
2474
  if (m({
2475
2475
  element: "virtuales_view_more",
2476
- label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Ver más`,
2476
+ label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Ver más`,
2477
2477
  target: "https://www.olimpo.bet/juegos-virtuales",
2478
2478
  event_type: "click",
2479
- module_id: f,
2479
+ module_id: g,
2480
2480
  metadata: {
2481
2481
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2482
2482
  },
@@ -2486,9 +2486,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2486
2486
  return;
2487
2487
  }
2488
2488
  typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
2489
- }, _ = v ? x : !Array.isArray(e) || e.length === 0, N = xe("(max-width:950px)"), z = _ ? bn(i, s) : hn(g, i, s);
2490
- return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2491
- /* @__PURE__ */ y(
2489
+ }, y = b ? C : !Array.isArray(e) || e.length === 0, k = xe("(max-width:950px)"), q = y ? bn(i, s) : hn(p, i, s);
2490
+ return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ _(K, { direction: "column", spacing: 2, useFlexGap: !0, children: [
2491
+ /* @__PURE__ */ _(
2492
2492
  P,
2493
2493
  {
2494
2494
  sx: {
@@ -2504,7 +2504,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2504
2504
  },
2505
2505
  children: [
2506
2506
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
2507
- /* @__PURE__ */ y(P, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2507
+ /* @__PURE__ */ _(P, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
2508
2508
  /* @__PURE__ */ t(
2509
2509
  Y,
2510
2510
  {
@@ -2512,7 +2512,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2512
2512
  variant: "secondary",
2513
2513
  iconOnly: !0,
2514
2514
  leftIcon: /* @__PURE__ */ t(lt, {}),
2515
- onClick: C,
2515
+ onClick: S,
2516
2516
  disabled: h.isStart
2517
2517
  }
2518
2518
  ),
@@ -2523,20 +2523,20 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2523
2523
  variant: "secondary",
2524
2524
  iconOnly: !0,
2525
2525
  rightIcon: /* @__PURE__ */ t(ct, {}),
2526
- onClick: $,
2526
+ onClick: M,
2527
2527
  disabled: h.isEnd
2528
2528
  }
2529
2529
  )
2530
2530
  ] }),
2531
- /* @__PURE__ */ t(P, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: q, children: "Ver más" }) })
2531
+ /* @__PURE__ */ t(P, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: z, children: "Ver más" }) })
2532
2532
  ]
2533
2533
  }
2534
2534
  ),
2535
2535
  /* @__PURE__ */ t(
2536
2536
  he,
2537
2537
  {
2538
- ref: p,
2539
- items: z,
2538
+ ref: f,
2539
+ items: q,
2540
2540
  perPage: void 0,
2541
2541
  gap: "16px",
2542
2542
  breakpoints: {
@@ -2557,45 +2557,45 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2557
2557
  }
2558
2558
  },
2559
2559
  enableHorizontalWheel: !0,
2560
- showRightGradient: !N,
2560
+ showRightGradient: !k,
2561
2561
  options: { autoWidth: !0, trimSpace: "move" },
2562
2562
  renderItem: (D) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
2563
2563
  ft,
2564
2564
  {
2565
2565
  items: D.items,
2566
2566
  layout: D.kind === "mosaic" ? "mosaic" : "grid",
2567
- loading: _,
2567
+ loading: y,
2568
2568
  onClick: (O) => {
2569
- if (_) return;
2570
- const b = g.find(
2571
- (B, A) => String(wt(B, A)) === String(O.id)
2569
+ if (y) return;
2570
+ const v = p.find(
2571
+ (B, A) => String(St(B, A)) === String(O.id)
2572
2572
  );
2573
- if (!b) {
2573
+ if (!v) {
2574
2574
  console.warn(
2575
2575
  "[virtuales] no se encontró game para id:",
2576
2576
  O.id
2577
2577
  );
2578
2578
  return;
2579
2579
  }
2580
- o == null || o(b), m({
2580
+ o == null || o(v), m({
2581
2581
  element: "virtuales_game_card",
2582
- label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Game: ${String(b.machine || "unknown")}`,
2583
- target: String(b.machine || "unknown"),
2582
+ label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Game: ${String(v.machine || "unknown")}`,
2583
+ target: String(v.machine || "unknown"),
2584
2584
  event_type: "click",
2585
- module_id: f,
2585
+ module_id: g,
2586
2586
  metadata: {
2587
2587
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2588
2588
  },
2589
2589
  tags: {
2590
- game_name: String(b.machine || "unknown"),
2590
+ game_name: String(v.machine || "unknown"),
2591
2591
  section: a || "Virtuales"
2592
2592
  }
2593
2593
  });
2594
- const E = se("showIframe"), L = se("loadMachine");
2595
- E == null || E(), L == null || L(
2596
- b,
2594
+ const I = ie("showIframe"), R = ie("loadMachine");
2595
+ I == null || I(), R == null || R(
2596
+ v,
2597
2597
  !1,
2598
- v ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2598
+ b ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
2599
2599
  );
2600
2600
  }
2601
2601
  }
@@ -2642,86 +2642,86 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2642
2642
  items: n,
2643
2643
  backgroundImageUrl: o
2644
2644
  }) => {
2645
- const r = ae(), i = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, p = V(null), h = V(null), u = V(!1), m = V(!1), [d, f] = X(0), [v, S] = X({ isStart: !0, isEnd: !1 });
2645
+ const r = ae(), i = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, f = V(null), h = V(null), u = V(!1), m = V(!1), [d, g] = X(0), [b, x] = X({ isStart: !0, isEnd: !1 });
2646
2646
  Q(() => {
2647
- const b = setTimeout(() => {
2647
+ const v = setTimeout(() => {
2648
2648
  u.current = !0;
2649
2649
  }, 500);
2650
- return () => clearTimeout(b);
2650
+ return () => clearTimeout(v);
2651
2651
  }, []);
2652
- const x = V(v);
2652
+ const C = V(b);
2653
2653
  Q(() => {
2654
- x.current = v;
2655
- }, [v]);
2656
- const g = V(!1), C = V(null), $ = n == null ? void 0 : n[d], q = re(
2654
+ C.current = b;
2655
+ }, [b]);
2656
+ const p = V(!1), S = V(null), M = n == null ? void 0 : n[d], z = re(
2657
2657
  () => {
2658
- var b, E;
2659
- return (E = (b = $ == null ? void 0 : $.backgroundImageUrl) != null ? b : o) != null ? E : "";
2658
+ var v, I;
2659
+ return (I = (v = M == null ? void 0 : M.backgroundImageUrl) != null ? v : o) != null ? I : "";
2660
2660
  },
2661
- [$, o]
2662
- ), _ = _n(q), N = !n || n.length === 0, z = (b, E) => {
2661
+ [M, o]
2662
+ ), y = _n(z), k = !n || n.length === 0, q = (v, I) => {
2663
2663
  r({
2664
2664
  element: "welcome_banner_button",
2665
- label: `OraculoSeccionBonoBienvenida - Banner button click: ${b.title || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
2665
+ label: `OraculoSeccionBonoBienvenida - Banner button click: ${v.title || "OraculoSeccionBonoBienvenida - Banner " + (I + 1)}`,
2666
2666
  target: "action",
2667
2667
  event_type: "click",
2668
2668
  module_id: 301,
2669
2669
  metadata: {
2670
2670
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2671
- banner_position: E + 1,
2671
+ banner_position: I + 1,
2672
2672
  banner_total: (n == null ? void 0 : n.length) || 0
2673
2673
  },
2674
2674
  tags: {
2675
- banner_title: b.title || "no_title",
2676
- button_text: b.buttonText || "no_text"
2675
+ banner_title: v.title || "no_title",
2676
+ button_text: v.buttonText || "no_text"
2677
2677
  }
2678
- }), b.onButtonClick && b.onButtonClick();
2679
- }, D = (b) => {
2678
+ }), v.onButtonClick && v.onButtonClick();
2679
+ }, D = (v) => {
2680
2680
  if (!u.current) return;
2681
2681
  if (m.current) {
2682
2682
  m.current = !1;
2683
2683
  return;
2684
2684
  }
2685
- const E = n == null ? void 0 : n[b];
2685
+ const I = n == null ? void 0 : n[v];
2686
2686
  r({
2687
2687
  element: "welcome_banner_carousel",
2688
- label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(E == null ? void 0 : E.title) || "OraculoSeccionBonoBienvenida - Banner " + (b + 1)}`,
2688
+ label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(I == null ? void 0 : I.title) || "OraculoSeccionBonoBienvenida - Banner " + (v + 1)}`,
2689
2689
  target: "no_url",
2690
2690
  event_type: "view",
2691
2691
  module_id: 301,
2692
2692
  metadata: {
2693
2693
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2694
- slide_index: b + 1,
2694
+ slide_index: v + 1,
2695
2695
  total_slides: (n == null ? void 0 : n.length) || 0,
2696
2696
  interaction_type: "manual_slide"
2697
2697
  },
2698
2698
  tags: {
2699
- banner_position: String(b + 1),
2700
- banner_title: (E == null ? void 0 : E.title) || "no_title"
2699
+ banner_position: String(v + 1),
2700
+ banner_title: (I == null ? void 0 : I.title) || "no_title"
2701
2701
  }
2702
2702
  });
2703
2703
  };
2704
2704
  Q(() => {
2705
- const b = h.current;
2706
- if (!b) return;
2707
- const E = 6, L = 380, B = (A) => {
2708
- var K, w;
2709
- if (N || A.ctrlKey || g.current) return;
2705
+ const v = h.current;
2706
+ if (!v) return;
2707
+ const I = 6, R = 380, B = (A) => {
2708
+ var Z, G;
2709
+ if (k || A.ctrlKey || p.current) return;
2710
2710
  const U = A.deltaX, W = A.deltaY;
2711
- if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < E) return;
2712
- const G = U > 0;
2713
- G && x.current.isEnd || !G && x.current.isStart || (A.preventDefault(), g.current = !0, G ? (K = p.current) == null || K.next() : (w = p.current) == null || w.prev(), C.current && window.clearTimeout(C.current), C.current = window.setTimeout(() => {
2714
- g.current = !1;
2715
- }, L));
2711
+ if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < I) return;
2712
+ const j = U > 0;
2713
+ j && C.current.isEnd || !j && C.current.isStart || (A.preventDefault(), p.current = !0, j ? (Z = f.current) == null || Z.next() : (G = f.current) == null || G.prev(), S.current && window.clearTimeout(S.current), S.current = window.setTimeout(() => {
2714
+ p.current = !1;
2715
+ }, R));
2716
2716
  };
2717
- return b.addEventListener("wheel", B, { passive: !1 }), () => {
2718
- b.removeEventListener("wheel", B), C.current && window.clearTimeout(C.current);
2717
+ return v.addEventListener("wheel", B, { passive: !1 }), () => {
2718
+ v.removeEventListener("wheel", B), S.current && window.clearTimeout(S.current);
2719
2719
  };
2720
- }, [N]);
2721
- const O = (b, E, L) => {
2720
+ }, [k]);
2721
+ const O = (v, I, R) => {
2722
2722
  var U, W;
2723
- const B = (U = b.headline) != null ? U : e, A = (W = b.headline2) != null ? W : a;
2724
- return E ? /* @__PURE__ */ y(
2723
+ const B = (U = v.headline) != null ? U : e, A = (W = v.headline2) != null ? W : a;
2724
+ return I ? /* @__PURE__ */ _(
2725
2725
  P,
2726
2726
  {
2727
2727
  sx: {
@@ -2743,9 +2743,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2743
2743
  justifyContent: "flex-start",
2744
2744
  minHeight: "100%"
2745
2745
  },
2746
- children: /* @__PURE__ */ y(P, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2746
+ children: /* @__PURE__ */ _(P, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
2747
2747
  B && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: B }),
2748
- A && /* @__PURE__ */ y(pe, { children: [
2748
+ A && /* @__PURE__ */ _(pe, { children: [
2749
2749
  /* @__PURE__ */ t("br", {}),
2750
2750
  /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: A })
2751
2751
  ] })
@@ -2755,17 +2755,17 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2755
2755
  /* @__PURE__ */ t(P, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(P, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
2756
2756
  Je,
2757
2757
  {
2758
- ...b,
2759
- onButtonClick: () => z(b, L),
2758
+ ...v,
2759
+ onButtonClick: () => q(v, R),
2760
2760
  variant: "large"
2761
2761
  }
2762
2762
  ) }) })
2763
2763
  ]
2764
2764
  }
2765
- ) : /* @__PURE__ */ y(P, { sx: { textAlign: "center" }, children: [
2766
- (B || A) && /* @__PURE__ */ y(P, { sx: Qe, children: [
2765
+ ) : /* @__PURE__ */ _(P, { sx: { textAlign: "center" }, children: [
2766
+ (B || A) && /* @__PURE__ */ _(P, { sx: Qe, children: [
2767
2767
  B && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: B }),
2768
- A && /* @__PURE__ */ y(pe, { children: [
2768
+ A && /* @__PURE__ */ _(pe, { children: [
2769
2769
  /* @__PURE__ */ t("br", {}),
2770
2770
  /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: A })
2771
2771
  ] })
@@ -2773,18 +2773,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2773
2773
  /* @__PURE__ */ t(P, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
2774
2774
  Je,
2775
2775
  {
2776
- ...b,
2777
- onButtonClick: () => z(b, L),
2776
+ ...v,
2777
+ onButtonClick: () => q(v, R),
2778
2778
  variant: "small"
2779
2779
  }
2780
2780
  ) })
2781
2781
  ] });
2782
2782
  };
2783
- return /* @__PURE__ */ y(P, { component: "section", sx: _, children: [
2783
+ return /* @__PURE__ */ _(P, { component: "section", sx: y, children: [
2784
2784
  /* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
2785
2785
  he,
2786
2786
  {
2787
- ref: p,
2787
+ ref: f,
2788
2788
  items: n,
2789
2789
  perPage: 1,
2790
2790
  gap: "0px",
@@ -2798,9 +2798,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2798
2798
  // arrows: false,
2799
2799
  // drag: true,
2800
2800
  },
2801
- renderItem: (b, E) => /* @__PURE__ */ t(P, { sx: { width: "100%" }, children: O(b, !s, E) }),
2802
- onMove: ({ index: b, isStart: E, isEnd: L, source: B }) => {
2803
- f(b), typeof E == "boolean" && typeof L == "boolean" && S({ isStart: E, isEnd: L }), B === "user" && D(b);
2801
+ renderItem: (v, I) => /* @__PURE__ */ t(P, { sx: { width: "100%" }, children: O(v, !s, I) }),
2802
+ onMove: ({ index: v, isStart: I, isEnd: R, source: B }) => {
2803
+ g(v), typeof I == "boolean" && typeof R == "boolean" && x({ isStart: I, isEnd: R }), B === "user" && D(v);
2804
2804
  }
2805
2805
  }
2806
2806
  ) }),
@@ -2809,23 +2809,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2809
2809
  {
2810
2810
  total: n.length,
2811
2811
  active: d,
2812
- onSelect: (b) => {
2813
- var E;
2812
+ onSelect: (v) => {
2813
+ var I;
2814
2814
  r({
2815
2815
  element: "welcome_banner_dots",
2816
- label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${b + 1}`,
2816
+ label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${v + 1}`,
2817
2817
  target: "no_url",
2818
2818
  event_type: "click",
2819
2819
  module_id: 301,
2820
2820
  metadata: {
2821
2821
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
2822
- dot_index: b + 1,
2822
+ dot_index: v + 1,
2823
2823
  total_dots: n.length
2824
2824
  },
2825
2825
  tags: {
2826
2826
  navigation_type: "dot_click"
2827
2827
  }
2828
- }), f(b), (E = p.current) == null || E.go(b);
2828
+ }), g(v), (I = f.current) == null || I.go(v);
2829
2829
  }
2830
2830
  }
2831
2831
  ) })
@@ -2838,20 +2838,20 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2838
2838
  ariaLabel: r,
2839
2839
  user: i = null
2840
2840
  }) => {
2841
- const s = V(null), c = V(null), p = ae(), h = ne(), u = le();
2841
+ const s = V(null), c = V(null), f = ae(), h = ne(), u = le();
2842
2842
  if (!n) return null;
2843
2843
  const m = async () => {
2844
- let S = i;
2845
- if ((!(S != null && S.user) || !(S != null && S.session)) && typeof window != "undefined")
2844
+ let x = i;
2845
+ if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
2846
2846
  try {
2847
- const x = localStorage.getItem("user");
2848
- x && (S = JSON.parse(x));
2849
- } catch (x) {
2850
- console.error("[getMarketPlaceUrl] Error parsing localStorage user", x);
2847
+ const C = localStorage.getItem("user");
2848
+ C && (x = JSON.parse(C));
2849
+ } catch (C) {
2850
+ console.error("[getMarketPlaceUrl] Error parsing localStorage user", C);
2851
2851
  }
2852
- if (!(S != null && S.user) || !(S != null && S.session))
2852
+ if (!(x != null && x.user) || !(x != null && x.session))
2853
2853
  return console.warn("User data missing"), null;
2854
- p({
2854
+ f({
2855
2855
  element: "club_olimpo_button",
2856
2856
  label: `${h} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
2857
2857
  target: "https://www.clubolimpo.com/OlimpoBetWeb/",
@@ -2863,40 +2863,40 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2863
2863
  tags: { section: "OraculoSeccionClubOlimpo" }
2864
2864
  });
2865
2865
  try {
2866
- const x = {
2867
- idUsuario: "PE" + S.user,
2868
- session_id: S.session,
2866
+ const C = {
2867
+ idUsuario: "PE" + x.user,
2868
+ session_id: x.session,
2869
2869
  pagina: "home"
2870
- }, C = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2870
+ }, S = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
2871
2871
  method: "POST",
2872
2872
  headers: {
2873
2873
  "Content-Type": "application/json"
2874
2874
  },
2875
- body: JSON.stringify(x)
2875
+ body: JSON.stringify(C)
2876
2876
  });
2877
- if (C.ok) {
2878
- const $ = await C.json();
2879
- return $ == null ? void 0 : $.url;
2877
+ if (S.ok) {
2878
+ const M = await S.json();
2879
+ return M == null ? void 0 : M.url;
2880
2880
  }
2881
2881
  return null;
2882
- } catch (x) {
2883
- return console.error("[getMarketPlaceUrl]", x), null;
2882
+ } catch (C) {
2883
+ return console.error("[getMarketPlaceUrl]", C), null;
2884
2884
  }
2885
2885
  }, d = async () => {
2886
- const S = await m();
2887
- S ? window.location.href = S : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2888
- }, f = Array.isArray(n) ? n[o] : n;
2886
+ const x = await m();
2887
+ x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
2888
+ }, g = Array.isArray(n) ? n[o] : n;
2889
2889
  Mt(() => {
2890
2890
  if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
2891
- const S = s.current, x = c.current, g = () => {
2892
- S.style.setProperty(
2891
+ const x = s.current, C = c.current, p = () => {
2892
+ x.style.setProperty(
2893
2893
  "--orc-co-bottomH",
2894
- `${x.offsetHeight + 16}px`
2894
+ `${C.offsetHeight + 16}px`
2895
2895
  );
2896
- }, C = new ResizeObserver(g);
2897
- return C.observe(x), g(), () => C.disconnect();
2896
+ }, S = new ResizeObserver(p);
2897
+ return S.observe(C), p(), () => S.disconnect();
2898
2898
  }, []);
2899
- const v = [
2899
+ const b = [
2900
2900
  "orc-co-wrap",
2901
2901
  a ? "orc-co-fullBleed" : "",
2902
2902
  e
@@ -2905,25 +2905,25 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2905
2905
  "section",
2906
2906
  {
2907
2907
  ref: s,
2908
- className: v,
2909
- "aria-label": r || f.imgAlt || "Club Olimpo",
2908
+ className: b,
2909
+ "aria-label": r || g.imgAlt || "Club Olimpo",
2910
2910
  children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
2911
- Sa,
2911
+ wa,
2912
2912
  {
2913
- text: f.text,
2913
+ text: g.text,
2914
2914
  onClick: d,
2915
- imgAlt: f.imgAlt,
2916
- buttonLabel: f.buttonLabel,
2917
- imgSrcMobile: f.imgMobile,
2918
- imgSrcDesktopBg: f.imgDesktopBg,
2919
- imgSrcDesktopLogo: f.imgDesktopLogo
2915
+ imgAlt: g.imgAlt,
2916
+ buttonLabel: g.buttonLabel,
2917
+ imgSrcMobile: g.imgMobile,
2918
+ imgSrcDesktopBg: g.imgDesktopBg,
2919
+ imgSrcDesktopLogo: g.imgDesktopLogo
2920
2920
  }
2921
2921
  ) })
2922
2922
  }
2923
2923
  );
2924
- }, wn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Sn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
2925
- controls: wn,
2926
- padding: Sn
2924
+ }, Sn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", wn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
2925
+ controls: Sn,
2926
+ padding: wn
2927
2927
  }, In = (e) => {
2928
2928
  var a, n;
2929
2929
  return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
@@ -2931,28 +2931,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
2931
2931
  return (i = (r = o.outcomes) == null ? void 0 : r.map((s) => s.id)) != null ? i : [];
2932
2932
  }) : [];
2933
2933
  };
2934
- function En(e, a, n) {
2934
+ function On(e, a, n) {
2935
2935
  return n ? n.map((o) => {
2936
2936
  var u, m;
2937
- const r = o.prePackCouponRows.flatMap((d) => In(d).map((f) => ({ eventId: d.eventId, outcomeId: f }))), i = new Set(r.map((d) => d.eventId)), s = new Set(r.map((d) => d.outcomeId)), c = new Map(r.map((d, f) => [d.outcomeId, f])), p = {};
2937
+ const r = o.prePackCouponRows.flatMap((d) => In(d).map((g) => ({ eventId: d.eventId, outcomeId: g }))), i = new Set(r.map((d) => d.eventId)), s = new Set(r.map((d) => d.outcomeId)), c = new Map(r.map((d, g) => [d.outcomeId, g])), f = {};
2938
2938
  for (const d of a) {
2939
2939
  if (!i.has(d.eventId)) continue;
2940
- const f = d.outcomes.filter((v) => s.has(v.id)).map((v) => ({ ...v, position: c.get(v.id) }));
2941
- f.length && ((m = p[u = d.eventId]) != null || (p[u] = []), p[d.eventId].push({ ...d, outcomes: f }));
2940
+ const g = d.outcomes.filter((b) => s.has(b.id)).map((b) => ({ ...b, position: c.get(b.id) }));
2941
+ g.length && ((m = f[u = d.eventId]) != null || (f[u] = []), f[d.eventId].push({ ...d, outcomes: g }));
2942
2942
  }
2943
2943
  const h = e.filter((d) => i.has(d.id)).map((d) => {
2944
- var f;
2945
- return { ...d, betoffers: (f = p[d.id]) != null ? f : [] };
2944
+ var g;
2945
+ return { ...d, betoffers: (g = f[d.id]) != null ? g : [] };
2946
2946
  });
2947
2947
  return {
2948
2948
  couponId: o.id,
2949
2949
  status: o.status,
2950
- combinadoTotal: On(o.prePackCouponRows),
2950
+ combinadoTotal: En(o.prePackCouponRows),
2951
2951
  events: h
2952
2952
  };
2953
2953
  }) : [];
2954
2954
  }
2955
- function On(e) {
2955
+ function En(e) {
2956
2956
  if (!Array.isArray(e) || e.length === 0) return 0;
2957
2957
  let a = 1;
2958
2958
  for (const n of e) {
@@ -2969,8 +2969,8 @@ function Tn({
2969
2969
  onViewMore: o,
2970
2970
  className: r = ""
2971
2971
  }) {
2972
- const i = ae(), s = ne(), c = le(), p = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), [m, d] = X([]), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", v = () => {
2973
- var _;
2972
+ const i = ae(), s = ne(), c = le(), f = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), [m, d] = X([]), g = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", b = () => {
2973
+ var y;
2974
2974
  i({
2975
2975
  element: "evento_combinadas_prev",
2976
2976
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
@@ -2980,9 +2980,9 @@ function Tn({
2980
2980
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2981
2981
  },
2982
2982
  tags: { section: "OraculoSeccionEventoCombinadas" }
2983
- }), (_ = p.current) == null || _.prev();
2984
- }, S = () => {
2985
- var _;
2983
+ }), (y = f.current) == null || y.prev();
2984
+ }, x = () => {
2985
+ var y;
2986
2986
  i({
2987
2987
  element: "evento_combinadas_next",
2988
2988
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
@@ -2992,8 +2992,8 @@ function Tn({
2992
2992
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
2993
2993
  },
2994
2994
  tags: { section: "OraculoSeccionEventoCombinadas" }
2995
- }), (_ = p.current) == null || _.next();
2996
- }, x = () => {
2995
+ }), (y = f.current) == null || y.next();
2996
+ }, C = () => {
2997
2997
  i({
2998
2998
  element: "evento_combinadas_ver_mas",
2999
2999
  label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
@@ -3004,35 +3004,35 @@ function Tn({
3004
3004
  },
3005
3005
  tags: { section: "OraculoSeccionEventoCombinadas" }
3006
3006
  }), Ra();
3007
- }, g = re(() => m.filter((_) => _.combinadoTotal !== null), [m]);
3008
- async function C() {
3009
- var _, N, z, D;
3007
+ }, p = re(() => m.filter((y) => y.combinadoTotal !== null), [m]);
3008
+ async function S() {
3009
+ var y, k, q, D;
3010
3010
  try {
3011
- const b = await (await fetch(f)).json(), E = (D = (z = (N = (_ = b == null ? void 0 : b.group) == null ? void 0 : _.groups) == null ? void 0 : N.map((U) => U.id)) == null ? void 0 : z.filter(Boolean)) == null ? void 0 : D.join(",");
3012
- if (!E) {
3011
+ const v = await (await fetch(g)).json(), I = (D = (q = (k = (y = v == null ? void 0 : v.group) == null ? void 0 : y.groups) == null ? void 0 : k.map((U) => U.id)) == null ? void 0 : q.filter(Boolean)) == null ? void 0 : D.join(",");
3012
+ if (!I) {
3013
3013
  console.error("Could not extract group ID");
3014
3014
  return;
3015
3015
  }
3016
- 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`, A = await (await fetch(L)).json();
3017
- d(En(A.events, A.betOffers, A.prePackCoupons));
3016
+ const R = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${I}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, A = await (await fetch(R)).json();
3017
+ d(On(A.events, A.betOffers, A.prePackCoupons));
3018
3018
  } catch (O) {
3019
3019
  console.error("loadDataEventSpecial error:", O);
3020
3020
  }
3021
3021
  }
3022
3022
  Q(() => {
3023
- C();
3023
+ S();
3024
3024
  }, []);
3025
- const $ = r || void 0, q = xe("(max-width:950px)");
3026
- return g.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
3025
+ const M = r || void 0, z = xe("(max-width:950px)");
3026
+ return p.length === 0 ? null : /* @__PURE__ */ t("section", { className: M, style: {
3027
3027
  // paddingLeft: 16,
3028
3028
  // paddingRight: 16,
3029
3029
  width: "100%",
3030
3030
  boxSizing: "border-box"
3031
- }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3032
- /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3031
+ }, children: /* @__PURE__ */ _(K, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3032
+ /* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3033
3033
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3034
- /* @__PURE__ */ y("div", { className: at.controls, children: [
3035
- /* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
3034
+ /* @__PURE__ */ _("div", { className: at.controls, children: [
3035
+ /* @__PURE__ */ _(me, { spacing: 1, columns: "auto auto", children: [
3036
3036
  /* @__PURE__ */ t(
3037
3037
  Y,
3038
3038
  {
@@ -3040,7 +3040,7 @@ function Tn({
3040
3040
  variant: "secondary",
3041
3041
  iconOnly: !0,
3042
3042
  leftIcon: /* @__PURE__ */ t(Ae, {}),
3043
- onClick: v,
3043
+ onClick: b,
3044
3044
  disabled: h.isStart
3045
3045
  }
3046
3046
  ),
@@ -3051,30 +3051,30 @@ function Tn({
3051
3051
  variant: "secondary",
3052
3052
  iconOnly: !0,
3053
3053
  rightIcon: /* @__PURE__ */ t(Re, {}),
3054
- onClick: S,
3054
+ onClick: x,
3055
3055
  disabled: h.isEnd
3056
3056
  }
3057
3057
  )
3058
3058
  ] }),
3059
- /* @__PURE__ */ t(Y, { variant: "secondary", onClick: x, children: "Ver más" })
3059
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: C, children: "Ver más" })
3060
3060
  ] })
3061
3061
  ] }) }),
3062
3062
  /* @__PURE__ */ t(
3063
3063
  he,
3064
3064
  {
3065
- ref: p,
3066
- items: g,
3065
+ ref: f,
3066
+ items: p,
3067
3067
  perPage: void 0,
3068
3068
  gap: "16px",
3069
3069
  options: { autoWidth: !0, trimSpace: "move" },
3070
3070
  useIndexAsKey: !0,
3071
3071
  enableHorizontalWheel: !0,
3072
- showRightGradient: !q,
3072
+ showRightGradient: !z,
3073
3073
  breakpoints: {
3074
3074
  768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
3075
3075
  },
3076
- renderItem: (_) => /* @__PURE__ */ t(Cn, { coupon: _ }),
3077
- onMove: ({ isStart: _, isEnd: N }) => u({ isStart: _, isEnd: N })
3076
+ renderItem: (y) => /* @__PURE__ */ t(Cn, { coupon: y }),
3077
+ onMove: ({ isStart: y, isEnd: k }) => u({ isStart: y, isEnd: k })
3078
3078
  }
3079
3079
  )
3080
3080
  ] }) });
@@ -3084,30 +3084,30 @@ function kn({}) {
3084
3084
  "div",
3085
3085
  {
3086
3086
  className: ke.cardWrapper,
3087
- children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1, children: [
3088
- /* @__PURE__ */ y(H, { spacing: 1, direction: "row", children: [
3089
- /* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
3090
- /* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
3087
+ children: /* @__PURE__ */ _(K, { direction: "column", spacing: 1, children: [
3088
+ /* @__PURE__ */ _(K, { spacing: 1, direction: "row", children: [
3089
+ /* @__PURE__ */ t(H, { variant: "text", width: "60%", height: 24 }),
3090
+ /* @__PURE__ */ t(H, { variant: "text", width: "39%", height: 24 })
3091
3091
  ] }),
3092
- /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3093
- /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
3094
- /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
3095
- /* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
3092
+ /* @__PURE__ */ _(K, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3093
+ /* @__PURE__ */ t(H, { variant: "circular", width: 32, height: 40 }),
3094
+ /* @__PURE__ */ t(H, { variant: "text", width: 40, height: 40 }),
3095
+ /* @__PURE__ */ t(H, { variant: "circular", width: 32, height: 40 })
3096
3096
  ] }),
3097
- /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3098
- /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
3099
- /* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
3100
- /* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
3097
+ /* @__PURE__ */ _(K, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3098
+ /* @__PURE__ */ t(H, { variant: "text", width: 32, height: 16 }),
3099
+ /* @__PURE__ */ t(H, { variant: "text", width: 40, height: 16 }),
3100
+ /* @__PURE__ */ t(H, { variant: "text", width: 32, height: 16 })
3101
3101
  ] }),
3102
- /* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
3103
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3104
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
3105
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
3102
+ /* @__PURE__ */ _(K, { spacing: 2, direction: "row", children: [
3103
+ /* @__PURE__ */ t(H, { variant: "rounded", width: 88, height: 16 }),
3104
+ /* @__PURE__ */ t(H, { variant: "rounded", width: 88, height: 16 }),
3105
+ /* @__PURE__ */ t(H, { variant: "rounded", width: 88, height: 16 })
3106
3106
  ] }),
3107
- /* @__PURE__ */ y(H, { spacing: 2, direction: "row", children: [
3108
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3109
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
3110
- /* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
3107
+ /* @__PURE__ */ _(K, { spacing: 2, direction: "row", children: [
3108
+ /* @__PURE__ */ t(H, { variant: "rounded", width: 88, height: 32 }),
3109
+ /* @__PURE__ */ t(H, { variant: "rounded", width: 88, height: 32 }),
3110
+ /* @__PURE__ */ t(H, { variant: "rounded", width: 88, height: 32 })
3111
3111
  ] })
3112
3112
  ] })
3113
3113
  }
@@ -3122,57 +3122,57 @@ function Be({ children: e }) {
3122
3122
  const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
3123
3123
  padding: Mn
3124
3124
  };
3125
- function St({
3125
+ function wt({
3126
3126
  events: e,
3127
3127
  visibleRange: a,
3128
3128
  fetchJerseys: n,
3129
3129
  buffer: o = 2,
3130
3130
  debounceMs: r = 250
3131
3131
  }) {
3132
- const [i, s] = X({}), c = V(/* @__PURE__ */ new Set()), p = V(0), h = V(null), u = V(null);
3132
+ const [i, s] = X({}), c = V(/* @__PURE__ */ new Set()), f = V(0), h = V(null), u = V(null);
3133
3133
  return Q(() => {
3134
3134
  if (!(!e || e.length === 0))
3135
3135
  return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
3136
- var q, _;
3137
- const m = (q = a.start) != null ? q : 0, d = (_ = a.end) != null ? _ : 7, f = Math.max(0, m - o), v = Math.min(e.length - 1, d + o);
3138
- let S = f, x = v;
3139
- const g = u.current;
3140
- g && (f > g.end && (S = g.end + 1), v < g.start && (x = g.start - 1)), u.current = { start: f, end: v };
3141
- const C = e.slice(S, x + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in i));
3142
- if (C.length === 0) return;
3143
- C.forEach((N) => c.current.add(N));
3144
- const $ = ++p.current;
3136
+ var z, y;
3137
+ const m = (z = a.start) != null ? z : 0, d = (y = a.end) != null ? y : 7, g = Math.max(0, m - o), b = Math.min(e.length - 1, d + o);
3138
+ let x = g, C = b;
3139
+ const p = u.current;
3140
+ p && (g > p.end && (x = p.end + 1), b < p.start && (C = p.start - 1)), u.current = { start: g, end: b };
3141
+ const S = e.slice(x, C + 1).map((k) => k == null ? void 0 : k.id).filter((k) => !!k).filter((k) => !c.current.has(k)).filter((k) => !(k in i));
3142
+ if (S.length === 0) return;
3143
+ S.forEach((k) => c.current.add(k));
3144
+ const M = ++f.current;
3145
3145
  (async () => {
3146
3146
  try {
3147
- const N = await n(C);
3148
- if ($ !== p.current) {
3149
- C.forEach((D) => c.current.delete(D));
3147
+ const k = await n(S);
3148
+ if (M !== f.current) {
3149
+ S.forEach((D) => c.current.delete(D));
3150
3150
  return;
3151
3151
  }
3152
- if (!(N != null && N.events)) {
3153
- C.forEach(
3152
+ if (!(k != null && k.events)) {
3153
+ S.forEach(
3154
3154
  (D) => c.current.delete(D)
3155
3155
  );
3156
3156
  return;
3157
3157
  }
3158
3158
  s((D) => {
3159
3159
  const O = { ...D };
3160
- for (const [b, E] of Object.entries(N.events)) {
3161
- const L = Number(b);
3162
- O[L] || (O[L] = E);
3160
+ for (const [v, I] of Object.entries(k.events)) {
3161
+ const R = Number(v);
3162
+ O[R] || (O[R] = I);
3163
3163
  }
3164
3164
  return O;
3165
3165
  });
3166
- const z = new Set(
3167
- Object.keys(N.events).map(Number)
3166
+ const q = new Set(
3167
+ Object.keys(k.events).map(Number)
3168
3168
  );
3169
- C.forEach((D) => {
3169
+ S.forEach((D) => {
3170
3170
  c.current.delete(D);
3171
3171
  });
3172
- } catch (N) {
3173
- C.forEach(
3174
- (z) => c.current.delete(z)
3175
- ), console.error("Jersey fetch error", N);
3172
+ } catch (k) {
3173
+ S.forEach(
3174
+ (q) => c.current.delete(q)
3175
+ ), console.error("Jersey fetch error", k);
3176
3176
  }
3177
3177
  })();
3178
3178
  }, r), () => {
@@ -3196,82 +3196,82 @@ const An = (e) => {
3196
3196
  function Ln({
3197
3197
  items: e,
3198
3198
  title: a = "En vivo",
3199
- iconUrl: n = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
3199
+ iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
3200
3200
  onViewMore: o,
3201
3201
  className: r = ""
3202
3202
  }) {
3203
- const i = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), [h, u] = X(null), [m, d] = X({ start: null, end: null }), [f, v] = X(null), S = V(!1), x = ae(), g = ne(), C = le(), $ = V(/* @__PURE__ */ new Map()), q = () => {
3203
+ const i = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, f] = X({ isStart: !0, isEnd: !1 }), [h, u] = X(null), [m, d] = X({ start: null, end: null }), [g, b] = X(null), x = V(!1), C = ae(), p = ne(), S = le(), M = V(/* @__PURE__ */ new Map()), z = () => {
3204
3204
  var B;
3205
- x({
3205
+ C({
3206
3206
  element: "evento_en_vivo_prev",
3207
- label: `${g} - OraculoSeccionEventoEnVivo - Anterior`,
3207
+ label: `${p} - OraculoSeccionEventoEnVivo - Anterior`,
3208
3208
  target: "prev",
3209
3209
  event_type: "click",
3210
- module_id: C,
3210
+ module_id: S,
3211
3211
  metadata: {
3212
3212
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3213
3213
  },
3214
3214
  tags: { section: "OraculoSeccionEventoEnVivo" }
3215
3215
  }), (B = s.current) == null || B.prev();
3216
- }, _ = () => {
3216
+ }, y = () => {
3217
3217
  var B;
3218
- x({
3218
+ C({
3219
3219
  element: "evento_en_vivo_next",
3220
- label: `${g} - OraculoSeccionEventoEnVivo - Siguiente`,
3220
+ label: `${p} - OraculoSeccionEventoEnVivo - Siguiente`,
3221
3221
  target: "next",
3222
3222
  event_type: "click",
3223
- module_id: C,
3223
+ module_id: S,
3224
3224
  metadata: {
3225
3225
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3226
3226
  },
3227
3227
  tags: { section: "OraculoSeccionEventoEnVivo" }
3228
3228
  }), (B = s.current) == null || B.next();
3229
- }, N = () => {
3230
- x({
3229
+ }, k = () => {
3230
+ C({
3231
3231
  element: "evento_en_vivo_view_more",
3232
- label: `${g} - OraculoSeccionEventoEnVivo - Ver más`,
3232
+ label: `${p} - OraculoSeccionEventoEnVivo - Ver más`,
3233
3233
  target: "ver_mas",
3234
3234
  event_type: "click",
3235
- module_id: C,
3235
+ module_id: S,
3236
3236
  metadata: {
3237
3237
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
3238
3238
  },
3239
3239
  tags: { section: "OraculoSeccionEventoEnVivo" }
3240
3240
  }), Ba();
3241
- }, z = Ce(async () => {
3241
+ }, q = Ce(async () => {
3242
3242
  var B;
3243
3243
  try {
3244
- if (!S.current) {
3245
- S.current = !0;
3244
+ if (!x.current) {
3245
+ x.current = !0;
3246
3246
  try {
3247
- const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), w = ((B = K == null ? void 0 : K.data) == null ? void 0 : B.event_ids) || [], R = /* @__PURE__ */ new Map();
3248
- w.forEach((Z, l) => R.set(String(Z), l)), $.current = R;
3249
- } catch (G) {
3250
- console.error("Order fetch failed, using default sorting", G);
3247
+ const Z = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), G = ((B = Z == null ? void 0 : Z.data) == null ? void 0 : B.event_ids) || [], E = /* @__PURE__ */ new Map();
3248
+ G.forEach((F, l) => E.set(String(F), l)), M.current = E;
3249
+ } catch (j) {
3250
+ console.error("Order fetch failed, using default sorting", j);
3251
3251
  }
3252
3252
  }
3253
3253
  const A = await fetch(i);
3254
3254
  if (!A.ok) throw new Error("Failed to fetch live events");
3255
3255
  const U = await A.json(), W = An(U.events);
3256
- if ($.current.size === 0)
3256
+ if (M.current.size === 0)
3257
3257
  u(W);
3258
3258
  else {
3259
- const G = [...W].sort((K, w) => {
3260
- const R = $.current.get(String(K.event.id)), Z = $.current.get(String(w.event.id));
3261
- return (R !== void 0 ? R : 1 / 0) - (Z !== void 0 ? Z : 1 / 0);
3259
+ const j = [...W].sort((Z, G) => {
3260
+ const E = M.current.get(String(Z.event.id)), F = M.current.get(String(G.event.id));
3261
+ return (E !== void 0 ? E : 1 / 0) - (F !== void 0 ? F : 1 / 0);
3262
3262
  });
3263
- u(G);
3263
+ u(j);
3264
3264
  }
3265
3265
  } catch (A) {
3266
3266
  console.error("LoadData Error:", A);
3267
3267
  }
3268
3268
  }, []);
3269
3269
  Q(() => {
3270
- z();
3271
- const B = setInterval(z, 2e4);
3270
+ q();
3271
+ const B = setInterval(q, 2e4);
3272
3272
  return () => clearInterval(B);
3273
- }, [z]);
3274
- const { jerseys: D } = St({
3273
+ }, [q]);
3274
+ const { jerseys: D } = wt({
3275
3275
  events: (h == null ? void 0 : h.map((B) => B.event)) || [],
3276
3276
  // extract actual event objects
3277
3277
  visibleRange: m,
@@ -3280,17 +3280,17 @@ function Ln({
3280
3280
  // same as your previous BUFFER
3281
3281
  debounceMs: 300
3282
3282
  // same as your previous debouncedVisibleRange
3283
- }), O = r || void 0, b = h === null, E = re(() => b ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [b, h]), L = xe("(max-width:950px)");
3284
- return !b && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: {
3283
+ }), O = r || void 0, v = h === null, I = re(() => v ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [v, h]), R = xe("(max-width:950px)");
3284
+ return !v && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: {
3285
3285
  // paddingLeft: 16,
3286
3286
  // paddingRight: 16,
3287
3287
  width: "100%",
3288
3288
  boxSizing: "border-box"
3289
- }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3290
- /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3289
+ }, children: /* @__PURE__ */ _(K, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3290
+ /* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ _(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
3291
3291
  /* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
3292
- /* @__PURE__ */ y("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3293
- /* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
3292
+ /* @__PURE__ */ _("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
3293
+ /* @__PURE__ */ _(me, { spacing: 1, columns: "auto auto", children: [
3294
3294
  /* @__PURE__ */ t(
3295
3295
  Y,
3296
3296
  {
@@ -3298,7 +3298,7 @@ function Ln({
3298
3298
  variant: "secondary",
3299
3299
  iconOnly: !0,
3300
3300
  leftIcon: /* @__PURE__ */ t(Ae, {}),
3301
- onClick: q,
3301
+ onClick: z,
3302
3302
  disabled: c.isStart
3303
3303
  }
3304
3304
  ),
@@ -3309,21 +3309,21 @@ function Ln({
3309
3309
  variant: "secondary",
3310
3310
  iconOnly: !0,
3311
3311
  rightIcon: /* @__PURE__ */ t(Re, {}),
3312
- onClick: _,
3312
+ onClick: y,
3313
3313
  disabled: c.isEnd
3314
3314
  }
3315
3315
  )
3316
3316
  ] }),
3317
- /* @__PURE__ */ t(Y, { variant: "secondary", onClick: N, children: "Ver más" })
3317
+ /* @__PURE__ */ t(Y, { variant: "secondary", onClick: k, children: "Ver más" })
3318
3318
  ] })
3319
3319
  ] }) }),
3320
3320
  /* @__PURE__ */ t(
3321
3321
  he,
3322
3322
  {
3323
3323
  ref: s,
3324
- items: E,
3324
+ items: I,
3325
3325
  perPage: void 0,
3326
- showRightGradient: !L,
3326
+ showRightGradient: !R,
3327
3327
  enableHorizontalWheel: !0,
3328
3328
  gap: "16px",
3329
3329
  options: { autoWidth: !0, trimSpace: "move" },
@@ -3335,7 +3335,7 @@ function Ln({
3335
3335
  renderItem: (B) => {
3336
3336
  var W;
3337
3337
  const A = ((W = B.event) == null ? void 0 : W.id) || B.eventId, U = A in D ? D[A] : void 0;
3338
- return b ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3338
+ return v ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
3339
3339
  Rn,
3340
3340
  {
3341
3341
  ...B,
@@ -3344,8 +3344,8 @@ function Ln({
3344
3344
  ) });
3345
3345
  },
3346
3346
  onMove: ({ isStart: B, isEnd: A, visibleStart: U, visibleEnd: W }) => {
3347
- p(
3348
- (G) => G.isStart === B && G.isEnd === A ? G : { isStart: B, isEnd: A }
3347
+ f(
3348
+ (j) => j.isStart === B && j.isEnd === A ? j : { isStart: B, isEnd: A }
3349
3349
  ), d({ start: U, end: W });
3350
3350
  }
3351
3351
  }
@@ -3353,28 +3353,28 @@ function Ln({
3353
3353
  ] }) });
3354
3354
  }
3355
3355
  function Fn() {
3356
- return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
3356
+ return /* @__PURE__ */ _("div", { className: be.cardContainer, children: [
3357
3357
  /* @__PURE__ */ t(mt, { title: "" }),
3358
- /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3359
- /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3360
- /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
3361
- /* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
3358
+ /* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ _(K, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3359
+ /* @__PURE__ */ _(K, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3360
+ /* @__PURE__ */ t(H, { variant: "circular", width: 48, height: 48 }),
3361
+ /* @__PURE__ */ t(H, { variant: "circular", width: 48, height: 48 })
3362
3362
  ] }),
3363
- /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3364
- /* @__PURE__ */ y(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3365
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
3366
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
3363
+ /* @__PURE__ */ _(K, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
3364
+ /* @__PURE__ */ _(K, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
3365
+ /* @__PURE__ */ t(H, { variant: "text", width: 80, height: 12 }),
3366
+ /* @__PURE__ */ t(H, { variant: "text", width: 80, height: 12 })
3367
3367
  ] }),
3368
- /* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
3369
- /* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
3370
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3371
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
3372
- /* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
3368
+ /* @__PURE__ */ t(K, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(H, { variant: "text", width: 160, height: 12 }) }),
3369
+ /* @__PURE__ */ _(K, { direction: "row", spacing: 1, children: [
3370
+ /* @__PURE__ */ t(H, { variant: "text", width: 80, height: 16 }),
3371
+ /* @__PURE__ */ t(H, { variant: "text", width: 80, height: 16 }),
3372
+ /* @__PURE__ */ t(H, { variant: "text", width: 80, height: 16 })
3373
3373
  ] }),
3374
- /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ y(H, { direction: "row", spacing: 1, children: [
3375
- /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3376
- /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
3377
- /* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
3374
+ /* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ _(K, { direction: "row", spacing: 1, children: [
3375
+ /* @__PURE__ */ t(H, { variant: "rounded", width: 80, height: 32 }),
3376
+ /* @__PURE__ */ t(H, { variant: "rounded", width: 80, height: 32 }),
3377
+ /* @__PURE__ */ t(H, { variant: "rounded", width: 80, height: 32 })
3378
3378
  ] }) })
3379
3379
  ] })
3380
3380
  ] }) })
@@ -3392,7 +3392,7 @@ async function Vn(e, a = 2, n) {
3392
3392
  if (n.aborted)
3393
3393
  throw new DOMException("Aborted", "AbortError");
3394
3394
  const i = e.slice(r, r + a), s = await Promise.all(
3395
- i.map((c) => fetch(c, { signal: n }).then((p) => p.json()))
3395
+ i.map((c) => fetch(c, { signal: n }).then((f) => f.json()))
3396
3396
  );
3397
3397
  o.push(...s);
3398
3398
  }
@@ -3428,7 +3428,7 @@ function Hn({
3428
3428
  onViewMore: o,
3429
3429
  className: r = ""
3430
3430
  }) {
3431
- const i = ae(), s = ne(), c = le(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, m] = X({ isStart: !0, isEnd: !1 }), [d, f] = X(null), [v, S] = X({ start: null, end: null }), x = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", g = () => {
3431
+ const i = 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] = X({ isStart: !0, isEnd: !1 }), [d, g] = X(null), [b, x] = X({ start: null, end: null }), C = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", p = () => {
3432
3432
  i({
3433
3433
  element: "evento_semana_view_more",
3434
3434
  label: `${s} - OraculoSeccionEventoSemana - Ver más`,
@@ -3441,9 +3441,9 @@ function Hn({
3441
3441
  tags: { section: "OraculoSeccionEventoSemana" }
3442
3442
  }), Aa();
3443
3443
  };
3444
- async function C(O) {
3445
- var L, B;
3446
- let b = [], E = [];
3444
+ async function S(O) {
3445
+ var R, B;
3446
+ let v = [], I = [];
3447
3447
  try {
3448
3448
  const A = await fetch(
3449
3449
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
@@ -3451,96 +3451,96 @@ function Hn({
3451
3451
  );
3452
3452
  if (A.ok) {
3453
3453
  const U = await A.json();
3454
- b = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], E = ((B = U == null ? void 0 : U.data) == null ? void 0 : B.event_ids) || [];
3454
+ v = ((R = U == null ? void 0 : U.data) == null ? void 0 : R.group_ids) || [], I = ((B = U == null ? void 0 : U.data) == null ? void 0 : B.event_ids) || [];
3455
3455
  }
3456
3456
  } catch (A) {
3457
3457
  A.name !== "AbortError" && console.warn("Order API not available, using default group order");
3458
3458
  return;
3459
3459
  }
3460
3460
  try {
3461
- const W = (await (await fetch(p, { signal: O })).json()).group.groups.find(
3461
+ const W = (await (await fetch(f, { signal: O })).json()).group.groups.find(
3462
3462
  (l) => l.englishName === "Football"
3463
3463
  );
3464
3464
  if (!W || !Array.isArray(W.groups)) {
3465
3465
  console.error("Football groups not found");
3466
3466
  return;
3467
3467
  }
3468
- let G = [...W.groups];
3469
- if (b.length > 0) {
3468
+ let j = [...W.groups];
3469
+ if (v.length > 0) {
3470
3470
  const l = new Map(
3471
- b.map((I, T) => [I, T])
3471
+ v.map((w, T) => [w, T])
3472
3472
  );
3473
- G.sort((I, T) => {
3474
- const k = l.get(String(I.id)), M = l.get(String(T.id));
3475
- return k !== void 0 && M !== void 0 ? k - M : k !== void 0 ? -1 : M !== void 0 ? 1 : 0;
3473
+ j.sort((w, T) => {
3474
+ const N = l.get(String(w.id)), $ = l.get(String(T.id));
3475
+ return N !== void 0 && $ !== void 0 ? N - $ : N !== void 0 ? -1 : $ !== void 0 ? 1 : 0;
3476
3476
  });
3477
3477
  }
3478
- const w = G.slice(0, 5), R = (l) => {
3479
- const I = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3478
+ const G = j.slice(0, 5), E = (l) => {
3479
+ const w = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
3480
3480
  if (l.groups && l.groups.length > 0) {
3481
3481
  const T = l.groups[0];
3482
3482
  return [
3483
- `${I}/${l.termKey}/${T.termKey}/all/matches.json?${x}`
3483
+ `${w}/${l.termKey}/${T.termKey}/all/matches.json?${C}`
3484
3484
  ];
3485
3485
  }
3486
3486
  return [
3487
- `${I}/${l.termKey}/all/all/matches.json?${x}`
3487
+ `${w}/${l.termKey}/all/all/matches.json?${C}`
3488
3488
  ];
3489
- }, Z = w.flatMap(R);
3490
- $(Z, E, O);
3489
+ }, F = G.flatMap(E);
3490
+ M(F, I, O);
3491
3491
  } catch (A) {
3492
3492
  console.error(A);
3493
3493
  }
3494
3494
  }
3495
- async function $(O, b, E) {
3495
+ async function M(O, v, I) {
3496
3496
  try {
3497
- const L = await Vn(O, 2, E);
3497
+ const R = await Vn(O, 2, I);
3498
3498
  let B = [], A = [];
3499
- L.forEach((K) => {
3500
- K.events && (B.push(...K.events.map((w) => w.event)), A.push(
3501
- ...K.events.flatMap((w) => w.betOffers || [])
3499
+ R.forEach((Z) => {
3500
+ Z.events && (B.push(...Z.events.map((G) => G.event)), A.push(
3501
+ ...Z.events.flatMap((G) => G.betOffers || [])
3502
3502
  ));
3503
3503
  });
3504
3504
  const U = jn(B, A), W = Wn(Gn(U));
3505
- let G = W;
3506
- if (b.length > 0) {
3507
- const K = new Map(
3508
- b.map((w, R) => [
3509
- String(w),
3510
- R
3505
+ let j = W;
3506
+ if (v.length > 0) {
3507
+ const Z = new Map(
3508
+ v.map((G, E) => [
3509
+ String(G),
3510
+ E
3511
3511
  ])
3512
3512
  );
3513
- G = [...W].sort((w, R) => {
3514
- const Z = K.get(String(w.id)), l = K.get(String(R.id));
3515
- return Z !== void 0 && l !== void 0 ? Z - l : Z !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3513
+ j = [...W].sort((G, E) => {
3514
+ const F = Z.get(String(G.id)), l = Z.get(String(E.id));
3515
+ return F !== void 0 && l !== void 0 ? F - l : F !== void 0 ? -1 : l !== void 0 ? 1 : 0;
3516
3516
  });
3517
3517
  }
3518
- if (E.aborted) return;
3519
- f(G);
3520
- } catch (L) {
3521
- console.error("Error loading events:", L);
3518
+ if (I.aborted) return;
3519
+ g(j);
3520
+ } catch (R) {
3521
+ console.error("Error loading events:", R);
3522
3522
  }
3523
3523
  }
3524
3524
  Q(() => {
3525
3525
  if (!e) return;
3526
3526
  const O = new AbortController();
3527
- return C(O.signal), () => {
3527
+ return S(O.signal), () => {
3528
3528
  O.abort();
3529
3529
  };
3530
3530
  }, [e]);
3531
- const q = r || void 0, _ = {
3531
+ const z = r || void 0, y = {
3532
3532
  paddingLeft: 0,
3533
3533
  width: "100%",
3534
3534
  boxSizing: "border-box"
3535
- }, { jerseys: N } = St({
3535
+ }, { jerseys: k } = wt({
3536
3536
  events: d,
3537
- visibleRange: v,
3537
+ visibleRange: b,
3538
3538
  fetchJerseys: gt,
3539
3539
  buffer: 2,
3540
3540
  debounceMs: 250
3541
- }), z = d === null, D = xe("(max-width:950px)");
3542
- return !z && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: q, style: _, children: /* @__PURE__ */ y("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3543
- /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3541
+ }), q = d === null, D = xe("(max-width:950px)");
3542
+ return !q && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: z, style: y, children: /* @__PURE__ */ _("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
3543
+ /* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ _(K, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
3544
3544
  /* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
3545
3545
  /* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
3546
3546
  Y,
@@ -3549,7 +3549,7 @@ function Hn({
3549
3549
  size: "lg",
3550
3550
  fullWidth: !0,
3551
3551
  onClick: () => {
3552
- g();
3552
+ p();
3553
3553
  },
3554
3554
  children: "Ver más"
3555
3555
  }
@@ -3559,7 +3559,7 @@ function Hn({
3559
3559
  he,
3560
3560
  {
3561
3561
  ref: h,
3562
- items: z ? Array(6).fill({}) : d.slice(0, 20),
3562
+ items: q ? Array(6).fill({}) : d.slice(0, 20),
3563
3563
  perPage: 3.5,
3564
3564
  gap: "16px",
3565
3565
  enableHorizontalWheel: !0,
@@ -3574,13 +3574,13 @@ function Hn({
3574
3574
  }
3575
3575
  },
3576
3576
  renderItem: (O) => {
3577
- const b = O.id, E = b in N ? N[b] : void 0;
3578
- return z ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Fn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: O, jersey: E }) });
3577
+ const v = O.id, I = v in k ? k[v] : void 0;
3578
+ return q ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Fn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: O, jersey: I }) });
3579
3579
  },
3580
- onMove: ({ isStart: O, isEnd: b, visibleStart: E, visibleEnd: L, source: B }) => {
3581
- m({ isStart: O, isEnd: b }), S({
3582
- start: E,
3583
- end: L
3580
+ onMove: ({ isStart: O, isEnd: v, visibleStart: I, visibleEnd: R, source: B }) => {
3581
+ m({ isStart: O, isEnd: v }), x({
3582
+ start: I,
3583
+ end: R
3584
3584
  }), B === "user" && i({
3585
3585
  element: "evento_semana_carousel_slide",
3586
3586
  label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
@@ -3589,10 +3589,10 @@ function Hn({
3589
3589
  module_id: c,
3590
3590
  metadata: {
3591
3591
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3592
- visibleStart: E,
3593
- visibleEnd: L,
3592
+ visibleStart: I,
3593
+ visibleEnd: R,
3594
3594
  isStart: O,
3595
- isEnd: b
3595
+ isEnd: v
3596
3596
  },
3597
3597
  tags: { section: "OraculoSeccionEventoSemana" }
3598
3598
  });
@@ -3604,8 +3604,8 @@ function Hn({
3604
3604
  const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3605
3605
  if (!e) return null;
3606
3606
  if (Zn(e)) {
3607
- const p = new Date(e).getTime();
3608
- return Number.isNaN(p) ? null : p;
3607
+ const f = new Date(e).getTime();
3608
+ return Number.isNaN(f) ? null : f;
3609
3609
  }
3610
3610
  const a = e.match(
3611
3611
  /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
@@ -3621,8 +3621,8 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
3621
3621
  Number(c)
3622
3622
  );
3623
3623
  }, Jn = (e, a) => {
3624
- var c, p, h, u, m, d, f, v, S;
3625
- const n = (h = (p = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? p : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((x) => (x == null ? void 0 : x.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, r = (S = (v = e == null ? void 0 : e.endAt) != null ? v : (f = n.find((x) => (x == null ? void 0 : x.name) === "endAt")) == null ? void 0 : f.value) != null ? S : null, i = nt(o), s = nt(r);
3624
+ var c, f, h, u, m, d, g, b, x;
3625
+ 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, r = (x = (b = e == null ? void 0 : e.endAt) != null ? b : (g = n.find((C) => (C == null ? void 0 : C.name) === "endAt")) == null ? void 0 : g.value) != null ? x : null, i = nt(o), s = nt(r);
3626
3626
  return !(i != null && a < i || s != null && a >= s);
3627
3627
  };
3628
3628
  function Xn({
@@ -3630,26 +3630,26 @@ function Xn({
3630
3630
  items: a,
3631
3631
  hideItems: n
3632
3632
  }) {
3633
- var K;
3634
- const [o, r] = X(0), i = ae(), s = ne(), c = le(), p = V(null), h = V(!1), u = V(!1), [m, d] = X(() => Date.now()), f = se("setDepositActionGlobal"), v = (w) => [...w != null ? w : []].map((R, Z) => ({ item: R, index: Z })).sort((R, Z) => {
3635
- var T, k;
3636
- const l = (T = R.item.order) != null ? T : Number.MAX_SAFE_INTEGER, I = (k = Z.item.order) != null ? k : Number.MAX_SAFE_INTEGER;
3637
- return l - I || R.index - Z.index;
3638
- }).map(({ item: R }) => R), S = re(() => v(a), [a]), x = re(() => {
3639
- const w = (e != null ? e : []).filter(
3640
- (R) => Jn(R, m)
3633
+ var G;
3634
+ const [o, r] = X(0), i = ae(), s = ne(), c = le(), f = V(null), h = V(!1), u = V(!1), [m, d] = X(() => Date.now()), g = ie("setDepositActionGlobal"), b = ie("setAbrirLiveActionGlobal"), x = (E) => [...E != null ? E : []].map((F, l) => ({ item: F, index: l })).sort((F, l) => {
3635
+ var N, $;
3636
+ const w = (N = F.item.order) != null ? N : Number.MAX_SAFE_INTEGER, T = ($ = l.item.order) != null ? $ : Number.MAX_SAFE_INTEGER;
3637
+ return w - T || F.index - l.index;
3638
+ }).map(({ item: F }) => F), C = re(() => x(a), [a]), p = re(() => {
3639
+ const E = (e != null ? e : []).filter(
3640
+ (F) => Jn(F, m)
3641
3641
  );
3642
- return v(w);
3643
- }, [e, m]), g = x.length || 1, C = !x || x.length === 0, $ = !C && x.length > 1, q = !n && S.length > 0;
3642
+ return x(E);
3643
+ }, [e, m]), S = p.length || 1, M = !p || p.length === 0, z = !M && p.length > 1, y = !n && C.length > 0;
3644
3644
  De("(max-width:950px)");
3645
- const _ = "#B5B5B5";
3645
+ const k = "#B5B5B5";
3646
3646
  Q(() => {
3647
- const w = window.setInterval(() => {
3647
+ const E = window.setInterval(() => {
3648
3648
  d(Date.now());
3649
3649
  }, 3e4);
3650
- return () => window.clearInterval(w);
3650
+ return () => window.clearInterval(E);
3651
3651
  }, []);
3652
- const N = {
3652
+ const q = {
3653
3653
  position: "absolute",
3654
3654
  top: "50%",
3655
3655
  transform: "translateY(-50%)",
@@ -3657,22 +3657,22 @@ function Xn({
3657
3657
  width: 48,
3658
3658
  height: 40,
3659
3659
  borderRadius: "12px",
3660
- border: `1.5px solid ${_}`,
3660
+ border: `1.5px solid ${k}`,
3661
3661
  py: 1,
3662
3662
  px: 1.5,
3663
- color: _,
3663
+ color: k,
3664
3664
  backgroundColor: "transparent",
3665
3665
  "&:hover": {
3666
3666
  backgroundColor: "rgba(181,181,181,0.08)"
3667
3667
  },
3668
3668
  "&.Mui-disabled": {
3669
3669
  opacity: 0.35,
3670
- borderColor: _,
3671
- color: _,
3670
+ borderColor: k,
3671
+ color: k,
3672
3672
  backgroundColor: "transparent",
3673
3673
  cursor: "default"
3674
3674
  }
3675
- }, z = re(
3675
+ }, D = re(
3676
3676
  () => ({
3677
3677
  type: "loop",
3678
3678
  perMove: 1,
@@ -3684,109 +3684,112 @@ function Xn({
3684
3684
  []
3685
3685
  );
3686
3686
  Q(() => {
3687
- const w = setTimeout(() => {
3687
+ const E = setTimeout(() => {
3688
3688
  h.current = !0;
3689
3689
  }, 500);
3690
- return () => clearTimeout(w);
3690
+ return () => clearTimeout(E);
3691
3691
  }, []);
3692
- const D = (w, R, Z) => {
3693
- var k, M;
3694
- const l = !!R.idFunction, I = !!R.href;
3695
- if (l)
3696
- switch (w.preventDefault(), w.stopPropagation(), R.idFunction) {
3692
+ const O = (E, F, l) => {
3693
+ var $, L;
3694
+ const w = !!F.idFunction, T = !!F.href;
3695
+ if (w)
3696
+ switch (E.preventDefault(), E.stopPropagation(), F.idFunction) {
3697
3697
  case "deposito":
3698
- f == null || f(!0);
3698
+ g == null || g(!0);
3699
+ return;
3700
+ case "abrirLive":
3701
+ b == null || b(!0);
3699
3702
  return;
3700
3703
  default:
3701
3704
  return;
3702
3705
  }
3703
- if (!I) {
3704
- w.preventDefault(), w.stopPropagation();
3706
+ if (!T) {
3707
+ E.preventDefault(), E.stopPropagation();
3705
3708
  return;
3706
3709
  }
3707
- const T = ((M = (k = R.href) == null ? void 0 : k.split("/").pop()) == null ? void 0 : M.split(".")[0]) || R.label || R.id || `banner_${Z + 1}`;
3710
+ const N = ((L = ($ = F.href) == null ? void 0 : $.split("/").pop()) == null ? void 0 : L.split(".")[0]) || F.label || F.id || `banner_${l + 1}`;
3708
3711
  i({
3709
3712
  element: "banner_carousel",
3710
- label: `${s} - OraculoSeccionBanners - Banner click: ${T}`,
3711
- target: R.href || "no_url",
3713
+ label: `${s} - OraculoSeccionBanners - Banner click: ${N}`,
3714
+ target: F.href || "no_url",
3712
3715
  event_type: "click",
3713
3716
  module_id: c,
3714
3717
  metadata: {
3715
3718
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3716
- banner_position: Z + 1,
3717
- banner_total: (x == null ? void 0 : x.length) || 0
3719
+ banner_position: l + 1,
3720
+ banner_total: (p == null ? void 0 : p.length) || 0
3718
3721
  },
3719
3722
  tags: {
3720
3723
  banner_type: "carousel",
3721
3724
  banner_target: "_self",
3722
- banner_url: R.href || "no_url"
3725
+ banner_url: F.href || "no_url"
3723
3726
  }
3724
3727
  });
3725
- }, O = (w) => {
3728
+ }, v = (E) => {
3726
3729
  if (i({
3727
3730
  element: "banner_menu_item",
3728
- label: `${s} - OraculoSeccionBanners - Menu item click: ${w.label || w.id}`,
3729
- target: w.href || "action",
3731
+ label: `${s} - OraculoSeccionBanners - Menu item click: ${E.label || E.id}`,
3732
+ target: E.href || "action",
3730
3733
  event_type: "click",
3731
3734
  module_id: c,
3732
3735
  metadata: {
3733
3736
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3734
- item_id: w.id
3737
+ item_id: E.id
3735
3738
  },
3736
3739
  tags: {
3737
- item_label: w.label || "no_label"
3740
+ item_label: E.label || "no_label"
3738
3741
  }
3739
- }), w.onClick) {
3740
- w.onClick();
3742
+ }), E.onClick) {
3743
+ E.onClick();
3741
3744
  return;
3742
3745
  }
3743
- w.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(w.href);
3744
- }, b = 5e3, E = V(null), L = !C && ((K = x == null ? void 0 : x.length) != null ? K : 0) > 1, B = () => {
3745
- E.current != null && (window.clearTimeout(E.current), E.current = null);
3746
- }, A = () => {
3747
- B(), L && (E.current = window.setTimeout(() => {
3748
- var w;
3749
- u.current = !0, (w = p.current) == null || w.next();
3750
- }, b));
3746
+ E.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(E.href);
3747
+ }, I = 5e3, R = V(null), B = !M && ((G = p == null ? void 0 : p.length) != null ? G : 0) > 1, A = () => {
3748
+ R.current != null && (window.clearTimeout(R.current), R.current = null);
3749
+ }, U = () => {
3750
+ A(), B && (R.current = window.setTimeout(() => {
3751
+ var E;
3752
+ u.current = !0, (E = f.current) == null || E.next();
3753
+ }, I));
3751
3754
  };
3752
- Q(() => (A(), () => B()), [L, b]);
3753
- const U = (w) => {
3754
- var R;
3755
- w.preventDefault(), w.stopPropagation(), B(), (R = p.current) == null || R.prev();
3756
- }, W = (w) => {
3757
- var R;
3758
- w.preventDefault(), w.stopPropagation(), B(), (R = p.current) == null || R.next();
3759
- }, G = (w) => {
3760
- var l, I, T, k;
3761
- const R = (w % g + g) % g;
3755
+ Q(() => (U(), () => A()), [B, I]);
3756
+ const W = (E) => {
3757
+ var F;
3758
+ E.preventDefault(), E.stopPropagation(), A(), (F = f.current) == null || F.prev();
3759
+ }, j = (E) => {
3760
+ var F;
3761
+ E.preventDefault(), E.stopPropagation(), A(), (F = f.current) == null || F.next();
3762
+ }, Z = (E) => {
3763
+ var w, T, N, $;
3764
+ const F = (E % S + S) % S;
3762
3765
  if (!h.current) return;
3763
- const Z = (l = x == null ? void 0 : x[R]) != null && l.href ? ((T = (I = x[R].href) == null ? void 0 : I.split("/").pop()) == null ? void 0 : T.split(".")[0]) || `banner_${R + 1}` : `banner_${R + 1}`;
3766
+ const l = (w = p == null ? void 0 : p[F]) != null && w.href ? ((N = (T = p[F].href) == null ? void 0 : T.split("/").pop()) == null ? void 0 : N.split(".")[0]) || `banner_${F + 1}` : `banner_${F + 1}`;
3764
3767
  i({
3765
3768
  element: "banner_carousel",
3766
- label: `${s} - OraculoSeccionBanners - Banner view: Slide ${R + 1} - ${Z}`,
3767
- target: ((k = x == null ? void 0 : x[R]) == null ? void 0 : k.href) || "no_url",
3769
+ label: `${s} - OraculoSeccionBanners - Banner view: Slide ${F + 1} - ${l}`,
3770
+ target: (($ = p == null ? void 0 : p[F]) == null ? void 0 : $.href) || "no_url",
3768
3771
  event_type: "view",
3769
3772
  module_id: c,
3770
3773
  metadata: {
3771
3774
  location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
3772
- slide_index: R + 1,
3773
- total_slides: g,
3775
+ slide_index: F + 1,
3776
+ total_slides: S,
3774
3777
  interaction_type: "manual_slide"
3775
3778
  },
3776
- tags: { banner_position: String(R + 1) }
3779
+ tags: { banner_position: String(F + 1) }
3777
3780
  });
3778
3781
  };
3779
- return /* @__PURE__ */ y(
3782
+ return /* @__PURE__ */ _(
3780
3783
  ee,
3781
3784
  {
3782
3785
  component: "section",
3783
3786
  sx: {
3784
3787
  position: "relative",
3785
3788
  overflow: "visible",
3786
- pb: q ? { xs: "40px", sm: 0 } : 0
3789
+ pb: y ? { xs: "40px", sm: 0 } : 0
3787
3790
  },
3788
3791
  children: [
3789
- /* @__PURE__ */ y(
3792
+ /* @__PURE__ */ _(
3790
3793
  ee,
3791
3794
  {
3792
3795
  sx: {
@@ -3813,46 +3816,46 @@ function Xn({
3813
3816
  children: /* @__PURE__ */ t(
3814
3817
  he,
3815
3818
  {
3816
- ref: p,
3817
- items: x,
3819
+ ref: f,
3820
+ items: p,
3818
3821
  perPage: 1,
3819
3822
  gap: "0px",
3820
3823
  enableHorizontalWheel: !0,
3821
- options: z,
3822
- onMove: ({ index: w, source: R }) => {
3823
- const Z = (w % g + g) % g;
3824
- r(Z);
3825
- const l = u.current;
3826
- u.current = !1, R === "user" && (A(), l || G(w));
3824
+ options: D,
3825
+ onMove: ({ index: E, source: F }) => {
3826
+ const l = (E % S + S) % S;
3827
+ r(l);
3828
+ const w = u.current;
3829
+ u.current = !1, F === "user" && (U(), w || Z(E));
3827
3830
  },
3828
- renderItem: (w, R) => {
3829
- var k, M, F;
3830
- const Z = !!w.idFunction, l = !!w.href, I = l && !Z, T = Z || l;
3831
- return /* @__PURE__ */ y(
3831
+ renderItem: (E, F) => {
3832
+ var $, L, J;
3833
+ const l = !!E.idFunction, w = !!E.href, T = w && !l, N = l || w;
3834
+ return /* @__PURE__ */ _(
3832
3835
  ee,
3833
3836
  {
3834
- component: I ? "a" : "div",
3835
- href: I ? w.href : void 0,
3836
- target: I ? (k = w.target) != null ? k : "_self" : void 0,
3837
- rel: I && w.target === "_blank" ? "noopener noreferrer" : void 0,
3838
- onClick: (J) => D(J, w, R),
3837
+ component: T ? "a" : "div",
3838
+ href: T ? E.href : void 0,
3839
+ target: T ? ($ = E.target) != null ? $ : "_self" : void 0,
3840
+ rel: T && E.target === "_blank" ? "noopener noreferrer" : void 0,
3841
+ onClick: (te) => O(te, E, F),
3839
3842
  sx: {
3840
3843
  position: "relative",
3841
3844
  width: "100%",
3842
3845
  height: "100%",
3843
3846
  display: "block",
3844
3847
  textDecoration: "none",
3845
- cursor: T ? "pointer" : "default"
3848
+ cursor: N ? "pointer" : "default"
3846
3849
  },
3847
3850
  children: [
3848
- /* @__PURE__ */ y(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3849
- /* @__PURE__ */ t("source", { srcSet: w.desktopSrc, media: "(min-width:950px)" }),
3850
- /* @__PURE__ */ t("source", { srcSet: w.mobileSrc, media: "(max-width:949px)" }),
3851
+ /* @__PURE__ */ _(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
3852
+ /* @__PURE__ */ t("source", { srcSet: E.desktopSrc, media: "(min-width:950px)" }),
3853
+ /* @__PURE__ */ t("source", { srcSet: E.mobileSrc, media: "(max-width:949px)" }),
3851
3854
  /* @__PURE__ */ t(
3852
3855
  ee,
3853
3856
  {
3854
3857
  component: "img",
3855
- src: (F = (M = w.fallbackSrc) != null ? M : w.desktopSrc) != null ? F : "",
3858
+ src: (J = (L = E.fallbackSrc) != null ? L : E.desktopSrc) != null ? J : "",
3856
3859
  alt: "",
3857
3860
  "aria-hidden": !0,
3858
3861
  loading: "lazy",
@@ -3892,14 +3895,14 @@ function Xn({
3892
3895
  )
3893
3896
  }
3894
3897
  ),
3895
- $ && /* @__PURE__ */ y(pe, { children: [
3898
+ z && /* @__PURE__ */ _(pe, { children: [
3896
3899
  /* @__PURE__ */ t(
3897
3900
  Ke,
3898
3901
  {
3899
3902
  "aria-label": "Anterior",
3900
- onClick: U,
3903
+ onClick: W,
3901
3904
  sx: {
3902
- ...N,
3905
+ ...q,
3903
3906
  left: "120px",
3904
3907
  "@media (max-width:1024px)": { left: 24 },
3905
3908
  "@media (max-width:786px)": { display: "none" }
@@ -3911,9 +3914,9 @@ function Xn({
3911
3914
  Ke,
3912
3915
  {
3913
3916
  "aria-label": "Siguiente",
3914
- onClick: W,
3917
+ onClick: j,
3915
3918
  sx: {
3916
- ...N,
3919
+ ...q,
3917
3920
  right: "120px",
3918
3921
  "@media (max-width:1024px)": { right: 24 },
3919
3922
  "@media (max-width:786px)": { display: "none" }
@@ -3937,18 +3940,18 @@ function Xn({
3937
3940
  children: /* @__PURE__ */ t(
3938
3941
  dt,
3939
3942
  {
3940
- total: g,
3943
+ total: S,
3941
3944
  active: o,
3942
- durationMs: b
3945
+ durationMs: I
3943
3946
  },
3944
- `${o}-${g}`
3947
+ `${o}-${S}`
3945
3948
  )
3946
3949
  }
3947
3950
  )
3948
3951
  ]
3949
3952
  }
3950
3953
  ),
3951
- q && /* @__PURE__ */ t(
3954
+ y && /* @__PURE__ */ t(
3952
3955
  ee,
3953
3956
  {
3954
3957
  sx: {
@@ -3966,7 +3969,7 @@ function Xn({
3966
3969
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
3967
3970
  zIndex: 3
3968
3971
  },
3969
- children: S == null ? void 0 : S.map((w) => /* @__PURE__ */ y(
3972
+ children: C == null ? void 0 : C.map((E) => /* @__PURE__ */ _(
3970
3973
  ee,
3971
3974
  {
3972
3975
  sx: {
@@ -3978,7 +3981,7 @@ function Xn({
3978
3981
  gap: { xs: 0.5, md: 1 },
3979
3982
  color: "#FFFFFF",
3980
3983
  minWidth: 0,
3981
- cursor: w.onClick || w.href ? "pointer" : "default",
3984
+ cursor: E.onClick || E.href ? "pointer" : "default",
3982
3985
  whiteSpace: "nowrap",
3983
3986
  "&::after": {
3984
3987
  content: '""',
@@ -4002,7 +4005,7 @@ function Xn({
4002
4005
  opacity: 1,
4003
4006
  transform: "scaleX(1)"
4004
4007
  },
4005
- ...w.iconHover && {
4008
+ ...E.iconHover && {
4006
4009
  "&:hover .menu-icon-default": {
4007
4010
  display: "none"
4008
4011
  },
@@ -4011,9 +4014,9 @@ function Xn({
4011
4014
  }
4012
4015
  }
4013
4016
  },
4014
- onClick: () => O(w),
4017
+ onClick: () => v(E),
4015
4018
  children: [
4016
- w.icon && /* @__PURE__ */ y(
4019
+ E.icon && /* @__PURE__ */ _(
4017
4020
  ee,
4018
4021
  {
4019
4022
  sx: {
@@ -4027,8 +4030,8 @@ function Xn({
4027
4030
  ee,
4028
4031
  {
4029
4032
  component: "img",
4030
- src: w.icon,
4031
- alt: w.label || `icon-${w.id}`,
4033
+ src: E.icon,
4034
+ alt: E.label || `icon-${E.id}`,
4032
4035
  className: "menu-icon-default",
4033
4036
  sx: {
4034
4037
  display: "block",
@@ -4040,12 +4043,12 @@ function Xn({
4040
4043
  }
4041
4044
  }
4042
4045
  ),
4043
- w.iconHover && /* @__PURE__ */ t(
4046
+ E.iconHover && /* @__PURE__ */ t(
4044
4047
  ee,
4045
4048
  {
4046
4049
  component: "img",
4047
- src: w.iconHover,
4048
- alt: w.label || `icon-hover-${w.id}`,
4050
+ src: E.iconHover,
4051
+ alt: E.label || `icon-hover-${E.id}`,
4049
4052
  className: "menu-icon-hover",
4050
4053
  sx: {
4051
4054
  display: "none",
@@ -4070,12 +4073,12 @@ function Xn({
4070
4073
  color: "#E0E0E0",
4071
4074
  textAlign: "center"
4072
4075
  },
4073
- children: w.label
4076
+ children: E.label
4074
4077
  }
4075
4078
  )
4076
4079
  ]
4077
4080
  },
4078
- w.id
4081
+ E.id
4079
4082
  ))
4080
4083
  }
4081
4084
  )
@@ -4089,7 +4092,7 @@ const Yn = [
4089
4092
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
4090
4093
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/pagoEfectivo.png", alt: "PagoEfectivo" },
4091
4094
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/tupay.svg", alt: "Tupay" },
4092
- { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/monnet.svg", alt: "Monnet" },
4095
+ // { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/monnet.svg", alt: "Monnet" },
4093
4096
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
4094
4097
  { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
4095
4098
  ];
@@ -4098,7 +4101,7 @@ function Qn({
4098
4101
  items: a = Yn
4099
4102
  }) {
4100
4103
  const n = Math.ceil(a.length / 2), o = a.slice(0, n), r = a.slice(n);
4101
- return /* @__PURE__ */ y(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4104
+ return /* @__PURE__ */ _(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
4102
4105
  /* @__PURE__ */ t(
4103
4106
  st,
4104
4107
  {
@@ -4127,9 +4130,9 @@ function Qn({
4127
4130
  }
4128
4131
  }
4129
4132
  ),
4130
- /* @__PURE__ */ y(Oe, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4133
+ /* @__PURE__ */ _(Ee, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
4131
4134
  /* @__PURE__ */ t(
4132
- Oe,
4135
+ Ee,
4133
4136
  {
4134
4137
  direction: "row",
4135
4138
  justifyContent: "center",
@@ -4140,7 +4143,7 @@ function Qn({
4140
4143
  }
4141
4144
  ),
4142
4145
  /* @__PURE__ */ t(
4143
- Oe,
4146
+ Ee,
4144
4147
  {
4145
4148
  direction: "row",
4146
4149
  justifyContent: "center",
@@ -4169,12 +4172,12 @@ function It({
4169
4172
  }),
4170
4173
  [a]
4171
4174
  );
4172
- return /* @__PURE__ */ y(Ft, { theme: n, children: [
4175
+ return /* @__PURE__ */ _(Ft, { theme: n, children: [
4173
4176
  /* @__PURE__ */ t(qt, {}),
4174
4177
  e
4175
4178
  ] });
4176
4179
  }
4177
- function So({
4180
+ function wo({
4178
4181
  docId: e = "Landing: home",
4179
4182
  moduleId: a = 301,
4180
4183
  children: n
@@ -5563,7 +5566,7 @@ const eo = {
5563
5566
  }
5564
5567
  ]
5565
5568
  }, to = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
5566
- function Ee(e) {
5569
+ function Oe(e) {
5567
5570
  return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
5568
5571
  var o, r;
5569
5572
  return ((o = a.order) != null ? o : 0) - ((r = n.order) != null ? r : 0);
@@ -5637,45 +5640,45 @@ const rt = [
5637
5640
  loader: i,
5638
5641
  disableWrapper: s = !1
5639
5642
  }) => {
5640
- const c = re(() => oo(r), [r]), p = i || c.loader, [h, u] = X([]), [m, d] = X(!1), [f, v] = X({}), [S, x] = X({}), [g, C] = X({}), $ = De("(min-width:1024px)"), q = re(
5641
- () => Ee(Pe),
5643
+ const c = re(() => oo(r), [r]), f = i || c.loader, [h, u] = X([]), [m, d] = X(!1), [g, b] = X({}), [x, C] = X({}), [p, S] = X({}), M = De("(min-width:1024px)"), z = re(
5644
+ () => Oe(Pe),
5642
5645
  []
5643
- ), _ = (l) => q.find(
5644
- (I) => I.id === l.id || I.componentKey === l.componentKey
5645
- ), N = (l) => Array.isArray(l) ? l.map((I) => Number(I)).filter((I) => !Number.isNaN(I)) : [], z = re(() => {
5646
+ ), y = (l) => z.find(
5647
+ (w) => w.id === l.id || w.componentKey === l.componentKey
5648
+ ), k = (l) => Array.isArray(l) ? l.map((w) => Number(w)).filter((w) => !Number.isNaN(w)) : [], q = re(() => {
5646
5649
  const l = c.user;
5647
- return N(l == null ? void 0 : l.groups);
5650
+ return k(l == null ? void 0 : l.groups);
5648
5651
  }, [c]), D = (l) => {
5649
- const I = l.manualScalarFields;
5650
- if (!Array.isArray(I)) return [];
5651
- const T = I.find(
5652
- (F) => String((F == null ? void 0 : F.name) || "").trim().toLowerCase() === "groups"
5652
+ const w = l.manualScalarFields;
5653
+ if (!Array.isArray(w)) return [];
5654
+ const T = w.find(
5655
+ (L) => String((L == null ? void 0 : L.name) || "").trim().toLowerCase() === "groups"
5653
5656
  );
5654
5657
  if (!T) return [];
5655
- const k = T.value;
5656
- if (k == null) return [];
5657
- if (Array.isArray(k))
5658
- return k.map((F) => Number(String(F).trim())).filter((F) => !Number.isNaN(F));
5659
- const M = String(k).trim();
5660
- return M ? M.split(",").map((F) => Number(F.trim())).filter((F) => !Number.isNaN(F)) : [];
5661
- }, O = (l, I) => {
5658
+ const N = T.value;
5659
+ if (N == null) return [];
5660
+ if (Array.isArray(N))
5661
+ return N.map((L) => Number(String(L).trim())).filter((L) => !Number.isNaN(L));
5662
+ const $ = String(N).trim();
5663
+ return $ ? $.split(",").map((L) => Number(L.trim())).filter((L) => !Number.isNaN(L)) : [];
5664
+ }, O = (l, w) => {
5662
5665
  const T = D(l);
5663
5666
  if (T.length === 0) return !0;
5664
- if (!Array.isArray(I) || I.length === 0) return !1;
5665
- const k = new Set(I);
5666
- return T.some((M) => k.has(M));
5667
+ if (!Array.isArray(w) || w.length === 0) return !1;
5668
+ const N = new Set(w);
5669
+ return T.some(($) => N.has($));
5667
5670
  };
5668
5671
  Q(() => {
5669
5672
  if (e) return;
5670
5673
  if (!o) {
5671
- console.warn("[landing] sin db -> fallback json"), u(Ee(Pe));
5674
+ console.warn("[landing] sin db -> fallback json"), u(Oe(Pe));
5672
5675
  return;
5673
5676
  }
5674
- const l = (T, k) => {
5675
- console.warn("[landing] FALLBACK:", T, k != null ? k : ""), u(Ee(Pe)), d(!1);
5677
+ const l = (T, N) => {
5678
+ console.warn("[landing] FALLBACK:", T, N != null ? N : ""), u(Oe(Pe)), d(!1);
5676
5679
  };
5677
5680
  d(!0);
5678
- const I = zt(
5681
+ const w = zt(
5679
5682
  Pt(o, "landings", a),
5680
5683
  (T) => {
5681
5684
  try {
@@ -5683,14 +5686,14 @@ const rt = [
5683
5686
  l(`doc landings/${a} no existe`);
5684
5687
  return;
5685
5688
  }
5686
- const k = T.data(), M = Ee(k);
5687
- if (!M.length) {
5688
- l("JSON inválido o sin secciones normalizables", k);
5689
+ const N = T.data(), $ = Oe(N);
5690
+ if (!$.length) {
5691
+ l("JSON inválido o sin secciones normalizables", N);
5689
5692
  return;
5690
5693
  }
5691
- console.log("[landing] Firestore OK (json grande):", k), u(M);
5692
- } catch (k) {
5693
- l("error procesando snapshot", k);
5694
+ console.log("[landing] Firestore OK (json grande):", N), u($);
5695
+ } catch (N) {
5696
+ l("error procesando snapshot", N);
5694
5697
  } finally {
5695
5698
  d(!1);
5696
5699
  }
@@ -5699,196 +5702,196 @@ const rt = [
5699
5702
  l("error onSnapshot", T);
5700
5703
  }
5701
5704
  );
5702
- return () => I();
5705
+ return () => w();
5703
5706
  }, [e, a, o]), Q(() => (Xa(c), () => Ya()), [c]), Q(() => {
5704
5707
  (e ? e.slice() : h.slice()).map((T) => T.componentKey).filter((T) => !!T).length;
5705
5708
  }, [e, h]);
5706
- const b = async (l) => {
5709
+ const v = async (l) => {
5707
5710
  if (rt.includes(l.componentKey))
5708
5711
  return {
5709
5712
  items: [],
5710
5713
  events: [],
5711
5714
  data: {}
5712
5715
  };
5713
- const I = (l.apiUrl || "").trim();
5714
- if (!I) return;
5715
- const T = l.apiMethod || "GET", k = l.apiParams || [];
5716
- let M = I, F, J;
5716
+ const w = (l.apiUrl || "").trim();
5717
+ if (!w) return;
5718
+ const T = l.apiMethod || "GET", N = l.apiParams || [];
5719
+ let $ = w, L, J;
5717
5720
  if (T === "GET") {
5718
- const ie = new URL(
5719
- I,
5721
+ const se = new URL(
5722
+ w,
5720
5723
  typeof window == "undefined" ? "http://localhost" : window.location.origin
5721
5724
  );
5722
- for (const oe of k)
5723
- oe.key && ie.searchParams.append(oe.key, oe.value);
5724
- M = ie.toString();
5725
+ for (const oe of N)
5726
+ oe.key && se.searchParams.append(oe.key, oe.value);
5727
+ $ = se.toString();
5725
5728
  } else {
5726
- const ie = new URLSearchParams();
5727
- for (const oe of k)
5728
- oe.key && ie.append(oe.key, oe.value);
5729
- F = ie.toString(), J = {
5729
+ const se = new URLSearchParams();
5730
+ for (const oe of N)
5731
+ oe.key && se.append(oe.key, oe.value);
5732
+ L = se.toString(), J = {
5730
5733
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
5731
5734
  };
5732
5735
  }
5733
- const te = await fetch(M, {
5736
+ const te = await fetch($, {
5734
5737
  method: T,
5735
5738
  headers: J,
5736
- body: F
5739
+ body: L
5737
5740
  });
5738
- if (!te.ok) throw new ot(te.status, M, te.statusText);
5741
+ if (!te.ok) throw new ot(te.status, $, te.statusText);
5739
5742
  return te.json();
5740
- }, E = re(
5743
+ }, I = re(
5741
5744
  () => e ? e.slice() : h.slice(),
5742
5745
  [e, h]
5743
- ), L = fe.useRef(/* @__PURE__ */ new Set());
5746
+ ), R = fe.useRef(/* @__PURE__ */ new Set());
5744
5747
  Q(() => {
5745
- const l = E.map((I) => ({ s: I, url: (I.apiUrl || "").trim() })).filter(({ url: I }) => !!I);
5748
+ const l = I.map((w) => ({ s: w, url: (w.apiUrl || "").trim() })).filter(({ url: w }) => !!w);
5746
5749
  if (l.length)
5747
- for (const { s: I, url: T } of l) {
5748
- const k = `${I.id}|${T}`;
5749
- L.current.has(k) || (L.current.add(k), x((M) => ({ ...M, [I.id]: !0 })), C((M) => ({ ...M, [I.id]: "" })), (async () => {
5750
+ for (const { s: w, url: T } of l) {
5751
+ const N = `${w.id}|${T}`;
5752
+ R.current.has(N) || (R.current.add(N), C(($) => ({ ...$, [w.id]: !0 })), S(($) => ({ ...$, [w.id]: "" })), (async () => {
5750
5753
  try {
5751
- const M = await b(I);
5752
- v((F) => ({ ...F, [I.id]: M }));
5753
- } catch (M) {
5754
- let F = "Error desconocido";
5755
- M instanceof ot ? F = `Error HTTP ${M.status} (${M.statusText}) en ${M.url}` : M instanceof SyntaxError ? F = "Respuesta no es JSON válido" : M instanceof TypeError ? F = "Fallo de red / CORS / conexión" : typeof M == "string" && (F = M.toString()), C((J) => ({ ...J, [I.id]: F }));
5754
+ const $ = await v(w);
5755
+ b((L) => ({ ...L, [w.id]: $ }));
5756
+ } catch ($) {
5757
+ let L = "Error desconocido";
5758
+ $ instanceof ot ? L = `Error HTTP ${$.status} (${$.statusText}) en ${$.url}` : $ instanceof SyntaxError ? L = "Respuesta no es JSON válido" : $ instanceof TypeError ? L = "Fallo de red / CORS / conexión" : typeof $ == "string" && (L = $.toString()), S((J) => ({ ...J, [w.id]: L }));
5756
5759
  } finally {
5757
- x((M) => ({ ...M, [I.id]: !1 }));
5760
+ C(($) => ({ ...$, [w.id]: !1 }));
5758
5761
  }
5759
5762
  })());
5760
5763
  }
5761
- }, [E]);
5764
+ }, [I]);
5762
5765
  const B = re(
5763
- () => E.filter((l) => l.visible).filter((l) => O(l, z)).sort((l, I) => l.order - I.order),
5764
- [E, z]
5765
- ), A = (l) => Array.isArray(l) ? l.map((I) => {
5766
+ () => I.filter((l) => l.visible).filter((l) => O(l, q)).sort((l, w) => l.order - w.order),
5767
+ [I, q]
5768
+ ), A = (l) => Array.isArray(l) ? l.map((w) => {
5766
5769
  const T = {};
5767
- for (const k of I.fields || []) {
5768
- const M = (k.type || "string").toLowerCase();
5769
- if (M === "number") {
5770
- const F = String(k.value || "").trim();
5771
- if (F !== "") {
5772
- const J = Number(F);
5773
- Number.isNaN(J) || (T[k.name] = J);
5770
+ for (const N of w.fields || []) {
5771
+ const $ = (N.type || "string").toLowerCase();
5772
+ if ($ === "number") {
5773
+ const L = String(N.value || "").trim();
5774
+ if (L !== "") {
5775
+ const J = Number(L);
5776
+ Number.isNaN(J) || (T[N.name] = J);
5774
5777
  }
5775
- } else if (M === "boolean")
5776
- T[k.name] = String(k.value).toLowerCase() === "true";
5777
- else if (M === "function") {
5778
- const F = String(k.value || "").trim();
5779
- if (F)
5778
+ } else if ($ === "boolean")
5779
+ T[N.name] = String(N.value).toLowerCase() === "true";
5780
+ else if ($ === "function") {
5781
+ const L = String(N.value || "").trim();
5782
+ if (L)
5780
5783
  try {
5781
- const J = new Function(F);
5782
- T[k.name] = J;
5784
+ const J = new Function(L);
5785
+ T[N.name] = J;
5783
5786
  } catch (J) {
5784
- console.error(`❌ Error creando función en item '${k.name}':`, J);
5787
+ console.error(`❌ Error creando función en item '${N.name}':`, J);
5785
5788
  }
5786
5789
  } else
5787
- T[k.name] = k.value;
5790
+ T[N.name] = N.value;
5788
5791
  }
5789
5792
  return T;
5790
5793
  }) : [], U = (l) => {
5791
- const I = {};
5792
- if (!Array.isArray(l)) return I;
5794
+ const w = {};
5795
+ if (!Array.isArray(l)) return w;
5793
5796
  for (const T of l) {
5794
5797
  if (!T.name) continue;
5795
- const k = (T.type || "string").toLowerCase();
5796
- if (k === "number") {
5797
- const M = String(T.value || "").trim();
5798
- if (M !== "") {
5799
- const F = Number(M);
5800
- Number.isNaN(F) || (I[T.name] = F);
5798
+ const N = (T.type || "string").toLowerCase();
5799
+ if (N === "number") {
5800
+ const $ = String(T.value || "").trim();
5801
+ if ($ !== "") {
5802
+ const L = Number($);
5803
+ Number.isNaN(L) || (w[T.name] = L);
5801
5804
  }
5802
- } else if (k === "boolean")
5803
- I[T.name] = String(T.value).toLowerCase() === "true";
5804
- else if (k === "function") {
5805
- const M = String(T.value || "").trim();
5806
- if (M)
5805
+ } else if (N === "boolean")
5806
+ w[T.name] = String(T.value).toLowerCase() === "true";
5807
+ else if (N === "function") {
5808
+ const $ = String(T.value || "").trim();
5809
+ if ($)
5807
5810
  try {
5808
- const F = new Function(M);
5809
- I[T.name] = F;
5810
- } catch (F) {
5811
- console.error(`❌ Error creando función en item '${T.name}':`, F);
5811
+ const L = new Function($);
5812
+ w[T.name] = L;
5813
+ } catch (L) {
5814
+ console.error(`❌ Error creando función en item '${T.name}':`, L);
5812
5815
  }
5813
5816
  } else
5814
- I[T.name] = T.value;
5817
+ w[T.name] = T.value;
5815
5818
  }
5816
- return I;
5817
- }, W = (l, I, T, k) => {
5818
- const M = T ? { ...T } : {}, F = (k || "items").trim() || "items";
5819
- if (I)
5820
- return M[F] = I.arr || [], M;
5819
+ return w;
5820
+ }, W = (l, w, T, N) => {
5821
+ const $ = T ? { ...T } : {}, L = (N || "items").trim() || "items";
5822
+ if (w)
5823
+ return $[L] = w.arr || [], $;
5821
5824
  const J = l;
5822
5825
  if (Array.isArray(J))
5823
- return M[F] = J, M;
5826
+ return $[L] = J, $;
5824
5827
  if (J && typeof J == "object") {
5825
5828
  const te = J;
5826
- return Array.isArray(te.lobby) ? (M[F] = te.lobby, M) : Array.isArray(te.items) ? (M[F] = te.items, M) : (M[F] = J, M);
5829
+ return Array.isArray(te.lobby) ? ($[L] = te.lobby, $) : Array.isArray(te.items) ? ($[L] = te.items, $) : ($[L] = J, $);
5827
5830
  }
5828
- return M[F] = [], M;
5829
- }, G = (l) => {
5830
- var F;
5831
- const I = !!((F = l.apiUrl) != null && F.trim()), T = I ? f[l.id] : void 0;
5832
- let k = l.props ? { ...l.props } : {};
5833
- const M = U(l.manualScalarFields);
5831
+ return $[L] = [], $;
5832
+ }, j = (l) => {
5833
+ var L;
5834
+ const w = !!((L = l.apiUrl) != null && L.trim()), T = w ? g[l.id] : void 0;
5835
+ let N = l.props ? { ...l.props } : {};
5836
+ const $ = U(l.manualScalarFields);
5834
5837
  if (rt.includes(l.componentKey))
5835
- return { items: T, ...k, ...M };
5836
- if (k = { ...k, ...M }, I)
5837
- k = W(T, null, k);
5838
+ return { items: T, ...N, ...$ };
5839
+ if (N = { ...N, ...$ }, w)
5840
+ N = W(T, null, N);
5838
5841
  else if (l.dataMode === "manual") {
5839
5842
  const J = A(l.manualItems);
5840
- if (k = W(
5843
+ if (N = W(
5841
5844
  null,
5842
5845
  { arr: J, variableName: l.variableName },
5843
- k,
5846
+ N,
5844
5847
  l.variableName
5845
5848
  ), l.variableName2 && l.manualItems2) {
5846
- const te = A(l.manualItems2), ie = (l.variableName2 || "items2").trim() || "items2";
5847
- k[ie] = te;
5849
+ const te = A(l.manualItems2), se = (l.variableName2 || "items2").trim() || "items2";
5850
+ N[se] = te;
5848
5851
  }
5849
5852
  }
5850
- return k;
5851
- }, K = (l) => {
5852
- const I = l.props ? { ...l.props } : {};
5853
+ return N;
5854
+ }, Z = (l) => {
5855
+ const w = l.props ? { ...l.props } : {};
5853
5856
  try {
5854
- Object.assign(I, U(l.manualScalarFields));
5855
- } catch (k) {
5856
- console.error("❌ Error armando scalars vacíos:", l, k);
5857
+ Object.assign(w, U(l.manualScalarFields));
5858
+ } catch (N) {
5859
+ console.error("❌ Error armando scalars vacíos:", l, N);
5857
5860
  }
5858
5861
  const T = (l.variableName || "items").trim() || "items";
5859
- if (typeof I[T] == "undefined" && (I[T] = []), l.variableName2) {
5860
- const k = (l.variableName2 || "items2").trim() || "items2";
5861
- typeof I[k] == "undefined" && (I[k] = []);
5862
+ if (typeof w[T] == "undefined" && (w[T] = []), l.variableName2) {
5863
+ const N = (l.variableName2 || "items2").trim() || "items2";
5864
+ typeof w[N] == "undefined" && (w[N] = []);
5862
5865
  }
5863
- return I;
5864
- }, w = (l) => {
5866
+ return w;
5867
+ }, G = (l) => {
5865
5868
  try {
5866
- return G(l);
5867
- } catch (I) {
5868
- console.error("🔥 ERROR EN buildCompProps:", l, I);
5869
- const T = _(l);
5869
+ return j(l);
5870
+ } catch (w) {
5871
+ console.error("🔥 ERROR EN buildCompProps:", l, w);
5872
+ const T = y(l);
5870
5873
  if (T && T !== l)
5871
5874
  try {
5872
5875
  return console.warn(
5873
5876
  `[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
5874
- ), G(T);
5875
- } catch (k) {
5876
- console.error("🔥 ERROR EN fallback buildCompProps:", T, k);
5877
+ ), j(T);
5878
+ } catch (N) {
5879
+ console.error("🔥 ERROR EN fallback buildCompProps:", T, N);
5877
5880
  }
5878
- return K(l);
5881
+ return Z(l);
5879
5882
  }
5880
- }, R = (l, I, T) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5883
+ }, E = (l, w, T) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
5881
5884
  loading: "bg-blue-100 text-blue-800",
5882
5885
  error: "bg-red-100 text-red-800",
5883
5886
  component: "bg-yellow-100 text-yellow-800"
5884
- }[I]}`, children: T }, l), Z = (l) => {
5887
+ }[w]}`, children: T }, l), F = (l) => {
5885
5888
  var He;
5886
- const I = l.componentKey, T = no[I], M = (/* @__PURE__ */ new Set([
5889
+ const w = l.componentKey, T = no[w], $ = (/* @__PURE__ */ new Set([
5887
5890
  "OraculoSeccionBanners",
5888
5891
  "OraculoSeccionBonoBienvenida",
5889
5892
  "OraculoSeccionCasinoEnVivo",
5890
5893
  "OraculoSeccionClubOlimpo",
5891
- ...$ ? [] : [
5894
+ ...M ? [] : [
5892
5895
  "OraculoSeccionEventoEnVivo",
5893
5896
  "OraculoSeccionEventoSemana",
5894
5897
  "OraculoSeccionEventoCombinadas",
@@ -5896,64 +5899,64 @@ const rt = [
5896
5899
  "OraculoSeccionDestacados",
5897
5900
  "OraculoSeccionCasino"
5898
5901
  ]
5899
- ])).has(l.componentKey), F = $ ? 120 : 24, J = ($ ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", ie = {
5902
+ ])).has(l.componentKey), L = M ? 120 : 24, J = (M ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", se = {
5900
5903
  width: "100%",
5901
5904
  boxSizing: "border-box",
5902
- ...M ? {} : { paddingLeft: F, paddingRight: F },
5905
+ ...$ ? {} : { paddingLeft: L, paddingRight: L },
5903
5906
  ...te ? {
5904
5907
  marginTop: -J,
5905
5908
  marginBottom: -J
5906
5909
  } : {}
5907
5910
  };
5908
5911
  if (!T)
5909
- return console.warn(`No hay componente registrado para "${I}"`), R(
5912
+ return console.warn(`No hay componente registrado para "${w}"`), E(
5910
5913
  l.id,
5911
5914
  "component",
5912
- `Componente "${I}" no encontrado`
5915
+ `Componente "${w}" no encontrado`
5913
5916
  );
5914
- const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0, Et = oe ? !!S[l.id] : !1, Ge = oe ? g[l.id] : "";
5917
+ const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? g[l.id] : void 0, Ot = oe ? !!x[l.id] : !1, Ge = oe ? p[l.id] : "";
5915
5918
  if (oe) {
5916
- if (Et && !We)
5917
- return R(
5919
+ if (Ot && !We)
5920
+ return E(
5918
5921
  l.id,
5919
5922
  "loading",
5920
5923
  `Cargando datos desde ${l.apiUrl}...`
5921
5924
  );
5922
5925
  if (Ge && !We) {
5923
- const we = _(l);
5924
- if (we && we.dataMode === "manual")
5926
+ const Se = y(l);
5927
+ if (Se && Se.dataMode === "manual")
5925
5928
  try {
5926
- const Le = w(we);
5927
- return /* @__PURE__ */ t("div", { style: ie, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(T, { ...Le }) }, l.id);
5929
+ const Le = G(Se);
5930
+ return /* @__PURE__ */ t("div", { style: se, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(T, { ...Le }) }, l.id);
5928
5931
  } catch (Le) {
5929
5932
  console.error(
5930
5933
  "🔥 ERROR renderizando fallback manual de sección:",
5931
- we,
5934
+ Se,
5932
5935
  Le
5933
5936
  );
5934
5937
  }
5935
- return R(
5938
+ return E(
5936
5939
  l.id,
5937
5940
  "error",
5938
5941
  `Error cargando ${l.apiUrl}: ${Ge}`
5939
5942
  );
5940
5943
  }
5941
5944
  }
5942
- const je = w(l), Ot = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5945
+ const je = G(l), Et = l.componentKey === "OraculoSeccionClubOlimpo" ? {
5943
5946
  ...je,
5944
5947
  user: c.user
5945
5948
  } : je;
5946
5949
  return /* @__PURE__ */ t(ro, { section: l, children: /* @__PURE__ */ t(
5947
5950
  "div",
5948
5951
  {
5949
- style: ie,
5952
+ style: se,
5950
5953
  className: "oraculo-section-wrapper",
5951
- children: /* @__PURE__ */ t(T, { ...Ot })
5954
+ children: /* @__PURE__ */ t(T, { ...Et })
5952
5955
  },
5953
5956
  l.id
5954
5957
  ) });
5955
5958
  };
5956
- return m && !e ? p ? /* @__PURE__ */ t(p, {}) : /* @__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(
5959
+ 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(
5957
5960
  Ct,
5958
5961
  {
5959
5962
  className: "oli-font",
@@ -5967,11 +5970,11 @@ const rt = [
5967
5970
  maxWidth: "100%",
5968
5971
  overflowX: "hidden"
5969
5972
  },
5970
- children: /* @__PURE__ */ t(Oe, { direction: "column", spacing: $ ? 8 : 5, useFlexGap: !0, children: B.map((l) => {
5973
+ children: /* @__PURE__ */ t(Ee, { direction: "column", spacing: M ? 8 : 5, useFlexGap: !0, children: B.map((l) => {
5971
5974
  try {
5972
- return Z(l);
5973
- } catch (I) {
5974
- return console.error("🔥 ERROR EN SECTION:", l, I), null;
5975
+ return F(l);
5976
+ } catch (w) {
5977
+ return console.error("🔥 ERROR EN SECTION:", l, w), null;
5975
5978
  }
5976
5979
  }) })
5977
5980
  }
@@ -5982,7 +5985,7 @@ export {
5982
5985
  Y as OraculoButton,
5983
5986
  he as OraculoCarousel,
5984
5987
  dt as OraculoCarouselDots,
5985
- Sa as OraculoClubOlimpoVisual,
5988
+ wa as OraculoClubOlimpoVisual,
5986
5989
  La as OraculoEventCombinadasCard,
5987
5990
  Da as OraculoEventEnVivoCard,
5988
5991
  Ht as OraculoEventHeader,
@@ -5997,7 +6000,7 @@ export {
5997
6000
  xa as OraculoGameRankCard,
5998
6001
  ft as OraculoGameSlide,
5999
6002
  me as OraculoGridGroup,
6000
- wa as OraculoLiveCasinoCard,
6003
+ Sa as OraculoLiveCasinoCard,
6001
6004
  Ze as OraculoLogoMediosPago,
6002
6005
  Io as OraculoPageLandingPreview,
6003
6006
  Xn as OraculoSeccionBanners,
@@ -6012,7 +6015,7 @@ export {
6012
6015
  Qn as OraculoSeccionMediosPago,
6013
6016
  Qa as OraculoSeccionTopJuegos,
6014
6017
  vn as OraculoSeccionVirtuales,
6015
- So as OraculoSectionHost,
6018
+ wo as OraculoSectionHost,
6016
6019
  ge as OraculoSectionTitle,
6017
6020
  It as OraculoThemeProvider,
6018
6021
  Qa as OraculoTopJuegoItem,