Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

+131
View File
@@ -0,0 +1,131 @@
/* Metro module 5110; source: stores/ConnectedAppsStore.tsx; dependencies: [6, 7, 15, 17, 18, 22, 566, 694, 2] */
function _fun44660(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#44660, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5288:6, offset: 0x01176628, size: 305 bytes, params: 8, frame: 18
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 env0_7 = {};
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
let value = _fun44664(Store);
value.displayName = 'ConnectedAppsStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
{OVERLAY_INITIALIZE: function({connectedApps}) {
var object = {};
copyDataProperties(object, connectedApps, object);
env0_7 = object;
}, RPC_APP_CONNECTED: RPC_APP_CONNECTED_44673, RPC_APP_AUTHENTICATED: RPC_APP_AUTHENTICATED,
RPC_APP_DISCONNECTED: RPC_APP_DISCONNECTED_44675});
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/ConnectedAppsStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_44661() { // fn#44661, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5288:148, offset: 0x01176759, 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_44661_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun44664(a0) { // fn#44664, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5288:356, offset: 0x011767b7, size: 164 bytes, params: 2, frame: 16
const closure = ConnectedAppsStore;
env0_6(closure, a0);
return env0_3(closure, [{key: 'isConnected', value: value_44666}, {key: 'isChildConnected', value: value_44667},
{key: 'connections', get: get_44669}, {key: 'getApplication', value: value_44670}, {key: 'getAllConnections',
value: value_44671}]);
}
function RPC_APP_CONNECTED_44673({application}) { // fn#44673, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5288:1153, offset: 0x0117690c, size: 141 bytes, params: 2, frame: 6
let id = application.id;
if (id == null) {
return false;
}
id = application.id;
if (env0_7[id] == null) {
env0_7[id] = {count: 0, id: application.id, parentId: application.parentId, name: application.name,
icon: application.icon, coverImage: application.coverImage, authenticated: false};
}
const property = env0_7[id];
const count = property.count;
property.count = typeof count === 'bigint' ? count + 1n : +count + 1;
}
function RPC_APP_AUTHENTICATED({application}) { // fn#44674, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5288:1391, offset: 0x01176999, size: 73 bytes, params: 2, frame: 5
if (application.id != null && env0_7[application.id] != null) {
env0_7[application.id].authenticated = true;
}
}
function RPC_APP_DISCONNECTED_44675({application}) { // fn#44675, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5288:1516, offset: 0x011769e2, size: 116 bytes, params: 2, frame: 5
var binding;
var property;
var count;
let id = application.id;
if (id != null && env0_7[application.id] != null) {
binding = env0_7;
id = application.id;
property = binding[id];
count = property.count;
property.count = typeof count === 'bigint' ? count - 1n : +count - 1;
binding = env0_7;
id = application.id;
count = binding[id].count;
if (count === 0) {
delete env0_7[application.id];
}
}
}
function value_44666(a0) { // fn#44666, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5288:677, offset: 0x0117685b, size: 22 bytes, params: 2, frame: 2
return env1_7[a0] != null;
}
function value_44667(a0) { // fn#44667, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5288:739, offset: 0x01176871, size: 61 bytes, params: 2, frame: 13
var environment;
var r0;
var Object;
var values;
const env0_0 = a0;
let value = a0 != null;
if (value) {
Object = global.Object;
values = Object.values;
value = environment.__proto__;
value = Reflect.apply(values, Object, [env1_7]);
value = value.some(_fun44668);
r0 = value;
} else {
r0 = value;
}
return r0;
}
function get_44669() { // fn#44669, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5288:835, offset: 0x011768c4, size: 41 bytes, params: 1, frame: 12
return (importDefault(22) /* metro dependency 22 */).values(env1_7);
}