{title} · {modelLabel($storedModel)}
{#if source?.fellBack}
No map for this model - showing global {source.domain}
{/if}
{#if error}
{error}
{/if}
{#if loading || firstFrameLoading}
{:else if $clockPlaying}
{:else}
{/if}
{fmtTime(currentTime)}
{fmtDay(currentTime)}
{#if times.length}
{loadedCount}/{times.length} cached
{/if}
{#each SPANS as s (s.label)}
setSpan(s.days)} class="rounded-md px-2 py-1 text-xs font-medium tabular-nums transition {$clockSpan === s.days ? 'bg-background text-foreground shadow-sm' : 'text-muted-foreground hover:text-foreground'}" > {s.label}
{/each}
{#each SPEEDS as s (s.ms)}
setSpeed(s.ms)} class="rounded-md px-2 py-1 text-xs font-medium tabular-nums transition {$clockSpeed === s.ms ? 'bg-background text-foreground shadow-sm' : 'text-muted-foreground hover:text-foreground'}" > {s.label}
{/each}
{#if times.length}
{/if} {#if times.length}
{#each times as _t, i (i)}
{/each}
{/if}
{#each dayMarkers as d (d.i)}
{d.label}
{/each}