{#if hasPreview} {filename} { e.stopPropagation(); previewPopup?.show(originalUrl); }} on:error={onError} /> {:else} {/if}