   (visibilities) -> visibilities.get stateId
 ]
 
-chatInputSearchItems         = (stateId) -> [
+chatInputSearchItems = (stateId) -> [
   ChatInputSearchStore
   (searchStore) -> searchStore.get stateId
 ]
-chatInputSearchQuery         = (stateId) -> [
+chatInputSearchQuery = (stateId) -> [
   ChatInputSearchQueryStore
   (queries) -> queries.get stateId
 ]
-chatInputSearchRawIndex      = (stateId) -> [
+chatInputSearchRawIndex = (stateId) -> [
   ChatInputSearchSelectedIndexStore
   (indexes) -> indexes.get stateId
 ]

  (visibilities) -> visibilities.get stateId
]

chatInputUsersQuery         = (stateId) -> [
  ChatInputUsersQueryStore
  (queries) -> queries.get stateId
]
# Returns a list of users depending on the current query
# If query is empty, returns selected channel participants
# Otherwise, returns users filtered by query
chatInputUsers              = (stateId) -> [
  UsersStore
  selectedChannelParticipants
  chatInputUsersQuery stateId

  SuggestionsSelectedIndexStore
  calculateListSelectedIndex
]
currentSuggestionsSelectedItem = [
  SuggestionsStore
  currentSuggestionsSelectedIndex
  getListSelectedItem
]

filteredEmojiListQuery = (stateId) -> [
  FilteredEmojiListQueryStore
  (queries) -> queries.get stateId
]
# Returns a list of emojis filtered by current query
filteredEmojiList = (stateId) -> [
  EmojisStore
  filteredEmojiListQuery stateId
  (emojis, query) ->
