decord/source/13712_supportedValuesOf.js
2026-08-24 06:08:38 +00:00

33 lines
1.4 KiB
JavaScript

// Module ID: 13712
// Function ID: 13713
// Name: supportedValuesOf
// Dependencies: [13713, 13715, 13717, 13719, 13721, 13723]
// Module 13712 (supportedValuesOf)
import getSupportedCalendars from "getSupportedCalendars" /* 13713 */;
import getSupportedCollations from "getSupportedCollations" /* 13715 */;
import isSupportedCurrency from "isSupportedCurrency" /* 13717 */;
import getSupportedNumberingSystems from "getSupportedNumberingSystems" /* 13719 */;
import getSupportedTimeZones from "getSupportedTimeZones" /* 13721 */;
import getSupportedUnits from "getSupportedUnits" /* 13723 */;
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);
}
};