oraculo-ui 0.1.77 → 0.1.78

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,7 +1,7 @@
1
- import { jsx as e, jsxs as m, Fragment as oe } from "react/jsx-runtime";
2
- import { Link as Re, Box as V, Typography as Le, Stack as de, useMediaQuery as qe, Container as Xe } from "@mui/material";
1
+ import { jsx as e, jsxs as h, Fragment as oe } from "react/jsx-runtime";
2
+ import { Link as Me, Box as V, Typography as Le, Stack as de, useMediaQuery as Xe, Container as Ye } from "@mui/material";
3
3
  import A from "@mui/material/Skeleton";
4
- import Ye, { useRef as H, useEffect as K, forwardRef as Ze, useImperativeHandle as Qe, useCallback as we, useState as D, useMemo as ce, useLayoutEffect as et } from "react";
4
+ import We, { useRef as H, useEffect as q, forwardRef as Ze, useImperativeHandle as Qe, useCallback as ue, useState as D, useMemo as ce, useLayoutEffect as et } from "react";
5
5
  import { Splide as tt, SplideSlide as nt } from "@splidejs/react-splide";
6
6
  import T from "@mui/material/Box";
7
7
  import X from "@mui/material/Typography";
@@ -21,49 +21,49 @@ function G({
21
21
  disabled: s = !1,
22
22
  variant: l = "primary",
23
23
  size: c,
24
- fullWidth: h = !1,
25
- fullHeight: f = !1,
26
- className: _ = "",
24
+ fullWidth: f = !1,
25
+ fullHeight: x = !1,
26
+ className: v = "",
27
27
  ariaLabel: d,
28
- leftIcon: E,
28
+ leftIcon: C,
29
29
  rightIcon: y,
30
- iconOnly: k
30
+ iconOnly: O
31
31
  }) {
32
- const C = !!t && t !== !0, v = (!!E ? 1 : 0) + (!!y ? 1 : 0) == 1, w = k != null ? k : v && !C, M = [
32
+ const w = !!t && t !== !0, S = (!!C ? 1 : 0) + (!!y ? 1 : 0) == 1, m = O != null ? O : S && !w, E = [
33
33
  "orc-btn",
34
34
  l === "secondary" ? "orc-btn--secondary" : l === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
35
35
  c ? `orc-btn--${c}` : "",
36
- h ? "orc-btn--full" : "",
37
- f ? "orc-btn--fullHeight" : "",
38
- w ? "orc-btn--iconOnly" : "",
39
- _
40
- ].filter(Boolean).join(" "), N = /* @__PURE__ */ m(oe, { children: [
41
- E && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: E }),
42
- !w && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
36
+ f ? "orc-btn--full" : "",
37
+ x ? "orc-btn--fullHeight" : "",
38
+ m ? "orc-btn--iconOnly" : "",
39
+ v
40
+ ].filter(Boolean).join(" "), k = /* @__PURE__ */ h(oe, { children: [
41
+ C && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: C }),
42
+ !m && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
43
43
  y && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: y })
44
- ] }), O = s ? !0 : void 0;
44
+ ] }), I = s ? !0 : void 0;
45
45
  return o ? /* @__PURE__ */ e(
46
- Re,
46
+ Me,
47
47
  {
48
48
  href: o,
49
49
  target: a,
50
50
  rel: i,
51
51
  "aria-label": d,
52
- "aria-disabled": O,
53
- tabIndex: O ? -1 : void 0,
54
- className: M,
55
- onClick: O ? ($) => $.preventDefault() : n,
56
- children: N
52
+ "aria-disabled": I,
53
+ tabIndex: I ? -1 : void 0,
54
+ className: E,
55
+ onClick: I ? (N) => N.preventDefault() : n,
56
+ children: k
57
57
  }
58
58
  ) : /* @__PURE__ */ e(
59
59
  "button",
60
60
  {
61
61
  type: r,
62
62
  onClick: n,
63
- disabled: !!O,
63
+ disabled: !!I,
64
64
  "aria-label": d,
65
- className: M,
66
- children: N
65
+ className: E,
66
+ children: k
67
67
  }
68
68
  );
69
69
  }
@@ -78,7 +78,7 @@ function ee({
78
78
  o ? `orc-section-title--${o}` : "",
79
79
  a
80
80
  ].filter(Boolean).join(" ");
81
- return /* @__PURE__ */ m("div", { className: r, children: [
81
+ return /* @__PURE__ */ h("div", { className: r, children: [
82
82
  n && /* @__PURE__ */ e(
83
83
  "img",
84
84
  {
@@ -90,7 +90,7 @@ function ee({
90
90
  /* @__PURE__ */ e("h2", { className: "orc-section-title__title", children: t })
91
91
  ] });
92
92
  }
93
- const We = ({
93
+ const Ae = ({
94
94
  total: t,
95
95
  active: n,
96
96
  onSelect: o,
@@ -163,16 +163,16 @@ function Ce({ src: t, alt: n }) {
163
163
  }
164
164
  );
165
165
  }
166
- const it = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", st = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", ct = "oraculo__OraculoEventTitle-module__subtitle___TmHna", xe = {
166
+ const it = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", st = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", ct = "oraculo__OraculoEventTitle-module__subtitle___TmHna", be = {
167
167
  contenedor: it,
168
168
  flexGroup: st,
169
169
  subtitle: ct
170
170
  };
171
171
  function lt({ title: t, subtitle: n }) {
172
- return /* @__PURE__ */ m(
172
+ return /* @__PURE__ */ h(
173
173
  "div",
174
174
  {
175
- className: xe.contenedor,
175
+ className: be.contenedor,
176
176
  children: [
177
177
  /* @__PURE__ */ e(
178
178
  "span",
@@ -185,17 +185,17 @@ function lt({ title: t, subtitle: n }) {
185
185
  children: t
186
186
  }
187
187
  ),
188
- n && /* @__PURE__ */ m(
188
+ n && /* @__PURE__ */ h(
189
189
  "div",
190
190
  {
191
- className: xe.flexGroup,
191
+ className: be.flexGroup,
192
192
  children: [
193
- /* @__PURE__ */ m("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
193
+ /* @__PURE__ */ h("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
194
194
  " ",
195
195
  /* @__PURE__ */ e("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
196
196
  " "
197
197
  ] }),
198
- /* @__PURE__ */ e("span", { className: xe.subtitle, children: n }),
198
+ /* @__PURE__ */ e("span", { className: be.subtitle, children: n }),
199
199
  /* @__PURE__ */ e("div", {})
200
200
  ]
201
201
  }
@@ -226,13 +226,13 @@ function dt({ text: t, color: n = "#ff3b3b", textColor: o = "#fff" }) {
226
226
  );
227
227
  }
228
228
  function ut({ live: t, time: n }) {
229
- return /* @__PURE__ */ m("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
229
+ return /* @__PURE__ */ h("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
230
230
  t && /* @__PURE__ */ e(dt, { text: "En vivo" }),
231
231
  n && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: n })
232
232
  ] });
233
233
  }
234
234
  function pt({ title: t, subtitle: n, live: o = !1, time: a = "" }) {
235
- return /* @__PURE__ */ m(
235
+ return /* @__PURE__ */ h(
236
236
  "div",
237
237
  {
238
238
  style: {
@@ -251,13 +251,13 @@ function pt({ title: t, subtitle: n, live: o = !1, time: a = "" }) {
251
251
  const mt = "oraculo__OraculoEventLabel-module__label___c64Xw", ht = {
252
252
  label: mt
253
253
  };
254
- function Ae({ text: t }) {
254
+ function ze({ text: t }) {
255
255
  return /* @__PURE__ */ e("span", { className: ht.label, children: t });
256
256
  }
257
257
  const ft = "oraculo__OraculoEventLeague-module__container___rdk4F", gt = {
258
258
  container: ft
259
259
  };
260
- function ze({ title: t }) {
260
+ function je({ title: t }) {
261
261
  return /* @__PURE__ */ e("div", { className: gt.container, children: t.toUpperCase() });
262
262
  }
263
263
  const xt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", bt = "oraculo__OraculoEventScore-module__name___r4uL6", _t = "oraculo__OraculoEventScore-module__score___Xl03M", vt = "oraculo__OraculoEventScore-module__normal___cCNFz", wt = "oraculo__OraculoEventScore-module__small___fVt8E", ie = {
@@ -267,8 +267,8 @@ const xt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", bt = "orac
267
267
  normal: vt,
268
268
  small: wt
269
269
  };
270
- function je({ text: t, name: n, size: o = "normal" }) {
271
- return /* @__PURE__ */ m(
270
+ function Ue({ text: t, name: n, size: o = "normal" }) {
271
+ return /* @__PURE__ */ h(
272
272
  "div",
273
273
  {
274
274
  className: `${ie.scoreWrapper} ${ie[o]}`,
@@ -292,10 +292,10 @@ const yt = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", St = "oraculo__
292
292
  shadow: Nt,
293
293
  highlight: Tt
294
294
  };
295
- function Mt({ jersey: t, className: n }) {
295
+ function Ft({ jersey: t, className: n }) {
296
296
  const o = `#${t.base}`, a = t.sleeve ? `#${t.sleeve}` : o, i = t.stripes ? `#${t.stripes}` : null, r = t.sleevelong ? `#${t.sleevelong}` : null;
297
- return /* @__PURE__ */ m("div", { className: `${le.polo} ${n != null ? n : ""}`, children: [
298
- /* @__PURE__ */ e("div", { className: le.svgWrapper, children: /* @__PURE__ */ m("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
297
+ return /* @__PURE__ */ h("div", { className: `${le.polo} ${n != null ? n : ""}`, children: [
298
+ /* @__PURE__ */ e("div", { className: le.svgWrapper, children: /* @__PURE__ */ h("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
299
299
  /* @__PURE__ */ e(
300
300
  "path",
301
301
  {
@@ -303,7 +303,7 @@ function Mt({ jersey: t, className: n }) {
303
303
  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"
304
304
  }
305
305
  ),
306
- i && /* @__PURE__ */ m(oe, { children: [
306
+ i && /* @__PURE__ */ h(oe, { children: [
307
307
  /* @__PURE__ */ e("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
308
308
  /* @__PURE__ */ e("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
309
309
  ] }),
@@ -351,10 +351,10 @@ function Mt({ jersey: t, className: n }) {
351
351
  )
352
352
  ] });
353
353
  }
354
- function me({ name: t, jersey: n, size: o = "regular" }) {
355
- return /* @__PURE__ */ m("div", { className: `oli-font ${se.team} ${se[o]}`, children: [
354
+ function he({ name: t, jersey: n, size: o = "regular" }) {
355
+ return /* @__PURE__ */ h("div", { className: `oli-font ${se.team} ${se[o]}`, children: [
356
356
  n != null && n.base ? /* @__PURE__ */ e(
357
- Mt,
357
+ Ft,
358
358
  {
359
359
  jersey: n,
360
360
  className: `${se.logo}`
@@ -363,21 +363,21 @@ function me({ name: t, jersey: n, size: o = "regular" }) {
363
363
  /* @__PURE__ */ e("span", { className: se.name, children: t })
364
364
  ] });
365
365
  }
366
- function Ft(t, n, { enabled: o = !0 } = {}) {
366
+ function Rt(t, n, { enabled: o = !0 } = {}) {
367
367
  const a = H(null);
368
- K(() => {
368
+ q(() => {
369
369
  if (!o) return;
370
370
  const i = t.current;
371
371
  if (!i) return;
372
372
  const r = (s) => {
373
373
  const l = n.current;
374
374
  if (!l || !l.go) return;
375
- const { deltaX: c, deltaY: h } = s;
376
- if (Math.abs(c) <= Math.abs(h) || Math.abs(c) < 2) return;
375
+ const { deltaX: c, deltaY: f } = s;
376
+ if (Math.abs(c) <= Math.abs(f) || Math.abs(c) < 2) return;
377
377
  s.preventDefault();
378
- const f = c > 0 ? ">" : "<";
378
+ const x = c > 0 ? ">" : "<";
379
379
  a.current === null && (a.current = requestAnimationFrame(() => {
380
- a.current = null, l.go(f);
380
+ a.current = null, l.go(x);
381
381
  }));
382
382
  };
383
383
  return i.addEventListener("wheel", r, { passive: !1 }), () => {
@@ -385,7 +385,7 @@ function Ft(t, n, { enabled: o = !0 } = {}) {
385
385
  };
386
386
  }, [o, t, n]);
387
387
  }
388
- const Rt = tt, Lt = nt, te = Ze(
388
+ const Mt = tt, Lt = nt, te = Ze(
389
389
  ({
390
390
  items: t = [],
391
391
  renderItem: n,
@@ -396,45 +396,80 @@ const Rt = tt, Lt = nt, te = Ze(
396
396
  className: s = "",
397
397
  onMove: l,
398
398
  useIndexAsKey: c = !1,
399
- enableHorizontalWheel: h = !0
400
- }, f) => {
401
- const _ = H(null), d = H(null);
402
- Ft(d, _, {
403
- enabled: h
404
- }), Qe(f, () => ({
399
+ enableHorizontalWheel: f = !0
400
+ }, x) => {
401
+ const v = H(null), d = H(null), C = H(t.length);
402
+ Rt(d, v, {
403
+ enabled: f
404
+ }), Qe(x, () => ({
405
405
  next: () => {
406
- var S;
407
- return (S = _.current) == null ? void 0 : S.go(">");
406
+ var m;
407
+ return (m = v.current) == null ? void 0 : m.go(">");
408
408
  },
409
409
  prev: () => {
410
- var S;
411
- return (S = _.current) == null ? void 0 : S.go("<");
410
+ var m;
411
+ return (m = v.current) == null ? void 0 : m.go("<");
412
412
  },
413
- go: (S) => {
414
- var R;
415
- return (R = _.current) == null ? void 0 : R.go(S);
413
+ go: (m) => {
414
+ var E;
415
+ return (E = v.current) == null ? void 0 : E.go(m);
416
416
  }
417
417
  }));
418
- const E = (S) => {
419
- var W;
420
- const R = S.Components.Slides, v = S.Components.Controller, w = S.root.querySelector(".splide__track"), M = (W = w == null ? void 0 : w.clientWidth) != null ? W : 0, N = v.getIndex(), O = R.getLength();
421
- let $ = 0, F = N;
422
- for (let B = N; B < O; B++) {
423
- const u = R.getAt(B);
424
- if (!u || ($ += u.slide.getBoundingClientRect().width, $ > M))
425
- break;
426
- F = B;
418
+ const y = (m) => {
419
+ var u;
420
+ const E = m.Components.Slides, k = m.Components.Controller, I = m.root.querySelector(".splide__track"), N = (u = I == null ? void 0 : I.clientWidth) != null ? u : 0, F = k.getIndex(), P = E.getLength();
421
+ let L = 0, p = F;
422
+ for (let _ = F; _ < P; _++) {
423
+ const g = E.getAt(_);
424
+ if (!g || (L += g.slide.offsetWidth, L > N)) break;
425
+ p = _;
427
426
  }
428
- return { visibleStart: N, visibleEnd: F };
429
- }, y = we((S) => {
430
- const R = S.Components.Controller, v = R.getIndex(), w = R.getEnd(), M = v === 0, N = v >= w, O = S.Components.Slides.getLength(), { visibleStart: $, visibleEnd: F } = E(S);
431
- l == null || l({ index: v, isStart: M, isEnd: N, total: O, visibleEnd: F, visibleStart: $ });
432
- }, [l]), k = we(
433
- (S) => {
434
- y(S);
427
+ return { visibleStart: F, visibleEnd: p };
428
+ }, O = (m) => {
429
+ const E = m.root.querySelector(".splide__track"), k = m.root.querySelector(".splide__list");
430
+ return !E || !k ? !1 : k.scrollWidth > E.clientWidth + 1;
431
+ }, w = ue((m) => {
432
+ const k = m.Components.Slides.getLength();
433
+ if (!O(m)) {
434
+ l == null || l({
435
+ index: 0,
436
+ isStart: !0,
437
+ isEnd: !0,
438
+ total: k,
439
+ visibleStart: 0,
440
+ visibleEnd: k - 1
441
+ });
442
+ return;
443
+ }
444
+ const { visibleStart: I, visibleEnd: N } = y(m), F = I === 0, P = N === k - 1, L = m.Components.Controller.getIndex();
445
+ l == null || l({
446
+ index: L,
447
+ isStart: F,
448
+ isEnd: P,
449
+ total: k,
450
+ visibleStart: I,
451
+ visibleEnd: N
452
+ });
453
+ }, [l]);
454
+ We.useEffect(() => {
455
+ var k;
456
+ const m = (k = v.current) == null ? void 0 : k.splide;
457
+ if (!m) return;
458
+ const E = C.current !== t.length;
459
+ C.current = t.length, E && requestAnimationFrame(() => {
460
+ m.refresh(), w(m);
461
+ });
462
+ }, [t.length, w]);
463
+ const M = ue(() => {
464
+ var E;
465
+ const m = (E = v.current) == null ? void 0 : E.splide;
466
+ m && (m.go(0, !1), w(m));
467
+ }, [w]), B = ue(
468
+ (m) => {
469
+ w(m);
435
470
  },
436
- [y]
437
- ), C = {
471
+ [w]
472
+ ), S = {
438
473
  type: "slide",
439
474
  trimSpace: !1,
440
475
  drag: !0,
@@ -447,23 +482,24 @@ const Rt = tt, Lt = nt, te = Ze(
447
482
  gap: a,
448
483
  breakpoints: i,
449
484
  ...r,
450
- ...h ? { wheel: !1 } : {}
485
+ ...f ? { wheel: !1 } : {}
451
486
  };
452
487
  return /* @__PURE__ */ e("div", { ref: d, className: s, style: { width: "100%" }, children: /* @__PURE__ */ e(
453
- Rt,
488
+ Mt,
454
489
  {
455
- ref: _,
456
- options: C,
457
- onMove: y,
458
- onMounted: k,
459
- children: t.map((S, R) => {
460
- var v;
461
- return /* @__PURE__ */ e(Lt, { children: n(S, R) }, c ? R : (v = S.id) != null ? v : R);
490
+ ref: v,
491
+ options: S,
492
+ onMove: w,
493
+ onMounted: B,
494
+ onResize: M,
495
+ children: t.map((m, E) => {
496
+ var k;
497
+ return /* @__PURE__ */ e(Lt, { children: n(m, E) }, c ? E : (k = m.id) != null ? k : E);
462
498
  })
463
499
  }
464
500
  ) });
465
501
  }
466
- ), ue = ({
502
+ ), pe = ({
467
503
  imageUrl: t,
468
504
  onClick: n,
469
505
  size: o = "sm",
@@ -472,7 +508,7 @@ const Rt = tt, Lt = nt, te = Ze(
472
508
  const i = o === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (l) => {
473
509
  l.stopPropagation(), n == null || n();
474
510
  }, s = a ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
475
- return /* @__PURE__ */ m(
511
+ return /* @__PURE__ */ h(
476
512
  T,
477
513
  {
478
514
  onClick: n,
@@ -550,7 +586,7 @@ const Rt = tt, Lt = nt, te = Ze(
550
586
  }
551
587
  );
552
588
  };
553
- function Bt({
589
+ function Wt({
554
590
  imageUrl: t,
555
591
  orden: n = 1,
556
592
  onClick: o,
@@ -560,18 +596,18 @@ function Bt({
560
596
  md: { w: 186, h: 264, r: 22.6, font: 64 }
561
597
  }
562
598
  }) {
563
- var _, d, E, y;
564
- const r = (k, C) => {
565
- var S, R, v, w;
599
+ var v, d, C, y;
600
+ const r = (O, w) => {
601
+ var M, B, S, m;
566
602
  return {
567
- xs: (R = (S = i.xs) == null ? void 0 : S[k]) != null ? R : C,
568
- md: (w = (v = i.md) == null ? void 0 : v[k]) != null ? w : C
603
+ xs: (B = (M = i.xs) == null ? void 0 : M[O]) != null ? B : w,
604
+ md: (m = (S = i.md) == null ? void 0 : S[O]) != null ? m : w
569
605
  };
570
- }, s = r("w", 186), l = r("h", 264), c = r("r", 22.6), h = r("font", 64), f = {
571
- xs: Math.round(((d = (_ = i.xs) == null ? void 0 : _.font) != null ? d : 64) * 0.28),
572
- md: Math.round(((y = (E = i.md) == null ? void 0 : E.font) != null ? y : 64) * 0.28)
606
+ }, s = r("w", 186), l = r("h", 264), c = r("r", 22.6), f = r("font", 64), x = {
607
+ xs: Math.round(((d = (v = i.xs) == null ? void 0 : v.font) != null ? d : 64) * 0.28),
608
+ md: Math.round(((y = (C = i.md) == null ? void 0 : C.font) != null ? y : 64) * 0.28)
573
609
  };
574
- return /* @__PURE__ */ m(
610
+ return /* @__PURE__ */ h(
575
611
  T,
576
612
  {
577
613
  sx: {
@@ -585,7 +621,7 @@ function Bt({
585
621
  borderRadius: { xs: `${c.xs}px`, md: `${c.md}px` },
586
622
  boxSizing: "border-box",
587
623
  overflow: "visible",
588
- pb: { xs: `${f.xs}px`, md: `${f.md}px` },
624
+ pb: { xs: `${x.xs}px`, md: `${x.md}px` },
589
625
  "&::before": {
590
626
  content: '""',
591
627
  position: "absolute",
@@ -622,7 +658,7 @@ function Bt({
622
658
  }
623
659
  }
624
660
  ) : /* @__PURE__ */ e(
625
- ue,
661
+ pe,
626
662
  {
627
663
  imageUrl: t,
628
664
  onClick: o,
@@ -640,13 +676,13 @@ function Bt({
640
676
  position: "absolute",
641
677
  left: 8,
642
678
  bottom: {
643
- xs: `-${f.xs}px`,
644
- md: `-${f.md}px`
679
+ xs: `-${x.xs}px`,
680
+ md: `-${x.md}px`
645
681
  },
646
682
  fontFamily: "secondary",
647
683
  fontSize: {
648
- xs: `${h.xs}px`,
649
- md: `${h.md}px`
684
+ xs: `${f.xs}px`,
685
+ md: `${f.md}px`
650
686
  },
651
687
  lineHeight: 1,
652
688
  color: "#3CC666",
@@ -661,7 +697,7 @@ function Bt({
661
697
  }
662
698
  );
663
699
  }
664
- const Pt = ({
700
+ const Bt = ({
665
701
  logo: t,
666
702
  provider: n,
667
703
  providerName: o,
@@ -669,7 +705,7 @@ const Pt = ({
669
705
  onClick: i
670
706
  }) => {
671
707
  var r;
672
- return /* @__PURE__ */ m(
708
+ return /* @__PURE__ */ h(
673
709
  T,
674
710
  {
675
711
  onClick: i,
@@ -740,7 +776,7 @@ const Pt = ({
740
776
  ]
741
777
  }
742
778
  );
743
- }, be = 12, _e = ({ r: t = 16 }) => /* @__PURE__ */ e(T, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
779
+ }, _e = 12, ve = ({ r: t = 16 }) => /* @__PURE__ */ e(T, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
744
780
  A,
745
781
  {
746
782
  variant: "rectangular",
@@ -755,7 +791,7 @@ const Pt = ({
755
791
  }
756
792
  }
757
793
  }
758
- ) }), Ue = ({
794
+ ) }), De = ({
759
795
  items: t,
760
796
  layout: n = "grid",
761
797
  onClick: o,
@@ -764,10 +800,8 @@ const Pt = ({
764
800
  }) => {
765
801
  var r, s;
766
802
  if (n === "mosaic") {
767
- const l = t[0];
768
- console.log("big: ", l);
769
- const c = t.slice(1, 5);
770
- return /* @__PURE__ */ m(
803
+ const l = t[0], c = t.slice(1, 5);
804
+ return /* @__PURE__ */ h(
771
805
  T,
772
806
  {
773
807
  sx: {
@@ -785,8 +819,8 @@ const Pt = ({
785
819
  xs: "104px",
786
820
  md: "152px"
787
821
  },
788
- columnGap: `${be}px`,
789
- rowGap: `${be}px`,
822
+ columnGap: `${_e}px`,
823
+ rowGap: `${_e}px`,
790
824
  alignItems: "stretch",
791
825
  justifyItems: "stretch"
792
826
  },
@@ -801,8 +835,8 @@ const Pt = ({
801
835
  overflow: "hidden",
802
836
  borderRadius: 2
803
837
  },
804
- children: a ? /* @__PURE__ */ e(_e, {}) : l && /* @__PURE__ */ e(
805
- ue,
838
+ children: a ? /* @__PURE__ */ e(ve, {}) : l && /* @__PURE__ */ e(
839
+ pe,
806
840
  {
807
841
  imageUrl: `https://olimpo.bet${(s = (r = l.background) != null ? r : l.imageUrl) != null ? s : ""}`,
808
842
  size: "lg",
@@ -812,8 +846,8 @@ const Pt = ({
812
846
  )
813
847
  }
814
848
  ),
815
- (a ? Array.from({ length: 4 }) : c).map((h, f) => {
816
- var _, d;
849
+ (a ? Array.from({ length: 4 }) : c).map((f, x) => {
850
+ var v, d;
817
851
  return /* @__PURE__ */ e(
818
852
  T,
819
853
  {
@@ -823,17 +857,17 @@ const Pt = ({
823
857
  overflow: "hidden",
824
858
  borderRadius: 2
825
859
  },
826
- children: a ? /* @__PURE__ */ e(_e, {}) : /* @__PURE__ */ e(
827
- ue,
860
+ children: a ? /* @__PURE__ */ e(ve, {}) : /* @__PURE__ */ e(
861
+ pe,
828
862
  {
829
- imageUrl: `https://olimpo.bet${(d = (_ = h.background) != null ? _ : h.imageUrl) != null ? d : ""}`,
863
+ imageUrl: `https://olimpo.bet${(d = (v = f.background) != null ? v : f.imageUrl) != null ? d : ""}`,
830
864
  size: "sm",
831
865
  fillParent: !0,
832
- onClick: () => o == null ? void 0 : o(h, f + 1)
866
+ onClick: () => o == null ? void 0 : o(f, x + 1)
833
867
  }
834
868
  )
835
869
  },
836
- a ? `sk-${f}` : h.id
870
+ a ? `sk-${x}` : f.id
837
871
  );
838
872
  })
839
873
  ]
@@ -853,26 +887,26 @@ const Pt = ({
853
887
  xs: "repeat(2, 112px)",
854
888
  md: "repeat(2, 168px)"
855
889
  },
856
- gap: `${be}px`,
890
+ gap: `${_e}px`,
857
891
  gridAutoFlow: "column"
858
892
  },
859
893
  children: (a ? Array.from({ length: i }) : t).map((l, c) => {
860
- var h, f, _;
894
+ var f, x, v;
861
895
  return /* @__PURE__ */ e(
862
896
  T,
863
897
  {
864
898
  sx: { overflow: "hidden", borderRadius: 2 },
865
- children: a ? /* @__PURE__ */ e(_e, {}) : /* @__PURE__ */ e(
866
- ue,
899
+ children: a ? /* @__PURE__ */ e(ve, {}) : /* @__PURE__ */ e(
900
+ pe,
867
901
  {
868
- imageUrl: `https://olimpo.bet${(f = (h = l.background) != null ? h : l.imageUrl) != null ? f : ""}`,
902
+ imageUrl: `https://olimpo.bet${(x = (f = l.background) != null ? f : l.imageUrl) != null ? x : ""}`,
869
903
  size: "sm",
870
904
  fillParent: !0,
871
905
  onClick: () => o == null ? void 0 : o(l, c)
872
906
  }
873
907
  )
874
908
  },
875
- a ? `sk-${c}` : (_ = l.id) != null ? _ : c
909
+ a ? `sk-${c}` : (v = l.id) != null ? v : c
876
910
  );
877
911
  })
878
912
  }
@@ -888,8 +922,8 @@ const Pt = ({
888
922
  className: l = "",
889
923
  variant: c = "small"
890
924
  }) => {
891
- const h = n ? n.slice(0, 2) : "", f = n ? n.slice(2) : "", _ = c === "large";
892
- return /* @__PURE__ */ m(
925
+ const f = n ? n.slice(0, 2) : "", x = n ? n.slice(2) : "", v = c === "large";
926
+ return /* @__PURE__ */ h(
893
927
  T,
894
928
  {
895
929
  className: l,
@@ -898,7 +932,7 @@ const Pt = ({
898
932
  width: "100%",
899
933
  maxWidth: {
900
934
  xs: 328,
901
- md: _ ? 618 : 456
935
+ md: v ? 618 : 456
902
936
  },
903
937
  mx: "auto"
904
938
  },
@@ -911,7 +945,7 @@ const Pt = ({
911
945
  width: "100%",
912
946
  aspectRatio: {
913
947
  xs: "328 / 188",
914
- md: _ ? "618 / 346" : "456 / 272"
948
+ md: v ? "618 / 346" : "456 / 272"
915
949
  },
916
950
  borderRadius: "14px",
917
951
  overflow: "hidden"
@@ -950,7 +984,7 @@ const Pt = ({
950
984
  pl: "14%",
951
985
  pr: { xs: "14%", lg: "15%" }
952
986
  },
953
- children: /* @__PURE__ */ m(
987
+ children: /* @__PURE__ */ h(
954
988
  T,
955
989
  {
956
990
  sx: {
@@ -971,7 +1005,7 @@ const Pt = ({
971
1005
  children: t
972
1006
  }
973
1007
  ),
974
- n && /* @__PURE__ */ m(
1008
+ n && /* @__PURE__ */ h(
975
1009
  T,
976
1010
  {
977
1011
  component: "p",
@@ -994,7 +1028,7 @@ const Pt = ({
994
1028
  {
995
1029
  component: "span",
996
1030
  sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
997
- children: h
1031
+ children: f
998
1032
  }
999
1033
  ),
1000
1034
  /* @__PURE__ */ e(
@@ -1002,7 +1036,7 @@ const Pt = ({
1002
1036
  {
1003
1037
  component: "span",
1004
1038
  sx: { fontSize: { xs: 52, md: 77 } },
1005
- children: f
1039
+ children: x
1006
1040
  }
1007
1041
  )
1008
1042
  ]
@@ -1029,7 +1063,7 @@ const Pt = ({
1029
1063
  ]
1030
1064
  }
1031
1065
  );
1032
- }, Wt = ({
1066
+ }, Pt = ({
1033
1067
  text: t,
1034
1068
  buttonLabel: n = "Conoce más",
1035
1069
  onClick: o,
@@ -1037,7 +1071,7 @@ const Pt = ({
1037
1071
  imgSrcMobile: i,
1038
1072
  imgSrcDesktopBg: r,
1039
1073
  imgSrcDesktopLogo: s
1040
- }) => /* @__PURE__ */ m(oe, { children: [
1074
+ }) => /* @__PURE__ */ h(oe, { children: [
1041
1075
  /* @__PURE__ */ e("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ e(
1042
1076
  "img",
1043
1077
  {
@@ -1046,7 +1080,7 @@ const Pt = ({
1046
1080
  className: "orc-co-bgMobileImg"
1047
1081
  }
1048
1082
  ) }),
1049
- /* @__PURE__ */ m("div", { className: "orc-co-bgDesktop", children: [
1083
+ /* @__PURE__ */ h("div", { className: "orc-co-bgDesktop", children: [
1050
1084
  r && /* @__PURE__ */ e("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ e(
1051
1085
  "img",
1052
1086
  {
@@ -1055,7 +1089,7 @@ const Pt = ({
1055
1089
  className: "orc-co-bgDesktopImg"
1056
1090
  }
1057
1091
  ) }),
1058
- /* @__PURE__ */ m("div", { className: "orc-co-desktopContent", children: [
1092
+ /* @__PURE__ */ h("div", { className: "orc-co-desktopContent", children: [
1059
1093
  s && /* @__PURE__ */ e(
1060
1094
  "img",
1061
1095
  {
@@ -1068,7 +1102,7 @@ const Pt = ({
1068
1102
  /* @__PURE__ */ e(G, { onClick: o, variant: "primary", size: "md", children: n })
1069
1103
  ] })
1070
1104
  ] }),
1071
- /* @__PURE__ */ m("div", { className: "orc-co-bottom", children: [
1105
+ /* @__PURE__ */ h("div", { className: "orc-co-bottom", children: [
1072
1106
  /* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
1073
1107
  /* @__PURE__ */ e(G, { onClick: o, variant: "primary", size: "md", children: n })
1074
1108
  ] })
@@ -1086,16 +1120,16 @@ function Ee(t) {
1086
1120
  const n = Array.isArray(t) ? t : [t];
1087
1121
  sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = "/deportes#in-play";
1088
1122
  }
1089
- function Kt() {
1123
+ function qt() {
1090
1124
  window.location.href = "/deportes#in-play";
1091
1125
  }
1092
- function Jt() {
1126
+ function Kt() {
1093
1127
  window.location.href = "/deportes#sports-hub/football";
1094
1128
  }
1095
- function qt() {
1129
+ function Jt() {
1096
1130
  window.location.href = "/deportes#specials";
1097
1131
  }
1098
- async function De(t) {
1132
+ async function Ge(t) {
1099
1133
  return await (await fetch("https://api.mktolimpo.com/api/jerseys/search", {
1100
1134
  method: "POST",
1101
1135
  headers: {
@@ -1106,9 +1140,9 @@ async function De(t) {
1106
1140
  })
1107
1141
  })).json();
1108
1142
  }
1109
- function Ge(t, n = 250) {
1143
+ function He(t, n = 250) {
1110
1144
  const [o, a] = D(t);
1111
- return K(() => {
1145
+ return q(() => {
1112
1146
  const i = setTimeout(() => a(t), n);
1113
1147
  return () => clearTimeout(i);
1114
1148
  }, [t, n]), o;
@@ -1116,27 +1150,27 @@ function Ge(t, n = 250) {
1116
1150
  function Xt({ event: t }) {
1117
1151
  var a;
1118
1152
  function n(i) {
1119
- var f;
1120
- const r = (f = i.betoffers) != null ? f : [], s = i.homeName, l = i.awayName, c = r.map((_) => {
1121
- var k, C, S, R, v;
1122
- let d = _.outcomes[0], E = "", y = d != null && d.line ? d.line / 1e3 : "";
1123
- return ["Más de", "Mas de", "Over"].includes(d == null ? void 0 : d.label) ? (E = `Más de ${y}`, d != null && d.participant && (E = `${d.participant} - ${E}`)) : ["Menos de", "Menos"].includes(d == null ? void 0 : d.label) ? (E = `Menos de ${y}`, d != null && d.participant && (E = `${d.participant} - ${E}`)) : ["Sí", "No"].includes(d == null ? void 0 : d.label) ? (E = d == null ? void 0 : d.label, d != null && d.participant && (E = `${d.participant} - ${E}`)) : ["1X", "12", "X2"].includes(d == null ? void 0 : d.label) ? d.label === "1X" ? E = `${s} o Empate` : d.label === "12" ? E = `${s} o ${l}` : d.label === "X2" && (E = `${l} o Empate`) : (d != null && d.participant ? E = d.participant : E = (k = d == null ? void 0 : d.label) != null ? k : "", y !== "" && E === d.label && (E = `${d.label} ${y}`)), {
1124
- id: (C = d == null ? void 0 : d.id) != null ? C : 0,
1125
- value: E,
1126
- label: _.criterion.label,
1127
- odds: (S = d == null ? void 0 : d.odds) != null ? S : 0,
1128
- bl: (R = d == null ? void 0 : d.label) != null ? R : 0,
1129
- position: (v = d == null ? void 0 : d.position) != null ? v : 0
1153
+ var x;
1154
+ const r = (x = i.betoffers) != null ? x : [], s = i.homeName, l = i.awayName, c = r.map((v) => {
1155
+ var O, w, M, B, S;
1156
+ let d = v.outcomes[0], C = "", y = d != null && d.line ? d.line / 1e3 : "";
1157
+ return ["Más de", "Mas de", "Over"].includes(d == null ? void 0 : d.label) ? (C = `Más de ${y}`, d != null && d.participant && (C = `${d.participant} - ${C}`)) : ["Menos de", "Menos"].includes(d == null ? void 0 : d.label) ? (C = `Menos de ${y}`, d != null && d.participant && (C = `${d.participant} - ${C}`)) : ["Sí", "No"].includes(d == null ? void 0 : d.label) ? (C = d == null ? void 0 : d.label, d != null && d.participant && (C = `${d.participant} - ${C}`)) : ["1X", "12", "X2"].includes(d == null ? void 0 : d.label) ? d.label === "1X" ? C = `${s} o Empate` : d.label === "12" ? C = `${s} o ${l}` : d.label === "X2" && (C = `${l} o Empate`) : (d != null && d.participant ? C = d.participant : C = (O = d == null ? void 0 : d.label) != null ? O : "", y !== "" && C === d.label && (C = `${d.label} ${y}`)), {
1158
+ id: (w = d == null ? void 0 : d.id) != null ? w : 0,
1159
+ value: C,
1160
+ label: v.criterion.label,
1161
+ odds: (M = d == null ? void 0 : d.odds) != null ? M : 0,
1162
+ bl: (B = d == null ? void 0 : d.label) != null ? B : 0,
1163
+ position: (S = d == null ? void 0 : d.position) != null ? S : 0
1130
1164
  };
1131
- }), h = c.reduce((_, d) => _ + d.odds, 0) / 1e3;
1165
+ }), f = c.reduce((v, d) => v + d.odds, 0) / 1e3;
1132
1166
  return {
1133
1167
  outcomes: c,
1134
- total: h.toFixed(2)
1168
+ total: f.toFixed(2)
1135
1169
  };
1136
1170
  }
1137
1171
  const o = n(t);
1138
- return /* @__PURE__ */ m("div", { className: Z.card, children: [
1139
- /* @__PURE__ */ e("div", { className: Z.combinadas, children: /* @__PURE__ */ m(z, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
1172
+ return /* @__PURE__ */ h("div", { className: Z.card, children: [
1173
+ /* @__PURE__ */ e("div", { className: Z.combinadas, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
1140
1174
  /* @__PURE__ */ e(
1141
1175
  ee,
1142
1176
  {
@@ -1146,12 +1180,12 @@ function Xt({ event: t }) {
1146
1180
  }
1147
1181
  ),
1148
1182
  /* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/line.png" }),
1149
- /* @__PURE__ */ e(z, { direction: "column", spacing: 0.5, useFlexGap: !0, children: o.outcomes.sort((i, r) => i.position - r.position).map((i, r) => /* @__PURE__ */ m("div", { className: Z.apuestaItem, children: [
1150
- /* @__PURE__ */ m("div", { className: Z.lineContainer, children: [
1183
+ /* @__PURE__ */ e(z, { direction: "column", spacing: 0.5, useFlexGap: !0, children: o.outcomes.sort((i, r) => i.position - r.position).map((i, r) => /* @__PURE__ */ h("div", { className: Z.apuestaItem, children: [
1184
+ /* @__PURE__ */ h("div", { className: Z.lineContainer, children: [
1151
1185
  /* @__PURE__ */ e("div", { className: Z.circle }),
1152
1186
  r < o.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: Z.line })
1153
1187
  ] }),
1154
- /* @__PURE__ */ m("div", { className: Z.apuestaText, children: [
1188
+ /* @__PURE__ */ h("div", { className: Z.apuestaText, children: [
1155
1189
  /* @__PURE__ */ e("strong", { children: i.value }),
1156
1190
  " ",
1157
1191
  "| ",
@@ -1159,11 +1193,11 @@ function Xt({ event: t }) {
1159
1193
  ] })
1160
1194
  ] }, r)) })
1161
1195
  ] }) }),
1162
- /* @__PURE__ */ m("button", { onClick: () => {
1196
+ /* @__PURE__ */ h("button", { onClick: () => {
1163
1197
  var i, r;
1164
1198
  return Ee((r = (i = o == null ? void 0 : o.outcomes) == null ? void 0 : i.map((s) => s == null ? void 0 : s.id)) != null ? r : []);
1165
1199
  }, className: Z.cuotaTotal, children: [
1166
- /* @__PURE__ */ m("span", { children: [
1200
+ /* @__PURE__ */ h("span", { children: [
1167
1201
  "Cuota total: ",
1168
1202
  /* @__PURE__ */ e("strong", { children: (((a = t.combinadoTotal) != null ? a : 0) / 1e3).toFixed(2) })
1169
1203
  ] }),
@@ -1171,7 +1205,7 @@ function Xt({ event: t }) {
1171
1205
  ] })
1172
1206
  ] });
1173
1207
  }
1174
- const q = {
1208
+ const J = {
1175
1209
  "orc-btn": "oraculo__OraculoButtonBet-module__orc-btn___jakza",
1176
1210
  "orc-btn__label": "oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH",
1177
1211
  "orc-btn__icon": "oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd",
@@ -1195,56 +1229,56 @@ function Yt({
1195
1229
  disabled: s = !1,
1196
1230
  variant: l = "primary",
1197
1231
  size: c,
1198
- fullWidth: h = !1,
1199
- fullHeight: f = !1,
1200
- className: _ = "",
1232
+ fullWidth: f = !1,
1233
+ fullHeight: x = !1,
1234
+ className: v = "",
1201
1235
  ariaLabel: d,
1202
- leftIcon: E,
1236
+ leftIcon: C,
1203
1237
  rightIcon: y,
1204
- iconOnly: k
1238
+ iconOnly: O
1205
1239
  }) {
1206
- const C = !!t && t !== !0, v = (!!E ? 1 : 0) + (!!y ? 1 : 0) == 1, w = k != null ? k : v && !C, M = [
1207
- q["orc-btn"],
1240
+ const w = !!t && t !== !0, S = (!!C ? 1 : 0) + (!!y ? 1 : 0) == 1, m = O != null ? O : S && !w, E = [
1241
+ J["orc-btn"],
1208
1242
  // base
1209
- q[`orc-btn--${l}`],
1243
+ J[`orc-btn--${l}`],
1210
1244
  // variant primary/secondary/tertiary
1211
- c ? q[`orc-btn--${c}`] : "",
1245
+ c ? J[`orc-btn--${c}`] : "",
1212
1246
  // sm / md / lg
1213
- h ? q["orc-btn--full"] : "",
1214
- f ? q["orc-btn--fullHeight"] : "",
1215
- w ? q["orc-btn--iconOnly"] : "",
1216
- _
1217
- ].filter(Boolean).join(" "), N = /* @__PURE__ */ m(oe, { children: [
1218
- E && /* @__PURE__ */ e("span", { className: q["orc-btn__icon"], children: E }),
1219
- !w && /* @__PURE__ */ e("span", { className: q["orc-btn__label"], children: t }),
1220
- y && /* @__PURE__ */ e("span", { className: q["orc-btn__icon"], children: y })
1221
- ] }), O = s ? !0 : void 0;
1247
+ f ? J["orc-btn--full"] : "",
1248
+ x ? J["orc-btn--fullHeight"] : "",
1249
+ m ? J["orc-btn--iconOnly"] : "",
1250
+ v
1251
+ ].filter(Boolean).join(" "), k = /* @__PURE__ */ h(oe, { children: [
1252
+ C && /* @__PURE__ */ e("span", { className: J["orc-btn__icon"], children: C }),
1253
+ !m && /* @__PURE__ */ e("span", { className: J["orc-btn__label"], children: t }),
1254
+ y && /* @__PURE__ */ e("span", { className: J["orc-btn__icon"], children: y })
1255
+ ] }), I = s ? !0 : void 0;
1222
1256
  return o ? /* @__PURE__ */ e(
1223
- Re,
1257
+ Me,
1224
1258
  {
1225
1259
  href: o,
1226
1260
  target: a,
1227
1261
  rel: i,
1228
1262
  "aria-label": d,
1229
- "aria-disabled": O,
1230
- tabIndex: O ? -1 : void 0,
1231
- className: M,
1232
- onClick: O ? ($) => $.preventDefault() : n,
1233
- children: N
1263
+ "aria-disabled": I,
1264
+ tabIndex: I ? -1 : void 0,
1265
+ className: E,
1266
+ onClick: I ? (N) => N.preventDefault() : n,
1267
+ children: k
1234
1268
  }
1235
1269
  ) : /* @__PURE__ */ e(
1236
1270
  "button",
1237
1271
  {
1238
1272
  type: r,
1239
1273
  onClick: n,
1240
- disabled: !!O,
1274
+ disabled: !!I,
1241
1275
  "aria-label": d,
1242
- className: M,
1243
- children: N
1276
+ className: E,
1277
+ children: k
1244
1278
  }
1245
1279
  );
1246
1280
  }
1247
- const Zt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", He = {
1281
+ const Zt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Ve = {
1248
1282
  cardWrapper: Zt
1249
1283
  }, Oe = {
1250
1284
  base: "FFFFFF",
@@ -1258,7 +1292,7 @@ const Zt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", He = {
1258
1292
  number: "FFFFFF",
1259
1293
  real: !1,
1260
1294
  type: "short_sleeves"
1261
- }, he = (t, n, o = "player") => {
1295
+ }, fe = (t, n, o = "player") => {
1262
1296
  var i, r;
1263
1297
  if (t === void 0)
1264
1298
  return null;
@@ -1268,35 +1302,35 @@ const Zt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", He = {
1268
1302
  return a || (n === "home" ? Oe : Ie);
1269
1303
  };
1270
1304
  function Qt({ event: t, liveData: n, betOffers: o, jersey: a }) {
1271
- var r, s, l, c, h, f, _, d, E, y, k;
1305
+ var r, s, l, c, f, x, v, d, C, y, O;
1272
1306
  const i = o == null ? void 0 : o.find(
1273
- (C) => {
1274
- var S;
1275
- return ((S = C.betOfferType) == null ? void 0 : S.id) === 2;
1307
+ (w) => {
1308
+ var M;
1309
+ return ((M = w.betOfferType) == null ? void 0 : M.id) === 2;
1276
1310
  }
1277
1311
  );
1278
- return /* @__PURE__ */ e("div", { className: He.cardWrapper, children: /* @__PURE__ */ m(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1279
- /* @__PURE__ */ m(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1312
+ return /* @__PURE__ */ e("div", { className: Ve.cardWrapper, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1313
+ /* @__PURE__ */ h(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
1280
1314
  /* @__PURE__ */ e(
1281
1315
  pt,
1282
1316
  {
1283
1317
  title: (l = (s = (r = t == null ? void 0 : t.path) == null ? void 0 : r[0]) == null ? void 0 : s.name) != null ? l : "",
1284
1318
  subtitle: (c = t == null ? void 0 : t.group) != null ? c : "",
1285
1319
  live: !0,
1286
- time: ((h = n == null ? void 0 : n.matchClock) == null ? void 0 : h.minute) != null ? `${n.matchClock.minute}'` : ""
1320
+ time: ((f = n == null ? void 0 : n.matchClock) == null ? void 0 : f.minute) != null ? `${n.matchClock.minute}'` : ""
1287
1321
  }
1288
1322
  ),
1289
- /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ m(Y, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1290
- /* @__PURE__ */ e(me, { name: t == null ? void 0 : t.homeName, jersey: he(a, "home") }),
1291
- /* @__PURE__ */ e(je, { text: ((_ = (f = n == null ? void 0 : n.score) == null ? void 0 : f.home) != null ? _ : 0) + ":" + ((E = (d = n == null ? void 0 : n.score) == null ? void 0 : d.away) != null ? E : 0), name: "En vivo" }),
1292
- /* @__PURE__ */ e(me, { name: t == null ? void 0 : t.awayName, jersey: he(a, "away") })
1323
+ /* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ h(Y, { spacing: 1.5, columns: "1fr auto 1fr", children: [
1324
+ /* @__PURE__ */ e(he, { name: t == null ? void 0 : t.homeName, jersey: fe(a, "home") }),
1325
+ /* @__PURE__ */ e(Ue, { text: ((v = (x = n == null ? void 0 : n.score) == null ? void 0 : x.home) != null ? v : 0) + ":" + ((C = (d = n == null ? void 0 : n.score) == null ? void 0 : d.away) != null ? C : 0), name: "En vivo" }),
1326
+ /* @__PURE__ */ e(he, { name: t == null ? void 0 : t.awayName, jersey: fe(a, "away") })
1293
1327
  ] }) })
1294
1328
  ] }),
1295
- /* @__PURE__ */ m(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1296
- /* @__PURE__ */ e(Y, { spacing: 1, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : []).map((C, S) => /* @__PURE__ */ e(Ae, { text: C.label.toUpperCase() }, S)) }),
1297
- /* @__PURE__ */ e(Y, { spacing: 2, children: ((k = i == null ? void 0 : i.outcomes) != null ? k : []).map((C, S) => /* @__PURE__ */ e(Yt, { variant: "primary", disabled: C.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1298
- Ee(C.id);
1299
- }, children: C.odds === void 0 ? "" : (C.odds / 1e3).toFixed(2) }, S)) })
1329
+ /* @__PURE__ */ h(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1330
+ /* @__PURE__ */ e(Y, { spacing: 1, children: ((y = i == null ? void 0 : i.outcomes) != null ? y : []).map((w, M) => /* @__PURE__ */ e(ze, { text: w.label.toUpperCase() }, M)) }),
1331
+ /* @__PURE__ */ e(Y, { spacing: 2, children: ((O = i == null ? void 0 : i.outcomes) != null ? O : []).map((w, M) => /* @__PURE__ */ e(Yt, { variant: "primary", disabled: w.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
1332
+ Ee(w.id);
1333
+ }, children: w.odds === void 0 ? "" : (w.odds / 1e3).toFixed(2) }, M)) })
1300
1334
  ] })
1301
1335
  ] }) });
1302
1336
  }
@@ -1313,28 +1347,28 @@ const on = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", rn =
1313
1347
  equipos: sn
1314
1348
  };
1315
1349
  function cn({ event: t, jersey: n }) {
1316
- var a, i, r, s, l, c, h;
1317
- function o(f) {
1318
- const _ = new Date(f), d = _.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), E = _.getDate().toString().padStart(2, "0"), y = (_.getMonth() + 1).toString().padStart(2, "0");
1319
- let k = _.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1320
- return k = k.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${d} ${E}/${y} | ${k}`;
1350
+ var a, i, r, s, l, c, f;
1351
+ function o(x) {
1352
+ const v = new Date(x), d = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = v.getDate().toString().padStart(2, "0"), y = (v.getMonth() + 1).toString().padStart(2, "0");
1353
+ let O = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
1354
+ return O = O.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${d} ${C}/${y} | ${O}`;
1321
1355
  }
1322
- return /* @__PURE__ */ m("div", { className: ne.cardContainer, children: [
1323
- /* @__PURE__ */ e(ze, { title: (a = t == null ? void 0 : t.group) != null ? a : "" }),
1324
- /* @__PURE__ */ e("div", { className: ne.cardBackground, children: /* @__PURE__ */ m(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1325
- /* @__PURE__ */ m(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1326
- /* @__PURE__ */ m("div", { className: ne.equipos, children: [
1327
- /* @__PURE__ */ e(me, { name: t.homeName, size: "compact", jersey: he(n, "home") }),
1328
- /* @__PURE__ */ e(je, { text: "vs.", name: "", size: "small" }),
1329
- /* @__PURE__ */ e(me, { name: t.awayName, size: "compact", jersey: he(n, "away") })
1356
+ return /* @__PURE__ */ h("div", { className: ne.cardContainer, children: [
1357
+ /* @__PURE__ */ e(je, { title: (a = t == null ? void 0 : t.group) != null ? a : "" }),
1358
+ /* @__PURE__ */ e("div", { className: ne.cardBackground, children: /* @__PURE__ */ h(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1359
+ /* @__PURE__ */ h(z, { direction: "column", spacing: 1, useFlexGap: !0, children: [
1360
+ /* @__PURE__ */ h("div", { className: ne.equipos, children: [
1361
+ /* @__PURE__ */ e(he, { name: t.homeName, size: "compact", jersey: fe(n, "home") }),
1362
+ /* @__PURE__ */ e(Ue, { text: "vs.", name: "", size: "small" }),
1363
+ /* @__PURE__ */ e(he, { name: t.awayName, size: "compact", jersey: fe(n, "away") })
1330
1364
  ] }),
1331
1365
  /* @__PURE__ */ e(nn, { text: o(t.start) })
1332
1366
  ] }),
1333
- /* @__PURE__ */ m(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1334
- /* @__PURE__ */ e(Y, { spacing: 1, children: ((s = (r = (i = t == null ? void 0 : t.outcome) == null ? void 0 : i[0]) == null ? void 0 : r.outcomes) != null ? s : []).map((f, _) => /* @__PURE__ */ e(Ae, { text: f.label.toUpperCase() }, _)) }),
1335
- /* @__PURE__ */ e("div", { className: ne.jugadas, children: /* @__PURE__ */ e(Y, { spacing: 1, children: ((h = (c = (l = t == null ? void 0 : t.outcome) == null ? void 0 : l[0]) == null ? void 0 : c.outcomes) != null ? h : []).map((f, _) => /* @__PURE__ */ e(G, { variant: "primary", fullHeight: !0, onClick: () => {
1336
- Ee(f.id);
1337
- }, children: (f.odds / 1e3).toFixed(2) }, _)) }) })
1367
+ /* @__PURE__ */ h(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
1368
+ /* @__PURE__ */ e(Y, { spacing: 1, children: ((s = (r = (i = t == null ? void 0 : t.outcome) == null ? void 0 : i[0]) == null ? void 0 : r.outcomes) != null ? s : []).map((x, v) => /* @__PURE__ */ e(ze, { text: x.label.toUpperCase() }, v)) }),
1369
+ /* @__PURE__ */ e("div", { className: ne.jugadas, children: /* @__PURE__ */ e(Y, { spacing: 1, children: ((f = (c = (l = t == null ? void 0 : t.outcome) == null ? void 0 : l[0]) == null ? void 0 : c.outcomes) != null ? f : []).map((x, v) => /* @__PURE__ */ e(G, { variant: "primary", fullHeight: !0, onClick: () => {
1370
+ Ee(x.id);
1371
+ }, children: (x.odds / 1e3).toFixed(2) }, v)) }) })
1338
1372
  ] })
1339
1373
  ] }) })
1340
1374
  ] });
@@ -1346,21 +1380,21 @@ function ln({
1346
1380
  onViewMore: a,
1347
1381
  className: i = ""
1348
1382
  }) {
1349
- const r = H(null), [s, l] = D({ isStart: !0, isEnd: !1 }), c = !t || t.length === 0, h = () => {
1383
+ const r = H(null), [s, l] = D({ isStart: !0, isEnd: !1 }), c = !t || t.length === 0, f = () => {
1350
1384
  var y;
1351
1385
  return (y = r.current) == null ? void 0 : y.prev();
1352
- }, f = () => {
1386
+ }, x = () => {
1353
1387
  var y;
1354
1388
  return (y = r.current) == null ? void 0 : y.next();
1355
- }, _ = () => {
1389
+ }, v = () => {
1356
1390
  window.location.href = "https://www.olimpo.bet/promociones";
1357
1391
  }, d = (y) => {
1358
1392
  if (!y || typeof window == "undefined") return;
1359
- const C = `https://www.olimpo.bet/promociones/${encodeURIComponent(y)}`;
1360
- window.location.href = C;
1393
+ const w = `https://www.olimpo.bet/promociones/${encodeURIComponent(y)}`;
1394
+ window.location.href = w;
1361
1395
  };
1362
- return /* @__PURE__ */ m("section", { className: i || void 0, style: { width: "100%" }, children: [
1363
- /* @__PURE__ */ m(
1396
+ return /* @__PURE__ */ h("section", { className: i || void 0, style: { width: "100%" }, children: [
1397
+ /* @__PURE__ */ h(
1364
1398
  "header",
1365
1399
  {
1366
1400
  style: {
@@ -1373,7 +1407,7 @@ function ln({
1373
1407
  },
1374
1408
  children: [
1375
1409
  /* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
1376
- /* @__PURE__ */ m("div", { style: { display: "flex", gap: 8 }, children: [
1410
+ /* @__PURE__ */ h("div", { style: { display: "flex", gap: 8 }, children: [
1377
1411
  /* @__PURE__ */ e(
1378
1412
  G,
1379
1413
  {
@@ -1381,7 +1415,7 @@ function ln({
1381
1415
  variant: "secondary",
1382
1416
  iconOnly: !0,
1383
1417
  leftIcon: /* @__PURE__ */ e(ye, {}),
1384
- onClick: h,
1418
+ onClick: f,
1385
1419
  disabled: s.isStart || c
1386
1420
  }
1387
1421
  ),
@@ -1392,12 +1426,12 @@ function ln({
1392
1426
  variant: "secondary",
1393
1427
  iconOnly: !0,
1394
1428
  rightIcon: /* @__PURE__ */ e(Se, {}),
1395
- onClick: f,
1429
+ onClick: x,
1396
1430
  disabled: s.isEnd || c
1397
1431
  }
1398
1432
  )
1399
1433
  ] }),
1400
- /* @__PURE__ */ e(G, { variant: "secondary", onClick: _, children: "Ver más" })
1434
+ /* @__PURE__ */ e(G, { variant: "secondary", onClick: v, children: "Ver más" })
1401
1435
  ]
1402
1436
  }
1403
1437
  ),
@@ -1448,25 +1482,25 @@ function ln({
1448
1482
  },
1449
1483
  `${y.title}-${y.image}`
1450
1484
  ),
1451
- onMove: ({ isStart: y, isEnd: k }) => l({ isStart: y, isEnd: k })
1485
+ onMove: ({ isStart: y, isEnd: O }) => l({ isStart: y, isEnd: O })
1452
1486
  }
1453
1487
  )
1454
1488
  ] });
1455
1489
  }
1456
- const pe = "__ORACULO_EXTRAS__";
1457
- function Ve() {
1490
+ const me = "__ORACULO_EXTRAS__";
1491
+ function qe() {
1458
1492
  const t = globalThis;
1459
- return t[pe] || (t[pe] = {}), t[pe];
1493
+ return t[me] || (t[me] = {}), t[me];
1460
1494
  }
1461
1495
  function dn(t) {
1462
- Ve().extras = t;
1496
+ qe().extras = t;
1463
1497
  }
1464
1498
  function Q(t) {
1465
1499
  var n;
1466
- return (n = Ve().extras) == null ? void 0 : n[t];
1500
+ return (n = qe().extras) == null ? void 0 : n[t];
1467
1501
  }
1468
1502
  function un() {
1469
- delete globalThis[pe];
1503
+ delete globalThis[me];
1470
1504
  }
1471
1505
  function pn({
1472
1506
  items: t,
@@ -1475,22 +1509,22 @@ function pn({
1475
1509
  onCardClick: a
1476
1510
  }) {
1477
1511
  const i = ce(
1478
- () => (t != null ? t : []).map((c, h) => {
1479
- var f;
1512
+ () => (t != null ? t : []).map((c, f) => {
1513
+ var x;
1480
1514
  return {
1481
1515
  ...c,
1482
- orden: (f = c.orden) != null ? f : h + 1,
1483
- _originalIndex: h
1516
+ orden: (x = c.orden) != null ? x : f + 1,
1517
+ _originalIndex: f
1484
1518
  };
1485
- }).sort((c, h) => c.orden != null && h.orden != null ? c.orden - h.orden : c._originalIndex - h._originalIndex),
1519
+ }).sort((c, f) => c.orden != null && f.orden != null ? c.orden - f.orden : c._originalIndex - f._originalIndex),
1486
1520
  [t]
1487
1521
  ), r = !t || t.length === 0, s = r ? Array.from({ length: 6 }) : i.slice(0, 6), l = (c) => {
1488
- const h = Q("showIframe"), f = Q("loadMachine");
1489
- h == null || h(), requestAnimationFrame(() => {
1490
- f == null || f(c, !1, "CASINO");
1522
+ const f = Q("showIframe"), x = Q("loadMachine");
1523
+ f == null || f(), requestAnimationFrame(() => {
1524
+ x == null || x(c, !1, "CASINO");
1491
1525
  });
1492
1526
  };
1493
- return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ m(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1527
+ return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1494
1528
  /* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
1495
1529
  /* @__PURE__ */ e(
1496
1530
  T,
@@ -1505,19 +1539,19 @@ function pn({
1505
1539
  justifyItems: "center",
1506
1540
  width: "100%"
1507
1541
  },
1508
- children: s.map((c, h) => {
1509
- var f, _;
1542
+ children: s.map((c, f) => {
1543
+ var x, v;
1510
1544
  return /* @__PURE__ */ e(
1511
- Bt,
1545
+ Wt,
1512
1546
  {
1513
- imageUrl: r ? "" : c.background ? `https://olimpo.bet${c.background}` : `https://olimpo.bet${(f = c.logo) != null ? f : ""}`,
1514
- orden: r ? h + 1 : c.orden,
1547
+ imageUrl: r ? "" : c.background ? `https://olimpo.bet${c.background}` : `https://olimpo.bet${(x = c.logo) != null ? x : ""}`,
1548
+ orden: r ? f + 1 : c.orden,
1515
1549
  loading: r,
1516
1550
  onClick: r ? void 0 : () => {
1517
1551
  a == null || a(c), l(c);
1518
1552
  }
1519
1553
  },
1520
- r ? `sk-${h}` : (_ = c.machine) != null ? _ : `${h}`
1554
+ r ? `sk-${f}` : (v = c.machine) != null ? v : `${f}`
1521
1555
  );
1522
1556
  })
1523
1557
  }
@@ -1537,12 +1571,12 @@ const mn = (t, n) => {
1537
1571
  className: s
1538
1572
  }) => {
1539
1573
  const l = (c) => {
1540
- const h = Q("showIframe"), f = Q("loadMachine");
1541
- h == null || h(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1542
- f == null || f(c, !1, "casino_en_vivo");
1574
+ const f = Q("showIframe"), x = Q("loadMachine");
1575
+ f == null || f(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
1576
+ x == null || x(c, !1, "casino_en_vivo");
1543
1577
  });
1544
1578
  };
1545
- return /* @__PURE__ */ m(
1579
+ return /* @__PURE__ */ h(
1546
1580
  T,
1547
1581
  {
1548
1582
  className: s,
@@ -1577,7 +1611,7 @@ const mn = (t, n) => {
1577
1611
  }
1578
1612
  }
1579
1613
  ),
1580
- /* @__PURE__ */ m(
1614
+ /* @__PURE__ */ h(
1581
1615
  T,
1582
1616
  {
1583
1617
  sx: {
@@ -1595,7 +1629,7 @@ const mn = (t, n) => {
1595
1629
  textAlign: { xs: "center", md: "left" }
1596
1630
  },
1597
1631
  children: [
1598
- /* @__PURE__ */ m(z, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1632
+ /* @__PURE__ */ h(z, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
1599
1633
  /* @__PURE__ */ e(
1600
1634
  X,
1601
1635
  {
@@ -1642,18 +1676,18 @@ const mn = (t, n) => {
1642
1676
  py: { xs: 3, md: 0 },
1643
1677
  alignItems: "center"
1644
1678
  },
1645
- children: (t != null ? t : []).slice(0, 3).map((c, h) => {
1646
- var f;
1679
+ children: (t != null ? t : []).slice(0, 3).map((c, f) => {
1680
+ var x;
1647
1681
  return /* @__PURE__ */ e(
1648
- Pt,
1682
+ Bt,
1649
1683
  {
1650
- logo: `https://olimpo.bet${c.background ? c.background : (f = c.logo) != null ? f : ""}`,
1684
+ logo: `https://olimpo.bet${c.background ? c.background : (x = c.logo) != null ? x : ""}`,
1651
1685
  provider: c.provider,
1652
1686
  providerName: c.web_name,
1653
1687
  machine: c.machine,
1654
1688
  onClick: () => l(c)
1655
1689
  },
1656
- mn(c, h)
1690
+ mn(c, f)
1657
1691
  );
1658
1692
  })
1659
1693
  }
@@ -1676,7 +1710,7 @@ const mn = (t, n) => {
1676
1710
  }, Ke = (t, n) => {
1677
1711
  var o, a;
1678
1712
  return (a = (o = t.orden) != null ? o : t.machine) != null ? a : n;
1679
- }, fn = (t, n = !0, o = 4) => {
1713
+ }, fn = (t, n = !0, o = 1) => {
1680
1714
  const a = t.map((s, l) => {
1681
1715
  var c;
1682
1716
  return {
@@ -1689,7 +1723,7 @@ const mn = (t, n) => {
1689
1723
  const i = [];
1690
1724
  let r = 0;
1691
1725
  if (n) {
1692
- const s = Math.min(a.length, 5);
1726
+ const s = Math.min(a.length, 1);
1693
1727
  i.push({ id: "mosaic-0", kind: "mosaic", items: a.slice(0, s) }), r = s;
1694
1728
  }
1695
1729
  for (; r < a.length; ) {
@@ -1704,22 +1738,22 @@ const mn = (t, n) => {
1704
1738
  onItemClick: a,
1705
1739
  onViewMore: i,
1706
1740
  mosaicFirst: r = !0,
1707
- gridSize: s = 4
1741
+ gridSize: s = 1
1708
1742
  }) => {
1709
- const l = H(null), [c, h] = D({ isStart: !0, isEnd: !1 }), f = () => {
1710
- var C;
1711
- return (C = l.current) == null ? void 0 : C.prev();
1712
- }, _ = () => {
1713
- var C;
1714
- return (C = l.current) == null ? void 0 : C.next();
1743
+ const l = H(null), [c, f] = D({ isStart: !0, isEnd: !1 }), x = () => {
1744
+ var w;
1745
+ return (w = l.current) == null ? void 0 : w.prev();
1746
+ }, v = () => {
1747
+ var w;
1748
+ return (w = l.current) == null ? void 0 : w.next();
1715
1749
  }, d = () => {
1716
1750
  window.location.href = "https://www.olimpo.bet/casino";
1717
- }, E = (C = !0, S = 4) => {
1718
- const R = (w) => Array.from({ length: w }, (M, N) => ({ id: `sk-${w}-${N}`, imageUrl: "" })), v = [];
1719
- return C && v.push({ id: "mosaic-loading", kind: "mosaic", items: R(5) }), v.push({ id: "grid-loading", kind: "grid", items: R(S) }), v;
1720
- }, y = !t || t.length === 0, k = y ? E(r, s) : fn(t, r, s);
1721
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ m(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1722
- /* @__PURE__ */ m(
1751
+ }, C = (w = !0, M = 4) => {
1752
+ const B = (m) => Array.from({ length: m }, (E, k) => ({ id: `sk-${m}-${k}`, imageUrl: "" })), S = [];
1753
+ return w && S.push({ id: "mosaic-loading", kind: "mosaic", items: B(5) }), S.push({ id: "grid-loading", kind: "grid", items: B(M) }), S;
1754
+ }, y = !t || t.length === 0, O = y ? C(r, s) : fn(t, r, s);
1755
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ h(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1756
+ /* @__PURE__ */ h(
1723
1757
  T,
1724
1758
  {
1725
1759
  sx: {
@@ -1731,7 +1765,7 @@ const mn = (t, n) => {
1731
1765
  },
1732
1766
  children: [
1733
1767
  /* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
1734
- /* @__PURE__ */ m(T, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
1768
+ /* @__PURE__ */ h(T, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
1735
1769
  /* @__PURE__ */ e(
1736
1770
  G,
1737
1771
  {
@@ -1739,7 +1773,7 @@ const mn = (t, n) => {
1739
1773
  variant: "secondary",
1740
1774
  iconOnly: !0,
1741
1775
  leftIcon: /* @__PURE__ */ e(Be, {}),
1742
- onClick: f,
1776
+ onClick: x,
1743
1777
  disabled: c.isStart
1744
1778
  }
1745
1779
  ),
@@ -1750,7 +1784,7 @@ const mn = (t, n) => {
1750
1784
  variant: "secondary",
1751
1785
  iconOnly: !0,
1752
1786
  rightIcon: /* @__PURE__ */ e(Pe, {}),
1753
- onClick: _,
1787
+ onClick: v,
1754
1788
  disabled: c.isEnd
1755
1789
  }
1756
1790
  )
@@ -1763,7 +1797,7 @@ const mn = (t, n) => {
1763
1797
  te,
1764
1798
  {
1765
1799
  ref: l,
1766
- items: k,
1800
+ items: O,
1767
1801
  perPage: 1,
1768
1802
  gap: "0px",
1769
1803
  enableHorizontalWheel: !0,
@@ -1776,29 +1810,29 @@ const mn = (t, n) => {
1776
1810
  drag: !0,
1777
1811
  focus: "start"
1778
1812
  },
1779
- renderItem: (C) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1780
- Ue,
1813
+ renderItem: (w) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1814
+ De,
1781
1815
  {
1782
- items: C.items,
1783
- layout: C.kind === "mosaic" ? "mosaic" : "grid",
1816
+ items: w.items,
1817
+ layout: w.kind === "mosaic" ? "mosaic" : "grid",
1784
1818
  loading: y,
1785
- onClick: (S) => {
1819
+ onClick: (M) => {
1786
1820
  if (y) return;
1787
- const R = t.find((M, N) => String(Ke(M, N)) === String(S.id));
1788
- if (!R) return;
1789
- const v = Q("showIframe"), w = Q("loadMachine");
1790
- v == null || v(), w == null || w(R, !1, "CASINO");
1821
+ const B = t.find((E, k) => String(Ke(E, k)) === String(M.id));
1822
+ if (!B) return;
1823
+ const S = Q("showIframe"), m = Q("loadMachine");
1824
+ S == null || S(), m == null || m(B, !1, "CASINO");
1791
1825
  }
1792
1826
  }
1793
1827
  ) }),
1794
- onMove: ({ isStart: C, isEnd: S }) => h({ isStart: C, isEnd: S })
1828
+ onMove: ({ isStart: w, isEnd: M }) => f({ isStart: w, isEnd: M })
1795
1829
  }
1796
1830
  )
1797
1831
  ] }) });
1798
1832
  }, Je = (t, n) => {
1799
1833
  var o, a;
1800
1834
  return (a = (o = t.orden) != null ? o : t.machine) != null ? a : n;
1801
- }, xn = (t, n = !0, o = 4) => {
1835
+ }, xn = (t, n = !0, o = 1) => {
1802
1836
  const a = t.map((s, l) => {
1803
1837
  var c;
1804
1838
  return {
@@ -1811,7 +1845,7 @@ const mn = (t, n) => {
1811
1845
  const i = [];
1812
1846
  let r = 0;
1813
1847
  if (n) {
1814
- const s = Math.min(a.length, 5);
1848
+ const s = Math.min(a.length, 1);
1815
1849
  i.push({ id: "mosaic-0", kind: "mosaic", items: a.slice(0, s) }), r = s;
1816
1850
  }
1817
1851
  for (; r < a.length; ) {
@@ -1829,19 +1863,19 @@ const mn = (t, n) => {
1829
1863
  onItemClick: a,
1830
1864
  onViewMore: i,
1831
1865
  mosaicFirst: r = !0,
1832
- gridSize: s = 4
1866
+ gridSize: s = 1
1833
1867
  }) => {
1834
- const l = H(null), [c, h] = D({ isStart: !0, isEnd: !1 }), f = () => {
1835
- var k;
1836
- return (k = l.current) == null ? void 0 : k.prev();
1837
- }, _ = () => {
1838
- var k;
1839
- return (k = l.current) == null ? void 0 : k.next();
1868
+ const l = H(null), [c, f] = D({ isStart: !0, isEnd: !1 }), x = () => {
1869
+ var O;
1870
+ return (O = l.current) == null ? void 0 : O.prev();
1871
+ }, v = () => {
1872
+ var O;
1873
+ return (O = l.current) == null ? void 0 : O.next();
1840
1874
  }, d = () => {
1841
1875
  window.location.href = "https://www.olimpo.bet/juegos-virtuales";
1842
- }, E = !t || t.length === 0, y = E ? bn(r, s) : xn(t, r, s);
1843
- return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ m(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1844
- /* @__PURE__ */ m(
1876
+ }, C = !t || t.length === 0, y = C ? bn(r, s) : xn(t, r, s);
1877
+ return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ h(z, { direction: "column", spacing: 2, useFlexGap: !0, children: [
1878
+ /* @__PURE__ */ h(
1845
1879
  T,
1846
1880
  {
1847
1881
  sx: {
@@ -1853,7 +1887,7 @@ const mn = (t, n) => {
1853
1887
  },
1854
1888
  children: [
1855
1889
  /* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
1856
- /* @__PURE__ */ m(T, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
1890
+ /* @__PURE__ */ h(T, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
1857
1891
  /* @__PURE__ */ e(
1858
1892
  G,
1859
1893
  {
@@ -1861,7 +1895,7 @@ const mn = (t, n) => {
1861
1895
  variant: "secondary",
1862
1896
  iconOnly: !0,
1863
1897
  leftIcon: /* @__PURE__ */ e(Be, {}),
1864
- onClick: f,
1898
+ onClick: x,
1865
1899
  disabled: c.isStart
1866
1900
  }
1867
1901
  ),
@@ -1872,7 +1906,7 @@ const mn = (t, n) => {
1872
1906
  variant: "secondary",
1873
1907
  iconOnly: !0,
1874
1908
  rightIcon: /* @__PURE__ */ e(Pe, {}),
1875
- onClick: _,
1909
+ onClick: v,
1876
1910
  disabled: c.isEnd
1877
1911
  }
1878
1912
  )
@@ -1899,25 +1933,25 @@ const mn = (t, n) => {
1899
1933
  focus: "start",
1900
1934
  perMove: 1
1901
1935
  },
1902
- renderItem: (k) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1903
- Ue,
1936
+ renderItem: (O) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
1937
+ De,
1904
1938
  {
1905
- items: k.items,
1906
- layout: k.kind === "mosaic" ? "mosaic" : "grid",
1907
- loading: E,
1908
- onClick: (C) => {
1909
- if (E) return;
1910
- const S = t.find((w, M) => String(Je(w, M)) === String(C.id));
1911
- if (!S) {
1912
- console.warn("[virtuales] no se encontró game para id:", C.id);
1939
+ items: O.items,
1940
+ layout: O.kind === "mosaic" ? "mosaic" : "grid",
1941
+ loading: C,
1942
+ onClick: (w) => {
1943
+ if (C) return;
1944
+ const M = t.find((m, E) => String(Je(m, E)) === String(w.id));
1945
+ if (!M) {
1946
+ console.warn("[virtuales] no se encontró game para id:", w.id);
1913
1947
  return;
1914
1948
  }
1915
- const R = Q("showIframe"), v = Q("loadMachine");
1916
- R == null || R(), v == null || v(S, !1, "VIRTUALES");
1949
+ const B = Q("showIframe"), S = Q("loadMachine");
1950
+ B == null || B(), S == null || S(M, !1, "VIRTUALES");
1917
1951
  }
1918
1952
  }
1919
1953
  ) }),
1920
- onMove: ({ isStart: k, isEnd: C }) => h({ isStart: k, isEnd: C })
1954
+ onMove: ({ isStart: O, isEnd: w }) => f({ isStart: O, isEnd: w })
1921
1955
  }
1922
1956
  )
1923
1957
  ] }) });
@@ -1959,38 +1993,38 @@ const mn = (t, n) => {
1959
1993
  items: o,
1960
1994
  backgroundImageUrl: a
1961
1995
  }) => {
1962
- const i = ot("(max-width: 767px)"), r = o.length > 1, s = H(null), l = H(null), [c, h] = D(0), [f, _] = D({ isStart: !0, isEnd: !1 }), d = H(f);
1963
- K(() => {
1964
- d.current = f;
1965
- }, [f]);
1966
- const E = H(!1), y = H(null), k = o == null ? void 0 : o[c], C = ce(
1996
+ const i = ot("(max-width: 767px)"), r = o.length > 1, s = H(null), l = H(null), [c, f] = D(0), [x, v] = D({ isStart: !0, isEnd: !1 }), d = H(x);
1997
+ q(() => {
1998
+ d.current = x;
1999
+ }, [x]);
2000
+ const C = H(!1), y = H(null), O = o == null ? void 0 : o[c], w = ce(
1967
2001
  () => {
1968
- var w, M;
1969
- return (M = (w = k == null ? void 0 : k.backgroundImageUrl) != null ? w : a) != null ? M : "";
2002
+ var m, E;
2003
+ return (E = (m = O == null ? void 0 : O.backgroundImageUrl) != null ? m : a) != null ? E : "";
1970
2004
  },
1971
- [k, a]
1972
- ), S = vn(C), R = !o || o.length === 0;
1973
- K(() => {
1974
- const w = l.current;
1975
- if (!w) return;
1976
- const M = 6, N = 380, O = ($) => {
1977
- var u, p;
1978
- if (R || $.ctrlKey || E.current) return;
1979
- const F = $.deltaX, W = $.deltaY;
1980
- if (Math.abs(F) <= Math.abs(W) || Math.abs(F) < M) return;
1981
- const B = F > 0;
1982
- B && d.current.isEnd || !B && d.current.isStart || ($.preventDefault(), E.current = !0, B ? (u = s.current) == null || u.next() : (p = s.current) == null || p.prev(), y.current && window.clearTimeout(y.current), y.current = window.setTimeout(() => {
1983
- E.current = !1;
1984
- }, N));
2005
+ [O, a]
2006
+ ), M = vn(w), B = !o || o.length === 0;
2007
+ q(() => {
2008
+ const m = l.current;
2009
+ if (!m) return;
2010
+ const E = 6, k = 380, I = (N) => {
2011
+ var p, u;
2012
+ if (B || N.ctrlKey || C.current) return;
2013
+ const F = N.deltaX, P = N.deltaY;
2014
+ if (Math.abs(F) <= Math.abs(P) || Math.abs(F) < E) return;
2015
+ const L = F > 0;
2016
+ L && d.current.isEnd || !L && d.current.isStart || (N.preventDefault(), C.current = !0, L ? (p = s.current) == null || p.next() : (u = s.current) == null || u.prev(), y.current && window.clearTimeout(y.current), y.current = window.setTimeout(() => {
2017
+ C.current = !1;
2018
+ }, k));
1985
2019
  };
1986
- return w.addEventListener("wheel", O, { passive: !1 }), () => {
1987
- w.removeEventListener("wheel", O), y.current && window.clearTimeout(y.current);
2020
+ return m.addEventListener("wheel", I, { passive: !1 }), () => {
2021
+ m.removeEventListener("wheel", I), y.current && window.clearTimeout(y.current);
1988
2022
  };
1989
- }, [R]);
1990
- const v = (w, M) => {
1991
- var $, F;
1992
- const N = ($ = w.headline) != null ? $ : t, O = (F = w.headline2) != null ? F : n;
1993
- return M ? /* @__PURE__ */ m(
2023
+ }, [B]);
2024
+ const S = (m, E) => {
2025
+ var N, F;
2026
+ const k = (N = m.headline) != null ? N : t, I = (F = m.headline2) != null ? F : n;
2027
+ return E ? /* @__PURE__ */ h(
1994
2028
  T,
1995
2029
  {
1996
2030
  sx: {
@@ -2003,7 +2037,7 @@ const mn = (t, n) => {
2003
2037
  columnGap: 6
2004
2038
  },
2005
2039
  children: [
2006
- (N || O) && /* @__PURE__ */ e(
2040
+ (k || I) && /* @__PURE__ */ e(
2007
2041
  T,
2008
2042
  {
2009
2043
  sx: {
@@ -2012,30 +2046,30 @@ const mn = (t, n) => {
2012
2046
  justifyContent: "flex-start",
2013
2047
  minHeight: "100%"
2014
2048
  },
2015
- children: /* @__PURE__ */ m(T, { sx: { ...$e, textAlign: "left", mb: 0 }, children: [
2016
- N && /* @__PURE__ */ e(X, { component: "span", sx: Ne, children: N }),
2017
- O && /* @__PURE__ */ m(oe, { children: [
2049
+ children: /* @__PURE__ */ h(T, { sx: { ...$e, textAlign: "left", mb: 0 }, children: [
2050
+ k && /* @__PURE__ */ e(X, { component: "span", sx: Ne, children: k }),
2051
+ I && /* @__PURE__ */ h(oe, { children: [
2018
2052
  /* @__PURE__ */ e("br", {}),
2019
- /* @__PURE__ */ e(X, { component: "span", sx: Te, children: O })
2053
+ /* @__PURE__ */ e(X, { component: "span", sx: Te, children: I })
2020
2054
  ] })
2021
2055
  ] })
2022
2056
  }
2023
2057
  ),
2024
- /* @__PURE__ */ e(T, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e(T, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ e(ke, { ...w, onButtonClick: w.onButtonClick, variant: "large" }) }) })
2058
+ /* @__PURE__ */ e(T, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e(T, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ e(ke, { ...m, onButtonClick: m.onButtonClick, variant: "large" }) }) })
2025
2059
  ]
2026
2060
  }
2027
- ) : /* @__PURE__ */ m(T, { sx: { textAlign: "center" }, children: [
2028
- (N || O) && /* @__PURE__ */ m(T, { sx: $e, children: [
2029
- N && /* @__PURE__ */ e(X, { component: "span", sx: Ne, children: N }),
2030
- O && /* @__PURE__ */ m(oe, { children: [
2061
+ ) : /* @__PURE__ */ h(T, { sx: { textAlign: "center" }, children: [
2062
+ (k || I) && /* @__PURE__ */ h(T, { sx: $e, children: [
2063
+ k && /* @__PURE__ */ e(X, { component: "span", sx: Ne, children: k }),
2064
+ I && /* @__PURE__ */ h(oe, { children: [
2031
2065
  /* @__PURE__ */ e("br", {}),
2032
- /* @__PURE__ */ e(X, { component: "span", sx: Te, children: O })
2066
+ /* @__PURE__ */ e(X, { component: "span", sx: Te, children: I })
2033
2067
  ] })
2034
2068
  ] }),
2035
- /* @__PURE__ */ e(T, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(ke, { ...w, onButtonClick: w.onButtonClick, variant: "small" }) })
2069
+ /* @__PURE__ */ e(T, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(ke, { ...m, onButtonClick: m.onButtonClick, variant: "small" }) })
2036
2070
  ] });
2037
2071
  };
2038
- return /* @__PURE__ */ m(T, { component: "section", sx: S, children: [
2072
+ return /* @__PURE__ */ h(T, { component: "section", sx: M, children: [
2039
2073
  /* @__PURE__ */ e("div", { ref: l, style: { width: "100%" }, children: /* @__PURE__ */ e(
2040
2074
  te,
2041
2075
  {
@@ -2053,20 +2087,20 @@ const mn = (t, n) => {
2053
2087
  // arrows: false,
2054
2088
  // drag: true,
2055
2089
  },
2056
- renderItem: (w) => /* @__PURE__ */ e(T, { sx: { width: "100%" }, children: v(w, !i) }),
2057
- onMove: ({ index: w, isStart: M, isEnd: N }) => {
2058
- h(w), typeof M == "boolean" && typeof N == "boolean" && _({ isStart: M, isEnd: N });
2090
+ renderItem: (m) => /* @__PURE__ */ e(T, { sx: { width: "100%" }, children: S(m, !i) }),
2091
+ onMove: ({ index: m, isStart: E, isEnd: k }) => {
2092
+ f(m), typeof E == "boolean" && typeof k == "boolean" && v({ isStart: E, isEnd: k });
2059
2093
  }
2060
2094
  }
2061
2095
  ) }),
2062
2096
  r && /* @__PURE__ */ e(T, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
2063
- We,
2097
+ Ae,
2064
2098
  {
2065
2099
  total: o.length,
2066
2100
  active: c,
2067
- onSelect: (w) => {
2068
- var M;
2069
- h(w), (M = s.current) == null || M.go(w);
2101
+ onSelect: (m) => {
2102
+ var E;
2103
+ f(m), (E = s.current) == null || E.go(m);
2070
2104
  }
2071
2105
  }
2072
2106
  ) })
@@ -2085,15 +2119,15 @@ const mn = (t, n) => {
2085
2119
  }, c = Array.isArray(o) ? o[a] : o;
2086
2120
  et(() => {
2087
2121
  if (!r.current || !s.current || typeof ResizeObserver == "undefined") return;
2088
- const f = r.current, _ = s.current, d = () => {
2089
- f.style.setProperty(
2122
+ const x = r.current, v = s.current, d = () => {
2123
+ x.style.setProperty(
2090
2124
  "--orc-co-bottomH",
2091
- `${_.offsetHeight + 16}px`
2125
+ `${v.offsetHeight + 16}px`
2092
2126
  );
2093
- }, E = new ResizeObserver(d);
2094
- return E.observe(_), d(), () => E.disconnect();
2127
+ }, C = new ResizeObserver(d);
2128
+ return C.observe(v), d(), () => C.disconnect();
2095
2129
  }, []);
2096
- const h = [
2130
+ const f = [
2097
2131
  "orc-co-wrap",
2098
2132
  n ? "orc-co-fullBleed" : "",
2099
2133
  t
@@ -2102,10 +2136,10 @@ const mn = (t, n) => {
2102
2136
  "section",
2103
2137
  {
2104
2138
  ref: r,
2105
- className: h,
2139
+ className: f,
2106
2140
  "aria-label": i || c.imgAlt || "Club Olimpo",
2107
2141
  children: /* @__PURE__ */ e("div", { ref: s, children: /* @__PURE__ */ e(
2108
- Wt,
2142
+ Pt,
2109
2143
  {
2110
2144
  text: c.text,
2111
2145
  onClick: l,
@@ -2127,115 +2161,115 @@ function Cn({
2127
2161
  onViewMore: a,
2128
2162
  className: i = ""
2129
2163
  }) {
2130
- const r = H(null), [s, l] = D({ isStart: !0, isEnd: !1 }), [c, h] = D([]), 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", _ = () => {
2131
- var v;
2132
- (v = r.current) == null || v.prev();
2164
+ const r = H(null), [s, l] = D({ isStart: !0, isEnd: !1 }), [c, f] = D([]), x = "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 = () => {
2165
+ var S;
2166
+ (S = r.current) == null || S.prev();
2133
2167
  }, d = () => {
2134
- var v;
2135
- (v = r.current) == null || v.next();
2136
- }, E = () => {
2137
- qt();
2168
+ var S;
2169
+ (S = r.current) == null || S.next();
2170
+ }, C = () => {
2171
+ Jt();
2138
2172
  };
2139
2173
  async function y() {
2140
- var v, w, M;
2174
+ var S, m, E;
2141
2175
  try {
2142
- const O = await (await fetch(f)).json(), $ = (M = (w = (v = O == null ? void 0 : O.group) == null ? void 0 : v.groups) == null ? void 0 : w[0]) == null ? void 0 : M.id;
2143
- if (!$) {
2176
+ const I = await (await fetch(x)).json(), N = (E = (m = (S = I == null ? void 0 : I.group) == null ? void 0 : S.groups) == null ? void 0 : m[0]) == null ? void 0 : E.id;
2177
+ if (!N) {
2144
2178
  console.error("Could not extract group ID");
2145
2179
  return;
2146
2180
  }
2147
- const F = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${$}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, B = await (await fetch(F)).json();
2148
- h(
2149
- k(B.events, B.betOffers, B.prePackCoupons)
2181
+ const F = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${N}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, L = await (await fetch(F)).json();
2182
+ f(
2183
+ O(L.events, L.betOffers, L.prePackCoupons)
2150
2184
  );
2151
- } catch (N) {
2152
- console.error("loadDataEventSpecial error:", N);
2185
+ } catch (k) {
2186
+ console.error("loadDataEventSpecial error:", k);
2153
2187
  }
2154
2188
  }
2155
- function k(v, w, M) {
2156
- const N = [];
2157
- for (const O of M) {
2158
- const $ = S([O]), F = C(O), W = w.reduce((B, u) => {
2159
- var b, x;
2160
- B[u.eventId] || (B[u.eventId] = []);
2161
- const p = u.outcomes.filter(
2162
- (g) => $.has(g.id)
2189
+ function O(S, m, E) {
2190
+ const k = [];
2191
+ for (const I of E) {
2192
+ const N = M([I]), F = w(I), P = m.reduce((L, p) => {
2193
+ var _, g;
2194
+ L[p.eventId] || (L[p.eventId] = []);
2195
+ const u = p.outcomes.filter(
2196
+ (b) => N.has(b.id)
2163
2197
  );
2164
- if (p.length > 0) {
2165
- const g = Array.from(
2166
- (x = (b = F == null ? void 0 : F[0]) == null ? void 0 : b.requiredOutcomeIds) != null ? x : []
2167
- ), I = p.map((L) => ({
2168
- ...L,
2169
- position: g.indexOf(L.id)
2198
+ if (u.length > 0) {
2199
+ const b = Array.from(
2200
+ (g = (_ = F == null ? void 0 : F[0]) == null ? void 0 : _.requiredOutcomeIds) != null ? g : []
2201
+ ), $ = u.map((R) => ({
2202
+ ...R,
2203
+ position: b.indexOf(R.id)
2170
2204
  }));
2171
- B[u.eventId].push({
2172
- ...u,
2173
- outcomes: I
2205
+ L[p.eventId].push({
2206
+ ...p,
2207
+ outcomes: $
2174
2208
  });
2175
2209
  }
2176
- return B;
2210
+ return L;
2177
2211
  }, {});
2178
- v.forEach((B) => {
2179
- if (B.id !== O.prePackCouponRows[0].eventId) return;
2180
- const u = $;
2181
- let p = null;
2182
- for (const b of F)
2183
- if ([...b.requiredOutcomeIds].every((g) => u.has(g))) {
2184
- p = b.decimal;
2212
+ S.forEach((L) => {
2213
+ if (L.id !== I.prePackCouponRows[0].eventId) return;
2214
+ const p = N;
2215
+ let u = null;
2216
+ for (const _ of F)
2217
+ if ([..._.requiredOutcomeIds].every((b) => p.has(b))) {
2218
+ u = _.decimal;
2185
2219
  break;
2186
2220
  }
2187
- N.push({
2188
- ...B,
2189
- combinadoTotal: p,
2190
- betoffers: W[B.id] || [],
2191
- couponId: O.id
2221
+ k.push({
2222
+ ...L,
2223
+ combinadoTotal: u,
2224
+ betoffers: P[L.id] || [],
2225
+ couponId: I.id
2192
2226
  // optional for tracking
2193
2227
  });
2194
2228
  });
2195
2229
  }
2196
- return N;
2230
+ return k;
2197
2231
  }
2198
- function C(v) {
2199
- var M;
2200
- const w = [];
2201
- for (const N of v.prePackCouponRows)
2202
- if (N.type === "BET_BUILDER" && ((M = N.group) != null && M.groups)) {
2203
- const O = /* @__PURE__ */ new Set();
2204
- N.group.groups.forEach(($) => {
2232
+ function w(S) {
2233
+ var E;
2234
+ const m = [];
2235
+ for (const k of S.prePackCouponRows)
2236
+ if (k.type === "BET_BUILDER" && ((E = k.group) != null && E.groups)) {
2237
+ const I = /* @__PURE__ */ new Set();
2238
+ k.group.groups.forEach((N) => {
2205
2239
  var F;
2206
- (F = $.outcomes) == null || F.forEach((W) => O.add(W.id));
2207
- }), w.push({
2208
- requiredOutcomeIds: O,
2209
- decimal: N.odds.decimal
2240
+ (F = N.outcomes) == null || F.forEach((P) => I.add(P.id));
2241
+ }), m.push({
2242
+ requiredOutcomeIds: I,
2243
+ decimal: k.odds.decimal
2210
2244
  });
2211
2245
  }
2212
- return w;
2246
+ return m;
2213
2247
  }
2214
- function S(v) {
2215
- var M;
2216
- const w = /* @__PURE__ */ new Set();
2217
- for (const N of v)
2218
- for (const O of N.prePackCouponRows)
2219
- O.type === "BET_BUILDER" && ((M = O.group) != null && M.groups) && O.group.groups.forEach(($) => {
2248
+ function M(S) {
2249
+ var E;
2250
+ const m = /* @__PURE__ */ new Set();
2251
+ for (const k of S)
2252
+ for (const I of k.prePackCouponRows)
2253
+ I.type === "BET_BUILDER" && ((E = I.group) != null && E.groups) && I.group.groups.forEach((N) => {
2220
2254
  var F;
2221
- (F = $.outcomes) == null || F.forEach((W) => w.add(W.id));
2222
- }), O.type === "SIMPLE" && O.outcome && w.add(O.outcome.id);
2223
- return w;
2255
+ (F = N.outcomes) == null || F.forEach((P) => m.add(P.id));
2256
+ }), I.type === "SIMPLE" && I.outcome && m.add(I.outcome.id);
2257
+ return m;
2224
2258
  }
2225
- K(() => {
2259
+ q(() => {
2226
2260
  y();
2227
2261
  }, []);
2228
- const R = i || void 0;
2229
- return !c || c.length === 0 ? null : /* @__PURE__ */ e("section", { className: R, style: {
2262
+ const B = i || void 0;
2263
+ return !c || c.length === 0 ? null : /* @__PURE__ */ e("section", { className: B, style: {
2230
2264
  // paddingLeft: 16,
2231
2265
  // paddingRight: 16,
2232
2266
  width: "100%",
2233
2267
  boxSizing: "border-box"
2234
- }, children: /* @__PURE__ */ m(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2235
- /* @__PURE__ */ m(Y, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2268
+ }, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2269
+ /* @__PURE__ */ h(Y, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2236
2270
  /* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
2237
- /* @__PURE__ */ m("div", { className: En.controls, children: [
2238
- /* @__PURE__ */ m(Y, { spacing: 1, columns: "auto auto", children: [
2271
+ /* @__PURE__ */ h("div", { className: En.controls, children: [
2272
+ /* @__PURE__ */ h(Y, { spacing: 1, columns: "auto auto", children: [
2239
2273
  /* @__PURE__ */ e(
2240
2274
  G,
2241
2275
  {
@@ -2243,7 +2277,7 @@ function Cn({
2243
2277
  variant: "secondary",
2244
2278
  iconOnly: !0,
2245
2279
  leftIcon: /* @__PURE__ */ e(ye, {}),
2246
- onClick: _,
2280
+ onClick: v,
2247
2281
  disabled: s.isStart
2248
2282
  }
2249
2283
  ),
@@ -2259,14 +2293,14 @@ function Cn({
2259
2293
  }
2260
2294
  )
2261
2295
  ] }),
2262
- /* @__PURE__ */ e(G, { variant: "secondary", onClick: E, children: "Ver más" })
2296
+ /* @__PURE__ */ e(G, { variant: "secondary", onClick: C, children: "Ver más" })
2263
2297
  ] })
2264
2298
  ] }),
2265
2299
  /* @__PURE__ */ e(
2266
2300
  te,
2267
2301
  {
2268
2302
  ref: r,
2269
- items: c.filter((v) => v.combinadoTotal !== null),
2303
+ items: c.filter((S) => S.combinadoTotal !== null),
2270
2304
  perPage: void 0,
2271
2305
  gap: "16px",
2272
2306
  options: { autoWidth: !0, trimSpace: "move" },
@@ -2275,8 +2309,8 @@ function Cn({
2275
2309
  breakpoints: {
2276
2310
  768: { perPage: 1.2, gap: "12px", padding: { left: "0px", right: "0px" } }
2277
2311
  },
2278
- renderItem: (v) => /* @__PURE__ */ e(Xt, { event: v }),
2279
- onMove: ({ isStart: v, isEnd: w }) => l({ isStart: v, isEnd: w })
2312
+ renderItem: (S) => /* @__PURE__ */ e(Xt, { event: S }),
2313
+ onMove: ({ isStart: S, isEnd: m }) => l({ isStart: S, isEnd: m })
2280
2314
  }
2281
2315
  )
2282
2316
  ] }) });
@@ -2285,28 +2319,28 @@ function kn({}) {
2285
2319
  return /* @__PURE__ */ e(
2286
2320
  "div",
2287
2321
  {
2288
- className: He.cardWrapper,
2289
- children: /* @__PURE__ */ m(z, { direction: "column", spacing: 1, children: [
2290
- /* @__PURE__ */ m(z, { spacing: 1, direction: "row", children: [
2322
+ className: Ve.cardWrapper,
2323
+ children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1, children: [
2324
+ /* @__PURE__ */ h(z, { spacing: 1, direction: "row", children: [
2291
2325
  /* @__PURE__ */ e(A, { variant: "text", width: "60%", height: 24 }),
2292
2326
  /* @__PURE__ */ e(A, { variant: "text", width: "39%", height: 24 })
2293
2327
  ] }),
2294
- /* @__PURE__ */ m(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2328
+ /* @__PURE__ */ h(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2295
2329
  /* @__PURE__ */ e(A, { variant: "circular", width: 32, height: 40 }),
2296
2330
  /* @__PURE__ */ e(A, { variant: "text", width: 40, height: 40 }),
2297
2331
  /* @__PURE__ */ e(A, { variant: "circular", width: 32, height: 40 })
2298
2332
  ] }),
2299
- /* @__PURE__ */ m(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2333
+ /* @__PURE__ */ h(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2300
2334
  /* @__PURE__ */ e(A, { variant: "text", width: 32, height: 16 }),
2301
2335
  /* @__PURE__ */ e(A, { variant: "text", width: 40, height: 16 }),
2302
2336
  /* @__PURE__ */ e(A, { variant: "text", width: 32, height: 16 })
2303
2337
  ] }),
2304
- /* @__PURE__ */ m(z, { spacing: 2, direction: "row", children: [
2338
+ /* @__PURE__ */ h(z, { spacing: 2, direction: "row", children: [
2305
2339
  /* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 16 }),
2306
2340
  /* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 16 }),
2307
2341
  /* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 16 })
2308
2342
  ] }),
2309
- /* @__PURE__ */ m(z, { spacing: 2, direction: "row", children: [
2343
+ /* @__PURE__ */ h(z, { spacing: 2, direction: "row", children: [
2310
2344
  /* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 32 }),
2311
2345
  /* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 32 }),
2312
2346
  /* @__PURE__ */ e(A, { variant: "rounded", width: 88, height: 32 })
@@ -2318,7 +2352,7 @@ function kn({}) {
2318
2352
  const On = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", In = {
2319
2353
  fadeWrapper: On
2320
2354
  };
2321
- function fe({ children: t }) {
2355
+ function ge({ children: t }) {
2322
2356
  return /* @__PURE__ */ e("div", { className: In.fadeWrapper, children: t });
2323
2357
  }
2324
2358
  function $n({
@@ -2328,81 +2362,81 @@ function $n({
2328
2362
  onViewMore: a,
2329
2363
  className: i = ""
2330
2364
  }) {
2331
- const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = H(null), [l, c] = D({ isStart: !0, isEnd: !1 }), [h, f] = D(null), [_, d] = D({}), [E, y] = D({ start: null, end: null }), k = H(!1), [C, S] = D(null), R = H(!1), v = Ge(E, 300), w = () => {
2332
- var u;
2333
- (u = s.current) == null || u.prev();
2334
- }, M = () => {
2335
- var u;
2336
- (u = s.current) == null || u.next();
2337
- }, N = () => {
2338
- Kt();
2339
- }, O = ["esports", "cyber"], $ = (u) => u.filter((p) => {
2340
- var x;
2341
- if (p.event.sport !== "FOOTBALL") return !1;
2342
- const b = ((x = p.event.group) == null ? void 0 : x.toLowerCase()) || "";
2343
- return !O.some((g) => b.includes(g));
2344
- }), F = we(async () => {
2345
- var u;
2365
+ const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = H(null), [l, c] = D({ isStart: !0, isEnd: !1 }), [f, x] = D(null), [v, d] = D({}), [C, y] = D({ start: null, end: null }), O = H(!1), [w, M] = D(null), B = H(!1), S = He(C, 300), m = () => {
2366
+ var p;
2367
+ (p = s.current) == null || p.prev();
2368
+ }, E = () => {
2369
+ var p;
2370
+ (p = s.current) == null || p.next();
2371
+ }, k = () => {
2372
+ qt();
2373
+ }, I = ["esports", "cyber"], N = (p) => p.filter((u) => {
2374
+ var g;
2375
+ if (u.event.sport !== "FOOTBALL") return !1;
2376
+ const _ = ((g = u.event.group) == null ? void 0 : g.toLowerCase()) || "";
2377
+ return !I.some((b) => _.includes(b));
2378
+ }), F = ue(async () => {
2379
+ var p;
2346
2380
  try {
2347
- let p = C;
2348
- if (!R.current && C === null) {
2349
- R.current = !0;
2381
+ let u = w;
2382
+ if (!B.current && w === null) {
2383
+ B.current = !0;
2350
2384
  try {
2351
2385
  const j = await fetch(
2352
2386
  "https://api.mktolimpo.com/api/kambi/eventos/orden"
2353
2387
  ), U = j.ok ? await j.json() : null;
2354
- p = ((u = U == null ? void 0 : U.data) == null ? void 0 : u.event_ids) || [];
2388
+ u = ((p = U == null ? void 0 : U.data) == null ? void 0 : p.event_ids) || [];
2355
2389
  } catch {
2356
- p = [];
2390
+ u = [];
2357
2391
  }
2358
- S(p);
2392
+ M(u);
2359
2393
  }
2360
- const x = await (await fetch(r)).json(), g = $(x.events);
2361
- if (!p || p.length === 0) {
2362
- f(g);
2394
+ const g = await (await fetch(r)).json(), b = N(g.events);
2395
+ if (!u || u.length === 0) {
2396
+ x(b);
2363
2397
  return;
2364
2398
  }
2365
- const I = new Map(
2366
- p.map((j, U) => [String(j), U])
2367
- ), L = [...g].sort((j, U) => {
2368
- const P = I.get(String(j.event.id)), J = I.get(String(U.event.id));
2369
- return P !== void 0 && J !== void 0 ? P - J : P !== void 0 ? -1 : J !== void 0 ? 1 : 0;
2399
+ const $ = new Map(
2400
+ u.map((j, U) => [String(j), U])
2401
+ ), R = [...b].sort((j, U) => {
2402
+ const W = $.get(String(j.event.id)), K = $.get(String(U.event.id));
2403
+ return W !== void 0 && K !== void 0 ? W - K : W !== void 0 ? -1 : K !== void 0 ? 1 : 0;
2370
2404
  });
2371
- f(L);
2372
- } catch (p) {
2373
- console.error(p);
2405
+ x(R);
2406
+ } catch (u) {
2407
+ console.error(u);
2374
2408
  }
2375
- }, [C]);
2376
- K(() => {
2409
+ }, [w]);
2410
+ q(() => {
2377
2411
  F();
2378
- const u = setInterval(F, 2e4);
2379
- return () => clearInterval(u);
2380
- }, [F]), K(() => {
2381
- if (v.start === null || v.end === null || !(h != null && h.length) || k.current)
2412
+ const p = setInterval(F, 2e4);
2413
+ return () => clearInterval(p);
2414
+ }, [F]), q(() => {
2415
+ if (S.start === null || S.end === null || !(f != null && f.length) || O.current)
2382
2416
  return;
2383
- const u = 3, p = Math.max(0, v.start - u), b = Math.min(h.length - 1, v.end + u), x = h.slice(p, b + 1).map((g) => g == null ? void 0 : g.event.id).filter(Boolean).filter((g) => _[g] === void 0);
2384
- x.length && (k.current = !0, De(x).then((g) => {
2385
- d((I) => ({
2386
- ...I,
2387
- ...g.events
2417
+ const p = 3, u = Math.max(0, S.start - p), _ = Math.min(f.length - 1, S.end + p), g = f.slice(u, _ + 1).map((b) => b == null ? void 0 : b.event.id).filter(Boolean).filter((b) => v[b] === void 0);
2418
+ g.length && (O.current = !0, Ge(g).then((b) => {
2419
+ d(($) => ({
2420
+ ...$,
2421
+ ...b.events
2388
2422
  }));
2389
- }).catch((g) => {
2390
- console.error("Jersey fetch error", g);
2423
+ }).catch((b) => {
2424
+ console.error("Jersey fetch error", b);
2391
2425
  }).finally(() => {
2392
- k.current = !1;
2426
+ O.current = !1;
2393
2427
  }));
2394
- }, [v, h, _]);
2395
- const W = i || void 0, B = h === null;
2396
- return !B && h.length === 0 ? null : /* @__PURE__ */ e("section", { className: W, style: {
2428
+ }, [S, f, v]);
2429
+ const P = i || void 0, L = f === null;
2430
+ return !L && f.length === 0 ? null : /* @__PURE__ */ e("section", { className: P, style: {
2397
2431
  // paddingLeft: 16,
2398
2432
  // paddingRight: 16,
2399
2433
  width: "100%",
2400
2434
  boxSizing: "border-box"
2401
- }, children: /* @__PURE__ */ m(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2402
- /* @__PURE__ */ m(Y, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2435
+ }, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2436
+ /* @__PURE__ */ h(Y, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
2403
2437
  /* @__PURE__ */ e(ee, { title: n, iconUrl: o, size: "md" }),
2404
- /* @__PURE__ */ m("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
2405
- /* @__PURE__ */ m(Y, { spacing: 1, columns: "auto auto", children: [
2438
+ /* @__PURE__ */ h("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
2439
+ /* @__PURE__ */ h(Y, { spacing: 1, columns: "auto auto", children: [
2406
2440
  /* @__PURE__ */ e(
2407
2441
  G,
2408
2442
  {
@@ -2410,7 +2444,7 @@ function $n({
2410
2444
  variant: "secondary",
2411
2445
  iconOnly: !0,
2412
2446
  leftIcon: /* @__PURE__ */ e(ye, {}),
2413
- onClick: w,
2447
+ onClick: m,
2414
2448
  disabled: l.isStart
2415
2449
  }
2416
2450
  ),
@@ -2421,19 +2455,19 @@ function $n({
2421
2455
  variant: "secondary",
2422
2456
  iconOnly: !0,
2423
2457
  rightIcon: /* @__PURE__ */ e(Se, {}),
2424
- onClick: M,
2458
+ onClick: E,
2425
2459
  disabled: l.isEnd
2426
2460
  }
2427
2461
  )
2428
2462
  ] }),
2429
- /* @__PURE__ */ e(G, { variant: "secondary", onClick: N, children: "Ver más" })
2463
+ /* @__PURE__ */ e(G, { variant: "secondary", onClick: k, children: "Ver más" })
2430
2464
  ] })
2431
2465
  ] }),
2432
2466
  /* @__PURE__ */ e(
2433
2467
  te,
2434
2468
  {
2435
2469
  ref: s,
2436
- items: B ? Array(4).fill({}) : h.slice(0, 20),
2470
+ items: L ? Array(4).fill({}) : f.slice(0, 20),
2437
2471
  perPage: void 0,
2438
2472
  enableHorizontalWheel: !0,
2439
2473
  gap: "16px",
@@ -2443,21 +2477,21 @@ function $n({
2443
2477
  768: { gap: "8px", focus: "center" },
2444
2478
  1024: { gap: "10px", focus: "center" }
2445
2479
  },
2446
- renderItem: (u) => {
2447
- var x;
2448
- const p = ((x = u.event) == null ? void 0 : x.id) || u.eventId, b = p in _ ? _[p] : void 0;
2449
- return B ? /* @__PURE__ */ e(fe, { children: /* @__PURE__ */ e(kn, {}) }) : /* @__PURE__ */ e(fe, { children: /* @__PURE__ */ e(
2480
+ renderItem: (p) => {
2481
+ var g;
2482
+ const u = ((g = p.event) == null ? void 0 : g.id) || p.eventId, _ = u in v ? v[u] : void 0;
2483
+ return L ? /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(kn, {}) }) : /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
2450
2484
  Qt,
2451
2485
  {
2452
- ...u,
2453
- jersey: b
2486
+ ...p,
2487
+ jersey: _
2454
2488
  }
2455
2489
  ) });
2456
2490
  },
2457
- onMove: ({ isStart: u, isEnd: p, visibleStart: b, visibleEnd: x }) => {
2458
- c({ isStart: u, isEnd: p }), y({
2459
- start: b,
2460
- end: x
2491
+ onMove: ({ isStart: p, isEnd: u, visibleStart: _, visibleEnd: g }) => {
2492
+ c({ isStart: p, isEnd: u }), y({
2493
+ start: _,
2494
+ end: g
2461
2495
  });
2462
2496
  }
2463
2497
  }
@@ -2465,25 +2499,25 @@ function $n({
2465
2499
  ] }) });
2466
2500
  }
2467
2501
  function Nn() {
2468
- return /* @__PURE__ */ m("div", { className: ne.cardContainer, children: [
2469
- /* @__PURE__ */ e(ze, { title: "" }),
2470
- /* @__PURE__ */ e("div", { className: ne.cardBackground, children: /* @__PURE__ */ m(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2471
- /* @__PURE__ */ m(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2502
+ return /* @__PURE__ */ h("div", { className: ne.cardContainer, children: [
2503
+ /* @__PURE__ */ e(je, { title: "" }),
2504
+ /* @__PURE__ */ e("div", { className: ne.cardBackground, children: /* @__PURE__ */ h(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2505
+ /* @__PURE__ */ h(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2472
2506
  /* @__PURE__ */ e(A, { variant: "circular", width: 48, height: 48 }),
2473
2507
  /* @__PURE__ */ e(A, { variant: "circular", width: 48, height: 48 })
2474
2508
  ] }),
2475
- /* @__PURE__ */ m(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2476
- /* @__PURE__ */ m(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2509
+ /* @__PURE__ */ h(z, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
2510
+ /* @__PURE__ */ h(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
2477
2511
  /* @__PURE__ */ e(A, { variant: "text", width: 80, height: 12 }),
2478
2512
  /* @__PURE__ */ e(A, { variant: "text", width: 80, height: 12 })
2479
2513
  ] }),
2480
2514
  /* @__PURE__ */ e(z, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(A, { variant: "text", width: 160, height: 12 }) }),
2481
- /* @__PURE__ */ m(z, { direction: "row", spacing: 1, children: [
2515
+ /* @__PURE__ */ h(z, { direction: "row", spacing: 1, children: [
2482
2516
  /* @__PURE__ */ e(A, { variant: "text", width: 80, height: 16 }),
2483
2517
  /* @__PURE__ */ e(A, { variant: "text", width: 80, height: 16 }),
2484
2518
  /* @__PURE__ */ e(A, { variant: "text", width: 80, height: 16 })
2485
2519
  ] }),
2486
- /* @__PURE__ */ e("div", { className: ne.jugadas, children: /* @__PURE__ */ m(z, { direction: "row", spacing: 1, children: [
2520
+ /* @__PURE__ */ e("div", { className: ne.jugadas, children: /* @__PURE__ */ h(z, { direction: "row", spacing: 1, children: [
2487
2521
  /* @__PURE__ */ e(A, { variant: "rounded", width: 80, height: 32 }),
2488
2522
  /* @__PURE__ */ e(A, { variant: "rounded", width: 80, height: 32 }),
2489
2523
  /* @__PURE__ */ e(A, { variant: "rounded", width: 80, height: 32 })
@@ -2492,12 +2526,12 @@ function Nn() {
2492
2526
  ] }) })
2493
2527
  ] });
2494
2528
  }
2495
- const Tn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Mn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Fn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", ve = {
2529
+ const Tn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Rn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", we = {
2496
2530
  wrapper: Tn,
2497
- container: Mn,
2498
- buttonWrapper: Fn
2531
+ container: Fn,
2532
+ buttonWrapper: Rn
2499
2533
  };
2500
- async function Rn(t, n = 2, o) {
2534
+ async function Mn(t, n = 2, o) {
2501
2535
  const a = [];
2502
2536
  for (let i = 0; i < t.length; i += n) {
2503
2537
  if (o.aborted)
@@ -2514,7 +2548,7 @@ function Ln(t) {
2514
2548
  (n, o) => new Date(n.start).getTime() - new Date(o.start).getTime()
2515
2549
  );
2516
2550
  }
2517
- function Bn(t) {
2551
+ function Wn(t) {
2518
2552
  const n = /* @__PURE__ */ new Date(), o = new Date(n.getTime() + 480 * 60 * 60 * 1e3);
2519
2553
  return t.filter((a) => {
2520
2554
  if (!a.start) return !1;
@@ -2522,7 +2556,7 @@ function Bn(t) {
2522
2556
  return i >= n && i <= o;
2523
2557
  });
2524
2558
  }
2525
- function Pn(t, n) {
2559
+ function Bn(t, n) {
2526
2560
  const a = n.filter((i) => {
2527
2561
  var r;
2528
2562
  return ((r = i.betOfferType) == null ? void 0 : r.id) === 2;
@@ -2532,141 +2566,141 @@ function Pn(t, n) {
2532
2566
  outcome: a[i.id]
2533
2567
  }));
2534
2568
  }
2535
- function Wn({
2569
+ function Pn({
2536
2570
  items: t,
2537
2571
  title: n = "En vivo",
2538
2572
  iconUrl: o,
2539
2573
  onViewMore: a,
2540
2574
  className: i = ""
2541
2575
  }) {
2542
- const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", s = H(null), [l, c] = D({ isStart: !0, isEnd: !1 }), [h, f] = D(null);
2576
+ const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", s = H(null), [l, c] = D({ isStart: !0, isEnd: !1 }), [f, x] = D(null);
2543
2577
  H(/* @__PURE__ */ new Set());
2544
- const [_, d] = D({}), [E, y] = D({ start: null, end: null }), k = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", C = Ge(E, 250), S = H(!1), R = () => {
2545
- Jt();
2578
+ const [v, d] = D({}), [C, y] = D({ start: null, end: null }), O = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", w = He(C, 250), M = H(!1), B = () => {
2579
+ Kt();
2546
2580
  };
2547
- async function v($) {
2548
- var B, u;
2549
- let F = [], W = [];
2581
+ async function S(N) {
2582
+ var L, p;
2583
+ let F = [], P = [];
2550
2584
  try {
2551
- const p = await fetch(
2585
+ const u = await fetch(
2552
2586
  "https://api.mktolimpo.com/api/kambi/eventos/orden",
2553
- { signal: $ }
2587
+ { signal: N }
2554
2588
  );
2555
- if (p.ok) {
2556
- const b = await p.json();
2557
- F = ((B = b == null ? void 0 : b.data) == null ? void 0 : B.group_ids) || [], W = ((u = b == null ? void 0 : b.data) == null ? void 0 : u.event_ids) || [];
2589
+ if (u.ok) {
2590
+ const _ = await u.json();
2591
+ F = ((L = _ == null ? void 0 : _.data) == null ? void 0 : L.group_ids) || [], P = ((p = _ == null ? void 0 : _.data) == null ? void 0 : p.event_ids) || [];
2558
2592
  }
2559
- } catch (p) {
2560
- p.name !== "AbortError" && console.warn("Order API not available, using default group order");
2593
+ } catch (u) {
2594
+ u.name !== "AbortError" && console.warn("Order API not available, using default group order");
2561
2595
  return;
2562
2596
  }
2563
2597
  try {
2564
- const x = (await (await fetch(r, { signal: $ })).json()).group.groups.find(
2565
- (P) => P.englishName === "Football"
2598
+ const g = (await (await fetch(r, { signal: N })).json()).group.groups.find(
2599
+ (W) => W.englishName === "Football"
2566
2600
  );
2567
- if (!x || !Array.isArray(x.groups)) {
2601
+ if (!g || !Array.isArray(g.groups)) {
2568
2602
  console.error("Football groups not found");
2569
2603
  return;
2570
2604
  }
2571
- let g = [...x.groups];
2605
+ let b = [...g.groups];
2572
2606
  if (F.length > 0) {
2573
- const P = new Map(
2574
- F.map((J, re) => [J, re])
2607
+ const W = new Map(
2608
+ F.map((K, re) => [K, re])
2575
2609
  );
2576
- g.sort((J, re) => {
2577
- const ae = P.get(String(J.id)), ge = P.get(String(re.id));
2578
- return ae !== void 0 && ge !== void 0 ? ae - ge : ae !== void 0 ? -1 : ge !== void 0 ? 1 : 0;
2610
+ b.sort((K, re) => {
2611
+ const ae = W.get(String(K.id)), xe = W.get(String(re.id));
2612
+ return ae !== void 0 && xe !== void 0 ? ae - xe : ae !== void 0 ? -1 : xe !== void 0 ? 1 : 0;
2579
2613
  });
2580
2614
  }
2581
- const L = g.slice(0, 5), j = (P) => {
2582
- const J = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
2583
- if (P.groups && P.groups.length > 0) {
2584
- const re = P.groups[0];
2615
+ const R = b.slice(0, 5), j = (W) => {
2616
+ const K = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
2617
+ if (W.groups && W.groups.length > 0) {
2618
+ const re = W.groups[0];
2585
2619
  return [
2586
- `${J}/${P.termKey}/${re.termKey}/all/matches.json?${k}`
2620
+ `${K}/${W.termKey}/${re.termKey}/all/matches.json?${O}`
2587
2621
  ];
2588
2622
  }
2589
2623
  return [
2590
- `${J}/${P.termKey}/all/all/matches.json?${k}`
2624
+ `${K}/${W.termKey}/all/all/matches.json?${O}`
2591
2625
  ];
2592
- }, U = L.flatMap(j);
2593
- w(
2626
+ }, U = R.flatMap(j);
2627
+ m(
2594
2628
  U,
2595
- W,
2596
- $
2629
+ P,
2630
+ N
2597
2631
  );
2598
- } catch (p) {
2599
- console.error(p);
2632
+ } catch (u) {
2633
+ console.error(u);
2600
2634
  }
2601
2635
  }
2602
- async function w($, F, W) {
2636
+ async function m(N, F, P) {
2603
2637
  try {
2604
- const B = await Rn($, 2, W);
2605
- let u = [], p = [];
2606
- B.forEach((I) => {
2607
- I.events && (u.push(...I.events.map((L) => L.event)), p.push(...I.events.flatMap((L) => L.betOffers || [])));
2638
+ const L = await Mn(N, 2, P);
2639
+ let p = [], u = [];
2640
+ L.forEach(($) => {
2641
+ $.events && (p.push(...$.events.map((R) => R.event)), u.push(...$.events.flatMap((R) => R.betOffers || [])));
2608
2642
  });
2609
- const b = Pn(u, p), x = Ln(Bn(b));
2610
- let g = x;
2643
+ const _ = Bn(p, u), g = Ln(Wn(_));
2644
+ let b = g;
2611
2645
  if (F.length > 0) {
2612
- const I = new Map(
2613
- F.map((L, j) => [
2614
- String(L),
2646
+ const $ = new Map(
2647
+ F.map((R, j) => [
2648
+ String(R),
2615
2649
  j
2616
2650
  ])
2617
2651
  );
2618
- g = [...x].sort((L, j) => {
2619
- const U = I.get(String(L.id)), P = I.get(String(j.id));
2620
- return U !== void 0 && P !== void 0 ? U - P : U !== void 0 ? -1 : P !== void 0 ? 1 : 0;
2652
+ b = [...g].sort((R, j) => {
2653
+ const U = $.get(String(R.id)), W = $.get(String(j.id));
2654
+ return U !== void 0 && W !== void 0 ? U - W : U !== void 0 ? -1 : W !== void 0 ? 1 : 0;
2621
2655
  });
2622
2656
  }
2623
- if (W.aborted) return;
2624
- f(g);
2625
- } catch (B) {
2626
- console.error("Error loading events:", B);
2657
+ if (P.aborted) return;
2658
+ x(b);
2659
+ } catch (L) {
2660
+ console.error("Error loading events:", L);
2627
2661
  }
2628
2662
  }
2629
- K(() => {
2663
+ q(() => {
2630
2664
  if (!t) return;
2631
- const $ = new AbortController();
2632
- return v($.signal), () => {
2633
- $.abort();
2665
+ const N = new AbortController();
2666
+ return S(N.signal), () => {
2667
+ N.abort();
2634
2668
  };
2635
- }, [t]), K(() => {
2636
- if (C.start === null || C.end === null || !(h != null && h.length) || S.current)
2669
+ }, [t]), q(() => {
2670
+ if (w.start === null || w.end === null || !(f != null && f.length) || M.current)
2637
2671
  return;
2638
- const $ = 2, F = Math.max(0, C.start - $), W = Math.min(h.length - 1, C.end + $), B = h.slice(F, W + 1).map((p) => p == null ? void 0 : p.id).filter(Boolean).filter((p) => _[p] === void 0);
2639
- if (!B.length) return;
2640
- let u = !1;
2641
- return S.current = !0, (async () => {
2672
+ const N = 2, F = Math.max(0, w.start - N), P = Math.min(f.length - 1, w.end + N), L = f.slice(F, P + 1).map((u) => u == null ? void 0 : u.id).filter(Boolean).filter((u) => v[u] === void 0);
2673
+ if (!L.length) return;
2674
+ let p = !1;
2675
+ return M.current = !0, (async () => {
2642
2676
  try {
2643
- const p = await De(B);
2644
- u || d((b) => ({
2645
- ...b,
2646
- ...p.events
2677
+ const u = await Ge(L);
2678
+ p || d((_) => ({
2679
+ ..._,
2680
+ ...u.events
2647
2681
  }));
2648
- } catch (p) {
2649
- console.error("Jersey fetch error", p);
2682
+ } catch (u) {
2683
+ console.error("Jersey fetch error", u);
2650
2684
  } finally {
2651
- S.current = !1;
2685
+ M.current = !1;
2652
2686
  }
2653
2687
  })(), () => {
2654
- u = !0;
2688
+ p = !0;
2655
2689
  };
2656
- }, [C, h]);
2657
- const M = i || void 0, N = { paddingLeft: 0, width: "100%", boxSizing: "border-box" }, O = h === null;
2658
- return !O && h.length === 0 ? null : /* @__PURE__ */ e("section", { className: M, style: N, children: /* @__PURE__ */ m("div", { className: ve.wrapper, children: [
2659
- /* @__PURE__ */ e("div", { className: ve.container, children: /* @__PURE__ */ m(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2690
+ }, [w, f]);
2691
+ const E = i || void 0, k = { paddingLeft: 0, width: "100%", boxSizing: "border-box" }, I = f === null;
2692
+ return !I && f.length === 0 ? null : /* @__PURE__ */ e("section", { className: E, style: k, children: /* @__PURE__ */ h("div", { className: we.wrapper, children: [
2693
+ /* @__PURE__ */ e("div", { className: we.container, children: /* @__PURE__ */ h(z, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
2660
2694
  /* @__PURE__ */ e(ee, { title: "Eventos de la semana" }),
2661
- /* @__PURE__ */ e("div", { className: ve.buttonWrapper, children: /* @__PURE__ */ e(G, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
2662
- R();
2695
+ /* @__PURE__ */ e("div", { className: we.buttonWrapper, children: /* @__PURE__ */ e(G, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
2696
+ B();
2663
2697
  }, children: "Ver más" }) })
2664
2698
  ] }) }),
2665
2699
  /* @__PURE__ */ e("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ e(
2666
2700
  te,
2667
2701
  {
2668
2702
  ref: s,
2669
- items: O ? Array(6).fill({}) : h.slice(0, 20),
2703
+ items: I ? Array(6).fill({}) : f.slice(0, 20),
2670
2704
  perPage: 3.5,
2671
2705
  gap: "16px",
2672
2706
  enableHorizontalWheel: !0,
@@ -2674,14 +2708,14 @@ function Wn({
2674
2708
  breakpoints: {
2675
2709
  1024: { perPage: 1.4, gap: "8px", focus: "center", padding: { left: "8px", right: "8px" } }
2676
2710
  },
2677
- renderItem: ($) => {
2678
- const F = $.id, W = F in _ ? _[F] : void 0;
2679
- return O ? /* @__PURE__ */ e(fe, { children: /* @__PURE__ */ e(Nn, {}) }) : /* @__PURE__ */ e(fe, { children: /* @__PURE__ */ e(cn, { event: $, jersey: W }) });
2711
+ renderItem: (N) => {
2712
+ const F = N.id, P = F in v ? v[F] : void 0;
2713
+ return I ? /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(Nn, {}) }) : /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(cn, { event: N, jersey: P }) });
2680
2714
  },
2681
- onMove: ({ isStart: $, isEnd: F, visibleStart: W, visibleEnd: B }) => {
2682
- c({ isStart: $, isEnd: F }), y({
2683
- start: W,
2684
- end: B
2715
+ onMove: ({ isStart: N, isEnd: F, visibleStart: P, visibleEnd: L }) => {
2716
+ c({ isStart: N, isEnd: F }), y({
2717
+ start: P,
2718
+ end: L
2685
2719
  });
2686
2720
  }
2687
2721
  }
@@ -2693,14 +2727,14 @@ function An({
2693
2727
  items: n
2694
2728
  }) {
2695
2729
  const [o, a] = D(0), i = H(null), r = (t == null ? void 0 : t.length) || 1, s = !t || t.length === 0;
2696
- return K(() => {
2730
+ return q(() => {
2697
2731
  if (s || !t || t.length <= 1) return;
2698
2732
  const l = window.setInterval(() => {
2699
2733
  var c;
2700
2734
  (c = i.current) == null || c.next();
2701
2735
  }, 5e3);
2702
2736
  return () => window.clearInterval(l);
2703
- }, [s, t == null ? void 0 : t.length]), /* @__PURE__ */ m(
2737
+ }, [s, t == null ? void 0 : t.length]), /* @__PURE__ */ h(
2704
2738
  V,
2705
2739
  {
2706
2740
  component: "section",
@@ -2709,7 +2743,7 @@ function An({
2709
2743
  overflow: "visible"
2710
2744
  },
2711
2745
  children: [
2712
- /* @__PURE__ */ m(
2746
+ /* @__PURE__ */ h(
2713
2747
  V,
2714
2748
  {
2715
2749
  sx: {
@@ -2740,8 +2774,8 @@ function An({
2740
2774
  a(c);
2741
2775
  },
2742
2776
  renderItem: (l) => {
2743
- var c, h;
2744
- return /* @__PURE__ */ m(
2777
+ var c, f;
2778
+ return /* @__PURE__ */ h(
2745
2779
  V,
2746
2780
  {
2747
2781
  component: "a",
@@ -2756,7 +2790,7 @@ function An({
2756
2790
  cursor: "pointer"
2757
2791
  },
2758
2792
  children: [
2759
- /* @__PURE__ */ m(
2793
+ /* @__PURE__ */ h(
2760
2794
  V,
2761
2795
  {
2762
2796
  component: "picture",
@@ -2768,7 +2802,7 @@ function An({
2768
2802
  V,
2769
2803
  {
2770
2804
  component: "img",
2771
- src: (h = l.fallbackSrc) != null ? h : l.desktopSrc,
2805
+ src: (f = l.fallbackSrc) != null ? f : l.desktopSrc,
2772
2806
  alt: "",
2773
2807
  "aria-hidden": !0,
2774
2808
  loading: "lazy",
@@ -2820,7 +2854,7 @@ function An({
2820
2854
  justifyContent: "center",
2821
2855
  zIndex: 2
2822
2856
  },
2823
- children: /* @__PURE__ */ e(We, { total: r, active: o })
2857
+ children: /* @__PURE__ */ e(Ae, { total: r, active: o })
2824
2858
  }
2825
2859
  )
2826
2860
  ]
@@ -2847,7 +2881,7 @@ function An({
2847
2881
  boxShadow: "0 10px 24px rgba(0,0,0,.35)",
2848
2882
  zIndex: 3
2849
2883
  },
2850
- children: n == null ? void 0 : n.map((l) => /* @__PURE__ */ m(
2884
+ children: n == null ? void 0 : n.map((l) => /* @__PURE__ */ h(
2851
2885
  V,
2852
2886
  {
2853
2887
  sx: {
@@ -2916,7 +2950,7 @@ function jn({
2916
2950
  items: n = zn
2917
2951
  }) {
2918
2952
  const o = Math.ceil(n.length / 2), a = n.slice(0, o), i = n.slice(o);
2919
- return /* @__PURE__ */ m(V, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
2953
+ return /* @__PURE__ */ h(V, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
2920
2954
  /* @__PURE__ */ e(
2921
2955
  Le,
2922
2956
  {
@@ -2945,7 +2979,7 @@ function jn({
2945
2979
  }
2946
2980
  }
2947
2981
  ),
2948
- /* @__PURE__ */ m(de, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
2982
+ /* @__PURE__ */ h(de, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
2949
2983
  /* @__PURE__ */ e(
2950
2984
  de,
2951
2985
  {
@@ -2982,7 +3016,7 @@ const Un = {
2982
3016
  OraculoSeccionBanners: An,
2983
3017
  OraculoSeccionMediosPago: jn,
2984
3018
  OraculoSeccionEventoEnVivo: $n,
2985
- OraculoSeccionEventoSemana: Wn,
3019
+ OraculoSeccionEventoSemana: Pn,
2986
3020
  OraculoSeccionEventoCombinadas: Cn
2987
3021
  }, Dn = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, Gn = (t) => /^OraculoSeccion[A-Z]/.test(t), Hn = Object.fromEntries(
2988
3022
  Object.entries(Un).filter(
@@ -2995,12 +3029,12 @@ const Un = {
2995
3029
  return console.warn("[oraculo] extras inválidos. Debe ser Array<[string, unknown]>", t), {};
2996
3030
  }
2997
3031
  };
2998
- class Me extends Error {
3032
+ class Fe extends Error {
2999
3033
  constructor(n, o, a) {
3000
3034
  super(`HTTP ${n} ${a}`), this.status = n, this.url = o, this.statusText = a, this.name = "HttpError";
3001
3035
  }
3002
3036
  }
3003
- const Fe = [
3037
+ const Re = [
3004
3038
  "OraculoSeccionEventoEnVivo",
3005
3039
  "OraculoSeccionEventoSemana",
3006
3040
  "OraculoSeccionEventoCombinadas"
@@ -3011,218 +3045,218 @@ const Fe = [
3011
3045
  extras: a,
3012
3046
  loader: i
3013
3047
  }) => {
3014
- const r = ce(() => Vn(a), [a]), s = i || r.loader, [l, c] = D([]), [h, f] = D(!1), [_, d] = D({}), [E, y] = D({}), [k, C] = D({}), S = qe("(min-width:1024px)");
3015
- K(() => {
3048
+ const r = ce(() => Vn(a), [a]), s = i || r.loader, [l, c] = D([]), [f, x] = D(!1), [v, d] = D({}), [C, y] = D({}), [O, w] = D({}), M = Xe("(min-width:1024px)");
3049
+ q(() => {
3016
3050
  if (t || !o) return;
3017
- f(!0);
3018
- const u = rt(
3051
+ x(!0);
3052
+ const p = rt(
3019
3053
  at(o, "landings", n),
3020
- (p) => {
3021
- var b;
3054
+ (u) => {
3055
+ var _;
3022
3056
  try {
3023
- let x = p.exists() ? ((b = p.data()) == null ? void 0 : b.sections) || [] : [];
3024
- x = x.slice().sort((g, I) => {
3025
- var L, j;
3026
- return ((L = g.order) != null ? L : 0) - ((j = I.order) != null ? j : 0);
3027
- }).map((g, I) => ({ ...g, order: I + 1 })), c(x), console.log("fetched: ", x);
3028
- } catch (x) {
3029
- console.error("Error procesando landings/" + n, x);
3057
+ let g = u.exists() ? ((_ = u.data()) == null ? void 0 : _.sections) || [] : [];
3058
+ g = g.slice().sort((b, $) => {
3059
+ var R, j;
3060
+ return ((R = b.order) != null ? R : 0) - ((j = $.order) != null ? j : 0);
3061
+ }).map((b, $) => ({ ...b, order: $ + 1 })), c(g), console.log("fetched: ", g);
3062
+ } catch (g) {
3063
+ console.error("Error procesando landings/" + n, g);
3030
3064
  } finally {
3031
- f(!1);
3065
+ x(!1);
3032
3066
  }
3033
3067
  },
3034
- (p) => {
3035
- console.error("Error escuchando landings/" + n, p), f(!1);
3068
+ (u) => {
3069
+ console.error("Error escuchando landings/" + n, u), x(!1);
3036
3070
  }
3037
3071
  );
3038
- return () => u();
3039
- }, [t, n, o]), K(() => (dn(r), () => un()), [r]), K(() => {
3040
- (t ? t.slice() : l.slice()).map((b) => b.componentKey).filter((b) => !!b).length;
3072
+ return () => p();
3073
+ }, [t, n, o]), q(() => (dn(r), () => un()), [r]), q(() => {
3074
+ (t ? t.slice() : l.slice()).map((_) => _.componentKey).filter((_) => !!_).length;
3041
3075
  }, [t, l]);
3042
- const R = async (u) => {
3043
- if (Fe.includes(u.componentKey))
3076
+ const B = async (p) => {
3077
+ if (Re.includes(p.componentKey))
3044
3078
  return {
3045
3079
  // whatever empty structure your UI expects
3046
3080
  items: [],
3047
3081
  events: [],
3048
3082
  data: {}
3049
3083
  };
3050
- const p = (u.apiUrl || "").trim();
3051
- if (!p) return;
3052
- const b = u.apiMethod || "GET", x = u.apiParams || [];
3053
- let g = p, I, L;
3054
- if (b === "GET") {
3084
+ const u = (p.apiUrl || "").trim();
3085
+ if (!u) return;
3086
+ const _ = p.apiMethod || "GET", g = p.apiParams || [];
3087
+ let b = u, $, R;
3088
+ if (_ === "GET") {
3055
3089
  const U = new URL(
3056
- p,
3090
+ u,
3057
3091
  typeof window == "undefined" ? "http://localhost" : window.location.origin
3058
3092
  );
3059
- for (const P of x)
3060
- P.key && U.searchParams.append(P.key, P.value);
3061
- g = U.toString();
3093
+ for (const W of g)
3094
+ W.key && U.searchParams.append(W.key, W.value);
3095
+ b = U.toString();
3062
3096
  } else {
3063
3097
  const U = new URLSearchParams();
3064
- for (const P of x)
3065
- P.key && U.append(P.key, P.value);
3066
- I = U.toString(), L = {
3098
+ for (const W of g)
3099
+ W.key && U.append(W.key, W.value);
3100
+ $ = U.toString(), R = {
3067
3101
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
3068
3102
  };
3069
3103
  }
3070
- const j = await fetch(g, {
3071
- method: b,
3072
- headers: L,
3073
- body: I
3104
+ const j = await fetch(b, {
3105
+ method: _,
3106
+ headers: R,
3107
+ body: $
3074
3108
  });
3075
- if (!j.ok) throw new Me(j.status, g, j.statusText);
3109
+ if (!j.ok) throw new Fe(j.status, b, j.statusText);
3076
3110
  return j.json();
3077
- }, v = ce(
3111
+ }, S = ce(
3078
3112
  () => t ? t.slice() : l.slice(),
3079
3113
  [t, l]
3080
- ), w = Ye.useRef(/* @__PURE__ */ new Set());
3081
- K(() => {
3082
- const u = v.map((p) => ({ s: p, url: (p.apiUrl || "").trim() })).filter(({ url: p }) => !!p);
3083
- if (u.length)
3084
- for (const { s: p, url: b } of u) {
3085
- const x = `${p.id}|${b}`;
3086
- w.current.has(x) || (w.current.add(x), y((g) => ({ ...g, [p.id]: !0 })), C((g) => ({ ...g, [p.id]: "" })), (async () => {
3114
+ ), m = We.useRef(/* @__PURE__ */ new Set());
3115
+ q(() => {
3116
+ const p = S.map((u) => ({ s: u, url: (u.apiUrl || "").trim() })).filter(({ url: u }) => !!u);
3117
+ if (p.length)
3118
+ for (const { s: u, url: _ } of p) {
3119
+ const g = `${u.id}|${_}`;
3120
+ m.current.has(g) || (m.current.add(g), y((b) => ({ ...b, [u.id]: !0 })), w((b) => ({ ...b, [u.id]: "" })), (async () => {
3087
3121
  try {
3088
- const g = await R(p);
3089
- d((I) => ({ ...I, [p.id]: g }));
3090
- } catch (g) {
3091
- let I = "Error desconocido";
3092
- g instanceof Me ? I = `Error HTTP ${g.status} (${g.statusText}) en ${g.url}` : g instanceof SyntaxError ? I = "Respuesta no es JSON válido" : g instanceof TypeError ? I = "Fallo de red / CORS / conexión" : typeof g == "string" && (I = g.toString()), C((L) => ({ ...L, [p.id]: I }));
3122
+ const b = await B(u);
3123
+ d(($) => ({ ...$, [u.id]: b }));
3124
+ } catch (b) {
3125
+ let $ = "Error desconocido";
3126
+ b instanceof Fe ? $ = `Error HTTP ${b.status} (${b.statusText}) en ${b.url}` : b instanceof SyntaxError ? $ = "Respuesta no es JSON válido" : b instanceof TypeError ? $ = "Fallo de red / CORS / conexión" : typeof b == "string" && ($ = b.toString()), w((R) => ({ ...R, [u.id]: $ }));
3093
3127
  } finally {
3094
- y((g) => ({ ...g, [p.id]: !1 }));
3128
+ y((b) => ({ ...b, [u.id]: !1 }));
3095
3129
  }
3096
3130
  })());
3097
3131
  }
3098
- }, [v]);
3099
- const M = ce(
3100
- () => v.filter((u) => u.visible).sort((u, p) => u.order - p.order),
3101
- [v]
3102
- ), N = (u) => Array.isArray(u) ? u.map((p) => {
3103
- const b = {};
3104
- for (const x of p.fields || []) {
3105
- const g = (x.type || "string").toLowerCase();
3106
- if (g === "number") {
3107
- const I = String(x.value || "").trim();
3108
- if (I !== "") {
3109
- const L = Number(I);
3110
- Number.isNaN(L) || (b[x.name] = L);
3132
+ }, [S]);
3133
+ const E = ce(
3134
+ () => S.filter((p) => p.visible).sort((p, u) => p.order - u.order),
3135
+ [S]
3136
+ ), k = (p) => Array.isArray(p) ? p.map((u) => {
3137
+ const _ = {};
3138
+ for (const g of u.fields || []) {
3139
+ const b = (g.type || "string").toLowerCase();
3140
+ if (b === "number") {
3141
+ const $ = String(g.value || "").trim();
3142
+ if ($ !== "") {
3143
+ const R = Number($);
3144
+ Number.isNaN(R) || (_[g.name] = R);
3111
3145
  }
3112
- } else if (g === "boolean")
3113
- b[x.name] = String(x.value).toLowerCase() === "true";
3114
- else if (g === "function") {
3115
- const I = String(x.value || "").trim();
3116
- if (I)
3146
+ } else if (b === "boolean")
3147
+ _[g.name] = String(g.value).toLowerCase() === "true";
3148
+ else if (b === "function") {
3149
+ const $ = String(g.value || "").trim();
3150
+ if ($)
3117
3151
  try {
3118
- const L = new Function(I);
3119
- b[x.name] = L;
3120
- } catch (L) {
3121
- console.error(`❌ Error creando función en item '${x.name}':`, L);
3152
+ const R = new Function($);
3153
+ _[g.name] = R;
3154
+ } catch (R) {
3155
+ console.error(`❌ Error creando función en item '${g.name}':`, R);
3122
3156
  }
3123
- } else b[x.name] = x.value;
3157
+ } else _[g.name] = g.value;
3124
3158
  }
3125
- return b;
3126
- }) : [], O = (u) => {
3127
- const p = {};
3128
- if (!Array.isArray(u)) return p;
3129
- for (const b of u) {
3130
- if (!b.name) continue;
3131
- const x = (b.type || "string").toLowerCase();
3132
- if (x === "number") {
3133
- const g = String(b.value || "").trim();
3134
- if (g !== "") {
3135
- const I = Number(g);
3136
- Number.isNaN(I) || (p[b.name] = I);
3159
+ return _;
3160
+ }) : [], I = (p) => {
3161
+ const u = {};
3162
+ if (!Array.isArray(p)) return u;
3163
+ for (const _ of p) {
3164
+ if (!_.name) continue;
3165
+ const g = (_.type || "string").toLowerCase();
3166
+ if (g === "number") {
3167
+ const b = String(_.value || "").trim();
3168
+ if (b !== "") {
3169
+ const $ = Number(b);
3170
+ Number.isNaN($) || (u[_.name] = $);
3137
3171
  }
3138
- } else if (x === "boolean")
3139
- p[b.name] = String(b.value).toLowerCase() === "true";
3140
- else if (x === "function") {
3141
- const g = String(b.value || "").trim();
3142
- if (g)
3172
+ } else if (g === "boolean")
3173
+ u[_.name] = String(_.value).toLowerCase() === "true";
3174
+ else if (g === "function") {
3175
+ const b = String(_.value || "").trim();
3176
+ if (b)
3143
3177
  try {
3144
- const I = new Function(g);
3145
- p[b.name] = I;
3146
- } catch (I) {
3147
- console.error(`❌ Error creando función en item '${b.name}':`, I);
3178
+ const $ = new Function(b);
3179
+ u[_.name] = $;
3180
+ } catch ($) {
3181
+ console.error(`❌ Error creando función en item '${_.name}':`, $);
3148
3182
  }
3149
- } else p[b.name] = b.value;
3183
+ } else u[_.name] = _.value;
3150
3184
  }
3151
- return p;
3152
- }, $ = (u, p, b) => {
3153
- const x = b ? { ...b } : {};
3154
- if (p) {
3155
- const P = (p.variableName || "items").trim() || "items";
3156
- return x[P] = p.arr || [], x;
3185
+ return u;
3186
+ }, N = (p, u, _) => {
3187
+ const g = _ ? { ..._ } : {};
3188
+ if (u) {
3189
+ const W = (u.variableName || "items").trim() || "items";
3190
+ return g[W] = u.arr || [], g;
3157
3191
  }
3158
- const g = u, I = Array.isArray(g), L = !I && typeof g == "object" && g !== null ? g : void 0, j = L && Array.isArray(L.lobby || L.items) ? L.lobby || L.items : void 0, U = (P) => I ? g : j || P;
3159
- return x.items = U(j || []), x;
3160
- }, F = (u) => {
3161
- var I;
3162
- const p = !!((I = u.apiUrl) != null && I.trim()), b = p ? _[u.id] : void 0;
3163
- let x = u.props ? { ...u.props } : {};
3164
- const g = O(u.manualScalarFields);
3165
- if (Fe.includes(u.componentKey))
3166
- return { items: b, ...x, ...g };
3167
- if (x = { ...x, ...g }, p) x = $(b, null, x);
3168
- else if (u.dataMode === "manual") {
3169
- const L = N(u.manualItems);
3170
- if (x = $(
3192
+ const b = p, $ = Array.isArray(b), R = !$ && typeof b == "object" && b !== null ? b : void 0, j = R && Array.isArray(R.lobby || R.items) ? R.lobby || R.items : void 0, U = (W) => $ ? b : j || W;
3193
+ return g.items = U(j || []), g;
3194
+ }, F = (p) => {
3195
+ var $;
3196
+ const u = !!(($ = p.apiUrl) != null && $.trim()), _ = u ? v[p.id] : void 0;
3197
+ let g = p.props ? { ...p.props } : {};
3198
+ const b = I(p.manualScalarFields);
3199
+ if (Re.includes(p.componentKey))
3200
+ return { items: _, ...g, ...b };
3201
+ if (g = { ...g, ...b }, u) g = N(_, null, g);
3202
+ else if (p.dataMode === "manual") {
3203
+ const R = k(p.manualItems);
3204
+ if (g = N(
3171
3205
  null,
3172
- { arr: L, variableName: u.variableName },
3173
- x
3174
- ), u.variableName2 && u.manualItems2) {
3175
- const j = N(u.manualItems2), U = (u.variableName2 || "items2").trim() || "items2";
3176
- x[U] = j;
3206
+ { arr: R, variableName: p.variableName },
3207
+ g
3208
+ ), p.variableName2 && p.manualItems2) {
3209
+ const j = k(p.manualItems2), U = (p.variableName2 || "items2").trim() || "items2";
3210
+ g[U] = j;
3177
3211
  }
3178
3212
  }
3179
- return x;
3180
- }, W = (u, p, b) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
3213
+ return g;
3214
+ }, P = (p, u, _) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
3181
3215
  loading: "bg-blue-100 text-blue-800",
3182
3216
  error: "bg-red-100 text-red-800",
3183
3217
  component: "bg-yellow-100 text-yellow-800"
3184
- }[p]}`, children: b }, u), B = (u) => {
3218
+ }[u]}`, children: _ }, p), L = (p) => {
3185
3219
  var ae;
3186
- const p = u.componentKey, b = Hn[p];
3187
- if (!b)
3188
- return console.warn(`No hay componente registrado para "${p}"`), W(
3189
- u.id,
3220
+ const u = p.componentKey, _ = Hn[u];
3221
+ if (!_)
3222
+ return console.warn(`No hay componente registrado para "${u}"`), P(
3223
+ p.id,
3190
3224
  "component",
3191
- `Componente "${p}" no encontrado`
3225
+ `Componente "${u}" no encontrado`
3192
3226
  );
3193
- const x = !!((ae = u.apiUrl) != null && ae.trim()), g = x ? _[u.id] : void 0, I = x ? !!E[u.id] : !1, L = x ? k[u.id] : "";
3194
- if (x) {
3195
- if (I && !g)
3196
- return W(
3197
- u.id,
3227
+ const g = !!((ae = p.apiUrl) != null && ae.trim()), b = g ? v[p.id] : void 0, $ = g ? !!C[p.id] : !1, R = g ? O[p.id] : "";
3228
+ if (g) {
3229
+ if ($ && !b)
3230
+ return P(
3231
+ p.id,
3198
3232
  "loading",
3199
- `Cargando datos desde ${u.apiUrl}...`
3233
+ `Cargando datos desde ${p.apiUrl}...`
3200
3234
  );
3201
- if (L && !g)
3202
- return W(
3203
- u.id,
3235
+ if (R && !b)
3236
+ return P(
3237
+ p.id,
3204
3238
  "error",
3205
- `Error cargando ${u.apiUrl}: ${L}`
3239
+ `Error cargando ${p.apiUrl}: ${R}`
3206
3240
  );
3207
3241
  }
3208
- const j = F(u), P = (/* @__PURE__ */ new Set([
3242
+ const j = F(p), W = (/* @__PURE__ */ new Set([
3209
3243
  "OraculoSeccionBanners",
3210
3244
  "OraculoSeccionBonoBienvenida",
3211
3245
  "OraculoSeccionCasinoEnVivo",
3212
- S ? "" : "OraculoSeccionClubOlimpo"
3213
- ])).has(u.componentKey), J = S ? 120 : 24;
3214
- return /* @__PURE__ */ e("div", { style: P ? {
3246
+ M ? "" : "OraculoSeccionClubOlimpo"
3247
+ ])).has(p.componentKey), K = M ? 120 : 24;
3248
+ return /* @__PURE__ */ e("div", { style: W ? {
3215
3249
  width: "100%",
3216
3250
  boxSizing: "border-box"
3217
3251
  } : {
3218
- paddingLeft: J,
3219
- paddingRight: J,
3252
+ paddingLeft: K,
3253
+ paddingRight: K,
3220
3254
  width: "100%",
3221
3255
  boxSizing: "border-box"
3222
- }, className: "oraculo-section-wrapper", children: /* @__PURE__ */ e(b, { ...j }) }, u.id);
3256
+ }, className: "oraculo-section-wrapper", children: /* @__PURE__ */ e(_, { ...j }) }, p.id);
3223
3257
  };
3224
- return h && !t ? s ? /* @__PURE__ */ e(s, {}) : /* @__PURE__ */ e("div", { children: "Cargando..." }) : !h && !t && l.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
3225
- Xe,
3258
+ return f && !t ? s ? /* @__PURE__ */ e(s, {}) : /* @__PURE__ */ e("div", { children: "Cargando..." }) : !f && !t && l.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
3259
+ Ye,
3226
3260
  {
3227
3261
  className: "oli-font",
3228
3262
  maxWidth: !1,
@@ -3240,9 +3274,9 @@ const Fe = [
3240
3274
  de,
3241
3275
  {
3242
3276
  direction: "column",
3243
- spacing: S ? 8 : 5,
3277
+ spacing: M ? 8 : 5,
3244
3278
  useFlexGap: !0,
3245
- children: M.map(B)
3279
+ children: E.map(L)
3246
3280
  }
3247
3281
  )
3248
3282
  }
@@ -3251,23 +3285,23 @@ const Fe = [
3251
3285
  export {
3252
3286
  G as OraculoButton,
3253
3287
  te as OraculoCarousel,
3254
- We as OraculoCarouselDots,
3255
- Wt as OraculoClubOlimpoVisual,
3288
+ Ae as OraculoCarouselDots,
3289
+ Pt as OraculoClubOlimpoVisual,
3256
3290
  Xt as OraculoEventCombinadasCard,
3257
3291
  Qt as OraculoEventEnVivoCard,
3258
3292
  pt as OraculoEventHeader,
3259
- Ae as OraculoEventLabel,
3260
- ze as OraculoEventLeague,
3261
- je as OraculoEventScore,
3293
+ ze as OraculoEventLabel,
3294
+ je as OraculoEventLeague,
3295
+ Ue as OraculoEventScore,
3262
3296
  cn as OraculoEventSemanaCard,
3263
3297
  ut as OraculoEventStatus,
3264
3298
  dt as OraculoEventStatusBadge,
3265
- me as OraculoEventTeamInfo,
3266
- ue as OraculoGameCard,
3267
- Bt as OraculoGameRankCard,
3268
- Ue as OraculoGameSlide,
3299
+ he as OraculoEventTeamInfo,
3300
+ pe as OraculoGameCard,
3301
+ Wt as OraculoGameRankCard,
3302
+ De as OraculoGameSlide,
3269
3303
  Y as OraculoGridGroup,
3270
- Pt as OraculoLiveCasinoCard,
3304
+ Bt as OraculoLiveCasinoCard,
3271
3305
  Ce as OraculoLogoMediosPago,
3272
3306
  io as OraculoPageLandingPreview,
3273
3307
  An as OraculoSeccionBanners,
@@ -3278,7 +3312,7 @@ export {
3278
3312
  ln as OraculoSeccionDestacados,
3279
3313
  Cn as OraculoSeccionEventoCombinadas,
3280
3314
  $n as OraculoSeccionEventoEnVivo,
3281
- Wn as OraculoSeccionEventoSemana,
3315
+ Pn as OraculoSeccionEventoSemana,
3282
3316
  jn as OraculoSeccionMediosPago,
3283
3317
  pn as OraculoSeccionTopJuegos,
3284
3318
  _n as OraculoSeccionVirtuales,