36 lines
2.3 KiB
JavaScript
36 lines
2.3 KiB
JavaScript
/* Metro module 860; source: unknown; dependencies: [859, 830] */
|
|
import * as GLOBAL_OBJModule from './module-00830-GLOBAL_OBJ.js'; /* Metro dependency 830 */
|
|
import * as Module00859Module from './module-00859.js'; /* Metro dependency 859 */
|
|
|
|
function _fun9271(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9271, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:987:6, offset: 0x00d61a1e, size: 93 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const instrumentUnhandledRejection = function() {
|
|
env0_2 = require(dependencyMap[1]).GLOBAL_OBJ.onunhandledrejection;
|
|
require(dependencyMap[1]).GLOBAL_OBJ.onunhandledrejection = _fun9273;
|
|
require(dependencyMap[1]).GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;
|
|
};
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.addGlobalUnhandledRejectionInstrumentationHandler = function(a0) {
|
|
require(dependencyMap[0]).addHandler('unhandledrejection', a0);
|
|
require(dependencyMap[0]).maybeInstrument('unhandledrejection', instrumentUnhandledRejection);
|
|
};
|
|
function instrumentUnhandledRejection() { // fn#9272, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:987:104, offset: 0x00d61a7b, size: 100 bytes, params: 1, frame: 14
|
|
const GLOBAL_OBJ = (GLOBAL_OBJModule).GLOBAL_OBJ;
|
|
GLOBAL_OBJ.onunhandledrejection = GLOBAL_OBJ.onunhandledrejection;
|
|
GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;
|
|
function onunhandledrejection(a0) { // fn#9273, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:987:226, owner: instrumentUnhandledRejection.onunhandledrejection, offset: 0x00d61adf, size: 81 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__;
|
|
(Module00859Module).triggerHandlers('unhandledrejection', a0);
|
|
const binding = env1_2;
|
|
return binding ? env1_2.apply(this, arguments) : !binding;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun9271, 860, [859, 830]) /* metro module 860, dependencies: [859, 830] */;
|