{"version":3,"sources":["webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformation/TournamentBasicInformation.vue?e1ad","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformation/TournamentBasicInformation.vue","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformation/TournamentBasicInformation.vue?5ca3","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformation/TournamentBasicInformation.vue?ace6","webpack:///./src/renderer/utils/prize.ts","webpack:///./src/renderer/modules/tournament/components/TournamentChip/TournamentChip.vue?50dc","webpack:///./src/renderer/modules/tournament/components/TournamentChip/TournamentChip.vue","webpack:///./src/renderer/modules/tournament/components/TournamentChip/TournamentChip.vue?bdf3","webpack:///./src/renderer/modules/tournament/components/TournamentChip/TournamentChip.vue?6cb2","webpack:///./src/renderer/modules/tournament/components/TournamentChip/index.ts","webpack:///./src/renderer/modules/instant/views/InstantMatchDetails/InstantMatchDetails.vue?e660","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsBracket/TournamentDetailsBracket.vue?cd78","webpack:///./src/renderer/modules/tournament/components/StageBracket/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsBracket/TournamentDetailsBracket.vue","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsBracket/TournamentDetailsBracket.vue?efc8","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsBracket/TournamentDetailsBracket.vue?3e8d","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsBracket/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue?a731","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsBracket/TournamentDetailsBracket.vue?1ee6","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentInformationDialog/InstantMatchTournamentInformationDialog.vue?a2db","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentActionDialog.vue?b47c","webpack:///./src/renderer/modules/tournament/components/StageBracket/StageBracket.vue?599c","webpack:///./src/renderer/modules/tournament/components/BracketMatchGameChips/BracketMatchGameChips.vue?0fec","webpack:///./src/renderer/modules/tournament/components/BracketMatchGameChips/BracketMatchGameChips.vue","webpack:///./src/renderer/modules/tournament/components/BracketMatchGameChips/BracketMatchGameChips.vue?3c5e","webpack:///./src/renderer/modules/tournament/components/BracketMatchGameChips/BracketMatchGameChips.vue?5dde","webpack:///./src/renderer/modules/tournament/components/BracketMatchGameChips/index.ts","webpack:///./src/renderer/modules/tournament/components/StageBracket/StageBracket.vue","webpack:///./src/renderer/modules/tournament/components/StageBracket/StageBracket.vue?b7e8","webpack:///./src/renderer/modules/tournament/components/StageBracket/StageBracket.vue?fe22","webpack:///./src/renderer/modules/instant/InstantMatchDetailsLayout.vue?d670","webpack:///./src/renderer/modules/tournament/components/StageBracket/StageBracket.vue?f189","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformationMobile/TournamentBasicInformationMobile.vue?cedf","webpack:///./src/renderer/modules/instant/components/InstantMatchActionButtons/InstantMatchActionButtons.vue?2a5e","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue?0f4d","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/instant/components/InstantMatchIntroductionDialog/InstantMatchIntroductionDialog.vue?1030","webpack:///./src/renderer/modules/instant/components/InstantMatchIntroductionDialog/InstantMatchIntroductionDialog.vue","webpack:///./src/renderer/modules/instant/components/InstantMatchIntroductionDialog/InstantMatchIntroductionDialog.vue?33af","webpack:///./src/renderer/modules/instant/components/InstantMatchIntroductionDialog/InstantMatchIntroductionDialog.vue?0c9c","webpack:///./src/renderer/modules/instant/components/InstantMatchIntroductionDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue?dae7","webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue?1611","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue?d956","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue?fe02","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue?bbc9","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue?2c91","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue?c0ee","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/index.ts","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/modules/instant/components/InstantMatchActionButtons/InstantMatchActionButtons.vue?00f5","webpack:///./src/renderer/modules/instant/components/InstantMatchActionButtons/InstantMatchActionButtons.vue","webpack:///./src/renderer/modules/instant/components/InstantMatchActionButtons/InstantMatchActionButtons.vue?4a6d","webpack:///./src/renderer/modules/instant/components/InstantMatchActionButtons/InstantMatchActionButtons.vue?df8c","webpack:///./src/renderer/modules/instant/components/InstantMatchActionButtons/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/TournamentCustomForm.vue?d6e6","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/TournamentCustomForm.vue","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/TournamentCustomForm.vue?42a4","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/TournamentCustomForm.vue?b1f0","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/index.ts","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue?73b3","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue?8c1c","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue?bd5e","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue?d778","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentBasicInformation/TournamentBasicInformation.vue?7131","webpack:///./src/renderer/modules/instant/components/InstantMatchIntroductionDialog/InstantMatchIntroductionDialog.vue?cb76","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue?e2d7","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue?135e","webpack:///./src/renderer/modules/tournament/components/TournamentTeamDialog/TournamentTeamDialog.vue?a2cc","webpack:///./src/renderer/modules/tournament/components/TournamentTeamDialog/TournamentTeamDialog.vue","webpack:///./src/renderer/modules/tournament/components/TournamentTeamDialog/TournamentTeamDialog.vue?0ebb","webpack:///./src/renderer/modules/tournament/components/TournamentTeamDialog/TournamentTeamDialog.vue?b6bc","webpack:///./src/renderer/modules/tournament/components/TournamentTeamDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentChip/TournamentChip.vue?5547","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentBasicInformation/InstantMatchTournamentBasicInformation.vue?8e1c","webpack:///./src/renderer/utils/window.ts","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue?e909","webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue?8126","webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue","webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue?0824","webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue?55d7","webpack:///./src/renderer/modules/shared/components/CircularProgress/index.ts","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue?fbdd","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue?0fec","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue?de82","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue?a00d","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue?7df6","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue?8921","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue?a14f","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue?26cd","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue?9472","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue?0f72","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue?1fd4","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue?9250","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue?d872","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue?88a0","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue?a627","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue?e583","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue?51b2","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue?bea4","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue?dc82","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue?4619","webpack:///./src/renderer/modules/tournament/components/TournamentTeamDialog/TournamentTeamDialog.vue?e430","webpack:///./src/renderer/modules/instant/InstantMatchDetailsLayout.vue?c989","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentInformationDialog/InstantMatchTournamentInformationDialog.vue?4117","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentInformationDialog/InstantMatchTournamentInformationDialog.vue","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentInformationDialog/InstantMatchTournamentInformationDialog.vue?d10b","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentInformationDialog/InstantMatchTournamentInformationDialog.vue?a860","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentInformationDialog/index.ts","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentBasicInformation/InstantMatchTournamentBasicInformation.vue?7d2d","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentBasicInformation/InstantMatchTournamentBasicInformation.vue","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentBasicInformation/InstantMatchTournamentBasicInformation.vue?40b6","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentBasicInformation/InstantMatchTournamentBasicInformation.vue?6065","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentBasicInformation/index.ts","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentPlayerList/InstantMatchTournamentPlayerList.vue?23fa","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentPlayerList/InstantMatchTournamentPlayerList.vue","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentPlayerList/InstantMatchTournamentPlayerList.vue?0dc0","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentPlayerList/InstantMatchTournamentPlayerList.vue?d0bf","webpack:///./src/renderer/modules/instant/components/InstantMatchTournamentPlayerList/index.ts","webpack:///./src/renderer/modules/instant/InstantMatchDetailsLayout.vue","webpack:///./src/renderer/modules/instant/InstantMatchDetailsLayout.vue?7c25","webpack:///./src/renderer/modules/instant/InstantMatchDetailsLayout.vue?4659","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue?d889","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue?2701","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue?d3c3","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue?92c7","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentActionDialog.vue?41f3","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentActionDialog.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentActionDialog.vue?cf41","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentActionDialog.vue?951e","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/index.ts","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/modules/instant/components/InstantMatchTournamentPlayerList/InstantMatchTournamentPlayerList.vue?9410","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue?1d76","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue?eea8"],"names":["TournamentAction","render","_vm","this","_h","$createElement","_c","_self","staticClass","class","displayInfoOnHover","displayInfo","attrs","directives","name","rawName","value","type","expression","logo","_v","_s","_l","prizeComponent","index","key","tournamentId","getPrizeComponentClass","_f","registrationStartTime","registrationEndTime","startTime","endTime","_e","regions","length","map","ri","$te","code","$t","join","hasEntryFee","entryFee","isFeaturedTournament","state","tournamentActionString","tournamentIconString","tournamentActionLoading","on","onTournamentSelected","_t","staticRenderFns","isTextVisible","tournamentModule","$store","setTimeout","test","prizePool","split","tournamentAction","ViewTournament","ViewRegistrationStatus","JoinTournament","joinedTournaments","tournament","includes","hideActionButton","$route","OpenRegistration","isUserJoinedTournament","required","Date","default","Initial","components","TournamentChip","AppButton","filters","date","component","VCol","VContainer","VFadeTransition","VIcon","VRow","getPrizeCurrency","prize","substring","search","getPrizeValue","label","toUpperCase","VChip","isLoading","isFetched","hasStages","hasBracket","mobileWidth","isMobileView","model","callback","$$v","stageTab","stage","number","groups","groupTab","loadTime","getIsDisplayStageBracket","ref","refInFor","brackets","setting","stageFormat","dense","staticStyle","getStageBracketInvisibleMessage","StageBracket","stages","realtimeConnectionCancellationToken","interval","fetchStages","subscribeRealtimeEvents","realtime","addEventListener","window","setInterval","$forceUpdate","unsubscribeRealtimeEvents","removeEventListener","clearInterval","getTournamentStages","response","data","status","Ok","payload","entries","getStage","stageId","res","push","realtimeConnection","$toast","error","console","onStageBracketUpdated","cancel","off","color","x","y","icon","dismissable","isBracketVisible","selectedTournament","$vuetify","breakpoint","smAndDown","undefined","some","bracket","text","groupNumber","TournamentDetailsHeader","VProgressCircular","VSelect","VSlideXTransition","VSpacer","VTab","VTabItem","VTabs","VTabsItems","format","disableDragScroll","onTeamSelected","scopedSlots","_u","fn","match","round","validTeams","_g","checkInEndTime","checkInStartTime","checkInDuration","matchGame","isAdvanced","identifier","teams","scores","scoreTableExpanded","mobile","width","align","sortable","cellClass","isTournamentTeamDialogVisible","selectedTournamentTeamId","closeTournamentTeamDialog","_b","blue","isGamePlaying","green","isGameCompleted","orange","isGameRequiresAttention","black","isGameWaiting","outlined","stateIcon","currentGameRound","currentRound","totalGameRound","totalRound","hideCheckInStatus","current","checkIn","total","checkInTotal","isCompleted","Completed","Waiting","Playing","Ready","ResultSubmitted","Disputed","Object","Boolean","VTooltip","team","tournamentTeamId","sort","a","b","Array","TournamentTeamDialog","BracketMatchGameChips","dateTime","VDataTable","VExpansionPanel","VExpansionPanelContent","VExpansionPanelHeader","VExpansionPanels","prizeIsPrizeFreeText","prizePrizeDetails","tournamentPrizes","title","detailAbout","detailRules","isMobile","$router","prizeChampionPrize","prizeFirstRunnerUpPrize","prizeSecondRunnerUpPrize","TournamentBasicInformationMobile","VCard","VDivider","VListItem","VListItemContent","VList","VListItemTitle","close","$event","indexOf","_k","keyCode","isVisible","progressSize","progressWidth","progressRotate","progressColor","$emit","isInstantMatchIntroductionDialogVisible","setInstantMatchIntroductionDialogVisible","RegistrationProgress","VBtn","VCardActions","VCardText","VDialog","group","selectedGroup","maxTeams","canSelectGroup","isSelectingGroup","perTeamRegistrationFee","registrationFee","hasGroup","onNext","isGroupsLoading","fetchGroups","onSeedChanged","getTournamentGroups","getMessage","find","available","VCardTitle","VListItemAvatar","VListItemSubtitle","detailLogo","prizePrizePool","scheduleRegistrationStartTime","scheduleRegistrationEndTime","scheduleStartTime","scheduleEndTime","VImg","AutomatedTournamentAction","actionLoading","isCountdownTimerDisplayable","isPendingOpen","time","countdownTimeleft","isWaitingForCheckIn","domProps","onRulesAndDetailPage","onRulesAndDetailSelected","isOpenRegistration","memberModule","tickTimer","now","getMemberJoinedTournamentTeam","getStatusCode","onTick","getTime","Published","updateCountdown","WaitingForCheckIn","tournamentCheckInEndTime","targerTime","timeLeft","Math","hr","floor","min","sec","toString","padStart","visible","setTournamentActionDialogVisible","ViewBracket","requestLogin","fetchJoinedTournamentTeam","getMemberJoinedAutomatedTournament","isJoined","params","setAutomatedTournamentBracketDialogVisible","setAutomatedTournamentRuleDialogVisible","selectedTournamentTeam","InProgress","tournamentTeam","preventDefault","submitForm","isValid","keys","schema","theSchema","shouldHide","minLen","l","v","maxLen","msg","requiredArray","minLength","isArray","rules","requiredEmail","requiredSel","requiredSelMult","max12","min6","validEmail","shouldHideForm","form","validate","submit","VFormBase","VForm","teamToken","copyTeamToken","teamTokenUrl","copyTeamTokenUrl","hideLfg","toLookForGroup","onClose","$copyText","teamTokenTrimmed","teamTokenTextField","$el","then","e","info","teamTokenUrlTextField","replace","isElectron","location","origin","VTextField","closeDialog","isModalVisible","statusBarIcon","statusBarText","registerTime","statusBarColor","player","avatar","defaultAvatar","nickname","gameAccountNickname","role","TournamentTeamRole","Captain","getTournamentTeam","players","filter","RequestToJoin","PendingJoin","PendingConfirmRoster","VCardSubtitle","VListItemAction","VMenu","VSystemBar","getElementScrollRemaining","element","scrollHeight","offsetHeight","scrollTop","minimize","log","ipcRenderer","send","quit","auto","autoSize","style","size","hideProgress","loading","denominator","numerator","iconSize","describeArc","filled","radius","startAngle","endAngle","cuts","nextStartAngle","nextEndAngle","start","polarToCartesian","end","innerRadius","innerStart","innerEnd","largeArcFlag","n","isNaN","d","i","centerX","centerY","angleInDegrees","angleInRadians","PI","cos","sin","Number","CircularProgress","isChangeTeamCaptainDialogVisible","step","isTeamCaptain","isSoloTournament","teamTokenOutput","isGeneratingTeamToken","generateTeamToken","onConfirmRoster","onUnconfirmRoster","isRegistrationPeriod","isEditTournamentGroupDialogVisible","isEditGameAccountDialogVisible","isTournamentResponseEditDialogVisible","onTournamentGroupChanged","onGameAccountNameChanged","captainChanged","dialog","onRemoveTeamMemberClick","waitingTeamRegistration","selectingTeamRoster","capacityMinPlayersPerTeam","capacityMaxPlayersPerTeam","caption","tournamentPlayer","selectedTeamRoster","memberId","onParticipantIndividualClick","userId","isSelectingTeamRoster","getTeamPlayerIsStarter","Member","removeMemberId","remainingPlayer","remainingIndex","canChooseVenue","venues","props","item","venue","address1","address2","quota","selectedVenueId","confirmLoading","onConfirmTournamentTeamRosterClick","undoConfirmLoading","onUndoConfirmRosterClick","userModule","oldtournamentTeam","refreshSelectedTeamRoster","refreshVenues","confirmTournamentTeamRosterRequest","confirmTournamentTeamRoster","undoConfirmTournamentTeamRoster","isStarter","getTournamentVenues","tv","removeTournamentTeamMember","teamId","success","splice","teamRosterTotalCapacityExceeded","teamRosterStarterCapacityExceeded","playersPerTeam","memberIds","self","paymentMethod","onUndoConfirmRoster","num","Registered","deep","UserAvatar","VAlert","newCaptainMemberId","isCurrentCaptain","onNewCaptainSelected","confirmDialogMessage","isConfirmDialogVisible","changeCaptain","newCaptainMemberName","isChangeCaptainLoading","changeTournamentTeamCaptain","captainName","ConfirmDialog","isChangingGroup","changeGroup","inGameNameRules","t","editTournamentTeam","isChangingName","game","me","wildRiftHint","newGameAccountName","changeName","changeTournamentTeamGameAccount","nameChanged","fetchTournamentTeamFormResponse","updateTournamentFormResponse","JSON","stringify","getMemberTournamentFormResponse","parse","fetchTournamentFormSchemaFallback","getTournamentCustomFormSchema","oldSelectedTournamentTeam","tournamentPlayers","onTournamentPlayerUpdated","onTournamentPlayerRemoved","onTournamentTeamRegistered","onTournamentTeamCaptainChanged","onRealtimeReconnected","addPlayerToSelectedTournamentTeam","setSelectedTournamentTeamRegistered","refreshTeamToken","CompleteRegistration","validTournamentStates","TournamentPlayers","TournamentTeamChangeCaptainDialog","EditTournamentGroupDialog","EditTournamentFormResponseDialog","EditTournamentTeamMemberGameAccountDialog","VStepper","VStepperContent","VStepperStep","clipping","registeredTeamCount","capacityMaxTeams","tournamentBackground","isBackgroundImageError","isRuleDialogVisible","proxy","isTeamListDialogVisible","isBracketDialogVisible","header","registeredTeams","TournamentState","remainingTeams","onCheckPlayerListClicked","minPlayersPerTeam","setAutomatedTournamentTeamListDialogVisible","InstantMatchActionButtons","scrollBehavior","tournamentTeams","onTournamentTeamSelected","getCaptainAvatar","getCaptainName","isInitializing","page","hasMorePage","fetchTournamentTeams","onTournamentTeamsUpdated","$nextTick","getTournamentTeams","items","event","target","captain","p","VSimpleTable","OpenMode","layoutModule","tournamentOverlayIsVisible","resetSelectedTournament","resetSelectedTournamentTeams","resetSelectedTournamentTeam","fetchData","hasJoinedTournament","fetchRegisteredTournamentTeamCount","animateTournamentOverlay","hasDefaultTab","setSelectedTournament","resetTournamentData","withProgressBar","setProgressBarVisible","isAutomated","isOpen","openMode","Dim","gsap","to","backgroundColor","borderTop","duration","opacity","height","ease","easeOut","onJoinTournament","onTournamentStateUpdated","onTournamentDataUpdated","onTournamentCatalogUpdated","oldState","tournamentActionDialogVisible","setTournamentRegistrationClosedDialogVisible","showLFGModal","getTournamentRegisteredTeamCount","meta","defaultTab","hasLoggedIn","isAutomatedTournamentRuleDialogVisible","isAutomatedTournamentTeamListDialogVisible","isAutomatedTournamentBracketDialogVisible","detailBanner","detailMobileBanner","tournamentRegisteredTeamCount","InstantMatchTournamentInformationDialog","InstantMatchTournamentBasicInformation","InstantMatchTournamentPlayerList","InstantMatchIntroductionDialog","TournamentDetailsBracket","TournamentActionDialog","InstantMatchDetails","VSlideXReverseTransition","isReviewing","toReview","isFormValid","tournamentTeamForm","accepted","onSubmit","nameRules","$set","logoFile","member","createTournamentTeam","file","onTournamentTeamCreated","TeamDetailReview","VCheckbox","CreateTeamActions","JoinTeamActions","ActionType","back","setIsVisible","hasCustomForm","action","seed","onTournamentRegistrationNext","onIGNCompleted","submitFormResponse","hideLFG","onAcceptTeamToken","selectedTokenTeam","teamName","isJoiningTeamWithToken","confirmTeamJoin","steps","from","_","formResponse","fetchTournamentCustomFormSchema","gameAccountRegistration","reset","readAndAccept","enterInvitationCode","teamRegistration","schemaLength","submitTournamentFormResponse","token","submitTournamentFormResponseWithToken","registrationStatus","confirmRoster","joinTournamentTeamByTeamToken","InGameNameRegistration","ReadAndAccept","EnterInvitationCode","TeamRegistration","TeamRegistrationStatus","TournamentRegistration","TeamRegistrationComplete","TeamJoinDetailReview","TournamentCustomForm","VSheet","VWindow","VWindowItem","right","center"],"mappings":"kNAAA,I,UC8KYA,ED9KRC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACE,YAAY,kBAAkB,CAACF,EAAG,cAAc,CAACE,YAAY,wBAAwBC,MAAM,CACjM,wBAAyBP,EAAIQ,mBAC7B,eAAgBR,EAAIS,aACpBC,MAAM,CAAC,MAAQ,KAAK,CAACN,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACM,MAAM,CAAC,KAAO,KAAK,MAAQ,WAAW,CAACN,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,MAAM,CAACO,WAAW,CAAC,CAACC,KAAK,eAAeC,QAAQ,iBAAiBC,MAAM,CAAGC,KAAM,kBAAoBC,WAAW,+BAA+BV,YAAY,kBAAkBI,MAAM,CAAC,IAAMV,EAAIiB,aAAa,GAAGb,EAAG,oBAAoB,CAACM,MAAM,CAAC,KAAO,WAAW,CAAEV,EAAiB,cAAEI,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACE,YAAY,OAAOI,MAAM,CAAC,KAAO,OAAO,CAACN,EAAG,KAAK,CAACE,YAAY,yDAAyD,CAACN,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGnB,EAAIY,MAAM,SAASR,EAAG,QAAQ,CAACE,YAAY,OAAOI,MAAM,CAAC,KAAO,OAAO,CAACN,EAAG,SAAS,CAACE,YAAY,wCAAwCI,MAAM,CAAC,KAAO,OAAO,CAACV,EAAIkB,GAAG,wBAAwBlB,EAAIoB,GAAIpB,EAAmB,iBAAE,SAASqB,EAAeC,GAAO,OAAOlB,EA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kCCHf,IAAIvuB,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACE,YAAY,UAAUC,MAAM,CAAE,aAAcP,EAAIuuB,MAAO,cAAevuB,EAAIwuB,QAAS9tB,MAAM,CAAC,KAAO,OAAO,CAACV,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGnB,EAAI0lB,QAAQ,QAAQ,IACnQxiB,EAAkB,G,4DCeD,EAArB,qIAAqD,QACzB,QAAzB,eAAK,CAAEmB,UAAU,I,2DACuB,QAAxC,eAAK,CAAEtD,KAAMoN,QAAS5J,SAAS,I,2DACS,QAAxC,eAAK,CAAExD,KAAMoN,QAAS5J,SAAS,I,4DAHb,EAAuB,QAD3C,QACoB,WChBohB,I,qECQriBO,EAAY,eACd,EACA/E,EACAmD,GACA,EACA,KACA,WACA,MAIa,EAAA4B,EAAiB,QAMhC,IAAkBA,EAAW,CAACC,OAAA,KAAKI,OAAA,OCtBpB,U,yDCHf,yBAAguB,EAAG,G,gFCAnuB,yBAA8uB,EAAG,G,kCCAjvB,yBAAwuB,EAAG","file":"js/instant-match-details-layout.65932219.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{staticClass:\"px-6 py-8 ma-0\"},[_c('v-container',{staticClass:\"information ma-0 pa-0\",class:{\n 'display-info-on-hover': _vm.displayInfoOnHover,\n 'display-info': _vm.displayInfo\n },attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"align\":\"center\"}},[_c('div',{staticClass:\"logo-container\"},[_c('img',{directives:[{name:\"img-fallback\",rawName:\"v-img-fallback\",value:({ type: 'tournamentLogo' }),expression:\"{ type: 'tournamentLogo' }\"}],staticClass:\"tournament-logo\",attrs:{\"src\":_vm.logo}})])])],1),_c('v-fade-transition',{attrs:{\"mode\":\"out-in\"}},[(_vm.isTextVisible)?_c('v-row',[_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c('h1',{staticClass:\"font-weight-black tournament-name mb-5 text-uppercase\"},[_vm._v(\" \"+_vm._s(_vm.name)+\" \")])]),_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"12\"}},[_c('v-icon',{staticClass:\"tournament-information-icon mb-2 mr-3\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-trophy-variant\")]),_vm._l((_vm.prizeComponents),function(prizeComponent,index){return _c('span',{key:(\"prize-component-\" + _vm.tournamentId + \"-\" + index),class:_vm.getPrizeComponentClass(prizeComponent)},[_vm._v(\" \"+_vm._s(prizeComponent)+\" \")])})],2),_c('v-col',{staticClass:\"pt-0 pr-0\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"subtitle-1\"},[_c('v-icon',{staticClass:\"tournament-information-icon mr-3\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-calendar-text-outline\")]),_c('span',{staticClass:\"pt-3\"},[_vm._v(\" \"+_vm._s(_vm._f(\"date\")(_vm.registrationStartTime))+\" - \"+_vm._s(_vm._f(\"date\")(_vm.registrationEndTime))+\" \")])],1)]),(_vm.startTime)?_c('v-col',{staticClass:\"pt-0 pr-0\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"subtitle-1\"},[_c('v-icon',{staticClass:\"tournament-information-icon mr-3\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-sword-cross\")]),_c('span',{staticClass:\"pt-3\"},[_vm._v(\" \"+_vm._s(_vm._f(\"date\")(_vm.startTime))+\" - \"+_vm._s(_vm._f(\"date\")(_vm.endTime))+\" \")])],1)]):_vm._e(),_c('v-col',{staticClass:\"pt-0 pr-0\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"subtitle-1\"},[_c('v-icon',{staticClass:\"tournament-information-icon mr-3\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-earth\")]),_c('span',{staticClass:\"pt-3 font-weight-bold text-uppercase\"},[(!_vm.regions || _vm.regions.length === 0)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.AllRegions'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.regions .map(function (ri) { return _vm.$te('Regions.' + ri.code) ? _vm.$t('Regions.' + ri.code) : ri.name; } ) .join('.'))+\" \")]],2)],1)]),_c('v-col',{staticClass:\"pt-0 pr-0\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"subtitle-1\"},[_c('v-icon',{staticClass:\"tournament-information-icon mr-3\",attrs:{\"size\":\"20\"}},[_vm._v(\"mdi-checkbook\")]),_c('span',{staticClass:\"pt-3 font-weight-bold text-uppercase\"},[(!_vm.hasEntryFee)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.NoEntryFee'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.Fee', [_vm.entryFee]))+\" \")]],2)],1)]),_c('v-col',{attrs:{\"cols\":\"12\"}},[(!_vm.isFeaturedTournament)?_c('div',{staticClass:\"py-2 text-uppercase font-weight-bold\"},[(_vm.state === 'OpenRegistration')?_c('span',{staticClass:\"secondary--text\"},[_c('v-icon',{staticClass:\"mr-1 secondary--text\"},[_vm._v(\"mdi-sword-cross\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentState.OpenRegistration'))+\" \")],1):_vm._e(),(_vm.state === 'InProgress')?_c('span',{staticClass:\"secondary--text\"},[_c('v-icon',{staticClass:\"mr-1 secondary--text\"},[_vm._v(\"mdi-sword-cross\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentState.InProgress'))+\" \")],1):_vm._e(),(_vm.state === 'WaitingForCheckIn')?_c('span',{staticClass:\"orange--text\"},[_c('v-icon',{staticClass:\"mr-3 orange--text\",attrs:{\"small\":\"\"}},[_vm._v(\"mdi-sword-cross\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentState.WaitingForCheckIn'))+\" \")],1):(_vm.state === 'Completed')?_c('span',{staticClass:\"green--text\"},[_c('v-icon',{staticClass:\"mr-1 green--text\"},[_vm._v(\"mdi-check-bold\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.TournamentCompleted'))+\" \")],1):(_vm.state === 'Cancelled')?_c('span',{staticClass:\"red--text\"},[_c('v-icon',{staticClass:\"mr-1 red--text\"},[_vm._v(\"mdi-close-circle\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.TournamentCancelled'))+\" \")],1):(_vm.state === 'CompleteRegistration')?_c('span',{staticClass:\"red--text\"},[_c('v-icon',{staticClass:\"mr-1 red--text\"},[_vm._v(\"mdi-close-circle\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentState.CompleteRegistration'))+\" \")],1):_vm._e()]):_vm._e(),(_vm.shouldStatusButtonVisible)?_c('AppButton',{attrs:{\"buttonType\":\"tournament\",\"size\":\"auto\",\"label\":_vm.tournamentActionString,\"icon\":_vm.tournamentIconString,\"loading\":_vm.tournamentActionLoading},on:{\"click\":_vm.onTournamentSelected}}):_vm._e(),_vm._t(\"default\")],2)],1):_vm._e()],1)],1)],1)}\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\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Emit } from 'vue-property-decorator'\r\nimport TournamentChip from '@/modules/tournament/components/TournamentChip'\r\nimport AppButton from '@/modules/shared/components/AppButton'\r\nimport { TournamentState } from '@/api/tournament'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport { date } from '@/utils'\r\nimport { RegionInfo } from '@/api/config'\r\n\r\nexport enum TournamentAction {\r\n ViewTournament = 'VIEW_TOURNAMENT',\r\n ViewRegistrationStatus = 'VIEW_REGISTRATION_STATUS',\r\n JoinTournament = 'JOIN_TOURNAMENT',\r\n ViewBracket = 'VIEW_BRACKET'\r\n}\r\n\r\n@Component({\r\n components: {\r\n TournamentChip,\r\n AppButton\r\n },\r\n filters: {\r\n date\r\n }\r\n})\r\nexport default class TournamentBasicInformation extends Vue {\r\n @Prop({ required: true }) readonly tournamentId!: string\r\n @Prop({ required: true }) readonly name!: string\r\n @Prop({ required: true }) readonly logo!: string\r\n @Prop({ required: true }) readonly game!: string\r\n @Prop({ required: true }) readonly regions!: RegionInfo[]\r\n @Prop({ required: true }) readonly registrationStartTime!: Date\r\n @Prop({ required: true }) readonly registrationEndTime!: Date\r\n @Prop({ required: true }) readonly startTime!: Date\r\n @Prop({ required: true }) readonly endTime!: Date\r\n @Prop({ required: true }) readonly prizePool!: string\r\n @Prop({ default: false }) readonly displayInfoOnHover!: boolean\r\n @Prop({ default: false }) readonly displayInfo!: boolean\r\n @Prop({ default: false }) readonly hideActionButton!: boolean\r\n @Prop({ default: false }) readonly isFeaturedTournament!: boolean\r\n @Prop({ default: false }) readonly tournamentActionLoading!: boolean\r\n @Prop({ default: false }) readonly hasEntryFee!: boolean\r\n @Prop({ default: '' }) readonly entryFee!: string\r\n @Prop({ default: TournamentState.Initial }) readonly state!: TournamentState\r\n @Prop({ default: TournamentAction.JoinTournament })\r\n readonly tournamentAction!: TournamentAction\r\n @Prop({ default: 'max' }) readonly buttonSize!: string\r\n\r\n isTextVisible: boolean = false\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n /* Hooks */\r\n mounted() {\r\n setTimeout(() => {\r\n this.isTextVisible = true\r\n }, 100)\r\n }\r\n\r\n /* Computed Properties */\r\n get prizeComponents(): string[] {\r\n return this.prizePool.split(/([\\d|,]+)/)\r\n }\r\n\r\n get tournamentActionString() {\r\n switch (this.tournamentAction) {\r\n case TournamentAction.ViewTournament:\r\n return this.$t('TournamentBasicInformation.ViewTournament')\r\n\r\n case TournamentAction.ViewRegistrationStatus:\r\n return this.$t('TournamentBasicInformation.ViewRegistrationStatus')\r\n\r\n case TournamentAction.JoinTournament:\r\n return this.$t('TournamentBasicInformation.JoinTournament')\r\n }\r\n }\r\n\r\n get tournamentIconString() {\r\n switch (this.tournamentAction) {\r\n case TournamentAction.ViewTournament:\r\n return 'mdi-eye'\r\n\r\n case TournamentAction.ViewRegistrationStatus:\r\n return 'mdi-text-box'\r\n\r\n case TournamentAction.JoinTournament:\r\n return 'mdi-account-multiple-plus-outline'\r\n }\r\n }\r\n\r\n get isUserJoinedTournament() {\r\n return this.tournamentModule.joinedTournaments\r\n .map(tournament => tournament.tournamentId)\r\n .includes(this.tournamentId)\r\n }\r\n\r\n get shouldStatusButtonVisible() {\r\n if (this.hideActionButton) {\r\n return false\r\n }\r\n\r\n if (this.$route.name === 'Landing') {\r\n return true\r\n }\r\n\r\n if (this.state === TournamentState.OpenRegistration) {\r\n return true\r\n }\r\n\r\n if (this.isUserJoinedTournament) {\r\n return true\r\n }\r\n\r\n return false\r\n }\r\n\r\n get TournamentAction() {\r\n return TournamentAction\r\n }\r\n\r\n /* Methods */\r\n getPrizeComponentClass(value: string) {\r\n if (/([\\d|,]+)/.test(value)) return 'prize-number'\r\n else return 'prize-text'\r\n }\r\n\r\n /* Emitter */\r\n @Emit('select')\r\n onTournamentSelected() {\r\n return this\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!./TournamentBasicInformation.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!./TournamentBasicInformation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentBasicInformation.vue?vue&type=template&id=241b5bc8&scoped=true&\"\nimport script from \"./TournamentBasicInformation.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentBasicInformation.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentBasicInformation.vue?vue&type=style&index=0&id=241b5bc8&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 \"241b5bc8\",\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 { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFadeTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VContainer,VFadeTransition,VIcon,VRow})\n","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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-chip',{staticClass:\"mr-4 px-4\",attrs:{\"label\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.label.toUpperCase())+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Emit } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class TournamentChip extends Vue {\r\n @Prop({ required: true }) readonly label!: string\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!./TournamentChip.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!./TournamentChip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentChip.vue?vue&type=template&id=02cfea5a&scoped=true&\"\nimport script from \"./TournamentChip.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentChip.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentChip.vue?vue&type=style&index=0&id=02cfea5a&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 \"02cfea5a\",\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 { VChip } from 'vuetify/lib/components/VChip';\ninstallComponents(component, {VChip})\n","import TournamentChip from './TournamentChip.vue'\r\n\r\nexport { TournamentChip }\r\nexport default TournamentChip\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&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tournament)?_c('div',[(_vm.displayHeader)?_c('TournamentDetailsHeader',{attrs:{\"header\":_vm.$t('TournamentDetailsBracket.Bracket')}}):_vm._e(),(_vm.isLoading && !_vm.isFetched)?_c('div',{staticClass:\"text-center mx-auto\"},[_c('v-progress-circular',{staticClass:\"loading-box\",attrs:{\"indeterminate\":\"\",\"color\":\"grey\",\"size\":\"150\"}})],1):(!_vm.hasStages || !_vm.hasBracket)?_c('div',{staticClass:\"text-center ma-12\"},[_c('v-icon',{staticStyle:{\"font-size\":\"10rem\"}},[_vm._v(\"mdi-progress-wrench\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentDetailsBracket.TheBracketIsNotReady'))+\" \")])],1):_c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":_vm.mobileWidth}},[_c('v-tabs',{attrs:{\"dark\":\"\",\"background-color\":\"primary darken-1\",\"height\":_vm.isMobileView ? '2rem' : '3.5rem'},model:{value:(_vm.stageTab),callback:function ($$v) {_vm.stageTab=$$v},expression:\"stageTab\"}},[_vm._l((_vm.stages),function(stage){return [_c('v-tab',{key:(\"tournament-stage-\" + (stage.number)),staticClass:\"font-weight-bold\"},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-ladder\")]),_vm._v(\" #\"+_vm._s(stage.number)+\" - \"+_vm._s(stage.name)+\" \")],1)]})],2)],1),_c('v-col',{attrs:{\"cols\":_vm.mobileWidth}},[_c('div',{staticClass:\"primary darken-1 fill-height d-flex align-center py-1\"},[(!_vm.isMobileView)?_c('v-spacer'):_vm._e(),_c('v-select',{staticClass:\"mx-2 my-1 my-lg-0 group-selector\",attrs:{\"light\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"solo\":\"\",\"items\":_vm.groups},model:{value:(_vm.groupTab),callback:function ($$v) {_vm.groupTab=$$v},expression:\"groupTab\"}})],1)])],1),_c('v-tabs-items',{attrs:{\"touchless\":\"\"},model:{value:(_vm.stageTab),callback:function ($$v) {_vm.stageTab=$$v},expression:\"stageTab\"}},_vm._l((_vm.stages),function(stage,index){return _c('v-tab-item',{key:(\"tournament-stage-\" + (stage.number) + \"-\" + index),staticClass:\"stage-tab-item\"},[(_vm.stageTab == index)?[_c('div',{staticClass:\"bracket-status grey--text subtitle-1 text-uppercase\"},[_c('v-slide-x-transition',{attrs:{\"mode\":\"out-in\"}},[(_vm.isLoading)?_c('span',{staticClass:\"orange--text\"},[_c('v-progress-circular',{staticClass:\"mr-2\",attrs:{\"indeterminate\":\"\",\"color\":\"orange\",\"width\":4,\"size\":24}}),_vm._v(\" \"+_vm._s(_vm.$t('TournamentDetailsBracket.UpdatingBracketData'))+\" \")],1):_c('div',[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-clock-time-eight-outline\")]),_c('span',{staticClass:\"pt-5\"},[_vm._v(_vm._s(_vm.$t('TournamentDetailsBracket.BracketLastUpdated'))+\" \"+_vm._s(_vm._f(\"moment\")(_vm.loadTime,'from')))])],1)])],1),(_vm.getIsDisplayStageBracket(stage))?_c('StageBracket',{ref:\"bracket\",refInFor:true,attrs:{\"tournamentId\":_vm.tournamentId,\"brackets\":stage.brackets,\"format\":stage.setting.stageFormat,\"tab\":_vm.groupTab,\"dense\":_vm.dense}}):_c('div',[_c('div',{staticClass:\"text-center\"},[_c('v-icon',{staticClass:\"mt-15 pt-15\",staticStyle:{\"font-size\":\"5rem\"}},[_vm._v(\"mdi-progress-wrench\")]),_c('p',{staticClass:\"title mb-15 pb-15\"},[_vm._v(\" \"+_vm._s(_vm.getStageBracketInvisibleMessage(stage))+\" \")])],1)])]:_vm._e()],2)}),1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import StageBracket from './StageBracket.vue'\r\n\r\nexport { StageBracket }\r\nexport default StageBracket\r\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 { Vue, Component, Prop, Watch } from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { TournamentEntity, ResponseStatus } from '@/api/tournament'\r\nimport { StageAPI, StageEntity, StageState } from '@/api/stage'\r\nimport StageBracket from '@/modules/tournament/components/StageBracket'\r\nimport TournamentDetailsHeader from '@/modules/tournament/components/TournamentDetailsHeader'\r\nimport { getRealtimeConnection, realtimeEventTarget } from '@/utils/realtime'\r\nimport { HubConnection } from '@microsoft/signalr'\r\nimport { CancelError, CancellationToken } from '@/utils/cancel'\r\n\r\n@Component({\r\n components: {\r\n StageBracket,\r\n TournamentDetailsHeader\r\n }\r\n})\r\nexport default class TournamentDetailsBracket extends Vue {\r\n @Prop({ default: true }) displayHeader!: boolean\r\n @Prop({ default: false }) dense!: boolean\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n stageTab: number | null = 0\r\n groupTab: number | null = 0\r\n stages: StageEntity[] = []\r\n realtimeConnection!: HubConnection\r\n realtimeConnectionCancellationToken = new CancellationToken()\r\n isFetched: boolean = false\r\n isLoading: boolean = true\r\n loadTime: Date = new Date()\r\n\r\n interval: number | null = null\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 tournamentId() {\r\n return this.tournament!.tournamentId\r\n }\r\n\r\n get StageState() {\r\n return StageState\r\n }\r\n\r\n get isMobileView() {\r\n return this.$vuetify.breakpoint.smAndDown\r\n }\r\n get mobileWidth() {\r\n return this.isMobileView ? 12 : undefined\r\n }\r\n\r\n @Watch('stageTab')\r\n onStageTabChanged() {\r\n this.groupTab = 0\r\n }\r\n\r\n /* Vue Hooks */\r\n async created() {\r\n await this.fetchStages()\r\n await this.subscribeRealtimeEvents()\r\n realtimeEventTarget.addEventListener(\r\n 'connect',\r\n this.subscribeRealtimeEvents\r\n )\r\n realtimeEventTarget.addEventListener(\r\n 'reconnected',\r\n this.subscribeRealtimeEvents\r\n )\r\n this.interval = window.setInterval(() => {\r\n this.$forceUpdate()\r\n }, 15 * 1000)\r\n }\r\n\r\n async beforeDestroy() {\r\n await this.unsubscribeRealtimeEvents()\r\n realtimeEventTarget.removeEventListener(\r\n 'connect',\r\n this.subscribeRealtimeEvents\r\n )\r\n realtimeEventTarget.removeEventListener(\r\n 'reconnected',\r\n this.subscribeRealtimeEvents\r\n )\r\n clearInterval(this.interval!)\r\n }\r\n\r\n /* Methods */\r\n async fetchStages() {\r\n this.isLoading = true\r\n try {\r\n const response = await StageAPI.getTournamentStages(this.tournamentId)\r\n if (response.data.status === ResponseStatus.Ok) {\r\n let data = []\r\n for (const [index, stage] of response.data.payload!.entries()) {\r\n const res = await StageAPI.getStage(stage.stageId)\r\n if (res.data.payload) {\r\n data.push(res.data.payload)\r\n }\r\n }\r\n this.stages = data\r\n this.loadTime = new Date()\r\n }\r\n } catch {\r\n } finally {\r\n this.isFetched = true\r\n this.isLoading = false\r\n }\r\n }\r\n\r\n async subscribeRealtimeEvents() {\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(\r\n this.$t('TournamentDetailsBracket.FailConnectServerMessage')\r\n )\r\n console.error(err)\r\n }\r\n this.realtimeConnection.on(\r\n 'stageBracketUpdated',\r\n this.onStageBracketUpdated\r\n )\r\n }\r\n\r\n async unsubscribeRealtimeEvents() {\r\n this.realtimeConnectionCancellationToken.cancel()\r\n if (this.realtimeConnection) {\r\n this.realtimeConnection.off(\r\n 'stageBracketUpdated',\r\n this.onStageBracketUpdated\r\n )\r\n }\r\n }\r\n\r\n async onStageBracketUpdated() {\r\n await this.fetchStages()\r\n this.$toast(this.$t('TournamentDetailsBracket.BracketUpdated'), {\r\n color: 'green',\r\n x: 'center',\r\n y: 'bottom',\r\n icon: 'mdi-clock-check-outline',\r\n dismissable: true\r\n })\r\n }\r\n\r\n getIsDisplayStageBracket(stage: StageEntity) {\r\n if (stage.state === 'Initial' || !stage.isBracketVisible) return false\r\n return true\r\n }\r\n\r\n getStageBracketInvisibleMessage(stage: StageEntity) {\r\n if (stage.state === 'Initial')\r\n return this.$t('TournamentDetailsBracket.TheBracketIsNotReady')\r\n else if (!stage.isBracketVisible)\r\n return this.$t('TournamentDetailsBracket.AdminAdjustBracket')\r\n return ''\r\n }\r\n\r\n /* Getter */\r\n get hasStages() {\r\n return this.tournament && this.stages.length > 0\r\n }\r\n\r\n get hasBracket() {\r\n if (!this.hasStages) return false\r\n\r\n return this.stages.some(stage => stage.brackets && stage.brackets.length)\r\n }\r\n\r\n get groups() {\r\n if (!this.hasStages) return []\r\n\r\n const stage = this.stages[(this.stageTab || 0) as number]\r\n if (!stage) return []\r\n\r\n return stage.brackets.map((bracket, index) => ({\r\n text: bracket.name || '組別 #' + bracket.groupNumber,\r\n value: index\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!./TournamentDetailsBracket.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!./TournamentDetailsBracket.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentDetailsBracket.vue?vue&type=template&id=1450bd42&scoped=true&\"\nimport script from \"./TournamentDetailsBracket.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentDetailsBracket.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentDetailsBracket.vue?vue&type=style&index=0&id=1450bd42&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 \"1450bd42\",\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 { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSlideXTransition } from 'vuetify/lib/components/transitions';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\ninstallComponents(component, {VCol,VIcon,VProgressCircular,VRow,VSelect,VSlideXTransition,VSpacer,VTab,VTabItem,VTabs,VTabsItems})\n","import TournamentDetailsBracket from './TournamentDetailsBracket.vue'\r\n\r\nexport { TournamentDetailsBracket }\r\nexport default TournamentDetailsBracket\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!./TournamentPlayers.vue?vue&type=style&index=0&id=0c89911a&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!./TournamentPlayers.vue?vue&type=style&index=0&id=0c89911a&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!./TournamentDetailsBracket.vue?vue&type=style&index=0&id=1450bd42&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!./TournamentDetailsBracket.vue?vue&type=style&index=0&id=1450bd42&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../../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!./InstantMatchTournamentInformationDialog.vue?vue&type=style&index=0&id=eb5af694&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../../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!./InstantMatchTournamentInformationDialog.vue?vue&type=style&index=0&id=eb5af694&scoped=true&lang=css&\"","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!./TournamentActionDialog.vue?vue&type=style&index=0&id=50f119e1&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!./TournamentActionDialog.vue?vue&type=style&index=0&id=50f119e1&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.brackets.length)?_c('div',{staticClass:\"stage-container\",class:{ dense: _vm.dense }},[_c('v-tabs-items',{attrs:{\"touchless\":\"\"},model:{value:(_vm.groupTab),callback:function ($$v) {_vm.groupTab=$$v},expression:\"groupTab\"}},_vm._l((_vm.sortedBracket),function(bracket,index){return _c('v-tab-item',{key:(\"stage-bracket-items-\" + index + \"-\" + (bracket.bracketId)),attrs:{\"transition\":\"fade-transition\",\"reverse-transition\":\"fade-transition\"}},[(index == _vm.groupTab)?[(_vm.format === 'SingleElimination')?_c('tournament-bracket',{attrs:{\"bracket\":bracket,\"disable-drag-scroll\":_vm.disableDragScroll},on:{\"selected\":_vm.onTeamSelected},scopedSlots:_vm._u([{key:\"header\",fn:function(ref){\nvar match = ref.match;\nvar round = ref.round;\nvar validTeams = ref.validTeams;\nreturn [_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"mr-auto\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('div',_vm._g({staticClass:\"match-schedule\"},on),[_c('div',[(match.name)?_c('h3',{staticClass:\"mb-1\"},[_c('v-icon',[_vm._v(\"mdi-trophy\")]),_vm._v(\" \"+_vm._s(match.name)+\" \")],1):_vm._e(),(match.checkInEndTime)?[_c('span',{staticClass:\"font-weight-bold\"},[_c('v-icon',[_vm._v(\"mdi-calendar\")]),_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(match.checkInEndTime))+\" \")],1)]:[(!validTeams && round === 1)?[_c('span',{staticClass:\"font-italic\"},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-debug-step-over\")]),_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.ByeAutoAdvance'))+\" \")],1)]:(\n match.setting && match.setting.checkInStartTime\n )?[_c('span',{staticClass:\"font-weight-bold\"},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-calendar\")]),_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")((match.setting.checkInStartTime + match.setting.checkInDuration * 60)))+\" \")],1)]:[_c('span',{staticClass:\"font-italic\"},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-calendar-remove\")]),_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.Pending'))+\" \")],1)]]],2)])]}}],null,true)},[(match.checkInEndTime)?_c('div',[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.Start'))+\": \"+_vm._s(_vm._f(\"dateTime\")(match.checkInStartTime))+\" \")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.End'))+\": \"+_vm._s(_vm._f(\"dateTime\")(match.checkInEndTime))+\" \")])]):(\n match.setting && match.setting.checkInStartTime\n )?_c('div',[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.Start'))+\": \"+_vm._s(_vm._f(\"dateTime\")(match.setting.checkInStartTime))+\" \")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.End'))+\": \"+_vm._s(_vm._f(\"dateTime\")((match.setting.checkInStartTime + match.setting.checkInDuration * 60)))+\" \")])]):_c('div',[_vm._v(_vm._s(_vm.$t('StageBracket.NoSchedule'))+\":\")])])],1),_c('div',[_c('BracketMatchGameChips',{attrs:{\"matchGame\":match.matchGame,\"isCompleted\":match.isAdvanced,\"outlined\":\"\",\"hideCheckInStatus\":\"\"}})],1)])]}},{key:\"footer\",fn:function(ref){\n var index = ref.index;\n var match = ref.match;\nreturn [(match && match.identifier)?_c('div',[_vm._v(\" \"+_vm._s(match.identifier)+\" \")]):_vm._e()]}}],null,true)}):(_vm.format === 'RoundRobin')?_c('round-robin-bracket',{attrs:{\"bracket\":bracket,\"disable-drag-scroll\":_vm.disableDragScroll},on:{\"selected\":_vm.onTeamSelected},scopedSlots:_vm._u([{key:\"score-table\",fn:function(ref){\n var teams = ref.teams;\nreturn [_c('v-expansion-panels',{staticStyle:{\"z-index\":\"3\"},attrs:{\"flat\":\"\",\"tile\":\"\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',{attrs:{\"color\":\"secondary\"}},[_c('h3',[_c('v-icon',[_vm._v(\"mdi-table-account\")]),_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.ViewTeamScore'))+\" \")],1)]),_c('v-expansion-panel-content',[_c('v-data-table',{attrs:{\"headers\":[\n {\n text: _vm.$t('StageBracket.Team'),\n value: 'name'\n },\n {\n text: _vm.$t('StageBracket.Win'),\n value: 'win'\n },\n {\n text: _vm.$t('StageBracket.Draw'),\n value: 'draw'\n },\n {\n text: _vm.$t('StageBracket.Lose'),\n value: 'lose'\n }\n ],\"items\":teams,\"disable-pagination\":\"\",\"hide-default-footer\":\"\"}})],1)],1)],1)]}},{key:\"header\",fn:function(ref){\n var match = ref.match;\n var round = ref.round;\n var validTeams = ref.validTeams;\nreturn [_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"mr-auto\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('div',_vm._g({staticClass:\"match-schedule\"},on),[_c('div',[(match.name)?_c('h3',{staticClass:\"mb-1\"},[_c('v-icon',[_vm._v(\"mdi-trophy\")]),_vm._v(\" \"+_vm._s(match.name)+\" \")],1):_vm._e(),(match.checkInEndTime)?[_c('span',{staticClass:\"font-weight-bold\"},[_c('v-icon',[_vm._v(\"mdi-calendar\")]),_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(match.checkInEndTime))+\" \")],1)]:[(!validTeams && round === 1)?[_c('span',{staticClass:\"font-italic\"},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-debug-step-over\")]),_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.ByeAutoAdvance'))+\" \")],1)]:(\n match.setting && match.setting.checkInStartTime\n )?[_c('span',{staticClass:\"font-weight-bold\"},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-calendar\")]),_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")((match.setting.checkInStartTime + match.setting.checkInDuration * 60 * 1000)))+\" \")],1)]:[_c('span',{staticClass:\"font-italic\"},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-calendar-remove\")]),_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.Pending'))+\" \")],1)]]],2)])]}}],null,true)},[(match.checkInEndTime)?_c('div',[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.Start'))+\": \"+_vm._s(_vm._f(\"dateTime\")(match.checkInStartTime))+\" \")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.End'))+\": \"+_vm._s(_vm._f(\"dateTime\")(match.checkInEndTime))+\" \")])]):(\n match.setting && match.setting.checkInStartTime\n )?_c('div',[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.Start'))+\": \"+_vm._s(_vm._f(\"dateTime\")(match.setting.checkInStartTime))+\" \")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.End'))+\": \"+_vm._s(_vm._f(\"dateTime\")((match.setting.checkInStartTime + match.setting.checkInDuration * 60 * 1000)))+\" \")])]):_c('div',[_vm._v(_vm._s(_vm.$t('StageBracket.NoSchedule'))+\":\")])])],1),_c('div',[_c('BracketMatchGameChips',{attrs:{\"matchGame\":match.matchGame,\"outlined\":\"\",\"hideCheckInStatus\":\"\"}})],1)])]}},{key:\"footer\",fn:function(ref){\n var index = ref.index;\n var match = ref.match;\nreturn [(match && match.identifier)?_c('div',[_vm._v(\" \"+_vm._s(match.identifier)+\" \")]):_vm._e()]}}],null,true)}):(_vm.format === 'FreeForAll')?_c('ffa-bracket',{attrs:{\"bracket\":bracket,\"disable-drag-scroll\":_vm.disableDragScroll},on:{\"selected\":_vm.onTeamSelected},scopedSlots:_vm._u([{key:\"score-table\",fn:function(ref){\n var scores = ref.scores;\nreturn [_c('v-expansion-panels',{attrs:{\"flat\":\"\",\"tile\":\"\"},model:{value:(_vm.scoreTableExpanded),callback:function ($$v) {_vm.scoreTableExpanded=$$v},expression:\"scoreTableExpanded\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',{attrs:{\"color\":\"secondary\"}},[_c('h3',[_c('v-icon',[_vm._v(\"mdi-table-account\")]),_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.ViewTeamScore'))+\" \")],1)]),_c('v-expansion-panel-content',{staticClass:\"ffa-content\"},[_c('v-data-table',{staticClass:\"ffa-score-table\",attrs:{\"headers\":[\n {\n text: _vm.$vuetify.breakpoint.mobile ? 'Rank #' : '#',\n value: 'rank',\n width: 80,\n align: 'center',\n sortable: false,\n cellClass: 'cell-rank',\n class: 'cell-rank'\n },\n {\n text: _vm.$t('StageBracket.Team'),\n value: 'name'\n },\n {\n text: _vm.$t('StageBracket.Score'),\n value: 'score',\n align: 'end',\n cellClass: 'cell-score pr-10',\n class: 'pr-10'\n }\n ],\"items\":scores,\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"dense\":\"\"}})],1)],1)],1)]}},{key:\"header\",fn:function(ref){\n var match = ref.match;\n var round = ref.round;\n var validTeams = ref.validTeams;\nreturn [_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"mr-auto\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('div',_vm._g({staticClass:\"match-schedule\"},on),[_c('div',[(match.name)?_c('h3',{staticClass:\"mb-1\"},[_c('v-icon',[_vm._v(\"mdi-trophy\")]),_vm._v(\" \"+_vm._s(match.name)+\" \")],1):_vm._e(),(match.checkInEndTime)?[_c('span',{staticClass:\"font-weight-bold\"},[_c('v-icon',[_vm._v(\"mdi-calendar\")]),_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(match.checkInEndTime))+\" \")],1)]:[(\n match.setting && match.setting.checkInStartTime\n )?[_c('span',{staticClass:\"font-weight-bold\"},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-calendar\")]),_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")((match.setting.checkInStartTime + match.setting.checkInDuration * 60)))+\" \")],1)]:[_c('span',{staticClass:\"font-italic\"},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-calendar-remove\")]),_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.Pending'))+\" \")],1)]]],2)])]}}],null,true)},[(match.checkInEndTime)?_c('div',[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.Start'))+\": \"+_vm._s(_vm._f(\"dateTime\")(match.checkInStartTime))+\" \")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.End'))+\": \"+_vm._s(_vm._f(\"dateTime\")(match.checkInEndTime))+\" \")])]):(\n match.setting && match.setting.checkInStartTime\n )?_c('div',[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.Start'))+\": \"+_vm._s(_vm._f(\"dateTime\")(match.setting.checkInStartTime))+\" \")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('StageBracket.End'))+\": \"+_vm._s(_vm._f(\"dateTime\")((match.setting.checkInStartTime + match.setting.checkInDuration * 60)))+\" \")])]):_c('div',[_vm._v(_vm._s(_vm.$t('StageBracket.NoSchedule'))+\":\")])])],1),_c('div',[_c('BracketMatchGameChips',{attrs:{\"matchGame\":match.matchGame,\"isCompleted\":match.isAdvanced,\"outlined\":\"\",\"hideCheckInStatus\":\"\"}})],1)])]}},{key:\"footer\",fn:function(ref){\n var index = ref.index;\n var match = ref.match;\nreturn [(match && match.identifier)?_c('div',[_vm._v(\" \"+_vm._s(match.identifier)+\" \")]):_vm._e()]}}],null,true)}):_vm._e()]:_vm._e()],2)}),1),_c('TournamentTeamDialog',{attrs:{\"isVisible\":_vm.isTournamentTeamDialogVisible,\"tournamentTeamId\":_vm.selectedTournamentTeamId},on:{\"close\":_vm.closeTournamentTeamDialog}})],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":!_vm.matchGame},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-chip',_vm._g(_vm._b({staticClass:\"caption\",class:{\n blue: _vm.isGamePlaying,\n green: _vm.isGameCompleted,\n orange: _vm.isGameRequiresAttention,\n black: _vm.isGameWaiting,\n 'white--text':\n _vm.isGamePlaying ||\n _vm.isGameCompleted ||\n _vm.isGameRequiresAttention ||\n _vm.isGameWaiting\n },attrs:{\"label\":\"\",\"x-small\":\"\",\"outlined\":_vm.outlined}},'v-chip',attrs,false),on),[_c('v-icon',{class:{\n 'white--text':\n _vm.isGamePlaying ||\n _vm.isGameCompleted ||\n _vm.isGameRequiresAttention ||\n _vm.isGameWaiting\n },attrs:{\"left\":\"\",\"x-small\":\"\"}},[_vm._v(_vm._s(_vm.stateIcon))]),_vm._v(\" \"+_vm._s(_vm.$t('MatchGameState.' + _vm.state))+\" \")],1)]}}])},[(_vm.matchGame)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t('BracketMatchManageDialog.Game', { currentGameRound: _vm.matchGame.currentRound, totalGameRound: _vm.matchGame.totalRound }))+\" \")]):_vm._e()]),(_vm.matchGame && _vm.isGameWaiting && !_vm.hideCheckInStatus)?_c('v-chip',{staticClass:\"ml-2\",attrs:{\"x-small\":\"\",\"outlined\":_vm.outlined}},[_c('v-icon',{attrs:{\"left\":\"\",\"x-small\":\"\"}},[_vm._v(\"mdi-account-group\")]),_vm._v(\" \"+_vm._s(_vm.$t('BracketMatchGameChips.CheckedIn', { current: _vm.matchGame.checkIn, total: _vm.matchGame.checkInTotal }))+\" \")],1):_vm._e()],1)}\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 { MatchGameState } from '@/api/match'\r\nimport { BracketMatchGameEntity } from '@/api/stage'\r\nimport { Vue, Component, Prop } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class BracketMatchGameChips extends Vue {\r\n @Prop({ type: Object })\r\n readonly matchGame!: BracketMatchGameEntity\r\n\r\n @Prop({ type: Boolean, default: false }) readonly isCompleted!: boolean\r\n @Prop({ type: Boolean, default: false }) readonly outlined!: boolean\r\n @Prop({ type: Boolean, default: false }) readonly hideCheckInStatus!: boolean\r\n\r\n get state() {\r\n if (this.isCompleted) return MatchGameState.Completed\r\n\r\n if (!this.matchGame) return MatchGameState.Initial\r\n\r\n return this.matchGame.state\r\n }\r\n\r\n get isGameWaiting() {\r\n return this.state === 'Waiting'\r\n }\r\n\r\n get isGameCompleted() {\r\n return this.isCompleted || this.state === 'Completed'\r\n }\r\n\r\n get isGamePlaying() {\r\n return this.state === 'Playing'\r\n }\r\n\r\n get isGameRequiresAttention() {\r\n return this.state === 'ResultSubmitted' || this.state === 'Disputed'\r\n }\r\n\r\n get stateIcon() {\r\n switch (this.state) {\r\n case MatchGameState.Initial:\r\n return 'mdi-clock-outline'\r\n case MatchGameState.Waiting:\r\n return 'mdi-timer-sand'\r\n case MatchGameState.Playing:\r\n return 'mdi-play-outline'\r\n case MatchGameState.Completed:\r\n return 'mdi-check-bold'\r\n case MatchGameState.Ready:\r\n return 'mdi-check-all'\r\n case MatchGameState.ResultSubmitted:\r\n case MatchGameState.Disputed:\r\n return 'mdi-calendar-check-outline'\r\n default:\r\n return 'mdi-alert-octagon'\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!./BracketMatchGameChips.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!./BracketMatchGameChips.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BracketMatchGameChips.vue?vue&type=template&id=9e51387c&scoped=true&\"\nimport script from \"./BracketMatchGameChips.vue?vue&type=script&lang=ts&\"\nexport * from \"./BracketMatchGameChips.vue?vue&type=script&lang=ts&\"\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 \"9e51387c\",\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 { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VChip,VIcon,VTooltip})\n","import BracketMatchGameChips from './BracketMatchGameChips.vue'\r\nexport default BracketMatchGameChips\r\nexport { BracketMatchGameChips }\r\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\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\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 { Vue, Component, Prop, PropSync, Watch } from 'vue-property-decorator'\r\nimport { BracketTournamentTeamSelected } from '@/plugins/TournamentBracket/types'\r\nimport {\r\n BracketAdjacencyMatrixEntity,\r\n StageFormatType,\r\n BracketState\r\n} from '@/api/stage'\r\nimport BracketMatchGameChips from '@/modules/tournament/components/BracketMatchGameChips'\r\nimport TournamentTeamDialog from '@/modules/tournament/components/TournamentTeamDialog'\r\nimport { dateTime } from '@/utils'\r\n\r\n@Component({\r\n components: {\r\n TournamentTeamDialog,\r\n BracketMatchGameChips\r\n },\r\n filters: {\r\n dateTime\r\n }\r\n})\r\nexport default class StageBracket extends Vue {\r\n @Prop({ type: Array, required: true })\r\n readonly brackets!: BracketAdjacencyMatrixEntity[]\r\n\r\n @Prop({ required: true })\r\n readonly format!: StageFormatType\r\n\r\n @Prop({ default: false })\r\n readonly dense!: boolean\r\n\r\n @PropSync('tab', { required: true }) groupTab!: string | null\r\n\r\n selectedTournamentTeamId: string = ''\r\n isTournamentTeamDialogVisible: boolean = false\r\n\r\n scoreTableExpanded: any = 0\r\n\r\n /* Methods */\r\n onTeamSelected(data: BracketTournamentTeamSelected) {\r\n this.selectedTournamentTeamId = data.team.tournamentTeamId\r\n this.isTournamentTeamDialogVisible = true\r\n }\r\n\r\n closeTournamentTeamDialog() {\r\n this.isTournamentTeamDialogVisible = false\r\n this.selectedTournamentTeamId = ''\r\n }\r\n\r\n /* Computed Properties */\r\n get sortedBracket() {\r\n return this.brackets.sort((a, b) => a.groupNumber - b.groupNumber)\r\n }\r\n\r\n get disableDragScroll() {\r\n return this.$vuetify.breakpoint.mobile\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!./StageBracket.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!./StageBracket.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StageBracket.vue?vue&type=template&id=53aba97d&scoped=true&\"\nimport script from \"./StageBracket.vue?vue&type=script&lang=ts&\"\nexport * from \"./StageBracket.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./StageBracket.vue?vue&type=style&index=0&id=53aba97d&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 \"53aba97d\",\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 { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabsItems } from 'vuetify/lib/components/VTabs';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VDataTable,VExpansionPanel,VExpansionPanelContent,VExpansionPanelHeader,VExpansionPanels,VIcon,VTabItem,VTabsItems,VTooltip})\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!./InstantMatchDetailsLayout.vue?vue&type=style&index=0&id=70e03ed4&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!./InstantMatchDetailsLayout.vue?vue&type=style&index=0&id=70e03ed4&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!./StageBracket.vue?vue&type=style&index=0&id=53aba97d&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!./StageBracket.vue?vue&type=style&index=0&id=53aba97d&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!./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!./InstantMatchActionButtons.vue?vue&type=style&index=0&id=1020d52e&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!./InstantMatchActionButtons.vue?vue&type=style&index=0&id=1020d52e&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!./TeamRegistrationStatus.vue?vue&type=style&index=0&id=70a0e8da&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!./TeamRegistrationStatus.vue?vue&type=style&index=0&id=70a0e8da&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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"75rem\",\"fullscreen\":_vm.$vuetify.breakpoint.mobile},on:{\"click:outside\":_vm.close,\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',{staticClass:\"card-wrapper\"},[_c('div',{staticClass:\"pa-5 pa-lg-0\"},[_c('div',{staticClass:\"header\"},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Header'))+\" \"),_c('v-spacer'),_c('v-btn',{attrs:{\"large\":\"\",\"icon\":\"\"},on:{\"click\":_vm.close}},[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-close\")])],1)],1),_c('v-card-text',{staticClass:\"card-text-wrapper\"},[_c('v-container',[_c('v-row',[(!_vm.$vuetify.breakpoint.mobile)?_c('v-col',{staticClass:\"pa-10 d-flex justify-center\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"d-flex align-center\"},[_c('RegistrationProgress',{attrs:{\"denominator\":8,\"numerator\":0}}),_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-menu-right\")]),_c('div',{staticClass:\"d-flex flex-column py-6\"},[_c('div',[_c('AppButton',{attrs:{\"label\":_vm.$t('InstantMatchIntroductionDialog.JoinTournament'),\"noEffect\":true,\"ripple\":false,\"block\":true,\"theme\":'purple'}})],1),_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"py-4 pl-4 d-flex\"},[_c('v-btn',{staticClass:\"no-effect-button\",attrs:{\"ripple\":false,\"small\":\"\",\"color\":\"white\",\"fab\":\"\"}},[_c('v-icon',{attrs:{\"color\":\"#783cc7\"}},[_vm._v(\"mdi-account-multiple-plus\")])],1),_c('div',{staticClass:\"px-2\"},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Create'))+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Team'))+\" \")])],1),_c('div',{staticClass:\"py-4 pr-4 d-flex\"},[_c('v-btn',{staticClass:\"no-effect-button\",attrs:{\"ripple\":false,\"small\":\"\",\"color\":\"white\",\"fab\":\"\"}},[_c('v-icon',{attrs:{\"color\":\"#783cc7\"}},[_vm._v(\"mdi-shield-key-outline\")])],1),_c('div',{staticClass:\"px-2\"},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Join'))+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Team'))+\" \")])],1)])]),_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-menu-right\")]),_c('RegistrationProgress',{attrs:{\"denominator\":8,\"numerator\":8}}),_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-menu-right\")]),_c('v-icon',{attrs:{\"size\":\"100\"}},[_vm._v(\"mdi-sword-cross\")]),_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-menu-right\")]),_c('v-icon',{attrs:{\"size\":\"100\",\"color\":\"#783cc7\"}},[_vm._v(\"mdi-currency-usd\")])],1)]):_vm._e()],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"lg\":\"6\"}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Description1'))+\" \")]),_c('br'),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Description2'))+\" \")]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Description3'))+\" \")]),_c('br'),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Description4'))+\" \")]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Description5'))+\" \")])]),_c('v-col',{attrs:{\"cols\":\"12\",\"lg\":\"6\"}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.FlowDescription1'))+\" \")]),_c('ol',[_c('li',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.FlowDescription2'))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.FlowDescription3'))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.FlowDescription4'))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.FlowDescription5'))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.FlowDescription6'))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.FlowDescription7'))+\" \")])]),_c('br'),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchIntroductionDialog.CharacteristicDescription1' ))+\" \"),_c('ul',[_c('li',[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchIntroductionDialog.CharacteristicDescription2' ))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchIntroductionDialog.CharacteristicDescription3' ))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchIntroductionDialog.CharacteristicDescription4' ))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchIntroductionDialog.CharacteristicDescription5' ))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchIntroductionDialog.CharacteristicDescription6' ))+\" \")]),_c('li',[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchIntroductionDialog.CharacteristicDescription7' ))+\" \")])])]),_c('br'),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchIntroductionDialog.CharacteristicDescription8' ))+\" \")])])],1)],1)],1),_c('v-card-actions',{staticClass:\"d-flex justify-center\"},[_c('v-btn',{attrs:{\"large\":\"\",\"outlined\":\"\",\"block\":_vm.$vuetify.breakpoint.mobile},on:{\"click\":_vm.close}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-close\")]),_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Close')))],1)],1)],1)])],1)}\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\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 tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport AppButton from '@/modules/shared/components/AppButton'\r\nimport RegistrationProgress from '@/modules/instant/components/RegistrationProgress'\r\n\r\n@Component({\r\n components: { AppButton, RegistrationProgress }\r\n})\r\nexport default class InstantMatchIntroductionDialog extends Vue {\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n progressSize: number = 120\r\n progressWidth: number = 3\r\n progressRotate: number = 90\r\n progressColor: string = '#ff00ff'\r\n\r\n get isVisible() {\r\n return this.tournamentModule.isInstantMatchIntroductionDialogVisible\r\n }\r\n\r\n set isVisible(value: boolean) {\r\n this.tournamentModule.setInstantMatchIntroductionDialogVisible(value)\r\n }\r\n\r\n /* Methods */\r\n close() {\r\n this.isVisible = false\r\n this.$emit('close')\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!./InstantMatchIntroductionDialog.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!./InstantMatchIntroductionDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InstantMatchIntroductionDialog.vue?vue&type=template&id=1dea2cdc&scoped=true&\"\nimport script from \"./InstantMatchIntroductionDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./InstantMatchIntroductionDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InstantMatchIntroductionDialog.vue?vue&type=style&index=0&id=1dea2cdc&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 \"1dea2cdc\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCol,VContainer,VDialog,VIcon,VRow,VSpacer})\n","import InstantMatchIntroductionDialog from './InstantMatchIntroductionDialog.vue'\r\n\r\nexport { InstantMatchIntroductionDialog }\r\nexport default InstantMatchIntroductionDialog\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&\"","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!./CircularProgress.vue?vue&type=style&index=0&id=3f889f33&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!./CircularProgress.vue?vue&type=style&index=0&id=3f889f33&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!./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=style&index=0&id=9e79fe70&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!./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=style&index=0&id=9e79fe70&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!./TournamentTeamChangeCaptainDialog.vue?vue&type=style&index=0&id=2f978412&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!./TournamentTeamChangeCaptainDialog.vue?vue&type=style&index=0&id=2f978412&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-slide-x-transition',{attrs:{\"hide-on-leave\":\"\"}},[(_vm.isSelectingGroup)?_c('div',[_c('v-card-title',{staticClass:\"pt-0\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.SelectGroup'))+\" \")])]),_c('v-container',{staticClass:\"my-10 py-8\",attrs:{\"fluid\":\"\"}},[(_vm.isGroupsLoading)?_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"100\"}})],1)],1):[_c('v-row',[_c('v-col',{staticClass:\"text-center font-italic font-weight-bold\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.SelectGroupPlease'))+\" \")])],1),_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-list',{staticClass:\"py-0 group-list\",attrs:{\"two-line\":\"\",\"outlined\":\"\"}},_vm._l((_vm.groups),function(group,index){return _c('v-list-item',{key:(\"group-li-\" + index),staticClass:\"group-li\",attrs:{\"input-value\":_vm.selectedGroup === group.name},on:{\"click\":function($event){_vm.selectedGroup = group.name}}},[_c('v-list-item-avatar',[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-account-group\")])],1),_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"title action-option\"},[_vm._v(_vm._s(group.name))]),_c('v-list-item-subtitle',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.CurrentGroupTeamNumbers'))+\" \"),(group.current <= 0 && group.maxTeams <= 0)?[_vm._v(\" -- \")]:(group.maxTeams <= 0)?[_vm._v(\" \"+_vm._s(group.current)+\" \")]:[_vm._v(\" \"+_vm._s(group.current)+\" / \"+_vm._s(group.maxTeams)+\" \")],_vm._v(\" . \"),(group.available)?_c('span',{staticClass:\"green--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Available'))+\" \")]):_c('span',{staticClass:\"red--text\"},[_vm._v(_vm._s(_vm.$t('TournamentRegistration.Unavailable')))])],2)],1)],1)}),1)],1)],1),_c('v-row',[_c('v-col',{staticClass:\"text-center\"},[(_vm.isSelectedGroupNotAvailable)?_c('small',{staticClass:\"red--text\"},[_c('v-icon',{attrs:{\"color\":\"red\",\"left\":\"\"}},[_vm._v(\"mdi-alert\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.AlreadyFull'))+\" \")],1):_vm._e()])],1)]],2),_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"primary\",\"large\":\"\",\"disabled\":!_vm.canSelectGroup},on:{\"click\":function($event){_vm.isSelectingGroup = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Next'))+\" \"),_c('v-icon',[_vm._v(\"mdi-arrow-right\")])],1)],1)],1):_vm._e()]),_c('v-slide-x-transition',{attrs:{\"leave-absolute\":\"\"}},[(!_vm.isSelectingGroup)?_c('div',[_c('v-card-title',{staticClass:\"pt-0\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Registration'))+\" \")])]),_c('v-container',{staticClass:\"my-10 py-8\",attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-col',{staticClass:\"text-center font-italic font-weight-bold\",attrs:{\"cols\":\"12\"}},[(_vm.tournamentAction === 'create')?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.CreateTeamMessage'))+\" \"),(_vm.perTeamRegistrationFee > 0)?_c('div',{staticClass:\"red--text font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.RegistrationFeeReminder', { registrationFee: _vm.perTeamRegistrationFee }))+\" \")]):_vm._e()]:(_vm.tournamentAction === 'join')?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.JoinTeamMessage'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.PleaseSelectAnOption'))+\" \")]],2)],1),_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-list',{staticClass:\"py-0\",attrs:{\"two-line\":\"\",\"outlined\":\"\"}},[_c('v-list-item',{staticClass:\"registration-action\",attrs:{\"input-value\":_vm.tournamentAction === 'create'},on:{\"click\":function($event){_vm.tournamentAction = 'create'}}},[_c('v-list-item-avatar',[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-account-plus\")])],1),_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"title action-option\"},[_vm._v(_vm._s(_vm.$t('TournamentRegistration.CreateTeam')))]),(!_vm.$vuetify.breakpoint.mobile)?_c('v-list-item-subtitle',[_vm._v(_vm._s(_vm.$t('TournamentRegistration.CreateTeamMessage')))]):_vm._e()],1)],1),_c('v-divider'),_c('v-list-item',{staticClass:\"registration-action\",attrs:{\"active-class\":\"selected\",\"input-value\":_vm.tournamentAction === 'join'},on:{\"click\":function($event){_vm.tournamentAction = 'join'}}},[_c('v-list-item-avatar',[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-shield-key-outline\")])],1),_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"title action-option\"},[_vm._v(_vm._s(_vm.$t('TournamentRegistration.JoinTeam')))]),(!_vm.$vuetify.breakpoint.mobile)?_c('v-list-item-subtitle',[_vm._v(_vm._s(_vm.$t('TournamentRegistration.JoinTeamMessage')))]):_vm._e()],1)],1)],1)],1)],1)],1),_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5 mx-2\",attrs:{\"large\":\"\",\"disabled\":!this.tournament.hasGroup},on:{\"click\":function($event){_vm.isSelectingGroup = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-arrow-left\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.SelectGroup'))+\" \")],1),_c('v-btn',{staticClass:\"px-5 mx-2\",attrs:{\"color\":\"primary\",\"large\":\"\",\"disabled\":!_vm.tournamentAction},on:{\"click\":_vm.onNext}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Next'))+\" \"),_c('v-icon',[_vm._v(\"mdi-arrow-right\")])],1)],1)],1):_vm._e()])],1)}\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\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 {\r\n Vue,\r\n Component,\r\n Emit,\r\n PropSync,\r\n Prop,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\n// import InsufficientCreditDialog from '@/modules/payment/components/InsufficientCreditDialog'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { TournamentAPI, TournamentGroupAvailability } from '@/api/tournament'\r\nimport ServerError from '@/utils/server_error'\r\n// import paymentStore from '@/modules/payment/payment.store'\r\n\r\n@Component({\r\n components: {\r\n // InsufficientCreditDialog\r\n }\r\n})\r\nexport default class TournamentRegistration extends Vue {\r\n @PropSync('action', { default: null })\r\n tournamentAction!: 'create' | 'join' | null\r\n\r\n @Prop({ required: true })\r\n seed!: number\r\n\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n // paymentModule = getModule(paymentStore, this.$store)\r\n\r\n // isCheckingBalance: boolean = false\r\n // isInsufficientCreditDialogVisible: boolean = false\r\n\r\n isSelectingGroup: boolean = false\r\n selectedGroup: string | null = null\r\n\r\n isGroupsLoading: boolean = false\r\n groups: TournamentGroupAvailability[] = []\r\n\r\n @Watch('seed')\r\n async onSeedChanged() {\r\n this.isSelectingGroup = this.tournament!.hasGroup\r\n this.selectedGroup = null\r\n\r\n if (this.isSelectingGroup) {\r\n await this.fetchGroups()\r\n }\r\n }\r\n\r\n async mounted() {\r\n await this.onSeedChanged()\r\n }\r\n\r\n /* Emitters */\r\n @Emit('back')\r\n onBack() {\r\n return this\r\n }\r\n\r\n /* Methods */\r\n async onNext() {\r\n // Check balance if tournament contains per team registration fee\r\n /* if (this.perTeamRegistrationFee !== 0) {\r\n this.isCheckingBalance = true\r\n await this.paymentModule.getWallet()\r\n this.$nextTick(() => {\r\n this.isCheckingBalance = false\r\n if (!this.wallet || this.wallet.subtotal < this.perTeamRegistrationFee)\r\n this.isInsufficientCreditDialogVisible = true\r\n else this.$emit('next')\r\n })\r\n } else { */\r\n this.$emit('next', this.selectedGroup)\r\n // }\r\n }\r\n\r\n async fetchGroups() {\r\n this.isGroupsLoading = true\r\n\r\n try {\r\n const res = await TournamentAPI.getTournamentGroups(\r\n this.tournament!.tournamentId\r\n )\r\n this.groups = res.data.payload!\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Landing.SystemErrorMessage'))\r\n }\r\n } finally {\r\n this.isGroupsLoading = false\r\n }\r\n }\r\n\r\n /* Computed Properties */\r\n get tournament() {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get perTeamRegistrationFee() {\r\n return 0\r\n // if (!this.tournament) return 0\r\n // return this.tournament.paymentPerTeamRegistrationFee\r\n }\r\n /*\r\n\r\n get wallet() {\r\n return this.paymentModule.wallet\r\n } */\r\n\r\n get canSelectGroup() {\r\n if (!this.selectedGroup) {\r\n return false\r\n }\r\n\r\n const group = this.groups.find(group => group.name === this.selectedGroup)\r\n if (!group) return false\r\n return group.available\r\n }\r\n\r\n get isSelectedGroupNotAvailable() {\r\n const group = this.groups.find(group => group.name === this.selectedGroup)\r\n if (!group) return false\r\n return !group.available\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!./TournamentRegistration.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!./TournamentRegistration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentRegistration.vue?vue&type=template&id=c20a9e84&scoped=true&\"\nimport script from \"./TournamentRegistration.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentRegistration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentRegistration.vue?vue&type=style&index=0&id=c20a9e84&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 \"c20a9e84\",\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 { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSlideXTransition } from 'vuetify/lib/components/transitions';\ninstallComponents(component, {VBtn,VCardTitle,VCol,VContainer,VDivider,VIcon,VList,VListItem,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VProgressCircular,VRow,VSlideXTransition})\n","import TournamentRegistration from './TournamentRegistration.vue'\r\n\r\nexport { TournamentRegistration }\r\nexport default TournamentRegistration\r\n","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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"my-lg-4\",attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-col',{staticClass:\"py-0 px-1 py-lg-1\",attrs:{\"cols\":\"6\",\"lg\":\"12\",\"order\":\"2\",\"order-lg\":\"1\"}},[(_vm.shouldStatusButtonVisible)?_c('AppButton',{attrs:{\"buttonType\":\"tournament\",\"size\":\"full-width\",\"theme\":\"purple\",\"label\":_vm.tournamentActionString,\"icon\":_vm.tournamentIconString,\"loading\":_vm.actionLoading},on:{\"click\":_vm.onTournamentSelected}}):(_vm.isCountdownTimerDisplayable && _vm.isPendingOpen)?_c('AppButton',{attrs:{\"buttonType\":\"tournament\",\"size\":\"full-width\",\"theme\":\"indigo\",\"label\":_vm.$t('InstantMatchActionButtons.RegistrationOpenIn', {\n time: _vm.countdownTimeleft\n }),\"icon\":\"mdi-timer-sand\",\"disabled\":\"\"}}):(_vm.isCountdownTimerDisplayable && _vm.isWaitingForCheckIn)?_c('AppButton',{attrs:{\"buttonType\":\"tournament\",\"size\":\"full-width\",\"theme\":\"indigo\"}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c('div',_vm._g({staticClass:\"flashing d-flex flex-row\"},on),[_c('v-progress-circular',{staticClass:\"mr-2 d-none d-md-flex\",attrs:{\"indeterminate\":\"\",\"color\":\"orange\",\"width\":3,\"size\":22}}),_c('div',{staticClass:\"text-caption text-md-body-1 font-weight-bold orange--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchActionButtons.TournamentCheckinCountdown', { time: _vm.countdownTimeleft }))+\" \")])],1)]}}])},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('InstantMatchActionButtons.TournamentCheckinTooltip'))}})])],1):_vm._e()],1),_c('v-col',{staticClass:\"py-0 px-1 py-lg-1\",attrs:{\"cols\":\"6\",\"lg\":\"12\",\"order\":\"1\",\"order-lg\":\"2\"}},[_c('AppButton',{attrs:{\"buttonType\":\"tournament\",\"size\":\"full-width\",\"theme\":\"indigo\",\"label\":_vm.$t('InstantMatchTournamentBasicInformation.RulesAndDetails'),\"icon\":\"mdi-book-information-variant\",\"outlined\":!_vm.onRulesAndDetailPage},on:{\"click\":_vm.onRulesAndDetailSelected}})],1),(_vm.isOpenRegistration && _vm.isCountdownTimerDisplayable)?_c('v-col',{staticClass:\"d-sm-none d-md-flex ma-0 pa-0\",attrs:{\"cols\":\"12\",\"order\":\"0\",\"order-lg\":\"3\"}},[_c('div',[_c('v-icon',{attrs:{\"small\":\"\",\"color\":\"orange\",\"right\":\"\"}},[_vm._v(\" mdi-alert-circle-outline \")]),_c('small',{staticClass:\"orange--text\"},[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchActionButtons.TournamentRegistrationEndCountdown', { time: _vm.countdownTimeleft } ))+\" \")])],1)]):_vm._e()],1)],1)}\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\r\nimport { Vue, Component, Prop, Emit } from 'vue-property-decorator'\r\nimport AppButton from '@/modules/shared/components/AppButton'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport memberStore from '@/modules/member/member.store'\r\nimport requestLogin from '@/utils/requestLogin'\r\nimport { IdentityAPI } from '@/api/identity'\r\nimport ServerError from '@/utils/server_error'\r\nimport { TournamentAPI, TournamentState } from '@/api/tournament'\r\nimport { ensureTournamentVerification } from '@/utils/verification'\r\nimport { now } from '@/utils/time'\r\n\r\nexport enum AutomatedTournamentAction {\r\n ViewTournament = 'VIEW_TOURNAMENT',\r\n ViewRegistrationStatus = 'VIEW_REGISTRATION_STATUS',\r\n JoinTournament = 'JOIN_TOURNAMENT',\r\n ViewBracket = 'VIEW_BRACKET'\r\n}\r\n@Component({\r\n components: {\r\n AppButton\r\n }\r\n})\r\nexport default class InstantMatchActionButtons extends Vue {\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n memberModule = getModule(memberStore, this.$store)\r\n\r\n actionLoading: boolean = false\r\n\r\n tickTimer: NodeJS.Timeout | null = null\r\n countdownTimeleft: string = ''\r\n now: number = 0\r\n\r\n /* Methods */\r\n async fetchJoinedTournamentTeam() {\r\n if (!this.tournament) return\r\n try {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.tournament.tournamentId\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n if (err.getStatusCode() >= 400 && err.getStatusCode() < 500) {\r\n return\r\n }\r\n\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n }\r\n }\r\n\r\n async created() {\r\n this.tickTimer = setInterval(this.onTick, 500)\r\n await this.onTick()\r\n }\r\n\r\n beforeDestroy() {\r\n if (this.tickTimer) {\r\n clearInterval(this.tickTimer)\r\n }\r\n }\r\n\r\n async onTick() {\r\n this.now = now().getTime() / 1000\r\n\r\n if (!this.tournament) {\r\n return\r\n }\r\n\r\n if (\r\n this.tournament.state === TournamentState.Published &&\r\n this.now <= this.tournament.scheduleRegistrationStartTime\r\n ) {\r\n this.updateCountdown(this.tournament.scheduleRegistrationStartTime)\r\n } else if (\r\n this.tournament.state === TournamentState.WaitingForCheckIn &&\r\n this.tournament.tournamentCheckInEndTime\r\n ) {\r\n this.updateCountdown(this.tournament.tournamentCheckInEndTime)\r\n } else if (this.now <= this.tournament.scheduleRegistrationEndTime) {\r\n this.updateCountdown(this.tournament.scheduleRegistrationEndTime)\r\n }\r\n }\r\n\r\n updateCountdown(targerTime: number) {\r\n if (typeof targerTime !== 'number') {\r\n return\r\n }\r\n\r\n const timeLeft = Math.round(targerTime - this.now)\r\n\r\n if (timeLeft < 0) {\r\n this.countdownTimeleft = ''\r\n return\r\n }\r\n\r\n const hr = Math.floor(timeLeft / 60 / 60)\r\n const min = Math.floor(timeLeft / 60) - hr * 60\r\n const sec = timeLeft % 60\r\n\r\n this.countdownTimeleft = `${\r\n hr > 0 ? `${hr.toString().padStart(2, '0')}:` : ''\r\n }${min.toString().padStart(2, '0')}:${sec.toString().padStart(2, '0')}`\r\n }\r\n\r\n setTournamentActionDialogVisible(visible: boolean = false) {\r\n this.tournamentModule.setTournamentActionDialogVisible(visible)\r\n }\r\n\r\n onTournamentSelected() {\r\n if (this.tournamentAction === AutomatedTournamentAction.ViewBracket) {\r\n this.tournamentModule.setAutomatedTournamentBracketDialogVisible(true)\r\n return\r\n }\r\n\r\n this.actionLoading = true\r\n\r\n requestLogin(async () => {\r\n if (\r\n !(await ensureTournamentVerification({\r\n tournament: this.tournament!,\r\n callback: this.onTournamentSelected\r\n }))\r\n ) {\r\n this.actionLoading = false\r\n return\r\n }\r\n\r\n await this.fetchJoinedTournamentTeam()\r\n\r\n // check joined automated tournament\r\n try {\r\n const res = await TournamentAPI.getMemberJoinedAutomatedTournament()\r\n if (\r\n res.data.payload!.isJoined &&\r\n res.data.payload!.tournamentId !== this.tournamentId\r\n ) {\r\n this.actionLoading = false\r\n this.$toast.error(\r\n this.$t(\r\n 'InstantMatchActionButtons.JoinedAnotherInstantMatchAlready'\r\n )\r\n )\r\n await this.$router.push({\r\n name: 'InstantMatchDetails',\r\n params: {\r\n tournamentId: res.data.payload!.tournamentId\r\n }\r\n })\r\n return\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n }\r\n console.error(err)\r\n }\r\n\r\n this.setTournamentActionDialogVisible(true)\r\n this.actionLoading = false\r\n })\r\n }\r\n\r\n onRulesAndDetailSelected() {\r\n if (this.$vuetify.breakpoint.mobile) {\r\n this.tournamentModule.setAutomatedTournamentRuleDialogVisible(true)\r\n } else {\r\n if (this.$route.name === 'InstantMatchDetailsSummary') {\r\n this.$router.push({ name: 'InstantMatchDetails' })\r\n } else {\r\n this.$router.push({ name: 'InstantMatchDetailsSummary' })\r\n }\r\n }\r\n }\r\n\r\n /* Computed Properties */\r\n get tournament() {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get tournamentId() {\r\n if (!this.tournament) return ''\r\n return this.tournament.tournamentId\r\n }\r\n\r\n get tournamentTeam() {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get isOpenRegistration() {\r\n if (!this.tournament) return false\r\n return this.tournament.state === TournamentState.OpenRegistration\r\n }\r\n\r\n get isCountdownTimerDisplayable() {\r\n return (\r\n this.tournament &&\r\n (this.now <= this.tournament.scheduleRegistrationEndTime ||\r\n [TournamentState.Published, TournamentState.WaitingForCheckIn].includes(\r\n this.tournament.state\r\n ))\r\n )\r\n }\r\n\r\n get shouldStatusButtonVisible() {\r\n if (this.tournament!.state === TournamentState.WaitingForCheckIn)\r\n return false\r\n if (\r\n this.$route.name === 'Landing' ||\r\n this.$route.name === 'AutomatedTournament' ||\r\n [\r\n TournamentState.OpenRegistration,\r\n TournamentState.InProgress,\r\n TournamentState.Completed\r\n ].includes(this.tournament!.state) ||\r\n this.isUserJoinedTournament\r\n ) {\r\n return true\r\n }\r\n\r\n return false\r\n }\r\n\r\n get onRulesAndDetailPage() {\r\n return this.$route.name === 'InstantMatchDetailsSummary'\r\n }\r\n\r\n get isPendingOpen() {\r\n if (!this.tournament) return false\r\n return this.tournament.state === TournamentState.Published\r\n }\r\n\r\n get isWaitingForCheckIn() {\r\n if (!this.tournament) return false\r\n return this.tournament.state === TournamentState.WaitingForCheckIn\r\n }\r\n\r\n get shouldDisplayStatusMessage() {\r\n return true // this.tournament!.state === TournamentState.WaitingForCheckIn\r\n }\r\n\r\n get statusMessageContent() {\r\n if (this.tournament!.state !== TournamentState.WaitingForCheckIn) return ''\r\n return this.$t('InstantMatchActionButtons.RegisteredTeamsCheckingIn')\r\n }\r\n\r\n get statusMessageIcon() {\r\n if (this.tournament!.state !== TournamentState.WaitingForCheckIn) return ''\r\n return 'mdi-alert-outline'\r\n }\r\n\r\n get tournamentAction(): AutomatedTournamentAction {\r\n if (\r\n this.tournament &&\r\n [TournamentState.InProgress, TournamentState.Completed].includes(\r\n this.tournament.state\r\n )\r\n )\r\n return AutomatedTournamentAction.ViewBracket\r\n else if (this.tournamentTeam)\r\n return AutomatedTournamentAction.ViewRegistrationStatus\r\n return AutomatedTournamentAction.JoinTournament\r\n }\r\n\r\n get tournamentActionString() {\r\n switch (this.tournamentAction) {\r\n case AutomatedTournamentAction.ViewTournament:\r\n return this.$t('TournamentBasicInformation.ViewTournament')\r\n\r\n case AutomatedTournamentAction.ViewRegistrationStatus:\r\n return this.$t('TournamentBasicInformation.ViewRegistrationStatus')\r\n\r\n case AutomatedTournamentAction.JoinTournament:\r\n return this.$t('TournamentBasicInformation.JoinTournament')\r\n\r\n case AutomatedTournamentAction.ViewBracket:\r\n return this.$t('TournamentBasicInformation.ViewBracket')\r\n }\r\n }\r\n\r\n get tournamentIconString() {\r\n switch (this.tournamentAction) {\r\n case AutomatedTournamentAction.ViewTournament:\r\n return 'mdi-eye'\r\n\r\n case AutomatedTournamentAction.ViewRegistrationStatus:\r\n return 'mdi-text-box'\r\n\r\n case AutomatedTournamentAction.JoinTournament:\r\n return 'mdi-account-multiple-plus-outline'\r\n\r\n case AutomatedTournamentAction.ViewBracket:\r\n return 'mdi-calendar-today'\r\n }\r\n }\r\n\r\n get isUserJoinedTournament() {\r\n return this.tournamentModule.joinedTournaments\r\n .map(tournament => tournament.tournamentId)\r\n .includes(this.tournamentId)\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!./InstantMatchActionButtons.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!./InstantMatchActionButtons.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InstantMatchActionButtons.vue?vue&type=template&id=1020d52e&scoped=true&\"\nimport script from \"./InstantMatchActionButtons.vue?vue&type=script&lang=ts&\"\nexport * from \"./InstantMatchActionButtons.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InstantMatchActionButtons.vue?vue&type=style&index=0&id=1020d52e&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 \"1020d52e\",\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 { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VCol,VContainer,VIcon,VProgressCircular,VRow,VTooltip})\n","import InstantMatchActionButtons from './InstantMatchActionButtons.vue'\r\n\r\nexport default InstantMatchActionButtons\r\nexport { InstantMatchActionButtons }\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fill-height\"},[_c('v-card-title',{staticClass:\"pt-0\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_c('v-icon',{attrs:{\"left\":\"\",\"large\":\"\"}},[_vm._v(\"mdi-text-box-check-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentCustomForm.Title'))+\" \")],1)]),_c('div',{staticClass:\"subtitle-1 text-center mb-5\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentCustomForm.Subtitle'))+\" \")])]),_c('v-form',{ref:\"form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submitForm($event)}},model:{value:(_vm.isValid),callback:function ($$v) {_vm.isValid=$$v},expression:\"isValid\"}},[(Object.keys(_vm.schema).length)?_c('v-form-base',{attrs:{\"schema\":_vm.theSchema,\"model\":_vm.value}}):_c('div',{staticClass:\"text-center orange--text\"},[_vm._v(\"沒有額外資料需要填寫\")])],1),_c('v-btn',{staticClass:\"mt-12\",attrs:{\"block\":\"\",\"depressed\":\"\",\"x-large\":\"\",\"color\":\"success\",\"disabled\":!_vm.isValid},on:{\"click\":_vm.submitForm}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentCustomForm.Submit'))+\" \")])],1)}\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\r\nimport { Vue, Component, Prop, Emit, Ref } from 'vue-property-decorator'\r\nimport VFormBase from 'vuetify-form-base'\r\nimport { TournamentAPI } from '@/api/tournament'\r\n\r\ninterface VForm extends HTMLFormElement {\r\n validate(): boolean\r\n}\r\n\r\n@Component({\r\n components: {\r\n VFormBase\r\n }\r\n})\r\nexport default class TournamentCustomForm extends Vue {\r\n @Prop({ type: Object, required: true }) readonly schema!: any\r\n\r\n @Ref() readonly form!: VForm\r\n\r\n isValid: boolean = false\r\n\r\n value: any = {}\r\n\r\n @Emit('submit')\r\n submit() {\r\n return this.value\r\n }\r\n\r\n // FIXME: temp code\r\n\r\n shouldHide: boolean = false\r\n\r\n async created() {\r\n try {\r\n const res = await TournamentAPI.shouldHideForm()\r\n this.shouldHide = res.data.payload!\r\n } catch (err) {\r\n // we don't care\r\n }\r\n }\r\n\r\n get theSchema() {\r\n if (this.shouldHide) {\r\n const schema = { ...this.schema }\r\n delete schema['studentidf']\r\n delete schema['studentidb']\r\n\r\n return schema\r\n }\r\n\r\n return this.schema\r\n }\r\n\r\n // end of temp code\r\n\r\n submitForm() {\r\n if (!this.form.validate()) return\r\n\r\n // Invoke and emit submit form event\r\n this.submit()\r\n }\r\n\r\n // Validation Rules\r\n\r\n // Helper & Partial Functions\r\n minLen = (l: any) => (v: string) =>\r\n (v && v.length >= l) || `min. ${l} Characters`\r\n maxLen = (l: any) => (v: string) =>\r\n (v && v.length <= l) || `max. ${l} Characters`\r\n required = (msg: string) => (v: string) => !!v || msg\r\n requiredArray = (msg: string, minLength = 1) => (v: any[]) =>\r\n (Array.isArray(v) && v.length > minLength) || msg\r\n\r\n // Rules\r\n rules = {\r\n requiredEmail: this.required('E-mail is required'),\r\n requiredSel: this.required('Selection is required'),\r\n requiredSelMult: this.requiredArray('2 Selections are required'),\r\n max12: this.maxLen(12),\r\n min6: this.minLen(6),\r\n validEmail: (v: string) => /.+@.+\\..+/.test(v) || 'E-mail must be valid'\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!./TournamentCustomForm.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!./TournamentCustomForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentCustomForm.vue?vue&type=template&id=d70499a4&scoped=true&\"\nimport script from \"./TournamentCustomForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentCustomForm.vue?vue&type=script&lang=ts&\"\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 \"d70499a4\",\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 { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VBtn,VCardTitle,VForm,VIcon})\n","import TournamentCustomForm from './TournamentCustomForm.vue'\r\nexport default TournamentCustomForm\r\nexport { TournamentCustomForm }\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!./RegistrationProgress.vue?vue&type=style&index=0&id=6be3e8d5&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!./RegistrationProgress.vue?vue&type=style&index=0&id=6be3e8d5&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-title',{staticClass:\"pt-0 py-10\"},[_c('h2',{staticClass:\"heading mx-auto text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.RegistrationComplete'))+\" \")])]),_c('div',{staticClass:\"my-10 py-5\"},[_c('div',{staticClass:\"subtitle-2 text-center mb-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.RegisteredTournamentSuccessfullyMessage'))+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.SendInformationToTeamMembersMessage'))+\" \")]),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\",\"offset-sm\":\"3\"}},[_c('v-text-field',{ref:\"teamTokenTextField\",staticClass:\"teamtoken-field\",attrs:{\"outlined\":\"\",\"readonly\":\"\",\"label\":this.$t('TeamRegistrationComplete.TeamCode'),\"value\":_vm.teamToken,\"hide-details\":\"\",\"append-icon\":\"mdi-content-copy\"},on:{\"click:append\":_vm.copyTeamToken}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\",\"offset-sm\":\"3\"}},[_c('v-text-field',{ref:\"teamTokenUrlTextField\",staticClass:\"teamtoken-field\",attrs:{\"outlined\":\"\",\"readonly\":\"\",\"label\":this.$t('TeamRegistrationComplete.ShareLink'),\"value\":_vm.teamTokenUrl,\"hide-details\":\"\",\"append-icon\":\"mdi-content-copy\"},on:{\"click:append\":_vm.copyTeamTokenUrl}})],1)],1),(!_vm.hideLfg)?_c('v-row',{staticClass:\"text-center\",attrs:{\"justify\":\"center\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h3',{staticClass:\"my-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.LookingForTeam'))+\" \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"large\":\"\"},on:{\"click\":_vm.toLookForGroup}},[_c('v-icon',[_vm._v(\"mdi-bullhorn\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentDetailsLFG.RecruitMember'))+\" \")],1)],1)],1):_vm._e()],1),_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"success\",\"large\":\"\"},on:{\"click\":function($event){return _vm.onClose()}}},[_c('v-icon',[_vm._v(\"mdi-check\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.Finish'))+\" \")],1)],1)],1)}\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\r\nimport { isElectron } from '@/utils/electron'\r\nimport { Vue, Component, Emit, Prop, Ref } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class TeamRegistrationComplete extends Vue {\r\n @Prop({ required: true })\r\n readonly teamToken!: string\r\n\r\n @Ref('teamTokenTextField')\r\n readonly teamTokenTextField!: { $el: HTMLInputElement }\r\n\r\n @Ref('teamTokenUrlTextField')\r\n readonly teamTokenUrlTextField!: { $el: HTMLInputElement }\r\n\r\n @Prop({ type: Boolean, default: false }) readonly hideLfg!: boolean\r\n\r\n @Emit('close')\r\n onClose() {\r\n return this\r\n }\r\n\r\n toLookForGroup() {\r\n this.$router.push({ name: 'TournamentDetailsLFG' })\r\n this.onClose()\r\n }\r\n\r\n get teamTokenTrimmed() {\r\n return this.teamToken.replace(' ', '')\r\n }\r\n\r\n get teamTokenUrl() {\r\n if (this.isElectron) {\r\n return process.env.VUE_APP_TEAM_TOKEN_URL!.replace(\r\n '%teamToken%',\r\n this.teamTokenTrimmed\r\n )\r\n }\r\n return `${window.location.origin}/invite/${this.teamTokenTrimmed}`\r\n }\r\n\r\n get isElectron() {\r\n return isElectron()\r\n }\r\n\r\n copyTeamToken() {\r\n this.$copyText(this.teamTokenTrimmed, this.teamTokenTextField.$el).then(\r\n e => {\r\n this.$toast.info(\r\n this.$t('TeamRegistrationComplete.CopiedTeamCodeToClipboard')\r\n )\r\n },\r\n e => {\r\n this.$toast.error(\r\n this.$t('TeamRegistrationComplete.FailedToCopyToClipboard')\r\n )\r\n }\r\n )\r\n }\r\n\r\n copyTeamTokenUrl() {\r\n this.$copyText(this.teamTokenUrl, this.teamTokenUrlTextField.$el).then(\r\n e => {\r\n this.$toast.info(\r\n this.$t('TeamRegistrationComplete.CopiedTeamCodeToClipboard')\r\n )\r\n },\r\n e => {\r\n this.$toast.error(\r\n this.$t('TeamRegistrationComplete.FailedToCopyToClipboard')\r\n )\r\n }\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!./TeamRegistrationComplete.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!./TeamRegistrationComplete.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TeamRegistrationComplete.vue?vue&type=template&id=29001bc9&scoped=true&\"\nimport script from \"./TeamRegistrationComplete.vue?vue&type=script&lang=ts&\"\nexport * from \"./TeamRegistrationComplete.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TeamRegistrationComplete.vue?vue&type=style&index=0&id=29001bc9&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 \"29001bc9\",\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 { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCardTitle,VCol,VIcon,VRow,VTextField})\n","import TeamRegistrationComplete from './TeamRegistrationComplete.vue'\r\n\r\nexport { TeamRegistrationComplete }\r\nexport default TeamRegistrationComplete\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!./TournamentBasicInformation.vue?vue&type=style&index=0&id=241b5bc8&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!./TournamentBasicInformation.vue?vue&type=style&index=0&id=241b5bc8&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!./InstantMatchIntroductionDialog.vue?vue&type=style&index=0&id=1dea2cdc&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!./InstantMatchIntroductionDialog.vue?vue&type=style&index=0&id=1dea2cdc&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!./EditTournamentFormResponseDialog.vue?vue&type=style&index=0&id=d317a484&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!./EditTournamentFormResponseDialog.vue?vue&type=style&index=0&id=d317a484&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!./EditTournamentGroupDialog.vue?vue&type=style&index=0&id=74837e1e&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!./EditTournamentGroupDialog.vue?vue&type=style&index=0&id=74837e1e&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{staticClass:\"tournament-team-dialog\",attrs:{\"max-width\":\"60rem\"},on:{\"click:outside\":_vm.closeDialog,\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.closeDialog($event)}},model:{value:(_vm.isModalVisible),callback:function ($$v) {_vm.isModalVisible=$$v},expression:\"isModalVisible\"}},[(_vm.isLoading || !_vm.tournamentTeam)?_c('v-container',[_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\",attrs:{\"cols\":\"12\"}},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"80\"}})],1),_c('v-col',{staticClass:\"d-flex justify-center\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamDialog.Loading'))+\" \")])],1)],1):(_vm.tournamentTeam)?_c('v-card',[_c('v-system-bar',{staticClass:\"d-flex justify-end\",attrs:{\"color\":\"primary\",\"height\":\"40\"}},[_c('v-btn',{staticClass:\"ma-2\",attrs:{\"icon\":\"\"},on:{\"click\":_vm.closeDialog}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1)],1),_c('v-img',{staticClass:\"white--text align-end\",attrs:{\"height\":\"18rem\",\"gradient\":\"to bottom, rgba(0,0,0,.1), rgba(0,0,0,.5)\",\"contain\":true,\"src\":_vm.tournamentTeam.logo === '' ? '/img/logo-vs.png' : _vm.tournamentTeam.logo}},[_c('v-card-title',[_vm._v(_vm._s(_vm.tournamentTeam.name))])],1),(_vm.$vuetify.breakpoint.mobile)?_c('div',{staticClass:\"caption pa-2 primary\"},[_c('div',[_c('v-icon',{staticClass:\"mx-1\",attrs:{\"small\":\"\"},domProps:{\"textContent\":_vm._s(_vm.statusBarIcon)}}),_vm._v(_vm._s(_vm.statusBarText)+\" \")],1),(_vm.tournamentTeam.registerTime)?_c('div',[_c('v-icon',{staticClass:\"mx-1\",attrs:{\"small\":\"\"}},[_vm._v(\"mdi-calendar-clock\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamDialog.RegisterTime'))+\" : \"+_vm._s(_vm._f(\"dateTime\")(_vm.tournamentTeam.registerTime))+\" \")],1):_vm._e()]):_c('v-system-bar',{attrs:{\"color\":_vm.statusBarColor,\"height\":\"30\"}},[_c('span',{staticClass:\"mx-2\"},[_c('v-icon',{staticClass:\"mx-1\",domProps:{\"textContent\":_vm._s(_vm.statusBarIcon)}}),_vm._v(_vm._s(_vm.statusBarText))],1),_c('v-spacer'),(_vm.tournamentTeam.registerTime)?_c('span',{staticClass:\"mx-2\"},[_c('v-icon',{staticClass:\"mx-1\"},[_vm._v(\"mdi-calendar-clock\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamDialog.RegisterTime'))+\" : \"+_vm._s(_vm._f(\"dateTime\")(_vm.tournamentTeam.registerTime))+\" \")],1):_vm._e()],1),_c('v-card-text',[_c('v-list',{attrs:{\"dense\":\"\",\"two-line\":\"\"}},_vm._l((_vm.tournamentTeamPlayers),function(player){return _c('v-list-item',{key:(\"tournament-team-player-\" + (player.memberId))},[_c('v-list-item-avatar',[_c('v-img',{attrs:{\"src\":player.avatar ? player.avatar : _vm.defaultAvatar}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(player.nickname)+\" \")]),_c('v-list-item-subtitle',[(!_vm.$vuetify.breakpoint.mobile)?_c('span',{staticClass:\"mr-2\"},[_vm._v(_vm._s(_vm.$t('TournamentTeamDialog.InGameName'))+\" :\")]):_vm._e(),_c('v-menu',{attrs:{\"bottom\":\"\",\"offset-y\":\"\",\"open-on-click\":\"\",\"close-on-click\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('span',_vm._g({},on),[_vm._v(_vm._s(player.gameAccountNickname))])]}}],null,true)},[_c('v-card',[_c('v-card-subtitle',[_vm._v(_vm._s(player.gameAccountNickname))])],1)],1)],1)],1),_c('v-list-item-action',[(player.role === _vm.TournamentTeamRole.Captain)?_c('v-btn',{attrs:{\"icon\":\"\",\"disabled\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-alpha-c-circle\")])],1):_c('v-btn',{attrs:{\"icon\":\"\",\"disabled\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-alpha-m\")])],1)],1)],1)}),1)],1)],1):_vm._e()],1)}\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\r\nimport { Vue, Component, Prop, PropSync, Watch } from 'vue-property-decorator'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentTeamRole,\r\n TournamentTeamState\r\n} from '@/api/tournamentTeam'\r\nimport { ResponseStatus, TournamentAPI } from '@/api/tournament'\r\nimport ServerError from '@/utils/server_error'\r\nimport { dateTime } from '@/utils'\r\n\r\n@Component({\r\n filters: {\r\n dateTime\r\n }\r\n})\r\nexport default class TournamentTeamDialog extends Vue {\r\n @PropSync('isVisible', { type: Boolean, default: false })\r\n isModalVisible!: boolean\r\n\r\n @Prop({ required: true })\r\n readonly tournamentTeamId!: string\r\n\r\n isLoading: boolean = false\r\n tournamentTeam: TournamentTeamEntity | null = null\r\n defaultAvatar: string = '/img/logo-v13.png'\r\n\r\n /* Watchers */\r\n @Watch('isModalVisible')\r\n async onVisible(isVisible: boolean) {\r\n await this.getTournamentTeam()\r\n }\r\n\r\n /* Methods */\r\n async getTournamentTeam() {\r\n if (!this.tournamentTeamId) return\r\n\r\n this.tournamentTeam = null\r\n this.isLoading = true\r\n try {\r\n const response = await TournamentAPI.getTournamentTeam(\r\n this.tournamentTeamId\r\n )\r\n const payload = response.data.payload\r\n if (response.data.status === ResponseStatus.Ok && payload) {\r\n this.tournamentTeam = payload\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TournamentTeamDialog.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.isLoading = false\r\n }\r\n }\r\n\r\n closeDialog() {\r\n this.$emit('close')\r\n }\r\n\r\n /* Computed Properties */\r\n get TournamentTeamRole() {\r\n return TournamentTeamRole\r\n }\r\n\r\n get tournamentTeamPlayers() {\r\n if (!this.tournamentTeam || !this.tournamentTeam.players) return []\r\n return this.tournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n get statusBarColor() {\r\n if (\r\n !this.tournamentTeam ||\r\n this.tournamentTeam.state === TournamentTeamState.PendingJoin\r\n )\r\n return 'grey darken-2'\r\n if (this.tournamentTeam.state === TournamentTeamState.PendingConfirmRoster)\r\n return 'secondary'\r\n else return 'primary'\r\n }\r\n\r\n get statusBarText() {\r\n if (\r\n !this.tournamentTeam ||\r\n this.tournamentTeam.state === TournamentTeamState.PendingJoin\r\n )\r\n return this.$t('TournamentTeamDialog.TeamStatePendingJoin')\r\n if (this.tournamentTeam.state === TournamentTeamState.PendingConfirmRoster)\r\n return this.$t('TournamentTeamDialog.TeamStatePendingConfirmRoster')\r\n else return this.$t('TournamentTeamDialog.TeamStateRegistered')\r\n }\r\n\r\n get statusBarIcon() {\r\n if (\r\n !this.tournamentTeam ||\r\n this.tournamentTeam.state === TournamentTeamState.PendingJoin\r\n )\r\n return 'mdi-account-search'\r\n if (this.tournamentTeam.state === TournamentTeamState.PendingConfirmRoster)\r\n return 'mdi-account-clock'\r\n else return 'mdi-account-check'\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!./TournamentTeamDialog.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!./TournamentTeamDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentTeamDialog.vue?vue&type=template&id=55a608f0&scoped=true&\"\nimport script from \"./TournamentTeamDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentTeamDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentTeamDialog.vue?vue&type=style&index=0&id=55a608f0&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 \"55a608f0\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSystemBar } from 'vuetify/lib/components/VSystemBar';\ninstallComponents(component, {VBtn,VCard,VCardSubtitle,VCardText,VCardTitle,VCol,VContainer,VDialog,VIcon,VImg,VList,VListItem,VListItemAction,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VMenu,VProgressCircular,VRow,VSpacer,VSystemBar})\n","import TournamentTeamDialog from './TournamentTeamDialog.vue'\r\n\r\nexport { TournamentTeamDialog }\r\nexport default TournamentTeamDialog\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!./TournamentChip.vue?vue&type=style&index=0&id=02cfea5a&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!./TournamentChip.vue?vue&type=style&index=0&id=02cfea5a&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!./InstantMatchTournamentBasicInformation.vue?vue&type=style&index=0&id=9e1d9ccc&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!./InstantMatchTournamentBasicInformation.vue?vue&type=style&index=0&id=9e1d9ccc&lang=scss&scoped=true&\"","import { isElectron } from '@/utils/electron'\r\n\r\nexport function getScrollTop() {\r\n return window.pageYOffset !== undefined\r\n ? window.pageYOffset\r\n : document.documentElement.scrollTop\r\n}\r\n\r\nexport function getWindowHeight() {\r\n return document.documentElement.clientHeight\r\n}\r\n\r\nexport function getElementScrollRemaining(element: HTMLElement) {\r\n return element.scrollHeight - element.offsetHeight - element.scrollTop\r\n}\r\n\r\nexport async function minimize() {\r\n if (!isElectron()) {\r\n console.log('Not support minimizing in non-electron mode')\r\n } else {\r\n await window.ipcRenderer.send('minimize-window')\r\n }\r\n}\r\n\r\nexport async function quit() {\r\n if (!isElectron()) {\r\n console.log('Not support closing window in non-electron mode')\r\n } else {\r\n await window.ipcRenderer.send('quit')\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"content-wrapper\",class:{ auto: _vm.autoSize },style:((\"transform: scale(\" + _vm.size + \"%)\"))},[(!_vm.hideProgress && !_vm.loading)?_c('CircularProgress',{attrs:{\"total\":_vm.denominator,\"filled\":_vm.numerator}}):_vm._e(),(!_vm.loading)?_c('div',{staticClass:\"content\"},[_c('v-icon',{attrs:{\"size\":_vm.iconSize}},[_vm._v(\"mdi-account-group\")]),_c('div',[_vm._v(_vm._s(_vm.numerator)+\" / \"+_vm._s(_vm.denominator))])],1):_c('div',{staticClass:\"content justify-content-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":60}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"id\":\"team-counter\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":_vm.size,\"height\":_vm.size}},[_c('defs',[_c('linearGradient',{attrs:{\"id\":\"linear-gradient\",\"x1\":\"0.111\",\"y1\":\"0.101\",\"x2\":\"0.892\",\"y2\":\"0.897\",\"gradientUnits\":\"objectBoundingBox\"}},[_c('stop',{attrs:{\"offset\":\"0\",\"stop-color\":\"#f0f\"}}),_c('stop',{attrs:{\"offset\":\"0.183\",\"stop-color\":\"#f0f\"}}),_c('stop',{attrs:{\"offset\":\"0.704\",\"stop-color\":\"#3c3cc7\"}}),_c('stop',{attrs:{\"offset\":\"1\",\"stop-color\":\"#29d9ff\"}})],1)],1),_c('path',{attrs:{\"id\":\"arc1\",\"fill\":\"grey\",\"d\":_vm.describeArc(75, 75, 75, 0, 358, _vm.total)}}),(_vm.filled > 0)?_c('path',{attrs:{\"id\":\"arc2\",\"fill\":\"url(#linear-gradient)\",\"d\":_vm.describeArc(75, 75, 75, 0, (358 / _vm.total) * _vm.filled, _vm.filled)}}):_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\r\nimport { Vue, Component, Prop } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class CircularProgress extends Vue {\r\n @Prop({ default: 6, type: Number }) readonly filled!: number\r\n @Prop({ default: 12, type: Number }) readonly total!: number\r\n @Prop({ default: 150, type: Number }) readonly size!: number\r\n\r\n describeArc(\r\n x: number,\r\n y: number,\r\n radius: number,\r\n startAngle: number,\r\n endAngle: number,\r\n cuts: number\r\n ) {\r\n var nextStartAngle = startAngle + 2\r\n var nextEndAngle = startAngle + (endAngle - startAngle) / cuts - 2\r\n\r\n var start = this.polarToCartesian(x, y, radius, nextStartAngle)\r\n var end = this.polarToCartesian(x, y, radius, nextEndAngle)\r\n\r\n var innerRadius = radius - 6\r\n var innerStart = this.polarToCartesian(x, y, innerRadius, nextStartAngle)\r\n var innerEnd = this.polarToCartesian(x, y, innerRadius, nextEndAngle)\r\n\r\n var largeArcFlag = nextEndAngle - nextStartAngle <= 180 ? 0 : 1\r\n\r\n const n = (n: number) => (isNaN(n) ? 0 : n)\r\n\r\n var d = [\r\n 'M',\r\n n(start.x),\r\n n(start.y),\r\n 'A',\r\n n(radius),\r\n n(radius),\r\n 0,\r\n n(largeArcFlag),\r\n 1,\r\n n(end.x),\r\n n(end.y),\r\n 'L',\r\n n(innerEnd.x),\r\n n(innerEnd.y),\r\n 'A',\r\n n(innerRadius),\r\n n(innerRadius),\r\n 0,\r\n n(largeArcFlag),\r\n 0,\r\n n(innerStart.x),\r\n n(innerStart.y),\r\n 'Z'\r\n ].join(' ')\r\n\r\n for (var i = 1; i < cuts; i++) {\r\n nextStartAngle = nextEndAngle + 2\r\n nextEndAngle = (endAngle / cuts) * (i + 1) + 2\r\n\r\n start = this.polarToCartesian(x, y, radius, nextStartAngle)\r\n end = this.polarToCartesian(x, y, radius, nextEndAngle)\r\n\r\n innerStart = this.polarToCartesian(x, y, innerRadius, nextStartAngle)\r\n innerEnd = this.polarToCartesian(x, y, innerRadius, nextEndAngle)\r\n\r\n largeArcFlag = nextEndAngle - nextStartAngle <= 180 ? 0 : 1\r\n\r\n d =\r\n d +\r\n ' ' +\r\n [\r\n 'M',\r\n n(start.x),\r\n n(start.y),\r\n 'A',\r\n n(radius),\r\n n(radius),\r\n 0,\r\n n(largeArcFlag),\r\n 1,\r\n n(end.x),\r\n n(end.y),\r\n 'L',\r\n n(innerEnd.x),\r\n n(innerEnd.y),\r\n 'A',\r\n n(innerRadius),\r\n n(innerRadius),\r\n 0,\r\n n(largeArcFlag),\r\n 0,\r\n n(innerStart.x),\r\n n(innerStart.y),\r\n 'Z'\r\n ].join(' ')\r\n }\r\n\r\n return d\r\n }\r\n\r\n polarToCartesian(\r\n centerX: number,\r\n centerY: number,\r\n radius: number,\r\n angleInDegrees: number\r\n ) {\r\n var angleInRadians = ((angleInDegrees + 90) * Math.PI) / 180.0\r\n\r\n return {\r\n x: centerX + radius * Math.cos(angleInRadians),\r\n y: centerY + radius * Math.sin(angleInRadians)\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!./CircularProgress.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!./CircularProgress.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CircularProgress.vue?vue&type=template&id=3f889f33&scoped=true&\"\nimport script from \"./CircularProgress.vue?vue&type=script&lang=ts&\"\nexport * from \"./CircularProgress.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CircularProgress.vue?vue&type=style&index=0&id=3f889f33&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 \"3f889f33\",\n null\n \n)\n\nexport default component.exports","import CircularProgress from './CircularProgress.vue'\r\n\r\nexport default CircularProgress\r\nexport { CircularProgress }\r\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 } from 'vue-property-decorator'\r\nimport CircularProgress from '@/modules/shared/components/CircularProgress'\r\n\r\n@Component({\r\n components: {\r\n CircularProgress\r\n }\r\n})\r\nexport default class RegistrationProgress extends Vue {\r\n @Prop({ required: true }) denominator!: number\r\n @Prop({ required: true }) numerator!: number\r\n @Prop({ default: 90 }) rotate!: number\r\n @Prop({ default: 100 }) size!: number\r\n @Prop({ default: undefined }) iconSize!: number\r\n @Prop({ default: 5 }) width!: number\r\n @Prop({ type: Boolean, default: false }) hideProgress!: boolean\r\n @Prop({ type: Boolean, default: false }) autoSize!: boolean\r\n @Prop({ type: Boolean, default: false }) loading!: boolean\r\n\r\n /* Computed Properties */\r\n get value() {\r\n return (this.numerator / this.denominator) * 100\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!./RegistrationProgress.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!./RegistrationProgress.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RegistrationProgress.vue?vue&type=template&id=6be3e8d5&scoped=true&\"\nimport script from \"./RegistrationProgress.vue?vue&type=script&lang=ts&\"\nexport * from \"./RegistrationProgress.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RegistrationProgress.vue?vue&type=style&index=0&id=6be3e8d5&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 \"6be3e8d5\",\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 { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\ninstallComponents(component, {VIcon,VProgressCircular})\n","import RegistrationProgress from './RegistrationProgress.vue'\r\n\r\nexport { RegistrationProgress }\r\nexport default RegistrationProgress\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-title',{staticClass:\"pt-0 py-10\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.RegistrationStatus'))+\" \")])]),_c('div',{staticClass:\"wrapper\"},[_c('p',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.CongratulationsJoinedTeamMessage'))+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.selectedTournamentTeam.name)+\" \")]),(_vm.hasGroup)?_c('p',{staticClass:\"text-center grey--text\"},[_c('v-icon',{attrs:{\"left\":\"\",\"color\":\"grey\"}},[_vm._v(\"mdi-account-group\")]),(_vm.selectedTournamentTeam.group)?[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.TeamGroup'))+\" \"+_vm._s(_vm.selectedTournamentTeam.group)+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.NoGroup'))+\" \")]],2):_vm._e(),(_vm.isAllowChangeCaptain)?_c('div',{staticClass:\"d-flex justify-end mb-10 mx-6\"},[_c('v-btn',{attrs:{\"dark\":\"\",\"color\":\"secondary\"},on:{\"click\":function($event){_vm.isChangeTeamCaptainDialogVisible = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-account-convert\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.ChangeCaptain'))+\" \")],1)],1):_vm._e(),_c('v-stepper',{staticClass:\"elevation-0\",attrs:{\"vertical\":\"\"},model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-stepper-step',{attrs:{\"complete\":_vm.step >= 1,\"complete-icon\":_vm.step > 1 ? '$complete' : 'mdi-progress-clock',\"color\":_vm.step > 1 ? 'success' : 'primary',\"step\":1}},[_c('div',{staticClass:\"d-block d-lg-flex\",staticStyle:{\"width\":\"100%\"}},[_c('div',{staticClass:\"d-flex flex-column justify-center\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.TeamRegistration'))+\" \"),_c('small',[_vm._v(_vm._s(_vm.$t( 'TeamRegistrationStatus.WaitForTeamMatesToCompleteTeamRegistration' )))])]),_c('v-spacer'),(_vm.step <= 2 && _vm.isTeamCaptain && !_vm.isSoloTournament)?_c('div',{staticClass:\"d-flex flex-row align-center mt-2\"},[(!_vm.teamTokenOutput)?_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.isGeneratingTeamToken},on:{\"click\":_vm.generateTeamToken}},[_c('v-icon',[_vm._v(\"refresh\")]),_c('span',{staticClass:\"ml-1\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.RegenerateToken')))])],1):_vm._e(),(_vm.teamToken)?_c('v-text-field',{ref:\"teamTokenTextField\",staticClass:\"ml-1\",attrs:{\"single-line\":\"\",\"readonly\":\"\",\"solo\":\"\",\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"flat\":\"\",\"value\":_vm.teamTokenOutput,\"prepend-icon\":_vm.isGeneratingTeamToken ? null : 'refresh',\"append-icon\":\"mdi-content-copy\",\"append-outer-icon\":\"mdi-attachment\"},on:{\"click:prepend\":_vm.generateTeamToken,\"click:append\":_vm.copyTeamToken,\"click:append-outer\":_vm.copyTeamTokenUrl}}):_vm._e()],1):_vm._e()],1)]),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('TournamentPlayers',{attrs:{\"waitingTeamRegistration\":true}})],1),_c('v-stepper-step',{attrs:{\"complete\":_vm.step >= 2,\"complete-icon\":_vm.step > 2 ? '$complete' : 'mdi-progress-clock',\"color\":_vm.step > 2 ? 'success' : 'primary',\"step\":2}},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.Confirmation'))+\" \"),_c('small',[_vm._v(_vm._s(_vm.$t('TeamRegistrationStatus.ConfirmTeamRosterByTeamCaptain')))])]),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('TournamentPlayers',{ref:\"tournamentPlayers\",attrs:{\"selectingTeamRoster\":true},on:{\"confirmRoster\":_vm.onConfirmRoster}})],1),_c('v-stepper-step',{attrs:{\"complete\":_vm.step >= 3,\"complete-icon\":'mdi-progress-clock',\"color\":'primary',\"step\":3}},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.GetReady'))+\" \"),_c('small',[_vm._v(_vm._s(_vm.$t( 'TeamRegistrationStatus.TournamentWillStartSoonAndGetReadyForTheFight' )))])]),_c('v-stepper-content',{attrs:{\"step\":\"3\"}},[_c('TournamentPlayers',{on:{\"unconfirmRoster\":_vm.onUnconfirmRoster}})],1)],1)],1),(_vm.step === 3)?_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"success\",\"large\":\"\"},on:{\"click\":_vm.onClose}},[_c('v-icon',{staticClass:\"mr-1\"},[_vm._v(\"mdi-check\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.Done'))+\" \")],1)],1):_vm._e(),(_vm.step <= 2 && _vm.isRegistrationPeriod)?_c('div',{staticClass:\"text-center\"},[_c('div',[(_vm.hasGroup && _vm.isTeamCaptain)?_c('v-btn',{staticClass:\"mx-1\",attrs:{\"large\":\"\",\"depressed\":\"\",\"block\":_vm.$vuetify.breakpoint.mobile,\"outlined\":\"\",\"tile\":\"\"},on:{\"click\":function($event){_vm.isEditTournamentGroupDialogVisible = true}}},[_c('v-icon',{staticClass:\"mr-1\"},[_vm._v(\"mdi-account-group\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.EditGroup'))+\" \")],1):_vm._e(),_c('v-btn',{staticClass:\"mx-1\",attrs:{\"large\":\"\",\"depressed\":\"\",\"block\":_vm.$vuetify.breakpoint.mobile,\"outlined\":\"\",\"tile\":\"\"},on:{\"click\":function($event){_vm.isEditGameAccountDialogVisible = true}}},[_c('v-icon',{staticClass:\"mr-1\"},[_vm._v(\"mdi-pencil-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.EditIGN'))+\" \")],1),(_vm.hasCustomForm)?_c('v-btn',{staticClass:\"mx-1\",attrs:{\"large\":\"\",\"block\":_vm.$vuetify.breakpoint.mobile,\"depressed\":\"\",\"outlined\":\"\",\"tile\":\"\"},on:{\"click\":function($event){_vm.isTournamentResponseEditDialogVisible = true}}},[_c('v-icon',{staticClass:\"mr-1\"},[_vm._v(\"mdi-pencil-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.EditFormData'))+\" \")],1):_vm._e()],1)]):_vm._e(),_c('EditTournamentGroupDialog',{attrs:{\"visible\":_vm.isEditTournamentGroupDialogVisible},on:{\"update:visible\":function($event){_vm.isEditTournamentGroupDialogVisible=$event},\"changed\":_vm.onTournamentGroupChanged}}),_c('EditTournamentTeamMemberGameAccountDialog',{attrs:{\"visible\":_vm.isEditGameAccountDialogVisible},on:{\"update:visible\":function($event){_vm.isEditGameAccountDialogVisible=$event},\"changed\":_vm.onGameAccountNameChanged}}),_c('EditTournamentFormResponseDialog',{attrs:{\"visible\":_vm.isTournamentResponseEditDialogVisible},on:{\"update:visible\":function($event){_vm.isTournamentResponseEditDialogVisible=$event}}}),(_vm.isAllowChangeCaptain)?_c('TournamentTeamChangeCaptainDialog',{attrs:{\"visible\":_vm.isChangeTeamCaptainDialogVisible},on:{\"update:visible\":function($event){_vm.isChangeTeamCaptainDialogVisible=$event},\"captainChanged\":_vm.captainChanged}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isTeamCaptain)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(_vm._s(_vm.$t('TournamentPlayers.RemovePlayerTitle')))]),_c('v-card-text',[_vm._v(_vm._s(_vm.$t('TournamentPlayers.RemovePlayerContent')))]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"green darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.dialog = false}}},[_vm._v(_vm._s(_vm.$t('TournamentPlayers.Cancel')))]),_c('v-btn',{attrs:{\"color\":\"red darken-1\",\"text\":\"\"},on:{\"click\":_vm.onRemoveTeamMemberClick}},[_vm._v(_vm._s(_vm.$t('TournamentPlayers.ConfirmDelete')))])],1)],1)],1):_vm._e(),_c('v-list',{attrs:{\"dense\":\"\"}},[(_vm.waitingTeamRegistration || _vm.selectingTeamRoster)?_c('v-list-item',[_c('v-alert',{attrs:{\"type\":\"info\",\"dense\":\"\",\"border\":\"left\",\"width\":\"100%\"}},[(_vm.waitingTeamRegistration)?_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.NoOfPlayersLimit'))+\" \"),(\n _vm.tournament.capacityMinPlayersPerTeam ===\n _vm.tournament.capacityMaxPlayersPerTeam\n )?[_vm._v(\" \"+_vm._s(_vm.tournament.capacityMaxPlayersPerTeam)+\" \")]:[_vm._v(\" \"+_vm._s(_vm.tournament.capacityMinPlayersPerTeam)+\" - \"+_vm._s(_vm.tournament.capacityMaxPlayersPerTeam)+\" \")]],2):(_vm.isSelectingTeamRoster)?_c('p',{class:{ caption: _vm.$vuetify.breakpoint.mobile }},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.SelectTeamRoster', { capacityMinPlayersPerTeam: _vm.tournament.capacityMinPlayersPerTeam, capacityMaxPlayersPerTeam: _vm.tournament.capacityMaxPlayersPerTeam }))+\" \")]):_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.WaitingForRosterConfirmation'))+\" \")])])],1):_vm._e(),_vm._l((_vm.players),function(tournamentPlayer,index){return _c('v-list-item',{key:(\"step-teammate-\" + index),class:{\n 'selected-roster-member':\n _vm.selectedTeamRoster.indexOf(tournamentPlayer.memberId) !== -1\n },attrs:{\"two-line\":\"\",\"flat\":\"\"},on:{\"click\":function($event){return _vm.onParticipantIndividualClick(tournamentPlayer.memberId)}}},[_c('v-list-item-avatar',{staticClass:\"d-none d-sm-flex\"},[_c('UserAvatar',{attrs:{\"imageUrl\":tournamentPlayer.avatar,\"width\":36}})],1),_c('v-list-item-content',{staticClass:\"d-block d-sm-flex\"},[_c('v-list-item-title',{staticClass:\"caption\"},[_vm._v(\" \"+_vm._s(tournamentPlayer.nickname)+\" \"),(_vm.userId === tournamentPlayer.memberId)?_c('v-chip',{staticClass:\"ml-2\",attrs:{\"small\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.You')))]):_vm._e()],1),_c('v-list-item-subtitle',{staticClass:\"caption\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.InGameName'))+\" : \"+_vm._s(tournamentPlayer.gameAccountNickname)+\" \")])],1),(_vm.isSelectingTeamRoster || !_vm.waitingTeamRegistration)?_c('v-list-item-content',{staticClass:\"d-block d-sm-flex\"},[_c('div',{staticClass:\"font-weight-bold\"},[(_vm.getTeamPlayerIsStarter(tournamentPlayer))?_c('v-chip',{attrs:{\"color\":\"success\",\"small\":!_vm.$vuetify.breakpoint.mobile,\"x-small\":_vm.$vuetify.breakpoint.mobile,\"label\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Starter'))+\" \")]):(_vm.selectingTeamRoster && !_vm.isTeamCaptain)?_c('v-chip',{attrs:{\"color\":\"orange darken-2\",\"small\":\"\",\"label\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Pending'))+\" \")]):_c('v-chip',{attrs:{\"color\":\"red\",\"small\":\"\",\"label\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Bench'))+\" \")])],1)]):_vm._e(),_c('v-list-item-action',[(tournamentPlayer.role === _vm.TournamentTeamRole.Captain)?_c('v-btn',{staticClass:\"d-none d-sm-flex\",attrs:{\"icon\":\"\",\"disabled\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-alpha-c-circle\")])],1):(\n !_vm.isSelectingTeamRoster &&\n tournamentPlayer.role === _vm.TournamentTeamRole.Member\n )?_c('v-btn',{staticClass:\"d-none d-sm-flex\",attrs:{\"icon\":\"\",\"disabled\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-alpha-m\")])],1):_vm._e(),(tournamentPlayer.role !== 'Captain' && _vm.isSelectingTeamRoster)?_c('v-btn',{attrs:{\"color\":\"error\",\"icon\":\"\"},on:{\"click\":function($event){_vm.dialog = true\n _vm.removeMemberId = tournamentPlayer.memberId}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1):_vm._e()],1)],1)}),_vm._l((_vm.remainingPlayers),function(remainingPlayer,remainingIndex){return _c('v-list-item',{key:(\"step-teammate-remaining-\" + remainingIndex)},[_c('v-list-item-avatar',{attrs:{\"color\":\"grey\"}}),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.WaitingForNewPlayer'))+\" \")])],1),_c('v-list-item-action',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"32\"}})],1)],1)})],2),(_vm.isSelectingTeamRoster && _vm.canChooseVenue)?_c('v-select',{staticClass:\"mt-3 mb-2\",attrs:{\"label\":_vm.$t('TournamentPlayers.SelectVenue'),\"outlined\":\"\",\"hide-details\":\"\",\"dark\":\"\",\"item-text\":\"venue.name\",\"item-value\":\"venue.venueId\",\"items\":_vm.venues},scopedSlots:_vm._u([{key:\"item\",fn:function(props){return [_c('div',{staticClass:\"py-4 venue-selection\"},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"d-flex flex-column\"},[_vm._v(\" \"+_vm._s(props.item.venue.name)+\" \"),_c('div',{staticClass:\"caption\"},[_vm._v(\" \"+_vm._s(props.item.venue.address1)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(props.item.venue.address2)+\" \")])]),_c('div',{staticClass:\"ml-auto\"},[(props.item.quota)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Quota'))+\": \"+_vm._s(props.item.quota - props.item.current)+\" / \"+_vm._s(props.item.quota)+\" \")]:[_vm._v(\" ∞ \")]],2)])])]}}],null,false,2321763467),model:{value:(_vm.selectedVenueId),callback:function ($$v) {_vm.selectedVenueId=$$v},expression:\"selectedVenueId\"}}):_vm._e(),(_vm.isSelectingTeamRoster)?_c('v-btn',{attrs:{\"disabled\":_vm.confirmLoading ||\n _vm.selectedTeamRoster.length < _vm.tournament.capacityMinPlayersPerTeam ||\n (_vm.canChooseVenue && !_vm.selectedVenueId),\"block\":\"\",\"color\":\"success\",\"loading\":_vm.confirmLoading},on:{\"click\":_vm.onConfirmTournamentTeamRosterClick}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Confirm')))]):_vm._e(),(_vm.isUndoConfirmRosterEnabled)?[_c('v-alert',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.UnconfirmRosterWarning'))+\" \")]),_c('v-btn',{attrs:{\"block\":\"\",\"loading\":_vm.undoConfirmLoading},on:{\"click\":_vm.onUndoConfirmRosterClick}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.CancelConfirmedState'))+\" \")])]:_vm._e()],2)}\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\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 { Vue, Component, Prop, Watch, Emit } from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport UserAvatar from '@/modules/shared/components/UserAvatar'\r\nimport ServerError from '@/utils/server_error'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport {\r\n TournamentAPI,\r\n TournamentEntity,\r\n ConfirmTournamentTeamRosterRequest,\r\n TournamentVenueWithDetail,\r\n TournamentState\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole,\r\n TournamentTeamState\r\n} from '@/api/tournamentTeam'\r\n\r\n@Component({\r\n components: {\r\n UserAvatar\r\n }\r\n})\r\nexport default class TournamentPlayers extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n selectedTeamRoster: string[] = []\r\n confirmLoading: boolean = false\r\n undoConfirmLoading: boolean = false\r\n venues: TournamentVenueWithDetail[] = []\r\n selectedVenueId: string | null = null\r\n canChooseVenue: boolean = false\r\n\r\n removeMemberId: string = ''\r\n dialog: boolean = false\r\n\r\n @Prop({ default: false }) readonly selectingTeamRoster!: boolean\r\n @Prop({ default: false }) readonly waitingTeamRegistration!: boolean\r\n\r\n @Watch('tournamentTeam', { deep: true })\r\n async ontournamentTeamChanged(\r\n tournamentTeam: TournamentTeamEntity,\r\n oldtournamentTeam: TournamentTeamEntity\r\n ) {\r\n this.refreshSelectedTeamRoster()\r\n }\r\n\r\n /* Watchers */\r\n @Watch('tournament')\r\n async onTournamentChanged() {\r\n await this.refreshVenues()\r\n }\r\n\r\n @Watch('selectingTeamRoster')\r\n onSelectingTeamRoster() {\r\n this.selectedTeamRoster = []\r\n this.refreshSelectedTeamRoster()\r\n }\r\n\r\n @Watch('isTeamCaptain')\r\n onTeamCaptainChanged() {\r\n this.refreshSelectedTeamRoster()\r\n }\r\n\r\n /* Emitters */\r\n @Emit('confirmRoster')\r\n onConfirmRoster() {\r\n this.selectedTeamRoster = []\r\n return this\r\n }\r\n\r\n @Emit('unconfirmRoster')\r\n onUndoConfirmRoster() {\r\n this.refreshSelectedTeamRoster()\r\n\r\n return this\r\n }\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 tournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get players() {\r\n if (!this.tournamentTeam) return []\r\n\r\n return this.tournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n /* Computed Properties */\r\n get remainingPlayers() {\r\n if (\r\n !this.tournament ||\r\n !this.tournamentTeam ||\r\n !this.tournamentTeam.players\r\n ) {\r\n return 0\r\n }\r\n\r\n let num = this.tournament.capacityMinPlayersPerTeam\r\n num -= this.tournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n ).length\r\n return num < 0 ? 0 : num\r\n }\r\n\r\n get isTeamCaptain() {\r\n let tournamentTeam = this.tournamentTeam\r\n if (tournamentTeam && tournamentTeam.players) {\r\n return tournamentTeam.players.some(\r\n (player: TournamentPlayerEntity) =>\r\n player.memberId === this.userId &&\r\n player.role === TournamentTeamRole.Captain\r\n )\r\n }\r\n return false\r\n }\r\n\r\n get isSelectingTeamRoster() {\r\n return this.selectingTeamRoster && this.isTeamCaptain\r\n }\r\n\r\n get TournamentTeamRole() {\r\n return TournamentTeamRole\r\n }\r\n\r\n /* Vuex Actions */\r\n async confirmTournamentTeamRoster(\r\n tournamentId: string,\r\n tournamentTeamId: string,\r\n confirmTournamentTeamRosterRequest: ConfirmTournamentTeamRosterRequest\r\n ) {\r\n return this.tournamentModule.confirmTournamentTeamRoster({\r\n tournamentId,\r\n tournamentTeamId,\r\n confirmTournamentTeamRosterRequest\r\n })\r\n }\r\n\r\n async undoConfirmTournamentTeamRoster(tournamentTeamId: string) {\r\n return this.tournamentModule.undoConfirmTournamentTeamRoster(\r\n tournamentTeamId\r\n )\r\n }\r\n\r\n /* Methods */\r\n refreshSelectedTeamRoster() {\r\n this.selectedTeamRoster = []\r\n if (this.isTeamCaptain && this.isSelectingTeamRoster) {\r\n // Only includes team captain\r\n if (!this.selectedTeamRoster.includes(this.userId))\r\n this.selectedTeamRoster.push(this.userId)\r\n } else if (!this.waitingTeamRegistration) {\r\n // Show selected roster\r\n this.tournamentTeam!.players!.map((player: TournamentPlayerEntity) => {\r\n if (player.isStarter && player.memberId) {\r\n this.selectedTeamRoster.push(player.memberId)\r\n }\r\n })\r\n }\r\n }\r\n\r\n getTeamPlayerIsStarter(player: TournamentPlayerEntity) {\r\n return this.selectedTeamRoster.includes(player.memberId) || player.isStarter\r\n }\r\n\r\n async refreshVenues() {\r\n if (!this.tournament) {\r\n return\r\n }\r\n\r\n this.selectedVenueId = null\r\n this.canChooseVenue = false\r\n\r\n try {\r\n const res = await TournamentAPI.getTournamentVenues(\r\n this.tournament!.tournamentId\r\n )\r\n this.canChooseVenue = res.data.payload!.length > 0\r\n this.venues = res.data.payload!.filter(\r\n tv => !tv.quota || tv.current < tv.quota\r\n )\r\n } catch (err) {\r\n console.error(err)\r\n }\r\n }\r\n\r\n async onRemoveTeamMemberClick() {\r\n if (!this.isTeamCaptain || !this.removeMemberId || !this.tournamentTeam) {\r\n return\r\n }\r\n\r\n if (this.userId === this.removeMemberId) {\r\n return\r\n }\r\n\r\n try {\r\n let response = await this.tournamentModule.removeTournamentTeamMember({\r\n teamId: this.tournamentTeam.tournamentTeamId,\r\n memberId: this.removeMemberId\r\n })\r\n\r\n if (response) {\r\n this.$toast.success('Player removed from lineup')\r\n if (this.selectedTeamRoster.indexOf(this.removeMemberId) !== -1) {\r\n this.selectedTeamRoster.splice(\r\n this.selectedTeamRoster.indexOf(this.removeMemberId),\r\n 1\r\n )\r\n // if selected more than capacity of tournament (unlikely to happen )\r\n }\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Misc.ErrorFetchData'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.dialog = false\r\n }\r\n }\r\n\r\n /* FIXME: To be refactor this section */\r\n onParticipantIndividualClick(userId: string) {\r\n // if not in selection mode or self selected.\r\n if (!this.isSelectingTeamRoster || userId === this.userId) {\r\n return false\r\n }\r\n\r\n // Undo action if target already selected\r\n if (this.selectedTeamRoster.indexOf(userId) !== -1) {\r\n this.selectedTeamRoster.splice(this.selectedTeamRoster.indexOf(userId), 1)\r\n // if selected more than capacity of tournament (unlikely to happen )\r\n } else if (this.teamRosterTotalCapacityExceeded) {\r\n this.$toast.error(\r\n this.$t('TournamentPlayers.YourTeamRosterReachesTheMaxNoOfPlayers'),\r\n {\r\n dismissable: true,\r\n icon: 'mdi-account-check-outline'\r\n }\r\n )\r\n } else if (this.teamRosterStarterCapacityExceeded) {\r\n this.$toast.error(\r\n this.$t('TournamentPlayers.TeamRosterStarterCapacityExceeded', {\r\n playersPerTeam: this.tournament!.capacityMinPlayersPerTeam\r\n }),\r\n {\r\n dismissable: true,\r\n icon: 'mdi-account-check-outline'\r\n }\r\n )\r\n } else {\r\n this.selectedTeamRoster.push(userId)\r\n }\r\n }\r\n\r\n async onConfirmTournamentTeamRosterClick() {\r\n if (!this.tournament || !this.tournamentTeam) {\r\n return\r\n }\r\n\r\n this.confirmLoading = true\r\n\r\n const confirmTournamentTeamRoster: ConfirmTournamentTeamRosterRequest = {\r\n memberIds: this.selectedTeamRoster.filter(\r\n (value, index, self) => self.indexOf(value) === index\r\n ),\r\n paymentMethod: undefined\r\n }\r\n\r\n try {\r\n const success = await this.confirmTournamentTeamRoster(\r\n this.tournament.tournamentId,\r\n this.tournamentTeam.tournamentTeamId,\r\n confirmTournamentTeamRoster\r\n )\r\n if (success) {\r\n this.$toast.success(\r\n this.$t('TournamentPlayers.TournamentTeamRosterConfirmed'),\r\n {\r\n dismissable: true,\r\n icon: 'mdi-account-check-outline'\r\n }\r\n )\r\n\r\n this.onConfirmRoster()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage(), {\r\n dismissable: true,\r\n icon: 'mdi-account-check-outline'\r\n })\r\n } else {\r\n this.$toast.error(this.$t('TournamentPlayers.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.confirmLoading = false\r\n }\r\n }\r\n\r\n async onUndoConfirmRosterClick() {\r\n if (!this.tournament || !this.tournamentTeam) return\r\n\r\n this.undoConfirmLoading = true\r\n\r\n try {\r\n const success = await this.undoConfirmTournamentTeamRoster(\r\n this.tournamentTeam.tournamentTeamId\r\n )\r\n if (success) {\r\n this.$toast.success(\r\n this.$t('TournamentPlayers.TournamentTeamRosterUnconfirmed'),\r\n {\r\n dismissable: true,\r\n icon: 'mdi-account-cancel-outline'\r\n }\r\n )\r\n }\r\n\r\n this.onUndoConfirmRoster()\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage(), {\r\n dismissable: true,\r\n icon: 'mdi-account-cancel-outline'\r\n })\r\n } else {\r\n this.$toast.error(this.$t('TournamentPlayers.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.undoConfirmLoading = false\r\n }\r\n }\r\n\r\n /* Computed Properties */\r\n get teamRosterTotalCapacityExceeded() {\r\n return (\r\n this.selectedTeamRoster.length >=\r\n this.tournament!.capacityMaxPlayersPerTeam\r\n )\r\n }\r\n\r\n get teamRosterStarterCapacityExceeded() {\r\n return (\r\n this.selectedTeamRoster.length >=\r\n this.tournament!.capacityMinPlayersPerTeam\r\n )\r\n }\r\n\r\n get isUndoConfirmRosterEnabled() {\r\n if (!this.tournamentTeam || !this.tournament) return false\r\n if (this.tournament.state !== TournamentState.OpenRegistration) return false\r\n return (\r\n this.tournamentTeam.state === TournamentTeamState.Registered &&\r\n this.isTeamCaptain\r\n )\r\n }\r\n\r\n /* Vue Hooks */\r\n mounted() {\r\n this.refreshSelectedTeamRoster()\r\n this.refreshVenues()\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!./TournamentPlayers.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!./TournamentPlayers.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentPlayers.vue?vue&type=template&id=0c89911a&scoped=true&\"\nimport script from \"./TournamentPlayers.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentPlayers.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentPlayers.vue?vue&type=style&index=0&id=0c89911a&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 \"0c89911a\",\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 { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardText,VCardTitle,VChip,VDialog,VIcon,VList,VListItem,VListItemAction,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VProgressCircular,VSelect,VSpacer})\n","import TournamentPlayers from './TournamentPlayers.vue'\r\n\r\nexport { TournamentPlayers }\r\nexport default TournamentPlayers\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"40rem\"},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',[_c('v-card-title',[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamChangeCaptainDialog.Title'))+\" \")])]),_c('v-card-text',[_c('v-list',{attrs:{\"two-line\":\"\",\"dense\":\"\"}},_vm._l((_vm.players),function(player){return _c('v-list-item',{key:(\"tournament-team-caption-\" + (player.memberId)),class:{\n 'selected-captain': player.memberId === _vm.newCaptainMemberId\n },attrs:{\"disabled\":_vm.isCurrentCaptain(player)},on:{\"click\":function($event){return _vm.onNewCaptainSelected(player)}}},[_c('v-list-item-avatar',[_c('UserAvatar',{attrs:{\"imageUrl\":player.avatar,\"width\":36}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(player.nickname)+\" \")]),_c('v-list-item-subtitle',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamChangeCaptainDialog.InGameName'))+\" : \"+_vm._s(player.gameAccountNickname)+\" \")])],1),_c('v-list-item-action',[(_vm.isCurrentCaptain(player))?_c('v-chip',{staticClass:\"ma-1\",attrs:{\"color\":\"green\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-account-tie0\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamChangeCaptainDialog.CurrentCaptain'))+\" \")],1):_vm._e()],1)],1)}),1)],1)],1),_c('ConfirmDialog',{attrs:{\"title\":_vm.$t('TournamentTeamChangeCaptainDialog.ConfirmDialogTitle'),\"content\":_vm.confirmDialogMessage,\"isVisible\":_vm.isConfirmDialogVisible},on:{\"confirm\":_vm.changeCaptain,\"cancel\":function($event){_vm.isConfirmDialogVisible = false}}})],1)}\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\r\nimport {\r\n Component,\r\n Emit,\r\n Prop,\r\n PropSync,\r\n Vue,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport UserAvatar from '@/modules/shared/components/UserAvatar'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport ConfirmDialog from '@/modules/shared/components/ConfirmDialog'\r\nimport { ResponseStatus, TournamentAPI } from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\n\r\n@Component({\r\n components: {\r\n UserAvatar,\r\n ConfirmDialog\r\n }\r\n})\r\nexport default class TournamentTeamChangeCaptainDialog extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n @PropSync('visible', { default: false }) isVisible!: boolean\r\n\r\n newCaptainMemberId: string = ''\r\n newCaptainMemberName: string = ''\r\n isConfirmDialogVisible: boolean = false\r\n isChangeCaptainLoading: boolean = false\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n onVisibleChange(visible: boolean) {\r\n if (!visible) {\r\n this.newCaptainMemberId = ''\r\n this.newCaptainMemberName = ''\r\n }\r\n }\r\n\r\n /* Methods */\r\n onNewCaptainSelected(player: TournamentPlayerEntity) {\r\n this.newCaptainMemberId = player.memberId\r\n this.newCaptainMemberName = player.nickname\r\n this.isConfirmDialogVisible = true\r\n }\r\n\r\n isCurrentCaptain(player: TournamentPlayerEntity) {\r\n return player.role === TournamentTeamRole.Captain\r\n }\r\n\r\n async changeCaptain() {\r\n this.isChangeCaptainLoading = true\r\n try {\r\n const response = await TournamentAPI.changeTournamentTeamCaptain(\r\n this.selectedTournamentTeam!.tournamentTeamId,\r\n this.newCaptainMemberId\r\n )\r\n if (response.data.status === ResponseStatus.Ok) {\r\n this.$toast.success(\r\n this.$t(\r\n 'TournamentTeamChangeCaptainDialog.TeamCaptainChangedSuccessfully'\r\n )\r\n )\r\n this.captainChanged()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n }\r\n\r\n console.error(err)\r\n } finally {\r\n this.isChangeCaptainLoading = false\r\n this.isConfirmDialogVisible = false\r\n }\r\n }\r\n\r\n captainChanged() {\r\n this.newCaptainMemberId = ''\r\n this.newCaptainMemberName = ''\r\n this.$emit('captainChanged')\r\n }\r\n\r\n /* Computed Properties */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get isTeamCaptain(): boolean {\r\n let tournamentTeam = this.selectedTournamentTeam\r\n if (tournamentTeam && tournamentTeam.players) {\r\n return tournamentTeam.players.some(\r\n (player: TournamentPlayerEntity) =>\r\n player.memberId === this.userId && player.role === 'Captain'\r\n )\r\n }\r\n return false\r\n }\r\n\r\n get players(): TournamentPlayerEntity[] {\r\n if (!this.selectedTournamentTeam) return []\r\n return this.selectedTournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n get confirmDialogMessage() {\r\n return this.$t(\r\n 'TournamentTeamChangeCaptainDialog.ConfirmChangeTeamCaptainMessage',\r\n {\r\n captainName: this.newCaptainMemberName\r\n }\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!./TournamentTeamChangeCaptainDialog.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!./TournamentTeamChangeCaptainDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentTeamChangeCaptainDialog.vue?vue&type=template&id=2f978412&scoped=true&\"\nimport script from \"./TournamentTeamChangeCaptainDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentTeamChangeCaptainDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentTeamChangeCaptainDialog.vue?vue&type=style&index=0&id=2f978412&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 \"2f978412\",\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 { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\ninstallComponents(component, {VCard,VCardText,VCardTitle,VChip,VDialog,VIcon,VList,VListItem,VListItemAction,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle})\n","import TournamentTeamChangeCaptainDialog from './TournamentTeamChangeCaptainDialog.vue'\r\n\r\nexport { TournamentTeamChangeCaptainDialog }\r\nexport default TournamentTeamChangeCaptainDialog\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"50rem\"},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',{staticClass:\"text-center pa-5\",attrs:{\"loading\":_vm.isChangingGroup}},[_c('v-card-title',[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentGroupDialog.Title'))+\" \")])]),_c('v-card-text',{staticClass:\"orange--text font-weight-bold title mt-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentGroupDialog.Subtitle'))+\" \")]),_c('v-container',{staticClass:\"text-left px-0 px-sm-15\",attrs:{\"fluid\":\"\"}},[(_vm.isGroupsLoading)?_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"100\"}})],1)],1):[_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-list',{staticClass:\"py-0 group-list\",attrs:{\"two-line\":\"\",\"outlined\":\"\"}},_vm._l((_vm.groups),function(group,index){return _c('v-list-item',{key:(\"group-li-\" + index),staticClass:\"group-li\",attrs:{\"input-value\":_vm.selectedGroup === group.name},on:{\"click\":function($event){_vm.selectedGroup = group.name}}},[_c('v-list-item-avatar',[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-account-group\")])],1),_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"title action-option\"},[_vm._v(_vm._s(group.name))]),_c('v-list-item-subtitle',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.CurrentGroupTeamNumbers'))+\" \"),(group.current <= 0 && group.maxTeams <= 0)?[_vm._v(\" -- \")]:(group.maxTeams <= 0)?[_vm._v(\" \"+_vm._s(group.current)+\" \")]:[_vm._v(\" \"+_vm._s(group.current)+\" / \"+_vm._s(group.maxTeams)+\" \")],_vm._v(\" . \"),(group.available)?_c('span',{staticClass:\"green--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Available'))+\" \")]):_c('span',{staticClass:\"red--text\"},[_vm._v(_vm._s(_vm.$t('TournamentRegistration.Unavailable')))])],2)],1)],1)}),1)],1)],1),_c('v-row',[_c('v-col',{staticClass:\"text-center\"},[(_vm.isSelectedGroupNotAvailable)?_c('small',{staticClass:\"red--text\"},[_c('v-icon',{attrs:{\"color\":\"red\",\"left\":\"\"}},[_vm._v(\"mdi-alert\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.AlreadyFull'))+\" \")],1):_vm._e()])],1)]],2),_c('div',{staticClass:\"mt-5\"},[_c('v-btn',{attrs:{\"depressed\":\"\",\"color\":\"orange darken-3\",\"large\":\"\",\"disabled\":!_vm.canSelectGroup ||\n !this.selectedTournamentTeam ||\n this.selectedTournamentTeam.group === this.selectedGroup},on:{\"click\":function($event){_vm.isConfirmDialogVisible = true}}},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentGroupDialog.Confirm'))+\" \")])],1)],1),_c('ConfirmDialog',{attrs:{\"title\":_vm.$t('EditTournamentGroupDialog.ConfirmDialogTitle'),\"content\":_vm.$t('EditTournamentGroupDialog.ConfirmDialogMessage'),\"isVisible\":_vm.isConfirmDialogVisible},on:{\"confirm\":_vm.changeGroup,\"cancel\":function($event){_vm.isConfirmDialogVisible = false}}})],1)}\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\r\nimport {\r\n Component,\r\n Emit,\r\n Prop,\r\n PropSync,\r\n Vue,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport ConfirmDialog from '@/modules/shared/components/ConfirmDialog'\r\nimport {\r\n ResponseStatus,\r\n TournamentAPI,\r\n TournamentEntity,\r\n TournamentGroupAvailability\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\nimport i18n from '@/lang'\r\n\r\n@Component({\r\n components: {\r\n ConfirmDialog\r\n }\r\n})\r\nexport default class EditTournamentGroupDialog extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n @PropSync('visible', { default: false }) isVisible!: boolean\r\n\r\n selectedGroup: string | null = null\r\n\r\n isGroupsLoading: boolean = false\r\n groups: TournamentGroupAvailability[] = []\r\n\r\n isConfirmDialogVisible: boolean = false\r\n isChangingGroup: boolean = false\r\n\r\n inGameNameRules: Function[] = [\r\n (v: any) => !!v || i18n.t('InGameNameRegistration.InGameNameIsRequired')\r\n ]\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n onVisibleChange(visible: boolean) {\r\n if (!visible) {\r\n this.selectedGroup = null\r\n } else {\r\n if (this.selectedTournamentTeam) {\r\n this.selectedGroup = this.selectedTournamentTeam.group\r\n }\r\n this.fetchGroups().then()\r\n }\r\n }\r\n\r\n /* Methods */\r\n async fetchGroups() {\r\n this.isGroupsLoading = true\r\n\r\n try {\r\n const res = await TournamentAPI.getTournamentGroups(\r\n this.selectedTournament!.tournamentId\r\n )\r\n this.groups = res.data.payload!\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Landing.SystemErrorMessage'))\r\n }\r\n } finally {\r\n this.isGroupsLoading = false\r\n }\r\n }\r\n\r\n async changeGroup() {\r\n this.isChangingGroup = true\r\n try {\r\n const response = await TournamentAPI.editTournamentTeam(\r\n this.selectedTournamentTeam!.tournamentTeamId,\r\n {\r\n group: this.selectedGroup!\r\n }\r\n )\r\n if (response.data.status === ResponseStatus.Ok) {\r\n this.$toast.success(this.$t('EditTournamentGroupDialog.GroupChanged'))\r\n this.selectedGroup = null\r\n this.$emit('changed')\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n }\r\n\r\n console.error(err)\r\n } finally {\r\n this.isChangingGroup = false\r\n this.isConfirmDialogVisible = false\r\n this.isVisible = false\r\n }\r\n }\r\n\r\n /* Computed Properties */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedTournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get canSelectGroup() {\r\n if (!this.selectedGroup) {\r\n return false\r\n }\r\n\r\n const group = this.groups.find(group => group.name === this.selectedGroup)\r\n if (!group) return false\r\n return group.available\r\n }\r\n\r\n get isSelectedGroupNotAvailable() {\r\n const group = this.groups.find(group => group.name === this.selectedGroup)\r\n if (!group) return false\r\n return !group.available\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!./EditTournamentGroupDialog.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!./EditTournamentGroupDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditTournamentGroupDialog.vue?vue&type=template&id=74837e1e&scoped=true&\"\nimport script from \"./EditTournamentGroupDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditTournamentGroupDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EditTournamentGroupDialog.vue?vue&type=style&index=0&id=74837e1e&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 \"74837e1e\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VCol,VContainer,VDialog,VIcon,VList,VListItem,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VProgressCircular,VRow})\n","import EditTournamentGroupDialog from './EditTournamentGroupDialog.vue'\r\n\r\nexport { EditTournamentGroupDialog }\r\nexport default EditTournamentGroupDialog\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"50rem\"},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',{staticClass:\"text-center pa-5\",attrs:{\"loading\":_vm.isChangingName}},[_c('v-card-title',[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.Title'))+\" \"),(_vm.selectedTournament && _vm.selectedTournament.game === 'WildRift')?[_vm._v(\" (RIOT ID) \")]:_vm._e()],2)]),_c('v-card-text',{staticClass:\"orange--text font-weight-bold title mt-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.Subtitle'))+\" \")]),_c('v-card-text',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.ParticipatingAs'))+_vm._s(_vm.me.gameAccountNickname)+\" \")]),_c('v-text-field',{attrs:{\"outlined\":\"\",\"hint\":_vm.wildRiftHint,\"rules\":_vm.inGameNameRules},model:{value:(_vm.newGameAccountName),callback:function ($$v) {_vm.newGameAccountName=$$v},expression:\"newGameAccountName\"}}),_c('div',{staticClass:\"mt-5\"},[_c('v-btn',{attrs:{\"depressed\":\"\",\"color\":\"orange darken-3\",\"large\":\"\",\"disabled\":!_vm.me ||\n _vm.me.gameAccountNickname === _vm.newGameAccountName ||\n !_vm.newGameAccountName},on:{\"click\":function($event){_vm.isConfirmDialogVisible = true}}},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.Confirm'))+\" \")])],1)],1),_c('ConfirmDialog',{attrs:{\"title\":_vm.$t('EditTournamentTeamMemberGameAccountDialog.ConfirmDialogTitle'),\"content\":_vm.confirmDialogMessage,\"isVisible\":_vm.isConfirmDialogVisible},on:{\"confirm\":_vm.changeName,\"cancel\":function($event){_vm.isConfirmDialogVisible = false}}})],1)}\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\r\nimport {\r\n Component,\r\n Emit,\r\n Prop,\r\n PropSync,\r\n Vue,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport ConfirmDialog from '@/modules/shared/components/ConfirmDialog'\r\nimport {\r\n ResponseStatus,\r\n TournamentAPI,\r\n TournamentEntity\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\nimport i18n from '@/lang'\r\n\r\n@Component({\r\n components: {\r\n ConfirmDialog\r\n }\r\n})\r\nexport default class EditTournamentTeamMemberGameAccountDialog extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n @PropSync('visible', { default: false }) isVisible!: boolean\r\n\r\n newCaptainMemberId: string = ''\r\n newGameAccountName: string = ''\r\n isConfirmDialogVisible: boolean = false\r\n isChangingName: boolean = false\r\n\r\n inGameNameRules: Function[] = [\r\n (v: any) => !!v || i18n.t('InGameNameRegistration.InGameNameIsRequired')\r\n ]\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n onVisibleChange(visible: boolean) {\r\n if (!visible) {\r\n this.newCaptainMemberId = ''\r\n this.newGameAccountName = ''\r\n } else {\r\n if (this.me) {\r\n this.newGameAccountName = this.me.gameAccountNickname\r\n }\r\n }\r\n }\r\n\r\n /* Methods */\r\n async changeName() {\r\n this.isChangingName = true\r\n try {\r\n const response = await TournamentAPI.changeTournamentTeamGameAccount(\r\n this.selectedTournamentTeam!.tournamentTeamId,\r\n this.newGameAccountName\r\n )\r\n if (response.data.status === ResponseStatus.Ok) {\r\n this.$toast.success(\r\n this.$t(\r\n 'EditTournamentTeamMemberGameAccountDialog.GameAccountNameChanged'\r\n )\r\n )\r\n this.nameChanged()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n }\r\n\r\n console.error(err)\r\n } finally {\r\n this.isChangingName = false\r\n this.isConfirmDialogVisible = false\r\n this.isVisible = false\r\n }\r\n }\r\n\r\n nameChanged() {\r\n this.newCaptainMemberId = ''\r\n this.newGameAccountName = ''\r\n this.$emit('changed')\r\n }\r\n\r\n /* Computed Properties */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedTournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get wildRiftHint() {\r\n if (!this.selectedTournament || this.selectedTournament.game !== 'WildRift')\r\n return ''\r\n\r\n return '此遊戲的 RIOT ID 遊戲帳號格式為: ABCDEF#1234'\r\n }\r\n\r\n get game() {\r\n if (!this.selectedTournament) return ''\r\n\r\n return this.selectedTournament.game\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get players(): TournamentPlayerEntity[] {\r\n if (!this.selectedTournamentTeam) return []\r\n return this.selectedTournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n get me() {\r\n if (!this.selectedTournamentTeam) return null\r\n\r\n return this.selectedTournamentTeam.players.find(\r\n player => player.memberId === this.userId\r\n )\r\n }\r\n\r\n get confirmDialogMessage() {\r\n return this.$t(\r\n 'EditTournamentTeamMemberGameAccountDialog.ConfirmDialogMessage',\r\n {\r\n captainName: this.newGameAccountName\r\n }\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!./EditTournamentTeamMemberGameAccountDialog.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!./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=template&id=9e79fe70&scoped=true&\"\nimport script from \"./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=style&index=0&id=9e79fe70&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 \"9e79fe70\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VDialog,VTextField})\n","import EditTournamentTeamMemberGameAccountDialog from './EditTournamentTeamMemberGameAccountDialog.vue'\r\n\r\nexport { EditTournamentTeamMemberGameAccountDialog }\r\nexport default EditTournamentTeamMemberGameAccountDialog\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"50rem\"},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',{staticClass:\"text-center pa-5\",attrs:{\"loading\":_vm.isLoading}},[_c('v-card-title',[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentFormResponseDialog.Title'))+\" \")])]),_c('v-container',[(_vm.schema && _vm.response)?[_c('v-form',[_c('v-form-base',{attrs:{\"model\":_vm.response,\"schema\":_vm.schema}})],1)]:[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":48}})]],2),_c('div',{staticClass:\"mt-5\"},[_c('v-btn',{attrs:{\"depressed\":\"\",\"color\":\"orange darken-3\",\"large\":\"\"},on:{\"click\":function($event){_vm.isConfirmDialogVisible = true}}},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.Confirm'))+\" \")])],1)],1),_c('ConfirmDialog',{attrs:{\"title\":_vm.$t('EditTournamentTeamMemberGameAccountDialog.ConfirmDialogTitle'),\"content\":_vm.confirmDialogMessage,\"isVisible\":_vm.isConfirmDialogVisible},on:{\"confirm\":_vm.submit,\"cancel\":function($event){_vm.isConfirmDialogVisible = false}}})],1)}\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\r\nimport {\r\n Component,\r\n Emit,\r\n Prop,\r\n PropSync,\r\n Vue,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport ConfirmDialog from '@/modules/shared/components/ConfirmDialog'\r\nimport VFormBase from 'vuetify-form-base'\r\nimport {\r\n ResponseStatus,\r\n TournamentAPI,\r\n TournamentEntity\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\nimport { parseSchema } from '@/utils/customform_validation'\r\nimport i18n from '@/lang'\r\n\r\n@Component({\r\n components: {\r\n ConfirmDialog,\r\n VFormBase\r\n }\r\n})\r\nexport default class EditTournamentFormResponseDialog extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n @PropSync('visible', { default: false }) isVisible!: boolean\r\n\r\n schema: any = {}\r\n response: any = null\r\n isConfirmDialogVisible: boolean = false\r\n isLoading: boolean = false\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n async onVisibleChange(visible: boolean) {\r\n if (!visible) {\r\n this.schema = {}\r\n this.response = null\r\n } else {\r\n await this.fetchTournamentTeamFormResponse()\r\n }\r\n }\r\n\r\n /* Methods */\r\n async submit() {\r\n this.isLoading = true\r\n try {\r\n const response = await TournamentAPI.updateTournamentFormResponse(\r\n this.selectedTournamentTeam!.tournamentTeamId,\r\n JSON.stringify(this.response)\r\n )\r\n if (response.data.status === ResponseStatus.Ok) {\r\n this.$toast.success(\r\n this.$t('EditTournamentFormResponseDialog.SubmittedMessage')\r\n )\r\n this.nameChanged()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n }\r\n console.error(err)\r\n } finally {\r\n this.isLoading = false\r\n this.isConfirmDialogVisible = false\r\n this.isVisible = false\r\n }\r\n }\r\n\r\n async fetchTournamentTeamFormResponse() {\r\n try {\r\n const res = await TournamentAPI.getMemberTournamentFormResponse(\r\n this.selectedTournamentTeam!.tournamentTeamId\r\n )\r\n if (res.data.payload) {\r\n this.schema = parseSchema(res.data.payload.schema)\r\n this.response = JSON.parse(res.data.payload.value)\r\n }\r\n } catch {\r\n // use fallback to parse schema content\r\n this.fetchTournamentFormSchemaFallback()\r\n }\r\n }\r\n\r\n async fetchTournamentFormSchemaFallback() {\r\n try {\r\n const res = await TournamentAPI.getTournamentCustomFormSchema(\r\n this.selectedTournament!.tournamentId\r\n )\r\n if (res.data.payload) {\r\n this.schema = parseSchema(res.data.payload.schema)\r\n this.response = {}\r\n }\r\n } catch {\r\n this.isVisible = false\r\n }\r\n }\r\n\r\n nameChanged() {\r\n // this.newCaptainMemberId = ''\r\n // this.newGameAccountName = ''\r\n this.$emit('changed')\r\n }\r\n\r\n /* Computed Properties */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedTournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get game() {\r\n if (!this.selectedTournament) return ''\r\n\r\n return this.selectedTournament.game\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get players(): TournamentPlayerEntity[] {\r\n if (!this.selectedTournamentTeam) return []\r\n return this.selectedTournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n get me() {\r\n if (!this.selectedTournamentTeam) return null\r\n\r\n return this.selectedTournamentTeam.players.find(\r\n player => player.memberId === this.userId\r\n )\r\n }\r\n\r\n get confirmDialogMessage() {\r\n return this.$t('EditTournamentFormResponseDialog.ConfirmDialogMessage')\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!./EditTournamentFormResponseDialog.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!./EditTournamentFormResponseDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditTournamentFormResponseDialog.vue?vue&type=template&id=d317a484&scoped=true&\"\nimport script from \"./EditTournamentFormResponseDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditTournamentFormResponseDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EditTournamentFormResponseDialog.vue?vue&type=style&index=0&id=d317a484&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 \"d317a484\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\ninstallComponents(component, {VBtn,VCard,VCardTitle,VContainer,VDialog,VForm,VProgressCircular})\n","import EditTournamentFormResponseDialog from './EditTournamentFormResponseDialog.vue'\r\nexport default EditTournamentFormResponseDialog\r\nexport { EditTournamentFormResponseDialog }\r\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\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, Ref, Emit, Watch, Prop } from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport TournamentPlayers from './TournamentPlayers'\r\nimport TournamentTeamChangeCaptainDialog from '@/modules/tournament/components/TournamentTeamChangeCaptainDialog'\r\nimport EditTournamentGroupDialog from '../../EditTournamentGroupDialog'\r\nimport EditTournamentTeamMemberGameAccountDialog from '../../EditTournamentTeamMemberGameAccountDialog'\r\nimport EditTournamentFormResponseDialog from '../../EditTournamentFormResponseDialog'\r\nimport {\r\n TournamentAPI,\r\n TournamentEntity,\r\n TournamentState\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamState,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { HubConnection } from '@microsoft/signalr'\r\nimport { CancelError, CancellationToken } from '@/utils/cancel'\r\nimport { getRealtimeConnection, realtimeEventTarget } from '@/utils/realtime'\r\nimport i18n from '@/lang'\r\nimport { isElectron } from '@/utils/electron'\r\n\r\n@Component({\r\n components: {\r\n TournamentPlayers,\r\n TournamentTeamChangeCaptainDialog,\r\n EditTournamentGroupDialog,\r\n EditTournamentFormResponseDialog,\r\n EditTournamentTeamMemberGameAccountDialog\r\n }\r\n})\r\nexport default class TeamRegistrationStatus extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n realtimeConnection!: HubConnection\r\n realtimeConnectionCancellationToken = new CancellationToken()\r\n\r\n teamToken: string = ''\r\n isGeneratingTeamToken: boolean = false\r\n isChangeTeamCaptainDialogVisible: boolean = false\r\n isEditTournamentGroupDialogVisible: boolean = false\r\n isEditGameAccountDialogVisible: boolean = false\r\n isTournamentResponseEditDialogVisible: boolean = false\r\n\r\n @Prop({ type: Boolean, default: false }) readonly isVisible!: boolean\r\n @Prop({ type: Boolean, default: false }) readonly hasCustomForm!: boolean\r\n\r\n @Ref('teamTokenTextField')\r\n readonly teamTokenTextField!: { $el: HTMLInputElement }\r\n\r\n @Ref('tournamentPlayers')\r\n readonly tournamentPlayers!: TournamentPlayers\r\n\r\n @Emit('close')\r\n onClose() {\r\n return this\r\n }\r\n\r\n @Watch('isVisible')\r\n async onVisibilityChanged(visible: boolean) {\r\n if (visible) {\r\n if (this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n\r\n if (this.selectedTournament) {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.selectedTournament.tournamentId\r\n )\r\n }\r\n } else {\r\n if (this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'UnsubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n }\r\n }\r\n\r\n async onGameAccountNameChanged() {\r\n if (this.selectedTournament) {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.selectedTournament.tournamentId\r\n )\r\n }\r\n }\r\n\r\n async onTournamentGroupChanged() {\r\n if (this.selectedTournament) {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.selectedTournament.tournamentId\r\n )\r\n }\r\n }\r\n\r\n @Watch('selectedTournamentTeam')\r\n async onSelectedTournamentTeamChanged(\r\n selectedTournamentTeam: TournamentTeamEntity,\r\n oldSelectedTournamentTeam: TournamentTeamEntity\r\n ) {\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailConnectServerMessage')\r\n )\r\n console.error(err)\r\n }\r\n\r\n if (oldSelectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'UnsubscribeTournamentTeam',\r\n oldSelectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n\r\n if (selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n selectedTournamentTeam.tournamentTeamId\r\n )\r\n } else {\r\n this.onClose()\r\n }\r\n }\r\n\r\n async confirmRoster() {\r\n await this.tournamentPlayers.onConfirmTournamentTeamRosterClick()\r\n }\r\n\r\n async created() {\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailConnectServerMessage')\r\n )\r\n console.error(err)\r\n }\r\n\r\n this.realtimeConnection.on(\r\n 'tournamentPlayerAdded',\r\n this.onTournamentPlayerUpdated\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentPlayerRemoved',\r\n this.onTournamentPlayerRemoved\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentTeamRegistered',\r\n (memberIds: string[]) => this.onTournamentTeamRegistered(memberIds)\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentTeamCaptainChanged',\r\n this.onTournamentTeamCaptainChanged\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentPlayerUpdated',\r\n this.onTournamentPlayerUpdated\r\n )\r\n\r\n if (this.selectedTournament && this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n\r\n realtimeEventTarget.addEventListener(\r\n 'reconnected',\r\n this.onRealtimeReconnected\r\n )\r\n }\r\n\r\n async beforeDestroy() {\r\n this.realtimeConnectionCancellationToken.cancel()\r\n\r\n if (this.realtimeConnection) {\r\n this.realtimeConnection.off(\r\n 'tournamentPlayerAdded',\r\n this.onTournamentPlayerUpdated\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentPlayerRemoved',\r\n this.onTournamentPlayerUpdated\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentTeamRegistered',\r\n this.onTournamentTeamRegistered\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentTeamCaptainChanged',\r\n this.onTournamentTeamCaptainChanged\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentPlayerUpdated',\r\n this.onTournamentPlayerUpdated\r\n )\r\n\r\n if (this.selectedTournament && this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'UnsubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n }\r\n\r\n realtimeEventTarget.removeEventListener(\r\n 'reconnected',\r\n this.onRealtimeReconnected\r\n )\r\n }\r\n\r\n onTournamentPlayerJoined(tournamentPlayer: TournamentPlayerEntity) {\r\n if (!this.selectedTournamentTeam) {\r\n return\r\n }\r\n\r\n this.tournamentModule.addPlayerToSelectedTournamentTeam(tournamentPlayer)\r\n }\r\n\r\n async onTournamentPlayerRemoved(tournamentPlayer: TournamentPlayerEntity) {\r\n if (!this.selectedTournamentTeam) {\r\n return\r\n }\r\n\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n onTournamentTeamRegistered(memberIds: string[]) {\r\n this.tournamentModule.setSelectedTournamentTeamRegistered(memberIds)\r\n }\r\n\r\n onTournamentTeamCaptainChanged() {\r\n this.$toast.info(this.$t('TeamRegistrationStatus.TeamCaptainUpdated'))\r\n this.onClose()\r\n }\r\n\r\n onTournamentPlayerUpdated() {\r\n this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n async onRealtimeReconnected() {\r\n // ensure we have subscribed the tournament team\r\n if (this.selectedTournament && this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n\r\n // fetch api for new data\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n captainChanged() {\r\n this.isChangeTeamCaptainDialogVisible = false\r\n }\r\n\r\n /* Vuex State */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedTournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get isRegistrationPeriod(): boolean {\r\n if (!this.selectedTournament) return false\r\n\r\n return (\r\n this.selectedTournament.state === TournamentState.OpenRegistration ||\r\n this.selectedTournament.state === TournamentState.CompleteRegistration\r\n )\r\n }\r\n\r\n get isSoloTournament() {\r\n return (\r\n this.selectedTournament &&\r\n this.selectedTournament.capacityMaxPlayersPerTeam === 1\r\n )\r\n }\r\n\r\n get isTeamCaptain(): boolean {\r\n let tournamentTeam = this.selectedTournamentTeam\r\n if (tournamentTeam && tournamentTeam.players) {\r\n return tournamentTeam.players.some(\r\n (player: TournamentPlayerEntity) =>\r\n player.memberId === this.userId && player.role === 'Captain'\r\n )\r\n }\r\n return false\r\n }\r\n\r\n get step(): number {\r\n if (this.selectedTournamentTeam) {\r\n if (\r\n this.selectedTournamentTeam.state === TournamentTeamState.Registered\r\n ) {\r\n return 3\r\n }\r\n\r\n if (\r\n this.selectedTournamentTeam &&\r\n this.selectedTournamentTeam.players &&\r\n this.selectedTournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n ).length >= this.selectedTournament!.capacityMinPlayersPerTeam\r\n ) {\r\n return 2\r\n }\r\n }\r\n\r\n return 1\r\n }\r\n\r\n get isAllowChangeCaptain() {\r\n if (!this.isTeamCaptain) return false\r\n if (!this.selectedTournamentTeam) return false\r\n if (!this.selectedTournament) return false\r\n const validTournamentStates = [\r\n TournamentState.Initial,\r\n TournamentState.Published,\r\n TournamentState.OpenRegistration,\r\n TournamentState.CompleteRegistration\r\n ]\r\n return (\r\n this.selectedTournamentTeam.players.filter(\r\n player => player.role === TournamentTeamRole.Member\r\n ).length >= 1 &&\r\n validTournamentStates.indexOf(this.selectedTournament.state) !== -1\r\n )\r\n }\r\n\r\n /* Methods */\r\n async generateTeamToken() {\r\n this.isGeneratingTeamToken = true\r\n\r\n try {\r\n const response = await TournamentAPI.refreshTeamToken(\r\n this.selectedTournamentTeam!.tournamentTeamId\r\n )\r\n this.teamToken = response.data.payload!\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n console.error(err)\r\n }\r\n\r\n this.teamToken = ''\r\n } finally {\r\n this.isGeneratingTeamToken = false\r\n }\r\n }\r\n\r\n copyTeamToken() {\r\n this.$copyText(this.teamTokenOutput, this.teamTokenTextField.$el).then(\r\n e => {\r\n this.$toast.success(\r\n this.$t('TeamRegistrationStatus.CopiedTeamCodeToClipboard')\r\n )\r\n },\r\n e => {\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailedToCopyToClipboard')\r\n )\r\n }\r\n )\r\n }\r\n\r\n copyTeamTokenUrl() {\r\n this.$copyText(this.teamTokenUrl, this.teamTokenTextField.$el).then(\r\n e => {\r\n this.$toast.success(\r\n this.$t('TeamRegistrationStatus.CopiedTeamCodeToClipboard')\r\n )\r\n },\r\n e => {\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailedToCopyToClipboard')\r\n )\r\n }\r\n )\r\n }\r\n\r\n /* Computed Properties */\r\n get teamTokenOutput() {\r\n if (this.teamToken.length === 6) {\r\n return this.teamToken\r\n // return this.teamToken!.substr(0, 3) + ' ' + this.teamToken!.substr(3)\r\n } else {\r\n return ''\r\n }\r\n }\r\n\r\n get teamTokenUrl() {\r\n if (this.isElectron) {\r\n return process.env.VUE_APP_TEAM_TOKEN_URL!.replace(\r\n '%teamToken%',\r\n this.teamTokenOutput.replace(' ', '')\r\n )\r\n }\r\n return `${window.location.origin}/invite/${this.teamToken}`\r\n }\r\n\r\n get isElectron() {\r\n return isElectron()\r\n }\r\n\r\n get hasGroup() {\r\n return (\r\n this.tournamentModule.selectedTournament &&\r\n this.tournamentModule.selectedTournament.hasGroup\r\n )\r\n }\r\n\r\n async onConfirmRoster() {\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n async onUnconfirmRoster() {\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n async fetchJoinedTournamentTeam() {\r\n try {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.selectedTournament!.tournamentId\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TeamRegistrationStatus.SystemErrorMessage'))\r\n console.error(err)\r\n }\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!./TeamRegistrationStatus.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!./TeamRegistrationStatus.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TeamRegistrationStatus.vue?vue&type=template&id=70a0e8da&scoped=true&\"\nimport script from \"./TeamRegistrationStatus.vue?vue&type=script&lang=ts&\"\nexport * from \"./TeamRegistrationStatus.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TeamRegistrationStatus.vue?vue&type=style&index=0&id=70a0e8da&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 \"70a0e8da\",\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 { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VStepper } from 'vuetify/lib/components/VStepper';\nimport { VStepperContent } from 'vuetify/lib/components/VStepper';\nimport { VStepperStep } from 'vuetify/lib/components/VStepper';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCardTitle,VIcon,VSpacer,VStepper,VStepperContent,VStepperStep,VTextField})\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!./TournamentTeamDialog.vue?vue&type=style&index=0&id=55a608f0&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!./TournamentTeamDialog.vue?vue&type=style&index=0&id=55a608f0&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tournament-layout\"},[_c('div',{staticClass:\"tournament-layout-overlay\"}),(_vm.tournament)?_c('div',{staticClass:\"tournament-details-layout\"},[_c('v-col',{staticClass:\"basic-information\",class:{ clipping: !_vm.$vuetify.breakpoint.mobile },attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('InstantMatchTournamentBasicInformation',{attrs:{\"tournamentId\":_vm.tournament.tournamentId,\"name\":_vm.tournament.name,\"logo\":_vm.tournament.detailLogo,\"game\":_vm.tournament.game,\"regions\":_vm.tournament.regions,\"registrationStartTime\":_vm.tournament.scheduleRegistrationStartTime,\"registrationEndTime\":_vm.tournament.scheduleRegistrationEndTime,\"startTime\":_vm.tournament.scheduleStartTime,\"endTime\":_vm.tournament.scheduleEndTime,\"prizePool\":_vm.tournament.prizePrizePool,\"registeredTeams\":_vm.registeredTeamCount,\"maxTeams\":_vm.tournament.capacityMaxTeams,\"minPlayersPerTeam\":_vm.tournament.capacityMinPlayersPerTeam,\"state\":_vm.tournament.state,\"has-entry-fee\":_vm.tournament.hasEntryFee,\"entry-fee\":_vm.tournament.entryFee\n ? ((_vm.tournament.entryFee.currency) + \" $\" + (_vm.tournament.entryFee.amount))\n : ''}})],1),(_vm.tournament)?_c('div',{staticClass:\"fill-height\"},[_c('v-row',{staticClass:\"fill-height d-flex justify-end\"},[_c('v-col',{staticClass:\"detail\",attrs:{\"cols\":\"12\",\"lg\":\"10\"}},[_c('div',{staticClass:\"tournament-layout-background\"},[_c('v-img',{attrs:{\"src\":_vm.tournamentBackground,\"lazy-src\":_vm.tournamentBackground,\"width\":\"100%\",\"height\":\"100%\"},on:{\"error\":function($event){_vm.isBackgroundImageError = true}}})],1),_c('div',{staticClass:\"detail-wrapper\"},[_c('v-slide-x-reverse-transition',{attrs:{\"mode\":\"out-in\"}},[_c('router-view')],1)],1)])],1),_c('TournamentActionDialog',{attrs:{\"tournament-id\":_vm.tournament.tournamentId},on:{\"tournamentRegistrationComplete\":_vm.fetchJoinedTournamentTeam}})],1):_vm._e()],1):_vm._e(),(_vm.tournament)?[_c('InstantMatchTournamentInformationDialog',{attrs:{\"visible\":_vm.isRuleDialogVisible},on:{\"update:visible\":function($event){_vm.isRuleDialogVisible=$event}},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('div',{staticClass:\"pa-4\"},[_c('InstantMatchDetails')],1)]},proxy:true}],null,false,1785735476)}),_c('InstantMatchTournamentInformationDialog',{attrs:{\"visible\":_vm.isTeamListDialogVisible,\"header\":_vm.$t('AutomatedTournament.PlayerList')},on:{\"update:visible\":function($event){_vm.isTeamListDialogVisible=$event}},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('InstantMatchTournamentPlayerList',{attrs:{\"isVisible\":_vm.isTeamListDialogVisible,\"tournamentId\":_vm.tournament.tournamentId}})]},proxy:true}],null,false,3542815483)}),_c('InstantMatchTournamentInformationDialog',{attrs:{\"visible\":_vm.isBracketDialogVisible,\"header\":_vm.$t('AutomatedTournament.Bracket')},on:{\"update:visible\":function($event){_vm.isBracketDialogVisible=$event}},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('TournamentDetailsBracket',{attrs:{\"displayHeader\":false,\"dense\":true}})]},proxy:true}],null,false,3956573959)})]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"75rem\",\"fullscreen\":_vm.$vuetify.breakpoint.mobile},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',{staticClass:\"px-4 px-lg-10 py-4\"},[_c('div',{staticClass:\"pa-5 pa-lg-0 header\"},[_vm._v(\" \"+_vm._s(_vm.header)+\" \"),_c('v-spacer'),_c('v-btn',{attrs:{\"large\":\"\",\"icon\":\"\"},on:{\"click\":function($event){_vm.isVisible = false}}},[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-close\")])],1)],1),_c('v-card-text',{staticClass:\"content px-0 my-2\"},[_vm._t(\"content\")],2),_c('v-card-actions',{staticClass:\"d-flex justify-center\"},[_c('v-btn',{attrs:{\"large\":\"\",\"outlined\":\"\",\"block\":_vm.$vuetify.breakpoint.mobile},on:{\"click\":_vm.close}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-close\")]),_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchIntroductionDialog.Close')))],1)],1)],1)],1)}\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\r\nimport {\r\n Vue,\r\n Component,\r\n Prop,\r\n Watch,\r\n Emit,\r\n PropSync\r\n} from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class InstantMatchTournamentInformationDialog extends Vue {\r\n @PropSync('visible', { required: true }) isVisible!: boolean\r\n @Prop({ default: '' }) header!: string\r\n\r\n @Emit('close')\r\n close() {\r\n this.isVisible = false\r\n return this\r\n }\r\n\r\n @Watch('isVisible')\r\n onVisibilityChanged(value: boolean) {\r\n if (!value) {\r\n this.close()\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!./InstantMatchTournamentInformationDialog.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!./InstantMatchTournamentInformationDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InstantMatchTournamentInformationDialog.vue?vue&type=template&id=eb5af694&scoped=true&\"\nimport script from \"./InstantMatchTournamentInformationDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./InstantMatchTournamentInformationDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InstantMatchTournamentInformationDialog.vue?vue&type=style&index=0&id=eb5af694&scoped=true&lang=css&\"\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 \"eb5af694\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VDialog,VIcon,VSpacer})\n","import InstantMatchTournamentInformationDialog from './InstantMatchTournamentInformationDialog.vue'\r\n\r\nexport { InstantMatchTournamentInformationDialog }\r\nexport default InstantMatchTournamentInformationDialog\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"px-0 px-lg-6 py-0 ma-0 pr-6 information-container\"},[_c('v-container',{staticClass:\"information ma-0 pa-0 mr-4\",class:{\n 'display-info-on-hover': _vm.displayInfoOnHover,\n 'display-info': _vm.displayInfo\n },attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"align\":\"center\"}},[_c('div',{staticClass:\"logo-container\"},[_c('RegistrationProgress',{attrs:{\"denominator\":_vm.maxTeams,\"numerator\":_vm.registeredTeams,\"loading\":_vm.registeredTeams < 0}}),_c('div',{staticClass:\"tournament-information-state pt-2\"},[(_vm.state === _vm.TournamentState.WaitingForCheckIn)?[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchTournamentBasicInformation.RegistrationQuotaFullWaitingForCheckIn' ))+\" \")]:(_vm.state === _vm.TournamentState.Published)?[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchTournamentBasicInformation.TournamentPublished' ))+\" \")]:(_vm.remainingTeams)?[(_vm.registeredTeams < 0)?[_vm._v(\"...\")]:[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchTournamentBasicInformation.RemainingTeams', { team: _vm.remainingTeams } ))+\" \")]]:(_vm.state === _vm.TournamentState.InProgress)?[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchTournamentBasicInformation.TournamentInProgress' ))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t( 'InstantMatchTournamentBasicInformation.RegistrationQuotaFull' ))+\" \")]],2),_c('div',{staticClass:\"check-player-list\",on:{\"click\":_vm.onCheckPlayerListClicked}},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchTournamentBasicInformation.CheckPlayerList'))+\" \")])],1)])],1),_c('v-fade-transition',{attrs:{\"mode\":\"out-in\"}},[(_vm.isTextVisible)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h1',{staticClass:\"tournament-name\"},[_vm._v(\" \"+_vm._s(_vm.name)+\" \")])]),_c('v-col',{staticClass:\"pt-0\",attrs:{\"cols\":\"12\"}},[_c('v-icon',{staticClass:\"tournament-information-icon mb-2 mr-3\",attrs:{\"small\":\"\",\"size\":\"20\"}},[_vm._v(\"mdi-trophy-variant\")]),_vm._l((_vm.prizeComponents),function(prizeComponent,index){return _c('span',{key:(\"prize-component-\" + _vm.tournamentId + \"-\" + index),class:_vm.getPrizeComponentClass(prizeComponent)},[_vm._v(\" \"+_vm._s(prizeComponent)+\" \")])})],2),_c('v-col',{staticClass:\"pt-0 pr-0\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"subtitle-1\"},[_c('v-icon',{staticClass:\"tournament-information-icon mr-3\",attrs:{\"small\":\"\",\"size\":\"20\"}},[_vm._v(\"mdi-account-multiple\")]),_c('span',{staticClass:\"tournament-information-format\"},[_vm._v(\" \"+_vm._s(_vm.minPlayersPerTeam)+\" V \"+_vm._s(_vm.minPlayersPerTeam)+\" \")])],1)]),_c('v-col',{staticClass:\"pt-0 pr-0\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"subtitle-1\"},[_c('v-icon',{staticClass:\"tournament-information-icon mr-3\",attrs:{\"small\":\"\",\"size\":\"20\"}},[_vm._v(\"mdi-earth\")]),_c('span',{staticClass:\"tournament-information-region\"},[(!_vm.regions || _vm.regions.length === 0)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.AllRegions'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.regions .map(function (ri) { return _vm.$te('Regions.' + ri.code) ? _vm.$t('Regions.' + ri.code) : ri.name; } ) .join('.'))+\" \")]],2)],1)]),_c('v-col',{staticClass:\"pt-0 pr-0\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"subtitle-1\"},[_c('v-icon',{staticClass:\"tournament-information-icon mr-3\",attrs:{\"small\":\"\",\"size\":\"20\"}},[_vm._v(\"mdi-checkbook\")]),_c('span',{staticClass:\"tournament-information-fee\"},[(!_vm.hasEntryFee)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.NoEntryFee'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.Fee', [_vm.entryFee]))+\" \")]],2)],1)]),_c('v-col',{staticClass:\"pt-0 pr-0 subtitle-1 font-weight-bold\",attrs:{\"cols\":\"12\"}},[(_vm.state === 'OpenRegistration')?_c('span',{staticClass:\"secondary--text\"},[_c('v-icon',{staticClass:\"mr-3 secondary--text\",attrs:{\"small\":\"\"}},[_vm._v(\"mdi-sword-cross\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentState.OpenRegistration'))+\" \")],1):_vm._e(),(_vm.state === 'InProgress')?_c('span',{staticClass:\"secondary--text\"},[_c('v-icon',{staticClass:\"mr-3 secondary--text\",attrs:{\"small\":\"\"}},[_vm._v(\"mdi-sword-cross\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentState.InProgress'))+\" \")],1):_vm._e(),(_vm.state === 'WaitingForCheckIn')?_c('span',{staticClass:\"orange--text\"},[_c('v-icon',{staticClass:\"mr-3 orange--text\",attrs:{\"small\":\"\"}},[_vm._v(\"mdi-sword-cross\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentState.WaitingForCheckIn'))+\" \")],1):(_vm.state === 'Completed')?_c('span',{staticClass:\"green--text\"},[_c('v-icon',{staticClass:\"mr-3 green--text\",attrs:{\"small\":\"\"}},[_vm._v(\"mdi-check-bold\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.TournamentCompleted'))+\" \")],1):(_vm.state === 'Cancelled')?_c('span',{staticClass:\"red--text\"},[_c('v-icon',{staticClass:\"mr-3 red--text\",attrs:{\"small\":\"\"}},[_vm._v(\"mdi-close-circle\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.TournamentCancelled'))+\" \")],1):(_vm.state === 'CompleteRegistration')?_c('span',{staticClass:\"red--text\"},[_c('v-icon',{staticClass:\"mr-3 red--text\",attrs:{\"small\":\"\"}},[_vm._v(\"mdi-close-circle\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentState.CompleteRegistration'))+\" \")],1):_vm._e()]),(!_vm.$vuetify.breakpoint.mobile)?_c('InstantMatchActionButtons'):_vm._e()],1):_vm._e()],1)],1)],1)}\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\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, Emit } from 'vue-property-decorator'\r\nimport TournamentChip from '@/modules/tournament/components/TournamentChip'\r\nimport AppButton from '@/modules/shared/components/AppButton'\r\nimport RegistrationProgress from '@/modules/instant/components/RegistrationProgress'\r\nimport { TournamentState } from '@/api/tournament'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport { date } from '@/utils'\r\nimport { String } from 'lodash'\r\nimport InstantMatchActionButtons from '@/modules/instant/components/InstantMatchActionButtons'\r\nimport { RegionInfo } from '@/api/config'\r\n\r\n@Component({\r\n components: {\r\n TournamentChip,\r\n AppButton,\r\n RegistrationProgress,\r\n InstantMatchActionButtons\r\n },\r\n filters: {\r\n date\r\n }\r\n})\r\nexport default class InstantMatchTournamentBasicInformation extends Vue {\r\n @Prop({ required: true }) readonly tournamentId!: string\r\n @Prop({ required: true }) readonly name!: String\r\n @Prop({ required: true }) readonly game!: string\r\n @Prop({ required: true }) readonly regions!: RegionInfo[]\r\n @Prop({ required: true }) readonly registrationStartTime!: Date\r\n @Prop({ required: true }) readonly registrationEndTime!: Date\r\n @Prop({ required: true }) readonly startTime!: Date\r\n @Prop({ required: true }) readonly endTime!: Date\r\n @Prop({ required: true }) readonly prizePool!: string\r\n @Prop({ required: true }) readonly registeredTeams!: number\r\n @Prop({ required: true }) readonly maxTeams!: number\r\n @Prop({ required: true }) readonly minPlayersPerTeam!: number\r\n @Prop({ default: false }) readonly displayInfoOnHover!: boolean\r\n @Prop({ default: false }) readonly displayInfo!: boolean\r\n @Prop({ default: false }) readonly hideActionButton!: boolean\r\n @Prop({ default: false }) readonly isFeaturedTournament!: boolean\r\n @Prop({ default: false }) readonly hasEntryFee!: boolean\r\n @Prop({ default: '' }) readonly entryFee!: string\r\n @Prop({ default: TournamentState.Initial }) readonly state!: TournamentState\r\n @Prop({ default: 'max' }) readonly buttonSize!: string\r\n\r\n isTextVisible: boolean = false\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n /* Hooks */\r\n mounted() {\r\n setTimeout(() => {\r\n this.isTextVisible = true\r\n }, 100)\r\n }\r\n\r\n /* Computed Properties */\r\n get prizeComponents(): string[] {\r\n return this.prizePool.split(/([\\d|,]+)/)\r\n }\r\n\r\n get isUserJoinedTournament() {\r\n return this.tournamentModule.joinedTournaments\r\n .map(tournament => tournament.tournamentId)\r\n .includes(this.tournamentId)\r\n }\r\n\r\n get shouldStatusButtonVisible() {\r\n if (this.hideActionButton) {\r\n return false\r\n }\r\n\r\n if (\r\n this.$route.name === 'Landing' ||\r\n this.$route.name === 'AutomatedTournament' ||\r\n this.state === TournamentState.OpenRegistration ||\r\n this.isUserJoinedTournament\r\n ) {\r\n return true\r\n }\r\n\r\n return false\r\n }\r\n\r\n get TournamentState() {\r\n return TournamentState\r\n }\r\n\r\n get remainingTeams() {\r\n return this.maxTeams - this.registeredTeams\r\n }\r\n\r\n /* Methods */\r\n getPrizeComponentClass(value: string) {\r\n if (/([\\d|,]+)/.test(value)) return 'prize-number'\r\n else return 'prize-text'\r\n }\r\n\r\n onCheckPlayerListClicked() {\r\n this.tournamentModule.setAutomatedTournamentTeamListDialogVisible(true)\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!./InstantMatchTournamentBasicInformation.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!./InstantMatchTournamentBasicInformation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InstantMatchTournamentBasicInformation.vue?vue&type=template&id=9e1d9ccc&scoped=true&\"\nimport script from \"./InstantMatchTournamentBasicInformation.vue?vue&type=script&lang=ts&\"\nexport * from \"./InstantMatchTournamentBasicInformation.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InstantMatchTournamentBasicInformation.vue?vue&type=style&index=0&id=9e1d9ccc&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 \"9e1d9ccc\",\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 { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFadeTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VContainer,VFadeTransition,VIcon,VRow})\n","import InstantMatchTournamentBasicInformation from './InstantMatchTournamentBasicInformation.vue'\r\n\r\nexport { InstantMatchTournamentBasicInformation }\r\nexport default InstantMatchTournamentBasicInformation\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"wrapper\"},[(_vm.isInitializing)?_c('div',{staticClass:\"loading\"},[_c('v-progress-circular',{staticClass:\"mx-auto\",attrs:{\"indeterminate\":\"\",\"size\":\"150\"}}),_c('div',{staticClass:\"my-4\"},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchTournamentPlayerList.Loading'))+\" \")])],1):(!_vm.selectedTournamentTeam)?[_c('v-slide-x-transition',{attrs:{\"mode\":\"out-in\"}},[_c('v-simple-table',{staticClass:\"team-list\",scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',[_c('tr',[_c('th',{staticClass:\"primary white--text\",attrs:{\"width\":\"60%\"}},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchTournamentPlayerList.TeamName'))+\" \")]),_c('th',{staticClass:\"primary white--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchTournamentPlayerList.Captain'))+\" \")])])]),_c('tbody',{ref:\"teamList\",on:{\"scroll\":function($event){return _vm.scrollBehavior($event)}}},[(!_vm.tournamentTeams || !_vm.tournamentTeams.length)?[_c('tr',[_c('td',{staticClass:\"text-center\",attrs:{\"colspan\":\"3\"}},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchTournamentPlayerList.NoTeams'))+\" \")])])]:_vm._l((_vm.tournamentTeams),function(team,index){return _c('tr',{key:(\"team-\" + (team.tournamentTeamId)),on:{\"click\":function($event){return _vm.onTournamentTeamSelected(team)}}},[_c('td',{staticClass:\"font-weight-bold\",attrs:{\"width\":\"60%\"}},[_c('span',{staticClass:\"team-index\"},[_vm._v(_vm._s(index + 1))]),_c('span',{staticClass:\"text-decoration-underline\"},[_vm._v(_vm._s(team.name))])]),_c('td',[_c('div',{staticClass:\"captain-avatar\"},[_c('UserAvatar',{attrs:{\"imageUrl\":_vm.getCaptainAvatar(team),\"width\":36,\"border\":false}})],1),_vm._v(\" \"+_vm._s(_vm.getCaptainName(team))+\" \")])])})],2)]},proxy:true}])})],1)]:[_c('v-slide-x-transition',{attrs:{\"mode\":\"out-in\"}},[_c('div',[_c('v-system-bar',{staticClass:\"selected-team-header\",attrs:{\"height\":\"48\"}},[_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.selectedTournamentTeam = null}}},[_c('v-icon',{attrs:{\"x-large\":\"\",\"left\":\"\",\"color\":\"white\"}},[_vm._v(\"mdi-chevron-left\")])],1),_vm._v(\" \"+_vm._s(_vm.selectedTournamentTeam.name)+\" \")],1),_c('v-list',{attrs:{\"dense\":\"\",\"two-line\":\"\"}},_vm._l((_vm.selectedTournamentTeam.players),function(player){return _c('v-list-item',{key:(\"tournament-team-player-\" + (player.memberId))},[_c('v-list-item-avatar',[_c('v-img',{attrs:{\"src\":player.avatar ? player.avatar : _vm.defaultAvatar}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(player.nickname)+\" \")]),_c('v-list-item-subtitle',[(!_vm.$vuetify.breakpoint.mobile)?_c('span',{staticClass:\"mr-2\"},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchTournamentPlayerList.InGameName'))+\" : \")]):_vm._e(),_c('v-menu',{attrs:{\"bottom\":\"\",\"offset-y\":\"\",\"open-on-click\":\"\",\"close-on-click\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('span',_vm._g({},on),[_vm._v(_vm._s(player.gameAccountNickname))])]}}],null,true)},[_c('v-card',[_c('v-card-subtitle',[_vm._v(_vm._s(player.gameAccountNickname))])],1)],1)],1)],1),_c('v-list-item-action',[(player.role === _vm.TournamentTeamRole.Captain)?_c('v-btn',{attrs:{\"icon\":\"\",\"disabled\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-alpha-c-circle\")])],1):_c('v-btn',{attrs:{\"icon\":\"\",\"disabled\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-alpha-m\")])],1)],1)],1)}),1)],1)])]],2)}\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\r\nimport { Vue, Component, Prop, Watch } from 'vue-property-decorator'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport { HubConnection } from '@microsoft/signalr'\r\nimport { getRealtimeConnection, realtimeEventTarget } from '@/utils/realtime'\r\nimport { CancelError, CancellationToken } from '@/utils/cancel'\r\nimport { ResponseStatus, TournamentAPI } from '@/api/tournament'\r\nimport ServerError from '@/utils/server_error'\r\nimport { getElementScrollRemaining } from '@/utils/window'\r\nimport { TournamentTeamEntity, TournamentTeamRole } from '@/api/tournamentTeam'\r\nimport UserAvatar from '@/modules/shared/components/UserAvatar'\r\n\r\n@Component({\r\n components: {\r\n UserAvatar\r\n }\r\n})\r\nexport default class InstantMatchTournamentPlayerList extends Vue {\r\n @Prop({ required: true }) tournamentId!: string\r\n @Prop({ required: true }) isVisible!: boolean\r\n\r\n isLoading: boolean = false\r\n isInitializing: boolean = true\r\n tournamentTeams: TournamentTeamEntity[] = []\r\n page: number = 1\r\n hasMorePage: boolean = true\r\n defaultAvatar: string = '/img/logo-v13.png'\r\n\r\n selectedTournamentTeam: TournamentTeamEntity | null = null\r\n\r\n realtimeConnection!: HubConnection\r\n realtimeConnectionCancellationToken = new CancellationToken()\r\n\r\n /* Hooks */\r\n async created() {\r\n this.isInitializing = true\r\n await this.fetchTournamentTeams()\r\n await this.subscribeRealtimeEvents()\r\n realtimeEventTarget.addEventListener(\r\n 'connect',\r\n this.subscribeRealtimeEvents\r\n )\r\n realtimeEventTarget.addEventListener(\r\n 'reconnected',\r\n this.subscribeRealtimeEvents\r\n )\r\n\r\n this.isInitializing = false\r\n }\r\n\r\n async beforeDestroy() {\r\n await this.unsubscribeRealtimeEvents()\r\n realtimeEventTarget.removeEventListener(\r\n 'connect',\r\n this.subscribeRealtimeEvents\r\n )\r\n realtimeEventTarget.removeEventListener(\r\n 'reconnected',\r\n this.subscribeRealtimeEvents\r\n )\r\n }\r\n\r\n async subscribeRealtimeEvents() {\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(\r\n this.$t('TournamentDetailsTeams.FailConnectServerMessage')\r\n )\r\n console.error(err)\r\n }\r\n this.realtimeConnection.on(\r\n 'tournamentTeamsUpdated',\r\n this.onTournamentTeamsUpdated\r\n )\r\n }\r\n\r\n async unsubscribeRealtimeEvents() {\r\n this.realtimeConnectionCancellationToken.cancel()\r\n if (this.realtimeConnection) {\r\n this.realtimeConnection.off(\r\n 'tournamentTeamsUpdated',\r\n this.onTournamentTeamsUpdated\r\n )\r\n }\r\n }\r\n\r\n async onTournamentTeamsUpdated() {\r\n this.page = 1\r\n await this.fetchTournamentTeams()\r\n }\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n async onVisibilityChanged(visible: boolean) {\r\n if (visible) {\r\n this.isInitializing = true\r\n await this.fetchTournamentTeams()\r\n this.isInitializing = false\r\n } else {\r\n this.$nextTick(() => {\r\n this.tournamentTeams = []\r\n this.page = 1\r\n this.hasMorePage = true\r\n this.selectedTournamentTeam = null\r\n })\r\n }\r\n }\r\n\r\n /* Methods */\r\n async fetchTournamentTeams() {\r\n if (this.isLoading || !this.tournamentId) return\r\n\r\n this.isLoading = true\r\n try {\r\n const response = await TournamentAPI.getTournamentTeams(\r\n this.tournamentId,\r\n this.page,\r\n true\r\n )\r\n const payload = response.data.payload\r\n if (response.data.status === ResponseStatus.Ok && payload) {\r\n this.tournamentTeams = [...this.tournamentTeams, ...payload.items]\r\n this.hasMorePage = payload.hasMorePage\r\n this.page++\r\n } else {\r\n this.tournamentTeams = []\r\n this.page = 1\r\n this.hasMorePage = true\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.isLoading = false\r\n }\r\n }\r\n\r\n async scrollBehavior(event: Event) {\r\n if (!this.hasMorePage) return\r\n if (getElementScrollRemaining(event.target as HTMLElement) <= 20) {\r\n await this.fetchTournamentTeams()\r\n }\r\n }\r\n\r\n onTournamentTeamSelected(team: TournamentTeamEntity) {\r\n this.selectedTournamentTeam = team\r\n }\r\n\r\n getCaptainAvatar(team: TournamentTeamEntity): string {\r\n let captain = team!.players!.find(p => p.role === 'Captain')\r\n return !captain ? '' : captain.avatar!\r\n }\r\n\r\n getCaptainName(team: TournamentTeamEntity): string {\r\n let captain = team!.players!.find(p => p.role === 'Captain')\r\n return !captain ? '' : captain.nickname!\r\n }\r\n\r\n /* Computed Properties */\r\n get TournamentTeamRole() {\r\n return TournamentTeamRole\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!./InstantMatchTournamentPlayerList.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!./InstantMatchTournamentPlayerList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InstantMatchTournamentPlayerList.vue?vue&type=template&id=52dc7203&scoped=true&\"\nimport script from \"./InstantMatchTournamentPlayerList.vue?vue&type=script&lang=ts&\"\nexport * from \"./InstantMatchTournamentPlayerList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InstantMatchTournamentPlayerList.vue?vue&type=style&index=0&id=52dc7203&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 \"52dc7203\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\nimport { VSlideXTransition } from 'vuetify/lib/components/transitions';\nimport { VSystemBar } from 'vuetify/lib/components/VSystemBar';\ninstallComponents(component, {VBtn,VCard,VCardSubtitle,VIcon,VImg,VList,VListItem,VListItemAction,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VMenu,VProgressCircular,VSimpleTable,VSlideXTransition,VSystemBar})\n","import InstantMatchTournamentPlayerList from './InstantMatchTournamentPlayerList.vue'\r\n\r\nexport { InstantMatchTournamentPlayerList }\r\nexport default InstantMatchTournamentPlayerList\r\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 { Component, Prop, Vue, 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 { TournamentState } from '@/api/tournament'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport layoutStore from '@/modules/shared/layout.store'\r\nimport memberStore from '@/modules/member/member.store'\r\nimport InstantMatchIntroductionDialog from '@/modules/instant/components/InstantMatchIntroductionDialog'\r\nimport InstantMatchTournamentInformationDialog from '@/modules/instant/components/InstantMatchTournamentInformationDialog'\r\nimport InstantMatchTournamentBasicInformation from '@/modules/instant/components/InstantMatchTournamentBasicInformation'\r\nimport InstantMatchTournamentPlayerList from '@/modules/instant/components/InstantMatchTournamentPlayerList'\r\nimport TournamentActionDialog from '@/modules/tournament/components/TournamentActionDialog'\r\nimport TournamentDetailsBracket from '@/modules/tournament/components/TournamentDetailsBracket'\r\nimport { TournamentAction } from '@/modules/tournament/components/TournamentBasicInformation/TournamentBasicInformation.vue'\r\nimport gsap, { Power2 } from 'gsap'\r\nimport { unixTimestampToDateTime } from '@/utils'\r\nimport ServerError from '@/utils/server_error'\r\nimport requestLogin from '@/utils/requestLogin'\r\nimport { getRealtimeConnection, realtimeEventTarget } from '@/utils/realtime'\r\nimport { HubConnection } from '@microsoft/signalr'\r\nimport { CancelError, CancellationToken } from '@/utils/cancel'\r\nimport AppButton from '@/modules/shared/components/AppButton'\r\nimport { TournamentTeamRole, TournamentTeamState } from '@/api/tournamentTeam'\r\nimport { ensureTournamentVerification } from '@/utils/verification'\r\nimport { TranslateResult } from 'vue-i18n'\r\nimport InstantMatchDetails from '@/modules/instant/views/InstantMatchDetails'\r\n\r\nexport enum OpenMode {\r\n Slide = 'slide',\r\n Dim = 'dim'\r\n}\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 InstantMatchTournamentInformationDialog,\r\n InstantMatchTournamentBasicInformation,\r\n InstantMatchTournamentPlayerList,\r\n InstantMatchIntroductionDialog,\r\n TournamentDetailsBracket,\r\n TournamentActionDialog,\r\n InstantMatchDetails,\r\n AppButton\r\n }\r\n})\r\nexport default class InstantMatchDetailsLayout extends Vue {\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n userModule = getModule(userStore, this.$store)\r\n layoutModule = getModule(layoutStore, this.$store)\r\n memberModule = getModule(memberStore, this.$store)\r\n tournamentOverlayIsVisible: boolean = false\r\n realtimeConnection!: HubConnection\r\n realtimeConnectionCancellationToken = new CancellationToken()\r\n isBackgroundImageError: boolean = false\r\n loading: boolean = false\r\n\r\n @Prop({ default: OpenMode.Dim }) readonly openMode!: OpenMode\r\n\r\n /* Route parameters */\r\n get tournamentId() {\r\n return this.$route.params.tournamentId\r\n }\r\n\r\n get hasDefaultTab() {\r\n return !!this.$route.meta.defaultTab\r\n }\r\n\r\n /* Hooks */\r\n async created() {\r\n await this.subscribeRealtimeEvents()\r\n realtimeEventTarget.addEventListener(\r\n 'connect',\r\n this.subscribeRealtimeEvents\r\n )\r\n realtimeEventTarget.addEventListener(\r\n 'reconnected',\r\n this.subscribeRealtimeEvents\r\n )\r\n }\r\n\r\n /**\r\n * This is fired when user exited the tournament view.\r\n * - Unsubscribe the tournament gracefully using vuex tournamentId.\r\n * - Destroy vuex tournament data and remove listener\r\n * [NOTE] this.tournamentId from route is already invalidated in this state.\r\n */\r\n async beforeDestroy() {\r\n let tournamentId = this.tournament!.tournamentId\r\n this.tournamentModule.resetSelectedTournament()\r\n this.tournamentModule.resetSelectedTournamentTeams()\r\n this.tournamentModule.resetSelectedTournamentTeam()\r\n await this.unsubscribeRealtimeEvents(tournamentId)\r\n realtimeEventTarget.removeEventListener(\r\n 'connect',\r\n this.subscribeRealtimeEvents\r\n )\r\n realtimeEventTarget.removeEventListener(\r\n 'reconnected',\r\n this.subscribeRealtimeEvents\r\n )\r\n }\r\n\r\n async mounted() {\r\n this.fetchData().then()\r\n this.fetchJoinedTournamentTeam().then(() => {\r\n setTimeout(() => {\r\n if (!this.hasJoinedTournament) {\r\n this.fetchJoinedTournamentTeam()\r\n }\r\n }, 1000)\r\n })\r\n this.fetchRegisteredTournamentTeamCount().then()\r\n\r\n setTimeout(() => {\r\n this.animateTournamentOverlay(this.hasDefaultTab)\r\n })\r\n }\r\n\r\n /* Vuex State */\r\n get tournament() {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get hasJoinedTournament() {\r\n return !!this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get isRequestedToJoin() {\r\n if (!this.hasJoinedTournament) return false\r\n return !!this.tournamentModule.selectedTournamentTeam!.players.find(\r\n player =>\r\n player.memberId === this.userModule.memberId &&\r\n player.role === TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n get hasLoggedIn() {\r\n return this.userModule.hasLoggedIn\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 /* Computed Properties */\r\n get isRuleDialogVisible() {\r\n return this.tournamentModule.isAutomatedTournamentRuleDialogVisible\r\n }\r\n\r\n set isRuleDialogVisible(value: boolean) {\r\n this.tournamentModule.setAutomatedTournamentRuleDialogVisible(value)\r\n }\r\n\r\n get isTeamListDialogVisible() {\r\n return this.tournamentModule.isAutomatedTournamentTeamListDialogVisible\r\n }\r\n\r\n set isTeamListDialogVisible(value: boolean) {\r\n this.tournamentModule.setAutomatedTournamentTeamListDialogVisible(value)\r\n }\r\n\r\n get isBracketDialogVisible() {\r\n return this.tournamentModule.isAutomatedTournamentBracketDialogVisible\r\n }\r\n\r\n set isBracketDialogVisible(value: boolean) {\r\n this.tournamentModule.setAutomatedTournamentBracketDialogVisible(value)\r\n }\r\n\r\n get tournamentTeam() {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n get tournamentBackground() {\r\n if (\r\n !this.tournament ||\r\n !this.tournament.detailBanner ||\r\n this.isBackgroundImageError\r\n ) {\r\n return require('@/assets/default/tournament_background.png')\r\n }\r\n return this.$vuetify.breakpoint.mobile\r\n ? this.tournament.detailMobileBanner\r\n : this.tournament.detailBanner\r\n }\r\n\r\n async setSelectedTournament(tournamentId: string) {\r\n await this.tournamentModule.setSelectedTournament(tournamentId)\r\n }\r\n\r\n get registeredTeamCount() {\r\n return this.tournamentModule.tournamentRegisteredTeamCount\r\n }\r\n\r\n get tournamentAction(): TournamentAction {\r\n if (this.hasJoinedTournament) {\r\n return TournamentAction.ViewRegistrationStatus\r\n }\r\n return TournamentAction.JoinTournament\r\n }\r\n\r\n /* Watchers */\r\n @Watch('hasLoggedIn')\r\n async onHasLoggedInChanged() {\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n @Watch('hasDefaultTab')\r\n async onDefaultTabChanged(hasDefaultTab: boolean) {\r\n await this.animateTournamentOverlay(hasDefaultTab)\r\n }\r\n\r\n @Watch('tournamentId')\r\n async onTournamentIdChanged() {\r\n this.resetTournamentData()\r\n }\r\n\r\n /* Methods */\r\n async fetchData(withProgressBar: boolean = true) {\r\n if (!withProgressBar) {\r\n await this.layoutModule.setProgressBarVisible(true)\r\n }\r\n\r\n try {\r\n const tournamentId = this.tournamentId\r\n await this.setSelectedTournament(tournamentId)\r\n if (\r\n this.tournamentModule.selectedTournament &&\r\n !this.tournamentModule.selectedTournament.isAutomated\r\n ) {\r\n await this.$router.push({\r\n name: 'TournamentDetails',\r\n params: {\r\n tournamentId\r\n }\r\n })\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TournamentLayout.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n await this.layoutModule.setProgressBarVisible(false)\r\n }\r\n }\r\n\r\n /**\r\n * This is fired when user changed tournament from one to another\r\n * - Unsubscribe previous tournament using tournamentId from vuex\r\n * - Destroy vuex tournament data\r\n * - Subscribe new tournament with tournamentId from route params.\r\n */\r\n async resetTournamentData() {\r\n let tournamentId = this.tournament!.tournamentId\r\n this.tournamentModule.resetSelectedTournament()\r\n this.tournamentModule.resetSelectedTournamentTeams()\r\n this.tournamentModule.resetSelectedTournamentTeam()\r\n\r\n this.realtimeConnectionCancellationToken.cancel()\r\n await this.unsubscribeRealtimeEvents(tournamentId)\r\n\r\n await this.fetchData()\r\n await this.fetchJoinedTournamentTeam()\r\n setTimeout(() => {\r\n this.animateTournamentOverlay(this.hasDefaultTab)\r\n })\r\n\r\n // Re-subscribe tournament with new route's tournamentId\r\n await this.subscribeRealtimeEvents()\r\n }\r\n\r\n unixToTime(value: number) {\r\n return unixTimestampToDateTime(value)\r\n }\r\n\r\n async animateTournamentOverlay(isOpen: boolean) {\r\n if (isOpen) {\r\n if (this.openMode === OpenMode.Dim) {\r\n gsap.to('.detail-wrapper', {\r\n backgroundColor: 'transparent',\r\n borderTop: 'none',\r\n duration: 0\r\n })\r\n gsap.to('.tournament-layout-overlay', {\r\n opacity: 0.75,\r\n duration: 0.5\r\n })\r\n }\r\n gsap\r\n .to('.detail-wrapper', {\r\n height: this.openMode === OpenMode.Dim ? '100%' : '90%',\r\n duration: 0.5,\r\n ease: Power2.easeOut\r\n })\r\n .then(() => {\r\n this.tournamentOverlayIsVisible = true\r\n })\r\n } else {\r\n if (this.openMode === OpenMode.Dim) {\r\n gsap.to('.tournament-layout-overlay', {\r\n opacity: 0,\r\n duration: 0.5\r\n })\r\n }\r\n gsap\r\n .to('.detail-wrapper', {\r\n height: 0,\r\n duration: 0.5,\r\n ease: Power2.easeOut\r\n })\r\n .then(() => {\r\n this.tournamentOverlayIsVisible = false\r\n })\r\n }\r\n }\r\n\r\n onJoinTournament() {\r\n this.loading = true\r\n\r\n requestLogin(async () => {\r\n if (\r\n !(await ensureTournamentVerification({\r\n tournament: this.tournament!,\r\n callback: this.onJoinTournament\r\n }))\r\n ) {\r\n this.loading = false\r\n return\r\n }\r\n\r\n await this.fetchJoinedTournamentTeam()\r\n this.setTournamentActionDialogVisible(true)\r\n\r\n this.loading = false\r\n })\r\n }\r\n\r\n setTournamentActionDialogVisible(visible: boolean = false) {\r\n this.tournamentModule.setTournamentActionDialogVisible(visible)\r\n }\r\n\r\n async fetchJoinedTournamentTeam() {\r\n try {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.tournamentId\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n if (err.getStatusCode() >= 400 && err.getStatusCode() < 500) {\r\n return\r\n }\r\n\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TournamentLayout.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n\r\n await this.$router.push('/')\r\n }\r\n }\r\n\r\n async subscribeRealtimeEvents() {\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(this.$t('TournamentLayout.FailConnectServerMessage'))\r\n console.error(err)\r\n }\r\n await this.realtimeConnection.send('SubscribeTournament', this.tournamentId)\r\n this.realtimeConnection.on(\r\n 'tournamentStateUpdated',\r\n this.onTournamentStateUpdated\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentDataUpdated',\r\n this.onTournamentDataUpdated\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentTeamUpdated',\r\n this.fetchJoinedTournamentTeam\r\n )\r\n\r\n this.realtimeConnection.on(\r\n 'tournamentTeamsUpdated',\r\n this.onTournamentTeamsUpdated\r\n )\r\n\r\n this.realtimeConnection.on(\r\n 'automatedTournamentCatalogUpdated',\r\n this.onTournamentCatalogUpdated\r\n )\r\n }\r\n\r\n async onTournamentTeamsUpdated() {\r\n await this.fetchRegisteredTournamentTeamCount()\r\n }\r\n\r\n async onTournamentCatalogUpdated() {\r\n await this.fetchData(false)\r\n }\r\n\r\n /* Methods */\r\n async unsubscribeRealtimeEvents(tournamentId: string) {\r\n this.realtimeConnectionCancellationToken.cancel()\r\n if (this.realtimeConnection) {\r\n this.realtimeConnection.off(\r\n 'tournamentStateUpdated',\r\n this.onTournamentStateUpdated\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentDataUpdated',\r\n this.onTournamentDataUpdated\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentTeamUpdated',\r\n this.fetchJoinedTournamentTeam\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentTeamsUpdated',\r\n this.onTournamentTeamsUpdated\r\n )\r\n\r\n this.realtimeConnection.off(\r\n 'automatedTournamentCatalogUpdated',\r\n this.onTournamentCatalogUpdated\r\n )\r\n await this.realtimeConnection.send('UnsubscribeTournament', tournamentId)\r\n }\r\n }\r\n\r\n async onTournamentStateUpdated(state: TournamentState) {\r\n const oldState = this.tournament ? this.tournament.state : undefined\r\n if (\r\n oldState === TournamentState.OpenRegistration &&\r\n this.tournamentModule.tournamentActionDialogVisible &&\r\n (!this.tournamentTeam ||\r\n this.tournamentTeam.state !== TournamentTeamState.Registered)\r\n ) {\r\n await this.tournamentModule.setTournamentActionDialogVisible(false)\r\n await this.tournamentModule.setTournamentRegistrationClosedDialogVisible(\r\n true\r\n )\r\n }\r\n\r\n if (state === TournamentState.OpenRegistration) {\r\n if (oldState === TournamentState.WaitingForCheckIn) {\r\n this.$toast.info(\r\n this.$t('TournamentLayout.TournamentCheckInReopenRegistration')\r\n )\r\n } else {\r\n this.$toast.info(this.$t('TournamentLayout.TournamentOpenRegistration'))\r\n }\r\n } else if (\r\n state === TournamentState.CompleteRegistration &&\r\n oldState !== TournamentState.WaitingForCheckIn\r\n ) {\r\n this.$toast.info(this.$t('TournamentLayout.TournamentCloseRegistration'))\r\n }\r\n await this.fetchData()\r\n }\r\n\r\n async onTournamentDataUpdated() {\r\n this.$toast.info(this.$t('TournamentLayout.TournamentInformationUpdated'))\r\n await this.fetchData()\r\n }\r\n\r\n async openLFGDialog() {\r\n try {\r\n await this.$router.push({\r\n name: 'TournamentDetailsLFG',\r\n params: {\r\n tournamentTeamId: this.tournamentModule.selectedTournamentTeam!\r\n .tournamentTeamId\r\n }\r\n })\r\n } catch (e) {\r\n await this.layoutModule.showLFGModal(\r\n this.tournamentModule.selectedTournamentTeam!.tournamentTeamId\r\n )\r\n }\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 lookForGroup() {\r\n requestLogin(async () => {\r\n await this.fetchJoinedTournamentTeam()\r\n await this.$router.push({ name: 'TournamentDetailsLFG' })\r\n })\r\n }\r\n\r\n async fetchRegisteredTournamentTeamCount() {\r\n try {\r\n await this.tournamentModule.getTournamentRegisteredTeamCount(\r\n this.tournamentId\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n }\r\n }\r\n\r\n get TournamentState() {\r\n return TournamentState\r\n }\r\n\r\n get hideLFG() {\r\n if (!this.tournament) return false\r\n\r\n if (this.tournament.isAutomated) return true\r\n\r\n if (this.tournament.capacityMaxPlayersPerTeam === 1) return true\r\n\r\n return false\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!./InstantMatchDetailsLayout.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!./InstantMatchDetailsLayout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InstantMatchDetailsLayout.vue?vue&type=template&id=70e03ed4&scoped=true&\"\nimport script from \"./InstantMatchDetailsLayout.vue?vue&type=script&lang=ts&\"\nexport * from \"./InstantMatchDetailsLayout.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InstantMatchDetailsLayout.vue?vue&type=style&index=0&id=70e03ed4&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 \"70e03ed4\",\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 { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSlideXReverseTransition } from 'vuetify/lib/components/transitions';\ninstallComponents(component, {VCol,VImg,VRow,VSlideXReverseTransition})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-title',{staticClass:\"pt-0\"},[(!_vm.isReviewing)?_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.TeamRegistration'))+\" \")]):_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.ConfirmApplicationDetails'))+\" \")])]),_c('v-form',{attrs:{\"action\":\"javascript:void(0)\"},on:{\"submit\":_vm.toReview},model:{value:(_vm.isFormValid),callback:function ($$v) {_vm.isFormValid=$$v},expression:\"isFormValid\"}},[(!_vm.isReviewing && !_vm.isSoloTournament)?[_c('div',{staticClass:\"my-10 py-5\"},[_c('div',{staticClass:\"subtitle-2 text-center mb-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.EnterTeamInformation'))+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.GetTeamCodeForYourTeamMembersAterwards'))+\" \")]),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":_vm.$t('TeamRegistration.Name'),\"outlined\":\"\",\"prepend-inner-icon\":\"mdi-account-box\",\"maxlength\":\"32\",\"autocomplete\":\"off\",\"disabled\":_vm.loading,\"rules\":_vm.nameRules},model:{value:(_vm.tournamentTeamForm.name),callback:function ($$v) {_vm.$set(_vm.tournamentTeamForm, \"name\", $$v)},expression:\"tournamentTeamForm.name\"}})],1)],1),(!_vm.$vuetify.breakpoint.mobile)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\",\"offset\":\"2\"}},[_c('vue-file-agent',{attrs:{\"accept\":\"image/png,image/jpg,image/jpeg\",\"max-files\":1,\"max-size\":\"20MB\",\"helpText\":_vm.$t('TeamRegistration.DragAndDropImageMessage'),\"errorText\":{\n type: _vm.$t('TeamRegistration.InvalidFileTypeMessage'),\n size: _vm.$t('TeamRegistration.FileSizeWarning')\n }},model:{value:(_vm.logoFile),callback:function ($$v) {_vm.logoFile=$$v},expression:\"logoFile\"}})],1)],1):_vm._e()],1),_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"large\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading || !_vm.isFormValid}},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.Next'))+\" \"),_c('v-icon',[_vm._v(\"mdi-arrow-right\")])],1)],1)]:[_c('v-container',[_c('div',[_c('div',{staticClass:\"text-center mb-5 orange--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.ReviewHintsText'))+\" \")])]),_c('div',{staticClass:\"my-10\"},[(_vm.tournament)?_c('TeamDetailReview',{attrs:{\"teamName\":_vm.tournamentTeamForm.name,\"group\":_vm.group}}):_vm._e()],1),_c('div',{staticClass:\"text-center\"},[_c('v-checkbox',{attrs:{\"label\":_vm.$t('TeamRegistration.ConfirmCheckboxHints')},model:{value:(_vm.accepted),callback:function ($$v) {_vm.accepted=$$v},expression:\"accepted\"}}),_c('v-spacer'),(!_vm.isSoloTournament)?_c('v-btn',{staticClass:\"px-5 mx-5\",attrs:{\"color\":\"secondary\",\"large\":\"\",\"disabled\":_vm.loading || _vm.accepted},on:{\"click\":function($event){_vm.isReviewing = false}}},[_c('v-icon',[_vm._v(\"mdi-pencil-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.EditButton'))+\" \")],1):_vm._e(),_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"primary\",\"large\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading || !_vm.accepted},on:{\"click\":_vm.onSubmit}},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.Next'))+\" \"),_c('v-icon',[_vm._v(\"mdi-arrow-right\")])],1)],1)])]],2)],1)}\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\r\nimport { Vue, Component, Emit, Prop } from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { CreateTournamentTeamRequest } from '@/api/tournament'\r\nimport TeamDetailReview from '../TeamDetailReview'\r\nimport ServerError from '@/utils/server_error'\r\nimport i18n from '@/lang'\r\nimport { FileRecord } from 'vue-file-agent'\r\nimport { MemberEntity, MemberGameAccountEntity } from '@/api/member'\r\nimport userStore from '@/modules/auth/auth.store'\r\n\r\n@Component({\r\n components: {\r\n TeamDetailReview\r\n }\r\n})\r\nexport default class TeamRegistration extends Vue {\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n tournamentTeamForm: CreateTournamentTeamRequest = {\r\n name: '',\r\n logo: null,\r\n group: null\r\n }\r\n userModule = getModule(userStore, this.$store)\r\n nameRules: Function[] = [\r\n (v: any) => !!v || i18n.t('TeamRegistration.NameIsRequired'),\r\n (v: any) =>\r\n (v && v.length <= 32) ||\r\n i18n.t('TeamRegistration.NameCannotBeLongerThan32Characters')\r\n ]\r\n logoFile: FileRecord | null = null\r\n isFormValid: boolean = false\r\n loading: boolean = false\r\n isReviewing: boolean = false\r\n accepted: boolean = false\r\n\r\n @Prop({ default: '' }) readonly group!: string\r\n\r\n @Emit('tournamentTeamCreated')\r\n onTournamentTeamCreated(teamToken: string) {\r\n return teamToken\r\n }\r\n\r\n get isSoloTournament() {\r\n return this.tournament && this.tournament.capacityMaxPlayersPerTeam === 1\r\n }\r\n\r\n reset() {\r\n this.tournamentTeamForm = {\r\n name: '',\r\n logo: null,\r\n group: null\r\n }\r\n this.isFormValid = false\r\n }\r\n\r\n get tournament() {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n async toReview() {\r\n this.isReviewing = true\r\n }\r\n\r\n async onSubmit() {\r\n this.loading = true\r\n\r\n // Override and use platform name as teamname for solo tournament\r\n if (this.isSoloTournament) {\r\n this.tournamentTeamForm = {\r\n name: this.userModule.member!.nickname,\r\n logo: null,\r\n group: this.group || null\r\n }\r\n }\r\n\r\n try {\r\n const teamToken = await this.tournamentModule.createTournamentTeam({\r\n tournamentTeam: {\r\n ...this.tournamentTeamForm,\r\n group: this.group || null\r\n },\r\n tournamentId: this.tournament!.tournamentId,\r\n logoFile: this.logoFile ? this.logoFile.file : null\r\n })\r\n this.onTournamentTeamCreated(teamToken as string)\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TeamRegistration.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.loading = false\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!./TeamRegistration.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!./TeamRegistration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TeamRegistration.vue?vue&type=template&id=04d197f2&scoped=true&\"\nimport script from \"./TeamRegistration.vue?vue&type=script&lang=ts&\"\nexport * from \"./TeamRegistration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TeamRegistration.vue?vue&type=style&index=0&id=04d197f2&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 \"04d197f2\",\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 { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCardTitle,VCheckbox,VCol,VContainer,VForm,VIcon,VRow,VSpacer,VTextField})\n","import TeamRegistration from './TeamRegistration.vue'\r\n\r\nexport { TeamRegistration }\r\nexport default TeamRegistration\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!./TeamRegistrationComplete.vue?vue&type=style&index=0&id=29001bc9&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!./TeamRegistrationComplete.vue?vue&type=style&index=0&id=29001bc9&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"60rem\",\"persistent\":\"\",\"fullscreen\":_vm.$vuetify.breakpoint.mobile},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',[_c('v-card-actions',{staticClass:\"align-start\"},[(_vm.showBackButton)?_c('v-btn',{attrs:{\"x-large\":\"\",\"icon\":\"\"},on:{\"click\":_vm.back}},[_c('v-icon',[_vm._v(\"mdi-arrow-left\")])],1):_vm._e(),_c('v-spacer'),_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.setIsVisible(false)}}},[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-close\")])],1)],1),(_vm.hasJoinedTournament)?_c('v-window',{staticClass:\"content\",attrs:{\"touchless\":\"\"},model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-fade-transition',{attrs:{\"mode\":\"out-in\",\"appear\":\"\"}},[_c('TeamRegistrationStatus',{ref:\"status\",attrs:{\"is-visible\":_vm.isVisible,\"hasCustomForm\":_vm.hasCustomForm},on:{\"close\":function($event){return _vm.setIsVisible(false)}}})],1)],1):_c('v-window',{staticClass:\"content\",attrs:{\"touchless\":\"\"},model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-window-item',{attrs:{\"value\":1}},[_c('TournamentRegistration',{attrs:{\"action\":_vm.action,\"selected-group\":_vm.selectedGroup,\"seed\":_vm.seed},on:{\"update:action\":function($event){_vm.action=$event},\"update:selectedGroup\":function($event){_vm.selectedGroup=$event},\"update:selected-group\":function($event){_vm.selectedGroup=$event},\"next\":_vm.onTournamentRegistrationNext}})],1),_c('v-window-item',{attrs:{\"value\":2}},[_c('ReadAndAccept',{ref:\"readAndAccept\",attrs:{\"rules\":_vm.tournament.detailRules},on:{\"back\":function($event){_vm.step = 1},\"next\":function($event){_vm.step = 3}}})],1),(_vm.action === 'create')?[_c('v-window-item',{attrs:{\"value\":3}},[_c('InGameNameRegistration',{ref:\"gameAccountRegistration\",on:{\"back\":function($event){_vm.step = 2},\"next\":_vm.onIGNCompleted}})],1),_c('v-window-item',{attrs:{\"value\":3.5}},[_c('TournamentCustomForm',{attrs:{\"schema\":_vm.schema},on:{\"submit\":_vm.submitFormResponse}})],1),_c('v-window-item',{attrs:{\"value\":4}},[_c('TeamRegistration',{ref:\"teamRegistration\",attrs:{\"group\":_vm.selectedGroup},on:{\"tournamentTeamCreated\":_vm.onTournamentTeamCreated}})],1),_c('v-window-item',{attrs:{\"value\":5}},[(_vm.teamToken)?_c('TeamRegistrationComplete',{attrs:{\"team-token\":_vm.teamToken,\"hide-lfg\":_vm.hideLFG},on:{\"close\":_vm.onJoinTournament}}):_vm._e()],1)]:_vm._e(),(_vm.action === 'join')?[_c('v-window-item',{attrs:{\"value\":3}},[_c('EnterInvitationCode',{ref:\"enterInvitationCode\",on:{\"confirmToken\":_vm.onAcceptTeamToken}})],1),_c('v-window-item',{attrs:{\"value\":4}},[_c('InGameNameRegistration',{ref:\"gameAccountRegistration\",on:{\"back\":function($event){_vm.step = 3},\"next\":_vm.onIGNCompleted}})],1),_c('v-window-item',{attrs:{\"value\":4.5}},[_c('TournamentCustomForm',{attrs:{\"schema\":_vm.schema},on:{\"submit\":_vm.submitFormResponse}})],1),_c('v-window-item',{attrs:{\"value\":5}},[(_vm.selectedTokenTeam)?_c('TeamJoinDetailReview',{attrs:{\"tournament\":_vm.tournament,\"teamName\":_vm.selectedTokenTeam.info.teamName,\"loading\":_vm.isJoiningTeamWithToken},on:{\"back\":function($event){_vm.step = 4},\"submit\":_vm.confirmTeamJoin}}):_vm._e()],1),_c('v-window-item',{attrs:{\"value\":6}},[(_vm.teamToken)?_c('TeamRegistrationComplete',{attrs:{\"hide-lfg\":_vm.hideLFG,\"team-token\":_vm.teamToken},on:{\"close\":_vm.onJoinTournament}}):_vm._e()],1)]:_vm._e()],2),_c('v-card-actions',{staticClass:\"mt-5\"},[_c('div',{staticClass:\"mx-auto d-flex pa-5\"},_vm._l((_vm.steps),function(i){return _c('v-sheet',{key:(\"step-btn-\" + i),staticClass:\"mr-5\",attrs:{\"height\":\"4\",\"width\":_vm.$vuetify.breakpoint.mobile ? '2em' : '5em',\"icon\":\"\",\"disabled\":_vm.step === i,\"color\":_vm.step === i ? 'white' : 'grey darken-3'}})}),1)])],1)],1)}\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\n\n\n\r\nimport { Vue, Component, PropSync, Watch, Ref } from 'vue-property-decorator'\r\nimport ReadAndAccept from '../ReadAndAccept'\r\nimport InGameNameRegistration from '@/modules/tournament/components/InGameNameRegistration'\r\nimport TournamentRegistration from './TournamentRegistration'\r\nimport EnterInvitationCode from '../EnterInvitationCode'\r\nimport TeamRegistration from './TeamRegistration'\r\nimport TeamRegistrationComplete from './TeamRegistrationComplete'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport TeamRegistrationStatus from '@/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue'\r\nimport ServerError from '@/utils/server_error'\r\nimport { TournamentAPI } from '@/api/tournament'\r\nimport { TokenAcceptPayload } from '../EnterInvitationCode/EnterInvitationCode.vue'\r\nimport TeamJoinDetailReview from './TeamJoinDetailReview'\r\nimport TournamentCustomForm from '../TournamentCustomForm'\r\nimport { parseSchema } from '@/utils/customform_validation'\r\n\r\nenum CreateTeamActions {\r\n ActionSelection = 1,\r\n ReadAndAccept = 2,\r\n IGN = 3,\r\n CustomForm = 3.5,\r\n TeamDetailReview = 4,\r\n Completed = 5\r\n}\r\n\r\nenum JoinTeamActions {\r\n ActionSelection = 1,\r\n ReadAndAccept = 2,\r\n EnterInvitationCode = 3,\r\n IGN = 4,\r\n CustomForm = 4.5,\r\n TeamDetailReview = 5,\r\n Completed = 6\r\n}\r\n\r\nenum ActionType {\r\n Create = 'create',\r\n Join = 'join'\r\n}\r\n\r\n@Component({\r\n components: {\r\n TeamRegistrationStatus,\r\n EnterInvitationCode,\r\n ReadAndAccept,\r\n InGameNameRegistration,\r\n TournamentRegistration,\r\n TeamRegistration,\r\n TeamRegistrationComplete,\r\n TeamJoinDetailReview,\r\n TournamentCustomForm\r\n }\r\n})\r\nexport default class TournamentActionDialog extends Vue {\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n step: number = 1\r\n steps: number[] = Array.from(new Array(5), (_, index) => index + 1)\r\n action: 'create' | 'join' | null = null\r\n teamToken: string | null = null\r\n isJoiningTeamWithToken: boolean = false\r\n selectedTokenTeam: TokenAcceptPayload | null = null\r\n selectedGroup: string | null = null\r\n\r\n // this is for refreshing data\r\n seed: number = 0\r\n\r\n // custom form\r\n schema: any = {}\r\n formResponse: any = null\r\n\r\n /* Reference elements */\r\n @Ref('gameAccountRegistration')\r\n readonly gameAccountRegistration!: InGameNameRegistration\r\n\r\n @Ref('readAndAccept')\r\n readonly readAndAccept!: ReadAndAccept\r\n\r\n @Ref('enterInvitationCode')\r\n readonly enterInvitationCode!: EnterInvitationCode\r\n\r\n @Ref('teamRegistration')\r\n readonly teamRegistration!: TeamRegistration\r\n\r\n @Ref('status')\r\n readonly registrationStatus!: TeamRegistrationStatus\r\n\r\n get CreateTeamActions() {\r\n return CreateTeamActions\r\n }\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n onDialogVisiblityChanged(visible: boolean) {\r\n if (visible) {\r\n this.seed++\r\n this.fetchTournamentCustomFormSchema()\r\n\r\n // navigate to status page (5), or home page otherwise.\r\n this.step = this.hasJoinedTournament ? 5 : 1\r\n\r\n // solo tournament\r\n if (!this.hasJoinedTournament && this.isSoloTournament) {\r\n this.action = 'create'\r\n this.step = 2\r\n }\r\n } else {\r\n setTimeout(() => {\r\n this.step = 1\r\n this.action = null\r\n this.teamToken = null\r\n this.selectedTokenTeam = null\r\n this.isJoiningTeamWithToken = false\r\n this.schema = {}\r\n this.formResponse = null\r\n this.selectedGroup = null\r\n }, 200)\r\n\r\n if (this.gameAccountRegistration) {\r\n this.gameAccountRegistration.reset()\r\n }\r\n\r\n if (this.readAndAccept) {\r\n this.readAndAccept.reset()\r\n }\r\n\r\n if (this.enterInvitationCode) {\r\n this.enterInvitationCode.reset()\r\n }\r\n\r\n if (this.teamRegistration) {\r\n this.teamRegistration.reset()\r\n }\r\n }\r\n }\r\n\r\n /* Methods */\r\n setIsVisible(isVisible: boolean = false) {\r\n this.tournamentModule.setTournamentActionDialogVisible(isVisible)\r\n }\r\n\r\n back() {\r\n if (this.step === 3.5 || this.step === 4.5) {\r\n this.step = this.step - 0.5\r\n } else {\r\n this.step--\r\n }\r\n\r\n if (this.step <= 1 && this.isSoloTournament) {\r\n this.step = 2\r\n this.action = 'create'\r\n }\r\n\r\n if (this.step < 1) {\r\n this.step = 1\r\n }\r\n\r\n if (this.enterInvitationCode) {\r\n this.enterInvitationCode.reset()\r\n }\r\n }\r\n\r\n onTournamentTeamCreated(teamToken: string) {\r\n // this.teamToken = teamToken.substring(0, 3) + ' ' + teamToken.substring(3)\r\n this.teamToken = teamToken\r\n this.step = 5\r\n\r\n if (this.schemaLength) {\r\n this.submitTournamentFormResponse(teamToken)\r\n }\r\n\r\n // bypass invite code for solo tournament\r\n if (this.tournament && this.tournament.capacityMaxPlayersPerTeam === 1) {\r\n this.onJoinTournament()\r\n }\r\n }\r\n\r\n onIGNCompleted() {\r\n // if (this.action === 'create' && this.isSoloTournament) {\r\n // this.step = this.schemaLength ? 3.5 : 5\r\n // return\r\n // }\r\n\r\n if (this.action === 'create') {\r\n this.step = this.schemaLength ? 3.5 : 4\r\n } else {\r\n this.step = this.schemaLength ? 4.5 : 5\r\n }\r\n }\r\n\r\n onTournamentRegistrationNext(group: string | null) {\r\n this.selectedGroup = group\r\n this.step = 2\r\n }\r\n\r\n async fetchTournamentCustomFormSchema() {\r\n let response = await TournamentAPI.getTournamentCustomFormSchema(\r\n this.tournament!.tournamentId\r\n )\r\n if (response.data.payload) {\r\n try {\r\n this.schema = parseSchema(response.data.payload.schema)\r\n } catch {\r\n this.schema = {}\r\n }\r\n }\r\n }\r\n\r\n get hasCustomForm() {\r\n return Object.keys(this.schema).length > 0\r\n }\r\n\r\n async submitTournamentFormResponse(token: string) {\r\n try {\r\n const response = await TournamentAPI.submitTournamentFormResponseWithToken(\r\n token,\r\n JSON.stringify(this.formResponse)\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TournamentActionDialog.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n }\r\n }\r\n\r\n async onJoinTournament() {\r\n // 5 and 6 are competion step for create and join team sequence\r\n this.step = this.action === 'join' ? 6 : 5\r\n await this.fetchJoinedTournamentTeam()\r\n\r\n // auto-confirm roster on solo tournament\r\n if (this.tournament && this.tournament.capacityMaxPlayersPerTeam === 1) {\r\n setTimeout(() => {\r\n this.registrationStatus.confirmRoster()\r\n }, 1000)\r\n }\r\n }\r\n\r\n async fetchJoinedTournamentTeam() {\r\n try {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.tournament!.tournamentId\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n if (err.getStatusCode() >= 400 && err.getStatusCode() < 500) {\r\n return\r\n }\r\n\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TournamentActionDialog.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n\r\n await this.$router.push('/')\r\n }\r\n }\r\n\r\n async onAcceptTeamToken(payload: TokenAcceptPayload) {\r\n this.selectedTokenTeam = payload\r\n this.step = 4\r\n }\r\n\r\n async confirmTeamJoin() {\r\n if (!this.selectedTokenTeam || !this.selectedTokenTeam.token) return\r\n this.isJoiningTeamWithToken = true\r\n try {\r\n await TournamentAPI.joinTournamentTeamByTeamToken(\r\n this.selectedTokenTeam.token\r\n )\r\n await this.onJoinTournament()\r\n\r\n if (this.schemaLength) {\r\n await this.submitTournamentFormResponse(this.selectedTokenTeam.token)\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TournamentActionDialog.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.isJoiningTeamWithToken = false\r\n }\r\n }\r\n\r\n async submitFormResponse(value: any) {\r\n this.formResponse = value\r\n\r\n // Navigate to finishing step\r\n this.step = this.action === 'create' ? 4 : 5\r\n }\r\n\r\n /* Computed Properties */\r\n\r\n get tournament() {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get schemaLength() {\r\n return Object.keys(this.schema).length\r\n }\r\n\r\n get showBackButton() {\r\n if (this.hasJoinedTournament) {\r\n return false\r\n }\r\n\r\n if (this.isSoloTournament && this.step === 2) return false\r\n\r\n return this.step > 1 && this.step < 5\r\n }\r\n\r\n get hasJoinedTournament() {\r\n return !!this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get isSoloTournament() {\r\n return this.tournament && this.tournament.capacityMaxPlayersPerTeam === 1\r\n }\r\n\r\n get hideLFG() {\r\n if (!this.tournament) return false\r\n\r\n if (this.tournament.isAutomated) return true\r\n\r\n if (this.tournament.capacityMaxPlayersPerTeam === 1) return true\r\n\r\n return false\r\n }\r\n\r\n get isVisible() {\r\n return this.tournamentModule.tournamentActionDialogVisible\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!./TournamentActionDialog.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!./TournamentActionDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentActionDialog.vue?vue&type=template&id=50f119e1&scoped=true&\"\nimport script from \"./TournamentActionDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentActionDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentActionDialog.vue?vue&type=style&index=0&id=50f119e1&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 \"50f119e1\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VFadeTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSheet } from 'vuetify/lib/components/VSheet';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VWindow } from 'vuetify/lib/components/VWindow';\nimport { VWindowItem } from 'vuetify/lib/components/VWindow';\ninstallComponents(component, {VBtn,VCard,VCardActions,VDialog,VFadeTransition,VIcon,VSheet,VSpacer,VWindow,VWindowItem})\n","import TournamentActionDialog from './TournamentActionDialog.vue'\r\n\r\nexport { TournamentActionDialog }\r\nexport default TournamentActionDialog\r\n","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","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!./InstantMatchTournamentPlayerList.vue?vue&type=style&index=0&id=52dc7203&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!./InstantMatchTournamentPlayerList.vue?vue&type=style&index=0&id=52dc7203&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!./TournamentRegistration.vue?vue&type=style&index=0&id=c20a9e84&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!./TournamentRegistration.vue?vue&type=style&index=0&id=c20a9e84&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!./TeamRegistration.vue?vue&type=style&index=0&id=04d197f2&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!./TeamRegistration.vue?vue&type=style&index=0&id=04d197f2&lang=scss&scoped=true&\""],"sourceRoot":""}