{# ── REVOTE DELAY WIDGET ────────────────────────────────────────────────────── The time penalty, as the participant experiences it: the robot buttons grey out and a loud countdown runs before a revote may be cast. One home for the behaviour, used by the training practice and (step C) by V1 and V2 in `voting`, so the two can never drift apart the way the two money scales did (K8). MARKUP CONTRACT — a page supplies a container and this file does the rest:
<- countdown is painted in here <- greyed while waiting <- enabled only at zero <- OPTIONAL, see below
TWO MODES, and which one you get depends on whether .revote-start is present. No .revote-start — the countdown begins on page load. This is the mode the EXPERIMENT uses (V1, V2): a participant being made to wait does not opt in to waiting. .revote-start — the countdown begins when that button is clicked, and the gate stays shut until it has run. This is the mode for TRAINING, where the wait is a demonstration: the participant reads the explanation first and starts the wait when they are ready, instead of doing both at once. In both modes the gate is shut until the countdown has finished, so the wait cannot be clicked past. FAILURE MODE, DELIBERATE: the lock is applied by JavaScript on load, not baked into the HTML. If the script does not run, nothing is disabled and the page is merely un-gated -- a participant is never stranded on a page they cannot leave. NOT A SECURITY CONTROL. A participant with devtools can re-enable the buttons. This is a salience manipulation, not an enforcement mechanism; see C-handle in CLEANUP_PLAN.md. #}