{#if game_mode === 'kahoot'}

{selected_question === -1 ? '0' : selected_question + 1} /{quiz_data.questions.length}

{#if selected_question >= 0}

{quiz_data.questions[selected_question].question}

{timer_res}

{/if}
{#if timer_res !== '0' && selected_question >= 0} {/if} {/if}
{#if timer_res !== undefined && !final_results_clicked}

{quiz_data.questions[selected_question].question}

{#if quiz_data.questions[selected_question].image !== null}
Content for Question
{/if} {#if game_mode === 'kahoot'} {#if quiz_data.questions[selected_question].type === QuizQuestionType.ABCD}
{#each quiz_data.questions[selected_question].answers as answer, i}
icon {answer.answer}
{/each}
{/if} {/if} {/if}
{#if timer_res === '0'} {#if question_results === null} {#if game_mode === 'normal'}
{/if} {:else if question_results === undefined} {#if !final_results_clicked}

{$t('admin_page.no_answers')}

{/if} {:else}
{#each question_results as result} {/each}
{$t('words.username')} {$t('words.answer')} {$t('words.correct')}?
{result.username} {result.answer} {#if result.right} ✅ {:else} ❌ {/if}
{/if} {:else if timer_res !== undefined} {#if game_mode === 'normal'}
{/if} {/if}
{#if get_question_title(selected_question + 1, quiz_data) !== '' && selected_question + 1 !== 0} {#if game_mode === 'normal'}
{/if} {:else if selected_question + 1 === 0} {#if game_mode === 'normal'}
{/if} {:else if final_results_clicked === false} {#if game_mode === 'normal'}
{/if} {/if}