oraculo-ui 0.2.46 → 0.2.47
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 +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +463 -463
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -16,8 +16,8 @@ import Pt from "@mui/material/CssBaseline";
|
|
|
16
16
|
import { onSnapshot as Dt, doc as Ut } from "firebase/firestore";
|
|
17
17
|
function J({
|
|
18
18
|
children: e,
|
|
19
|
-
onClick:
|
|
20
|
-
href:
|
|
19
|
+
onClick: n,
|
|
20
|
+
href: a,
|
|
21
21
|
target: r,
|
|
22
22
|
rel: i,
|
|
23
23
|
type: l = "button",
|
|
@@ -45,24 +45,24 @@ function J({
|
|
|
45
45
|
!A && /* @__PURE__ */ t("span", { className: "orc-btn__label", children: e }),
|
|
46
46
|
v && /* @__PURE__ */ t("span", { className: "orc-btn__icon", children: v })
|
|
47
47
|
] }), L = s ? !0 : void 0;
|
|
48
|
-
return
|
|
48
|
+
return a ? /* @__PURE__ */ t(
|
|
49
49
|
lt,
|
|
50
50
|
{
|
|
51
|
-
href:
|
|
51
|
+
href: a,
|
|
52
52
|
target: r,
|
|
53
53
|
rel: i,
|
|
54
54
|
"aria-label": c,
|
|
55
55
|
"aria-disabled": L,
|
|
56
56
|
tabIndex: L ? -1 : void 0,
|
|
57
57
|
className: w,
|
|
58
|
-
onClick: L ? (F) => F.preventDefault() :
|
|
58
|
+
onClick: L ? (F) => F.preventDefault() : n,
|
|
59
59
|
children: S
|
|
60
60
|
}
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
62
62
|
"button",
|
|
63
63
|
{
|
|
64
64
|
type: l,
|
|
65
|
-
onClick:
|
|
65
|
+
onClick: n,
|
|
66
66
|
disabled: !!L,
|
|
67
67
|
"aria-label": c,
|
|
68
68
|
className: w,
|
|
@@ -72,20 +72,20 @@ function J({
|
|
|
72
72
|
}
|
|
73
73
|
function ge({
|
|
74
74
|
title: e,
|
|
75
|
-
iconUrl:
|
|
76
|
-
size:
|
|
75
|
+
iconUrl: n,
|
|
76
|
+
size: a = "md",
|
|
77
77
|
className: r = ""
|
|
78
78
|
}) {
|
|
79
79
|
const l = [
|
|
80
80
|
"orc-section-title",
|
|
81
|
-
|
|
81
|
+
a ? `orc-section-title--${a}` : "",
|
|
82
82
|
r
|
|
83
83
|
].filter(Boolean).join(" ");
|
|
84
84
|
return /* @__PURE__ */ y("div", { className: l, children: [
|
|
85
|
-
|
|
85
|
+
n && /* @__PURE__ */ t(
|
|
86
86
|
"img",
|
|
87
87
|
{
|
|
88
|
-
src:
|
|
88
|
+
src: n,
|
|
89
89
|
alt: "",
|
|
90
90
|
className: "orc-section-title__icon"
|
|
91
91
|
}
|
|
@@ -95,8 +95,8 @@ function ge({
|
|
|
95
95
|
}
|
|
96
96
|
const ut = ({
|
|
97
97
|
total: e,
|
|
98
|
-
active:
|
|
99
|
-
onSelect:
|
|
98
|
+
active: n,
|
|
99
|
+
onSelect: a,
|
|
100
100
|
className: r = "",
|
|
101
101
|
durationMs: i = 5e3
|
|
102
102
|
}) => {
|
|
@@ -104,8 +104,8 @@ const ut = ({
|
|
|
104
104
|
const l = ["orc-dots", r].filter(Boolean).join(" "), [s, d] = Z(0);
|
|
105
105
|
return Q(() => {
|
|
106
106
|
d((h) => h + 1);
|
|
107
|
-
}, [
|
|
108
|
-
const m = g ===
|
|
107
|
+
}, [n, i]), /* @__PURE__ */ t("div", { className: l, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((h, g) => {
|
|
108
|
+
const m = g === n;
|
|
109
109
|
return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
|
|
110
110
|
"button",
|
|
111
111
|
{
|
|
@@ -118,7 +118,7 @@ const ut = ({
|
|
|
118
118
|
"--dot-progress-ms": `${i}ms`
|
|
119
119
|
} : void 0,
|
|
120
120
|
onClick: () => {
|
|
121
|
-
m && d((u) => u + 1),
|
|
121
|
+
m && d((u) => u + 1), a == null || a(g);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
m ? `a-${g}-${s}` : `i-${g}`
|
|
@@ -127,12 +127,12 @@ const ut = ({
|
|
|
127
127
|
};
|
|
128
128
|
function me({
|
|
129
129
|
children: e,
|
|
130
|
-
minWidth:
|
|
131
|
-
spacing:
|
|
130
|
+
minWidth: n = 32,
|
|
131
|
+
spacing: a = 2,
|
|
132
132
|
justify: r = "stretch",
|
|
133
133
|
columns: i = null
|
|
134
134
|
}) {
|
|
135
|
-
const l = i || `repeat(auto-fit, minmax(${
|
|
135
|
+
const l = i || `repeat(auto-fit, minmax(${n}px, 1fr))`, s = typeof a == "number" ? `${a * 8}px` : a;
|
|
136
136
|
return /* @__PURE__ */ t(
|
|
137
137
|
"div",
|
|
138
138
|
{
|
|
@@ -147,7 +147,7 @@ function me({
|
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
|
-
function Ze({ src: e, alt:
|
|
150
|
+
function Ze({ src: e, alt: n }) {
|
|
151
151
|
return /* @__PURE__ */ t(
|
|
152
152
|
ee,
|
|
153
153
|
{
|
|
@@ -164,7 +164,7 @@ function Ze({ src: e, alt: a }) {
|
|
|
164
164
|
{
|
|
165
165
|
component: "img",
|
|
166
166
|
src: e,
|
|
167
|
-
alt:
|
|
167
|
+
alt: n,
|
|
168
168
|
sx: {
|
|
169
169
|
position: "absolute",
|
|
170
170
|
top: 0,
|
|
@@ -183,7 +183,7 @@ const Vt = "oraculo__OraculoEventTitle-module__contenedor___rg1vw", Wt = "oracul
|
|
|
183
183
|
flexGroup: Wt,
|
|
184
184
|
subtitle: Gt
|
|
185
185
|
};
|
|
186
|
-
function jt({ title: e, subtitle:
|
|
186
|
+
function jt({ title: e, subtitle: n }) {
|
|
187
187
|
return /* @__PURE__ */ y(
|
|
188
188
|
"div",
|
|
189
189
|
{
|
|
@@ -200,7 +200,7 @@ function jt({ title: e, subtitle: a }) {
|
|
|
200
200
|
children: e
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
|
-
|
|
203
|
+
n && /* @__PURE__ */ y(
|
|
204
204
|
"div",
|
|
205
205
|
{
|
|
206
206
|
className: qe.flexGroup,
|
|
@@ -210,7 +210,7 @@ function jt({ title: e, subtitle: a }) {
|
|
|
210
210
|
/* @__PURE__ */ t("circle", { cx: "2.5", cy: "2.5", r: "2.5", fill: "white" }),
|
|
211
211
|
" "
|
|
212
212
|
] }),
|
|
213
|
-
/* @__PURE__ */ t("span", { className: qe.subtitle, children:
|
|
213
|
+
/* @__PURE__ */ t("span", { className: qe.subtitle, children: n }),
|
|
214
214
|
/* @__PURE__ */ t("div", {})
|
|
215
215
|
]
|
|
216
216
|
}
|
|
@@ -219,14 +219,14 @@ function jt({ title: e, subtitle: a }) {
|
|
|
219
219
|
}
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
|
-
function Ht({ text: e, color:
|
|
222
|
+
function Ht({ text: e, color: n = "#ff3b3b", textColor: a = "#fff" }) {
|
|
223
223
|
return /* @__PURE__ */ t(
|
|
224
224
|
"span",
|
|
225
225
|
{
|
|
226
226
|
className: "oli-font",
|
|
227
227
|
style: {
|
|
228
|
-
backgroundColor:
|
|
229
|
-
color:
|
|
228
|
+
backgroundColor: n,
|
|
229
|
+
color: a,
|
|
230
230
|
borderRadius: "8px",
|
|
231
231
|
padding: "4px 8px",
|
|
232
232
|
fontSize: "12px",
|
|
@@ -240,13 +240,13 @@ function Ht({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
|
240
240
|
}
|
|
241
241
|
);
|
|
242
242
|
}
|
|
243
|
-
function Kt({ live: e, time:
|
|
243
|
+
function Kt({ live: e, time: n }) {
|
|
244
244
|
return /* @__PURE__ */ y("div", { className: "oli-font", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
245
245
|
e && /* @__PURE__ */ t(Ht, { text: "En vivo" }),
|
|
246
|
-
|
|
246
|
+
n && /* @__PURE__ */ t("span", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "18px", paddingTop: "4px" }, children: n })
|
|
247
247
|
] });
|
|
248
248
|
}
|
|
249
|
-
function Zt({ title: e, subtitle:
|
|
249
|
+
function Zt({ title: e, subtitle: n, live: a = !1, time: r = "" }) {
|
|
250
250
|
return /* @__PURE__ */ y(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
@@ -257,8 +257,8 @@ function Zt({ title: e, subtitle: a, live: n = !1, time: r = "" }) {
|
|
|
257
257
|
color: "#FFFFFF"
|
|
258
258
|
},
|
|
259
259
|
children: [
|
|
260
|
-
/* @__PURE__ */ t(jt, { title: e, subtitle:
|
|
261
|
-
/* @__PURE__ */ t(Kt, { live:
|
|
260
|
+
/* @__PURE__ */ t(jt, { title: e, subtitle: n }),
|
|
261
|
+
/* @__PURE__ */ t(Kt, { live: a, time: r })
|
|
262
262
|
]
|
|
263
263
|
}
|
|
264
264
|
);
|
|
@@ -275,46 +275,46 @@ const Yt = "oraculo__OraculoEventLeague-module__container___rdk4F", Qt = {
|
|
|
275
275
|
function pt({ title: e }) {
|
|
276
276
|
return /* @__PURE__ */ t("div", { className: Qt.container, children: e.toUpperCase() });
|
|
277
277
|
}
|
|
278
|
-
const
|
|
279
|
-
scoreWrapper:
|
|
280
|
-
name:
|
|
281
|
-
score:
|
|
282
|
-
normal:
|
|
283
|
-
small:
|
|
278
|
+
const en = "oraculo__OraculoEventScore-module__scoreWrapper___fWwEr", tn = "oraculo__OraculoEventScore-module__name___r4uL6", nn = "oraculo__OraculoEventScore-module__score___Xl03M", an = "oraculo__OraculoEventScore-module__normal___cCNFz", on = "oraculo__OraculoEventScore-module__small___fVt8E", ve = {
|
|
279
|
+
scoreWrapper: en,
|
|
280
|
+
name: tn,
|
|
281
|
+
score: nn,
|
|
282
|
+
normal: an,
|
|
283
|
+
small: on
|
|
284
284
|
};
|
|
285
|
-
function ft({ text: e, name:
|
|
285
|
+
function ft({ text: e, name: n, size: a = "normal" }) {
|
|
286
286
|
return /* @__PURE__ */ y(
|
|
287
287
|
"div",
|
|
288
288
|
{
|
|
289
|
-
className: `${ve.scoreWrapper} ${ve[
|
|
289
|
+
className: `${ve.scoreWrapper} ${ve[a]}`,
|
|
290
290
|
children: [
|
|
291
|
-
/* @__PURE__ */ t("div", { className: `${ve.score} ${ve[
|
|
292
|
-
|
|
291
|
+
/* @__PURE__ */ t("div", { className: `${ve.score} ${ve[a]}`, children: e }),
|
|
292
|
+
n && /* @__PURE__ */ t("span", { className: `${ve.name} ${ve[a]}`, children: n })
|
|
293
293
|
]
|
|
294
294
|
}
|
|
295
295
|
);
|
|
296
296
|
}
|
|
297
|
-
const
|
|
298
|
-
team:
|
|
299
|
-
regular:
|
|
300
|
-
compact:
|
|
301
|
-
logo:
|
|
302
|
-
name:
|
|
303
|
-
skeleton:
|
|
304
|
-
},
|
|
305
|
-
polo:
|
|
306
|
-
svgWrapper:
|
|
307
|
-
shadow:
|
|
308
|
-
highlight:
|
|
297
|
+
const rn = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", ln = "oraculo__OraculoEventTeamInfo-module__regular___ag826", sn = "oraculo__OraculoEventTeamInfo-module__compact___RCNOs", cn = "oraculo__OraculoEventTeamInfo-module__logo___fKCl3", dn = "oraculo__OraculoEventTeamInfo-module__name___4ikm-", un = "oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh", _e = {
|
|
298
|
+
team: rn,
|
|
299
|
+
regular: ln,
|
|
300
|
+
compact: sn,
|
|
301
|
+
logo: cn,
|
|
302
|
+
name: dn,
|
|
303
|
+
skeleton: un
|
|
304
|
+
}, mn = "oraculo__OraculoTeamPolo-module__polo___BisRg", pn = "oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX", fn = "oraculo__OraculoTeamPolo-module__shadow___-3DXb", gn = "oraculo__OraculoTeamPolo-module__highlight___1etm7", Ie = {
|
|
305
|
+
polo: mn,
|
|
306
|
+
svgWrapper: pn,
|
|
307
|
+
shadow: fn,
|
|
308
|
+
highlight: gn
|
|
309
309
|
};
|
|
310
|
-
function
|
|
311
|
-
const
|
|
312
|
-
return /* @__PURE__ */ y("div", { className: `${Ie.polo} ${
|
|
310
|
+
function hn({ jersey: e, className: n }) {
|
|
311
|
+
const a = `#${e.base}`, r = e.sleeve ? `#${e.sleeve}` : a, i = e.stripes ? `#${e.stripes}` : null, l = e.sleevelong ? `#${e.sleevelong}` : null;
|
|
312
|
+
return /* @__PURE__ */ y("div", { className: `${Ie.polo} ${n != null ? n : ""}`, children: [
|
|
313
313
|
/* @__PURE__ */ t("div", { className: Ie.svgWrapper, children: /* @__PURE__ */ y("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
|
|
314
314
|
/* @__PURE__ */ t(
|
|
315
315
|
"path",
|
|
316
316
|
{
|
|
317
|
-
fill:
|
|
317
|
+
fill: a,
|
|
318
318
|
d: "m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8l-5-12.3-1.9-3.8-1.8-1.6.1-.8v-1l-.4-1.8-1.3-4.1-3.3-9-1.3-2-2.2-5.7-2.5-.3-1 .8v2l-2.7 13.1-8.7 58-.9 6.4-.2 7.9c0 3-1 16-1.7 18.3l-2.5 9-.2 7.6-.3 8.7-.3 7.5.3 4 .5 15c.3 1.9-.6 7-1.1 9.3-.6 2.4-1.6 7.5-1.4 8.8.3 1.4-.2 4.4-.5 5.8l-1.3 8.9c-.2 1.4-.8 5-1.3 7.2.7 1.6 4.7 14.6 5.9 17.8 1.2 3.3 4.8 19.4 5 20.7.3 1 1.1 7.8 1.5 11 .1 2.5.3 8 .2 10 0 2-.8 6.6-1.1 8.6-.2 1.7-.7 5.5-1.2 7s-1.2 8.5-1.4 11.8A81.1 81.1 0 0 1 477 552l.3 7.1.2 6.5 1.4 17.7.5 6 1.5 7.7.4 4.6c.3 2.1.7 7 .7 10.1.3 3-2.5 6-4 7 0 .2-1.2 1-4.6 3-6.4 5-26.3 11.6-35.5 14.3a379.2 379.2 0 0 1-58.6 11.2c-2.3.8-27 2.2-39 2.7-8.3 0-27 0-34.5-.4-11.5.9-47.4-4.8-63.9-7.7-6.3-.9-42.1-10.4-48-14.4-3.7-2.4-14.3-8-16.9-9.7a10.7 10.7 0 0 1-4.1-5.4c-.3-1 .1-8.6.4-12.3l.6-5 1.4-9.6 1-8 .3-4.3-.4-7.7-1-10.8v-13.8l.7-10 1.1-7.7 1.8-8 2.8-9.5 3.3-9.3a78 78 0 0 1-2.5-20.8 1112.2 1112.2 0 0 1 .6-14.1c-.1-.7 2.1-10.2 3.3-15l1-3.8-.1-.8c-1.4-8.3-1.5-14-1.9-15.4a78 78 0 0 1 .4-10.9l2-6.7.4-2-.4-1.5a67.6 67.6 0 0 1-7.3-27l-.2-7.7.5-5.4.3-1.5.4-3.9.7-5 .2-2.2-.2-.4-.3-6-1-3.1-.3-4-.7-7.6-1.5-8.3-.8-4.2-1.4-9.2-.4-4.3L172 279l-2.2-14.6a545 545 0 0 1-1.7-8.5c-.1-1-2-2.1-3-2.6 0 .6-.6 1.5-1.7 2-1.2.7-2.4 1.3-2.7 2.2l-.8 4.7a15 15 0 0 1-2.5 4.1 16.4 16.4 0 0 0-2.6 6.3l-.3 2.4v1.3l-1.4 1.1-.3.3-6 14.5c-.7 2.3-1.3 1.8-1.9 1.5l-10.5-3.1-9-3-18.3-6-20-6.8-13-4.8c-2.1-1-7-3-9.4-3.8-2.5-.8-3-1.3-2.8-1.4Z"
|
|
319
319
|
}
|
|
320
320
|
),
|
|
@@ -366,30 +366,30 @@ function ga({ jersey: e, className: a }) {
|
|
|
366
366
|
)
|
|
367
367
|
] });
|
|
368
368
|
}
|
|
369
|
-
function Me({ name: e, jersey:
|
|
370
|
-
return /* @__PURE__ */ y("div", { className: `oli-font ${_e.team} ${_e[
|
|
371
|
-
|
|
372
|
-
|
|
369
|
+
function Me({ name: e, jersey: n, size: a = "regular" }) {
|
|
370
|
+
return /* @__PURE__ */ y("div", { className: `oli-font ${_e.team} ${_e[a]}`, children: [
|
|
371
|
+
n != null && n.base ? /* @__PURE__ */ t(
|
|
372
|
+
hn,
|
|
373
373
|
{
|
|
374
|
-
jersey:
|
|
374
|
+
jersey: n,
|
|
375
375
|
className: `${_e.logo}`
|
|
376
376
|
}
|
|
377
377
|
) : /* @__PURE__ */ t(W, { variant: "circular", className: `${_e.logo} ${_e.skeleton}` }),
|
|
378
378
|
/* @__PURE__ */ t("span", { className: _e.name, children: e })
|
|
379
379
|
] });
|
|
380
380
|
}
|
|
381
|
-
function
|
|
382
|
-
enabled:
|
|
381
|
+
function bn(e, n, {
|
|
382
|
+
enabled: a = !0,
|
|
383
383
|
threshold: r = 60,
|
|
384
384
|
cooldownMs: i = 500
|
|
385
385
|
} = {}) {
|
|
386
386
|
const l = U(0), s = U(0);
|
|
387
387
|
Q(() => {
|
|
388
|
-
if (!
|
|
388
|
+
if (!a) return;
|
|
389
389
|
const d = e.current;
|
|
390
390
|
if (!d) return;
|
|
391
391
|
const h = (g) => {
|
|
392
|
-
const m =
|
|
392
|
+
const m = n.current;
|
|
393
393
|
if (!m || !m.go) return;
|
|
394
394
|
const { deltaX: u, deltaY: c } = g;
|
|
395
395
|
if (Math.abs(u) <= Math.abs(c)) return;
|
|
@@ -402,18 +402,18 @@ function ha(e, a, {
|
|
|
402
402
|
return d.addEventListener("wheel", h, { passive: !1 }), () => {
|
|
403
403
|
d.removeEventListener("wheel", h), l.current = 0;
|
|
404
404
|
};
|
|
405
|
-
}, [
|
|
405
|
+
}, [a, r, i, e, n]);
|
|
406
406
|
}
|
|
407
|
-
const
|
|
408
|
-
gradientOverlay:
|
|
409
|
-
right:
|
|
410
|
-
left:
|
|
411
|
-
svg:
|
|
412
|
-
},
|
|
407
|
+
const vn = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", _n = "oraculo__OraculoCarousel-module__right___KwpOE", yn = "oraculo__OraculoCarousel-module__left___n3WQu", xn = "oraculo__OraculoCarousel-module__svg___0mGuX", ye = {
|
|
408
|
+
gradientOverlay: vn,
|
|
409
|
+
right: _n,
|
|
410
|
+
left: yn,
|
|
411
|
+
svg: xn
|
|
412
|
+
}, Sn = Rt, wn = Lt, he = $t(
|
|
413
413
|
({
|
|
414
414
|
items: e = [],
|
|
415
|
-
renderItem:
|
|
416
|
-
perPage:
|
|
415
|
+
renderItem: n,
|
|
416
|
+
perPage: a = 1,
|
|
417
417
|
gap: r = "0px",
|
|
418
418
|
breakpoints: i,
|
|
419
419
|
options: l = {},
|
|
@@ -424,7 +424,7 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
424
424
|
showRightGradient: m = !1
|
|
425
425
|
}, u) => {
|
|
426
426
|
const c = U(null), f = U(null), v = U(e.length), x = U(null), k = U(null), T = U("user");
|
|
427
|
-
|
|
427
|
+
bn(f, c, {
|
|
428
428
|
enabled: g
|
|
429
429
|
}), Nt(u, () => ({
|
|
430
430
|
next: () => {
|
|
@@ -523,7 +523,7 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
523
523
|
rewind: !1,
|
|
524
524
|
focus: "start",
|
|
525
525
|
autoWidth: !1,
|
|
526
|
-
perPage:
|
|
526
|
+
perPage: a,
|
|
527
527
|
gap: r,
|
|
528
528
|
breakpoints: i,
|
|
529
529
|
...l,
|
|
@@ -537,7 +537,7 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
537
537
|
style: { width: "100%", position: "relative", height: "100%" },
|
|
538
538
|
children: [
|
|
539
539
|
/* @__PURE__ */ t(
|
|
540
|
-
|
|
540
|
+
Sn,
|
|
541
541
|
{
|
|
542
542
|
ref: c,
|
|
543
543
|
options: F,
|
|
@@ -546,7 +546,7 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
546
546
|
onResize: S,
|
|
547
547
|
children: e.map((I, _) => {
|
|
548
548
|
var O;
|
|
549
|
-
return /* @__PURE__ */ t(
|
|
549
|
+
return /* @__PURE__ */ t(wn, { children: n(I, _) }, h ? _ : (O = I.id) != null ? O : _);
|
|
550
550
|
})
|
|
551
551
|
}
|
|
552
552
|
),
|
|
@@ -608,17 +608,17 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
608
608
|
}
|
|
609
609
|
), Te = ({
|
|
610
610
|
imageUrl: e,
|
|
611
|
-
onClick:
|
|
612
|
-
size:
|
|
611
|
+
onClick: n,
|
|
612
|
+
size: a = "sm",
|
|
613
613
|
fillParent: r = !1
|
|
614
614
|
}) => {
|
|
615
|
-
const i =
|
|
616
|
-
d.stopPropagation(),
|
|
615
|
+
const i = a === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, l = (d) => {
|
|
616
|
+
d.stopPropagation(), n == null || n();
|
|
617
617
|
}, s = r ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
618
618
|
return /* @__PURE__ */ y(
|
|
619
619
|
z,
|
|
620
620
|
{
|
|
621
|
-
onClick:
|
|
621
|
+
onClick: n,
|
|
622
622
|
role: "button",
|
|
623
623
|
sx: {
|
|
624
624
|
position: "relative",
|
|
@@ -693,10 +693,10 @@ const ba = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", va = "ora
|
|
|
693
693
|
}
|
|
694
694
|
);
|
|
695
695
|
};
|
|
696
|
-
function
|
|
696
|
+
function In({
|
|
697
697
|
imageUrl: e,
|
|
698
|
-
orden:
|
|
699
|
-
onClick:
|
|
698
|
+
orden: n = 1,
|
|
699
|
+
onClick: a,
|
|
700
700
|
loading: r = !1,
|
|
701
701
|
sizes: i = {
|
|
702
702
|
xs: { w: 104, h: 112, r: 18, font: 48 },
|
|
@@ -768,7 +768,7 @@ function wa({
|
|
|
768
768
|
Te,
|
|
769
769
|
{
|
|
770
770
|
imageUrl: e,
|
|
771
|
-
onClick:
|
|
771
|
+
onClick: a,
|
|
772
772
|
size: "lg",
|
|
773
773
|
fillParent: !0
|
|
774
774
|
}
|
|
@@ -797,7 +797,7 @@ function wa({
|
|
|
797
797
|
zIndex: 3,
|
|
798
798
|
userSelect: "none"
|
|
799
799
|
},
|
|
800
|
-
children:
|
|
800
|
+
children: n
|
|
801
801
|
}
|
|
802
802
|
)
|
|
803
803
|
]
|
|
@@ -806,8 +806,8 @@ function wa({
|
|
|
806
806
|
}
|
|
807
807
|
const Je = ({
|
|
808
808
|
logo: e,
|
|
809
|
-
provider:
|
|
810
|
-
providerName:
|
|
809
|
+
provider: n,
|
|
810
|
+
providerName: a,
|
|
811
811
|
machine: r,
|
|
812
812
|
onClick: i,
|
|
813
813
|
loading: l = !1
|
|
@@ -902,7 +902,7 @@ const Je = ({
|
|
|
902
902
|
fontSize: { xs: 11, md: 14 },
|
|
903
903
|
textTransform: "capitalize"
|
|
904
904
|
},
|
|
905
|
-
children: (s =
|
|
905
|
+
children: (s = n != null ? n : a) != null ? s : ""
|
|
906
906
|
}
|
|
907
907
|
)
|
|
908
908
|
}
|
|
@@ -927,13 +927,13 @@ const Je = ({
|
|
|
927
927
|
}
|
|
928
928
|
) }), gt = ({
|
|
929
929
|
items: e,
|
|
930
|
-
layout:
|
|
931
|
-
onClick:
|
|
930
|
+
layout: n = "grid",
|
|
931
|
+
onClick: a,
|
|
932
932
|
loading: r = !1,
|
|
933
933
|
gridSkeletonCount: i = 4
|
|
934
934
|
}) => {
|
|
935
935
|
var l, s;
|
|
936
|
-
if (
|
|
936
|
+
if (n === "mosaic") {
|
|
937
937
|
const d = e[0], h = e.slice(1, 5);
|
|
938
938
|
return /* @__PURE__ */ y(
|
|
939
939
|
z,
|
|
@@ -975,7 +975,7 @@ const Je = ({
|
|
|
975
975
|
imageUrl: `https://olimpo.bet${(s = (l = d.background) != null ? l : d.imageUrl) != null ? s : ""}`,
|
|
976
976
|
size: "lg",
|
|
977
977
|
fillParent: !0,
|
|
978
|
-
onClick: () =>
|
|
978
|
+
onClick: () => a == null ? void 0 : a(d, 0)
|
|
979
979
|
}
|
|
980
980
|
)
|
|
981
981
|
}
|
|
@@ -997,7 +997,7 @@ const Je = ({
|
|
|
997
997
|
imageUrl: `https://olimpo.bet${(c = (u = g.background) != null ? u : g.imageUrl) != null ? c : ""}`,
|
|
998
998
|
size: "sm",
|
|
999
999
|
fillParent: !0,
|
|
1000
|
-
onClick: () =>
|
|
1000
|
+
onClick: () => a == null ? void 0 : a(g, m + 1)
|
|
1001
1001
|
}
|
|
1002
1002
|
)
|
|
1003
1003
|
},
|
|
@@ -1036,7 +1036,7 @@ const Je = ({
|
|
|
1036
1036
|
imageUrl: `https://olimpo.bet${(m = (g = d.background) != null ? g : d.imageUrl) != null ? m : ""}`,
|
|
1037
1037
|
size: "sm",
|
|
1038
1038
|
fillParent: !0,
|
|
1039
|
-
onClick: () =>
|
|
1039
|
+
onClick: () => a == null ? void 0 : a(d, h)
|
|
1040
1040
|
}
|
|
1041
1041
|
)
|
|
1042
1042
|
},
|
|
@@ -1047,8 +1047,8 @@ const Je = ({
|
|
|
1047
1047
|
);
|
|
1048
1048
|
}, Xe = ({
|
|
1049
1049
|
title: e,
|
|
1050
|
-
amount:
|
|
1051
|
-
subtitle:
|
|
1050
|
+
amount: n,
|
|
1051
|
+
subtitle: a,
|
|
1052
1052
|
buttonText: r,
|
|
1053
1053
|
onButtonClick: i,
|
|
1054
1054
|
backgroundImage: l,
|
|
@@ -1056,7 +1056,7 @@ const Je = ({
|
|
|
1056
1056
|
className: d = "",
|
|
1057
1057
|
variant: h = "small"
|
|
1058
1058
|
}) => {
|
|
1059
|
-
const g =
|
|
1059
|
+
const g = n ? n.slice(0, 2) : "", m = n ? n.slice(2) : "", u = h === "large";
|
|
1060
1060
|
return /* @__PURE__ */ y(
|
|
1061
1061
|
z,
|
|
1062
1062
|
{
|
|
@@ -1139,7 +1139,7 @@ const Je = ({
|
|
|
1139
1139
|
children: e
|
|
1140
1140
|
}
|
|
1141
1141
|
),
|
|
1142
|
-
|
|
1142
|
+
n && /* @__PURE__ */ y(
|
|
1143
1143
|
z,
|
|
1144
1144
|
{
|
|
1145
1145
|
component: "p",
|
|
@@ -1176,7 +1176,7 @@ const Je = ({
|
|
|
1176
1176
|
]
|
|
1177
1177
|
}
|
|
1178
1178
|
),
|
|
1179
|
-
|
|
1179
|
+
a && /* @__PURE__ */ t(
|
|
1180
1180
|
ue,
|
|
1181
1181
|
{
|
|
1182
1182
|
sx: {
|
|
@@ -1185,7 +1185,7 @@ const Je = ({
|
|
|
1185
1185
|
fontWeight: 600,
|
|
1186
1186
|
color: "#e7f8ff"
|
|
1187
1187
|
},
|
|
1188
|
-
children:
|
|
1188
|
+
children: a
|
|
1189
1189
|
}
|
|
1190
1190
|
),
|
|
1191
1191
|
r && /* @__PURE__ */ t(J, { onClick: i, children: r })
|
|
@@ -1197,10 +1197,10 @@ const Je = ({
|
|
|
1197
1197
|
]
|
|
1198
1198
|
}
|
|
1199
1199
|
);
|
|
1200
|
-
},
|
|
1200
|
+
}, On = ({
|
|
1201
1201
|
text: e,
|
|
1202
|
-
buttonLabel:
|
|
1203
|
-
onClick:
|
|
1202
|
+
buttonLabel: n = "Conoce más",
|
|
1203
|
+
onClick: a,
|
|
1204
1204
|
imgAlt: r = "Club Olimpo",
|
|
1205
1205
|
imgSrcMobile: i,
|
|
1206
1206
|
imgSrcDesktopBg: l,
|
|
@@ -1233,35 +1233,35 @@ const Je = ({
|
|
|
1233
1233
|
}
|
|
1234
1234
|
),
|
|
1235
1235
|
/* @__PURE__ */ t("p", { className: "orc-co-captionDesktop", children: e }),
|
|
1236
|
-
/* @__PURE__ */ t(J, { onClick:
|
|
1236
|
+
/* @__PURE__ */ t(J, { onClick: a, variant: "primary", size: "md", children: n })
|
|
1237
1237
|
] })
|
|
1238
1238
|
] }) }),
|
|
1239
1239
|
/* @__PURE__ */ y("div", { className: "orc-co-bottom", children: [
|
|
1240
1240
|
/* @__PURE__ */ t("p", { className: "orc-co-caption", children: e }),
|
|
1241
|
-
/* @__PURE__ */ t(J, { onClick:
|
|
1241
|
+
/* @__PURE__ */ t(J, { onClick: a, variant: "primary", size: "md", children: n })
|
|
1242
1242
|
] })
|
|
1243
|
-
] }),
|
|
1244
|
-
card:
|
|
1245
|
-
combinadas:
|
|
1246
|
-
combinadasScroll:
|
|
1247
|
-
apuestaItem:
|
|
1248
|
-
lineContainer:
|
|
1249
|
-
circle:
|
|
1250
|
-
line:
|
|
1251
|
-
apuestaText:
|
|
1252
|
-
cuotaTotal:
|
|
1243
|
+
] }), En = "oraculo__OraculoEventCombinadasCard-module__card___ulQeY", Cn = "oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld", kn = "oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl", Tn = "oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy", $n = "oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU", Nn = "oraculo__OraculoEventCombinadasCard-module__circle___eehm-", Mn = "oraculo__OraculoEventCombinadasCard-module__line___Eb2pK", An = "oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S", Bn = "oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu", ce = {
|
|
1244
|
+
card: En,
|
|
1245
|
+
combinadas: Cn,
|
|
1246
|
+
combinadasScroll: kn,
|
|
1247
|
+
apuestaItem: Tn,
|
|
1248
|
+
lineContainer: $n,
|
|
1249
|
+
circle: Nn,
|
|
1250
|
+
line: Mn,
|
|
1251
|
+
apuestaText: An,
|
|
1252
|
+
cuotaTotal: Bn
|
|
1253
1253
|
};
|
|
1254
|
-
function Ue(e,
|
|
1255
|
-
const
|
|
1256
|
-
sessionStorage.setItem("landingOutcomes", JSON.stringify(
|
|
1254
|
+
function Ue(e, n) {
|
|
1255
|
+
const a = Array.isArray(n) ? n : [n];
|
|
1256
|
+
sessionStorage.setItem("landingOutcomes", JSON.stringify(a)), window.location.href = e;
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function Rn() {
|
|
1259
1259
|
window.location.href = "/deportes#in-play";
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function Ln() {
|
|
1262
1262
|
window.location.href = "/deportes#sports-hub/football";
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1264
|
+
function Fn() {
|
|
1265
1265
|
window.location.href = "/deportes#specials";
|
|
1266
1266
|
}
|
|
1267
1267
|
async function ht(e) {
|
|
@@ -1275,8 +1275,8 @@ async function ht(e) {
|
|
|
1275
1275
|
})
|
|
1276
1276
|
})).json();
|
|
1277
1277
|
}
|
|
1278
|
-
const bt = Mt(void 0), vt = ({ children: e, docId:
|
|
1279
|
-
const r = fe.useMemo(() => ({ docId:
|
|
1278
|
+
const bt = Mt(void 0), vt = ({ children: e, docId: n, moduleId: a }) => {
|
|
1279
|
+
const r = fe.useMemo(() => ({ docId: n, moduleId: a }), [n, a]);
|
|
1280
1280
|
return /* @__PURE__ */ t(bt.Provider, { value: r, children: e });
|
|
1281
1281
|
}, _t = () => {
|
|
1282
1282
|
const e = At(bt);
|
|
@@ -1284,9 +1284,9 @@ const bt = Mt(void 0), vt = ({ children: e, docId: a, moduleId: n }) => {
|
|
|
1284
1284
|
throw new Error("useDocContext debe usarse dentro de DocIdProvider");
|
|
1285
1285
|
return e;
|
|
1286
1286
|
}, re = () => _t().docId, se = () => _t().moduleId;
|
|
1287
|
-
function
|
|
1287
|
+
function qn({ coupon: e }) {
|
|
1288
1288
|
var g;
|
|
1289
|
-
const
|
|
1289
|
+
const n = oe(), a = re();
|
|
1290
1290
|
function r(m) {
|
|
1291
1291
|
var f, v;
|
|
1292
1292
|
const u = [], c = Array.from(
|
|
@@ -1346,9 +1346,9 @@ function Fa({ coupon: e }) {
|
|
|
1346
1346
|
})
|
|
1347
1347
|
)
|
|
1348
1348
|
).filter(Boolean), v = f.length > 0 ? f.join(" + ") : JSON.stringify(c), x = u ? `${v} - Cuota: ${u}` : v;
|
|
1349
|
-
|
|
1349
|
+
n({
|
|
1350
1350
|
element: "evento_semana_outcome",
|
|
1351
|
-
label: `Landing: ${
|
|
1351
|
+
label: `Landing: ${a} - OraculoEventCombinadasCard - Click: ${x}`,
|
|
1352
1352
|
target: "/deportes#in-play",
|
|
1353
1353
|
event_type: "click",
|
|
1354
1354
|
module_id: 301,
|
|
@@ -1443,10 +1443,10 @@ const de = {
|
|
|
1443
1443
|
"orc-btn--full": "oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo",
|
|
1444
1444
|
"orc-btn--fullHeight": "oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"
|
|
1445
1445
|
};
|
|
1446
|
-
function
|
|
1446
|
+
function zn({
|
|
1447
1447
|
children: e,
|
|
1448
|
-
onClick:
|
|
1449
|
-
href:
|
|
1448
|
+
onClick: n,
|
|
1449
|
+
href: a,
|
|
1450
1450
|
target: r,
|
|
1451
1451
|
rel: i,
|
|
1452
1452
|
type: l = "button",
|
|
@@ -1477,24 +1477,24 @@ function qa({
|
|
|
1477
1477
|
!A && /* @__PURE__ */ t("span", { className: de["orc-btn__label"], children: e }),
|
|
1478
1478
|
v && /* @__PURE__ */ t("span", { className: de["orc-btn__icon"], children: v })
|
|
1479
1479
|
] }), L = s ? !0 : void 0;
|
|
1480
|
-
return
|
|
1480
|
+
return a ? /* @__PURE__ */ t(
|
|
1481
1481
|
lt,
|
|
1482
1482
|
{
|
|
1483
|
-
href:
|
|
1483
|
+
href: a,
|
|
1484
1484
|
target: r,
|
|
1485
1485
|
rel: i,
|
|
1486
1486
|
"aria-label": c,
|
|
1487
1487
|
"aria-disabled": L,
|
|
1488
1488
|
tabIndex: L ? -1 : void 0,
|
|
1489
1489
|
className: w,
|
|
1490
|
-
onClick: L ? (F) => F.preventDefault() :
|
|
1490
|
+
onClick: L ? (F) => F.preventDefault() : n,
|
|
1491
1491
|
children: S
|
|
1492
1492
|
}
|
|
1493
1493
|
) : /* @__PURE__ */ t(
|
|
1494
1494
|
"button",
|
|
1495
1495
|
{
|
|
1496
1496
|
type: l,
|
|
1497
|
-
onClick:
|
|
1497
|
+
onClick: n,
|
|
1498
1498
|
disabled: !!L,
|
|
1499
1499
|
"aria-label": c,
|
|
1500
1500
|
className: w,
|
|
@@ -1502,10 +1502,10 @@ function qa({
|
|
|
1502
1502
|
}
|
|
1503
1503
|
);
|
|
1504
1504
|
}
|
|
1505
|
-
const
|
|
1506
|
-
cardWrapper:
|
|
1507
|
-
customButtonLabel:
|
|
1508
|
-
customButtonDisabled:
|
|
1505
|
+
const Pn = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Dn = "oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7", Un = "oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF", $e = {
|
|
1506
|
+
cardWrapper: Pn,
|
|
1507
|
+
customButtonLabel: Dn,
|
|
1508
|
+
customButtonDisabled: Un
|
|
1509
1509
|
}, Ye = {
|
|
1510
1510
|
base: "FFFFFF",
|
|
1511
1511
|
sleeve: "FFFFFF",
|
|
@@ -1518,18 +1518,18 @@ const za = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Pa = "
|
|
|
1518
1518
|
number: "FFFFFF",
|
|
1519
1519
|
real: !1,
|
|
1520
1520
|
type: "short_sleeves"
|
|
1521
|
-
}, Ae = (e,
|
|
1521
|
+
}, Ae = (e, n, a = "player") => {
|
|
1522
1522
|
var i, l;
|
|
1523
1523
|
if (e === void 0)
|
|
1524
1524
|
return null;
|
|
1525
1525
|
if (e === null)
|
|
1526
|
-
return
|
|
1527
|
-
const r = (l = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[
|
|
1528
|
-
return r || (
|
|
1526
|
+
return n === "home" ? Ye : Qe;
|
|
1527
|
+
const r = (l = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[n]) == null ? void 0 : l[a];
|
|
1528
|
+
return r || (n === "home" ? Ye : Qe);
|
|
1529
1529
|
};
|
|
1530
|
-
function
|
|
1530
|
+
function Vn({ event: e, liveData: n, betOffers: a, jersey: r }) {
|
|
1531
1531
|
var d, h, g, m, u, c, f, v, x, k, T;
|
|
1532
|
-
const i =
|
|
1532
|
+
const i = a == null ? void 0 : a.find(
|
|
1533
1533
|
(E) => {
|
|
1534
1534
|
var b;
|
|
1535
1535
|
return ((b = E.betOfferType) == null ? void 0 : b.id) === 2;
|
|
@@ -1556,38 +1556,38 @@ function Ua({ event: e, liveData: a, betOffers: n, jersey: r }) {
|
|
|
1556
1556
|
title: (g = (h = (d = e == null ? void 0 : e.path) == null ? void 0 : d[0]) == null ? void 0 : h.name) != null ? g : "",
|
|
1557
1557
|
subtitle: (m = e == null ? void 0 : e.group) != null ? m : "",
|
|
1558
1558
|
live: !0,
|
|
1559
|
-
time: ((u =
|
|
1559
|
+
time: ((u = n == null ? void 0 : n.matchClock) == null ? void 0 : u.minute) != null ? `${n.matchClock.minute}'` : ""
|
|
1560
1560
|
}
|
|
1561
1561
|
),
|
|
1562
1562
|
/* @__PURE__ */ t("div", { style: { padding: "0 4px" }, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto 1fr", children: [
|
|
1563
1563
|
/* @__PURE__ */ t(Me, { name: e == null ? void 0 : e.homeName, jersey: Ae(r, "home") }),
|
|
1564
|
-
/* @__PURE__ */ t(ft, { text: ((f = (c =
|
|
1564
|
+
/* @__PURE__ */ t(ft, { text: ((f = (c = n == null ? void 0 : n.score) == null ? void 0 : c.home) != null ? f : 0) + ":" + ((x = (v = n == null ? void 0 : n.score) == null ? void 0 : v.away) != null ? x : 0), name: "En vivo" }),
|
|
1565
1565
|
/* @__PURE__ */ t(Me, { name: e == null ? void 0 : e.awayName, jersey: Ae(r, "away") })
|
|
1566
1566
|
] }) })
|
|
1567
1567
|
] }),
|
|
1568
1568
|
/* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1569
1569
|
/* @__PURE__ */ t(me, { spacing: 1, children: ((k = i == null ? void 0 : i.outcomes) != null ? k : s).map((E, b) => /* @__PURE__ */ t(mt, { text: E.label.toUpperCase() }, b)) }),
|
|
1570
|
-
/* @__PURE__ */ t(me, { spacing: 2, children: ((T = i == null ? void 0 : i.outcomes) != null ? T : s).map((E, b) => /* @__PURE__ */ t(
|
|
1570
|
+
/* @__PURE__ */ t(me, { spacing: 2, children: ((T = i == null ? void 0 : i.outcomes) != null ? T : s).map((E, b) => /* @__PURE__ */ t(zn, { variant: "primary", disabled: E.odds == null || (i == null ? void 0 : i.cashOutStatus) == "SUSPENDED", onClick: () => {
|
|
1571
1571
|
Ue("/deportes#event/live/" + e.id, E.id);
|
|
1572
1572
|
}, className: $e.customButtonDisabled, children: /* @__PURE__ */ t("span", { className: $e.customButtonLabel, children: E.odds === void 0 ? "" : (E.odds / 1e3).toFixed(2) }) }, b)) })
|
|
1573
1573
|
] })
|
|
1574
1574
|
] }) });
|
|
1575
1575
|
}
|
|
1576
|
-
const
|
|
1577
|
-
date:
|
|
1576
|
+
const Wn = "oraculo__OraculoEventDate-module__date___xhIlh", Gn = {
|
|
1577
|
+
date: Wn
|
|
1578
1578
|
};
|
|
1579
|
-
function
|
|
1580
|
-
return /* @__PURE__ */ t("div", { className: `oli-font ${
|
|
1579
|
+
function jn({ text: e }) {
|
|
1580
|
+
return /* @__PURE__ */ t("div", { className: `oli-font ${Gn.date}`, children: e });
|
|
1581
1581
|
}
|
|
1582
|
-
const
|
|
1583
|
-
cardContainer:
|
|
1584
|
-
cardBackground:
|
|
1585
|
-
jugadas:
|
|
1586
|
-
equipos:
|
|
1582
|
+
const Hn = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", Kn = "oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD", Zn = "oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H", Jn = "oraculo__OraculoEventSemanaCard-module__equipos___G5hLn", be = {
|
|
1583
|
+
cardContainer: Hn,
|
|
1584
|
+
cardBackground: Kn,
|
|
1585
|
+
jugadas: Zn,
|
|
1586
|
+
equipos: Jn
|
|
1587
1587
|
};
|
|
1588
|
-
function
|
|
1588
|
+
function Xn({ event: e, jersey: n }) {
|
|
1589
1589
|
var s, d, h, g, m, u, c;
|
|
1590
|
-
const
|
|
1590
|
+
const a = oe(), r = re();
|
|
1591
1591
|
function i(f) {
|
|
1592
1592
|
const v = new Date(f), x = v.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), k = v.getDate().toString().padStart(2, "0"), T = (v.getMonth() + 1).toString().padStart(2, "0");
|
|
1593
1593
|
let E = v.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
@@ -1595,7 +1595,7 @@ function Ja({ event: e, jersey: a }) {
|
|
|
1595
1595
|
}
|
|
1596
1596
|
const l = (f, v) => {
|
|
1597
1597
|
const x = `${e.homeName} vs ${e.awayName}`, k = v ? (v / 1e3).toFixed(2) : "", T = k ? `${x} - Cuota: ${k}` : x;
|
|
1598
|
-
|
|
1598
|
+
a({
|
|
1599
1599
|
element: "evento_semana_outcome",
|
|
1600
1600
|
label: `Landing: ${r} - OraculoEventSemanaCard - Click: ${T}`,
|
|
1601
1601
|
target: "/deportes#in-play",
|
|
@@ -1612,11 +1612,11 @@ function Ja({ event: e, jersey: a }) {
|
|
|
1612
1612
|
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1613
1613
|
/* @__PURE__ */ y(H, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1614
1614
|
/* @__PURE__ */ y("div", { className: be.equipos, children: [
|
|
1615
|
-
/* @__PURE__ */ t(Me, { name: e.homeName, size: "compact", jersey: Ae(
|
|
1615
|
+
/* @__PURE__ */ t(Me, { name: e.homeName, size: "compact", jersey: Ae(n, "home") }),
|
|
1616
1616
|
/* @__PURE__ */ t(ft, { text: "vs.", name: "", size: "small" }),
|
|
1617
|
-
/* @__PURE__ */ t(Me, { name: e.awayName, size: "compact", jersey: Ae(
|
|
1617
|
+
/* @__PURE__ */ t(Me, { name: e.awayName, size: "compact", jersey: Ae(n, "away") })
|
|
1618
1618
|
] }),
|
|
1619
|
-
/* @__PURE__ */ t(
|
|
1619
|
+
/* @__PURE__ */ t(jn, { text: i(e.start) })
|
|
1620
1620
|
] }),
|
|
1621
1621
|
/* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1622
1622
|
/* @__PURE__ */ t(me, { spacing: 1, children: ((g = (h = (d = e == null ? void 0 : e.outcome) == null ? void 0 : d[0]) == null ? void 0 : h.outcomes) != null ? g : []).map((f, v) => /* @__PURE__ */ t(mt, { text: f.label.toUpperCase() }, v)) }),
|
|
@@ -1627,10 +1627,10 @@ function Ja({ event: e, jersey: a }) {
|
|
|
1627
1627
|
] }) })
|
|
1628
1628
|
] });
|
|
1629
1629
|
}
|
|
1630
|
-
const
|
|
1630
|
+
const Yn = (e = 3) => Array.from({ length: e }, (n, a) => ({
|
|
1631
1631
|
body: "",
|
|
1632
1632
|
image: "",
|
|
1633
|
-
title: `sk-${
|
|
1633
|
+
title: `sk-${a}`,
|
|
1634
1634
|
summary_body: "",
|
|
1635
1635
|
summary_title: "",
|
|
1636
1636
|
groups_forbidden: [],
|
|
@@ -1639,10 +1639,10 @@ const Xa = (e = 3) => Array.from({ length: e }, (a, n) => ({
|
|
|
1639
1639
|
tags: "",
|
|
1640
1640
|
summary_image: ""
|
|
1641
1641
|
}));
|
|
1642
|
-
function
|
|
1642
|
+
function Qn({
|
|
1643
1643
|
items: e,
|
|
1644
|
-
title:
|
|
1645
|
-
iconUrl:
|
|
1644
|
+
title: n = "Destacados",
|
|
1645
|
+
iconUrl: a = "https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",
|
|
1646
1646
|
onViewMore: r,
|
|
1647
1647
|
onItemClick: i,
|
|
1648
1648
|
className: l = "",
|
|
@@ -1731,7 +1731,7 @@ function Ya({
|
|
|
1731
1731
|
paddingRight: E ? s : 0
|
|
1732
1732
|
},
|
|
1733
1733
|
children: [
|
|
1734
|
-
/* @__PURE__ */ t(ge, { title:
|
|
1734
|
+
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
1735
1735
|
/* @__PURE__ */ y("div", { style: { display: "flex", gap: 8 }, children: [
|
|
1736
1736
|
/* @__PURE__ */ t(
|
|
1737
1737
|
J,
|
|
@@ -1764,7 +1764,7 @@ function Ya({
|
|
|
1764
1764
|
he,
|
|
1765
1765
|
{
|
|
1766
1766
|
ref: d,
|
|
1767
|
-
items: f ?
|
|
1767
|
+
items: f ? Yn() : e,
|
|
1768
1768
|
perPage: void 0,
|
|
1769
1769
|
gap: "16px",
|
|
1770
1770
|
enableHorizontalWheel: !0,
|
|
@@ -1840,20 +1840,20 @@ function yt() {
|
|
|
1840
1840
|
const e = globalThis;
|
|
1841
1841
|
return e[Ne] || (e[Ne] = {}), e[Ne];
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function ea(e) {
|
|
1844
1844
|
yt().extras = e;
|
|
1845
1845
|
}
|
|
1846
1846
|
function le(e) {
|
|
1847
|
-
var
|
|
1848
|
-
return (
|
|
1847
|
+
var n;
|
|
1848
|
+
return (n = yt().extras) == null ? void 0 : n[e];
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function ta() {
|
|
1851
1851
|
delete globalThis[Ne];
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1853
|
+
function na({
|
|
1854
1854
|
items: e,
|
|
1855
|
-
title:
|
|
1856
|
-
iconUrl:
|
|
1855
|
+
title: n = "Top Juegos",
|
|
1856
|
+
iconUrl: a,
|
|
1857
1857
|
onCardClick: r
|
|
1858
1858
|
}) {
|
|
1859
1859
|
const i = oe(), l = re(), s = se(), d = ie(
|
|
@@ -1887,7 +1887,7 @@ function tn({
|
|
|
1887
1887
|
});
|
|
1888
1888
|
};
|
|
1889
1889
|
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
1890
|
-
/* @__PURE__ */ t(ge, { title:
|
|
1890
|
+
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
1891
1891
|
/* @__PURE__ */ t(
|
|
1892
1892
|
z,
|
|
1893
1893
|
{
|
|
@@ -1904,7 +1904,7 @@ function tn({
|
|
|
1904
1904
|
children: g.map((u, c) => {
|
|
1905
1905
|
var f, v;
|
|
1906
1906
|
return /* @__PURE__ */ t(
|
|
1907
|
-
|
|
1907
|
+
In,
|
|
1908
1908
|
{
|
|
1909
1909
|
imageUrl: h ? "" : u.background ? `https://olimpo.bet${u.background}` : `https://olimpo.bet${(f = u.logo) != null ? f : ""}`,
|
|
1910
1910
|
orden: h ? c + 1 : u.orden,
|
|
@@ -1920,12 +1920,12 @@ function tn({
|
|
|
1920
1920
|
)
|
|
1921
1921
|
] }) });
|
|
1922
1922
|
}
|
|
1923
|
-
const
|
|
1924
|
-
var
|
|
1923
|
+
const aa = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", oa = (e, n) => {
|
|
1924
|
+
var a, r, i, l, s, d, h, g, m, u, c, f, v, x;
|
|
1925
1925
|
return {
|
|
1926
|
-
orden: Number(
|
|
1926
|
+
orden: Number(n),
|
|
1927
1927
|
machine: String(
|
|
1928
|
-
(
|
|
1928
|
+
(a = e.id) != null ? a : e.external_id
|
|
1929
1929
|
),
|
|
1930
1930
|
logo: (r = e.logo) != null ? r : "",
|
|
1931
1931
|
name: (i = e.room_name) != null ? i : "",
|
|
@@ -1941,15 +1941,15 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1941
1941
|
demo_allowed: (v = e.demo_allowed) != null ? v : !1,
|
|
1942
1942
|
gaming_session_required: (x = e.gaming_session_required) != null ? x : !1
|
|
1943
1943
|
};
|
|
1944
|
-
},
|
|
1945
|
-
var
|
|
1944
|
+
}, ra = (e) => e ? !Array.isArray(e) && Array.isArray(e.recommendations) ? e.recommendations.filter(Boolean).map((n) => String(n)) : [] : [], xt = () => {
|
|
1945
|
+
var n, a, r;
|
|
1946
1946
|
const e = le("user");
|
|
1947
|
-
return (r = (
|
|
1948
|
-
},
|
|
1949
|
-
const
|
|
1950
|
-
userId: String(
|
|
1947
|
+
return (r = (a = (n = e == null ? void 0 : e.userId) != null ? n : e == null ? void 0 : e.user) != null ? a : e == null ? void 0 : e.id) != null ? r : null;
|
|
1948
|
+
}, ia = async (e) => {
|
|
1949
|
+
const n = xt(), a = new URLSearchParams({
|
|
1950
|
+
userId: String(n),
|
|
1951
1951
|
productType: e
|
|
1952
|
-
}), r = `${
|
|
1952
|
+
}), r = `${aa}?${a.toString()}`, i = await fetch(r);
|
|
1953
1953
|
if (!i.ok)
|
|
1954
1954
|
throw new Error(
|
|
1955
1955
|
`No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
|
|
@@ -1959,11 +1959,11 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1959
1959
|
...l,
|
|
1960
1960
|
recommendations: Array.isArray(l == null ? void 0 : l.recommendations) ? l.recommendations.slice(0, 49) : []
|
|
1961
1961
|
};
|
|
1962
|
-
},
|
|
1963
|
-
const
|
|
1962
|
+
}, la = async (e, n) => {
|
|
1963
|
+
const a = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/ranking", r = JSON.stringify({
|
|
1964
1964
|
userId: String(e),
|
|
1965
|
-
items:
|
|
1966
|
-
}), i = await fetch(
|
|
1965
|
+
items: n
|
|
1966
|
+
}), i = await fetch(a, {
|
|
1967
1967
|
method: "POST",
|
|
1968
1968
|
headers: {
|
|
1969
1969
|
"Content-Type": "application/json"
|
|
@@ -1973,29 +1973,29 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1973
1973
|
if (!i.ok)
|
|
1974
1974
|
throw new Error(`No se pudo obtener el ranking. HTTP ${i.status} ${i.statusText}`);
|
|
1975
1975
|
return (await i.json()).rankedItems;
|
|
1976
|
-
}, Ve = (e,
|
|
1976
|
+
}, Ve = (e, n = !1, a = "Casino") => {
|
|
1977
1977
|
const [r, i] = Z([]), [l, s] = Z(!1);
|
|
1978
1978
|
return Q(() => {
|
|
1979
1979
|
let d = !1;
|
|
1980
1980
|
return (async () => {
|
|
1981
|
-
if (!
|
|
1981
|
+
if (!n) {
|
|
1982
1982
|
i(Array.isArray(e) ? e : []), s(!1);
|
|
1983
1983
|
return;
|
|
1984
1984
|
}
|
|
1985
1985
|
s(!0);
|
|
1986
1986
|
try {
|
|
1987
|
-
const g = await
|
|
1987
|
+
const g = await ia(a), m = ra(g);
|
|
1988
1988
|
if (!m.length) {
|
|
1989
1989
|
d || i([]);
|
|
1990
1990
|
return;
|
|
1991
1991
|
}
|
|
1992
|
-
const u = xt(), c = await
|
|
1992
|
+
const u = xt(), c = await la(u, m), f = c.map((T) => T.itemId), v = await Promise.allSettled(
|
|
1993
1993
|
f.map(async (T, E) => {
|
|
1994
1994
|
const b = await fetch(`https://api.mktolimpo.com/api/machine/${T}`);
|
|
1995
1995
|
if (!b.ok)
|
|
1996
1996
|
throw new Error(`No se pudo obtener machine ${T}`);
|
|
1997
1997
|
const A = await b.json();
|
|
1998
|
-
return
|
|
1998
|
+
return oa(A, E);
|
|
1999
1999
|
})
|
|
2000
2000
|
);
|
|
2001
2001
|
if (d) return;
|
|
@@ -2010,21 +2010,21 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2010
2010
|
});
|
|
2011
2011
|
i(k);
|
|
2012
2012
|
} catch (g) {
|
|
2013
|
-
console.error(`[usePersonalizeGameItems:${
|
|
2013
|
+
console.error(`[usePersonalizeGameItems:${a}] error:`, g), d || i([]);
|
|
2014
2014
|
} finally {
|
|
2015
2015
|
d || s(!1);
|
|
2016
2016
|
}
|
|
2017
2017
|
})(), () => {
|
|
2018
2018
|
d = !0;
|
|
2019
2019
|
};
|
|
2020
|
-
}, [e,
|
|
2020
|
+
}, [e, n, a]), {
|
|
2021
2021
|
resolvedItems: r,
|
|
2022
2022
|
loading: l
|
|
2023
2023
|
};
|
|
2024
|
-
},
|
|
2025
|
-
var
|
|
2026
|
-
return (r = (
|
|
2027
|
-
},
|
|
2024
|
+
}, sa = (e, n = !1) => Ve(e, n, "Casino"), ca = (e, n = !1) => Ve(e, n, "Deportes virtuales"), da = (e, n = !1) => Ve(e, n, "Casino en vivo"), ua = (e, n) => {
|
|
2025
|
+
var a, r;
|
|
2026
|
+
return (r = (a = e.orden) != null ? a : e.machine) != null ? r : n;
|
|
2027
|
+
}, ma = (e) => {
|
|
2028
2028
|
if (typeof e == "boolean") return e;
|
|
2029
2029
|
if (typeof e == "string")
|
|
2030
2030
|
return e.toLowerCase() === "true";
|
|
@@ -2034,10 +2034,10 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2034
2034
|
return e.value.toLowerCase() === "true";
|
|
2035
2035
|
}
|
|
2036
2036
|
return !1;
|
|
2037
|
-
},
|
|
2037
|
+
}, pa = ({
|
|
2038
2038
|
items: e,
|
|
2039
|
-
title:
|
|
2040
|
-
subtitle:
|
|
2039
|
+
title: n = "Casino en vivo",
|
|
2040
|
+
subtitle: a = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
2041
2041
|
backgroundMobileUrl: r = "",
|
|
2042
2042
|
onCardClick: i,
|
|
2043
2043
|
backgroundDesktopUrl: l = "",
|
|
@@ -2045,7 +2045,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2045
2045
|
className: d,
|
|
2046
2046
|
isPersonalize: h = !1
|
|
2047
2047
|
}) => {
|
|
2048
|
-
const g = oe(), m = re(), u = se(), c =
|
|
2048
|
+
const g = oe(), m = re(), u = se(), c = ma(h), { resolvedItems: f, loading: v } = da(
|
|
2049
2049
|
e,
|
|
2050
2050
|
c
|
|
2051
2051
|
), x = c ? f : Array.isArray(e) ? e : [], k = c ? v : !Array.isArray(e) || e.length === 0, T = (b) => {
|
|
@@ -2159,7 +2159,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2159
2159
|
WebkitTextStroke: "0.5px rgba(255, 255, 255, .5)",
|
|
2160
2160
|
textShadow: "0 0 2px rgba(255, 255, 255, .95),0 0 4px rgba(255, 255, 255, .6),0 1px 0 #898989"
|
|
2161
2161
|
},
|
|
2162
|
-
children:
|
|
2162
|
+
children: n
|
|
2163
2163
|
}
|
|
2164
2164
|
),
|
|
2165
2165
|
/* @__PURE__ */ t(
|
|
@@ -2171,7 +2171,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2171
2171
|
marginX: { xs: 4, md: 0 },
|
|
2172
2172
|
lineHeight: 1.5
|
|
2173
2173
|
},
|
|
2174
|
-
children:
|
|
2174
|
+
children: a
|
|
2175
2175
|
}
|
|
2176
2176
|
),
|
|
2177
2177
|
/* @__PURE__ */ t(z, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(
|
|
@@ -2206,7 +2206,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2206
2206
|
machine: b.machine,
|
|
2207
2207
|
onClick: () => T(b)
|
|
2208
2208
|
},
|
|
2209
|
-
|
|
2209
|
+
ua(b, A)
|
|
2210
2210
|
);
|
|
2211
2211
|
})
|
|
2212
2212
|
}
|
|
@@ -2226,7 +2226,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2226
2226
|
]
|
|
2227
2227
|
}
|
|
2228
2228
|
);
|
|
2229
|
-
},
|
|
2229
|
+
}, fa = (e) => {
|
|
2230
2230
|
if (typeof e == "boolean") return e;
|
|
2231
2231
|
if (typeof e == "string")
|
|
2232
2232
|
return e.toLowerCase() === "true";
|
|
@@ -2236,10 +2236,10 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2236
2236
|
return e.value.toLowerCase() === "true";
|
|
2237
2237
|
}
|
|
2238
2238
|
return !1;
|
|
2239
|
-
}, St = (e,
|
|
2240
|
-
var
|
|
2241
|
-
return (r = (
|
|
2242
|
-
},
|
|
2239
|
+
}, St = (e, n) => {
|
|
2240
|
+
var a, r;
|
|
2241
|
+
return (r = (a = e.orden) != null ? a : e.machine) != null ? r : n;
|
|
2242
|
+
}, ga = (e, n = !0, a = 1) => {
|
|
2243
2243
|
const r = e.map((s, d) => {
|
|
2244
2244
|
var h;
|
|
2245
2245
|
return {
|
|
@@ -2251,7 +2251,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2251
2251
|
if (!r.length) return [];
|
|
2252
2252
|
const i = [];
|
|
2253
2253
|
let l = 0;
|
|
2254
|
-
if (
|
|
2254
|
+
if (n) {
|
|
2255
2255
|
const s = Math.min(r.length, 1);
|
|
2256
2256
|
i.push({
|
|
2257
2257
|
id: "mosaic-0",
|
|
@@ -2260,7 +2260,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2260
2260
|
}), l = s;
|
|
2261
2261
|
}
|
|
2262
2262
|
for (; l < r.length; ) {
|
|
2263
|
-
const s = Math.min(l +
|
|
2263
|
+
const s = Math.min(l + a, r.length);
|
|
2264
2264
|
i.push({
|
|
2265
2265
|
id: `grid-${l}`,
|
|
2266
2266
|
kind: "grid",
|
|
@@ -2268,17 +2268,17 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2268
2268
|
}), l = s;
|
|
2269
2269
|
}
|
|
2270
2270
|
return i;
|
|
2271
|
-
},
|
|
2271
|
+
}, ha = ({
|
|
2272
2272
|
items: e,
|
|
2273
|
-
title:
|
|
2274
|
-
iconUrl:
|
|
2273
|
+
title: n = "Casino",
|
|
2274
|
+
iconUrl: a = "/assets/img/home/Casino/diamante.svg",
|
|
2275
2275
|
onItemClick: r,
|
|
2276
2276
|
onViewMore: i,
|
|
2277
2277
|
mosaicFirst: l = !0,
|
|
2278
2278
|
gridSize: s = 1,
|
|
2279
2279
|
isPersonalize: d = !1
|
|
2280
2280
|
}) => {
|
|
2281
|
-
const h = oe(), g = re(), m = se(), u = U(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), v =
|
|
2281
|
+
const h = oe(), g = re(), m = se(), u = U(null), [c, f] = Z({ isStart: !0, isEnd: !1 }), v = fa(d), { resolvedItems: x, loading: k } = sa(
|
|
2282
2282
|
e,
|
|
2283
2283
|
v
|
|
2284
2284
|
), T = v ? x : Array.isArray(e) ? e : [], E = () => {
|
|
@@ -2329,7 +2329,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2329
2329
|
imageUrl: ""
|
|
2330
2330
|
})), q = [];
|
|
2331
2331
|
return I && q.push({ id: "mosaic-loading", kind: "mosaic", items: O(5) }), q.push({ id: "grid-loading", kind: "grid", items: O(_) }), q;
|
|
2332
|
-
}, S = v ? k : !Array.isArray(e) || e.length === 0, L = De("(max-width:950px)"), F = S ? w(l, s) :
|
|
2332
|
+
}, S = v ? k : !Array.isArray(e) || e.length === 0, L = De("(max-width:950px)"), F = S ? w(l, s) : ga(T, l, s);
|
|
2333
2333
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2334
2334
|
/* @__PURE__ */ y(
|
|
2335
2335
|
z,
|
|
@@ -2346,7 +2346,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2346
2346
|
}
|
|
2347
2347
|
},
|
|
2348
2348
|
children: [
|
|
2349
|
-
/* @__PURE__ */ t(ge, { title:
|
|
2349
|
+
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
2350
2350
|
/* @__PURE__ */ y(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2351
2351
|
/* @__PURE__ */ t(
|
|
2352
2352
|
J,
|
|
@@ -2425,7 +2425,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2425
2425
|
},
|
|
2426
2426
|
tags: {
|
|
2427
2427
|
game_name: String(O.machine || "unknown"),
|
|
2428
|
-
section:
|
|
2428
|
+
section: n || "Casino"
|
|
2429
2429
|
}
|
|
2430
2430
|
});
|
|
2431
2431
|
const q = le("showIframe"), M = le("loadMachine");
|
|
@@ -2437,7 +2437,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2437
2437
|
}
|
|
2438
2438
|
)
|
|
2439
2439
|
] }) });
|
|
2440
|
-
},
|
|
2440
|
+
}, ba = (e) => {
|
|
2441
2441
|
if (typeof e == "boolean") return e;
|
|
2442
2442
|
if (typeof e == "string")
|
|
2443
2443
|
return e.toLowerCase() === "true";
|
|
@@ -2447,10 +2447,10 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2447
2447
|
return e.value.toLowerCase() === "true";
|
|
2448
2448
|
}
|
|
2449
2449
|
return !1;
|
|
2450
|
-
}, wt = (e,
|
|
2451
|
-
var
|
|
2452
|
-
return (r = (
|
|
2453
|
-
},
|
|
2450
|
+
}, wt = (e, n) => {
|
|
2451
|
+
var a, r;
|
|
2452
|
+
return (r = (a = e.orden) != null ? a : e.machine) != null ? r : n;
|
|
2453
|
+
}, va = (e, n = !0, a = 1) => {
|
|
2454
2454
|
const r = e.map((s, d) => {
|
|
2455
2455
|
var h;
|
|
2456
2456
|
return {
|
|
@@ -2462,7 +2462,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2462
2462
|
if (!r.length) return [];
|
|
2463
2463
|
const i = [];
|
|
2464
2464
|
let l = 0;
|
|
2465
|
-
if (
|
|
2465
|
+
if (n) {
|
|
2466
2466
|
const s = Math.min(r.length, 1);
|
|
2467
2467
|
i.push({
|
|
2468
2468
|
id: "mosaic-0",
|
|
@@ -2471,7 +2471,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2471
2471
|
}), l = s;
|
|
2472
2472
|
}
|
|
2473
2473
|
for (; l < r.length; ) {
|
|
2474
|
-
const s = Math.min(l +
|
|
2474
|
+
const s = Math.min(l + a, r.length);
|
|
2475
2475
|
i.push({
|
|
2476
2476
|
id: `grid-${l}`,
|
|
2477
2477
|
kind: "grid",
|
|
@@ -2479,31 +2479,31 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2479
2479
|
}), l = s;
|
|
2480
2480
|
}
|
|
2481
2481
|
return i;
|
|
2482
|
-
},
|
|
2483
|
-
const
|
|
2482
|
+
}, _a = (e = !0, n = 4) => {
|
|
2483
|
+
const a = (i) => Array.from({ length: i }, (l, s) => ({
|
|
2484
2484
|
id: `sk-${i}-${s}`,
|
|
2485
2485
|
imageUrl: ""
|
|
2486
2486
|
})), r = [];
|
|
2487
2487
|
return e && r.push({
|
|
2488
2488
|
id: "mosaic-loading",
|
|
2489
2489
|
kind: "mosaic",
|
|
2490
|
-
items:
|
|
2490
|
+
items: a(5)
|
|
2491
2491
|
}), r.push({
|
|
2492
2492
|
id: "grid-loading",
|
|
2493
2493
|
kind: "grid",
|
|
2494
|
-
items: n
|
|
2494
|
+
items: a(n)
|
|
2495
2495
|
}), r;
|
|
2496
|
-
},
|
|
2496
|
+
}, ya = ({
|
|
2497
2497
|
items: e,
|
|
2498
|
-
title:
|
|
2499
|
-
iconUrl:
|
|
2498
|
+
title: n = "Virtuales",
|
|
2499
|
+
iconUrl: a = "/assets/img/home/Virtuales/virtuales.svg",
|
|
2500
2500
|
onItemClick: r,
|
|
2501
2501
|
onViewMore: i,
|
|
2502
2502
|
mosaicFirst: l = !0,
|
|
2503
2503
|
gridSize: s = 1,
|
|
2504
2504
|
isPersonalize: d = !1
|
|
2505
2505
|
}) => {
|
|
2506
|
-
const h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), f = se(), v =
|
|
2506
|
+
const h = U(null), [g, m] = Z({ isStart: !0, isEnd: !1 }), u = oe(), c = re(), f = se(), v = ba(d), { resolvedItems: x, loading: k } = ca(
|
|
2507
2507
|
e,
|
|
2508
2508
|
v
|
|
2509
2509
|
), T = v ? x : Array.isArray(e) ? e : [], E = () => {
|
|
@@ -2548,7 +2548,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2548
2548
|
return;
|
|
2549
2549
|
}
|
|
2550
2550
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2551
|
-
}, w = v ? k : !Array.isArray(e) || e.length === 0, S = xe("(max-width:950px)"), L = w ?
|
|
2551
|
+
}, w = v ? k : !Array.isArray(e) || e.length === 0, S = xe("(max-width:950px)"), L = w ? _a(l, s) : va(T, l, s);
|
|
2552
2552
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ y(H, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2553
2553
|
/* @__PURE__ */ y(
|
|
2554
2554
|
z,
|
|
@@ -2565,7 +2565,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2565
2565
|
}
|
|
2566
2566
|
},
|
|
2567
2567
|
children: [
|
|
2568
|
-
/* @__PURE__ */ t(ge, { title:
|
|
2568
|
+
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
2569
2569
|
/* @__PURE__ */ y(z, { sx: { display: "flex", gap: 1, justifyContent: "flex-end" }, children: [
|
|
2570
2570
|
/* @__PURE__ */ t(
|
|
2571
2571
|
J,
|
|
@@ -2650,7 +2650,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2650
2650
|
},
|
|
2651
2651
|
tags: {
|
|
2652
2652
|
game_name: String(_.machine || "unknown"),
|
|
2653
|
-
section:
|
|
2653
|
+
section: n || "Virtuales"
|
|
2654
2654
|
}
|
|
2655
2655
|
});
|
|
2656
2656
|
const O = le("showIframe"), q = le("loadMachine");
|
|
@@ -2666,7 +2666,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2666
2666
|
}
|
|
2667
2667
|
)
|
|
2668
2668
|
] }) });
|
|
2669
|
-
},
|
|
2669
|
+
}, xa = (e) => ({
|
|
2670
2670
|
position: "relative",
|
|
2671
2671
|
py: 8,
|
|
2672
2672
|
color: "#fff",
|
|
@@ -2688,7 +2688,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2688
2688
|
display: "inline-block",
|
|
2689
2689
|
fontWeight: 600,
|
|
2690
2690
|
fontSize: 24
|
|
2691
|
-
},
|
|
2691
|
+
}, nt = {
|
|
2692
2692
|
display: "inline-block",
|
|
2693
2693
|
fontSize: 24,
|
|
2694
2694
|
lineHeight: 1.1,
|
|
@@ -2698,13 +2698,13 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2698
2698
|
0 0 6px rgba(255, 255, 255, .6),
|
|
2699
2699
|
0 1px 0 rgba(137, 137, 137, .85)
|
|
2700
2700
|
`
|
|
2701
|
-
},
|
|
2701
|
+
}, Sa = ({
|
|
2702
2702
|
headline: e,
|
|
2703
|
-
headline2:
|
|
2704
|
-
items:
|
|
2703
|
+
headline2: n,
|
|
2704
|
+
items: a,
|
|
2705
2705
|
backgroundImageUrl: r
|
|
2706
2706
|
}) => {
|
|
2707
|
-
const i = oe(), l = re(), s = xe("(max-width: 767px)"), d =
|
|
2707
|
+
const i = oe(), l = re(), s = xe("(max-width: 767px)"), d = a.length > 1, h = U(null), g = U(null), m = U(!1), u = U(!1), [c, f] = Z(0), [v, x] = Z({ isStart: !0, isEnd: !1 });
|
|
2708
2708
|
Q(() => {
|
|
2709
2709
|
const _ = setTimeout(() => {
|
|
2710
2710
|
m.current = !0;
|
|
@@ -2715,13 +2715,13 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2715
2715
|
Q(() => {
|
|
2716
2716
|
k.current = v;
|
|
2717
2717
|
}, [v]);
|
|
2718
|
-
const T = U(!1), E = U(null), b =
|
|
2718
|
+
const T = U(!1), E = U(null), b = a == null ? void 0 : a[c], A = ie(
|
|
2719
2719
|
() => {
|
|
2720
2720
|
var _, O;
|
|
2721
2721
|
return (O = (_ = b == null ? void 0 : b.backgroundImageUrl) != null ? _ : r) != null ? O : "";
|
|
2722
2722
|
},
|
|
2723
2723
|
[b, r]
|
|
2724
|
-
), w =
|
|
2724
|
+
), w = xa(A), S = !a || a.length === 0, L = (_, O) => {
|
|
2725
2725
|
i({
|
|
2726
2726
|
element: "welcome_banner_button",
|
|
2727
2727
|
label: `OraculoSeccionBonoBienvenida - Banner button click: ${_.title || "OraculoSeccionBonoBienvenida - Banner " + (O + 1)}`,
|
|
@@ -2731,7 +2731,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2731
2731
|
metadata: {
|
|
2732
2732
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2733
2733
|
banner_position: O + 1,
|
|
2734
|
-
banner_total: (
|
|
2734
|
+
banner_total: (a == null ? void 0 : a.length) || 0
|
|
2735
2735
|
},
|
|
2736
2736
|
tags: {
|
|
2737
2737
|
banner_title: _.title || "no_title",
|
|
@@ -2744,7 +2744,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2744
2744
|
u.current = !1;
|
|
2745
2745
|
return;
|
|
2746
2746
|
}
|
|
2747
|
-
const O =
|
|
2747
|
+
const O = a == null ? void 0 : a[_];
|
|
2748
2748
|
i({
|
|
2749
2749
|
element: "welcome_banner_carousel",
|
|
2750
2750
|
label: `Landing: ${l} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (_ + 1)}`,
|
|
@@ -2754,7 +2754,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2754
2754
|
metadata: {
|
|
2755
2755
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2756
2756
|
slide_index: _ + 1,
|
|
2757
|
-
total_slides: (
|
|
2757
|
+
total_slides: (a == null ? void 0 : a.length) || 0,
|
|
2758
2758
|
interaction_type: "manual_slide"
|
|
2759
2759
|
},
|
|
2760
2760
|
tags: {
|
|
@@ -2782,7 +2782,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2782
2782
|
}, [S]);
|
|
2783
2783
|
const I = (_, O, q) => {
|
|
2784
2784
|
var P, V;
|
|
2785
|
-
const M = (P = _.headline) != null ? P : e, B = (V = _.headline2) != null ? V :
|
|
2785
|
+
const M = (P = _.headline) != null ? P : e, B = (V = _.headline2) != null ? V : n;
|
|
2786
2786
|
return O ? /* @__PURE__ */ y(
|
|
2787
2787
|
z,
|
|
2788
2788
|
{
|
|
@@ -2809,7 +2809,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2809
2809
|
M && /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: M }),
|
|
2810
2810
|
B && /* @__PURE__ */ y(pe, { children: [
|
|
2811
2811
|
/* @__PURE__ */ t("br", {}),
|
|
2812
|
-
/* @__PURE__ */ t(ue, { component: "span", sx:
|
|
2812
|
+
/* @__PURE__ */ t(ue, { component: "span", sx: nt, children: B })
|
|
2813
2813
|
] })
|
|
2814
2814
|
] })
|
|
2815
2815
|
}
|
|
@@ -2829,7 +2829,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2829
2829
|
M && /* @__PURE__ */ t(ue, { component: "span", sx: tt, children: M }),
|
|
2830
2830
|
B && /* @__PURE__ */ y(pe, { children: [
|
|
2831
2831
|
/* @__PURE__ */ t("br", {}),
|
|
2832
|
-
/* @__PURE__ */ t(ue, { component: "span", sx:
|
|
2832
|
+
/* @__PURE__ */ t(ue, { component: "span", sx: nt, children: B })
|
|
2833
2833
|
] })
|
|
2834
2834
|
] }),
|
|
2835
2835
|
/* @__PURE__ */ t(z, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
@@ -2847,7 +2847,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2847
2847
|
he,
|
|
2848
2848
|
{
|
|
2849
2849
|
ref: h,
|
|
2850
|
-
items:
|
|
2850
|
+
items: a,
|
|
2851
2851
|
perPage: 1,
|
|
2852
2852
|
gap: "0px",
|
|
2853
2853
|
options: {
|
|
@@ -2869,7 +2869,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2869
2869
|
d && /* @__PURE__ */ t(z, { sx: { mt: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
|
2870
2870
|
ut,
|
|
2871
2871
|
{
|
|
2872
|
-
total:
|
|
2872
|
+
total: a.length,
|
|
2873
2873
|
active: c,
|
|
2874
2874
|
onSelect: (_) => {
|
|
2875
2875
|
var O;
|
|
@@ -2882,7 +2882,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2882
2882
|
metadata: {
|
|
2883
2883
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
2884
2884
|
dot_index: _ + 1,
|
|
2885
|
-
total_dots:
|
|
2885
|
+
total_dots: a.length
|
|
2886
2886
|
},
|
|
2887
2887
|
tags: {
|
|
2888
2888
|
navigation_type: "dot_click"
|
|
@@ -2892,16 +2892,16 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2892
2892
|
}
|
|
2893
2893
|
) })
|
|
2894
2894
|
] });
|
|
2895
|
-
},
|
|
2895
|
+
}, wa = ({
|
|
2896
2896
|
className: e = "",
|
|
2897
|
-
fullBleed:
|
|
2898
|
-
items:
|
|
2897
|
+
fullBleed: n = !0,
|
|
2898
|
+
items: a,
|
|
2899
2899
|
selectedIndex: r = 0,
|
|
2900
2900
|
ariaLabel: i,
|
|
2901
2901
|
user: l = null
|
|
2902
2902
|
}) => {
|
|
2903
2903
|
const s = U(null), d = U(null), h = oe(), g = re(), m = se();
|
|
2904
|
-
if (!
|
|
2904
|
+
if (!a) return null;
|
|
2905
2905
|
const u = async () => {
|
|
2906
2906
|
let x = l;
|
|
2907
2907
|
if ((!(x != null && x.user) || !(x != null && x.session)) && typeof window != "undefined")
|
|
@@ -2947,7 +2947,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2947
2947
|
}, c = async () => {
|
|
2948
2948
|
const x = await u();
|
|
2949
2949
|
x ? window.location.href = x : typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
2950
|
-
}, f = Array.isArray(
|
|
2950
|
+
}, f = Array.isArray(a) ? a[r] : a;
|
|
2951
2951
|
Bt(() => {
|
|
2952
2952
|
if (!s.current || !d.current || typeof ResizeObserver == "undefined") return;
|
|
2953
2953
|
const x = s.current, k = d.current, T = () => {
|
|
@@ -2960,7 +2960,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2960
2960
|
}, []);
|
|
2961
2961
|
const v = [
|
|
2962
2962
|
"orc-co-wrap",
|
|
2963
|
-
|
|
2963
|
+
n ? "orc-co-fullBleed" : "",
|
|
2964
2964
|
e
|
|
2965
2965
|
].filter(Boolean).join(" ");
|
|
2966
2966
|
return /* @__PURE__ */ t(
|
|
@@ -2970,7 +2970,7 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2970
2970
|
className: v,
|
|
2971
2971
|
"aria-label": i || f.imgAlt || "Club Olimpo",
|
|
2972
2972
|
children: /* @__PURE__ */ t("div", { ref: d, children: /* @__PURE__ */ t(
|
|
2973
|
-
|
|
2973
|
+
On,
|
|
2974
2974
|
{
|
|
2975
2975
|
text: f.text,
|
|
2976
2976
|
onClick: c,
|
|
@@ -2983,21 +2983,21 @@ const an = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2983
2983
|
) })
|
|
2984
2984
|
}
|
|
2985
2985
|
);
|
|
2986
|
-
},
|
|
2987
|
-
controls:
|
|
2988
|
-
padding:
|
|
2989
|
-
},
|
|
2990
|
-
var
|
|
2991
|
-
return (
|
|
2986
|
+
}, Ia = "oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4", Oa = "oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF", at = {
|
|
2987
|
+
controls: Ia,
|
|
2988
|
+
padding: Oa
|
|
2989
|
+
}, Ea = (e) => {
|
|
2990
|
+
var n, a;
|
|
2991
|
+
return (n = e.outcome) != null && n.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((a = e.group) != null && a.groups) ? e.group.groups.flatMap((r) => {
|
|
2992
2992
|
var i, l;
|
|
2993
2993
|
return (l = (i = r.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? l : [];
|
|
2994
2994
|
}) : [];
|
|
2995
2995
|
};
|
|
2996
|
-
function
|
|
2997
|
-
return
|
|
2996
|
+
function Ca(e, n, a) {
|
|
2997
|
+
return a ? a.map((r) => {
|
|
2998
2998
|
var m, u;
|
|
2999
|
-
const i = r.prePackCouponRows.flatMap((c) =>
|
|
3000
|
-
for (const c of
|
|
2999
|
+
const i = r.prePackCouponRows.flatMap((c) => Ea(c).map((f) => ({ eventId: c.eventId, outcomeId: f }))), l = new Set(i.map((c) => c.eventId)), s = new Set(i.map((c) => c.outcomeId)), d = new Map(i.map((c, f) => [c.outcomeId, f])), h = {};
|
|
3000
|
+
for (const c of n) {
|
|
3001
3001
|
if (!l.has(c.eventId)) continue;
|
|
3002
3002
|
const f = c.outcomes.filter((v) => s.has(v.id)).map((v) => ({ ...v, position: d.get(v.id) }));
|
|
3003
3003
|
f.length && ((u = h[m = c.eventId]) != null || (h[m] = []), h[c.eventId].push({ ...c, outcomes: f }));
|
|
@@ -3009,25 +3009,25 @@ function Cn(e, a, n) {
|
|
|
3009
3009
|
return {
|
|
3010
3010
|
couponId: r.id,
|
|
3011
3011
|
status: r.status,
|
|
3012
|
-
combinadoTotal:
|
|
3012
|
+
combinadoTotal: ka(r.prePackCouponRows),
|
|
3013
3013
|
events: g
|
|
3014
3014
|
};
|
|
3015
3015
|
}) : [];
|
|
3016
3016
|
}
|
|
3017
|
-
function
|
|
3017
|
+
function ka(e) {
|
|
3018
3018
|
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
3019
|
-
let
|
|
3020
|
-
for (const
|
|
3021
|
-
const r =
|
|
3022
|
-
|
|
3019
|
+
let n = 1;
|
|
3020
|
+
for (const a of e) {
|
|
3021
|
+
const r = a.odds.decimal / 1e3, i = Math.round(r * 100) / 100;
|
|
3022
|
+
n *= i;
|
|
3023
3023
|
}
|
|
3024
|
-
return Math.floor(
|
|
3024
|
+
return Math.floor(n * 100) / 100;
|
|
3025
3025
|
}
|
|
3026
|
-
const
|
|
3027
|
-
function $
|
|
3026
|
+
const Ta = fe.memo(qn);
|
|
3027
|
+
function $a({
|
|
3028
3028
|
items: e,
|
|
3029
|
-
title:
|
|
3030
|
-
iconUrl:
|
|
3029
|
+
title: n = "Combinadas del Olimpo",
|
|
3030
|
+
iconUrl: a = "https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",
|
|
3031
3031
|
onViewMore: r,
|
|
3032
3032
|
className: i = ""
|
|
3033
3033
|
}) {
|
|
@@ -3065,7 +3065,7 @@ function $n({
|
|
|
3065
3065
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3066
3066
|
},
|
|
3067
3067
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
3068
|
-
}),
|
|
3068
|
+
}), Fn();
|
|
3069
3069
|
}, T = ie(() => u.filter((w) => w.combinadoTotal !== null), [u]);
|
|
3070
3070
|
async function E() {
|
|
3071
3071
|
var w, S, L, F;
|
|
@@ -3076,7 +3076,7 @@ function $n({
|
|
|
3076
3076
|
return;
|
|
3077
3077
|
}
|
|
3078
3078
|
const q = `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`, B = await (await fetch(q)).json();
|
|
3079
|
-
c(
|
|
3079
|
+
c(Ca(B.events, B.betOffers, B.prePackCoupons));
|
|
3080
3080
|
} catch (I) {
|
|
3081
3081
|
console.error("loadDataEventSpecial error:", I);
|
|
3082
3082
|
}
|
|
@@ -3091,9 +3091,9 @@ function $n({
|
|
|
3091
3091
|
width: "100%",
|
|
3092
3092
|
boxSizing: "border-box"
|
|
3093
3093
|
}, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3094
|
-
/* @__PURE__ */ t("div", { className:
|
|
3095
|
-
/* @__PURE__ */ t(ge, { title:
|
|
3096
|
-
/* @__PURE__ */ y("div", { className:
|
|
3094
|
+
/* @__PURE__ */ t("div", { className: at.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3095
|
+
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
3096
|
+
/* @__PURE__ */ y("div", { className: at.controls, children: [
|
|
3097
3097
|
/* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
|
|
3098
3098
|
/* @__PURE__ */ t(
|
|
3099
3099
|
J,
|
|
@@ -3135,13 +3135,13 @@ function $n({
|
|
|
3135
3135
|
breakpoints: {
|
|
3136
3136
|
768: { perPage: 1.2, gap: "12px", padding: { left: "24px", right: "24px" } }
|
|
3137
3137
|
},
|
|
3138
|
-
renderItem: (w) => /* @__PURE__ */ t(
|
|
3138
|
+
renderItem: (w) => /* @__PURE__ */ t(Ta, { coupon: w }),
|
|
3139
3139
|
onMove: ({ isStart: w, isEnd: S }) => m({ isStart: w, isEnd: S })
|
|
3140
3140
|
}
|
|
3141
3141
|
)
|
|
3142
3142
|
] }) });
|
|
3143
3143
|
}
|
|
3144
|
-
function
|
|
3144
|
+
function Na({}) {
|
|
3145
3145
|
return /* @__PURE__ */ t(
|
|
3146
3146
|
"div",
|
|
3147
3147
|
{
|
|
@@ -3175,19 +3175,19 @@ function Nn({}) {
|
|
|
3175
3175
|
}
|
|
3176
3176
|
);
|
|
3177
3177
|
}
|
|
3178
|
-
const
|
|
3179
|
-
fadeWrapper:
|
|
3178
|
+
const Ma = "oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4", Aa = {
|
|
3179
|
+
fadeWrapper: Ma
|
|
3180
3180
|
};
|
|
3181
3181
|
function Be({ children: e }) {
|
|
3182
|
-
return /* @__PURE__ */ t("div", { className:
|
|
3182
|
+
return /* @__PURE__ */ t("div", { className: Aa.fadeWrapper, children: e });
|
|
3183
3183
|
}
|
|
3184
|
-
const
|
|
3185
|
-
padding:
|
|
3184
|
+
const Ba = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", Ra = {
|
|
3185
|
+
padding: Ba
|
|
3186
3186
|
};
|
|
3187
3187
|
function It({
|
|
3188
3188
|
events: e,
|
|
3189
|
-
visibleRange:
|
|
3190
|
-
fetchJerseys:
|
|
3189
|
+
visibleRange: n,
|
|
3190
|
+
fetchJerseys: a,
|
|
3191
3191
|
buffer: r = 2,
|
|
3192
3192
|
debounceMs: i = 250
|
|
3193
3193
|
}) {
|
|
@@ -3196,7 +3196,7 @@ function It({
|
|
|
3196
3196
|
if (!(!e || e.length === 0))
|
|
3197
3197
|
return g.current && clearTimeout(g.current), g.current = setTimeout(() => {
|
|
3198
3198
|
var A, w;
|
|
3199
|
-
const u = (A =
|
|
3199
|
+
const u = (A = n.start) != null ? A : 0, c = (w = n.end) != null ? w : 7, f = Math.max(0, u - r), v = Math.min(e.length - 1, c + r);
|
|
3200
3200
|
let x = f, k = v;
|
|
3201
3201
|
const T = m.current;
|
|
3202
3202
|
T && (f > T.end && (x = T.end + 1), v < T.start && (k = T.start - 1)), m.current = { start: f, end: v };
|
|
@@ -3206,7 +3206,7 @@ function It({
|
|
|
3206
3206
|
const b = ++h.current;
|
|
3207
3207
|
(async () => {
|
|
3208
3208
|
try {
|
|
3209
|
-
const S = await
|
|
3209
|
+
const S = await a(E);
|
|
3210
3210
|
if (b !== h.current) {
|
|
3211
3211
|
E.forEach((F) => d.current.delete(F));
|
|
3212
3212
|
return;
|
|
@@ -3240,25 +3240,25 @@ function It({
|
|
|
3240
3240
|
}, i), () => {
|
|
3241
3241
|
g.current && clearTimeout(g.current);
|
|
3242
3242
|
};
|
|
3243
|
-
}, [e,
|
|
3243
|
+
}, [e, n, r, i, a]), {
|
|
3244
3244
|
jerseys: l,
|
|
3245
3245
|
isPending: d.current
|
|
3246
3246
|
};
|
|
3247
3247
|
}
|
|
3248
|
-
const
|
|
3249
|
-
const
|
|
3250
|
-
return e.filter((
|
|
3248
|
+
const La = (e) => {
|
|
3249
|
+
const n = ["esports", "cyber"];
|
|
3250
|
+
return e.filter((a) => {
|
|
3251
3251
|
var l, s;
|
|
3252
|
-
const r = (l =
|
|
3252
|
+
const r = (l = a == null ? void 0 : a.event) == null ? void 0 : l.sport;
|
|
3253
3253
|
if (typeof r != "string" || r !== "FOOTBALL") return !1;
|
|
3254
|
-
const i = typeof ((s =
|
|
3255
|
-
return !
|
|
3254
|
+
const i = typeof ((s = a == null ? void 0 : a.event) == null ? void 0 : s.group) == "string" ? a.event.group.toLowerCase() : "";
|
|
3255
|
+
return !n.some((d) => i.includes(d));
|
|
3256
3256
|
});
|
|
3257
|
-
},
|
|
3258
|
-
function
|
|
3257
|
+
}, Fa = fe.memo(Vn);
|
|
3258
|
+
function qa({
|
|
3259
3259
|
items: e,
|
|
3260
|
-
title:
|
|
3261
|
-
iconUrl:
|
|
3260
|
+
title: n = "En vivo",
|
|
3261
|
+
iconUrl: a = "https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",
|
|
3262
3262
|
onViewMore: r,
|
|
3263
3263
|
className: i = ""
|
|
3264
3264
|
}) {
|
|
@@ -3299,7 +3299,7 @@ function qn({
|
|
|
3299
3299
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3300
3300
|
},
|
|
3301
3301
|
tags: { section: "OraculoSeccionEventoEnVivo" }
|
|
3302
|
-
}),
|
|
3302
|
+
}), Rn();
|
|
3303
3303
|
}, L = ke(async () => {
|
|
3304
3304
|
var M;
|
|
3305
3305
|
try {
|
|
@@ -3314,7 +3314,7 @@ function qn({
|
|
|
3314
3314
|
}
|
|
3315
3315
|
const B = await fetch(l);
|
|
3316
3316
|
if (!B.ok) throw new Error("Failed to fetch live events");
|
|
3317
|
-
const P = await B.json(), V =
|
|
3317
|
+
const P = await B.json(), V = La(P.events);
|
|
3318
3318
|
if (b.current.size === 0)
|
|
3319
3319
|
m(V);
|
|
3320
3320
|
else {
|
|
@@ -3349,8 +3349,8 @@ function qn({
|
|
|
3349
3349
|
width: "100%",
|
|
3350
3350
|
boxSizing: "border-box"
|
|
3351
3351
|
}, children: /* @__PURE__ */ y(H, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
3352
|
-
/* @__PURE__ */ t("div", { className:
|
|
3353
|
-
/* @__PURE__ */ t(ge, { title:
|
|
3352
|
+
/* @__PURE__ */ t("div", { className: Ra.padding, children: /* @__PURE__ */ y(me, { spacing: 1.5, columns: "1fr auto ", justify: "start", children: [
|
|
3353
|
+
/* @__PURE__ */ t(ge, { title: n, iconUrl: a, size: "md" }),
|
|
3354
3354
|
/* @__PURE__ */ y("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
3355
3355
|
/* @__PURE__ */ y(me, { spacing: 1, columns: "auto auto", children: [
|
|
3356
3356
|
/* @__PURE__ */ t(
|
|
@@ -3397,8 +3397,8 @@ function qn({
|
|
|
3397
3397
|
renderItem: (M) => {
|
|
3398
3398
|
var V;
|
|
3399
3399
|
const B = ((V = M.event) == null ? void 0 : V.id) || M.eventId, P = B in F ? F[B] : void 0;
|
|
3400
|
-
return _ ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
|
|
3401
|
-
|
|
3400
|
+
return _ ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Na, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
|
|
3401
|
+
Fa,
|
|
3402
3402
|
{
|
|
3403
3403
|
...M,
|
|
3404
3404
|
jersey: P
|
|
@@ -3414,7 +3414,7 @@ function qn({
|
|
|
3414
3414
|
)
|
|
3415
3415
|
] }) });
|
|
3416
3416
|
}
|
|
3417
|
-
function
|
|
3417
|
+
function za() {
|
|
3418
3418
|
return /* @__PURE__ */ y("div", { className: be.cardContainer, children: [
|
|
3419
3419
|
/* @__PURE__ */ t(pt, { title: "" }),
|
|
3420
3420
|
/* @__PURE__ */ t("div", { className: be.cardBackground, children: /* @__PURE__ */ y(H, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
@@ -3442,39 +3442,39 @@ function zn() {
|
|
|
3442
3442
|
] }) })
|
|
3443
3443
|
] });
|
|
3444
3444
|
}
|
|
3445
|
-
const
|
|
3446
|
-
wrapper:
|
|
3447
|
-
container:
|
|
3448
|
-
buttonWrapper:
|
|
3449
|
-
padding:
|
|
3450
|
-
},
|
|
3451
|
-
async function
|
|
3445
|
+
const Pa = "oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-", Da = "oraculo__OraculoSeccionEventoSemana-module__container___5yFQs", Ua = "oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT", Va = "oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV", Oe = {
|
|
3446
|
+
wrapper: Pa,
|
|
3447
|
+
container: Da,
|
|
3448
|
+
buttonWrapper: Ua,
|
|
3449
|
+
padding: Va
|
|
3450
|
+
}, Wa = fe.memo(Xn);
|
|
3451
|
+
async function Ga(e, n = 2, a) {
|
|
3452
3452
|
const r = [];
|
|
3453
|
-
for (let i = 0; i < e.length; i +=
|
|
3454
|
-
if (
|
|
3453
|
+
for (let i = 0; i < e.length; i += n) {
|
|
3454
|
+
if (a.aborted)
|
|
3455
3455
|
throw new DOMException("Aborted", "AbortError");
|
|
3456
|
-
const l = e.slice(i, i +
|
|
3457
|
-
l.map((d) => fetch(d, { signal:
|
|
3456
|
+
const l = e.slice(i, i + n), s = await Promise.all(
|
|
3457
|
+
l.map((d) => fetch(d, { signal: a }).then((h) => h.json()))
|
|
3458
3458
|
);
|
|
3459
3459
|
r.push(...s);
|
|
3460
3460
|
}
|
|
3461
3461
|
return r;
|
|
3462
3462
|
}
|
|
3463
|
-
function
|
|
3463
|
+
function ja(e) {
|
|
3464
3464
|
return [...e].sort(
|
|
3465
|
-
(
|
|
3465
|
+
(n, a) => new Date(n.start).getTime() - new Date(a.start).getTime()
|
|
3466
3466
|
);
|
|
3467
3467
|
}
|
|
3468
|
-
function
|
|
3469
|
-
const
|
|
3468
|
+
function Ha(e) {
|
|
3469
|
+
const n = /* @__PURE__ */ new Date(), a = new Date(n.getTime() + 480 * 60 * 60 * 1e3);
|
|
3470
3470
|
return e.filter((r) => {
|
|
3471
3471
|
if (!r.start) return !1;
|
|
3472
3472
|
const i = new Date(r.start);
|
|
3473
|
-
return i >=
|
|
3473
|
+
return i >= n && i <= a;
|
|
3474
3474
|
});
|
|
3475
3475
|
}
|
|
3476
|
-
function
|
|
3477
|
-
const r =
|
|
3476
|
+
function Ka(e, n) {
|
|
3477
|
+
const r = n.filter((i) => {
|
|
3478
3478
|
var l;
|
|
3479
3479
|
return ((l = i.betOfferType) == null ? void 0 : l.id) === 2;
|
|
3480
3480
|
}).reduce((i, l) => (i[l.eventId] || (i[l.eventId] = []), i[l.eventId].push(l), i), {});
|
|
@@ -3483,10 +3483,10 @@ function Kn(e, a) {
|
|
|
3483
3483
|
outcome: r[i.id]
|
|
3484
3484
|
}));
|
|
3485
3485
|
}
|
|
3486
|
-
function
|
|
3486
|
+
function Za({
|
|
3487
3487
|
items: e,
|
|
3488
|
-
title:
|
|
3489
|
-
iconUrl:
|
|
3488
|
+
title: n = "En vivo",
|
|
3489
|
+
iconUrl: a,
|
|
3490
3490
|
onViewMore: r,
|
|
3491
3491
|
className: i = ""
|
|
3492
3492
|
}) {
|
|
@@ -3501,7 +3501,7 @@ function Zn({
|
|
|
3501
3501
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
3502
3502
|
},
|
|
3503
3503
|
tags: { section: "OraculoSeccionEventoSemana" }
|
|
3504
|
-
}),
|
|
3504
|
+
}), Ln();
|
|
3505
3505
|
};
|
|
3506
3506
|
async function E(I) {
|
|
3507
3507
|
var q, M;
|
|
@@ -3556,14 +3556,14 @@ function Zn({
|
|
|
3556
3556
|
}
|
|
3557
3557
|
async function b(I, _, O) {
|
|
3558
3558
|
try {
|
|
3559
|
-
const q = await
|
|
3559
|
+
const q = await Ga(I, 2, O);
|
|
3560
3560
|
let M = [], B = [];
|
|
3561
3561
|
q.forEach((K) => {
|
|
3562
3562
|
K.events && (M.push(...K.events.map((j) => j.event)), B.push(
|
|
3563
3563
|
...K.events.flatMap((j) => j.betOffers || [])
|
|
3564
3564
|
));
|
|
3565
3565
|
});
|
|
3566
|
-
const P =
|
|
3566
|
+
const P = Ka(M, B), V = ja(Ha(P));
|
|
3567
3567
|
let G = V;
|
|
3568
3568
|
if (_.length > 0) {
|
|
3569
3569
|
const K = new Map(
|
|
@@ -3637,7 +3637,7 @@ function Zn({
|
|
|
3637
3637
|
},
|
|
3638
3638
|
renderItem: (I) => {
|
|
3639
3639
|
const _ = I.id, O = _ in S ? S[_] : void 0;
|
|
3640
|
-
return L ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(
|
|
3640
|
+
return L ? /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(za, {}) }) : /* @__PURE__ */ t(Be, { children: /* @__PURE__ */ t(Wa, { event: I, jersey: O }) });
|
|
3641
3641
|
},
|
|
3642
3642
|
onMove: ({ isStart: I, isEnd: _, visibleStart: O, visibleEnd: q, source: M }) => {
|
|
3643
3643
|
u({ isStart: I, isEnd: _ }), x({
|
|
@@ -3663,34 +3663,34 @@ function Zn({
|
|
|
3663
3663
|
) })
|
|
3664
3664
|
] }) });
|
|
3665
3665
|
}
|
|
3666
|
-
const
|
|
3666
|
+
const Ja = -300, Xa = (e) => /[zZ]|[+-]\d{2}:\d{2}$/.test(e), ot = (e) => {
|
|
3667
3667
|
if (!e) return null;
|
|
3668
|
-
if (
|
|
3668
|
+
if (Xa(e)) {
|
|
3669
3669
|
const h = new Date(e).getTime();
|
|
3670
3670
|
return Number.isNaN(h) ? null : h;
|
|
3671
3671
|
}
|
|
3672
|
-
const
|
|
3672
|
+
const n = e.match(
|
|
3673
3673
|
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/
|
|
3674
3674
|
);
|
|
3675
|
-
if (!
|
|
3676
|
-
const [,
|
|
3675
|
+
if (!n) return null;
|
|
3676
|
+
const [, a, r, i, l, s, d = "00"] = n;
|
|
3677
3677
|
return Date.UTC(
|
|
3678
|
-
Number(
|
|
3678
|
+
Number(a),
|
|
3679
3679
|
Number(r) - 1,
|
|
3680
3680
|
Number(i),
|
|
3681
|
-
Number(l) -
|
|
3681
|
+
Number(l) - Ja / 60,
|
|
3682
3682
|
Number(s),
|
|
3683
3683
|
Number(d)
|
|
3684
3684
|
);
|
|
3685
|
-
},
|
|
3685
|
+
}, Ya = (e, n) => {
|
|
3686
3686
|
var d, h, g, m, u, c, f, v, x;
|
|
3687
|
-
const
|
|
3688
|
-
return !(l != null &&
|
|
3687
|
+
const a = (g = (h = (d = e == null ? void 0 : e.fields) != null ? d : e == null ? void 0 : e.parameters) != null ? h : e == null ? void 0 : e.extraFields) != null ? g : [], r = (c = (u = e == null ? void 0 : e.startAt) != null ? u : (m = a.find((k) => (k == null ? void 0 : k.name) === "startAt")) == null ? void 0 : m.value) != null ? c : null, i = (x = (v = e == null ? void 0 : e.endAt) != null ? v : (f = a.find((k) => (k == null ? void 0 : k.name) === "endAt")) == null ? void 0 : f.value) != null ? x : null, l = ot(r), s = ot(i);
|
|
3688
|
+
return !(l != null && n < l || s != null && n >= s);
|
|
3689
3689
|
};
|
|
3690
|
-
function
|
|
3690
|
+
function Qa({
|
|
3691
3691
|
backgrounds: e,
|
|
3692
|
-
items:
|
|
3693
|
-
hideItems:
|
|
3692
|
+
items: n,
|
|
3693
|
+
hideItems: a,
|
|
3694
3694
|
user: r = null
|
|
3695
3695
|
}) {
|
|
3696
3696
|
var te;
|
|
@@ -3698,12 +3698,12 @@ function Qn({
|
|
|
3698
3698
|
var R, D;
|
|
3699
3699
|
const $ = (R = p.item.order) != null ? R : Number.MAX_SAFE_INTEGER, N = (D = C.item.order) != null ? D : Number.MAX_SAFE_INTEGER;
|
|
3700
3700
|
return $ - N || p.index - C.index;
|
|
3701
|
-
}).map(({ item: p }) => p), E = ie(() => T(
|
|
3701
|
+
}).map(({ item: p }) => p), E = ie(() => T(n), [n]), b = ie(() => {
|
|
3702
3702
|
const o = (e != null ? e : []).filter(
|
|
3703
|
-
(p) =>
|
|
3703
|
+
(p) => Ya(p, c)
|
|
3704
3704
|
);
|
|
3705
3705
|
return T(o);
|
|
3706
|
-
}, [e, c]), A = b.length || 1, w = !b || b.length === 0, S = !w && b.length > 1, L = !
|
|
3706
|
+
}, [e, c]), A = b.length || 1, w = !b || b.length === 0, S = !w && b.length > 1, L = !a && E.length > 0;
|
|
3707
3707
|
De("(max-width:950px)");
|
|
3708
3708
|
const F = "#B5B5B5";
|
|
3709
3709
|
Q(() => {
|
|
@@ -3897,7 +3897,7 @@ function Qn({
|
|
|
3897
3897
|
u.current = !1, p === "user" && (G(), $ || X(o));
|
|
3898
3898
|
},
|
|
3899
3899
|
renderItem: (o, p) => {
|
|
3900
|
-
var D, Y,
|
|
3900
|
+
var D, Y, ae;
|
|
3901
3901
|
const C = !!o.idFunction, $ = !!o.href, N = $ && !C, R = C || $;
|
|
3902
3902
|
return /* @__PURE__ */ y(
|
|
3903
3903
|
ee,
|
|
@@ -3906,7 +3906,7 @@ function Qn({
|
|
|
3906
3906
|
href: N ? o.href : void 0,
|
|
3907
3907
|
target: N ? (D = o.target) != null ? D : "_self" : void 0,
|
|
3908
3908
|
rel: N && o.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3909
|
-
onClick: (
|
|
3909
|
+
onClick: (ne) => O(ne, o, p),
|
|
3910
3910
|
sx: {
|
|
3911
3911
|
position: "relative",
|
|
3912
3912
|
width: "100%",
|
|
@@ -3923,7 +3923,7 @@ function Qn({
|
|
|
3923
3923
|
ee,
|
|
3924
3924
|
{
|
|
3925
3925
|
component: "img",
|
|
3926
|
-
src: (
|
|
3926
|
+
src: (ae = (Y = o.fallbackSrc) != null ? Y : o.desktopSrc) != null ? ae : "",
|
|
3927
3927
|
alt: "",
|
|
3928
3928
|
"aria-hidden": !0,
|
|
3929
3929
|
loading: "lazy",
|
|
@@ -4166,9 +4166,9 @@ const eo = [
|
|
|
4166
4166
|
];
|
|
4167
4167
|
function to({
|
|
4168
4168
|
title: e = "Medios de pago",
|
|
4169
|
-
items:
|
|
4169
|
+
items: n = eo
|
|
4170
4170
|
}) {
|
|
4171
|
-
const
|
|
4171
|
+
const a = Math.ceil(n.length / 2), r = n.slice(0, a), i = n.slice(a);
|
|
4172
4172
|
return /* @__PURE__ */ y(ee, { component: "section", "aria-labelledby": "mp-title", sx: { color: "#fff" }, children: [
|
|
4173
4173
|
/* @__PURE__ */ t(
|
|
4174
4174
|
st,
|
|
@@ -4227,8 +4227,8 @@ function to({
|
|
|
4227
4227
|
function Ot({
|
|
4228
4228
|
children: e
|
|
4229
4229
|
}) {
|
|
4230
|
-
const
|
|
4231
|
-
() => qt(
|
|
4230
|
+
const n = Ft(), a = fe.useMemo(
|
|
4231
|
+
() => qt(n, {
|
|
4232
4232
|
typography: { fontFamily: "var(--orc-font)" },
|
|
4233
4233
|
components: {
|
|
4234
4234
|
MuiTypography: {
|
|
@@ -4238,33 +4238,33 @@ function Ot({
|
|
|
4238
4238
|
}
|
|
4239
4239
|
}
|
|
4240
4240
|
}),
|
|
4241
|
-
[
|
|
4241
|
+
[n]
|
|
4242
4242
|
);
|
|
4243
|
-
return /* @__PURE__ */ y(zt, { theme:
|
|
4243
|
+
return /* @__PURE__ */ y(zt, { theme: a, children: [
|
|
4244
4244
|
/* @__PURE__ */ t(Pt, {}),
|
|
4245
4245
|
e
|
|
4246
4246
|
] });
|
|
4247
4247
|
}
|
|
4248
4248
|
function Eo({
|
|
4249
4249
|
docId: e = "Landing: home",
|
|
4250
|
-
moduleId:
|
|
4251
|
-
children:
|
|
4250
|
+
moduleId: n = 301,
|
|
4251
|
+
children: a
|
|
4252
4252
|
}) {
|
|
4253
|
-
return /* @__PURE__ */ t(Ot, { children: /* @__PURE__ */ t(vt, { docId: e, moduleId:
|
|
4253
|
+
return /* @__PURE__ */ t(Ot, { children: /* @__PURE__ */ t(vt, { docId: e, moduleId: n, children: a }) });
|
|
4254
4254
|
}
|
|
4255
|
-
const
|
|
4256
|
-
OraculoSeccionDestacados:
|
|
4257
|
-
OraculoSeccionTopJuegos:
|
|
4258
|
-
OraculoSeccionCasinoEnVivo:
|
|
4259
|
-
OraculoSeccionCasino:
|
|
4260
|
-
OraculoSeccionVirtuales:
|
|
4261
|
-
OraculoSeccionClubOlimpo:
|
|
4262
|
-
OraculoSeccionBonoBienvenida:
|
|
4263
|
-
OraculoSeccionBanners:
|
|
4255
|
+
const no = {
|
|
4256
|
+
OraculoSeccionDestacados: Qn,
|
|
4257
|
+
OraculoSeccionTopJuegos: na,
|
|
4258
|
+
OraculoSeccionCasinoEnVivo: pa,
|
|
4259
|
+
OraculoSeccionCasino: ha,
|
|
4260
|
+
OraculoSeccionVirtuales: ya,
|
|
4261
|
+
OraculoSeccionClubOlimpo: wa,
|
|
4262
|
+
OraculoSeccionBonoBienvenida: Sa,
|
|
4263
|
+
OraculoSeccionBanners: Qa,
|
|
4264
4264
|
OraculoSeccionMediosPago: to,
|
|
4265
|
-
OraculoSeccionEventoEnVivo:
|
|
4266
|
-
OraculoSeccionEventoSemana:
|
|
4267
|
-
OraculoSeccionEventoCombinadas: $
|
|
4265
|
+
OraculoSeccionEventoEnVivo: qa,
|
|
4266
|
+
OraculoSeccionEventoSemana: Za,
|
|
4267
|
+
OraculoSeccionEventoCombinadas: $a
|
|
4268
4268
|
}, Ee = {
|
|
4269
4269
|
sections: [
|
|
4270
4270
|
{
|
|
@@ -4535,7 +4535,7 @@ const ao = {
|
|
|
4535
4535
|
dimensions: "1080x840",
|
|
4536
4536
|
id: "b393dfd3-c085-43e0-b68a-97cc04c06b6a",
|
|
4537
4537
|
validateDimensions: !1,
|
|
4538
|
-
value: "https://
|
|
4538
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/FondoMisiones.png",
|
|
4539
4539
|
isImage: !0,
|
|
4540
4540
|
name: "mobileSrc"
|
|
4541
4541
|
},
|
|
@@ -5200,7 +5200,7 @@ const ao = {
|
|
|
5200
5200
|
name: "backgroundImage",
|
|
5201
5201
|
id: "89710b59-2a6a-4de8-be9a-7d9274bad84b",
|
|
5202
5202
|
type: "string",
|
|
5203
|
-
value: "https://
|
|
5203
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/Fondo.png",
|
|
5204
5204
|
isUrl: !0
|
|
5205
5205
|
},
|
|
5206
5206
|
{
|
|
@@ -5253,7 +5253,7 @@ const ao = {
|
|
|
5253
5253
|
id: "541fcdc8-07a7-47b8-9a33-d22cb865823c",
|
|
5254
5254
|
type: "string",
|
|
5255
5255
|
isUrl: !0,
|
|
5256
|
-
value: "https://
|
|
5256
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/Fondo.png",
|
|
5257
5257
|
required: !0,
|
|
5258
5258
|
name: "backgroundImage"
|
|
5259
5259
|
},
|
|
@@ -5289,7 +5289,7 @@ const ao = {
|
|
|
5289
5289
|
{
|
|
5290
5290
|
type: "string",
|
|
5291
5291
|
id: "cae601b0-ed5d-4b97-9e1f-1816d7986c6b",
|
|
5292
|
-
value: "https://
|
|
5292
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/Fondobg.png",
|
|
5293
5293
|
isUrl: !0,
|
|
5294
5294
|
required: !1,
|
|
5295
5295
|
name: "backgroundImageUrl"
|
|
@@ -5342,7 +5342,7 @@ const ao = {
|
|
|
5342
5342
|
name: "backgroundMobileUrl",
|
|
5343
5343
|
isImage: !0,
|
|
5344
5344
|
required: !1,
|
|
5345
|
-
value: "https://
|
|
5345
|
+
value: "https://d28gilnhu2bcbp.cloudfront.net/landing/FondoMobile.png",
|
|
5346
5346
|
maxSizeMB: 2,
|
|
5347
5347
|
id: "6dcfd666-c2db-4a19-9fbf-08167bf56ae0",
|
|
5348
5348
|
type: "string"
|
|
@@ -5633,35 +5633,35 @@ const ao = {
|
|
|
5633
5633
|
componentKey: "OraculoSeccionMediosPago"
|
|
5634
5634
|
}
|
|
5635
5635
|
]
|
|
5636
|
-
},
|
|
5636
|
+
}, ao = (e) => typeof e == "function" || e && typeof e == "object" && "$$typeof" in e, oo = (e) => /^OraculoSeccion[A-Z]/.test(e);
|
|
5637
5637
|
function Se(e) {
|
|
5638
|
-
return e && Array.isArray(e.sections) ? e.sections.slice().sort((
|
|
5638
|
+
return e && Array.isArray(e.sections) ? e.sections.slice().sort((n, a) => {
|
|
5639
5639
|
var r, i;
|
|
5640
|
-
return ((r =
|
|
5641
|
-
}).map((
|
|
5640
|
+
return ((r = n.order) != null ? r : 0) - ((i = a.order) != null ? i : 0);
|
|
5641
|
+
}).map((n, a) => ({ ...n, order: a + 1 })) : e && Array.isArray(e.components) ? e.components.map((n, a) => {
|
|
5642
5642
|
var r, i, l, s, d;
|
|
5643
5643
|
return {
|
|
5644
|
-
id: (r =
|
|
5645
|
-
title: (i =
|
|
5646
|
-
componentKey:
|
|
5647
|
-
visible: (l =
|
|
5648
|
-
order:
|
|
5649
|
-
props: (s =
|
|
5650
|
-
apiUrl: (d =
|
|
5651
|
-
dataMode:
|
|
5652
|
-
variableName:
|
|
5653
|
-
manualItems:
|
|
5654
|
-
apiMethod:
|
|
5655
|
-
apiParams:
|
|
5656
|
-
manualScalarFields:
|
|
5657
|
-
variableName2:
|
|
5658
|
-
manualItems2:
|
|
5644
|
+
id: (r = n.id) != null ? r : a + 1,
|
|
5645
|
+
title: (i = n.title) != null ? i : "",
|
|
5646
|
+
componentKey: n.componentKey,
|
|
5647
|
+
visible: (l = n.visible) != null ? l : !0,
|
|
5648
|
+
order: a + 1,
|
|
5649
|
+
props: (s = n.props) != null ? s : {},
|
|
5650
|
+
apiUrl: (d = n.apiUrl) != null ? d : "",
|
|
5651
|
+
dataMode: n.dataMode,
|
|
5652
|
+
variableName: n.variableName,
|
|
5653
|
+
manualItems: n.manualItems,
|
|
5654
|
+
apiMethod: n.apiMethod,
|
|
5655
|
+
apiParams: n.apiParams,
|
|
5656
|
+
manualScalarFields: n.manualScalarFields,
|
|
5657
|
+
variableName2: n.variableName2,
|
|
5658
|
+
manualItems2: n.manualItems2
|
|
5659
5659
|
};
|
|
5660
5660
|
}) : [];
|
|
5661
5661
|
}
|
|
5662
5662
|
const ro = Object.fromEntries(
|
|
5663
|
-
Object.entries(
|
|
5664
|
-
([e,
|
|
5663
|
+
Object.entries(no).filter(
|
|
5664
|
+
([e, n]) => oo(e) && ao(n)
|
|
5665
5665
|
)
|
|
5666
5666
|
), io = (e) => {
|
|
5667
5667
|
try {
|
|
@@ -5671,24 +5671,24 @@ const ro = Object.fromEntries(
|
|
|
5671
5671
|
}
|
|
5672
5672
|
};
|
|
5673
5673
|
class rt extends Error {
|
|
5674
|
-
constructor(
|
|
5675
|
-
super(`HTTP ${
|
|
5674
|
+
constructor(n, a, r) {
|
|
5675
|
+
super(`HTTP ${n} ${r}`), this.status = n, this.url = a, this.statusText = r, this.name = "HttpError";
|
|
5676
5676
|
}
|
|
5677
5677
|
}
|
|
5678
5678
|
class lo extends fe.Component {
|
|
5679
|
-
constructor(
|
|
5680
|
-
super(
|
|
5679
|
+
constructor(n) {
|
|
5680
|
+
super(n), this.state = { hasError: !1 };
|
|
5681
5681
|
}
|
|
5682
5682
|
static getDerivedStateFromError() {
|
|
5683
5683
|
return { hasError: !0 };
|
|
5684
5684
|
}
|
|
5685
|
-
componentDidCatch(
|
|
5685
|
+
componentDidCatch(n, a) {
|
|
5686
5686
|
console.error("[landing] sección que falló:", {
|
|
5687
5687
|
id: this.props.section.id,
|
|
5688
5688
|
title: this.props.section.title,
|
|
5689
5689
|
componentKey: this.props.section.componentKey,
|
|
5690
|
-
error:
|
|
5691
|
-
info:
|
|
5690
|
+
error: n,
|
|
5691
|
+
info: a
|
|
5692
5692
|
});
|
|
5693
5693
|
}
|
|
5694
5694
|
render() {
|
|
@@ -5707,8 +5707,8 @@ const it = [
|
|
|
5707
5707
|
"OraculoSeccionDestacados"
|
|
5708
5708
|
], Co = ({
|
|
5709
5709
|
sectionsOverride: e,
|
|
5710
|
-
docId:
|
|
5711
|
-
moduleId:
|
|
5710
|
+
docId: n = "Landing: home",
|
|
5711
|
+
moduleId: a = 301,
|
|
5712
5712
|
db: r,
|
|
5713
5713
|
extras: i,
|
|
5714
5714
|
loader: l,
|
|
@@ -5755,11 +5755,11 @@ const it = [
|
|
|
5755
5755
|
};
|
|
5756
5756
|
c(!0);
|
|
5757
5757
|
const p = Dt(
|
|
5758
|
-
Ut(r, "landings",
|
|
5758
|
+
Ut(r, "landings", n),
|
|
5759
5759
|
(C) => {
|
|
5760
5760
|
try {
|
|
5761
5761
|
if (!C.exists()) {
|
|
5762
|
-
o(`doc landings/${
|
|
5762
|
+
o(`doc landings/${n} no existe`);
|
|
5763
5763
|
return;
|
|
5764
5764
|
}
|
|
5765
5765
|
const $ = C.data(), N = Se($);
|
|
@@ -5779,7 +5779,7 @@ const it = [
|
|
|
5779
5779
|
}
|
|
5780
5780
|
);
|
|
5781
5781
|
return () => p();
|
|
5782
|
-
}, [e,
|
|
5782
|
+
}, [e, n, r]), Q(() => (ea(d), () => ta()), [d]), Q(() => {
|
|
5783
5783
|
(e ? e.slice() : g.slice()).map((C) => C.componentKey).filter((C) => !!C).length;
|
|
5784
5784
|
}, [e, g]);
|
|
5785
5785
|
const _ = async (o) => {
|
|
@@ -5794,18 +5794,18 @@ const it = [
|
|
|
5794
5794
|
const C = o.apiMethod || "GET", $ = o.apiParams || [];
|
|
5795
5795
|
let N = p, R, D;
|
|
5796
5796
|
if (C === "GET") {
|
|
5797
|
-
const
|
|
5797
|
+
const ae = new URL(
|
|
5798
5798
|
p,
|
|
5799
5799
|
typeof window == "undefined" ? "http://localhost" : window.location.origin
|
|
5800
5800
|
);
|
|
5801
|
-
for (const
|
|
5802
|
-
|
|
5803
|
-
N =
|
|
5801
|
+
for (const ne of $)
|
|
5802
|
+
ne.key && ae.searchParams.append(ne.key, ne.value);
|
|
5803
|
+
N = ae.toString();
|
|
5804
5804
|
} else {
|
|
5805
|
-
const
|
|
5806
|
-
for (const
|
|
5807
|
-
|
|
5808
|
-
R =
|
|
5805
|
+
const ae = new URLSearchParams();
|
|
5806
|
+
for (const ne of $)
|
|
5807
|
+
ne.key && ae.append(ne.key, ne.value);
|
|
5808
|
+
R = ae.toString(), D = {
|
|
5809
5809
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
5810
5810
|
};
|
|
5811
5811
|
}
|
|
@@ -5922,8 +5922,8 @@ const it = [
|
|
|
5922
5922
|
$,
|
|
5923
5923
|
o.variableName
|
|
5924
5924
|
), o.variableName2 && o.manualItems2) {
|
|
5925
|
-
const Y = B(o.manualItems2),
|
|
5926
|
-
$[
|
|
5925
|
+
const Y = B(o.manualItems2), ae = (o.variableName2 || "items2").trim() || "items2";
|
|
5926
|
+
$[ae] = Y;
|
|
5927
5927
|
}
|
|
5928
5928
|
}
|
|
5929
5929
|
return $;
|
|
@@ -5975,7 +5975,7 @@ const it = [
|
|
|
5975
5975
|
"OraculoSeccionDestacados",
|
|
5976
5976
|
"OraculoSeccionCasino"
|
|
5977
5977
|
]
|
|
5978
|
-
])).has(o.componentKey), R = b ? 120 : 24, D = (b ? 8 : 5) * 8, Y = o.componentKey === "OraculoSeccionCasinoEnVivo",
|
|
5978
|
+
])).has(o.componentKey), R = b ? 120 : 24, D = (b ? 8 : 5) * 8, Y = o.componentKey === "OraculoSeccionCasinoEnVivo", ae = {
|
|
5979
5979
|
width: "100%",
|
|
5980
5980
|
boxSizing: "border-box",
|
|
5981
5981
|
...N ? {} : { paddingLeft: R, paddingRight: R },
|
|
@@ -5990,8 +5990,8 @@ const it = [
|
|
|
5990
5990
|
"component",
|
|
5991
5991
|
`Componente "${p}" no encontrado`
|
|
5992
5992
|
);
|
|
5993
|
-
const
|
|
5994
|
-
if (
|
|
5993
|
+
const ne = !!((He = o.apiUrl) != null && He.trim()), We = ne ? f[o.id] : void 0, Et = ne ? !!x[o.id] : !1, Ge = ne ? T[o.id] : "";
|
|
5994
|
+
if (ne) {
|
|
5995
5995
|
const kt = so.includes(o.componentKey);
|
|
5996
5996
|
if (Et && !We && !kt)
|
|
5997
5997
|
return X(
|
|
@@ -6004,7 +6004,7 @@ const it = [
|
|
|
6004
6004
|
if (we && we.dataMode === "manual")
|
|
6005
6005
|
try {
|
|
6006
6006
|
const Fe = j(we);
|
|
6007
|
-
return /* @__PURE__ */ t("div", { style:
|
|
6007
|
+
return /* @__PURE__ */ t("div", { style: ae, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(C, { ...Fe }) }, o.id);
|
|
6008
6008
|
} catch (Fe) {
|
|
6009
6009
|
console.error(
|
|
6010
6010
|
"🔥 ERROR renderizando fallback manual de sección:",
|
|
@@ -6026,14 +6026,14 @@ const it = [
|
|
|
6026
6026
|
return /* @__PURE__ */ t(lo, { section: o, children: /* @__PURE__ */ t(
|
|
6027
6027
|
"div",
|
|
6028
6028
|
{
|
|
6029
|
-
style:
|
|
6029
|
+
style: ae,
|
|
6030
6030
|
className: "oraculo-section-wrapper",
|
|
6031
6031
|
children: /* @__PURE__ */ t(C, { ...Ct })
|
|
6032
6032
|
},
|
|
6033
6033
|
o.id
|
|
6034
6034
|
) });
|
|
6035
6035
|
};
|
|
6036
|
-
return u && !e && g.length === 0 ? h ? /* @__PURE__ */ t(h, {}) : /* @__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(Ot, { children: /* @__PURE__ */ t(vt, { docId:
|
|
6036
|
+
return u && !e && g.length === 0 ? h ? /* @__PURE__ */ t(h, {}) : /* @__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(Ot, { children: /* @__PURE__ */ t(vt, { docId: n, moduleId: a, children: /* @__PURE__ */ t(
|
|
6037
6037
|
Tt,
|
|
6038
6038
|
{
|
|
6039
6039
|
className: "oli-font",
|
|
@@ -6062,40 +6062,40 @@ export {
|
|
|
6062
6062
|
J as OraculoButton,
|
|
6063
6063
|
he as OraculoCarousel,
|
|
6064
6064
|
ut as OraculoCarouselDots,
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6065
|
+
On as OraculoClubOlimpoVisual,
|
|
6066
|
+
qn as OraculoEventCombinadasCard,
|
|
6067
|
+
Vn as OraculoEventEnVivoCard,
|
|
6068
6068
|
Zt as OraculoEventHeader,
|
|
6069
6069
|
mt as OraculoEventLabel,
|
|
6070
6070
|
pt as OraculoEventLeague,
|
|
6071
6071
|
ft as OraculoEventScore,
|
|
6072
|
-
|
|
6072
|
+
Xn as OraculoEventSemanaCard,
|
|
6073
6073
|
Kt as OraculoEventStatus,
|
|
6074
6074
|
Ht as OraculoEventStatusBadge,
|
|
6075
6075
|
Me as OraculoEventTeamInfo,
|
|
6076
6076
|
Te as OraculoGameCard,
|
|
6077
|
-
|
|
6077
|
+
In as OraculoGameRankCard,
|
|
6078
6078
|
gt as OraculoGameSlide,
|
|
6079
6079
|
me as OraculoGridGroup,
|
|
6080
6080
|
Je as OraculoLiveCasinoCard,
|
|
6081
6081
|
Ze as OraculoLogoMediosPago,
|
|
6082
6082
|
Co as OraculoPageLandingPreview,
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
$
|
|
6090
|
-
|
|
6091
|
-
|
|
6083
|
+
Qa as OraculoSeccionBanners,
|
|
6084
|
+
Sa as OraculoSeccionBonoBienvenida,
|
|
6085
|
+
ha as OraculoSeccionCasino,
|
|
6086
|
+
pa as OraculoSeccionCasinoEnVivo,
|
|
6087
|
+
wa as OraculoSeccionClubOlimpo,
|
|
6088
|
+
Qn as OraculoSeccionDestacados,
|
|
6089
|
+
$a as OraculoSeccionEventoCombinadas,
|
|
6090
|
+
qa as OraculoSeccionEventoEnVivo,
|
|
6091
|
+
Za as OraculoSeccionEventoSemana,
|
|
6092
6092
|
to as OraculoSeccionMediosPago,
|
|
6093
|
-
|
|
6094
|
-
|
|
6093
|
+
na as OraculoSeccionTopJuegos,
|
|
6094
|
+
ya as OraculoSeccionVirtuales,
|
|
6095
6095
|
Eo as OraculoSectionHost,
|
|
6096
6096
|
ge as OraculoSectionTitle,
|
|
6097
6097
|
Ot as OraculoThemeProvider,
|
|
6098
|
-
|
|
6098
|
+
na as OraculoTopJuegoItem,
|
|
6099
6099
|
Xe as OraculoWelcomeBanner,
|
|
6100
6100
|
Co as default
|
|
6101
6101
|
};
|