Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,48 @@
|
||||
/* Metro module 1458; source: utils/NetworkUtils.tsx; dependencies: [1459, 2] */
|
||||
function _fun16708(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#16708, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1585:6, offset: 0x00e585df, size: 142 bytes, params: 8, frame: 18
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = [];
|
||||
object2 = {};
|
||||
copyDataProperties(object2, (require(1459) /* metro dependency 1459: NetworkUtils */).default, undefined);
|
||||
object2['awaitOnline'] = function() {
|
||||
var Promise = global.Promise;
|
||||
var value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
var value2 = new Promise(_fun16710);
|
||||
return value2 instanceof Object ? value2 : value;
|
||||
};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/NetworkUtils.tsx');
|
||||
exports.default = object2;
|
||||
}
|
||||
|
||||
function awaitOnline_16709() { // fn#16709, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1585:142, offset: 0x00e5866d, size: 37 bytes, params: 1, frame: 11
|
||||
const Promise = global.Promise;
|
||||
const value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
const promise = new Promise(_fun16710);
|
||||
return promise instanceof Object ? promise : value;
|
||||
}
|
||||
|
||||
function _fun16710(a0) { // fn#16710, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1585:159, offset: 0x00e58692, size: 126 bytes, params: 2, frame: 15
|
||||
const closure = whenOnline;
|
||||
const property = (require(1459) /* metro dependency 1459: NetworkUtils */).default;
|
||||
if (property.isOnline()) {
|
||||
return a0();
|
||||
}
|
||||
env1_2.push(a0);
|
||||
if (!env1_3) {
|
||||
property.addOnlineCallback(closure);
|
||||
}
|
||||
}
|
||||
|
||||
function whenOnline() { // fn#16711, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1585:228, offset: 0x00e58710, size: 82 bytes, params: 1, frame: 12
|
||||
const binding = env2_2;
|
||||
binding.forEach(function(a0) {
|
||||
return a0();
|
||||
});
|
||||
binding.length = 0;
|
||||
const property = (require(1459) /* metro dependency 1459: NetworkUtils */).default;
|
||||
property.removeOnlineCallback(whenOnline);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user