decord/source/__polyfill/14xxx/module_14409.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

48 lines
1,003 B
JavaScript

// Module ID: 14409
// Function ID: 14410
// Dependencies: [14378, 14410, 14353, 14406]
// Module 14409
import _mod14378 from "module_14378" /* 14378 */;
export default (arg0, arg1, value, arg3) => {
let obj = arg3;
if (!arg3) {
obj = {};
}
let flag = obj.enumerable;
let name = arg1;
if (undefined !== obj.name) {
name = obj.name;
}
if (_mod14378(value)) {
tmp3(14410)(value, name, obj);
}
if (obj.global) {
if (flag) {
arg0[arg1] = value;
} else {
tmp3(14353)(arg1, value);
}
} else {
try {
if (obj.unsafe) {
if (arg0[arg1]) {
flag = true;
}
} else {
delete tmp[tmp2];
}
if (flag) {
arg0[arg1] = value;
} else {
const obj2 = { value, enumerable: false, configurable: !obj.nonConfigurable, writable: !obj.nonWritable };
tmp3(14406).f(arg0, arg1, obj2);
const tmp3Result = tmp3(14406);
}
} catch (err) {
}
}
return arg0;
};