{title} - Chapter list {#if selectedCharacter}

{selectedCharacter.node.name.full}

{selectedCharacter.node.name.native}

Crossed out text may indicate spoilers!

{#if selectedCharacter.node.gender}
Gender: {selectedCharacter.node.gender}
{/if} {#if selectedCharacter.node.age}
Age: {selectedCharacter.node.age}
{/if} {#if selectedCharacter.node.dateOfBirth && (selectedCharacter.node.dateOfBirth.day || selectedCharacter.node.dateOfBirth.month || selectedCharacter.node.dateOfBirth.year)}
Birthday: {selectedCharacter.node.dateOfBirth.day || "Unknown"}/{selectedCharacter.node.dateOfBirth.month || "Unknown"}/{selectedCharacter.node.dateOfBirth.year || "Unknown"}
{/if} {#if selectedCharacter.node.favourites}
Favourites: {selectedCharacter.node.favourites}
{/if} {#if selectedCharacter.node.bloodType}
Blood type: {selectedCharacter.node.bloodType}
{/if}
{/if}
{#if anilistData} {#await anilistData then data} {#if data && data.bannerImage} {/if} {/await} {/if}
{#if relationships.find(t => t.type === "cover_art")}
selectedImage = `${imageproxy}https://uploads.mangadex.org/covers/${mangaId}/${relationships.find(t => t.type === "cover_art").attributes.fileName}.512.jpg`}>
{/if}

{title}

{#if manga.altTitles.find(t => t.en)} {manga.altTitles.find(t => t.en)?.en} · {/if} {#if manga.year} {manga.year} · {/if} {#if anilistData} {#await anilistData then data}{#if data && data.status} {data.status} · {/if} {/await} {/if} {manga.contentRating}

{#if relationships.find(t => t.type === "author")} Author: {relationships.find(t => t.type === "author").attributes.name} {/if} {#if relationships.find(t => t.type === "artist")} Artist: {relationships.find(t => t.type === "artist").attributes.name} {/if} {#if relationships.find(t => t.related === "colored" && t.type === "manga")} Colored version {/if} {#if !smallScreenMode && manga.description.en}

{/if}
{#if smallScreenMode && manga.description.en}
{/if} {#if manga.tags}
{#each manga.tags as tag} {tag.attributes.name.en || tag.attributes.name.jp || Object.values(tag.attributes.name)[0]} {/each}
{/if}
{#if copyrightOpen} {/if}
console.log(e.detail[0])} >

{text}

{#if queue.length > 0}

{queue.length} downloads queued.

{/if}

Do not close the tab when a download is in progress.

{#if !chapters} Loading chapters... {:else} {#if chapters.data.length === 0}

No chapters found.

{/if} {#each chapters.data as chapter} select(chapter)} on:download={() => downloadSingle(chapter)} /> {/each}
{/if}
{#if anilistData} {#await anilistData then data} {#if data}
Genres: {data.genres.join(", ")}
AL popularity: {data.popularity}
favorite on AL: {data.isFavourite ? "yes" : "no"}
AL score: {data.averageScore}
Also known as: {data.synonyms.join(", ")} {Object.values(manga.title).filter(t => t !== title).join(", ")}

{/if} {/await} {/if} {#if manga.links}

Links

{#if manga.links.al} Anilist
{/if} {#if manga.links.ap} Animeplanet
{/if} {#if manga.links.bw} Bookwalker
{/if} {#if manga.links.mu} Manga updates
{/if} {#if manga.links.nu} Novel updates
{/if} {#if manga.links.amz} Amazon
{/if} {#if manga.links.ebj} Ebookjapan
{/if} {#if manga.links.mal} MyAnimeList
{/if} {#if manga.links.cdj} CDJapan
{/if} {#if manga.links.raw} RAW
{/if} {#if manga.links.engtl} engtl
{/if} Mangadex.org
{/if}
{#if relationships.filter(t => t.type === "manga" && typeof t.attributes !== "undefined").length}
swiper.slideToClosest()} mangaRelations={relationships.filter(t => t.type === "manga" && typeof t.attributes !== "undefined")} />
{/if}
{#await anilistData then data}{#if data && data.characters?.edges.length} {#each data.characters.edges as character}
{selectedImage = character.node.image.large; selectedCharacter = character}} >

{character.node.name.userPreferred}

{character.role}
{/each} {/if}{/await}