decord/source/8423__isNativeReflectConstruct.js

111 lines
3 KiB
JavaScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 8423
// Function ID: 8424
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, 8417, 8424, 8431, 8432, 8433]
2026-07-29 08:29:29 +00:00
2026-08-05 07:35:12 +00:00
// Module 8423 (_isNativeReflectConstruct)
2026-07-30 10:14:41 +00:00
import _classCallCheck from "_classCallCheck";
2026-07-29 08:29:29 +00:00
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import importDefaultResult from "_createClass";
2026-07-30 10:14:41 +00:00
import "noop";
import { jsx } from "jsxProd";
2026-07-29 08:29:29 +00:00
2026-08-05 07:35:12 +00:00
let closure_0 = 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);
}
let closure_0 = !callResult;
function _isNativeReflectConstruct() {
return closure_0;
}
return _isNativeReflectConstruct();
} catch (err) {
}
}
2026-08-05 07:35:12 +00:00
class G {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
items = [...arguments];
apply = undefined;
2026-07-30 10:14:41 +00:00
tmp = _isNativeReflectConstruct(this, apply);
2026-07-29 08:29:29 +00:00
items1 = [...items];
2026-08-05 07:35:12 +00:00
tmp2 = __esModule;
obj = __esModule(apply);
tmp3 = __esModule;
2026-07-29 08:29:29 +00:00
if (_isNativeReflectConstruct()) {
tmp5 = globalThis;
_Reflect = Reflect;
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
} else {
constructResult = obj.apply(self, items1);
}
tmp3Result = tmp3(self, constructResult);
apply = tmp3Result;
2026-07-30 10:14:41 +00:00
tmp3Result.setNativeProps = (matrix) => {
2026-07-31 08:44:05 +00:00
matrix = matrix.matrix;
let tmp = !matrix;
if (!matrix) {
tmp = outer1_1(outer1_2[7])(matrix);
2026-07-30 10:14:41 +00:00
}
if (tmp) {
matrix.matrix = tmp;
}
2026-08-05 07:35:12 +00:00
const root = _undefined.root;
if (root != null) {
root.setNativeProps(matrix);
2026-07-29 08:29:29 +00:00
}
};
return tmp3Result;
}
}
2026-08-05 07:35:12 +00:00
closure_0 = G;
require("_inherits")(G, require("_isNativeReflectConstruct"));
2026-07-29 08:29:29 +00:00
let items = [
{
key: "render",
value: function render() {
2026-08-05 07:35:12 +00:00
const self = this;
const props = this.props;
let obj = self(8424);
const propsAndStylesResult = obj.propsAndStyles(props);
const tmp5 = importDefault(8424)(propsAndStylesResult, this);
const obj2 = self(8431);
const tmp4 = importDefault;
if (typeof hasProps !== "function") {
HermesBuiltin.throwTypeError();
}
const keys = Object.keys();
if (keys !== undefined) {
let flag = true;
if (flag) {
tmp5.font = extractFontResult;
}
obj = { ref: null };
obj[0] = function ref(arg0) {
return self.refMethod(arg0);
};
const merged = Object.assign(tmp5);
obj.children = props.children;
return jsx(tmp4(8432), { ref: null });
}
flag = false;
2026-07-29 08:29:29 +00:00
}
}
];
2026-08-05 07:35:12 +00:00
const importDefaultResultResult = importDefaultResult(G, items);
importDefaultResultResult.displayName = "G";
function hasProps(arg0) {
}
2026-07-29 08:29:29 +00:00
export default importDefaultResultResult;