import{_ as h}from"./FootballMixin.js";import{C as u}from"./CommandLogo.js";/* empty css       */import{_ as d}from"./star.js";import{r as g,o as a,c,a as o,b as i,t as e,F as l,i as _,f as r,_ as v}from"./index.js";const y={class:"match-info-container"},f={class:"match-info"},k={class:"commands commands--with-clock"},L={class:"command"},T={class:"command__logo"},N={class:"command__name"},P=o("div",{class:"clock"},[o("div",{class:"clock__icon"}),o("div",{class:"clock__time1"},"10:00"),o("div",{class:"clock__time2"},"25:00")],-1),B={class:"command command--reverse"},w={class:"command__logo"},C={class:"command__name"},b={class:"player-containers"},x={class:"player-container"},E=o("div",{class:"container-header"},[o("span",null,"Номер"),o("span",null,"Имя"),o("span",null,"Позиция")],-1),M={class:"player-row"},V={class:"num"},z={class:"name"},A={class:"pos"},D={key:0,class:"cap",src:d},F={class:"player-container"},H=o("div",{class:"container-header container-header_reverse"},[o("span",null,"Позиция"),o("span",null,"Имя"),o("span",null,"Номер")],-1),I={class:"player-row player-row_reverse"},O={class:"pos"},R={class:"name"},G={key:0,class:"cap",src:d},S={class:"num"};function W(m,j,q,J,s,K){const t=g("command-logo");return a(),c("div",y,[o("div",f,[o("div",k,[o("div",L,[o("div",T,[i(t,{size:95,colorBackground:s.logotypes[0][0],colorLogo:s.logotypes[0][1],typeLogo:s.logotypes[0][2]},null,8,["colorBackground","colorLogo","typeLogo"])]),o("div",N,e(s.nameTeam_2),1)]),P,o("div",B,[o("div",w,[i(t,{size:95,colorBackground:s.logotypes[1][0],colorLogo:s.logotypes[1][1],typeLogo:s.logotypes[1][2]},null,8,["colorBackground","colorLogo","typeLogo"])]),o("div",C,e(s.nameTeam_1),1)])]),o("div",b,[o("div",x,[E,(a(!0),c(l,null,_(s.command1,(n,p)=>(a(),c("div",M,[o("div",V,e(n.num),1),o("div",z,e(n.name),1),o("div",A,e(m.getPositionName(n.pos,!0)),1),n.captain?(a(),c("img",D)):r("",!0)]))),256))]),o("div",F,[H,(a(!0),c(l,null,_(s.command2,(n,p)=>(a(),c("div",I,[o("div",O,e(m.getPositionName(n.pos,!0)),1),o("div",R,e(n.name),1),n.captain?(a(),c("img",G)):r("",!0),o("div",S,e(n.num),1)]))),256))])])])])}const Z={mixins:[h],props:["openParams"],components:{CommandLogo:u},data(){return{command1:[{name:"Zachariah Dawson",pos:2,num:55},{name:"Ewan Riley",pos:3,num:83},{name:"Orion Thompson",pos:4,num:11},{name:"Alexander Gordon",pos:1,captain:0,num:1},{name:"Marcel Cook",pos:5,num:72},{name:"Lila Hayes",pos:6,num:99},{name:"Marley Nicholson",pos:7,num:33}],command2:[{name:"Matilda Butler",pos:6,num:23},{name:"Annabel Williamson",pos:5,num:30},{name:"Elisa Cooke",pos:2,captain:7,num:81},{name:"Lila Hayes",pos:4,num:65},{name:"Marley Nicholson",pos:2,num:32},{name:"Ewan Riley",pos:3,num:83},{name:"Orion Thompson",pos:1,num:11}],nameTeam_1:"NameTeam1",nameTeam_2:"NameTeam2",logotypes:[["b74e4e","000000",3],["249dd6","dddddd",4]]}},created(){this.openParams&&(this.command1=this.openParams.command1,this.command2=this.openParams.command2,this.nameTeam_1=this.openParams.nameTeam_1,this.nameTeam_2=this.openParams.nameTeam_2,this.logotypes=this.openParams.logotypes)}},oo=v(Z,[["render",W]]);export{oo as default};
