fileInput?.click()}
onkeydown={(e) => e.key === 'Enter' && fileInput?.click()}
ondrop={onImageDrop}
ondragover={(e) => e.preventDefault()}
>
{#if imagePreviews.length > 0}
{#each imageFiles as file, i}
{#if file.type === 'application/pdf'}
📄
{:else}

{/if}
{/each}
{#if imagePreviews.length < MAX_IMAGE_FILES}
+ weitere
{/if}