{#if unused.length > maxItems}
(collapsed = !collapsed)}>
{@html icon}
{collapseMsg}
{/if}
{unusedMsg}
{#if collapsed}
{unused.slice(0, maxItems).join(", ")}
{#if unused.length > maxItems}
... (+{unused.length - maxItems})
{/if}
{:else}
{#each unused as entry}
- {entry}
{/each}
{/if}