decord/source/270__isNativeReflectConstruct.js

61 lines
1.6 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 270
// Function ID: 3382
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 201]
2026-07-20 16:05:17 +00:00
// Module 270 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import _classCallCheck from "_classCallCheck";
import _defineProperties from "_defineProperties";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let _classCallCheck = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return _classCallCheck;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
export default ((arg0) => {
2026-07-20 16:05:17 +00:00
class CustomEvent {
constructor(arg0, arg1) {
self = this;
tmp = CustomEvent(this, CustomEvent);
items = [, ];
items[0] = arg0;
items[1] = arg1;
2026-07-23 10:11:24 +00:00
obj = outer1_3(CustomEvent);
tmp2 = outer1_2;
if (outer1_5()) {
2026-07-20 16:05:17 +00:00
tmp4 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp5 = outer1_3;
constructResult = Reflect.construct(obj, items, outer1_3(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
constructResult = obj.apply(self, items);
}
tmp2Result = tmp2(self, constructResult);
detail = undefined;
if (null != arg1) {
detail = arg1.detail;
}
tmp2Result._detail = detail;
return tmp2Result;
}
}
callback2(CustomEvent, arg0);
2026-07-23 10:11:24 +00:00
let items = [
2026-07-20 16:05:17 +00:00
{
key: "detail",
get() {
return this._detail;
}
}
];
return callback(CustomEvent, items);
2026-07-23 10:11:24 +00:00
})(require("Event"));