2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 164
|
|
|
|
|
// Function ID: 2476
|
|
|
|
|
// Name: _construct
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [165, 19]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
// Module 164 (_construct)
|
|
|
|
|
|
|
|
|
|
export default function _construct(bind) {
|
2026-07-23 10:11:24 +00:00
|
|
|
if (require(165) /* _isNativeReflectConstruct */()) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const _Reflect = Reflect;
|
|
|
|
|
return construct(...arguments);
|
|
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
const items = [null];
|
2026-07-20 16:05:17 +00:00
|
|
|
const push = items.push;
|
|
|
|
|
push.apply(items, arg1);
|
|
|
|
|
bind = bind.bind;
|
|
|
|
|
let applyResult1 = bind.apply(bind, items);
|
|
|
|
|
const prototype = applyResult1.prototype;
|
|
|
|
|
applyResult1 = new applyResult1();
|
|
|
|
|
if (arg2) {
|
2026-07-23 10:11:24 +00:00
|
|
|
require(19) /* _setPrototypeOf */(applyResult1, arg2.prototype);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return applyResult1;
|
|
|
|
|
}
|
|
|
|
|
};
|