{#if data.questions[selected_question].type === QuizQuestionType.SLIDE} {#await import('./slide.svelte')} {:then c} {/await} {:else} {@const type = data.questions[selected_question].type}
{#key unique} {#await import('$lib/inline-editor.svelte')} {:then c}
{/await} {/key}
{#if data.questions[selected_question].image}
{:else} {#await import('$lib/editor/uploader.svelte')} {:then c} {/await} {/if}

s

{type_to_name[String(data.questions[selected_question].type)]}

{#if type === QuizQuestionType.ABCD || type === QuizQuestionType.CHECK} {#await import('$lib/editor/ABCDEditorPart.svelte')} {:then c} {/await} {:else if type === QuizQuestionType.RANGE} {:else if type === QuizQuestionType.VOTING} {#await import('$lib/editor/VotingEditorPart.svelte')} {:then c} {/await} {:else if type === QuizQuestionType.TEXT} {#await import('$lib/editor/TextEditorPart.svelte')} {:then c} {/await} {:else if type === QuizQuestionType.ORDER} {#await import('$lib/editor/OrderEditorPart.svelte')} {:then c} {/await} {/if}
{/if}
{#if advanced_options_open}

{$t('editor.advanced_settings')}

(advanced_options_open = false)}>{$t('words.close')}
{/if}