decord/source/13724___exportStarResult31.js
2026-08-25 06:04:03 +00:00

26 lines
910 B
JavaScript

// Module ID: 13724
// Function ID: 13725
// Name: __exportStarResult31
// Dependencies: [13673, 13680, 13707]
// Module 13724 (__exportStarResult31)
import __exportStarResult32 from "__exportStarResult32" /* 13673 */;
import __exportStarResult4 from "__exportStarResult4" /* 13680 */;
import match from "match" /* 13707 */;
require = arg1;
const dependencyMap = arg6;
arg5.SupportedLocales = function SupportedLocales(arg0, arg1, arg2) {
let str = "best fit";
if (undefined !== arg2) {
const ToObjectResult = __exportStarResult32.ToObject(arg2);
str = __exportStarResult4.GetOption(ToObjectResult, "localeMatcher", "string", ["lookup", "best fit"], "best fit");
}
if ("best fit" === str) {
const _Array2 = Array;
return match.LookupSupportedLocales(Array.from(arg0), arg1);
} else {
const _Array = Array;
return match.LookupSupportedLocales(Array.from(arg0), arg1);
}
};