decord/source/8484__isNativeReflectConstruct.js

82 lines
2.3 KiB
JavaScript
Raw Normal View History

2026-08-04 08:36:32 +00:00
// Module ID: 8484
// Function ID: 8485
2026-07-29 08:29:29 +00:00
// Name: _isNativeReflectConstruct
2026-08-05 07:35:12 +00:00
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 8485, 8486, 8433]
2026-07-29 08:29:29 +00:00
2026-08-04 08:36:32 +00:00
// Module 8484 (_isNativeReflectConstruct)
2026-07-29 08:29:29 +00:00
import _classCallCheck from "_classCallCheck";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import importDefaultResult from "_createClass";
2026-08-05 07:35:12 +00:00
import "noop";
import { jsx } from "jsxProd";
2026-07-29 08:29:29 +00:00
2026-08-05 07:35:12 +00:00
const LinearGradient = importDefault;
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);
}
let closure_0 = !callResult;
function _isNativeReflectConstruct() {
return closure_0;
}
return _isNativeReflectConstruct();
} catch (err) {
}
}
2026-08-05 07:35:12 +00:00
class LinearGradient {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
2026-08-05 07:35:12 +00:00
tmp = _isNativeReflectConstruct(this, LinearGradient);
2026-07-29 08:29:29 +00:00
tmp2 = __esModule;
2026-08-05 07:35:12 +00:00
obj = __esModule(LinearGradient);
2026-07-29 08:29:29 +00:00
tmp3 = __esModule;
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);
}
}
2026-08-05 07:35:12 +00:00
require("_inherits")(LinearGradient, require("_isNativeReflectConstruct"));
const items = [
{
key: "render",
value: function render() {
const self = this;
const props = this.props;
let obj = { x1: props.x1, y1: props.y1, x2: props.x2, y2: props.y2 };
obj = {
ref(arg0) {
return self.refMethod(arg0);
}
};
const merged = Object.assign(obj);
const merged1 = Object.assign(self(8486)(props, this));
return jsx(self(8485), {
ref(arg0) {
return self.refMethod(arg0);
}
});
}
2026-07-29 08:29:29 +00:00
}
2026-08-05 07:35:12 +00:00
];
const importDefaultResultResult = importDefaultResult(LinearGradient, items);
importDefaultResultResult.displayName = "LinearGradient";
importDefaultResultResult.defaultProps = { x1: "0%", y1: "0%", x2: "100%", y2: "0%" };
2026-07-29 08:29:29 +00:00
export default importDefaultResultResult;