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

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

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

const en_home_chapter_badge = /** @type {(inputs: Home_Chapter_BadgeInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`ch.${i?.n}`)
};

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

const id_home_chapter_badge = /** @type {(inputs: Home_Chapter_BadgeInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`bab.${i?.n}`)
};

const pt_home_chapter_badge = /** @type {(inputs: Home_Chapter_BadgeInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`cap.${i?.n}`)
};

const fr_home_chapter_badge = /** @type {(inputs: Home_Chapter_BadgeInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`ch.${i?.n}`)
};

/**
* | output |
* | --- |
* | "ch.{n}" |
*
* @param {Home_Chapter_BadgeInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const home_chapter_badge = /** @type {((inputs: Home_Chapter_BadgeInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Home_Chapter_BadgeInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_home_chapter_badge(inputs)
	if (locale === "ru") return ru_home_chapter_badge(inputs)
	if (locale === "id") return id_home_chapter_badge(inputs)
	if (locale === "pt") return pt_home_chapter_badge(inputs)
	return fr_home_chapter_badge(inputs)
});