50 lines
2.1 KiB
React
50 lines
2.1 KiB
React
/* Metro module 834; source: unknown; dependencies: [830, 835] */
|
|
function _fun9051(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:961:6, offset: 0x00d5bf57, size: 104 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const closure = function(a0) {
|
|
var r2;
|
|
var r0;
|
|
var property = a0.__SENTRY__;
|
|
r2 = property || ({});
|
|
a0.__SENTRY__ = r2;
|
|
r2.version = r2.version || require(dependencyMap[1]).SDK_VERSION;
|
|
property = require(dependencyMap[1]).SDK_VERSION;
|
|
r0 = r2[require(dependencyMap[1]).SDK_VERSION] || ({});
|
|
r2[property] = r0;
|
|
return r0;
|
|
};
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.getGlobalSingleton = getGlobalSingleton;
|
|
exports.getMainCarrier = function() {
|
|
getSentryCarrier(require(dependencyMap[0]).GLOBAL_OBJ);
|
|
return require(dependencyMap[0]).GLOBAL_OBJ;
|
|
};
|
|
exports.getSentryCarrier = closure;
|
|
}
|
|
|
|
function getGlobalSingleton(a0, a1) { // fn#9053, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:961:275, offset: 0x00d5c03e, size: 156 bytes, params: 3, frame: 15
|
|
var value;
|
|
const GLOBAL_OBJ = (require(830) /* metro dependency 830 */).GLOBAL_OBJ;
|
|
let r0 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : GLOBAL_OBJ;
|
|
const r1 = r0.__SENTRY__ || ({});
|
|
r0.__SENTRY__ = r1;
|
|
const SDK_VERSION = (require(835) /* metro dependency 835 */).SDK_VERSION;
|
|
const SDK_VERSION2 = (require(835) /* metro dependency 835 */).SDK_VERSION;
|
|
let property = r1[SDK_VERSION2];
|
|
const r2 = property || ({});
|
|
r1[SDK_VERSION] = r2;
|
|
property = r2[a0];
|
|
if (property) {
|
|
r0 = property;
|
|
} else {
|
|
value = a1();
|
|
r2[a0] = value;
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|