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,38 +1,43 @@
/* Metro module 11275; source: modules/guild_onboarding_home/useIsSelectedResourceChannel.tsx; dependencies: [4791, 1379, 1934, 661, 1386, 632, 1391, 11276, 5103, 2] */
import ChannelStore from '../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */
import SelectedChannelStore from '../../stores/SelectedChannelStore.tsx'; /* Metro dependency 1934 */
import ChannelSectionStore from '../../stores/ChannelSectionStore.tsx'; /* Metro dependency 4791 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as UseStateFromStoresModule from '../../external/discord_common/js/packages/flux/useStateFromStores.tsx'; /* Metro dependency 632 */
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
import * as ChannelConstantsModule from '../channel/ChannelConstants.tsx'; /* Metro dependency 1386 */
function _fun86112(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86112, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11461:6, offset: 0x01f8822f, size: 194 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const channelSectionStore = importDefault(4791) /* metro dependency 4791: ChannelSectionStore */;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const selectedChannelStore = importDefault(1934) /* metro dependency 1934: SelectedChannelStore */;
const env0_6 = (require(661) /* metro dependency 661: Constants */).EMPTY_STRING_SNOWFLAKE_ID;
const env0_7 = (require(1386) /* metro dependency 1386: ChannelConstants */).ChannelFlags;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_onboarding_home/useIsSelectedResourceChannel.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/guild_onboarding_home/useIsSelectedResourceChannel.tsx');
exports.default = useIsSelectedResourceChannel;
}
function useIsSelectedResourceChannel(a0) { // fn#86113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11461:291, offset: 0x01f882f1, size: 128 bytes, params: 2, frame: 18
const env0_0 = a0;
const guild_id = (require(632) /* metro dependency 632: useStateFromStores */).useStateFromStores([ChannelStore,
SelectedChannelStore, ChannelSectionStore], _fun86114);
return guild_id != null && (require(5103) /* metro dependency 5103: OnboardingHomeUtils */).useCanSeeOnboardingHome(guild_id ?? EMPTY_STRING_SNOWFLAKE_ID);
}
function _fun86114() { // fn#86114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11461:374, offset: 0x01f88371, size: 131 bytes, params: 1, frame: 17
const channel = ChannelStore.getChannel(env0_0);
if (channel != null) {
var moduleValue = require(1391) /* metro dependency 1391: FlagUtils */;
var hasFlag = moduleValue.hasFlag;
var flags = channel.flags;
var IS_GUILD_RESOURCE_CHANNEL = ChannelFlags.IS_GUILD_RESOURCE_CHANNEL;
if (Reflect.apply(hasFlag, moduleValue, [flags, IS_GUILD_RESOURCE_CHANNEL])) {
if ((importDefault(11276) /* metro dependency 11276: isSelectedFromHomeChannelNative */)(channel,
SelectedChannelStore, ChannelSectionStore)) {
return channel.guild_id;
function useIsSelectedResourceChannel(a0) { // fn#86113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11461:291, offset: 0x01f882f1, size: 128 bytes, params: 2, frame: 18
const env0_0 = a0;
const guild_id = (UseStateFromStoresModule).useStateFromStores([ChannelStore,
SelectedChannelStore, ChannelSectionStore], _fun86114);
return guild_id != null && (require(5103) /* metro dependency 5103: OnboardingHomeUtils */).useCanSeeOnboardingHome(guild_id ?? EMPTY_STRING_SNOWFLAKE_ID);
function _fun86114() { // fn#86114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11461:374, offset: 0x01f88371, size: 131 bytes, params: 1, frame: 17
const channel = ChannelStore.getChannel(env0_0);
if (channel != null) {
var moduleValue = require(1391) /* metro dependency 1391: FlagUtils */;
var hasFlag = moduleValue.hasFlag;
var flags = channel.flags;
var IS_GUILD_RESOURCE_CHANNEL = ChannelFlags.IS_GUILD_RESOURCE_CHANNEL;
if (Reflect.apply(hasFlag, moduleValue, [flags, IS_GUILD_RESOURCE_CHANNEL])) {
if ((importDefault(11276) /* metro dependency 11276: isSelectedFromHomeChannelNative */)(channel,
SelectedChannelStore, ChannelSectionStore)) {
return channel.guild_id;
}
return undefined;
}
}
return undefined;
}
}
}
global.__d(_fun86112, 11275, [4791, 1379, 1934, 661, 1386, 632, 1391, 11276, 5103,
2]) /* metro module 11275, dependencies: [4791, 1379, 1934, 661, 1386, 632, 1391, 11276, 5103, 2] */;