<div class="advertisement new_advertisement js-new-channel-ad">
  <div class="a300 js-adhide" id="google_companion_300x250" style="display:none;"></div>
  <div class="js-ad-actions js-adhide" id="ad_actions" style="display:none;">
    <a {{action "handleHideAd" }} class="close">Close Ad</a>
  </div>
</div>

<div class="rightcol-content js-rightcol-content notabs">
  <div class="tab-container">
    {{#if isChatOpen}}
      {{#if globals.isInMaintenanceMode}}
        <p class="no-media-found">
          {{i18n 'Sorry, Twitch is in maintenance mode'}}
        </p>
      {{else if (not channelController.content.show_chat)}}
        <p class="no-media-found">
          {{i18n 'Chat is disabled for this channel'}}
        </p>
      {{else}}
        <div class="chat-container js-chat-container {{if chatSettings.darkMode 'dark theme--dark'}} {{if layout.isTheatreMode 'dark theme--dark'}}">
          {{render 'chat'}}
        </div>
      {{/if}}
    {{else}} {{! Sidebar panels on the profile page }}
      <div class="stretch scroll panels-contain" style="top: 0px; bottom: 0px;">
        <div class="tse-scroll-content">
          <div class="tse-content">
            <div class="panels-sidebar">
              {{panels-list panels=channelController.model.panels isEditable=''}}
            </div>
          </div>
        </div>
      </div>
    {{/if}}
  </div>
</div>
