// Module ID: 160 // Function ID: 161 // Name: _construct // Dependencies: [161, 99] // Module 160 (_construct) import _mod161 from "module_161" /* 161 */; const _setPrototypeOf = tmp(99); export default function _construct(bind, arg1, arg2) { if (_mod161()) { const _Reflect = Reflect; const apply = construct.apply; if (typeof apply === "unknown") { let applyArgumentsResult = HermesBuiltin.applyArguments(null); } else { applyArgumentsResult = apply(null, arguments); } return applyArgumentsResult; } else { const items = [null]; const push = items.push; push.apply(items, arg1); bind = bind.bind; const tmp9 = new bind.apply(bind, items)(); if (arg2) { _setPrototypeOf(tmp9, arg2.prototype); } return tmp9; } };