oraculo-ui 0.2.26 → 0.2.28
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,6 +1,6 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { Link as rt, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as
|
|
3
|
-
import fe, { useState as
|
|
1
|
+
import { jsx as t, jsxs as v, Fragment as pe } from "react/jsx-runtime";
|
|
2
|
+
import { Link as rt, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ce, Container as Ot } from "@mui/material";
|
|
3
|
+
import fe, { useState as X, useEffect as Q, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Oe, createContext as Nt, useContext as $t, useMemo as ie, useLayoutEffect as Mt } from "react";
|
|
4
4
|
import j from "@mui/material/Skeleton";
|
|
5
5
|
import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
|
|
6
6
|
import q from "@mui/material/Box";
|
|
@@ -11,10 +11,10 @@ import { ChevronLeftRounded as Ae, ChevronRightRounded as ze } from "@mui/icons-
|
|
|
11
11
|
import xe from "@mui/material/useMediaQuery";
|
|
12
12
|
import lt from "@mui/icons-material/ChevronLeftRounded";
|
|
13
13
|
import ct from "@mui/icons-material/ChevronRightRounded";
|
|
14
|
-
import { useTheme as zt, createTheme as Rt, ThemeProvider as
|
|
15
|
-
import
|
|
14
|
+
import { useTheme as zt, createTheme as Rt, ThemeProvider as Pt } from "@mui/material/styles";
|
|
15
|
+
import Lt from "@mui/material/CssBaseline";
|
|
16
16
|
import { onSnapshot as Ft, doc as qt } from "firebase/firestore";
|
|
17
|
-
function
|
|
17
|
+
function Y({
|
|
18
18
|
children: e,
|
|
19
19
|
onClick: a,
|
|
20
20
|
href: n,
|
|
@@ -23,28 +23,28 @@ function X({
|
|
|
23
23
|
type: r = "button",
|
|
24
24
|
disabled: s = !1,
|
|
25
25
|
variant: c = "primary",
|
|
26
|
-
size:
|
|
27
|
-
fullWidth:
|
|
26
|
+
size: p,
|
|
27
|
+
fullWidth: g = !1,
|
|
28
28
|
fullHeight: u = !1,
|
|
29
29
|
className: m = "",
|
|
30
30
|
ariaLabel: d,
|
|
31
|
-
leftIcon:
|
|
32
|
-
rightIcon:
|
|
33
|
-
iconOnly:
|
|
31
|
+
leftIcon: f,
|
|
32
|
+
rightIcon: b,
|
|
33
|
+
iconOnly: x
|
|
34
34
|
}) {
|
|
35
|
-
const
|
|
35
|
+
const _ = !!e && e !== !0, T = (!!f ? 1 : 0) + (!!b ? 1 : 0) == 1, D = x != null ? x : T && !_, y = [
|
|
36
36
|
"orc-btn",
|
|
37
37
|
c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
p ? `orc-btn--${p}` : "",
|
|
39
|
+
g ? "orc-btn--full" : "",
|
|
40
40
|
u ? "orc-btn--fullHeight" : "",
|
|
41
41
|
D ? "orc-btn--iconOnly" : "",
|
|
42
42
|
m
|
|
43
|
-
].filter(Boolean).join(" "), $ = /* @__PURE__ */
|
|
44
|
-
|
|
43
|
+
].filter(Boolean).join(" "), $ = /* @__PURE__ */ v(pe, { children: [
|
|
44
|
+
f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
|
|
45
45
|
!D && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
|
|
46
|
-
|
|
47
|
-
] }),
|
|
46
|
+
b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b })
|
|
47
|
+
] }), C = s ? !0 : void 0;
|
|
48
48
|
return n ? /* @__PURE__ */ t(
|
|
49
49
|
rt,
|
|
50
50
|
{
|
|
@@ -52,10 +52,10 @@ function X({
|
|
|
52
52
|
target: o,
|
|
53
53
|
rel: i,
|
|
54
54
|
"aria-label": d,
|
|
55
|
-
"aria-disabled":
|
|
56
|
-
tabIndex:
|
|
55
|
+
"aria-disabled": C,
|
|
56
|
+
tabIndex: C ? -1 : void 0,
|
|
57
57
|
className: y,
|
|
58
|
-
onClick:
|
|
58
|
+
onClick: C ? (A) => A.preventDefault() : a,
|
|
59
59
|
children: $
|
|
60
60
|
}
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
@@ -63,7 +63,7 @@ function X({
|
|
|
63
63
|
{
|
|
64
64
|
type: r,
|
|
65
65
|
onClick: a,
|
|
66
|
-
disabled: !!
|
|
66
|
+
disabled: !!C,
|
|
67
67
|
"aria-label": d,
|
|
68
68
|
className: y,
|
|
69
69
|
children: $
|
|
@@ -81,7 +81,7 @@ function ge({
|
|
|
81
81
|
n ? `orc-section-title--${n}` : "",
|
|
82
82
|
o
|
|
83
83
|
].filter(Boolean).join(" ");
|
|
84
|
-
return /* @__PURE__ */
|
|
84
|
+
return /* @__PURE__ */ v("div", { className: r, children: [
|
|
85
85
|
a && /* @__PURE__ */ t(
|
|
86
86
|
"img",
|
|
87
87
|
{
|
|
@@ -101,28 +101,28 @@ const dt = ({
|
|
|
101
101
|
durationMs: i = 5e3
|
|
102
102
|
}) => {
|
|
103
103
|
if (e <= 1) return null;
|
|
104
|
-
const r = ["orc-dots", o].filter(Boolean).join(" "), [s, c] =
|
|
104
|
+
const r = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = X(0);
|
|
105
105
|
return Q(() => {
|
|
106
|
-
c((
|
|
107
|
-
}, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((
|
|
108
|
-
const u =
|
|
106
|
+
c((p) => p + 1);
|
|
107
|
+
}, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((p, g) => {
|
|
108
|
+
const u = g === a;
|
|
109
109
|
return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
|
|
110
110
|
"button",
|
|
111
111
|
{
|
|
112
112
|
type: "button",
|
|
113
113
|
role: "tab",
|
|
114
114
|
"aria-selected": u,
|
|
115
|
-
"aria-label": `Ir al slide ${
|
|
115
|
+
"aria-label": `Ir al slide ${g + 1}`,
|
|
116
116
|
className: "orc-dots__dot" + (u ? " orc-dots__dot--active" : ""),
|
|
117
117
|
style: u ? {
|
|
118
118
|
"--dot-progress-ms": `${i}ms`
|
|
119
119
|
} : void 0,
|
|
120
120
|
onClick: () => {
|
|
121
|
-
u && c((m) => m + 1), n == null || n(
|
|
121
|
+
u && c((m) => m + 1), n == null || n(g);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
u ? `a-${
|
|
125
|
-
) },
|
|
124
|
+
u ? `a-${g}-${s}` : `i-${g}`
|
|
125
|
+
) }, g);
|
|
126
126
|
}) });
|
|
127
127
|
};
|
|
128
128
|
function me({
|
|
@@ -178,16 +178,16 @@ function Ze({ src: e, alt: a }) {
|
|
|
178
178
|
}
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna",
|
|
181
|
+
const Dt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Ut = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Vt = "oraculo__OraculoEventTitle-module__subtitle___TmHna", Pe = {
|
|
182
182
|
contenedor: Dt,
|
|
183
183
|
flexGroup: Ut,
|
|
184
184
|
subtitle: Vt
|
|
185
185
|
};
|
|
186
186
|
function Wt({ title: e, subtitle: a }) {
|
|
187
|
-
return /* @__PURE__ */
|
|
187
|
+
return /* @__PURE__ */ v(
|
|
188
188
|
"div",
|
|
189
189
|
{
|
|
190
|
-
className:
|
|
190
|
+
className: Pe.contenedor,
|
|
191
191
|
children: [
|
|
192
192
|
/* @__PURE__ */ t(
|
|
193
193
|
"span",
|
|
@@ -200,17 +200,17 @@ function Wt({ title: e, subtitle: a }) {
|
|
|
200
200
|
children: e
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
|
-
a && /* @__PURE__ */
|
|
203
|
+
a && /* @__PURE__ */ v(
|
|
204
204
|
"div",
|
|
205
205
|
{
|
|
206
|
-
className:
|
|
206
|
+
className: Pe.flexGroup,
|
|
207
207
|
children: [
|
|
208
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ v("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
|
|
209
209
|
" ",
|
|
210
210
|
/* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
|
|
211
211
|
" "
|
|
212
212
|
] }),
|
|
213
|
-
/* @__PURE__ */ t("span", { className:
|
|
213
|
+
/* @__PURE__ */ t("span", { className: Pe.subtitle, children: a }),
|
|
214
214
|
/* @__PURE__ */ t("div", {})
|
|
215
215
|
]
|
|
216
216
|
}
|
|
@@ -241,13 +241,13 @@ function Gt({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
|
241
241
|
);
|
|
242
242
|
}
|
|
243
243
|
function jt({ live: e, time: a }) {
|
|
244
|
-
return /* @__PURE__ */
|
|
244
|
+
return /* @__PURE__ */ v("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
245
245
|
e && /* @__PURE__ */ t(Gt, { text: "En vivo" }),
|
|
246
246
|
a && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: a })
|
|
247
247
|
] });
|
|
248
248
|
}
|
|
249
249
|
function Ht({ title: e, subtitle: a, live: n = !1, time: o = "" }) {
|
|
250
|
-
return /* @__PURE__ */
|
|
250
|
+
return /* @__PURE__ */ v(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
253
253
|
style: {
|
|
@@ -269,11 +269,11 @@ const Kt = "oraculo__OraculoEventLabel-module__label___c64Xw", Zt = {
|
|
|
269
269
|
function ut({ text: e }) {
|
|
270
270
|
return /* @__PURE__ */ t("span", { className: Zt.label, children: e });
|
|
271
271
|
}
|
|
272
|
-
const
|
|
273
|
-
container:
|
|
272
|
+
const Xt = "oraculo__OraculoEventLeague-module__container___rdk4F", Jt = {
|
|
273
|
+
container: Xt
|
|
274
274
|
};
|
|
275
275
|
function mt({ title: e }) {
|
|
276
|
-
return /* @__PURE__ */ t("div", { className:
|
|
276
|
+
return /* @__PURE__ */ t("div", { className: Jt.container, children: e.toUpperCase() });
|
|
277
277
|
}
|
|
278
278
|
const Yt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Qt = "oraculo__OraculoEventScore-module__name___r4uL6", ea = "oraculo__OraculoEventScore-module__score___Xl03M", ta = "oraculo__OraculoEventScore-module__normal___cCNFz", aa = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
|
|
279
279
|
scoreWrapper: Yt,
|
|
@@ -283,7 +283,7 @@ const Yt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", Qt = "orac
|
|
|
283
283
|
small: aa
|
|
284
284
|
};
|
|
285
285
|
function pt({ text: e, name: a, size: n = "normal" }) {
|
|
286
|
-
return /* @__PURE__ */
|
|
286
|
+
return /* @__PURE__ */ v(
|
|
287
287
|
"div",
|
|
288
288
|
{
|
|
289
289
|
className: `${ve.scoreWrapper} ${ve[n]}`,
|
|
@@ -309,8 +309,8 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
|
|
|
309
309
|
};
|
|
310
310
|
function pa({ jersey: e, className: a }) {
|
|
311
311
|
const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, r = e.sleevelong ? `#${e.sleevelong}` : null;
|
|
312
|
-
return /* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */
|
|
312
|
+
return /* @__PURE__ */ v("div", { className: `${Se.polo} ${a != null ? a : ""}`, children: [
|
|
313
|
+
/* @__PURE__ */ t("div", { className: Se.svgWrapper, children: /* @__PURE__ */ v("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
|
|
314
314
|
/* @__PURE__ */ t(
|
|
315
315
|
"path",
|
|
316
316
|
{
|
|
@@ -318,7 +318,7 @@ function pa({ jersey: e, className: a }) {
|
|
|
318
318
|
d: "m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8l-5-12.3-1.9-3.8-1.8-1.6.1-.8v-1l-.4-1.8-1.3-4.1-3.3-9-1.3-2-2.2-5.7-2.5-.3-1 .8v2l-2.7 13.1-8.7 58-.9 6.4-.2 7.9c0 3-1 16-1.7 18.3l-2.5 9-.2 7.6-.3 8.7-.3 7.5.3 4 .5 15c.3 1.9-.6 7-1.1 9.3-.6 2.4-1.6 7.5-1.4 8.8.3 1.4-.2 4.4-.5 5.8l-1.3 8.9c-.2 1.4-.8 5-1.3 7.2.7 1.6 4.7 14.6 5.9 17.8 1.2 3.3 4.8 19.4 5 20.7.3 1 1.1 7.8 1.5 11 .1 2.5.3 8 .2 10 0 2-.8 6.6-1.1 8.6-.2 1.7-.7 5.5-1.2 7s-1.2 8.5-1.4 11.8A81.1 81.1 0 0 1 477 552l.3 7.1.2 6.5 1.4 17.7.5 6 1.5 7.7.4 4.6c.3 2.1.7 7 .7 10.1.3 3-2.5 6-4 7 0 .2-1.2 1-4.6 3-6.4 5-26.3 11.6-35.5 14.3a379.2 379.2 0 0 1-58.6 11.2c-2.3.8-27 2.2-39 2.7-8.3 0-27 0-34.5-.4-11.5.9-47.4-4.8-63.9-7.7-6.3-.9-42.1-10.4-48-14.4-3.7-2.4-14.3-8-16.9-9.7a10.7 10.7 0 0 1-4.1-5.4c-.3-1 .1-8.6.4-12.3l.6-5 1.4-9.6 1-8 .3-4.3-.4-7.7-1-10.8v-13.8l.7-10 1.1-7.7 1.8-8 2.8-9.5 3.3-9.3a78 78 0 0 1-2.5-20.8 1112.2 1112.2 0 0 1 .6-14.1c-.1-.7 2.1-10.2 3.3-15l1-3.8-.1-.8c-1.4-8.3-1.5-14-1.9-15.4a78 78 0 0 1 .4-10.9l2-6.7.4-2-.4-1.5a67.6 67.6 0 0 1-7.3-27l-.2-7.7.5-5.4.3-1.5.4-3.9.7-5 .2-2.2-.2-.4-.3-6-1-3.1-.3-4-.7-7.6-1.5-8.3-.8-4.2-1.4-9.2-.4-4.3L172 279l-2.2-14.6a545 545 0 0 1-1.7-8.5c-.1-1-2-2.1-3-2.6 0 .6-.6 1.5-1.7 2-1.2.7-2.4 1.3-2.7 2.2l-.8 4.7a15 15 0 0 1-2.5 4.1 16.4 16.4 0 0 0-2.6 6.3l-.3 2.4v1.3l-1.4 1.1-.3.3-6 14.5c-.7 2.3-1.3 1.8-1.9 1.5l-10.5-3.1-9-3-18.3-6-20-6.8-13-4.8c-2.1-1-7-3-9.4-3.8-2.5-.8-3-1.3-2.8-1.4Z"
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
|
-
i && /* @__PURE__ */
|
|
321
|
+
i && /* @__PURE__ */ v(pe, { children: [
|
|
322
322
|
/* @__PURE__ */ t("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
323
323
|
/* @__PURE__ */ t("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
324
324
|
] }),
|
|
@@ -366,8 +366,8 @@ function pa({ jersey: e, className: a }) {
|
|
|
366
366
|
)
|
|
367
367
|
] });
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
return /* @__PURE__ */
|
|
369
|
+
function $e({ name: e, jersey: a, size: n = "regular" }) {
|
|
370
|
+
return /* @__PURE__ */ v("div", { className: `oli-font ${_e.team} ${_e[n]}`, children: [
|
|
371
371
|
a != null && a.base ? /* @__PURE__ */ t(
|
|
372
372
|
pa,
|
|
373
373
|
{
|
|
@@ -388,19 +388,19 @@ function fa(e, a, {
|
|
|
388
388
|
if (!n) return;
|
|
389
389
|
const c = e.current;
|
|
390
390
|
if (!c) return;
|
|
391
|
-
const
|
|
391
|
+
const p = (g) => {
|
|
392
392
|
const u = a.current;
|
|
393
393
|
if (!u || !u.go) return;
|
|
394
|
-
const { deltaX: m, deltaY: d } =
|
|
394
|
+
const { deltaX: m, deltaY: d } = g;
|
|
395
395
|
if (Math.abs(m) <= Math.abs(d)) return;
|
|
396
|
-
|
|
397
|
-
const
|
|
398
|
-
if (
|
|
399
|
-
const
|
|
400
|
-
r.current = 0, s.current =
|
|
396
|
+
g.preventDefault(), r.current += m;
|
|
397
|
+
const f = Date.now();
|
|
398
|
+
if (f - s.current < i || Math.abs(r.current) < o) return;
|
|
399
|
+
const b = r.current > 0 ? ">" : "<";
|
|
400
|
+
r.current = 0, s.current = f, u.go(b);
|
|
401
401
|
};
|
|
402
|
-
return c.addEventListener("wheel",
|
|
403
|
-
c.removeEventListener("wheel",
|
|
402
|
+
return c.addEventListener("wheel", p, { passive: !1 }), () => {
|
|
403
|
+
c.removeEventListener("wheel", p), r.current = 0;
|
|
404
404
|
};
|
|
405
405
|
}, [n, o, i, e, a]);
|
|
406
406
|
}
|
|
@@ -419,84 +419,84 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
419
419
|
options: r = {},
|
|
420
420
|
className: s = "",
|
|
421
421
|
onMove: c,
|
|
422
|
-
useIndexAsKey:
|
|
423
|
-
enableHorizontalWheel:
|
|
422
|
+
useIndexAsKey: p = !1,
|
|
423
|
+
enableHorizontalWheel: g = !0,
|
|
424
424
|
showRightGradient: u = !1
|
|
425
425
|
}, m) => {
|
|
426
|
-
const d = V(null),
|
|
427
|
-
fa(
|
|
428
|
-
enabled:
|
|
426
|
+
const d = V(null), f = V(null), b = V(e.length), x = V(null), _ = V(null);
|
|
427
|
+
fa(f, d, {
|
|
428
|
+
enabled: g
|
|
429
429
|
}), kt(m, () => ({
|
|
430
430
|
next: () => {
|
|
431
|
-
var
|
|
432
|
-
return (
|
|
431
|
+
var C;
|
|
432
|
+
return (C = d.current) == null ? void 0 : C.go(">");
|
|
433
433
|
},
|
|
434
434
|
prev: () => {
|
|
435
|
-
var
|
|
436
|
-
return (
|
|
435
|
+
var C;
|
|
436
|
+
return (C = d.current) == null ? void 0 : C.go("<");
|
|
437
437
|
},
|
|
438
|
-
go: (
|
|
438
|
+
go: (C) => {
|
|
439
439
|
var A;
|
|
440
|
-
return (A = d.current) == null ? void 0 : A.go(
|
|
440
|
+
return (A = d.current) == null ? void 0 : A.go(C);
|
|
441
441
|
}
|
|
442
442
|
}));
|
|
443
|
-
const
|
|
443
|
+
const h = (C) => {
|
|
444
444
|
var W;
|
|
445
|
-
const A =
|
|
446
|
-
let R = 0, U =
|
|
447
|
-
for (let G =
|
|
448
|
-
const
|
|
449
|
-
if (!
|
|
445
|
+
const A = C.Components.Slides, M = C.Components.Controller, w = C.root.querySelector(".splide__track"), k = (W = w == null ? void 0 : w.clientWidth) != null ? W : 0, P = M.getIndex(), z = A.getLength();
|
|
446
|
+
let R = 0, U = P;
|
|
447
|
+
for (let G = P; G < z; G++) {
|
|
448
|
+
const J = A.getAt(G);
|
|
449
|
+
if (!J || (R += J.slide.offsetWidth, R > k)) break;
|
|
450
450
|
U = G;
|
|
451
451
|
}
|
|
452
|
-
return { visibleStart:
|
|
453
|
-
},
|
|
454
|
-
const A =
|
|
455
|
-
return !A || !
|
|
456
|
-
},
|
|
452
|
+
return { visibleStart: P, visibleEnd: U };
|
|
453
|
+
}, E = (C) => {
|
|
454
|
+
const A = C.root.querySelector(".splide__track"), M = C.root.querySelector(".splide__list");
|
|
455
|
+
return !A || !M ? !1 : M.scrollWidth > A.clientWidth + 1;
|
|
456
|
+
}, T = Oe((C) => {
|
|
457
457
|
var U, W;
|
|
458
|
-
const
|
|
459
|
-
if (!
|
|
458
|
+
const M = C.Components.Slides.getLength();
|
|
459
|
+
if (!E(C)) {
|
|
460
460
|
c == null || c({
|
|
461
461
|
index: 0,
|
|
462
462
|
isStart: !0,
|
|
463
463
|
isEnd: !0,
|
|
464
|
-
total:
|
|
464
|
+
total: M,
|
|
465
465
|
visibleStart: 0,
|
|
466
|
-
visibleEnd:
|
|
466
|
+
visibleEnd: M - 1
|
|
467
467
|
});
|
|
468
468
|
return;
|
|
469
469
|
}
|
|
470
|
-
const { visibleStart:
|
|
471
|
-
u && ((U =
|
|
472
|
-
const R =
|
|
470
|
+
const { visibleStart: w, visibleEnd: k } = h(C), P = w === 0, z = k === M - 1;
|
|
471
|
+
u && ((U = x.current) == null || U.style.setProperty("--gradient-opacity", P ? "0" : "1"), (W = _.current) == null || W.style.setProperty("--gradient-opacity", z ? "0" : "1"));
|
|
472
|
+
const R = C.Components.Controller.getIndex();
|
|
473
473
|
c == null || c({
|
|
474
474
|
index: R,
|
|
475
|
-
isStart:
|
|
475
|
+
isStart: P,
|
|
476
476
|
isEnd: z,
|
|
477
|
-
total:
|
|
478
|
-
visibleStart:
|
|
479
|
-
visibleEnd:
|
|
477
|
+
total: M,
|
|
478
|
+
visibleStart: w,
|
|
479
|
+
visibleEnd: k
|
|
480
480
|
});
|
|
481
481
|
}, [c]);
|
|
482
482
|
fe.useEffect(() => {
|
|
483
|
-
var
|
|
484
|
-
const
|
|
485
|
-
if (!
|
|
486
|
-
const A =
|
|
487
|
-
|
|
488
|
-
|
|
483
|
+
var M;
|
|
484
|
+
const C = (M = d.current) == null ? void 0 : M.splide;
|
|
485
|
+
if (!C) return;
|
|
486
|
+
const A = b.current !== e.length;
|
|
487
|
+
b.current = e.length, A && requestAnimationFrame(() => {
|
|
488
|
+
C.refresh(), T(C);
|
|
489
489
|
});
|
|
490
|
-
}, [e.length,
|
|
491
|
-
const D =
|
|
490
|
+
}, [e.length, T]);
|
|
491
|
+
const D = Oe(() => {
|
|
492
492
|
var A;
|
|
493
|
-
const
|
|
494
|
-
|
|
495
|
-
}, [
|
|
496
|
-
(
|
|
497
|
-
|
|
493
|
+
const C = (A = d.current) == null ? void 0 : A.splide;
|
|
494
|
+
C && (C.go(0, !1), T(C));
|
|
495
|
+
}, [T]), y = Oe(
|
|
496
|
+
(C) => {
|
|
497
|
+
T(C);
|
|
498
498
|
},
|
|
499
|
-
[
|
|
499
|
+
[T]
|
|
500
500
|
), $ = {
|
|
501
501
|
type: "slide",
|
|
502
502
|
trimSpace: !1,
|
|
@@ -510,12 +510,12 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
510
510
|
gap: o,
|
|
511
511
|
breakpoints: i,
|
|
512
512
|
...r,
|
|
513
|
-
...
|
|
513
|
+
...g ? { wheel: !1 } : {}
|
|
514
514
|
};
|
|
515
|
-
return /* @__PURE__ */
|
|
515
|
+
return /* @__PURE__ */ v(
|
|
516
516
|
"div",
|
|
517
517
|
{
|
|
518
|
-
ref:
|
|
518
|
+
ref: f,
|
|
519
519
|
className: s,
|
|
520
520
|
style: { width: "100%", position: "relative", height: "100%" },
|
|
521
521
|
children: [
|
|
@@ -524,23 +524,23 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
524
524
|
{
|
|
525
525
|
ref: d,
|
|
526
526
|
options: $,
|
|
527
|
-
onMove:
|
|
527
|
+
onMove: T,
|
|
528
528
|
onMounted: y,
|
|
529
529
|
onResize: D,
|
|
530
|
-
children: e.map((
|
|
531
|
-
var
|
|
532
|
-
return /* @__PURE__ */ t(ya, { children: a(
|
|
530
|
+
children: e.map((C, A) => {
|
|
531
|
+
var M;
|
|
532
|
+
return /* @__PURE__ */ t(ya, { children: a(C, A) }, p ? A : (M = C.id) != null ? M : A);
|
|
533
533
|
})
|
|
534
534
|
}
|
|
535
535
|
),
|
|
536
|
-
u && /* @__PURE__ */
|
|
536
|
+
u && /* @__PURE__ */ v(pe, { children: [
|
|
537
537
|
/* @__PURE__ */ t(
|
|
538
538
|
"div",
|
|
539
539
|
{
|
|
540
|
-
ref:
|
|
540
|
+
ref: x,
|
|
541
541
|
className: `${ye.gradientOverlay} ${ye.left}`,
|
|
542
542
|
style: { "--gradient-opacity": "0" },
|
|
543
|
-
children: /* @__PURE__ */
|
|
543
|
+
children: /* @__PURE__ */ v(
|
|
544
544
|
"svg",
|
|
545
545
|
{
|
|
546
546
|
className: ye.svg,
|
|
@@ -550,7 +550,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
550
550
|
xmlns: "http://www.w3.org/2000/svg",
|
|
551
551
|
children: [
|
|
552
552
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
|
|
553
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
553
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ v("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
554
554
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
555
555
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
556
556
|
] }) })
|
|
@@ -562,10 +562,10 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
562
562
|
/* @__PURE__ */ t(
|
|
563
563
|
"div",
|
|
564
564
|
{
|
|
565
|
-
ref:
|
|
565
|
+
ref: _,
|
|
566
566
|
className: `${ye.gradientOverlay} ${ye.right}`,
|
|
567
567
|
style: { "--gradient-opacity": "1" },
|
|
568
|
-
children: /* @__PURE__ */
|
|
568
|
+
children: /* @__PURE__ */ v(
|
|
569
569
|
"svg",
|
|
570
570
|
{
|
|
571
571
|
className: ye.svg,
|
|
@@ -575,7 +575,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
575
575
|
xmlns: "http://www.w3.org/2000/svg",
|
|
576
576
|
children: [
|
|
577
577
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
|
|
578
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
578
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ v("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
579
579
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
580
580
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
581
581
|
] }) })
|
|
@@ -598,7 +598,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
598
598
|
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (c) => {
|
|
599
599
|
c.stopPropagation(), a == null || a();
|
|
600
600
|
}, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
601
|
-
return /* @__PURE__ */
|
|
601
|
+
return /* @__PURE__ */ v(
|
|
602
602
|
q,
|
|
603
603
|
{
|
|
604
604
|
onClick: a,
|
|
@@ -669,7 +669,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
669
669
|
transition: "opacity .15s ease, transform .15s ease",
|
|
670
670
|
pointerEvents: "none"
|
|
671
671
|
},
|
|
672
|
-
children: /* @__PURE__ */ t(
|
|
672
|
+
children: /* @__PURE__ */ t(Y, { variant: "primary", size: "md", onClick: r, children: "Jugar" })
|
|
673
673
|
}
|
|
674
674
|
)
|
|
675
675
|
]
|
|
@@ -686,18 +686,18 @@ function xa({
|
|
|
686
686
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
687
687
|
}
|
|
688
688
|
}) {
|
|
689
|
-
var m, d,
|
|
690
|
-
const r = (
|
|
691
|
-
var
|
|
689
|
+
var m, d, f, b;
|
|
690
|
+
const r = (x, _) => {
|
|
691
|
+
var h, E, T, D;
|
|
692
692
|
return {
|
|
693
|
-
xs: (
|
|
694
|
-
md: (D = (
|
|
693
|
+
xs: (E = (h = i.xs) == null ? void 0 : h[x]) != null ? E : _,
|
|
694
|
+
md: (D = (T = i.md) == null ? void 0 : T[x]) != null ? D : _
|
|
695
695
|
};
|
|
696
|
-
}, s = r("w", 186), c = r("h", 264),
|
|
696
|
+
}, s = r("w", 186), c = r("h", 264), p = r("r", 22.6), g = r("font", 64), u = {
|
|
697
697
|
xs: Math.round(((d = (m = i.xs) == null ? void 0 : m.font) != null ? d : 64) * 0.28),
|
|
698
|
-
md: Math.round(((
|
|
698
|
+
md: Math.round(((b = (f = i.md) == null ? void 0 : f.font) != null ? b : 64) * 0.28)
|
|
699
699
|
};
|
|
700
|
-
return /* @__PURE__ */
|
|
700
|
+
return /* @__PURE__ */ v(
|
|
701
701
|
q,
|
|
702
702
|
{
|
|
703
703
|
sx: {
|
|
@@ -708,7 +708,7 @@ function xa({
|
|
|
708
708
|
xs: `${s.xs}/${c.xs}`,
|
|
709
709
|
md: `${s.md}/${c.md}`
|
|
710
710
|
},
|
|
711
|
-
borderRadius: { xs: `${
|
|
711
|
+
borderRadius: { xs: `${p.xs}px`, md: `${p.md}px` },
|
|
712
712
|
boxSizing: "border-box",
|
|
713
713
|
overflow: "visible",
|
|
714
714
|
pb: { xs: `${u.xs}px`, md: `${u.md}px` },
|
|
@@ -771,8 +771,8 @@ function xa({
|
|
|
771
771
|
},
|
|
772
772
|
fontFamily: '"secondary", sans-serif',
|
|
773
773
|
fontSize: {
|
|
774
|
-
xs: `${
|
|
775
|
-
md: `${
|
|
774
|
+
xs: `${g.xs}px`,
|
|
775
|
+
md: `${g.md}px`
|
|
776
776
|
},
|
|
777
777
|
lineHeight: 1,
|
|
778
778
|
color: "#3CC666",
|
|
@@ -795,7 +795,7 @@ const wa = ({
|
|
|
795
795
|
onClick: i
|
|
796
796
|
}) => {
|
|
797
797
|
var r;
|
|
798
|
-
return /* @__PURE__ */
|
|
798
|
+
return /* @__PURE__ */ v(
|
|
799
799
|
q,
|
|
800
800
|
{
|
|
801
801
|
onClick: i,
|
|
@@ -866,7 +866,7 @@ const wa = ({
|
|
|
866
866
|
]
|
|
867
867
|
}
|
|
868
868
|
);
|
|
869
|
-
},
|
|
869
|
+
}, Le = 12, Fe = ({ r: e = 16 }) => /* @__PURE__ */ t(q, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
|
|
870
870
|
j,
|
|
871
871
|
{
|
|
872
872
|
variant: "rectangular",
|
|
@@ -890,8 +890,8 @@ const wa = ({
|
|
|
890
890
|
}) => {
|
|
891
891
|
var r, s;
|
|
892
892
|
if (a === "mosaic") {
|
|
893
|
-
const c = e[0],
|
|
894
|
-
return /* @__PURE__ */
|
|
893
|
+
const c = e[0], p = e.slice(1, 5);
|
|
894
|
+
return /* @__PURE__ */ v(
|
|
895
895
|
q,
|
|
896
896
|
{
|
|
897
897
|
sx: {
|
|
@@ -909,8 +909,8 @@ const wa = ({
|
|
|
909
909
|
xs: "104px",
|
|
910
910
|
md: "152px"
|
|
911
911
|
},
|
|
912
|
-
columnGap: `${
|
|
913
|
-
rowGap: `${
|
|
912
|
+
columnGap: `${Le}px`,
|
|
913
|
+
rowGap: `${Le}px`,
|
|
914
914
|
alignItems: "stretch",
|
|
915
915
|
justifyItems: "stretch"
|
|
916
916
|
},
|
|
@@ -936,7 +936,7 @@ const wa = ({
|
|
|
936
936
|
)
|
|
937
937
|
}
|
|
938
938
|
),
|
|
939
|
-
(o ? Array.from({ length: 4 }) :
|
|
939
|
+
(o ? Array.from({ length: 4 }) : p).map((g, u) => {
|
|
940
940
|
var m, d;
|
|
941
941
|
return /* @__PURE__ */ t(
|
|
942
942
|
q,
|
|
@@ -950,14 +950,14 @@ const wa = ({
|
|
|
950
950
|
children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
|
|
951
951
|
Te,
|
|
952
952
|
{
|
|
953
|
-
imageUrl: `https://olimpo.bet${(d = (m =
|
|
953
|
+
imageUrl: `https://olimpo.bet${(d = (m = g.background) != null ? m : g.imageUrl) != null ? d : ""}`,
|
|
954
954
|
size: "sm",
|
|
955
955
|
fillParent: !0,
|
|
956
|
-
onClick: () => n == null ? void 0 : n(
|
|
956
|
+
onClick: () => n == null ? void 0 : n(g, u + 1)
|
|
957
957
|
}
|
|
958
958
|
)
|
|
959
959
|
},
|
|
960
|
-
o ? `sk-${u}` :
|
|
960
|
+
o ? `sk-${u}` : g.id
|
|
961
961
|
);
|
|
962
962
|
})
|
|
963
963
|
]
|
|
@@ -977,11 +977,11 @@ const wa = ({
|
|
|
977
977
|
xs: "repeat(2, 112px)",
|
|
978
978
|
md: "repeat(2, 168px)"
|
|
979
979
|
},
|
|
980
|
-
gap: `${
|
|
980
|
+
gap: `${Le}px`,
|
|
981
981
|
gridAutoFlow: "column"
|
|
982
982
|
},
|
|
983
|
-
children: (o ? Array.from({ length: i }) : e).map((c,
|
|
984
|
-
var
|
|
983
|
+
children: (o ? Array.from({ length: i }) : e).map((c, p) => {
|
|
984
|
+
var g, u, m;
|
|
985
985
|
return /* @__PURE__ */ t(
|
|
986
986
|
q,
|
|
987
987
|
{
|
|
@@ -989,19 +989,19 @@ const wa = ({
|
|
|
989
989
|
children: o ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t(
|
|
990
990
|
Te,
|
|
991
991
|
{
|
|
992
|
-
imageUrl: `https://olimpo.bet${(u = (
|
|
992
|
+
imageUrl: `https://olimpo.bet${(u = (g = c.background) != null ? g : c.imageUrl) != null ? u : ""}`,
|
|
993
993
|
size: "sm",
|
|
994
994
|
fillParent: !0,
|
|
995
|
-
onClick: () => n == null ? void 0 : n(c,
|
|
995
|
+
onClick: () => n == null ? void 0 : n(c, p)
|
|
996
996
|
}
|
|
997
997
|
)
|
|
998
998
|
},
|
|
999
|
-
o ? `sk-${
|
|
999
|
+
o ? `sk-${p}` : (m = c.id) != null ? m : p
|
|
1000
1000
|
);
|
|
1001
1001
|
})
|
|
1002
1002
|
}
|
|
1003
1003
|
);
|
|
1004
|
-
},
|
|
1004
|
+
}, Xe = ({
|
|
1005
1005
|
title: e,
|
|
1006
1006
|
amount: a,
|
|
1007
1007
|
subtitle: n,
|
|
@@ -1010,10 +1010,10 @@ const wa = ({
|
|
|
1010
1010
|
backgroundImage: r,
|
|
1011
1011
|
alt: s,
|
|
1012
1012
|
className: c = "",
|
|
1013
|
-
variant:
|
|
1013
|
+
variant: p = "small"
|
|
1014
1014
|
}) => {
|
|
1015
|
-
const
|
|
1016
|
-
return /* @__PURE__ */
|
|
1015
|
+
const g = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", m = p === "large";
|
|
1016
|
+
return /* @__PURE__ */ v(
|
|
1017
1017
|
q,
|
|
1018
1018
|
{
|
|
1019
1019
|
className: c,
|
|
@@ -1074,7 +1074,7 @@ const wa = ({
|
|
|
1074
1074
|
pl: "14%",
|
|
1075
1075
|
pr: { xs: "14%", lg: "15%" }
|
|
1076
1076
|
},
|
|
1077
|
-
children: /* @__PURE__ */
|
|
1077
|
+
children: /* @__PURE__ */ v(
|
|
1078
1078
|
q,
|
|
1079
1079
|
{
|
|
1080
1080
|
sx: {
|
|
@@ -1095,7 +1095,7 @@ const wa = ({
|
|
|
1095
1095
|
children: e
|
|
1096
1096
|
}
|
|
1097
1097
|
),
|
|
1098
|
-
a && /* @__PURE__ */
|
|
1098
|
+
a && /* @__PURE__ */ v(
|
|
1099
1099
|
q,
|
|
1100
1100
|
{
|
|
1101
1101
|
component: "p",
|
|
@@ -1118,7 +1118,7 @@ const wa = ({
|
|
|
1118
1118
|
{
|
|
1119
1119
|
component: "span",
|
|
1120
1120
|
sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
|
|
1121
|
-
children:
|
|
1121
|
+
children: g
|
|
1122
1122
|
}
|
|
1123
1123
|
),
|
|
1124
1124
|
/* @__PURE__ */ t(
|
|
@@ -1144,7 +1144,7 @@ const wa = ({
|
|
|
1144
1144
|
children: n
|
|
1145
1145
|
}
|
|
1146
1146
|
),
|
|
1147
|
-
o && /* @__PURE__ */ t(
|
|
1147
|
+
o && /* @__PURE__ */ t(Y, { onClick: i, children: o })
|
|
1148
1148
|
]
|
|
1149
1149
|
}
|
|
1150
1150
|
)
|
|
@@ -1161,7 +1161,7 @@ const wa = ({
|
|
|
1161
1161
|
imgSrcMobile: i,
|
|
1162
1162
|
imgSrcDesktopBg: r,
|
|
1163
1163
|
imgSrcDesktopLogo: s
|
|
1164
|
-
}) => /* @__PURE__ */
|
|
1164
|
+
}) => /* @__PURE__ */ v(pe, { children: [
|
|
1165
1165
|
/* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
|
|
1166
1166
|
"img",
|
|
1167
1167
|
{
|
|
@@ -1170,7 +1170,7 @@ const wa = ({
|
|
|
1170
1170
|
className: "orc-co-bgMobileImg"
|
|
1171
1171
|
}
|
|
1172
1172
|
) }),
|
|
1173
|
-
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */
|
|
1173
|
+
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ v("div", { className: "orc-co-desktopInner", children: [
|
|
1174
1174
|
r && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
|
|
1175
1175
|
"img",
|
|
1176
1176
|
{
|
|
@@ -1179,7 +1179,7 @@ const wa = ({
|
|
|
1179
1179
|
className: "orc-co-bgDesktopImg"
|
|
1180
1180
|
}
|
|
1181
1181
|
) }),
|
|
1182
|
-
/* @__PURE__ */
|
|
1182
|
+
/* @__PURE__ */ v("div", { className: "orc-co-desktopContent", children: [
|
|
1183
1183
|
s && /* @__PURE__ */ t(
|
|
1184
1184
|
"img",
|
|
1185
1185
|
{
|
|
@@ -1189,22 +1189,22 @@ const wa = ({
|
|
|
1189
1189
|
}
|
|
1190
1190
|
),
|
|
1191
1191
|
/* @__PURE__ */ t("p", { className: "orc-co-captionDesktop", children: e }),
|
|
1192
|
-
/* @__PURE__ */ t(
|
|
1192
|
+
/* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1193
1193
|
] })
|
|
1194
1194
|
] }) }),
|
|
1195
|
-
/* @__PURE__ */
|
|
1195
|
+
/* @__PURE__ */ v("div", { className: "orc-co-bottom", children: [
|
|
1196
1196
|
/* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
|
|
1197
|
-
/* @__PURE__ */ t(
|
|
1197
|
+
/* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1198
1198
|
] })
|
|
1199
|
-
] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY",
|
|
1199
|
+
] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ca = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Oa = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
|
|
1200
1200
|
card: Ia,
|
|
1201
|
-
combinadas:
|
|
1202
|
-
combinadasScroll:
|
|
1203
|
-
apuestaItem:
|
|
1201
|
+
combinadas: Ea,
|
|
1202
|
+
combinadasScroll: Ca,
|
|
1203
|
+
apuestaItem: Oa,
|
|
1204
1204
|
lineContainer: Ta,
|
|
1205
1205
|
circle: ka,
|
|
1206
|
-
line:
|
|
1207
|
-
apuestaText:
|
|
1206
|
+
line: Na,
|
|
1207
|
+
apuestaText: $a,
|
|
1208
1208
|
cuotaTotal: Ma
|
|
1209
1209
|
};
|
|
1210
1210
|
function Ue(e, a) {
|
|
@@ -1231,47 +1231,47 @@ async function gt(e) {
|
|
|
1231
1231
|
})
|
|
1232
1232
|
})).json();
|
|
1233
1233
|
}
|
|
1234
|
-
const ht =
|
|
1234
|
+
const ht = Nt(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
|
|
1235
1235
|
const o = fe.useMemo(() => ({ docId: a, moduleId: n }), [a, n]);
|
|
1236
1236
|
return /* @__PURE__ */ t(ht.Provider, { value: o, children: e });
|
|
1237
1237
|
}, vt = () => {
|
|
1238
|
-
const e =
|
|
1238
|
+
const e = $t(ht);
|
|
1239
1239
|
if (!e)
|
|
1240
1240
|
throw new Error("useDocContext debe usarse dentro de DocIdProvider");
|
|
1241
1241
|
return e;
|
|
1242
1242
|
}, ne = () => vt().docId, le = () => vt().moduleId;
|
|
1243
1243
|
function Ra({ coupon: e }) {
|
|
1244
|
-
var
|
|
1244
|
+
var g;
|
|
1245
1245
|
const a = ae(), n = ne();
|
|
1246
1246
|
function o(u) {
|
|
1247
|
-
var
|
|
1247
|
+
var f, b;
|
|
1248
1248
|
const m = [], d = Array.from(
|
|
1249
1249
|
new Map(
|
|
1250
|
-
((
|
|
1250
|
+
((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((x) => [x.id, x])
|
|
1251
1251
|
).values()
|
|
1252
1252
|
);
|
|
1253
|
-
return d.forEach((
|
|
1254
|
-
var
|
|
1255
|
-
const
|
|
1256
|
-
|
|
1257
|
-
var A,
|
|
1253
|
+
return d.forEach((x) => {
|
|
1254
|
+
var T;
|
|
1255
|
+
const _ = (T = x.betoffers) != null ? T : [], h = x.homeName, E = x.awayName;
|
|
1256
|
+
_.forEach((D) => {
|
|
1257
|
+
var A, M, w, k, P, z, R;
|
|
1258
1258
|
if (!((A = D == null ? void 0 : D.outcomes) != null && A.length)) return;
|
|
1259
1259
|
const y = D.outcomes[0];
|
|
1260
1260
|
if (!y) return;
|
|
1261
1261
|
let $ = "";
|
|
1262
|
-
const
|
|
1263
|
-
["Más de", "Mas de", "Over"].includes(y.label) ? ($ = `Más de ${
|
|
1262
|
+
const C = y != null && y.line ? y.line / 1e3 : "";
|
|
1263
|
+
["Más de", "Mas de", "Over"].includes(y.label) ? ($ = `Más de ${C}`, y.participant && ($ = `${y.participant} - ${$}`)) : ["Menos de", "Menos", "Under"].includes(y.label) ? ($ = `Menos de ${C}`, y.participant && ($ = `${y.participant} - ${$}`)) : ["Sí", "No"].includes(y.label) ? ($ = y.label, y.participant && ($ = `${y.participant} - ${$}`)) : ["1X", "12", "X2"].includes(y.label) ? (y.label === "1X" && ($ = `${h} o Empate`), y.label === "12" && ($ = `${h} o ${E}`), y.label === "X2" && ($ = `${E} o Empate`)) : ($ = (w = (M = y.participant) != null ? M : y.label) != null ? w : "", C !== "" && $ === y.label && ($ = `${y.label} ${C}`)), m.push({
|
|
1264
1264
|
id: y.id,
|
|
1265
1265
|
value: $,
|
|
1266
|
-
label: (
|
|
1266
|
+
label: (P = (k = D.criterion) == null ? void 0 : k.label) != null ? P : "",
|
|
1267
1267
|
odds: (z = y.odds) != null ? z : 0,
|
|
1268
1268
|
position: (R = y.position) != null ? R : 0,
|
|
1269
|
-
eventId:
|
|
1269
|
+
eventId: x.id
|
|
1270
1270
|
});
|
|
1271
1271
|
});
|
|
1272
1272
|
}), {
|
|
1273
|
-
outcomes: m.sort((
|
|
1274
|
-
total: Number((
|
|
1273
|
+
outcomes: m.sort((x, _) => x.position - _.position),
|
|
1274
|
+
total: Number((b = u == null ? void 0 : u.combinadoTotal) != null ? b : 0).toLocaleString("en-US", {
|
|
1275
1275
|
minimumFractionDigits: 2,
|
|
1276
1276
|
maximumFractionDigits: 2
|
|
1277
1277
|
}),
|
|
@@ -1285,43 +1285,43 @@ function Ra({ coupon: e }) {
|
|
|
1285
1285
|
if (m.length === 1)
|
|
1286
1286
|
return `/deportes#event/${m[0].id}`;
|
|
1287
1287
|
const d = m[0].groupId;
|
|
1288
|
-
if (m.every((
|
|
1289
|
-
const
|
|
1290
|
-
if (Array.isArray(
|
|
1291
|
-
return `/deportes#sports-hub/${
|
|
1288
|
+
if (m.every((b) => b.groupId === d)) {
|
|
1289
|
+
const b = m[0].path;
|
|
1290
|
+
if (Array.isArray(b) && b.length > 0)
|
|
1291
|
+
return `/deportes#sports-hub/${b.map((_) => _.termKey).filter(Boolean).join("/")}`;
|
|
1292
1292
|
}
|
|
1293
1293
|
return "/deportes#home";
|
|
1294
1294
|
}
|
|
1295
1295
|
const r = (u, m) => {
|
|
1296
|
-
const d = Array.isArray(u) ? u : [u],
|
|
1296
|
+
const d = Array.isArray(u) ? u : [u], f = Array.from(
|
|
1297
1297
|
new Set(
|
|
1298
|
-
s.outcomes.map((
|
|
1299
|
-
var
|
|
1300
|
-
const
|
|
1301
|
-
return (
|
|
1298
|
+
s.outcomes.map((_) => {
|
|
1299
|
+
var E;
|
|
1300
|
+
const h = p.get(Number(_.eventId));
|
|
1301
|
+
return (E = h == null ? void 0 : h.name) != null ? E : "";
|
|
1302
1302
|
})
|
|
1303
1303
|
)
|
|
1304
|
-
).filter(Boolean),
|
|
1304
|
+
).filter(Boolean), b = f.length > 0 ? f.join(" + ") : JSON.stringify(d), x = m ? `${b} - Cuota: ${m}` : b;
|
|
1305
1305
|
a({
|
|
1306
1306
|
element: "evento_semana_outcome",
|
|
1307
|
-
label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${
|
|
1307
|
+
label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${x}`,
|
|
1308
1308
|
target: "/deportes#in-play",
|
|
1309
1309
|
event_type: "click",
|
|
1310
1310
|
module_id: 301,
|
|
1311
1311
|
metadata: {
|
|
1312
1312
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1313
1313
|
},
|
|
1314
|
-
tags: { section: "OraculoEventCombinadasCard", outcomes:
|
|
1314
|
+
tags: { section: "OraculoEventCombinadasCard", outcomes: x }
|
|
1315
1315
|
}), Ue(i(e), u);
|
|
1316
1316
|
};
|
|
1317
|
-
if (!((
|
|
1318
|
-
const s = o(e), c = s.outcomes.reduce((u, m) => (u[m.eventId] || (u[m.eventId] = []), u[m.eventId].push(m), u), {}),
|
|
1317
|
+
if (!((g = e == null ? void 0 : e.events) != null && g.length)) return null;
|
|
1318
|
+
const s = o(e), c = s.outcomes.reduce((u, m) => (u[m.eventId] || (u[m.eventId] = []), u[m.eventId].push(m), u), {}), p = new Map(
|
|
1319
1319
|
s.events.map((u) => [u.id, u])
|
|
1320
1320
|
);
|
|
1321
|
-
return /* @__PURE__ */
|
|
1321
|
+
return /* @__PURE__ */ v("div", { className: ce.card, children: [
|
|
1322
1322
|
/* @__PURE__ */ t("div", { className: ce.combinadas, children: /* @__PURE__ */ t("div", { className: ce.combinadasScroll, children: /* @__PURE__ */ t(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(c).reverse().map(([u, m]) => {
|
|
1323
|
-
const d =
|
|
1324
|
-
return d ? /* @__PURE__ */
|
|
1323
|
+
const d = p.get(Number(u));
|
|
1324
|
+
return d ? /* @__PURE__ */ v(
|
|
1325
1325
|
H,
|
|
1326
1326
|
{
|
|
1327
1327
|
direction: "column",
|
|
@@ -1343,23 +1343,23 @@ function Ra({ coupon: e }) {
|
|
|
1343
1343
|
src: "/assets/img/home/Combinadas/line.png"
|
|
1344
1344
|
}
|
|
1345
1345
|
),
|
|
1346
|
-
m.map((
|
|
1347
|
-
/* @__PURE__ */
|
|
1346
|
+
m.map((f, b) => /* @__PURE__ */ v("div", { className: ce.apuestaItem, children: [
|
|
1347
|
+
/* @__PURE__ */ v("div", { className: ce.lineContainer, children: [
|
|
1348
1348
|
/* @__PURE__ */ t("div", { className: ce.circle }),
|
|
1349
|
-
|
|
1349
|
+
b < m.length - 1 && /* @__PURE__ */ t("div", { className: ce.line })
|
|
1350
1350
|
] }),
|
|
1351
|
-
/* @__PURE__ */
|
|
1352
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1351
|
+
/* @__PURE__ */ v("div", { className: ce.apuestaText, children: [
|
|
1352
|
+
/* @__PURE__ */ t("strong", { children: f.value }),
|
|
1353
1353
|
" | ",
|
|
1354
|
-
|
|
1354
|
+
f.label
|
|
1355
1355
|
] })
|
|
1356
|
-
] }, `${u}-${
|
|
1356
|
+
] }, `${u}-${b}`))
|
|
1357
1357
|
]
|
|
1358
1358
|
},
|
|
1359
1359
|
u
|
|
1360
1360
|
) : null;
|
|
1361
1361
|
}) }) }) }),
|
|
1362
|
-
/* @__PURE__ */
|
|
1362
|
+
/* @__PURE__ */ v(
|
|
1363
1363
|
"button",
|
|
1364
1364
|
{
|
|
1365
1365
|
onClick: () => r(
|
|
@@ -1368,7 +1368,7 @@ function Ra({ coupon: e }) {
|
|
|
1368
1368
|
),
|
|
1369
1369
|
className: ce.cuotaTotal,
|
|
1370
1370
|
children: [
|
|
1371
|
-
/* @__PURE__ */
|
|
1371
|
+
/* @__PURE__ */ v("span", { children: [
|
|
1372
1372
|
"Cuota total: ",
|
|
1373
1373
|
/* @__PURE__ */ t("strong", { children: s.total })
|
|
1374
1374
|
] }),
|
|
@@ -1399,7 +1399,7 @@ const de = {
|
|
|
1399
1399
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1400
1400
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1401
1401
|
};
|
|
1402
|
-
function
|
|
1402
|
+
function Pa({
|
|
1403
1403
|
children: e,
|
|
1404
1404
|
onClick: a,
|
|
1405
1405
|
href: n,
|
|
@@ -1408,31 +1408,31 @@ function La({
|
|
|
1408
1408
|
type: r = "button",
|
|
1409
1409
|
disabled: s = !1,
|
|
1410
1410
|
variant: c = "primary",
|
|
1411
|
-
size:
|
|
1412
|
-
fullWidth:
|
|
1411
|
+
size: p,
|
|
1412
|
+
fullWidth: g = !1,
|
|
1413
1413
|
fullHeight: u = !1,
|
|
1414
1414
|
className: m = "",
|
|
1415
1415
|
ariaLabel: d,
|
|
1416
|
-
leftIcon:
|
|
1417
|
-
rightIcon:
|
|
1418
|
-
iconOnly:
|
|
1416
|
+
leftIcon: f,
|
|
1417
|
+
rightIcon: b,
|
|
1418
|
+
iconOnly: x
|
|
1419
1419
|
}) {
|
|
1420
|
-
const
|
|
1420
|
+
const _ = !!e && e !== !0, T = (!!f ? 1 : 0) + (!!b ? 1 : 0) == 1, D = x != null ? x : T && !_, y = [
|
|
1421
1421
|
de["orc-btn"],
|
|
1422
1422
|
// base
|
|
1423
1423
|
de[`orc-btn--${c}`],
|
|
1424
1424
|
// variant primary/secondary/tertiary
|
|
1425
|
-
|
|
1425
|
+
p ? de[`orc-btn--${p}`] : "",
|
|
1426
1426
|
// sm / md / lg
|
|
1427
|
-
|
|
1427
|
+
g ? de["orc-btn--full"] : "",
|
|
1428
1428
|
u ? de["orc-btn--fullHeight"] : "",
|
|
1429
1429
|
D ? de["orc-btn--iconOnly"] : "",
|
|
1430
1430
|
m
|
|
1431
|
-
].filter(Boolean).join(" "), $ = /* @__PURE__ */
|
|
1432
|
-
|
|
1431
|
+
].filter(Boolean).join(" "), $ = /* @__PURE__ */ v(pe, { children: [
|
|
1432
|
+
f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
|
|
1433
1433
|
!D && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
|
|
1434
|
-
|
|
1435
|
-
] }),
|
|
1434
|
+
b && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: b })
|
|
1435
|
+
] }), C = s ? !0 : void 0;
|
|
1436
1436
|
return n ? /* @__PURE__ */ t(
|
|
1437
1437
|
rt,
|
|
1438
1438
|
{
|
|
@@ -1440,10 +1440,10 @@ function La({
|
|
|
1440
1440
|
target: o,
|
|
1441
1441
|
rel: i,
|
|
1442
1442
|
"aria-label": d,
|
|
1443
|
-
"aria-disabled":
|
|
1444
|
-
tabIndex:
|
|
1443
|
+
"aria-disabled": C,
|
|
1444
|
+
tabIndex: C ? -1 : void 0,
|
|
1445
1445
|
className: y,
|
|
1446
|
-
onClick:
|
|
1446
|
+
onClick: C ? (A) => A.preventDefault() : a,
|
|
1447
1447
|
children: $
|
|
1448
1448
|
}
|
|
1449
1449
|
) : /* @__PURE__ */ t(
|
|
@@ -1451,18 +1451,18 @@ function La({
|
|
|
1451
1451
|
{
|
|
1452
1452
|
type: r,
|
|
1453
1453
|
onClick: a,
|
|
1454
|
-
disabled: !!
|
|
1454
|
+
disabled: !!C,
|
|
1455
1455
|
"aria-label": d,
|
|
1456
1456
|
className: y,
|
|
1457
1457
|
children: $
|
|
1458
1458
|
}
|
|
1459
1459
|
);
|
|
1460
1460
|
}
|
|
1461
|
-
const
|
|
1462
|
-
cardWrapper:
|
|
1461
|
+
const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", qa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
|
|
1462
|
+
cardWrapper: La,
|
|
1463
1463
|
customButtonLabel: Fa,
|
|
1464
1464
|
customButtonDisabled: qa
|
|
1465
|
-
},
|
|
1465
|
+
}, Je = {
|
|
1466
1466
|
base: "FFFFFF",
|
|
1467
1467
|
sleeve: "FFFFFF",
|
|
1468
1468
|
number: "000000",
|
|
@@ -1479,16 +1479,16 @@ const Pa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
|
|
|
1479
1479
|
if (e === void 0)
|
|
1480
1480
|
return null;
|
|
1481
1481
|
if (e === null)
|
|
1482
|
-
return a === "home" ?
|
|
1482
|
+
return a === "home" ? Je : Ye;
|
|
1483
1483
|
const o = (r = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : r[n];
|
|
1484
|
-
return o || (a === "home" ?
|
|
1484
|
+
return o || (a === "home" ? Je : Ye);
|
|
1485
1485
|
};
|
|
1486
1486
|
function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
1487
|
-
var c,
|
|
1487
|
+
var c, p, g, u, m, d, f, b, x, _, h;
|
|
1488
1488
|
const i = n == null ? void 0 : n.find(
|
|
1489
|
-
(
|
|
1490
|
-
var
|
|
1491
|
-
return ((
|
|
1489
|
+
(E) => {
|
|
1490
|
+
var T;
|
|
1491
|
+
return ((T = E.betOfferType) == null ? void 0 : T.id) === 2;
|
|
1492
1492
|
}
|
|
1493
1493
|
), r = {
|
|
1494
1494
|
englishLabel: "",
|
|
@@ -1504,28 +1504,28 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1504
1504
|
{ ...r, id: -2, label: "X", odds: void 0 },
|
|
1505
1505
|
{ ...r, id: -3, label: "2", odds: void 0 }
|
|
1506
1506
|
];
|
|
1507
|
-
return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */
|
|
1508
|
-
/* @__PURE__ */
|
|
1507
|
+
return /* @__PURE__ */ t("div", { className: ke.cardWrapper, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1508
|
+
/* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
1509
1509
|
/* @__PURE__ */ t(
|
|
1510
1510
|
Ht,
|
|
1511
1511
|
{
|
|
1512
|
-
title: (
|
|
1512
|
+
title: (g = (p = (c = e == null ? void 0 : e.path) == null ? void 0 : c[0]) == null ? void 0 : p.name) != null ? g : "",
|
|
1513
1513
|
subtitle: (u = e == null ? void 0 : e.group) != null ? u : "",
|
|
1514
1514
|
live: !0,
|
|
1515
1515
|
time: ((m = a == null ? void 0 : a.matchClock) == null ? void 0 : m.minute) != null ? `${a.matchClock.minute}'` : ""
|
|
1516
1516
|
}
|
|
1517
1517
|
),
|
|
1518
|
-
/* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */
|
|
1519
|
-
/* @__PURE__ */ t(
|
|
1520
|
-
/* @__PURE__ */ t(pt, { text: ((
|
|
1521
|
-
/* @__PURE__ */ t(
|
|
1518
|
+
/* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ v(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1519
|
+
/* @__PURE__ */ t($e, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
|
|
1520
|
+
/* @__PURE__ */ t(pt, { text: ((f = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? f : 0) + ":" + ((x = (b = a == null ? void 0 : a.score) == null ? void 0 : b.away) != null ? x : 0), name: "En vivo" }),
|
|
1521
|
+
/* @__PURE__ */ t($e, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
|
|
1522
1522
|
] }) })
|
|
1523
1523
|
] }),
|
|
1524
|
-
/* @__PURE__ */
|
|
1525
|
-
/* @__PURE__ */ t(me, { spacing: 1, children: ((
|
|
1526
|
-
/* @__PURE__ */ t(me, { spacing: 2, children: ((
|
|
1527
|
-
Ue("/deportes#event/live/" + e.id,
|
|
1528
|
-
}, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children:
|
|
1524
|
+
/* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1525
|
+
/* @__PURE__ */ t(me, { spacing: 1, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : s).map((E, T) => /* @__PURE__ */ t(ut, { text: E.label.toUpperCase() }, T)) }),
|
|
1526
|
+
/* @__PURE__ */ t(me, { spacing: 2, children: ((h = i == null ? void 0 : i.outcomes) != null ? h : s).map((E, T) => /* @__PURE__ */ t(Pa, { variant: "primary", disabled: E.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1527
|
+
Ue("/deportes#event/live/" + e.id, E.id);
|
|
1528
|
+
}, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: E.odds === void 0 ? "" : (E.odds / 1e3).toFixed(2) }) }, T)) })
|
|
1529
1529
|
] })
|
|
1530
1530
|
] }) });
|
|
1531
1531
|
}
|
|
@@ -1542,48 +1542,48 @@ const Ga = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", ja =
|
|
|
1542
1542
|
equipos: Ka
|
|
1543
1543
|
};
|
|
1544
1544
|
function Za({ event: e, jersey: a }) {
|
|
1545
|
-
var s, c,
|
|
1545
|
+
var s, c, p, g, u, m, d;
|
|
1546
1546
|
const n = ae(), o = ne();
|
|
1547
|
-
function i(
|
|
1548
|
-
const
|
|
1549
|
-
let
|
|
1550
|
-
return
|
|
1547
|
+
function i(f) {
|
|
1548
|
+
const b = new Date(f), x = b.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), _ = b.getDate().toString().padStart(2, "0"), h = (b.getMonth() + 1).toString().padStart(2, "0");
|
|
1549
|
+
let E = b.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1550
|
+
return E = E.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${x} ${_}/${h} | ${E}`;
|
|
1551
1551
|
}
|
|
1552
|
-
const r = (
|
|
1553
|
-
const
|
|
1552
|
+
const r = (f, b) => {
|
|
1553
|
+
const x = `${e.homeName} vs ${e.awayName}`, _ = b ? (b / 1e3).toFixed(2) : "", h = _ ? `${x} - Cuota: ${_}` : x;
|
|
1554
1554
|
n({
|
|
1555
1555
|
element: "evento_semana_outcome",
|
|
1556
|
-
label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${
|
|
1556
|
+
label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${h}`,
|
|
1557
1557
|
target: "/deportes#in-play",
|
|
1558
1558
|
event_type: "click",
|
|
1559
1559
|
module_id: 301,
|
|
1560
1560
|
metadata: {
|
|
1561
1561
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1562
1562
|
},
|
|
1563
|
-
tags: { section: "OraculoEventSemanaCard", outcomes:
|
|
1564
|
-
}), Ue("/deportes#event/" + e.id,
|
|
1563
|
+
tags: { section: "OraculoEventSemanaCard", outcomes: h }
|
|
1564
|
+
}), Ue("/deportes#event/" + e.id, f);
|
|
1565
1565
|
};
|
|
1566
|
-
return /* @__PURE__ */
|
|
1566
|
+
return /* @__PURE__ */ v("div", { className: be.cardContainer, children: [
|
|
1567
1567
|
/* @__PURE__ */ t(mt, { title: (s = e == null ? void 0 : e.group) != null ? s : "" }),
|
|
1568
|
-
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */
|
|
1569
|
-
/* @__PURE__ */
|
|
1570
|
-
/* @__PURE__ */
|
|
1571
|
-
/* @__PURE__ */ t(
|
|
1568
|
+
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1569
|
+
/* @__PURE__ */ v(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1570
|
+
/* @__PURE__ */ v("div", { className: be.equipos, children: [
|
|
1571
|
+
/* @__PURE__ */ t($e, { name: e.homeName, size: "compact", jersey: Me(a, "home") }),
|
|
1572
1572
|
/* @__PURE__ */ t(pt, { text: "vs.", name: "", size: "small" }),
|
|
1573
|
-
/* @__PURE__ */ t(
|
|
1573
|
+
/* @__PURE__ */ t($e, { name: e.awayName, size: "compact", jersey: Me(a, "away") })
|
|
1574
1574
|
] }),
|
|
1575
1575
|
/* @__PURE__ */ t(Wa, { text: i(e.start) })
|
|
1576
1576
|
] }),
|
|
1577
|
-
/* @__PURE__ */
|
|
1578
|
-
/* @__PURE__ */ t(me, { spacing: 1, children: ((
|
|
1579
|
-
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (m = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((
|
|
1580
|
-
r(
|
|
1581
|
-
}, children: (
|
|
1577
|
+
/* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1578
|
+
/* @__PURE__ */ t(me, { spacing: 1, children: ((g = (p = (c = e == null ? void 0 : e.outcome) == null ? void 0 : c[0]) == null ? void 0 : p.outcomes) != null ? g : []).map((f, b) => /* @__PURE__ */ t(ut, { text: f.label.toUpperCase() }, b)) }),
|
|
1579
|
+
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: ((d = (m = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : m.outcomes) != null ? d : []).map((f, b) => /* @__PURE__ */ t(Y, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1580
|
+
r(f.id, f.odds);
|
|
1581
|
+
}, children: (f.odds / 1e3).toFixed(2) }, b)) }) })
|
|
1582
1582
|
] })
|
|
1583
1583
|
] }) })
|
|
1584
1584
|
] });
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1586
|
+
function Xa({
|
|
1587
1587
|
items: e,
|
|
1588
1588
|
title: a = "Destacados",
|
|
1589
1589
|
iconUrl: n,
|
|
@@ -1592,9 +1592,9 @@ function Ja({
|
|
|
1592
1592
|
paddingMobile: r = "16px"
|
|
1593
1593
|
}) {
|
|
1594
1594
|
var D;
|
|
1595
|
-
const s = V(null), [c,
|
|
1595
|
+
const s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), g = ae(), u = ne(), m = le(), d = !e || e.length === 0, f = () => {
|
|
1596
1596
|
var y;
|
|
1597
|
-
|
|
1597
|
+
g({
|
|
1598
1598
|
element: "destacados_carousel_prev",
|
|
1599
1599
|
label: `${u} - OraculoSeccionDestacados - Anterior`,
|
|
1600
1600
|
target: "carousel",
|
|
@@ -1605,9 +1605,9 @@ function Ja({
|
|
|
1605
1605
|
},
|
|
1606
1606
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1607
1607
|
}), (y = s.current) == null || y.prev();
|
|
1608
|
-
},
|
|
1608
|
+
}, b = () => {
|
|
1609
1609
|
var y;
|
|
1610
|
-
|
|
1610
|
+
g({
|
|
1611
1611
|
element: "destacados_carousel_next",
|
|
1612
1612
|
label: `${u} - OraculoSeccionDestacados - Siguiente`,
|
|
1613
1613
|
target: "carousel",
|
|
@@ -1618,8 +1618,8 @@ function Ja({
|
|
|
1618
1618
|
},
|
|
1619
1619
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1620
1620
|
}), (y = s.current) == null || y.next();
|
|
1621
|
-
},
|
|
1622
|
-
|
|
1621
|
+
}, x = () => {
|
|
1622
|
+
g({
|
|
1623
1623
|
element: "destacados_view_more",
|
|
1624
1624
|
label: `${u} - OraculoSeccionDestacados - Ver más`,
|
|
1625
1625
|
target: "https://www.olimpo.bet/promociones",
|
|
@@ -1630,13 +1630,13 @@ function Ja({
|
|
|
1630
1630
|
},
|
|
1631
1631
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1632
1632
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
1633
|
-
},
|
|
1633
|
+
}, _ = (y) => {
|
|
1634
1634
|
if (!y) return;
|
|
1635
|
-
const
|
|
1636
|
-
|
|
1635
|
+
const C = `https://www.olimpo.bet/promociones/${encodeURIComponent(y)}`;
|
|
1636
|
+
g({
|
|
1637
1637
|
element: "destacados_card",
|
|
1638
1638
|
label: `${u} - OraculoSeccionDestacados - Click: ${String(y)}`,
|
|
1639
|
-
target:
|
|
1639
|
+
target: C,
|
|
1640
1640
|
event_type: "click",
|
|
1641
1641
|
module_id: m,
|
|
1642
1642
|
metadata: {
|
|
@@ -1646,16 +1646,16 @@ function Ja({
|
|
|
1646
1646
|
section: "OraculoSeccionDestacados",
|
|
1647
1647
|
promotion: String(y)
|
|
1648
1648
|
}
|
|
1649
|
-
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(
|
|
1650
|
-
},
|
|
1649
|
+
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(C);
|
|
1650
|
+
}, h = i || void 0, E = xe("(max-width:950px)"), T = (D = e == null ? void 0 : e.length) != null ? D : 0;
|
|
1651
1651
|
return Q(() => {
|
|
1652
|
-
if (
|
|
1653
|
-
|
|
1652
|
+
if (T === 0) {
|
|
1653
|
+
p({ isStart: !0, isEnd: !0 });
|
|
1654
1654
|
return;
|
|
1655
1655
|
}
|
|
1656
|
-
|
|
1657
|
-
}, [
|
|
1658
|
-
/* @__PURE__ */
|
|
1656
|
+
p({ isStart: !0, isEnd: !1 });
|
|
1657
|
+
}, [T, E, r]), /* @__PURE__ */ v("section", { className: h, style: { width: "100%" }, children: [
|
|
1658
|
+
/* @__PURE__ */ v(
|
|
1659
1659
|
"header",
|
|
1660
1660
|
{
|
|
1661
1661
|
style: {
|
|
@@ -1665,36 +1665,36 @@ function Ja({
|
|
|
1665
1665
|
columnGap: 12,
|
|
1666
1666
|
rowGap: 8,
|
|
1667
1667
|
marginBottom: 16,
|
|
1668
|
-
paddingLeft:
|
|
1669
|
-
paddingRight:
|
|
1668
|
+
paddingLeft: E ? r : 0,
|
|
1669
|
+
paddingRight: E ? r : 0
|
|
1670
1670
|
},
|
|
1671
1671
|
children: [
|
|
1672
1672
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
1673
|
-
/* @__PURE__ */
|
|
1673
|
+
/* @__PURE__ */ v("div", { style: { display: "flex", gap: 8 }, children: [
|
|
1674
1674
|
/* @__PURE__ */ t(
|
|
1675
|
-
|
|
1675
|
+
Y,
|
|
1676
1676
|
{
|
|
1677
1677
|
ariaLabel: "Anterior",
|
|
1678
1678
|
variant: "secondary",
|
|
1679
1679
|
iconOnly: !0,
|
|
1680
1680
|
leftIcon: /* @__PURE__ */ t(Ae, {}),
|
|
1681
|
-
onClick:
|
|
1681
|
+
onClick: f,
|
|
1682
1682
|
disabled: c.isStart || d
|
|
1683
1683
|
}
|
|
1684
1684
|
),
|
|
1685
1685
|
/* @__PURE__ */ t(
|
|
1686
|
-
|
|
1686
|
+
Y,
|
|
1687
1687
|
{
|
|
1688
1688
|
ariaLabel: "Siguiente",
|
|
1689
1689
|
variant: "secondary",
|
|
1690
1690
|
iconOnly: !0,
|
|
1691
1691
|
rightIcon: /* @__PURE__ */ t(ze, {}),
|
|
1692
|
-
onClick:
|
|
1692
|
+
onClick: b,
|
|
1693
1693
|
disabled: c.isEnd || d
|
|
1694
1694
|
}
|
|
1695
1695
|
)
|
|
1696
1696
|
] }),
|
|
1697
|
-
/* @__PURE__ */ t(
|
|
1697
|
+
/* @__PURE__ */ t(Y, { variant: "secondary", onClick: x, children: "Ver más" })
|
|
1698
1698
|
]
|
|
1699
1699
|
}
|
|
1700
1700
|
),
|
|
@@ -1706,7 +1706,7 @@ function Ja({
|
|
|
1706
1706
|
perPage: void 0,
|
|
1707
1707
|
gap: "16px",
|
|
1708
1708
|
enableHorizontalWheel: !0,
|
|
1709
|
-
showRightGradient: !
|
|
1709
|
+
showRightGradient: !E,
|
|
1710
1710
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
1711
1711
|
breakpoints: {
|
|
1712
1712
|
768: { perPage: 2, focus: "start", padding: { left: r, right: r } },
|
|
@@ -1719,7 +1719,7 @@ function Ja({
|
|
|
1719
1719
|
textAlign: "center",
|
|
1720
1720
|
cursor: "pointer"
|
|
1721
1721
|
},
|
|
1722
|
-
onClick: () =>
|
|
1722
|
+
onClick: () => _(y.promotion),
|
|
1723
1723
|
children: /* @__PURE__ */ t(
|
|
1724
1724
|
"img",
|
|
1725
1725
|
{
|
|
@@ -1738,7 +1738,7 @@ function Ja({
|
|
|
1738
1738
|
`${y.title}-${y.image}`
|
|
1739
1739
|
),
|
|
1740
1740
|
onMove: ({ isStart: y, isEnd: $ }) => {
|
|
1741
|
-
|
|
1741
|
+
p({ isStart: y, isEnd: $ }), g({
|
|
1742
1742
|
element: "destacados_carousel_slide",
|
|
1743
1743
|
label: `${u} - OraculoSeccionDestacados - Slide Carousel`,
|
|
1744
1744
|
target: "carousel",
|
|
@@ -1756,12 +1756,12 @@ function Ja({
|
|
|
1756
1756
|
)
|
|
1757
1757
|
] });
|
|
1758
1758
|
}
|
|
1759
|
-
const
|
|
1759
|
+
const Ne = "__ORACULO_EXTRAS__";
|
|
1760
1760
|
function _t() {
|
|
1761
1761
|
const e = globalThis;
|
|
1762
|
-
return e[
|
|
1762
|
+
return e[Ne] || (e[Ne] = {}), e[Ne];
|
|
1763
1763
|
}
|
|
1764
|
-
function
|
|
1764
|
+
function Ja(e) {
|
|
1765
1765
|
_t().extras = e;
|
|
1766
1766
|
}
|
|
1767
1767
|
function se(e) {
|
|
@@ -1769,7 +1769,7 @@ function se(e) {
|
|
|
1769
1769
|
return (a = _t().extras) == null ? void 0 : a[e];
|
|
1770
1770
|
}
|
|
1771
1771
|
function Ya() {
|
|
1772
|
-
delete globalThis[
|
|
1772
|
+
delete globalThis[Ne];
|
|
1773
1773
|
}
|
|
1774
1774
|
function Qa({
|
|
1775
1775
|
items: e,
|
|
@@ -1779,15 +1779,15 @@ function Qa({
|
|
|
1779
1779
|
}) {
|
|
1780
1780
|
const i = ae(), r = ne(), s = le(), c = ie(
|
|
1781
1781
|
() => (e != null ? e : []).map((m, d) => {
|
|
1782
|
-
var
|
|
1782
|
+
var f;
|
|
1783
1783
|
return {
|
|
1784
1784
|
...m,
|
|
1785
|
-
orden: (
|
|
1785
|
+
orden: (f = m.orden) != null ? f : d + 1,
|
|
1786
1786
|
_originalIndex: d
|
|
1787
1787
|
};
|
|
1788
1788
|
}).sort((m, d) => m.orden != null && d.orden != null ? m.orden - d.orden : m._originalIndex - d._originalIndex),
|
|
1789
1789
|
[e]
|
|
1790
|
-
),
|
|
1790
|
+
), p = !e || e.length === 0, g = p ? Array.from({ length: 6 }) : c.slice(0, 6), u = (m) => {
|
|
1791
1791
|
i({
|
|
1792
1792
|
element: "top_juegos_card",
|
|
1793
1793
|
label: `${r} - OraculoSeccionTopJuegos - Open game: ${String(m.machine || "unknown")}`,
|
|
@@ -1802,12 +1802,12 @@ function Qa({
|
|
|
1802
1802
|
section: "OraculoSeccionTopJuegos"
|
|
1803
1803
|
}
|
|
1804
1804
|
});
|
|
1805
|
-
const d = se("showIframe"),
|
|
1805
|
+
const d = se("showIframe"), f = se("loadMachine");
|
|
1806
1806
|
d == null || d(), requestAnimationFrame(() => {
|
|
1807
|
-
|
|
1807
|
+
f == null || f(m, !1, "CASINO");
|
|
1808
1808
|
});
|
|
1809
1809
|
};
|
|
1810
|
-
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
1810
|
+
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1811
1811
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
1812
1812
|
/* @__PURE__ */ t(
|
|
1813
1813
|
q,
|
|
@@ -1822,19 +1822,19 @@ function Qa({
|
|
|
1822
1822
|
justifyItems: "center",
|
|
1823
1823
|
width: "100%"
|
|
1824
1824
|
},
|
|
1825
|
-
children:
|
|
1826
|
-
var
|
|
1825
|
+
children: g.map((m, d) => {
|
|
1826
|
+
var f, b;
|
|
1827
1827
|
return /* @__PURE__ */ t(
|
|
1828
1828
|
xa,
|
|
1829
1829
|
{
|
|
1830
|
-
imageUrl:
|
|
1831
|
-
orden:
|
|
1832
|
-
loading:
|
|
1833
|
-
onClick:
|
|
1830
|
+
imageUrl: p ? "" : m.background ? `https://olimpo.bet${m.background}` : `https://olimpo.bet${(f = m.logo) != null ? f : ""}`,
|
|
1831
|
+
orden: p ? d + 1 : m.orden,
|
|
1832
|
+
loading: p,
|
|
1833
|
+
onClick: p ? void 0 : () => {
|
|
1834
1834
|
o == null || o(m), u(m);
|
|
1835
1835
|
}
|
|
1836
1836
|
},
|
|
1837
|
-
|
|
1837
|
+
p ? `sk-${d}` : (b = m.machine) != null ? b : `${d}`
|
|
1838
1838
|
);
|
|
1839
1839
|
})
|
|
1840
1840
|
}
|
|
@@ -1842,7 +1842,7 @@ function Qa({
|
|
|
1842
1842
|
] }) });
|
|
1843
1843
|
}
|
|
1844
1844
|
const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
|
|
1845
|
-
var n, o, i, r, s, c,
|
|
1845
|
+
var n, o, i, r, s, c, p, g, u, m, d, f, b, x;
|
|
1846
1846
|
return {
|
|
1847
1847
|
orden: Number(a),
|
|
1848
1848
|
machine: String(
|
|
@@ -1853,14 +1853,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1853
1853
|
web_name: (r = e.product) != null ? r : "",
|
|
1854
1854
|
provider: (s = e.service) != null ? s : "",
|
|
1855
1855
|
sub_provider: (c = e.service) != null ? c : "",
|
|
1856
|
-
external_id: (
|
|
1857
|
-
type: (
|
|
1856
|
+
external_id: (p = e.external_id) != null ? p : "",
|
|
1857
|
+
type: (g = e.game_type) != null ? g : "",
|
|
1858
1858
|
tags: (u = e.tags) != null ? u : "",
|
|
1859
1859
|
lobby_tag: (m = e.lobby_tag) != null ? m : null,
|
|
1860
1860
|
background: (d = e.background) != null ? d : "",
|
|
1861
|
-
rtp: (
|
|
1862
|
-
demo_allowed: (
|
|
1863
|
-
gaming_session_required: (
|
|
1861
|
+
rtp: (f = e.rtp) != null ? f : null,
|
|
1862
|
+
demo_allowed: (b = e.demo_allowed) != null ? b : !1,
|
|
1863
|
+
gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
|
|
1864
1864
|
};
|
|
1865
1865
|
}, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
|
|
1866
1866
|
var a, n, o;
|
|
@@ -1895,7 +1895,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1895
1895
|
throw new Error(`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`);
|
|
1896
1896
|
return (await i.json()).rankedItems;
|
|
1897
1897
|
}, Ve = (e, a = !1, n = "Casino") => {
|
|
1898
|
-
const [o, i] =
|
|
1898
|
+
const [o, i] = X([]), [r, s] = X(!1);
|
|
1899
1899
|
return Q(() => {
|
|
1900
1900
|
let c = !1;
|
|
1901
1901
|
return (async () => {
|
|
@@ -1905,33 +1905,33 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1905
1905
|
}
|
|
1906
1906
|
s(!0);
|
|
1907
1907
|
try {
|
|
1908
|
-
const
|
|
1908
|
+
const g = await nn(n), u = an(g);
|
|
1909
1909
|
if (!u.length) {
|
|
1910
1910
|
c || i([]);
|
|
1911
1911
|
return;
|
|
1912
1912
|
}
|
|
1913
|
-
const m = yt(), d = await on(m, u),
|
|
1914
|
-
|
|
1915
|
-
const
|
|
1916
|
-
if (!
|
|
1917
|
-
throw new Error(`No se pudo obtener machine ${
|
|
1918
|
-
const D = await
|
|
1919
|
-
return tn(D,
|
|
1913
|
+
const m = yt(), d = await on(m, u), f = d.map((h) => h.itemId), b = await Promise.allSettled(
|
|
1914
|
+
f.map(async (h, E) => {
|
|
1915
|
+
const T = await fetch(`https://api.mktolimpo.com/api/machine/${h}`);
|
|
1916
|
+
if (!T.ok)
|
|
1917
|
+
throw new Error(`No se pudo obtener machine ${h}`);
|
|
1918
|
+
const D = await T.json();
|
|
1919
|
+
return tn(D, E);
|
|
1920
1920
|
})
|
|
1921
1921
|
);
|
|
1922
1922
|
if (c) return;
|
|
1923
|
-
const
|
|
1924
|
-
(
|
|
1925
|
-
).map((
|
|
1926
|
-
const
|
|
1927
|
-
return
|
|
1928
|
-
}).filter(Boolean).sort((
|
|
1929
|
-
var
|
|
1930
|
-
return ((
|
|
1923
|
+
const x = b.filter(
|
|
1924
|
+
(h) => h.status === "fulfilled"
|
|
1925
|
+
).map((h) => h.value), _ = d.map((h) => {
|
|
1926
|
+
const E = x.find((T) => T.machine === h.itemId);
|
|
1927
|
+
return E ? { ...E, score: h.score } : null;
|
|
1928
|
+
}).filter(Boolean).sort((h, E) => {
|
|
1929
|
+
var T, D;
|
|
1930
|
+
return ((T = E.score) != null ? T : 0) - ((D = h.score) != null ? D : 0);
|
|
1931
1931
|
});
|
|
1932
|
-
i(
|
|
1933
|
-
} catch (
|
|
1934
|
-
console.error(`[usePersonalizeGameItems:${n}] error:`,
|
|
1932
|
+
i(_);
|
|
1933
|
+
} catch (g) {
|
|
1934
|
+
console.error(`[usePersonalizeGameItems:${n}] error:`, g), c || i([]);
|
|
1935
1935
|
} finally {
|
|
1936
1936
|
c || s(!1);
|
|
1937
1937
|
}
|
|
@@ -1964,44 +1964,44 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1964
1964
|
backgroundDesktopUrl: r = "",
|
|
1965
1965
|
onViewMore: s,
|
|
1966
1966
|
className: c,
|
|
1967
|
-
isPersonalize:
|
|
1967
|
+
isPersonalize: p = !1
|
|
1968
1968
|
}) => {
|
|
1969
|
-
const
|
|
1969
|
+
const g = ae(), u = ne(), m = le(), d = dn(p), { resolvedItems: f } = ln(
|
|
1970
1970
|
e,
|
|
1971
1971
|
d
|
|
1972
|
-
),
|
|
1973
|
-
|
|
1972
|
+
), b = d ? f : Array.isArray(e) ? e : [], x = (h) => {
|
|
1973
|
+
g({
|
|
1974
1974
|
element: "live_casino_card",
|
|
1975
|
-
label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(
|
|
1976
|
-
target: String(
|
|
1975
|
+
label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(h.machine || "unknown")}`,
|
|
1976
|
+
target: String(h.machine || "unknown"),
|
|
1977
1977
|
event_type: "click",
|
|
1978
1978
|
module_id: m,
|
|
1979
1979
|
metadata: {
|
|
1980
1980
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1981
1981
|
},
|
|
1982
1982
|
tags: {
|
|
1983
|
-
game_name: String(
|
|
1984
|
-
provider:
|
|
1983
|
+
game_name: String(h.machine || "unknown"),
|
|
1984
|
+
provider: h.provider || "unknown",
|
|
1985
1985
|
section: "OraculoSeccionCasinoEnVivo"
|
|
1986
1986
|
}
|
|
1987
1987
|
});
|
|
1988
|
-
const
|
|
1989
|
-
if (!
|
|
1988
|
+
const E = se("showIframe"), T = se("loadMachine");
|
|
1989
|
+
if (!T) {
|
|
1990
1990
|
if (i) {
|
|
1991
|
-
i(
|
|
1991
|
+
i(h);
|
|
1992
1992
|
return;
|
|
1993
1993
|
}
|
|
1994
1994
|
console.warn(
|
|
1995
1995
|
"[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
|
|
1996
|
-
{ machine:
|
|
1996
|
+
{ machine: h == null ? void 0 : h.machine, provider: h == null ? void 0 : h.provider }
|
|
1997
1997
|
);
|
|
1998
1998
|
return;
|
|
1999
1999
|
}
|
|
2000
|
-
|
|
2001
|
-
|
|
2000
|
+
E == null || E(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
|
|
2001
|
+
T == null || T(h, !1, "casino_en_vivo");
|
|
2002
2002
|
});
|
|
2003
|
-
},
|
|
2004
|
-
|
|
2003
|
+
}, _ = () => {
|
|
2004
|
+
g({
|
|
2005
2005
|
element: "casino_en_vivo_view_more",
|
|
2006
2006
|
label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Ver más`,
|
|
2007
2007
|
target: "https://www.olimpo.bet/casino-en-vivo",
|
|
@@ -2013,7 +2013,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2013
2013
|
tags: { section: "OraculoSeccionCasinoEnVivo" }
|
|
2014
2014
|
}), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
|
|
2015
2015
|
};
|
|
2016
|
-
return /* @__PURE__ */
|
|
2016
|
+
return /* @__PURE__ */ v(
|
|
2017
2017
|
q,
|
|
2018
2018
|
{
|
|
2019
2019
|
className: c,
|
|
@@ -2051,7 +2051,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
2053
|
),
|
|
2054
|
-
/* @__PURE__ */
|
|
2054
|
+
/* @__PURE__ */ v(
|
|
2055
2055
|
q,
|
|
2056
2056
|
{
|
|
2057
2057
|
sx: {
|
|
@@ -2069,7 +2069,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2069
2069
|
textAlign: { xs: "center", md: "left" }
|
|
2070
2070
|
},
|
|
2071
2071
|
children: [
|
|
2072
|
-
/* @__PURE__ */
|
|
2072
|
+
/* @__PURE__ */ v(H, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
2073
2073
|
/* @__PURE__ */ t(
|
|
2074
2074
|
ue,
|
|
2075
2075
|
{
|
|
@@ -2096,11 +2096,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2096
2096
|
}
|
|
2097
2097
|
),
|
|
2098
2098
|
/* @__PURE__ */ t(q, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
|
|
2099
|
-
|
|
2099
|
+
Y,
|
|
2100
2100
|
{
|
|
2101
2101
|
variant: "primary",
|
|
2102
2102
|
size: "md",
|
|
2103
|
-
onClick:
|
|
2103
|
+
onClick: _,
|
|
2104
2104
|
children: "Ver más"
|
|
2105
2105
|
}
|
|
2106
2106
|
) })
|
|
@@ -2116,28 +2116,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2116
2116
|
py: { xs: 3, md: 0 },
|
|
2117
2117
|
alignItems: "center"
|
|
2118
2118
|
},
|
|
2119
|
-
children: (
|
|
2120
|
-
var
|
|
2119
|
+
children: (b != null ? b : []).slice(0, 3).map((h, E) => {
|
|
2120
|
+
var T;
|
|
2121
2121
|
return /* @__PURE__ */ t(
|
|
2122
2122
|
wa,
|
|
2123
2123
|
{
|
|
2124
|
-
logo: `https://olimpo.bet${
|
|
2125
|
-
provider:
|
|
2126
|
-
providerName:
|
|
2127
|
-
machine:
|
|
2128
|
-
onClick: () =>
|
|
2124
|
+
logo: `https://olimpo.bet${h.background ? h.background : (T = h.logo) != null ? T : ""}`,
|
|
2125
|
+
provider: h.provider,
|
|
2126
|
+
providerName: h.web_name,
|
|
2127
|
+
machine: h.machine,
|
|
2128
|
+
onClick: () => x(h)
|
|
2129
2129
|
},
|
|
2130
|
-
cn(
|
|
2130
|
+
cn(h, E)
|
|
2131
2131
|
);
|
|
2132
2132
|
})
|
|
2133
2133
|
}
|
|
2134
2134
|
),
|
|
2135
2135
|
/* @__PURE__ */ t(q, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
|
|
2136
|
-
|
|
2136
|
+
Y,
|
|
2137
2137
|
{
|
|
2138
2138
|
variant: "primary",
|
|
2139
2139
|
size: "lg",
|
|
2140
|
-
onClick:
|
|
2140
|
+
onClick: _,
|
|
2141
2141
|
children: "Ver más"
|
|
2142
2142
|
}
|
|
2143
2143
|
) })
|
|
@@ -2162,10 +2162,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2162
2162
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2163
2163
|
}, pn = (e, a = !0, n = 1) => {
|
|
2164
2164
|
const o = e.map((s, c) => {
|
|
2165
|
-
var
|
|
2165
|
+
var p;
|
|
2166
2166
|
return {
|
|
2167
2167
|
id: xt(s, c),
|
|
2168
|
-
imageUrl: (
|
|
2168
|
+
imageUrl: (p = s.logo) != null ? p : "",
|
|
2169
2169
|
...s.background ? { background: s.background } : {}
|
|
2170
2170
|
};
|
|
2171
2171
|
});
|
|
@@ -2199,14 +2199,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2199
2199
|
gridSize: s = 1,
|
|
2200
2200
|
isPersonalize: c = !1
|
|
2201
2201
|
}) => {
|
|
2202
|
-
const
|
|
2202
|
+
const p = ae(), g = ne(), u = le(), m = V(null), [d, f] = X({ isStart: !0, isEnd: !1 }), b = mn(c), { resolvedItems: x, loading: _ } = rn(
|
|
2203
2203
|
e,
|
|
2204
|
-
|
|
2205
|
-
),
|
|
2206
|
-
var
|
|
2207
|
-
|
|
2204
|
+
b
|
|
2205
|
+
), h = b ? x : Array.isArray(e) ? e : [], E = () => {
|
|
2206
|
+
var M;
|
|
2207
|
+
p({
|
|
2208
2208
|
element: "casino_prev",
|
|
2209
|
-
label: `${
|
|
2209
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
|
|
2210
2210
|
target: "prev",
|
|
2211
2211
|
event_type: "click",
|
|
2212
2212
|
module_id: u,
|
|
@@ -2214,12 +2214,12 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2214
2214
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2215
2215
|
},
|
|
2216
2216
|
tags: { section: "OraculoSeccionCasino" }
|
|
2217
|
-
}), (
|
|
2218
|
-
},
|
|
2219
|
-
var
|
|
2220
|
-
|
|
2217
|
+
}), (M = m.current) == null || M.prev();
|
|
2218
|
+
}, T = () => {
|
|
2219
|
+
var M;
|
|
2220
|
+
p({
|
|
2221
2221
|
element: "casino_next",
|
|
2222
|
-
label: `${
|
|
2222
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
|
|
2223
2223
|
target: "next",
|
|
2224
2224
|
event_type: "click",
|
|
2225
2225
|
module_id: u,
|
|
@@ -2227,11 +2227,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2227
2227
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2228
2228
|
},
|
|
2229
2229
|
tags: { section: "OraculoSeccionCasino" }
|
|
2230
|
-
}), (
|
|
2230
|
+
}), (M = m.current) == null || M.next();
|
|
2231
2231
|
}, D = () => {
|
|
2232
|
-
if (
|
|
2232
|
+
if (p({
|
|
2233
2233
|
element: "casino_view_more",
|
|
2234
|
-
label: `${
|
|
2234
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
|
|
2235
2235
|
target: "https://www.olimpo.bet/casino",
|
|
2236
2236
|
event_type: "click",
|
|
2237
2237
|
module_id: u,
|
|
@@ -2244,15 +2244,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2244
2244
|
return;
|
|
2245
2245
|
}
|
|
2246
2246
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
|
|
2247
|
-
}, y = (
|
|
2248
|
-
const
|
|
2247
|
+
}, y = (M = !0, w = 4) => {
|
|
2248
|
+
const k = (z) => Array.from({ length: z }, (R, U) => ({
|
|
2249
2249
|
id: `sk-${z}-${U}`,
|
|
2250
2250
|
imageUrl: ""
|
|
2251
|
-
})),
|
|
2252
|
-
return
|
|
2253
|
-
}, $ =
|
|
2254
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2255
|
-
/* @__PURE__ */
|
|
2251
|
+
})), P = [];
|
|
2252
|
+
return M && P.push({ id: "mosaic-loading", kind: "mosaic", items: k(5) }), P.push({ id: "grid-loading", kind: "grid", items: k(w) }), P;
|
|
2253
|
+
}, $ = b ? _ : !Array.isArray(e) || e.length === 0, C = De("(max-width:950px)"), A = $ ? y(r, s) : pn(h, r, s);
|
|
2254
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2255
|
+
/* @__PURE__ */ v(
|
|
2256
2256
|
q,
|
|
2257
2257
|
{
|
|
2258
2258
|
sx: {
|
|
@@ -2268,31 +2268,31 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2268
2268
|
},
|
|
2269
2269
|
children: [
|
|
2270
2270
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
2271
|
-
/* @__PURE__ */
|
|
2271
|
+
/* @__PURE__ */ v(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2272
2272
|
/* @__PURE__ */ t(
|
|
2273
|
-
|
|
2273
|
+
Y,
|
|
2274
2274
|
{
|
|
2275
2275
|
ariaLabel: "Anterior",
|
|
2276
2276
|
variant: "secondary",
|
|
2277
2277
|
iconOnly: !0,
|
|
2278
2278
|
leftIcon: /* @__PURE__ */ t(lt, {}),
|
|
2279
|
-
onClick:
|
|
2279
|
+
onClick: E,
|
|
2280
2280
|
disabled: d.isStart
|
|
2281
2281
|
}
|
|
2282
2282
|
),
|
|
2283
2283
|
/* @__PURE__ */ t(
|
|
2284
|
-
|
|
2284
|
+
Y,
|
|
2285
2285
|
{
|
|
2286
2286
|
ariaLabel: "Siguiente",
|
|
2287
2287
|
variant: "secondary",
|
|
2288
2288
|
iconOnly: !0,
|
|
2289
2289
|
rightIcon: /* @__PURE__ */ t(ct, {}),
|
|
2290
|
-
onClick:
|
|
2290
|
+
onClick: T,
|
|
2291
2291
|
disabled: d.isEnd
|
|
2292
2292
|
}
|
|
2293
2293
|
)
|
|
2294
2294
|
] }),
|
|
2295
|
-
/* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(
|
|
2295
|
+
/* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: D, children: "Ver más" }) })
|
|
2296
2296
|
]
|
|
2297
2297
|
}
|
|
2298
2298
|
),
|
|
@@ -2305,7 +2305,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2305
2305
|
gap: "16px",
|
|
2306
2306
|
enableHorizontalWheel: !0,
|
|
2307
2307
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2308
|
-
showRightGradient: !
|
|
2308
|
+
showRightGradient: !C,
|
|
2309
2309
|
breakpoints: {
|
|
2310
2310
|
400: {
|
|
2311
2311
|
gap: "4px",
|
|
@@ -2323,38 +2323,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2323
2323
|
padding: { left: "24px", right: "24px" }
|
|
2324
2324
|
}
|
|
2325
2325
|
},
|
|
2326
|
-
renderItem: (
|
|
2326
|
+
renderItem: (M) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2327
2327
|
ft,
|
|
2328
2328
|
{
|
|
2329
|
-
items:
|
|
2330
|
-
layout:
|
|
2329
|
+
items: M.items,
|
|
2330
|
+
layout: M.kind === "mosaic" ? "mosaic" : "grid",
|
|
2331
2331
|
loading: $,
|
|
2332
|
-
onClick: (
|
|
2332
|
+
onClick: (w) => {
|
|
2333
2333
|
if ($) return;
|
|
2334
|
-
const
|
|
2335
|
-
(R, U) => String(xt(R, U)) === String(
|
|
2334
|
+
const k = h.find(
|
|
2335
|
+
(R, U) => String(xt(R, U)) === String(w.id)
|
|
2336
2336
|
);
|
|
2337
|
-
if (!
|
|
2338
|
-
o == null || o(
|
|
2337
|
+
if (!k) return;
|
|
2338
|
+
o == null || o(k), p({
|
|
2339
2339
|
element: "casino_game_card",
|
|
2340
|
-
label: `${
|
|
2341
|
-
target: String(
|
|
2340
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(k.machine || "unknown")}`,
|
|
2341
|
+
target: String(k.machine || "unknown"),
|
|
2342
2342
|
event_type: "click",
|
|
2343
2343
|
module_id: u,
|
|
2344
2344
|
metadata: {
|
|
2345
2345
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2346
2346
|
},
|
|
2347
2347
|
tags: {
|
|
2348
|
-
game_name: String(
|
|
2348
|
+
game_name: String(k.machine || "unknown"),
|
|
2349
2349
|
section: a || "Casino"
|
|
2350
2350
|
}
|
|
2351
2351
|
});
|
|
2352
|
-
const
|
|
2353
|
-
|
|
2352
|
+
const P = se("showIframe"), z = se("loadMachine");
|
|
2353
|
+
P == null || P(), z == null || z(k, !1, "CASINO");
|
|
2354
2354
|
}
|
|
2355
2355
|
}
|
|
2356
2356
|
) }),
|
|
2357
|
-
onMove: ({ isStart:
|
|
2357
|
+
onMove: ({ isStart: M, isEnd: w }) => f({ isStart: M, isEnd: w })
|
|
2358
2358
|
}
|
|
2359
2359
|
)
|
|
2360
2360
|
] }) });
|
|
@@ -2373,10 +2373,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2373
2373
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2374
2374
|
}, hn = (e, a = !0, n = 1) => {
|
|
2375
2375
|
const o = e.map((s, c) => {
|
|
2376
|
-
var
|
|
2376
|
+
var p;
|
|
2377
2377
|
return {
|
|
2378
2378
|
id: wt(s, c),
|
|
2379
|
-
imageUrl: (
|
|
2379
|
+
imageUrl: (p = s.logo) != null ? p : "",
|
|
2380
2380
|
...s.background ? { background: s.background } : {}
|
|
2381
2381
|
};
|
|
2382
2382
|
});
|
|
@@ -2424,42 +2424,42 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2424
2424
|
gridSize: s = 1,
|
|
2425
2425
|
isPersonalize: c = !1
|
|
2426
2426
|
}) => {
|
|
2427
|
-
const
|
|
2427
|
+
const p = V(null), [g, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), f = le(), b = gn(c), { resolvedItems: x, loading: _ } = sn(
|
|
2428
2428
|
e,
|
|
2429
|
-
|
|
2430
|
-
),
|
|
2429
|
+
b
|
|
2430
|
+
), h = b ? x : Array.isArray(e) ? e : [], E = () => {
|
|
2431
2431
|
var A;
|
|
2432
2432
|
m({
|
|
2433
2433
|
element: "virtuales_prev",
|
|
2434
|
-
label: `${d} - OraculoSeccionVirtuales${
|
|
2434
|
+
label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Anterior`,
|
|
2435
2435
|
target: "prev",
|
|
2436
2436
|
event_type: "click",
|
|
2437
|
-
module_id:
|
|
2437
|
+
module_id: f,
|
|
2438
2438
|
metadata: {
|
|
2439
2439
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2440
2440
|
},
|
|
2441
2441
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2442
|
-
}), (A =
|
|
2443
|
-
},
|
|
2442
|
+
}), (A = p.current) == null || A.prev();
|
|
2443
|
+
}, T = () => {
|
|
2444
2444
|
var A;
|
|
2445
2445
|
m({
|
|
2446
2446
|
element: "virtuales_next",
|
|
2447
|
-
label: `${d} - OraculoSeccionVirtuales${
|
|
2447
|
+
label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Siguiente`,
|
|
2448
2448
|
target: "next",
|
|
2449
2449
|
event_type: "click",
|
|
2450
|
-
module_id:
|
|
2450
|
+
module_id: f,
|
|
2451
2451
|
metadata: {
|
|
2452
2452
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2453
2453
|
},
|
|
2454
2454
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2455
|
-
}), (A =
|
|
2455
|
+
}), (A = p.current) == null || A.next();
|
|
2456
2456
|
}, D = () => {
|
|
2457
2457
|
if (m({
|
|
2458
2458
|
element: "virtuales_view_more",
|
|
2459
|
-
label: `${d} - OraculoSeccionVirtuales${
|
|
2459
|
+
label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Ver más`,
|
|
2460
2460
|
target: "https://www.olimpo.bet/juegos-virtuales",
|
|
2461
2461
|
event_type: "click",
|
|
2462
|
-
module_id:
|
|
2462
|
+
module_id: f,
|
|
2463
2463
|
metadata: {
|
|
2464
2464
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2465
2465
|
},
|
|
@@ -2469,9 +2469,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2469
2469
|
return;
|
|
2470
2470
|
}
|
|
2471
2471
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2472
|
-
}, y =
|
|
2473
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2474
|
-
/* @__PURE__ */
|
|
2472
|
+
}, y = b ? _ : !Array.isArray(e) || e.length === 0, $ = xe("(max-width:950px)"), C = y ? bn(r, s) : hn(h, r, s);
|
|
2473
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ v(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2474
|
+
/* @__PURE__ */ v(
|
|
2475
2475
|
q,
|
|
2476
2476
|
{
|
|
2477
2477
|
sx: {
|
|
@@ -2487,39 +2487,39 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2487
2487
|
},
|
|
2488
2488
|
children: [
|
|
2489
2489
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
2490
|
-
/* @__PURE__ */
|
|
2490
|
+
/* @__PURE__ */ v(q, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2491
2491
|
/* @__PURE__ */ t(
|
|
2492
|
-
|
|
2492
|
+
Y,
|
|
2493
2493
|
{
|
|
2494
2494
|
ariaLabel: "Anterior",
|
|
2495
2495
|
variant: "secondary",
|
|
2496
2496
|
iconOnly: !0,
|
|
2497
2497
|
leftIcon: /* @__PURE__ */ t(lt, {}),
|
|
2498
|
-
onClick:
|
|
2499
|
-
disabled:
|
|
2498
|
+
onClick: E,
|
|
2499
|
+
disabled: g.isStart
|
|
2500
2500
|
}
|
|
2501
2501
|
),
|
|
2502
2502
|
/* @__PURE__ */ t(
|
|
2503
|
-
|
|
2503
|
+
Y,
|
|
2504
2504
|
{
|
|
2505
2505
|
ariaLabel: "Siguiente",
|
|
2506
2506
|
variant: "secondary",
|
|
2507
2507
|
iconOnly: !0,
|
|
2508
2508
|
rightIcon: /* @__PURE__ */ t(ct, {}),
|
|
2509
|
-
onClick:
|
|
2510
|
-
disabled:
|
|
2509
|
+
onClick: T,
|
|
2510
|
+
disabled: g.isEnd
|
|
2511
2511
|
}
|
|
2512
2512
|
)
|
|
2513
2513
|
] }),
|
|
2514
|
-
/* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(
|
|
2514
|
+
/* @__PURE__ */ t(q, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: D, children: "Ver más" }) })
|
|
2515
2515
|
]
|
|
2516
2516
|
}
|
|
2517
2517
|
),
|
|
2518
2518
|
/* @__PURE__ */ t(
|
|
2519
2519
|
he,
|
|
2520
2520
|
{
|
|
2521
|
-
ref:
|
|
2522
|
-
items:
|
|
2521
|
+
ref: p,
|
|
2522
|
+
items: C,
|
|
2523
2523
|
perPage: void 0,
|
|
2524
2524
|
gap: "16px",
|
|
2525
2525
|
breakpoints: {
|
|
@@ -2548,42 +2548,42 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2548
2548
|
items: A.items,
|
|
2549
2549
|
layout: A.kind === "mosaic" ? "mosaic" : "grid",
|
|
2550
2550
|
loading: y,
|
|
2551
|
-
onClick: (
|
|
2551
|
+
onClick: (M) => {
|
|
2552
2552
|
if (y) return;
|
|
2553
|
-
const
|
|
2554
|
-
(z, R) => String(wt(z, R)) === String(
|
|
2553
|
+
const w = h.find(
|
|
2554
|
+
(z, R) => String(wt(z, R)) === String(M.id)
|
|
2555
2555
|
);
|
|
2556
|
-
if (!
|
|
2556
|
+
if (!w) {
|
|
2557
2557
|
console.warn(
|
|
2558
2558
|
"[virtuales] no se encontró game para id:",
|
|
2559
|
-
|
|
2559
|
+
M.id
|
|
2560
2560
|
);
|
|
2561
2561
|
return;
|
|
2562
2562
|
}
|
|
2563
|
-
o == null || o(
|
|
2563
|
+
o == null || o(w), m({
|
|
2564
2564
|
element: "virtuales_game_card",
|
|
2565
|
-
label: `${d} - OraculoSeccionVirtuales${
|
|
2566
|
-
target: String(
|
|
2565
|
+
label: `${d} - OraculoSeccionVirtuales${b ? " - personalize" : ""} - Game: ${String(w.machine || "unknown")}`,
|
|
2566
|
+
target: String(w.machine || "unknown"),
|
|
2567
2567
|
event_type: "click",
|
|
2568
|
-
module_id:
|
|
2568
|
+
module_id: f,
|
|
2569
2569
|
metadata: {
|
|
2570
2570
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2571
2571
|
},
|
|
2572
2572
|
tags: {
|
|
2573
|
-
game_name: String(
|
|
2573
|
+
game_name: String(w.machine || "unknown"),
|
|
2574
2574
|
section: a || "Virtuales"
|
|
2575
2575
|
}
|
|
2576
2576
|
});
|
|
2577
|
-
const
|
|
2578
|
-
|
|
2579
|
-
|
|
2577
|
+
const k = se("showIframe"), P = se("loadMachine");
|
|
2578
|
+
k == null || k(), P == null || P(
|
|
2579
|
+
w,
|
|
2580
2580
|
!1,
|
|
2581
|
-
|
|
2581
|
+
b ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
|
|
2582
2582
|
);
|
|
2583
2583
|
}
|
|
2584
2584
|
}
|
|
2585
2585
|
) }),
|
|
2586
|
-
onMove: ({ isStart: A, isEnd:
|
|
2586
|
+
onMove: ({ isStart: A, isEnd: M }) => u({ isStart: A, isEnd: M })
|
|
2587
2587
|
}
|
|
2588
2588
|
)
|
|
2589
2589
|
] }) });
|
|
@@ -2625,86 +2625,86 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2625
2625
|
items: n,
|
|
2626
2626
|
backgroundImageUrl: o
|
|
2627
2627
|
}) => {
|
|
2628
|
-
const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1,
|
|
2628
|
+
const i = ae(), r = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, p = V(null), g = V(null), u = V(!1), m = V(!1), [d, f] = X(0), [b, x] = X({ isStart: !0, isEnd: !1 });
|
|
2629
2629
|
Q(() => {
|
|
2630
|
-
const
|
|
2630
|
+
const w = setTimeout(() => {
|
|
2631
2631
|
u.current = !0;
|
|
2632
2632
|
}, 500);
|
|
2633
|
-
return () => clearTimeout(
|
|
2633
|
+
return () => clearTimeout(w);
|
|
2634
2634
|
}, []);
|
|
2635
|
-
const
|
|
2635
|
+
const _ = V(b);
|
|
2636
2636
|
Q(() => {
|
|
2637
|
-
|
|
2638
|
-
}, [
|
|
2639
|
-
const
|
|
2637
|
+
_.current = b;
|
|
2638
|
+
}, [b]);
|
|
2639
|
+
const h = V(!1), E = V(null), T = n == null ? void 0 : n[d], D = ie(
|
|
2640
2640
|
() => {
|
|
2641
|
-
var
|
|
2642
|
-
return (
|
|
2641
|
+
var w, k;
|
|
2642
|
+
return (k = (w = T == null ? void 0 : T.backgroundImageUrl) != null ? w : o) != null ? k : "";
|
|
2643
2643
|
},
|
|
2644
|
-
[
|
|
2645
|
-
), y = _n(D), $ = !n || n.length === 0,
|
|
2644
|
+
[T, o]
|
|
2645
|
+
), y = _n(D), $ = !n || n.length === 0, C = (w, k) => {
|
|
2646
2646
|
i({
|
|
2647
2647
|
element: "welcome_banner_button",
|
|
2648
|
-
label: `OraculoSeccionBonoBienvenida - Banner button click: ${
|
|
2648
|
+
label: `OraculoSeccionBonoBienvenida - Banner button click: ${w.title || "OraculoSeccionBonoBienvenida - Banner " + (k + 1)}`,
|
|
2649
2649
|
target: "action",
|
|
2650
2650
|
event_type: "click",
|
|
2651
2651
|
module_id: 301,
|
|
2652
2652
|
metadata: {
|
|
2653
2653
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2654
|
-
banner_position:
|
|
2654
|
+
banner_position: k + 1,
|
|
2655
2655
|
banner_total: (n == null ? void 0 : n.length) || 0
|
|
2656
2656
|
},
|
|
2657
2657
|
tags: {
|
|
2658
|
-
banner_title:
|
|
2659
|
-
button_text:
|
|
2658
|
+
banner_title: w.title || "no_title",
|
|
2659
|
+
button_text: w.buttonText || "no_text"
|
|
2660
2660
|
}
|
|
2661
|
-
}),
|
|
2662
|
-
}, A = (
|
|
2661
|
+
}), w.onButtonClick && w.onButtonClick();
|
|
2662
|
+
}, A = (w) => {
|
|
2663
2663
|
if (!u.current) return;
|
|
2664
2664
|
if (m.current) {
|
|
2665
2665
|
m.current = !1;
|
|
2666
2666
|
return;
|
|
2667
2667
|
}
|
|
2668
|
-
const
|
|
2668
|
+
const k = n == null ? void 0 : n[w];
|
|
2669
2669
|
i({
|
|
2670
2670
|
element: "welcome_banner_carousel",
|
|
2671
|
-
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(
|
|
2671
|
+
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(k == null ? void 0 : k.title) || "OraculoSeccionBonoBienvenida - Banner " + (w + 1)}`,
|
|
2672
2672
|
target: "no_url",
|
|
2673
2673
|
event_type: "view",
|
|
2674
2674
|
module_id: 301,
|
|
2675
2675
|
metadata: {
|
|
2676
2676
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2677
|
-
slide_index:
|
|
2677
|
+
slide_index: w + 1,
|
|
2678
2678
|
total_slides: (n == null ? void 0 : n.length) || 0,
|
|
2679
2679
|
interaction_type: "manual_slide"
|
|
2680
2680
|
},
|
|
2681
2681
|
tags: {
|
|
2682
|
-
banner_position: String(
|
|
2683
|
-
banner_title: (
|
|
2682
|
+
banner_position: String(w + 1),
|
|
2683
|
+
banner_title: (k == null ? void 0 : k.title) || "no_title"
|
|
2684
2684
|
}
|
|
2685
2685
|
});
|
|
2686
2686
|
};
|
|
2687
2687
|
Q(() => {
|
|
2688
|
-
const
|
|
2689
|
-
if (!
|
|
2690
|
-
const
|
|
2691
|
-
var
|
|
2692
|
-
if ($ || R.ctrlKey ||
|
|
2688
|
+
const w = g.current;
|
|
2689
|
+
if (!w) return;
|
|
2690
|
+
const k = 6, P = 380, z = (R) => {
|
|
2691
|
+
var J, I;
|
|
2692
|
+
if ($ || R.ctrlKey || h.current) return;
|
|
2693
2693
|
const U = R.deltaX, W = R.deltaY;
|
|
2694
|
-
if (Math.abs(U) <= Math.abs(W) || Math.abs(U) <
|
|
2694
|
+
if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < k) return;
|
|
2695
2695
|
const G = U > 0;
|
|
2696
|
-
G &&
|
|
2697
|
-
|
|
2698
|
-
},
|
|
2696
|
+
G && _.current.isEnd || !G && _.current.isStart || (R.preventDefault(), h.current = !0, G ? (J = p.current) == null || J.next() : (I = p.current) == null || I.prev(), E.current && window.clearTimeout(E.current), E.current = window.setTimeout(() => {
|
|
2697
|
+
h.current = !1;
|
|
2698
|
+
}, P));
|
|
2699
2699
|
};
|
|
2700
|
-
return
|
|
2701
|
-
|
|
2700
|
+
return w.addEventListener("wheel", z, { passive: !1 }), () => {
|
|
2701
|
+
w.removeEventListener("wheel", z), E.current && window.clearTimeout(E.current);
|
|
2702
2702
|
};
|
|
2703
2703
|
}, [$]);
|
|
2704
|
-
const
|
|
2704
|
+
const M = (w, k, P) => {
|
|
2705
2705
|
var U, W;
|
|
2706
|
-
const z = (U =
|
|
2707
|
-
return
|
|
2706
|
+
const z = (U = w.headline) != null ? U : e, R = (W = w.headline2) != null ? W : a;
|
|
2707
|
+
return k ? /* @__PURE__ */ v(
|
|
2708
2708
|
q,
|
|
2709
2709
|
{
|
|
2710
2710
|
sx: {
|
|
@@ -2726,9 +2726,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2726
2726
|
justifyContent: "flex-start",
|
|
2727
2727
|
minHeight: "100%"
|
|
2728
2728
|
},
|
|
2729
|
-
children: /* @__PURE__ */
|
|
2729
|
+
children: /* @__PURE__ */ v(q, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
|
|
2730
2730
|
z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
|
|
2731
|
-
R && /* @__PURE__ */
|
|
2731
|
+
R && /* @__PURE__ */ v(pe, { children: [
|
|
2732
2732
|
/* @__PURE__ */ t("br", {}),
|
|
2733
2733
|
/* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
|
|
2734
2734
|
] })
|
|
@@ -2736,38 +2736,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2736
2736
|
}
|
|
2737
2737
|
),
|
|
2738
2738
|
/* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(q, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
|
|
2739
|
-
|
|
2739
|
+
Xe,
|
|
2740
2740
|
{
|
|
2741
|
-
...
|
|
2742
|
-
onButtonClick: () =>
|
|
2741
|
+
...w,
|
|
2742
|
+
onButtonClick: () => C(w, P),
|
|
2743
2743
|
variant: "large"
|
|
2744
2744
|
}
|
|
2745
2745
|
) }) })
|
|
2746
2746
|
]
|
|
2747
2747
|
}
|
|
2748
|
-
) : /* @__PURE__ */
|
|
2749
|
-
(z || R) && /* @__PURE__ */
|
|
2748
|
+
) : /* @__PURE__ */ v(q, { sx: { textAlign: "center" }, children: [
|
|
2749
|
+
(z || R) && /* @__PURE__ */ v(q, { sx: Qe, children: [
|
|
2750
2750
|
z && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: z }),
|
|
2751
|
-
R && /* @__PURE__ */
|
|
2751
|
+
R && /* @__PURE__ */ v(pe, { children: [
|
|
2752
2752
|
/* @__PURE__ */ t("br", {}),
|
|
2753
2753
|
/* @__PURE__ */ t(ue, { component: "span", sx: tt, children: R })
|
|
2754
2754
|
] })
|
|
2755
2755
|
] }),
|
|
2756
2756
|
/* @__PURE__ */ t(q, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
2757
|
-
|
|
2757
|
+
Xe,
|
|
2758
2758
|
{
|
|
2759
|
-
...
|
|
2760
|
-
onButtonClick: () =>
|
|
2759
|
+
...w,
|
|
2760
|
+
onButtonClick: () => C(w, P),
|
|
2761
2761
|
variant: "small"
|
|
2762
2762
|
}
|
|
2763
2763
|
) })
|
|
2764
2764
|
] });
|
|
2765
2765
|
};
|
|
2766
|
-
return /* @__PURE__ */
|
|
2767
|
-
/* @__PURE__ */ t("div", { ref:
|
|
2766
|
+
return /* @__PURE__ */ v(q, { component: "section", sx: y, children: [
|
|
2767
|
+
/* @__PURE__ */ t("div", { ref: g, style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
2768
2768
|
he,
|
|
2769
2769
|
{
|
|
2770
|
-
ref:
|
|
2770
|
+
ref: p,
|
|
2771
2771
|
items: n,
|
|
2772
2772
|
perPage: 1,
|
|
2773
2773
|
gap: "0px",
|
|
@@ -2781,9 +2781,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2781
2781
|
// arrows: false,
|
|
2782
2782
|
// drag: true,
|
|
2783
2783
|
},
|
|
2784
|
-
renderItem: (
|
|
2785
|
-
onMove: ({ index:
|
|
2786
|
-
|
|
2784
|
+
renderItem: (w, k) => /* @__PURE__ */ t(q, { sx: { width: "100%" }, children: M(w, !s, k) }),
|
|
2785
|
+
onMove: ({ index: w, isStart: k, isEnd: P }) => {
|
|
2786
|
+
f(w), typeof k == "boolean" && typeof P == "boolean" && x({ isStart: k, isEnd: P }), A(w);
|
|
2787
2787
|
}
|
|
2788
2788
|
}
|
|
2789
2789
|
) }),
|
|
@@ -2792,23 +2792,23 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2792
2792
|
{
|
|
2793
2793
|
total: n.length,
|
|
2794
2794
|
active: d,
|
|
2795
|
-
onSelect: (
|
|
2796
|
-
var
|
|
2795
|
+
onSelect: (w) => {
|
|
2796
|
+
var k;
|
|
2797
2797
|
i({
|
|
2798
2798
|
element: "welcome_banner_dots",
|
|
2799
|
-
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${
|
|
2799
|
+
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${w + 1}`,
|
|
2800
2800
|
target: "no_url",
|
|
2801
2801
|
event_type: "click",
|
|
2802
2802
|
module_id: 301,
|
|
2803
2803
|
metadata: {
|
|
2804
2804
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2805
|
-
dot_index:
|
|
2805
|
+
dot_index: w + 1,
|
|
2806
2806
|
total_dots: n.length
|
|
2807
2807
|
},
|
|
2808
2808
|
tags: {
|
|
2809
2809
|
navigation_type: "dot_click"
|
|
2810
2810
|
}
|
|
2811
|
-
}),
|
|
2811
|
+
}), f(w), (k = p.current) == null || k.go(w);
|
|
2812
2812
|
}
|
|
2813
2813
|
}
|
|
2814
2814
|
) })
|
|
@@ -2821,22 +2821,22 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2821
2821
|
ariaLabel: i,
|
|
2822
2822
|
user: r = null
|
|
2823
2823
|
}) => {
|
|
2824
|
-
const s = V(null), c = V(null),
|
|
2824
|
+
const s = V(null), c = V(null), p = ae(), g = ne(), u = le();
|
|
2825
2825
|
if (!n) return null;
|
|
2826
2826
|
const m = async () => {
|
|
2827
|
-
let
|
|
2828
|
-
if ((!(
|
|
2827
|
+
let x = r;
|
|
2828
|
+
if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
|
|
2829
2829
|
try {
|
|
2830
|
-
const
|
|
2831
|
-
|
|
2832
|
-
} catch (
|
|
2833
|
-
console.error("[getMarketPlaceUrl] Error parsing localStorage user",
|
|
2830
|
+
const _ = localStorage.getItem("user");
|
|
2831
|
+
_ && (x = JSON.parse(_));
|
|
2832
|
+
} catch (_) {
|
|
2833
|
+
console.error("[getMarketPlaceUrl] Error parsing localStorage user", _);
|
|
2834
2834
|
}
|
|
2835
|
-
if (!(
|
|
2835
|
+
if (!(x != null && x.user) || !(x != null && x.session))
|
|
2836
2836
|
return console.warn("User data missing"), null;
|
|
2837
|
-
|
|
2837
|
+
p({
|
|
2838
2838
|
element: "club_olimpo_button",
|
|
2839
|
-
label: `${
|
|
2839
|
+
label: `${g} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
|
|
2840
2840
|
target: "https://www.clubolimpo.com/OlimpoBetWeb/",
|
|
2841
2841
|
event_type: "click",
|
|
2842
2842
|
module_id: u,
|
|
@@ -2846,40 +2846,40 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2846
2846
|
tags: { section: "OraculoSeccionClubOlimpo" }
|
|
2847
2847
|
});
|
|
2848
2848
|
try {
|
|
2849
|
-
const
|
|
2850
|
-
idUsuario: "PE" +
|
|
2851
|
-
session_id:
|
|
2849
|
+
const _ = {
|
|
2850
|
+
idUsuario: "PE" + x.user,
|
|
2851
|
+
session_id: x.session,
|
|
2852
2852
|
pagina: "home"
|
|
2853
|
-
},
|
|
2853
|
+
}, E = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
|
|
2854
2854
|
method: "POST",
|
|
2855
2855
|
headers: {
|
|
2856
2856
|
"Content-Type": "application/json"
|
|
2857
2857
|
},
|
|
2858
|
-
body: JSON.stringify(
|
|
2858
|
+
body: JSON.stringify(_)
|
|
2859
2859
|
});
|
|
2860
|
-
if (
|
|
2861
|
-
const
|
|
2862
|
-
return
|
|
2860
|
+
if (E.ok) {
|
|
2861
|
+
const T = await E.json();
|
|
2862
|
+
return T == null ? void 0 : T.url;
|
|
2863
2863
|
}
|
|
2864
2864
|
return null;
|
|
2865
|
-
} catch (
|
|
2866
|
-
return console.error("[getMarketPlaceUrl]",
|
|
2865
|
+
} catch (_) {
|
|
2866
|
+
return console.error("[getMarketPlaceUrl]", _), null;
|
|
2867
2867
|
}
|
|
2868
2868
|
}, d = async () => {
|
|
2869
|
-
const
|
|
2870
|
-
|
|
2871
|
-
},
|
|
2869
|
+
const x = await m();
|
|
2870
|
+
x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
2871
|
+
}, f = Array.isArray(n) ? n[o] : n;
|
|
2872
2872
|
Mt(() => {
|
|
2873
2873
|
if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
|
|
2874
|
-
const
|
|
2875
|
-
|
|
2874
|
+
const x = s.current, _ = c.current, h = () => {
|
|
2875
|
+
x.style.setProperty(
|
|
2876
2876
|
"--orc-co-bottomH",
|
|
2877
|
-
`${
|
|
2877
|
+
`${_.offsetHeight + 16}px`
|
|
2878
2878
|
);
|
|
2879
|
-
},
|
|
2880
|
-
return
|
|
2879
|
+
}, E = new ResizeObserver(h);
|
|
2880
|
+
return E.observe(_), h(), () => E.disconnect();
|
|
2881
2881
|
}, []);
|
|
2882
|
-
const
|
|
2882
|
+
const b = [
|
|
2883
2883
|
"orc-co-wrap",
|
|
2884
2884
|
a ? "orc-co-fullBleed" : "",
|
|
2885
2885
|
e
|
|
@@ -2888,18 +2888,18 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2888
2888
|
"section",
|
|
2889
2889
|
{
|
|
2890
2890
|
ref: s,
|
|
2891
|
-
className:
|
|
2892
|
-
"aria-label": i ||
|
|
2891
|
+
className: b,
|
|
2892
|
+
"aria-label": i || f.imgAlt || "Club Olimpo",
|
|
2893
2893
|
children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
|
|
2894
2894
|
Sa,
|
|
2895
2895
|
{
|
|
2896
|
-
text:
|
|
2896
|
+
text: f.text,
|
|
2897
2897
|
onClick: d,
|
|
2898
|
-
imgAlt:
|
|
2899
|
-
buttonLabel:
|
|
2900
|
-
imgSrcMobile:
|
|
2901
|
-
imgSrcDesktopBg:
|
|
2902
|
-
imgSrcDesktopLogo:
|
|
2898
|
+
imgAlt: f.imgAlt,
|
|
2899
|
+
buttonLabel: f.buttonLabel,
|
|
2900
|
+
imgSrcMobile: f.imgMobile,
|
|
2901
|
+
imgSrcDesktopBg: f.imgDesktopBg,
|
|
2902
|
+
imgSrcDesktopLogo: f.imgDesktopLogo
|
|
2903
2903
|
}
|
|
2904
2904
|
) })
|
|
2905
2905
|
}
|
|
@@ -2914,28 +2914,28 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2914
2914
|
return (r = (i = o.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? r : [];
|
|
2915
2915
|
}) : [];
|
|
2916
2916
|
};
|
|
2917
|
-
function
|
|
2917
|
+
function En(e, a, n) {
|
|
2918
2918
|
return n ? n.map((o) => {
|
|
2919
2919
|
var u, m;
|
|
2920
|
-
const i = o.prePackCouponRows.flatMap((d) => In(d).map((
|
|
2920
|
+
const i = o.prePackCouponRows.flatMap((d) => In(d).map((f) => ({ eventId: d.eventId, outcomeId: f }))), r = new Set(i.map((d) => d.eventId)), s = new Set(i.map((d) => d.outcomeId)), c = new Map(i.map((d, f) => [d.outcomeId, f])), p = {};
|
|
2921
2921
|
for (const d of a) {
|
|
2922
2922
|
if (!r.has(d.eventId)) continue;
|
|
2923
|
-
const
|
|
2924
|
-
|
|
2923
|
+
const f = d.outcomes.filter((b) => s.has(b.id)).map((b) => ({ ...b, position: c.get(b.id) }));
|
|
2924
|
+
f.length && ((m = p[u = d.eventId]) != null || (p[u] = []), p[d.eventId].push({ ...d, outcomes: f }));
|
|
2925
2925
|
}
|
|
2926
|
-
const
|
|
2927
|
-
var
|
|
2928
|
-
return { ...d, betoffers: (
|
|
2926
|
+
const g = e.filter((d) => r.has(d.id)).map((d) => {
|
|
2927
|
+
var f;
|
|
2928
|
+
return { ...d, betoffers: (f = p[d.id]) != null ? f : [] };
|
|
2929
2929
|
});
|
|
2930
2930
|
return {
|
|
2931
2931
|
couponId: o.id,
|
|
2932
2932
|
status: o.status,
|
|
2933
|
-
combinadoTotal:
|
|
2934
|
-
events:
|
|
2933
|
+
combinadoTotal: Cn(o.prePackCouponRows),
|
|
2934
|
+
events: g
|
|
2935
2935
|
};
|
|
2936
2936
|
}) : [];
|
|
2937
2937
|
}
|
|
2938
|
-
function
|
|
2938
|
+
function Cn(e) {
|
|
2939
2939
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
2940
2940
|
let a = 1;
|
|
2941
2941
|
for (const n of e) {
|
|
@@ -2944,7 +2944,7 @@ function On(e) {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
return Math.floor(a * 100) / 100;
|
|
2946
2946
|
}
|
|
2947
|
-
const
|
|
2947
|
+
const On = fe.memo(Ra);
|
|
2948
2948
|
function Tn({
|
|
2949
2949
|
items: e,
|
|
2950
2950
|
title: a = "Combinadas del Olimpo",
|
|
@@ -2952,7 +2952,7 @@ function Tn({
|
|
|
2952
2952
|
onViewMore: o,
|
|
2953
2953
|
className: i = ""
|
|
2954
2954
|
}) {
|
|
2955
|
-
const r = ae(), s = ne(), c = le(),
|
|
2955
|
+
const r = ae(), s = ne(), c = le(), p = V(null), [g, u] = X({ isStart: !0, isEnd: !1 }), [m, d] = X([]), f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", b = () => {
|
|
2956
2956
|
var y;
|
|
2957
2957
|
r({
|
|
2958
2958
|
element: "evento_combinadas_prev",
|
|
@@ -2963,8 +2963,8 @@ function Tn({
|
|
|
2963
2963
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2964
2964
|
},
|
|
2965
2965
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2966
|
-
}), (y =
|
|
2967
|
-
},
|
|
2966
|
+
}), (y = p.current) == null || y.prev();
|
|
2967
|
+
}, x = () => {
|
|
2968
2968
|
var y;
|
|
2969
2969
|
r({
|
|
2970
2970
|
element: "evento_combinadas_next",
|
|
@@ -2975,8 +2975,8 @@ function Tn({
|
|
|
2975
2975
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2976
2976
|
},
|
|
2977
2977
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2978
|
-
}), (y =
|
|
2979
|
-
},
|
|
2978
|
+
}), (y = p.current) == null || y.next();
|
|
2979
|
+
}, _ = () => {
|
|
2980
2980
|
r({
|
|
2981
2981
|
element: "evento_combinadas_ver_mas",
|
|
2982
2982
|
label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
|
|
@@ -2987,66 +2987,66 @@ function Tn({
|
|
|
2987
2987
|
},
|
|
2988
2988
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2989
2989
|
}), za();
|
|
2990
|
-
},
|
|
2991
|
-
async function
|
|
2992
|
-
var y, $,
|
|
2990
|
+
}, h = ie(() => m.filter((y) => y.combinadoTotal !== null), [m]);
|
|
2991
|
+
async function E() {
|
|
2992
|
+
var y, $, C, A;
|
|
2993
2993
|
try {
|
|
2994
|
-
const
|
|
2995
|
-
if (!
|
|
2994
|
+
const w = await (await fetch(f)).json(), k = (A = (C = ($ = (y = w == null ? void 0 : w.group) == null ? void 0 : y.groups) == null ? void 0 : $.map((U) => U.id)) == null ? void 0 : C.filter(Boolean)) == null ? void 0 : A.join(",");
|
|
2995
|
+
if (!k) {
|
|
2996
2996
|
console.error("Could not extract group ID");
|
|
2997
2997
|
return;
|
|
2998
2998
|
}
|
|
2999
|
-
const
|
|
3000
|
-
d(
|
|
3001
|
-
} catch (
|
|
3002
|
-
console.error("loadDataEventSpecial error:",
|
|
2999
|
+
const P = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${k}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, R = await (await fetch(P)).json();
|
|
3000
|
+
d(En(R.events, R.betOffers, R.prePackCoupons));
|
|
3001
|
+
} catch (M) {
|
|
3002
|
+
console.error("loadDataEventSpecial error:", M);
|
|
3003
3003
|
}
|
|
3004
3004
|
}
|
|
3005
3005
|
Q(() => {
|
|
3006
|
-
|
|
3006
|
+
E();
|
|
3007
3007
|
}, []);
|
|
3008
|
-
const
|
|
3009
|
-
return
|
|
3008
|
+
const T = i || void 0, D = xe("(max-width:950px)");
|
|
3009
|
+
return h.length === 0 ? null : /* @__PURE__ */ t("section", { className: T, style: {
|
|
3010
3010
|
// paddingLeft: 16,
|
|
3011
3011
|
// paddingRight: 16,
|
|
3012
3012
|
width: "100%",
|
|
3013
3013
|
boxSizing: "border-box"
|
|
3014
|
-
}, children: /* @__PURE__ */
|
|
3015
|
-
/* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */
|
|
3014
|
+
}, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3015
|
+
/* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ v(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3016
3016
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
3017
|
-
/* @__PURE__ */
|
|
3018
|
-
/* @__PURE__ */
|
|
3017
|
+
/* @__PURE__ */ v("div", { className: at.controls, children: [
|
|
3018
|
+
/* @__PURE__ */ v(me, { spacing: 1, columns: "auto auto", children: [
|
|
3019
3019
|
/* @__PURE__ */ t(
|
|
3020
|
-
|
|
3020
|
+
Y,
|
|
3021
3021
|
{
|
|
3022
3022
|
ariaLabel: "Anterior",
|
|
3023
3023
|
variant: "secondary",
|
|
3024
3024
|
iconOnly: !0,
|
|
3025
3025
|
leftIcon: /* @__PURE__ */ t(Ae, {}),
|
|
3026
|
-
onClick:
|
|
3027
|
-
disabled:
|
|
3026
|
+
onClick: b,
|
|
3027
|
+
disabled: g.isStart
|
|
3028
3028
|
}
|
|
3029
3029
|
),
|
|
3030
3030
|
/* @__PURE__ */ t(
|
|
3031
|
-
|
|
3031
|
+
Y,
|
|
3032
3032
|
{
|
|
3033
3033
|
ariaLabel: "Siguiente",
|
|
3034
3034
|
variant: "secondary",
|
|
3035
3035
|
iconOnly: !0,
|
|
3036
3036
|
rightIcon: /* @__PURE__ */ t(ze, {}),
|
|
3037
|
-
onClick:
|
|
3038
|
-
disabled:
|
|
3037
|
+
onClick: x,
|
|
3038
|
+
disabled: g.isEnd
|
|
3039
3039
|
}
|
|
3040
3040
|
)
|
|
3041
3041
|
] }),
|
|
3042
|
-
/* @__PURE__ */ t(
|
|
3042
|
+
/* @__PURE__ */ t(Y, { variant: "secondary", onClick: _, children: "Ver más" })
|
|
3043
3043
|
] })
|
|
3044
3044
|
] }) }),
|
|
3045
3045
|
/* @__PURE__ */ t(
|
|
3046
3046
|
he,
|
|
3047
3047
|
{
|
|
3048
|
-
ref:
|
|
3049
|
-
items:
|
|
3048
|
+
ref: p,
|
|
3049
|
+
items: h,
|
|
3050
3050
|
perPage: void 0,
|
|
3051
3051
|
gap: "16px",
|
|
3052
3052
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
@@ -3056,7 +3056,7 @@ function Tn({
|
|
|
3056
3056
|
breakpoints: {
|
|
3057
3057
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3058
3058
|
},
|
|
3059
|
-
renderItem: (y) => /* @__PURE__ */ t(
|
|
3059
|
+
renderItem: (y) => /* @__PURE__ */ t(On, { coupon: y }),
|
|
3060
3060
|
onMove: ({ isStart: y, isEnd: $ }) => u({ isStart: y, isEnd: $ })
|
|
3061
3061
|
}
|
|
3062
3062
|
)
|
|
@@ -3067,27 +3067,27 @@ function kn({}) {
|
|
|
3067
3067
|
"div",
|
|
3068
3068
|
{
|
|
3069
3069
|
className: ke.cardWrapper,
|
|
3070
|
-
children: /* @__PURE__ */
|
|
3071
|
-
/* @__PURE__ */
|
|
3070
|
+
children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1, children: [
|
|
3071
|
+
/* @__PURE__ */ v(H, { spacing: 1, direction: "row", children: [
|
|
3072
3072
|
/* @__PURE__ */ t(j, { variant: "text", width: "60%", height: 24 }),
|
|
3073
3073
|
/* @__PURE__ */ t(j, { variant: "text", width: "39%", height: 24 })
|
|
3074
3074
|
] }),
|
|
3075
|
-
/* @__PURE__ */
|
|
3075
|
+
/* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3076
3076
|
/* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 }),
|
|
3077
3077
|
/* @__PURE__ */ t(j, { variant: "text", width: 40, height: 40 }),
|
|
3078
3078
|
/* @__PURE__ */ t(j, { variant: "circular", width: 32, height: 40 })
|
|
3079
3079
|
] }),
|
|
3080
|
-
/* @__PURE__ */
|
|
3080
|
+
/* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3081
3081
|
/* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 }),
|
|
3082
3082
|
/* @__PURE__ */ t(j, { variant: "text", width: 40, height: 16 }),
|
|
3083
3083
|
/* @__PURE__ */ t(j, { variant: "text", width: 32, height: 16 })
|
|
3084
3084
|
] }),
|
|
3085
|
-
/* @__PURE__ */
|
|
3085
|
+
/* @__PURE__ */ v(H, { spacing: 2, direction: "row", children: [
|
|
3086
3086
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
|
|
3087
3087
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 }),
|
|
3088
3088
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 16 })
|
|
3089
3089
|
] }),
|
|
3090
|
-
/* @__PURE__ */
|
|
3090
|
+
/* @__PURE__ */ v(H, { spacing: 2, direction: "row", children: [
|
|
3091
3091
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
|
|
3092
3092
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 }),
|
|
3093
3093
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 88, height: 32 })
|
|
@@ -3096,11 +3096,11 @@ function kn({}) {
|
|
|
3096
3096
|
}
|
|
3097
3097
|
);
|
|
3098
3098
|
}
|
|
3099
|
-
const
|
|
3100
|
-
fadeWrapper:
|
|
3099
|
+
const Nn = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", $n = {
|
|
3100
|
+
fadeWrapper: Nn
|
|
3101
3101
|
};
|
|
3102
3102
|
function Be({ children: e }) {
|
|
3103
|
-
return /* @__PURE__ */ t("div", { className:
|
|
3103
|
+
return /* @__PURE__ */ t("div", { className: $n.fadeWrapper, children: e });
|
|
3104
3104
|
}
|
|
3105
3105
|
const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
|
|
3106
3106
|
padding: Mn
|
|
@@ -3112,54 +3112,54 @@ function St({
|
|
|
3112
3112
|
buffer: o = 2,
|
|
3113
3113
|
debounceMs: i = 250
|
|
3114
3114
|
}) {
|
|
3115
|
-
const [r, s] =
|
|
3115
|
+
const [r, s] = X({}), c = V(/* @__PURE__ */ new Set()), p = V(0), g = V(null), u = V(null);
|
|
3116
3116
|
return Q(() => {
|
|
3117
3117
|
if (!(!e || e.length === 0))
|
|
3118
|
-
return
|
|
3118
|
+
return g.current && clearTimeout(g.current), g.current = setTimeout(() => {
|
|
3119
3119
|
var D, y;
|
|
3120
|
-
const m = (D = a.start) != null ? D : 0, d = (y = a.end) != null ? y : 7,
|
|
3121
|
-
let
|
|
3122
|
-
const
|
|
3123
|
-
|
|
3124
|
-
const
|
|
3125
|
-
if (
|
|
3126
|
-
|
|
3127
|
-
const
|
|
3120
|
+
const m = (D = a.start) != null ? D : 0, d = (y = a.end) != null ? y : 7, f = Math.max(0, m - o), b = Math.min(e.length - 1, d + o);
|
|
3121
|
+
let x = f, _ = b;
|
|
3122
|
+
const h = u.current;
|
|
3123
|
+
h && (f > h.end && (x = h.end + 1), b < h.start && (_ = h.start - 1)), u.current = { start: f, end: b };
|
|
3124
|
+
const E = e.slice(x, _ + 1).map(($) => $ == null ? void 0 : $.id).filter(($) => !!$).filter(($) => !c.current.has($)).filter(($) => !($ in r));
|
|
3125
|
+
if (E.length === 0) return;
|
|
3126
|
+
E.forEach(($) => c.current.add($));
|
|
3127
|
+
const T = ++p.current;
|
|
3128
3128
|
(async () => {
|
|
3129
3129
|
try {
|
|
3130
|
-
const $ = await n(
|
|
3131
|
-
if (
|
|
3132
|
-
|
|
3130
|
+
const $ = await n(E);
|
|
3131
|
+
if (T !== p.current) {
|
|
3132
|
+
E.forEach((A) => c.current.delete(A));
|
|
3133
3133
|
return;
|
|
3134
3134
|
}
|
|
3135
3135
|
if (!($ != null && $.events)) {
|
|
3136
|
-
|
|
3136
|
+
E.forEach(
|
|
3137
3137
|
(A) => c.current.delete(A)
|
|
3138
3138
|
);
|
|
3139
3139
|
return;
|
|
3140
3140
|
}
|
|
3141
3141
|
s((A) => {
|
|
3142
|
-
const
|
|
3143
|
-
for (const [
|
|
3144
|
-
const
|
|
3145
|
-
|
|
3142
|
+
const M = { ...A };
|
|
3143
|
+
for (const [w, k] of Object.entries($.events)) {
|
|
3144
|
+
const P = Number(w);
|
|
3145
|
+
M[P] || (M[P] = k);
|
|
3146
3146
|
}
|
|
3147
|
-
return
|
|
3147
|
+
return M;
|
|
3148
3148
|
});
|
|
3149
|
-
const
|
|
3149
|
+
const C = new Set(
|
|
3150
3150
|
Object.keys($.events).map(Number)
|
|
3151
3151
|
);
|
|
3152
|
-
|
|
3152
|
+
E.forEach((A) => {
|
|
3153
3153
|
c.current.delete(A);
|
|
3154
3154
|
});
|
|
3155
3155
|
} catch ($) {
|
|
3156
|
-
|
|
3157
|
-
(
|
|
3156
|
+
E.forEach(
|
|
3157
|
+
(C) => c.current.delete(C)
|
|
3158
3158
|
), console.error("Jersey fetch error", $);
|
|
3159
3159
|
}
|
|
3160
3160
|
})();
|
|
3161
3161
|
}, i), () => {
|
|
3162
|
-
|
|
3162
|
+
g.current && clearTimeout(g.current);
|
|
3163
3163
|
};
|
|
3164
3164
|
}, [e, a, o, i, n]), {
|
|
3165
3165
|
jerseys: r,
|
|
@@ -3183,14 +3183,14 @@ function Rn({
|
|
|
3183
3183
|
onViewMore: o,
|
|
3184
3184
|
className: i = ""
|
|
3185
3185
|
}) {
|
|
3186
|
-
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c,
|
|
3186
|
+
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), [g, u] = X(null), [m, d] = X({ start: null, end: null }), [f, b] = X(null), x = V(!1), _ = ae(), h = ne(), E = le(), T = V(/* @__PURE__ */ new Map()), D = () => {
|
|
3187
3187
|
var z;
|
|
3188
|
-
|
|
3188
|
+
_({
|
|
3189
3189
|
element: "evento_en_vivo_prev",
|
|
3190
|
-
label: `${
|
|
3190
|
+
label: `${h} - OraculoSeccionEventoEnVivo - Anterior`,
|
|
3191
3191
|
target: "prev",
|
|
3192
3192
|
event_type: "click",
|
|
3193
|
-
module_id:
|
|
3193
|
+
module_id: E,
|
|
3194
3194
|
metadata: {
|
|
3195
3195
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3196
3196
|
},
|
|
@@ -3198,37 +3198,37 @@ function Rn({
|
|
|
3198
3198
|
}), (z = s.current) == null || z.prev();
|
|
3199
3199
|
}, y = () => {
|
|
3200
3200
|
var z;
|
|
3201
|
-
|
|
3201
|
+
_({
|
|
3202
3202
|
element: "evento_en_vivo_next",
|
|
3203
|
-
label: `${
|
|
3203
|
+
label: `${h} - OraculoSeccionEventoEnVivo - Siguiente`,
|
|
3204
3204
|
target: "next",
|
|
3205
3205
|
event_type: "click",
|
|
3206
|
-
module_id:
|
|
3206
|
+
module_id: E,
|
|
3207
3207
|
metadata: {
|
|
3208
3208
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3209
3209
|
},
|
|
3210
3210
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3211
3211
|
}), (z = s.current) == null || z.next();
|
|
3212
3212
|
}, $ = () => {
|
|
3213
|
-
|
|
3213
|
+
_({
|
|
3214
3214
|
element: "evento_en_vivo_view_more",
|
|
3215
|
-
label: `${
|
|
3215
|
+
label: `${h} - OraculoSeccionEventoEnVivo - Ver más`,
|
|
3216
3216
|
target: "ver_mas",
|
|
3217
3217
|
event_type: "click",
|
|
3218
|
-
module_id:
|
|
3218
|
+
module_id: E,
|
|
3219
3219
|
metadata: {
|
|
3220
3220
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3221
3221
|
},
|
|
3222
3222
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3223
3223
|
}), Ba();
|
|
3224
|
-
},
|
|
3224
|
+
}, C = Oe(async () => {
|
|
3225
3225
|
var z;
|
|
3226
3226
|
try {
|
|
3227
|
-
if (!
|
|
3228
|
-
|
|
3227
|
+
if (!x.current) {
|
|
3228
|
+
x.current = !0;
|
|
3229
3229
|
try {
|
|
3230
|
-
const
|
|
3231
|
-
|
|
3230
|
+
const J = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), I = ((z = J == null ? void 0 : J.data) == null ? void 0 : z.event_ids) || [], L = /* @__PURE__ */ new Map();
|
|
3231
|
+
I.forEach((K, l) => L.set(String(K), l)), T.current = L;
|
|
3232
3232
|
} catch (G) {
|
|
3233
3233
|
console.error("Order fetch failed, using default sorting", G);
|
|
3234
3234
|
}
|
|
@@ -3236,12 +3236,12 @@ function Rn({
|
|
|
3236
3236
|
const R = await fetch(r);
|
|
3237
3237
|
if (!R.ok) throw new Error("Failed to fetch live events");
|
|
3238
3238
|
const U = await R.json(), W = An(U.events);
|
|
3239
|
-
if (
|
|
3239
|
+
if (T.current.size === 0)
|
|
3240
3240
|
u(W);
|
|
3241
3241
|
else {
|
|
3242
|
-
const G = [...W].sort((
|
|
3243
|
-
const
|
|
3244
|
-
return (
|
|
3242
|
+
const G = [...W].sort((J, I) => {
|
|
3243
|
+
const L = T.current.get(String(J.event.id)), K = T.current.get(String(I.event.id));
|
|
3244
|
+
return (L !== void 0 ? L : 1 / 0) - (K !== void 0 ? K : 1 / 0);
|
|
3245
3245
|
});
|
|
3246
3246
|
u(G);
|
|
3247
3247
|
}
|
|
@@ -3250,12 +3250,12 @@ function Rn({
|
|
|
3250
3250
|
}
|
|
3251
3251
|
}, []);
|
|
3252
3252
|
Q(() => {
|
|
3253
|
-
|
|
3254
|
-
const z = setInterval(
|
|
3253
|
+
C();
|
|
3254
|
+
const z = setInterval(C, 2e4);
|
|
3255
3255
|
return () => clearInterval(z);
|
|
3256
|
-
}, [
|
|
3256
|
+
}, [C]);
|
|
3257
3257
|
const { jerseys: A } = St({
|
|
3258
|
-
events: (
|
|
3258
|
+
events: (g == null ? void 0 : g.map((z) => z.event)) || [],
|
|
3259
3259
|
// extract actual event objects
|
|
3260
3260
|
visibleRange: m,
|
|
3261
3261
|
fetchJerseys: gt,
|
|
@@ -3263,19 +3263,19 @@ function Rn({
|
|
|
3263
3263
|
// same as your previous BUFFER
|
|
3264
3264
|
debounceMs: 300
|
|
3265
3265
|
// same as your previous debouncedVisibleRange
|
|
3266
|
-
}),
|
|
3267
|
-
return !
|
|
3266
|
+
}), M = i || void 0, w = g === null, k = ie(() => w ? Array(4).fill({}) : (g == null ? void 0 : g.slice(0, 20)) || [], [w, g]), P = xe("(max-width:950px)");
|
|
3267
|
+
return !w && g.length === 0 ? null : /* @__PURE__ */ t("section", { className: M, style: {
|
|
3268
3268
|
// paddingLeft: 16,
|
|
3269
3269
|
// paddingRight: 16,
|
|
3270
3270
|
width: "100%",
|
|
3271
3271
|
boxSizing: "border-box"
|
|
3272
|
-
}, children: /* @__PURE__ */
|
|
3273
|
-
/* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */
|
|
3272
|
+
}, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3273
|
+
/* @__PURE__ */ t("div", { className: Bn.padding, children: /* @__PURE__ */ v(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3274
3274
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
3275
|
-
/* @__PURE__ */
|
|
3276
|
-
/* @__PURE__ */
|
|
3275
|
+
/* @__PURE__ */ v("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3276
|
+
/* @__PURE__ */ v(me, { spacing: 1, columns: "auto auto", children: [
|
|
3277
3277
|
/* @__PURE__ */ t(
|
|
3278
|
-
|
|
3278
|
+
Y,
|
|
3279
3279
|
{
|
|
3280
3280
|
ariaLabel: "Anterior",
|
|
3281
3281
|
variant: "secondary",
|
|
@@ -3286,7 +3286,7 @@ function Rn({
|
|
|
3286
3286
|
}
|
|
3287
3287
|
),
|
|
3288
3288
|
/* @__PURE__ */ t(
|
|
3289
|
-
|
|
3289
|
+
Y,
|
|
3290
3290
|
{
|
|
3291
3291
|
ariaLabel: "Siguiente",
|
|
3292
3292
|
variant: "secondary",
|
|
@@ -3297,16 +3297,16 @@ function Rn({
|
|
|
3297
3297
|
}
|
|
3298
3298
|
)
|
|
3299
3299
|
] }),
|
|
3300
|
-
/* @__PURE__ */ t(
|
|
3300
|
+
/* @__PURE__ */ t(Y, { variant: "secondary", onClick: $, children: "Ver más" })
|
|
3301
3301
|
] })
|
|
3302
3302
|
] }) }),
|
|
3303
3303
|
/* @__PURE__ */ t(
|
|
3304
3304
|
he,
|
|
3305
3305
|
{
|
|
3306
3306
|
ref: s,
|
|
3307
|
-
items:
|
|
3307
|
+
items: k,
|
|
3308
3308
|
perPage: void 0,
|
|
3309
|
-
showRightGradient: !
|
|
3309
|
+
showRightGradient: !P,
|
|
3310
3310
|
enableHorizontalWheel: !0,
|
|
3311
3311
|
gap: "16px",
|
|
3312
3312
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
@@ -3318,7 +3318,7 @@ function Rn({
|
|
|
3318
3318
|
renderItem: (z) => {
|
|
3319
3319
|
var W;
|
|
3320
3320
|
const R = ((W = z.event) == null ? void 0 : W.id) || z.eventId, U = R in A ? A[R] : void 0;
|
|
3321
|
-
return
|
|
3321
|
+
return w ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
|
|
3322
3322
|
zn,
|
|
3323
3323
|
{
|
|
3324
3324
|
...z,
|
|
@@ -3327,7 +3327,7 @@ function Rn({
|
|
|
3327
3327
|
) });
|
|
3328
3328
|
},
|
|
3329
3329
|
onMove: ({ isStart: z, isEnd: R, visibleStart: U, visibleEnd: W }) => {
|
|
3330
|
-
|
|
3330
|
+
p(
|
|
3331
3331
|
(G) => G.isStart === z && G.isEnd === R ? G : { isStart: z, isEnd: R }
|
|
3332
3332
|
), d({ start: U, end: W });
|
|
3333
3333
|
}
|
|
@@ -3335,26 +3335,26 @@ function Rn({
|
|
|
3335
3335
|
)
|
|
3336
3336
|
] }) });
|
|
3337
3337
|
}
|
|
3338
|
-
function
|
|
3339
|
-
return /* @__PURE__ */
|
|
3338
|
+
function Pn() {
|
|
3339
|
+
return /* @__PURE__ */ v("div", { className: be.cardContainer, children: [
|
|
3340
3340
|
/* @__PURE__ */ t(mt, { title: "" }),
|
|
3341
|
-
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */
|
|
3342
|
-
/* @__PURE__ */
|
|
3341
|
+
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3342
|
+
/* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3343
3343
|
/* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 }),
|
|
3344
3344
|
/* @__PURE__ */ t(j, { variant: "circular", width: 48, height: 48 })
|
|
3345
3345
|
] }),
|
|
3346
|
-
/* @__PURE__ */
|
|
3347
|
-
/* @__PURE__ */
|
|
3346
|
+
/* @__PURE__ */ v(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3347
|
+
/* @__PURE__ */ v(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3348
3348
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 }),
|
|
3349
3349
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 12 })
|
|
3350
3350
|
] }),
|
|
3351
3351
|
/* @__PURE__ */ t(H, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(j, { variant: "text", width: 160, height: 12 }) }),
|
|
3352
|
-
/* @__PURE__ */
|
|
3352
|
+
/* @__PURE__ */ v(H, { direction: "row", spacing: 1, children: [
|
|
3353
3353
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
|
|
3354
3354
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 }),
|
|
3355
3355
|
/* @__PURE__ */ t(j, { variant: "text", width: 80, height: 16 })
|
|
3356
3356
|
] }),
|
|
3357
|
-
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */
|
|
3357
|
+
/* @__PURE__ */ t("div", { className: be.jugadas, children: /* @__PURE__ */ v(H, { direction: "row", spacing: 1, children: [
|
|
3358
3358
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
|
|
3359
3359
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 }),
|
|
3360
3360
|
/* @__PURE__ */ t(j, { variant: "rounded", width: 80, height: 32 })
|
|
@@ -3363,8 +3363,8 @@ function Ln() {
|
|
|
3363
3363
|
] }) })
|
|
3364
3364
|
] });
|
|
3365
3365
|
}
|
|
3366
|
-
const
|
|
3367
|
-
wrapper:
|
|
3366
|
+
const Ln = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Fn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", qn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
|
|
3367
|
+
wrapper: Ln,
|
|
3368
3368
|
container: Fn,
|
|
3369
3369
|
buttonWrapper: qn,
|
|
3370
3370
|
padding: Dn
|
|
@@ -3375,7 +3375,7 @@ async function Vn(e, a = 2, n) {
|
|
|
3375
3375
|
if (n.aborted)
|
|
3376
3376
|
throw new DOMException("Aborted", "AbortError");
|
|
3377
3377
|
const r = e.slice(i, i + a), s = await Promise.all(
|
|
3378
|
-
r.map((c) => fetch(c, { signal: n }).then((
|
|
3378
|
+
r.map((c) => fetch(c, { signal: n }).then((p) => p.json()))
|
|
3379
3379
|
);
|
|
3380
3380
|
o.push(...s);
|
|
3381
3381
|
}
|
|
@@ -3411,7 +3411,7 @@ function Hn({
|
|
|
3411
3411
|
onViewMore: o,
|
|
3412
3412
|
className: i = ""
|
|
3413
3413
|
}) {
|
|
3414
|
-
const r = ae(), s = ne(), c = le(),
|
|
3414
|
+
const r = ae(), s = ne(), c = le(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", g = V(null), [u, m] = X({ isStart: !0, isEnd: !1 }), [d, f] = X(null), [b, x] = X({ start: null, end: null }), _ = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", h = () => {
|
|
3415
3415
|
r({
|
|
3416
3416
|
element: "evento_semana_view_more",
|
|
3417
3417
|
label: `${s} - OraculoSeccionEventoSemana - Ver más`,
|
|
@@ -3424,24 +3424,24 @@ function Hn({
|
|
|
3424
3424
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3425
3425
|
}), Aa();
|
|
3426
3426
|
};
|
|
3427
|
-
async function
|
|
3428
|
-
var
|
|
3429
|
-
let
|
|
3427
|
+
async function E(M) {
|
|
3428
|
+
var P, z;
|
|
3429
|
+
let w = [], k = [];
|
|
3430
3430
|
try {
|
|
3431
3431
|
const R = await fetch(
|
|
3432
3432
|
"https://api.mktolimpo.com/api/kambi/eventos/orden",
|
|
3433
|
-
{ signal:
|
|
3433
|
+
{ signal: M }
|
|
3434
3434
|
);
|
|
3435
3435
|
if (R.ok) {
|
|
3436
3436
|
const U = await R.json();
|
|
3437
|
-
|
|
3437
|
+
w = ((P = U == null ? void 0 : U.data) == null ? void 0 : P.group_ids) || [], k = ((z = U == null ? void 0 : U.data) == null ? void 0 : z.event_ids) || [];
|
|
3438
3438
|
}
|
|
3439
3439
|
} catch (R) {
|
|
3440
3440
|
R.name !== "AbortError" && console.warn("Order API not available, using default group order");
|
|
3441
3441
|
return;
|
|
3442
3442
|
}
|
|
3443
3443
|
try {
|
|
3444
|
-
const W = (await (await fetch(
|
|
3444
|
+
const W = (await (await fetch(p, { signal: M })).json()).group.groups.find(
|
|
3445
3445
|
(l) => l.englishName === "Football"
|
|
3446
3446
|
);
|
|
3447
3447
|
if (!W || !Array.isArray(W.groups)) {
|
|
@@ -3449,66 +3449,66 @@ function Hn({
|
|
|
3449
3449
|
return;
|
|
3450
3450
|
}
|
|
3451
3451
|
let G = [...W.groups];
|
|
3452
|
-
if (
|
|
3452
|
+
if (w.length > 0) {
|
|
3453
3453
|
const l = new Map(
|
|
3454
|
-
|
|
3454
|
+
w.map((S, O) => [S, O])
|
|
3455
3455
|
);
|
|
3456
|
-
G.sort((S,
|
|
3457
|
-
const
|
|
3458
|
-
return
|
|
3456
|
+
G.sort((S, O) => {
|
|
3457
|
+
const N = l.get(String(S.id)), B = l.get(String(O.id));
|
|
3458
|
+
return N !== void 0 && B !== void 0 ? N - B : N !== void 0 ? -1 : B !== void 0 ? 1 : 0;
|
|
3459
3459
|
});
|
|
3460
3460
|
}
|
|
3461
|
-
const
|
|
3461
|
+
const I = G.slice(0, 5), L = (l) => {
|
|
3462
3462
|
const S = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
|
|
3463
3463
|
if (l.groups && l.groups.length > 0) {
|
|
3464
|
-
const
|
|
3464
|
+
const O = l.groups[0];
|
|
3465
3465
|
return [
|
|
3466
|
-
`${S}/${l.termKey}/${
|
|
3466
|
+
`${S}/${l.termKey}/${O.termKey}/all/matches.json?${_}`
|
|
3467
3467
|
];
|
|
3468
3468
|
}
|
|
3469
3469
|
return [
|
|
3470
|
-
`${S}/${l.termKey}/all/all/matches.json?${
|
|
3470
|
+
`${S}/${l.termKey}/all/all/matches.json?${_}`
|
|
3471
3471
|
];
|
|
3472
|
-
},
|
|
3473
|
-
|
|
3472
|
+
}, K = I.flatMap(L);
|
|
3473
|
+
T(K, k, M);
|
|
3474
3474
|
} catch (R) {
|
|
3475
3475
|
console.error(R);
|
|
3476
3476
|
}
|
|
3477
3477
|
}
|
|
3478
|
-
async function
|
|
3478
|
+
async function T(M, w, k) {
|
|
3479
3479
|
try {
|
|
3480
|
-
const
|
|
3480
|
+
const P = await Vn(M, 2, k);
|
|
3481
3481
|
let z = [], R = [];
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
...
|
|
3482
|
+
P.forEach((J) => {
|
|
3483
|
+
J.events && (z.push(...J.events.map((I) => I.event)), R.push(
|
|
3484
|
+
...J.events.flatMap((I) => I.betOffers || [])
|
|
3485
3485
|
));
|
|
3486
3486
|
});
|
|
3487
3487
|
const U = jn(z, R), W = Wn(Gn(U));
|
|
3488
3488
|
let G = W;
|
|
3489
|
-
if (
|
|
3490
|
-
const
|
|
3491
|
-
|
|
3492
|
-
String(
|
|
3493
|
-
|
|
3489
|
+
if (w.length > 0) {
|
|
3490
|
+
const J = new Map(
|
|
3491
|
+
w.map((I, L) => [
|
|
3492
|
+
String(I),
|
|
3493
|
+
L
|
|
3494
3494
|
])
|
|
3495
3495
|
);
|
|
3496
|
-
G = [...W].sort((
|
|
3497
|
-
const
|
|
3498
|
-
return
|
|
3496
|
+
G = [...W].sort((I, L) => {
|
|
3497
|
+
const K = J.get(String(I.id)), l = J.get(String(L.id));
|
|
3498
|
+
return K !== void 0 && l !== void 0 ? K - l : K !== void 0 ? -1 : l !== void 0 ? 1 : 0;
|
|
3499
3499
|
});
|
|
3500
3500
|
}
|
|
3501
|
-
if (
|
|
3502
|
-
|
|
3503
|
-
} catch (
|
|
3504
|
-
console.error("Error loading events:",
|
|
3501
|
+
if (k.aborted) return;
|
|
3502
|
+
f(G);
|
|
3503
|
+
} catch (P) {
|
|
3504
|
+
console.error("Error loading events:", P);
|
|
3505
3505
|
}
|
|
3506
3506
|
}
|
|
3507
3507
|
Q(() => {
|
|
3508
3508
|
if (!e) return;
|
|
3509
|
-
const
|
|
3510
|
-
return
|
|
3511
|
-
|
|
3509
|
+
const M = new AbortController();
|
|
3510
|
+
return E(M.signal), () => {
|
|
3511
|
+
M.abort();
|
|
3512
3512
|
};
|
|
3513
3513
|
}, [e]);
|
|
3514
3514
|
const D = i || void 0, y = {
|
|
@@ -3517,22 +3517,22 @@ function Hn({
|
|
|
3517
3517
|
boxSizing: "border-box"
|
|
3518
3518
|
}, { jerseys: $ } = St({
|
|
3519
3519
|
events: d,
|
|
3520
|
-
visibleRange:
|
|
3520
|
+
visibleRange: b,
|
|
3521
3521
|
fetchJerseys: gt,
|
|
3522
3522
|
buffer: 2,
|
|
3523
3523
|
debounceMs: 250
|
|
3524
|
-
}),
|
|
3525
|
-
return !
|
|
3526
|
-
/* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */
|
|
3524
|
+
}), C = d === null, A = xe("(max-width:950px)");
|
|
3525
|
+
return !C && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: D, style: y, children: /* @__PURE__ */ v("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
|
|
3526
|
+
/* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ v(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3527
3527
|
/* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
|
|
3528
3528
|
/* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
|
|
3529
|
-
|
|
3529
|
+
Y,
|
|
3530
3530
|
{
|
|
3531
3531
|
variant: "secondary",
|
|
3532
3532
|
size: "lg",
|
|
3533
3533
|
fullWidth: !0,
|
|
3534
3534
|
onClick: () => {
|
|
3535
|
-
|
|
3535
|
+
h();
|
|
3536
3536
|
},
|
|
3537
3537
|
children: "Ver más"
|
|
3538
3538
|
}
|
|
@@ -3541,8 +3541,8 @@ function Hn({
|
|
|
3541
3541
|
/* @__PURE__ */ t("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ t(
|
|
3542
3542
|
he,
|
|
3543
3543
|
{
|
|
3544
|
-
ref:
|
|
3545
|
-
items:
|
|
3544
|
+
ref: g,
|
|
3545
|
+
items: C ? Array(6).fill({}) : d.slice(0, 20),
|
|
3546
3546
|
perPage: 3.5,
|
|
3547
3547
|
gap: "16px",
|
|
3548
3548
|
enableHorizontalWheel: !0,
|
|
@@ -3556,14 +3556,14 @@ function Hn({
|
|
|
3556
3556
|
padding: { left: "8px", right: "8px" }
|
|
3557
3557
|
}
|
|
3558
3558
|
},
|
|
3559
|
-
renderItem: (
|
|
3560
|
-
const
|
|
3561
|
-
return
|
|
3559
|
+
renderItem: (M) => {
|
|
3560
|
+
const w = M.id, k = w in $ ? $[w] : void 0;
|
|
3561
|
+
return C ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Pn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: M, jersey: k }) });
|
|
3562
3562
|
},
|
|
3563
|
-
onMove: ({ isStart:
|
|
3564
|
-
m({ isStart:
|
|
3565
|
-
start:
|
|
3566
|
-
end:
|
|
3563
|
+
onMove: ({ isStart: M, isEnd: w, visibleStart: k, visibleEnd: P }) => {
|
|
3564
|
+
m({ isStart: M, isEnd: w }), x({
|
|
3565
|
+
start: k,
|
|
3566
|
+
end: P
|
|
3567
3567
|
}), r({
|
|
3568
3568
|
element: "evento_semana_carousel_slide",
|
|
3569
3569
|
label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
|
|
@@ -3572,10 +3572,10 @@ function Hn({
|
|
|
3572
3572
|
module_id: c,
|
|
3573
3573
|
metadata: {
|
|
3574
3574
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3575
|
-
visibleStart:
|
|
3576
|
-
visibleEnd:
|
|
3577
|
-
isStart:
|
|
3578
|
-
isEnd:
|
|
3575
|
+
visibleStart: k,
|
|
3576
|
+
visibleEnd: P,
|
|
3577
|
+
isStart: M,
|
|
3578
|
+
isEnd: w
|
|
3579
3579
|
},
|
|
3580
3580
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3581
3581
|
});
|
|
@@ -3587,8 +3587,8 @@ function Hn({
|
|
|
3587
3587
|
const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
|
|
3588
3588
|
if (!e) return null;
|
|
3589
3589
|
if (Zn(e)) {
|
|
3590
|
-
const
|
|
3591
|
-
return Number.isNaN(
|
|
3590
|
+
const p = new Date(e).getTime();
|
|
3591
|
+
return Number.isNaN(p) ? null : p;
|
|
3592
3592
|
}
|
|
3593
3593
|
const a = e.match(
|
|
3594
3594
|
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
|
|
@@ -3603,27 +3603,36 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
|
|
|
3603
3603
|
Number(s),
|
|
3604
3604
|
Number(c)
|
|
3605
3605
|
);
|
|
3606
|
-
},
|
|
3607
|
-
var c,
|
|
3608
|
-
const n = (
|
|
3606
|
+
}, Xn = (e, a) => {
|
|
3607
|
+
var c, p, g, u, m, d, f, b, x;
|
|
3608
|
+
const n = (g = (p = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? p : e == null ? void 0 : e.extraFields) != null ? g : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((_) => (_ == null ? void 0 : _.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, i = (x = (b = e == null ? void 0 : e.endAt) != null ? b : (f = n.find((_) => (_ == null ? void 0 : _.name) === "endAt")) == null ? void 0 : f.value) != null ? x : null, r = nt(o), s = nt(i);
|
|
3609
3609
|
return !(r != null && a < r || s != null && a >= s);
|
|
3610
3610
|
};
|
|
3611
|
-
function
|
|
3611
|
+
function Jn({
|
|
3612
3612
|
backgrounds: e,
|
|
3613
3613
|
items: a,
|
|
3614
3614
|
hideItems: n
|
|
3615
3615
|
}) {
|
|
3616
|
-
var
|
|
3617
|
-
const [o, i] =
|
|
3616
|
+
var J;
|
|
3617
|
+
const [o, i] = X(0), r = ae(), s = ne(), c = le(), p = V(null), g = V(!1), u = V(!1), [m, d] = X(() => Date.now()), f = se("setDepositActionGlobal"), b = (I) => [...I != null ? I : []].map((L, K) => ({ item: L, index: K })).sort((L, K) => {
|
|
3618
|
+
var O, N;
|
|
3619
|
+
const l = (O = L.item.order) != null ? O : Number.MAX_SAFE_INTEGER, S = (N = K.item.order) != null ? N : Number.MAX_SAFE_INTEGER;
|
|
3620
|
+
return l - S || L.index - K.index;
|
|
3621
|
+
}).map(({ item: L }) => L), x = ie(() => b(a), [a]), _ = ie(() => {
|
|
3622
|
+
const I = (e != null ? e : []).filter(
|
|
3623
|
+
(L) => Xn(L, m)
|
|
3624
|
+
);
|
|
3625
|
+
return b(I);
|
|
3626
|
+
}, [e, m]), h = _.length || 1, E = !_ || _.length === 0, T = !E && _.length > 1, D = !n && x.length > 0;
|
|
3618
3627
|
De("(max-width:950px)");
|
|
3619
|
-
const
|
|
3628
|
+
const y = "#B5B5B5";
|
|
3620
3629
|
Q(() => {
|
|
3621
|
-
const
|
|
3630
|
+
const I = window.setInterval(() => {
|
|
3622
3631
|
d(Date.now());
|
|
3623
3632
|
}, 3e4);
|
|
3624
|
-
return () => window.clearInterval(
|
|
3633
|
+
return () => window.clearInterval(I);
|
|
3625
3634
|
}, []);
|
|
3626
|
-
const
|
|
3635
|
+
const $ = {
|
|
3627
3636
|
position: "absolute",
|
|
3628
3637
|
top: "50%",
|
|
3629
3638
|
transform: "translateY(-50%)",
|
|
@@ -3631,22 +3640,22 @@ function Xn({
|
|
|
3631
3640
|
width: 48,
|
|
3632
3641
|
height: 40,
|
|
3633
3642
|
borderRadius: "12px",
|
|
3634
|
-
border: `1.5px solid ${
|
|
3643
|
+
border: `1.5px solid ${y}`,
|
|
3635
3644
|
py: 1,
|
|
3636
3645
|
px: 1.5,
|
|
3637
|
-
color:
|
|
3646
|
+
color: y,
|
|
3638
3647
|
backgroundColor: "transparent",
|
|
3639
3648
|
"&:hover": {
|
|
3640
3649
|
backgroundColor: "rgba(181,181,181,0.08)"
|
|
3641
3650
|
},
|
|
3642
3651
|
"&.Mui-disabled": {
|
|
3643
3652
|
opacity: 0.35,
|
|
3644
|
-
borderColor:
|
|
3645
|
-
color:
|
|
3653
|
+
borderColor: y,
|
|
3654
|
+
color: y,
|
|
3646
3655
|
backgroundColor: "transparent",
|
|
3647
3656
|
cursor: "default"
|
|
3648
3657
|
}
|
|
3649
|
-
},
|
|
3658
|
+
}, C = ie(
|
|
3650
3659
|
() => ({
|
|
3651
3660
|
type: "loop",
|
|
3652
3661
|
perMove: 1,
|
|
@@ -3658,109 +3667,109 @@ function Xn({
|
|
|
3658
3667
|
[]
|
|
3659
3668
|
);
|
|
3660
3669
|
Q(() => {
|
|
3661
|
-
const
|
|
3662
|
-
|
|
3670
|
+
const I = setTimeout(() => {
|
|
3671
|
+
g.current = !0;
|
|
3663
3672
|
}, 500);
|
|
3664
|
-
return () => clearTimeout(
|
|
3673
|
+
return () => clearTimeout(I);
|
|
3665
3674
|
}, []);
|
|
3666
|
-
const
|
|
3667
|
-
var
|
|
3668
|
-
const
|
|
3669
|
-
if (
|
|
3670
|
-
switch (
|
|
3675
|
+
const A = (I, L, K) => {
|
|
3676
|
+
var N, B;
|
|
3677
|
+
const l = !!L.idFunction, S = !!L.href;
|
|
3678
|
+
if (l)
|
|
3679
|
+
switch (I.preventDefault(), I.stopPropagation(), L.idFunction) {
|
|
3671
3680
|
case "deposito":
|
|
3672
|
-
|
|
3681
|
+
f == null || f(!0);
|
|
3673
3682
|
return;
|
|
3674
3683
|
default:
|
|
3675
3684
|
return;
|
|
3676
3685
|
}
|
|
3677
|
-
if (!
|
|
3678
|
-
|
|
3686
|
+
if (!S) {
|
|
3687
|
+
I.preventDefault(), I.stopPropagation();
|
|
3679
3688
|
return;
|
|
3680
3689
|
}
|
|
3681
|
-
const
|
|
3690
|
+
const O = ((B = (N = L.href) == null ? void 0 : N.split("/").pop()) == null ? void 0 : B.split(".")[0]) || L.label || L.id || `banner_${K + 1}`;
|
|
3682
3691
|
r({
|
|
3683
3692
|
element: "banner_carousel",
|
|
3684
|
-
label: `${s} - OraculoSeccionBanners - Banner click: ${
|
|
3685
|
-
target:
|
|
3693
|
+
label: `${s} - OraculoSeccionBanners - Banner click: ${O}`,
|
|
3694
|
+
target: L.href || "no_url",
|
|
3686
3695
|
event_type: "click",
|
|
3687
3696
|
module_id: c,
|
|
3688
3697
|
metadata: {
|
|
3689
3698
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3690
3699
|
banner_position: K + 1,
|
|
3691
|
-
banner_total: (
|
|
3700
|
+
banner_total: (_ == null ? void 0 : _.length) || 0
|
|
3692
3701
|
},
|
|
3693
3702
|
tags: {
|
|
3694
3703
|
banner_type: "carousel",
|
|
3695
3704
|
banner_target: "_self",
|
|
3696
|
-
banner_url:
|
|
3705
|
+
banner_url: L.href || "no_url"
|
|
3697
3706
|
}
|
|
3698
3707
|
});
|
|
3699
|
-
},
|
|
3708
|
+
}, M = (I) => {
|
|
3700
3709
|
if (r({
|
|
3701
3710
|
element: "banner_menu_item",
|
|
3702
|
-
label: `${s} - OraculoSeccionBanners - Menu item click: ${
|
|
3703
|
-
target:
|
|
3711
|
+
label: `${s} - OraculoSeccionBanners - Menu item click: ${I.label || I.id}`,
|
|
3712
|
+
target: I.href || "action",
|
|
3704
3713
|
event_type: "click",
|
|
3705
3714
|
module_id: c,
|
|
3706
3715
|
metadata: {
|
|
3707
3716
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3708
|
-
item_id:
|
|
3717
|
+
item_id: I.id
|
|
3709
3718
|
},
|
|
3710
3719
|
tags: {
|
|
3711
|
-
item_label:
|
|
3720
|
+
item_label: I.label || "no_label"
|
|
3712
3721
|
}
|
|
3713
|
-
}),
|
|
3714
|
-
|
|
3722
|
+
}), I.onClick) {
|
|
3723
|
+
I.onClick();
|
|
3715
3724
|
return;
|
|
3716
3725
|
}
|
|
3717
|
-
|
|
3718
|
-
},
|
|
3719
|
-
|
|
3720
|
-
},
|
|
3721
|
-
|
|
3722
|
-
var
|
|
3723
|
-
u.current = !0, (
|
|
3724
|
-
},
|
|
3726
|
+
I.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(I.href);
|
|
3727
|
+
}, w = 5e3, k = V(null), P = !E && ((J = _ == null ? void 0 : _.length) != null ? J : 0) > 1, z = () => {
|
|
3728
|
+
k.current != null && (window.clearTimeout(k.current), k.current = null);
|
|
3729
|
+
}, R = () => {
|
|
3730
|
+
z(), P && (k.current = window.setTimeout(() => {
|
|
3731
|
+
var I;
|
|
3732
|
+
u.current = !0, (I = p.current) == null || I.next();
|
|
3733
|
+
}, w));
|
|
3725
3734
|
};
|
|
3726
|
-
Q(() => (
|
|
3727
|
-
const
|
|
3728
|
-
var
|
|
3729
|
-
|
|
3730
|
-
},
|
|
3731
|
-
var
|
|
3732
|
-
|
|
3733
|
-
},
|
|
3734
|
-
var
|
|
3735
|
-
const
|
|
3736
|
-
if (!
|
|
3737
|
-
const K = (
|
|
3735
|
+
Q(() => (R(), () => z()), [P, w]);
|
|
3736
|
+
const U = (I) => {
|
|
3737
|
+
var L;
|
|
3738
|
+
I.preventDefault(), I.stopPropagation(), z(), (L = p.current) == null || L.prev();
|
|
3739
|
+
}, W = (I) => {
|
|
3740
|
+
var L;
|
|
3741
|
+
I.preventDefault(), I.stopPropagation(), z(), (L = p.current) == null || L.next();
|
|
3742
|
+
}, G = (I) => {
|
|
3743
|
+
var l, S, O, N;
|
|
3744
|
+
const L = (I % h + h) % h;
|
|
3745
|
+
if (!g.current) return;
|
|
3746
|
+
const K = (l = _ == null ? void 0 : _[L]) != null && l.href ? ((O = (S = _[L].href) == null ? void 0 : S.split("/").pop()) == null ? void 0 : O.split(".")[0]) || `banner_${L + 1}` : `banner_${L + 1}`;
|
|
3738
3747
|
r({
|
|
3739
3748
|
element: "banner_carousel",
|
|
3740
|
-
label: `${s} - OraculoSeccionBanners - Banner view: Slide ${
|
|
3741
|
-
target: ((
|
|
3749
|
+
label: `${s} - OraculoSeccionBanners - Banner view: Slide ${L + 1} - ${K}`,
|
|
3750
|
+
target: ((N = _ == null ? void 0 : _[L]) == null ? void 0 : N.href) || "no_url",
|
|
3742
3751
|
event_type: "view",
|
|
3743
3752
|
module_id: c,
|
|
3744
3753
|
metadata: {
|
|
3745
3754
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3746
|
-
slide_index:
|
|
3747
|
-
total_slides:
|
|
3755
|
+
slide_index: L + 1,
|
|
3756
|
+
total_slides: h,
|
|
3748
3757
|
interaction_type: "manual_slide"
|
|
3749
3758
|
},
|
|
3750
|
-
tags: { banner_position: String(
|
|
3759
|
+
tags: { banner_position: String(L + 1) }
|
|
3751
3760
|
});
|
|
3752
3761
|
};
|
|
3753
|
-
return /* @__PURE__ */
|
|
3762
|
+
return /* @__PURE__ */ v(
|
|
3754
3763
|
ee,
|
|
3755
3764
|
{
|
|
3756
3765
|
component: "section",
|
|
3757
3766
|
sx: {
|
|
3758
3767
|
position: "relative",
|
|
3759
3768
|
overflow: "visible",
|
|
3760
|
-
pb:
|
|
3769
|
+
pb: D ? { xs: "40px", sm: 0 } : 0
|
|
3761
3770
|
},
|
|
3762
3771
|
children: [
|
|
3763
|
-
/* @__PURE__ */
|
|
3772
|
+
/* @__PURE__ */ v(
|
|
3764
3773
|
ee,
|
|
3765
3774
|
{
|
|
3766
3775
|
sx: {
|
|
@@ -3787,46 +3796,46 @@ function Xn({
|
|
|
3787
3796
|
children: /* @__PURE__ */ t(
|
|
3788
3797
|
he,
|
|
3789
3798
|
{
|
|
3790
|
-
ref:
|
|
3791
|
-
items:
|
|
3799
|
+
ref: p,
|
|
3800
|
+
items: _,
|
|
3792
3801
|
perPage: 1,
|
|
3793
3802
|
gap: "0px",
|
|
3794
3803
|
enableHorizontalWheel: !0,
|
|
3795
|
-
options:
|
|
3796
|
-
onMove: ({ index:
|
|
3797
|
-
const
|
|
3798
|
-
i(
|
|
3804
|
+
options: C,
|
|
3805
|
+
onMove: ({ index: I }) => {
|
|
3806
|
+
const L = (I % h + h) % h;
|
|
3807
|
+
i(L);
|
|
3799
3808
|
const K = u.current;
|
|
3800
|
-
u.current = !1,
|
|
3809
|
+
u.current = !1, R(), K || G(I);
|
|
3801
3810
|
},
|
|
3802
|
-
renderItem: (
|
|
3803
|
-
var
|
|
3804
|
-
const K = !!
|
|
3805
|
-
return /* @__PURE__ */
|
|
3811
|
+
renderItem: (I, L) => {
|
|
3812
|
+
var N, B, F;
|
|
3813
|
+
const K = !!I.idFunction, l = !!I.href, S = l && !K, O = K || l;
|
|
3814
|
+
return /* @__PURE__ */ v(
|
|
3806
3815
|
ee,
|
|
3807
3816
|
{
|
|
3808
|
-
component:
|
|
3809
|
-
href:
|
|
3810
|
-
target:
|
|
3811
|
-
rel:
|
|
3812
|
-
onClick: (
|
|
3817
|
+
component: S ? "a" : "div",
|
|
3818
|
+
href: S ? I.href : void 0,
|
|
3819
|
+
target: S ? (N = I.target) != null ? N : "_self" : void 0,
|
|
3820
|
+
rel: S && I.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3821
|
+
onClick: (Z) => A(Z, I, L),
|
|
3813
3822
|
sx: {
|
|
3814
3823
|
position: "relative",
|
|
3815
3824
|
width: "100%",
|
|
3816
3825
|
height: "100%",
|
|
3817
3826
|
display: "block",
|
|
3818
3827
|
textDecoration: "none",
|
|
3819
|
-
cursor:
|
|
3828
|
+
cursor: O ? "pointer" : "default"
|
|
3820
3829
|
},
|
|
3821
3830
|
children: [
|
|
3822
|
-
/* @__PURE__ */
|
|
3823
|
-
/* @__PURE__ */ t("source", { srcSet:
|
|
3824
|
-
/* @__PURE__ */ t("source", { srcSet:
|
|
3831
|
+
/* @__PURE__ */ v(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
|
|
3832
|
+
/* @__PURE__ */ t("source", { srcSet: I.desktopSrc, media: "(min-width:950px)" }),
|
|
3833
|
+
/* @__PURE__ */ t("source", { srcSet: I.mobileSrc, media: "(max-width:949px)" }),
|
|
3825
3834
|
/* @__PURE__ */ t(
|
|
3826
3835
|
ee,
|
|
3827
3836
|
{
|
|
3828
3837
|
component: "img",
|
|
3829
|
-
src: (
|
|
3838
|
+
src: (F = (B = I.fallbackSrc) != null ? B : I.desktopSrc) != null ? F : "",
|
|
3830
3839
|
alt: "",
|
|
3831
3840
|
"aria-hidden": !0,
|
|
3832
3841
|
loading: "lazy",
|
|
@@ -3866,14 +3875,14 @@ function Xn({
|
|
|
3866
3875
|
)
|
|
3867
3876
|
}
|
|
3868
3877
|
),
|
|
3869
|
-
|
|
3878
|
+
T && /* @__PURE__ */ v(pe, { children: [
|
|
3870
3879
|
/* @__PURE__ */ t(
|
|
3871
3880
|
Ke,
|
|
3872
3881
|
{
|
|
3873
3882
|
"aria-label": "Anterior",
|
|
3874
|
-
onClick:
|
|
3883
|
+
onClick: U,
|
|
3875
3884
|
sx: {
|
|
3876
|
-
|
|
3885
|
+
...$,
|
|
3877
3886
|
left: "120px",
|
|
3878
3887
|
"@media (max-width:1024px)": { left: 24 },
|
|
3879
3888
|
"@media (max-width:786px)": { display: "none" }
|
|
@@ -3885,9 +3894,9 @@ function Xn({
|
|
|
3885
3894
|
Ke,
|
|
3886
3895
|
{
|
|
3887
3896
|
"aria-label": "Siguiente",
|
|
3888
|
-
onClick:
|
|
3897
|
+
onClick: W,
|
|
3889
3898
|
sx: {
|
|
3890
|
-
|
|
3899
|
+
...$,
|
|
3891
3900
|
right: "120px",
|
|
3892
3901
|
"@media (max-width:1024px)": { right: 24 },
|
|
3893
3902
|
"@media (max-width:786px)": { display: "none" }
|
|
@@ -3911,18 +3920,18 @@ function Xn({
|
|
|
3911
3920
|
children: /* @__PURE__ */ t(
|
|
3912
3921
|
dt,
|
|
3913
3922
|
{
|
|
3914
|
-
total:
|
|
3923
|
+
total: h,
|
|
3915
3924
|
active: o,
|
|
3916
|
-
durationMs:
|
|
3925
|
+
durationMs: w
|
|
3917
3926
|
},
|
|
3918
|
-
`${o}-${
|
|
3927
|
+
`${o}-${h}`
|
|
3919
3928
|
)
|
|
3920
3929
|
}
|
|
3921
3930
|
)
|
|
3922
3931
|
]
|
|
3923
3932
|
}
|
|
3924
3933
|
),
|
|
3925
|
-
|
|
3934
|
+
D && /* @__PURE__ */ t(
|
|
3926
3935
|
ee,
|
|
3927
3936
|
{
|
|
3928
3937
|
sx: {
|
|
@@ -3940,7 +3949,7 @@ function Xn({
|
|
|
3940
3949
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
3941
3950
|
zIndex: 3
|
|
3942
3951
|
},
|
|
3943
|
-
children:
|
|
3952
|
+
children: x == null ? void 0 : x.map((I) => /* @__PURE__ */ v(
|
|
3944
3953
|
ee,
|
|
3945
3954
|
{
|
|
3946
3955
|
sx: {
|
|
@@ -3952,7 +3961,7 @@ function Xn({
|
|
|
3952
3961
|
gap: { xs: 0.5, md: 1 },
|
|
3953
3962
|
color: "#FFFFFF",
|
|
3954
3963
|
minWidth: 0,
|
|
3955
|
-
cursor:
|
|
3964
|
+
cursor: I.onClick || I.href ? "pointer" : "default",
|
|
3956
3965
|
whiteSpace: "nowrap",
|
|
3957
3966
|
"&::after": {
|
|
3958
3967
|
content: '""',
|
|
@@ -3976,7 +3985,7 @@ function Xn({
|
|
|
3976
3985
|
opacity: 1,
|
|
3977
3986
|
transform: "scaleX(1)"
|
|
3978
3987
|
},
|
|
3979
|
-
...
|
|
3988
|
+
...I.iconHover && {
|
|
3980
3989
|
"&:hover .menu-icon-default": {
|
|
3981
3990
|
display: "none"
|
|
3982
3991
|
},
|
|
@@ -3985,9 +3994,9 @@ function Xn({
|
|
|
3985
3994
|
}
|
|
3986
3995
|
}
|
|
3987
3996
|
},
|
|
3988
|
-
onClick: () =>
|
|
3997
|
+
onClick: () => M(I),
|
|
3989
3998
|
children: [
|
|
3990
|
-
|
|
3999
|
+
I.icon && /* @__PURE__ */ v(
|
|
3991
4000
|
ee,
|
|
3992
4001
|
{
|
|
3993
4002
|
sx: {
|
|
@@ -4001,8 +4010,8 @@ function Xn({
|
|
|
4001
4010
|
ee,
|
|
4002
4011
|
{
|
|
4003
4012
|
component: "img",
|
|
4004
|
-
src:
|
|
4005
|
-
alt:
|
|
4013
|
+
src: I.icon,
|
|
4014
|
+
alt: I.label || `icon-${I.id}`,
|
|
4006
4015
|
className: "menu-icon-default",
|
|
4007
4016
|
sx: {
|
|
4008
4017
|
display: "block",
|
|
@@ -4014,12 +4023,12 @@ function Xn({
|
|
|
4014
4023
|
}
|
|
4015
4024
|
}
|
|
4016
4025
|
),
|
|
4017
|
-
|
|
4026
|
+
I.iconHover && /* @__PURE__ */ t(
|
|
4018
4027
|
ee,
|
|
4019
4028
|
{
|
|
4020
4029
|
component: "img",
|
|
4021
|
-
src:
|
|
4022
|
-
alt:
|
|
4030
|
+
src: I.iconHover,
|
|
4031
|
+
alt: I.label || `icon-hover-${I.id}`,
|
|
4023
4032
|
className: "menu-icon-hover",
|
|
4024
4033
|
sx: {
|
|
4025
4034
|
display: "none",
|
|
@@ -4044,12 +4053,12 @@ function Xn({
|
|
|
4044
4053
|
color: "#E0E0E0",
|
|
4045
4054
|
textAlign: "center"
|
|
4046
4055
|
},
|
|
4047
|
-
children:
|
|
4056
|
+
children: I.label
|
|
4048
4057
|
}
|
|
4049
4058
|
)
|
|
4050
4059
|
]
|
|
4051
4060
|
},
|
|
4052
|
-
|
|
4061
|
+
I.id
|
|
4053
4062
|
))
|
|
4054
4063
|
}
|
|
4055
4064
|
)
|
|
@@ -4064,14 +4073,15 @@ const Yn = [
|
|
|
4064
4073
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/pagoEfectivo.png", alt: "PagoEfectivo" },
|
|
4065
4074
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/tupay.svg", alt: "Tupay" },
|
|
4066
4075
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/monnet.svg", alt: "Monnet" },
|
|
4067
|
-
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
|
|
4076
|
+
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" },
|
|
4077
|
+
{ src: "assets/img/home/MediosPago/bbva.png", alt: "BBVA" }
|
|
4068
4078
|
];
|
|
4069
4079
|
function Qn({
|
|
4070
4080
|
title: e = "Medios de pago",
|
|
4071
4081
|
items: a = Yn
|
|
4072
4082
|
}) {
|
|
4073
4083
|
const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
|
|
4074
|
-
return /* @__PURE__ */
|
|
4084
|
+
return /* @__PURE__ */ v(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
4075
4085
|
/* @__PURE__ */ t(
|
|
4076
4086
|
st,
|
|
4077
4087
|
{
|
|
@@ -4100,9 +4110,9 @@ function Qn({
|
|
|
4100
4110
|
}
|
|
4101
4111
|
}
|
|
4102
4112
|
),
|
|
4103
|
-
/* @__PURE__ */
|
|
4113
|
+
/* @__PURE__ */ v(Ce, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
|
|
4104
4114
|
/* @__PURE__ */ t(
|
|
4105
|
-
|
|
4115
|
+
Ce,
|
|
4106
4116
|
{
|
|
4107
4117
|
direction: "row",
|
|
4108
4118
|
justifyContent: "center",
|
|
@@ -4113,7 +4123,7 @@ function Qn({
|
|
|
4113
4123
|
}
|
|
4114
4124
|
),
|
|
4115
4125
|
/* @__PURE__ */ t(
|
|
4116
|
-
|
|
4126
|
+
Ce,
|
|
4117
4127
|
{
|
|
4118
4128
|
direction: "row",
|
|
4119
4129
|
justifyContent: "center",
|
|
@@ -4142,8 +4152,8 @@ function It({
|
|
|
4142
4152
|
}),
|
|
4143
4153
|
[a]
|
|
4144
4154
|
);
|
|
4145
|
-
return /* @__PURE__ */
|
|
4146
|
-
/* @__PURE__ */ t(
|
|
4155
|
+
return /* @__PURE__ */ v(Pt, { theme: n, children: [
|
|
4156
|
+
/* @__PURE__ */ t(Lt, {}),
|
|
4147
4157
|
e
|
|
4148
4158
|
] });
|
|
4149
4159
|
}
|
|
@@ -4155,14 +4165,14 @@ function So({
|
|
|
4155
4165
|
return /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: e, moduleId: a, children: n }) });
|
|
4156
4166
|
}
|
|
4157
4167
|
const eo = {
|
|
4158
|
-
OraculoSeccionDestacados:
|
|
4168
|
+
OraculoSeccionDestacados: Xa,
|
|
4159
4169
|
OraculoSeccionTopJuegos: Qa,
|
|
4160
4170
|
OraculoSeccionCasinoEnVivo: un,
|
|
4161
4171
|
OraculoSeccionCasino: fn,
|
|
4162
4172
|
OraculoSeccionVirtuales: vn,
|
|
4163
4173
|
OraculoSeccionClubOlimpo: xn,
|
|
4164
4174
|
OraculoSeccionBonoBienvenida: yn,
|
|
4165
|
-
OraculoSeccionBanners:
|
|
4175
|
+
OraculoSeccionBanners: Jn,
|
|
4166
4176
|
OraculoSeccionMediosPago: Qn,
|
|
4167
4177
|
OraculoSeccionEventoEnVivo: Rn,
|
|
4168
4178
|
OraculoSeccionEventoSemana: Hn,
|
|
@@ -4217,6 +4227,14 @@ const eo = {
|
|
|
4217
4227
|
required: !1,
|
|
4218
4228
|
isImage: !1,
|
|
4219
4229
|
name: "href"
|
|
4230
|
+
},
|
|
4231
|
+
{
|
|
4232
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4233
|
+
isImage: !1,
|
|
4234
|
+
name: "order",
|
|
4235
|
+
required: !1,
|
|
4236
|
+
type: "number",
|
|
4237
|
+
value: 2
|
|
4220
4238
|
}
|
|
4221
4239
|
],
|
|
4222
4240
|
id: "724a1dc0-d55b-4443-a580-cad22e328536"
|
|
@@ -4264,6 +4282,14 @@ const eo = {
|
|
|
4264
4282
|
name: "href",
|
|
4265
4283
|
required: !1,
|
|
4266
4284
|
isImage: !1
|
|
4285
|
+
},
|
|
4286
|
+
{
|
|
4287
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4288
|
+
isImage: !1,
|
|
4289
|
+
name: "order",
|
|
4290
|
+
required: !1,
|
|
4291
|
+
type: "number",
|
|
4292
|
+
value: 1
|
|
4267
4293
|
}
|
|
4268
4294
|
],
|
|
4269
4295
|
id: "ad0df0e2-c8ce-4524-b05a-2a29578aba11"
|
|
@@ -4311,6 +4337,14 @@ const eo = {
|
|
|
4311
4337
|
value: "https://www.olimpo.bet/casino",
|
|
4312
4338
|
id: "26a486fd-31e6-4ed4-ab83-0f9a7bf6adc4",
|
|
4313
4339
|
type: "string"
|
|
4340
|
+
},
|
|
4341
|
+
{
|
|
4342
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4343
|
+
isImage: !1,
|
|
4344
|
+
name: "order",
|
|
4345
|
+
required: !1,
|
|
4346
|
+
type: "number",
|
|
4347
|
+
value: 5
|
|
4314
4348
|
}
|
|
4315
4349
|
],
|
|
4316
4350
|
id: "966bc1fc-0b1a-4a50-a4a2-964262922c3d"
|
|
@@ -4358,6 +4392,14 @@ const eo = {
|
|
|
4358
4392
|
id: "4b72f490-75e4-458e-a4b5-68f0736a25d4",
|
|
4359
4393
|
type: "string",
|
|
4360
4394
|
value: "https://www.olimpo.bet/private/misiones"
|
|
4395
|
+
},
|
|
4396
|
+
{
|
|
4397
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4398
|
+
isImage: !1,
|
|
4399
|
+
name: "order",
|
|
4400
|
+
required: !1,
|
|
4401
|
+
type: "number",
|
|
4402
|
+
value: 3
|
|
4361
4403
|
}
|
|
4362
4404
|
],
|
|
4363
4405
|
id: "31e00ff9-f2dd-4942-bff3-919902fde880"
|
|
@@ -4451,6 +4493,14 @@ const eo = {
|
|
|
4451
4493
|
required: !1,
|
|
4452
4494
|
type: "string",
|
|
4453
4495
|
value: "deposito"
|
|
4496
|
+
},
|
|
4497
|
+
{
|
|
4498
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4499
|
+
isImage: !1,
|
|
4500
|
+
name: "order",
|
|
4501
|
+
required: !1,
|
|
4502
|
+
type: "number",
|
|
4503
|
+
value: 1
|
|
4454
4504
|
}
|
|
4455
4505
|
],
|
|
4456
4506
|
id: "13b35362-5695-4687-b6a8-645f8effd264"
|
|
@@ -4513,6 +4563,14 @@ const eo = {
|
|
|
4513
4563
|
required: !1,
|
|
4514
4564
|
type: "string",
|
|
4515
4565
|
value: ""
|
|
4566
|
+
},
|
|
4567
|
+
{
|
|
4568
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4569
|
+
isImage: !1,
|
|
4570
|
+
name: "order",
|
|
4571
|
+
required: !1,
|
|
4572
|
+
type: "number",
|
|
4573
|
+
value: 2
|
|
4516
4574
|
}
|
|
4517
4575
|
],
|
|
4518
4576
|
id: "024f8130-91e1-4296-b826-cffa32ab1a96"
|
|
@@ -4575,6 +4633,14 @@ const eo = {
|
|
|
4575
4633
|
required: !1,
|
|
4576
4634
|
type: "string",
|
|
4577
4635
|
value: ""
|
|
4636
|
+
},
|
|
4637
|
+
{
|
|
4638
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4639
|
+
isImage: !1,
|
|
4640
|
+
name: "order",
|
|
4641
|
+
required: !1,
|
|
4642
|
+
type: "number",
|
|
4643
|
+
value: 7
|
|
4578
4644
|
}
|
|
4579
4645
|
],
|
|
4580
4646
|
id: "cdfce77c-a814-43f1-911d-3715803252c2"
|
|
@@ -4637,6 +4703,14 @@ const eo = {
|
|
|
4637
4703
|
required: !1,
|
|
4638
4704
|
type: "string",
|
|
4639
4705
|
value: "2026-04-14T12:15"
|
|
4706
|
+
},
|
|
4707
|
+
{
|
|
4708
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4709
|
+
isImage: !1,
|
|
4710
|
+
name: "order",
|
|
4711
|
+
required: !1,
|
|
4712
|
+
type: "number",
|
|
4713
|
+
value: 3
|
|
4640
4714
|
}
|
|
4641
4715
|
],
|
|
4642
4716
|
id: "b3816989-ffeb-4409-bc0a-46310867097c"
|
|
@@ -4699,6 +4773,14 @@ const eo = {
|
|
|
4699
4773
|
required: !1,
|
|
4700
4774
|
type: "string",
|
|
4701
4775
|
value: "2026-04-14T11:50"
|
|
4776
|
+
},
|
|
4777
|
+
{
|
|
4778
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4779
|
+
isImage: !1,
|
|
4780
|
+
name: "order",
|
|
4781
|
+
required: !1,
|
|
4782
|
+
type: "number",
|
|
4783
|
+
value: 4
|
|
4702
4784
|
}
|
|
4703
4785
|
],
|
|
4704
4786
|
id: "2e3e6afd-bbd3-4bbd-b6e7-0eba50e556d4"
|
|
@@ -4758,6 +4840,14 @@ const eo = {
|
|
|
4758
4840
|
required: !1,
|
|
4759
4841
|
type: "string",
|
|
4760
4842
|
value: "2026-04-14T12:15"
|
|
4843
|
+
},
|
|
4844
|
+
{
|
|
4845
|
+
id: "fa9c467f-4f33-4bee-b502-a413d7212321",
|
|
4846
|
+
isImage: !1,
|
|
4847
|
+
name: "order",
|
|
4848
|
+
required: !1,
|
|
4849
|
+
type: "number",
|
|
4850
|
+
value: 5
|
|
4761
4851
|
}
|
|
4762
4852
|
],
|
|
4763
4853
|
id: "706ea8a2-46ae-4fd9-8b42-5879a903a006"
|
|
@@ -5456,7 +5546,7 @@ const eo = {
|
|
|
5456
5546
|
}
|
|
5457
5547
|
]
|
|
5458
5548
|
}, to = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
5459
|
-
function
|
|
5549
|
+
function Ee(e) {
|
|
5460
5550
|
return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
|
|
5461
5551
|
var o, i;
|
|
5462
5552
|
return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
|
|
@@ -5530,42 +5620,42 @@ const it = [
|
|
|
5530
5620
|
loader: r,
|
|
5531
5621
|
disableWrapper: s = !1
|
|
5532
5622
|
}) => {
|
|
5533
|
-
const c = ie(() => oo(i), [i]),
|
|
5534
|
-
() =>
|
|
5623
|
+
const c = ie(() => oo(i), [i]), p = r || c.loader, [g, u] = X([]), [m, d] = X(!1), [f, b] = X({}), [x, _] = X({}), [h, E] = X({}), T = De("(min-width:1024px)"), D = ie(
|
|
5624
|
+
() => Ee(qe),
|
|
5535
5625
|
[]
|
|
5536
5626
|
), y = (l) => D.find(
|
|
5537
5627
|
(S) => S.id === l.id || S.componentKey === l.componentKey
|
|
5538
|
-
), $ = (l) => Array.isArray(l) ? l.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [],
|
|
5628
|
+
), $ = (l) => Array.isArray(l) ? l.map((S) => Number(S)).filter((S) => !Number.isNaN(S)) : [], C = ie(() => {
|
|
5539
5629
|
const l = c.user;
|
|
5540
5630
|
return $(l == null ? void 0 : l.groups);
|
|
5541
5631
|
}, [c]), A = (l) => {
|
|
5542
5632
|
const S = l.manualScalarFields;
|
|
5543
5633
|
if (!Array.isArray(S)) return [];
|
|
5544
|
-
const
|
|
5545
|
-
(
|
|
5634
|
+
const O = S.find(
|
|
5635
|
+
(F) => String((F == null ? void 0 : F.name) || "").trim().toLowerCase() === "groups"
|
|
5546
5636
|
);
|
|
5547
|
-
if (!
|
|
5548
|
-
const
|
|
5549
|
-
if (
|
|
5550
|
-
if (Array.isArray(
|
|
5551
|
-
return
|
|
5552
|
-
const B = String(
|
|
5553
|
-
return B ? B.split(",").map((
|
|
5554
|
-
},
|
|
5555
|
-
const
|
|
5556
|
-
if (
|
|
5637
|
+
if (!O) return [];
|
|
5638
|
+
const N = O.value;
|
|
5639
|
+
if (N == null) return [];
|
|
5640
|
+
if (Array.isArray(N))
|
|
5641
|
+
return N.map((F) => Number(String(F).trim())).filter((F) => !Number.isNaN(F));
|
|
5642
|
+
const B = String(N).trim();
|
|
5643
|
+
return B ? B.split(",").map((F) => Number(F.trim())).filter((F) => !Number.isNaN(F)) : [];
|
|
5644
|
+
}, M = (l, S) => {
|
|
5645
|
+
const O = A(l);
|
|
5646
|
+
if (O.length === 0) return !0;
|
|
5557
5647
|
if (!Array.isArray(S) || S.length === 0) return !1;
|
|
5558
|
-
const
|
|
5559
|
-
return
|
|
5648
|
+
const N = new Set(S);
|
|
5649
|
+
return O.some((B) => N.has(B));
|
|
5560
5650
|
};
|
|
5561
5651
|
Q(() => {
|
|
5562
5652
|
if (e) return;
|
|
5563
5653
|
if (!o) {
|
|
5564
|
-
console.warn("[landing] sin db -> fallback json"), u(
|
|
5654
|
+
console.warn("[landing] sin db -> fallback json"), u(Ee(qe));
|
|
5565
5655
|
return;
|
|
5566
5656
|
}
|
|
5567
|
-
const l = (
|
|
5568
|
-
console.warn("[landing] FALLBACK:",
|
|
5657
|
+
const l = (O, N) => {
|
|
5658
|
+
console.warn("[landing] FALLBACK:", O, N != null ? N : ""), u(Ee(qe)), d(!1);
|
|
5569
5659
|
};
|
|
5570
5660
|
if (process.env.NEXT_PUBLIC_LANDING_FORCE_FALLBACK === "1") {
|
|
5571
5661
|
d(!0), l("forzado por env");
|
|
@@ -5574,33 +5664,33 @@ const it = [
|
|
|
5574
5664
|
d(!0);
|
|
5575
5665
|
const S = Ft(
|
|
5576
5666
|
qt(o, "landings", a),
|
|
5577
|
-
(
|
|
5667
|
+
(O) => {
|
|
5578
5668
|
try {
|
|
5579
|
-
if (!
|
|
5669
|
+
if (!O.exists()) {
|
|
5580
5670
|
l(`doc landings/${a} no existe`);
|
|
5581
5671
|
return;
|
|
5582
5672
|
}
|
|
5583
|
-
const
|
|
5673
|
+
const N = O.data(), B = Ee(N);
|
|
5584
5674
|
if (!B.length) {
|
|
5585
|
-
l("JSON inválido o sin secciones normalizables",
|
|
5675
|
+
l("JSON inválido o sin secciones normalizables", N);
|
|
5586
5676
|
return;
|
|
5587
5677
|
}
|
|
5588
|
-
console.log("[landing] Firestore OK (json grande):",
|
|
5589
|
-
} catch (
|
|
5590
|
-
l("error procesando snapshot",
|
|
5678
|
+
console.log("[landing] Firestore OK (json grande):", N), u(B);
|
|
5679
|
+
} catch (N) {
|
|
5680
|
+
l("error procesando snapshot", N);
|
|
5591
5681
|
} finally {
|
|
5592
5682
|
d(!1);
|
|
5593
5683
|
}
|
|
5594
5684
|
},
|
|
5595
|
-
(
|
|
5596
|
-
l("error onSnapshot",
|
|
5685
|
+
(O) => {
|
|
5686
|
+
l("error onSnapshot", O);
|
|
5597
5687
|
}
|
|
5598
5688
|
);
|
|
5599
5689
|
return () => S();
|
|
5600
|
-
}, [e, a, o]), Q(() => (
|
|
5601
|
-
(e ? e.slice() :
|
|
5602
|
-
}, [e,
|
|
5603
|
-
const
|
|
5690
|
+
}, [e, a, o]), Q(() => (Ja(c), () => Ya()), [c]), Q(() => {
|
|
5691
|
+
(e ? e.slice() : g.slice()).map((O) => O.componentKey).filter((O) => !!O).length;
|
|
5692
|
+
}, [e, g]);
|
|
5693
|
+
const w = async (l) => {
|
|
5604
5694
|
if (it.includes(l.componentKey))
|
|
5605
5695
|
return {
|
|
5606
5696
|
items: [],
|
|
@@ -5609,183 +5699,183 @@ const it = [
|
|
|
5609
5699
|
};
|
|
5610
5700
|
const S = (l.apiUrl || "").trim();
|
|
5611
5701
|
if (!S) return;
|
|
5612
|
-
const
|
|
5613
|
-
let B = S,
|
|
5614
|
-
if (
|
|
5702
|
+
const O = l.apiMethod || "GET", N = l.apiParams || [];
|
|
5703
|
+
let B = S, F, Z;
|
|
5704
|
+
if (O === "GET") {
|
|
5615
5705
|
const re = new URL(
|
|
5616
5706
|
S,
|
|
5617
5707
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
5618
5708
|
);
|
|
5619
|
-
for (const oe of
|
|
5709
|
+
for (const oe of N)
|
|
5620
5710
|
oe.key && re.searchParams.append(oe.key, oe.value);
|
|
5621
5711
|
B = re.toString();
|
|
5622
5712
|
} else {
|
|
5623
5713
|
const re = new URLSearchParams();
|
|
5624
|
-
for (const oe of
|
|
5714
|
+
for (const oe of N)
|
|
5625
5715
|
oe.key && re.append(oe.key, oe.value);
|
|
5626
|
-
|
|
5716
|
+
F = re.toString(), Z = {
|
|
5627
5717
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
5628
5718
|
};
|
|
5629
5719
|
}
|
|
5630
5720
|
const te = await fetch(B, {
|
|
5631
|
-
method:
|
|
5632
|
-
headers:
|
|
5633
|
-
body:
|
|
5721
|
+
method: O,
|
|
5722
|
+
headers: Z,
|
|
5723
|
+
body: F
|
|
5634
5724
|
});
|
|
5635
5725
|
if (!te.ok) throw new ot(te.status, B, te.statusText);
|
|
5636
5726
|
return te.json();
|
|
5637
|
-
},
|
|
5638
|
-
() => e ? e.slice() :
|
|
5639
|
-
[e,
|
|
5640
|
-
),
|
|
5727
|
+
}, k = ie(
|
|
5728
|
+
() => e ? e.slice() : g.slice(),
|
|
5729
|
+
[e, g]
|
|
5730
|
+
), P = fe.useRef(/* @__PURE__ */ new Set());
|
|
5641
5731
|
Q(() => {
|
|
5642
|
-
const l =
|
|
5732
|
+
const l = k.map((S) => ({ s: S, url: (S.apiUrl || "").trim() })).filter(({ url: S }) => !!S);
|
|
5643
5733
|
if (l.length)
|
|
5644
|
-
for (const { s: S, url:
|
|
5645
|
-
const
|
|
5646
|
-
|
|
5734
|
+
for (const { s: S, url: O } of l) {
|
|
5735
|
+
const N = `${S.id}|${O}`;
|
|
5736
|
+
P.current.has(N) || (P.current.add(N), _((B) => ({ ...B, [S.id]: !0 })), E((B) => ({ ...B, [S.id]: "" })), (async () => {
|
|
5647
5737
|
try {
|
|
5648
|
-
const B = await
|
|
5649
|
-
|
|
5738
|
+
const B = await w(S);
|
|
5739
|
+
b((F) => ({ ...F, [S.id]: B }));
|
|
5650
5740
|
} catch (B) {
|
|
5651
|
-
let
|
|
5652
|
-
B instanceof ot ?
|
|
5741
|
+
let F = "Error desconocido";
|
|
5742
|
+
B instanceof ot ? F = `Error HTTP ${B.status} (${B.statusText}) en ${B.url}` : B instanceof SyntaxError ? F = "Respuesta no es JSON válido" : B instanceof TypeError ? F = "Fallo de red / CORS / conexión" : typeof B == "string" && (F = B.toString()), E((Z) => ({ ...Z, [S.id]: F }));
|
|
5653
5743
|
} finally {
|
|
5654
|
-
|
|
5744
|
+
_((B) => ({ ...B, [S.id]: !1 }));
|
|
5655
5745
|
}
|
|
5656
5746
|
})());
|
|
5657
5747
|
}
|
|
5658
|
-
}, [
|
|
5748
|
+
}, [k]);
|
|
5659
5749
|
const z = ie(
|
|
5660
|
-
() =>
|
|
5661
|
-
[
|
|
5750
|
+
() => k.filter((l) => l.visible).filter((l) => M(l, C)).sort((l, S) => l.order - S.order),
|
|
5751
|
+
[k, C]
|
|
5662
5752
|
), R = (l) => Array.isArray(l) ? l.map((S) => {
|
|
5663
|
-
const
|
|
5664
|
-
for (const
|
|
5665
|
-
const B = (
|
|
5753
|
+
const O = {};
|
|
5754
|
+
for (const N of S.fields || []) {
|
|
5755
|
+
const B = (N.type || "string").toLowerCase();
|
|
5666
5756
|
if (B === "number") {
|
|
5667
|
-
const
|
|
5668
|
-
if (
|
|
5669
|
-
const
|
|
5670
|
-
Number.isNaN(
|
|
5757
|
+
const F = String(N.value || "").trim();
|
|
5758
|
+
if (F !== "") {
|
|
5759
|
+
const Z = Number(F);
|
|
5760
|
+
Number.isNaN(Z) || (O[N.name] = Z);
|
|
5671
5761
|
}
|
|
5672
5762
|
} else if (B === "boolean")
|
|
5673
|
-
|
|
5763
|
+
O[N.name] = String(N.value).toLowerCase() === "true";
|
|
5674
5764
|
else if (B === "function") {
|
|
5675
|
-
const
|
|
5676
|
-
if (
|
|
5765
|
+
const F = String(N.value || "").trim();
|
|
5766
|
+
if (F)
|
|
5677
5767
|
try {
|
|
5678
|
-
const
|
|
5679
|
-
|
|
5680
|
-
} catch (
|
|
5681
|
-
console.error(`❌ Error creando función en item '${
|
|
5768
|
+
const Z = new Function(F);
|
|
5769
|
+
O[N.name] = Z;
|
|
5770
|
+
} catch (Z) {
|
|
5771
|
+
console.error(`❌ Error creando función en item '${N.name}':`, Z);
|
|
5682
5772
|
}
|
|
5683
5773
|
} else
|
|
5684
|
-
|
|
5774
|
+
O[N.name] = N.value;
|
|
5685
5775
|
}
|
|
5686
|
-
return
|
|
5776
|
+
return O;
|
|
5687
5777
|
}) : [], U = (l) => {
|
|
5688
5778
|
const S = {};
|
|
5689
5779
|
if (!Array.isArray(l)) return S;
|
|
5690
|
-
for (const
|
|
5691
|
-
if (!
|
|
5692
|
-
const
|
|
5693
|
-
if (
|
|
5694
|
-
const B = String(
|
|
5780
|
+
for (const O of l) {
|
|
5781
|
+
if (!O.name) continue;
|
|
5782
|
+
const N = (O.type || "string").toLowerCase();
|
|
5783
|
+
if (N === "number") {
|
|
5784
|
+
const B = String(O.value || "").trim();
|
|
5695
5785
|
if (B !== "") {
|
|
5696
|
-
const
|
|
5697
|
-
Number.isNaN(
|
|
5786
|
+
const F = Number(B);
|
|
5787
|
+
Number.isNaN(F) || (S[O.name] = F);
|
|
5698
5788
|
}
|
|
5699
|
-
} else if (
|
|
5700
|
-
S[
|
|
5701
|
-
else if (
|
|
5702
|
-
const B = String(
|
|
5789
|
+
} else if (N === "boolean")
|
|
5790
|
+
S[O.name] = String(O.value).toLowerCase() === "true";
|
|
5791
|
+
else if (N === "function") {
|
|
5792
|
+
const B = String(O.value || "").trim();
|
|
5703
5793
|
if (B)
|
|
5704
5794
|
try {
|
|
5705
|
-
const
|
|
5706
|
-
S[
|
|
5707
|
-
} catch (
|
|
5708
|
-
console.error(`❌ Error creando función en item '${
|
|
5795
|
+
const F = new Function(B);
|
|
5796
|
+
S[O.name] = F;
|
|
5797
|
+
} catch (F) {
|
|
5798
|
+
console.error(`❌ Error creando función en item '${O.name}':`, F);
|
|
5709
5799
|
}
|
|
5710
5800
|
} else
|
|
5711
|
-
S[
|
|
5801
|
+
S[O.name] = O.value;
|
|
5712
5802
|
}
|
|
5713
5803
|
return S;
|
|
5714
|
-
}, W = (l, S,
|
|
5715
|
-
const B =
|
|
5804
|
+
}, W = (l, S, O, N) => {
|
|
5805
|
+
const B = O ? { ...O } : {}, F = (N || "items").trim() || "items";
|
|
5716
5806
|
if (S)
|
|
5717
|
-
return B[
|
|
5718
|
-
const
|
|
5719
|
-
if (Array.isArray(
|
|
5720
|
-
return B[
|
|
5721
|
-
if (
|
|
5722
|
-
const te =
|
|
5723
|
-
return Array.isArray(te.lobby) ? (B[
|
|
5807
|
+
return B[F] = S.arr || [], B;
|
|
5808
|
+
const Z = l;
|
|
5809
|
+
if (Array.isArray(Z))
|
|
5810
|
+
return B[F] = Z, B;
|
|
5811
|
+
if (Z && typeof Z == "object") {
|
|
5812
|
+
const te = Z;
|
|
5813
|
+
return Array.isArray(te.lobby) ? (B[F] = te.lobby, B) : Array.isArray(te.items) ? (B[F] = te.items, B) : (B[F] = Z, B);
|
|
5724
5814
|
}
|
|
5725
|
-
return B[
|
|
5815
|
+
return B[F] = [], B;
|
|
5726
5816
|
}, G = (l) => {
|
|
5727
|
-
var
|
|
5728
|
-
const S = !!((
|
|
5729
|
-
let
|
|
5817
|
+
var F;
|
|
5818
|
+
const S = !!((F = l.apiUrl) != null && F.trim()), O = S ? f[l.id] : void 0;
|
|
5819
|
+
let N = l.props ? { ...l.props } : {};
|
|
5730
5820
|
const B = U(l.manualScalarFields);
|
|
5731
5821
|
if (it.includes(l.componentKey))
|
|
5732
|
-
return { items:
|
|
5733
|
-
if (
|
|
5734
|
-
|
|
5822
|
+
return { items: O, ...N, ...B };
|
|
5823
|
+
if (N = { ...N, ...B }, S)
|
|
5824
|
+
N = W(O, null, N);
|
|
5735
5825
|
else if (l.dataMode === "manual") {
|
|
5736
|
-
const
|
|
5737
|
-
if (
|
|
5826
|
+
const Z = R(l.manualItems);
|
|
5827
|
+
if (N = W(
|
|
5738
5828
|
null,
|
|
5739
|
-
{ arr:
|
|
5740
|
-
|
|
5829
|
+
{ arr: Z, variableName: l.variableName },
|
|
5830
|
+
N,
|
|
5741
5831
|
l.variableName
|
|
5742
5832
|
), l.variableName2 && l.manualItems2) {
|
|
5743
5833
|
const te = R(l.manualItems2), re = (l.variableName2 || "items2").trim() || "items2";
|
|
5744
|
-
|
|
5834
|
+
N[re] = te;
|
|
5745
5835
|
}
|
|
5746
5836
|
}
|
|
5747
|
-
return
|
|
5748
|
-
},
|
|
5837
|
+
return N;
|
|
5838
|
+
}, J = (l) => {
|
|
5749
5839
|
const S = l.props ? { ...l.props } : {};
|
|
5750
5840
|
try {
|
|
5751
5841
|
Object.assign(S, U(l.manualScalarFields));
|
|
5752
|
-
} catch (
|
|
5753
|
-
console.error("❌ Error armando scalars vacíos:", l,
|
|
5842
|
+
} catch (N) {
|
|
5843
|
+
console.error("❌ Error armando scalars vacíos:", l, N);
|
|
5754
5844
|
}
|
|
5755
|
-
const
|
|
5756
|
-
if (typeof S[
|
|
5757
|
-
const
|
|
5758
|
-
typeof S[
|
|
5845
|
+
const O = (l.variableName || "items").trim() || "items";
|
|
5846
|
+
if (typeof S[O] == "undefined" && (S[O] = []), l.variableName2) {
|
|
5847
|
+
const N = (l.variableName2 || "items2").trim() || "items2";
|
|
5848
|
+
typeof S[N] == "undefined" && (S[N] = []);
|
|
5759
5849
|
}
|
|
5760
5850
|
return S;
|
|
5761
|
-
},
|
|
5851
|
+
}, I = (l) => {
|
|
5762
5852
|
try {
|
|
5763
5853
|
return G(l);
|
|
5764
5854
|
} catch (S) {
|
|
5765
5855
|
console.error("🔥 ERROR EN buildCompProps:", l, S);
|
|
5766
|
-
const
|
|
5767
|
-
if (
|
|
5856
|
+
const O = y(l);
|
|
5857
|
+
if (O && O !== l)
|
|
5768
5858
|
try {
|
|
5769
5859
|
return console.warn(
|
|
5770
5860
|
`[landing] usando fallback local para sección ${l.title} (${l.componentKey})`
|
|
5771
|
-
), G(
|
|
5772
|
-
} catch (
|
|
5773
|
-
console.error("🔥 ERROR EN fallback buildCompProps:",
|
|
5861
|
+
), G(O);
|
|
5862
|
+
} catch (N) {
|
|
5863
|
+
console.error("🔥 ERROR EN fallback buildCompProps:", O, N);
|
|
5774
5864
|
}
|
|
5775
|
-
return
|
|
5865
|
+
return J(l);
|
|
5776
5866
|
}
|
|
5777
|
-
},
|
|
5867
|
+
}, L = (l, S, O) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
|
|
5778
5868
|
loading: "bg-blue-100 text-blue-800",
|
|
5779
5869
|
error: "bg-red-100 text-red-800",
|
|
5780
5870
|
component: "bg-yellow-100 text-yellow-800"
|
|
5781
|
-
}[S]}`, children:
|
|
5871
|
+
}[S]}`, children: O }, l), K = (l) => {
|
|
5782
5872
|
var He;
|
|
5783
|
-
const S = l.componentKey,
|
|
5873
|
+
const S = l.componentKey, O = no[S], B = (/* @__PURE__ */ new Set([
|
|
5784
5874
|
"OraculoSeccionBanners",
|
|
5785
5875
|
"OraculoSeccionBonoBienvenida",
|
|
5786
5876
|
"OraculoSeccionCasinoEnVivo",
|
|
5787
5877
|
"OraculoSeccionClubOlimpo",
|
|
5788
|
-
...
|
|
5878
|
+
...T ? [] : [
|
|
5789
5879
|
"OraculoSeccionEventoEnVivo",
|
|
5790
5880
|
"OraculoSeccionEventoSemana",
|
|
5791
5881
|
"OraculoSeccionEventoCombinadas",
|
|
@@ -5793,25 +5883,25 @@ const it = [
|
|
|
5793
5883
|
"OraculoSeccionDestacados",
|
|
5794
5884
|
"OraculoSeccionCasino"
|
|
5795
5885
|
]
|
|
5796
|
-
])).has(l.componentKey),
|
|
5886
|
+
])).has(l.componentKey), F = T ? 120 : 24, Z = (T ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", re = {
|
|
5797
5887
|
width: "100%",
|
|
5798
5888
|
boxSizing: "border-box",
|
|
5799
|
-
...B ? {} : { paddingLeft:
|
|
5889
|
+
...B ? {} : { paddingLeft: F, paddingRight: F },
|
|
5800
5890
|
...te ? {
|
|
5801
|
-
marginTop: -
|
|
5802
|
-
marginBottom: -
|
|
5891
|
+
marginTop: -Z,
|
|
5892
|
+
marginBottom: -Z
|
|
5803
5893
|
} : {}
|
|
5804
5894
|
};
|
|
5805
|
-
if (!
|
|
5806
|
-
return console.warn(`No hay componente registrado para "${S}"`),
|
|
5895
|
+
if (!O)
|
|
5896
|
+
return console.warn(`No hay componente registrado para "${S}"`), L(
|
|
5807
5897
|
l.id,
|
|
5808
5898
|
"component",
|
|
5809
5899
|
`Componente "${S}" no encontrado`
|
|
5810
5900
|
);
|
|
5811
|
-
const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ?
|
|
5901
|
+
const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0, Et = oe ? !!x[l.id] : !1, Ge = oe ? h[l.id] : "";
|
|
5812
5902
|
if (oe) {
|
|
5813
|
-
if (
|
|
5814
|
-
return
|
|
5903
|
+
if (Et && !We)
|
|
5904
|
+
return L(
|
|
5815
5905
|
l.id,
|
|
5816
5906
|
"loading",
|
|
5817
5907
|
`Cargando datos desde ${l.apiUrl}...`
|
|
@@ -5820,8 +5910,8 @@ const it = [
|
|
|
5820
5910
|
const we = y(l);
|
|
5821
5911
|
if (we && we.dataMode === "manual")
|
|
5822
5912
|
try {
|
|
5823
|
-
const Re =
|
|
5824
|
-
return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(
|
|
5913
|
+
const Re = I(we);
|
|
5914
|
+
return /* @__PURE__ */ t("div", { style: re, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(O, { ...Re }) }, l.id);
|
|
5825
5915
|
} catch (Re) {
|
|
5826
5916
|
console.error(
|
|
5827
5917
|
"🔥 ERROR renderizando fallback manual de sección:",
|
|
@@ -5829,14 +5919,14 @@ const it = [
|
|
|
5829
5919
|
Re
|
|
5830
5920
|
);
|
|
5831
5921
|
}
|
|
5832
|
-
return
|
|
5922
|
+
return L(
|
|
5833
5923
|
l.id,
|
|
5834
5924
|
"error",
|
|
5835
5925
|
`Error cargando ${l.apiUrl}: ${Ge}`
|
|
5836
5926
|
);
|
|
5837
5927
|
}
|
|
5838
5928
|
}
|
|
5839
|
-
const je =
|
|
5929
|
+
const je = I(l), Ct = l.componentKey === "OraculoSeccionClubOlimpo" ? {
|
|
5840
5930
|
...je,
|
|
5841
5931
|
user: c.user
|
|
5842
5932
|
} : je;
|
|
@@ -5845,13 +5935,13 @@ const it = [
|
|
|
5845
5935
|
{
|
|
5846
5936
|
style: re,
|
|
5847
5937
|
className: "oraculo-section-wrapper",
|
|
5848
|
-
children: /* @__PURE__ */ t(
|
|
5938
|
+
children: /* @__PURE__ */ t(O, { ...Ct })
|
|
5849
5939
|
},
|
|
5850
5940
|
l.id
|
|
5851
5941
|
) });
|
|
5852
5942
|
};
|
|
5853
|
-
return m && !e ?
|
|
5854
|
-
|
|
5943
|
+
return m && !e ? p ? /* @__PURE__ */ t(p, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !m && !e && g.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(It, { children: /* @__PURE__ */ t(bt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
|
|
5944
|
+
Ot,
|
|
5855
5945
|
{
|
|
5856
5946
|
className: "oli-font",
|
|
5857
5947
|
maxWidth: !1,
|
|
@@ -5864,9 +5954,9 @@ const it = [
|
|
|
5864
5954
|
maxWidth: "100%",
|
|
5865
5955
|
overflowX: "hidden"
|
|
5866
5956
|
},
|
|
5867
|
-
children: /* @__PURE__ */ t(
|
|
5957
|
+
children: /* @__PURE__ */ t(Ce, { direction: "column", spacing: T ? 8 : 5, useFlexGap: !0, children: z.map((l) => {
|
|
5868
5958
|
try {
|
|
5869
|
-
return
|
|
5959
|
+
return K(l);
|
|
5870
5960
|
} catch (S) {
|
|
5871
5961
|
return console.error("🔥 ERROR EN SECTION:", l, S), null;
|
|
5872
5962
|
}
|
|
@@ -5876,7 +5966,7 @@ const it = [
|
|
|
5876
5966
|
};
|
|
5877
5967
|
export {
|
|
5878
5968
|
bt as DocIdProvider,
|
|
5879
|
-
|
|
5969
|
+
Y as OraculoButton,
|
|
5880
5970
|
he as OraculoCarousel,
|
|
5881
5971
|
dt as OraculoCarouselDots,
|
|
5882
5972
|
Sa as OraculoClubOlimpoVisual,
|
|
@@ -5889,7 +5979,7 @@ export {
|
|
|
5889
5979
|
Za as OraculoEventSemanaCard,
|
|
5890
5980
|
jt as OraculoEventStatus,
|
|
5891
5981
|
Gt as OraculoEventStatusBadge,
|
|
5892
|
-
|
|
5982
|
+
$e as OraculoEventTeamInfo,
|
|
5893
5983
|
Te as OraculoGameCard,
|
|
5894
5984
|
xa as OraculoGameRankCard,
|
|
5895
5985
|
ft as OraculoGameSlide,
|
|
@@ -5897,12 +5987,12 @@ export {
|
|
|
5897
5987
|
wa as OraculoLiveCasinoCard,
|
|
5898
5988
|
Ze as OraculoLogoMediosPago,
|
|
5899
5989
|
Io as OraculoPageLandingPreview,
|
|
5900
|
-
|
|
5990
|
+
Jn as OraculoSeccionBanners,
|
|
5901
5991
|
yn as OraculoSeccionBonoBienvenida,
|
|
5902
5992
|
fn as OraculoSeccionCasino,
|
|
5903
5993
|
un as OraculoSeccionCasinoEnVivo,
|
|
5904
5994
|
xn as OraculoSeccionClubOlimpo,
|
|
5905
|
-
|
|
5995
|
+
Xa as OraculoSeccionDestacados,
|
|
5906
5996
|
Tn as OraculoSeccionEventoCombinadas,
|
|
5907
5997
|
Rn as OraculoSeccionEventoEnVivo,
|
|
5908
5998
|
Hn as OraculoSeccionEventoSemana,
|
|
@@ -5913,7 +6003,7 @@ export {
|
|
|
5913
6003
|
ge as OraculoSectionTitle,
|
|
5914
6004
|
It as OraculoThemeProvider,
|
|
5915
6005
|
Qa as OraculoTopJuegoItem,
|
|
5916
|
-
|
|
6006
|
+
Xe as OraculoWelcomeBanner,
|
|
5917
6007
|
Io as default
|
|
5918
6008
|
};
|
|
5919
6009
|
//# sourceMappingURL=index.es.js.map
|