35 lines
1.7 KiB
React
35 lines
1.7 KiB
React
/* Metro module 1127; source: unknown; dependencies: [1128, 826] */
|
|
function _fun12591(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#12591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1254:6, offset: 0x00dcfda0, size: 66 bytes, params: 8, frame: 16
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.getDebugMetadata = getDebugMetadata;
|
|
}
|
|
|
|
function getDebugMetadata() { // fn#12592, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1254:111, offset: 0x00dcfde2, size: 254 bytes, params: 1, frame: 17
|
|
var _sentryDebugIds;
|
|
var value2;
|
|
var property;
|
|
const DEFAULT_BUNDLE_NAME = (require(1128) /* metro dependency 1128 */).DEFAULT_BUNDLE_NAME;
|
|
if (DEFAULT_BUNDLE_NAME) {
|
|
_sentryDebugIds = (require(826) /* metro dependency 826 */).GLOBAL_OBJ._sentryDebugIds;
|
|
if (_sentryDebugIds) {
|
|
value2 = global.Object.keys(_sentryDebugIds);
|
|
if (value2.length) {
|
|
if (value2.length > 1) {
|
|
(require(826) /* metro dependency 826 */).debug.warn('[Profiling] Multiple debug images found, but only one one bundle is supported. Using the first one...');
|
|
return [];
|
|
}
|
|
if (value2[0]) {
|
|
property = _sentryDebugIds[value2[0]];
|
|
return property ? [{code_file: DEFAULT_BUNDLE_NAME, debug_id: property, type: 'sourcemap'}] : [];
|
|
}
|
|
return [];
|
|
}
|
|
return [];
|
|
}
|
|
}
|
|
return [];
|
|
}
|
|
|