{#await getAssetInfo()} {:then asset} {asset.id} {/await}
{#if link.expiresAt} {#if isExpired(link.expiresAt)}

Expired

{:else}

Expires {getCountDownExpirationDate()}

{/if} {:else}

Expires ∞

{/if}
{#if link.type === SharedLinkType.Album}

{link.album?.albumName.toUpperCase()}

{:else if link.type === SharedLinkType.Individual}

INDIVIDUAL SHARE

{/if} {#if !link.expiresAt || !isExpired(link.expiresAt)}
goto(`/share/${link.key}`)} on:keydown={() => goto(`/share/${link.key}`)} >
{/if}

{link.description ?? ''}

{#if link.allowUpload}
Upload
{/if} {#if link.allowDownload}
Download
{/if} {#if link.showExif}
EXIF
{/if}
dispatch('delete')} /> dispatch('edit')} /> dispatch('copy')} />