83 lines
4.7 KiB
TypeScript
83 lines
4.7 KiB
TypeScript
/* Metro module 12542; source: modules/experiments/native/MobileExperimentTriggerPointStore.tsx; dependencies: [6, 7, 15, 17, 18, 4107, 1220, 12543, 694, 566, 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 Dispatcher from '../../../Dispatcher.tsx'; /* Metro dependency 694 */
|
|
import ApexExperimentStore from '../apex/ApexExperimentStore.tsx'; /* Metro dependency 1220 */
|
|
import ExperimentStore from '../ExperimentStore.tsx'; /* Metro dependency 4107 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as DispatcherModule from '../../../Dispatcher.tsx'; /* Metro dependency 694 */
|
|
|
|
function _fun95850(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#95850, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12732:6, offset: 0x0215078c, size: 291 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const handleConnectionOpen_95854 = function() {
|
|
var MobileConnectionOpenTriggerPoint = require(dependencyMap[7]).MobileConnectionOpenTriggerPoint;
|
|
MobileConnectionOpenTriggerPoint.trigger();
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Store = (Flux).Store;
|
|
let value = _fun95855(Store);
|
|
value.displayName = 'MobileExperimentTriggerPointStore';
|
|
value = new value();
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/experiments/native/MobileExperimentTriggerPointStore.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_95851() { // fn#95851, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12732:168, offset: 0x021508af, 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_95851_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun95855(a0) { // fn#95855, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12732:450, offset: 0x0215093c, size: 72 bytes, params: 2, frame: 15
|
|
const MobileExperimentTriggerPointStore2 = MobileExperimentTriggerPointStore;
|
|
Inherits(MobileExperimentTriggerPointStore2, a0);
|
|
return CreateClass(MobileExperimentTriggerPointStore2, [{key: 'initialize', value: function() {
|
|
this.waitFor(ExperimentStore, ApexExperimentStore);
|
|
}}]);
|
|
function MobileExperimentTriggerPointStore() { // fn#95856, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12732:462, offset: 0x02150984, size: 176 bytes, params: 1, frame: 19
|
|
const value = environment.__proto__;
|
|
env1_3(this, MobileExperimentTriggerPointStore);
|
|
const items2 = [Dispatcher];
|
|
items2[1] = {CONNECTION_OPEN: handleConnectionOpen_95854};
|
|
const DispatchBand = (DispatcherModule).DispatchBand;
|
|
const Early = DispatchBand.Early;
|
|
items2[2] = Early;
|
|
const value3 = env1_6(MobileExperimentTriggerPointStore);
|
|
return env1_5(this, _isNativeReflectConstruct_95851() ? global.Reflect.construct(value3, items2,
|
|
env1_6(this).constructor) : value3.apply(this, items2));
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun95850, 12542, [6, 7, 15, 17, 18, 4107, 1220, 12543, 694, 566,
|
|
2]) /* metro module 12542, dependencies: [6, 7, 15, 17, 18, 4107, 1220, 12543, 694, 566, 2] */;
|