1import{h as _,bX as i,bl as o,bm as a,bw as e,bB as d,bn as l,bJ as f,bE as r,c3 as h,bz as p,bA as x}from"./vueQueryPlugin-48e7c559.js";import b from"./HeroLeagueDetail-ec245f71.js";import{_ as v}from"./TeamStandings.vue_vue_type_script_setup_true_lang-5c92abac.js";import{_ as w}from"./_plugin-vue_export-helper-c27b6911.js";import"./TournamentRow-39dc5e85.js";import"./MatchRow.vue_vue_type_script_setup_true_lang-2c2a320c.js";import"./index.m-2f31371b.js";import"./SpinnerNew-2ce84266.js";import"./TournamentTableStore-ed73adcd.js";import"./TournamentRecalculateTable.vue_vue_type_script_setup_true_lang-b4d93d47.js";const y={props:{league:Object,isLoading:Boolean,showDescription:Boolean,leagueImage:{type:String,default:""}},components:{Button:_,HeroLeagueDetail:b,TeamStandings:v}},k={class:"w-full mx-auto px-4 py-8"},B={key:0,class:"py-10 flex flex-col items-center justify-center text-bgcsa"},L={key:1},C={key:0},D={class:"text-xl text-bgcsa text-center font-bold mb-4"},T={key:0,class:"relative mx-auto max-w-prose"}
1,j=["innerHTML"],H={class:"grid md:grid-cols-4 gap-5"},N={class:"md:col-span-2 flex flex-col gap-6"},S={class:"bg-gray-50 rounded-lg shadow-md p-4"},V={class:"flex flex-col gap-4"},z={class:"w-16 h-16 overflow-hidden rounded-full"},E=["src"],I=["href"],M={key:0,class:"rounded-md overflow-hidden"},O=["src"],P={class:"md:col-span-2"};function A(c,t,s,F,J,U){const m=i("Button"),u=i("HeroLeagueDetail"),g=i("TeamStandings");return o(),a("div",k,[s.isLoading?(o(),a("div",B,[...t[1]||(t[1]=[e("svg",{class:"animate-spin h-8 w-8 mb-4 text-bgcsa",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),e("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})],-1),e("p",{class:"text-lg font-semibold"},"NaÄÃtánà dat...",-1)])])):(o(),a("div",L,[s.league?(o(),a("div",C,[e("h2",D,d(s.league.name),1),t[2]||(t[2]=e("h3",null,"Zápasy",-1)),l(h,{name:"fade-slide"},{default:f(()=>[s.showDescription?(o(),a("div",T,[l(m,{icon:"fa-solid fa-xmark",class:"absolute -top-2 -right-2 text-xs",severity:"danger",rounded:"",text:"",onClick:t[0]||(t[0]=n=>c.$emit("close-description"))}),e("div",{innerHTML:s.league.description,class:"prose text-bgcsa leagueDescription text-center pb-6"},null,8,j)])):r("",!0)]),_:1})])):r("",!0),l(u,{league:s.league},null,8,["league"]),e("div",H,[e("div",N,[e("div",S,[t[3]||(t[3]=e("h3",{class:"text-bgcsa text-xl font-bold mb-4"},"Nejlepšà hráÄi",-1)),e("div",V,[(o(!0),a(p,null,x(c.bestPlayers,n=>(o(),a("div",{key:n.id,class:"flex items-center gap-4"},[e("div",z,[e("img",{src:n.photoUrl||"https://placehold.co/128x128?text=Player",alt:"Obrázek hráÄe",class:"w-full h-full object-cover shadow"},null,8,E)]),e("a",{href:`/hrac/${n.id}`,class:"text-bgcsa font-medium hover:underline"},d(n.name),9,I)]))),128))])]),s.leagueImage?(o(),a("div",M,[e("img",{src:s.leagueImage,alt:"League",class:"w-full object-cover rounded-md"},null,8,O)])):r("",!0)]),e("div",P,[l(g)])])]))])}const ee=w(y,[["render",A]]);export{ee as default};
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.