{@render children()}
{#if showCommandPalette}
{ if (e.key === 'Escape') showCommandPalette = false; }} onclick={(e) => { if (e.target === e.currentTarget) showCommandPalette = false; }} >
{ if (e.key === 'Enter' && filteredNav.length > 0) { cmdNavigate(filteredNav[0].href); } }} /> esc
{#each filteredNav as item} {/each} {#if filteredNav.length === 0}
No matches
{/if}
{/if}