/* Metro module 15171; source: components_native/channel_settings/ChannelSettingsModal.tsx; dependencies: [31, 27, 661, 9615, 33, 4501, 697, 15172, 1244, 10935, 15107, 15182, 15183, 15185, 15190, 15191, 15200, 15203, 15210, 15212, 15213, 15214, 15215, 15216, 2] */ import ChannelSettingsNotifications from './ChannelSettingsNotifications.tsx'; /* Metro dependency 10935 */ import PinsScreen from '../../modules/search/native/components/tabs/pages/messages/PinsScreen.tsx'; /* Metro dependency 15107 */ import ChatPreview from '../common/ChatPreview.tsx'; /* Metro dependency 15182 */ import ChannelSettingsInstantInvites from './ChannelSettingsInstantInvites.tsx'; /* Metro dependency 15183 */ import EasyChannelPermissionSettings from '../../modules/channel_permissions/native/components/EasyChannelPermissionSettings.tsx'; /* Metro dependency 15185 */ import ChannelSettingsPermissionsList from './ChannelSettingsPermissionsList.tsx'; /* Metro dependency 15190 */ import ChannelSettingsPermissionsOverrides from './ChannelSettingsPermissionsOverrides.tsx'; /* Metro dependency 15191 */ import ChannelSettingsIntegrationsOverview from './ChannelSettingsIntegrationsOverview.tsx'; /* Metro dependency 15200 */ import IntegrationsSettingsWebhooksOverview from '../../modules/integration_settings/native/IntegrationsSettingsWebhooksOverview.tsx'; /* Metro dependency 15203 */ import IntegrationsSettingsEditWebhook from '../../modules/integration_settings/native/IntegrationsSettingsEditWebhook.tsx'; /* Metro dependency 15210 */ import IntegrationsSettingsEditLinkedLobby from '../../modules/integration_settings/native/IntegrationsSettingsEditLinkedLobby.tsx'; /* Metro dependency 15212 */ import ChannelSettingsChangeCategory from './ChannelSettingsChangeCategory.tsx'; /* Metro dependency 15213 */ import ChannelSettingsChangeRTCRegion from './ChannelSettingsChangeRTCRegion.tsx'; /* Metro dependency 15214 */ import ChannelSettingsEditForumTag from '../../modules/forums/native/ChannelSettingsEditForumTag.tsx'; /* Metro dependency 15215 */ import ChannelSettingsChangeDefaultForumLayout from './ChannelSettingsChangeDefaultForumLayout.tsx'; /* Metro dependency 15216 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ReactNativeModule from '../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */ import * as ReactModule from '../../by-id/module-00031-React.js'; /* Metro dependency 31 */ import * as JsxRuntimeModule from '../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */ import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */ import * as IndexNativeModule from '../../intl/index.native.tsx'; /* Metro dependency 1244 */ import * as CreateStylesModule from '../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */ import * as SearchConstantsModule from '../../modules/search/SearchConstants.tsx'; /* Metro dependency 9615 */ function _fun115812(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#115812, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:6, offset: 0x0246e727, size: 325 bytes, params: 8, frame: 23 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); ReactModule; let value = ConstantsModule; const env0_4 = value.ChannelSettingsSections; const env0_5 = value.SearchTypes; const env0_6 = value.WebhookTypes; const createStyles = (CreateStylesModule).createStyles; object = {}; let MOBILE_ACTIONSHEET_BACKGROUND = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_ACTIONSHEET_BACKGROUND; object.container = {flex: 1, backgroundColor: MOBILE_ACTIONSHEET_BACKGROUND}; MOBILE_ACTIONSHEET_BACKGROUND = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_ACTIONSHEET_BACKGROUND; object.pinsScreen = {flex: 1, backgroundColor: MOBILE_ACTIONSHEET_BACKGROUND}; value = Reflect.apply(createStyles, value, [object]); (FileImportTrackerModule).fileFinishedImporting('components_native/channel_settings/ChannelSettingsModal.tsx'); exports.useChannelSettingsScreensStyles = value; exports.getChannelSettingsScreens = getChannelSettingsScreens; function getChannelSettingsScreens(a0, a1, a2) { // fn#115813, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:570, offset: 0x0246e86c, size: 1165 bytes, params: 4, frame: 21 const env0_0 = a0; const env0_1 = a1; const env0_2 = a2; const object = {}; const OVERVIEW = ChannelSettingsSections.OVERVIEW; object[OVERVIEW] = {render: render_115814}; const NOTIFICATIONS = ChannelSettingsSections.NOTIFICATIONS; const intl = (IndexNativeModule).intl; let string = intl.string; const t = (IndexNativeModule).t; object[NOTIFICATIONS] = {title: Reflect.apply(string, intl, [t.h850Ss]), render: render_115815}; const PINNED_MESSAGES = ChannelSettingsSections.PINNED_MESSAGES; const object4 = {}; object4.title = intl.string(t['mp1N/2']); object4.render = render_115816; object[PINNED_MESSAGES] = object4; const PINNED_CHAT = ChannelSettingsSections.PINNED_CHAT; object[PINNED_CHAT] = {postponeRender: true, render: render_115817}; const INSTANT_INVITES = ChannelSettingsSections.INSTANT_INVITES; object[INSTANT_INVITES] = {title: intl.string(t.ngRFjZ), postponeRender: true, render: render_115818}; const PERMISSIONS = ChannelSettingsSections.PERMISSIONS; object[PERMISSIONS] = {title: intl.string(t.xrmhRX), render: render_115819}; const NEW_PERMISSION = ChannelSettingsSections.NEW_PERMISSION; object[NEW_PERMISSION] = {title: intl.string(t.vPHdP5), postponeRender: true, render: render_115820}; const PERMISSION_OVERRIDES = ChannelSettingsSections.PERMISSION_OVERRIDES; string = intl.string; const D4p9TR = t.D4p9TR; object[PERMISSION_OVERRIDES] = {title: Reflect.apply(string, intl, [D4p9TR]), render: render_115821}; const INTEGRATIONS = ChannelSettingsSections.INTEGRATIONS; string = intl.string; const CIsNZw = t.CIsNZw; object[INTEGRATIONS] = {title: Reflect.apply(string, intl, [CIsNZw]), render: render_115822}; const WEBHOOKS = ChannelSettingsSections.WEBHOOKS; object[WEBHOOKS] = {title: intl.string(t.jp25Id), render: render_115823}; const EDIT_WEBHOOK = ChannelSettingsSections.EDIT_WEBHOOK; const object9 = {}; object9.title = intl.string(t['6SE3L3']); object9.render = render_115824; object[EDIT_WEBHOOK] = object9; const EDIT_LINKED_LOBBY = ChannelSettingsSections.EDIT_LINKED_LOBBY; string = intl.string; const OJknhi = t.OJknhi; object[EDIT_LINKED_LOBBY] = {title: Reflect.apply(string, intl, [OJknhi]), render: render_115825}; const CHANNELS_FOLLOWED = ChannelSettingsSections.CHANNELS_FOLLOWED; string = intl.string; const OrV60r = t.OrV60r; object[CHANNELS_FOLLOWED] = {title: Reflect.apply(string, intl, [OrV60r]), render: render_115826}; const CHANGE_CATEGORY = ChannelSettingsSections.CHANGE_CATEGORY; const object10 = {}; object10.title = intl.string(t['+caQHK']); object10.render = render_115827; object[CHANGE_CATEGORY] = object10; const CHANGE_RTC_REGION = ChannelSettingsSections.CHANGE_RTC_REGION; const object11 = {}; object11.title = intl.string(t['Ms8bX+']); object11.render = render_115828; object[CHANGE_RTC_REGION] = object11; const EDIT_FORUM_TAG = ChannelSettingsSections.EDIT_FORUM_TAG; object[EDIT_FORUM_TAG] = {render: render_115829}; const DEFAULT_FORUM_LAYOUT = ChannelSettingsSections.DEFAULT_FORUM_LAYOUT; const object12 = {}; object12.title = intl.string(t['kQvoC/']); object12.render = render_115830; object[DEFAULT_FORUM_LAYOUT] = object12; return object; function getChannelSettingsScreensRender(a0) { // fn#115814, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:640, owner: getChannelSettingsScreens.render, offset: 0x0246ecf9, size: 75 bytes, params: 2, frame: 16 const value = environment.__proto__; return ((Component) => )(importDefault(15172) /* metro dependency 15172: ChannelSettingsOverview */); } function getChannelSettingsScreensRender_115815() { // fn#115815, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:790, owner: getChannelSettingsScreens.render, offset: 0x0246ed44, size: 50 bytes, params: 1, frame: 14 const value = environment.__proto__; return ((Component) => )(ChannelSettingsNotifications); } function getChannelSettingsScreensRender_115816() { // fn#115816, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:888, owner: getChannelSettingsScreens.render, offset: 0x0246ed76, size: 131 bytes, params: 1, frame: 17 const object = {}; const GUILD_CHANNEL = SearchTypes.GUILD_CHANNEL; object.type = GUILD_CHANNEL; object.guildId = require; object.channelId = env0_0; const pinsScreen = importDefault.pinsScreen; const PINS = SearchTabs.PINS; return ( ); } function getChannelSettingsScreensRender_115817() { // fn#115817, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:1088, owner: getChannelSettingsScreens.render, offset: 0x0246edf9, size: 50 bytes, params: 1, frame: 14 const value = environment.__proto__; return ((Component) => )(ChatPreview); } function getChannelSettingsScreensRender_115818() { // fn#115818, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:1209, owner: getChannelSettingsScreens.render, offset: 0x0246ee2b, size: 39 bytes, params: 1, frame: 13 const value = environment.__proto__; return ((Component) => )(ChannelSettingsInstantInvites); } function getChannelSettingsScreensRender_115819(a0) { // fn#115819, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:1297, owner: getChannelSettingsScreens.render, offset: 0x0246ee52, size: 65 bytes, params: 2, frame: 15 const value = environment.__proto__; return ((Component) => )(EasyChannelPermissionSettings); } function getChannelSettingsScreensRender_115820(a0) { // fn#115820, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:1421, owner: getChannelSettingsScreens.render, offset: 0x0246ee93, size: 60 bytes, params: 2, frame: 14 const value = environment.__proto__; return ((Component) => )(ChannelSettingsPermissionsList); } function getChannelSettingsScreensRender_115821(a0) { // fn#115821, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:1533, owner: getChannelSettingsScreens.render, offset: 0x0246eecf, size: 60 bytes, params: 2, frame: 14 const value = environment.__proto__; return ((Component) => )(ChannelSettingsPermissionsOverrides); } function getChannelSettingsScreensRender_115822(a0) { // fn#115822, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:1637, owner: getChannelSettingsScreens.render, offset: 0x0246ef0b, size: 60 bytes, params: 2, frame: 14 const value = environment.__proto__; return ((Component) => )(ChannelSettingsIntegrationsOverview); } function getChannelSettingsScreensRender_115823() { // fn#115823, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:1737, owner: getChannelSettingsScreens.render, offset: 0x0246ef47, size: 65 bytes, params: 1, frame: 15 const INCOMING = WebhookTypes.INCOMING; return ; } function getChannelSettingsScreensRender_115824(a0) { // fn#115824, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:1863, owner: getChannelSettingsScreens.render, offset: 0x0246ef88, size: 49 bytes, params: 2, frame: 14 const value = environment.__proto__; return ((Component) => )(IntegrationsSettingsEditWebhook); } function getChannelSettingsScreensRender_115825(a0) { // fn#115825, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:1960, owner: getChannelSettingsScreens.render, offset: 0x0246efb9, size: 49 bytes, params: 2, frame: 14 const value = environment.__proto__; return ((Component) => )(IntegrationsSettingsEditLinkedLobby); } function getChannelSettingsScreensRender_115826() { // fn#115826, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:2057, owner: getChannelSettingsScreens.render, offset: 0x0246efea, size: 65 bytes, params: 1, frame: 15 const CHANNEL_FOLLOWER = WebhookTypes.CHANNEL_FOLLOWER; return ; } function getChannelSettingsScreensRender_115827() { // fn#115827, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:2194, owner: getChannelSettingsScreens.render, offset: 0x0246f02b, size: 50 bytes, params: 1, frame: 14 const value = environment.__proto__; return ((Component) => )(ChannelSettingsChangeCategory); } function getChannelSettingsScreensRender_115828() { // fn#115828, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:2302, owner: getChannelSettingsScreens.render, offset: 0x0246f05d, size: 50 bytes, params: 1, frame: 14 const value = environment.__proto__; return ((Component) => )(ChannelSettingsChangeRTCRegion); } function getChannelSettingsScreensRender_115829(a0) { // fn#115829, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:2360, owner: getChannelSettingsScreens.render, offset: 0x0246f08f, size: 60 bytes, params: 2, frame: 14 const value = environment.__proto__; return ((Component) => )(ChannelSettingsEditForumTag); } function getChannelSettingsScreensRender_115830() { // fn#115830, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15368:2475, owner: getChannelSettingsScreens.render, offset: 0x0246f0cb, size: 50 bytes, params: 1, frame: 14 const value = environment.__proto__; return ((Component) => )(ChannelSettingsChangeDefaultForumLayout); } } } global.__d(_fun115812, 15171, [31, 27, 661, 9615, 33, 4501, 697, 15172, 1244, 10935, 15107, 15182, 15183, 15185, 15190, 15191, 15200, 15203, 15210, 15212, 15213, 15214, 15215, 15216, 2]) /* metro module 15171, dependencies: [31, 27, 661, 9615, 33, 4501, 697, 15172, 1244, 10935, 15107, 15182, 15183, 15185, 15190, 15191, 15200, 15203, 15210, 15212, 15213, 15214, 15215, 15216, 2] */;