(fakeAttach === 'normal' ? pasteAction(ev) : undefined)}
on:dragover|preventDefault={() => {}}
on:dragleave={() => {}}
on:drop|preventDefault|stopPropagation={(ev) => {
if (fakeAttach === 'fake') dispatch('attach', { action: 'drop', event: ev })
else if (fakeAttach === 'normal') fileDrop(ev)
}}
>
{
if (fakeAttach === 'fake') dispatch('attach', { action: 'add' })
else if (fakeAttach === 'normal') attach()
}}
/>
{#if attachments.size && fakeAttach === 'normal'}
{/if}