/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';

/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */

/** @typedef {{ title: NonNullable<unknown> }} Chapters_Page_TitleInputs */

const en_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Chapters — ${i?.title}`)
};

const ru_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Главы — ${i?.title}`)
};

const id_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Bab — ${i?.title}`)
};

const pt_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Capítulos — ${i?.title}`)
};

const fr_chapters_page_title = /** @type {(inputs: Chapters_Page_TitleInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Chapitres — ${i?.title}`)
};

/**
* | output |
* | --- |
* | "Chapters — {title}" |
*
* @param {Chapters_Page_TitleInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const chapters_page_title = /** @type {((inputs: Chapters_Page_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Chapters_Page_TitleInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_chapters_page_title(inputs)
	if (locale === "ru") return ru_chapters_page_title(inputs)
	if (locale === "id") return id_chapters_page_title(inputs)
	if (locale === "pt") return pt_chapters_page_title(inputs)
	return fr_chapters_page_title(inputs)
});