78 lines
3.8 KiB
React
78 lines
3.8 KiB
React
/* Metro module 1197; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 27, 1010, 1005] */
|
|
function _fun13291(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13291, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1324:6, offset: 0x00de6e5d, size: 267 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_4 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_5 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_6 = importDefault(18) /* metro dependency 18 */;
|
|
const value = importAll(31) /* metro dependency 31 */;
|
|
const value2 = require(27) /* metro dependency 27 */;
|
|
const UIManager = value2.UIManager;
|
|
const env0_8 = value2.View;
|
|
const hasViewManagerConfig = UIManager.hasViewManagerConfig;
|
|
const r3 = hasViewManagerConfig ? UIManager.hasViewManagerConfig('RNSentryOnDrawReporter') : !!hasViewManagerConfig;
|
|
const Component = value.Component;
|
|
const env0_11 = _fun13295(Component);
|
|
exports.nativeComponentExists = r3;
|
|
exports.getRNSentryOnDrawReporter = getRNSentryOnDrawReporter;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_13292() { // fn#13292, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1324:191, offset: 0x00de6f68, size: 94 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_13292_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun13295(a0) { // fn#13295, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1324:499, offset: 0x00de6fc6, size: 68 bytes, params: 2, frame: 15
|
|
const closure = RNSentryOnDrawReporterNoop;
|
|
env0_6(closure, a0);
|
|
return env0_3(closure, [{key: 'render', value: value_13297}]);
|
|
}
|
|
|
|
function getRNSentryOnDrawReporter() { // fn#13298, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1324:1002, offset: 0x00de70b1, size: 172 bytes, params: 1, frame: 14
|
|
var value2;
|
|
var moduleValue;
|
|
const ReactNativeLibraries = (require(1005) /* metro dependency 1005 */).ReactNativeLibraries;
|
|
if (!env0_9) {
|
|
value2 = undefined;
|
|
moduleValue = require(1010) /* metro dependency 1010 */;
|
|
env0_9 = moduleValue.isExpoGo() ? env0_11 : env0_10 && (ReactNativeLibraries.ReactNative === null || value2 === ReactNativeLibraries.ReactNative ? value2 : ReactNativeLibraries.ReactNative.requireNativeComponent) ? ReactNativeLibraries.ReactNative.requireNativeComponent('RNSentryOnDrawReporter') : env0_11;
|
|
}
|
|
return env0_9;
|
|
}
|
|
|
|
function value_13297() { // fn#13297, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1324:855, offset: 0x00de707b, size: 54 bytes, params: 1, frame: 16
|
|
const binding = env1_7;
|
|
const createElement = binding.createElement;
|
|
const Object = global.Object;
|
|
return Reflect.apply(createElement, binding, [View, Object.assign({}, this.props)]);
|
|
}
|
|
|