1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1987],{23309:function(e,s,t){Promise.resolve().then(t.bind(t,38466)),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))},38466:function(e,s,t){"use strict";t.d(s,{default:function(){return h}});var r=t(57437),l=t(2265),o=t(22579),i=t(11449),n=t(16572),a=t(60061);function d(e){let{teamName:s}=e;return(0,r.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden",role:"img","aria-label":"Foto del plantel de ".concat(s," no disponible"),children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-purple-50 via-white to-slate-100"}),(0,r.jsx)("div",{className:"absolute left-[8%] top-[12%] h-40 w-40 rounded-full bg-purple-200/40 blur-3xl"}),(0,r.jsx)("div",{className:"absolute bottom-[8%] right-[8%] h-44 w-44 rounded-full bg-fuchsia-200/30 blur-3xl"}),(0,r.jsxs)("svg",{viewBox:"0 0 800 500",className:"relative h-[88%] w-[92%] max-w-[52rem]","aria-hidden":"true",focusable:"false",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"bgGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%","stop-color":"#CCCCCC"}),(0,r.jsx)("stop",{offset:"60%","stop-color":"#E5E7EB"}),(0,r.jsx)("stop",{offset:"61%","stop-color":"#999999"}),(0,r.jsx)("stop",{offset:"100%","stop-color":"#737373"})]}),(0,r.jsx)("filter",{id:"shadow",x:"-10%",y:"-10%",width:"120%",height:"120%",children:(0,r.jsx)("feDropShadow",{dx:"0",dy:"4",stdDeviation:"4","flood-color":"#000000","flood-opacity":"0.25"})}),(0,r.jsxs)("linearGradient",{id:"jerseyGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%","stop-color":"#B3B3B3"}),(0,r.jsx)("stop",{offset:"50%","stop-color":"#8C8C8C"}),(0,r.jsx)("stop",{offset:"100%","stop-color":"#666666"})]}),(0,r.jsxs)("linearGradient",{id:"skinGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%","stop-color":"#E6E6E6"}),(0,r.jsx)("stop",{offset:"100%","stop-color":"#A6A6A6"})]}),(0,r.jsxs)("linearGradient",{id:"shortsGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%","stop-color":"#737373"}),(0,r.jsx)("stop",{offset:"100%","stop-color":"#4D4D4D"})]}),(0,r.jsxs)("g",{id:"playerStand",children:[(0,r.jsx)("path",{d:"M-14,-75 C-14,-92 14,-92 14,-75 C14,-60 11,-53 0,-53 C-11,-53 -14,-60 -14,-75 Z",fill:"url(#skinGrad)",stroke:"#737373","stroke-width":"1"}),(0,r.jsx)("path",{d:"M-7,-54 L7,-54 L9,-45 L-9,-45 Z",fill:"#A6A6A6"}),(0,r.jsx)("path",{d:"M-32,-42 C-15,-46 15,-46 32,-42 C38,-20 35,25 30,30 C15,28 -15,28 -30,30 C-35,25 -38,-20 -32,-42 Z",fill:"url(#jerseyGrad)",stroke:"#555555","stroke-width":"1"}),(0,r.jsx)("path",{d:"M-32,-42 L-48,-25 C-50,-10 -40,-5 -35,-15 L-30,-25 Z",fill:"url(#jerseyGrad)"}),(0,r.jsx)("path",{d:"M32,-42 L48,-25 C40,-10 40,-5 35,-15 L30,-25 Z",fill:"url(#jerseyGrad)"}),(0,r.jsx)("path",{d:"M-30,28 L30,28 L28,65 L5,65 L0,40 L-5,65 L-28,65 Z",fill:"url(#shortsGrad)"}),(0,r.jsx)("rect",{x:"-22",y:"65",width:"12",height:"50",fill:"url(#skinGrad)",rx:"4"}),(0,r.jsx)("rect",{x:"10",y:"65",width:"12",height:"50",fill:"url(#skinGrad)",rx:"4"}),(0,r.jsx)("path",{d:"M-24,115 L-8,115 L-6,122 L-26,122 Z",fill:"#4D4D4D"}),(0,r.jsx)("path",{d:"M6,115 L22,115 L24,122 L4,122 Z",fill:"#4D4D4D"})]}),(0,r.jsxs)("g",{id:"playerCrouch",children:[(0,r.jsx)("path",{d:"M-14,-55 C-14,-72 14,-72 14,-55 C14,-40 11,-33 0,-33 C-11,-33 -14,-40 -14,-55 Z",fill:"url(#skinGrad)",stroke:"#737373","stroke-width":"1"}),(0,r.jsx)("path",{d:"M-34,-22 C-15,-26 15,-26 34,-22 C36,5 32,45 26,50 C15,48 -15,48 -26,50 C-32,45 -36,5 -34,-22 Z",fill:"url(#jerseyGrad)",stroke:"#555555","stroke-width":"1"}),(0,r.jsx)("path",{d:"M-34,-22 L-46,15 L-25,45 L-18,35 L-30,5 Z",fill:"url(#jerseyGrad)"}),(0,r.jsx)("path",{d:"M34,-22 L46,15 L25,45 L18,35 L30,5 Z",fill:"url(#jerseyGrad)"}),(0,r.jsx)("path",{d:"M-26,48 L26,48 L45,85 L30,95 L0,65 L-30,95 L-45,85 Z",fill:"url(#shortsGrad)"}),(0,r.jsx)("path",{d:"M-45,85 L-40,115 L-25,115 L-30,90 Z",fill:"url(#skinGrad)"}),(0,r.jsx)("path",{d:"M45,85 L40,115 L25,115 L30,90 Z",fill:"url(#skinGrad)"}),(0,r.jsx)("path",{d:"M-43,115 L-23,115 L-21,122 L-45,122 Z",fill:"#333333"}),(0,r.jsx)("path",{d:"M23,115 L43,115 L45,122 L21,122 Z",fill:"#333333"})]})]}),(0,r.jsx)("rect",{width:"800",height:"500",rx:"12",fill:"url(#bgGrad)"}
1),(0,r.jsx)("path",{d:"M0,320 L800,320 M0,325 L800,480 M400,320 L400,500",stroke:"#FFFFFF","stroke-width":"1.5",opacity:"0.4"}),(0,r.jsx)("path",{d:"M0,260 Q400,290 800,260",stroke:"#B3B3B3","stroke-width":"3",fill:"none",opacity:"0.5"}),(0,r.jsxs)("g",{filter:"url(#shadow)",children:[(0,r.jsx)("use",{href:"#playerStand",x:"110",y:"220"}),(0,r.jsx)("use",{href:"#playerStand",x:"225",y:"215"}),(0,r.jsx)("use",{href:"#playerStand",x:"340",y:"210"}),(0,r.jsx)("use",{href:"#playerStand",x:"455",y:"210"}),(0,r.jsx)("use",{href:"#playerStand",x:"570",y:"215"}),(0,r.jsx)("use",{href:"#playerStand",x:"685",y:"220"})]}),(0,r.jsxs)("g",{filter:"url(#shadow)",children:[(0,r.jsxs)("g",{transform:"translate(160, 335)",children:[(0,r.jsx)("use",{href:"#playerCrouch",x:"0",y:"0"}),(0,r.jsx)("circle",{cx:"-23",cy:"45",r:"8",fill:"#FFFFFF",stroke:"#999999","stroke-width":"1"}),(0,r.jsx)("circle",{cx:"23",cy:"45",r:"8",fill:"#FFFFFF",stroke:"#999999","stroke-width":"1"})]}),(0,r.jsx)("use",{href:"#playerCrouch",x:"275",y:"330"}),(0,r.jsx)("use",{href:"#playerCrouch",x:"395",y:"325"}),(0,r.jsx)("use",{href:"#playerCrouch",x:"515",y:"330"}),(0,r.jsx)("use",{href:"#playerCrouch",x:"630",y:"335"})]})]})]})}function h(e){var s,t;let{data:h,basePath:m,homeHref:c}=e,u="datafactory"===h.source,x=!u,[p,f]=(0,l.useState)(x?"loading":"error"),b=u?[h.tournament.name,h.tournament.year].filter(
1Boolean).join(" "):[h.tournament.categoryName,h.tournament.divisionName,h.tournament.name,h.tournament.year].filter(Boolean).join(" \xb7 ");return(0,l.useEffect)(()=>{f(x?"loading":"error")},[x,h.team.id,h.tournament.id,h.tournament.categoryId,h.tournament.organizationId]),(0,r.jsx)("main",{className:"min-h-[100dvh] bg-slate-50 px-3 pb-24 pt-3 sm:px-4",children:(0,r.jsxs)("div",{className:"mx-auto w-full max-w-5xl",children:[(0,r.jsxs)("div",{className:"mx-auto w-full max-w-[30rem]",children:[(0,r.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,r.jsxs)("div",{className:"relative p-4 sm:p-5",children:[(0,r.jsx)("div",{className:"absolute right-[-44px] top-[-44px] h-32 w-32 rounded-full bg-purple-300/30 blur-2xl"}),(0,r.jsx)("div",{className:"absolute bottom-[-56px] left-[-56px] h-36 w-36 rounded-full bg-fuchsia-300/20 blur-2xl"}),(0,r.jsxs)("div",{className:"relative flex items-center gap-4",children:[(0,r.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,r.jsx)(i.default,{teamId:h.team.id,fallbackId:"default2",alt:"".concat(h.team.name," Logo"),width:96,height:96,className:"h-full w-full rounded-2xl object-contain"})}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("h1",{className:"truncate text-2xl font-black tracking-tight text-slate-950",children:h.team.name}),(0,r.jsx)("p",{className:"mt-1 text-sm font-semibold leading-snug text-slate-600",children:b}),(0,r.jsx)("p",{className:"mt-2 text-xs font-bold text-purple-700",children:h.tournament.organizationName})]})]})]})}),(0,r.jsx)(a.default,{basePath:m,homeHref:c,activeSection:"team-photo"})]}),(0,r.jsxs)("section",{className:"mt-5",children:[(0,r.jsxs)("div",{className:"mb-3 flex items-end justify-between gap-3 px-1",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-xl font-black tracking-tight text-slate-950 sm:text-2xl",children:"Foto del plantel"}),(0,r.jsx)("p",{className:"mt-0.5 text-sm font-semibold text-slate-500",children:"Imagen oficial del equipo"})]}),(0,r.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-2xl bg-purple-100 text-purple-700 ring-1 ring-purple-200",children:(0,r.jsx)(o.Z,{size:21,stroke:2.2})})]}),(0,r.jsxs)("article",{className:"overflow-hidden rounded-[1.8rem] border border-purple-200 bg-white shadow-sm sm:rounded-[2.2rem]",children:[(0,r.jsxs)("div",{className:"relative aspect-[16/10] w-full overflow-hidden bg-slate-100 sm:aspect-video",children:[(0,r.jsx)(d,{teamName:h.team.name}),x&&"error"!==p&&(0,r.jsx)("div",{onLoadCapture:e=>{e.target instanceof HTMLImageElement&&f("loaded")},onErrorCapture:e=>{e.target instanceof HTMLImageElement&&f("error")},className:["absolute inset-0 z-10","flex items-center justify-center","p-2 sm:p-4 lg:p-5","transition-opacity duration-500","[&>*]:!h-full","[&>*]:!w-full","[&>*]:!max-w-none","[&_img]:!mx-auto","[&_img]:!block","[&_img]:!h-full","[&_img]:!w-full","[&_img]:!max-h-none","[&_img]:!max-w-none","[&_img]:!object-contain","[&_img]:!object-center","loaded"===p?"opacity-100":"pointer-events-none opacity-0"].join(" "),children:(0,r.jsx)(n.$7,{teamId:h.team.id||"noteam",categoryId:String(null!==(s=h.tournament.categoryId)&&void 0!==s?s:"0"),teamName:h.team.name,tournamentId:h.tournament.id,organizationId:null!==(t=h.tournament.organizationId)&&void 0!==t?t:"noteam"})},[h.team.id,h.tournament.id,h.tournament.categoryId].join("-")),(0,r.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-20 h-20 bg-gradient-to-b from-black/10 to-transparent"}),(0,r.jsxs)("div",{className:"pointer-events-none absolute left-3 top-3 z-30 inline-flex items-center gap-1.5 rounded-full border border-white/60 bg-white/80 px-3 py-1.5 text-xs font-black text-purple-800 shadow-sm backdrop-blur-md sm:left-4 sm:top-4",children:[(0,r.jsx)(o.Z,{size:15,stroke:2.3}),"Plantel"]})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-1 border-t border-purple-100 bg-gradient-to-r from-white to-purple-50/50 px-4 py-3.5 sm:flex-row sm:items-center sm:justify-between sm:px-5 sm:py-4",children:[(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("p",{className:"truncate text-sm font-black text-slate-950 sm:text-base",children:h.team.name}),(0,r.jsx)("p",{className:"mt-0.5 line-clamp-1 text-xs font-semibold text-slate-500 sm:text-sm",children:b})]}),(0,r.jsx)("span",{className:"mt-1 shrink-0 text-xs font-bold uppercase tracking-wide text-purple-700 sm:mt-0",children:"Foto del equipo"})]})]})]})]})})}},60061:function(e,s,t){"use strict";t.d(s,{default:function(){return c}});var r=t(57437),l=t(87138),o=t(8924),i=t(22579),n=t(38429),a=t(16129),d=t(35024),h=t(4761),m=t(74369);function c(e){let{basePath:s,homeHref:t,activeSection:c}=e,u=[{key:"shield",label:"Escudo",href:t,icon:o.Z,enabled:!0},{key:"team-photo",label:"Foto del plantel",href:"".concat(s,"/team-squad-photo"),icon:i.Z,enabled:!0},{key:"players",label:"Jugadores",href:"".concat(s,"/team-players"),icon:n.Z,enabled:!0},{key:"scorers",label:"Goleadores",href:"".concat(s,"/team-scorers"),icon:a.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:h.Z,enabled:!0},{key:"statistics",label:"Estad\xedsticas",href:"".concat(s,"/team-stats"),icon:m.Z,enabled:!0}];return(0,r.jsx)("nav",{className:"mt-3 rounded-2xl border border-purple-200 bg-white p-1 shadow-sm","aria-label":"Secciones del equipo",children:(0,r.jsx)("div",{className:"grid grid-cols-7 gap-0",children:u.map(e=>{let s=e.icon,t=e.key===c,o=["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(" "),i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s,{size:22,stroke:t?2.4:2,"aria-hidden":"true"}),t&&(0,r.jsx)("span",{className:"absolute -bottom-1 h-1 w-4 roun
1ded-full bg-purple-300"}),(0,r.jsx)("span",{className:"sr-only",children:e.label})]});return e.enabled?(0,r.jsx)(l.default,{href:e.href,className:o,"aria-label":e.label,"aria-current":t?"page":void 0,title:e.label,children:i},e.key):(0,r.jsx)("div",{className:o,"aria-label":"".concat(e.label,", pr\xf3ximamente"),title:"".concat(e.label," \xb7 Pr\xf3ximamente"),children:i},e.key)})})})}},22579:function(e,s,t){"use strict";t.d(s,{Z:function(){return r}});let r=(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 r}});let r=(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"}]])},35024:function(e,s,t){"use strict";t.d(s,{Z:function(){return r}});let r=(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 r}});let r=(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"}]])},38429:function(e,s,t){"use strict";t.d(s,{Z:function(){return r}});let r=(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,7120,3422,9141,6572,2971,7023,1744],function(){return e(e.s=23309)}),_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.