decord/source/__polyfill/14xxx/module_14650.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

98 lines
2.7 KiB
JavaScript

// Module ID: 14650
// Function ID: 14651
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 14651, 14654, 5005]
// Exports: default
// Module 14650
import _possibleConstructorReturnDefault from "_possibleConstructorReturn" /* 93 */;
import _classCallCheck from "_classCallCheck" /* 41 */;
import _createClass from "_createClass" /* 42 */;
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
import _inherits from "_inherits" /* 98 */;
import noop from "module_19" /* 19 */;
const ReanimatedScreenWrapper = fn;
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) {
}
}
_possibleConstructorReturnDefault;
const jsx = fn(21).jsx;
class ReanimatedScreenWrapper {
constructor() {
self = this;
items = [...arguments];
closure_0 = undefined;
tmp = closure_3(this, ReanimatedScreenWrapper);
items1 = [...items];
tmp2 = hasOwnProperty;
obj = hasOwnProperty(ReanimatedScreenWrapper);
tmp3 = closure_4;
if (closure_7()) {
tmp5 = globalThis;
_Reflect = Reflect;
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
} else {
constructResult = obj.apply(self, items1);
}
tmp3Result = tmp3(self, constructResult);
closure_0 = tmp3Result;
tmp3Result.ref = null;
tmp3Result.setRef = (ref) => {
props.ref = ref;
props = props.props;
const onComponentRef = props.onComponentRef;
if (onComponentRef != null) {
onComponentRef(ref);
}
};
return tmp3Result;
}
}
_inherits(ReanimatedScreenWrapper, noop.Component);
const entry = {
key: "setNativeProps",
value: function setNativeProps(arg0) {
if (this.ref != null) {
ref.setNativeProps(arg0);
}
}
};
let items = [
entry,
{
key: "render",
value: function render() {
const self = this;
if (this.props.isNativeStack) {
let tmpResult = tmp(14651);
} else {
tmpResult = tmp(14654);
}
const obj = {};
const merged = Object.assign(self.props);
obj.ref = self.setRef;
return <tmpResult />;
}
}
];
const value = _createClass(ReanimatedScreenWrapper, items);
export default function ReanimatedScreenProvider(children) {
return jsx(ReanimatedScreenWrapper(5005).ScreenContext.Provider, { value, children: children.children });
};