dispatch('close')} on:escape={() => dispatch('escape')}> {#if editingLink}

Edit link

{:else}

Create link to share

{/if}
{#if shareType === SharedLinkType.Album} {#if !editingLink}
Let anyone with the link see photos and people in this album.
{:else}
Public album | {editingLink.album?.albumName}
{/if} {/if} {#if shareType === SharedLinkType.Individual} {#if !editingLink}
Let anyone with the link see the selected photo(s)
{:else}
Individual shared | {editingLink.description || ''}
{/if} {/if}

LINK OPTIONS

{#if editingLink}

{:else}

Expire after

{/if}

{#if !sharedLink} {#if editingLink}
{:else}
{/if} {:else}
{#if canCopyImagesToClipboard} {/if}
{/if}