decord/source/8158__isNativeReflectConstruct.js

70 lines
1.8 KiB
JavaScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 8158
// Function ID: 64492
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-24 07:16:23 +00:00
// Dependencies: [6, 7, 15, 17, 18, 31]
2026-07-20 16:05:17 +00:00
2026-07-24 07:16:23 +00:00
// Module 8158 (_isNativeReflectConstruct)
2026-07-22 07:54:56 +00:00
import _classCallCheck from "_classCallCheck";
2026-07-24 07:16:23 +00:00
import _defineProperties from "_defineProperties";
2026-07-23 10:11:24 +00:00
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
2026-07-21 22:01:30 +00:00
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-24 07:16:23 +00:00
let _classCallCheck = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-24 07:16:23 +00:00
return _classCallCheck;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
const tmp2 = ((Component) => {
2026-07-24 07:16:23 +00:00
class Stop {
2026-07-23 10:11:24 +00:00
constructor() {
self = this;
2026-07-24 07:16:23 +00:00
tmp = Stop(this, apply);
2026-07-23 10:11:24 +00:00
length = arguments.length;
array = new Array(length);
for (let num = 0; num < length; num = num + 1) {
array[num] = arguments[num];
}
items = [];
combined = items.concat(array);
obj = outer1_3(apply);
tmp3 = outer1_2;
if (outer1_5()) {
if (!combined) {
combined = [];
}
tmp5 = outer1_3;
constructResult = Reflect.construct(obj, combined, outer1_3(self).constructor);
} else {
constructResult = obj.apply(self, combined);
}
tmp3Result = tmp3(self, constructResult);
apply = tmp3Result;
2026-07-24 07:16:23 +00:00
tmp3Result.setNativeProps = () => {
const parent = tmp3Result.props.parent;
if (parent) {
parent.forceUpdate();
2026-07-23 10:11:24 +00:00
}
};
return tmp3Result;
}
}
2026-07-24 07:16:23 +00:00
callback2(Stop, Component);
let items = [
{
key: "render",
value: function render() {
return null;
}
}
];
return callback(Stop, items);
2026-07-23 10:11:24 +00:00
})(require("result").Component);
2026-07-24 07:16:23 +00:00
tmp2.displayName = "Stop";
2026-07-20 16:05:17 +00:00
2026-07-21 06:55:02 +00:00
export default tmp2;