Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,93 @@
|
||||
/* Metro module 15682; source: modules/experiments/trigger_points/CommonTriggerPointManager.tsx; dependencies: [6, 7, 15, 17, 18, 15683, 14896, 4860, 2] */
|
||||
function _fun120321(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120321, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15890:6, offset: 0x02527ec6, size: 226 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 */;
|
||||
let value = importDefault(4860) /* metro dependency 4860: AutomaticLifecycleManager */;
|
||||
value = _fun120325(value);
|
||||
value = new value();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/experiments/trigger_points/CommonTriggerPointManager.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_120322() { // fn#120322, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15890:148, offset: 0x02527fa8, 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_120322_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun120325(a0) { // fn#120325, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15890:351, offset: 0x0252800a, size: 124 bytes, params: 2, frame: 16
|
||||
const closure = CommonTriggerPointManager;
|
||||
env0_6(closure, a0);
|
||||
return env0_3(closure, [{key: 'handleVoiceChannelSelect', value: value_120327}, {key: 'handleCallCreate',
|
||||
value: function() {
|
||||
var VoiceCallTriggerPoint = require(dependencyMap[5]).VoiceCallTriggerPoint;
|
||||
VoiceCallTriggerPoint.trigger();
|
||||
}}, {key: 'handleUserSettingsModalOpen', value: function() {
|
||||
var OpenUserSettingsTriggerPoint = require(dependencyMap[6]).OpenUserSettingsTriggerPoint;
|
||||
OpenUserSettingsTriggerPoint.trigger();
|
||||
}}]);
|
||||
}
|
||||
|
||||
function CommonTriggerPointManager(a0) { // fn#120326, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15890:363, offset: 0x02528086, size: 169 bytes, params: 2, frame: 19
|
||||
var r0;
|
||||
var Reflect;
|
||||
let value = copyRestArgs(0, undefined);
|
||||
let binding = env1_2;
|
||||
binding(this, CommonTriggerPointManager);
|
||||
const items = [];
|
||||
arraySpread(items, value, 0, items);
|
||||
value = env1_5(CommonTriggerPointManager);
|
||||
binding = env1_4;
|
||||
if (_isNativeReflectConstruct_120322()) {
|
||||
Reflect = global.Reflect;
|
||||
value = Reflect.construct(value, items, env1_5(this).constructor);
|
||||
r0 = value;
|
||||
} else {
|
||||
value = value.apply(this, items);
|
||||
r0 = value;
|
||||
}
|
||||
value = binding(this, r0);
|
||||
value.actions = {VOICE_CHANNEL_SELECT: value.handleVoiceChannelSelect, CALL_CREATE: value.handleCallCreate,
|
||||
USER_SETTINGS_MODAL_OPEN: value.handleUserSettingsModalOpen};
|
||||
return value;
|
||||
}
|
||||
|
||||
function value_120327({guildId, channelId}) { // fn#120327, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15890:877, offset: 0x0252812f, size: 81 bytes, params: 2, frame: 14
|
||||
var value;
|
||||
if (channelId != null) {
|
||||
value = environment.__proto__;
|
||||
value = undefined;
|
||||
(require(15683) /* metro dependency 15683: VoiceCallTriggerPoint */).VoiceCallTriggerPoint.trigger({guildId: guildId ?? value});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user