26 lines
910 B
JavaScript
26 lines
910 B
JavaScript
// Module ID: 13689
|
|
// Function ID: 13690
|
|
// Name: __exportStarResult31
|
|
// Dependencies: [13638, 13645, 13672]
|
|
|
|
// Module 13689 (__exportStarResult31)
|
|
import __exportStarResult32 from "__exportStarResult32" /* 13638 */;
|
|
import __exportStarResult4 from "__exportStarResult4" /* 13645 */;
|
|
import match from "match" /* 13672 */;
|
|
|
|
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);
|
|
}
|
|
};
|