load()} /> {#if loadingData} {:else} {/if}
{#if mode === "map"} {#if $selectedElement !== undefined} {/if}
search()} isFocused={searchIsFocussed} value={searchvalue} on:focus={() => state.searchState.showSearchDrawer.set(true)} /> {#if $searchSuggestions?.length > 0 || $searchIsFocussed} search(event.detail)} /> {/if}
{:else if mode === "table"}
{#each $featuresStore as f} {/each}
{:else if mode === "aggregate"}
{:else if mode === "images"}
{/if}
{ username.set(e.detail) load() showPreviouslyVisited.set(false) }} />