oraculo-ui 0.1.9 → 0.1.11
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/{OraculoSeccionBonoBienvenida-EDS6UQVL.mjs → OraculoSeccionBonoBienvenida-2APXZQQA.mjs} +1 -2
- package/dist/{OraculoSeccionCasino-GXRRODCJ.mjs → OraculoSeccionCasino-H6CXFXMN.mjs} +5 -4
- package/dist/{OraculoSeccionVirtuales-OP2CSKUP.css → OraculoSeccionCasino-RFXPS2MW.css} +181 -0
- package/dist/OraculoSeccionCasino-WBPCNYC5.mjs +12 -0
- package/dist/OraculoSeccionDestacados-EPL4KZCF.mjs +12 -0
- package/dist/OraculoSeccionDestacados-IMREYQ6W.mjs +12 -0
- package/dist/OraculoSeccionTopJuegos-DWEO36ND.mjs +12 -0
- package/dist/OraculoSeccionTopJuegos-FKAD2YD3.mjs +12 -0
- package/dist/{OraculoSeccionCasino-Q2VV44XD.css → OraculoSeccionTopJuegos-FMFAEVQK.css} +181 -0
- package/dist/OraculoSeccionVirtuales-6RBECPDW.css +397 -0
- package/dist/{OraculoSeccionVirtuales-MGW5X23B.mjs → OraculoSeccionVirtuales-IBYOMEJV.mjs} +5 -4
- package/dist/OraculoSeccionVirtuales-N2ETKRK7.mjs +12 -0
- package/dist/{chunk-WPLILXPP.mjs → chunk-4LBAYKDQ.mjs} +116 -30
- package/dist/{chunk-PXIOKT7L.mjs → chunk-ECHAXSTL.mjs} +817 -97
- package/dist/chunk-VYYKDD5L.mjs +39899 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +194 -162
- package/dist/index.mjs +11 -23
- package/package.json +1 -1
- package/dist/OraculoSeccionDestacados-QU6BT2NM.mjs +0 -18
- package/dist/OraculoSeccionTopJuegos-3AR4L7SZ.css +0 -59
- package/dist/OraculoSeccionTopJuegos-FZUYQEMC.mjs +0 -8
- package/dist/chunk-5GTDKE3I.mjs +0 -30
- package/dist/chunk-AFPCFXMZ.mjs +0 -174
- package/dist/chunk-AIT7B2J3.mjs +0 -192
- package/dist/chunk-DKP3HTEP.mjs +0 -183
- package/dist/chunk-VHW77D2M.mjs +0 -91
- package/dist/chunk-YY5T37WR.mjs +0 -175
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { ReactNode } from 'react';
|
|
|
3
3
|
|
|
4
4
|
interface OraculoButtonProps {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
|
-
onClick?:
|
|
6
|
+
onClick?: any;
|
|
7
7
|
href?: string;
|
|
8
8
|
target?: React.HTMLAttributeAnchorTarget;
|
|
9
9
|
rel?: string;
|
|
@@ -108,6 +108,7 @@ interface OraculoGameCardProps {
|
|
|
108
108
|
imageUrl: string;
|
|
109
109
|
onClick?: () => void;
|
|
110
110
|
size?: "lg" | "sm";
|
|
111
|
+
fillParent?: boolean;
|
|
111
112
|
}
|
|
112
113
|
declare const OraculoGameCard: React.FC<OraculoGameCardProps>;
|
|
113
114
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { ReactNode } from 'react';
|
|
|
3
3
|
|
|
4
4
|
interface OraculoButtonProps {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
|
-
onClick?:
|
|
6
|
+
onClick?: any;
|
|
7
7
|
href?: string;
|
|
8
8
|
target?: React.HTMLAttributeAnchorTarget;
|
|
9
9
|
rel?: string;
|
|
@@ -108,6 +108,7 @@ interface OraculoGameCardProps {
|
|
|
108
108
|
imageUrl: string;
|
|
109
109
|
onClick?: () => void;
|
|
110
110
|
size?: "lg" | "sm";
|
|
111
|
+
fillParent?: boolean;
|
|
111
112
|
}
|
|
112
113
|
declare const OraculoGameCard: React.FC<OraculoGameCardProps>;
|
|
113
114
|
|
package/dist/index.js
CHANGED
|
@@ -284,6 +284,108 @@ var init_OraculoCarousel = __esm({
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
|
|
287
|
+
// src/molecules/OraculoGameCard/OraculoGameCard.tsx
|
|
288
|
+
var import_Box, import_jsx_runtime5, OraculoGameCard, OraculoGameCard_default;
|
|
289
|
+
var init_OraculoGameCard = __esm({
|
|
290
|
+
"src/molecules/OraculoGameCard/OraculoGameCard.tsx"() {
|
|
291
|
+
"use strict";
|
|
292
|
+
import_Box = __toESM(require("@mui/material/Box"));
|
|
293
|
+
init_index();
|
|
294
|
+
import_jsx_runtime5 = require("react/jsx-runtime");
|
|
295
|
+
OraculoGameCard = ({
|
|
296
|
+
imageUrl,
|
|
297
|
+
onClick,
|
|
298
|
+
size = "sm",
|
|
299
|
+
fillParent = false
|
|
300
|
+
}) => {
|
|
301
|
+
const dim = size === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 };
|
|
302
|
+
const handleButtonClick = (e) => {
|
|
303
|
+
e.stopPropagation();
|
|
304
|
+
onClick == null ? void 0 : onClick();
|
|
305
|
+
};
|
|
306
|
+
const sizeStyles = fillParent ? { width: "100%", height: "100%" } : { width: `${dim.w}px`, height: `${dim.h}px` };
|
|
307
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
308
|
+
import_Box.default,
|
|
309
|
+
{
|
|
310
|
+
onClick,
|
|
311
|
+
role: "button",
|
|
312
|
+
sx: {
|
|
313
|
+
position: "relative",
|
|
314
|
+
borderRadius: "12px",
|
|
315
|
+
overflow: "hidden",
|
|
316
|
+
boxSizing: "border-box",
|
|
317
|
+
transition: "transform .15s ease, box-shadow .15s ease",
|
|
318
|
+
...sizeStyles,
|
|
319
|
+
"&:hover": {
|
|
320
|
+
transform: "translateY(-2px)",
|
|
321
|
+
boxShadow: 8,
|
|
322
|
+
cursor: "pointer"
|
|
323
|
+
},
|
|
324
|
+
"&:hover .oraculo-game-card-overlay": {
|
|
325
|
+
opacity: 1
|
|
326
|
+
},
|
|
327
|
+
"&:hover .oraculo-game-card-btn": {
|
|
328
|
+
opacity: 1,
|
|
329
|
+
transform: "translate(-50%, -50%) scale(1)",
|
|
330
|
+
pointerEvents: "auto"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
children: [
|
|
334
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
335
|
+
"img",
|
|
336
|
+
{
|
|
337
|
+
src: imageUrl,
|
|
338
|
+
alt: "Juego de casino",
|
|
339
|
+
loading: "lazy",
|
|
340
|
+
style: {
|
|
341
|
+
width: "100%",
|
|
342
|
+
height: "100%",
|
|
343
|
+
objectFit: "cover",
|
|
344
|
+
display: "block",
|
|
345
|
+
borderRadius: "inherit"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
),
|
|
349
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
350
|
+
import_Box.default,
|
|
351
|
+
{
|
|
352
|
+
className: "oraculo-game-card-overlay",
|
|
353
|
+
sx: {
|
|
354
|
+
position: "absolute",
|
|
355
|
+
inset: 0,
|
|
356
|
+
backgroundColor: "rgba(0, 0, 0, 0.45)",
|
|
357
|
+
opacity: 0,
|
|
358
|
+
transition: "opacity .15s ease",
|
|
359
|
+
pointerEvents: "none",
|
|
360
|
+
zIndex: 1
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
),
|
|
364
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
365
|
+
import_Box.default,
|
|
366
|
+
{
|
|
367
|
+
className: "oraculo-game-card-btn",
|
|
368
|
+
sx: {
|
|
369
|
+
position: "absolute",
|
|
370
|
+
top: "50%",
|
|
371
|
+
left: "50%",
|
|
372
|
+
zIndex: 2,
|
|
373
|
+
transform: "translate(-50%, -50%) scale(0.95)",
|
|
374
|
+
opacity: 0,
|
|
375
|
+
transition: "opacity .15s ease, transform .15s ease",
|
|
376
|
+
pointerEvents: "none"
|
|
377
|
+
},
|
|
378
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(OraculoButton, { variant: "primary", onClick: handleButtonClick, children: "JUGAR" })
|
|
379
|
+
}
|
|
380
|
+
)
|
|
381
|
+
]
|
|
382
|
+
}
|
|
383
|
+
);
|
|
384
|
+
};
|
|
385
|
+
OraculoGameCard_default = OraculoGameCard;
|
|
386
|
+
}
|
|
387
|
+
});
|
|
388
|
+
|
|
287
389
|
// src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx
|
|
288
390
|
function OraculoGameRankCard({
|
|
289
391
|
imageUrl,
|
|
@@ -310,11 +412,9 @@ function OraculoGameRankCard({
|
|
|
310
412
|
xs: Math.round(((_b = (_a = sizes.xs) == null ? void 0 : _a.font) != null ? _b : 64) * 0.28),
|
|
311
413
|
md: Math.round(((_d = (_c = sizes.md) == null ? void 0 : _c.font) != null ? _d : 64) * 0.28)
|
|
312
414
|
};
|
|
313
|
-
return /* @__PURE__ */ (0,
|
|
314
|
-
|
|
415
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
416
|
+
import_Box2.default,
|
|
315
417
|
{
|
|
316
|
-
onClick,
|
|
317
|
-
role: "button",
|
|
318
418
|
sx: {
|
|
319
419
|
position: "relative",
|
|
320
420
|
width: "100%",
|
|
@@ -325,15 +425,12 @@ function OraculoGameRankCard({
|
|
|
325
425
|
},
|
|
326
426
|
borderRadius: { xs: `${R.xs}px`, md: `${R.md}px` },
|
|
327
427
|
boxSizing: "border-box",
|
|
328
|
-
cursor: "pointer",
|
|
329
428
|
overflow: "visible",
|
|
330
|
-
pb: { xs: `${hang.xs}px`, md: `${hang.md}px` }
|
|
331
|
-
transition: "transform .15s ease, box-shadow .15s ease",
|
|
332
|
-
"&:hover": { transform: "translateY(-2px)", boxShadow: 8 }
|
|
429
|
+
pb: { xs: `${hang.xs}px`, md: `${hang.md}px` }
|
|
333
430
|
},
|
|
334
431
|
children: [
|
|
335
|
-
/* @__PURE__ */ (0,
|
|
336
|
-
|
|
432
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
433
|
+
import_Box2.default,
|
|
337
434
|
{
|
|
338
435
|
sx: {
|
|
339
436
|
position: "absolute",
|
|
@@ -341,37 +438,19 @@ function OraculoGameRankCard({
|
|
|
341
438
|
borderRadius: "inherit",
|
|
342
439
|
overflow: "hidden"
|
|
343
440
|
},
|
|
344
|
-
children:
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
height: "100%",
|
|
354
|
-
objectFit: "cover",
|
|
355
|
-
display: "block"
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
),
|
|
359
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
360
|
-
import_Box.default,
|
|
361
|
-
{
|
|
362
|
-
sx: {
|
|
363
|
-
position: "absolute",
|
|
364
|
-
inset: 0,
|
|
365
|
-
background: "linear-gradient(21.29deg, rgba(11,13,27,.8) -1.16%, rgba(255,255,255,0) 55%)",
|
|
366
|
-
mixBlendMode: "multiply"
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
)
|
|
370
|
-
]
|
|
441
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
442
|
+
OraculoGameCard_default,
|
|
443
|
+
{
|
|
444
|
+
imageUrl,
|
|
445
|
+
onClick,
|
|
446
|
+
size: "lg",
|
|
447
|
+
fillParent: true
|
|
448
|
+
}
|
|
449
|
+
)
|
|
371
450
|
}
|
|
372
451
|
),
|
|
373
|
-
/* @__PURE__ */ (0,
|
|
374
|
-
|
|
452
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
453
|
+
import_Box2.default,
|
|
375
454
|
{
|
|
376
455
|
component: "span",
|
|
377
456
|
sx: {
|
|
@@ -389,7 +468,7 @@ function OraculoGameRankCard({
|
|
|
389
468
|
lineHeight: 1,
|
|
390
469
|
color: "#3CC666",
|
|
391
470
|
WebkitTextStroke: "1px #9ee86e",
|
|
392
|
-
zIndex:
|
|
471
|
+
zIndex: 3,
|
|
393
472
|
userSelect: "none"
|
|
394
473
|
},
|
|
395
474
|
children: orden
|
|
@@ -399,23 +478,24 @@ function OraculoGameRankCard({
|
|
|
399
478
|
}
|
|
400
479
|
);
|
|
401
480
|
}
|
|
402
|
-
var
|
|
481
|
+
var import_Box2, import_jsx_runtime6;
|
|
403
482
|
var init_OraculoGameRankCard = __esm({
|
|
404
483
|
"src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx"() {
|
|
405
484
|
"use strict";
|
|
406
|
-
|
|
407
|
-
|
|
485
|
+
import_Box2 = __toESM(require("@mui/material/Box"));
|
|
486
|
+
init_OraculoGameCard();
|
|
487
|
+
import_jsx_runtime6 = require("react/jsx-runtime");
|
|
408
488
|
}
|
|
409
489
|
});
|
|
410
490
|
|
|
411
491
|
// src/molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard.tsx
|
|
412
|
-
var
|
|
492
|
+
var import_Box3, import_Typography, import_jsx_runtime7, OraculoLiveCasinoCard, OraculoLiveCasinoCard_default;
|
|
413
493
|
var init_OraculoLiveCasinoCard = __esm({
|
|
414
494
|
"src/molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard.tsx"() {
|
|
415
495
|
"use strict";
|
|
416
|
-
|
|
496
|
+
import_Box3 = __toESM(require("@mui/material/Box"));
|
|
417
497
|
import_Typography = __toESM(require("@mui/material/Typography"));
|
|
418
|
-
|
|
498
|
+
import_jsx_runtime7 = require("react/jsx-runtime");
|
|
419
499
|
OraculoLiveCasinoCard = ({
|
|
420
500
|
logo,
|
|
421
501
|
provider,
|
|
@@ -424,8 +504,8 @@ var init_OraculoLiveCasinoCard = __esm({
|
|
|
424
504
|
onClick
|
|
425
505
|
}) => {
|
|
426
506
|
var _a;
|
|
427
|
-
return /* @__PURE__ */ (0,
|
|
428
|
-
|
|
507
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
508
|
+
import_Box3.default,
|
|
429
509
|
{
|
|
430
510
|
onClick,
|
|
431
511
|
sx: {
|
|
@@ -448,8 +528,8 @@ var init_OraculoLiveCasinoCard = __esm({
|
|
|
448
528
|
}
|
|
449
529
|
},
|
|
450
530
|
children: [
|
|
451
|
-
/* @__PURE__ */ (0,
|
|
452
|
-
|
|
531
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
532
|
+
import_Box3.default,
|
|
453
533
|
{
|
|
454
534
|
component: "img",
|
|
455
535
|
src: logo,
|
|
@@ -464,8 +544,8 @@ var init_OraculoLiveCasinoCard = __esm({
|
|
|
464
544
|
}
|
|
465
545
|
}
|
|
466
546
|
),
|
|
467
|
-
/* @__PURE__ */ (0,
|
|
468
|
-
|
|
547
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
548
|
+
import_Box3.default,
|
|
469
549
|
{
|
|
470
550
|
className: "orc-live-provider-label",
|
|
471
551
|
sx: {
|
|
@@ -478,7 +558,7 @@ var init_OraculoLiveCasinoCard = __esm({
|
|
|
478
558
|
transition: "opacity .25s ease",
|
|
479
559
|
pointerEvents: "none"
|
|
480
560
|
},
|
|
481
|
-
children: /* @__PURE__ */ (0,
|
|
561
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
482
562
|
import_Typography.default,
|
|
483
563
|
{
|
|
484
564
|
sx: {
|
|
@@ -500,61 +580,6 @@ var init_OraculoLiveCasinoCard = __esm({
|
|
|
500
580
|
}
|
|
501
581
|
});
|
|
502
582
|
|
|
503
|
-
// src/molecules/OraculoGameCard/OraculoGameCard.tsx
|
|
504
|
-
var import_Box3, import_jsx_runtime7, OraculoGameCard, OraculoGameCard_default;
|
|
505
|
-
var init_OraculoGameCard = __esm({
|
|
506
|
-
"src/molecules/OraculoGameCard/OraculoGameCard.tsx"() {
|
|
507
|
-
"use strict";
|
|
508
|
-
import_Box3 = __toESM(require("@mui/material/Box"));
|
|
509
|
-
import_jsx_runtime7 = require("react/jsx-runtime");
|
|
510
|
-
OraculoGameCard = ({
|
|
511
|
-
imageUrl,
|
|
512
|
-
onClick,
|
|
513
|
-
size = "sm"
|
|
514
|
-
}) => {
|
|
515
|
-
const dim = size === "lg" ? { w: 280, h: 352 } : { w: 152, h: 168 };
|
|
516
|
-
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
517
|
-
import_Box3.default,
|
|
518
|
-
{
|
|
519
|
-
onClick,
|
|
520
|
-
role: "button",
|
|
521
|
-
sx: {
|
|
522
|
-
position: "relative",
|
|
523
|
-
width: `${dim.w}px`,
|
|
524
|
-
height: `${dim.h}px`,
|
|
525
|
-
borderRadius: "12px",
|
|
526
|
-
overflow: "hidden",
|
|
527
|
-
boxSizing: "border-box",
|
|
528
|
-
transition: "transform .15s ease, box-shadow .15s ease",
|
|
529
|
-
"&:hover": {
|
|
530
|
-
transform: "translateY(-2px)",
|
|
531
|
-
boxShadow: 8,
|
|
532
|
-
cursor: "pointer"
|
|
533
|
-
},
|
|
534
|
-
opacity: 1
|
|
535
|
-
},
|
|
536
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
537
|
-
"img",
|
|
538
|
-
{
|
|
539
|
-
src: imageUrl,
|
|
540
|
-
alt: "Juego de casino",
|
|
541
|
-
loading: "lazy",
|
|
542
|
-
style: {
|
|
543
|
-
width: "100%",
|
|
544
|
-
height: "100%",
|
|
545
|
-
objectFit: "cover",
|
|
546
|
-
display: "block",
|
|
547
|
-
borderRadius: "inherit"
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
)
|
|
551
|
-
}
|
|
552
|
-
);
|
|
553
|
-
};
|
|
554
|
-
OraculoGameCard_default = OraculoGameCard;
|
|
555
|
-
}
|
|
556
|
-
});
|
|
557
|
-
|
|
558
583
|
// src/molecules/OraculoGameSlide/OraculoGameSlide.tsx
|
|
559
584
|
var import_Box4, import_jsx_runtime8, GAP, OraculoGameSlide, OraculoGameSlide_default;
|
|
560
585
|
var init_OraculoGameSlide = __esm({
|
|
@@ -605,14 +630,14 @@ var init_OraculoGameSlide = __esm({
|
|
|
605
630
|
height: { xs: 234, md: 352 },
|
|
606
631
|
gridRow: "1 / span 2",
|
|
607
632
|
overflow: "hidden",
|
|
608
|
-
borderRadius: 2
|
|
609
|
-
"& > *": { width: "100%", height: "100%" }
|
|
633
|
+
borderRadius: 2
|
|
610
634
|
},
|
|
611
635
|
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
612
636
|
OraculoGameCard_default,
|
|
613
637
|
{
|
|
614
638
|
imageUrl: `https://olimpo.bet${(_a = big.imageUrl) != null ? _a : ""}`,
|
|
615
639
|
size: "lg",
|
|
640
|
+
fillParent: true,
|
|
616
641
|
onClick: () => onClick == null ? void 0 : onClick(big, 0)
|
|
617
642
|
}
|
|
618
643
|
)
|
|
@@ -627,14 +652,14 @@ var init_OraculoGameSlide = __esm({
|
|
|
627
652
|
width: { xs: 104, md: 152 },
|
|
628
653
|
height: { xs: 112, md: 168 },
|
|
629
654
|
overflow: "hidden",
|
|
630
|
-
borderRadius: 2
|
|
631
|
-
"& > *": { width: "100%", height: "100%" }
|
|
655
|
+
borderRadius: 2
|
|
632
656
|
},
|
|
633
657
|
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
634
658
|
OraculoGameCard_default,
|
|
635
659
|
{
|
|
636
660
|
imageUrl: `https://olimpo.bet${(_a2 = it.imageUrl) != null ? _a2 : ""}`,
|
|
637
661
|
size: "sm",
|
|
662
|
+
fillParent: true,
|
|
638
663
|
onClick: () => onClick == null ? void 0 : onClick(it, index + 1)
|
|
639
664
|
}
|
|
640
665
|
)
|
|
@@ -660,22 +685,29 @@ var init_OraculoGameSlide = __esm({
|
|
|
660
685
|
md: `repeat(2, 168px)`
|
|
661
686
|
},
|
|
662
687
|
gap: `${GAP}px`,
|
|
663
|
-
|
|
664
|
-
overflow: "hidden",
|
|
665
|
-
borderRadius: 2,
|
|
666
|
-
"& > *": { width: "100%", height: "100%" }
|
|
667
|
-
}
|
|
688
|
+
gridAutoFlow: "column"
|
|
668
689
|
},
|
|
669
690
|
children: items.map((it, index) => {
|
|
670
691
|
var _a2, _b;
|
|
671
|
-
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
672
|
-
|
|
692
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
693
|
+
import_Box4.default,
|
|
673
694
|
{
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
695
|
+
sx: {
|
|
696
|
+
overflow: "hidden",
|
|
697
|
+
borderRadius: 2
|
|
698
|
+
},
|
|
699
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
700
|
+
OraculoGameCard_default,
|
|
701
|
+
{
|
|
702
|
+
imageUrl: `https://olimpo.bet${(_b = it.imageUrl) != null ? _b : ""}`,
|
|
703
|
+
size: "sm",
|
|
704
|
+
fillParent: true,
|
|
705
|
+
onClick: () => onClick == null ? void 0 : onClick(it, index)
|
|
706
|
+
}
|
|
707
|
+
)
|
|
708
|
+
},
|
|
709
|
+
(_a2 = it.id) != null ? _a2 : index
|
|
710
|
+
);
|
|
679
711
|
})
|
|
680
712
|
}
|
|
681
713
|
);
|
|
@@ -1045,32 +1077,31 @@ function OraculoSeccionDestacados({
|
|
|
1045
1077
|
768: { perPage: 1.15, focus: "start" },
|
|
1046
1078
|
1024: { perPage: 2.5, focus: "start" }
|
|
1047
1079
|
},
|
|
1048
|
-
renderItem: (item) =>
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
textAlign: "center",
|
|
1055
|
-
marginTop: 16
|
|
1056
|
-
},
|
|
1057
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1058
|
-
"img",
|
|
1059
|
-
{
|
|
1060
|
-
src: `https://olimpo.bet${(_a = item.image) != null ? _a : ""}`,
|
|
1061
|
-
alt: item.title,
|
|
1062
|
-
style: {
|
|
1063
|
-
width: "100%",
|
|
1064
|
-
height: "auto",
|
|
1065
|
-
borderRadius: 8,
|
|
1066
|
-
display: "block"
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
)
|
|
1080
|
+
renderItem: (item) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1081
|
+
"div",
|
|
1082
|
+
{
|
|
1083
|
+
style: {
|
|
1084
|
+
textAlign: "center",
|
|
1085
|
+
marginTop: 16
|
|
1070
1086
|
},
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1087
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1088
|
+
"img",
|
|
1089
|
+
{
|
|
1090
|
+
src: `https://olimpo.bet${item.image !== "" ? item.image : item.summary_image}`,
|
|
1091
|
+
alt: item.title,
|
|
1092
|
+
style: {
|
|
1093
|
+
width: "100%",
|
|
1094
|
+
// minHeight: "150px",
|
|
1095
|
+
// maxHeight: "150px",
|
|
1096
|
+
height: "150px",
|
|
1097
|
+
borderRadius: 8,
|
|
1098
|
+
display: "block"
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
)
|
|
1102
|
+
},
|
|
1103
|
+
`${item.title}-${item.image}`
|
|
1104
|
+
),
|
|
1074
1105
|
onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
|
|
1075
1106
|
}
|
|
1076
1107
|
)
|
|
@@ -1128,15 +1159,18 @@ function OraculoSeccionTopJuegos({
|
|
|
1128
1159
|
justifyItems: "center",
|
|
1129
1160
|
width: "100%"
|
|
1130
1161
|
},
|
|
1131
|
-
children: normalizedItems.slice(0, 6).map((juego) =>
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1162
|
+
children: normalizedItems.slice(0, 6).map((juego) => {
|
|
1163
|
+
var _a;
|
|
1164
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1165
|
+
OraculoGameRankCard,
|
|
1166
|
+
{
|
|
1167
|
+
imageUrl: `https://olimpo.bet${(_a = juego.logo) != null ? _a : ""}`,
|
|
1168
|
+
orden: juego.orden,
|
|
1169
|
+
onClick: () => onCardClick == null ? void 0 : onCardClick(juego)
|
|
1170
|
+
},
|
|
1171
|
+
juego.machine
|
|
1172
|
+
);
|
|
1173
|
+
})
|
|
1140
1174
|
}
|
|
1141
1175
|
)
|
|
1142
1176
|
] }) });
|
|
@@ -2052,7 +2086,7 @@ function OraculoPageLanding({ props }) {
|
|
|
2052
2086
|
] })
|
|
2053
2087
|
] });
|
|
2054
2088
|
}
|
|
2055
|
-
var import_material2,
|
|
2089
|
+
var import_material2, import_jsx_runtime20;
|
|
2056
2090
|
var init_OraculoPageLanding = __esm({
|
|
2057
2091
|
"src/templates/OraculoPageLanding.tsx"() {
|
|
2058
2092
|
"use strict";
|
|
@@ -2065,7 +2099,6 @@ var init_OraculoPageLanding = __esm({
|
|
|
2065
2099
|
init_OraculoSeccionVirtuales();
|
|
2066
2100
|
init_OraculoSeccionDestacados();
|
|
2067
2101
|
init_OraculoSeccionClubOlimpo();
|
|
2068
|
-
import_css = require("@splidejs/react-splide/css");
|
|
2069
2102
|
import_jsx_runtime20 = require("react/jsx-runtime");
|
|
2070
2103
|
}
|
|
2071
2104
|
});
|
|
@@ -39633,7 +39666,7 @@ var init_ = __esm({
|
|
|
39633
39666
|
});
|
|
39634
39667
|
|
|
39635
39668
|
// src/templates/OraculoPageLandingPreview.tsx
|
|
39636
|
-
var import_react8, import_material3,
|
|
39669
|
+
var import_react8, import_material3, import_jsx_runtime21, HttpError, OraculoPageLandingPreview, OraculoPageLandingPreview_default;
|
|
39637
39670
|
var init_OraculoPageLandingPreview = __esm({
|
|
39638
39671
|
"src/templates/OraculoPageLandingPreview.tsx"() {
|
|
39639
39672
|
"use strict";
|
|
@@ -39642,7 +39675,6 @@ var init_OraculoPageLandingPreview = __esm({
|
|
|
39642
39675
|
import_material3 = require("@mui/material");
|
|
39643
39676
|
init_dist();
|
|
39644
39677
|
init_fireabse();
|
|
39645
|
-
import_css2 = require("@splidejs/react-splide/css");
|
|
39646
39678
|
import_jsx_runtime21 = require("react/jsx-runtime");
|
|
39647
39679
|
init_();
|
|
39648
39680
|
HttpError = class extends Error {
|
package/dist/index.mjs
CHANGED
|
@@ -1,42 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
+
OraculoGameCard_default,
|
|
3
|
+
OraculoGameRankCard,
|
|
4
|
+
OraculoGameSlide_default,
|
|
2
5
|
OraculoPageLanding,
|
|
3
6
|
OraculoPageLandingPreview_default,
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
OraculoSeccionCasino_default,
|
|
8
|
+
OraculoSeccionDestacados,
|
|
9
|
+
OraculoSeccionTopJuegos,
|
|
10
|
+
OraculoSeccionVirtuales_default,
|
|
11
|
+
OraculoSectionTitle
|
|
12
|
+
} from "./chunk-ECHAXSTL.mjs";
|
|
6
13
|
import {
|
|
7
14
|
OraculoClubOlimpoVisual_default,
|
|
8
15
|
OraculoSeccionClubOlimpo_default
|
|
9
16
|
} from "./chunk-2D7ZJMJV.mjs";
|
|
10
17
|
import "./chunk-PZJSZNXJ.mjs";
|
|
11
|
-
import {
|
|
12
|
-
OraculoGameRankCard,
|
|
13
|
-
OraculoSeccionTopJuegos
|
|
14
|
-
} from "./chunk-DKP3HTEP.mjs";
|
|
15
18
|
import {
|
|
16
19
|
OraculoLiveCasinoCard_default,
|
|
17
20
|
OraculoSeccionCasinoEnVivo_default
|
|
18
21
|
} from "./chunk-PVY5Z3JS.mjs";
|
|
19
|
-
import {
|
|
20
|
-
OraculoSeccionCasino_default
|
|
21
|
-
} from "./chunk-AFPCFXMZ.mjs";
|
|
22
|
-
import {
|
|
23
|
-
OraculoSeccionVirtuales_default
|
|
24
|
-
} from "./chunk-YY5T37WR.mjs";
|
|
25
|
-
import {
|
|
26
|
-
OraculoGameCard_default,
|
|
27
|
-
OraculoGameSlide_default
|
|
28
|
-
} from "./chunk-AIT7B2J3.mjs";
|
|
29
|
-
import {
|
|
30
|
-
OraculoSectionTitle
|
|
31
|
-
} from "./chunk-5GTDKE3I.mjs";
|
|
32
22
|
import {
|
|
33
23
|
OraculoCarouselDots_default,
|
|
24
|
+
OraculoCarousel_default,
|
|
34
25
|
OraculoSeccionBonoBienvenida_default,
|
|
35
26
|
OraculoWelcomeBanner_default
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import {
|
|
38
|
-
OraculoCarousel_default
|
|
39
|
-
} from "./chunk-VHW77D2M.mjs";
|
|
27
|
+
} from "./chunk-4LBAYKDQ.mjs";
|
|
40
28
|
import {
|
|
41
29
|
OraculoButton
|
|
42
30
|
} from "./chunk-IJQLK4NO.mjs";
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
OraculoSeccionDestacados
|
|
3
|
-
} from "./chunk-PXIOKT7L.mjs";
|
|
4
|
-
import "./chunk-2D7ZJMJV.mjs";
|
|
5
|
-
import "./chunk-PZJSZNXJ.mjs";
|
|
6
|
-
import "./chunk-DKP3HTEP.mjs";
|
|
7
|
-
import "./chunk-PVY5Z3JS.mjs";
|
|
8
|
-
import "./chunk-AFPCFXMZ.mjs";
|
|
9
|
-
import "./chunk-YY5T37WR.mjs";
|
|
10
|
-
import "./chunk-AIT7B2J3.mjs";
|
|
11
|
-
import "./chunk-5GTDKE3I.mjs";
|
|
12
|
-
import "./chunk-WPLILXPP.mjs";
|
|
13
|
-
import "./chunk-VHW77D2M.mjs";
|
|
14
|
-
import "./chunk-IJQLK4NO.mjs";
|
|
15
|
-
import "./chunk-VIPLL6XT.mjs";
|
|
16
|
-
export {
|
|
17
|
-
OraculoSeccionDestacados as default
|
|
18
|
-
};
|