{#if currentMemory} goto(AppRoute.PHOTOS)} forceDark>

{currentMemory.title}

{#if !galleryInView}
(paused = !paused)} /> {#each currentMemory.assets as _, i} {/each}

{assetIndex + 1}/{currentMemory.assets.length}

{/if}
{#if galleryInView}
{/if}
{#if canGoBack} {/if}
{#if canGoForward} {/if}
{#key currentAsset.id} {/key}

{DateTime.fromISO(currentMemory.assets[0].fileCreatedAt).toLocaleString(DateTime.DATE_FULL)}

{currentAsset.exifInfo?.city || ''} {currentAsset.exifInfo?.country || ''}

(galleryInView = true)} on:hidden={() => (galleryInView = false)} bottom={-200} >
{/if}