{#snippet heading( shelf: (typeof shelves)[number], all: CatalogCandidate[], open: boolean, )}
(。•︿•。) {error}
{/if} {#if notice}{notice}
{/if} {#if pending}{pending.question}
(・ω・) reading extensions…
{:else if data && !items.some(matches)}(・_・) no extensions match this search
{/if} {#each shelves as shelf (shelf.id)} {@const all = items .filter((item) => shelfOf(item) === shelf.id) .sort((a, b) => shelf.id === 'memory' ? memoryOrder.indexOf(a.id) - memoryOrder.indexOf(b.id) : 0, )} {@const rows = all.filter(matches)} {@const open = !!query.trim() || !folded.has(shelf.id)} {#if rows.length}turning a builtin off also turns off what needs it.
{/if} {#if shelf.id === 'memory'}{selected.description}
quarantined: {selected.diagnostic?.detail ?? 'unavailable'}
{/if}