{label} {#if required}{/if} {#if hint}{hint}{/if} {#if allowFromResults && onFromResults} {/if}
{ const f = e.currentTarget.files?.[0]; if (f) onFile(f); }} />
{#if filled}
0} class:bad={!!error} {...dragHandlers}> {#if uploading} {:else} {/if}
{:else} {/if}
{#if error?.trim()}{error}{/if}