{#if type === 'image'}
{ if (listProvider !== undefined) listProvider.updateFocus(value) const popupInfo = showAttachmentPreviewPopup(value) dispatch('open', popupInfo.id) }} >
{:else if type === 'audio'}
{:else if type === 'video'}
{:else}
{/if}