oraculo-ui 0.2.68 → 0.2.70

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 CHANGED
@@ -1,20 +1,20 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),H=require("@mui/material"),S=require("react"),Jt=require("@mui/material/Skeleton"),_t=require("@splidejs/react-splide"),Xt=require("@mui/material/Box"),Qt=require("@mui/material/Typography"),Yt=require("@mui/material/Stack"),oe=require("@olimpo/capture-client"),be=require("@mui/icons-material"),ea=require("@mui/material/useMediaQuery"),ta=require("@mui/icons-material/ChevronLeftRounded"),aa=require("@mui/icons-material/ChevronRightRounded"),Ve=require("@mui/material/styles"),na=require("@mui/material/CssBaseline"),ot=require("firebase/firestore"),me=t=>t&&t.__esModule?t:{default:t},xe=me(S),X=me(Jt),q=me(Xt),ue=me(Qt),Q=me(Yt),Ee=me(ea),vt=me(ta),yt=me(aa),oa=me(na);function ee({children:t,onClick:a,href:n,target:o,rel:s,type:l="button",disabled:i=!1,variant:c="primary",size:g,fullWidth:f=!1,fullHeight:m=!1,className:d="",ariaLabel:u,leftIcon:h,rightIcon:y,iconOnly:b}){const v=!!t&&t!==!0,O=(!!h?1:0)+(!!y?1:0)==1,A=b!=null?b:O&&!v,j=["orc-btn",c==="secondary"?"orc-btn--secondary":c==="tertiary"?"orc-btn--tertiary":"orc-btn--primary",g?`orc-btn--${g}`:"",f?"orc-btn--full":"",m?"orc-btn--fullHeight":"",A?"orc-btn--iconOnly":"",d].filter(Boolean).join(" "),_=e.jsxs(e.Fragment,{children:[h&&e.jsx("span",{className:"orc-btn__icon",children:h}),!A&&e.jsx("span",{className:"orc-btn__label",children:t}),y&&e.jsx("span",{className:"orc-btn__icon",children:y})]}),w=i?!0:void 0;return n?e.jsx(H.Link,{href:n,target:o,rel:s,"aria-label":u,"aria-disabled":w,tabIndex:w?-1:void 0,className:j,onClick:w?M=>M.preventDefault():a,children:_}):e.jsx("button",{type:l,onClick:a,disabled:!!w,"aria-label":u,className:j,children:_})}function pe({title:t,iconUrl:a,size:n="md",className:o=""}){const l=["orc-section-title",n?`orc-section-title--${n}`:"",o].filter(Boolean).join(" ");return e.jsxs("div",{className:l,children:[a&&e.jsx("img",{src:a,alt:"",className:"orc-section-title__icon"}),e.jsx("h2",{className:"orc-section-title__title",children:t})]})}const Je=({total:t,active:a,onSelect:n,className:o="",durationMs:s=5e3})=>{if(t<=1)return null;const l=["orc-dots",o].filter(Boolean).join(" "),[i,c]=S.useState(0);return S.useEffect(()=>{c(g=>g+1)},[a,s]),e.jsx("div",{className:l,role:"tablist","aria-label":"Carousel pagination",children:Array.from({length:t}).map((g,f)=>{const m=f===a;return e.jsx("span",{className:"orc-dots__cell",children:e.jsx("button",{type:"button",role:"tab","aria-selected":m,"aria-label":`Ir al slide ${f+1}`,className:"orc-dots__dot"+(m?" orc-dots__dot--active":""),style:m?{"--dot-progress-ms":`${s}ms`}:void 0,onClick:()=>{m&&c(d=>d+1),n==null||n(f)}},m?`a-${f}-${i}`:`i-${f}`)},f)})})};function se({children:t,minWidth:a=32,spacing:n=2,justify:o="stretch",columns:s=null}){const l=s||`repeat(auto-fit, minmax(${a}px, 1fr))`,i=typeof n=="number"?`${n*8}px`:n;return e.jsx("div",{style:{display:"grid",gridTemplateColumns:l,justifyItems:o,gap:i,height:"inherit"},children:t})}function He({src:t,alt:a}){return e.jsx(H.Box,{sx:{position:"relative",width:{xs:65,sm:80,md:120,lg:160},height:{xs:48,md:96},display:"inline-block"},children:e.jsx(H.Box,{component:"img",src:t,alt:a,sx:{position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"contain"}})})}const ra="oraculo__OraculoEventTitle-module__contenedor___rg1vw",sa="oraculo__OraculoEventTitle-module__title___Q6S-4",ia="oraculo__OraculoEventTitle-module__flexGroup___jMLFO",la="oraculo__OraculoEventTitle-module__subtitleWrapper___1HJcd",ca="oraculo__OraculoEventTitle-module__track___-vJ3k",da="oraculo__OraculoEventTitle-module__subtitle___TmHna",ua="oraculo__OraculoEventTitle-module__animateTrack___Pwx4N",ge={contenedor:ra,title:sa,flexGroup:ia,subtitleWrapper:la,track:ca,subtitle:da,animateTrack:ua};function ma({title:t,subtitle:a,maxSubtitleChars:n=25}){const o=!!(a&&a.length>=n);return e.jsxs("div",{className:ge.contenedor,children:[e.jsx("span",{className:ge.title,children:t}),a&&e.jsxs("div",{className:ge.flexGroup,children:[e.jsx("svg",{width:"4",height:"4",viewBox:"0 0 5 5",xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0},children:e.jsx("circle",{cx:"2.5",cy:"2.5",r:"2.5",fill:"white"})}),e.jsx("div",{className:ge.subtitleWrapper,children:e.jsxs("div",{className:`${ge.track} ${o?ge.animateTrack:""}`,children:[e.jsx("span",{className:ge.subtitle,children:a}),o&&e.jsx("span",{className:ge.subtitle,"aria-hidden":"true",children:a})]})})]})]})}function St({text:t,color:a="#ff3b3b",textColor:n="#fff"}){return e.jsx("span",{className:"oli-font",style:{backgroundColor:a,color:n,borderRadius:"8px",padding:"4px 8px",fontSize:"12px",lineHeight:"16px",fontWeight:700,width:"42px",height:"16px",textAlign:"center"},children:t})}function wt({live:t,time:a,extra:n}){return e.jsxs("div",{className:"oli-font",style:{display:"flex",alignItems:"center",gap:"8px"},children:[t&&e.jsx(St,{text:"En vivo"}),(a||n)&&e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[a&&e.jsx("span",{style:{fontSize:"14px",fontWeight:400,lineHeight:"20px"},children:a}),n&&e.jsxs("span",{style:{fontSize:"14px",fontWeight:700,lineHeight:"20px",color:"#9EE86E",display:"flex",alignItems:"center",gap:"4px"},children:[e.jsx("svg",{width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("circle",{cx:"2",cy:"2",r:"2",fill:"#9EE86E"})}),n]})]})]})}function jt({title:t,subtitle:a,live:n=!1,time:o="",extra:s=""}){return e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",color:"#FFFFFF",gap:"5px"},children:[e.jsx(ma,{title:t,subtitle:a,maxSubtitleChars:s?15:24}),e.jsx(wt,{live:n,time:o,extra:s})]})}const pa="oraculo__OraculoEventLabel-module__label___c64Xw",fa={label:pa};function Le({text:t}){return e.jsx("span",{className:fa.label,children:t})}const ga="oraculo__OraculoEventLeague-module__container___rdk4F",ha={container:ga};function Xe({title:t}){return e.jsx("div",{className:ha.container,children:t.toUpperCase()})}const ba="oraculo__OraculoEventScore-module__scoreWrapper___fWwEr",xa="oraculo__OraculoEventScore-module__name___r4uL6",_a="oraculo__OraculoEventScore-module__score___Xl03M",va="oraculo__OraculoEventScore-module__normal___cCNFz",ya="oraculo__OraculoEventScore-module__small___fVt8E",Sa="oraculo__OraculoEventScore-module__basketball___vx8Wa",je={scoreWrapper:ba,name:xa,score:_a,normal:va,small:ya,basketball:Sa};function Qe({text:t,name:a,size:n="normal"}){return e.jsxs("div",{className:`${je.scoreWrapper} ${je[n]}`,children:[e.jsx("div",{className:`${je.score} ${je[n]}`,children:t}),a&&e.jsx("span",{className:`${je.name} ${je[n]}`,children:a})]})}const wa="oraculo__OraculoEventTeamInfo-module__team___UfpUs",ja="oraculo__OraculoEventTeamInfo-module__regular___ag826",Oa="oraculo__OraculoEventTeamInfo-module__compact___RCNOs",Ia="oraculo__OraculoEventTeamInfo-module__logo___fKCl3",Ea="oraculo__OraculoEventTeamInfo-module__name___4ikm-",Ca="oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh",Oe={team:wa,regular:ja,compact:Oa,logo:Ia,name:Ea,skeleton:Ca},Ta="oraculo__OraculoTeamPolo-module__polo___BisRg",ka="oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX",Na="oraculo__OraculoTeamPolo-module__flagImage___BPR6h",$a="oraculo__OraculoTeamPolo-module__shadow___-3DXb",Ra="oraculo__OraculoTeamPolo-module__highlight___1etm7",he={polo:Ta,svgWrapper:ka,flagImage:Na,shadow:$a,highlight:Ra};function rt({base:t,sleeve:a,stripes:n,sleevelong:o}){return e.jsxs(e.Fragment,{children:[e.jsx("path",{fill:t,d:"m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8l-5-12.3-1.9-3.8-1.8-1.6.1-.8v-1l-.4-1.8-1.3-4.1-3.3-9-1.3-2-2.2-5.7-2.5-.3-1 .8v2l-2.7 13.1-8.7 58-.9 6.4-.2 7.9c0 3-1 16-1.7 18.3l-2.5 9-.2 7.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.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"}),e.jsx("path",{fill:n,d:"M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z"})]}),o&&e.jsx(e.Fragment,{children:e.jsx("path",{fill:o,d:"m153 277.8-5.8 14.5c-1 2.8-2.5 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ill:a,fillRule:"evenodd",d:"m262.9 19.6-3.7 3.8-3.5 3.3-2.7 2.1c-2 1.6-5 5.7-1 17.1 4 9.8 5.2 12 5.3 11.9 1.4 2.5 4.4 7.9 5.9 9.1l6 7.8 15 14.6 10.5 8.7 12.6 11.3 8.3 6.2 7.6.6 17 .8 9.2-6.6 7-5.6 10.3-9 7-5.7 5.3-5.2 3.6-3.6 3.4-3.4 4.2-5 4-5.3 2.7-4C403.5 53 407 40 406 37.3c0-1.3-.9-4.6-3.9-7.2A129 129 0 0 1 391.2 20c-.8-1.1-4.2-4.3-7.3-6a52 52 0 0 0-15.3-3.9L353.5 9l-10.2-.4-15.4-.4H301.6c-4.6.2-14.6.6-17.2 1.2l-3.4.6c-3.2.5-6.9 1-8.4 2l-1.4.8c-1.5.7-2.8 1.4-5 3.7l-3.3 3.2Zm4.3 14 1.9 5.5 4.6 8.2 5 6.7 5.3 6.6 11 10.7 10.8 9.8 12.8 11.7 7.4 7 3 3 15-13.3 16.7-15.7 6.7-6.2 6-6.6a104.1 104.1 0 0 0 13.8-19.6c1-1.9 1.8-4.5 2-5.6 2.7-7.9 1.4-13.8-1.5-17.8-4-5.2-14.9-6.6-18.5-7.1h-.7c-13.8-1.9-39.8-2-46-1.9-9-.2-28.1.2-32.5.7-.6 0-1.2 0-1.9.2-6.8.6-19.9 1.9-22.6 10.6a22.6 22.6 0 0 0 .9 10.3l.8 2.9Z"}),e.jsx("path",{fill:a,d:"m74.8 250.8-6.8-2.7-.3.7-3 8.7-2 5.7c-1 2.2-.5 1.9.1 2.3l2.2 1 8.8 3.3 10.4 3.8 10.7 3.8 14.3 4.8 13 4.3 7 2.3 13.8 4.3c2.2.7 3 1.4 3.8 0l6.3-15.6-4.6-1.8a88 88 0 0 1-9.4-3c-.8-.6-11.8-3.7-17.3-5.4l-7-2.4-13-4.3c-3.2-1.3-9.9-3.8-11-4-1.2-.2-11-3.8-16-5.8Z"}),e.jsx("path",{fill:a,d:"m505 284.5-3.5-7.5c.2-.2 1.2-.4 3 0 1.6.4 11.3-1.7 16-2.7l22.5-6.6 13.7-4.5 16.8-6.7a90 90 0 0 0 13.7-7.7v1l.6 2 1.9 5.5 2.9 7.8c.6 1.6-5.5 4.8-8.6 6.3l-17 7.2-15.3 5.4-13 4.2-13 3.3-9.9 2c-6.8 1.2-7.2-.4-8-2l-2.7-7Z"})]})}function st({base:t,sleeve:a,stripes:n,sleevelong:o}){return e.jsxs(e.Fragment,{children:[e.jsx("path",{fill:t,d:"m342 8.1-29-.2h-2.3c-5.2 0-19.7.9-26.6 2.6a55 55 0 0 0-11.8 3.5c-6 2.4-16.4 10.7-20.9 14.6l-2.3 1.3-6.5 3.6L236 37l-8.4 4.4-14 6.5-14 5.2-10.1 3.3-12.5 4-10.4 3.7a81.5 81.5 0 0 0-25.3 15.5c-.9 1-3 3.7-5 5.9-2 2.1-7.9 12.5-10.5 17.4l-5.1 12.2-4.4 13.5-3.2 11.8-3.2 15.7-2.1 15.2-2.6 22-1.5 10.9-1.8 11-1.3 6.3-1.4 6-.3 3.3-.5.8-3.1 14c-.5 3.3.7 3.6 1.7 4l2.9.8 7 1.3 12.5 2.3 10.7 2 16 2.3 14.5 1.6 11 .2c8.3.2 8.6-2.8 8.8-5.4l.4-.2 1.3 13.9 1.8 14.7 2.4 15.5 1 8.3 1.8 9.7a326 326 0 0 1 2.8 20.3l-.2 7.7c-.4 5 .4 11.1 2.6 13.7v5.5l-.2 9.5-.3 8.8-.3 6.2v10l.2 7.5.3 5.8V424c-.1.5-.2 2-.2 4.5-.8 1-2.4 10.8-3 15.6l-.7 6-.4 3.6V474l-.2 6.9-1 5.8-.6 4.3-.5 3-1.5 3.5-2.6 6.7-2.6 7.4-2.6 8.7-4.7 17-2 8-1.4 4.4-2.2 9.2-1.7 6.4-5 14.5-1.9 5.7-1.9 7-1.2 2-3.5 11-.8 2.8v1l3 2.3 2.5 2.5c3.5 3.6 9.1 7.8 15 8.7l1.7 1.1c9 7 22.8 20.1 63.6 24.3l15.6 1.8 29.6 1.7 35 .5 38-.6L389 650c15-.3 62.3-4 78.6-13.8 5.7-1.4 21.6-15.3 28.8-22 5.5-4.3 4-5 3.5-7.3a249 249 0 0 0-2.2-10.5c-1-1-1.7-4.9-1.8-6.7l-1.5-4.1-3.2-12.3a391 391 0 0 1-1.8-7c.4-.8-1-6.7-1.6-9.6l-1.2-3.5-2.4-10.7-6.6-20.8-4.8-11.6-.7-6.2c-.1-2.3-.5-8.7-.6-15.7 0-7-4.9-31-7.3-42l-2.6-8.6v-1.9l-.3-9v-6.3l.3-8 .3-4.1v-9l-.2-12.2-.6-9.4-.6-7.3-.8-6.9.5-10.3c1.7-1.2 2.3-9.1 2.3-13l.5-6.7 1.1-6 4-22.8 1.3-9 1.3-5.4.4-4.2 2-15.3 1.2-12.2.7-11.6.4-4 1 10.5c.2 3.1 1.5 7 4.7 7.4 2.6.4 9.7 0 12.9-.4l15.5-1.9 46.3-8c6.4-.1 4.6-2.9 4.2-6.4l-1.2-4.9-2-7.5-3.3-14.5-4-26.4-3-25.1a215 215 0 0 0-7.2-35.6c-1.2-4.5-11-35-24-48a103.8 103.8 0 0 0-34-20 566 566 0 0 0-23.8-8.2c-10.1-1.3-40.2-17.6-54-25.6C387.4 13 374.6 8.1 341.9 8.1Z"}),n&&e.jsxs(e.Fragment,{children:[e.jsx("path",{fill:n,d:"m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4l.3-2.6.6-3.4 1-3.5 1-3.8c.1-.9 2-5.6 3-7.8l.7-1.5.7-2 .9-3.6 3.4-12.6 2.4-8.6 2.7-11.2 3.5-9.6 3.6-9.4 3-6 2-4.1 3.6-5.8 2.2-4.3 3-4.4 3.2-3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 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"})]}),o&&e.jsx(e.Fragment,{children:e.jsx("path",{fill:o,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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11.3-4l-.9-4.2Z"}),e.jsx("path",{fill:a,d:"m101.6 232.4-2.3-1.4-.8 2.6c-.3 1.6-1.1 5.6-2.3 10.1-1.2 4.6.4 6 1.3 6l3.8 1 12 2.2 9.5 1.5 15.1 2.7 17 2.2 13.8 1c12 .4 11.7-2 12.5-6.3l-.6-11.8-3 .6-6.9.3-10-.9-11.9-1.5-8.2-1-13.5-2.6-14.8-2.6-10.7-2Z"})]})}function Ma({base:t,sleeve:a,stripes:n,sleevelong:o}){return e.jsxs(e.Fragment,{children:[e.jsx("path",{fill:t,d:"m249.3 24.4-9.4-7.1c0-.1-.6-.6-1.7-1.3-1.1-.7-3.7-.4-4.8-.2l-4.8 2.6-2 2.9-8.7 4.4-7.7 2H198c.2-.5-.8-1.2-1.3-1.5a15 15 0 0 0-5.2 0c-3.7.3-6.6 8.3-7.5 12.2L179 59.2 171 86.1l-8.2 26.8c-1.3 6-4.3 19.8-5.9 26.3-2.4 6-3.1 20.4-3.2 26.8l-1 25.6-1 17.6c-2.7 3.9-1 5-.4 6.6-.3 1.5 1.8 3 2.6 2.8l2.7 9.3-1.3 12.1c-.5 5.5 1 16.9 1.8 21.8l3.2 14 4.4 18.5 2.4 12.9 2.2 11.6 2.4 11.3v7.5c.1.3-.4 2-3.2 6.2a47 47 0 0 0-4.8 15.8s-.6.4-1.8 3.1c-2.5 5 2.2 17 4.8 22.4 0 1.6-.3 6.6-1 13.8-3.5 1.2-5 8.5-5.3 12-.3 3.4-1 10.8-1 13.2 0 2.4.9 10.3 1.3 14 .5 1.3 1.4 4.6 1.6 6.2.3 1.6 1.9 5.4 2.6 7.1.4.7 1.2 2.7 1.6 5.6-1 1.5-3.4 11-4.5 15.5l-2.4 10-1.9 8.5-1.8 7.8-2.8 11-3 12.9-3 10.4-4 15.2-3 12-2.3 8.1-1.3 6.7-2.3 11.2-2 12.8-2.5 8c-1.1.3-.7 1.4-.4 2l-.6 1.8c-1 .2-.9 1.1-.7 1.6-.5.7-2 3.2-4 7.3-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.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"}),e.jsx("path",{fill:n,d:"M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.3 60-4 105.6-.7 41.1.4 82.5 1.4 124.4.7 25.7 1.4 51.6 1.6 77.8a435 435 0 0 0 1.5 32.6Z"})]}),o&&e.jsx(e.Fragment,{children:e.jsx("path",{fill:o,d:"m155.3 210.8-1.8 7.7c-.6-.2-1.8-1-2-2.7-2-2.2-.7-5.5.2-7l.5-7 .6-13 .5-11.1.3-8.2.5-12.4c.2-3 1.3-13.4 3-17.9l2-9.3 3.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3 17.7c0 5.2-.5 11.5-.8 14l-2.8 22-4.1 18-3.8 10.3c-4.4 7.8-15.3 24.3-23.8 28-10.7 8-48.8 18.7-56.5 19-18.1 3.2-47.1-1.8-54.6-4-17-3.5-40-14.6-45.9-21a82.6 82.6 0 0 1-21.7-41.7c-2.4-10.3-3.3-15.1-3.3-16.2l-1.8-23.3c-.2-6 .8-20 7.6-27.2 2.2-2.8 2.8-3.8 2.8-3.9Zm4.2 3.7 10.7 8 10 7.4 8.1 5.3 10 5.6 12.9 6 9.5 3.2 14.2 3.6c4.1.6 13.4 1.6 17.3 1.5l13-.3c2.9 0 10.6-1 18.7-3.5 8.1-2.4 13.2-4.5 14.7-5.3l13.6-6.3 9.3-5 8.4-5.4 10.3-7.7 5.2-3.7 3.7-2.7.4-.2c1.2 1.9 3.8 6 4 8 .6 1.9 1.1 4.2 1.3 5.1l1.2 6.2.5 7.2-.2 12.1-2.1 16.6-3.2 13.7-5 13.2-4 7.3-3.3 5-5.6 6.5-4 3.7-6.4 4.6-6 3.2-8.2 4-12.2 4.4-12.5 3.2-9.8 1.5-11.3 1-15.2.2-13.4-1.2-10-1.5-12.4-3.4-11.8-4-9-4.2-7-4a73.6 73.6 0 0 1-16-16.3 272 272 0 0 1-8.6-16.2c-1.7-5.6-5.1-17.5-5.3-20.1-.2-2.7-1-9.7-1.5-12.9l-.7-16c.2-5.7 1.6-18.6 6.2-25.3l1.5-2.1Z"})]})}function Aa({base:t,sleeve:a,stripes:n,sleevelong:o}){return e.jsxs(e.Fragment,{children:[e.jsx("path",{fill:t,d:"m249.3 24.4-9.4-7.1c0-.1-.6-.6-1.7-1.3-1.1-.7-3.7-.4-4.8-.2l-4.8 2.6-2 2.9-8.7 4.4-7.7 2H198c.2-.5-.8-1.2-1.3-1.5a15 15 0 0 0-5.2 0c-3.7.3-6.6 8.3-7.5 12.2L179 59.2 171 86.1l-8.2 26.8c-1.3 6-4.3 19.8-5.9 26.3-2.4 6-3.1 20.4-3.2 26.8l-1 25.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 3.7-6.4 4.6-6 3.2-8.2 4-12.2 4.4-12.5 3.2-9.8 1.5-11.3 1-15.2.2-13.4-1.2-10-1.5-12.4-3.4-11.8-4-9-4.2-7-4a73.6 73.6 0 0 1-16-16.3 272 272 0 0 1-8.6-16.2c-1.7-5.6-5.1-17.5-5.3-20.1-.2-2.7-1-9.7-1.5-12.9l-.7-16c.2-5.7 1.6-18.6 6.2-25.3l1.5-2.1Z"})]})}const it={FOOTBALL:{men:{pathsComponent:rt,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png"},women:{pathsComponent:st,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.01b6dc75.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.9f351041.png"}},TENNIS:{men:{pathsComponent:rt,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png"},women:{pathsComponent:st,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.01b6dc75.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.9f351041.png"}},BASKETBALL:{men:{pathsComponent:Ma,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.d2a2ff52.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.7fdbab3c.png"},women:{pathsComponent:Aa,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.d2a2ff52.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.7fdbab3c.png"}}};function Ba({sport:t="FOOTBALL",gender:a="men",colors:n,className:o,flag:s=""}){const l=(n==null?void 0:n.base)==="D8D8D8"&&(n==null?void 0:n.sleeve)==="D8D8D8"||(n==null?void 0:n.base)==="585858"&&(n==null?void 0:n.sleeve)==="585858",i=b=>b?b.startsWith("#")?b:`#${b}`:null;if(t==="TENNIS"&&s==""||t==="BASKETBALL"&&(n==null||l)){const v=`https://d28gilnhu2bcbp.cloudfront.net/landing/${t==="BASKETBALL"?"basketball":"tennis"}_default.png`;return e.jsx("div",{className:`${he.polo} ${o!=null?o:""}`,children:e.jsx("img",{src:v,className:he.flagImage})})}if(t==="TENNIS")return e.jsx("div",{className:`${he.polo} ${o!=null?o:""}`,children:e.jsx("img",{src:`https://img.sportradar.com/ls/crest/big/${s}.png`,className:he.flagImage})});const c=i(n.base)||"#FFFFFF",g=i(n.sleeve)||c,f=i(n.stripes),m=i(n.sleevelong),d=i(n.trim)||g,u=it[t]||it.FOOTBALL,h=u[a]||u.men,y=h.pathsComponent;return e.jsxs("div",{className:`${he.polo} ${o!=null?o:""}`,children:[e.jsx("div",{className:he.svgWrapper,children:e.jsx("svg",{viewBox:"0 0 656 656","aria-hidden":!0,children:e.jsx(y,{base:c,sleeve:g,stripes:f,sleevelong:m,trim:d})})}),e.jsx("img",{src:h.shadowUrl,className:he.shadow,alt:"","aria-hidden":!0}),e.jsx("img",{src:h.highlightUrl,className:he.highlight,alt:"","aria-hidden":!0})]})}function Ne({name:t,jersey:a,size:n="regular",sport:o="FOOTBALL",gender:s="men",flag:l=""}){return e.jsxs("div",{className:`oli-font ${Oe.team} ${Oe[n]}`,children:[a!=null&&a.base?e.jsx(Ba,{sport:o,gender:s,colors:a,flag:l,className:`${Oe.logo}`}):e.jsx(X.default,{variant:"circular",className:`${Oe.logo} ${Oe.skeleton}`}),e.jsx("span",{className:Oe.name,children:t})]})}function La(t,a,{enabled:n=!0,threshold:o=60,cooldownMs:s=500}={}){const l=S.useRef(0),i=S.useRef(0);S.useEffect(()=>{if(!n)return;const c=t.current;if(!c)return;const g=f=>{const m=a.current;if(!m||!m.go)return;const{deltaX:d,deltaY:u}=f;if(Math.abs(d)<=Math.abs(u))return;f.preventDefault(),l.current+=d;const h=Date.now();if(h-i.current<s||Math.abs(l.current)<o)return;const y=l.current>0?">":"<";l.current=0,i.current=h,m.go(y)};return c.addEventListener("wheel",g,{passive:!1}),()=>{c.removeEventListener("wheel",g),l.current=0}},[n,o,s,t,a])}const Pa="oraculo__OraculoCarousel-module__gradientOverlay___xYDfc",Fa="oraculo__OraculoCarousel-module__right___KwpOE",qa="oraculo__OraculoCarousel-module__left___n3WQu",za="oraculo__OraculoCarousel-module__svg___0mGuX",Ie={gradientOverlay:Pa,right:Fa,left:qa,svg:za},Ua=_t.Splide,Va=_t.SplideSlide,fe=S.forwardRef(({items:t=[],renderItem:a,perPage:n=1,gap:o="0px",breakpoints:s,options:l={},className:i="",onMove:c,useIndexAsKey:g=!1,enableHorizontalWheel:f=!0,showRightGradient:m=!1},d)=>{const u=S.useRef(null),h=S.useRef(null),y=S.useRef(t.length),b=S.useRef(null),v=S.useRef(null),R=S.useRef("user");La(h,u,{enabled:f}),S.useImperativeHandle(d,()=>({next:()=>{var E;return(E=u.current)==null?void 0:E.go(">")},prev:()=>{var E;return(E=u.current)==null?void 0:E.go("<")},go:E=>{var x;return(x=u.current)==null?void 0:x.go(E)}}));const T=E=>{var G;const x=E.Components.Slides,I=E.Components.Controller,P=E.root.querySelector(".splide__track"),B=(G=P==null?void 0:P.clientWidth)!=null?G:0,L=I.getIndex(),U=x.getLength();let V=0,W=L;for(let z=L;z<U;z++){const K=x.getAt(z);if(!K||(V+=K.slide.offsetWidth,V>B))break;W=z}return{visibleStart:L,visibleEnd:W}},O=E=>{const x=E.root.querySelector(".splide__track"),I=E.root.querySelector(".splide__list");return!x||!I?!1:I.scrollWidth>x.clientWidth+1},A=S.useRef(!1),j=S.useCallback(E=>{var G,z;if(A.current)return;const I=E.Components.Slides.getLength(),P=R.current;if(R.current="user",!O(E)){c==null||c({index:0,isStart:!0,isEnd:!0,total:I,visibleStart:0,visibleEnd:I-1,source:P});return}const{visibleStart:B,visibleEnd:L}=T(E),U=B===0,V=L===I-1;m&&((G=b.current)==null||G.style.setProperty("--gradient-opacity",U?"0":"1"),(z=v.current)==null||z.style.setProperty("--gradient-opacity",V?"0":"1"));const W=E.Components.Controller.getIndex();c==null||c({index:W,isStart:U,isEnd:V,total:I,visibleStart:B,visibleEnd:L,source:P})},[c]);xe.default.useEffect(()=>{var I;const E=(I=u.current)==null?void 0:I.splide;if(!E)return;const x=y.current!==t.length;y.current=t.length,x&&requestAnimationFrame(()=>{A.current=!0;try{E.refresh()}finally{A.current=!1}R.current="resize",j(E)})},[t.length,j]);const _=S.useCallback(()=>{var x;const E=(x=u.current)==null?void 0:x.splide;if(E){A.current=!0;try{E.go(0,!1)}finally{A.current=!1}R.current="resize",j(E)}},[j]),w=S.useCallback(E=>{R.current="mounted",j(E)},[j]),M={type:"slide",trimSpace:!1,drag:!0,pagination:!1,arrows:!1,rewind:!1,focus:"start",autoWidth:!1,perPage:n,gap:o,breakpoints:s,...l,...f?{wheel:!1}:{}};return e.jsxs("div",{ref:h,className:i,style:{width:"100%",position:"relative",height:"100%"},children:[e.jsx(Ua,{ref:u,options:M,onMove:j,onMounted:w,onResize:_,children:t.map((E,x)=>{var I;return e.jsx(Va,{children:a(E,x)},g?x:(I=E.id)!=null?I:x)})}),m&&e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:b,className:`${Ie.gradientOverlay} ${Ie.left}`,style:{"--gradient-opacity":"0"},children:e.jsxs("svg",{className:Ie.svg,viewBox:"0 0 152 184",preserveAspectRatio:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M0 0H152V184H0V0Z",fill:"url(#paint_left)"}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"paint_left",x1:"0",y1:"92",x2:"152",y2:"92",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.59737",stopColor:"#121212",stopOpacity:"0"}),e.jsx("stop",{offset:"1",stopColor:"#121212"})]})})]})}),e.jsx("div",{ref:v,className:`${Ie.gradientOverlay} ${Ie.right}`,style:{"--gradient-opacity":"1"},children:e.jsxs("svg",{className:Ie.svg,viewBox:"0 0 152 184",preserveAspectRatio:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M0 0H152V184H0V0Z",fill:"url(#paint_right)"}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"paint_right",x1:"0",y1:"92",x2:"152",y2:"92",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.59737",stopColor:"#121212",stopOpacity:"0"}),e.jsx("stop",{offset:"1",stopColor:"#121212"})]})})]})})]})]})}),ke=({imageUrl:t,onClick:a,size:n="sm",fillParent:o=!1})=>{const s=n==="lg"?{w:280,h:352}:{w:152,h:168},l=c=>{c.stopPropagation(),a==null||a()},i=o?{width:"100%",height:"100%"}:{width:`${s.w}px`,height:`${s.h}px`};return e.jsxs(q.default,{onClick:a,role:"button",sx:{position:"relative",borderRadius:"12px",overflow:"hidden",boxSizing:"border-box",transition:"transform .15s ease, box-shadow .15s ease",...i,"&:hover":{transform:"translateY(-2px)",boxShadow:8,cursor:"pointer"},"&:hover .oraculo-game-card-overlay":{opacity:1},"&:hover .oraculo-game-card-btn":{opacity:1,transform:"translate(-50%, -50%) scale(1)",pointerEvents:"auto"}},children:[e.jsx("img",{src:t,alt:"Juego de casino",loading:"lazy",style:{width:"100%",height:"100%",objectFit:"cover",display:"block",borderRadius:"inherit"}}),e.jsx(q.default,{className:"oraculo-game-card-overlay",sx:{position:"absolute",inset:0,backgroundColor:"rgba(0, 0, 0, 0.45)",opacity:0,transition:"opacity .15s ease",pointerEvents:"none",zIndex:1}}),e.jsx(q.default,{className:"oraculo-game-card-btn",sx:{position:"absolute",top:"50%",left:"50%",zIndex:2,transform:"translate(-50%, -50%) scale(0.95)",opacity:0,transition:"opacity .15s ease, transform .15s ease",pointerEvents:"none"},children:e.jsx(ee,{variant:"primary",size:"md",onClick:l,children:"Jugar"})})]})};function Ot({imageUrl:t,orden:a=1,onClick:n,loading:o=!1,sizes:s={xs:{w:104,h:112,r:18,font:48},md:{w:186,h:264,r:22.6,font:64}}}){var d,u,h,y;const l=(b,v)=>{var R,T,O,A;return{xs:(T=(R=s.xs)==null?void 0:R[b])!=null?T:v,md:(A=(O=s.md)==null?void 0:O[b])!=null?A:v}},i=l("w",186),c=l("h",264),g=l("r",22.6),f=l("font",64),m={xs:Math.round(((u=(d=s.xs)==null?void 0:d.font)!=null?u:64)*.28),md:Math.round(((y=(h=s.md)==null?void 0:h.font)!=null?y:64)*.28)};return e.jsxs(q.default,{sx:{position:"relative",width:"100%",maxWidth:{xs:`${i.xs}px`,md:`${i.md}px`},aspectRatio:{xs:`${i.xs}/${c.xs}`,md:`${i.md}/${c.md}`},borderRadius:{xs:`${g.xs}px`,md:`${g.md}px`},boxSizing:"border-box",overflow:"visible",pb:{xs:`${m.xs}px`,md:`${m.md}px`},"&::before":{content:'""',position:"absolute",inset:0,borderRadius:"inherit",pointerEvents:"none",zIndex:2,background:"linear-gradient(21.29deg, #0B0D1B -1.16%, rgba(255,255,255,0) 51.92%, rgba(255,255,255,0) 127.62%)",backgroundBlendMode:"multiply"}},children:[e.jsx(q.default,{sx:{position:"absolute",inset:0,borderRadius:"inherit",overflow:"hidden"},children:o?e.jsx(X.default,{variant:"rectangular",width:"100%",height:"100%",sx:{bgcolor:"rgba(255,255,255,0.10)","&::after":{background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"}}}):e.jsx(ke,{imageUrl:t,onClick:n,size:"lg",fillParent:!0})}),e.jsx(q.default,{component:"span",sx:{position:"absolute",left:8,bottom:{xs:`-${m.xs}px`,md:`-${m.md}px`},fontFamily:'"secondary", sans-serif',fontSize:{xs:`${f.xs}px`,md:`${f.md}px`},lineHeight:1,color:"#3CC666",WebkitTextStroke:"1px #9ee86e",zIndex:3,userSelect:"none"},children:a})]})}const We="/assets/img/casino/image3.png",Wa="/assets/img/casino/image2.png",Re="/assets/img/casino/image1.png",Ze=({logo:t,provider:a,providerName:n,machine:o,onClick:s,loading:l=!1,isFavorite:i=!1,isLogin:c=!0,existFavorite:g=!1,onToggleFavorite:f})=>{var d;const m=u=>{u.stopPropagation(),f==null||f(!i)};return l?e.jsx(q.default,{sx:{flex:"0 0 auto",position:"relative",borderRadius:"20px",overflow:"hidden",width:{xs:100,md:180},height:{xs:200,md:380}},children:e.jsx(X.default,{variant:"rectangular",width:"100%",height:"100%",sx:{bgcolor:"rgba(255,255,255,0.10)","&::after":{background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"}}})}):e.jsxs(q.default,{onClick:s,sx:{flex:"0 0 auto",position:"relative",borderRadius:"20px",overflow:"hidden",width:{xs:100,md:180},height:{xs:200,md:380},transition:"width .50s ease, transform .28s ease",willChange:"width, transform",cursor:"pointer",zIndex:0,"&:hover":{zIndex:2,width:{md:260,xs:110}},"&:hover .orc-live-provider-label":{opacity:1}},children:[!g&&c&&e.jsx(H.IconButton,{onClick:m,"aria-label":i?"Quitar de favoritos":"Agregar a favoritos",sx:{position:"absolute",top:0,right:0,zIndex:4,width:{xs:"32px",md:"48px"},height:{xs:"32px",md:"48px"},borderTopRightRadius:{xs:"12px",md:"24px"},borderBottomLeftRadius:"12px",borderTopLeftRadius:0,borderBottomRightRadius:0,paddingTop:"3px",paddingBottom:"3px",paddingLeft:"10px",paddingRight:"10px",gap:"3px",boxSizing:"border-box",border:i?"1px solid rgba(255, 214, 102, .40)":"1px solid rgba(255,255,255,.12)",backgroundColor:i?"rgba(177, 135, 0, .55)":"rgba(0,0,0,.55)","&:hover":{backgroundColor:i?"rgba(177, 135, 0, .62)":"rgba(0,0,0,.58)",border:"1px solid rgba(255, 214, 102, .90)"}},children:e.jsx(q.default,{component:"img",src:i?Re:We,alt:i?"Favorito activo":"Favorito",sx:{width:32,height:32,objectFit:"contain",content:{xs:`url(${i?Re:We})`,md:`url(${i?Re:We})`},".MuiIconButton-root:hover &":{content:i?`url(${Re})`:`url(${Wa})`}}})}),e.jsx(q.default,{component:"img",src:t,alt:`Juego ${o!=null?o:""}`,sx:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",display:"block"}}),e.jsx(q.default,{className:"orc-live-provider-label",sx:{position:"absolute",left:"50%",top:{xs:"75%",md:"80%"},transform:"translate(-50%, -50%)",zIndex:3,opacity:0,transition:"opacity .25s ease",pointerEvents:"none"},children:e.jsx(ue.default,{sx:{color:"#fff",fontWeight:700,fontSize:{xs:11,md:14},textTransform:"capitalize"},children:(d=a!=null?a:n)!=null?d:""})})]})},De=12,Ge=({r:t=16})=>e.jsx(q.default,{sx:{width:"100%",height:"100%",borderRadius:t,overflow:"hidden"},children:e.jsx(X.default,{variant:"rectangular",width:"100%",height:"100%",sx:{bgcolor:"rgba(255,255,255,0.10)","&::after":{background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"}}})}),Ye=({items:t,layout:a="grid",onClick:n,loading:o=!1,gridSkeletonCount:s=4})=>{var l,i;if(a==="mosaic"){const c=t[0],g=t.slice(1,5);return e.jsxs(q.default,{sx:{display:"grid",gridTemplateRows:{xs:"repeat(2, 112px)",md:"repeat(2, 168px)"},gridTemplateColumns:{xs:"184px",md:"280px"},gridAutoFlow:"column",gridAutoColumns:{xs:"104px",md:"152px"},columnGap:`${De}px`,rowGap:`${De}px`,alignItems:"stretch",justifyItems:"stretch"},children:[e.jsx(q.default,{sx:{width:{xs:184,md:280},height:{xs:234,md:352},gridRow:"1 / span 2",overflow:"hidden",borderRadius:2},children:o?e.jsx(Ge,{}):c&&e.jsx(ke,{imageUrl:`https://olimpo.bet${(i=(l=c.background)!=null?l:c.imageUrl)!=null?i:""}`,size:"lg",fillParent:!0,onClick:()=>n==null?void 0:n(c,0)})}),(o?Array.from({length:4}):g).map((f,m)=>{var d,u;return e.jsx(q.default,{sx:{width:{xs:104,md:152},height:{xs:112,md:168},overflow:"hidden",borderRadius:2},children:o?e.jsx(Ge,{}):e.jsx(ke,{imageUrl:`https://olimpo.bet${(u=(d=f.background)!=null?d:f.imageUrl)!=null?u:""}`,size:"sm",fillParent:!0,onClick:()=>n==null?void 0:n(f,m+1)})},o?`sk-${m}`:f.id)})]})}return e.jsx(q.default,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(2, 104px)",md:"repeat(2, 152px)"},gridTemplateRows:{xs:"repeat(2, 112px)",md:"repeat(2, 168px)"},gap:`${De}px`,gridAutoFlow:"column"},children:(o?Array.from({length:s}):t).map((c,g)=>{var f,m,d;return e.jsx(q.default,{sx:{overflow:"hidden",borderRadius:2},children:o?e.jsx(Ge,{}):e.jsx(ke,{imageUrl:`https://olimpo.bet${(m=(f=c.background)!=null?f:c.imageUrl)!=null?m:""}`,size:"sm",fillParent:!0,onClick:()=>n==null?void 0:n(c,g)})},o?`sk-${g}`:(d=c.id)!=null?d:g)})})},Ke=({title:t,amount:a,subtitle:n,buttonText:o,onButtonClick:s,backgroundImage:l,alt:i,className:c="",variant:g="small"})=>{const f=a?a.slice(0,2):"",m=a?a.slice(2):"",d=g==="large";return e.jsxs(q.default,{className:c,sx:{position:"relative",width:"100%",maxWidth:{xs:328,md:d?618:456},mx:"auto"},children:[l&&e.jsx(q.default,{sx:{position:"relative",width:"100%",aspectRatio:{xs:"328 / 188",md:d?"618 / 346":"456 / 272"},borderRadius:"14px",overflow:"hidden"},children:e.jsx(q.default,{component:"img",src:l,alt:i!=null?i:"Fondo promocional",sx:{width:"100%",height:"100%",objectFit:"cover",objectPosition:{xs:"50% 0%",md:"45% 0%"},display:"block"}})}),e.jsx(q.default,{sx:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"flex-end",color:"#e7f8ff",textAlign:"center",pl:"14%",pr:{xs:"14%",lg:"15%"}},children:e.jsxs(q.default,{sx:{maxWidth:"60%",display:"flex",flexDirection:"column",alignItems:"center"},children:[t&&e.jsx(ue.default,{sx:{fontSize:{xs:12,md:20},fontWeight:400,color:"#e7f8ff"},children:t}),a&&e.jsxs(q.default,{component:"p",sx:{fontFamily:'"secondary", sans-serif',lineHeight:{xs:.9,lg:.87},m:"4px 0",background:"linear-gradient(175deg, #EDC421 -12.56%, #FFFABF 17.99%, #EDC421 49.74%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",WebkitTextStroke:"0.5px #fff8c1",filter:"drop-shadow(0px 4px 0px #8D4406) drop-shadow(0px 4px 4px rgba(28, 28, 28, 0.4))",display:"flex",alignItems:"baseline",justifyContent:"center"},children:[e.jsx(q.default,{component:"span",sx:{fontSize:{xs:35,md:48},mr:.5},children:f}),e.jsx(q.default,{component:"span",sx:{fontSize:{xs:52,md:77}},children:m})]}),n&&e.jsx(ue.default,{sx:{pb:"20px",fontSize:14,fontWeight:600,color:"#e7f8ff"},children:n}),o&&e.jsx(ee,{onClick:s,children:o})]})})]})},It=({text:t,buttonLabel:a="Conoce más",onClick:n,imgAlt:o="Club Olimpo",imgSrcMobile:s,imgSrcDesktopBg:l,imgSrcDesktopLogo:i})=>e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"orc-co-bgMobile",children:e.jsx("img",{src:s,alt:o,className:"orc-co-bgMobileImg"})}),e.jsx("div",{className:"orc-co-bgDesktop",children:e.jsxs("div",{className:"orc-co-desktopInner",children:[l&&e.jsx("div",{className:"orc-co-fillHost",children:e.jsx("img",{src:l,alt:`${o} fondo`,className:"orc-co-bgDesktopImg"})}),e.jsxs("div",{className:"orc-co-desktopContent",children:[i&&e.jsx("img",{src:i,alt:`${o} logo`,className:"orc-co-logoImg"}),e.jsx("p",{className:"orc-co-captionDesktop",children:t}),e.jsx(ee,{onClick:n,variant:"primary",size:"md",children:a})]})]})}),e.jsxs("div",{className:"orc-co-bottom",children:[e.jsx("p",{className:"orc-co-caption",children:t}),e.jsx(ee,{onClick:n,variant:"primary",size:"md",children:a})]})]}),Da="oraculo__OraculoEventCombinadasCard-module__card___ulQeY",Ga="oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld",Ha="oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl",Za="oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy",Ka="oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU",Ja="oraculo__OraculoEventCombinadasCard-module__circle___eehm-",Xa="oraculo__OraculoEventCombinadasCard-module__line___Eb2pK",Qa="oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S",Ya="oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu",ce={card:Da,combinadas:Ga,combinadasScroll:Ha,apuestaItem:Za,lineContainer:Ka,circle:Ja,line:Xa,apuestaText:Qa,cuotaTotal:Ya};function Pe(t,a){const n=Array.isArray(a)?a:[a];sessionStorage.setItem("landingOutcomes",JSON.stringify(n)),window.location.href=t}function en(){window.location.href="/deportes#in-play"}function tn(){window.location.href="/deportes#home"}function an(){window.location.href="/deportes#specials"}async function Et(t){return await(await fetch("https://api.mktolimpo.com/api/jerseys/search",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({events:t})})).json()}const Ct=S.createContext(void 0),et=({children:t,docId:a,moduleId:n})=>{const o=xe.default.useMemo(()=>({docId:a,moduleId:n}),[a,n]);return e.jsx(Ct.Provider,{value:o,children:t})},Tt=()=>{const t=S.useContext(Ct);if(!t)throw new Error("useDocContext debe usarse dentro de DocIdProvider");return t},re=()=>Tt().docId,le=()=>Tt().moduleId;function kt({coupon:t}){var f;const a=oe.useCaptureInteraction(),n=re();function o(m){var h,y;const d=[],u=Array.from(new Map(((h=m==null?void 0:m.events)!=null?h:[]).filter(Boolean).map(b=>[b.id,b])).values());return u.forEach(b=>{var O;const v=(O=b.betoffers)!=null?O:[],R=b.homeName,T=b.awayName;v.forEach(A=>{var M,E,x,I,P,B,L;if(!((M=A==null?void 0:A.outcomes)!=null&&M.length))return;const j=A.outcomes[0];if(!j)return;let _="";const w=j!=null&&j.line?j.line/1e3:"";["Más de","Mas de","Over"].includes(j.label)?(_=`Más de ${w}`,j.participant&&(_=`${j.participant} - ${_}`)):["Menos de","Menos","Under"].includes(j.label)?(_=`Menos de ${w}`,j.participant&&(_=`${j.participant} - ${_}`)):["Sí","No"].includes(j.label)?(_=j.label,j.participant&&(_=`${j.participant} - ${_}`)):["1X","12","X2"].includes(j.label)?(j.label==="1X"&&(_=`${R} o Empate`),j.label==="12"&&(_=`${R} o ${T}`),j.label==="X2"&&(_=`${T} o Empate`)):(_=(x=(E=j.participant)!=null?E:j.label)!=null?x:"",w!==""&&_===j.label&&(_=`${j.label} ${w}`)),d.push({id:j.id,value:_,label:(P=(I=A.criterion)==null?void 0:I.label)!=null?P:"",odds:(B=j.odds)!=null?B:0,position:(L=j.position)!=null?L:0,eventId:b.id})})}),{outcomes:d.sort((b,v)=>b.position-v.position),total:Number((y=m==null?void 0:m.combinadoTotal)!=null?y:0).toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),events:u}}function s(m){if(!m||!Array.isArray(m.events)||m.events.length===0)return"/deportes#home";const d=m.events;if(d.length===1)return`/deportes#event/${d[0].id}`;const u=d[0].groupId;if(d.every(y=>y.groupId===u)){const y=d[0].path;if(Array.isArray(y)&&y.length>0)return`/deportes#sports-hub/${y.map(v=>v.termKey).filter(Boolean).join("/")}`}return"/deportes#home"}const l=(m,d)=>{const u=Array.isArray(m)?m:[m],h=Array.from(new Set(i.outcomes.map(v=>{var T;const R=g.get(Number(v.eventId));return(T=R==null?void 0:R.name)!=null?T:""}))).filter(Boolean),y=h.length>0?h.join(" + "):JSON.stringify(u),b=d?`${y} - Cuota: ${d}`:y;a({element:"evento_semana_outcome",label:`Landing: ${n} - OraculoEventCombinadasCard - Click: ${b}`,target:"/deportes#in-play",event_type:"click",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoEventCombinadasCard",outcomes:b}}),Pe(s(t),m)};if(!((f=t==null?void 0:t.events)!=null&&f.length))return null;const i=o(t),c=i.outcomes.reduce((m,d)=>(m[d.eventId]||(m[d.eventId]=[]),m[d.eventId].push(d),m),{}),g=new Map(i.events.map(m=>[m.id,m]));return e.jsxs("div",{className:ce.card,children:[e.jsx("div",{className:ce.combinadas,children:e.jsx("div",{className:ce.combinadasScroll,children:e.jsx(Q.default,{direction:"column",spacing:1.5,useFlexGap:!0,children:Object.entries(c).reverse().map(([m,d])=>{const u=g.get(Number(m));return u?e.jsxs(Q.default,{direction:"column",spacing:.5,useFlexGap:!0,children:[e.jsx(pe,{title:u.name,iconUrl:"/assets/img/home/Combinadas/pelota.png",size:"xs"}),e.jsx("img",{loading:"lazy",src:"/assets/img/home/Combinadas/line.png"}),d.map((h,y)=>e.jsxs("div",{className:ce.apuestaItem,children:[e.jsxs("div",{className:ce.lineContainer,children:[e.jsx("div",{className:ce.circle}),y<d.length-1&&e.jsx("div",{className:ce.line})]}),e.jsxs("div",{className:ce.apuestaText,children:[e.jsx("strong",{children:h.value})," | ",h.label]})]},`${m}-${y}`))]},m):null})})})}),e.jsxs("button",{onClick:()=>l(i.outcomes.map(m=>m.id),i.total),className:ce.cuotaTotal,children:[e.jsxs("span",{children:["Cuota total: ",e.jsx("strong",{children:i.total})]}),e.jsx("img",{loading:"lazy",src:"/assets/img/home/Combinadas/cuotaTotal.svg",alt:"cuota total"})]})]})}const de={"orc-btn":"oraculo__OraculoButtonBet-module__orc-btn___jakza","orc-btn__label":"oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH","orc-btn__icon":"oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd","orc-btn--primary":"oraculo__OraculoButtonBet-module__orc-btn--primary___7TlJB","orc-btn--secondary":"oraculo__OraculoButtonBet-module__orc-btn--secondary___X4kJt","orc-btn--tertiary":"oraculo__OraculoButtonBet-module__orc-btn--tertiary___iS6eD","orc-btn--sm":"oraculo__OraculoButtonBet-module__orc-btn--sm___lIF2e","orc-btn--md":"oraculo__OraculoButtonBet-module__orc-btn--md___x4SI7","orc-btn--lg":"oraculo__OraculoButtonBet-module__orc-btn--lg___0BQNI","orc-btn--iconOnly":"oraculo__OraculoButtonBet-module__orc-btn--iconOnly___hQGwI","orc-btn--full":"oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo","orc-btn--fullHeight":"oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"};function lt({children:t,onClick:a,href:n,target:o,rel:s,type:l="button",disabled:i=!1,variant:c="primary",size:g,fullWidth:f=!1,fullHeight:m=!1,className:d="",ariaLabel:u,leftIcon:h,rightIcon:y,iconOnly:b}){const v=!!t&&t!==!0,O=(!!h?1:0)+(!!y?1:0)==1,A=b!=null?b:O&&!v,j=[de["orc-btn"],de[`orc-btn--${c}`],g?de[`orc-btn--${g}`]:"",f?de["orc-btn--full"]:"",m?de["orc-btn--fullHeight"]:"",A?de["orc-btn--iconOnly"]:"",d].filter(Boolean).join(" "),_=e.jsxs(e.Fragment,{children:[h&&e.jsx("span",{className:de["orc-btn__icon"],children:h}),!A&&e.jsx("span",{className:de["orc-btn__label"],children:t}),y&&e.jsx("span",{className:de["orc-btn__icon"],children:y})]}),w=i?!0:void 0;return n?e.jsx(H.Link,{href:n,target:o,rel:s,"aria-label":u,"aria-disabled":w,tabIndex:w?-1:void 0,className:j,onClick:w?M=>M.preventDefault():a,children:_}):e.jsx("button",{type:l,onClick:a,disabled:!!w,"aria-label":u,className:j,children:_})}const nn="oraculo__OraculoTennisScoreboard-module__tennisContainer___I3KST",on="oraculo__OraculoTennisScoreboard-module__tennisTable___haqoS",rn="oraculo__OraculoTennisScoreboard-module__tennisTableRow___IbIkR",sn="oraculo__OraculoTennisScoreboard-module__colName___mNrno",ln="oraculo__OraculoTennisScoreboard-module__colHeader___e3Eis",cn="oraculo__OraculoTennisScoreboard-module__cellPlayerNameHome___pUZjS",dn="oraculo__OraculoTennisScoreboard-module__cellPlayerNameAway___jf9sp",un="oraculo__OraculoTennisScoreboard-module__playerName___OKXca",mn="oraculo__OraculoTennisScoreboard-module__cellStat___QhEvN",pn="oraculo__OraculoTennisScoreboard-module__active___5OX1k",fn="oraculo__OraculoTennisScoreboard-module__border___Xzw2j",gn="oraculo__OraculoTennisScoreboard-module__hasDivider___Dv65A",hn="oraculo__OraculoTennisScoreboard-module__cellHome___J2681",bn="oraculo__OraculoTennisScoreboard-module__cellAway___yJ34F",D={tennisContainer:nn,tennisTable:on,tennisTableRow:rn,colName:sn,colHeader:ln,cellPlayerNameHome:cn,cellPlayerNameAway:dn,playerName:un,cellStat:mn,active:pn,border:fn,hasDivider:gn,cellHome:hn,cellAway:bn};function xn({homeName:t="",awayName:a="",homeSets:n=[],awaySets:o=[],homePoints:s="0",awayPoints:l="0",homeServe:i=!0}){const c=n.reduce((R,T,O)=>T>=0?O:R,0);let g=0,f=0;n.forEach((R,T)=>{var A;const O=(A=o[T])!=null?A:-1;T!==c&&R>=0&&O>=0&&(R>O&&g++,O>R&&f++)});const m=n[c]>=0?n[c]:0,d=o[c]>=0?o[c]:0,u=R=>{if(typeof R=="number")return R;const T=String(R).trim().toUpperCase();return T==="A"||T==="ADV"?50:parseInt(T,10)||0},h=u(s),y=u(l);let b=!1,v=!1;return g!==f?(b=g>f,v=f>g):m!==d?(b=m>d,v=d>m):h!==y&&(b=h>y,v=y>h),e.jsx("div",{className:D.tennisContainer,children:e.jsxs("table",{className:D.tennisTable,children:[e.jsx("thead",{children:e.jsxs("tr",{style:{height:"18px"},children:[e.jsx("th",{className:D.colName}),e.jsx("th",{className:D.colHeader,children:"SETS"}),e.jsx("th",{className:`${D.colHeader} ${D.border}`,style:{width:"62px"},children:"JUEGOS"}),e.jsx("th",{className:D.colHeader,children:"PTS"})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{className:D.tennisTableRow,children:[e.jsx("td",{className:`${D.cellPlayerNameHome} ${D.hasDivider}`,children:e.jsx("span",{className:D.playerName,children:t})}),e.jsx("td",{className:`${D.cellStat} ${D.cellHome} ${D.hasDivider} ${b?D.active:""}`,children:g}),e.jsx("td",{className:`${D.cellStat} ${D.cellHome} ${D.hasDivider} ${D.border} ${b?D.active:""}`,children:m}),e.jsx("td",{className:`${D.cellStat} ${D.cellHome} ${D.hasDivider} ${b?D.active:""}`,children:s})]}),e.jsxs("tr",{className:D.tennisTableRow,children:[e.jsx("td",{className:D.cellPlayerNameAway,children:e.jsx("span",{className:D.playerName,children:a})}),e.jsx("td",{className:`${D.cellStat} ${D.cellAway} ${v?D.active:""}`,children:f}),e.jsx("td",{className:`${D.cellStat} ${D.cellAway} ${D.border} ${v?D.active:""}`,children:d}),e.jsx("td",{className:`${D.cellStat} ${D.cellAway} ${v?D.active:""}`,children:l})]})]})]})})}const _n="oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT",vn="oraculo__OraculoEventEnVivoCard-module__cardWrapperTennis___MI-jh",yn="oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7",Sn="oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF",Se={cardWrapper:_n,cardWrapperTennis:vn,customButtonLabel:yn,customButtonDisabled:Sn},ct={base:"FFFFFF",sleeve:"FFFFFF",number:"000000",real:!1,type:"short_sleeves"},dt={base:"000000",sleeve:"000000",number:"FFFFFF",real:!1,type:"short_sleeves"},Fe=(t,a,n="player")=>{var s,l;if(t===void 0)return null;if(t===null)return a==="home"?ct:dt;const o=(l=(s=t==null?void 0:t.jerseys)==null?void 0:s[a])==null?void 0:l[n];return o||(a==="home"?ct:dt)},wn={FIRST_HALF:"1er tiempo",SECOND_HALF:"2do tiempo",QUARTER1:"1Q",QUARTER2:"2Q",QUARTER3:"3Q",QUARTER4:"4Q"},ut=t=>{var a;return t?(a=wn[t])!=null?a:t:""};function Nt({event:t,liveData:a,betOffers:n,jersey:o}){var u,h,y,b,v,R,T,O,A,j,_,w,M,E,x,I,P,B,L,U,V,W,G,z,K,Y,r,p,C,$;const s=((u=t==null?void 0:t.sport)==null?void 0:u.toUpperCase())==="TENNIS",l=((h=t==null?void 0:t.sport)==null?void 0:h.toUpperCase())==="BASKETBALL",i=((y=t==null?void 0:t.sport)==null?void 0:y.toUpperCase())==="FOOTBALL",c=n==null?void 0:n.find(k=>{var N;return((N=k.betOfferType)==null?void 0:N.id)===2}),g={englishLabel:"",type:"",betOfferId:0,changedDate:"",oddsFractional:"",oddsAmerican:"",status:"INACTIVE",cashOutStatus:"SUSPENDED"},f=()=>{var F,J,te;return`${((te=(J=(F=a==null?void 0:a.statistics)==null?void 0:F.sets)==null?void 0:J.home)!=null?te:[]).reduce((ae,Z,ne)=>Z>=0?ne:ae,0)+1}ºset`},m=[{...g,id:-1,label:"1",odds:void 0},{...g,id:-2,label:"X",odds:void 0},{...g,id:-3,label:"2",odds:void 0}],d=(b=o==null?void 0:o.gender)!=null?b:"men";return e.jsx("div",{className:`${Se.cardWrapper} ${s?Se.cardWrapperTennis:""}`,children:e.jsxs(Q.default,{direction:"column",spacing:1,useFlexGap:!0,children:[e.jsxs(Q.default,{direction:"column",spacing:s?1:1.5,useFlexGap:!0,children:[e.jsx(jt,{title:(T=(R=(v=t==null?void 0:t.path)==null?void 0:v[0])==null?void 0:R.name)!=null?T:"",subtitle:(O=t==null?void 0:t.group)!=null?O:"",live:!0,time:s?f():((A=a==null?void 0:a.matchClock)==null?void 0:A.minute)!=null?`${a.matchClock.minute}'`:"",extra:l?ut((j=a==null?void 0:a.matchClock)==null?void 0:j.periodId):""}),e.jsx("div",{children:s?e.jsx(xn,{homeName:t==null?void 0:t.homeName,awayName:t==null?void 0:t.awayName,homeSets:(M=(w=(_=a==null?void 0:a.statistics)==null?void 0:_.sets)==null?void 0:w.home)!=null?M:[],awaySets:(I=(x=(E=a==null?void 0:a.statistics)==null?void 0:E.sets)==null?void 0:x.away)!=null?I:[],homePoints:(B=(P=a==null?void 0:a.score)==null?void 0:P.home)!=null?B:"0",awayPoints:(U=(L=a==null?void 0:a.score)==null?void 0:L.away)!=null?U:"0",homeServe:(G=(W=(V=a==null?void 0:a.statistics)==null?void 0:V.sets)==null?void 0:W.homeServe)!=null?G:!0}):e.jsxs(se,{spacing:1.5,columns:"1fr auto 1fr",children:[e.jsx(Ne,{name:t==null?void 0:t.homeName,sport:t.sport,gender:d,jersey:Fe(o,"home"),flag:(z=o==null?void 0:o.homeFlag)!=null?z:""}),e.jsx(Qe,{size:l?"basketball":"normal",text:((Y=(K=a==null?void 0:a.score)==null?void 0:K.home)!=null?Y:0)+":"+((p=(r=a==null?void 0:a.score)==null?void 0:r.away)!=null?p:0),name:i?ut((C=a==null?void 0:a.matchClock)==null?void 0:C.periodId):""}),e.jsx(Ne,{name:t==null?void 0:t.awayName,sport:t.sport,gender:d,jersey:Fe(o,"away"),flag:($=o==null?void 0:o.awayFlag)!=null?$:""})]})})]}),e.jsx(Q.default,{direction:"column",spacing:.5,useFlexGap:!0,children:(()=>{var ae;const k=(ae=c==null?void 0:c.outcomes)!=null?ae:m,N={OT_ONE:1,OT_CROSS:2,OT_TWO:3},F=[...k].sort((Z,ne)=>{var ye,Ce;if(Z.displayOrder!==void 0&&ne.displayOrder!==void 0)return Z.displayOrder-ne.displayOrder;const _e=Z.type&&(ye=N[Z.type])!=null?ye:99,ve=ne.type&&(Ce=N[ne.type])!=null?Ce:99;return _e-ve}),J=Z=>{var ne,_e,ve,ye;return s||F.length===2?Z.type==="OT_ONE"?"1":Z.type==="OT_TWO"?"2":(_e=(ne=Z.label)==null?void 0:ne.toUpperCase())!=null?_e:"":(ye=(ve=Z.label)==null?void 0:ve.toUpperCase())!=null?ye:""},te=l||s;return e.jsx(e.Fragment,{children:te?e.jsxs(e.Fragment,{children:[e.jsx(se,{spacing:1,columns:"1fr",children:e.jsx(Le,{text:"Ganador del partido"})}),e.jsx(se,{spacing:2,children:F.slice(0,2).map((Z,ne)=>e.jsx(lt,{variant:"primary",disabled:Z.odds===void 0||(c==null?void 0:c.cashOutStatus)==="SUSPENDED",onClick:()=>{Pe("/deportes#event/live/"+t.id,Z.id)},className:Se.customButtonDisabled,children:e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"0 4px"},children:[e.jsx("span",{style:{fontSize:"12px"},children:J(Z)}),e.jsx("span",{className:Se.customButtonLabel,children:Z.odds===void 0?"":(Z.odds/1e3).toFixed(2)})]})},Z.id||ne))})]}):e.jsxs(e.Fragment,{children:[e.jsx(se,{spacing:1,children:F.map((Z,ne)=>e.jsx(Le,{text:J(Z)},Z.id||ne))}),e.jsx(se,{spacing:2,children:F.map((Z,ne)=>e.jsx(lt,{variant:"primary",disabled:Z.odds===void 0||(c==null?void 0:c.cashOutStatus)==="SUSPENDED",onClick:()=>{Pe("/deportes#event/live/"+t.id,Z.id)},className:Se.customButtonDisabled,children:e.jsx("span",{className:Se.customButtonLabel,children:Z.odds===void 0?"":(Z.odds/1e3).toFixed(2)})},Z.id||ne))})]})})})()})]})})}const jn="oraculo__OraculoEventDate-module__date___xhIlh",On={date:jn};function In({text:t}){return e.jsx("div",{className:`oli-font ${On.date}`,children:t})}const En="oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe",Cn="oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD",Tn="oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H",kn="oraculo__OraculoEventSemanaCard-module__equipos___G5hLn",we={cardContainer:En,cardBackground:Cn,jugadas:Tn,equipos:kn};function $t({event:t,jersey:a}){var c,g,f,m;const n=oe.useCaptureInteraction(),o=re();function s(d){const u=new Date(d),h=u.toLocaleDateString("es-ES",{weekday:"short"}).toUpperCase(),y=u.getDate().toString().padStart(2,"0"),b=(u.getMonth()+1).toString().padStart(2,"0");let v=u.toLocaleTimeString("es-PE",{hour:"numeric",minute:"2-digit",hour12:!0}).toUpperCase();return v=v.replace(/\./g,"").replace(/A\s*M/i,"AM").replace(/P\s*M/i,"PM"),`${h} ${y}/${b} | ${v}`}const l=d=>{var T,O,A,j,_,w,M,E;const u=`/deportes#event/${t.id}`,h=`${t.homeName} vs ${t.awayName}`,y=d.odds?(d.odds/1e3).toFixed(2):"",b=y?`${h} - Cuota: ${y}`:h,v=(T=t==null?void 0:t.outcome)==null?void 0:T[0],R=new CustomEvent("ORACULO_WEEKLY_OUTCOME_SELECTED",{cancelable:!0,detail:{eventId:t.id,eventName:t.name,homeName:t.homeName,awayName:t.awayName,start:t.start,sport:t.sport,league:t.group,leagueId:t.groupId,country:(A=(O=t.path)==null?void 0:O[1])==null?void 0:A.name,outcomeId:d.id,outcomeLabel:d.label,outcomeType:d.type,odds:d.odds,betOfferId:(j=d.betOfferId)!=null?j:v==null?void 0:v.id,criterionId:(_=v==null?void 0:v.criterion)==null?void 0:_.id,market:(E=(w=v==null?void 0:v.criterion)==null?void 0:w.label)!=null?E:(M=v==null?void 0:v.betOfferType)==null?void 0:M.name,destination:u}});document.dispatchEvent(R)&&(n({element:"evento_semana_outcome",label:`Landing: ${o} - OraculoEventSemanaCard - Click: ${b}`,target:u,event_type:"click",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoEventSemanaCard",outcomes:b}}),Pe(u,d.id))},i=(c=a==null?void 0:a.gender)!=null?c:"men";return e.jsxs("div",{className:we.cardContainer,children:[e.jsx(Xe,{title:(g=t==null?void 0:t.group)!=null?g:""}),e.jsx("div",{className:we.cardBackground,children:e.jsxs(Q.default,{direction:"column",spacing:{xs:.5,md:1},useFlexGap:!0,children:[e.jsxs(Q.default,{direction:"column",spacing:1,useFlexGap:!0,children:[e.jsxs("div",{className:we.equipos,children:[e.jsx(Ne,{name:t.homeName,sport:t.sport,gender:i,size:"compact",jersey:Fe(a,"home"),flag:(f=a==null?void 0:a.homeFlag)!=null?f:""}),e.jsx(Qe,{text:"vs.",name:"",size:"small"}),e.jsx(Ne,{name:t.awayName,sport:t.sport,gender:i,size:"compact",jersey:Fe(a,"away"),flag:(m=a==null?void 0:a.awayFlag)!=null?m:""})]}),e.jsx(In,{text:s(t.start)})]}),e.jsx(Q.default,{direction:"column",spacing:{xs:.5,md:1},useFlexGap:!0,children:(()=>{var v,R,T;const d=(T=(R=(v=t==null?void 0:t.outcome)==null?void 0:v[0])==null?void 0:R.outcomes)!=null?T:[],u=(t==null?void 0:t.sport)==="TENNIS",h={OT_ONE:1,OT_CROSS:2,OT_TWO:3},y=[...d].sort((O,A)=>{var w,M;if(O.displayOrder!==void 0&&A.displayOrder!==void 0)return O.displayOrder-A.displayOrder;const j=O.type&&(w=h[O.type])!=null?w:99,_=A.type&&(M=h[A.type])!=null?M:99;return j-_}),b=O=>{var A,j,_,w;return u||y.length===2?O.type==="OT_ONE"?"1":O.type==="OT_TWO"?"2":(j=(A=O.label)==null?void 0:A.toUpperCase())!=null?j:"":(w=(_=O.label)==null?void 0:_.toUpperCase())!=null?w:""};return e.jsxs(e.Fragment,{children:[e.jsx(se,{spacing:1,children:y.map((O,A)=>e.jsx(Le,{text:b(O)},O.id||A))}),e.jsx("div",{className:we.jugadas,children:e.jsx(se,{spacing:1,children:y.map((O,A)=>e.jsx(ee,{variant:"primary",fullHeight:!0,onClick:()=>l(O),children:(O.odds/1e3).toFixed(2)},O.id||A))})})]})})()})]})})]})}const Nn=(t=3)=>Array.from({length:t},(a,n)=>({body:"",image:"",title:`sk-${n}`,summary_body:"",summary_title:"",groups_forbidden:[],groups_allowed:[],promotion:"",tags:"",summary_image:""}));function Rt({items:t,title:a="Destacados",iconUrl:n="https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",onViewMore:o,onItemClick:s,className:l="",paddingMobile:i="24px"}){var j;const c=S.useRef(null),[g,f]=S.useState({isStart:!0,isEnd:!1}),m=oe.useCaptureInteraction(),d=re(),u=le(),h=!t||t.length===0,y=()=>{var _;m({element:"destacados_carousel_prev",label:`${d} - OraculoSeccionDestacados - Anterior`,target:"carousel",event_type:"click",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionDestacados"}}),(_=c.current)==null||_.prev()},b=()=>{var _;m({element:"destacados_carousel_next",label:`${d} - OraculoSeccionDestacados - Siguiente`,target:"carousel",event_type:"click",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionDestacados"}}),(_=c.current)==null||_.next()},v=()=>{m({element:"destacados_view_more",label:`${d} - OraculoSeccionDestacados - Ver más`,target:"https://www.olimpo.bet/promociones",event_type:"click",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionDestacados"}}),typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign("https://www.olimpo.bet/promociones")},R=l||void 0,T=Ee.default("(max-width:950px)"),O=(j=t==null?void 0:t.length)!=null?j:0;S.useEffect(()=>{if(O===0){f({isStart:!0,isEnd:!0});return}f({isStart:!0,isEnd:!1})},[O,T,i]);const A=_=>{const w=_.promotion,M=w?`https://www.olimpo.bet/promociones/${encodeURIComponent(w)}`:"";if(m({element:"destacados_card",label:`${d} - OraculoSeccionDestacados - Click: ${w||_.title}`,target:M||"custom_item_action",event_type:"click",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionDestacados",promotion:String(w||"")}}),s){s(_);return}M&&typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign(M)};return e.jsxs("section",{className:R,style:{width:"100%"},children:[e.jsxs("header",{style:{display:"grid",gridTemplateColumns:"1fr auto auto",alignItems:"center",columnGap:12,rowGap:8,marginBottom:16,paddingLeft:T?i:0,paddingRight:T?i:0},children:[e.jsx(pe,{title:a,iconUrl:n,size:"md"}),e.jsxs("div",{style:{display:"flex",gap:8},children:[e.jsx(ee,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(be.ChevronLeftRounded,{}),onClick:y,disabled:g.isStart||h}),e.jsx(ee,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(be.ChevronRightRounded,{}),onClick:b,disabled:g.isEnd||h})]}),e.jsx(ee,{variant:"secondary",onClick:v,children:"Ver más"})]}),e.jsx(fe,{ref:c,items:h?Nn():t,perPage:void 0,gap:"16px",enableHorizontalWheel:!0,showRightGradient:!T,options:{autoWidth:!0,trimSpace:"move"},breakpoints:{768:{perPage:2,focus:"start",padding:{left:i,right:i}},1024:{perPage:2.5,focus:"start",padding:{left:"24px",right:"24px"}}},renderItem:_=>{const w=typeof window!="undefined"&&window.innerWidth<768?"80px":"137px";return h?e.jsx("div",{style:{width:"100%"},children:e.jsx(X.default,{variant:"rectangular",width:"100%",height:w,sx:{borderRadius:"8px",bgcolor:"rgba(255,255,255,0.10)","&::after":{background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"}}})},_.title):e.jsx("div",{style:{textAlign:"center",cursor:"pointer"},onClick:()=>A(_),children:e.jsx("img",{src:`https://olimpo.bet${_.image!==""?_.image:_.summary_image}`,alt:_.title,style:{width:"100%",height:w,borderRadius:8,display:"block",objectFit:"cover"}})},`${_.title}-${_.image}`)},onMove:({isStart:_,isEnd:w,source:M})=>{f({isStart:_,isEnd:w}),M==="user"&&m({element:"destacados_carousel_slide",label:`${d} - OraculoSeccionDestacados - Slide Carousel`,target:"carousel",event_type:"slide",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",isStart:_,isEnd:w},tags:{section:"OraculoSeccionDestacados"}})}})]})}const Be="__ORACULO_EXTRAS__";function Mt(){const t=globalThis;return t[Be]||(t[Be]={}),t[Be]}function $n(t){Mt().extras=t}function ie(t){var a;return(a=Mt().extras)==null?void 0:a[t]}function Rn(){delete globalThis[Be]}const Mn="https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularidad/events",An=()=>{var a,n,o;const t=ie("user");return(o=(n=(a=t==null?void 0:t.userId)!=null?a:t==null?void 0:t.user)!=null?n:t==null?void 0:t.id)!=null?o:null},ze=t=>{if(!t)return;const a=An();fetch(Mn,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:a!=null?String(a):null,itemId:String(t)})}).catch(n=>{console.error("[trackPopularityEvent] error al registrar evento:",n)})};function tt({items:t,title:a="Top Juegos",iconUrl:n,onCardClick:o}){const s=oe.useCaptureInteraction(),l=re(),i=le(),c=S.useMemo(()=>(t!=null?t:[]).map((d,u)=>{var h;return{...d,orden:(h=d.orden)!=null?h:u+1,_originalIndex:u}}).sort((d,u)=>d.orden!=null&&u.orden!=null?d.orden-u.orden:d._originalIndex-u._originalIndex),[t]),g=!t||t.length===0,f=g?Array.from({length:6}):c.slice(0,6),m=d=>{s({element:"top_juegos_card",label:`${l} - OraculoSeccionTopJuegos - Open game: ${String(d.machine||"unknown")}`,target:String(d.machine||"unknown"),event_type:"click",module_id:i,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{game_name:String(d.machine||"unknown"),section:"OraculoSeccionTopJuegos"}}),ze(String(d.machine||""));const u=ie("showIframe"),h=ie("loadMachine");u==null||u(),requestAnimationFrame(()=>{h==null||h(d,!1,"CASINO")})};return e.jsx("section",{style:{width:"100%"},children:e.jsxs(Q.default,{direction:"column",spacing:2,useFlexGap:!0,children:[e.jsx(pe,{title:a,iconUrl:n,size:"md"}),e.jsx(q.default,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(3, minmax(0, 1fr))",md:"repeat(6, minmax(0, 1fr))"},gap:{xs:1.5,md:2},justifyItems:"center",width:"100%"},children:f.map((d,u)=>{var h,y;return e.jsx(Ot,{imageUrl:g?"":d.background?`https://olimpo.bet${d.background}`:`https://olimpo.bet${(h=d.logo)!=null?h:""}`,orden:g?u+1:d.orden,loading:g,onClick:g?void 0:()=>{o==null||o(d),m(d)}},g?`sk-${u}`:(y=d.machine)!=null?y:`${u}`)})})]})})}const Bn="https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularidad?type=popularidad",Ln=8,Pn=80,Fn={Casino:"Casino","Casino en vivo":"Live","Deportes virtuales":"Virtuales"},qn=(t,a)=>{var n,o,s,l,i,c,g,f,m,d,u,h,y,b,v;return{orden:Number(a),machine:String((n=t.id)!=null?n:t.external_id),logo:(o=t.logo)!=null?o:"",name:(s=t.room_name)!=null?s:"",web_name:(l=t.room_name)!=null?l:"",provider:String((i=t.provider)!=null?i:"").toLowerCase(),sub_provider:(c=t.service)!=null?c:"",external_id:(g=t.external_id)!=null?g:"",type:(m=(f=Fn[t.product])!=null?f:t.product)!=null?m:"",tags:(d=t.tags)!=null?d:"",lobby_tag:(u=t.lobby_tag)!=null?u:null,background:(h=t.background)!=null?h:"",rtp:(y=t.rtp)!=null?y:null,demo_allowed:(b=t.demo_allowed)!=null?b:!1,gaming_session_required:(v=t.gaming_session_required)!=null?v:!1}},zn=(t,a)=>{if(!t)return[];const n=Array.isArray(t)?t:t.recommendations;return Array.isArray(n)?n.filter(o=>o&&o.itemId!=null&&o.productType===a).map(o=>String(o.itemId)):[]},Un=async t=>{const a=await fetch(Bn);if(!a.ok)throw new Error(`No se pudo obtener la popularidad. HTTP ${a.status} ${a.statusText}`);const n=await a.json();return zn(n,t)},Vn=async(t,a,n)=>{const o=[];let s=0,l=null;const i=()=>{l||n()||(l=setTimeout(()=>{l=null,n()||a(o.filter(Boolean))},Pn))},c=async()=>{for(;s<t.length;){if(n())return;const f=s++,m=t[f];try{const d=await fetch(`https://api.mktolimpo.com/api/machine/${m}`);if(!d.ok)throw new Error(`No se pudo obtener machine ${m}`);const u=await d.json();o[f]=qn(u,f),i()}catch(d){console.error(`[usePersonalizeGameItems] error al obtener machine ${m}:`,d)}}},g=Array.from({length:Math.min(Ln,t.length)},()=>c());await Promise.all(g),l&&clearTimeout(l),n()||a(o.filter(Boolean))},at=(t,a=!1,n="Casino")=>{const[o,s]=S.useState([]),[l,i]=S.useState(!1);return S.useEffect(()=>{a||(s(Array.isArray(t)?t:[]),i(!1))},[t,a]),S.useEffect(()=>{if(!a)return;let c=!1;return(async()=>{i(!0),s([]);try{const f=await Un(n);if(!f.length){c||s([]);return}await Vn(f,m=>{c||(s(m),i(!1))},()=>c)}catch(f){console.error(`[usePersonalizeGameItems:${n}] error:`,f),c||s([])}finally{c||i(!1)}})(),()=>{c=!0}},[a,n]),{resolvedItems:o,loading:l}},Wn=(t,a=!1)=>at(t,a,"Casino"),Dn=(t,a=!1)=>at(t,a,"Deportes virtuales"),Gn=(t,a=!1)=>at(t,a,"Casino en vivo"),Hn=(t,a)=>{var n,o;return(o=(n=t.orden)!=null?n:t.machine)!=null?o:a},Zn=t=>{if(typeof t=="boolean")return t;if(typeof t=="string")return t.toLowerCase()==="true";if(t&&typeof t=="object"){if(typeof t.value=="boolean")return t.value;if(typeof t.value=="string")return t.value.toLowerCase()==="true"}return!1},At=({items:t,title:a="Casino en vivo",subtitle:n="Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",backgroundMobileUrl:o="",onCardClick:s,backgroundDesktopUrl:l="",onViewMore:i,className:c,isPersonalize:g=!1,isCasino:f=!0,isLoggedIn:m=!1,onToggleFavorite:d})=>{const u=oe.useCaptureInteraction(),h=re(),y=le(),b=Zn(g),{resolvedItems:v,loading:R}=Gn(t,b),T=b?v:Array.isArray(t)?t:[],O=b?R:!Array.isArray(t)||t.length===0,A=S.useCallback((w,M)=>{if(!d)return;const E=!!w.favourite;M!==E&&d(w,M)},[d]),j=w=>{u({element:"live_casino_card",label:`${h} - OraculoSeccionCasinoEnVivo${b?" - personalize":""} - Open game: ${String(w.machine||"unknown")}`,target:String(w.machine||"unknown"),event_type:"click",module_id:y,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{game_name:String(w.machine||"unknown"),provider:w.provider||"unknown",section:"OraculoSeccionCasinoEnVivo"}});const M=ie("showIframe"),E=ie("loadMachine");if(!E){if(s){s(w);return}console.warn("[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",{machine:w==null?void 0:w.machine,provider:w==null?void 0:w.provider});return}ze(String(w.machine||"")),M==null||M(),typeof window!="undefined"&&window.scrollTo({top:0,behavior:"smooth"}),requestAnimationFrame(()=>{E==null||E(w,!1,"casino_en_vivo")})},_=()=>{u({element:"casino_en_vivo_view_more",label:`${h} - OraculoSeccionCasinoEnVivo${b?" - personalize":""} - Ver más`,target:"https://www.olimpo.bet/casino-en-vivo",event_type:"click",module_id:y,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionCasinoEnVivo"}}),typeof globalThis!="undefined"&&globalThis.location&&(i?i():globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"))};return e.jsxs(q.default,{className:c,sx:{position:"relative",color:"white",overflow:"hidden"},children:[e.jsx(q.default,{sx:{position:"absolute",inset:0,backgroundImage:{xs:`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),J=require("@mui/material"),v=require("react"),Qt=require("@mui/material/Skeleton"),vt=require("@splidejs/react-splide"),Yt=require("@mui/material/Box"),ea=require("@mui/material/Typography"),ta=require("@mui/material/Stack"),ie=require("@olimpo/capture-client"),ye=require("@mui/icons-material"),aa=require("@mui/material/useMediaQuery"),na=require("@mui/icons-material/ChevronLeftRounded"),oa=require("@mui/icons-material/ChevronRightRounded"),Ve=require("@mui/material/styles"),ra=require("@mui/material/CssBaseline"),rt=require("firebase/firestore"),he=t=>t&&t.__esModule?t:{default:t},Se=he(v),X=he(Qt),z=he(Yt),ge=he(ea),Y=he(ta),Ce=he(aa),yt=he(na),St=he(oa),sa=he(ra);function ae({children:t,onClick:a,href:n,target:o,rel:r,type:i="button",disabled:s=!1,variant:l="primary",size:f,fullWidth:p=!1,fullHeight:u=!1,className:c="",ariaLabel:d,leftIcon:g,rightIcon:y,iconOnly:h}){const _=!!t&&t!==!0,j=(!!g?1:0)+(!!y?1:0)==1,A=h!=null?h:j&&!_,w=["orc-btn",l==="secondary"?"orc-btn--secondary":l==="tertiary"?"orc-btn--tertiary":"orc-btn--primary",f?`orc-btn--${f}`:"",p?"orc-btn--full":"",u?"orc-btn--fullHeight":"",A?"orc-btn--iconOnly":"",c].filter(Boolean).join(" "),x=e.jsxs(e.Fragment,{children:[g&&e.jsx("span",{className:"orc-btn__icon",children:g}),!A&&e.jsx("span",{className:"orc-btn__label",children:t}),y&&e.jsx("span",{className:"orc-btn__icon",children:y})]}),S=s?!0:void 0;return n?e.jsx(J.Link,{href:n,target:o,rel:r,"aria-label":d,"aria-disabled":S,tabIndex:S?-1:void 0,className:w,onClick:S?R=>R.preventDefault():a,children:x}):e.jsx("button",{type:i,onClick:a,disabled:!!S,"aria-label":d,className:w,children:x})}function be({title:t,iconUrl:a,size:n="md",className:o=""}){const i=["orc-section-title",n?`orc-section-title--${n}`:"",o].filter(Boolean).join(" ");return e.jsxs("div",{className:i,children:[a&&e.jsx("img",{src:a,alt:"",className:"orc-section-title__icon"}),e.jsx("h2",{className:"orc-section-title__title",children:t})]})}const Je=({total:t,active:a,onSelect:n,className:o="",durationMs:r=5e3})=>{if(t<=1)return null;const i=["orc-dots",o].filter(Boolean).join(" "),[s,l]=v.useState(0);return v.useEffect(()=>{l(f=>f+1)},[a,r]),e.jsx("div",{className:i,role:"tablist","aria-label":"Carousel pagination",children:Array.from({length:t}).map((f,p)=>{const u=p===a;return e.jsx("span",{className:"orc-dots__cell",children:e.jsx("button",{type:"button",role:"tab","aria-selected":u,"aria-label":`Ir al slide ${p+1}`,className:"orc-dots__dot"+(u?" orc-dots__dot--active":""),style:u?{"--dot-progress-ms":`${r}ms`}:void 0,onClick:()=>{u&&l(c=>c+1),n==null||n(p)}},u?`a-${p}-${s}`:`i-${p}`)},p)})})};function ce({children:t,minWidth:a=32,spacing:n=2,justify:o="stretch",columns:r=null}){const i=r||`repeat(auto-fit, minmax(${a}px, 1fr))`,s=typeof n=="number"?`${n*8}px`:n;return e.jsx("div",{style:{display:"grid",gridTemplateColumns:i,justifyItems:o,gap:s,height:"inherit"},children:t})}function He({src:t,alt:a}){return e.jsx(J.Box,{sx:{position:"relative",width:{xs:65,sm:80,md:120,lg:160},height:{xs:48,md:96},display:"inline-block"},children:e.jsx(J.Box,{component:"img",src:t,alt:a,sx:{position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"contain"}})})}const ia="oraculo__OraculoEventTitle-module__contenedor___rg1vw",la="oraculo__OraculoEventTitle-module__title___Q6S-4",ca="oraculo__OraculoEventTitle-module__flexGroup___jMLFO",da="oraculo__OraculoEventTitle-module__subtitleWrapper___1HJcd",ua="oraculo__OraculoEventTitle-module__track___-vJ3k",ma="oraculo__OraculoEventTitle-module__subtitle___TmHna",pa="oraculo__OraculoEventTitle-module__animateTrack___Pwx4N",_e={contenedor:ia,title:la,flexGroup:ca,subtitleWrapper:da,track:ua,subtitle:ma,animateTrack:pa};function fa({title:t,subtitle:a,maxSubtitleChars:n=25}){const o=!!(a&&a.length>=n);return e.jsxs("div",{className:_e.contenedor,children:[e.jsx("span",{className:_e.title,children:t}),a&&e.jsxs("div",{className:_e.flexGroup,children:[e.jsx("svg",{width:"4",height:"4",viewBox:"0 0 5 5",xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0},children:e.jsx("circle",{cx:"2.5",cy:"2.5",r:"2.5",fill:"white"})}),e.jsx("div",{className:_e.subtitleWrapper,children:e.jsxs("div",{className:`${_e.track} ${o?_e.animateTrack:""}`,children:[e.jsx("span",{className:_e.subtitle,children:a}),o&&e.jsx("span",{className:_e.subtitle,"aria-hidden":"true",children:a})]})})]})]})}function wt({text:t,color:a="#ff3b3b",textColor:n="#fff"}){return e.jsx("span",{className:"oli-font",style:{backgroundColor:a,color:n,borderRadius:"8px",padding:"4px 8px",fontSize:"12px",lineHeight:"16px",fontWeight:700,width:"42px",height:"16px",textAlign:"center"},children:t})}function jt({live:t,time:a,extra:n}){return e.jsxs("div",{className:"oli-font",style:{display:"flex",alignItems:"center",gap:"8px"},children:[t&&e.jsx(wt,{text:"En vivo"}),(a||n)&&e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[a&&e.jsx("span",{style:{fontSize:"14px",fontWeight:400,lineHeight:"20px"},children:a}),n&&e.jsxs("span",{style:{fontSize:"14px",fontWeight:700,lineHeight:"20px",color:"#9EE86E",display:"flex",alignItems:"center",gap:"4px"},children:[e.jsx("svg",{width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("circle",{cx:"2",cy:"2",r:"2",fill:"#9EE86E"})}),n]})]})]})}function Ot({title:t,subtitle:a,live:n=!1,time:o="",extra:r=""}){return e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",color:"#FFFFFF",gap:"5px"},children:[e.jsx(fa,{title:t,subtitle:a,maxSubtitleChars:r?15:24}),e.jsx(jt,{live:n,time:o,extra:r})]})}const ga="oraculo__OraculoEventLabel-module__label___c64Xw",ha={label:ga};function Le({text:t}){return e.jsx("span",{className:ha.label,children:t})}const ba="oraculo__OraculoEventLeague-module__container___rdk4F",xa={container:ba};function Xe({title:t}){return e.jsx("div",{className:xa.container,children:t.toUpperCase()})}const _a="oraculo__OraculoEventScore-module__scoreWrapper___fWwEr",va="oraculo__OraculoEventScore-module__name___r4uL6",ya="oraculo__OraculoEventScore-module__score___Xl03M",Sa="oraculo__OraculoEventScore-module__normal___cCNFz",wa="oraculo__OraculoEventScore-module__small___fVt8E",ja="oraculo__OraculoEventScore-module__basketball___vx8Wa",Oe={scoreWrapper:_a,name:va,score:ya,normal:Sa,small:wa,basketball:ja};function Qe({text:t,name:a,size:n="normal"}){return e.jsxs("div",{className:`${Oe.scoreWrapper} ${Oe[n]}`,children:[e.jsx("div",{className:`${Oe.score} ${Oe[n]}`,children:t}),a&&e.jsx("span",{className:`${Oe.name} ${Oe[n]}`,children:a})]})}const Oa="oraculo__OraculoEventTeamInfo-module__team___UfpUs",Ia="oraculo__OraculoEventTeamInfo-module__regular___ag826",Ea="oraculo__OraculoEventTeamInfo-module__compact___RCNOs",Ca="oraculo__OraculoEventTeamInfo-module__logo___fKCl3",Ta="oraculo__OraculoEventTeamInfo-module__name___4ikm-",ka="oraculo__OraculoEventTeamInfo-module__skeleton___Yfaxh",Ie={team:Oa,regular:Ia,compact:Ea,logo:Ca,name:Ta,skeleton:ka},Na="oraculo__OraculoTeamPolo-module__polo___BisRg",$a="oraculo__OraculoTeamPolo-module__svgWrapper___HRKNX",Ra="oraculo__OraculoTeamPolo-module__flagImage___BPR6h",Ma="oraculo__OraculoTeamPolo-module__shadow___-3DXb",Aa="oraculo__OraculoTeamPolo-module__highlight___1etm7",ve={polo:Na,svgWrapper:$a,flagImage:Ra,shadow:Ma,highlight:Aa};function st({base:t,sleeve:a,stripes:n,sleevelong:o}){return e.jsxs(e.Fragment,{children:[e.jsx("path",{fill:t,d:"m62 265 5.8-17c-.4-.7-.6-1.5-.4-2 .2-.7.8-1.2 1.2-1.4l1.2-4 9-21.6c.2-1 1-3.5 2.4-6.4a69.9 69.9 0 0 1 4.1-17.2l2.9-7 2.9-11.4c1.7-5.8 5.2-18.4 5.8-22 .6-3.6 6.8-19 9.8-26.2.4-.9 2.4-4.7 7.2-12.8 5.4-12.2 23.5-27.2 32-33.1l6.6-3.7 7.9-3.6 17.3-6.2 16.6-7.1L215 52c7-4.1 21.8-12.5 24.1-13.2 2.3-.8 5-3.5 6-4.7 1.2-1.2 4.2-3.8 6.6-4.7 2.3-1 8.2-6.8 10.8-9.6 1.6-1.4 3.8-4.7 9.2-7.5 5.3-2.9 20.4-4 27.2-4.3h25.6l16.7.3 14.1.6 10.3.7 9.5 1.7c6.4.6 12.6 4.3 15.4 8l2.7 3.1 8.9 8 1.8.7 4.9 3 2.7 3.5c4.2 2.2 13.1 7.1 15.2 8.7 2 1.6 30.1 15.4 44 22 8 3.2 39 12.3 55.3 30 5.2 4.3 7 7.8 11.4 12.4 5.1 5.3 15.1 29 16.9 32 1.4 2.6 5 17 6.8 24l4.8 20.5 8.4 29 8.9 22.7 2.3 5.4.6 1.5c.5.6 1.4 2 1 2.6-.2.6 0 2 .2 2.7l1 2.6 2 5.8 2.2 5.9c.3 1.3-4.3 4-6.6 5.2l-11.1 5-12.6 4.7-15 5-14.6 4.6-10.9 2.4a66 66 0 0 1-8.6 1.4c-3.4.3-4.7-.4-4.9-.8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.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"}),e.jsx("path",{fill:n,d:"M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-3.4 4-5 4.2-5.3 2.7-4 .5.3 3.2 1.5 5.5 3.3 5.8 3 7.3 3 8.1 2.2c.7.2 3.3 1 8.4 2 2.4 0 6.5 1.5 11 3.4 2.6 29 5.2 68 5.2 107.8 0 41.5-1.6 70.2-3.2 102-1.6 28.7-3.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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"})}),e.jsx("path",{fill:a,fillRule:"evenodd",d:"m262.9 19.6-3.7 3.8-3.5 3.3-2.7 2.1c-2 1.6-5 5.7-1 17.1 4 9.8 5.2 12 5.3 11.9 1.4 2.5 4.4 7.9 5.9 9.1l6 7.8 15 14.6 10.5 8.7 12.6 11.3 8.3 6.2 7.6.6 17 .8 9.2-6.6 7-5.6 10.3-9 7-5.7 5.3-5.2 3.6-3.6 3.4-3.4 4.2-5 4-5.3 2.7-4C403.5 53 407 40 406 37.3c0-1.3-.9-4.6-3.9-7.2A129 129 0 0 1 391.2 20c-.8-1.1-4.2-4.3-7.3-6a52 52 0 0 0-15.3-3.9L353.5 9l-10.2-.4-15.4-.4H301.6c-4.6.2-14.6.6-17.2 1.2l-3.4.6c-3.2.5-6.9 1-8.4 2l-1.4.8c-1.5.7-2.8 1.4-5 3.7l-3.3 3.2Zm4.3 14 1.9 5.5 4.6 8.2 5 6.7 5.3 6.6 11 10.7 10.8 9.8 12.8 11.7 7.4 7 3 3 15-13.3 16.7-15.7 6.7-6.2 6-6.6a104.1 104.1 0 0 0 13.8-19.6c1-1.9 1.8-4.5 2-5.6 2.7-7.9 1.4-13.8-1.5-17.8-4-5.2-14.9-6.6-18.5-7.1h-.7c-13.8-1.9-39.8-2-46-1.9-9-.2-28.1.2-32.5.7-.6 0-1.2 0-1.9.2-6.8.6-19.9 1.9-22.6 10.6a22.6 22.6 0 0 0 .9 10.3l.8 2.9Z"}),e.jsx("path",{fill:a,d:"m74.8 250.8-6.8-2.7-.3.7-3 8.7-2 5.7c-1 2.2-.5 1.9.1 2.3l2.2 1 8.8 3.3 10.4 3.8 10.7 3.8 14.3 4.8 13 4.3 7 2.3 13.8 4.3c2.2.7 3 1.4 3.8 0l6.3-15.6-4.6-1.8a88 88 0 0 1-9.4-3c-.8-.6-11.8-3.7-17.3-5.4l-7-2.4-13-4.3c-3.2-1.3-9.9-3.8-11-4-1.2-.2-11-3.8-16-5.8Z"}),e.jsx("path",{fill:a,d:"m505 284.5-3.5-7.5c.2-.2 1.2-.4 3 0 1.6.4 11.3-1.7 16-2.7l22.5-6.6 13.7-4.5 16.8-6.7a90 90 0 0 0 13.7-7.7v1l.6 2 1.9 5.5 2.9 7.8c.6 1.6-5.5 4.8-8.6 6.3l-17 7.2-15.3 5.4-13 4.2-13 3.3-9.9 2c-6.8 1.2-7.2-.4-8-2l-2.7-7Z"})]})}function it({base:t,sleeve:a,stripes:n,sleevelong:o}){return e.jsxs(e.Fragment,{children:[e.jsx("path",{fill:t,d:"m342 8.1-29-.2h-2.3c-5.2 0-19.7.9-26.6 2.6a55 55 0 0 0-11.8 3.5c-6 2.4-16.4 10.7-20.9 14.6l-2.3 1.3-6.5 3.6L236 37l-8.4 4.4-14 6.5-14 5.2-10.1 3.3-12.5 4-10.4 3.7a81.5 81.5 0 0 0-25.3 15.5c-.9 1-3 3.7-5 5.9-2 2.1-7.9 12.5-10.5 17.4l-5.1 12.2-4.4 13.5-3.2 11.8-3.2 15.7-2.1 15.2-2.6 22-1.5 10.9-1.8 11-1.3 6.3-1.4 6-.3 3.3-.5.8-3.1 14c-.5 3.3.7 3.6 1.7 4l2.9.8 7 1.3 12.5 2.3 10.7 2 16 2.3 14.5 1.6 11 .2c8.3.2 8.6-2.8 8.8-5.4l.4-.2 1.3 13.9 1.8 14.7 2.4 15.5 1 8.3 1.8 9.7a326 326 0 0 1 2.8 20.3l-.2 7.7c-.4 5 .4 11.1 2.6 13.7v5.5l-.2 9.5-.3 8.8-.3 6.2v10l.2 7.5.3 5.8V424c-.1.5-.2 2-.2 4.5-.8 1-2.4 10.8-3 15.6l-.7 6-.4 3.6V474l-.2 6.9-1 5.8-.6 4.3-.5 3-1.5 3.5-2.6 6.7-2.6 7.4-2.6 8.7-4.7 17-2 8-1.4 4.4-2.2 9.2-1.7 6.4-5 14.5-1.9 5.7-1.9 7-1.2 2-3.5 11-.8 2.8v1l3 2.3 2.5 2.5c3.5 3.6 9.1 7.8 15 8.7l1.7 1.1c9 7 22.8 20.1 63.6 24.3l15.6 1.8 29.6 1.7 35 .5 38-.6L389 650c15-.3 62.3-4 78.6-13.8 5.7-1.4 21.6-15.3 28.8-22 5.5-4.3 4-5 3.5-7.3a249 249 0 0 0-2.2-10.5c-1-1-1.7-4.9-1.8-6.7l-1.5-4.1-3.2-12.3a391 391 0 0 1-1.8-7c.4-.8-1-6.7-1.6-9.6l-1.2-3.5-2.4-10.7-6.6-20.8-4.8-11.6-.7-6.2c-.1-2.3-.5-8.7-.6-15.7 0-7-4.9-31-7.3-42l-2.6-8.6v-1.9l-.3-9v-6.3l.3-8 .3-4.1v-9l-.2-12.2-.6-9.4-.6-7.3-.8-6.9.5-10.3c1.7-1.2 2.3-9.1 2.3-13l.5-6.7 1.1-6 4-22.8 1.3-9 1.3-5.4.4-4.2 2-15.3 1.2-12.2.7-11.6.4-4 1 10.5c.2 3.1 1.5 7 4.7 7.4 2.6.4 9.7 0 12.9-.4l15.5-1.9 46.3-8c6.4-.1 4.6-2.9 4.2-6.4l-1.2-4.9-2-7.5-3.3-14.5-4-26.4-3-25.1a215 215 0 0 0-7.2-35.6c-1.2-4.5-11-35-24-48a103.8 103.8 0 0 0-34-20 566 566 0 0 0-23.8-8.2c-10.1-1.3-40.2-17.6-54-25.6C387.4 13 374.6 8.1 341.9 8.1Z"}),n&&e.jsxs(e.Fragment,{children:[e.jsx("path",{fill:n,d:"m153 277.8-5.8 14.5c-1 2.8-2.5 1.4-4.6.7l-2-.5-7.8-2.4-15.6-5-19-6.5-16-5.7-12-4.4-5.5-2.2c-3.5-1.1-3.1-1.2-1.9-4l1.8-4.9 3.2-9.3c-1.1-1.9 0-3.1.8-3.5l.2-.7.5-2 4.3-10.3 2.4-6 2.6-6.2.8-2.6 1.7-4.1v-.4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l2.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"})]}),o&&e.jsx(e.Fragment,{children:e.jsx("path",{fill:o,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 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1.2-3.8l-.4-6.3-.7-11-1.1-8-1-5.3-1.8-9-4.1-14.5-3.1-10.9-2.5-8.9-3.7-12.8-3.3-12-1.7-7.7-2-9-1-4.7-1.3-6.6-2.3-10.1-1.7-10-1.4-8.4-1.6-11.8-1-12.6-.3-4.7-.4-5.6c-.2-2.3-.9-3.9-1.2-4.5-.3-.6 1-1.8 1.6-2.4.5-.5 1 0 1.2.3.8-.4 3.5-.8 8 .8ZM171.3 236.8c-2.6-2.2-3.5-10.4-3.6-14.3l.3-.3v-7l-.3-4-.4-5.6v-5.7c-.3-3 2.3-18.6 3.6-26.2l4-14.5 4.3-16.8a895.2 895.2 0 0 0 12.1-60.3l2.3-19.2.7-10.4.7-6.6c-.3-1.9 0-4.3.3-5.3 2.8-4.5 9.4-4.6 11.9-4.2.5.1.8-.5 1-.4.7.3 2 1.3 2.5 2.6-1.4.7-2 4-2 5.6l-.6 16.4-.7 9.7-1.6 13-1.7 10-2.6 16-5 21-4 15-2 7.2-4.7 14.8-5.6 18.5-3.3 11.9c-.8 2.7-2 10-2.3 13.2l-.7 6-.3 5.3v5.2l-.5 5.1-.9 4.3-.5.6-.4-.6Z"})]})}function La({base:t,sleeve:a,stripes:n,sleevelong:o}){return e.jsxs(e.Fragment,{children:[e.jsx("path",{fill:t,d:"m249.3 24.4-9.4-7.1c0-.1-.6-.6-1.7-1.3-1.1-.7-3.7-.4-4.8-.2l-4.8 2.6-2 2.9-8.7 4.4-7.7 2H198c.2-.5-.8-1.2-1.3-1.5a15 15 0 0 0-5.2 0c-3.7.3-6.6 8.3-7.5 12.2L179 59.2 171 86.1l-8.2 26.8c-1.3 6-4.3 19.8-5.9 26.3-2.4 6-3.1 20.4-3.2 26.8l-1 25.6-1 17.6c-2.7 3.9-1 5-.4 6.6-.3 1.5 1.8 3 2.6 2.8l2.7 9.3-1.3 12.1c-.5 5.5 1 16.9 1.8 21.8l3.2 14 4.4 18.5 2.4 12.9 2.2 11.6 2.4 11.3v7.5c.1.3-.4 2-3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.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"}),e.jsx("path",{fill:n,d:"M292.1 648.8c-15.7-1.4-37.7-5-49.7-7.1-4.3-.6-22.6-5.3-35.5-9.5 1.5-10 3-21 4.3-32.7 7-60.5 4.8-132.8 3.1-185.6l-.9-32c-1-49-2.4-83.5-3.6-112-1.2-29-2.1-51.7-2.1-77 0-29 2.9-77.3 5.3-112.9l2.6-1c1.3-.3 10.1-2 14.4-2.7l10-3.2 6.6-3.7 9-5 4-2 .5-.3c1.2 2 2.6 4.1 3.4 4.8l6.1 7.8 15 14.6 4.8 4c-.6 26.4-1.1 60.6-1.1 100.1 0 59.3 1.1 82.6 2.7 114.6.9 18.8 2 40.7 3 74.9 1.5 48.3.8 98.4 0 148.6l-.8 68.3c0 13-.6 32.8-1.1 49Zm157.5-16.4-11.2 3.6a379.2 379.2 0 0 1-67 12c.2-11 .3-25.6.3-44.6 0-49.2-1.2-74.9-2.4-99.5-1.3-27.2-2.5-53-2-107.5.6-50.4 1.7-81.5 2.6-109.3 1-29.3 1.8-54.9 1.8-95.6 0-35.5-.6-70.6-1.2-98.6l3.6-3 5.3-5.1 3.5-3.6 3.5-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7-5.6-5.1-17.5-5.3-20.1-.2-2.7-1-9.7-1.5-12.9l-.7-16c.2-5.7 1.6-18.6 6.2-25.3l1.5-2.1Z"})]})}const lt={FOOTBALL:{men:{pathsComponent:st,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png"},women:{pathsComponent:it,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.01b6dc75.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.9f351041.png"}},TENNIS:{men:{pathsComponent:st,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.7a42eb6e.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.b1ac6c3e.png"},women:{pathsComponent:it,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.01b6dc75.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.9f351041.png"}},BASKETBALL:{men:{pathsComponent:Ba,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.d06ce176.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.ed437b96.png"},women:{pathsComponent:La,shadowUrl:"https://widgets.sir.sportradar.com/assets/media/shadow.d2a2ff52.png",highlightUrl:"https://widgets.sir.sportradar.com/assets/media/highlight.7fdbab3c.png"}}};function Pa({sport:t="FOOTBALL",gender:a="men",colors:n,className:o,flag:r=""}){const i=(n==null?void 0:n.base)==="D8D8D8"&&(n==null?void 0:n.sleeve)==="D8D8D8"||(n==null?void 0:n.base)==="585858"&&(n==null?void 0:n.sleeve)==="585858",s=h=>h?h.startsWith("#")?h:`#${h}`:null;if(t==="TENNIS"&&r==""||t==="BASKETBALL"&&(n==null||i)){const _=`https://d28gilnhu2bcbp.cloudfront.net/landing/${t==="BASKETBALL"?"basketball":"tennis"}_default.png`;return e.jsx("div",{className:`${ve.polo} ${o!=null?o:""}`,children:e.jsx("img",{src:_,className:ve.flagImage})})}if(t==="TENNIS")return e.jsx("div",{className:`${ve.polo} ${o!=null?o:""}`,children:e.jsx("img",{src:`https://img.sportradar.com/ls/crest/big/${r}.png`,className:ve.flagImage})});const l=s(n.base)||"#FFFFFF",f=s(n.sleeve)||l,p=s(n.stripes),u=s(n.sleevelong),c=s(n.trim)||f,d=lt[t]||lt.FOOTBALL,g=d[a]||d.men,y=g.pathsComponent;return e.jsxs("div",{className:`${ve.polo} ${o!=null?o:""}`,children:[e.jsx("div",{className:ve.svgWrapper,children:e.jsx("svg",{viewBox:"0 0 656 656","aria-hidden":!0,children:e.jsx(y,{base:l,sleeve:f,stripes:p,sleevelong:u,trim:c})})}),e.jsx("img",{src:g.shadowUrl,className:ve.shadow,alt:"","aria-hidden":!0}),e.jsx("img",{src:g.highlightUrl,className:ve.highlight,alt:"","aria-hidden":!0})]})}function Ne({name:t,jersey:a,size:n="regular",sport:o="FOOTBALL",gender:r="men",flag:i=""}){return e.jsxs("div",{className:`oli-font ${Ie.team} ${Ie[n]}`,children:[a!=null&&a.base?e.jsx(Pa,{sport:o,gender:r,colors:a,flag:i,className:`${Ie.logo}`}):e.jsx(X.default,{variant:"circular",className:`${Ie.logo} ${Ie.skeleton}`}),e.jsx("span",{className:Ie.name,children:t})]})}function Fa(t,a,{enabled:n=!0,threshold:o=60,cooldownMs:r=500}={}){const i=v.useRef(0),s=v.useRef(0);v.useEffect(()=>{if(!n)return;const l=t.current;if(!l)return;const f=p=>{const u=a.current;if(!u||!u.go)return;const{deltaX:c,deltaY:d}=p;if(Math.abs(c)<=Math.abs(d))return;p.preventDefault(),i.current+=c;const g=Date.now();if(g-s.current<r||Math.abs(i.current)<o)return;const y=i.current>0?">":"<";i.current=0,s.current=g,u.go(y)};return l.addEventListener("wheel",f,{passive:!1}),()=>{l.removeEventListener("wheel",f),i.current=0}},[n,o,r,t,a])}const qa="oraculo__OraculoCarousel-module__gradientOverlay___xYDfc",za="oraculo__OraculoCarousel-module__right___KwpOE",Ua="oraculo__OraculoCarousel-module__left___n3WQu",Va="oraculo__OraculoCarousel-module__svg___0mGuX",Ee={gradientOverlay:qa,right:za,left:Ua,svg:Va},Wa=vt.Splide,Da=vt.SplideSlide,xe=v.forwardRef(({items:t=[],renderItem:a,perPage:n=1,gap:o="0px",breakpoints:r,options:i={},className:s="",onMove:l,useIndexAsKey:f=!1,enableHorizontalWheel:p=!0,showRightGradient:u=!1},c)=>{const d=v.useRef(null),g=v.useRef(null),y=v.useRef(t.length),h=v.useRef(null),_=v.useRef(null),$=v.useRef("user");Fa(g,d,{enabled:p}),v.useImperativeHandle(c,()=>({next:()=>{var E;return(E=d.current)==null?void 0:E.go(">")},prev:()=>{var E;return(E=d.current)==null?void 0:E.go("<")},go:E=>{var b;return(b=d.current)==null?void 0:b.go(E)}}));const N=E=>{var K;const b=E.Components.Slides,C=E.Components.Controller,q=E.root.querySelector(".splide__track"),B=(K=q==null?void 0:q.clientWidth)!=null?K:0,P=C.getIndex(),D=b.getLength();let W=0,G=P;for(let U=P;U<D;U++){const Q=b.getAt(U);if(!Q||(W+=Q.slide.offsetWidth,W>B))break;G=U}return{visibleStart:P,visibleEnd:G}},j=E=>{const b=E.root.querySelector(".splide__track"),C=E.root.querySelector(".splide__list");return!b||!C?!1:C.scrollWidth>b.clientWidth+1},A=v.useRef(!1),w=v.useCallback(E=>{var K,U;if(A.current)return;const C=E.Components.Slides.getLength(),q=$.current;if($.current="user",!j(E)){l==null||l({index:0,isStart:!0,isEnd:!0,total:C,visibleStart:0,visibleEnd:C-1,source:q});return}const{visibleStart:B,visibleEnd:P}=N(E),D=B===0,W=P===C-1;u&&((K=h.current)==null||K.style.setProperty("--gradient-opacity",D?"0":"1"),(U=_.current)==null||U.style.setProperty("--gradient-opacity",W?"0":"1"));const G=E.Components.Controller.getIndex();l==null||l({index:G,isStart:D,isEnd:W,total:C,visibleStart:B,visibleEnd:P,source:q})},[l]);Se.default.useEffect(()=>{var C;const E=(C=d.current)==null?void 0:C.splide;if(!E)return;const b=y.current!==t.length;y.current=t.length,b&&requestAnimationFrame(()=>{A.current=!0;try{E.refresh()}finally{A.current=!1}$.current="resize",w(E)})},[t.length,w]);const x=v.useCallback(()=>{var b;const E=(b=d.current)==null?void 0:b.splide;if(E){A.current=!0;try{E.go(0,!1)}finally{A.current=!1}$.current="resize",w(E)}},[w]),S=v.useCallback(E=>{$.current="mounted",w(E)},[w]),R={type:"slide",trimSpace:!1,drag:!0,pagination:!1,arrows:!1,rewind:!1,focus:"start",autoWidth:!1,perPage:n,gap:o,breakpoints:r,...i,...p?{wheel:!1}:{}};return e.jsxs("div",{ref:g,className:s,style:{width:"100%",position:"relative",height:"100%"},children:[e.jsx(Wa,{ref:d,options:R,onMove:w,onMounted:S,onResize:x,children:t.map((E,b)=>{var C;return e.jsx(Da,{children:a(E,b)},f?b:(C=E.id)!=null?C:b)})}),u&&e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:h,className:`${Ee.gradientOverlay} ${Ee.left}`,style:{"--gradient-opacity":"0"},children:e.jsxs("svg",{className:Ee.svg,viewBox:"0 0 152 184",preserveAspectRatio:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M0 0H152V184H0V0Z",fill:"url(#paint_left)"}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"paint_left",x1:"0",y1:"92",x2:"152",y2:"92",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.59737",stopColor:"#121212",stopOpacity:"0"}),e.jsx("stop",{offset:"1",stopColor:"#121212"})]})})]})}),e.jsx("div",{ref:_,className:`${Ee.gradientOverlay} ${Ee.right}`,style:{"--gradient-opacity":"1"},children:e.jsxs("svg",{className:Ee.svg,viewBox:"0 0 152 184",preserveAspectRatio:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M0 0H152V184H0V0Z",fill:"url(#paint_right)"}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"paint_right",x1:"0",y1:"92",x2:"152",y2:"92",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.59737",stopColor:"#121212",stopOpacity:"0"}),e.jsx("stop",{offset:"1",stopColor:"#121212"})]})})]})})]})]})}),ke=({imageUrl:t,onClick:a,size:n="sm",fillParent:o=!1})=>{const r=n==="lg"?{w:280,h:352}:{w:152,h:168},i=l=>{l.stopPropagation(),a==null||a()},s=o?{width:"100%",height:"100%"}:{width:`${r.w}px`,height:`${r.h}px`};return e.jsxs(z.default,{onClick:a,role:"button",sx:{position:"relative",borderRadius:"12px",overflow:"hidden",boxSizing:"border-box",transition:"transform .15s ease, box-shadow .15s ease",...s,"&:hover":{transform:"translateY(-2px)",boxShadow:8,cursor:"pointer"},"&:hover .oraculo-game-card-overlay":{opacity:1},"&:hover .oraculo-game-card-btn":{opacity:1,transform:"translate(-50%, -50%) scale(1)",pointerEvents:"auto"}},children:[e.jsx("img",{src:t,alt:"Juego de casino",loading:"lazy",style:{width:"100%",height:"100%",objectFit:"cover",display:"block",borderRadius:"inherit"}}),e.jsx(z.default,{className:"oraculo-game-card-overlay",sx:{position:"absolute",inset:0,backgroundColor:"rgba(0, 0, 0, 0.45)",opacity:0,transition:"opacity .15s ease",pointerEvents:"none",zIndex:1}}),e.jsx(z.default,{className:"oraculo-game-card-btn",sx:{position:"absolute",top:"50%",left:"50%",zIndex:2,transform:"translate(-50%, -50%) scale(0.95)",opacity:0,transition:"opacity .15s ease, transform .15s ease",pointerEvents:"none"},children:e.jsx(ae,{variant:"primary",size:"md",onClick:i,children:"Jugar"})})]})};function It({imageUrl:t,orden:a=1,onClick:n,loading:o=!1,sizes:r={xs:{w:104,h:112,r:18,font:48},md:{w:186,h:264,r:22.6,font:64}}}){var c,d,g,y;const i=(h,_)=>{var $,N,j,A;return{xs:(N=($=r.xs)==null?void 0:$[h])!=null?N:_,md:(A=(j=r.md)==null?void 0:j[h])!=null?A:_}},s=i("w",186),l=i("h",264),f=i("r",22.6),p=i("font",64),u={xs:Math.round(((d=(c=r.xs)==null?void 0:c.font)!=null?d:64)*.28),md:Math.round(((y=(g=r.md)==null?void 0:g.font)!=null?y:64)*.28)};return e.jsxs(z.default,{sx:{position:"relative",width:"100%",maxWidth:{xs:`${s.xs}px`,md:`${s.md}px`},aspectRatio:{xs:`${s.xs}/${l.xs}`,md:`${s.md}/${l.md}`},borderRadius:{xs:`${f.xs}px`,md:`${f.md}px`},boxSizing:"border-box",overflow:"visible",pb:{xs:`${u.xs}px`,md:`${u.md}px`},"&::before":{content:'""',position:"absolute",inset:0,borderRadius:"inherit",pointerEvents:"none",zIndex:2,background:"linear-gradient(21.29deg, #0B0D1B -1.16%, rgba(255,255,255,0) 51.92%, rgba(255,255,255,0) 127.62%)",backgroundBlendMode:"multiply"}},children:[e.jsx(z.default,{sx:{position:"absolute",inset:0,borderRadius:"inherit",overflow:"hidden"},children:o?e.jsx(X.default,{variant:"rectangular",width:"100%",height:"100%",sx:{bgcolor:"rgba(255,255,255,0.10)","&::after":{background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"}}}):e.jsx(ke,{imageUrl:t,onClick:n,size:"lg",fillParent:!0})}),e.jsx(z.default,{component:"span",sx:{position:"absolute",left:8,bottom:{xs:`-${u.xs}px`,md:`-${u.md}px`},fontFamily:'"secondary", sans-serif',fontSize:{xs:`${p.xs}px`,md:`${p.md}px`},lineHeight:1,color:"#3CC666",WebkitTextStroke:"1px #9ee86e",zIndex:3,userSelect:"none"},children:a})]})}const We="/assets/img/casino/image3.png",Ga="/assets/img/casino/image2.png",Re="/assets/img/casino/image1.png",Ke=({logo:t,provider:a,providerName:n,machine:o,onClick:r,loading:i=!1,isFavorite:s=!1,isLogin:l=!0,existFavorite:f=!1,onToggleFavorite:p})=>{var c;const u=d=>{d.stopPropagation(),p==null||p(!s)};return i?e.jsx(z.default,{sx:{flex:"0 0 auto",position:"relative",borderRadius:"20px",overflow:"hidden",width:{xs:100,md:180},height:{xs:200,md:380}},children:e.jsx(X.default,{variant:"rectangular",width:"100%",height:"100%",sx:{bgcolor:"rgba(255,255,255,0.10)","&::after":{background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"}}})}):e.jsxs(z.default,{onClick:r,sx:{flex:"0 0 auto",position:"relative",borderRadius:"20px",overflow:"hidden",width:{xs:100,md:180},height:{xs:200,md:380},transition:"width .50s ease, transform .28s ease",willChange:"width, transform",cursor:"pointer",zIndex:0,"&:hover":{zIndex:2,width:{md:260,xs:110}},"&:hover .orc-live-provider-label":{opacity:1}},children:[!f&&l&&e.jsx(J.IconButton,{onClick:u,"aria-label":s?"Quitar de favoritos":"Agregar a favoritos",sx:{position:"absolute",top:0,right:0,zIndex:4,width:{xs:"32px",md:"48px"},height:{xs:"32px",md:"48px"},borderTopRightRadius:{xs:"12px",md:"24px"},borderBottomLeftRadius:"12px",borderTopLeftRadius:0,borderBottomRightRadius:0,paddingTop:"3px",paddingBottom:"3px",paddingLeft:"10px",paddingRight:"10px",gap:"3px",boxSizing:"border-box",border:s?"1px solid rgba(255, 214, 102, .40)":"1px solid rgba(255,255,255,.12)",backgroundColor:s?"rgba(177, 135, 0, .55)":"rgba(0,0,0,.55)","&:hover":{backgroundColor:s?"rgba(177, 135, 0, .62)":"rgba(0,0,0,.58)",border:"1px solid rgba(255, 214, 102, .90)"}},children:e.jsx(z.default,{component:"img",src:s?Re:We,alt:s?"Favorito activo":"Favorito",sx:{width:32,height:32,objectFit:"contain",content:{xs:`url(${s?Re:We})`,md:`url(${s?Re:We})`},".MuiIconButton-root:hover &":{content:s?`url(${Re})`:`url(${Ga})`}}})}),e.jsx(z.default,{component:"img",src:t,alt:`Juego ${o!=null?o:""}`,sx:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",display:"block"}}),e.jsx(z.default,{className:"orc-live-provider-label",sx:{position:"absolute",left:"50%",top:{xs:"75%",md:"80%"},transform:"translate(-50%, -50%)",zIndex:3,opacity:0,transition:"opacity .25s ease",pointerEvents:"none"},children:e.jsx(ge.default,{sx:{color:"#fff",fontWeight:700,fontSize:{xs:11,md:14},textTransform:"capitalize"},children:(c=a!=null?a:n)!=null?c:""})})]})},De=12,Ge=({r:t=16})=>e.jsx(z.default,{sx:{width:"100%",height:"100%",borderRadius:t,overflow:"hidden"},children:e.jsx(X.default,{variant:"rectangular",width:"100%",height:"100%",sx:{bgcolor:"rgba(255,255,255,0.10)","&::after":{background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"}}})}),Ye=({items:t,layout:a="grid",onClick:n,loading:o=!1,gridSkeletonCount:r=4})=>{var i,s;if(a==="mosaic"){const l=t[0],f=t.slice(1,5);return e.jsxs(z.default,{sx:{display:"grid",gridTemplateRows:{xs:"repeat(2, 112px)",md:"repeat(2, 168px)"},gridTemplateColumns:{xs:"184px",md:"280px"},gridAutoFlow:"column",gridAutoColumns:{xs:"104px",md:"152px"},columnGap:`${De}px`,rowGap:`${De}px`,alignItems:"stretch",justifyItems:"stretch"},children:[e.jsx(z.default,{sx:{width:{xs:184,md:280},height:{xs:234,md:352},gridRow:"1 / span 2",overflow:"hidden",borderRadius:2},children:o?e.jsx(Ge,{}):l&&e.jsx(ke,{imageUrl:`https://olimpo.bet${(s=(i=l.background)!=null?i:l.imageUrl)!=null?s:""}`,size:"lg",fillParent:!0,onClick:()=>n==null?void 0:n(l,0)})}),(o?Array.from({length:4}):f).map((p,u)=>{var c,d;return e.jsx(z.default,{sx:{width:{xs:104,md:152},height:{xs:112,md:168},overflow:"hidden",borderRadius:2},children:o?e.jsx(Ge,{}):e.jsx(ke,{imageUrl:`https://olimpo.bet${(d=(c=p.background)!=null?c:p.imageUrl)!=null?d:""}`,size:"sm",fillParent:!0,onClick:()=>n==null?void 0:n(p,u+1)})},o?`sk-${u}`:p.id)})]})}return e.jsx(z.default,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(2, 104px)",md:"repeat(2, 152px)"},gridTemplateRows:{xs:"repeat(2, 112px)",md:"repeat(2, 168px)"},gap:`${De}px`,gridAutoFlow:"column"},children:(o?Array.from({length:r}):t).map((l,f)=>{var p,u,c;return e.jsx(z.default,{sx:{overflow:"hidden",borderRadius:2},children:o?e.jsx(Ge,{}):e.jsx(ke,{imageUrl:`https://olimpo.bet${(u=(p=l.background)!=null?p:l.imageUrl)!=null?u:""}`,size:"sm",fillParent:!0,onClick:()=>n==null?void 0:n(l,f)})},o?`sk-${f}`:(c=l.id)!=null?c:f)})})},Ze=({title:t,amount:a,subtitle:n,buttonText:o,onButtonClick:r,backgroundImage:i,alt:s,className:l="",variant:f="small"})=>{const p=a?a.slice(0,2):"",u=a?a.slice(2):"",c=f==="large";return e.jsxs(z.default,{className:l,sx:{position:"relative",width:"100%",maxWidth:{xs:328,md:c?618:456},mx:"auto"},children:[i&&e.jsx(z.default,{sx:{position:"relative",width:"100%",aspectRatio:{xs:"328 / 188",md:c?"618 / 346":"456 / 272"},borderRadius:"14px",overflow:"hidden"},children:e.jsx(z.default,{component:"img",src:i,alt:s!=null?s:"Fondo promocional",sx:{width:"100%",height:"100%",objectFit:"cover",objectPosition:{xs:"50% 0%",md:"45% 0%"},display:"block"}})}),e.jsx(z.default,{sx:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"flex-end",color:"#e7f8ff",textAlign:"center",pl:"14%",pr:{xs:"14%",lg:"15%"}},children:e.jsxs(z.default,{sx:{maxWidth:"60%",display:"flex",flexDirection:"column",alignItems:"center"},children:[t&&e.jsx(ge.default,{sx:{fontSize:{xs:12,md:20},fontWeight:400,color:"#e7f8ff"},children:t}),a&&e.jsxs(z.default,{component:"p",sx:{fontFamily:'"secondary", sans-serif',lineHeight:{xs:.9,lg:.87},m:"4px 0",background:"linear-gradient(175deg, #EDC421 -12.56%, #FFFABF 17.99%, #EDC421 49.74%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",WebkitTextStroke:"0.5px #fff8c1",filter:"drop-shadow(0px 4px 0px #8D4406) drop-shadow(0px 4px 4px rgba(28, 28, 28, 0.4))",display:"flex",alignItems:"baseline",justifyContent:"center"},children:[e.jsx(z.default,{component:"span",sx:{fontSize:{xs:35,md:48},mr:.5},children:p}),e.jsx(z.default,{component:"span",sx:{fontSize:{xs:52,md:77}},children:u})]}),n&&e.jsx(ge.default,{sx:{pb:"20px",fontSize:14,fontWeight:600,color:"#e7f8ff"},children:n}),o&&e.jsx(ae,{onClick:r,children:o})]})})]})},Et=({text:t,buttonLabel:a="Conoce más",onClick:n,imgAlt:o="Club Olimpo",imgSrcMobile:r,imgSrcDesktopBg:i,imgSrcDesktopLogo:s})=>e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"orc-co-bgMobile",children:e.jsx("img",{src:r,alt:o,className:"orc-co-bgMobileImg"})}),e.jsx("div",{className:"orc-co-bgDesktop",children:e.jsxs("div",{className:"orc-co-desktopInner",children:[i&&e.jsx("div",{className:"orc-co-fillHost",children:e.jsx("img",{src:i,alt:`${o} fondo`,className:"orc-co-bgDesktopImg"})}),e.jsxs("div",{className:"orc-co-desktopContent",children:[s&&e.jsx("img",{src:s,alt:`${o} logo`,className:"orc-co-logoImg"}),e.jsx("p",{className:"orc-co-captionDesktop",children:t}),e.jsx(ae,{onClick:n,variant:"primary",size:"md",children:a})]})]})}),e.jsxs("div",{className:"orc-co-bottom",children:[e.jsx("p",{className:"orc-co-caption",children:t}),e.jsx(ae,{onClick:n,variant:"primary",size:"md",children:a})]})]}),Ha="oraculo__OraculoEventCombinadasCard-module__card___ulQeY",Ka="oraculo__OraculoEventCombinadasCard-module__combinadas___Gxrld",Za="oraculo__OraculoEventCombinadasCard-module__combinadasScroll___47cZl",Ja="oraculo__OraculoEventCombinadasCard-module__apuestaItem___YnYMy",Xa="oraculo__OraculoEventCombinadasCard-module__lineContainer___G5rbU",Qa="oraculo__OraculoEventCombinadasCard-module__circle___eehm-",Ya="oraculo__OraculoEventCombinadasCard-module__line___Eb2pK",en="oraculo__OraculoEventCombinadasCard-module__apuestaText___b5s7S",tn="oraculo__OraculoEventCombinadasCard-module__cuotaTotal___Lohvu",pe={card:Ha,combinadas:Ka,combinadasScroll:Za,apuestaItem:Ja,lineContainer:Xa,circle:Qa,line:Ya,apuestaText:en,cuotaTotal:tn};function Pe(t,a){const n=Array.isArray(a)?a:[a];sessionStorage.setItem("landingOutcomes",JSON.stringify(n)),window.location.href=t}function an(){window.location.href="/deportes#in-play"}function nn(){window.location.href="/deportes#home"}function on(){window.location.href="/deportes#specials"}async function Ct(t){return await(await fetch("https://api.mktolimpo.com/api/jerseys/search",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({events:t})})).json()}const Tt=v.createContext(void 0),et=({children:t,docId:a,moduleId:n})=>{const o=Se.default.useMemo(()=>({docId:a,moduleId:n}),[a,n]);return e.jsx(Tt.Provider,{value:o,children:t})},kt=()=>{const t=v.useContext(Tt);if(!t)throw new Error("useDocContext debe usarse dentro de DocIdProvider");return t},le=()=>kt().docId,ue=()=>kt().moduleId;function Nt({coupon:t}){var p;const a=ie.useCaptureInteraction(),n=le();function o(u){var g,y;const c=[],d=Array.from(new Map(((g=u==null?void 0:u.events)!=null?g:[]).filter(Boolean).map(h=>[h.id,h])).values());return d.forEach(h=>{var j;const _=(j=h.betoffers)!=null?j:[],$=h.homeName,N=h.awayName;_.forEach(A=>{var R,E,b,C,q,B,P;if(!((R=A==null?void 0:A.outcomes)!=null&&R.length))return;const w=A.outcomes[0];if(!w)return;let x="";const S=w!=null&&w.line?w.line/1e3:"";["Más de","Mas de","Over"].includes(w.label)?(x=`Más de ${S}`,w.participant&&(x=`${w.participant} - ${x}`)):["Menos de","Menos","Under"].includes(w.label)?(x=`Menos de ${S}`,w.participant&&(x=`${w.participant} - ${x}`)):["Sí","No"].includes(w.label)?(x=w.label,w.participant&&(x=`${w.participant} - ${x}`)):["1X","12","X2"].includes(w.label)?(w.label==="1X"&&(x=`${$} o Empate`),w.label==="12"&&(x=`${$} o ${N}`),w.label==="X2"&&(x=`${N} o Empate`)):(x=(b=(E=w.participant)!=null?E:w.label)!=null?b:"",S!==""&&x===w.label&&(x=`${w.label} ${S}`)),c.push({id:w.id,value:x,label:(q=(C=A.criterion)==null?void 0:C.label)!=null?q:"",odds:(B=w.odds)!=null?B:0,position:(P=w.position)!=null?P:0,eventId:h.id})})}),{outcomes:c.sort((h,_)=>h.position-_.position),total:Number((y=u==null?void 0:u.combinadoTotal)!=null?y:0).toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),events:d}}function r(u){if(!u||!Array.isArray(u.events)||u.events.length===0)return"/deportes#home";const c=u.events;if(c.length===1)return`/deportes#event/${c[0].id}`;const d=c[0].groupId;if(c.every(y=>y.groupId===d)){const y=c[0].path;if(Array.isArray(y)&&y.length>0)return`/deportes#sports-hub/${y.map(_=>_.termKey).filter(Boolean).join("/")}`}return"/deportes#home"}const i=(u,c)=>{const d=Array.isArray(u)?u:[u],g=Array.from(new Set(s.outcomes.map(_=>{var N;const $=f.get(Number(_.eventId));return(N=$==null?void 0:$.name)!=null?N:""}))).filter(Boolean),y=g.length>0?g.join(" + "):JSON.stringify(d),h=c?`${y} - Cuota: ${c}`:y;a({element:"evento_semana_outcome",label:`Landing: ${n} - OraculoEventCombinadasCard - Click: ${h}`,target:"/deportes#in-play",event_type:"click",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoEventCombinadasCard",outcomes:h}}),Pe(r(t),u)};if(!((p=t==null?void 0:t.events)!=null&&p.length))return null;const s=o(t),l=s.outcomes.reduce((u,c)=>(u[c.eventId]||(u[c.eventId]=[]),u[c.eventId].push(c),u),{}),f=new Map(s.events.map(u=>[u.id,u]));return e.jsxs("div",{className:pe.card,children:[e.jsx("div",{className:pe.combinadas,children:e.jsx("div",{className:pe.combinadasScroll,children:e.jsx(Y.default,{direction:"column",spacing:1.5,useFlexGap:!0,children:Object.entries(l).reverse().map(([u,c])=>{const d=f.get(Number(u));return d?e.jsxs(Y.default,{direction:"column",spacing:.5,useFlexGap:!0,children:[e.jsx(be,{title:d.name,iconUrl:"/assets/img/home/Combinadas/pelota.png",size:"xs"}),e.jsx("img",{loading:"lazy",src:"/assets/img/home/Combinadas/line.png"}),c.map((g,y)=>e.jsxs("div",{className:pe.apuestaItem,children:[e.jsxs("div",{className:pe.lineContainer,children:[e.jsx("div",{className:pe.circle}),y<c.length-1&&e.jsx("div",{className:pe.line})]}),e.jsxs("div",{className:pe.apuestaText,children:[e.jsx("strong",{children:g.value})," | ",g.label]})]},`${u}-${y}`))]},u):null})})})}),e.jsxs("button",{onClick:()=>i(s.outcomes.map(u=>u.id),s.total),className:pe.cuotaTotal,children:[e.jsxs("span",{children:["Cuota total: ",e.jsx("strong",{children:s.total})]}),e.jsx("img",{loading:"lazy",src:"/assets/img/home/Combinadas/cuotaTotal.svg",alt:"cuota total"})]})]})}const fe={"orc-btn":"oraculo__OraculoButtonBet-module__orc-btn___jakza","orc-btn__label":"oraculo__OraculoButtonBet-module__orc-btn__label___zNFEH","orc-btn__icon":"oraculo__OraculoButtonBet-module__orc-btn__icon___5Rhyd","orc-btn--primary":"oraculo__OraculoButtonBet-module__orc-btn--primary___7TlJB","orc-btn--secondary":"oraculo__OraculoButtonBet-module__orc-btn--secondary___X4kJt","orc-btn--tertiary":"oraculo__OraculoButtonBet-module__orc-btn--tertiary___iS6eD","orc-btn--sm":"oraculo__OraculoButtonBet-module__orc-btn--sm___lIF2e","orc-btn--md":"oraculo__OraculoButtonBet-module__orc-btn--md___x4SI7","orc-btn--lg":"oraculo__OraculoButtonBet-module__orc-btn--lg___0BQNI","orc-btn--iconOnly":"oraculo__OraculoButtonBet-module__orc-btn--iconOnly___hQGwI","orc-btn--full":"oraculo__OraculoButtonBet-module__orc-btn--full___z-Myo","orc-btn--fullHeight":"oraculo__OraculoButtonBet-module__orc-btn--fullHeight___pCxq1"};function ct({children:t,onClick:a,href:n,target:o,rel:r,type:i="button",disabled:s=!1,variant:l="primary",size:f,fullWidth:p=!1,fullHeight:u=!1,className:c="",ariaLabel:d,leftIcon:g,rightIcon:y,iconOnly:h}){const _=!!t&&t!==!0,j=(!!g?1:0)+(!!y?1:0)==1,A=h!=null?h:j&&!_,w=[fe["orc-btn"],fe[`orc-btn--${l}`],f?fe[`orc-btn--${f}`]:"",p?fe["orc-btn--full"]:"",u?fe["orc-btn--fullHeight"]:"",A?fe["orc-btn--iconOnly"]:"",c].filter(Boolean).join(" "),x=e.jsxs(e.Fragment,{children:[g&&e.jsx("span",{className:fe["orc-btn__icon"],children:g}),!A&&e.jsx("span",{className:fe["orc-btn__label"],children:t}),y&&e.jsx("span",{className:fe["orc-btn__icon"],children:y})]}),S=s?!0:void 0;return n?e.jsx(J.Link,{href:n,target:o,rel:r,"aria-label":d,"aria-disabled":S,tabIndex:S?-1:void 0,className:w,onClick:S?R=>R.preventDefault():a,children:x}):e.jsx("button",{type:i,onClick:a,disabled:!!S,"aria-label":d,className:w,children:x})}const rn="oraculo__OraculoTennisScoreboard-module__tennisContainer___I3KST",sn="oraculo__OraculoTennisScoreboard-module__tennisTable___haqoS",ln="oraculo__OraculoTennisScoreboard-module__tennisTableRow___IbIkR",cn="oraculo__OraculoTennisScoreboard-module__colName___mNrno",dn="oraculo__OraculoTennisScoreboard-module__colHeader___e3Eis",un="oraculo__OraculoTennisScoreboard-module__cellPlayerNameHome___pUZjS",mn="oraculo__OraculoTennisScoreboard-module__cellPlayerNameAway___jf9sp",pn="oraculo__OraculoTennisScoreboard-module__playerName___OKXca",fn="oraculo__OraculoTennisScoreboard-module__cellStat___QhEvN",gn="oraculo__OraculoTennisScoreboard-module__active___5OX1k",hn="oraculo__OraculoTennisScoreboard-module__border___Xzw2j",bn="oraculo__OraculoTennisScoreboard-module__hasDivider___Dv65A",xn="oraculo__OraculoTennisScoreboard-module__cellHome___J2681",_n="oraculo__OraculoTennisScoreboard-module__cellAway___yJ34F",H={tennisContainer:rn,tennisTable:sn,tennisTableRow:ln,colName:cn,colHeader:dn,cellPlayerNameHome:un,cellPlayerNameAway:mn,playerName:pn,cellStat:fn,active:gn,border:hn,hasDivider:bn,cellHome:xn,cellAway:_n};function vn({homeName:t="",awayName:a="",homeSets:n=[],awaySets:o=[],homePoints:r="0",awayPoints:i="0",homeServe:s=!0}){const l=n.reduce(($,N,j)=>N>=0?j:$,0);let f=0,p=0;n.forEach(($,N)=>{var A;const j=(A=o[N])!=null?A:-1;N!==l&&$>=0&&j>=0&&($>j&&f++,j>$&&p++)});const u=n[l]>=0?n[l]:0,c=o[l]>=0?o[l]:0,d=$=>{if(typeof $=="number")return $;const N=String($).trim().toUpperCase();return N==="A"||N==="ADV"?50:parseInt(N,10)||0},g=d(r),y=d(i);let h=!1,_=!1;return f!==p?(h=f>p,_=p>f):u!==c?(h=u>c,_=c>u):g!==y&&(h=g>y,_=y>g),e.jsx("div",{className:H.tennisContainer,children:e.jsxs("table",{className:H.tennisTable,children:[e.jsx("thead",{children:e.jsxs("tr",{style:{height:"18px"},children:[e.jsx("th",{className:H.colName}),e.jsx("th",{className:H.colHeader,children:"SETS"}),e.jsx("th",{className:`${H.colHeader} ${H.border}`,style:{width:"62px"},children:"JUEGOS"}),e.jsx("th",{className:H.colHeader,children:"PTS"})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{className:H.tennisTableRow,children:[e.jsx("td",{className:`${H.cellPlayerNameHome} ${H.hasDivider}`,children:e.jsx("span",{className:H.playerName,children:t})}),e.jsx("td",{className:`${H.cellStat} ${H.cellHome} ${H.hasDivider} ${h?H.active:""}`,children:f}),e.jsx("td",{className:`${H.cellStat} ${H.cellHome} ${H.hasDivider} ${H.border} ${h?H.active:""}`,children:u}),e.jsx("td",{className:`${H.cellStat} ${H.cellHome} ${H.hasDivider} ${h?H.active:""}`,children:r})]}),e.jsxs("tr",{className:H.tennisTableRow,children:[e.jsx("td",{className:H.cellPlayerNameAway,children:e.jsx("span",{className:H.playerName,children:a})}),e.jsx("td",{className:`${H.cellStat} ${H.cellAway} ${_?H.active:""}`,children:p}),e.jsx("td",{className:`${H.cellStat} ${H.cellAway} ${H.border} ${_?H.active:""}`,children:c}),e.jsx("td",{className:`${H.cellStat} ${H.cellAway} ${_?H.active:""}`,children:i})]})]})]})})}const yn="oraculo__OraculoEventEnVivoCard-module__cardWrapper___6b-cT",Sn="oraculo__OraculoEventEnVivoCard-module__cardWrapperTennis___MI-jh",wn="oraculo__OraculoEventEnVivoCard-module__customButtonLabel___QRhk7",jn="oraculo__OraculoEventEnVivoCard-module__customButtonDisabled___jwioF",we={cardWrapper:yn,cardWrapperTennis:Sn,customButtonLabel:wn,customButtonDisabled:jn},dt={base:"FFFFFF",sleeve:"FFFFFF",number:"000000",real:!1,type:"short_sleeves"},ut={base:"000000",sleeve:"000000",number:"FFFFFF",real:!1,type:"short_sleeves"},Fe=(t,a,n="player")=>{var r,i;if(t===void 0)return null;if(t===null)return a==="home"?dt:ut;const o=(i=(r=t==null?void 0:t.jerseys)==null?void 0:r[a])==null?void 0:i[n];return o||(a==="home"?dt:ut)},On={FIRST_HALF:"1er tiempo",SECOND_HALF:"2do tiempo",QUARTER1:"1Q",QUARTER2:"2Q",QUARTER3:"3Q",QUARTER4:"4Q"},mt=t=>{var a;return t?(a=On[t])!=null?a:t:""};function $t({event:t,liveData:a,betOffers:n,jersey:o}){var d,g,y,h,_,$,N,j,A,w,x,S,R,E,b,C,q,B,P,D,W,G,K,U,Q,ee,O,F,m,T;const r=((d=t==null?void 0:t.sport)==null?void 0:d.toUpperCase())==="TENNIS",i=((g=t==null?void 0:t.sport)==null?void 0:g.toUpperCase())==="BASKETBALL",s=((y=t==null?void 0:t.sport)==null?void 0:y.toUpperCase())==="FOOTBALL",l=n==null?void 0:n.find(k=>{var I;return((I=k.betOfferType)==null?void 0:I.id)===2}),f={englishLabel:"",type:"",betOfferId:0,changedDate:"",oddsFractional:"",oddsAmerican:"",status:"INACTIVE",cashOutStatus:"SUSPENDED"},p=()=>{var L,M,V;return`${((V=(M=(L=a==null?void 0:a.statistics)==null?void 0:L.sets)==null?void 0:M.home)!=null?V:[]).reduce((ne,Z,te)=>Z>=0?te:ne,0)+1}ºset`},u=[{...f,id:-1,label:"1",odds:void 0},{...f,id:-2,label:"X",odds:void 0},{...f,id:-3,label:"2",odds:void 0}],c=(h=o==null?void 0:o.gender)!=null?h:"men";return e.jsx("div",{className:`${we.cardWrapper} ${r?we.cardWrapperTennis:""}`,children:e.jsxs(Y.default,{direction:"column",spacing:1,useFlexGap:!0,children:[e.jsxs(Y.default,{direction:"column",spacing:r?1:1.5,useFlexGap:!0,children:[e.jsx(Ot,{title:(N=($=(_=t==null?void 0:t.path)==null?void 0:_[0])==null?void 0:$.name)!=null?N:"",subtitle:(j=t==null?void 0:t.group)!=null?j:"",live:!0,time:r?p():((A=a==null?void 0:a.matchClock)==null?void 0:A.minute)!=null?`${a.matchClock.minute}'`:"",extra:i?mt((w=a==null?void 0:a.matchClock)==null?void 0:w.periodId):""}),e.jsx("div",{children:r?e.jsx(vn,{homeName:t==null?void 0:t.homeName,awayName:t==null?void 0:t.awayName,homeSets:(R=(S=(x=a==null?void 0:a.statistics)==null?void 0:x.sets)==null?void 0:S.home)!=null?R:[],awaySets:(C=(b=(E=a==null?void 0:a.statistics)==null?void 0:E.sets)==null?void 0:b.away)!=null?C:[],homePoints:(B=(q=a==null?void 0:a.score)==null?void 0:q.home)!=null?B:"0",awayPoints:(D=(P=a==null?void 0:a.score)==null?void 0:P.away)!=null?D:"0",homeServe:(K=(G=(W=a==null?void 0:a.statistics)==null?void 0:W.sets)==null?void 0:G.homeServe)!=null?K:!0}):e.jsxs(ce,{spacing:1.5,columns:"1fr auto 1fr",children:[e.jsx(Ne,{name:t==null?void 0:t.homeName,sport:t.sport,gender:c,jersey:Fe(o,"home"),flag:(U=o==null?void 0:o.homeFlag)!=null?U:""}),e.jsx(Qe,{size:i?"basketball":"normal",text:((ee=(Q=a==null?void 0:a.score)==null?void 0:Q.home)!=null?ee:0)+":"+((F=(O=a==null?void 0:a.score)==null?void 0:O.away)!=null?F:0),name:s?mt((m=a==null?void 0:a.matchClock)==null?void 0:m.periodId):""}),e.jsx(Ne,{name:t==null?void 0:t.awayName,sport:t.sport,gender:c,jersey:Fe(o,"away"),flag:(T=o==null?void 0:o.awayFlag)!=null?T:""})]})})]}),e.jsx(Y.default,{direction:"column",spacing:.5,useFlexGap:!0,children:(()=>{var ne;const k=(ne=l==null?void 0:l.outcomes)!=null?ne:u,I={OT_ONE:1,OT_CROSS:2,OT_TWO:3},L=[...k].sort((Z,te)=>{var oe,se;if(Z.displayOrder!==void 0&&te.displayOrder!==void 0)return Z.displayOrder-te.displayOrder;const re=Z.type&&(oe=I[Z.type])!=null?oe:99,me=te.type&&(se=I[te.type])!=null?se:99;return re-me}),M=Z=>{var te,re,me,oe;return r||L.length===2?Z.type==="OT_ONE"?"1":Z.type==="OT_TWO"?"2":(re=(te=Z.label)==null?void 0:te.toUpperCase())!=null?re:"":(oe=(me=Z.label)==null?void 0:me.toUpperCase())!=null?oe:""},V=i||r;return e.jsx(e.Fragment,{children:V?e.jsxs(e.Fragment,{children:[e.jsx(ce,{spacing:1,columns:"1fr",children:e.jsx(Le,{text:"Ganador del partido"})}),e.jsx(ce,{spacing:2,children:L.slice(0,2).map((Z,te)=>e.jsx(ct,{variant:"primary",disabled:Z.odds===void 0||(l==null?void 0:l.cashOutStatus)==="SUSPENDED",onClick:()=>{Pe("/deportes#event/live/"+t.id,Z.id)},className:we.customButtonDisabled,children:e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"0 4px"},children:[e.jsx("span",{style:{fontSize:"12px"},children:M(Z)}),e.jsx("span",{className:we.customButtonLabel,children:Z.odds===void 0?"":(Z.odds/1e3).toFixed(2)})]})},Z.id||te))})]}):e.jsxs(e.Fragment,{children:[e.jsx(ce,{spacing:1,children:L.map((Z,te)=>e.jsx(Le,{text:M(Z)},Z.id||te))}),e.jsx(ce,{spacing:2,children:L.map((Z,te)=>e.jsx(ct,{variant:"primary",disabled:Z.odds===void 0||(l==null?void 0:l.cashOutStatus)==="SUSPENDED",onClick:()=>{Pe("/deportes#event/live/"+t.id,Z.id)},className:we.customButtonDisabled,children:e.jsx("span",{className:we.customButtonLabel,children:Z.odds===void 0?"":(Z.odds/1e3).toFixed(2)})},Z.id||te))})]})})})()})]})})}const In="oraculo__OraculoEventDate-module__date___xhIlh",En={date:In};function Cn({text:t}){return e.jsx("div",{className:`oli-font ${En.date}`,children:t})}const Tn="oraculo__OraculoEventSemanaCard-module__cardContainer___4JuDe",kn="oraculo__OraculoEventSemanaCard-module__cardBackground___vfalD",Nn="oraculo__OraculoEventSemanaCard-module__jugadas___W8b7H",$n="oraculo__OraculoEventSemanaCard-module__equipos___G5hLn",je={cardContainer:Tn,cardBackground:kn,jugadas:Nn,equipos:$n};function Rt({event:t,jersey:a}){var l,f,p,u;const n=ie.useCaptureInteraction(),o=le();function r(c){const d=new Date(c),g=d.toLocaleDateString("es-ES",{weekday:"short"}).toUpperCase(),y=d.getDate().toString().padStart(2,"0"),h=(d.getMonth()+1).toString().padStart(2,"0");let _=d.toLocaleTimeString("es-PE",{hour:"numeric",minute:"2-digit",hour12:!0}).toUpperCase();return _=_.replace(/\./g,"").replace(/A\s*M/i,"AM").replace(/P\s*M/i,"PM"),`${g} ${y}/${h} | ${_}`}const i=c=>{var N,j,A,w,x,S,R,E;const d=`/deportes#event/${t.id}`,g=`${t.homeName} vs ${t.awayName}`,y=c.odds?(c.odds/1e3).toFixed(2):"",h=y?`${g} - Cuota: ${y}`:g,_=(N=t==null?void 0:t.outcome)==null?void 0:N[0],$=new CustomEvent("ORACULO_WEEKLY_OUTCOME_SELECTED",{cancelable:!0,detail:{eventId:t.id,eventName:t.name,homeName:t.homeName,awayName:t.awayName,start:t.start,sport:t.sport,league:t.group,leagueId:t.groupId,country:(A=(j=t.path)==null?void 0:j[1])==null?void 0:A.name,outcomeId:c.id,outcomeLabel:c.label,outcomeType:c.type,odds:c.odds,betOfferId:(w=c.betOfferId)!=null?w:_==null?void 0:_.id,criterionId:(x=_==null?void 0:_.criterion)==null?void 0:x.id,market:(E=(S=_==null?void 0:_.criterion)==null?void 0:S.label)!=null?E:(R=_==null?void 0:_.betOfferType)==null?void 0:R.name,destination:d}});document.dispatchEvent($)&&(n({element:"evento_semana_outcome",label:`Landing: ${o} - OraculoEventSemanaCard - Click: ${h}`,target:d,event_type:"click",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoEventSemanaCard",outcomes:h}}),Pe(d,c.id))},s=(l=a==null?void 0:a.gender)!=null?l:"men";return e.jsxs("div",{className:je.cardContainer,children:[e.jsx(Xe,{title:(f=t==null?void 0:t.group)!=null?f:""}),e.jsx("div",{className:je.cardBackground,children:e.jsxs(Y.default,{direction:"column",spacing:{xs:.5,md:1},useFlexGap:!0,children:[e.jsxs(Y.default,{direction:"column",spacing:1,useFlexGap:!0,children:[e.jsxs("div",{className:je.equipos,children:[e.jsx(Ne,{name:t.homeName,sport:t.sport,gender:s,size:"compact",jersey:Fe(a,"home"),flag:(p=a==null?void 0:a.homeFlag)!=null?p:""}),e.jsx(Qe,{text:"vs.",name:"",size:"small"}),e.jsx(Ne,{name:t.awayName,sport:t.sport,gender:s,size:"compact",jersey:Fe(a,"away"),flag:(u=a==null?void 0:a.awayFlag)!=null?u:""})]}),e.jsx(Cn,{text:r(t.start)})]}),e.jsx(Y.default,{direction:"column",spacing:{xs:.5,md:1},useFlexGap:!0,children:(()=>{var _,$,N;const c=(N=($=(_=t==null?void 0:t.outcome)==null?void 0:_[0])==null?void 0:$.outcomes)!=null?N:[],d=(t==null?void 0:t.sport)==="TENNIS",g={OT_ONE:1,OT_CROSS:2,OT_TWO:3},y=[...c].sort((j,A)=>{var S,R;if(j.displayOrder!==void 0&&A.displayOrder!==void 0)return j.displayOrder-A.displayOrder;const w=j.type&&(S=g[j.type])!=null?S:99,x=A.type&&(R=g[A.type])!=null?R:99;return w-x}),h=j=>{var A,w,x,S;return d||y.length===2?j.type==="OT_ONE"?"1":j.type==="OT_TWO"?"2":(w=(A=j.label)==null?void 0:A.toUpperCase())!=null?w:"":(S=(x=j.label)==null?void 0:x.toUpperCase())!=null?S:""};return e.jsxs(e.Fragment,{children:[e.jsx(ce,{spacing:1,children:y.map((j,A)=>e.jsx(Le,{text:h(j)},j.id||A))}),e.jsx("div",{className:je.jugadas,children:e.jsx(ce,{spacing:1,children:y.map((j,A)=>e.jsx(ae,{variant:"primary",fullHeight:!0,onClick:()=>i(j),children:(j.odds/1e3).toFixed(2)},j.id||A))})})]})})()})]})})]})}const Rn=(t=3)=>Array.from({length:t},(a,n)=>({body:"",image:"",title:`sk-${n}`,summary_body:"",summary_title:"",groups_forbidden:[],groups_allowed:[],promotion:"",tags:"",summary_image:""}));function Mt({items:t,title:a="Destacados",iconUrl:n="https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",onViewMore:o,onItemClick:r,className:i="",paddingMobile:s="24px"}){var w;const l=v.useRef(null),[f,p]=v.useState({isStart:!0,isEnd:!1}),u=ie.useCaptureInteraction(),c=le(),d=ue(),g=!t||t.length===0,y=()=>{var x;u({element:"destacados_carousel_prev",label:`${c} - OraculoSeccionDestacados - Anterior`,target:"carousel",event_type:"click",module_id:d,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionDestacados"}}),(x=l.current)==null||x.prev()},h=()=>{var x;u({element:"destacados_carousel_next",label:`${c} - OraculoSeccionDestacados - Siguiente`,target:"carousel",event_type:"click",module_id:d,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionDestacados"}}),(x=l.current)==null||x.next()},_=()=>{u({element:"destacados_view_more",label:`${c} - OraculoSeccionDestacados - Ver más`,target:"https://www.olimpo.bet/promociones",event_type:"click",module_id:d,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionDestacados"}}),typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign("https://www.olimpo.bet/promociones")},$=i||void 0,N=Ce.default("(max-width:950px)"),j=(w=t==null?void 0:t.length)!=null?w:0;v.useEffect(()=>{if(j===0){p({isStart:!0,isEnd:!0});return}p({isStart:!0,isEnd:!1})},[j,N,s]);const A=x=>{const S=x.promotion,R=S?`https://www.olimpo.bet/promociones/${encodeURIComponent(S)}`:"";if(u({element:"destacados_card",label:`${c} - OraculoSeccionDestacados - Click: ${S||x.title}`,target:R||"custom_item_action",event_type:"click",module_id:d,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionDestacados",promotion:String(S||"")}}),r){r(x);return}R&&typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign(R)};return e.jsxs("section",{className:$,style:{width:"100%"},children:[e.jsxs("header",{style:{display:"grid",gridTemplateColumns:"1fr auto auto",alignItems:"center",columnGap:12,rowGap:8,marginBottom:16,paddingLeft:N?s:0,paddingRight:N?s:0},children:[e.jsx(be,{title:a,iconUrl:n,size:"md"}),e.jsxs("div",{style:{display:"flex",gap:8},children:[e.jsx(ae,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(ye.ChevronLeftRounded,{}),onClick:y,disabled:f.isStart||g}),e.jsx(ae,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(ye.ChevronRightRounded,{}),onClick:h,disabled:f.isEnd||g})]}),e.jsx(ae,{variant:"secondary",onClick:_,children:"Ver más"})]}),e.jsx(xe,{ref:l,items:g?Rn():t,perPage:void 0,gap:"16px",enableHorizontalWheel:!0,showRightGradient:!N,options:{autoWidth:!0,trimSpace:"move"},breakpoints:{768:{perPage:2,focus:"start",padding:{left:s,right:s}},1024:{perPage:2.5,focus:"start",padding:{left:"24px",right:"24px"}}},renderItem:x=>{const S=typeof window!="undefined"&&window.innerWidth<768?"80px":"137px";return g?e.jsx("div",{style:{width:"100%"},children:e.jsx(X.default,{variant:"rectangular",width:"100%",height:S,sx:{borderRadius:"8px",bgcolor:"rgba(255,255,255,0.10)","&::after":{background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent)"}}})},x.title):e.jsx("div",{style:{textAlign:"center",cursor:"pointer"},onClick:()=>A(x),children:e.jsx("img",{src:`https://olimpo.bet${x.image!==""?x.image:x.summary_image}`,alt:x.title,style:{width:"100%",height:S,borderRadius:8,display:"block",objectFit:"cover"}})},`${x.title}-${x.image}`)},onMove:({isStart:x,isEnd:S,source:R})=>{p({isStart:x,isEnd:S}),R==="user"&&u({element:"destacados_carousel_slide",label:`${c} - OraculoSeccionDestacados - Slide Carousel`,target:"carousel",event_type:"slide",module_id:d,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",isStart:x,isEnd:S},tags:{section:"OraculoSeccionDestacados"}})}})]})}const Be="__ORACULO_EXTRAS__";function At(){const t=globalThis;return t[Be]||(t[Be]={}),t[Be]}function Mn(t){At().extras=t}function de(t){var a;return(a=At().extras)==null?void 0:a[t]}function An(){delete globalThis[Be]}const Bn="https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularidad/events",Ln=()=>{var a,n,o;const t=de("user");return(o=(n=(a=t==null?void 0:t.userId)!=null?a:t==null?void 0:t.user)!=null?n:t==null?void 0:t.id)!=null?o:null},ze=t=>{if(!t)return;const a=Ln();fetch(Bn,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:a!=null?String(a):null,itemId:String(t)})}).catch(n=>{console.error("[trackPopularityEvent] error al registrar evento:",n)})};function tt({items:t,title:a="Top Juegos",iconUrl:n,onCardClick:o}){const r=ie.useCaptureInteraction(),i=le(),s=ue(),l=v.useMemo(()=>(t!=null?t:[]).map((c,d)=>{var g;return{...c,orden:(g=c.orden)!=null?g:d+1,_originalIndex:d}}).sort((c,d)=>c.orden!=null&&d.orden!=null?c.orden-d.orden:c._originalIndex-d._originalIndex),[t]),f=!t||t.length===0,p=f?Array.from({length:6}):l.slice(0,6),u=c=>{r({element:"top_juegos_card",label:`${i} - OraculoSeccionTopJuegos - Open game: ${String(c.machine||"unknown")}`,target:String(c.machine||"unknown"),event_type:"click",module_id:s,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{game_name:String(c.machine||"unknown"),section:"OraculoSeccionTopJuegos"}}),ze(String(c.machine||""));const d=de("showIframe"),g=de("loadMachine");d==null||d(),requestAnimationFrame(()=>{g==null||g(c,!1,"CASINO")})};return e.jsx("section",{style:{width:"100%"},children:e.jsxs(Y.default,{direction:"column",spacing:2,useFlexGap:!0,children:[e.jsx(be,{title:a,iconUrl:n,size:"md"}),e.jsx(z.default,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(3, minmax(0, 1fr))",md:"repeat(6, minmax(0, 1fr))"},gap:{xs:1.5,md:2},justifyItems:"center",width:"100%"},children:p.map((c,d)=>{var g,y;return e.jsx(It,{imageUrl:f?"":c.background?`https://olimpo.bet${c.background}`:`https://olimpo.bet${(g=c.logo)!=null?g:""}`,orden:f?d+1:c.orden,loading:f,onClick:f?void 0:()=>{o==null||o(c),u(c)}},f?`sk-${d}`:(y=c.machine)!=null?y:`${d}`)})})]})})}const Pn="https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularidad?type=popularidad",Fn=8,qn=80,zn={Casino:"Casino","Casino en vivo":"Live","Deportes virtuales":"Virtuales"},Un=(t,a)=>{var n,o,r,i,s,l,f,p,u,c,d,g,y,h,_;return{orden:Number(a),machine:String((n=t.id)!=null?n:t.external_id),logo:(o=t.logo)!=null?o:"",name:(r=t.room_name)!=null?r:"",web_name:(i=t.room_name)!=null?i:"",provider:String((s=t.provider)!=null?s:"").toLowerCase(),sub_provider:(l=t.service)!=null?l:"",external_id:(f=t.external_id)!=null?f:"",type:(u=(p=zn[t.product])!=null?p:t.product)!=null?u:"",tags:(c=t.tags)!=null?c:"",lobby_tag:(d=t.lobby_tag)!=null?d:null,background:(g=t.background)!=null?g:"",rtp:(y=t.rtp)!=null?y:null,demo_allowed:(h=t.demo_allowed)!=null?h:!1,gaming_session_required:(_=t.gaming_session_required)!=null?_:!1}},Vn=(t,a)=>{if(!t)return[];const n=Array.isArray(t)?t:t.recommendations;return Array.isArray(n)?n.filter(o=>o&&o.itemId!=null&&o.productType===a).map(o=>String(o.itemId)):[]},Wn=async t=>{const a=await fetch(Pn);if(!a.ok)throw new Error(`No se pudo obtener la popularidad. HTTP ${a.status} ${a.statusText}`);const n=await a.json();return Vn(n,t)},Dn=async(t,a,n)=>{const o=[];let r=0,i=null;const s=()=>{i||n()||(i=setTimeout(()=>{i=null,n()||a(o.filter(Boolean))},qn))},l=async()=>{for(;r<t.length;){if(n())return;const p=r++,u=t[p];try{const c=await fetch(`https://api.mktolimpo.com/api/machine/${u}`);if(!c.ok)throw new Error(`No se pudo obtener machine ${u}`);const d=await c.json();o[p]=Un(d,p),s()}catch(c){console.error(`[usePersonalizeGameItems] error al obtener machine ${u}:`,c)}}},f=Array.from({length:Math.min(Fn,t.length)},()=>l());await Promise.all(f),i&&clearTimeout(i),n()||a(o.filter(Boolean))},at=(t,a=!1,n="Casino")=>{const[o,r]=v.useState([]),[i,s]=v.useState(!1);return v.useEffect(()=>{a||(r(Array.isArray(t)?t:[]),s(!1))},[t,a]),v.useEffect(()=>{if(!a)return;let l=!1;return(async()=>{s(!0),r([]);try{const p=await Wn(n);if(!p.length){l||r([]);return}await Dn(p,u=>{l||(r(u),s(!1))},()=>l)}catch(p){console.error(`[usePersonalizeGameItems:${n}] error:`,p),l||r([])}finally{l||s(!1)}})(),()=>{l=!0}},[a,n]),{resolvedItems:o,loading:i}},Gn=(t,a=!1)=>at(t,a,"Casino"),Hn=(t,a=!1)=>at(t,a,"Deportes virtuales"),Kn=(t,a=!1)=>at(t,a,"Casino en vivo"),Zn=(t,a)=>{var n,o;return(o=(n=t.orden)!=null?n:t.machine)!=null?o:a},Jn=t=>{if(typeof t=="boolean")return t;if(typeof t=="string")return t.toLowerCase()==="true";if(t&&typeof t=="object"){if(typeof t.value=="boolean")return t.value;if(typeof t.value=="string")return t.value.toLowerCase()==="true"}return!1},Bt=({items:t,title:a="Casino en vivo",subtitle:n="Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",backgroundMobileUrl:o="",onCardClick:r,backgroundDesktopUrl:i="",onViewMore:s,className:l,isPersonalize:f=!1,isCasino:p=!0,isLoggedIn:u=!1,onToggleFavorite:c})=>{const d=ie.useCaptureInteraction(),g=le(),y=ue(),h=Jn(f),{resolvedItems:_,loading:$}=Kn(t,h),N=h?_:Array.isArray(t)?t:[],j=h?$:!Array.isArray(t)||t.length===0,A=v.useCallback((S,R)=>{if(!c)return;const E=!!S.favourite;R!==E&&c(S,R)},[c]),w=S=>{d({element:"live_casino_card",label:`${g} - OraculoSeccionCasinoEnVivo${h?" - personalize":""} - Open game: ${String(S.machine||"unknown")}`,target:String(S.machine||"unknown"),event_type:"click",module_id:y,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{game_name:String(S.machine||"unknown"),provider:S.provider||"unknown",section:"OraculoSeccionCasinoEnVivo"}});const R=de("showIframe"),E=de("loadMachine");if(!E){if(r){r(S);return}console.warn("[OraculoSeccionCasinoEnVivo] No existe loadMachine en extras ni onCardClick. No se puede abrir el juego.",{machine:S==null?void 0:S.machine,provider:S==null?void 0:S.provider});return}ze(String(S.machine||"")),R==null||R(),typeof window!="undefined"&&window.scrollTo({top:0,behavior:"smooth"}),requestAnimationFrame(()=>{E==null||E(S,!1,"casino_en_vivo")})},x=()=>{d({element:"casino_en_vivo_view_more",label:`${g} - OraculoSeccionCasinoEnVivo${h?" - personalize":""} - Ver más`,target:"https://www.olimpo.bet/casino-en-vivo",event_type:"click",module_id:y,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionCasinoEnVivo"}}),typeof globalThis!="undefined"&&globalThis.location&&(s?s():globalThis.location.assign("https://www.olimpo.bet/casino-en-vivo"))};return e.jsxs(z.default,{className:l,sx:{position:"relative",color:"white",overflow:"hidden"},children:[e.jsx(z.default,{sx:{position:"absolute",inset:0,backgroundImage:{xs:`
2
2
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
3
3
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
4
4
  url('${o}')
5
5
  `,md:`
6
6
  linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
7
7
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
8
- url('${l}')
9
- `},backgroundSize:{xs:"cover",md:"cover"},backgroundPosition:"center",backgroundRepeat:"no-repeat",zIndex:0}}),e.jsxs(q.default,{sx:{position:"relative",zIndex:1,maxWidth:1200,height:{xs:"450px",md:"590px"},mx:"auto",px:{xs:2.5,md:6},display:"flex",flexDirection:{xs:"column",md:"row"},alignItems:{xs:"center",md:"center"},justifyContent:"center",gap:{xs:0,md:15},textAlign:{xs:"center",md:"left"}},children:[e.jsxs(Q.default,{spacing:3,sx:{maxWidth:{md:280}},children:[e.jsx(ue.default,{variant:"h4",sx:{fontWeight:800,fontSize:{xs:24,md:40},WebkitTextStroke:"0.5px rgba(255, 255, 255, .5)",textShadow:"0 0 2px rgba(255, 255, 255, .95),0 0 4px rgba(255, 255, 255, .6),0 1px 0 #898989"},children:a}),e.jsx(ue.default,{sx:{fontSize:{xs:14,md:18},color:"rgba(255,255,255,0.9)",marginX:{xs:4,md:0},lineHeight:1.5},children:n}),e.jsx(q.default,{sx:{display:{xs:"none",md:"block"}},children:e.jsx(ee,{variant:"primary",size:"md",onClick:_,children:"Ver más"})})]}),e.jsx(q.default,{sx:{display:"flex",gap:{xs:2,md:3},justifyContent:"center",overflowX:{xs:"auto",md:"visible"},py:{xs:3,md:0},alignItems:"center"},children:O?Array.from({length:3}).map((w,M)=>e.jsx(Ze,{loading:!0,logo:""},`sk-${M}`)):(T!=null?T:[]).slice(0,3).map((w,M)=>{var E;return e.jsx(Ze,{logo:`https://olimpo.bet${w.background?w.background:(E=w.logo)!=null?E:""}`,isLogin:m,provider:w.provider,providerName:w.web_name,machine:w.machine,onClick:()=>j(w),existFavorite:f,isFavorite:m?!!w.favourite:void 0,onToggleFavorite:m&&d?x=>A(w,x):void 0},Hn(w,M))})}),e.jsx(q.default,{sx:{display:{xs:"block",md:"none"}},children:e.jsx(ee,{variant:"primary",size:"lg",onClick:_,children:"Ver más"})})]})]})},Kn=t=>{if(typeof t=="boolean")return t;if(typeof t=="string")return t.toLowerCase()==="true";if(t&&typeof t=="object"){if(typeof t.value=="boolean")return t.value;if(typeof t.value=="string")return t.value.toLowerCase()==="true"}return!1},Bt=(t,a)=>{var n,o;return(o=(n=t.orden)!=null?n:t.machine)!=null?o:a},Jn=(t,a=!0,n=1)=>{const o=t.map((i,c)=>{var g;return{id:Bt(i,c),imageUrl:(g=i.logo)!=null?g:"",...i.background?{background:i.background}:{}}});if(!o.length)return[];const s=[];let l=0;if(a){const i=Math.min(o.length,1);s.push({id:"mosaic-0",kind:"mosaic",items:o.slice(0,i)}),l=i}for(;l<o.length;){const i=Math.min(l+n,o.length);s.push({id:`grid-${l}`,kind:"grid",items:o.slice(l,i)}),l=i}return s},Lt=({items:t,title:a="Casino",iconUrl:n="/assets/img/home/Casino/diamante.svg",onItemClick:o,onViewMore:s,mosaicFirst:l=!0,gridSize:i=1,isPersonalize:c=!1})=>{const g=oe.useCaptureInteraction(),f=re(),m=le(),d=S.useRef(null),[u,h]=S.useState({isStart:!0,isEnd:!1}),y=Kn(c),{resolvedItems:b,loading:v}=Wn(t,y),R=y?b:Array.isArray(t)?t:[],T=()=>{var E;g({element:"casino_prev",label:`${f} - OraculoSeccionCasino ${c?" - personalize":""} - Anterior`,target:"prev",event_type:"click",module_id:m,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionCasino"}}),(E=d.current)==null||E.prev()},O=()=>{var E;g({element:"casino_next",label:`${f} - OraculoSeccionCasino ${c?" - personalize":""} - Siguiente`,target:"next",event_type:"click",module_id:m,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionCasino"}}),(E=d.current)==null||E.next()},A=()=>{if(g({element:"casino_view_more",label:`${f} - OraculoSeccionCasino ${c?" - personalize":""} - Ver más`,target:"https://www.olimpo.bet/casino",event_type:"click",module_id:m,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionCasino"}}),s){s();return}typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign("https://www.olimpo.bet/casino")},j=(E=!0,x=4)=>{const I=B=>Array.from({length:B},(L,U)=>({id:`sk-${B}-${U}`,imageUrl:""})),P=[];return E&&P.push({id:"mosaic-loading",kind:"mosaic",items:I(5)}),P.push({id:"grid-loading",kind:"grid",items:I(x)}),P},_=y?v:!Array.isArray(t)||t.length===0,w=H.useMediaQuery("(max-width:950px)"),M=_?j(l,i):Jn(R,l,i);return e.jsx("section",{children:e.jsxs(Q.default,{direction:"column",spacing:2,useFlexGap:!0,children:[e.jsxs(q.default,{sx:{display:"grid",gridTemplateColumns:"1fr auto auto",alignItems:"center",columnGap:1.5,rowGap:1,px:0,"@media (max-width: 1024px)":{px:3}},children:[e.jsx(pe,{title:a,iconUrl:n,size:"md"}),e.jsxs(q.default,{sx:{display:"flex",gap:1,justifyContent:"flex-end"},children:[e.jsx(ee,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(vt.default,{}),onClick:T,disabled:u.isStart}),e.jsx(ee,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(yt.default,{}),onClick:O,disabled:u.isEnd})]}),e.jsx(q.default,{sx:{justifySelf:"end"},children:e.jsx(ee,{variant:"secondary",onClick:A,children:"Ver más"})})]}),e.jsx(fe,{ref:d,items:M,perPage:void 0,gap:"16px",enableHorizontalWheel:!0,options:{autoWidth:!0,trimSpace:"move"},showRightGradient:!w,breakpoints:{400:{gap:"4px",focus:"center",padding:{left:"24px",right:"24px"}},768:{gap:"8px",focus:"center",padding:{left:"24px",right:"24px"}},1024:{gap:"10px",focus:"center",padding:{left:"24px",right:"24px"}}},renderItem:E=>e.jsx("div",{style:{alignSelf:"start"},children:e.jsx(Ye,{items:E.items,layout:E.kind==="mosaic"?"mosaic":"grid",loading:_,onClick:x=>{if(_)return;const I=R.find((L,U)=>String(Bt(L,U))===String(x.id));if(!I)return;o==null||o(I),g({element:"casino_game_card",label:`${f} - OraculoSeccionCasino ${c?" - personalize":""} - Game: ${String(I.machine||"unknown")}`,target:String(I.machine||"unknown"),event_type:"click",module_id:m,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{game_name:String(I.machine||"unknown"),section:a||"Casino"}});const P=ie("showIframe"),B=ie("loadMachine");ze(String(I.machine||"")),P==null||P(),requestAnimationFrame(()=>{B==null||B(I,!1,"CASINO")})}})}),onMove:({isStart:E,isEnd:x})=>h({isStart:E,isEnd:x})})]})})},Xn=t=>{if(typeof t=="boolean")return t;if(typeof t=="string")return t.toLowerCase()==="true";if(t&&typeof t=="object"){if(typeof t.value=="boolean")return t.value;if(typeof t.value=="string")return t.value.toLowerCase()==="true"}return!1},Pt=(t,a)=>{var n,o;return(o=(n=t.orden)!=null?n:t.machine)!=null?o:a},Qn=(t,a=!0,n=1)=>{const o=t.map((i,c)=>{var g;return{id:Pt(i,c),imageUrl:(g=i.logo)!=null?g:"",...i.background?{background:i.background}:{}}});if(!o.length)return[];const s=[];let l=0;if(a){const i=Math.min(o.length,1);s.push({id:"mosaic-0",kind:"mosaic",items:o.slice(0,i)}),l=i}for(;l<o.length;){const i=Math.min(l+n,o.length);s.push({id:`grid-${l}`,kind:"grid",items:o.slice(l,i)}),l=i}return s},Yn=(t=!0,a=4)=>{const n=s=>Array.from({length:s},(l,i)=>({id:`sk-${s}-${i}`,imageUrl:""})),o=[];return t&&o.push({id:"mosaic-loading",kind:"mosaic",items:n(5)}),o.push({id:"grid-loading",kind:"grid",items:n(a)}),o},Ft=({items:t,title:a="Virtuales",iconUrl:n="/assets/img/home/Virtuales/virtuales.svg",onItemClick:o,onViewMore:s,mosaicFirst:l=!0,gridSize:i=1,isPersonalize:c=!1})=>{const g=S.useRef(null),[f,m]=S.useState({isStart:!0,isEnd:!1}),d=oe.useCaptureInteraction(),u=re(),h=le(),y=Xn(c),{resolvedItems:b,loading:v}=Dn(t,y),R=y?b:Array.isArray(t)?t:[],T=()=>{var M;d({element:"virtuales_prev",label:`${u} - OraculoSeccionVirtuales${y?" - personalize":""} - Anterior`,target:"prev",event_type:"click",module_id:h,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionVirtuales"}}),(M=g.current)==null||M.prev()},O=()=>{var M;d({element:"virtuales_next",label:`${u} - OraculoSeccionVirtuales${y?" - personalize":""} - Siguiente`,target:"next",event_type:"click",module_id:h,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionVirtuales"}}),(M=g.current)==null||M.next()},A=()=>{if(d({element:"virtuales_view_more",label:`${u} - OraculoSeccionVirtuales${y?" - personalize":""} - Ver más`,target:"https://www.olimpo.bet/juegos-virtuales",event_type:"click",module_id:h,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionVirtuales"}}),s){s();return}typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales")},j=y?v:!Array.isArray(t)||t.length===0,_=Ee.default("(max-width:950px)"),w=j?Yn(l,i):Qn(R,l,i);return e.jsx("section",{children:e.jsxs(Q.default,{direction:"column",spacing:2,useFlexGap:!0,children:[e.jsxs(q.default,{sx:{display:"grid",gridTemplateColumns:"1fr auto auto",alignItems:"center",columnGap:1.5,rowGap:1,px:0,"@media (max-width: 1024px)":{px:3}},children:[e.jsx(pe,{title:a,iconUrl:n,size:"md"}),e.jsxs(q.default,{sx:{display:"flex",gap:1,justifyContent:"flex-end"},children:[e.jsx(ee,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(vt.default,{}),onClick:T,disabled:f.isStart}),e.jsx(ee,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(yt.default,{}),onClick:O,disabled:f.isEnd})]}),e.jsx(q.default,{sx:{justifySelf:"end"},children:e.jsx(ee,{variant:"secondary",onClick:A,children:"Ver más"})})]}),e.jsx(fe,{ref:g,items:w,perPage:void 0,gap:"16px",breakpoints:{400:{gap:"4px",focus:"center",padding:{left:"24px",right:"24px"}},768:{gap:"8px",focus:"center",padding:{left:"24px",right:"24px"}},1024:{gap:"10px",focus:"center",padding:{left:"24px",right:"24px"}}},enableHorizontalWheel:!0,showRightGradient:!_,options:{autoWidth:!0,trimSpace:"move"},renderItem:M=>e.jsx("div",{style:{alignSelf:"start"},children:e.jsx(Ye,{items:M.items,layout:M.kind==="mosaic"?"mosaic":"grid",loading:j,onClick:E=>{if(j)return;const x=R.find((B,L)=>String(Pt(B,L))===String(E.id));if(!x){console.warn("[virtuales] no se encontró game para id:",E.id);return}o==null||o(x),d({element:"virtuales_game_card",label:`${u} - OraculoSeccionVirtuales${y?" - personalize":""} - Game: ${String(x.machine||"unknown")}`,target:String(x.machine||"unknown"),event_type:"click",module_id:h,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{game_name:String(x.machine||"unknown"),section:a||"Virtuales"}}),ze(String(x.machine||""));const I=ie("showIframe"),P=ie("loadMachine");I==null||I(),requestAnimationFrame(()=>{P==null||P(x,!1,y?"VIRTUALES_PERSONALIZE":"VIRTUALES")})}})}),onMove:({isStart:M,isEnd:E})=>m({isStart:M,isEnd:E})})]})})},eo=t=>({position:"relative",py:8,color:"#fff",backgroundImage:`
8
+ url('${i}')
9
+ `},backgroundSize:{xs:"cover",md:"cover"},backgroundPosition:"center",backgroundRepeat:"no-repeat",zIndex:0}}),e.jsxs(z.default,{sx:{position:"relative",zIndex:1,maxWidth:1200,height:{xs:"450px",md:"590px"},mx:"auto",px:{xs:2.5,md:6},display:"flex",flexDirection:{xs:"column",md:"row"},alignItems:{xs:"center",md:"center"},justifyContent:"center",gap:{xs:0,md:15},textAlign:{xs:"center",md:"left"}},children:[e.jsxs(Y.default,{spacing:3,sx:{maxWidth:{md:280}},children:[e.jsx(ge.default,{variant:"h4",sx:{fontWeight:800,fontSize:{xs:24,md:40},WebkitTextStroke:"0.5px rgba(255, 255, 255, .5)",textShadow:"0 0 2px rgba(255, 255, 255, .95),0 0 4px rgba(255, 255, 255, .6),0 1px 0 #898989"},children:a}),e.jsx(ge.default,{sx:{fontSize:{xs:14,md:18},color:"rgba(255,255,255,0.9)",marginX:{xs:4,md:0},lineHeight:1.5},children:n}),e.jsx(z.default,{sx:{display:{xs:"none",md:"block"}},children:e.jsx(ae,{variant:"primary",size:"md",onClick:x,children:"Ver más"})})]}),e.jsx(z.default,{sx:{display:"flex",gap:{xs:2,md:3},justifyContent:"center",overflowX:{xs:"auto",md:"visible"},py:{xs:3,md:0},alignItems:"center"},children:j?Array.from({length:3}).map((S,R)=>e.jsx(Ke,{loading:!0,logo:""},`sk-${R}`)):(N!=null?N:[]).slice(0,3).map((S,R)=>{var E;return e.jsx(Ke,{logo:`https://olimpo.bet${S.background?S.background:(E=S.logo)!=null?E:""}`,isLogin:u,provider:S.provider,providerName:S.web_name,machine:S.machine,onClick:()=>w(S),existFavorite:p,isFavorite:u?!!S.favourite:void 0,onToggleFavorite:u&&c?b=>A(S,b):void 0},Zn(S,R))})}),e.jsx(z.default,{sx:{display:{xs:"block",md:"none"}},children:e.jsx(ae,{variant:"primary",size:"lg",onClick:x,children:"Ver más"})})]})]})},Xn=t=>{if(typeof t=="boolean")return t;if(typeof t=="string")return t.toLowerCase()==="true";if(t&&typeof t=="object"){if(typeof t.value=="boolean")return t.value;if(typeof t.value=="string")return t.value.toLowerCase()==="true"}return!1},Lt=(t,a)=>{var n,o;return(o=(n=t.orden)!=null?n:t.machine)!=null?o:a},Qn=(t,a=!0,n=1)=>{const o=t.map((s,l)=>{var f;return{id:Lt(s,l),imageUrl:(f=s.logo)!=null?f:"",...s.background?{background:s.background}:{}}});if(!o.length)return[];const r=[];let i=0;if(a){const s=Math.min(o.length,1);r.push({id:"mosaic-0",kind:"mosaic",items:o.slice(0,s)}),i=s}for(;i<o.length;){const s=Math.min(i+n,o.length);r.push({id:`grid-${i}`,kind:"grid",items:o.slice(i,s)}),i=s}return r},Pt=({items:t,title:a="Casino",iconUrl:n="/assets/img/home/Casino/diamante.svg",onItemClick:o,onViewMore:r,mosaicFirst:i=!0,gridSize:s=1,isPersonalize:l=!1})=>{const f=ie.useCaptureInteraction(),p=le(),u=ue(),c=v.useRef(null),[d,g]=v.useState({isStart:!0,isEnd:!1}),y=Xn(l),{resolvedItems:h,loading:_}=Gn(t,y),$=y?h:Array.isArray(t)?t:[],N=()=>{var E;f({element:"casino_prev",label:`${p} - OraculoSeccionCasino ${l?" - personalize":""} - Anterior`,target:"prev",event_type:"click",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionCasino"}}),(E=c.current)==null||E.prev()},j=()=>{var E;f({element:"casino_next",label:`${p} - OraculoSeccionCasino ${l?" - personalize":""} - Siguiente`,target:"next",event_type:"click",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionCasino"}}),(E=c.current)==null||E.next()},A=()=>{if(f({element:"casino_view_more",label:`${p} - OraculoSeccionCasino ${l?" - personalize":""} - Ver más`,target:"https://www.olimpo.bet/casino",event_type:"click",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionCasino"}}),r){r();return}typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign("https://www.olimpo.bet/casino")},w=(E=!0,b=4)=>{const C=B=>Array.from({length:B},(P,D)=>({id:`sk-${B}-${D}`,imageUrl:""})),q=[];return E&&q.push({id:"mosaic-loading",kind:"mosaic",items:C(5)}),q.push({id:"grid-loading",kind:"grid",items:C(b)}),q},x=y?_:!Array.isArray(t)||t.length===0,S=J.useMediaQuery("(max-width:950px)"),R=x?w(i,s):Qn($,i,s);return e.jsx("section",{children:e.jsxs(Y.default,{direction:"column",spacing:2,useFlexGap:!0,children:[e.jsxs(z.default,{sx:{display:"grid",gridTemplateColumns:"1fr auto auto",alignItems:"center",columnGap:1.5,rowGap:1,px:0,"@media (max-width: 1024px)":{px:3}},children:[e.jsx(be,{title:a,iconUrl:n,size:"md"}),e.jsxs(z.default,{sx:{display:"flex",gap:1,justifyContent:"flex-end"},children:[e.jsx(ae,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(yt.default,{}),onClick:N,disabled:d.isStart}),e.jsx(ae,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(St.default,{}),onClick:j,disabled:d.isEnd})]}),e.jsx(z.default,{sx:{justifySelf:"end"},children:e.jsx(ae,{variant:"secondary",onClick:A,children:"Ver más"})})]}),e.jsx(xe,{ref:c,items:R,perPage:void 0,gap:"16px",enableHorizontalWheel:!0,options:{autoWidth:!0,trimSpace:"move"},showRightGradient:!S,breakpoints:{400:{gap:"4px",focus:"center",padding:{left:"24px",right:"24px"}},768:{gap:"8px",focus:"center",padding:{left:"24px",right:"24px"}},1024:{gap:"10px",focus:"center",padding:{left:"24px",right:"24px"}}},renderItem:E=>e.jsx("div",{style:{alignSelf:"start"},children:e.jsx(Ye,{items:E.items,layout:E.kind==="mosaic"?"mosaic":"grid",loading:x,onClick:b=>{if(x)return;const C=$.find((P,D)=>String(Lt(P,D))===String(b.id));if(!C)return;o==null||o(C),f({element:"casino_game_card",label:`${p} - OraculoSeccionCasino ${l?" - personalize":""} - Game: ${String(C.machine||"unknown")}`,target:String(C.machine||"unknown"),event_type:"click",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{game_name:String(C.machine||"unknown"),section:a||"Casino"}});const q=de("showIframe"),B=de("loadMachine");ze(String(C.machine||"")),q==null||q(),requestAnimationFrame(()=>{B==null||B(C,!1,"CASINO")})}})}),onMove:({isStart:E,isEnd:b})=>g({isStart:E,isEnd:b})})]})})},Yn=t=>{if(typeof t=="boolean")return t;if(typeof t=="string")return t.toLowerCase()==="true";if(t&&typeof t=="object"){if(typeof t.value=="boolean")return t.value;if(typeof t.value=="string")return t.value.toLowerCase()==="true"}return!1},Ft=(t,a)=>{var n,o;return(o=(n=t.orden)!=null?n:t.machine)!=null?o:a},eo=(t,a=!0,n=1)=>{const o=t.map((s,l)=>{var f;return{id:Ft(s,l),imageUrl:(f=s.logo)!=null?f:"",...s.background?{background:s.background}:{}}});if(!o.length)return[];const r=[];let i=0;if(a){const s=Math.min(o.length,1);r.push({id:"mosaic-0",kind:"mosaic",items:o.slice(0,s)}),i=s}for(;i<o.length;){const s=Math.min(i+n,o.length);r.push({id:`grid-${i}`,kind:"grid",items:o.slice(i,s)}),i=s}return r},to=(t=!0,a=4)=>{const n=r=>Array.from({length:r},(i,s)=>({id:`sk-${r}-${s}`,imageUrl:""})),o=[];return t&&o.push({id:"mosaic-loading",kind:"mosaic",items:n(5)}),o.push({id:"grid-loading",kind:"grid",items:n(a)}),o},qt=({items:t,title:a="Virtuales",iconUrl:n="/assets/img/home/Virtuales/virtuales.svg",onItemClick:o,onViewMore:r,mosaicFirst:i=!0,gridSize:s=1,isPersonalize:l=!1})=>{const f=v.useRef(null),[p,u]=v.useState({isStart:!0,isEnd:!1}),c=ie.useCaptureInteraction(),d=le(),g=ue(),y=Yn(l),{resolvedItems:h,loading:_}=Hn(t,y),$=y?h:Array.isArray(t)?t:[],N=()=>{var R;c({element:"virtuales_prev",label:`${d} - OraculoSeccionVirtuales${y?" - personalize":""} - Anterior`,target:"prev",event_type:"click",module_id:g,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionVirtuales"}}),(R=f.current)==null||R.prev()},j=()=>{var R;c({element:"virtuales_next",label:`${d} - OraculoSeccionVirtuales${y?" - personalize":""} - Siguiente`,target:"next",event_type:"click",module_id:g,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionVirtuales"}}),(R=f.current)==null||R.next()},A=()=>{if(c({element:"virtuales_view_more",label:`${d} - OraculoSeccionVirtuales${y?" - personalize":""} - Ver más`,target:"https://www.olimpo.bet/juegos-virtuales",event_type:"click",module_id:g,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionVirtuales"}}),r){r();return}typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign("https://www.olimpo.bet/juegos-virtuales")},w=y?_:!Array.isArray(t)||t.length===0,x=Ce.default("(max-width:950px)"),S=w?to(i,s):eo($,i,s);return e.jsx("section",{children:e.jsxs(Y.default,{direction:"column",spacing:2,useFlexGap:!0,children:[e.jsxs(z.default,{sx:{display:"grid",gridTemplateColumns:"1fr auto auto",alignItems:"center",columnGap:1.5,rowGap:1,px:0,"@media (max-width: 1024px)":{px:3}},children:[e.jsx(be,{title:a,iconUrl:n,size:"md"}),e.jsxs(z.default,{sx:{display:"flex",gap:1,justifyContent:"flex-end"},children:[e.jsx(ae,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(yt.default,{}),onClick:N,disabled:p.isStart}),e.jsx(ae,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(St.default,{}),onClick:j,disabled:p.isEnd})]}),e.jsx(z.default,{sx:{justifySelf:"end"},children:e.jsx(ae,{variant:"secondary",onClick:A,children:"Ver más"})})]}),e.jsx(xe,{ref:f,items:S,perPage:void 0,gap:"16px",breakpoints:{400:{gap:"4px",focus:"center",padding:{left:"24px",right:"24px"}},768:{gap:"8px",focus:"center",padding:{left:"24px",right:"24px"}},1024:{gap:"10px",focus:"center",padding:{left:"24px",right:"24px"}}},enableHorizontalWheel:!0,showRightGradient:!x,options:{autoWidth:!0,trimSpace:"move"},renderItem:R=>e.jsx("div",{style:{alignSelf:"start"},children:e.jsx(Ye,{items:R.items,layout:R.kind==="mosaic"?"mosaic":"grid",loading:w,onClick:E=>{if(w)return;const b=$.find((B,P)=>String(Ft(B,P))===String(E.id));if(!b){console.warn("[virtuales] no se encontró game para id:",E.id);return}o==null||o(b),c({element:"virtuales_game_card",label:`${d} - OraculoSeccionVirtuales${y?" - personalize":""} - Game: ${String(b.machine||"unknown")}`,target:String(b.machine||"unknown"),event_type:"click",module_id:g,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{game_name:String(b.machine||"unknown"),section:a||"Virtuales"}}),ze(String(b.machine||""));const C=de("showIframe"),q=de("loadMachine");C==null||C(),requestAnimationFrame(()=>{q==null||q(b,!1,y?"VIRTUALES_PERSONALIZE":"VIRTUALES")})}})}),onMove:({isStart:R,isEnd:E})=>u({isStart:R,isEnd:E})})]})})},ao=t=>({position:"relative",py:8,color:"#fff",backgroundImage:`
10
10
  linear-gradient(to bottom,#121212 0%, rgba(18,18,18,0) 10%),
11
11
  linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
12
12
  linear-gradient(to left, #121212 0%, rgba(18,18,18,0) 10%),
13
13
  linear-gradient(to right, #121212 0%, rgba(18,18,18,0) 10%),
14
14
  url("${t}")
15
- `,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover"}),mt={textAlign:"center",lineHeight:1.1,mb:1.5},pt={display:"inline-block",fontWeight:600,fontSize:24},ft={display:"inline-block",fontSize:24,lineHeight:1.1,WebkitTextStroke:"0.3px rgba(255, 255, 255, .5)",textShadow:`
15
+ `,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover"}),pt={textAlign:"center",lineHeight:1.1,mb:1.5},ft={display:"inline-block",fontWeight:600,fontSize:24},gt={display:"inline-block",fontSize:24,lineHeight:1.1,WebkitTextStroke:"0.3px rgba(255, 255, 255, .5)",textShadow:`
16
16
  0 0 2px rgba(255, 255, 255, .95),
17
17
  0 0 6px rgba(255, 255, 255, .6),
18
18
  0 1px 0 rgba(137, 137, 137, .85)
19
- `},qt=({headline:t,headline2:a,items:n,backgroundImageUrl:o})=>{const s=oe.useCaptureInteraction(),l=re(),i=Ee.default("(max-width: 767px)"),c=n.length>1,g=S.useRef(null),f=S.useRef(null),m=S.useRef(!1),d=S.useRef(!1),[u,h]=S.useState(0),[y,b]=S.useState({isStart:!0,isEnd:!1});S.useEffect(()=>{const x=setTimeout(()=>{m.current=!0},500);return()=>clearTimeout(x)},[]);const v=S.useRef(y);S.useEffect(()=>{v.current=y},[y]);const R=S.useRef(!1),T=S.useRef(null),O=n==null?void 0:n[u],A=S.useMemo(()=>{var x,I;return(I=(x=O==null?void 0:O.backgroundImageUrl)!=null?x:o)!=null?I:""},[O,o]),j=eo(A),_=!n||n.length===0,w=(x,I)=>{s({element:"welcome_banner_button",label:`OraculoSeccionBonoBienvenida - Banner button click: ${x.title||"OraculoSeccionBonoBienvenida - Banner "+(I+1)}`,target:"action",event_type:"click",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",banner_position:I+1,banner_total:(n==null?void 0:n.length)||0},tags:{banner_title:x.title||"no_title",button_text:x.buttonText||"no_text"}}),x.onButtonClick&&x.onButtonClick()},M=x=>{if(!m.current)return;if(d.current){d.current=!1;return}const I=n==null?void 0:n[x];s({element:"welcome_banner_carousel",label:`Landing: ${l} - OraculoSeccionBonoBienvenida - Banner view: ${(I==null?void 0:I.title)||"OraculoSeccionBonoBienvenida - Banner "+(x+1)}`,target:"no_url",event_type:"view",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",slide_index:x+1,total_slides:(n==null?void 0:n.length)||0,interaction_type:"manual_slide"},tags:{banner_position:String(x+1),banner_title:(I==null?void 0:I.title)||"no_title"}})};S.useEffect(()=>{const x=f.current;if(!x)return;const I=6,P=380,B=L=>{var G,z;if(_||L.ctrlKey||R.current)return;const U=L.deltaX,V=L.deltaY;if(Math.abs(U)<=Math.abs(V)||Math.abs(U)<I)return;const W=U>0;W&&v.current.isEnd||!W&&v.current.isStart||(L.preventDefault(),R.current=!0,W?(G=g.current)==null||G.next():(z=g.current)==null||z.prev(),T.current&&window.clearTimeout(T.current),T.current=window.setTimeout(()=>{R.current=!1},P))};return x.addEventListener("wheel",B,{passive:!1}),()=>{x.removeEventListener("wheel",B),T.current&&window.clearTimeout(T.current)}},[_]);const E=(x,I,P)=>{var U,V;const B=(U=x.headline)!=null?U:t,L=(V=x.headline2)!=null?V:a;return I?e.jsxs(q.default,{sx:{maxWidth:1200,mx:"auto",px:15,display:"grid",gridTemplateColumns:"260px minmax(0, 1fr)",alignItems:"center",columnGap:6},children:[(B||L)&&e.jsx(q.default,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-start",minHeight:"100%"},children:e.jsxs(q.default,{sx:{...mt,textAlign:"left",mb:0},children:[B&&e.jsx(ue.default,{component:"span",sx:pt,children:B}),L&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(ue.default,{component:"span",sx:ft,children:L})]})]})}),e.jsx(q.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:e.jsx(q.default,{sx:{width:"100%",maxWidth:600,mx:"auto"},children:e.jsx(Ke,{...x,onButtonClick:()=>w(x,P),variant:"large"})})})]}):e.jsxs(q.default,{sx:{textAlign:"center"},children:[(B||L)&&e.jsxs(q.default,{sx:mt,children:[B&&e.jsx(ue.default,{component:"span",sx:pt,children:B}),L&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(ue.default,{component:"span",sx:ft,children:L})]})]}),e.jsx(q.default,{sx:{display:"flex",justifyContent:"center"},children:e.jsx(Ke,{...x,onButtonClick:()=>w(x,P),variant:"small"})})]})};return e.jsxs(q.default,{component:"section",sx:j,children:[e.jsx("div",{ref:f,style:{width:"100%"},children:e.jsx(fe,{ref:g,items:n,perPage:1,gap:"0px",options:{autoWidth:!1},renderItem:(x,I)=>e.jsx(q.default,{sx:{width:"100%"},children:E(x,!i,I)}),onMove:({index:x,isStart:I,isEnd:P,source:B})=>{h(x),typeof I=="boolean"&&typeof P=="boolean"&&b({isStart:I,isEnd:P}),B==="user"&&M(x)}})}),c&&e.jsx(q.default,{sx:{mt:2,display:"flex",justifyContent:"center"},children:e.jsx(Je,{total:n.length,active:u,onSelect:x=>{var I;s({element:"welcome_banner_dots",label:`Landing: ${l} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${x+1}`,target:"no_url",event_type:"click",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",dot_index:x+1,total_dots:n.length},tags:{navigation_type:"dot_click"}}),h(x),(I=g.current)==null||I.go(x)}})})]})},zt=({className:t="",fullBleed:a=!0,items:n,selectedIndex:o=0,ariaLabel:s,user:l=null})=>{const i=S.useRef(null),c=S.useRef(null),g=oe.useCaptureInteraction(),f=re(),m=le();if(!n)return null;const d=async()=>{let b=l;if((!(b!=null&&b.user)||!(b!=null&&b.session))&&typeof window!="undefined")try{const v=localStorage.getItem("user");v&&(b=JSON.parse(v))}catch(v){console.error("[getMarketPlaceUrl] Error parsing localStorage user",v)}if(!(b!=null&&b.user)||!(b!=null&&b.session))return console.warn("User data missing"),null;g({element:"club_olimpo_button",label:`${f} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,target:"https://www.clubolimpo.com/OlimpoBetWeb/",event_type:"click",module_id:m,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionClubOlimpo"}});try{const v={idUsuario:"PE"+b.user,session_id:b.session,pagina:"home"},T=await fetch("https://apipe.mktolimpo.com/api/pm/token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(v)});if(T.ok){const O=await T.json();return O==null?void 0:O.url}return null}catch(v){return console.error("[getMarketPlaceUrl]",v),null}},u=async()=>{const b=await d();b?window.location.href=b:typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo")},h=Array.isArray(n)?n[o]:n;S.useLayoutEffect(()=>{if(!i.current||!c.current||typeof ResizeObserver=="undefined")return;const b=i.current,v=c.current,R=()=>{b.style.setProperty("--orc-co-bottomH",`${v.offsetHeight+16}px`)},T=new ResizeObserver(R);return T.observe(v),R(),()=>T.disconnect()},[]);const y=["orc-co-wrap",a?"orc-co-fullBleed":"",t].filter(Boolean).join(" ");return e.jsx("section",{ref:i,className:y,"aria-label":s||h.imgAlt||"Club Olimpo",children:e.jsx("div",{ref:c,children:e.jsx(It,{text:h.text,onClick:u,imgAlt:h.imgAlt,buttonLabel:h.buttonLabel,imgSrcMobile:h.imgMobile,imgSrcDesktopBg:h.imgDesktopBg,imgSrcDesktopLogo:h.imgDesktopLogo})})})},to="oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4",ao="oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF",gt={controls:to,padding:ao},no=t=>{var a,n;return(a=t.outcome)!=null&&a.id?[t.outcome.id]:t.type==="BET_BUILDER"&&((n=t.group)!=null&&n.groups)?t.group.groups.flatMap(o=>{var s,l;return(l=(s=o.outcomes)==null?void 0:s.map(i=>i.id))!=null?l:[]}):[]};function oo(t,a,n){return n?n.map(o=>{var m,d;const s=o.prePackCouponRows.flatMap(u=>no(u).map(h=>({eventId:u.eventId,outcomeId:h}))),l=new Set(s.map(u=>u.eventId)),i=new Set(s.map(u=>u.outcomeId)),c=new Map(s.map((u,h)=>[u.outcomeId,h])),g={};for(const u of a){if(!l.has(u.eventId))continue;const h=u.outcomes.filter(y=>i.has(y.id)).map(y=>({...y,position:c.get(y.id)}));h.length&&((d=g[m=u.eventId])!=null||(g[m]=[]),g[u.eventId].push({...u,outcomes:h}))}const f=t.filter(u=>l.has(u.id)).map(u=>{var h;return{...u,betoffers:(h=g[u.id])!=null?h:[]}});return{couponId:o.id,status:o.status,combinadoTotal:ro(o.prePackCouponRows),events:f}}):[]}function ro(t){if(!Array.isArray(t)||t.length===0)return 0;let a=1;for(const n of t){const o=n.odds.decimal/1e3,s=Math.round(o*100)/100;a*=s}return Math.floor(a*100)/100}const so=xe.default.memo(kt);function Ut({items:t,title:a="Combinadas del Olimpo",iconUrl:n="https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",onViewMore:o,className:s=""}){const l=oe.useCaptureInteraction(),i=re(),c=le(),g=S.useRef(null),[f,m]=S.useState({isStart:!0,isEnd:!1}),[d,u]=S.useState([]),h="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",y=()=>{var j;l({element:"evento_combinadas_prev",label:`${i} - OraculoSeccionEventoCombinadas - Click: Anterior`,event_type:"click",module_id:c,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoCombinadas"}}),(j=g.current)==null||j.prev()},b=()=>{var j;l({element:"evento_combinadas_next",label:`${i} - OraculoSeccionEventoCombinadas - Click: Siguiente`,event_type:"click",module_id:c,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoCombinadas"}}),(j=g.current)==null||j.next()},v=()=>{l({element:"evento_combinadas_ver_mas",label:`${i} - OraculoSeccionEventoCombinadas - Click: Ver más`,event_type:"click",module_id:c,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoCombinadas"}}),an()},R=S.useMemo(()=>d.filter(j=>{var _;return j.combinadoTotal!==null&&((_=j.events)==null?void 0:_.length)>0}),[d]);async function T(){var j,_,w,M;try{const x=await(await fetch(h)).json(),I=(M=(w=(_=(j=x==null?void 0:x.group)==null?void 0:j.groups)==null?void 0:_.map(U=>U.id))==null?void 0:w.filter(Boolean))==null?void 0:M.join(",");if(!I){console.error("Could not extract group ID");return}const P=`https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${I}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`,L=await(await fetch(P)).json();u(oo(L.events,L.betOffers,L.prePackCoupons))}catch(E){console.error("loadDataEventSpecial error:",E)}}S.useEffect(()=>{T()},[]);const O=s||void 0,A=Ee.default("(max-width:950px)");return R.length===0?null:e.jsx("section",{className:O,style:{width:"100%",boxSizing:"border-box"},children:e.jsxs(Q.default,{direction:"column",spacing:1.5,useFlexGap:!0,children:[e.jsx("div",{className:gt.padding,children:e.jsxs(se,{spacing:1.5,columns:"1fr auto ",justify:"start",children:[e.jsx(pe,{title:a,iconUrl:n,size:"md"}),e.jsxs("div",{className:gt.controls,children:[e.jsxs(se,{spacing:1,columns:"auto auto",children:[e.jsx(ee,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(be.ChevronLeftRounded,{}),onClick:y,disabled:f.isStart}),e.jsx(ee,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(be.ChevronRightRounded,{}),onClick:b,disabled:f.isEnd})]}),e.jsx(ee,{variant:"secondary",onClick:v,children:"Ver más"})]})]})}),e.jsx(fe,{ref:g,items:R,perPage:void 0,gap:"16px",options:{autoWidth:!0,trimSpace:"move"},useIndexAsKey:!0,enableHorizontalWheel:!0,showRightGradient:!A,breakpoints:{768:{perPage:1.2,gap:"12px",padding:{left:"24px",right:"24px"}}},renderItem:j=>e.jsx(so,{coupon:j}),onMove:({isStart:j,isEnd:_})=>m({isStart:j,isEnd:_})})]})})}function io({}){return e.jsx("div",{className:Se.cardWrapper,children:e.jsxs(Q.default,{direction:"column",spacing:1,children:[e.jsxs(Q.default,{spacing:1,direction:"row",children:[e.jsx(X.default,{variant:"text",width:"60%",height:24}),e.jsx(X.default,{variant:"text",width:"39%",height:24})]}),e.jsxs(Q.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:[e.jsx(X.default,{variant:"circular",width:32,height:40}),e.jsx(X.default,{variant:"text",width:40,height:40}),e.jsx(X.default,{variant:"circular",width:32,height:40})]}),e.jsxs(Q.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:[e.jsx(X.default,{variant:"text",width:32,height:16}),e.jsx(X.default,{variant:"text",width:40,height:16}),e.jsx(X.default,{variant:"text",width:32,height:16})]}),e.jsxs(Q.default,{spacing:2,direction:"row",children:[e.jsx(X.default,{variant:"rounded",width:88,height:16}),e.jsx(X.default,{variant:"rounded",width:88,height:16}),e.jsx(X.default,{variant:"rounded",width:88,height:16})]}),e.jsxs(Q.default,{spacing:2,direction:"row",children:[e.jsx(X.default,{variant:"rounded",width:88,height:32}),e.jsx(X.default,{variant:"rounded",width:88,height:32}),e.jsx(X.default,{variant:"rounded",width:88,height:32})]})]})})}const lo="oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4",co={fadeWrapper:lo};function qe({children:t}){return e.jsx("div",{className:co.fadeWrapper,children:t})}const uo="oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD",mo={padding:uo};function Vt({events:t,visibleRange:a,fetchJerseys:n,buffer:o=2,debounceMs:s=250}){const[l,i]=S.useState({}),c=S.useRef(new Set),g=S.useRef(0),f=S.useRef(null),m=S.useRef(null);return S.useEffect(()=>{if(!(!t||t.length===0))return f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{var A,j;const d=(A=a.start)!=null?A:0,u=(j=a.end)!=null?j:7,h=Math.max(0,d-o),y=Math.min(t.length-1,u+o);let b=h,v=y;const R=m.current;R&&(h>R.end&&(b=R.end+1),y<R.start&&(v=R.start-1)),m.current={start:h,end:y};const T=t.slice(b,v+1).map(_=>_==null?void 0:_.id).filter(_=>!!_).filter(_=>!c.current.has(_)).filter(_=>!(_ in l));if(T.length===0)return;T.forEach(_=>c.current.add(_));const O=++g.current;(async()=>{try{const _=await n(T);if(O!==g.current){T.forEach(M=>c.current.delete(M));return}if(!(_!=null&&_.events)){T.forEach(M=>c.current.delete(M));return}i(M=>{const E={...M};for(const[x,I]of Object.entries(_.events)){const P=Number(x);E[P]||(E[P]=I)}return E});const w=new Set(Object.keys(_.events).map(Number));T.forEach(M=>{c.current.delete(M)})}catch(_){T.forEach(w=>c.current.delete(w)),console.error("Jersey fetch error",_)}})()},s),()=>{f.current&&clearTimeout(f.current)}},[t,a,o,s,n]),{jerseys:l,isPending:c.current}}const po=t=>{const a=["esports","cyber"];return t.filter(n=>{var l,i;if(typeof((l=n==null?void 0:n.event)==null?void 0:l.sport)!="string")return!1;const s=typeof((i=n==null?void 0:n.event)==null?void 0:i.group)=="string"?n.event.group.toLowerCase():"";return!a.some(c=>s.includes(c))})},fo=xe.default.memo(Nt);function Wt({items:t,title:a="En vivo",iconUrl:n="https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",onViewMore:o,className:s=""}){const l=[{sport:"football",url:"https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true"},{sport:"basketball",url:"https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/basketball/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true"},{sport:"tennis",url:"https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/tennis/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true"}],i=S.useRef(null),[c,g]=S.useState({isStart:!0,isEnd:!1}),[f,m]=S.useState(null),[d,u]=S.useState({start:null,end:null}),[h,y]=S.useState(null),b=S.useRef(!1),v=oe.useCaptureInteraction(),R=re(),T=le(),O=S.useRef(new Map),A=()=>{var B;v({element:"evento_en_vivo_prev",label:`${R} - OraculoSeccionEventoEnVivo - Anterior`,target:"prev",event_type:"click",module_id:T,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoEnVivo"}}),(B=i.current)==null||B.prev()},j=()=>{var B;v({element:"evento_en_vivo_next",label:`${R} - OraculoSeccionEventoEnVivo - Siguiente`,target:"next",event_type:"click",module_id:T,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoEnVivo"}}),(B=i.current)==null||B.next()},_=()=>{v({element:"evento_en_vivo_view_more",label:`${R} - OraculoSeccionEventoEnVivo - Ver más`,target:"ver_mas",event_type:"click",module_id:T,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoEnVivo"}}),en()},w=S.useCallback(async()=>{var B;try{if(!b.current){b.current=!0;try{const z=await(await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(),K=((B=z==null?void 0:z.data)==null?void 0:B.event_ids)||[],Y=new Map;K.forEach((r,p)=>Y.set(String(r),p)),O.current=Y}catch(G){console.error("Order fetch failed, using default sorting",G)}}const L=await Promise.all(l.map(async G=>{try{const z=await fetch(G.url);if(!z.ok)throw new Error(`Failed to fetch ${G.sport}`);const K=await z.json();return{sport:G.sport,events:K.events||[]}}catch(z){return console.error(`Error fetching ${G.sport}:`,z),{sport:G.sport,events:[]}}}));let U=[];L.forEach(({sport:G,events:z})=>{const Y=po(z).map(r=>({...r,_sportGroup:G}));U.push(...Y)});const V={football:0,basketball:0,tennis:0},W=U.sort((G,z)=>{var k,N;const K=(k=V[G._sportGroup])!=null?k:1/0,Y=(N=V[z._sportGroup])!=null?N:1/0;if(K!==Y)return K-Y;const r=O.current.get(String(G.event.id)),p=O.current.get(String(z.event.id));return(r!==void 0?r:1/0)-(p!==void 0?p:1/0)});m(W)}catch(L){console.error("LoadData Error:",L)}},[]);S.useEffect(()=>{w();const B=setInterval(w,2e4);return()=>clearInterval(B)},[w]);const{jerseys:M}=Vt({events:(f==null?void 0:f.map(B=>B.event))||[],visibleRange:d,fetchJerseys:Et,buffer:3,debounceMs:300}),E=s||void 0,x=f===null,I=S.useMemo(()=>x?Array(4).fill({}):(f==null?void 0:f.slice(0,20))||[],[x,f]),P=Ee.default("(max-width:950px)");return!x&&f.length===0?null:e.jsx("section",{className:E,style:{width:"100%",boxSizing:"border-box"},children:e.jsxs(Q.default,{direction:"column",spacing:1.5,useFlexGap:!0,children:[e.jsx("div",{className:mo.padding,children:e.jsxs(se,{spacing:1.5,columns:"1fr auto ",justify:"start",children:[e.jsx(pe,{title:a,iconUrl:n,size:"md"}),e.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[e.jsxs(se,{spacing:1,columns:"auto auto",children:[e.jsx(ee,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(be.ChevronLeftRounded,{}),onClick:A,disabled:c.isStart}),e.jsx(ee,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(be.ChevronRightRounded,{}),onClick:j,disabled:c.isEnd})]}),e.jsx(ee,{variant:"secondary",onClick:_,children:"Ver más"})]})]})}),e.jsx(fe,{ref:i,items:I,perPage:void 0,showRightGradient:!P,enableHorizontalWheel:!0,gap:"16px",options:{autoWidth:!0,trimSpace:"move"},breakpoints:{400:{gap:"4px",focus:"center",padding:{left:"24px",right:"24px"}},768:{gap:"8px",focus:"center",padding:{left:"24px",right:"24px"}},1024:{gap:"10px",focus:"center",padding:{left:"24px",right:"24px"}}},renderItem:B=>{var V;const L=((V=B.event)==null?void 0:V.id)||B.eventId,U=L in M?M[L]:void 0;return x?e.jsx(qe,{children:e.jsx(io,{})}):e.jsx(qe,{children:e.jsx(fo,{...B,jersey:U})})},onMove:({isStart:B,isEnd:L,visibleStart:U,visibleEnd:V})=>{g(W=>W.isStart===B&&W.isEnd===L?W:{isStart:B,isEnd:L}),u({start:U,end:V})}})]})})}function go(){return e.jsxs("div",{className:we.cardContainer,children:[e.jsx(Xe,{title:""}),e.jsx("div",{className:we.cardBackground,children:e.jsxs(Q.default,{direction:"column",spacing:{xs:.5,md:1},useFlexGap:!0,children:[e.jsxs(Q.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:[e.jsx(X.default,{variant:"circular",width:48,height:48}),e.jsx(X.default,{variant:"circular",width:48,height:48})]}),e.jsxs(Q.default,{direction:"column",spacing:{xs:.5,md:1},useFlexGap:!0,children:[e.jsxs(Q.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:[e.jsx(X.default,{variant:"text",width:80,height:12}),e.jsx(X.default,{variant:"text",width:80,height:12})]}),e.jsx(Q.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:e.jsx(X.default,{variant:"text",width:160,height:12})}),e.jsxs(Q.default,{direction:"row",spacing:1,children:[e.jsx(X.default,{variant:"text",width:80,height:16}),e.jsx(X.default,{variant:"text",width:80,height:16}),e.jsx(X.default,{variant:"text",width:80,height:16})]}),e.jsx("div",{className:we.jugadas,children:e.jsxs(Q.default,{direction:"row",spacing:1,children:[e.jsx(X.default,{variant:"rounded",width:80,height:32}),e.jsx(X.default,{variant:"rounded",width:80,height:32}),e.jsx(X.default,{variant:"rounded",width:80,height:32})]})})]})]})})]})}const ho="oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-",bo="oraculo__OraculoSeccionEventoSemana-module__container___5yFQs",xo="oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT",_o="oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV",Me={wrapper:ho,container:bo,buttonWrapper:xo,padding:_o},vo=xe.default.memo($t);async function yo(t,a=2,n){const o=[];for(let s=0;s<t.length;s+=a){if(n.aborted)throw new DOMException("Aborted","AbortError");const l=t.slice(s,s+a),i=await Promise.all(l.map(c=>fetch(c,{signal:n}).then(g=>g.json())));o.push(...i)}return o}function So(t){return[...t].sort((a,n)=>new Date(a.start).getTime()-new Date(n.start).getTime())}function wo(t){const a=new Date,n=new Date(a.getTime()+480*60*60*1e3);return t.filter(o=>{if(!o.start)return!1;const s=new Date(o.start);return s>=a&&s<=n})}function jo(t,a){const o=a.filter(s=>{var l;return((l=s.betOfferType)==null?void 0:l.id)===2}).reduce((s,l)=>(s[l.eventId]||(s[l.eventId]=[]),s[l.eventId].push(l),s),{});return t.filter(s=>o[s.id]).map(s=>({...s,outcome:o[s.id]}))}function Dt({items:t,title:a="En vivo",iconUrl:n,onViewMore:o,className:s=""}){const l=oe.useCaptureInteraction(),i=re(),c=le(),g=[{englishName:"Football",termPath:"football",limit:5},{englishName:"Basketball",termPath:"basketball",limit:2},{englishName:"Tennis",termPath:"tennis",limit:2}],f="https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE",m=S.useRef(null),[d,u]=S.useState({isStart:!0,isEnd:!1}),[h,y]=S.useState(null),[b,v]=S.useState({start:null,end:null}),R="channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true",T=()=>{l({element:"evento_semana_view_more",label:`${i} - OraculoSeccionEventoSemana - Ver más`,target:"ver_mas",event_type:"click",module_id:c,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoSemana"}}),tn()};async function O(x){var B,L,U;let I=[],P=[];try{const V=await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden",{signal:x});if(V.ok){const W=await V.json();I=((B=W==null?void 0:W.data)==null?void 0:B.group_ids)||[],P=((L=W==null?void 0:W.data)==null?void 0:L.event_ids)||[]}}catch(V){V.name!=="AbortError"&&console.warn("Order API not available, using default group order");return}try{const W=await(await fetch(f,{signal:x})).json(),G=(U=W==null?void 0:W.group)==null?void 0:U.groups;if(!Array.isArray(G)){console.error("Sport groups structure invalid");return}const z=I.length>0?new Map(I.map((Y,r)=>[String(Y),r])):null,K=[];for(const Y of g){const r=G.find(N=>{var F;return((F=N.englishName)==null?void 0:F.toLowerCase())===Y.englishName.toLowerCase()});if(!r||!Array.isArray(r.groups)){console.warn(`No groups found for sport: ${Y.englishName}`);continue}let p=[...r.groups];z&&p.sort((N,F)=>{const J=z.get(String(N.id)),te=z.get(String(F.id));return(J!==void 0?J:1/0)-(te!==void 0?te:1/0)});const C=p.slice(0,Y.limit),$=N=>{const F=`https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/${Y.termPath}`;if(N.groups&&N.groups.length>0){const J=N.groups[0];return`${F}/${N.termKey}/${J.termKey}/all/matches.json?${R}`}return`${F}/${N.termKey}/all/all/matches.json?${R}`},k=C.map($);K.push(...k)}A(K,P,x)}catch(V){console.error("Error in fetching week events:",V)}}async function A(x,I,P){try{const B=await yo(x,2,P);let L=[],U=[];B.forEach(z=>{z.events&&(L.push(...z.events.map(K=>K.event)),U.push(...z.events.flatMap(K=>K.betOffers||[])))});const V=jo(L,U),W=So(wo(V));let G=W;if(I.length>0){const z=new Map(I.map((K,Y)=>[String(K),Y]));G=[...W].sort((K,Y)=>{const r=z.get(String(K.id)),p=z.get(String(Y.id));return r!==void 0&&p!==void 0?r-p:r!==void 0?-1:p!==void 0?1:0})}if(P.aborted)return;y(G)}catch(B){console.error("Error loading events:",B)}}S.useEffect(()=>{if(!t)return;const x=new AbortController;return O(x.signal),()=>{x.abort()}},[t]);const j=s||void 0,_={paddingLeft:0,width:"100%",boxSizing:"border-box"},{jerseys:w}=Vt({events:h,visibleRange:b,fetchJerseys:Et,buffer:2,debounceMs:250}),M=h===null,E=Ee.default("(max-width:950px)");return!M&&h.length===0?null:e.jsx("section",{className:j,style:_,children:e.jsxs("div",{className:`${Me.wrapper} ${Me.padding}`,children:[e.jsx("div",{className:Me.container,children:e.jsxs(Q.default,{direction:"column",spacing:1.5,useFlexGap:!0,children:[e.jsx(pe,{title:"Eventos de la semana"}),e.jsx("div",{className:Me.buttonWrapper,children:e.jsx(ee,{variant:"secondary",size:"lg",fullWidth:!0,onClick:()=>{T()},children:"Ver más"})})]})}),e.jsx("div",{style:{minWidth:"180px"},children:e.jsx(fe,{ref:m,items:M?Array(6).fill({}):h.slice(0,20),perPage:3.5,gap:"16px",enableHorizontalWheel:!0,showRightGradient:!E,options:{autoWidth:!0,trimSpace:!0},breakpoints:{1024:{perPage:1.4,gap:"8px",focus:"center",padding:{left:"8px",right:"8px"}}},renderItem:x=>{const I=x.id,P=I in w?w[I]:void 0;return M?e.jsx(qe,{children:e.jsx(go,{})}):e.jsx(qe,{children:e.jsx(vo,{event:x,jersey:P})})},onMove:({isStart:x,isEnd:I,visibleStart:P,visibleEnd:B,source:L})=>{u({isStart:x,isEnd:I}),v({start:P,end:B}),L==="user"&&l({element:"evento_semana_carousel_slide",label:`${i} - OraculoSeccionEventoSemana - Slide Carousel`,target:"carousel",event_type:"slide",module_id:c,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",visibleStart:P,visibleEnd:B,isStart:x,isEnd:I},tags:{section:"OraculoSeccionEventoSemana"}})}})})]})})}const Oo=-300,Io=t=>/[zZ]|[+-]\d{2}:\d{2}$/.test(t),ht=t=>{if(!t)return null;if(Io(t)){const g=new Date(t).getTime();return Number.isNaN(g)?null:g}const a=t.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/);if(!a)return null;const[,n,o,s,l,i,c="00"]=a;return Date.UTC(Number(n),Number(o)-1,Number(s),Number(l)-Oo/60,Number(i),Number(c))},Eo=(t,a)=>{var c,g,f,m,d,u,h,y,b;const n=(f=(g=(c=t==null?void 0:t.fields)!=null?c:t==null?void 0:t.parameters)!=null?g:t==null?void 0:t.extraFields)!=null?f:[],o=(u=(d=t==null?void 0:t.startAt)!=null?d:(m=n.find(v=>(v==null?void 0:v.name)==="startAt"))==null?void 0:m.value)!=null?u:null,s=(b=(y=t==null?void 0:t.endAt)!=null?y:(h=n.find(v=>(v==null?void 0:v.name)==="endAt"))==null?void 0:h.value)!=null?b:null,l=ht(o),i=ht(s);return!(l!=null&&a<l||i!=null&&a>=i)};function Gt({backgrounds:t,items:a,hideItems:n,user:o=null}){var Y;const[s,l]=S.useState(0),i=oe.useCaptureInteraction(),c=re(),g=le(),f=S.useRef(null),m=S.useRef(!1),d=S.useRef(!1),[u,h]=S.useState(()=>Date.now()),y=ie("setDepositActionGlobal"),b=ie("setAbrirLiveActionGlobal"),v=ie("openLoginWithRedirect"),R=r=>[...r!=null?r:[]].map((p,C)=>({item:p,index:C})).sort((p,C)=>{var N,F;const $=(N=p.item.order)!=null?N:Number.MAX_SAFE_INTEGER,k=(F=C.item.order)!=null?F:Number.MAX_SAFE_INTEGER;return $-k||p.index-C.index}).map(({item:p})=>p),T=S.useMemo(()=>R(a),[a]),O=S.useMemo(()=>{const r=(t!=null?t:[]).filter(p=>Eo(p,u));return R(r)},[t,u]),A=O.length||1,j=!O||O.length===0,_=!j&&O.length>1,w=!n&&T.length>0;H.useMediaQuery("(max-width:950px)");const M="#B5B5B5";S.useEffect(()=>{const r=window.setInterval(()=>{h(Date.now())},3e4);return()=>window.clearInterval(r)},[]);const E={position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:5,width:48,height:40,borderRadius:"12px",border:`1.5px solid ${M}`,py:1,px:1.5,color:M,backgroundColor:"transparent","&:hover":{backgroundColor:"rgba(181,181,181,0.08)"},"&.Mui-disabled":{opacity:.35,borderColor:M,color:M,backgroundColor:"transparent",cursor:"default"}},x=S.useMemo(()=>({type:"loop",perMove:1,pagination:!1,arrows:!1,drag:!0,focus:"center"}),[]);S.useEffect(()=>{const r=setTimeout(()=>{m.current=!0},500);return()=>clearTimeout(r)},[]);const I=(r,p,C)=>{var F,J;const $=!!p.idFunction,k=!!p.href;if($)switch(r.preventDefault(),r.stopPropagation(),p.idFunction){case"deposito":y==null||y(!0);return;case"abrirLive":b==null||b();return;default:return}if(!k){r.preventDefault(),r.stopPropagation();return}const N=((J=(F=p.href)==null?void 0:F.split("/").pop())==null?void 0:J.split(".")[0])||p.label||p.id||`banner_${C+1}`;i({element:"banner_carousel",label:`${c} - OraculoSeccionBanners - Banner click: ${N}`,target:p.href||"no_url",event_type:"click",module_id:g,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",banner_position:C+1,banner_total:(O==null?void 0:O.length)||0},tags:{banner_type:"carousel",banner_target:"_self",banner_url:p.href||"no_url"}})},P=r=>{var p;if(i({element:"banner_menu_item",label:`${c} - OraculoSeccionBanners - Menu item click: ${r.label||r.id}`,target:r.href||"action",event_type:"click",module_id:g,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",item_id:r.id},tags:{item_label:r.label||"no_label"}}),!o&&r.label=="MISIONES"){v==null||v((p=r.href)!=null?p:"");return}if(r.onClick){r.onClick();return}r.href&&typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign(r.href)},B=5e3,L=S.useRef(null),U=!j&&((Y=O==null?void 0:O.length)!=null?Y:0)>1,V=()=>{L.current!=null&&(window.clearTimeout(L.current),L.current=null)},W=()=>{V(),U&&(L.current=window.setTimeout(()=>{var r;d.current=!0,(r=f.current)==null||r.next()},B))};S.useEffect(()=>(W(),()=>V()),[U,B]);const G=r=>{var p;r.preventDefault(),r.stopPropagation(),V(),(p=f.current)==null||p.prev()},z=r=>{var p;r.preventDefault(),r.stopPropagation(),V(),(p=f.current)==null||p.next()},K=r=>{var $,k,N,F;const p=(r%A+A)%A;if(!m.current)return;const C=($=O==null?void 0:O[p])!=null&&$.href?((N=(k=O[p].href)==null?void 0:k.split("/").pop())==null?void 0:N.split(".")[0])||`banner_${p+1}`:`banner_${p+1}`;i({element:"banner_carousel",label:`${c} - OraculoSeccionBanners - Banner view: Slide ${p+1} - ${C}`,target:((F=O==null?void 0:O[p])==null?void 0:F.href)||"no_url",event_type:"view",module_id:g,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",slide_index:p+1,total_slides:A,interaction_type:"manual_slide"},tags:{banner_position:String(p+1)}})};return e.jsxs(H.Box,{component:"section",sx:{position:"relative",overflow:"visible",pb:w?{xs:"40px",sm:0}:0},children:[e.jsxs(H.Box,{sx:{position:"relative",borderRadius:0,overflow:"hidden",width:"100%",height:"auto",aspectRatio:"512 / 260","@media (min-width: 950px)":{aspectRatio:"1920 / 460"}},children:[e.jsx(H.Box,{sx:{height:"100%","& .splide, & .splide__track, & .splide__list":{height:"100%"},"& .splide__slide":{height:"100%",position:"relative"}},children:e.jsx(fe,{ref:f,items:O,perPage:1,gap:"0px",enableHorizontalWheel:!0,options:x,onMove:({index:r,source:p})=>{const C=(r%A+A)%A;l(C);const $=d.current;d.current=!1,p==="user"&&(W(),$||K(r))},renderItem:(r,p)=>{var F,J,te;const C=!!r.idFunction,$=!!r.href,k=$&&!C,N=C||$;return e.jsxs(H.Box,{component:k?"a":"div",href:k?r.href:void 0,target:k?(F=r.target)!=null?F:"_self":void 0,rel:k&&r.target==="_blank"?"noopener noreferrer":void 0,onClick:ae=>I(ae,r,p),sx:{position:"relative",width:"100%",height:"100%",display:"block",textDecoration:"none",cursor:N?"pointer":"default"},children:[e.jsxs(H.Box,{component:"picture",sx:{position:"absolute",inset:0,lineHeight:0},children:[e.jsx("source",{srcSet:r.desktopSrc,media:"(min-width:950px)"}),e.jsx("source",{srcSet:r.mobileSrc,media:"(max-width:949px)"}),e.jsx(H.Box,{component:"img",src:(te=(J=r.fallbackSrc)!=null?J:r.desktopSrc)!=null?te:"",alt:"","aria-hidden":!0,loading:"lazy",sx:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})]}),e.jsx(H.Box,{sx:{position:"absolute",inset:0,pointerEvents:"none","&::before":{content:'""',position:"absolute",left:0,right:0,bottom:0,top:"80%",background:"linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(18,18,18,0.85) 80%, #121212 100%)"}}})]})}})}),_&&e.jsxs(e.Fragment,{children:[e.jsx(H.IconButton,{"aria-label":"Anterior",onClick:G,sx:{...E,left:"120px","@media (max-width:1024px)":{left:24},"@media (max-width:786px)":{display:"none"}},children:e.jsx(be.ChevronLeftRounded,{})}),e.jsx(H.IconButton,{"aria-label":"Siguiente",onClick:z,sx:{...E,right:"120px","@media (max-width:1024px)":{right:24},"@media (max-width:786px)":{display:"none"}},children:e.jsx(be.ChevronRightRounded,{})})]}),e.jsx(H.Box,{sx:{position:"absolute",left:0,right:0,bottom:{xs:36,sm:80,md:72},display:"flex",justifyContent:"center",zIndex:2},children:e.jsx(Je,{total:A,active:s,durationMs:B},`${s}-${A}`)})]}),w&&e.jsx(H.Box,{sx:{position:"absolute",bottom:{xs:0,sm:0},left:120,right:120,"@media (max-width:1024px)":{left:24,right:24},backgroundColor:"#363636",borderRadius:2,p:1.5,display:"flex",justifyContent:"space-around",alignItems:"center",boxShadow:"0 10px 24px rgba(0,0,0,.35)",zIndex:3},children:T==null?void 0:T.map(r=>e.jsxs(H.Box,{sx:{position:"relative",display:"flex",flexDirection:{xs:"column",md:"row"},alignItems:"center",justifyContent:"center",gap:{xs:.5,md:1},color:"#FFFFFF",minWidth:0,cursor:r.onClick||r.href?"pointer":"default",whiteSpace:"nowrap","&::after":{content:'""',position:"absolute",left:0,right:0,bottom:-12,height:"3px",borderRadius:"999px",backgroundColor:"#3CC666",opacity:0,transform:"scaleX(0.7)",transformOrigin:"center",transition:"all 0.25s ease",pointerEvents:"none"},"&:hover .menu-text":{color:"#3CC666"},"&:hover::after":{opacity:1,transform:"scaleX(1)"},...r.iconHover&&{"&:hover .menu-icon-default":{display:"none"},"&:hover .menu-icon-hover":{display:"block"}}},onClick:()=>P(r),children:[r.icon&&e.jsxs(H.Box,{sx:{position:"relative",width:{xs:20,sm:22,md:24},height:{xs:20,sm:22,md:24},flexShrink:0},children:[e.jsx(H.Box,{component:"img",src:r.icon,alt:r.label||`icon-${r.id}`,className:"menu-icon-default",sx:{display:"block",position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"contain"}}),r.iconHover&&e.jsx(H.Box,{component:"img",src:r.iconHover,alt:r.label||`icon-hover-${r.id}`,className:"menu-icon-hover",sx:{display:"none",position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"contain"}})]}),e.jsx(H.Typography,{className:"menu-text",sx:{fontSize:{xs:10,sm:11,md:12},fontWeight:600,color:"#E0E0E0",textAlign:"center"},children:r.label})]},r.id))})]})}const Co=[{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg",alt:"Interbank"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg",alt:"Yape"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png",alt:"BCP"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/pagoEfectivo.png",alt:"PagoEfectivo"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/tupay.svg",alt:"Tupay"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg",alt:"Niubiz"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png",alt:"BBVA"}];function Ht({title:t="Medios de pago",items:a=Co}){const n=Math.ceil(a.length/2),o=a.slice(0,n),s=a.slice(n);return e.jsxs(H.Box,{component:"section","aria-labelledby":"mp-title",sx:{color:"#fff"},children:[e.jsx(H.Typography,{id:"mp-title",variant:"h6",sx:{fontWeight:800,fontSize:{xs:20,md:32},textAlign:"center",mb:1.5},children:t}),e.jsx(H.Box,{sx:{width:"288px",height:"2px",mx:"auto",mb:3,opacity:.95,filter:"blur(0.2px)",background:"linear-gradient(90deg, rgba(0,0,0,0) 0%, #1dd75b 18%, #23d46b 50%, #1dd75b 82%, rgba(0,0,0,0) 100%)"}}),e.jsxs(H.Stack,{spacing:{xs:2,md:3},alignItems:"center",children:[e.jsx(H.Stack,{direction:"row",justifyContent:"center",alignItems:"center",gap:{xs:2,md:3},flexWrap:"wrap",children:o.map((l,i)=>e.jsx(He,{...l},`${l.alt}-${l.src}-${i}`))}),e.jsx(H.Stack,{direction:"row",justifyContent:"center",alignItems:"center",gap:{xs:2,md:3},flexWrap:"wrap",children:s.map((l,i)=>e.jsx(He,{...l},`${l.alt}-${l.src}-${i}`))})]})]})}function nt({children:t}){const a=Ve.useTheme(),n=xe.default.useMemo(()=>Ve.createTheme(a,{typography:{fontFamily:"var(--orc-font)"},components:{MuiTypography:{styleOverrides:{root:{fontFamily:"var(--orc-font)"}}}}}),[a]);return e.jsxs(Ve.ThemeProvider,{theme:n,children:[e.jsx(oa.default,{}),t]})}function To({docId:t="Landing: home",moduleId:a=301,children:n}){return e.jsx(nt,{children:e.jsx(et,{docId:t,moduleId:a,children:n})})}const ko={OraculoSeccionDestacados:Rt,OraculoSeccionTopJuegos:tt,OraculoSeccionCasinoEnVivo:At,OraculoSeccionCasino:Lt,OraculoSeccionVirtuales:Ft,OraculoSeccionClubOlimpo:zt,OraculoSeccionBonoBienvenida:qt,OraculoSeccionBanners:Gt,OraculoSeccionMediosPago:Ht,OraculoSeccionEventoEnVivo:Wt,OraculoSeccionEventoSemana:Dt,OraculoSeccionEventoCombinadas:Ut},Ae={sections:[{title:"Banners",visible:!0,id:9,manualItems:[{fields:[{value:"1",id:"abb2c3d6-d5c5-47ee-8ffa-c764a8bc731e",type:"string",name:"id",isImage:!1,required:!0},{id:"549c02bf-56b5-4652-93d9-46b9451bac39",type:"string",value:"POR INICIAR",required:!1,isImage:!1,name:"label"},{isImage:!0,required:!0,name:"icon",type:"string",id:"c6538242-1974-4bed-aed3-703a111987b5",maxSizeMB:.2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/clock.svg"},{name:"iconHover",isImage:!0,required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773756376881-icon1.png",type:"string",id:"8a5752de-6d6e-4ba7-b4a3-e001534d43a6",maxSizeMB:.5},{id:"7d564f31-69ff-4f32-983b-46d28ced4a18",type:"string",value:"https://www.olimpo.bet/deportes#starting-soon",required:!1,isImage:!1,name:"href"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:2}],id:"724a1dc0-d55b-4443-a580-cad22e328536"},{fields:[{value:"2",id:"45c50e08-560e-42cb-8be1-e9722f69c8a0",type:"string",name:"id",isImage:!1,required:!0},{isImage:!1,required:!1,name:"label",type:"string",id:"2eec0f3d-0126-4960-8ec0-17cc92b5eb43",value:"EXPLORAR"},{name:"icon",isImage:!0,required:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/icon2.svg",maxSizeMB:.2,id:"5530e6bd-d2b2-4045-9371-722e23d96e14",type:"string"},{required:!1,isImage:!0,name:"iconHover",type:"string",id:"42be2203-7dbf-418e-9181-9a2c022076ac",maxSizeMB:.5,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773756386124-icon2.png"},{value:"https://www.olimpo.bet/deportes#sports/a-z",id:"7e5375ad-ecbb-4354-868a-b9323bcfd053",type:"string",name:"href",required:!1,isImage:!1},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:1}],id:"ad0df0e2-c8ce-4524-b05a-2a29578aba11"},{fields:[{id:"fc35f393-6692-4d25-a534-d51f4bd6d9a2",type:"string",value:"3",isImage:!1,required:!0,name:"id"},{id:"a323e324-cf04-4178-b2c2-596d51564123",type:"string",value:"TOP JUEGOS",required:!1,isImage:!1,name:"label"},{type:"string",id:"6ede5815-7336-40fa-99f2-57ac6cb938cd",maxSizeMB:.2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1765981473501-icon3.svg",required:!0,isImage:!0,name:"icon"},{value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773756400282-icon3.png",id:"49c3a94a-dbb3-4a0a-9b03-cf04bcb2266f",maxSizeMB:.5,type:"string",name:"iconHover",required:!1,isImage:!0},{name:"href",required:!1,isImage:!1,value:"https://www.olimpo.bet/casino",id:"26a486fd-31e6-4ed4-ab83-0f9a7bf6adc4",type:"string"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:5}],id:"966bc1fc-0b1a-4a50-a4a2-964262922c3d"},{fields:[{id:"fbec2c21-cf32-426f-910b-9c78a6cd714c",type:"string",value:"4",required:!0,isImage:!1,name:"id"},{type:"string",id:"2de80dbf-998b-4bc7-8383-4b69746ef155",value:"MISIONES",isImage:!1,required:!1,name:"label"},{value:"https://d28gilnhu2bcbp.cloudfront.net/landing/icon3.svg",type:"string",id:"686c62bd-ea86-4aeb-97b7-6f1488912066",maxSizeMB:.2,name:"icon",isImage:!0,required:!0},{type:"string",maxSizeMB:.5,id:"aac10c8d-7aac-4051-82ed-a88706a6f6dc",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773756409593-icon.png",required:!1,isImage:!0,name:"iconHover"},{required:!1,isImage:!1,name:"href",id:"4b72f490-75e4-458e-a4b5-68f0736a25d4",type:"string",value:"https://www.olimpo.bet/private/misiones"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:3}],id:"31e00ff9-f2dd-4942-bff3-919902fde880"}],dataMode:"manual",order:1,manualScalarFields:[{isImage:!1,required:!1,name:"groups",id:"7ee165a0-1268-4825-82df-9fef9857f535",type:"string",value:""},{value:"",id:"46f65c34-d9c1-4aab-b9ad-171b295c40da",type:"boolean",name:"isPersonalize",isImage:!1,required:!1}],updatedAt:"2026-03-19T14:43:05.680Z",manualItems2:[{fields:[{validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773204037917-comercial-misiones.webp",id:"eea41214-3c26-41e9-a908-d87327147396",name:"desktopSrc",isImage:!0,type:"string",maxSizeMB:2,required:!1,dimensions:"1440x400"},{type:"string",maxSizeMB:2,required:!1,dimensions:"1080x840",id:"b393dfd3-c085-43e0-b68a-97cc04c06b6a",validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/FondoMisiones.png",isImage:!0,name:"mobileSrc"},{required:!1,dimensions:"1440x400",type:"string",maxSizeMB:2,name:"fallbackSrc",isImage:!0,validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773204045973-comercial-misiones.webp",id:"2616b944-7cd1-4919-bc56-38ddb1a3093b"},{required:!1,isImage:!1,name:"href",id:"54689f0e-f698-48a1-9d84-d13a397e24ea",type:"string",value:""},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"idFunction",required:!1,type:"string",value:"deposito"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:1}],id:"13b35362-5695-4687-b6a8-645f8effd264"},{fields:[{name:"desktopSrc",isImage:!0,validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773204060818-captacion-nuevahome.png",id:"1ebab59e-f706-4795-81cb-7accfc9f33d7",required:!1,dimensions:"1440x400",type:"string",maxSizeMB:2},{id:"bdebd1b0-d633-4b9e-9247-8e769cdc5b3b",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1774473125247-captacion-nuevahomemobile4.png",validateDimensions:!1,isImage:!0,name:"mobileSrc",maxSizeMB:2,type:"string",dimensions:"1080x840",required:!1},{validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773204124958-captacion-nuevahome.png",id:"4bc20da7-b769-43dd-ba2e-ee9261ec73d7",name:"fallbackSrc",isImage:!0,type:"string",maxSizeMB:2,required:!1,dimensions:"1440x400"},{value:"",id:"b85e737d-97ec-430c-b819-ba6e91a25372",type:"string",name:"href",isImage:!1,required:!1},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:2}],id:"024f8130-91e1-4296-b826-cffa32ab1a96"},{fields:[{id:"28a44fd4-2f36-491e-a026-d797891eb420",validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307101474-ftd_web_asesorlu.jpg",isImage:!0,name:"desktopSrc",type:"string",maxSizeMB:2,required:!1,dimensions:"1440x400"},{type:"string",maxSizeMB:2,required:!1,dimensions:"1080x840",validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307108379-ftd_mobile_asesorlu.jpg",id:"9ddef07e-6c33-44c6-a9de-3045bcce0a64",name:"mobileSrc",isImage:!0},{dimensions:"1440x400",required:!1,maxSizeMB:2,type:"string",name:"fallbackSrc",isImage:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307112560-ftd_web_asesorlu.jpg",validateDimensions:!1,id:"9043d645-9494-4bb8-9706-e740a3c4aecb"},{name:"href",required:!1,isImage:!1,value:"https://www.olimpo.bet/descargar-app",type:"string",id:"52f1a69c-9c7d-4e3e-95b7-568f885fc653"},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:7}],id:"cdfce77c-a814-43f1-911d-3715803252c2"},{fields:[{maxSizeMB:2,type:"string",dimensions:"1440x400",required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773203978730-nuevahomedesktop_asesorpersonalizado.jpg",validateDimensions:!1,id:"0a19727d-a6bd-4f3b-83b6-dc40be8f6790",name:"desktopSrc",isImage:!0},{maxSizeMB:2,type:"string",dimensions:"1080x840",required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1772833893358-nueva-home-mobile_asesorlcas.jpg",validateDimensions:!1,id:"3ca28d62-53c0-4269-8ecf-ddbbe493db56",name:"mobileSrc",isImage:!0},{required:!1,dimensions:"1440x400",type:"string",maxSizeMB:2,name:"fallbackSrc",isImage:!0,validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773203997327-nuevahomedesktop_asesorpersonalizado.jpg",id:"241c4be2-2f91-4c92-a0ef-d2013941a7de"},{value:"https://www.olimpo.bet/promociones/Marzo_PromoRecarga4500ASESOR_IBK_BCP_BBVA",id:"bed09e2d-31f7-42db-88be-8ca1f2354e92",type:"string",name:"href",isImage:!1,required:!1},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:"2026-04-13T10:45"},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:"2026-04-14T12:15"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:3}],id:"b3816989-ffeb-4409-bc0a-46310867097c"},{fields:[{type:"string",maxSizeMB:2,required:!1,dimensions:"1440x400",validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773778766147-bannerweb_nuevomerch1920x460.png",id:"1e4be1ce-774b-48ff-89db-f6148d1ce4a8",name:"desktopSrc",isImage:!0},{required:!1,dimensions:"1080x840",type:"string",maxSizeMB:2,name:"mobileSrc",isImage:!0,validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773778933662-bannermobile_nuevomerch1080x840.png",id:"05b790ea-cba0-4592-868a-b5e4cde116c3"},{maxSizeMB:2,type:"string",dimensions:"1440x400",required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773778926345-bannerweb_nuevomerch1920x460.png",validateDimensions:!1,id:"b1ee5a81-f713-4b7c-882c-41088776fe09",name:"fallbackSrc",isImage:!0},{name:"href",isImage:!1,required:!1,value:"https://www.clubolimpo.com/OlimpoBetWeb/",type:"string",id:"bf9a05f4-d4e3-4c7b-8bab-e5a734aa4091"},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:"2026-04-13T10:45"},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:"2026-04-14T11:50"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:4}],id:"2e3e6afd-bbd3-4bbd-b6e7-0eba50e556d4"},{fields:[{required:!1,isImage:!0,dimensions:"1440x400",name:"desktopSrc",type:"string",id:"35672057-20b1-48f6-b57e-8177c7ffb50c",maxSizeMB:2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773931330007-sorteoiphonebannerhomedesktop_1920x460.png"},{type:"string",id:"dfe3c031-0577-499e-95f4-2a47363710c7",maxSizeMB:2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773931336253-sorteoiphonebannerhomemobile_1080x840.png",required:!1,isImage:!0,dimensions:"1080x840",name:"mobileSrc"},{value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773931341960-sorteoiphonebannerhomedesktop_1920x460.png",type:"string",maxSizeMB:2,id:"aac633b9-d6d3-45be-b93a-1aa73e486ed6",name:"fallbackSrc",required:!1,isImage:!0,dimensions:"1440x400"},{name:"href",required:!1,isImage:!1,value:"https://www.olimpo.bet/private/club-olimpo",type:"string",id:"0dd06091-c954-4b2a-9e74-76c98a2f95d6"},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:"2026-04-13T10:45"},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:"2026-04-14T12:15"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:5}],id:"706ea8a2-46ae-4fd9-8b42-5879a903a006"}],variableName2:"backgrounds",variableName:"items",componentKey:"OraculoSeccionBanners"},{dataMode:"url",id:3,visible:!0,apiUrl:"https://us1.offering-api.kambicdn.com/coupon/v2018/nexuspe/coupon/3935.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764401676636&startTime=2025-11-29T06:00:00.000Z&endTime=2026-06-25T15:00:00.000Z&minNoOfEvents=0&maxNoOfEvents=25&categoryGroup=list_view_competitions",title:"Eventos de la semana",apiMethod:"GET",componentKey:"OraculoSeccionEventoSemana",apiParams:[],variableName:"items",updatedAt:"2026-03-19T14:43:05.680Z",manualScalarFields:[{required:!1,name:"title",type:"string",id:"7a3de844-5727-4043-be42-7f965e2aa249",value:"Eventos esta semana",isUrl:!1},{id:"2895f65f-e75b-4116-958d-04d4c34f16fe",type:"string",isUrl:!0,value:"",required:!1,name:"iconUrl"},{required:!1,name:"onViewMore",type:"function",id:"d973d3ee-721e-4d76-888c-6ad8b7bb3414",value:"",isUrl:!1},{value:"",isUrl:!1,id:"c062fe02-c069-49fb-aae6-d39aa3fde89c",type:"string",name:"className",required:!1}],order:2},{dataMode:"url",id:4,apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getLobby",visible:!0,title:"Casino",componentKey:"OraculoSeccionCasino",variableName:"items",apiParams:[{id:"2af22a50-07e2-4a48-8569-90c79827f3e7",value:"OLI",key:"company"},{id:"efa2def8-eeb4-4fcc-80f6-32c24e7804e6",value:"HOME_CASINO",key:"lobby"}],updatedAt:"2026-03-19T14:43:05.680Z",manualScalarFields:[{name:"title",required:!0,isImage:!1,value:"Casino",id:"c2046b5a-4d30-46ff-9513-e15a6e0b0a7e",type:"string"},{maxSizeMB:.2,id:"9c5964ca-ce84-4c47-86ec-b34d7f3a5793",type:"string",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/diamante.svg",isImage:!0,required:!0,name:"iconUrl"},{name:"mosaicFirst",required:!1,isImage:!1,value:!0,type:"boolean",id:"1c32ea69-598b-4f80-81e4-709d887c12c1"},{type:"number",id:"5c3c60eb-cf49-4083-ab83-67d65f829554",value:4,isImage:!1,required:!1,name:"gridSize"},{required:!1,isImage:!1,name:"groups",type:"string",id:"c4d4c4b9-0c93-4aca-a61f-042e52fd9254",value:""}],order:3},{apiMethod:"GET",id:1,dataMode:"url",title:"Eventos Combinadas",visible:!0,apiUrl:"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",updatedAt:"2026-03-19T14:43:05.680Z",order:4,manualScalarFields:[{id:"33e5944d-b5be-4971-8c10-65aa6b71051c",type:"string",value:"Combinadas",isImage:!1,required:!0,name:"title"},{name:"iconUrl",dimensions:"40x40",isImage:!0,required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1765894618836-frame181009.svg",id:"95cd1489-206c-4a72-b4bd-b65161089f73",maxSizeMB:.2,type:"string"},{required:!1,isImage:!1,name:"className",type:"string",id:"af234a92-41ad-4ff1-bfbb-ac63a9af19f7",value:""},{value:"",id:"52f226c8-6456-4395-b72d-d140af6fa46d",type:"string",name:"groups",isImage:!1,required:!1}],componentKey:"OraculoSeccionEventoCombinadas",apiParams:[],variableName:"items"},{dataMode:"url",id:2,visible:!0,apiUrl:"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%22",title:"Eventos en vivo",apiMethod:"GET",componentKey:"OraculoSeccionEventoEnVivo",apiParams:[],variableName:"items",updatedAt:"2026-03-19T14:43:05.680Z",manualScalarFields:[{id:"7fc591db-555b-49b2-a3ad-30aa66eff17b",type:"string",value:"En vivo",isImage:!1,required:!0,name:"title"},{required:!1,isImage:!0,name:"iconUrl",id:"db4b6355-ed6c-4265-ad78-d8fffb660997",maxSizeMB:.2,type:"string",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1771339214517-dotrecordinglightred.gif"},{id:"a16ab6c6-321c-4ebe-bd36-a85ad49edf3e",type:"string",value:"",required:!1,isImage:!1,name:"className"},{type:"string",id:"48a911bf-94d7-4c92-beb8-551c24498411",value:"",required:!1,isImage:!1,name:"groups"}],order:5},{title:"Bono Bienvenida",visible:!1,id:11,manualItems:[{fields:[{required:!0,name:"title",type:"string",id:"e015fc5e-983e-4096-b82e-6d5ed9957dd5",value:"Recibe",isUrl:!1},{name:"amount",required:!1,value:"S/60",isUrl:!1,type:"string",id:"00b69888-d8ee-4bae-943c-be4e0dead26b"},{value:"SIN ROLLOVER",isUrl:!1,id:"376cd731-4a20-4435-a5ee-351ac55d4351",type:"string",name:"subtitle",required:!1},{isUrl:!1,value:"Hazlo aquí",id:"3b73cff5-cb30-4b00-9b41-305455334e56",type:"string",name:"buttonText",required:!0},{required:!0,name:"backgroundImage",id:"89710b59-2a6a-4de8-be9a-7d9274bad84b",type:"string",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/Fondo.png",isUrl:!0},{isUrl:!1,value:"window.location='https://www.olimpo.bet/promociones/Adq_Recibe30Flex_AAP100'",id:"e7ceaadc-b203-4587-856b-b9015201a43f",type:"function",name:"onButtonClick",required:!1}],id:"8677b338-7d12-4ba9-a95f-d34ed71d92b0"},{id:"6707ce1d-064a-43af-8679-712c7235873a",fields:[{name:"title",required:!0,isUrl:!1,value:"Regístrate y recibe",type:"string",id:"81e1730c-0f9b-4ab9-a4df-f36c974ae99d"},{type:"string",id:"c1e96d9b-e7c7-4bb7-a8db-b67c32dcae32",isUrl:!1,value:"S/40",required:!1,name:"amount"},{value:"SIN ROLLOVER",isUrl:!1,id:"93242ead-5f09-4966-9484-471b27859c31",type:"string",name:"subtitle",required:!1},{id:"0d97802b-7aaf-4ae3-b513-8a5a469e5d5d",type:"string",isUrl:!1,value:"Hazlo aquí",required:!0,name:"buttonText"},{id:"541fcdc8-07a7-47b8-9a33-d22cb865823c",type:"string",isUrl:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/Fondo.png",required:!0,name:"backgroundImage"},{type:"function",id:"b8c4b96c-0807-4040-8c3e-8392fb278aab",value:"window.location='https://www.olimpo.bet/promociones/Adq_Recibe30Flex_AAP100'",isUrl:!1,required:!1,name:"onButtonClick"}]}],dataMode:"manual",manualScalarFields:[{name:"headline",required:!1,value:"Te damos la",isUrl:!1,id:"fec2252c-2c2d-448d-8775-9d073bd8def9",type:"string"},{required:!1,name:"headline2",id:"17e045d1-8ddb-46bc-b3ae-ae0c7ffc5952",type:"string",isUrl:!1,value:"bienvenida al club"},{type:"string",id:"cae601b0-ed5d-4b97-9e1f-1816d7986c6b",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/Fondobg.png",isUrl:!0,required:!1,name:"backgroundImageUrl"}],order:6,updatedAt:"2026-03-19T14:43:05.680Z",variableName:"items",componentKey:"OraculoSeccionBonoBienvenida"},{apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getLobby",visible:!0,title:"Casino en vivo",id:12,dataMode:"url",apiMethod:"POST",apiParams:[{id:"2822fa64-0e89-43ea-9c80-ee77076c95bd",value:"OLI",key:"company"},{id:"2d6f8267-0468-4320-976d-b01df40e8ca3",value:"HOME_CASINOENVIVO",key:"lobby"}],variableName:"items",componentKey:"OraculoSeccionCasinoEnVivo",manualScalarFields:[{required:!0,isImage:!1,name:"title",type:"string",id:"52e655b4-7259-4f7f-9017-dafe24247810",value:"Casino en vivo"},{name:"subtitle",isImage:!1,required:!1,value:"Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",type:"string",id:"e299d500-abdc-4577-bb38-1943b6f02dfd"},{name:"backgroundMobileUrl",isImage:!0,required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/FondoMobile.png",maxSizeMB:2,id:"6dcfd666-c2db-4a19-9fbf-08167bf56ae0",type:"string"},{type:"string",id:"2aa55855-0865-4cf1-a1ee-e52db864c6b4",maxSizeMB:2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1771942936688-fondo3.1.webp",isImage:!0,required:!1,name:"backgroundDesktopUrl"},{required:!1,isImage:!1,name:"groups",id:"e1599845-59d4-4320-903b-3857453b4322",type:"string",value:""}],order:7,updatedAt:"2026-03-19T14:43:05.680Z"},{apiMethod:"GET",visible:!0,title:"Virtuales",apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getLobby",dataMode:"url",id:7,order:8,manualScalarFields:[{name:"title",required:!0,isImage:!1,value:"Virtuales",id:"f6b16510-51db-4124-864d-2d12a0bb1b23",type:"string"},{type:"string",maxSizeMB:.2,id:"f9686ddc-f673-4784-8025-df26f48cc04f",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/virtuales.svg",isImage:!0,required:!0,name:"iconUrl"},{isImage:!1,required:!1,name:"mosaicFirst",id:"4c4f348c-cb17-4fd6-bc4d-f816a42da249",type:"boolean",value:!0},{type:"number",id:"c264c9c3-7178-4961-b366-163d9b818800",value:4,isImage:!1,required:!1,name:"gridSize"},{value:"",type:"string",id:"2310900e-68ce-4a64-89da-e0976d172fee",name:"groups",required:!1,isImage:!1}],updatedAt:"2026-03-19T14:43:05.680Z",variableName:"items",apiParams:[{id:"de915e1d-1742-4383-bd83-ed96fda1145a",value:"OLI",key:"company"},{key:"lobby",value:"HOME_VIRTUALES",id:"039b41a3-4e94-4a52-8798-e78d8651c090"}],componentKey:"OraculoSeccionVirtuales"},{apiMethod:"GET",apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getLobby",visible:!0,title:"Oraculo Seccion Top Juegos",id:13,dataMode:"url",manualScalarFields:[{name:"title",required:!0,isImage:!1,value:"Top juegos",type:"string",id:"a01c36e7-a551-4c92-89e0-e9eabcdbe344"},{name:"iconUrl",required:!0,isImage:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307302930-top.webp",type:"string",id:"1960df1d-b07e-4461-b55f-39834ac30d8e",maxSizeMB:.2},{value:"",type:"string",id:"63dab0f6-b4d1-47af-b1e7-d3dcf4c69c4e",name:"groups",required:!1,isImage:!1}],order:9,updatedAt:"2026-03-19T14:43:05.680Z",apiParams:[{id:"2bcfd8cd-8f1f-474f-beb4-170477acf9bd",key:"company",value:"OLI"},{value:"HOME_TOPJUEGOS",key:"lobby",id:"dac0b2d9-f00d-4979-9deb-31c6f66b1899"}],variableName:"items",componentKey:"OraculoSeccionTopJuegos"},{dataMode:"url",id:6,title:'Promociones "Lo nuevo"',visible:!0,apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getPromotionsLobby",apiMethod:"GET",componentKey:"OraculoSeccionDestacados",variableName:"items",apiParams:[{id:"a2ee1b32-dc39-434f-9358-920e6c7bba0b",key:"company",value:"OLI"},{id:"16715513-30a1-4955-8e94-a4deee4722ba",value:"DESTACADOS",key:"lobby"}],updatedAt:"2026-03-19T14:43:05.680Z",order:10,manualScalarFields:[{type:"string",id:"f131acc5-a298-4583-9952-c0747dc1f1af",value:"Lo nuevo",isImage:!1,required:!0,name:"title"},{name:"iconUrl",required:!0,isImage:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",id:"8f0dadc8-ff0f-4074-870f-2bbcd9f38cab",maxSizeMB:.2,type:"string"},{isImage:!1,required:!1,name:"className",id:"39cd368d-0003-4145-88a9-f22b1a4ef32b",type:"string",value:""},{id:"a9e218fd-9cc6-432f-a7bf-c119581e6927",type:"string",value:"",isImage:!1,required:!1,name:"groups"}]},{title:"Club Olimpo",visible:!0,id:8,manualItems:[{fields:[{value:"¡Canjea bonos, productos y las mejores experiencias!",type:"string",id:"65b37bc4-f480-4409-afd7-ff8b83c722e0",name:"text",isImage:!1,required:!0},{isImage:!1,required:!1,name:"buttonLabel",type:"string",id:"cdc8fb20-5c5a-4165-93be-4df1026cdcee",value:"Vamos"},{name:"imgAlt",isImage:!1,required:!1,value:"",id:"9f25442e-caeb-4fab-9bea-b91f1aef97eb",type:"string"},{name:"imgMobile",required:!0,isImage:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307329736-clubolimpo-mobile.webp",type:"string",maxSizeMB:2,id:"259ffa74-7e4f-48e6-90da-4837f2c37fe9"},{type:"string",id:"e7812141-42d8-419f-9d15-b8711139e980",maxSizeMB:2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307339455-clubolimpo.webp",isImage:!0,required:!1,name:"imgDesktopBg"},{value:"https://d28gilnhu2bcbp.cloudfront.net/landing/Logo.png",type:"string",maxSizeMB:.2,id:"622d860b-9f9f-462a-a675-3768d6daf3c3",name:"imgDesktopLogo",required:!1,isImage:!0}],id:"03e20297-c0fa-4382-85b2-54eaa9325be1"}],dataMode:"manual",manualScalarFields:[{name:"groups",isImage:!1,required:!1,value:"",id:"3b00e159-6da9-4c45-8382-47d54db59181",type:"string"}],order:11,updatedAt:"2026-03-19T14:43:05.680Z",manualItems2:[],variableName:"items",componentKey:"OraculoSeccionClubOlimpo"},{order:12,updatedAt:"2026-03-19T14:43:05.680Z",visible:!0,title:"Medios de Pago",id:10,componentKey:"OraculoSeccionMediosPago"}]},No=t=>typeof t=="function"||t&&typeof t=="object"&&"$$typeof"in t,$o=t=>/^OraculoSeccion[A-Z]/.test(t);function Te(t){return t&&Array.isArray(t.sections)?t.sections.slice().sort((a,n)=>{var o,s;return((o=a.order)!=null?o:0)-((s=n.order)!=null?s:0)}).map((a,n)=>({...a,order:n+1})):t&&Array.isArray(t.components)?t.components.map((a,n)=>{var o,s,l,i,c;return{id:(o=a.id)!=null?o:n+1,title:(s=a.title)!=null?s:"",componentKey:a.componentKey,visible:(l=a.visible)!=null?l:!0,order:n+1,props:(i=a.props)!=null?i:{},apiUrl:(c=a.apiUrl)!=null?c:"",dataMode:a.dataMode,variableName:a.variableName,manualItems:a.manualItems,apiMethod:a.apiMethod,apiParams:a.apiParams,manualScalarFields:a.manualScalarFields,variableName2:a.variableName2,manualItems2:a.manualItems2}}):[]}const Ro=Object.fromEntries(Object.entries(ko).filter(([t,a])=>$o(t)&&No(a))),Mo=t=>{try{return Object.fromEntries(t!=null?t:[])}catch{return console.warn("[oraculo] extras inválidos. Debe ser Array<[string, unknown]>",t),{}}};class bt extends Error{constructor(a,n,o){super(`HTTP ${a} ${o}`),this.status=a,this.url=n,this.statusText=o,this.name="HttpError"}}class Ao extends xe.default.Component{constructor(a){super(a),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(a,n){console.error("[landing] sección que falló:",{id:this.props.section.id,title:this.props.section.title,componentKey:this.props.section.componentKey,error:a,info:n})}render(){return this.state.hasError?null:this.props.children}}const xt=["OraculoSeccionEventoEnVivo","OraculoSeccionEventoSemana","OraculoSeccionEventoCombinadas"],Bo=["OraculoSeccionCasino","OraculoSeccionVirtuales","OraculoSeccionCasinoEnVivo","OraculoSeccionTopJuegos","OraculoSeccionDestacados"],Zt=({sectionsOverride:t,docId:a="Landing: home",moduleId:n=301,db:o,extras:s,loader:l,disableWrapper:i=!1})=>{const c=S.useMemo(()=>Mo(s),[s]),g=l||c.loader,[f,m]=S.useState(()=>t?[]:Te(Ae)),[d,u]=S.useState(!1),[h,y]=S.useState({}),[b,v]=S.useState({}),[R,T]=S.useState({}),O=H.useMediaQuery("(min-width:1024px)"),A=S.useMemo(()=>Te(Ae),[]),j=r=>A.find(p=>p.id===r.id||p.componentKey===r.componentKey),_=r=>Array.isArray(r)?r.map(p=>Number(p)).filter(p=>!Number.isNaN(p)):[],w=S.useMemo(()=>{const r=c.user;return _(r==null?void 0:r.groups)},[c]),M=r=>{const p=r.manualScalarFields;if(!Array.isArray(p))return[];const C=p.find(N=>String((N==null?void 0:N.name)||"").trim().toLowerCase()==="groups");if(!C)return[];const $=C.value;if($==null)return[];if(Array.isArray($))return $.map(N=>Number(String(N).trim())).filter(N=>!Number.isNaN(N));const k=String($).trim();return k?k.split(",").map(N=>Number(N.trim())).filter(N=>!Number.isNaN(N)):[]},E=(r,p)=>{const C=M(r);if(C.length===0)return!0;if(!Array.isArray(p)||p.length===0)return!1;const $=new Set(p);return C.some(k=>$.has(k))};S.useEffect(()=>{if(t)return;if(!o){console.warn("[landing] sin db -> fallback json"),m(Te(Ae));return}const r=(C,$)=>{console.warn("[landing] FALLBACK:",C,$!=null?$:""),m(Te(Ae)),u(!1)};u(!0);const p=ot.onSnapshot(ot.doc(o,"landings",a),C=>{try{if(!C.exists()){r(`doc landings/${a} no existe`);return}const $=C.data(),k=Te($);if(!k.length){r("JSON inválido o sin secciones normalizables",$);return}console.log("[landing] Firestore OK (json grande):",$),m(k)}catch($){r("error procesando snapshot",$)}finally{u(!1)}},C=>{r("error onSnapshot",C)});return()=>p()},[t,a,o]),S.useEffect(()=>($n(c),()=>Rn()),[c]),S.useEffect(()=>{(t?t.slice():f.slice()).map(C=>C.componentKey).filter(C=>!!C).length},[t,f]);const x=async r=>{if(xt.includes(r.componentKey))return{items:[],events:[],data:{}};const p=(r.apiUrl||"").trim();if(!p)return;const C=r.apiMethod||"GET",$=r.apiParams||[];let k=p,N,F;if(C==="GET"){const te=new URL(p,typeof window=="undefined"?"http://localhost":window.location.origin);for(const ae of $)ae.key&&te.searchParams.append(ae.key,ae.value);k=te.toString()}else{const te=new URLSearchParams;for(const ae of $)ae.key&&te.append(ae.key,ae.value);N=te.toString(),F={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}}const J=await fetch(k,{method:C,headers:F,body:N});if(!J.ok)throw new bt(J.status,k,J.statusText);return J.json()},I=S.useMemo(()=>t?t.slice():f.slice(),[t,f]),P=xe.default.useRef(new Set);S.useEffect(()=>{const r=I.map(p=>({s:p,url:(p.apiUrl||"").trim()})).filter(({url:p})=>!!p);if(r.length)for(const{s:p,url:C}of r){const $=`${p.id}|${C}`;P.current.has($)||(P.current.add($),v(k=>({...k,[p.id]:!0})),T(k=>({...k,[p.id]:""})),(async()=>{try{const k=await x(p);y(N=>({...N,[p.id]:k}))}catch(k){let N="Error desconocido";k instanceof bt?N=`Error HTTP ${k.status} (${k.statusText}) en ${k.url}`:k instanceof SyntaxError?N="Respuesta no es JSON válido":k instanceof TypeError?N="Fallo de red / CORS / conexión":typeof k=="string"&&(N=k.toString()),T(F=>({...F,[p.id]:N}))}finally{v(k=>({...k,[p.id]:!1}))}})())}},[I]);const B=S.useMemo(()=>I.filter(r=>r.visible).filter(r=>E(r,w)).sort((r,p)=>r.order-p.order),[I,w]),L=r=>Array.isArray(r)?r.map(p=>{const C={};for(const $ of p.fields||[]){const k=($.type||"string").toLowerCase();if(k==="number"){const N=String($.value||"").trim();if(N!==""){const F=Number(N);Number.isNaN(F)||(C[$.name]=F)}}else if(k==="boolean")C[$.name]=String($.value).toLowerCase()==="true";else if(k==="function"){const N=String($.value||"").trim();if(N)try{const F=new Function(N);C[$.name]=F}catch(F){console.error(`❌ Error creando función en item '${$.name}':`,F)}}else C[$.name]=$.value}return C}):[],U=r=>{const p={};if(!Array.isArray(r))return p;for(const C of r){if(!C.name)continue;const $=(C.type||"string").toLowerCase();if($==="number"){const k=String(C.value||"").trim();if(k!==""){const N=Number(k);Number.isNaN(N)||(p[C.name]=N)}}else if($==="boolean")p[C.name]=String(C.value).toLowerCase()==="true";else if($==="function"){const k=String(C.value||"").trim();if(k)try{const N=new Function(k);p[C.name]=N}catch(N){console.error(`❌ Error creando función en item '${C.name}':`,N)}}else p[C.name]=C.value}return p},V=(r,p,C,$)=>{const k=C?{...C}:{},N=($||"items").trim()||"items";if(p)return k[N]=p.arr||[],k;const F=r;if(Array.isArray(F))return k[N]=F,k;if(F&&typeof F=="object"){const J=F;return Array.isArray(J.lobby)?(k[N]=J.lobby,k):Array.isArray(J.items)?(k[N]=J.items,k):(k[N]=F,k)}return k[N]=[],k},W=r=>{var N;const p=!!((N=r.apiUrl)!=null&&N.trim()),C=p?h[r.id]:void 0;let $=r.props?{...r.props}:{};const k=U(r.manualScalarFields);if(xt.includes(r.componentKey))return{items:C,...$,...k};if($={...$,...k},p)$=V(C,null,$);else if(r.dataMode==="manual"){const F=L(r.manualItems);if($=V(null,{arr:F,variableName:r.variableName},$,r.variableName),r.variableName2&&r.manualItems2){const J=L(r.manualItems2),te=(r.variableName2||"items2").trim()||"items2";$[te]=J}}return $},G=r=>{const p=r.props?{...r.props}:{};try{Object.assign(p,U(r.manualScalarFields))}catch($){console.error("❌ Error armando scalars vacíos:",r,$)}const C=(r.variableName||"items").trim()||"items";if(typeof p[C]=="undefined"&&(p[C]=[]),r.variableName2){const $=(r.variableName2||"items2").trim()||"items2";typeof p[$]=="undefined"&&(p[$]=[])}return p},z=r=>{try{return W(r)}catch(p){console.error("🔥 ERROR EN buildCompProps:",r,p);const C=j(r);if(C&&C!==r)try{return console.warn(`[landing] usando fallback local para sección ${r.title} (${r.componentKey})`),W(C)}catch($){console.error("🔥 ERROR EN fallback buildCompProps:",C,$)}return G(r)}},K=(r,p,C)=>{const $={loading:"bg-blue-100 text-blue-800",error:"bg-red-100 text-red-800",component:"bg-yellow-100 text-yellow-800"};return e.jsx("div",{className:`mx-4 p-4 rounded ${$[p]}`,children:C},r)},Y=r=>{var Ce;const p=r.componentKey,C=Ro[p],k=new Set(["OraculoSeccionBanners","OraculoSeccionBonoBienvenida","OraculoSeccionCasinoEnVivo","OraculoSeccionClubOlimpo",...O?[]:["OraculoSeccionEventoEnVivo","OraculoSeccionEventoSemana","OraculoSeccionEventoCombinadas","OraculoSeccionVirtuales","OraculoSeccionDestacados","OraculoSeccionCasino"]]).has(r.componentKey),N=O?120:24,F=(O?8:5)*8,J=r.componentKey==="OraculoSeccionCasinoEnVivo",te={width:"100%",boxSizing:"border-box",...k?{}:{paddingLeft:N,paddingRight:N},...J?{marginTop:-F,marginBottom:-F}:{}};if(!C)return console.warn(`No hay componente registrado para "${p}"`),K(r.id,"component",`Componente "${p}" no encontrado`);const ae=!!((Ce=r.apiUrl)!=null&&Ce.trim()),Z=ae?h[r.id]:void 0,ne=ae?!!b[r.id]:!1,_e=ae?R[r.id]:"";if(ae){const Kt=Bo.includes(r.componentKey);if(ne&&!Z&&!Kt)return K(r.id,"loading",`Cargando datos desde ${r.apiUrl}...`);if(_e&&!Z){const $e=j(r);if($e&&$e.dataMode==="manual")try{const Ue=z($e);return e.jsx("div",{style:te,className:"oraculo-section-wrapper",children:e.jsx(C,{...Ue})},r.id)}catch(Ue){console.error("🔥 ERROR renderizando fallback manual de sección:",$e,Ue)}return K(r.id,"error",`Error cargando ${r.apiUrl}: ${_e}`)}}const ve=z(r),ye=r.componentKey==="OraculoSeccionClubOlimpo"||r.componentKey==="OraculoSeccionBanners"?{...ve,user:c.user}:ve;return e.jsx(Ao,{section:r,children:e.jsx("div",{style:te,className:"oraculo-section-wrapper","data-component-key":p,children:e.jsx(C,{...ye})},r.id)})};return d&&!t&&f.length===0?g?e.jsx(g,{}):e.jsx("div",{children:"Cargando..."}):!d&&!t&&f.length===0?e.jsx("div",{className:"text-xs text-gray-500",children:"Sin secciones (Firestore)"}):e.jsx(nt,{children:e.jsx(et,{docId:a,moduleId:n,children:e.jsx(H.Container,{className:"oli-font",maxWidth:!1,disableGutters:!0,sx:{backgroundColor:"#121212",position:"relative",pb:5,width:"100%",maxWidth:"100%",overflowX:"hidden"},children:e.jsx(H.Stack,{direction:"column",spacing:O?8:5,useFlexGap:!0,children:B.map(r=>{try{return Y(r)}catch(p){return console.error("🔥 ERROR EN SECTION:",r,p),null}})})})})})};exports.DocIdProvider=et;exports.OraculoButton=ee;exports.OraculoCarousel=fe;exports.OraculoCarouselDots=Je;exports.OraculoClubOlimpoVisual=It;exports.OraculoEventCombinadasCard=kt;exports.OraculoEventEnVivoCard=Nt;exports.OraculoEventHeader=jt;exports.OraculoEventLabel=Le;exports.OraculoEventLeague=Xe;exports.OraculoEventScore=Qe;exports.OraculoEventSemanaCard=$t;exports.OraculoEventStatus=wt;exports.OraculoEventStatusBadge=St;exports.OraculoEventTeamInfo=Ne;exports.OraculoGameCard=ke;exports.OraculoGameRankCard=Ot;exports.OraculoGameSlide=Ye;exports.OraculoGridGroup=se;exports.OraculoLiveCasinoCard=Ze;exports.OraculoLogoMediosPago=He;exports.OraculoPageLandingPreview=Zt;exports.OraculoSeccionBanners=Gt;exports.OraculoSeccionBonoBienvenida=qt;exports.OraculoSeccionCasino=Lt;exports.OraculoSeccionCasinoEnVivo=At;exports.OraculoSeccionClubOlimpo=zt;exports.OraculoSeccionDestacados=Rt;exports.OraculoSeccionEventoCombinadas=Ut;exports.OraculoSeccionEventoEnVivo=Wt;exports.OraculoSeccionEventoSemana=Dt;exports.OraculoSeccionMediosPago=Ht;exports.OraculoSeccionTopJuegos=tt;exports.OraculoSeccionVirtuales=Ft;exports.OraculoSectionHost=To;exports.OraculoSectionTitle=pe;exports.OraculoThemeProvider=nt;exports.OraculoTopJuegoItem=tt;exports.OraculoWelcomeBanner=Ke;exports.default=Zt;
19
+ `},zt=({headline:t,headline2:a,items:n,backgroundImageUrl:o})=>{const r=ie.useCaptureInteraction(),i=le(),s=Ce.default("(max-width: 767px)"),l=n.length>1,f=v.useRef(null),p=v.useRef(null),u=v.useRef(!1),c=v.useRef(!1),[d,g]=v.useState(0),[y,h]=v.useState({isStart:!0,isEnd:!1});v.useEffect(()=>{const b=setTimeout(()=>{u.current=!0},500);return()=>clearTimeout(b)},[]);const _=v.useRef(y);v.useEffect(()=>{_.current=y},[y]);const $=v.useRef(!1),N=v.useRef(null),j=n==null?void 0:n[d],A=v.useMemo(()=>{var b,C;return(C=(b=j==null?void 0:j.backgroundImageUrl)!=null?b:o)!=null?C:""},[j,o]),w=ao(A),x=!n||n.length===0,S=(b,C)=>{r({element:"welcome_banner_button",label:`OraculoSeccionBonoBienvenida - Banner button click: ${b.title||"OraculoSeccionBonoBienvenida - Banner "+(C+1)}`,target:"action",event_type:"click",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",banner_position:C+1,banner_total:(n==null?void 0:n.length)||0},tags:{banner_title:b.title||"no_title",button_text:b.buttonText||"no_text"}}),b.onButtonClick&&b.onButtonClick()},R=b=>{if(!u.current)return;if(c.current){c.current=!1;return}const C=n==null?void 0:n[b];r({element:"welcome_banner_carousel",label:`Landing: ${i} - OraculoSeccionBonoBienvenida - Banner view: ${(C==null?void 0:C.title)||"OraculoSeccionBonoBienvenida - Banner "+(b+1)}`,target:"no_url",event_type:"view",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",slide_index:b+1,total_slides:(n==null?void 0:n.length)||0,interaction_type:"manual_slide"},tags:{banner_position:String(b+1),banner_title:(C==null?void 0:C.title)||"no_title"}})};v.useEffect(()=>{const b=p.current;if(!b)return;const C=6,q=380,B=P=>{var K,U;if(x||P.ctrlKey||$.current)return;const D=P.deltaX,W=P.deltaY;if(Math.abs(D)<=Math.abs(W)||Math.abs(D)<C)return;const G=D>0;G&&_.current.isEnd||!G&&_.current.isStart||(P.preventDefault(),$.current=!0,G?(K=f.current)==null||K.next():(U=f.current)==null||U.prev(),N.current&&window.clearTimeout(N.current),N.current=window.setTimeout(()=>{$.current=!1},q))};return b.addEventListener("wheel",B,{passive:!1}),()=>{b.removeEventListener("wheel",B),N.current&&window.clearTimeout(N.current)}},[x]);const E=(b,C,q)=>{var D,W;const B=(D=b.headline)!=null?D:t,P=(W=b.headline2)!=null?W:a;return C?e.jsxs(z.default,{sx:{maxWidth:1200,mx:"auto",px:15,display:"grid",gridTemplateColumns:"260px minmax(0, 1fr)",alignItems:"center",columnGap:6},children:[(B||P)&&e.jsx(z.default,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-start",minHeight:"100%"},children:e.jsxs(z.default,{sx:{...pt,textAlign:"left",mb:0},children:[B&&e.jsx(ge.default,{component:"span",sx:ft,children:B}),P&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(ge.default,{component:"span",sx:gt,children:P})]})]})}),e.jsx(z.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:e.jsx(z.default,{sx:{width:"100%",maxWidth:600,mx:"auto"},children:e.jsx(Ze,{...b,onButtonClick:()=>S(b,q),variant:"large"})})})]}):e.jsxs(z.default,{sx:{textAlign:"center"},children:[(B||P)&&e.jsxs(z.default,{sx:pt,children:[B&&e.jsx(ge.default,{component:"span",sx:ft,children:B}),P&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(ge.default,{component:"span",sx:gt,children:P})]})]}),e.jsx(z.default,{sx:{display:"flex",justifyContent:"center"},children:e.jsx(Ze,{...b,onButtonClick:()=>S(b,q),variant:"small"})})]})};return e.jsxs(z.default,{component:"section",sx:w,children:[e.jsx("div",{ref:p,style:{width:"100%"},children:e.jsx(xe,{ref:f,items:n,perPage:1,gap:"0px",options:{autoWidth:!1},renderItem:(b,C)=>e.jsx(z.default,{sx:{width:"100%"},children:E(b,!s,C)}),onMove:({index:b,isStart:C,isEnd:q,source:B})=>{g(b),typeof C=="boolean"&&typeof q=="boolean"&&h({isStart:C,isEnd:q}),B==="user"&&R(b)}})}),l&&e.jsx(z.default,{sx:{mt:2,display:"flex",justifyContent:"center"},children:e.jsx(Je,{total:n.length,active:d,onSelect:b=>{var C;r({element:"welcome_banner_dots",label:`Landing: ${i} - OraculoSeccionBonoBienvenida - Dot navigation: Banner ${b+1}`,target:"no_url",event_type:"click",module_id:301,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",dot_index:b+1,total_dots:n.length},tags:{navigation_type:"dot_click"}}),g(b),(C=f.current)==null||C.go(b)}})})]})},Ut=({className:t="",fullBleed:a=!0,items:n,selectedIndex:o=0,ariaLabel:r,user:i=null})=>{const s=v.useRef(null),l=v.useRef(null),f=ie.useCaptureInteraction(),p=le(),u=ue();if(!n)return null;const c=async()=>{let h=i;if((!(h!=null&&h.user)||!(h!=null&&h.session))&&typeof window!="undefined")try{const _=localStorage.getItem("user");_&&(h=JSON.parse(_))}catch(_){console.error("[getMarketPlaceUrl] Error parsing localStorage user",_)}if(!(h!=null&&h.user)||!(h!=null&&h.session))return console.warn("User data missing"),null;f({element:"club_olimpo_button",label:`${p} - OraculoSeccionClubOlimpo - Click: Club Olimpo`,target:"https://www.clubolimpo.com/OlimpoBetWeb/",event_type:"click",module_id:u,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionClubOlimpo"}});try{const _={idUsuario:"PE"+h.user,session_id:h.session,pagina:"home"},N=await fetch("https://apipe.mktolimpo.com/api/pm/token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(_)});if(N.ok){const j=await N.json();return j==null?void 0:j.url}return null}catch(_){return console.error("[getMarketPlaceUrl]",_),null}},d=async()=>{const h=await c();h?window.location.href=h:typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign("https://www.olimpo.bet/conoce-club-olimpo")},g=Array.isArray(n)?n[o]:n;v.useLayoutEffect(()=>{if(!s.current||!l.current||typeof ResizeObserver=="undefined")return;const h=s.current,_=l.current,$=()=>{h.style.setProperty("--orc-co-bottomH",`${_.offsetHeight+16}px`)},N=new ResizeObserver($);return N.observe(_),$(),()=>N.disconnect()},[]);const y=["orc-co-wrap",a?"orc-co-fullBleed":"",t].filter(Boolean).join(" ");return e.jsx("section",{ref:s,className:y,"aria-label":r||g.imgAlt||"Club Olimpo",children:e.jsx("div",{ref:l,children:e.jsx(Et,{text:g.text,onClick:d,imgAlt:g.imgAlt,buttonLabel:g.buttonLabel,imgSrcMobile:g.imgMobile,imgSrcDesktopBg:g.imgDesktopBg,imgSrcDesktopLogo:g.imgDesktopLogo})})})},no="oraculo__OraculoSeccionEventoCombinadas-module__controls___Zsta4",oo="oraculo__OraculoSeccionEventoCombinadas-module__padding___vf-yF",ht={controls:no,padding:oo},ro=t=>{var a,n;return(a=t.outcome)!=null&&a.id?[t.outcome.id]:t.type==="BET_BUILDER"&&((n=t.group)!=null&&n.groups)?t.group.groups.flatMap(o=>{var r,i;return(i=(r=o.outcomes)==null?void 0:r.map(s=>s.id))!=null?i:[]}):[]};function so(t,a,n){return n?n.map(o=>{var u,c;const r=o.prePackCouponRows.flatMap(d=>ro(d).map(g=>({eventId:d.eventId,outcomeId:g}))),i=new Set(r.map(d=>d.eventId)),s=new Set(r.map(d=>d.outcomeId)),l=new Map(r.map((d,g)=>[d.outcomeId,g])),f={};for(const d of a){if(!i.has(d.eventId))continue;const g=d.outcomes.filter(y=>s.has(y.id)).map(y=>({...y,position:l.get(y.id)}));g.length&&((c=f[u=d.eventId])!=null||(f[u]=[]),f[d.eventId].push({...d,outcomes:g}))}const p=t.filter(d=>i.has(d.id)).map(d=>{var g;return{...d,betoffers:(g=f[d.id])!=null?g:[]}});return{couponId:o.id,status:o.status,combinadoTotal:io(o.prePackCouponRows),events:p}}):[]}function io(t){if(!Array.isArray(t)||t.length===0)return 0;let a=1;for(const n of t){const o=n.odds.decimal/1e3,r=Math.round(o*100)/100;a*=r}return Math.floor(a*100)/100}const lo=Se.default.memo(Nt);function Vt({items:t,title:a="Combinadas del Olimpo",iconUrl:n="https://d28gilnhu2bcbp.cloudfront.net/landing/rayoIcon.svg",onViewMore:o,className:r=""}){const i=ie.useCaptureInteraction(),s=le(),l=ue(),f=v.useRef(null),[p,u]=v.useState({isStart:!0,isEnd:!1}),[c,d]=v.useState([]),g="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",y=()=>{var w;i({element:"evento_combinadas_prev",label:`${s} - OraculoSeccionEventoCombinadas - Click: Anterior`,event_type:"click",module_id:l,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoCombinadas"}}),(w=f.current)==null||w.prev()},h=()=>{var w;i({element:"evento_combinadas_next",label:`${s} - OraculoSeccionEventoCombinadas - Click: Siguiente`,event_type:"click",module_id:l,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoCombinadas"}}),(w=f.current)==null||w.next()},_=()=>{i({element:"evento_combinadas_ver_mas",label:`${s} - OraculoSeccionEventoCombinadas - Click: Ver más`,event_type:"click",module_id:l,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoCombinadas"}}),on()},$=v.useMemo(()=>c.filter(w=>{var x;return w.combinadoTotal!==null&&((x=w.events)==null?void 0:x.length)>0}),[c]);async function N(){var w,x,S,R;try{const b=await(await fetch(g)).json(),C=(R=(S=(x=(w=b==null?void 0:b.group)==null?void 0:w.groups)==null?void 0:x.map(D=>D.id))==null?void 0:S.filter(Boolean))==null?void 0:R.join(",");if(!C){console.error("Could not extract group ID");return}const q=`https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/prepackcoupon/eventgroup/${C}.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764283566783&prePackCouponTags=CUSTOM`,P=await(await fetch(q)).json();d(so(P.events,P.betOffers,P.prePackCoupons))}catch(E){console.error("loadDataEventSpecial error:",E)}}v.useEffect(()=>{N()},[]);const j=r||void 0,A=Ce.default("(max-width:950px)");return $.length===0?null:e.jsx("section",{className:j,style:{width:"100%",boxSizing:"border-box"},children:e.jsxs(Y.default,{direction:"column",spacing:1.5,useFlexGap:!0,children:[e.jsx("div",{className:ht.padding,children:e.jsxs(ce,{spacing:1.5,columns:"1fr auto ",justify:"start",children:[e.jsx(be,{title:a,iconUrl:n,size:"md"}),e.jsxs("div",{className:ht.controls,children:[e.jsxs(ce,{spacing:1,columns:"auto auto",children:[e.jsx(ae,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(ye.ChevronLeftRounded,{}),onClick:y,disabled:p.isStart}),e.jsx(ae,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(ye.ChevronRightRounded,{}),onClick:h,disabled:p.isEnd})]}),e.jsx(ae,{variant:"secondary",onClick:_,children:"Ver más"})]})]})}),e.jsx(xe,{ref:f,items:$,perPage:void 0,gap:"16px",options:{autoWidth:!0,trimSpace:"move"},useIndexAsKey:!0,enableHorizontalWheel:!0,showRightGradient:!A,breakpoints:{768:{perPage:1.2,gap:"12px",padding:{left:"24px",right:"24px"}}},renderItem:w=>e.jsx(lo,{coupon:w}),onMove:({isStart:w,isEnd:x})=>u({isStart:w,isEnd:x})})]})})}function co({}){return e.jsx("div",{className:we.cardWrapper,children:e.jsxs(Y.default,{direction:"column",spacing:1,children:[e.jsxs(Y.default,{spacing:1,direction:"row",children:[e.jsx(X.default,{variant:"text",width:"60%",height:24}),e.jsx(X.default,{variant:"text",width:"39%",height:24})]}),e.jsxs(Y.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:[e.jsx(X.default,{variant:"circular",width:32,height:40}),e.jsx(X.default,{variant:"text",width:40,height:40}),e.jsx(X.default,{variant:"circular",width:32,height:40})]}),e.jsxs(Y.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:[e.jsx(X.default,{variant:"text",width:32,height:16}),e.jsx(X.default,{variant:"text",width:40,height:16}),e.jsx(X.default,{variant:"text",width:32,height:16})]}),e.jsxs(Y.default,{spacing:2,direction:"row",children:[e.jsx(X.default,{variant:"rounded",width:88,height:16}),e.jsx(X.default,{variant:"rounded",width:88,height:16}),e.jsx(X.default,{variant:"rounded",width:88,height:16})]}),e.jsxs(Y.default,{spacing:2,direction:"row",children:[e.jsx(X.default,{variant:"rounded",width:88,height:32}),e.jsx(X.default,{variant:"rounded",width:88,height:32}),e.jsx(X.default,{variant:"rounded",width:88,height:32})]})]})})}const uo="oraculo__FadeItemWrapper-module__fadeWrapper___kFOH4",mo={fadeWrapper:uo};function qe({children:t}){return e.jsx("div",{className:mo.fadeWrapper,children:t})}const po="oraculo__OraculoSeccionEventoEnVivo-module__padding___Sh8tD",fo={padding:po};function Wt({events:t,visibleRange:a,fetchJerseys:n,buffer:o=2,debounceMs:r=250}){const[i,s]=v.useState({}),l=v.useRef(new Set),f=v.useRef(0),p=v.useRef(null),u=v.useRef(null);return v.useEffect(()=>{if(!(!t||t.length===0))return p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{var A,w;const c=(A=a.start)!=null?A:0,d=(w=a.end)!=null?w:7,g=Math.max(0,c-o),y=Math.min(t.length-1,d+o);let h=g,_=y;const $=u.current;$&&(g>$.end&&(h=$.end+1),y<$.start&&(_=$.start-1)),u.current={start:g,end:y};const N=t.slice(h,_+1).map(x=>x==null?void 0:x.id).filter(x=>!!x).filter(x=>!l.current.has(x)).filter(x=>!(x in i));if(N.length===0)return;N.forEach(x=>l.current.add(x));const j=++f.current;(async()=>{try{const x=await n(N);if(j!==f.current){N.forEach(R=>l.current.delete(R));return}if(!(x!=null&&x.events)){N.forEach(R=>l.current.delete(R));return}s(R=>{const E={...R};for(const[b,C]of Object.entries(x.events)){const q=Number(b);E[q]||(E[q]=C)}return E});const S=new Set(Object.keys(x.events).map(Number));N.forEach(R=>{l.current.delete(R)})}catch(x){N.forEach(S=>l.current.delete(S)),console.error("Jersey fetch error",x)}})()},r),()=>{p.current&&clearTimeout(p.current)}},[t,a,o,r,n]),{jerseys:i,isPending:l.current}}const go=t=>{const a=["esports","cyber"];return t.filter(n=>{var i,s;if(typeof((i=n==null?void 0:n.event)==null?void 0:i.sport)!="string")return!1;const r=typeof((s=n==null?void 0:n.event)==null?void 0:s.group)=="string"?n.event.group.toLowerCase():"";return!a.some(l=>r.includes(l))})},ho=Se.default.memo($t);function Dt({items:t,title:a="En vivo",iconUrl:n="https://d28gilnhu2bcbp.cloudfront.net/landing/1778868672728-evento-en-vivo.gif",onViewMore:o,className:r=""}){const i=[{sport:"football",url:"https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/football/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true"},{sport:"basketball",url:"https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/basketball/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true"},{sport:"tennis",url:"https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/tennis/all/all/all/in-play.json?channel_id=3&channel_id=3&client_id=200&client_id=200&competitionId=undefined&lang=es_PE&lang=es_PE&market=PE&market=PE&useCombined=true&useCombinedLive=true"}],s=v.useRef(null),[l,f]=v.useState({isStart:!0,isEnd:!1}),[p,u]=v.useState(null),[c,d]=v.useState({start:null,end:null}),[g,y]=v.useState(null),h=v.useRef(!1),_=ie.useCaptureInteraction(),$=le(),N=ue(),j=v.useRef(new Map),A=()=>{var B;_({element:"evento_en_vivo_prev",label:`${$} - OraculoSeccionEventoEnVivo - Anterior`,target:"prev",event_type:"click",module_id:N,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoEnVivo"}}),(B=s.current)==null||B.prev()},w=()=>{var B;_({element:"evento_en_vivo_next",label:`${$} - OraculoSeccionEventoEnVivo - Siguiente`,target:"next",event_type:"click",module_id:N,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoEnVivo"}}),(B=s.current)==null||B.next()},x=()=>{_({element:"evento_en_vivo_view_more",label:`${$} - OraculoSeccionEventoEnVivo - Ver más`,target:"ver_mas",event_type:"click",module_id:N,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoEnVivo"}}),an()},S=v.useCallback(async()=>{var B;try{if(!h.current){h.current=!0;try{const U=await(await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden")).json(),Q=((B=U==null?void 0:U.data)==null?void 0:B.event_ids)||[],ee=new Map;Q.forEach((O,F)=>ee.set(String(O),F)),j.current=ee}catch(K){console.error("Order fetch failed, using default sorting",K)}}const P=await Promise.all(i.map(async K=>{try{const U=await fetch(K.url);if(!U.ok)throw new Error(`Failed to fetch ${K.sport}`);const Q=await U.json();return{sport:K.sport,events:Q.events||[]}}catch(U){return console.error(`Error fetching ${K.sport}:`,U),{sport:K.sport,events:[]}}}));let D=[];P.forEach(({sport:K,events:U})=>{const ee=go(U).map(O=>({...O,_sportGroup:K}));D.push(...ee)});const W={football:0,basketball:0,tennis:0},G=D.sort((K,U)=>{var k,I;const Q=(k=W[K._sportGroup])!=null?k:1/0,ee=(I=W[U._sportGroup])!=null?I:1/0;if(Q!==ee)return Q-ee;const O=j.current.get(String(K.event.id)),F=j.current.get(String(U.event.id));return(O!==void 0?O:1/0)-(F!==void 0?F:1/0)});u(G)}catch(P){console.error("LoadData Error:",P)}},[]);v.useEffect(()=>{S();const B=setInterval(S,2e4);return()=>clearInterval(B)},[S]);const{jerseys:R}=Wt({events:(p==null?void 0:p.map(B=>B.event))||[],visibleRange:c,fetchJerseys:Ct,buffer:3,debounceMs:300}),E=r||void 0,b=p===null,C=v.useMemo(()=>b?Array(4).fill({}):(p==null?void 0:p.slice(0,20))||[],[b,p]),q=Ce.default("(max-width:950px)");return!b&&p.length===0?null:e.jsx("section",{className:E,style:{width:"100%",boxSizing:"border-box"},children:e.jsxs(Y.default,{direction:"column",spacing:1.5,useFlexGap:!0,children:[e.jsx("div",{className:fo.padding,children:e.jsxs(ce,{spacing:1.5,columns:"1fr auto ",justify:"start",children:[e.jsx(be,{title:a,iconUrl:n,size:"md"}),e.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[e.jsxs(ce,{spacing:1,columns:"auto auto",children:[e.jsx(ae,{ariaLabel:"Anterior",variant:"secondary",iconOnly:!0,leftIcon:e.jsx(ye.ChevronLeftRounded,{}),onClick:A,disabled:l.isStart}),e.jsx(ae,{ariaLabel:"Siguiente",variant:"secondary",iconOnly:!0,rightIcon:e.jsx(ye.ChevronRightRounded,{}),onClick:w,disabled:l.isEnd})]}),e.jsx(ae,{variant:"secondary",onClick:x,children:"Ver más"})]})]})}),e.jsx(xe,{ref:s,items:C,perPage:void 0,showRightGradient:!q,enableHorizontalWheel:!0,gap:"16px",options:{autoWidth:!0,trimSpace:"move"},breakpoints:{400:{gap:"4px",focus:"center",padding:{left:"24px",right:"24px"}},768:{gap:"8px",focus:"center",padding:{left:"24px",right:"24px"}},1024:{gap:"10px",focus:"center",padding:{left:"24px",right:"24px"}}},renderItem:B=>{var W;const P=((W=B.event)==null?void 0:W.id)||B.eventId,D=P in R?R[P]:void 0;return b?e.jsx(qe,{children:e.jsx(co,{})}):e.jsx(qe,{children:e.jsx(ho,{...B,jersey:D})})},onMove:({isStart:B,isEnd:P,visibleStart:D,visibleEnd:W})=>{f(G=>G.isStart===B&&G.isEnd===P?G:{isStart:B,isEnd:P}),d({start:D,end:W})}})]})})}function bo(){return e.jsxs("div",{className:je.cardContainer,children:[e.jsx(Xe,{title:""}),e.jsx("div",{className:je.cardBackground,children:e.jsxs(Y.default,{direction:"column",spacing:{xs:.5,md:1},useFlexGap:!0,children:[e.jsxs(Y.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:[e.jsx(X.default,{variant:"circular",width:48,height:48}),e.jsx(X.default,{variant:"circular",width:48,height:48})]}),e.jsxs(Y.default,{direction:"column",spacing:{xs:.5,md:1},useFlexGap:!0,children:[e.jsxs(Y.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:[e.jsx(X.default,{variant:"text",width:80,height:12}),e.jsx(X.default,{variant:"text",width:80,height:12})]}),e.jsx(Y.default,{spacing:8,direction:"row",justifyContent:"center",alignItems:"center",children:e.jsx(X.default,{variant:"text",width:160,height:12})}),e.jsxs(Y.default,{direction:"row",spacing:1,children:[e.jsx(X.default,{variant:"text",width:80,height:16}),e.jsx(X.default,{variant:"text",width:80,height:16}),e.jsx(X.default,{variant:"text",width:80,height:16})]}),e.jsx("div",{className:je.jugadas,children:e.jsxs(Y.default,{direction:"row",spacing:1,children:[e.jsx(X.default,{variant:"rounded",width:80,height:32}),e.jsx(X.default,{variant:"rounded",width:80,height:32}),e.jsx(X.default,{variant:"rounded",width:80,height:32})]})})]})]})})]})}const xo="oraculo__OraculoSeccionEventoSemana-module__wrapper___eqVq-",_o="oraculo__OraculoSeccionEventoSemana-module__container___5yFQs",vo="oraculo__OraculoSeccionEventoSemana-module__buttonWrapper___-6IDT",yo="oraculo__OraculoSeccionEventoSemana-module__padding___vfUcV",Me={wrapper:xo,container:_o,buttonWrapper:vo,padding:yo},So=Se.default.memo(Rt);async function wo(t,a=2,n){const o=[];for(let r=0;r<t.length;r+=a){if(n.aborted)throw new DOMException("Aborted","AbortError");const i=t.slice(r,r+a),s=await Promise.all(i.map(l=>fetch(l,{signal:n}).then(f=>f.json())));o.push(...s)}return o}function jo(t){return[...t].sort((a,n)=>new Date(a.start).getTime()-new Date(n.start).getTime())}function Oo(t){const a=new Date,n=new Date(a.getTime()+480*60*60*1e3);return t.filter(o=>{if(!o.start)return!1;const r=new Date(o.start);return r>=a&&r<=n})}function Io(t,a){const o=a.filter(r=>{var i;return((i=r.betOfferType)==null?void 0:i.id)===2}).reduce((r,i)=>(r[i.eventId]||(r[i.eventId]=[]),r[i.eventId].push(i),r),{});return t.filter(r=>o[r.id]).map(r=>({...r,outcome:o[r.id]}))}function Gt({items:t,title:a="En vivo",iconUrl:n,onViewMore:o,className:r=""}){const i=ie.useCaptureInteraction(),s=le(),l=ue(),f=[{englishName:"Football",termPath:"football",limit:5},{englishName:"Basketball",termPath:"basketball",limit:2},{englishName:"Tennis",termPath:"tennis",limit:2}],p="https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/group.json?channel_id=1&client_id=200&lang=es_PE&market=PE",u=v.useRef(null),[c,d]=v.useState({isStart:!0,isEnd:!1}),[g,y]=v.useState(null),[h,_]=v.useState({start:null,end:null}),$="channel_id=1&client_id=200&competitionId=undefined&lang=es_PE&market=PE&useCombined=true",N=()=>{i({element:"evento_semana_view_more",label:`${s} - OraculoSeccionEventoSemana - Ver más`,target:"ver_mas",event_type:"click",module_id:l,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:""},tags:{section:"OraculoSeccionEventoSemana"}}),nn()};async function j(b){var B,P,D;let C=[],q=[];try{const W=await fetch("https://api.mktolimpo.com/api/kambi/eventos/orden",{signal:b});if(W.ok){const G=await W.json();C=((B=G==null?void 0:G.data)==null?void 0:B.group_ids)||[],q=((P=G==null?void 0:G.data)==null?void 0:P.event_ids)||[]}}catch(W){W.name!=="AbortError"&&console.warn("Order API not available, using default group order");return}try{const G=await(await fetch(p,{signal:b})).json(),K=(D=G==null?void 0:G.group)==null?void 0:D.groups;if(!Array.isArray(K)){console.error("Sport groups structure invalid");return}const U=C.length>0?new Map(C.map((ee,O)=>[String(ee),O])):null,Q=[];for(const ee of f){const O=K.find(I=>{var L;return((L=I.englishName)==null?void 0:L.toLowerCase())===ee.englishName.toLowerCase()});if(!O||!Array.isArray(O.groups)){console.warn(`No groups found for sport: ${ee.englishName}`);continue}let F=[...O.groups];U&&F.sort((I,L)=>{const M=U.get(String(I.id)),V=U.get(String(L.id));return(M!==void 0?M:1/0)-(V!==void 0?V:1/0)});const m=F.slice(0,ee.limit),T=I=>{const L=`https://us1.offering-api.kambicdn.com/offering/v2018/nexuspe/listView/${ee.termPath}`;if(I.groups&&I.groups.length>0){const M=I.groups[0];return`${L}/${I.termKey}/${M.termKey}/all/matches.json?${$}`}return`${L}/${I.termKey}/all/all/matches.json?${$}`},k=m.map(T);Q.push(...k)}A(Q,q,b)}catch(W){console.error("Error in fetching week events:",W)}}async function A(b,C,q){try{const B=await wo(b,2,q);let P=[],D=[];B.forEach(U=>{U.events&&(P.push(...U.events.map(Q=>Q.event)),D.push(...U.events.flatMap(Q=>Q.betOffers||[])))});const W=Io(P,D),G=jo(Oo(W));let K=G;if(C.length>0){const U=new Map(C.map((Q,ee)=>[String(Q),ee]));K=[...G].sort((Q,ee)=>{const O=U.get(String(Q.id)),F=U.get(String(ee.id));return O!==void 0&&F!==void 0?O-F:O!==void 0?-1:F!==void 0?1:0})}if(q.aborted)return;y(K)}catch(B){console.error("Error loading events:",B)}}v.useEffect(()=>{if(!t)return;const b=new AbortController;return j(b.signal),()=>{b.abort()}},[t]);const w=r||void 0,x={paddingLeft:0,width:"100%",boxSizing:"border-box"},{jerseys:S}=Wt({events:g,visibleRange:h,fetchJerseys:Ct,buffer:2,debounceMs:250}),R=g===null,E=Ce.default("(max-width:950px)");return!R&&g.length===0?null:e.jsx("section",{className:w,style:x,children:e.jsxs("div",{className:`${Me.wrapper} ${Me.padding}`,children:[e.jsx("div",{className:Me.container,children:e.jsxs(Y.default,{direction:"column",spacing:1.5,useFlexGap:!0,children:[e.jsx(be,{title:"Eventos de la semana"}),e.jsx("div",{className:Me.buttonWrapper,children:e.jsx(ae,{variant:"secondary",size:"lg",fullWidth:!0,onClick:()=>{N()},children:"Ver más"})})]})}),e.jsx("div",{style:{minWidth:"180px"},children:e.jsx(xe,{ref:u,items:R?Array(6).fill({}):g.slice(0,20),perPage:3.5,gap:"16px",enableHorizontalWheel:!0,showRightGradient:!E,options:{autoWidth:!0,trimSpace:!0},breakpoints:{1024:{perPage:1.4,gap:"8px",focus:"center",padding:{left:"8px",right:"8px"}}},renderItem:b=>{const C=b.id,q=C in S?S[C]:void 0;return R?e.jsx(qe,{children:e.jsx(bo,{})}):e.jsx(qe,{children:e.jsx(So,{event:b,jersey:q})})},onMove:({isStart:b,isEnd:C,visibleStart:q,visibleEnd:B,source:P})=>{d({isStart:b,isEnd:C}),_({start:q,end:B}),P==="user"&&i({element:"evento_semana_carousel_slide",label:`${s} - OraculoSeccionEventoSemana - Slide Carousel`,target:"carousel",event_type:"slide",module_id:l,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",visibleStart:q,visibleEnd:B,isStart:b,isEnd:C},tags:{section:"OraculoSeccionEventoSemana"}})}})})]})})}const Eo=-300,Co=t=>/[zZ]|[+-]\d{2}:\d{2}$/.test(t),bt=t=>{if(!t)return null;if(Co(t)){const f=new Date(t).getTime();return Number.isNaN(f)?null:f}const a=t.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/);if(!a)return null;const[,n,o,r,i,s,l="00"]=a;return Date.UTC(Number(n),Number(o)-1,Number(r),Number(i)-Eo/60,Number(s),Number(l))},To=(t,a)=>{var l,f,p,u,c,d,g,y,h;const n=(p=(f=(l=t==null?void 0:t.fields)!=null?l:t==null?void 0:t.parameters)!=null?f:t==null?void 0:t.extraFields)!=null?p:[],o=(d=(c=t==null?void 0:t.startAt)!=null?c:(u=n.find(_=>(_==null?void 0:_.name)==="startAt"))==null?void 0:u.value)!=null?d:null,r=(h=(y=t==null?void 0:t.endAt)!=null?y:(g=n.find(_=>(_==null?void 0:_.name)==="endAt"))==null?void 0:g.value)!=null?h:null,i=bt(o),s=bt(r);return!(i!=null&&a<i||s!=null&&a>=s)};function Ht({backgrounds:t,items:a,hideItems:n,user:o=null}){var ee;const[r,i]=v.useState(0),s=ie.useCaptureInteraction(),l=le(),f=ue(),p=v.useRef(null),u=v.useRef(!1),c=v.useRef(!1),[d,g]=v.useState(()=>Date.now()),y=de("setDepositActionGlobal"),h=de("setAbrirLiveActionGlobal"),_=de("openLoginWithRedirect"),$=O=>[...O!=null?O:[]].map((F,m)=>({item:F,index:m})).sort((F,m)=>{var I,L;const T=(I=F.item.order)!=null?I:Number.MAX_SAFE_INTEGER,k=(L=m.item.order)!=null?L:Number.MAX_SAFE_INTEGER;return T-k||F.index-m.index}).map(({item:F})=>F),N=v.useMemo(()=>$(a),[a]),j=v.useMemo(()=>{const O=(t!=null?t:[]).filter(F=>To(F,d));return $(O)},[t,d]),A=j.length||1,w=!j||j.length===0,x=!w&&j.length>1,S=!n&&N.length>0;J.useMediaQuery("(max-width:950px)");const R="#B5B5B5";v.useEffect(()=>{const O=window.setInterval(()=>{g(Date.now())},3e4);return()=>window.clearInterval(O)},[]);const E={position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:5,width:48,height:40,borderRadius:"12px",border:`1.5px solid ${R}`,py:1,px:1.5,color:R,backgroundColor:"transparent","&:hover":{backgroundColor:"rgba(181,181,181,0.08)"},"&.Mui-disabled":{opacity:.35,borderColor:R,color:R,backgroundColor:"transparent",cursor:"default"}},b=v.useMemo(()=>({type:"loop",perMove:1,pagination:!1,arrows:!1,drag:!0,focus:"center"}),[]);v.useEffect(()=>{const O=setTimeout(()=>{u.current=!0},500);return()=>clearTimeout(O)},[]);const C=(O,F,m)=>{var L,M;const T=!!F.idFunction,k=!!F.href;if(T)switch(O.preventDefault(),O.stopPropagation(),F.idFunction){case"deposito":y==null||y(!0);return;case"abrirLive":h==null||h();return;default:return}if(!k){O.preventDefault(),O.stopPropagation();return}const I=((M=(L=F.href)==null?void 0:L.split("/").pop())==null?void 0:M.split(".")[0])||F.label||F.id||`banner_${m+1}`;s({element:"banner_carousel",label:`${l} - OraculoSeccionBanners - Banner click: ${I}`,target:F.href||"no_url",event_type:"click",module_id:f,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",banner_position:m+1,banner_total:(j==null?void 0:j.length)||0},tags:{banner_type:"carousel",banner_target:"_self",banner_url:F.href||"no_url"}})},q=O=>{var F;if(s({element:"banner_menu_item",label:`${l} - OraculoSeccionBanners - Menu item click: ${O.label||O.id}`,target:O.href||"action",event_type:"click",module_id:f,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",item_id:O.id},tags:{item_label:O.label||"no_label"}}),!o&&O.label=="MISIONES"){_==null||_((F=O.href)!=null?F:"");return}if(O.onClick){O.onClick();return}O.href&&typeof globalThis!="undefined"&&globalThis.location&&globalThis.location.assign(O.href)},B=5e3,P=v.useRef(null),D=!w&&((ee=j==null?void 0:j.length)!=null?ee:0)>1,W=()=>{P.current!=null&&(window.clearTimeout(P.current),P.current=null)},G=()=>{W(),D&&(P.current=window.setTimeout(()=>{var O;c.current=!0,(O=p.current)==null||O.next()},B))};v.useEffect(()=>(G(),()=>W()),[D,B]);const K=O=>{var F;O.preventDefault(),O.stopPropagation(),W(),(F=p.current)==null||F.prev()},U=O=>{var F;O.preventDefault(),O.stopPropagation(),W(),(F=p.current)==null||F.next()},Q=O=>{var T,k,I,L;const F=(O%A+A)%A;if(!u.current)return;const m=(T=j==null?void 0:j[F])!=null&&T.href?((I=(k=j[F].href)==null?void 0:k.split("/").pop())==null?void 0:I.split(".")[0])||`banner_${F+1}`:`banner_${F+1}`;s({element:"banner_carousel",label:`${l} - OraculoSeccionBanners - Banner view: Slide ${F+1} - ${m}`,target:((L=j==null?void 0:j[F])==null?void 0:L.href)||"no_url",event_type:"view",module_id:f,metadata:{location:typeof globalThis!="undefined"&&globalThis.location?globalThis.location.pathname:"",slide_index:F+1,total_slides:A,interaction_type:"manual_slide"},tags:{banner_position:String(F+1)}})};return e.jsxs(J.Box,{component:"section",sx:{position:"relative",overflow:"visible",pb:S?{xs:"40px",sm:0}:0},children:[e.jsxs(J.Box,{sx:{position:"relative",borderRadius:0,overflow:"hidden",width:"100%",height:"auto",aspectRatio:"512 / 260","@media (min-width: 950px)":{aspectRatio:"1920 / 460"}},children:[e.jsx(J.Box,{sx:{height:"100%","& .splide, & .splide__track, & .splide__list":{height:"100%"},"& .splide__slide":{height:"100%",position:"relative"}},children:e.jsx(xe,{ref:p,items:j,perPage:1,gap:"0px",enableHorizontalWheel:!0,options:b,onMove:({index:O,source:F})=>{const m=(O%A+A)%A;i(m);const T=c.current;c.current=!1,F==="user"&&(G(),T||Q(O))},renderItem:(O,F)=>{var L,M,V;const m=!!O.idFunction,T=!!O.href,k=T&&!m,I=m||T;return e.jsxs(J.Box,{component:k?"a":"div",href:k?O.href:void 0,target:k?(L=O.target)!=null?L:"_self":void 0,rel:k&&O.target==="_blank"?"noopener noreferrer":void 0,onClick:ne=>C(ne,O,F),sx:{position:"relative",width:"100%",height:"100%",display:"block",textDecoration:"none",cursor:I?"pointer":"default"},children:[e.jsxs(J.Box,{component:"picture",sx:{position:"absolute",inset:0,lineHeight:0},children:[e.jsx("source",{srcSet:O.desktopSrc,media:"(min-width:950px)"}),e.jsx("source",{srcSet:O.mobileSrc,media:"(max-width:949px)"}),e.jsx(J.Box,{component:"img",src:(V=(M=O.fallbackSrc)!=null?M:O.desktopSrc)!=null?V:"",alt:"","aria-hidden":!0,loading:"lazy",sx:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})]}),e.jsx(J.Box,{sx:{position:"absolute",inset:0,pointerEvents:"none","&::before":{content:'""',position:"absolute",left:0,right:0,bottom:0,top:"80%",background:"linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(18,18,18,0.85) 80%, #121212 100%)"}}})]})}})}),x&&e.jsxs(e.Fragment,{children:[e.jsx(J.IconButton,{"aria-label":"Anterior",onClick:K,sx:{...E,left:"120px","@media (max-width:1024px)":{left:24},"@media (max-width:786px)":{display:"none"}},children:e.jsx(ye.ChevronLeftRounded,{})}),e.jsx(J.IconButton,{"aria-label":"Siguiente",onClick:U,sx:{...E,right:"120px","@media (max-width:1024px)":{right:24},"@media (max-width:786px)":{display:"none"}},children:e.jsx(ye.ChevronRightRounded,{})})]}),e.jsx(J.Box,{sx:{position:"absolute",left:0,right:0,bottom:{xs:36,sm:80,md:72},display:"flex",justifyContent:"center",zIndex:2},children:e.jsx(Je,{total:A,active:r,durationMs:B},`${r}-${A}`)})]}),S&&e.jsx(J.Box,{sx:{position:"absolute",bottom:{xs:0,sm:0},left:120,right:120,"@media (max-width:1024px)":{left:24,right:24},backgroundColor:"#363636",borderRadius:2,p:1.5,display:"flex",justifyContent:"space-around",alignItems:"center",boxShadow:"0 10px 24px rgba(0,0,0,.35)",zIndex:3},children:N==null?void 0:N.map(O=>e.jsxs(J.Box,{sx:{position:"relative",display:"flex",flexDirection:{xs:"column",md:"row"},alignItems:"center",justifyContent:"center",gap:{xs:.5,md:1},color:"#FFFFFF",minWidth:0,cursor:O.onClick||O.href?"pointer":"default",whiteSpace:"nowrap","&::after":{content:'""',position:"absolute",left:0,right:0,bottom:-12,height:"3px",borderRadius:"999px",backgroundColor:"#3CC666",opacity:0,transform:"scaleX(0.7)",transformOrigin:"center",transition:"all 0.25s ease",pointerEvents:"none"},"&:hover .menu-text":{color:"#3CC666"},"&:hover::after":{opacity:1,transform:"scaleX(1)"},...O.iconHover&&{"&:hover .menu-icon-default":{display:"none"},"&:hover .menu-icon-hover":{display:"block"}}},onClick:()=>q(O),children:[O.icon&&e.jsxs(J.Box,{sx:{position:"relative",width:{xs:20,sm:22,md:24},height:{xs:20,sm:22,md:24},flexShrink:0},children:[e.jsx(J.Box,{component:"img",src:O.icon,alt:O.label||`icon-${O.id}`,className:"menu-icon-default",sx:{display:"block",position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"contain"}}),O.iconHover&&e.jsx(J.Box,{component:"img",src:O.iconHover,alt:O.label||`icon-hover-${O.id}`,className:"menu-icon-hover",sx:{display:"none",position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"contain"}})]}),e.jsx(J.Typography,{className:"menu-text",sx:{fontSize:{xs:10,sm:11,md:12},fontWeight:600,color:"#E0E0E0",textAlign:"center"},children:O.label})]},O.id))})]})}const ko=[{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/IBK.svg",alt:"Interbank"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/Yape.svg",alt:"Yape"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/BCP.png",alt:"BCP"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/pagoEfectivo.png",alt:"PagoEfectivo"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/tupay.svg",alt:"Tupay"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/niubiz.svg",alt:"Niubiz"},{src:"https://d28gilnhu2bcbp.cloudfront.net/landing/bbva.png",alt:"BBVA"}];function Kt({title:t="Medios de pago",items:a=ko}){const n=Math.ceil(a.length/2),o=a.slice(0,n),r=a.slice(n);return e.jsxs(J.Box,{component:"section","aria-labelledby":"mp-title",sx:{color:"#fff"},children:[e.jsx(J.Typography,{id:"mp-title",variant:"h6",sx:{fontWeight:800,fontSize:{xs:20,md:32},textAlign:"center",mb:1.5},children:t}),e.jsx(J.Box,{sx:{width:"288px",height:"2px",mx:"auto",mb:3,opacity:.95,filter:"blur(0.2px)",background:"linear-gradient(90deg, rgba(0,0,0,0) 0%, #1dd75b 18%, #23d46b 50%, #1dd75b 82%, rgba(0,0,0,0) 100%)"}}),e.jsxs(J.Stack,{spacing:{xs:2,md:3},alignItems:"center",children:[e.jsx(J.Stack,{direction:"row",justifyContent:"center",alignItems:"center",gap:{xs:2,md:3},flexWrap:"wrap",children:o.map((i,s)=>e.jsx(He,{...i},`${i.alt}-${i.src}-${s}`))}),e.jsx(J.Stack,{direction:"row",justifyContent:"center",alignItems:"center",gap:{xs:2,md:3},flexWrap:"wrap",children:r.map((i,s)=>e.jsx(He,{...i},`${i.alt}-${i.src}-${s}`))})]})]})}function nt({children:t}){const a=Ve.useTheme(),n=Se.default.useMemo(()=>Ve.createTheme(a,{typography:{fontFamily:"var(--orc-font)"},components:{MuiTypography:{styleOverrides:{root:{fontFamily:"var(--orc-font)"}}}}}),[a]);return e.jsxs(Ve.ThemeProvider,{theme:n,children:[e.jsx(sa.default,{}),t]})}function No({docId:t="Landing: home",moduleId:a=301,children:n}){return e.jsx(nt,{children:e.jsx(et,{docId:t,moduleId:a,children:n})})}const $o={OraculoSeccionDestacados:Mt,OraculoSeccionTopJuegos:tt,OraculoSeccionCasinoEnVivo:Bt,OraculoSeccionCasino:Pt,OraculoSeccionVirtuales:qt,OraculoSeccionClubOlimpo:Ut,OraculoSeccionBonoBienvenida:zt,OraculoSeccionBanners:Ht,OraculoSeccionMediosPago:Kt,OraculoSeccionEventoEnVivo:Dt,OraculoSeccionEventoSemana:Gt,OraculoSeccionEventoCombinadas:Vt},Ae={sections:[{title:"Banners",visible:!0,id:9,manualItems:[{fields:[{value:"1",id:"abb2c3d6-d5c5-47ee-8ffa-c764a8bc731e",type:"string",name:"id",isImage:!1,required:!0},{id:"549c02bf-56b5-4652-93d9-46b9451bac39",type:"string",value:"POR INICIAR",required:!1,isImage:!1,name:"label"},{isImage:!0,required:!0,name:"icon",type:"string",id:"c6538242-1974-4bed-aed3-703a111987b5",maxSizeMB:.2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/clock.svg"},{name:"iconHover",isImage:!0,required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773756376881-icon1.png",type:"string",id:"8a5752de-6d6e-4ba7-b4a3-e001534d43a6",maxSizeMB:.5},{id:"7d564f31-69ff-4f32-983b-46d28ced4a18",type:"string",value:"https://www.olimpo.bet/deportes#starting-soon",required:!1,isImage:!1,name:"href"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:2}],id:"724a1dc0-d55b-4443-a580-cad22e328536"},{fields:[{value:"2",id:"45c50e08-560e-42cb-8be1-e9722f69c8a0",type:"string",name:"id",isImage:!1,required:!0},{isImage:!1,required:!1,name:"label",type:"string",id:"2eec0f3d-0126-4960-8ec0-17cc92b5eb43",value:"EXPLORAR"},{name:"icon",isImage:!0,required:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/icon2.svg",maxSizeMB:.2,id:"5530e6bd-d2b2-4045-9371-722e23d96e14",type:"string"},{required:!1,isImage:!0,name:"iconHover",type:"string",id:"42be2203-7dbf-418e-9181-9a2c022076ac",maxSizeMB:.5,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773756386124-icon2.png"},{value:"https://www.olimpo.bet/deportes#sports/a-z",id:"7e5375ad-ecbb-4354-868a-b9323bcfd053",type:"string",name:"href",required:!1,isImage:!1},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:1}],id:"ad0df0e2-c8ce-4524-b05a-2a29578aba11"},{fields:[{id:"fc35f393-6692-4d25-a534-d51f4bd6d9a2",type:"string",value:"3",isImage:!1,required:!0,name:"id"},{id:"a323e324-cf04-4178-b2c2-596d51564123",type:"string",value:"TOP JUEGOS",required:!1,isImage:!1,name:"label"},{type:"string",id:"6ede5815-7336-40fa-99f2-57ac6cb938cd",maxSizeMB:.2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1765981473501-icon3.svg",required:!0,isImage:!0,name:"icon"},{value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773756400282-icon3.png",id:"49c3a94a-dbb3-4a0a-9b03-cf04bcb2266f",maxSizeMB:.5,type:"string",name:"iconHover",required:!1,isImage:!0},{name:"href",required:!1,isImage:!1,value:"https://www.olimpo.bet/casino",id:"26a486fd-31e6-4ed4-ab83-0f9a7bf6adc4",type:"string"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:5}],id:"966bc1fc-0b1a-4a50-a4a2-964262922c3d"},{fields:[{id:"fbec2c21-cf32-426f-910b-9c78a6cd714c",type:"string",value:"4",required:!0,isImage:!1,name:"id"},{type:"string",id:"2de80dbf-998b-4bc7-8383-4b69746ef155",value:"MISIONES",isImage:!1,required:!1,name:"label"},{value:"https://d28gilnhu2bcbp.cloudfront.net/landing/icon3.svg",type:"string",id:"686c62bd-ea86-4aeb-97b7-6f1488912066",maxSizeMB:.2,name:"icon",isImage:!0,required:!0},{type:"string",maxSizeMB:.5,id:"aac10c8d-7aac-4051-82ed-a88706a6f6dc",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773756409593-icon.png",required:!1,isImage:!0,name:"iconHover"},{required:!1,isImage:!1,name:"href",id:"4b72f490-75e4-458e-a4b5-68f0736a25d4",type:"string",value:"https://www.olimpo.bet/private/misiones"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:3}],id:"31e00ff9-f2dd-4942-bff3-919902fde880"}],dataMode:"manual",order:1,manualScalarFields:[{isImage:!1,required:!1,name:"groups",id:"7ee165a0-1268-4825-82df-9fef9857f535",type:"string",value:""},{value:"",id:"46f65c34-d9c1-4aab-b9ad-171b295c40da",type:"boolean",name:"isPersonalize",isImage:!1,required:!1}],updatedAt:"2026-03-19T14:43:05.680Z",manualItems2:[{fields:[{validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773204037917-comercial-misiones.webp",id:"eea41214-3c26-41e9-a908-d87327147396",name:"desktopSrc",isImage:!0,type:"string",maxSizeMB:2,required:!1,dimensions:"1440x400"},{type:"string",maxSizeMB:2,required:!1,dimensions:"1080x840",id:"b393dfd3-c085-43e0-b68a-97cc04c06b6a",validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/FondoMisiones.png",isImage:!0,name:"mobileSrc"},{required:!1,dimensions:"1440x400",type:"string",maxSizeMB:2,name:"fallbackSrc",isImage:!0,validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773204045973-comercial-misiones.webp",id:"2616b944-7cd1-4919-bc56-38ddb1a3093b"},{required:!1,isImage:!1,name:"href",id:"54689f0e-f698-48a1-9d84-d13a397e24ea",type:"string",value:""},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"idFunction",required:!1,type:"string",value:"deposito"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:1}],id:"13b35362-5695-4687-b6a8-645f8effd264"},{fields:[{name:"desktopSrc",isImage:!0,validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773204060818-captacion-nuevahome.png",id:"1ebab59e-f706-4795-81cb-7accfc9f33d7",required:!1,dimensions:"1440x400",type:"string",maxSizeMB:2},{id:"bdebd1b0-d633-4b9e-9247-8e769cdc5b3b",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1774473125247-captacion-nuevahomemobile4.png",validateDimensions:!1,isImage:!0,name:"mobileSrc",maxSizeMB:2,type:"string",dimensions:"1080x840",required:!1},{validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773204124958-captacion-nuevahome.png",id:"4bc20da7-b769-43dd-ba2e-ee9261ec73d7",name:"fallbackSrc",isImage:!0,type:"string",maxSizeMB:2,required:!1,dimensions:"1440x400"},{value:"",id:"b85e737d-97ec-430c-b819-ba6e91a25372",type:"string",name:"href",isImage:!1,required:!1},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:2}],id:"024f8130-91e1-4296-b826-cffa32ab1a96"},{fields:[{id:"28a44fd4-2f36-491e-a026-d797891eb420",validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307101474-ftd_web_asesorlu.jpg",isImage:!0,name:"desktopSrc",type:"string",maxSizeMB:2,required:!1,dimensions:"1440x400"},{type:"string",maxSizeMB:2,required:!1,dimensions:"1080x840",validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307108379-ftd_mobile_asesorlu.jpg",id:"9ddef07e-6c33-44c6-a9de-3045bcce0a64",name:"mobileSrc",isImage:!0},{dimensions:"1440x400",required:!1,maxSizeMB:2,type:"string",name:"fallbackSrc",isImage:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307112560-ftd_web_asesorlu.jpg",validateDimensions:!1,id:"9043d645-9494-4bb8-9706-e740a3c4aecb"},{name:"href",required:!1,isImage:!1,value:"https://www.olimpo.bet/descargar-app",type:"string",id:"52f1a69c-9c7d-4e3e-95b7-568f885fc653"},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:""},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:7}],id:"cdfce77c-a814-43f1-911d-3715803252c2"},{fields:[{maxSizeMB:2,type:"string",dimensions:"1440x400",required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773203978730-nuevahomedesktop_asesorpersonalizado.jpg",validateDimensions:!1,id:"0a19727d-a6bd-4f3b-83b6-dc40be8f6790",name:"desktopSrc",isImage:!0},{maxSizeMB:2,type:"string",dimensions:"1080x840",required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1772833893358-nueva-home-mobile_asesorlcas.jpg",validateDimensions:!1,id:"3ca28d62-53c0-4269-8ecf-ddbbe493db56",name:"mobileSrc",isImage:!0},{required:!1,dimensions:"1440x400",type:"string",maxSizeMB:2,name:"fallbackSrc",isImage:!0,validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773203997327-nuevahomedesktop_asesorpersonalizado.jpg",id:"241c4be2-2f91-4c92-a0ef-d2013941a7de"},{value:"https://www.olimpo.bet/promociones/Marzo_PromoRecarga4500ASESOR_IBK_BCP_BBVA",id:"bed09e2d-31f7-42db-88be-8ca1f2354e92",type:"string",name:"href",isImage:!1,required:!1},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:"2026-04-13T10:45"},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:"2026-04-14T12:15"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:3}],id:"b3816989-ffeb-4409-bc0a-46310867097c"},{fields:[{type:"string",maxSizeMB:2,required:!1,dimensions:"1440x400",validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773778766147-bannerweb_nuevomerch1920x460.png",id:"1e4be1ce-774b-48ff-89db-f6148d1ce4a8",name:"desktopSrc",isImage:!0},{required:!1,dimensions:"1080x840",type:"string",maxSizeMB:2,name:"mobileSrc",isImage:!0,validateDimensions:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773778933662-bannermobile_nuevomerch1080x840.png",id:"05b790ea-cba0-4592-868a-b5e4cde116c3"},{maxSizeMB:2,type:"string",dimensions:"1440x400",required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773778926345-bannerweb_nuevomerch1920x460.png",validateDimensions:!1,id:"b1ee5a81-f713-4b7c-882c-41088776fe09",name:"fallbackSrc",isImage:!0},{name:"href",isImage:!1,required:!1,value:"https://www.clubolimpo.com/OlimpoBetWeb/",type:"string",id:"bf9a05f4-d4e3-4c7b-8bab-e5a734aa4091"},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:"2026-04-13T10:45"},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:"2026-04-14T11:50"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:4}],id:"2e3e6afd-bbd3-4bbd-b6e7-0eba50e556d4"},{fields:[{required:!1,isImage:!0,dimensions:"1440x400",name:"desktopSrc",type:"string",id:"35672057-20b1-48f6-b57e-8177c7ffb50c",maxSizeMB:2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773931330007-sorteoiphonebannerhomedesktop_1920x460.png"},{type:"string",id:"dfe3c031-0577-499e-95f4-2a47363710c7",maxSizeMB:2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773931336253-sorteoiphonebannerhomemobile_1080x840.png",required:!1,isImage:!0,dimensions:"1080x840",name:"mobileSrc"},{value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1773931341960-sorteoiphonebannerhomedesktop_1920x460.png",type:"string",maxSizeMB:2,id:"aac633b9-d6d3-45be-b93a-1aa73e486ed6",name:"fallbackSrc",required:!1,isImage:!0,dimensions:"1440x400"},{name:"href",required:!1,isImage:!1,value:"https://www.olimpo.bet/private/club-olimpo",type:"string",id:"0dd06091-c954-4b2a-9e74-76c98a2f95d6"},{id:"5a6d8750-9087-404f-8388-a2c8ea74baf2",isImage:!1,name:"startAt",required:!1,type:"string",value:"2026-04-13T10:45"},{id:"fa9c467f-4f33-4bee-b502-a413d726bbb2",isImage:!1,name:"endAt",required:!1,type:"string",value:"2026-04-14T12:15"},{id:"fa9c467f-4f33-4bee-b502-a413d7212321",isImage:!1,name:"order",required:!1,type:"number",value:5}],id:"706ea8a2-46ae-4fd9-8b42-5879a903a006"}],variableName2:"backgrounds",variableName:"items",componentKey:"OraculoSeccionBanners"},{dataMode:"url",id:3,visible:!0,apiUrl:"https://us1.offering-api.kambicdn.com/coupon/v2018/nexuspe/coupon/3935.json?lang=es_PE&market=PE&client_id=200&channel_id=1&ncid=1764401676636&startTime=2025-11-29T06:00:00.000Z&endTime=2026-06-25T15:00:00.000Z&minNoOfEvents=0&maxNoOfEvents=25&categoryGroup=list_view_competitions",title:"Eventos de la semana",apiMethod:"GET",componentKey:"OraculoSeccionEventoSemana",apiParams:[],variableName:"items",updatedAt:"2026-03-19T14:43:05.680Z",manualScalarFields:[{required:!1,name:"title",type:"string",id:"7a3de844-5727-4043-be42-7f965e2aa249",value:"Eventos esta semana",isUrl:!1},{id:"2895f65f-e75b-4116-958d-04d4c34f16fe",type:"string",isUrl:!0,value:"",required:!1,name:"iconUrl"},{required:!1,name:"onViewMore",type:"function",id:"d973d3ee-721e-4d76-888c-6ad8b7bb3414",value:"",isUrl:!1},{value:"",isUrl:!1,id:"c062fe02-c069-49fb-aae6-d39aa3fde89c",type:"string",name:"className",required:!1}],order:2},{dataMode:"url",id:4,apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getLobby",visible:!0,title:"Casino",componentKey:"OraculoSeccionCasino",variableName:"items",apiParams:[{id:"2af22a50-07e2-4a48-8569-90c79827f3e7",value:"OLI",key:"company"},{id:"efa2def8-eeb4-4fcc-80f6-32c24e7804e6",value:"HOME_CASINO",key:"lobby"}],updatedAt:"2026-03-19T14:43:05.680Z",manualScalarFields:[{name:"title",required:!0,isImage:!1,value:"Casino",id:"c2046b5a-4d30-46ff-9513-e15a6e0b0a7e",type:"string"},{maxSizeMB:.2,id:"9c5964ca-ce84-4c47-86ec-b34d7f3a5793",type:"string",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/diamante.svg",isImage:!0,required:!0,name:"iconUrl"},{name:"mosaicFirst",required:!1,isImage:!1,value:!0,type:"boolean",id:"1c32ea69-598b-4f80-81e4-709d887c12c1"},{type:"number",id:"5c3c60eb-cf49-4083-ab83-67d65f829554",value:4,isImage:!1,required:!1,name:"gridSize"},{required:!1,isImage:!1,name:"groups",type:"string",id:"c4d4c4b9-0c93-4aca-a61f-042e52fd9254",value:""}],order:3},{apiMethod:"GET",id:1,dataMode:"url",title:"Eventos Combinadas",visible:!0,apiUrl:"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",updatedAt:"2026-03-19T14:43:05.680Z",order:4,manualScalarFields:[{id:"33e5944d-b5be-4971-8c10-65aa6b71051c",type:"string",value:"Combinadas",isImage:!1,required:!0,name:"title"},{name:"iconUrl",dimensions:"40x40",isImage:!0,required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1765894618836-frame181009.svg",id:"95cd1489-206c-4a72-b4bd-b65161089f73",maxSizeMB:.2,type:"string"},{required:!1,isImage:!1,name:"className",type:"string",id:"af234a92-41ad-4ff1-bfbb-ac63a9af19f7",value:""},{value:"",id:"52f226c8-6456-4395-b72d-d140af6fa46d",type:"string",name:"groups",isImage:!1,required:!1}],componentKey:"OraculoSeccionEventoCombinadas",apiParams:[],variableName:"items"},{dataMode:"url",id:2,visible:!0,apiUrl:"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%22",title:"Eventos en vivo",apiMethod:"GET",componentKey:"OraculoSeccionEventoEnVivo",apiParams:[],variableName:"items",updatedAt:"2026-03-19T14:43:05.680Z",manualScalarFields:[{id:"7fc591db-555b-49b2-a3ad-30aa66eff17b",type:"string",value:"En vivo",isImage:!1,required:!0,name:"title"},{required:!1,isImage:!0,name:"iconUrl",id:"db4b6355-ed6c-4265-ad78-d8fffb660997",maxSizeMB:.2,type:"string",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1771339214517-dotrecordinglightred.gif"},{id:"a16ab6c6-321c-4ebe-bd36-a85ad49edf3e",type:"string",value:"",required:!1,isImage:!1,name:"className"},{type:"string",id:"48a911bf-94d7-4c92-beb8-551c24498411",value:"",required:!1,isImage:!1,name:"groups"}],order:5},{title:"Bono Bienvenida",visible:!1,id:11,manualItems:[{fields:[{required:!0,name:"title",type:"string",id:"e015fc5e-983e-4096-b82e-6d5ed9957dd5",value:"Recibe",isUrl:!1},{name:"amount",required:!1,value:"S/60",isUrl:!1,type:"string",id:"00b69888-d8ee-4bae-943c-be4e0dead26b"},{value:"SIN ROLLOVER",isUrl:!1,id:"376cd731-4a20-4435-a5ee-351ac55d4351",type:"string",name:"subtitle",required:!1},{isUrl:!1,value:"Hazlo aquí",id:"3b73cff5-cb30-4b00-9b41-305455334e56",type:"string",name:"buttonText",required:!0},{required:!0,name:"backgroundImage",id:"89710b59-2a6a-4de8-be9a-7d9274bad84b",type:"string",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/Fondo.png",isUrl:!0},{isUrl:!1,value:"window.location='https://www.olimpo.bet/promociones/Adq_Recibe30Flex_AAP100'",id:"e7ceaadc-b203-4587-856b-b9015201a43f",type:"function",name:"onButtonClick",required:!1}],id:"8677b338-7d12-4ba9-a95f-d34ed71d92b0"},{id:"6707ce1d-064a-43af-8679-712c7235873a",fields:[{name:"title",required:!0,isUrl:!1,value:"Regístrate y recibe",type:"string",id:"81e1730c-0f9b-4ab9-a4df-f36c974ae99d"},{type:"string",id:"c1e96d9b-e7c7-4bb7-a8db-b67c32dcae32",isUrl:!1,value:"S/40",required:!1,name:"amount"},{value:"SIN ROLLOVER",isUrl:!1,id:"93242ead-5f09-4966-9484-471b27859c31",type:"string",name:"subtitle",required:!1},{id:"0d97802b-7aaf-4ae3-b513-8a5a469e5d5d",type:"string",isUrl:!1,value:"Hazlo aquí",required:!0,name:"buttonText"},{id:"541fcdc8-07a7-47b8-9a33-d22cb865823c",type:"string",isUrl:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/Fondo.png",required:!0,name:"backgroundImage"},{type:"function",id:"b8c4b96c-0807-4040-8c3e-8392fb278aab",value:"window.location='https://www.olimpo.bet/promociones/Adq_Recibe30Flex_AAP100'",isUrl:!1,required:!1,name:"onButtonClick"}]}],dataMode:"manual",manualScalarFields:[{name:"headline",required:!1,value:"Te damos la",isUrl:!1,id:"fec2252c-2c2d-448d-8775-9d073bd8def9",type:"string"},{required:!1,name:"headline2",id:"17e045d1-8ddb-46bc-b3ae-ae0c7ffc5952",type:"string",isUrl:!1,value:"bienvenida al club"},{type:"string",id:"cae601b0-ed5d-4b97-9e1f-1816d7986c6b",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/Fondobg.png",isUrl:!0,required:!1,name:"backgroundImageUrl"}],order:6,updatedAt:"2026-03-19T14:43:05.680Z",variableName:"items",componentKey:"OraculoSeccionBonoBienvenida"},{apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getLobby",visible:!0,title:"Casino en vivo",id:12,dataMode:"url",apiMethod:"POST",apiParams:[{id:"2822fa64-0e89-43ea-9c80-ee77076c95bd",value:"OLI",key:"company"},{id:"2d6f8267-0468-4320-976d-b01df40e8ca3",value:"HOME_CASINOENVIVO",key:"lobby"}],variableName:"items",componentKey:"OraculoSeccionCasinoEnVivo",manualScalarFields:[{required:!0,isImage:!1,name:"title",type:"string",id:"52e655b4-7259-4f7f-9017-dafe24247810",value:"Casino en vivo"},{name:"subtitle",isImage:!1,required:!1,value:"Disfruta la emoción en tus juegos favoritos y gana en tiempo real.",type:"string",id:"e299d500-abdc-4577-bb38-1943b6f02dfd"},{name:"backgroundMobileUrl",isImage:!0,required:!1,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/FondoMobile.png",maxSizeMB:2,id:"6dcfd666-c2db-4a19-9fbf-08167bf56ae0",type:"string"},{type:"string",id:"2aa55855-0865-4cf1-a1ee-e52db864c6b4",maxSizeMB:2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1771942936688-fondo3.1.webp",isImage:!0,required:!1,name:"backgroundDesktopUrl"},{required:!1,isImage:!1,name:"groups",id:"e1599845-59d4-4320-903b-3857453b4322",type:"string",value:""}],order:7,updatedAt:"2026-03-19T14:43:05.680Z"},{apiMethod:"GET",visible:!0,title:"Virtuales",apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getLobby",dataMode:"url",id:7,order:8,manualScalarFields:[{name:"title",required:!0,isImage:!1,value:"Virtuales",id:"f6b16510-51db-4124-864d-2d12a0bb1b23",type:"string"},{type:"string",maxSizeMB:.2,id:"f9686ddc-f673-4784-8025-df26f48cc04f",value:"https://d28gilnhu2bcbp.cloudfront.net/landing/virtuales.svg",isImage:!0,required:!0,name:"iconUrl"},{isImage:!1,required:!1,name:"mosaicFirst",id:"4c4f348c-cb17-4fd6-bc4d-f816a42da249",type:"boolean",value:!0},{type:"number",id:"c264c9c3-7178-4961-b366-163d9b818800",value:4,isImage:!1,required:!1,name:"gridSize"},{value:"",type:"string",id:"2310900e-68ce-4a64-89da-e0976d172fee",name:"groups",required:!1,isImage:!1}],updatedAt:"2026-03-19T14:43:05.680Z",variableName:"items",apiParams:[{id:"de915e1d-1742-4383-bd83-ed96fda1145a",value:"OLI",key:"company"},{key:"lobby",value:"HOME_VIRTUALES",id:"039b41a3-4e94-4a52-8798-e78d8651c090"}],componentKey:"OraculoSeccionVirtuales"},{apiMethod:"GET",apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getLobby",visible:!0,title:"Oraculo Seccion Top Juegos",id:13,dataMode:"url",manualScalarFields:[{name:"title",required:!0,isImage:!1,value:"Top juegos",type:"string",id:"a01c36e7-a551-4c92-89e0-e9eabcdbe344"},{name:"iconUrl",required:!0,isImage:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307302930-top.webp",type:"string",id:"1960df1d-b07e-4461-b55f-39834ac30d8e",maxSizeMB:.2},{value:"",type:"string",id:"63dab0f6-b4d1-47af-b1e7-d3dcf4c69c4e",name:"groups",required:!1,isImage:!1}],order:9,updatedAt:"2026-03-19T14:43:05.680Z",apiParams:[{id:"2bcfd8cd-8f1f-474f-beb4-170477acf9bd",key:"company",value:"OLI"},{value:"HOME_TOPJUEGOS",key:"lobby",id:"dac0b2d9-f00d-4979-9deb-31c6f66b1899"}],variableName:"items",componentKey:"OraculoSeccionTopJuegos"},{dataMode:"url",id:6,title:'Promociones "Lo nuevo"',visible:!0,apiUrl:"https://wallet-pe.olimpo.bet/api/contents/getPromotionsLobby",apiMethod:"GET",componentKey:"OraculoSeccionDestacados",variableName:"items",apiParams:[{id:"a2ee1b32-dc39-434f-9358-920e6c7bba0b",key:"company",value:"OLI"},{id:"16715513-30a1-4955-8e94-a4deee4722ba",value:"DESTACADOS",key:"lobby"}],updatedAt:"2026-03-19T14:43:05.680Z",order:10,manualScalarFields:[{type:"string",id:"f131acc5-a298-4583-9952-c0747dc1f1af",value:"Lo nuevo",isImage:!1,required:!0,name:"title"},{name:"iconUrl",required:!0,isImage:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307276612-lonuevo.webp",id:"8f0dadc8-ff0f-4074-870f-2bbcd9f38cab",maxSizeMB:.2,type:"string"},{isImage:!1,required:!1,name:"className",id:"39cd368d-0003-4145-88a9-f22b1a4ef32b",type:"string",value:""},{id:"a9e218fd-9cc6-432f-a7bf-c119581e6927",type:"string",value:"",isImage:!1,required:!1,name:"groups"}]},{title:"Club Olimpo",visible:!0,id:8,manualItems:[{fields:[{value:"¡Canjea bonos, productos y las mejores experiencias!",type:"string",id:"65b37bc4-f480-4409-afd7-ff8b83c722e0",name:"text",isImage:!1,required:!0},{isImage:!1,required:!1,name:"buttonLabel",type:"string",id:"cdc8fb20-5c5a-4165-93be-4df1026cdcee",value:"Vamos"},{name:"imgAlt",isImage:!1,required:!1,value:"",id:"9f25442e-caeb-4fab-9bea-b91f1aef97eb",type:"string"},{name:"imgMobile",required:!0,isImage:!0,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307329736-clubolimpo-mobile.webp",type:"string",maxSizeMB:2,id:"259ffa74-7e4f-48e6-90da-4837f2c37fe9"},{type:"string",id:"e7812141-42d8-419f-9d15-b8711139e980",maxSizeMB:2,value:"https://d28gilnhu2bcbp.cloudfront.net/landing/1770307339455-clubolimpo.webp",isImage:!0,required:!1,name:"imgDesktopBg"},{value:"https://d28gilnhu2bcbp.cloudfront.net/landing/Logo.png",type:"string",maxSizeMB:.2,id:"622d860b-9f9f-462a-a675-3768d6daf3c3",name:"imgDesktopLogo",required:!1,isImage:!0}],id:"03e20297-c0fa-4382-85b2-54eaa9325be1"}],dataMode:"manual",manualScalarFields:[{name:"groups",isImage:!1,required:!1,value:"",id:"3b00e159-6da9-4c45-8382-47d54db59181",type:"string"}],order:11,updatedAt:"2026-03-19T14:43:05.680Z",manualItems2:[],variableName:"items",componentKey:"OraculoSeccionClubOlimpo"},{order:12,updatedAt:"2026-03-19T14:43:05.680Z",visible:!0,title:"Medios de Pago",id:10,componentKey:"OraculoSeccionMediosPago"}]},Ro=t=>typeof t=="function"||t&&typeof t=="object"&&"$$typeof"in t,Mo=t=>/^OraculoSeccion[A-Z]/.test(t);function Te(t){return t&&Array.isArray(t.sections)?t.sections.slice().sort((a,n)=>{var o,r;return((o=a.order)!=null?o:0)-((r=n.order)!=null?r:0)}).map((a,n)=>({...a,order:n+1})):t&&Array.isArray(t.components)?t.components.map((a,n)=>{var o,r,i,s,l;return{id:(o=a.id)!=null?o:n+1,title:(r=a.title)!=null?r:"",componentKey:a.componentKey,visible:(i=a.visible)!=null?i:!0,order:n+1,props:(s=a.props)!=null?s:{},apiUrl:(l=a.apiUrl)!=null?l:"",dataMode:a.dataMode,variableName:a.variableName,manualItems:a.manualItems,apiMethod:a.apiMethod,apiParams:a.apiParams,manualScalarFields:a.manualScalarFields,variableName2:a.variableName2,manualItems2:a.manualItems2}}):[]}const Ao=Object.fromEntries(Object.entries($o).filter(([t,a])=>Mo(t)&&Ro(a))),Bo=t=>{try{return Object.fromEntries(t!=null?t:[])}catch{return console.warn("[oraculo] extras inválidos. Debe ser Array<[string, unknown]>",t),{}}};class xt extends Error{constructor(a,n,o){super(`HTTP ${a} ${o}`),this.status=a,this.url=n,this.statusText=o,this.name="HttpError"}}class Lo extends Se.default.Component{constructor(a){super(a),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(a,n){console.error("[landing] sección que falló:",{id:this.props.section.id,title:this.props.section.title,componentKey:this.props.section.componentKey,error:a,info:n})}render(){return this.state.hasError?null:this.props.children}}const _t=["OraculoSeccionEventoEnVivo","OraculoSeccionEventoSemana","OraculoSeccionEventoCombinadas"],Po=["OraculoSeccionCasino","OraculoSeccionVirtuales","OraculoSeccionCasinoEnVivo","OraculoSeccionTopJuegos","OraculoSeccionDestacados"],Zt=({sectionsOverride:t,docId:a="Landing: home",moduleId:n=301,db:o,extras:r,loader:i,disableWrapper:s=!1})=>{const l=v.useMemo(()=>Bo(r),[r]),f=i||l.loader,[p,u]=v.useState(()=>t?[]:Te(Ae)),[c,d]=v.useState(!1),[g,y]=v.useState({}),[h,_]=v.useState({}),[$,N]=v.useState({}),j=J.useMediaQuery("(min-width:1024px)"),A=v.useMemo(()=>Te(Ae),[]),w=m=>A.find(T=>T.id===m.id||T.componentKey===m.componentKey),x=m=>Array.isArray(m)?m.map(T=>Number(T)).filter(T=>!Number.isNaN(T)):[],S=v.useMemo(()=>{const m=l.user;return m!=null&&m.session?String(m.session):""},[l]),R=v.useMemo(()=>{const m=l.user;return x(m==null?void 0:m.groups)},[l]),E=m=>{const T=m.manualScalarFields;if(!Array.isArray(T))return[];const k=T.find(M=>String((M==null?void 0:M.name)||"").trim().toLowerCase()==="groups");if(!k)return[];const I=k.value;if(I==null)return[];if(Array.isArray(I))return I.map(M=>Number(String(M).trim())).filter(M=>!Number.isNaN(M));const L=String(I).trim();return L?L.split(",").map(M=>Number(M.trim())).filter(M=>!Number.isNaN(M)):[]},b=(m,T)=>{const k=E(m);if(k.length===0)return!0;if(!Array.isArray(T)||T.length===0)return!1;const I=new Set(T);return k.some(L=>I.has(L))};v.useEffect(()=>{if(t)return;if(!o){console.warn("[landing] sin db -> fallback json"),u(Te(Ae));return}const m=(k,I)=>{console.warn("[landing] FALLBACK:",k,I!=null?I:""),u(Te(Ae)),d(!1)};d(!0);const T=rt.onSnapshot(rt.doc(o,"landings",a),k=>{try{if(!k.exists()){m(`doc landings/${a} no existe`);return}const I=k.data(),L=Te(I);if(!L.length){m("JSON inválido o sin secciones normalizables",I);return}console.log("[landing] Firestore OK (json grande):",I),u(L)}catch(I){m("error procesando snapshot",I)}finally{d(!1)}},k=>{m("error onSnapshot",k)});return()=>T()},[t,a,o]),v.useEffect(()=>(Mn(l),()=>An()),[l]),v.useEffect(()=>{(t?t.slice():p.slice()).map(k=>k.componentKey).filter(k=>!!k).length},[t,p]);const C=m=>/\/getLobby(\?|$)/.test(m),q=async(m,T="")=>{var me;if(_t.includes(m.componentKey))return{items:[],events:[],data:{}};const k=(m.apiUrl||"").trim();if(!k)return;const I=m.apiMethod||"GET",L=!!T&&C(k),M=L?[...(m.apiParams||[]).filter(oe=>oe.key!=="session"),{id:"session",key:"session",value:T}]:m.apiParams||[];let V=k,ne,Z;if(I==="GET"){const oe=new URL(k,typeof window=="undefined"?"http://localhost":window.location.origin);for(const se of M)se.key&&oe.searchParams.append(se.key,se.value);V=oe.toString()}else{const oe=new URLSearchParams;for(const se of M)se.key&&oe.append(se.key,se.value);ne=oe.toString(),Z={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}}const te=await fetch(V,{method:I,headers:Z,body:ne});if(!te.ok)throw new xt(te.status,V,te.statusText);const re=await te.json();return L&&(re==null?void 0:re.result)==="error"?(console.warn(`[fetchSectionData] getLobby rechazó la sesión (${(me=re==null?void 0:re.description)!=null?me:"error"}), reintentando sin sesión`),q(m)):re},B=v.useMemo(()=>t?t.slice():p.slice(),[t,p]),P=Se.default.useRef(new Set);v.useEffect(()=>{const m=B.map(T=>({s:T,url:(T.apiUrl||"").trim()})).filter(({url:T})=>!!T);if(m.length)for(const{s:T,url:k}of m){const I=C(k)?S:"",L=`${T.id}|${k}|${I}`;P.current.has(L)||(P.current.add(L),_(M=>({...M,[T.id]:!0})),N(M=>({...M,[T.id]:""})),(async()=>{try{const M=await q(T,I);y(V=>({...V,[T.id]:M}))}catch(M){let V="Error desconocido";M instanceof xt?V=`Error HTTP ${M.status} (${M.statusText}) en ${M.url}`:M instanceof SyntaxError?V="Respuesta no es JSON válido":M instanceof TypeError?V="Fallo de red / CORS / conexión":typeof M=="string"&&(V=M.toString()),N(ne=>({...ne,[T.id]:V}))}finally{_(M=>({...M,[T.id]:!1}))}})())}},[B,S]);const D=v.useMemo(()=>B.filter(m=>m.visible).filter(m=>b(m,R)).sort((m,T)=>m.order-T.order),[B,R]),W=m=>Array.isArray(m)?m.map(T=>{const k={};for(const I of T.fields||[]){const L=(I.type||"string").toLowerCase();if(L==="number"){const M=String(I.value||"").trim();if(M!==""){const V=Number(M);Number.isNaN(V)||(k[I.name]=V)}}else if(L==="boolean")k[I.name]=String(I.value).toLowerCase()==="true";else if(L==="function"){const M=String(I.value||"").trim();if(M)try{const V=new Function(M);k[I.name]=V}catch(V){console.error(`❌ Error creando función en item '${I.name}':`,V)}}else k[I.name]=I.value}return k}):[],G=m=>{const T={};if(!Array.isArray(m))return T;for(const k of m){if(!k.name)continue;const I=(k.type||"string").toLowerCase();if(I==="number"){const L=String(k.value||"").trim();if(L!==""){const M=Number(L);Number.isNaN(M)||(T[k.name]=M)}}else if(I==="boolean")T[k.name]=String(k.value).toLowerCase()==="true";else if(I==="function"){const L=String(k.value||"").trim();if(L)try{const M=new Function(L);T[k.name]=M}catch(M){console.error(`❌ Error creando función en item '${k.name}':`,M)}}else T[k.name]=k.value}return T},K=(m,T,k,I)=>{const L=k?{...k}:{},M=(I||"items").trim()||"items";if(T)return L[M]=T.arr||[],L;const V=m;if(Array.isArray(V))return L[M]=V,L;if(V&&typeof V=="object"){const ne=V;return Array.isArray(ne.lobby)?(L[M]=ne.lobby,L):Array.isArray(ne.items)?(L[M]=ne.items,L):(L[M]=V,L)}return L[M]=[],L},U=m=>{var M;const T=!!((M=m.apiUrl)!=null&&M.trim()),k=T?g[m.id]:void 0;let I=m.props?{...m.props}:{};const L=G(m.manualScalarFields);if(_t.includes(m.componentKey))return{items:k,...I,...L};if(I={...I,...L},T)I=K(k,null,I);else if(m.dataMode==="manual"){const V=W(m.manualItems);if(I=K(null,{arr:V,variableName:m.variableName},I,m.variableName),m.variableName2&&m.manualItems2){const ne=W(m.manualItems2),Z=(m.variableName2||"items2").trim()||"items2";I[Z]=ne}}return I},Q=m=>{const T=m.props?{...m.props}:{};try{Object.assign(T,G(m.manualScalarFields))}catch(I){console.error("❌ Error armando scalars vacíos:",m,I)}const k=(m.variableName||"items").trim()||"items";if(typeof T[k]=="undefined"&&(T[k]=[]),m.variableName2){const I=(m.variableName2||"items2").trim()||"items2";typeof T[I]=="undefined"&&(T[I]=[])}return T},ee=m=>{try{return U(m)}catch(T){console.error("🔥 ERROR EN buildCompProps:",m,T);const k=w(m);if(k&&k!==m)try{return console.warn(`[landing] usando fallback local para sección ${m.title} (${m.componentKey})`),U(k)}catch(I){console.error("🔥 ERROR EN fallback buildCompProps:",k,I)}return Q(m)}},O=(m,T,k)=>{const I={loading:"bg-blue-100 text-blue-800",error:"bg-red-100 text-red-800",component:"bg-yellow-100 text-yellow-800"};return e.jsx("div",{className:`mx-4 p-4 rounded ${I[T]}`,children:k},m)},F=m=>{var ot;const T=m.componentKey,k=Ao[T],L=new Set(["OraculoSeccionBanners","OraculoSeccionBonoBienvenida","OraculoSeccionCasinoEnVivo","OraculoSeccionClubOlimpo",...j?[]:["OraculoSeccionEventoEnVivo","OraculoSeccionEventoSemana","OraculoSeccionEventoCombinadas","OraculoSeccionVirtuales","OraculoSeccionDestacados","OraculoSeccionCasino"]]).has(m.componentKey),M=j?120:24,V=(j?8:5)*8,ne=m.componentKey==="OraculoSeccionCasinoEnVivo",Z={width:"100%",boxSizing:"border-box",...L?{}:{paddingLeft:M,paddingRight:M},...ne?{marginTop:-V,marginBottom:-V}:{}};if(!k)return console.warn(`No hay componente registrado para "${T}"`),O(m.id,"component",`Componente "${T}" no encontrado`);const te=!!((ot=m.apiUrl)!=null&&ot.trim()),re=te?g[m.id]:void 0,me=te?!!h[m.id]:!1,oe=te?$[m.id]:"";if(te){const Xt=Po.includes(m.componentKey);if(me&&!re&&!Xt)return O(m.id,"loading",`Cargando datos desde ${m.apiUrl}...`);if(oe&&!re){const $e=w(m);if($e&&$e.dataMode==="manual")try{const Ue=ee($e);return e.jsx("div",{style:Z,className:"oraculo-section-wrapper",children:e.jsx(k,{...Ue})},m.id)}catch(Ue){console.error("🔥 ERROR renderizando fallback manual de sección:",$e,Ue)}return O(m.id,"error",`Error cargando ${m.apiUrl}: ${oe}`)}}const se=ee(m),Jt=m.componentKey==="OraculoSeccionClubOlimpo"||m.componentKey==="OraculoSeccionBanners"?{...se,user:l.user}:se;return e.jsx(Lo,{section:m,children:e.jsx("div",{style:Z,className:"oraculo-section-wrapper","data-component-key":T,children:e.jsx(k,{...Jt})},m.id)})};return c&&!t&&p.length===0?f?e.jsx(f,{}):e.jsx("div",{children:"Cargando..."}):!c&&!t&&p.length===0?e.jsx("div",{className:"text-xs text-gray-500",children:"Sin secciones (Firestore)"}):e.jsx(nt,{children:e.jsx(et,{docId:a,moduleId:n,children:e.jsx(J.Container,{className:"oli-font",maxWidth:!1,disableGutters:!0,sx:{backgroundColor:"#121212",position:"relative",pb:5,width:"100%",maxWidth:"100%",overflowX:"hidden"},children:e.jsx(J.Stack,{direction:"column",spacing:j?8:5,useFlexGap:!0,children:D.map(m=>{try{return F(m)}catch(T){return console.error("🔥 ERROR EN SECTION:",m,T),null}})})})})})};exports.DocIdProvider=et;exports.OraculoButton=ae;exports.OraculoCarousel=xe;exports.OraculoCarouselDots=Je;exports.OraculoClubOlimpoVisual=Et;exports.OraculoEventCombinadasCard=Nt;exports.OraculoEventEnVivoCard=$t;exports.OraculoEventHeader=Ot;exports.OraculoEventLabel=Le;exports.OraculoEventLeague=Xe;exports.OraculoEventScore=Qe;exports.OraculoEventSemanaCard=Rt;exports.OraculoEventStatus=jt;exports.OraculoEventStatusBadge=wt;exports.OraculoEventTeamInfo=Ne;exports.OraculoGameCard=ke;exports.OraculoGameRankCard=It;exports.OraculoGameSlide=Ye;exports.OraculoGridGroup=ce;exports.OraculoLiveCasinoCard=Ke;exports.OraculoLogoMediosPago=He;exports.OraculoPageLandingPreview=Zt;exports.OraculoSeccionBanners=Ht;exports.OraculoSeccionBonoBienvenida=zt;exports.OraculoSeccionCasino=Pt;exports.OraculoSeccionCasinoEnVivo=Bt;exports.OraculoSeccionClubOlimpo=Ut;exports.OraculoSeccionDestacados=Mt;exports.OraculoSeccionEventoCombinadas=Vt;exports.OraculoSeccionEventoEnVivo=Dt;exports.OraculoSeccionEventoSemana=Gt;exports.OraculoSeccionMediosPago=Kt;exports.OraculoSeccionTopJuegos=tt;exports.OraculoSeccionVirtuales=qt;exports.OraculoSectionHost=No;exports.OraculoSectionTitle=be;exports.OraculoThemeProvider=nt;exports.OraculoTopJuegoItem=tt;exports.OraculoWelcomeBanner=Ze;exports.default=Zt;
20
20
  //# sourceMappingURL=index.cjs.js.map