{#if entries.length}
Sources
    {#each entries as [id, n] (id)} {@const url = urls[id]} {@const label = labels[id] || id} {@const vintage = vintages[id]}
  1. highlightedDocId.set(id)} onclick={() => highlightedDocId.set(hl === id ? null : id)}> [{n}]
    {#if url} e.stopPropagation()}> {label} {:else} {label} {/if} {id} {#if vintage}{vintage}{/if}
  2. {/each}
{/if}