<div class="cl-container subscription-dash">
  {{#if hasSetProduct}}
    {{#dashboards/subscription-dash/section-table sectionTitle='General Information'}}
      {{dashboards/subscription-dash/section-row
        isChecked=hasSetName
        linkToTarget='dashboards.subscription-dash.ticket-information'
        header='Subscription Name'
        description='Name of your subscription program that will be visible to everyone'}}
    {{/dashboards/subscription-dash/section-table}}
  {{/if}}

  {{#dashboards/subscription-dash/section-table sectionTitle='Payout Preferences'}}
    {{#if isIndividualPartner}}
      {{dashboards/subscription-dash/section-row
        isChecked=isPayable
        linkToTarget='dashboards.subscription-dash.payout-settings'
        header='Payout Info'
        description='Manage or modify your payout info. Two-factor authentication is required.'}}
    {{else}}
      {{dashboards/subscription-dash/section-row
        isChecked=isPayable
        header='Payout Info'
        description='Your arrangement requires you to contact partnerhelp@twitch.tv.'}}
    {{/if}}

    {{dashboards/subscription-dash/section-row
      isChecked=hasRoyaltyTaxSuccess
      linkToTarget='/tax_interview/new?income_type=royalty'
      isLinkToTargetExternal=true
      header='Tax Interview'
      description='Submit your tax documentation.'}}
  {{/dashboards/subscription-dash/section-table}}

  {{#if hasSetProduct}}
    {{#if isStreamingCreative}}
      {{#dashboards/subscription-dash/section-table sectionTitle="Commissions"}}
        {{dashboards/subscription-dash/section-row
          isChecked=isStreamingCreative
          linkToTarget='dashboards.subscription-dash.creative-properties'
          header='Commission'
          description='Display a commission button and change your commission text'}}
      {{/dashboards/subscription-dash/section-table}}
    {{/if}}

    {{#dashboards/subscription-dash/section-table sectionTitle='Chat'}}
      {{dashboards/subscription-dash/section-row
        isChecked=hasSubBadges
        linkToTarget='dashboards.subscription-dash.badges'
        header='Badges'
        description='Custom badges for your subscribers in chat'}}

      {{dashboards/subscription-dash/section-row
        isChecked=hasSetEmoticon
        linkToTarget='dashboards.subscription-dash.chat-perks'
        header='Emoticons'
        description='Custom emoticons your subscribers can use in any channel'}}

      {{dashboards/subscription-dash/section-row
        isChecked=hasSetSubsonly
        linkToTarget='dashboards.subscription-dash.chat-limit'
        header='Subscriber-Only Chat'
        description='Only subscribers can chat in your channel'}}

      {{dashboards/subscription-dash/section-row
        isChecked=hasSetFastsubs
        linkToTarget='dashboards.subscription-dash.chat-limit'
        header='Exclude Subscribers From Slow Mode'
        description='Subscribers are not affected by chat slow mode'}}
    {{/dashboards/subscription-dash/section-table}}

    {{#if isBitsRecipientEligible}}
      {{#dashboards/subscription-dash/section-table sectionTitle='Cheer'}}
        {{dashboards/subscription-dash/section-row
          isChecked=isBitsOnboarded
          linkToTarget='dashboards.subscription-dash.bits-onboarding-settings'
          header=(bits-string 'onboarding_header')
          description=(bits-string 'onboarding_desc')
          useI18n=false}}

        {{dashboards/subscription-dash/section-row
          isChecked=isBitsRecipientEligible
          linkToTarget='dashboards.subscription-dash.bits-onboarding-settings'
          header=(bits-string 'threshold_header')
          description=(bits-string 'threshold_desc')
          useI18n=false}}

        {{dashboards/subscription-dash/section-row
          isChecked=isBitsRecipientEligible
          linkToTarget='dashboards.subscription-dash.bits-onboarding-settings'
          header=(bits-string 'chat_badge_header')
          description=(bits-string 'chat_badge_desc')
          useI18n=false}}

        {{#if isBitsTagsEnabled}}
          {{dashboards/subscription-dash/section-row
            isChecked=isBitsTagsEnabled
            linkToTarget='dashboards.subscription-dash.bits-tag-settings'
            header=(bits-string 'hashtag_header')
            description=(bits-string 'hashtag_desc')
            useI18n=false}}
        {{/if}}

        {{#if isPinCheerEnabled}}
          {{dashboards/subscription-dash/section-row
            isChecked=areCheersPinned
            linkToTarget="dashboards.subscription-dash.bits-onboarding-settings"
            header=(bits-string 'pinned_cheer_header')
            description=(bits-string 'pinned_cheer_desc')
            useI18n=false}}
        {{/if}}
      {{/dashboards/subscription-dash/section-table}}
    {{/if}}

    {{#dashboards/subscription-dash/section-table sectionTitle='Video'}}
      {{dashboards/subscription-dash/section-row
        isChecked=hasSetSubonlyArchives
        linkToTarget='dashboards.subscription-dash.video-limit'
        header='Restrict Access To Archives'
        description='Only subscribers can watch past broadcasts and highlights'}}

      {{dashboards/subscription-dash/section-row
        isChecked=(not hasSourceTranscode)
        linkToTarget='dashboards.subscription-dash.video-limit'
        header='Restrict Access to Video Quality'
        description='Video quality is limited for non-subscribers'}}
    {{/dashboards/subscription-dash/section-table}}

    {{#dashboards/subscription-dash/section-table sectionTitle='Monetization'}}
      {{dashboards/subscription-dash/section-row
        isChecked=hasSetAdFreeForSubscribers
        linkToTarget='dashboards.subscription-dash.ads'
        header='Ad-Free for Subscribers'
        description='Ad-Free Viewing for Subscribers'}}

      {{dashboards/subscription-dash/section-row
        isChecked=isNetPaymentAmendmentAccepted
        linkToTarget='dashboards.subscription-dash.payments'
        header='Accept International Payments'
        description='Allow viewers to purchase your subscription using Xsolla'}}

      {{#if isTeespringEnabled}}
        {{dashboards/subscription-dash/section-row
          isChecked=hasTeespringCampaign
          linkToTarget='dashboards.subscription-dash.teespring'
          header='Affiliate Options'
          description='Manage your affiliates'}}
      {{/if}}
      {{dashboards/subscription-dash/section-row
        isChecked=isStreamlineAmendmentAccepted
        linkToTarget='dashboards.subscription-dash.streamline-bounty-settings'
        header=(bits-string 'fl_sl_header')
        description=(bits-string 'fl_sl_description')
        useI18n=false}}
      {{#if (is-feature-loaded 'game-commerce')}}
        {{dashboards/subscription-dash/section-row
          isChecked=isGameCommerceAmendmentAccepted
          linkToTarget='dashboards.subscription-dash.game-commerce-settings'
          header='Enable Game Amendment'
          description='Enable Game Amendment'
          useI18n=false}}
      {{/if}}
    {{/dashboards/subscription-dash/section-table}}
  {{/if}}
</div>
