{#if showSrc} (srcFailed = true)} class="h-full w-full object-cover" /> {:else if showMosaic}
{#each trackIds.slice(0, 4) as id (id)} ((e.currentTarget as HTMLImageElement).style.visibility = 'hidden')} class="h-full w-full object-cover" /> {/each}
{:else if showSingle} (singleFailed = true)} class="h-full w-full object-cover" /> {:else if fallback === 'music'}
{:else if fallback === 'gradient'}
{:else}
{/if} {@render children?.()}