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

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

/** @typedef {{ speed: NonNullable<unknown> }} Profile_Playback_SpeedInputs */

const en_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Playback speed — ${i?.speed}x`)
};

const ru_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Скорость воспроизведения — ${i?.speed}x`)
};

const id_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Kecepatan pemutaran — ${i?.speed}x`)
};

const pt_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Velocidade de reprodução — ${i?.speed}x`)
};

const fr_profile_playback_speed = /** @type {(inputs: Profile_Playback_SpeedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Vitesse de lecture — ${i?.speed}x`)
};

/**
* | output |
* | --- |
* | "Playback speed — {speed}x" |
*
* @param {Profile_Playback_SpeedInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const profile_playback_speed = /** @type {((inputs: Profile_Playback_SpeedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Profile_Playback_SpeedInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_profile_playback_speed(inputs)
	if (locale === "ru") return ru_profile_playback_speed(inputs)
	if (locale === "id") return id_profile_playback_speed(inputs)
	if (locale === "pt") return pt_profile_playback_speed(inputs)
	return fr_profile_playback_speed(inputs)
});