87 lines
4.3 KiB
TypeScript
87 lines
4.3 KiB
TypeScript
/* Metro module 12554; source: modules/harvester/DataHarvestStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */
|
|
import ClassCallCheck from '../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from '../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from '../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from '../../by-id/module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from '../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import Flux from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun96050(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96050, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12744:6, offset: 0x02153ffa, size: 329 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Store = (Flux).Store;
|
|
let value = _fun96054(Store);
|
|
value.displayName = 'DataHarvestStore';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {CONNECTION_OPEN: function() {
|
|
env0_6 = undefined;
|
|
}, UPDATE_DATA_HARVEST_TYPE: function({harvestType}) {
|
|
env0_5 = false;
|
|
env0_6 = harvestType;
|
|
}, LOAD_DATA_HARVEST_TYPE_START: function() {
|
|
env0_5 = true;
|
|
}, LOAD_DATA_HARVEST_TYPE_FAILURE: function() {
|
|
env0_5 = false;
|
|
}, LOGOUT: function() {
|
|
env0_5 = false;
|
|
env0_6 = null;
|
|
}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/harvester/DataHarvestStore.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_96051() { // fn#96051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12744:148, offset: 0x02154143, 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_96051_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun96054(a0) { // fn#96054, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12744:365, offset: 0x021541a5, size: 99 bytes, params: 2, frame: 16
|
|
const DataHarvestStore2 = DataHarvestStore;
|
|
Inherits(DataHarvestStore2, a0);
|
|
return CreateClass(DataHarvestStore2, [{key: 'harvestType', get: get_96056}, {key: 'requestingHarvest', get: get_96057}]);
|
|
function DataHarvestStore() { // fn#96055, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12744:377, offset: 0x00e3db8d, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_0(this, DataHarvestStore);
|
|
const value3 = env1_3(DataHarvestStore);
|
|
return env1_2(this, _isNativeReflectConstruct_96051() ? global.Reflect.construct(value3, arguments,
|
|
env1_3(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function get_96056() { // fn#96056, offset: 0x00c82288, size: 9 bytes, params: 1, frame: 1
|
|
return env1_6;
|
|
}
|
|
|
|
function get_96057() { // fn#96057, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1
|
|
return env1_5;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun96050, 12554, [6, 7, 15, 17, 18, 566, 694,
|
|
2]) /* metro module 12554, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
|