62 lines
2.2 KiB
React
62 lines
2.2 KiB
React
/* Metro module 440; source: unknown; dependencies: [] */
|
|
function _fun6006(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6006, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:481:6, offset: 0x00cec6a6, size: 52 bytes, params: 8, frame: 15
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = logError;
|
|
}
|
|
|
|
function logError() { // fn#6007, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:481:98, offset: 0x00cec6da, size: 180 bytes, params: 1, frame: 17
|
|
var r4;
|
|
var value5;
|
|
var property;
|
|
var Error;
|
|
var console;
|
|
var error;
|
|
var apply;
|
|
var message;
|
|
var stack;
|
|
let value = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(value);
|
|
const value4 = 0;
|
|
if (value4 < value) {
|
|
r4 = value4;
|
|
reducibleLoop1: while (true) {
|
|
array[r4] = arguments[r4];
|
|
value5 = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1;
|
|
if (value5 < value) {
|
|
r4 = value5;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleLoop1;
|
|
}
|
|
}
|
|
reducibleJoin6: while (true) {
|
|
reducibleJoin4: while (true) {
|
|
if (array.length !== 1) {
|
|
break reducibleJoin4;
|
|
}
|
|
property = array[value4];
|
|
Error = global.Error;
|
|
if (property instanceof Error) {
|
|
property = array[value4];
|
|
console = global.console;
|
|
error = console.error;
|
|
message = property.message;
|
|
value = 'Error: "' + message;
|
|
stack = property.stack;
|
|
Reflect.apply(error, console, [value + '". Stack:\n' + stack]);
|
|
break reducibleJoin6;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
console = global.console;
|
|
error = console.error;
|
|
apply = error.apply;
|
|
console = global.console;
|
|
Reflect.apply(apply, error, [console, array]);
|
|
break reducibleJoin6;
|
|
}
|
|
}
|
|
|