{ if (e.clientY < 60 || window.innerHeight - e.clientY < 60) showUi(); }}>
{store.activeManga?.title} / {displayChapter?.name} {store.pageNumber} / {visibleChunkLastPage || "…"}
{#if zoomOpen}
{ captureZoomAnchor(); updateSettings({ readerZoom: clampZoom(Number(e.currentTarget.value) / 100) }); restoreZoomAnchor(); }} />
{#each [50, 75, 100, 125, 150, 200] as pct} {/each}
{/if}
{#if style !== "single"} {/if} {#if style === "longstrip"} {/if} {#if !autoNext} {/if}
{ if (e.ctrlKey) e.preventDefault(); }} onkeydown={(e) => { if (e.key === " " && style === "longstrip") { e.preventDefault(); containerEl?.scrollBy({ top: containerEl.clientHeight * 0.85, behavior: "smooth" }); } }} > {#if loading}
{/if} {#if error}

{error}

{/if} {#if style === "longstrip"} {#each stripToRender as chunk} {#each chunk.urls as url, i} {chunk.chapterName} – Page {i + 1} {/each} {/each}
{:else if pageReady} {#if style === "double" && pageGroups.length}
{#each currentGroup as pg} Page {pg} {/each}
{:else} Page {store.pageNumber} {/if} {/if}
{#if dlOpen && store.activeChapter} {@const queueable = adjacent.remaining.filter(c => !c.isDownloaded)}
dlOpen = false}>
e.stopPropagation()}>

Download

e.stopPropagation()}> {nextN}
{/if}