{group.files.length} files in this stack
{group.photo.OriginalName ?? group.photo.FileName ?? group.photo.Name ?? ''}
Keep selected, delete rest
Enter
{#each group.files as file (file.UID)} {@const isBest = file.UID === best} {@const sizeStr = sizeLabel(file.Size)}
(best = file.UID)} class:scale-95={isBest} class:ring-2={isBest} class:ring-blue-500={isBest} class:ring-offset-2={isBest} class:ring-offset-background={isBest} class:transition-[transform,box-shadow]={isBest} class:duration-300={isBest} class:ease-[cubic-bezier(0.34,1.56,0.64,1)]={isBest} class="group flex flex-col overflow-hidden rounded-md border border-border bg-secondary p-0 text-left outline-none focus:outline-none" >
{#if isBest}
Best
{/if} {#if dims(file)}
{dims(file)}
{/if}
{shortPath(file.Name)}
{#if sizeStr}
{sizeStr}
{/if}
{/each}