{#if targetCount > 0}
{#if isBulk}
{targetCount} selected
{:else}
Focused
{focusedName || 'photo'}
{/if}
{#if isReview}
✓ Keep
S
{#if allHaveSuggestion}
📅 Accept date & Keep
A
{/if}
Archive
X
{:else if isArchive}
✓ Keep
S
Delete
X
{:else}
(heapPickerOpen = !heapPickerOpen)} title="Add to heap (S then 1–9 picks a heap)" > + Add to heap
S N
{#if heapPickerOpen}
{#if heapsQuery.isPending}
{:else if (heapsQuery.data ?? []).length === 0}
{:else} {#each heapsQuery.data ?? [] as heap, i (heap.UID)}
onAddToHeap(heap)} > {#if i < 9}
{i + 1}
{:else}
{/if}
{heap.Title}
({heap.PhotoCount ?? 0})
{/each} {/if}
{/if}
Archive
X
openMove({ kind: 'photos', uids: snapshotIds() })} title="Move selected photos to a folder" > Move to folder
M
{/if}
{isBulk ? 'Clear' : 'Dismiss'}
Esc
{/if}