{#each items as item, i (item.shortcodes ? `emoji-${item.unicode || item.name}` : item.id ? `account-${item.id}` : `hashtag-${item.name}`)}
  • {ariaLabels[i]}
    {#if type === 'account'}
    {'@' + item.acct} {:elseif type === 'hashtag'} {item.name} {:else} {#if item.url} {:else} {item.unicode} {/if} {item.shortcodes.map(_ => `:${_}:`).join(' ')} {/if}
  • {/each}