{#if coords.length === 0}
no price checks yet — hit refresh to start tracking.
{:else}
(hover = null)} >
{#each oosBands as b (b.x)}
{/each} {#each gridLines as g (g.v)}
{g.v.toFixed(0)}
{/each} {#if targetY != null}
target {target?.toFixed(0)}
{/if}
{#each coords as c, i (i)}
{/each} {#if active}
{fmtMoney(active.price)}
{fmtFull(active.fetched_at)}
{/if}
{fmtDay(points[0].fetched_at)}
{#if points.length > 1}
{fmtDay(points[points.length - 1].fetched_at)}
{/if}
low {fmtMoney(coords[lowIdx].price)}
high {fmtMoney(coords[highIdx].price)}
{#if anyOos}
out of stock
{/if}
{#if latest}
now {fmtMoney(latest.price)}{onSale ? ' ✦' : ''}
{/if}
{/if}