1"use strict";(this.webpackChunkFusion_components=this.webpackChunkFusion_components||[]).push([[461],{51:function(e,s,a){a.r(s),a.d(s,{default:function(){return y}});a(809);var l=a(9894),r=a.n(l),t=a(3993),n=a(2482),i=a(975),c=a(2237),o=a(6858),d=a(3925),m=a(4766);const h=({matches:e=[],title:s="",type:a=""})=>(0,m.jsxs)("div",{className:"sport-result-team-box",children:[(0,m.jsx)("h4",{className:"sport-result-team-title",children:s}),e.map((e,s)=>{const{estado:l,visitante:r,local:t,fechaCompleta:n,fecha:i,ganador:o,hora:d,liga:h=""}=e||{},p=()=>{if(!i)return{dayOfWeek:"",dayOfMonth:"",datePlay:""};const{formattedDate:e,monthNameLocal:s,dayLocal:a,dayNameLocal:l,time:r}=(0,c.Yq)(n.split("T")[0],"yyyy-mm-dd","yyyy/mm/dd",n);return{datePlay:`${e}`,dayOfMonth:a,dayOfWeek:l,monthName:s,time:r}},x=d.split("Z")[0].slice(0,5)||!1,u=()=>{const e="Invalid Date"!==x?p():null;return(0,m.jsx)("div",{className:"sport-calendar-match-prev",children:(0,m.jsx)("p",{className:"sport-calendar-match-prev-date",children:x?(e=>{const{dayOfWeek:s,dayOfMonth:a,monthName:l,time:r}=e;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("b",{children:`${s.substring(0,3)||""} ${a||""}, ${l.substring(0,3)||""}`}),(0,m.jsx)("br",{}),(0,m.jsxs)("span",{children:[r," hs"]})]})})(e):(0,m.jsx)("span",{children:"Horario a confirmar"})})})},v=e.local?.logo,j=e.visitante?.logo,{day:g,monthName:N,year:y}=(0,c.Yq)(p().datePlay,"yyyy/mm/dd","dd/mm/yyyy");return(0,m.jsx)("div",{className:"sport-calendar-match",children:(0,m.jsxs)("div",{className:"sport-calendar-match-vs",children:[(0,m.jsxs)("div",{className:"sport-calendar-match-local",children:[(0,m.jsx)("img",{src:v,alt:"local",onError:e=>{e.target.src=c.vR}}),(0,m.jsx)("p",{children:t.nombre})]}),(0,m.jsxs)("div",{className:"match-datetime",children:[(0,m.jsx)("div",{className:"sport-calendar-match-played",children:(0,m.jsxs)("p",{className:"sport-calendar-match-played-date",children:[(C=h,(0,m.jsx)("b",{className:"liga",children:(0,c.sj)(C,["LPF","Eliminatorias CONCACAF","Mundial de clubes"])})),(0,m.jsx)("br",{}),"next"===a?null:(0,m.jsx)("b",{children:`${g} ${N.substring(0,3)} ${y}`})]})}),"Fixture"===l?u():"Played"===l?(()=>{const e=t?.golesDePenal||0,s=r?.golesDePenal||0,a="sport-calendar-match-result",l=`${a}
1-penals-away ${s<e?"sport-calendar-match-result-losser":""}`,n=`${a}-penals-home ${e<s?"sport-calendar-match-result-losser":""}`,i="away"===o?"sport-calendar-match-result-losser":"",c="home"===o?"sport-calendar-match-result-losser":"",d="number"==typeof t.golesDePenal||!1,h="number"==typeof r.golesDePenal||!1;return(0,m.jsxs)("span",{className:"sport-calendar-match-result",children:[(0,m.jsx)("p",{className:i,children:t?.goles}),d&&(0,m.jsx)("strong",{className:n,children:`(${t.golesDePenal})`}),(0,m.jsx)("p",{children:"-"}),(0,m.jsx)("p",{className:c,children:r?.goles}),h&&(0,m.jsx)("strong",{className:l,children:`(${r?.golesDePenal})`})]})})():"Postponed"===l?(0,m.jsx)("div",{className:"sport-calendar-match-prev",children:"Postergado"}):null]}),(0,m.jsxs)("div",{className:"sport-calendar-match-visitant",children:[(0,m.jsx)("img",{src:j,alt:"visitant",onError:e=>{e.target.src=c.vR}}),(0,m.jsx)("p",{children:r.nombre})]})]})},s);var C}),0!==e.length?null:(0,m.jsx)("div",{className:"notice-error-wrapper",children:(0,m.jsx)(o.A,{icon:(0,m.jsx)(d.A,{type:"error"}),titleMessage:"No hay próximos partidos programados"})})]});h.propTypes={idCompetition:r().string,matches:r().array,title:r().string,type:r().string};var p=h;const x=({prevMatches:e=[],nextMatches:s=[],sport:a=""})=>{const l=(e,s)=>(0,m.jsx)("div",{className:"notice-error-wrapper",children:(0,m.jsx)(o.A,{icon:(0,m.jsx)(d.A,{type:"error"}),titleMessage:s})});if(["nfl","nba"].includes(a)){const a=e.length>0?e.map((e,s)=>{const{fecha:a=""}=e||{},l=a.replace("Z",""),r=(0,n.Rl)({dia:l},c.US,c.Mq);return(0,m.jsx)(i.A,{match:e,date:r},`nfl-box-results-${s}`)}):l(0,"No hay últimos partidos disponibles"),r=s.length>0?s.map((e,s)=>{const{fecha:a=""}=e||{},l=a.replace("Z",""),r=(0,n.Rl)({dia:l},c.US,c.Mq);return(0,m.jsx)(i.A,{match:e,date:r},`nfl-box-results-${s}`)}):l(0,"No hay próximos partidos disponibles");return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:"sport-result-team-box",children:[(0,m.jsx)("h4",{className:"sport-result-team-title",children:"ÃLTIMOS RESULTADOS"}),a]}),(0,m.jsxs)("div",{className:"sport-result-team-box",children:[(0,m.jsx)("h4",{className:"sport-result-team-title",children:"PRÃXIMOS PARTIDOS"}),r]})]})}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(p,{title:"ÃLTIMOS RESULTADOS:",matches:e,type:"prev"}),(0,m.jsx)(p,{title:"PRÃXIMOS PARTIDOS:",matches:s,type:"next"})]})};x.propTypes={prevMatches:r().array,nextMatches:r().array,sport:r().string};var u=x,v=a(6222);const j=({logo:e="",name:s=""})=>{return(0,m.jsx)("div",{className:"sport-result-team-select",children:(0,m.jsx)(m.Fragment,{children:(a=s,l=e,(0,m.jsxs)("div",{className:"sport-result-team-select-name-shield",children:[(r=a,t=l,(0,m.jsx)("img",{alt:r,className:"sport-title-only-image",src:t,loading:"lazy",onError:e=>{e.target.src=c.vR}})),(0,m.jsx)("b",{children:a})]}))})});var a,l,r,t};j.static=!0,j.propTypes={logo:r().string,name:r().string};var g=j;const N=e=>{const{customFields:s={},overrides:a={},data:l={}}=e||{},{showHeaderResultTeam:r=a.showHeaderResultTeam||!0}=s||{},{globalContent:n={}}=l||{},{data:i={},sport:o=""}=n||{},{dropdown1:d={},ultimosPartidos:h=[],proximosPartidos:p=[]}=i||{},{nombre:x,logo:j=""}=d||{},N=()=>{const e={futbol:" Volver a Ligas ",default:" Volver a todos los equipos "};return(0,m.jsxs)("button",{className:"sport-result-team-back-btn",onClick:()=>(()=>{const e={nfl:"/deportes/nfl/",nba:"/deportes/nba/",default:"/deportes/futbol/"};if("undefined"!=typeof window&&"undefined"!=typeof document){const s=document.referrer||""||(0,c.s4)(t.ENVIRONMENT,e[o]||e.default);window.location.href=s}})(),children:[(0,m.jsx)(v.i3,{}),(0,m.jsxs)("span",{children:[" ",e[o]||e.default," "]})]})};return(0,m.jsxs)("div",{className:"sport-result-team no-feed",children:[r&&x?(0,m.jsxs)(m.Fragment,{children:[N(),j&&x?(0,m.jsx)(g,{logo:j,name:x}):null]}):null,(()=>{const e=h.slice(0,3),s=p.slice(0,3);return(0,m.jsx)(u,{prevMatches:e,nextMatches:s,sport:o})})()]})};N.propTypes={overrides:r().shape({}),customFields:r().shape({showHeaderResultTeam:r().bool}),data:r().object};var y=N},3925:function(e,s,a){a(809);var l=a(4766);s.A=({type:e=""})=>"error"===e?(0,l.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("g",{clipPath:"url(#clip0_6749_13898)",children:(0,l.jsx)("path",{d:"M26.1783 22.8529L22.3567 26.6746L26.1783 30.4963C2
16.83 31.1479 26.83 32.2013 26.1783 32.8529C25.8533 33.1779 25.4267 33.3413 25 33.3413C24.5733 33.3413 24.1467 33.1779 23.8217 32.8529L20 29.0313L16.1783 32.8529C15.8533 33.1779 15.4267 33.3413 15 33.3413C14.5733 33.3413 14.1467 33.1779 13.8217 32.8529C13.17 32.2013 13.17 31.1479 13.8217 30.4963L17.6433 26.6746L13.8217 22.8529C13.17 22.2013 13.17 21.1479 13.8217 20.4963C14.4733 19.8446 15.5267 19.8446 16.1783 20.4963L20 24.3179L23.8217 20.4963C24.4733 19.8446 25.5267 19.8446 26.1783 20.4963C26.83 21.1479 26.83 22.2013 26.1783 22.8529ZM40 11.6746V31.6746C40 36.2696 36.2617 40.0079 31.6667 40.0079H8.33333C3.73833 40.0079 0 36.2696 0 31.6746V11.6746C0 7.0796 3.73833 3.34127 8.33333 3.34127H10V1.6746C10 0.752935 10.7467 0.00793457 11.6667 0.00793457C12.5867 0.00793457 13.3333 0.752935 13.3333 1.6746V3.34127H26.6667V1.6746C26.6667 0.752935 27.4133 0.00793457 28.3333 0.00793457C29.2533 0.00793457 30 0.752935 30 1.6746V3.34127H31.6667C36.2617 3.34127 40 7.0796 40 11.6746ZM3.33333 11.6746V13.3413H36.6667V11.6746C36.6667 8.91793 34.4233 6.6746 31.6667 6.6746H8.33333C5.57667 6.6746 3.33333 8.91793 3.33333 11.6746ZM36.6667 31.6746V16.6746H3.33333V31.6746C3.33333 34.4313 5.57667 36.6746 8.33333 36.6746H31.6667C34.4233 36.6746 36.6667 34.4313 36.6667 31.6746Z",fill:"#D5D5D5"})}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"clip0_6749_13898",children:(0,l.jsx)("rect",{width:"40",height:"40",fill:"white",transform:"translate(0 0.00793457)"})})})]}):(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,l.jsx)("path",{d:"M13.6708 0C14.1116 0 14.2701 0.355823 14.2469 0.700043C14.2314 0.959175 14.2469 1.22217 14.2469 1.50451C14.3358 1.50451 14.3977 1.50451 14.4595 1.50451C14.9699 1.50451 15.4802 1.49678 15.9867 1.50451C17.104 1.53159 17.9932 2.43275 17.9971 3.55436C18.001 7.685 18.001 11.8156 17.9971 15.9463C17.9971 17.0872 17.0808 18 15.9364 18C11.3086 18 6.68464 18 2.05681 18C1.37636 18 0.827364 17.7061 0.409816 17.1685C0.189443 16.8861 0.0889223 16.5496 0 16.2093C0.00386619 11.9085 0.0270633 3.25269 0.0347957 3.22174C0.259035 2.15041 1.0516 1.50451 2.14573 1.50451C2.55555 1.50451 2.96537 1.50451 3.37132 1.50451C3.49117 1.50451 3.61488 1.50451 3.75407 1.50451C3.75407 1.22217 3.76567 0.959175 3.75407 0.700043C3.73474 0.359691 3.86232 0.00386764 4.3224 0.00386764C4.78247 0.00386764 4.90619 0.40997 4.88686 0.75419C4.8714 0.997851 4.88686 1.24151 4.88686 1.49678H13.1296C13.1296 1.24151 13.1412 0.997851 13.1296 0.75419C13.1102 0.40997 13.2417 0.00386764 13.6824 0.00386764L13.6708 0ZM16.872 7.13966H1.12893V7.34465C1.12893 10.168 1.12893 12.9914 1.12893 15.8148C1.12893 16.5032 1.50008 16.8745 2.19213 16.8745C6.73103 16.8745 11.2699 16.8745 15.8088 16.8745C16.5009 16.8745 16.8759 16.5032 16.8759 15.8148C16.8759 12.9914 16.8759 10.168 16.8759 7.34465V7.13966H16.872ZM4.89073 2.63386C4.89073 2.69961 4.88299 2.75376 4.88299 2.80404C4.88299 3.1792 4.89073 3.55436 4.88299 3.92952C4.87526 4.26214 4.62783 4.50193 4.31466 4.50193C4.0015 4.50193 3.76567 4.25441 3.7618 3.92179C3.75793 3.67426 3.7618 3.4306 3.7618 3.18307C3.7618 3.00516 3.7618 2.82338 3.7618 2.64933C3.71927 2.6416 3.70381 2.63386 3.68448 2.63386C3.16254 2.63386 2.64061 2.63 2.12254 2.63386C1.52328 2.63386 1.13666 3.02836 1.13666 3.62785C1.13666 4.36657 1.13666 5.10529 1.13666 5.84401C1.13666 5.89428 1.14439 5.94456 1.14826 5.99871H16.8836C16.8836 5.20198 16.8836 4.41685 16.8836 3.63171C16.8836 3.03223 16.497 2.6416 15.8978 2.63773C15.4068 2.63773 14.9157 2.63773 14.4209 2.63773C14.3706 2.63773 14.3204 2.64547 14.2546 2.6532C14.2546 3.08251 14.2546 3.49635 14.2546 3.91018C14.2546 4.25827 14.0227 4.5058 13.7018 4.50967C13.377 4.50967 13.1373 4.26214 13.1296 3.90632C13.1257 3.55049 13.1296 3.1908 13.1296 2.83498C13.1296 2.7731 13.1257 2.71122 13.1218 2.64547H4.89073V2.63386Z",fill:"#777777"})})},6858:function(e,s,a){a(809);var l=a(9894),r=a.n(l),t=a(4766);const n=({icon:e,titleMessage:s,bottomMessage:a,className:l})=>(0,t.jsxs)("div",{className:`not-found-league ${l}`,children:[s,e,(0,t.jsx)("p",{className:"not-found-league-bold",children:a})]});
1n.propTypes={bottomMessage:r().string,className:r().string,icon:r().node,titleMessage:r().string},s.A=n},975:function(e,s,a){a.d(s,{A:function(){return d}});a(809);var l=a(9894),r=a.n(l),t=a(2237),n=a(4766);const i=({localShield:e="",visitorShield:s="",q1:a={local:null,visitante:null},q2:l={local:null,visitante:null},q3:r={local:null,visitante:null},q4:i={local:null,visitante:null},ot:c=[],localTotalScore:o="00",visitorTotalScore:d="00",state:m=""})=>{const h=(e,s)=>{if(0===e.length)return"Fixture"===m?"--":"00";let a=0,l=!1;return e.forEach(e=>{null===e[s]&&(l=!0),a+=Number(e[s])||0}),l&&"Fixture"===m?"--":0===a?"00":a},p={local:h(c,"home"),visitante:h(c,"away")},x=e=>null===e||"Fixture"===m?"--":0===e||void 0===e?"00":e,u=(e,s)=>{if("Fixture"===m)return"loser";return(Number(e)||0)<(Number(s)||0)?"loser":""},v=(e=!1)=>e||"Fixture"===m?null:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"9",viewBox:"0 0 8 9",fill:"none",children:(0,n.jsx)("path",{d:"M-2.18557e-07 4.5L7.5 0.169872L7.5 8.83013L-2.18557e-07 4.5Z",fill:"#1F1F1F"})}),j=(e,s)=>{const a=Number(e)||0,l=Number(s)||0;return 0===a&&0===l||a<l};return(0,n.jsxs)("div",{className:"sport-calendar-nfl-status",children:[(0,n.jsxs)("section",{className:"ctn-quarters",children:[(0,n.jsx)("div",{className:"quarter",children:(0,n.jsx)("span",{children:"1"})}),(0,n.jsx)("div",{className:"quarter",children:(0,n.jsx)("span",{children:"2"})}),(0,n.jsx)("div",{className:"quarter",children:(0,n.jsx)("span",{children:"3"})}),(0,n.jsx)("div",{className:"quarter",children:(0,n.jsx)("span",{children:"4"})}),(0,n.jsx)("div",{className:"quarter",children:(0,n.jsx)("span",{children:"TE"})})]}),(0,n.jsxs)("section",{className:"scores-home",children:[(0,n.jsx)("div",{className:"detail-team",children:(0,n.jsx)("img",{loading:"lazy",src:e,alt:"shield local",className:"shield",onError:e=>{e.target.src=t.vR}})}),(0,n.jsxs)("div",{className:"scores-team",children:[(0,n.jsx)("div",{className:`score ${u(a?.local,a?.visitante)}`,children:x(a?.local)}),(0,n.jsx)("div",{className:`score ${u(l?.local,l?.visitante)}`,children:x(l?.local)}),(0,n.jsx)("div",{className:`score ${u(r?.local,r?.visitante)}`,children:x(r?.local)}),(0,n.jsx)("div",{className:`score ${u(i?.local,i?.visitante)}`,children:x(i?.local)}),(0,n.jsx)("div",{className:`score ${u(p.local,p.visitante)}`,children:x(p.local)})]}),(0,n.jsxs)("div",{className:"total-score-team",children:[(0,n.jsx)("span",{className:u(o,d),children:o}),v(j(o,d))]})]}),(0,n.jsxs)("section",{className:"scores-away",children:[(0,n.jsx)("div",{className:"detail-team",children:(0,n.jsx)("img",{loading:"lazy",src:s,alt:"shield visitante",className:"shield",onError:e=>{e.target.src=t.vR}})}),(0,n.jsxs)("div",{className:"scores-team",children:[(0,n.jsx)("div",{className:`score ${u(a?.visitante,a?.local)}`,children:x(a?.visitante)}),(0,n.jsx)("div",{className:`score ${u(l?.visitante,l?.local)}`,children:x(l?.visitante)}),(0,n.jsx)("div",{className:`score ${u(r?.visitante,r?.local)}`,children:x(r?.visitante)}),(0,n.jsx)("div",{className:`score ${u(i?.visitante,i?.local)}`,children:x(i?.visitante)}),(0,n.jsx)("div",{className:`score ${u(p.visitante,p.local)}`,children:x(p.visitante)})]}),(0,n.jsxs)("div",{className:"total-score-team",children:[(0,n.jsx)("span",{className:u(d,o),children:d}),v(j(d,o))]})]})]})};i.propTypes={localShield:r().string.isRequired,visitorShield:r().string.isRequired,q1:r().shape({local:r().oneOfType([r().string,r().number]),visitante:r().oneOfType([r().string,r().number])}),q2:r().shape({local:r().oneOfType([r().string,r().number]),visitante:r().oneOfType([r().string,r().number])}),q3:r().shape({local:r().oneOfType([r().string,r().number]),visitante:r().oneOfType([r().string,r().number])}),q4:r().shape({local:r().oneOfType([r().string,r().number]),visitante:r().oneOfType([r().string,r().number])}),ot:r().array,localTotalScore:r().oneOfType([r().string,r().number]),visitorTotalScore:r().oneOfType([r().string,r().number]),state:r().string,srcError:r().string};var c=i;const o=e=>{const{date:s={},match:a={}}=e||{},{day:l="",dayName:r="",monthName:i=""}=s||{},{hora:o="",estado:d="",local:m={},visitante:h={},localTime:p="",puntajes:x={}}
1=a,{goles:u,logo:v="",nombre:j="",golesDePenal:g}=h,{goles:N,logo:y="",nombre:C="",golesDePenal:f}=m,{total:b={},q1:w={},q2:$={},q3:T={},q4:M={},ot:q={}}=x||{},O=b?.visitante||"00",P=b?.local||"00",F=["Fixture"].includes(d),S=["Playing"].includes(d),L=()=>{if(F)return null;const e=t.P9[d],s=S?"-red":"";return(0,n.jsxs)("div",{className:"sport-calendar-match-played",children:[S?(0,n.jsx)("div",{className:"story-card-ring blinker-live-white",children:(0,n.jsx)("div",{className:"story-card-dot blinker-live-red"})}):null,(0,n.jsx)("p",{className:`sport-calendar-match-played-state${s}`,children:e})]})},R=(e,s)=>void 0===e?null:(0,n.jsx)("strong",{className:s,children:`(${e})`}),H=(e,s,a)=>(0,n.jsx)("p",{className:`${s} digits ${a}`,children:e}),D=(e,s,a)=>`${e}-penals-${s} ${a?"sport-calendar-match-result-loser":""}`,V=e=>e?"sport-calendar-match-result-loser":"",A=(e,s)=>e<s,E=(e,s,a)=>(0,n.jsxs)("div",{className:`sport-calendar-match-${a}`,children:[(0,n.jsx)("img",{src:s,alt:e,loading:"lazy",onError:e=>{e.target.src=t.vR}}),(0,n.jsx)("p",{children:e||"Por definirse"})]});return(0,n.jsxs)("div",{className:"sport-calendar-match",children:[(0,n.jsxs)("div",{className:"sport-calendar-match-vs",children:[E(C,y,"local"),(()=>{if(F)return(()=>{let e=p?.slice(0,5)||o?.slice(0,5),s="date";o||(e="Horario a confirmar",s="nodate");const a=o?(0,n.jsxs)(n.Fragment,{children:[`${r} ${l}, ${i}`,(0,n.jsx)("br",{})]}):"";return(0,n.jsxs)("div",{className:"sport-calendar-match-prev",children:[a,o?(0,n.jsxs)("p",{className:`sport-calendar-match-prev-${s}`,children:[e," hs"]}):e]})})();const e=N??P,s=u??O,a=O??g+s,t=P??f+e,c=A(t,a),d=A(a,t),m=V(c),h=V(d),x="sport-calendar-match-result",v=A(f,g),j=A(g,f),y=D(x,"away",j),C=D(x,"home",v);return(0,n.jsxs)("div",{className:"sport-calendar-match-result-ctn",children:[L(),(0,n.jsxs)("span",{className:x,children:[(0,n.jsxs)(n.Fragment,{children:[R(f,C),H(e,m,"left")]}),(0,n.jsx)("p",{children:"-"}),(0,n.jsxs)(n.Fragment,{children:[H(s,h,"right"),R(g,y)]})]})]})})(),E(j,v,"visitant")]}),(0,n.jsx)(c,{localShield:y,visitorShield:v,q1:w,q2:$,q3:T,q4:M,ot:q,localTotalScore:P,visitorTotalScore:O,state:d})]})};o.propTypes={match:r().object,date:r().object};var d=o}}]);
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.