{#if start}
STOP
{#each Array($priority.surfersCount) as _, id}
{#if $priority.surfers[id].priority == 'P'}
ChangePriority(id)} on:keypress={() => ChangePriority(id)} role="button" tabindex="-1" > {$priority.surfers[id].priority}
{:else}
ChangePriority(id)} on:keypress={() => ChangePriority(id)} role="button" tabindex="-1" > {$priority.surfers[id].priority}
{/if}
{$priority.surfers[id].name}
{/each}
{:else}
START
+
{$priority.surfersCount}
-
Round
{#each $rounds as round}
{round}
{/each}
Category
{#each $categories as category}
{category}
{/each}
Heat
Reset
Name
Color
{#each Array($priority.surfersCount) as _, id}
{#each $colors as color}
{color}
{/each}
{:else}
{/each}
{/if}