{#if workout.active && !isOnActivePage} workout.paused ? workout.resumeTimer() : workout.pauseTimer()} restSeconds={workout.restTimerSeconds} restTotal={workout.restTimerTotal} onRestAdjust={(/** @type {number} */ delta) => workout.adjustRestTimer(delta)} onRestSkip={() => workout.cancelRestTimer()} /> {/if}