{#if cfg}
{#key activeTab}

{TABS.find(tab => tab.id === activeTab)?.label}

{descriptions[activeTab]}

{#if activeTab === "capture"}
Export frame rate

Preselected when you finish a recording.

Limit capture frame rate

Record at the selected rate instead of the display rate.

Resolution

Auto caps the longest side at 1920 px.

Record mouse pointer
Record system audio
{:else if activeTab === "export"}
Default format

Preselected when you finish a recording.

Advanced encoding
GIF dithering
MP4 codec
WebM codec
{:else if activeTab === "hotkeys"}
Start recording
Stop recording
Pause / resume
{:else if activeTab === "output"}
{ cfg!.output_dir = e.currentTarget.value.trim() || null }} disabled={saving} />
Choose location
{:else if activeTab === "system"}
Appearance
Check for updates on launch
App updates
{:else}
ByteSize{diagnostics?.app_version ?? "Loading..."}
Encoder{diagnostics?.ffmpeg_version ?? "Loading..."}
Log folder

{diagnostics?.log_dir ?? ""}

Recent activity

{diagnostics?.log_tail || "No recent log entries."}
{/if}
{#if hotkeyWarnings.length} {/if}
{/key}
{/if}