Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,161 @@
|
||||
/* Metro module 1929; source: modules/app_database/app/TryLoad.tsx; dependencies: [5, 3, 694, 2] */
|
||||
function _fun21330(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#21330, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2056:6, offset: 0x00eede9b, size: 207 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(5) /* metro dependency 5 */;
|
||||
let value = importDefault(3) /* metro dependency 3: Logger */;
|
||||
value = new value('TryLoad');
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/app_database/app/TryLoad.tsx');
|
||||
exports.tryLoad = tryLoad;
|
||||
exports.tryLoadAsync = function() {
|
||||
return _tryLoadAsync.apply(this, arguments);
|
||||
};
|
||||
exports.tryLoadOrResetCacheGateway = tryLoadOrResetCacheGateway;
|
||||
exports.tryLoadOrResetCacheGatewayAsync = function() {
|
||||
return _tryLoadOrResetCacheGatewayAsync.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
function _tryLoadAsync() { // fn#21331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2056:134, offset: 0x00eedf6a, size: 48 bytes, params: 1, frame: 14
|
||||
return env0_2(_fun21333).apply(this, arguments);
|
||||
}
|
||||
|
||||
function _tryLoadOrResetCacheGatewayAsync() { // fn#21334, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2056:298, offset: 0x00eedfe9, size: 48 bytes, params: 1, frame: 14
|
||||
return env0_2(_fun21336).apply(this, arguments);
|
||||
}
|
||||
|
||||
function tryLoad(a0) { // fn#21337, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2056:780, offset: 0x00eee10a, size: 45 bytes, params: 2, frame: 13
|
||||
var value;
|
||||
var error;
|
||||
var binding;
|
||||
try {
|
||||
value = a0();
|
||||
} catch (error) {
|
||||
value = environment;
|
||||
binding = env0_3;
|
||||
binding.log('database load failed.', error);
|
||||
return null;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function tryLoadOrResetCacheGateway(a0, a1, a2) { // fn#21339, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2056:985, offset: 0x00eee137, size: 204 bytes, params: 4, frame: 21
|
||||
var r6;
|
||||
var value3;
|
||||
var error;
|
||||
var value4;
|
||||
var binding;
|
||||
var log;
|
||||
var value5;
|
||||
var stack;
|
||||
var defaultImport;
|
||||
var dispatch;
|
||||
const value = a0;
|
||||
try {
|
||||
value3 = a1();
|
||||
} catch (error) {
|
||||
value4 = environment;
|
||||
binding = env0_3;
|
||||
log = binding.log;
|
||||
value5 = '' + value + ': exception thrown, resetting socket.';
|
||||
stack = error.stack;
|
||||
Reflect.apply(log, binding, [value5, error, stack]);
|
||||
defaultImport = importDefault(694) /* metro dependency 694: Dispatcher */;
|
||||
dispatch = defaultImport.dispatch;
|
||||
r6 = a2 ?? value;
|
||||
Reflect.apply(dispatch, defaultImport, [{type: 'RESET_SOCKET', args: {error: error,
|
||||
action: 'tryLoadOrResetCacheGateway (' + value + ')',
|
||||
metricAction: 'tryLoadOrResetCacheGateway (' + r6 + ')'}}]);
|
||||
return null;
|
||||
}
|
||||
return value3;
|
||||
}
|
||||
|
||||
function* _fun21333(a0) { // fn#21333, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2056:183, offset: 0x00eedfa3, size: 70 bytes, params: 2, frame: 14
|
||||
var value3;
|
||||
var error;
|
||||
var binding;
|
||||
let value = undefined;
|
||||
if (false) {
|
||||
return value;
|
||||
}
|
||||
try {
|
||||
value = a0();
|
||||
} catch (error) {
|
||||
value = environment.__proto__.__proto__;
|
||||
binding = env2_3;
|
||||
binding.log('database load failed.', error);
|
||||
return null;
|
||||
}
|
||||
yield value;
|
||||
try {
|
||||
value = undefined;
|
||||
value3 = false;
|
||||
} catch (error) {
|
||||
value = environment.__proto__.__proto__;
|
||||
binding = env2_3;
|
||||
binding.log('database load failed.', error);
|
||||
return null;
|
||||
}
|
||||
return value3 ? value : value;
|
||||
}
|
||||
|
||||
function* _fun21336(a0, a1, a2) { // fn#21336, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2056:385, offset: 0x00eee022, size: 232 bytes, params: 4, frame: 22
|
||||
var r7;
|
||||
var value4;
|
||||
var value5;
|
||||
var value6;
|
||||
var error;
|
||||
var value7;
|
||||
var binding;
|
||||
var log;
|
||||
var value8;
|
||||
var stack;
|
||||
var value9;
|
||||
var dispatch;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = a0;
|
||||
const value3 = a2;
|
||||
try {
|
||||
value4 = a1();
|
||||
} catch (error) {
|
||||
value7 = environment.__proto__.__proto__;
|
||||
binding = env2_3;
|
||||
log = binding.log;
|
||||
value8 = '' + value + ': exception thrown, resetting socket.';
|
||||
stack = error.stack;
|
||||
Reflect.apply(log, binding, [value8, error, stack]);
|
||||
binding = env2_0;
|
||||
value9 = binding(env2_1[2]);
|
||||
dispatch = value9.dispatch;
|
||||
r7 = value3 ?? value;
|
||||
Reflect.apply(dispatch, value9, [{type: 'RESET_SOCKET', args: {error: error,
|
||||
action: 'tryLoadOrResetCacheGatewayAsync (' + value + ')',
|
||||
metricAction: 'tryLoadOrResetCacheGatewayAsync (' + r7 + ')'}}]);
|
||||
return null;
|
||||
}
|
||||
yield value4;
|
||||
try {
|
||||
value5 = undefined;
|
||||
value6 = false;
|
||||
} catch (error) {
|
||||
value7 = environment.__proto__.__proto__;
|
||||
binding = env2_3;
|
||||
log = binding.log;
|
||||
value8 = '' + value + ': exception thrown, resetting socket.';
|
||||
stack = error.stack;
|
||||
Reflect.apply(log, binding, [value8, error, stack]);
|
||||
binding = env2_0;
|
||||
value9 = binding(env2_1[2]);
|
||||
dispatch = value9.dispatch;
|
||||
r7 = value3 ?? value;
|
||||
Reflect.apply(dispatch, value9, [{type: 'RESET_SOCKET', args: {error: error,
|
||||
action: 'tryLoadOrResetCacheGatewayAsync (' + value + ')',
|
||||
metricAction: 'tryLoadOrResetCacheGatewayAsync (' + r7 + ')'}}]);
|
||||
return null;
|
||||
}
|
||||
return value6 ? value5 : value5;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user