dispatch("clear")} bind:history bind:bg {sources} crop_constraint={!!crop_constraint} > {#if transforms.includes("crop")} {/if} {#if brush} {/if} {#if brush && eraser} {/if} {#if !bg && !history && active_mode !== "webcam" && status !== "error"}
{#if sources && sources.length} {#if heading || paragraph} {#if heading}

{heading}

{/if} {#if paragraph}

{paragraph}

{/if} {:else}
Upload an image
{/if} {/if} {#if sources && sources.length && brush && !placeholder}
or
{/if} {#if brush && !placeholder}
select the draw tool to start
{/if}
{/if}