{#each Object.entries(labelsByLanguage) as [language, label]}
-
{/each}
-
{#if clientSnippetsByLang[selectedLanguage].length > 1}
{#each clientSnippetsByLang[selectedLanguage] as { name }, idx}
{/each}
{/if}
{#each clientSnippetsByLang[selectedLanguage] as { snippets }, idx}
{#if idx === selectedClientIdxByLang[selectedLanguage]}
{#each snippets as { label, code, language, needsToken }}
{label}
{#if needsToken && hfToken}
{/if}
{@html highlight(
code,
language ?? selectedLanguage
)}
{/each}
{/if}
{/each}