{#if (timing || recordedAudio) && waveform_options.show_recording_waveform}
{#if mode === "edit" && trimDuration > 0}
{/if}
{#if timing}
{:else}
{/if}
{/if}
{#if microphoneContainer && !recordedAudio}
{/if}
{#if recordingWaveform && recordedAudio}
{/if}