{{chat/twitch-chat-input
    placeholder=chatPlaceholder
    currentChannelRoomName=room.channel.id
    textareaValue=room.messageToSend
    isTextareaDisabled=room.isLoading
    sortProperties=room.suggestionSortProperties
    suggestions=(action 'getChatSuggestions')
    hashtagSuggestions=(action 'getChatHashtagSuggestions')
    sendMessage='sendMessage'
    disableSuggestions='disableSuggestions'
    focusChatInputWindow='focusChatInputWindow'
    track='track'
    sendCaretIndex=(action setCaretIndex)}}

{{#if isBitsHelperShown}}
  {{bits/helper-toggle}}
{{/if}}

{{#if showEmoticonSelectorToggle}}
  <a {{action toggleEmoticonSelector}} class="js-emoticon-toggle emoticon-selector-toggle {{if showEmoticonSelector 'toggled'}}">
    {{partial 'svg/emoticons'}}
  </a>
{{/if}}

{{#if isBitsTooltipShown}}
  {{bits/chat-tooltip}}
{{/if}}
