Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,77 @@
|
||||
/* Metro module 4401; source: stores/NetworkStore.tsx; dependencies: [6, 7, 15, 17, 18, 661, 1458, 566, 694, 2] */
|
||||
function _fun37396(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#37396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4573:6, offset: 0x010a43bd, size: 325 bytes, params: 8, frame: 19
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_4 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_5 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_6 = importDefault(18) /* metro dependency 18 */;
|
||||
let value = require(661) /* metro dependency 661: Constants */;
|
||||
const NetworkConnectionTypes = value.NetworkConnectionTypes;
|
||||
const NetworkConnectionSpeeds = value.NetworkConnectionSpeeds;
|
||||
let UNKNOWN = NetworkConnectionTypes.UNKNOWN;
|
||||
UNKNOWN = NetworkConnectionSpeeds.UNKNOWN;
|
||||
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
||||
_fun37401(Store).displayName = 'NetworkStore';
|
||||
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/NetworkStore.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_37397() { // fn#37397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4573:213, offset: 0x010a4502, size: 94 bytes, params: 1, frame: 18
|
||||
var Boolean;
|
||||
var prototype;
|
||||
var valueOf;
|
||||
var call;
|
||||
var Reflect;
|
||||
var construct;
|
||||
var closure;
|
||||
var value;
|
||||
var error;
|
||||
try {
|
||||
Boolean = global.Boolean;
|
||||
prototype = Boolean.prototype;
|
||||
valueOf = prototype.valueOf;
|
||||
call = valueOf.call;
|
||||
Reflect = global.Reflect;
|
||||
construct = Reflect.construct;
|
||||
Boolean = global.Boolean;
|
||||
closure = function() {
|
||||
};
|
||||
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
||||
value = Reflect.apply(call, valueOf, [value]);
|
||||
var result = !value;
|
||||
} catch (error) {
|
||||
}
|
||||
return (_isNativeReflectConstruct_37397_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function handleConnectionInfoChange(a0) { // fn#37400, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4573:441, offset: 0x010a4560, size: 93 bytes, params: 2, frame: 11
|
||||
let r2 = a0.type ?? NetworkConnectionTypes.UNKNOWN;
|
||||
r2 = a0.effectiveSpeed ?? NetworkConnectionSpeeds.UNKNOWN;
|
||||
env0_11 = a0.serviceProvider;
|
||||
env0_12.emitChange();
|
||||
}
|
||||
|
||||
function _fun37401(a0) { // fn#37401, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4573:600, offset: 0x010a45bd, size: 137 bytes, params: 2, frame: 16
|
||||
const closure = NetworkStoreClass;
|
||||
env0_6(closure, a0);
|
||||
return env0_3(closure, [{key: 'initialize', value: value_37403}, {key: 'getType', value: function() {
|
||||
return UNKNOWN;
|
||||
}}, {key: 'getEffectiveConnectionSpeed', value: function() {
|
||||
return UNKNOWN;
|
||||
}}, {key: 'getServiceProvider', value: value_37406}]);
|
||||
}
|
||||
|
||||
function value_37403() { // fn#37403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4573:915, offset: 0x010a4646, size: 71 bytes, params: 1, frame: 15
|
||||
const value = environment.__proto__;
|
||||
const networkInformation = (importDefault(1458) /* metro dependency 1458: NetworkUtils */).getNetworkInformation();
|
||||
const then = networkInformation.then;
|
||||
const handleConnectionInfoChangeBinding = handleConnectionInfoChange;
|
||||
Reflect.apply(then, networkInformation, [handleConnectionInfoChangeBinding]);
|
||||
(importDefault(1458) /* metro dependency 1458: NetworkUtils */).addChangeCallback(handleConnectionInfoChangeBinding);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user