pick(event) || dock.press(event)}
onpointermovecapture={(event) => (alt = event.altKey)}
role="presentation"
>
{#if !(empty && tiled)}
{/if}
{#if board.expanded && board.expandedOver}
{@const canvas = board.windows[board.expanded] ? null : find(board.root, board.expanded)}
{#key board.expanded}
{#if canvas}{:else}{/if}
{/key}
{/if}
{#if empty}
(・ω・)ノ
{#if tiled}
nothing tiled yet
open a session and it takes the space; each one after splits it.
{:else}
an empty board
open a session to start. windows can sit anywhere; pinch to zoom out and see them all. double-click to leave a note.
{/if}
{#if onpalette && onnew}
{/if}
{/if}
{#if board.floats.length}
{#each board.floats as float (float.tile.window)}
carryFloat(event, float)}>
{/each}
{/if}
{#if closed}
{#if carry.slot}
{/if}
{#each drop?.strips ?? [] as strip, at (at)}
{/each}
{#if box}
{#if drop?.swap}⇄{/if}
{/if}
{#if drop?.caret && !drop.refused}
{/if}
{#if carry.guides}
{@const guides = guideBoxes(carry.guides)}
{#each Object.entries(guides) as [where, rect] (where)}
{/each}
{/if}
{#if !carry.flow || carry.hint}
{#if !carry.flow}
{carry.title}
{/if}
{#if carry.hint}
{carry.hint}
{/if}
{/if}
{/if}