oraculo-ui 0.2.59 → 0.2.61
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 +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1001 -994
- package/dist/index.es.js.map +1 -1
- package/dist/utils/popularityEvents.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { Link as
|
|
3
|
-
import ve, { useState as ee, useEffect as re, useRef as Z, forwardRef as
|
|
1
|
+
import { jsx as t, jsxs as b, Fragment as te } from "react/jsx-runtime";
|
|
2
|
+
import { Link as bt, Box as le, useMediaQuery as Xe, IconButton as Ye, Typography as _t, Stack as Re, Container as Lt } from "@mui/material";
|
|
3
|
+
import ve, { useState as ee, useEffect as re, useRef as Z, forwardRef as Rt, useImperativeHandle as Pt, useCallback as Pe, createContext as Ft, useContext as zt, useMemo as de, useLayoutEffect as Ut } from "react";
|
|
4
4
|
import X from "@mui/material/Skeleton";
|
|
5
|
-
import { Splide as
|
|
5
|
+
import { Splide as qt, SplideSlide as Wt } from "@splidejs/react-splide";
|
|
6
6
|
import U from "@mui/material/Box";
|
|
7
7
|
import he from "@mui/material/Typography";
|
|
8
8
|
import Q from "@mui/material/Stack";
|
|
9
9
|
import { useCaptureInteraction as se } from "@olimpo/capture-client";
|
|
10
|
-
import { ChevronLeftRounded as De, ChevronRightRounded as
|
|
10
|
+
import { ChevronLeftRounded as De, ChevronRightRounded as He } from "@mui/icons-material";
|
|
11
11
|
import Ne from "@mui/material/useMediaQuery";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { useTheme as
|
|
12
|
+
import vt from "@mui/icons-material/ChevronLeftRounded";
|
|
13
|
+
import yt from "@mui/icons-material/ChevronRightRounded";
|
|
14
|
+
import { useTheme as Vt, createTheme as Dt, ThemeProvider as Ht } from "@mui/material/styles";
|
|
15
15
|
import Gt from "@mui/material/CssBaseline";
|
|
16
|
-
import { onSnapshot as
|
|
16
|
+
import { onSnapshot as Zt, doc as jt } from "firebase/firestore";
|
|
17
17
|
function ae({
|
|
18
18
|
children: e,
|
|
19
19
|
onClick: a,
|
|
20
20
|
href: n,
|
|
21
21
|
target: o,
|
|
22
22
|
rel: i,
|
|
23
|
-
type:
|
|
24
|
-
disabled:
|
|
23
|
+
type: l = "button",
|
|
24
|
+
disabled: s = !1,
|
|
25
25
|
variant: c = "primary",
|
|
26
|
-
size:
|
|
27
|
-
fullWidth:
|
|
26
|
+
size: g,
|
|
27
|
+
fullWidth: f = !1,
|
|
28
28
|
fullHeight: m = !1,
|
|
29
29
|
className: d = "",
|
|
30
30
|
ariaLabel: u,
|
|
31
|
-
leftIcon:
|
|
31
|
+
leftIcon: _,
|
|
32
32
|
rightIcon: x,
|
|
33
33
|
iconOnly: v
|
|
34
34
|
}) {
|
|
35
|
-
const S = !!e && e !== !0,
|
|
35
|
+
const S = !!e && e !== !0, h = (!!_ ? 1 : 0) + (!!x ? 1 : 0) == 1, C = v != null ? v : h && !S, O = [
|
|
36
36
|
"orc-btn",
|
|
37
37
|
c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
g ? `orc-btn--${g}` : "",
|
|
39
|
+
f ? "orc-btn--full" : "",
|
|
40
40
|
m ? "orc-btn--fullHeight" : "",
|
|
41
41
|
C ? "orc-btn--iconOnly" : "",
|
|
42
42
|
d
|
|
43
|
-
].filter(Boolean).join(" "), w = /* @__PURE__ */
|
|
44
|
-
|
|
43
|
+
].filter(Boolean).join(" "), w = /* @__PURE__ */ b(te, { children: [
|
|
44
|
+
_ && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: _ }),
|
|
45
45
|
!C && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
|
|
46
46
|
x && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: x })
|
|
47
|
-
] }), L =
|
|
47
|
+
] }), L = s ? !0 : void 0;
|
|
48
48
|
return n ? /* @__PURE__ */ t(
|
|
49
|
-
|
|
49
|
+
bt,
|
|
50
50
|
{
|
|
51
51
|
href: n,
|
|
52
52
|
target: o,
|
|
@@ -61,7 +61,7 @@ function ae({
|
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
62
62
|
"button",
|
|
63
63
|
{
|
|
64
|
-
type:
|
|
64
|
+
type: l,
|
|
65
65
|
onClick: a,
|
|
66
66
|
disabled: !!L,
|
|
67
67
|
"aria-label": u,
|
|
@@ -76,12 +76,12 @@ function ye({
|
|
|
76
76
|
size: n = "md",
|
|
77
77
|
className: o = ""
|
|
78
78
|
}) {
|
|
79
|
-
const
|
|
79
|
+
const l = [
|
|
80
80
|
"orc-section-title",
|
|
81
81
|
n ? `orc-section-title--${n}` : "",
|
|
82
82
|
o
|
|
83
83
|
].filter(Boolean).join(" ");
|
|
84
|
-
return /* @__PURE__ */
|
|
84
|
+
return /* @__PURE__ */ b("div", { className: l, children: [
|
|
85
85
|
a && /* @__PURE__ */ t(
|
|
86
86
|
"img",
|
|
87
87
|
{
|
|
@@ -93,7 +93,7 @@ function ye({
|
|
|
93
93
|
/* @__PURE__ */ t("h2", { className: "orc-section-title__title", children: e })
|
|
94
94
|
] });
|
|
95
95
|
}
|
|
96
|
-
const
|
|
96
|
+
const xt = ({
|
|
97
97
|
total: e,
|
|
98
98
|
active: a,
|
|
99
99
|
onSelect: n,
|
|
@@ -101,28 +101,28 @@ const yt = ({
|
|
|
101
101
|
durationMs: i = 5e3
|
|
102
102
|
}) => {
|
|
103
103
|
if (e <= 1) return null;
|
|
104
|
-
const
|
|
104
|
+
const l = ["orc-dots", o].filter(Boolean).join(" "), [s, c] = ee(0);
|
|
105
105
|
return re(() => {
|
|
106
|
-
c((
|
|
107
|
-
}, [a, i]), /* @__PURE__ */ t("div", { className:
|
|
108
|
-
const m =
|
|
106
|
+
c((g) => g + 1);
|
|
107
|
+
}, [a, i]), /* @__PURE__ */ t("div", { className: l, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((g, f) => {
|
|
108
|
+
const m = f === a;
|
|
109
109
|
return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
|
|
110
110
|
"button",
|
|
111
111
|
{
|
|
112
112
|
type: "button",
|
|
113
113
|
role: "tab",
|
|
114
114
|
"aria-selected": m,
|
|
115
|
-
"aria-label": `Ir al slide ${
|
|
115
|
+
"aria-label": `Ir al slide ${f + 1}`,
|
|
116
116
|
className: "orc-dots__dot" + (m ? " orc-dots__dot--active" : ""),
|
|
117
117
|
style: m ? {
|
|
118
118
|
"--dot-progress-ms": `${i}ms`
|
|
119
119
|
} : void 0,
|
|
120
120
|
onClick: () => {
|
|
121
|
-
m && c((d) => d + 1), n == null || n(
|
|
121
|
+
m && c((d) => d + 1), n == null || n(f);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
m ? `a-${
|
|
125
|
-
) },
|
|
124
|
+
m ? `a-${f}-${s}` : `i-${f}`
|
|
125
|
+
) }, f);
|
|
126
126
|
}) });
|
|
127
127
|
};
|
|
128
128
|
function me({
|
|
@@ -132,22 +132,22 @@ function me({
|
|
|
132
132
|
justify: o = "stretch",
|
|
133
133
|
columns: i = null
|
|
134
134
|
}) {
|
|
135
|
-
const
|
|
135
|
+
const l = i || `repeat(auto-fit, minmax(${a}px, 1fr))`, s = typeof n == "number" ? `${n * 8}px` : n;
|
|
136
136
|
return /* @__PURE__ */ t(
|
|
137
137
|
"div",
|
|
138
138
|
{
|
|
139
139
|
style: {
|
|
140
140
|
display: "grid",
|
|
141
|
-
gridTemplateColumns:
|
|
141
|
+
gridTemplateColumns: l,
|
|
142
142
|
justifyItems: o,
|
|
143
|
-
gap:
|
|
143
|
+
gap: s,
|
|
144
144
|
height: "inherit"
|
|
145
145
|
},
|
|
146
146
|
children: e
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function et({ src: e, alt: a }) {
|
|
151
151
|
return /* @__PURE__ */ t(
|
|
152
152
|
le,
|
|
153
153
|
{
|
|
@@ -178,24 +178,24 @@ function Ye({ src: e, alt: a }) {
|
|
|
178
178
|
}
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
182
|
-
contenedor:
|
|
183
|
-
title:
|
|
184
|
-
flexGroup:
|
|
185
|
-
subtitleWrapper:
|
|
186
|
-
track:
|
|
187
|
-
subtitle:
|
|
188
|
-
animateTrack:
|
|
181
|
+
const Kt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Jt = "oraculo__OraculoEventTitle-module__title___Q6S-4", Xt = "oraculo__OraculoEventTitle-module__flexGroup___jMLFO", Qt = "oraculo__OraculoEventTitle-module__subtitleWrapper___1HJcd", Yt = "oraculo__OraculoEventTitle-module__track___-vJ3k", ea = "oraculo__OraculoEventTitle-module__subtitle___TmHna", ta = "oraculo__OraculoEventTitle-module__animateTrack___Pwx4N", be = {
|
|
182
|
+
contenedor: Kt,
|
|
183
|
+
title: Jt,
|
|
184
|
+
flexGroup: Xt,
|
|
185
|
+
subtitleWrapper: Qt,
|
|
186
|
+
track: Yt,
|
|
187
|
+
subtitle: ea,
|
|
188
|
+
animateTrack: ta
|
|
189
189
|
};
|
|
190
|
-
function
|
|
190
|
+
function aa({
|
|
191
191
|
title: e,
|
|
192
192
|
subtitle: a,
|
|
193
193
|
maxSubtitleChars: n = 25
|
|
194
194
|
}) {
|
|
195
195
|
const o = !!(a && a.length >= n);
|
|
196
|
-
return /* @__PURE__ */
|
|
196
|
+
return /* @__PURE__ */ b("div", { className: be.contenedor, children: [
|
|
197
197
|
/* @__PURE__ */ t("span", { className: be.title, children: e }),
|
|
198
|
-
a && /* @__PURE__ */
|
|
198
|
+
a && /* @__PURE__ */ b("div", { className: be.flexGroup, children: [
|
|
199
199
|
/* @__PURE__ */ t(
|
|
200
200
|
"svg",
|
|
201
201
|
{
|
|
@@ -207,14 +207,14 @@ function ta({
|
|
|
207
207
|
children: /* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" })
|
|
208
208
|
}
|
|
209
209
|
),
|
|
210
|
-
/* @__PURE__ */ t("div", { className: be.subtitleWrapper, children: /* @__PURE__ */
|
|
210
|
+
/* @__PURE__ */ t("div", { className: be.subtitleWrapper, children: /* @__PURE__ */ b("div", { className: `${be.track} ${o ? be.animateTrack : ""}`, children: [
|
|
211
211
|
/* @__PURE__ */ t("span", { className: be.subtitle, children: a }),
|
|
212
212
|
o && /* @__PURE__ */ t("span", { className: be.subtitle, "aria-hidden": "true", children: a })
|
|
213
213
|
] }) })
|
|
214
214
|
] })
|
|
215
215
|
] });
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function na({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
218
218
|
return /* @__PURE__ */ t(
|
|
219
219
|
"span",
|
|
220
220
|
{
|
|
@@ -235,20 +235,20 @@ function aa({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
|
235
235
|
}
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
return /* @__PURE__ */
|
|
240
|
-
e && /* @__PURE__ */ t(
|
|
241
|
-
(a || n) && /* @__PURE__ */
|
|
238
|
+
function oa({ live: e, time: a, extra: n }) {
|
|
239
|
+
return /* @__PURE__ */ b("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
240
|
+
e && /* @__PURE__ */ t(na, { text: "En vivo" }),
|
|
241
|
+
(a || n) && /* @__PURE__ */ b("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
242
242
|
a && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "20px" }, children: a }),
|
|
243
|
-
n && /* @__PURE__ */
|
|
243
|
+
n && /* @__PURE__ */ b("span", { style: { fontSize: "14px", fontWeight: 700, lineHeight: "20px", color: "#9EE86E", display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
244
244
|
/* @__PURE__ */ t("svg", { width: "4", height: "4", viewBox: "0 0 4 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("circle", { cx: "2", cy: "2", r: "2", fill: "#9EE86E" }) }),
|
|
245
245
|
n
|
|
246
246
|
] })
|
|
247
247
|
] })
|
|
248
248
|
] });
|
|
249
249
|
}
|
|
250
|
-
function
|
|
251
|
-
return /* @__PURE__ */
|
|
250
|
+
function ra({ title: e, subtitle: a, live: n = !1, time: o = "", extra: i = "" }) {
|
|
251
|
+
return /* @__PURE__ */ b(
|
|
252
252
|
"div",
|
|
253
253
|
{
|
|
254
254
|
style: {
|
|
@@ -259,34 +259,34 @@ function oa({ title: e, subtitle: a, live: n = !1, time: o = "", extra: i = "" }
|
|
|
259
259
|
gap: "5px"
|
|
260
260
|
},
|
|
261
261
|
children: [
|
|
262
|
-
/* @__PURE__ */ t(
|
|
263
|
-
/* @__PURE__ */ t(
|
|
262
|
+
/* @__PURE__ */ t(aa, { title: e, subtitle: a, maxSubtitleChars: i ? 15 : 24 }),
|
|
263
|
+
/* @__PURE__ */ t(oa, { live: n, time: o, extra: i })
|
|
264
264
|
]
|
|
265
265
|
}
|
|
266
266
|
);
|
|
267
267
|
}
|
|
268
|
-
const
|
|
269
|
-
label:
|
|
268
|
+
const ia = "oraculo__OraculoEventLabel-module__label___c64Xw", la = {
|
|
269
|
+
label: ia
|
|
270
270
|
};
|
|
271
|
-
function
|
|
272
|
-
return /* @__PURE__ */ t("span", { className:
|
|
271
|
+
function Je({ text: e }) {
|
|
272
|
+
return /* @__PURE__ */ t("span", { className: la.label, children: e });
|
|
273
273
|
}
|
|
274
|
-
const
|
|
275
|
-
container:
|
|
274
|
+
const sa = "oraculo__OraculoEventLeague-module__container___rdk4F", ca = {
|
|
275
|
+
container: sa
|
|
276
276
|
};
|
|
277
|
-
function
|
|
278
|
-
return /* @__PURE__ */ t("div", { className:
|
|
277
|
+
function St({ title: e }) {
|
|
278
|
+
return /* @__PURE__ */ t("div", { className: ca.container, children: e.toUpperCase() });
|
|
279
279
|
}
|
|
280
|
-
const
|
|
281
|
-
scoreWrapper:
|
|
282
|
-
name:
|
|
283
|
-
score:
|
|
284
|
-
normal:
|
|
285
|
-
small:
|
|
286
|
-
basketball:
|
|
280
|
+
const da = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", ua = "oraculo__OraculoEventScore-module__name___r4uL6", ma = "oraculo__OraculoEventScore-module__score___Xl03M", pa = "oraculo__OraculoEventScore-module__normal___cCNFz", fa = "oraculo__OraculoEventScore-module__small___fVt8E", ga = "oraculo__OraculoEventScore-module__basketball___vx8Wa", Ee = {
|
|
281
|
+
scoreWrapper: da,
|
|
282
|
+
name: ua,
|
|
283
|
+
score: ma,
|
|
284
|
+
normal: pa,
|
|
285
|
+
small: fa,
|
|
286
|
+
basketball: ga
|
|
287
287
|
};
|
|
288
|
-
function
|
|
289
|
-
return /* @__PURE__ */
|
|
288
|
+
function wt({ text: e, name: a, size: n = "normal" }) {
|
|
289
|
+
return /* @__PURE__ */ b(
|
|
290
290
|
"div",
|
|
291
291
|
{
|
|
292
292
|
className: `${Ee.scoreWrapper} ${Ee[n]}`,
|
|
@@ -297,22 +297,22 @@ function St({ text: e, name: a, size: n = "normal" }) {
|
|
|
297
297
|
}
|
|
298
298
|
);
|
|
299
299
|
}
|
|
300
|
-
const
|
|
301
|
-
team:
|
|
302
|
-
regular:
|
|
303
|
-
compact:
|
|
304
|
-
logo:
|
|
305
|
-
name:
|
|
306
|
-
skeleton:
|
|
307
|
-
},
|
|
308
|
-
polo:
|
|
309
|
-
svgWrapper:
|
|
310
|
-
flagImage:
|
|
311
|
-
shadow:
|
|
312
|
-
highlight:
|
|
300
|
+
const ha = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ba = "oraculo__OraculoEventTeamInfo-module__regular___ag826", _a = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", va = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", ya = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", xa = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", Ce = {
|
|
301
|
+
team: ha,
|
|
302
|
+
regular: ba,
|
|
303
|
+
compact: _a,
|
|
304
|
+
logo: va,
|
|
305
|
+
name: ya,
|
|
306
|
+
skeleton: xa
|
|
307
|
+
}, Sa = "oraculo__OraculoTeamPolo-module__polo___BisRg", wa = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", Oa = "oraculo__OraculoTeamPolo-module__flagImage___BPR6h", Ia = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", Ta = "oraculo__OraculoTeamPolo-module__highlight___1etm7", _e = {
|
|
308
|
+
polo: Sa,
|
|
309
|
+
svgWrapper: wa,
|
|
310
|
+
flagImage: Oa,
|
|
311
|
+
shadow: Ia,
|
|
312
|
+
highlight: Ta
|
|
313
313
|
};
|
|
314
|
-
function
|
|
315
|
-
return /* @__PURE__ */
|
|
314
|
+
function tt({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
315
|
+
return /* @__PURE__ */ b(te, { children: [
|
|
316
316
|
/* @__PURE__ */ t(
|
|
317
317
|
"path",
|
|
318
318
|
{
|
|
@@ -320,7 +320,7 @@ function et({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
320
320
|
d: "m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8l-5-12.3-1.9-3.8-1.8-1.6.1-.8v-1l-.4-1.8-1.3-4.1-3.3-9-1.3-2-2.2-5.7-2.5-.3-1 .8v2l-2.7 13.1-8.7 58-.9 6.4-.2 7.9c0 3-1 16-1.7 18.3l-2.5 9-.2 7.6-.3 8.7-.3 7.5.3 4 .5 15c.3 1.9-.6 7-1.1 9.3-.6 2.4-1.6 7.5-1.4 8.8.3 1.4-.2 4.4-.5 5.8l-1.3 8.9c-.2 1.4-.8 5-1.3 7.2.7 1.6 4.7 14.6 5.9 17.8 1.2 3.3 4.8 19.4 5 20.7.3 1 1.1 7.8 1.5 11 .1 2.5.3 8 .2 10 0 2-.8 6.6-1.1 8.6-.2 1.7-.7 5.5-1.2 7s-1.2 8.5-1.4 11.8A81.1 81.1 0 0 1 477 552l.3 7.1.2 6.5 1.4 17.7.5 6 1.5 7.7.4 4.6c.3 2.1.7 7 .7 10.1.3 3-2.5 6-4 7 0 .2-1.2 1-4.6 3-6.4 5-26.3 11.6-35.5 14.3a379.2 379.2 0 0 1-58.6 11.2c-2.3.8-27 2.2-39 2.7-8.3 0-27 0-34.5-.4-11.5.9-47.4-4.8-63.9-7.7-6.3-.9-42.1-10.4-48-14.4-3.7-2.4-14.3-8-16.9-9.7a10.7 10.7 0 0 1-4.1-5.4c-.3-1 .1-8.6.4-12.3l.6-5 1.4-9.6 1-8 .3-4.3-.4-7.7-1-10.8v-13.8l.7-10 1.1-7.7 1.8-8 2.8-9.5 3.3-9.3a78 78 0 0 1-2.5-20.8 1112.2 1112.2 0 0 1 .6-14.1c-.1-.7 2.1-10.2 3.3-15l1-3.8-.1-.8c-1.4-8.3-1.5-14-1.9-15.4a78 78 0 0 1 .4-10.9l2-6.7.4-2-.4-1.5a67.6 67.6 0 0 1-7.3-27l-.2-7.7.5-5.4.3-1.5.4-3.9.7-5 .2-2.2-.2-.4-.3-6-1-3.1-.3-4-.7-7.6-1.5-8.3-.8-4.2-1.4-9.2-.4-4.3L172 279l-2.2-14.6a545 545 0 0 1-1.7-8.5c-.1-1-2-2.1-3-2.6 0 .6-.6 1.5-1.7 2-1.2.7-2.4 1.3-2.7 2.2l-.8 4.7a15 15 0 0 1-2.5 4.1 16.4 16.4 0 0 0-2.6 6.3l-.3 2.4v1.3l-1.4 1.1-.3.3-6 14.5c-.7 2.3-1.3 1.8-1.9 1.5l-10.5-3.1-9-3-18.3-6-20-6.8-13-4.8c-2.1-1-7-3-9.4-3.8-2.5-.8-3-1.3-2.8-1.4Z"
|
|
321
321
|
}
|
|
322
322
|
),
|
|
323
|
-
n && /* @__PURE__ */
|
|
323
|
+
n && /* @__PURE__ */ b(te, { children: [
|
|
324
324
|
/* @__PURE__ */ t("path", { fill: n, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
325
325
|
/* @__PURE__ */ t("path", { fill: n, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
326
326
|
] }),
|
|
@@ -349,8 +349,8 @@ function et({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
349
349
|
)
|
|
350
350
|
] });
|
|
351
351
|
}
|
|
352
|
-
function
|
|
353
|
-
return /* @__PURE__ */
|
|
352
|
+
function at({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
353
|
+
return /* @__PURE__ */ b(te, { children: [
|
|
354
354
|
/* @__PURE__ */ t(
|
|
355
355
|
"path",
|
|
356
356
|
{
|
|
@@ -358,7 +358,7 @@ function tt({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
358
358
|
d: "m342 8.1-29-.2h-2.3c-5.2 0-19.7.9-26.6 2.6a55 55 0 0 0-11.8 3.5c-6 2.4-16.4 10.7-20.9 14.6l-2.3 1.3-6.5 3.6L236 37l-8.4 4.4-14 6.5-14 5.2-10.1 3.3-12.5 4-10.4 3.7a81.5 81.5 0 0 0-25.3 15.5c-.9 1-3 3.7-5 5.9-2 2.1-7.9 12.5-10.5 17.4l-5.1 12.2-4.4 13.5-3.2 11.8-3.2 15.7-2.1 15.2-2.6 22-1.5 10.9-1.8 11-1.3 6.3-1.4 6-.3 3.3-.5.8-3.1 14c-.5 3.3.7 3.6 1.7 4l2.9.8 7 1.3 12.5 2.3 10.7 2 16 2.3 14.5 1.6 11 .2c8.3.2 8.6-2.8 8.8-5.4l.4-.2 1.3 13.9 1.8 14.7 2.4 15.5 1 8.3 1.8 9.7a326 326 0 0 1 2.8 20.3l-.2 7.7c-.4 5 .4 11.1 2.6 13.7v5.5l-.2 9.5-.3 8.8-.3 6.2v10l.2 7.5.3 5.8V424c-.1.5-.2 2-.2 4.5-.8 1-2.4 10.8-3 15.6l-.7 6-.4 3.6V474l-.2 6.9-1 5.8-.6 4.3-.5 3-1.5 3.5-2.6 6.7-2.6 7.4-2.6 8.7-4.7 17-2 8-1.4 4.4-2.2 9.2-1.7 6.4-5 14.5-1.9 5.7-1.9 7-1.2 2-3.5 11-.8 2.8v1l3 2.3 2.5 2.5c3.5 3.6 9.1 7.8 15 8.7l1.7 1.1c9 7 22.8 20.1 63.6 24.3l15.6 1.8 29.6 1.7 35 .5 38-.6L389 650c15-.3 62.3-4 78.6-13.8 5.7-1.4 21.6-15.3 28.8-22 5.5-4.3 4-5 3.5-7.3a249 249 0 0 0-2.2-10.5c-1-1-1.7-4.9-1.8-6.7l-1.5-4.1-3.2-12.3a391 391 0 0 1-1.8-7c.4-.8-1-6.7-1.6-9.6l-1.2-3.5-2.4-10.7-6.6-20.8-4.8-11.6-.7-6.2c-.1-2.3-.5-8.7-.6-15.7 0-7-4.9-31-7.3-42l-2.6-8.6v-1.9l-.3-9v-6.3l.3-8 .3-4.1v-9l-.2-12.2-.6-9.4-.6-7.3-.8-6.9.5-10.3c1.7-1.2 2.3-9.1 2.3-13l.5-6.7 1.1-6 4-22.8 1.3-9 1.3-5.4.4-4.2 2-15.3 1.2-12.2.7-11.6.4-4 1 10.5c.2 3.1 1.5 7 4.7 7.4 2.6.4 9.7 0 12.9-.4l15.5-1.9 46.3-8c6.4-.1 4.6-2.9 4.2-6.4l-1.2-4.9-2-7.5-3.3-14.5-4-26.4-3-25.1a215 215 0 0 0-7.2-35.6c-1.2-4.5-11-35-24-48a103.8 103.8 0 0 0-34-20 566 566 0 0 0-23.8-8.2c-10.1-1.3-40.2-17.6-54-25.6C387.4 13 374.6 8.1 341.9 8.1Z"
|
|
359
359
|
}
|
|
360
360
|
),
|
|
361
|
-
n && /* @__PURE__ */
|
|
361
|
+
n && /* @__PURE__ */ b(te, { children: [
|
|
362
362
|
/* @__PURE__ */ t("path", { fill: n, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
363
363
|
/* @__PURE__ */ t("path", { fill: n, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
364
364
|
] }),
|
|
@@ -387,8 +387,8 @@ function tt({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
387
387
|
)
|
|
388
388
|
] });
|
|
389
389
|
}
|
|
390
|
-
function
|
|
391
|
-
return /* @__PURE__ */
|
|
390
|
+
function Ea({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
391
|
+
return /* @__PURE__ */ b(te, { children: [
|
|
392
392
|
/* @__PURE__ */ t(
|
|
393
393
|
"path",
|
|
394
394
|
{
|
|
@@ -396,7 +396,7 @@ function Ta({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
396
396
|
d: "m249.3 24.4-9.4-7.1c0-.1-.6-.6-1.7-1.3-1.1-.7-3.7-.4-4.8-.2l-4.8 2.6-2 2.9-8.7 4.4-7.7 2H198c.2-.5-.8-1.2-1.3-1.5a15 15 0 0 0-5.2 0c-3.7.3-6.6 8.3-7.5 12.2L179 59.2 171 86.1l-8.2 26.8c-1.3 6-4.3 19.8-5.9 26.3-2.4 6-3.1 20.4-3.2 26.8l-1 25.6-1 17.6c-2.7 3.9-1 5-.4 6.6-.3 1.5 1.8 3 2.6 2.8l2.7 9.3-1.3 12.1c-.5 5.5 1 16.9 1.8 21.8l3.2 14 4.4 18.5 2.4 12.9 2.2 11.6 2.4 11.3v7.5c.1.3-.4 2-3.2 6.2a47 47 0 0 0-4.8 15.8s-.6.4-1.8 3.1c-2.5 5 2.2 17 4.8 22.4 0 1.6-.3 6.6-1 13.8-3.5 1.2-5 8.5-5.3 12-.3 3.4-1 10.8-1 13.2 0 2.4.9 10.3 1.3 14 .5 1.3 1.4 4.6 1.6 6.2.3 1.6 1.9 5.4 2.6 7.1.4.7 1.2 2.7 1.6 5.6-1 1.5-3.4 11-4.5 15.5l-2.4 10-1.9 8.5-1.8 7.8-2.8 11-3 12.9-3 10.4-4 15.2-3 12-2.3 8.1-1.3 6.7-2.3 11.2-2 12.8-2.5 8c-1.1.3-.7 1.4-.4 2l-.6 1.8c-1 .2-.9 1.1-.7 1.6-.5.7-2 3.2-4 7.3-2 4 .8 6.7 2.5 7.5l5.5 2.4 6 2.1 8.1 2.8 12.2 2.4 15.1 2.2 19.7 2.2 24 1.8 80.4 1.8 76.4-1 36-.8 51.6-3.9c7-.5 47-4.3 61.4-12.5 4.5-1.8 10.5-6.1 6.8-11.7a245 245 0 0 1-4.7-5.7c.8-.8 0-1.6-.6-2-.4-.2-1-.8-.8-1.3.2-.6-.6-1.6-1.1-2l-1.6-4.2-5.3-18-8.5-27.9-5-18.4-5.5-19.8-5.6-23.4-3-12.6-2.3-8.3c-.8-2.5-2.4-8-3.3-10.2 1.7-1 7-14.2 9.6-20.6 1.8-8.9 1.9-14.3 1.9-21.2a44 44 0 0 0-5.8-17.8l-3.5-12.5-1.3-5.7a64.4 64.4 0 0 0 7.5-18.7c1.6-8 .7-12.1 0-13.2-.6-.1-1.6-.7-1-1.7.7-1 .3-5.9 0-8.2l-3-12.5-2.4-8 2.4-11.7 2.3-13.2 2.6-11 4.2-14.7 2.4-12.8.6-10.4-.6-12.2-.2-9.7 2-6.4c2.7.4 2.8-1.4 2.8-3 1.6-2.2.6-5.1 0-6.7v-3.8l-.4-5-1.5-13.3v-20c-.1-2.3-1.1-17.4-1.6-19.3 0-1.3-2.9-15.7-4.3-22.7L494 121l-4-15-3-10.7-3.7-12.1-2.8-8.8-2.7-10.2-2.6-9.6-2.8-11.7c-.6-6-3.9-16-8.6-17l-.6 1H462c-.3-.9-1.8-1.2-2.6-1.2-.6.2-2 1-2.6 2.1-5.7 1-12.6-.3-15.4-1l-4.2-1.2-3.5-1.7c-.7-.5-2.5-1.5-3.9-2.1-2-3-4.2-3.8-5.1-3.9l-.8-.6-1.4-1-2-.5-1.8.8-.7.1-1 .2-1.3.9-4.5 3.6-4.4 3.5-7.1 5-7 4.5-6.3 3.7-8.2 4.1-7.8 3.6-5.6 2.3-6.3 2.2-6.8 2-8 1.5-6 .8-4.4.3h-14.1l-2.6-.3-7.7-1-12-3.3-9.5-3.3c-4.3-2-13.2-6.2-15-7.3-2-.4-12.3-7.4-17.3-10.8l-5.7-4.5Z"
|
|
397
397
|
}
|
|
398
398
|
),
|
|
399
|
-
n && /* @__PURE__ */
|
|
399
|
+
n && /* @__PURE__ */ b(te, { children: [
|
|
400
400
|
/* @__PURE__ */ t("path", { fill: n, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
401
401
|
/* @__PURE__ */ t("path", { fill: n, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
402
402
|
] }),
|
|
@@ -411,8 +411,8 @@ function Ta({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
411
411
|
)
|
|
412
412
|
] });
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
return /* @__PURE__ */
|
|
414
|
+
function Ca({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
415
|
+
return /* @__PURE__ */ b(te, { children: [
|
|
416
416
|
/* @__PURE__ */ t(
|
|
417
417
|
"path",
|
|
418
418
|
{
|
|
@@ -420,7 +420,7 @@ function Ea({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
420
420
|
d: "m249.3 24.4-9.4-7.1c0-.1-.6-.6-1.7-1.3-1.1-.7-3.7-.4-4.8-.2l-4.8 2.6-2 2.9-8.7 4.4-7.7 2H198c.2-.5-.8-1.2-1.3-1.5a15 15 0 0 0-5.2 0c-3.7.3-6.6 8.3-7.5 12.2L179 59.2 171 86.1l-8.2 26.8c-1.3 6-4.3 19.8-5.9 26.3-2.4 6-3.1 20.4-3.2 26.8l-1 25.6-1 17.6c-2.7 3.9-1 5-.4 6.6-.3 1.5 1.8 3 2.6 2.8l2.7 9.3-1.3 12.1c-.5 5.5 1 16.9 1.8 21.8l3.2 14 4.4 18.5 2.4 12.9 2.2 11.6 2.4 11.3v7.5c.1.3-.4 2-3.2 6.2a47 47 0 0 0-4.8 15.8s-.6.4-1.8 3.1c-2.5 5 2.2 17 4.8 22.4 0 1.6-.3 6.6-1 13.8-3.5 1.2-5 8.5-5.3 12-.3 3.4-1 10.8-1 13.2 0 2.4.9 10.3 1.3 14 .5 1.3 1.4 4.6 1.6 6.2.3 1.6 1.9 5.4 2.6 7.1.4.7 1.2 2.7 1.6 5.6-1 1.5-3.4 11-4.5 15.5l-2.4 10-1.9 8.5-1.8 7.8-2.8 11-3 12.9-3 10.4-4 15.2-3 12-2.3 8.1-1.3 6.7-2.3 11.2-2 12.8-2.5 8c-1.1.3-.7 1.4-.4 2l-.6 1.8c-1 .2-.9 1.1-.7 1.6-.5.7-2 3.2-4 7.3-2 4 .8 6.7 2.5 7.5l5.5 2.4 6 2.1 8.1 2.8 12.2 2.4 15.1 2.2 19.7 2.2 24 1.8 80.4 1.8 76.4-1 36-.8 51.6-3.9c7-.5 47-4.3 61.4-12.5 4.5-1.8 10.5-6.1 6.8-11.7a245 245 0 0 1-4.7-5.7c.8-.8 0-1.6-.6-2-.4-.2-1-.8-.8-1.3.2-.6-.6-1.6-1.1-2l-1.6-4.2-5.3-18-8.5-27.9-5-18.4-5.5-19.8-5.6-23.4-3-12.6-2.3-8.3c-.8-2.5-2.4-8-3.3-10.2 1.7-1 7-14.2 9.6-20.6 1.8-8.9 1.9-14.3 1.9-21.2a44 44 0 0 0-5.8-17.8l-3.5-12.5-1.3-5.7a64.4 64.4 0 0 0 7.5-18.7c1.6-8 .7-12.1 0-13.2-.6-.1-1.6-.7-1-1.7.7-1 .3-5.9 0-8.2l-3-12.5-2.4-8 2.4-11.7 2.3-13.2 2.6-11 4.2-14.7 2.4-12.8.6-10.4-.6-12.2-.2-9.7 2-6.4c2.7.4 2.8-1.4 2.8-3 1.6-2.2.6-5.1 0-6.7v-3.8l-.4-5-1.5-13.3v-20c-.1-2.3-1.1-17.4-1.6-19.3 0-1.3-2.9-15.7-4.3-22.7L494 121l-4-15-3-10.7-3.7-12.1-2.8-8.8-2.7-10.2-2.6-9.6-2.8-11.7c-.6-6-3.9-16-8.6-17l-.6 1H462c-.3-.9-1.8-1.2-2.6-1.2-.6.2-2 1-2.6 2.1-5.7 1-12.6-.3-15.4-1l-4.2-1.2-3.5-1.7c-.7-.5-2.5-1.5-3.9-2.1-2-3-4.2-3.8-5.1-3.9l-.8-.6-1.4-1-2-.5-1.8.8-.7.1-1 .2-1.3.9-4.5 3.6-4.4 3.5-7.1 5-7 4.5-6.3 3.7-8.2 4.1-7.8 3.6-5.6 2.3-6.3 2.2-6.8 2-8 1.5-6 .8-4.4.3h-14.1l-2.6-.3-7.7-1-12-3.3-9.5-3.3c-4.3-2-13.2-6.2-15-7.3-2-.4-12.3-7.4-17.3-10.8l-5.7-4.5Z"
|
|
421
421
|
}
|
|
422
422
|
),
|
|
423
|
-
n && /* @__PURE__ */
|
|
423
|
+
n && /* @__PURE__ */ b(te, { children: [
|
|
424
424
|
/* @__PURE__ */ t("path", { fill: n, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
425
425
|
/* @__PURE__ */ t("path", { fill: n, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
426
426
|
] }),
|
|
@@ -435,15 +435,15 @@ function Ea({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
435
435
|
)
|
|
436
436
|
] });
|
|
437
437
|
}
|
|
438
|
-
const
|
|
438
|
+
const nt = {
|
|
439
439
|
FOOTBALL: {
|
|
440
440
|
men: {
|
|
441
|
-
pathsComponent:
|
|
441
|
+
pathsComponent: tt,
|
|
442
442
|
shadowUrl: "https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",
|
|
443
443
|
highlightUrl: "https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png"
|
|
444
444
|
},
|
|
445
445
|
women: {
|
|
446
|
-
pathsComponent:
|
|
446
|
+
pathsComponent: at,
|
|
447
447
|
shadowUrl: "https://widgets.sir.sportradar.com/assets/media/shadow.01b6dc75.png",
|
|
448
448
|
highlightUrl: "https://widgets.sir.sportradar.com/assets/media/highlight.9f351041.png"
|
|
449
449
|
}
|
|
@@ -451,51 +451,51 @@ const at = {
|
|
|
451
451
|
TENNIS: {
|
|
452
452
|
// Se ignora porque si es tenis muestra pais
|
|
453
453
|
men: {
|
|
454
|
-
pathsComponent:
|
|
454
|
+
pathsComponent: tt,
|
|
455
455
|
shadowUrl: "https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",
|
|
456
456
|
highlightUrl: "https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png"
|
|
457
457
|
},
|
|
458
458
|
women: {
|
|
459
|
-
pathsComponent:
|
|
459
|
+
pathsComponent: at,
|
|
460
460
|
shadowUrl: "https://widgets.sir.sportradar.com/assets/media/shadow.01b6dc75.png",
|
|
461
461
|
highlightUrl: "https://widgets.sir.sportradar.com/assets/media/highlight.9f351041.png"
|
|
462
462
|
}
|
|
463
463
|
},
|
|
464
464
|
BASKETBALL: {
|
|
465
465
|
men: {
|
|
466
|
-
pathsComponent:
|
|
466
|
+
pathsComponent: Ea,
|
|
467
467
|
shadowUrl: "https://widgets.sir.sportradar.com/assets/media/shadow.d2a2ff52.png",
|
|
468
468
|
highlightUrl: "https://widgets.sir.sportradar.com/assets/media/highlight.7fdbab3c.png"
|
|
469
469
|
},
|
|
470
470
|
women: {
|
|
471
|
-
pathsComponent:
|
|
471
|
+
pathsComponent: Ca,
|
|
472
472
|
shadowUrl: "https://widgets.sir.sportradar.com/assets/media/shadow.d2a2ff52.png",
|
|
473
473
|
highlightUrl: "https://widgets.sir.sportradar.com/assets/media/highlight.7fdbab3c.png"
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
};
|
|
477
|
-
function
|
|
477
|
+
function ka({
|
|
478
478
|
sport: e = "FOOTBALL",
|
|
479
479
|
gender: a = "men",
|
|
480
480
|
colors: n,
|
|
481
481
|
className: o,
|
|
482
482
|
flag: i = ""
|
|
483
483
|
}) {
|
|
484
|
-
const
|
|
485
|
-
if (e === "TENNIS" && i == "" || e === "BASKETBALL" && (n == null ||
|
|
484
|
+
const l = (n == null ? void 0 : n.base) === "D8D8D8" && (n == null ? void 0 : n.sleeve) === "D8D8D8" || (n == null ? void 0 : n.base) === "585858" && (n == null ? void 0 : n.sleeve) === "585858", s = (v) => v ? v.startsWith("#") ? v : `#${v}` : null;
|
|
485
|
+
if (e === "TENNIS" && i == "" || e === "BASKETBALL" && (n == null || l)) {
|
|
486
486
|
const S = `https://d28gilnhu2bcbp.cloudfront.net/landing/${e === "BASKETBALL" ? "basketball" : "tennis"}_default.png`;
|
|
487
487
|
return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src: S, className: _e.flagImage }) });
|
|
488
488
|
}
|
|
489
489
|
if (e === "TENNIS")
|
|
490
490
|
return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src: `https://img.sportradar.com/ls/crest/big/${i}.png`, className: _e.flagImage }) });
|
|
491
|
-
const c =
|
|
492
|
-
return /* @__PURE__ */
|
|
491
|
+
const c = s(n.base) || "#FFFFFF", g = s(n.sleeve) || c, f = s(n.stripes), m = s(n.sleevelong), d = s(n.trim) || g, u = nt[e] || nt.FOOTBALL, _ = u[a] || u.men, x = _.pathsComponent;
|
|
492
|
+
return /* @__PURE__ */ b("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: [
|
|
493
493
|
/* @__PURE__ */ t("div", { className: _e.svgWrapper, children: /* @__PURE__ */ t("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: /* @__PURE__ */ t(
|
|
494
494
|
x,
|
|
495
495
|
{
|
|
496
496
|
base: c,
|
|
497
|
-
sleeve:
|
|
498
|
-
stripes:
|
|
497
|
+
sleeve: g,
|
|
498
|
+
stripes: f,
|
|
499
499
|
sleevelong: m,
|
|
500
500
|
trim: d
|
|
501
501
|
}
|
|
@@ -503,7 +503,7 @@ function Ca({
|
|
|
503
503
|
/* @__PURE__ */ t(
|
|
504
504
|
"img",
|
|
505
505
|
{
|
|
506
|
-
src:
|
|
506
|
+
src: _.shadowUrl,
|
|
507
507
|
className: _e.shadow,
|
|
508
508
|
alt: "",
|
|
509
509
|
"aria-hidden": !0
|
|
@@ -512,7 +512,7 @@ function Ca({
|
|
|
512
512
|
/* @__PURE__ */ t(
|
|
513
513
|
"img",
|
|
514
514
|
{
|
|
515
|
-
src:
|
|
515
|
+
src: _.highlightUrl,
|
|
516
516
|
className: _e.highlight,
|
|
517
517
|
alt: "",
|
|
518
518
|
"aria-hidden": !0
|
|
@@ -520,61 +520,61 @@ function Ca({
|
|
|
520
520
|
)
|
|
521
521
|
] });
|
|
522
522
|
}
|
|
523
|
-
function Ue({ name: e, jersey: a, size: n = "regular", sport: o = "FOOTBALL", gender: i = "men", flag:
|
|
524
|
-
return /* @__PURE__ */
|
|
525
|
-
a != null && a.base ? /* @__PURE__ */ t(
|
|
523
|
+
function Ue({ name: e, jersey: a, size: n = "regular", sport: o = "FOOTBALL", gender: i = "men", flag: l = "" }) {
|
|
524
|
+
return /* @__PURE__ */ b("div", { className: `oli-font ${Ce.team} ${Ce[n]}`, children: [
|
|
525
|
+
a != null && a.base ? /* @__PURE__ */ t(ka, { sport: o, gender: i, colors: a, flag: l, className: `${Ce.logo}` }) : /* @__PURE__ */ t(X, { variant: "circular", className: `${Ce.logo} ${Ce.skeleton}` }),
|
|
526
526
|
/* @__PURE__ */ t("span", { className: Ce.name, children: e })
|
|
527
527
|
] });
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function Na(e, a, {
|
|
530
530
|
enabled: n = !0,
|
|
531
531
|
threshold: o = 60,
|
|
532
532
|
cooldownMs: i = 500
|
|
533
533
|
} = {}) {
|
|
534
|
-
const
|
|
534
|
+
const l = Z(0), s = Z(0);
|
|
535
535
|
re(() => {
|
|
536
536
|
if (!n) return;
|
|
537
537
|
const c = e.current;
|
|
538
538
|
if (!c) return;
|
|
539
|
-
const
|
|
539
|
+
const g = (f) => {
|
|
540
540
|
const m = a.current;
|
|
541
541
|
if (!m || !m.go) return;
|
|
542
|
-
const { deltaX: d, deltaY: u } =
|
|
542
|
+
const { deltaX: d, deltaY: u } = f;
|
|
543
543
|
if (Math.abs(d) <= Math.abs(u)) return;
|
|
544
|
-
|
|
545
|
-
const
|
|
546
|
-
if (
|
|
547
|
-
const x =
|
|
548
|
-
|
|
544
|
+
f.preventDefault(), l.current += d;
|
|
545
|
+
const _ = Date.now();
|
|
546
|
+
if (_ - s.current < i || Math.abs(l.current) < o) return;
|
|
547
|
+
const x = l.current > 0 ? ">" : "<";
|
|
548
|
+
l.current = 0, s.current = _, m.go(x);
|
|
549
549
|
};
|
|
550
|
-
return c.addEventListener("wheel",
|
|
551
|
-
c.removeEventListener("wheel",
|
|
550
|
+
return c.addEventListener("wheel", g, { passive: !1 }), () => {
|
|
551
|
+
c.removeEventListener("wheel", g), l.current = 0;
|
|
552
552
|
};
|
|
553
553
|
}, [n, o, i, e, a]);
|
|
554
554
|
}
|
|
555
|
-
const
|
|
556
|
-
gradientOverlay:
|
|
557
|
-
right:
|
|
558
|
-
left:
|
|
559
|
-
svg:
|
|
560
|
-
},
|
|
555
|
+
const $a = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", Aa = "oraculo__OraculoCarousel-module__right___KwpOE", Ma = "oraculo__OraculoCarousel-module__left___n3WQu", Ba = "oraculo__OraculoCarousel-module__svg___0mGuX", ke = {
|
|
556
|
+
gradientOverlay: $a,
|
|
557
|
+
right: Aa,
|
|
558
|
+
left: Ma,
|
|
559
|
+
svg: Ba
|
|
560
|
+
}, La = qt, Ra = Wt, xe = Rt(
|
|
561
561
|
({
|
|
562
562
|
items: e = [],
|
|
563
563
|
renderItem: a,
|
|
564
564
|
perPage: n = 1,
|
|
565
565
|
gap: o = "0px",
|
|
566
566
|
breakpoints: i,
|
|
567
|
-
options:
|
|
568
|
-
className:
|
|
567
|
+
options: l = {},
|
|
568
|
+
className: s = "",
|
|
569
569
|
onMove: c,
|
|
570
|
-
useIndexAsKey:
|
|
571
|
-
enableHorizontalWheel:
|
|
570
|
+
useIndexAsKey: g = !1,
|
|
571
|
+
enableHorizontalWheel: f = !0,
|
|
572
572
|
showRightGradient: m = !1
|
|
573
573
|
}, d) => {
|
|
574
|
-
const u = Z(null),
|
|
575
|
-
|
|
576
|
-
enabled:
|
|
577
|
-
}),
|
|
574
|
+
const u = Z(null), _ = Z(null), x = Z(e.length), v = Z(null), S = Z(null), M = Z("user");
|
|
575
|
+
Na(_, u, {
|
|
576
|
+
enabled: f
|
|
577
|
+
}), Pt(d, () => ({
|
|
578
578
|
next: () => {
|
|
579
579
|
var $;
|
|
580
580
|
return ($ = u.current) == null ? void 0 : $.go(">");
|
|
@@ -589,8 +589,8 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
589
589
|
}
|
|
590
590
|
}));
|
|
591
591
|
const E = ($) => {
|
|
592
|
-
var
|
|
593
|
-
const y = $.Components.Slides, I = $.Components.Controller, F = $.root.querySelector(".splide__track"), B = (
|
|
592
|
+
var G;
|
|
593
|
+
const y = $.Components.Slides, I = $.Components.Controller, F = $.root.querySelector(".splide__track"), B = (G = F == null ? void 0 : F.clientWidth) != null ? G : 0, P = I.getIndex(), W = y.getLength();
|
|
594
594
|
let V = 0, D = P;
|
|
595
595
|
for (let q = P; q < W; q++) {
|
|
596
596
|
const K = y.getAt(q);
|
|
@@ -598,14 +598,14 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
598
598
|
D = q;
|
|
599
599
|
}
|
|
600
600
|
return { visibleStart: P, visibleEnd: D };
|
|
601
|
-
},
|
|
601
|
+
}, h = ($) => {
|
|
602
602
|
const y = $.root.querySelector(".splide__track"), I = $.root.querySelector(".splide__list");
|
|
603
603
|
return !y || !I ? !1 : I.scrollWidth > y.clientWidth + 1;
|
|
604
604
|
}, C = Z(!1), O = Pe(($) => {
|
|
605
|
-
var
|
|
605
|
+
var G, q;
|
|
606
606
|
if (C.current) return;
|
|
607
607
|
const I = $.Components.Slides.getLength(), F = M.current;
|
|
608
|
-
if (M.current = "user", !
|
|
608
|
+
if (M.current = "user", !h($)) {
|
|
609
609
|
c == null || c({
|
|
610
610
|
index: 0,
|
|
611
611
|
isStart: !0,
|
|
@@ -618,7 +618,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
618
618
|
return;
|
|
619
619
|
}
|
|
620
620
|
const { visibleStart: B, visibleEnd: P } = E($), W = B === 0, V = P === I - 1;
|
|
621
|
-
m && ((
|
|
621
|
+
m && ((G = v.current) == null || G.style.setProperty("--gradient-opacity", W ? "0" : "1"), (q = S.current) == null || q.style.setProperty("--gradient-opacity", V ? "0" : "1"));
|
|
622
622
|
const D = $.Components.Controller.getIndex();
|
|
623
623
|
c == null || c({
|
|
624
624
|
index: D,
|
|
@@ -674,18 +674,18 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
674
674
|
perPage: n,
|
|
675
675
|
gap: o,
|
|
676
676
|
breakpoints: i,
|
|
677
|
-
...
|
|
678
|
-
...
|
|
677
|
+
...l,
|
|
678
|
+
...f ? { wheel: !1 } : {}
|
|
679
679
|
};
|
|
680
|
-
return /* @__PURE__ */
|
|
680
|
+
return /* @__PURE__ */ b(
|
|
681
681
|
"div",
|
|
682
682
|
{
|
|
683
|
-
ref:
|
|
684
|
-
className:
|
|
683
|
+
ref: _,
|
|
684
|
+
className: s,
|
|
685
685
|
style: { width: "100%", position: "relative", height: "100%" },
|
|
686
686
|
children: [
|
|
687
687
|
/* @__PURE__ */ t(
|
|
688
|
-
|
|
688
|
+
La,
|
|
689
689
|
{
|
|
690
690
|
ref: u,
|
|
691
691
|
options: R,
|
|
@@ -694,18 +694,18 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
694
694
|
onResize: w,
|
|
695
695
|
children: e.map(($, y) => {
|
|
696
696
|
var I;
|
|
697
|
-
return /* @__PURE__ */ t(
|
|
697
|
+
return /* @__PURE__ */ t(Ra, { children: a($, y) }, g ? y : (I = $.id) != null ? I : y);
|
|
698
698
|
})
|
|
699
699
|
}
|
|
700
700
|
),
|
|
701
|
-
m && /* @__PURE__ */
|
|
701
|
+
m && /* @__PURE__ */ b(te, { children: [
|
|
702
702
|
/* @__PURE__ */ t(
|
|
703
703
|
"div",
|
|
704
704
|
{
|
|
705
705
|
ref: v,
|
|
706
706
|
className: `${ke.gradientOverlay} ${ke.left}`,
|
|
707
707
|
style: { "--gradient-opacity": "0" },
|
|
708
|
-
children: /* @__PURE__ */
|
|
708
|
+
children: /* @__PURE__ */ b(
|
|
709
709
|
"svg",
|
|
710
710
|
{
|
|
711
711
|
className: ke.svg,
|
|
@@ -715,7 +715,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
715
715
|
xmlns: "http://www.w3.org/2000/svg",
|
|
716
716
|
children: [
|
|
717
717
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_left)" }),
|
|
718
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
718
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("linearGradient", { id: "paint_left", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
719
719
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
720
720
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
721
721
|
] }) })
|
|
@@ -730,7 +730,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
730
730
|
ref: S,
|
|
731
731
|
className: `${ke.gradientOverlay} ${ke.right}`,
|
|
732
732
|
style: { "--gradient-opacity": "1" },
|
|
733
|
-
children: /* @__PURE__ */
|
|
733
|
+
children: /* @__PURE__ */ b(
|
|
734
734
|
"svg",
|
|
735
735
|
{
|
|
736
736
|
className: ke.svg,
|
|
@@ -740,7 +740,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
740
740
|
xmlns: "http://www.w3.org/2000/svg",
|
|
741
741
|
children: [
|
|
742
742
|
/* @__PURE__ */ t("path", { d: "M0 0H152V184H0V0Z", fill: "url(#paint_right)" }),
|
|
743
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */
|
|
743
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ b("linearGradient", { id: "paint_right", x1: "0", y1: "92", x2: "152", y2: "92", gradientUnits: "userSpaceOnUse", children: [
|
|
744
744
|
/* @__PURE__ */ t("stop", { offset: "0.59737", stopColor: "#121212", stopOpacity: "0" }),
|
|
745
745
|
/* @__PURE__ */ t("stop", { offset: "1", stopColor: "#121212" })
|
|
746
746
|
] }) })
|
|
@@ -760,10 +760,10 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
760
760
|
size: n = "sm",
|
|
761
761
|
fillParent: o = !1
|
|
762
762
|
}) => {
|
|
763
|
-
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 },
|
|
763
|
+
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, l = (c) => {
|
|
764
764
|
c.stopPropagation(), a == null || a();
|
|
765
|
-
},
|
|
766
|
-
return /* @__PURE__ */
|
|
765
|
+
}, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
766
|
+
return /* @__PURE__ */ b(
|
|
767
767
|
U,
|
|
768
768
|
{
|
|
769
769
|
onClick: a,
|
|
@@ -774,7 +774,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
774
774
|
overflow: "hidden",
|
|
775
775
|
boxSizing: "border-box",
|
|
776
776
|
transition: "transform .15s ease, box-shadow .15s ease",
|
|
777
|
-
...
|
|
777
|
+
...s,
|
|
778
778
|
"&:hover": {
|
|
779
779
|
transform: "translateY(-2px)",
|
|
780
780
|
boxShadow: 8,
|
|
@@ -834,14 +834,14 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
834
834
|
transition: "opacity .15s ease, transform .15s ease",
|
|
835
835
|
pointerEvents: "none"
|
|
836
836
|
},
|
|
837
|
-
children: /* @__PURE__ */ t(ae, { variant: "primary", size: "md", onClick:
|
|
837
|
+
children: /* @__PURE__ */ t(ae, { variant: "primary", size: "md", onClick: l, children: "Jugar" })
|
|
838
838
|
}
|
|
839
839
|
)
|
|
840
840
|
]
|
|
841
841
|
}
|
|
842
842
|
);
|
|
843
843
|
};
|
|
844
|
-
function
|
|
844
|
+
function Pa({
|
|
845
845
|
imageUrl: e,
|
|
846
846
|
orden: a = 1,
|
|
847
847
|
onClick: n,
|
|
@@ -851,29 +851,29 @@ function Ra({
|
|
|
851
851
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
852
852
|
}
|
|
853
853
|
}) {
|
|
854
|
-
var d, u,
|
|
855
|
-
const
|
|
856
|
-
var M, E,
|
|
854
|
+
var d, u, _, x;
|
|
855
|
+
const l = (v, S) => {
|
|
856
|
+
var M, E, h, C;
|
|
857
857
|
return {
|
|
858
858
|
xs: (E = (M = i.xs) == null ? void 0 : M[v]) != null ? E : S,
|
|
859
|
-
md: (C = (
|
|
859
|
+
md: (C = (h = i.md) == null ? void 0 : h[v]) != null ? C : S
|
|
860
860
|
};
|
|
861
|
-
},
|
|
861
|
+
}, s = l("w", 186), c = l("h", 264), g = l("r", 22.6), f = l("font", 64), m = {
|
|
862
862
|
xs: Math.round(((u = (d = i.xs) == null ? void 0 : d.font) != null ? u : 64) * 0.28),
|
|
863
|
-
md: Math.round(((x = (
|
|
863
|
+
md: Math.round(((x = (_ = i.md) == null ? void 0 : _.font) != null ? x : 64) * 0.28)
|
|
864
864
|
};
|
|
865
|
-
return /* @__PURE__ */
|
|
865
|
+
return /* @__PURE__ */ b(
|
|
866
866
|
U,
|
|
867
867
|
{
|
|
868
868
|
sx: {
|
|
869
869
|
position: "relative",
|
|
870
870
|
width: "100%",
|
|
871
|
-
maxWidth: { xs: `${
|
|
871
|
+
maxWidth: { xs: `${s.xs}px`, md: `${s.md}px` },
|
|
872
872
|
aspectRatio: {
|
|
873
|
-
xs: `${
|
|
874
|
-
md: `${
|
|
873
|
+
xs: `${s.xs}/${c.xs}`,
|
|
874
|
+
md: `${s.md}/${c.md}`
|
|
875
875
|
},
|
|
876
|
-
borderRadius: { xs: `${
|
|
876
|
+
borderRadius: { xs: `${g.xs}px`, md: `${g.md}px` },
|
|
877
877
|
boxSizing: "border-box",
|
|
878
878
|
overflow: "visible",
|
|
879
879
|
pb: { xs: `${m.xs}px`, md: `${m.md}px` },
|
|
@@ -936,8 +936,8 @@ function Ra({
|
|
|
936
936
|
},
|
|
937
937
|
fontFamily: '"secondary", sans-serif',
|
|
938
938
|
fontSize: {
|
|
939
|
-
xs: `${
|
|
940
|
-
md: `${
|
|
939
|
+
xs: `${f.xs}px`,
|
|
940
|
+
md: `${f.md}px`
|
|
941
941
|
},
|
|
942
942
|
lineHeight: 1,
|
|
943
943
|
color: "#3CC666",
|
|
@@ -952,16 +952,16 @@ function Ra({
|
|
|
952
952
|
}
|
|
953
953
|
);
|
|
954
954
|
}
|
|
955
|
-
const
|
|
955
|
+
const ot = ({
|
|
956
956
|
logo: e,
|
|
957
957
|
provider: a,
|
|
958
958
|
providerName: n,
|
|
959
959
|
machine: o,
|
|
960
960
|
onClick: i,
|
|
961
|
-
loading:
|
|
961
|
+
loading: l = !1
|
|
962
962
|
}) => {
|
|
963
|
-
var
|
|
964
|
-
return
|
|
963
|
+
var s;
|
|
964
|
+
return l ? /* @__PURE__ */ t(
|
|
965
965
|
U,
|
|
966
966
|
{
|
|
967
967
|
sx: {
|
|
@@ -987,7 +987,7 @@ const nt = ({
|
|
|
987
987
|
}
|
|
988
988
|
)
|
|
989
989
|
}
|
|
990
|
-
) : /* @__PURE__ */
|
|
990
|
+
) : /* @__PURE__ */ b(
|
|
991
991
|
U,
|
|
992
992
|
{
|
|
993
993
|
onClick: i,
|
|
@@ -1050,7 +1050,7 @@ const nt = ({
|
|
|
1050
1050
|
fontSize: { xs: 11, md: 14 },
|
|
1051
1051
|
textTransform: "capitalize"
|
|
1052
1052
|
},
|
|
1053
|
-
children: (
|
|
1053
|
+
children: (s = a != null ? a : n) != null ? s : ""
|
|
1054
1054
|
}
|
|
1055
1055
|
)
|
|
1056
1056
|
}
|
|
@@ -1058,7 +1058,7 @@ const nt = ({
|
|
|
1058
1058
|
]
|
|
1059
1059
|
}
|
|
1060
1060
|
);
|
|
1061
|
-
},
|
|
1061
|
+
}, je = 12, Ke = ({ r: e = 16 }) => /* @__PURE__ */ t(U, { sx: { width: "100%", height: "100%", borderRadius: e, overflow: "hidden" }, children: /* @__PURE__ */ t(
|
|
1062
1062
|
X,
|
|
1063
1063
|
{
|
|
1064
1064
|
variant: "rectangular",
|
|
@@ -1073,17 +1073,17 @@ const nt = ({
|
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
1075
1075
|
}
|
|
1076
|
-
) }),
|
|
1076
|
+
) }), Ot = ({
|
|
1077
1077
|
items: e,
|
|
1078
1078
|
layout: a = "grid",
|
|
1079
1079
|
onClick: n,
|
|
1080
1080
|
loading: o = !1,
|
|
1081
1081
|
gridSkeletonCount: i = 4
|
|
1082
1082
|
}) => {
|
|
1083
|
-
var
|
|
1083
|
+
var l, s;
|
|
1084
1084
|
if (a === "mosaic") {
|
|
1085
|
-
const c = e[0],
|
|
1086
|
-
return /* @__PURE__ */
|
|
1085
|
+
const c = e[0], g = e.slice(1, 5);
|
|
1086
|
+
return /* @__PURE__ */ b(
|
|
1087
1087
|
U,
|
|
1088
1088
|
{
|
|
1089
1089
|
sx: {
|
|
@@ -1101,8 +1101,8 @@ const nt = ({
|
|
|
1101
1101
|
xs: "104px",
|
|
1102
1102
|
md: "152px"
|
|
1103
1103
|
},
|
|
1104
|
-
columnGap: `${
|
|
1105
|
-
rowGap: `${
|
|
1104
|
+
columnGap: `${je}px`,
|
|
1105
|
+
rowGap: `${je}px`,
|
|
1106
1106
|
alignItems: "stretch",
|
|
1107
1107
|
justifyItems: "stretch"
|
|
1108
1108
|
},
|
|
@@ -1117,10 +1117,10 @@ const nt = ({
|
|
|
1117
1117
|
overflow: "hidden",
|
|
1118
1118
|
borderRadius: 2
|
|
1119
1119
|
},
|
|
1120
|
-
children: o ? /* @__PURE__ */ t(
|
|
1120
|
+
children: o ? /* @__PURE__ */ t(Ke, {}) : c && /* @__PURE__ */ t(
|
|
1121
1121
|
Fe,
|
|
1122
1122
|
{
|
|
1123
|
-
imageUrl: `https://olimpo.bet${(
|
|
1123
|
+
imageUrl: `https://olimpo.bet${(s = (l = c.background) != null ? l : c.imageUrl) != null ? s : ""}`,
|
|
1124
1124
|
size: "lg",
|
|
1125
1125
|
fillParent: !0,
|
|
1126
1126
|
onClick: () => n == null ? void 0 : n(c, 0)
|
|
@@ -1128,7 +1128,7 @@ const nt = ({
|
|
|
1128
1128
|
)
|
|
1129
1129
|
}
|
|
1130
1130
|
),
|
|
1131
|
-
(o ? Array.from({ length: 4 }) :
|
|
1131
|
+
(o ? Array.from({ length: 4 }) : g).map((f, m) => {
|
|
1132
1132
|
var d, u;
|
|
1133
1133
|
return /* @__PURE__ */ t(
|
|
1134
1134
|
U,
|
|
@@ -1139,17 +1139,17 @@ const nt = ({
|
|
|
1139
1139
|
overflow: "hidden",
|
|
1140
1140
|
borderRadius: 2
|
|
1141
1141
|
},
|
|
1142
|
-
children: o ? /* @__PURE__ */ t(
|
|
1142
|
+
children: o ? /* @__PURE__ */ t(Ke, {}) : /* @__PURE__ */ t(
|
|
1143
1143
|
Fe,
|
|
1144
1144
|
{
|
|
1145
|
-
imageUrl: `https://olimpo.bet${(u = (d =
|
|
1145
|
+
imageUrl: `https://olimpo.bet${(u = (d = f.background) != null ? d : f.imageUrl) != null ? u : ""}`,
|
|
1146
1146
|
size: "sm",
|
|
1147
1147
|
fillParent: !0,
|
|
1148
|
-
onClick: () => n == null ? void 0 : n(
|
|
1148
|
+
onClick: () => n == null ? void 0 : n(f, m + 1)
|
|
1149
1149
|
}
|
|
1150
1150
|
)
|
|
1151
1151
|
},
|
|
1152
|
-
o ? `sk-${m}` :
|
|
1152
|
+
o ? `sk-${m}` : f.id
|
|
1153
1153
|
);
|
|
1154
1154
|
})
|
|
1155
1155
|
]
|
|
@@ -1169,43 +1169,43 @@ const nt = ({
|
|
|
1169
1169
|
xs: "repeat(2, 112px)",
|
|
1170
1170
|
md: "repeat(2, 168px)"
|
|
1171
1171
|
},
|
|
1172
|
-
gap: `${
|
|
1172
|
+
gap: `${je}px`,
|
|
1173
1173
|
gridAutoFlow: "column"
|
|
1174
1174
|
},
|
|
1175
|
-
children: (o ? Array.from({ length: i }) : e).map((c,
|
|
1176
|
-
var
|
|
1175
|
+
children: (o ? Array.from({ length: i }) : e).map((c, g) => {
|
|
1176
|
+
var f, m, d;
|
|
1177
1177
|
return /* @__PURE__ */ t(
|
|
1178
1178
|
U,
|
|
1179
1179
|
{
|
|
1180
1180
|
sx: { overflow: "hidden", borderRadius: 2 },
|
|
1181
|
-
children: o ? /* @__PURE__ */ t(
|
|
1181
|
+
children: o ? /* @__PURE__ */ t(Ke, {}) : /* @__PURE__ */ t(
|
|
1182
1182
|
Fe,
|
|
1183
1183
|
{
|
|
1184
|
-
imageUrl: `https://olimpo.bet${(m = (
|
|
1184
|
+
imageUrl: `https://olimpo.bet${(m = (f = c.background) != null ? f : c.imageUrl) != null ? m : ""}`,
|
|
1185
1185
|
size: "sm",
|
|
1186
1186
|
fillParent: !0,
|
|
1187
|
-
onClick: () => n == null ? void 0 : n(c,
|
|
1187
|
+
onClick: () => n == null ? void 0 : n(c, g)
|
|
1188
1188
|
}
|
|
1189
1189
|
)
|
|
1190
1190
|
},
|
|
1191
|
-
o ? `sk-${
|
|
1191
|
+
o ? `sk-${g}` : (d = c.id) != null ? d : g
|
|
1192
1192
|
);
|
|
1193
1193
|
})
|
|
1194
1194
|
}
|
|
1195
1195
|
);
|
|
1196
|
-
},
|
|
1196
|
+
}, rt = ({
|
|
1197
1197
|
title: e,
|
|
1198
1198
|
amount: a,
|
|
1199
1199
|
subtitle: n,
|
|
1200
1200
|
buttonText: o,
|
|
1201
1201
|
onButtonClick: i,
|
|
1202
|
-
backgroundImage:
|
|
1203
|
-
alt:
|
|
1202
|
+
backgroundImage: l,
|
|
1203
|
+
alt: s,
|
|
1204
1204
|
className: c = "",
|
|
1205
|
-
variant:
|
|
1205
|
+
variant: g = "small"
|
|
1206
1206
|
}) => {
|
|
1207
|
-
const
|
|
1208
|
-
return /* @__PURE__ */
|
|
1207
|
+
const f = a ? a.slice(0, 2) : "", m = a ? a.slice(2) : "", d = g === "large";
|
|
1208
|
+
return /* @__PURE__ */ b(
|
|
1209
1209
|
U,
|
|
1210
1210
|
{
|
|
1211
1211
|
className: c,
|
|
@@ -1219,7 +1219,7 @@ const nt = ({
|
|
|
1219
1219
|
mx: "auto"
|
|
1220
1220
|
},
|
|
1221
1221
|
children: [
|
|
1222
|
-
|
|
1222
|
+
l && /* @__PURE__ */ t(
|
|
1223
1223
|
U,
|
|
1224
1224
|
{
|
|
1225
1225
|
sx: {
|
|
@@ -1236,8 +1236,8 @@ const nt = ({
|
|
|
1236
1236
|
U,
|
|
1237
1237
|
{
|
|
1238
1238
|
component: "img",
|
|
1239
|
-
src:
|
|
1240
|
-
alt:
|
|
1239
|
+
src: l,
|
|
1240
|
+
alt: s != null ? s : "Fondo promocional",
|
|
1241
1241
|
sx: {
|
|
1242
1242
|
width: "100%",
|
|
1243
1243
|
height: "100%",
|
|
@@ -1266,7 +1266,7 @@ const nt = ({
|
|
|
1266
1266
|
pl: "14%",
|
|
1267
1267
|
pr: { xs: "14%", lg: "15%" }
|
|
1268
1268
|
},
|
|
1269
|
-
children: /* @__PURE__ */
|
|
1269
|
+
children: /* @__PURE__ */ b(
|
|
1270
1270
|
U,
|
|
1271
1271
|
{
|
|
1272
1272
|
sx: {
|
|
@@ -1287,7 +1287,7 @@ const nt = ({
|
|
|
1287
1287
|
children: e
|
|
1288
1288
|
}
|
|
1289
1289
|
),
|
|
1290
|
-
a && /* @__PURE__ */
|
|
1290
|
+
a && /* @__PURE__ */ b(
|
|
1291
1291
|
U,
|
|
1292
1292
|
{
|
|
1293
1293
|
component: "p",
|
|
@@ -1310,7 +1310,7 @@ const nt = ({
|
|
|
1310
1310
|
{
|
|
1311
1311
|
component: "span",
|
|
1312
1312
|
sx: { fontSize: { xs: 35, md: 48 }, mr: 0.5 },
|
|
1313
|
-
children:
|
|
1313
|
+
children: f
|
|
1314
1314
|
}
|
|
1315
1315
|
),
|
|
1316
1316
|
/* @__PURE__ */ t(
|
|
@@ -1345,15 +1345,15 @@ const nt = ({
|
|
|
1345
1345
|
]
|
|
1346
1346
|
}
|
|
1347
1347
|
);
|
|
1348
|
-
},
|
|
1348
|
+
}, Fa = ({
|
|
1349
1349
|
text: e,
|
|
1350
1350
|
buttonLabel: a = "Conoce más",
|
|
1351
1351
|
onClick: n,
|
|
1352
1352
|
imgAlt: o = "Club Olimpo",
|
|
1353
1353
|
imgSrcMobile: i,
|
|
1354
|
-
imgSrcDesktopBg:
|
|
1355
|
-
imgSrcDesktopLogo:
|
|
1356
|
-
}) => /* @__PURE__ */
|
|
1354
|
+
imgSrcDesktopBg: l,
|
|
1355
|
+
imgSrcDesktopLogo: s
|
|
1356
|
+
}) => /* @__PURE__ */ b(te, { children: [
|
|
1357
1357
|
/* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
|
|
1358
1358
|
"img",
|
|
1359
1359
|
{
|
|
@@ -1362,20 +1362,20 @@ const nt = ({
|
|
|
1362
1362
|
className: "orc-co-bgMobileImg"
|
|
1363
1363
|
}
|
|
1364
1364
|
) }),
|
|
1365
|
-
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */
|
|
1366
|
-
|
|
1365
|
+
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ b("div", { className: "orc-co-desktopInner", children: [
|
|
1366
|
+
l && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
|
|
1367
1367
|
"img",
|
|
1368
1368
|
{
|
|
1369
|
-
src:
|
|
1369
|
+
src: l,
|
|
1370
1370
|
alt: `${o} fondo`,
|
|
1371
1371
|
className: "orc-co-bgDesktopImg"
|
|
1372
1372
|
}
|
|
1373
1373
|
) }),
|
|
1374
|
-
/* @__PURE__ */
|
|
1375
|
-
|
|
1374
|
+
/* @__PURE__ */ b("div", { className: "orc-co-desktopContent", children: [
|
|
1375
|
+
s && /* @__PURE__ */ t(
|
|
1376
1376
|
"img",
|
|
1377
1377
|
{
|
|
1378
|
-
src:
|
|
1378
|
+
src: s,
|
|
1379
1379
|
alt: `${o} logo`,
|
|
1380
1380
|
className: "orc-co-logoImg"
|
|
1381
1381
|
}
|
|
@@ -1384,35 +1384,35 @@ const nt = ({
|
|
|
1384
1384
|
/* @__PURE__ */ t(ae, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1385
1385
|
] })
|
|
1386
1386
|
] }) }),
|
|
1387
|
-
/* @__PURE__ */
|
|
1387
|
+
/* @__PURE__ */ b("div", { className: "orc-co-bottom", children: [
|
|
1388
1388
|
/* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
|
|
1389
1389
|
/* @__PURE__ */ t(ae, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1390
1390
|
] })
|
|
1391
|
-
] }),
|
|
1392
|
-
card:
|
|
1393
|
-
combinadas:
|
|
1394
|
-
combinadasScroll:
|
|
1395
|
-
apuestaItem:
|
|
1396
|
-
lineContainer:
|
|
1397
|
-
circle:
|
|
1398
|
-
line:
|
|
1391
|
+
] }), za = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Ua = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", qa = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Wa = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", Va = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", Da = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Ha = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", Ga = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Za = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", fe = {
|
|
1392
|
+
card: za,
|
|
1393
|
+
combinadas: Ua,
|
|
1394
|
+
combinadasScroll: qa,
|
|
1395
|
+
apuestaItem: Wa,
|
|
1396
|
+
lineContainer: Va,
|
|
1397
|
+
circle: Da,
|
|
1398
|
+
line: Ha,
|
|
1399
1399
|
apuestaText: Ga,
|
|
1400
|
-
cuotaTotal:
|
|
1400
|
+
cuotaTotal: Za
|
|
1401
1401
|
};
|
|
1402
1402
|
function qe(e, a) {
|
|
1403
1403
|
const n = Array.isArray(a) ? a : [a];
|
|
1404
1404
|
sessionStorage.setItem("landingOutcomes", JSON.stringify(n)), window.location.href = e;
|
|
1405
1405
|
}
|
|
1406
|
-
function Za() {
|
|
1407
|
-
window.location.href = "/deportes#in-play";
|
|
1408
|
-
}
|
|
1409
1406
|
function ja() {
|
|
1410
|
-
window.location.href = "/deportes#
|
|
1407
|
+
window.location.href = "/deportes#in-play";
|
|
1411
1408
|
}
|
|
1412
1409
|
function Ka() {
|
|
1410
|
+
window.location.href = "/deportes#home";
|
|
1411
|
+
}
|
|
1412
|
+
function Ja() {
|
|
1413
1413
|
window.location.href = "/deportes#specials";
|
|
1414
1414
|
}
|
|
1415
|
-
async function
|
|
1415
|
+
async function It(e) {
|
|
1416
1416
|
return await (await fetch("https://api.mktolimpo.com/api/jerseys/search", {
|
|
1417
1417
|
method: "POST",
|
|
1418
1418
|
headers: {
|
|
@@ -1423,28 +1423,28 @@ async function Ot(e) {
|
|
|
1423
1423
|
})
|
|
1424
1424
|
})).json();
|
|
1425
1425
|
}
|
|
1426
|
-
const
|
|
1426
|
+
const Tt = Ft(void 0), Et = ({ children: e, docId: a, moduleId: n }) => {
|
|
1427
1427
|
const o = ve.useMemo(() => ({ docId: a, moduleId: n }), [a, n]);
|
|
1428
|
-
return /* @__PURE__ */ t(
|
|
1429
|
-
},
|
|
1430
|
-
const e =
|
|
1428
|
+
return /* @__PURE__ */ t(Tt.Provider, { value: o, children: e });
|
|
1429
|
+
}, Ct = () => {
|
|
1430
|
+
const e = zt(Tt);
|
|
1431
1431
|
if (!e)
|
|
1432
1432
|
throw new Error("useDocContext debe usarse dentro de DocIdProvider");
|
|
1433
1433
|
return e;
|
|
1434
|
-
}, ce = () =>
|
|
1435
|
-
function
|
|
1436
|
-
var
|
|
1434
|
+
}, ce = () => Ct().docId, pe = () => Ct().moduleId;
|
|
1435
|
+
function Xa({ coupon: e }) {
|
|
1436
|
+
var f;
|
|
1437
1437
|
const a = se(), n = ce();
|
|
1438
1438
|
function o(m) {
|
|
1439
|
-
var
|
|
1439
|
+
var _, x;
|
|
1440
1440
|
const d = [], u = Array.from(
|
|
1441
1441
|
new Map(
|
|
1442
|
-
((
|
|
1442
|
+
((_ = m == null ? void 0 : m.events) != null ? _ : []).filter(Boolean).map((v) => [v.id, v])
|
|
1443
1443
|
).values()
|
|
1444
1444
|
);
|
|
1445
1445
|
return u.forEach((v) => {
|
|
1446
|
-
var
|
|
1447
|
-
const S = (
|
|
1446
|
+
var h;
|
|
1447
|
+
const S = (h = v.betoffers) != null ? h : [], M = v.homeName, E = v.awayName;
|
|
1448
1448
|
S.forEach((C) => {
|
|
1449
1449
|
var R, $, y, I, F, B, P;
|
|
1450
1450
|
if (!((R = C == null ? void 0 : C.outcomes) != null && R.length)) return;
|
|
@@ -1484,16 +1484,16 @@ function Ja({ coupon: e }) {
|
|
|
1484
1484
|
}
|
|
1485
1485
|
return "/deportes#home";
|
|
1486
1486
|
}
|
|
1487
|
-
const
|
|
1488
|
-
const u = Array.isArray(m) ? m : [m],
|
|
1487
|
+
const l = (m, d) => {
|
|
1488
|
+
const u = Array.isArray(m) ? m : [m], _ = Array.from(
|
|
1489
1489
|
new Set(
|
|
1490
|
-
|
|
1490
|
+
s.outcomes.map((S) => {
|
|
1491
1491
|
var E;
|
|
1492
|
-
const M =
|
|
1492
|
+
const M = g.get(Number(S.eventId));
|
|
1493
1493
|
return (E = M == null ? void 0 : M.name) != null ? E : "";
|
|
1494
1494
|
})
|
|
1495
1495
|
)
|
|
1496
|
-
).filter(Boolean), x =
|
|
1496
|
+
).filter(Boolean), x = _.length > 0 ? _.join(" + ") : JSON.stringify(u), v = d ? `${x} - Cuota: ${d}` : x;
|
|
1497
1497
|
a({
|
|
1498
1498
|
element: "evento_semana_outcome",
|
|
1499
1499
|
label: `Landing: ${n} - OraculoEventCombinadasCard - Click: ${v}`,
|
|
@@ -1506,14 +1506,14 @@ function Ja({ coupon: e }) {
|
|
|
1506
1506
|
tags: { section: "OraculoEventCombinadasCard", outcomes: v }
|
|
1507
1507
|
}), qe(i(e), m);
|
|
1508
1508
|
};
|
|
1509
|
-
if (!((
|
|
1510
|
-
const
|
|
1511
|
-
|
|
1509
|
+
if (!((f = e == null ? void 0 : e.events) != null && f.length)) return null;
|
|
1510
|
+
const s = o(e), c = s.outcomes.reduce((m, d) => (m[d.eventId] || (m[d.eventId] = []), m[d.eventId].push(d), m), {}), g = new Map(
|
|
1511
|
+
s.events.map((m) => [m.id, m])
|
|
1512
1512
|
);
|
|
1513
|
-
return /* @__PURE__ */
|
|
1513
|
+
return /* @__PURE__ */ b("div", { className: fe.card, children: [
|
|
1514
1514
|
/* @__PURE__ */ t("div", { className: fe.combinadas, children: /* @__PURE__ */ t("div", { className: fe.combinadasScroll, children: /* @__PURE__ */ t(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(c).reverse().map(([m, d]) => {
|
|
1515
|
-
const u =
|
|
1516
|
-
return u ? /* @__PURE__ */
|
|
1515
|
+
const u = g.get(Number(m));
|
|
1516
|
+
return u ? /* @__PURE__ */ b(
|
|
1517
1517
|
Q,
|
|
1518
1518
|
{
|
|
1519
1519
|
direction: "column",
|
|
@@ -1535,15 +1535,15 @@ function Ja({ coupon: e }) {
|
|
|
1535
1535
|
src: "/assets/img/home/Combinadas/line.png"
|
|
1536
1536
|
}
|
|
1537
1537
|
),
|
|
1538
|
-
d.map((
|
|
1539
|
-
/* @__PURE__ */
|
|
1538
|
+
d.map((_, x) => /* @__PURE__ */ b("div", { className: fe.apuestaItem, children: [
|
|
1539
|
+
/* @__PURE__ */ b("div", { className: fe.lineContainer, children: [
|
|
1540
1540
|
/* @__PURE__ */ t("div", { className: fe.circle }),
|
|
1541
1541
|
x < d.length - 1 && /* @__PURE__ */ t("div", { className: fe.line })
|
|
1542
1542
|
] }),
|
|
1543
|
-
/* @__PURE__ */
|
|
1544
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1543
|
+
/* @__PURE__ */ b("div", { className: fe.apuestaText, children: [
|
|
1544
|
+
/* @__PURE__ */ t("strong", { children: _.value }),
|
|
1545
1545
|
" | ",
|
|
1546
|
-
|
|
1546
|
+
_.label
|
|
1547
1547
|
] })
|
|
1548
1548
|
] }, `${m}-${x}`))
|
|
1549
1549
|
]
|
|
@@ -1551,18 +1551,18 @@ function Ja({ coupon: e }) {
|
|
|
1551
1551
|
m
|
|
1552
1552
|
) : null;
|
|
1553
1553
|
}) }) }) }),
|
|
1554
|
-
/* @__PURE__ */
|
|
1554
|
+
/* @__PURE__ */ b(
|
|
1555
1555
|
"button",
|
|
1556
1556
|
{
|
|
1557
|
-
onClick: () =>
|
|
1558
|
-
|
|
1559
|
-
|
|
1557
|
+
onClick: () => l(
|
|
1558
|
+
s.outcomes.map((m) => m.id),
|
|
1559
|
+
s.total
|
|
1560
1560
|
),
|
|
1561
1561
|
className: fe.cuotaTotal,
|
|
1562
1562
|
children: [
|
|
1563
|
-
/* @__PURE__ */
|
|
1563
|
+
/* @__PURE__ */ b("span", { children: [
|
|
1564
1564
|
"Cuota total: ",
|
|
1565
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1565
|
+
/* @__PURE__ */ t("strong", { children: s.total })
|
|
1566
1566
|
] }),
|
|
1567
1567
|
/* @__PURE__ */ t(
|
|
1568
1568
|
"img",
|
|
@@ -1591,42 +1591,42 @@ const ge = {
|
|
|
1591
1591
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1592
1592
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1593
1593
|
};
|
|
1594
|
-
function
|
|
1594
|
+
function it({
|
|
1595
1595
|
children: e,
|
|
1596
1596
|
onClick: a,
|
|
1597
1597
|
href: n,
|
|
1598
1598
|
target: o,
|
|
1599
1599
|
rel: i,
|
|
1600
|
-
type:
|
|
1601
|
-
disabled:
|
|
1600
|
+
type: l = "button",
|
|
1601
|
+
disabled: s = !1,
|
|
1602
1602
|
variant: c = "primary",
|
|
1603
|
-
size:
|
|
1604
|
-
fullWidth:
|
|
1603
|
+
size: g,
|
|
1604
|
+
fullWidth: f = !1,
|
|
1605
1605
|
fullHeight: m = !1,
|
|
1606
1606
|
className: d = "",
|
|
1607
1607
|
ariaLabel: u,
|
|
1608
|
-
leftIcon:
|
|
1608
|
+
leftIcon: _,
|
|
1609
1609
|
rightIcon: x,
|
|
1610
1610
|
iconOnly: v
|
|
1611
1611
|
}) {
|
|
1612
|
-
const S = !!e && e !== !0,
|
|
1612
|
+
const S = !!e && e !== !0, h = (!!_ ? 1 : 0) + (!!x ? 1 : 0) == 1, C = v != null ? v : h && !S, O = [
|
|
1613
1613
|
ge["orc-btn"],
|
|
1614
1614
|
// base
|
|
1615
1615
|
ge[`orc-btn--${c}`],
|
|
1616
1616
|
// variant primary/secondary/tertiary
|
|
1617
|
-
|
|
1617
|
+
g ? ge[`orc-btn--${g}`] : "",
|
|
1618
1618
|
// sm / md / lg
|
|
1619
|
-
|
|
1619
|
+
f ? ge["orc-btn--full"] : "",
|
|
1620
1620
|
m ? ge["orc-btn--fullHeight"] : "",
|
|
1621
1621
|
C ? ge["orc-btn--iconOnly"] : "",
|
|
1622
1622
|
d
|
|
1623
|
-
].filter(Boolean).join(" "), w = /* @__PURE__ */
|
|
1624
|
-
|
|
1623
|
+
].filter(Boolean).join(" "), w = /* @__PURE__ */ b(te, { children: [
|
|
1624
|
+
_ && /* @__PURE__ */ t("span", { className: ge["orc-btn__icon"], children: _ }),
|
|
1625
1625
|
!C && /* @__PURE__ */ t("span", { className: ge["orc-btn__label"], children: e }),
|
|
1626
1626
|
x && /* @__PURE__ */ t("span", { className: ge["orc-btn__icon"], children: x })
|
|
1627
|
-
] }), L =
|
|
1627
|
+
] }), L = s ? !0 : void 0;
|
|
1628
1628
|
return n ? /* @__PURE__ */ t(
|
|
1629
|
-
|
|
1629
|
+
bt,
|
|
1630
1630
|
{
|
|
1631
1631
|
href: n,
|
|
1632
1632
|
target: o,
|
|
@@ -1641,7 +1641,7 @@ function rt({
|
|
|
1641
1641
|
) : /* @__PURE__ */ t(
|
|
1642
1642
|
"button",
|
|
1643
1643
|
{
|
|
1644
|
-
type:
|
|
1644
|
+
type: l,
|
|
1645
1645
|
onClick: a,
|
|
1646
1646
|
disabled: !!L,
|
|
1647
1647
|
"aria-label": u,
|
|
@@ -1650,114 +1650,114 @@ function rt({
|
|
|
1650
1650
|
}
|
|
1651
1651
|
);
|
|
1652
1652
|
}
|
|
1653
|
-
const
|
|
1654
|
-
tennisContainer:
|
|
1655
|
-
tennisTable:
|
|
1656
|
-
tennisTableRow:
|
|
1657
|
-
colName:
|
|
1658
|
-
colHeader:
|
|
1659
|
-
cellPlayerNameHome:
|
|
1660
|
-
cellPlayerNameAway:
|
|
1661
|
-
playerName:
|
|
1662
|
-
cellStat:
|
|
1663
|
-
active:
|
|
1664
|
-
border:
|
|
1665
|
-
hasDivider:
|
|
1666
|
-
cellHome:
|
|
1667
|
-
cellAway:
|
|
1653
|
+
const Qa = "oraculo__OraculoTennisScoreboard-module__tennisContainer___I3KST", Ya = "oraculo__OraculoTennisScoreboard-module__tennisTable___haqoS", en = "oraculo__OraculoTennisScoreboard-module__tennisTableRow___IbIkR", tn = "oraculo__OraculoTennisScoreboard-module__colName___mNrno", an = "oraculo__OraculoTennisScoreboard-module__colHeader___e3Eis", nn = "oraculo__OraculoTennisScoreboard-module__cellPlayerNameHome___pUZjS", on = "oraculo__OraculoTennisScoreboard-module__cellPlayerNameAway___jf9sp", rn = "oraculo__OraculoTennisScoreboard-module__playerName___OKXca", ln = "oraculo__OraculoTennisScoreboard-module__cellStat___QhEvN", sn = "oraculo__OraculoTennisScoreboard-module__active___5OX1k", cn = "oraculo__OraculoTennisScoreboard-module__border___Xzw2j", dn = "oraculo__OraculoTennisScoreboard-module__hasDivider___Dv65A", un = "oraculo__OraculoTennisScoreboard-module__cellHome___J2681", mn = "oraculo__OraculoTennisScoreboard-module__cellAway___yJ34F", H = {
|
|
1654
|
+
tennisContainer: Qa,
|
|
1655
|
+
tennisTable: Ya,
|
|
1656
|
+
tennisTableRow: en,
|
|
1657
|
+
colName: tn,
|
|
1658
|
+
colHeader: an,
|
|
1659
|
+
cellPlayerNameHome: nn,
|
|
1660
|
+
cellPlayerNameAway: on,
|
|
1661
|
+
playerName: rn,
|
|
1662
|
+
cellStat: ln,
|
|
1663
|
+
active: sn,
|
|
1664
|
+
border: cn,
|
|
1665
|
+
hasDivider: dn,
|
|
1666
|
+
cellHome: un,
|
|
1667
|
+
cellAway: mn
|
|
1668
1668
|
};
|
|
1669
|
-
function
|
|
1669
|
+
function pn({
|
|
1670
1670
|
homeName: e = "",
|
|
1671
1671
|
awayName: a = "",
|
|
1672
1672
|
homeSets: n = [],
|
|
1673
1673
|
awaySets: o = [],
|
|
1674
1674
|
homePoints: i = "0",
|
|
1675
|
-
awayPoints:
|
|
1676
|
-
homeServe:
|
|
1675
|
+
awayPoints: l = "0",
|
|
1676
|
+
homeServe: s = !0
|
|
1677
1677
|
}) {
|
|
1678
1678
|
const c = n.reduce(
|
|
1679
|
-
(M, E,
|
|
1679
|
+
(M, E, h) => E >= 0 ? h : M,
|
|
1680
1680
|
0
|
|
1681
1681
|
);
|
|
1682
|
-
let
|
|
1682
|
+
let g = 0, f = 0;
|
|
1683
1683
|
n.forEach((M, E) => {
|
|
1684
1684
|
var C;
|
|
1685
|
-
const
|
|
1686
|
-
E !== c && M >= 0 &&
|
|
1685
|
+
const h = (C = o[E]) != null ? C : -1;
|
|
1686
|
+
E !== c && M >= 0 && h >= 0 && (M > h && g++, h > M && f++);
|
|
1687
1687
|
});
|
|
1688
1688
|
const m = n[c] >= 0 ? n[c] : 0, d = o[c] >= 0 ? o[c] : 0, u = (M) => {
|
|
1689
1689
|
if (typeof M == "number") return M;
|
|
1690
1690
|
const E = String(M).trim().toUpperCase();
|
|
1691
1691
|
return E === "A" || E === "ADV" ? 50 : parseInt(E, 10) || 0;
|
|
1692
|
-
},
|
|
1692
|
+
}, _ = u(i), x = u(l);
|
|
1693
1693
|
let v = !1, S = !1;
|
|
1694
|
-
return
|
|
1695
|
-
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */
|
|
1696
|
-
/* @__PURE__ */ t("th", { className:
|
|
1697
|
-
/* @__PURE__ */ t("th", { className:
|
|
1698
|
-
/* @__PURE__ */ t("th", { className: `${
|
|
1699
|
-
/* @__PURE__ */ t("th", { className:
|
|
1694
|
+
return g !== f ? (v = g > f, S = f > g) : m !== d ? (v = m > d, S = d > m) : _ !== x && (v = _ > x, S = x > _), /* @__PURE__ */ t("div", { className: H.tennisContainer, children: /* @__PURE__ */ b("table", { className: H.tennisTable, children: [
|
|
1695
|
+
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */ b("tr", { style: { height: "18px" }, children: [
|
|
1696
|
+
/* @__PURE__ */ t("th", { className: H.colName }),
|
|
1697
|
+
/* @__PURE__ */ t("th", { className: H.colHeader, children: "SETS" }),
|
|
1698
|
+
/* @__PURE__ */ t("th", { className: `${H.colHeader} ${H.border}`, style: { width: "62px" }, children: "JUEGOS" }),
|
|
1699
|
+
/* @__PURE__ */ t("th", { className: H.colHeader, children: "PTS" })
|
|
1700
1700
|
] }) }),
|
|
1701
|
-
/* @__PURE__ */
|
|
1702
|
-
/* @__PURE__ */
|
|
1703
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1704
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1705
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1706
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1701
|
+
/* @__PURE__ */ b("tbody", { children: [
|
|
1702
|
+
/* @__PURE__ */ b("tr", { className: H.tennisTableRow, children: [
|
|
1703
|
+
/* @__PURE__ */ t("td", { className: `${H.cellPlayerNameHome} ${H.hasDivider}`, children: /* @__PURE__ */ t("span", { className: H.playerName, children: e }) }),
|
|
1704
|
+
/* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellHome} ${H.hasDivider} ${v ? H.active : ""}`, children: g }),
|
|
1705
|
+
/* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellHome} ${H.hasDivider} ${H.border} ${v ? H.active : ""}`, children: m }),
|
|
1706
|
+
/* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellHome} ${H.hasDivider} ${v ? H.active : ""}`, children: i })
|
|
1707
1707
|
] }),
|
|
1708
|
-
/* @__PURE__ */
|
|
1709
|
-
/* @__PURE__ */ t("td", { className:
|
|
1710
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1711
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1712
|
-
/* @__PURE__ */ t("td", { className: `${
|
|
1708
|
+
/* @__PURE__ */ b("tr", { className: H.tennisTableRow, children: [
|
|
1709
|
+
/* @__PURE__ */ t("td", { className: H.cellPlayerNameAway, children: /* @__PURE__ */ t("span", { className: H.playerName, children: a }) }),
|
|
1710
|
+
/* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${S ? H.active : ""}`, children: f }),
|
|
1711
|
+
/* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${H.border} ${S ? H.active : ""}`, children: d }),
|
|
1712
|
+
/* @__PURE__ */ t("td", { className: `${H.cellStat} ${H.cellAway} ${S ? H.active : ""}`, children: l })
|
|
1713
1713
|
] })
|
|
1714
1714
|
] })
|
|
1715
1715
|
] }) });
|
|
1716
1716
|
}
|
|
1717
|
-
const
|
|
1718
|
-
cardWrapper:
|
|
1719
|
-
cardWrapperTennis:
|
|
1720
|
-
customButtonLabel:
|
|
1721
|
-
customButtonDisabled:
|
|
1722
|
-
},
|
|
1717
|
+
const fn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", gn = "oraculo__OraculoEventEnVivoCard-module__cardWrapperTennis___MI-jh", hn = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", bn = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", Ie = {
|
|
1718
|
+
cardWrapper: fn,
|
|
1719
|
+
cardWrapperTennis: gn,
|
|
1720
|
+
customButtonLabel: hn,
|
|
1721
|
+
customButtonDisabled: bn
|
|
1722
|
+
}, lt = {
|
|
1723
1723
|
base: "FFFFFF",
|
|
1724
1724
|
sleeve: "FFFFFF",
|
|
1725
1725
|
number: "000000",
|
|
1726
1726
|
real: !1,
|
|
1727
1727
|
type: "short_sleeves"
|
|
1728
|
-
},
|
|
1728
|
+
}, st = {
|
|
1729
1729
|
base: "000000",
|
|
1730
1730
|
sleeve: "000000",
|
|
1731
1731
|
number: "FFFFFF",
|
|
1732
1732
|
real: !1,
|
|
1733
1733
|
type: "short_sleeves"
|
|
1734
1734
|
}, We = (e, a, n = "player") => {
|
|
1735
|
-
var i,
|
|
1735
|
+
var i, l;
|
|
1736
1736
|
if (e === void 0)
|
|
1737
1737
|
return null;
|
|
1738
1738
|
if (e === null)
|
|
1739
|
-
return a === "home" ?
|
|
1740
|
-
const o = (
|
|
1741
|
-
return o || (a === "home" ?
|
|
1742
|
-
},
|
|
1739
|
+
return a === "home" ? lt : st;
|
|
1740
|
+
const o = (l = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : l[n];
|
|
1741
|
+
return o || (a === "home" ? lt : st);
|
|
1742
|
+
}, _n = {
|
|
1743
1743
|
FIRST_HALF: "1er tiempo",
|
|
1744
1744
|
SECOND_HALF: "2do tiempo",
|
|
1745
1745
|
QUARTER1: "1Q",
|
|
1746
1746
|
QUARTER2: "2Q",
|
|
1747
1747
|
QUARTER3: "3Q",
|
|
1748
1748
|
QUARTER4: "4Q"
|
|
1749
|
-
},
|
|
1749
|
+
}, ct = (e) => {
|
|
1750
1750
|
var a;
|
|
1751
|
-
return e ? (a =
|
|
1751
|
+
return e ? (a = _n[e]) != null ? a : e : "";
|
|
1752
1752
|
};
|
|
1753
|
-
function
|
|
1754
|
-
var u,
|
|
1755
|
-
const i = ((u = e == null ? void 0 : e.sport) == null ? void 0 : u.toUpperCase()) === "TENNIS",
|
|
1753
|
+
function vn({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
1754
|
+
var u, _, x, v, S, M, E, h, C, O, w, L, R, $, y, I, F, B, P, W, V, D, G, q, K, Y, r, p, T, A;
|
|
1755
|
+
const i = ((u = e == null ? void 0 : e.sport) == null ? void 0 : u.toUpperCase()) === "TENNIS", l = ((_ = e == null ? void 0 : e.sport) == null ? void 0 : _.toUpperCase()) === "BASKETBALL", s = ((x = e == null ? void 0 : e.sport) == null ? void 0 : x.toUpperCase()) === "FOOTBALL", c = n == null ? void 0 : n.find(
|
|
1756
1756
|
(k) => {
|
|
1757
1757
|
var N;
|
|
1758
1758
|
return ((N = k.betOfferType) == null ? void 0 : N.id) === 2;
|
|
1759
1759
|
}
|
|
1760
|
-
),
|
|
1760
|
+
), g = {
|
|
1761
1761
|
englishLabel: "",
|
|
1762
1762
|
type: "",
|
|
1763
1763
|
betOfferId: 0,
|
|
@@ -1766,28 +1766,28 @@ function _n({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1766
1766
|
oddsAmerican: "",
|
|
1767
1767
|
status: "INACTIVE",
|
|
1768
1768
|
cashOutStatus: "SUSPENDED"
|
|
1769
|
-
},
|
|
1769
|
+
}, f = () => {
|
|
1770
1770
|
var z, J, ne;
|
|
1771
1771
|
return `${((ne = (J = (z = a == null ? void 0 : a.statistics) == null ? void 0 : z.sets) == null ? void 0 : J.home) != null ? ne : []).reduce((oe, j, ie) => j >= 0 ? ie : oe, 0) + 1}ºset`;
|
|
1772
1772
|
}, m = [
|
|
1773
|
-
{ ...
|
|
1774
|
-
{ ...
|
|
1775
|
-
{ ...
|
|
1773
|
+
{ ...g, id: -1, label: "1", odds: void 0 },
|
|
1774
|
+
{ ...g, id: -2, label: "X", odds: void 0 },
|
|
1775
|
+
{ ...g, id: -3, label: "2", odds: void 0 }
|
|
1776
1776
|
], d = (v = o == null ? void 0 : o.gender) != null ? v : "men";
|
|
1777
|
-
return /* @__PURE__ */ t("div", { className: `${Ie.cardWrapper} ${i ? Ie.cardWrapperTennis : ""}`, children: /* @__PURE__ */
|
|
1778
|
-
/* @__PURE__ */
|
|
1777
|
+
return /* @__PURE__ */ t("div", { className: `${Ie.cardWrapper} ${i ? Ie.cardWrapperTennis : ""}`, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1778
|
+
/* @__PURE__ */ b(Q, { direction: "column", spacing: i ? 1 : 1.5, useFlexGap: !0, children: [
|
|
1779
1779
|
/* @__PURE__ */ t(
|
|
1780
|
-
|
|
1780
|
+
ra,
|
|
1781
1781
|
{
|
|
1782
1782
|
title: (E = (M = (S = e == null ? void 0 : e.path) == null ? void 0 : S[0]) == null ? void 0 : M.name) != null ? E : "",
|
|
1783
|
-
subtitle: (
|
|
1783
|
+
subtitle: (h = e == null ? void 0 : e.group) != null ? h : "",
|
|
1784
1784
|
live: !0,
|
|
1785
|
-
time: i ?
|
|
1786
|
-
extra:
|
|
1785
|
+
time: i ? f() : ((C = a == null ? void 0 : a.matchClock) == null ? void 0 : C.minute) != null ? `${a.matchClock.minute}'` : "",
|
|
1786
|
+
extra: l ? ct((O = a == null ? void 0 : a.matchClock) == null ? void 0 : O.periodId) : ""
|
|
1787
1787
|
}
|
|
1788
1788
|
),
|
|
1789
1789
|
/* @__PURE__ */ t("div", { children: i ? /* @__PURE__ */ t(
|
|
1790
|
-
|
|
1790
|
+
pn,
|
|
1791
1791
|
{
|
|
1792
1792
|
homeName: e == null ? void 0 : e.homeName,
|
|
1793
1793
|
awayName: e == null ? void 0 : e.awayName,
|
|
@@ -1795,11 +1795,11 @@ function _n({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1795
1795
|
awaySets: (I = (y = ($ = a == null ? void 0 : a.statistics) == null ? void 0 : $.sets) == null ? void 0 : y.away) != null ? I : [],
|
|
1796
1796
|
homePoints: (B = (F = a == null ? void 0 : a.score) == null ? void 0 : F.home) != null ? B : "0",
|
|
1797
1797
|
awayPoints: (W = (P = a == null ? void 0 : a.score) == null ? void 0 : P.away) != null ? W : "0",
|
|
1798
|
-
homeServe: (
|
|
1798
|
+
homeServe: (G = (D = (V = a == null ? void 0 : a.statistics) == null ? void 0 : V.sets) == null ? void 0 : D.homeServe) != null ? G : !0
|
|
1799
1799
|
}
|
|
1800
|
-
) : /* @__PURE__ */
|
|
1800
|
+
) : /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1801
1801
|
/* @__PURE__ */ t(Ue, { name: e == null ? void 0 : e.homeName, sport: e.sport, gender: d, jersey: We(o, "home"), flag: (q = o == null ? void 0 : o.homeFlag) != null ? q : "" }),
|
|
1802
|
-
/* @__PURE__ */ t(
|
|
1802
|
+
/* @__PURE__ */ t(wt, { size: l ? "basketball" : "normal", text: ((Y = (K = a == null ? void 0 : a.score) == null ? void 0 : K.home) != null ? Y : 0) + ":" + ((p = (r = a == null ? void 0 : a.score) == null ? void 0 : r.away) != null ? p : 0), name: s ? ct((T = a == null ? void 0 : a.matchClock) == null ? void 0 : T.periodId) : "" }),
|
|
1803
1803
|
/* @__PURE__ */ t(Ue, { name: e == null ? void 0 : e.awayName, sport: e.sport, gender: d, jersey: We(o, "away"), flag: (A = o == null ? void 0 : o.awayFlag) != null ? A : "" })
|
|
1804
1804
|
] }) })
|
|
1805
1805
|
] }),
|
|
@@ -1815,10 +1815,10 @@ function _n({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1815
1815
|
var ie, Se, we, Oe;
|
|
1816
1816
|
return i || z.length === 2 ? j.type === "OT_ONE" ? "1" : j.type === "OT_TWO" ? "2" : (Se = (ie = j.label) == null ? void 0 : ie.toUpperCase()) != null ? Se : "" : (Oe = (we = j.label) == null ? void 0 : we.toUpperCase()) != null ? Oe : "";
|
|
1817
1817
|
};
|
|
1818
|
-
return /* @__PURE__ */ t(te, { children:
|
|
1819
|
-
/* @__PURE__ */ t(me, { spacing: 1, columns: "1fr", children: /* @__PURE__ */ t(
|
|
1818
|
+
return /* @__PURE__ */ t(te, { children: l || i ? /* @__PURE__ */ b(te, { children: [
|
|
1819
|
+
/* @__PURE__ */ t(me, { spacing: 1, columns: "1fr", children: /* @__PURE__ */ t(Je, { text: "Ganador del partido" }) }),
|
|
1820
1820
|
/* @__PURE__ */ t(me, { spacing: 2, children: z.slice(0, 2).map((j, ie) => /* @__PURE__ */ t(
|
|
1821
|
-
|
|
1821
|
+
it,
|
|
1822
1822
|
{
|
|
1823
1823
|
variant: "primary",
|
|
1824
1824
|
disabled: j.odds === void 0 || (c == null ? void 0 : c.cashOutStatus) === "SUSPENDED",
|
|
@@ -1829,7 +1829,7 @@ function _n({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1829
1829
|
);
|
|
1830
1830
|
},
|
|
1831
1831
|
className: Ie.customButtonDisabled,
|
|
1832
|
-
children: /* @__PURE__ */
|
|
1832
|
+
children: /* @__PURE__ */ b(
|
|
1833
1833
|
"div",
|
|
1834
1834
|
{
|
|
1835
1835
|
style: {
|
|
@@ -1848,16 +1848,16 @@ function _n({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1848
1848
|
},
|
|
1849
1849
|
j.id || ie
|
|
1850
1850
|
)) })
|
|
1851
|
-
] }) : /* @__PURE__ */
|
|
1851
|
+
] }) : /* @__PURE__ */ b(te, { children: [
|
|
1852
1852
|
/* @__PURE__ */ t(me, { spacing: 1, children: z.map((j, ie) => /* @__PURE__ */ t(
|
|
1853
|
-
|
|
1853
|
+
Je,
|
|
1854
1854
|
{
|
|
1855
1855
|
text: J(j)
|
|
1856
1856
|
},
|
|
1857
1857
|
j.id || ie
|
|
1858
1858
|
)) }),
|
|
1859
1859
|
/* @__PURE__ */ t(me, { spacing: 2, children: z.map((j, ie) => /* @__PURE__ */ t(
|
|
1860
|
-
|
|
1860
|
+
it,
|
|
1861
1861
|
{
|
|
1862
1862
|
variant: "primary",
|
|
1863
1863
|
disabled: j.odds === void 0 || (c == null ? void 0 : c.cashOutStatus) === "SUSPENDED",
|
|
@@ -1876,29 +1876,29 @@ function _n({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1876
1876
|
})() })
|
|
1877
1877
|
] }) });
|
|
1878
1878
|
}
|
|
1879
|
-
const
|
|
1880
|
-
date:
|
|
1879
|
+
const yn = "oraculo__OraculoEventDate-module__date___xhIlh", xn = {
|
|
1880
|
+
date: yn
|
|
1881
1881
|
};
|
|
1882
|
-
function
|
|
1883
|
-
return /* @__PURE__ */ t("div", { className: `oli-font ${
|
|
1882
|
+
function Sn({ text: e }) {
|
|
1883
|
+
return /* @__PURE__ */ t("div", { className: `oli-font ${xn.date}`, children: e });
|
|
1884
1884
|
}
|
|
1885
|
-
const
|
|
1886
|
-
cardContainer:
|
|
1887
|
-
cardBackground:
|
|
1888
|
-
jugadas:
|
|
1889
|
-
equipos:
|
|
1885
|
+
const wn = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", On = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", In = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Tn = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", Te = {
|
|
1886
|
+
cardContainer: wn,
|
|
1887
|
+
cardBackground: On,
|
|
1888
|
+
jugadas: In,
|
|
1889
|
+
equipos: Tn
|
|
1890
1890
|
};
|
|
1891
|
-
function
|
|
1892
|
-
var c,
|
|
1891
|
+
function En({ event: e, jersey: a }) {
|
|
1892
|
+
var c, g, f, m;
|
|
1893
1893
|
const n = se(), o = ce();
|
|
1894
1894
|
function i(d) {
|
|
1895
|
-
const u = new Date(d),
|
|
1895
|
+
const u = new Date(d), _ = u.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), x = u.getDate().toString().padStart(2, "0"), v = (u.getMonth() + 1).toString().padStart(2, "0");
|
|
1896
1896
|
let S = u.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1897
|
-
return S = S.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${
|
|
1897
|
+
return S = S.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${_} ${x}/${v} | ${S}`;
|
|
1898
1898
|
}
|
|
1899
|
-
const
|
|
1900
|
-
var E,
|
|
1901
|
-
const u = `/deportes#event/${e.id}`,
|
|
1899
|
+
const l = (d) => {
|
|
1900
|
+
var E, h, C, O, w, L, R, $;
|
|
1901
|
+
const u = `/deportes#event/${e.id}`, _ = `${e.homeName} vs ${e.awayName}`, x = d.odds ? (d.odds / 1e3).toFixed(2) : "", v = x ? `${_} - Cuota: ${x}` : _, S = (E = e == null ? void 0 : e.outcome) == null ? void 0 : E[0], M = new CustomEvent("ORACULO_WEEKLY_OUTCOME_SELECTED", {
|
|
1902
1902
|
cancelable: !0,
|
|
1903
1903
|
detail: {
|
|
1904
1904
|
eventId: e.id,
|
|
@@ -1909,7 +1909,7 @@ function Tn({ event: e, jersey: a }) {
|
|
|
1909
1909
|
sport: e.sport,
|
|
1910
1910
|
league: e.group,
|
|
1911
1911
|
leagueId: e.groupId,
|
|
1912
|
-
country: (C = (
|
|
1912
|
+
country: (C = (h = e.path) == null ? void 0 : h[1]) == null ? void 0 : C.name,
|
|
1913
1913
|
outcomeId: d.id,
|
|
1914
1914
|
outcomeLabel: d.label,
|
|
1915
1915
|
outcomeType: d.type,
|
|
@@ -1931,54 +1931,54 @@ function Tn({ event: e, jersey: a }) {
|
|
|
1931
1931
|
},
|
|
1932
1932
|
tags: { section: "OraculoEventSemanaCard", outcomes: v }
|
|
1933
1933
|
}), qe(u, d.id));
|
|
1934
|
-
},
|
|
1935
|
-
return /* @__PURE__ */
|
|
1936
|
-
/* @__PURE__ */ t(
|
|
1937
|
-
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */
|
|
1938
|
-
/* @__PURE__ */
|
|
1939
|
-
/* @__PURE__ */
|
|
1940
|
-
/* @__PURE__ */ t(Ue, { name: e.homeName, sport: e.sport, gender:
|
|
1941
|
-
/* @__PURE__ */ t(
|
|
1942
|
-
/* @__PURE__ */ t(Ue, { name: e.awayName, sport: e.sport, gender:
|
|
1934
|
+
}, s = (c = a == null ? void 0 : a.gender) != null ? c : "men";
|
|
1935
|
+
return /* @__PURE__ */ b("div", { className: Te.cardContainer, children: [
|
|
1936
|
+
/* @__PURE__ */ t(St, { title: (g = e == null ? void 0 : e.group) != null ? g : "" }),
|
|
1937
|
+
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1938
|
+
/* @__PURE__ */ b(Q, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1939
|
+
/* @__PURE__ */ b("div", { className: Te.equipos, children: [
|
|
1940
|
+
/* @__PURE__ */ t(Ue, { name: e.homeName, sport: e.sport, gender: s, size: "compact", jersey: We(a, "home"), flag: (f = a == null ? void 0 : a.homeFlag) != null ? f : "" }),
|
|
1941
|
+
/* @__PURE__ */ t(wt, { text: "vs.", name: "", size: "small" }),
|
|
1942
|
+
/* @__PURE__ */ t(Ue, { name: e.awayName, sport: e.sport, gender: s, size: "compact", jersey: We(a, "away"), flag: (m = a == null ? void 0 : a.awayFlag) != null ? m : "" })
|
|
1943
1943
|
] }),
|
|
1944
|
-
/* @__PURE__ */ t(
|
|
1944
|
+
/* @__PURE__ */ t(Sn, { text: i(e.start) })
|
|
1945
1945
|
] }),
|
|
1946
1946
|
/* @__PURE__ */ t(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: (() => {
|
|
1947
1947
|
var S, M, E;
|
|
1948
|
-
const d = (E = (M = (S = e == null ? void 0 : e.outcome) == null ? void 0 : S[0]) == null ? void 0 : M.outcomes) != null ? E : [], u = (e == null ? void 0 : e.sport) === "TENNIS",
|
|
1948
|
+
const d = (E = (M = (S = e == null ? void 0 : e.outcome) == null ? void 0 : S[0]) == null ? void 0 : M.outcomes) != null ? E : [], u = (e == null ? void 0 : e.sport) === "TENNIS", _ = { OT_ONE: 1, OT_CROSS: 2, OT_TWO: 3 }, x = [...d].sort((h, C) => {
|
|
1949
1949
|
var L, R;
|
|
1950
|
-
if (
|
|
1951
|
-
return
|
|
1952
|
-
const O =
|
|
1950
|
+
if (h.displayOrder !== void 0 && C.displayOrder !== void 0)
|
|
1951
|
+
return h.displayOrder - C.displayOrder;
|
|
1952
|
+
const O = h.type && (L = _[h.type]) != null ? L : 99, w = C.type && (R = _[C.type]) != null ? R : 99;
|
|
1953
1953
|
return O - w;
|
|
1954
|
-
}), v = (
|
|
1954
|
+
}), v = (h) => {
|
|
1955
1955
|
var C, O, w, L;
|
|
1956
|
-
return u || x.length === 2 ?
|
|
1956
|
+
return u || x.length === 2 ? h.type === "OT_ONE" ? "1" : h.type === "OT_TWO" ? "2" : (O = (C = h.label) == null ? void 0 : C.toUpperCase()) != null ? O : "" : (L = (w = h.label) == null ? void 0 : w.toUpperCase()) != null ? L : "";
|
|
1957
1957
|
};
|
|
1958
|
-
return /* @__PURE__ */
|
|
1959
|
-
/* @__PURE__ */ t(me, { spacing: 1, children: x.map((
|
|
1960
|
-
|
|
1958
|
+
return /* @__PURE__ */ b(te, { children: [
|
|
1959
|
+
/* @__PURE__ */ t(me, { spacing: 1, children: x.map((h, C) => /* @__PURE__ */ t(
|
|
1960
|
+
Je,
|
|
1961
1961
|
{
|
|
1962
|
-
text: v(
|
|
1962
|
+
text: v(h)
|
|
1963
1963
|
},
|
|
1964
|
-
|
|
1964
|
+
h.id || C
|
|
1965
1965
|
)) }),
|
|
1966
|
-
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: x.map((
|
|
1966
|
+
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ t(me, { spacing: 1, children: x.map((h, C) => /* @__PURE__ */ t(
|
|
1967
1967
|
ae,
|
|
1968
1968
|
{
|
|
1969
1969
|
variant: "primary",
|
|
1970
1970
|
fullHeight: !0,
|
|
1971
|
-
onClick: () =>
|
|
1972
|
-
children: (
|
|
1971
|
+
onClick: () => l(h),
|
|
1972
|
+
children: (h.odds / 1e3).toFixed(2)
|
|
1973
1973
|
},
|
|
1974
|
-
|
|
1974
|
+
h.id || C
|
|
1975
1975
|
)) }) })
|
|
1976
1976
|
] });
|
|
1977
1977
|
})() })
|
|
1978
1978
|
] }) })
|
|
1979
1979
|
] });
|
|
1980
1980
|
}
|
|
1981
|
-
const
|
|
1981
|
+
const Cn = (e = 3) => Array.from({ length: e }, (a, n) => ({
|
|
1982
1982
|
body: "",
|
|
1983
1983
|
image: "",
|
|
1984
1984
|
title: `sk-${n}`,
|
|
@@ -1990,17 +1990,17 @@ const En = (e = 3) => Array.from({ length: e }, (a, n) => ({
|
|
|
1990
1990
|
tags: "",
|
|
1991
1991
|
summary_image: ""
|
|
1992
1992
|
}));
|
|
1993
|
-
function
|
|
1993
|
+
function kn({
|
|
1994
1994
|
items: e,
|
|
1995
1995
|
title: a = "Destacados",
|
|
1996
1996
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
|
|
1997
1997
|
onViewMore: o,
|
|
1998
1998
|
onItemClick: i,
|
|
1999
|
-
className:
|
|
2000
|
-
paddingMobile:
|
|
1999
|
+
className: l = "",
|
|
2000
|
+
paddingMobile: s = "24px"
|
|
2001
2001
|
}) {
|
|
2002
2002
|
var O;
|
|
2003
|
-
const c = Z(null), [
|
|
2003
|
+
const c = Z(null), [g, f] = ee({ isStart: !0, isEnd: !1 }), m = se(), d = ce(), u = pe(), _ = !e || e.length === 0, x = () => {
|
|
2004
2004
|
var w;
|
|
2005
2005
|
m({
|
|
2006
2006
|
element: "destacados_carousel_prev",
|
|
@@ -2038,14 +2038,14 @@ function Cn({
|
|
|
2038
2038
|
},
|
|
2039
2039
|
tags: { section: "OraculoSeccionDestacados" }
|
|
2040
2040
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
2041
|
-
}, M =
|
|
2041
|
+
}, M = l || void 0, E = Ne("(max-width:950px)"), h = (O = e == null ? void 0 : e.length) != null ? O : 0;
|
|
2042
2042
|
re(() => {
|
|
2043
|
-
if (
|
|
2044
|
-
|
|
2043
|
+
if (h === 0) {
|
|
2044
|
+
f({ isStart: !0, isEnd: !0 });
|
|
2045
2045
|
return;
|
|
2046
2046
|
}
|
|
2047
|
-
|
|
2048
|
-
}, [
|
|
2047
|
+
f({ isStart: !0, isEnd: !1 });
|
|
2048
|
+
}, [h, E, s]);
|
|
2049
2049
|
const C = (w) => {
|
|
2050
2050
|
const L = w.promotion, R = L ? `https://www.olimpo.bet/promociones/${encodeURIComponent(L)}` : "";
|
|
2051
2051
|
if (m({
|
|
@@ -2067,8 +2067,8 @@ function Cn({
|
|
|
2067
2067
|
}
|
|
2068
2068
|
R && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(R);
|
|
2069
2069
|
};
|
|
2070
|
-
return /* @__PURE__ */
|
|
2071
|
-
/* @__PURE__ */
|
|
2070
|
+
return /* @__PURE__ */ b("section", { className: M, style: { width: "100%" }, children: [
|
|
2071
|
+
/* @__PURE__ */ b(
|
|
2072
2072
|
"header",
|
|
2073
2073
|
{
|
|
2074
2074
|
style: {
|
|
@@ -2078,12 +2078,12 @@ function Cn({
|
|
|
2078
2078
|
columnGap: 12,
|
|
2079
2079
|
rowGap: 8,
|
|
2080
2080
|
marginBottom: 16,
|
|
2081
|
-
paddingLeft: E ?
|
|
2082
|
-
paddingRight: E ?
|
|
2081
|
+
paddingLeft: E ? s : 0,
|
|
2082
|
+
paddingRight: E ? s : 0
|
|
2083
2083
|
},
|
|
2084
2084
|
children: [
|
|
2085
2085
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2086
|
-
/* @__PURE__ */
|
|
2086
|
+
/* @__PURE__ */ b("div", { style: { display: "flex", gap: 8 }, children: [
|
|
2087
2087
|
/* @__PURE__ */ t(
|
|
2088
2088
|
ae,
|
|
2089
2089
|
{
|
|
@@ -2092,7 +2092,7 @@ function Cn({
|
|
|
2092
2092
|
iconOnly: !0,
|
|
2093
2093
|
leftIcon: /* @__PURE__ */ t(De, {}),
|
|
2094
2094
|
onClick: x,
|
|
2095
|
-
disabled:
|
|
2095
|
+
disabled: g.isStart || _
|
|
2096
2096
|
}
|
|
2097
2097
|
),
|
|
2098
2098
|
/* @__PURE__ */ t(
|
|
@@ -2101,9 +2101,9 @@ function Cn({
|
|
|
2101
2101
|
ariaLabel: "Siguiente",
|
|
2102
2102
|
variant: "secondary",
|
|
2103
2103
|
iconOnly: !0,
|
|
2104
|
-
rightIcon: /* @__PURE__ */ t(
|
|
2104
|
+
rightIcon: /* @__PURE__ */ t(He, {}),
|
|
2105
2105
|
onClick: v,
|
|
2106
|
-
disabled:
|
|
2106
|
+
disabled: g.isEnd || _
|
|
2107
2107
|
}
|
|
2108
2108
|
)
|
|
2109
2109
|
] }),
|
|
@@ -2115,19 +2115,19 @@ function Cn({
|
|
|
2115
2115
|
xe,
|
|
2116
2116
|
{
|
|
2117
2117
|
ref: c,
|
|
2118
|
-
items:
|
|
2118
|
+
items: _ ? Cn() : e,
|
|
2119
2119
|
perPage: void 0,
|
|
2120
2120
|
gap: "16px",
|
|
2121
2121
|
enableHorizontalWheel: !0,
|
|
2122
2122
|
showRightGradient: !E,
|
|
2123
2123
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2124
2124
|
breakpoints: {
|
|
2125
|
-
768: { perPage: 2, focus: "start", padding: { left:
|
|
2125
|
+
768: { perPage: 2, focus: "start", padding: { left: s, right: s } },
|
|
2126
2126
|
1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
|
|
2127
2127
|
},
|
|
2128
2128
|
renderItem: (w) => {
|
|
2129
2129
|
const L = typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px";
|
|
2130
|
-
return
|
|
2130
|
+
return _ ? /* @__PURE__ */ t("div", { style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
2131
2131
|
X,
|
|
2132
2132
|
{
|
|
2133
2133
|
variant: "rectangular",
|
|
@@ -2168,7 +2168,7 @@ function Cn({
|
|
|
2168
2168
|
);
|
|
2169
2169
|
},
|
|
2170
2170
|
onMove: ({ isStart: w, isEnd: L, source: R }) => {
|
|
2171
|
-
|
|
2171
|
+
f({ isStart: w, isEnd: L }), R === "user" && m({
|
|
2172
2172
|
element: "destacados_carousel_slide",
|
|
2173
2173
|
label: `${d} - OraculoSeccionDestacados - Slide Carousel`,
|
|
2174
2174
|
target: "carousel",
|
|
@@ -2187,43 +2187,61 @@ function Cn({
|
|
|
2187
2187
|
] });
|
|
2188
2188
|
}
|
|
2189
2189
|
const ze = "__ORACULO_EXTRAS__";
|
|
2190
|
-
function
|
|
2190
|
+
function kt() {
|
|
2191
2191
|
const e = globalThis;
|
|
2192
2192
|
return e[ze] || (e[ze] = {}), e[ze];
|
|
2193
2193
|
}
|
|
2194
|
-
function
|
|
2195
|
-
|
|
2194
|
+
function Nn(e) {
|
|
2195
|
+
kt().extras = e;
|
|
2196
2196
|
}
|
|
2197
2197
|
function ue(e) {
|
|
2198
2198
|
var a;
|
|
2199
|
-
return (a =
|
|
2199
|
+
return (a = kt().extras) == null ? void 0 : a[e];
|
|
2200
2200
|
}
|
|
2201
|
-
function
|
|
2201
|
+
function $n() {
|
|
2202
2202
|
delete globalThis[ze];
|
|
2203
2203
|
}
|
|
2204
|
-
|
|
2204
|
+
const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularidad/events", Mn = () => {
|
|
2205
|
+
var a, n, o;
|
|
2206
|
+
const e = ue("user");
|
|
2207
|
+
return (o = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? o : null;
|
|
2208
|
+
}, Ge = (e) => {
|
|
2209
|
+
if (!e) return;
|
|
2210
|
+
const a = Mn();
|
|
2211
|
+
fetch(An, {
|
|
2212
|
+
method: "POST",
|
|
2213
|
+
headers: { "Content-Type": "application/json" },
|
|
2214
|
+
body: JSON.stringify({
|
|
2215
|
+
userId: a != null ? String(a) : null,
|
|
2216
|
+
itemId: String(e)
|
|
2217
|
+
})
|
|
2218
|
+
}).catch((n) => {
|
|
2219
|
+
console.error("[trackPopularityEvent] error al registrar evento:", n);
|
|
2220
|
+
});
|
|
2221
|
+
};
|
|
2222
|
+
function Bn({
|
|
2205
2223
|
items: e,
|
|
2206
2224
|
title: a = "Top Juegos",
|
|
2207
2225
|
iconUrl: n,
|
|
2208
2226
|
onCardClick: o
|
|
2209
2227
|
}) {
|
|
2210
|
-
const i = se(),
|
|
2228
|
+
const i = se(), l = ce(), s = pe(), c = de(
|
|
2211
2229
|
() => (e != null ? e : []).map((d, u) => {
|
|
2212
|
-
var
|
|
2230
|
+
var _;
|
|
2213
2231
|
return {
|
|
2214
2232
|
...d,
|
|
2215
|
-
orden: (
|
|
2233
|
+
orden: (_ = d.orden) != null ? _ : u + 1,
|
|
2216
2234
|
_originalIndex: u
|
|
2217
2235
|
};
|
|
2218
2236
|
}).sort((d, u) => d.orden != null && u.orden != null ? d.orden - u.orden : d._originalIndex - u._originalIndex),
|
|
2219
2237
|
[e]
|
|
2220
|
-
),
|
|
2238
|
+
), g = !e || e.length === 0, f = g ? Array.from({ length: 6 }) : c.slice(0, 6), m = (d) => {
|
|
2221
2239
|
i({
|
|
2222
2240
|
element: "top_juegos_card",
|
|
2223
|
-
label: `${
|
|
2241
|
+
label: `${l} - OraculoSeccionTopJuegos - Open game: ${String(d.machine || "unknown")}`,
|
|
2224
2242
|
target: String(d.machine || "unknown"),
|
|
2225
2243
|
event_type: "click",
|
|
2226
|
-
module_id:
|
|
2244
|
+
module_id: s,
|
|
2227
2245
|
metadata: {
|
|
2228
2246
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2229
2247
|
},
|
|
@@ -2231,13 +2249,13 @@ function $n({
|
|
|
2231
2249
|
game_name: String(d.machine || "unknown"),
|
|
2232
2250
|
section: "OraculoSeccionTopJuegos"
|
|
2233
2251
|
}
|
|
2234
|
-
});
|
|
2235
|
-
const u = ue("showIframe"),
|
|
2252
|
+
}), Ge(String(d.machine || ""));
|
|
2253
|
+
const u = ue("showIframe"), _ = ue("loadMachine");
|
|
2236
2254
|
u == null || u(), requestAnimationFrame(() => {
|
|
2237
|
-
|
|
2255
|
+
_ == null || _(d, !1, "CASINO");
|
|
2238
2256
|
});
|
|
2239
2257
|
};
|
|
2240
|
-
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
2258
|
+
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2241
2259
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2242
2260
|
/* @__PURE__ */ t(
|
|
2243
2261
|
U,
|
|
@@ -2252,27 +2270,27 @@ function $n({
|
|
|
2252
2270
|
justifyItems: "center",
|
|
2253
2271
|
width: "100%"
|
|
2254
2272
|
},
|
|
2255
|
-
children:
|
|
2256
|
-
var
|
|
2273
|
+
children: f.map((d, u) => {
|
|
2274
|
+
var _, x;
|
|
2257
2275
|
return /* @__PURE__ */ t(
|
|
2258
|
-
|
|
2276
|
+
Pa,
|
|
2259
2277
|
{
|
|
2260
|
-
imageUrl:
|
|
2261
|
-
orden:
|
|
2262
|
-
loading:
|
|
2263
|
-
onClick:
|
|
2278
|
+
imageUrl: g ? "" : d.background ? `https://olimpo.bet${d.background}` : `https://olimpo.bet${(_ = d.logo) != null ? _ : ""}`,
|
|
2279
|
+
orden: g ? u + 1 : d.orden,
|
|
2280
|
+
loading: g,
|
|
2281
|
+
onClick: g ? void 0 : () => {
|
|
2264
2282
|
o == null || o(d), m(d);
|
|
2265
2283
|
}
|
|
2266
2284
|
},
|
|
2267
|
-
|
|
2285
|
+
g ? `sk-${u}` : (x = d.machine) != null ? x : `${u}`
|
|
2268
2286
|
);
|
|
2269
2287
|
})
|
|
2270
2288
|
}
|
|
2271
2289
|
)
|
|
2272
2290
|
] }) });
|
|
2273
2291
|
}
|
|
2274
|
-
const
|
|
2275
|
-
var n, o, i,
|
|
2292
|
+
const Ln = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularidad?type=popularidad", Rn = 8, Pn = 80, Fn = (e, a) => {
|
|
2293
|
+
var n, o, i, l, s, c, g, f, m, d, u, _, x, v;
|
|
2276
2294
|
return {
|
|
2277
2295
|
orden: Number(a),
|
|
2278
2296
|
machine: String(
|
|
@@ -2280,108 +2298,97 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2280
2298
|
),
|
|
2281
2299
|
logo: (o = e.logo) != null ? o : "",
|
|
2282
2300
|
name: (i = e.room_name) != null ? i : "",
|
|
2283
|
-
web_name: (
|
|
2284
|
-
provider: (
|
|
2301
|
+
web_name: (l = e.room_name) != null ? l : "",
|
|
2302
|
+
provider: (s = e.provider) != null ? s : "",
|
|
2285
2303
|
sub_provider: (c = e.service) != null ? c : "",
|
|
2286
|
-
external_id: (
|
|
2287
|
-
type: (
|
|
2304
|
+
external_id: (g = e.external_id) != null ? g : "",
|
|
2305
|
+
type: (f = e.product) != null ? f : "",
|
|
2288
2306
|
tags: (m = e.tags) != null ? m : "",
|
|
2289
2307
|
lobby_tag: (d = e.lobby_tag) != null ? d : null,
|
|
2290
2308
|
background: (u = e.background) != null ? u : "",
|
|
2291
|
-
rtp: (
|
|
2309
|
+
rtp: (_ = e.rtp) != null ? _ : null,
|
|
2292
2310
|
demo_allowed: (x = e.demo_allowed) != null ? x : !1,
|
|
2293
2311
|
gaming_session_required: (v = e.gaming_session_required) != null ? v : !1
|
|
2294
2312
|
};
|
|
2295
|
-
},
|
|
2296
|
-
var n, o, i, s;
|
|
2313
|
+
}, zn = (e, a) => {
|
|
2297
2314
|
if (!e) return [];
|
|
2298
|
-
const
|
|
2299
|
-
return Array.isArray(
|
|
2300
|
-
(
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
)
|
|
2305
|
-
}, Pn = () => {
|
|
2306
|
-
var a, n, o;
|
|
2307
|
-
const e = ue("user");
|
|
2308
|
-
return (o = (n = (a = e == null ? void 0 : e.userId) != null ? a : e == null ? void 0 : e.user) != null ? n : e == null ? void 0 : e.id) != null ? o : null;
|
|
2309
|
-
}, Fn = async (e) => {
|
|
2310
|
-
const a = Pn(), n = new URLSearchParams({
|
|
2311
|
-
userId: String(a),
|
|
2312
|
-
productType: e
|
|
2313
|
-
}), o = `${An}?${n.toString()}`, i = await fetch(o);
|
|
2314
|
-
if (!i.ok)
|
|
2315
|
+
const n = Array.isArray(e) ? e : e.recommendations;
|
|
2316
|
+
return Array.isArray(n) ? n.filter(
|
|
2317
|
+
(o) => o && o.itemId != null && o.productType === a
|
|
2318
|
+
).map((o) => String(o.itemId)) : [];
|
|
2319
|
+
}, Un = async (e) => {
|
|
2320
|
+
const a = await fetch(Ln);
|
|
2321
|
+
if (!a.ok)
|
|
2315
2322
|
throw new Error(
|
|
2316
|
-
`No se pudo obtener
|
|
2323
|
+
`No se pudo obtener la popularidad. HTTP ${a.status} ${a.statusText}`
|
|
2317
2324
|
);
|
|
2318
|
-
const
|
|
2319
|
-
return
|
|
2320
|
-
},
|
|
2325
|
+
const n = await a.json();
|
|
2326
|
+
return zn(n, e);
|
|
2327
|
+
}, qn = async (e, a, n) => {
|
|
2321
2328
|
const o = [];
|
|
2322
|
-
let i = 0,
|
|
2323
|
-
const
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
},
|
|
2329
|
+
let i = 0, l = null;
|
|
2330
|
+
const s = () => {
|
|
2331
|
+
l || n() || (l = setTimeout(() => {
|
|
2332
|
+
l = null, n() || a(o.filter(Boolean));
|
|
2333
|
+
}, Pn));
|
|
2327
2334
|
}, c = async () => {
|
|
2328
2335
|
for (; i < e.length; ) {
|
|
2329
2336
|
if (n()) return;
|
|
2330
|
-
const
|
|
2337
|
+
const f = i++, m = e[f];
|
|
2331
2338
|
try {
|
|
2332
2339
|
const d = await fetch(`https://api.mktolimpo.com/api/machine/${m}`);
|
|
2333
2340
|
if (!d.ok)
|
|
2334
2341
|
throw new Error(`No se pudo obtener machine ${m}`);
|
|
2335
2342
|
const u = await d.json();
|
|
2336
|
-
o[
|
|
2343
|
+
o[f] = Fn(u, f), s();
|
|
2337
2344
|
} catch (d) {
|
|
2338
2345
|
console.error(`[usePersonalizeGameItems] error al obtener machine ${m}:`, d);
|
|
2339
2346
|
}
|
|
2340
2347
|
}
|
|
2341
|
-
},
|
|
2342
|
-
{ length: Math.min(
|
|
2348
|
+
}, g = Array.from(
|
|
2349
|
+
{ length: Math.min(Rn, e.length) },
|
|
2343
2350
|
() => c()
|
|
2344
2351
|
);
|
|
2345
|
-
await Promise.all(
|
|
2346
|
-
},
|
|
2347
|
-
const [o, i] = ee([]), [
|
|
2352
|
+
await Promise.all(g), l && clearTimeout(l), n() || a(o.filter(Boolean));
|
|
2353
|
+
}, Qe = (e, a = !1, n = "Casino") => {
|
|
2354
|
+
const [o, i] = ee([]), [l, s] = ee(!1);
|
|
2348
2355
|
return re(() => {
|
|
2349
2356
|
let c = !1;
|
|
2350
2357
|
return (async () => {
|
|
2351
2358
|
if (!a) {
|
|
2352
|
-
i(Array.isArray(e) ? e : []),
|
|
2359
|
+
i(Array.isArray(e) ? e : []), s(!1);
|
|
2353
2360
|
return;
|
|
2354
2361
|
}
|
|
2355
|
-
|
|
2362
|
+
s(!0), i([]);
|
|
2356
2363
|
try {
|
|
2357
|
-
const
|
|
2358
|
-
if (!
|
|
2364
|
+
const f = await Un(n);
|
|
2365
|
+
if (!f.length) {
|
|
2359
2366
|
c || i([]);
|
|
2360
2367
|
return;
|
|
2361
2368
|
}
|
|
2362
|
-
await
|
|
2363
|
-
|
|
2369
|
+
await qn(
|
|
2370
|
+
f,
|
|
2364
2371
|
(m) => {
|
|
2365
|
-
c || (i(m),
|
|
2372
|
+
c || (i(m), s(!1));
|
|
2366
2373
|
},
|
|
2367
2374
|
() => c
|
|
2368
2375
|
);
|
|
2369
|
-
} catch (
|
|
2370
|
-
console.error(`[usePersonalizeGameItems:${n}] error:`,
|
|
2376
|
+
} catch (f) {
|
|
2377
|
+
console.error(`[usePersonalizeGameItems:${n}] error:`, f), c || i([]);
|
|
2371
2378
|
} finally {
|
|
2372
|
-
c ||
|
|
2379
|
+
c || s(!1);
|
|
2373
2380
|
}
|
|
2374
2381
|
})(), () => {
|
|
2375
2382
|
c = !0;
|
|
2376
2383
|
};
|
|
2377
2384
|
}, [e, a, n]), {
|
|
2378
2385
|
resolvedItems: o,
|
|
2379
|
-
loading:
|
|
2386
|
+
loading: l
|
|
2380
2387
|
};
|
|
2381
|
-
},
|
|
2388
|
+
}, Wn = (e, a = !1) => Qe(e, a, "Casino"), Vn = (e, a = !1) => Qe(e, a, "Deportes virtuales"), Dn = (e, a = !1) => Qe(e, a, "Casino en vivo"), Hn = (e, a) => {
|
|
2382
2389
|
var n, o;
|
|
2383
2390
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2384
|
-
},
|
|
2391
|
+
}, Gn = (e) => {
|
|
2385
2392
|
if (typeof e == "boolean") return e;
|
|
2386
2393
|
if (typeof e == "string")
|
|
2387
2394
|
return e.toLowerCase() === "true";
|
|
@@ -2391,53 +2398,53 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2391
2398
|
return e.value.toLowerCase() === "true";
|
|
2392
2399
|
}
|
|
2393
2400
|
return !1;
|
|
2394
|
-
},
|
|
2401
|
+
}, Zn = ({
|
|
2395
2402
|
items: e,
|
|
2396
2403
|
title: a = "Casino en vivo",
|
|
2397
2404
|
subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
2398
2405
|
backgroundMobileUrl: o = "",
|
|
2399
2406
|
onCardClick: i,
|
|
2400
|
-
backgroundDesktopUrl:
|
|
2401
|
-
onViewMore:
|
|
2407
|
+
backgroundDesktopUrl: l = "",
|
|
2408
|
+
onViewMore: s,
|
|
2402
2409
|
className: c,
|
|
2403
|
-
isPersonalize:
|
|
2410
|
+
isPersonalize: g = !1
|
|
2404
2411
|
}) => {
|
|
2405
|
-
const
|
|
2412
|
+
const f = se(), m = ce(), d = pe(), u = Gn(g), { resolvedItems: _, loading: x } = Dn(
|
|
2406
2413
|
e,
|
|
2407
2414
|
u
|
|
2408
|
-
), v = u ?
|
|
2409
|
-
|
|
2415
|
+
), v = u ? _ : Array.isArray(e) ? e : [], S = u ? x : !Array.isArray(e) || e.length === 0, M = (h) => {
|
|
2416
|
+
f({
|
|
2410
2417
|
element: "live_casino_card",
|
|
2411
|
-
label: `${m} - OraculoSeccionCasinoEnVivo${u ? " - personalize" : ""} - Open game: ${String(
|
|
2412
|
-
target: String(
|
|
2418
|
+
label: `${m} - OraculoSeccionCasinoEnVivo${u ? " - personalize" : ""} - Open game: ${String(h.machine || "unknown")}`,
|
|
2419
|
+
target: String(h.machine || "unknown"),
|
|
2413
2420
|
event_type: "click",
|
|
2414
2421
|
module_id: d,
|
|
2415
2422
|
metadata: {
|
|
2416
2423
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2417
2424
|
},
|
|
2418
2425
|
tags: {
|
|
2419
|
-
game_name: String(
|
|
2420
|
-
provider:
|
|
2426
|
+
game_name: String(h.machine || "unknown"),
|
|
2427
|
+
provider: h.provider || "unknown",
|
|
2421
2428
|
section: "OraculoSeccionCasinoEnVivo"
|
|
2422
2429
|
}
|
|
2423
2430
|
});
|
|
2424
2431
|
const C = ue("showIframe"), O = ue("loadMachine");
|
|
2425
2432
|
if (!O) {
|
|
2426
2433
|
if (i) {
|
|
2427
|
-
i(
|
|
2434
|
+
i(h);
|
|
2428
2435
|
return;
|
|
2429
2436
|
}
|
|
2430
2437
|
console.warn(
|
|
2431
2438
|
"[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",
|
|
2432
|
-
{ machine:
|
|
2439
|
+
{ machine: h == null ? void 0 : h.machine, provider: h == null ? void 0 : h.provider }
|
|
2433
2440
|
);
|
|
2434
2441
|
return;
|
|
2435
2442
|
}
|
|
2436
|
-
C == null || C(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
|
|
2437
|
-
O == null || O(
|
|
2443
|
+
Ge(String(h.machine || "")), C == null || C(), typeof window != "undefined" && window.scrollTo({ top: 0, behavior: "smooth" }), requestAnimationFrame(() => {
|
|
2444
|
+
O == null || O(h, !1, "casino_en_vivo");
|
|
2438
2445
|
});
|
|
2439
2446
|
}, E = () => {
|
|
2440
|
-
|
|
2447
|
+
f({
|
|
2441
2448
|
element: "casino_en_vivo_view_more",
|
|
2442
2449
|
label: `${m} - OraculoSeccionCasinoEnVivo${u ? " - personalize" : ""} - Ver más`,
|
|
2443
2450
|
target: "https://www.olimpo.bet/casino-en-vivo",
|
|
@@ -2447,9 +2454,9 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2447
2454
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2448
2455
|
},
|
|
2449
2456
|
tags: { section: "OraculoSeccionCasinoEnVivo" }
|
|
2450
|
-
}), typeof globalThis != "undefined" && globalThis.location && (
|
|
2457
|
+
}), typeof globalThis != "undefined" && globalThis.location && (s ? s() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
|
|
2451
2458
|
};
|
|
2452
|
-
return /* @__PURE__ */
|
|
2459
|
+
return /* @__PURE__ */ b(
|
|
2453
2460
|
U,
|
|
2454
2461
|
{
|
|
2455
2462
|
className: c,
|
|
@@ -2474,7 +2481,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2474
2481
|
md: `
|
|
2475
2482
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2476
2483
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2477
|
-
url('${
|
|
2484
|
+
url('${l}')
|
|
2478
2485
|
`
|
|
2479
2486
|
},
|
|
2480
2487
|
backgroundSize: {
|
|
@@ -2487,7 +2494,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2487
2494
|
}
|
|
2488
2495
|
}
|
|
2489
2496
|
),
|
|
2490
|
-
/* @__PURE__ */
|
|
2497
|
+
/* @__PURE__ */ b(
|
|
2491
2498
|
U,
|
|
2492
2499
|
{
|
|
2493
2500
|
sx: {
|
|
@@ -2505,7 +2512,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2505
2512
|
textAlign: { xs: "center", md: "left" }
|
|
2506
2513
|
},
|
|
2507
2514
|
children: [
|
|
2508
|
-
/* @__PURE__ */
|
|
2515
|
+
/* @__PURE__ */ b(Q, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
2509
2516
|
/* @__PURE__ */ t(
|
|
2510
2517
|
he,
|
|
2511
2518
|
{
|
|
@@ -2552,18 +2559,18 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2552
2559
|
py: { xs: 3, md: 0 },
|
|
2553
2560
|
alignItems: "center"
|
|
2554
2561
|
},
|
|
2555
|
-
children: S ? Array.from({ length: 3 }).map((
|
|
2562
|
+
children: S ? Array.from({ length: 3 }).map((h, C) => /* @__PURE__ */ t(ot, { loading: !0, logo: "" }, `sk-${C}`)) : (v != null ? v : []).slice(0, 3).map((h, C) => {
|
|
2556
2563
|
var O;
|
|
2557
2564
|
return /* @__PURE__ */ t(
|
|
2558
|
-
|
|
2565
|
+
ot,
|
|
2559
2566
|
{
|
|
2560
|
-
logo: `https://olimpo.bet${
|
|
2561
|
-
provider:
|
|
2562
|
-
providerName:
|
|
2563
|
-
machine:
|
|
2564
|
-
onClick: () => M(
|
|
2567
|
+
logo: `https://olimpo.bet${h.background ? h.background : (O = h.logo) != null ? O : ""}`,
|
|
2568
|
+
provider: h.provider,
|
|
2569
|
+
providerName: h.web_name,
|
|
2570
|
+
machine: h.machine,
|
|
2571
|
+
onClick: () => M(h)
|
|
2565
2572
|
},
|
|
2566
|
-
|
|
2573
|
+
Hn(h, C)
|
|
2567
2574
|
);
|
|
2568
2575
|
})
|
|
2569
2576
|
}
|
|
@@ -2583,7 +2590,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2583
2590
|
]
|
|
2584
2591
|
}
|
|
2585
2592
|
);
|
|
2586
|
-
},
|
|
2593
|
+
}, jn = (e) => {
|
|
2587
2594
|
if (typeof e == "boolean") return e;
|
|
2588
2595
|
if (typeof e == "string")
|
|
2589
2596
|
return e.toLowerCase() === "true";
|
|
@@ -2593,56 +2600,56 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2593
2600
|
return e.value.toLowerCase() === "true";
|
|
2594
2601
|
}
|
|
2595
2602
|
return !1;
|
|
2596
|
-
},
|
|
2603
|
+
}, Nt = (e, a) => {
|
|
2597
2604
|
var n, o;
|
|
2598
2605
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2599
|
-
},
|
|
2600
|
-
const o = e.map((
|
|
2601
|
-
var
|
|
2606
|
+
}, Kn = (e, a = !0, n = 1) => {
|
|
2607
|
+
const o = e.map((s, c) => {
|
|
2608
|
+
var g;
|
|
2602
2609
|
return {
|
|
2603
|
-
id:
|
|
2604
|
-
imageUrl: (
|
|
2605
|
-
...
|
|
2610
|
+
id: Nt(s, c),
|
|
2611
|
+
imageUrl: (g = s.logo) != null ? g : "",
|
|
2612
|
+
...s.background ? { background: s.background } : {}
|
|
2606
2613
|
};
|
|
2607
2614
|
});
|
|
2608
2615
|
if (!o.length) return [];
|
|
2609
2616
|
const i = [];
|
|
2610
|
-
let
|
|
2617
|
+
let l = 0;
|
|
2611
2618
|
if (a) {
|
|
2612
|
-
const
|
|
2619
|
+
const s = Math.min(o.length, 1);
|
|
2613
2620
|
i.push({
|
|
2614
2621
|
id: "mosaic-0",
|
|
2615
2622
|
kind: "mosaic",
|
|
2616
|
-
items: o.slice(0,
|
|
2617
|
-
}),
|
|
2623
|
+
items: o.slice(0, s)
|
|
2624
|
+
}), l = s;
|
|
2618
2625
|
}
|
|
2619
|
-
for (;
|
|
2620
|
-
const
|
|
2626
|
+
for (; l < o.length; ) {
|
|
2627
|
+
const s = Math.min(l + n, o.length);
|
|
2621
2628
|
i.push({
|
|
2622
|
-
id: `grid-${
|
|
2629
|
+
id: `grid-${l}`,
|
|
2623
2630
|
kind: "grid",
|
|
2624
|
-
items: o.slice(
|
|
2625
|
-
}),
|
|
2631
|
+
items: o.slice(l, s)
|
|
2632
|
+
}), l = s;
|
|
2626
2633
|
}
|
|
2627
2634
|
return i;
|
|
2628
|
-
},
|
|
2635
|
+
}, Jn = ({
|
|
2629
2636
|
items: e,
|
|
2630
2637
|
title: a = "Casino",
|
|
2631
2638
|
iconUrl: n = "/assets/img/home/Casino/diamante.svg",
|
|
2632
2639
|
onItemClick: o,
|
|
2633
2640
|
onViewMore: i,
|
|
2634
|
-
mosaicFirst:
|
|
2635
|
-
gridSize:
|
|
2641
|
+
mosaicFirst: l = !0,
|
|
2642
|
+
gridSize: s = 1,
|
|
2636
2643
|
isPersonalize: c = !1
|
|
2637
2644
|
}) => {
|
|
2638
|
-
const
|
|
2645
|
+
const g = se(), f = ce(), m = pe(), d = Z(null), [u, _] = ee({ isStart: !0, isEnd: !1 }), x = jn(c), { resolvedItems: v, loading: S } = Wn(
|
|
2639
2646
|
e,
|
|
2640
2647
|
x
|
|
2641
2648
|
), M = x ? v : Array.isArray(e) ? e : [], E = () => {
|
|
2642
2649
|
var $;
|
|
2643
|
-
|
|
2650
|
+
g({
|
|
2644
2651
|
element: "casino_prev",
|
|
2645
|
-
label: `${
|
|
2652
|
+
label: `${f} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
|
|
2646
2653
|
target: "prev",
|
|
2647
2654
|
event_type: "click",
|
|
2648
2655
|
module_id: m,
|
|
@@ -2651,11 +2658,11 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2651
2658
|
},
|
|
2652
2659
|
tags: { section: "OraculoSeccionCasino" }
|
|
2653
2660
|
}), ($ = d.current) == null || $.prev();
|
|
2654
|
-
},
|
|
2661
|
+
}, h = () => {
|
|
2655
2662
|
var $;
|
|
2656
|
-
|
|
2663
|
+
g({
|
|
2657
2664
|
element: "casino_next",
|
|
2658
|
-
label: `${
|
|
2665
|
+
label: `${f} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
|
|
2659
2666
|
target: "next",
|
|
2660
2667
|
event_type: "click",
|
|
2661
2668
|
module_id: m,
|
|
@@ -2665,9 +2672,9 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2665
2672
|
tags: { section: "OraculoSeccionCasino" }
|
|
2666
2673
|
}), ($ = d.current) == null || $.next();
|
|
2667
2674
|
}, C = () => {
|
|
2668
|
-
if (
|
|
2675
|
+
if (g({
|
|
2669
2676
|
element: "casino_view_more",
|
|
2670
|
-
label: `${
|
|
2677
|
+
label: `${f} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
|
|
2671
2678
|
target: "https://www.olimpo.bet/casino",
|
|
2672
2679
|
event_type: "click",
|
|
2673
2680
|
module_id: m,
|
|
@@ -2686,9 +2693,9 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2686
2693
|
imageUrl: ""
|
|
2687
2694
|
})), F = [];
|
|
2688
2695
|
return $ && F.push({ id: "mosaic-loading", kind: "mosaic", items: I(5) }), F.push({ id: "grid-loading", kind: "grid", items: I(y) }), F;
|
|
2689
|
-
}, w = x ? S : !Array.isArray(e) || e.length === 0, L =
|
|
2690
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2691
|
-
/* @__PURE__ */
|
|
2696
|
+
}, w = x ? S : !Array.isArray(e) || e.length === 0, L = Xe("(max-width:950px)"), R = w ? O(l, s) : Kn(M, l, s);
|
|
2697
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2698
|
+
/* @__PURE__ */ b(
|
|
2692
2699
|
U,
|
|
2693
2700
|
{
|
|
2694
2701
|
sx: {
|
|
@@ -2704,14 +2711,14 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2704
2711
|
},
|
|
2705
2712
|
children: [
|
|
2706
2713
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2707
|
-
/* @__PURE__ */
|
|
2714
|
+
/* @__PURE__ */ b(U, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2708
2715
|
/* @__PURE__ */ t(
|
|
2709
2716
|
ae,
|
|
2710
2717
|
{
|
|
2711
2718
|
ariaLabel: "Anterior",
|
|
2712
2719
|
variant: "secondary",
|
|
2713
2720
|
iconOnly: !0,
|
|
2714
|
-
leftIcon: /* @__PURE__ */ t(
|
|
2721
|
+
leftIcon: /* @__PURE__ */ t(vt, {}),
|
|
2715
2722
|
onClick: E,
|
|
2716
2723
|
disabled: u.isStart
|
|
2717
2724
|
}
|
|
@@ -2722,8 +2729,8 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2722
2729
|
ariaLabel: "Siguiente",
|
|
2723
2730
|
variant: "secondary",
|
|
2724
2731
|
iconOnly: !0,
|
|
2725
|
-
rightIcon: /* @__PURE__ */ t(
|
|
2726
|
-
onClick:
|
|
2732
|
+
rightIcon: /* @__PURE__ */ t(yt, {}),
|
|
2733
|
+
onClick: h,
|
|
2727
2734
|
disabled: u.isEnd
|
|
2728
2735
|
}
|
|
2729
2736
|
)
|
|
@@ -2760,7 +2767,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2760
2767
|
}
|
|
2761
2768
|
},
|
|
2762
2769
|
renderItem: ($) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2763
|
-
|
|
2770
|
+
Ot,
|
|
2764
2771
|
{
|
|
2765
2772
|
items: $.items,
|
|
2766
2773
|
layout: $.kind === "mosaic" ? "mosaic" : "grid",
|
|
@@ -2768,12 +2775,12 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2768
2775
|
onClick: (y) => {
|
|
2769
2776
|
if (w) return;
|
|
2770
2777
|
const I = M.find(
|
|
2771
|
-
(P, W) => String(
|
|
2778
|
+
(P, W) => String(Nt(P, W)) === String(y.id)
|
|
2772
2779
|
);
|
|
2773
2780
|
if (!I) return;
|
|
2774
|
-
o == null || o(I),
|
|
2781
|
+
o == null || o(I), g({
|
|
2775
2782
|
element: "casino_game_card",
|
|
2776
|
-
label: `${
|
|
2783
|
+
label: `${f} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(I.machine || "unknown")}`,
|
|
2777
2784
|
target: String(I.machine || "unknown"),
|
|
2778
2785
|
event_type: "click",
|
|
2779
2786
|
module_id: m,
|
|
@@ -2786,15 +2793,15 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2786
2793
|
}
|
|
2787
2794
|
});
|
|
2788
2795
|
const F = ue("showIframe"), B = ue("loadMachine");
|
|
2789
|
-
F == null || F(), B == null || B(I, !1, "CASINO");
|
|
2796
|
+
Ge(String(I.machine || "")), F == null || F(), B == null || B(I, !1, "CASINO");
|
|
2790
2797
|
}
|
|
2791
2798
|
}
|
|
2792
2799
|
) }),
|
|
2793
|
-
onMove: ({ isStart: $, isEnd: y }) =>
|
|
2800
|
+
onMove: ({ isStart: $, isEnd: y }) => _({ isStart: $, isEnd: y })
|
|
2794
2801
|
}
|
|
2795
2802
|
)
|
|
2796
2803
|
] }) });
|
|
2797
|
-
},
|
|
2804
|
+
}, Xn = (e) => {
|
|
2798
2805
|
if (typeof e == "boolean") return e;
|
|
2799
2806
|
if (typeof e == "string")
|
|
2800
2807
|
return e.toLowerCase() === "true";
|
|
@@ -2804,41 +2811,41 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2804
2811
|
return e.value.toLowerCase() === "true";
|
|
2805
2812
|
}
|
|
2806
2813
|
return !1;
|
|
2807
|
-
},
|
|
2814
|
+
}, $t = (e, a) => {
|
|
2808
2815
|
var n, o;
|
|
2809
2816
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2810
|
-
},
|
|
2811
|
-
const o = e.map((
|
|
2812
|
-
var
|
|
2817
|
+
}, Qn = (e, a = !0, n = 1) => {
|
|
2818
|
+
const o = e.map((s, c) => {
|
|
2819
|
+
var g;
|
|
2813
2820
|
return {
|
|
2814
|
-
id:
|
|
2815
|
-
imageUrl: (
|
|
2816
|
-
...
|
|
2821
|
+
id: $t(s, c),
|
|
2822
|
+
imageUrl: (g = s.logo) != null ? g : "",
|
|
2823
|
+
...s.background ? { background: s.background } : {}
|
|
2817
2824
|
};
|
|
2818
2825
|
});
|
|
2819
2826
|
if (!o.length) return [];
|
|
2820
2827
|
const i = [];
|
|
2821
|
-
let
|
|
2828
|
+
let l = 0;
|
|
2822
2829
|
if (a) {
|
|
2823
|
-
const
|
|
2830
|
+
const s = Math.min(o.length, 1);
|
|
2824
2831
|
i.push({
|
|
2825
2832
|
id: "mosaic-0",
|
|
2826
2833
|
kind: "mosaic",
|
|
2827
|
-
items: o.slice(0,
|
|
2828
|
-
}),
|
|
2834
|
+
items: o.slice(0, s)
|
|
2835
|
+
}), l = s;
|
|
2829
2836
|
}
|
|
2830
|
-
for (;
|
|
2831
|
-
const
|
|
2837
|
+
for (; l < o.length; ) {
|
|
2838
|
+
const s = Math.min(l + n, o.length);
|
|
2832
2839
|
i.push({
|
|
2833
|
-
id: `grid-${
|
|
2840
|
+
id: `grid-${l}`,
|
|
2834
2841
|
kind: "grid",
|
|
2835
|
-
items: o.slice(
|
|
2836
|
-
}),
|
|
2842
|
+
items: o.slice(l, s)
|
|
2843
|
+
}), l = s;
|
|
2837
2844
|
}
|
|
2838
2845
|
return i;
|
|
2839
|
-
},
|
|
2840
|
-
const n = (i) => Array.from({ length: i }, (
|
|
2841
|
-
id: `sk-${i}-${
|
|
2846
|
+
}, Yn = (e = !0, a = 4) => {
|
|
2847
|
+
const n = (i) => Array.from({ length: i }, (l, s) => ({
|
|
2848
|
+
id: `sk-${i}-${s}`,
|
|
2842
2849
|
imageUrl: ""
|
|
2843
2850
|
})), o = [];
|
|
2844
2851
|
return e && o.push({
|
|
@@ -2850,17 +2857,17 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2850
2857
|
kind: "grid",
|
|
2851
2858
|
items: n(a)
|
|
2852
2859
|
}), o;
|
|
2853
|
-
},
|
|
2860
|
+
}, eo = ({
|
|
2854
2861
|
items: e,
|
|
2855
2862
|
title: a = "Virtuales",
|
|
2856
2863
|
iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
|
|
2857
2864
|
onItemClick: o,
|
|
2858
2865
|
onViewMore: i,
|
|
2859
|
-
mosaicFirst:
|
|
2860
|
-
gridSize:
|
|
2866
|
+
mosaicFirst: l = !0,
|
|
2867
|
+
gridSize: s = 1,
|
|
2861
2868
|
isPersonalize: c = !1
|
|
2862
2869
|
}) => {
|
|
2863
|
-
const
|
|
2870
|
+
const g = Z(null), [f, m] = ee({ isStart: !0, isEnd: !1 }), d = se(), u = ce(), _ = pe(), x = Xn(c), { resolvedItems: v, loading: S } = Vn(
|
|
2864
2871
|
e,
|
|
2865
2872
|
x
|
|
2866
2873
|
), M = x ? v : Array.isArray(e) ? e : [], E = () => {
|
|
@@ -2870,32 +2877,32 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2870
2877
|
label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Anterior`,
|
|
2871
2878
|
target: "prev",
|
|
2872
2879
|
event_type: "click",
|
|
2873
|
-
module_id:
|
|
2880
|
+
module_id: _,
|
|
2874
2881
|
metadata: {
|
|
2875
2882
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2876
2883
|
},
|
|
2877
2884
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2878
|
-
}), (R =
|
|
2879
|
-
},
|
|
2885
|
+
}), (R = g.current) == null || R.prev();
|
|
2886
|
+
}, h = () => {
|
|
2880
2887
|
var R;
|
|
2881
2888
|
d({
|
|
2882
2889
|
element: "virtuales_next",
|
|
2883
2890
|
label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Siguiente`,
|
|
2884
2891
|
target: "next",
|
|
2885
2892
|
event_type: "click",
|
|
2886
|
-
module_id:
|
|
2893
|
+
module_id: _,
|
|
2887
2894
|
metadata: {
|
|
2888
2895
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2889
2896
|
},
|
|
2890
2897
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2891
|
-
}), (R =
|
|
2898
|
+
}), (R = g.current) == null || R.next();
|
|
2892
2899
|
}, C = () => {
|
|
2893
2900
|
if (d({
|
|
2894
2901
|
element: "virtuales_view_more",
|
|
2895
2902
|
label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Ver más`,
|
|
2896
2903
|
target: "https://www.olimpo.bet/juegos-virtuales",
|
|
2897
2904
|
event_type: "click",
|
|
2898
|
-
module_id:
|
|
2905
|
+
module_id: _,
|
|
2899
2906
|
metadata: {
|
|
2900
2907
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2901
2908
|
},
|
|
@@ -2905,9 +2912,9 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2905
2912
|
return;
|
|
2906
2913
|
}
|
|
2907
2914
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2908
|
-
}, O = x ? S : !Array.isArray(e) || e.length === 0, w = Ne("(max-width:950px)"), L = O ?
|
|
2909
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2910
|
-
/* @__PURE__ */
|
|
2915
|
+
}, O = x ? S : !Array.isArray(e) || e.length === 0, w = Ne("(max-width:950px)"), L = O ? Yn(l, s) : Qn(M, l, s);
|
|
2916
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2917
|
+
/* @__PURE__ */ b(
|
|
2911
2918
|
U,
|
|
2912
2919
|
{
|
|
2913
2920
|
sx: {
|
|
@@ -2923,16 +2930,16 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2923
2930
|
},
|
|
2924
2931
|
children: [
|
|
2925
2932
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2926
|
-
/* @__PURE__ */
|
|
2933
|
+
/* @__PURE__ */ b(U, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2927
2934
|
/* @__PURE__ */ t(
|
|
2928
2935
|
ae,
|
|
2929
2936
|
{
|
|
2930
2937
|
ariaLabel: "Anterior",
|
|
2931
2938
|
variant: "secondary",
|
|
2932
2939
|
iconOnly: !0,
|
|
2933
|
-
leftIcon: /* @__PURE__ */ t(
|
|
2940
|
+
leftIcon: /* @__PURE__ */ t(vt, {}),
|
|
2934
2941
|
onClick: E,
|
|
2935
|
-
disabled:
|
|
2942
|
+
disabled: f.isStart
|
|
2936
2943
|
}
|
|
2937
2944
|
),
|
|
2938
2945
|
/* @__PURE__ */ t(
|
|
@@ -2941,9 +2948,9 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2941
2948
|
ariaLabel: "Siguiente",
|
|
2942
2949
|
variant: "secondary",
|
|
2943
2950
|
iconOnly: !0,
|
|
2944
|
-
rightIcon: /* @__PURE__ */ t(
|
|
2945
|
-
onClick:
|
|
2946
|
-
disabled:
|
|
2951
|
+
rightIcon: /* @__PURE__ */ t(yt, {}),
|
|
2952
|
+
onClick: h,
|
|
2953
|
+
disabled: f.isEnd
|
|
2947
2954
|
}
|
|
2948
2955
|
)
|
|
2949
2956
|
] }),
|
|
@@ -2954,7 +2961,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2954
2961
|
/* @__PURE__ */ t(
|
|
2955
2962
|
xe,
|
|
2956
2963
|
{
|
|
2957
|
-
ref:
|
|
2964
|
+
ref: g,
|
|
2958
2965
|
items: L,
|
|
2959
2966
|
perPage: void 0,
|
|
2960
2967
|
gap: "16px",
|
|
@@ -2979,7 +2986,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2979
2986
|
showRightGradient: !w,
|
|
2980
2987
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2981
2988
|
renderItem: (R) => /* @__PURE__ */ t("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ t(
|
|
2982
|
-
|
|
2989
|
+
Ot,
|
|
2983
2990
|
{
|
|
2984
2991
|
items: R.items,
|
|
2985
2992
|
layout: R.kind === "mosaic" ? "mosaic" : "grid",
|
|
@@ -2987,7 +2994,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
2987
2994
|
onClick: ($) => {
|
|
2988
2995
|
if (O) return;
|
|
2989
2996
|
const y = M.find(
|
|
2990
|
-
(B, P) => String(
|
|
2997
|
+
(B, P) => String($t(B, P)) === String($.id)
|
|
2991
2998
|
);
|
|
2992
2999
|
if (!y) {
|
|
2993
3000
|
console.warn(
|
|
@@ -3001,7 +3008,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3001
3008
|
label: `${u} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Game: ${String(y.machine || "unknown")}`,
|
|
3002
3009
|
target: String(y.machine || "unknown"),
|
|
3003
3010
|
event_type: "click",
|
|
3004
|
-
module_id:
|
|
3011
|
+
module_id: _,
|
|
3005
3012
|
metadata: {
|
|
3006
3013
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3007
3014
|
},
|
|
@@ -3009,7 +3016,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3009
3016
|
game_name: String(y.machine || "unknown"),
|
|
3010
3017
|
section: a || "Virtuales"
|
|
3011
3018
|
}
|
|
3012
|
-
});
|
|
3019
|
+
}), Ge(String(y.machine || ""));
|
|
3013
3020
|
const I = ue("showIframe"), F = ue("loadMachine");
|
|
3014
3021
|
I == null || I(), F == null || F(
|
|
3015
3022
|
y,
|
|
@@ -3023,7 +3030,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3023
3030
|
}
|
|
3024
3031
|
)
|
|
3025
3032
|
] }) });
|
|
3026
|
-
},
|
|
3033
|
+
}, to = (e) => ({
|
|
3027
3034
|
position: "relative",
|
|
3028
3035
|
py: 8,
|
|
3029
3036
|
color: "#fff",
|
|
@@ -3037,15 +3044,15 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3037
3044
|
backgroundRepeat: "no-repeat",
|
|
3038
3045
|
backgroundPosition: "center",
|
|
3039
3046
|
backgroundSize: "cover"
|
|
3040
|
-
}),
|
|
3047
|
+
}), dt = {
|
|
3041
3048
|
textAlign: "center",
|
|
3042
3049
|
lineHeight: 1.1,
|
|
3043
3050
|
mb: 1.5
|
|
3044
|
-
},
|
|
3051
|
+
}, ut = {
|
|
3045
3052
|
display: "inline-block",
|
|
3046
3053
|
fontWeight: 600,
|
|
3047
3054
|
fontSize: 24
|
|
3048
|
-
},
|
|
3055
|
+
}, mt = {
|
|
3049
3056
|
display: "inline-block",
|
|
3050
3057
|
fontSize: 24,
|
|
3051
3058
|
lineHeight: 1.1,
|
|
@@ -3055,13 +3062,13 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3055
3062
|
0 0 6px rgba(255, 255, 255, .6),
|
|
3056
3063
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
3057
3064
|
`
|
|
3058
|
-
},
|
|
3065
|
+
}, ao = ({
|
|
3059
3066
|
headline: e,
|
|
3060
3067
|
headline2: a,
|
|
3061
3068
|
items: n,
|
|
3062
3069
|
backgroundImageUrl: o
|
|
3063
3070
|
}) => {
|
|
3064
|
-
const i = se(),
|
|
3071
|
+
const i = se(), l = ce(), s = Ne("(max-width: 767px)"), c = n.length > 1, g = Z(null), f = Z(null), m = Z(!1), d = Z(!1), [u, _] = ee(0), [x, v] = ee({ isStart: !0, isEnd: !1 });
|
|
3065
3072
|
re(() => {
|
|
3066
3073
|
const y = setTimeout(() => {
|
|
3067
3074
|
m.current = !0;
|
|
@@ -3072,13 +3079,13 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3072
3079
|
re(() => {
|
|
3073
3080
|
S.current = x;
|
|
3074
3081
|
}, [x]);
|
|
3075
|
-
const M = Z(!1), E = Z(null),
|
|
3082
|
+
const M = Z(!1), E = Z(null), h = n == null ? void 0 : n[u], C = de(
|
|
3076
3083
|
() => {
|
|
3077
3084
|
var y, I;
|
|
3078
|
-
return (I = (y =
|
|
3085
|
+
return (I = (y = h == null ? void 0 : h.backgroundImageUrl) != null ? y : o) != null ? I : "";
|
|
3079
3086
|
},
|
|
3080
|
-
[
|
|
3081
|
-
), O =
|
|
3087
|
+
[h, o]
|
|
3088
|
+
), O = to(C), w = !n || n.length === 0, L = (y, I) => {
|
|
3082
3089
|
i({
|
|
3083
3090
|
element: "welcome_banner_button",
|
|
3084
3091
|
label: `OraculoSeccionBonoBienvenida - Banner button click: ${y.title || "OraculoSeccionBonoBienvenida - Banner " + (I + 1)}`,
|
|
@@ -3104,7 +3111,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3104
3111
|
const I = n == null ? void 0 : n[y];
|
|
3105
3112
|
i({
|
|
3106
3113
|
element: "welcome_banner_carousel",
|
|
3107
|
-
label: `Landing: ${
|
|
3114
|
+
label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Banner view: ${(I == null ? void 0 : I.title) || "OraculoSeccionBonoBienvenida - Banner " + (y + 1)}`,
|
|
3108
3115
|
target: "no_url",
|
|
3109
3116
|
event_type: "view",
|
|
3110
3117
|
module_id: 301,
|
|
@@ -3121,15 +3128,15 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3121
3128
|
});
|
|
3122
3129
|
};
|
|
3123
3130
|
re(() => {
|
|
3124
|
-
const y =
|
|
3131
|
+
const y = f.current;
|
|
3125
3132
|
if (!y) return;
|
|
3126
3133
|
const I = 6, F = 380, B = (P) => {
|
|
3127
|
-
var
|
|
3134
|
+
var G, q;
|
|
3128
3135
|
if (w || P.ctrlKey || M.current) return;
|
|
3129
3136
|
const W = P.deltaX, V = P.deltaY;
|
|
3130
3137
|
if (Math.abs(W) <= Math.abs(V) || Math.abs(W) < I) return;
|
|
3131
3138
|
const D = W > 0;
|
|
3132
|
-
D && S.current.isEnd || !D && S.current.isStart || (P.preventDefault(), M.current = !0, D ? (
|
|
3139
|
+
D && S.current.isEnd || !D && S.current.isStart || (P.preventDefault(), M.current = !0, D ? (G = g.current) == null || G.next() : (q = g.current) == null || q.prev(), E.current && window.clearTimeout(E.current), E.current = window.setTimeout(() => {
|
|
3133
3140
|
M.current = !1;
|
|
3134
3141
|
}, F));
|
|
3135
3142
|
};
|
|
@@ -3140,7 +3147,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3140
3147
|
const $ = (y, I, F) => {
|
|
3141
3148
|
var W, V;
|
|
3142
3149
|
const B = (W = y.headline) != null ? W : e, P = (V = y.headline2) != null ? V : a;
|
|
3143
|
-
return I ? /* @__PURE__ */
|
|
3150
|
+
return I ? /* @__PURE__ */ b(
|
|
3144
3151
|
U,
|
|
3145
3152
|
{
|
|
3146
3153
|
sx: {
|
|
@@ -3162,17 +3169,17 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3162
3169
|
justifyContent: "flex-start",
|
|
3163
3170
|
minHeight: "100%"
|
|
3164
3171
|
},
|
|
3165
|
-
children: /* @__PURE__ */
|
|
3166
|
-
B && /* @__PURE__ */ t(he, { component: "span", sx:
|
|
3167
|
-
P && /* @__PURE__ */
|
|
3172
|
+
children: /* @__PURE__ */ b(U, { sx: { ...dt, textAlign: "left", mb: 0 }, children: [
|
|
3173
|
+
B && /* @__PURE__ */ t(he, { component: "span", sx: ut, children: B }),
|
|
3174
|
+
P && /* @__PURE__ */ b(te, { children: [
|
|
3168
3175
|
/* @__PURE__ */ t("br", {}),
|
|
3169
|
-
/* @__PURE__ */ t(he, { component: "span", sx:
|
|
3176
|
+
/* @__PURE__ */ t(he, { component: "span", sx: mt, children: P })
|
|
3170
3177
|
] })
|
|
3171
3178
|
] })
|
|
3172
3179
|
}
|
|
3173
3180
|
),
|
|
3174
3181
|
/* @__PURE__ */ t(U, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(U, { sx: { width: "100%", maxWidth: 600, mx: "auto" }, children: /* @__PURE__ */ t(
|
|
3175
|
-
|
|
3182
|
+
rt,
|
|
3176
3183
|
{
|
|
3177
3184
|
...y,
|
|
3178
3185
|
onButtonClick: () => L(y, F),
|
|
@@ -3181,16 +3188,16 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3181
3188
|
) }) })
|
|
3182
3189
|
]
|
|
3183
3190
|
}
|
|
3184
|
-
) : /* @__PURE__ */
|
|
3185
|
-
(B || P) && /* @__PURE__ */
|
|
3186
|
-
B && /* @__PURE__ */ t(he, { component: "span", sx:
|
|
3187
|
-
P && /* @__PURE__ */
|
|
3191
|
+
) : /* @__PURE__ */ b(U, { sx: { textAlign: "center" }, children: [
|
|
3192
|
+
(B || P) && /* @__PURE__ */ b(U, { sx: dt, children: [
|
|
3193
|
+
B && /* @__PURE__ */ t(he, { component: "span", sx: ut, children: B }),
|
|
3194
|
+
P && /* @__PURE__ */ b(te, { children: [
|
|
3188
3195
|
/* @__PURE__ */ t("br", {}),
|
|
3189
|
-
/* @__PURE__ */ t(he, { component: "span", sx:
|
|
3196
|
+
/* @__PURE__ */ t(he, { component: "span", sx: mt, children: P })
|
|
3190
3197
|
] })
|
|
3191
3198
|
] }),
|
|
3192
3199
|
/* @__PURE__ */ t(U, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
3193
|
-
|
|
3200
|
+
rt,
|
|
3194
3201
|
{
|
|
3195
3202
|
...y,
|
|
3196
3203
|
onButtonClick: () => L(y, F),
|
|
@@ -3199,11 +3206,11 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3199
3206
|
) })
|
|
3200
3207
|
] });
|
|
3201
3208
|
};
|
|
3202
|
-
return /* @__PURE__ */
|
|
3203
|
-
/* @__PURE__ */ t("div", { ref:
|
|
3209
|
+
return /* @__PURE__ */ b(U, { component: "section", sx: O, children: [
|
|
3210
|
+
/* @__PURE__ */ t("div", { ref: f, style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
3204
3211
|
xe,
|
|
3205
3212
|
{
|
|
3206
|
-
ref:
|
|
3213
|
+
ref: g,
|
|
3207
3214
|
items: n,
|
|
3208
3215
|
perPage: 1,
|
|
3209
3216
|
gap: "0px",
|
|
@@ -3217,14 +3224,14 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3217
3224
|
// arrows: false,
|
|
3218
3225
|
// drag: true,
|
|
3219
3226
|
},
|
|
3220
|
-
renderItem: (y, I) => /* @__PURE__ */ t(U, { sx: { width: "100%" }, children: $(y, !
|
|
3227
|
+
renderItem: (y, I) => /* @__PURE__ */ t(U, { sx: { width: "100%" }, children: $(y, !s, I) }),
|
|
3221
3228
|
onMove: ({ index: y, isStart: I, isEnd: F, source: B }) => {
|
|
3222
|
-
|
|
3229
|
+
_(y), typeof I == "boolean" && typeof F == "boolean" && v({ isStart: I, isEnd: F }), B === "user" && R(y);
|
|
3223
3230
|
}
|
|
3224
3231
|
}
|
|
3225
3232
|
) }),
|
|
3226
3233
|
c && /* @__PURE__ */ t(U, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
3227
|
-
|
|
3234
|
+
xt,
|
|
3228
3235
|
{
|
|
3229
3236
|
total: n.length,
|
|
3230
3237
|
active: u,
|
|
@@ -3232,7 +3239,7 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3232
3239
|
var I;
|
|
3233
3240
|
i({
|
|
3234
3241
|
element: "welcome_banner_dots",
|
|
3235
|
-
label: `Landing: ${
|
|
3242
|
+
label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${y + 1}`,
|
|
3236
3243
|
target: "no_url",
|
|
3237
3244
|
event_type: "click",
|
|
3238
3245
|
module_id: 301,
|
|
@@ -3244,23 +3251,23 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3244
3251
|
tags: {
|
|
3245
3252
|
navigation_type: "dot_click"
|
|
3246
3253
|
}
|
|
3247
|
-
}),
|
|
3254
|
+
}), _(y), (I = g.current) == null || I.go(y);
|
|
3248
3255
|
}
|
|
3249
3256
|
}
|
|
3250
3257
|
) })
|
|
3251
3258
|
] });
|
|
3252
|
-
},
|
|
3259
|
+
}, no = ({
|
|
3253
3260
|
className: e = "",
|
|
3254
3261
|
fullBleed: a = !0,
|
|
3255
3262
|
items: n,
|
|
3256
3263
|
selectedIndex: o = 0,
|
|
3257
3264
|
ariaLabel: i,
|
|
3258
|
-
user:
|
|
3265
|
+
user: l = null
|
|
3259
3266
|
}) => {
|
|
3260
|
-
const
|
|
3267
|
+
const s = Z(null), c = Z(null), g = se(), f = ce(), m = pe();
|
|
3261
3268
|
if (!n) return null;
|
|
3262
3269
|
const d = async () => {
|
|
3263
|
-
let v =
|
|
3270
|
+
let v = l;
|
|
3264
3271
|
if ((!(v != null && v.user) || !(v != null && v.session)) && typeof window != "undefined")
|
|
3265
3272
|
try {
|
|
3266
3273
|
const S = localStorage.getItem("user");
|
|
@@ -3270,9 +3277,9 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3270
3277
|
}
|
|
3271
3278
|
if (!(v != null && v.user) || !(v != null && v.session))
|
|
3272
3279
|
return console.warn("User data missing"), null;
|
|
3273
|
-
|
|
3280
|
+
g({
|
|
3274
3281
|
element: "club_olimpo_button",
|
|
3275
|
-
label: `${
|
|
3282
|
+
label: `${f} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
|
|
3276
3283
|
target: "https://www.clubolimpo.com/OlimpoBetWeb/",
|
|
3277
3284
|
event_type: "click",
|
|
3278
3285
|
module_id: m,
|
|
@@ -3294,8 +3301,8 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3294
3301
|
body: JSON.stringify(S)
|
|
3295
3302
|
});
|
|
3296
3303
|
if (E.ok) {
|
|
3297
|
-
const
|
|
3298
|
-
return
|
|
3304
|
+
const h = await E.json();
|
|
3305
|
+
return h == null ? void 0 : h.url;
|
|
3299
3306
|
}
|
|
3300
3307
|
return null;
|
|
3301
3308
|
} catch (S) {
|
|
@@ -3304,10 +3311,10 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3304
3311
|
}, u = async () => {
|
|
3305
3312
|
const v = await d();
|
|
3306
3313
|
v ? window.location.href = v : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
3307
|
-
},
|
|
3308
|
-
|
|
3309
|
-
if (!
|
|
3310
|
-
const v =
|
|
3314
|
+
}, _ = Array.isArray(n) ? n[o] : n;
|
|
3315
|
+
Ut(() => {
|
|
3316
|
+
if (!s.current || !c.current || typeof ResizeObserver == "undefined") return;
|
|
3317
|
+
const v = s.current, S = c.current, M = () => {
|
|
3311
3318
|
v.style.setProperty(
|
|
3312
3319
|
"--orc-co-bottomH",
|
|
3313
3320
|
`${S.offsetHeight + 16}px`
|
|
@@ -3323,55 +3330,55 @@ const An = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking",
|
|
|
3323
3330
|
return /* @__PURE__ */ t(
|
|
3324
3331
|
"section",
|
|
3325
3332
|
{
|
|
3326
|
-
ref:
|
|
3333
|
+
ref: s,
|
|
3327
3334
|
className: x,
|
|
3328
|
-
"aria-label": i ||
|
|
3335
|
+
"aria-label": i || _.imgAlt || "Club Olimpo",
|
|
3329
3336
|
children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
|
|
3330
|
-
|
|
3337
|
+
Fa,
|
|
3331
3338
|
{
|
|
3332
|
-
text:
|
|
3339
|
+
text: _.text,
|
|
3333
3340
|
onClick: u,
|
|
3334
|
-
imgAlt:
|
|
3335
|
-
buttonLabel:
|
|
3336
|
-
imgSrcMobile:
|
|
3337
|
-
imgSrcDesktopBg:
|
|
3338
|
-
imgSrcDesktopLogo:
|
|
3341
|
+
imgAlt: _.imgAlt,
|
|
3342
|
+
buttonLabel: _.buttonLabel,
|
|
3343
|
+
imgSrcMobile: _.imgMobile,
|
|
3344
|
+
imgSrcDesktopBg: _.imgDesktopBg,
|
|
3345
|
+
imgSrcDesktopLogo: _.imgDesktopLogo
|
|
3339
3346
|
}
|
|
3340
3347
|
) })
|
|
3341
3348
|
}
|
|
3342
3349
|
);
|
|
3343
|
-
},
|
|
3344
|
-
controls:
|
|
3345
|
-
padding:
|
|
3346
|
-
},
|
|
3350
|
+
}, oo = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", ro = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", pt = {
|
|
3351
|
+
controls: oo,
|
|
3352
|
+
padding: ro
|
|
3353
|
+
}, io = (e) => {
|
|
3347
3354
|
var a, n;
|
|
3348
3355
|
return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
|
|
3349
|
-
var i,
|
|
3350
|
-
return (
|
|
3356
|
+
var i, l;
|
|
3357
|
+
return (l = (i = o.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? l : [];
|
|
3351
3358
|
}) : [];
|
|
3352
3359
|
};
|
|
3353
|
-
function
|
|
3360
|
+
function lo(e, a, n) {
|
|
3354
3361
|
return n ? n.map((o) => {
|
|
3355
3362
|
var m, d;
|
|
3356
|
-
const i = o.prePackCouponRows.flatMap((u) =>
|
|
3363
|
+
const i = o.prePackCouponRows.flatMap((u) => io(u).map((_) => ({ eventId: u.eventId, outcomeId: _ }))), l = new Set(i.map((u) => u.eventId)), s = new Set(i.map((u) => u.outcomeId)), c = new Map(i.map((u, _) => [u.outcomeId, _])), g = {};
|
|
3357
3364
|
for (const u of a) {
|
|
3358
|
-
if (!
|
|
3359
|
-
const
|
|
3360
|
-
|
|
3365
|
+
if (!l.has(u.eventId)) continue;
|
|
3366
|
+
const _ = u.outcomes.filter((x) => s.has(x.id)).map((x) => ({ ...x, position: c.get(x.id) }));
|
|
3367
|
+
_.length && ((d = g[m = u.eventId]) != null || (g[m] = []), g[u.eventId].push({ ...u, outcomes: _ }));
|
|
3361
3368
|
}
|
|
3362
|
-
const
|
|
3363
|
-
var
|
|
3364
|
-
return { ...u, betoffers: (
|
|
3369
|
+
const f = e.filter((u) => l.has(u.id)).map((u) => {
|
|
3370
|
+
var _;
|
|
3371
|
+
return { ...u, betoffers: (_ = g[u.id]) != null ? _ : [] };
|
|
3365
3372
|
});
|
|
3366
3373
|
return {
|
|
3367
3374
|
couponId: o.id,
|
|
3368
3375
|
status: o.status,
|
|
3369
|
-
combinadoTotal:
|
|
3370
|
-
events:
|
|
3376
|
+
combinadoTotal: so(o.prePackCouponRows),
|
|
3377
|
+
events: f
|
|
3371
3378
|
};
|
|
3372
3379
|
}) : [];
|
|
3373
3380
|
}
|
|
3374
|
-
function
|
|
3381
|
+
function so(e) {
|
|
3375
3382
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
3376
3383
|
let a = 1;
|
|
3377
3384
|
for (const n of e) {
|
|
@@ -3380,60 +3387,60 @@ function io(e) {
|
|
|
3380
3387
|
}
|
|
3381
3388
|
return Math.floor(a * 100) / 100;
|
|
3382
3389
|
}
|
|
3383
|
-
const
|
|
3384
|
-
function
|
|
3390
|
+
const co = ve.memo(Xa);
|
|
3391
|
+
function uo({
|
|
3385
3392
|
items: e,
|
|
3386
3393
|
title: a = "Combinadas del Olimpo",
|
|
3387
3394
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
|
|
3388
3395
|
onViewMore: o,
|
|
3389
3396
|
className: i = ""
|
|
3390
3397
|
}) {
|
|
3391
|
-
const
|
|
3398
|
+
const l = se(), s = ce(), c = pe(), g = Z(null), [f, m] = ee({ isStart: !0, isEnd: !1 }), [d, u] = ee([]), _ = "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", x = () => {
|
|
3392
3399
|
var O;
|
|
3393
|
-
|
|
3400
|
+
l({
|
|
3394
3401
|
element: "evento_combinadas_prev",
|
|
3395
|
-
label: `${
|
|
3402
|
+
label: `${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
|
|
3396
3403
|
event_type: "click",
|
|
3397
3404
|
module_id: c,
|
|
3398
3405
|
metadata: {
|
|
3399
3406
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3400
3407
|
},
|
|
3401
3408
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3402
|
-
}), (O =
|
|
3409
|
+
}), (O = g.current) == null || O.prev();
|
|
3403
3410
|
}, v = () => {
|
|
3404
3411
|
var O;
|
|
3405
|
-
|
|
3412
|
+
l({
|
|
3406
3413
|
element: "evento_combinadas_next",
|
|
3407
|
-
label: `${
|
|
3414
|
+
label: `${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
|
|
3408
3415
|
event_type: "click",
|
|
3409
3416
|
module_id: c,
|
|
3410
3417
|
metadata: {
|
|
3411
3418
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3412
3419
|
},
|
|
3413
3420
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3414
|
-
}), (O =
|
|
3421
|
+
}), (O = g.current) == null || O.next();
|
|
3415
3422
|
}, S = () => {
|
|
3416
|
-
|
|
3423
|
+
l({
|
|
3417
3424
|
element: "evento_combinadas_ver_mas",
|
|
3418
|
-
label: `${
|
|
3425
|
+
label: `${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
|
|
3419
3426
|
event_type: "click",
|
|
3420
3427
|
module_id: c,
|
|
3421
3428
|
metadata: {
|
|
3422
3429
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3423
3430
|
},
|
|
3424
3431
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3425
|
-
}),
|
|
3432
|
+
}), Ja();
|
|
3426
3433
|
}, M = de(() => d.filter((O) => O.combinadoTotal !== null), [d]);
|
|
3427
3434
|
async function E() {
|
|
3428
3435
|
var O, w, L, R;
|
|
3429
3436
|
try {
|
|
3430
|
-
const y = await (await fetch(
|
|
3437
|
+
const y = await (await fetch(_)).json(), I = (R = (L = (w = (O = y == null ? void 0 : y.group) == null ? void 0 : O.groups) == null ? void 0 : w.map((W) => W.id)) == null ? void 0 : L.filter(Boolean)) == null ? void 0 : R.join(",");
|
|
3431
3438
|
if (!I) {
|
|
3432
3439
|
console.error("Could not extract group ID");
|
|
3433
3440
|
return;
|
|
3434
3441
|
}
|
|
3435
3442
|
const F = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${I}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, P = await (await fetch(F)).json();
|
|
3436
|
-
u(
|
|
3443
|
+
u(lo(P.events, P.betOffers, P.prePackCoupons));
|
|
3437
3444
|
} catch ($) {
|
|
3438
3445
|
console.error("loadDataEventSpecial error:", $);
|
|
3439
3446
|
}
|
|
@@ -3441,17 +3448,17 @@ function so({
|
|
|
3441
3448
|
re(() => {
|
|
3442
3449
|
E();
|
|
3443
3450
|
}, []);
|
|
3444
|
-
const
|
|
3445
|
-
return M.length === 0 ? null : /* @__PURE__ */ t("section", { className:
|
|
3451
|
+
const h = i || void 0, C = Ne("(max-width:950px)");
|
|
3452
|
+
return M.length === 0 ? null : /* @__PURE__ */ t("section", { className: h, style: {
|
|
3446
3453
|
// paddingLeft: 16,
|
|
3447
3454
|
// paddingRight: 16,
|
|
3448
3455
|
width: "100%",
|
|
3449
3456
|
boxSizing: "border-box"
|
|
3450
|
-
}, children: /* @__PURE__ */
|
|
3451
|
-
/* @__PURE__ */ t("div", { className:
|
|
3457
|
+
}, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3458
|
+
/* @__PURE__ */ t("div", { className: pt.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3452
3459
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
3453
|
-
/* @__PURE__ */
|
|
3454
|
-
/* @__PURE__ */
|
|
3460
|
+
/* @__PURE__ */ b("div", { className: pt.controls, children: [
|
|
3461
|
+
/* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
|
|
3455
3462
|
/* @__PURE__ */ t(
|
|
3456
3463
|
ae,
|
|
3457
3464
|
{
|
|
@@ -3460,7 +3467,7 @@ function so({
|
|
|
3460
3467
|
iconOnly: !0,
|
|
3461
3468
|
leftIcon: /* @__PURE__ */ t(De, {}),
|
|
3462
3469
|
onClick: x,
|
|
3463
|
-
disabled:
|
|
3470
|
+
disabled: f.isStart
|
|
3464
3471
|
}
|
|
3465
3472
|
),
|
|
3466
3473
|
/* @__PURE__ */ t(
|
|
@@ -3469,9 +3476,9 @@ function so({
|
|
|
3469
3476
|
ariaLabel: "Siguiente",
|
|
3470
3477
|
variant: "secondary",
|
|
3471
3478
|
iconOnly: !0,
|
|
3472
|
-
rightIcon: /* @__PURE__ */ t(
|
|
3479
|
+
rightIcon: /* @__PURE__ */ t(He, {}),
|
|
3473
3480
|
onClick: v,
|
|
3474
|
-
disabled:
|
|
3481
|
+
disabled: f.isEnd
|
|
3475
3482
|
}
|
|
3476
3483
|
)
|
|
3477
3484
|
] }),
|
|
@@ -3481,7 +3488,7 @@ function so({
|
|
|
3481
3488
|
/* @__PURE__ */ t(
|
|
3482
3489
|
xe,
|
|
3483
3490
|
{
|
|
3484
|
-
ref:
|
|
3491
|
+
ref: g,
|
|
3485
3492
|
items: M,
|
|
3486
3493
|
perPage: void 0,
|
|
3487
3494
|
gap: "16px",
|
|
@@ -3492,38 +3499,38 @@ function so({
|
|
|
3492
3499
|
breakpoints: {
|
|
3493
3500
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3494
3501
|
},
|
|
3495
|
-
renderItem: (O) => /* @__PURE__ */ t(
|
|
3502
|
+
renderItem: (O) => /* @__PURE__ */ t(co, { coupon: O }),
|
|
3496
3503
|
onMove: ({ isStart: O, isEnd: w }) => m({ isStart: O, isEnd: w })
|
|
3497
3504
|
}
|
|
3498
3505
|
)
|
|
3499
3506
|
] }) });
|
|
3500
3507
|
}
|
|
3501
|
-
function
|
|
3508
|
+
function mo({}) {
|
|
3502
3509
|
return /* @__PURE__ */ t(
|
|
3503
3510
|
"div",
|
|
3504
3511
|
{
|
|
3505
3512
|
className: Ie.cardWrapper,
|
|
3506
|
-
children: /* @__PURE__ */
|
|
3507
|
-
/* @__PURE__ */
|
|
3513
|
+
children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1, children: [
|
|
3514
|
+
/* @__PURE__ */ b(Q, { spacing: 1, direction: "row", children: [
|
|
3508
3515
|
/* @__PURE__ */ t(X, { variant: "text", width: "60%", height: 24 }),
|
|
3509
3516
|
/* @__PURE__ */ t(X, { variant: "text", width: "39%", height: 24 })
|
|
3510
3517
|
] }),
|
|
3511
|
-
/* @__PURE__ */
|
|
3518
|
+
/* @__PURE__ */ b(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3512
3519
|
/* @__PURE__ */ t(X, { variant: "circular", width: 32, height: 40 }),
|
|
3513
3520
|
/* @__PURE__ */ t(X, { variant: "text", width: 40, height: 40 }),
|
|
3514
3521
|
/* @__PURE__ */ t(X, { variant: "circular", width: 32, height: 40 })
|
|
3515
3522
|
] }),
|
|
3516
|
-
/* @__PURE__ */
|
|
3523
|
+
/* @__PURE__ */ b(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3517
3524
|
/* @__PURE__ */ t(X, { variant: "text", width: 32, height: 16 }),
|
|
3518
3525
|
/* @__PURE__ */ t(X, { variant: "text", width: 40, height: 16 }),
|
|
3519
3526
|
/* @__PURE__ */ t(X, { variant: "text", width: 32, height: 16 })
|
|
3520
3527
|
] }),
|
|
3521
|
-
/* @__PURE__ */
|
|
3528
|
+
/* @__PURE__ */ b(Q, { spacing: 2, direction: "row", children: [
|
|
3522
3529
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 16 }),
|
|
3523
3530
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 16 }),
|
|
3524
3531
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 16 })
|
|
3525
3532
|
] }),
|
|
3526
|
-
/* @__PURE__ */
|
|
3533
|
+
/* @__PURE__ */ b(Q, { spacing: 2, direction: "row", children: [
|
|
3527
3534
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 32 }),
|
|
3528
3535
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 32 }),
|
|
3529
3536
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 32 })
|
|
@@ -3532,39 +3539,39 @@ function co({}) {
|
|
|
3532
3539
|
}
|
|
3533
3540
|
);
|
|
3534
3541
|
}
|
|
3535
|
-
const
|
|
3536
|
-
fadeWrapper:
|
|
3542
|
+
const po = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", fo = {
|
|
3543
|
+
fadeWrapper: po
|
|
3537
3544
|
};
|
|
3538
3545
|
function Ve({ children: e }) {
|
|
3539
|
-
return /* @__PURE__ */ t("div", { className:
|
|
3546
|
+
return /* @__PURE__ */ t("div", { className: fo.fadeWrapper, children: e });
|
|
3540
3547
|
}
|
|
3541
|
-
const
|
|
3542
|
-
padding:
|
|
3548
|
+
const go = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", ho = {
|
|
3549
|
+
padding: go
|
|
3543
3550
|
};
|
|
3544
|
-
function
|
|
3551
|
+
function At({
|
|
3545
3552
|
events: e,
|
|
3546
3553
|
visibleRange: a,
|
|
3547
3554
|
fetchJerseys: n,
|
|
3548
3555
|
buffer: o = 2,
|
|
3549
3556
|
debounceMs: i = 250
|
|
3550
3557
|
}) {
|
|
3551
|
-
const [
|
|
3558
|
+
const [l, s] = ee({}), c = Z(/* @__PURE__ */ new Set()), g = Z(0), f = Z(null), m = Z(null);
|
|
3552
3559
|
return re(() => {
|
|
3553
3560
|
if (!(!e || e.length === 0))
|
|
3554
|
-
return
|
|
3561
|
+
return f.current && clearTimeout(f.current), f.current = setTimeout(() => {
|
|
3555
3562
|
var C, O;
|
|
3556
|
-
const d = (C = a.start) != null ? C : 0, u = (O = a.end) != null ? O : 7,
|
|
3557
|
-
let v =
|
|
3563
|
+
const d = (C = a.start) != null ? C : 0, u = (O = a.end) != null ? O : 7, _ = Math.max(0, d - o), x = Math.min(e.length - 1, u + o);
|
|
3564
|
+
let v = _, S = x;
|
|
3558
3565
|
const M = m.current;
|
|
3559
|
-
M && (
|
|
3560
|
-
const E = e.slice(v, S + 1).map((w) => w == null ? void 0 : w.id).filter((w) => !!w).filter((w) => !c.current.has(w)).filter((w) => !(w in
|
|
3566
|
+
M && (_ > M.end && (v = M.end + 1), x < M.start && (S = M.start - 1)), m.current = { start: _, end: x };
|
|
3567
|
+
const E = e.slice(v, S + 1).map((w) => w == null ? void 0 : w.id).filter((w) => !!w).filter((w) => !c.current.has(w)).filter((w) => !(w in l));
|
|
3561
3568
|
if (E.length === 0) return;
|
|
3562
3569
|
E.forEach((w) => c.current.add(w));
|
|
3563
|
-
const
|
|
3570
|
+
const h = ++g.current;
|
|
3564
3571
|
(async () => {
|
|
3565
3572
|
try {
|
|
3566
3573
|
const w = await n(E);
|
|
3567
|
-
if (
|
|
3574
|
+
if (h !== g.current) {
|
|
3568
3575
|
E.forEach((R) => c.current.delete(R));
|
|
3569
3576
|
return;
|
|
3570
3577
|
}
|
|
@@ -3574,7 +3581,7 @@ function $t({
|
|
|
3574
3581
|
);
|
|
3575
3582
|
return;
|
|
3576
3583
|
}
|
|
3577
|
-
|
|
3584
|
+
s((R) => {
|
|
3578
3585
|
const $ = { ...R };
|
|
3579
3586
|
for (const [y, I] of Object.entries(w.events)) {
|
|
3580
3587
|
const F = Number(y);
|
|
@@ -3595,34 +3602,34 @@ function $t({
|
|
|
3595
3602
|
}
|
|
3596
3603
|
})();
|
|
3597
3604
|
}, i), () => {
|
|
3598
|
-
|
|
3605
|
+
f.current && clearTimeout(f.current);
|
|
3599
3606
|
};
|
|
3600
3607
|
}, [e, a, o, i, n]), {
|
|
3601
|
-
jerseys:
|
|
3608
|
+
jerseys: l,
|
|
3602
3609
|
isPending: c.current
|
|
3603
3610
|
};
|
|
3604
3611
|
}
|
|
3605
|
-
const
|
|
3612
|
+
const bo = (e) => {
|
|
3606
3613
|
const a = ["esports", "cyber"];
|
|
3607
3614
|
return e.filter((n) => {
|
|
3608
|
-
var
|
|
3609
|
-
if (typeof ((
|
|
3610
|
-
const i = typeof ((
|
|
3615
|
+
var l, s;
|
|
3616
|
+
if (typeof ((l = n == null ? void 0 : n.event) == null ? void 0 : l.sport) != "string") return !1;
|
|
3617
|
+
const i = typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.group) == "string" ? n.event.group.toLowerCase() : "";
|
|
3611
3618
|
return !a.some((c) => i.includes(c));
|
|
3612
3619
|
});
|
|
3613
|
-
},
|
|
3614
|
-
function
|
|
3620
|
+
}, _o = ve.memo(vn);
|
|
3621
|
+
function vo({
|
|
3615
3622
|
items: e,
|
|
3616
3623
|
title: a = "En vivo",
|
|
3617
3624
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
|
|
3618
3625
|
onViewMore: o,
|
|
3619
3626
|
className: i = ""
|
|
3620
3627
|
}) {
|
|
3621
|
-
const
|
|
3628
|
+
const l = [
|
|
3622
3629
|
{ sport: "football", url: "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" },
|
|
3623
3630
|
{ sport: "basketball", url: "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/basketball/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" },
|
|
3624
3631
|
{ sport: "tennis", url: "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/tennis/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" }
|
|
3625
|
-
],
|
|
3632
|
+
], s = Z(null), [c, g] = ee({ isStart: !0, isEnd: !1 }), [f, m] = ee(null), [d, u] = ee({ start: null, end: null }), [_, x] = ee(null), v = Z(!1), S = se(), M = ce(), E = pe(), h = Z(/* @__PURE__ */ new Map()), C = () => {
|
|
3626
3633
|
var B;
|
|
3627
3634
|
S({
|
|
3628
3635
|
element: "evento_en_vivo_prev",
|
|
@@ -3634,7 +3641,7 @@ function bo({
|
|
|
3634
3641
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3635
3642
|
},
|
|
3636
3643
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3637
|
-
}), (B =
|
|
3644
|
+
}), (B = s.current) == null || B.prev();
|
|
3638
3645
|
}, O = () => {
|
|
3639
3646
|
var B;
|
|
3640
3647
|
S({
|
|
@@ -3647,7 +3654,7 @@ function bo({
|
|
|
3647
3654
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3648
3655
|
},
|
|
3649
3656
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3650
|
-
}), (B =
|
|
3657
|
+
}), (B = s.current) == null || B.next();
|
|
3651
3658
|
}, w = () => {
|
|
3652
3659
|
S({
|
|
3653
3660
|
element: "evento_en_vivo_view_more",
|
|
@@ -3659,7 +3666,7 @@ function bo({
|
|
|
3659
3666
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3660
3667
|
},
|
|
3661
3668
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3662
|
-
}),
|
|
3669
|
+
}), ja();
|
|
3663
3670
|
}, L = Pe(async () => {
|
|
3664
3671
|
var B;
|
|
3665
3672
|
try {
|
|
@@ -3667,41 +3674,41 @@ function bo({
|
|
|
3667
3674
|
v.current = !0;
|
|
3668
3675
|
try {
|
|
3669
3676
|
const q = await (await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(), K = ((B = q == null ? void 0 : q.data) == null ? void 0 : B.event_ids) || [], Y = /* @__PURE__ */ new Map();
|
|
3670
|
-
K.forEach((r, p) => Y.set(String(r), p)),
|
|
3671
|
-
} catch (
|
|
3672
|
-
console.error("Order fetch failed, using default sorting",
|
|
3677
|
+
K.forEach((r, p) => Y.set(String(r), p)), h.current = Y;
|
|
3678
|
+
} catch (G) {
|
|
3679
|
+
console.error("Order fetch failed, using default sorting", G);
|
|
3673
3680
|
}
|
|
3674
3681
|
}
|
|
3675
3682
|
const P = await Promise.all(
|
|
3676
|
-
|
|
3683
|
+
l.map(async (G) => {
|
|
3677
3684
|
try {
|
|
3678
|
-
const q = await fetch(
|
|
3679
|
-
if (!q.ok) throw new Error(`Failed to fetch ${
|
|
3685
|
+
const q = await fetch(G.url);
|
|
3686
|
+
if (!q.ok) throw new Error(`Failed to fetch ${G.sport}`);
|
|
3680
3687
|
const K = await q.json();
|
|
3681
3688
|
return {
|
|
3682
|
-
sport:
|
|
3689
|
+
sport: G.sport,
|
|
3683
3690
|
events: K.events || []
|
|
3684
3691
|
};
|
|
3685
3692
|
} catch (q) {
|
|
3686
|
-
return console.error(`Error fetching ${
|
|
3693
|
+
return console.error(`Error fetching ${G.sport}:`, q), { sport: G.sport, events: [] };
|
|
3687
3694
|
}
|
|
3688
3695
|
})
|
|
3689
3696
|
);
|
|
3690
3697
|
let W = [];
|
|
3691
|
-
P.forEach(({ sport:
|
|
3692
|
-
const Y =
|
|
3698
|
+
P.forEach(({ sport: G, events: q }) => {
|
|
3699
|
+
const Y = bo(q).map((r) => ({ ...r, _sportGroup: G }));
|
|
3693
3700
|
W.push(...Y);
|
|
3694
3701
|
});
|
|
3695
3702
|
const V = {
|
|
3696
3703
|
football: 0,
|
|
3697
3704
|
basketball: 0,
|
|
3698
3705
|
tennis: 0
|
|
3699
|
-
}, D = W.sort((
|
|
3706
|
+
}, D = W.sort((G, q) => {
|
|
3700
3707
|
var k, N;
|
|
3701
|
-
const K = (k = V[
|
|
3708
|
+
const K = (k = V[G._sportGroup]) != null ? k : 1 / 0, Y = (N = V[q._sportGroup]) != null ? N : 1 / 0;
|
|
3702
3709
|
if (K !== Y)
|
|
3703
3710
|
return K - Y;
|
|
3704
|
-
const r =
|
|
3711
|
+
const r = h.current.get(String(G.event.id)), p = h.current.get(String(q.event.id));
|
|
3705
3712
|
return (r !== void 0 ? r : 1 / 0) - (p !== void 0 ? p : 1 / 0);
|
|
3706
3713
|
});
|
|
3707
3714
|
m(D);
|
|
@@ -3714,26 +3721,26 @@ function bo({
|
|
|
3714
3721
|
const B = setInterval(L, 2e4);
|
|
3715
3722
|
return () => clearInterval(B);
|
|
3716
3723
|
}, [L]);
|
|
3717
|
-
const { jerseys: R } =
|
|
3718
|
-
events: (
|
|
3724
|
+
const { jerseys: R } = At({
|
|
3725
|
+
events: (f == null ? void 0 : f.map((B) => B.event)) || [],
|
|
3719
3726
|
// extract actual event objects
|
|
3720
3727
|
visibleRange: d,
|
|
3721
|
-
fetchJerseys:
|
|
3728
|
+
fetchJerseys: It,
|
|
3722
3729
|
buffer: 3,
|
|
3723
3730
|
// same as your previous BUFFER
|
|
3724
3731
|
debounceMs: 300
|
|
3725
3732
|
// same as your previous debouncedVisibleRange
|
|
3726
|
-
}), $ = i || void 0, y =
|
|
3727
|
-
return !y &&
|
|
3733
|
+
}), $ = i || void 0, y = f === null, I = de(() => y ? Array(4).fill({}) : (f == null ? void 0 : f.slice(0, 20)) || [], [y, f]), F = Ne("(max-width:950px)");
|
|
3734
|
+
return !y && f.length === 0 ? null : /* @__PURE__ */ t("section", { className: $, style: {
|
|
3728
3735
|
// paddingLeft: 16,
|
|
3729
3736
|
// paddingRight: 16,
|
|
3730
3737
|
width: "100%",
|
|
3731
3738
|
boxSizing: "border-box"
|
|
3732
|
-
}, children: /* @__PURE__ */
|
|
3733
|
-
/* @__PURE__ */ t("div", { className:
|
|
3739
|
+
}, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3740
|
+
/* @__PURE__ */ t("div", { className: ho.padding, children: /* @__PURE__ */ b(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3734
3741
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
3735
|
-
/* @__PURE__ */
|
|
3736
|
-
/* @__PURE__ */
|
|
3742
|
+
/* @__PURE__ */ b("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3743
|
+
/* @__PURE__ */ b(me, { spacing: 1, columns: "auto auto", children: [
|
|
3737
3744
|
/* @__PURE__ */ t(
|
|
3738
3745
|
ae,
|
|
3739
3746
|
{
|
|
@@ -3751,7 +3758,7 @@ function bo({
|
|
|
3751
3758
|
ariaLabel: "Siguiente",
|
|
3752
3759
|
variant: "secondary",
|
|
3753
3760
|
iconOnly: !0,
|
|
3754
|
-
rightIcon: /* @__PURE__ */ t(
|
|
3761
|
+
rightIcon: /* @__PURE__ */ t(He, {}),
|
|
3755
3762
|
onClick: O,
|
|
3756
3763
|
disabled: c.isEnd
|
|
3757
3764
|
}
|
|
@@ -3763,7 +3770,7 @@ function bo({
|
|
|
3763
3770
|
/* @__PURE__ */ t(
|
|
3764
3771
|
xe,
|
|
3765
3772
|
{
|
|
3766
|
-
ref:
|
|
3773
|
+
ref: s,
|
|
3767
3774
|
items: I,
|
|
3768
3775
|
perPage: void 0,
|
|
3769
3776
|
showRightGradient: !F,
|
|
@@ -3778,8 +3785,8 @@ function bo({
|
|
|
3778
3785
|
renderItem: (B) => {
|
|
3779
3786
|
var V;
|
|
3780
3787
|
const P = ((V = B.event) == null ? void 0 : V.id) || B.eventId, W = P in R ? R[P] : void 0;
|
|
3781
|
-
return y ? /* @__PURE__ */ t(Ve, { children: /* @__PURE__ */ t(
|
|
3782
|
-
|
|
3788
|
+
return y ? /* @__PURE__ */ t(Ve, { children: /* @__PURE__ */ t(mo, {}) }) : /* @__PURE__ */ t(Ve, { children: /* @__PURE__ */ t(
|
|
3789
|
+
_o,
|
|
3783
3790
|
{
|
|
3784
3791
|
...B,
|
|
3785
3792
|
jersey: W
|
|
@@ -3787,7 +3794,7 @@ function bo({
|
|
|
3787
3794
|
) });
|
|
3788
3795
|
},
|
|
3789
3796
|
onMove: ({ isStart: B, isEnd: P, visibleStart: W, visibleEnd: V }) => {
|
|
3790
|
-
|
|
3797
|
+
g(
|
|
3791
3798
|
(D) => D.isStart === B && D.isEnd === P ? D : { isStart: B, isEnd: P }
|
|
3792
3799
|
), u({ start: W, end: V });
|
|
3793
3800
|
}
|
|
@@ -3795,26 +3802,26 @@ function bo({
|
|
|
3795
3802
|
)
|
|
3796
3803
|
] }) });
|
|
3797
3804
|
}
|
|
3798
|
-
function
|
|
3799
|
-
return /* @__PURE__ */
|
|
3800
|
-
/* @__PURE__ */ t(
|
|
3801
|
-
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */
|
|
3802
|
-
/* @__PURE__ */
|
|
3805
|
+
function yo() {
|
|
3806
|
+
return /* @__PURE__ */ b("div", { className: Te.cardContainer, children: [
|
|
3807
|
+
/* @__PURE__ */ t(St, { title: "" }),
|
|
3808
|
+
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3809
|
+
/* @__PURE__ */ b(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3803
3810
|
/* @__PURE__ */ t(X, { variant: "circular", width: 48, height: 48 }),
|
|
3804
3811
|
/* @__PURE__ */ t(X, { variant: "circular", width: 48, height: 48 })
|
|
3805
3812
|
] }),
|
|
3806
|
-
/* @__PURE__ */
|
|
3807
|
-
/* @__PURE__ */
|
|
3813
|
+
/* @__PURE__ */ b(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3814
|
+
/* @__PURE__ */ b(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3808
3815
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 12 }),
|
|
3809
3816
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 12 })
|
|
3810
3817
|
] }),
|
|
3811
3818
|
/* @__PURE__ */ t(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(X, { variant: "text", width: 160, height: 12 }) }),
|
|
3812
|
-
/* @__PURE__ */
|
|
3819
|
+
/* @__PURE__ */ b(Q, { direction: "row", spacing: 1, children: [
|
|
3813
3820
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 16 }),
|
|
3814
3821
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 16 }),
|
|
3815
3822
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 16 })
|
|
3816
3823
|
] }),
|
|
3817
|
-
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */
|
|
3824
|
+
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ b(Q, { direction: "row", spacing: 1, children: [
|
|
3818
3825
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 80, height: 32 }),
|
|
3819
3826
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 80, height: 32 }),
|
|
3820
3827
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 80, height: 32 })
|
|
@@ -3823,30 +3830,30 @@ function _o() {
|
|
|
3823
3830
|
] }) })
|
|
3824
3831
|
] });
|
|
3825
3832
|
}
|
|
3826
|
-
const
|
|
3827
|
-
wrapper:
|
|
3828
|
-
container:
|
|
3829
|
-
buttonWrapper:
|
|
3830
|
-
padding:
|
|
3831
|
-
},
|
|
3832
|
-
async function
|
|
3833
|
+
const xo = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", So = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", wo = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Oo = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Be = {
|
|
3834
|
+
wrapper: xo,
|
|
3835
|
+
container: So,
|
|
3836
|
+
buttonWrapper: wo,
|
|
3837
|
+
padding: Oo
|
|
3838
|
+
}, Io = ve.memo(En);
|
|
3839
|
+
async function To(e, a = 2, n) {
|
|
3833
3840
|
const o = [];
|
|
3834
3841
|
for (let i = 0; i < e.length; i += a) {
|
|
3835
3842
|
if (n.aborted)
|
|
3836
3843
|
throw new DOMException("Aborted", "AbortError");
|
|
3837
|
-
const
|
|
3838
|
-
|
|
3844
|
+
const l = e.slice(i, i + a), s = await Promise.all(
|
|
3845
|
+
l.map((c) => fetch(c, { signal: n }).then((g) => g.json()))
|
|
3839
3846
|
);
|
|
3840
|
-
o.push(...
|
|
3847
|
+
o.push(...s);
|
|
3841
3848
|
}
|
|
3842
3849
|
return o;
|
|
3843
3850
|
}
|
|
3844
|
-
function
|
|
3851
|
+
function Eo(e) {
|
|
3845
3852
|
return [...e].sort(
|
|
3846
3853
|
(a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
|
|
3847
3854
|
);
|
|
3848
3855
|
}
|
|
3849
|
-
function
|
|
3856
|
+
function Co(e) {
|
|
3850
3857
|
const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
|
|
3851
3858
|
return e.filter((o) => {
|
|
3852
3859
|
if (!o.start) return !1;
|
|
@@ -3854,31 +3861,31 @@ function To(e) {
|
|
|
3854
3861
|
return i >= a && i <= n;
|
|
3855
3862
|
});
|
|
3856
3863
|
}
|
|
3857
|
-
function
|
|
3864
|
+
function ko(e, a) {
|
|
3858
3865
|
const o = a.filter((i) => {
|
|
3859
|
-
var
|
|
3860
|
-
return ((
|
|
3861
|
-
}).reduce((i,
|
|
3866
|
+
var l;
|
|
3867
|
+
return ((l = i.betOfferType) == null ? void 0 : l.id) === 2;
|
|
3868
|
+
}).reduce((i, l) => (i[l.eventId] || (i[l.eventId] = []), i[l.eventId].push(l), i), {});
|
|
3862
3869
|
return e.filter((i) => o[i.id]).map((i) => ({
|
|
3863
3870
|
...i,
|
|
3864
3871
|
outcome: o[i.id]
|
|
3865
3872
|
}));
|
|
3866
3873
|
}
|
|
3867
|
-
function
|
|
3874
|
+
function No({
|
|
3868
3875
|
items: e,
|
|
3869
3876
|
title: a = "En vivo",
|
|
3870
3877
|
iconUrl: n,
|
|
3871
3878
|
onViewMore: o,
|
|
3872
3879
|
className: i = ""
|
|
3873
3880
|
}) {
|
|
3874
|
-
const
|
|
3881
|
+
const l = se(), s = ce(), c = pe(), g = [
|
|
3875
3882
|
{ englishName: "Football", termPath: "football", limit: 5 },
|
|
3876
3883
|
{ englishName: "Basketball", termPath: "basketball", limit: 2 },
|
|
3877
3884
|
{ englishName: "Tennis", termPath: "tennis", limit: 2 }
|
|
3878
|
-
],
|
|
3879
|
-
|
|
3885
|
+
], f = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", m = Z(null), [d, u] = ee({ isStart: !0, isEnd: !1 }), [_, x] = ee(null), [v, S] = ee({ start: null, end: null }), M = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", E = () => {
|
|
3886
|
+
l({
|
|
3880
3887
|
element: "evento_semana_view_more",
|
|
3881
|
-
label: `${
|
|
3888
|
+
label: `${s} - OraculoSeccionEventoSemana - Ver más`,
|
|
3882
3889
|
target: "ver_mas",
|
|
3883
3890
|
event_type: "click",
|
|
3884
3891
|
module_id: c,
|
|
@@ -3886,9 +3893,9 @@ function Co({
|
|
|
3886
3893
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3887
3894
|
},
|
|
3888
3895
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3889
|
-
}),
|
|
3896
|
+
}), Ka();
|
|
3890
3897
|
};
|
|
3891
|
-
async function
|
|
3898
|
+
async function h(y) {
|
|
3892
3899
|
var B, P, W;
|
|
3893
3900
|
let I = [], F = [];
|
|
3894
3901
|
try {
|
|
@@ -3905,14 +3912,14 @@ function Co({
|
|
|
3905
3912
|
return;
|
|
3906
3913
|
}
|
|
3907
3914
|
try {
|
|
3908
|
-
const D = await (await fetch(
|
|
3909
|
-
if (!Array.isArray(
|
|
3915
|
+
const D = await (await fetch(f, { signal: y })).json(), G = (W = D == null ? void 0 : D.group) == null ? void 0 : W.groups;
|
|
3916
|
+
if (!Array.isArray(G)) {
|
|
3910
3917
|
console.error("Sport groups structure invalid");
|
|
3911
3918
|
return;
|
|
3912
3919
|
}
|
|
3913
3920
|
const q = I.length > 0 ? new Map(I.map((Y, r) => [String(Y), r])) : null, K = [];
|
|
3914
|
-
for (const Y of
|
|
3915
|
-
const r =
|
|
3921
|
+
for (const Y of g) {
|
|
3922
|
+
const r = G.find(
|
|
3916
3923
|
(N) => {
|
|
3917
3924
|
var z;
|
|
3918
3925
|
return ((z = N.englishName) == null ? void 0 : z.toLowerCase()) === Y.englishName.toLowerCase();
|
|
@@ -3944,15 +3951,15 @@ function Co({
|
|
|
3944
3951
|
}
|
|
3945
3952
|
async function C(y, I, F) {
|
|
3946
3953
|
try {
|
|
3947
|
-
const B = await
|
|
3954
|
+
const B = await To(y, 2, F);
|
|
3948
3955
|
let P = [], W = [];
|
|
3949
3956
|
B.forEach((q) => {
|
|
3950
3957
|
q.events && (P.push(...q.events.map((K) => K.event)), W.push(
|
|
3951
3958
|
...q.events.flatMap((K) => K.betOffers || [])
|
|
3952
3959
|
));
|
|
3953
3960
|
});
|
|
3954
|
-
const V =
|
|
3955
|
-
let
|
|
3961
|
+
const V = ko(P, W), D = Eo(Co(V));
|
|
3962
|
+
let G = D;
|
|
3956
3963
|
if (I.length > 0) {
|
|
3957
3964
|
const q = new Map(
|
|
3958
3965
|
I.map((K, Y) => [
|
|
@@ -3960,13 +3967,13 @@ function Co({
|
|
|
3960
3967
|
Y
|
|
3961
3968
|
])
|
|
3962
3969
|
);
|
|
3963
|
-
|
|
3970
|
+
G = [...D].sort((K, Y) => {
|
|
3964
3971
|
const r = q.get(String(K.id)), p = q.get(String(Y.id));
|
|
3965
3972
|
return r !== void 0 && p !== void 0 ? r - p : r !== void 0 ? -1 : p !== void 0 ? 1 : 0;
|
|
3966
3973
|
});
|
|
3967
3974
|
}
|
|
3968
3975
|
if (F.aborted) return;
|
|
3969
|
-
x(
|
|
3976
|
+
x(G);
|
|
3970
3977
|
} catch (B) {
|
|
3971
3978
|
console.error("Error loading events:", B);
|
|
3972
3979
|
}
|
|
@@ -3974,7 +3981,7 @@ function Co({
|
|
|
3974
3981
|
re(() => {
|
|
3975
3982
|
if (!e) return;
|
|
3976
3983
|
const y = new AbortController();
|
|
3977
|
-
return
|
|
3984
|
+
return h(y.signal), () => {
|
|
3978
3985
|
y.abort();
|
|
3979
3986
|
};
|
|
3980
3987
|
}, [e]);
|
|
@@ -3982,15 +3989,15 @@ function Co({
|
|
|
3982
3989
|
paddingLeft: 0,
|
|
3983
3990
|
width: "100%",
|
|
3984
3991
|
boxSizing: "border-box"
|
|
3985
|
-
}, { jerseys: L } =
|
|
3986
|
-
events:
|
|
3992
|
+
}, { jerseys: L } = At({
|
|
3993
|
+
events: _,
|
|
3987
3994
|
visibleRange: v,
|
|
3988
|
-
fetchJerseys:
|
|
3995
|
+
fetchJerseys: It,
|
|
3989
3996
|
buffer: 2,
|
|
3990
3997
|
debounceMs: 250
|
|
3991
|
-
}), R =
|
|
3992
|
-
return !R &&
|
|
3993
|
-
/* @__PURE__ */ t("div", { className: Be.container, children: /* @__PURE__ */
|
|
3998
|
+
}), R = _ === null, $ = Ne("(max-width:950px)");
|
|
3999
|
+
return !R && _.length === 0 ? null : /* @__PURE__ */ t("section", { className: O, style: w, children: /* @__PURE__ */ b("div", { className: `${Be.wrapper} ${Be.padding}`, children: [
|
|
4000
|
+
/* @__PURE__ */ t("div", { className: Be.container, children: /* @__PURE__ */ b(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3994
4001
|
/* @__PURE__ */ t(ye, { title: "Eventos de la semana" }),
|
|
3995
4002
|
/* @__PURE__ */ t("div", { className: Be.buttonWrapper, children: /* @__PURE__ */ t(
|
|
3996
4003
|
ae,
|
|
@@ -4009,7 +4016,7 @@ function Co({
|
|
|
4009
4016
|
xe,
|
|
4010
4017
|
{
|
|
4011
4018
|
ref: m,
|
|
4012
|
-
items: R ? Array(6).fill({}) :
|
|
4019
|
+
items: R ? Array(6).fill({}) : _.slice(0, 20),
|
|
4013
4020
|
perPage: 3.5,
|
|
4014
4021
|
gap: "16px",
|
|
4015
4022
|
enableHorizontalWheel: !0,
|
|
@@ -4025,15 +4032,15 @@ function Co({
|
|
|
4025
4032
|
},
|
|
4026
4033
|
renderItem: (y) => {
|
|
4027
4034
|
const I = y.id, F = I in L ? L[I] : void 0;
|
|
4028
|
-
return R ? /* @__PURE__ */ t(Ve, { children: /* @__PURE__ */ t(
|
|
4035
|
+
return R ? /* @__PURE__ */ t(Ve, { children: /* @__PURE__ */ t(yo, {}) }) : /* @__PURE__ */ t(Ve, { children: /* @__PURE__ */ t(Io, { event: y, jersey: F }) });
|
|
4029
4036
|
},
|
|
4030
4037
|
onMove: ({ isStart: y, isEnd: I, visibleStart: F, visibleEnd: B, source: P }) => {
|
|
4031
4038
|
u({ isStart: y, isEnd: I }), S({
|
|
4032
4039
|
start: F,
|
|
4033
4040
|
end: B
|
|
4034
|
-
}), P === "user" &&
|
|
4041
|
+
}), P === "user" && l({
|
|
4035
4042
|
element: "evento_semana_carousel_slide",
|
|
4036
|
-
label: `${
|
|
4043
|
+
label: `${s} - OraculoSeccionEventoSemana - Slide Carousel`,
|
|
4037
4044
|
target: "carousel",
|
|
4038
4045
|
event_type: "slide",
|
|
4039
4046
|
module_id: c,
|
|
@@ -4051,52 +4058,52 @@ function Co({
|
|
|
4051
4058
|
) })
|
|
4052
4059
|
] }) });
|
|
4053
4060
|
}
|
|
4054
|
-
const
|
|
4061
|
+
const $o = -300, Ao = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ft = (e) => {
|
|
4055
4062
|
if (!e) return null;
|
|
4056
|
-
if (
|
|
4057
|
-
const
|
|
4058
|
-
return Number.isNaN(
|
|
4063
|
+
if (Ao(e)) {
|
|
4064
|
+
const g = new Date(e).getTime();
|
|
4065
|
+
return Number.isNaN(g) ? null : g;
|
|
4059
4066
|
}
|
|
4060
4067
|
const a = e.match(
|
|
4061
4068
|
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
|
|
4062
4069
|
);
|
|
4063
4070
|
if (!a) return null;
|
|
4064
|
-
const [, n, o, i,
|
|
4071
|
+
const [, n, o, i, l, s, c = "00"] = a;
|
|
4065
4072
|
return Date.UTC(
|
|
4066
4073
|
Number(n),
|
|
4067
4074
|
Number(o) - 1,
|
|
4068
4075
|
Number(i),
|
|
4069
|
-
Number(
|
|
4070
|
-
Number(
|
|
4076
|
+
Number(l) - $o / 60,
|
|
4077
|
+
Number(s),
|
|
4071
4078
|
Number(c)
|
|
4072
4079
|
);
|
|
4073
|
-
},
|
|
4074
|
-
var c,
|
|
4075
|
-
const n = (
|
|
4076
|
-
return !(
|
|
4080
|
+
}, Mo = (e, a) => {
|
|
4081
|
+
var c, g, f, m, d, u, _, x, v;
|
|
4082
|
+
const n = (f = (g = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? g : e == null ? void 0 : e.extraFields) != null ? f : [], o = (u = (d = e == null ? void 0 : e.startAt) != null ? d : (m = n.find((S) => (S == null ? void 0 : S.name) === "startAt")) == null ? void 0 : m.value) != null ? u : null, i = (v = (x = e == null ? void 0 : e.endAt) != null ? x : (_ = n.find((S) => (S == null ? void 0 : S.name) === "endAt")) == null ? void 0 : _.value) != null ? v : null, l = ft(o), s = ft(i);
|
|
4083
|
+
return !(l != null && a < l || s != null && a >= s);
|
|
4077
4084
|
};
|
|
4078
|
-
function
|
|
4085
|
+
function Bo({
|
|
4079
4086
|
backgrounds: e,
|
|
4080
4087
|
items: a,
|
|
4081
4088
|
hideItems: n,
|
|
4082
4089
|
user: o = null
|
|
4083
4090
|
}) {
|
|
4084
4091
|
var Y;
|
|
4085
|
-
const [i,
|
|
4092
|
+
const [i, l] = ee(0), s = se(), c = ce(), g = pe(), f = Z(null), m = Z(!1), d = Z(!1), [u, _] = ee(() => Date.now()), x = ue("setDepositActionGlobal"), v = ue("setAbrirLiveActionGlobal"), S = ue("openLoginWithRedirect"), M = (r) => [...r != null ? r : []].map((p, T) => ({ item: p, index: T })).sort((p, T) => {
|
|
4086
4093
|
var N, z;
|
|
4087
4094
|
const A = (N = p.item.order) != null ? N : Number.MAX_SAFE_INTEGER, k = (z = T.item.order) != null ? z : Number.MAX_SAFE_INTEGER;
|
|
4088
4095
|
return A - k || p.index - T.index;
|
|
4089
|
-
}).map(({ item: p }) => p), E = de(() => M(a), [a]),
|
|
4096
|
+
}).map(({ item: p }) => p), E = de(() => M(a), [a]), h = de(() => {
|
|
4090
4097
|
const r = (e != null ? e : []).filter(
|
|
4091
|
-
(p) =>
|
|
4098
|
+
(p) => Mo(p, u)
|
|
4092
4099
|
);
|
|
4093
4100
|
return M(r);
|
|
4094
|
-
}, [e, u]), C =
|
|
4095
|
-
|
|
4101
|
+
}, [e, u]), C = h.length || 1, O = !h || h.length === 0, w = !O && h.length > 1, L = !n && E.length > 0;
|
|
4102
|
+
Xe("(max-width:950px)");
|
|
4096
4103
|
const R = "#B5B5B5";
|
|
4097
4104
|
re(() => {
|
|
4098
4105
|
const r = window.setInterval(() => {
|
|
4099
|
-
|
|
4106
|
+
_(Date.now());
|
|
4100
4107
|
}, 3e4);
|
|
4101
4108
|
return () => window.clearInterval(r);
|
|
4102
4109
|
}, []);
|
|
@@ -4159,16 +4166,16 @@ function Ao({
|
|
|
4159
4166
|
return;
|
|
4160
4167
|
}
|
|
4161
4168
|
const N = ((J = (z = p.href) == null ? void 0 : z.split("/").pop()) == null ? void 0 : J.split(".")[0]) || p.label || p.id || `banner_${T + 1}`;
|
|
4162
|
-
|
|
4169
|
+
s({
|
|
4163
4170
|
element: "banner_carousel",
|
|
4164
4171
|
label: `${c} - OraculoSeccionBanners - Banner click: ${N}`,
|
|
4165
4172
|
target: p.href || "no_url",
|
|
4166
4173
|
event_type: "click",
|
|
4167
|
-
module_id:
|
|
4174
|
+
module_id: g,
|
|
4168
4175
|
metadata: {
|
|
4169
4176
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
4170
4177
|
banner_position: T + 1,
|
|
4171
|
-
banner_total: (
|
|
4178
|
+
banner_total: (h == null ? void 0 : h.length) || 0
|
|
4172
4179
|
},
|
|
4173
4180
|
tags: {
|
|
4174
4181
|
banner_type: "carousel",
|
|
@@ -4178,12 +4185,12 @@ function Ao({
|
|
|
4178
4185
|
});
|
|
4179
4186
|
}, F = (r) => {
|
|
4180
4187
|
var p;
|
|
4181
|
-
if (
|
|
4188
|
+
if (s({
|
|
4182
4189
|
element: "banner_menu_item",
|
|
4183
4190
|
label: `${c} - OraculoSeccionBanners - Menu item click: ${r.label || r.id}`,
|
|
4184
4191
|
target: r.href || "action",
|
|
4185
4192
|
event_type: "click",
|
|
4186
|
-
module_id:
|
|
4193
|
+
module_id: g,
|
|
4187
4194
|
metadata: {
|
|
4188
4195
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
4189
4196
|
item_id: r.id
|
|
@@ -4200,32 +4207,32 @@ function Ao({
|
|
|
4200
4207
|
return;
|
|
4201
4208
|
}
|
|
4202
4209
|
r.href && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(r.href);
|
|
4203
|
-
}, B = 5e3, P = Z(null), W = !O && ((Y =
|
|
4210
|
+
}, B = 5e3, P = Z(null), W = !O && ((Y = h == null ? void 0 : h.length) != null ? Y : 0) > 1, V = () => {
|
|
4204
4211
|
P.current != null && (window.clearTimeout(P.current), P.current = null);
|
|
4205
4212
|
}, D = () => {
|
|
4206
4213
|
V(), W && (P.current = window.setTimeout(() => {
|
|
4207
4214
|
var r;
|
|
4208
|
-
d.current = !0, (r =
|
|
4215
|
+
d.current = !0, (r = f.current) == null || r.next();
|
|
4209
4216
|
}, B));
|
|
4210
4217
|
};
|
|
4211
4218
|
re(() => (D(), () => V()), [W, B]);
|
|
4212
|
-
const
|
|
4219
|
+
const G = (r) => {
|
|
4213
4220
|
var p;
|
|
4214
|
-
r.preventDefault(), r.stopPropagation(), V(), (p =
|
|
4221
|
+
r.preventDefault(), r.stopPropagation(), V(), (p = f.current) == null || p.prev();
|
|
4215
4222
|
}, q = (r) => {
|
|
4216
4223
|
var p;
|
|
4217
|
-
r.preventDefault(), r.stopPropagation(), V(), (p =
|
|
4224
|
+
r.preventDefault(), r.stopPropagation(), V(), (p = f.current) == null || p.next();
|
|
4218
4225
|
}, K = (r) => {
|
|
4219
4226
|
var A, k, N, z;
|
|
4220
4227
|
const p = (r % C + C) % C;
|
|
4221
4228
|
if (!m.current) return;
|
|
4222
|
-
const T = (A =
|
|
4223
|
-
|
|
4229
|
+
const T = (A = h == null ? void 0 : h[p]) != null && A.href ? ((N = (k = h[p].href) == null ? void 0 : k.split("/").pop()) == null ? void 0 : N.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
|
|
4230
|
+
s({
|
|
4224
4231
|
element: "banner_carousel",
|
|
4225
4232
|
label: `${c} - OraculoSeccionBanners - Banner view: Slide ${p + 1} - ${T}`,
|
|
4226
|
-
target: ((z =
|
|
4233
|
+
target: ((z = h == null ? void 0 : h[p]) == null ? void 0 : z.href) || "no_url",
|
|
4227
4234
|
event_type: "view",
|
|
4228
|
-
module_id:
|
|
4235
|
+
module_id: g,
|
|
4229
4236
|
metadata: {
|
|
4230
4237
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
4231
4238
|
slide_index: p + 1,
|
|
@@ -4235,7 +4242,7 @@ function Ao({
|
|
|
4235
4242
|
tags: { banner_position: String(p + 1) }
|
|
4236
4243
|
});
|
|
4237
4244
|
};
|
|
4238
|
-
return /* @__PURE__ */
|
|
4245
|
+
return /* @__PURE__ */ b(
|
|
4239
4246
|
le,
|
|
4240
4247
|
{
|
|
4241
4248
|
component: "section",
|
|
@@ -4245,7 +4252,7 @@ function Ao({
|
|
|
4245
4252
|
pb: L ? { xs: "40px", sm: 0 } : 0
|
|
4246
4253
|
},
|
|
4247
4254
|
children: [
|
|
4248
|
-
/* @__PURE__ */
|
|
4255
|
+
/* @__PURE__ */ b(
|
|
4249
4256
|
le,
|
|
4250
4257
|
{
|
|
4251
4258
|
sx: {
|
|
@@ -4272,22 +4279,22 @@ function Ao({
|
|
|
4272
4279
|
children: /* @__PURE__ */ t(
|
|
4273
4280
|
xe,
|
|
4274
4281
|
{
|
|
4275
|
-
ref:
|
|
4276
|
-
items:
|
|
4282
|
+
ref: f,
|
|
4283
|
+
items: h,
|
|
4277
4284
|
perPage: 1,
|
|
4278
4285
|
gap: "0px",
|
|
4279
4286
|
enableHorizontalWheel: !0,
|
|
4280
4287
|
options: y,
|
|
4281
4288
|
onMove: ({ index: r, source: p }) => {
|
|
4282
4289
|
const T = (r % C + C) % C;
|
|
4283
|
-
|
|
4290
|
+
l(T);
|
|
4284
4291
|
const A = d.current;
|
|
4285
4292
|
d.current = !1, p === "user" && (D(), A || K(r));
|
|
4286
4293
|
},
|
|
4287
4294
|
renderItem: (r, p) => {
|
|
4288
4295
|
var z, J, ne;
|
|
4289
4296
|
const T = !!r.idFunction, A = !!r.href, k = A && !T, N = T || A;
|
|
4290
|
-
return /* @__PURE__ */
|
|
4297
|
+
return /* @__PURE__ */ b(
|
|
4291
4298
|
le,
|
|
4292
4299
|
{
|
|
4293
4300
|
component: k ? "a" : "div",
|
|
@@ -4304,7 +4311,7 @@ function Ao({
|
|
|
4304
4311
|
cursor: N ? "pointer" : "default"
|
|
4305
4312
|
},
|
|
4306
4313
|
children: [
|
|
4307
|
-
/* @__PURE__ */
|
|
4314
|
+
/* @__PURE__ */ b(le, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
|
|
4308
4315
|
/* @__PURE__ */ t("source", { srcSet: r.desktopSrc, media: "(min-width:950px)" }),
|
|
4309
4316
|
/* @__PURE__ */ t("source", { srcSet: r.mobileSrc, media: "(max-width:949px)" }),
|
|
4310
4317
|
/* @__PURE__ */ t(
|
|
@@ -4351,12 +4358,12 @@ function Ao({
|
|
|
4351
4358
|
)
|
|
4352
4359
|
}
|
|
4353
4360
|
),
|
|
4354
|
-
w && /* @__PURE__ */
|
|
4361
|
+
w && /* @__PURE__ */ b(te, { children: [
|
|
4355
4362
|
/* @__PURE__ */ t(
|
|
4356
|
-
|
|
4363
|
+
Ye,
|
|
4357
4364
|
{
|
|
4358
4365
|
"aria-label": "Anterior",
|
|
4359
|
-
onClick:
|
|
4366
|
+
onClick: G,
|
|
4360
4367
|
sx: {
|
|
4361
4368
|
...$,
|
|
4362
4369
|
left: "120px",
|
|
@@ -4367,7 +4374,7 @@ function Ao({
|
|
|
4367
4374
|
}
|
|
4368
4375
|
),
|
|
4369
4376
|
/* @__PURE__ */ t(
|
|
4370
|
-
|
|
4377
|
+
Ye,
|
|
4371
4378
|
{
|
|
4372
4379
|
"aria-label": "Siguiente",
|
|
4373
4380
|
onClick: q,
|
|
@@ -4377,7 +4384,7 @@ function Ao({
|
|
|
4377
4384
|
"@media (max-width:1024px)": { right: 24 },
|
|
4378
4385
|
"@media (max-width:786px)": { display: "none" }
|
|
4379
4386
|
},
|
|
4380
|
-
children: /* @__PURE__ */ t(
|
|
4387
|
+
children: /* @__PURE__ */ t(He, {})
|
|
4381
4388
|
}
|
|
4382
4389
|
)
|
|
4383
4390
|
] }),
|
|
@@ -4394,7 +4401,7 @@ function Ao({
|
|
|
4394
4401
|
zIndex: 2
|
|
4395
4402
|
},
|
|
4396
4403
|
children: /* @__PURE__ */ t(
|
|
4397
|
-
|
|
4404
|
+
xt,
|
|
4398
4405
|
{
|
|
4399
4406
|
total: C,
|
|
4400
4407
|
active: i,
|
|
@@ -4425,7 +4432,7 @@ function Ao({
|
|
|
4425
4432
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
4426
4433
|
zIndex: 3
|
|
4427
4434
|
},
|
|
4428
|
-
children: E == null ? void 0 : E.map((r) => /* @__PURE__ */
|
|
4435
|
+
children: E == null ? void 0 : E.map((r) => /* @__PURE__ */ b(
|
|
4429
4436
|
le,
|
|
4430
4437
|
{
|
|
4431
4438
|
sx: {
|
|
@@ -4472,7 +4479,7 @@ function Ao({
|
|
|
4472
4479
|
},
|
|
4473
4480
|
onClick: () => F(r),
|
|
4474
4481
|
children: [
|
|
4475
|
-
r.icon && /* @__PURE__ */
|
|
4482
|
+
r.icon && /* @__PURE__ */ b(
|
|
4476
4483
|
le,
|
|
4477
4484
|
{
|
|
4478
4485
|
sx: {
|
|
@@ -4520,7 +4527,7 @@ function Ao({
|
|
|
4520
4527
|
}
|
|
4521
4528
|
),
|
|
4522
4529
|
/* @__PURE__ */ t(
|
|
4523
|
-
|
|
4530
|
+
_t,
|
|
4524
4531
|
{
|
|
4525
4532
|
className: "menu-text",
|
|
4526
4533
|
sx: {
|
|
@@ -4542,7 +4549,7 @@ function Ao({
|
|
|
4542
4549
|
}
|
|
4543
4550
|
);
|
|
4544
4551
|
}
|
|
4545
|
-
const
|
|
4552
|
+
const Lo = [
|
|
4546
4553
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
|
|
4547
4554
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
|
|
4548
4555
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
|
|
@@ -4552,14 +4559,14 @@ const Mo = [
|
|
|
4552
4559
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
|
|
4553
4560
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
|
|
4554
4561
|
];
|
|
4555
|
-
function
|
|
4562
|
+
function Ro({
|
|
4556
4563
|
title: e = "Medios de pago",
|
|
4557
|
-
items: a =
|
|
4564
|
+
items: a = Lo
|
|
4558
4565
|
}) {
|
|
4559
4566
|
const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
|
|
4560
|
-
return /* @__PURE__ */
|
|
4567
|
+
return /* @__PURE__ */ b(le, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
4561
4568
|
/* @__PURE__ */ t(
|
|
4562
|
-
|
|
4569
|
+
_t,
|
|
4563
4570
|
{
|
|
4564
4571
|
id: "mp-title",
|
|
4565
4572
|
variant: "h6",
|
|
@@ -4586,7 +4593,7 @@ function Bo({
|
|
|
4586
4593
|
}
|
|
4587
4594
|
}
|
|
4588
4595
|
),
|
|
4589
|
-
/* @__PURE__ */
|
|
4596
|
+
/* @__PURE__ */ b(Re, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
|
|
4590
4597
|
/* @__PURE__ */ t(
|
|
4591
4598
|
Re,
|
|
4592
4599
|
{
|
|
@@ -4595,7 +4602,7 @@ function Bo({
|
|
|
4595
4602
|
alignItems: "center",
|
|
4596
4603
|
gap: { xs: 2, md: 3 },
|
|
4597
4604
|
flexWrap: "wrap",
|
|
4598
|
-
children: o.map((
|
|
4605
|
+
children: o.map((l, s) => /* @__PURE__ */ t(et, { ...l }, `${l.alt}-${l.src}-${s}`))
|
|
4599
4606
|
}
|
|
4600
4607
|
),
|
|
4601
4608
|
/* @__PURE__ */ t(
|
|
@@ -4606,17 +4613,17 @@ function Bo({
|
|
|
4606
4613
|
alignItems: "center",
|
|
4607
4614
|
gap: { xs: 2, md: 3 },
|
|
4608
4615
|
flexWrap: "wrap",
|
|
4609
|
-
children: i.map((
|
|
4616
|
+
children: i.map((l, s) => /* @__PURE__ */ t(et, { ...l }, `${l.alt}-${l.src}-${s}`))
|
|
4610
4617
|
}
|
|
4611
4618
|
)
|
|
4612
4619
|
] })
|
|
4613
4620
|
] });
|
|
4614
4621
|
}
|
|
4615
|
-
function
|
|
4622
|
+
function Mt({
|
|
4616
4623
|
children: e
|
|
4617
4624
|
}) {
|
|
4618
|
-
const a =
|
|
4619
|
-
() =>
|
|
4625
|
+
const a = Vt(), n = ve.useMemo(
|
|
4626
|
+
() => Dt(a, {
|
|
4620
4627
|
typography: { fontFamily: "var(--orc-font)" },
|
|
4621
4628
|
components: {
|
|
4622
4629
|
MuiTypography: {
|
|
@@ -4628,31 +4635,31 @@ function At({
|
|
|
4628
4635
|
}),
|
|
4629
4636
|
[a]
|
|
4630
4637
|
);
|
|
4631
|
-
return /* @__PURE__ */
|
|
4638
|
+
return /* @__PURE__ */ b(Ht, { theme: n, children: [
|
|
4632
4639
|
/* @__PURE__ */ t(Gt, {}),
|
|
4633
4640
|
e
|
|
4634
4641
|
] });
|
|
4635
4642
|
}
|
|
4636
|
-
function
|
|
4643
|
+
function ir({
|
|
4637
4644
|
docId: e = "Landing: home",
|
|
4638
4645
|
moduleId: a = 301,
|
|
4639
4646
|
children: n
|
|
4640
4647
|
}) {
|
|
4641
|
-
return /* @__PURE__ */ t(
|
|
4648
|
+
return /* @__PURE__ */ t(Mt, { children: /* @__PURE__ */ t(Et, { docId: e, moduleId: a, children: n }) });
|
|
4642
4649
|
}
|
|
4643
|
-
const
|
|
4644
|
-
OraculoSeccionDestacados:
|
|
4645
|
-
OraculoSeccionTopJuegos:
|
|
4646
|
-
OraculoSeccionCasinoEnVivo:
|
|
4647
|
-
OraculoSeccionCasino:
|
|
4648
|
-
OraculoSeccionVirtuales:
|
|
4649
|
-
OraculoSeccionClubOlimpo:
|
|
4650
|
-
OraculoSeccionBonoBienvenida:
|
|
4651
|
-
OraculoSeccionBanners:
|
|
4652
|
-
OraculoSeccionMediosPago:
|
|
4653
|
-
OraculoSeccionEventoEnVivo:
|
|
4654
|
-
OraculoSeccionEventoSemana:
|
|
4655
|
-
OraculoSeccionEventoCombinadas:
|
|
4650
|
+
const Po = {
|
|
4651
|
+
OraculoSeccionDestacados: kn,
|
|
4652
|
+
OraculoSeccionTopJuegos: Bn,
|
|
4653
|
+
OraculoSeccionCasinoEnVivo: Zn,
|
|
4654
|
+
OraculoSeccionCasino: Jn,
|
|
4655
|
+
OraculoSeccionVirtuales: eo,
|
|
4656
|
+
OraculoSeccionClubOlimpo: no,
|
|
4657
|
+
OraculoSeccionBonoBienvenida: ao,
|
|
4658
|
+
OraculoSeccionBanners: Bo,
|
|
4659
|
+
OraculoSeccionMediosPago: Ro,
|
|
4660
|
+
OraculoSeccionEventoEnVivo: vo,
|
|
4661
|
+
OraculoSeccionEventoSemana: No,
|
|
4662
|
+
OraculoSeccionEventoCombinadas: uo
|
|
4656
4663
|
}, Le = {
|
|
4657
4664
|
sections: [
|
|
4658
4665
|
{
|
|
@@ -6021,20 +6028,20 @@ const Lo = {
|
|
|
6021
6028
|
componentKey: "OraculoSeccionMediosPago"
|
|
6022
6029
|
}
|
|
6023
6030
|
]
|
|
6024
|
-
},
|
|
6031
|
+
}, Fo = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, zo = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
6025
6032
|
function Ae(e) {
|
|
6026
6033
|
return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
|
|
6027
6034
|
var o, i;
|
|
6028
6035
|
return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
|
|
6029
6036
|
}).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
|
|
6030
|
-
var o, i,
|
|
6037
|
+
var o, i, l, s, c;
|
|
6031
6038
|
return {
|
|
6032
6039
|
id: (o = a.id) != null ? o : n + 1,
|
|
6033
6040
|
title: (i = a.title) != null ? i : "",
|
|
6034
6041
|
componentKey: a.componentKey,
|
|
6035
|
-
visible: (
|
|
6042
|
+
visible: (l = a.visible) != null ? l : !0,
|
|
6036
6043
|
order: n + 1,
|
|
6037
|
-
props: (
|
|
6044
|
+
props: (s = a.props) != null ? s : {},
|
|
6038
6045
|
apiUrl: (c = a.apiUrl) != null ? c : "",
|
|
6039
6046
|
dataMode: a.dataMode,
|
|
6040
6047
|
variableName: a.variableName,
|
|
@@ -6047,23 +6054,23 @@ function Ae(e) {
|
|
|
6047
6054
|
};
|
|
6048
6055
|
}) : [];
|
|
6049
6056
|
}
|
|
6050
|
-
const
|
|
6051
|
-
Object.entries(
|
|
6052
|
-
([e, a]) =>
|
|
6057
|
+
const Uo = Object.fromEntries(
|
|
6058
|
+
Object.entries(Po).filter(
|
|
6059
|
+
([e, a]) => zo(e) && Fo(a)
|
|
6053
6060
|
)
|
|
6054
|
-
),
|
|
6061
|
+
), qo = (e) => {
|
|
6055
6062
|
try {
|
|
6056
6063
|
return Object.fromEntries(e != null ? e : []);
|
|
6057
6064
|
} catch {
|
|
6058
6065
|
return console.warn("[oraculo] extras inválidos. Debe ser Array<[string, unknown]>", e), {};
|
|
6059
6066
|
}
|
|
6060
6067
|
};
|
|
6061
|
-
class
|
|
6068
|
+
class gt extends Error {
|
|
6062
6069
|
constructor(a, n, o) {
|
|
6063
6070
|
super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
|
|
6064
6071
|
}
|
|
6065
6072
|
}
|
|
6066
|
-
class
|
|
6073
|
+
class Wo extends ve.Component {
|
|
6067
6074
|
constructor(a) {
|
|
6068
6075
|
super(a), this.state = { hasError: !1 };
|
|
6069
6076
|
}
|
|
@@ -6083,28 +6090,28 @@ class Uo extends ve.Component {
|
|
|
6083
6090
|
return this.state.hasError ? null : this.props.children;
|
|
6084
6091
|
}
|
|
6085
6092
|
}
|
|
6086
|
-
const
|
|
6093
|
+
const ht = [
|
|
6087
6094
|
"OraculoSeccionEventoEnVivo",
|
|
6088
6095
|
"OraculoSeccionEventoSemana",
|
|
6089
6096
|
"OraculoSeccionEventoCombinadas"
|
|
6090
|
-
],
|
|
6097
|
+
], Vo = [
|
|
6091
6098
|
"OraculoSeccionCasino",
|
|
6092
6099
|
"OraculoSeccionVirtuales",
|
|
6093
6100
|
"OraculoSeccionCasinoEnVivo",
|
|
6094
6101
|
"OraculoSeccionTopJuegos",
|
|
6095
6102
|
"OraculoSeccionDestacados"
|
|
6096
|
-
],
|
|
6103
|
+
], lr = ({
|
|
6097
6104
|
sectionsOverride: e,
|
|
6098
6105
|
docId: a = "Landing: home",
|
|
6099
6106
|
moduleId: n = 301,
|
|
6100
6107
|
db: o,
|
|
6101
6108
|
extras: i,
|
|
6102
|
-
loader:
|
|
6103
|
-
disableWrapper:
|
|
6109
|
+
loader: l,
|
|
6110
|
+
disableWrapper: s = !1
|
|
6104
6111
|
}) => {
|
|
6105
|
-
const c = de(() =>
|
|
6112
|
+
const c = de(() => qo(i), [i]), g = l || c.loader, [f, m] = ee(
|
|
6106
6113
|
() => e ? [] : Ae(Le)
|
|
6107
|
-
), [d, u] = ee(!1), [
|
|
6114
|
+
), [d, u] = ee(!1), [_, x] = ee({}), [v, S] = ee({}), [M, E] = ee({}), h = Xe("(min-width:1024px)"), C = de(
|
|
6108
6115
|
() => Ae(Le),
|
|
6109
6116
|
[]
|
|
6110
6117
|
), O = (r) => C.find(
|
|
@@ -6142,8 +6149,8 @@ const gt = [
|
|
|
6142
6149
|
console.warn("[landing] FALLBACK:", T, A != null ? A : ""), m(Ae(Le)), u(!1);
|
|
6143
6150
|
};
|
|
6144
6151
|
u(!0);
|
|
6145
|
-
const p =
|
|
6146
|
-
|
|
6152
|
+
const p = Zt(
|
|
6153
|
+
jt(o, "landings", a),
|
|
6147
6154
|
(T) => {
|
|
6148
6155
|
try {
|
|
6149
6156
|
if (!T.exists()) {
|
|
@@ -6167,11 +6174,11 @@ const gt = [
|
|
|
6167
6174
|
}
|
|
6168
6175
|
);
|
|
6169
6176
|
return () => p();
|
|
6170
|
-
}, [e, a, o]), re(() => (
|
|
6171
|
-
(e ? e.slice() :
|
|
6172
|
-
}, [e,
|
|
6177
|
+
}, [e, a, o]), re(() => (Nn(c), () => $n()), [c]), re(() => {
|
|
6178
|
+
(e ? e.slice() : f.slice()).map((T) => T.componentKey).filter((T) => !!T).length;
|
|
6179
|
+
}, [e, f]);
|
|
6173
6180
|
const y = async (r) => {
|
|
6174
|
-
if (
|
|
6181
|
+
if (ht.includes(r.componentKey))
|
|
6175
6182
|
return {
|
|
6176
6183
|
items: [],
|
|
6177
6184
|
events: [],
|
|
@@ -6202,11 +6209,11 @@ const gt = [
|
|
|
6202
6209
|
headers: z,
|
|
6203
6210
|
body: N
|
|
6204
6211
|
});
|
|
6205
|
-
if (!J.ok) throw new
|
|
6212
|
+
if (!J.ok) throw new gt(J.status, k, J.statusText);
|
|
6206
6213
|
return J.json();
|
|
6207
6214
|
}, I = de(
|
|
6208
|
-
() => e ? e.slice() :
|
|
6209
|
-
[e,
|
|
6215
|
+
() => e ? e.slice() : f.slice(),
|
|
6216
|
+
[e, f]
|
|
6210
6217
|
), F = ve.useRef(/* @__PURE__ */ new Set());
|
|
6211
6218
|
re(() => {
|
|
6212
6219
|
const r = I.map((p) => ({ s: p, url: (p.apiUrl || "").trim() })).filter(({ url: p }) => !!p);
|
|
@@ -6219,7 +6226,7 @@ const gt = [
|
|
|
6219
6226
|
x((N) => ({ ...N, [p.id]: k }));
|
|
6220
6227
|
} catch (k) {
|
|
6221
6228
|
let N = "Error desconocido";
|
|
6222
|
-
k instanceof
|
|
6229
|
+
k instanceof gt ? N = `Error HTTP ${k.status} (${k.statusText}) en ${k.url}` : k instanceof SyntaxError ? N = "Respuesta no es JSON válido" : k instanceof TypeError ? N = "Fallo de red / CORS / conexión" : typeof k == "string" && (N = k.toString()), E((z) => ({ ...z, [p.id]: N }));
|
|
6223
6230
|
} finally {
|
|
6224
6231
|
S((k) => ({ ...k, [p.id]: !1 }));
|
|
6225
6232
|
}
|
|
@@ -6295,10 +6302,10 @@ const gt = [
|
|
|
6295
6302
|
return k[N] = [], k;
|
|
6296
6303
|
}, D = (r) => {
|
|
6297
6304
|
var N;
|
|
6298
|
-
const p = !!((N = r.apiUrl) != null && N.trim()), T = p ?
|
|
6305
|
+
const p = !!((N = r.apiUrl) != null && N.trim()), T = p ? _[r.id] : void 0;
|
|
6299
6306
|
let A = r.props ? { ...r.props } : {};
|
|
6300
6307
|
const k = W(r.manualScalarFields);
|
|
6301
|
-
if (
|
|
6308
|
+
if (ht.includes(r.componentKey))
|
|
6302
6309
|
return { items: T, ...A, ...k };
|
|
6303
6310
|
if (A = { ...A, ...k }, p)
|
|
6304
6311
|
A = V(T, null, A);
|
|
@@ -6315,7 +6322,7 @@ const gt = [
|
|
|
6315
6322
|
}
|
|
6316
6323
|
}
|
|
6317
6324
|
return A;
|
|
6318
|
-
},
|
|
6325
|
+
}, G = (r) => {
|
|
6319
6326
|
const p = r.props ? { ...r.props } : {};
|
|
6320
6327
|
try {
|
|
6321
6328
|
Object.assign(p, W(r.manualScalarFields));
|
|
@@ -6342,7 +6349,7 @@ const gt = [
|
|
|
6342
6349
|
} catch (A) {
|
|
6343
6350
|
console.error("🔥 ERROR EN fallback buildCompProps:", T, A);
|
|
6344
6351
|
}
|
|
6345
|
-
return
|
|
6352
|
+
return G(r);
|
|
6346
6353
|
}
|
|
6347
6354
|
}, K = (r, p, T) => /* @__PURE__ */ t("div", { className: `mx-4 p-4 rounded ${{
|
|
6348
6355
|
loading: "bg-blue-100 text-blue-800",
|
|
@@ -6350,12 +6357,12 @@ const gt = [
|
|
|
6350
6357
|
component: "bg-yellow-100 text-yellow-800"
|
|
6351
6358
|
}[p]}`, children: T }, r), Y = (r) => {
|
|
6352
6359
|
var $e;
|
|
6353
|
-
const p = r.componentKey, T =
|
|
6360
|
+
const p = r.componentKey, T = Uo[p], k = (/* @__PURE__ */ new Set([
|
|
6354
6361
|
"OraculoSeccionBanners",
|
|
6355
6362
|
"OraculoSeccionBonoBienvenida",
|
|
6356
6363
|
"OraculoSeccionCasinoEnVivo",
|
|
6357
6364
|
"OraculoSeccionClubOlimpo",
|
|
6358
|
-
...
|
|
6365
|
+
...h ? [] : [
|
|
6359
6366
|
"OraculoSeccionEventoEnVivo",
|
|
6360
6367
|
"OraculoSeccionEventoSemana",
|
|
6361
6368
|
"OraculoSeccionEventoCombinadas",
|
|
@@ -6363,7 +6370,7 @@ const gt = [
|
|
|
6363
6370
|
"OraculoSeccionDestacados",
|
|
6364
6371
|
"OraculoSeccionCasino"
|
|
6365
6372
|
]
|
|
6366
|
-
])).has(r.componentKey), N =
|
|
6373
|
+
])).has(r.componentKey), N = h ? 120 : 24, z = (h ? 8 : 5) * 8, J = r.componentKey === "OraculoSeccionCasinoEnVivo", ne = {
|
|
6367
6374
|
width: "100%",
|
|
6368
6375
|
boxSizing: "border-box",
|
|
6369
6376
|
...k ? {} : { paddingLeft: N, paddingRight: N },
|
|
@@ -6378,10 +6385,10 @@ const gt = [
|
|
|
6378
6385
|
"component",
|
|
6379
6386
|
`Componente "${p}" no encontrado`
|
|
6380
6387
|
);
|
|
6381
|
-
const oe = !!(($e = r.apiUrl) != null && $e.trim()), j = oe ?
|
|
6388
|
+
const oe = !!(($e = r.apiUrl) != null && $e.trim()), j = oe ? _[r.id] : void 0, ie = oe ? !!v[r.id] : !1, Se = oe ? M[r.id] : "";
|
|
6382
6389
|
if (oe) {
|
|
6383
|
-
const
|
|
6384
|
-
if (ie && !j && !
|
|
6390
|
+
const Bt = Vo.includes(r.componentKey);
|
|
6391
|
+
if (ie && !j && !Bt)
|
|
6385
6392
|
return K(
|
|
6386
6393
|
r.id,
|
|
6387
6394
|
"loading",
|
|
@@ -6391,13 +6398,13 @@ const gt = [
|
|
|
6391
6398
|
const Me = O(r);
|
|
6392
6399
|
if (Me && Me.dataMode === "manual")
|
|
6393
6400
|
try {
|
|
6394
|
-
const
|
|
6395
|
-
return /* @__PURE__ */ t("div", { style: ne, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(T, { ...
|
|
6396
|
-
} catch (
|
|
6401
|
+
const Ze = q(Me);
|
|
6402
|
+
return /* @__PURE__ */ t("div", { style: ne, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(T, { ...Ze }) }, r.id);
|
|
6403
|
+
} catch (Ze) {
|
|
6397
6404
|
console.error(
|
|
6398
6405
|
"🔥 ERROR renderizando fallback manual de sección:",
|
|
6399
6406
|
Me,
|
|
6400
|
-
|
|
6407
|
+
Ze
|
|
6401
6408
|
);
|
|
6402
6409
|
}
|
|
6403
6410
|
return K(
|
|
@@ -6411,7 +6418,7 @@ const gt = [
|
|
|
6411
6418
|
...we,
|
|
6412
6419
|
user: c.user
|
|
6413
6420
|
} : we;
|
|
6414
|
-
return /* @__PURE__ */ t(
|
|
6421
|
+
return /* @__PURE__ */ t(Wo, { section: r, children: /* @__PURE__ */ t(
|
|
6415
6422
|
"div",
|
|
6416
6423
|
{
|
|
6417
6424
|
style: ne,
|
|
@@ -6422,8 +6429,8 @@ const gt = [
|
|
|
6422
6429
|
r.id
|
|
6423
6430
|
) });
|
|
6424
6431
|
};
|
|
6425
|
-
return d && !e &&
|
|
6426
|
-
|
|
6432
|
+
return d && !e && f.length === 0 ? g ? /* @__PURE__ */ t(g, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !d && !e && f.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(Mt, { children: /* @__PURE__ */ t(Et, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
|
|
6433
|
+
Lt,
|
|
6427
6434
|
{
|
|
6428
6435
|
className: "oli-font",
|
|
6429
6436
|
maxWidth: !1,
|
|
@@ -6436,7 +6443,7 @@ const gt = [
|
|
|
6436
6443
|
maxWidth: "100%",
|
|
6437
6444
|
overflowX: "hidden"
|
|
6438
6445
|
},
|
|
6439
|
-
children: /* @__PURE__ */ t(Re, { direction: "column", spacing:
|
|
6446
|
+
children: /* @__PURE__ */ t(Re, { direction: "column", spacing: h ? 8 : 5, useFlexGap: !0, children: B.map((r) => {
|
|
6440
6447
|
try {
|
|
6441
6448
|
return Y(r);
|
|
6442
6449
|
} catch (p) {
|
|
@@ -6447,45 +6454,45 @@ const gt = [
|
|
|
6447
6454
|
) }) });
|
|
6448
6455
|
};
|
|
6449
6456
|
export {
|
|
6450
|
-
|
|
6457
|
+
Et as DocIdProvider,
|
|
6451
6458
|
ae as OraculoButton,
|
|
6452
6459
|
xe as OraculoCarousel,
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6460
|
+
xt as OraculoCarouselDots,
|
|
6461
|
+
Fa as OraculoClubOlimpoVisual,
|
|
6462
|
+
Xa as OraculoEventCombinadasCard,
|
|
6463
|
+
vn as OraculoEventEnVivoCard,
|
|
6464
|
+
ra as OraculoEventHeader,
|
|
6465
|
+
Je as OraculoEventLabel,
|
|
6466
|
+
St as OraculoEventLeague,
|
|
6467
|
+
wt as OraculoEventScore,
|
|
6468
|
+
En as OraculoEventSemanaCard,
|
|
6469
|
+
oa as OraculoEventStatus,
|
|
6470
|
+
na as OraculoEventStatusBadge,
|
|
6464
6471
|
Ue as OraculoEventTeamInfo,
|
|
6465
6472
|
Fe as OraculoGameCard,
|
|
6466
|
-
|
|
6467
|
-
|
|
6473
|
+
Pa as OraculoGameRankCard,
|
|
6474
|
+
Ot as OraculoGameSlide,
|
|
6468
6475
|
me as OraculoGridGroup,
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6476
|
+
ot as OraculoLiveCasinoCard,
|
|
6477
|
+
et as OraculoLogoMediosPago,
|
|
6478
|
+
lr as OraculoPageLandingPreview,
|
|
6479
|
+
Bo as OraculoSeccionBanners,
|
|
6480
|
+
ao as OraculoSeccionBonoBienvenida,
|
|
6481
|
+
Jn as OraculoSeccionCasino,
|
|
6482
|
+
Zn as OraculoSeccionCasinoEnVivo,
|
|
6483
|
+
no as OraculoSeccionClubOlimpo,
|
|
6484
|
+
kn as OraculoSeccionDestacados,
|
|
6485
|
+
uo as OraculoSeccionEventoCombinadas,
|
|
6486
|
+
vo as OraculoSeccionEventoEnVivo,
|
|
6487
|
+
No as OraculoSeccionEventoSemana,
|
|
6488
|
+
Ro as OraculoSeccionMediosPago,
|
|
6489
|
+
Bn as OraculoSeccionTopJuegos,
|
|
6490
|
+
eo as OraculoSeccionVirtuales,
|
|
6491
|
+
ir as OraculoSectionHost,
|
|
6485
6492
|
ye as OraculoSectionTitle,
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6493
|
+
Mt as OraculoThemeProvider,
|
|
6494
|
+
Bn as OraculoTopJuegoItem,
|
|
6495
|
+
rt as OraculoWelcomeBanner,
|
|
6496
|
+
lr as default
|
|
6490
6497
|
};
|
|
6491
6498
|
//# sourceMappingURL=index.es.js.map
|