89 lines
5.1 KiB
JavaScript
89 lines
5.1 KiB
JavaScript
/* Metro module 1197; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 27, 1010, 1005] */
|
|
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as ReactNativeLibrariesModule from './module-01005-ReactNativeLibraries.js'; /* Metro dependency 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 UIManager = ReactNativeModule.UIManager;
|
|
const hasViewManagerConfig = UIManager.hasViewManagerConfig;
|
|
const r3 = hasViewManagerConfig ? UIManager.hasViewManagerConfig('RNSentryOnDrawReporter') : !!hasViewManagerConfig;
|
|
const Component = ReactModule.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 RNSentryOnDrawReporterNoop2 = RNSentryOnDrawReporterNoop;
|
|
Inherits(RNSentryOnDrawReporterNoop2, a0);
|
|
return CreateClass(RNSentryOnDrawReporterNoop2, [{key: 'render', value: value_13297}]);
|
|
function RNSentryOnDrawReporterNoop() { // fn#13296, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1324:511, offset: 0x00de700a, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_2(this, RNSentryOnDrawReporterNoop);
|
|
const value3 = env1_5(RNSentryOnDrawReporterNoop);
|
|
return env1_4(this, _isNativeReflectConstruct_13292() ? global.Reflect.construct(value3, arguments,
|
|
env1_5(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
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)]);
|
|
}
|
|
|
|
}
|
|
|
|
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 = (ReactNativeLibrariesModule).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;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun13291, 1197, [6, 7, 15, 17, 18, 31, 27, 1010,
|
|
1005]) /* metro module 1197, dependencies: [6, 7, 15, 17, 18, 31, 27, 1010, 1005] */;
|