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

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

/** @typedef {{ username: NonNullable<unknown> }} Home_Via_ReaderInputs */

const en_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`via ${i?.username}`)
};

const ru_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`от ${i?.username}`)
};

const id_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`via ${i?.username}`)
};

const pt_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`via ${i?.username}`)
};

const fr_home_via_reader = /** @type {(inputs: Home_Via_ReaderInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`via ${i?.username}`)
};

/**
* | output |
* | --- |
* | "via {username}" |
*
* @param {Home_Via_ReaderInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const home_via_reader = /** @type {((inputs: Home_Via_ReaderInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Home_Via_ReaderInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_home_via_reader(inputs)
	if (locale === "ru") return ru_home_via_reader(inputs)
	if (locale === "id") return id_home_via_reader(inputs)
	if (locale === "pt") return pt_home_via_reader(inputs)
	return fr_home_via_reader(inputs)
});