decord/source/7293__isNativeReflectConstruct.js

57 lines
1.5 KiB
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 7293
2026-07-24 07:16:23 +00:00
// Function ID: 58875
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [7, 6, 15, 17, 18, 162]
// Module 7293 (_isNativeReflectConstruct)
import _defineProperties from "_defineProperties";
import _classCallCheck from "_classCallCheck";
import "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
import _wrapNativeSuper from "_wrapNativeSuper";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
export const SentryError = ((arg0) => {
2026-07-20 16:05:17 +00:00
class SentryError {
constructor(arg0) {
self = this;
str = "warn";
if (arguments.length > 1) {
str = "warn";
if (undefined !== arguments[1]) {
str = arguments[1];
}
}
2026-07-23 10:11:24 +00:00
tmp = outer1_1(self, SentryError);
2026-07-20 16:05:17 +00:00
items = [];
items[0] = arg0;
2026-07-23 10:11:24 +00:00
obj = outer1_3(SentryError);
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);
tmp2Result.message = arg0;
tmp2Result.logLevel = str;
return tmp2Result;
}
}
2026-07-23 10:11:24 +00:00
_inherits(SentryError, arg0);
return SentryError(SentryError);
})(_wrapNativeSuper(Error));