{m.label} {today ? "Today" : fmtDate(date)} {m.prefix && {m.prefix.trim()}} {m.suffix && {m.suffix.trim()}} {shown} {prev !== null && change !== 0 && ( )} {delta} { e.currentTarget.setPointerCapture(e.pointerId); scrub(e); }} onPointerMove={(e) => { if (e.pointerType === "mouse" || e.currentTarget.hasPointerCapture(e.pointerId)) scrub(e); }} onPointerUp={home} onPointerLeave={(e) => { if (e.pointerType === "mouse") home(); }} onPointerCancel={home} onKeyDown={onKey} onBlur={() => held && home()} style={{ "--cx": `${cx}%`, "--cy": `${(cy / 40) * 100}%` } as CSSProperties} > {/* Up to the cursor: the filled area and the full-strength line. */} {fmtShort(new Date(end.getTime() - (n - 1) * DAY))} {fmtShort(end)}