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

{currentMemory.title}

{#if !galleryInView}

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

{/if}
{#if galleryInView}
{/if}
{#if previousMemory || previousAsset} {/if}
{#if canAdvance} {/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}