oraculo-ui 0.1.13 → 0.1.14

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.
Files changed (78) hide show
  1. package/dist/{OraculoSeccionBonoBienvenida-2APXZQQA.mjs → OraculoSeccionBonoBienvenida-EG5U752J.mjs} +2 -2
  2. package/dist/{OraculoSeccionCasino-LRZCQVLY.mjs → OraculoSeccionCasino-NSM2LPDZ.mjs} +5 -5
  3. package/dist/{OraculoSeccionCasino-ORWFZCMV.mjs → OraculoSeccionCasino-TFMAW7DD.mjs} +5 -5
  4. package/dist/{OraculoSeccionCasinoEnVivo-ISYMJSUN.mjs → OraculoSeccionCasinoEnVivo-DSHBIQFL.mjs} +2 -2
  5. package/dist/{OraculoSeccionClubOlimpo-TV3LABJ5.mjs → OraculoSeccionClubOlimpo-2EZ3LMIL.mjs} +2 -2
  6. package/dist/OraculoSeccionDestacados-JNMBNCDQ.mjs +12 -0
  7. package/dist/OraculoSeccionDestacados-TFPJSEHF.mjs +12 -0
  8. package/dist/OraculoSeccionTopJuegos-55R5XMSK.mjs +12 -0
  9. package/dist/OraculoSeccionTopJuegos-R2K6COO2.mjs +12 -0
  10. package/dist/{OraculoSeccionVirtuales-FKHGLEVT.mjs → OraculoSeccionVirtuales-HZ4BACB3.mjs} +5 -5
  11. package/dist/{OraculoSeccionVirtuales-N6FY52CM.mjs → OraculoSeccionVirtuales-Y7YXRA6S.mjs} +5 -5
  12. package/dist/{chunk-FROEVP3X.mjs → chunk-3MSTKPDC.mjs} +471 -640
  13. package/dist/{chunk-IJQLK4NO.mjs → chunk-DHENVY2Z.mjs} +10 -14
  14. package/dist/chunk-JSQWAWJ2.mjs +103 -0
  15. package/dist/chunk-NPAHCXJM.mjs +239 -0
  16. package/dist/{chunk-7IWMEE6R.mjs → chunk-WKDAILVP.mjs} +467 -638
  17. package/dist/chunk-YWS57247.mjs +449 -0
  18. package/dist/index.d.mts +6 -20
  19. package/dist/index.d.ts +6 -20
  20. package/dist/index.js +933 -1163
  21. package/dist/index.mjs +5 -7
  22. package/package.json +1 -1
  23. package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css +0 -221
  24. package/dist/OraculoSeccionBonoBienvenida-4ZHLRFV2.css.map +0 -1
  25. package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs +0 -9
  26. package/dist/OraculoSeccionBonoBienvenida-6L54EBL3.mjs.map +0 -1
  27. package/dist/OraculoSeccionCasino-CPSKAAFH.css +0 -398
  28. package/dist/OraculoSeccionCasino-CPSKAAFH.css.map +0 -1
  29. package/dist/OraculoSeccionCasino-FHD2WBDU.mjs +0 -13
  30. package/dist/OraculoSeccionCasino-FHD2WBDU.mjs.map +0 -1
  31. package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css +0 -157
  32. package/dist/OraculoSeccionCasinoEnVivo-7W64K4YQ.css.map +0 -1
  33. package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs +0 -9
  34. package/dist/OraculoSeccionCasinoEnVivo-EPVIACRV.mjs.map +0 -1
  35. package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs +0 -10
  36. package/dist/OraculoSeccionClubOlimpo-63QCT4A2.mjs.map +0 -1
  37. package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs +0 -8
  38. package/dist/OraculoSeccionClubOlimpo-BLUJXLUC.mjs.map +0 -1
  39. package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css +0 -274
  40. package/dist/OraculoSeccionClubOlimpo-F2AFK4G3.css.map +0 -1
  41. package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css +0 -117
  42. package/dist/OraculoSeccionClubOlimpo-ZCBMTUL3.css.map +0 -1
  43. package/dist/OraculoSeccionDestacados-2KCEN6PZ.mjs +0 -12
  44. package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs +0 -13
  45. package/dist/OraculoSeccionDestacados-5RFVEBFL.mjs.map +0 -1
  46. package/dist/OraculoSeccionDestacados-6D4LKX4H.mjs +0 -12
  47. package/dist/OraculoSeccionDestacados-AMMYUK67.css +0 -398
  48. package/dist/OraculoSeccionDestacados-AMMYUK67.css.map +0 -1
  49. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs +0 -13
  50. package/dist/OraculoSeccionTopJuegos-K6CHEKEP.mjs.map +0 -1
  51. package/dist/OraculoSeccionTopJuegos-LEFQWP7T.mjs +0 -12
  52. package/dist/OraculoSeccionTopJuegos-RBVOHPDV.mjs +0 -12
  53. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css +0 -398
  54. package/dist/OraculoSeccionTopJuegos-XBGNNR6G.css.map +0 -1
  55. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs +0 -13
  56. package/dist/OraculoSeccionVirtuales-NEIWD2BT.mjs.map +0 -1
  57. package/dist/OraculoSeccionVirtuales-SSM6EDST.css +0 -398
  58. package/dist/OraculoSeccionVirtuales-SSM6EDST.css.map +0 -1
  59. package/dist/chunk-2D7ZJMJV.mjs +0 -118
  60. package/dist/chunk-4LBAYKDQ.mjs +0 -475
  61. package/dist/chunk-FIOWVLJP.mjs +0 -7
  62. package/dist/chunk-FIOWVLJP.mjs.map +0 -1
  63. package/dist/chunk-IGAIIVJZ.mjs +0 -74
  64. package/dist/chunk-IGAIIVJZ.mjs.map +0 -1
  65. package/dist/chunk-MC4XEBI3.mjs +0 -1277
  66. package/dist/chunk-MC4XEBI3.mjs.map +0 -1
  67. package/dist/chunk-PVY5Z3JS.mjs +0 -249
  68. package/dist/chunk-PYHDJZX3.mjs +0 -476
  69. package/dist/chunk-PYHDJZX3.mjs.map +0 -1
  70. package/dist/chunk-THUJNRMX.mjs +0 -119
  71. package/dist/chunk-THUJNRMX.mjs.map +0 -1
  72. package/dist/chunk-WTK2IT5O.mjs +0 -250
  73. package/dist/chunk-WTK2IT5O.mjs.map +0 -1
  74. package/dist/chunk-XNMUIY72.mjs +0 -10
  75. package/dist/chunk-XNMUIY72.mjs.map +0 -1
  76. package/dist/index.css.map +0 -1
  77. package/dist/index.js.map +0 -1
  78. package/dist/index.mjs.map +0 -1
@@ -1,16 +1,9 @@
1
1
  import {
2
- OraculoSeccionClubOlimpo_default
3
- } from "./chunk-2D7ZJMJV.mjs";
4
- import {
5
- OraculoSeccionCasinoEnVivo_default
6
- } from "./chunk-PVY5Z3JS.mjs";
7
- import {
8
- OraculoCarousel_default,
9
- OraculoSeccionBonoBienvenida_default
10
- } from "./chunk-4LBAYKDQ.mjs";
2
+ OraculoCarousel_default
3
+ } from "./chunk-YWS57247.mjs";
11
4
  import {
12
5
  OraculoButton
13
- } from "./chunk-IJQLK4NO.mjs";
6
+ } from "./chunk-DHENVY2Z.mjs";
14
7
  import {
15
8
  __commonJS,
16
9
  __glob,
@@ -19748,7 +19741,7 @@ var ChevronRightRounded_default = createSvgIcon(/* @__PURE__ */ _jsx2("path", {
19748
19741
  }), "ChevronRightRounded");
19749
19742
 
19750
19743
  // src/atoms/OraculoSectionTitle/OraculoSectionTitle.tsx
19751
- import { jsx, jsxs } from "react/jsx-runtime";
19744
+ import React from "react";
19752
19745
  function OraculoSectionTitle({
19753
19746
  title,
19754
19747
  iconUrl,
@@ -19761,25 +19754,23 @@ function OraculoSectionTitle({
19761
19754
  sizeClass,
19762
19755
  className
19763
19756
  ].filter(Boolean).join(" ");
19764
- return /* @__PURE__ */ jsxs("div", { className: wrapperClass, children: [
19765
- iconUrl && /* @__PURE__ */ jsx(
19766
- "img",
19767
- {
19768
- src: iconUrl,
19769
- alt: "",
19770
- className: "orc-section-title__icon"
19771
- }
19772
- ),
19773
- /* @__PURE__ */ jsx("h2", { className: "orc-section-title__title", children: title })
19774
- ] });
19757
+ return /* @__PURE__ */ React.createElement("div", { className: wrapperClass }, iconUrl && /* @__PURE__ */ React.createElement(
19758
+ "img",
19759
+ {
19760
+ src: iconUrl,
19761
+ alt: "",
19762
+ className: "orc-section-title__icon"
19763
+ }
19764
+ ), /* @__PURE__ */ React.createElement("h2", { className: "orc-section-title__title" }, title));
19775
19765
  }
19776
19766
 
19777
19767
  // src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx
19768
+ import React3 from "react";
19778
19769
  import Box2 from "@mui/material/Box";
19779
19770
 
19780
19771
  // src/molecules/OraculoGameCard/OraculoGameCard.tsx
19772
+ import React2 from "react";
19781
19773
  import Box from "@mui/material/Box";
19782
- import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
19783
19774
  var OraculoGameCard = ({
19784
19775
  imageUrl,
19785
19776
  onClick,
@@ -19792,7 +19783,7 @@ var OraculoGameCard = ({
19792
19783
  onClick == null ? void 0 : onClick();
19793
19784
  };
19794
19785
  const sizeStyles = fillParent ? { width: "100%", height: "100%" } : { width: `${dim.w}px`, height: `${dim.h}px` };
19795
- return /* @__PURE__ */ jsxs2(
19786
+ return /* @__PURE__ */ React2.createElement(
19796
19787
  Box,
19797
19788
  {
19798
19789
  onClick,
@@ -19817,63 +19808,60 @@ var OraculoGameCard = ({
19817
19808
  transform: "translate(-50%, -50%) scale(1)",
19818
19809
  pointerEvents: "auto"
19819
19810
  }
19811
+ }
19812
+ },
19813
+ /* @__PURE__ */ React2.createElement(
19814
+ "img",
19815
+ {
19816
+ src: imageUrl,
19817
+ alt: "Juego de casino",
19818
+ loading: "lazy",
19819
+ style: {
19820
+ width: "100%",
19821
+ height: "100%",
19822
+ objectFit: "cover",
19823
+ display: "block",
19824
+ borderRadius: "inherit"
19825
+ }
19826
+ }
19827
+ ),
19828
+ /* @__PURE__ */ React2.createElement(
19829
+ Box,
19830
+ {
19831
+ className: "oraculo-game-card-overlay",
19832
+ sx: {
19833
+ position: "absolute",
19834
+ inset: 0,
19835
+ backgroundColor: "rgba(0, 0, 0, 0.45)",
19836
+ opacity: 0,
19837
+ transition: "opacity .15s ease",
19838
+ pointerEvents: "none",
19839
+ zIndex: 1
19840
+ }
19841
+ }
19842
+ ),
19843
+ /* @__PURE__ */ React2.createElement(
19844
+ Box,
19845
+ {
19846
+ className: "oraculo-game-card-btn",
19847
+ sx: {
19848
+ position: "absolute",
19849
+ top: "50%",
19850
+ left: "50%",
19851
+ zIndex: 2,
19852
+ transform: "translate(-50%, -50%) scale(0.95)",
19853
+ opacity: 0,
19854
+ transition: "opacity .15s ease, transform .15s ease",
19855
+ pointerEvents: "none"
19856
+ }
19820
19857
  },
19821
- children: [
19822
- /* @__PURE__ */ jsx2(
19823
- "img",
19824
- {
19825
- src: imageUrl,
19826
- alt: "Juego de casino",
19827
- loading: "lazy",
19828
- style: {
19829
- width: "100%",
19830
- height: "100%",
19831
- objectFit: "cover",
19832
- display: "block",
19833
- borderRadius: "inherit"
19834
- }
19835
- }
19836
- ),
19837
- /* @__PURE__ */ jsx2(
19838
- Box,
19839
- {
19840
- className: "oraculo-game-card-overlay",
19841
- sx: {
19842
- position: "absolute",
19843
- inset: 0,
19844
- backgroundColor: "rgba(0, 0, 0, 0.45)",
19845
- opacity: 0,
19846
- transition: "opacity .15s ease",
19847
- pointerEvents: "none",
19848
- zIndex: 1
19849
- }
19850
- }
19851
- ),
19852
- /* @__PURE__ */ jsx2(
19853
- Box,
19854
- {
19855
- className: "oraculo-game-card-btn",
19856
- sx: {
19857
- position: "absolute",
19858
- top: "50%",
19859
- left: "50%",
19860
- zIndex: 2,
19861
- transform: "translate(-50%, -50%) scale(0.95)",
19862
- opacity: 0,
19863
- transition: "opacity .15s ease, transform .15s ease",
19864
- pointerEvents: "none"
19865
- },
19866
- children: /* @__PURE__ */ jsx2(OraculoButton, { variant: "primary", onClick: handleButtonClick, children: "JUGAR" })
19867
- }
19868
- )
19869
- ]
19870
- }
19858
+ /* @__PURE__ */ React2.createElement(OraculoButton, { variant: "primary", size: "md", onClick: handleButtonClick }, "JUGAR")
19859
+ )
19871
19860
  );
19872
19861
  };
19873
19862
  var OraculoGameCard_default = OraculoGameCard;
19874
19863
 
19875
19864
  // src/molecules/OraculoGameRankCard/OraculoGameRankCard.tsx
19876
- import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
19877
19865
  function OraculoGameRankCard({
19878
19866
  imageUrl,
19879
19867
  orden = 1,
@@ -19899,7 +19887,7 @@ function OraculoGameRankCard({
19899
19887
  xs: Math.round(((_b = (_a = sizes.xs) == null ? void 0 : _a.font) != null ? _b : 64) * 0.28),
19900
19888
  md: Math.round(((_d = (_c = sizes.md) == null ? void 0 : _c.font) != null ? _d : 64) * 0.28)
19901
19889
  };
19902
- return /* @__PURE__ */ jsxs3(
19890
+ return /* @__PURE__ */ React3.createElement(
19903
19891
  Box2,
19904
19892
  {
19905
19893
  sx: {
@@ -19914,61 +19902,59 @@ function OraculoGameRankCard({
19914
19902
  boxSizing: "border-box",
19915
19903
  overflow: "visible",
19916
19904
  pb: { xs: `${hang.xs}px`, md: `${hang.md}px` }
19905
+ }
19906
+ },
19907
+ /* @__PURE__ */ React3.createElement(
19908
+ Box2,
19909
+ {
19910
+ sx: {
19911
+ position: "absolute",
19912
+ inset: 0,
19913
+ borderRadius: "inherit",
19914
+ overflow: "hidden"
19915
+ }
19917
19916
  },
19918
- children: [
19919
- /* @__PURE__ */ jsx3(
19920
- Box2,
19921
- {
19922
- sx: {
19923
- position: "absolute",
19924
- inset: 0,
19925
- borderRadius: "inherit",
19926
- overflow: "hidden"
19927
- },
19928
- children: /* @__PURE__ */ jsx3(
19929
- OraculoGameCard_default,
19930
- {
19931
- imageUrl,
19932
- onClick,
19933
- size: "lg",
19934
- fillParent: true
19935
- }
19936
- )
19937
- }
19938
- ),
19939
- /* @__PURE__ */ jsx3(
19940
- Box2,
19941
- {
19942
- component: "span",
19943
- sx: {
19944
- position: "absolute",
19945
- left: 8,
19946
- bottom: {
19947
- xs: `-${hang.xs}px`,
19948
- md: `-${hang.md}px`
19949
- },
19950
- fontFamily: "secondary",
19951
- fontSize: {
19952
- xs: `${F.xs}px`,
19953
- md: `${F.md}px`
19954
- },
19955
- lineHeight: 1,
19956
- color: "#3CC666",
19957
- WebkitTextStroke: "1px #9ee86e",
19958
- zIndex: 3,
19959
- userSelect: "none"
19960
- },
19961
- children: orden
19962
- }
19963
- )
19964
- ]
19965
- }
19917
+ /* @__PURE__ */ React3.createElement(
19918
+ OraculoGameCard_default,
19919
+ {
19920
+ imageUrl,
19921
+ onClick,
19922
+ size: "lg",
19923
+ fillParent: true
19924
+ }
19925
+ )
19926
+ ),
19927
+ /* @__PURE__ */ React3.createElement(
19928
+ Box2,
19929
+ {
19930
+ component: "span",
19931
+ sx: {
19932
+ position: "absolute",
19933
+ left: 8,
19934
+ bottom: {
19935
+ xs: `-${hang.xs}px`,
19936
+ md: `-${hang.md}px`
19937
+ },
19938
+ fontFamily: "secondary",
19939
+ fontSize: {
19940
+ xs: `${F.xs}px`,
19941
+ md: `${F.md}px`
19942
+ },
19943
+ lineHeight: 1,
19944
+ color: "#3CC666",
19945
+ WebkitTextStroke: "1px #9ee86e",
19946
+ zIndex: 3,
19947
+ userSelect: "none"
19948
+ }
19949
+ },
19950
+ orden
19951
+ )
19966
19952
  );
19967
19953
  }
19968
19954
 
19969
19955
  // src/molecules/OraculoGameSlide/OraculoGameSlide.tsx
19956
+ import React4 from "react";
19970
19957
  import Box3 from "@mui/material/Box";
19971
- import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
19972
19958
  var GAP = 12;
19973
19959
  var OraculoGameSlide = ({
19974
19960
  items,
@@ -19979,7 +19965,7 @@ var OraculoGameSlide = ({
19979
19965
  if (layout === "mosaic") {
19980
19966
  const big = items[0];
19981
19967
  const smalls = items.slice(1, 5);
19982
- return /* @__PURE__ */ jsxs4(
19968
+ return /* @__PURE__ */ React4.createElement(
19983
19969
  Box3,
19984
19970
  {
19985
19971
  sx: {
@@ -20001,58 +19987,56 @@ var OraculoGameSlide = ({
20001
19987
  rowGap: `${GAP}px`,
20002
19988
  alignItems: "stretch",
20003
19989
  justifyItems: "stretch"
19990
+ }
19991
+ },
19992
+ big && /* @__PURE__ */ React4.createElement(
19993
+ Box3,
19994
+ {
19995
+ sx: {
19996
+ width: { xs: 184, md: 280 },
19997
+ height: { xs: 234, md: 352 },
19998
+ gridRow: "1 / span 2",
19999
+ overflow: "hidden",
20000
+ borderRadius: 2
20001
+ }
20004
20002
  },
20005
- children: [
20006
- big && /* @__PURE__ */ jsx4(
20007
- Box3,
20003
+ /* @__PURE__ */ React4.createElement(
20004
+ OraculoGameCard_default,
20005
+ {
20006
+ imageUrl: `https://olimpo.bet${(_a = big.imageUrl) != null ? _a : ""}`,
20007
+ size: "lg",
20008
+ fillParent: true,
20009
+ onClick: () => onClick == null ? void 0 : onClick(big, 0)
20010
+ }
20011
+ )
20012
+ ),
20013
+ smalls.map((it, index) => {
20014
+ var _a2;
20015
+ return /* @__PURE__ */ React4.createElement(
20016
+ Box3,
20017
+ {
20018
+ key: it.id,
20019
+ sx: {
20020
+ width: { xs: 104, md: 152 },
20021
+ height: { xs: 112, md: 168 },
20022
+ overflow: "hidden",
20023
+ borderRadius: 2
20024
+ }
20025
+ },
20026
+ /* @__PURE__ */ React4.createElement(
20027
+ OraculoGameCard_default,
20008
20028
  {
20009
- sx: {
20010
- width: { xs: 184, md: 280 },
20011
- height: { xs: 234, md: 352 },
20012
- gridRow: "1 / span 2",
20013
- overflow: "hidden",
20014
- borderRadius: 2
20015
- },
20016
- children: /* @__PURE__ */ jsx4(
20017
- OraculoGameCard_default,
20018
- {
20019
- imageUrl: `https://olimpo.bet${(_a = big.imageUrl) != null ? _a : ""}`,
20020
- size: "lg",
20021
- fillParent: true,
20022
- onClick: () => onClick == null ? void 0 : onClick(big, 0)
20023
- }
20024
- )
20029
+ imageUrl: `https://olimpo.bet${(_a2 = it.imageUrl) != null ? _a2 : ""}`,
20030
+ size: "sm",
20031
+ fillParent: true,
20032
+ onClick: () => onClick == null ? void 0 : onClick(it, index + 1)
20025
20033
  }
20026
- ),
20027
- smalls.map((it, index) => {
20028
- var _a2;
20029
- return /* @__PURE__ */ jsx4(
20030
- Box3,
20031
- {
20032
- sx: {
20033
- width: { xs: 104, md: 152 },
20034
- height: { xs: 112, md: 168 },
20035
- overflow: "hidden",
20036
- borderRadius: 2
20037
- },
20038
- children: /* @__PURE__ */ jsx4(
20039
- OraculoGameCard_default,
20040
- {
20041
- imageUrl: `https://olimpo.bet${(_a2 = it.imageUrl) != null ? _a2 : ""}`,
20042
- size: "sm",
20043
- fillParent: true,
20044
- onClick: () => onClick == null ? void 0 : onClick(it, index + 1)
20045
- }
20046
- )
20047
- },
20048
- it.id
20049
- );
20050
- })
20051
- ]
20052
- }
20034
+ )
20035
+ );
20036
+ })
20053
20037
  );
20054
20038
  }
20055
- return /* @__PURE__ */ jsx4(
20039
+ return /* @__PURE__ */ React4.createElement(
20056
20040
  Box3,
20057
20041
  {
20058
20042
  sx: {
@@ -20067,39 +20051,38 @@ var OraculoGameSlide = ({
20067
20051
  },
20068
20052
  gap: `${GAP}px`,
20069
20053
  gridAutoFlow: "column"
20070
- },
20071
- children: items.map((it, index) => {
20072
- var _a2, _b;
20073
- return /* @__PURE__ */ jsx4(
20074
- Box3,
20054
+ }
20055
+ },
20056
+ items.map((it, index) => {
20057
+ var _a2, _b;
20058
+ return /* @__PURE__ */ React4.createElement(
20059
+ Box3,
20060
+ {
20061
+ key: (_a2 = it.id) != null ? _a2 : index,
20062
+ sx: {
20063
+ overflow: "hidden",
20064
+ borderRadius: 2
20065
+ }
20066
+ },
20067
+ /* @__PURE__ */ React4.createElement(
20068
+ OraculoGameCard_default,
20075
20069
  {
20076
- sx: {
20077
- overflow: "hidden",
20078
- borderRadius: 2
20079
- },
20080
- children: /* @__PURE__ */ jsx4(
20081
- OraculoGameCard_default,
20082
- {
20083
- imageUrl: `https://olimpo.bet${(_b = it.imageUrl) != null ? _b : ""}`,
20084
- size: "sm",
20085
- fillParent: true,
20086
- onClick: () => onClick == null ? void 0 : onClick(it, index)
20087
- }
20088
- )
20089
- },
20090
- (_a2 = it.id) != null ? _a2 : index
20091
- );
20092
- })
20093
- }
20070
+ imageUrl: `https://olimpo.bet${(_b = it.imageUrl) != null ? _b : ""}`,
20071
+ size: "sm",
20072
+ fillParent: true,
20073
+ onClick: () => onClick == null ? void 0 : onClick(it, index)
20074
+ }
20075
+ )
20076
+ );
20077
+ })
20094
20078
  );
20095
20079
  };
20096
20080
  var OraculoGameSlide_default = OraculoGameSlide;
20097
20081
 
20098
20082
  // src/organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx
20099
- import { useMemo } from "react";
20083
+ import React5, { useMemo } from "react";
20100
20084
  import Stack from "@mui/material/Stack";
20101
20085
  import Box4 from "@mui/material/Box";
20102
- import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
20103
20086
  function OraculoSeccionTopJuegos({
20104
20087
  items,
20105
20088
  title = "Top Juegos",
@@ -20121,43 +20104,39 @@ function OraculoSeccionTopJuegos({
20121
20104
  }),
20122
20105
  [items]
20123
20106
  );
20124
- return /* @__PURE__ */ jsx5("section", { style: { width: "100%" }, children: /* @__PURE__ */ jsxs5(Stack, { direction: "column", spacing: 2, useFlexGap: true, children: [
20125
- /* @__PURE__ */ jsx5(OraculoSectionTitle, { title, iconUrl, size: "md" }),
20126
- /* @__PURE__ */ jsx5(
20127
- Box4,
20128
- {
20129
- sx: {
20130
- display: "grid",
20131
- gridTemplateColumns: {
20132
- xs: "repeat(3, minmax(0, 1fr))",
20133
- md: "repeat(6, minmax(0, 1fr))"
20134
- },
20135
- gap: { xs: 1.5, md: 2 },
20136
- justifyItems: "center",
20137
- width: "100%"
20107
+ return /* @__PURE__ */ React5.createElement("section", { style: { width: "100%" } }, /* @__PURE__ */ React5.createElement(Stack, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ React5.createElement(OraculoSectionTitle, { title, iconUrl, size: "md" }), /* @__PURE__ */ React5.createElement(
20108
+ Box4,
20109
+ {
20110
+ sx: {
20111
+ display: "grid",
20112
+ gridTemplateColumns: {
20113
+ xs: "repeat(3, minmax(0, 1fr))",
20114
+ md: "repeat(6, minmax(0, 1fr))"
20138
20115
  },
20139
- children: normalizedItems.slice(0, 6).map((juego) => {
20140
- var _a;
20141
- return /* @__PURE__ */ jsx5(
20142
- OraculoGameRankCard,
20143
- {
20144
- imageUrl: `https://olimpo.bet${(_a = juego.logo) != null ? _a : ""}`,
20145
- orden: juego.orden,
20146
- onClick: () => onCardClick == null ? void 0 : onCardClick(juego)
20147
- },
20148
- juego.machine
20149
- );
20150
- })
20116
+ gap: { xs: 1.5, md: 2 },
20117
+ justifyItems: "center",
20118
+ width: "100%"
20151
20119
  }
20152
- )
20153
- ] }) });
20120
+ },
20121
+ normalizedItems.slice(0, 6).map((juego) => {
20122
+ var _a;
20123
+ return /* @__PURE__ */ React5.createElement(
20124
+ OraculoGameRankCard,
20125
+ {
20126
+ key: juego.machine,
20127
+ imageUrl: `https://olimpo.bet${(_a = juego.logo) != null ? _a : ""}`,
20128
+ orden: juego.orden,
20129
+ onClick: () => onCardClick == null ? void 0 : onCardClick(juego)
20130
+ }
20131
+ );
20132
+ })
20133
+ )));
20154
20134
  }
20155
20135
 
20156
20136
  // src/organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx
20157
- import { useRef, useState } from "react";
20137
+ import React6, { useRef, useState } from "react";
20158
20138
  import Stack2 from "@mui/material/Stack";
20159
20139
  import Box5 from "@mui/material/Box";
20160
- import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
20161
20140
  var buildCasinoSlides = (games, mosaicFirst = true, gridSize = 4) => {
20162
20141
  const baseItems = games.map((g, idx) => {
20163
20142
  var _a, _b, _c;
@@ -20212,108 +20191,100 @@ var OraculoSeccionCasino = ({
20212
20191
  const handleViewMore = () => {
20213
20192
  onViewMore == null ? void 0 : onViewMore();
20214
20193
  };
20215
- return /* @__PURE__ */ jsx6("section", { children: /* @__PURE__ */ jsxs6(Stack2, { direction: "column", spacing: 2, useFlexGap: true, children: [
20216
- /* @__PURE__ */ jsxs6(
20217
- Box5,
20194
+ return /* @__PURE__ */ React6.createElement("section", null, /* @__PURE__ */ React6.createElement(Stack2, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ React6.createElement(
20195
+ Box5,
20196
+ {
20197
+ sx: {
20198
+ display: "grid",
20199
+ gridTemplateColumns: "1fr auto auto",
20200
+ alignItems: "center",
20201
+ columnGap: 1.5,
20202
+ rowGap: 1
20203
+ }
20204
+ },
20205
+ /* @__PURE__ */ React6.createElement(
20206
+ OraculoSectionTitle,
20218
20207
  {
20219
- sx: {
20220
- display: "grid",
20221
- gridTemplateColumns: "1fr auto auto",
20222
- alignItems: "center",
20223
- columnGap: 1.5,
20224
- rowGap: 1
20225
- },
20226
- children: [
20227
- /* @__PURE__ */ jsx6(
20228
- OraculoSectionTitle,
20229
- {
20230
- title,
20231
- iconUrl,
20232
- size: "md"
20233
- }
20234
- ),
20235
- /* @__PURE__ */ jsxs6(
20236
- Box5,
20237
- {
20238
- sx: {
20239
- display: "flex",
20240
- gap: 1,
20241
- justifyContent: "flex-end"
20242
- },
20243
- children: [
20244
- /* @__PURE__ */ jsx6(
20245
- OraculoButton,
20246
- {
20247
- ariaLabel: "Anterior",
20248
- variant: "secondary",
20249
- iconOnly: true,
20250
- leftIcon: /* @__PURE__ */ jsx6(ChevronLeftRounded_default, {}),
20251
- onClick: handlePrev,
20252
- disabled: navState.isStart
20253
- }
20254
- ),
20255
- /* @__PURE__ */ jsx6(
20256
- OraculoButton,
20257
- {
20258
- ariaLabel: "Siguiente",
20259
- variant: "secondary",
20260
- iconOnly: true,
20261
- rightIcon: /* @__PURE__ */ jsx6(ChevronRightRounded_default, {}),
20262
- onClick: handleNext,
20263
- disabled: navState.isEnd
20264
- }
20265
- )
20266
- ]
20267
- }
20268
- ),
20269
- /* @__PURE__ */ jsx6(Box5, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ jsx6(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
20270
- ]
20208
+ title,
20209
+ iconUrl,
20210
+ size: "md"
20271
20211
  }
20272
20212
  ),
20273
- /* @__PURE__ */ jsx6(
20274
- OraculoCarousel_default,
20213
+ /* @__PURE__ */ React6.createElement(
20214
+ Box5,
20275
20215
  {
20276
- ref: carouselRef,
20277
- items: slides,
20278
- perPage: 1,
20279
- gap: "0px",
20280
- options: {
20281
- autoWidth: true,
20282
- gap: "12px",
20283
- trimSpace: false,
20284
- pagination: false,
20285
- arrows: false,
20286
- drag: true,
20287
- focus: "start"
20288
- },
20289
- renderItem: (slide) => /* @__PURE__ */ jsx6("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ jsx6(
20290
- OraculoGameSlide_default,
20291
- {
20292
- items: slide.items,
20293
- layout: slide.kind === "mosaic" ? "mosaic" : "grid",
20294
- onClick: (itm) => {
20295
- const game = items.find(
20296
- (g, idx) => {
20297
- var _a;
20298
- return ((_a = g.orden) != null ? _a : idx) === itm.id;
20299
- }
20300
- );
20301
- if (game) onItemClick == null ? void 0 : onItemClick(game);
20302
- }
20216
+ sx: {
20217
+ display: "flex",
20218
+ gap: 1,
20219
+ justifyContent: "flex-end"
20220
+ }
20221
+ },
20222
+ /* @__PURE__ */ React6.createElement(
20223
+ OraculoButton,
20224
+ {
20225
+ ariaLabel: "Anterior",
20226
+ variant: "secondary",
20227
+ iconOnly: true,
20228
+ leftIcon: /* @__PURE__ */ React6.createElement(ChevronLeftRounded_default, null),
20229
+ onClick: handlePrev,
20230
+ disabled: navState.isStart
20231
+ }
20232
+ ),
20233
+ /* @__PURE__ */ React6.createElement(
20234
+ OraculoButton,
20235
+ {
20236
+ ariaLabel: "Siguiente",
20237
+ variant: "secondary",
20238
+ iconOnly: true,
20239
+ rightIcon: /* @__PURE__ */ React6.createElement(ChevronRightRounded_default, null),
20240
+ onClick: handleNext,
20241
+ disabled: navState.isEnd
20242
+ }
20243
+ )
20244
+ ),
20245
+ /* @__PURE__ */ React6.createElement(Box5, { sx: { justifySelf: "end" } }, /* @__PURE__ */ React6.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s"))
20246
+ ), /* @__PURE__ */ React6.createElement(
20247
+ OraculoCarousel_default,
20248
+ {
20249
+ ref: carouselRef,
20250
+ items: slides,
20251
+ perPage: 1,
20252
+ gap: "0px",
20253
+ options: {
20254
+ autoWidth: true,
20255
+ gap: "12px",
20256
+ trimSpace: false,
20257
+ pagination: false,
20258
+ arrows: false,
20259
+ drag: true,
20260
+ focus: "start"
20261
+ },
20262
+ renderItem: (slide) => /* @__PURE__ */ React6.createElement("div", { style: { alignSelf: "start" } }, /* @__PURE__ */ React6.createElement(
20263
+ OraculoGameSlide_default,
20264
+ {
20265
+ items: slide.items,
20266
+ layout: slide.kind === "mosaic" ? "mosaic" : "grid",
20267
+ onClick: (itm) => {
20268
+ const game = items.find(
20269
+ (g, idx) => {
20270
+ var _a;
20271
+ return ((_a = g.orden) != null ? _a : idx) === itm.id;
20272
+ }
20273
+ );
20274
+ if (game) onItemClick == null ? void 0 : onItemClick(game);
20303
20275
  }
20304
- ) }),
20305
- onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
20306
- }
20307
- )
20308
- ] }) });
20276
+ }
20277
+ )),
20278
+ onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
20279
+ }
20280
+ )));
20309
20281
  };
20310
20282
  var OraculoSeccionCasino_default = OraculoSeccionCasino;
20311
20283
 
20312
20284
  // src/organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx
20313
- import { useRef as useRef2, useState as useState2 } from "react";
20285
+ import React7, { useRef as useRef2, useState as useState2 } from "react";
20314
20286
  import Stack3 from "@mui/material/Stack";
20315
20287
  import Box6 from "@mui/material/Box";
20316
- import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
20317
20288
  var buildVirtualSlides = (games, mosaicFirst = true, gridSize = 4) => {
20318
20289
  const baseItems = games.map((g, idx) => {
20319
20290
  var _a, _b;
@@ -20368,228 +20339,100 @@ var OraculoSeccionVirtuales = ({
20368
20339
  const handleViewMore = () => {
20369
20340
  onViewMore == null ? void 0 : onViewMore();
20370
20341
  };
20371
- return /* @__PURE__ */ jsx7("section", { children: /* @__PURE__ */ jsxs7(Stack3, { direction: "column", spacing: 2, useFlexGap: true, children: [
20372
- /* @__PURE__ */ jsxs7(
20373
- Box6,
20374
- {
20375
- sx: {
20376
- display: "grid",
20377
- gridTemplateColumns: "1fr auto auto",
20378
- alignItems: "center",
20379
- columnGap: 1.5,
20380
- rowGap: 1
20381
- },
20382
- children: [
20383
- /* @__PURE__ */ jsx7(
20384
- OraculoSectionTitle,
20385
- {
20386
- title,
20387
- iconUrl,
20388
- size: "md"
20389
- }
20390
- ),
20391
- /* @__PURE__ */ jsxs7(
20392
- Box6,
20393
- {
20394
- sx: {
20395
- display: "flex",
20396
- gap: 1,
20397
- justifyContent: "flex-end"
20398
- },
20399
- children: [
20400
- /* @__PURE__ */ jsx7(
20401
- OraculoButton,
20402
- {
20403
- ariaLabel: "Anterior",
20404
- variant: "secondary",
20405
- iconOnly: true,
20406
- leftIcon: /* @__PURE__ */ jsx7(ChevronLeftRounded_default, {}),
20407
- onClick: handlePrev,
20408
- disabled: navState.isStart
20409
- }
20410
- ),
20411
- /* @__PURE__ */ jsx7(
20412
- OraculoButton,
20413
- {
20414
- ariaLabel: "Siguiente",
20415
- variant: "secondary",
20416
- iconOnly: true,
20417
- rightIcon: /* @__PURE__ */ jsx7(ChevronRightRounded_default, {}),
20418
- onClick: handleNext,
20419
- disabled: navState.isEnd
20420
- }
20421
- )
20422
- ]
20423
- }
20424
- ),
20425
- /* @__PURE__ */ jsx7(Box6, { sx: { justifySelf: "end" }, children: /* @__PURE__ */ jsx7(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" }) })
20426
- ]
20427
- }
20428
- ),
20429
- /* @__PURE__ */ jsx7(
20430
- OraculoCarousel_default,
20431
- {
20432
- ref: carouselRef,
20433
- items: slides,
20434
- perPage: 1,
20435
- gap: "0",
20436
- options: {
20437
- autoWidth: true,
20438
- gap: "12px",
20439
- trimSpace: false,
20440
- pagination: false,
20441
- arrows: false,
20442
- drag: true,
20443
- focus: "start",
20444
- perMove: 1
20445
- },
20446
- renderItem: (slide) => /* @__PURE__ */ jsx7("div", { style: { alignSelf: "start" }, children: /* @__PURE__ */ jsx7(
20447
- OraculoGameSlide_default,
20448
- {
20449
- items: slide.items,
20450
- layout: slide.kind === "mosaic" ? "mosaic" : "grid",
20451
- onClick: (itm) => {
20452
- const game = items.find(
20453
- (g, idx) => {
20454
- var _a;
20455
- return ((_a = g.orden) != null ? _a : idx) === itm.id;
20456
- }
20457
- );
20458
- if (game) onItemClick == null ? void 0 : onItemClick(game);
20459
- }
20460
- }
20461
- ) }),
20462
- onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
20463
- }
20464
- )
20465
- ] }) });
20466
- };
20467
- var OraculoSeccionVirtuales_default = OraculoSeccionVirtuales;
20468
-
20469
- // src/templates/OraculoPageLanding.tsx
20470
- import {
20471
- Container,
20472
- Stack as Stack4
20473
- } from "@mui/material";
20474
- import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
20475
- function OraculoPageLanding({ props }) {
20476
- const listaDestacados = [
20477
- {
20478
- image: "/assets/img/home/Destacados/Banner01.png",
20479
- title: "Gol Seguro",
20480
- tags: "/destacados",
20481
- // aquí puedes usar la ruta que antes estaba en href
20482
- body: "",
20483
- summary_body: "",
20484
- summary_title: "",
20485
- groups_forbidden: [],
20486
- groups_allowed: [],
20487
- promotion: ""
20488
- // summary_image: "/lo-que-sea.png", // opcional
20489
- },
20342
+ return /* @__PURE__ */ React7.createElement("section", null, /* @__PURE__ */ React7.createElement(Stack3, { direction: "column", spacing: 2, useFlexGap: true }, /* @__PURE__ */ React7.createElement(
20343
+ Box6,
20490
20344
  {
20491
- image: "/assets/img/home/Destacados/Banner02.png",
20492
- title: "Promo 2",
20493
- tags: "/destacados",
20494
- body: "",
20495
- summary_body: "",
20496
- summary_title: "",
20497
- groups_forbidden: [],
20498
- groups_allowed: [],
20499
- promotion: ""
20500
- },
20501
- {
20502
- image: "/assets/img/home/Destacados/Banner01.png",
20503
- title: "Gol Seguro",
20504
- tags: "/destacados",
20505
- body: "",
20506
- summary_body: "",
20507
- summary_title: "",
20508
- groups_forbidden: [],
20509
- groups_allowed: [],
20510
- promotion: ""
20345
+ sx: {
20346
+ display: "grid",
20347
+ gridTemplateColumns: "1fr auto auto",
20348
+ alignItems: "center",
20349
+ columnGap: 1.5,
20350
+ rowGap: 1
20351
+ }
20511
20352
  },
20512
- {
20513
- image: "/assets/img/home/Destacados/Banner02.png",
20514
- title: "Promo 2",
20515
- tags: "/destacados",
20516
- body: "",
20517
- summary_body: "",
20518
- summary_title: "",
20519
- groups_forbidden: [],
20520
- groups_allowed: [],
20521
- promotion: ""
20522
- }
20523
- ];
20524
- return /* @__PURE__ */ jsxs8(Container, { className: "oli-font", sx: { backgroundColor: "#121212", position: "relative", pb: 5 }, maxWidth: false, children: [
20525
- /* @__PURE__ */ jsx8(
20526
- OraculoSeccionBonoBienvenida_default,
20353
+ /* @__PURE__ */ React7.createElement(
20354
+ OraculoSectionTitle,
20527
20355
  {
20528
- headline: props.bonos.headline,
20529
- items: props.bonos.items
20356
+ title,
20357
+ iconUrl,
20358
+ size: "md"
20530
20359
  }
20531
20360
  ),
20532
- /* @__PURE__ */ jsxs8(Stack4, { direction: "column", spacing: 12, useFlexGap: true, children: [
20533
- /* @__PURE__ */ jsx8(
20534
- OraculoSeccionTopJuegos,
20361
+ /* @__PURE__ */ React7.createElement(
20362
+ Box6,
20363
+ {
20364
+ sx: {
20365
+ display: "flex",
20366
+ gap: 1,
20367
+ justifyContent: "flex-end"
20368
+ }
20369
+ },
20370
+ /* @__PURE__ */ React7.createElement(
20371
+ OraculoButton,
20535
20372
  {
20536
- items: props.topJuegos.items,
20537
- title: props.topJuegos.title,
20538
- iconUrl: props.topJuegos.iconUrl,
20539
- onCardClick: props.topJuegos.onCardClick
20373
+ ariaLabel: "Anterior",
20374
+ variant: "secondary",
20375
+ iconOnly: true,
20376
+ leftIcon: /* @__PURE__ */ React7.createElement(ChevronLeftRounded_default, null),
20377
+ onClick: handlePrev,
20378
+ disabled: navState.isStart
20540
20379
  }
20541
20380
  ),
20542
- /* @__PURE__ */ jsx8(
20543
- OraculoSeccionCasino_default,
20381
+ /* @__PURE__ */ React7.createElement(
20382
+ OraculoButton,
20544
20383
  {
20545
- items: props.casino.items,
20546
- title: props.casino.title,
20547
- iconUrl: props.casino.iconUrl,
20548
- onItemClick: props.casino.onItemClick,
20549
- onViewMore: props.casino.onViewMore
20384
+ ariaLabel: "Siguiente",
20385
+ variant: "secondary",
20386
+ iconOnly: true,
20387
+ rightIcon: /* @__PURE__ */ React7.createElement(ChevronRightRounded_default, null),
20388
+ onClick: handleNext,
20389
+ disabled: navState.isEnd
20550
20390
  }
20551
20391
  )
20552
- ] }),
20553
- /* @__PURE__ */ jsx8(
20554
- OraculoSeccionCasinoEnVivo_default,
20555
- {
20556
- items: props.casinoEnVivo.items,
20557
- title: props.casinoEnVivo.title,
20558
- subtitle: props.casinoEnVivo.subtitle,
20559
- backgroundMobileUrl: props.casinoEnVivo.backgroundMobileUrl,
20560
- backgroundDesktopUrl: props.casinoEnVivo.backgroundDesktopUrl,
20561
- onCardClick: props.casinoEnVivo.onCardClick,
20562
- onViewMore: props.casinoEnVivo.onViewMore
20563
- }
20564
20392
  ),
20565
- /* @__PURE__ */ jsxs8(Stack4, { direction: "column", spacing: 12, useFlexGap: true, children: [
20566
- /* @__PURE__ */ jsx8(
20567
- OraculoSeccionVirtuales_default,
20568
- {
20569
- items: props.virtuales.items,
20570
- title: props.virtuales.title,
20571
- iconUrl: props.virtuales.iconUrl,
20572
- onItemClick: props.virtuales.onItemClick,
20573
- onViewMore: props.virtuales.onViewMore
20574
- }
20575
- ),
20576
- /* @__PURE__ */ jsx8(
20577
- OraculoSeccionDestacados,
20393
+ /* @__PURE__ */ React7.createElement(Box6, { sx: { justifySelf: "end" } }, /* @__PURE__ */ React7.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s"))
20394
+ ), /* @__PURE__ */ React7.createElement(
20395
+ OraculoCarousel_default,
20396
+ {
20397
+ ref: carouselRef,
20398
+ items: slides,
20399
+ perPage: 1,
20400
+ gap: "0",
20401
+ options: {
20402
+ autoWidth: true,
20403
+ gap: "12px",
20404
+ trimSpace: false,
20405
+ pagination: false,
20406
+ arrows: false,
20407
+ drag: true,
20408
+ focus: "start",
20409
+ perMove: 1
20410
+ },
20411
+ renderItem: (slide) => /* @__PURE__ */ React7.createElement("div", { style: { alignSelf: "start" } }, /* @__PURE__ */ React7.createElement(
20412
+ OraculoGameSlide_default,
20578
20413
  {
20579
- items: listaDestacados,
20580
- title: "Destacados",
20581
- iconUrl: "/assets/img/home/Destacados/starIcon.svg",
20582
- onViewMore: () => console.log("Ver m\xE1s clickeado")
20414
+ items: slide.items,
20415
+ layout: slide.kind === "mosaic" ? "mosaic" : "grid",
20416
+ onClick: (itm) => {
20417
+ const game = items.find(
20418
+ (g, idx) => {
20419
+ var _a;
20420
+ return ((_a = g.orden) != null ? _a : idx) === itm.id;
20421
+ }
20422
+ );
20423
+ if (game) onItemClick == null ? void 0 : onItemClick(game);
20424
+ }
20583
20425
  }
20584
- ),
20585
- /* @__PURE__ */ jsx8(OraculoSeccionClubOlimpo_default, { items: props.clubOlimpo })
20586
- ] })
20587
- ] });
20588
- }
20426
+ )),
20427
+ onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
20428
+ }
20429
+ )));
20430
+ };
20431
+ var OraculoSeccionVirtuales_default = OraculoSeccionVirtuales;
20589
20432
 
20590
20433
  // src/templates/OraculoPageLandingPreview.tsx
20591
- import React4, { useEffect, useState as useState3, useMemo as useMemo2 } from "react";
20592
- import { Container as Container2, Stack as Stack5 } from "@mui/material";
20434
+ import React8, { useEffect, useState as useState3, useMemo as useMemo2 } from "react";
20435
+ import { Container, Stack as Stack4 } from "@mui/material";
20593
20436
 
20594
20437
  // ../node_modules/@firebase/util/dist/postinstall.mjs
20595
20438
  var getDefaultsFromPostinstall = () => void 0;
@@ -37614,19 +37457,16 @@ function convertToDocSnapshot(firestore, ref, snapshot) {
37614
37457
  }
37615
37458
  registerFirestore("node");
37616
37459
 
37617
- // src/templates/OraculoPageLandingPreview.tsx
37618
- import { jsx as jsx9 } from "react/jsx-runtime";
37619
-
37620
37460
  // import("../organisms/**/*/**/*") in src/templates/OraculoPageLandingPreview.tsx
37621
37461
  var globImport_organisms = __glob({
37622
- "../organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx": () => import("./OraculoSeccionBonoBienvenida-2APXZQQA.mjs"),
37623
- "../organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx": () => import("./OraculoSeccionCasino-LRZCQVLY.mjs"),
37624
- "../organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx": () => import("./OraculoSeccionCasinoEnVivo-ISYMJSUN.mjs"),
37462
+ "../organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.tsx": () => import("./OraculoSeccionBonoBienvenida-EG5U752J.mjs"),
37463
+ "../organisms/OraculoSeccionCasino/OraculoSeccionCasino.tsx": () => import("./OraculoSeccionCasino-NSM2LPDZ.mjs"),
37464
+ "../organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx": () => import("./OraculoSeccionCasinoEnVivo-DSHBIQFL.mjs"),
37625
37465
  "../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.css": () => import("./OraculoSeccionClubOlimpo-XGB4KUKX.mjs"),
37626
- "../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.tsx": () => import("./OraculoSeccionClubOlimpo-TV3LABJ5.mjs"),
37627
- "../organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx": () => import("./OraculoSeccionDestacados-2KCEN6PZ.mjs"),
37628
- "../organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx": () => import("./OraculoSeccionTopJuegos-RBVOHPDV.mjs"),
37629
- "../organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx": () => import("./OraculoSeccionVirtuales-N6FY52CM.mjs")
37466
+ "../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.tsx": () => import("./OraculoSeccionClubOlimpo-2EZ3LMIL.mjs"),
37467
+ "../organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx": () => import("./OraculoSeccionDestacados-TFPJSEHF.mjs"),
37468
+ "../organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.tsx": () => import("./OraculoSeccionTopJuegos-R2K6COO2.mjs"),
37469
+ "../organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.tsx": () => import("./OraculoSeccionVirtuales-HZ4BACB3.mjs")
37630
37470
  });
37631
37471
 
37632
37472
  // src/templates/OraculoPageLandingPreview.tsx
@@ -37690,19 +37530,19 @@ var OraculoPageLandingPreview = ({
37690
37530
  if (method === "GET") {
37691
37531
  const u = new URL(
37692
37532
  rawUrl,
37693
- typeof window !== "undefined" ? window.location.origin : "http://localhost"
37533
+ typeof window == "undefined" ? "http://localhost" : window.location.origin
37694
37534
  );
37695
- params.forEach((p) => {
37696
- if (!p.key) return;
37697
- u.searchParams.set(p.key, p.value);
37698
- });
37535
+ for (const p of params) {
37536
+ if (!p.key) continue;
37537
+ u.searchParams.append(p.key, p.value);
37538
+ }
37699
37539
  url = u.toString();
37700
37540
  } else {
37701
37541
  const encoded = new URLSearchParams();
37702
- params.forEach((p) => {
37703
- if (!p.key) return;
37542
+ for (const p of params) {
37543
+ if (!p.key) continue;
37704
37544
  encoded.append(p.key, p.value);
37705
- });
37545
+ }
37706
37546
  body = encoded.toString();
37707
37547
  headers = {
37708
37548
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
@@ -37720,7 +37560,7 @@ var OraculoPageLandingPreview = ({
37720
37560
  () => sectionsOverride ? sectionsOverride.slice() : sections.slice(),
37721
37561
  [sectionsOverride, sections]
37722
37562
  );
37723
- const fetchedKeysRef = React4.useRef(/* @__PURE__ */ new Set());
37563
+ const fetchedKeysRef = React8.useRef(/* @__PURE__ */ new Set());
37724
37564
  useEffect(() => {
37725
37565
  const fetchables = effectiveSections.map((s) => ({ s, url: (s.apiUrl || "").trim() })).filter(({ url }) => !!url);
37726
37566
  if (!fetchables.length) return;
@@ -37815,9 +37655,7 @@ var OraculoPageLandingPreview = ({
37815
37655
  const pl = payload;
37816
37656
  const isArr = Array.isArray(pl);
37817
37657
  const obj = !isArr && typeof pl === "object" && pl !== null ? pl : void 0;
37818
- console.log("Derived obj for props mapping:", obj);
37819
37658
  const arrData = obj && Array.isArray(obj.lobby || obj.items) ? obj.lobby || obj.items : void 0;
37820
- console.log("Derived arrData for props mapping:", arrData);
37821
37659
  const choose = (fallback) => isArr ? pl : arrData || fallback;
37822
37660
  merged.items = choose(arrData || []);
37823
37661
  return merged;
@@ -37856,7 +37694,7 @@ var OraculoPageLandingPreview = ({
37856
37694
  error: "bg-red-100 text-red-800",
37857
37695
  component: "bg-yellow-100 text-yellow-800"
37858
37696
  };
37859
- return /* @__PURE__ */ jsx9("div", { className: `mx-4 p-4 rounded ${colorMap[type]}`, children: message }, key);
37697
+ return /* @__PURE__ */ React8.createElement("div", { key, className: `mx-4 p-4 rounded ${colorMap[type]}` }, message);
37860
37698
  };
37861
37699
  const renderSingleSection = (s) => {
37862
37700
  var _a;
@@ -37889,26 +37727,26 @@ var OraculoPageLandingPreview = ({
37889
37727
  );
37890
37728
  }
37891
37729
  const compProps = buildCompProps(s);
37892
- return /* @__PURE__ */ jsx9(
37730
+ return /* @__PURE__ */ React8.createElement(
37893
37731
  "div",
37894
37732
  {
37733
+ key: s.id,
37895
37734
  style: {
37896
37735
  paddingLeft: 16,
37897
37736
  paddingRight: 16,
37898
37737
  width: "100%",
37899
37738
  boxSizing: "border-box"
37900
- },
37901
- children: /* @__PURE__ */ jsx9(Comp, { ...compProps })
37739
+ }
37902
37740
  },
37903
- s.id
37741
+ /* @__PURE__ */ React8.createElement(Comp, { ...compProps })
37904
37742
  );
37905
37743
  };
37906
37744
  if (loading && !sectionsOverride)
37907
- return /* @__PURE__ */ jsx9("div", { className: "text-xs text-gray-400", children: "Cargando preview..." });
37745
+ return /* @__PURE__ */ React8.createElement("div", { className: "text-xs text-gray-400" }, "Cargando preview...");
37908
37746
  if (!loading && !sectionsOverride && sections.length === 0)
37909
- return /* @__PURE__ */ jsx9("div", { className: "text-xs text-gray-500", children: "Sin secciones (Firestore)" });
37910
- return /* @__PURE__ */ jsx9(
37911
- Container2,
37747
+ return /* @__PURE__ */ React8.createElement("div", { className: "text-xs text-gray-500" }, "Sin secciones (Firestore)");
37748
+ return /* @__PURE__ */ React8.createElement(
37749
+ Container,
37912
37750
  {
37913
37751
  className: "oli-font",
37914
37752
  maxWidth: false,
@@ -37921,9 +37759,9 @@ var OraculoPageLandingPreview = ({
37921
37759
  width: "100%",
37922
37760
  maxWidth: "100%",
37923
37761
  overflowX: "hidden"
37924
- },
37925
- children: /* @__PURE__ */ jsx9(Stack5, { direction: "column", spacing: 8, useFlexGap: true, children: orderedVisible.map(renderSingleSection) })
37926
- }
37762
+ }
37763
+ },
37764
+ /* @__PURE__ */ React8.createElement(Stack4, { direction: "column", spacing: 8, useFlexGap: true }, orderedVisible.map(renderSingleSection))
37927
37765
  );
37928
37766
  };
37929
37767
  var OraculoPageLandingPreview_default = OraculoPageLandingPreview;
@@ -37932,7 +37770,7 @@ var OraculoPageLandingPreview_default = OraculoPageLandingPreview;
37932
37770
  var index_default = OraculoPageLandingPreview_default;
37933
37771
 
37934
37772
  // src/organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.tsx
37935
- import { jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
37773
+ import React9 from "react";
37936
37774
  function OraculoSeccionDestacados({
37937
37775
  items,
37938
37776
  title = "Destacados",
@@ -37955,89 +37793,81 @@ function OraculoSeccionDestacados({
37955
37793
  onViewMore == null ? void 0 : onViewMore();
37956
37794
  };
37957
37795
  const sectionClassName = className || void 0;
37958
- return /* @__PURE__ */ jsxs9("section", { className: sectionClassName, style: { width: "100%" }, children: [
37959
- /* @__PURE__ */ jsxs9(
37960
- "header",
37961
- {
37962
- style: {
37963
- display: "grid",
37964
- gridTemplateColumns: "1fr auto auto",
37965
- alignItems: "center",
37966
- columnGap: 12,
37967
- rowGap: 8,
37968
- marginBottom: 16
37969
- },
37970
- children: [
37971
- /* @__PURE__ */ jsx10(OraculoSectionTitle, { title, iconUrl, size: "md" }),
37972
- /* @__PURE__ */ jsxs9("div", { style: { display: "flex", gap: 8 }, children: [
37973
- /* @__PURE__ */ jsx10(
37974
- OraculoButton,
37975
- {
37976
- ariaLabel: "Anterior",
37977
- variant: "secondary",
37978
- iconOnly: true,
37979
- leftIcon: /* @__PURE__ */ jsx10(ChevronLeftRounded_default, {}),
37980
- onClick: handlePrev,
37981
- disabled: navState.isStart
37982
- }
37983
- ),
37984
- /* @__PURE__ */ jsx10(
37985
- OraculoButton,
37986
- {
37987
- ariaLabel: "Siguiente",
37988
- variant: "secondary",
37989
- iconOnly: true,
37990
- rightIcon: /* @__PURE__ */ jsx10(ChevronRightRounded_default, {}),
37991
- onClick: handleNext,
37992
- disabled: navState.isEnd
37993
- }
37994
- )
37995
- ] }),
37996
- /* @__PURE__ */ jsx10(OraculoButton, { variant: "secondary", onClick: handleViewMore, children: "Ver m\xE1s" })
37997
- ]
37796
+ return /* @__PURE__ */ React9.createElement("section", { className: sectionClassName, style: { width: "100%" } }, /* @__PURE__ */ React9.createElement(
37797
+ "header",
37798
+ {
37799
+ style: {
37800
+ display: "grid",
37801
+ gridTemplateColumns: "1fr auto auto",
37802
+ alignItems: "center",
37803
+ columnGap: 12,
37804
+ rowGap: 8,
37805
+ marginBottom: 16
37998
37806
  }
37999
- ),
38000
- /* @__PURE__ */ jsx10(
38001
- OraculoCarousel_default,
37807
+ },
37808
+ /* @__PURE__ */ React9.createElement(OraculoSectionTitle, { title, iconUrl, size: "md" }),
37809
+ /* @__PURE__ */ React9.createElement("div", { style: { display: "flex", gap: 8 } }, /* @__PURE__ */ React9.createElement(
37810
+ OraculoButton,
38002
37811
  {
38003
- ref: carouselRef,
38004
- items,
38005
- perPage: 3.395,
38006
- gap: "16px",
38007
- options: { autoWidth: false },
38008
- breakpoints: {
38009
- 768: { perPage: 1.15, focus: "start" },
38010
- 1024: { perPage: 2.5, focus: "start" }
37812
+ ariaLabel: "Anterior",
37813
+ variant: "secondary",
37814
+ iconOnly: true,
37815
+ leftIcon: /* @__PURE__ */ React9.createElement(ChevronLeftRounded_default, null),
37816
+ onClick: handlePrev,
37817
+ disabled: navState.isStart
37818
+ }
37819
+ ), /* @__PURE__ */ React9.createElement(
37820
+ OraculoButton,
37821
+ {
37822
+ ariaLabel: "Siguiente",
37823
+ variant: "secondary",
37824
+ iconOnly: true,
37825
+ rightIcon: /* @__PURE__ */ React9.createElement(ChevronRightRounded_default, null),
37826
+ onClick: handleNext,
37827
+ disabled: navState.isEnd
37828
+ }
37829
+ )),
37830
+ /* @__PURE__ */ React9.createElement(OraculoButton, { variant: "secondary", onClick: handleViewMore }, "Ver m\xE1s")
37831
+ ), /* @__PURE__ */ React9.createElement(
37832
+ OraculoCarousel_default,
37833
+ {
37834
+ ref: carouselRef,
37835
+ items,
37836
+ perPage: 3.395,
37837
+ gap: "16px",
37838
+ options: { autoWidth: false },
37839
+ breakpoints: {
37840
+ 768: { perPage: 1.15, focus: "start" },
37841
+ 1024: { perPage: 2.5, focus: "start" }
37842
+ },
37843
+ renderItem: (item) => /* @__PURE__ */ React9.createElement(
37844
+ "div",
37845
+ {
37846
+ key: `${item.title}-${item.image}`,
37847
+ style: {
37848
+ textAlign: "center",
37849
+ marginTop: 16
37850
+ }
38011
37851
  },
38012
- renderItem: (item) => /* @__PURE__ */ jsx10(
38013
- "div",
37852
+ /* @__PURE__ */ React9.createElement(
37853
+ "img",
38014
37854
  {
37855
+ src: `https://olimpo.bet${item.image !== "" ? item.image : item.summary_image}`,
37856
+ alt: item.title,
38015
37857
  style: {
38016
- textAlign: "center",
38017
- marginTop: 16
38018
- },
38019
- children: /* @__PURE__ */ jsx10(
38020
- "img",
38021
- {
38022
- src: `https://olimpo.bet${item.image !== "" ? item.image : item.summary_image}`,
38023
- alt: item.title,
38024
- style: {
38025
- width: "100%",
38026
- // minHeight: "150px",
38027
- // maxHeight: "150px",
38028
- height: "150px",
38029
- borderRadius: 8,
38030
- display: "block"
38031
- }
38032
- }
38033
- )
38034
- },
38035
- `${item.title}-${item.image}`
38036
- ),
38037
- onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
38038
- }
38039
- )
38040
- ] });
37858
+ width: "100%",
37859
+ // minHeight: "150px",
37860
+ // maxHeight: "150px",
37861
+ height: "150px",
37862
+ borderRadius: 8,
37863
+ display: "block"
37864
+ }
37865
+ }
37866
+ )
37867
+ ),
37868
+ onMove: ({ isStart, isEnd }) => setNavState({ isStart, isEnd })
37869
+ }
37870
+ ));
38041
37871
  }
38042
37872
 
38043
37873
  export {
@@ -38049,7 +37879,6 @@ export {
38049
37879
  OraculoSeccionTopJuegos,
38050
37880
  OraculoSeccionCasino_default,
38051
37881
  OraculoSeccionVirtuales_default,
38052
- OraculoPageLanding,
38053
37882
  OraculoPageLandingPreview_default,
38054
37883
  index_default
38055
37884
  };