Files
discord-decomp/sources/by-id/module-07475-trpcMiddleware.js
T
2026-07-28 01:06:53 +03:00

1341 lines
86 KiB
JavaScript

/* Metro module 7475; source: unknown; dependencies: [77, 5, 7365, 7368, 7369, 7397, 7383, 7393, 7417, 7396, 7414, 7403, 7384] */
import * as Module00005Module from './module-00005.js'; /* Metro dependency 5 */
import * as Module00077Module from './module-00077.js'; /* Metro dependency 77 */
import * as RegisterSpanErrorInstrumentationModule from './module-07365-registerSpanErrorInstrumentation.js'; /* Metro dependency 7365 */
import * as DEBUG_BUILDModule from './module-07368-DEBUG_BUILD.js'; /* Metro dependency 7368 */
import * as Module07369Module from './module-07369.js'; /* Metro dependency 7369 */
import * as Module07383Module from './module-07383.js'; /* Metro dependency 7383 */
import * as Module07393Module from './module-07393.js'; /* Metro dependency 7393 */
import * as DEBUG_BUILDModule2 from './module-07397-DEBUG_BUILD.js'; /* Metro dependency 7397 */
function _fun60296(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60296, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7653:6, offset: 0x01700ace, size: 204 bytes, params: 8, frame: 19
let env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
RegisterSpanErrorInstrumentationModule;
DEBUG_BUILDModule;
Module07369Module;
DEBUG_BUILDModule2;
Module07383Module;
Module07393Module;
({}).mechanism = {handled: false, data: {function: 'trpcMiddleware'}};
exports.trpcMiddleware = function() {
var env0_0 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return _fun60298();
};
function trpcMiddleware_60297() { // fn#60297, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7653:235, offset: 0x01700b9a, size: 46 bytes, params: 1, frame: 13
const env0_0 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return _fun60298();
function _fun60298() { // fn#60298, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7653:332, offset: 0x01700bc8, size: 32 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun60300);
return _fun60306;
function* _fun60300({path, type, next, rawInput, getRawInput}) { // fn#60300, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7653:352, offset: 0x01700bf1, size: 349 bytes, params: 2, frame: 21
var environment;
var r9;
var r7;
var getOptions;
var value5;
var sendDefaultPii;
var value7;
var normalize;
var rawInput2;
var value9;
var value10;
var binding2;
var property;
var value11;
var value12;
var error;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__.__proto__;
let binding = env3_0;
const client = binding(env3_1[9]).getClient();
reducibleJoin3: while (true) {
if (client) {
getOptions = client.getOptions;
value5 = Reflect.apply(getOptions, client, []);
r9 = value5;
break reducibleJoin3;
}
r9 = client;
break reducibleJoin3;
}
const object = {procedure_path: path, procedure_type: type};
if (require.attachRpcInput !== undefined) {
r7 = require.attachRpcInput;
} else {
reducibleJoin6: while (true) {
if (r9) {
sendDefaultPii = r9.sendDefaultPii;
r7 = sendDefaultPii;
break reducibleJoin6;
}
r7 = r9;
break reducibleJoin6;
}
}
reduciblePort28: while (true) {
exceptionLanding27: while (true) {
if (r7) {
reducibleJoin11: while (true) {
if (rawInput === undefined) {
break reducibleJoin11;
}
binding = env3_0;
value7 = binding(env3_1[10]);
normalize = value7.normalize;
object.input = Reflect.apply(normalize, value7, [rawInput]);
break reducibleJoin11;
}
if (getRawInput === undefined) {
break reduciblePort28;
}
if (typeof getRawInput !== 'function') {
break reduciblePort28;
}
try {
rawInput2 = getRawInput();
} catch (error) {
break exceptionLanding27;
}
yield rawInput2;
try {
value9 = undefined;
value10 = false;
} catch (error) {
break exceptionLanding27;
}
if (value10) {
return value9;
}
try {
binding = env3_0;
} catch (error) {
break exceptionLanding27;
}
try {
binding2 = env3_1;
} catch (error) {
break exceptionLanding27;
}
try {
property = binding2[10];
} catch (error) {
break exceptionLanding27;
}
try {
value11 = binding(property);
} catch (error) {
break exceptionLanding27;
}
try {
normalize = value11.normalize;
} catch (error) {
break exceptionLanding27;
}
try {
value12 = Reflect.apply(normalize, value11, [value9]);
} catch (error) {
break exceptionLanding27;
}
try {
object.input = value12;
} catch (error) {
break exceptionLanding27;
}
break reduciblePort28;
}
break reduciblePort28;
}
break reduciblePort28;
}
return env3_0(env3_1[9]).withScope(_fun60301);
function _fun60301(a0) { // fn#60301, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7653:739, offset: 0x01700d4e, size: 190 bytes, params: 2, frame: 21
a0.setContext('trpc', Module00077Module);
const binding = env4_0;
const binding2 = env4_1;
const value3 = binding(binding2[11]);
const startSpanManual = value3.startSpanManual;
const object = {};
object.name = 'trpc/' + path;
object.op = 'rpc.server';
const binding3 = env4_2;
const SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = binding(binding2[12]).SEMANTIC_ATTRIBUTE_SENTRY_SOURCE;
const value = binding3({}, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, 'route');
const SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = binding(binding2[12]).SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN;
object.attributes = binding3(value, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, 'auto.rpc.trpc');
return Reflect.apply(startSpanManual, value3, [object, _fun60302()]);
function _fun60302() { // fn#60302, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7653:969, offset: 0x01700e0c, size: 32 bytes, params: 1, frame: 12
const env0_0 = env5_3(_fun60304);
return _fun60305;
function* _fun60304(a0) { // fn#60304, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7653:989, offset: 0x01700e35, size: 215 bytes, params: 2, frame: 17
var binding;
var value3;
var value6;
var ok;
var value8;
var value9;
var binding2;
var property;
var value10;
var captureException;
var error;
var end;
var value11;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__.__proto__;
try {
binding = env3_1;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
value = binding();
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
yield value;
try {
value = undefined;
value3 = false;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
if (!value3) {
var r3 = typeof value === 'object' && value !== null;
if (r3) {
try {
value6 = 'ok' in value;
r3 = value6;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
if (r3) {
try {
ok = value.ok;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
r3 = !ok;
if (r3) {
try {
value8 = 'error' in value;
r3 = value8;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
if (r3) {
value9 = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
try {
binding = env7_0;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding2 = env7_1;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
property = binding2[8];
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
value10 = binding(property);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
captureException = value10.captureException;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
error = value.error;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding = env7_4;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(captureException, value10, [error, binding]);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
if (r3) {
value9 = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
try {
binding = env7_0;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding2 = env7_1;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
property = binding2[8];
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
value10 = binding(property);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
captureException = value10.captureException;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
error = value.error;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding = env7_4;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(captureException, value10, [error, binding]);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
if (r3) {
try {
value8 = 'error' in value;
r3 = value8;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
if (r3) {
value9 = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
try {
binding = env7_0;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding2 = env7_1;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
property = binding2[8];
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
value10 = binding(property);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
captureException = value10.captureException;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
error = value.error;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding = env7_4;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(captureException, value10, [error, binding]);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
if (r3) {
value9 = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
try {
binding = env7_0;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding2 = env7_1;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
property = binding2[8];
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
value10 = binding(property);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
captureException = value10.captureException;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
error = value.error;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding = env7_4;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(captureException, value10, [error, binding]);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
if (r3) {
try {
ok = value.ok;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
r3 = !ok;
if (r3) {
try {
value8 = 'error' in value;
r3 = value8;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
if (r3) {
value9 = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
try {
binding = env7_0;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding2 = env7_1;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
property = binding2[8];
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
value10 = binding(property);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
captureException = value10.captureException;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
error = value.error;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding = env7_4;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(captureException, value10, [error, binding]);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
if (r3) {
value9 = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
try {
binding = env7_0;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding2 = env7_1;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
property = binding2[8];
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
value10 = binding(property);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
captureException = value10.captureException;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
error = value.error;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding = env7_4;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(captureException, value10, [error, binding]);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
if (r3) {
try {
value8 = 'error' in value;
r3 = value8;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
if (r3) {
value9 = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
try {
binding = env7_0;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding2 = env7_1;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
property = binding2[8];
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
value10 = binding(property);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
captureException = value10.captureException;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
error = value.error;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding = env7_4;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(captureException, value10, [error, binding]);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
if (r3) {
value9 = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
try {
binding = env7_0;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding2 = env7_1;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
property = binding2[8];
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
value10 = binding(property);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
captureException = value10.captureException;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
error = value.error;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
binding = env7_4;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(captureException, value10, [error, binding]);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
return value;
}
try {
end = a0.end;
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
try {
Reflect.apply(end, a0, []);
} catch (error) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
binding = env7_0;
value11 = binding(env7_1[8]);
value11.captureException(error, env7_4);
a0.end();
throw error;
}
}
return value;
}
function _fun60305(a0) { // fn#60305, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7653:1232, offset: 0x00d71197, size: 29 bytes, params: 2, frame: 13
return env0_0.apply(this, arguments);
}
}
}
}
function _fun60306(a0) { // fn#60306, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7653:1293, offset: 0x00d71197, size: 29 bytes, params: 2, frame: 13
return env0_0.apply(this, arguments);
}
}
}
}
global.__d(_fun60296, 7475, [77, 5, 7365, 7368, 7369, 7397, 7383, 7393, 7417, 7396, 7414, 7403,
7384]) /* metro module 7475, dependencies: [77, 5, 7365, 7368, 7369, 7397, 7383, 7393, 7417, 7396, 7414, 7403, 7384] */;