decord/source/__polyfill/14xxx/module_14424.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

46 lines
1.1 KiB
JavaScript

// Module ID: 14424
// Function ID: 14425
// Dependencies: [14411, 14389]
// Module 14424
import _mod14411 from "module_14411" /* 14411 */;
const re2 = /#|\.prototype\./;
function isForced(arg0, arg1) {
if (typeof fn === "function") {
const _String = String;
const str3 = String(arg0).replace(re2, ".");
const tmp5 = tmp[str3.toLowerCase(str3)];
let tmp7 = tmp5 === P;
if (!tmp7) {
if (tmp5 === N) {
tmp7 = tmp9;
} else {
let tmp11Result = dependencyMap;
if (_mod14411(arg1)) {
tmp11Result = tmp11(14389);
let tmp11ResultResult = tmp11Result(arg1);
} else {
tmp11ResultResult = arg1;
}
tmp11 = require;
}
}
return tmp7;
} else {
throw new TypeError("Trying to call a non-function");
}
}
const normalize = (arg0) => {
const str = String(arg0);
return String(arg0).replace(re2, ".").toLowerCase();
};
isForced.normalize = normalize;
const data = {};
isForced.data = data;
isForced.NATIVE = "N";
const N = "N";
isForced.POLYFILL = "P";
const P = "P";
export default isForced;