oraculo-ui 0.1.60 → 0.1.62
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 +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +1057 -1047
- package/dist/index.es.js.map +1 -1
- package/dist/templates/OraculoPageLandingPreview.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l, Fragment as Z } from "react/jsx-runtime";
|
|
2
|
-
import { Link as
|
|
3
|
-
import
|
|
4
|
-
import { Splide as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
2
|
+
import { Link as Se, Box as z, Typography as Ce, Stack as Ee, useMediaQuery as Fe, Container as Le } from "@mui/material";
|
|
3
|
+
import We, { forwardRef as je, useRef as U, useImperativeHandle as ze, useCallback as ge, useState as A, useMemo as oe, useLayoutEffect as Ae, useEffect as Y } from "react";
|
|
4
|
+
import { Splide as Ge, SplideSlide as Ue } from "@splidejs/react-splide";
|
|
5
|
+
import $ from "@mui/material/Box";
|
|
6
|
+
import F from "@mui/material/Skeleton";
|
|
7
|
+
import V from "@mui/material/Typography";
|
|
8
|
+
import M from "@mui/material/Stack";
|
|
9
9
|
import { ChevronLeftRounded as de, ChevronRightRounded as ue } from "@mui/icons-material";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { onSnapshot as
|
|
14
|
-
function
|
|
10
|
+
import ke from "@mui/icons-material/ChevronLeftRounded";
|
|
11
|
+
import $e from "@mui/icons-material/ChevronRightRounded";
|
|
12
|
+
import De from "@mui/material/useMediaQuery";
|
|
13
|
+
import { onSnapshot as Ve, doc as He } from "firebase/firestore";
|
|
14
|
+
function L({
|
|
15
15
|
children: t,
|
|
16
16
|
onClick: n,
|
|
17
17
|
href: r,
|
|
18
|
-
target:
|
|
19
|
-
rel:
|
|
18
|
+
target: i,
|
|
19
|
+
rel: d,
|
|
20
20
|
type: o = "button",
|
|
21
|
-
disabled:
|
|
22
|
-
variant:
|
|
23
|
-
size:
|
|
24
|
-
fullWidth:
|
|
25
|
-
fullHeight:
|
|
21
|
+
disabled: a = !1,
|
|
22
|
+
variant: u = "primary",
|
|
23
|
+
size: p,
|
|
24
|
+
fullWidth: h = !1,
|
|
25
|
+
fullHeight: _ = !1,
|
|
26
26
|
className: k = "",
|
|
27
27
|
ariaLabel: s,
|
|
28
28
|
leftIcon: c,
|
|
29
|
-
rightIcon:
|
|
30
|
-
iconOnly:
|
|
29
|
+
rightIcon: g,
|
|
30
|
+
iconOnly: O
|
|
31
31
|
}) {
|
|
32
|
-
const
|
|
32
|
+
const x = !!t && t !== !0, f = (!!c ? 1 : 0) + (!!g ? 1 : 0) == 1, E = O != null ? O : f && !x, P = [
|
|
33
33
|
"orc-btn",
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
u === "secondary" ? "orc-btn--secondary" : u === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
35
|
+
p ? `orc-btn--${p}` : "",
|
|
36
|
+
h ? "orc-btn--full" : "",
|
|
37
|
+
_ ? "orc-btn--fullHeight" : "",
|
|
38
|
+
E ? "orc-btn--iconOnly" : "",
|
|
39
39
|
k
|
|
40
40
|
].filter(Boolean).join(" "), T = /* @__PURE__ */ l(Z, { children: [
|
|
41
41
|
c && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: c }),
|
|
42
|
-
!
|
|
43
|
-
|
|
44
|
-
] }),
|
|
42
|
+
!E && /* @__PURE__ */ e("span", { className: "orc-btn__label", children: t }),
|
|
43
|
+
g && /* @__PURE__ */ e("span", { className: "orc-btn__icon", children: g })
|
|
44
|
+
] }), S = a ? !0 : void 0;
|
|
45
45
|
return r ? /* @__PURE__ */ e(
|
|
46
|
-
|
|
46
|
+
Se,
|
|
47
47
|
{
|
|
48
48
|
href: r,
|
|
49
|
-
target:
|
|
50
|
-
rel:
|
|
49
|
+
target: i,
|
|
50
|
+
rel: d,
|
|
51
51
|
"aria-label": s,
|
|
52
|
-
"aria-disabled":
|
|
53
|
-
tabIndex:
|
|
52
|
+
"aria-disabled": S,
|
|
53
|
+
tabIndex: S ? -1 : void 0,
|
|
54
54
|
className: P,
|
|
55
|
-
onClick:
|
|
55
|
+
onClick: S ? (B) => B.preventDefault() : n,
|
|
56
56
|
children: T
|
|
57
57
|
}
|
|
58
58
|
) : /* @__PURE__ */ e(
|
|
@@ -60,23 +60,23 @@ function F({
|
|
|
60
60
|
{
|
|
61
61
|
type: o,
|
|
62
62
|
onClick: n,
|
|
63
|
-
disabled: !!
|
|
63
|
+
disabled: !!S,
|
|
64
64
|
"aria-label": s,
|
|
65
65
|
className: P,
|
|
66
66
|
children: T
|
|
67
67
|
}
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function q({
|
|
71
71
|
title: t,
|
|
72
72
|
iconUrl: n,
|
|
73
73
|
size: r = "md",
|
|
74
|
-
className:
|
|
74
|
+
className: i = ""
|
|
75
75
|
}) {
|
|
76
76
|
const o = [
|
|
77
77
|
"orc-section-title",
|
|
78
78
|
r ? `orc-section-title--${r}` : "",
|
|
79
|
-
|
|
79
|
+
i
|
|
80
80
|
].filter(Boolean).join(" ");
|
|
81
81
|
return /* @__PURE__ */ l("div", { className: o, children: [
|
|
82
82
|
n && /* @__PURE__ */ e(
|
|
@@ -90,51 +90,51 @@ function K({
|
|
|
90
90
|
/* @__PURE__ */ e("h2", { className: "orc-section-title__title", children: t })
|
|
91
91
|
] });
|
|
92
92
|
}
|
|
93
|
-
const
|
|
93
|
+
const Oe = ({
|
|
94
94
|
total: t,
|
|
95
95
|
active: n,
|
|
96
96
|
onSelect: r,
|
|
97
|
-
className:
|
|
97
|
+
className: i = ""
|
|
98
98
|
}) => {
|
|
99
99
|
if (t <= 1) return null;
|
|
100
|
-
const
|
|
101
|
-
return /* @__PURE__ */ e("div", { className:
|
|
100
|
+
const d = ["orc-dots", i].filter(Boolean).join(" ");
|
|
101
|
+
return /* @__PURE__ */ e("div", { className: d, role: "tablist", children: Array.from({ length: t }).map((o, a) => /* @__PURE__ */ e("span", { className: "orc-dots__cell", children: /* @__PURE__ */ e(
|
|
102
102
|
"button",
|
|
103
103
|
{
|
|
104
104
|
type: "button",
|
|
105
105
|
role: "tab",
|
|
106
|
-
"aria-selected":
|
|
107
|
-
"aria-label": `Ir al slide ${
|
|
108
|
-
className: "orc-dots__dot" + (
|
|
109
|
-
onClick: () => r == null ? void 0 : r(
|
|
106
|
+
"aria-selected": a === n,
|
|
107
|
+
"aria-label": `Ir al slide ${a + 1}`,
|
|
108
|
+
className: "orc-dots__dot" + (a === n ? " orc-dots__dot--active" : ""),
|
|
109
|
+
onClick: () => r == null ? void 0 : r(a)
|
|
110
110
|
}
|
|
111
|
-
) },
|
|
111
|
+
) }, a)) });
|
|
112
112
|
};
|
|
113
|
-
function
|
|
113
|
+
function H({
|
|
114
114
|
children: t,
|
|
115
115
|
minWidth: n = 32,
|
|
116
116
|
spacing: r = 2,
|
|
117
|
-
justify:
|
|
118
|
-
columns:
|
|
117
|
+
justify: i = "stretch",
|
|
118
|
+
columns: d = null
|
|
119
119
|
}) {
|
|
120
|
-
const o =
|
|
120
|
+
const o = d || `repeat(auto-fit, minmax(${n}px, 1fr))`, a = typeof r == "number" ? `${r * 8}px` : r;
|
|
121
121
|
return /* @__PURE__ */ e(
|
|
122
122
|
"div",
|
|
123
123
|
{
|
|
124
124
|
style: {
|
|
125
125
|
display: "grid",
|
|
126
126
|
gridTemplateColumns: o,
|
|
127
|
-
justifyItems:
|
|
128
|
-
gap:
|
|
127
|
+
justifyItems: i,
|
|
128
|
+
gap: a,
|
|
129
129
|
height: "inherit"
|
|
130
130
|
},
|
|
131
131
|
children: t
|
|
132
132
|
}
|
|
133
133
|
);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function fe({ src: t, alt: n }) {
|
|
136
136
|
return /* @__PURE__ */ e(
|
|
137
|
-
|
|
137
|
+
z,
|
|
138
138
|
{
|
|
139
139
|
sx: {
|
|
140
140
|
position: "relative",
|
|
@@ -145,7 +145,7 @@ function ge({ src: t, alt: n }) {
|
|
|
145
145
|
display: "inline-block"
|
|
146
146
|
},
|
|
147
147
|
children: /* @__PURE__ */ e(
|
|
148
|
-
|
|
148
|
+
z,
|
|
149
149
|
{
|
|
150
150
|
component: "img",
|
|
151
151
|
src: t,
|
|
@@ -163,12 +163,12 @@ function ge({ src: t, alt: n }) {
|
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
165
|
}
|
|
166
|
-
const
|
|
167
|
-
contenedor:
|
|
168
|
-
flexGroup:
|
|
169
|
-
subtitle:
|
|
166
|
+
const Ke = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", qe = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Je = "oraculo__OraculoEventTitle-module__subtitle___TmHna", ie = {
|
|
167
|
+
contenedor: Ke,
|
|
168
|
+
flexGroup: qe,
|
|
169
|
+
subtitle: Je
|
|
170
170
|
};
|
|
171
|
-
function
|
|
171
|
+
function Xe({ title: t, subtitle: n }) {
|
|
172
172
|
return /* @__PURE__ */ l(
|
|
173
173
|
"div",
|
|
174
174
|
{
|
|
@@ -204,7 +204,7 @@ function Je({ title: t, subtitle: n }) {
|
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Qe({ text: t, color: n = "#ff3b3b", textColor: r = "#fff" }) {
|
|
208
208
|
return /* @__PURE__ */ e(
|
|
209
209
|
"span",
|
|
210
210
|
{
|
|
@@ -225,13 +225,13 @@ function Xe({ text: t, color: n = "#ff3b3b", textColor: r = "#fff" }) {
|
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function Ye({ live: t, time: n }) {
|
|
229
229
|
return /* @__PURE__ */ l("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
230
|
-
t && /* @__PURE__ */ e(
|
|
230
|
+
t && /* @__PURE__ */ e(Qe, { text: "En vivo" }),
|
|
231
231
|
n && /* @__PURE__ */ e("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: n })
|
|
232
232
|
] });
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Ze({ title: t, subtitle: n, live: r = !1, time: i = "" }) {
|
|
235
235
|
return /* @__PURE__ */ l(
|
|
236
236
|
"div",
|
|
237
237
|
{
|
|
@@ -242,49 +242,49 @@ function Ye({ title: t, subtitle: n, live: r = !1, time: a = "" }) {
|
|
|
242
242
|
color: "#FFFFFF"
|
|
243
243
|
},
|
|
244
244
|
children: [
|
|
245
|
-
/* @__PURE__ */ e(
|
|
246
|
-
/* @__PURE__ */ e(
|
|
245
|
+
/* @__PURE__ */ e(Xe, { title: t, subtitle: n }),
|
|
246
|
+
/* @__PURE__ */ e(Ye, { live: r, time: i })
|
|
247
247
|
]
|
|
248
248
|
}
|
|
249
249
|
);
|
|
250
250
|
}
|
|
251
|
-
const
|
|
252
|
-
label:
|
|
251
|
+
const et = "oraculo__OraculoEventLabel-module__label___c64Xw", tt = {
|
|
252
|
+
label: et
|
|
253
253
|
};
|
|
254
|
-
function
|
|
255
|
-
return /* @__PURE__ */ e("span", { className:
|
|
254
|
+
function Ie({ text: t }) {
|
|
255
|
+
return /* @__PURE__ */ e("span", { className: tt.label, children: t });
|
|
256
256
|
}
|
|
257
|
-
const
|
|
258
|
-
container:
|
|
257
|
+
const ot = "oraculo__OraculoEventLeague-module__container___rdk4F", nt = {
|
|
258
|
+
container: ot
|
|
259
259
|
};
|
|
260
|
-
function
|
|
261
|
-
return /* @__PURE__ */ e("div", { className:
|
|
260
|
+
function Ne({ title: t }) {
|
|
261
|
+
return /* @__PURE__ */ e("div", { className: nt.container, children: t.toUpperCase() });
|
|
262
262
|
}
|
|
263
|
-
const
|
|
264
|
-
scoreWrapper:
|
|
265
|
-
name:
|
|
266
|
-
score:
|
|
267
|
-
normal:
|
|
268
|
-
small:
|
|
263
|
+
const rt = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", at = "oraculo__OraculoEventScore-module__name___r4uL6", it = "oraculo__OraculoEventScore-module__score___Xl03M", st = "oraculo__OraculoEventScore-module__normal___cCNFz", ct = "oraculo__OraculoEventScore-module__small___fVt8E", Q = {
|
|
264
|
+
scoreWrapper: rt,
|
|
265
|
+
name: at,
|
|
266
|
+
score: it,
|
|
267
|
+
normal: st,
|
|
268
|
+
small: ct
|
|
269
269
|
};
|
|
270
|
-
function
|
|
270
|
+
function Te({ text: t, name: n, size: r = "normal" }) {
|
|
271
271
|
return /* @__PURE__ */ l(
|
|
272
272
|
"div",
|
|
273
273
|
{
|
|
274
|
-
className: `${
|
|
274
|
+
className: `${Q.scoreWrapper} ${Q[r]}`,
|
|
275
275
|
children: [
|
|
276
|
-
/* @__PURE__ */ e("div", { className: `${
|
|
277
|
-
n && /* @__PURE__ */ e("span", { className: `${
|
|
276
|
+
/* @__PURE__ */ e("div", { className: `${Q.score} ${Q[r]}`, children: t }),
|
|
277
|
+
n && /* @__PURE__ */ e("span", { className: `${Q.name} ${Q[r]}`, children: n })
|
|
278
278
|
]
|
|
279
279
|
}
|
|
280
280
|
);
|
|
281
281
|
}
|
|
282
|
-
const
|
|
283
|
-
team:
|
|
284
|
-
regular:
|
|
285
|
-
compact:
|
|
286
|
-
logo:
|
|
287
|
-
name:
|
|
282
|
+
const lt = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", dt = "oraculo__OraculoEventTeamInfo-module__regular___ag826", ut = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", pt = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", mt = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", ee = {
|
|
283
|
+
team: lt,
|
|
284
|
+
regular: dt,
|
|
285
|
+
compact: ut,
|
|
286
|
+
logo: pt,
|
|
287
|
+
name: mt
|
|
288
288
|
};
|
|
289
289
|
function ne({ name: t, logo: n, size: r = "regular" }) {
|
|
290
290
|
return /* @__PURE__ */ l("div", { className: `oli-font ${ee.team} ${ee[r]}`, children: [
|
|
@@ -292,39 +292,39 @@ function ne({ name: t, logo: n, size: r = "regular" }) {
|
|
|
292
292
|
/* @__PURE__ */ e("span", { className: ee.name, children: t })
|
|
293
293
|
] });
|
|
294
294
|
}
|
|
295
|
-
const
|
|
295
|
+
const ht = Ge, gt = Ue, J = je(
|
|
296
296
|
({
|
|
297
297
|
items: t = [],
|
|
298
298
|
renderItem: n,
|
|
299
299
|
perPage: r = 1,
|
|
300
|
-
gap:
|
|
301
|
-
breakpoints:
|
|
300
|
+
gap: i = "0px",
|
|
301
|
+
breakpoints: d,
|
|
302
302
|
options: o = {},
|
|
303
|
-
className:
|
|
304
|
-
onMove:
|
|
305
|
-
useIndexAsKey:
|
|
306
|
-
},
|
|
307
|
-
const
|
|
308
|
-
|
|
303
|
+
className: a = "",
|
|
304
|
+
onMove: u,
|
|
305
|
+
useIndexAsKey: p = !1
|
|
306
|
+
}, h) => {
|
|
307
|
+
const _ = U(null);
|
|
308
|
+
ze(h, () => ({
|
|
309
309
|
next: () => {
|
|
310
|
-
var
|
|
311
|
-
return (
|
|
310
|
+
var g;
|
|
311
|
+
return (g = _.current) == null ? void 0 : g.go(">");
|
|
312
312
|
},
|
|
313
313
|
prev: () => {
|
|
314
|
-
var
|
|
315
|
-
return (
|
|
314
|
+
var g;
|
|
315
|
+
return (g = _.current) == null ? void 0 : g.go("<");
|
|
316
316
|
},
|
|
317
|
-
go: (
|
|
318
|
-
var
|
|
319
|
-
return (
|
|
317
|
+
go: (g) => {
|
|
318
|
+
var O;
|
|
319
|
+
return (O = _.current) == null ? void 0 : O.go(g);
|
|
320
320
|
}
|
|
321
321
|
}));
|
|
322
|
-
const k =
|
|
323
|
-
const
|
|
324
|
-
|
|
325
|
-
}, [
|
|
326
|
-
(
|
|
327
|
-
k(
|
|
322
|
+
const k = ge((g) => {
|
|
323
|
+
const O = g.Components.Controller, x = O.getIndex(), C = O.getEnd(), N = x === 0, f = x >= C, E = g.Components.Slides.getLength();
|
|
324
|
+
u == null || u({ index: x, isStart: N, isEnd: f, total: E });
|
|
325
|
+
}, [u]), s = ge(
|
|
326
|
+
(g) => {
|
|
327
|
+
k(g);
|
|
328
328
|
},
|
|
329
329
|
[k]
|
|
330
330
|
), c = {
|
|
@@ -337,20 +337,20 @@ const mt = Ae, ht = Ge, q = We(
|
|
|
337
337
|
focus: "start",
|
|
338
338
|
autoWidth: !1,
|
|
339
339
|
perPage: r,
|
|
340
|
-
gap:
|
|
341
|
-
breakpoints:
|
|
340
|
+
gap: i,
|
|
341
|
+
breakpoints: d,
|
|
342
342
|
...o
|
|
343
343
|
};
|
|
344
|
-
return /* @__PURE__ */ e("div", { className:
|
|
345
|
-
|
|
344
|
+
return /* @__PURE__ */ e("div", { className: a, style: { width: "100%" }, children: /* @__PURE__ */ e(
|
|
345
|
+
ht,
|
|
346
346
|
{
|
|
347
|
-
ref:
|
|
347
|
+
ref: _,
|
|
348
348
|
options: c,
|
|
349
349
|
onMove: k,
|
|
350
350
|
onMounted: s,
|
|
351
|
-
children: t.map((
|
|
352
|
-
var
|
|
353
|
-
return /* @__PURE__ */ e(
|
|
351
|
+
children: t.map((g, O) => {
|
|
352
|
+
var x;
|
|
353
|
+
return /* @__PURE__ */ e(gt, { children: n(g, O) }, p ? O : (x = g.id) != null ? x : O);
|
|
354
354
|
})
|
|
355
355
|
}
|
|
356
356
|
) });
|
|
@@ -359,13 +359,13 @@ const mt = Ae, ht = Ge, q = We(
|
|
|
359
359
|
imageUrl: t,
|
|
360
360
|
onClick: n,
|
|
361
361
|
size: r = "sm",
|
|
362
|
-
fillParent:
|
|
362
|
+
fillParent: i = !1
|
|
363
363
|
}) => {
|
|
364
|
-
const
|
|
365
|
-
|
|
366
|
-
},
|
|
364
|
+
const d = r === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, o = (u) => {
|
|
365
|
+
u.stopPropagation(), n == null || n();
|
|
366
|
+
}, a = i ? { width: "100%", height: "100%" } : { width: `${d.w}px`, height: `${d.h}px` };
|
|
367
367
|
return /* @__PURE__ */ l(
|
|
368
|
-
|
|
368
|
+
$,
|
|
369
369
|
{
|
|
370
370
|
onClick: n,
|
|
371
371
|
role: "button",
|
|
@@ -375,7 +375,7 @@ const mt = Ae, ht = Ge, q = We(
|
|
|
375
375
|
overflow: "hidden",
|
|
376
376
|
boxSizing: "border-box",
|
|
377
377
|
transition: "transform .15s ease, box-shadow .15s ease",
|
|
378
|
-
...
|
|
378
|
+
...a,
|
|
379
379
|
"&:hover": {
|
|
380
380
|
transform: "translateY(-2px)",
|
|
381
381
|
boxShadow: 8,
|
|
@@ -407,7 +407,7 @@ const mt = Ae, ht = Ge, q = We(
|
|
|
407
407
|
}
|
|
408
408
|
),
|
|
409
409
|
/* @__PURE__ */ e(
|
|
410
|
-
|
|
410
|
+
$,
|
|
411
411
|
{
|
|
412
412
|
className: "oraculo-game-card-overlay",
|
|
413
413
|
sx: {
|
|
@@ -422,7 +422,7 @@ const mt = Ae, ht = Ge, q = We(
|
|
|
422
422
|
}
|
|
423
423
|
),
|
|
424
424
|
/* @__PURE__ */ e(
|
|
425
|
-
|
|
425
|
+
$,
|
|
426
426
|
{
|
|
427
427
|
className: "oraculo-game-card-btn",
|
|
428
428
|
sx: {
|
|
@@ -435,49 +435,49 @@ const mt = Ae, ht = Ge, q = We(
|
|
|
435
435
|
transition: "opacity .15s ease, transform .15s ease",
|
|
436
436
|
pointerEvents: "none"
|
|
437
437
|
},
|
|
438
|
-
children: /* @__PURE__ */ e(
|
|
438
|
+
children: /* @__PURE__ */ e(L, { variant: "primary", size: "md", onClick: o, children: "JUGAR" })
|
|
439
439
|
}
|
|
440
440
|
)
|
|
441
441
|
]
|
|
442
442
|
}
|
|
443
443
|
);
|
|
444
444
|
};
|
|
445
|
-
function
|
|
445
|
+
function ft({
|
|
446
446
|
imageUrl: t,
|
|
447
447
|
orden: n = 1,
|
|
448
448
|
onClick: r,
|
|
449
|
-
loading:
|
|
450
|
-
sizes:
|
|
449
|
+
loading: i = !1,
|
|
450
|
+
sizes: d = {
|
|
451
451
|
xs: { w: 104, h: 112, r: 18, font: 48 },
|
|
452
452
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
453
453
|
}
|
|
454
454
|
}) {
|
|
455
|
-
var k, s, c,
|
|
456
|
-
const o = (
|
|
457
|
-
var C, N,
|
|
455
|
+
var k, s, c, g;
|
|
456
|
+
const o = (O, x) => {
|
|
457
|
+
var C, N, f, E;
|
|
458
458
|
return {
|
|
459
|
-
xs: (N = (C =
|
|
460
|
-
md: (
|
|
459
|
+
xs: (N = (C = d.xs) == null ? void 0 : C[O]) != null ? N : x,
|
|
460
|
+
md: (E = (f = d.md) == null ? void 0 : f[O]) != null ? E : x
|
|
461
461
|
};
|
|
462
|
-
},
|
|
463
|
-
xs: Math.round(((s = (k =
|
|
464
|
-
md: Math.round(((
|
|
462
|
+
}, a = o("w", 186), u = o("h", 264), p = o("r", 22.6), h = o("font", 64), _ = {
|
|
463
|
+
xs: Math.round(((s = (k = d.xs) == null ? void 0 : k.font) != null ? s : 64) * 0.28),
|
|
464
|
+
md: Math.round(((g = (c = d.md) == null ? void 0 : c.font) != null ? g : 64) * 0.28)
|
|
465
465
|
};
|
|
466
466
|
return /* @__PURE__ */ l(
|
|
467
|
-
|
|
467
|
+
$,
|
|
468
468
|
{
|
|
469
469
|
sx: {
|
|
470
470
|
position: "relative",
|
|
471
471
|
width: "100%",
|
|
472
|
-
maxWidth: { xs: `${
|
|
472
|
+
maxWidth: { xs: `${a.xs}px`, md: `${a.md}px` },
|
|
473
473
|
aspectRatio: {
|
|
474
|
-
xs: `${
|
|
475
|
-
md: `${
|
|
474
|
+
xs: `${a.xs}/${u.xs}`,
|
|
475
|
+
md: `${a.md}/${u.md}`
|
|
476
476
|
},
|
|
477
|
-
borderRadius: { xs: `${
|
|
477
|
+
borderRadius: { xs: `${p.xs}px`, md: `${p.md}px` },
|
|
478
478
|
boxSizing: "border-box",
|
|
479
479
|
overflow: "visible",
|
|
480
|
-
pb: { xs: `${
|
|
480
|
+
pb: { xs: `${_.xs}px`, md: `${_.md}px` },
|
|
481
481
|
"&::before": {
|
|
482
482
|
content: '""',
|
|
483
483
|
position: "absolute",
|
|
@@ -491,7 +491,7 @@ function gt({
|
|
|
491
491
|
},
|
|
492
492
|
children: [
|
|
493
493
|
/* @__PURE__ */ e(
|
|
494
|
-
|
|
494
|
+
$,
|
|
495
495
|
{
|
|
496
496
|
sx: {
|
|
497
497
|
position: "absolute",
|
|
@@ -499,8 +499,8 @@ function gt({
|
|
|
499
499
|
borderRadius: "inherit",
|
|
500
500
|
overflow: "hidden"
|
|
501
501
|
},
|
|
502
|
-
children:
|
|
503
|
-
|
|
502
|
+
children: i ? /* @__PURE__ */ e(
|
|
503
|
+
F,
|
|
504
504
|
{
|
|
505
505
|
variant: "rectangular",
|
|
506
506
|
width: "100%",
|
|
@@ -525,20 +525,20 @@ function gt({
|
|
|
525
525
|
}
|
|
526
526
|
),
|
|
527
527
|
/* @__PURE__ */ e(
|
|
528
|
-
|
|
528
|
+
$,
|
|
529
529
|
{
|
|
530
530
|
component: "span",
|
|
531
531
|
sx: {
|
|
532
532
|
position: "absolute",
|
|
533
533
|
left: 8,
|
|
534
534
|
bottom: {
|
|
535
|
-
xs: `-${
|
|
536
|
-
md: `-${
|
|
535
|
+
xs: `-${_.xs}px`,
|
|
536
|
+
md: `-${_.md}px`
|
|
537
537
|
},
|
|
538
538
|
fontFamily: "secondary",
|
|
539
539
|
fontSize: {
|
|
540
|
-
xs: `${
|
|
541
|
-
md: `${
|
|
540
|
+
xs: `${h.xs}px`,
|
|
541
|
+
md: `${h.md}px`
|
|
542
542
|
},
|
|
543
543
|
lineHeight: 1,
|
|
544
544
|
color: "#3CC666",
|
|
@@ -553,18 +553,18 @@ function gt({
|
|
|
553
553
|
}
|
|
554
554
|
);
|
|
555
555
|
}
|
|
556
|
-
const
|
|
556
|
+
const xt = ({
|
|
557
557
|
logo: t,
|
|
558
558
|
provider: n,
|
|
559
559
|
providerName: r,
|
|
560
|
-
machine:
|
|
561
|
-
onClick:
|
|
560
|
+
machine: i,
|
|
561
|
+
onClick: d
|
|
562
562
|
}) => {
|
|
563
563
|
var o;
|
|
564
564
|
return /* @__PURE__ */ l(
|
|
565
|
-
|
|
565
|
+
$,
|
|
566
566
|
{
|
|
567
|
-
onClick:
|
|
567
|
+
onClick: d,
|
|
568
568
|
sx: {
|
|
569
569
|
flex: "0 0 auto",
|
|
570
570
|
position: "relative",
|
|
@@ -586,11 +586,11 @@ const ft = ({
|
|
|
586
586
|
},
|
|
587
587
|
children: [
|
|
588
588
|
/* @__PURE__ */ e(
|
|
589
|
-
|
|
589
|
+
$,
|
|
590
590
|
{
|
|
591
591
|
component: "img",
|
|
592
592
|
src: t,
|
|
593
|
-
alt: `Juego ${
|
|
593
|
+
alt: `Juego ${i != null ? i : ""}`,
|
|
594
594
|
sx: {
|
|
595
595
|
position: "absolute",
|
|
596
596
|
inset: 0,
|
|
@@ -602,7 +602,7 @@ const ft = ({
|
|
|
602
602
|
}
|
|
603
603
|
),
|
|
604
604
|
/* @__PURE__ */ e(
|
|
605
|
-
|
|
605
|
+
$,
|
|
606
606
|
{
|
|
607
607
|
className: "orc-live-provider-label",
|
|
608
608
|
sx: {
|
|
@@ -616,7 +616,7 @@ const ft = ({
|
|
|
616
616
|
pointerEvents: "none"
|
|
617
617
|
},
|
|
618
618
|
children: /* @__PURE__ */ e(
|
|
619
|
-
|
|
619
|
+
V,
|
|
620
620
|
{
|
|
621
621
|
sx: {
|
|
622
622
|
color: "#fff",
|
|
@@ -632,8 +632,8 @@ const ft = ({
|
|
|
632
632
|
]
|
|
633
633
|
}
|
|
634
634
|
);
|
|
635
|
-
}, se = 12, ce = ({ r: t = 16 }) => /* @__PURE__ */ e(
|
|
636
|
-
|
|
635
|
+
}, se = 12, ce = ({ r: t = 16 }) => /* @__PURE__ */ e($, { sx: { width: "100%", height: "100%", borderRadius: t, overflow: "hidden" }, children: /* @__PURE__ */ e(
|
|
636
|
+
F,
|
|
637
637
|
{
|
|
638
638
|
variant: "rectangular",
|
|
639
639
|
width: "100%",
|
|
@@ -647,20 +647,20 @@ const ft = ({
|
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
) }),
|
|
650
|
+
) }), Pe = ({
|
|
651
651
|
items: t,
|
|
652
652
|
layout: n = "grid",
|
|
653
653
|
onClick: r,
|
|
654
|
-
loading:
|
|
655
|
-
gridSkeletonCount:
|
|
654
|
+
loading: i = !1,
|
|
655
|
+
gridSkeletonCount: d = 4
|
|
656
656
|
}) => {
|
|
657
|
-
var o,
|
|
657
|
+
var o, a;
|
|
658
658
|
if (n === "mosaic") {
|
|
659
|
-
const
|
|
660
|
-
console.log("big: ",
|
|
661
|
-
const
|
|
659
|
+
const u = t[0];
|
|
660
|
+
console.log("big: ", u);
|
|
661
|
+
const p = t.slice(1, 5);
|
|
662
662
|
return /* @__PURE__ */ l(
|
|
663
|
-
|
|
663
|
+
$,
|
|
664
664
|
{
|
|
665
665
|
sx: {
|
|
666
666
|
display: "grid",
|
|
@@ -684,7 +684,7 @@ const ft = ({
|
|
|
684
684
|
},
|
|
685
685
|
children: [
|
|
686
686
|
/* @__PURE__ */ e(
|
|
687
|
-
|
|
687
|
+
$,
|
|
688
688
|
{
|
|
689
689
|
sx: {
|
|
690
690
|
width: { xs: 184, md: 280 },
|
|
@@ -693,21 +693,21 @@ const ft = ({
|
|
|
693
693
|
overflow: "hidden",
|
|
694
694
|
borderRadius: 2
|
|
695
695
|
},
|
|
696
|
-
children:
|
|
696
|
+
children: i ? /* @__PURE__ */ e(ce, {}) : u && /* @__PURE__ */ e(
|
|
697
697
|
te,
|
|
698
698
|
{
|
|
699
|
-
imageUrl: `https://olimpo.bet${(
|
|
699
|
+
imageUrl: `https://olimpo.bet${(a = (o = u.background) != null ? o : u.imageUrl) != null ? a : ""}`,
|
|
700
700
|
size: "lg",
|
|
701
701
|
fillParent: !0,
|
|
702
|
-
onClick: () => r == null ? void 0 : r(
|
|
702
|
+
onClick: () => r == null ? void 0 : r(u, 0)
|
|
703
703
|
}
|
|
704
704
|
)
|
|
705
705
|
}
|
|
706
706
|
),
|
|
707
|
-
(
|
|
707
|
+
(i ? Array.from({ length: 4 }) : p).map((h, _) => {
|
|
708
708
|
var k, s;
|
|
709
709
|
return /* @__PURE__ */ e(
|
|
710
|
-
|
|
710
|
+
$,
|
|
711
711
|
{
|
|
712
712
|
sx: {
|
|
713
713
|
width: { xs: 104, md: 152 },
|
|
@@ -715,17 +715,17 @@ const ft = ({
|
|
|
715
715
|
overflow: "hidden",
|
|
716
716
|
borderRadius: 2
|
|
717
717
|
},
|
|
718
|
-
children:
|
|
718
|
+
children: i ? /* @__PURE__ */ e(ce, {}) : /* @__PURE__ */ e(
|
|
719
719
|
te,
|
|
720
720
|
{
|
|
721
|
-
imageUrl: `https://olimpo.bet${(s = (k =
|
|
721
|
+
imageUrl: `https://olimpo.bet${(s = (k = h.background) != null ? k : h.imageUrl) != null ? s : ""}`,
|
|
722
722
|
size: "sm",
|
|
723
723
|
fillParent: !0,
|
|
724
|
-
onClick: () => r == null ? void 0 : r(
|
|
724
|
+
onClick: () => r == null ? void 0 : r(h, _ + 1)
|
|
725
725
|
}
|
|
726
726
|
)
|
|
727
727
|
},
|
|
728
|
-
|
|
728
|
+
i ? `sk-${_}` : h.id
|
|
729
729
|
);
|
|
730
730
|
})
|
|
731
731
|
]
|
|
@@ -733,7 +733,7 @@ const ft = ({
|
|
|
733
733
|
);
|
|
734
734
|
}
|
|
735
735
|
return /* @__PURE__ */ e(
|
|
736
|
-
|
|
736
|
+
$,
|
|
737
737
|
{
|
|
738
738
|
sx: {
|
|
739
739
|
display: "grid",
|
|
@@ -748,43 +748,43 @@ const ft = ({
|
|
|
748
748
|
gap: `${se}px`,
|
|
749
749
|
gridAutoFlow: "column"
|
|
750
750
|
},
|
|
751
|
-
children: (
|
|
752
|
-
var
|
|
751
|
+
children: (i ? Array.from({ length: d }) : t).map((u, p) => {
|
|
752
|
+
var h, _, k;
|
|
753
753
|
return /* @__PURE__ */ e(
|
|
754
|
-
|
|
754
|
+
$,
|
|
755
755
|
{
|
|
756
756
|
sx: { overflow: "hidden", borderRadius: 2 },
|
|
757
|
-
children:
|
|
757
|
+
children: i ? /* @__PURE__ */ e(ce, {}) : /* @__PURE__ */ e(
|
|
758
758
|
te,
|
|
759
759
|
{
|
|
760
|
-
imageUrl: `https://olimpo.bet${(
|
|
760
|
+
imageUrl: `https://olimpo.bet${(_ = (h = u.background) != null ? h : u.imageUrl) != null ? _ : ""}`,
|
|
761
761
|
size: "sm",
|
|
762
762
|
fillParent: !0,
|
|
763
|
-
onClick: () => r == null ? void 0 : r(
|
|
763
|
+
onClick: () => r == null ? void 0 : r(u, p)
|
|
764
764
|
}
|
|
765
765
|
)
|
|
766
766
|
},
|
|
767
|
-
|
|
767
|
+
i ? `sk-${p}` : (k = u.id) != null ? k : p
|
|
768
768
|
);
|
|
769
769
|
})
|
|
770
770
|
}
|
|
771
771
|
);
|
|
772
|
-
},
|
|
772
|
+
}, xe = ({
|
|
773
773
|
title: t,
|
|
774
774
|
amount: n,
|
|
775
775
|
subtitle: r,
|
|
776
|
-
buttonText:
|
|
777
|
-
onButtonClick:
|
|
776
|
+
buttonText: i,
|
|
777
|
+
onButtonClick: d,
|
|
778
778
|
backgroundImage: o,
|
|
779
|
-
alt:
|
|
780
|
-
className:
|
|
781
|
-
variant:
|
|
779
|
+
alt: a,
|
|
780
|
+
className: u = "",
|
|
781
|
+
variant: p = "small"
|
|
782
782
|
}) => {
|
|
783
|
-
const
|
|
783
|
+
const h = n ? n.slice(0, 2) : "", _ = n ? n.slice(2) : "", k = p === "large";
|
|
784
784
|
return /* @__PURE__ */ l(
|
|
785
|
-
|
|
785
|
+
$,
|
|
786
786
|
{
|
|
787
|
-
className:
|
|
787
|
+
className: u,
|
|
788
788
|
sx: {
|
|
789
789
|
position: "relative",
|
|
790
790
|
width: "100%",
|
|
@@ -796,7 +796,7 @@ const ft = ({
|
|
|
796
796
|
},
|
|
797
797
|
children: [
|
|
798
798
|
o && /* @__PURE__ */ e(
|
|
799
|
-
|
|
799
|
+
$,
|
|
800
800
|
{
|
|
801
801
|
sx: {
|
|
802
802
|
position: "relative",
|
|
@@ -809,11 +809,11 @@ const ft = ({
|
|
|
809
809
|
overflow: "hidden"
|
|
810
810
|
},
|
|
811
811
|
children: /* @__PURE__ */ e(
|
|
812
|
-
|
|
812
|
+
$,
|
|
813
813
|
{
|
|
814
814
|
component: "img",
|
|
815
815
|
src: o,
|
|
816
|
-
alt:
|
|
816
|
+
alt: a != null ? a : "Fondo promocional",
|
|
817
817
|
sx: {
|
|
818
818
|
width: "100%",
|
|
819
819
|
height: "100%",
|
|
@@ -829,7 +829,7 @@ const ft = ({
|
|
|
829
829
|
}
|
|
830
830
|
),
|
|
831
831
|
/* @__PURE__ */ e(
|
|
832
|
-
|
|
832
|
+
$,
|
|
833
833
|
{
|
|
834
834
|
sx: {
|
|
835
835
|
position: "absolute",
|
|
@@ -843,7 +843,7 @@ const ft = ({
|
|
|
843
843
|
pr: { xs: "14%", lg: "15%" }
|
|
844
844
|
},
|
|
845
845
|
children: /* @__PURE__ */ l(
|
|
846
|
-
|
|
846
|
+
$,
|
|
847
847
|
{
|
|
848
848
|
sx: {
|
|
849
849
|
maxWidth: "60%",
|
|
@@ -853,7 +853,7 @@ const ft = ({
|
|
|
853
853
|
},
|
|
854
854
|
children: [
|
|
855
855
|
t && /* @__PURE__ */ e(
|
|
856
|
-
|
|
856
|
+
V,
|
|
857
857
|
{
|
|
858
858
|
sx: {
|
|
859
859
|
fontSize: { xs: 12, md: 20 },
|
|
@@ -864,7 +864,7 @@ const ft = ({
|
|
|
864
864
|
}
|
|
865
865
|
),
|
|
866
866
|
n && /* @__PURE__ */ l(
|
|
867
|
-
|
|
867
|
+
$,
|
|
868
868
|
{
|
|
869
869
|
component: "p",
|
|
870
870
|
sx: {
|
|
@@ -882,26 +882,26 @@ const ft = ({
|
|
|
882
882
|
},
|
|
883
883
|
children: [
|
|
884
884
|
/* @__PURE__ */ e(
|
|
885
|
-
|
|
885
|
+
$,
|
|
886
886
|
{
|
|
887
887
|
component: "span",
|
|
888
888
|
sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
|
|
889
|
-
children:
|
|
889
|
+
children: h
|
|
890
890
|
}
|
|
891
891
|
),
|
|
892
892
|
/* @__PURE__ */ e(
|
|
893
|
-
|
|
893
|
+
$,
|
|
894
894
|
{
|
|
895
895
|
component: "span",
|
|
896
896
|
sx: { fontSize: { xs: 52, md: 77 } },
|
|
897
|
-
children:
|
|
897
|
+
children: _
|
|
898
898
|
}
|
|
899
899
|
)
|
|
900
900
|
]
|
|
901
901
|
}
|
|
902
902
|
),
|
|
903
903
|
r && /* @__PURE__ */ e(
|
|
904
|
-
|
|
904
|
+
V,
|
|
905
905
|
{
|
|
906
906
|
sx: {
|
|
907
907
|
pb: "20px",
|
|
@@ -912,7 +912,7 @@ const ft = ({
|
|
|
912
912
|
children: r
|
|
913
913
|
}
|
|
914
914
|
),
|
|
915
|
-
|
|
915
|
+
i && /* @__PURE__ */ e(L, { onClick: d, children: i })
|
|
916
916
|
]
|
|
917
917
|
}
|
|
918
918
|
)
|
|
@@ -921,20 +921,20 @@ const ft = ({
|
|
|
921
921
|
]
|
|
922
922
|
}
|
|
923
923
|
);
|
|
924
|
-
},
|
|
924
|
+
}, bt = ({
|
|
925
925
|
text: t,
|
|
926
926
|
buttonLabel: n = "Conoce más",
|
|
927
927
|
onClick: r,
|
|
928
|
-
imgAlt:
|
|
929
|
-
imgSrcMobile:
|
|
928
|
+
imgAlt: i = "Club Olimpo",
|
|
929
|
+
imgSrcMobile: d,
|
|
930
930
|
imgSrcDesktopBg: o,
|
|
931
|
-
imgSrcDesktopLogo:
|
|
931
|
+
imgSrcDesktopLogo: a
|
|
932
932
|
}) => /* @__PURE__ */ l(Z, { children: [
|
|
933
933
|
/* @__PURE__ */ e("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ e(
|
|
934
934
|
"img",
|
|
935
935
|
{
|
|
936
|
-
src:
|
|
937
|
-
alt:
|
|
936
|
+
src: d,
|
|
937
|
+
alt: i,
|
|
938
938
|
className: "orc-co-bgMobileImg"
|
|
939
939
|
}
|
|
940
940
|
) }),
|
|
@@ -943,76 +943,76 @@ const ft = ({
|
|
|
943
943
|
"img",
|
|
944
944
|
{
|
|
945
945
|
src: o,
|
|
946
|
-
alt: `${
|
|
946
|
+
alt: `${i} fondo`,
|
|
947
947
|
className: "orc-co-bgDesktopImg"
|
|
948
948
|
}
|
|
949
949
|
) }),
|
|
950
950
|
/* @__PURE__ */ l("div", { className: "orc-co-desktopContent", children: [
|
|
951
|
-
|
|
951
|
+
a && /* @__PURE__ */ e(
|
|
952
952
|
"img",
|
|
953
953
|
{
|
|
954
|
-
src:
|
|
955
|
-
alt: `${
|
|
954
|
+
src: a,
|
|
955
|
+
alt: `${i} logo`,
|
|
956
956
|
className: "orc-co-logoImg"
|
|
957
957
|
}
|
|
958
958
|
),
|
|
959
959
|
/* @__PURE__ */ e("p", { className: "orc-co-captionDesktop", children: t }),
|
|
960
|
-
/* @__PURE__ */ e(
|
|
960
|
+
/* @__PURE__ */ e(L, { onClick: r, variant: "primary", size: "md", children: n })
|
|
961
961
|
] })
|
|
962
962
|
] }),
|
|
963
963
|
/* @__PURE__ */ l("div", { className: "orc-co-bottom", children: [
|
|
964
964
|
/* @__PURE__ */ e("p", { className: "orc-co-caption", children: t }),
|
|
965
|
-
/* @__PURE__ */ e(
|
|
965
|
+
/* @__PURE__ */ e(L, { onClick: r, variant: "primary", size: "md", children: n })
|
|
966
966
|
] })
|
|
967
|
-
] }),
|
|
968
|
-
card:
|
|
969
|
-
combinadas:
|
|
970
|
-
apuestaItem:
|
|
971
|
-
lineContainer:
|
|
972
|
-
circle:
|
|
973
|
-
line:
|
|
974
|
-
apuestaText:
|
|
975
|
-
cuotaTotal:
|
|
967
|
+
] }), _t = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", vt = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", yt = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", wt = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", St = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Ct = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Et = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", kt = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", K = {
|
|
968
|
+
card: _t,
|
|
969
|
+
combinadas: vt,
|
|
970
|
+
apuestaItem: yt,
|
|
971
|
+
lineContainer: wt,
|
|
972
|
+
circle: St,
|
|
973
|
+
line: Ct,
|
|
974
|
+
apuestaText: Et,
|
|
975
|
+
cuotaTotal: kt
|
|
976
976
|
};
|
|
977
977
|
function pe(t) {
|
|
978
978
|
const n = Array.isArray(t) ? t : [t];
|
|
979
979
|
sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = "/deportes#in-play";
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function $t() {
|
|
982
982
|
window.location.href = "/deportes#in-play";
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function Ot() {
|
|
985
985
|
window.location.href = "/deportes#sports-hub/football";
|
|
986
986
|
}
|
|
987
|
-
function
|
|
987
|
+
function It() {
|
|
988
988
|
window.location.href = "/deportes#specials";
|
|
989
989
|
}
|
|
990
|
-
function
|
|
991
|
-
var
|
|
992
|
-
function n(
|
|
993
|
-
var
|
|
994
|
-
const o = (
|
|
995
|
-
var
|
|
996
|
-
let s = k.outcomes[0], c = "",
|
|
997
|
-
return ["Más de", "Mas de", "Over"].includes(s == null ? void 0 : s.label) ? (c = `Más de ${
|
|
998
|
-
id: (
|
|
990
|
+
function Nt({ event: t }) {
|
|
991
|
+
var i;
|
|
992
|
+
function n(d) {
|
|
993
|
+
var _;
|
|
994
|
+
const o = (_ = d.betoffers) != null ? _ : [], a = d.homeName, u = d.awayName, p = o.map((k) => {
|
|
995
|
+
var O, x, C, N, f;
|
|
996
|
+
let s = k.outcomes[0], c = "", g = s != null && s.line ? s.line / 1e3 : "";
|
|
997
|
+
return ["Más de", "Mas de", "Over"].includes(s == null ? void 0 : s.label) ? (c = `Más de ${g}`, s != null && s.participant && (c = `${s.participant} - ${c}`)) : ["Menos de", "Menos"].includes(s == null ? void 0 : s.label) ? (c = `Menos de ${g}`, s != null && s.participant && (c = `${s.participant} - ${c}`)) : ["Sí", "No"].includes(s == null ? void 0 : s.label) ? (c = s == null ? void 0 : s.label, s != null && s.participant && (c = `${s.participant} - ${c}`)) : ["1X", "12", "X2"].includes(s == null ? void 0 : s.label) ? s.label === "1X" ? c = `${a} o Empate` : s.label === "12" ? c = `${a} o ${u}` : s.label === "X2" && (c = `${u} o Empate`) : (s != null && s.participant ? c = s.participant : c = (O = s == null ? void 0 : s.label) != null ? O : "", g !== "" && c === s.label && (c = `${s.label} ${g}`)), {
|
|
998
|
+
id: (x = s == null ? void 0 : s.id) != null ? x : 0,
|
|
999
999
|
value: c,
|
|
1000
1000
|
label: k.criterion.label,
|
|
1001
1001
|
odds: (C = s == null ? void 0 : s.odds) != null ? C : 0,
|
|
1002
1002
|
bl: (N = s == null ? void 0 : s.label) != null ? N : 0,
|
|
1003
|
-
position: (
|
|
1003
|
+
position: (f = s == null ? void 0 : s.position) != null ? f : 0
|
|
1004
1004
|
};
|
|
1005
|
-
}),
|
|
1005
|
+
}), h = p.reduce((k, s) => k + s.odds, 0) / 1e3;
|
|
1006
1006
|
return {
|
|
1007
|
-
outcomes:
|
|
1008
|
-
total:
|
|
1007
|
+
outcomes: p,
|
|
1008
|
+
total: h.toFixed(2)
|
|
1009
1009
|
};
|
|
1010
1010
|
}
|
|
1011
1011
|
const r = n(t);
|
|
1012
|
-
return /* @__PURE__ */ l("div", { className:
|
|
1013
|
-
/* @__PURE__ */ e("div", { className:
|
|
1012
|
+
return /* @__PURE__ */ l("div", { className: K.card, children: [
|
|
1013
|
+
/* @__PURE__ */ e("div", { className: K.combinadas, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 0.5, useFlexGap: !0, children: [
|
|
1014
1014
|
/* @__PURE__ */ e(
|
|
1015
|
-
|
|
1015
|
+
q,
|
|
1016
1016
|
{
|
|
1017
1017
|
title: t.name,
|
|
1018
1018
|
iconUrl: "/assets/img/home/Combinadas/pelota.png",
|
|
@@ -1020,32 +1020,32 @@ function It({ event: t }) {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
),
|
|
1022
1022
|
/* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/line.png" }),
|
|
1023
|
-
/* @__PURE__ */ e(
|
|
1024
|
-
/* @__PURE__ */ l("div", { className:
|
|
1025
|
-
/* @__PURE__ */ e("div", { className:
|
|
1026
|
-
o < r.outcomes.length - 1 && /* @__PURE__ */ e("div", { className:
|
|
1023
|
+
/* @__PURE__ */ e(M, { direction: "column", spacing: 0.5, useFlexGap: !0, children: r.outcomes.sort((d, o) => d.position - o.position).map((d, o) => /* @__PURE__ */ l("div", { className: K.apuestaItem, children: [
|
|
1024
|
+
/* @__PURE__ */ l("div", { className: K.lineContainer, children: [
|
|
1025
|
+
/* @__PURE__ */ e("div", { className: K.circle }),
|
|
1026
|
+
o < r.outcomes.length - 1 && /* @__PURE__ */ e("div", { className: K.line })
|
|
1027
1027
|
] }),
|
|
1028
|
-
/* @__PURE__ */ l("div", { className:
|
|
1029
|
-
/* @__PURE__ */ e("strong", { children:
|
|
1028
|
+
/* @__PURE__ */ l("div", { className: K.apuestaText, children: [
|
|
1029
|
+
/* @__PURE__ */ e("strong", { children: d.value }),
|
|
1030
1030
|
" ",
|
|
1031
1031
|
"| ",
|
|
1032
|
-
|
|
1032
|
+
d.label
|
|
1033
1033
|
] })
|
|
1034
1034
|
] }, o)) })
|
|
1035
1035
|
] }) }),
|
|
1036
1036
|
/* @__PURE__ */ l("button", { onClick: () => {
|
|
1037
|
-
var
|
|
1038
|
-
return pe((o = (
|
|
1039
|
-
}, className:
|
|
1037
|
+
var d, o;
|
|
1038
|
+
return pe((o = (d = r == null ? void 0 : r.outcomes) == null ? void 0 : d.map((a) => a == null ? void 0 : a.id)) != null ? o : []);
|
|
1039
|
+
}, className: K.cuotaTotal, children: [
|
|
1040
1040
|
/* @__PURE__ */ l("span", { children: [
|
|
1041
1041
|
"Cuota total: ",
|
|
1042
|
-
/* @__PURE__ */ e("strong", { children: (((
|
|
1042
|
+
/* @__PURE__ */ e("strong", { children: (((i = t.combinadoTotal) != null ? i : 0) / 1e3).toFixed(2) })
|
|
1043
1043
|
] }),
|
|
1044
1044
|
/* @__PURE__ */ e("img", { loading: "lazy", src: "/assets/img/home/Combinadas/cuotaTotal.svg", alt: "cuota total" })
|
|
1045
1045
|
] })
|
|
1046
1046
|
] });
|
|
1047
1047
|
}
|
|
1048
|
-
const
|
|
1048
|
+
const D = {
|
|
1049
1049
|
"orc-btn": "oraculo__OraculoButtonBet-module__orc-btn___jakza",
|
|
1050
1050
|
"orc-btn__label": "oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH",
|
|
1051
1051
|
"orc-btn__icon": "oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd",
|
|
@@ -1059,51 +1059,51 @@ const U = {
|
|
|
1059
1059
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1060
1060
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1061
1061
|
};
|
|
1062
|
-
function
|
|
1062
|
+
function Tt({
|
|
1063
1063
|
children: t,
|
|
1064
1064
|
onClick: n,
|
|
1065
1065
|
href: r,
|
|
1066
|
-
target:
|
|
1067
|
-
rel:
|
|
1066
|
+
target: i,
|
|
1067
|
+
rel: d,
|
|
1068
1068
|
type: o = "button",
|
|
1069
|
-
disabled:
|
|
1070
|
-
variant:
|
|
1071
|
-
size:
|
|
1072
|
-
fullWidth:
|
|
1073
|
-
fullHeight:
|
|
1069
|
+
disabled: a = !1,
|
|
1070
|
+
variant: u = "primary",
|
|
1071
|
+
size: p,
|
|
1072
|
+
fullWidth: h = !1,
|
|
1073
|
+
fullHeight: _ = !1,
|
|
1074
1074
|
className: k = "",
|
|
1075
1075
|
ariaLabel: s,
|
|
1076
1076
|
leftIcon: c,
|
|
1077
|
-
rightIcon:
|
|
1078
|
-
iconOnly:
|
|
1077
|
+
rightIcon: g,
|
|
1078
|
+
iconOnly: O
|
|
1079
1079
|
}) {
|
|
1080
|
-
const
|
|
1081
|
-
|
|
1080
|
+
const x = !!t && t !== !0, f = (!!c ? 1 : 0) + (!!g ? 1 : 0) == 1, E = O != null ? O : f && !x, P = [
|
|
1081
|
+
D["orc-btn"],
|
|
1082
1082
|
// base
|
|
1083
|
-
|
|
1083
|
+
D[`orc-btn--${u}`],
|
|
1084
1084
|
// variant primary/secondary/tertiary
|
|
1085
|
-
|
|
1085
|
+
p ? D[`orc-btn--${p}`] : "",
|
|
1086
1086
|
// sm / md / lg
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1087
|
+
h ? D["orc-btn--full"] : "",
|
|
1088
|
+
_ ? D["orc-btn--fullHeight"] : "",
|
|
1089
|
+
E ? D["orc-btn--iconOnly"] : "",
|
|
1090
1090
|
k
|
|
1091
1091
|
].filter(Boolean).join(" "), T = /* @__PURE__ */ l(Z, { children: [
|
|
1092
|
-
c && /* @__PURE__ */ e("span", { className:
|
|
1093
|
-
!
|
|
1094
|
-
|
|
1095
|
-
] }),
|
|
1092
|
+
c && /* @__PURE__ */ e("span", { className: D["orc-btn__icon"], children: c }),
|
|
1093
|
+
!E && /* @__PURE__ */ e("span", { className: D["orc-btn__label"], children: t }),
|
|
1094
|
+
g && /* @__PURE__ */ e("span", { className: D["orc-btn__icon"], children: g })
|
|
1095
|
+
] }), S = a ? !0 : void 0;
|
|
1096
1096
|
return r ? /* @__PURE__ */ e(
|
|
1097
|
-
|
|
1097
|
+
Se,
|
|
1098
1098
|
{
|
|
1099
1099
|
href: r,
|
|
1100
|
-
target:
|
|
1101
|
-
rel:
|
|
1100
|
+
target: i,
|
|
1101
|
+
rel: d,
|
|
1102
1102
|
"aria-label": s,
|
|
1103
|
-
"aria-disabled":
|
|
1104
|
-
tabIndex:
|
|
1103
|
+
"aria-disabled": S,
|
|
1104
|
+
tabIndex: S ? -1 : void 0,
|
|
1105
1105
|
className: P,
|
|
1106
|
-
onClick:
|
|
1106
|
+
onClick: S ? (B) => B.preventDefault() : n,
|
|
1107
1107
|
children: T
|
|
1108
1108
|
}
|
|
1109
1109
|
) : /* @__PURE__ */ e(
|
|
@@ -1111,36 +1111,36 @@ function Nt({
|
|
|
1111
1111
|
{
|
|
1112
1112
|
type: o,
|
|
1113
1113
|
onClick: n,
|
|
1114
|
-
disabled: !!
|
|
1114
|
+
disabled: !!S,
|
|
1115
1115
|
"aria-label": s,
|
|
1116
1116
|
className: P,
|
|
1117
1117
|
children: T
|
|
1118
1118
|
}
|
|
1119
1119
|
);
|
|
1120
1120
|
}
|
|
1121
|
-
const
|
|
1122
|
-
cardWrapper:
|
|
1121
|
+
const Pt = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Be = {
|
|
1122
|
+
cardWrapper: Pt
|
|
1123
1123
|
};
|
|
1124
|
-
function
|
|
1125
|
-
var
|
|
1126
|
-
const
|
|
1124
|
+
function Bt({ event: t, liveData: n, betOffers: r }) {
|
|
1125
|
+
var d, o, a, u, p, h, _, k;
|
|
1126
|
+
const i = r == null ? void 0 : r.find(
|
|
1127
1127
|
(s) => {
|
|
1128
1128
|
var c;
|
|
1129
1129
|
return ((c = s.betOfferType) == null ? void 0 : c.id) === 2;
|
|
1130
1130
|
}
|
|
1131
1131
|
);
|
|
1132
|
-
return /* @__PURE__ */ e("div", { className:
|
|
1133
|
-
/* @__PURE__ */ l(
|
|
1132
|
+
return /* @__PURE__ */ e("div", { className: Be.cardWrapper, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1133
|
+
/* @__PURE__ */ l(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
1134
1134
|
/* @__PURE__ */ e(
|
|
1135
|
-
|
|
1135
|
+
Ze,
|
|
1136
1136
|
{
|
|
1137
|
-
title: (
|
|
1137
|
+
title: (d = t.path[0].name) != null ? d : "",
|
|
1138
1138
|
subtitle: t.group,
|
|
1139
1139
|
live: !0,
|
|
1140
1140
|
time: ((o = n == null ? void 0 : n.matchClock) == null ? void 0 : o.minute) != null ? `${n.matchClock.minute}'` : ""
|
|
1141
1141
|
}
|
|
1142
1142
|
),
|
|
1143
|
-
/* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ l(
|
|
1143
|
+
/* @__PURE__ */ e("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ l(H, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1144
1144
|
/* @__PURE__ */ e(
|
|
1145
1145
|
ne,
|
|
1146
1146
|
{
|
|
@@ -1148,84 +1148,84 @@ function Pt({ event: t, liveData: n, betOffers: r }) {
|
|
|
1148
1148
|
logo: "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/Juventus.png"
|
|
1149
1149
|
}
|
|
1150
1150
|
),
|
|
1151
|
-
/* @__PURE__ */ e(
|
|
1151
|
+
/* @__PURE__ */ e(Te, { text: ((u = (a = n == null ? void 0 : n.score) == null ? void 0 : a.home) != null ? u : 0) + ":" + ((h = (p = n == null ? void 0 : n.score) == null ? void 0 : p.away) != null ? h : 0), name: "En vivo" }),
|
|
1152
1152
|
/* @__PURE__ */ e(ne, { name: t.awayName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/Racing.png" })
|
|
1153
1153
|
] }) })
|
|
1154
1154
|
] }),
|
|
1155
|
-
/* @__PURE__ */ l(
|
|
1156
|
-
/* @__PURE__ */ e(
|
|
1157
|
-
/* @__PURE__ */ e(
|
|
1155
|
+
/* @__PURE__ */ l(M, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1156
|
+
/* @__PURE__ */ e(H, { spacing: 1, children: ((_ = i == null ? void 0 : i.outcomes) != null ? _ : []).map((s, c) => /* @__PURE__ */ e(Ie, { text: s.label.toUpperCase() }, c)) }),
|
|
1157
|
+
/* @__PURE__ */ e(H, { spacing: 2, children: ((k = i == null ? void 0 : i.outcomes) != null ? k : []).map((s, c) => /* @__PURE__ */ e(Tt, { variant: "primary", disabled: s.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1158
1158
|
pe(s.id);
|
|
1159
1159
|
}, children: s.odds === void 0 ? "" : (s.odds / 1e3).toFixed(2) }, c)) })
|
|
1160
1160
|
] })
|
|
1161
1161
|
] }) });
|
|
1162
1162
|
}
|
|
1163
|
-
const
|
|
1164
|
-
date:
|
|
1163
|
+
const Rt = "oraculo__OraculoEventDate-module__date___xhIlh", Mt = {
|
|
1164
|
+
date: Rt
|
|
1165
1165
|
};
|
|
1166
|
-
function
|
|
1167
|
-
return /* @__PURE__ */ e("div", { className: `oli-font ${
|
|
1166
|
+
function Ft({ text: t }) {
|
|
1167
|
+
return /* @__PURE__ */ e("div", { className: `oli-font ${Mt.date}`, children: t });
|
|
1168
1168
|
}
|
|
1169
|
-
const
|
|
1170
|
-
cardContainer:
|
|
1171
|
-
cardBackground:
|
|
1172
|
-
jugadas:
|
|
1173
|
-
equipos:
|
|
1169
|
+
const Lt = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Wt = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", jt = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", zt = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", X = {
|
|
1170
|
+
cardContainer: Lt,
|
|
1171
|
+
cardBackground: Wt,
|
|
1172
|
+
jugadas: jt,
|
|
1173
|
+
equipos: zt
|
|
1174
1174
|
};
|
|
1175
|
-
function
|
|
1176
|
-
var r,
|
|
1177
|
-
function n(
|
|
1178
|
-
const
|
|
1175
|
+
function At({ event: t }) {
|
|
1176
|
+
var r, i, d, o, a, u, p;
|
|
1177
|
+
function n(h) {
|
|
1178
|
+
const _ = new Date(h), k = _.toLocaleDateString("es-ES", {
|
|
1179
1179
|
weekday: "short"
|
|
1180
|
-
}).toUpperCase(), s =
|
|
1181
|
-
let
|
|
1180
|
+
}).toUpperCase(), s = _.getDate().toString().padStart(2, "0"), c = (_.getMonth() + 1).toString().padStart(2, "0");
|
|
1181
|
+
let g = _.toLocaleTimeString("es-PE", {
|
|
1182
1182
|
hour: "numeric",
|
|
1183
1183
|
minute: "2-digit",
|
|
1184
1184
|
hour12: !0
|
|
1185
1185
|
}).toUpperCase();
|
|
1186
|
-
return
|
|
1186
|
+
return g = g.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${k} ${s}/${c} | ${g}`;
|
|
1187
1187
|
}
|
|
1188
|
-
return /* @__PURE__ */ l("div", { className:
|
|
1189
|
-
/* @__PURE__ */ e(
|
|
1190
|
-
/* @__PURE__ */ e("div", { className:
|
|
1191
|
-
/* @__PURE__ */ l(
|
|
1192
|
-
/* @__PURE__ */ l("div", { className:
|
|
1188
|
+
return /* @__PURE__ */ l("div", { className: X.cardContainer, children: [
|
|
1189
|
+
/* @__PURE__ */ e(Ne, { title: (r = t == null ? void 0 : t.group) != null ? r : "" }),
|
|
1190
|
+
/* @__PURE__ */ e("div", { className: X.cardBackground, children: /* @__PURE__ */ l(M, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1191
|
+
/* @__PURE__ */ l(M, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1192
|
+
/* @__PURE__ */ l("div", { className: X.equipos, children: [
|
|
1193
1193
|
/* @__PURE__ */ e(ne, { name: t.awayName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoSemana/Flamengo.png", size: "compact" }),
|
|
1194
|
-
/* @__PURE__ */ e(
|
|
1194
|
+
/* @__PURE__ */ e(Te, { text: "vs.", name: "", size: "small" }),
|
|
1195
1195
|
/* @__PURE__ */ e(ne, { name: t.homeName, logo: "https://stg-www.contodobet.com/static/img/landing/EventoSemana/RealMadrid.png", size: "compact" })
|
|
1196
1196
|
] }),
|
|
1197
|
-
/* @__PURE__ */ e(
|
|
1197
|
+
/* @__PURE__ */ e(Ft, { text: n(t.start) })
|
|
1198
1198
|
] }),
|
|
1199
|
-
/* @__PURE__ */ l(
|
|
1200
|
-
/* @__PURE__ */ e(
|
|
1201
|
-
/* @__PURE__ */ e("div", { className:
|
|
1202
|
-
pe(
|
|
1203
|
-
}, children: (
|
|
1199
|
+
/* @__PURE__ */ l(M, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1200
|
+
/* @__PURE__ */ e(H, { spacing: 1, children: ((o = (d = (i = t == null ? void 0 : t.outcome) == null ? void 0 : i[0]) == null ? void 0 : d.outcomes) != null ? o : []).map((h, _) => /* @__PURE__ */ e(Ie, { text: h.label.toUpperCase() }, _)) }),
|
|
1201
|
+
/* @__PURE__ */ e("div", { className: X.jugadas, children: /* @__PURE__ */ e(H, { spacing: 1, children: ((p = (u = (a = t == null ? void 0 : t.outcome) == null ? void 0 : a[0]) == null ? void 0 : u.outcomes) != null ? p : []).map((h, _) => /* @__PURE__ */ e(L, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1202
|
+
pe(h.id);
|
|
1203
|
+
}, children: (h.odds / 1e3).toFixed(2) }, _)) }) })
|
|
1204
1204
|
] })
|
|
1205
1205
|
] }) })
|
|
1206
1206
|
] });
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1208
|
+
function Gt({
|
|
1209
1209
|
items: t,
|
|
1210
1210
|
title: n = "Destacados",
|
|
1211
1211
|
iconUrl: r,
|
|
1212
|
-
onViewMore:
|
|
1213
|
-
className:
|
|
1212
|
+
onViewMore: i,
|
|
1213
|
+
className: d = ""
|
|
1214
1214
|
}) {
|
|
1215
|
-
const o =
|
|
1215
|
+
const o = U(null), [a, u] = A({ isStart: !0, isEnd: !1 }), p = () => {
|
|
1216
1216
|
var c;
|
|
1217
1217
|
(c = o.current) == null || c.prev();
|
|
1218
|
-
},
|
|
1218
|
+
}, h = () => {
|
|
1219
1219
|
var c;
|
|
1220
1220
|
(c = o.current) == null || c.next(), console.log("items: ", t);
|
|
1221
|
-
},
|
|
1221
|
+
}, _ = () => {
|
|
1222
1222
|
window.location.href = "https://www.olimpo.bet/promociones";
|
|
1223
1223
|
}, k = (c) => {
|
|
1224
1224
|
if (!c || typeof window == "undefined") return;
|
|
1225
|
-
const
|
|
1226
|
-
window.location.href =
|
|
1225
|
+
const O = `https://www.olimpo.bet/promociones/${encodeURIComponent(c)}`;
|
|
1226
|
+
window.location.href = O;
|
|
1227
1227
|
};
|
|
1228
|
-
return /* @__PURE__ */ l("section", { className:
|
|
1228
|
+
return /* @__PURE__ */ l("section", { className: d || void 0, style: { width: "100%" }, children: [
|
|
1229
1229
|
/* @__PURE__ */ l(
|
|
1230
1230
|
"header",
|
|
1231
1231
|
{
|
|
@@ -1238,37 +1238,37 @@ function At({
|
|
|
1238
1238
|
marginBottom: 16
|
|
1239
1239
|
},
|
|
1240
1240
|
children: [
|
|
1241
|
-
/* @__PURE__ */ e(
|
|
1241
|
+
/* @__PURE__ */ e(q, { title: n, iconUrl: r, size: "md" }),
|
|
1242
1242
|
/* @__PURE__ */ l("div", { style: { display: "flex", gap: 8 }, children: [
|
|
1243
1243
|
/* @__PURE__ */ e(
|
|
1244
|
-
|
|
1244
|
+
L,
|
|
1245
1245
|
{
|
|
1246
1246
|
ariaLabel: "Anterior",
|
|
1247
1247
|
variant: "secondary",
|
|
1248
1248
|
iconOnly: !0,
|
|
1249
1249
|
leftIcon: /* @__PURE__ */ e(de, {}),
|
|
1250
|
-
onClick:
|
|
1251
|
-
disabled:
|
|
1250
|
+
onClick: p,
|
|
1251
|
+
disabled: a.isStart
|
|
1252
1252
|
}
|
|
1253
1253
|
),
|
|
1254
1254
|
/* @__PURE__ */ e(
|
|
1255
|
-
|
|
1255
|
+
L,
|
|
1256
1256
|
{
|
|
1257
1257
|
ariaLabel: "Siguiente",
|
|
1258
1258
|
variant: "secondary",
|
|
1259
1259
|
iconOnly: !0,
|
|
1260
1260
|
rightIcon: /* @__PURE__ */ e(ue, {}),
|
|
1261
|
-
onClick:
|
|
1262
|
-
disabled:
|
|
1261
|
+
onClick: h,
|
|
1262
|
+
disabled: a.isEnd
|
|
1263
1263
|
}
|
|
1264
1264
|
)
|
|
1265
1265
|
] }),
|
|
1266
|
-
/* @__PURE__ */ e(
|
|
1266
|
+
/* @__PURE__ */ e(L, { variant: "secondary", onClick: _, children: "Ver más" })
|
|
1267
1267
|
]
|
|
1268
1268
|
}
|
|
1269
1269
|
),
|
|
1270
1270
|
/* @__PURE__ */ e(
|
|
1271
|
-
|
|
1271
|
+
J,
|
|
1272
1272
|
{
|
|
1273
1273
|
ref: o,
|
|
1274
1274
|
items: t,
|
|
@@ -1277,7 +1277,7 @@ function At({
|
|
|
1277
1277
|
options: {
|
|
1278
1278
|
autoWidth: !0,
|
|
1279
1279
|
gap: "12px",
|
|
1280
|
-
trimSpace: !
|
|
1280
|
+
trimSpace: !0,
|
|
1281
1281
|
pagination: !1,
|
|
1282
1282
|
arrows: !1,
|
|
1283
1283
|
drag: !0,
|
|
@@ -1313,7 +1313,7 @@ function At({
|
|
|
1313
1313
|
},
|
|
1314
1314
|
`${c.title}-${c.image}`
|
|
1315
1315
|
),
|
|
1316
|
-
onMove: ({ isStart: c, isEnd:
|
|
1316
|
+
onMove: ({ isStart: c, isEnd: g }) => u({ isStart: c, isEnd: g })
|
|
1317
1317
|
}
|
|
1318
1318
|
)
|
|
1319
1319
|
] });
|
|
@@ -1321,37 +1321,37 @@ function At({
|
|
|
1321
1321
|
function ae(t, {
|
|
1322
1322
|
basePath: n = "/casino",
|
|
1323
1323
|
src: r,
|
|
1324
|
-
demo:
|
|
1325
|
-
host:
|
|
1324
|
+
demo: i = !1,
|
|
1325
|
+
host: d = "https://www.olimpo.bet"
|
|
1326
1326
|
} = {}) {
|
|
1327
1327
|
if (typeof window == "undefined") return;
|
|
1328
1328
|
const o = t == null ? void 0 : t.machine;
|
|
1329
1329
|
if (!o) return;
|
|
1330
|
-
const
|
|
1331
|
-
|
|
1330
|
+
const a = new URLSearchParams();
|
|
1331
|
+
a.set("machine", String(o)), i && a.set("demo", "1"), window.location.href = `${d}${n}?${a.toString()}`;
|
|
1332
1332
|
}
|
|
1333
|
-
function
|
|
1333
|
+
function Ut({
|
|
1334
1334
|
items: t,
|
|
1335
1335
|
title: n = "Top Juegos",
|
|
1336
1336
|
iconUrl: r,
|
|
1337
|
-
onCardClick:
|
|
1337
|
+
onCardClick: i
|
|
1338
1338
|
}) {
|
|
1339
|
-
const
|
|
1340
|
-
() => (t != null ? t : []).map((
|
|
1341
|
-
var
|
|
1339
|
+
const d = oe(
|
|
1340
|
+
() => (t != null ? t : []).map((u, p) => {
|
|
1341
|
+
var h;
|
|
1342
1342
|
return {
|
|
1343
|
-
...
|
|
1343
|
+
...u,
|
|
1344
1344
|
// si no viene orden, usamos el índice (1-based)
|
|
1345
|
-
orden: (
|
|
1346
|
-
_originalIndex:
|
|
1345
|
+
orden: (h = u.orden) != null ? h : p + 1,
|
|
1346
|
+
_originalIndex: p
|
|
1347
1347
|
};
|
|
1348
|
-
}).sort((
|
|
1348
|
+
}).sort((u, p) => u.orden != null && p.orden != null ? u.orden - p.orden : u._originalIndex - p._originalIndex),
|
|
1349
1349
|
[t]
|
|
1350
|
-
), o = !t || t.length === 0,
|
|
1351
|
-
return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ l(
|
|
1352
|
-
/* @__PURE__ */ e(
|
|
1350
|
+
), o = !t || t.length === 0, a = o ? Array.from({ length: 6 }) : d.slice(0, 6);
|
|
1351
|
+
return /* @__PURE__ */ e("section", { style: { width: "100%" }, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1352
|
+
/* @__PURE__ */ e(q, { title: n, iconUrl: r, size: "md" }),
|
|
1353
1353
|
/* @__PURE__ */ e(
|
|
1354
|
-
|
|
1354
|
+
$,
|
|
1355
1355
|
{
|
|
1356
1356
|
sx: {
|
|
1357
1357
|
display: "grid",
|
|
@@ -1363,41 +1363,41 @@ function Gt({
|
|
|
1363
1363
|
justifyItems: "center",
|
|
1364
1364
|
width: "100%"
|
|
1365
1365
|
},
|
|
1366
|
-
children:
|
|
1367
|
-
var
|
|
1366
|
+
children: a.map((u, p) => {
|
|
1367
|
+
var h, _;
|
|
1368
1368
|
return /* @__PURE__ */ e(
|
|
1369
|
-
|
|
1369
|
+
ft,
|
|
1370
1370
|
{
|
|
1371
|
-
imageUrl: o ? "" : `https://olimpo.bet${(
|
|
1372
|
-
orden: o ?
|
|
1371
|
+
imageUrl: o ? "" : `https://olimpo.bet${(h = u.logo) != null ? h : ""}`,
|
|
1372
|
+
orden: o ? p + 1 : u.orden,
|
|
1373
1373
|
loading: o,
|
|
1374
1374
|
onClick: o ? void 0 : () => {
|
|
1375
|
-
|
|
1375
|
+
i ? i(u) : ae(u, { basePath: "/casino" });
|
|
1376
1376
|
}
|
|
1377
1377
|
},
|
|
1378
|
-
o ? `sk-${
|
|
1378
|
+
o ? `sk-${p}` : (_ = u.machine) != null ? _ : `${p}`
|
|
1379
1379
|
);
|
|
1380
1380
|
})
|
|
1381
1381
|
}
|
|
1382
1382
|
)
|
|
1383
1383
|
] }) });
|
|
1384
1384
|
}
|
|
1385
|
-
const
|
|
1386
|
-
var r,
|
|
1387
|
-
return (
|
|
1388
|
-
},
|
|
1385
|
+
const Dt = (t, n) => {
|
|
1386
|
+
var r, i;
|
|
1387
|
+
return (i = (r = t.orden) != null ? r : t.machine) != null ? i : n;
|
|
1388
|
+
}, Vt = ({
|
|
1389
1389
|
items: t,
|
|
1390
1390
|
title: n = "Casino en vivo",
|
|
1391
1391
|
subtitle: r = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
1392
|
-
backgroundMobileUrl:
|
|
1393
|
-
backgroundDesktopUrl:
|
|
1392
|
+
backgroundMobileUrl: i = "",
|
|
1393
|
+
backgroundDesktopUrl: d = "",
|
|
1394
1394
|
onCardClick: o,
|
|
1395
|
-
onViewMore:
|
|
1396
|
-
className:
|
|
1395
|
+
onViewMore: a,
|
|
1396
|
+
className: u
|
|
1397
1397
|
}) => (console.log("items: ", t), /* @__PURE__ */ l(
|
|
1398
|
-
|
|
1398
|
+
$,
|
|
1399
1399
|
{
|
|
1400
|
-
className:
|
|
1400
|
+
className: u,
|
|
1401
1401
|
sx: {
|
|
1402
1402
|
position: "relative",
|
|
1403
1403
|
// width: "100vw",
|
|
@@ -1409,7 +1409,7 @@ const Ut = (t, n) => {
|
|
|
1409
1409
|
},
|
|
1410
1410
|
children: [
|
|
1411
1411
|
/* @__PURE__ */ e(
|
|
1412
|
-
|
|
1412
|
+
$,
|
|
1413
1413
|
{
|
|
1414
1414
|
sx: {
|
|
1415
1415
|
position: "absolute",
|
|
@@ -1418,12 +1418,12 @@ const Ut = (t, n) => {
|
|
|
1418
1418
|
xs: `
|
|
1419
1419
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1420
1420
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1421
|
-
url('${
|
|
1421
|
+
url('${i}')
|
|
1422
1422
|
`,
|
|
1423
1423
|
md: `
|
|
1424
1424
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1425
1425
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
1426
|
-
url('${
|
|
1426
|
+
url('${d}')
|
|
1427
1427
|
`
|
|
1428
1428
|
},
|
|
1429
1429
|
backgroundSize: "cover",
|
|
@@ -1434,7 +1434,7 @@ const Ut = (t, n) => {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
),
|
|
1436
1436
|
/* @__PURE__ */ l(
|
|
1437
|
-
|
|
1437
|
+
$,
|
|
1438
1438
|
{
|
|
1439
1439
|
sx: {
|
|
1440
1440
|
position: "relative",
|
|
@@ -1451,9 +1451,9 @@ const Ut = (t, n) => {
|
|
|
1451
1451
|
textAlign: { xs: "center", md: "left" }
|
|
1452
1452
|
},
|
|
1453
1453
|
children: [
|
|
1454
|
-
/* @__PURE__ */ l(
|
|
1454
|
+
/* @__PURE__ */ l(M, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
1455
1455
|
/* @__PURE__ */ e(
|
|
1456
|
-
|
|
1456
|
+
V,
|
|
1457
1457
|
{
|
|
1458
1458
|
variant: "h4",
|
|
1459
1459
|
sx: {
|
|
@@ -1466,7 +1466,7 @@ const Ut = (t, n) => {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
),
|
|
1468
1468
|
/* @__PURE__ */ e(
|
|
1469
|
-
|
|
1469
|
+
V,
|
|
1470
1470
|
{
|
|
1471
1471
|
sx: {
|
|
1472
1472
|
fontSize: { xs: 14, md: 18 },
|
|
@@ -1477,18 +1477,18 @@ const Ut = (t, n) => {
|
|
|
1477
1477
|
children: r
|
|
1478
1478
|
}
|
|
1479
1479
|
),
|
|
1480
|
-
/* @__PURE__ */ e(
|
|
1481
|
-
|
|
1480
|
+
/* @__PURE__ */ e($, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ e(
|
|
1481
|
+
L,
|
|
1482
1482
|
{
|
|
1483
1483
|
variant: "primary",
|
|
1484
1484
|
size: "md",
|
|
1485
|
-
onClick: () => (
|
|
1485
|
+
onClick: () => (a == null ? void 0 : a()) || (window.location.href = "https://www.olimpo.bet/casino-en-vivo"),
|
|
1486
1486
|
children: "Ver más"
|
|
1487
1487
|
}
|
|
1488
1488
|
) })
|
|
1489
1489
|
] }),
|
|
1490
1490
|
/* @__PURE__ */ e(
|
|
1491
|
-
|
|
1491
|
+
$,
|
|
1492
1492
|
{
|
|
1493
1493
|
sx: {
|
|
1494
1494
|
display: "flex",
|
|
@@ -1498,30 +1498,30 @@ const Ut = (t, n) => {
|
|
|
1498
1498
|
py: { xs: 3, md: 0 },
|
|
1499
1499
|
alignItems: "center"
|
|
1500
1500
|
},
|
|
1501
|
-
children: (t != null ? t : []).slice(0, 3).map((
|
|
1502
|
-
var
|
|
1501
|
+
children: (t != null ? t : []).slice(0, 3).map((p, h) => {
|
|
1502
|
+
var _;
|
|
1503
1503
|
return /* @__PURE__ */ e(
|
|
1504
|
-
|
|
1504
|
+
xt,
|
|
1505
1505
|
{
|
|
1506
|
-
logo: `https://olimpo.bet${(
|
|
1507
|
-
provider:
|
|
1508
|
-
providerName:
|
|
1509
|
-
machine:
|
|
1506
|
+
logo: `https://olimpo.bet${(_ = p.logo) != null ? _ : ""}`,
|
|
1507
|
+
provider: p.provider,
|
|
1508
|
+
providerName: p.web_name,
|
|
1509
|
+
machine: p.machine,
|
|
1510
1510
|
onClick: () => {
|
|
1511
|
-
ae(
|
|
1511
|
+
ae(p, { basePath: "/casino-en-vivo" });
|
|
1512
1512
|
}
|
|
1513
1513
|
},
|
|
1514
|
-
|
|
1514
|
+
Dt(p, h)
|
|
1515
1515
|
);
|
|
1516
1516
|
})
|
|
1517
1517
|
}
|
|
1518
1518
|
),
|
|
1519
|
-
/* @__PURE__ */ e(
|
|
1520
|
-
|
|
1519
|
+
/* @__PURE__ */ e($, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ e(
|
|
1520
|
+
L,
|
|
1521
1521
|
{
|
|
1522
1522
|
variant: "primary",
|
|
1523
1523
|
size: "lg",
|
|
1524
|
-
onClick: () => (
|
|
1524
|
+
onClick: () => (a == null ? void 0 : a()) || (window.location.href = "https://www.olimpo.bet/casino-en-vivo"),
|
|
1525
1525
|
children: "Ver más"
|
|
1526
1526
|
}
|
|
1527
1527
|
) })
|
|
@@ -1530,63 +1530,63 @@ const Ut = (t, n) => {
|
|
|
1530
1530
|
)
|
|
1531
1531
|
]
|
|
1532
1532
|
}
|
|
1533
|
-
)),
|
|
1534
|
-
var r,
|
|
1535
|
-
return (
|
|
1536
|
-
},
|
|
1537
|
-
const
|
|
1538
|
-
var
|
|
1533
|
+
)), Re = (t, n) => {
|
|
1534
|
+
var r, i;
|
|
1535
|
+
return (i = (r = t.orden) != null ? r : t.machine) != null ? i : n;
|
|
1536
|
+
}, Ht = (t, n = !0, r = 4) => {
|
|
1537
|
+
const i = t.map((a, u) => {
|
|
1538
|
+
var p;
|
|
1539
1539
|
return {
|
|
1540
|
-
id:
|
|
1541
|
-
imageUrl: (
|
|
1542
|
-
|
|
1543
|
-
background:
|
|
1540
|
+
id: Re(a, u),
|
|
1541
|
+
imageUrl: (p = a.logo) != null ? p : "",
|
|
1542
|
+
...a.background ? { background: a.background } : {}
|
|
1543
|
+
// background: g.background,
|
|
1544
1544
|
};
|
|
1545
1545
|
});
|
|
1546
|
-
if (!
|
|
1547
|
-
const
|
|
1546
|
+
if (!i.length) return [];
|
|
1547
|
+
const d = [];
|
|
1548
1548
|
let o = 0;
|
|
1549
1549
|
if (n) {
|
|
1550
|
-
const
|
|
1551
|
-
|
|
1550
|
+
const a = Math.min(i.length, 5);
|
|
1551
|
+
d.push({
|
|
1552
1552
|
id: "mosaic-0",
|
|
1553
1553
|
kind: "mosaic",
|
|
1554
|
-
items:
|
|
1555
|
-
}), o =
|
|
1554
|
+
items: i.slice(0, a)
|
|
1555
|
+
}), o = a;
|
|
1556
1556
|
}
|
|
1557
|
-
for (; o <
|
|
1558
|
-
const
|
|
1559
|
-
|
|
1557
|
+
for (; o < i.length; ) {
|
|
1558
|
+
const a = Math.min(o + r, i.length);
|
|
1559
|
+
d.push({
|
|
1560
1560
|
id: `grid-${o}`,
|
|
1561
1561
|
kind: "grid",
|
|
1562
|
-
items:
|
|
1563
|
-
}), o =
|
|
1562
|
+
items: i.slice(o, a)
|
|
1563
|
+
}), o = a;
|
|
1564
1564
|
}
|
|
1565
|
-
return
|
|
1566
|
-
},
|
|
1565
|
+
return d;
|
|
1566
|
+
}, Kt = ({
|
|
1567
1567
|
items: t,
|
|
1568
1568
|
title: n = "Casino",
|
|
1569
1569
|
iconUrl: r = "/assets/img/home/Casino/diamante.svg",
|
|
1570
|
-
onItemClick:
|
|
1571
|
-
onViewMore:
|
|
1570
|
+
onItemClick: i,
|
|
1571
|
+
onViewMore: d,
|
|
1572
1572
|
mosaicFirst: o = !0,
|
|
1573
|
-
gridSize:
|
|
1573
|
+
gridSize: a = 4
|
|
1574
1574
|
}) => {
|
|
1575
|
-
const
|
|
1576
|
-
var
|
|
1577
|
-
(
|
|
1575
|
+
const u = U(null), [p, h] = A({ isStart: !0, isEnd: !1 }), _ = () => {
|
|
1576
|
+
var x;
|
|
1577
|
+
(x = u.current) == null || x.prev();
|
|
1578
1578
|
}, k = () => {
|
|
1579
|
-
var
|
|
1580
|
-
(
|
|
1579
|
+
var x;
|
|
1580
|
+
(x = u.current) == null || x.next();
|
|
1581
1581
|
}, s = () => {
|
|
1582
1582
|
window.location.href = "https://www.olimpo.bet/casino";
|
|
1583
|
-
}, c = (
|
|
1584
|
-
const N = (
|
|
1585
|
-
return
|
|
1586
|
-
},
|
|
1587
|
-
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ l(
|
|
1583
|
+
}, c = (x = !0, C = 4) => {
|
|
1584
|
+
const N = (E) => Array.from({ length: E }, (P, T) => ({ id: `sk-${E}-${T}`, imageUrl: "" })), f = [];
|
|
1585
|
+
return x && f.push({ id: "mosaic-loading", kind: "mosaic", items: N(5) }), f.push({ id: "grid-loading", kind: "grid", items: N(C) }), f;
|
|
1586
|
+
}, g = !t || t.length === 0, O = g ? c(o, a) : Ht(t, o, a);
|
|
1587
|
+
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ l(M, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1588
1588
|
/* @__PURE__ */ l(
|
|
1589
|
-
|
|
1589
|
+
$,
|
|
1590
1590
|
{
|
|
1591
1591
|
sx: {
|
|
1592
1592
|
display: "grid",
|
|
@@ -1597,7 +1597,7 @@ const Ut = (t, n) => {
|
|
|
1597
1597
|
},
|
|
1598
1598
|
children: [
|
|
1599
1599
|
/* @__PURE__ */ e(
|
|
1600
|
-
|
|
1600
|
+
q,
|
|
1601
1601
|
{
|
|
1602
1602
|
title: n,
|
|
1603
1603
|
iconUrl: r,
|
|
@@ -1605,7 +1605,7 @@ const Ut = (t, n) => {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
),
|
|
1607
1607
|
/* @__PURE__ */ l(
|
|
1608
|
-
|
|
1608
|
+
$,
|
|
1609
1609
|
{
|
|
1610
1610
|
sx: {
|
|
1611
1611
|
display: "flex",
|
|
@@ -1614,123 +1614,125 @@ const Ut = (t, n) => {
|
|
|
1614
1614
|
},
|
|
1615
1615
|
children: [
|
|
1616
1616
|
/* @__PURE__ */ e(
|
|
1617
|
-
|
|
1617
|
+
L,
|
|
1618
1618
|
{
|
|
1619
1619
|
ariaLabel: "Anterior",
|
|
1620
1620
|
variant: "secondary",
|
|
1621
1621
|
iconOnly: !0,
|
|
1622
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1623
|
-
onClick:
|
|
1624
|
-
disabled:
|
|
1622
|
+
leftIcon: /* @__PURE__ */ e(ke, {}),
|
|
1623
|
+
onClick: _,
|
|
1624
|
+
disabled: p.isStart
|
|
1625
1625
|
}
|
|
1626
1626
|
),
|
|
1627
1627
|
/* @__PURE__ */ e(
|
|
1628
|
-
|
|
1628
|
+
L,
|
|
1629
1629
|
{
|
|
1630
1630
|
ariaLabel: "Siguiente",
|
|
1631
1631
|
variant: "secondary",
|
|
1632
1632
|
iconOnly: !0,
|
|
1633
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1633
|
+
rightIcon: /* @__PURE__ */ e($e, {}),
|
|
1634
1634
|
onClick: k,
|
|
1635
|
-
disabled:
|
|
1635
|
+
disabled: p.isEnd
|
|
1636
1636
|
}
|
|
1637
1637
|
)
|
|
1638
1638
|
]
|
|
1639
1639
|
}
|
|
1640
1640
|
),
|
|
1641
|
-
/* @__PURE__ */ e(
|
|
1641
|
+
/* @__PURE__ */ e($, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(L, { variant: "secondary", onClick: s, children: "Ver más" }) })
|
|
1642
1642
|
]
|
|
1643
1643
|
}
|
|
1644
1644
|
),
|
|
1645
1645
|
/* @__PURE__ */ e(
|
|
1646
|
-
|
|
1646
|
+
J,
|
|
1647
1647
|
{
|
|
1648
|
-
ref:
|
|
1649
|
-
items:
|
|
1648
|
+
ref: u,
|
|
1649
|
+
items: O,
|
|
1650
1650
|
perPage: 1,
|
|
1651
1651
|
gap: "0px",
|
|
1652
1652
|
options: {
|
|
1653
1653
|
autoWidth: !0,
|
|
1654
1654
|
gap: "12px",
|
|
1655
|
-
trimSpace: !
|
|
1655
|
+
trimSpace: !0,
|
|
1656
1656
|
pagination: !1,
|
|
1657
1657
|
arrows: !1,
|
|
1658
1658
|
drag: !0,
|
|
1659
1659
|
focus: "start"
|
|
1660
1660
|
},
|
|
1661
|
-
renderItem: (
|
|
1662
|
-
|
|
1661
|
+
renderItem: (x) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1662
|
+
Pe,
|
|
1663
1663
|
{
|
|
1664
|
-
items:
|
|
1665
|
-
layout:
|
|
1666
|
-
loading:
|
|
1664
|
+
items: x.items,
|
|
1665
|
+
layout: x.kind === "mosaic" ? "mosaic" : "grid",
|
|
1666
|
+
loading: g,
|
|
1667
1667
|
onClick: (C) => {
|
|
1668
1668
|
const N = t.find(
|
|
1669
|
-
(
|
|
1669
|
+
(f, E) => Re(f, E) === C.id
|
|
1670
1670
|
);
|
|
1671
|
-
|
|
1671
|
+
g || N && ae(N, { basePath: "/casino" });
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
1674
|
) }),
|
|
1675
|
-
onMove: ({ isStart:
|
|
1675
|
+
onMove: ({ isStart: x, isEnd: C }) => h({ isStart: x, isEnd: C })
|
|
1676
1676
|
}
|
|
1677
1677
|
)
|
|
1678
1678
|
] }) });
|
|
1679
|
-
},
|
|
1680
|
-
var r,
|
|
1681
|
-
return (
|
|
1682
|
-
},
|
|
1683
|
-
const
|
|
1684
|
-
var
|
|
1679
|
+
}, Me = (t, n) => {
|
|
1680
|
+
var r, i;
|
|
1681
|
+
return (i = (r = t.orden) != null ? r : t.machine) != null ? i : n;
|
|
1682
|
+
}, qt = (t, n = !0, r = 4) => {
|
|
1683
|
+
const i = t.map((a, u) => {
|
|
1684
|
+
var p;
|
|
1685
1685
|
return {
|
|
1686
|
-
id:
|
|
1687
|
-
imageUrl: (
|
|
1686
|
+
id: Me(a, u),
|
|
1687
|
+
imageUrl: (p = a.logo) != null ? p : "",
|
|
1688
|
+
...a.background ? { background: a.background } : {}
|
|
1689
|
+
// background: g.background,
|
|
1688
1690
|
};
|
|
1689
1691
|
});
|
|
1690
|
-
if (!
|
|
1691
|
-
const
|
|
1692
|
+
if (!i.length) return [];
|
|
1693
|
+
const d = [];
|
|
1692
1694
|
let o = 0;
|
|
1693
1695
|
if (n) {
|
|
1694
|
-
const
|
|
1695
|
-
|
|
1696
|
+
const a = Math.min(i.length, 5);
|
|
1697
|
+
d.push({
|
|
1696
1698
|
id: "mosaic-0",
|
|
1697
1699
|
kind: "mosaic",
|
|
1698
|
-
items:
|
|
1699
|
-
}), o =
|
|
1700
|
+
items: i.slice(0, a)
|
|
1701
|
+
}), o = a;
|
|
1700
1702
|
}
|
|
1701
|
-
for (; o <
|
|
1702
|
-
const
|
|
1703
|
-
|
|
1703
|
+
for (; o < i.length; ) {
|
|
1704
|
+
const a = Math.min(o + r, i.length);
|
|
1705
|
+
d.push({
|
|
1704
1706
|
id: `grid-${o}`,
|
|
1705
1707
|
kind: "grid",
|
|
1706
|
-
items:
|
|
1707
|
-
}), o =
|
|
1708
|
+
items: i.slice(o, a)
|
|
1709
|
+
}), o = a;
|
|
1708
1710
|
}
|
|
1709
|
-
return
|
|
1710
|
-
},
|
|
1711
|
+
return d;
|
|
1712
|
+
}, Jt = ({
|
|
1711
1713
|
items: t,
|
|
1712
1714
|
title: n = "Virtuales",
|
|
1713
1715
|
iconUrl: r = "/assets/img/home/Virtuales/virtuales.svg",
|
|
1714
|
-
onItemClick:
|
|
1715
|
-
onViewMore:
|
|
1716
|
+
onItemClick: i,
|
|
1717
|
+
onViewMore: d,
|
|
1716
1718
|
mosaicFirst: o = !0,
|
|
1717
|
-
gridSize:
|
|
1719
|
+
gridSize: a = 4
|
|
1718
1720
|
}) => {
|
|
1719
|
-
const
|
|
1720
|
-
var
|
|
1721
|
-
(
|
|
1721
|
+
const u = U(null), [p, h] = A({ isStart: !0, isEnd: !1 }), _ = () => {
|
|
1722
|
+
var x;
|
|
1723
|
+
(x = u.current) == null || x.prev();
|
|
1722
1724
|
}, k = () => {
|
|
1723
|
-
var
|
|
1724
|
-
(
|
|
1725
|
+
var x;
|
|
1726
|
+
(x = u.current) == null || x.next();
|
|
1725
1727
|
}, s = () => {
|
|
1726
1728
|
window.location.href = "https://www.olimpo.bet/juegos-virtuales";
|
|
1727
|
-
}, c = (
|
|
1728
|
-
const N = (
|
|
1729
|
-
return
|
|
1730
|
-
},
|
|
1731
|
-
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ l(
|
|
1729
|
+
}, c = (x = !0, C = 4) => {
|
|
1730
|
+
const N = (E) => Array.from({ length: E }, (P, T) => ({ id: `sk-${E}-${T}`, imageUrl: "" })), f = [];
|
|
1731
|
+
return x && f.push({ id: "mosaic-loading", kind: "mosaic", items: N(5) }), f.push({ id: "grid-loading", kind: "grid", items: N(C) }), f;
|
|
1732
|
+
}, g = !t || t.length === 0, O = g ? c(o, a) : qt(t, o, a);
|
|
1733
|
+
return /* @__PURE__ */ e("section", { children: /* @__PURE__ */ l(M, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1732
1734
|
/* @__PURE__ */ l(
|
|
1733
|
-
|
|
1735
|
+
$,
|
|
1734
1736
|
{
|
|
1735
1737
|
sx: {
|
|
1736
1738
|
display: "grid",
|
|
@@ -1741,7 +1743,7 @@ const Ut = (t, n) => {
|
|
|
1741
1743
|
},
|
|
1742
1744
|
children: [
|
|
1743
1745
|
/* @__PURE__ */ e(
|
|
1744
|
-
|
|
1746
|
+
q,
|
|
1745
1747
|
{
|
|
1746
1748
|
title: n,
|
|
1747
1749
|
iconUrl: r,
|
|
@@ -1749,7 +1751,7 @@ const Ut = (t, n) => {
|
|
|
1749
1751
|
}
|
|
1750
1752
|
),
|
|
1751
1753
|
/* @__PURE__ */ l(
|
|
1752
|
-
|
|
1754
|
+
$,
|
|
1753
1755
|
{
|
|
1754
1756
|
sx: {
|
|
1755
1757
|
display: "flex",
|
|
@@ -1758,70 +1760,70 @@ const Ut = (t, n) => {
|
|
|
1758
1760
|
},
|
|
1759
1761
|
children: [
|
|
1760
1762
|
/* @__PURE__ */ e(
|
|
1761
|
-
|
|
1763
|
+
L,
|
|
1762
1764
|
{
|
|
1763
1765
|
ariaLabel: "Anterior",
|
|
1764
1766
|
variant: "secondary",
|
|
1765
1767
|
iconOnly: !0,
|
|
1766
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1767
|
-
onClick:
|
|
1768
|
-
disabled:
|
|
1768
|
+
leftIcon: /* @__PURE__ */ e(ke, {}),
|
|
1769
|
+
onClick: _,
|
|
1770
|
+
disabled: p.isStart
|
|
1769
1771
|
}
|
|
1770
1772
|
),
|
|
1771
1773
|
/* @__PURE__ */ e(
|
|
1772
|
-
|
|
1774
|
+
L,
|
|
1773
1775
|
{
|
|
1774
1776
|
ariaLabel: "Siguiente",
|
|
1775
1777
|
variant: "secondary",
|
|
1776
1778
|
iconOnly: !0,
|
|
1777
|
-
rightIcon: /* @__PURE__ */ e(
|
|
1779
|
+
rightIcon: /* @__PURE__ */ e($e, {}),
|
|
1778
1780
|
onClick: k,
|
|
1779
|
-
disabled:
|
|
1781
|
+
disabled: p.isEnd
|
|
1780
1782
|
}
|
|
1781
1783
|
)
|
|
1782
1784
|
]
|
|
1783
1785
|
}
|
|
1784
1786
|
),
|
|
1785
|
-
/* @__PURE__ */ e(
|
|
1787
|
+
/* @__PURE__ */ e($, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ e(L, { variant: "secondary", onClick: s, children: "Ver más" }) })
|
|
1786
1788
|
]
|
|
1787
1789
|
}
|
|
1788
1790
|
),
|
|
1789
1791
|
/* @__PURE__ */ e(
|
|
1790
|
-
|
|
1792
|
+
J,
|
|
1791
1793
|
{
|
|
1792
|
-
ref:
|
|
1793
|
-
items:
|
|
1794
|
+
ref: u,
|
|
1795
|
+
items: O,
|
|
1794
1796
|
perPage: 1,
|
|
1795
1797
|
gap: "0",
|
|
1796
1798
|
options: {
|
|
1797
1799
|
autoWidth: !0,
|
|
1798
1800
|
gap: "12px",
|
|
1799
|
-
trimSpace: !
|
|
1801
|
+
trimSpace: !0,
|
|
1800
1802
|
pagination: !1,
|
|
1801
1803
|
arrows: !1,
|
|
1802
1804
|
drag: !0,
|
|
1803
1805
|
focus: "start",
|
|
1804
1806
|
perMove: 1
|
|
1805
1807
|
},
|
|
1806
|
-
renderItem: (
|
|
1807
|
-
|
|
1808
|
+
renderItem: (x) => /* @__PURE__ */ e("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ e(
|
|
1809
|
+
Pe,
|
|
1808
1810
|
{
|
|
1809
|
-
items:
|
|
1810
|
-
layout:
|
|
1811
|
-
loading:
|
|
1811
|
+
items: x.items,
|
|
1812
|
+
layout: x.kind === "mosaic" ? "mosaic" : "grid",
|
|
1813
|
+
loading: g,
|
|
1812
1814
|
onClick: (C) => {
|
|
1813
1815
|
const N = t.find(
|
|
1814
|
-
(
|
|
1816
|
+
(f, E) => Me(f, E) === C.id
|
|
1815
1817
|
);
|
|
1816
|
-
|
|
1818
|
+
g || N && ae(N, { basePath: "/casino" });
|
|
1817
1819
|
}
|
|
1818
1820
|
}
|
|
1819
1821
|
) }),
|
|
1820
|
-
onMove: ({ isStart:
|
|
1822
|
+
onMove: ({ isStart: x, isEnd: C }) => h({ isStart: x, isEnd: C })
|
|
1821
1823
|
}
|
|
1822
1824
|
)
|
|
1823
1825
|
] }) });
|
|
1824
|
-
},
|
|
1826
|
+
}, Xt = (t) => ({
|
|
1825
1827
|
position: "relative",
|
|
1826
1828
|
py: 8,
|
|
1827
1829
|
color: "#fff",
|
|
@@ -1835,15 +1837,15 @@ const Ut = (t, n) => {
|
|
|
1835
1837
|
backgroundRepeat: "no-repeat",
|
|
1836
1838
|
backgroundPosition: "center",
|
|
1837
1839
|
backgroundSize: "cover"
|
|
1838
|
-
}),
|
|
1840
|
+
}), be = {
|
|
1839
1841
|
textAlign: "center",
|
|
1840
1842
|
lineHeight: 1.1,
|
|
1841
1843
|
mb: 1.5
|
|
1842
|
-
},
|
|
1844
|
+
}, _e = {
|
|
1843
1845
|
display: "inline-block",
|
|
1844
1846
|
fontWeight: 600,
|
|
1845
1847
|
fontSize: 24
|
|
1846
|
-
},
|
|
1848
|
+
}, ve = {
|
|
1847
1849
|
display: "inline-block",
|
|
1848
1850
|
fontSize: 24,
|
|
1849
1851
|
lineHeight: 1.1,
|
|
@@ -1853,23 +1855,23 @@ const Ut = (t, n) => {
|
|
|
1853
1855
|
0 0 6px rgba(255, 255, 255, .6),
|
|
1854
1856
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
1855
1857
|
`
|
|
1856
|
-
},
|
|
1858
|
+
}, Qt = ({
|
|
1857
1859
|
headline: t,
|
|
1858
1860
|
headline2: n,
|
|
1859
1861
|
items: r,
|
|
1860
|
-
backgroundImageUrl:
|
|
1862
|
+
backgroundImageUrl: i
|
|
1861
1863
|
}) => {
|
|
1862
|
-
const
|
|
1864
|
+
const d = De("(max-width: 767px)"), o = r.length > 1, a = U(null), [u, p] = A(0), h = r == null ? void 0 : r[u], _ = oe(
|
|
1863
1865
|
() => {
|
|
1864
|
-
var c,
|
|
1865
|
-
return (
|
|
1866
|
+
var c, g;
|
|
1867
|
+
return (g = (c = h == null ? void 0 : h.backgroundImageUrl) != null ? c : i) != null ? g : "";
|
|
1866
1868
|
},
|
|
1867
|
-
[
|
|
1868
|
-
), k =
|
|
1869
|
+
[h, i]
|
|
1870
|
+
), k = Xt(_), s = (c, g) => {
|
|
1869
1871
|
var C, N;
|
|
1870
|
-
const
|
|
1871
|
-
return
|
|
1872
|
-
|
|
1872
|
+
const O = (C = c.headline) != null ? C : t, x = (N = c.headline2) != null ? N : n;
|
|
1873
|
+
return g ? /* @__PURE__ */ l(
|
|
1874
|
+
$,
|
|
1873
1875
|
{
|
|
1874
1876
|
sx: {
|
|
1875
1877
|
maxWidth: 1200,
|
|
@@ -1881,8 +1883,8 @@ const Ut = (t, n) => {
|
|
|
1881
1883
|
columnGap: 6
|
|
1882
1884
|
},
|
|
1883
1885
|
children: [
|
|
1884
|
-
(
|
|
1885
|
-
|
|
1886
|
+
(O || x) && /* @__PURE__ */ e(
|
|
1887
|
+
$,
|
|
1886
1888
|
{
|
|
1887
1889
|
sx: {
|
|
1888
1890
|
display: "flex",
|
|
@@ -1890,17 +1892,17 @@ const Ut = (t, n) => {
|
|
|
1890
1892
|
justifyContent: "flex-start",
|
|
1891
1893
|
minHeight: "100%"
|
|
1892
1894
|
},
|
|
1893
|
-
children: /* @__PURE__ */ l(
|
|
1894
|
-
|
|
1895
|
-
|
|
1895
|
+
children: /* @__PURE__ */ l($, { sx: { ...be, textAlign: "left", mb: 0 }, children: [
|
|
1896
|
+
O && /* @__PURE__ */ e(V, { component: "span", sx: _e, children: O }),
|
|
1897
|
+
x && /* @__PURE__ */ l(Z, { children: [
|
|
1896
1898
|
/* @__PURE__ */ e("br", {}),
|
|
1897
|
-
/* @__PURE__ */ e(
|
|
1899
|
+
/* @__PURE__ */ e(V, { component: "span", sx: ve, children: x })
|
|
1898
1900
|
] })
|
|
1899
1901
|
] })
|
|
1900
1902
|
}
|
|
1901
1903
|
),
|
|
1902
|
-
/* @__PURE__ */ e(
|
|
1903
|
-
|
|
1904
|
+
/* @__PURE__ */ e($, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ e($, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ e(
|
|
1905
|
+
xe,
|
|
1904
1906
|
{
|
|
1905
1907
|
...c,
|
|
1906
1908
|
onButtonClick: c.onButtonClick,
|
|
@@ -1909,16 +1911,16 @@ const Ut = (t, n) => {
|
|
|
1909
1911
|
) }) })
|
|
1910
1912
|
]
|
|
1911
1913
|
}
|
|
1912
|
-
) : /* @__PURE__ */ l(
|
|
1913
|
-
(
|
|
1914
|
-
|
|
1915
|
-
|
|
1914
|
+
) : /* @__PURE__ */ l($, { sx: { textAlign: "center" }, children: [
|
|
1915
|
+
(O || x) && /* @__PURE__ */ l($, { sx: be, children: [
|
|
1916
|
+
O && /* @__PURE__ */ e(V, { component: "span", sx: _e, children: O }),
|
|
1917
|
+
x && /* @__PURE__ */ l(Z, { children: [
|
|
1916
1918
|
/* @__PURE__ */ e("br", {}),
|
|
1917
|
-
/* @__PURE__ */ e(
|
|
1919
|
+
/* @__PURE__ */ e(V, { component: "span", sx: ve, children: x })
|
|
1918
1920
|
] })
|
|
1919
1921
|
] }),
|
|
1920
|
-
/* @__PURE__ */ e(
|
|
1921
|
-
|
|
1922
|
+
/* @__PURE__ */ e($, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
|
|
1923
|
+
xe,
|
|
1922
1924
|
{
|
|
1923
1925
|
...c,
|
|
1924
1926
|
onButtonClick: c.onButtonClick,
|
|
@@ -1927,56 +1929,56 @@ const Ut = (t, n) => {
|
|
|
1927
1929
|
) })
|
|
1928
1930
|
] });
|
|
1929
1931
|
};
|
|
1930
|
-
return /* @__PURE__ */ l(
|
|
1932
|
+
return /* @__PURE__ */ l($, { component: "section", sx: k, children: [
|
|
1931
1933
|
/* @__PURE__ */ e(
|
|
1932
|
-
|
|
1934
|
+
J,
|
|
1933
1935
|
{
|
|
1934
|
-
ref:
|
|
1936
|
+
ref: a,
|
|
1935
1937
|
items: r,
|
|
1936
1938
|
perPage: 1,
|
|
1937
1939
|
gap: "0px",
|
|
1938
1940
|
options: { autoWidth: !1 },
|
|
1939
|
-
renderItem: (c) => /* @__PURE__ */ e(
|
|
1941
|
+
renderItem: (c) => /* @__PURE__ */ e($, { sx: { width: "100%" }, children: s(c, !d) }),
|
|
1940
1942
|
onMove: ({ index: c }) => {
|
|
1941
|
-
|
|
1943
|
+
p(c);
|
|
1942
1944
|
}
|
|
1943
1945
|
}
|
|
1944
1946
|
),
|
|
1945
|
-
o && /* @__PURE__ */ e(
|
|
1946
|
-
|
|
1947
|
+
o && /* @__PURE__ */ e($, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
|
|
1948
|
+
Oe,
|
|
1947
1949
|
{
|
|
1948
1950
|
total: r.length,
|
|
1949
|
-
active:
|
|
1951
|
+
active: u,
|
|
1950
1952
|
onSelect: (c) => {
|
|
1951
|
-
var
|
|
1952
|
-
|
|
1953
|
+
var g;
|
|
1954
|
+
p(c), (g = a.current) == null || g.go(c);
|
|
1953
1955
|
}
|
|
1954
1956
|
}
|
|
1955
1957
|
) })
|
|
1956
1958
|
] });
|
|
1957
|
-
},
|
|
1959
|
+
}, Yt = ({
|
|
1958
1960
|
className: t = "",
|
|
1959
1961
|
fullBleed: n = !0,
|
|
1960
1962
|
items: r,
|
|
1961
|
-
selectedIndex:
|
|
1962
|
-
ariaLabel:
|
|
1963
|
+
selectedIndex: i = 0,
|
|
1964
|
+
ariaLabel: d
|
|
1963
1965
|
}) => {
|
|
1964
|
-
const o =
|
|
1966
|
+
const o = U(null), a = U(null);
|
|
1965
1967
|
if (!r) return null;
|
|
1966
|
-
const
|
|
1968
|
+
const u = () => {
|
|
1967
1969
|
window.location.href = "https://www.olimpo.bet/conoce-club-olimpo";
|
|
1968
|
-
},
|
|
1969
|
-
|
|
1970
|
-
if (!o.current || !
|
|
1971
|
-
const
|
|
1972
|
-
|
|
1970
|
+
}, p = Array.isArray(r) ? r[i] : r;
|
|
1971
|
+
Ae(() => {
|
|
1972
|
+
if (!o.current || !a.current || typeof ResizeObserver == "undefined") return;
|
|
1973
|
+
const _ = o.current, k = a.current, s = () => {
|
|
1974
|
+
_.style.setProperty(
|
|
1973
1975
|
"--orc-co-bottomH",
|
|
1974
1976
|
`${k.offsetHeight + 16}px`
|
|
1975
1977
|
);
|
|
1976
1978
|
}, c = new ResizeObserver(s);
|
|
1977
1979
|
return c.observe(k), s(), () => c.disconnect();
|
|
1978
1980
|
}, []);
|
|
1979
|
-
const
|
|
1981
|
+
const h = [
|
|
1980
1982
|
"orc-co-wrap",
|
|
1981
1983
|
n ? "orc-co-fullBleed" : "",
|
|
1982
1984
|
t
|
|
@@ -1985,171 +1987,171 @@ const Ut = (t, n) => {
|
|
|
1985
1987
|
"section",
|
|
1986
1988
|
{
|
|
1987
1989
|
ref: o,
|
|
1988
|
-
className:
|
|
1989
|
-
"aria-label":
|
|
1990
|
-
children: /* @__PURE__ */ e("div", { ref:
|
|
1991
|
-
|
|
1990
|
+
className: h,
|
|
1991
|
+
"aria-label": d || p.imgAlt || "Club Olimpo",
|
|
1992
|
+
children: /* @__PURE__ */ e("div", { ref: a, children: /* @__PURE__ */ e(
|
|
1993
|
+
bt,
|
|
1992
1994
|
{
|
|
1993
|
-
text:
|
|
1994
|
-
onClick:
|
|
1995
|
-
imgAlt:
|
|
1996
|
-
imgSrcMobile:
|
|
1997
|
-
imgSrcDesktopBg:
|
|
1998
|
-
imgSrcDesktopLogo:
|
|
1995
|
+
text: p.text,
|
|
1996
|
+
onClick: u,
|
|
1997
|
+
imgAlt: p.imgAlt,
|
|
1998
|
+
imgSrcMobile: p.imgMobile,
|
|
1999
|
+
imgSrcDesktopBg: p.imgDesktopBg,
|
|
2000
|
+
imgSrcDesktopLogo: p.imgDesktopLogo
|
|
1999
2001
|
}
|
|
2000
2002
|
) })
|
|
2001
2003
|
}
|
|
2002
2004
|
);
|
|
2003
|
-
},
|
|
2004
|
-
controls:
|
|
2005
|
+
}, Zt = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", eo = {
|
|
2006
|
+
controls: Zt
|
|
2005
2007
|
};
|
|
2006
|
-
function
|
|
2008
|
+
function to({
|
|
2007
2009
|
items: t,
|
|
2008
2010
|
title: n = "Combinadas del Olimpo",
|
|
2009
2011
|
iconUrl: r = "https://stg-www.contodobet.com/static/img/landing/EventoCombinada/rayoIcon.svg",
|
|
2010
|
-
onViewMore:
|
|
2011
|
-
className:
|
|
2012
|
+
onViewMore: i,
|
|
2013
|
+
className: d = ""
|
|
2012
2014
|
}) {
|
|
2013
|
-
const o =
|
|
2014
|
-
var
|
|
2015
|
-
(
|
|
2015
|
+
const o = U(null), [a, u] = A({ isStart: !0, isEnd: !1 }), [p, h] = A([]), _ = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", k = () => {
|
|
2016
|
+
var f;
|
|
2017
|
+
(f = o.current) == null || f.prev();
|
|
2016
2018
|
}, s = () => {
|
|
2017
|
-
var
|
|
2018
|
-
(
|
|
2019
|
+
var f;
|
|
2020
|
+
(f = o.current) == null || f.next();
|
|
2019
2021
|
}, c = () => {
|
|
2020
|
-
|
|
2022
|
+
It();
|
|
2021
2023
|
};
|
|
2022
|
-
async function
|
|
2023
|
-
var
|
|
2024
|
+
async function g() {
|
|
2025
|
+
var f, E, P;
|
|
2024
2026
|
try {
|
|
2025
|
-
const
|
|
2026
|
-
if (!
|
|
2027
|
+
const S = await (await fetch(_)).json(), B = (P = (E = (f = S == null ? void 0 : S.group) == null ? void 0 : f.groups) == null ? void 0 : E[0]) == null ? void 0 : P.id;
|
|
2028
|
+
if (!B) {
|
|
2027
2029
|
console.error("Could not extract group ID");
|
|
2028
2030
|
return;
|
|
2029
2031
|
}
|
|
2030
|
-
const
|
|
2031
|
-
|
|
2032
|
-
|
|
2032
|
+
const m = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${B}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, y = await (await fetch(m)).json();
|
|
2033
|
+
h(
|
|
2034
|
+
O(y.events, y.betOffers, y.prePackCoupons)
|
|
2033
2035
|
);
|
|
2034
2036
|
} catch (T) {
|
|
2035
2037
|
console.error("loadDataEventSpecial error:", T);
|
|
2036
2038
|
}
|
|
2037
2039
|
}
|
|
2038
|
-
function
|
|
2040
|
+
function O(f, E, P) {
|
|
2039
2041
|
const T = [];
|
|
2040
|
-
for (const
|
|
2041
|
-
const
|
|
2042
|
-
var
|
|
2043
|
-
|
|
2044
|
-
const
|
|
2045
|
-
(W) =>
|
|
2042
|
+
for (const S of P) {
|
|
2043
|
+
const B = C([S]), m = x(S), b = E.reduce((y, v) => {
|
|
2044
|
+
var I, R;
|
|
2045
|
+
y[v.eventId] || (y[v.eventId] = []);
|
|
2046
|
+
const w = v.outcomes.filter(
|
|
2047
|
+
(W) => B.has(W.id)
|
|
2046
2048
|
);
|
|
2047
|
-
if (
|
|
2049
|
+
if (w.length > 0) {
|
|
2048
2050
|
const W = Array.from(
|
|
2049
|
-
(
|
|
2050
|
-
),
|
|
2051
|
-
...
|
|
2052
|
-
position: W.indexOf(
|
|
2051
|
+
(R = (I = m == null ? void 0 : m[0]) == null ? void 0 : I.requiredOutcomeIds) != null ? R : []
|
|
2052
|
+
), G = w.map((j) => ({
|
|
2053
|
+
...j,
|
|
2054
|
+
position: W.indexOf(j.id)
|
|
2053
2055
|
}));
|
|
2054
|
-
|
|
2055
|
-
...
|
|
2056
|
-
outcomes:
|
|
2056
|
+
y[v.eventId].push({
|
|
2057
|
+
...v,
|
|
2058
|
+
outcomes: G
|
|
2057
2059
|
});
|
|
2058
2060
|
}
|
|
2059
|
-
return
|
|
2061
|
+
return y;
|
|
2060
2062
|
}, {});
|
|
2061
|
-
|
|
2062
|
-
if (
|
|
2063
|
-
const
|
|
2064
|
-
let
|
|
2065
|
-
for (const
|
|
2066
|
-
if ([...
|
|
2067
|
-
|
|
2063
|
+
f.forEach((y) => {
|
|
2064
|
+
if (y.id !== S.prePackCouponRows[0].eventId) return;
|
|
2065
|
+
const v = B;
|
|
2066
|
+
let w = null;
|
|
2067
|
+
for (const I of m)
|
|
2068
|
+
if ([...I.requiredOutcomeIds].every((W) => v.has(W))) {
|
|
2069
|
+
w = I.decimal;
|
|
2068
2070
|
break;
|
|
2069
2071
|
}
|
|
2070
2072
|
T.push({
|
|
2071
|
-
...
|
|
2072
|
-
combinadoTotal:
|
|
2073
|
-
betoffers:
|
|
2074
|
-
couponId:
|
|
2073
|
+
...y,
|
|
2074
|
+
combinadoTotal: w,
|
|
2075
|
+
betoffers: b[y.id] || [],
|
|
2076
|
+
couponId: S.id
|
|
2075
2077
|
// optional for tracking
|
|
2076
2078
|
});
|
|
2077
2079
|
});
|
|
2078
2080
|
}
|
|
2079
2081
|
return T;
|
|
2080
2082
|
}
|
|
2081
|
-
function
|
|
2083
|
+
function x(f) {
|
|
2082
2084
|
var P;
|
|
2083
|
-
const
|
|
2084
|
-
for (const T of
|
|
2085
|
+
const E = [];
|
|
2086
|
+
for (const T of f.prePackCouponRows)
|
|
2085
2087
|
if (T.type === "BET_BUILDER" && ((P = T.group) != null && P.groups)) {
|
|
2086
|
-
const
|
|
2087
|
-
T.group.groups.forEach((
|
|
2088
|
-
var
|
|
2089
|
-
(
|
|
2090
|
-
}),
|
|
2091
|
-
requiredOutcomeIds:
|
|
2088
|
+
const S = /* @__PURE__ */ new Set();
|
|
2089
|
+
T.group.groups.forEach((B) => {
|
|
2090
|
+
var m;
|
|
2091
|
+
(m = B.outcomes) == null || m.forEach((b) => S.add(b.id));
|
|
2092
|
+
}), E.push({
|
|
2093
|
+
requiredOutcomeIds: S,
|
|
2092
2094
|
decimal: T.odds.decimal
|
|
2093
2095
|
});
|
|
2094
2096
|
}
|
|
2095
|
-
return
|
|
2097
|
+
return E;
|
|
2096
2098
|
}
|
|
2097
|
-
function C(
|
|
2099
|
+
function C(f) {
|
|
2098
2100
|
var P;
|
|
2099
|
-
const
|
|
2100
|
-
for (const T of
|
|
2101
|
-
for (const
|
|
2102
|
-
|
|
2103
|
-
var
|
|
2104
|
-
(
|
|
2105
|
-
}),
|
|
2106
|
-
return
|
|
2101
|
+
const E = /* @__PURE__ */ new Set();
|
|
2102
|
+
for (const T of f)
|
|
2103
|
+
for (const S of T.prePackCouponRows)
|
|
2104
|
+
S.type === "BET_BUILDER" && ((P = S.group) != null && P.groups) && S.group.groups.forEach((B) => {
|
|
2105
|
+
var m;
|
|
2106
|
+
(m = B.outcomes) == null || m.forEach((b) => E.add(b.id));
|
|
2107
|
+
}), S.type === "SIMPLE" && S.outcome && E.add(S.outcome.id);
|
|
2108
|
+
return E;
|
|
2107
2109
|
}
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
+
Y(() => {
|
|
2111
|
+
g();
|
|
2110
2112
|
}, []);
|
|
2111
|
-
const N =
|
|
2112
|
-
return !
|
|
2113
|
+
const N = d || void 0;
|
|
2114
|
+
return !p || p.length === 0 ? null : /* @__PURE__ */ e("section", { className: N, style: {
|
|
2113
2115
|
// paddingLeft: 16,
|
|
2114
2116
|
// paddingRight: 16,
|
|
2115
2117
|
width: "100%",
|
|
2116
2118
|
boxSizing: "border-box"
|
|
2117
|
-
}, children: /* @__PURE__ */ l(
|
|
2118
|
-
/* @__PURE__ */ l(
|
|
2119
|
-
/* @__PURE__ */ e(
|
|
2120
|
-
/* @__PURE__ */ l("div", { className:
|
|
2121
|
-
/* @__PURE__ */ l(
|
|
2119
|
+
}, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2120
|
+
/* @__PURE__ */ l(H, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
2121
|
+
/* @__PURE__ */ e(q, { title: n, iconUrl: r, size: "md" }),
|
|
2122
|
+
/* @__PURE__ */ l("div", { className: eo.controls, children: [
|
|
2123
|
+
/* @__PURE__ */ l(H, { spacing: 1, columns: "auto auto", children: [
|
|
2122
2124
|
/* @__PURE__ */ e(
|
|
2123
|
-
|
|
2125
|
+
L,
|
|
2124
2126
|
{
|
|
2125
2127
|
ariaLabel: "Anterior",
|
|
2126
2128
|
variant: "secondary",
|
|
2127
2129
|
iconOnly: !0,
|
|
2128
2130
|
leftIcon: /* @__PURE__ */ e(de, {}),
|
|
2129
2131
|
onClick: k,
|
|
2130
|
-
disabled:
|
|
2132
|
+
disabled: a.isStart
|
|
2131
2133
|
}
|
|
2132
2134
|
),
|
|
2133
2135
|
/* @__PURE__ */ e(
|
|
2134
|
-
|
|
2136
|
+
L,
|
|
2135
2137
|
{
|
|
2136
2138
|
ariaLabel: "Siguiente",
|
|
2137
2139
|
variant: "secondary",
|
|
2138
2140
|
iconOnly: !0,
|
|
2139
2141
|
rightIcon: /* @__PURE__ */ e(ue, {}),
|
|
2140
2142
|
onClick: s,
|
|
2141
|
-
disabled:
|
|
2143
|
+
disabled: a.isEnd
|
|
2142
2144
|
}
|
|
2143
2145
|
)
|
|
2144
2146
|
] }),
|
|
2145
|
-
/* @__PURE__ */ e(
|
|
2147
|
+
/* @__PURE__ */ e(L, { variant: "secondary", onClick: c, children: "Ver más" })
|
|
2146
2148
|
] })
|
|
2147
2149
|
] }),
|
|
2148
2150
|
/* @__PURE__ */ e(
|
|
2149
|
-
|
|
2151
|
+
J,
|
|
2150
2152
|
{
|
|
2151
2153
|
ref: o,
|
|
2152
|
-
items:
|
|
2154
|
+
items: p.filter((f) => f.combinadoTotal !== null),
|
|
2153
2155
|
perPage: void 0,
|
|
2154
2156
|
gap: "16px",
|
|
2155
2157
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
@@ -2157,125 +2159,125 @@ function eo({
|
|
|
2157
2159
|
breakpoints: {
|
|
2158
2160
|
768: { perPage: 1.2, gap: "12px", padding: { left: "0px", right: "0px" } }
|
|
2159
2161
|
},
|
|
2160
|
-
renderItem: (
|
|
2161
|
-
onMove: ({ isStart:
|
|
2162
|
+
renderItem: (f) => /* @__PURE__ */ e(Nt, { event: f }),
|
|
2163
|
+
onMove: ({ isStart: f, isEnd: E }) => u({ isStart: f, isEnd: E })
|
|
2162
2164
|
}
|
|
2163
2165
|
)
|
|
2164
2166
|
] }) });
|
|
2165
2167
|
}
|
|
2166
|
-
function
|
|
2168
|
+
function oo({}) {
|
|
2167
2169
|
return /* @__PURE__ */ e(
|
|
2168
2170
|
"div",
|
|
2169
2171
|
{
|
|
2170
|
-
className:
|
|
2171
|
-
children: /* @__PURE__ */ l(
|
|
2172
|
-
/* @__PURE__ */ l(
|
|
2173
|
-
/* @__PURE__ */ e(
|
|
2174
|
-
/* @__PURE__ */ e(
|
|
2172
|
+
className: Be.cardWrapper,
|
|
2173
|
+
children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1, children: [
|
|
2174
|
+
/* @__PURE__ */ l(M, { spacing: 1, direction: "row", children: [
|
|
2175
|
+
/* @__PURE__ */ e(F, { variant: "text", width: "60%", height: 24 }),
|
|
2176
|
+
/* @__PURE__ */ e(F, { variant: "text", width: "39%", height: 24 })
|
|
2175
2177
|
] }),
|
|
2176
|
-
/* @__PURE__ */ l(
|
|
2177
|
-
/* @__PURE__ */ e(
|
|
2178
|
-
/* @__PURE__ */ e(
|
|
2179
|
-
/* @__PURE__ */ e(
|
|
2178
|
+
/* @__PURE__ */ l(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2179
|
+
/* @__PURE__ */ e(F, { variant: "circular", width: 32, height: 40 }),
|
|
2180
|
+
/* @__PURE__ */ e(F, { variant: "text", width: 40, height: 40 }),
|
|
2181
|
+
/* @__PURE__ */ e(F, { variant: "circular", width: 32, height: 40 })
|
|
2180
2182
|
] }),
|
|
2181
|
-
/* @__PURE__ */ l(
|
|
2182
|
-
/* @__PURE__ */ e(
|
|
2183
|
-
/* @__PURE__ */ e(
|
|
2184
|
-
/* @__PURE__ */ e(
|
|
2183
|
+
/* @__PURE__ */ l(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2184
|
+
/* @__PURE__ */ e(F, { variant: "text", width: 32, height: 16 }),
|
|
2185
|
+
/* @__PURE__ */ e(F, { variant: "text", width: 40, height: 16 }),
|
|
2186
|
+
/* @__PURE__ */ e(F, { variant: "text", width: 32, height: 16 })
|
|
2185
2187
|
] }),
|
|
2186
|
-
/* @__PURE__ */ l(
|
|
2187
|
-
/* @__PURE__ */ e(
|
|
2188
|
-
/* @__PURE__ */ e(
|
|
2189
|
-
/* @__PURE__ */ e(
|
|
2188
|
+
/* @__PURE__ */ l(M, { spacing: 2, direction: "row", children: [
|
|
2189
|
+
/* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 16 }),
|
|
2190
|
+
/* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 16 }),
|
|
2191
|
+
/* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 16 })
|
|
2190
2192
|
] }),
|
|
2191
|
-
/* @__PURE__ */ l(
|
|
2192
|
-
/* @__PURE__ */ e(
|
|
2193
|
-
/* @__PURE__ */ e(
|
|
2194
|
-
/* @__PURE__ */ e(
|
|
2193
|
+
/* @__PURE__ */ l(M, { spacing: 2, direction: "row", children: [
|
|
2194
|
+
/* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 32 }),
|
|
2195
|
+
/* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 32 }),
|
|
2196
|
+
/* @__PURE__ */ e(F, { variant: "rounded", width: 88, height: 32 })
|
|
2195
2197
|
] })
|
|
2196
2198
|
] })
|
|
2197
2199
|
}
|
|
2198
2200
|
);
|
|
2199
2201
|
}
|
|
2200
|
-
const
|
|
2201
|
-
fadeWrapper:
|
|
2202
|
+
const no = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", ro = {
|
|
2203
|
+
fadeWrapper: no
|
|
2202
2204
|
};
|
|
2203
2205
|
function re({ children: t }) {
|
|
2204
|
-
return /* @__PURE__ */ e("div", { className:
|
|
2206
|
+
return /* @__PURE__ */ e("div", { className: ro.fadeWrapper, children: t });
|
|
2205
2207
|
}
|
|
2206
|
-
function
|
|
2208
|
+
function ao({
|
|
2207
2209
|
items: t,
|
|
2208
2210
|
title: n = "En vivo",
|
|
2209
2211
|
iconUrl: r = "https://stg-www.contodobet.com/static/img/landing/EventoEnVivo/icon.svg",
|
|
2210
|
-
onViewMore:
|
|
2211
|
-
className:
|
|
2212
|
+
onViewMore: i,
|
|
2213
|
+
className: d = ""
|
|
2212
2214
|
}) {
|
|
2213
|
-
const o = "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",
|
|
2215
|
+
const o = "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", a = U(null), [u, p] = A({ isStart: !0, isEnd: !1 }), [h, _] = A([]), k = () => {
|
|
2214
2216
|
var C;
|
|
2215
|
-
(C =
|
|
2217
|
+
(C = a.current) == null || C.prev();
|
|
2216
2218
|
}, s = () => {
|
|
2217
2219
|
var C;
|
|
2218
|
-
(C =
|
|
2220
|
+
(C = a.current) == null || C.next();
|
|
2219
2221
|
}, c = () => {
|
|
2220
|
-
|
|
2222
|
+
$t();
|
|
2221
2223
|
};
|
|
2222
|
-
async function
|
|
2224
|
+
async function g() {
|
|
2223
2225
|
try {
|
|
2224
2226
|
const N = await (await fetch(o)).json();
|
|
2225
|
-
|
|
2227
|
+
_(N.events);
|
|
2226
2228
|
} catch (C) {
|
|
2227
2229
|
console.error(C);
|
|
2228
2230
|
}
|
|
2229
2231
|
}
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
+
Y(() => {
|
|
2233
|
+
g();
|
|
2232
2234
|
const C = setInterval(() => {
|
|
2233
|
-
|
|
2235
|
+
g();
|
|
2234
2236
|
}, 2e4);
|
|
2235
2237
|
return () => clearInterval(C);
|
|
2236
2238
|
}, []);
|
|
2237
|
-
const
|
|
2238
|
-
return /* @__PURE__ */ e("section", { className:
|
|
2239
|
+
const O = d || void 0, x = !h || h.length === 0;
|
|
2240
|
+
return /* @__PURE__ */ e("section", { className: O, style: {
|
|
2239
2241
|
// paddingLeft: 16,
|
|
2240
2242
|
// paddingRight: 16,
|
|
2241
2243
|
width: "100%",
|
|
2242
2244
|
boxSizing: "border-box"
|
|
2243
|
-
}, children: /* @__PURE__ */ l(
|
|
2244
|
-
/* @__PURE__ */ l(
|
|
2245
|
-
/* @__PURE__ */ e(
|
|
2245
|
+
}, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2246
|
+
/* @__PURE__ */ l(H, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
2247
|
+
/* @__PURE__ */ e(q, { title: n, iconUrl: r, size: "md" }),
|
|
2246
2248
|
/* @__PURE__ */ l("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
2247
|
-
/* @__PURE__ */ l(
|
|
2249
|
+
/* @__PURE__ */ l(H, { spacing: 1, columns: "auto auto", children: [
|
|
2248
2250
|
/* @__PURE__ */ e(
|
|
2249
|
-
|
|
2251
|
+
L,
|
|
2250
2252
|
{
|
|
2251
2253
|
ariaLabel: "Anterior",
|
|
2252
2254
|
variant: "secondary",
|
|
2253
2255
|
iconOnly: !0,
|
|
2254
2256
|
leftIcon: /* @__PURE__ */ e(de, {}),
|
|
2255
2257
|
onClick: k,
|
|
2256
|
-
disabled:
|
|
2258
|
+
disabled: u.isStart
|
|
2257
2259
|
}
|
|
2258
2260
|
),
|
|
2259
2261
|
/* @__PURE__ */ e(
|
|
2260
|
-
|
|
2262
|
+
L,
|
|
2261
2263
|
{
|
|
2262
2264
|
ariaLabel: "Siguiente",
|
|
2263
2265
|
variant: "secondary",
|
|
2264
2266
|
iconOnly: !0,
|
|
2265
2267
|
rightIcon: /* @__PURE__ */ e(ue, {}),
|
|
2266
2268
|
onClick: s,
|
|
2267
|
-
disabled:
|
|
2269
|
+
disabled: u.isEnd
|
|
2268
2270
|
}
|
|
2269
2271
|
)
|
|
2270
2272
|
] }),
|
|
2271
|
-
/* @__PURE__ */ e(
|
|
2273
|
+
/* @__PURE__ */ e(L, { variant: "secondary", onClick: c, children: "Ver más" })
|
|
2272
2274
|
] })
|
|
2273
2275
|
] }),
|
|
2274
2276
|
/* @__PURE__ */ e(
|
|
2275
|
-
|
|
2277
|
+
J,
|
|
2276
2278
|
{
|
|
2277
|
-
ref:
|
|
2278
|
-
items:
|
|
2279
|
+
ref: a,
|
|
2280
|
+
items: x ? Array(4).fill({}) : h == null ? void 0 : h.filter((C) => C.event.sport === "FOOTBALL").sort(
|
|
2279
2281
|
(C, N) => new Date(N.event.start).getTime() - new Date(C.event.start).getTime()
|
|
2280
2282
|
),
|
|
2281
2283
|
perPage: void 0,
|
|
@@ -2286,159 +2288,159 @@ function ro({
|
|
|
2286
2288
|
768: { gap: "8px", focus: "center" },
|
|
2287
2289
|
1024: { gap: "10px", focus: "center" }
|
|
2288
2290
|
},
|
|
2289
|
-
renderItem: (C) =>
|
|
2290
|
-
onMove: ({ isStart: C, isEnd: N }) =>
|
|
2291
|
+
renderItem: (C) => x ? /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(oo, {}) }) : /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(Bt, { ...C }) }),
|
|
2292
|
+
onMove: ({ isStart: C, isEnd: N }) => p({ isStart: C, isEnd: N })
|
|
2291
2293
|
}
|
|
2292
2294
|
)
|
|
2293
2295
|
] }) });
|
|
2294
2296
|
}
|
|
2295
|
-
function
|
|
2296
|
-
return /* @__PURE__ */ l("div", { className:
|
|
2297
|
-
/* @__PURE__ */ e(
|
|
2298
|
-
/* @__PURE__ */ e("div", { className:
|
|
2299
|
-
/* @__PURE__ */ l(
|
|
2300
|
-
/* @__PURE__ */ e(
|
|
2301
|
-
/* @__PURE__ */ e(
|
|
2297
|
+
function io() {
|
|
2298
|
+
return /* @__PURE__ */ l("div", { className: X.cardContainer, children: [
|
|
2299
|
+
/* @__PURE__ */ e(Ne, { title: "" }),
|
|
2300
|
+
/* @__PURE__ */ e("div", { className: X.cardBackground, children: /* @__PURE__ */ l(M, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
2301
|
+
/* @__PURE__ */ l(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2302
|
+
/* @__PURE__ */ e(F, { variant: "circular", width: 48, height: 48 }),
|
|
2303
|
+
/* @__PURE__ */ e(F, { variant: "circular", width: 48, height: 48 })
|
|
2302
2304
|
] }),
|
|
2303
|
-
/* @__PURE__ */ l(
|
|
2304
|
-
/* @__PURE__ */ l(
|
|
2305
|
-
/* @__PURE__ */ e(
|
|
2306
|
-
/* @__PURE__ */ e(
|
|
2305
|
+
/* @__PURE__ */ l(M, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
2306
|
+
/* @__PURE__ */ l(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
2307
|
+
/* @__PURE__ */ e(F, { variant: "text", width: 80, height: 12 }),
|
|
2308
|
+
/* @__PURE__ */ e(F, { variant: "text", width: 80, height: 12 })
|
|
2307
2309
|
] }),
|
|
2308
|
-
/* @__PURE__ */ e(
|
|
2309
|
-
/* @__PURE__ */ l(
|
|
2310
|
-
/* @__PURE__ */ e(
|
|
2311
|
-
/* @__PURE__ */ e(
|
|
2312
|
-
/* @__PURE__ */ e(
|
|
2310
|
+
/* @__PURE__ */ e(M, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ e(F, { variant: "text", width: 160, height: 12 }) }),
|
|
2311
|
+
/* @__PURE__ */ l(M, { direction: "row", spacing: 1, children: [
|
|
2312
|
+
/* @__PURE__ */ e(F, { variant: "text", width: 80, height: 16 }),
|
|
2313
|
+
/* @__PURE__ */ e(F, { variant: "text", width: 80, height: 16 }),
|
|
2314
|
+
/* @__PURE__ */ e(F, { variant: "text", width: 80, height: 16 })
|
|
2313
2315
|
] }),
|
|
2314
|
-
/* @__PURE__ */ e("div", { className:
|
|
2315
|
-
/* @__PURE__ */ e(
|
|
2316
|
-
/* @__PURE__ */ e(
|
|
2317
|
-
/* @__PURE__ */ e(
|
|
2316
|
+
/* @__PURE__ */ e("div", { className: X.jugadas, children: /* @__PURE__ */ l(M, { direction: "row", spacing: 1, children: [
|
|
2317
|
+
/* @__PURE__ */ e(F, { variant: "rounded", width: 80, height: 32 }),
|
|
2318
|
+
/* @__PURE__ */ e(F, { variant: "rounded", width: 80, height: 32 }),
|
|
2319
|
+
/* @__PURE__ */ e(F, { variant: "rounded", width: 80, height: 32 })
|
|
2318
2320
|
] }) })
|
|
2319
2321
|
] })
|
|
2320
2322
|
] }) })
|
|
2321
2323
|
] });
|
|
2322
2324
|
}
|
|
2323
|
-
const
|
|
2324
|
-
wrapper:
|
|
2325
|
-
container:
|
|
2326
|
-
buttonWrapper:
|
|
2325
|
+
const so = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", co = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", lo = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", le = {
|
|
2326
|
+
wrapper: so,
|
|
2327
|
+
container: co,
|
|
2328
|
+
buttonWrapper: lo
|
|
2327
2329
|
};
|
|
2328
|
-
function
|
|
2330
|
+
function uo({
|
|
2329
2331
|
items: t,
|
|
2330
2332
|
title: n = "En vivo",
|
|
2331
2333
|
iconUrl: r,
|
|
2332
|
-
onViewMore:
|
|
2333
|
-
className:
|
|
2334
|
+
onViewMore: i,
|
|
2335
|
+
className: d = ""
|
|
2334
2336
|
}) {
|
|
2335
|
-
const o = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE",
|
|
2336
|
-
function k(
|
|
2337
|
-
return [...
|
|
2338
|
-
(
|
|
2337
|
+
const o = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", a = U(null), [u, p] = A({ isStart: !0, isEnd: !1 }), [h, _] = A([]);
|
|
2338
|
+
function k(f) {
|
|
2339
|
+
return [...f].sort(
|
|
2340
|
+
(E, P) => new Date(E.start).getTime() - new Date(P.start).getTime()
|
|
2339
2341
|
);
|
|
2340
2342
|
}
|
|
2341
|
-
function s(
|
|
2342
|
-
const
|
|
2343
|
-
return
|
|
2343
|
+
function s(f) {
|
|
2344
|
+
const E = /* @__PURE__ */ new Date(), P = new Date(E.getTime() + 10080 * 60 * 1e3);
|
|
2345
|
+
return f.filter((T) => {
|
|
2344
2346
|
if (!T.start) return !1;
|
|
2345
|
-
const
|
|
2346
|
-
return
|
|
2347
|
+
const S = new Date(T.start);
|
|
2348
|
+
return S >= E && S <= P;
|
|
2347
2349
|
});
|
|
2348
2350
|
}
|
|
2349
2351
|
const c = () => {
|
|
2350
|
-
|
|
2352
|
+
Ot();
|
|
2351
2353
|
};
|
|
2352
|
-
async function
|
|
2354
|
+
async function g() {
|
|
2353
2355
|
try {
|
|
2354
2356
|
const P = (await (await fetch(o)).json()).group.groups.find(
|
|
2355
|
-
(
|
|
2357
|
+
(b) => b.englishName === "Football"
|
|
2356
2358
|
);
|
|
2357
2359
|
if (!P || !Array.isArray(P.groups)) {
|
|
2358
2360
|
console.error("Football groups not found");
|
|
2359
2361
|
return;
|
|
2360
2362
|
}
|
|
2361
|
-
const
|
|
2362
|
-
const
|
|
2363
|
-
if (
|
|
2364
|
-
const
|
|
2363
|
+
const S = P.groups.slice(0, 5), B = (b) => {
|
|
2364
|
+
const y = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football";
|
|
2365
|
+
if (b.groups && b.groups.length > 0) {
|
|
2366
|
+
const v = b.groups[0];
|
|
2365
2367
|
return [
|
|
2366
|
-
`${
|
|
2368
|
+
`${y}/${b.termKey}/${v.termKey}/all/matches.json?channel_id=1&channel_id=1&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true`
|
|
2367
2369
|
];
|
|
2368
2370
|
}
|
|
2369
2371
|
return [
|
|
2370
|
-
`${
|
|
2372
|
+
`${y}/${b.termKey}/all/all/matches.json?channel_id=1&channel_id=1&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true`
|
|
2371
2373
|
];
|
|
2372
|
-
},
|
|
2373
|
-
|
|
2374
|
-
} catch (
|
|
2375
|
-
console.error(
|
|
2374
|
+
}, m = S.flatMap(B);
|
|
2375
|
+
O(m);
|
|
2376
|
+
} catch (f) {
|
|
2377
|
+
console.error(f);
|
|
2376
2378
|
}
|
|
2377
2379
|
}
|
|
2378
|
-
async function
|
|
2380
|
+
async function O(f) {
|
|
2379
2381
|
try {
|
|
2380
|
-
const
|
|
2381
|
-
|
|
2382
|
+
const E = await Promise.all(
|
|
2383
|
+
f.map((B) => fetch(B).then((m) => m.json()))
|
|
2382
2384
|
);
|
|
2383
2385
|
let P = [], T = [];
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
+
E.forEach((B) => {
|
|
2387
|
+
B.events && (P.push(...B.events.map((m) => m.event)), T.push(...B.events.flatMap((m) => m.betOffers || [])));
|
|
2386
2388
|
});
|
|
2387
|
-
const
|
|
2388
|
-
|
|
2389
|
-
} catch (
|
|
2390
|
-
console.error("Error loading events:",
|
|
2389
|
+
const S = x(P, T);
|
|
2390
|
+
_(k(s(S)));
|
|
2391
|
+
} catch (E) {
|
|
2392
|
+
console.error("Error loading events:", E);
|
|
2391
2393
|
}
|
|
2392
2394
|
}
|
|
2393
|
-
function
|
|
2394
|
-
const T =
|
|
2395
|
-
var
|
|
2396
|
-
return ((
|
|
2397
|
-
}).reduce((
|
|
2398
|
-
return
|
|
2399
|
-
...
|
|
2400
|
-
outcome: T[
|
|
2395
|
+
function x(f, E) {
|
|
2396
|
+
const T = E.filter((S) => {
|
|
2397
|
+
var B;
|
|
2398
|
+
return ((B = S.betOfferType) == null ? void 0 : B.id) === 2;
|
|
2399
|
+
}).reduce((S, B) => (S[B.eventId] || (S[B.eventId] = []), S[B.eventId].push(B), S), {});
|
|
2400
|
+
return f.filter((S) => T[S.id]).map((S) => ({
|
|
2401
|
+
...S,
|
|
2402
|
+
outcome: T[S.id]
|
|
2401
2403
|
}));
|
|
2402
2404
|
}
|
|
2403
|
-
|
|
2404
|
-
t &&
|
|
2405
|
+
Y(() => {
|
|
2406
|
+
t && g();
|
|
2405
2407
|
}, [t]);
|
|
2406
|
-
const C =
|
|
2408
|
+
const C = d || void 0, N = !h || h.length === 0;
|
|
2407
2409
|
return /* @__PURE__ */ e("section", { className: C, style: {
|
|
2408
2410
|
// paddingLeft: 16,
|
|
2409
2411
|
width: "100%",
|
|
2410
2412
|
boxSizing: "border-box"
|
|
2411
2413
|
}, children: /* @__PURE__ */ l("div", { className: le.wrapper, children: [
|
|
2412
|
-
/* @__PURE__ */ e("div", { className: le.container, children: /* @__PURE__ */ l(
|
|
2413
|
-
/* @__PURE__ */ e(
|
|
2414
|
-
/* @__PURE__ */ e("div", { className: le.buttonWrapper, children: /* @__PURE__ */ e(
|
|
2414
|
+
/* @__PURE__ */ e("div", { className: le.container, children: /* @__PURE__ */ l(M, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
2415
|
+
/* @__PURE__ */ e(q, { title: "Eventos de la semana" }),
|
|
2416
|
+
/* @__PURE__ */ e("div", { className: le.buttonWrapper, children: /* @__PURE__ */ e(L, { variant: "secondary", size: "lg", fullWidth: !0, onClick: () => {
|
|
2415
2417
|
c();
|
|
2416
2418
|
}, children: "Ver más" }) })
|
|
2417
2419
|
] }) }),
|
|
2418
2420
|
/* @__PURE__ */ e("div", { style: { minWidth: "180px" }, children: /* @__PURE__ */ e(
|
|
2419
|
-
|
|
2421
|
+
J,
|
|
2420
2422
|
{
|
|
2421
|
-
ref:
|
|
2422
|
-
items: N ? Array(6).fill({}) :
|
|
2423
|
+
ref: a,
|
|
2424
|
+
items: N ? Array(6).fill({}) : h,
|
|
2423
2425
|
perPage: 3.5,
|
|
2424
2426
|
gap: "16px",
|
|
2425
2427
|
options: { autoWidth: !0, trimSpace: !0 },
|
|
2426
2428
|
breakpoints: {
|
|
2427
2429
|
1024: { perPage: 1.4, gap: "8px", focus: "center", padding: { left: "8px", right: "8px" } }
|
|
2428
2430
|
},
|
|
2429
|
-
renderItem: (
|
|
2430
|
-
onMove: ({ isStart:
|
|
2431
|
+
renderItem: (f) => N ? /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(io, {}) }) : /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(At, { event: f }) }),
|
|
2432
|
+
onMove: ({ isStart: f, isEnd: E }) => p({ isStart: f, isEnd: E })
|
|
2431
2433
|
}
|
|
2432
2434
|
) })
|
|
2433
2435
|
] }) });
|
|
2434
2436
|
}
|
|
2435
|
-
function
|
|
2437
|
+
function po({
|
|
2436
2438
|
backgrounds: t,
|
|
2437
2439
|
items: n
|
|
2438
2440
|
}) {
|
|
2439
|
-
const [r,
|
|
2441
|
+
const [r, i] = A(0), d = (t == null ? void 0 : t.length) || 1;
|
|
2440
2442
|
return /* @__PURE__ */ l(
|
|
2441
|
-
|
|
2443
|
+
z,
|
|
2442
2444
|
{
|
|
2443
2445
|
component: "section",
|
|
2444
2446
|
sx: {
|
|
@@ -2452,7 +2454,7 @@ function uo({
|
|
|
2452
2454
|
},
|
|
2453
2455
|
children: [
|
|
2454
2456
|
/* @__PURE__ */ l(
|
|
2455
|
-
|
|
2457
|
+
z,
|
|
2456
2458
|
{
|
|
2457
2459
|
sx: {
|
|
2458
2460
|
position: "relative",
|
|
@@ -2462,7 +2464,7 @@ function uo({
|
|
|
2462
2464
|
},
|
|
2463
2465
|
children: [
|
|
2464
2466
|
/* @__PURE__ */ e(
|
|
2465
|
-
|
|
2467
|
+
J,
|
|
2466
2468
|
{
|
|
2467
2469
|
items: t,
|
|
2468
2470
|
perPage: 0,
|
|
@@ -2476,11 +2478,11 @@ function uo({
|
|
|
2476
2478
|
// left: 0,
|
|
2477
2479
|
// right: 0,
|
|
2478
2480
|
},
|
|
2479
|
-
onMove: ({ index: o }) =>
|
|
2481
|
+
onMove: ({ index: o }) => i(o),
|
|
2480
2482
|
renderItem: (o) => {
|
|
2481
|
-
var
|
|
2483
|
+
var a;
|
|
2482
2484
|
return /* @__PURE__ */ l(
|
|
2483
|
-
|
|
2485
|
+
z,
|
|
2484
2486
|
{
|
|
2485
2487
|
sx: {
|
|
2486
2488
|
position: "relative",
|
|
@@ -2488,7 +2490,7 @@ function uo({
|
|
|
2488
2490
|
},
|
|
2489
2491
|
children: [
|
|
2490
2492
|
/* @__PURE__ */ l(
|
|
2491
|
-
|
|
2493
|
+
z,
|
|
2492
2494
|
{
|
|
2493
2495
|
component: "picture",
|
|
2494
2496
|
sx: { position: "absolute", inset: 0, lineHeight: 0 },
|
|
@@ -2508,10 +2510,10 @@ function uo({
|
|
|
2508
2510
|
}
|
|
2509
2511
|
),
|
|
2510
2512
|
/* @__PURE__ */ e(
|
|
2511
|
-
|
|
2513
|
+
z,
|
|
2512
2514
|
{
|
|
2513
2515
|
component: "img",
|
|
2514
|
-
src: (
|
|
2516
|
+
src: (a = o.fallbackSrc) != null ? a : o.desktopSrc,
|
|
2515
2517
|
alt: "",
|
|
2516
2518
|
"aria-hidden": !0,
|
|
2517
2519
|
loading: "lazy",
|
|
@@ -2527,7 +2529,7 @@ function uo({
|
|
|
2527
2529
|
}
|
|
2528
2530
|
),
|
|
2529
2531
|
/* @__PURE__ */ e(
|
|
2530
|
-
|
|
2532
|
+
z,
|
|
2531
2533
|
{
|
|
2532
2534
|
sx: {
|
|
2533
2535
|
position: "absolute",
|
|
@@ -2552,7 +2554,7 @@ function uo({
|
|
|
2552
2554
|
}
|
|
2553
2555
|
),
|
|
2554
2556
|
/* @__PURE__ */ e(
|
|
2555
|
-
|
|
2557
|
+
z,
|
|
2556
2558
|
{
|
|
2557
2559
|
sx: {
|
|
2558
2560
|
position: "absolute",
|
|
@@ -2563,18 +2565,18 @@ function uo({
|
|
|
2563
2565
|
justifyContent: "center",
|
|
2564
2566
|
zIndex: 2
|
|
2565
2567
|
},
|
|
2566
|
-
children: /* @__PURE__ */ e(
|
|
2568
|
+
children: /* @__PURE__ */ e(Oe, { total: d, active: r })
|
|
2567
2569
|
}
|
|
2568
2570
|
)
|
|
2569
2571
|
]
|
|
2570
2572
|
}
|
|
2571
2573
|
),
|
|
2572
2574
|
/* @__PURE__ */ e(
|
|
2573
|
-
|
|
2575
|
+
z,
|
|
2574
2576
|
{
|
|
2575
2577
|
sx: {
|
|
2576
2578
|
position: "absolute",
|
|
2577
|
-
bottom: { xs:
|
|
2579
|
+
bottom: { xs: 0, sm: 12 },
|
|
2578
2580
|
left: 120,
|
|
2579
2581
|
right: 120,
|
|
2580
2582
|
"@media (max-width:1024px)": {
|
|
@@ -2583,8 +2585,7 @@ function uo({
|
|
|
2583
2585
|
},
|
|
2584
2586
|
backgroundColor: "#363636",
|
|
2585
2587
|
borderRadius: 2,
|
|
2586
|
-
|
|
2587
|
-
px: { xs: 1.5, md: 2 },
|
|
2588
|
+
p: 1.5,
|
|
2588
2589
|
display: "flex",
|
|
2589
2590
|
justifyContent: "space-around",
|
|
2590
2591
|
alignItems: "center",
|
|
@@ -2592,7 +2593,7 @@ function uo({
|
|
|
2592
2593
|
zIndex: 3
|
|
2593
2594
|
},
|
|
2594
2595
|
children: n == null ? void 0 : n.map((o) => /* @__PURE__ */ l(
|
|
2595
|
-
|
|
2596
|
+
z,
|
|
2596
2597
|
{
|
|
2597
2598
|
sx: {
|
|
2598
2599
|
display: "flex",
|
|
@@ -2606,13 +2607,13 @@ function uo({
|
|
|
2606
2607
|
whiteSpace: "nowrap"
|
|
2607
2608
|
},
|
|
2608
2609
|
onClick: () => {
|
|
2609
|
-
var
|
|
2610
|
+
var a;
|
|
2610
2611
|
if (o.onClick) return o.onClick();
|
|
2611
|
-
if (o.href) return window.location.href = (
|
|
2612
|
+
if (o.href) return window.location.href = (a = o.href) != null ? a : "/#";
|
|
2612
2613
|
},
|
|
2613
2614
|
children: [
|
|
2614
2615
|
o.icon && /* @__PURE__ */ e(
|
|
2615
|
-
|
|
2616
|
+
z,
|
|
2616
2617
|
{
|
|
2617
2618
|
component: "img",
|
|
2618
2619
|
src: o.icon,
|
|
@@ -2625,7 +2626,7 @@ function uo({
|
|
|
2625
2626
|
}
|
|
2626
2627
|
),
|
|
2627
2628
|
/* @__PURE__ */ e(
|
|
2628
|
-
|
|
2629
|
+
Ce,
|
|
2629
2630
|
{
|
|
2630
2631
|
sx: {
|
|
2631
2632
|
fontSize: { xs: 10, sm: 11, md: 12 },
|
|
@@ -2646,7 +2647,7 @@ function uo({
|
|
|
2646
2647
|
}
|
|
2647
2648
|
);
|
|
2648
2649
|
}
|
|
2649
|
-
const
|
|
2650
|
+
const mo = [
|
|
2650
2651
|
[
|
|
2651
2652
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/IBK.svg", alt: "Interbank" },
|
|
2652
2653
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/Yape.svg", alt: "Yape" }
|
|
@@ -2657,14 +2658,14 @@ const po = [
|
|
|
2657
2658
|
{ src: "https://stg-www.contodobet.com/static/img/landing/MediosPago/niubiz.svg", alt: "Niubiz" }
|
|
2658
2659
|
]
|
|
2659
2660
|
];
|
|
2660
|
-
function
|
|
2661
|
+
function ho({
|
|
2661
2662
|
title: t = "Medios de pago",
|
|
2662
|
-
rows: n =
|
|
2663
|
+
rows: n = mo
|
|
2663
2664
|
}) {
|
|
2664
2665
|
const r = n.flat();
|
|
2665
|
-
return /* @__PURE__ */ l(
|
|
2666
|
+
return /* @__PURE__ */ l(z, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
2666
2667
|
/* @__PURE__ */ e(
|
|
2667
|
-
|
|
2668
|
+
Ce,
|
|
2668
2669
|
{
|
|
2669
2670
|
id: "mp-title",
|
|
2670
2671
|
variant: "h6",
|
|
@@ -2678,7 +2679,7 @@ function mo({
|
|
|
2678
2679
|
}
|
|
2679
2680
|
),
|
|
2680
2681
|
/* @__PURE__ */ e(
|
|
2681
|
-
|
|
2682
|
+
z,
|
|
2682
2683
|
{
|
|
2683
2684
|
sx: {
|
|
2684
2685
|
width: "288px",
|
|
@@ -2691,20 +2692,20 @@ function mo({
|
|
|
2691
2692
|
}
|
|
2692
2693
|
}
|
|
2693
2694
|
),
|
|
2694
|
-
/* @__PURE__ */ e(
|
|
2695
|
-
|
|
2695
|
+
/* @__PURE__ */ e(z, { sx: { display: { xs: "block", md: "none" } }, children: n.map((i, d) => /* @__PURE__ */ e(
|
|
2696
|
+
Ee,
|
|
2696
2697
|
{
|
|
2697
2698
|
direction: "row",
|
|
2698
2699
|
justifyContent: "center",
|
|
2699
2700
|
alignItems: "center",
|
|
2700
2701
|
gap: 2.5,
|
|
2701
2702
|
flexWrap: "wrap",
|
|
2702
|
-
children:
|
|
2703
|
+
children: i.map((o) => /* @__PURE__ */ e(fe, { ...o }, `${o.src}-${o.alt}`))
|
|
2703
2704
|
},
|
|
2704
|
-
|
|
2705
|
+
d
|
|
2705
2706
|
)) }),
|
|
2706
2707
|
/* @__PURE__ */ e(
|
|
2707
|
-
|
|
2708
|
+
z,
|
|
2708
2709
|
{
|
|
2709
2710
|
sx: {
|
|
2710
2711
|
mt: 3,
|
|
@@ -2715,257 +2716,258 @@ function mo({
|
|
|
2715
2716
|
gridTemplateColumns: { md: "repeat(auto-fit, 160px)" },
|
|
2716
2717
|
justifyContent: { md: "center" }
|
|
2717
2718
|
},
|
|
2718
|
-
children: r.map((
|
|
2719
|
+
children: r.map((i) => /* @__PURE__ */ e(fe, { ...i }, `${i.src}-${i.alt}`))
|
|
2719
2720
|
}
|
|
2720
2721
|
)
|
|
2721
2722
|
] });
|
|
2722
2723
|
}
|
|
2723
|
-
const
|
|
2724
|
-
OraculoSeccionDestacados:
|
|
2725
|
-
OraculoSeccionTopJuegos:
|
|
2726
|
-
OraculoSeccionCasinoEnVivo:
|
|
2727
|
-
OraculoSeccionCasino:
|
|
2728
|
-
OraculoSeccionVirtuales:
|
|
2729
|
-
OraculoSeccionClubOlimpo:
|
|
2730
|
-
OraculoSeccionBonoBienvenida:
|
|
2731
|
-
OraculoSeccionBanners:
|
|
2732
|
-
OraculoSeccionMediosPago:
|
|
2733
|
-
OraculoSeccionEventoEnVivo:
|
|
2734
|
-
OraculoSeccionEventoSemana:
|
|
2735
|
-
OraculoSeccionEventoCombinadas:
|
|
2736
|
-
},
|
|
2737
|
-
Object.entries(
|
|
2738
|
-
([t, n]) =>
|
|
2724
|
+
const go = {
|
|
2725
|
+
OraculoSeccionDestacados: Gt,
|
|
2726
|
+
OraculoSeccionTopJuegos: Ut,
|
|
2727
|
+
OraculoSeccionCasinoEnVivo: Vt,
|
|
2728
|
+
OraculoSeccionCasino: Kt,
|
|
2729
|
+
OraculoSeccionVirtuales: Jt,
|
|
2730
|
+
OraculoSeccionClubOlimpo: Yt,
|
|
2731
|
+
OraculoSeccionBonoBienvenida: Qt,
|
|
2732
|
+
OraculoSeccionBanners: po,
|
|
2733
|
+
OraculoSeccionMediosPago: ho,
|
|
2734
|
+
OraculoSeccionEventoEnVivo: ao,
|
|
2735
|
+
OraculoSeccionEventoSemana: uo,
|
|
2736
|
+
OraculoSeccionEventoCombinadas: to
|
|
2737
|
+
}, fo = (t) => typeof t == "function" || t && typeof t == "object" && "$$typeof" in t, xo = (t) => /^OraculoSeccion[A-Z]/.test(t), bo = Object.fromEntries(
|
|
2738
|
+
Object.entries(go).filter(
|
|
2739
|
+
([t, n]) => xo(t) && fo(n)
|
|
2739
2740
|
)
|
|
2740
2741
|
);
|
|
2741
|
-
class
|
|
2742
|
-
constructor(n, r,
|
|
2743
|
-
super(`HTTP ${n} ${
|
|
2742
|
+
class ye extends Error {
|
|
2743
|
+
constructor(n, r, i) {
|
|
2744
|
+
super(`HTTP ${n} ${i}`), this.status = n, this.url = r, this.statusText = i, this.name = "HttpError";
|
|
2744
2745
|
}
|
|
2745
2746
|
}
|
|
2746
|
-
const
|
|
2747
|
+
const we = [
|
|
2747
2748
|
"OraculoSeccionEventoEnVivo",
|
|
2748
2749
|
"OraculoSeccionEventoSemana",
|
|
2749
2750
|
"OraculoSeccionEventoCombinadas"
|
|
2750
|
-
],
|
|
2751
|
+
], Bo = ({
|
|
2751
2752
|
sectionsOverride: t,
|
|
2752
2753
|
docId: n = "home",
|
|
2753
|
-
db: r
|
|
2754
|
+
db: r,
|
|
2755
|
+
loader: i
|
|
2754
2756
|
}) => {
|
|
2755
|
-
const [
|
|
2757
|
+
const [d, o] = A(
|
|
2756
2758
|
[]
|
|
2757
|
-
), [
|
|
2758
|
-
|
|
2759
|
+
), [a, u] = A(!1), [p, h] = A({}), [_, k] = A({}), [s, c] = A({}), g = Fe("(min-width:1024px)");
|
|
2760
|
+
Y(() => {
|
|
2759
2761
|
if (t || !r) return;
|
|
2760
|
-
|
|
2761
|
-
const
|
|
2762
|
-
|
|
2763
|
-
(
|
|
2764
|
-
var
|
|
2762
|
+
u(!0);
|
|
2763
|
+
const m = Ve(
|
|
2764
|
+
He(r, "landings", n),
|
|
2765
|
+
(b) => {
|
|
2766
|
+
var y;
|
|
2765
2767
|
try {
|
|
2766
|
-
let
|
|
2767
|
-
|
|
2768
|
-
var
|
|
2769
|
-
return ((
|
|
2770
|
-
}).map((
|
|
2771
|
-
} catch (
|
|
2772
|
-
console.error("Error procesando landings/" + n,
|
|
2768
|
+
let v = b.exists() ? ((y = b.data()) == null ? void 0 : y.sections) || [] : [];
|
|
2769
|
+
v = v.slice().sort((w, I) => {
|
|
2770
|
+
var R, W;
|
|
2771
|
+
return ((R = w.order) != null ? R : 0) - ((W = I.order) != null ? W : 0);
|
|
2772
|
+
}).map((w, I) => ({ ...w, order: I + 1 })), o(v), console.log("fetched: ", v);
|
|
2773
|
+
} catch (v) {
|
|
2774
|
+
console.error("Error procesando landings/" + n, v);
|
|
2773
2775
|
} finally {
|
|
2774
|
-
|
|
2776
|
+
u(!1);
|
|
2775
2777
|
}
|
|
2776
2778
|
},
|
|
2777
|
-
(
|
|
2778
|
-
console.error("Error escuchando landings/" + n,
|
|
2779
|
+
(b) => {
|
|
2780
|
+
console.error("Error escuchando landings/" + n, b), u(!1);
|
|
2779
2781
|
}
|
|
2780
2782
|
);
|
|
2781
|
-
return () =>
|
|
2782
|
-
}, [t, n, r]),
|
|
2783
|
-
(t ? t.slice() :
|
|
2784
|
-
}, [t,
|
|
2785
|
-
const
|
|
2786
|
-
if (
|
|
2783
|
+
return () => m();
|
|
2784
|
+
}, [t, n, r]), Y(() => {
|
|
2785
|
+
(t ? t.slice() : d.slice()).map((y) => y.componentKey).filter((y) => !!y).length;
|
|
2786
|
+
}, [t, d]);
|
|
2787
|
+
const O = async (m) => {
|
|
2788
|
+
if (we.includes(m.componentKey))
|
|
2787
2789
|
return {
|
|
2788
2790
|
// whatever empty structure your UI expects
|
|
2789
2791
|
items: [],
|
|
2790
2792
|
events: [],
|
|
2791
2793
|
data: {}
|
|
2792
2794
|
};
|
|
2793
|
-
const
|
|
2794
|
-
if (!
|
|
2795
|
-
const
|
|
2796
|
-
let
|
|
2797
|
-
if (
|
|
2798
|
-
const
|
|
2799
|
-
|
|
2795
|
+
const b = (m.apiUrl || "").trim();
|
|
2796
|
+
if (!b) return;
|
|
2797
|
+
const y = m.apiMethod || "GET", v = m.apiParams || [];
|
|
2798
|
+
let w = b, I, R;
|
|
2799
|
+
if (y === "GET") {
|
|
2800
|
+
const G = new URL(
|
|
2801
|
+
b,
|
|
2800
2802
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
2801
2803
|
);
|
|
2802
|
-
for (const
|
|
2803
|
-
|
|
2804
|
-
|
|
2804
|
+
for (const j of v)
|
|
2805
|
+
j.key && G.searchParams.append(j.key, j.value);
|
|
2806
|
+
w = G.toString();
|
|
2805
2807
|
} else {
|
|
2806
|
-
const
|
|
2807
|
-
for (const
|
|
2808
|
-
|
|
2809
|
-
I =
|
|
2808
|
+
const G = new URLSearchParams();
|
|
2809
|
+
for (const j of v)
|
|
2810
|
+
j.key && G.append(j.key, j.value);
|
|
2811
|
+
I = G.toString(), R = {
|
|
2810
2812
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
2811
2813
|
};
|
|
2812
2814
|
}
|
|
2813
|
-
const
|
|
2814
|
-
method:
|
|
2815
|
-
headers:
|
|
2815
|
+
const W = await fetch(w, {
|
|
2816
|
+
method: y,
|
|
2817
|
+
headers: R,
|
|
2816
2818
|
body: I
|
|
2817
2819
|
});
|
|
2818
|
-
if (!
|
|
2819
|
-
return
|
|
2820
|
-
},
|
|
2821
|
-
() => t ? t.slice() :
|
|
2822
|
-
[t,
|
|
2823
|
-
),
|
|
2824
|
-
|
|
2825
|
-
const
|
|
2826
|
-
if (
|
|
2827
|
-
for (const { s:
|
|
2828
|
-
const
|
|
2829
|
-
|
|
2820
|
+
if (!W.ok) throw new ye(W.status, w, W.statusText);
|
|
2821
|
+
return W.json();
|
|
2822
|
+
}, x = oe(
|
|
2823
|
+
() => t ? t.slice() : d.slice(),
|
|
2824
|
+
[t, d]
|
|
2825
|
+
), C = We.useRef(/* @__PURE__ */ new Set());
|
|
2826
|
+
Y(() => {
|
|
2827
|
+
const m = x.map((b) => ({ s: b, url: (b.apiUrl || "").trim() })).filter(({ url: b }) => !!b);
|
|
2828
|
+
if (m.length)
|
|
2829
|
+
for (const { s: b, url: y } of m) {
|
|
2830
|
+
const v = `${b.id}|${y}`;
|
|
2831
|
+
C.current.has(v) || (C.current.add(v), k((w) => ({ ...w, [b.id]: !0 })), c((w) => ({ ...w, [b.id]: "" })), (async () => {
|
|
2830
2832
|
try {
|
|
2831
|
-
const
|
|
2832
|
-
|
|
2833
|
-
} catch (
|
|
2833
|
+
const w = await O(b);
|
|
2834
|
+
h((I) => ({ ...I, [b.id]: w }));
|
|
2835
|
+
} catch (w) {
|
|
2834
2836
|
let I = "Error desconocido";
|
|
2835
|
-
|
|
2837
|
+
w instanceof ye ? I = `Error HTTP ${w.status} (${w.statusText}) en ${w.url}` : w instanceof SyntaxError ? I = "Respuesta no es JSON válido" : w instanceof TypeError ? I = "Fallo de red / CORS / conexión" : typeof w == "string" && (I = w.toString()), c((R) => ({ ...R, [b.id]: I }));
|
|
2836
2838
|
} finally {
|
|
2837
|
-
|
|
2839
|
+
k((w) => ({ ...w, [b.id]: !1 }));
|
|
2838
2840
|
}
|
|
2839
2841
|
})());
|
|
2840
2842
|
}
|
|
2841
|
-
}, [
|
|
2842
|
-
const
|
|
2843
|
-
() =>
|
|
2844
|
-
[
|
|
2845
|
-
),
|
|
2846
|
-
const
|
|
2847
|
-
for (const
|
|
2848
|
-
const
|
|
2849
|
-
if (
|
|
2850
|
-
const I = String(
|
|
2843
|
+
}, [x]);
|
|
2844
|
+
const N = oe(
|
|
2845
|
+
() => x.filter((m) => m.visible).sort((m, b) => m.order - b.order),
|
|
2846
|
+
[x]
|
|
2847
|
+
), f = (m) => Array.isArray(m) ? m.map((b) => {
|
|
2848
|
+
const y = {};
|
|
2849
|
+
for (const v of b.fields || []) {
|
|
2850
|
+
const w = (v.type || "string").toLowerCase();
|
|
2851
|
+
if (w === "number") {
|
|
2852
|
+
const I = String(v.value || "").trim();
|
|
2851
2853
|
if (I !== "") {
|
|
2852
|
-
const
|
|
2853
|
-
Number.isNaN(
|
|
2854
|
+
const R = Number(I);
|
|
2855
|
+
Number.isNaN(R) || (y[v.name] = R);
|
|
2854
2856
|
}
|
|
2855
|
-
} else if (
|
|
2856
|
-
|
|
2857
|
-
else if (
|
|
2858
|
-
const I = String(
|
|
2857
|
+
} else if (w === "boolean")
|
|
2858
|
+
y[v.name] = String(v.value).toLowerCase() === "true";
|
|
2859
|
+
else if (w === "function") {
|
|
2860
|
+
const I = String(v.value || "").trim();
|
|
2859
2861
|
if (I)
|
|
2860
2862
|
try {
|
|
2861
|
-
const
|
|
2862
|
-
|
|
2863
|
-
} catch (
|
|
2864
|
-
console.error(`❌ Error creando función en item '${
|
|
2863
|
+
const R = new Function(I);
|
|
2864
|
+
y[v.name] = R;
|
|
2865
|
+
} catch (R) {
|
|
2866
|
+
console.error(`❌ Error creando función en item '${v.name}':`, R);
|
|
2865
2867
|
}
|
|
2866
|
-
} else
|
|
2868
|
+
} else y[v.name] = v.value;
|
|
2867
2869
|
}
|
|
2868
|
-
return
|
|
2869
|
-
}) : [],
|
|
2870
|
-
const
|
|
2871
|
-
if (!Array.isArray(
|
|
2872
|
-
for (const
|
|
2873
|
-
if (!
|
|
2874
|
-
const
|
|
2875
|
-
if (
|
|
2876
|
-
const
|
|
2877
|
-
if (
|
|
2878
|
-
const I = Number(
|
|
2879
|
-
Number.isNaN(I) || (
|
|
2870
|
+
return y;
|
|
2871
|
+
}) : [], E = (m) => {
|
|
2872
|
+
const b = {};
|
|
2873
|
+
if (!Array.isArray(m)) return b;
|
|
2874
|
+
for (const y of m) {
|
|
2875
|
+
if (!y.name) continue;
|
|
2876
|
+
const v = (y.type || "string").toLowerCase();
|
|
2877
|
+
if (v === "number") {
|
|
2878
|
+
const w = String(y.value || "").trim();
|
|
2879
|
+
if (w !== "") {
|
|
2880
|
+
const I = Number(w);
|
|
2881
|
+
Number.isNaN(I) || (b[y.name] = I);
|
|
2880
2882
|
}
|
|
2881
|
-
} else if (
|
|
2882
|
-
|
|
2883
|
-
else if (
|
|
2884
|
-
const
|
|
2885
|
-
if (
|
|
2883
|
+
} else if (v === "boolean")
|
|
2884
|
+
b[y.name] = String(y.value).toLowerCase() === "true";
|
|
2885
|
+
else if (v === "function") {
|
|
2886
|
+
const w = String(y.value || "").trim();
|
|
2887
|
+
if (w)
|
|
2886
2888
|
try {
|
|
2887
|
-
const I = new Function(
|
|
2888
|
-
|
|
2889
|
+
const I = new Function(w);
|
|
2890
|
+
b[y.name] = I;
|
|
2889
2891
|
} catch (I) {
|
|
2890
|
-
console.error(`❌ Error creando función en item '${
|
|
2892
|
+
console.error(`❌ Error creando función en item '${y.name}':`, I);
|
|
2891
2893
|
}
|
|
2892
|
-
} else
|
|
2894
|
+
} else b[y.name] = y.value;
|
|
2893
2895
|
}
|
|
2894
|
-
return
|
|
2895
|
-
},
|
|
2896
|
-
const
|
|
2897
|
-
if (
|
|
2898
|
-
const
|
|
2899
|
-
return
|
|
2896
|
+
return b;
|
|
2897
|
+
}, P = (m, b, y) => {
|
|
2898
|
+
const v = y ? { ...y } : {};
|
|
2899
|
+
if (b) {
|
|
2900
|
+
const j = (b.variableName || "items").trim() || "items";
|
|
2901
|
+
return v[j] = b.arr || [], v;
|
|
2900
2902
|
}
|
|
2901
|
-
const
|
|
2902
|
-
return
|
|
2903
|
-
},
|
|
2903
|
+
const w = m, I = Array.isArray(w), R = !I && typeof w == "object" && w !== null ? w : void 0, W = R && Array.isArray(R.lobby || R.items) ? R.lobby || R.items : void 0, G = (j) => I ? w : W || j;
|
|
2904
|
+
return v.items = G(W || []), v;
|
|
2905
|
+
}, T = (m) => {
|
|
2904
2906
|
var I;
|
|
2905
|
-
const
|
|
2906
|
-
let
|
|
2907
|
-
const
|
|
2908
|
-
if (
|
|
2909
|
-
return { items:
|
|
2910
|
-
if (
|
|
2911
|
-
else if (
|
|
2912
|
-
const
|
|
2913
|
-
if (
|
|
2907
|
+
const b = !!((I = m.apiUrl) != null && I.trim()), y = b ? p[m.id] : void 0;
|
|
2908
|
+
let v = m.props ? { ...m.props } : {};
|
|
2909
|
+
const w = E(m.manualScalarFields);
|
|
2910
|
+
if (we.includes(m.componentKey))
|
|
2911
|
+
return { items: y, ...v, ...w };
|
|
2912
|
+
if (v = { ...v, ...w }, b) v = P(y, null, v);
|
|
2913
|
+
else if (m.dataMode === "manual") {
|
|
2914
|
+
const R = f(m.manualItems);
|
|
2915
|
+
if (v = P(
|
|
2914
2916
|
null,
|
|
2915
|
-
{ arr:
|
|
2916
|
-
|
|
2917
|
-
),
|
|
2918
|
-
const
|
|
2919
|
-
|
|
2917
|
+
{ arr: R, variableName: m.variableName },
|
|
2918
|
+
v
|
|
2919
|
+
), m.variableName2 && m.manualItems2) {
|
|
2920
|
+
const W = f(m.manualItems2), G = (m.variableName2 || "items2").trim() || "items2";
|
|
2921
|
+
v[G] = W;
|
|
2920
2922
|
}
|
|
2921
2923
|
}
|
|
2922
|
-
return
|
|
2923
|
-
},
|
|
2924
|
+
return v;
|
|
2925
|
+
}, S = (m, b, y) => /* @__PURE__ */ e("div", { className: `mx-4 p-4 rounded ${{
|
|
2924
2926
|
loading: "bg-blue-100 text-blue-800",
|
|
2925
2927
|
error: "bg-red-100 text-red-800",
|
|
2926
2928
|
component: "bg-yellow-100 text-yellow-800"
|
|
2927
|
-
}[
|
|
2928
|
-
var
|
|
2929
|
-
const
|
|
2930
|
-
if (!
|
|
2931
|
-
return console.warn(`No hay componente registrado para "${
|
|
2932
|
-
|
|
2929
|
+
}[b]}`, children: y }, m), B = (m) => {
|
|
2930
|
+
var he;
|
|
2931
|
+
const b = m.componentKey, y = bo[b];
|
|
2932
|
+
if (!y)
|
|
2933
|
+
return console.warn(`No hay componente registrado para "${b}"`), S(
|
|
2934
|
+
m.id,
|
|
2933
2935
|
"component",
|
|
2934
|
-
`Componente "${
|
|
2936
|
+
`Componente "${b}" no encontrado`
|
|
2935
2937
|
);
|
|
2936
|
-
const
|
|
2937
|
-
if (
|
|
2938
|
-
if (I && !
|
|
2939
|
-
return
|
|
2940
|
-
|
|
2938
|
+
const v = !!((he = m.apiUrl) != null && he.trim()), w = v ? p[m.id] : void 0, I = v ? !!_[m.id] : !1, R = v ? s[m.id] : "";
|
|
2939
|
+
if (v) {
|
|
2940
|
+
if (I && !w)
|
|
2941
|
+
return S(
|
|
2942
|
+
m.id,
|
|
2941
2943
|
"loading",
|
|
2942
|
-
`Cargando datos desde ${
|
|
2944
|
+
`Cargando datos desde ${m.apiUrl}...`
|
|
2943
2945
|
);
|
|
2944
|
-
if (
|
|
2945
|
-
return
|
|
2946
|
-
|
|
2946
|
+
if (R && !w)
|
|
2947
|
+
return S(
|
|
2948
|
+
m.id,
|
|
2947
2949
|
"error",
|
|
2948
|
-
`Error cargando ${
|
|
2950
|
+
`Error cargando ${m.apiUrl}: ${R}`
|
|
2949
2951
|
);
|
|
2950
2952
|
}
|
|
2951
|
-
const
|
|
2953
|
+
const W = T(m), j = (/* @__PURE__ */ new Set([
|
|
2952
2954
|
"OraculoSeccionBanners",
|
|
2953
2955
|
"OraculoSeccionBonoBienvenida",
|
|
2954
2956
|
"OraculoSeccionCasinoEnVivo",
|
|
2955
|
-
|
|
2956
|
-
])).has(
|
|
2957
|
-
return /* @__PURE__ */ e("div", { style:
|
|
2957
|
+
g ? "" : "OraculoSeccionClubOlimpo"
|
|
2958
|
+
])).has(m.componentKey), me = g ? 120 : 24;
|
|
2959
|
+
return /* @__PURE__ */ e("div", { style: j ? {
|
|
2958
2960
|
width: "100%",
|
|
2959
2961
|
boxSizing: "border-box"
|
|
2960
2962
|
} : {
|
|
2961
|
-
paddingLeft:
|
|
2962
|
-
paddingRight:
|
|
2963
|
+
paddingLeft: me,
|
|
2964
|
+
paddingRight: me,
|
|
2963
2965
|
width: "100%",
|
|
2964
2966
|
boxSizing: "border-box"
|
|
2965
|
-
}, children: /* @__PURE__ */ e(
|
|
2967
|
+
}, children: /* @__PURE__ */ e(y, { ...W }) }, m.id);
|
|
2966
2968
|
};
|
|
2967
|
-
return
|
|
2968
|
-
|
|
2969
|
+
return a && !t ? i ? /* @__PURE__ */ e(i, {}) : /* @__PURE__ */ e("div", { children: "Cargando..." }) : !a && !t && d.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ e(
|
|
2970
|
+
Le,
|
|
2969
2971
|
{
|
|
2970
2972
|
className: "oli-font",
|
|
2971
2973
|
maxWidth: !1,
|
|
@@ -2979,47 +2981,55 @@ const ye = [
|
|
|
2979
2981
|
maxWidth: "100%",
|
|
2980
2982
|
overflowX: "hidden"
|
|
2981
2983
|
},
|
|
2982
|
-
children: /* @__PURE__ */ e(
|
|
2984
|
+
children: /* @__PURE__ */ e(
|
|
2985
|
+
Ee,
|
|
2986
|
+
{
|
|
2987
|
+
direction: "column",
|
|
2988
|
+
spacing: g ? 8 : 5,
|
|
2989
|
+
useFlexGap: !0,
|
|
2990
|
+
children: N.map(B)
|
|
2991
|
+
}
|
|
2992
|
+
)
|
|
2983
2993
|
}
|
|
2984
2994
|
);
|
|
2985
2995
|
};
|
|
2986
2996
|
export {
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
2997
|
+
L as OraculoButton,
|
|
2998
|
+
J as OraculoCarousel,
|
|
2999
|
+
Oe as OraculoCarouselDots,
|
|
3000
|
+
bt as OraculoClubOlimpoVisual,
|
|
3001
|
+
Nt as OraculoEventCombinadasCard,
|
|
3002
|
+
Bt as OraculoEventEnVivoCard,
|
|
3003
|
+
Ze as OraculoEventHeader,
|
|
3004
|
+
Ie as OraculoEventLabel,
|
|
3005
|
+
Ne as OraculoEventLeague,
|
|
3006
|
+
Te as OraculoEventScore,
|
|
3007
|
+
At as OraculoEventSemanaCard,
|
|
3008
|
+
Ye as OraculoEventStatus,
|
|
3009
|
+
Qe as OraculoEventStatusBadge,
|
|
3000
3010
|
ne as OraculoEventTeamInfo,
|
|
3001
3011
|
te as OraculoGameCard,
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3012
|
+
ft as OraculoGameRankCard,
|
|
3013
|
+
Pe as OraculoGameSlide,
|
|
3014
|
+
H as OraculoGridGroup,
|
|
3015
|
+
xt as OraculoLiveCasinoCard,
|
|
3016
|
+
fe as OraculoLogoMediosPago,
|
|
3017
|
+
Bo as OraculoPageLandingPreview,
|
|
3018
|
+
po as OraculoSeccionBanners,
|
|
3019
|
+
Qt as OraculoSeccionBonoBienvenida,
|
|
3020
|
+
Kt as OraculoSeccionCasino,
|
|
3021
|
+
Vt as OraculoSeccionCasinoEnVivo,
|
|
3022
|
+
Yt as OraculoSeccionClubOlimpo,
|
|
3023
|
+
Gt as OraculoSeccionDestacados,
|
|
3024
|
+
to as OraculoSeccionEventoCombinadas,
|
|
3025
|
+
ao as OraculoSeccionEventoEnVivo,
|
|
3026
|
+
uo as OraculoSeccionEventoSemana,
|
|
3027
|
+
ho as OraculoSeccionMediosPago,
|
|
3028
|
+
Ut as OraculoSeccionTopJuegos,
|
|
3029
|
+
Jt as OraculoSeccionVirtuales,
|
|
3030
|
+
q as OraculoSectionTitle,
|
|
3031
|
+
Ut as OraculoTopJuegoItem,
|
|
3032
|
+
xe as OraculoWelcomeBanner,
|
|
3033
|
+
Bo as default
|
|
3024
3034
|
};
|
|
3025
3035
|
//# sourceMappingURL=index.es.js.map
|