Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
92 lines
2.7 KiB
JavaScript
92 lines
2.7 KiB
JavaScript
// Module ID: 1054
|
|
// Function ID: 1055
|
|
// Dependencies: [41, 42, 93, 95, 98, 19, 17, 867, 862]
|
|
// Exports: getRNSentryOnDrawReporter
|
|
|
|
// Module 1054
|
|
import _classCallCheck from "_classCallCheck" /* 41 */;
|
|
import _createClass from "_createClass" /* 42 */;
|
|
import c3 from "_possibleConstructorReturn" /* 93 */;
|
|
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
|
|
import _inherits from "_inherits" /* 98 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
const RNSentryOnDrawReporterNoop = 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) {
|
|
}
|
|
}
|
|
get_ActivityIndicator = fn(17);
|
|
({ UIManager, View: metroRequire } = get_ActivityIndicator);
|
|
const RNSentryOnDrawReporter = "RNSentryOnDrawReporter";
|
|
const tmp6 = UIManager.hasViewManagerConfig && UIManager.hasViewManagerConfig("RNSentryOnDrawReporter");
|
|
let closure_10 = tmp6;
|
|
class RNSentryOnDrawReporterNoop {
|
|
constructor() {
|
|
self = this;
|
|
tmp = c2(this, RNSentryOnDrawReporterNoop);
|
|
tmp2 = closure_4;
|
|
obj = closure_4(RNSentryOnDrawReporterNoop);
|
|
tmp3 = closure_3;
|
|
if (closure_7()) {
|
|
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);
|
|
}
|
|
}
|
|
_inherits(RNSentryOnDrawReporterNoop, noop.Component);
|
|
const entry = {
|
|
key: "render",
|
|
value: function render() {
|
|
return <timestampProducer {......Object.assign({}, this.props)} />;
|
|
}
|
|
};
|
|
const items = [entry];
|
|
let closure_11 = _createClass(RNSentryOnDrawReporterNoop, items);
|
|
|
|
export const nativeComponentExists = tmp6;
|
|
export const getRNSentryOnDrawReporter = () => {
|
|
if (result) {
|
|
return result;
|
|
} else {
|
|
if (!obj.isExpoGo()) {
|
|
if (closure_10) {
|
|
const ReactNative = tmp(862).ReactNativeLibraries.ReactNative;
|
|
let prop;
|
|
if (null !== ReactNative) {
|
|
if (undefined !== ReactNative) {
|
|
prop = ReactNative.requireNativeComponent;
|
|
}
|
|
}
|
|
if (prop) {
|
|
const ReactNative2 = tmp(862).ReactNativeLibraries.ReactNative;
|
|
result = ReactNative2.requireNativeComponent(RNSentryOnDrawReporter);
|
|
}
|
|
}
|
|
}
|
|
result = closure_11;
|
|
obj = RNSentryOnDrawReporterNoop(867);
|
|
}
|
|
};
|