Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,76 @@
|
||||
/* Metro module 7030; source: stores/native/AppStateStore.tsx; dependencies: [6, 7, 15, 17, 18, 27, 661, 566, 683, 1962, 694, 2] */
|
||||
function _fun55720(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#55720, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:6, offset: 0x013af805, size: 360 bytes, params: 8, frame: 20
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = importDefault(dependencyMap[0]);
|
||||
const env0_1 = importDefault(dependencyMap[1]);
|
||||
const env0_2 = importDefault(dependencyMap[2]);
|
||||
const env0_3 = importDefault(dependencyMap[3]);
|
||||
const env0_4 = importDefault(dependencyMap[4]);
|
||||
const AppState = require(dependencyMap[5]).AppState;
|
||||
const env0_5 = require(dependencyMap[6]).AppStates;
|
||||
let env0_6 = AppState.currentState;
|
||||
const Store = importDefault(dependencyMap[7]).Store;
|
||||
let value = _fun55724(Store);
|
||||
value.displayName = 'AppStateStore';
|
||||
require(dependencyMap[9])(dependencyMap[8], dependencyMap.paths).then(function({addExtraAnalyticsDecorator}) {
|
||||
addExtraAnalyticsDecorator(_fun55729);
|
||||
});
|
||||
value = new value(importDefault(dependencyMap[10]), {APP_STATE_UPDATE: function(a0) {
|
||||
if (currentState === a0.state) {
|
||||
return false;
|
||||
}
|
||||
var property = a0.state;
|
||||
env0_6 = property;
|
||||
if (property === AppStates.ACTIVE) {
|
||||
env0_7 = global.Date.now();
|
||||
}
|
||||
}});
|
||||
require(dependencyMap[11]).fileFinishedImporting('stores/native/AppStateStore.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_55721() { // fn#55721, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:187, offset: 0x013af96d, 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_55721_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun55724(a0) { // fn#55724, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:414, offset: 0x013af9cb, size: 93 bytes, params: 2, frame: 16
|
||||
const closure = AppStateStore;
|
||||
env0_4(closure, a0);
|
||||
return env0_1(closure, [{key: 'getState', value: function() {
|
||||
return currentState;
|
||||
}}, {key: 'getLastActiveTime', value: value_55727}]);
|
||||
}
|
||||
|
||||
function _fun55728({addExtraAnalyticsDecorator}) { // fn#55728, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7208:858, offset: 0x013afa28, size: 25 bytes, params: 2, frame: 11
|
||||
addExtraAnalyticsDecorator(function(a0) {
|
||||
a0.client_app_state = currentState;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user