{#if value === null || streaming}
{#if active_source === "microphone"}
{#if streaming}
{:else}
{/if}
{:else if active_source === "upload"}
dispatch("error", detail)}
{root}
{max_file_size}
{upload}
{stream_handler}
>
{/if}
{:else}
(mode = "edit")}
download={show_download_button ? value.url : null}
/>
{/if}