{"version":3,"sources":["webpack:///./src/renderer/utils/prize.ts","webpack:///./src/renderer/modules/instant/views/InstantMatchDetails/InstantMatchDetails.vue?e660","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformationMobile/TournamentBasicInformationMobile.vue?cedf","webpack:///./src/renderer/modules/instant/views/InstantMatchDetails/InstantMatchDetails.vue?d89d","webpack:///./src/renderer/modules/instant/views/InstantMatchDetails/InstantMatchDetails.vue?600c","webpack:///./src/renderer/modules/instant/views/InstantMatchDetails/InstantMatchDetails.vue","webpack:///./src/renderer/modules/instant/views/InstantMatchDetails/InstantMatchDetails.vue?eb88","webpack:///./src/renderer/modules/instant/views/InstantMatchDetails/InstantMatchDetails.vue?fb8a","webpack:///./src/renderer/modules/instant/views/InstantMatchDetails/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue?dae7","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformationMobile/TournamentBasicInformationMobile.vue?3cdb","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformationMobile/TournamentBasicInformationMobile.vue","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformationMobile/TournamentBasicInformationMobile.vue?b4bd","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformationMobile/TournamentBasicInformationMobile.vue?fe9f","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformationMobile/index.ts","webpack:///./src/renderer/utils/index.ts","webpack:///./src/renderer/assets/country/hk.svg","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue?b3e4","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue?c533","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue?b6a5","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/index.ts","webpack:///./src/renderer/assets/country/tw.svg"],"names":["getPrizeCurrency","prize","substring","search","getPrizeValue","render","_vm","this","_h","$createElement","_c","_self","attrs","$t","tournament","prizeIsPrizeFreeText","_v","_s","prizePrizeDetails","staticClass","_l","index","key","class","tournamentPrizes","length","title","toUpperCase","detailAbout","detailRules","_e","staticRenderFns","tournamentModule","$store","isMobile","$router","push","name","$vuetify","breakpoint","mobile","selectedTournament","prizeChampionPrize","prizeFirstRunnerUpPrize","prizeSecondRunnerUpPrize","components","TournamentDetailsHeader","TournamentBasicInformationMobile","component","VCard","VCol","VDivider","VListItem","VListItemContent","VList","VListItemTitle","VRow","detailLogo","prizePrizePool","_f","scheduleRegistrationStartTime","scheduleRegistrationEndTime","scheduleStartTime","scheduleEndTime","regions","map","ri","$te","code","join","hasEntryFee","entryFee","filters","dateTime","VContainer","VIcon","VImg","unixTimestampToDateTime","unixTimestamp","utc","local","toDate","upperCase","string","capitalSpacing","replace","date","number","isNaN","Date","getFullYear","toString","padStart","getMonth","getDate","getHours","getMinutes","module","exports","right","center","header","required","type","Boolean","default"],"mappings":"iNAAM,SAAUA,EAAiBC,GAC/B,OAAOA,EAAMC,UAAU,EAAGD,EAAME,OAAO,OAGnC,SAAUC,EAAcH,GAC5B,OAAOA,EAAMC,UAAUD,EAAME,OAAO,S,oCCLtC,yBAA2rB,EAAG,G,oCCA9rB,yBAAguB,EAAG,G,oCCAnuB,yBAAmtB,EAAG,G,+FCAttB,IAAIE,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAc,WAAEI,EAAG,MAAM,CAACA,EAAG,0BAA0B,CAACE,MAAM,CAAC,OAASN,EAAIO,GAAG,sCAAsC,OAAS,MAAMH,EAAG,MAAM,CAAGJ,EAAIQ,WAAWC,qBAGiM,CAACL,EAAG,cAAc,CAACJ,EAAIU,GAAG,IAAIV,EAAIW,GAAGX,EAAIQ,WAAWI,mBAAmB,QAHlP,CAACR,EAAG,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EACGqB,UACAH,WACAC,SAAS,EAAG,MACfvB,KAAK,KAGH,SAAUI,EAASc,GACvB,GAAIC,MAAMD,GAAS,MAAO,GAC1B,IAAMd,EAAW,IAAIgB,KAAc,IAATF,GAC1B,MACE,CACEd,EACGiB,cACAC,WACAC,SAAS,EAAG,MACdnB,EAASoB,WAAa,GAAGF,WAAWC,SAAS,EAAG,KACjDnB,EACGqB,UACAH,WACAC,SAAS,EAAG,MACfvB,KAAK,KACP,IACA,CACEI,EACGsB,WACAJ,WACAC,SAAS,EAAG,KACfnB,EACGuB,aACAL,WACAC,SAAS,EAAG,MACfvB,KAAK,O,uEC7FX4B,EAAOC,QAAU,IAA0B,uB,gFCA3C,IAAI7F,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACS,YAAY,UAAUI,MAAM,CAAE,aAAcjB,EAAI6F,MAAO,cAAe7F,EAAI8F,QAASxF,MAAM,CAAC,KAAO,OAAO,CAACN,EAAIU,GAAG,IAAIV,EAAIW,GAAGX,EAAI+F,QAAQ,QAAQ,IACnQtE,EAAkB,G,4DCeD,EAArB,qIAAqD,QACzB,QAAzB,eAAK,CAAEuE,UAAU,I,2DACuB,QAAxC,eAAK,CAAEC,KAAMC,QAASC,SAAS,I,2DACS,QAAxC,eAAK,CAAEF,KAAMC,QAASC,SAAS,I,4DAHb,EAAuB,QAD3C,QACoB,WChBohB,I,qECQriBzD,EAAY,eACd,EACA3C,EACA0B,GACA,EACA,KACA,WACA,MAIa,EAAAiB,EAAiB,QAMhC,IAAkBA,EAAW,CAACE,OAAA,KAAKM,OAAA,OCtBpB,U,qBCHfyC,EAAOC,QAAU,IAA0B","file":"js/instant-match-details.98c9902c.js","sourcesContent":["export function getPrizeCurrency(prize: string) {\r\n return prize.substring(0, prize.search(/\\d/))\r\n}\r\n\r\nexport function getPrizeValue(prize: string) {\r\n return prize.substring(prize.search(/\\d/))\r\n}\r\n","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchDetails.vue?vue&type=style&index=1&lang=scss&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchDetails.vue?vue&type=style&index=1&lang=scss&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentBasicInformationMobile.vue?vue&type=style&index=0&id=d210b89e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentBasicInformationMobile.vue?vue&type=style&index=0&id=d210b89e&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchDetails.vue?vue&type=style&index=0&id=66a18abc&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchDetails.vue?vue&type=style&index=0&id=66a18abc&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tournament)?_c('div',[_c('TournamentDetailsHeader',{attrs:{\"header\":_vm.$t('TournamentDetailsOverview.Overview'),\"center\":\"\"}}),_c('div',[(!_vm.tournament.prizeIsPrizeFreeText)?[_c('v-row',{staticClass:\"mb-4\"},_vm._l((_vm.tournamentPrizes),function(prize,index){return _c('v-col',{key:(\"tournament-details-overview-prize\" + index),staticClass:\"px-0\",attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('v-card',{staticClass:\"elevation-0 prize-card\",class:{\n 'prize-left-border':\n index > 0 && index < _vm.tournamentPrizes.length\n }},[_c('v-list-item',{attrs:{\"two-line\":\"\"}},[_c('v-list-item-content',[_c('div',{staticClass:\"prize-title\"},[_vm._v(\" \"+_vm._s(prize.title.toUpperCase())+\" \")]),_c('v-list-item-title',{staticClass:\"text-lg-center\"},[_c('span',{staticClass:\"headline\"},[_vm._v(_vm._s(_vm.getPrizeCurrency(prize.prize)))]),_c('span',{staticClass:\"display-2 font-weight-bold ml-2\"},[_vm._v(_vm._s(_vm.getPrizeValue(prize.prize)))])])],1)],1)],1)],1)}),1)]:[_c('quill-delta',[_vm._v(\" \"+_vm._s(_vm.tournament.prizePrizeDetails)+\" \")])]],2),_c('v-divider',{staticClass:\"my-4\"}),_c('TournamentDetailsHeader',{attrs:{\"header\":_vm.$t('AutomatedTournament.TournamentDetails'),\"right\":\"\"}}),_c('quill-delta',[_vm._v(_vm._s(_vm.tournament.detailAbout))]),_c('v-divider',{staticClass:\"my-4\"}),_c('TournamentDetailsHeader',{attrs:{\"header\":_vm.$t('AutomatedTournament.TournamentRules')}}),_c('quill-delta',[_vm._v(_vm._s(_vm.tournament.detailRules))])],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Watch } from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport { getPrizeCurrency, getPrizeValue } from '@/utils/prize'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { TournamentEntity } from '@/api/tournament'\r\nimport TournamentDetailsHeader from '@/modules/tournament/components/TournamentDetailsHeader'\r\nimport TournamentBasicInformationMobile from '@/modules/tournament/components/TournamentBasicInformationMobile'\r\nimport { TranslateResult } from 'vue-i18n'\r\n\r\ninterface Prize {\r\n title: string | TranslateResult\r\n prize: string\r\n}\r\n\r\n@Component({\r\n components: {\r\n TournamentDetailsHeader,\r\n TournamentBasicInformationMobile\r\n }\r\n})\r\nexport default class TournamentDetailsOverview extends Vue {\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n /* Vuex State */\r\n get tournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get tournamentPrizes(): Prize[] {\r\n if (!this.tournament) return []\r\n return [\r\n {\r\n title: this.$t('TournamentDetailsOverview.Champion'),\r\n prize: this.tournament.prizeChampionPrize\r\n },\r\n {\r\n title: this.$t('TournamentDetailsOverview.1stRunnerUp'),\r\n prize: this.tournament.prizeFirstRunnerUpPrize\r\n },\r\n {\r\n title: this.$t('TournamentDetailsOverview.2ndRunnerUp'),\r\n prize: this.tournament.prizeSecondRunnerUpPrize\r\n }\r\n ]\r\n }\r\n\r\n /* Methods */\r\n getPrizeCurrency(prize: string) {\r\n if (!prize) return ''\r\n return getPrizeCurrency(prize)\r\n }\r\n\r\n getPrizeValue(prize: string) {\r\n if (!prize) return ''\r\n return getPrizeValue(prize)\r\n }\r\n\r\n @Watch('$vuetify.breakpoint.mobile')\r\n onViewpointMobile(isMobile: boolean) {\r\n if (isMobile) {\r\n this.$router.push({ name: 'InstantMatchDetails' })\r\n }\r\n }\r\n\r\n mounted() {\r\n if (this.$vuetify.breakpoint.mobile) {\r\n this.$router.push({ name: 'InstantMatchDetails' })\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InstantMatchDetails.vue?vue&type=template&id=66a18abc&scoped=true&\"\nimport script from \"./InstantMatchDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./InstantMatchDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InstantMatchDetails.vue?vue&type=style&index=0&id=66a18abc&lang=scss&scoped=true&\"\nimport style1 from \"./InstantMatchDetails.vue?vue&type=style&index=1&lang=scss&\"\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 \"66a18abc\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCard,VCol,VDivider,VListItem,VListItemContent,VListItemTitle,VRow})\n","import InstantMatchDetails from './InstantMatchDetails.vue'\r\nexport default InstantMatchDetails\r\nexport { InstantMatchDetails }\r\n","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsHeader.vue?vue&type=style&index=0&id=92d32218&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsHeader.vue?vue&type=style&index=0&id=92d32218&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tournament)?_c('v-container',[_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-img',{staticClass:\"mx-auto\",attrs:{\"src\":_vm.tournament.detailLogo,\"width\":\"10rem\"}})],1)],1),_c('v-row',[_c('h2',{staticClass:\"text-uppercase text-center\"},[_vm._v(\" \"+_vm._s(_vm.tournament.name)+\" \")])]),_c('v-row',{staticClass:\"information\"},[_c('v-col',[(_vm.tournament.prizeIsPrizeFreeText)?_c('v-row',{staticClass:\"item bottom-line\"},[_c('v-col',[_c('h3',[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-trophy\")]),_vm._v(_vm._s(_vm.$t('TournamentCard.PrizePool'))+\" \")],1),_c('v-row',{staticClass:\"d-sm-flex my-0\"},[_c('v-col',{staticClass:\"px-0 py-0\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.tournament.prizePrizePool)+\" \")])],1)],1)],1):_vm._e(),_c('v-row',{staticClass:\"item bottom-line\"},[_c('v-col',[_c('h3',[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-trophy\")]),_vm._v(_vm._s(_vm.$t('TournamentBasicInformationMobile.PrizePool'))+\" \")],1),(!_vm.tournament.prizeIsPrizeFreeText)?_c('v-row',{staticClass:\"d-sm-flex my-0\"},_vm._l((_vm.tournamentPrizes),function(prize,index){return _c('v-col',{key:(\"tournament-details-overview-prize\" + index),staticClass:\"px-0 py-0\",attrs:{\"cols\":\"12\"}},[_c('v-card',{staticClass:\"elevation-0 prize-card\",class:{\n 'prize-left-border':\n index > 0 && index < _vm.tournamentPrizes.length\n }},[_c('v-list-item',{attrs:{\"two-line\":\"\"}},[_c('v-list-item-content',[_c('div',{staticClass:\"prize-title\"},[_vm._v(\" \"+_vm._s(prize.title.toUpperCase())+\" \")]),_c('v-list-item-title',{staticClass:\"text-center\"},[_c('span',{staticClass:\"headline\"},[_vm._v(_vm._s(_vm.getPrizeCurrency(prize.prize)))]),_c('span',{staticClass:\"display-2 font-weight-bold ml-2\"},[_vm._v(_vm._s(_vm.getPrizeValue(prize.prize)))])])],1)],1)],1)],1)}),1):_c('v-row',{staticClass:\"d-sm-flex my-0\"},[_c('v-col',{staticClass:\"px-0 py-0\",attrs:{\"cols\":\"12\"}},[_c('quill-delta',[_vm._v(_vm._s(_vm.tournament.prizePrizeDetails))])],1)],1)],1)],1),_c('v-row',{staticClass:\"item bottom-line\"},[_c('v-col',[_c('h3',[_c('v-icon',[_vm._v(\"mdi-calendar-text-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformationMobile.RegistrationPeriod'))+\" \")],1),_c('v-row',{staticClass:\"mx-0 my-0\"},[_c('v-col',[_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(_vm.tournament.scheduleRegistrationStartTime))+\" - \"+_vm._s(_vm._f(\"dateTime\")(_vm.tournament.scheduleRegistrationEndTime))+\" \")])],1)],1)],1),_c('v-row',{staticClass:\"item bottom-line\"},[_c('v-col',[_c('h3',[_c('v-icon',[_vm._v(\"mdi-sword-cross\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformationMobile.TournamentPeriod'))+\" \")],1),_c('v-row',{staticClass:\"mx-0 my-0\"},[_c('v-col',[_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(_vm.tournament.scheduleStartTime))+\" - \"+_vm._s(_vm._f(\"dateTime\")(_vm.tournament.scheduleEndTime))+\" \")])],1)],1)],1),_c('v-row',{staticClass:\"item bottom-line\"},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('h3',[_c('v-icon',[_vm._v(\"mdi-web\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformationMobile.Region'))+\" \")],1),_c('v-row',{staticClass:\"mx-0 my-0\"},[_c('v-col',[(!_vm.tournament.regions || _vm.tournament.regions.length === 0)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.AllRegions'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.tournament.regions .map(function (ri) { return _vm.$te('Regions.' + ri.code) ? _vm.$t('Regions.' + ri.code) : ri.name; } ) .join('.'))+\" \")]],2)],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('h3',[_c('v-icon',[_vm._v(\"mdi-checkbook\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformationMobile.EntryFees'))+\" \")],1),_c('v-row',{staticClass:\"mx-0 my-0\"},[_c('v-col',[(!_vm.tournament.hasEntryFee)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.NoEntryFee'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.Fee', [_vm.entryFee]))+\" \")]],2)],1)],1)],1)],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { TournamentEntity } from '@/api/tournament'\r\nimport { Vue, Component, Prop } from 'vue-property-decorator'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport { getPrizeCurrency, getPrizeValue } from '@/utils/prize'\r\nimport { TranslateResult } from 'vue-i18n'\r\nimport { dateTime } from '@/utils'\r\n\r\n// @Prop({ default: null }) relatedTournament!:\r\n\r\ninterface Prize {\r\n title: string | TranslateResult\r\n prize: string\r\n}\r\n\r\n@Component({\r\n filters: {\r\n dateTime\r\n }\r\n})\r\nexport default class TournamentBasicInformationMobile extends Vue {\r\n // @Prop({ default: null }) relatedTournament!:\r\n\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n get tournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get tournamentPrizes(): Prize[] {\r\n if (!this.tournament) return []\r\n return [\r\n {\r\n title: this.$t('TournamentDetailsOverview.Champion'),\r\n prize: this.tournament.prizeChampionPrize\r\n },\r\n {\r\n title: this.$t('TournamentDetailsOverview.1stRunnerUp'),\r\n prize: this.tournament.prizeFirstRunnerUpPrize\r\n },\r\n {\r\n title: this.$t('TournamentDetailsOverview.2ndRunnerUp'),\r\n prize: this.tournament.prizeSecondRunnerUpPrize\r\n }\r\n ]\r\n }\r\n\r\n getPrizeCurrency(prize: string) {\r\n if (!prize) return ''\r\n return getPrizeCurrency(prize)\r\n }\r\n\r\n getPrizeValue(prize: string) {\r\n if (!prize) return ''\r\n return getPrizeValue(prize)\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentBasicInformationMobile.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentBasicInformationMobile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentBasicInformationMobile.vue?vue&type=template&id=d210b89e&scoped=true&\"\nimport script from \"./TournamentBasicInformationMobile.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentBasicInformationMobile.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentBasicInformationMobile.vue?vue&type=style&index=0&id=d210b89e&lang=scss&scoped=true&\"\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 \"d210b89e\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCard,VCol,VContainer,VIcon,VImg,VListItem,VListItemContent,VListItemTitle,VRow})\n","import TournamentBasicInformationMobile from './TournamentBasicInformationMobile.vue'\r\n\r\nexport { TournamentBasicInformationMobile }\r\nexport default TournamentBasicInformationMobile\r\n","import { Console } from 'console'\r\nimport { padStart } from 'lodash'\r\nimport moment from 'moment'\r\n\r\nexport function countryFlag(countryCode: string) {\r\n if (!countryCode || !countryCode.length) {\r\n return null\r\n }\r\n\r\n switch (countryCode.toLowerCase()) {\r\n case 'tw':\r\n return require('@/assets/country/tw.svg')\r\n case 'hk':\r\n return require('@/assets/country/hk.svg')\r\n\r\n default:\r\n return null\r\n }\r\n}\r\n\r\nexport function sleep(duration: number) {\r\n return new Promise(resolve => setTimeout(resolve, duration))\r\n}\r\n\r\nexport function unixTimestampToDateTime(unixTimestamp: number): Date {\r\n return moment\r\n .utc(unixTimestamp * 1000)\r\n .local()\r\n .toDate()\r\n}\r\n\r\nexport function upperCase(string: string): string {\r\n return string.toUpperCase()\r\n}\r\n\r\nexport function lowerCase(string: string): string {\r\n return string.toLowerCase()\r\n}\r\n\r\nexport function capitalSpacing(string: string): string {\r\n return string.replace(/([a-z])([A-Z])/g, '$1 $2')\r\n}\r\n\r\nexport function capitalizeFirstLetter(string: string) {\r\n return string.charAt(0).toUpperCase() + string.slice(1)\r\n}\r\n\r\nexport function numberWithCommas(number: number) {\r\n if (!number) return 0\r\n return number.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',')\r\n}\r\n\r\nexport function date(number: number) {\r\n if (isNaN(number)) return ''\r\n const dateTime = new Date(number * 1000)\r\n return [\r\n dateTime\r\n .getFullYear()\r\n .toString()\r\n .padStart(4, '0'),\r\n (dateTime.getMonth() + 1).toString().padStart(2, '0'),\r\n dateTime\r\n .getDate()\r\n .toString()\r\n .padStart(2, '0')\r\n ].join('/')\r\n}\r\n\r\nexport function dateTime(number: number) {\r\n if (isNaN(number)) return ''\r\n const dateTime = new Date(number * 1000)\r\n return (\r\n [\r\n dateTime\r\n .getFullYear()\r\n .toString()\r\n .padStart(4, '0'),\r\n (dateTime.getMonth() + 1).toString().padStart(2, '0'),\r\n dateTime\r\n .getDate()\r\n .toString()\r\n .padStart(2, '0')\r\n ].join('/') +\r\n ' ' +\r\n [\r\n dateTime\r\n .getHours()\r\n .toString()\r\n .padStart(2, '0'),\r\n dateTime\r\n .getMinutes()\r\n .toString()\r\n .padStart(2, '0')\r\n ].join(':')\r\n )\r\n}\r\n","module.exports = __webpack_public_path__ + \"img/hk.901fbb55.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',[_c('v-col',{staticClass:\"heading\",class:{ 'text-right': _vm.right, 'text-center': _vm.center },attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.header)+\" \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class TournamentDetailsHeader extends Vue {\r\n @Prop({ required: true }) readonly header!: string\r\n @Prop({ type: Boolean, default: false }) readonly right!: boolean\r\n @Prop({ type: Boolean, default: false }) readonly center!: boolean\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsHeader.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsHeader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentDetailsHeader.vue?vue&type=template&id=92d32218&scoped=true&\"\nimport script from \"./TournamentDetailsHeader.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentDetailsHeader.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentDetailsHeader.vue?vue&type=style&index=0&id=92d32218&lang=scss&scoped=true&\"\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 \"92d32218\",\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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n","import TournamentDetailsHeader from './TournamentDetailsHeader.vue'\r\n\r\nexport { TournamentDetailsHeader }\r\nexport default TournamentDetailsHeader\r\n","module.exports = __webpack_public_path__ + \"img/tw.790bc738.svg\";"],"sourceRoot":""}