Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,448 @@
|
||||
/* Metro module 823; source: unknown; dependencies: [824, 826, 1005] */
|
||||
function _fun8971(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#8971, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:6, offset: 0x00d581b9, size: 130 bytes, params: 8, frame: 18
|
||||
var closure2;
|
||||
let value = this;
|
||||
let env0_0 = require;
|
||||
const closure = getDevServer;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
if (!(value && value.__awaiter)) {
|
||||
closure2 = function(a0, a1, a2, a3) {
|
||||
var r2;
|
||||
var value = a2;
|
||||
var env0_0 = a0;
|
||||
var env0_1 = a1;
|
||||
var env0_2 = value;
|
||||
var env0_3 = a3;
|
||||
r2 = value || global.Promise;
|
||||
value = Object.create(r2.prototype, {constructor: {value: r2}});
|
||||
var value2 = new r2(_fun8974);
|
||||
return value2 instanceof Object ? value2 : value;
|
||||
};
|
||||
}
|
||||
exports.fetchSourceContext = fetchSourceContext;
|
||||
exports.parseErrorStack = parseErrorStack_8986;
|
||||
exports.symbolicateStackTrace = symbolicateStackTrace;
|
||||
exports.getDevServer = closure;
|
||||
}
|
||||
|
||||
function getDevServer() { // fn#8972, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:473, offset: 0x00d5823b, size: 78 bytes, params: 1, frame: 13
|
||||
var r1;
|
||||
var value2;
|
||||
var property;
|
||||
var moduleValue;
|
||||
var ReactNativeLibraries;
|
||||
var Devtools;
|
||||
var value3;
|
||||
var value4;
|
||||
var devServer;
|
||||
var error;
|
||||
const value = undefined;
|
||||
try {
|
||||
value2 = environment;
|
||||
property = dependencyMap[2];
|
||||
moduleValue = require(property);
|
||||
ReactNativeLibraries = moduleValue.ReactNativeLibraries;
|
||||
Devtools = ReactNativeLibraries.Devtools;
|
||||
value3 = Devtools === null;
|
||||
if (value3) {
|
||||
r1 = value;
|
||||
} else {
|
||||
value4 = value === Devtools;
|
||||
if (value4) {
|
||||
r1 = value;
|
||||
} else {
|
||||
devServer = Devtools.getDevServer();
|
||||
r1 = devServer;
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
return value;
|
||||
}
|
||||
return r1;
|
||||
}
|
||||
|
||||
function _fun8973(a0, a1, a2, a3) { // fn#8973, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:122, offset: 0x00d58289, size: 75 bytes, params: 5, frame: 12
|
||||
let value = a2;
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
const env0_3 = a3;
|
||||
let r2 = value || global.Promise;
|
||||
value = Object.create(r2.prototype, {constructor: {value: r2}});
|
||||
r2 = new r2(_fun8974);
|
||||
return r2 instanceof Object ? r2 : value;
|
||||
}
|
||||
|
||||
function fetchSourceContext(a0) { // fn#8980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:632, offset: 0x00d583b9, size: 36 bytes, params: 2, frame: 15
|
||||
const env0_0 = a0;
|
||||
return env0_2(this, undefined, undefined, _fun8982);
|
||||
}
|
||||
|
||||
function parseErrorStack_8986(a0) { // fn#8986, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:1443, offset: 0x00d5865f, size: 121 bytes, params: 2, frame: 14
|
||||
const ReactNativeLibraries = (require(1005) /* metro dependency 1005 */).ReactNativeLibraries;
|
||||
const Devtools = ReactNativeLibraries.Devtools;
|
||||
if (Devtools) {
|
||||
return ReactNativeLibraries.Devtools.parseErrorStack(a0);
|
||||
}
|
||||
const Error = global.Error;
|
||||
throw new Error('React Native Devtools not available.');
|
||||
}
|
||||
|
||||
function symbolicateStackTrace(a0, a1) { // fn#8987, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:1659, offset: 0x00d586d8, size: 125 bytes, params: 3, frame: 15
|
||||
const ReactNativeLibraries = (require(1005) /* metro dependency 1005 */).ReactNativeLibraries;
|
||||
const Devtools = ReactNativeLibraries.Devtools;
|
||||
if (Devtools) {
|
||||
return ReactNativeLibraries.Devtools.symbolicateStackTrace(a0, a1);
|
||||
}
|
||||
const Error = global.Error;
|
||||
throw new Error('React Native Devtools not available.');
|
||||
}
|
||||
|
||||
function _fun8974(a0, a1) { // fn#8974, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:168, offset: 0x00d582d4, size: 98 bytes, params: 3, frame: 16
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
const closure = step_8977;
|
||||
const value2 = importAll.apply(env0_0, require || []);
|
||||
closure(value2.next());
|
||||
}
|
||||
|
||||
function* _fun8982() { // fn#8982, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:692, offset: 0x00d583e6, size: 48 bytes, params: 1, frame: 12
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
const Promise = global.Promise;
|
||||
value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
const promise = new Promise(_fun8983);
|
||||
return promise instanceof Object ? promise : value;
|
||||
}
|
||||
|
||||
function step_8977(a0) { // fn#8977, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:296, offset: 0x00d58336, size: 77 bytes, params: 2, frame: 14
|
||||
var value;
|
||||
if (a0.done) {
|
||||
env0_0(a0.value);
|
||||
} else {
|
||||
value = a0.value;
|
||||
value = step_8977Adopt(value);
|
||||
value.then(fulfilled_8975, rejected_8976);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun8983(a0) { // fn#8983, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:724, offset: 0x00d58416, size: 370 bytes, params: 2, frame: 21
|
||||
var environment;
|
||||
var r6;
|
||||
var binding;
|
||||
var binding2;
|
||||
var property;
|
||||
var value3;
|
||||
var createStealthXhr;
|
||||
var stealthXhr;
|
||||
var value5;
|
||||
var url;
|
||||
var HermesInternal;
|
||||
var concat;
|
||||
var value6;
|
||||
var binding3;
|
||||
var value7;
|
||||
var debug;
|
||||
var error;
|
||||
var value8;
|
||||
var open;
|
||||
var setRequestHeader;
|
||||
var send;
|
||||
var JSON;
|
||||
var stringify;
|
||||
var object2;
|
||||
var value9;
|
||||
var value10;
|
||||
var closure;
|
||||
var error2;
|
||||
var value11;
|
||||
const env0_0 = a0;
|
||||
const value = undefined;
|
||||
reducibleJoin3: while (true) {
|
||||
reduciblePort60: while (true) {
|
||||
exceptionLanding59: while (true) {
|
||||
try {
|
||||
binding = env3_0;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
break reducibleJoin3;
|
||||
}
|
||||
binding = env3_0;
|
||||
debug = binding(env3_1[1]).debug;
|
||||
error2 = debug.error;
|
||||
Reflect.apply(error2, debug, ['Could not fetch source context.', error]);
|
||||
value11 = environment.__proto__.__proto__;
|
||||
a0(require);
|
||||
break reduciblePort60;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
try {
|
||||
binding2 = env3_1;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
property = binding2[0];
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
value3 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
createStealthXhr = value3.createStealthXhr;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
stealthXhr = Reflect.apply(createStealthXhr, value3, []);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
var env0_1 = stealthXhr;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
if (stealthXhr) {
|
||||
try {
|
||||
binding = env3_3;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
value5 = binding();
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
reducibleJoin25: while (true) {
|
||||
if (value5) {
|
||||
try {
|
||||
url = value5.url;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
HermesInternal = global.HermesInternal;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
concat = HermesInternal.concat;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
value6 = '' + url + '__sentry/context';
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
r6 = value6;
|
||||
break reducibleJoin25;
|
||||
}
|
||||
r6 = value;
|
||||
break reducibleJoin25;
|
||||
}
|
||||
if (r6) {
|
||||
try {
|
||||
open = stealthXhr.open;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
Reflect.apply(open, stealthXhr, ['POST', r6, true]);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
setRequestHeader = stealthXhr.setRequestHeader;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
Reflect.apply(setRequestHeader, stealthXhr, ['Content-Type', 'application/json']);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
send = stealthXhr.send;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
JSON = global.JSON;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
stringify = JSON.stringify;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
object2 = {};
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
value9 = environment.__proto__.__proto__;
|
||||
try {
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
object2.stack = require;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
value10 = Reflect.apply(stringify, JSON, [object2]);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
Reflect.apply(send, stealthXhr, [value10]);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
closure = onreadystatechange_8984;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
stealthXhr.onreadystatechange = closure;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
closure = onerror_8985;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
stealthXhr.onerror = closure;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
try {
|
||||
binding = env3_0;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
binding3 = env3_1;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
property = binding3[1];
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
value7 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
debug = value7.debug;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
error = debug.error;
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
Reflect.apply(error, debug, ['Could not fetch source context. No dev server URL found.']);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
value8 = environment.__proto__.__proto__;
|
||||
try {
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
a0(require);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
try {
|
||||
a0(require);
|
||||
} catch (error) {
|
||||
break exceptionLanding59;
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function step_8977Adopt(a0) { // fn#8978, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:331, owner: step_8977.adopt, offset: 0x00d58383, size: 54 bytes, params: 2, frame: 12
|
||||
const value = a0;
|
||||
return value instanceof env2_2 ? value : new env2_2(_fun8979);
|
||||
}
|
||||
|
||||
function onreadystatechange_8984() { // fn#8984, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:1146, offset: 0x00d58588, size: 192 bytes, params: 1, frame: 15
|
||||
var value3;
|
||||
var JSON;
|
||||
var parse;
|
||||
var responseText;
|
||||
var value4;
|
||||
var Array;
|
||||
var isArray;
|
||||
var stack;
|
||||
var isArray2;
|
||||
var value5;
|
||||
var error;
|
||||
const readyState = env0_1.readyState;
|
||||
let binding = env4_0;
|
||||
const XHR_READYSTATE_DONE = binding(env4_1[0]).XHR_READYSTATE_DONE;
|
||||
if (readyState === XHR_READYSTATE_DONE) {
|
||||
if (env0_1.status !== 200) {
|
||||
binding = env0_0;
|
||||
value3 = environment.__proto__.__proto__.__proto__;
|
||||
binding(require);
|
||||
}
|
||||
try {
|
||||
JSON = global.JSON;
|
||||
parse = JSON.parse;
|
||||
binding = env0_1;
|
||||
responseText = binding.responseText;
|
||||
value4 = Reflect.apply(parse, JSON, [responseText]);
|
||||
Array = global.Array;
|
||||
isArray = Array.isArray;
|
||||
stack = value4.stack;
|
||||
isArray2 = Reflect.apply(isArray, Array, [stack]);
|
||||
binding = env0_0;
|
||||
if (isArray2) {
|
||||
stack = value4.stack;
|
||||
binding(stack);
|
||||
} else {
|
||||
value5 = environment.__proto__.__proto__.__proto__;
|
||||
binding(require);
|
||||
}
|
||||
} catch (error) {
|
||||
binding = env0_0;
|
||||
value = environment.__proto__.__proto__.__proto__;
|
||||
binding(require);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onerror_8985() { // fn#8985, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:950:1328, offset: 0x00d58648, size: 23 bytes, params: 1, frame: 11
|
||||
env0_0(require);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user