{#each actual_grid as row} {@const length = row.columns.filter((c) => c !== null).length} {@const empty = 4 - length}

{row.lamportTimestamp}

{#each row.columns as cell} {@const filtered = currentIdFilter.id && cell && matchesIdFilter(cell)} {#if cell?.type}

{eventNames[cell.type]}

{/if} {/each} {#if empty > 0} {#each Array(empty) as _}
{/each} {/if}
{/each}