{"version":3,"sources":["webpack:///./src/Mixins/RouteMixin.js","webpack:///./src/Pages/Tournament/Division/Nav.vue?ba3e","webpack:///src/Pages/Tournament/Division/Nav.vue","webpack:///./src/Pages/Tournament/Division/Nav.vue?46c8","webpack:///./src/Pages/Tournament/Division/Nav.vue"],"names":["computed","dayId","this","$route","params","divisionId","poolId","roundId","teamId","tournamentId","standingsI","liveProps","query","liveN","n","id","liveId","render","_vm","_h","$createElement","_c","_self","attrs","staticClass","_v","_s","tournament","name","division","_l","tab","key","to","text","staticRenderFns","mixins","RouteMixin","getDivision","isTournament","isLeague","isCoaches","divisionTabs","tabs","push","waitlistTeams","length","view","admin","showTeams","public","hideWaitlist","stand","filter","icon","day","locked","days","poolPlay","count","pools","component","VBtn","VCol","VContainer","VRow"],"mappings":"mIAAe,QACbA,SAAU,CACRC,MADQ,WAEN,OAAQC,KAAKC,OAAOC,OAAOH,OAE7BI,WAJQ,WAKN,OAAQH,KAAKC,OAAOC,OAAOC,YAE7BC,OAPQ,WAQN,OAAQJ,KAAKC,OAAOC,OAAOE,QAE7BC,QAVQ,WAWN,OAAQL,KAAKC,OAAOC,OAAOH,OAE7BO,OAbQ,WAcN,OAAQN,KAAKC,OAAOC,OAAOI,QAE7BC,aAhBQ,WAiBN,OAAQP,KAAKC,OAAOC,OAAOK,cAE7BC,WAnBQ,WAoBN,OAAQR,KAAKC,OAAOC,OAAOM,YAE7BC,UAtBQ,WAuBN,OAAOT,KAAKC,OAAOS,OAASV,KAAKC,OAAOS,MAAMC,OAAS,CACrDC,GAAIZ,KAAKC,OAAOS,MAAMC,MACtBE,KAAiC,EAA3Bb,KAAKC,OAAOS,MAAMI,a,yCC1BhC,IAAIC,EAAS,WAAa,IAAIC,EAAIhB,KAASiB,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQ,KAAK,CAACF,EAAG,QAAQ,CAACE,MAAM,CAAC,MAAQ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KuC,UAAW,CAC3D,IAAR,0BACQW,GAASA,EAAMC,QAAO,SAA9B,6EACUV,EAAKC,KAAK,CACRV,KAAM,eAAlB,gBACYD,GAAI,eAAhB,iFACYqB,KAAMC,EAAIC,OAAS,cAAgB,UAGnCtD,KAAKqC,cACPrC,KAAK2B,SAAS4B,KAAKJ,QAAO,SAApC,2EACY,GAAIE,EAAIG,SAAU,CAChB,IAAd,4EACA,qBACcf,EAAKC,KAAK,CACRV,KAAM,eAAtB,eACgBD,GAAI,eAApB,mGACgB0B,MAAOJ,EAAIK,MAAMd,OACjBQ,KAAMC,EAAIC,OAAS,cAAgB,YAGrCb,EAAKC,KAAK,CACRV,KAAM,eAAtB,eACgBD,GAAI,eAApB,4FACgBqB,KAAMC,EAAIC,OAAS,cAAgB,UAKvCtD,KAAKsC,WACPG,EAAKC,KAAK,CACRV,KAAM,yBACND,GAAI,WAAhB,mFAEU/B,KAAK2B,SAAS4B,KAAKJ,QAAO,SAApC,2EACiBE,EAAIG,UACPf,EAAKC,KAAK,CACRV,KAAM,eAAtB,eACgBD,GAAI,WAApB,4FACgBqB,KAAMC,EAAIC,OAAS,cAAgB,WAM7C,OAAOb,MCxG8V,I,iFCOvWkB,EAAY,eACd,EACA5C,EACAkB,GACA,EACA,KACA,KACA,MAIa,aAAA0B,EAAiB,QAQhC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,OAAA,KAAKC,aAAA,KAAWC,OAAA","file":"js/chunk-0373fd38.6ea927a9.js","sourcesContent":["export default {\r\n computed: {\r\n dayId () {\r\n return +this.$route.params.dayId\r\n },\r\n divisionId () {\r\n return +this.$route.params.divisionId\r\n },\r\n poolId () {\r\n return +this.$route.params.poolId\r\n },\r\n roundId () {\r\n return +this.$route.params.dayId\r\n },\r\n teamId () {\r\n return +this.$route.params.teamId\r\n },\r\n tournamentId () {\r\n return +this.$route.params.tournamentId\r\n },\r\n standingsI () {\r\n return +this.$route.params.standingsI\r\n },\r\n liveProps () {\r\n return this.$route.query && this.$route.query.liveN && {\r\n n: +this.$route.query.liveN,\r\n id: +(this.$route.query.liveId | 0)\r\n }\r\n }\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"title\"},[_vm._v(\"Welcome to \"+_vm._s(_vm.tournament.name))]),_c('div',{staticClass:\"subtitle\"},[_vm._v(_vm._s(_vm.division.name))])]),_vm._l((_vm.divisionTabs),function(tab){return _c('v-col',{key:tab.to,attrs:{\"cols\":\"12\"}},[_c('v-btn',{staticClass:\"pa-12\",attrs:{\"block\":\"\",\"rounded\":\"\",\"color\":\"color3 color3Text--text\",\"large\":\"\",\"to\":tab.to}},[_vm._v(\" \"+_vm._s(tab.text)+\" \")])],1)})],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <v-container fluid>\r\n <v-row dense>\r\n <v-col cols=\"12\" class=\"text-center\">\r\n <div class=\"title\">Welcome to {{tournament.name}}</div>\r\n <div class=\"subtitle\">{{division.name}}</div>\r\n </v-col>\r\n <v-col cols=\"12\" v-for=\"tab in divisionTabs\" :key=\"tab.to\">\r\n <v-btn\r\n block rounded\r\n color=\"color3 color3Text--text\"\r\n large class=\"pa-12\"\r\n :to=\"tab.to\">\r\n {{tab.text}}\r\n </v-btn>\r\n </v-col>\r\n </v-row>\r\n </v-container>\r\n</template>\r\n\r\n<script>\r\nimport RouteMixin from '@/Mixins/RouteMixin'\r\nimport { mapGetters } from 'vuex'\r\n\r\nexport default {\r\n mixins: [RouteMixin],\r\n computed: {\r\n ...mapGetters(['tournament', 'getDivision', 'view']),\r\n division () {\r\n return this.getDivision(this.divisionId)\r\n },\r\n isTournament () {\r\n return this.tournament.isTournament && this.division.isTournament\r\n },\r\n isLeague () {\r\n return this.tournament.isLeague\r\n },\r\n isCoaches () {\r\n return this.division && this.division.isCoaches\r\n },\r\n divisionTabs () {\r\n const tabs = []\r\n\r\n tabs.push(\r\n {\r\n text: `View The ${this.division.acceptanceOnly ? 'Accepted ' : ''}${this.division.teamLabel}`,\r\n to: `/tournament/${this.tournamentId}/division/${this.divisionId}/teams`,\r\n count: this.division.teamCount\r\n }\r\n )\r\n if (this.division.waitlistTeams.length && !this.isCoaches && (this.view.admin || this.division.showTeams) && !(this.view.public && this.division.hideWaitlist)) {\r\n tabs.push(\r\n {\r\n text: `View The ${this.division.acceptanceOnly ? 'Pending Teams' : 'Waitlist'}`,\r\n to: `/tournament/${this.tournamentId}/division/${this.divisionId}/waitlist`,\r\n count: this.division.waitlistTeams.length\r\n }\r\n )\r\n }\r\n if ((this.isTournament || this.isLeague) && !this.isCoaches) {\r\n const stand = this.division.standings\r\n stand && stand.filter(f => (this.view.admin) || (this.view.public && f.published)).forEach((day, i) => {\r\n tabs.push({\r\n text: `Jump to the ${day.title}`,\r\n to: `/tournament/${this.tournamentId}/division/${this.divisionId}/standings/${i}`,\r\n icon: day.locked ? 'fas fa-lock' : null\r\n })\r\n })\r\n if (this.isTournament) {\r\n this.division.days.filter(f => (this.view.admin) || (this.view.public && f.published)).forEach(day => {\r\n if (day.poolPlay) {\r\n const poolId = day.flight && day.flight.pools && day.flight.pools.length === 1 && day.flight.pools[0].id\r\n const addOn = poolId ? `/${poolId}` : ''\r\n tabs.push({\r\n text: `Jump to the ${day.name}`,\r\n to: `/tournament/${this.tournamentId}/division/${this.divisionId}/round/${day.id}/pools${addOn}`,\r\n count: day.pools.length,\r\n icon: day.locked ? 'fas fa-lock' : null\r\n })\r\n } else {\r\n tabs.push({\r\n text: `Jump to the ${day.name}`,\r\n to: `/tournament/${this.tournamentId}/division/${this.divisionId}/round/${day.id}/brackets`,\r\n icon: day.locked ? 'fas fa-lock' : null\r\n })\r\n }\r\n })\r\n }\r\n if (this.isLeague) {\r\n tabs.push({\r\n text: 'Jump to Regular Season',\r\n to: `/league/${this.tournamentId}/division/${this.divisionId}/regular_season`\r\n })\r\n this.division.days.filter(f => (this.view.admin) || (this.view.public && f.published)).forEach(day => {\r\n if (!day.poolPlay) {\r\n tabs.push({\r\n text: `Jump to the ${day.name}`,\r\n to: `/league/${this.tournamentId}/division/${this.divisionId}/round/${day.id}/brackets`,\r\n icon: day.locked ? 'fas fa-lock' : null\r\n })\r\n }\r\n })\r\n }\r\n }\r\n return tabs\r\n }\r\n }\r\n}\r\n</script>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Nav.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Nav.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Nav.vue?vue&type=template&id=868be30a&\"\nimport script from \"./Nav.vue?vue&type=script&lang=js&\"\nexport * from \"./Nav.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VContainer,VRow})\n"],"sourceRoot":""}