/* Metro module 12152; source: actions/ChannelCollapseActionCreators.tsx; dependencies: [4864, 694, 6612, 2] */ import Dispatcher from '../Dispatcher.tsx'; /* Metro dependency 694 */ import UserGuildSettingsStore from '../stores/UserGuildSettingsStore.tsx'; /* Metro dependency 4864 */ import UserGuildSettingsManager from '../modules/user_settings/UserGuildSettingsManager.tsx'; /* Metro dependency 6612 */ import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ function _fun93218(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12338:6, offset: 0x020ab069, size: 133 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object = {update: update_93219, toggleCollapseGuild: toggleCollapseGuild}; (FileImportTrackerModule).fileFinishedImporting('actions/ChannelCollapseActionCreators.tsx'); exports.default = object; function update_93219(a0) { // fn#93219, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12338:109, offset: 0x020ab0ee, size: 54 bytes, params: 2, frame: 13 (Dispatcher).dispatch({type: 'CHANNEL_COLLAPSE', channelId: a0}); } function toggleCollapseGuild(a0) { // fn#93220, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12338:176, offset: 0x020ab124, size: 103 bytes, params: 2, frame: 18 const defaultImport = UserGuildSettingsManager; const saveUserGuildSettings = defaultImport.saveUserGuildSettings; const userGuildSettingsStoreBinding = UserGuildSettingsStore; Reflect.apply(saveUserGuildSettings, defaultImport, [a0, {hide_muted_channels: !userGuildSettingsStoreBinding.isGuildCollapsed(a0)}]); (Dispatcher).dispatch({type: 'GUILD_TOGGLE_COLLAPSE_MUTED', guildId: a0}); } } global.__d(_fun93218, 12152, [4864, 694, 6612, 2]) /* metro module 12152, dependencies: [4864, 694, 6612, 2] */;