PageSourceSearch

https://www.superboletos.com/_next/static/chunks/1767.ae755009a898f67d.js

js superboletos.com collected 2026-10-02 04:24:19 UTC 5,863 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1767],{51767:function(e,t,n){n.r(t);var r=n(85893),a=n(67294),o=n(93443),s=n(49517),l=n(48263),i=n(26989),c=n(75316),d=n(17309),m=n(46672),u=n.n(m),v=n(78722);let x=(0,o.Z)(e=>({customIndicator:{backgroundColor:"#EF1D49",width:"11% !important"},flexContainer:{"@media (max-width:768px)":{justifyContent:"center",borderBottom:"1px solid #dfdfdf"}}}));t.default=e=>{let{eventStatus:t,tabs:n=[],observaciones:o="",comunicado:m="",...p}=e,b=x(),[h,f]=(0,a.useState)(0),g=(0,a.useRef)(null),y=(0,a.useRef)(null),j=(0,a.useRef)(null),C=(0,a.useRef)(null),N=(0,a.useRef)(null),[M,k]=(0,a.useState)(!1),{lbls:E}=(0,v.Jv)(),tabStyle=e=>({fontSize:"12px","&.MuiButtonBase-root":{padding:"0px"},fontFamily:'"Poppins", sans serif',width:"30%",display:{paddingLeft:0},backgroundColor:"transparent !important",textAlign:"center !important",justifyContent:"center !important",justifyItems:"center !important","&.Mui-selected":{backgroundColor:"transparent !important",fontWeight:"600 !important",color:"#504dd3 !important"},"&.Mui-selected:after":{content:'" "',width:e,height:"2px",backgroundColor:"#EF1D49",position:"absolute",bottom:0},"&.Mui-selected:hover":{backgroundColor:"transparent !important"},"&:not(.Mui-selected)":{fontWeight:"normal","&:hover":{textDecoration:"none"}}});g.current;let[I,B]=(0,a.useState)(0);(0,a.useEffect)(()=>{y.current=document.getElementById("event-information-textcontainer");let e=y.current;B(null==e?void 0:e.scrollHeight)},[h,n]),(0,a.useEffect)(()=>{let e=document.getElementById("event-observaciones-textcontainer");e&&(null==e?void 0:e.scrollHeight)>130&&k(!0)},[o]);let viewMore=e=>{if("event-information"==e){y.current=document.getElementById("event-information-textcontainer");let e=y.current;j.current=document.getElementById("ver-mas-text");let t=j.current;C.current=document.getElementById("ver-mas-fade");let n=C.current,r=e.scrollHeight;switch(t.textContent){case"See more":case"Ver m\xe1s":t.innerHTML=null==E?void 0:E.vermenos,e.style.height="".concat(r,"px"),n.style.display="none";break;case"See less":case"Ver menos":t.innerHTML=null==E?void 0:E.vermas,n.style.display="block",e.style.height="130px"}}if("event-observaciones"==e){g.current=document.getElementById("event-observaciones-textcontainer");let e=g.current;N.current=document.getElementById("ver-mas-text-observaciones");let t=N.current;C.current=document.getElementById("ver-mas-fade-observaciones");let n=C.current,r=e.scrollHeight;switch(t.textContent){case"See more":case"Ver m\xe1s":t.innerHTML=null==E?void 0:E.vermenos,e.style.height="".concat(r,"px"),n.style.display="none";break;case"See less":case"Ver menos":t.innerHTML=null==E?void 0:E.vermas,e.style.height="110px",n.style.display="block"}}},a11yProps=e=>({id:"vertical-tab-".concat(e),"aria-controls":"vertical-tabpanel-".concat(e)});return(0,r.jsxs)(s.Z,{className:u().eventInformation,sx:{minHeight:"75%",marginBottom:"40px"},children:[(null==n?void 0:n.length)>0||o||m?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h1",{className:u()["event-information-title"],children:null==E?void 0:E.informacionevento}),m&&"CANCELADO"==t?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(s.Z,{children:(0,r.jsx)("div",{className:u()["landing-video"],style:{paddingTop:"20px"},dangerouslySetInnerHTML:{__html:m}})})}):null]}):null,"CANCELADO"!=t?(0,r.jsxs)(l.ZP,{container:!0,children:[(0,r.jsx)(l.ZP,{item:!0,xs:12,md:8,children:(null==n?void 0:n.length)>0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z,{value:h,onChange:(e,t)=>
1{f(t)},variant:"scrollable",indicatorColor:b.customIndicator,className:"tabs-c",classes:{flexContainer:b.flexContainer},"aria-label":"basic tabs example",sx:{padding:0,"& button.Mui-selected":{backgroundColor:"transparent",borderColor:"transparent",fontWeight:"600 !important",color:"#504DD3",borderBottom:"1px solid #dee2e6"},"& button.MuiTab-root":{borderBottom:"1px solid #dee2e6"}},children:null==n?void 0:n.map((e,t)=>e.text.length>0?(0,r.jsx)(c.Z,{className:"tab-accordion tab-tab",label:e.title,...a11yProps(t),sx:tabStyle("120px")},t):null)}),null==n?void 0:n.map((e,t)=>(0,r.jsx)(d.x,{value:h,index:t,classes:b,disablePadding:!0,id:"tab-container",children:(0,r.jsxs)("div",{className:u()["event-information-tabcontainer"],children:[(0,r.jsx)("div",{className:u()["event-information-textcontainer"],ref:y,id:"event-information-textcontainer",dangerouslySetInnerHTML:{__html:e.text}}),I>130?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:u()["ver-mas-fade"],id:"ver-mas-fade",ref:C}),(0,r.jsx)("p",{className:u()["ver-mas-text"],ref:j,id:"ver-mas-text",onClick:()=>viewMore("event-information"),children:null==E?void 0:E.vermas})]}):null]})},t.toString()))]}):null}),o?(0,r.jsxs)(l.ZP,{item:!0,xs:12,md:4,children:[(0,r.jsx)(s.Z,{className:u()["event-observaciones-title"],children:null==E?void 0:E.observaciones}),(0,r.jsxs)("div",{className:u()["event-observaciones-container"],id:"event-observaciones-container",children:[(0,r.jsx)("div",{className:u()["event-observaciones-textcontainer"],id:"event-observaciones-textcontainer",ref:g,dangerouslySetInnerHTML:{__html:o}}),M?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:u()["ver-mas-fade"],id:"ver-mas-fade-observaciones",ref:C}),(0,r.jsx)("p",{className:u()["ver-mas-text-observaciones"],ref:N,id:"ver-mas-text-observaciones",onClick:()=>viewMore("event-observaciones"),children:null==E?void 0:E.vermas})]}):null]})]}):null]}):null]})}},17309:function(e,t,n){n.d(t,{x:function(){return TabPanel}});var r=n(85893);n(67294);var a=n(36822);let TabPanel=e=>{let{children:t,value:n,index:o,classes:s,disablePadding:l=!1,...i}=e;return(0,r.jsx)("div",{role:"tabpanel",hidden:n!==o,id:"simple-tabpanel-".concat(o),"aria-labelledby":"simple-tab-".concat(o),...i,children:n===o&&(0,r.jsx)(a.Z,{sx:{p:l?0:3,paddingTop:3},children:t})})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.