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

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

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

const en_book_detail_chapters = /** @type {(inputs: Book_Detail_ChaptersInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} Chapters`)
};

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

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

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

const fr_book_detail_chapters = /** @type {(inputs: Book_Detail_ChaptersInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} chapitres`)
};

/**
* | output |
* | --- |
* | "{n} Chapters" |
*
* @param {Book_Detail_ChaptersInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const book_detail_chapters = /** @type {((inputs: Book_Detail_ChaptersInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Book_Detail_ChaptersInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_book_detail_chapters(inputs)
	if (locale === "ru") return ru_book_detail_chapters(inputs)
	if (locale === "id") return id_book_detail_chapters(inputs)
	if (locale === "pt") return pt_book_detail_chapters(inputs)
	return fr_book_detail_chapters(inputs)
});