{#if hubNotAvailable}
Hub not available
{:else if loading} {#each Array(15).fill(0) as _}
{/each} {:else if items.length > 0 && apps.length > 0}
{#each items as item, index (item.path)}
{#snippet text()}
{item.summary ?? ''}
{item.path ?? ''}
{/snippet}
dispatch('pickScript', item)} >
{#if item['app'] in APP_TO_ICON_COMPONENT} {@const SvelteComponent = APP_TO_ICON_COMPONENT[item['app']]}
{:else}
{/if}
{item.summary ?? ''}
{#if displayPath && item.path}
{item.path}
{/if}
{#if index === selected}
↵
{/if}
{/each}
{#if items.length == 40}
There are more items than being displayed. Refine your search.
{/if} {/if}