Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,246 @@
|
||||
/* Metro module 13056; source: modules/rpc/server/commands/activities.tsx; dependencies: [5, 661, 13026, 13014, 8081, 7504, 8076, 13018, 7860, 2] */
|
||||
function _fun99687(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#99687, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13246:6, offset: 0x021d16e1, size: 301 bytes, params: 8, frame: 25
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(5) /* metro dependency 5 */;
|
||||
let value = require(661) /* metro dependency 661: Constants */;
|
||||
const RPCCommands = value.RPCCommands;
|
||||
const env0_4 = value.RPCErrors;
|
||||
const env0_5 = value.ApplicationFlags;
|
||||
object2 = {};
|
||||
const GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS = RPCCommands.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS;
|
||||
value = require(13026) /* metro dependency 13026: rpcSchema */;
|
||||
let createRPCCommand = value.createRPCCommand;
|
||||
const GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS2 = RPCCommands.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS;
|
||||
const activityInstanceConnectedParticipantsScope = (require(13014) /* metro dependency 13014: activityInstanceConnectedParticipants */).activityInstanceConnectedParticipantsScope;
|
||||
object2[GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS] = Reflect.apply(createRPCCommand, value,
|
||||
[GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS2, {scope: activityInstanceConnectedParticipantsScope,
|
||||
handler: handler_99688}]);
|
||||
const REQUEST_PROXY_TICKET_REFRESH = RPCCommands.REQUEST_PROXY_TICKET_REFRESH;
|
||||
value = require(13026) /* metro dependency 13026: rpcSchema */;
|
||||
createRPCCommand = value.createRPCCommand;
|
||||
const REQUEST_PROXY_TICKET_REFRESH2 = RPCCommands.REQUEST_PROXY_TICKET_REFRESH;
|
||||
object2[REQUEST_PROXY_TICKET_REFRESH] = Reflect.apply(createRPCCommand, value, [REQUEST_PROXY_TICKET_REFRESH2,
|
||||
{scope: activityInstanceConnectedParticipantsScope, handler: handler_99689}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/rpc/server/commands/activities.tsx');
|
||||
exports.default = object2;
|
||||
}
|
||||
|
||||
function handler_99688({socket}) { // fn#99688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13246:357, offset: 0x021d180e, size: 75 bytes, params: 2, frame: 14
|
||||
const rpcHelpersModule = require(8081) /* metro dependency 8081: RPCHelpers */;
|
||||
rpcHelpersModule.validatePostMessageTransport(socket.transport);
|
||||
return (require(13014) /* metro dependency 13014: activityInstanceConnectedParticipants */).activityInstanceConnectedParticipants();
|
||||
}
|
||||
|
||||
function handler_99689({socket}) { // fn#99689, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13246:628, offset: 0x021d1859, size: 42 bytes, params: 2, frame: 11
|
||||
return env0_3(_fun99691)();
|
||||
}
|
||||
|
||||
function* _fun99691() { // fn#99691, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13246:645, offset: 0x021d188e, size: 364 bytes, params: 1, frame: 21
|
||||
var id;
|
||||
var object2;
|
||||
var prototype;
|
||||
var binding4;
|
||||
var property;
|
||||
var value11;
|
||||
var createProxyTicket;
|
||||
var value12;
|
||||
var proxyTicket;
|
||||
var value13;
|
||||
var value14;
|
||||
var error;
|
||||
var UNKNOWN_ERROR;
|
||||
var value15;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = undefined;
|
||||
let binding = env2_0;
|
||||
const binding2 = env2_2;
|
||||
const value4 = binding(binding2[4]);
|
||||
value4.validatePostMessageTransport(require.transport);
|
||||
const value6 = binding(binding2[4]);
|
||||
const validateApplication = value6.validateApplication;
|
||||
let application = require.application;
|
||||
const value7 = Reflect.apply(validateApplication, value6, [application]);
|
||||
const value8 = binding(binding2[5]);
|
||||
const hasApplicationFlag = value8.hasApplicationFlag;
|
||||
application = require.application;
|
||||
const EMBEDDED = env2_5.EMBEDDED;
|
||||
const hasApplicationFlag2 = Reflect.apply(hasApplicationFlag, value8, [application, EMBEDDED]);
|
||||
binding = env2_1;
|
||||
const binding3 = env2_2;
|
||||
if (!hasApplicationFlag2) {
|
||||
value = binding(binding3[6]);
|
||||
value = new value({errorCode: env2_4.UNAUTHORIZED_FOR_APPLICATION}, 'This application cannot access this API');
|
||||
throw value;
|
||||
}
|
||||
const value10 = binding(binding3[7])();
|
||||
try {
|
||||
object2 = {};
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
try {
|
||||
binding = env2_0;
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
try {
|
||||
binding4 = env2_2;
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
try {
|
||||
property = binding4[8];
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
try {
|
||||
value11 = binding(property);
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
try {
|
||||
createProxyTicket = value11.createProxyTicket;
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
try {
|
||||
value12 = value10 == null;
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
if (value12) {
|
||||
id = value;
|
||||
} else {
|
||||
try {
|
||||
id = value10.id;
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
}
|
||||
try {
|
||||
proxyTicket = Reflect.apply(createProxyTicket, value11, [value7, id]);
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
yield proxyTicket;
|
||||
try {
|
||||
value13 = undefined;
|
||||
value14 = false;
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
if (value14) {
|
||||
return value13;
|
||||
}
|
||||
try {
|
||||
object2.ticket = value13;
|
||||
} catch (error) {
|
||||
binding = env2_1;
|
||||
value = binding(env2_2[6]);
|
||||
object2 = {};
|
||||
UNKNOWN_ERROR = env2_4.UNKNOWN_ERROR;
|
||||
object2.errorCode = UNKNOWN_ERROR;
|
||||
prototype = value.prototype;
|
||||
value15 = Object.create(prototype, {constructor: {value: value}});
|
||||
value = new value(object2, 'Failed to create proxy ticket');
|
||||
value = value instanceof Object ? value : value15;
|
||||
throw value;
|
||||
}
|
||||
return object2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user