{#if !failed} (loaded = true)} onerror={() => (failed = true)} class="h-full w-full object-cover" /> {/if} {@render children?.()}