decord/source/6691__isNativeReflectConstruct.js

87 lines
2.4 KiB
JavaScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 6691
// Function ID: 6692
// Name: _isNativeReflectConstruct
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 6622, 6692, 6631]
// Module 6691 (_isNativeReflectConstruct)
import noopAll from "noop" /* 19 */;
import _inheritsDefault from "_inherits" /* 98 */;
import _isNativeReflectConstructDefault from "_isNativeReflectConstruct" /* 6631 */;
import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 6692 */;
import closure_3 from "_classCallCheck" /* 41 */;
import closure_4 from "_possibleConstructorReturn" /* 93 */;
import closure_5 from "_getPrototypeOf" /* 95 */;
import importDefaultResult from "_createClass" /* 42 */;
import { jsx } from "jsxProd" /* 21 */;
const Path = arg1;
function _isNativeReflectConstruct() {
try {
const _Boolean = Boolean;
const call = valueOf.call;
const _Reflect = Reflect;
const _Boolean2 = Boolean;
if (typeof call === "unknown") {
let callResult = valueOf();
} else {
callResult = call(constructResult);
}
closure_0 = !callResult;
_isNativeReflectConstruct = function _isNativeReflectConstruct() {
return closure_0;
};
return _isNativeReflectConstruct();
} catch (err) {
}
}
noopAll;
class Path {
constructor() {
self = this;
tmp = closure_3(this, Path);
tmp2 = closure_5;
obj = closure_5(Path);
tmp3 = closure_4;
if (_isNativeReflectConstruct()) {
tmp7 = globalThis;
_Reflect = Reflect;
tmp8 = arguments;
constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor);
} else {
tmp4 = arguments;
tmp5 = arguments;
constructResult = obj(...arguments);
}
return tmp3(self, constructResult);
}
}
_inheritsDefault(Path, _isNativeReflectConstructDefault);
const items = [
{
key: "render",
value: function render() {
const self = this;
const props = this.props;
let obj = {};
const merged = Object.assign(self(6622).extract(this, props));
obj.d = props.d;
obj = {
ref(arg0) {
return self.refMethod(arg0);
}
};
const obj2 = self(6622);
const merged1 = Object.assign(obj);
return jsx(__INTERNAL_VIEW_CONFIGDefault, {
ref(arg0) {
return self.refMethod(arg0);
}
});
}
}
];
const importDefaultResultResult = importDefaultResult(Path, items);
importDefaultResultResult.displayName = "Path";
export default importDefaultResultResult;