1import e from"./imageSelector-BltB3WF7.js";import{s as t,a}from"./archiveDeletedEvent-D-VJ8hc5.js";import{i as o}from"./imageURLreturn-BI9YqGmO.js";import{_ as n,u as i,k as l,m as s,Z as u,W as r,N as c,O as d,V as m,U as g,R as h,S as v,T as p,e as f,f as y,n as k,t as T,q as S,r as w,y as b,v as G,B as D,D as _,a8 as L,a0 as C,z as Q,$ as q,g as x,F as E,x as A,X as B,G as F,h as W,Y as j}from"./index-M5qy_4Wm.js";import{H as I}from"./hostAppBar-Nsn6mbm2.js";import{_ as N,a as V,b as U}from"./axe-cricket-icon-CEuGkILV.js";import"./croppie-COvZV25I.js";import"./customSearch-sElyVGsZ.js";import"./drawerIcon-D6p8KgWU.js";const H={key:0,class:"input-label"},R={key:1,class:"input-label"},K={key:0};const $={class:"d-flex align-center justify-space-between my-8"},O={class:"HostContainer"},M={class:"item",style:{padding:"10px 0px"}},Y={key:0,src:"https://firebasestorage.googleapis.com/v0/b/forged-7adb7.appspot.com/o/global%2Fstar.svg?alt=media&token=bbdad6df-5233-4ebe-b355-d65efb9dee26",class:"star"},Z={key:1,src:"https://firebasestorage.googleapis.com/v0/b/forged-7adb7.appspot.com/o/global%2Fstar-full.svg?alt=media&token=c90fcbf9-b740-4df3-b233-c0e4685647f5",class:"star"},J=["onClick"],P={key:0,class:"qualifying"},X={key:1},z={key:0},ee={key:1};const te=n({components:{HostAppBar:I,imageSelector:e,addQuickGroupGames:n({props:["tournament","eventType"],emits:["closeAddQuickGroupGames","closeAddTournament"],components:{imageURLreturn:o},mixins:[t],inject:["postHog"],data:()=>({officialLeagues:[],qualifyingNrThrows:[10,20,30,40,50],qualifyingNrKillshots:[5,10,15,20],qualifyingKillshots:5,qualifyingThrows:10,imgDialog:{show:!1,windowWidth:600,currentImage:"",updateDBlocation:"/trash",updateDBitem:"img",updateStorageLocation:"/trash",ratioWidth:"3",ratioHeight:"2",saveWidth:"900",saveFormat:"jpeg",archive:!1},localTournament:{content:{}}}),mounted(){this.getOfficialLeagues(),this.localTournament=this.tournament},watch:{tournament(){this.localTournament=this.tournament,"new"===this.localTournament.type&&(this.localTournament.content.officialLeague=this.officialLeagues[0])},"tournament.content.leagueType":function(e,t){this.localTournament.content.officialLeague="","big-axe-league"===e?this.qualifyingNrThrows=[5,10,15,20,25,30,35,40,45,50]:(this.qualifyingNrThrows=[10,20,30,40,50],this.qualifyingNrThrows=[10,20,30,40,50])}},methods:{getOfficialLeagues(){this.$databaseBind("officialLeagues",h(c("/venues/".concat(this.venueStore.venue.rules,"/event-list/league")),p("completed"),v(!1))).then(()=>{"new"===this.localTournament.type&&(this.localTournament.content.officialLeague=this.officialLeagues[0])})},confirmDelete(e){const t=e&&e.title||"",a=prompt('This permanently deletes "'.concat(t,'" and all of its games.\n\n')+"Type the event name to confirm:");return null!==a&&a.trim()===String(t).trim()},async deleteTournament(e){var t;if(this.userStore.userRoles.admin){let o;if(o="Tournament"===this.eventType?"/venues/"+this.venueStore.venue.locationSlug+"/event-list/tournament":"/venues/"+this.venueStore.venue.locationSlug+"/event-list/league",this.confirmDelete(e)){if(!(await a({venueSlug:this.venueStore.venue.locationSlug,eventLocation:o,eventKey:e[".key"],slug:e.slug,deletedBy:this.userStore.user[".key"],deletedByEmail:this.userStore.user.email||null,deletedByName:[this.userStore.user.first,this.userStore.user.last].filter(Boolean).join(" ")||null,title:e.title})))return void this.generalStore.showSnackBar({text:"Could not back up this event â delete aborted to avoid data loss.",color:"error",timeout:4e3,show:!0});null==(t=this.postHog)||t.capture("deleteEvent",{location:o,slug:e.slug,title:e.title,clickedBy:this.userStore.user[".key"]}),m(c("".concat(o,"/").concat(e[".key"]))).then(()=>{this.$emit("closeAddTournament"),this.generalStore.showSnackBar({text:this.eventType+" deleted",color:"success",timeout:1500,show:!0})}),e.slug&&(m(c("/venues/".concat(this.venueStore.venue.locationSlug,"/league-list/").concat(e.slug))),m(g("/venues/".concat(this.venueStore.venue.locationSlug,"/league/").concat(e.slug))))}}else alert("Deleting Requires Admin access.")},closeImageDialog(e){void 0!==e&&(this.localTournament.content.img=e),this.imgDialog.show=!1},save(){let e="/venues/"+this.venueStore.venue.locationSlug+"/event-list/group-events";if("new"===this.localTournament.type){let t="";switch(this.eventType){case"Quick Group Games":t="quick-group-games";break;case"connect5":t="connect-five";break;case"axecricket":t="axe-cricket";break;case"tictactoe":t="tic-tac-toe"}this.postHog.capture("button_save_".concat(this.eventType)),this.saveQuickGroup(e,t)}},saveQuickGroup(e,t){let a=this.localTournament.content.title;const o=r(c(e),{card:void 0!==this.venueStore.venue.card?this.venueStore.venue.card:null,currentWeek:1,name:a,leagueType:t,players:0,slug:this.slug(a),venue:this.venueStore.venue.locationSlug,venueName:this.venueStore.venue.company,time:Date.now(),rules:this.localTournament.content.rules});d(o,e=>{if(e.exists()){let t=e.val();t[".key"]=e.key,this.eventStore.setSelectedEvent({venue:this.venueStore.venue.locationSlug,league:t}),this.eventStore.setSelectedEvent({venue:this.venueStore.venue.locationSlug,league:t}),this.$emit("closeAddQuickGroupGames",t)}else this.$emit("closeAddQuickGroupGames")})}},setup(){const e=i(),t=l(),a=s();return{venueStore:e,userStore:t,eventStore:u(),generalStore:a}}},[["render",function(e,t,a,o,n,i){const l=w("v-icon"),s=w("v-btn"),u=w("v-toolbar-title"),r=w("v-spacer"),c=w("v-toolbar"),d=w("v-col"),m=w("v-radio"),g=w("v-radio-group"),h=w("v-row"),v=w("v-card-text"),p=w("imageURLreturn"),E=w("v-dialog");return x(),f("div",{class:Q({invert:"new"===n.localTournament.type,light:"new"===n.localTournament.type,dark:"new"!==n.localTournament.type}),style:{height:"100%"}},[y(s,{icon:"",class:"closeAbsolute",onClick:t[0]||(t[0]=t=>e.$emit("closeAddQuickGroupGames"))},{default:S(()=>[y(l,null,{default:S(()=>[...t[8]||(t[8]=[b("mdi-close",-1)])]),_:1})]),_:1}),"new"!==n.localTournament.type?(x(),k(c,{key:0},{default:S(()=>[y(u,null,{default:S(()=>[G("span",null,"Edit "+D(a.eventType),1)]),_:1}),y(r)]),_:1})):T("",!0),y(h,{style:{height:"100%"}},{default:S(()=>[y(d,{cols:"12",md:"new"===n.localTournament.type?"6":"12"},{default:S(()=>["new"===n.localTournament.type?(x(),k(c,{key:0},{default:S(()=>[y(u,null,{default:S(()=>[G("span",null,"Add "+D(a.eventType),1)]),_:1}),y(r)]),_:1})):T("",!0),G("form",{id:"formMiniTournament",onSubmit:t[6]||(t[6]=C(e=>i.save(),["prevent"])),class:"pl-3"},[y(v,{style:{height:"100%",color:"var(--theme-text)"}},{default:S(()=>[y(h,null,{default:S(()=>["edit"===n.localTournament.type||"watl"!==o.venueStore.venue.rules?(x(),k(d,{key:0,cols:"12",md:"4"},{default:S(()=>[y(h,null,{default:S(()=>["edit"===n.localTournament.type?(x(),k(d,{key:0,cols:"12",class:"pa-3"},{default:S(()=>[y(s,{block:"",color:"error",onClick:t[1]||(t[1]=e=>i.deleteTournament(n.localTournament.content))},{default:S(()=>[b("Delete "+D(a.eventType),1)]),_:1})]),_:1})):T("",!0),_(y(d,{cols:"12",class:"pa-3"},{default:S(()=>[t[9]||(t[9]=G("div",{class:"input-label"},"Rules",-1)),y(g,{modelValue:n.localTournament.content.rules,"onUpdate:modelValue":t[2]||(t[2]=e=>n.localTournament.content.rules=e),value:"natf",mandatory:!0},{default:S(()=>[y(m,{label:"WATL",value:"watl"}),y(m,{label:"NATF",value:"natf"})]),_:1},8,["modelValue"])]),_:1},512),[[L,"watl"!==o.venueStore.venue.rules]]),"edit"===n.localTournament.type?(x(),k(d,{key:1,cols:"12",class:"px-3 hidden-xs-only"},{default:S(()=>[void 0===n.localTournament.content.archive||void 0!==n.localTournament.content.archive&&!1===n.localTournament.content.archive?(x(),k(s,{key:0,block:"",onClick:t[3]||(t[3]=C(t=>e.archiveEvent(!0),["prevent"]))},{default:S(()=>[b("Archive "+D(a.eventType),1)]),_:1})):T("",!0),void 0!==n.localTournament.content.archive&&!0===n.localTournament.content.archive?(x(),k(s,{key:1,block:"",onClick:t[4]||(t[4]=C(t=>e.archiveEvent(!1),["prevent"]))},{default:S(()=>[b("Unarchive "+D(a.eventType),1)]),_:1})):T("",!0)]),_:1})):T("",!0)]),_:1})]),_:1})):T("",!0),y(d,{cols:"12",md:"6",class:"addLeague"},{default:S(()=>[y(h,null,{default:S(()=>[y(d,{cols:"12",class:"py-2"},{default:S(()=>["Qualifying Throws"===a.eventType?(x(),f("div",H," Name Of Tournament for Qualifying Throws* ")):(x(),f("div",R," Name of the "+D(a.eventType)+"* ",1))]),_:1}),y(d,{cols:"12",class:Q({x6:"League"===a.eventType&&"new"===n.localTournament.type,"pr-3":"League"===a.eventType&&"new"!=n.localTournament.type})},{default:S(()=>[_(G("input",{type:"text","onUpdate:modelValue":t[5]||(t[5]=e=>n.localTournament.content.title=e),required:""},null,512),[[q,n.localTournament.content.title]])]),_:1},8,["class"])]),_:1})]),_:1}),"new"===n.localTournament.type?(x(),k(d,{key:1,cols:"10"},{default:S(()=>[y(d,{cols:"12",class:"mt-4"},{default:S(()=>[y(s,{class:"v-btn ma-0 primary",type:"submit",form:"formMiniTournament",disabled:"Disabled"===o.venueStore.venue.status},{default:S(()=>[...t[10]||(t[10]=[b(" Save ",-1)])]),_:1},8,["disabled"])]),_:1})]),_:1})):T("",!0)]),_:1})]),_:1})],32)]),_:1},8,["md"]),"new"===n.localTournament.type?(x(),k(d,{key:0,cols:"12",md:"6",class:"instructions hidden-sm-and-down"},{default:S(()=>["Mini Tournament"===a.eventType?(x(),f("div",K,[t[11]||(t[11]=G("img",{src:"https://firebasestorage.googleapis.com/v0/b/forged-7adb7.appspot.com/o/t-demo.jpg?alt=media&token=90c9c80c-48e5-40b2-a083-a78a1ffb238a"},null,-1)),G("h2",null,"START "+D(a.eventType),1),t[12]||(t[12]=G("p",null,"Setup and run a Quick Tournament to have fun!",-1))])):T("",!0)]),_:1})):T("",!0)]),_:1}
1),n.imgDialog.show?(x(),k(E,{key:1,modelValue:n.imgDialog.show,"onUpdate:modelValue":t[7]||(t[7]=e=>n.imgDialog.show=e),scrollable:"",width:this.imgDialog.windowWidth},{default:S(()=>[y(p,{currentImage:n.imgDialog.currentImage,ratioWidth:n.imgDialog.ratioWidth,ratioHeight:n.imgDialog.ratioHeight,updateDBlocation:n.imgDialog.updateDBlocation,updateDBitem:n.imgDialog.updateDBitem,updateStorageLocation:n.imgDialog.updateStorageLocation,saveWidth:n.imgDialog.saveWidth,saveFormat:n.imgDialog.saveFormat,onCloseImageDialog:i.closeImageDialog},null,8,["currentImage","ratioWidth","ratioHeight","updateDBlocation","updateDBitem","updateStorageLocation","saveWidth","saveFormat","onCloseImageDialog"])]),_:1},8,["modelValue","width"])):T("",!0)],2)}],["__scopeId","data-v-399ad564"]])},inject:["postHog"],data(){var e;return{imgDialog:{show:!1},showAddTournament:!1,search:"",defaultThumb:{watl:"https://firebasestorage.googleapis.com/v0/b/forged-7adb7.appspot.com/o/global%2Fundefined%2Fplayers%2Fundefined%2FWATL-flag-graphic-butcher.webp?alt=media&token=cc34c2b3-87f1-45b5-9499-10d808ef146f",natf:"https://firebasestorage.googleapis.com/v0/b/forged-7adb7.appspot.com/o/forged%2Fevent-list%2Fleague%2F-LNqNZK0sGDJvb5d33le%2Fbackground-with-axe.jpg?alt=media&token=533db969-19bb-4ecc-8372-da6607293e6f"},tournament:{type:"new",content:{pin:!1,hide:!1,archive:!1,completed:!1,rules:this.venueStore.venue.rules,isOfficial:!1,officialLeague:"",seasonName:(null==(e=this.seasonStore.getCurrentSeason)?void 0:e.value)||"",day:"Monday",leagueType:"standard-league",virtual:!1,qualifyingThrows:10,qualifyingKillshots:5,img:"https://firebasestorage.googleapis.com/v0/b/forged-7adb7.appspot.com/o/forged%2Fevent-list%2Fleague%2F-LNqNZK0sGDJvb5d33le%2Fbackground-with-axe.jpg?alt=media&token=533db969-19bb-4ecc-8372-da6607293e6f"}},showArchive:!1,showAddQuickGroupGames:!1,quickEventType:"Quick Group Games",showQuickTournaments:!1,quickTournamentList:[],quickGameType:null,gamemodes:["QUICK-GROUP-GAMES","CONNECT-FIVE","TIC-TAC-TOE","AXE-CRICKET"]}},setup:()=>({venueStore:i(),userStore:l(),seasonStore:j(),eventStore:u(),generalStore:s()}),computed:{tournamentList(){return"hostGroup"===this.$route.name?this.venueStore.listGroupEvents:null},eventType(){return"hostGroup"===this.$route.name?"Quick Group Games":null},filteredList(){return this.quickTournamentList.filter(e=>!!("leagueType"in e&&e.leagueType&&this.gamemodes.includes(e.leagueType.toUpperCase()))&&(void 0===this.search||""===this.search||e.name&&e.name.toLowerCase().indexOf(this.search.toLowerCase())>-1?e:void 0)).sort(e=>!1===e.pin?1:-1)},archivedFilteredList(){return this.tournamentList.filter(e=>{if(void 0!==this.search)return void 0!==e.archive&&!0===e.archive&&(e.date.toLowerCase().includes(this.search.toLowerCase())||e.title.toLowerCase().includes(this.search.toLowerCase()))}).sort(e=>!1===e.pin?1:-1)},quickTournamentFilteredList(){return this.quickTournamentList.filter(e=>e).sort(e=>!1===e.pin?1:-1)}},methods:{copyAccessCode(e){navigator.clipboard.writeText(e).then(()=>{W(()=>{},"Access code copied!","info","Ok",!0)})},openLink(e){window.open(e,"_blank")},pinEvent(e){let t;void 0!==this.quickEventType&&"Quick Group Games"===this.quickEventType&&(t="/venues/"+this.venueStore.venue.locationSlug+"/event-list/group-events"),B(c(t)).then(a=>{a.exists()&&F(c("".concat(t,"/").concat(e[".key"])),{pin:!e.pin})}),this.getGroupEvents()},showMore(e){this.filteredList[e].more=!this.filteredList[e].more,this.$forceUpdate()},showMoreQuickTournaments(e){this.quickTournamentFilteredList[e].more=!this.quickTournamentFilteredList[e].more,this.$forceUpdate()},closeDialog(){var e;this.showAddTournament=!1,this.tournament={type:"new",content:{pin:!1,hide:!1,archive:!1,completed:!1,rules:this.venueStore.venue.rules,isOfficial:!1,img:this.defaultThumb[this.venueStore.venue.rules],seasonName:(null==(e=this.seasonStore.getCurrentSeason)?void 0:e.value)||"",day:"Monday",virtual:!1,qualifyingThrows:10,qualifyingKillshots:5}}},closeDialogQuickGroupGames(e){this.showAddQuickGroupGames=!1,e&&this.selectQuickGroupEvent(e)},selectLeague(e){this.seasonStore.hostWeek=e.currentWeek,this.seasonStore.hostSeason=e.currentSeason,this.eventStore.setSelectedEvent({venue:this.venueStore.venue.locationSlug,league:e}),this.eventStore.selectedEventType=this.eventType,this.$router.push("/hosts/"+this.venueStore.venue.locationSlug+"/league/"+e.slug)},selectQuickGroupEvent(e){this.seasonStore.hostWeek=e.currentWeek,this.eventStore.setSelectedEvent({venue:this.venueStore.venue.locationSlug,league:e}),this.eventStore.selectedEventType=this.eventType;let t="quick-group-games"===e.leagueType?"":"".concat(e.leagueType,"/"),a="/hosts/"+this.venueStore.venue.locationSlug+"/group-event/"+t+e.slug;this.$router.push(a)},updateImage(e){let t;t="Tournament"===this.eventType?"/venues/"+this.venueStore.venue.locationSlug+"/event-list/tournament/":"/venues/"+this.venueStore.venue.locationSlug+"/event-list/league/",this.imgDialog={show:!0,windowWidth:600,currentImage:e.img,updateDBlocation:t+e[".ke
1y"],updateDBitem:"img",updateStorageLocation:t+e[".key"]+"/",ratioWidth:"3",ratioHeight:"2",saveWidth:"900",saveFormat:"jpeg"}},confirmDelete:()=>confirm("Are you sure you want to delete?"),editTournament(e){this.tournament.content=e,this.tournament.type="edit",this.showAddTournament=!0},async deleteTournament(e){if(this.userStore.userRoles.admin){let t,o=e[".key"]||e.id;if(void 0!==this.quickEventType&&"Quick Group Games"==this.quickEventType&&(t="/venues/"+this.venueStore.venue.locationSlug+"/event-list/group-events"),!t||!o)return void console.warn("hostsGroup.deleteTournament: missing eventLocation/eventKey, aborting",{eventLocation:t,eventKey:o});if(this.confirmDelete()){if(!(await a({venueSlug:this.venueStore.venue.locationSlug,eventLocation:t,eventKey:o,slug:e.slug,deletedBy:this.userStore.user[".key"],deletedByEmail:this.userStore.user.email||null,deletedByName:[this.userStore.user.first,this.userStore.user.last].filter(Boolean).join(" ")||null,title:e.title})))return void alert("Could not back up this event â delete aborted to avoid data loss.");this.postHog.capture("deleteEvent",{location:t,slug:e.slug||null,title:e.title||null,clickedBy:this.userStore.user[".key"]}),m(c("".concat(t,"/").concat(o))),this.getGroupEvents()}}else alert("Deleting Requires Admin access.")},getTournamentList(){this.eventType,this.venueStore.venue.locationSlug},setDefaultThumbnail(){this.tournament.content.img=this.defaultThumb[this.venueStore.venue.rules]},getGroupEvents(){let e="/venues/"+this.venueStore.venue.locationSlug+"/event-list/group-events/";this.$databaseBind("quickTournamentList",c(e))},newQuickGame(e=null){null!=e&&(this.quickGameType=e,this.showAddQuickGroupGames=!0)}},mounted(){this.setDefaultThumbnail(),this.getGroupEvents()}},[["render",function(e,t,a,o,n,i){const l=w("host-app-bar"),s=w("v-btn"),u=w("v-col"),r=w("v-spacer"),c=w("v-row"),d=w("v-layout"),m=w("imageSelector"),g=w("v-dialog"),h=w("addQuickGroupGames");return x(),f("div",null,[y(l,{title:"Games",modelValue:n.search,"onUpdate:modelValue":t[0]||(t[0]=e=>n.search=e)},null,8,["modelValue"]),G("div",$,[t[10]||(t[10]=G("h3",null,"Tap any icon to play fun games",-1)),"hostGroup"==e.$route.name||"watl"===o.venueStore.venue.locationSlug?(x(),k(s,{key:0,color:" primary",class:"btn-width",disabled:"Disabled"===o.venueStore.venue.status,onClick:t[1]||(t[1]=e=>i.newQuickGame("Quick Group Games"))},{default:S(()=>[...t[9]||(t[9]=[b("Quick Group Games",-1)])]),_:1},8,["disabled"])):T("",!0)]),y(c,{"justify-space-between":"",class:"main-list"},{default:S(()=>[y(u,{cols:"6",md:"3",class:"align-center justify-center text-center"},{default:S(()=>[G("div",{class:"btn-quickgames",onClick:t[2]||(t[2]=e=>i.newQuickGame("Quick Group Games"))},[...t[11]||(t[11]=[G("img",{src:"/assets/quick-match-icon-Bi7WANci.png",alt:"Quick Match"},null,-1)])])]),_:1}),y(u,{cols:"6",md:"3",class:"align-center justify-center text-center"},{default:S(()=>[G("div",{class:"btn-quickgames",onClick:t[3]||(t[3]=e=>i.newQuickGame("connect5"))},[...t[12]||(t[12]=[G("img",{src:N,alt:"Connect 5"},null,-1)])])]),_:1}),y(u,{cols:"6",md:"3",class:"align-center justify-center text-center"},{default:S(()=>[G("div",{class:"btn-quickgames",onClick:t[4]||(t[4]=e=>i.newQuickGame("tictactoe"))},[...t[13]||(t[13]=[G("img",{src:V,alt:"TicTacToe"},null,-1)])])]),_:1}),y(u,{cols:"6",md:"3",class:"align-center justify-center text-center"},{default:S(()=>[G("div",{class:"btn-quickgames",onClick:t[5]||(t[5]=e=>i.newQuickGame("axecricket"))},[...t[14]||(t[14]=[G("img",{src:U,alt:"Axe Cricket"},null,-1)])])]),_:1}),y(u,{cols:"12"},{default:S(()=>[y(r)]),_:1})]),_:1}),0===i.filteredList.length?(x(),k(d,{key:0,wrap:""},{default:S(()=>[y(u,{class:"d-flex align-center justify-center text-center",style:{height:"80%"}},{default:S(()=>[...t[15]||(t[15]=[G("h1",{class:"mb-2 mt-2",style:{"text-transform":"uppercase"}}," CREATE YOUR FIRST QUICK GROUP GAMES ",-1)])]),_:1})]),_:1})):T("",!0),G("div",O,[i.filteredList.length>0?(x(!0),f(E,{key:0},A(o.generalStore.groupTypes,e=>(x(),f("div",{key:e.key},[G("h2",null,D(e.name),1),y(c,{class:"main-list mb-4"},{default:S(()=>[(x(!0),f(E,null,A(i.filteredList,(a,n)=>(x(),f(E,null,[a.leagueType===e.key||null==a.leagueType&&"standard-league"===e.key?(x(),k(u,{cols:"12",md:"6",key:a[".key"],class:Q([{hide:1==a.hide},"pr-3 mb-3"])},{default:S(()=>[G("div",M,[y(c,{class:"pa-2 align-center"},{default:S(()=>[y(u,{cols:"12",sm:"8",class:"pa-2 list-title"},{default:S(()=>[y(s,{variant:"flat",color:"none",onClick:e=>i.pinEvent(a)},{default:S(()=>[a.pin?T("",!0):(x(),f("img",Y)),a.pin?(x(),f("img",Z)):T("",!0)]),_:2},1032,["onClick"]),G("div",{class:"t",onClick:e=>i.selectQuickGroupEvent(a)},[b(D(a.name)+" ",1),"Qualifying Throws"===i.eventType?(x(),f("span",P,[t[16]||(t[16]=G("br",null,null,-1)),t[17]||(t[17]=G("strong",null,"throws",-1)),b(": "+D(a.qualifyingThrows)+", ",1),t[18]||(t[18]=G("strong",null,"killshots",-1)),b(": "+D(a.qualifyingKillshots),1)])):T("",!0),a.virtual?(x(),f("strong",X,"[Virtual]")):T("",!0)],8,J)]),_:2},1024),y(u,{cols:"6",sm:"3",class:"px-2 text-right",style:{"white-space":"nowrap"}},{default:S(()=>[a.more?(x(),f("div",z,[y(s,{icon:"",variant:"flat",style:{height:"100%",margin:"auto 15px"},onClick:C(e=>i.deleteTournament(a),["stop"])},{default:S(()=>[...t[19]||(t[19]=[G("i",{class:"icon-trash"},null,-1)])]),_:1},8,["onClick"])])):(x(),f("div",ee,[y(s,{block:"",color:"primary",onClick:e=>i.selectQuickGroupEvent(a)},{default:S(()=>[...t[20]||(t[20]=[b(" Start ",-1)])]),_:1},8,["onClick"])]))]),_:2},1024),y(u,{cols:"6",sm:"1","text-center":"","px-2":""},{default:S(()=>["Qualifying Throws"!==i.eventType||"watl"===o.venueStore.venue.locationSlug?(x(),k(s,{key:0,icon:"",variant:"flat",onClick:C(e=>i.showMore(n),["stop"])},{default:S(()=>[...t[21]||(t[21]=[G("i",{class:"icon-more"},null,-1)])]),_:1},8,["onClick"])):T("",!0)]),_:2},1024)]),_:2},1024)])]),_:2},1032,["class"])):T("",!0)],64))),256))]),_:2}
1,1024)]))),128)):T("",!0)]),n.imgDialog.show?(x(),k(g,{key:1,modelValue:n.imgDialog.show,"onUpdate:modelValue":t[7]||(t[7]=e=>n.imgDialog.show=e),scrollable:"",width:this.imgDialog.windowWidth},{default:S(()=>[y(m,{currentImage:n.imgDialog.currentImage,ratioWidth:n.imgDialog.ratioWidth,ratioHeight:n.imgDialog.ratioHeight,updateDBlocation:n.imgDialog.updateDBlocation,updateDBitem:n.imgDialog.updateDBitem,updateStorageLocation:n.imgDialog.updateStorageLocation,saveWidth:n.imgDialog.saveWidth,saveFormat:n.imgDialog.saveFormat,onCloseImageDialog:t[6]||(t[6]=e=>n.imgDialog.show=!1)},null,8,["currentImage","ratioWidth","ratioHeight","updateDBlocation","updateDBitem","updateStorageLocation","saveWidth","saveFormat"])]),_:1},8,["modelValue","width"])):T("",!0),y(g,{fullscreen:"",transition:"dialog-bottom-transition",modelValue:n.showAddQuickGroupGames,"onUpdate:modelValue":t[8]||(t[8]=e=>n.showAddQuickGroupGames=e)},{default:S(()=>[void 0!==i.eventType?(x(),k(h,{key:0,tournament:n.tournament,eventType:n.quickGameType||i.eventType,onCloseAddQuickGroupGames:i.closeDialogQuickGroupGames},null,8,["tournament","eventType","onCloseAddQuickGroupGames"])):T("",!0)]),_:1},8,["modelValue"])])}],["__scopeId","data-v-7894e900"]]);export{te 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.