oraculo-ui 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +211 -207
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -20,12 +20,12 @@ function K({
|
|
|
20
20
|
href: n,
|
|
21
21
|
target: o,
|
|
22
22
|
rel: i,
|
|
23
|
-
type:
|
|
23
|
+
type: r = "button",
|
|
24
24
|
disabled: s = !1,
|
|
25
25
|
variant: u = "primary",
|
|
26
26
|
size: b,
|
|
27
27
|
fullWidth: h = !1,
|
|
28
|
-
fullHeight:
|
|
28
|
+
fullHeight: l = !1,
|
|
29
29
|
className: c = "",
|
|
30
30
|
ariaLabel: m,
|
|
31
31
|
leftIcon: p,
|
|
@@ -37,7 +37,7 @@ function K({
|
|
|
37
37
|
u === "secondary" ? "orc-btn--secondary" : u === "tertiary" ? "orc-btn--tertiary" : "orc-btn--primary",
|
|
38
38
|
b ? `orc-btn--${b}` : "",
|
|
39
39
|
h ? "orc-btn--full" : "",
|
|
40
|
-
|
|
40
|
+
l ? "orc-btn--fullHeight" : "",
|
|
41
41
|
L ? "orc-btn--iconOnly" : "",
|
|
42
42
|
c
|
|
43
43
|
].filter(Boolean).join(" "), F = /* @__PURE__ */ f(ae, { children: [
|
|
@@ -61,7 +61,7 @@ function K({
|
|
|
61
61
|
) : /* @__PURE__ */ t(
|
|
62
62
|
"button",
|
|
63
63
|
{
|
|
64
|
-
type:
|
|
64
|
+
type: r,
|
|
65
65
|
onClick: a,
|
|
66
66
|
disabled: !!w,
|
|
67
67
|
"aria-label": m,
|
|
@@ -76,12 +76,12 @@ function se({
|
|
|
76
76
|
size: n = "md",
|
|
77
77
|
className: o = ""
|
|
78
78
|
}) {
|
|
79
|
-
const
|
|
79
|
+
const r = [
|
|
80
80
|
"orc-section-title",
|
|
81
81
|
n ? `orc-section-title--${n}` : "",
|
|
82
82
|
o
|
|
83
83
|
].filter(Boolean).join(" ");
|
|
84
|
-
return /* @__PURE__ */ f("div", { className:
|
|
84
|
+
return /* @__PURE__ */ f("div", { className: r, children: [
|
|
85
85
|
a && /* @__PURE__ */ t(
|
|
86
86
|
"img",
|
|
87
87
|
{
|
|
@@ -101,27 +101,27 @@ const at = ({
|
|
|
101
101
|
durationMs: i = 5e3
|
|
102
102
|
}) => {
|
|
103
103
|
if (e <= 1) return null;
|
|
104
|
-
const
|
|
104
|
+
const r = ["orc-dots", o].filter(Boolean).join(" "), [s, u] = H(0);
|
|
105
105
|
return J(() => {
|
|
106
106
|
u((b) => b + 1);
|
|
107
|
-
}, [a, i]), /* @__PURE__ */ t("div", { className:
|
|
108
|
-
const
|
|
107
|
+
}, [a, i]), /* @__PURE__ */ t("div", { className: r, role: "tablist", "aria-label": "Carousel pagination", children: Array.from({ length: e }).map((b, h) => {
|
|
108
|
+
const l = h === a;
|
|
109
109
|
return /* @__PURE__ */ t("span", { className: "orc-dots__cell", children: /* @__PURE__ */ t(
|
|
110
110
|
"button",
|
|
111
111
|
{
|
|
112
112
|
type: "button",
|
|
113
113
|
role: "tab",
|
|
114
|
-
"aria-selected":
|
|
114
|
+
"aria-selected": l,
|
|
115
115
|
"aria-label": `Ir al slide ${h + 1}`,
|
|
116
|
-
className: "orc-dots__dot" + (
|
|
117
|
-
style:
|
|
116
|
+
className: "orc-dots__dot" + (l ? " orc-dots__dot--active" : ""),
|
|
117
|
+
style: l ? {
|
|
118
118
|
"--dot-progress-ms": `${i}ms`
|
|
119
119
|
} : void 0,
|
|
120
120
|
onClick: () => {
|
|
121
|
-
|
|
121
|
+
l && u((c) => c + 1), n == null || n(h);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
-
|
|
124
|
+
l ? `a-${h}-${s}` : `i-${h}`
|
|
125
125
|
) }, h);
|
|
126
126
|
}) });
|
|
127
127
|
};
|
|
@@ -132,13 +132,13 @@ function re({
|
|
|
132
132
|
justify: o = "stretch",
|
|
133
133
|
columns: i = null
|
|
134
134
|
}) {
|
|
135
|
-
const
|
|
135
|
+
const r = i || `repeat(auto-fit, minmax(${a}px, 1fr))`, s = typeof n == "number" ? `${n * 8}px` : n;
|
|
136
136
|
return /* @__PURE__ */ t(
|
|
137
137
|
"div",
|
|
138
138
|
{
|
|
139
139
|
style: {
|
|
140
140
|
display: "grid",
|
|
141
|
-
gridTemplateColumns:
|
|
141
|
+
gridTemplateColumns: r,
|
|
142
142
|
justifyItems: o,
|
|
143
143
|
gap: s,
|
|
144
144
|
height: "inherit"
|
|
@@ -308,7 +308,7 @@ const Gt = "oraculo__OraculoEventTeamInfo-module__team___UfpUs", jt = "oraculo__
|
|
|
308
308
|
highlight: ea
|
|
309
309
|
};
|
|
310
310
|
function ta({ jersey: e, className: a }) {
|
|
311
|
-
const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null,
|
|
311
|
+
const n = `#${e.base}`, o = e.sleeve ? `#${e.sleeve}` : n, i = e.stripes ? `#${e.stripes}` : null, r = e.sleevelong ? `#${e.sleevelong}` : null;
|
|
312
312
|
return /* @__PURE__ */ f("div", { className: `${ve.polo} ${a != null ? a : ""}`, children: [
|
|
313
313
|
/* @__PURE__ */ t("div", { className: ve.svgWrapper, children: /* @__PURE__ */ f("svg", { viewBox: "0 0 656 656", "aria-hidden": !0, children: [
|
|
314
314
|
/* @__PURE__ */ t(
|
|
@@ -322,7 +322,7 @@ function ta({ jersey: e, className: a }) {
|
|
|
322
322
|
/* @__PURE__ */ t("path", { fill: i, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }),
|
|
323
323
|
/* @__PURE__ */ t("path", { fill: i, d: "M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z" })
|
|
324
324
|
] }),
|
|
325
|
-
|
|
325
|
+
r && /* @__PURE__ */ t(ae, { children: /* @__PURE__ */ t("path", { fill: r, d: "m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3.9 1.7-1.9 3.6-3.6 3-2.9a109.3 109.3 0 0 1 13.3-11.2l1.2-.8a79.3 79.3 0 0 1 18-9l11.4-4.2 4-1.4 6.3-2.7 3.3-1.4 2.8-1.2 4-1.6 3.9-2.1 10.1-5 4.8-2.4 5.7-3.2 13.8-7.7c1.5-.8 4.7-2.7 6-3a8.5 8.5 0 0 0 3-1.8c3.4-2.5 4.5-4.8 6-5.3.4-.4 2-1.6 5.2-3.2-4.4 3.3-3.2 11-2.1 14.6a77 77 0 0 0 8.7 18.8l-.6.4-3.9 2-9 5-6.6 3.7-10 3.2c-4.3.8-13.2 2.4-14.4 2.8-1.2.3-10.2 4-14.5 5.8l-11.8 5.6-8.8 3.2-12 3.4-19 8.7c-5.8 1.4-19.3 14.2-25.3 20.4L122 128l.3.4 6.6 16.6 10.5 22.6 6.2 10.8c2.9 3 8.7 9.7 9.1 11.7.5 2 4.3 5.1 6.1 6.5.2.8.8 3.1 1.7 5.4-3.2 4.8-.4 10.6 1.4 12.9l1 4.6.3 6.5-.5 1c-1.4 1.4-.3 4 .4 5l.1 3c.5 1.4 1.3 4.2.8 5.2s0 2.7.3 3.4v4.9c-3.1.5-2 3.7-1 5.2-.5.7-1.8 2.2-3.2 2.7-1.4.5-1.8 3.6-1.8 5.2a9 9 0 0 1-2.7 4.7c-1.8 1.6-2.8 7.4-3 10.1l-1.6 1.5ZM403.8 31.1l-1.6-.7c1.2 1 2 2.2 2.8 4 1.8 2.8.6 8-.7 12.2a78 78 0 0 1-7.6 17l.5.2 3.3 1.5 5.4 3.3 5.9 3 7.2 3 8.2 2.2c.7.2 3.3 1 8.4 2 5.5.1 21.1 8 28.2 11.8l14 4.5a517 517 0 0 1 23.8 9.3c6.3.5 24.7 17 33.1 25.2l-4.6 11.6-8.2 19.3-3.8 9-5.2 8.6c-2.2 3.2-7.3 10.2-9.4 12.4-1.3-.3-5.6 4.4-7.6 6.7.3 2 .6 6.7-1.4 9.1-2 2.5-1.8 6.9-1.4 8.7.3.8.5 3-1 5.3-1.4 2.4-1 4-.5 4.5-.2.8-.7 2.5-1.4 3.4-.8.8-.4 3.3 0 4.5l.1 3-.1 2.2c-.2.6-.6 2.6-1.1 6.2 3.6 3.3 1.3 5.7-.3 6.5l2.2.3 1.3 2.7 1.5 3.8 1.1 2.3 2.7 7.1 1.6 4.8.3 2.1v1.6l1.9 1.9 4 8.9 1.8 4.5c.5 4 5.5 3.6 8 3l5.9-1.1 7.3-1.7 5.2-1.2 7.3-2.1 8.3-2.7 7.5-2.5 9.8-3.6 8-3 6.3-2.8 3.4-1.6 3-1.3 2.5-1.6 1-.8c1.9-1 2-2.1 1.6-2.9l-.6-1.7-1-2.7-1.6-4.2-1.4-4-.5-1.4-.1-.7v-1.2c.7-1-.4-2.5-1-3v-.2l-1-2-2.4-6-3.3-8.3-2.3-6a3896.4 3896.4 0 0 0-3.1-8.4l-2.2-7.1-1.5-5.7-2.5-8.9-1-3.1-1.2-4.5-2-8.2-2.2-9.3-2.8-11.4-2.6-9.1-.9-3c0-.3-.6-1.5-1-2l-2.5-5.6-3-6.6-5.7-11.3-2.5-4.3-2.3-3.3-.7-.7-4.3-5-3-3.8a73 73 0 0 0-4.2-3.8c-1.1-2-7.6-7-10.8-9.4-6.2-5-23.4-12.8-34-16.7l-11-4-16-7.9-20.1-10-7.1-3.8-2.4-1.5-13-7.3-2.6-3.4-5-3Z" }) }),
|
|
326
326
|
/* @__PURE__ */ t(
|
|
327
327
|
"path",
|
|
328
328
|
{
|
|
@@ -383,24 +383,24 @@ function aa(e, a, {
|
|
|
383
383
|
threshold: o = 60,
|
|
384
384
|
cooldownMs: i = 500
|
|
385
385
|
} = {}) {
|
|
386
|
-
const
|
|
386
|
+
const r = W(0), s = W(0);
|
|
387
387
|
J(() => {
|
|
388
388
|
if (!n) return;
|
|
389
389
|
const u = e.current;
|
|
390
390
|
if (!u) return;
|
|
391
391
|
const b = (h) => {
|
|
392
|
-
const
|
|
393
|
-
if (!
|
|
392
|
+
const l = a.current;
|
|
393
|
+
if (!l || !l.go) return;
|
|
394
394
|
const { deltaX: c, deltaY: m } = h;
|
|
395
395
|
if (Math.abs(c) <= Math.abs(m)) return;
|
|
396
|
-
h.preventDefault(),
|
|
396
|
+
h.preventDefault(), r.current += c;
|
|
397
397
|
const p = Date.now();
|
|
398
|
-
if (p - s.current < i || Math.abs(
|
|
399
|
-
const _ =
|
|
400
|
-
|
|
398
|
+
if (p - s.current < i || Math.abs(r.current) < o) return;
|
|
399
|
+
const _ = r.current > 0 ? ">" : "<";
|
|
400
|
+
r.current = 0, s.current = p, l.go(_);
|
|
401
401
|
};
|
|
402
402
|
return u.addEventListener("wheel", b, { passive: !1 }), () => {
|
|
403
|
-
u.removeEventListener("wheel", b),
|
|
403
|
+
u.removeEventListener("wheel", b), r.current = 0;
|
|
404
404
|
};
|
|
405
405
|
}, [n, o, i, e, a]);
|
|
406
406
|
}
|
|
@@ -416,12 +416,12 @@ const na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", oa = "ora
|
|
|
416
416
|
perPage: n = 1,
|
|
417
417
|
gap: o = "0px",
|
|
418
418
|
breakpoints: i,
|
|
419
|
-
options:
|
|
419
|
+
options: r = {},
|
|
420
420
|
className: s = "",
|
|
421
421
|
onMove: u,
|
|
422
422
|
useIndexAsKey: b = !1,
|
|
423
423
|
enableHorizontalWheel: h = !0,
|
|
424
|
-
showRightGradient:
|
|
424
|
+
showRightGradient: l = !1
|
|
425
425
|
}, c) => {
|
|
426
426
|
const m = W(null), p = W(null), _ = W(e.length), I = W(null), C = W(null);
|
|
427
427
|
aa(p, m, {
|
|
@@ -468,7 +468,7 @@ const na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", oa = "ora
|
|
|
468
468
|
return;
|
|
469
469
|
}
|
|
470
470
|
const { visibleStart: E, visibleEnd: O } = T(w), R = E === 0, q = O === P - 1;
|
|
471
|
-
|
|
471
|
+
l && ((z = I.current) == null || z.style.setProperty("--gradient-opacity", R ? "0" : "1"), ($ = C.current) == null || $.style.setProperty("--gradient-opacity", q ? "0" : "1"));
|
|
472
472
|
const g = w.Components.Controller.getIndex();
|
|
473
473
|
u == null || u({
|
|
474
474
|
index: g,
|
|
@@ -509,7 +509,7 @@ const na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", oa = "ora
|
|
|
509
509
|
perPage: n,
|
|
510
510
|
gap: o,
|
|
511
511
|
breakpoints: i,
|
|
512
|
-
...
|
|
512
|
+
...r,
|
|
513
513
|
...h ? { wheel: !1 } : {}
|
|
514
514
|
};
|
|
515
515
|
return /* @__PURE__ */ f(
|
|
@@ -533,7 +533,7 @@ const na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", oa = "ora
|
|
|
533
533
|
})
|
|
534
534
|
}
|
|
535
535
|
),
|
|
536
|
-
|
|
536
|
+
l && /* @__PURE__ */ f(ae, { children: [
|
|
537
537
|
/* @__PURE__ */ t(
|
|
538
538
|
"div",
|
|
539
539
|
{
|
|
@@ -595,7 +595,7 @@ const na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", oa = "ora
|
|
|
595
595
|
size: n = "sm",
|
|
596
596
|
fillParent: o = !1
|
|
597
597
|
}) => {
|
|
598
|
-
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 },
|
|
598
|
+
const i = n === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 }, r = (u) => {
|
|
599
599
|
u.stopPropagation(), a == null || a();
|
|
600
600
|
}, s = o ? { width: "100%", height: "100%" } : { width: `${i.w}px`, height: `${i.h}px` };
|
|
601
601
|
return /* @__PURE__ */ f(
|
|
@@ -669,7 +669,7 @@ const na = "oraculo__OraculoCarousel-module__gradientOverlay___xYDfc", oa = "ora
|
|
|
669
669
|
transition: "opacity .15s ease, transform .15s ease",
|
|
670
670
|
pointerEvents: "none"
|
|
671
671
|
},
|
|
672
|
-
children: /* @__PURE__ */ t(K, { variant: "primary", size: "md", onClick:
|
|
672
|
+
children: /* @__PURE__ */ t(K, { variant: "primary", size: "md", onClick: r, children: "Jugar" })
|
|
673
673
|
}
|
|
674
674
|
)
|
|
675
675
|
]
|
|
@@ -687,13 +687,13 @@ function ca({
|
|
|
687
687
|
}
|
|
688
688
|
}) {
|
|
689
689
|
var c, m, p, _;
|
|
690
|
-
const
|
|
690
|
+
const r = (I, C) => {
|
|
691
691
|
var T, k, A, L;
|
|
692
692
|
return {
|
|
693
693
|
xs: (k = (T = i.xs) == null ? void 0 : T[I]) != null ? k : C,
|
|
694
694
|
md: (L = (A = i.md) == null ? void 0 : A[I]) != null ? L : C
|
|
695
695
|
};
|
|
696
|
-
}, s =
|
|
696
|
+
}, s = r("w", 186), u = r("h", 264), b = r("r", 22.6), h = r("font", 64), l = {
|
|
697
697
|
xs: Math.round(((m = (c = i.xs) == null ? void 0 : c.font) != null ? m : 64) * 0.28),
|
|
698
698
|
md: Math.round(((_ = (p = i.md) == null ? void 0 : p.font) != null ? _ : 64) * 0.28)
|
|
699
699
|
};
|
|
@@ -711,7 +711,7 @@ function ca({
|
|
|
711
711
|
borderRadius: { xs: `${b.xs}px`, md: `${b.md}px` },
|
|
712
712
|
boxSizing: "border-box",
|
|
713
713
|
overflow: "visible",
|
|
714
|
-
pb: { xs: `${
|
|
714
|
+
pb: { xs: `${l.xs}px`, md: `${l.md}px` },
|
|
715
715
|
"&::before": {
|
|
716
716
|
content: '""',
|
|
717
717
|
position: "absolute",
|
|
@@ -766,8 +766,8 @@ function ca({
|
|
|
766
766
|
position: "absolute",
|
|
767
767
|
left: 8,
|
|
768
768
|
bottom: {
|
|
769
|
-
xs: `-${
|
|
770
|
-
md: `-${
|
|
769
|
+
xs: `-${l.xs}px`,
|
|
770
|
+
md: `-${l.md}px`
|
|
771
771
|
},
|
|
772
772
|
fontFamily: '"secondary", sans-serif',
|
|
773
773
|
fontSize: {
|
|
@@ -794,7 +794,7 @@ const da = ({
|
|
|
794
794
|
machine: o,
|
|
795
795
|
onClick: i
|
|
796
796
|
}) => {
|
|
797
|
-
var
|
|
797
|
+
var r;
|
|
798
798
|
return /* @__PURE__ */ f(
|
|
799
799
|
U,
|
|
800
800
|
{
|
|
@@ -858,7 +858,7 @@ const da = ({
|
|
|
858
858
|
fontSize: { xs: 11, md: 14 },
|
|
859
859
|
textTransform: "capitalize"
|
|
860
860
|
},
|
|
861
|
-
children: (
|
|
861
|
+
children: (r = a != null ? a : n) != null ? r : ""
|
|
862
862
|
}
|
|
863
863
|
)
|
|
864
864
|
}
|
|
@@ -888,7 +888,7 @@ const da = ({
|
|
|
888
888
|
loading: o = !1,
|
|
889
889
|
gridSkeletonCount: i = 4
|
|
890
890
|
}) => {
|
|
891
|
-
var
|
|
891
|
+
var r, s;
|
|
892
892
|
if (a === "mosaic") {
|
|
893
893
|
const u = e[0], b = e.slice(1, 5);
|
|
894
894
|
return /* @__PURE__ */ f(
|
|
@@ -928,7 +928,7 @@ const da = ({
|
|
|
928
928
|
children: o ? /* @__PURE__ */ t(Me, {}) : u && /* @__PURE__ */ t(
|
|
929
929
|
we,
|
|
930
930
|
{
|
|
931
|
-
imageUrl: `https://olimpo.bet${(s = (
|
|
931
|
+
imageUrl: `https://olimpo.bet${(s = (r = u.background) != null ? r : u.imageUrl) != null ? s : ""}`,
|
|
932
932
|
size: "lg",
|
|
933
933
|
fillParent: !0,
|
|
934
934
|
onClick: () => n == null ? void 0 : n(u, 0)
|
|
@@ -936,7 +936,7 @@ const da = ({
|
|
|
936
936
|
)
|
|
937
937
|
}
|
|
938
938
|
),
|
|
939
|
-
(o ? Array.from({ length: 4 }) : b).map((h,
|
|
939
|
+
(o ? Array.from({ length: 4 }) : b).map((h, l) => {
|
|
940
940
|
var c, m;
|
|
941
941
|
return /* @__PURE__ */ t(
|
|
942
942
|
U,
|
|
@@ -953,11 +953,11 @@ const da = ({
|
|
|
953
953
|
imageUrl: `https://olimpo.bet${(m = (c = h.background) != null ? c : h.imageUrl) != null ? m : ""}`,
|
|
954
954
|
size: "sm",
|
|
955
955
|
fillParent: !0,
|
|
956
|
-
onClick: () => n == null ? void 0 : n(h,
|
|
956
|
+
onClick: () => n == null ? void 0 : n(h, l + 1)
|
|
957
957
|
}
|
|
958
958
|
)
|
|
959
959
|
},
|
|
960
|
-
o ? `sk-${
|
|
960
|
+
o ? `sk-${l}` : h.id
|
|
961
961
|
);
|
|
962
962
|
})
|
|
963
963
|
]
|
|
@@ -981,7 +981,7 @@ const da = ({
|
|
|
981
981
|
gridAutoFlow: "column"
|
|
982
982
|
},
|
|
983
983
|
children: (o ? Array.from({ length: i }) : e).map((u, b) => {
|
|
984
|
-
var h,
|
|
984
|
+
var h, l, c;
|
|
985
985
|
return /* @__PURE__ */ t(
|
|
986
986
|
U,
|
|
987
987
|
{
|
|
@@ -989,7 +989,7 @@ const da = ({
|
|
|
989
989
|
children: o ? /* @__PURE__ */ t(Me, {}) : /* @__PURE__ */ t(
|
|
990
990
|
we,
|
|
991
991
|
{
|
|
992
|
-
imageUrl: `https://olimpo.bet${(
|
|
992
|
+
imageUrl: `https://olimpo.bet${(l = (h = u.background) != null ? h : u.imageUrl) != null ? l : ""}`,
|
|
993
993
|
size: "sm",
|
|
994
994
|
fillParent: !0,
|
|
995
995
|
onClick: () => n == null ? void 0 : n(u, b)
|
|
@@ -1007,12 +1007,12 @@ const da = ({
|
|
|
1007
1007
|
subtitle: n,
|
|
1008
1008
|
buttonText: o,
|
|
1009
1009
|
onButtonClick: i,
|
|
1010
|
-
backgroundImage:
|
|
1010
|
+
backgroundImage: r,
|
|
1011
1011
|
alt: s,
|
|
1012
1012
|
className: u = "",
|
|
1013
1013
|
variant: b = "small"
|
|
1014
1014
|
}) => {
|
|
1015
|
-
const h = a ? a.slice(0, 2) : "",
|
|
1015
|
+
const h = a ? a.slice(0, 2) : "", l = a ? a.slice(2) : "", c = b === "large";
|
|
1016
1016
|
return /* @__PURE__ */ f(
|
|
1017
1017
|
U,
|
|
1018
1018
|
{
|
|
@@ -1027,7 +1027,7 @@ const da = ({
|
|
|
1027
1027
|
mx: "auto"
|
|
1028
1028
|
},
|
|
1029
1029
|
children: [
|
|
1030
|
-
|
|
1030
|
+
r && /* @__PURE__ */ t(
|
|
1031
1031
|
U,
|
|
1032
1032
|
{
|
|
1033
1033
|
sx: {
|
|
@@ -1044,7 +1044,7 @@ const da = ({
|
|
|
1044
1044
|
U,
|
|
1045
1045
|
{
|
|
1046
1046
|
component: "img",
|
|
1047
|
-
src:
|
|
1047
|
+
src: r,
|
|
1048
1048
|
alt: s != null ? s : "Fondo promocional",
|
|
1049
1049
|
sx: {
|
|
1050
1050
|
width: "100%",
|
|
@@ -1126,7 +1126,7 @@ const da = ({
|
|
|
1126
1126
|
{
|
|
1127
1127
|
component: "span",
|
|
1128
1128
|
sx: { fontSize: { xs: 52, md: 77 } },
|
|
1129
|
-
children:
|
|
1129
|
+
children: l
|
|
1130
1130
|
}
|
|
1131
1131
|
)
|
|
1132
1132
|
]
|
|
@@ -1159,7 +1159,7 @@ const da = ({
|
|
|
1159
1159
|
onClick: n,
|
|
1160
1160
|
imgAlt: o = "Club Olimpo",
|
|
1161
1161
|
imgSrcMobile: i,
|
|
1162
|
-
imgSrcDesktopBg:
|
|
1162
|
+
imgSrcDesktopBg: r,
|
|
1163
1163
|
imgSrcDesktopLogo: s
|
|
1164
1164
|
}) => /* @__PURE__ */ f(ae, { children: [
|
|
1165
1165
|
/* @__PURE__ */ t("div", { className: "orc-co-bgMobile", children: /* @__PURE__ */ t(
|
|
@@ -1171,10 +1171,10 @@ const da = ({
|
|
|
1171
1171
|
}
|
|
1172
1172
|
) }),
|
|
1173
1173
|
/* @__PURE__ */ t("div", { className: "orc-co-bgDesktop", children: /* @__PURE__ */ f("div", { className: "orc-co-desktopInner", children: [
|
|
1174
|
-
|
|
1174
|
+
r && /* @__PURE__ */ t("div", { className: "orc-co-fillHost", children: /* @__PURE__ */ t(
|
|
1175
1175
|
"img",
|
|
1176
1176
|
{
|
|
1177
|
-
src:
|
|
1177
|
+
src: r,
|
|
1178
1178
|
alt: `${o} fondo`,
|
|
1179
1179
|
className: "orc-co-bgDesktopImg"
|
|
1180
1180
|
}
|
|
@@ -1250,11 +1250,11 @@ const ct = _t(void 0), Le = ({ children: e, docId: a }) => {
|
|
|
1250
1250
|
function Ca({ coupon: e }) {
|
|
1251
1251
|
var h;
|
|
1252
1252
|
const a = Q(), n = ee();
|
|
1253
|
-
function o(
|
|
1253
|
+
function o(l) {
|
|
1254
1254
|
var p, _;
|
|
1255
1255
|
const c = [], m = Array.from(
|
|
1256
1256
|
new Map(
|
|
1257
|
-
((p =
|
|
1257
|
+
((p = l == null ? void 0 : l.events) != null ? p : []).filter(Boolean).map((I) => [I.id, I])
|
|
1258
1258
|
).values()
|
|
1259
1259
|
);
|
|
1260
1260
|
return m.forEach((I) => {
|
|
@@ -1278,17 +1278,17 @@ function Ca({ coupon: e }) {
|
|
|
1278
1278
|
});
|
|
1279
1279
|
}), {
|
|
1280
1280
|
outcomes: c.sort((I, C) => I.position - C.position),
|
|
1281
|
-
total: Number((_ =
|
|
1281
|
+
total: Number((_ = l == null ? void 0 : l.combinadoTotal) != null ? _ : 0).toLocaleString("en-US", {
|
|
1282
1282
|
minimumFractionDigits: 2,
|
|
1283
1283
|
maximumFractionDigits: 2
|
|
1284
1284
|
}),
|
|
1285
1285
|
events: m
|
|
1286
1286
|
};
|
|
1287
1287
|
}
|
|
1288
|
-
function i(
|
|
1289
|
-
if (!
|
|
1288
|
+
function i(l) {
|
|
1289
|
+
if (!l || !Array.isArray(l.events) || l.events.length === 0)
|
|
1290
1290
|
return "/deportes#home";
|
|
1291
|
-
const c =
|
|
1291
|
+
const c = l.events;
|
|
1292
1292
|
if (c.length === 1)
|
|
1293
1293
|
return `/deportes#event/${c[0].id}`;
|
|
1294
1294
|
const m = c[0].groupId;
|
|
@@ -1299,8 +1299,8 @@ function Ca({ coupon: e }) {
|
|
|
1299
1299
|
}
|
|
1300
1300
|
return "/deportes#home";
|
|
1301
1301
|
}
|
|
1302
|
-
const
|
|
1303
|
-
const m = Array.isArray(
|
|
1302
|
+
const r = (l, c) => {
|
|
1303
|
+
const m = Array.isArray(l) ? l : [l], p = Array.from(
|
|
1304
1304
|
new Set(
|
|
1305
1305
|
s.outcomes.map((C) => {
|
|
1306
1306
|
var k;
|
|
@@ -1319,15 +1319,15 @@ function Ca({ coupon: e }) {
|
|
|
1319
1319
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1320
1320
|
},
|
|
1321
1321
|
tags: { section: "OraculoEventCombinadasCard", outcomes: I }
|
|
1322
|
-
}), Re(i(e),
|
|
1322
|
+
}), Re(i(e), l);
|
|
1323
1323
|
};
|
|
1324
1324
|
if (!((h = e == null ? void 0 : e.events) != null && h.length)) return null;
|
|
1325
|
-
const s = o(e), u = s.outcomes.reduce((
|
|
1326
|
-
s.events.map((
|
|
1325
|
+
const s = o(e), u = s.outcomes.reduce((l, c) => (l[c.eventId] || (l[c.eventId] = []), l[c.eventId].push(c), l), {}), b = new Map(
|
|
1326
|
+
s.events.map((l) => [l.id, l])
|
|
1327
1327
|
);
|
|
1328
1328
|
return /* @__PURE__ */ f("div", { className: ne.card, children: [
|
|
1329
|
-
/* @__PURE__ */ t("div", { className: ne.combinadas, children: /* @__PURE__ */ t("div", { className: ne.combinadasScroll, children: /* @__PURE__ */ t(j, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(u).reverse().map(([
|
|
1330
|
-
const m = b.get(Number(
|
|
1329
|
+
/* @__PURE__ */ t("div", { className: ne.combinadas, children: /* @__PURE__ */ t("div", { className: ne.combinadasScroll, children: /* @__PURE__ */ t(j, { direction: "column", spacing: 1.5, useFlexGap: !0, children: Object.entries(u).reverse().map(([l, c]) => {
|
|
1330
|
+
const m = b.get(Number(l));
|
|
1331
1331
|
return m ? /* @__PURE__ */ f(
|
|
1332
1332
|
j,
|
|
1333
1333
|
{
|
|
@@ -1360,17 +1360,17 @@ function Ca({ coupon: e }) {
|
|
|
1360
1360
|
" | ",
|
|
1361
1361
|
p.label
|
|
1362
1362
|
] })
|
|
1363
|
-
] }, `${
|
|
1363
|
+
] }, `${l}-${_}`))
|
|
1364
1364
|
]
|
|
1365
1365
|
},
|
|
1366
|
-
|
|
1366
|
+
l
|
|
1367
1367
|
) : null;
|
|
1368
1368
|
}) }) }) }),
|
|
1369
1369
|
/* @__PURE__ */ f(
|
|
1370
1370
|
"button",
|
|
1371
1371
|
{
|
|
1372
|
-
onClick: () =>
|
|
1373
|
-
s.outcomes.map((
|
|
1372
|
+
onClick: () => r(
|
|
1373
|
+
s.outcomes.map((l) => l.id),
|
|
1374
1374
|
s.total
|
|
1375
1375
|
),
|
|
1376
1376
|
className: ne.cuotaTotal,
|
|
@@ -1412,12 +1412,12 @@ function Oa({
|
|
|
1412
1412
|
href: n,
|
|
1413
1413
|
target: o,
|
|
1414
1414
|
rel: i,
|
|
1415
|
-
type:
|
|
1415
|
+
type: r = "button",
|
|
1416
1416
|
disabled: s = !1,
|
|
1417
1417
|
variant: u = "primary",
|
|
1418
1418
|
size: b,
|
|
1419
1419
|
fullWidth: h = !1,
|
|
1420
|
-
fullHeight:
|
|
1420
|
+
fullHeight: l = !1,
|
|
1421
1421
|
className: c = "",
|
|
1422
1422
|
ariaLabel: m,
|
|
1423
1423
|
leftIcon: p,
|
|
@@ -1432,7 +1432,7 @@ function Oa({
|
|
|
1432
1432
|
b ? oe[`orc-btn--${b}`] : "",
|
|
1433
1433
|
// sm / md / lg
|
|
1434
1434
|
h ? oe["orc-btn--full"] : "",
|
|
1435
|
-
|
|
1435
|
+
l ? oe["orc-btn--fullHeight"] : "",
|
|
1436
1436
|
L ? oe["orc-btn--iconOnly"] : "",
|
|
1437
1437
|
c
|
|
1438
1438
|
].filter(Boolean).join(" "), F = /* @__PURE__ */ f(ae, { children: [
|
|
@@ -1456,7 +1456,7 @@ function Oa({
|
|
|
1456
1456
|
) : /* @__PURE__ */ t(
|
|
1457
1457
|
"button",
|
|
1458
1458
|
{
|
|
1459
|
-
type:
|
|
1459
|
+
type: r,
|
|
1460
1460
|
onClick: a,
|
|
1461
1461
|
disabled: !!w,
|
|
1462
1462
|
"aria-label": m,
|
|
@@ -1482,22 +1482,22 @@ const Ea = "oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT", Ia = "
|
|
|
1482
1482
|
real: !1,
|
|
1483
1483
|
type: "short_sleeves"
|
|
1484
1484
|
}, Ee = (e, a, n = "player") => {
|
|
1485
|
-
var i,
|
|
1485
|
+
var i, r;
|
|
1486
1486
|
if (e === void 0)
|
|
1487
1487
|
return null;
|
|
1488
1488
|
if (e === null)
|
|
1489
1489
|
return a === "home" ? Ve : De;
|
|
1490
|
-
const o = (
|
|
1490
|
+
const o = (r = (i = e == null ? void 0 : e.jerseys) == null ? void 0 : i[a]) == null ? void 0 : r[n];
|
|
1491
1491
|
return o || (a === "home" ? Ve : De);
|
|
1492
1492
|
};
|
|
1493
1493
|
function ka({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
1494
|
-
var u, b, h,
|
|
1494
|
+
var u, b, h, l, c, m, p, _, I, C, T;
|
|
1495
1495
|
const i = n == null ? void 0 : n.find(
|
|
1496
1496
|
(k) => {
|
|
1497
1497
|
var A;
|
|
1498
1498
|
return ((A = k.betOfferType) == null ? void 0 : A.id) === 2;
|
|
1499
1499
|
}
|
|
1500
|
-
),
|
|
1500
|
+
), r = {
|
|
1501
1501
|
englishLabel: "",
|
|
1502
1502
|
type: "",
|
|
1503
1503
|
betOfferId: 0,
|
|
@@ -1507,9 +1507,9 @@ function ka({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1507
1507
|
status: "INACTIVE",
|
|
1508
1508
|
cashOutStatus: "SUSPENDED"
|
|
1509
1509
|
}, s = [
|
|
1510
|
-
{ ...
|
|
1511
|
-
{ ...
|
|
1512
|
-
{ ...
|
|
1510
|
+
{ ...r, id: -1, label: "1", odds: void 0 },
|
|
1511
|
+
{ ...r, id: -2, label: "X", odds: void 0 },
|
|
1512
|
+
{ ...r, id: -3, label: "2", odds: void 0 }
|
|
1513
1513
|
];
|
|
1514
1514
|
return /* @__PURE__ */ t("div", { className: Se.cardWrapper, children: /* @__PURE__ */ f(j, { direction: "column", spacing: 1, useFlexGap: !0, children: [
|
|
1515
1515
|
/* @__PURE__ */ f(j, { direction: "column", spacing: 1.5, useFlexGap: !0, children: [
|
|
@@ -1517,7 +1517,7 @@ function ka({ event: e, liveData: a, betOffers: n, jersey: o }) {
|
|
|
1517
1517
|
At,
|
|
1518
1518
|
{
|
|
1519
1519
|
title: (h = (b = (u = e == null ? void 0 : e.path) == null ? void 0 : u[0]) == null ? void 0 : b.name) != null ? h : "",
|
|
1520
|
-
subtitle: (
|
|
1520
|
+
subtitle: (l = e == null ? void 0 : e.group) != null ? l : "",
|
|
1521
1521
|
live: !0,
|
|
1522
1522
|
time: ((c = a == null ? void 0 : a.matchClock) == null ? void 0 : c.minute) != null ? `${a.matchClock.minute}'` : ""
|
|
1523
1523
|
}
|
|
@@ -1549,14 +1549,14 @@ const Ba = "oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe", La =
|
|
|
1549
1549
|
equipos: Ra
|
|
1550
1550
|
};
|
|
1551
1551
|
function Fa({ event: e, jersey: a }) {
|
|
1552
|
-
var s, u, b, h,
|
|
1552
|
+
var s, u, b, h, l, c, m;
|
|
1553
1553
|
const n = Q(), o = ee();
|
|
1554
1554
|
function i(p) {
|
|
1555
1555
|
const _ = new Date(p), I = _.toLocaleDateString("es-ES", { weekday: "short" }).toUpperCase(), C = _.getDate().toString().padStart(2, "0"), T = (_.getMonth() + 1).toString().padStart(2, "0");
|
|
1556
1556
|
let k = _.toLocaleTimeString("es-PE", { hour: "numeric", minute: "2-digit", hour12: !0 }).toUpperCase();
|
|
1557
1557
|
return k = k.replace(/\./g, "").replace(/A\s*M/i, "AM").replace(/P\s*M/i, "PM"), `${I} ${C}/${T} | ${k}`;
|
|
1558
1558
|
}
|
|
1559
|
-
const
|
|
1559
|
+
const r = (p, _) => {
|
|
1560
1560
|
const I = `${e.homeName} vs ${e.awayName}`, C = _ ? (_ / 1e3).toFixed(2) : "", T = C ? `${I} - Cuota: ${C}` : I;
|
|
1561
1561
|
n({
|
|
1562
1562
|
element: "evento_semana_outcome",
|
|
@@ -1583,8 +1583,8 @@ function Fa({ event: e, jersey: a }) {
|
|
|
1583
1583
|
] }),
|
|
1584
1584
|
/* @__PURE__ */ f(j, { direction: "column", spacing: { xs: 0.5, md: 1 }, useFlexGap: !0, children: [
|
|
1585
1585
|
/* @__PURE__ */ t(re, { spacing: 1, children: ((h = (b = (u = e == null ? void 0 : e.outcome) == null ? void 0 : u[0]) == null ? void 0 : b.outcomes) != null ? h : []).map((p, _) => /* @__PURE__ */ t(nt, { text: p.label.toUpperCase() }, _)) }),
|
|
1586
|
-
/* @__PURE__ */ t("div", { className: de.jugadas, children: /* @__PURE__ */ t(re, { spacing: 1, children: ((m = (c = (
|
|
1587
|
-
|
|
1586
|
+
/* @__PURE__ */ t("div", { className: de.jugadas, children: /* @__PURE__ */ t(re, { spacing: 1, children: ((m = (c = (l = e == null ? void 0 : e.outcome) == null ? void 0 : l[0]) == null ? void 0 : c.outcomes) != null ? m : []).map((p, _) => /* @__PURE__ */ t(K, { variant: "primary", fullHeight: !0, onClick: () => {
|
|
1587
|
+
r(p.id, p.odds);
|
|
1588
1588
|
}, children: (p.odds / 1e3).toFixed(2) }, _)) }) })
|
|
1589
1589
|
] })
|
|
1590
1590
|
] }) })
|
|
@@ -1597,7 +1597,7 @@ function za({
|
|
|
1597
1597
|
onViewMore: o,
|
|
1598
1598
|
className: i = ""
|
|
1599
1599
|
}) {
|
|
1600
|
-
const
|
|
1600
|
+
const r = W(null), [s, u] = H({ isStart: !0, isEnd: !1 }), b = Q(), h = ee(), l = !e || e.length === 0, c = () => {
|
|
1601
1601
|
var T;
|
|
1602
1602
|
b({
|
|
1603
1603
|
element: "destacados_carousel_prev",
|
|
@@ -1609,7 +1609,7 @@ function za({
|
|
|
1609
1609
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1610
1610
|
},
|
|
1611
1611
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1612
|
-
}), (T =
|
|
1612
|
+
}), (T = r.current) == null || T.prev();
|
|
1613
1613
|
}, m = () => {
|
|
1614
1614
|
var T;
|
|
1615
1615
|
b({
|
|
@@ -1622,7 +1622,7 @@ function za({
|
|
|
1622
1622
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1623
1623
|
},
|
|
1624
1624
|
tags: { section: "OraculoSeccionDestacados" }
|
|
1625
|
-
}), (T =
|
|
1625
|
+
}), (T = r.current) == null || T.next();
|
|
1626
1626
|
}, p = () => {
|
|
1627
1627
|
b({
|
|
1628
1628
|
element: "destacados_view_more",
|
|
@@ -1678,7 +1678,7 @@ function za({
|
|
|
1678
1678
|
iconOnly: !0,
|
|
1679
1679
|
leftIcon: /* @__PURE__ */ t(Te, {}),
|
|
1680
1680
|
onClick: c,
|
|
1681
|
-
disabled: s.isStart ||
|
|
1681
|
+
disabled: s.isStart || l
|
|
1682
1682
|
}
|
|
1683
1683
|
),
|
|
1684
1684
|
/* @__PURE__ */ t(
|
|
@@ -1689,7 +1689,7 @@ function za({
|
|
|
1689
1689
|
iconOnly: !0,
|
|
1690
1690
|
rightIcon: /* @__PURE__ */ t(ke, {}),
|
|
1691
1691
|
onClick: m,
|
|
1692
|
-
disabled: s.isEnd ||
|
|
1692
|
+
disabled: s.isEnd || l
|
|
1693
1693
|
}
|
|
1694
1694
|
)
|
|
1695
1695
|
] }),
|
|
@@ -1700,7 +1700,7 @@ function za({
|
|
|
1700
1700
|
/* @__PURE__ */ t(
|
|
1701
1701
|
ce,
|
|
1702
1702
|
{
|
|
1703
|
-
ref:
|
|
1703
|
+
ref: r,
|
|
1704
1704
|
items: e,
|
|
1705
1705
|
perPage: void 0,
|
|
1706
1706
|
gap: "16px",
|
|
@@ -1777,34 +1777,34 @@ function qa({
|
|
|
1777
1777
|
iconUrl: n,
|
|
1778
1778
|
onCardClick: o
|
|
1779
1779
|
}) {
|
|
1780
|
-
const i = Q(),
|
|
1781
|
-
() => (e != null ? e : []).map((
|
|
1780
|
+
const i = Q(), r = ee(), s = te(
|
|
1781
|
+
() => (e != null ? e : []).map((l, c) => {
|
|
1782
1782
|
var m;
|
|
1783
1783
|
return {
|
|
1784
|
-
...
|
|
1785
|
-
orden: (m =
|
|
1784
|
+
...l,
|
|
1785
|
+
orden: (m = l.orden) != null ? m : c + 1,
|
|
1786
1786
|
_originalIndex: c
|
|
1787
1787
|
};
|
|
1788
|
-
}).sort((
|
|
1788
|
+
}).sort((l, c) => l.orden != null && c.orden != null ? l.orden - c.orden : l._originalIndex - c._originalIndex),
|
|
1789
1789
|
[e]
|
|
1790
|
-
), u = !e || e.length === 0, b = u ? Array.from({ length: 6 }) : s.slice(0, 6), h = (
|
|
1790
|
+
), u = !e || e.length === 0, b = u ? Array.from({ length: 6 }) : s.slice(0, 6), h = (l) => {
|
|
1791
1791
|
i({
|
|
1792
1792
|
element: "top_juegos_card",
|
|
1793
|
-
label: `Landing: ${
|
|
1794
|
-
target: String(
|
|
1793
|
+
label: `Landing: ${r} - OraculoSeccionTopJuegos - Open game: ${String(l.machine || "unknown")}`,
|
|
1794
|
+
target: String(l.machine || "unknown"),
|
|
1795
1795
|
event_type: "click",
|
|
1796
1796
|
module_id: 301,
|
|
1797
1797
|
metadata: {
|
|
1798
1798
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
1799
1799
|
},
|
|
1800
1800
|
tags: {
|
|
1801
|
-
game_name: String(
|
|
1801
|
+
game_name: String(l.machine || "unknown"),
|
|
1802
1802
|
section: "OraculoSeccionTopJuegos"
|
|
1803
1803
|
}
|
|
1804
1804
|
});
|
|
1805
1805
|
const c = le("showIframe"), m = le("loadMachine");
|
|
1806
1806
|
c == null || c(), requestAnimationFrame(() => {
|
|
1807
|
-
m == null || m(
|
|
1807
|
+
m == null || m(l, !1, "CASINO");
|
|
1808
1808
|
});
|
|
1809
1809
|
};
|
|
1810
1810
|
return /* @__PURE__ */ t("section", { style: { width: "100%" }, children: /* @__PURE__ */ f(j, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
@@ -1822,19 +1822,19 @@ function qa({
|
|
|
1822
1822
|
justifyItems: "center",
|
|
1823
1823
|
width: "100%"
|
|
1824
1824
|
},
|
|
1825
|
-
children: b.map((
|
|
1825
|
+
children: b.map((l, c) => {
|
|
1826
1826
|
var m, p;
|
|
1827
1827
|
return /* @__PURE__ */ t(
|
|
1828
1828
|
ca,
|
|
1829
1829
|
{
|
|
1830
|
-
imageUrl: u ? "" :
|
|
1831
|
-
orden: u ? c + 1 :
|
|
1830
|
+
imageUrl: u ? "" : l.background ? `https://olimpo.bet${l.background}` : `https://olimpo.bet${(m = l.logo) != null ? m : ""}`,
|
|
1831
|
+
orden: u ? c + 1 : l.orden,
|
|
1832
1832
|
loading: u,
|
|
1833
1833
|
onClick: u ? void 0 : () => {
|
|
1834
|
-
o == null || o(
|
|
1834
|
+
o == null || o(l), h(l);
|
|
1835
1835
|
}
|
|
1836
1836
|
},
|
|
1837
|
-
u ? `sk-${c}` : (p =
|
|
1837
|
+
u ? `sk-${c}` : (p = l.machine) != null ? p : `${c}`
|
|
1838
1838
|
);
|
|
1839
1839
|
})
|
|
1840
1840
|
}
|
|
@@ -1842,7 +1842,7 @@ function qa({
|
|
|
1842
1842
|
] }) });
|
|
1843
1843
|
}
|
|
1844
1844
|
const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommendations", Da = (e, a) => {
|
|
1845
|
-
var n, o, i,
|
|
1845
|
+
var n, o, i, r, s, u, b, h, l, c, m, p, _, I;
|
|
1846
1846
|
return {
|
|
1847
1847
|
orden: Number(a),
|
|
1848
1848
|
machine: String(
|
|
@@ -1850,12 +1850,12 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1850
1850
|
),
|
|
1851
1851
|
logo: (o = e.logo) != null ? o : "",
|
|
1852
1852
|
name: (i = e.room_name) != null ? i : "",
|
|
1853
|
-
web_name: (
|
|
1853
|
+
web_name: (r = e.product) != null ? r : "",
|
|
1854
1854
|
provider: (s = e.service) != null ? s : "",
|
|
1855
1855
|
sub_provider: (u = e.service) != null ? u : "",
|
|
1856
1856
|
external_id: (b = e.external_id) != null ? b : "",
|
|
1857
1857
|
type: (h = e.game_type) != null ? h : "",
|
|
1858
|
-
tags: (
|
|
1858
|
+
tags: (l = e.tags) != null ? l : "",
|
|
1859
1859
|
lobby_tag: (c = e.lobby_tag) != null ? c : null,
|
|
1860
1860
|
background: (m = e.background) != null ? m : "",
|
|
1861
1861
|
rtp: (p = e.rtp) != null ? p : null,
|
|
@@ -1876,9 +1876,13 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1876
1876
|
throw new Error(
|
|
1877
1877
|
`No se pudo obtener recomendaciones. HTTP ${i.status} ${i.statusText}`
|
|
1878
1878
|
);
|
|
1879
|
-
|
|
1879
|
+
const r = await i.json();
|
|
1880
|
+
return {
|
|
1881
|
+
...r,
|
|
1882
|
+
recommendations: Array.isArray(r == null ? void 0 : r.recommendations) ? r.recommendations.slice(0, 49) : []
|
|
1883
|
+
};
|
|
1880
1884
|
}, Fe = (e, a = !1, n = "Casino") => {
|
|
1881
|
-
const [o, i] = H([]), [
|
|
1885
|
+
const [o, i] = H([]), [r, s] = H(!1);
|
|
1882
1886
|
return J(() => {
|
|
1883
1887
|
let u = !1;
|
|
1884
1888
|
return (async () => {
|
|
@@ -1888,13 +1892,13 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1888
1892
|
}
|
|
1889
1893
|
s(!0);
|
|
1890
1894
|
try {
|
|
1891
|
-
const h = await ja(n),
|
|
1892
|
-
if (!
|
|
1895
|
+
const h = await ja(n), l = Wa(h);
|
|
1896
|
+
if (!l.length) {
|
|
1893
1897
|
u || i([]);
|
|
1894
1898
|
return;
|
|
1895
1899
|
}
|
|
1896
1900
|
const c = await Promise.allSettled(
|
|
1897
|
-
|
|
1901
|
+
l.map(async (p, _) => {
|
|
1898
1902
|
const I = await fetch(
|
|
1899
1903
|
`https://api.mktolimpo.com/api/machine/${p}`
|
|
1900
1904
|
);
|
|
@@ -1919,7 +1923,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1919
1923
|
};
|
|
1920
1924
|
}, [e, a, n]), {
|
|
1921
1925
|
resolvedItems: o,
|
|
1922
|
-
loading:
|
|
1926
|
+
loading: r
|
|
1923
1927
|
};
|
|
1924
1928
|
}, Ha = (e, a = !1) => Fe(e, a, "Casino"), Ka = (e, a = !1) => Fe(e, a, "Deportes Virtuales"), Za = (e, a = !1) => Fe(e, a, "Casino en vivo"), Ja = (e, a) => {
|
|
1925
1929
|
var n, o;
|
|
@@ -1940,18 +1944,18 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1940
1944
|
subtitle: n = "Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",
|
|
1941
1945
|
backgroundMobileUrl: o = "",
|
|
1942
1946
|
onCardClick: i,
|
|
1943
|
-
backgroundDesktopUrl:
|
|
1947
|
+
backgroundDesktopUrl: r = "",
|
|
1944
1948
|
onViewMore: s,
|
|
1945
1949
|
className: u,
|
|
1946
1950
|
isPersonalize: b = !1
|
|
1947
1951
|
}) => {
|
|
1948
|
-
const h = Q(),
|
|
1952
|
+
const h = Q(), l = ee(), c = Xa(b), { resolvedItems: m } = Za(
|
|
1949
1953
|
e,
|
|
1950
1954
|
c
|
|
1951
1955
|
), p = c ? m : Array.isArray(e) ? e : [], _ = (C) => {
|
|
1952
1956
|
h({
|
|
1953
1957
|
element: "live_casino_card",
|
|
1954
|
-
label: `Landing: ${
|
|
1958
|
+
label: `Landing: ${l} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Open game: ${String(C.machine || "unknown")}`,
|
|
1955
1959
|
target: String(C.machine || "unknown"),
|
|
1956
1960
|
event_type: "click",
|
|
1957
1961
|
module_id: 301,
|
|
@@ -1982,7 +1986,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
1982
1986
|
}, I = () => {
|
|
1983
1987
|
h({
|
|
1984
1988
|
element: "casino_en_vivo_view_more",
|
|
1985
|
-
label: `Landing: ${
|
|
1989
|
+
label: `Landing: ${l} - OraculoSeccionCasinoEnVivo${c ? " - personalize" : ""} - Ver más`,
|
|
1986
1990
|
target: "https://www.olimpo.bet/casino-en-vivo",
|
|
1987
1991
|
event_type: "click",
|
|
1988
1992
|
module_id: 301,
|
|
@@ -2017,7 +2021,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2017
2021
|
md: `
|
|
2018
2022
|
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2019
2023
|
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
2020
|
-
url('${
|
|
2024
|
+
url('${r}')
|
|
2021
2025
|
`
|
|
2022
2026
|
},
|
|
2023
2027
|
backgroundSize: {
|
|
@@ -2150,22 +2154,22 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2150
2154
|
});
|
|
2151
2155
|
if (!o.length) return [];
|
|
2152
2156
|
const i = [];
|
|
2153
|
-
let
|
|
2157
|
+
let r = 0;
|
|
2154
2158
|
if (a) {
|
|
2155
2159
|
const s = Math.min(o.length, 1);
|
|
2156
2160
|
i.push({
|
|
2157
2161
|
id: "mosaic-0",
|
|
2158
2162
|
kind: "mosaic",
|
|
2159
2163
|
items: o.slice(0, s)
|
|
2160
|
-
}),
|
|
2164
|
+
}), r = s;
|
|
2161
2165
|
}
|
|
2162
|
-
for (;
|
|
2163
|
-
const s = Math.min(
|
|
2166
|
+
for (; r < o.length; ) {
|
|
2167
|
+
const s = Math.min(r + n, o.length);
|
|
2164
2168
|
i.push({
|
|
2165
|
-
id: `grid-${
|
|
2169
|
+
id: `grid-${r}`,
|
|
2166
2170
|
kind: "grid",
|
|
2167
|
-
items: o.slice(
|
|
2168
|
-
}),
|
|
2171
|
+
items: o.slice(r, s)
|
|
2172
|
+
}), r = s;
|
|
2169
2173
|
}
|
|
2170
2174
|
return i;
|
|
2171
2175
|
}, tn = ({
|
|
@@ -2174,11 +2178,11 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2174
2178
|
iconUrl: n = "/assets/img/home/Casino/diamante.svg",
|
|
2175
2179
|
onItemClick: o,
|
|
2176
2180
|
onViewMore: i,
|
|
2177
|
-
mosaicFirst:
|
|
2181
|
+
mosaicFirst: r = !0,
|
|
2178
2182
|
gridSize: s = 1,
|
|
2179
2183
|
isPersonalize: u = !1
|
|
2180
2184
|
}) => {
|
|
2181
|
-
const b = Q(), h = ee(),
|
|
2185
|
+
const b = Q(), h = ee(), l = W(null), [c, m] = H({ isStart: !0, isEnd: !1 }), p = Qa(u), { resolvedItems: _, loading: I } = Ha(
|
|
2182
2186
|
e,
|
|
2183
2187
|
p
|
|
2184
2188
|
), C = p ? _ : Array.isArray(e) ? e : [], T = () => {
|
|
@@ -2193,7 +2197,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2193
2197
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2194
2198
|
},
|
|
2195
2199
|
tags: { section: "OraculoSeccionCasino" }
|
|
2196
|
-
}), (N =
|
|
2200
|
+
}), (N = l.current) == null || N.prev();
|
|
2197
2201
|
}, k = () => {
|
|
2198
2202
|
var N;
|
|
2199
2203
|
b({
|
|
@@ -2206,7 +2210,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2206
2210
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : ""
|
|
2207
2211
|
},
|
|
2208
2212
|
tags: { section: "OraculoSeccionCasino" }
|
|
2209
|
-
}), (N =
|
|
2213
|
+
}), (N = l.current) == null || N.next();
|
|
2210
2214
|
}, A = () => {
|
|
2211
2215
|
if (b({
|
|
2212
2216
|
element: "casino_view_more",
|
|
@@ -2229,7 +2233,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2229
2233
|
imageUrl: ""
|
|
2230
2234
|
})), O = [];
|
|
2231
2235
|
return N && O.push({ id: "mosaic-loading", kind: "mosaic", items: E(5) }), O.push({ id: "grid-loading", kind: "grid", items: E(P) }), O;
|
|
2232
|
-
}, M = p ? I : !Array.isArray(e) || e.length === 0, F = Ye("(max-width:768px)"), w = M ? L(
|
|
2236
|
+
}, M = p ? I : !Array.isArray(e) || e.length === 0, F = Ye("(max-width:768px)"), w = M ? L(r, s) : en(C, r, s);
|
|
2233
2237
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ f(j, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2234
2238
|
/* @__PURE__ */ f(
|
|
2235
2239
|
U,
|
|
@@ -2275,7 +2279,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2275
2279
|
/* @__PURE__ */ t(
|
|
2276
2280
|
ce,
|
|
2277
2281
|
{
|
|
2278
|
-
ref:
|
|
2282
|
+
ref: l,
|
|
2279
2283
|
items: w,
|
|
2280
2284
|
perPage: void 0,
|
|
2281
2285
|
gap: "16px",
|
|
@@ -2358,26 +2362,26 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2358
2362
|
});
|
|
2359
2363
|
if (!o.length) return [];
|
|
2360
2364
|
const i = [];
|
|
2361
|
-
let
|
|
2365
|
+
let r = 0;
|
|
2362
2366
|
if (a) {
|
|
2363
2367
|
const s = Math.min(o.length, 1);
|
|
2364
2368
|
i.push({
|
|
2365
2369
|
id: "mosaic-0",
|
|
2366
2370
|
kind: "mosaic",
|
|
2367
2371
|
items: o.slice(0, s)
|
|
2368
|
-
}),
|
|
2372
|
+
}), r = s;
|
|
2369
2373
|
}
|
|
2370
|
-
for (;
|
|
2371
|
-
const s = Math.min(
|
|
2374
|
+
for (; r < o.length; ) {
|
|
2375
|
+
const s = Math.min(r + n, o.length);
|
|
2372
2376
|
i.push({
|
|
2373
|
-
id: `grid-${
|
|
2377
|
+
id: `grid-${r}`,
|
|
2374
2378
|
kind: "grid",
|
|
2375
|
-
items: o.slice(
|
|
2376
|
-
}),
|
|
2379
|
+
items: o.slice(r, s)
|
|
2380
|
+
}), r = s;
|
|
2377
2381
|
}
|
|
2378
2382
|
return i;
|
|
2379
2383
|
}, on = (e = !0, a = 4) => {
|
|
2380
|
-
const n = (i) => Array.from({ length: i }, (
|
|
2384
|
+
const n = (i) => Array.from({ length: i }, (r, s) => ({
|
|
2381
2385
|
id: `sk-${i}-${s}`,
|
|
2382
2386
|
imageUrl: ""
|
|
2383
2387
|
})), o = [];
|
|
@@ -2396,11 +2400,11 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2396
2400
|
iconUrl: n = "/assets/img/home/Virtuales/virtuales.svg",
|
|
2397
2401
|
onItemClick: o,
|
|
2398
2402
|
onViewMore: i,
|
|
2399
|
-
mosaicFirst:
|
|
2403
|
+
mosaicFirst: r = !0,
|
|
2400
2404
|
gridSize: s = 1,
|
|
2401
2405
|
isPersonalize: u = !1
|
|
2402
2406
|
}) => {
|
|
2403
|
-
const b = W(null), [h,
|
|
2407
|
+
const b = W(null), [h, l] = H({ isStart: !0, isEnd: !1 }), c = Q(), m = ee(), p = an(u), { resolvedItems: _, loading: I } = Ka(
|
|
2404
2408
|
e,
|
|
2405
2409
|
p
|
|
2406
2410
|
), C = p ? _ : Array.isArray(e) ? e : [], T = () => {
|
|
@@ -2445,7 +2449,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2445
2449
|
return;
|
|
2446
2450
|
}
|
|
2447
2451
|
typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales");
|
|
2448
|
-
}, L = p ? I : !Array.isArray(e) || e.length === 0, M = be("(max-width:768px)"), F = L ? on(
|
|
2452
|
+
}, L = p ? I : !Array.isArray(e) || e.length === 0, M = be("(max-width:768px)"), F = L ? on(r, s) : nn(C, r, s);
|
|
2449
2453
|
return /* @__PURE__ */ t("section", { children: /* @__PURE__ */ f(j, { direction: "column", spacing: 2, useFlexGap: !0, children: [
|
|
2450
2454
|
/* @__PURE__ */ f(
|
|
2451
2455
|
U,
|
|
@@ -2556,7 +2560,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2556
2560
|
}
|
|
2557
2561
|
}
|
|
2558
2562
|
) }),
|
|
2559
|
-
onMove: ({ isStart: w, isEnd: N }) =>
|
|
2563
|
+
onMove: ({ isStart: w, isEnd: N }) => l({ isStart: w, isEnd: N })
|
|
2560
2564
|
}
|
|
2561
2565
|
)
|
|
2562
2566
|
] }) });
|
|
@@ -2598,10 +2602,10 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2598
2602
|
items: n,
|
|
2599
2603
|
backgroundImageUrl: o
|
|
2600
2604
|
}) => {
|
|
2601
|
-
const i = Q(),
|
|
2605
|
+
const i = Q(), r = ee(), s = be("(max-width: 767px)"), u = n.length > 1, b = W(null), h = W(null), l = W(!1), c = W(!1), [m, p] = H(0), [_, I] = H({ isStart: !0, isEnd: !1 });
|
|
2602
2606
|
J(() => {
|
|
2603
2607
|
const E = setTimeout(() => {
|
|
2604
|
-
|
|
2608
|
+
l.current = !0;
|
|
2605
2609
|
}, 500);
|
|
2606
2610
|
return () => clearTimeout(E);
|
|
2607
2611
|
}, []);
|
|
@@ -2633,7 +2637,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2633
2637
|
}
|
|
2634
2638
|
}), E.onButtonClick && E.onButtonClick();
|
|
2635
2639
|
}, N = (E) => {
|
|
2636
|
-
if (!
|
|
2640
|
+
if (!l.current) return;
|
|
2637
2641
|
if (c.current) {
|
|
2638
2642
|
c.current = !1;
|
|
2639
2643
|
return;
|
|
@@ -2641,7 +2645,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2641
2645
|
const O = n == null ? void 0 : n[E];
|
|
2642
2646
|
i({
|
|
2643
2647
|
element: "welcome_banner_carousel",
|
|
2644
|
-
label: `Landing: ${
|
|
2648
|
+
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Banner view: ${(O == null ? void 0 : O.title) || "OraculoSeccionBonoBienvenida - Banner " + (E + 1)}`,
|
|
2645
2649
|
target: "no_url",
|
|
2646
2650
|
event_type: "view",
|
|
2647
2651
|
module_id: 301,
|
|
@@ -2769,7 +2773,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2769
2773
|
var O;
|
|
2770
2774
|
i({
|
|
2771
2775
|
element: "welcome_banner_dots",
|
|
2772
|
-
label: `Landing: ${
|
|
2776
|
+
label: `Landing: ${r} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${E + 1}`,
|
|
2773
2777
|
target: "no_url",
|
|
2774
2778
|
event_type: "click",
|
|
2775
2779
|
module_id: 301,
|
|
@@ -2793,7 +2797,7 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2793
2797
|
selectedIndex: o = 0,
|
|
2794
2798
|
ariaLabel: i
|
|
2795
2799
|
}) => {
|
|
2796
|
-
const
|
|
2800
|
+
const r = W(null), s = W(null), u = Q(), b = ee();
|
|
2797
2801
|
if (!n) return null;
|
|
2798
2802
|
const h = () => {
|
|
2799
2803
|
u({
|
|
@@ -2807,10 +2811,10 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2807
2811
|
},
|
|
2808
2812
|
tags: { section: "OraculoSeccionClubOlimpo" }
|
|
2809
2813
|
}), typeof globalThis != "undefined" && globalThis.location && globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo");
|
|
2810
|
-
},
|
|
2814
|
+
}, l = Array.isArray(n) ? n[o] : n;
|
|
2811
2815
|
yt(() => {
|
|
2812
|
-
if (!
|
|
2813
|
-
const m =
|
|
2816
|
+
if (!r.current || !s.current || typeof ResizeObserver == "undefined") return;
|
|
2817
|
+
const m = r.current, p = s.current, _ = () => {
|
|
2814
2818
|
m.style.setProperty(
|
|
2815
2819
|
"--orc-co-bottomH",
|
|
2816
2820
|
`${p.offsetHeight + 16}px`
|
|
@@ -2826,19 +2830,19 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2826
2830
|
return /* @__PURE__ */ t(
|
|
2827
2831
|
"section",
|
|
2828
2832
|
{
|
|
2829
|
-
ref:
|
|
2833
|
+
ref: r,
|
|
2830
2834
|
className: c,
|
|
2831
|
-
"aria-label": i ||
|
|
2835
|
+
"aria-label": i || l.imgAlt || "Club Olimpo",
|
|
2832
2836
|
children: /* @__PURE__ */ t("div", { ref: s, children: /* @__PURE__ */ t(
|
|
2833
2837
|
ua,
|
|
2834
2838
|
{
|
|
2835
|
-
text:
|
|
2839
|
+
text: l.text,
|
|
2836
2840
|
onClick: h,
|
|
2837
|
-
imgAlt:
|
|
2838
|
-
buttonLabel:
|
|
2839
|
-
imgSrcMobile:
|
|
2840
|
-
imgSrcDesktopBg:
|
|
2841
|
-
imgSrcDesktopLogo:
|
|
2841
|
+
imgAlt: l.imgAlt,
|
|
2842
|
+
buttonLabel: l.buttonLabel,
|
|
2843
|
+
imgSrcMobile: l.imgMobile,
|
|
2844
|
+
imgSrcDesktopBg: l.imgDesktopBg,
|
|
2845
|
+
imgSrcDesktopLogo: l.imgDesktopLogo
|
|
2842
2846
|
}
|
|
2843
2847
|
) })
|
|
2844
2848
|
}
|
|
@@ -2849,20 +2853,20 @@ const Va = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/recommend
|
|
|
2849
2853
|
}, mn = (e) => {
|
|
2850
2854
|
var a, n;
|
|
2851
2855
|
return (a = e.outcome) != null && a.id ? [e.outcome.id] : e.type === "BET_BUILDER" && ((n = e.group) != null && n.groups) ? e.group.groups.flatMap((o) => {
|
|
2852
|
-
var i,
|
|
2853
|
-
return (
|
|
2856
|
+
var i, r;
|
|
2857
|
+
return (r = (i = o.outcomes) == null ? void 0 : i.map((s) => s.id)) != null ? r : [];
|
|
2854
2858
|
}) : [];
|
|
2855
2859
|
};
|
|
2856
2860
|
function pn(e, a, n) {
|
|
2857
2861
|
return n ? n.map((o) => {
|
|
2858
|
-
var
|
|
2859
|
-
const i = o.prePackCouponRows.flatMap((m) => mn(m).map((p) => ({ eventId: m.eventId, outcomeId: p }))),
|
|
2862
|
+
var l, c;
|
|
2863
|
+
const i = o.prePackCouponRows.flatMap((m) => mn(m).map((p) => ({ eventId: m.eventId, outcomeId: p }))), r = new Set(i.map((m) => m.eventId)), s = new Set(i.map((m) => m.outcomeId)), u = new Map(i.map((m, p) => [m.outcomeId, p])), b = {};
|
|
2860
2864
|
for (const m of a) {
|
|
2861
|
-
if (!
|
|
2865
|
+
if (!r.has(m.eventId)) continue;
|
|
2862
2866
|
const p = m.outcomes.filter((_) => s.has(_.id)).map((_) => ({ ..._, position: u.get(_.id) }));
|
|
2863
|
-
p.length && ((c = b[
|
|
2867
|
+
p.length && ((c = b[l = m.eventId]) != null || (b[l] = []), b[m.eventId].push({ ...m, outcomes: p }));
|
|
2864
2868
|
}
|
|
2865
|
-
const h = e.filter((m) =>
|
|
2869
|
+
const h = e.filter((m) => r.has(m.id)).map((m) => {
|
|
2866
2870
|
var p;
|
|
2867
2871
|
return { ...m, betoffers: (p = b[m.id]) != null ? p : [] };
|
|
2868
2872
|
});
|
|
@@ -2891,9 +2895,9 @@ function hn({
|
|
|
2891
2895
|
onViewMore: o,
|
|
2892
2896
|
className: i = ""
|
|
2893
2897
|
}) {
|
|
2894
|
-
const
|
|
2898
|
+
const r = Q(), s = ee(), u = W(null), [b, h] = H({ isStart: !0, isEnd: !1 }), [l, c] = H([]), m = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group/prepackcoupon.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764284658793&prePackCouponTags=CUSTOM", p = () => {
|
|
2895
2899
|
var L;
|
|
2896
|
-
|
|
2900
|
+
r({
|
|
2897
2901
|
element: "evento_combinadas_prev",
|
|
2898
2902
|
label: `Landing: ${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,
|
|
2899
2903
|
event_type: "click",
|
|
@@ -2905,7 +2909,7 @@ function hn({
|
|
|
2905
2909
|
}), (L = u.current) == null || L.prev();
|
|
2906
2910
|
}, _ = () => {
|
|
2907
2911
|
var L;
|
|
2908
|
-
|
|
2912
|
+
r({
|
|
2909
2913
|
element: "evento_combinadas_next",
|
|
2910
2914
|
label: `Landing: ${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,
|
|
2911
2915
|
event_type: "click",
|
|
@@ -2916,7 +2920,7 @@ function hn({
|
|
|
2916
2920
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2917
2921
|
}), (L = u.current) == null || L.next();
|
|
2918
2922
|
}, I = () => {
|
|
2919
|
-
|
|
2923
|
+
r({
|
|
2920
2924
|
element: "evento_combinadas_ver_mas",
|
|
2921
2925
|
label: `Landing: ${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,
|
|
2922
2926
|
event_type: "click",
|
|
@@ -2926,7 +2930,7 @@ function hn({
|
|
|
2926
2930
|
},
|
|
2927
2931
|
tags: { section: "OraculoSeccionEventoCombinadas" }
|
|
2928
2932
|
}), Sa();
|
|
2929
|
-
}, C = te(() =>
|
|
2933
|
+
}, C = te(() => l.filter((L) => L.combinadoTotal !== null), [l]);
|
|
2930
2934
|
async function T() {
|
|
2931
2935
|
var L, M, F;
|
|
2932
2936
|
try {
|
|
@@ -3049,7 +3053,7 @@ const yn = "oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD", xn = {
|
|
|
3049
3053
|
var i;
|
|
3050
3054
|
if (n.event.sport !== "FOOTBALL") return !1;
|
|
3051
3055
|
const o = ((i = n.event.group) == null ? void 0 : i.toLowerCase()) || "";
|
|
3052
|
-
return !a.some((
|
|
3056
|
+
return !a.some((r) => o.includes(r));
|
|
3053
3057
|
});
|
|
3054
3058
|
}, Sn = ue.memo(ka);
|
|
3055
3059
|
function Cn({
|
|
@@ -3059,7 +3063,7 @@ function Cn({
|
|
|
3059
3063
|
onViewMore: o,
|
|
3060
3064
|
className: i = ""
|
|
3061
3065
|
}) {
|
|
3062
|
-
const
|
|
3066
|
+
const r = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true", s = W(null), [u, b] = H({ isStart: !0, isEnd: !1 }), [h, l] = H(null), [c, m] = H({}), [p, _] = H({ start: null, end: null }), I = W(!1), [C, T] = H(null), k = W(!1), A = Q(), L = ee(), M = W(/* @__PURE__ */ new Map()), F = st(p, 300), w = W(/* @__PURE__ */ new Set()), N = () => {
|
|
3063
3067
|
var $;
|
|
3064
3068
|
A({
|
|
3065
3069
|
element: "evento_en_vivo_prev",
|
|
@@ -3109,17 +3113,17 @@ function Cn({
|
|
|
3109
3113
|
console.error("Order fetch failed, using default sorting", v);
|
|
3110
3114
|
}
|
|
3111
3115
|
}
|
|
3112
|
-
const d = await fetch(
|
|
3116
|
+
const d = await fetch(r);
|
|
3113
3117
|
if (!d.ok) throw new Error("Failed to fetch live events");
|
|
3114
3118
|
const y = await d.json(), S = wn(y.events);
|
|
3115
3119
|
if (M.current.size === 0)
|
|
3116
|
-
|
|
3120
|
+
l(S);
|
|
3117
3121
|
else {
|
|
3118
3122
|
const v = [...S].sort((x, B) => {
|
|
3119
3123
|
const V = M.current.get(String(x.event.id)), D = M.current.get(String(B.event.id));
|
|
3120
3124
|
return (V !== void 0 ? V : 1 / 0) - (D !== void 0 ? D : 1 / 0);
|
|
3121
3125
|
});
|
|
3122
|
-
|
|
3126
|
+
l(v);
|
|
3123
3127
|
}
|
|
3124
3128
|
} catch (d) {
|
|
3125
3129
|
console.error("LoadData Error:", d);
|
|
@@ -3261,8 +3265,8 @@ async function Nn(e, a = 2, n) {
|
|
|
3261
3265
|
for (let i = 0; i < e.length; i += a) {
|
|
3262
3266
|
if (n.aborted)
|
|
3263
3267
|
throw new DOMException("Aborted", "AbortError");
|
|
3264
|
-
const
|
|
3265
|
-
|
|
3268
|
+
const r = e.slice(i, i + a), s = await Promise.all(
|
|
3269
|
+
r.map((u) => fetch(u, { signal: n }).then((b) => b.json()))
|
|
3266
3270
|
);
|
|
3267
3271
|
o.push(...s);
|
|
3268
3272
|
}
|
|
@@ -3283,9 +3287,9 @@ function Bn(e) {
|
|
|
3283
3287
|
}
|
|
3284
3288
|
function Ln(e, a) {
|
|
3285
3289
|
const o = a.filter((i) => {
|
|
3286
|
-
var
|
|
3287
|
-
return ((
|
|
3288
|
-
}).reduce((i,
|
|
3290
|
+
var r;
|
|
3291
|
+
return ((r = i.betOfferType) == null ? void 0 : r.id) === 2;
|
|
3292
|
+
}).reduce((i, r) => (i[r.eventId] || (i[r.eventId] = []), i[r.eventId].push(r), i), {});
|
|
3289
3293
|
return e.filter((i) => o[i.id]).map((i) => ({
|
|
3290
3294
|
...i,
|
|
3291
3295
|
outcome: o[i.id]
|
|
@@ -3298,12 +3302,12 @@ function An({
|
|
|
3298
3302
|
onViewMore: o,
|
|
3299
3303
|
className: i = ""
|
|
3300
3304
|
}) {
|
|
3301
|
-
const
|
|
3305
|
+
const r = Q(), s = ee(), u = "https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE", b = W(null), [h, l] = H({ isStart: !0, isEnd: !1 }), [c, m] = H(null);
|
|
3302
3306
|
W(/* @__PURE__ */ new Set());
|
|
3303
3307
|
const [p, _] = H({}), [I, C] = H({ start: null, end: null }), T = "channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true", k = st(I, 250), A = W(!1);
|
|
3304
3308
|
te(() => c === null ? Array(6).fill({}) : c.slice(0, 20), [c]);
|
|
3305
3309
|
const L = () => {
|
|
3306
|
-
|
|
3310
|
+
r({
|
|
3307
3311
|
element: "evento_semana_view_more",
|
|
3308
3312
|
label: `Landing: ${s} - OraculoSeccionEventoSemana - Ver más`,
|
|
3309
3313
|
target: "ver_mas",
|
|
@@ -3467,10 +3471,10 @@ function An({
|
|
|
3467
3471
|
return P ? /* @__PURE__ */ t(Ie, { children: /* @__PURE__ */ t(On, {}) }) : /* @__PURE__ */ t(Ie, { children: /* @__PURE__ */ t($n, { event: O, jersey: q }) });
|
|
3468
3472
|
},
|
|
3469
3473
|
onMove: ({ isStart: O, isEnd: R, visibleStart: q, visibleEnd: g }) => {
|
|
3470
|
-
|
|
3474
|
+
l({ isStart: O, isEnd: R }), C({
|
|
3471
3475
|
start: q,
|
|
3472
3476
|
end: g
|
|
3473
|
-
}),
|
|
3477
|
+
}), r({
|
|
3474
3478
|
element: "evento_semana_carousel_slide",
|
|
3475
3479
|
label: `Landing: ${s} - OraculoSeccionEventoSemana - Slide Carousel`,
|
|
3476
3480
|
target: "carousel",
|
|
@@ -3496,7 +3500,7 @@ function Rn({
|
|
|
3496
3500
|
hideItems: n
|
|
3497
3501
|
}) {
|
|
3498
3502
|
var O, R, q;
|
|
3499
|
-
const [o, i] = H(0),
|
|
3503
|
+
const [o, i] = H(0), r = Q(), s = ee(), u = W(null), b = W(!1), h = W(!1), l = (e == null ? void 0 : e.length) || 1, c = !e || e.length === 0, m = !c && ((O = e == null ? void 0 : e.length) != null ? O : 0) > 1, p = !n && ((R = a == null ? void 0 : a.length) != null ? R : 0) > 0, _ = "#B5B5B5", I = {
|
|
3500
3504
|
position: "absolute",
|
|
3501
3505
|
top: "50%",
|
|
3502
3506
|
transform: "translateY(-50%)",
|
|
@@ -3539,7 +3543,7 @@ function Rn({
|
|
|
3539
3543
|
const T = (g, z) => {
|
|
3540
3544
|
var d, y;
|
|
3541
3545
|
const $ = ((y = (d = g.href) == null ? void 0 : d.split("/").pop()) == null ? void 0 : y.split(".")[0]) || g.label || g.id || `banner_${z + 1}`;
|
|
3542
|
-
|
|
3546
|
+
r({
|
|
3543
3547
|
element: "banner_carousel",
|
|
3544
3548
|
label: `Landing: ${s} - OraculoSeccionBanners - Banner click: ${$}`,
|
|
3545
3549
|
target: g.href || "no_url",
|
|
@@ -3557,7 +3561,7 @@ function Rn({
|
|
|
3557
3561
|
}
|
|
3558
3562
|
});
|
|
3559
3563
|
}, k = (g) => {
|
|
3560
|
-
if (
|
|
3564
|
+
if (r({
|
|
3561
3565
|
element: "banner_menu_item",
|
|
3562
3566
|
label: `Landing: ${s} - OraculoSeccionBanners - Menu item click: ${g.label || g.id}`,
|
|
3563
3567
|
target: g.href || "action",
|
|
@@ -3592,10 +3596,10 @@ function Rn({
|
|
|
3592
3596
|
g.preventDefault(), g.stopPropagation(), F(), (z = u.current) == null || z.next();
|
|
3593
3597
|
}, E = (g) => {
|
|
3594
3598
|
var d, y, S, v;
|
|
3595
|
-
const z = (g %
|
|
3599
|
+
const z = (g % l + l) % l;
|
|
3596
3600
|
if (!b.current) return;
|
|
3597
3601
|
const $ = (d = e == null ? void 0 : e[z]) != null && d.href ? ((S = (y = e[z].href) == null ? void 0 : y.split("/").pop()) == null ? void 0 : S.split(".")[0]) || `banner_${z + 1}` : `banner_${z + 1}`;
|
|
3598
|
-
|
|
3602
|
+
r({
|
|
3599
3603
|
element: "banner_carousel",
|
|
3600
3604
|
label: `Landing: ${s} - OraculoSeccionBanners - Banner view: Slide ${z + 1} - ${$}`,
|
|
3601
3605
|
target: ((v = e == null ? void 0 : e[z]) == null ? void 0 : v.href) || "no_url",
|
|
@@ -3604,7 +3608,7 @@ function Rn({
|
|
|
3604
3608
|
metadata: {
|
|
3605
3609
|
location: typeof globalThis != "undefined" && globalThis.location ? globalThis.location.pathname : "",
|
|
3606
3610
|
slide_index: z + 1,
|
|
3607
|
-
total_slides:
|
|
3611
|
+
total_slides: l,
|
|
3608
3612
|
interaction_type: "manual_slide"
|
|
3609
3613
|
},
|
|
3610
3614
|
tags: { banner_position: String(z + 1) }
|
|
@@ -3653,7 +3657,7 @@ function Rn({
|
|
|
3653
3657
|
enableHorizontalWheel: !0,
|
|
3654
3658
|
options: C,
|
|
3655
3659
|
onMove: ({ index: g }) => {
|
|
3656
|
-
const z = (g %
|
|
3660
|
+
const z = (g % l + l) % l;
|
|
3657
3661
|
i(z);
|
|
3658
3662
|
const $ = h.current;
|
|
3659
3663
|
h.current = !1, w(), $ || E(g);
|
|
@@ -3769,11 +3773,11 @@ function Rn({
|
|
|
3769
3773
|
children: /* @__PURE__ */ t(
|
|
3770
3774
|
at,
|
|
3771
3775
|
{
|
|
3772
|
-
total:
|
|
3776
|
+
total: l,
|
|
3773
3777
|
active: o,
|
|
3774
3778
|
durationMs: A
|
|
3775
3779
|
},
|
|
3776
|
-
`${o}-${
|
|
3780
|
+
`${o}-${l}`
|
|
3777
3781
|
)
|
|
3778
3782
|
}
|
|
3779
3783
|
)
|
|
@@ -3967,7 +3971,7 @@ function zn({
|
|
|
3967
3971
|
alignItems: "center",
|
|
3968
3972
|
gap: { xs: 2, md: 3 },
|
|
3969
3973
|
flexWrap: "wrap",
|
|
3970
|
-
children: o.map((
|
|
3974
|
+
children: o.map((r, s) => /* @__PURE__ */ t(Ue, { ...r }, `${r.alt}-${r.src}-${s}`))
|
|
3971
3975
|
}
|
|
3972
3976
|
),
|
|
3973
3977
|
/* @__PURE__ */ t(
|
|
@@ -3978,7 +3982,7 @@ function zn({
|
|
|
3978
3982
|
alignItems: "center",
|
|
3979
3983
|
gap: { xs: 2, md: 3 },
|
|
3980
3984
|
flexWrap: "wrap",
|
|
3981
|
-
children: i.map((
|
|
3985
|
+
children: i.map((r, s) => /* @__PURE__ */ t(Ue, { ...r }, `${r.alt}-${r.src}-${s}`))
|
|
3982
3986
|
}
|
|
3983
3987
|
)
|
|
3984
3988
|
] })
|
|
@@ -5093,12 +5097,12 @@ function Be(e) {
|
|
|
5093
5097
|
var o, i;
|
|
5094
5098
|
return ((o = a.order) != null ? o : 0) - ((i = n.order) != null ? i : 0);
|
|
5095
5099
|
}).map((a, n) => ({ ...a, order: n + 1 })) : e && Array.isArray(e.components) ? e.components.map((a, n) => {
|
|
5096
|
-
var o, i,
|
|
5100
|
+
var o, i, r, s, u;
|
|
5097
5101
|
return {
|
|
5098
5102
|
id: (o = a.id) != null ? o : n + 1,
|
|
5099
5103
|
title: (i = a.title) != null ? i : "",
|
|
5100
5104
|
componentKey: a.componentKey,
|
|
5101
|
-
visible: (
|
|
5105
|
+
visible: (r = a.visible) != null ? r : !0,
|
|
5102
5106
|
order: n + 1,
|
|
5103
5107
|
props: (s = a.props) != null ? s : {},
|
|
5104
5108
|
apiUrl: (u = a.apiUrl) != null ? u : "",
|
|
@@ -5139,9 +5143,9 @@ const Je = [
|
|
|
5139
5143
|
db: n,
|
|
5140
5144
|
extras: o,
|
|
5141
5145
|
loader: i,
|
|
5142
|
-
disableWrapper:
|
|
5146
|
+
disableWrapper: r = !1
|
|
5143
5147
|
}) => {
|
|
5144
|
-
const s = te(() => Dn(o), [o]), u = i || s.loader, [b, h] = H([]), [
|
|
5148
|
+
const s = te(() => Dn(o), [o]), u = i || s.loader, [b, h] = H([]), [l, c] = H(!1), [m, p] = H({}), [_, I] = H({}), [C, T] = H({}), k = Ye("(min-width:1024px)"), A = (d) => Array.isArray(d) ? d.map((y) => Number(y)).filter((y) => !Number.isNaN(y)) : [], L = te(() => {
|
|
5145
5149
|
const d = s.user;
|
|
5146
5150
|
return A(d == null ? void 0 : d.groups);
|
|
5147
5151
|
}, [s]), M = (d) => {
|
|
@@ -5402,7 +5406,7 @@ const Je = [
|
|
|
5402
5406
|
};
|
|
5403
5407
|
return /* @__PURE__ */ t("div", { style: ft, className: "oraculo-section-wrapper", children: /* @__PURE__ */ t(S, { ...D }) }, d.id);
|
|
5404
5408
|
};
|
|
5405
|
-
return
|
|
5409
|
+
return l && !e ? u ? /* @__PURE__ */ t(u, {}) : /* @__PURE__ */ t("div", { children: "Cargando..." }) : !l && !e && b.length === 0 ? /* @__PURE__ */ t("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" }) : r ? /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Le, { docId: a, children: /* @__PURE__ */ t(ae, { children: E.map($) }) }) }) : /* @__PURE__ */ t(Ae, { children: /* @__PURE__ */ t(Le, { docId: a, children: /* @__PURE__ */ t(
|
|
5406
5410
|
gt,
|
|
5407
5411
|
{
|
|
5408
5412
|
className: "oli-font",
|