{#if hasContent}
{#each suggestions as suggestion, index (suggestion.url)} {@const { domain, path } = parseUrl(suggestion.url)} {@const isSelected = index === selectedIndex}
handleItemMouseEnter(index)} onclick={() => handleItemClick(suggestion)} onkeydown={(e) => handleItemKeyDown(e, suggestion)} > {#if suggestion.favicon}
{/if}
{domain}
{' | '}
{path || '/'}
{/each}
{/if}