1System.register(["./index-legacy-BtJkYB7P.js","./roundrobin_quicktournaments-legacy-B3SGyaTN.js","./customBottomSheet-legacy-lg-DhgI9.js","./drawerIcon-legacy-BXXlzKEg.js","./products.vue_vue_type_style_index_0_scoped_de38f1da_lang-legacy-CuNe1bFx.js","./sitePlayerSubscriptions.vue_vue_type_style_index_0_scoped_bc69eedf_lang-legacy-DZFcjG5i.js","./setVenueTvLanes-legacy-o20gOrL9.js"],function(e,t){"use strict";var a,l,s,i,o,r,n,d,c,u,h,p,m,y,g,v,f,b,S,k,w,P,_,$,T,D,C,L,x,E,V,R,G,W,A,M,N,I,B;return{setters:[e=>{a=e._,l=e.ak,s=e.B,i=e.e,o=e.f,r=e.C,n=e.n,d=e.x,c=e.q,u=e.r,h=e.y,p=e.aa,m=e.z,y=e.t,g=e.m,v=e.a7,f=e.F,b=e.v,S=e.ab,k=e.Q,w=e.R,P=e.S,_=e.M,$=e.N,T=e.U,D=e.E,C=e.ac,L=e.V,x=e.u,E=e.Y,V=e.k,R=e.X,G=e.P,W=e.g,A=e.$},e=>{M=e.m,N=e.r},e=>{I=e.C},e=>{B=e.D},null,null,null],execute:function(){var j=document.createElement("style");j.textContent=".important[data-v-fe85fb8b]{color:#f01653}.msg[data-v-fe85fb8b]{color:#2f27d4}.watl .v-dialog .v-list .v-list-item-subtitle[data-v-fe85fb8b],.watl .v-dialog .v-list .v-list-item-title[data-v-fe85fb8b],.watl .v-dialog .v-card-text[data-v-fe85fb8b],.watl .v-dialog .v-list-item-action[data-v-fe85fb8b],.watl .v-dialog .v-label[data-v-fe85fb8b]{color:var(--theme-primary-text)}.watl .v-dialog.dark .v-list .v-list-item-subtitle[data-v-fe85fb8b],.watl .v-dialog.dark .v-list .v-list-item-title[data-v-fe85fb8b],.watl .v-dialog.dark .v-card-text[data-v-fe85fb8b],.watl .v-dialog.dark .v-list-item-action[data-v-fe85fb8b],.watl .v-dialog.dark .v-label[data-v-fe85fb8b]{color:#fff}.alias[data-v-fe85fb8b]{font-weight:900}.v-menu .v-overlay__content .menu-bg[data-v-fe85fb8b]{background-color:var(--theme-alt);color:var(--theme-alt-text)}.menu-bg .selected[data-v-fe85fb8b]{background:#072165}.menu-bg.v-list .v-list-item-title[data-v-fe85fb8b]{color:#fff}.v-btn i[data-v-fe85fb8b]{font-size:24px}.moreOptions[data-v-fe85fb8b]{display:flex;align-items:center}\n/*$vite$:1*/",document.head.appendChild(j);const U=s(()=>G(()=>t.import("./bottomSheet-legacy-hcdTehOB.js"),void 0)),H=s(()=>G(()=>t.import("./includeQuickPlayer-legacy-CT7kzIp5.js"),void 0)),O={key:0,class:"moreOptions"},F={key:0},Q={key:1},Y={key:2},q={class:"overflow-hiden"},z={key:0,class:"empty-page"},K=["src"];e("default",a({name:"hostsQuickGroupGames",props:{locationSlug:String,leagueID:String},mixins:[N],components:{DrawerIcon:B,CustomBottomSheet:I,includeQuickPlayer:H,matchups:M,bottomSheet:U,PlayersStatistic:l},data:()=>({teamsDialog:!1,nowShowing:{range:"Season",type:"Players"},showDropdown:[{range:"Current Week",type:"Players"},{range:"Season",type:"Players"},{range:"Season",type:"Teams"},{range:"Season",type:"Big Axe"}],loading:!1,showBottomSheet:!1,showPlayoffSetup:!1,selected:[],teamSelect:[],teamSelected:"",playerStandings:{show:!1,player:{},currentTeam:""},matchup:{dialog:!1,player1:"",player2:"",court:"",confirmed:!1},matchupDoubles:{dialog:!1,player1:"",player2:"",player3:"",player4:"",court:"",confirmed:!1},removePlayerDialog:{show:!1,selectedPlayers:[],loading:!1},singlePlayerClicked:!1,dialogCheckIn:!1,selectedSeason:"",selectedWeek:"",autoGamesSchedule:{},weekList:[],schedule:{},standings:[],standingsTeam:[],activeTab:0,playoffsActiveTab:"none",weekPlayers:[],weekGames:[],tooltipVisible:!1,seasonYears:{Season1:2019,Season2:2020,Season3:2021,Season4:2022,Season5:2023,Season6:2024,Season7:2025,Season8:2026},rules:"watl",noTeamSelected:!0,listView:"Default view"}),setup:()=>({venueStore:x(),eventStore:E(),generalStore:V(),seasonStore:R()}),computed:{getSelectedEventRef(){return`/venues/${this.venueStore.venue.locationSlug}/event-list/group-events/${this.eventStore.selectedEvent[".key"]}`}},watch:{standings:{handler(e){e&&e.forEach(e=>{e&&(e.name=e.first,e.perpts=e.gp>0?(e.pts/(2*e.gp)*100).toFixed(0):0,e.sumpgames=(e.ugame||0)+(e.ngame||0)+(e.sgame||0),e.sumpmatch=(e.umatch||0)+(e.nmatch||0)+(e.smatch||0),e.pergames=e.gp>0?Number(((e.ugame+e.ngame+e.sgame)/e.gp*100).toFixed(0)):0,e.perpmatch=e.gp>0?Number(((e.umatch+e.nmatch+e.smatch)/e.gp*100).toFixed(0)):0,e.perclutch=e.gp>0?Number((e.clutch/(3*e.gp)*100).toFixed(0)):0)})},deep:!0}},methods:{openLink(e){window.open(e,"_blank")},changeView(e){S.set("listView",e),this.listView=e},createGame(e){this.loading=!0;const t=this.getSelectedEventRef;L(_(`${t}/game-list`),{player1:{playerid:this.matchup.player1.id,first:this.matchup.player1.first,alias:this.matchup.player1.alias,team:void 0!==this.matchup.player1.team?this.matchup.player1.team:"No Team"},player2:{playerid:this.matchup.player2.id,first:this.matchup.player2.first,alias:this.matchup.player2.alias,team:void 0!==this.matchup.player2.team?this.matchup.player2.team:"No Team"},arena:1,status:e}).then(e=>{D(_(`${t}/game-data/${e.key}`),{player1:{playerid:this.matchup.player1.id,first:this.matchup.player1.first,alias:this.matchup.player1.alias,team:void 0!==this.matchup.player1.team?this.matchup.player1.team:"No Team"},player2:{playerid:this.matchup.player2.id,first:this.matchup.player2.first,alias:this.matchup.player2.alias,team:void 0!==this.matchup.player2.team?this.matchup.player2.team:"No Team"},round:1,round1:{player1:{sum:0},player2:{sum:0}},round2:{player1:{sum:0},player2:{sum:0}},round3:{player1:{sum:0},player2:{sum:0}},round4:{player1:{sum:0},player2:{sum:0}},round5:{player1:{sum:0},player2:{sum:0}},round6:{player1:{sum:0},player2:{sum:0}},throws:{player1:{sum:0},player2:{sum:0}}}).then(()=>{this.addGameToSchedule(this.matchup,1),this.closeMatchupDialog(),this.activeTab=1})})},addGameToSchedule(e,t){let a=0;void 0!==this.schedule[e.player1.id]&&void 0!==this.schedule[e.player1.id][e.player2.id]?a=this.schedule[e.player1.id][e.player2.id]+=t:a+=t;const l=this.getSelectedEventRef;D(_(`${l}/schedule/${e.player1.id}`),{[e.player2.id]:a});let s=0;void 0!==this.schedule[e.player2.id]&&void 0!==this.schedule[e.player2.id][e.player1.id]?s=this.schedule[e.player2.id][e.player1.id]+=t:s+=t,D(_(`${l}/schedule/${e.player2.id}`),{[e.player1.id]:s})},createSingleGame(e){const t=this.getSelectedEventRef;L(_(`${t}/game-list`),{player1:{playerid:this.matchup.player1.id,first:this.matchup.player1.first,last:void 0!==this.matchup.player1.last?this.matchup.player1.last:null,alias:this.matchup.player1.alias,pic:void 0!==this.matchup.player1.pic?this.matchup.player1.pic:null,team
1:void 0!==this.matchup.player1.team?this.matchup.player1.team:null},arena:1,status:e}).then(e=>{D(_(`${t}/game-data/${e.key}`),{player1:{playerid:this.matchup.player1.id,first:this.matchup.player1.first,last:void 0!==this.matchup.player1.last?this.matchup.player1.last:null,alias:void 0!==this.matchup.player1.alias?this.matchup.player1.alias:null,pic:void 0!==this.matchup.player1.pic?this.matchup.player1.pic:null,team:void 0!==this.matchup.player1.team?this.matchup.player1.team:null},round:1,round1:{player1:{sum:0}},round2:{player1:{sum:0}},round3:{player1:{sum:0}},round4:{player1:{sum:0}},round5:{player1:{sum:0}},round6:{player1:{sum:0}},round7:{player1:{sum:0}},round8:{player1:{sum:0}},throws:{player1:{sum:0}}}).then(()=>{this.activeTab=1,this.closeMatchupDialog()})})},closeMatchupDialog(){this.loading=!1,this.matchup={dialog:!1,player1:"",player2:""},this.selected=[]},getStandingsQuickTournaments(){if(!this.$el)return;const e=this.getSelectedEventRef;e&&this.$databaseBind("standings",_(`${e}/standings`)).then(()=>
1{this.$el&&this.standings&&this.standings.forEach(e=>{e.name=e.first,e.perpts=e.gp>0?(e.pts/(2*e.gp)*100).toFixed(0):0,e.sumpgames=(e.ugame||0)+(e.ngame||0)+(e.sgame||0),e.sumpmatch=(e.umatch||0)+(e.nmatch||0)+(e.smatch||0),e.perpgames=e.gp>0?Number(((e.ugame+e.ngame+e.sgame)/e.gp*100).toFixed(0)):0,e.perpmatch=e.gp>0?Number((e.clutch/(3*e.gp)*100).toFixed(0)):0,e.perclutch=Number((e.clutch/(3*e.gp)*100).toFixed(0))})})},getPlayers(){const e=this.getSelectedEventRef;this.$databaseBind("weekPlayers",k(_(`${e}/players`),C()))},getGames(){const e=this.getSelectedEventRef;this.$databaseBind("weekGames",_(`${e}/game-list`))},getSchedule(){const e=this.getSelectedEventRef;this.$databaseBind("schedule",_(`${e}/schedule`)).then(e=>{e||(this.schedule={})})},playerMenu(e){let t={logo:null,name:"No Team"};void 0!==e.name&&void 0!==e.name||(this.playerStandings.player=e,this.playerStandings.player.currentTeam=void 0!==this.playerStandings.player.team?this.playerStandings.player.team:t,this.playerStandings.show=!0)},playerSelected(e){if(this.singlePlayerClicked)return this.singlePlayerClicked=!1,!1;""===this.matchup.player1?(this.matchup.player1=e,this.selected.push(e.id)):""===this.matchup.player2&&this.matchup.player1.id!==e.id?(this.matchup.player2=e,this.selected.push(e.id),this.matchup.dialog=!0):this.closeMatchupDialog()},isLeague(){if(void 0!==this.selectedWeek&&void 0!==this.selectedWeek.name)return this.selectedWeek.name.startsWith("Week")},addPlayers(){this.generalStore.dialogAddPlayer=!0},openRemovePlayerDialog(){this.removePlayerDialog.show=!0,this.removePlayerDialog.selectedPlayers=[]},closeRemovePlayerDialog(){this.removePlayerDialog.show=!1,this.removePlayerDialog.selectedPlayers=[],this.removePlayerDialog.loading=!1},togglePlayerSelection(e){const t=this.removePlayerDialog.selectedPlayers.findIndex(t=>t.id===e.id);t>-1?this.removePlayerDialog.selectedPlayers.splice(t,1):this.removePlayerDialog.selectedPlayers.push(e)},isPlayerSelected(e){return this.removePlayerDialog.selectedPlayers.some(t=>t.id===e.id)},getPlayerMatchInfo(e){let t=0,a=0;return this.weekGames.forEach(l=>{const s=l.player1?.playerid===e.id,i=l.player2?.playerid===e.id;(s||i)&&("Now Playing"===l.status||"Completed"===l.status?t++:"On Standby"===l.status&&a++)}),{started:t,unscheduled:a}},async confirmRemovePlayers(){if(0!==this.removePlayerDialog.selectedPlayers.length){this.removePlayerDialog.loading=!0;try{const e=this.getSelectedEventRef;for(const t of this.removePlayerDialog.selectedPlayers){const a=this.weekGames.filter(e=>{const a=e.player1?.playerid===t.id,l=e.player2?.playerid===t.id;return(a||l)&&"On Standby"===e.status});for(const l of a)if(await T(_(`${e}/game-list/${l.id}`)),await T(_(`${e}/game-data/${l.id}`)),l.player2){const a=l.player1.playerid===t.id?l.player2.playerid:l.player1.playerid,s=t.id;if(this.schedule[a]&&this.schedule[a][s]){const t=this.schedule[a][s];t>1?await D(_(`${e}/schedule/${a}`),{[s]:t-1}):await T(_(`${e}/schedule/${a}/${s}`))}}await T(_(`${e}/standings/${t.id}`)),await T(_(`${e}/players/${t.id}`)),await T(_(`${e}/schedule/${t.id}`));for(const l of this.weekPlayers)l.id!==t.id&&await T(_(`${e}/schedule/${l.id}/${t.id}`))}this.closeRemovePlayerDialog()}catch(e){console.error("Error removing players:",e),alert("An error occurred while removing players. Please try again."),this.removePlayerDialog.loading=!1}}},initAtLoading(){this.$el&&(this.getStandingsQuickTournaments(),this.getPlayers(),this.getSchedule(),this.getGames(),this.activeTab=0,this.selectedWeek={".key":"Week1",name:"Week1",type:"Round Robin",completed:!1})}},mounted(){if(this.listView=S.get("listView"),this.listView||(this.listView="Default view"),this.eventStore.selectedEvent&&this.eventStore.selectedEvent[".key"])this.selectedSeason=this.eventStore.selectedEvent.currentSeason||this.seasonStore.hostSeason,this.selectedWeek=this.eventStore.selectedEvent.currentWeek,this.initAtLoading();else{const e=k(_(`/venues/${this.$route.params.locationSlug}/event-list/group-events`),P("slug"),w(this.$route.params.leagueID));$(e,e=>{if(this.$el)if(e.exists()){let t=e.val();this.eventStore.selectedEvent={".key":Object.keys(t)[0],...t[Object.keys(t)[0]]},this.selectedWeek=this.eventStore.selectedEvent.currentWeek,this.initAtLoading()}else this.$router.push("/hosts/"+this.locationSlug+"/league/")},{onlyOnce:!0})}},beforeUnmount(){this.$firebaseRefs&&Object.keys(this.$firebaseRefs).forEac
1h(e=>{this.$unbind(e)})}},[["render",function(e,t,a,l,s,S){const k=u("drawer-icon"),w=u("v-spacer"),P=u("v-icon"),_=u("v-btn"),$=u("v-list-item-title"),T=u("v-list-item"),D=u("v-list"),C=u("v-menu"),L=u("v-tooltip"),x=u("v-app-bar"),E=u("v-tab"),V=u("v-tabs"),R=u("v-col"),G=u("v-row"),M=u("players-statistic"),N=u("v-card-text"),I=u("matchups"),B=u("v-layout"),j=u("includeQuickPlayer"),U=u("v-dialog"),H=u("v-divider"),X=u("v-list-item-subtitle"),J=u("v-card"),Z=u("bottomSheet"),ee=u("CustomBottomSheet"),te=u("v-card-title"),ae=u("v-checkbox"),le=u("v-alert"),se=u("v-card-actions");return W(),i("div",null,[o(x,{height:"70",elevation:"0"},{default:n(()=>[o(k),t[19]||(t[19]=d()),o(w),e.$vuetify.display.mdAndUp?(W(),i("div",O,[o(C,{class:"offset-y"},{activator:n(({props:e})=>[o(_,p({variant:"outlined"},e,{color:"primary",class:"hidden-md-and-down"}),{default:n(()=>[d(m(s.listView)+" ",1),o(P,{location:"right"},{default:n(()=>[...t[14]||(t[14]=[d("mdi-menu-down",-1)])]),_:1})]),_:1},16)]),default:n(()=>[o(D,{class:"uppercase menu-bg"},{default:n(()=>[o(T,{onClick:t[0]||(t[0]=e=>S.changeView("Default view")),class:h({selected:"Default view"===s.listView})},{default:n(()=>[o($,null,{default:n(()=>[...t[15]||(t[15]=[d("Default view",-1)])]),_:1})]),_:1},8,["class"]),o(T,{onClick:t[1]||(t[1]=e=>S.changeView("List view")),class:h({selected:"List view"===s.listView})},{default:n(()=>[o($,null,{default:n(()=>[...t[16]||(t[16]=[d("List view",-1)])]),_:1})]),_:1},8,["class"])]),_:1})]),_:1}),o(L,{location:"bottom"},{activator:n(({props:a})=>[o(_,p({border:""},a,{color:"light",class:"icon",variant:e.$vuetify.display.mdAndUp?"flat":"elevated",onClick:t[2]||(t[2]=e=>s.showBottomSheet=!0)}),{default:n(()=>[...t[17]||(t[17]=[y("i",{class:"icon-settings"},null,-1)])]),_:1},16,["variant"])]),default:n(()=>[t[18]||(t[18]=y("span",null,"Settings",-1))]),_:1})])):c("",!0)]),_:1}),o(G,{class:"align-center mb-3"},{default:n(()=>[o(V,{"bg-color":"transparent","slider-color":"primary",modelValue:s.activeTab,"onUpdate:modelValue":t[3]||(t[3]=e=>s.activeTab=e),height:"64"},{default:n(()=>[o(E,null,{default:n(()=>[...t[20]||(t[20]=[d("Standings",-1)])]),_:1}),o(E,{disabled:0===s.standings.length},{default:n(()=>[...t[21]||(t[21]=[d("Games",-1)])]),_:1},8,["disabled"])]),_:1},8,["modelValue"]),o(R,{cols:"5",class:"msg pl-2"},{default:n(()=>[0===s.activeTab&&s.standings.length>0&&0===s.weekPlayers.length?(W(),i("div",F,[...t[22]||(t[22]=[y("strong",{class:"important"},"Click on each player's name to create & assign to a team.",-1)])])):c("",!0),0===s.activeTab&&"League"===l.eventStore.selectedEventType&&0===s.standings.length?(W(),i("div",Q,[...t[23]||(t[23]=[y("strong",null,'Please add players, click the "Add player" button to continue.',-1)])])):c("",!0),0===s.activeTab&&"League"===l.eventStore.selectedEventType&&s.standings.length>0&&0===s.weekPlayers.length?(W(),i("div",Y,[...t[24]||(t[24]=[y("strong",null,"Now that you've added your players, click the CHECK-IN button to get started.",-1)])])):c("",!0)]),_:1}),o(R,{cols:"12",class:"text-right px-0"},{default:n(()=>[0===s.activeTab?(W(),g(_,{key:0,variant:"flat",color:"light-primary",class:"btn-width",onClick:S.addPlayers},{default:n(()=>[...t[25]||(t[25]=[d("Add Player",-1)])]),_:1},8,["onClick"])):c("",!0),0===s.activeTab&&s.standings.length>0?(W(),g(_,{key:1,variant:"flat",color:"error",class:"btn-width ml-3",onClick:S.openRemovePlayerDialog},{default:n(()=>[...t[26]||(t[26]=[d("Remove Players",-1)])]),_:1},8,["onClick"])):c("",!0),0===s.activeTab?(W(),g(_,{key:2,color:"primary",class:"btn-width ml-3",onClick:t[4]||(t[4]=e=>s.activeTab=1)},{default:n(()=>[...t[27]||(t[27]=[d("Get Started",-1)])]),_:1})):c("",!0)]),_:1})]),_:1}),r(y("div",q,[o(M,{playersList:s.standings,"game-play-rules":"watl"===s.rules?"since_2025":"before_2024",isLeagueList:!0,showCurrentUser:!1},null,8,["playersList","game-play-rules"]),0===s.standings.length?(W(),i("div",z,[o(N,{class:"text-center"},{default:n(()=>[y("img",{src:l.venueStore.venue.logo,alt:""},null,8,K),y("div",null,' Click on "ADD PLAYER" to add players to the '+m(l.eventStore.selectedEventType)+". ",1)]),_:1})])):c("",!0)],512),[[v,0===s.activeTab]]),r(o(B,null,{default:n(()=>[o(I,{gameList:s.weekGames,dblocation:"league/"+a.leagueID,dbScheduleLocation:"league/"+a.leagueID+"/"+s.selectedSeason,roundrobin:"Round Robin"!==s.selectedWeek.type||l.eventStore.selectedEvent.virtual?"":e.newRR,generateAutoGames:e.generateAutoGames,schedule:s.schedule,playersCount:s.weekPlayers.length,selectedWeek:s.selectedWeek,selectedSeason:s.selectedSeason,playerList:s.weekPlayers,selected:s.selected,onSinglePlayerGame:t[5]||
1(t[5]=e=>{S.createSingleGame("On Standby"),s.singlePlayerClicked=!0}),onPlayerClicked:S.playerSelected,autoSchedule:e.newRR,autoGames:e.newRR,listView:s.listView,allowManageControls:!0,weekPath:"/venues/"+this.venueStore.venue.locationSlug+"/league-list/"+a.leagueID+"/"+s.selectedSeason+"/"+s.selectedWeek.name},null,8,["gameList","dblocation","dbScheduleLocation","roundrobin","generateAutoGames","schedule","playersCount","selectedWeek","selectedSeason","playerList","selected","onPlayerClicked","autoSchedule","autoGames","listView","weekPath"])]),_:1},512),[[v,1===s.activeTab]]),o(U,{fullscreen:"",transition:"dialog-bottom-transition",modelValue:l.generalStore.dialogAddPlayer,"onUpdate:modelValue":t[7]||(t[7]=e=>l.generalStore.dialogAddPlayer=e)},{default:n(()=>[o(j,{isLeague:S.isLeague(),leagueID:a.leagueID,selectedSeason:s.selectedSeason,highlight:s.standings,leagueType:"standard-league",seasonName:l.eventStore.selectedEvent.seasonName,leagueTitle:l.eventStore.selectedEvent.title,onChangeTab:t[6]||(t[6]=e=>s.activeTab=1)},null,8,["isLeague","leagueID","selectedSeason","highlight","seasonName","leagueTitle"])]),_:1},8,["modelValue"]),o(U,{persistent:"",modelValue:s.matchup.dialog,"onUpdate:modelValue":t[10]||(t[10]=e=>s.matchup.dialog=e),"max-width":"700"},{default:n(()=>[o(J,{style:{"background-color":"white",color:"var(--theme-background)","border-radius":"8px"}},{default:n(()=>[o(N,null,{default:n(()=>[o(G,null,{default:n(()=>[o(R,{cols:"12",class:"pa-3 text-center"},{default:n(()=>[...t[28]||(t[28]=[d("CREATE MATCHUP",-1)])]),_:1}),o(H),o(R,{cols:"5",class:"py-4"},{default:n(()=>[o(D,{"bg-color":"transparent"},{default:n(()=>[o(T,null,{default:n(()=>[o(T,{class:"pr-3"},{default:n(()=>[o($,{class:"text-right alias",innerHTML:s.matchup.player1.alias},null,8,["innerHTML"]),o(X,{class:"text-right",innerHTML:s.matchup.player1.first},null,8,["innerHTML"])]),_:1})]),_:1})]),_:1})]),_:1}),o(R,{cols:"2",class:"py-5 text-center"},{default:n(()=>[...t[29]||(t[29]=[d("VS.",-1)])]),_:1}),o(R,{cols:"5",class:"py-4"},{default:n(()=>[o(D,{"bg-color":"transparent"},{default:n(()=>[o(T,null,{default:n(()=>[o(T,{class:"pl-3"},{default:n(()=>[o($,{class:"alias",innerHTML:s.matchup.player2.alias},null,8,["innerHTML"]),o(X,{innerHTML:s.matchup.player2.first},null,8,["innerHTML"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),o(H),o(G,{class:"pt-3"},{default:n(()=>[o(R,{cols:"4",sm:"7",class:"px-2"}),o(R,{cols:"4",sm:"3",class:"px-2"},{default:n(()=>[o(_,{block:"",color:"primary",onClick:t[8]||(t[8]=e=>S.createGame("On Standby")),loading:s.loading},{default:n(()=>[...t[30]||(t[30]=[d(" Confirm ",-1)])]),_:1},8,["loading"])]),_:1}),o(R,{cols:"3",sm:"2",class:"px-2"},{default:n(()=>[o(_,{block:"",variant:"flat",color:"error",onClick:t[9]||(t[9]=e=>S.closeMatchupDialog())},{default:n(()=>[...t[31]||(t[31]=[d("Cancel",-1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),o(ee,{modelValue:s.showBottomSheet,"onUpdate:modelValue":t[12]||(t[12]=e=>s.showBottomSheet=e)},{default:n(()=>[!0===s.showBottomSheet?(W(),g(Z,{key:0,onCloseBottomSheet:t[11]||(t[11]=e=>s.showBottomSheet=!1),broadcastLocation:"/venues/"+a.locationSlug+"/group-event/"+l.eventStore.selectedEvent[".key"],broadcastWeek:s.selectedWeek.name,leagueType:"quick",broadcastPlayoffs:"Playoffs"===s.selectedWeek.type,emailList:s.standings,eventType:l.eventStore.selectedEventType.toLowerCase(),selectedSeason:s.selectedSeason,seasonList:l.eventStore.selectedEventSeasons},null,8,["broadcastLocation","broadcastWeek","broadcastPlayoffs","emailList","eventType","selectedSeason","seasonList"])):c("",!0)]),_:1},8,["modelValue"]),o(U,{modelValue:s.removePlayerDialog.show,"onUpdate:modelValue":t[13]||(t[13]=e=>s.removePlayerDialog.show=e),"max-width":"600",persistent:""},{default:n(()=>[o(J,null,{default:n(()=>[o(te,{class:"text-h5 pa-4"},{default:n(()=>[...t[32]||(t[32]=[d(" Remove Players ",-1)])]),_:1}),o(N,null,{default:n(()=>[t[34]||(t[34]=y("div",{class:"mb-4"},[y("strong",null,"Select players to remove")],-1)),o(D,null,{default:n(()=>[(W(!0),i(f,null,b(s.standings,e=>(W(),g(T,{key:e.id,onClick:t=>S.togglePlayerSelection(e)},{prepend:n(()=>[o(ae,{"model-value":S.isPlayerSelected(e),onClick:A(t=>S.togglePlayerSelection(e),["stop"]),"hide-details":""},null,8,["model-value","onClick"])]),default:n(()=>[o($,null,{default:n(()=>[d(m(e.first),1)]),_:2},1024),S.getPlayerMatchInfo(e).started>0?(W(),g(X,{key:0},{default:n(()=>[d(m(S.getPlayerMatchInfo(e).started)+" started match(es) will be kept",1)]),_:2},1024)):c("",!0)]),_:2},1032,["onClick"]))),128))]),_:1}),s.removePlayerDialog.selectedPlayers.length>
10?(W(),g(le,{key:0,type:"warning",class:"mt-4",density:"compact"},{default:n(()=>[...t[33]||(t[33]=[y("strong",null,"Warning:",-1),d(" Unscheduled matches for selected players will be removed. Started/completed matches will remain. ",-1)])]),_:1})):c("",!0)]),_:1}),o(se,{class:"pa-4"},{default:n(()=>[o(w),o(_,{variant:"flat",onClick:S.closeRemovePlayerDialog},{default:n(()=>[...t[35]||(t[35]=[d(" Cancel ",-1)])]),_:1},8,["onClick"]),o(_,{color:"error",disabled:0===s.removePlayerDialog.selectedPlayers.length,loading:s.removePlayerDialog.loading,onClick:S.confirmRemovePlayers},{default:n(()=>[d(" Remove "+m(s.removePlayerDialog.selectedPlayers.length)+" Player(s) ",1)]),_:1},8,["disabled","loading","onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])])}],["__scopeId","data-v-fe85fb8b"]]))}}});
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.