153 lines
4.6 KiB
React
153 lines
4.6 KiB
React
/* Metro module 1021; source: unknown; dependencies: [] */
|
|
function _fun10673(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#10673, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1148:6, offset: 0x00d93419, size: 52 bytes, params: 8, frame: 15
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.isHardCrash = isHardCrash;
|
|
}
|
|
|
|
function isHardCrash(a0) { // fn#10674, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1148:106, offset: 0x00d9344d, size: 164 bytes, params: 2, frame: 8
|
|
var values;
|
|
var r0;
|
|
var exception;
|
|
var mechanism;
|
|
var handled;
|
|
var value2;
|
|
var type;
|
|
var value3;
|
|
var error;
|
|
const value = undefined;
|
|
reducibleJoin8: while (true) {
|
|
reducibleJoin6: while (true) {
|
|
if (typeof a0 === 'string') {
|
|
break reducibleJoin6;
|
|
}
|
|
if ('exception' in a0) {
|
|
exception = a0.exception;
|
|
reducibleJoin5: while (true) {
|
|
if (exception === null) {
|
|
values = value;
|
|
break reducibleJoin5;
|
|
}
|
|
if (value === exception) {
|
|
values = value;
|
|
break reducibleJoin5;
|
|
}
|
|
values = exception.values;
|
|
break reducibleJoin5;
|
|
}
|
|
if (values) {
|
|
exception = a0.exception;
|
|
values = exception.values;
|
|
r0 = values;
|
|
break reducibleJoin8;
|
|
}
|
|
break reducibleJoin6;
|
|
}
|
|
break reducibleJoin6;
|
|
}
|
|
r0 = [];
|
|
break reducibleJoin8;
|
|
}
|
|
const iterator = r0[Symbol.iterator]();
|
|
const iterator2 = iterator.next;
|
|
let r2 = iterator;
|
|
let item2 = Reflect.apply(iterator2, r2, []);
|
|
let item = item2.value;
|
|
item2 = item2.done ? undefined : r2;
|
|
reducibleJoin10: while (true) {
|
|
if (item2 === value) {
|
|
return false;
|
|
}
|
|
break reducibleJoin10;
|
|
}
|
|
reducibleLoop10: while (true) {
|
|
try {
|
|
mechanism = item.mechanism;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
if (mechanism) {
|
|
try {
|
|
mechanism = item.mechanism;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
handled = mechanism.handled;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
value2 = handled !== false;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
reducibleJoin9: while (true) {
|
|
if (value2) {
|
|
r2 = item2;
|
|
break reducibleJoin9;
|
|
}
|
|
try {
|
|
mechanism = item.mechanism;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
type = mechanism.type;
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
try {
|
|
value3 = type === 'onerror';
|
|
} catch (error) {
|
|
try {
|
|
item2.return();
|
|
} catch {
|
|
}
|
|
throw error;
|
|
}
|
|
if (value3) {
|
|
item2.return();
|
|
return true;
|
|
}
|
|
r2 = item2;
|
|
break reducibleJoin9;
|
|
}
|
|
} else {
|
|
r2 = item2;
|
|
}
|
|
item2 = Reflect.apply(iterator2, r2, []);
|
|
item = item2.value;
|
|
item2 = item2.done ? undefined : r2;
|
|
if (item2 === value) {
|
|
return false;
|
|
}
|
|
continue reducibleLoop10;
|
|
}
|
|
}
|
|
|