decord/source/6641__isNativeReflectConstruct.js

92 lines
2.6 KiB
JavaScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 6641
// Function ID: 6642
2026-07-29 08:29:29 +00:00
// Name: _isNativeReflectConstruct
2026-08-24 06:08:38 +00:00
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 6622, 6642, 6631]
2026-07-29 08:29:29 +00:00
2026-08-24 06:08:38 +00:00
// Module 6641 (_isNativeReflectConstruct)
import noopAll from "noop" /* 19 */;
import _inheritsDefault from "_inherits" /* 98 */;
import _isNativeReflectConstructDefault from "_isNativeReflectConstruct" /* 6631 */;
import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 6642 */;
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 */;
2026-07-29 08:29:29 +00:00
2026-08-13 07:00:46 +00:00
const Ellipse = arg1;
2026-07-29 08:29:29 +00:00
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);
}
2026-08-24 06:08:38 +00:00
closure_0 = !callResult;
_isNativeReflectConstruct = function _isNativeReflectConstruct() {
2026-07-29 08:29:29 +00:00
return closure_0;
2026-08-24 06:08:38 +00:00
};
2026-07-29 08:29:29 +00:00
return _isNativeReflectConstruct();
} catch (err) {
}
}
2026-08-24 06:08:38 +00:00
noopAll;
2026-08-13 07:00:46 +00:00
class Ellipse {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
2026-08-24 06:08:38 +00:00
tmp = closure_3(this, Ellipse);
tmp2 = closure_5;
obj = closure_5(Ellipse);
tmp3 = closure_4;
2026-07-29 08:29:29 +00:00
if (_isNativeReflectConstruct()) {
2026-08-11 06:20:06 +00:00
tmp7 = globalThis;
2026-07-29 08:29:29 +00:00
_Reflect = Reflect;
2026-08-11 06:20:06 +00:00
tmp8 = arguments;
constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor);
2026-07-29 08:29:29 +00:00
} else {
2026-08-11 06:20:06 +00:00
tmp4 = arguments;
tmp5 = arguments;
constructResult = obj(...arguments);
2026-07-29 08:29:29 +00:00
}
2026-08-11 06:20:06 +00:00
return tmp3(self, constructResult);
2026-07-29 08:29:29 +00:00
}
}
2026-08-24 06:08:38 +00:00
_inheritsDefault(Ellipse, _isNativeReflectConstructDefault);
2026-08-11 06:20:06 +00:00
const items = [
2026-07-29 08:29:29 +00:00
{
key: "render",
value: function render() {
2026-08-11 06:20:06 +00:00
const self = this;
const props = this.props;
2026-08-12 06:57:52 +00:00
let obj = {};
2026-08-13 07:00:46 +00:00
({ cx, cy, rx, ry } = props);
2026-08-24 06:08:38 +00:00
const merged = Object.assign(self(6622).extract(this, props));
2026-08-13 07:00:46 +00:00
obj.cx = cx;
obj.cy = cy;
obj.rx = rx;
obj.ry = ry;
2026-08-11 06:20:06 +00:00
obj = {
ref(arg0) {
return self.refMethod(arg0);
}
};
2026-08-24 06:08:38 +00:00
const obj2 = self(6622);
2026-08-12 06:57:52 +00:00
const merged1 = Object.assign(obj);
2026-08-24 06:08:38 +00:00
return jsx(__INTERNAL_VIEW_CONFIGDefault, {
2026-08-11 06:20:06 +00:00
ref(arg0) {
return self.refMethod(arg0);
}
});
2026-07-29 08:29:29 +00:00
}
}
];
2026-08-13 07:00:46 +00:00
const importDefaultResultResult = importDefaultResult(Ellipse, items);
importDefaultResultResult.displayName = "Ellipse";
importDefaultResultResult.defaultProps = { cx: 0, cy: 0, rx: 0, ry: 0 };
2026-07-29 08:29:29 +00:00
export default importDefaultResultResult;