oraculo-ui 0.2.29 → 0.2.31
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.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +563 -563
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as t, jsxs as y, Fragment as pe } from "react/jsx-runtime";
|
|
2
|
-
import { Link as it, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as
|
|
2
|
+
import { Link as it, Box as ee, useMediaQuery as De, IconButton as Ke, Typography as st, Stack as Ee, Container as Ct } from "@mui/material";
|
|
3
3
|
import fe, { useState as X, useEffect as Q, useRef as V, forwardRef as Tt, useImperativeHandle as kt, useCallback as Ce, createContext as Nt, useContext as $t, useMemo as re, useLayoutEffect as Mt } from "react";
|
|
4
4
|
import j from "@mui/material/Skeleton";
|
|
5
5
|
import { Splide as Bt, SplideSlide as At } from "@splidejs/react-splide";
|
|
6
|
-
import
|
|
6
|
+
import P from "@mui/material/Box";
|
|
7
7
|
import ue from "@mui/material/Typography";
|
|
8
8
|
import H from "@mui/material/Stack";
|
|
9
9
|
import { useCaptureInteraction as ae } from "@olimpo/capture-client";
|
|
10
|
-
import { ChevronLeftRounded as Ae, ChevronRightRounded as
|
|
10
|
+
import { ChevronLeftRounded as Ae, ChevronRightRounded as Re } from "@mui/icons-material";
|
|
11
11
|
import xe from "@mui/material/useMediaQuery";
|
|
12
12
|
import lt from "@mui/icons-material/ChevronLeftRounded";
|
|
13
13
|
import ct from "@mui/icons-material/ChevronRightRounded";
|
|
14
|
-
import { useTheme as
|
|
15
|
-
import
|
|
16
|
-
import { onSnapshot as
|
|
14
|
+
import { useTheme as Rt, createTheme as Lt, ThemeProvider as Ft } from "@mui/material/styles";
|
|
15
|
+
import qt from "@mui/material/CssBaseline";
|
|
16
|
+
import { onSnapshot as zt, doc as Pt } from "firebase/firestore";
|
|
17
17
|
function Y({
|
|
18
18
|
children: e,
|
|
19
19
|
onClick: a,
|
|
@@ -30,21 +30,21 @@ function Y({
|
|
|
30
30
|
ariaLabel: d,
|
|
31
31
|
leftIcon: f,
|
|
32
32
|
rightIcon: v,
|
|
33
|
-
iconOnly:
|
|
33
|
+
iconOnly: w
|
|
34
34
|
}) {
|
|
35
|
-
const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1,
|
|
35
|
+
const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, q = w != null ? w : $ && !x, _ = [
|
|
36
36
|
"orc-btn",
|
|
37
37
|
c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
38
38
|
p ? `orc-btn--${p}` : "",
|
|
39
39
|
h ? "orc-btn--full" : "",
|
|
40
40
|
u ? "orc-btn--fullHeight" : "",
|
|
41
|
-
|
|
41
|
+
q ? "orc-btn--iconOnly" : "",
|
|
42
42
|
m
|
|
43
43
|
].filter(Boolean).join(" "), N = /* @__PURE__ */ y(pe, { children: [
|
|
44
44
|
f && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: f }),
|
|
45
|
-
!
|
|
45
|
+
!q && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
|
|
46
46
|
v && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: v })
|
|
47
|
-
] }),
|
|
47
|
+
] }), z = s ? !0 : void 0;
|
|
48
48
|
return n ? /* @__PURE__ */ t(
|
|
49
49
|
it,
|
|
50
50
|
{
|
|
@@ -52,10 +52,10 @@ function Y({
|
|
|
52
52
|
target: o,
|
|
53
53
|
rel: r,
|
|
54
54
|
"aria-label": d,
|
|
55
|
-
"aria-disabled":
|
|
56
|
-
tabIndex:
|
|
55
|
+
"aria-disabled": z,
|
|
56
|
+
tabIndex: z ? -1 : void 0,
|
|
57
57
|
className: _,
|
|
58
|
-
onClick:
|
|
58
|
+
onClick: z ? (D) => D.preventDefault() : a,
|
|
59
59
|
children: N
|
|
60
60
|
}
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
@@ -63,7 +63,7 @@ function Y({
|
|
|
63
63
|
{
|
|
64
64
|
type: i,
|
|
65
65
|
onClick: a,
|
|
66
|
-
disabled: !!
|
|
66
|
+
disabled: !!z,
|
|
67
67
|
"aria-label": d,
|
|
68
68
|
className: _,
|
|
69
69
|
children: N
|
|
@@ -178,7 +178,7 @@ 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", Fe = {
|
|
182
182
|
contenedor: Dt,
|
|
183
183
|
flexGroup: Ut,
|
|
184
184
|
subtitle: Vt
|
|
@@ -187,7 +187,7 @@ function Wt({ title: e, subtitle: a }) {
|
|
|
187
187
|
return /* @__PURE__ */ y(
|
|
188
188
|
"div",
|
|
189
189
|
{
|
|
190
|
-
className:
|
|
190
|
+
className: Fe.contenedor,
|
|
191
191
|
children: [
|
|
192
192
|
/* @__PURE__ */ t(
|
|
193
193
|
"span",
|
|
@@ -203,14 +203,14 @@ function Wt({ title: e, subtitle: a }) {
|
|
|
203
203
|
a && /* @__PURE__ */ y(
|
|
204
204
|
"div",
|
|
205
205
|
{
|
|
206
|
-
className:
|
|
206
|
+
className: Fe.flexGroup,
|
|
207
207
|
children: [
|
|
208
208
|
/* @__PURE__ */ y("svg", { width: "4", height: "4", viewBox: "0 0 5 5", xmlns: "http://www.w3.org/2000/svg", style: { flexShrink: 0 }, children: [
|
|
209
209
|
" ",
|
|
210
210
|
/* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
|
|
211
211
|
" "
|
|
212
212
|
] }),
|
|
213
|
-
/* @__PURE__ */ t("span", { className:
|
|
213
|
+
/* @__PURE__ */ t("span", { className: Fe.subtitle, children: a }),
|
|
214
214
|
/* @__PURE__ */ t("div", {})
|
|
215
215
|
]
|
|
216
216
|
}
|
|
@@ -301,7 +301,7 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
|
|
|
301
301
|
logo: ia,
|
|
302
302
|
name: sa,
|
|
303
303
|
skeleton: la
|
|
304
|
-
}, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7",
|
|
304
|
+
}, ca = "oraculo__OraculoTeamPolo-module__polo___BisRg", da = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", ua = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", ma = "oraculo__OraculoTeamPolo-module__highlight___1etm7", we = {
|
|
305
305
|
polo: ca,
|
|
306
306
|
svgWrapper: da,
|
|
307
307
|
shadow: ua,
|
|
@@ -309,8 +309,8 @@ const na = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", oa = "oraculo__
|
|
|
309
309
|
};
|
|
310
310
|
function pa({ jersey: e, className: a }) {
|
|
311
311
|
const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, r = e.stripes ? `#${e.stripes}` : null, i = e.sleevelong ? `#${e.sleevelong}` : null;
|
|
312
|
-
return /* @__PURE__ */ y("div", { className: `${
|
|
313
|
-
/* @__PURE__ */ t("div", { className:
|
|
312
|
+
return /* @__PURE__ */ y("div", { className: `${we.polo} ${a != null ? a : ""}`, children: [
|
|
313
|
+
/* @__PURE__ */ t("div", { className: we.svgWrapper, children: /* @__PURE__ */ y("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
|
|
314
314
|
/* @__PURE__ */ t(
|
|
315
315
|
"path",
|
|
316
316
|
{
|
|
@@ -350,7 +350,7 @@ function pa({ jersey: e, className: a }) {
|
|
|
350
350
|
"img",
|
|
351
351
|
{
|
|
352
352
|
src: "https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",
|
|
353
|
-
className:
|
|
353
|
+
className: we.shadow,
|
|
354
354
|
alt: "",
|
|
355
355
|
"aria-hidden": !0
|
|
356
356
|
}
|
|
@@ -359,7 +359,7 @@ function pa({ jersey: e, className: a }) {
|
|
|
359
359
|
"img",
|
|
360
360
|
{
|
|
361
361
|
src: "https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png",
|
|
362
|
-
className:
|
|
362
|
+
className: we.highlight,
|
|
363
363
|
alt: "",
|
|
364
364
|
"aria-hidden": !0
|
|
365
365
|
}
|
|
@@ -423,95 +423,95 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
423
423
|
enableHorizontalWheel: h = !0,
|
|
424
424
|
showRightGradient: u = !1
|
|
425
425
|
}, m) => {
|
|
426
|
-
const d = V(null), f = V(null), v = V(e.length),
|
|
426
|
+
const d = V(null), f = V(null), v = V(e.length), w = V(null), x = V(null), g = V("user");
|
|
427
427
|
fa(f, d, {
|
|
428
428
|
enabled: h
|
|
429
429
|
}), kt(m, () => ({
|
|
430
430
|
next: () => {
|
|
431
|
-
var
|
|
432
|
-
return (
|
|
431
|
+
var E;
|
|
432
|
+
return (E = d.current) == null ? void 0 : E.go(">");
|
|
433
433
|
},
|
|
434
434
|
prev: () => {
|
|
435
|
-
var
|
|
436
|
-
return (
|
|
435
|
+
var E;
|
|
436
|
+
return (E = d.current) == null ? void 0 : E.go("<");
|
|
437
437
|
},
|
|
438
|
-
go: (
|
|
438
|
+
go: (E) => {
|
|
439
439
|
var b;
|
|
440
|
-
return (b = d.current) == null ? void 0 : b.go(
|
|
440
|
+
return (b = d.current) == null ? void 0 : b.go(E);
|
|
441
441
|
}
|
|
442
442
|
}));
|
|
443
|
-
const C = (
|
|
443
|
+
const C = (E) => {
|
|
444
444
|
var K;
|
|
445
|
-
const b =
|
|
445
|
+
const b = E.Components.Slides, O = E.Components.Controller, L = E.root.querySelector(".splide__track"), B = (K = L == null ? void 0 : L.clientWidth) != null ? K : 0, A = O.getIndex(), U = b.getLength();
|
|
446
446
|
let W = 0, G = A;
|
|
447
|
-
for (let
|
|
448
|
-
const
|
|
449
|
-
if (!
|
|
450
|
-
G =
|
|
447
|
+
for (let S = A; S < U; S++) {
|
|
448
|
+
const R = b.getAt(S);
|
|
449
|
+
if (!R || (W += R.slide.offsetWidth, W > B)) break;
|
|
450
|
+
G = S;
|
|
451
451
|
}
|
|
452
452
|
return { visibleStart: A, visibleEnd: G };
|
|
453
|
-
}, $ = (
|
|
454
|
-
const b =
|
|
455
|
-
return !b || !
|
|
456
|
-
},
|
|
457
|
-
var K,
|
|
458
|
-
if (
|
|
459
|
-
const
|
|
460
|
-
if (g.current = "user", !$(
|
|
453
|
+
}, $ = (E) => {
|
|
454
|
+
const b = E.root.querySelector(".splide__track"), O = E.root.querySelector(".splide__list");
|
|
455
|
+
return !b || !O ? !1 : O.scrollWidth > b.clientWidth + 1;
|
|
456
|
+
}, q = V(!1), _ = Ce((E) => {
|
|
457
|
+
var K, S;
|
|
458
|
+
if (q.current) return;
|
|
459
|
+
const O = E.Components.Slides.getLength(), L = g.current;
|
|
460
|
+
if (g.current = "user", !$(E)) {
|
|
461
461
|
c == null || c({
|
|
462
462
|
index: 0,
|
|
463
463
|
isStart: !0,
|
|
464
464
|
isEnd: !0,
|
|
465
|
-
total:
|
|
465
|
+
total: O,
|
|
466
466
|
visibleStart: 0,
|
|
467
|
-
visibleEnd:
|
|
468
|
-
source:
|
|
467
|
+
visibleEnd: O - 1,
|
|
468
|
+
source: L
|
|
469
469
|
});
|
|
470
470
|
return;
|
|
471
471
|
}
|
|
472
|
-
const { visibleStart: B, visibleEnd: A } = C(
|
|
473
|
-
u && ((K =
|
|
474
|
-
const G =
|
|
472
|
+
const { visibleStart: B, visibleEnd: A } = C(E), U = B === 0, W = A === O - 1;
|
|
473
|
+
u && ((K = w.current) == null || K.style.setProperty("--gradient-opacity", U ? "0" : "1"), (S = x.current) == null || S.style.setProperty("--gradient-opacity", W ? "0" : "1"));
|
|
474
|
+
const G = E.Components.Controller.getIndex();
|
|
475
475
|
c == null || c({
|
|
476
476
|
index: G,
|
|
477
477
|
isStart: U,
|
|
478
478
|
isEnd: W,
|
|
479
|
-
total:
|
|
479
|
+
total: O,
|
|
480
480
|
visibleStart: B,
|
|
481
481
|
visibleEnd: A,
|
|
482
|
-
source:
|
|
482
|
+
source: L
|
|
483
483
|
});
|
|
484
484
|
}, [c]);
|
|
485
485
|
fe.useEffect(() => {
|
|
486
|
-
var
|
|
487
|
-
const
|
|
488
|
-
if (!
|
|
486
|
+
var O;
|
|
487
|
+
const E = (O = d.current) == null ? void 0 : O.splide;
|
|
488
|
+
if (!E) return;
|
|
489
489
|
const b = v.current !== e.length;
|
|
490
490
|
v.current = e.length, b && requestAnimationFrame(() => {
|
|
491
|
-
|
|
491
|
+
q.current = !0;
|
|
492
492
|
try {
|
|
493
|
-
|
|
493
|
+
E.refresh();
|
|
494
494
|
} finally {
|
|
495
|
-
|
|
495
|
+
q.current = !1;
|
|
496
496
|
}
|
|
497
|
-
g.current = "resize", _(
|
|
497
|
+
g.current = "resize", _(E);
|
|
498
498
|
});
|
|
499
499
|
}, [e.length, _]);
|
|
500
500
|
const N = Ce(() => {
|
|
501
501
|
var b;
|
|
502
|
-
const
|
|
503
|
-
if (
|
|
504
|
-
|
|
502
|
+
const E = (b = d.current) == null ? void 0 : b.splide;
|
|
503
|
+
if (E) {
|
|
504
|
+
q.current = !0;
|
|
505
505
|
try {
|
|
506
|
-
|
|
506
|
+
E.go(0, !1);
|
|
507
507
|
} finally {
|
|
508
|
-
|
|
508
|
+
q.current = !1;
|
|
509
509
|
}
|
|
510
|
-
g.current = "resize", _(
|
|
510
|
+
g.current = "resize", _(E);
|
|
511
511
|
}
|
|
512
|
-
}, [_]),
|
|
513
|
-
(
|
|
514
|
-
g.current = "mounted", _(
|
|
512
|
+
}, [_]), z = Ce(
|
|
513
|
+
(E) => {
|
|
514
|
+
g.current = "mounted", _(E);
|
|
515
515
|
},
|
|
516
516
|
[_]
|
|
517
517
|
), D = {
|
|
@@ -542,11 +542,11 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
542
542
|
ref: d,
|
|
543
543
|
options: D,
|
|
544
544
|
onMove: _,
|
|
545
|
-
onMounted:
|
|
545
|
+
onMounted: z,
|
|
546
546
|
onResize: N,
|
|
547
|
-
children: e.map((
|
|
548
|
-
var
|
|
549
|
-
return /* @__PURE__ */ t(ya, { children: a(
|
|
547
|
+
children: e.map((E, b) => {
|
|
548
|
+
var O;
|
|
549
|
+
return /* @__PURE__ */ t(ya, { children: a(E, b) }, p ? b : (O = E.id) != null ? O : b);
|
|
550
550
|
})
|
|
551
551
|
}
|
|
552
552
|
),
|
|
@@ -554,7 +554,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
554
554
|
/* @__PURE__ */ t(
|
|
555
555
|
"div",
|
|
556
556
|
{
|
|
557
|
-
ref:
|
|
557
|
+
ref: w,
|
|
558
558
|
className: `${ye.gradientOverlay} ${ye.left}`,
|
|
559
559
|
style: { "--gradient-opacity": "0" },
|
|
560
560
|
children: /* @__PURE__ */ y(
|
|
@@ -616,7 +616,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
616
616
|
c.stopPropagation(), a == null || a();
|
|
617
617
|
}, s = o ? { width: "100%", height: "100%" } : { width: `${r.w}px`, height: `${r.h}px` };
|
|
618
618
|
return /* @__PURE__ */ y(
|
|
619
|
-
|
|
619
|
+
P,
|
|
620
620
|
{
|
|
621
621
|
onClick: a,
|
|
622
622
|
role: "button",
|
|
@@ -658,7 +658,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
658
658
|
}
|
|
659
659
|
),
|
|
660
660
|
/* @__PURE__ */ t(
|
|
661
|
-
|
|
661
|
+
P,
|
|
662
662
|
{
|
|
663
663
|
className: "oraculo-game-card-overlay",
|
|
664
664
|
sx: {
|
|
@@ -673,7 +673,7 @@ const ga = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", ha = "ora
|
|
|
673
673
|
}
|
|
674
674
|
),
|
|
675
675
|
/* @__PURE__ */ t(
|
|
676
|
-
|
|
676
|
+
P,
|
|
677
677
|
{
|
|
678
678
|
className: "oraculo-game-card-btn",
|
|
679
679
|
sx: {
|
|
@@ -704,18 +704,18 @@ function xa({
|
|
|
704
704
|
}
|
|
705
705
|
}) {
|
|
706
706
|
var m, d, f, v;
|
|
707
|
-
const i = (
|
|
708
|
-
var g, C, $,
|
|
707
|
+
const i = (w, x) => {
|
|
708
|
+
var g, C, $, q;
|
|
709
709
|
return {
|
|
710
|
-
xs: (C = (g = r.xs) == null ? void 0 : g[
|
|
711
|
-
md: (
|
|
710
|
+
xs: (C = (g = r.xs) == null ? void 0 : g[w]) != null ? C : x,
|
|
711
|
+
md: (q = ($ = r.md) == null ? void 0 : $[w]) != null ? q : x
|
|
712
712
|
};
|
|
713
713
|
}, s = i("w", 186), c = i("h", 264), p = i("r", 22.6), h = i("font", 64), u = {
|
|
714
714
|
xs: Math.round(((d = (m = r.xs) == null ? void 0 : m.font) != null ? d : 64) * 0.28),
|
|
715
715
|
md: Math.round(((v = (f = r.md) == null ? void 0 : f.font) != null ? v : 64) * 0.28)
|
|
716
716
|
};
|
|
717
717
|
return /* @__PURE__ */ y(
|
|
718
|
-
|
|
718
|
+
P,
|
|
719
719
|
{
|
|
720
720
|
sx: {
|
|
721
721
|
position: "relative",
|
|
@@ -742,7 +742,7 @@ function xa({
|
|
|
742
742
|
},
|
|
743
743
|
children: [
|
|
744
744
|
/* @__PURE__ */ t(
|
|
745
|
-
|
|
745
|
+
P,
|
|
746
746
|
{
|
|
747
747
|
sx: {
|
|
748
748
|
position: "absolute",
|
|
@@ -776,7 +776,7 @@ function xa({
|
|
|
776
776
|
}
|
|
777
777
|
),
|
|
778
778
|
/* @__PURE__ */ t(
|
|
779
|
-
|
|
779
|
+
P,
|
|
780
780
|
{
|
|
781
781
|
component: "span",
|
|
782
782
|
sx: {
|
|
@@ -804,7 +804,7 @@ function xa({
|
|
|
804
804
|
}
|
|
805
805
|
);
|
|
806
806
|
}
|
|
807
|
-
const
|
|
807
|
+
const Sa = ({
|
|
808
808
|
logo: e,
|
|
809
809
|
provider: a,
|
|
810
810
|
providerName: n,
|
|
@@ -813,7 +813,7 @@ const wa = ({
|
|
|
813
813
|
}) => {
|
|
814
814
|
var i;
|
|
815
815
|
return /* @__PURE__ */ y(
|
|
816
|
-
|
|
816
|
+
P,
|
|
817
817
|
{
|
|
818
818
|
onClick: r,
|
|
819
819
|
sx: {
|
|
@@ -837,7 +837,7 @@ const wa = ({
|
|
|
837
837
|
},
|
|
838
838
|
children: [
|
|
839
839
|
/* @__PURE__ */ t(
|
|
840
|
-
|
|
840
|
+
P,
|
|
841
841
|
{
|
|
842
842
|
component: "img",
|
|
843
843
|
src: e,
|
|
@@ -853,7 +853,7 @@ const wa = ({
|
|
|
853
853
|
}
|
|
854
854
|
),
|
|
855
855
|
/* @__PURE__ */ t(
|
|
856
|
-
|
|
856
|
+
P,
|
|
857
857
|
{
|
|
858
858
|
className: "orc-live-provider-label",
|
|
859
859
|
sx: {
|
|
@@ -883,7 +883,7 @@ const wa = ({
|
|
|
883
883
|
]
|
|
884
884
|
}
|
|
885
885
|
);
|
|
886
|
-
},
|
|
886
|
+
}, qe = 12, ze = ({ r: e = 16 }) => /* @__PURE__ */ t(P, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
|
|
887
887
|
j,
|
|
888
888
|
{
|
|
889
889
|
variant: "rectangular",
|
|
@@ -909,7 +909,7 @@ const wa = ({
|
|
|
909
909
|
if (a === "mosaic") {
|
|
910
910
|
const c = e[0], p = e.slice(1, 5);
|
|
911
911
|
return /* @__PURE__ */ y(
|
|
912
|
-
|
|
912
|
+
P,
|
|
913
913
|
{
|
|
914
914
|
sx: {
|
|
915
915
|
display: "grid",
|
|
@@ -926,14 +926,14 @@ const wa = ({
|
|
|
926
926
|
xs: "104px",
|
|
927
927
|
md: "152px"
|
|
928
928
|
},
|
|
929
|
-
columnGap: `${
|
|
930
|
-
rowGap: `${
|
|
929
|
+
columnGap: `${qe}px`,
|
|
930
|
+
rowGap: `${qe}px`,
|
|
931
931
|
alignItems: "stretch",
|
|
932
932
|
justifyItems: "stretch"
|
|
933
933
|
},
|
|
934
934
|
children: [
|
|
935
935
|
/* @__PURE__ */ t(
|
|
936
|
-
|
|
936
|
+
P,
|
|
937
937
|
{
|
|
938
938
|
sx: {
|
|
939
939
|
width: { xs: 184, md: 280 },
|
|
@@ -942,7 +942,7 @@ const wa = ({
|
|
|
942
942
|
overflow: "hidden",
|
|
943
943
|
borderRadius: 2
|
|
944
944
|
},
|
|
945
|
-
children: o ? /* @__PURE__ */ t(
|
|
945
|
+
children: o ? /* @__PURE__ */ t(ze, {}) : c && /* @__PURE__ */ t(
|
|
946
946
|
Te,
|
|
947
947
|
{
|
|
948
948
|
imageUrl: `https://olimpo.bet${(s = (i = c.background) != null ? i : c.imageUrl) != null ? s : ""}`,
|
|
@@ -956,7 +956,7 @@ const wa = ({
|
|
|
956
956
|
(o ? Array.from({ length: 4 }) : p).map((h, u) => {
|
|
957
957
|
var m, d;
|
|
958
958
|
return /* @__PURE__ */ t(
|
|
959
|
-
|
|
959
|
+
P,
|
|
960
960
|
{
|
|
961
961
|
sx: {
|
|
962
962
|
width: { xs: 104, md: 152 },
|
|
@@ -964,7 +964,7 @@ const wa = ({
|
|
|
964
964
|
overflow: "hidden",
|
|
965
965
|
borderRadius: 2
|
|
966
966
|
},
|
|
967
|
-
children: o ? /* @__PURE__ */ t(
|
|
967
|
+
children: o ? /* @__PURE__ */ t(ze, {}) : /* @__PURE__ */ t(
|
|
968
968
|
Te,
|
|
969
969
|
{
|
|
970
970
|
imageUrl: `https://olimpo.bet${(d = (m = h.background) != null ? m : h.imageUrl) != null ? d : ""}`,
|
|
@@ -982,7 +982,7 @@ const wa = ({
|
|
|
982
982
|
);
|
|
983
983
|
}
|
|
984
984
|
return /* @__PURE__ */ t(
|
|
985
|
-
|
|
985
|
+
P,
|
|
986
986
|
{
|
|
987
987
|
sx: {
|
|
988
988
|
display: "grid",
|
|
@@ -994,16 +994,16 @@ const wa = ({
|
|
|
994
994
|
xs: "repeat(2, 112px)",
|
|
995
995
|
md: "repeat(2, 168px)"
|
|
996
996
|
},
|
|
997
|
-
gap: `${
|
|
997
|
+
gap: `${qe}px`,
|
|
998
998
|
gridAutoFlow: "column"
|
|
999
999
|
},
|
|
1000
1000
|
children: (o ? Array.from({ length: r }) : e).map((c, p) => {
|
|
1001
1001
|
var h, u, m;
|
|
1002
1002
|
return /* @__PURE__ */ t(
|
|
1003
|
-
|
|
1003
|
+
P,
|
|
1004
1004
|
{
|
|
1005
1005
|
sx: { overflow: "hidden", borderRadius: 2 },
|
|
1006
|
-
children: o ? /* @__PURE__ */ t(
|
|
1006
|
+
children: o ? /* @__PURE__ */ t(ze, {}) : /* @__PURE__ */ t(
|
|
1007
1007
|
Te,
|
|
1008
1008
|
{
|
|
1009
1009
|
imageUrl: `https://olimpo.bet${(u = (h = c.background) != null ? h : c.imageUrl) != null ? u : ""}`,
|
|
@@ -1031,7 +1031,7 @@ const wa = ({
|
|
|
1031
1031
|
}) => {
|
|
1032
1032
|
const h = a ? a.slice(0, 2) : "", u = a ? a.slice(2) : "", m = p === "large";
|
|
1033
1033
|
return /* @__PURE__ */ y(
|
|
1034
|
-
|
|
1034
|
+
P,
|
|
1035
1035
|
{
|
|
1036
1036
|
className: c,
|
|
1037
1037
|
sx: {
|
|
@@ -1045,7 +1045,7 @@ const wa = ({
|
|
|
1045
1045
|
},
|
|
1046
1046
|
children: [
|
|
1047
1047
|
i && /* @__PURE__ */ t(
|
|
1048
|
-
|
|
1048
|
+
P,
|
|
1049
1049
|
{
|
|
1050
1050
|
sx: {
|
|
1051
1051
|
position: "relative",
|
|
@@ -1058,7 +1058,7 @@ const wa = ({
|
|
|
1058
1058
|
overflow: "hidden"
|
|
1059
1059
|
},
|
|
1060
1060
|
children: /* @__PURE__ */ t(
|
|
1061
|
-
|
|
1061
|
+
P,
|
|
1062
1062
|
{
|
|
1063
1063
|
component: "img",
|
|
1064
1064
|
src: i,
|
|
@@ -1078,7 +1078,7 @@ const wa = ({
|
|
|
1078
1078
|
}
|
|
1079
1079
|
),
|
|
1080
1080
|
/* @__PURE__ */ t(
|
|
1081
|
-
|
|
1081
|
+
P,
|
|
1082
1082
|
{
|
|
1083
1083
|
sx: {
|
|
1084
1084
|
position: "absolute",
|
|
@@ -1092,7 +1092,7 @@ const wa = ({
|
|
|
1092
1092
|
pr: { xs: "14%", lg: "15%" }
|
|
1093
1093
|
},
|
|
1094
1094
|
children: /* @__PURE__ */ y(
|
|
1095
|
-
|
|
1095
|
+
P,
|
|
1096
1096
|
{
|
|
1097
1097
|
sx: {
|
|
1098
1098
|
maxWidth: "60%",
|
|
@@ -1113,7 +1113,7 @@ const wa = ({
|
|
|
1113
1113
|
}
|
|
1114
1114
|
),
|
|
1115
1115
|
a && /* @__PURE__ */ y(
|
|
1116
|
-
|
|
1116
|
+
P,
|
|
1117
1117
|
{
|
|
1118
1118
|
component: "p",
|
|
1119
1119
|
sx: {
|
|
@@ -1131,7 +1131,7 @@ const wa = ({
|
|
|
1131
1131
|
},
|
|
1132
1132
|
children: [
|
|
1133
1133
|
/* @__PURE__ */ t(
|
|
1134
|
-
|
|
1134
|
+
P,
|
|
1135
1135
|
{
|
|
1136
1136
|
component: "span",
|
|
1137
1137
|
sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
|
|
@@ -1139,7 +1139,7 @@ const wa = ({
|
|
|
1139
1139
|
}
|
|
1140
1140
|
),
|
|
1141
1141
|
/* @__PURE__ */ t(
|
|
1142
|
-
|
|
1142
|
+
P,
|
|
1143
1143
|
{
|
|
1144
1144
|
component: "span",
|
|
1145
1145
|
sx: { fontSize: { xs: 52, md: 77 } },
|
|
@@ -1170,7 +1170,7 @@ const wa = ({
|
|
|
1170
1170
|
]
|
|
1171
1171
|
}
|
|
1172
1172
|
);
|
|
1173
|
-
},
|
|
1173
|
+
}, wa = ({
|
|
1174
1174
|
text: e,
|
|
1175
1175
|
buttonLabel: a = "Conoce más",
|
|
1176
1176
|
onClick: n,
|
|
@@ -1213,10 +1213,10 @@ const wa = ({
|
|
|
1213
1213
|
/* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
|
|
1214
1214
|
/* @__PURE__ */ t(Y, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1215
1215
|
] })
|
|
1216
|
-
] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY",
|
|
1216
|
+
] }), Ia = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Oa = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", Ea = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Ca = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Ta = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", ka = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Na = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", $a = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Ma = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
|
|
1217
1217
|
card: Ia,
|
|
1218
|
-
combinadas:
|
|
1219
|
-
combinadasScroll:
|
|
1218
|
+
combinadas: Oa,
|
|
1219
|
+
combinadasScroll: Ea,
|
|
1220
1220
|
apuestaItem: Ca,
|
|
1221
1221
|
lineContainer: Ta,
|
|
1222
1222
|
circle: ka,
|
|
@@ -1234,7 +1234,7 @@ function Ba() {
|
|
|
1234
1234
|
function Aa() {
|
|
1235
1235
|
window.location.href = "/deportes#sports-hub/football";
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1237
|
+
function Ra() {
|
|
1238
1238
|
window.location.href = "/deportes#specials";
|
|
1239
1239
|
}
|
|
1240
1240
|
async function gt(e) {
|
|
@@ -1257,37 +1257,37 @@ const ht = Nt(void 0), bt = ({ children: e, docId: a, moduleId: n }) => {
|
|
|
1257
1257
|
throw new Error("useDocContext debe usarse dentro de DocIdProvider");
|
|
1258
1258
|
return e;
|
|
1259
1259
|
}, ne = () => vt().docId, le = () => vt().moduleId;
|
|
1260
|
-
function
|
|
1260
|
+
function La({ coupon: e }) {
|
|
1261
1261
|
var h;
|
|
1262
1262
|
const a = ae(), n = ne();
|
|
1263
1263
|
function o(u) {
|
|
1264
1264
|
var f, v;
|
|
1265
1265
|
const m = [], d = Array.from(
|
|
1266
1266
|
new Map(
|
|
1267
|
-
((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((
|
|
1267
|
+
((f = u == null ? void 0 : u.events) != null ? f : []).filter(Boolean).map((w) => [w.id, w])
|
|
1268
1268
|
).values()
|
|
1269
1269
|
);
|
|
1270
|
-
return d.forEach((
|
|
1270
|
+
return d.forEach((w) => {
|
|
1271
1271
|
var $;
|
|
1272
|
-
const x = ($ =
|
|
1273
|
-
x.forEach((
|
|
1274
|
-
var D,
|
|
1275
|
-
if (!((D =
|
|
1276
|
-
const _ =
|
|
1272
|
+
const x = ($ = w.betoffers) != null ? $ : [], g = w.homeName, C = w.awayName;
|
|
1273
|
+
x.forEach((q) => {
|
|
1274
|
+
var D, E, b, O, L, B, A;
|
|
1275
|
+
if (!((D = q == null ? void 0 : q.outcomes) != null && D.length)) return;
|
|
1276
|
+
const _ = q.outcomes[0];
|
|
1277
1277
|
if (!_) return;
|
|
1278
1278
|
let N = "";
|
|
1279
|
-
const
|
|
1280
|
-
["Más de", "Mas de", "Over"].includes(_.label) ? (N = `Más de ${
|
|
1279
|
+
const z = _ != null && _.line ? _.line / 1e3 : "";
|
|
1280
|
+
["Más de", "Mas de", "Over"].includes(_.label) ? (N = `Más de ${z}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Menos de", "Menos", "Under"].includes(_.label) ? (N = `Menos de ${z}`, _.participant && (N = `${_.participant} - ${N}`)) : ["Sí", "No"].includes(_.label) ? (N = _.label, _.participant && (N = `${_.participant} - ${N}`)) : ["1X", "12", "X2"].includes(_.label) ? (_.label === "1X" && (N = `${g} o Empate`), _.label === "12" && (N = `${g} o ${C}`), _.label === "X2" && (N = `${C} o Empate`)) : (N = (b = (E = _.participant) != null ? E : _.label) != null ? b : "", z !== "" && N === _.label && (N = `${_.label} ${z}`)), m.push({
|
|
1281
1281
|
id: _.id,
|
|
1282
1282
|
value: N,
|
|
1283
|
-
label: (
|
|
1283
|
+
label: (L = (O = q.criterion) == null ? void 0 : O.label) != null ? L : "",
|
|
1284
1284
|
odds: (B = _.odds) != null ? B : 0,
|
|
1285
1285
|
position: (A = _.position) != null ? A : 0,
|
|
1286
|
-
eventId:
|
|
1286
|
+
eventId: w.id
|
|
1287
1287
|
});
|
|
1288
1288
|
});
|
|
1289
1289
|
}), {
|
|
1290
|
-
outcomes: m.sort((
|
|
1290
|
+
outcomes: m.sort((w, x) => w.position - x.position),
|
|
1291
1291
|
total: Number((v = u == null ? void 0 : u.combinadoTotal) != null ? v : 0).toLocaleString("en-US", {
|
|
1292
1292
|
minimumFractionDigits: 2,
|
|
1293
1293
|
maximumFractionDigits: 2
|
|
@@ -1318,17 +1318,17 @@ function Ra({ coupon: e }) {
|
|
|
1318
1318
|
return (C = g == null ? void 0 : g.name) != null ? C : "";
|
|
1319
1319
|
})
|
|
1320
1320
|
)
|
|
1321
|
-
).filter(Boolean), v = f.length > 0 ? f.join(" + ") : JSON.stringify(d),
|
|
1321
|
+
).filter(Boolean), v = f.length > 0 ? f.join(" + ") : JSON.stringify(d), w = m ? `${v} - Cuota: ${m}` : v;
|
|
1322
1322
|
a({
|
|
1323
1323
|
element: "evento_semana_outcome",
|
|
1324
|
-
label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${
|
|
1324
|
+
label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${w}`,
|
|
1325
1325
|
target: "/deportes#in-play",
|
|
1326
1326
|
event_type: "click",
|
|
1327
1327
|
module_id: 301,
|
|
1328
1328
|
metadata: {
|
|
1329
1329
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1330
1330
|
},
|
|
1331
|
-
tags: { section: "OraculoEventCombinadasCard", outcomes:
|
|
1331
|
+
tags: { section: "OraculoEventCombinadasCard", outcomes: w }
|
|
1332
1332
|
}), Ue(r(e), u);
|
|
1333
1333
|
};
|
|
1334
1334
|
if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
|
|
@@ -1416,7 +1416,7 @@ const de = {
|
|
|
1416
1416
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1417
1417
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1418
1418
|
};
|
|
1419
|
-
function
|
|
1419
|
+
function Fa({
|
|
1420
1420
|
children: e,
|
|
1421
1421
|
onClick: a,
|
|
1422
1422
|
href: n,
|
|
@@ -1432,9 +1432,9 @@ function Pa({
|
|
|
1432
1432
|
ariaLabel: d,
|
|
1433
1433
|
leftIcon: f,
|
|
1434
1434
|
rightIcon: v,
|
|
1435
|
-
iconOnly:
|
|
1435
|
+
iconOnly: w
|
|
1436
1436
|
}) {
|
|
1437
|
-
const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1,
|
|
1437
|
+
const x = !!e && e !== !0, $ = (!!f ? 1 : 0) + (!!v ? 1 : 0) == 1, q = w != null ? w : $ && !x, _ = [
|
|
1438
1438
|
de["orc-btn"],
|
|
1439
1439
|
// base
|
|
1440
1440
|
de[`orc-btn--${c}`],
|
|
@@ -1443,13 +1443,13 @@ function Pa({
|
|
|
1443
1443
|
// sm / md / lg
|
|
1444
1444
|
h ? de["orc-btn--full"] : "",
|
|
1445
1445
|
u ? de["orc-btn--fullHeight"] : "",
|
|
1446
|
-
|
|
1446
|
+
q ? de["orc-btn--iconOnly"] : "",
|
|
1447
1447
|
m
|
|
1448
1448
|
].filter(Boolean).join(" "), N = /* @__PURE__ */ y(pe, { children: [
|
|
1449
1449
|
f && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: f }),
|
|
1450
|
-
!
|
|
1450
|
+
!q && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
|
|
1451
1451
|
v && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: v })
|
|
1452
|
-
] }),
|
|
1452
|
+
] }), z = s ? !0 : void 0;
|
|
1453
1453
|
return n ? /* @__PURE__ */ t(
|
|
1454
1454
|
it,
|
|
1455
1455
|
{
|
|
@@ -1457,10 +1457,10 @@ function Pa({
|
|
|
1457
1457
|
target: o,
|
|
1458
1458
|
rel: r,
|
|
1459
1459
|
"aria-label": d,
|
|
1460
|
-
"aria-disabled":
|
|
1461
|
-
tabIndex:
|
|
1460
|
+
"aria-disabled": z,
|
|
1461
|
+
tabIndex: z ? -1 : void 0,
|
|
1462
1462
|
className: _,
|
|
1463
|
-
onClick:
|
|
1463
|
+
onClick: z ? (D) => D.preventDefault() : a,
|
|
1464
1464
|
children: N
|
|
1465
1465
|
}
|
|
1466
1466
|
) : /* @__PURE__ */ t(
|
|
@@ -1468,17 +1468,17 @@ function Pa({
|
|
|
1468
1468
|
{
|
|
1469
1469
|
type: i,
|
|
1470
1470
|
onClick: a,
|
|
1471
|
-
disabled: !!
|
|
1471
|
+
disabled: !!z,
|
|
1472
1472
|
"aria-label": d,
|
|
1473
1473
|
className: _,
|
|
1474
1474
|
children: N
|
|
1475
1475
|
}
|
|
1476
1476
|
);
|
|
1477
1477
|
}
|
|
1478
|
-
const
|
|
1479
|
-
cardWrapper:
|
|
1480
|
-
customButtonLabel:
|
|
1481
|
-
customButtonDisabled:
|
|
1478
|
+
const qa = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", za = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Pa = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", ke = {
|
|
1479
|
+
cardWrapper: qa,
|
|
1480
|
+
customButtonLabel: za,
|
|
1481
|
+
customButtonDisabled: Pa
|
|
1482
1482
|
}, Xe = {
|
|
1483
1483
|
base: "FFFFFF",
|
|
1484
1484
|
sleeve: "FFFFFF",
|
|
@@ -1501,7 +1501,7 @@ const La = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Fa = "
|
|
|
1501
1501
|
return o || (a === "home" ? Xe : Ye);
|
|
1502
1502
|
};
|
|
1503
1503
|
function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
1504
|
-
var c, p, h, u, m, d, f, v,
|
|
1504
|
+
var c, p, h, u, m, d, f, v, w, x, g;
|
|
1505
1505
|
const r = n == null ? void 0 : n.find(
|
|
1506
1506
|
(C) => {
|
|
1507
1507
|
var $;
|
|
@@ -1534,13 +1534,13 @@ function Da({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1534
1534
|
),
|
|
1535
1535
|
/* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1536
1536
|
/* @__PURE__ */ t($e, { name: e == null ? void 0 : e.homeName, jersey: Me(o, "home") }),
|
|
1537
|
-
/* @__PURE__ */ t(pt, { text: ((f = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? f : 0) + ":" + ((
|
|
1537
|
+
/* @__PURE__ */ t(pt, { text: ((f = (d = a == null ? void 0 : a.score) == null ? void 0 : d.home) != null ? f : 0) + ":" + ((w = (v = a == null ? void 0 : a.score) == null ? void 0 : v.away) != null ? w : 0), name: "En vivo" }),
|
|
1538
1538
|
/* @__PURE__ */ t($e, { name: e == null ? void 0 : e.awayName, jersey: Me(o, "away") })
|
|
1539
1539
|
] }) })
|
|
1540
1540
|
] }),
|
|
1541
1541
|
/* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1542
1542
|
/* @__PURE__ */ t(me, { spacing: 1, children: ((x = r == null ? void 0 : r.outcomes) != null ? x : s).map((C, $) => /* @__PURE__ */ t(ut, { text: C.label.toUpperCase() }, $)) }),
|
|
1543
|
-
/* @__PURE__ */ t(me, { spacing: 2, children: ((g = r == null ? void 0 : r.outcomes) != null ? g : s).map((C, $) => /* @__PURE__ */ t(
|
|
1543
|
+
/* @__PURE__ */ t(me, { spacing: 2, children: ((g = r == null ? void 0 : r.outcomes) != null ? g : s).map((C, $) => /* @__PURE__ */ t(Fa, { variant: "primary", disabled: C.odds == null || (r == null ? void 0 : r.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1544
1544
|
Ue("/deportes#event/live/" + e.id, C.id);
|
|
1545
1545
|
}, className: ke.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: ke.customButtonLabel, children: C.odds === void 0 ? "" : (C.odds / 1e3).toFixed(2) }) }, $)) })
|
|
1546
1546
|
] })
|
|
@@ -1562,12 +1562,12 @@ function Za({ event: e, jersey: a }) {
|
|
|
1562
1562
|
var s, c, p, h, u, m, d;
|
|
1563
1563
|
const n = ae(), o = ne();
|
|
1564
1564
|
function r(f) {
|
|
1565
|
-
const v = new Date(f),
|
|
1565
|
+
const v = new Date(f), w = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), x = v.getDate().toString().padStart(2, "0"), g = (v.getMonth() + 1).toString().padStart(2, "0");
|
|
1566
1566
|
let C = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1567
|
-
return C = C.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${
|
|
1567
|
+
return C = C.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${w} ${x}/${g} | ${C}`;
|
|
1568
1568
|
}
|
|
1569
1569
|
const i = (f, v) => {
|
|
1570
|
-
const
|
|
1570
|
+
const w = `${e.homeName} vs ${e.awayName}`, x = v ? (v / 1e3).toFixed(2) : "", g = x ? `${w} - Cuota: ${x}` : w;
|
|
1571
1571
|
n({
|
|
1572
1572
|
element: "evento_semana_outcome",
|
|
1573
1573
|
label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${g}`,
|
|
@@ -1608,7 +1608,7 @@ function Ja({
|
|
|
1608
1608
|
className: r = "",
|
|
1609
1609
|
paddingMobile: i = "16px"
|
|
1610
1610
|
}) {
|
|
1611
|
-
var
|
|
1611
|
+
var q;
|
|
1612
1612
|
const s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), h = ae(), u = ne(), m = le(), d = !e || e.length === 0, f = () => {
|
|
1613
1613
|
var _;
|
|
1614
1614
|
h({
|
|
@@ -1635,7 +1635,7 @@ function Ja({
|
|
|
1635
1635
|
},
|
|
1636
1636
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1637
1637
|
}), (_ = s.current) == null || _.next();
|
|
1638
|
-
},
|
|
1638
|
+
}, w = () => {
|
|
1639
1639
|
h({
|
|
1640
1640
|
element: "destacados_view_more",
|
|
1641
1641
|
label: `${u} - OraculoSeccionDestacados - Ver más`,
|
|
@@ -1649,11 +1649,11 @@ function Ja({
|
|
|
1649
1649
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
1650
1650
|
}, x = (_) => {
|
|
1651
1651
|
if (!_) return;
|
|
1652
|
-
const
|
|
1652
|
+
const z = `https://www.olimpo.bet/promociones/${encodeURIComponent(_)}`;
|
|
1653
1653
|
h({
|
|
1654
1654
|
element: "destacados_card",
|
|
1655
1655
|
label: `${u} - OraculoSeccionDestacados - Click: ${String(_)}`,
|
|
1656
|
-
target:
|
|
1656
|
+
target: z,
|
|
1657
1657
|
event_type: "click",
|
|
1658
1658
|
module_id: m,
|
|
1659
1659
|
metadata: {
|
|
@@ -1663,8 +1663,8 @@ function Ja({
|
|
|
1663
1663
|
section: "OraculoSeccionDestacados",
|
|
1664
1664
|
promotion: String(_)
|
|
1665
1665
|
}
|
|
1666
|
-
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(
|
|
1667
|
-
}, g = r || void 0, C = xe("(max-width:950px)"), $ = (
|
|
1666
|
+
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(z);
|
|
1667
|
+
}, g = r || void 0, C = xe("(max-width:950px)"), $ = (q = e == null ? void 0 : e.length) != null ? q : 0;
|
|
1668
1668
|
return Q(() => {
|
|
1669
1669
|
if ($ === 0) {
|
|
1670
1670
|
p({ isStart: !0, isEnd: !0 });
|
|
@@ -1705,13 +1705,13 @@ function Ja({
|
|
|
1705
1705
|
ariaLabel: "Siguiente",
|
|
1706
1706
|
variant: "secondary",
|
|
1707
1707
|
iconOnly: !0,
|
|
1708
|
-
rightIcon: /* @__PURE__ */ t(
|
|
1708
|
+
rightIcon: /* @__PURE__ */ t(Re, {}),
|
|
1709
1709
|
onClick: v,
|
|
1710
1710
|
disabled: c.isEnd || d
|
|
1711
1711
|
}
|
|
1712
1712
|
)
|
|
1713
1713
|
] }),
|
|
1714
|
-
/* @__PURE__ */ t(Y, { variant: "secondary", onClick:
|
|
1714
|
+
/* @__PURE__ */ t(Y, { variant: "secondary", onClick: w, children: "Ver más" })
|
|
1715
1715
|
]
|
|
1716
1716
|
}
|
|
1717
1717
|
),
|
|
@@ -1754,8 +1754,8 @@ function Ja({
|
|
|
1754
1754
|
},
|
|
1755
1755
|
`${_.title}-${_.image}`
|
|
1756
1756
|
),
|
|
1757
|
-
onMove: ({ isStart: _, isEnd: N, source:
|
|
1758
|
-
p({ isStart: _, isEnd: N }),
|
|
1757
|
+
onMove: ({ isStart: _, isEnd: N, source: z }) => {
|
|
1758
|
+
p({ isStart: _, isEnd: N }), z === "user" && h({
|
|
1759
1759
|
element: "destacados_carousel_slide",
|
|
1760
1760
|
label: `${u} - OraculoSeccionDestacados - Slide Carousel`,
|
|
1761
1761
|
target: "carousel",
|
|
@@ -1827,7 +1827,7 @@ function Qa({
|
|
|
1827
1827
|
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1828
1828
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
1829
1829
|
/* @__PURE__ */ t(
|
|
1830
|
-
|
|
1830
|
+
P,
|
|
1831
1831
|
{
|
|
1832
1832
|
sx: {
|
|
1833
1833
|
display: "grid",
|
|
@@ -1859,7 +1859,7 @@ function Qa({
|
|
|
1859
1859
|
] }) });
|
|
1860
1860
|
}
|
|
1861
1861
|
const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", tn = (e, a) => {
|
|
1862
|
-
var n, o, r, i, s, c, p, h, u, m, d, f, v,
|
|
1862
|
+
var n, o, r, i, s, c, p, h, u, m, d, f, v, w;
|
|
1863
1863
|
return {
|
|
1864
1864
|
orden: Number(a),
|
|
1865
1865
|
machine: String(
|
|
@@ -1877,7 +1877,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1877
1877
|
background: (d = e.background) != null ? d : "",
|
|
1878
1878
|
rtp: (f = e.rtp) != null ? f : null,
|
|
1879
1879
|
demo_allowed: (v = e.demo_allowed) != null ? v : !1,
|
|
1880
|
-
gaming_session_required: (
|
|
1880
|
+
gaming_session_required: (w = e.gaming_session_required) != null ? w : !1
|
|
1881
1881
|
};
|
|
1882
1882
|
}, an = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((a) => String(a)) : [] : [], yt = () => {
|
|
1883
1883
|
var a, n, o;
|
|
@@ -1932,19 +1932,19 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1932
1932
|
const $ = await fetch(`https://api.mktolimpo.com/api/machine/${g}`);
|
|
1933
1933
|
if (!$.ok)
|
|
1934
1934
|
throw new Error(`No se pudo obtener machine ${g}`);
|
|
1935
|
-
const
|
|
1936
|
-
return tn(
|
|
1935
|
+
const q = await $.json();
|
|
1936
|
+
return tn(q, C);
|
|
1937
1937
|
})
|
|
1938
1938
|
);
|
|
1939
1939
|
if (c) return;
|
|
1940
|
-
const
|
|
1940
|
+
const w = v.filter(
|
|
1941
1941
|
(g) => g.status === "fulfilled"
|
|
1942
1942
|
).map((g) => g.value), x = d.map((g) => {
|
|
1943
|
-
const C =
|
|
1943
|
+
const C = w.find(($) => $.machine === g.itemId);
|
|
1944
1944
|
return C ? { ...C, score: g.score } : null;
|
|
1945
1945
|
}).filter(Boolean).sort((g, C) => {
|
|
1946
|
-
var $,
|
|
1947
|
-
return (($ = C.score) != null ? $ : 0) - ((
|
|
1946
|
+
var $, q;
|
|
1947
|
+
return (($ = C.score) != null ? $ : 0) - ((q = g.score) != null ? q : 0);
|
|
1948
1948
|
});
|
|
1949
1949
|
r(x);
|
|
1950
1950
|
} catch (h) {
|
|
@@ -1986,7 +1986,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1986
1986
|
const h = ae(), u = ne(), m = le(), d = dn(p), { resolvedItems: f } = ln(
|
|
1987
1987
|
e,
|
|
1988
1988
|
d
|
|
1989
|
-
), v = d ? f : Array.isArray(e) ? e : [],
|
|
1989
|
+
), v = d ? f : Array.isArray(e) ? e : [], w = (g) => {
|
|
1990
1990
|
h({
|
|
1991
1991
|
element: "live_casino_card",
|
|
1992
1992
|
label: `${u} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(g.machine || "unknown")}`,
|
|
@@ -2031,7 +2031,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2031
2031
|
}), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
|
|
2032
2032
|
};
|
|
2033
2033
|
return /* @__PURE__ */ y(
|
|
2034
|
-
|
|
2034
|
+
P,
|
|
2035
2035
|
{
|
|
2036
2036
|
className: c,
|
|
2037
2037
|
sx: {
|
|
@@ -2041,7 +2041,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2041
2041
|
},
|
|
2042
2042
|
children: [
|
|
2043
2043
|
/* @__PURE__ */ t(
|
|
2044
|
-
|
|
2044
|
+
P,
|
|
2045
2045
|
{
|
|
2046
2046
|
sx: {
|
|
2047
2047
|
position: "absolute",
|
|
@@ -2069,7 +2069,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2069
2069
|
}
|
|
2070
2070
|
),
|
|
2071
2071
|
/* @__PURE__ */ y(
|
|
2072
|
-
|
|
2072
|
+
P,
|
|
2073
2073
|
{
|
|
2074
2074
|
sx: {
|
|
2075
2075
|
position: "relative",
|
|
@@ -2112,7 +2112,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2112
2112
|
children: n
|
|
2113
2113
|
}
|
|
2114
2114
|
),
|
|
2115
|
-
/* @__PURE__ */ t(
|
|
2115
|
+
/* @__PURE__ */ t(P, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
|
|
2116
2116
|
Y,
|
|
2117
2117
|
{
|
|
2118
2118
|
variant: "primary",
|
|
@@ -2123,7 +2123,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2123
2123
|
) })
|
|
2124
2124
|
] }),
|
|
2125
2125
|
/* @__PURE__ */ t(
|
|
2126
|
-
|
|
2126
|
+
P,
|
|
2127
2127
|
{
|
|
2128
2128
|
sx: {
|
|
2129
2129
|
display: "flex",
|
|
@@ -2136,20 +2136,20 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2136
2136
|
children: (v != null ? v : []).slice(0, 3).map((g, C) => {
|
|
2137
2137
|
var $;
|
|
2138
2138
|
return /* @__PURE__ */ t(
|
|
2139
|
-
|
|
2139
|
+
Sa,
|
|
2140
2140
|
{
|
|
2141
2141
|
logo: `https://olimpo.bet${g.background ? g.background : ($ = g.logo) != null ? $ : ""}`,
|
|
2142
2142
|
provider: g.provider,
|
|
2143
2143
|
providerName: g.web_name,
|
|
2144
2144
|
machine: g.machine,
|
|
2145
|
-
onClick: () =>
|
|
2145
|
+
onClick: () => w(g)
|
|
2146
2146
|
},
|
|
2147
2147
|
cn(g, C)
|
|
2148
2148
|
);
|
|
2149
2149
|
})
|
|
2150
2150
|
}
|
|
2151
2151
|
),
|
|
2152
|
-
/* @__PURE__ */ t(
|
|
2152
|
+
/* @__PURE__ */ t(P, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ t(
|
|
2153
2153
|
Y,
|
|
2154
2154
|
{
|
|
2155
2155
|
variant: "primary",
|
|
@@ -2216,11 +2216,11 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2216
2216
|
gridSize: s = 1,
|
|
2217
2217
|
isPersonalize: c = !1
|
|
2218
2218
|
}) => {
|
|
2219
|
-
const p = ae(), h = ne(), u = le(), m = V(null), [d, f] = X({ isStart: !0, isEnd: !1 }), v = mn(c), { resolvedItems:
|
|
2219
|
+
const p = ae(), h = ne(), u = le(), m = V(null), [d, f] = X({ isStart: !0, isEnd: !1 }), v = mn(c), { resolvedItems: w, loading: x } = rn(
|
|
2220
2220
|
e,
|
|
2221
2221
|
v
|
|
2222
|
-
), g = v ?
|
|
2223
|
-
var
|
|
2222
|
+
), g = v ? w : Array.isArray(e) ? e : [], C = () => {
|
|
2223
|
+
var E;
|
|
2224
2224
|
p({
|
|
2225
2225
|
element: "casino_prev",
|
|
2226
2226
|
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
|
|
@@ -2231,9 +2231,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2231
2231
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2232
2232
|
},
|
|
2233
2233
|
tags: { section: "OraculoSeccionCasino" }
|
|
2234
|
-
}), (
|
|
2234
|
+
}), (E = m.current) == null || E.prev();
|
|
2235
2235
|
}, $ = () => {
|
|
2236
|
-
var
|
|
2236
|
+
var E;
|
|
2237
2237
|
p({
|
|
2238
2238
|
element: "casino_next",
|
|
2239
2239
|
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
|
|
@@ -2244,8 +2244,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2244
2244
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2245
2245
|
},
|
|
2246
2246
|
tags: { section: "OraculoSeccionCasino" }
|
|
2247
|
-
}), (
|
|
2248
|
-
},
|
|
2247
|
+
}), (E = m.current) == null || E.next();
|
|
2248
|
+
}, q = () => {
|
|
2249
2249
|
if (p({
|
|
2250
2250
|
element: "casino_view_more",
|
|
2251
2251
|
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
|
|
@@ -2261,16 +2261,16 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2261
2261
|
return;
|
|
2262
2262
|
}
|
|
2263
2263
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
|
|
2264
|
-
}, _ = (
|
|
2265
|
-
const
|
|
2264
|
+
}, _ = (E = !0, b = 4) => {
|
|
2265
|
+
const O = (B) => Array.from({ length: B }, (A, U) => ({
|
|
2266
2266
|
id: `sk-${B}-${U}`,
|
|
2267
2267
|
imageUrl: ""
|
|
2268
|
-
})),
|
|
2269
|
-
return
|
|
2270
|
-
}, N = v ? x : !Array.isArray(e) || e.length === 0,
|
|
2268
|
+
})), L = [];
|
|
2269
|
+
return E && L.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), L.push({ id: "grid-loading", kind: "grid", items: O(b) }), L;
|
|
2270
|
+
}, N = v ? x : !Array.isArray(e) || e.length === 0, z = De("(max-width:950px)"), D = N ? _(i, s) : pn(g, i, s);
|
|
2271
2271
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2272
2272
|
/* @__PURE__ */ y(
|
|
2273
|
-
|
|
2273
|
+
P,
|
|
2274
2274
|
{
|
|
2275
2275
|
sx: {
|
|
2276
2276
|
display: "grid",
|
|
@@ -2285,7 +2285,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2285
2285
|
},
|
|
2286
2286
|
children: [
|
|
2287
2287
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
2288
|
-
/* @__PURE__ */ y(
|
|
2288
|
+
/* @__PURE__ */ y(P, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2289
2289
|
/* @__PURE__ */ t(
|
|
2290
2290
|
Y,
|
|
2291
2291
|
{
|
|
@@ -2309,7 +2309,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2309
2309
|
}
|
|
2310
2310
|
)
|
|
2311
2311
|
] }),
|
|
2312
|
-
/* @__PURE__ */ t(
|
|
2312
|
+
/* @__PURE__ */ t(P, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: q, children: "Ver más" }) })
|
|
2313
2313
|
]
|
|
2314
2314
|
}
|
|
2315
2315
|
),
|
|
@@ -2322,7 +2322,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2322
2322
|
gap: "16px",
|
|
2323
2323
|
enableHorizontalWheel: !0,
|
|
2324
2324
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2325
|
-
showRightGradient: !
|
|
2325
|
+
showRightGradient: !z,
|
|
2326
2326
|
breakpoints: {
|
|
2327
2327
|
400: {
|
|
2328
2328
|
gap: "4px",
|
|
@@ -2340,38 +2340,38 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2340
2340
|
padding: { left: "24px", right: "24px" }
|
|
2341
2341
|
}
|
|
2342
2342
|
},
|
|
2343
|
-
renderItem: (
|
|
2343
|
+
renderItem: (E) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2344
2344
|
ft,
|
|
2345
2345
|
{
|
|
2346
|
-
items:
|
|
2347
|
-
layout:
|
|
2346
|
+
items: E.items,
|
|
2347
|
+
layout: E.kind === "mosaic" ? "mosaic" : "grid",
|
|
2348
2348
|
loading: N,
|
|
2349
2349
|
onClick: (b) => {
|
|
2350
2350
|
if (N) return;
|
|
2351
|
-
const
|
|
2351
|
+
const O = g.find(
|
|
2352
2352
|
(A, U) => String(xt(A, U)) === String(b.id)
|
|
2353
2353
|
);
|
|
2354
|
-
if (!
|
|
2355
|
-
o == null || o(
|
|
2354
|
+
if (!O) return;
|
|
2355
|
+
o == null || o(O), p({
|
|
2356
2356
|
element: "casino_game_card",
|
|
2357
|
-
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(
|
|
2358
|
-
target: String(
|
|
2357
|
+
label: `${h} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
|
|
2358
|
+
target: String(O.machine || "unknown"),
|
|
2359
2359
|
event_type: "click",
|
|
2360
2360
|
module_id: u,
|
|
2361
2361
|
metadata: {
|
|
2362
2362
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2363
2363
|
},
|
|
2364
2364
|
tags: {
|
|
2365
|
-
game_name: String(
|
|
2365
|
+
game_name: String(O.machine || "unknown"),
|
|
2366
2366
|
section: a || "Casino"
|
|
2367
2367
|
}
|
|
2368
2368
|
});
|
|
2369
|
-
const
|
|
2370
|
-
|
|
2369
|
+
const L = se("showIframe"), B = se("loadMachine");
|
|
2370
|
+
L == null || L(), B == null || B(O, !1, "CASINO");
|
|
2371
2371
|
}
|
|
2372
2372
|
}
|
|
2373
2373
|
) }),
|
|
2374
|
-
onMove: ({ isStart:
|
|
2374
|
+
onMove: ({ isStart: E, isEnd: b }) => f({ isStart: E, isEnd: b })
|
|
2375
2375
|
}
|
|
2376
2376
|
)
|
|
2377
2377
|
] }) });
|
|
@@ -2385,14 +2385,14 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2385
2385
|
return e.value.toLowerCase() === "true";
|
|
2386
2386
|
}
|
|
2387
2387
|
return !1;
|
|
2388
|
-
},
|
|
2388
|
+
}, St = (e, a) => {
|
|
2389
2389
|
var n, o;
|
|
2390
2390
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2391
2391
|
}, hn = (e, a = !0, n = 1) => {
|
|
2392
2392
|
const o = e.map((s, c) => {
|
|
2393
2393
|
var p;
|
|
2394
2394
|
return {
|
|
2395
|
-
id:
|
|
2395
|
+
id: St(s, c),
|
|
2396
2396
|
imageUrl: (p = s.logo) != null ? p : "",
|
|
2397
2397
|
...s.background ? { background: s.background } : {}
|
|
2398
2398
|
};
|
|
@@ -2441,10 +2441,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2441
2441
|
gridSize: s = 1,
|
|
2442
2442
|
isPersonalize: c = !1
|
|
2443
2443
|
}) => {
|
|
2444
|
-
const p = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), f = le(), v = gn(c), { resolvedItems:
|
|
2444
|
+
const p = V(null), [h, u] = X({ isStart: !0, isEnd: !1 }), m = ae(), d = ne(), f = le(), v = gn(c), { resolvedItems: w, loading: x } = sn(
|
|
2445
2445
|
e,
|
|
2446
2446
|
v
|
|
2447
|
-
), g = v ?
|
|
2447
|
+
), g = v ? w : Array.isArray(e) ? e : [], C = () => {
|
|
2448
2448
|
var D;
|
|
2449
2449
|
m({
|
|
2450
2450
|
element: "virtuales_prev",
|
|
@@ -2470,7 +2470,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2470
2470
|
},
|
|
2471
2471
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2472
2472
|
}), (D = p.current) == null || D.next();
|
|
2473
|
-
},
|
|
2473
|
+
}, q = () => {
|
|
2474
2474
|
if (m({
|
|
2475
2475
|
element: "virtuales_view_more",
|
|
2476
2476
|
label: `${d} - OraculoSeccionVirtuales${v ? " - personalize" : ""} - Ver más`,
|
|
@@ -2486,10 +2486,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2486
2486
|
return;
|
|
2487
2487
|
}
|
|
2488
2488
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2489
|
-
}, _ = v ? x : !Array.isArray(e) || e.length === 0, N = xe("(max-width:950px)"),
|
|
2489
|
+
}, _ = v ? x : !Array.isArray(e) || e.length === 0, N = xe("(max-width:950px)"), z = _ ? bn(i, s) : hn(g, i, s);
|
|
2490
2490
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2491
2491
|
/* @__PURE__ */ y(
|
|
2492
|
-
|
|
2492
|
+
P,
|
|
2493
2493
|
{
|
|
2494
2494
|
sx: {
|
|
2495
2495
|
display: "grid",
|
|
@@ -2504,7 +2504,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2504
2504
|
},
|
|
2505
2505
|
children: [
|
|
2506
2506
|
/* @__PURE__ */ t(ge, { title: a, iconUrl: n, size: "md" }),
|
|
2507
|
-
/* @__PURE__ */ y(
|
|
2507
|
+
/* @__PURE__ */ y(P, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2508
2508
|
/* @__PURE__ */ t(
|
|
2509
2509
|
Y,
|
|
2510
2510
|
{
|
|
@@ -2528,7 +2528,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2528
2528
|
}
|
|
2529
2529
|
)
|
|
2530
2530
|
] }),
|
|
2531
|
-
/* @__PURE__ */ t(
|
|
2531
|
+
/* @__PURE__ */ t(P, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ t(Y, { variant: "secondary", onClick: q, children: "Ver más" }) })
|
|
2532
2532
|
]
|
|
2533
2533
|
}
|
|
2534
2534
|
),
|
|
@@ -2536,7 +2536,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2536
2536
|
he,
|
|
2537
2537
|
{
|
|
2538
2538
|
ref: p,
|
|
2539
|
-
items:
|
|
2539
|
+
items: z,
|
|
2540
2540
|
perPage: void 0,
|
|
2541
2541
|
gap: "16px",
|
|
2542
2542
|
breakpoints: {
|
|
@@ -2565,15 +2565,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2565
2565
|
items: D.items,
|
|
2566
2566
|
layout: D.kind === "mosaic" ? "mosaic" : "grid",
|
|
2567
2567
|
loading: _,
|
|
2568
|
-
onClick: (
|
|
2568
|
+
onClick: (E) => {
|
|
2569
2569
|
if (_) return;
|
|
2570
2570
|
const b = g.find(
|
|
2571
|
-
(B, A) => String(
|
|
2571
|
+
(B, A) => String(St(B, A)) === String(E.id)
|
|
2572
2572
|
);
|
|
2573
2573
|
if (!b) {
|
|
2574
2574
|
console.warn(
|
|
2575
2575
|
"[virtuales] no se encontró game para id:",
|
|
2576
|
-
|
|
2576
|
+
E.id
|
|
2577
2577
|
);
|
|
2578
2578
|
return;
|
|
2579
2579
|
}
|
|
@@ -2591,8 +2591,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2591
2591
|
section: a || "Virtuales"
|
|
2592
2592
|
}
|
|
2593
2593
|
});
|
|
2594
|
-
const
|
|
2595
|
-
|
|
2594
|
+
const O = se("showIframe"), L = se("loadMachine");
|
|
2595
|
+
O == null || O(), L == null || L(
|
|
2596
2596
|
b,
|
|
2597
2597
|
!1,
|
|
2598
2598
|
v ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
|
|
@@ -2600,7 +2600,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2600
2600
|
}
|
|
2601
2601
|
}
|
|
2602
2602
|
) }),
|
|
2603
|
-
onMove: ({ isStart: D, isEnd:
|
|
2603
|
+
onMove: ({ isStart: D, isEnd: E }) => u({ isStart: D, isEnd: E })
|
|
2604
2604
|
}
|
|
2605
2605
|
)
|
|
2606
2606
|
] }) });
|
|
@@ -2642,7 +2642,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2642
2642
|
items: n,
|
|
2643
2643
|
backgroundImageUrl: o
|
|
2644
2644
|
}) => {
|
|
2645
|
-
const r = ae(), i = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, p = V(null), h = V(null), u = V(!1), m = V(!1), [d, f] = X(0), [v,
|
|
2645
|
+
const r = ae(), i = ne(), s = xe("(max-width: 767px)"), c = n.length > 1, p = V(null), h = V(null), u = V(!1), m = V(!1), [d, f] = X(0), [v, w] = X({ isStart: !0, isEnd: !1 });
|
|
2646
2646
|
Q(() => {
|
|
2647
2647
|
const b = setTimeout(() => {
|
|
2648
2648
|
u.current = !0;
|
|
@@ -2653,22 +2653,22 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2653
2653
|
Q(() => {
|
|
2654
2654
|
x.current = v;
|
|
2655
2655
|
}, [v]);
|
|
2656
|
-
const g = V(!1), C = V(null), $ = n == null ? void 0 : n[d],
|
|
2656
|
+
const g = V(!1), C = V(null), $ = n == null ? void 0 : n[d], q = re(
|
|
2657
2657
|
() => {
|
|
2658
|
-
var b,
|
|
2659
|
-
return (
|
|
2658
|
+
var b, O;
|
|
2659
|
+
return (O = (b = $ == null ? void 0 : $.backgroundImageUrl) != null ? b : o) != null ? O : "";
|
|
2660
2660
|
},
|
|
2661
2661
|
[$, o]
|
|
2662
|
-
), _ = _n(
|
|
2662
|
+
), _ = _n(q), N = !n || n.length === 0, z = (b, O) => {
|
|
2663
2663
|
r({
|
|
2664
2664
|
element: "welcome_banner_button",
|
|
2665
|
-
label: `OraculoSeccionBonoBienvenida - Banner button click: ${b.title || "OraculoSeccionBonoBienvenida - Banner " + (
|
|
2665
|
+
label: `OraculoSeccionBonoBienvenida - Banner button click: ${b.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
|
|
2666
2666
|
target: "action",
|
|
2667
2667
|
event_type: "click",
|
|
2668
2668
|
module_id: 301,
|
|
2669
2669
|
metadata: {
|
|
2670
2670
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2671
|
-
banner_position:
|
|
2671
|
+
banner_position: O + 1,
|
|
2672
2672
|
banner_total: (n == null ? void 0 : n.length) || 0
|
|
2673
2673
|
},
|
|
2674
2674
|
tags: {
|
|
@@ -2682,10 +2682,10 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2682
2682
|
m.current = !1;
|
|
2683
2683
|
return;
|
|
2684
2684
|
}
|
|
2685
|
-
const
|
|
2685
|
+
const O = n == null ? void 0 : n[b];
|
|
2686
2686
|
r({
|
|
2687
2687
|
element: "welcome_banner_carousel",
|
|
2688
|
-
label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(
|
|
2688
|
+
label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (b + 1)}`,
|
|
2689
2689
|
target: "no_url",
|
|
2690
2690
|
event_type: "view",
|
|
2691
2691
|
module_id: 301,
|
|
@@ -2697,32 +2697,32 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2697
2697
|
},
|
|
2698
2698
|
tags: {
|
|
2699
2699
|
banner_position: String(b + 1),
|
|
2700
|
-
banner_title: (
|
|
2700
|
+
banner_title: (O == null ? void 0 : O.title) || "no_title"
|
|
2701
2701
|
}
|
|
2702
2702
|
});
|
|
2703
2703
|
};
|
|
2704
2704
|
Q(() => {
|
|
2705
2705
|
const b = h.current;
|
|
2706
2706
|
if (!b) return;
|
|
2707
|
-
const
|
|
2708
|
-
var K,
|
|
2707
|
+
const O = 6, L = 380, B = (A) => {
|
|
2708
|
+
var K, S;
|
|
2709
2709
|
if (N || A.ctrlKey || g.current) return;
|
|
2710
2710
|
const U = A.deltaX, W = A.deltaY;
|
|
2711
|
-
if (Math.abs(U) <= Math.abs(W) || Math.abs(U) <
|
|
2711
|
+
if (Math.abs(U) <= Math.abs(W) || Math.abs(U) < O) return;
|
|
2712
2712
|
const G = U > 0;
|
|
2713
|
-
G && x.current.isEnd || !G && x.current.isStart || (A.preventDefault(), g.current = !0, G ? (K = p.current) == null || K.next() : (
|
|
2713
|
+
G && x.current.isEnd || !G && x.current.isStart || (A.preventDefault(), g.current = !0, G ? (K = p.current) == null || K.next() : (S = p.current) == null || S.prev(), C.current && window.clearTimeout(C.current), C.current = window.setTimeout(() => {
|
|
2714
2714
|
g.current = !1;
|
|
2715
|
-
},
|
|
2715
|
+
}, L));
|
|
2716
2716
|
};
|
|
2717
2717
|
return b.addEventListener("wheel", B, { passive: !1 }), () => {
|
|
2718
2718
|
b.removeEventListener("wheel", B), C.current && window.clearTimeout(C.current);
|
|
2719
2719
|
};
|
|
2720
2720
|
}, [N]);
|
|
2721
|
-
const
|
|
2721
|
+
const E = (b, O, L) => {
|
|
2722
2722
|
var U, W;
|
|
2723
2723
|
const B = (U = b.headline) != null ? U : e, A = (W = b.headline2) != null ? W : a;
|
|
2724
|
-
return
|
|
2725
|
-
|
|
2724
|
+
return O ? /* @__PURE__ */ y(
|
|
2725
|
+
P,
|
|
2726
2726
|
{
|
|
2727
2727
|
sx: {
|
|
2728
2728
|
maxWidth: 1200,
|
|
@@ -2735,7 +2735,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2735
2735
|
},
|
|
2736
2736
|
children: [
|
|
2737
2737
|
(B || A) && /* @__PURE__ */ t(
|
|
2738
|
-
|
|
2738
|
+
P,
|
|
2739
2739
|
{
|
|
2740
2740
|
sx: {
|
|
2741
2741
|
display: "flex",
|
|
@@ -2743,7 +2743,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2743
2743
|
justifyContent: "flex-start",
|
|
2744
2744
|
minHeight: "100%"
|
|
2745
2745
|
},
|
|
2746
|
-
children: /* @__PURE__ */ y(
|
|
2746
|
+
children: /* @__PURE__ */ y(P, { sx: { ...Qe, textAlign: "left", mb: 0 }, children: [
|
|
2747
2747
|
B && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: B }),
|
|
2748
2748
|
A && /* @__PURE__ */ y(pe, { children: [
|
|
2749
2749
|
/* @__PURE__ */ t("br", {}),
|
|
@@ -2752,35 +2752,35 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2752
2752
|
] })
|
|
2753
2753
|
}
|
|
2754
2754
|
),
|
|
2755
|
-
/* @__PURE__ */ t(
|
|
2755
|
+
/* @__PURE__ */ t(P, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(P, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
|
|
2756
2756
|
Je,
|
|
2757
2757
|
{
|
|
2758
2758
|
...b,
|
|
2759
|
-
onButtonClick: () =>
|
|
2759
|
+
onButtonClick: () => z(b, L),
|
|
2760
2760
|
variant: "large"
|
|
2761
2761
|
}
|
|
2762
2762
|
) }) })
|
|
2763
2763
|
]
|
|
2764
2764
|
}
|
|
2765
|
-
) : /* @__PURE__ */ y(
|
|
2766
|
-
(B || A) && /* @__PURE__ */ y(
|
|
2765
|
+
) : /* @__PURE__ */ y(P, { sx: { textAlign: "center" }, children: [
|
|
2766
|
+
(B || A) && /* @__PURE__ */ y(P, { sx: Qe, children: [
|
|
2767
2767
|
B && /* @__PURE__ */ t(ue, { component: "span", sx: et, children: B }),
|
|
2768
2768
|
A && /* @__PURE__ */ y(pe, { children: [
|
|
2769
2769
|
/* @__PURE__ */ t("br", {}),
|
|
2770
2770
|
/* @__PURE__ */ t(ue, { component: "span", sx: tt, children: A })
|
|
2771
2771
|
] })
|
|
2772
2772
|
] }),
|
|
2773
|
-
/* @__PURE__ */ t(
|
|
2773
|
+
/* @__PURE__ */ t(P, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
2774
2774
|
Je,
|
|
2775
2775
|
{
|
|
2776
2776
|
...b,
|
|
2777
|
-
onButtonClick: () =>
|
|
2777
|
+
onButtonClick: () => z(b, L),
|
|
2778
2778
|
variant: "small"
|
|
2779
2779
|
}
|
|
2780
2780
|
) })
|
|
2781
2781
|
] });
|
|
2782
2782
|
};
|
|
2783
|
-
return /* @__PURE__ */ y(
|
|
2783
|
+
return /* @__PURE__ */ y(P, { component: "section", sx: _, children: [
|
|
2784
2784
|
/* @__PURE__ */ t("div", { ref: h, style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
2785
2785
|
he,
|
|
2786
2786
|
{
|
|
@@ -2798,19 +2798,19 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2798
2798
|
// arrows: false,
|
|
2799
2799
|
// drag: true,
|
|
2800
2800
|
},
|
|
2801
|
-
renderItem: (b,
|
|
2802
|
-
onMove: ({ index: b, isStart:
|
|
2803
|
-
f(b), typeof
|
|
2801
|
+
renderItem: (b, O) => /* @__PURE__ */ t(P, { sx: { width: "100%" }, children: E(b, !s, O) }),
|
|
2802
|
+
onMove: ({ index: b, isStart: O, isEnd: L, source: B }) => {
|
|
2803
|
+
f(b), typeof O == "boolean" && typeof L == "boolean" && w({ isStart: O, isEnd: L }), B === "user" && D(b);
|
|
2804
2804
|
}
|
|
2805
2805
|
}
|
|
2806
2806
|
) }),
|
|
2807
|
-
c && /* @__PURE__ */ t(
|
|
2807
|
+
c && /* @__PURE__ */ t(P, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
2808
2808
|
dt,
|
|
2809
2809
|
{
|
|
2810
2810
|
total: n.length,
|
|
2811
2811
|
active: d,
|
|
2812
2812
|
onSelect: (b) => {
|
|
2813
|
-
var
|
|
2813
|
+
var O;
|
|
2814
2814
|
r({
|
|
2815
2815
|
element: "welcome_banner_dots",
|
|
2816
2816
|
label: `Landing: ${i} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${b + 1}`,
|
|
@@ -2825,7 +2825,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2825
2825
|
tags: {
|
|
2826
2826
|
navigation_type: "dot_click"
|
|
2827
2827
|
}
|
|
2828
|
-
}), f(b), (
|
|
2828
|
+
}), f(b), (O = p.current) == null || O.go(b);
|
|
2829
2829
|
}
|
|
2830
2830
|
}
|
|
2831
2831
|
) })
|
|
@@ -2841,15 +2841,15 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2841
2841
|
const s = V(null), c = V(null), p = ae(), h = ne(), u = le();
|
|
2842
2842
|
if (!n) return null;
|
|
2843
2843
|
const m = async () => {
|
|
2844
|
-
let
|
|
2845
|
-
if ((!(
|
|
2844
|
+
let w = i;
|
|
2845
|
+
if ((!(w != null && w.user) || !(w != null && w.session)) && typeof window != "undefined")
|
|
2846
2846
|
try {
|
|
2847
2847
|
const x = localStorage.getItem("user");
|
|
2848
|
-
x && (
|
|
2848
|
+
x && (w = JSON.parse(x));
|
|
2849
2849
|
} catch (x) {
|
|
2850
2850
|
console.error("[getMarketPlaceUrl] Error parsing localStorage user", x);
|
|
2851
2851
|
}
|
|
2852
|
-
if (!(
|
|
2852
|
+
if (!(w != null && w.user) || !(w != null && w.session))
|
|
2853
2853
|
return console.warn("User data missing"), null;
|
|
2854
2854
|
p({
|
|
2855
2855
|
element: "club_olimpo_button",
|
|
@@ -2864,8 +2864,8 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2864
2864
|
});
|
|
2865
2865
|
try {
|
|
2866
2866
|
const x = {
|
|
2867
|
-
idUsuario: "PE" +
|
|
2868
|
-
session_id:
|
|
2867
|
+
idUsuario: "PE" + w.user,
|
|
2868
|
+
session_id: w.session,
|
|
2869
2869
|
pagina: "home"
|
|
2870
2870
|
}, C = await fetch("https://apipe.mktolimpo.com/api/pm/token", {
|
|
2871
2871
|
method: "POST",
|
|
@@ -2883,13 +2883,13 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2883
2883
|
return console.error("[getMarketPlaceUrl]", x), null;
|
|
2884
2884
|
}
|
|
2885
2885
|
}, d = async () => {
|
|
2886
|
-
const
|
|
2887
|
-
|
|
2886
|
+
const w = await m();
|
|
2887
|
+
w ? window.location.href = w : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
2888
2888
|
}, f = Array.isArray(n) ? n[o] : n;
|
|
2889
2889
|
Mt(() => {
|
|
2890
2890
|
if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
|
|
2891
|
-
const
|
|
2892
|
-
|
|
2891
|
+
const w = s.current, x = c.current, g = () => {
|
|
2892
|
+
w.style.setProperty(
|
|
2893
2893
|
"--orc-co-bottomH",
|
|
2894
2894
|
`${x.offsetHeight + 16}px`
|
|
2895
2895
|
);
|
|
@@ -2908,7 +2908,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2908
2908
|
className: v,
|
|
2909
2909
|
"aria-label": r || f.imgAlt || "Club Olimpo",
|
|
2910
2910
|
children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
|
|
2911
|
-
|
|
2911
|
+
wa,
|
|
2912
2912
|
{
|
|
2913
2913
|
text: f.text,
|
|
2914
2914
|
onClick: d,
|
|
@@ -2921,9 +2921,9 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2921
2921
|
) })
|
|
2922
2922
|
}
|
|
2923
2923
|
);
|
|
2924
|
-
},
|
|
2925
|
-
controls:
|
|
2926
|
-
padding:
|
|
2924
|
+
}, Sn = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", wn = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
|
|
2925
|
+
controls: Sn,
|
|
2926
|
+
padding: wn
|
|
2927
2927
|
}, In = (e) => {
|
|
2928
2928
|
var a, n;
|
|
2929
2929
|
return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
|
|
@@ -2931,7 +2931,7 @@ const en = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2931
2931
|
return (i = (r = o.outcomes) == null ? void 0 : r.map((s) => s.id)) != null ? i : [];
|
|
2932
2932
|
}) : [];
|
|
2933
2933
|
};
|
|
2934
|
-
function
|
|
2934
|
+
function On(e, a, n) {
|
|
2935
2935
|
return n ? n.map((o) => {
|
|
2936
2936
|
var u, m;
|
|
2937
2937
|
const r = o.prePackCouponRows.flatMap((d) => In(d).map((f) => ({ eventId: d.eventId, outcomeId: f }))), i = new Set(r.map((d) => d.eventId)), s = new Set(r.map((d) => d.outcomeId)), c = new Map(r.map((d, f) => [d.outcomeId, f])), p = {};
|
|
@@ -2947,12 +2947,12 @@ function En(e, a, n) {
|
|
|
2947
2947
|
return {
|
|
2948
2948
|
couponId: o.id,
|
|
2949
2949
|
status: o.status,
|
|
2950
|
-
combinadoTotal:
|
|
2950
|
+
combinadoTotal: En(o.prePackCouponRows),
|
|
2951
2951
|
events: h
|
|
2952
2952
|
};
|
|
2953
2953
|
}) : [];
|
|
2954
2954
|
}
|
|
2955
|
-
function
|
|
2955
|
+
function En(e) {
|
|
2956
2956
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
2957
2957
|
let a = 1;
|
|
2958
2958
|
for (const n of e) {
|
|
@@ -2961,11 +2961,11 @@ function On(e) {
|
|
|
2961
2961
|
}
|
|
2962
2962
|
return Math.floor(a * 100) / 100;
|
|
2963
2963
|
}
|
|
2964
|
-
const Cn = fe.memo(
|
|
2964
|
+
const Cn = fe.memo(La);
|
|
2965
2965
|
function Tn({
|
|
2966
2966
|
items: e,
|
|
2967
2967
|
title: a = "Combinadas del Olimpo",
|
|
2968
|
-
iconUrl: n = "https://
|
|
2968
|
+
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
|
|
2969
2969
|
onViewMore: o,
|
|
2970
2970
|
className: r = ""
|
|
2971
2971
|
}) {
|
|
@@ -2981,7 +2981,7 @@ function Tn({
|
|
|
2981
2981
|
},
|
|
2982
2982
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2983
2983
|
}), (_ = p.current) == null || _.prev();
|
|
2984
|
-
},
|
|
2984
|
+
}, w = () => {
|
|
2985
2985
|
var _;
|
|
2986
2986
|
i({
|
|
2987
2987
|
element: "evento_combinadas_next",
|
|
@@ -3003,26 +3003,26 @@ function Tn({
|
|
|
3003
3003
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3004
3004
|
},
|
|
3005
3005
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3006
|
-
}),
|
|
3006
|
+
}), Ra();
|
|
3007
3007
|
}, g = re(() => m.filter((_) => _.combinadoTotal !== null), [m]);
|
|
3008
3008
|
async function C() {
|
|
3009
|
-
var _, N,
|
|
3009
|
+
var _, N, z, D;
|
|
3010
3010
|
try {
|
|
3011
|
-
const b = await (await fetch(f)).json(),
|
|
3012
|
-
if (!
|
|
3011
|
+
const b = await (await fetch(f)).json(), O = (D = (z = (N = (_ = b == null ? void 0 : b.group) == null ? void 0 : _.groups) == null ? void 0 : N.map((U) => U.id)) == null ? void 0 : z.filter(Boolean)) == null ? void 0 : D.join(",");
|
|
3012
|
+
if (!O) {
|
|
3013
3013
|
console.error("Could not extract group ID");
|
|
3014
3014
|
return;
|
|
3015
3015
|
}
|
|
3016
|
-
const
|
|
3017
|
-
d(
|
|
3018
|
-
} catch (
|
|
3019
|
-
console.error("loadDataEventSpecial error:",
|
|
3016
|
+
const L = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, A = await (await fetch(L)).json();
|
|
3017
|
+
d(On(A.events, A.betOffers, A.prePackCoupons));
|
|
3018
|
+
} catch (E) {
|
|
3019
|
+
console.error("loadDataEventSpecial error:", E);
|
|
3020
3020
|
}
|
|
3021
3021
|
}
|
|
3022
3022
|
Q(() => {
|
|
3023
3023
|
C();
|
|
3024
3024
|
}, []);
|
|
3025
|
-
const $ = r || void 0,
|
|
3025
|
+
const $ = r || void 0, q = xe("(max-width:950px)");
|
|
3026
3026
|
return g.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
|
|
3027
3027
|
// paddingLeft: 16,
|
|
3028
3028
|
// paddingRight: 16,
|
|
@@ -3050,8 +3050,8 @@ function Tn({
|
|
|
3050
3050
|
ariaLabel: "Siguiente",
|
|
3051
3051
|
variant: "secondary",
|
|
3052
3052
|
iconOnly: !0,
|
|
3053
|
-
rightIcon: /* @__PURE__ */ t(
|
|
3054
|
-
onClick:
|
|
3053
|
+
rightIcon: /* @__PURE__ */ t(Re, {}),
|
|
3054
|
+
onClick: w,
|
|
3055
3055
|
disabled: h.isEnd
|
|
3056
3056
|
}
|
|
3057
3057
|
)
|
|
@@ -3069,7 +3069,7 @@ function Tn({
|
|
|
3069
3069
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
3070
3070
|
useIndexAsKey: !0,
|
|
3071
3071
|
enableHorizontalWheel: !0,
|
|
3072
|
-
showRightGradient: !
|
|
3072
|
+
showRightGradient: !q,
|
|
3073
3073
|
breakpoints: {
|
|
3074
3074
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3075
3075
|
},
|
|
@@ -3122,7 +3122,7 @@ function Be({ children: e }) {
|
|
|
3122
3122
|
const Mn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Bn = {
|
|
3123
3123
|
padding: Mn
|
|
3124
3124
|
};
|
|
3125
|
-
function
|
|
3125
|
+
function wt({
|
|
3126
3126
|
events: e,
|
|
3127
3127
|
visibleRange: a,
|
|
3128
3128
|
fetchJerseys: n,
|
|
@@ -3133,12 +3133,12 @@ function St({
|
|
|
3133
3133
|
return Q(() => {
|
|
3134
3134
|
if (!(!e || e.length === 0))
|
|
3135
3135
|
return h.current && clearTimeout(h.current), h.current = setTimeout(() => {
|
|
3136
|
-
var
|
|
3137
|
-
const m = (
|
|
3138
|
-
let
|
|
3136
|
+
var q, _;
|
|
3137
|
+
const m = (q = a.start) != null ? q : 0, d = (_ = a.end) != null ? _ : 7, f = Math.max(0, m - o), v = Math.min(e.length - 1, d + o);
|
|
3138
|
+
let w = f, x = v;
|
|
3139
3139
|
const g = u.current;
|
|
3140
|
-
g && (f > g.end && (
|
|
3141
|
-
const C = e.slice(
|
|
3140
|
+
g && (f > g.end && (w = g.end + 1), v < g.start && (x = g.start - 1)), u.current = { start: f, end: v };
|
|
3141
|
+
const C = e.slice(w, x + 1).map((N) => N == null ? void 0 : N.id).filter((N) => !!N).filter((N) => !c.current.has(N)).filter((N) => !(N in i));
|
|
3142
3142
|
if (C.length === 0) return;
|
|
3143
3143
|
C.forEach((N) => c.current.add(N));
|
|
3144
3144
|
const $ = ++p.current;
|
|
@@ -3156,14 +3156,14 @@ function St({
|
|
|
3156
3156
|
return;
|
|
3157
3157
|
}
|
|
3158
3158
|
s((D) => {
|
|
3159
|
-
const
|
|
3160
|
-
for (const [b,
|
|
3161
|
-
const
|
|
3162
|
-
|
|
3159
|
+
const E = { ...D };
|
|
3160
|
+
for (const [b, O] of Object.entries(N.events)) {
|
|
3161
|
+
const L = Number(b);
|
|
3162
|
+
E[L] || (E[L] = O);
|
|
3163
3163
|
}
|
|
3164
|
-
return
|
|
3164
|
+
return E;
|
|
3165
3165
|
});
|
|
3166
|
-
const
|
|
3166
|
+
const z = new Set(
|
|
3167
3167
|
Object.keys(N.events).map(Number)
|
|
3168
3168
|
);
|
|
3169
3169
|
C.forEach((D) => {
|
|
@@ -3171,7 +3171,7 @@ function St({
|
|
|
3171
3171
|
});
|
|
3172
3172
|
} catch (N) {
|
|
3173
3173
|
C.forEach(
|
|
3174
|
-
(
|
|
3174
|
+
(z) => c.current.delete(z)
|
|
3175
3175
|
), console.error("Jersey fetch error", N);
|
|
3176
3176
|
}
|
|
3177
3177
|
})();
|
|
@@ -3192,15 +3192,15 @@ const An = (e) => {
|
|
|
3192
3192
|
const r = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
|
|
3193
3193
|
return !a.some((c) => r.includes(c));
|
|
3194
3194
|
});
|
|
3195
|
-
},
|
|
3196
|
-
function
|
|
3195
|
+
}, Rn = fe.memo(Da);
|
|
3196
|
+
function Ln({
|
|
3197
3197
|
items: e,
|
|
3198
3198
|
title: a = "En vivo",
|
|
3199
|
-
iconUrl: n = "https://
|
|
3199
|
+
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
|
|
3200
3200
|
onViewMore: o,
|
|
3201
3201
|
className: r = ""
|
|
3202
3202
|
}) {
|
|
3203
|
-
const i = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), [h, u] = X(null), [m, d] = X({ start: null, end: null }), [f, v] = X(null),
|
|
3203
|
+
const i = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = V(null), [c, p] = X({ isStart: !0, isEnd: !1 }), [h, u] = X(null), [m, d] = X({ start: null, end: null }), [f, v] = X(null), w = V(!1), x = ae(), g = ne(), C = le(), $ = V(/* @__PURE__ */ new Map()), q = () => {
|
|
3204
3204
|
var B;
|
|
3205
3205
|
x({
|
|
3206
3206
|
element: "evento_en_vivo_prev",
|
|
@@ -3238,14 +3238,14 @@ function Rn({
|
|
|
3238
3238
|
},
|
|
3239
3239
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3240
3240
|
}), Ba();
|
|
3241
|
-
},
|
|
3241
|
+
}, z = Ce(async () => {
|
|
3242
3242
|
var B;
|
|
3243
3243
|
try {
|
|
3244
|
-
if (!
|
|
3245
|
-
|
|
3244
|
+
if (!w.current) {
|
|
3245
|
+
w.current = !0;
|
|
3246
3246
|
try {
|
|
3247
|
-
const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(),
|
|
3248
|
-
|
|
3247
|
+
const K = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), S = ((B = K == null ? void 0 : K.data) == null ? void 0 : B.event_ids) || [], R = /* @__PURE__ */ new Map();
|
|
3248
|
+
S.forEach((Z, l) => R.set(String(Z), l)), $.current = R;
|
|
3249
3249
|
} catch (G) {
|
|
3250
3250
|
console.error("Order fetch failed, using default sorting", G);
|
|
3251
3251
|
}
|
|
@@ -3256,9 +3256,9 @@ function Rn({
|
|
|
3256
3256
|
if ($.current.size === 0)
|
|
3257
3257
|
u(W);
|
|
3258
3258
|
else {
|
|
3259
|
-
const G = [...W].sort((K,
|
|
3260
|
-
const
|
|
3261
|
-
return (
|
|
3259
|
+
const G = [...W].sort((K, S) => {
|
|
3260
|
+
const R = $.current.get(String(K.event.id)), Z = $.current.get(String(S.event.id));
|
|
3261
|
+
return (R !== void 0 ? R : 1 / 0) - (Z !== void 0 ? Z : 1 / 0);
|
|
3262
3262
|
});
|
|
3263
3263
|
u(G);
|
|
3264
3264
|
}
|
|
@@ -3267,11 +3267,11 @@ function Rn({
|
|
|
3267
3267
|
}
|
|
3268
3268
|
}, []);
|
|
3269
3269
|
Q(() => {
|
|
3270
|
-
|
|
3271
|
-
const B = setInterval(
|
|
3270
|
+
z();
|
|
3271
|
+
const B = setInterval(z, 2e4);
|
|
3272
3272
|
return () => clearInterval(B);
|
|
3273
|
-
}, [
|
|
3274
|
-
const { jerseys: D } =
|
|
3273
|
+
}, [z]);
|
|
3274
|
+
const { jerseys: D } = wt({
|
|
3275
3275
|
events: (h == null ? void 0 : h.map((B) => B.event)) || [],
|
|
3276
3276
|
// extract actual event objects
|
|
3277
3277
|
visibleRange: m,
|
|
@@ -3280,8 +3280,8 @@ function Rn({
|
|
|
3280
3280
|
// same as your previous BUFFER
|
|
3281
3281
|
debounceMs: 300
|
|
3282
3282
|
// same as your previous debouncedVisibleRange
|
|
3283
|
-
}),
|
|
3284
|
-
return !b && h.length === 0 ? null : /* @__PURE__ */ t("section", { className:
|
|
3283
|
+
}), E = r || void 0, b = h === null, O = re(() => b ? Array(4).fill({}) : (h == null ? void 0 : h.slice(0, 20)) || [], [b, h]), L = xe("(max-width:950px)");
|
|
3284
|
+
return !b && h.length === 0 ? null : /* @__PURE__ */ t("section", { className: E, style: {
|
|
3285
3285
|
// paddingLeft: 16,
|
|
3286
3286
|
// paddingRight: 16,
|
|
3287
3287
|
width: "100%",
|
|
@@ -3298,7 +3298,7 @@ function Rn({
|
|
|
3298
3298
|
variant: "secondary",
|
|
3299
3299
|
iconOnly: !0,
|
|
3300
3300
|
leftIcon: /* @__PURE__ */ t(Ae, {}),
|
|
3301
|
-
onClick:
|
|
3301
|
+
onClick: q,
|
|
3302
3302
|
disabled: c.isStart
|
|
3303
3303
|
}
|
|
3304
3304
|
),
|
|
@@ -3308,7 +3308,7 @@ function Rn({
|
|
|
3308
3308
|
ariaLabel: "Siguiente",
|
|
3309
3309
|
variant: "secondary",
|
|
3310
3310
|
iconOnly: !0,
|
|
3311
|
-
rightIcon: /* @__PURE__ */ t(
|
|
3311
|
+
rightIcon: /* @__PURE__ */ t(Re, {}),
|
|
3312
3312
|
onClick: _,
|
|
3313
3313
|
disabled: c.isEnd
|
|
3314
3314
|
}
|
|
@@ -3321,9 +3321,9 @@ function Rn({
|
|
|
3321
3321
|
he,
|
|
3322
3322
|
{
|
|
3323
3323
|
ref: s,
|
|
3324
|
-
items:
|
|
3324
|
+
items: O,
|
|
3325
3325
|
perPage: void 0,
|
|
3326
|
-
showRightGradient: !
|
|
3326
|
+
showRightGradient: !L,
|
|
3327
3327
|
enableHorizontalWheel: !0,
|
|
3328
3328
|
gap: "16px",
|
|
3329
3329
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
@@ -3336,7 +3336,7 @@ function Rn({
|
|
|
3336
3336
|
var W;
|
|
3337
3337
|
const A = ((W = B.event) == null ? void 0 : W.id) || B.eventId, U = A in D ? D[A] : void 0;
|
|
3338
3338
|
return b ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(kn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
|
|
3339
|
-
|
|
3339
|
+
Rn,
|
|
3340
3340
|
{
|
|
3341
3341
|
...B,
|
|
3342
3342
|
jersey: U
|
|
@@ -3352,7 +3352,7 @@ function Rn({
|
|
|
3352
3352
|
)
|
|
3353
3353
|
] }) });
|
|
3354
3354
|
}
|
|
3355
|
-
function
|
|
3355
|
+
function Fn() {
|
|
3356
3356
|
return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
|
|
3357
3357
|
/* @__PURE__ */ t(mt, { title: "" }),
|
|
3358
3358
|
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
@@ -3380,10 +3380,10 @@ function Pn() {
|
|
|
3380
3380
|
] }) })
|
|
3381
3381
|
] });
|
|
3382
3382
|
}
|
|
3383
|
-
const
|
|
3384
|
-
wrapper:
|
|
3385
|
-
container:
|
|
3386
|
-
buttonWrapper:
|
|
3383
|
+
const qn = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", zn = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Pn = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Dn = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Ie = {
|
|
3384
|
+
wrapper: qn,
|
|
3385
|
+
container: zn,
|
|
3386
|
+
buttonWrapper: Pn,
|
|
3387
3387
|
padding: Dn
|
|
3388
3388
|
}, Un = fe.memo(Za);
|
|
3389
3389
|
async function Vn(e, a = 2, n) {
|
|
@@ -3428,7 +3428,7 @@ function Hn({
|
|
|
3428
3428
|
onViewMore: o,
|
|
3429
3429
|
className: r = ""
|
|
3430
3430
|
}) {
|
|
3431
|
-
const i = ae(), s = ne(), c = le(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, m] = X({ isStart: !0, isEnd: !1 }), [d, f] = X(null), [v,
|
|
3431
|
+
const i = ae(), s = ne(), c = le(), p = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", h = V(null), [u, m] = X({ isStart: !0, isEnd: !1 }), [d, f] = X(null), [v, w] = X({ start: null, end: null }), x = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", g = () => {
|
|
3432
3432
|
i({
|
|
3433
3433
|
element: "evento_semana_view_more",
|
|
3434
3434
|
label: `${s} - OraculoSeccionEventoSemana - Ver más`,
|
|
@@ -3441,24 +3441,24 @@ function Hn({
|
|
|
3441
3441
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3442
3442
|
}), Aa();
|
|
3443
3443
|
};
|
|
3444
|
-
async function C(
|
|
3445
|
-
var
|
|
3446
|
-
let b = [],
|
|
3444
|
+
async function C(E) {
|
|
3445
|
+
var L, B;
|
|
3446
|
+
let b = [], O = [];
|
|
3447
3447
|
try {
|
|
3448
3448
|
const A = await fetch(
|
|
3449
3449
|
"https://api.mktolimpo.com/api/kambi/eventos/orden",
|
|
3450
|
-
{ signal:
|
|
3450
|
+
{ signal: E }
|
|
3451
3451
|
);
|
|
3452
3452
|
if (A.ok) {
|
|
3453
3453
|
const U = await A.json();
|
|
3454
|
-
b = ((
|
|
3454
|
+
b = ((L = U == null ? void 0 : U.data) == null ? void 0 : L.group_ids) || [], O = ((B = U == null ? void 0 : U.data) == null ? void 0 : B.event_ids) || [];
|
|
3455
3455
|
}
|
|
3456
3456
|
} catch (A) {
|
|
3457
3457
|
A.name !== "AbortError" && console.warn("Order API not available, using default group order");
|
|
3458
3458
|
return;
|
|
3459
3459
|
}
|
|
3460
3460
|
try {
|
|
3461
|
-
const W = (await (await fetch(p, { signal:
|
|
3461
|
+
const W = (await (await fetch(p, { signal: E })).json()).group.groups.find(
|
|
3462
3462
|
(l) => l.englishName === "Football"
|
|
3463
3463
|
);
|
|
3464
3464
|
if (!W || !Array.isArray(W.groups)) {
|
|
@@ -3475,7 +3475,7 @@ function Hn({
|
|
|
3475
3475
|
return k !== void 0 && M !== void 0 ? k - M : k !== void 0 ? -1 : M !== void 0 ? 1 : 0;
|
|
3476
3476
|
});
|
|
3477
3477
|
}
|
|
3478
|
-
const
|
|
3478
|
+
const S = G.slice(0, 5), R = (l) => {
|
|
3479
3479
|
const I = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
|
|
3480
3480
|
if (l.groups && l.groups.length > 0) {
|
|
3481
3481
|
const T = l.groups[0];
|
|
@@ -3486,60 +3486,60 @@ function Hn({
|
|
|
3486
3486
|
return [
|
|
3487
3487
|
`${I}/${l.termKey}/all/all/matches.json?${x}`
|
|
3488
3488
|
];
|
|
3489
|
-
}, Z =
|
|
3490
|
-
$(Z,
|
|
3489
|
+
}, Z = S.flatMap(R);
|
|
3490
|
+
$(Z, O, E);
|
|
3491
3491
|
} catch (A) {
|
|
3492
3492
|
console.error(A);
|
|
3493
3493
|
}
|
|
3494
3494
|
}
|
|
3495
|
-
async function $(
|
|
3495
|
+
async function $(E, b, O) {
|
|
3496
3496
|
try {
|
|
3497
|
-
const
|
|
3497
|
+
const L = await Vn(E, 2, O);
|
|
3498
3498
|
let B = [], A = [];
|
|
3499
|
-
|
|
3500
|
-
K.events && (B.push(...K.events.map((
|
|
3501
|
-
...K.events.flatMap((
|
|
3499
|
+
L.forEach((K) => {
|
|
3500
|
+
K.events && (B.push(...K.events.map((S) => S.event)), A.push(
|
|
3501
|
+
...K.events.flatMap((S) => S.betOffers || [])
|
|
3502
3502
|
));
|
|
3503
3503
|
});
|
|
3504
3504
|
const U = jn(B, A), W = Wn(Gn(U));
|
|
3505
3505
|
let G = W;
|
|
3506
3506
|
if (b.length > 0) {
|
|
3507
3507
|
const K = new Map(
|
|
3508
|
-
b.map((
|
|
3509
|
-
String(
|
|
3510
|
-
|
|
3508
|
+
b.map((S, R) => [
|
|
3509
|
+
String(S),
|
|
3510
|
+
R
|
|
3511
3511
|
])
|
|
3512
3512
|
);
|
|
3513
|
-
G = [...W].sort((
|
|
3514
|
-
const Z = K.get(String(
|
|
3513
|
+
G = [...W].sort((S, R) => {
|
|
3514
|
+
const Z = K.get(String(S.id)), l = K.get(String(R.id));
|
|
3515
3515
|
return Z !== void 0 && l !== void 0 ? Z - l : Z !== void 0 ? -1 : l !== void 0 ? 1 : 0;
|
|
3516
3516
|
});
|
|
3517
3517
|
}
|
|
3518
|
-
if (
|
|
3518
|
+
if (O.aborted) return;
|
|
3519
3519
|
f(G);
|
|
3520
|
-
} catch (
|
|
3521
|
-
console.error("Error loading events:",
|
|
3520
|
+
} catch (L) {
|
|
3521
|
+
console.error("Error loading events:", L);
|
|
3522
3522
|
}
|
|
3523
3523
|
}
|
|
3524
3524
|
Q(() => {
|
|
3525
3525
|
if (!e) return;
|
|
3526
|
-
const
|
|
3527
|
-
return C(
|
|
3528
|
-
|
|
3526
|
+
const E = new AbortController();
|
|
3527
|
+
return C(E.signal), () => {
|
|
3528
|
+
E.abort();
|
|
3529
3529
|
};
|
|
3530
3530
|
}, [e]);
|
|
3531
|
-
const
|
|
3531
|
+
const q = r || void 0, _ = {
|
|
3532
3532
|
paddingLeft: 0,
|
|
3533
3533
|
width: "100%",
|
|
3534
3534
|
boxSizing: "border-box"
|
|
3535
|
-
}, { jerseys: N } =
|
|
3535
|
+
}, { jerseys: N } = wt({
|
|
3536
3536
|
events: d,
|
|
3537
3537
|
visibleRange: v,
|
|
3538
3538
|
fetchJerseys: gt,
|
|
3539
3539
|
buffer: 2,
|
|
3540
3540
|
debounceMs: 250
|
|
3541
|
-
}),
|
|
3542
|
-
return !
|
|
3541
|
+
}), z = d === null, D = xe("(max-width:950px)");
|
|
3542
|
+
return !z && d.length === 0 ? null : /* @__PURE__ */ t("section", { className: q, style: _, children: /* @__PURE__ */ y("div", { className: `${Ie.wrapper} ${Ie.padding}`, children: [
|
|
3543
3543
|
/* @__PURE__ */ t("div", { className: Ie.container, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3544
3544
|
/* @__PURE__ */ t(ge, { title: "Eventos de la semana" }),
|
|
3545
3545
|
/* @__PURE__ */ t("div", { className: Ie.buttonWrapper, children: /* @__PURE__ */ t(
|
|
@@ -3559,7 +3559,7 @@ function Hn({
|
|
|
3559
3559
|
he,
|
|
3560
3560
|
{
|
|
3561
3561
|
ref: h,
|
|
3562
|
-
items:
|
|
3562
|
+
items: z ? Array(6).fill({}) : d.slice(0, 20),
|
|
3563
3563
|
perPage: 3.5,
|
|
3564
3564
|
gap: "16px",
|
|
3565
3565
|
enableHorizontalWheel: !0,
|
|
@@ -3573,14 +3573,14 @@ function Hn({
|
|
|
3573
3573
|
padding: { left: "8px", right: "8px" }
|
|
3574
3574
|
}
|
|
3575
3575
|
},
|
|
3576
|
-
renderItem: (
|
|
3577
|
-
const b =
|
|
3578
|
-
return
|
|
3576
|
+
renderItem: (E) => {
|
|
3577
|
+
const b = E.id, O = b in N ? N[b] : void 0;
|
|
3578
|
+
return z ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Fn, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Un, { event: E, jersey: O }) });
|
|
3579
3579
|
},
|
|
3580
|
-
onMove: ({ isStart:
|
|
3581
|
-
m({ isStart:
|
|
3582
|
-
start:
|
|
3583
|
-
end:
|
|
3580
|
+
onMove: ({ isStart: E, isEnd: b, visibleStart: O, visibleEnd: L, source: B }) => {
|
|
3581
|
+
m({ isStart: E, isEnd: b }), w({
|
|
3582
|
+
start: O,
|
|
3583
|
+
end: L
|
|
3584
3584
|
}), B === "user" && i({
|
|
3585
3585
|
element: "evento_semana_carousel_slide",
|
|
3586
3586
|
label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
|
|
@@ -3589,9 +3589,9 @@ function Hn({
|
|
|
3589
3589
|
module_id: c,
|
|
3590
3590
|
metadata: {
|
|
3591
3591
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3592
|
-
visibleStart:
|
|
3593
|
-
visibleEnd:
|
|
3594
|
-
isStart:
|
|
3592
|
+
visibleStart: O,
|
|
3593
|
+
visibleEnd: L,
|
|
3594
|
+
isStart: E,
|
|
3595
3595
|
isEnd: b
|
|
3596
3596
|
},
|
|
3597
3597
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
@@ -3621,8 +3621,8 @@ const Kn = -300, Zn = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), nt = (e) => {
|
|
|
3621
3621
|
Number(c)
|
|
3622
3622
|
);
|
|
3623
3623
|
}, Jn = (e, a) => {
|
|
3624
|
-
var c, p, h, u, m, d, f, v,
|
|
3625
|
-
const n = (h = (p = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? p : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((x) => (x == null ? void 0 : x.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, r = (
|
|
3624
|
+
var c, p, h, u, m, d, f, v, w;
|
|
3625
|
+
const n = (h = (p = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? p : e == null ? void 0 : e.extraFields) != null ? h : [], o = (d = (m = e == null ? void 0 : e.startAt) != null ? m : (u = n.find((x) => (x == null ? void 0 : x.name) === "startAt")) == null ? void 0 : u.value) != null ? d : null, r = (w = (v = e == null ? void 0 : e.endAt) != null ? v : (f = n.find((x) => (x == null ? void 0 : x.name) === "endAt")) == null ? void 0 : f.value) != null ? w : null, i = nt(o), s = nt(r);
|
|
3626
3626
|
return !(i != null && a < i || s != null && a >= s);
|
|
3627
3627
|
};
|
|
3628
3628
|
function Xn({
|
|
@@ -3631,23 +3631,23 @@ function Xn({
|
|
|
3631
3631
|
hideItems: n
|
|
3632
3632
|
}) {
|
|
3633
3633
|
var K;
|
|
3634
|
-
const [o, r] = X(0), i = ae(), s = ne(), c = le(), p = V(null), h = V(!1), u = V(!1), [m, d] = X(() => Date.now()), f = se("setDepositActionGlobal"), v = (
|
|
3634
|
+
const [o, r] = X(0), i = ae(), s = ne(), c = le(), p = V(null), h = V(!1), u = V(!1), [m, d] = X(() => Date.now()), f = se("setDepositActionGlobal"), v = (S) => [...S != null ? S : []].map((R, Z) => ({ item: R, index: Z })).sort((R, Z) => {
|
|
3635
3635
|
var T, k;
|
|
3636
|
-
const l = (T =
|
|
3637
|
-
return l - I ||
|
|
3638
|
-
}).map(({ item:
|
|
3639
|
-
const
|
|
3640
|
-
(
|
|
3636
|
+
const l = (T = R.item.order) != null ? T : Number.MAX_SAFE_INTEGER, I = (k = Z.item.order) != null ? k : Number.MAX_SAFE_INTEGER;
|
|
3637
|
+
return l - I || R.index - Z.index;
|
|
3638
|
+
}).map(({ item: R }) => R), w = re(() => v(a), [a]), x = re(() => {
|
|
3639
|
+
const S = (e != null ? e : []).filter(
|
|
3640
|
+
(R) => Jn(R, m)
|
|
3641
3641
|
);
|
|
3642
|
-
return v(
|
|
3643
|
-
}, [e, m]), g = x.length || 1, C = !x || x.length === 0, $ = !C && x.length > 1,
|
|
3642
|
+
return v(S);
|
|
3643
|
+
}, [e, m]), g = x.length || 1, C = !x || x.length === 0, $ = !C && x.length > 1, q = !n && w.length > 0;
|
|
3644
3644
|
De("(max-width:950px)");
|
|
3645
3645
|
const _ = "#B5B5B5";
|
|
3646
3646
|
Q(() => {
|
|
3647
|
-
const
|
|
3647
|
+
const S = window.setInterval(() => {
|
|
3648
3648
|
d(Date.now());
|
|
3649
3649
|
}, 3e4);
|
|
3650
|
-
return () => window.clearInterval(
|
|
3650
|
+
return () => window.clearInterval(S);
|
|
3651
3651
|
}, []);
|
|
3652
3652
|
const N = {
|
|
3653
3653
|
position: "absolute",
|
|
@@ -3672,7 +3672,7 @@ function Xn({
|
|
|
3672
3672
|
backgroundColor: "transparent",
|
|
3673
3673
|
cursor: "default"
|
|
3674
3674
|
}
|
|
3675
|
-
},
|
|
3675
|
+
}, z = re(
|
|
3676
3676
|
() => ({
|
|
3677
3677
|
type: "loop",
|
|
3678
3678
|
perMove: 1,
|
|
@@ -3684,16 +3684,16 @@ function Xn({
|
|
|
3684
3684
|
[]
|
|
3685
3685
|
);
|
|
3686
3686
|
Q(() => {
|
|
3687
|
-
const
|
|
3687
|
+
const S = setTimeout(() => {
|
|
3688
3688
|
h.current = !0;
|
|
3689
3689
|
}, 500);
|
|
3690
|
-
return () => clearTimeout(
|
|
3690
|
+
return () => clearTimeout(S);
|
|
3691
3691
|
}, []);
|
|
3692
|
-
const D = (
|
|
3692
|
+
const D = (S, R, Z) => {
|
|
3693
3693
|
var k, M;
|
|
3694
|
-
const l = !!
|
|
3694
|
+
const l = !!R.idFunction, I = !!R.href;
|
|
3695
3695
|
if (l)
|
|
3696
|
-
switch (
|
|
3696
|
+
switch (S.preventDefault(), S.stopPropagation(), R.idFunction) {
|
|
3697
3697
|
case "deposito":
|
|
3698
3698
|
f == null || f(!0);
|
|
3699
3699
|
return;
|
|
@@ -3701,14 +3701,14 @@ function Xn({
|
|
|
3701
3701
|
return;
|
|
3702
3702
|
}
|
|
3703
3703
|
if (!I) {
|
|
3704
|
-
|
|
3704
|
+
S.preventDefault(), S.stopPropagation();
|
|
3705
3705
|
return;
|
|
3706
3706
|
}
|
|
3707
|
-
const T = ((M = (k =
|
|
3707
|
+
const T = ((M = (k = R.href) == null ? void 0 : k.split("/").pop()) == null ? void 0 : M.split(".")[0]) || R.label || R.id || `banner_${Z + 1}`;
|
|
3708
3708
|
i({
|
|
3709
3709
|
element: "banner_carousel",
|
|
3710
3710
|
label: `${s} - OraculoSeccionBanners - Banner click: ${T}`,
|
|
3711
|
-
target:
|
|
3711
|
+
target: R.href || "no_url",
|
|
3712
3712
|
event_type: "click",
|
|
3713
3713
|
module_id: c,
|
|
3714
3714
|
metadata: {
|
|
@@ -3719,61 +3719,61 @@ function Xn({
|
|
|
3719
3719
|
tags: {
|
|
3720
3720
|
banner_type: "carousel",
|
|
3721
3721
|
banner_target: "_self",
|
|
3722
|
-
banner_url:
|
|
3722
|
+
banner_url: R.href || "no_url"
|
|
3723
3723
|
}
|
|
3724
3724
|
});
|
|
3725
|
-
},
|
|
3725
|
+
}, E = (S) => {
|
|
3726
3726
|
if (i({
|
|
3727
3727
|
element: "banner_menu_item",
|
|
3728
|
-
label: `${s} - OraculoSeccionBanners - Menu item click: ${
|
|
3729
|
-
target:
|
|
3728
|
+
label: `${s} - OraculoSeccionBanners - Menu item click: ${S.label || S.id}`,
|
|
3729
|
+
target: S.href || "action",
|
|
3730
3730
|
event_type: "click",
|
|
3731
3731
|
module_id: c,
|
|
3732
3732
|
metadata: {
|
|
3733
3733
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3734
|
-
item_id:
|
|
3734
|
+
item_id: S.id
|
|
3735
3735
|
},
|
|
3736
3736
|
tags: {
|
|
3737
|
-
item_label:
|
|
3737
|
+
item_label: S.label || "no_label"
|
|
3738
3738
|
}
|
|
3739
|
-
}),
|
|
3740
|
-
|
|
3739
|
+
}), S.onClick) {
|
|
3740
|
+
S.onClick();
|
|
3741
3741
|
return;
|
|
3742
3742
|
}
|
|
3743
|
-
|
|
3744
|
-
}, b = 5e3,
|
|
3745
|
-
|
|
3743
|
+
S.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(S.href);
|
|
3744
|
+
}, b = 5e3, O = V(null), L = !C && ((K = x == null ? void 0 : x.length) != null ? K : 0) > 1, B = () => {
|
|
3745
|
+
O.current != null && (window.clearTimeout(O.current), O.current = null);
|
|
3746
3746
|
}, A = () => {
|
|
3747
|
-
B(),
|
|
3748
|
-
var
|
|
3749
|
-
u.current = !0, (
|
|
3747
|
+
B(), L && (O.current = window.setTimeout(() => {
|
|
3748
|
+
var S;
|
|
3749
|
+
u.current = !0, (S = p.current) == null || S.next();
|
|
3750
3750
|
}, b));
|
|
3751
3751
|
};
|
|
3752
|
-
Q(() => (A(), () => B()), [
|
|
3753
|
-
const U = (
|
|
3754
|
-
var
|
|
3755
|
-
|
|
3756
|
-
}, W = (
|
|
3757
|
-
var
|
|
3758
|
-
|
|
3759
|
-
}, G = (
|
|
3752
|
+
Q(() => (A(), () => B()), [L, b]);
|
|
3753
|
+
const U = (S) => {
|
|
3754
|
+
var R;
|
|
3755
|
+
S.preventDefault(), S.stopPropagation(), B(), (R = p.current) == null || R.prev();
|
|
3756
|
+
}, W = (S) => {
|
|
3757
|
+
var R;
|
|
3758
|
+
S.preventDefault(), S.stopPropagation(), B(), (R = p.current) == null || R.next();
|
|
3759
|
+
}, G = (S) => {
|
|
3760
3760
|
var l, I, T, k;
|
|
3761
|
-
const
|
|
3761
|
+
const R = (S % g + g) % g;
|
|
3762
3762
|
if (!h.current) return;
|
|
3763
|
-
const Z = (l = x == null ? void 0 : x[
|
|
3763
|
+
const Z = (l = x == null ? void 0 : x[R]) != null && l.href ? ((T = (I = x[R].href) == null ? void 0 : I.split("/").pop()) == null ? void 0 : T.split(".")[0]) || `banner_${R + 1}` : `banner_${R + 1}`;
|
|
3764
3764
|
i({
|
|
3765
3765
|
element: "banner_carousel",
|
|
3766
|
-
label: `${s} - OraculoSeccionBanners - Banner view: Slide ${
|
|
3767
|
-
target: ((k = x == null ? void 0 : x[
|
|
3766
|
+
label: `${s} - OraculoSeccionBanners - Banner view: Slide ${R + 1} - ${Z}`,
|
|
3767
|
+
target: ((k = x == null ? void 0 : x[R]) == null ? void 0 : k.href) || "no_url",
|
|
3768
3768
|
event_type: "view",
|
|
3769
3769
|
module_id: c,
|
|
3770
3770
|
metadata: {
|
|
3771
3771
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3772
|
-
slide_index:
|
|
3772
|
+
slide_index: R + 1,
|
|
3773
3773
|
total_slides: g,
|
|
3774
3774
|
interaction_type: "manual_slide"
|
|
3775
3775
|
},
|
|
3776
|
-
tags: { banner_position: String(
|
|
3776
|
+
tags: { banner_position: String(R + 1) }
|
|
3777
3777
|
});
|
|
3778
3778
|
};
|
|
3779
3779
|
return /* @__PURE__ */ y(
|
|
@@ -3783,7 +3783,7 @@ function Xn({
|
|
|
3783
3783
|
sx: {
|
|
3784
3784
|
position: "relative",
|
|
3785
3785
|
overflow: "visible",
|
|
3786
|
-
pb:
|
|
3786
|
+
pb: q ? { xs: "40px", sm: 0 } : 0
|
|
3787
3787
|
},
|
|
3788
3788
|
children: [
|
|
3789
3789
|
/* @__PURE__ */ y(
|
|
@@ -3818,24 +3818,24 @@ function Xn({
|
|
|
3818
3818
|
perPage: 1,
|
|
3819
3819
|
gap: "0px",
|
|
3820
3820
|
enableHorizontalWheel: !0,
|
|
3821
|
-
options:
|
|
3822
|
-
onMove: ({ index:
|
|
3823
|
-
const Z = (
|
|
3821
|
+
options: z,
|
|
3822
|
+
onMove: ({ index: S, source: R }) => {
|
|
3823
|
+
const Z = (S % g + g) % g;
|
|
3824
3824
|
r(Z);
|
|
3825
3825
|
const l = u.current;
|
|
3826
|
-
u.current = !1,
|
|
3826
|
+
u.current = !1, R === "user" && (A(), l || G(S));
|
|
3827
3827
|
},
|
|
3828
|
-
renderItem: (
|
|
3829
|
-
var k, M,
|
|
3830
|
-
const Z = !!
|
|
3828
|
+
renderItem: (S, R) => {
|
|
3829
|
+
var k, M, F;
|
|
3830
|
+
const Z = !!S.idFunction, l = !!S.href, I = l && !Z, T = Z || l;
|
|
3831
3831
|
return /* @__PURE__ */ y(
|
|
3832
3832
|
ee,
|
|
3833
3833
|
{
|
|
3834
3834
|
component: I ? "a" : "div",
|
|
3835
|
-
href: I ?
|
|
3836
|
-
target: I ? (k =
|
|
3837
|
-
rel: I &&
|
|
3838
|
-
onClick: (J) => D(J,
|
|
3835
|
+
href: I ? S.href : void 0,
|
|
3836
|
+
target: I ? (k = S.target) != null ? k : "_self" : void 0,
|
|
3837
|
+
rel: I && S.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3838
|
+
onClick: (J) => D(J, S, R),
|
|
3839
3839
|
sx: {
|
|
3840
3840
|
position: "relative",
|
|
3841
3841
|
width: "100%",
|
|
@@ -3846,13 +3846,13 @@ function Xn({
|
|
|
3846
3846
|
},
|
|
3847
3847
|
children: [
|
|
3848
3848
|
/* @__PURE__ */ y(ee, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
|
|
3849
|
-
/* @__PURE__ */ t("source", { srcSet:
|
|
3850
|
-
/* @__PURE__ */ t("source", { srcSet:
|
|
3849
|
+
/* @__PURE__ */ t("source", { srcSet: S.desktopSrc, media: "(min-width:950px)" }),
|
|
3850
|
+
/* @__PURE__ */ t("source", { srcSet: S.mobileSrc, media: "(max-width:949px)" }),
|
|
3851
3851
|
/* @__PURE__ */ t(
|
|
3852
3852
|
ee,
|
|
3853
3853
|
{
|
|
3854
3854
|
component: "img",
|
|
3855
|
-
src: (
|
|
3855
|
+
src: (F = (M = S.fallbackSrc) != null ? M : S.desktopSrc) != null ? F : "",
|
|
3856
3856
|
alt: "",
|
|
3857
3857
|
"aria-hidden": !0,
|
|
3858
3858
|
loading: "lazy",
|
|
@@ -3918,7 +3918,7 @@ function Xn({
|
|
|
3918
3918
|
"@media (max-width:1024px)": { right: 24 },
|
|
3919
3919
|
"@media (max-width:786px)": { display: "none" }
|
|
3920
3920
|
},
|
|
3921
|
-
children: /* @__PURE__ */ t(
|
|
3921
|
+
children: /* @__PURE__ */ t(Re, {})
|
|
3922
3922
|
}
|
|
3923
3923
|
)
|
|
3924
3924
|
] }),
|
|
@@ -3948,7 +3948,7 @@ function Xn({
|
|
|
3948
3948
|
]
|
|
3949
3949
|
}
|
|
3950
3950
|
),
|
|
3951
|
-
|
|
3951
|
+
q && /* @__PURE__ */ t(
|
|
3952
3952
|
ee,
|
|
3953
3953
|
{
|
|
3954
3954
|
sx: {
|
|
@@ -3966,7 +3966,7 @@ function Xn({
|
|
|
3966
3966
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
3967
3967
|
zIndex: 3
|
|
3968
3968
|
},
|
|
3969
|
-
children:
|
|
3969
|
+
children: w == null ? void 0 : w.map((S) => /* @__PURE__ */ y(
|
|
3970
3970
|
ee,
|
|
3971
3971
|
{
|
|
3972
3972
|
sx: {
|
|
@@ -3978,7 +3978,7 @@ function Xn({
|
|
|
3978
3978
|
gap: { xs: 0.5, md: 1 },
|
|
3979
3979
|
color: "#FFFFFF",
|
|
3980
3980
|
minWidth: 0,
|
|
3981
|
-
cursor:
|
|
3981
|
+
cursor: S.onClick || S.href ? "pointer" : "default",
|
|
3982
3982
|
whiteSpace: "nowrap",
|
|
3983
3983
|
"&::after": {
|
|
3984
3984
|
content: '""',
|
|
@@ -4002,7 +4002,7 @@ function Xn({
|
|
|
4002
4002
|
opacity: 1,
|
|
4003
4003
|
transform: "scaleX(1)"
|
|
4004
4004
|
},
|
|
4005
|
-
...
|
|
4005
|
+
...S.iconHover && {
|
|
4006
4006
|
"&:hover .menu-icon-default": {
|
|
4007
4007
|
display: "none"
|
|
4008
4008
|
},
|
|
@@ -4011,9 +4011,9 @@ function Xn({
|
|
|
4011
4011
|
}
|
|
4012
4012
|
}
|
|
4013
4013
|
},
|
|
4014
|
-
onClick: () =>
|
|
4014
|
+
onClick: () => E(S),
|
|
4015
4015
|
children: [
|
|
4016
|
-
|
|
4016
|
+
S.icon && /* @__PURE__ */ y(
|
|
4017
4017
|
ee,
|
|
4018
4018
|
{
|
|
4019
4019
|
sx: {
|
|
@@ -4027,8 +4027,8 @@ function Xn({
|
|
|
4027
4027
|
ee,
|
|
4028
4028
|
{
|
|
4029
4029
|
component: "img",
|
|
4030
|
-
src:
|
|
4031
|
-
alt:
|
|
4030
|
+
src: S.icon,
|
|
4031
|
+
alt: S.label || `icon-${S.id}`,
|
|
4032
4032
|
className: "menu-icon-default",
|
|
4033
4033
|
sx: {
|
|
4034
4034
|
display: "block",
|
|
@@ -4040,12 +4040,12 @@ function Xn({
|
|
|
4040
4040
|
}
|
|
4041
4041
|
}
|
|
4042
4042
|
),
|
|
4043
|
-
|
|
4043
|
+
S.iconHover && /* @__PURE__ */ t(
|
|
4044
4044
|
ee,
|
|
4045
4045
|
{
|
|
4046
4046
|
component: "img",
|
|
4047
|
-
src:
|
|
4048
|
-
alt:
|
|
4047
|
+
src: S.iconHover,
|
|
4048
|
+
alt: S.label || `icon-hover-${S.id}`,
|
|
4049
4049
|
className: "menu-icon-hover",
|
|
4050
4050
|
sx: {
|
|
4051
4051
|
display: "none",
|
|
@@ -4070,12 +4070,12 @@ function Xn({
|
|
|
4070
4070
|
color: "#E0E0E0",
|
|
4071
4071
|
textAlign: "center"
|
|
4072
4072
|
},
|
|
4073
|
-
children:
|
|
4073
|
+
children: S.label
|
|
4074
4074
|
}
|
|
4075
4075
|
)
|
|
4076
4076
|
]
|
|
4077
4077
|
},
|
|
4078
|
-
|
|
4078
|
+
S.id
|
|
4079
4079
|
))
|
|
4080
4080
|
}
|
|
4081
4081
|
)
|
|
@@ -4084,14 +4084,14 @@ function Xn({
|
|
|
4084
4084
|
);
|
|
4085
4085
|
}
|
|
4086
4086
|
const Yn = [
|
|
4087
|
-
{ src: "https://
|
|
4088
|
-
{ src: "https://
|
|
4089
|
-
{ src: "https://
|
|
4090
|
-
{ src: "https://
|
|
4091
|
-
{ src: "https://
|
|
4092
|
-
{ src: "https://
|
|
4093
|
-
{ src: "https://
|
|
4094
|
-
{ src: "https://
|
|
4087
|
+
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
|
|
4088
|
+
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
|
|
4089
|
+
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
|
|
4090
|
+
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/pagoEfectivo.png", alt: "PagoEfectivo" },
|
|
4091
|
+
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/tupay.svg", alt: "Tupay" },
|
|
4092
|
+
// { src: "https://d28gilnhu2bcbp.cloudfront.net/landing/monnet.svg", alt: "Monnet" },
|
|
4093
|
+
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
|
|
4094
|
+
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
|
|
4095
4095
|
];
|
|
4096
4096
|
function Qn({
|
|
4097
4097
|
title: e = "Medios de pago",
|
|
@@ -4127,9 +4127,9 @@ function Qn({
|
|
|
4127
4127
|
}
|
|
4128
4128
|
}
|
|
4129
4129
|
),
|
|
4130
|
-
/* @__PURE__ */ y(
|
|
4130
|
+
/* @__PURE__ */ y(Ee, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
|
|
4131
4131
|
/* @__PURE__ */ t(
|
|
4132
|
-
|
|
4132
|
+
Ee,
|
|
4133
4133
|
{
|
|
4134
4134
|
direction: "row",
|
|
4135
4135
|
justifyContent: "center",
|
|
@@ -4140,7 +4140,7 @@ function Qn({
|
|
|
4140
4140
|
}
|
|
4141
4141
|
),
|
|
4142
4142
|
/* @__PURE__ */ t(
|
|
4143
|
-
|
|
4143
|
+
Ee,
|
|
4144
4144
|
{
|
|
4145
4145
|
direction: "row",
|
|
4146
4146
|
justifyContent: "center",
|
|
@@ -4156,8 +4156,8 @@ function Qn({
|
|
|
4156
4156
|
function It({
|
|
4157
4157
|
children: e
|
|
4158
4158
|
}) {
|
|
4159
|
-
const a =
|
|
4160
|
-
() =>
|
|
4159
|
+
const a = Rt(), n = fe.useMemo(
|
|
4160
|
+
() => Lt(a, {
|
|
4161
4161
|
typography: { fontFamily: "var(--orc-font)" },
|
|
4162
4162
|
components: {
|
|
4163
4163
|
MuiTypography: {
|
|
@@ -4169,12 +4169,12 @@ function It({
|
|
|
4169
4169
|
}),
|
|
4170
4170
|
[a]
|
|
4171
4171
|
);
|
|
4172
|
-
return /* @__PURE__ */ y(
|
|
4173
|
-
/* @__PURE__ */ t(
|
|
4172
|
+
return /* @__PURE__ */ y(Ft, { theme: n, children: [
|
|
4173
|
+
/* @__PURE__ */ t(qt, {}),
|
|
4174
4174
|
e
|
|
4175
4175
|
] });
|
|
4176
4176
|
}
|
|
4177
|
-
function
|
|
4177
|
+
function wo({
|
|
4178
4178
|
docId: e = "Landing: home",
|
|
4179
4179
|
moduleId: a = 301,
|
|
4180
4180
|
children: n
|
|
@@ -4191,10 +4191,10 @@ const eo = {
|
|
|
4191
4191
|
OraculoSeccionBonoBienvenida: yn,
|
|
4192
4192
|
OraculoSeccionBanners: Xn,
|
|
4193
4193
|
OraculoSeccionMediosPago: Qn,
|
|
4194
|
-
OraculoSeccionEventoEnVivo:
|
|
4194
|
+
OraculoSeccionEventoEnVivo: Ln,
|
|
4195
4195
|
OraculoSeccionEventoSemana: Hn,
|
|
4196
4196
|
OraculoSeccionEventoCombinadas: Tn
|
|
4197
|
-
},
|
|
4197
|
+
}, Pe = {
|
|
4198
4198
|
sections: [
|
|
4199
4199
|
{
|
|
4200
4200
|
title: "Banners",
|
|
@@ -4232,7 +4232,7 @@ const eo = {
|
|
|
4232
4232
|
name: "iconHover",
|
|
4233
4233
|
isImage: !0,
|
|
4234
4234
|
required: !1,
|
|
4235
|
-
value: "https://
|
|
4235
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773756376881-icon1.png",
|
|
4236
4236
|
type: "string",
|
|
4237
4237
|
id: "8a5752de-6d6e-4ba7-b4a3-e001534d43a6",
|
|
4238
4238
|
maxSizeMB: 0.5
|
|
@@ -4290,7 +4290,7 @@ const eo = {
|
|
|
4290
4290
|
type: "string",
|
|
4291
4291
|
id: "42be2203-7dbf-418e-9181-9a2c022076ac",
|
|
4292
4292
|
maxSizeMB: 0.5,
|
|
4293
|
-
value: "https://
|
|
4293
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773756386124-icon2.png"
|
|
4294
4294
|
},
|
|
4295
4295
|
{
|
|
4296
4296
|
value: "https://www.olimpo.bet/deportes#sports/a-z",
|
|
@@ -4333,13 +4333,13 @@ const eo = {
|
|
|
4333
4333
|
type: "string",
|
|
4334
4334
|
id: "6ede5815-7336-40fa-99f2-57ac6cb938cd",
|
|
4335
4335
|
maxSizeMB: 0.2,
|
|
4336
|
-
value: "https://
|
|
4336
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1765981473501-icon3.svg",
|
|
4337
4337
|
required: !0,
|
|
4338
4338
|
isImage: !0,
|
|
4339
4339
|
name: "icon"
|
|
4340
4340
|
},
|
|
4341
4341
|
{
|
|
4342
|
-
value: "https://
|
|
4342
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773756400282-icon3.png",
|
|
4343
4343
|
id: "49c3a94a-dbb3-4a0a-9b03-cf04bcb2266f",
|
|
4344
4344
|
maxSizeMB: 0.5,
|
|
4345
4345
|
type: "string",
|
|
@@ -4397,7 +4397,7 @@ const eo = {
|
|
|
4397
4397
|
type: "string",
|
|
4398
4398
|
maxSizeMB: 0.5,
|
|
4399
4399
|
id: "aac10c8d-7aac-4051-82ed-a88706a6f6dc",
|
|
4400
|
-
value: "https://
|
|
4400
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773756409593-icon.png",
|
|
4401
4401
|
required: !1,
|
|
4402
4402
|
isImage: !0,
|
|
4403
4403
|
name: "iconHover"
|
|
@@ -4448,7 +4448,7 @@ const eo = {
|
|
|
4448
4448
|
fields: [
|
|
4449
4449
|
{
|
|
4450
4450
|
validateDimensions: !1,
|
|
4451
|
-
value: "https://
|
|
4451
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773204037917-comercial-misiones.webp",
|
|
4452
4452
|
id: "eea41214-3c26-41e9-a908-d87327147396",
|
|
4453
4453
|
name: "desktopSrc",
|
|
4454
4454
|
isImage: !0,
|
|
@@ -4476,7 +4476,7 @@ const eo = {
|
|
|
4476
4476
|
name: "fallbackSrc",
|
|
4477
4477
|
isImage: !0,
|
|
4478
4478
|
validateDimensions: !1,
|
|
4479
|
-
value: "https://
|
|
4479
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773204045973-comercial-misiones.webp",
|
|
4480
4480
|
id: "2616b944-7cd1-4919-bc56-38ddb1a3093b"
|
|
4481
4481
|
},
|
|
4482
4482
|
{
|
|
@@ -4528,7 +4528,7 @@ const eo = {
|
|
|
4528
4528
|
name: "desktopSrc",
|
|
4529
4529
|
isImage: !0,
|
|
4530
4530
|
validateDimensions: !1,
|
|
4531
|
-
value: "https://
|
|
4531
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773204060818-captacion-nuevahome.png",
|
|
4532
4532
|
id: "1ebab59e-f706-4795-81cb-7accfc9f33d7",
|
|
4533
4533
|
required: !1,
|
|
4534
4534
|
dimensions: "1440x400",
|
|
@@ -4537,7 +4537,7 @@ const eo = {
|
|
|
4537
4537
|
},
|
|
4538
4538
|
{
|
|
4539
4539
|
id: "bdebd1b0-d633-4b9e-9247-8e769cdc5b3b",
|
|
4540
|
-
value: "https://
|
|
4540
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1774473125247-captacion-nuevahomemobile4.png",
|
|
4541
4541
|
validateDimensions: !1,
|
|
4542
4542
|
isImage: !0,
|
|
4543
4543
|
name: "mobileSrc",
|
|
@@ -4548,7 +4548,7 @@ const eo = {
|
|
|
4548
4548
|
},
|
|
4549
4549
|
{
|
|
4550
4550
|
validateDimensions: !1,
|
|
4551
|
-
value: "https://
|
|
4551
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773204124958-captacion-nuevahome.png",
|
|
4552
4552
|
id: "4bc20da7-b769-43dd-ba2e-ee9261ec73d7",
|
|
4553
4553
|
name: "fallbackSrc",
|
|
4554
4554
|
isImage: !0,
|
|
@@ -4597,7 +4597,7 @@ const eo = {
|
|
|
4597
4597
|
{
|
|
4598
4598
|
id: "28a44fd4-2f36-491e-a026-d797891eb420",
|
|
4599
4599
|
validateDimensions: !1,
|
|
4600
|
-
value: "https://
|
|
4600
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307101474-ftd_web_asesorlu.jpg",
|
|
4601
4601
|
isImage: !0,
|
|
4602
4602
|
name: "desktopSrc",
|
|
4603
4603
|
type: "string",
|
|
@@ -4611,7 +4611,7 @@ const eo = {
|
|
|
4611
4611
|
required: !1,
|
|
4612
4612
|
dimensions: "1080x840",
|
|
4613
4613
|
validateDimensions: !1,
|
|
4614
|
-
value: "https://
|
|
4614
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307108379-ftd_mobile_asesorlu.jpg",
|
|
4615
4615
|
id: "9ddef07e-6c33-44c6-a9de-3045bcce0a64",
|
|
4616
4616
|
name: "mobileSrc",
|
|
4617
4617
|
isImage: !0
|
|
@@ -4623,7 +4623,7 @@ const eo = {
|
|
|
4623
4623
|
type: "string",
|
|
4624
4624
|
name: "fallbackSrc",
|
|
4625
4625
|
isImage: !0,
|
|
4626
|
-
value: "https://
|
|
4626
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307112560-ftd_web_asesorlu.jpg",
|
|
4627
4627
|
validateDimensions: !1,
|
|
4628
4628
|
id: "9043d645-9494-4bb8-9706-e740a3c4aecb"
|
|
4629
4629
|
},
|
|
@@ -4669,7 +4669,7 @@ const eo = {
|
|
|
4669
4669
|
type: "string",
|
|
4670
4670
|
dimensions: "1440x400",
|
|
4671
4671
|
required: !1,
|
|
4672
|
-
value: "https://
|
|
4672
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773203978730-nuevahomedesktop_asesorpersonalizado.jpg",
|
|
4673
4673
|
validateDimensions: !1,
|
|
4674
4674
|
id: "0a19727d-a6bd-4f3b-83b6-dc40be8f6790",
|
|
4675
4675
|
name: "desktopSrc",
|
|
@@ -4680,7 +4680,7 @@ const eo = {
|
|
|
4680
4680
|
type: "string",
|
|
4681
4681
|
dimensions: "1080x840",
|
|
4682
4682
|
required: !1,
|
|
4683
|
-
value: "https://
|
|
4683
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1772833893358-nueva-home-mobile_asesorlcas.jpg",
|
|
4684
4684
|
validateDimensions: !1,
|
|
4685
4685
|
id: "3ca28d62-53c0-4269-8ecf-ddbbe493db56",
|
|
4686
4686
|
name: "mobileSrc",
|
|
@@ -4694,7 +4694,7 @@ const eo = {
|
|
|
4694
4694
|
name: "fallbackSrc",
|
|
4695
4695
|
isImage: !0,
|
|
4696
4696
|
validateDimensions: !1,
|
|
4697
|
-
value: "https://
|
|
4697
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773203997327-nuevahomedesktop_asesorpersonalizado.jpg",
|
|
4698
4698
|
id: "241c4be2-2f91-4c92-a0ef-d2013941a7de"
|
|
4699
4699
|
},
|
|
4700
4700
|
{
|
|
@@ -4740,7 +4740,7 @@ const eo = {
|
|
|
4740
4740
|
required: !1,
|
|
4741
4741
|
dimensions: "1440x400",
|
|
4742
4742
|
validateDimensions: !1,
|
|
4743
|
-
value: "https://
|
|
4743
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773778766147-bannerweb_nuevomerch1920x460.png",
|
|
4744
4744
|
id: "1e4be1ce-774b-48ff-89db-f6148d1ce4a8",
|
|
4745
4745
|
name: "desktopSrc",
|
|
4746
4746
|
isImage: !0
|
|
@@ -4753,7 +4753,7 @@ const eo = {
|
|
|
4753
4753
|
name: "mobileSrc",
|
|
4754
4754
|
isImage: !0,
|
|
4755
4755
|
validateDimensions: !1,
|
|
4756
|
-
value: "https://
|
|
4756
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773778933662-bannermobile_nuevomerch1080x840.png",
|
|
4757
4757
|
id: "05b790ea-cba0-4592-868a-b5e4cde116c3"
|
|
4758
4758
|
},
|
|
4759
4759
|
{
|
|
@@ -4761,7 +4761,7 @@ const eo = {
|
|
|
4761
4761
|
type: "string",
|
|
4762
4762
|
dimensions: "1440x400",
|
|
4763
4763
|
required: !1,
|
|
4764
|
-
value: "https://
|
|
4764
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773778926345-bannerweb_nuevomerch1920x460.png",
|
|
4765
4765
|
validateDimensions: !1,
|
|
4766
4766
|
id: "b1ee5a81-f713-4b7c-882c-41088776fe09",
|
|
4767
4767
|
name: "fallbackSrc",
|
|
@@ -4812,20 +4812,20 @@ const eo = {
|
|
|
4812
4812
|
type: "string",
|
|
4813
4813
|
id: "35672057-20b1-48f6-b57e-8177c7ffb50c",
|
|
4814
4814
|
maxSizeMB: 2,
|
|
4815
|
-
value: "https://
|
|
4815
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773931330007-sorteoiphonebannerhomedesktop_1920x460.png"
|
|
4816
4816
|
},
|
|
4817
4817
|
{
|
|
4818
4818
|
type: "string",
|
|
4819
4819
|
id: "dfe3c031-0577-499e-95f4-2a47363710c7",
|
|
4820
4820
|
maxSizeMB: 2,
|
|
4821
|
-
value: "https://
|
|
4821
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773931336253-sorteoiphonebannerhomemobile_1080x840.png",
|
|
4822
4822
|
required: !1,
|
|
4823
4823
|
isImage: !0,
|
|
4824
4824
|
dimensions: "1080x840",
|
|
4825
4825
|
name: "mobileSrc"
|
|
4826
4826
|
},
|
|
4827
4827
|
{
|
|
4828
|
-
value: "https://
|
|
4828
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1773931341960-sorteoiphonebannerhomedesktop_1920x460.png",
|
|
4829
4829
|
type: "string",
|
|
4830
4830
|
maxSizeMB: 2,
|
|
4831
4831
|
id: "aac633b9-d6d3-45be-b93a-1aa73e486ed6",
|
|
@@ -5011,7 +5011,7 @@ const eo = {
|
|
|
5011
5011
|
dimensions: "40x40",
|
|
5012
5012
|
isImage: !0,
|
|
5013
5013
|
required: !1,
|
|
5014
|
-
value: "https://
|
|
5014
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1765894618836-frame181009.svg",
|
|
5015
5015
|
id: "95cd1489-206c-4a72-b4bd-b65161089f73",
|
|
5016
5016
|
maxSizeMB: 0.2,
|
|
5017
5017
|
type: "string"
|
|
@@ -5064,7 +5064,7 @@ const eo = {
|
|
|
5064
5064
|
id: "db4b6355-ed6c-4265-ad78-d8fffb660997",
|
|
5065
5065
|
maxSizeMB: 0.2,
|
|
5066
5066
|
type: "string",
|
|
5067
|
-
value: "https://
|
|
5067
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1771339214517-dotrecordinglightred.gif"
|
|
5068
5068
|
},
|
|
5069
5069
|
{
|
|
5070
5070
|
id: "a16ab6c6-321c-4ebe-bd36-a85ad49edf3e",
|
|
@@ -5280,7 +5280,7 @@ const eo = {
|
|
|
5280
5280
|
type: "string",
|
|
5281
5281
|
id: "2aa55855-0865-4cf1-a1ee-e52db864c6b4",
|
|
5282
5282
|
maxSizeMB: 2,
|
|
5283
|
-
value: "https://
|
|
5283
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1771942936688-fondo3.1.webp",
|
|
5284
5284
|
isImage: !0,
|
|
5285
5285
|
required: !1,
|
|
5286
5286
|
name: "backgroundDesktopUrl"
|
|
@@ -5384,7 +5384,7 @@ const eo = {
|
|
|
5384
5384
|
name: "iconUrl",
|
|
5385
5385
|
required: !0,
|
|
5386
5386
|
isImage: !0,
|
|
5387
|
-
value: "https://
|
|
5387
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307302930-top.webp",
|
|
5388
5388
|
type: "string",
|
|
5389
5389
|
id: "1960df1d-b07e-4461-b55f-39834ac30d8e",
|
|
5390
5390
|
maxSizeMB: 0.2
|
|
@@ -5451,7 +5451,7 @@ const eo = {
|
|
|
5451
5451
|
name: "iconUrl",
|
|
5452
5452
|
required: !0,
|
|
5453
5453
|
isImage: !0,
|
|
5454
|
-
value: "https://
|
|
5454
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
|
|
5455
5455
|
id: "8f0dadc8-ff0f-4074-870f-2bbcd9f38cab",
|
|
5456
5456
|
maxSizeMB: 0.2,
|
|
5457
5457
|
type: "string"
|
|
@@ -5509,7 +5509,7 @@ const eo = {
|
|
|
5509
5509
|
name: "imgMobile",
|
|
5510
5510
|
required: !0,
|
|
5511
5511
|
isImage: !0,
|
|
5512
|
-
value: "https://
|
|
5512
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307329736-clubolimpo-mobile.webp",
|
|
5513
5513
|
type: "string",
|
|
5514
5514
|
maxSizeMB: 2,
|
|
5515
5515
|
id: "259ffa74-7e4f-48e6-90da-4837f2c37fe9"
|
|
@@ -5518,7 +5518,7 @@ const eo = {
|
|
|
5518
5518
|
type: "string",
|
|
5519
5519
|
id: "e7812141-42d8-419f-9d15-b8711139e980",
|
|
5520
5520
|
maxSizeMB: 2,
|
|
5521
|
-
value: "https://
|
|
5521
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307339455-clubolimpo.webp",
|
|
5522
5522
|
isImage: !0,
|
|
5523
5523
|
required: !1,
|
|
5524
5524
|
name: "imgDesktopBg"
|
|
@@ -5563,7 +5563,7 @@ const eo = {
|
|
|
5563
5563
|
}
|
|
5564
5564
|
]
|
|
5565
5565
|
}, to = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, ao = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
5566
|
-
function
|
|
5566
|
+
function Oe(e) {
|
|
5567
5567
|
return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
|
|
5568
5568
|
var o, r;
|
|
5569
5569
|
return ((o = a.order) != null ? o : 0) - ((r = n.order) != null ? r : 0);
|
|
@@ -5637,28 +5637,28 @@ const rt = [
|
|
|
5637
5637
|
loader: i,
|
|
5638
5638
|
disableWrapper: s = !1
|
|
5639
5639
|
}) => {
|
|
5640
|
-
const c = re(() => oo(r), [r]), p = i || c.loader, [h, u] = X([]), [m, d] = X(!1), [f, v] = X({}), [
|
|
5641
|
-
() =>
|
|
5640
|
+
const c = re(() => oo(r), [r]), p = i || c.loader, [h, u] = X([]), [m, d] = X(!1), [f, v] = X({}), [w, x] = X({}), [g, C] = X({}), $ = De("(min-width:1024px)"), q = re(
|
|
5641
|
+
() => Oe(Pe),
|
|
5642
5642
|
[]
|
|
5643
|
-
), _ = (l) =>
|
|
5643
|
+
), _ = (l) => q.find(
|
|
5644
5644
|
(I) => I.id === l.id || I.componentKey === l.componentKey
|
|
5645
|
-
), N = (l) => Array.isArray(l) ? l.map((I) => Number(I)).filter((I) => !Number.isNaN(I)) : [],
|
|
5645
|
+
), N = (l) => Array.isArray(l) ? l.map((I) => Number(I)).filter((I) => !Number.isNaN(I)) : [], z = re(() => {
|
|
5646
5646
|
const l = c.user;
|
|
5647
5647
|
return N(l == null ? void 0 : l.groups);
|
|
5648
5648
|
}, [c]), D = (l) => {
|
|
5649
5649
|
const I = l.manualScalarFields;
|
|
5650
5650
|
if (!Array.isArray(I)) return [];
|
|
5651
5651
|
const T = I.find(
|
|
5652
|
-
(
|
|
5652
|
+
(F) => String((F == null ? void 0 : F.name) || "").trim().toLowerCase() === "groups"
|
|
5653
5653
|
);
|
|
5654
5654
|
if (!T) return [];
|
|
5655
5655
|
const k = T.value;
|
|
5656
5656
|
if (k == null) return [];
|
|
5657
5657
|
if (Array.isArray(k))
|
|
5658
|
-
return k.map((
|
|
5658
|
+
return k.map((F) => Number(String(F).trim())).filter((F) => !Number.isNaN(F));
|
|
5659
5659
|
const M = String(k).trim();
|
|
5660
|
-
return M ? M.split(",").map((
|
|
5661
|
-
},
|
|
5660
|
+
return M ? M.split(",").map((F) => Number(F.trim())).filter((F) => !Number.isNaN(F)) : [];
|
|
5661
|
+
}, E = (l, I) => {
|
|
5662
5662
|
const T = D(l);
|
|
5663
5663
|
if (T.length === 0) return !0;
|
|
5664
5664
|
if (!Array.isArray(I) || I.length === 0) return !1;
|
|
@@ -5668,22 +5668,22 @@ const rt = [
|
|
|
5668
5668
|
Q(() => {
|
|
5669
5669
|
if (e) return;
|
|
5670
5670
|
if (!o) {
|
|
5671
|
-
console.warn("[landing] sin db -> fallback json"), u(
|
|
5671
|
+
console.warn("[landing] sin db -> fallback json"), u(Oe(Pe));
|
|
5672
5672
|
return;
|
|
5673
5673
|
}
|
|
5674
5674
|
const l = (T, k) => {
|
|
5675
|
-
console.warn("[landing] FALLBACK:", T, k != null ? k : ""), u(
|
|
5675
|
+
console.warn("[landing] FALLBACK:", T, k != null ? k : ""), u(Oe(Pe)), d(!1);
|
|
5676
5676
|
};
|
|
5677
5677
|
d(!0);
|
|
5678
|
-
const I =
|
|
5679
|
-
|
|
5678
|
+
const I = zt(
|
|
5679
|
+
Pt(o, "landings", a),
|
|
5680
5680
|
(T) => {
|
|
5681
5681
|
try {
|
|
5682
5682
|
if (!T.exists()) {
|
|
5683
5683
|
l(`doc landings/${a} no existe`);
|
|
5684
5684
|
return;
|
|
5685
5685
|
}
|
|
5686
|
-
const k = T.data(), M =
|
|
5686
|
+
const k = T.data(), M = Oe(k);
|
|
5687
5687
|
if (!M.length) {
|
|
5688
5688
|
l("JSON inválido o sin secciones normalizables", k);
|
|
5689
5689
|
return;
|
|
@@ -5713,7 +5713,7 @@ const rt = [
|
|
|
5713
5713
|
const I = (l.apiUrl || "").trim();
|
|
5714
5714
|
if (!I) return;
|
|
5715
5715
|
const T = l.apiMethod || "GET", k = l.apiParams || [];
|
|
5716
|
-
let M = I,
|
|
5716
|
+
let M = I, F, J;
|
|
5717
5717
|
if (T === "GET") {
|
|
5718
5718
|
const ie = new URL(
|
|
5719
5719
|
I,
|
|
@@ -5726,59 +5726,59 @@ const rt = [
|
|
|
5726
5726
|
const ie = new URLSearchParams();
|
|
5727
5727
|
for (const oe of k)
|
|
5728
5728
|
oe.key && ie.append(oe.key, oe.value);
|
|
5729
|
-
|
|
5729
|
+
F = ie.toString(), J = {
|
|
5730
5730
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
5731
5731
|
};
|
|
5732
5732
|
}
|
|
5733
5733
|
const te = await fetch(M, {
|
|
5734
5734
|
method: T,
|
|
5735
5735
|
headers: J,
|
|
5736
|
-
body:
|
|
5736
|
+
body: F
|
|
5737
5737
|
});
|
|
5738
5738
|
if (!te.ok) throw new ot(te.status, M, te.statusText);
|
|
5739
5739
|
return te.json();
|
|
5740
|
-
},
|
|
5740
|
+
}, O = re(
|
|
5741
5741
|
() => e ? e.slice() : h.slice(),
|
|
5742
5742
|
[e, h]
|
|
5743
|
-
),
|
|
5743
|
+
), L = fe.useRef(/* @__PURE__ */ new Set());
|
|
5744
5744
|
Q(() => {
|
|
5745
|
-
const l =
|
|
5745
|
+
const l = O.map((I) => ({ s: I, url: (I.apiUrl || "").trim() })).filter(({ url: I }) => !!I);
|
|
5746
5746
|
if (l.length)
|
|
5747
5747
|
for (const { s: I, url: T } of l) {
|
|
5748
5748
|
const k = `${I.id}|${T}`;
|
|
5749
|
-
|
|
5749
|
+
L.current.has(k) || (L.current.add(k), x((M) => ({ ...M, [I.id]: !0 })), C((M) => ({ ...M, [I.id]: "" })), (async () => {
|
|
5750
5750
|
try {
|
|
5751
5751
|
const M = await b(I);
|
|
5752
|
-
v((
|
|
5752
|
+
v((F) => ({ ...F, [I.id]: M }));
|
|
5753
5753
|
} catch (M) {
|
|
5754
|
-
let
|
|
5755
|
-
M instanceof ot ?
|
|
5754
|
+
let F = "Error desconocido";
|
|
5755
|
+
M instanceof ot ? F = `Error HTTP ${M.status} (${M.statusText}) en ${M.url}` : M instanceof SyntaxError ? F = "Respuesta no es JSON válido" : M instanceof TypeError ? F = "Fallo de red / CORS / conexión" : typeof M == "string" && (F = M.toString()), C((J) => ({ ...J, [I.id]: F }));
|
|
5756
5756
|
} finally {
|
|
5757
5757
|
x((M) => ({ ...M, [I.id]: !1 }));
|
|
5758
5758
|
}
|
|
5759
5759
|
})());
|
|
5760
5760
|
}
|
|
5761
|
-
}, [
|
|
5761
|
+
}, [O]);
|
|
5762
5762
|
const B = re(
|
|
5763
|
-
() =>
|
|
5764
|
-
[
|
|
5763
|
+
() => O.filter((l) => l.visible).filter((l) => E(l, z)).sort((l, I) => l.order - I.order),
|
|
5764
|
+
[O, z]
|
|
5765
5765
|
), A = (l) => Array.isArray(l) ? l.map((I) => {
|
|
5766
5766
|
const T = {};
|
|
5767
5767
|
for (const k of I.fields || []) {
|
|
5768
5768
|
const M = (k.type || "string").toLowerCase();
|
|
5769
5769
|
if (M === "number") {
|
|
5770
|
-
const
|
|
5771
|
-
if (
|
|
5772
|
-
const J = Number(
|
|
5770
|
+
const F = String(k.value || "").trim();
|
|
5771
|
+
if (F !== "") {
|
|
5772
|
+
const J = Number(F);
|
|
5773
5773
|
Number.isNaN(J) || (T[k.name] = J);
|
|
5774
5774
|
}
|
|
5775
5775
|
} else if (M === "boolean")
|
|
5776
5776
|
T[k.name] = String(k.value).toLowerCase() === "true";
|
|
5777
5777
|
else if (M === "function") {
|
|
5778
|
-
const
|
|
5779
|
-
if (
|
|
5778
|
+
const F = String(k.value || "").trim();
|
|
5779
|
+
if (F)
|
|
5780
5780
|
try {
|
|
5781
|
-
const J = new Function(
|
|
5781
|
+
const J = new Function(F);
|
|
5782
5782
|
T[k.name] = J;
|
|
5783
5783
|
} catch (J) {
|
|
5784
5784
|
console.error(`❌ Error creando función en item '${k.name}':`, J);
|
|
@@ -5796,8 +5796,8 @@ const rt = [
|
|
|
5796
5796
|
if (k === "number") {
|
|
5797
5797
|
const M = String(T.value || "").trim();
|
|
5798
5798
|
if (M !== "") {
|
|
5799
|
-
const
|
|
5800
|
-
Number.isNaN(
|
|
5799
|
+
const F = Number(M);
|
|
5800
|
+
Number.isNaN(F) || (I[T.name] = F);
|
|
5801
5801
|
}
|
|
5802
5802
|
} else if (k === "boolean")
|
|
5803
5803
|
I[T.name] = String(T.value).toLowerCase() === "true";
|
|
@@ -5805,30 +5805,30 @@ const rt = [
|
|
|
5805
5805
|
const M = String(T.value || "").trim();
|
|
5806
5806
|
if (M)
|
|
5807
5807
|
try {
|
|
5808
|
-
const
|
|
5809
|
-
I[T.name] =
|
|
5810
|
-
} catch (
|
|
5811
|
-
console.error(`❌ Error creando función en item '${T.name}':`,
|
|
5808
|
+
const F = new Function(M);
|
|
5809
|
+
I[T.name] = F;
|
|
5810
|
+
} catch (F) {
|
|
5811
|
+
console.error(`❌ Error creando función en item '${T.name}':`, F);
|
|
5812
5812
|
}
|
|
5813
5813
|
} else
|
|
5814
5814
|
I[T.name] = T.value;
|
|
5815
5815
|
}
|
|
5816
5816
|
return I;
|
|
5817
5817
|
}, W = (l, I, T, k) => {
|
|
5818
|
-
const M = T ? { ...T } : {},
|
|
5818
|
+
const M = T ? { ...T } : {}, F = (k || "items").trim() || "items";
|
|
5819
5819
|
if (I)
|
|
5820
|
-
return M[
|
|
5820
|
+
return M[F] = I.arr || [], M;
|
|
5821
5821
|
const J = l;
|
|
5822
5822
|
if (Array.isArray(J))
|
|
5823
|
-
return M[
|
|
5823
|
+
return M[F] = J, M;
|
|
5824
5824
|
if (J && typeof J == "object") {
|
|
5825
5825
|
const te = J;
|
|
5826
|
-
return Array.isArray(te.lobby) ? (M[
|
|
5826
|
+
return Array.isArray(te.lobby) ? (M[F] = te.lobby, M) : Array.isArray(te.items) ? (M[F] = te.items, M) : (M[F] = J, M);
|
|
5827
5827
|
}
|
|
5828
|
-
return M[
|
|
5828
|
+
return M[F] = [], M;
|
|
5829
5829
|
}, G = (l) => {
|
|
5830
|
-
var
|
|
5831
|
-
const I = !!((
|
|
5830
|
+
var F;
|
|
5831
|
+
const I = !!((F = l.apiUrl) != null && F.trim()), T = I ? f[l.id] : void 0;
|
|
5832
5832
|
let k = l.props ? { ...l.props } : {};
|
|
5833
5833
|
const M = U(l.manualScalarFields);
|
|
5834
5834
|
if (rt.includes(l.componentKey))
|
|
@@ -5861,7 +5861,7 @@ const rt = [
|
|
|
5861
5861
|
typeof I[k] == "undefined" && (I[k] = []);
|
|
5862
5862
|
}
|
|
5863
5863
|
return I;
|
|
5864
|
-
},
|
|
5864
|
+
}, S = (l) => {
|
|
5865
5865
|
try {
|
|
5866
5866
|
return G(l);
|
|
5867
5867
|
} catch (I) {
|
|
@@ -5877,7 +5877,7 @@ const rt = [
|
|
|
5877
5877
|
}
|
|
5878
5878
|
return K(l);
|
|
5879
5879
|
}
|
|
5880
|
-
},
|
|
5880
|
+
}, R = (l, I, T) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
|
|
5881
5881
|
loading: "bg-blue-100 text-blue-800",
|
|
5882
5882
|
error: "bg-red-100 text-red-800",
|
|
5883
5883
|
component: "bg-yellow-100 text-yellow-800"
|
|
@@ -5896,50 +5896,50 @@ const rt = [
|
|
|
5896
5896
|
"OraculoSeccionDestacados",
|
|
5897
5897
|
"OraculoSeccionCasino"
|
|
5898
5898
|
]
|
|
5899
|
-
])).has(l.componentKey),
|
|
5899
|
+
])).has(l.componentKey), F = $ ? 120 : 24, J = ($ ? 8 : 5) * 8, te = l.componentKey === "OraculoSeccionCasinoEnVivo", ie = {
|
|
5900
5900
|
width: "100%",
|
|
5901
5901
|
boxSizing: "border-box",
|
|
5902
|
-
...M ? {} : { paddingLeft:
|
|
5902
|
+
...M ? {} : { paddingLeft: F, paddingRight: F },
|
|
5903
5903
|
...te ? {
|
|
5904
5904
|
marginTop: -J,
|
|
5905
5905
|
marginBottom: -J
|
|
5906
5906
|
} : {}
|
|
5907
5907
|
};
|
|
5908
5908
|
if (!T)
|
|
5909
|
-
return console.warn(`No hay componente registrado para "${I}"`),
|
|
5909
|
+
return console.warn(`No hay componente registrado para "${I}"`), R(
|
|
5910
5910
|
l.id,
|
|
5911
5911
|
"component",
|
|
5912
5912
|
`Componente "${I}" no encontrado`
|
|
5913
5913
|
);
|
|
5914
|
-
const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0,
|
|
5914
|
+
const oe = !!((He = l.apiUrl) != null && He.trim()), We = oe ? f[l.id] : void 0, Ot = oe ? !!w[l.id] : !1, Ge = oe ? g[l.id] : "";
|
|
5915
5915
|
if (oe) {
|
|
5916
|
-
if (
|
|
5917
|
-
return
|
|
5916
|
+
if (Ot && !We)
|
|
5917
|
+
return R(
|
|
5918
5918
|
l.id,
|
|
5919
5919
|
"loading",
|
|
5920
5920
|
`Cargando datos desde ${l.apiUrl}...`
|
|
5921
5921
|
);
|
|
5922
5922
|
if (Ge && !We) {
|
|
5923
|
-
const
|
|
5924
|
-
if (
|
|
5923
|
+
const Se = _(l);
|
|
5924
|
+
if (Se && Se.dataMode === "manual")
|
|
5925
5925
|
try {
|
|
5926
|
-
const
|
|
5927
|
-
return /* @__PURE__ */ t("div", { style: ie, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(T, { ...
|
|
5928
|
-
} catch (
|
|
5926
|
+
const Le = S(Se);
|
|
5927
|
+
return /* @__PURE__ */ t("div", { style: ie, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(T, { ...Le }) }, l.id);
|
|
5928
|
+
} catch (Le) {
|
|
5929
5929
|
console.error(
|
|
5930
5930
|
"🔥 ERROR renderizando fallback manual de sección:",
|
|
5931
|
-
|
|
5932
|
-
|
|
5931
|
+
Se,
|
|
5932
|
+
Le
|
|
5933
5933
|
);
|
|
5934
5934
|
}
|
|
5935
|
-
return
|
|
5935
|
+
return R(
|
|
5936
5936
|
l.id,
|
|
5937
5937
|
"error",
|
|
5938
5938
|
`Error cargando ${l.apiUrl}: ${Ge}`
|
|
5939
5939
|
);
|
|
5940
5940
|
}
|
|
5941
5941
|
}
|
|
5942
|
-
const je =
|
|
5942
|
+
const je = S(l), Et = l.componentKey === "OraculoSeccionClubOlimpo" ? {
|
|
5943
5943
|
...je,
|
|
5944
5944
|
user: c.user
|
|
5945
5945
|
} : je;
|
|
@@ -5948,7 +5948,7 @@ const rt = [
|
|
|
5948
5948
|
{
|
|
5949
5949
|
style: ie,
|
|
5950
5950
|
className: "oraculo-section-wrapper",
|
|
5951
|
-
children: /* @__PURE__ */ t(T, { ...
|
|
5951
|
+
children: /* @__PURE__ */ t(T, { ...Et })
|
|
5952
5952
|
},
|
|
5953
5953
|
l.id
|
|
5954
5954
|
) });
|
|
@@ -5967,7 +5967,7 @@ const rt = [
|
|
|
5967
5967
|
maxWidth: "100%",
|
|
5968
5968
|
overflowX: "hidden"
|
|
5969
5969
|
},
|
|
5970
|
-
children: /* @__PURE__ */ t(
|
|
5970
|
+
children: /* @__PURE__ */ t(Ee, { direction: "column", spacing: $ ? 8 : 5, useFlexGap: !0, children: B.map((l) => {
|
|
5971
5971
|
try {
|
|
5972
5972
|
return Z(l);
|
|
5973
5973
|
} catch (I) {
|
|
@@ -5982,8 +5982,8 @@ export {
|
|
|
5982
5982
|
Y as OraculoButton,
|
|
5983
5983
|
he as OraculoCarousel,
|
|
5984
5984
|
dt as OraculoCarouselDots,
|
|
5985
|
-
|
|
5986
|
-
|
|
5985
|
+
wa as OraculoClubOlimpoVisual,
|
|
5986
|
+
La as OraculoEventCombinadasCard,
|
|
5987
5987
|
Da as OraculoEventEnVivoCard,
|
|
5988
5988
|
Ht as OraculoEventHeader,
|
|
5989
5989
|
ut as OraculoEventLabel,
|
|
@@ -5997,7 +5997,7 @@ export {
|
|
|
5997
5997
|
xa as OraculoGameRankCard,
|
|
5998
5998
|
ft as OraculoGameSlide,
|
|
5999
5999
|
me as OraculoGridGroup,
|
|
6000
|
-
|
|
6000
|
+
Sa as OraculoLiveCasinoCard,
|
|
6001
6001
|
Ze as OraculoLogoMediosPago,
|
|
6002
6002
|
Io as OraculoPageLandingPreview,
|
|
6003
6003
|
Xn as OraculoSeccionBanners,
|
|
@@ -6007,12 +6007,12 @@ export {
|
|
|
6007
6007
|
xn as OraculoSeccionClubOlimpo,
|
|
6008
6008
|
Ja as OraculoSeccionDestacados,
|
|
6009
6009
|
Tn as OraculoSeccionEventoCombinadas,
|
|
6010
|
-
|
|
6010
|
+
Ln as OraculoSeccionEventoEnVivo,
|
|
6011
6011
|
Hn as OraculoSeccionEventoSemana,
|
|
6012
6012
|
Qn as OraculoSeccionMediosPago,
|
|
6013
6013
|
Qa as OraculoSeccionTopJuegos,
|
|
6014
6014
|
vn as OraculoSeccionVirtuales,
|
|
6015
|
-
|
|
6015
|
+
wo as OraculoSectionHost,
|
|
6016
6016
|
ge as OraculoSectionTitle,
|
|
6017
6017
|
It as OraculoThemeProvider,
|
|
6018
6018
|
Qa as OraculoTopJuegoItem,
|