This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,15 +1,18 @@
/* Metro module 15976; source: modules/guild_config_gates/GuildConfigGates.tsx; dependencies: [5, 15977, 661, 566, 507, 694, 2] */
import Module00005 from '../../by-id/module-00005.js'; /* Metro dependency 5 */
import GuildConfigGatesStore from './GuildConfigGatesStore.tsx'; /* Metro dependency 15977 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as FluxModule from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
function _fun123565(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#123565, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16184:6, offset: 0x0259418e, size: 248 bytes, params: 8, frame: 21
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importDefault(5) /* metro dependency 5 */;
const guildConfigGatesStore = importDefault(15977) /* metro dependency 15977: GuildConfigGatesStore */;
const env0_5 = (require(661) /* metro dependency 661: Constants */).Endpoints;
const fluxModule = require(566) /* metro dependency 566: flux */;
const createFetchStore = fluxModule.createFetchStore;
let value = Module00005;
const createFetchStore = FluxModule.createFetchStore;
const env0_3 = value(_fun123569);
const env0_6 = Reflect.apply(createFetchStore, fluxModule, [guildConfigGatesStore, {getQueryId: function(a0) {
const env0_6 = Reflect.apply(createFetchStore, FluxModule, [GuildConfigGatesStore, {getQueryId: function(a0) {
var value = a0;
var value2 = null;
return value2 != value ? value : value2;
@@ -17,52 +20,58 @@ function _fun123565(global, require, importDefault, importAll, module, exports,
var value = null;
return value == a0 ? value : GuildConfigGatesStore.hasLoaded(a0) ? GuildConfigGatesStore.getGates(a0) : value;
}, load: load_123570}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_config_gates/GuildConfigGates.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/guild_config_gates/GuildConfigGates.tsx');
exports.useGuildVerificationRoleEnabled = useGuildVerificationRoleEnabled;
exports.useApplicationIdentityLinkedRolesEnabled = useApplicationIdentityLinkedRolesEnabled;
}
function* _fun123569(a0) { // fn#123569, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16184:262, offset: 0x025942dd, size: 195 bytes, params: 2, frame: 18
let value = undefined;
if (false) {
return value;
}
if (a0 != null) {
value = environment.__proto__;
var binding = env1_0;
var HTTP = binding(env1_2[4]).HTTP;
var get = HTTP.get;
binding = env1_5;
var GUILD_CONFIG_GATES = binding.GUILD_CONFIG_GATES;
yield Reflect.apply(get, HTTP, [Reflect.apply(GUILD_CONFIG_GATES, binding, [a0])]);
var value3 = undefined;
function* _fun123569(a0) { // fn#123569, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16184:262, offset: 0x025942dd, size: 195 bytes, params: 2, frame: 18
let value = undefined;
if (false) {
return value3;
return value;
}
if (a0 != null) {
value = environment.__proto__;
var binding = env1_0;
var HTTP = binding(env1_2[4]).HTTP;
var get = HTTP.get;
binding = env1_5;
var GUILD_CONFIG_GATES = binding.GUILD_CONFIG_GATES;
yield Reflect.apply(get, HTTP, [Reflect.apply(GUILD_CONFIG_GATES, binding, [a0])]);
var value3 = undefined;
if (false) {
return value3;
}
var body = value3.body;
binding = env1_1;
value = binding(env1_2[5]);
var dispatch = value.dispatch;
var guild_verification_role_enabled = body.guild_verification_role_enabled;
var value5 = guild_verification_role_enabled != null;
var application_identity_linked_roles_enabled = body.application_identity_linked_roles_enabled;
Reflect.apply(dispatch, value, [{type: 'GUILD_CONFIG_GATES_FETCH_SUCCESS', guildId: a0,
guildVerificationRoleEnabled: value5 && guild_verification_role_enabled,
applicationIdentityLinkedRolesEnabled: application_identity_linked_roles_enabled != null && application_identity_linked_roles_enabled}]);
}
var body = value3.body;
binding = env1_1;
value = binding(env1_2[5]);
var dispatch = value.dispatch;
var guild_verification_role_enabled = body.guild_verification_role_enabled;
var value5 = guild_verification_role_enabled != null;
var application_identity_linked_roles_enabled = body.application_identity_linked_roles_enabled;
Reflect.apply(dispatch, value, [{type: 'GUILD_CONFIG_GATES_FETCH_SUCCESS', guildId: a0,
guildVerificationRoleEnabled: value5 && guild_verification_role_enabled,
applicationIdentityLinkedRolesEnabled: application_identity_linked_roles_enabled != null && application_identity_linked_roles_enabled}]);
}
function load_123570() { // fn#123570, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16184:601, offset: 0x00d6afe6, size: 30 bytes, params: 1, frame: 13
return env0_3.apply(this, arguments);
}
function useGuildVerificationRoleEnabled(a0) { // fn#123571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16184:762, offset: 0x025943a0, size: 49 bytes, params: 2, frame: 12
const value = undefined;
const data = env0_6(a0).data;
const guildVerificationRoleEnabled = data == null ? value : data.guildVerificationRoleEnabled;
return guildVerificationRoleEnabled != null && guildVerificationRoleEnabled;
}
function useApplicationIdentityLinkedRolesEnabled(a0) { // fn#123572, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16184:936, offset: 0x025943d1, size: 49 bytes, params: 2, frame: 12
const value = undefined;
const data = env0_6(a0).data;
const applicationIdentityLinkedRolesEnabled = data == null ? value : data.applicationIdentityLinkedRolesEnabled;
return applicationIdentityLinkedRolesEnabled != null && applicationIdentityLinkedRolesEnabled;
}
}
function useGuildVerificationRoleEnabled(a0) { // fn#123571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16184:762, offset: 0x025943a0, size: 49 bytes, params: 2, frame: 12
const value = undefined;
const data = env0_6(a0).data;
const guildVerificationRoleEnabled = data == null ? value : data.guildVerificationRoleEnabled;
return guildVerificationRoleEnabled != null && guildVerificationRoleEnabled;
}
function useApplicationIdentityLinkedRolesEnabled(a0) { // fn#123572, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16184:936, offset: 0x025943d1, size: 49 bytes, params: 2, frame: 12
const value = undefined;
const data = env0_6(a0).data;
const applicationIdentityLinkedRolesEnabled = data == null ? value : data.applicationIdentityLinkedRolesEnabled;
return applicationIdentityLinkedRolesEnabled != null && applicationIdentityLinkedRolesEnabled;
}
global.__d(_fun123565, 15976, [5, 15977, 661, 566, 507, 694,
2]) /* metro module 15976, dependencies: [5, 15977, 661, 566, 507, 694, 2] */;
@@ -1,70 +1,84 @@
/* Metro module 15977; source: modules/guild_config_gates/GuildConfigGatesStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 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 * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun123573(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#123573, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:6, offset: 0x02594402, size: 285 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = importDefault(6) /* metro dependency 6 */;
const env0_1 = importDefault(7) /* metro dependency 7 */;
const env0_2 = importDefault(15) /* metro dependency 15 */;
const env0_3 = importDefault(17) /* metro dependency 17 */;
const env0_4 = importDefault(18) /* metro dependency 18 */;
let env0_5 = {};
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
const Store = (Flux).Store;
let value = _fun123577(Store);
value.displayName = 'GuildConfigGatesStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
{GUILD_CONFIG_GATES_FETCH_SUCCESS: GUILD_CONFIG_GATES_FETCH_SUCCESS, LOGOUT: function() {
env0_5 = {};
}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_config_gates/GuildConfigGatesStore.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/guild_config_gates/GuildConfigGatesStore.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_123574() { // fn#123574, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:148, offset: 0x0259451f, 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) {
function _isNativeReflectConstruct_123574() { // fn#123574, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:148, offset: 0x0259451f, 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_123574_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_123574_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun123577(a0) { // fn#123577, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:356, offset: 0x02594581, size: 99 bytes, params: 2, frame: 16
const closure = GuildConfigGatesStore;
env0_4(closure, a0);
return env0_1(closure, [{key: 'hasLoaded', value: value_123579}, {key: 'getGates', value: value_123580}]);
}
function _fun123577(a0) { // fn#123577, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:356, offset: 0x02594581, size: 99 bytes, params: 2, frame: 16
const GuildConfigGatesStore2 = GuildConfigGatesStore;
Inherits(GuildConfigGatesStore2, a0);
return CreateClass(GuildConfigGatesStore2, [{key: 'hasLoaded', value: value_123579}, {key: 'getGates',
value: value_123580}]);
function GuildConfigGatesStore() { // fn#123578, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:368, offset: 0x00c7a0d6, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_0(this, GuildConfigGatesStore);
const value3 = env1_3(GuildConfigGatesStore);
return env1_2(this, _isNativeReflectConstruct_123574() ? global.Reflect.construct(value3, arguments,
env1_3(this).constructor) : value3.apply(this, arguments));
}
function GUILD_CONFIG_GATES_FETCH_SUCCESS({guildId, guildVerificationRoleEnabled, applicationIdentityLinkedRolesEnabled}) { // fn#123581, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:973, offset: 0x0259461e, size: 47 bytes, params: 2, frame: 5
env0_5[guildId] = {guildVerificationRoleEnabled: guildVerificationRoleEnabled,
applicationIdentityLinkedRolesEnabled: applicationIdentityLinkedRolesEnabled};
}
function value_123579(a0) { // fn#123579, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:690, offset: 0x025945e4, size: 22 bytes, params: 2, frame: 2
return env1_5[a0] != null;
}
function value_123579(a0) { // fn#123579, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:690, offset: 0x025945e4, size: 22 bytes, params: 2, frame: 2
return env1_5[a0] != null;
}
function value_123580(a0) { // fn#123580, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:744, offset: 0x025945fa, size: 36 bytes, params: 2, frame: 2
return env1_5[a0] ?? ({'guildVerificationRoleEnabled': false, 'applicationIdentityLinkedRolesEnabled': false});
}
}
function GUILD_CONFIG_GATES_FETCH_SUCCESS({guildId, guildVerificationRoleEnabled, applicationIdentityLinkedRolesEnabled}) { // fn#123581, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:973, offset: 0x0259461e, size: 47 bytes, params: 2, frame: 5
env0_5[guildId] = {guildVerificationRoleEnabled: guildVerificationRoleEnabled,
applicationIdentityLinkedRolesEnabled: applicationIdentityLinkedRolesEnabled};
}
function value_123580(a0) { // fn#123580, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16185:744, offset: 0x025945fa, size: 36 bytes, params: 2, frame: 2
return env1_5[a0] ?? ({'guildVerificationRoleEnabled': false, 'applicationIdentityLinkedRolesEnabled': false});
}
global.__d(_fun123573, 15977, [6, 7, 15, 17, 18, 566, 694,
2]) /* metro module 15977, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;