decord/source/4710_Call.js

28 lines
851 B
JavaScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 4710
// Function ID: 4711
2026-08-24 06:08:38 +00:00
// Name: Call
2026-08-25 06:04:03 +00:00
// Dependencies: [540, 574, 4688, 541]
2026-08-24 06:08:38 +00:00
2026-08-25 06:04:03 +00:00
// Module 4710 (Call)
2026-08-24 06:08:38 +00:00
import getEvalledConstructor from "getEvalledConstructor" /* 540 */;
import _mod541 from "module_541" /* 541 */;
import callBoundIntrinsic from "callBoundIntrinsic" /* 574 */;
2026-08-25 06:04:03 +00:00
import getEvalledConstructor2 from "getEvalledConstructor" /* 4688 */;
2026-08-24 06:08:38 +00:00
let tmp = getEvalledConstructor("%Reflect.apply%", true);
if (!tmp) {
tmp = callBoundIntrinsic("Function.prototype.apply");
}
let closure_2 = tmp;
export default function Call(arg0, arg1) {
const tmp = arguments.length > 2 ? arguments[2] : [];
if (getEvalledConstructor2(tmp)) {
return callback(arg0, arg1, tmp);
} else {
const tmp6 = new _mod541("Assertion failed: optional `argumentsList`, if provided, must be a List");
throw tmp6;
}
const tmp2 = require;
};