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

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

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

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

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

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

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

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

/**
* | output |
* | --- |
* | "Chapter {n}" |
*
* @param {Player_Chapter_NInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const player_chapter_n = /** @type {((inputs: Player_Chapter_NInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Player_Chapter_NInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_player_chapter_n(inputs)
	if (locale === "ru") return ru_player_chapter_n(inputs)
	if (locale === "id") return id_player_chapter_n(inputs)
	if (locale === "pt") return pt_player_chapter_n(inputs)
	return fr_player_chapter_n(inputs)
});