{#if bytesTotal === 0 || Math.round(progress * 100) === 100}
{status === 'submitted' ? 'Odesláno' : 'Nahráno'}
{:else}
Nahráno {((bytesTotal / 1_000_000) * progress).toFixed(1)} MB
z {(bytesTotal / 1_000_000).toFixed(1)} MB
{/if}
{Math.round(progress * 100)} %
onFileDrop(e.detail.files)}
on:filedragenter={dashAnimationStart}
on:filedragleave={dashAnimationStop}
class="drag group"
on:mouseenter={dashAnimationStart}
on:mouseleave={dashAnimationStop}
style={`background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='9' ry='9' stroke-opacity='50%' stroke='%23406280' stroke-width='4' stroke-dasharray='10' stroke-dashoffset='${dashAnimationProgress}' stroke-linecap='square'/%3e%3c/svg%3e");`}
>
Sem přetáhněte,
nebo nahrajte {placeholder}