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,MAM/H40F,EAAQO,kBAHkBA,CAACK,EAAYx1F,IAC5B3uB,OAAO83C,OAAO93C,OAAO83C,OAAO,CAAC,EAAGqsE,GAAa,CAAE7mF,KAAMt9B,OAAO83C,OAAO93C,OAAO83C,OAAO,CAAC,EAAGqsE,EAAW7mF,MAAO,CAAE,CAAC3O,EAAK1wB,IAAK0wB,IAAS7N,MAAO,IAAIqjG,EAAWrjG,MAAO6N,EAAK1wB,MAS1KslH,EAAQM,qBANqBA,CAACM,EAAYx1F,KACtC,MAAM2O,EAAOt9B,OAAO83C,OAAO,CAAC,EAAGqsE,EAAW7mF,MAC1CT,QAAQC,eAAeQ,EAAM3O,EAAK1wB,IAClC,MAAM6iB,EAAQqjG,EAAWrjG,MAAM7gB,QAAQhC,GAAOA,IAAO0wB,EAAK1wB,KAC1D,OAAO+B,OAAO83C,OAAO93C,OAAO83C,OAAO,CAAC,EAAGqsE,GAAa,CAAE7mF,OAAMxc,SAAQ,C","sources":["webpack://mattermost-webapp/./src/actions/views/cookie.js","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/action_types/drafts.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/action_types/errors.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/action_types/playbooks.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/action_types/plugins.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/apps.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/channel_categories.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/channels.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/general.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/emoji.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/request_status.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/roles.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/stats.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/teams.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/users.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/websocket.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/permissions.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/plugins.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/posts.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/preferences.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/constants/threads.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/create_selector/index.js","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/admin.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/channel_categories.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/channels.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/common.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/general.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/i18n.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/posts.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/preferences.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/roles.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/roles_helpers.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/teams.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/selectors/entities/users.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/store/helpers.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/posts.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/store/initial_state.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/admin.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/apps.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/bots.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/channel_bookmarks.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/channel_categories.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/channels/message_counts.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/channels.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/cloud.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/emojis.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/files.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/general.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/groups.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/hosted_customer.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/integrations.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/jobs.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/limits.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/preferences.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/roles.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/scheduled_posts.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/schemes.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/search.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/teams.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/threads/counts.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/threads/threadsInTeam.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/threads/index.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/usage.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/users.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/index.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/entities/typing.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/helpers.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/admin.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/channels.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/files.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/general.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/posts.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/roles.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/search.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/teams.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/users.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/index.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/errors/index.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/requests/index.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/reducers/websocket.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/store/configureStore.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/store/reducer_registry.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/apps.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/array_utils.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/channel_utils.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/deep_freeze.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/helpers.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/i18n_utils.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/key_mirror.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/post_list.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/post_utils.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/preference_utils.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/team_utils.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/timezone_utils.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/utils/user_utils.ts","webpack://mattermost-webapp/./src/utils/plugins/plugin_setting_extraction.tsx","webpack://mattermost-webapp/./src/reducers/plugins/index.ts","webpack://mattermost-webapp/./src/reducers/storage.ts","webpack://mattermost-webapp/./src/reducers/views/add_channel_cta_dropdown.ts","webpack://mattermost-webapp/./src/reducers/views/announcement_bar.ts","webpack://mattermost-webapp/./src/reducers/views/browser.ts","webpack://mattermost-webapp/./src/reducers/views/channel.ts","webpack://mattermost-webapp/./src/reducers/views/channel_selector_modal.ts","webpack://mattermost-webapp/./src/reducers/views/channel_sidebar.ts","webpack://mattermost-webapp/./src/reducers/views/drafts.ts","webpack://mattermost-webapp/./src/reducers/views/emoji.ts","webpack://mattermost-webapp/./src/reducers/views/i18n.ts","webpack://mattermost-webapp/./src/reducers/views/lhs.ts","webpack://mattermost-webapp/./src/reducers/views/marketplace.ts","webpack://mattermost-webapp/./src/reducers/views/modals.ts","webpack://mattermost-webapp/./src/reducers/views/notice.ts","webpack://mattermost-webapp/./src/reducers/views/onboarding_tasks.ts","webpack://mattermost-webapp/./src/reducers/views/posts.ts","webpack://mattermost-webapp/./src/reducers/views/product_menu.ts","webpack://mattermost-webapp/./src/reducers/views/rhs.ts","webpack://mattermost-webapp/./src/reducers/views/search.ts","webpack://mattermost-webapp/./src/reducers/views/system.ts","webpack://mattermost-webapp/./src/reducers/views/textbox.ts","webpack://mattermost-webapp/./src/reducers/views/threads.ts","webpack://mattermost-webapp/./src/reducers/index.ts","webpack://mattermost-webapp/./src/reducers/views/index.ts","webpack://mattermost-webapp/./src/reducers/views/rhs_suppressed.ts","webpack://mattermost-webapp/./src/reducers/views/settings.ts","webpack://mattermost-webapp/./src/reducers/views/admin.ts","webpack://mattermost-webapp/./src/selectors/general.ts","webpack://mattermost-webapp/./src/packages/mattermost-redux/src/store/index.ts","webpack://mattermost-webapp/./src/store/index.js","webpack://mattermost-webapp/./src/utils/constants.tsx","webpack://mattermost-webapp/./src/utils/storage_utils.ts","webpack://mattermost-webapp/../node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://mattermost-webapp/../platform/types/lib/channel_categories.js","webpack://mattermost-webapp/../platform/types/lib/reports.js","webpack://mattermost-webapp/../platform/types/lib/users.js","webpack://mattermost-webapp/../platform/types/lib/utilities.js"],"sourcesContent":["// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nexport function clearUserCookie() {\n // We need to clear the cookie without the domain, with the domain, and with both the domain and path set because we\n // can't tell if the server set the cookie with or without the domain.\n // The server will have set the domain if ServiceSettings.EnableCookiesForSubdomains is true\n // The server will have set a non-default path if Mattermost is also served from a subpath.\n document.cookie = 'MMUSERID=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/';\n document.cookie = `MMUSERID=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=${window.basename}`;\n document.cookie = `MMUSERID=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=${window.location.hostname};path=/`;\n document.cookie = `MMUSERID=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=${window.location.hostname};path=${window.basename}`;\n document.cookie = 'MMCSRF=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/';\n document.cookie = `MMCSRF=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=${window.basename}`;\n document.cookie = `MMCSRF=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=${window.location.hostname};path=/`;\n document.cookie = `MMCSRF=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=${window.location.hostname};path=${window.basename}`;\n}\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport keyMirror from 'mattermost-redux/utils/key_mirror';\n\nexport default keyMirror({\n GET_USER_DRAFTS: null,\n CREATE_USER_DRAFT: null,\n DELETE_USER_DRAFT: null,\n UPDATE_USER_DRAFT: null,\n UPSERT_USER_DRAFT: null,\n\n GET_DRAFTS_FAILURE: null,\n UPSERT_DRAFT_FAILURE: null,\n DELETE_DRAFT_FAILURE: null,\n});\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport keyMirror from 'mattermost-redux/utils/key_mirror';\n\nexport default keyMirror({\n DISMISS_ERROR: null,\n LOG_ERROR: null,\n CLEAR_ERRORS: null,\n RESTORE_ERRORS: null,\n});\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport keyMirror from 'mattermost-redux/utils/key_mirror';\n\n// The actions are created and triggered from the playbooks repository\nexport default keyMirror({\n PLAYBOOKS_PUBLISH_TEMPLATES: null,\n});\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport keyMirror from 'mattermost-redux/utils/key_mirror';\n\nexport default keyMirror({\n RECEIVED_MARKETPLACE_PLUGINS: null,\n GET_MARKETPLACE_PLUGINS_FAILURE: null,\n});\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {AppCallResponseType, AppExpandLevel, AppFieldType} from '@mattermost/types/apps';\n\nexport const AppBindingLocations = {\n POST_MENU_ITEM: '/post_menu',\n CHANNEL_HEADER_ICON: '/channel_header',\n APP_BAR: '/app_bar',\n COMMAND: '/command',\n IN_POST: '/in_post',\n MARKETPLACE: '/marketplace',\n};\n\nexport const AppBindingPresentations = {\n MODAL: 'modal',\n};\n\nexport const AppCallResponseTypes: { [name: string]: AppCallResponseType } = {\n OK: 'ok',\n ERROR: 'error',\n FORM: 'form',\n CALL: 'call',\n NAVIGATE: 'navigate',\n};\n\nexport const AppExpandLevels: { [name: string]: AppExpandLevel } = {\n EXPAND_DEFAULT: '',\n EXPAND_NONE: 'none',\n EXPAND_ALL: 'all',\n EXPAND_SUMMARY: 'summary',\n};\n\nexport const AppFieldTypes: { [name: string]: AppFieldType } = {\n TEXT: 'text',\n STATIC_SELECT: 'static_select',\n DYNAMIC_SELECT: 'dynamic_select',\n BOOL: 'bool',\n USER: 'user',\n CHANNEL: 'channel',\n MARKDOWN: 'markdown',\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {ChannelCategoryType} from '@mattermost/types/channel_categories';\n\nexport const CategoryTypes: {[name: string]: ChannelCategoryType} = {\n FAVORITES: 'favorites',\n CHANNELS: 'channels',\n DIRECT_MESSAGES: 'direct_messages',\n CUSTOM: 'custom',\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nexport const NotificationLevel = {\n DEFAULT: 'default' as const,\n ALL: 'all' as const,\n MENTION: 'mention' as const,\n NONE: 'none' as const,\n};\n\nexport const MarkUnread = {\n ALL: 'all',\n MENTION: 'mention',\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nexport default {\n CONFIG_CHANGED: 'config_changed',\n SERVER_VERSION_CHANGED: 'server_version_changed',\n PAGE_SIZE_DEFAULT: 60,\n PAGE_SIZE_MAXIMUM: 200,\n LOGS_PAGE_SIZE_DEFAULT: 10000,\n AUDITS_CHUNK_SIZE: 100,\n PROFILE_CHUNK_SIZE: 100, // WARN: Do not change this without changing the cache key on server side as well. See https://github.com/mattermost/mattermost/pull/26391.\n CHANNELS_CHUNK_SIZE: 50,\n TEAMS_CHUNK_SIZE: 50,\n JOBS_CHUNK_SIZE: 50,\n SEARCH_TIMEOUT_MILLISECONDS: 100,\n AUTOCOMPLETE_SPLIT_CHARACTERS: ['.', '-', '_'],\n OUT_OF_OFFICE: 'ooo',\n OFFLINE: 'offline',\n AWAY: 'away',\n ONLINE: 'online',\n DND: 'dnd',\n PERMISSIONS_ALL: 'all',\n PERMISSIONS_CHANNEL_ADMIN: 'channel_admin',\n PERMISSIONS_TEAM_ADMIN: 'team_admin',\n PERMISSIONS_SYSTEM_ADMIN: 'system_admin',\n TEAM_GUEST_ROLE: 'team_guest',\n TEAM_USER_ROLE: 'team_user',\n TEAM_ADMIN_ROLE: 'team_admin',\n CHANNEL_GUEST_ROLE: 'channel_guest',\n CHANNEL_USER_ROLE: 'channel_user',\n CHANNEL_ADMIN_ROLE: 'channel_admin',\n SYSTEM_GUEST_ROLE: 'system_guest',\n SYSTEM_USER_ROLE: 'system_user',\n SYSTEM_ADMIN_ROLE: 'system_admin',\n SYSTEM_USER_MANAGER_ROLE: 'system_user_manager',\n SYSTEM_READ_ONLY_ADMIN_ROLE: 'system_read_only_admin',\n SYSTEM_MANAGER_ROLE: 'system_manager',\n SYSTEM_USER_ACCESS_TOKEN_ROLE: 'system_user_access_token',\n SYSTEM_POST_ALL_ROLE: 'system_post_all',\n SYSTEM_POST_ALL_PUBLIC_ROLE: 'system_post_all_public',\n PLAYBOOK_ADMIN_ROLE: 'playbook_admin',\n PLAYBOOK_MEMBER_ROLE: 'playbook_member',\n RUN_ADMIN_ROLE: 'run_admin',\n RUN_MEMBER_ROLE: 'run_member',\n ALLOW_EDIT_POST_ALWAYS: 'always',\n ALLOW_EDIT_POST_NEVER: 'never',\n ALLOW_EDIT_POST_TIME_LIMIT: 'time_limit',\n DEFAULT_POST_EDIT_TIME_LIMIT: 300,\n RESTRICT_DIRECT_MESSAGE_ANY: 'any',\n RESTRICT_DIRECT_MESSAGE_TEAM: 'team',\n SWITCH_TO_DEFAULT_CHANNEL: 'switch_to_default_channel',\n DEFAULT_CHANNEL: 'town-square',\n DM_CHANNEL: 'D' as const,\n OPEN_CHANNEL: 'O' as const,\n PRIVATE_CHANNEL: 'P' as const,\n GM_CHANNEL: 'G' as const,\n ARCHIVED_CHANNEL: 'archive',\n PUSH_NOTIFY_APPLE_REACT_NATIVE: 'apple_rn',\n PUSH_NOTIFY_ANDROID_REACT_NATIVE: 'android_rn',\n STORE_REHYDRATION_COMPLETE: 'store_hydation_complete',\n TEAMMATE_NAME_DISPLAY: {\n SHOW_USERNAME: 'username',\n SHOW_NICKNAME_FULLNAME: 'nickname_full_name',\n SHOW_FULLNAME: 'full_name',\n },\n SPECIAL_MENTIONS: ['all', 'channel', 'here'],\n MAX_USERS_IN_GM: 8,\n MIN_USERS_IN_GM: 3,\n MAX_GROUP_CHANNELS_FOR_PROFILES: 50,\n DEFAULT_LOCALE: 'en',\n DEFAULT_AUTOLINKED_URL_SCHEMES: ['http', 'https', 'ftp', 'mailto', 'tel', 'mattermost'],\n DISABLED: 'disabled',\n DEFAULT_ON: 'default_on',\n DEFAULT_OFF: 'default_off',\n ALWAYS_ON: 'always_on',\n DEFAULT_GROUP: 'board',\n CUSTOM_GROUP_USER_ROLE: 'custom_group_user',\n MAX_GET_ROLES_BY_NAMES: 100,\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nexport default {\n SORT_BY_NAME: 'name',\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {RequestStatusOption} from '@mattermost/types/requests';\n\nconst status: Record = {\n NOT_STARTED: 'not_started',\n STARTED: 'started',\n SUCCESS: 'success',\n FAILURE: 'failure',\n CANCELLED: 'cancelled',\n};\n\nexport default status;\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nexport default {\n MEMBERS: 'members',\n GUESTS: 'guests',\n ADMINS: 'admins',\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport keyMirror from 'mattermost-redux/utils/key_mirror';\n\nexport default keyMirror({\n TOTAL_USERS: null,\n TOTAL_INACTIVE_USERS: null,\n TOTAL_PUBLIC_CHANNELS: null,\n TOTAL_PRIVATE_GROUPS: null,\n TOTAL_POSTS: null,\n TOTAL_TEAMS: null,\n TOTAL_IHOOKS: null,\n TOTAL_OHOOKS: null,\n TOTAL_COMMANDS: null,\n TOTAL_SESSIONS: null,\n POST_PER_DAY: null,\n BOT_POST_PER_DAY: null,\n USERS_WITH_POSTS_PER_DAY: null,\n RECENTLY_ACTIVE_USERS: null,\n NEWLY_CREATED_USERS: null,\n TOTAL_WEBSOCKET_CONNECTIONS: null,\n TOTAL_MASTER_DB_CONNECTIONS: null,\n TOTAL_READ_DB_CONNECTIONS: null,\n DAILY_ACTIVE_USERS: null,\n MONTHLY_ACTIVE_USERS: null,\n REGISTERED_USERS: null,\n TOTAL_FILE_COUNT: null,\n TOTAL_FILE_SIZE: null,\n});\n\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nexport default {\n TEAM_TYPE_OPEN: 'O',\n TEAM_TYPE_INVITE: 'I',\n SORT_USERNAME_OPTION: 'Username',\n} as const;\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nexport default {\n IGNORE_CHANNEL_MENTIONS_ON: 'on',\n IGNORE_CHANNEL_MENTIONS_OFF: 'off',\n IGNORE_CHANNEL_MENTIONS_DEFAULT: 'default',\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nconst WebsocketEvents = {\n POSTED: 'posted',\n POST_EDITED: 'post_edited',\n POST_DELETED: 'post_deleted',\n POST_UNREAD: 'post_unread',\n CHANNEL_CONVERTED: 'channel_converted',\n CHANNEL_CREATED: 'channel_created',\n CHANNEL_DELETED: 'channel_deleted',\n CHANNEL_UNARCHIVED: 'channel_restored',\n CHANNEL_UPDATED: 'channel_updated',\n MULTIPLE_CHANNELS_VIEWED: 'multiple_channels_viewed',\n CHANNEL_MEMBER_UPDATED: 'channel_member_updated',\n CHANNEL_SCHEME_UPDATED: 'channel_scheme_updated',\n DIRECT_ADDED: 'direct_added',\n ADDED_TO_TEAM: 'added_to_team',\n LEAVE_TEAM: 'leave_team',\n UPDATE_TEAM: 'update_team',\n USER_ADDED: 'user_added',\n USER_REMOVED: 'user_removed',\n USER_UPDATED: 'user_updated',\n USER_ROLE_UPDATED: 'user_role_updated',\n ROLE_ADDED: 'role_added',\n ROLE_REMOVED: 'role_removed',\n ROLE_UPDATED: 'role_updated',\n TYPING: 'typing',\n STOP_TYPING: 'stop_typing',\n PREFERENCE_CHANGED: 'preference_changed',\n PREFERENCES_CHANGED: 'preferences_changed',\n PREFERENCES_DELETED: 'preferences_deleted',\n EPHEMERAL_MESSAGE: 'ephemeral_message',\n STATUS_CHANGED: 'status_change',\n HELLO: 'hello',\n WEBRTC: 'webrtc',\n REACTION_ADDED: 'reaction_added',\n REACTION_REMOVED: 'reaction_removed',\n EMOJI_ADDED: 'emoji_added',\n LICENSE_CHANGED: 'license_changed',\n CONFIG_CHANGED: 'config_changed',\n PLUGIN_STATUSES_CHANGED: 'plugin_statuses_changed',\n OPEN_DIALOG: 'open_dialog',\n INCREASE_POST_VISIBILITY_BY_ONE: 'increase_post_visibility_by_one',\n RECEIVED_GROUP: 'received_group',\n RECEIVED_GROUP_ASSOCIATED_TO_TEAM: 'group_associated_to_team',\n RECEIVED_GROUP_NOT_ASSOCIATED_TO_TEAM: 'group_not_associated_to_team',\n RECEIVED_GROUP_ASSOCIATED_TO_CHANNEL: 'group_associated_to_channel',\n RECEIVED_GROUP_NOT_ASSOCIATED_TO_CHANNEL: 'group_not_associated_to_channel',\n THREAD_UPDATED: 'thread_updated',\n THREAD_FOLLOW_CHANGED: 'thread_follow_changed',\n THREAD_READ_CHANGED: 'thread_read_changed',\n FIRST_ADMIN_VISIT_MARKETPLACE_STATUS_RECEIVED: 'first_admin_visit_marketplace_status_received',\n GROUP_MEMBER_DELETED: 'group_member_deleted',\n};\nexport default WebsocketEvents;\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nconst values = {\n INVITE_USER: 'invite_user',\n ADD_USER_TO_TEAM: 'add_user_to_team',\n MANAGE_SLASH_COMMANDS: 'manage_slash_commands',\n MANAGE_OTHERS_SLASH_COMMANDS: 'manage_others_slash_commands',\n CREATE_PUBLIC_CHANNEL: 'create_public_channel',\n CREATE_PRIVATE_CHANNEL: 'create_private_channel',\n MANAGE_PUBLIC_CHANNEL_MEMBERS: 'manage_public_channel_members',\n MANAGE_PRIVATE_CHANNEL_MEMBERS: 'manage_private_channel_members',\n READ_PUBLIC_CHANNEL_GROUPS: 'read_public_channel_groups',\n READ_PRIVATE_CHANNEL_GROUPS: 'read_private_channel_groups',\n ASSIGN_SYSTEM_ADMIN_ROLE: 'assign_system_admin_role',\n MANAGE_ROLES: 'manage_roles',\n MANAGE_TEAM_ROLES: 'manage_team_roles',\n MANAGE_CHANNEL_ROLES: 'manage_channel_roles',\n MANAGE_SYSTEM: 'manage_system',\n CREATE_DIRECT_CHANNEL: 'create_direct_channel',\n CREATE_GROUP_CHANNEL: 'create_group_channel',\n MANAGE_PUBLIC_CHANNEL_PROPERTIES: 'manage_public_channel_properties',\n MANAGE_PRIVATE_CHANNEL_PROPERTIES: 'manage_private_channel_properties',\n LIST_PUBLIC_TEAMS: 'list_public_teams',\n JOIN_PUBLIC_TEAMS: 'join_public_teams',\n LIST_PRIVATE_TEAMS: 'list_private_teams',\n JOIN_PRIVATE_TEAMS: 'join_private_teams',\n LIST_TEAM_CHANNELS: 'list_team_channels',\n JOIN_PUBLIC_CHANNELS: 'join_public_channels',\n DELETE_PUBLIC_CHANNEL: 'delete_public_channel',\n CONVERT_PUBLIC_CHANNEL_TO_PRIVATE: 'convert_public_channel_to_private',\n CONVERT_PRIVATE_CHANNEL_TO_PUBLIC: 'convert_private_channel_to_public',\n DELETE_PRIVATE_CHANNEL: 'delete_private_channel',\n EDIT_OTHER_USERS: 'edit_other_users',\n READ_CHANNEL: 'read_channel',\n READ_CHANNEL_CONTENT: 'read_channel_content',\n READ_PUBLIC_CHANNEL: 'read_public_channel',\n ADD_REACTION: 'add_reaction',\n REMOVE_REACTION: 'remove_reaction',\n REMOVE_OTHERS_REACTIONS: 'remove_others_reactions',\n PERMANENT_DELETE_USER: 'permanent_delete_user',\n UPLOAD_FILE: 'upload_file',\n GET_PUBLIC_LINK: 'get_public_link',\n MANAGE_WEBHOOKS: 'manage_webhooks',\n MANAGE_OTHERS_WEBHOOKS: 'manage_others_webhooks',\n MANAGE_INCOMING_WEBHOOKS: 'manage_incoming_webhooks',\n MANAGE_OTHERS_INCOMING_WEBHOOKS: 'manage_others_incoming_webhooks',\n MANAGE_OUTGOING_WEBHOOKS: 'manage_outgoing_webhooks',\n MANAGE_OTHERS_OUTGOING_WEBHOOKS: 'manage_others_outgoing_webhooks',\n MANAGE_OAUTH: 'manage_oauth',\n MANAGE_OUTGOING_OAUTH_CONNECTIONS: 'manage_outgoing_oauth_connections',\n MANAGE_SYSTEM_WIDE_OAUTH: 'manage_system_wide_oauth',\n CREATE_POST: 'create_post',\n CREATE_POST_PUBLIC: 'create_post_public',\n EDIT_POST: 'edit_post',\n EDIT_OTHERS_POSTS: 'edit_others_posts',\n DELETE_POST: 'delete_post',\n DELETE_OTHERS_POSTS: 'delete_others_posts',\n REMOVE_USER_FROM_TEAM: 'remove_user_from_team',\n CREATE_TEAM: 'create_team',\n MANAGE_TEAM: 'manage_team',\n IMPORT_TEAM: 'import_team',\n VIEW_TEAM: 'view_team',\n LIST_USERS_WITHOUT_TEAM: 'list_users_without_team',\n CREATE_USER_ACCESS_TOKEN: 'create_user_access_token',\n READ_USER_ACCESS_TOKEN: 'read_user_access_token',\n REVOKE_USER_ACCESS_TOKEN: 'revoke_user_access_token',\n MANAGE_JOBS: 'manage_jobs',\n MANAGE_EMOJIS: 'manage_emojis',\n MANAGE_OTHERS_EMOJIS: 'manage_others_emojis',\n CREATE_EMOJIS: 'create_emojis',\n DELETE_EMOJIS: 'delete_emojis',\n DELETE_OTHERS_EMOJIS: 'delete_others_emojis',\n VIEW_MEMBERS: 'view_members',\n INVITE_GUEST: 'invite_guest',\n PROMOTE_GUEST: 'promote_guest',\n DEMOTE_TO_GUEST: 'demote_to_guest',\n USE_CHANNEL_MENTIONS: 'use_channel_mentions',\n USE_GROUP_MENTIONS: 'use_group_mentions',\n READ_OTHER_USERS_TEAMS: 'read_other_users_teams',\n EDIT_BRAND: 'edit_brand',\n READ_JOBS: 'read_jobs',\n DOWNLOAD_COMPLIANCE_EXPORT_RESULT: 'download_compliance_export_result',\n CREATE_LDAP_SYNC_JOB: 'create_ldap_sync_job',\n READ_LDAP_SYNC_JOB: 'read_ldap_sync_job',\n TEST_LDAP: 'test_ldap',\n GET_SAML_METADATA_FROM_IDP: 'get_saml_metadata_from_idp',\n ADD_SAML_PUBLIC_CERT: 'add_saml_public_cert',\n ADD_SAML_PRIVATE_CERT: 'add_saml_private_cert',\n ADD_SAML_IDP_CERT: 'add_saml_idp_cert',\n REMOVE_SAML_PUBLIC_CERT: 'remove_saml_public_cert',\n REMOVE_SAML_PRIVATE_CERT: 'remove_saml_private_cert',\n REMOVE_SAML_IDP_CERT: 'remove_saml_idp_cert',\n GET_SAML_CERT_STATUS: 'get_saml_cert_status',\n ADD_LDAP_PUBLIC_CERT: 'add_ldap_public_cert',\n ADD_LDAP_PRIVATE_CERT: 'add_ldap_private_cert',\n REMOVE_LDAP_PUBLIC_CERT: 'remove_ldap_public_cert',\n REMOVE_LDAP_PRIVATE_CERT: 'remove_ldap_private_cert',\n INVALIDATE_EMAIL_INVITE: 'invalidate_email_invite',\n TEST_SITE_URL: 'test_site_url',\n TEST_ELASTICSEARCH: 'test_elasticsearch',\n TEST_S3: 'test_s3',\n TEST_EMAIL: 'test_email',\n RELOAD_CONFIG: 'reload_config',\n INVALIDATE_CACHES: 'invalidate_caches',\n PURGE_ELASTICSEARCH_INDEXES: 'purge_elasticsearch_indexes',\n RECYCLE_DATABASE_CONNECTIONS: 'recycle_database_connections',\n CREATE_ELASTICSEARCH_POST_INDEXING_JOB: 'create_elasticsearch_post_indexing_job',\n CREATE_ELASTICSEARCH_POST_AGGREGATION_JOB: 'create_elasticsearch_post_aggregation_job',\n READ_ELASTICSEARCH_POST_INDEXING_JOB: 'read_elasticsearch_post_indexing_job',\n READ_ELASTICSEARCH_POST_AGGREGATION_JOB: 'read_elasticsearch_post_aggregation_job',\n USE_SLASH_COMMANDS: 'use_slash_commands',\n\n SYSCONSOLE_READ_ABOUT_EDITION_AND_LICENSE: 'sysconsole_read_about_edition_and_license',\n SYSCONSOLE_WRITE_ABOUT_EDITION_AND_LICENSE: 'sysconsole_write_about_edition_and_license',\n SYSCONSOLE_READ_BILLING: 'sysconsole_read_billing',\n SYSCONSOLE_WRITE_BILLING: 'sysconsole_write_billing',\n SYSCONSOLE_READ_REPORTING_SITE_STATISTICS: 'sysconsole_read_reporting_site_statistics',\n SYSCONSOLE_WRITE_REPORTING_SITE_STATISTICS: 'sysconsole_write_reporting_site_statistics',\n SYSCONSOLE_READ_REPORTING_TEAM_STATISTICS: 'sysconsole_read_reporting_team_statistics',\n SYSCONSOLE_WRITE_REPORTING_TEAM_STATISTICS: 'sysconsole_write_reporting_statistics',\n SYSCONSOLE_READ_REPORTING_SERVER_LOGS: 'sysconsole_read_reporting_server_logs',\n SYSCONSOLE_WRITE_REPORTING_SERVER_LOGS: 'sysconsole_write_reporting_server_logs',\n SYSCONSOLE_READ_USERMANAGEMENT_USERS: 'sysconsole_read_user_management_users',\n SYSCONSOLE_WRITE_USERMANAGEMENT_USERS: 'sysconsole_write_user_management_users',\n SYSCONSOLE_READ_USERMANAGEMENT_GROUPS: 'sysconsole_read_user_management_groups',\n SYSCONSOLE_WRITE_USERMANAGEMENT_GROUPS: 'sysconsole_write_user_management_groups',\n SYSCONSOLE_READ_USERMANAGEMENT_TEAMS: 'sysconsole_read_user_management_teams',\n SYSCONSOLE_WRITE_USERMANAGEMENT_TEAMS: 'sysconsole_write_user_management_teams',\n SYSCONSOLE_READ_USERMANAGEMENT_CHANNELS: 'sysconsole_read_user_management_channels',\n SYSCONSOLE_WRITE_USERMANAGEMENT_CHANNELS: 'sysconsole_write_user_management_channels',\n SYSCONSOLE_READ_USERMANAGEMENT_PERMISSIONS: 'sysconsole_read_user_management_permissions',\n SYSCONSOLE_WRITE_USERMANAGEMENT_PERMISSIONS: 'sysconsole_write_user_management_permissions',\n SYSCONSOLE_READ_USERMANAGEMENT_SYSTEM_ROLES: 'sysconsole_read_user_management_system_roles',\n SYSCONSOLE_WRITE_USERMANAGEMENT_SYSTEM_ROLES: 'sysconsole_write_user_management_system_roles',\n SYSCONSOLE_READ_SITE_CUSTOMIZATION: 'sysconsole_read_site_customization',\n SYSCONSOLE_WRITE_SITE_CUSTOMIZATION: 'sysconsole_write_site_customization',\n SYSCONSOLE_READ_SITE_LOCALIZATION: 'sysconsole_read_site_localization',\n SYSCONSOLE_WRITE_SITE_LOCALIZATION: 'sysconsole_write_site_localization',\n SYSCONSOLE_READ_SITE_USERS_AND_TEAMS: 'sysconsole_read_site_users_and_teams',\n SYSCONSOLE_WRITE_SITE_USERS_AND_TEAMS: 'sysconsole_write_site_users_and_teams',\n SYSCONSOLE_READ_SITE_NOTIFICATIONS: 'sysconsole_read_site_notifications',\n SYSCONSOLE_WRITE_SITE_NOTIFICATIONS: 'sysconsole_write_site_notifications',\n SYSCONSOLE_READ_SITE_ANNOUNCEMENT_BANNER: 'sysconsole_read_site_announcement_banner',\n SYSCONSOLE_WRITE_SITE_ANNOUNCEMENT_BANNER: 'sysconsole_write_site_announcement_banner',\n SYSCONSOLE_READ_SITE_EMOJI: 'sysconsole_read_site_emoji',\n SYSCONSOLE_WRITE_SITE_EMOJI: 'sysconsole_write_site_emoji',\n SYSCONSOLE_READ_SITE_POSTS: 'sysconsole_read_site_posts',\n SYSCONSOLE_WRITE_SITE_POSTS: 'sysconsole_write_site_posts',\n SYSCONSOLE_READ_SITE_FILE_SHARING_AND_DOWNLOADS: 'sysconsole_read_site_file_sharing_and_downloads',\n SYSCONSOLE_WRITE_SITE_FILE_SHARING_AND_DOWNLOADS: 'sysconsole_write_site_file_sharing_and_downloads',\n SYSCONSOLE_READ_SITE_PUBLIC_LINKS: 'sysconsole_read_site_public_links',\n SYSCONSOLE_WRITE_SITE_PUBLIC_LINKS: 'sysconsole_write_site_public_links',\n SYSCONSOLE_READ_SITE_NOTICES: 'sysconsole_read_site_notices',\n SYSCONSOLE_WRITE_SITE_NOTICES: 'sysconsole_write_site_notices',\n SYSCONSOLE_READ_SITE_IP_FILTERS: 'sysconsole_read_site_ip_filters',\n SYSCONSOLE_WRITE_SITE_IP_FILTERS: 'sysconsole_write_site_ip_filters',\n SYSCONSOLE_READ_ENVIRONMENT_WEB_SERVER: 'sysconsole_read_environment_web_server',\n SYSCONSOLE_WRITE_ENVIRONMENT_WEB_SERVER: 'sysconsole_write_environment_web_server',\n SYSCONSOLE_READ_ENVIRONMENT_DATABASE: 'sysconsole_read_environment_database',\n SYSCONSOLE_WRITE_ENVIRONMENT_DATABASE: 'sysconsole_write_environment_database',\n SYSCONSOLE_READ_ENVIRONMENT_ELASTICSEARCH: 'sysconsole_read_environment_elasticsearch',\n SYSCONSOLE_WRITE_ENVIRONMENT_ELASTICSEARCH: 'sysconsole_write_environment_elasticsearch',\n SYSCONSOLE_READ_ENVIRONMENT_FILE_STORAGE: 'sysconsole_read_environment_file_storage',\n SYSCONSOLE_WRITE_ENVIRONMENT_FILE_STORAGE: 'sysconsole_write_environment_file_storage',\n SYSCONSOLE_READ_ENVIRONMENT_IMAGE_PROXY: 'sysconsole_read_environment_image_proxy',\n SYSCONSOLE_WRITE_ENVIRONMENT_IMAGE_PROXY: 'sysconsole_write_environment_image_proxy',\n SYSCONSOLE_READ_ENVIRONMENT_SMTP: 'sysconsole_read_environment_smtp',\n SYSCONSOLE_WRITE_ENVIRONMENT_SMTP: 'sysconsole_write_environment_smtp',\n SYSCONSOLE_READ_ENVIRONMENT_PUSH_NOTIFICATION_SERVER: 'sysconsole_read_environment_push_notification_server',\n SYSCONSOLE_WRITE_ENVIRONMENT_PUSH_NOTIFICATION_SERVER: 'sysconsole_write_environment_push_notification_server',\n SYSCONSOLE_READ_ENVIRONMENT_HIGH_AVAILABILITY: 'sysconsole_read_environment_high_availability',\n SYSCONSOLE_WRITE_ENVIRONMENT_HIGH_AVAILABILITY: 'sysconsole_write_environment_high_availability',\n SYSCONSOLE_READ_ENVIRONMENT_RATE_LIMITING: 'sysconsole_read_environment_rate_limiting',\n SYSCONSOLE_WRITE_ENVIRONMENT_RATE_LIMITING: 'sysconsole_write_environment_rate_limiting',\n SYSCONSOLE_READ_ENVIRONMENT_LOGGING: 'sysconsole_read_environment_logging',\n SYSCONSOLE_WRITE_ENVIRONMENT_LOGGING: 'sysconsole_write_environment_logging',\n SYSCONSOLE_READ_ENVIRONMENT_SESSION_LENGTHS: 'sysconsole_read_environment_session_lengths',\n SYSCONSOLE_WRITE_ENVIRONMENT_SESSION_LENGTHS: 'sysconsole_write_environment_session_lengths',\n SYSCONSOLE_READ_ENVIRONMENT_PERFORMANCE_MONITORING: 'sysconsole_read_environment_performance_monitoring',\n SYSCONSOLE_WRITE_ENVIRONMENT_PERFORMANCE_MONITORING: 'sysconsole_write_environment_performance_monitoring',\n SYSCONSOLE_READ_ENVIRONMENT_DEVELOPER: 'sysconsole_read_environment_developer',\n SYSCONSOLE_WRITE_ENVIRONMENT_DEVELOPER: 'sysconsole_write_environment_developer',\n SYSCONSOLE_READ_AUTHENTICATION_SIGNUP: 'sysconsole_read_authentication_signup',\n SYSCONSOLE_WRITE_AUTHENTICATION_SIGNUP: 'sysconsole_write_authentication_signup',\n SYSCONSOLE_READ_AUTHENTICATION_EMAIL: 'sysconsole_read_authentication_email',\n SYSCONSOLE_WRITE_AUTHENTICATION_EMAIL: 'sysconsole_write_authentication_email',\n SYSCONSOLE_READ_AUTHENTICATION_PASSWORD: 'sysconsole_read_authentication_password',\n SYSCONSOLE_WRITE_AUTHENTICATION_PASSWORD: 'sysconsole_write_authentication_password',\n SYSCONSOLE_READ_AUTHENTICATION_MFA: 'sysconsole_read_authentication_mfa',\n SYSCONSOLE_WRITE_AUTHENTICATION_MFA: 'sysconsole_write_authentication_mfa',\n SYSCONSOLE_READ_AUTHENTICATION_LDAP: 'sysconsole_read_authentication_ldap',\n SYSCONSOLE_WRITE_AUTHENTICATION_LDAP: 'sysconsole_write_authentication_ldap',\n SYSCONSOLE_READ_AUTHENTICATION_SAML: 'sysconsole_read_authentication_saml',\n SYSCONSOLE_WRITE_AUTHENTICATION_SAML: 'sysconsole_write_authentication_saml',\n SYSCONSOLE_READ_AUTHENTICATION_OPENID: 'sysconsole_read_authentication_openid',\n SYSCONSOLE_WRITE_AUTHENTICATION_OPENID: 'sysconsole_write_authentication_openid',\n SYSCONSOLE_READ_AUTHENTICATION_GUEST_ACCESS: 'sysconsole_read_authentication_guest_access',\n SYSCONSOLE_WRITE_AUTHENTICATION_GUEST_ACCESS: 'sysconsole_write_authentication_guest_access',\n SYSCONSOLE_READ_PLUGINS: 'sysconsole_read_plugins',\n SYSCONSOLE_WRITE_PLUGINS: 'sysconsole_write_plugins',\n SYSCONSOLE_READ_INTEGRATIONS_INTEGRATION_MANAGEMENT: 'sysconsole_read_integrations_integration_management',\n SYSCONSOLE_WRITE_INTEGRATIONS_INTEGRATION_MANAGEMENT: 'sysconsole_write_integrations_integration_management',\n SYSCONSOLE_READ_INTEGRATIONS_BOT_ACCOUNTS: 'sysconsole_read_integrations_bot_accounts',\n SYSCONSOLE_WRITE_INTEGRATIONS_BOT_ACCOUNTS: 'sysconsole_write_integrations_bot_accounts',\n SYSCONSOLE_READ_INTEGRATIONS_GIF: 'sysconsole_read_integrations_gif',\n SYSCONSOLE_WRITE_INTEGRATIONS_GIF: 'sysconsole_write_integrations_gif',\n SYSCONSOLE_READ_INTEGRATIONS_CORS: 'sysconsole_read_integrations_cors',\n SYSCONSOLE_WRITE_INTEGRATIONS_CORS: 'sysconsole_write_integrations_cors',\n SYSCONSOLE_READ_COMPLIANCE_DATA_RETENTION_POLICY: 'sysconsole_read_compliance_data_retention_policy',\n SYSCONSOLE_WRITE_COMPLIANCE_DATA_RETENTION_POLICY: 'sysconsole_write_compliance_data_retention_policy',\n SYSCONSOLE_READ_COMPLIANCE_COMPLIANCE_EXPORT: 'sysconsole_read_compliance_compliance_export',\n SYSCONSOLE_WRITE_COMPLIANCE_COMPLIANCE_EXPORT: 'sysconsole_write_compliance_compliance_export',\n SYSCONSOLE_READ_COMPLIANCE_COMPLIANCE_MONITORING: 'sysconsole_read_compliance_compliance_monitoring',\n SYSCONSOLE_WRITE_COMPLIANCE_COMPLIANCE_MONITORING: 'sysconsole_write_compliance_compliance_monitoring',\n SYSCONSOLE_READ_COMPLIANCE_CUSTOM_TERMS_OF_SERVICE: 'sysconsole_read_compliance_custom_terms_of_service',\n SYSCONSOLE_WRITE_COMPLIANCE_CUSTOM_TERMS_OF_SERVICE: 'sysconsole_write_compliance_custom_terms_of_service',\n SYSCONSOLE_READ_EXPERIMENTAL_FEATURES: 'sysconsole_read_experimental_features',\n SYSCONSOLE_WRITE_EXPERIMENTAL_FEATURES: 'sysconsole_write_experimental_features',\n SYSCONSOLE_READ_EXPERIMENTAL_FEATURE_FLAGS: 'sysconsole_read_experimental_feature_flags',\n SYSCONSOLE_WRITE_EXPERIMENTAL_FEATURE_FLAGS: 'sysconsole_write_experimental_feature_flags',\n SYSCONSOLE_READ_EXPERIMENTAL_BLEVE: 'sysconsole_read_experimental_bleve',\n SYSCONSOLE_WRITE_EXPERIMENTAL_BLEVE: 'sysconsole_write_experimental_bleve',\n\n SYSCONSOLE_READ_PRODUCTS_BOARDS: 'sysconsole_read_products_boards',\n SYSCONSOLE_WRITE_PRODUCTS_BOARDS: 'sysconsole_write_products_boards',\n\n PLAYBOOK_PUBLIC_CREATE: 'playbook_public_create',\n PLAYBOOK_PUBLIC_MANAGE_PROPERTIES: 'playbook_public_manage_properties',\n PLAYBOOK_PUBLIC_MANAGE_MEMBERS: 'playbook_public_manage_members',\n PLAYBOOK_PUBLIC_VIEW: 'playbook_public_view',\n PLAYBOOK_PUBLIC_MAKE_PRIVATE: 'playbook_public_make_private',\n\n PLAYBOOK_PRIVATE_CREATE: 'playbook_private_create',\n PLAYBOOK_PRIVATE_MANAGE_PROPERTIES: 'playbook_private_manage_properties',\n PLAYBOOK_PRIVATE_MANAGE_MEMBERS: 'playbook_private_manage_members',\n PLAYBOOK_PRIVATE_VIEW: 'playbook_private_view',\n PLAYBOOK_PRIVATE_MAKE_PUBLIC: 'playbook_private_make_public',\n\n RUN_CREATE: 'run_create',\n RUN_MANAGE_PROPERTIES: 'run_manage_properties',\n RUN_MANAGE_MEMBERS: 'run_manage_members',\n RUN_VIEW: 'run_view',\n\n CHANNEL_MODERATED_PERMISSIONS: {\n CREATE_POST: 'create_post',\n CREATE_REACTIONS: 'create_reactions',\n MANAGE_MEMBERS: 'manage_members',\n USE_CHANNEL_MENTIONS: 'use_channel_mentions',\n MANAGE_BOOKMARKS: 'manage_bookmarks',\n },\n MANAGE_BOTS: 'manage_bots',\n MANAGE_OTHERS_BOTS: 'manage_others_bots',\n SYSCONSOLE_READ_PERMISSIONS: [] as string[],\n SYSCONSOLE_WRITE_PERMISSIONS: [] as string[],\n MANAGE_SHARED_CHANNELS: 'manage_shared_channels',\n MANAGE_SECURE_CONNECTIONS: 'manage_secure_connections',\n\n CREATE_CUSTOM_GROUP: 'create_custom_group',\n MANAGE_CUSTOM_GROUP_MEMBERS: 'manage_custom_group_members',\n EDIT_CUSTOM_GROUP: 'edit_custom_group',\n DELETE_CUSTOM_GROUP: 'delete_custom_group',\n RESTORE_CUSTOM_GROUP: 'restore_custom_group',\n\n ADD_BOOKMARK_PUBLIC_CHANNEL: 'add_bookmark_public_channel',\n EDIT_BOOKMARK_PUBLIC_CHANNEL: 'edit_bookmark_public_channel',\n DELETE_BOOKMARK_PUBLIC_CHANNEL: 'delete_bookmark_public_channel',\n ORDER_BOOKMARK_PUBLIC_CHANNEL: 'order_bookmark_public_channel',\n ADD_BOOKMARK_PRIVATE_CHANNEL: 'add_bookmark_private_channel',\n EDIT_BOOKMARK_PRIVATE_CHANNEL: 'edit_bookmark_private_channel',\n DELETE_BOOKMARK_PRIVATE_CHANNEL: 'delete_bookmark_private_channel',\n ORDER_BOOKMARK_PRIVATE_CHANNEL: 'order_bookmark_private_channel',\n};\n\nvalues.SYSCONSOLE_READ_PERMISSIONS = [\n values.SYSCONSOLE_READ_ABOUT_EDITION_AND_LICENSE,\n values.SYSCONSOLE_READ_BILLING,\n values.SYSCONSOLE_READ_REPORTING_SITE_STATISTICS,\n values.SYSCONSOLE_READ_REPORTING_TEAM_STATISTICS,\n values.SYSCONSOLE_READ_REPORTING_SERVER_LOGS,\n values.SYSCONSOLE_READ_USERMANAGEMENT_USERS,\n values.SYSCONSOLE_READ_USERMANAGEMENT_GROUPS,\n values.SYSCONSOLE_READ_USERMANAGEMENT_TEAMS,\n values.SYSCONSOLE_READ_USERMANAGEMENT_CHANNELS,\n values.SYSCONSOLE_READ_USERMANAGEMENT_PERMISSIONS,\n values.SYSCONSOLE_READ_SITE_CUSTOMIZATION,\n values.SYSCONSOLE_READ_SITE_LOCALIZATION,\n values.SYSCONSOLE_READ_SITE_USERS_AND_TEAMS,\n values.SYSCONSOLE_READ_SITE_NOTIFICATIONS,\n values.SYSCONSOLE_READ_SITE_ANNOUNCEMENT_BANNER,\n values.SYSCONSOLE_READ_SITE_EMOJI,\n values.SYSCONSOLE_READ_SITE_POSTS,\n values.SYSCONSOLE_READ_SITE_FILE_SHARING_AND_DOWNLOADS,\n values.SYSCONSOLE_READ_SITE_PUBLIC_LINKS,\n values.SYSCONSOLE_READ_SITE_NOTICES,\n values.SYSCONSOLE_READ_ENVIRONMENT_WEB_SERVER,\n values.SYSCONSOLE_READ_ENVIRONMENT_DATABASE,\n values.SYSCONSOLE_READ_ENVIRONMENT_ELASTICSEARCH,\n values.SYSCONSOLE_READ_ENVIRONMENT_FILE_STORAGE,\n values.SYSCONSOLE_READ_ENVIRONMENT_IMAGE_PROXY,\n values.SYSCONSOLE_READ_ENVIRONMENT_SMTP,\n values.SYSCONSOLE_READ_ENVIRONMENT_PUSH_NOTIFICATION_SERVER,\n values.SYSCONSOLE_READ_ENVIRONMENT_HIGH_AVAILABILITY,\n values.SYSCONSOLE_READ_ENVIRONMENT_RATE_LIMITING,\n values.SYSCONSOLE_READ_ENVIRONMENT_LOGGING,\n values.SYSCONSOLE_READ_ENVIRONMENT_SESSION_LENGTHS,\n values.SYSCONSOLE_READ_ENVIRONMENT_PERFORMANCE_MONITORING,\n values.SYSCONSOLE_READ_ENVIRONMENT_DEVELOPER,\n values.SYSCONSOLE_READ_AUTHENTICATION_SIGNUP,\n values.SYSCONSOLE_READ_AUTHENTICATION_EMAIL,\n values.SYSCONSOLE_READ_AUTHENTICATION_PASSWORD,\n values.SYSCONSOLE_READ_AUTHENTICATION_MFA,\n values.SYSCONSOLE_READ_AUTHENTICATION_LDAP,\n values.SYSCONSOLE_READ_AUTHENTICATION_SAML,\n values.SYSCONSOLE_READ_AUTHENTICATION_OPENID,\n values.SYSCONSOLE_READ_AUTHENTICATION_GUEST_ACCESS,\n values.SYSCONSOLE_READ_PLUGINS,\n values.SYSCONSOLE_READ_INTEGRATIONS_INTEGRATION_MANAGEMENT,\n values.SYSCONSOLE_READ_INTEGRATIONS_BOT_ACCOUNTS,\n values.SYSCONSOLE_READ_INTEGRATIONS_GIF,\n values.SYSCONSOLE_READ_INTEGRATIONS_CORS,\n values.SYSCONSOLE_READ_COMPLIANCE_DATA_RETENTION_POLICY,\n values.SYSCONSOLE_READ_COMPLIANCE_COMPLIANCE_EXPORT,\n values.SYSCONSOLE_READ_COMPLIANCE_COMPLIANCE_MONITORING,\n values.SYSCONSOLE_READ_COMPLIANCE_CUSTOM_TERMS_OF_SERVICE,\n values.SYSCONSOLE_READ_EXPERIMENTAL_FEATURES,\n values.SYSCONSOLE_READ_EXPERIMENTAL_FEATURE_FLAGS,\n values.SYSCONSOLE_READ_EXPERIMENTAL_BLEVE,\n values.SYSCONSOLE_READ_PRODUCTS_BOARDS,\n];\n\nvalues.SYSCONSOLE_WRITE_PERMISSIONS = [\n values.SYSCONSOLE_WRITE_ABOUT_EDITION_AND_LICENSE,\n values.SYSCONSOLE_WRITE_BILLING,\n values.SYSCONSOLE_WRITE_REPORTING_SITE_STATISTICS,\n values.SYSCONSOLE_WRITE_REPORTING_TEAM_STATISTICS,\n values.SYSCONSOLE_WRITE_REPORTING_SERVER_LOGS,\n values.SYSCONSOLE_WRITE_USERMANAGEMENT_USERS,\n values.SYSCONSOLE_WRITE_USERMANAGEMENT_GROUPS,\n values.SYSCONSOLE_WRITE_USERMANAGEMENT_TEAMS,\n values.SYSCONSOLE_WRITE_USERMANAGEMENT_CHANNELS,\n values.SYSCONSOLE_WRITE_USERMANAGEMENT_PERMISSIONS,\n values.SYSCONSOLE_WRITE_SITE_CUSTOMIZATION,\n values.SYSCONSOLE_WRITE_SITE_LOCALIZATION,\n values.SYSCONSOLE_WRITE_SITE_USERS_AND_TEAMS,\n values.SYSCONSOLE_WRITE_SITE_NOTIFICATIONS,\n values.SYSCONSOLE_WRITE_SITE_ANNOUNCEMENT_BANNER,\n values.SYSCONSOLE_WRITE_SITE_EMOJI,\n values.SYSCONSOLE_WRITE_SITE_POSTS,\n values.SYSCONSOLE_WRITE_SITE_FILE_SHARING_AND_DOWNLOADS,\n values.SYSCONSOLE_WRITE_SITE_PUBLIC_LINKS,\n values.SYSCONSOLE_WRITE_SITE_NOTICES,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_WEB_SERVER,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_DATABASE,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_ELASTICSEARCH,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_FILE_STORAGE,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_IMAGE_PROXY,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_SMTP,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_PUSH_NOTIFICATION_SERVER,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_HIGH_AVAILABILITY,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_RATE_LIMITING,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_LOGGING,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_SESSION_LENGTHS,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_PERFORMANCE_MONITORING,\n values.SYSCONSOLE_WRITE_ENVIRONMENT_DEVELOPER,\n values.SYSCONSOLE_WRITE_AUTHENTICATION_SIGNUP,\n values.SYSCONSOLE_WRITE_AUTHENTICATION_EMAIL,\n values.SYSCONSOLE_WRITE_AUTHENTICATION_PASSWORD,\n values.SYSCONSOLE_WRITE_AUTHENTICATION_MFA,\n values.SYSCONSOLE_WRITE_AUTHENTICATION_LDAP,\n values.SYSCONSOLE_WRITE_AUTHENTICATION_SAML,\n values.SYSCONSOLE_WRITE_AUTHENTICATION_OPENID,\n values.SYSCONSOLE_WRITE_AUTHENTICATION_GUEST_ACCESS,\n values.SYSCONSOLE_WRITE_PLUGINS,\n values.SYSCONSOLE_WRITE_INTEGRATIONS_INTEGRATION_MANAGEMENT,\n values.SYSCONSOLE_WRITE_INTEGRATIONS_BOT_ACCOUNTS,\n values.SYSCONSOLE_WRITE_INTEGRATIONS_GIF,\n values.SYSCONSOLE_WRITE_INTEGRATIONS_CORS,\n values.SYSCONSOLE_WRITE_COMPLIANCE_DATA_RETENTION_POLICY,\n values.SYSCONSOLE_WRITE_COMPLIANCE_COMPLIANCE_EXPORT,\n values.SYSCONSOLE_WRITE_COMPLIANCE_COMPLIANCE_MONITORING,\n values.SYSCONSOLE_WRITE_COMPLIANCE_CUSTOM_TERMS_OF_SERVICE,\n values.SYSCONSOLE_WRITE_EXPERIMENTAL_FEATURES,\n values.SYSCONSOLE_WRITE_EXPERIMENTAL_FEATURE_FLAGS,\n values.SYSCONSOLE_WRITE_EXPERIMENTAL_BLEVE,\n values.SYSCONSOLE_WRITE_PRODUCTS_BOARDS,\n];\n\nexport default values;\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nexport default {\n PLUGIN_STATE_NOT_RUNNING: 0,\n PLUGIN_STATE_STARTING: 1,\n PLUGIN_STATE_RUNNING: 2,\n PLUGIN_STATE_FAILED_TO_START: 3,\n PLUGIN_STATE_FAILED_TO_STAY_RUNNING: 4,\n PLUGIN_STATE_STOPPING: 5,\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {PostType} from '@mattermost/types/posts';\n\nexport const PostTypes = {\n CHANNEL_DELETED: 'system_channel_deleted' as PostType,\n CHANNEL_UNARCHIVED: 'system_channel_restored' as PostType,\n DISPLAYNAME_CHANGE: 'system_displayname_change' as PostType,\n CONVERT_CHANNEL: 'system_convert_channel' as PostType,\n EPHEMERAL: 'system_ephemeral' as PostType,\n EPHEMERAL_ADD_TO_CHANNEL: 'system_ephemeral_add_to_channel' as PostType,\n HEADER_CHANGE: 'system_header_change' as PostType,\n PURPOSE_CHANGE: 'system_purpose_change' as PostType,\n\n JOIN_LEAVE: 'system_join_leave' as PostType,\n JOIN_CHANNEL: 'system_join_channel' as PostType,\n GUEST_JOIN_CHANNEL: 'system_guest_join_channel' as PostType,\n LEAVE_CHANNEL: 'system_leave_channel' as PostType,\n JOIN_LEAVE_CHANNEL: 'system_join_leave_channel' as PostType,\n ADD_REMOVE: 'system_add_remove' as PostType,\n ADD_TO_CHANNEL: 'system_add_to_channel' as PostType,\n ADD_GUEST_TO_CHANNEL: 'system_add_guest_to_chan' as PostType,\n REMOVE_FROM_CHANNEL: 'system_remove_from_channel' as PostType,\n\n JOIN_TEAM: 'system_join_team' as PostType,\n LEAVE_TEAM: 'system_leave_team' as PostType,\n ADD_TO_TEAM: 'system_add_to_team' as PostType,\n REMOVE_FROM_TEAM: 'system_remove_from_team' as PostType,\n\n COMBINED_USER_ACTIVITY: 'system_combined_user_activity' as PostType,\n ME: 'me' as PostType,\n ADD_BOT_TEAMS_CHANNELS: 'add_bot_teams_channels' as PostType,\n REMINDER: 'reminder' as PostType,\n WRANGLER: 'system_wrangler' as PostType,\n GM_CONVERTED_TO_CHANNEL: 'system_gm_to_channel' as PostType,\n};\n\nexport default {\n POST_CHUNK_SIZE: 60,\n POST_DELETED: 'DELETED',\n SYSTEM_MESSAGE_PREFIX: 'system_',\n SYSTEM_AUTO_RESPONDER: 'system_auto_responder',\n POST_TYPES: PostTypes,\n MESSAGE_TYPES: {\n POST: 'post',\n COMMENT: 'comment',\n },\n MAX_PREV_MSGS: 100,\n POST_COLLAPSE_TIMEOUT: 1000 * 60 * 5, // five minutes\n IGNORE_POST_TYPES: [\n PostTypes.ADD_REMOVE,\n PostTypes.ADD_TO_CHANNEL,\n PostTypes.CHANNEL_DELETED,\n PostTypes.CHANNEL_UNARCHIVED,\n PostTypes.JOIN_LEAVE,\n PostTypes.JOIN_CHANNEL,\n PostTypes.LEAVE_CHANNEL,\n PostTypes.REMOVE_FROM_CHANNEL,\n PostTypes.JOIN_TEAM,\n PostTypes.LEAVE_TEAM,\n PostTypes.ADD_TO_TEAM,\n PostTypes.REMOVE_FROM_TEAM,\n ],\n USER_ACTIVITY_POST_TYPES: [\n PostTypes.ADD_TO_CHANNEL,\n PostTypes.JOIN_CHANNEL,\n PostTypes.LEAVE_CHANNEL,\n PostTypes.REMOVE_FROM_CHANNEL,\n PostTypes.ADD_TO_TEAM,\n PostTypes.JOIN_TEAM,\n PostTypes.LEAVE_TEAM,\n PostTypes.REMOVE_FROM_TEAM,\n ],\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {Theme, ThemeKey} from 'mattermost-redux/selectors/entities/preferences';\n\nconst Preferences = {\n APP_BAR: 'app_bar',\n CATEGORY_CHANNEL_OPEN_TIME: 'channel_open_time',\n CATEGORY_CHANNEL_APPROXIMATE_VIEW_TIME: 'channel_approximate_view_time',\n CATEGORY_DIRECT_CHANNEL_SHOW: 'direct_channel_show',\n CATEGORY_GROUP_CHANNEL_SHOW: 'group_channel_show',\n CATEGORY_FLAGGED_POST: 'flagged_post',\n CATEGORY_AUTO_RESET_MANUAL_STATUS: 'auto_reset_manual_status',\n CATEGORY_NOTIFICATIONS: 'notifications',\n COLLAPSED_REPLY_THREADS: 'collapsed_reply_threads',\n COLLAPSED_REPLY_THREADS_OFF: 'off',\n COLLAPSED_REPLY_THREADS_ON: 'on',\n COLLAPSED_REPLY_THREADS_FALLBACK_DEFAULT: 'off',\n COMMENTS: 'comments',\n COMMENTS_ANY: 'any',\n COMMENTS_ROOT: 'root',\n COMMENTS_NEVER: 'never',\n EMAIL: 'email',\n EMAIL_INTERVAL: 'email_interval',\n INTERVAL_FIFTEEN_MINUTES: 15 * 60,\n INTERVAL_HOUR: 60 * 60,\n INTERVAL_IMMEDIATE: 30,\n\n // \"immediate\" is a 30 second interval\n INTERVAL_NEVER: 0,\n INTERVAL_NOT_SET: -1,\n CATEGORY_DISPLAY_SETTINGS: 'display_settings',\n NAME_NAME_FORMAT: 'name_format',\n DISPLAY_PREFER_NICKNAME: 'nickname_full_name',\n DISPLAY_PREFER_FULL_NAME: 'full_name',\n DISPLAY_PREFER_USERNAME: 'username',\n MENTION_KEYS: 'mention_keys',\n USE_MILITARY_TIME: 'use_military_time',\n\n CATEGORY_CUSTOM_STATUS: 'custom_status',\n NAME_CUSTOM_STATUS_TUTORIAL_STATE: 'custom_status_tutorial_state',\n NAME_RECENT_CUSTOM_STATUSES: 'recent_custom_statuses',\n CUSTOM_STATUS_MODAL_VIEWED: 'custom_status_modal_viewed',\n\n CATEGORY_SIDEBAR_SETTINGS: 'sidebar_settings',\n CHANNEL_SIDEBAR_ORGANIZATION: 'channel_sidebar_organization',\n LIMIT_VISIBLE_DMS_GMS: 'limit_visible_dms_gms',\n SHOW_UNREAD_SECTION: 'show_unread_section',\n CATEGORY_ADVANCED_SETTINGS: 'advanced_settings',\n ADVANCED_FILTER_JOIN_LEAVE: 'join_leave',\n ADVANCED_CODE_BLOCK_ON_CTRL_ENTER: 'code_block_ctrl_enter',\n ADVANCED_SEND_ON_CTRL_ENTER: 'send_on_ctrl_enter',\n ADVANCED_SYNC_DRAFTS: 'sync_drafts',\n CATEGORY_WHATS_NEW_MODAL: 'whats_new_modal',\n HAS_SEEN_SIDEBAR_WHATS_NEW_MODAL: 'has_seen_sidebar_whats_new_modal',\n\n CATEGORY_PERFORMANCE_DEBUGGING: 'performance_debugging',\n NAME_DISABLE_CLIENT_PLUGINS: 'disable_client_plugins',\n NAME_DISABLE_TELEMETRY: 'disable_telemetry',\n NAME_DISABLE_TYPING_MESSAGES: 'disable_typing_messages',\n\n UNREAD_SCROLL_POSITION: 'unread_scroll_position',\n UNREAD_SCROLL_POSITION_START_FROM_LEFT: 'start_from_left_off',\n UNREAD_SCROLL_POSITION_START_FROM_NEWEST: 'start_from_newest',\n\n CATEGORY_UPGRADE_CLOUD: 'upgrade_cloud',\n SYSTEM_CONSOLE_LIMIT_REACHED: 'system_console_limit_reached',\n\n NEW_CHANNEL_WITH_BOARD_TOUR_SHOWED: 'channel_with_board_tip_showed',\n\n CATEGORY_ONBOARDING: 'category_onboarding',\n\n CATEGORY_DRAFTS: 'drafts',\n DRAFTS_TOUR_TIP_SHOWED: 'drafts_tour_tip_showed',\n\n CATEGORY_REPORTING: 'reporting',\n\n HIDE_BATCH_EXPORT_CONFIRM_MODAL: 'hide_batch_export_confirm_modal',\n HIDE_MYSQL_STATS_NOTIFICATION: 'hide_mysql_stats_notifcation',\n\n CATEGORY_OVERAGE_USERS_BANNER: 'overage_users_banner',\n\n CATEGORY_THEME: 'theme',\n THEMES: {\n denim: {\n type: 'Denim',\n sidebarBg: '#1e325c',\n sidebarText: '#ffffff',\n sidebarUnreadText: '#ffffff',\n sidebarTextHoverBg: '#28427b',\n sidebarTextActiveBorder: '#5d89ea',\n sidebarTextActiveColor: '#ffffff',\n sidebarHeaderBg: '#192a4d',\n sidebarHeaderTextColor: '#ffffff',\n sidebarTeamBarBg: '#162545',\n onlineIndicator: '#3db887',\n awayIndicator: '#ffbc1f',\n dndIndicator: '#d24b4e',\n mentionBg: '#ffffff',\n mentionBj: '#ffffff',\n mentionColor: '#1e325c',\n centerChannelBg: '#ffffff',\n centerChannelColor: '#3f4350',\n newMessageSeparator: '#cc8f00',\n linkColor: '#386fe5',\n buttonBg: '#1c58d9',\n buttonColor: '#ffffff',\n errorTextColor: '#d24b4e',\n mentionHighlightBg: '#ffd470',\n mentionHighlightLink: '#1b1d22',\n codeTheme: 'github',\n },\n sapphire: {\n type: 'Sapphire',\n sidebarBg: '#1543a3',\n sidebarText: '#ffffff',\n sidebarUnreadText: '#ffffff',\n sidebarTextHoverBg: '#2a58ba',\n sidebarTextActiveBorder: '#57b5f0',\n sidebarTextActiveColor: '#ffffff',\n sidebarHeaderBg: '#123b91',\n sidebarHeaderTextColor: '#ffffff',\n sidebarTeamBarBg: '#123582',\n onlineIndicator: '#3db887',\n awayIndicator: '#ffbc1f',\n dndIndicator: '#d24b4e',\n mentionBg: '#ffffff',\n mentionBj: '#ffffff',\n mentionColor: '#174ab5',\n centerChannelBg: '#ffffff',\n centerChannelColor: '#3f4350',\n newMessageSeparator: '#15b7b7',\n linkColor: '#1c58d9',\n buttonBg: '#1c58d9',\n buttonColor: '#ffffff',\n errorTextColor: '#d24b4e',\n mentionHighlightBg: '#7ff0f0',\n mentionHighlightLink: '#0d6e6e',\n codeTheme: 'github',\n },\n quartz: {\n type: 'Quartz',\n sidebarBg: '#f4f4f6',\n sidebarText: '#1f2228',\n sidebarUnreadText: '#1f2228',\n sidebarTextHoverBg: '#e8eaed',\n sidebarTextActiveBorder: '#32a4ec',\n sidebarTextActiveColor: '#1f2228',\n sidebarHeaderBg: '#ebecef',\n sidebarHeaderTextColor: '#1f2228',\n sidebarTeamBarBg: '#e5e7eb',\n onlineIndicator: '#3db887',\n awayIndicator: '#f5ab07',\n dndIndicator: '#d24b4e',\n mentionBg: '#1c58d9',\n mentionBj: '#1c58d9',\n mentionColor: '#ffffff',\n centerChannelBg: '#ffffff',\n centerChannelColor: '#3f4350',\n newMessageSeparator: '#15b7b7',\n linkColor: '#1c58d9',\n buttonBg: '#1c58d9',\n buttonColor: '#ffffff',\n errorTextColor: '#d24b4e',\n mentionHighlightBg: '#7ff0f0',\n mentionHighlightLink: '#0d6e6e',\n codeTheme: 'github',\n },\n indigo: {\n type: 'Indigo',\n sidebarBg: '#151e32',\n sidebarText: '#ffffff',\n sidebarUnreadText: '#ffffff',\n sidebarTextHoverBg: '#222c3f',\n sidebarTextActiveBorder: '#4a7ce8',\n sidebarTextActiveColor: '#ffffff',\n sidebarHeaderBg: '#182339',\n sidebarHeaderTextColor: '#ffffff',\n sidebarTeamBarBg: '#1c2740',\n onlineIndicator: '#3db887',\n awayIndicator: '#f5ab00',\n dndIndicator: '#d24b4e',\n mentionBg: '#4a7ce8',\n mentionBj: '#4a7ce8',\n mentionColor: '#ffffff',\n centerChannelBg: '#111827',\n centerChannelColor: '#dddfe4',\n newMessageSeparator: '#81a3ef',\n linkColor: '#5d89ea',\n buttonBg: '#4a7ce8',\n buttonColor: '#ffffff',\n errorTextColor: '#d24b4e',\n mentionHighlightBg: '#133a91',\n mentionHighlightLink: '#a4f4f4',\n codeTheme: 'solarized-dark',\n },\n onyx: {\n type: 'Onyx',\n sidebarBg: '#202228',\n sidebarText: '#ffffff',\n sidebarUnreadText: '#ffffff',\n sidebarTextHoverBg: '#25262a',\n sidebarTextActiveBorder: '#4a7ce8',\n sidebarTextActiveColor: '#ffffff',\n sidebarHeaderBg: '#24272d',\n sidebarHeaderTextColor: '#ffffff',\n sidebarTeamBarBg: '#292c33',\n onlineIndicator: '#3db887',\n awayIndicator: '#f5ab00',\n dndIndicator: '#d24b4e',\n mentionBg: '#4b7ce7',\n mentionBj: '#4b7ce7',\n mentionColor: '#ffffff',\n centerChannelBg: '#191b1f',\n centerChannelColor: '#e3e4e8',\n newMessageSeparator: '#1adbdb',\n linkColor: '#5d89ea',\n buttonBg: '#4a7ce8',\n buttonColor: '#ffffff',\n errorTextColor: '#da6c6e',\n mentionHighlightBg: '#0d6e6e',\n mentionHighlightLink: '#a4f4f4',\n codeTheme: 'monokai',\n },\n } as Record,\n RECENT_EMOJIS: 'recent_emojis',\n};\n\nexport default Preferences;\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nexport default {\n THREADS_CHUNK_SIZE: 20,\n THREADS_PAGE_SIZE: 25,\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\n/* eslint-disable */\n\n// Generates a RFC-4122 version 4 compliant globally unique identifier.\nexport function generateId() {\n // implementation taken from http://stackoverflow.com/a/2117523\n let id = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx';\n id = id.replace(/[xy]/g, (c) => {\n const r = Math.floor(Math.random() * 16);\n let v;\n\n if (c === 'x') {\n v = r;\n } else {\n // eslint-disable-next-line no-mixed-operators\n v = r & 0x3 | 0x8;\n }\n\n return v.toString(16);\n });\n return id;\n}\n\nfunction defaultEqualityCheck(a, b) {\n return a === b;\n}\n\nfunction areArgumentsShallowlyEqual(equalityCheck, prev, next) {\n if (prev === null || next === null || prev.length !== next.length) {\n return false;\n }\n\n // Do this in a for loop (and not a `forEach` or an `every`) so we can determine equality as fast as possible.\n const length = prev.length;\n for (let i = 0; i < length; i++) {\n if (!equalityCheck(prev[i], next[i])) {\n return false;\n }\n }\n\n return true;\n}\n\nexport function defaultMemoize(func, measure, equalityCheck = defaultEqualityCheck) {\n let lastArgs = null\n let lastResult = null\n // we reference arguments instead of spreading them for performance reasons\n return function () {\n if (!areArgumentsShallowlyEqual(equalityCheck, lastArgs, arguments)) {\n // apply arguments instead of spreading for performance.\n lastResult = func.apply(null, arguments)\n }\n\n if (measure) {\n measure();\n }\n lastArgs = arguments\n return lastResult\n }\n}\n\nfunction getDependencies(funcs) {\n const dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs;\n\n if (!dependencies.every((dep) => typeof dep === 'function')) {\n const dependencyTypes = dependencies.map(\n (dep) => typeof dep,\n ).join(', ');\n throw new Error(\n 'Selector creators expect all input-selectors to be functions, ' +\n `instead received the following types: [${dependencyTypes}]`,\n );\n }\n\n return dependencies;\n}\n\nconst trackedSelectors = {};\n\nexport function createSelectorCreator(memoize, ...memoizeOptions) {\n return (name, ...funcs) => {\n const id = generateId();\n let recomputations = 0;\n let calls = 0;\n const resultFunc = funcs.pop();\n const dependencies = getDependencies(funcs);\n\n const memoizedResultFunc = memoize(\n function() {\n recomputations++;\n trackedSelectors[id].recomputations++;\n\n // apply arguments instead of spreading for performance.\n return resultFunc?.apply(null, arguments);\n },\n null,\n ...memoizeOptions,\n );\n\n // If a selector is called with the exact same arguments we don't need to traverse our dependencies again.\n const selector = memoize(function() {\n const params = [];\n const length = dependencies.length;\n\n for (let i = 0; i < length; i++) {\n // apply arguments instead of spreading and mutate a local list of params for performance.\n params.push(dependencies[i].apply(null, arguments));\n }\n\n // apply arguments instead of spreading for performance.\n return memoizedResultFunc.apply(null, params);\n },\n () => {\n calls++;\n trackedSelectors[id].calls++;\n });\n\n selector.resultFunc = resultFunc;\n selector.dependencies = dependencies;\n selector.recomputations = () => recomputations;\n selector.resetRecomputations = () => recomputations = 0;\n\n trackedSelectors[id] = {\n id,\n name,\n calls: 0,\n recomputations: 0,\n };\n\n return selector;\n };\n}\n\nexport const createSelector = /* #__PURE__ */ createSelectorCreator(defaultMemoize);\n\nexport function createStructuredSelector(selectors, selectorCreator = createSelector) {\n if (typeof selectors !== 'object') {\n throw new Error(\n 'createStructuredSelector expects first argument to be an object ' +\n `where each property is a selector, instead received a ${typeof selectors}`,\n );\n }\n const objectKeys = Object.keys(selectors);\n return selectorCreator(\n objectKeys.map((key) => selectors[key]),\n (...values) => {\n return values.reduce((composition, value, index) => {\n composition[objectKeys[index]] = value;\n return composition;\n }, {});\n },\n );\n}\n\n// resetTrackedSelectors resets all the measurements for memoization effectiveness.\nfunction resetTrackedSelectors() {\n Object.values(trackedSelectors).forEach((selector) => {\n selector.calls = 0;\n selector.recomputations = 0;\n });\n}\n\n// getSortedTrackedSelectors returns an array, sorted by effectivness, containing mesaurement data on all tracked selectors.\nexport function getSortedTrackedSelectors() {\n let selectors = Object.values(trackedSelectors);\n // Filter out any selector not called\n selectors = selectors.filter(selector => selector.calls > 0);\n const selectorsData = selectors.map((selector) => ({name: selector.name, effectiveness: effectiveness(selector), recomputations: selector.recomputations, calls: selector.calls}));\n selectorsData.sort((a, b) => {\n // Sort effectiveness ascending\n if (a.effectiveness !== b.effectiveness) {\n return a.effectiveness - b.effectiveness;\n }\n\n // And everything else descending\n if (a.recomputations !== b.recomputations) {\n return b.recomputations - a.recomputations;\n }\n\n if (a.calls !== b.calls) {\n return b.calls - a.calls;\n }\n\n return a.name.localeCompare(b.name);\n });\n return selectorsData;\n}\n\nfunction effectiveness(selector) {\n return 100 - ((selector.recomputations / selector.calls) * 100);\n}\n\n// dumpTrackedSelectorsStatistics prints to console a table containing the measurement data on all tracked selectors.\nfunction dumpTrackedSelectorsStatistics() {\n const selectors = getSortedTrackedSelectors();\n console.table(selectors); //eslint-disable-line no-console\n}\n\nwindow.dumpTrackedSelectorsStatistics = dumpTrackedSelectorsStatistics;\nwindow.resetTrackedSelectors = resetTrackedSelectors;\nwindow.getSortedTrackedSelectors = getSortedTrackedSelectors\n\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {LogObject} from '@mattermost/types/admin';\nimport type {DataRetentionCustomPolicies, DataRetentionCustomPolicy} from '@mattermost/types/data_retention';\nimport type {PluginStatusRedux} from '@mattermost/types/plugins';\nimport type {GlobalState} from '@mattermost/types/store';\n\nimport {createSelector} from 'mattermost-redux/selectors/create_selector';\n\nexport function getLogs(state: GlobalState) {\n return state.entities.admin.logs;\n}\n\nexport function getPlainLogs(state: GlobalState) {\n return state.entities.admin.plainLogs;\n}\n\nexport const getAllLogs = createSelector(\n 'getAllLogs',\n getLogs,\n (logs) => {\n return Object.values(logs).reduce((acc, log) => {\n // @ts-expect-error: object that is returned from the server contains an array of logs but ts gets confused that its one log object\n acc.push(...log);\n return acc;\n }, []);\n },\n);\n\nexport function getAudits(state: GlobalState) {\n return state.entities.admin.audits;\n}\n\nexport function getConfig(state: GlobalState) {\n return state.entities.admin.config;\n}\n\nexport function getLdapGroups(state: GlobalState) {\n return state.entities.admin.ldapGroups;\n}\n\nexport function getLdapGroupsCount(state: GlobalState) {\n return state.entities.admin.ldapGroupsCount;\n}\n\nexport function getEnvironmentConfig(state: GlobalState) {\n return state.entities.admin.environmentConfig;\n}\n\nexport function getComplianceReports(state: GlobalState) {\n return state.entities.admin.complianceReports;\n}\n\nexport function getClusterInfo(state: GlobalState) {\n return state.entities.admin.clusterInfo;\n}\n\nexport function getUserAccessTokens(state: GlobalState) {\n return state.entities.admin.userAccessTokens;\n}\n\nexport function getDataRetentionCustomPolicies(state: GlobalState): DataRetentionCustomPolicies {\n return state.entities.admin.dataRetentionCustomPolicies;\n}\n\nexport function getDataRetentionCustomPoliciesCount(state: GlobalState): number {\n return state.entities.admin.dataRetentionCustomPoliciesCount;\n}\n\nexport function getDataRetentionCustomPolicy(state: GlobalState, id: string): DataRetentionCustomPolicy | undefined | null {\n const policy = getDataRetentionCustomPolicies(state);\n return policy[id];\n}\n\nexport function getAdminAnalytics(state: GlobalState) {\n return state.entities.admin.analytics;\n}\n\nexport function getPluginStatuses(state: GlobalState): Record | undefined {\n return state.entities.admin.pluginStatuses;\n}\n\nexport function getPluginStatus(state: GlobalState, id: string): PluginStatusRedux | undefined {\n return getPluginStatuses(state)?.[id];\n}\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport shallowEquals from 'shallow-equals';\n\nimport type {ChannelCategory, ChannelCategoryType} from '@mattermost/types/channel_categories';\nimport {CategorySorting} from '@mattermost/types/channel_categories';\nimport type {Channel, ChannelMembership, ChannelMessageCount} from '@mattermost/types/channels';\nimport type {GlobalState} from '@mattermost/types/store';\nimport type {UserProfile} from '@mattermost/types/users';\nimport type {IDMappedObjects, RelationOneToOne} from '@mattermost/types/utilities';\n\nimport {General, Preferences} from 'mattermost-redux/constants';\nimport {CategoryTypes} from 'mattermost-redux/constants/channel_categories';\nimport {createSelector} from 'mattermost-redux/selectors/create_selector';\nimport {getChannelMessageCounts, getCurrentChannelId, getMyChannelMemberships, makeGetChannelsForIds} from 'mattermost-redux/selectors/entities/channels';\nimport {getCurrentUserLocale} from 'mattermost-redux/selectors/entities/i18n';\nimport {getMyPreferences, getTeammateNameDisplaySetting, getVisibleDmGmLimit, isCollapsedThreadsEnabled} from 'mattermost-redux/selectors/entities/preferences';\nimport {getCurrentUserId} from 'mattermost-redux/selectors/entities/users';\nimport {\n calculateUnreadCount,\n getUserIdFromChannelName,\n isChannelMuted,\n} from 'mattermost-redux/utils/channel_utils';\nimport {getPreferenceKey} from 'mattermost-redux/utils/preference_utils';\nimport {displayUsername} from 'mattermost-redux/utils/user_utils';\n\nexport function getAllCategoriesByIds(state: GlobalState) {\n return state.entities.channelCategories.byId;\n}\n\nexport function getCategory(state: GlobalState, categoryId: string) {\n return getAllCategoriesByIds(state)[categoryId];\n}\n\n// getCategoryInTeamByType returns the first category found of the given type on the given team. This is intended for use\n// with only non-custom types of categories.\nexport function getCategoryInTeamByType(state: GlobalState, teamId: string, categoryType: ChannelCategoryType) {\n return getCategoryWhere(\n state,\n (category) => category.type === categoryType && category.team_id === teamId,\n );\n}\n\n// getCategoryInTeamWithChannel returns the category on a given team containing the given channel ID.\nexport function getCategoryInTeamWithChannel(state: GlobalState, teamId: string, channelId: string) {\n return getCategoryWhere(\n state,\n (category) => category.team_id === teamId && category.channel_ids.includes(channelId),\n );\n}\n\n// getCategoryWhere returns the first category meeting the given condition. This should not be used with a condition\n// that matches multiple categories.\nexport function getCategoryWhere(state: GlobalState, condition: (category: ChannelCategory) => boolean) {\n const categoriesByIds = getAllCategoriesByIds(state);\n\n return Object.values(categoriesByIds).find(condition);\n}\n\nexport function getCategoryIdsForTeam(state: GlobalState, teamId: string): string[] {\n return state.entities.channelCategories.orderByTeam[teamId];\n}\n\nexport function makeGetCategoriesForTeam(): (state: GlobalState, teamId: string) => ChannelCategory[] {\n return createSelector(\n 'makeGetCategoriesForTeam',\n getCategoryIdsForTeam,\n (state: GlobalState) => state.entities.channelCategories.byId,\n (categoryIds, categoriesById) => {\n if (!categoryIds) {\n return [];\n }\n\n return categoryIds.map((id) => categoriesById[id]);\n },\n );\n}\n\n// makeFilterArchivedChannels returns a selector that filters a given list of channels based on whether or not the channel\n// is archived or is currently being viewed. The selector returns the original array if no channels are filtered out.\nexport function makeFilterArchivedChannels(): (state: GlobalState, channels: Channel[]) => Channel[] {\n return createSelector(\n 'makeFilterArchivedChannels',\n (state: GlobalState, channels: Channel[]) => channels,\n getCurrentChannelId,\n (channels: Channel[], currentChannelId: string) => {\n const filtered = channels.filter((channel) => channel && (channel.id === currentChannelId || channel.delete_at === 0));\n\n return filtered.length === channels.length ? channels : filtered;\n },\n );\n}\n\nexport function makeFilterAutoclosedDMs(): (state: GlobalState, channels: Channel[], categoryType: string) => Channel[] {\n return createSelector(\n 'makeFilterAutoclosedDMs',\n (state: GlobalState, channels: Channel[]) => channels,\n (state: GlobalState, channels: Channel[], categoryType: string) => categoryType,\n getCurrentChannelId,\n (state: GlobalState) => state.entities.users.profiles,\n getCurrentUserId,\n getMyChannelMemberships,\n getChannelMessageCounts,\n (state) => getVisibleDmGmLimit(state),\n getMyPreferences,\n isCollapsedThreadsEnabled,\n (channels, categoryType, currentChannelId, profiles, currentUserId, myMembers, messageCounts, limitPref, myPreferences, collapsedThreads) => {\n if (categoryType !== CategoryTypes.DIRECT_MESSAGES) {\n // Only autoclose DMs that haven't been assigned to a category\n return channels;\n }\n\n const getTimestampFromPrefs = (category: string, name: string) => {\n const pref = myPreferences[getPreferenceKey(category, name)];\n return parseInt(pref ? pref.value! : '0', 10);\n };\n const getLastViewedAt = (channel: Channel) => {\n // The server only ever sets the last_viewed_at to the time of the last post in channel, so we may need\n // to use the preferences added for the previous version of autoclosing DMs.\n return Math.max(\n myMembers[channel.id]?.last_viewed_at,\n getTimestampFromPrefs(Preferences.CATEGORY_CHANNEL_APPROXIMATE_VIEW_TIME, channel.id),\n getTimestampFromPrefs(Preferences.CATEGORY_CHANNEL_OPEN_TIME, channel.id),\n );\n };\n\n let unreadCount = 0;\n let visibleChannels = channels.filter((channel) => {\n if (isUnreadChannel(channel.id, messageCounts, myMembers, collapsedThreads)) {\n unreadCount++;\n\n // Unread DMs/GMs are always visible\n return true;\n }\n\n if (channel.id === currentChannelId) {\n return true;\n }\n\n // DMs with deactivated users will be visible if you're currently viewing them and they were opened\n // since the user was deactivated\n if (channel.type === General.DM_CHANNEL) {\n const teammateId = getUserIdFromChannelName(currentUserId, channel.name);\n const teammate = profiles[teammateId];\n\n const lastViewedAt = getLastViewedAt(channel);\n\n if (!teammate || teammate.delete_at > lastViewedAt) {\n return false;\n }\n }\n\n return true;\n });\n\n visibleChannels.sort((channelA, channelB) => {\n // Should always prioritise the current channel\n if (channelA.id === currentChannelId) {\n return -1;\n } else if (channelB.id === currentChannelId) {\n return 1;\n }\n\n // Second priority is for unread channels\n if (isUnreadChannel(channelA.id, messageCounts, myMembers, collapsedThreads) && !isUnreadChannel(channelB.id, messageCounts, myMembers, collapsedThreads)) {\n return -1;\n } else if (!isUnreadChannel(channelA.id, messageCounts, myMembers, collapsedThreads) && isUnreadChannel(channelB.id, messageCounts, myMembers, collapsedThreads)) {\n return 1;\n }\n\n // Third priority is last_viewed_at\n const channelAlastViewed = getLastViewedAt(channelA) || 0;\n const channelBlastViewed = getLastViewedAt(channelB) || 0;\n\n if (channelAlastViewed > channelBlastViewed) {\n return -1;\n } else if (channelBlastViewed > channelAlastViewed) {\n return 1;\n }\n\n return 0;\n });\n\n // The limit of DMs user specifies to be rendered in the sidebar\n const remaining = Math.max(limitPref, unreadCount);\n visibleChannels = visibleChannels.slice(0, remaining);\n\n const visibleChannelsSet = new Set(visibleChannels);\n const filteredChannels = channels.filter((channel) => visibleChannelsSet.has(channel));\n\n return filteredChannels.length === channels.length ? channels : filteredChannels;\n },\n );\n}\n\nexport function makeFilterManuallyClosedDMs(): (state: GlobalState, channels: Channel[]) => Channel[] {\n return createSelector(\n 'makeFilterManuallyClosedDMs',\n (state: GlobalState, channels: Channel[]) => channels,\n getMyPreferences,\n getCurrentChannelId,\n getCurrentUserId,\n getMyChannelMemberships,\n getChannelMessageCounts,\n isCollapsedThreadsEnabled,\n (channels, myPreferences, currentChannelId, currentUserId, myMembers, messageCounts, collapsedThreads) => {\n const filtered = channels.filter((channel) => {\n let preference;\n\n if (channel.type !== General.DM_CHANNEL && channel.type !== General.GM_CHANNEL) {\n return true;\n }\n\n if (isUnreadChannel(channel.id, messageCounts, myMembers, collapsedThreads)) {\n // Unread DMs/GMs are always visible\n return true;\n }\n\n if (currentChannelId === channel.id) {\n // The current channel is always visible\n return true;\n }\n\n if (channel.type === General.DM_CHANNEL) {\n const teammateId = getUserIdFromChannelName(currentUserId, channel.name);\n\n preference = myPreferences[getPreferenceKey(Preferences.CATEGORY_DIRECT_CHANNEL_SHOW, teammateId)];\n } else {\n preference = myPreferences[getPreferenceKey(Preferences.CATEGORY_GROUP_CHANNEL_SHOW, channel.id)];\n }\n\n return preference && preference.value !== 'false';\n });\n\n // Only return a new array if anything was removed\n return filtered.length === channels.length ? channels : filtered;\n },\n );\n}\n\nexport function makeCompareChannels(getDisplayName: (channel: Channel) => string, locale: string, myMembers: RelationOneToOne) {\n return (a: Channel, b: Channel) => {\n // Sort muted channels last\n const aMuted = isChannelMuted(myMembers[a.id]);\n const bMuted = isChannelMuted(myMembers[b.id]);\n\n if (aMuted && !bMuted) {\n return 1;\n } else if (!aMuted && bMuted) {\n return -1;\n }\n\n // And then sort alphabetically\n return getDisplayName(a).localeCompare(getDisplayName(b), locale, {numeric: true});\n };\n}\n\nexport function makeSortChannelsByName(): (state: GlobalState, channels: Channel[]) => Channel[] {\n return createSelector(\n 'makeSortChannelsByName',\n (state: GlobalState, channels: Channel[]) => channels,\n (state: GlobalState) => getCurrentUserLocale(state),\n getMyChannelMemberships,\n (channels: Channel[], locale: string, myMembers: RelationOneToOne) => {\n const getDisplayName = (channel: Channel) => channel.display_name;\n\n return [...channels].sort(makeCompareChannels(getDisplayName, locale, myMembers));\n },\n );\n}\n\nexport function makeSortChannelsByNameWithDMs(): (state: GlobalState, channels: Channel[]) => Channel[] {\n return createSelector(\n 'makeSortChannelsByNameWithDMs',\n (state: GlobalState, channels: Channel[]) => channels,\n getCurrentUserId,\n (state: GlobalState) => state.entities.users.profiles,\n getTeammateNameDisplaySetting,\n (state: GlobalState) => getCurrentUserLocale(state),\n getMyChannelMemberships,\n (channels: Channel[], currentUserId: string, profiles: IDMappedObjects, teammateNameDisplay: string, locale: string, myMembers: RelationOneToOne) => {\n const cachedNames: RelationOneToOne = {};\n\n const getDisplayName = (channel: Channel): string => {\n if (cachedNames[channel.id]) {\n return cachedNames[channel.id];\n }\n\n let displayName;\n\n // TODO it might be easier to do this by using channel members to find the users\n if (channel.type === General.DM_CHANNEL) {\n const teammateId = getUserIdFromChannelName(currentUserId, channel.name);\n const teammate = profiles[teammateId];\n\n displayName = displayUsername(teammate, teammateNameDisplay, false);\n } else if (channel.type === General.GM_CHANNEL) {\n const usernames = channel.display_name.split(', ');\n\n const userDisplayNames = [];\n for (const username of usernames) {\n const user = Object.values(profiles).find((profile) => profile.username === username);\n\n if (!user) {\n continue;\n }\n\n if (user.id === currentUserId) {\n continue;\n }\n\n userDisplayNames.push(displayUsername(user, teammateNameDisplay, false));\n }\n\n displayName = userDisplayNames.sort((a, b) => a.localeCompare(b, locale, {numeric: true})).join(', ');\n } else {\n displayName = channel.display_name;\n }\n\n cachedNames[channel.id] = displayName;\n\n return displayName;\n };\n\n return [...channels].sort(makeCompareChannels(getDisplayName, locale, myMembers));\n },\n );\n}\n\nexport function makeSortChannelsByRecency(): (state: GlobalState, channels: Channel[]) => Channel[] {\n return createSelector(\n 'makeSortChannelsByRecency',\n (_state: GlobalState, channels: Channel[]) => channels,\n isCollapsedThreadsEnabled,\n (channels, crtEnabled) => {\n return [...channels].sort((a, b) => {\n const aLastPostAt = Math.max(crtEnabled ? (a.last_root_post_at || a.last_post_at) : a.last_post_at, a.create_at);\n const bLastPostAt = Math.max(crtEnabled ? (b.last_root_post_at || b.last_post_at) : b.last_post_at, b.create_at);\n return bLastPostAt - aLastPostAt;\n });\n },\n );\n}\n\nexport function makeSortChannels() {\n const sortChannelsByName = makeSortChannelsByName();\n const sortChannelsByNameWithDMs = makeSortChannelsByNameWithDMs();\n const sortChannelsByRecency = makeSortChannelsByRecency();\n\n return (state: GlobalState, originalChannels: Channel[], category: ChannelCategory) => {\n let channels = originalChannels;\n\n // While this function isn't memoized, sortChannelsByX should be since they know what parts of state\n // will affect sort order.\n\n if (category.sorting === CategorySorting.Recency) {\n channels = sortChannelsByRecency(state, channels);\n } else if (category.sorting === CategorySorting.Alphabetical || category.sorting === CategorySorting.Default) {\n if (channels.some((channel) => channel.type === General.DM_CHANNEL || channel.type === General.GM_CHANNEL)) {\n channels = sortChannelsByNameWithDMs(state, channels);\n } else {\n channels = sortChannelsByName(state, channels);\n }\n }\n\n return channels;\n };\n}\n\nexport function makeGetChannelIdsForCategory() {\n const getChannels = makeGetChannelsForIds();\n const filterAndSortChannelsForCategory = makeFilterAndSortChannelsForCategory();\n\n let lastChannelIds: string[] = [];\n\n return (state: GlobalState, category: ChannelCategory) => {\n const channels = getChannels(state, category.channel_ids);\n\n const filteredChannelIds = filterAndSortChannelsForCategory(state, channels, category).map((channel) => channel.id);\n\n if (shallowEquals(filteredChannelIds, lastChannelIds)) {\n return lastChannelIds;\n }\n\n lastChannelIds = filteredChannelIds;\n return lastChannelIds;\n };\n}\n\n// Returns a selector that takes an array of channels and the category they belong to and returns the array sorted and\n// with inactive DMs/GMs and archived channels filtered out.\nexport function makeFilterAndSortChannelsForCategory() {\n const filterArchivedChannels = makeFilterArchivedChannels();\n const filterAutoclosedDMs = makeFilterAutoclosedDMs();\n\n const filterManuallyClosedDMs = makeFilterManuallyClosedDMs();\n\n const sortChannels = makeSortChannels();\n\n return (state: GlobalState, originalChannels: Channel[], category: ChannelCategory) => {\n let channels = originalChannels;\n\n channels = filterArchivedChannels(state, channels);\n channels = filterManuallyClosedDMs(state, channels);\n\n channels = filterAutoclosedDMs(state, channels, category.type);\n\n channels = sortChannels(state, channels, category);\n\n return channels;\n };\n}\n\nexport function makeGetChannelsByCategory() {\n const getCategoriesForTeam = makeGetCategoriesForTeam();\n\n // Memoize by category. As long as the categories don't change, we can keep using the same selectors for each category.\n let getChannels: RelationOneToOne>;\n let filterAndSortChannels: RelationOneToOne>;\n\n let lastCategoryIds: ReturnType = [];\n let lastChannelsByCategory: RelationOneToOne = {};\n\n return (state: GlobalState, teamId: string) => {\n const categoryIds = getCategoryIdsForTeam(state, teamId);\n\n // Create an instance of filterAndSortChannels for each category. As long as we don't add or remove new categories,\n // we can reuse these selectors to memoize the results of each category. This will also create new selectors when\n // categories are reordered, but that should be rare enough that it won't meaningfully affect performance.\n if (categoryIds !== lastCategoryIds) {\n lastCategoryIds = categoryIds;\n lastChannelsByCategory = {};\n\n getChannels = {};\n filterAndSortChannels = {};\n\n if (categoryIds) {\n for (const categoryId of categoryIds) {\n getChannels[categoryId] = makeGetChannelsForIds();\n filterAndSortChannels[categoryId] = makeFilterAndSortChannelsForCategory();\n }\n }\n }\n\n const categories = getCategoriesForTeam(state, teamId);\n\n const channelsByCategory: RelationOneToOne = {};\n\n // TODO: This avoids some rendering, but there is a bigger issue underneath\n // Every time myPreferences or myChannels change (which can happen for many\n // unrelated reasons) the whole list of channels gets reordered and re-filtered.\n let allEquals = categoryIds === lastCategoryIds;\n for (const category of categories) {\n const channels = getChannels[category.id](state, category.channel_ids);\n channelsByCategory[category.id] = filterAndSortChannels[category.id](state, channels, category);\n allEquals = allEquals && shallowEquals(channelsByCategory[category.id], lastChannelsByCategory[category.id]);\n }\n\n // Do a shallow equality check of channelsByCategory to avoid returning a new object containing the same data\n if (allEquals) {\n return lastChannelsByCategory;\n }\n\n lastChannelsByCategory = channelsByCategory;\n return channelsByCategory;\n };\n}\n\nfunction isUnreadChannel(\n channelId: string,\n messageCounts: RelationOneToOne,\n members: RelationOneToOne,\n crtEnabled: boolean,\n): boolean {\n const unreadCount = calculateUnreadCount(messageCounts[channelId], members[channelId], crtEnabled);\n return unreadCount.showUnread;\n}\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport max from 'lodash/max';\n\nimport type {\n Channel,\n ChannelMemberCountsByGroup,\n ChannelMembership,\n ChannelMessageCount,\n ChannelModeration,\n ChannelSearchOpts,\n ChannelStats,\n} from '@mattermost/types/channels';\nimport type {GlobalState} from '@mattermost/types/store';\nimport type {Team} from '@mattermost/types/teams';\nimport type {UserProfile, UsersState} from '@mattermost/types/users';\nimport type {\n IDMappedObjects,\n RelationOneToManyUnique,\n RelationOneToOne,\n} from '@mattermost/types/utilities';\n\nimport {General, Permissions, Preferences} from 'mattermost-redux/constants';\nimport {CategoryTypes} from 'mattermost-redux/constants/channel_categories';\nimport {createSelector} from 'mattermost-redux/selectors/create_selector';\nimport {getDataRetentionCustomPolicy} from 'mattermost-redux/selectors/entities/admin';\nimport {getCategoryInTeamByType} from 'mattermost-redux/selectors/entities/channel_categories';\nimport {\n getCurrentChannelId as getCurrentChannelIdInternal,\n getCurrentUser,\n getMyChannelMemberships as getMyChannelMembershipsInternal,\n getMyCurrentChannelMembership as getMyCurrentChannelMembershipInternal,\n getUsers,\n} from 'mattermost-redux/selectors/entities/common';\nimport {\n getTeammateNameDisplaySetting,\n isCollapsedThreadsEnabled,\n} from 'mattermost-redux/selectors/entities/preferences';\nimport {\n haveIChannelPermission,\n haveICurrentChannelPermission,\n haveITeamPermission,\n} from 'mattermost-redux/selectors/entities/roles';\nimport {getCurrentTeamId, getMyTeams, getTeamMemberships} from 'mattermost-redux/selectors/entities/teams';\nimport {\n getCurrentUserId,\n getStatusForUserId,\n getUser,\n getUserIdsInChannels,\n isCurrentUserSystemAdmin,\n} from 'mattermost-redux/selectors/entities/users';\nimport {\n calculateUnreadCount,\n completeDirectChannelDisplayName,\n completeDirectChannelInfo,\n completeDirectGroupInfo,\n filterChannelsMatchingTerm,\n getChannelByName as getChannelByNameHelper,\n getUserIdFromChannelName,\n isChannelMuted,\n isDefault,\n isDirectChannel,\n newCompleteDirectChannelInfo,\n sortChannelsByDisplayName,\n} from 'mattermost-redux/utils/channel_utils';\nimport {createIdsSelector} from 'mattermost-redux/utils/helpers';\n\nimport {isPostPriorityEnabled} from './posts';\nimport {getThreadCounts, getThreadCountsIncludingDirect} from './threads';\n\n// Re-define these types to ensure that these are typed correctly when mattermost-redux is published\nexport const getCurrentChannelId: (state: GlobalState) => string = getCurrentChannelIdInternal;\nexport const getMyChannelMemberships: (state: GlobalState) => RelationOneToOne = getMyChannelMembershipsInternal;\nexport const getMyCurrentChannelMembership: (state: GlobalState) => ChannelMembership | undefined = getMyCurrentChannelMembershipInternal;\n\nexport function getAllChannels(state: GlobalState): IDMappedObjects {\n return state.entities.channels.channels;\n}\n\nexport const getAllDmChannels = createSelector(\n 'getAllDmChannels',\n getAllChannels,\n (allChannels) => {\n let allDmChannels: Record = {};\n\n Object.values(allChannels).forEach((channel: Channel) => {\n if (channel.type === General.DM_CHANNEL) {\n allDmChannels = {...allDmChannels, [channel.name]: channel};\n }\n });\n\n return allDmChannels;\n },\n);\n\nexport function getAllChannelStats(state: GlobalState): RelationOneToOne {\n return state.entities.channels.stats;\n}\n\nexport function getChannelsMemberCount(state: GlobalState): Record {\n return state.entities.channels.channelsMemberCount;\n}\n\nexport function getChannelsInTeam(state: GlobalState): RelationOneToManyUnique {\n return state.entities.channels.channelsInTeam;\n}\n\nexport function getChannelsInPolicy() {\n return (createSelector(\n 'getChannelsInPolicy',\n getAllChannels,\n (state: GlobalState, props: {policyId: string}) => getDataRetentionCustomPolicy(state, props.policyId),\n (getAllChannels, policy) => {\n if (!policy) {\n return [];\n }\n\n const policyChannels: Channel[] = [];\n\n Object.entries(getAllChannels).forEach((channelEntry: [string, Channel]) => {\n const [, channel] = channelEntry;\n if (channel.policy_id === policy.id) {\n policyChannels.push(channel);\n }\n });\n\n return policyChannels;\n }) as (b: GlobalState, a: {\n policyId: string;\n }) => Channel[]);\n}\n\nexport const getDirectChannelsSet: (state: GlobalState) => Set = createSelector(\n 'getDirectChannelsSet',\n getChannelsInTeam,\n (channelsInTeam: RelationOneToManyUnique): Set => {\n if (!channelsInTeam) {\n return new Set();\n }\n\n return new Set(channelsInTeam['']);\n },\n);\n\nexport function getChannelMembersInChannels(state: GlobalState): RelationOneToOne> {\n return state.entities.channels.membersInChannel;\n}\n\nexport function getChannelMember(state: GlobalState, channelId: string, userId: string): ChannelMembership | undefined {\n return getChannelMembersInChannels(state)[channelId]?.[userId];\n}\n\ntype OldMakeChannelArgument = {id: string};\n\n// makeGetChannel returns a selector that returns a channel from the store with the following filled in for DM/GM channels:\n// - The display_name set to the other user(s) names, following the Teammate Name Display setting\n// - The teammate_id for DM channels\n// - The status of the other user in a DM channel\nexport function makeGetChannel(): (state: GlobalState, id: string) => Channel | undefined {\n return createSelector(\n 'makeGetChannel',\n getCurrentUserId,\n (state: GlobalState) => state.entities.users.profiles,\n (state: GlobalState) => state.entities.users.profilesInChannel,\n (state: GlobalState, channelId: string | OldMakeChannelArgument) => {\n const id = typeof channelId === 'string' ? channelId : channelId.id;\n const channel = getChannel(state, id);\n if (!channel || !isDirectChannel(channel)) {\n return '';\n }\n\n const currentUserId = getCurrentUserId(state);\n const teammateId = getUserIdFromChannelName(currentUserId, channel.name);\n const teammateStatus = getStatusForUserId(state, teammateId);\n\n return teammateStatus || 'offline';\n },\n (state: GlobalState, channelId: string | OldMakeChannelArgument) => {\n const id = typeof channelId === 'string' ? channelId : channelId.id;\n return getChannel(state, id);\n },\n getTeammateNameDisplaySetting,\n (currentUserId, profiles, profilesInChannel, teammateStatus, channel, teammateNameDisplay) => {\n if (channel) {\n return newCompleteDirectChannelInfo(currentUserId, profiles, profilesInChannel, teammateStatus, teammateNameDisplay!, channel);\n }\n\n return channel;\n },\n );\n}\n\n// getChannel returns a channel as it exists in the store without filling in any additional details such as the\n// display_name for DM/GM channels.\nexport function getChannel(state: GlobalState, id: string): Channel | undefined {\n return getAllChannels(state)[id];\n}\n\n// getDirectChannel returns a direct channel channel as it exists in the store filling in any additional details such as the\n// display_name or teammate_id.\nexport function getDirectChannel(state: GlobalState, id: string): Channel | undefined {\n const channel = getAllChannels(state)[id];\n if (channel && channel.type === 'D') {\n return completeDirectChannelInfo(state.entities.users, getTeammateNameDisplaySetting(state), channel);\n }\n return undefined;\n}\n\nexport function getMyChannelMembership(state: GlobalState, channelId: string): ChannelMembership | undefined {\n return getMyChannelMemberships(state)[channelId];\n}\n\n// makeGetChannelsForIds returns a selector that, given an array of channel IDs, returns a list of the corresponding\n// channels. Channels are returned in the same order as the given IDs with undefined entries replacing any invalid IDs.\n// Note that memoization will fail if an array literal is passed in.\nexport function makeGetChannelsForIds(): (state: GlobalState, ids: string[]) => Channel[] {\n return createSelector(\n 'makeGetChannelsForIds',\n getAllChannels,\n (state: GlobalState, ids: string[]) => ids,\n (allChannels, ids) => {\n return ids.map((id) => allChannels[id]);\n },\n );\n}\n\nexport const getCurrentChannel: (state: GlobalState) => Channel | undefined = createSelector(\n 'getCurrentChannel',\n getAllChannels,\n getCurrentChannelId,\n (state: GlobalState) => state.entities.users,\n getTeammateNameDisplaySetting,\n (allChannels, currentChannelId, users, teammateNameDisplay): Channel => {\n const channel = allChannels[currentChannelId];\n\n if (channel) {\n return completeDirectChannelInfo(users, teammateNameDisplay, channel);\n }\n\n return channel;\n },\n);\n\nconst getChannelNameForSearch = (channel: Channel | undefined, users: UsersState): string | undefined => {\n if (!channel) {\n return undefined;\n }\n\n // Only get the extra info from users if we need it\n if (channel.type === General.DM_CHANNEL) {\n const dmChannelWithInfo = completeDirectChannelInfo(users, Preferences.DISPLAY_PREFER_USERNAME, channel);\n return `@${dmChannelWithInfo.display_name}`;\n }\n\n // Replace spaces in GM channel names\n if (channel.type === General.GM_CHANNEL) {\n const gmChannelWithInfo = completeDirectGroupInfo(users, Preferences.DISPLAY_PREFER_USERNAME, channel, false);\n return `@${gmChannelWithInfo.display_name.replace(/\\s/g, '')}`;\n }\n\n return channel.name;\n};\n\nexport const getCurrentChannelNameForSearchShortcut: (state: GlobalState) => string | undefined = createSelector(\n 'getCurrentChannelNameForSearchShortcut',\n getAllChannels,\n getCurrentChannelId,\n (state: GlobalState): UsersState => state.entities.users,\n (allChannels: IDMappedObjects, currentChannelId: string, users: UsersState): string | undefined => {\n const channel = allChannels[currentChannelId];\n return getChannelNameForSearch(channel, users);\n },\n);\n\nexport const getChannelNameForSearchShortcut: (state: GlobalState, channelId: string) => string | undefined = createSelector(\n 'getChannelNameForSearchShortcut',\n getAllChannels,\n (state: GlobalState): UsersState => state.entities.users,\n (state: GlobalState, channelId: string): string => channelId,\n (allChannels: IDMappedObjects, users: UsersState, channelId: string): string | undefined => {\n const channel = allChannels[channelId];\n return getChannelNameForSearch(channel, users);\n },\n);\n\nexport const getMyChannelMember: (state: GlobalState, channelId: string) => ChannelMembership | undefined = createSelector(\n 'getMyChannelMember',\n getMyChannelMemberships,\n (state: GlobalState, channelId: string): string => channelId,\n (channelMemberships: RelationOneToOne, channelId: string): ChannelMembership | undefined => {\n return channelMemberships[channelId];\n },\n);\n\nexport const getCurrentChannelStats: (state: GlobalState) => ChannelStats | undefined = createSelector(\n 'getCurrentChannelStats',\n getAllChannelStats,\n getCurrentChannelId,\n (allChannelStats: RelationOneToOne, currentChannelId: string): ChannelStats => {\n return allChannelStats[currentChannelId];\n },\n);\n\nexport function isCurrentChannelFavorite(state: GlobalState): boolean {\n const currentChannelId = getCurrentChannelId(state);\n return isFavoriteChannel(state, currentChannelId);\n}\n\nexport const isCurrentChannelMuted: (state: GlobalState) => boolean = createSelector(\n 'isCurrentChannelMuted',\n getMyCurrentChannelMembership,\n (membership?: ChannelMembership): boolean => {\n if (!membership) {\n return false;\n }\n\n return isChannelMuted(membership);\n },\n);\n\nexport const isMutedChannel: (state: GlobalState, channelId: string) => boolean = createSelector(\n 'isMutedChannel',\n (state: GlobalState, channelId: string) => getMyChannelMembership(state, channelId),\n (membership?: ChannelMembership): boolean => {\n if (!membership) {\n return false;\n }\n\n return isChannelMuted(membership);\n },\n);\n\nexport const isCurrentChannelArchived: (state: GlobalState) => boolean = createSelector(\n 'isCurrentChannelArchived',\n getCurrentChannel,\n (channel) => channel?.delete_at !== 0,\n);\n\nexport const isCurrentChannelDefault: (state: GlobalState) => boolean = createSelector(\n 'isCurrentChannelDefault',\n getCurrentChannel,\n (channel) => isDefault(channel),\n);\n\nexport function isCurrentChannelReadOnly(state: GlobalState): boolean {\n return isChannelReadOnly(state, getCurrentChannel(state));\n}\n\nexport function isChannelReadOnlyById(state: GlobalState, channelId: string): boolean {\n return isChannelReadOnly(state, getChannel(state, channelId));\n}\n\nexport function isChannelReadOnly(state: GlobalState, channel?: Channel): boolean {\n return Boolean(channel && channel.name === General.DEFAULT_CHANNEL && !isCurrentUserSystemAdmin(state));\n}\n\nexport function getChannelMessageCounts(state: GlobalState): RelationOneToOne {\n return state.entities.channels.messageCounts;\n}\n\nexport function getChannelMessageCount(state: GlobalState, channelId: string): ChannelMessageCount | undefined {\n return getChannelMessageCounts(state)[channelId];\n}\n\nfunction getCurrentChannelMessageCount(state: GlobalState) {\n return getChannelMessageCount(state, getCurrentChannelId(state));\n}\n\nexport const countCurrentChannelUnreadMessages: (state: GlobalState) => number = createSelector(\n 'countCurrentChannelUnreadMessages',\n getCurrentChannelMessageCount,\n getMyCurrentChannelMembership,\n isCollapsedThreadsEnabled,\n (messageCount?: ChannelMessageCount, membership?: ChannelMembership, crtEnabled?: boolean): number => {\n if (!membership || !messageCount) {\n return 0;\n }\n return crtEnabled ? messageCount.root - membership.msg_count_root : messageCount.total - membership.msg_count;\n },\n);\n\nexport function makeGetChannelUnreadCount(): (state: GlobalState, channelId: string) => ReturnType {\n return createSelector(\n 'makeGetChannelUnreadCount',\n (state: GlobalState, channelId: string) => getChannelMessageCount(state, channelId),\n (state: GlobalState, channelId: string) => getMyChannelMembership(state, channelId),\n isCollapsedThreadsEnabled,\n (messageCount: ChannelMessageCount | undefined, member: ChannelMembership | undefined, crtEnabled) =>\n calculateUnreadCount(messageCount, member, crtEnabled),\n );\n}\n\nexport function getChannelByName(state: GlobalState, channelName: string): Channel | undefined {\n return getChannelByNameHelper(getAllChannels(state), channelName);\n}\n\nexport function getChannelByTeamIdAndChannelName(state: GlobalState, teamId: string, channelName: string): Channel | undefined | null {\n return Object.values(getAllChannels(state)).find((channel) =>\n channel.team_id === teamId && channel.name === channelName,\n );\n}\n\nexport const getChannelSetInCurrentTeam: (state: GlobalState) => Set = createSelector(\n 'getChannelSetInCurrentTeam',\n getCurrentTeamId,\n getChannelsInTeam,\n (currentTeamId: string, channelsInTeam: RelationOneToManyUnique) => {\n return (channelsInTeam && channelsInTeam[currentTeamId]) || new Set();\n },\n);\n\nexport const getChannelSetForAllTeams: (state: GlobalState) => string[] = createSelector(\n 'getChannelSetForAllTeams',\n getAllChannels,\n (allChannels): string[] => {\n const channelSet: string[] = [];\n Object.values(allChannels).forEach((channel: Channel) => {\n if (channel.type !== General.GM_CHANNEL && channel.type !== General.DM_CHANNEL) {\n channelSet.push(channel.id);\n }\n });\n return channelSet;\n },\n);\n\nfunction sortAndInjectChannels(channels: IDMappedObjects, channelSet: string[] | Set, locale: string): Channel[] {\n const currentChannels: Channel[] = [];\n\n if (typeof channelSet === 'undefined') {\n return currentChannels;\n }\n\n channelSet.forEach((c) => {\n currentChannels.push(channels[c]);\n });\n\n return currentChannels.sort(sortChannelsByDisplayName.bind(null, locale));\n}\n\nexport const getChannelsInCurrentTeam: (state: GlobalState) => Channel[] = createSelector(\n 'getChannelsInCurrentTeam',\n getAllChannels,\n getChannelSetInCurrentTeam,\n getCurrentUser,\n (channels: IDMappedObjects, currentTeamChannelSet: Set, currentUser: UserProfile): Channel[] => {\n let locale = General.DEFAULT_LOCALE;\n\n if (currentUser && currentUser.locale) {\n locale = currentUser.locale;\n }\n\n return sortAndInjectChannels(channels, currentTeamChannelSet, locale);\n },\n);\n\nexport const getChannelsInAllTeams: (state: GlobalState) => Channel[] = createSelector(\n 'getChannelsInAllTeams',\n getAllChannels,\n getChannelSetForAllTeams,\n getCurrentUser,\n (channels: IDMappedObjects, getChannelSetForAllTeams: string[], currentUser: UserProfile): Channel[] => {\n const locale = currentUser?.locale || General.DEFAULT_LOCALE;\n return sortAndInjectChannels(channels, getChannelSetForAllTeams, locale);\n },\n);\n\nexport const getChannelsNameMapInTeam: (state: GlobalState, teamId: string) => Record = createSelector(\n 'getChannelsNameMapInTeam',\n getAllChannels,\n getChannelsInTeam,\n (state: GlobalState, teamId: string): string => teamId,\n (channels: IDMappedObjects, channelsInTeams: RelationOneToManyUnique, teamId: string): Record => {\n const channelsInTeam = channelsInTeams[teamId] || new Set();\n const channelMap: Record = {};\n channelsInTeam.forEach((id) => {\n const channel = channels[id];\n channelMap[channel.name] = channel;\n });\n return channelMap;\n },\n);\n\nexport const getChannelsNameMapInCurrentTeam: (state: GlobalState) => Record = createSelector(\n 'getChannelsNameMapInCurrentTeam',\n getAllChannels,\n getChannelSetInCurrentTeam,\n (channels: IDMappedObjects, currentTeamChannelSet: Set): Record => {\n const channelMap: Record = {};\n currentTeamChannelSet.forEach((id) => {\n const channel = channels[id];\n channelMap[channel.name] = channel;\n });\n return channelMap;\n },\n);\n\nexport const getChannelNameToDisplayNameMap: (state: GlobalState) => Record = createIdsSelector(\n 'getChannelNameToDisplayNameMap',\n getAllChannels,\n getChannelSetInCurrentTeam,\n (channels: IDMappedObjects, currentTeamChannelSet: Set) => {\n const channelMap: Record = {};\n for (const id of currentTeamChannelSet) {\n const channel = channels[id];\n channelMap[channel.name] = channel.display_name;\n }\n return channelMap;\n },\n);\n\n// Returns both DMs and GMs\nexport const getAllDirectChannels: (state: GlobalState) => Channel[] = createSelector(\n 'getAllDirectChannels',\n getAllChannels,\n getDirectChannelsSet,\n (state: GlobalState): UsersState => state.entities.users,\n getTeammateNameDisplaySetting,\n (channels: IDMappedObjects, channelSet: Set, users: UsersState, teammateNameDisplay: string): Channel[] => {\n const dmChannels: Channel[] = [];\n channelSet.forEach((c) => {\n dmChannels.push(completeDirectChannelInfo(users, teammateNameDisplay, channels[c]));\n });\n return dmChannels;\n },\n);\n\nexport const getAllDirectChannelsNameMapInCurrentTeam: (state: GlobalState) => Record = createSelector(\n 'getAllDirectChannelsNameMapInCurrentTeam',\n getAllChannels,\n getDirectChannelsSet,\n (state: GlobalState): UsersState => state.entities.users,\n getTeammateNameDisplaySetting,\n (channels: IDMappedObjects, channelSet: Set, users: UsersState, teammateNameDisplay: string): Record => {\n const channelMap: Record = {};\n channelSet.forEach((id) => {\n const channel = channels[id];\n channelMap[channel.name] = completeDirectChannelInfo(users, teammateNameDisplay, channel);\n });\n return channelMap;\n },\n);\n\n// Returns only GMs\nexport const getGroupChannels: (state: GlobalState) => Channel[] = createSelector(\n 'getGroupChannels',\n getAllChannels,\n getDirectChannelsSet,\n (state: GlobalState): UsersState => state.entities.users,\n getTeammateNameDisplaySetting,\n (channels: IDMappedObjects, channelSet: Set, users: UsersState, teammateNameDisplay: string): Channel[] => {\n const gmChannels: Channel[] = [];\n channelSet.forEach((id) => {\n const channel = channels[id];\n\n if (channel.type === General.GM_CHANNEL) {\n gmChannels.push(completeDirectChannelInfo(users, teammateNameDisplay, channel));\n }\n });\n return gmChannels;\n },\n);\n\nexport const getMyChannels: (state: GlobalState) => Channel[] = createSelector(\n 'getMyChannels',\n getChannelsInCurrentTeam,\n getAllDirectChannels,\n getMyChannelMemberships,\n (channels: Channel[], directChannels: Channel[], myMembers: RelationOneToOne): Channel[] => {\n return [...channels, ...directChannels].filter((c) => Object.hasOwn(myMembers, c.id));\n },\n);\n\nexport const getOtherChannels: (state: GlobalState, archived?: boolean | null) => Channel[] = createSelector(\n 'getOtherChannels',\n getChannelsInCurrentTeam,\n getMyChannelMemberships,\n (state: GlobalState, archived: boolean | undefined | null = true) => archived,\n (channels: Channel[], myMembers: RelationOneToOne, archived?: boolean | null): Channel[] => {\n return channels.filter((c) => !Object.hasOwn(myMembers, c.id) && c.type === General.OPEN_CHANNEL && (archived ? true : c.delete_at === 0));\n },\n);\n\nexport const getMembersInCurrentChannel: (state: GlobalState) => Record = createSelector(\n 'getMembersInCurrentChannel',\n getCurrentChannelId,\n getChannelMembersInChannels,\n (currentChannelId: string, members: RelationOneToOne>): Record => {\n return members[currentChannelId];\n },\n);\n\n/**\n * A scalar encoding or primitive-value representation of\n */\nexport type BasicUnreadStatus = boolean | number;\nexport type BasicUnreadMeta = {isUnread: boolean; unreadMentionCount: number}\n\nexport function basicUnreadMeta(unreadStatus: BasicUnreadStatus): BasicUnreadMeta {\n return {\n isUnread: Boolean(unreadStatus),\n unreadMentionCount: (typeof unreadStatus === 'number' && unreadStatus) || 0,\n };\n}\n\n// muted channel will not be counted towards unreads\nexport const getUnreadStatus: (state: GlobalState) => BasicUnreadStatus = createSelector(\n 'getUnreadStatus',\n getAllChannels,\n getMyChannelMemberships,\n getChannelMessageCounts,\n getUsers,\n getCurrentUserId,\n getCurrentTeamId,\n getMyTeams,\n getTeamMemberships,\n isCollapsedThreadsEnabled,\n getThreadCounts,\n getThreadCountsIncludingDirect,\n (\n channels,\n myMembers,\n messageCounts,\n users,\n currentUserId,\n currentTeamId,\n myTeams,\n myTeamMemberships,\n collapsedThreads,\n threadCounts,\n threadCountsIncludingDirect,\n ) => {\n const {\n messages: currentTeamUnreadMessages,\n mentions: currentTeamUnreadMentions,\n } = Object.entries(myMembers).reduce((counts, [channelId, membership]) => {\n const channel = channels[channelId];\n\n if (!channel || !membership) {\n return counts;\n }\n\n if (\n // other-team non-DM/non-GM channels\n channel.team_id !== currentTeamId &&\n channel.type !== General.DM_CHANNEL &&\n channel.type !== General.GM_CHANNEL\n ) {\n return counts;\n }\n\n const channelExists = channel.type === General.DM_CHANNEL ? users[getUserIdFromChannelName(currentUserId, channel.name)]?.delete_at === 0 : channel.delete_at === 0;\n if (!channelExists) {\n return counts;\n }\n\n const mentions = collapsedThreads ? membership.mention_count_root : membership.mention_count;\n if (mentions && !isChannelMuted(membership)) {\n counts.mentions += mentions;\n }\n\n const unreadCount = calculateUnreadCount(messageCounts[channelId], myMembers[channelId], collapsedThreads);\n if (unreadCount.showUnread) {\n counts.messages += unreadCount.messages;\n }\n\n return counts;\n }, {\n messages: 0,\n mentions: 0,\n });\n\n // Includes mention count and message count from teams other than the current team\n // This count does not include GM's and DM's\n const {\n messages: otherTeamsUnreadMessages,\n mentions: otherTeamsUnreadMentions,\n } = myTeams.reduce((acc, team) => {\n if (currentTeamId !== team.id) {\n const member = myTeamMemberships[team.id];\n acc.messages += collapsedThreads ? member.msg_count_root : member.msg_count;\n acc.mentions += collapsedThreads ? member.mention_count_root : member.mention_count;\n }\n\n return acc;\n }, {\n messages: 0,\n mentions: 0,\n });\n\n const totalUnreadMessages = currentTeamUnreadMessages + otherTeamsUnreadMessages;\n let totalUnreadMentions = currentTeamUnreadMentions + otherTeamsUnreadMentions;\n let anyUnreadThreads = false;\n\n // when collapsed threads are enabled, we start with root-post counts from channels, then\n // add the same thread-reply counts from the global threads view\n if (collapsedThreads) {\n Object.keys(threadCounts).forEach((teamId) => {\n const c = threadCounts[teamId];\n if (teamId === currentTeamId) {\n const currentTeamDirectCounts = threadCountsIncludingDirect[currentTeamId] || 0;\n anyUnreadThreads = Boolean(currentTeamDirectCounts.total_unread_threads);\n totalUnreadMentions += currentTeamDirectCounts.total_unread_mentions;\n } else {\n anyUnreadThreads = anyUnreadThreads || Boolean(c.total_unread_threads);\n totalUnreadMentions += c.total_unread_mentions;\n }\n });\n }\n\n return totalUnreadMentions || anyUnreadThreads || Boolean(totalUnreadMessages);\n },\n);\n\n/**\n * Return a tuple of\n * - Set of team IDs that have unread messages\n * - Map with team IDs as keys and unread mentions counts as values\n */\nexport const getTeamsUnreadStatuses: (state: GlobalState) => [Set, Map, Map] = createSelector(\n 'getTeamsUnreadStatuses',\n getAllChannels,\n getMyChannelMemberships,\n getChannelMessageCounts,\n isCollapsedThreadsEnabled,\n getThreadCounts,\n (\n channels,\n channelMemberships,\n channelMessageCounts,\n collapsedThreadsEnabled,\n teamThreadCounts,\n ) => {\n const teamUnreadsSet = new Set();\n const teamMentionsMap = new Map();\n const teamHasUrgentMap = new Map();\n\n for (const [channelId, channelMembership] of Object.entries(channelMemberships)) {\n const channel = channels[channelId];\n\n if (!channel || !channelMembership) {\n continue;\n }\n\n // if channel is muted, we skip its count\n if (isChannelMuted(channelMembership)) {\n continue;\n }\n\n // We skip DMs and GMs in counting since they are accesible through Direct messages across teams\n if (channel.type === General.DM_CHANNEL || channel.type === General.GM_CHANNEL) {\n continue;\n }\n\n // If other user is deleted in a DM channel, we skip its count\n // TODO: This is a check overlap with the above condition, so it can never execute.\n // Evaluate if it some logic should be changed or if this branch should be removed.\n // if (channel.type === General.DM_CHANNEL) {\n // const otherUserId = getUserIdFromChannelName(currentUserId, channel.name);\n // if (users[otherUserId]?.delete_at !== 0) {\n // continue;\n // }\n // }\n\n // If channel is deleted, we skip its count\n if (channel.delete_at !== 0) {\n continue;\n }\n\n // Add read/unread from channel membership\n const unreadCountObjectForChannel = calculateUnreadCount(channelMessageCounts[channelId], channelMembership, collapsedThreadsEnabled);\n if (unreadCountObjectForChannel.showUnread) {\n teamUnreadsSet.add(channel.team_id);\n }\n\n // Add mentions count from channel membership\n if (unreadCountObjectForChannel.mentions > 0) {\n const previousMentionsInTeam = teamMentionsMap.has(channel.team_id) ? teamMentionsMap.get(channel.team_id) as number : 0;\n if (previousMentionsInTeam === 0) {\n teamMentionsMap.set(channel.team_id, unreadCountObjectForChannel.mentions);\n } else {\n teamMentionsMap.set(channel.team_id, unreadCountObjectForChannel.mentions + previousMentionsInTeam);\n }\n }\n\n // Add has urgent mentions count from channel membership\n if (unreadCountObjectForChannel.hasUrgent) {\n const previousHasUrgetInTeam = teamHasUrgentMap.has(channel.team_id) ? teamHasUrgentMap.get(channel.team_id) as boolean : false;\n if (!previousHasUrgetInTeam) {\n teamHasUrgentMap.set(channel.team_id, unreadCountObjectForChannel.hasUrgent);\n }\n }\n }\n\n if (collapsedThreadsEnabled) {\n for (const teamId of Object.keys(teamThreadCounts)) {\n const threadCountsObjectForTeam = teamThreadCounts[teamId];\n\n // Add read/unread from global threads view for team\n if (threadCountsObjectForTeam.total_unread_threads > 0) {\n teamUnreadsSet.add(teamId);\n }\n\n // Add mentions count from global threads view for team\n if (threadCountsObjectForTeam.total_unread_mentions > 0) {\n const previousMentionsInTeam = teamMentionsMap.has(teamId) ? teamMentionsMap.get(teamId) as number : 0;\n if (previousMentionsInTeam === 0) {\n teamMentionsMap.set(teamId, threadCountsObjectForTeam.total_unread_mentions);\n } else {\n teamMentionsMap.set(teamId, threadCountsObjectForTeam.total_unread_mentions + previousMentionsInTeam);\n }\n }\n\n // Add mentions count from global threads view for team\n if (threadCountsObjectForTeam.total_unread_urgent_mentions) {\n const previousHasUrgetInTeam = teamHasUrgentMap.has(teamId) ? teamHasUrgentMap.get(teamId) as boolean : false;\n if (!previousHasUrgetInTeam) {\n teamHasUrgentMap.set(teamId, Boolean(threadCountsObjectForTeam.total_unread_urgent_mentions));\n }\n }\n }\n }\n\n return [teamUnreadsSet, teamMentionsMap, teamHasUrgentMap];\n },\n);\n\nexport const getUnreadStatusInCurrentTeam: (state: GlobalState) => BasicUnreadStatus = createSelector(\n 'getUnreadStatusInCurrentTeam',\n getCurrentChannelId,\n getMyChannels,\n getMyChannelMemberships,\n getChannelMessageCounts,\n getUsers,\n getCurrentUserId,\n getCurrentTeamId,\n isCollapsedThreadsEnabled,\n getThreadCountsIncludingDirect,\n isPostPriorityEnabled,\n (\n currentChannelId,\n channels,\n myMembers,\n messageCounts,\n users,\n currentUserId,\n currentTeamId,\n collapsedThreadsEnabled,\n threadCounts,\n postPriorityEnabled,\n ) => {\n const {\n messages: currentTeamUnreadMessages,\n mentions: currentTeamUnreadMentions,\n } = channels.reduce((counts, channel) => {\n const m = myMembers[channel.id];\n\n if (!m || channel.id === currentChannelId) {\n return counts;\n }\n\n const channelExists = channel.type === General.DM_CHANNEL ? users[getUserIdFromChannelName(currentUserId, channel.name)]?.delete_at === 0 : channel.delete_at === 0;\n if (!channelExists) {\n return counts;\n }\n\n const mentions = collapsedThreadsEnabled ? m.mention_count_root : m.mention_count;\n if (mentions) {\n counts.mentions += mentions;\n }\n\n if (postPriorityEnabled) {\n counts.urgentMentions += m.urgent_mention_count;\n }\n\n const unreadCount = calculateUnreadCount(messageCounts[channel.id], m, collapsedThreadsEnabled);\n if (unreadCount.showUnread) {\n counts.messages += unreadCount.messages;\n }\n\n return counts;\n }, {\n messages: 0,\n mentions: 0,\n urgentMentions: 0,\n });\n\n let totalUnreadMentions = currentTeamUnreadMentions;\n let anyUnreadThreads = false;\n\n // when collapsed threads are enabled, we start with root-post counts from channels, then\n // add the same thread-reply counts from the global threads view IF we're not in global threads\n if (collapsedThreadsEnabled && currentChannelId) {\n const c = threadCounts[currentTeamId];\n if (c) {\n anyUnreadThreads = anyUnreadThreads || Boolean(c.total_unread_threads);\n totalUnreadMentions += c.total_unread_mentions;\n }\n }\n\n return totalUnreadMentions || anyUnreadThreads || Boolean(currentTeamUnreadMessages);\n },\n);\n\nexport const canManageChannelMembers: (state: GlobalState) => boolean = createSelector(\n 'canManageChannelMembers',\n getCurrentChannel,\n (state: GlobalState): boolean => haveICurrentChannelPermission(state,\n Permissions.MANAGE_PRIVATE_CHANNEL_MEMBERS,\n ),\n (state: GlobalState): boolean => haveICurrentChannelPermission(state,\n Permissions.MANAGE_PUBLIC_CHANNEL_MEMBERS,\n ),\n (\n channel: Channel | undefined,\n managePrivateMembers: boolean,\n managePublicMembers: boolean,\n ): boolean => {\n if (!channel) {\n return false;\n }\n\n if (channel.delete_at !== 0) {\n return false;\n }\n\n if (channel.type === General.DM_CHANNEL || channel.type === General.GM_CHANNEL || channel.name === General.DEFAULT_CHANNEL) {\n return false;\n }\n\n if (channel.type === General.OPEN_CHANNEL) {\n return managePublicMembers;\n } else if (channel.type === General.PRIVATE_CHANNEL) {\n return managePrivateMembers;\n }\n\n return true;\n },\n);\n\n// Determine if the user has permissions to manage members in at least one channel of the current team\nexport function canManageAnyChannelMembersInCurrentTeam(state: GlobalState): boolean {\n const myChannelMemberships = getMyChannelMemberships(state);\n const myChannelsIds = Object.keys(myChannelMemberships);\n const currentTeamId = getCurrentTeamId(state);\n\n for (const channelId of myChannelsIds) {\n const channel = getChannel(state, channelId);\n\n if (!channel || channel.team_id !== currentTeamId) {\n continue;\n }\n\n if (channel.type === General.OPEN_CHANNEL && haveIChannelPermission(state,\n currentTeamId,\n channelId,\n Permissions.MANAGE_PUBLIC_CHANNEL_MEMBERS,\n )) {\n return true;\n } else if (channel.type === General.PRIVATE_CHANNEL && haveIChannelPermission(state,\n currentTeamId,\n channelId,\n Permissions.MANAGE_PRIVATE_CHANNEL_MEMBERS,\n )) {\n return true;\n }\n }\n\n return false;\n}\n\nexport const getAllDirectChannelIds: (state: GlobalState) => string[] = createIdsSelector(\n 'getAllDirectChannelIds',\n getDirectChannelsSet,\n (directIds: Set): string[] => {\n return Array.from(directIds);\n },\n);\n\nexport const getChannelIdsInCurrentTeam: (state: GlobalState) => string[] = createIdsSelector(\n 'getChannelIdsInCurrentTeam',\n getCurrentTeamId,\n getChannelsInTeam,\n (currentTeamId: string, channelsInTeam: RelationOneToManyUnique): string[] => {\n return Array.from(channelsInTeam[currentTeamId] || []);\n },\n);\n\nexport const getChannelIdsForCurrentTeam: (state: GlobalState) => string[] = createIdsSelector(\n 'getChannelIdsForCurrentTeam',\n getChannelIdsInCurrentTeam,\n getAllDirectChannelIds,\n (channels, direct) => {\n return [...channels, ...direct];\n },\n);\n\nexport const getChannelIdsInAllTeams: (state: GlobalState) => string[] = createIdsSelector(\n 'getChannelIdsInAllTeams',\n getChannelSetForAllTeams,\n (channels): string[] => {\n return Array.from(channels || []);\n },\n);\n\nexport const getChannelIdsForAllTeams: (state: GlobalState) => string[] = createIdsSelector(\n 'getChannelIdsForAllTeams',\n getChannelIdsInAllTeams,\n getAllDirectChannelIds,\n (channels, direct) => {\n return [...channels, ...direct];\n },\n);\n\nexport const getUnreadChannelIds: (state: GlobalState, lastUnreadChannel?: Channel | null) => string[] = createIdsSelector(\n 'getUnreadChannelIds',\n isCollapsedThreadsEnabled,\n getMyChannelMemberships,\n getChannelMessageCounts,\n getChannelIdsForCurrentTeam,\n (state: GlobalState, lastUnreadChannel: Channel | undefined | null = null): Channel | undefined | null => lastUnreadChannel,\n (\n collapsedThreads,\n members: RelationOneToOne,\n messageCounts: RelationOneToOne,\n teamChannelIds: string[],\n lastUnreadChannel?: Channel | null,\n ): string[] => {\n const unreadIds = teamChannelIds.filter((id) => {\n return calculateUnreadCount(messageCounts[id], members[id], collapsedThreads).showUnread;\n });\n\n if (lastUnreadChannel && members[lastUnreadChannel.id] && !unreadIds.includes(lastUnreadChannel.id)) {\n unreadIds.push(lastUnreadChannel.id);\n }\n\n return unreadIds;\n },\n);\n\nexport const getAllTeamsUnreadChannelIds: (state: GlobalState) => string[] = createIdsSelector(\n 'getAllTeamsUnreadChannelIds',\n isCollapsedThreadsEnabled,\n getMyChannelMemberships,\n getChannelMessageCounts,\n getChannelIdsForAllTeams,\n (\n collapsedThreads,\n members: RelationOneToOne,\n messageCounts: RelationOneToOne,\n allTeamsChannelIds: string[],\n ): string[] => {\n return allTeamsChannelIds.filter((id) => {\n return calculateUnreadCount(messageCounts[id], members[id], collapsedThreads).showUnread;\n });\n },\n);\n\nexport const getUnreadChannels: (state: GlobalState, lastUnreadChannel?: Channel | null) => Channel[] = createIdsSelector(\n 'getUnreadChannels',\n getCurrentUser,\n getUsers,\n getUserIdsInChannels,\n getAllChannels,\n getUnreadChannelIds,\n getTeammateNameDisplaySetting,\n (currentUser, profiles, userIdsInChannels: any, channels, unreadIds, settings) => {\n // If we receive an unread for a channel and then a mention the channel\n // won't be sorted correctly until we receive a message in another channel\n if (!currentUser) {\n return [];\n }\n\n const allUnreadChannels = unreadIds.filter((id) => channels[id] && channels[id].delete_at === 0).map((id) => {\n const c = channels[id];\n\n if (c.type === General.DM_CHANNEL || c.type === General.GM_CHANNEL) {\n return completeDirectChannelDisplayName(currentUser.id, profiles, userIdsInChannels[id], settings!, c);\n }\n\n return c;\n });\n return allUnreadChannels;\n },\n);\n\nexport const getUnsortedAllTeamsUnreadChannels: (state: GlobalState) => Channel[] = createSelector(\n 'getAllTeamsUnreadChannels',\n getCurrentUser,\n getUsers,\n getUserIdsInChannels,\n getAllChannels,\n getAllTeamsUnreadChannelIds,\n getTeammateNameDisplaySetting,\n (currentUser, profiles, userIdsInChannels, channels, allTeamsUnreadChannelIds, settings) => {\n // If we receive an unread for a channel and then a mention the channel\n // won't be sorted correctly until we receive a message in another channel\n if (!currentUser) {\n return [];\n }\n\n return allTeamsUnreadChannelIds.filter((id) => channels[id] && channels[id].delete_at === 0).map((id) => {\n const c = channels[id];\n\n if (c.type === General.DM_CHANNEL || c.type === General.GM_CHANNEL) {\n return completeDirectChannelDisplayName(currentUser.id, profiles, userIdsInChannels[id], settings!, c);\n }\n\n return c;\n });\n },\n);\n\nexport const sortUnreadChannels = (\n channels: Channel[],\n myMembers: RelationOneToOne,\n lastUnreadChannel: (Channel & {hadMentions: boolean}) | null,\n crtEnabled: boolean,\n) => {\n function isMuted(channel: Channel) {\n return isChannelMuted(myMembers[channel.id]);\n }\n\n function hasMentions(channel: Channel) {\n if (lastUnreadChannel && channel.id === lastUnreadChannel.id && lastUnreadChannel.hadMentions) {\n return true;\n }\n\n const member = myMembers[channel.id];\n return member?.mention_count !== 0;\n }\n\n // Sort channels with mentions first and then sort by recency\n return [...channels].sort((a, b) => {\n // Sort muted channels last\n if (isMuted(a) && !isMuted(b)) {\n return 1;\n } else if (!isMuted(a) && isMuted(b)) {\n return -1;\n }\n\n // Sort non-muted mentions first\n if (hasMentions(a) && !hasMentions(b)) {\n return -1;\n } else if (!hasMentions(a) && hasMentions(b)) {\n return 1;\n }\n\n const aLastPostAt = max([crtEnabled ? a.last_root_post_at : a.last_post_at, a.create_at]) || 0;\n const bLastPostAt = max([crtEnabled ? b.last_root_post_at : b.last_post_at, b.create_at]) || 0;\n\n return bLastPostAt - aLastPostAt;\n });\n};\n\nexport const getSortedAllTeamsUnreadChannels: (state: GlobalState) => Channel[] = createSelector(\n 'getSortedAllTeamsUnreadChannels',\n getUnsortedAllTeamsUnreadChannels,\n getMyChannelMemberships,\n isCollapsedThreadsEnabled,\n (channels, myMembers, crtEnabled) => {\n return sortUnreadChannels(channels, myMembers, null, crtEnabled);\n },\n);\n\n// getDirectAndGroupChannels returns all direct and group channels, even if they have been manually\n// or automatically closed.\n//\n// This is similar to the getAllDirectChannels above which actually also returns group channels,\n// but suppresses manually closed group channels but not manually closed direct channels. This\n// method does away with all the suppression, since the webapp client downstream uses this for\n// the channel switcher and puts such suppressed channels in a separate category.\nexport const getDirectAndGroupChannels: (a: GlobalState) => Channel[] = createSelector(\n 'getDirectAndGroupChannels',\n getCurrentUser,\n getUsers,\n getUserIdsInChannels,\n getAllChannels,\n getTeammateNameDisplaySetting,\n (currentUser: UserProfile, profiles: IDMappedObjects, userIdsInChannels: any, channels: IDMappedObjects, settings): Channel[] => {\n if (!currentUser) {\n return [];\n }\n\n return Object.keys(channels).\n map((key) => channels[key]).\n filter((channel: Channel): boolean => Boolean(channel)).\n filter((channel: Channel): boolean => channel.type === General.DM_CHANNEL || channel.type === General.GM_CHANNEL).\n map((channel: Channel): Channel => completeDirectChannelDisplayName(currentUser.id, profiles, userIdsInChannels[channel.id], settings!, channel));\n },\n);\n\nconst getProfiles = (currentUserId: string, usersIdsInChannel: Set, users: IDMappedObjects): UserProfile[] => {\n const profiles: UserProfile[] = [];\n usersIdsInChannel.forEach((userId) => {\n if (userId !== currentUserId) {\n profiles.push(users[userId]);\n }\n });\n return profiles;\n};\n\n/**\n * Returns an array of unsorted group channels, each with an array of the user profiles in the channel attached to them.\n */\nexport const getChannelsWithUserProfiles: (state: GlobalState) => Array<{\n profiles: UserProfile[];\n} & Channel> = createSelector(\n 'getChannelsWithUserProfiles',\n getUserIdsInChannels,\n getUsers,\n getGroupChannels,\n getCurrentUserId,\n (channelUserMap: RelationOneToManyUnique, users: IDMappedObjects, channels: Channel[], currentUserId: string) => {\n return channels.map((channel: Channel): {\n profiles: UserProfile[];\n } & Channel => {\n const profiles = getProfiles(currentUserId, channelUserMap[channel.id] || new Set(), users);\n return {\n ...channel,\n profiles,\n };\n });\n },\n);\n\nexport const getDefaultChannelForTeams: (state: GlobalState) => RelationOneToOne = createSelector(\n 'getDefaultChannelForTeams',\n getAllChannels,\n (channels: IDMappedObjects): RelationOneToOne => {\n const result: RelationOneToOne = {};\n\n for (const channel of Object.keys(channels).map((key) => channels[key])) {\n if (channel && channel.name === General.DEFAULT_CHANNEL) {\n result[channel.team_id] = channel;\n }\n }\n\n return result;\n },\n);\n\nexport const getMyFirstChannelForTeams: (state: GlobalState) => RelationOneToOne = createSelector(\n 'getMyFirstChannelForTeams',\n getAllChannels,\n getMyChannelMemberships,\n getMyTeams,\n getCurrentUser,\n (allChannels: IDMappedObjects, myChannelMemberships: RelationOneToOne, myTeams: Team[], currentUser: UserProfile): RelationOneToOne => {\n const locale = currentUser.locale || General.DEFAULT_LOCALE;\n const result: RelationOneToOne = {};\n\n for (const team of myTeams) {\n // Get a sorted array of all channels in the team that the current user is a member of\n const teamChannels = Object.values(allChannels).filter((channel: Channel) => channel && channel.team_id === team.id && Boolean(myChannelMemberships[channel.id])).sort(sortChannelsByDisplayName.bind(null, locale));\n\n if (teamChannels.length === 0) {\n continue;\n }\n\n result[team.id] = teamChannels[0];\n }\n\n return result;\n },\n);\n\nexport const getRedirectChannelNameForTeam = (state: GlobalState, teamId: string): string => {\n const defaultChannelForTeam = getDefaultChannelForTeams(state)[teamId];\n const canIJoinPublicChannelsInTeam = haveITeamPermission(state,\n teamId,\n Permissions.JOIN_PUBLIC_CHANNELS,\n );\n const myChannelMemberships = getMyChannelMemberships(state);\n const iAmMemberOfTheTeamDefaultChannel = Boolean(defaultChannelForTeam && myChannelMemberships[defaultChannelForTeam.id]);\n\n if (iAmMemberOfTheTeamDefaultChannel || canIJoinPublicChannelsInTeam) {\n return General.DEFAULT_CHANNEL;\n }\n\n const myFirstChannelForTeam = getMyFirstChannelForTeams(state)[teamId];\n\n return (myFirstChannelForTeam && myFirstChannelForTeam.name) || General.DEFAULT_CHANNEL;\n};\n\n// isManually unread looks into state if the provided channelId is marked as unread by the user.\nexport function isManuallyUnread(state: GlobalState, channelId?: string): boolean {\n if (!channelId) {\n return false;\n }\n\n return Boolean(state.entities.channels.manuallyUnread[channelId]);\n}\n\nexport function getChannelModerations(state: GlobalState, channelId: string): ChannelModeration[] {\n return state.entities.channels.channelModerations[channelId];\n}\n\nconst EMPTY_OBJECT = {};\nexport function getChannelMemberCountsByGroup(state: GlobalState, channelId?: string): ChannelMemberCountsByGroup {\n if (!channelId) {\n return EMPTY_OBJECT;\n }\n return state.entities.channels.channelMemberCountsByGroup[channelId] || EMPTY_OBJECT;\n}\n\nexport function isFavoriteChannel(state: GlobalState, channelId: string): boolean {\n const channel = getChannel(state, channelId);\n if (!channel) {\n return false;\n }\n\n const category = getCategoryInTeamByType(state, channel.team_id || getCurrentTeamId(state), CategoryTypes.FAVORITES);\n\n if (!category) {\n return false;\n }\n\n return category.channel_ids.includes(channel.id);\n}\n\nexport function filterChannelList(channelList: Channel[], filters: ChannelSearchOpts): Channel[] {\n if (!filters || (!filters.private && !filters.public && !filters.deleted && !filters.team_ids)) {\n return channelList;\n }\n let result: Channel[] = [];\n const channelType: string[] = [];\n const channels = channelList;\n if (filters.public) {\n channelType.push(General.OPEN_CHANNEL);\n }\n if (filters.private) {\n channelType.push(General.PRIVATE_CHANNEL);\n }\n if (filters.deleted) {\n channelType.push(General.ARCHIVED_CHANNEL);\n }\n channelType.forEach((type) => {\n result = result.concat(channels.filter((channel) => channel.type === type));\n });\n if (filters.team_ids && filters.team_ids.length > 0) {\n let teamResult: Channel[] = [];\n filters.team_ids.forEach((id) => {\n if (channelType.length > 0) {\n const filterResult = result.filter((channel) => channel.team_id === id);\n teamResult = teamResult.concat(filterResult);\n } else {\n teamResult = teamResult.concat(channels.filter((channel) => channel.team_id === id));\n }\n });\n result = teamResult;\n }\n return result;\n}\nexport function searchChannelsInPolicy(state: GlobalState, policyId: string, term: string, filters: ChannelSearchOpts): Channel[] {\n const channelsInPolicy = getChannelsInPolicy();\n const channelArray = channelsInPolicy(state, {policyId});\n let channels = filterChannelList(channelArray, filters);\n channels = filterChannelsMatchingTerm(channels, term);\n\n return channels;\n}\n\nexport function getDirectTeammate(state: GlobalState, channelId: string): UserProfile | undefined {\n const channel = getChannel(state, channelId);\n if (!channel || channel.type !== 'D') {\n return undefined;\n }\n\n const userIds = channel.name.split('__');\n const currentUserId = getCurrentUserId(state);\n\n if (userIds.length !== 2 || userIds.indexOf(currentUserId) === -1) {\n return undefined;\n }\n\n if (userIds[0] === userIds[1]) {\n return getUser(state, userIds[0]);\n }\n\n for (const id of userIds) {\n if (id !== currentUserId) {\n return getUser(state, id);\n }\n }\n\n return undefined;\n}\n\nexport function makeGetGmChannelMemberCount(): (state: GlobalState, channel: Channel) => number {\n return createSelector(\n 'getChannelMemberCount',\n getUserIdsInChannels,\n getCurrentUserId,\n (_state: GlobalState, channel: Channel) => channel,\n (memberIds, userId, channel) => {\n let membersCount = 0;\n if (memberIds && memberIds[channel.id]) {\n const groupMemberIds: Set = memberIds[channel.id] as unknown as Set;\n membersCount = groupMemberIds.size;\n if (groupMemberIds.has(userId)) {\n membersCount--;\n }\n }\n\n return membersCount;\n },\n );\n}\n\nexport const getMyActiveChannelIds = createSelector(\n 'getMyActiveChannels',\n getMyChannels,\n (channels) => channels.flatMap((chan) => {\n if (chan.delete_at > 0) {\n return [];\n }\n return chan.id;\n }),\n);\nexport const getRecentProfilesFromDMs: (state: GlobalState) => UserProfile[] = createSelector(\n 'getRecentProfilesFromDMs',\n getAllChannels,\n getUsers,\n getCurrentUser,\n getMyChannelMemberships,\n (allChannels: IDMappedObjects, users: IDMappedObjects, currentUser: UserProfile, memberships: RelationOneToOne) => {\n if (!allChannels || !users) {\n return [];\n }\n const recentChannelIds = Object.values(memberships).sort((aMembership, bMembership) => {\n return bMembership.last_viewed_at - aMembership.last_viewed_at;\n }).map((membership) => membership.channel_id);\n const groupChannels = Object.values(allChannels).filter((channel: Channel) => channel.type === General.GM_CHANNEL);\n const dmChannels = Object.values(allChannels).filter((channel: Channel) => channel.type === General.DM_CHANNEL);\n\n const userProfilesByChannel: {[key: string]: UserProfile[]} = {};\n\n dmChannels.forEach((channel) => {\n if (channel.name) {\n const otherUserId = getUserIdFromChannelName(currentUser.id, channel.name);\n const userProfile = users[otherUserId];\n if (userProfile) {\n userProfilesByChannel[channel.id] = [userProfile];\n }\n }\n });\n\n groupChannels.forEach((channel) => {\n if (channel.display_name) {\n const memberUsernames = channel.display_name.split(',').map((username) => username.trim()).filter((username) => username !== currentUser.username).sort();\n const memberProfiles = memberUsernames.map((username) => {\n return Object.values(users).find((profile) => profile.username === username);\n });\n if (memberProfiles) {\n userProfilesByChannel[channel.id] = memberProfiles as UserProfile[];\n }\n }\n });\n const sortedUserProfiles: Set = new Set();\n recentChannelIds.forEach((cid: string) => {\n if (userProfilesByChannel[cid]) {\n userProfilesByChannel[cid].forEach((user) => sortedUserProfiles.add(user));\n }\n });\n return [...sortedUserProfiles];\n },\n);\n\nexport const isDeactivatedDirectChannel = (state: GlobalState, channelId: string) => {\n const teammate = getDirectTeammate(state, channelId);\n return Boolean(teammate && teammate.delete_at);\n};\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {ChannelMembership, Channel} from '@mattermost/types/channels';\nimport type {GlobalState} from '@mattermost/types/store';\nimport type {TeamMembership} from '@mattermost/types/teams';\nimport type {UserProfile} from '@mattermost/types/users';\nimport type {RelationOneToOne, IDMappedObjects} from '@mattermost/types/utilities';\n\nimport {createSelector} from 'mattermost-redux/selectors/create_selector';\n\n// Channels\n\nexport function getCurrentChannelId(state: GlobalState): string {\n return state.entities.channels.currentChannelId;\n}\n\nexport function getMyChannelMemberships(state: GlobalState): RelationOneToOne {\n return state.entities.channels.myMembers;\n}\n\nexport const getMyCurrentChannelMembership: (a: GlobalState) => ChannelMembership | undefined = createSelector(\n 'getMyCurrentChannelMembership',\n getCurrentChannelId,\n getMyChannelMemberships,\n (currentChannelId, channelMemberships) => {\n return channelMemberships[currentChannelId];\n },\n);\n\nexport function getMembersInChannel(state: GlobalState, channelId: string): Record {\n return state.entities.channels?.membersInChannel?.[channelId] || {};\n}\n\n// Teams\n\nexport function getMembersInTeam(state: GlobalState, teamId: string): RelationOneToOne {\n return state.entities.teams?.membersInTeam?.[teamId] || {};\n}\n\n// Users\n\nexport function getCurrentUser(state: GlobalState): UserProfile {\n return state.entities.users.profiles[getCurrentUserId(state)];\n}\n\nexport function getCurrentUserEmail(state: GlobalState): UserProfile['email'] {\n return getCurrentUser(state)?.email;\n}\n\nexport function getCurrentUserId(state: GlobalState): string {\n return state.entities.users.currentUserId;\n}\n\nexport function getUsers(state: GlobalState): IDMappedObjects {\n return state.entities.users.profiles;\n}\n\n// Config\nexport const getIsUserStatusesConfigEnabled: (a: GlobalState) => boolean = createSelector(\n 'getIsUserStatusesConfigEnabled',\n (state: GlobalState) => state.entities.general.config.EnableUserStatuses,\n (EnableUserStatuses) => EnableUserStatuses !== 'false',\n);\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {ClientConfig, FeatureFlags, ClientLicense} from '@mattermost/types/config';\nimport type {UserPropertyField} from '@mattermost/types/properties';\nimport type {GlobalState} from '@mattermost/types/store';\nimport type {IDMappedObjects} from '@mattermost/types/utilities';\n\nimport {General} from 'mattermost-redux/constants';\nimport {createSelector} from 'mattermost-redux/selectors/create_selector';\nimport {isMinimumServerVersion} from 'mattermost-redux/utils/helpers';\n\nexport function getConfig(state: GlobalState): Partial {\n return state.entities.general.config;\n}\n\n/**\n * Safely get value of a specific or known FeatureFlag\n */\nexport function getFeatureFlagValue(state: GlobalState, key: keyof FeatureFlags): string | undefined {\n return getConfig(state)?.[`FeatureFlag${key}` as keyof Partial];\n}\n\nexport type PasswordConfig = {\n minimumLength: number;\n requireLowercase: boolean;\n requireUppercase: boolean;\n requireNumber: boolean;\n requireSymbol: boolean;\n};\n\nexport const getPasswordConfig: (state: GlobalState) => PasswordConfig = createSelector(\n 'getPasswordConfig',\n getConfig,\n (config) => {\n return {\n minimumLength: parseInt(config.PasswordMinimumLength!, 10),\n requireLowercase: config.PasswordRequireLowercase === 'true',\n requireUppercase: config.PasswordRequireUppercase === 'true',\n requireNumber: config.PasswordRequireNumber === 'true',\n requireSymbol: config.PasswordRequireSymbol === 'true',\n };\n },\n);\n\nexport function getLicense(state: GlobalState): ClientLicense {\n return state.entities.general.license;\n}\n\nexport const isCloudLicense: (state: GlobalState) => boolean = createSelector(\n 'isCloudLicense',\n getLicense,\n (license: ClientLicense) => license?.Cloud === 'true',\n);\n\nexport function isCompatibleWithJoinViewTeamPermissions(state: GlobalState): boolean {\n const version = state.entities.general.serverVersion;\n return isMinimumServerVersion(version, 5, 10, 0) ||\n (version.indexOf('dev') !== -1 && isMinimumServerVersion(version, 5, 8, 0)) ||\n (version.match(/^5.8.\\d.\\d\\d\\d\\d.*$/) !== null && isMinimumServerVersion(version, 5, 8, 0));\n}\n\nexport const canUploadFilesOnMobile: (a: GlobalState) => boolean = createSelector(\n 'canUploadFilesOnMobile',\n getConfig,\n getLicense,\n (config: Partial, license: any): boolean => {\n // Defaults to true if either setting doesn't exist\n return config.EnableFileAttachments !== 'false' &&\n (license.IsLicensed === 'false' || license.Compliance === 'false' || config.EnableMobileFileUpload !== 'false');\n },\n);\n\nexport const canDownloadFilesOnMobile: (a: GlobalState) => boolean = createSelector(\n 'canDownloadFilesOnMobile',\n getConfig,\n getLicense,\n (config: Partial, license: any): boolean => {\n // Defaults to true if the setting doesn't exist\n return license.IsLicensed === 'false' || license.Compliance === 'false' || config.EnableMobileFileDownload !== 'false';\n },\n);\n\nexport const getAutolinkedUrlSchemes: (a: GlobalState) => string[] = createSelector(\n 'getAutolinkedUrlSchemes',\n getConfig,\n (config: Partial): string[] => {\n if (!config.CustomUrlSchemes) {\n return General.DEFAULT_AUTOLINKED_URL_SCHEMES;\n }\n\n return [\n ...General.DEFAULT_AUTOLINKED_URL_SCHEMES,\n ...config.CustomUrlSchemes.split(','),\n ];\n },\n);\n\nexport const getManagedResourcePaths: (state: GlobalState) => string[] = createSelector(\n 'getManagedResourcePaths',\n getConfig,\n (config) => {\n if (!config.ManagedResourcePaths) {\n return [];\n }\n\n return config.ManagedResourcePaths.split(',').map((path) => path.trim());\n },\n);\n\nexport const getServerVersion = (state: GlobalState): string => {\n return state.entities.general.serverVersion;\n};\n\nexport function getFirstAdminVisitMarketplaceStatus(state: GlobalState): boolean {\n return state.entities.general.firstAdminVisitMarketplaceStatus;\n}\n\nexport function getFirstAdminSetupComplete(state: GlobalState): boolean {\n return state.entities.general.firstAdminCompleteSetup;\n}\n\nexport function isPerformanceDebuggingEnabled(state: GlobalState): boolean {\n return state.entities.general.config.EnableClientPerformanceDebugging === 'true';\n}\n\nexport const isMarketplaceEnabled: (state: GlobalState) => boolean = createSelector(\n 'isMarketplaceEnabled',\n getConfig,\n (config) => {\n return config.PluginsEnabled === 'true' && config.EnableMarketplace === 'true';\n },\n);\n\nexport const getUsersStatusAndProfileFetchingPollInterval: (state: GlobalState) => number | null = createSelector(\n 'getUsersStatusAndProfileFetchingPollInterval',\n getConfig,\n (config) => {\n const usersStatusAndProfileFetchingPollInterval = config.UsersStatusAndProfileFetchingPollIntervalMilliseconds;\n if (usersStatusAndProfileFetchingPollInterval) {\n return parseInt(usersStatusAndProfileFetchingPollInterval, 10);\n }\n\n return null;\n },\n);\n\nexport function developerModeEnabled(state: GlobalState): boolean {\n return state.entities.general.config.EnableDeveloper === 'true';\n}\n\nexport function testingEnabled(state: GlobalState): boolean {\n return state.entities.general.config.EnableTesting === 'true';\n}\n\nexport function getCustomProfileAttributes(state: GlobalState): IDMappedObjects {\n return state.entities.general.customProfileAttributes;\n}\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {GlobalState} from '@mattermost/types/store';\n\nimport {General} from 'mattermost-redux/constants';\nimport {getCurrentUser} from 'mattermost-redux/selectors/entities/common';\n\nexport function getCurrentUserLocale(state: GlobalState, defaultLocale = General.DEFAULT_LOCALE) {\n const currentUser = getCurrentUser(state);\n\n if (!currentUser) {\n return defaultLocale;\n }\n\n return currentUser.locale || defaultLocale;\n}\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport type {Channel} from '@mattermost/types/channels';\nimport type {\n MessageHistory,\n OpenGraphMetadata,\n Post,\n PostAcknowledgement,\n PostOrderBlock,\n} from '@mattermost/types/posts';\nimport type {Reaction} from '@mattermost/types/reactions';\nimport type {GlobalState} from '@mattermost/types/store';\nimport type {Team} from '@mattermost/types/teams';\nimport type {UserProfile} from '@mattermost/types/users';\nimport type {\n RelationOneToOne,\n RelationOneToMany,\n} from '@mattermost/types/utilities';\n\nimport {General, Posts, Preferences} from 'mattermost-redux/constants';\nimport {createSelector} from 'mattermost-redux/selectors/create_selector';\nimport {getChannel} from 'mattermost-redux/selectors/entities/channels';\nimport {getCurrentChannelId, getCurrentUser} from 'mattermost-redux/selectors/entities/common';\nimport {getConfig} from 'mattermost-redux/selectors/entities/general';\nimport {getBool, shouldShowJoinLeaveMessages} from 'mattermost-redux/selectors/entities/preferences';\nimport {getCurrentTeamId} from 'mattermost-redux/selectors/entities/teams';\nimport {getUsers, getCurrentUserId, getUserStatuses} from 'mattermost-redux/selectors/entities/users';\nimport {createIdsSelector} from 'mattermost-redux/utils/helpers';\nimport {\n isPostEphemeral,\n isSystemMessage,\n shouldFilterJoinLeavePost,\n comparePosts,\n isPostPendingOrFailed,\n isPostCommentMention,\n} from 'mattermost-redux/utils/post_utils';\nimport {isGuest} from 'mattermost-redux/utils/user_utils';\n\nexport function getAllPosts(state: GlobalState) {\n return state.entities.posts.posts;\n}\n\nexport type UserActivityPost = Post & {\n system_post_ids: string[];\n user_activity_posts: Post[];\n}\n\nexport function getPost(state: GlobalState, postId: Post['id']): Post {\n return getAllPosts(state)[postId];\n}\n\nexport function isPostFlagged(state: GlobalState, postId: Post['id']): boolean {\n return getBool(state, Preferences.CATEGORY_FLAGGED_POST, postId);\n}\n\nexport function getPostRepliesCount(state: GlobalState, postId: Post['id']): number {\n return state.entities.posts.postsReplies[postId] || 0;\n}\n\nexport function getPostsInThread(state: GlobalState): RelationOneToMany {\n return state.entities.posts.postsInThread;\n}\n\nexport function getPostsInThreadOrdered(state: GlobalState, rootId: string): string[] {\n const postIds = getPostsInThread(state)[rootId];\n if (!postIds) {\n return [rootId];\n }\n\n const allPosts = getAllPosts(state);\n const threadPosts = postIds.map((v) => allPosts[v]).filter((v) => v);\n const sortedPosts = threadPosts.sort(comparePosts);\n return [...sortedPosts.map((v) => v.id), rootId];\n}\n\nexport function getReactionsForPosts(state: GlobalState): RelationOneToOne {\n return state.entities.posts.reactions;\n}\n\nexport function makeGetReactionsForPost(): (state: GlobalState, postId: Post['id']) => {\n [x: string]: Reaction;\n} | undefined {\n return createSelector('makeGetReactionsForPost', getReactionsForPosts, (state: GlobalState, postId: string) => postId, (reactions, postId) => {\n if (reactions[postId]) {\n return reactions[postId];\n }\n\n return undefined;\n });\n}\n\nexport function getHasReactions(state: GlobalState, postId: Post['id']): boolean {\n const reactions = getReactionsForPosts(state)?.[postId] || {};\n return Object.keys(reactions).length > 0;\n}\n\nexport function getOpenGraphMetadata(state: GlobalState): RelationOneToOne> {\n return state.entities.posts.openGraph;\n}\n\nexport function getOpenGraphMetadataForUrl(state: GlobalState, postId: string, url: string) {\n const openGraphForPost = state.entities.posts.openGraph[postId];\n return openGraphForPost ? openGraphForPost[url] : undefined;\n}\n\n// getPostIdsInCurrentChannel returns the IDs of posts loaded at the bottom of the channel. It does not include older\n// posts such as those loaded by viewing a thread or a permalink.\nexport function getPostIdsInCurrentChannel(state: GlobalState): Array | undefined | null {\n return getPostIdsInChannel(state, state.entities.channels.currentChannelId);\n}\n\nexport function makeGetPostIdsForThread(): (state: GlobalState, postId: Post['id']) => Array {\n const getPostsForThread = makeGetPostsForThread();\n\n return createIdsSelector(\n 'makeGetPostIdsForThread',\n (state: GlobalState, rootId: Post['id']) => getPostsForThread(state, rootId),\n (posts) => {\n return posts.map((post) => post.id);\n },\n );\n}\n\nexport function makeGetPostsChunkAroundPost(): (state: GlobalState, postId: Post['id'], channelId: Channel['id']) => PostOrderBlock| null | undefined {\n return createIdsSelector(\n 'makeGetPostsChunkAroundPost',\n (state: GlobalState, postId: string, channelId: string) => state.entities.posts.postsInChannel[channelId],\n (state: GlobalState, postId) => postId,\n (postsForChannel, postId) => {\n if (!postsForChannel) {\n return null;\n }\n\n let postChunk;\n\n for (const block of postsForChannel) {\n const index = block.order.indexOf(postId);\n\n if (index === -1) {\n continue;\n }\n\n postChunk = block;\n }\n\n return postChunk;\n },\n );\n}\n\nfunction isPostInteractable(post: Post | undefined) {\n return post &&\n !post.delete_at &&\n !isPostEphemeral(post) &&\n !isSystemMessage(post) &&\n !isPostPendingOrFailed(post) &&\n post.state !== Posts.POST_DELETED;\n}\n\nexport function getLatestInteractablePostId(state: GlobalState, channelId: string, rootId = '') {\n const postsIds = rootId ? getPostsInThreadOrdered(state, rootId) : getPostIdsInChannel(state, channelId);\n if (!postsIds) {\n return '';\n }\n\n const allPosts = getAllPosts(state);\n\n for (const postId of postsIds) {\n if (!isPostInteractable(allPosts[postId])) {\n continue;\n }\n return postId;\n }\n\n return '';\n}\n\nexport function getLatestPostToEdit(state: GlobalState, channelId: string, rootId = '') {\n const postsIds = rootId ? getPostsInThreadOrdered(state, rootId) : getPostIdsInChannel(state, channelId);\n if (!postsIds) {\n return '';\n }\n\n if (rootId) {\n postsIds.push(rootId);\n }\n\n const allPosts = getAllPosts(state);\n const currentUserId = getCurrentUserId(state);\n\n for (const postId of postsIds) {\n const post = allPosts[postId];\n if (post?.user_id !== currentUserId || !isPostInteractable(post)) {\n continue;\n }\n\n return post.id;\n }\n\n return '';\n}\n\nexport const getLatestReplyablePostId: (state: GlobalState) => Post['id'] = (state) => getLatestInteractablePostId(state, getCurrentChannelId(state));\n\n// getPostsInCurrentChannel returns an array of all recent posts loaded at the bottom of the given channel.\n// It does not include older posts such as those loaded by viewing a thread or a permalink.\nexport const getPostsInCurrentChannel: (state: GlobalState) => Post[] | undefined | null = createSelector(\n 'getPostsInCurrentChannel',\n getAllPosts,\n getPostIdsInCurrentChannel,\n getCurrentUser,\n shouldShowJoinLeaveMessages,\n (allPosts, postIds, currentUser, showJoinLeave) => {\n if (!postIds) {\n return null;\n }\n\n const posts: Post[] = [];\n\n for (let i = 0; i < postIds.length; i++) {\n const post = allPosts[postIds[i]];\n\n if (!post || shouldFilterJoinLeavePost(post, showJoinLeave, currentUser ? currentUser.username : '')) {\n continue;\n }\n\n posts.push(post);\n }\n\n return posts;\n },\n);\n\n// Returns a function that creates a creates a selector that will get the posts for a given thread.\n// That selector will take a props object (containing a rootId field) as its\n// only argument and will be memoized based on that argument.\n\nexport function makeGetPostsForThread(): (state: GlobalState, rootId: string) => Post[] {\n return createIdsSelector(\n 'makeGetPostsForThread',\n getAllPosts,\n getCurrentUser,\n (state: GlobalState, rootId: string) => state.entities.posts.postsInThread[rootId],\n (state: GlobalState, rootId: string) => state.entities.posts.posts[rootId],\n shouldShowJoinLeaveMessages,\n (posts, currentUser, postsForThread, rootPost, showJoinLeave) => {\n const thread: Post[] = [];\n\n if (rootPost) {\n thread.push(rootPost);\n }\n\n if (postsForThread && Array.isArray(postsForThread) && postsForThread.length > 0) {\n for (const postId of postsForThread) {\n const post = posts[postId];\n if (!post) {\n continue;\n }\n\n const skip = shouldFilterJoinLeavePost(post, showJoinLeave, currentUser ? currentUser.username : '');\n if (!skip) {\n thread.push(post);\n }\n }\n }\n\n thread.sort(comparePosts);\n return thread;\n },\n );\n}\n\n// The selector below filters current user if it exists. Excluding currentUser is just for convenience\nexport function makeGetProfilesForThread(): (state: GlobalState, rootId: string) => UserProfile[] {\n const getPostsForThread = makeGetPostsForThread();\n return createSelector(\n 'makeGetProfilesForThread',\n getUsers,\n getCurrentUserId,\n getPostsForThread,\n getUserStatuses,\n (allUsers, currentUserId, posts, userStatuses) => {\n const profileIds = posts.map((post) => post.user_id).filter(Boolean);\n const uniqueIds = [...new Set(profileIds)];\n return uniqueIds.reduce((acc: UserProfile[], id: string) => {\n const profile: UserProfile = userStatuses ? {...allUsers[id], status: userStatuses[id]} : {...allUsers[id]};\n\n if (profile && Object.keys(profile).length > 0 && currentUserId !== id) {\n return [\n ...acc,\n profile,\n ];\n }\n return acc;\n }, []);\n },\n );\n}\n\nexport function makeGetCommentCountForPost(): (state: GlobalState, post: Post) => number {\n return createSelector(\n 'makeGetCommentCountForPost',\n getAllPosts,\n (state: GlobalState, post: Post) => state.entities.posts.postsInThread[post ? post.root_id || post.id : ''] || null,\n (state, post: Post) => post,\n (posts, postsForThread, post) => {\n if (!post) {\n return 0;\n }\n\n if (!postsForThread) {\n return post.reply_count;\n }\n\n let count = 0;\n postsForThread.forEach((id) => {\n const post = posts[id];\n if (post && post.state !== Posts.POST_DELETED && !isPostEphemeral(post)) {\n count += 1;\n }\n });\n return count;\n },\n );\n}\n\nexport const getSearchResults: (state: GlobalState) => Post[] = createSelector(\n 'getSearchResults',\n getAllPosts,\n (state: GlobalState) => state.entities.search.results,\n (posts, postIds) => {\n if (!postIds) {\n return [];\n }\n\n return postIds.map((id) => posts[id]);\n },\n);\n\n// Returns the matched text from the search results, if the server has provided them.\n// These matches will only be present if the server is running Mattermost 5.1 or higher\n// with Elasticsearch enabled to search posts. Otherwise, null will be returned.\nexport function getSearchMatches(state: GlobalState): {\n [x: string]: string[];\n} {\n return state.entities.search.matches;\n}\n\nexport function makeGetMessageInHistoryItem(type: 'post'|'comment'): (state: GlobalState) => string {\n return createSelector(\n 'makeGetMessageInHistoryItem',\n (state: GlobalState) => state.entities.posts.messagesHistory,\n (messagesHistory: MessageHistory) => {\n const idx = messagesHistory.index[type];\n const messages = messagesHistory.messages;\n if (idx >= 0 && messages && messages.length > idx) {\n return messages[idx];\n }\n return '';\n },\n );\n}\n\nexport function makeGetPostsForIds(): (state: GlobalState, postIds: Array) => Post[] {\n return createIdsSelector(\n 'makeGetPostsForIds',\n getAllPosts,\n (state: GlobalState, postIds: Array) => postIds,\n (allPosts, postIds) => {\n if (!postIds) {\n return [];\n }\n\n return postIds.map((id) => allPosts[id]);\n },\n );\n}\n\nexport const getMostRecentPostIdInChannel: (state: GlobalState, channelId: Channel['id']) => Post['id'] | undefined | null = createSelector(\n 'getMostRecentPostIdInChannel',\n getAllPosts,\n (state: GlobalState, channelId: string) => getPostIdsInChannel(state, channelId),\n shouldShowJoinLeaveMessages,\n (posts, postIdsInChannel, allowSystemMessages) => {\n if (!postIdsInChannel) {\n return '';\n }\n\n if (!allowSystemMessages) {\n // return the most recent non-system message in the channel\n let postId;\n for (let i = 0; i < postIdsInChannel.length; i++) {\n const p = posts[postIdsInChannel[i]];\n if (!p.type || !p.type.startsWith(Posts.SYSTEM_MESSAGE_PREFIX)) {\n postId = p.id;\n break;\n }\n }\n return postId;\n }\n\n // return the most recent message in the channel\n return postIdsInChannel[0];\n },\n);\n\nexport function getRecentPostsChunkInChannel(state: GlobalState, channelId: Channel['id']): PostOrderBlock | null | undefined {\n const postsForChannel = state.entities.posts.postsInChannel[channelId];\n\n if (!postsForChannel) {\n return null;\n }\n\n return postsForChannel.find((block) => block.recent);\n}\n\nexport function getOldestPostsChunkInChannel(state: GlobalState, channelId: Channel['id']): PostOrderBlock | null | undefined {\n const postsForChannel = state.entities.posts.postsInChannel[channelId];\n\n if (!postsForChannel) {\n return null;\n }\n\n return postsForChannel.find((block) => block.oldest);\n}\n\n// returns timestamp of the channel's oldest post. 0 otherwise\nexport function getOldestPostTimeInChannel(state: GlobalState, channelId: Channel['id']): number {\n const postsForChannel = state.entities.posts.postsInChannel[channelId];\n\n if (!postsForChannel) {\n return 0;\n }\n\n const allPosts = getAllPosts(state);\n const oldestPostTime = postsForChannel.reduce((acc: number, postBlock) => {\n if (postBlock.order.length > 0) {\n const oldestPostIdInBlock = postBlock.order[postBlock.order.length - 1];\n const blockOldestPostTime = allPosts[oldestPostIdInBlock]?.create_at;\n if (typeof blockOldestPostTime === 'number' && blockOldestPostTime < acc) {\n return blockOldestPostTime;\n }\n }\n return acc;\n }, Number.MAX_SAFE_INTEGER);\n if (oldestPostTime === Number.MAX_SAFE_INTEGER) {\n return 0;\n }\n return oldestPostTime;\n}\n\n// getPostIdsInChannel returns the IDs of posts loaded at the bottom of the given channel. It does not include older\n// posts such as those loaded by viewing a thread or a permalink.\nexport function getPostIdsInChannel(state: GlobalState, channelId: Channel['id']): Array | undefined | null {\n const recentBlock = getRecentPostsChunkInChannel(state, channelId);\n\n if (!recentBlock) {\n return null;\n }\n\n return recentBlock.order;\n}\n\nexport function getPostsChunkInChannelAroundTime(state: GlobalState, channelId: Channel['id'], timeStamp: number): PostOrderBlock | undefined | null {\n const postsEntity = state.entities.posts;\n const postsForChannel = postsEntity.postsInChannel[channelId];\n const posts = postsEntity.posts;\n if (!postsForChannel) {\n return null;\n }\n\n const blockAroundTimestamp = postsForChannel.find((block) => {\n const {order} = block;\n const recentPostInBlock = posts[order[0]];\n const oldestPostInBlock = posts[order[order.length - 1]];\n if (recentPostInBlock && oldestPostInBlock) {\n return (recentPostInBlock.create_at >= timeStamp && oldestPostInBlock.create_at <= timeStamp);\n }\n return false;\n });\n\n return blockAroundTimestamp;\n}\n\nexport function getUnreadPostsChunk(state: GlobalState, channelId: Channel['id'], timeStamp: number): PostOrderBlock | undefined | null {\n const postsEntity = state.entities.posts;\n const posts = postsEntity.posts;\n const recentChunk = getRecentPostsChunkInChannel(state, channelId);\n\n /* 1. lastViewedAt can be greater than the most recent chunk in case of edited posts etc.\n * return if recent block exists and oldest post is created after the last lastViewedAt timestamp\n i.e all posts are read and the lastViewedAt is greater than the last post\n\n 2. lastViewedAt can be less than the first post in a channel if all the last viewed posts are deleted\n * return if oldest block exist and oldest post created_at is greater than the last viewed post\n i.e all posts are unread so the lastViewedAt is lessthan the first post\n\n The above two exceptions are added because we cannot select the chunk based on timestamp alone as these cases are out of bounds\n\n 3. Normal cases where there are few unreads and few reads in a chunk as that is how unread API returns data\n * return getPostsChunkInChannelAroundTime\n */\n\n if (recentChunk) {\n // This would happen if there are no posts in channel.\n // If the system messages are deleted by sys admin.\n // Experimental changes like hiding Join/Leave still will have recent chunk so it follows the default path based on timestamp\n if (!recentChunk.order.length) {\n return recentChunk;\n }\n\n const {order} = recentChunk;\n const oldestPostInBlock = posts[order[order.length - 1]];\n\n // check for only oldest posts because this can be higher than the latest post if the last post is edited\n if (oldestPostInBlock.create_at <= timeStamp) {\n return recentChunk;\n }\n }\n\n const oldestPostsChunk = getOldestPostsChunkInChannel(state, channelId);\n\n if (oldestPostsChunk && oldestPostsChunk.order.length) {\n const {order} = oldestPostsChunk;\n const oldestPostInBlock = posts[order[order.length - 1]];\n\n if (oldestPostInBlock.create_at >= timeStamp) {\n return oldestPostsChunk;\n }\n }\n\n return getPostsChunkInChannelAroundTime(state, channelId, timeStamp);\n}\n\nexport const isPostsChunkIncludingUnreadsPosts = (state: GlobalState, chunk: PostOrderBlock, timeStamp: number): boolean => {\n const postsEntity = state.entities.posts;\n const posts = postsEntity.posts;\n\n if (!chunk || !chunk.order.length) {\n return false;\n }\n\n const {order} = chunk;\n const oldestPostInBlock = posts[order[order.length - 1]];\n\n return oldestPostInBlock.create_at <= timeStamp;\n};\n\nexport const isPostIdSending = (state: GlobalState, postId: Post['id']): boolean => {\n return state.entities.posts.pendingPostIds.some((sendingPostId) => sendingPostId === postId);\n};\n\nexport const makeIsPostCommentMention = (): ((state: GlobalState, postId: Post['id']) => boolean) => {\n return createSelector(\n 'makeIsPostCommentMention',\n getAllPosts,\n getPostsInThread,\n getCurrentUser,\n getPost,\n (allPosts, postsInThread, currentUser, post) => {\n if (!post) {\n return false;\n }\n\n let threadRepliedToByCurrentUser = false;\n let isCommentMention = false;\n if (currentUser) {\n const rootId = post.root_id || post.id;\n const threadIds = postsInThread[rootId] || [];\n\n for (const pid of threadIds) {\n const p = allPosts[pid];\n if (!p) {\n continue;\n }\n\n if (p.user_id === currentUser.id) {\n threadRepliedToByCurrentUser = true;\n }\n }\n\n const rootPost = allPosts[rootId];\n\n isCommentMention = isPostCommentMention({post, currentUser, threadRepliedToByCurrentUser, rootPost});\n }\n\n return isCommentMention;\n },\n );\n};\n\nexport function getLimitedViews(state: GlobalState): GlobalState['entities']['posts']['limitedViews'] {\n return state.entities.posts.limitedViews;\n}\n\nexport function isPostPriorityEnabled(state: GlobalState) {\n return getConfig(state).PostPriority === 'true';\n}\n\nexport function isPostAcknowledgementsEnabled(state: GlobalState) {\n return (\n isPostPriorityEnabled(state) &&\n getConfig(state).PostAcknowledgements === 'true'\n );\n}\n\nexport function getAllowPersistentNotifications(state: GlobalState) {\n return (\n isPostPriorityEnabled(state) &&\n getConfig(state).AllowPersistentNotifications === 'true'\n );\n}\n\nexport function getPersistentNotificationMaxRecipients(state: GlobalState) {\n return getConfig(state).PersistentNotificationMaxRecipients;\n}\n\nexport function getPersistentNotificationIntervalMinutes(state: GlobalState) {\n return getConfig(state).PersistentNotificationIntervalMinutes;\n}\n\nexport function getAllowPersistentNotificationsForGuests(state: GlobalState) {\n return (\n isPostPriorityEnabled(state) &&\n getConfig(state).AllowPersistentNotificationsForGuests === 'true'\n );\n}\n\nexport function getPostAcknowledgements(state: GlobalState, postId: Post['id']): Record {\n return state.entities.posts.acknowledgements[postId];\n}\n\nexport const isPersistentNotificationsEnabled = createSelector(\n 'getPersistentNotificationsEnabled',\n getCurrentUser,\n getAllowPersistentNotifications,\n getAllowPersistentNotificationsForGuests,\n (user, forAll, forGuests) => (isGuest(user.roles) ? (forAll && forGuests) : forAll),\n);\n\nexport function makeGetPostAcknowledgementsWithProfiles(): (state: GlobalState, postId: Post['id']) => Array<{user: UserProfile; acknowledgedAt: PostAcknowledgement['acknowledged_at']}> {\n return createSelector(\n 'makeGetPostAcknowledgementsWithProfiles',\n getUsers,\n getPostAcknowledgements,\n (users, acknowledgements) => {\n if (!acknowledgements) {\n return [];\n }\n return Object.keys(acknowledgements).flatMap((userId) => {\n if (!users[userId]) {\n return [];\n }\n return {\n user: users[userId],\n acknowledgedAt: acknowledgements[userId],\n };\n }).sort((a, b) => b.acknowledgedAt - a.acknowledgedAt);\n },\n );\n}\n\nexport function getTeamIdFromPost(state: GlobalState, post: Post): Team['id'] | undefined {\n const channel = getChannel(state, post.channel_id);\n\n if (!channel) {\n return undefined;\n }\n\n if (channel.type === General.DM_CHANNEL || channel.type === General.GM_CHANNEL) {\n return getCurrentTeamId(state);\n }\n\n return channel.team_id;\n}\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport {CollapsedThreads} from '@mattermost/types/config';\nimport type {PreferencesType, PreferenceType} from '@mattermost/types/preferences';\nimport type {GlobalState} from '@mattermost/types/store';\n\nimport {General, Preferences} from 'mattermost-redux/constants';\nimport {createSelector} from 'mattermost-redux/selectors/create_selector';\nimport {getConfig, getFeatureFlagValue, getLicense} from 'mattermost-redux/selectors/entities/general';\nimport {createIdsSelector, createShallowSelector} from 'mattermost-redux/utils/helpers';\nimport {getPreferenceKey} from 'mattermost-redux/utils/preference_utils';\nimport {setThemeDefaults} from 'mattermost-redux/utils/theme_utils';\n\nexport function getMyPreferences(state: GlobalState): { [x: string]: PreferenceType } {\n return state.entities.preferences.myPreferences;\n}\n\nexport function getUserPreferences(state: GlobalState, userID: string): PreferencesType {\n return state.entities.preferences.userPreferences[userID];\n}\n\nfunction getPreferenceObject(state: GlobalState, category: string, name: string): PreferenceType | undefined {\n return getMyPreferences(state)[getPreferenceKey(category, name)];\n}\n\nexport function get(state: GlobalState, category: string, name: string, defaultValue = '', preferences?: PreferencesType): string {\n if (preferences) {\n return getFromPreferences(preferences, category, name, defaultValue);\n }\n\n const pref = getPreferenceObject(state, category, name);\n\n return pref ? pref.value : defaultValue;\n}\n\nexport function getFromPreferences(preferences: PreferencesType, category: string, name: string, defaultValue: any = '') {\n const key = getPreferenceKey(category, name);\n\n if (!(key in preferences)) {\n return defaultValue;\n }\n\n return preferences[key].value;\n}\n\nexport function getBool(state: GlobalState, category: string, name: string, defaultValue = false, userPreferences?: PreferencesType): boolean {\n const value = get(state, category, name, String(defaultValue), userPreferences);\n return value !== 'false';\n}\n\nexport function getInt(state: GlobalState, category: string, name: string, defaultValue = 0, userPreferences?: PreferencesType): number {\n const value = get(state, category, name, String(defaultValue), userPreferences);\n return parseInt(value, 10);\n}\n\nexport function makeGetCategory(selectorName: string, category: string): (state: GlobalState) => PreferenceType[] {\n return createIdsSelector(\n selectorName,\n getMyPreferences,\n (preferences) => {\n const prefix = category + '--';\n const prefsInCategory: PreferenceType[] = [];\n\n for (const key in preferences) {\n if (key.startsWith(prefix)) {\n prefsInCategory.push(preferences[key]);\n }\n }\n\n return prefsInCategory;\n },\n );\n}\n\nexport function makeGetUserCategory(selectorName: string, category: string): (state: GlobalState, userID: string) => PreferenceType[] {\n return createIdsSelector(\n selectorName,\n (state: GlobalState, userID: string) => getUserPreferences(state, userID),\n (preferences) => {\n const prefix = category + '--';\n const prefsInCategory: PreferenceType[] = [];\n\n for (const key in preferences) {\n if (key.startsWith(prefix)) {\n prefsInCategory.push(preferences[key]);\n }\n }\n\n return prefsInCategory;\n },\n );\n}\n\nexport const getDirectShowPreferences = makeGetCategory('getDirectShowPreferences', Preferences.CATEGORY_DIRECT_CHANNEL_SHOW);\nexport const getGroupShowPreferences = makeGetCategory('getGroupShowPreferences', Preferences.CATEGORY_GROUP_CHANNEL_SHOW);\n\nexport const getTeammateNameDisplaySetting: (state: GlobalState) => string = createSelector(\n 'getTeammateNameDisplaySetting',\n getConfig,\n (state) => getPreferenceObject(state, Preferences.CATEGORY_DISPLAY_SETTINGS, Preferences.NAME_NAME_FORMAT),\n getLicense,\n (config, teammateNameDisplayPreference, license) => {\n const useAdminTeammateNameDisplaySetting = (license && license.LockTeammateNameDisplay === 'true') && config.LockTeammateNameDisplay === 'true';\n if (teammateNameDisplayPreference && !useAdminTeammateNameDisplaySetting) {\n return teammateNameDisplayPreference.value || '';\n } else if (config.TeammateNameDisplay) {\n return config.TeammateNameDisplay;\n }\n return General.TEAMMATE_NAME_DISPLAY.SHOW_USERNAME;\n },\n);\n\nexport const getThemePreferences = makeGetCategory('getThemePreferences', Preferences.CATEGORY_THEME);\n\nconst getThemePreference = createSelector(\n 'getThemePreference',\n getMyPreferences,\n (state) => state.entities.teams.currentTeamId,\n (myPreferences, currentTeamId) => {\n // Prefer the user's current team-specific theme over the user's current global theme\n let themePreference;\n\n if (currentTeamId) {\n themePreference = myPreferences[getPreferenceKey(Preferences.CATEGORY_THEME, currentTeamId)];\n }\n\n if (!themePreference) {\n themePreference = myPreferences[getPreferenceKey(Preferences.CATEGORY_THEME, '')];\n }\n\n return themePreference;\n },\n);\n\nexport type ThemeKey = 'denim' | 'sapphire' | 'quartz' | 'indigo' | 'onyx';\n\nexport type LegacyThemeType = 'Mattermost' | 'Organization' | 'Mattermost Dark' | 'Windows Dark';\n\nexport type ThemeType = 'Denim' | 'Sapphire' | 'Quartz' | 'Indigo' | 'Onyx';\n\nexport type Theme = {\n [key: string]: string | undefined;\n type?: ThemeType | 'custom';\n sidebarBg: string;\n sidebarText: string;\n sidebarUnreadText: string;\n sidebarTextHoverBg: string;\n sidebarTextActiveBorder: string;\n sidebarTextActiveColor: string;\n sidebarHeaderBg: string;\n sidebarTeamBarBg: string;\n sidebarHeaderTextColor: string;\n onlineIndicator: string;\n awayIndicator: string;\n dndIndicator: string;\n mentionBg: string;\n mentionBj: string;\n mentionColor: string;\n centerChannelBg: string;\n centerChannelColor: string;\n newMessageSeparator: string;\n linkColor: string;\n buttonBg: string;\n buttonColor: string;\n errorTextColor: string;\n mentionHighlightBg: string;\n mentionHighlightLink: string;\n codeTheme: string;\n};\n\nconst getDefaultTheme = createSelector('getDefaultTheme', getConfig, (config): Theme => {\n if (config.DefaultTheme && config.DefaultTheme in Preferences.THEMES) {\n const theme: Theme = Preferences.THEMES[config.DefaultTheme as ThemeKey];\n if (theme) {\n return theme;\n }\n }\n\n // If no config.DefaultTheme or value doesn't refer to a valid theme name...\n return Preferences.THEMES.denim;\n});\n\nexport const getTheme: (state: GlobalState) => Theme = createShallowSelector(\n 'getTheme',\n getThemePreference,\n getDefaultTheme,\n (themePreference, defaultTheme): Theme => {\n const themeValue: Theme | string = themePreference?.value ?? defaultTheme;\n\n // A custom theme will be a JSON-serialized object stored in a preference\n // At this point, the theme should be a plain object\n const theme: Theme = typeof themeValue === 'string' ? JSON.parse(themeValue) : themeValue;\n\n return setThemeDefaults(theme);\n },\n);\n\nexport function makeGetStyleFromTheme