31 lines
1.3 KiB
React
31 lines
1.3 KiB
React
/* Metro module 7370; source: unknown; dependencies: [7371] */
|
|
function _fun59353(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7548:6, offset: 0x016e8c4b, size: 82 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.GLOBAL_OBJ = global.globalThis;
|
|
exports.getGlobalSingleton = getGlobalSingleton_59354;
|
|
}
|
|
|
|
function getGlobalSingleton_59354(a0, a1, a2) { // fn#59354, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7548:132, offset: 0x016e8c9d, size: 114 bytes, params: 4, frame: 15
|
|
let value = a2;
|
|
let r0 = value || globalThis;
|
|
const r1 = r0.__SENTRY__ || ({});
|
|
r0.__SENTRY__ = r1;
|
|
const SDK_VERSION = (require(7371) /* metro dependency 7371 */).SDK_VERSION;
|
|
const SDK_VERSION2 = (require(7371) /* metro dependency 7371 */).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;
|
|
}
|
|
|