{#each Object.values(SNIPPET_EDITORS) as snippetType}
(currentSnippetEditor = snippetType)}>
{snippetType}
{/each}
{#if currentSnippetEditor === SNIPPET_EDITORS.MAP}
{:else if currentSnippetEditor === SNIPPET_EDITORS.FILTER}
{:else if currentSnippetEditor === SNIPPET_EDITORS.REDUCE}
{/if}