93 lines
4.5 KiB
TypeScript
93 lines
4.5 KiB
TypeScript
/* Metro module 7164; source: modules/threads/ThreadSummaryStore.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 _fun57493(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#57493, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7342:6, offset: 0x013e716e, size: 286 bytes, params: 8, frame: 19
|
|
const closure = function() {
|
|
env0_5 = false;
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Store = (Flux).Store;
|
|
let value = _fun57498(Store);
|
|
value.displayName = 'ThreadSummaryStore';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {SUMMARIZE_THREAD_START: function() {
|
|
env0_5 = true;
|
|
}, SUMMARIZE_THREAD_SUCCESS: closure, SUMMARIZE_THREAD_FAILURE: closure});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/threads/ThreadSummaryStore.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_57494() { // fn#57494, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7342:148, offset: 0x013e728c, 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_57494_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun57498(a0) { // fn#57498, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7342:400, offset: 0x013e72f7, size: 93 bytes, params: 2, frame: 16
|
|
const ThreadSummaryStore2 = ThreadSummaryStore;
|
|
Inherits(ThreadSummaryStore2, a0);
|
|
return CreateClass(ThreadSummaryStore2, [{key: 'initialize', value: function() {
|
|
env1_5 = false;
|
|
}}, {key: 'isInProgress', value: value_57501}]);
|
|
function ThreadSummaryStore(a0) { // fn#57499, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7342:412, offset: 0x013e7354, size: 136 bytes, params: 2, frame: 19
|
|
var r0;
|
|
var Reflect;
|
|
let value = copyRestArgs(0, undefined);
|
|
let binding = env1_0;
|
|
binding(this, ThreadSummaryStore);
|
|
const items2 = [];
|
|
arraySpread(items2, value, 0, items2);
|
|
value = env1_3(ThreadSummaryStore);
|
|
binding = env1_2;
|
|
if (_isNativeReflectConstruct_57494()) {
|
|
Reflect = global.Reflect;
|
|
value = Reflect.construct(value, items2, env1_3(this).constructor);
|
|
r0 = value;
|
|
} else {
|
|
value = value.apply(this, items2);
|
|
r0 = value;
|
|
}
|
|
value = binding(this, r0);
|
|
value.summaryInProgress = false;
|
|
return value;
|
|
}
|
|
|
|
function value_57501() { // fn#57501, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1
|
|
return env1_5;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun57493, 7164, [6, 7, 15, 17, 18, 566, 694,
|
|
2]) /* metro module 7164, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
|