PageSourceSearch

https://axethrowing.org/assets/hostsGroup-legacy-oovt0jJ3.js

js axethrowing.org collected 2026-10-01 15:03:23 UTC 26,573 bytes, 1 lines download raw bytes

1System.register(["./imageSelector-legacy-DcPQR4u1.js","./archiveDeletedEvent-legacy-bVih4vUV.js","./imageURLreturn-legacy-D0mh6Yt3.js","./index-legacy-DtXVSfTX.js","./hostAppBar-legacy-53vNYapr.js","./axe-cricket-icon-legacy-Ckq3edJ_.js","./croppie-legacy-CdXO-5LP.js","./customSearch-legacy-57gr2wU9.js","./drawerIcon-legacy-BhU4_ONe.js"],function(e,t){"use strict";var a,o,i,n,l,s,r,u,c,d,p,g,m,v,h,f,y,k,b,T,w,x,S,G,D,_,L,C,q,Q,E,A,B,F,$,W,j,I,N,V,U,z;return{setters:[e=>{a=e.default},e=>{o=e.s,i=e.a},e=>{n=e.i},e=>{l=e._,s=e.u,r=e.k,u=e.m,c=e.Z,d=e.W,p=e.N,g=e.O,m=e.V,v=e.U,h=e.R,f=e.S,y=e.T,k=e.e,b=e.f,T=e.n,w=e.t,x=e.q,S=e.r,G=e.y,D=e.v,_=e.B,L=e.D,C=e.a8,q=e.a0,Q=e.z,E=e.$,A=e.g,B=e.F,F=e.x,$=e.X,W=e.G,j=e.h,I=e.Y},e=>{N=e.H},e=>{V=e._,U=e.a,z=e.b},null,null,null],execute:function(){var t=document.createElement("style");t.textContent='h2[data-v-399ad564]{text-transform:uppercase}.light[data-v-399ad564]{background:#fff}.dark[data-v-399ad564]{background:var(--theme-dialog)}.logo-container img[data-v-399ad564]{width:100%;height:auto}.logo-container>div[data-v-399ad564]{position:absolute;top:30%;width:100%;text-align:center}@media only screen and (max-width: 960px){.logo-container img[data-v-399ad564]{width:70%}}.HostContainer[data-v-7894e900]{padding:0 10px}h2[data-v-7894e900]{font-size:16px;line-height:19px;text-transform:uppercase;font-weight:500}.item[data-v-7894e900]{border:solid 1px var(--theme-toolbar-border);text-transform:uppercase;background:#fff}.v-btn--flat[data-v-7894e900]{padding:0 2px}.v-btn i[data-v-7894e900]{font-size:22px}.light[data-v-7894e900]{border:solid 1px var(--theme-toolbar-border)}.star[data-v-7894e900]{width:20px;vertical-align:middle;margin:0 10px}.list-title[data-v-7894e900]{font-size:16px}.main-list[data-v-7894e900]>*{position:relative}.icon-edit[data-v-7894e900]{color:#2f27d4}.icon-trash[data-v-7894e900]{color:#e1233d}.icon-more[data-v-7894e900]{color:#a4afc3}.axe-man[data-v-7894e900]{width:20vw;margin-top:15vh}.date[data-v-7894e900]{display:inline-block;margin-left:10px;opacity:.3}.hide[data-v-7894e900]{opacity:.2}.card[data-v-7894e900]{background-color:var(--theme-primary);border-radius:10px}.card-img[data-v-7894e900]{position:relative;background-size:cover;width:36px;height:36px;display:inline-block;vertical-align:middle}.card-text[data-v-7894e900]{color:#fff;position:absolute;font-size:18px;line-height:18px;left:4px;top:8px;padding:0 10px 0 12px;border-top-left-radius:10px;border-bottom-right-radius:6px}.pin[data-v-7894e900]{position:absolute;z-index:1;left:0;top:0}.t[data-v-7894e900]{width:calc(100% - 90px);display:inline-block;vertical-align:middle;line-height:1.3em}.list-img[data-v-7894e900]{background-repeat:no-repeat;background-size:contain;background-position:0%}.list-layout[data-v-7894e900]{overflow:hidden;color:#fff;color:var(--theme-text);padding:8px;height:80px}.list-layout-header[data-v-7894e900]{position:sticky;z-index:2;top:64px;background-color:#000;background-color:var(--theme-background);height:auto}.body[data-v-7894e900]{font-weight:300}.stripe[data-v-7894e900]{background-color:rgba(0,0,0,.1)}.qualifying[data-v-7894e900]{font-size:75%}.container[data-v-7894e900]{padding:0!important}.btn-quickgames[data-v-7894e900]{width:150px;height:200px!important;margin:auto;padding-top:20px}.btn-quickgames img[data-v-7894e900]{width:150px!important;height:150px!important}.btn-quickgames[data-v-7894e900]:before{opacity:0;content:"+";display:block;position:absolute;top:44%;left:50%;color:#fff;font-size:125px;transform:translate(-50%,-50%);transition:all .2s ease-in-out}.btn-quickgames img[data-v-7894e900]:hover,.btn-quickgames[data-v-7894e900]:before{cursor:pointer}.btn-quickgames[data-v-7894e900]:hover:before{font-size:100px;opacity:1}@media only screen and (max-width: 1264px){.t[data-v-7894e900]{font-size:12px}.btn-quickgames[data-v-7894e900]:hover:before{font-size:90px}}.access-code-box[data-v-7894e900]{background:#f5f7fa;border-radius:8px;padding:12px 16px;margin-top:8px;box-shadow:0 2px 8px rgba(0,0,0,.04);display:inline-block;min-width:340px}.access-code-row[data-v-7894e900]{display:flex;align-items:center;margin-top:8px;gap:8px;position:relative}.access-code-label[data-v-7894e900]{font-weight:700;margin-right:8px;color:#2f27d4;letter-spacing:1px;font-size:1em}.access-code-value[data-v-7894e900]{font-family:monospace;background:#e3e7f7;padding:2px 10px;border-radius:4px;font-size:1.1em;margin-right:4px;letter-spacing:2px;font-weight:600}.copy-btn[data-v-7894e900]{background:linear-gradient(90deg,#2f27d4,#1976d2);color:#fff!important;
1transition:box-shadow .2s;box-shadow:0 2px 8px rgba(44,39,212,.08)}.copy-btn[data-v-7894e900]:hover{box-shadow:0 4px 16px rgba(44,39,212,.18)}.copy-btn.copied[data-v-7894e900]{background:linear-gradient(90deg,#43e97b,#38f9d7);color:#fff!important}.copied-tooltip[data-v-7894e900]{position:absolute;left:100%;margin-left:10px;color:#43e97b;font-weight:600;font-size:.95em;background:#fff;border-radius:4px;padding:2px 8px;box-shadow:0 2px 8px rgba(44,39,212,.08);top:50%;transform:translateY(-50%);pointer-events:none}.fade-enter-active[data-v-7894e900],.fade-leave-active[data-v-7894e900]{transition:opacity .3s}.fade-enter[data-v-7894e900],.fade-leave-to[data-v-7894e900]{opacity:0}.guest-link[data-v-7894e900]{font-weight:700;color:#1976d2;text-decoration:none;display:inline-flex;align-items:center;margin-bottom:4px;font-size:1.05em;letter-spacing:1px;width:100%;margin-top:1rem}.guest-link-text[data-v-7894e900]{text-transform:uppercase;margin-left:2px}\n/*$vite$:1*/',document.head.appendChild(t);const H={key:0,class:"input-label"},R={key:1,class:"input-label"},K={key:0},O={class:"d-flex align-center justify-space-between my-8"},M={class:"HostContainer"},Y={class:"item",style:{padding:"10px 0px"}},Z={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"},J={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"},P=["onClick"],X={key:0,class:"qualifying"},ee={key:1},te={key:0},ae={key:1};e("default",l({components:{HostAppBar:N,imageSelector:a,addQuickGroupGames:l({props:["tournament","eventType"],emits:["closeAddQuickGroupGames","closeAddTournament"],components:{imageURLreturn:n},mixins:[o],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(p(`/venues/${this.venueStore.venue.rules}/event-list/league`),y("completed"),f(!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 "${t}" and all of its games.\n\nType the event name to confirm:`);return null!==a&&a.trim()===String(t).trim()},async deleteTournament(e){if(this.userStore.userRoles.admin){let t;if(t="Tournament"===this.eventType?"/venues/"+this.venueStore.venue.locationSlug+"/event-list/tournament":"/venues/"+this.venueStore.venue.locationSlug+"/event-list/league",this.confirmDelete(e)){if(!(await i({venueSlug:this.venueStore.venue.locationSlug,eventLocation:t,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});this.postHog?.capture("deleteEvent",{location:t,slug:e.slug,title:e.title,clickedBy:this.userStore.user[".key"]}),m(p(`${t}/${e[".key"]}`)).then(()=>{this.$emit("closeAddTournament"),this.generalStore.showSnackBar({text:this.eventType+" deleted",color:"success",timeout:1500,show:!0})}),e.slug&&(m(p(`/venues/${this.venueStore.venue.locationSlug}/league-list/${e.slug}`)),m(v(`/venues/${this.venueStore.venue.locationSlug}/league/${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_${this.eventType}`),this.saveQuickGroup(e,t)}},saveQuickGroup(e,t){let a=this.localTournament.content.title;const o=d(p(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});g(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=s(),t=r(),a=u();return{venueStore:e,userStore:t,eventStore:c(),generalStore:a}}},[["render",function(e,t,a,o,i,n){const l=S("v-icon"),s=S("v-btn"),r=S("v-toolbar-title"),u=S("v-spacer"),c=S("v-toolbar"),d=S("v-col"),p=S("v-radio"),g=S("v-radio-group"),m=S("v-row"),v=S("v-card-text"),h=S("imageURLreturn"),f=S("v-dialog");return A(),k("div",{class:Q({invert:"new"===i.localTournament.type,light:"new"===i.localTournament.type,dark:"new"!==i.localTournament.type}),style:{height:"100%"}},[b(s,{icon:"",class:"closeAbsolute",onClick:t[0]||(t[0]=t=>e.$emit("closeAddQuickGroupGames"))},{default:x(()=>[b(l,null,{default:x(()=>[...t[8]||(t[8]=[G("mdi-close",-1)])]),_:1})]),_:1}),"new"!==i.localTournament.type?(A(),T(c,{key:0},{default:x(()=>[b(r,null,{default:x(()=>[D("span",null,"Edit "+_(a.eventType),1)]),_:1}),b(u)]),_:1})):w("",!0),b(m,{style:{height:"100%"}},{default:x(()=>[b(d,{cols:"12",md:"new"===i.localTournament.type?"6":"12"},{default:x(()=>["new"===i.localTournament.type?(A(),T(c,{key:0},{default:x(()=>[b(r,null,{default:x(()=>[D("span",null,"Add "+_(a.eventType),1)]),_:1}),b(u)]),_:1})):w("",!0),D("form",{id:"formMiniTournament",onSubmit:t[6]||(t[6]=q(e=>n.save(),["prevent"])),class:"pl-3"},[b(v,{style:{height:"100%",color:"var(--theme-text)"}},{default:x(()=>[b(m,null,{default:x(()=>["edit"===i.localTournament.type||"watl"!==o.venueStore.venue.rules?(A(),T(d,{key:0,cols:"12",md:"4"},{default:x(()=>[b(m,null,{default:x(()=>["edit"===i.localTournament.type?(A(),T(d,{key:0,cols:"12",class:"pa-3"},{default:x(()=>[b(s,{block:"",color:"error",onClick:t[1]||(t[1]=e=>n.deleteTournament(i.localTournament.content))},{default:x(()=>[G("Delete "+_(a.eventType),1)]),_:1})]),_:1})):w("",!0),L(b(d,{cols:"12",class:"pa-3"},{default:x(()=>[t[9]||(t[9]=D("div",{class:"input-label"},"Rules",-1)),b(g,{modelValue:i.localTournament.content.rules,"onUpdate:modelValue":t[2]||(t[2]=e=>i.localTournament.content.rules=e),value:"natf",mandatory:!0},{default:x(()=>[b(p,{label:"WATL",value:"watl"}),b(p,{label:"NATF",value:"natf"})]),_:1},8,["modelValue"])]),_:1},512),[[C,"watl"!==o.venueStore.venue.rules]]),"edit"===i.localTournament.type?(A(),T(d,{key:1,cols:"12",class:"px-3 hidden-xs-only"},{default:x(()=>[void 0===i.localTournament.content.archive||void 0!==i.localTournament.content.archive&&!1===i.localTournament.content.archive?(A(),T(s,{key:0,block:"",onClick:t[3]||(t[3]=q(t=>e.archiveEvent(!0),["prevent"]))},{default:x(()=>[G("Archive "+_(a.eventType),1)]),_:1})):w("",!0),void 0!==i.localTournament.content.archive&&!0===i.localTournament.content.archive?(A(),T(s,{key:1,block:"",onClick:t[4]||(t[4]=q(t=>e.archiveEvent(!1),["prevent"]))},{default:x(()=>[G("Unarchive "+_(a.eventType),1)]),_:1})):w("",!0)]),_:1})):w("",!0)]),_:1})]),_:1})):w("",!0),b(d,{cols:"12",md:"6",class:"addLeague"},{default:x(()=>[b(m,null,{default:x(()=>[b(d,{cols:"12",class:"py-2"},{default:x(()=>["Qualifying Throws"===a.eventType?(A(),k("div",H," Name Of Tournament for Qualifying Throws* ")):(A(),k("div",R," Name of the "+_(a.eventType)+"* ",1))]),_:1}),b(d,{cols:"12",class:Q({x6:"League"===a.eventType&&"new"===i.localTournament.type,"pr-3":"League"===a.eventType&&"new"!=i.localTournament.type})},{default:x(()=>[L(D("input",{type:"text","onUpdate:modelValue":t[5]||(t[5]=e=>i.localTournament.content.title=e),required:""},null,512),[[E,i.localTournament.content.title]])]),_:1},8,["class"])]),_:1})]),_:1}),"new"===i.localTournament.type?(A(),T(d,{key:1,cols:"10"},{default:x(()=>[b(d,{cols:"12",class:"mt-4"},{default:x(()=>[b(s,{class:"v-btn ma-0 primary",type:"submit",form:"formMiniTournament",disabled:"Disabled"===o.venueStore.venue.status},{default:x(()=>[...t[10]||(t[10]=[G(" Save ",-1)])]),_:1},8,["disabled"])]),_:1})]),_:1})):w("",!0)]),_:1})]),_:1})],32)]),_:1},8,["md"]),"new"===i.localTournament.type?(A(),T(d,{key:0,cols:"12",md:"6",class:"instructions hidden-sm-and-down"},{default:x(()=>["Mini Tournament"===a.eventType?(A(),k("div",K,[t[11]||(t[11]=D("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)),D("h2",null,"START "+_(a.eventType),1),t[12]||(t[12]=D("p",null,"Setup and run a Quick Tournament to have fun!",-1))])):w("",!0)]),_:1})):w("",!0)]),_:1}),i.imgDialog.show?(A(),T(f,{key:1,modelValue:i.imgDialog.show,"onUpdate:modelValue":t[7]||(t[7]=e=>i.imgDialog.show=e),scrollable:"",width:this.imgDialog.windowWidth},{default:x(()=>[b(h,{currentImage:i.imgDialog.currentImage,ratioWidth:i.imgDialog.ratioWidth,ratioHeight:i.imgDialog.ratioHeight,updateDBlocation:i.imgDialog.updateDBlocation,updateDBitem:i.imgDialog.updateDBitem,updateStorageLocation:i.imgDialog.updateStorageLocation,saveWidth:i.imgDialog.saveWidth,saveFormat:i.imgDialog.saveFormat,onCloseImageDialog:n.closeImageDialog},null,8,["currentImage","ratioWidth","ratioHeight","updateDBlocation","updateDBitem","updateStorageLocation","saveWidth","saveFormat","onCloseImageDialog"])]),_:1}
1,8,["modelValue","width"])):w("",!0)],2)}],["__scopeId","data-v-399ad564"]])},inject:["postHog"],data(){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:this.seasonStore.getCurrentSeason?.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:s(),userStore:r(),seasonStore:I(),eventStore:c(),generalStore:u()}),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(()=>{j(()=>{},"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"),$(p(t)).then(a=>{a.exists()&&W(p(`${t}/${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(){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:this.seasonStore.getCurrentSeason?.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?"":`${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,a=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||!a)return void console.warn("hostsGroup.deleteTournament: missing eventLocation/eventKey, aborting",{eventLocation:t,eventKey:a});if(this.confirmDelete()){if(!(await i({venueSlug:this.venueStore.venue.locationSlug,eventLocation:t,eventKey:a,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(p(`${t}/${a}`)),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",p(e))},newQuickGame(e=null){null!=e&&(this.quickGameType=e,this.showAddQuickGroupGames=!0)}},mounted(){this.setDefaultThumbnail(),this.getGroupEvents()}},[["render",function(e,t,a,o,i,n){const l=S("host-app-bar"),s=S("v-btn"),r=S("v-col"),u=S("v-spacer"),c=S("v-row"),d=S("v-layout"),p=S("imageSelector"),g=S("v-dialog"),m=S("addQuickGroupGames");return A(),k("div",null,[b(l,{title:"Games",modelValue:i.search,"onUpdate:modelValue":t[0]||(t[0]=e=>i.search=e)},null,8,["modelValue"]),D("div",O,[t[10]||(t[10]=D("h3",null,"Tap any icon to play fun games",-1)),"hostGroup"==e.$route.name||"watl"===o.venueStore.venue.locationSlug?(A(),T(s,{key:0,color:" primary",class:"btn-width",disabled:"Disabled"===o.venueStore.venue.status,onClick:t[1]||(t[1]=e=>n.newQuickGame("Quick Group Games"))},{default:x(()=>[...t[9]||(t[9]=[G("Quick Group Games",-1)])]),_:1},8,["disabled"])):w("",!0)]),b(c,{"justify-space-between":"",class:"main-list"},{default:x(()=>[b(r,{cols:"6",md:"3",class:"align-center justify-center text-center"},{default:x(()=>[D("div",{class:"btn-quickgames",onClick:t[2]||(t[2]=e=>n.newQuickGame("Quick Group Games"))},[...t[11]||(t[11]=[D("img",{src:"/assets/quick-match-icon-Bi7WANci.png",alt:"Quick Match"},null,-1)])])]),_:1}),b(r,{cols:"6",md:"3",class:"align-center justify-center text-center"},{default:x(()=>[D("div",{class:"btn-quickgames",onClick:t[3]||(t[3]=e=>n.newQuickGame("connect5"))},[...t[12]||(t[12]=[D("img",{src:V,alt:"Connect 5"},null,-1)])])]),_:1}),b(r,{cols:"6",md:"3",class:"align-center justify-center text-center"},{default:x(()=>[D("div",{class:"btn-quickgames",onClick:t[4]||(t[4]=e=>n.newQuickGame("tictactoe"))},[...t[13]||(t[13]=[D("img",{src:U,alt:"TicTacToe"},null,-1)])])]),_:1}),b(r,{cols:"6",md:"3",class:"align-center justify-center text-center"},{default:x(()=>[D("div",{class:"btn-quickgames",onClick:t[5]||(t[5]=e=>n.newQuickGame("axecricket"))},[...t[14]||(t[14]=[D("img",{src:z,alt:"Axe Cricket"},null,-1)])])]),_:1}),b(r,{cols:"12"},{default:x(()=>[b(u)]),_:1})]),_:1}),0===n.filteredList.length?(A(),T(d,{key:0,wrap:""},{default:x(()=>[b(r,{class:"d-flex align-center justify-center text-center",style:{height:"80%"}},{default:x(()=>[...t[15]||(t[15]=[D("h1",{class:"mb-2 mt-2",style:{"text-transform":"uppercase"}}," CREATE YOUR FIRST QUICK GROUP GAMES ",-1)])]),_:1})]),_:1})):w("",!0),D("div",M,[n.filteredList.length>0?(A(!0),k(B,{key:0},F(o.generalStore.groupTypes,e=>(A(),k("div",{key:e.key},[D("h2",null,_(e.name),1),b(c,{class:"main-list mb-4"},{default:x(()=>[(A(!0),k(B,null,F(n.filteredList,(a,i)=>(A(),k(B,null,[a.leagueType===e.key||null==a.leagueType&&"standard-league"===e.key?(A(),T(r,{cols:"12",md:"6",key:a[".key"],class:Q([{hide:1==a.hide},"pr-3 mb-3"])},{default:x(()=>[D("div",Y,[b(c,{class:"pa-2 align-center"},{default:x(()=>[b(r,{cols:"12",sm:"8",class:"pa-2 list-title"},{default:x(()=>[b(s,{variant:"flat",color:"none",onClick:e=>n.pinEvent(a)},{default:x(()=>[a.pin?w("",!0):(A(),k("img",Z)),a.pin?(A(),k("img",J)):w("",!0)]),_:2},1032,["onClick"]),D("div",{class:"t",onClick:e=>n.selectQuickGroupEvent(a)},[G(_(a.name)+" ",1),"Qualifying Throws"===n.eventType?(A(),k("span",X,[t[16]||(t[16]=D("br",null,null,-1)),t[17]||(t[17]=D("strong",null,"throws",-1)),G(": "+_(a.qualifyingThrows)+", ",1),t[18]||(t[18]=D("strong",null,"killshots",-1)),G(": "+_(a.qualifyingKillshots),1)])):w("",!0),a.virtual?(A(),k("strong",ee,"[Virtual]")):w("",!0)],8,P)]),_:2},1024),b(r,{cols:"6",sm:"3",class:"px-2 text-right",style:{"white-space":"nowrap"}},{default:x(()=>[a.more?(A(),k("div",te,[b(s,{icon:"",variant:"flat",style:{height:"100%",margin:"auto 15px"},onClick:q(e=>n.deleteTournament(a),["stop"])},{default:x(()=>[...t[19]||(t[19]=[D("i",{class:"icon-trash"},null,-1)])]),_:1},8,["onClick"])])):(A(),k("div",ae,[b(s,{block:"",color:"primary",onClick:e=>n.selectQuickGroupEvent(a)},{default:x(()=>[...t[20]||(t[20]=[G(" Start ",-1)])]),_:1},8,["onClick"])]))]),_:2},1024),b(r,{cols:"6",sm:"1","text-center":"","px-2":""},{default:x(()=>["Qualifying Throws"!==n.eventType||"watl"===o.venueStore.venue.locationSlug?(A(),T(s,{key:0,icon:"",variant:"flat",onClick:q(e=>n.showMore(i),["stop"])},{default:x(()=>[...t[21]||(t[21]=[D("i",{class:"icon-more"},null,-1)])]),_:1},8,["onClick"])):w("",!0)]),_:2},1024)]),_:2},1024)])]),_:2},1032,["class"])):w("",!0)],64))),256))]),_:2},1024)]))),128)):w("",!0)]),i.imgDialog.show?(A(),T(g,{key:1,modelValue:i.imgDialog.show,"onUpdate:modelValue":t[7]||(t[7]=e=>i.imgDialog.show=e),scrollable:"",width:this.imgDialog.windowWidth},{default:x(()=>[b(p,{currentImage:i.imgDialog.currentImage,ratioWidth:i.imgDialog.ratioWidth,ratioHeight:i.imgDialog.ratioHeight,updateDBlocation:i.imgDialog.updateDBlocation,updateDBitem:i.imgDialog.updateDBitem,updateStorageLocation:i.imgDialog.updateStorageLocation,saveWidth:i.imgDialog.saveWidth,saveFormat:i.imgDialog.saveFormat,onCloseImageDialog:t[6]||(t[6]=e=>i.imgDialog.show=!1)},null,8,["currentImage","ratioWidth","ratioHeight","updateDBlocation","updateDBitem","updateStorageLocation","saveWidth","saveFormat"])]),_:1}
1,8,["modelValue","width"])):w("",!0),b(g,{fullscreen:"",transition:"dialog-bottom-transition",modelValue:i.showAddQuickGroupGames,"onUpdate:modelValue":t[8]||(t[8]=e=>i.showAddQuickGroupGames=e)},{default:x(()=>[void 0!==n.eventType?(A(),T(m,{key:0,tournament:i.tournament,eventType:i.quickGameType||n.eventType,onCloseAddQuickGroupGames:n.closeDialogQuickGroupGames},null,8,["tournament","eventType","onCloseAddQuickGroupGames"])):w("",!0)]),_:1},8,["modelValue"])])}],["__scopeId","data-v-7894e900"]]))}}});

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.