oraculo-ui 0.2.55 → 0.2.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +753 -727
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as h, Fragment as te } from "react/jsx-runtime";
|
|
2
2
|
import { Link as ht, Box as le, useMediaQuery as Je, IconButton as Qe, Typography as bt, Stack as Re, Container as Bt } from "@mui/material";
|
|
3
3
|
import ve, { useState as ee, useEffect as re, useRef as Z, forwardRef as Lt, useImperativeHandle as Rt, useCallback as Pe, createContext as Pt, useContext as Ft, useMemo as de, useLayoutEffect as qt } from "react";
|
|
4
4
|
import X from "@mui/material/Skeleton";
|
|
@@ -20,31 +20,31 @@ function ae({
|
|
|
20
20
|
href: n,
|
|
21
21
|
target: o,
|
|
22
22
|
rel: i,
|
|
23
|
-
type:
|
|
24
|
-
disabled:
|
|
23
|
+
type: s = "button",
|
|
24
|
+
disabled: l = !1,
|
|
25
25
|
variant: c = "primary",
|
|
26
|
-
size:
|
|
27
|
-
fullWidth:
|
|
26
|
+
size: f,
|
|
27
|
+
fullWidth: g = !1,
|
|
28
28
|
fullHeight: m = !1,
|
|
29
29
|
className: u = "",
|
|
30
30
|
ariaLabel: d,
|
|
31
|
-
leftIcon:
|
|
31
|
+
leftIcon: b,
|
|
32
32
|
rightIcon: x,
|
|
33
33
|
iconOnly: v
|
|
34
34
|
}) {
|
|
35
|
-
const
|
|
35
|
+
const I = !!e && e !== !0, _ = (!!b ? 1 : 0) + (!!x ? 1 : 0) == 1, $ = v != null ? v : _ && !I, w = [
|
|
36
36
|
"orc-btn",
|
|
37
37
|
c === "secondary" ? "orc-btn--secondary" : c === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
f ? `orc-btn--${f}` : "",
|
|
39
|
+
g ? "orc-btn--full" : "",
|
|
40
40
|
m ? "orc-btn--fullHeight" : "",
|
|
41
41
|
$ ? "orc-btn--iconOnly" : "",
|
|
42
42
|
u
|
|
43
|
-
].filter(Boolean).join(" "), S = /* @__PURE__ */
|
|
44
|
-
|
|
43
|
+
].filter(Boolean).join(" "), S = /* @__PURE__ */ h(te, { children: [
|
|
44
|
+
b && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: b }),
|
|
45
45
|
!$ && /* @__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 = l ? !0 : void 0;
|
|
48
48
|
return n ? /* @__PURE__ */ t(
|
|
49
49
|
ht,
|
|
50
50
|
{
|
|
@@ -61,7 +61,7 @@ function ae({
|
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
62
62
|
"button",
|
|
63
63
|
{
|
|
64
|
-
type:
|
|
64
|
+
type: s,
|
|
65
65
|
onClick: a,
|
|
66
66
|
disabled: !!L,
|
|
67
67
|
"aria-label": d,
|
|
@@ -76,12 +76,12 @@ function ye({
|
|
|
76
76
|
size: n = "md",
|
|
77
77
|
className: o = ""
|
|
78
78
|
}) {
|
|
79
|
-
const
|
|
79
|
+
const s = [
|
|
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__ */ h("div", { className: s, children: [
|
|
85
85
|
a && /* @__PURE__ */ t(
|
|
86
86
|
"img",
|
|
87
87
|
{
|
|
@@ -101,28 +101,28 @@ const yt = ({
|
|
|
101
101
|
durationMs: i = 5e3
|
|
102
102
|
}) => {
|
|
103
103
|
if (e <= 1) return null;
|
|
104
|
-
const
|
|
104
|
+
const s = ["orc-dots", o].filter(Boolean).join(" "), [l, c] = ee(0);
|
|
105
105
|
return re(() => {
|
|
106
|
-
c((
|
|
107
|
-
}, [a, i]), /* @__PURE__ */ t("div", { className:
|
|
108
|
-
const m =
|
|
106
|
+
c((f) => f + 1);
|
|
107
|
+
}, [a, i]), /* @__PURE__ */ t("div", { className: s, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((f, g) => {
|
|
108
|
+
const m = g === a;
|
|
109
109
|
return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
|
|
110
110
|
"button",
|
|
111
111
|
{
|
|
112
112
|
type: "button",
|
|
113
113
|
role: "tab",
|
|
114
114
|
"aria-selected": m,
|
|
115
|
-
"aria-label": `Ir al slide ${
|
|
115
|
+
"aria-label": `Ir al slide ${g + 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((u) => u + 1), n == null || n(
|
|
121
|
+
m && c((u) => u + 1), n == null || n(g);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
m ? `a-${
|
|
125
|
-
) },
|
|
124
|
+
m ? `a-${g}-${l}` : `i-${g}`
|
|
125
|
+
) }, g);
|
|
126
126
|
}) });
|
|
127
127
|
};
|
|
128
128
|
function me({
|
|
@@ -132,15 +132,15 @@ function me({
|
|
|
132
132
|
justify: o = "stretch",
|
|
133
133
|
columns: i = null
|
|
134
134
|
}) {
|
|
135
|
-
const
|
|
135
|
+
const s = i || `repeat(auto-fit, minmax(${a}px, 1fr))`, l = 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: s,
|
|
142
142
|
justifyItems: o,
|
|
143
|
-
gap:
|
|
143
|
+
gap: l,
|
|
144
144
|
height: "inherit"
|
|
145
145
|
},
|
|
146
146
|
children: e
|
|
@@ -193,9 +193,9 @@ function ta({
|
|
|
193
193
|
maxSubtitleChars: n = 25
|
|
194
194
|
}) {
|
|
195
195
|
const o = !!(a && a.length >= n);
|
|
196
|
-
return /* @__PURE__ */
|
|
196
|
+
return /* @__PURE__ */ h("div", { className: be.contenedor, children: [
|
|
197
197
|
/* @__PURE__ */ t("span", { className: be.title, children: e }),
|
|
198
|
-
a && /* @__PURE__ */
|
|
198
|
+
a && /* @__PURE__ */ h("div", { className: be.flexGroup, children: [
|
|
199
199
|
/* @__PURE__ */ t(
|
|
200
200
|
"svg",
|
|
201
201
|
{
|
|
@@ -207,7 +207,7 @@ 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__ */ h("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
|
] }) })
|
|
@@ -236,11 +236,11 @@ function aa({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
238
|
function na({ live: e, time: a, extra: n }) {
|
|
239
|
-
return /* @__PURE__ */
|
|
239
|
+
return /* @__PURE__ */ h("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
240
240
|
e && /* @__PURE__ */ t(aa, { text: "En vivo" }),
|
|
241
|
-
(a || n) && /* @__PURE__ */
|
|
241
|
+
(a || n) && /* @__PURE__ */ h("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
242
242
|
a && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "20px", paddingTop: "4px" }, children: a }),
|
|
243
|
-
n && /* @__PURE__ */
|
|
243
|
+
n && /* @__PURE__ */ h("span", { style: { fontSize: "14px", fontWeight: 700, lineHeight: "20px", paddingTop: "4px", 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
|
] })
|
|
@@ -248,7 +248,7 @@ function na({ live: e, time: a, extra: n }) {
|
|
|
248
248
|
] });
|
|
249
249
|
}
|
|
250
250
|
function oa({ title: e, subtitle: a, live: n = !1, time: o = "", extra: i = "" }) {
|
|
251
|
-
return /* @__PURE__ */
|
|
251
|
+
return /* @__PURE__ */ h(
|
|
252
252
|
"div",
|
|
253
253
|
{
|
|
254
254
|
style: {
|
|
@@ -286,7 +286,7 @@ const ca = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", da = "orac
|
|
|
286
286
|
basketball: fa
|
|
287
287
|
};
|
|
288
288
|
function St({ text: e, name: a, size: n = "normal" }) {
|
|
289
|
-
return /* @__PURE__ */
|
|
289
|
+
return /* @__PURE__ */ h(
|
|
290
290
|
"div",
|
|
291
291
|
{
|
|
292
292
|
className: `${Ee.scoreWrapper} ${Ee[n]}`,
|
|
@@ -312,7 +312,7 @@ const ga = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ha = "oraculo__
|
|
|
312
312
|
highlight: Ia
|
|
313
313
|
};
|
|
314
314
|
function et({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
315
|
-
return /* @__PURE__ */
|
|
315
|
+
return /* @__PURE__ */ h(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__ */ h(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
|
] }),
|
|
@@ -350,7 +350,7 @@ function et({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
350
350
|
] });
|
|
351
351
|
}
|
|
352
352
|
function tt({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
353
|
-
return /* @__PURE__ */
|
|
353
|
+
return /* @__PURE__ */ h(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__ */ h(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
|
] }),
|
|
@@ -388,7 +388,7 @@ function tt({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
388
388
|
] });
|
|
389
389
|
}
|
|
390
390
|
function Ta({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
391
|
-
return /* @__PURE__ */
|
|
391
|
+
return /* @__PURE__ */ h(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__ */ h(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
|
] }),
|
|
@@ -412,7 +412,7 @@ function Ta({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
|
412
412
|
] });
|
|
413
413
|
}
|
|
414
414
|
function Ea({ base: e, sleeve: a, stripes: n, sleevelong: o }) {
|
|
415
|
-
return /* @__PURE__ */
|
|
415
|
+
return /* @__PURE__ */ h(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__ */ h(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
|
] }),
|
|
@@ -481,21 +481,21 @@ function Ca({
|
|
|
481
481
|
className: o,
|
|
482
482
|
flag: i = ""
|
|
483
483
|
}) {
|
|
484
|
-
const
|
|
485
|
-
if (e === "TENNIS" && i == "" || e === "BASKETBALL" && (n == null ||
|
|
486
|
-
const
|
|
487
|
-
return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src:
|
|
484
|
+
const s = (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", l = (v) => v ? v.startsWith("#") ? v : `#${v}` : null;
|
|
485
|
+
if (e === "TENNIS" && i == "" || e === "BASKETBALL" && (n == null || s)) {
|
|
486
|
+
const I = `https://d28gilnhu2bcbp.cloudfront.net/landing/${e === "BASKETBALL" ? "basketball" : "tennis"}_default.png`;
|
|
487
|
+
return /* @__PURE__ */ t("div", { className: `${_e.polo} ${o != null ? o : ""}`, children: /* @__PURE__ */ t("img", { src: I, 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 = l(n.base) || "#FFFFFF", f = l(n.sleeve) || c, g = l(n.stripes), m = l(n.sleevelong), u = l(n.trim) || f, d = at[e] || at.FOOTBALL, b = d[a] || d.men, x = b.pathsComponent;
|
|
492
|
+
return /* @__PURE__ */ h("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: f,
|
|
498
|
+
stripes: g,
|
|
499
499
|
sleevelong: m,
|
|
500
500
|
trim: u
|
|
501
501
|
}
|
|
@@ -503,7 +503,7 @@ function Ca({
|
|
|
503
503
|
/* @__PURE__ */ t(
|
|
504
504
|
"img",
|
|
505
505
|
{
|
|
506
|
-
src:
|
|
506
|
+
src: b.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: b.highlightUrl,
|
|
516
516
|
className: _e.highlight,
|
|
517
517
|
alt: "",
|
|
518
518
|
"aria-hidden": !0
|
|
@@ -520,9 +520,9 @@ function Ca({
|
|
|
520
520
|
)
|
|
521
521
|
] });
|
|
522
522
|
}
|
|
523
|
-
function ze({ name: e, jersey: a, size: n = "regular", sport: o = "FOOTBALL", gender: i = "men", flag:
|
|
524
|
-
return /* @__PURE__ */
|
|
525
|
-
a != null && a.base ? /* @__PURE__ */ t(Ca, { sport: o, gender: i, colors: a, flag:
|
|
523
|
+
function ze({ name: e, jersey: a, size: n = "regular", sport: o = "FOOTBALL", gender: i = "men", flag: s = "" }) {
|
|
524
|
+
return /* @__PURE__ */ h("div", { className: `oli-font ${Ce.team} ${Ce[n]}`, children: [
|
|
525
|
+
a != null && a.base ? /* @__PURE__ */ t(Ca, { sport: o, gender: i, colors: a, flag: s, 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
|
}
|
|
@@ -531,24 +531,24 @@ function ka(e, a, {
|
|
|
531
531
|
threshold: o = 60,
|
|
532
532
|
cooldownMs: i = 500
|
|
533
533
|
} = {}) {
|
|
534
|
-
const
|
|
534
|
+
const s = Z(0), l = 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 f = (g) => {
|
|
540
540
|
const m = a.current;
|
|
541
541
|
if (!m || !m.go) return;
|
|
542
|
-
const { deltaX: u, deltaY: d } =
|
|
542
|
+
const { deltaX: u, deltaY: d } = g;
|
|
543
543
|
if (Math.abs(u) <= Math.abs(d)) return;
|
|
544
|
-
|
|
545
|
-
const
|
|
546
|
-
if (
|
|
547
|
-
const x =
|
|
548
|
-
|
|
544
|
+
g.preventDefault(), s.current += u;
|
|
545
|
+
const b = Date.now();
|
|
546
|
+
if (b - l.current < i || Math.abs(s.current) < o) return;
|
|
547
|
+
const x = s.current > 0 ? ">" : "<";
|
|
548
|
+
s.current = 0, l.current = b, m.go(x);
|
|
549
549
|
};
|
|
550
|
-
return c.addEventListener("wheel",
|
|
551
|
-
c.removeEventListener("wheel",
|
|
550
|
+
return c.addEventListener("wheel", f, { passive: !1 }), () => {
|
|
551
|
+
c.removeEventListener("wheel", f), s.current = 0;
|
|
552
552
|
};
|
|
553
553
|
}, [n, o, i, e, a]);
|
|
554
554
|
}
|
|
@@ -564,16 +564,16 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
564
564
|
perPage: n = 1,
|
|
565
565
|
gap: o = "0px",
|
|
566
566
|
breakpoints: i,
|
|
567
|
-
options:
|
|
568
|
-
className:
|
|
567
|
+
options: s = {},
|
|
568
|
+
className: l = "",
|
|
569
569
|
onMove: c,
|
|
570
|
-
useIndexAsKey:
|
|
571
|
-
enableHorizontalWheel:
|
|
570
|
+
useIndexAsKey: f = !1,
|
|
571
|
+
enableHorizontalWheel: g = !0,
|
|
572
572
|
showRightGradient: m = !1
|
|
573
573
|
}, u) => {
|
|
574
|
-
const d = Z(null),
|
|
575
|
-
ka(
|
|
576
|
-
enabled:
|
|
574
|
+
const d = Z(null), b = Z(null), x = Z(e.length), v = Z(null), I = Z(null), M = Z("user");
|
|
575
|
+
ka(b, d, {
|
|
576
|
+
enabled: g
|
|
577
577
|
}), Rt(u, () => ({
|
|
578
578
|
next: () => {
|
|
579
579
|
var A;
|
|
@@ -590,7 +590,7 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
590
590
|
}));
|
|
591
591
|
const N = (A) => {
|
|
592
592
|
var G;
|
|
593
|
-
const y = A.Components.Slides,
|
|
593
|
+
const y = A.Components.Slides, O = A.Components.Controller, F = A.root.querySelector(".splide__track"), B = (G = F == null ? void 0 : F.clientWidth) != null ? G : 0, P = O.getIndex(), W = y.getLength();
|
|
594
594
|
let V = 0, H = P;
|
|
595
595
|
for (let D = P; D < W; D++) {
|
|
596
596
|
const K = y.getAt(D);
|
|
@@ -599,40 +599,40 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
599
599
|
}
|
|
600
600
|
return { visibleStart: P, visibleEnd: H };
|
|
601
601
|
}, _ = (A) => {
|
|
602
|
-
const y = A.root.querySelector(".splide__track"),
|
|
603
|
-
return !y || !
|
|
602
|
+
const y = A.root.querySelector(".splide__track"), O = A.root.querySelector(".splide__list");
|
|
603
|
+
return !y || !O ? !1 : O.scrollWidth > y.clientWidth + 1;
|
|
604
604
|
}, $ = Z(!1), w = Pe((A) => {
|
|
605
605
|
var G, D;
|
|
606
606
|
if ($.current) return;
|
|
607
|
-
const
|
|
607
|
+
const O = A.Components.Slides.getLength(), F = M.current;
|
|
608
608
|
if (M.current = "user", !_(A)) {
|
|
609
609
|
c == null || c({
|
|
610
610
|
index: 0,
|
|
611
611
|
isStart: !0,
|
|
612
612
|
isEnd: !0,
|
|
613
|
-
total:
|
|
613
|
+
total: O,
|
|
614
614
|
visibleStart: 0,
|
|
615
|
-
visibleEnd:
|
|
615
|
+
visibleEnd: O - 1,
|
|
616
616
|
source: F
|
|
617
617
|
});
|
|
618
618
|
return;
|
|
619
619
|
}
|
|
620
|
-
const { visibleStart: B, visibleEnd: P } = N(A), W = B === 0, V = P ===
|
|
621
|
-
m && ((G = v.current) == null || G.style.setProperty("--gradient-opacity", W ? "0" : "1"), (D =
|
|
620
|
+
const { visibleStart: B, visibleEnd: P } = N(A), W = B === 0, V = P === O - 1;
|
|
621
|
+
m && ((G = v.current) == null || G.style.setProperty("--gradient-opacity", W ? "0" : "1"), (D = I.current) == null || D.style.setProperty("--gradient-opacity", V ? "0" : "1"));
|
|
622
622
|
const H = A.Components.Controller.getIndex();
|
|
623
623
|
c == null || c({
|
|
624
624
|
index: H,
|
|
625
625
|
isStart: W,
|
|
626
626
|
isEnd: V,
|
|
627
|
-
total:
|
|
627
|
+
total: O,
|
|
628
628
|
visibleStart: B,
|
|
629
629
|
visibleEnd: P,
|
|
630
630
|
source: F
|
|
631
631
|
});
|
|
632
632
|
}, [c]);
|
|
633
633
|
ve.useEffect(() => {
|
|
634
|
-
var
|
|
635
|
-
const A = (
|
|
634
|
+
var O;
|
|
635
|
+
const A = (O = d.current) == null ? void 0 : O.splide;
|
|
636
636
|
if (!A) return;
|
|
637
637
|
const y = x.current !== e.length;
|
|
638
638
|
x.current = e.length, y && requestAnimationFrame(() => {
|
|
@@ -674,14 +674,14 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
674
674
|
perPage: n,
|
|
675
675
|
gap: o,
|
|
676
676
|
breakpoints: i,
|
|
677
|
-
...
|
|
678
|
-
...
|
|
677
|
+
...s,
|
|
678
|
+
...g ? { wheel: !1 } : {}
|
|
679
679
|
};
|
|
680
|
-
return /* @__PURE__ */
|
|
680
|
+
return /* @__PURE__ */ h(
|
|
681
681
|
"div",
|
|
682
682
|
{
|
|
683
|
-
ref:
|
|
684
|
-
className:
|
|
683
|
+
ref: b,
|
|
684
|
+
className: l,
|
|
685
685
|
style: { width: "100%", position: "relative", height: "100%" },
|
|
686
686
|
children: [
|
|
687
687
|
/* @__PURE__ */ t(
|
|
@@ -693,19 +693,19 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
693
693
|
onMounted: L,
|
|
694
694
|
onResize: S,
|
|
695
695
|
children: e.map((A, y) => {
|
|
696
|
-
var
|
|
697
|
-
return /* @__PURE__ */ t(La, { children: a(A, y) },
|
|
696
|
+
var O;
|
|
697
|
+
return /* @__PURE__ */ t(La, { children: a(A, y) }, f ? y : (O = A.id) != null ? O : y);
|
|
698
698
|
})
|
|
699
699
|
}
|
|
700
700
|
),
|
|
701
|
-
m && /* @__PURE__ */
|
|
701
|
+
m && /* @__PURE__ */ h(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__ */ h(
|
|
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__ */ h("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
|
] }) })
|
|
@@ -727,10 +727,10 @@ const Na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", $a = "ora
|
|
|
727
727
|
/* @__PURE__ */ t(
|
|
728
728
|
"div",
|
|
729
729
|
{
|
|
730
|
-
ref:
|
|
730
|
+
ref: I,
|
|
731
731
|
className: `${ke.gradientOverlay} ${ke.right}`,
|
|
732
732
|
style: { "--gradient-opacity": "1" },
|
|
733
|
-
children: /* @__PURE__ */
|
|
733
|
+
children: /* @__PURE__ */ h(
|
|
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__ */ h("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 }, s = (c) => {
|
|
764
764
|
c.stopPropagation(), a == null || a();
|
|
765
|
-
},
|
|
766
|
-
return /* @__PURE__ */
|
|
765
|
+
}, l = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
766
|
+
return /* @__PURE__ */ h(
|
|
767
767
|
z,
|
|
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
|
+
...l,
|
|
778
778
|
"&:hover": {
|
|
779
779
|
transform: "translateY(-2px)",
|
|
780
780
|
boxShadow: 8,
|
|
@@ -834,7 +834,7 @@ 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: s, children: "Jugar" })
|
|
838
838
|
}
|
|
839
839
|
)
|
|
840
840
|
]
|
|
@@ -851,29 +851,29 @@ function Ra({
|
|
|
851
851
|
md: { w: 186, h: 264, r: 22.6, font: 64 }
|
|
852
852
|
}
|
|
853
853
|
}) {
|
|
854
|
-
var u, d,
|
|
855
|
-
const
|
|
854
|
+
var u, d, b, x;
|
|
855
|
+
const s = (v, I) => {
|
|
856
856
|
var M, N, _, $;
|
|
857
857
|
return {
|
|
858
|
-
xs: (N = (M = i.xs) == null ? void 0 : M[v]) != null ? N :
|
|
859
|
-
md: ($ = (_ = i.md) == null ? void 0 : _[v]) != null ? $ :
|
|
858
|
+
xs: (N = (M = i.xs) == null ? void 0 : M[v]) != null ? N : I,
|
|
859
|
+
md: ($ = (_ = i.md) == null ? void 0 : _[v]) != null ? $ : I
|
|
860
860
|
};
|
|
861
|
-
},
|
|
861
|
+
}, l = s("w", 186), c = s("h", 264), f = s("r", 22.6), g = s("font", 64), m = {
|
|
862
862
|
xs: Math.round(((d = (u = i.xs) == null ? void 0 : u.font) != null ? d : 64) * 0.28),
|
|
863
|
-
md: Math.round(((x = (
|
|
863
|
+
md: Math.round(((x = (b = i.md) == null ? void 0 : b.font) != null ? x : 64) * 0.28)
|
|
864
864
|
};
|
|
865
|
-
return /* @__PURE__ */
|
|
865
|
+
return /* @__PURE__ */ h(
|
|
866
866
|
z,
|
|
867
867
|
{
|
|
868
868
|
sx: {
|
|
869
869
|
position: "relative",
|
|
870
870
|
width: "100%",
|
|
871
|
-
maxWidth: { xs: `${
|
|
871
|
+
maxWidth: { xs: `${l.xs}px`, md: `${l.md}px` },
|
|
872
872
|
aspectRatio: {
|
|
873
|
-
xs: `${
|
|
874
|
-
md: `${
|
|
873
|
+
xs: `${l.xs}/${c.xs}`,
|
|
874
|
+
md: `${l.md}/${c.md}`
|
|
875
875
|
},
|
|
876
|
-
borderRadius: { xs: `${
|
|
876
|
+
borderRadius: { xs: `${f.xs}px`, md: `${f.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: `${g.xs}px`,
|
|
940
|
+
md: `${g.md}px`
|
|
941
941
|
},
|
|
942
942
|
lineHeight: 1,
|
|
943
943
|
color: "#3CC666",
|
|
@@ -958,10 +958,10 @@ const nt = ({
|
|
|
958
958
|
providerName: n,
|
|
959
959
|
machine: o,
|
|
960
960
|
onClick: i,
|
|
961
|
-
loading:
|
|
961
|
+
loading: s = !1
|
|
962
962
|
}) => {
|
|
963
|
-
var
|
|
964
|
-
return
|
|
963
|
+
var l;
|
|
964
|
+
return s ? /* @__PURE__ */ t(
|
|
965
965
|
z,
|
|
966
966
|
{
|
|
967
967
|
sx: {
|
|
@@ -987,7 +987,7 @@ const nt = ({
|
|
|
987
987
|
}
|
|
988
988
|
)
|
|
989
989
|
}
|
|
990
|
-
) : /* @__PURE__ */
|
|
990
|
+
) : /* @__PURE__ */ h(
|
|
991
991
|
z,
|
|
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: (l = a != null ? a : n) != null ? l : ""
|
|
1054
1054
|
}
|
|
1055
1055
|
)
|
|
1056
1056
|
}
|
|
@@ -1080,10 +1080,10 @@ const nt = ({
|
|
|
1080
1080
|
loading: o = !1,
|
|
1081
1081
|
gridSkeletonCount: i = 4
|
|
1082
1082
|
}) => {
|
|
1083
|
-
var
|
|
1083
|
+
var s, l;
|
|
1084
1084
|
if (a === "mosaic") {
|
|
1085
|
-
const c = e[0],
|
|
1086
|
-
return /* @__PURE__ */
|
|
1085
|
+
const c = e[0], f = e.slice(1, 5);
|
|
1086
|
+
return /* @__PURE__ */ h(
|
|
1087
1087
|
z,
|
|
1088
1088
|
{
|
|
1089
1089
|
sx: {
|
|
@@ -1120,7 +1120,7 @@ const nt = ({
|
|
|
1120
1120
|
children: o ? /* @__PURE__ */ t(je, {}) : c && /* @__PURE__ */ t(
|
|
1121
1121
|
Fe,
|
|
1122
1122
|
{
|
|
1123
|
-
imageUrl: `https://olimpo.bet${(
|
|
1123
|
+
imageUrl: `https://olimpo.bet${(l = (s = c.background) != null ? s : c.imageUrl) != null ? l : ""}`,
|
|
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 }) : f).map((g, m) => {
|
|
1132
1132
|
var u, d;
|
|
1133
1133
|
return /* @__PURE__ */ t(
|
|
1134
1134
|
z,
|
|
@@ -1142,14 +1142,14 @@ const nt = ({
|
|
|
1142
1142
|
children: o ? /* @__PURE__ */ t(je, {}) : /* @__PURE__ */ t(
|
|
1143
1143
|
Fe,
|
|
1144
1144
|
{
|
|
1145
|
-
imageUrl: `https://olimpo.bet${(d = (u =
|
|
1145
|
+
imageUrl: `https://olimpo.bet${(d = (u = g.background) != null ? u : g.imageUrl) != null ? d : ""}`,
|
|
1146
1146
|
size: "sm",
|
|
1147
1147
|
fillParent: !0,
|
|
1148
|
-
onClick: () => n == null ? void 0 : n(
|
|
1148
|
+
onClick: () => n == null ? void 0 : n(g, m + 1)
|
|
1149
1149
|
}
|
|
1150
1150
|
)
|
|
1151
1151
|
},
|
|
1152
|
-
o ? `sk-${m}` :
|
|
1152
|
+
o ? `sk-${m}` : g.id
|
|
1153
1153
|
);
|
|
1154
1154
|
})
|
|
1155
1155
|
]
|
|
@@ -1172,8 +1172,8 @@ const nt = ({
|
|
|
1172
1172
|
gap: `${Ze}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, f) => {
|
|
1176
|
+
var g, m, u;
|
|
1177
1177
|
return /* @__PURE__ */ t(
|
|
1178
1178
|
z,
|
|
1179
1179
|
{
|
|
@@ -1181,14 +1181,14 @@ const nt = ({
|
|
|
1181
1181
|
children: o ? /* @__PURE__ */ t(je, {}) : /* @__PURE__ */ t(
|
|
1182
1182
|
Fe,
|
|
1183
1183
|
{
|
|
1184
|
-
imageUrl: `https://olimpo.bet${(m = (
|
|
1184
|
+
imageUrl: `https://olimpo.bet${(m = (g = c.background) != null ? g : 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, f)
|
|
1188
1188
|
}
|
|
1189
1189
|
)
|
|
1190
1190
|
},
|
|
1191
|
-
o ? `sk-${
|
|
1191
|
+
o ? `sk-${f}` : (u = c.id) != null ? u : f
|
|
1192
1192
|
);
|
|
1193
1193
|
})
|
|
1194
1194
|
}
|
|
@@ -1199,13 +1199,13 @@ const nt = ({
|
|
|
1199
1199
|
subtitle: n,
|
|
1200
1200
|
buttonText: o,
|
|
1201
1201
|
onButtonClick: i,
|
|
1202
|
-
backgroundImage:
|
|
1203
|
-
alt:
|
|
1202
|
+
backgroundImage: s,
|
|
1203
|
+
alt: l,
|
|
1204
1204
|
className: c = "",
|
|
1205
|
-
variant:
|
|
1205
|
+
variant: f = "small"
|
|
1206
1206
|
}) => {
|
|
1207
|
-
const
|
|
1208
|
-
return /* @__PURE__ */
|
|
1207
|
+
const g = a ? a.slice(0, 2) : "", m = a ? a.slice(2) : "", u = f === "large";
|
|
1208
|
+
return /* @__PURE__ */ h(
|
|
1209
1209
|
z,
|
|
1210
1210
|
{
|
|
1211
1211
|
className: c,
|
|
@@ -1219,7 +1219,7 @@ const nt = ({
|
|
|
1219
1219
|
mx: "auto"
|
|
1220
1220
|
},
|
|
1221
1221
|
children: [
|
|
1222
|
-
|
|
1222
|
+
s && /* @__PURE__ */ t(
|
|
1223
1223
|
z,
|
|
1224
1224
|
{
|
|
1225
1225
|
sx: {
|
|
@@ -1236,8 +1236,8 @@ const nt = ({
|
|
|
1236
1236
|
z,
|
|
1237
1237
|
{
|
|
1238
1238
|
component: "img",
|
|
1239
|
-
src:
|
|
1240
|
-
alt:
|
|
1239
|
+
src: s,
|
|
1240
|
+
alt: l != null ? l : "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__ */ h(
|
|
1270
1270
|
z,
|
|
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__ */ h(
|
|
1291
1291
|
z,
|
|
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: g
|
|
1314
1314
|
}
|
|
1315
1315
|
),
|
|
1316
1316
|
/* @__PURE__ */ t(
|
|
@@ -1351,9 +1351,9 @@ const nt = ({
|
|
|
1351
1351
|
onClick: n,
|
|
1352
1352
|
imgAlt: o = "Club Olimpo",
|
|
1353
1353
|
imgSrcMobile: i,
|
|
1354
|
-
imgSrcDesktopBg:
|
|
1355
|
-
imgSrcDesktopLogo:
|
|
1356
|
-
}) => /* @__PURE__ */
|
|
1354
|
+
imgSrcDesktopBg: s,
|
|
1355
|
+
imgSrcDesktopLogo: l
|
|
1356
|
+
}) => /* @__PURE__ */ h(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__ */ h("div", { className: "orc-co-desktopInner", children: [
|
|
1366
|
+
s && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
|
|
1367
1367
|
"img",
|
|
1368
1368
|
{
|
|
1369
|
-
src:
|
|
1369
|
+
src: s,
|
|
1370
1370
|
alt: `${o} fondo`,
|
|
1371
1371
|
className: "orc-co-bgDesktopImg"
|
|
1372
1372
|
}
|
|
1373
1373
|
) }),
|
|
1374
|
-
/* @__PURE__ */
|
|
1375
|
-
|
|
1374
|
+
/* @__PURE__ */ h("div", { className: "orc-co-desktopContent", children: [
|
|
1375
|
+
l && /* @__PURE__ */ t(
|
|
1376
1376
|
"img",
|
|
1377
1377
|
{
|
|
1378
|
-
src:
|
|
1378
|
+
src: l,
|
|
1379
1379
|
alt: `${o} logo`,
|
|
1380
1380
|
className: "orc-co-logoImg"
|
|
1381
1381
|
}
|
|
@@ -1384,7 +1384,7 @@ const nt = ({
|
|
|
1384
1384
|
/* @__PURE__ */ t(ae, { onClick: n, variant: "primary", size: "md", children: a })
|
|
1385
1385
|
] })
|
|
1386
1386
|
] }) }),
|
|
1387
|
-
/* @__PURE__ */
|
|
1387
|
+
/* @__PURE__ */ h("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
|
] })
|
|
@@ -1433,20 +1433,20 @@ const It = Pt(void 0), Tt = ({ children: e, docId: a, moduleId: n }) => {
|
|
|
1433
1433
|
return e;
|
|
1434
1434
|
}, ce = () => Et().docId, pe = () => Et().moduleId;
|
|
1435
1435
|
function Ja({ coupon: e }) {
|
|
1436
|
-
var
|
|
1436
|
+
var g;
|
|
1437
1437
|
const a = se(), n = ce();
|
|
1438
1438
|
function o(m) {
|
|
1439
|
-
var
|
|
1439
|
+
var b, x;
|
|
1440
1440
|
const u = [], d = Array.from(
|
|
1441
1441
|
new Map(
|
|
1442
|
-
((
|
|
1442
|
+
((b = m == null ? void 0 : m.events) != null ? b : []).filter(Boolean).map((v) => [v.id, v])
|
|
1443
1443
|
).values()
|
|
1444
1444
|
);
|
|
1445
1445
|
return d.forEach((v) => {
|
|
1446
1446
|
var _;
|
|
1447
|
-
const
|
|
1448
|
-
|
|
1449
|
-
var R, A, y,
|
|
1447
|
+
const I = (_ = v.betoffers) != null ? _ : [], M = v.homeName, N = v.awayName;
|
|
1448
|
+
I.forEach(($) => {
|
|
1449
|
+
var R, A, y, O, F, B, P;
|
|
1450
1450
|
if (!((R = $ == null ? void 0 : $.outcomes) != null && R.length)) return;
|
|
1451
1451
|
const w = $.outcomes[0];
|
|
1452
1452
|
if (!w) return;
|
|
@@ -1455,14 +1455,14 @@ function Ja({ coupon: e }) {
|
|
|
1455
1455
|
["Más de", "Mas de", "Over"].includes(w.label) ? (S = `Más de ${L}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Menos de", "Menos", "Under"].includes(w.label) ? (S = `Menos de ${L}`, w.participant && (S = `${w.participant} - ${S}`)) : ["Sí", "No"].includes(w.label) ? (S = w.label, w.participant && (S = `${w.participant} - ${S}`)) : ["1X", "12", "X2"].includes(w.label) ? (w.label === "1X" && (S = `${M} o Empate`), w.label === "12" && (S = `${M} o ${N}`), w.label === "X2" && (S = `${N} o Empate`)) : (S = (y = (A = w.participant) != null ? A : w.label) != null ? y : "", L !== "" && S === w.label && (S = `${w.label} ${L}`)), u.push({
|
|
1456
1456
|
id: w.id,
|
|
1457
1457
|
value: S,
|
|
1458
|
-
label: (F = (
|
|
1458
|
+
label: (F = (O = $.criterion) == null ? void 0 : O.label) != null ? F : "",
|
|
1459
1459
|
odds: (B = w.odds) != null ? B : 0,
|
|
1460
1460
|
position: (P = w.position) != null ? P : 0,
|
|
1461
1461
|
eventId: v.id
|
|
1462
1462
|
});
|
|
1463
1463
|
});
|
|
1464
1464
|
}), {
|
|
1465
|
-
outcomes: u.sort((v,
|
|
1465
|
+
outcomes: u.sort((v, I) => v.position - I.position),
|
|
1466
1466
|
total: Number((x = m == null ? void 0 : m.combinadoTotal) != null ? x : 0).toLocaleString("en-US", {
|
|
1467
1467
|
minimumFractionDigits: 2,
|
|
1468
1468
|
maximumFractionDigits: 2
|
|
@@ -1480,20 +1480,20 @@ function Ja({ coupon: e }) {
|
|
|
1480
1480
|
if (u.every((x) => x.groupId === d)) {
|
|
1481
1481
|
const x = u[0].path;
|
|
1482
1482
|
if (Array.isArray(x) && x.length > 0)
|
|
1483
|
-
return `/deportes#sports-hub/${x.map((
|
|
1483
|
+
return `/deportes#sports-hub/${x.map((I) => I.termKey).filter(Boolean).join("/")}`;
|
|
1484
1484
|
}
|
|
1485
1485
|
return "/deportes#home";
|
|
1486
1486
|
}
|
|
1487
|
-
const
|
|
1488
|
-
const d = Array.isArray(m) ? m : [m],
|
|
1487
|
+
const s = (m, u) => {
|
|
1488
|
+
const d = Array.isArray(m) ? m : [m], b = Array.from(
|
|
1489
1489
|
new Set(
|
|
1490
|
-
|
|
1490
|
+
l.outcomes.map((I) => {
|
|
1491
1491
|
var N;
|
|
1492
|
-
const M =
|
|
1492
|
+
const M = f.get(Number(I.eventId));
|
|
1493
1493
|
return (N = M == null ? void 0 : M.name) != null ? N : "";
|
|
1494
1494
|
})
|
|
1495
1495
|
)
|
|
1496
|
-
).filter(Boolean), x =
|
|
1496
|
+
).filter(Boolean), x = b.length > 0 ? b.join(" + ") : JSON.stringify(d), v = u ? `${x} - Cuota: ${u}` : 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
|
}), Ue(i(e), m);
|
|
1508
1508
|
};
|
|
1509
|
-
if (!((
|
|
1510
|
-
const
|
|
1511
|
-
|
|
1509
|
+
if (!((g = e == null ? void 0 : e.events) != null && g.length)) return null;
|
|
1510
|
+
const l = o(e), c = l.outcomes.reduce((m, u) => (m[u.eventId] || (m[u.eventId] = []), m[u.eventId].push(u), m), {}), f = new Map(
|
|
1511
|
+
l.events.map((m) => [m.id, m])
|
|
1512
1512
|
);
|
|
1513
|
-
return /* @__PURE__ */
|
|
1513
|
+
return /* @__PURE__ */ h("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, u]) => {
|
|
1515
|
-
const d =
|
|
1516
|
-
return d ? /* @__PURE__ */
|
|
1515
|
+
const d = f.get(Number(m));
|
|
1516
|
+
return d ? /* @__PURE__ */ h(
|
|
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
|
-
u.map((
|
|
1539
|
-
/* @__PURE__ */
|
|
1538
|
+
u.map((b, x) => /* @__PURE__ */ h("div", { className: fe.apuestaItem, children: [
|
|
1539
|
+
/* @__PURE__ */ h("div", { className: fe.lineContainer, children: [
|
|
1540
1540
|
/* @__PURE__ */ t("div", { className: fe.circle }),
|
|
1541
1541
|
x < u.length - 1 && /* @__PURE__ */ t("div", { className: fe.line })
|
|
1542
1542
|
] }),
|
|
1543
|
-
/* @__PURE__ */
|
|
1544
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1543
|
+
/* @__PURE__ */ h("div", { className: fe.apuestaText, children: [
|
|
1544
|
+
/* @__PURE__ */ t("strong", { children: b.value }),
|
|
1545
1545
|
" | ",
|
|
1546
|
-
|
|
1546
|
+
b.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__ */ h(
|
|
1555
1555
|
"button",
|
|
1556
1556
|
{
|
|
1557
|
-
onClick: () =>
|
|
1558
|
-
|
|
1559
|
-
|
|
1557
|
+
onClick: () => s(
|
|
1558
|
+
l.outcomes.map((m) => m.id),
|
|
1559
|
+
l.total
|
|
1560
1560
|
),
|
|
1561
1561
|
className: fe.cuotaTotal,
|
|
1562
1562
|
children: [
|
|
1563
|
-
/* @__PURE__ */
|
|
1563
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1564
1564
|
"Cuota total: ",
|
|
1565
|
-
/* @__PURE__ */ t("strong", { children:
|
|
1565
|
+
/* @__PURE__ */ t("strong", { children: l.total })
|
|
1566
1566
|
] }),
|
|
1567
1567
|
/* @__PURE__ */ t(
|
|
1568
1568
|
"img",
|
|
@@ -1597,34 +1597,34 @@ function rt({
|
|
|
1597
1597
|
href: n,
|
|
1598
1598
|
target: o,
|
|
1599
1599
|
rel: i,
|
|
1600
|
-
type:
|
|
1601
|
-
disabled:
|
|
1600
|
+
type: s = "button",
|
|
1601
|
+
disabled: l = !1,
|
|
1602
1602
|
variant: c = "primary",
|
|
1603
|
-
size:
|
|
1604
|
-
fullWidth:
|
|
1603
|
+
size: f,
|
|
1604
|
+
fullWidth: g = !1,
|
|
1605
1605
|
fullHeight: m = !1,
|
|
1606
1606
|
className: u = "",
|
|
1607
1607
|
ariaLabel: d,
|
|
1608
|
-
leftIcon:
|
|
1608
|
+
leftIcon: b,
|
|
1609
1609
|
rightIcon: x,
|
|
1610
1610
|
iconOnly: v
|
|
1611
1611
|
}) {
|
|
1612
|
-
const
|
|
1612
|
+
const I = !!e && e !== !0, _ = (!!b ? 1 : 0) + (!!x ? 1 : 0) == 1, $ = v != null ? v : _ && !I, w = [
|
|
1613
1613
|
ge["orc-btn"],
|
|
1614
1614
|
// base
|
|
1615
1615
|
ge[`orc-btn--${c}`],
|
|
1616
1616
|
// variant primary/secondary/tertiary
|
|
1617
|
-
|
|
1617
|
+
f ? ge[`orc-btn--${f}`] : "",
|
|
1618
1618
|
// sm / md / lg
|
|
1619
|
-
|
|
1619
|
+
g ? ge["orc-btn--full"] : "",
|
|
1620
1620
|
m ? ge["orc-btn--fullHeight"] : "",
|
|
1621
1621
|
$ ? ge["orc-btn--iconOnly"] : "",
|
|
1622
1622
|
u
|
|
1623
|
-
].filter(Boolean).join(" "), S = /* @__PURE__ */
|
|
1624
|
-
|
|
1623
|
+
].filter(Boolean).join(" "), S = /* @__PURE__ */ h(te, { children: [
|
|
1624
|
+
b && /* @__PURE__ */ t("span", { className: ge["orc-btn__icon"], children: b }),
|
|
1625
1625
|
!$ && /* @__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 = l ? !0 : void 0;
|
|
1628
1628
|
return n ? /* @__PURE__ */ t(
|
|
1629
1629
|
ht,
|
|
1630
1630
|
{
|
|
@@ -1641,7 +1641,7 @@ function rt({
|
|
|
1641
1641
|
) : /* @__PURE__ */ t(
|
|
1642
1642
|
"button",
|
|
1643
1643
|
{
|
|
1644
|
-
type:
|
|
1644
|
+
type: s,
|
|
1645
1645
|
onClick: a,
|
|
1646
1646
|
disabled: !!L,
|
|
1647
1647
|
"aria-label": d,
|
|
@@ -1678,47 +1678,47 @@ function _n({
|
|
|
1678
1678
|
homeSets: n = [],
|
|
1679
1679
|
awaySets: o = [],
|
|
1680
1680
|
homePoints: i = "0",
|
|
1681
|
-
awayPoints:
|
|
1682
|
-
homeServe:
|
|
1681
|
+
awayPoints: s = "0",
|
|
1682
|
+
homeServe: l = !0
|
|
1683
1683
|
}) {
|
|
1684
1684
|
const c = n.reduce(
|
|
1685
1685
|
(M, N, _) => N >= 0 ? _ : M,
|
|
1686
1686
|
0
|
|
1687
1687
|
);
|
|
1688
|
-
let
|
|
1688
|
+
let f = 0, g = 0;
|
|
1689
1689
|
n.forEach((M, N) => {
|
|
1690
1690
|
var $;
|
|
1691
1691
|
const _ = ($ = o[N]) != null ? $ : -1;
|
|
1692
|
-
N !== c && M >= 0 && _ >= 0 && (M > _ &&
|
|
1692
|
+
N !== c && M >= 0 && _ >= 0 && (M > _ && f++, _ > M && g++);
|
|
1693
1693
|
});
|
|
1694
1694
|
const m = n[c] >= 0 ? n[c] : 0, u = o[c] >= 0 ? o[c] : 0, d = (M) => {
|
|
1695
1695
|
if (typeof M == "number") return M;
|
|
1696
1696
|
const N = String(M).trim().toUpperCase();
|
|
1697
1697
|
return N === "A" || N === "ADV" ? 50 : parseInt(N, 10) || 0;
|
|
1698
|
-
},
|
|
1699
|
-
let v = !1,
|
|
1700
|
-
return
|
|
1701
|
-
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */
|
|
1698
|
+
}, b = d(i), x = d(s);
|
|
1699
|
+
let v = !1, I = !1;
|
|
1700
|
+
return f !== g ? (v = f > g, I = g > f) : m !== u ? (v = m > u, I = u > m) : b !== x && (v = b > x, I = x > b), /* @__PURE__ */ t("div", { className: U.tennisContainer, children: /* @__PURE__ */ h("table", { className: U.tennisTable, children: [
|
|
1701
|
+
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */ h("tr", { style: { height: "18px" }, children: [
|
|
1702
1702
|
/* @__PURE__ */ t("th", { className: U.colDot }),
|
|
1703
1703
|
/* @__PURE__ */ t("th", { className: U.colName }),
|
|
1704
1704
|
/* @__PURE__ */ t("th", { className: U.colHeader, children: "SETS" }),
|
|
1705
1705
|
/* @__PURE__ */ t("th", { className: `${U.colHeader} ${U.border}`, style: { width: "62px" }, children: "JUEGOS" }),
|
|
1706
1706
|
/* @__PURE__ */ t("th", { className: U.colHeader, children: "PTS" })
|
|
1707
1707
|
] }) }),
|
|
1708
|
-
/* @__PURE__ */
|
|
1709
|
-
/* @__PURE__ */
|
|
1710
|
-
/* @__PURE__ */ t("td", { className: U.cellDotHome, children: /* @__PURE__ */ t("div", { className: U.dotWrapper, children: /* @__PURE__ */ t("span", { className: `${U.serveDot} ${
|
|
1708
|
+
/* @__PURE__ */ h("tbody", { children: [
|
|
1709
|
+
/* @__PURE__ */ h("tr", { className: U.tennisTableRow, children: [
|
|
1710
|
+
/* @__PURE__ */ t("td", { className: U.cellDotHome, children: /* @__PURE__ */ t("div", { className: U.dotWrapper, children: /* @__PURE__ */ t("span", { className: `${U.serveDot} ${l ? U.activeServe : ""}` }) }) }),
|
|
1711
1711
|
/* @__PURE__ */ t("td", { className: `${U.cellPlayerNameHome} ${U.hasDivider}`, children: /* @__PURE__ */ t("span", { className: U.playerName, children: e }) }),
|
|
1712
|
-
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellHome} ${U.hasDivider} ${v ? U.active : ""}`, children:
|
|
1712
|
+
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellHome} ${U.hasDivider} ${v ? U.active : ""}`, children: f }),
|
|
1713
1713
|
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellHome} ${U.hasDivider} ${U.border} ${v ? U.active : ""}`, children: m }),
|
|
1714
1714
|
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellHome} ${U.hasDivider} ${v ? U.active : ""}`, children: i })
|
|
1715
1715
|
] }),
|
|
1716
|
-
/* @__PURE__ */
|
|
1717
|
-
/* @__PURE__ */ t("td", { className: U.cellDotAway, children: /* @__PURE__ */ t("div", { className: U.dotWrapper, children: /* @__PURE__ */ t("span", { className: `${U.serveDot} ${
|
|
1716
|
+
/* @__PURE__ */ h("tr", { className: U.tennisTableRow, children: [
|
|
1717
|
+
/* @__PURE__ */ t("td", { className: U.cellDotAway, children: /* @__PURE__ */ t("div", { className: U.dotWrapper, children: /* @__PURE__ */ t("span", { className: `${U.serveDot} ${l ? "" : U.activeServe}` }) }) }),
|
|
1718
1718
|
/* @__PURE__ */ t("td", { className: U.cellPlayerNameAway, children: /* @__PURE__ */ t("span", { className: U.playerName, children: a }) }),
|
|
1719
|
-
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellAway} ${
|
|
1720
|
-
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellAway} ${U.border} ${
|
|
1721
|
-
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellAway} ${
|
|
1719
|
+
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellAway} ${I ? U.active : ""}`, children: g }),
|
|
1720
|
+
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellAway} ${U.border} ${I ? U.active : ""}`, children: u }),
|
|
1721
|
+
/* @__PURE__ */ t("td", { className: `${U.cellStat} ${U.cellAway} ${I ? U.active : ""}`, children: s })
|
|
1722
1722
|
] })
|
|
1723
1723
|
] })
|
|
1724
1724
|
] }) });
|
|
@@ -1742,12 +1742,12 @@ const vn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", yn = "
|
|
|
1742
1742
|
real: !1,
|
|
1743
1743
|
type: "short_sleeves"
|
|
1744
1744
|
}, De = (e, a, n = "player") => {
|
|
1745
|
-
var i,
|
|
1745
|
+
var i, s;
|
|
1746
1746
|
if (e === void 0)
|
|
1747
1747
|
return null;
|
|
1748
1748
|
if (e === null)
|
|
1749
1749
|
return a === "home" ? it : lt;
|
|
1750
|
-
const o = (
|
|
1750
|
+
const o = (s = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : s[n];
|
|
1751
1751
|
return o || (a === "home" ? it : lt);
|
|
1752
1752
|
}, On = {
|
|
1753
1753
|
FIRST_HALF: "1er tiempo",
|
|
@@ -1761,13 +1761,13 @@ const vn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", yn = "
|
|
|
1761
1761
|
return e ? (a = On[e]) != null ? a : e : "";
|
|
1762
1762
|
};
|
|
1763
1763
|
function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
1764
|
-
var d,
|
|
1765
|
-
const i = ((d = e == null ? void 0 : e.sport) == null ? void 0 : d.toUpperCase()) === "TENNIS",
|
|
1764
|
+
var d, b, x, v, I, M, N, _, $, w, S, L, R, A, y, O, F, B, P, W, V, H, G, D, K, Y, r, p, T, k;
|
|
1765
|
+
const i = ((d = e == null ? void 0 : e.sport) == null ? void 0 : d.toUpperCase()) === "TENNIS", s = ((b = e == null ? void 0 : e.sport) == null ? void 0 : b.toUpperCase()) === "BASKETBALL", l = ((x = e == null ? void 0 : e.sport) == null ? void 0 : x.toUpperCase()) === "FOOTBALL", c = n == null ? void 0 : n.find(
|
|
1766
1766
|
(E) => {
|
|
1767
1767
|
var C;
|
|
1768
1768
|
return ((C = E.betOfferType) == null ? void 0 : C.id) === 2;
|
|
1769
1769
|
}
|
|
1770
|
-
),
|
|
1770
|
+
), f = {
|
|
1771
1771
|
englishLabel: "",
|
|
1772
1772
|
type: "",
|
|
1773
1773
|
betOfferId: 0,
|
|
@@ -1776,24 +1776,24 @@ function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1776
1776
|
oddsAmerican: "",
|
|
1777
1777
|
status: "INACTIVE",
|
|
1778
1778
|
cashOutStatus: "SUSPENDED"
|
|
1779
|
-
},
|
|
1779
|
+
}, g = () => {
|
|
1780
1780
|
var q, J, ne;
|
|
1781
1781
|
return `${((ne = (J = (q = a == null ? void 0 : a.statistics) == null ? void 0 : q.sets) == null ? void 0 : J.home) != null ? ne : []).reduce((oe, j, ie) => j >= 0 ? ie : oe, 0) + 1}ºset`;
|
|
1782
1782
|
}, m = [
|
|
1783
|
-
{ ...
|
|
1784
|
-
{ ...
|
|
1785
|
-
{ ...
|
|
1783
|
+
{ ...f, id: -1, label: "1", odds: void 0 },
|
|
1784
|
+
{ ...f, id: -2, label: "X", odds: void 0 },
|
|
1785
|
+
{ ...f, id: -3, label: "2", odds: void 0 }
|
|
1786
1786
|
], u = (v = o == null ? void 0 : o.gender) != null ? v : "men";
|
|
1787
|
-
return /* @__PURE__ */ t("div", { className: `${Ie.cardWrapper} ${i ? Ie.cardWrapperTennis : ""}`, children: /* @__PURE__ */
|
|
1788
|
-
/* @__PURE__ */
|
|
1787
|
+
return /* @__PURE__ */ t("div", { className: `${Ie.cardWrapper} ${i ? Ie.cardWrapperTennis : ""}`, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1788
|
+
/* @__PURE__ */ h(Q, { direction: "column", spacing: i ? 1 : 1.5, useFlexGap: !0, children: [
|
|
1789
1789
|
/* @__PURE__ */ t(
|
|
1790
1790
|
oa,
|
|
1791
1791
|
{
|
|
1792
|
-
title: (N = (M = (
|
|
1792
|
+
title: (N = (M = (I = e == null ? void 0 : e.path) == null ? void 0 : I[0]) == null ? void 0 : M.name) != null ? N : "",
|
|
1793
1793
|
subtitle: (_ = e == null ? void 0 : e.group) != null ? _ : "",
|
|
1794
1794
|
live: !0,
|
|
1795
|
-
time: i ?
|
|
1796
|
-
extra:
|
|
1795
|
+
time: i ? g() : (($ = a == null ? void 0 : a.matchClock) == null ? void 0 : $.minute) != null ? `${a.matchClock.minute}'` : "",
|
|
1796
|
+
extra: s ? st((w = a == null ? void 0 : a.matchClock) == null ? void 0 : w.periodId) : ""
|
|
1797
1797
|
}
|
|
1798
1798
|
),
|
|
1799
1799
|
/* @__PURE__ */ t("div", { children: i ? /* @__PURE__ */ t(
|
|
@@ -1802,14 +1802,14 @@ function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1802
1802
|
homeName: e == null ? void 0 : e.homeName,
|
|
1803
1803
|
awayName: e == null ? void 0 : e.awayName,
|
|
1804
1804
|
homeSets: (R = (L = (S = a == null ? void 0 : a.statistics) == null ? void 0 : S.sets) == null ? void 0 : L.home) != null ? R : [],
|
|
1805
|
-
awaySets: (
|
|
1805
|
+
awaySets: (O = (y = (A = a == null ? void 0 : a.statistics) == null ? void 0 : A.sets) == null ? void 0 : y.away) != null ? O : [],
|
|
1806
1806
|
homePoints: (B = (F = a == null ? void 0 : a.score) == null ? void 0 : F.home) != null ? B : "0",
|
|
1807
1807
|
awayPoints: (W = (P = a == null ? void 0 : a.score) == null ? void 0 : P.away) != null ? W : "0",
|
|
1808
1808
|
homeServe: (G = (H = (V = a == null ? void 0 : a.statistics) == null ? void 0 : V.sets) == null ? void 0 : H.homeServe) != null ? G : !0
|
|
1809
1809
|
}
|
|
1810
|
-
) : /* @__PURE__ */
|
|
1810
|
+
) : /* @__PURE__ */ h(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1811
1811
|
/* @__PURE__ */ t(ze, { name: e == null ? void 0 : e.homeName, sport: e.sport, gender: u, jersey: De(o, "home"), flag: (D = o == null ? void 0 : o.homeFlag) != null ? D : "" }),
|
|
1812
|
-
/* @__PURE__ */ t(St, { size:
|
|
1812
|
+
/* @__PURE__ */ t(St, { size: s ? "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: l ? st((T = a == null ? void 0 : a.matchClock) == null ? void 0 : T.periodId) : "" }),
|
|
1813
1813
|
/* @__PURE__ */ t(ze, { name: e == null ? void 0 : e.awayName, sport: e.sport, gender: u, jersey: De(o, "away"), flag: (k = o == null ? void 0 : o.awayFlag) != null ? k : "" })
|
|
1814
1814
|
] }) })
|
|
1815
1815
|
] }),
|
|
@@ -1825,7 +1825,7 @@ function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1825
1825
|
var ie, Se, we, Oe;
|
|
1826
1826
|
return i || q.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 : "";
|
|
1827
1827
|
};
|
|
1828
|
-
return /* @__PURE__ */ t(te, { children:
|
|
1828
|
+
return /* @__PURE__ */ t(te, { children: s || i ? /* @__PURE__ */ h(te, { children: [
|
|
1829
1829
|
/* @__PURE__ */ t(me, { spacing: 1, columns: "1fr", children: /* @__PURE__ */ t(Ke, { text: "Ganador del partido" }) }),
|
|
1830
1830
|
/* @__PURE__ */ t(me, { spacing: 2, children: q.slice(0, 2).map((j, ie) => /* @__PURE__ */ t(
|
|
1831
1831
|
rt,
|
|
@@ -1839,7 +1839,7 @@ function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1839
1839
|
);
|
|
1840
1840
|
},
|
|
1841
1841
|
className: Ie.customButtonDisabled,
|
|
1842
|
-
children: /* @__PURE__ */
|
|
1842
|
+
children: /* @__PURE__ */ h(
|
|
1843
1843
|
"div",
|
|
1844
1844
|
{
|
|
1845
1845
|
style: {
|
|
@@ -1858,7 +1858,7 @@ function In({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1858
1858
|
},
|
|
1859
1859
|
j.id || ie
|
|
1860
1860
|
)) })
|
|
1861
|
-
] }) : /* @__PURE__ */
|
|
1861
|
+
] }) : /* @__PURE__ */ h(te, { children: [
|
|
1862
1862
|
/* @__PURE__ */ t(me, { spacing: 1, children: q.map((j, ie) => /* @__PURE__ */ t(
|
|
1863
1863
|
Ke,
|
|
1864
1864
|
{
|
|
@@ -1899,15 +1899,15 @@ const kn = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Nn =
|
|
|
1899
1899
|
equipos: An
|
|
1900
1900
|
};
|
|
1901
1901
|
function Mn({ event: e, jersey: a }) {
|
|
1902
|
-
var c,
|
|
1902
|
+
var c, f, g, m;
|
|
1903
1903
|
const n = se(), o = ce();
|
|
1904
1904
|
function i(u) {
|
|
1905
|
-
const d = new Date(u),
|
|
1906
|
-
let
|
|
1907
|
-
return
|
|
1905
|
+
const d = new Date(u), b = d.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), x = d.getDate().toString().padStart(2, "0"), v = (d.getMonth() + 1).toString().padStart(2, "0");
|
|
1906
|
+
let I = d.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1907
|
+
return I = I.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${b} ${x}/${v} | ${I}`;
|
|
1908
1908
|
}
|
|
1909
|
-
const
|
|
1910
|
-
const
|
|
1909
|
+
const s = (u, d) => {
|
|
1910
|
+
const b = `${e.homeName} vs ${e.awayName}`, x = d ? (d / 1e3).toFixed(2) : "", v = x ? `${b} - Cuota: ${x}` : b;
|
|
1911
1911
|
n({
|
|
1912
1912
|
element: "evento_semana_outcome",
|
|
1913
1913
|
label: `Landing: ${o} - OraculoEventSemanaCard - Click: ${v}`,
|
|
@@ -1919,31 +1919,31 @@ function Mn({ event: e, jersey: a }) {
|
|
|
1919
1919
|
},
|
|
1920
1920
|
tags: { section: "OraculoEventSemanaCard", outcomes: v }
|
|
1921
1921
|
}), Ue("/deportes#event/" + e.id, u);
|
|
1922
|
-
},
|
|
1923
|
-
return /* @__PURE__ */
|
|
1924
|
-
/* @__PURE__ */ t(xt, { title: (
|
|
1925
|
-
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */
|
|
1926
|
-
/* @__PURE__ */
|
|
1927
|
-
/* @__PURE__ */
|
|
1928
|
-
/* @__PURE__ */ t(ze, { name: e.homeName, sport: e.sport, gender:
|
|
1922
|
+
}, l = (c = a == null ? void 0 : a.gender) != null ? c : "men";
|
|
1923
|
+
return /* @__PURE__ */ h("div", { className: Te.cardContainer, children: [
|
|
1924
|
+
/* @__PURE__ */ t(xt, { title: (f = e == null ? void 0 : e.group) != null ? f : "" }),
|
|
1925
|
+
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1926
|
+
/* @__PURE__ */ h(Q, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1927
|
+
/* @__PURE__ */ h("div", { className: Te.equipos, children: [
|
|
1928
|
+
/* @__PURE__ */ t(ze, { name: e.homeName, sport: e.sport, gender: l, size: "compact", jersey: De(a, "home"), flag: (g = a == null ? void 0 : a.homeFlag) != null ? g : "" }),
|
|
1929
1929
|
/* @__PURE__ */ t(St, { text: "vs.", name: "", size: "small" }),
|
|
1930
|
-
/* @__PURE__ */ t(ze, { name: e.awayName, sport: e.sport, gender:
|
|
1930
|
+
/* @__PURE__ */ t(ze, { name: e.awayName, sport: e.sport, gender: l, size: "compact", jersey: De(a, "away"), flag: (m = a == null ? void 0 : a.awayFlag) != null ? m : "" })
|
|
1931
1931
|
] }),
|
|
1932
1932
|
/* @__PURE__ */ t(Cn, { text: i(e.start) })
|
|
1933
1933
|
] }),
|
|
1934
1934
|
/* @__PURE__ */ t(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: (() => {
|
|
1935
|
-
var
|
|
1936
|
-
const u = (N = (M = (
|
|
1935
|
+
var I, M, N;
|
|
1936
|
+
const u = (N = (M = (I = e == null ? void 0 : e.outcome) == null ? void 0 : I[0]) == null ? void 0 : M.outcomes) != null ? N : [], d = (e == null ? void 0 : e.sport) === "TENNIS", b = { OT_ONE: 1, OT_CROSS: 2, OT_TWO: 3 }, x = [...u].sort((_, $) => {
|
|
1937
1937
|
var L, R;
|
|
1938
1938
|
if (_.displayOrder !== void 0 && $.displayOrder !== void 0)
|
|
1939
1939
|
return _.displayOrder - $.displayOrder;
|
|
1940
|
-
const w = _.type && (L =
|
|
1940
|
+
const w = _.type && (L = b[_.type]) != null ? L : 99, S = $.type && (R = b[$.type]) != null ? R : 99;
|
|
1941
1941
|
return w - S;
|
|
1942
1942
|
}), v = (_) => {
|
|
1943
1943
|
var $, w, S, L;
|
|
1944
1944
|
return d || x.length === 2 ? _.type === "OT_ONE" ? "1" : _.type === "OT_TWO" ? "2" : (w = ($ = _.label) == null ? void 0 : $.toUpperCase()) != null ? w : "" : (L = (S = _.label) == null ? void 0 : S.toUpperCase()) != null ? L : "";
|
|
1945
1945
|
};
|
|
1946
|
-
return /* @__PURE__ */
|
|
1946
|
+
return /* @__PURE__ */ h(te, { children: [
|
|
1947
1947
|
/* @__PURE__ */ t(me, { spacing: 1, children: x.map((_, $) => /* @__PURE__ */ t(
|
|
1948
1948
|
Ke,
|
|
1949
1949
|
{
|
|
@@ -1956,7 +1956,7 @@ function Mn({ event: e, jersey: a }) {
|
|
|
1956
1956
|
{
|
|
1957
1957
|
variant: "primary",
|
|
1958
1958
|
fullHeight: !0,
|
|
1959
|
-
onClick: () =>
|
|
1959
|
+
onClick: () => s(_.id, _.odds),
|
|
1960
1960
|
children: (_.odds / 1e3).toFixed(2)
|
|
1961
1961
|
},
|
|
1962
1962
|
_.id || $
|
|
@@ -1984,11 +1984,11 @@ function Ln({
|
|
|
1984
1984
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
|
|
1985
1985
|
onViewMore: o,
|
|
1986
1986
|
onItemClick: i,
|
|
1987
|
-
className:
|
|
1988
|
-
paddingMobile:
|
|
1987
|
+
className: s = "",
|
|
1988
|
+
paddingMobile: l = "24px"
|
|
1989
1989
|
}) {
|
|
1990
1990
|
var w;
|
|
1991
|
-
const c = Z(null), [
|
|
1991
|
+
const c = Z(null), [f, g] = ee({ isStart: !0, isEnd: !1 }), m = se(), u = ce(), d = pe(), b = !e || e.length === 0, x = () => {
|
|
1992
1992
|
var S;
|
|
1993
1993
|
m({
|
|
1994
1994
|
element: "destacados_carousel_prev",
|
|
@@ -2014,7 +2014,7 @@ function Ln({
|
|
|
2014
2014
|
},
|
|
2015
2015
|
tags: { section: "OraculoSeccionDestacados" }
|
|
2016
2016
|
}), (S = c.current) == null || S.next();
|
|
2017
|
-
},
|
|
2017
|
+
}, I = () => {
|
|
2018
2018
|
m({
|
|
2019
2019
|
element: "destacados_view_more",
|
|
2020
2020
|
label: `${u} - OraculoSeccionDestacados - Ver más`,
|
|
@@ -2026,14 +2026,14 @@ function Ln({
|
|
|
2026
2026
|
},
|
|
2027
2027
|
tags: { section: "OraculoSeccionDestacados" }
|
|
2028
2028
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/promociones");
|
|
2029
|
-
}, M =
|
|
2029
|
+
}, M = s || void 0, N = Ne("(max-width:950px)"), _ = (w = e == null ? void 0 : e.length) != null ? w : 0;
|
|
2030
2030
|
re(() => {
|
|
2031
2031
|
if (_ === 0) {
|
|
2032
|
-
|
|
2032
|
+
g({ isStart: !0, isEnd: !0 });
|
|
2033
2033
|
return;
|
|
2034
2034
|
}
|
|
2035
|
-
|
|
2036
|
-
}, [_, N,
|
|
2035
|
+
g({ isStart: !0, isEnd: !1 });
|
|
2036
|
+
}, [_, N, l]);
|
|
2037
2037
|
const $ = (S) => {
|
|
2038
2038
|
const L = S.promotion, R = L ? `https://www.olimpo.bet/promociones/${encodeURIComponent(L)}` : "";
|
|
2039
2039
|
if (m({
|
|
@@ -2055,8 +2055,8 @@ function Ln({
|
|
|
2055
2055
|
}
|
|
2056
2056
|
R && typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign(R);
|
|
2057
2057
|
};
|
|
2058
|
-
return /* @__PURE__ */
|
|
2059
|
-
/* @__PURE__ */
|
|
2058
|
+
return /* @__PURE__ */ h("section", { className: M, style: { width: "100%" }, children: [
|
|
2059
|
+
/* @__PURE__ */ h(
|
|
2060
2060
|
"header",
|
|
2061
2061
|
{
|
|
2062
2062
|
style: {
|
|
@@ -2066,12 +2066,12 @@ function Ln({
|
|
|
2066
2066
|
columnGap: 12,
|
|
2067
2067
|
rowGap: 8,
|
|
2068
2068
|
marginBottom: 16,
|
|
2069
|
-
paddingLeft: N ?
|
|
2070
|
-
paddingRight: N ?
|
|
2069
|
+
paddingLeft: N ? l : 0,
|
|
2070
|
+
paddingRight: N ? l : 0
|
|
2071
2071
|
},
|
|
2072
2072
|
children: [
|
|
2073
2073
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2074
|
-
/* @__PURE__ */
|
|
2074
|
+
/* @__PURE__ */ h("div", { style: { display: "flex", gap: 8 }, children: [
|
|
2075
2075
|
/* @__PURE__ */ t(
|
|
2076
2076
|
ae,
|
|
2077
2077
|
{
|
|
@@ -2080,7 +2080,7 @@ function Ln({
|
|
|
2080
2080
|
iconOnly: !0,
|
|
2081
2081
|
leftIcon: /* @__PURE__ */ t(Ve, {}),
|
|
2082
2082
|
onClick: x,
|
|
2083
|
-
disabled:
|
|
2083
|
+
disabled: f.isStart || b
|
|
2084
2084
|
}
|
|
2085
2085
|
),
|
|
2086
2086
|
/* @__PURE__ */ t(
|
|
@@ -2091,11 +2091,11 @@ function Ln({
|
|
|
2091
2091
|
iconOnly: !0,
|
|
2092
2092
|
rightIcon: /* @__PURE__ */ t(He, {}),
|
|
2093
2093
|
onClick: v,
|
|
2094
|
-
disabled:
|
|
2094
|
+
disabled: f.isEnd || b
|
|
2095
2095
|
}
|
|
2096
2096
|
)
|
|
2097
2097
|
] }),
|
|
2098
|
-
/* @__PURE__ */ t(ae, { variant: "secondary", onClick:
|
|
2098
|
+
/* @__PURE__ */ t(ae, { variant: "secondary", onClick: I, children: "Ver más" })
|
|
2099
2099
|
]
|
|
2100
2100
|
}
|
|
2101
2101
|
),
|
|
@@ -2103,19 +2103,19 @@ function Ln({
|
|
|
2103
2103
|
xe,
|
|
2104
2104
|
{
|
|
2105
2105
|
ref: c,
|
|
2106
|
-
items:
|
|
2106
|
+
items: b ? Bn() : e,
|
|
2107
2107
|
perPage: void 0,
|
|
2108
2108
|
gap: "16px",
|
|
2109
2109
|
enableHorizontalWheel: !0,
|
|
2110
2110
|
showRightGradient: !N,
|
|
2111
2111
|
options: { autoWidth: !0, trimSpace: "move" },
|
|
2112
2112
|
breakpoints: {
|
|
2113
|
-
768: { perPage: 2, focus: "start", padding: { left:
|
|
2113
|
+
768: { perPage: 2, focus: "start", padding: { left: l, right: l } },
|
|
2114
2114
|
1024: { perPage: 2.5, focus: "start", padding: { left: "24px", right: "24px" } }
|
|
2115
2115
|
},
|
|
2116
2116
|
renderItem: (S) => {
|
|
2117
2117
|
const L = typeof window != "undefined" && window.innerWidth < 768 ? "80px" : "137px";
|
|
2118
|
-
return
|
|
2118
|
+
return b ? /* @__PURE__ */ t("div", { style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
2119
2119
|
X,
|
|
2120
2120
|
{
|
|
2121
2121
|
variant: "rectangular",
|
|
@@ -2156,7 +2156,7 @@ function Ln({
|
|
|
2156
2156
|
);
|
|
2157
2157
|
},
|
|
2158
2158
|
onMove: ({ isStart: S, isEnd: L, source: R }) => {
|
|
2159
|
-
|
|
2159
|
+
g({ isStart: S, isEnd: L }), R === "user" && m({
|
|
2160
2160
|
element: "destacados_carousel_slide",
|
|
2161
2161
|
label: `${u} - OraculoSeccionDestacados - Slide Carousel`,
|
|
2162
2162
|
target: "carousel",
|
|
@@ -2195,23 +2195,23 @@ function Fn({
|
|
|
2195
2195
|
iconUrl: n,
|
|
2196
2196
|
onCardClick: o
|
|
2197
2197
|
}) {
|
|
2198
|
-
const i = se(),
|
|
2198
|
+
const i = se(), s = ce(), l = pe(), c = de(
|
|
2199
2199
|
() => (e != null ? e : []).map((u, d) => {
|
|
2200
|
-
var
|
|
2200
|
+
var b;
|
|
2201
2201
|
return {
|
|
2202
2202
|
...u,
|
|
2203
|
-
orden: (
|
|
2203
|
+
orden: (b = u.orden) != null ? b : d + 1,
|
|
2204
2204
|
_originalIndex: d
|
|
2205
2205
|
};
|
|
2206
2206
|
}).sort((u, d) => u.orden != null && d.orden != null ? u.orden - d.orden : u._originalIndex - d._originalIndex),
|
|
2207
2207
|
[e]
|
|
2208
|
-
),
|
|
2208
|
+
), f = !e || e.length === 0, g = f ? Array.from({ length: 6 }) : c.slice(0, 6), m = (u) => {
|
|
2209
2209
|
i({
|
|
2210
2210
|
element: "top_juegos_card",
|
|
2211
|
-
label: `${
|
|
2211
|
+
label: `${s} - OraculoSeccionTopJuegos - Open game: ${String(u.machine || "unknown")}`,
|
|
2212
2212
|
target: String(u.machine || "unknown"),
|
|
2213
2213
|
event_type: "click",
|
|
2214
|
-
module_id:
|
|
2214
|
+
module_id: l,
|
|
2215
2215
|
metadata: {
|
|
2216
2216
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2217
2217
|
},
|
|
@@ -2220,12 +2220,12 @@ function Fn({
|
|
|
2220
2220
|
section: "OraculoSeccionTopJuegos"
|
|
2221
2221
|
}
|
|
2222
2222
|
});
|
|
2223
|
-
const d = ue("showIframe"),
|
|
2223
|
+
const d = ue("showIframe"), b = ue("loadMachine");
|
|
2224
2224
|
d == null || d(), requestAnimationFrame(() => {
|
|
2225
|
-
|
|
2225
|
+
b == null || b(u, !1, "CASINO");
|
|
2226
2226
|
});
|
|
2227
2227
|
};
|
|
2228
|
-
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */
|
|
2228
|
+
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2229
2229
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2230
2230
|
/* @__PURE__ */ t(
|
|
2231
2231
|
z,
|
|
@@ -2240,27 +2240,27 @@ function Fn({
|
|
|
2240
2240
|
justifyItems: "center",
|
|
2241
2241
|
width: "100%"
|
|
2242
2242
|
},
|
|
2243
|
-
children:
|
|
2244
|
-
var
|
|
2243
|
+
children: g.map((u, d) => {
|
|
2244
|
+
var b, x;
|
|
2245
2245
|
return /* @__PURE__ */ t(
|
|
2246
2246
|
Ra,
|
|
2247
2247
|
{
|
|
2248
|
-
imageUrl:
|
|
2249
|
-
orden:
|
|
2250
|
-
loading:
|
|
2251
|
-
onClick:
|
|
2248
|
+
imageUrl: f ? "" : u.background ? `https://olimpo.bet${u.background}` : `https://olimpo.bet${(b = u.logo) != null ? b : ""}`,
|
|
2249
|
+
orden: f ? d + 1 : u.orden,
|
|
2250
|
+
loading: f,
|
|
2251
|
+
onClick: f ? void 0 : () => {
|
|
2252
2252
|
o == null || o(u), m(u);
|
|
2253
2253
|
}
|
|
2254
2254
|
},
|
|
2255
|
-
|
|
2255
|
+
f ? `sk-${d}` : (x = u.machine) != null ? x : `${d}`
|
|
2256
2256
|
);
|
|
2257
2257
|
})
|
|
2258
2258
|
}
|
|
2259
2259
|
)
|
|
2260
2260
|
] }) });
|
|
2261
2261
|
}
|
|
2262
|
-
const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/
|
|
2263
|
-
var n, o, i,
|
|
2262
|
+
const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", zn = 8, Un = 80, Dn = (e, a) => {
|
|
2263
|
+
var n, o, i, s, l, c, f, g, m, u, d, b, x, v;
|
|
2264
2264
|
return {
|
|
2265
2265
|
orden: Number(a),
|
|
2266
2266
|
machine: String(
|
|
@@ -2268,82 +2268,108 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2268
2268
|
),
|
|
2269
2269
|
logo: (o = e.logo) != null ? o : "",
|
|
2270
2270
|
name: (i = e.room_name) != null ? i : "",
|
|
2271
|
-
web_name: (
|
|
2272
|
-
provider: (
|
|
2271
|
+
web_name: (s = e.product) != null ? s : "",
|
|
2272
|
+
provider: (l = e.service) != null ? l : "",
|
|
2273
2273
|
sub_provider: (c = e.service) != null ? c : "",
|
|
2274
|
-
external_id: (
|
|
2275
|
-
type: (
|
|
2274
|
+
external_id: (f = e.external_id) != null ? f : "",
|
|
2275
|
+
type: (g = e.game_type) != null ? g : "",
|
|
2276
2276
|
tags: (m = e.tags) != null ? m : "",
|
|
2277
2277
|
lobby_tag: (u = e.lobby_tag) != null ? u : null,
|
|
2278
2278
|
background: (d = e.background) != null ? d : "",
|
|
2279
|
-
rtp: (
|
|
2279
|
+
rtp: (b = e.rtp) != null ? b : null,
|
|
2280
2280
|
demo_allowed: (x = e.demo_allowed) != null ? x : !1,
|
|
2281
2281
|
gaming_session_required: (v = e.gaming_session_required) != null ? v : !1
|
|
2282
2282
|
};
|
|
2283
|
-
},
|
|
2283
|
+
}, Wn = (e) => {
|
|
2284
|
+
var n, o, i, s;
|
|
2285
|
+
if (!e) return [];
|
|
2286
|
+
const a = Array.isArray(e) ? e : (s = (i = (o = (n = e.recommendations) != null ? n : e.ranking) != null ? o : e.rankedItems) != null ? i : e.items) != null ? s : e.machines;
|
|
2287
|
+
return Array.isArray(a) ? a.filter(Boolean).map(
|
|
2288
|
+
(l) => {
|
|
2289
|
+
var c, f;
|
|
2290
|
+
return String(typeof l == "object" ? (f = (c = l.itemId) != null ? c : l.id) != null ? f : l.machine : l);
|
|
2291
|
+
}
|
|
2292
|
+
) : [];
|
|
2293
|
+
}, Vn = () => {
|
|
2284
2294
|
var a, n, o;
|
|
2285
2295
|
const e = ue("user");
|
|
2286
2296
|
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;
|
|
2287
|
-
},
|
|
2288
|
-
const a =
|
|
2297
|
+
}, Hn = async (e) => {
|
|
2298
|
+
const a = Vn(), n = new URLSearchParams({
|
|
2289
2299
|
userId: String(a),
|
|
2290
2300
|
productType: e
|
|
2291
2301
|
}), o = `${qn}?${n.toString()}`, i = await fetch(o);
|
|
2292
2302
|
if (!i.ok)
|
|
2293
2303
|
throw new Error(
|
|
2294
|
-
`No se pudo obtener
|
|
2304
|
+
`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`
|
|
2295
2305
|
);
|
|
2296
|
-
const
|
|
2297
|
-
return
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2306
|
+
const s = await i.json();
|
|
2307
|
+
return Wn(s).slice(0, 49);
|
|
2308
|
+
}, Gn = async (e, a, n) => {
|
|
2309
|
+
const o = [];
|
|
2310
|
+
let i = 0, s = null;
|
|
2311
|
+
const l = () => {
|
|
2312
|
+
s || n() || (s = setTimeout(() => {
|
|
2313
|
+
s = null, n() || a(o.filter(Boolean));
|
|
2314
|
+
}, Un));
|
|
2315
|
+
}, c = async () => {
|
|
2316
|
+
for (; i < e.length; ) {
|
|
2317
|
+
if (n()) return;
|
|
2318
|
+
const g = i++, m = e[g];
|
|
2319
|
+
try {
|
|
2320
|
+
const u = await fetch(`https://api.mktolimpo.com/api/machine/${m}`);
|
|
2321
|
+
if (!u.ok)
|
|
2322
|
+
throw new Error(`No se pudo obtener machine ${m}`);
|
|
2323
|
+
const d = await u.json();
|
|
2324
|
+
o[g] = Dn(d, g), l();
|
|
2325
|
+
} catch (u) {
|
|
2326
|
+
console.error(`[usePersonalizeGameItems] error al obtener machine ${m}:`, u);
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
}, f = Array.from(
|
|
2330
|
+
{ length: Math.min(zn, e.length) },
|
|
2331
|
+
() => c()
|
|
2332
|
+
);
|
|
2333
|
+
await Promise.all(f), s && clearTimeout(s), n() || a(o.filter(Boolean));
|
|
2301
2334
|
}, Xe = (e, a = !1, n = "Casino") => {
|
|
2302
|
-
const [o, i] = ee([]), [
|
|
2335
|
+
const [o, i] = ee([]), [s, l] = ee(!1);
|
|
2303
2336
|
return re(() => {
|
|
2304
2337
|
let c = !1;
|
|
2305
2338
|
return (async () => {
|
|
2306
2339
|
if (!a) {
|
|
2307
|
-
i(Array.isArray(e) ? e : []),
|
|
2340
|
+
i(Array.isArray(e) ? e : []), l(!1);
|
|
2308
2341
|
return;
|
|
2309
2342
|
}
|
|
2310
|
-
|
|
2343
|
+
l(!0), i([]);
|
|
2311
2344
|
try {
|
|
2312
|
-
const
|
|
2313
|
-
if (!
|
|
2345
|
+
const g = await Hn(n);
|
|
2346
|
+
if (!g.length) {
|
|
2314
2347
|
c || i([]);
|
|
2315
2348
|
return;
|
|
2316
2349
|
}
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
return zn(O, x);
|
|
2324
|
-
})
|
|
2350
|
+
await Gn(
|
|
2351
|
+
g,
|
|
2352
|
+
(m) => {
|
|
2353
|
+
c || (i(m), l(!1));
|
|
2354
|
+
},
|
|
2355
|
+
() => c
|
|
2325
2356
|
);
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
(f) => f.status === "fulfilled"
|
|
2329
|
-
).map((f) => f.value);
|
|
2330
|
-
i(d);
|
|
2331
|
-
} catch (b) {
|
|
2332
|
-
console.error(`[usePersonalizeGameItems:${n}] error:`, b), c || i([]);
|
|
2357
|
+
} catch (g) {
|
|
2358
|
+
console.error(`[usePersonalizeGameItems:${n}] error:`, g), c || i([]);
|
|
2333
2359
|
} finally {
|
|
2334
|
-
c ||
|
|
2360
|
+
c || l(!1);
|
|
2335
2361
|
}
|
|
2336
2362
|
})(), () => {
|
|
2337
2363
|
c = !0;
|
|
2338
2364
|
};
|
|
2339
2365
|
}, [e, a, n]), {
|
|
2340
2366
|
resolvedItems: o,
|
|
2341
|
-
loading:
|
|
2367
|
+
loading: s
|
|
2342
2368
|
};
|
|
2343
|
-
},
|
|
2369
|
+
}, Zn = (e, a = !1) => Xe(e, a, "Casino"), jn = (e, a = !1) => Xe(e, a, "Deportes virtuales"), Kn = (e, a = !1) => Xe(e, a, "Casino en vivo"), Jn = (e, a) => {
|
|
2344
2370
|
var n, o;
|
|
2345
2371
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2346
|
-
},
|
|
2372
|
+
}, Xn = (e) => {
|
|
2347
2373
|
if (typeof e == "boolean") return e;
|
|
2348
2374
|
if (typeof e == "string")
|
|
2349
2375
|
return e.toLowerCase() === "true";
|
|
@@ -2353,22 +2379,22 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2353
2379
|
return e.value.toLowerCase() === "true";
|
|
2354
2380
|
}
|
|
2355
2381
|
return !1;
|
|
2356
|
-
},
|
|
2382
|
+
}, Qn = ({
|
|
2357
2383
|
items: e,
|
|
2358
2384
|
title: a = "Casino en vivo",
|
|
2359
2385
|
subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
2360
2386
|
backgroundMobileUrl: o = "",
|
|
2361
2387
|
onCardClick: i,
|
|
2362
|
-
backgroundDesktopUrl:
|
|
2363
|
-
onViewMore:
|
|
2388
|
+
backgroundDesktopUrl: s = "",
|
|
2389
|
+
onViewMore: l,
|
|
2364
2390
|
className: c,
|
|
2365
|
-
isPersonalize:
|
|
2391
|
+
isPersonalize: f = !1
|
|
2366
2392
|
}) => {
|
|
2367
|
-
const
|
|
2393
|
+
const g = se(), m = ce(), u = pe(), d = Xn(f), { resolvedItems: b, loading: x } = Kn(
|
|
2368
2394
|
e,
|
|
2369
2395
|
d
|
|
2370
|
-
), v = d ?
|
|
2371
|
-
|
|
2396
|
+
), v = d ? b : Array.isArray(e) ? e : [], I = d ? x : !Array.isArray(e) || e.length === 0, M = (_) => {
|
|
2397
|
+
g({
|
|
2372
2398
|
element: "live_casino_card",
|
|
2373
2399
|
label: `${m} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Open game: ${String(_.machine || "unknown")}`,
|
|
2374
2400
|
target: String(_.machine || "unknown"),
|
|
@@ -2399,7 +2425,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2399
2425
|
w == null || w(_, !1, "casino_en_vivo");
|
|
2400
2426
|
});
|
|
2401
2427
|
}, N = () => {
|
|
2402
|
-
|
|
2428
|
+
g({
|
|
2403
2429
|
element: "casino_en_vivo_view_more",
|
|
2404
2430
|
label: `${m} - OraculoSeccionCasinoEnVivo${d ? " - personalize" : ""} - Ver más`,
|
|
2405
2431
|
target: "https://www.olimpo.bet/casino-en-vivo",
|
|
@@ -2409,9 +2435,9 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2409
2435
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2410
2436
|
},
|
|
2411
2437
|
tags: { section: "OraculoSeccionCasinoEnVivo" }
|
|
2412
|
-
}), typeof globalThis != "undefined" && globalThis.location && (
|
|
2438
|
+
}), typeof globalThis != "undefined" && globalThis.location && (l ? l() : globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"));
|
|
2413
2439
|
};
|
|
2414
|
-
return /* @__PURE__ */
|
|
2440
|
+
return /* @__PURE__ */ h(
|
|
2415
2441
|
z,
|
|
2416
2442
|
{
|
|
2417
2443
|
className: c,
|
|
@@ -2436,7 +2462,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2436
2462
|
md: `
|
|
2437
2463
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2438
2464
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2439
|
-
url('${
|
|
2465
|
+
url('${s}')
|
|
2440
2466
|
`
|
|
2441
2467
|
},
|
|
2442
2468
|
backgroundSize: {
|
|
@@ -2449,7 +2475,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2449
2475
|
}
|
|
2450
2476
|
}
|
|
2451
2477
|
),
|
|
2452
|
-
/* @__PURE__ */
|
|
2478
|
+
/* @__PURE__ */ h(
|
|
2453
2479
|
z,
|
|
2454
2480
|
{
|
|
2455
2481
|
sx: {
|
|
@@ -2467,7 +2493,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2467
2493
|
textAlign: { xs: "center", md: "left" }
|
|
2468
2494
|
},
|
|
2469
2495
|
children: [
|
|
2470
|
-
/* @__PURE__ */
|
|
2496
|
+
/* @__PURE__ */ h(Q, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
2471
2497
|
/* @__PURE__ */ t(
|
|
2472
2498
|
he,
|
|
2473
2499
|
{
|
|
@@ -2514,7 +2540,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2514
2540
|
py: { xs: 3, md: 0 },
|
|
2515
2541
|
alignItems: "center"
|
|
2516
2542
|
},
|
|
2517
|
-
children:
|
|
2543
|
+
children: I ? Array.from({ length: 3 }).map((_, $) => /* @__PURE__ */ t(nt, { loading: !0, logo: "" }, `sk-${$}`)) : (v != null ? v : []).slice(0, 3).map((_, $) => {
|
|
2518
2544
|
var w;
|
|
2519
2545
|
return /* @__PURE__ */ t(
|
|
2520
2546
|
nt,
|
|
@@ -2525,7 +2551,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2525
2551
|
machine: _.machine,
|
|
2526
2552
|
onClick: () => M(_)
|
|
2527
2553
|
},
|
|
2528
|
-
|
|
2554
|
+
Jn(_, $)
|
|
2529
2555
|
);
|
|
2530
2556
|
})
|
|
2531
2557
|
}
|
|
@@ -2545,7 +2571,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2545
2571
|
]
|
|
2546
2572
|
}
|
|
2547
2573
|
);
|
|
2548
|
-
},
|
|
2574
|
+
}, Yn = (e) => {
|
|
2549
2575
|
if (typeof e == "boolean") return e;
|
|
2550
2576
|
if (typeof e == "string")
|
|
2551
2577
|
return e.toLowerCase() === "true";
|
|
@@ -2558,53 +2584,53 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2558
2584
|
}, kt = (e, a) => {
|
|
2559
2585
|
var n, o;
|
|
2560
2586
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2561
|
-
},
|
|
2562
|
-
const o = e.map((
|
|
2563
|
-
var
|
|
2587
|
+
}, eo = (e, a = !0, n = 1) => {
|
|
2588
|
+
const o = e.map((l, c) => {
|
|
2589
|
+
var f;
|
|
2564
2590
|
return {
|
|
2565
|
-
id: kt(
|
|
2566
|
-
imageUrl: (
|
|
2567
|
-
...
|
|
2591
|
+
id: kt(l, c),
|
|
2592
|
+
imageUrl: (f = l.logo) != null ? f : "",
|
|
2593
|
+
...l.background ? { background: l.background } : {}
|
|
2568
2594
|
};
|
|
2569
2595
|
});
|
|
2570
2596
|
if (!o.length) return [];
|
|
2571
2597
|
const i = [];
|
|
2572
|
-
let
|
|
2598
|
+
let s = 0;
|
|
2573
2599
|
if (a) {
|
|
2574
|
-
const
|
|
2600
|
+
const l = Math.min(o.length, 1);
|
|
2575
2601
|
i.push({
|
|
2576
2602
|
id: "mosaic-0",
|
|
2577
2603
|
kind: "mosaic",
|
|
2578
|
-
items: o.slice(0,
|
|
2579
|
-
}),
|
|
2604
|
+
items: o.slice(0, l)
|
|
2605
|
+
}), s = l;
|
|
2580
2606
|
}
|
|
2581
|
-
for (;
|
|
2582
|
-
const
|
|
2607
|
+
for (; s < o.length; ) {
|
|
2608
|
+
const l = Math.min(s + n, o.length);
|
|
2583
2609
|
i.push({
|
|
2584
|
-
id: `grid-${
|
|
2610
|
+
id: `grid-${s}`,
|
|
2585
2611
|
kind: "grid",
|
|
2586
|
-
items: o.slice(
|
|
2587
|
-
}),
|
|
2612
|
+
items: o.slice(s, l)
|
|
2613
|
+
}), s = l;
|
|
2588
2614
|
}
|
|
2589
2615
|
return i;
|
|
2590
|
-
},
|
|
2616
|
+
}, to = ({
|
|
2591
2617
|
items: e,
|
|
2592
2618
|
title: a = "Casino",
|
|
2593
2619
|
iconUrl: n = "/assets/img/home/Casino/diamante.svg",
|
|
2594
2620
|
onItemClick: o,
|
|
2595
2621
|
onViewMore: i,
|
|
2596
|
-
mosaicFirst:
|
|
2597
|
-
gridSize:
|
|
2622
|
+
mosaicFirst: s = !0,
|
|
2623
|
+
gridSize: l = 1,
|
|
2598
2624
|
isPersonalize: c = !1
|
|
2599
2625
|
}) => {
|
|
2600
|
-
const
|
|
2626
|
+
const f = se(), g = ce(), m = pe(), u = Z(null), [d, b] = ee({ isStart: !0, isEnd: !1 }), x = Yn(c), { resolvedItems: v, loading: I } = Zn(
|
|
2601
2627
|
e,
|
|
2602
2628
|
x
|
|
2603
2629
|
), M = x ? v : Array.isArray(e) ? e : [], N = () => {
|
|
2604
2630
|
var A;
|
|
2605
|
-
|
|
2631
|
+
f({
|
|
2606
2632
|
element: "casino_prev",
|
|
2607
|
-
label: `${
|
|
2633
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Anterior`,
|
|
2608
2634
|
target: "prev",
|
|
2609
2635
|
event_type: "click",
|
|
2610
2636
|
module_id: m,
|
|
@@ -2615,9 +2641,9 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2615
2641
|
}), (A = u.current) == null || A.prev();
|
|
2616
2642
|
}, _ = () => {
|
|
2617
2643
|
var A;
|
|
2618
|
-
|
|
2644
|
+
f({
|
|
2619
2645
|
element: "casino_next",
|
|
2620
|
-
label: `${
|
|
2646
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Siguiente`,
|
|
2621
2647
|
target: "next",
|
|
2622
2648
|
event_type: "click",
|
|
2623
2649
|
module_id: m,
|
|
@@ -2627,9 +2653,9 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2627
2653
|
tags: { section: "OraculoSeccionCasino" }
|
|
2628
2654
|
}), (A = u.current) == null || A.next();
|
|
2629
2655
|
}, $ = () => {
|
|
2630
|
-
if (
|
|
2656
|
+
if (f({
|
|
2631
2657
|
element: "casino_view_more",
|
|
2632
|
-
label: `${
|
|
2658
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Ver más`,
|
|
2633
2659
|
target: "https://www.olimpo.bet/casino",
|
|
2634
2660
|
event_type: "click",
|
|
2635
2661
|
module_id: m,
|
|
@@ -2643,14 +2669,14 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2643
2669
|
}
|
|
2644
2670
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/casino");
|
|
2645
2671
|
}, w = (A = !0, y = 4) => {
|
|
2646
|
-
const
|
|
2672
|
+
const O = (B) => Array.from({ length: B }, (P, W) => ({
|
|
2647
2673
|
id: `sk-${B}-${W}`,
|
|
2648
2674
|
imageUrl: ""
|
|
2649
2675
|
})), F = [];
|
|
2650
|
-
return A && F.push({ id: "mosaic-loading", kind: "mosaic", items:
|
|
2651
|
-
}, S = x ?
|
|
2652
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2653
|
-
/* @__PURE__ */
|
|
2676
|
+
return A && F.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), F.push({ id: "grid-loading", kind: "grid", items: O(y) }), F;
|
|
2677
|
+
}, S = x ? I : !Array.isArray(e) || e.length === 0, L = Je("(max-width:950px)"), R = S ? w(s, l) : eo(M, s, l);
|
|
2678
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2679
|
+
/* @__PURE__ */ h(
|
|
2654
2680
|
z,
|
|
2655
2681
|
{
|
|
2656
2682
|
sx: {
|
|
@@ -2666,7 +2692,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2666
2692
|
},
|
|
2667
2693
|
children: [
|
|
2668
2694
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2669
|
-
/* @__PURE__ */
|
|
2695
|
+
/* @__PURE__ */ h(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2670
2696
|
/* @__PURE__ */ t(
|
|
2671
2697
|
ae,
|
|
2672
2698
|
{
|
|
@@ -2729,34 +2755,34 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2729
2755
|
loading: S,
|
|
2730
2756
|
onClick: (y) => {
|
|
2731
2757
|
if (S) return;
|
|
2732
|
-
const
|
|
2758
|
+
const O = M.find(
|
|
2733
2759
|
(P, W) => String(kt(P, W)) === String(y.id)
|
|
2734
2760
|
);
|
|
2735
|
-
if (!
|
|
2736
|
-
o == null || o(
|
|
2761
|
+
if (!O) return;
|
|
2762
|
+
o == null || o(O), f({
|
|
2737
2763
|
element: "casino_game_card",
|
|
2738
|
-
label: `${
|
|
2739
|
-
target: String(
|
|
2764
|
+
label: `${g} - OraculoSeccionCasino ${c ? " - personalize" : ""} - Game: ${String(O.machine || "unknown")}`,
|
|
2765
|
+
target: String(O.machine || "unknown"),
|
|
2740
2766
|
event_type: "click",
|
|
2741
2767
|
module_id: m,
|
|
2742
2768
|
metadata: {
|
|
2743
2769
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2744
2770
|
},
|
|
2745
2771
|
tags: {
|
|
2746
|
-
game_name: String(
|
|
2772
|
+
game_name: String(O.machine || "unknown"),
|
|
2747
2773
|
section: a || "Casino"
|
|
2748
2774
|
}
|
|
2749
2775
|
});
|
|
2750
2776
|
const F = ue("showIframe"), B = ue("loadMachine");
|
|
2751
|
-
F == null || F(), B == null || B(
|
|
2777
|
+
F == null || F(), B == null || B(O, !1, "CASINO");
|
|
2752
2778
|
}
|
|
2753
2779
|
}
|
|
2754
2780
|
) }),
|
|
2755
|
-
onMove: ({ isStart: A, isEnd: y }) =>
|
|
2781
|
+
onMove: ({ isStart: A, isEnd: y }) => b({ isStart: A, isEnd: y })
|
|
2756
2782
|
}
|
|
2757
2783
|
)
|
|
2758
2784
|
] }) });
|
|
2759
|
-
},
|
|
2785
|
+
}, ao = (e) => {
|
|
2760
2786
|
if (typeof e == "boolean") return e;
|
|
2761
2787
|
if (typeof e == "string")
|
|
2762
2788
|
return e.toLowerCase() === "true";
|
|
@@ -2769,38 +2795,38 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2769
2795
|
}, Nt = (e, a) => {
|
|
2770
2796
|
var n, o;
|
|
2771
2797
|
return (o = (n = e.orden) != null ? n : e.machine) != null ? o : a;
|
|
2772
|
-
},
|
|
2773
|
-
const o = e.map((
|
|
2774
|
-
var
|
|
2798
|
+
}, no = (e, a = !0, n = 1) => {
|
|
2799
|
+
const o = e.map((l, c) => {
|
|
2800
|
+
var f;
|
|
2775
2801
|
return {
|
|
2776
|
-
id: Nt(
|
|
2777
|
-
imageUrl: (
|
|
2778
|
-
...
|
|
2802
|
+
id: Nt(l, c),
|
|
2803
|
+
imageUrl: (f = l.logo) != null ? f : "",
|
|
2804
|
+
...l.background ? { background: l.background } : {}
|
|
2779
2805
|
};
|
|
2780
2806
|
});
|
|
2781
2807
|
if (!o.length) return [];
|
|
2782
2808
|
const i = [];
|
|
2783
|
-
let
|
|
2809
|
+
let s = 0;
|
|
2784
2810
|
if (a) {
|
|
2785
|
-
const
|
|
2811
|
+
const l = Math.min(o.length, 1);
|
|
2786
2812
|
i.push({
|
|
2787
2813
|
id: "mosaic-0",
|
|
2788
2814
|
kind: "mosaic",
|
|
2789
|
-
items: o.slice(0,
|
|
2790
|
-
}),
|
|
2815
|
+
items: o.slice(0, l)
|
|
2816
|
+
}), s = l;
|
|
2791
2817
|
}
|
|
2792
|
-
for (;
|
|
2793
|
-
const
|
|
2818
|
+
for (; s < o.length; ) {
|
|
2819
|
+
const l = Math.min(s + n, o.length);
|
|
2794
2820
|
i.push({
|
|
2795
|
-
id: `grid-${
|
|
2821
|
+
id: `grid-${s}`,
|
|
2796
2822
|
kind: "grid",
|
|
2797
|
-
items: o.slice(
|
|
2798
|
-
}),
|
|
2823
|
+
items: o.slice(s, l)
|
|
2824
|
+
}), s = l;
|
|
2799
2825
|
}
|
|
2800
2826
|
return i;
|
|
2801
|
-
},
|
|
2802
|
-
const n = (i) => Array.from({ length: i }, (
|
|
2803
|
-
id: `sk-${i}-${
|
|
2827
|
+
}, oo = (e = !0, a = 4) => {
|
|
2828
|
+
const n = (i) => Array.from({ length: i }, (s, l) => ({
|
|
2829
|
+
id: `sk-${i}-${l}`,
|
|
2804
2830
|
imageUrl: ""
|
|
2805
2831
|
})), o = [];
|
|
2806
2832
|
return e && o.push({
|
|
@@ -2812,17 +2838,17 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2812
2838
|
kind: "grid",
|
|
2813
2839
|
items: n(a)
|
|
2814
2840
|
}), o;
|
|
2815
|
-
},
|
|
2841
|
+
}, ro = ({
|
|
2816
2842
|
items: e,
|
|
2817
2843
|
title: a = "Virtuales",
|
|
2818
2844
|
iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
|
|
2819
2845
|
onItemClick: o,
|
|
2820
2846
|
onViewMore: i,
|
|
2821
|
-
mosaicFirst:
|
|
2822
|
-
gridSize:
|
|
2847
|
+
mosaicFirst: s = !0,
|
|
2848
|
+
gridSize: l = 1,
|
|
2823
2849
|
isPersonalize: c = !1
|
|
2824
2850
|
}) => {
|
|
2825
|
-
const
|
|
2851
|
+
const f = Z(null), [g, m] = ee({ isStart: !0, isEnd: !1 }), u = se(), d = ce(), b = pe(), x = ao(c), { resolvedItems: v, loading: I } = jn(
|
|
2826
2852
|
e,
|
|
2827
2853
|
x
|
|
2828
2854
|
), M = x ? v : Array.isArray(e) ? e : [], N = () => {
|
|
@@ -2832,12 +2858,12 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2832
2858
|
label: `${d} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Anterior`,
|
|
2833
2859
|
target: "prev",
|
|
2834
2860
|
event_type: "click",
|
|
2835
|
-
module_id:
|
|
2861
|
+
module_id: b,
|
|
2836
2862
|
metadata: {
|
|
2837
2863
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2838
2864
|
},
|
|
2839
2865
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2840
|
-
}), (R =
|
|
2866
|
+
}), (R = f.current) == null || R.prev();
|
|
2841
2867
|
}, _ = () => {
|
|
2842
2868
|
var R;
|
|
2843
2869
|
u({
|
|
@@ -2845,19 +2871,19 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2845
2871
|
label: `${d} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Siguiente`,
|
|
2846
2872
|
target: "next",
|
|
2847
2873
|
event_type: "click",
|
|
2848
|
-
module_id:
|
|
2874
|
+
module_id: b,
|
|
2849
2875
|
metadata: {
|
|
2850
2876
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2851
2877
|
},
|
|
2852
2878
|
tags: { section: "OraculoSeccionVirtuales" }
|
|
2853
|
-
}), (R =
|
|
2879
|
+
}), (R = f.current) == null || R.next();
|
|
2854
2880
|
}, $ = () => {
|
|
2855
2881
|
if (u({
|
|
2856
2882
|
element: "virtuales_view_more",
|
|
2857
2883
|
label: `${d} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Ver más`,
|
|
2858
2884
|
target: "https://www.olimpo.bet/juegos-virtuales",
|
|
2859
2885
|
event_type: "click",
|
|
2860
|
-
module_id:
|
|
2886
|
+
module_id: b,
|
|
2861
2887
|
metadata: {
|
|
2862
2888
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2863
2889
|
},
|
|
@@ -2867,9 +2893,9 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2867
2893
|
return;
|
|
2868
2894
|
}
|
|
2869
2895
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2870
|
-
}, w = x ?
|
|
2871
|
-
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */
|
|
2872
|
-
/* @__PURE__ */
|
|
2896
|
+
}, w = x ? I : !Array.isArray(e) || e.length === 0, S = Ne("(max-width:950px)"), L = w ? oo(s, l) : no(M, s, l);
|
|
2897
|
+
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2898
|
+
/* @__PURE__ */ h(
|
|
2873
2899
|
z,
|
|
2874
2900
|
{
|
|
2875
2901
|
sx: {
|
|
@@ -2885,7 +2911,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2885
2911
|
},
|
|
2886
2912
|
children: [
|
|
2887
2913
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
2888
|
-
/* @__PURE__ */
|
|
2914
|
+
/* @__PURE__ */ h(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2889
2915
|
/* @__PURE__ */ t(
|
|
2890
2916
|
ae,
|
|
2891
2917
|
{
|
|
@@ -2894,7 +2920,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2894
2920
|
iconOnly: !0,
|
|
2895
2921
|
leftIcon: /* @__PURE__ */ t(_t, {}),
|
|
2896
2922
|
onClick: N,
|
|
2897
|
-
disabled:
|
|
2923
|
+
disabled: g.isStart
|
|
2898
2924
|
}
|
|
2899
2925
|
),
|
|
2900
2926
|
/* @__PURE__ */ t(
|
|
@@ -2905,7 +2931,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2905
2931
|
iconOnly: !0,
|
|
2906
2932
|
rightIcon: /* @__PURE__ */ t(vt, {}),
|
|
2907
2933
|
onClick: _,
|
|
2908
|
-
disabled:
|
|
2934
|
+
disabled: g.isEnd
|
|
2909
2935
|
}
|
|
2910
2936
|
)
|
|
2911
2937
|
] }),
|
|
@@ -2916,7 +2942,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2916
2942
|
/* @__PURE__ */ t(
|
|
2917
2943
|
xe,
|
|
2918
2944
|
{
|
|
2919
|
-
ref:
|
|
2945
|
+
ref: f,
|
|
2920
2946
|
items: L,
|
|
2921
2947
|
perPage: void 0,
|
|
2922
2948
|
gap: "16px",
|
|
@@ -2963,7 +2989,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2963
2989
|
label: `${d} - OraculoSeccionVirtuales${x ? " - personalize" : ""} - Game: ${String(y.machine || "unknown")}`,
|
|
2964
2990
|
target: String(y.machine || "unknown"),
|
|
2965
2991
|
event_type: "click",
|
|
2966
|
-
module_id:
|
|
2992
|
+
module_id: b,
|
|
2967
2993
|
metadata: {
|
|
2968
2994
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2969
2995
|
},
|
|
@@ -2972,8 +2998,8 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2972
2998
|
section: a || "Virtuales"
|
|
2973
2999
|
}
|
|
2974
3000
|
});
|
|
2975
|
-
const
|
|
2976
|
-
|
|
3001
|
+
const O = ue("showIframe"), F = ue("loadMachine");
|
|
3002
|
+
O == null || O(), F == null || F(
|
|
2977
3003
|
y,
|
|
2978
3004
|
!1,
|
|
2979
3005
|
x ? "VIRTUALES_PERSONALIZE" : "VIRTUALES"
|
|
@@ -2985,7 +3011,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2985
3011
|
}
|
|
2986
3012
|
)
|
|
2987
3013
|
] }) });
|
|
2988
|
-
},
|
|
3014
|
+
}, io = (e) => ({
|
|
2989
3015
|
position: "relative",
|
|
2990
3016
|
py: 8,
|
|
2991
3017
|
color: "#fff",
|
|
@@ -3017,39 +3043,39 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3017
3043
|
0 0 6px rgba(255, 255, 255, .6),
|
|
3018
3044
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
3019
3045
|
`
|
|
3020
|
-
},
|
|
3046
|
+
}, lo = ({
|
|
3021
3047
|
headline: e,
|
|
3022
3048
|
headline2: a,
|
|
3023
3049
|
items: n,
|
|
3024
3050
|
backgroundImageUrl: o
|
|
3025
3051
|
}) => {
|
|
3026
|
-
const i = se(),
|
|
3052
|
+
const i = se(), s = ce(), l = Ne("(max-width: 767px)"), c = n.length > 1, f = Z(null), g = Z(null), m = Z(!1), u = Z(!1), [d, b] = ee(0), [x, v] = ee({ isStart: !0, isEnd: !1 });
|
|
3027
3053
|
re(() => {
|
|
3028
3054
|
const y = setTimeout(() => {
|
|
3029
3055
|
m.current = !0;
|
|
3030
3056
|
}, 500);
|
|
3031
3057
|
return () => clearTimeout(y);
|
|
3032
3058
|
}, []);
|
|
3033
|
-
const
|
|
3059
|
+
const I = Z(x);
|
|
3034
3060
|
re(() => {
|
|
3035
|
-
|
|
3061
|
+
I.current = x;
|
|
3036
3062
|
}, [x]);
|
|
3037
3063
|
const M = Z(!1), N = Z(null), _ = n == null ? void 0 : n[d], $ = de(
|
|
3038
3064
|
() => {
|
|
3039
|
-
var y,
|
|
3040
|
-
return (
|
|
3065
|
+
var y, O;
|
|
3066
|
+
return (O = (y = _ == null ? void 0 : _.backgroundImageUrl) != null ? y : o) != null ? O : "";
|
|
3041
3067
|
},
|
|
3042
3068
|
[_, o]
|
|
3043
|
-
), w =
|
|
3069
|
+
), w = io($), S = !n || n.length === 0, L = (y, O) => {
|
|
3044
3070
|
i({
|
|
3045
3071
|
element: "welcome_banner_button",
|
|
3046
|
-
label: `OraculoSeccionBonoBienvenida - Banner button click: ${y.title || "OraculoSeccionBonoBienvenida - Banner " + (
|
|
3072
|
+
label: `OraculoSeccionBonoBienvenida - Banner button click: ${y.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
|
|
3047
3073
|
target: "action",
|
|
3048
3074
|
event_type: "click",
|
|
3049
3075
|
module_id: 301,
|
|
3050
3076
|
metadata: {
|
|
3051
3077
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3052
|
-
banner_position:
|
|
3078
|
+
banner_position: O + 1,
|
|
3053
3079
|
banner_total: (n == null ? void 0 : n.length) || 0
|
|
3054
3080
|
},
|
|
3055
3081
|
tags: {
|
|
@@ -3063,10 +3089,10 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3063
3089
|
u.current = !1;
|
|
3064
3090
|
return;
|
|
3065
3091
|
}
|
|
3066
|
-
const
|
|
3092
|
+
const O = n == null ? void 0 : n[y];
|
|
3067
3093
|
i({
|
|
3068
3094
|
element: "welcome_banner_carousel",
|
|
3069
|
-
label: `Landing: ${
|
|
3095
|
+
label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (y + 1)}`,
|
|
3070
3096
|
target: "no_url",
|
|
3071
3097
|
event_type: "view",
|
|
3072
3098
|
module_id: 301,
|
|
@@ -3078,20 +3104,20 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3078
3104
|
},
|
|
3079
3105
|
tags: {
|
|
3080
3106
|
banner_position: String(y + 1),
|
|
3081
|
-
banner_title: (
|
|
3107
|
+
banner_title: (O == null ? void 0 : O.title) || "no_title"
|
|
3082
3108
|
}
|
|
3083
3109
|
});
|
|
3084
3110
|
};
|
|
3085
3111
|
re(() => {
|
|
3086
|
-
const y =
|
|
3112
|
+
const y = g.current;
|
|
3087
3113
|
if (!y) return;
|
|
3088
|
-
const
|
|
3114
|
+
const O = 6, F = 380, B = (P) => {
|
|
3089
3115
|
var G, D;
|
|
3090
3116
|
if (S || P.ctrlKey || M.current) return;
|
|
3091
3117
|
const W = P.deltaX, V = P.deltaY;
|
|
3092
|
-
if (Math.abs(W) <= Math.abs(V) || Math.abs(W) <
|
|
3118
|
+
if (Math.abs(W) <= Math.abs(V) || Math.abs(W) < O) return;
|
|
3093
3119
|
const H = W > 0;
|
|
3094
|
-
H &&
|
|
3120
|
+
H && I.current.isEnd || !H && I.current.isStart || (P.preventDefault(), M.current = !0, H ? (G = f.current) == null || G.next() : (D = f.current) == null || D.prev(), N.current && window.clearTimeout(N.current), N.current = window.setTimeout(() => {
|
|
3095
3121
|
M.current = !1;
|
|
3096
3122
|
}, F));
|
|
3097
3123
|
};
|
|
@@ -3099,10 +3125,10 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3099
3125
|
y.removeEventListener("wheel", B), N.current && window.clearTimeout(N.current);
|
|
3100
3126
|
};
|
|
3101
3127
|
}, [S]);
|
|
3102
|
-
const A = (y,
|
|
3128
|
+
const A = (y, O, F) => {
|
|
3103
3129
|
var W, V;
|
|
3104
3130
|
const B = (W = y.headline) != null ? W : e, P = (V = y.headline2) != null ? V : a;
|
|
3105
|
-
return
|
|
3131
|
+
return O ? /* @__PURE__ */ h(
|
|
3106
3132
|
z,
|
|
3107
3133
|
{
|
|
3108
3134
|
sx: {
|
|
@@ -3124,9 +3150,9 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3124
3150
|
justifyContent: "flex-start",
|
|
3125
3151
|
minHeight: "100%"
|
|
3126
3152
|
},
|
|
3127
|
-
children: /* @__PURE__ */
|
|
3153
|
+
children: /* @__PURE__ */ h(z, { sx: { ...ct, textAlign: "left", mb: 0 }, children: [
|
|
3128
3154
|
B && /* @__PURE__ */ t(he, { component: "span", sx: dt, children: B }),
|
|
3129
|
-
P && /* @__PURE__ */
|
|
3155
|
+
P && /* @__PURE__ */ h(te, { children: [
|
|
3130
3156
|
/* @__PURE__ */ t("br", {}),
|
|
3131
3157
|
/* @__PURE__ */ t(he, { component: "span", sx: ut, children: P })
|
|
3132
3158
|
] })
|
|
@@ -3143,10 +3169,10 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3143
3169
|
) }) })
|
|
3144
3170
|
]
|
|
3145
3171
|
}
|
|
3146
|
-
) : /* @__PURE__ */
|
|
3147
|
-
(B || P) && /* @__PURE__ */
|
|
3172
|
+
) : /* @__PURE__ */ h(z, { sx: { textAlign: "center" }, children: [
|
|
3173
|
+
(B || P) && /* @__PURE__ */ h(z, { sx: ct, children: [
|
|
3148
3174
|
B && /* @__PURE__ */ t(he, { component: "span", sx: dt, children: B }),
|
|
3149
|
-
P && /* @__PURE__ */
|
|
3175
|
+
P && /* @__PURE__ */ h(te, { children: [
|
|
3150
3176
|
/* @__PURE__ */ t("br", {}),
|
|
3151
3177
|
/* @__PURE__ */ t(he, { component: "span", sx: ut, children: P })
|
|
3152
3178
|
] })
|
|
@@ -3161,11 +3187,11 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3161
3187
|
) })
|
|
3162
3188
|
] });
|
|
3163
3189
|
};
|
|
3164
|
-
return /* @__PURE__ */
|
|
3165
|
-
/* @__PURE__ */ t("div", { ref:
|
|
3190
|
+
return /* @__PURE__ */ h(z, { component: "section", sx: w, children: [
|
|
3191
|
+
/* @__PURE__ */ t("div", { ref: g, style: { width: "100%" }, children: /* @__PURE__ */ t(
|
|
3166
3192
|
xe,
|
|
3167
3193
|
{
|
|
3168
|
-
ref:
|
|
3194
|
+
ref: f,
|
|
3169
3195
|
items: n,
|
|
3170
3196
|
perPage: 1,
|
|
3171
3197
|
gap: "0px",
|
|
@@ -3179,9 +3205,9 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3179
3205
|
// arrows: false,
|
|
3180
3206
|
// drag: true,
|
|
3181
3207
|
},
|
|
3182
|
-
renderItem: (y,
|
|
3183
|
-
onMove: ({ index: y, isStart:
|
|
3184
|
-
|
|
3208
|
+
renderItem: (y, O) => /* @__PURE__ */ t(z, { sx: { width: "100%" }, children: A(y, !l, O) }),
|
|
3209
|
+
onMove: ({ index: y, isStart: O, isEnd: F, source: B }) => {
|
|
3210
|
+
b(y), typeof O == "boolean" && typeof F == "boolean" && v({ isStart: O, isEnd: F }), B === "user" && R(y);
|
|
3185
3211
|
}
|
|
3186
3212
|
}
|
|
3187
3213
|
) }),
|
|
@@ -3191,10 +3217,10 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3191
3217
|
total: n.length,
|
|
3192
3218
|
active: d,
|
|
3193
3219
|
onSelect: (y) => {
|
|
3194
|
-
var
|
|
3220
|
+
var O;
|
|
3195
3221
|
i({
|
|
3196
3222
|
element: "welcome_banner_dots",
|
|
3197
|
-
label: `Landing: ${
|
|
3223
|
+
label: `Landing: ${s} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${y + 1}`,
|
|
3198
3224
|
target: "no_url",
|
|
3199
3225
|
event_type: "click",
|
|
3200
3226
|
module_id: 301,
|
|
@@ -3206,35 +3232,35 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3206
3232
|
tags: {
|
|
3207
3233
|
navigation_type: "dot_click"
|
|
3208
3234
|
}
|
|
3209
|
-
}),
|
|
3235
|
+
}), b(y), (O = f.current) == null || O.go(y);
|
|
3210
3236
|
}
|
|
3211
3237
|
}
|
|
3212
3238
|
) })
|
|
3213
3239
|
] });
|
|
3214
|
-
},
|
|
3240
|
+
}, so = ({
|
|
3215
3241
|
className: e = "",
|
|
3216
3242
|
fullBleed: a = !0,
|
|
3217
3243
|
items: n,
|
|
3218
3244
|
selectedIndex: o = 0,
|
|
3219
3245
|
ariaLabel: i,
|
|
3220
|
-
user:
|
|
3246
|
+
user: s = null
|
|
3221
3247
|
}) => {
|
|
3222
|
-
const
|
|
3248
|
+
const l = Z(null), c = Z(null), f = se(), g = ce(), m = pe();
|
|
3223
3249
|
if (!n) return null;
|
|
3224
3250
|
const u = async () => {
|
|
3225
|
-
let v =
|
|
3251
|
+
let v = s;
|
|
3226
3252
|
if ((!(v != null && v.user) || !(v != null && v.session)) && typeof window != "undefined")
|
|
3227
3253
|
try {
|
|
3228
|
-
const
|
|
3229
|
-
|
|
3230
|
-
} catch (
|
|
3231
|
-
console.error("[getMarketPlaceUrl] Error parsing localStorage user",
|
|
3254
|
+
const I = localStorage.getItem("user");
|
|
3255
|
+
I && (v = JSON.parse(I));
|
|
3256
|
+
} catch (I) {
|
|
3257
|
+
console.error("[getMarketPlaceUrl] Error parsing localStorage user", I);
|
|
3232
3258
|
}
|
|
3233
3259
|
if (!(v != null && v.user) || !(v != null && v.session))
|
|
3234
3260
|
return console.warn("User data missing"), null;
|
|
3235
|
-
|
|
3261
|
+
f({
|
|
3236
3262
|
element: "club_olimpo_button",
|
|
3237
|
-
label: `${
|
|
3263
|
+
label: `${g} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,
|
|
3238
3264
|
target: "https://www.clubolimpo.com/OlimpoBetWeb/",
|
|
3239
3265
|
event_type: "click",
|
|
3240
3266
|
module_id: m,
|
|
@@ -3244,7 +3270,7 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3244
3270
|
tags: { section: "OraculoSeccionClubOlimpo" }
|
|
3245
3271
|
});
|
|
3246
3272
|
try {
|
|
3247
|
-
const
|
|
3273
|
+
const I = {
|
|
3248
3274
|
idUsuario: "PE" + v.user,
|
|
3249
3275
|
session_id: v.session,
|
|
3250
3276
|
pagina: "home"
|
|
@@ -3253,29 +3279,29 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3253
3279
|
headers: {
|
|
3254
3280
|
"Content-Type": "application/json"
|
|
3255
3281
|
},
|
|
3256
|
-
body: JSON.stringify(
|
|
3282
|
+
body: JSON.stringify(I)
|
|
3257
3283
|
});
|
|
3258
3284
|
if (N.ok) {
|
|
3259
3285
|
const _ = await N.json();
|
|
3260
3286
|
return _ == null ? void 0 : _.url;
|
|
3261
3287
|
}
|
|
3262
3288
|
return null;
|
|
3263
|
-
} catch (
|
|
3264
|
-
return console.error("[getMarketPlaceUrl]",
|
|
3289
|
+
} catch (I) {
|
|
3290
|
+
return console.error("[getMarketPlaceUrl]", I), null;
|
|
3265
3291
|
}
|
|
3266
3292
|
}, d = async () => {
|
|
3267
3293
|
const v = await u();
|
|
3268
3294
|
v ? window.location.href = v : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
3269
|
-
},
|
|
3295
|
+
}, b = Array.isArray(n) ? n[o] : n;
|
|
3270
3296
|
qt(() => {
|
|
3271
|
-
if (!
|
|
3272
|
-
const v =
|
|
3297
|
+
if (!l.current || !c.current || typeof ResizeObserver == "undefined") return;
|
|
3298
|
+
const v = l.current, I = c.current, M = () => {
|
|
3273
3299
|
v.style.setProperty(
|
|
3274
3300
|
"--orc-co-bottomH",
|
|
3275
|
-
`${
|
|
3301
|
+
`${I.offsetHeight + 16}px`
|
|
3276
3302
|
);
|
|
3277
3303
|
}, N = new ResizeObserver(M);
|
|
3278
|
-
return N.observe(
|
|
3304
|
+
return N.observe(I), M(), () => N.disconnect();
|
|
3279
3305
|
}, []);
|
|
3280
3306
|
const x = [
|
|
3281
3307
|
"orc-co-wrap",
|
|
@@ -3285,55 +3311,55 @@ const qn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
3285
3311
|
return /* @__PURE__ */ t(
|
|
3286
3312
|
"section",
|
|
3287
3313
|
{
|
|
3288
|
-
ref:
|
|
3314
|
+
ref: l,
|
|
3289
3315
|
className: x,
|
|
3290
|
-
"aria-label": i ||
|
|
3316
|
+
"aria-label": i || b.imgAlt || "Club Olimpo",
|
|
3291
3317
|
children: /* @__PURE__ */ t("div", { ref: c, children: /* @__PURE__ */ t(
|
|
3292
3318
|
Pa,
|
|
3293
3319
|
{
|
|
3294
|
-
text:
|
|
3320
|
+
text: b.text,
|
|
3295
3321
|
onClick: d,
|
|
3296
|
-
imgAlt:
|
|
3297
|
-
buttonLabel:
|
|
3298
|
-
imgSrcMobile:
|
|
3299
|
-
imgSrcDesktopBg:
|
|
3300
|
-
imgSrcDesktopLogo:
|
|
3322
|
+
imgAlt: b.imgAlt,
|
|
3323
|
+
buttonLabel: b.buttonLabel,
|
|
3324
|
+
imgSrcMobile: b.imgMobile,
|
|
3325
|
+
imgSrcDesktopBg: b.imgDesktopBg,
|
|
3326
|
+
imgSrcDesktopLogo: b.imgDesktopLogo
|
|
3301
3327
|
}
|
|
3302
3328
|
) })
|
|
3303
3329
|
}
|
|
3304
3330
|
);
|
|
3305
|
-
},
|
|
3306
|
-
controls:
|
|
3307
|
-
padding:
|
|
3308
|
-
},
|
|
3331
|
+
}, co = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", uo = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", mt = {
|
|
3332
|
+
controls: co,
|
|
3333
|
+
padding: uo
|
|
3334
|
+
}, mo = (e) => {
|
|
3309
3335
|
var a, n;
|
|
3310
3336
|
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) => {
|
|
3311
|
-
var i,
|
|
3312
|
-
return (
|
|
3337
|
+
var i, s;
|
|
3338
|
+
return (s = (i = o.outcomes) == null ? void 0 : i.map((l) => l.id)) != null ? s : [];
|
|
3313
3339
|
}) : [];
|
|
3314
3340
|
};
|
|
3315
|
-
function
|
|
3341
|
+
function po(e, a, n) {
|
|
3316
3342
|
return n ? n.map((o) => {
|
|
3317
3343
|
var m, u;
|
|
3318
|
-
const i = o.prePackCouponRows.flatMap((d) =>
|
|
3344
|
+
const i = o.prePackCouponRows.flatMap((d) => mo(d).map((b) => ({ eventId: d.eventId, outcomeId: b }))), s = new Set(i.map((d) => d.eventId)), l = new Set(i.map((d) => d.outcomeId)), c = new Map(i.map((d, b) => [d.outcomeId, b])), f = {};
|
|
3319
3345
|
for (const d of a) {
|
|
3320
|
-
if (!
|
|
3321
|
-
const
|
|
3322
|
-
|
|
3346
|
+
if (!s.has(d.eventId)) continue;
|
|
3347
|
+
const b = d.outcomes.filter((x) => l.has(x.id)).map((x) => ({ ...x, position: c.get(x.id) }));
|
|
3348
|
+
b.length && ((u = f[m = d.eventId]) != null || (f[m] = []), f[d.eventId].push({ ...d, outcomes: b }));
|
|
3323
3349
|
}
|
|
3324
|
-
const
|
|
3325
|
-
var
|
|
3326
|
-
return { ...d, betoffers: (
|
|
3350
|
+
const g = e.filter((d) => s.has(d.id)).map((d) => {
|
|
3351
|
+
var b;
|
|
3352
|
+
return { ...d, betoffers: (b = f[d.id]) != null ? b : [] };
|
|
3327
3353
|
});
|
|
3328
3354
|
return {
|
|
3329
3355
|
couponId: o.id,
|
|
3330
3356
|
status: o.status,
|
|
3331
|
-
combinadoTotal:
|
|
3332
|
-
events:
|
|
3357
|
+
combinadoTotal: fo(o.prePackCouponRows),
|
|
3358
|
+
events: g
|
|
3333
3359
|
};
|
|
3334
3360
|
}) : [];
|
|
3335
3361
|
}
|
|
3336
|
-
function
|
|
3362
|
+
function fo(e) {
|
|
3337
3363
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
3338
3364
|
let a = 1;
|
|
3339
3365
|
for (const n of e) {
|
|
@@ -3342,42 +3368,42 @@ function uo(e) {
|
|
|
3342
3368
|
}
|
|
3343
3369
|
return Math.floor(a * 100) / 100;
|
|
3344
3370
|
}
|
|
3345
|
-
const
|
|
3346
|
-
function
|
|
3371
|
+
const go = ve.memo(Ja);
|
|
3372
|
+
function ho({
|
|
3347
3373
|
items: e,
|
|
3348
3374
|
title: a = "Combinadas del Olimpo",
|
|
3349
3375
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
|
|
3350
3376
|
onViewMore: o,
|
|
3351
3377
|
className: i = ""
|
|
3352
3378
|
}) {
|
|
3353
|
-
const
|
|
3379
|
+
const s = se(), l = ce(), c = pe(), f = Z(null), [g, m] = ee({ isStart: !0, isEnd: !1 }), [u, d] = ee([]), b = "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 = () => {
|
|
3354
3380
|
var w;
|
|
3355
|
-
|
|
3381
|
+
s({
|
|
3356
3382
|
element: "evento_combinadas_prev",
|
|
3357
|
-
label: `${
|
|
3383
|
+
label: `${l} - OraculoSeccionEventoCombinadas - Click: Anterior`,
|
|
3358
3384
|
event_type: "click",
|
|
3359
3385
|
module_id: c,
|
|
3360
3386
|
metadata: {
|
|
3361
3387
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3362
3388
|
},
|
|
3363
3389
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3364
|
-
}), (w =
|
|
3390
|
+
}), (w = f.current) == null || w.prev();
|
|
3365
3391
|
}, v = () => {
|
|
3366
3392
|
var w;
|
|
3367
|
-
|
|
3393
|
+
s({
|
|
3368
3394
|
element: "evento_combinadas_next",
|
|
3369
|
-
label: `${
|
|
3395
|
+
label: `${l} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
|
|
3370
3396
|
event_type: "click",
|
|
3371
3397
|
module_id: c,
|
|
3372
3398
|
metadata: {
|
|
3373
3399
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3374
3400
|
},
|
|
3375
3401
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3376
|
-
}), (w =
|
|
3377
|
-
},
|
|
3378
|
-
|
|
3402
|
+
}), (w = f.current) == null || w.next();
|
|
3403
|
+
}, I = () => {
|
|
3404
|
+
s({
|
|
3379
3405
|
element: "evento_combinadas_ver_mas",
|
|
3380
|
-
label: `${
|
|
3406
|
+
label: `${l} - OraculoSeccionEventoCombinadas - Click: Ver más`,
|
|
3381
3407
|
event_type: "click",
|
|
3382
3408
|
module_id: c,
|
|
3383
3409
|
metadata: {
|
|
@@ -3389,13 +3415,13 @@ function po({
|
|
|
3389
3415
|
async function N() {
|
|
3390
3416
|
var w, S, L, R;
|
|
3391
3417
|
try {
|
|
3392
|
-
const y = await (await fetch(
|
|
3393
|
-
if (!
|
|
3418
|
+
const y = await (await fetch(b)).json(), O = (R = (L = (S = (w = y == null ? void 0 : y.group) == null ? void 0 : w.groups) == null ? void 0 : S.map((W) => W.id)) == null ? void 0 : L.filter(Boolean)) == null ? void 0 : R.join(",");
|
|
3419
|
+
if (!O) {
|
|
3394
3420
|
console.error("Could not extract group ID");
|
|
3395
3421
|
return;
|
|
3396
3422
|
}
|
|
3397
|
-
const F = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${
|
|
3398
|
-
d(
|
|
3423
|
+
const F = `https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${O}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`, P = await (await fetch(F)).json();
|
|
3424
|
+
d(po(P.events, P.betOffers, P.prePackCoupons));
|
|
3399
3425
|
} catch (A) {
|
|
3400
3426
|
console.error("loadDataEventSpecial error:", A);
|
|
3401
3427
|
}
|
|
@@ -3409,11 +3435,11 @@ function po({
|
|
|
3409
3435
|
// paddingRight: 16,
|
|
3410
3436
|
width: "100%",
|
|
3411
3437
|
boxSizing: "border-box"
|
|
3412
|
-
}, children: /* @__PURE__ */
|
|
3413
|
-
/* @__PURE__ */ t("div", { className: mt.padding, children: /* @__PURE__ */
|
|
3438
|
+
}, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3439
|
+
/* @__PURE__ */ t("div", { className: mt.padding, children: /* @__PURE__ */ h(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3414
3440
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
3415
|
-
/* @__PURE__ */
|
|
3416
|
-
/* @__PURE__ */
|
|
3441
|
+
/* @__PURE__ */ h("div", { className: mt.controls, children: [
|
|
3442
|
+
/* @__PURE__ */ h(me, { spacing: 1, columns: "auto auto", children: [
|
|
3417
3443
|
/* @__PURE__ */ t(
|
|
3418
3444
|
ae,
|
|
3419
3445
|
{
|
|
@@ -3422,7 +3448,7 @@ function po({
|
|
|
3422
3448
|
iconOnly: !0,
|
|
3423
3449
|
leftIcon: /* @__PURE__ */ t(Ve, {}),
|
|
3424
3450
|
onClick: x,
|
|
3425
|
-
disabled:
|
|
3451
|
+
disabled: g.isStart
|
|
3426
3452
|
}
|
|
3427
3453
|
),
|
|
3428
3454
|
/* @__PURE__ */ t(
|
|
@@ -3433,17 +3459,17 @@ function po({
|
|
|
3433
3459
|
iconOnly: !0,
|
|
3434
3460
|
rightIcon: /* @__PURE__ */ t(He, {}),
|
|
3435
3461
|
onClick: v,
|
|
3436
|
-
disabled:
|
|
3462
|
+
disabled: g.isEnd
|
|
3437
3463
|
}
|
|
3438
3464
|
)
|
|
3439
3465
|
] }),
|
|
3440
|
-
/* @__PURE__ */ t(ae, { variant: "secondary", onClick:
|
|
3466
|
+
/* @__PURE__ */ t(ae, { variant: "secondary", onClick: I, children: "Ver más" })
|
|
3441
3467
|
] })
|
|
3442
3468
|
] }) }),
|
|
3443
3469
|
/* @__PURE__ */ t(
|
|
3444
3470
|
xe,
|
|
3445
3471
|
{
|
|
3446
|
-
ref:
|
|
3472
|
+
ref: f,
|
|
3447
3473
|
items: M,
|
|
3448
3474
|
perPage: void 0,
|
|
3449
3475
|
gap: "16px",
|
|
@@ -3454,38 +3480,38 @@ function po({
|
|
|
3454
3480
|
breakpoints: {
|
|
3455
3481
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3456
3482
|
},
|
|
3457
|
-
renderItem: (w) => /* @__PURE__ */ t(
|
|
3483
|
+
renderItem: (w) => /* @__PURE__ */ t(go, { coupon: w }),
|
|
3458
3484
|
onMove: ({ isStart: w, isEnd: S }) => m({ isStart: w, isEnd: S })
|
|
3459
3485
|
}
|
|
3460
3486
|
)
|
|
3461
3487
|
] }) });
|
|
3462
3488
|
}
|
|
3463
|
-
function
|
|
3489
|
+
function bo({}) {
|
|
3464
3490
|
return /* @__PURE__ */ t(
|
|
3465
3491
|
"div",
|
|
3466
3492
|
{
|
|
3467
3493
|
className: Ie.cardWrapper,
|
|
3468
|
-
children: /* @__PURE__ */
|
|
3469
|
-
/* @__PURE__ */
|
|
3494
|
+
children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1, children: [
|
|
3495
|
+
/* @__PURE__ */ h(Q, { spacing: 1, direction: "row", children: [
|
|
3470
3496
|
/* @__PURE__ */ t(X, { variant: "text", width: "60%", height: 24 }),
|
|
3471
3497
|
/* @__PURE__ */ t(X, { variant: "text", width: "39%", height: 24 })
|
|
3472
3498
|
] }),
|
|
3473
|
-
/* @__PURE__ */
|
|
3499
|
+
/* @__PURE__ */ h(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3474
3500
|
/* @__PURE__ */ t(X, { variant: "circular", width: 32, height: 40 }),
|
|
3475
3501
|
/* @__PURE__ */ t(X, { variant: "text", width: 40, height: 40 }),
|
|
3476
3502
|
/* @__PURE__ */ t(X, { variant: "circular", width: 32, height: 40 })
|
|
3477
3503
|
] }),
|
|
3478
|
-
/* @__PURE__ */
|
|
3504
|
+
/* @__PURE__ */ h(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3479
3505
|
/* @__PURE__ */ t(X, { variant: "text", width: 32, height: 16 }),
|
|
3480
3506
|
/* @__PURE__ */ t(X, { variant: "text", width: 40, height: 16 }),
|
|
3481
3507
|
/* @__PURE__ */ t(X, { variant: "text", width: 32, height: 16 })
|
|
3482
3508
|
] }),
|
|
3483
|
-
/* @__PURE__ */
|
|
3509
|
+
/* @__PURE__ */ h(Q, { spacing: 2, direction: "row", children: [
|
|
3484
3510
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 16 }),
|
|
3485
3511
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 16 }),
|
|
3486
3512
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 16 })
|
|
3487
3513
|
] }),
|
|
3488
|
-
/* @__PURE__ */
|
|
3514
|
+
/* @__PURE__ */ h(Q, { spacing: 2, direction: "row", children: [
|
|
3489
3515
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 32 }),
|
|
3490
3516
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 32 }),
|
|
3491
3517
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 88, height: 32 })
|
|
@@ -3494,14 +3520,14 @@ function fo({}) {
|
|
|
3494
3520
|
}
|
|
3495
3521
|
);
|
|
3496
3522
|
}
|
|
3497
|
-
const
|
|
3498
|
-
fadeWrapper:
|
|
3523
|
+
const _o = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", vo = {
|
|
3524
|
+
fadeWrapper: _o
|
|
3499
3525
|
};
|
|
3500
3526
|
function We({ children: e }) {
|
|
3501
|
-
return /* @__PURE__ */ t("div", { className:
|
|
3527
|
+
return /* @__PURE__ */ t("div", { className: vo.fadeWrapper, children: e });
|
|
3502
3528
|
}
|
|
3503
|
-
const
|
|
3504
|
-
padding:
|
|
3529
|
+
const yo = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", xo = {
|
|
3530
|
+
padding: yo
|
|
3505
3531
|
};
|
|
3506
3532
|
function $t({
|
|
3507
3533
|
events: e,
|
|
@@ -3510,23 +3536,23 @@ function $t({
|
|
|
3510
3536
|
buffer: o = 2,
|
|
3511
3537
|
debounceMs: i = 250
|
|
3512
3538
|
}) {
|
|
3513
|
-
const [
|
|
3539
|
+
const [s, l] = ee({}), c = Z(/* @__PURE__ */ new Set()), f = Z(0), g = Z(null), m = Z(null);
|
|
3514
3540
|
return re(() => {
|
|
3515
3541
|
if (!(!e || e.length === 0))
|
|
3516
|
-
return
|
|
3542
|
+
return g.current && clearTimeout(g.current), g.current = setTimeout(() => {
|
|
3517
3543
|
var $, w;
|
|
3518
|
-
const u = ($ = a.start) != null ? $ : 0, d = (w = a.end) != null ? w : 7,
|
|
3519
|
-
let v =
|
|
3544
|
+
const u = ($ = a.start) != null ? $ : 0, d = (w = a.end) != null ? w : 7, b = Math.max(0, u - o), x = Math.min(e.length - 1, d + o);
|
|
3545
|
+
let v = b, I = x;
|
|
3520
3546
|
const M = m.current;
|
|
3521
|
-
M && (
|
|
3522
|
-
const N = e.slice(v,
|
|
3547
|
+
M && (b > M.end && (v = M.end + 1), x < M.start && (I = M.start - 1)), m.current = { start: b, end: x };
|
|
3548
|
+
const N = e.slice(v, I + 1).map((S) => S == null ? void 0 : S.id).filter((S) => !!S).filter((S) => !c.current.has(S)).filter((S) => !(S in s));
|
|
3523
3549
|
if (N.length === 0) return;
|
|
3524
3550
|
N.forEach((S) => c.current.add(S));
|
|
3525
|
-
const _ = ++
|
|
3551
|
+
const _ = ++f.current;
|
|
3526
3552
|
(async () => {
|
|
3527
3553
|
try {
|
|
3528
3554
|
const S = await n(N);
|
|
3529
|
-
if (_ !==
|
|
3555
|
+
if (_ !== f.current) {
|
|
3530
3556
|
N.forEach((R) => c.current.delete(R));
|
|
3531
3557
|
return;
|
|
3532
3558
|
}
|
|
@@ -3536,11 +3562,11 @@ function $t({
|
|
|
3536
3562
|
);
|
|
3537
3563
|
return;
|
|
3538
3564
|
}
|
|
3539
|
-
|
|
3565
|
+
l((R) => {
|
|
3540
3566
|
const A = { ...R };
|
|
3541
|
-
for (const [y,
|
|
3567
|
+
for (const [y, O] of Object.entries(S.events)) {
|
|
3542
3568
|
const F = Number(y);
|
|
3543
|
-
A[F] || (A[F] =
|
|
3569
|
+
A[F] || (A[F] = O);
|
|
3544
3570
|
}
|
|
3545
3571
|
return A;
|
|
3546
3572
|
});
|
|
@@ -3557,36 +3583,36 @@ function $t({
|
|
|
3557
3583
|
}
|
|
3558
3584
|
})();
|
|
3559
3585
|
}, i), () => {
|
|
3560
|
-
|
|
3586
|
+
g.current && clearTimeout(g.current);
|
|
3561
3587
|
};
|
|
3562
3588
|
}, [e, a, o, i, n]), {
|
|
3563
|
-
jerseys:
|
|
3589
|
+
jerseys: s,
|
|
3564
3590
|
isPending: c.current
|
|
3565
3591
|
};
|
|
3566
3592
|
}
|
|
3567
|
-
const
|
|
3593
|
+
const So = (e) => {
|
|
3568
3594
|
const a = ["esports", "cyber"];
|
|
3569
3595
|
return e.filter((n) => {
|
|
3570
|
-
var
|
|
3571
|
-
if (typeof ((
|
|
3572
|
-
const i = typeof ((
|
|
3596
|
+
var s, l;
|
|
3597
|
+
if (typeof ((s = n == null ? void 0 : n.event) == null ? void 0 : s.sport) != "string") return !1;
|
|
3598
|
+
const i = typeof ((l = n == null ? void 0 : n.event) == null ? void 0 : l.group) == "string" ? n.event.group.toLowerCase() : "";
|
|
3573
3599
|
return !a.some((c) => i.includes(c));
|
|
3574
3600
|
});
|
|
3575
|
-
},
|
|
3576
|
-
function
|
|
3601
|
+
}, wo = ve.memo(In);
|
|
3602
|
+
function Oo({
|
|
3577
3603
|
items: e,
|
|
3578
3604
|
title: a = "En vivo",
|
|
3579
3605
|
iconUrl: n = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
|
|
3580
3606
|
onViewMore: o,
|
|
3581
3607
|
className: i = ""
|
|
3582
3608
|
}) {
|
|
3583
|
-
const
|
|
3609
|
+
const s = [
|
|
3584
3610
|
{ 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" },
|
|
3585
3611
|
{ 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" },
|
|
3586
3612
|
{ 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" }
|
|
3587
|
-
],
|
|
3613
|
+
], l = Z(null), [c, f] = ee({ isStart: !0, isEnd: !1 }), [g, m] = ee(null), [u, d] = ee({ start: null, end: null }), [b, x] = ee(null), v = Z(!1), I = se(), M = ce(), N = pe(), _ = Z(/* @__PURE__ */ new Map()), $ = () => {
|
|
3588
3614
|
var B;
|
|
3589
|
-
|
|
3615
|
+
I({
|
|
3590
3616
|
element: "evento_en_vivo_prev",
|
|
3591
3617
|
label: `${M} - OraculoSeccionEventoEnVivo - Anterior`,
|
|
3592
3618
|
target: "prev",
|
|
@@ -3596,10 +3622,10 @@ function xo({
|
|
|
3596
3622
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3597
3623
|
},
|
|
3598
3624
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3599
|
-
}), (B =
|
|
3625
|
+
}), (B = l.current) == null || B.prev();
|
|
3600
3626
|
}, w = () => {
|
|
3601
3627
|
var B;
|
|
3602
|
-
|
|
3628
|
+
I({
|
|
3603
3629
|
element: "evento_en_vivo_next",
|
|
3604
3630
|
label: `${M} - OraculoSeccionEventoEnVivo - Siguiente`,
|
|
3605
3631
|
target: "next",
|
|
@@ -3609,9 +3635,9 @@ function xo({
|
|
|
3609
3635
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3610
3636
|
},
|
|
3611
3637
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3612
|
-
}), (B =
|
|
3638
|
+
}), (B = l.current) == null || B.next();
|
|
3613
3639
|
}, S = () => {
|
|
3614
|
-
|
|
3640
|
+
I({
|
|
3615
3641
|
element: "evento_en_vivo_view_more",
|
|
3616
3642
|
label: `${M} - OraculoSeccionEventoEnVivo - Ver más`,
|
|
3617
3643
|
target: "ver_mas",
|
|
@@ -3635,7 +3661,7 @@ function xo({
|
|
|
3635
3661
|
}
|
|
3636
3662
|
}
|
|
3637
3663
|
const P = await Promise.all(
|
|
3638
|
-
|
|
3664
|
+
s.map(async (G) => {
|
|
3639
3665
|
try {
|
|
3640
3666
|
const D = await fetch(G.url);
|
|
3641
3667
|
if (!D.ok) throw new Error(`Failed to fetch ${G.sport}`);
|
|
@@ -3651,7 +3677,7 @@ function xo({
|
|
|
3651
3677
|
);
|
|
3652
3678
|
let W = [];
|
|
3653
3679
|
P.forEach(({ sport: G, events: D }) => {
|
|
3654
|
-
const Y =
|
|
3680
|
+
const Y = So(D).map((r) => ({ ...r, _sportGroup: G }));
|
|
3655
3681
|
W.push(...Y);
|
|
3656
3682
|
});
|
|
3657
3683
|
const V = {
|
|
@@ -3677,7 +3703,7 @@ function xo({
|
|
|
3677
3703
|
return () => clearInterval(B);
|
|
3678
3704
|
}, [L]);
|
|
3679
3705
|
const { jerseys: R } = $t({
|
|
3680
|
-
events: (
|
|
3706
|
+
events: (g == null ? void 0 : g.map((B) => B.event)) || [],
|
|
3681
3707
|
// extract actual event objects
|
|
3682
3708
|
visibleRange: u,
|
|
3683
3709
|
fetchJerseys: Ot,
|
|
@@ -3685,17 +3711,17 @@ function xo({
|
|
|
3685
3711
|
// same as your previous BUFFER
|
|
3686
3712
|
debounceMs: 300
|
|
3687
3713
|
// same as your previous debouncedVisibleRange
|
|
3688
|
-
}), A = i || void 0, y =
|
|
3689
|
-
return !y &&
|
|
3714
|
+
}), A = i || void 0, y = g === null, O = de(() => y ? Array(4).fill({}) : (g == null ? void 0 : g.slice(0, 50)) || [], [y, g]), F = Ne("(max-width:950px)");
|
|
3715
|
+
return !y && g.length === 0 ? null : /* @__PURE__ */ t("section", { className: A, style: {
|
|
3690
3716
|
// paddingLeft: 16,
|
|
3691
3717
|
// paddingRight: 16,
|
|
3692
3718
|
width: "100%",
|
|
3693
3719
|
boxSizing: "border-box"
|
|
3694
|
-
}, children: /* @__PURE__ */
|
|
3695
|
-
/* @__PURE__ */ t("div", { className:
|
|
3720
|
+
}, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3721
|
+
/* @__PURE__ */ t("div", { className: xo.padding, children: /* @__PURE__ */ h(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3696
3722
|
/* @__PURE__ */ t(ye, { title: a, iconUrl: n, size: "md" }),
|
|
3697
|
-
/* @__PURE__ */
|
|
3698
|
-
/* @__PURE__ */
|
|
3723
|
+
/* @__PURE__ */ h("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3724
|
+
/* @__PURE__ */ h(me, { spacing: 1, columns: "auto auto", children: [
|
|
3699
3725
|
/* @__PURE__ */ t(
|
|
3700
3726
|
ae,
|
|
3701
3727
|
{
|
|
@@ -3725,8 +3751,8 @@ function xo({
|
|
|
3725
3751
|
/* @__PURE__ */ t(
|
|
3726
3752
|
xe,
|
|
3727
3753
|
{
|
|
3728
|
-
ref:
|
|
3729
|
-
items:
|
|
3754
|
+
ref: l,
|
|
3755
|
+
items: O,
|
|
3730
3756
|
perPage: void 0,
|
|
3731
3757
|
showRightGradient: !F,
|
|
3732
3758
|
enableHorizontalWheel: !0,
|
|
@@ -3740,8 +3766,8 @@ function xo({
|
|
|
3740
3766
|
renderItem: (B) => {
|
|
3741
3767
|
var V;
|
|
3742
3768
|
const P = ((V = B.event) == null ? void 0 : V.id) || B.eventId, W = P in R ? R[P] : void 0;
|
|
3743
|
-
return y ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(
|
|
3744
|
-
|
|
3769
|
+
return y ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(bo, {}) }) : /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(
|
|
3770
|
+
wo,
|
|
3745
3771
|
{
|
|
3746
3772
|
...B,
|
|
3747
3773
|
jersey: W
|
|
@@ -3749,7 +3775,7 @@ function xo({
|
|
|
3749
3775
|
) });
|
|
3750
3776
|
},
|
|
3751
3777
|
onMove: ({ isStart: B, isEnd: P, visibleStart: W, visibleEnd: V }) => {
|
|
3752
|
-
|
|
3778
|
+
f(
|
|
3753
3779
|
(H) => H.isStart === B && H.isEnd === P ? H : { isStart: B, isEnd: P }
|
|
3754
3780
|
), d({ start: W, end: V });
|
|
3755
3781
|
}
|
|
@@ -3757,26 +3783,26 @@ function xo({
|
|
|
3757
3783
|
)
|
|
3758
3784
|
] }) });
|
|
3759
3785
|
}
|
|
3760
|
-
function
|
|
3761
|
-
return /* @__PURE__ */
|
|
3786
|
+
function Io() {
|
|
3787
|
+
return /* @__PURE__ */ h("div", { className: Te.cardContainer, children: [
|
|
3762
3788
|
/* @__PURE__ */ t(xt, { title: "" }),
|
|
3763
|
-
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */
|
|
3764
|
-
/* @__PURE__ */
|
|
3789
|
+
/* @__PURE__ */ t("div", { className: Te.cardBackground, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3790
|
+
/* @__PURE__ */ h(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3765
3791
|
/* @__PURE__ */ t(X, { variant: "circular", width: 48, height: 48 }),
|
|
3766
3792
|
/* @__PURE__ */ t(X, { variant: "circular", width: 48, height: 48 })
|
|
3767
3793
|
] }),
|
|
3768
|
-
/* @__PURE__ */
|
|
3769
|
-
/* @__PURE__ */
|
|
3794
|
+
/* @__PURE__ */ h(Q, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
3795
|
+
/* @__PURE__ */ h(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: [
|
|
3770
3796
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 12 }),
|
|
3771
3797
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 12 })
|
|
3772
3798
|
] }),
|
|
3773
3799
|
/* @__PURE__ */ t(Q, { spacing: 8, direction: "row", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ t(X, { variant: "text", width: 160, height: 12 }) }),
|
|
3774
|
-
/* @__PURE__ */
|
|
3800
|
+
/* @__PURE__ */ h(Q, { direction: "row", spacing: 1, children: [
|
|
3775
3801
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 16 }),
|
|
3776
3802
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 16 }),
|
|
3777
3803
|
/* @__PURE__ */ t(X, { variant: "text", width: 80, height: 16 })
|
|
3778
3804
|
] }),
|
|
3779
|
-
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */
|
|
3805
|
+
/* @__PURE__ */ t("div", { className: Te.jugadas, children: /* @__PURE__ */ h(Q, { direction: "row", spacing: 1, children: [
|
|
3780
3806
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 80, height: 32 }),
|
|
3781
3807
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 80, height: 32 }),
|
|
3782
3808
|
/* @__PURE__ */ t(X, { variant: "rounded", width: 80, height: 32 })
|
|
@@ -3785,30 +3811,30 @@ function So() {
|
|
|
3785
3811
|
] }) })
|
|
3786
3812
|
] });
|
|
3787
3813
|
}
|
|
3788
|
-
const
|
|
3789
|
-
wrapper:
|
|
3790
|
-
container:
|
|
3791
|
-
buttonWrapper:
|
|
3792
|
-
padding:
|
|
3793
|
-
},
|
|
3794
|
-
async function
|
|
3814
|
+
const To = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Eo = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Co = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", ko = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Be = {
|
|
3815
|
+
wrapper: To,
|
|
3816
|
+
container: Eo,
|
|
3817
|
+
buttonWrapper: Co,
|
|
3818
|
+
padding: ko
|
|
3819
|
+
}, No = ve.memo(Mn);
|
|
3820
|
+
async function $o(e, a = 2, n) {
|
|
3795
3821
|
const o = [];
|
|
3796
3822
|
for (let i = 0; i < e.length; i += a) {
|
|
3797
3823
|
if (n.aborted)
|
|
3798
3824
|
throw new DOMException("Aborted", "AbortError");
|
|
3799
|
-
const
|
|
3800
|
-
|
|
3825
|
+
const s = e.slice(i, i + a), l = await Promise.all(
|
|
3826
|
+
s.map((c) => fetch(c, { signal: n }).then((f) => f.json()))
|
|
3801
3827
|
);
|
|
3802
|
-
o.push(...
|
|
3828
|
+
o.push(...l);
|
|
3803
3829
|
}
|
|
3804
3830
|
return o;
|
|
3805
3831
|
}
|
|
3806
|
-
function
|
|
3832
|
+
function Ao(e) {
|
|
3807
3833
|
return [...e].sort(
|
|
3808
3834
|
(a, n) => new Date(a.start).getTime() - new Date(n.start).getTime()
|
|
3809
3835
|
);
|
|
3810
3836
|
}
|
|
3811
|
-
function
|
|
3837
|
+
function Mo(e) {
|
|
3812
3838
|
const a = /* @__PURE__ */ new Date(), n = new Date(a.getTime() + 480 * 60 * 60 * 1e3);
|
|
3813
3839
|
return e.filter((o) => {
|
|
3814
3840
|
if (!o.start) return !1;
|
|
@@ -3816,31 +3842,31 @@ function No(e) {
|
|
|
3816
3842
|
return i >= a && i <= n;
|
|
3817
3843
|
});
|
|
3818
3844
|
}
|
|
3819
|
-
function
|
|
3845
|
+
function Bo(e, a) {
|
|
3820
3846
|
const o = a.filter((i) => {
|
|
3821
|
-
var
|
|
3822
|
-
return ((
|
|
3823
|
-
}).reduce((i,
|
|
3847
|
+
var s;
|
|
3848
|
+
return ((s = i.betOfferType) == null ? void 0 : s.id) === 2;
|
|
3849
|
+
}).reduce((i, s) => (i[s.eventId] || (i[s.eventId] = []), i[s.eventId].push(s), i), {});
|
|
3824
3850
|
return e.filter((i) => o[i.id]).map((i) => ({
|
|
3825
3851
|
...i,
|
|
3826
3852
|
outcome: o[i.id]
|
|
3827
3853
|
}));
|
|
3828
3854
|
}
|
|
3829
|
-
function
|
|
3855
|
+
function Lo({
|
|
3830
3856
|
items: e,
|
|
3831
3857
|
title: a = "En vivo",
|
|
3832
3858
|
iconUrl: n,
|
|
3833
3859
|
onViewMore: o,
|
|
3834
3860
|
className: i = ""
|
|
3835
3861
|
}) {
|
|
3836
|
-
const
|
|
3862
|
+
const s = se(), l = ce(), c = pe(), f = [
|
|
3837
3863
|
{ englishName: "Football", termPath: "football", limit: 5 },
|
|
3838
3864
|
{ englishName: "Basketball", termPath: "basketball", limit: 2 },
|
|
3839
3865
|
{ englishName: "Tennis", termPath: "tennis", limit: 2 }
|
|
3840
|
-
],
|
|
3841
|
-
|
|
3866
|
+
], g = "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), [u, d] = ee({ isStart: !0, isEnd: !1 }), [b, x] = ee(null), [v, I] = ee({ start: null, end: null }), M = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", N = () => {
|
|
3867
|
+
s({
|
|
3842
3868
|
element: "evento_semana_view_more",
|
|
3843
|
-
label: `${
|
|
3869
|
+
label: `${l} - OraculoSeccionEventoSemana - Ver más`,
|
|
3844
3870
|
target: "ver_mas",
|
|
3845
3871
|
event_type: "click",
|
|
3846
3872
|
module_id: c,
|
|
@@ -3852,7 +3878,7 @@ function Ao({
|
|
|
3852
3878
|
};
|
|
3853
3879
|
async function _(y) {
|
|
3854
3880
|
var B, P, W;
|
|
3855
|
-
let
|
|
3881
|
+
let O = [], F = [];
|
|
3856
3882
|
try {
|
|
3857
3883
|
const V = await fetch(
|
|
3858
3884
|
"https://api.mktolimpo.com/api/kambi/eventos/orden",
|
|
@@ -3860,20 +3886,20 @@ function Ao({
|
|
|
3860
3886
|
);
|
|
3861
3887
|
if (V.ok) {
|
|
3862
3888
|
const H = await V.json();
|
|
3863
|
-
|
|
3889
|
+
O = ((B = H == null ? void 0 : H.data) == null ? void 0 : B.group_ids) || [], F = ((P = H == null ? void 0 : H.data) == null ? void 0 : P.event_ids) || [];
|
|
3864
3890
|
}
|
|
3865
3891
|
} catch (V) {
|
|
3866
3892
|
V.name !== "AbortError" && console.warn("Order API not available, using default group order");
|
|
3867
3893
|
return;
|
|
3868
3894
|
}
|
|
3869
3895
|
try {
|
|
3870
|
-
const H = await (await fetch(
|
|
3896
|
+
const H = await (await fetch(g, { signal: y })).json(), G = (W = H == null ? void 0 : H.group) == null ? void 0 : W.groups;
|
|
3871
3897
|
if (!Array.isArray(G)) {
|
|
3872
3898
|
console.error("Sport groups structure invalid");
|
|
3873
3899
|
return;
|
|
3874
3900
|
}
|
|
3875
|
-
const D =
|
|
3876
|
-
for (const Y of
|
|
3901
|
+
const D = O.length > 0 ? new Map(O.map((Y, r) => [String(Y), r])) : null, K = [];
|
|
3902
|
+
for (const Y of f) {
|
|
3877
3903
|
const r = G.find(
|
|
3878
3904
|
(C) => {
|
|
3879
3905
|
var q;
|
|
@@ -3904,20 +3930,20 @@ function Ao({
|
|
|
3904
3930
|
console.error("Error in fetching week events:", V);
|
|
3905
3931
|
}
|
|
3906
3932
|
}
|
|
3907
|
-
async function $(y,
|
|
3933
|
+
async function $(y, O, F) {
|
|
3908
3934
|
try {
|
|
3909
|
-
const B = await
|
|
3935
|
+
const B = await $o(y, 2, F);
|
|
3910
3936
|
let P = [], W = [];
|
|
3911
3937
|
B.forEach((D) => {
|
|
3912
3938
|
D.events && (P.push(...D.events.map((K) => K.event)), W.push(
|
|
3913
3939
|
...D.events.flatMap((K) => K.betOffers || [])
|
|
3914
3940
|
));
|
|
3915
3941
|
});
|
|
3916
|
-
const V =
|
|
3942
|
+
const V = Bo(P, W), H = Ao(Mo(V));
|
|
3917
3943
|
let G = H;
|
|
3918
|
-
if (
|
|
3944
|
+
if (O.length > 0) {
|
|
3919
3945
|
const D = new Map(
|
|
3920
|
-
|
|
3946
|
+
O.map((K, Y) => [
|
|
3921
3947
|
String(K),
|
|
3922
3948
|
Y
|
|
3923
3949
|
])
|
|
@@ -3945,14 +3971,14 @@ function Ao({
|
|
|
3945
3971
|
width: "100%",
|
|
3946
3972
|
boxSizing: "border-box"
|
|
3947
3973
|
}, { jerseys: L } = $t({
|
|
3948
|
-
events:
|
|
3974
|
+
events: b,
|
|
3949
3975
|
visibleRange: v,
|
|
3950
3976
|
fetchJerseys: Ot,
|
|
3951
3977
|
buffer: 2,
|
|
3952
3978
|
debounceMs: 250
|
|
3953
|
-
}), R =
|
|
3954
|
-
return !R &&
|
|
3955
|
-
/* @__PURE__ */ t("div", { className: Be.container, children: /* @__PURE__ */
|
|
3979
|
+
}), R = b === null, A = Ne("(max-width:950px)");
|
|
3980
|
+
return !R && b.length === 0 ? null : /* @__PURE__ */ t("section", { className: w, style: S, children: /* @__PURE__ */ h("div", { className: `${Be.wrapper} ${Be.padding}`, children: [
|
|
3981
|
+
/* @__PURE__ */ t("div", { className: Be.container, children: /* @__PURE__ */ h(Q, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3956
3982
|
/* @__PURE__ */ t(ye, { title: "Eventos de la semana" }),
|
|
3957
3983
|
/* @__PURE__ */ t("div", { className: Be.buttonWrapper, children: /* @__PURE__ */ t(
|
|
3958
3984
|
ae,
|
|
@@ -3971,7 +3997,7 @@ function Ao({
|
|
|
3971
3997
|
xe,
|
|
3972
3998
|
{
|
|
3973
3999
|
ref: m,
|
|
3974
|
-
items: R ? Array(6).fill({}) :
|
|
4000
|
+
items: R ? Array(6).fill({}) : b.slice(0, 20),
|
|
3975
4001
|
perPage: 3.5,
|
|
3976
4002
|
gap: "16px",
|
|
3977
4003
|
enableHorizontalWheel: !0,
|
|
@@ -3986,16 +4012,16 @@ function Ao({
|
|
|
3986
4012
|
}
|
|
3987
4013
|
},
|
|
3988
4014
|
renderItem: (y) => {
|
|
3989
|
-
const
|
|
3990
|
-
return R ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(
|
|
4015
|
+
const O = y.id, F = O in L ? L[O] : void 0;
|
|
4016
|
+
return R ? /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(Io, {}) }) : /* @__PURE__ */ t(We, { children: /* @__PURE__ */ t(No, { event: y, jersey: F }) });
|
|
3991
4017
|
},
|
|
3992
|
-
onMove: ({ isStart: y, isEnd:
|
|
3993
|
-
d({ isStart: y, isEnd:
|
|
4018
|
+
onMove: ({ isStart: y, isEnd: O, visibleStart: F, visibleEnd: B, source: P }) => {
|
|
4019
|
+
d({ isStart: y, isEnd: O }), I({
|
|
3994
4020
|
start: F,
|
|
3995
4021
|
end: B
|
|
3996
|
-
}), P === "user" &&
|
|
4022
|
+
}), P === "user" && s({
|
|
3997
4023
|
element: "evento_semana_carousel_slide",
|
|
3998
|
-
label: `${
|
|
4024
|
+
label: `${l} - OraculoSeccionEventoSemana - Slide Carousel`,
|
|
3999
4025
|
target: "carousel",
|
|
4000
4026
|
event_type: "slide",
|
|
4001
4027
|
module_id: c,
|
|
@@ -4004,7 +4030,7 @@ function Ao({
|
|
|
4004
4030
|
visibleStart: F,
|
|
4005
4031
|
visibleEnd: B,
|
|
4006
4032
|
isStart: y,
|
|
4007
|
-
isEnd:
|
|
4033
|
+
isEnd: O
|
|
4008
4034
|
},
|
|
4009
4035
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
4010
4036
|
});
|
|
@@ -4013,44 +4039,44 @@ function Ao({
|
|
|
4013
4039
|
) })
|
|
4014
4040
|
] }) });
|
|
4015
4041
|
}
|
|
4016
|
-
const
|
|
4042
|
+
const Ro = -300, Po = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), pt = (e) => {
|
|
4017
4043
|
if (!e) return null;
|
|
4018
|
-
if (
|
|
4019
|
-
const
|
|
4020
|
-
return Number.isNaN(
|
|
4044
|
+
if (Po(e)) {
|
|
4045
|
+
const f = new Date(e).getTime();
|
|
4046
|
+
return Number.isNaN(f) ? null : f;
|
|
4021
4047
|
}
|
|
4022
4048
|
const a = e.match(
|
|
4023
4049
|
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
|
|
4024
4050
|
);
|
|
4025
4051
|
if (!a) return null;
|
|
4026
|
-
const [, n, o, i,
|
|
4052
|
+
const [, n, o, i, s, l, c = "00"] = a;
|
|
4027
4053
|
return Date.UTC(
|
|
4028
4054
|
Number(n),
|
|
4029
4055
|
Number(o) - 1,
|
|
4030
4056
|
Number(i),
|
|
4031
|
-
Number(
|
|
4032
|
-
Number(
|
|
4057
|
+
Number(s) - Ro / 60,
|
|
4058
|
+
Number(l),
|
|
4033
4059
|
Number(c)
|
|
4034
4060
|
);
|
|
4035
|
-
},
|
|
4036
|
-
var c,
|
|
4037
|
-
const n = (
|
|
4038
|
-
return !(
|
|
4061
|
+
}, Fo = (e, a) => {
|
|
4062
|
+
var c, f, g, m, u, d, b, x, v;
|
|
4063
|
+
const n = (g = (f = (c = e == null ? void 0 : e.fields) != null ? c : e == null ? void 0 : e.parameters) != null ? f : e == null ? void 0 : e.extraFields) != null ? g : [], o = (d = (u = e == null ? void 0 : e.startAt) != null ? u : (m = n.find((I) => (I == null ? void 0 : I.name) === "startAt")) == null ? void 0 : m.value) != null ? d : null, i = (v = (x = e == null ? void 0 : e.endAt) != null ? x : (b = n.find((I) => (I == null ? void 0 : I.name) === "endAt")) == null ? void 0 : b.value) != null ? v : null, s = pt(o), l = pt(i);
|
|
4064
|
+
return !(s != null && a < s || l != null && a >= l);
|
|
4039
4065
|
};
|
|
4040
|
-
function
|
|
4066
|
+
function qo({
|
|
4041
4067
|
backgrounds: e,
|
|
4042
4068
|
items: a,
|
|
4043
4069
|
hideItems: n,
|
|
4044
4070
|
user: o = null
|
|
4045
4071
|
}) {
|
|
4046
4072
|
var Y;
|
|
4047
|
-
const [i,
|
|
4073
|
+
const [i, s] = ee(0), l = se(), c = ce(), f = pe(), g = Z(null), m = Z(!1), u = Z(!1), [d, b] = ee(() => Date.now()), x = ue("setDepositActionGlobal"), v = ue("setAbrirLiveActionGlobal"), I = ue("openLoginWithRedirect"), M = (r) => [...r != null ? r : []].map((p, T) => ({ item: p, index: T })).sort((p, T) => {
|
|
4048
4074
|
var C, q;
|
|
4049
4075
|
const k = (C = p.item.order) != null ? C : Number.MAX_SAFE_INTEGER, E = (q = T.item.order) != null ? q : Number.MAX_SAFE_INTEGER;
|
|
4050
4076
|
return k - E || p.index - T.index;
|
|
4051
4077
|
}).map(({ item: p }) => p), N = de(() => M(a), [a]), _ = de(() => {
|
|
4052
4078
|
const r = (e != null ? e : []).filter(
|
|
4053
|
-
(p) =>
|
|
4079
|
+
(p) => Fo(p, d)
|
|
4054
4080
|
);
|
|
4055
4081
|
return M(r);
|
|
4056
4082
|
}, [e, d]), $ = _.length || 1, w = !_ || _.length === 0, S = !w && _.length > 1, L = !n && N.length > 0;
|
|
@@ -4058,7 +4084,7 @@ function Ro({
|
|
|
4058
4084
|
const R = "#B5B5B5";
|
|
4059
4085
|
re(() => {
|
|
4060
4086
|
const r = window.setInterval(() => {
|
|
4061
|
-
|
|
4087
|
+
b(Date.now());
|
|
4062
4088
|
}, 3e4);
|
|
4063
4089
|
return () => window.clearInterval(r);
|
|
4064
4090
|
}, []);
|
|
@@ -4102,7 +4128,7 @@ function Ro({
|
|
|
4102
4128
|
}, 500);
|
|
4103
4129
|
return () => clearTimeout(r);
|
|
4104
4130
|
}, []);
|
|
4105
|
-
const
|
|
4131
|
+
const O = (r, p, T) => {
|
|
4106
4132
|
var q, J;
|
|
4107
4133
|
const k = !!p.idFunction, E = !!p.href;
|
|
4108
4134
|
if (k)
|
|
@@ -4121,12 +4147,12 @@ function Ro({
|
|
|
4121
4147
|
return;
|
|
4122
4148
|
}
|
|
4123
4149
|
const C = ((J = (q = p.href) == null ? void 0 : q.split("/").pop()) == null ? void 0 : J.split(".")[0]) || p.label || p.id || `banner_${T + 1}`;
|
|
4124
|
-
|
|
4150
|
+
l({
|
|
4125
4151
|
element: "banner_carousel",
|
|
4126
4152
|
label: `${c} - OraculoSeccionBanners - Banner click: ${C}`,
|
|
4127
4153
|
target: p.href || "no_url",
|
|
4128
4154
|
event_type: "click",
|
|
4129
|
-
module_id:
|
|
4155
|
+
module_id: f,
|
|
4130
4156
|
metadata: {
|
|
4131
4157
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
4132
4158
|
banner_position: T + 1,
|
|
@@ -4140,12 +4166,12 @@ function Ro({
|
|
|
4140
4166
|
});
|
|
4141
4167
|
}, F = (r) => {
|
|
4142
4168
|
var p;
|
|
4143
|
-
if (
|
|
4169
|
+
if (l({
|
|
4144
4170
|
element: "banner_menu_item",
|
|
4145
4171
|
label: `${c} - OraculoSeccionBanners - Menu item click: ${r.label || r.id}`,
|
|
4146
4172
|
target: r.href || "action",
|
|
4147
4173
|
event_type: "click",
|
|
4148
|
-
module_id:
|
|
4174
|
+
module_id: f,
|
|
4149
4175
|
metadata: {
|
|
4150
4176
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
4151
4177
|
item_id: r.id
|
|
@@ -4154,7 +4180,7 @@ function Ro({
|
|
|
4154
4180
|
item_label: r.label || "no_label"
|
|
4155
4181
|
}
|
|
4156
4182
|
}), !o && r.label == "MISIONES") {
|
|
4157
|
-
|
|
4183
|
+
I == null || I((p = r.href) != null ? p : "");
|
|
4158
4184
|
return;
|
|
4159
4185
|
}
|
|
4160
4186
|
if (r.onClick) {
|
|
@@ -4167,27 +4193,27 @@ function Ro({
|
|
|
4167
4193
|
}, H = () => {
|
|
4168
4194
|
V(), W && (P.current = window.setTimeout(() => {
|
|
4169
4195
|
var r;
|
|
4170
|
-
u.current = !0, (r =
|
|
4196
|
+
u.current = !0, (r = g.current) == null || r.next();
|
|
4171
4197
|
}, B));
|
|
4172
4198
|
};
|
|
4173
4199
|
re(() => (H(), () => V()), [W, B]);
|
|
4174
4200
|
const G = (r) => {
|
|
4175
4201
|
var p;
|
|
4176
|
-
r.preventDefault(), r.stopPropagation(), V(), (p =
|
|
4202
|
+
r.preventDefault(), r.stopPropagation(), V(), (p = g.current) == null || p.prev();
|
|
4177
4203
|
}, D = (r) => {
|
|
4178
4204
|
var p;
|
|
4179
|
-
r.preventDefault(), r.stopPropagation(), V(), (p =
|
|
4205
|
+
r.preventDefault(), r.stopPropagation(), V(), (p = g.current) == null || p.next();
|
|
4180
4206
|
}, K = (r) => {
|
|
4181
4207
|
var k, E, C, q;
|
|
4182
4208
|
const p = (r % $ + $) % $;
|
|
4183
4209
|
if (!m.current) return;
|
|
4184
4210
|
const T = (k = _ == null ? void 0 : _[p]) != null && k.href ? ((C = (E = _[p].href) == null ? void 0 : E.split("/").pop()) == null ? void 0 : C.split(".")[0]) || `banner_${p + 1}` : `banner_${p + 1}`;
|
|
4185
|
-
|
|
4211
|
+
l({
|
|
4186
4212
|
element: "banner_carousel",
|
|
4187
4213
|
label: `${c} - OraculoSeccionBanners - Banner view: Slide ${p + 1} - ${T}`,
|
|
4188
4214
|
target: ((q = _ == null ? void 0 : _[p]) == null ? void 0 : q.href) || "no_url",
|
|
4189
4215
|
event_type: "view",
|
|
4190
|
-
module_id:
|
|
4216
|
+
module_id: f,
|
|
4191
4217
|
metadata: {
|
|
4192
4218
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
4193
4219
|
slide_index: p + 1,
|
|
@@ -4197,7 +4223,7 @@ function Ro({
|
|
|
4197
4223
|
tags: { banner_position: String(p + 1) }
|
|
4198
4224
|
});
|
|
4199
4225
|
};
|
|
4200
|
-
return /* @__PURE__ */
|
|
4226
|
+
return /* @__PURE__ */ h(
|
|
4201
4227
|
le,
|
|
4202
4228
|
{
|
|
4203
4229
|
component: "section",
|
|
@@ -4207,7 +4233,7 @@ function Ro({
|
|
|
4207
4233
|
pb: L ? { xs: "40px", sm: 0 } : 0
|
|
4208
4234
|
},
|
|
4209
4235
|
children: [
|
|
4210
|
-
/* @__PURE__ */
|
|
4236
|
+
/* @__PURE__ */ h(
|
|
4211
4237
|
le,
|
|
4212
4238
|
{
|
|
4213
4239
|
sx: {
|
|
@@ -4234,7 +4260,7 @@ function Ro({
|
|
|
4234
4260
|
children: /* @__PURE__ */ t(
|
|
4235
4261
|
xe,
|
|
4236
4262
|
{
|
|
4237
|
-
ref:
|
|
4263
|
+
ref: g,
|
|
4238
4264
|
items: _,
|
|
4239
4265
|
perPage: 1,
|
|
4240
4266
|
gap: "0px",
|
|
@@ -4242,21 +4268,21 @@ function Ro({
|
|
|
4242
4268
|
options: y,
|
|
4243
4269
|
onMove: ({ index: r, source: p }) => {
|
|
4244
4270
|
const T = (r % $ + $) % $;
|
|
4245
|
-
|
|
4271
|
+
s(T);
|
|
4246
4272
|
const k = u.current;
|
|
4247
4273
|
u.current = !1, p === "user" && (H(), k || K(r));
|
|
4248
4274
|
},
|
|
4249
4275
|
renderItem: (r, p) => {
|
|
4250
4276
|
var q, J, ne;
|
|
4251
4277
|
const T = !!r.idFunction, k = !!r.href, E = k && !T, C = T || k;
|
|
4252
|
-
return /* @__PURE__ */
|
|
4278
|
+
return /* @__PURE__ */ h(
|
|
4253
4279
|
le,
|
|
4254
4280
|
{
|
|
4255
4281
|
component: E ? "a" : "div",
|
|
4256
4282
|
href: E ? r.href : void 0,
|
|
4257
4283
|
target: E ? (q = r.target) != null ? q : "_self" : void 0,
|
|
4258
4284
|
rel: E && r.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
4259
|
-
onClick: (oe) =>
|
|
4285
|
+
onClick: (oe) => O(oe, r, p),
|
|
4260
4286
|
sx: {
|
|
4261
4287
|
position: "relative",
|
|
4262
4288
|
width: "100%",
|
|
@@ -4266,7 +4292,7 @@ function Ro({
|
|
|
4266
4292
|
cursor: C ? "pointer" : "default"
|
|
4267
4293
|
},
|
|
4268
4294
|
children: [
|
|
4269
|
-
/* @__PURE__ */
|
|
4295
|
+
/* @__PURE__ */ h(le, { component: "picture", sx: { position: "absolute", inset: 0, lineHeight: 0 }, children: [
|
|
4270
4296
|
/* @__PURE__ */ t("source", { srcSet: r.desktopSrc, media: "(min-width:950px)" }),
|
|
4271
4297
|
/* @__PURE__ */ t("source", { srcSet: r.mobileSrc, media: "(max-width:949px)" }),
|
|
4272
4298
|
/* @__PURE__ */ t(
|
|
@@ -4313,7 +4339,7 @@ function Ro({
|
|
|
4313
4339
|
)
|
|
4314
4340
|
}
|
|
4315
4341
|
),
|
|
4316
|
-
S && /* @__PURE__ */
|
|
4342
|
+
S && /* @__PURE__ */ h(te, { children: [
|
|
4317
4343
|
/* @__PURE__ */ t(
|
|
4318
4344
|
Qe,
|
|
4319
4345
|
{
|
|
@@ -4387,7 +4413,7 @@ function Ro({
|
|
|
4387
4413
|
boxShadow: "0 10px 24px rgba(0,0,0,.35)",
|
|
4388
4414
|
zIndex: 3
|
|
4389
4415
|
},
|
|
4390
|
-
children: N == null ? void 0 : N.map((r) => /* @__PURE__ */
|
|
4416
|
+
children: N == null ? void 0 : N.map((r) => /* @__PURE__ */ h(
|
|
4391
4417
|
le,
|
|
4392
4418
|
{
|
|
4393
4419
|
sx: {
|
|
@@ -4434,7 +4460,7 @@ function Ro({
|
|
|
4434
4460
|
},
|
|
4435
4461
|
onClick: () => F(r),
|
|
4436
4462
|
children: [
|
|
4437
|
-
r.icon && /* @__PURE__ */
|
|
4463
|
+
r.icon && /* @__PURE__ */ h(
|
|
4438
4464
|
le,
|
|
4439
4465
|
{
|
|
4440
4466
|
sx: {
|
|
@@ -4504,7 +4530,7 @@ function Ro({
|
|
|
4504
4530
|
}
|
|
4505
4531
|
);
|
|
4506
4532
|
}
|
|
4507
|
-
const
|
|
4533
|
+
const zo = [
|
|
4508
4534
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg", alt: "Interbank" },
|
|
4509
4535
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg", alt: "Yape" },
|
|
4510
4536
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png", alt: "BCP" },
|
|
@@ -4514,12 +4540,12 @@ const Po = [
|
|
|
4514
4540
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg", alt: "Niubiz" },
|
|
4515
4541
|
{ src: "https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png", alt: "BBVA" }
|
|
4516
4542
|
];
|
|
4517
|
-
function
|
|
4543
|
+
function Uo({
|
|
4518
4544
|
title: e = "Medios de pago",
|
|
4519
|
-
items: a =
|
|
4545
|
+
items: a = zo
|
|
4520
4546
|
}) {
|
|
4521
4547
|
const n = Math.ceil(a.length / 2), o = a.slice(0, n), i = a.slice(n);
|
|
4522
|
-
return /* @__PURE__ */
|
|
4548
|
+
return /* @__PURE__ */ h(le, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
4523
4549
|
/* @__PURE__ */ t(
|
|
4524
4550
|
bt,
|
|
4525
4551
|
{
|
|
@@ -4548,7 +4574,7 @@ function Fo({
|
|
|
4548
4574
|
}
|
|
4549
4575
|
}
|
|
4550
4576
|
),
|
|
4551
|
-
/* @__PURE__ */
|
|
4577
|
+
/* @__PURE__ */ h(Re, { spacing: { xs: 2, md: 3 }, alignItems: "center", children: [
|
|
4552
4578
|
/* @__PURE__ */ t(
|
|
4553
4579
|
Re,
|
|
4554
4580
|
{
|
|
@@ -4557,7 +4583,7 @@ function Fo({
|
|
|
4557
4583
|
alignItems: "center",
|
|
4558
4584
|
gap: { xs: 2, md: 3 },
|
|
4559
4585
|
flexWrap: "wrap",
|
|
4560
|
-
children: o.map((
|
|
4586
|
+
children: o.map((s, l) => /* @__PURE__ */ t(Ye, { ...s }, `${s.alt}-${s.src}-${l}`))
|
|
4561
4587
|
}
|
|
4562
4588
|
),
|
|
4563
4589
|
/* @__PURE__ */ t(
|
|
@@ -4568,7 +4594,7 @@ function Fo({
|
|
|
4568
4594
|
alignItems: "center",
|
|
4569
4595
|
gap: { xs: 2, md: 3 },
|
|
4570
4596
|
flexWrap: "wrap",
|
|
4571
|
-
children: i.map((
|
|
4597
|
+
children: i.map((s, l) => /* @__PURE__ */ t(Ye, { ...s }, `${s.alt}-${s.src}-${l}`))
|
|
4572
4598
|
}
|
|
4573
4599
|
)
|
|
4574
4600
|
] })
|
|
@@ -4590,31 +4616,31 @@ function At({
|
|
|
4590
4616
|
}),
|
|
4591
4617
|
[a]
|
|
4592
4618
|
);
|
|
4593
|
-
return /* @__PURE__ */
|
|
4619
|
+
return /* @__PURE__ */ h(Vt, { theme: n, children: [
|
|
4594
4620
|
/* @__PURE__ */ t(Ht, {}),
|
|
4595
4621
|
e
|
|
4596
4622
|
] });
|
|
4597
4623
|
}
|
|
4598
|
-
function
|
|
4624
|
+
function ur({
|
|
4599
4625
|
docId: e = "Landing: home",
|
|
4600
4626
|
moduleId: a = 301,
|
|
4601
4627
|
children: n
|
|
4602
4628
|
}) {
|
|
4603
4629
|
return /* @__PURE__ */ t(At, { children: /* @__PURE__ */ t(Tt, { docId: e, moduleId: a, children: n }) });
|
|
4604
4630
|
}
|
|
4605
|
-
const
|
|
4631
|
+
const Do = {
|
|
4606
4632
|
OraculoSeccionDestacados: Ln,
|
|
4607
4633
|
OraculoSeccionTopJuegos: Fn,
|
|
4608
|
-
OraculoSeccionCasinoEnVivo:
|
|
4609
|
-
OraculoSeccionCasino:
|
|
4610
|
-
OraculoSeccionVirtuales:
|
|
4611
|
-
OraculoSeccionClubOlimpo:
|
|
4612
|
-
OraculoSeccionBonoBienvenida:
|
|
4613
|
-
OraculoSeccionBanners:
|
|
4614
|
-
OraculoSeccionMediosPago:
|
|
4615
|
-
OraculoSeccionEventoEnVivo:
|
|
4616
|
-
OraculoSeccionEventoSemana:
|
|
4617
|
-
OraculoSeccionEventoCombinadas:
|
|
4634
|
+
OraculoSeccionCasinoEnVivo: Qn,
|
|
4635
|
+
OraculoSeccionCasino: to,
|
|
4636
|
+
OraculoSeccionVirtuales: ro,
|
|
4637
|
+
OraculoSeccionClubOlimpo: so,
|
|
4638
|
+
OraculoSeccionBonoBienvenida: lo,
|
|
4639
|
+
OraculoSeccionBanners: qo,
|
|
4640
|
+
OraculoSeccionMediosPago: Uo,
|
|
4641
|
+
OraculoSeccionEventoEnVivo: Oo,
|
|
4642
|
+
OraculoSeccionEventoSemana: Lo,
|
|
4643
|
+
OraculoSeccionEventoCombinadas: ho
|
|
4618
4644
|
}, Le = {
|
|
4619
4645
|
sections: [
|
|
4620
4646
|
{
|
|
@@ -5983,20 +6009,20 @@ const qo = {
|
|
|
5983
6009
|
componentKey: "OraculoSeccionMediosPago"
|
|
5984
6010
|
}
|
|
5985
6011
|
]
|
|
5986
|
-
},
|
|
6012
|
+
}, Wo = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, Vo = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
5987
6013
|
function Ae(e) {
|
|
5988
6014
|
return e && Array.isArray(e.sections) ? e.sections.slice().sort((a, n) => {
|
|
5989
6015
|
var o, i;
|
|
5990
6016
|
return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
|
|
5991
6017
|
}).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
|
|
5992
|
-
var o, i,
|
|
6018
|
+
var o, i, s, l, c;
|
|
5993
6019
|
return {
|
|
5994
6020
|
id: (o = a.id) != null ? o : n + 1,
|
|
5995
6021
|
title: (i = a.title) != null ? i : "",
|
|
5996
6022
|
componentKey: a.componentKey,
|
|
5997
|
-
visible: (
|
|
6023
|
+
visible: (s = a.visible) != null ? s : !0,
|
|
5998
6024
|
order: n + 1,
|
|
5999
|
-
props: (
|
|
6025
|
+
props: (l = a.props) != null ? l : {},
|
|
6000
6026
|
apiUrl: (c = a.apiUrl) != null ? c : "",
|
|
6001
6027
|
dataMode: a.dataMode,
|
|
6002
6028
|
variableName: a.variableName,
|
|
@@ -6009,11 +6035,11 @@ function Ae(e) {
|
|
|
6009
6035
|
};
|
|
6010
6036
|
}) : [];
|
|
6011
6037
|
}
|
|
6012
|
-
const
|
|
6013
|
-
Object.entries(
|
|
6014
|
-
([e, a]) =>
|
|
6038
|
+
const Ho = Object.fromEntries(
|
|
6039
|
+
Object.entries(Do).filter(
|
|
6040
|
+
([e, a]) => Vo(e) && Wo(a)
|
|
6015
6041
|
)
|
|
6016
|
-
),
|
|
6042
|
+
), Go = (e) => {
|
|
6017
6043
|
try {
|
|
6018
6044
|
return Object.fromEntries(e != null ? e : []);
|
|
6019
6045
|
} catch {
|
|
@@ -6025,7 +6051,7 @@ class ft extends Error {
|
|
|
6025
6051
|
super(`HTTP ${a} ${o}`), this.status = a, this.url = n, this.statusText = o, this.name = "HttpError";
|
|
6026
6052
|
}
|
|
6027
6053
|
}
|
|
6028
|
-
class
|
|
6054
|
+
class Zo extends ve.Component {
|
|
6029
6055
|
constructor(a) {
|
|
6030
6056
|
super(a), this.state = { hasError: !1 };
|
|
6031
6057
|
}
|
|
@@ -6049,24 +6075,24 @@ const gt = [
|
|
|
6049
6075
|
"OraculoSeccionEventoEnVivo",
|
|
6050
6076
|
"OraculoSeccionEventoSemana",
|
|
6051
6077
|
"OraculoSeccionEventoCombinadas"
|
|
6052
|
-
],
|
|
6078
|
+
], jo = [
|
|
6053
6079
|
"OraculoSeccionCasino",
|
|
6054
6080
|
"OraculoSeccionVirtuales",
|
|
6055
6081
|
"OraculoSeccionCasinoEnVivo",
|
|
6056
6082
|
"OraculoSeccionTopJuegos",
|
|
6057
6083
|
"OraculoSeccionDestacados"
|
|
6058
|
-
],
|
|
6084
|
+
], mr = ({
|
|
6059
6085
|
sectionsOverride: e,
|
|
6060
6086
|
docId: a = "Landing: home",
|
|
6061
6087
|
moduleId: n = 301,
|
|
6062
6088
|
db: o,
|
|
6063
6089
|
extras: i,
|
|
6064
|
-
loader:
|
|
6065
|
-
disableWrapper:
|
|
6090
|
+
loader: s,
|
|
6091
|
+
disableWrapper: l = !1
|
|
6066
6092
|
}) => {
|
|
6067
|
-
const c = de(() =>
|
|
6093
|
+
const c = de(() => Go(i), [i]), f = s || c.loader, [g, m] = ee(
|
|
6068
6094
|
() => e ? [] : Ae(Le)
|
|
6069
|
-
), [u, d] = ee(!1), [
|
|
6095
|
+
), [u, d] = ee(!1), [b, x] = ee({}), [v, I] = ee({}), [M, N] = ee({}), _ = Je("(min-width:1024px)"), $ = de(
|
|
6070
6096
|
() => Ae(Le),
|
|
6071
6097
|
[]
|
|
6072
6098
|
), w = (r) => $.find(
|
|
@@ -6130,8 +6156,8 @@ const gt = [
|
|
|
6130
6156
|
);
|
|
6131
6157
|
return () => p();
|
|
6132
6158
|
}, [e, a, o]), re(() => (Rn(c), () => Pn()), [c]), re(() => {
|
|
6133
|
-
(e ? e.slice() :
|
|
6134
|
-
}, [e,
|
|
6159
|
+
(e ? e.slice() : g.slice()).map((T) => T.componentKey).filter((T) => !!T).length;
|
|
6160
|
+
}, [e, g]);
|
|
6135
6161
|
const y = async (r) => {
|
|
6136
6162
|
if (gt.includes(r.componentKey))
|
|
6137
6163
|
return {
|
|
@@ -6166,16 +6192,16 @@ const gt = [
|
|
|
6166
6192
|
});
|
|
6167
6193
|
if (!J.ok) throw new ft(J.status, E, J.statusText);
|
|
6168
6194
|
return J.json();
|
|
6169
|
-
},
|
|
6170
|
-
() => e ? e.slice() :
|
|
6171
|
-
[e,
|
|
6195
|
+
}, O = de(
|
|
6196
|
+
() => e ? e.slice() : g.slice(),
|
|
6197
|
+
[e, g]
|
|
6172
6198
|
), F = ve.useRef(/* @__PURE__ */ new Set());
|
|
6173
6199
|
re(() => {
|
|
6174
|
-
const r =
|
|
6200
|
+
const r = O.map((p) => ({ s: p, url: (p.apiUrl || "").trim() })).filter(({ url: p }) => !!p);
|
|
6175
6201
|
if (r.length)
|
|
6176
6202
|
for (const { s: p, url: T } of r) {
|
|
6177
6203
|
const k = `${p.id}|${T}`;
|
|
6178
|
-
F.current.has(k) || (F.current.add(k),
|
|
6204
|
+
F.current.has(k) || (F.current.add(k), I((E) => ({ ...E, [p.id]: !0 })), N((E) => ({ ...E, [p.id]: "" })), (async () => {
|
|
6179
6205
|
try {
|
|
6180
6206
|
const E = await y(p);
|
|
6181
6207
|
x((C) => ({ ...C, [p.id]: E }));
|
|
@@ -6183,14 +6209,14 @@ const gt = [
|
|
|
6183
6209
|
let C = "Error desconocido";
|
|
6184
6210
|
E instanceof ft ? C = `Error HTTP ${E.status} (${E.statusText}) en ${E.url}` : E instanceof SyntaxError ? C = "Respuesta no es JSON válido" : E instanceof TypeError ? C = "Fallo de red / CORS / conexión" : typeof E == "string" && (C = E.toString()), N((q) => ({ ...q, [p.id]: C }));
|
|
6185
6211
|
} finally {
|
|
6186
|
-
|
|
6212
|
+
I((E) => ({ ...E, [p.id]: !1 }));
|
|
6187
6213
|
}
|
|
6188
6214
|
})());
|
|
6189
6215
|
}
|
|
6190
|
-
}, [
|
|
6216
|
+
}, [O]);
|
|
6191
6217
|
const B = de(
|
|
6192
|
-
() =>
|
|
6193
|
-
[
|
|
6218
|
+
() => O.filter((r) => r.visible).filter((r) => A(r, L)).sort((r, p) => r.order - p.order),
|
|
6219
|
+
[O, L]
|
|
6194
6220
|
), P = (r) => Array.isArray(r) ? r.map((p) => {
|
|
6195
6221
|
const T = {};
|
|
6196
6222
|
for (const k of p.fields || []) {
|
|
@@ -6257,7 +6283,7 @@ const gt = [
|
|
|
6257
6283
|
return E[C] = [], E;
|
|
6258
6284
|
}, H = (r) => {
|
|
6259
6285
|
var C;
|
|
6260
|
-
const p = !!((C = r.apiUrl) != null && C.trim()), T = p ?
|
|
6286
|
+
const p = !!((C = r.apiUrl) != null && C.trim()), T = p ? b[r.id] : void 0;
|
|
6261
6287
|
let k = r.props ? { ...r.props } : {};
|
|
6262
6288
|
const E = W(r.manualScalarFields);
|
|
6263
6289
|
if (gt.includes(r.componentKey))
|
|
@@ -6312,7 +6338,7 @@ const gt = [
|
|
|
6312
6338
|
component: "bg-yellow-100 text-yellow-800"
|
|
6313
6339
|
}[p]}`, children: T }, r), Y = (r) => {
|
|
6314
6340
|
var $e;
|
|
6315
|
-
const p = r.componentKey, T =
|
|
6341
|
+
const p = r.componentKey, T = Ho[p], E = (/* @__PURE__ */ new Set([
|
|
6316
6342
|
"OraculoSeccionBanners",
|
|
6317
6343
|
"OraculoSeccionBonoBienvenida",
|
|
6318
6344
|
"OraculoSeccionCasinoEnVivo",
|
|
@@ -6340,9 +6366,9 @@ const gt = [
|
|
|
6340
6366
|
"component",
|
|
6341
6367
|
`Componente "${p}" no encontrado`
|
|
6342
6368
|
);
|
|
6343
|
-
const oe = !!(($e = r.apiUrl) != null && $e.trim()), j = oe ?
|
|
6369
|
+
const oe = !!(($e = r.apiUrl) != null && $e.trim()), j = oe ? b[r.id] : void 0, ie = oe ? !!v[r.id] : !1, Se = oe ? M[r.id] : "";
|
|
6344
6370
|
if (oe) {
|
|
6345
|
-
const Mt =
|
|
6371
|
+
const Mt = jo.includes(r.componentKey);
|
|
6346
6372
|
if (ie && !j && !Mt)
|
|
6347
6373
|
return K(
|
|
6348
6374
|
r.id,
|
|
@@ -6373,7 +6399,7 @@ const gt = [
|
|
|
6373
6399
|
...we,
|
|
6374
6400
|
user: c.user
|
|
6375
6401
|
} : we;
|
|
6376
|
-
return /* @__PURE__ */ t(
|
|
6402
|
+
return /* @__PURE__ */ t(Zo, { section: r, children: /* @__PURE__ */ t(
|
|
6377
6403
|
"div",
|
|
6378
6404
|
{
|
|
6379
6405
|
style: ne,
|
|
@@ -6384,7 +6410,7 @@ const gt = [
|
|
|
6384
6410
|
r.id
|
|
6385
6411
|
) });
|
|
6386
6412
|
};
|
|
6387
|
-
return u && !e &&
|
|
6413
|
+
return u && !e && g.length === 0 ? f ? /* @__PURE__ */ t(f, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !u && !e && g.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : /* @__PURE__ */ t(At, { children: /* @__PURE__ */ t(Tt, { docId: a, moduleId: n, children: /* @__PURE__ */ t(
|
|
6388
6414
|
Bt,
|
|
6389
6415
|
{
|
|
6390
6416
|
className: "oli-font",
|
|
@@ -6430,24 +6456,24 @@ export {
|
|
|
6430
6456
|
me as OraculoGridGroup,
|
|
6431
6457
|
nt as OraculoLiveCasinoCard,
|
|
6432
6458
|
Ye as OraculoLogoMediosPago,
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6459
|
+
mr as OraculoPageLandingPreview,
|
|
6460
|
+
qo as OraculoSeccionBanners,
|
|
6461
|
+
lo as OraculoSeccionBonoBienvenida,
|
|
6462
|
+
to as OraculoSeccionCasino,
|
|
6463
|
+
Qn as OraculoSeccionCasinoEnVivo,
|
|
6464
|
+
so as OraculoSeccionClubOlimpo,
|
|
6439
6465
|
Ln as OraculoSeccionDestacados,
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6466
|
+
ho as OraculoSeccionEventoCombinadas,
|
|
6467
|
+
Oo as OraculoSeccionEventoEnVivo,
|
|
6468
|
+
Lo as OraculoSeccionEventoSemana,
|
|
6469
|
+
Uo as OraculoSeccionMediosPago,
|
|
6444
6470
|
Fn as OraculoSeccionTopJuegos,
|
|
6445
|
-
|
|
6446
|
-
|
|
6471
|
+
ro as OraculoSeccionVirtuales,
|
|
6472
|
+
ur as OraculoSectionHost,
|
|
6447
6473
|
ye as OraculoSectionTitle,
|
|
6448
6474
|
At as OraculoThemeProvider,
|
|
6449
6475
|
Fn as OraculoTopJuegoItem,
|
|
6450
6476
|
ot as OraculoWelcomeBanner,
|
|
6451
|
-
|
|
6477
|
+
mr as default
|
|
6452
6478
|
};
|
|
6453
6479
|
//# sourceMappingURL=index.es.js.map
|