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

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

/** @typedef {{ current: NonNullable<unknown>, total: NonNullable<unknown> }} Books_Reading_ProgressInputs */

const en_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Ch.${i?.current} / ${i?.total}`)
};

const ru_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Гл.${i?.current} / ${i?.total}`)
};

const id_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Bab.${i?.current} / ${i?.total}`)
};

const pt_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Cap.${i?.current} / ${i?.total}`)
};

const fr_books_reading_progress = /** @type {(inputs: Books_Reading_ProgressInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Ch.${i?.current} / ${i?.total}`)
};

/**
* | output |
* | --- |
* | "Ch.{current} / {total}" |
*
* @param {Books_Reading_ProgressInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const books_reading_progress = /** @type {((inputs: Books_Reading_ProgressInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Books_Reading_ProgressInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_books_reading_progress(inputs)
	if (locale === "ru") return ru_books_reading_progress(inputs)
	if (locale === "id") return id_books_reading_progress(inputs)
	if (locale === "pt") return pt_books_reading_progress(inputs)
	return fr_books_reading_progress(inputs)
});