decord/source/__polyfill/04xxx/module_4808.js
2026-09-03 10:05:34 +00:00

44 lines
1 KiB
JavaScript

// Module ID: 4808
// Function ID: 4809
// Dependencies: [539, 548, 538]
// Module 4808
import _mod538 from "module_538" /* 538 */;
import _mod539 from "module_539" /* 539 */;
import callBindBasic from "callBindBasic" /* 548 */;
const obj = {};
try {
obj.__proto__ = null;
let _module = _mod539;
if (_module) {
const _Object = Object;
_module = _mod539(Object.prototype, "__proto__");
}
let tmp6 = !("toString" in obj);
if (tmp6) {
let setDunder = _module;
if (setDunder) {
setDunder = typeof _module.set === "function";
}
if (setDunder) {
const items = [_module.set];
setDunder = callBindBasic(items);
}
if (!setDunder) {
setDunder = function setDunder(arg0, arg1) {
if (null == arg0) {
const tmp6 = new _mod538("set Object.prototype.__proto__ called on null or undefined");
throw tmp6;
} else {
arg0.__proto__ = arg1;
return arg1;
}
};
}
tmp6 = setDunder;
}
module.exports = tmp6;
} catch (tmp2) {
throw tmp2;
}