<commit_before><template>
  <div class="wrapper">
    <div class="item -preview" :class="'-' + status">
        <div class="info">
            <div class="description-wrapper">
                <h3 class="title" @click="$mixpanel.track('New DApp - Preview title')"><span v-if="name">{{ name | truncate(25) }}</span><span v-else>Your ÐApp</span></h3>
                <p class="attribution" @click="$mixpanel.track('New DApp - Preview author')">by <strong><span v-if="authors.length > 0">{{ authors[0] }}</span><span v-else>the founder</span></strong><span v-if="authors.length > 1"> +{{ authors.length - 1 }}</span></p>
                <p class="description" @click="$mixpanel.track('New DApp - Preview teaser')"><span v-if="teaser">{{ teaser | truncate(75) }}</span><span v-else>Teaser description</span></p>
            </div>
        </div>
        <p class="status" :class="'-' + status" @click="$mixpanel.track('New DApp - Preview status')"><span v-if="status">{{ status | formatDappStatus }}</span></p>
    </div>
    <div class="checkboxes">
      <div class="checkbox-field">
        <input class="checkbox-input" type="checkbox" id="promotion-interest" v-model="promotionInterest">
        <label class="checkbox-label" for="promotion-interest">I'm interested in promoting this ÐApp</label>
      </div>
      <div class="checkbox-field">
        <input class="checkbox-input" type="checkbox" id="subscribe-newsletter-checkbox" v-model="subscribeNewsletter">
        <label class="checkbox-label" for="subscribe-newsletter-checkbox">Email me (very occasional) updates</label>
      </div>
      <div class="checkbox-field">
        <input class="checkbox-input" type="checkbox" id="accepted-terms-checkbox" v-model="acceptedTerms">
        <label class="checkbox-label" for="accepted-terms-checkbox">I accept the&nbsp;<nuxt-link @click.native="$mixpanel.track('New DApp - Terms of Service')" to="/terms">Terms of Service</nuxt-link>&nbsp;<span class="required">(required)</span></label>
      </div>
    </div>
    <input type="text" class="yumyum" v-model="honeypot">
    <input v-if="errorFields.length == 1" @click.prevent="$mixpanel.track('New DApp - Submit', { disabled: true, errorFields })" class="submit" type="submit" :value="'1 field needs your attention'">
    <input v-else-if="errorFields.length > 0 && errorFields.length !== 1" @click.prevent="$mixpanel.track('New DApp - Submit', { disabled: true, errorFields })" class="submit" type="submit" :value="errorFields.length + ' fields need your attention'">
    <input v-else-if="sending" @click.prevent="$mixpanel.track('New DApp - Submit', { disabled: true })" class="submit" type="submit" :value="'Please wait'">
    <input v-else-if="errorFields.length == 0" class="submit --is-ready" type="submit" :value="'Submit'" @click.prevent="submit">
  </div>
</template>

<script>
  import axios from '~/helpers/axios'

  export default {
    computed: {
      authors () {
        return this.$store.getters['dapps/form/authors']
      },
      contractsMainnet () {
        return this.$store.getters['dapps/form/contractsMainnet']
      },<commit_msg>Improve dapp sumbit promotion language<commit_after><template>
  <div class="wrapper">
    <div class="item -preview" :class="'-' + status">
        <div class="info">
            <div class="description-wrapper">
                <h3 class="title" @click="$mixpanel.track('New DApp - Preview title')"><span v-if="name">{{ name | truncate(25) }}</span><span v-else>Your ÐApp</span></h3>
                <p class="attribution" @click="$mixpanel.track('New DApp - Preview author')">by <strong><span v-if="authors.length > 0">{{ authors[0] }}</span><span v-else>the founder</span></strong><span v-if="authors.length > 1"> +{{ authors.length - 1 }}</span></p>
                <p class="description" @click="$mixpanel.track('New DApp - Preview teaser')"><span v-if="teaser">{{ teaser | truncate(75) }}</span><span v-else>Teaser description</span></p>
            </div>
        </div>
        <p class="status" :class="'-' + status" @click="$mixpanel.track('New DApp - Preview status')"><span v-if="status">{{ status | formatDappStatus }}</span></p>
    </div>
    <div class="checkboxes">
      <div class="checkbox-field">
        <input class="checkbox-input" type="checkbox" id="promotion-interest" v-model="promotionInterest">
        <label class="checkbox-label" for="promotion-interest">I'm interested in promoting this ÐApp to attract more users</label>
      </div>
      <div class="checkbox-field">
        <input class="checkbox-input" type="checkbox" id="subscribe-newsletter-checkbox" v-model="subscribeNewsletter">
        <label class="checkbox-label" for="subscribe-newsletter-checkbox">Email me (very occasional) updates</label>
      </div>
      <div class="checkbox-field">
        <input class="checkbox-input" type="checkbox" id="accepted-terms-checkbox" v-model="acceptedTerms">
        <label class="checkbox-label" for="accepted-terms-checkbox">I accept the&nbsp;<nuxt-link @click.native="$mixpanel.track('New DApp - Terms of Service')" to="/terms">Terms of Service</nuxt-link>&nbsp;<span class="required">(required)</span></label>
      </div>
    </div>
    <input type="text" class="yumyum" v-model="honeypot">
    <input v-if="errorFields.length == 1" @click.prevent="$mixpanel.track('New DApp - Submit', { disabled: true, errorFields })" class="submit" type="submit" :value="'1 field needs your attention'">
    <input v-else-if="errorFields.length > 0 && errorFields.length !== 1" @click.prevent="$mixpanel.track('New DApp - Submit', { disabled: true, errorFields })" class="submit" type="submit" :value="errorFields.length + ' fields need your attention'">
    <input v-else-if="sending" @click.prevent="$mixpanel.track('New DApp - Submit', { disabled: true })" class="submit" type="submit" :value="'Please wait'">
    <input v-else-if="errorFields.length == 0" class="submit --is-ready" type="submit" :value="'Submit'" @click.prevent="submit">
  </div>
</template>

<script>
  import axios from '~/helpers/axios'

  export default {
    computed: {
      authors () {
        return this.$store.getters['dapps/form/authors']
      },
      contractsMainnet () {
        return this.$store.getters['dapps/form/contractsMainnet']
      },
{'fraction_non_alphanumeric': 0.1929014801846252, 'fraction_numerical': 0.004774789113480821, 'mean_word_length': 4.031224979983987, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 135, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3815445', 'n_tokens_mistral': 1979, 'n_tokens_neox': 1911, 'n_words': 404}