{#if page.state.openImage || '' != ''}
history.back()} onkeydown={e => { if (e.key == 'Escape') history.back() }} use:focusTrap >
e.stopPropagation()} >
{/if}