1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2624],{98060:function(e,s,t){Promise.resolve().then(t.bind(t,15959)),Promise.resolve().then(t.bind(t,11449)),Promise.resolve().then(t.bind(t,83748)),Promise.resolve().then(t.bind(t,14312)),Promise.resolve().then(t.bind(t,27539)),Promise.resolve().then(t.bind(t,62007)),Promise.resolve().then(t.bind(t,5269)),Promise.resolve().then(t.bind(t,50203)),Promise.resolve().then(t.bind(t,74519)),Promise.resolve().then(t.bind(t,88544)),Promise.resolve().then(t.bind(t,86730)),Promise.resolve().then(t.bind(t,57073)),Promise.resolve().then(t.bind(t,81567)),Promise.resolve().then(t.bind(t,90697)),Promise.resolve().then(t.bind(t,29157)),Promise.resolve().then(t.bind(t,47696)),Promise.resolve().then(t.bind(t,28687)),Promise.resolve().then(t.bind(t,26922)),Promise.resolve().then(t.bind(t,77472)),Promise.resolve().then(t.bind(t,40859)),Promise.resolve().then(t.bind(t,25772)),Promise.resolve().then(t.bind(t,73414)),Promise.resolve().then(t.bind(t,85250)),Promise.resolve().then(t.bind(t,61859)),Promise.resolve().then(t.bind(t,31269)),Promise.resolve().then(t.bind(t,57220)),Promise.resolve().then(t.bind(t,82771)),Promise.resolve().then(t.bind(t,10741)),Promise.resolve().then(t.bind(t,74764)),Promise.resolve().then(t.bind(t,79501)),Promise.resolve().then(t.bind(t,6188)),Promise.resolve().then(t.bind(t,89973)),Promise.resolve().then(t.bind(t,27403)),Promise.resolve().then(t.bind(t,570)),Promise.resolve().then(t.bind(t,88522)),Promise.resolve().then(t.bind(t,7548)),Promise.resolve().then(t.bind(t,73389)),Promise.resolve().then(t.bind(t,83949)),Promise.resolve().then(t.bind(t,13672)),Promise.resolve().then(t.bind(t,93098)),Promise.resolve().then(t.bind(t,73547)),Promise.resolve().then(t.bind(t,80348)),Promise.resolve().then(t.bind(t,78473)),Promise.resolve().then(t.bind(t,49325)),Promise.resolve().then(t.bind(t,59198)),Promise.resolve().then(t.bind(t,6110)),Promise.resolve().then(t.bind(t,94551)),Promise.resolve().then(t.bind(t,7958)),Promise.resolve().then(t.bind(t,55164)),Promise.resolve().then(t.bind(t,73458)),Promise.resolve().then(t.bind(t,27350)),Promise.resolve().then(t.bind(t,29578)),Promise.resolve().then(t.bind(t,60122)),Promise.resolve().then(t.bind(t,40227)),Promise.resolve().then(t.bind(t,35860)),Promise.resolve().then(t.bind(t,82816)),Promise.resolve().then(t.bind(t,46062)),Promise.resolve().then(t.bind(t,50687)),Promise.resolve().then(t.bind(t,86559)),Promise.resolve().then(t.bind(t,90240)),Promise.resolve().then(t.bind(t,41952)),Promise.resolve().then(t.bind(t,2118)),Promise.resolve().then(t.bind(t,99085)),Promise.resolve().then(t.bind(t,35589)),Promise.resolve().then(t.t.bind(t,38173,23)),Promise.resolve().then(t.t.bind(t,231,23))},15959:function(e,s,t){"use strict";t.d(s,{default:function(){return T}});var a=t(57437),l=t(55487);let r=(0,l.Z)("outline","trending-up","TrendingUp",[["path",{d:"M3 17l6 -6l4 4l8 -8",key:"svg-0"}],["path",{d:"M14 7l7 0l0 7",key:"svg-1"}]]);var n=t(74369),i=t(56593),o=t(93231),d=t(16129);let c=(0,l.Z)("outline","flame","Flame",[["path",{d:"M12 10.941c2.333 -3.308 .167 -7.823 -1 -8.941c0 3.395 -2.235 5.299 -3.667 6.706c-1.43 1.408 -2.333 3.621 -2.333 5.588c0 3.704 3.134 6.706 7 6.706s7 -3.002 7 -6.706c0 -1.712 -1.232 -4.403 -2.333 -5.588c-2.084 3.353 -3.257 3.353 -4.667 2.235",key:"svg-0"}]]),m=(0,l.Z)("outline","cards","Cards",[["path",{d:"M3.604 7.197l7.138 -3.109a.96 .96 0 0 1 1.27 .527l4.924 11.902a1 1 0 0 1 -.514 1.304l-7.137 3.109a.96 .96 0 0 1 -1.271 -.527l-4.924 -11.903a1 1 0 0 1 .514 -1.304z",key:"svg-0"}],["path",{d:"M15 4h1a1 1 0 0 1 1 1v3.5",key:"svg-1"}],["path",{d:"M20 6c.264 .112 .52 .217 .768 .315a1 1 0 0 1 .53 1.311l-2.298 5.374",key:"svg-2"}]]);var x=t(77967),h=t(4761),p=t(68255),u=t(97595),b=t(70999),g=t(11449),v=t(60061);function f(e){return null===e?"â":"".concat(new Intl.NumberFormat("es-AR",{maximumFractionDigits:Number.isInteger(e)?0:1}).format(e),"%")}function j(e){return null===e?"â":new Intl.NumberFormat("es-AR",{minimumFractionDigits:1,maximumFractionDigits:1}).format(e)}function k(e){return e>0?"+".concat(e):String(e)}function N(e){return"win"===e?"G":"draw"===e?"E":"P"}function y(e){return"win"===e?"border-emerald-200 bg-emerald-100 text-emerald-800":"draw"===e?"border-amber-200 bg-amber-100 text-amber-800":"border-rose-200 bg-rose-100 text-rose-800"}function w(e){let{label:s,value:t,tone:l="slate"}=e;return(0,a.jsxs)("div",{className:"rounded-2xl border px-3 py-2.5 text-center ".concat({slate:"border-white/15 bg-white/10 text-white",emerald:"border-emerald-300/30 bg-emerald-300/15 text-emerald-50",amber:"border-amber-300/30 bg-amber-300/15 text-amber-50",rose:"border-rose-300/30 bg-rose-300/15 text-rose-50"}[l]),children:[(0,a.jsx)("p",{className:"text-xl font-black leading-none",children:t}),(0,a.jsx)("p",{className:"mt-1 text-[10px] font-black uppercase tracking-[0.14em] opacity-80",children:s})]})}function P(e){var s;let{data:t}=e,l=Math.min(100,Math.max(0,null!==(s=t.summary.effectivenessPct)&&void 0!==s?s:0)),i=[...t.recentForm].reverse();return(0,a.jsxs)("article",{className:"relative overflow-hidden rounded-[2rem] border border-purple-500/30 bg-gradient-to-br from-purple-950 via-purple-800 to-fuchsia-700 p-4 text-white shadow-lg sm:p-5 lg:col-span-2",children:[(0,a.jsx)("div",{className:"absolute -right-20 -top-20 h-56 w-56 rounded-full bg-fuchsia-300/20 blur-3xl"}),(0,a.jsx)("div",{className:"absolute -bottom-24 -left-20 h-60 w-60 rounded-full bg-purple-300/15 blur-3xl"}),(0,a.jsxs)("div",{className:"relative flex items-center justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-white/15 bg-white/10 px-3 py-1 text-xs font-black uppercase tracking-wide text-purple-50 backdrop-blur",children:[(0,a.jsx)(r,{size:16}),"Rendimiento"]}),(0,a.jsx)("h2",{className:"mt-3 text-xl font-black tracking-tight sm:text-2xl",children:"Panorama general"})]}),(0,a.jsx)(n.Z,{className:"h-8 w-8 text-white/70"})]}),(0,a.jsxs)("div",{className:"relative mt-5 grid gap-5 sm:grid-cols-[180px_1fr] sm:items-center",children:[(0,a.jsx)("div",{className:"flex justify-center sm:justify-start",children:(0,a.jsx)("div",{className:"relative grid h-40 w-40 place-items-center rounded-full p-[12px] shadow-2xl",style:{background:"conic-gradient(rgb(255 255 255) ".concat(l,"%, rgba(255,255,255,0.16) ").concat(l,"% 100%)")},children:(0,a.jsx)("div",{className:"grid h-full w-full place-items-center rounded-full bg-purple-950/90 text-center ring-1 ring-white/15 backdrop-blur",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-4xl font-black tracking-tight",children:f(t.summary.effectivenessPct)}),(0,a.jsx)("p",{className:"mt-1 text-[11px] font-black uppercase tracking-[0.15em] text-purple-200",children:"Efectividad"})]})})})}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"grid grid-cols-4 gap-2",children:[(0,a.jsx)(w,{label:"PJ",value:t.summary.played}),(0,a.jsx)(w,{label:"PG",value:t.summary.wins,tone:"emerald"}),(0,a.jsx)(w,{label:"PE",value:t.summary.draws,tone:"amber"}),(0,a.jsx)(w,{label:"PP",value:t.summary.losses,tone:"rose"})]}),(0,a.jsx)("div",{className:"mt-3 rounded-2xl border border-white/15 bg-white/10 px-4 py-3 backdrop-blur",children:(0,a.jsxs)("div",{className:"flex items-end justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs font-bold text-purple-200",children:"Puntos obtenidos"}),(0,a.jsxs)("p",{className:"mt-0.5 text-2xl font-black",children:[t.summary.points,(0,a.jsxs)("span",{className:"ml-1 text-sm font-bold text-purple-200",children:["de ",t.summary.possiblePoints]})]})]}),(0,a.jsxs)("p",{className:"text-right text-xs font-semibold text-purple-100",children:["3 por victoria",(0,a.jsx)("br",{}),"1 por empate"]})]})}),(0,a.jsxs)("div",{className:"mt-4 flex items-center justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-[11px] font-black uppercase tracking-[0.14em] text-purple-200",children:"Forma reciente"}),(0,a.jsxs)("p",{className:"mt-0.5 text-xs font-semibold text-white/70",children:["\xdaltimos ",i.length," partidos"]})]}),(0,a.jsx)("div",{className:"flex gap-1.5",children:i.map(e=>(0,a.jsx)("span",{title:"".concat(e.opponentName,": ").concat(e.goalsFor,"-").concat(e.goalsAgainst),className:"grid h-8 w-8 place-items-center rounded-full border text-xs font-black ".concat(y(e.result)),children:N(e.result)},e.matchId))})]})]})]})]})}function M(e){var s;let{data:t}=e;return(0,a.jsxs)("article",{className:"overflow-hidden rounded-[2rem] border border-sky-200 bg-gradient-to-br from-sky-50 via-white to-cyan-50 p-4 shadow-sm sm:p-5",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,a.jsx)("div",{className:"grid h-11 w-11 place-items-center rounded-2xl bg-sky-100 text-sky-700 ring-1 ring-sky-200",children:(0,a.jsx)(i.Z,{size:24,stroke:2.1})}),(0,a.jsx)("span",{className:"rounded-full bg-white px-3 py-1 text-xs font-black text-sky-700 ring-1 ring-sky-200",children:f(t.cleanSheets.percentage)})]}),(0,a.jsx)("p",{className:"mt-5 text-5xl font-black tracking-tight text-slate-950",children:t.cleanSheets.count}),(0,a.jsx)("h2",{className:"mt-1 text-lg font-black text-slate-900",children:"Vallas invictas"}),(0,a.jsx)("p",{className:"mt-1 text-sm font-medium leading-relaxed text-slate-500",children:"Partidos en los que el equipo no recibi\xf3 goles."}),(0,a.jsx)("div",{className:"mt-4 h-2 overflow-hidden rounded-full bg-sky-100",children:(0,a.jsx)("div",{className:"h-full rounded-full bg-sky-500",style:{width:"".concat(Math.min(100,Math.max(0,null!==(s=t.cleanSheets.percentage)&&void 0!==s?s:0)),"%")}
1})})]})}function Z(e){let{data:s}=e,t=s.goals.difference>0?"text-emerald-700 bg-emerald-50 ring-emerald-200":s.goals.difference<0?"text-rose-700 bg-rose-50 ring-rose-200":"text-slate-700 bg-slate-50 ring-slate-200";return(0,a.jsxs)("article",{className:"rounded-[2rem] border border-slate-200 bg-white p-4 shadow-sm sm:p-5 lg:col-span-2",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-purple-50 px-3 py-1 text-xs font-black text-purple-700 ring-1 ring-purple-200",children:[(0,a.jsx)(o.Z,{size:16}),"Producci\xf3n"]}),(0,a.jsx)("h2",{className:"mt-3 text-xl font-black text-slate-950",children:"Balance de goles"})]}),(0,a.jsx)(d.Z,{className:"h-8 w-8 text-purple-300"})]}),(0,a.jsxs)("div",{className:"mt-5 grid grid-cols-3 gap-2 sm:gap-3",children:[(0,a.jsxs)("div",{className:"rounded-2xl border border-emerald-200 bg-emerald-50 px-3 py-4 text-center",children:[(0,a.jsx)("p",{className:"text-3xl font-black text-emerald-800",children:s.goals.for}),(0,a.jsx)("p",{className:"mt-1 text-[11px] font-black uppercase tracking-wide text-emerald-700",children:"Goles a favor"})]}),(0,a.jsxs)("div",{className:"rounded-2xl px-3 py-4 text-center ring-1 ".concat(t),children:[(0,a.jsx)("p",{className:"text-3xl font-black",children:k(s.goals.difference)}),(0,a.jsx)("p",{className:"mt-1 text-[11px] font-black uppercase tracking-wide",children:"Diferencia"})]}),(0,a.jsxs)("div",{className:"rounded-2xl border border-rose-200 bg-rose-50 px-3 py-4 text-center",children:[(0,a.jsx)("p",{className:"text-3xl font-black text-rose-800",children:s.goals.against}),(0,a.jsx)("p",{className:"mt-1 text-[11px] font-black uppercase tracking-wide text-rose-700",children:"Goles en contra"})]})]}),(0,a.jsxs)("div",{className:"mt-4 grid gap-2 sm:grid-cols-2",children:[(0,a.jsxs)("div",{className:"rounded-2xl bg-slate-50 px-4 py-3 ring-1 ring-slate-200",children:[(0,a.jsx)("p",{className:"text-xs font-bold text-slate-500",children:"Promedio a favor"}),(0,a.jsxs)("p",{className:"mt-1 text-lg font-black text-slate-900",children:[j(s.goals.averageFor)," por partido"]})]}),(0,a.jsxs)("div",{className:"rounded-2xl bg-slate-50 px-4 py-3 ring-1 ring-slate-200",children:[(0,a.jsx)("p",{className:"text-xs font-bold text-slate-500",children:"Promedio recibido"}),(0,a.jsxs)("p",{className:"mt-1 text-lg font-black text-slate-900",children:[j(s.goals.averageAgainst)," por partido"]})]})]})]})}function z(e){var s,t;let{data:l}=e,r=l.streaks.currentType?"".concat(l.streaks.currentLength," ").concat((s=l.streaks.currentType,t=1!==l.streaks.currentLength,"win"===s?t?"victorias":"victoria":"draw"===s?t?"empates":"empate":t?"derrotas":"derrota")):"Sin racha";return(0,a.jsxs)("article",{className:"rounded-[2rem] border border-orange-200 bg-gradient-to-br from-orange-50 via-white to-amber-50 p-4 shadow-sm sm:p-5",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,a.jsx)("div",{className:"grid h-11 w-11 place-items-center rounded-2xl bg-orange-100 text-orange-700 ring-1 ring-orange-200",children:(0,a.jsx)(c,{size:24,stroke:2.1})}),(0,a.jsx)("span",{className:"rounded-full bg-white px-3 py-1 text-xs font-black text-orange-700 ring-1 ring-orange-200",children:"Rachas"})]}),(0,a.jsxs)("div",{className:"mt-5 space-y-3",children:[(0,a.jsxs)("div",{className:"rounded-2xl border border-orange-100 bg-white/80 px-4 py-3",children:[(0,a.jsx)("p",{className:"text-xs font-bold text-slate-500",children:"Mejor racha ganadora"}),(0,a.jsxs)("p",{className:"mt-1 text-xl font-black text-slate-950",children:[l.streaks.bestWinning," victorias"]})]}),(0,a.jsxs)("div",{className:"rounded-2xl border border-violet-100 bg-white/80 px-4 py-3",children:[(0,a.jsx)("p",{className:"text-xs font-bold text-slate-500",children:"Mejor invicto"}),(0,a.jsxs)("p",{className:"mt-1 text-xl font-black text-slate-950",children:[l.streaks.bestUnbeaten," partidos"]})]}),(0,a.jsxs)("div",{className:"rounded-2xl border border-slate-200 bg-white/80 px-4 py-3",children:[(0,a.jsx)("p",{className:"text-xs font-bold text-slate-500",children:"Racha actual"}),(0,a.jsx)("p",{className:"mt-1 text-base font-black text-slate-950",children:r}),l.streaks.currentUnbeaten>0&&(0,a.jsxs)("p",{className:"mt-1 text-xs font-semibold text-slate-500",children:[l.streaks.currentUnbeaten," sin perder"]})]})]})]})}function F(e){var s;let{title:t,icon:l,split:r,accent:n}=e,i="purple"===n?{icon:"bg-purple-100 text-purple-700 ring-purple-200",pill:"bg-purple-50 text-purple-700 ring-purple-200",bar:"bg-purple-600",track:"bg-purple-100"}:{icon:"bg-sky-100 text-sky-700 ring-sky-200",pill:"bg-sky-50 text-sky-700 ring-sky-200",bar:"bg-sky-600",track:"bg-sky-100"};return(0,a.jsxs)("article",{className:"rounded-[2rem] border border-slate-200 bg-white p-4 shadow-sm sm:p-5",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,a.jsx)("div",{className:"grid h-11 w-11 place-items-center rounded-2xl ring-1 ".concat(i.icon),children:l}),(0,a.jsx)("span",{className:"rounded-full px-3 py-1 text-xs font-black ring-1 ".concat(i.pill),children:f(r.effectivenessPct)})]}),(0,a.jsx)("h3",{className:"mt-4 text-lg font-black text-slate-950",children:t}),(0,a.jsxs)("p",{className:"mt-1 text-sm font-semibold text-slate-500",children:[r.points," de ",r.possiblePoints," puntos"]}),(0,a.jsx)("div",{className:"mt-4 h-2 overflow-hidden rounded-full ".concat(i.track),children:(0,a.jsx)("div",{className:"h-full rounded-full ".concat(i.bar),style:{width:"".concat(Math.min(100,Math.max(0,null!==(s=r.effectivenessPct)&&void 0!==s?s:0)),"%")}
1})}),(0,a.jsx)("div",{className:"mt-4 grid grid-cols-4 gap-2 text-center",children:[["PJ",r.played],["PG",r.wins],["PE",r.draws],["PP",r.losses]].map(e=>{let[s,t]=e;return(0,a.jsxs)("div",{className:"rounded-xl bg-slate-50 px-2 py-2 ring-1 ring-slate-200",children:[(0,a.jsx)("p",{className:"text-base font-black text-slate-900",children:t}),(0,a.jsx)("p",{className:"text-[9px] font-black uppercase tracking-wide text-slate-500",children:s})]},s)})}),(0,a.jsxs)("div",{className:"mt-3 flex items-center justify-between rounded-2xl bg-slate-50 px-3 py-2.5 text-xs font-bold text-slate-600 ring-1 ring-slate-200",children:[(0,a.jsxs)("span",{children:["GF ",r.goalsFor]}),(0,a.jsxs)("span",{children:["DG ",k(r.goalDifference)]}),(0,a.jsxs)("span",{children:["GC ",r.goalsAgainst]})]})]})}function S(e){let{data:s}=e;return(0,a.jsxs)("article",{className:"rounded-[2rem] border border-slate-200 bg-white p-4 shadow-sm sm:p-5",children:[(0,a.jsx)("div",{className:"flex items-start justify-between gap-3",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-amber-50 px-3 py-1 text-xs font-black text-amber-800 ring-1 ring-amber-200",children:[(0,a.jsx)(m,{size:16}),"Disciplina"]}),(0,a.jsx)("h2",{className:"mt-3 text-xl font-black text-slate-950",children:"Tarjetas recibidas"})]})}),s.discipline.available?(0,a.jsx)("div",{className:"mt-5 grid grid-cols-2 gap-2",children:s.discipline.items.map(e=>(0,a.jsxs)("div",{className:"rounded-2xl border px-3 py-3 ".concat("yellow"===e.key?"border-amber-200 bg-amber-50 text-amber-800":e.key.startsWith("blue")?"border-sky-200 bg-sky-50 text-sky-800":"red"===e.key?"border-rose-200 bg-rose-50 text-rose-800":"border-slate-200 bg-slate-50 text-slate-800"),children:[(0,a.jsx)("p",{className:"text-2xl font-black",children:e.count}),(0,a.jsx)("p",{className:"mt-1 text-xs font-black leading-tight",children:e.label})]},e.key))}):(0,a.jsxs)("div",{className:"mt-5 rounded-2xl border border-dashed border-slate-300 bg-slate-50 px-4 py-5 text-center",children:[(0,a.jsx)(x.Z,{className:"mx-auto h-7 w-7 text-slate-400"}),(0,a.jsx)("p",{className:"mt-2 text-sm font-black text-slate-700",children:"Disciplina no disponible"}),(0,a.jsx)("p",{className:"mt-1 text-xs font-medium leading-relaxed text-slate-500",children:"Este origen no incluye eventos disciplinarios confiables para el equipo."})]})]})}function E(e){let{data:s}=e;return(0,a.jsxs)("article",{className:"rounded-[2rem] border border-slate-200 bg-white p-4 shadow-sm sm:p-5",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-violet-50 px-3 py-1 text-xs font-black text-violet-700 ring-1 ring-violet-200",children:[(0,a.jsx)(h.Z,{size:16}),"Forma reciente"]}),(0,a.jsx)("h2",{className:"mt-3 text-xl font-black text-slate-950",children:"\xdaltimos partidos"})]}),(0,a.jsx)("span",{className:"rounded-full bg-slate-50 px-3 py-1 text-xs font-black text-slate-600 ring-1 ring-slate-200",children:s.recentForm.length})]}),(0,a.jsx)("div",{className:"mt-4 space-y-2",children:s.recentForm.map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl border border-slate-200 bg-slate-50/70 p-3",children:[(0,a.jsx)("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-full border text-sm font-black ".concat(y(e.result)),children:N(e.result)}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("p",{className:"truncate text-sm font-black text-slate-900",children:e.opponentName}),(0,a.jsxs)("p",{className:"mt-0.5 text-[11px] font-semibold text-slate-500",children:[e.dateLabel," \xb7 ","home"===e.venue?"Local":"Visitante"]})]}),(0,a.jsxs)("div",{className:"shrink-0 rounded-xl bg-white px-3 py-2 text-base font-black text-slate-950 ring-1 ring-slate-200",children:[e.goalsFor,"â",e.goalsAgainst]})]},e.matchId))})]})}function G(e){let{teamName:s}=e;return(0,a.jsxs)("section",{className:"mt-5 overflow-hidden rounded-[2rem] border border-purple-200 bg-gradient-to-br from-purple-50 via-white to-sky-50 px-5 py-10 text-center shadow-sm sm:px-8 sm:py-12",children:[(0,a.jsx)("div",{className:"mx-auto grid h-16 w-16 place-items-center rounded-[1.4rem] bg-purple-100 text-purple-700 ring-1 ring-purple-200",children:(0,a.jsx)(n.Z,{size:32,stroke:1.8})}),(0,a.jsx)("h2",{className:"mt-5 text-xl font-black text-slate-950 sm:text-2xl",children:"Todav\xeda n
1o hay estad\xedsticas"}),(0,a.jsxs)("p",{className:"mx-auto mt-2 max-w-xl text-sm font-medium leading-relaxed text-slate-600 sm:text-base",children:["Las estad\xedsticas de ",s," se habilitar\xe1n cuando tenga al menos un partido finalizado con resultado cargado."]})]})}function T(e){let{data:s,basePath:t,homeHref:l}=e,r="datafactory"===s.source?[s.tournament.name,s.tournament.year].filter(Boolean).join(" "):[s.tournament.categoryName,s.tournament.divisionName,s.tournament.name,s.tournament.year].filter(Boolean).join(" \xb7 "),n=s.home.effectivenessPct,i=s.away.effectivenessPct;return(0,a.jsx)("main",{className:"min-h-[100dvh] bg-slate-50 px-3 pb-24 pt-3 sm:px-4",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-5xl",children:[(0,a.jsxs)("div",{className:"mx-auto w-full max-w-[30rem]",children:[(0,a.jsx)("section",{className:"overflow-hidden rounded-[2rem] border border-purple-200 bg-gradient-to-br from-purple-100 via-white to-purple-50 shadow-sm",children:(0,a.jsxs)("div",{className:"relative p-4",children:[(0,a.jsx)("div",{className:"absolute right-[-44px] top-[-44px] h-32 w-32 rounded-full bg-purple-300/30 blur-2xl"}),(0,a.jsx)("div",{className:"absolute bottom-[-56px] left-[-56px] h-36 w-36 rounded-full bg-fuchsia-300/20 blur-2xl"}),(0,a.jsxs)("div",{className:"relative flex items-center gap-4",children:[(0,a.jsx)("div",{className:"flex h-24 w-24 shrink-0 items-center justify-center rounded-[1.7rem] border border-purple-200 bg-white/85 p-2 shadow-sm",children:(0,a.jsx)(g.default,{teamId:s.team.id,fallbackId:"default2",alt:"".concat(s.team.name," Logo"),width:96,height:96,className:"h-full w-full rounded-2xl object-contain"})}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("h1",{className:"truncate text-2xl font-black tracking-tight text-slate-950",children:s.team.name}),(0,a.jsx)("p",{className:"mt-1 text-sm font-semibold leading-snug text-slate-600",children:r}),(0,a.jsx)("p",{className:"mt-2 text-xs font-bold text-purple-700",children:s.tournament.organizationName})]})]})]})}),(0,a.jsx)(v.default,{basePath:t,homeHref:l,activeSection:"statistics"})]}),s.empty?(0,a.jsx)(G,{teamName:s.team.name}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mt-5 flex items-end justify-between gap-3 px-1",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 text-xs font-black uppercase tracking-[0.14em] text-purple-700",children:[(0,a.jsx)(p.Z,{size:16}),"Torneo actual"]}),(0,a.jsx)("h2",{className:"mt-1 text-2xl font-black tracking-tight text-slate-950 sm:text-3xl",children:"Estad\xedsticas del equipo"}),(0,a.jsxs)("p",{className:"mt-1 text-sm font-semibold text-slate-500",children:["Basado en ",s.summary.played," ",1===s.summary.played?"partido finalizado":"partidos finalizados"]})]})}),(0,a.jsxs)("section",{className:"mt-4 grid grid-cols-1 gap-4 lg:grid-cols-3",children:[(0,a.jsx)(P,{data:s}),(0,a.jsx)(M,{data:s}),(0,a.jsx)(Z,{data:s}),(0,a.jsx)(z,{data:s})]}),(0,a.jsxs)("section",{className:"mt-6",children:[(0,a.jsxs)("div",{className:"mb-3 px-1",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 text-xs font-black uppercase tracking-[0.14em] text-purple-700",children:[(0,a.jsx)(u.Z,{size:16}),"Local\xeda"]}),(0,a.jsxs)("div",{className:"mt-1 flex flex-col gap-1 sm:flex-row sm:items-end sm:justify-between",children:[(0,a.jsx)("h2",{className:"text-xl font-black text-slate-950 sm:text-2xl",children:"Local vs. visitante"}),(0,a.jsx)("p",{className:"text-xs font-bold text-slate-500",children:null===n&&null===i?"Sin partidos de local ni visitante":null!==n&&null===i?"Todav\xeda no disput\xf3 partidos como visitante":null===n&&null!==i?"Todav\xeda no disput\xf3 partidos como local":5>Math.abs((null!=n?n:0)-(null!=i?i:0))?"Rendimiento equilibrado entre local y visitante":(null!=n?n:0)>(null!=i?i:0)?"Mejor rendimiento como local":"Mejor rendimiento como visitante"})]})]}),(0,a.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[(0,a.jsx)(F,{title:"Rendimiento de local",icon:(0,a.jsx)(b.Z,{size:24,stroke:2.1}),split:s.home,accent:"purple"}),(0,a.jsx)(F,{title:"Rendimiento de visitante",icon:(0,a.jsx)(u.Z,{size:24,stroke:2.1}),split:s.away,accent:"sky"})]})]}),(0,a.jsxs)("section",{className:"mt-6 grid gap-4 lg:grid-cols-[0.9fr_1.1fr]",children:[(0,a.jsx)(S,{data:s}),(0,a.jsx)(E,{data:s})]})]})]})})}},60061:function(e,s,t){"use strict";t.d(s,{default:function(){return x}});var a=t(57437),l=t(87138),r=t(8924),n=t(22579),i=t(38429),o=t(16129),d=t(35024),c=t(4761),m=t(74369);function x(e){let{basePath:s,homeHref:t,activeSection:x}=e,h=[{key:"shield",label:"Escudo",href:t,icon:r.Z,enabled:!0},{key:"team-photo",label:"Foto del plantel",href:"".concat(s,"/team-squad-photo"),icon:n.Z,enabled:!0},{key:"players",label:"Jugadores",href:"".concat(s,"/team-players"),icon:i.Z,enabled:!0},{key:"scorers",label:"Goleadores",href:"".concat(s,"/team-scorers"),icon:o.Z,enabled:!0},{key:"kit",label:"Camiseta",href:"".concat(s,"/team-jersey"),icon:d.Z,enabled:!0},{key:"matches",label:"Campa\xf1a",href:"".concat(s,"/team-matches"),icon:c.Z,enabled:!0},{key:"statistics",label:"Estad\xedsticas",href:"".concat(s,"/team-stats"),icon:m.Z,enabled:!0}];return(0,a.jsx)("nav",{className:"mt-3 rounded-2xl border border-purple-200 bg-white p-1 shadow-sm","aria-label":"Secciones del equipo",children:(0,a.jsx)("div",{className:"grid grid-cols-7 gap-0",children:h.map(e=>{let s=e.icon,t=e.key===x,r=["relative flex h-11 min-w-0 items-center justify-center rounded-xl","transition duration-200","focus-visible:outline-none focus-visible:ring-2","focus-visible:ring-purple-500 focus-visible:ring-offset-2",t?"bg-purple-700 text-white shadow-sm":e.enabled?"text-purple-700 hover:bg-purple-50 active:scale-95":"cursor-not-allowed text-slate-300"].join(" "),n=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s,{size:22,stroke:t?2.4:2,"aria-hidden":"true"}),t&&(0,a.jsx)("span",{className:"absolute -bottom-1 h-1 w-4 roun
1ded-full bg-purple-300"}),(0,a.jsx)("span",{className:"sr-only",children:e.label})]});return e.enabled?(0,a.jsx)(l.default,{href:e.href,className:r,"aria-label":e.label,"aria-current":t?"page":void 0,title:e.label,children:n},e.key):(0,a.jsx)("div",{className:r,"aria-label":"".concat(e.label,", pr\xf3ximamente"),title:"".concat(e.label," \xb7 Pr\xf3ximamente"),children:n},e.key)})})})}},70999:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","home","Home",[["path",{d:"M5 12l-2 0l9 -9l9 9l-2 0",key:"svg-0"}],["path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7",key:"svg-1"}],["path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6",key:"svg-2"}]])},77967:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","info-circle","InfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]])},97595:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","map-pin","MapPin",[["path",{d:"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-0"}],["path",{d:"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z",key:"svg-1"}]])},22579:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","photo","Photo",[["path",{d:"M15 8h.01",key:"svg-0"}],["path",{d:"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12z",key:"svg-1"}],["path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5",key:"svg-2"}],["path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3",key:"svg-3"}]])},8924:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","shield","Shield",[["path",{d:"M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3",key:"svg-0"}]])},56593:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","shield-check","ShieldCheck",[["path",{d:"M11.46 20.846a12 12 0 0 1 -7.96 -14.846a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.09 7.06",key:"svg-0"}],["path",{d:"M15 19l2 2l4 -4",key:"svg-1"}]])},35024:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","shirt-sport","ShirtSport",[["path",{d:"M15 4l6 2v5h-3v8a1 1 0 0 1 -1 1h-10a1 1 0 0 1 -1 -1v-8h-3v-5l6 -2a3 3 0 0 0 6 0",key:"svg-0"}],["path",{d:"M10.5 11h2.5l-1.5 5",key:"svg-1"}]])},4761:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","soccer-field","SoccerField",[["path",{d:"M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-0"}],["path",{d:"M3 9h3v6h-3z",key:"svg-1"}],["path",{d:"M18 9h3v6h-3z",key:"svg-2"}],["path",{d:"M3 5m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z",key:"svg-3"}],["path",{d:"M12 5l0 14",key:"svg-4"}]])},93231:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","target-arrow","TargetArrow",[["path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M12 7a5 5 0 1 0 5 5",key:"svg-1"}],["path",{d:"M13 3.055a9 9 0 1 0 7.941 7.945",key:"svg-2"}],["path",{d:"M15 6v3h3l3 -3h-3v-3z",key:"svg-3"}],["path",{d:"M15 9l-3 3",key:"svg-4"}]])},38429:function(e,s,t){"use strict";t.d(s,{Z:function(){return a}});let a=(0,t(55487).Z)("outline","users-group","UsersGroup",[["path",{d:"M10 13a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-0"}],["path",{d:"M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1",key:"svg-1"}],["path",{d:"M15 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-2"}],["path",{d:"M17 10h2a2 2 0 0 1 2 2v1",key:"svg-3"}],["path",{d:"M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-4"}],["path",{d:"M3 13v-1a2 2 0 0 1 2 -2h2",key:"svg-5"}]])}},function(e){e.O(0,[9545,189,8173,231,6348,3357,121,6531,3422,9141,6572,2971,7023,1744],function(){return e(e.s=98060)}),_N_E=e.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.