decord/source/13820_supportedValuesOf.js
2026-08-26 06:04:24 +00:00

33 lines
1.4 KiB
JavaScript

// Module ID: 13820
// Function ID: 13821
// Name: supportedValuesOf
// Dependencies: [13821, 13823, 13825, 13827, 13829, 13831]
// Module 13820 (supportedValuesOf)
import getSupportedCalendars from "getSupportedCalendars" /* 13821 */;
import getSupportedCollations from "getSupportedCollations" /* 13823 */;
import isSupportedCurrency from "isSupportedCurrency" /* 13825 */;
import getSupportedNumberingSystems from "getSupportedNumberingSystems" /* 13827 */;
import getSupportedTimeZones from "getSupportedTimeZones" /* 13829 */;
import getSupportedUnits from "getSupportedUnits" /* 13831 */;
require = arg1;
const dependencyMap = arg6;
arg5.supportedValuesOf = function supportedValuesOf(collation, locale) {
if ("calendar" === collation) {
return getSupportedCalendars.getSupportedCalendars(locale);
} else if ("collation" === collation) {
return getSupportedCollations.getSupportedCollations(locale);
} else if ("currency" === collation) {
return isSupportedCurrency.getSupportedCurrencies(locale);
} else if ("numberingSystem" === collation) {
return getSupportedNumberingSystems.getSupportedNumberingSystems(locale);
} else if ("timeZone" === collation) {
return getSupportedTimeZones.getSupportedTimeZones(locale);
} else if ("unit" === collation) {
return getSupportedUnits.getSupportedUnits(locale);
} else {
const _RangeError = RangeError;
throw RangeError("Invalid key: " + collation);
}
};