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

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

/** @typedef {{ n: NonNullable<unknown> }} Reader_Chapter_NInputs */

const en_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Chapter ${i?.n}`)
};

const ru_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Глава ${i?.n}`)
};

const id_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Bab ${i?.n}`)
};

const pt_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Capítulo ${i?.n}`)
};

const fr_reader_chapter_n = /** @type {(inputs: Reader_Chapter_NInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Chapitre ${i?.n}`)
};

/**
* | output |
* | --- |
* | "Chapter {n}" |
*
* @param {Reader_Chapter_NInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const reader_chapter_n = /** @type {((inputs: Reader_Chapter_NInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Reader_Chapter_NInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_reader_chapter_n(inputs)
	if (locale === "ru") return ru_reader_chapter_n(inputs)
	if (locale === "id") return id_reader_chapter_n(inputs)
	if (locale === "pt") return pt_reader_chapter_n(inputs)
	return fr_reader_chapter_n(inputs)
});