Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,99 @@
|
||||
/* Metro module 12604; source: stores/StatusPageStore.tsx; dependencies: [6, 7, 15, 17, 18, 587, 566, 694, 2] */
|
||||
function _fun96691(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96691, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12794:6, offset: 0x021638b5, size: 329 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
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 */;
|
||||
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
||||
let value = _fun96695(Store);
|
||||
value.displayName = 'MaintenanceStore';
|
||||
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {CONNECTION_OPEN: function() {
|
||||
env0_7 = null;
|
||||
}, STATUS_PAGE_INCIDENT: function(a0) {
|
||||
env0_7 = a0.incident;
|
||||
}, STATUS_PAGE_SCHEDULED_MAINTENANCE: function(a0) {
|
||||
env0_8 = a0.maintenance;
|
||||
}, STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK: STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/StatusPageStore.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_96692() { // fn#96692, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12794:148, offset: 0x021639fe, size: 98 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_96692_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun96695(a0) { // fn#96695, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12794:393, offset: 0x02163a60, size: 126 bytes, params: 2, frame: 16
|
||||
const closure = MaintenanceStore;
|
||||
env0_6(closure, a0);
|
||||
return env0_3(closure, [{key: 'initialize', value: function() {
|
||||
var Storage = require(dependencyMap[5]).Storage;
|
||||
env1_9 = Storage.get('MaintenanceStore');
|
||||
}}, {key: 'getIncident', value: value_96698}, {key: 'getScheduledMaintenance', value: value_96699}]);
|
||||
}
|
||||
|
||||
function STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK() { // fn#96703, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12794:1329, offset: 0x02163be0, size: 81 bytes, params: 1, frame: 14
|
||||
if (env0_8 == null) {
|
||||
return false;
|
||||
}
|
||||
env0_9 = env0_8.id;
|
||||
const Storage = (require(587) /* metro dependency 587: Storage */).Storage;
|
||||
Storage.set('MaintenanceStore', env0_9);
|
||||
}
|
||||
|
||||
function value_96699() { // fn#96699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12794:825, offset: 0x02163b13, size: 161 bytes, params: 1, frame: 15
|
||||
var r0;
|
||||
var Date;
|
||||
var value4;
|
||||
var date;
|
||||
const binding = env1_8;
|
||||
const value2 = null;
|
||||
const value3 = undefined;
|
||||
const scheduled_until = value2 == binding ? value3 : binding.scheduled_until;
|
||||
if (value2 != env1_8) {
|
||||
if (env1_8.id === env1_9) {
|
||||
r0 = value2;
|
||||
} else if (value2 == (value2 != scheduled_until ? scheduled_until : value2 == env1_8 ? value3 : env1_8.scheduled_for)) {
|
||||
r0 = env1_8;
|
||||
} else {
|
||||
Date = global.Date;
|
||||
value4 = Date.now();
|
||||
Date = global.Date;
|
||||
date = new Date();
|
||||
r0 = value4 < date.getTime() ? env1_8 : value2;
|
||||
}
|
||||
} else {
|
||||
r0 = value2;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user