76 lines
3.8 KiB
TypeScript
76 lines
3.8 KiB
TypeScript
/* Metro module 12542; source: modules/experiments/native/MobileExperimentTriggerPointStore.tsx; dependencies: [6, 7, 15, 17, 18, 4107, 1220, 12543, 694, 566, 2] */
|
|
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 env0_3 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_4 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_5 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_6 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_7 = importDefault(18) /* metro dependency 18 */;
|
|
const experimentStore = importDefault(4107) /* metro dependency 4107: ExperimentStore */;
|
|
const apexExperimentStore = importDefault(1220) /* metro dependency 1220: ApexExperimentStore */;
|
|
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
|
let value = _fun95855(Store);
|
|
value.displayName = 'MobileExperimentTriggerPointStore';
|
|
value = new value();
|
|
(require(2) /* metro dependency 2 */).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 closure = MobileExperimentTriggerPointStore;
|
|
env0_7(closure, a0);
|
|
return env0_4(closure, [{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 = [importDefault(694) /* metro dependency 694: Dispatcher */];
|
|
items2[1] = {CONNECTION_OPEN: handleConnectionOpen_95854};
|
|
const DispatchBand = (require(694) /* metro dependency 694: Dispatcher */).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));
|
|
}
|
|
|