203 lines
7.1 KiB
React
203 lines
7.1 KiB
React
/* Metro module 7421; source: unknown; dependencies: [7370] */
|
|
function _fun59835(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59835, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7599:6, offset: 0x016f43ee, size: 81 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const closure = getFilenameToDebugIdMap_59836;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.getDebugImagesForResources = getDebugImagesForResources_59838;
|
|
exports.getFilenameToDebugIdMap = closure;
|
|
}
|
|
|
|
function getFilenameToDebugIdMap_59836(a0) { // fn#59836, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7599:41, offset: 0x016f443f, size: 134 bytes, params: 2, frame: 14
|
|
var value2;
|
|
const env0_0 = a0;
|
|
const GLOBAL_OBJ = (require(7370) /* metro dependency 7370 */).GLOBAL_OBJ;
|
|
const _sentryDebugIds = GLOBAL_OBJ._sentryDebugIds;
|
|
if (_sentryDebugIds) {
|
|
value2 = global.Object.keys(_sentryDebugIds);
|
|
return env0_4 && value2.length === env0_3 ? env0_4 : value2.reduce(_fun59837, {});
|
|
}
|
|
return {};
|
|
}
|
|
|
|
function getDebugImagesForResources_59838(a0, a1) { // fn#59838, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7599:461, offset: 0x016f455a, size: 133 bytes, params: 3, frame: 20
|
|
var r7;
|
|
var property;
|
|
var push;
|
|
var object2;
|
|
var error;
|
|
const filenameToDebugIdMap_59836 = getFilenameToDebugIdMap_59836(a0);
|
|
const items2 = [];
|
|
if (filenameToDebugIdMap_59836) {
|
|
var iterator = a1[Symbol.iterator]();
|
|
var iterator2 = iterator.next;
|
|
var r2 = iterator;
|
|
var item2 = Reflect.apply(iterator2, r2, []);
|
|
var item = item2.value;
|
|
item2 = item2.done ? undefined : r2;
|
|
reducibleJoin4: while (true) {
|
|
if (item2 === undefined) {
|
|
return items2;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
reducibleLoop4: while (true) {
|
|
reducibleJoin7: while (true) {
|
|
if (item) {
|
|
try {
|
|
property = filenameToDebugIdMap_59836[item];
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
r7 = property;
|
|
break reducibleJoin7;
|
|
}
|
|
r7 = item;
|
|
break reducibleJoin7;
|
|
}
|
|
reducibleJoin3: while (true) {
|
|
if (r7) {
|
|
try {
|
|
push = items2.push;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.type = 'sourcemap';
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.code_file = item;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
property = filenameToDebugIdMap_59836[item];
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
object2.debug_id = property;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
Reflect.apply(push, items2, [object2]);
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
r2 = item2;
|
|
break reducibleJoin3;
|
|
}
|
|
r2 = item2;
|
|
break reducibleJoin3;
|
|
}
|
|
item2 = Reflect.apply(iterator2, r2, []);
|
|
item = item2.value;
|
|
item2 = item2.done ? undefined : r2;
|
|
if (item2 === undefined) {
|
|
break reducibleLoop4;
|
|
}
|
|
continue reducibleLoop4;
|
|
}
|
|
}
|
|
return items2;
|
|
}
|
|
|
|
function _fun59837(a0, a1) { // fn#59837, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7599:203, offset: 0x016f44c5, size: 149 bytes, params: 3, frame: 19
|
|
var r7;
|
|
var r6;
|
|
var value3;
|
|
var value4;
|
|
var filename;
|
|
var value5;
|
|
var binding;
|
|
reducibleJoin2: while (true) {
|
|
if (env1_2) {
|
|
break reducibleJoin2;
|
|
}
|
|
env1_2 = {};
|
|
break reducibleJoin2;
|
|
}
|
|
let property = env1_2[a1];
|
|
if (property) {
|
|
a0[property[0]] = property[1];
|
|
} else {
|
|
value3 = env0_0(a1);
|
|
value4 = value3.length - 1;
|
|
if (value4 >= 0) {
|
|
r7 = value4;
|
|
reducibleLoop4: while (true) {
|
|
property = value3[r7];
|
|
reducibleJoin6: while (true) {
|
|
if (property) {
|
|
filename = property.filename;
|
|
r6 = filename;
|
|
break reducibleJoin6;
|
|
}
|
|
r6 = property;
|
|
break reducibleJoin6;
|
|
}
|
|
property = _sentryDebugIds[a1];
|
|
if (r6) {
|
|
reducibleJoin8: while (true) {
|
|
if (property) {
|
|
a0[r6] = property;
|
|
binding = env1_2;
|
|
binding[a1] = [r6, property];
|
|
break reducibleLoop4;
|
|
}
|
|
break reducibleJoin8;
|
|
}
|
|
}
|
|
value5 = typeof r7 === 'bigint' ? r7 - 1n : +r7 - 1;
|
|
if (value5 >= 0) {
|
|
r7 = value5;
|
|
continue reducibleLoop4;
|
|
}
|
|
break reducibleLoop4;
|
|
}
|
|
}
|
|
}
|
|
return a0;
|
|
}
|
|
|