onSelect(option.id)} onkeydown={onKeyDown} onmouseenter={onMouseEnter} role="option" tabindex="0" title={loadTitle} >
e.stopPropagation()} > {#if isFav} modelsStore.toggleFavorite(option.model)} tooltip="Remove from favorites" /> {:else} modelsStore.toggleFavorite(option.model)} tooltip="Add to favorites" /> {/if} {#if isLoaded && onInfoClick} onInfoClick(option.model)} tooltip="Model information" /> {/if}
{#if isLoading}
{:else if isFailed}
{:else if isSleeping}
{:else if isLoaded}
{:else}
{/if}
{#if isLoading} {/if}