<commit_before><template>
  <v-form ref="form" v-model="valid" lazy-validation>
    <v-container grid-list-xs fill-height style="overflow: auto;">
      <v-layout row wrap justify-start align-start>
        <v-flex tag="h1" class="white--text" xs12>
          <span class="headline">{{ $t('profile.setting') }}</span>
        </v-flex>
        <v-flex d-flex xs6>
          <v-text-field v-model="name" outline hide-details dark :label="$t('profile.name')"
                        :placeholder="`Minecraft ${version.minecraft}`" />
        </v-flex>
        <v-flex d-flex xs6>
          <v-text-field outline hide-details dark readonly :value="version.minecraft"
                        :label="$t('profile.version')" @click="goVersionPage" @focus="goVersionPage" />
        </v-flex>
        <v-flex v-if="!isServer" d-flex xs6>
          <v-text-field v-model="author" outline hide-details dark :label="$t('profile.modpack.author')"
                        :placeholder="username" required />
        </v-flex>
        <v-flex v-if="isServer" d-flex xs6>
          <v-text-field v-model="host" outline hide-details dark :label="$t('profile.server.host')" placeholder="www.whatever.com"
                        required />
        </v-flex>
        <v-flex v-if="isServer" d-flex xs6>
          <v-text-field v-model="port" outline hide-details dark :label="$t('profile.server.port')" placeholder="25565"
                        required />
        </v-flex>
        <v-flex v-if="!isServer" d-flex xs6>
          <v-text-field v-model="url" outline hide-details dark :label="$t('profile.url')" placeholder="www.whatever.com"
                        required />
        </v-flex>
        <v-flex v-if="!isServer" d-flex xs12>
          <v-text-field v-model="description" outline hide-details dark :label="$t('profile.modpack.description')" />
        </v-flex>

        <!-- <v-flex d-flex xs6>
          <v-btn outline large replace to="/game-setting">
            {{ $tc('gamesetting.name', 2) }}
          </v-btn>
        </v-flex> -->
        <v-flex d-flex xs6><commit_msg>fix: not route to version page twice<commit_after><template>
  <v-form ref="form" v-model="valid" lazy-validation>
    <v-container grid-list-xs fill-height style="overflow: auto;">
      <v-layout row wrap justify-start align-start>
        <v-flex tag="h1" class="white--text" xs12>
          <span class="headline">{{ $t('profile.setting') }}</span>
        </v-flex>
        <v-flex d-flex xs6>
          <v-text-field v-model="name" outline hide-details dark :label="$t('profile.name')"
                        :placeholder="`Minecraft ${version.minecraft}`" />
        </v-flex>
        <v-flex d-flex xs6>
          <v-text-field outline hide-details dark readonly :value="version.minecraft"
                        :label="$t('profile.version')" @focus="goVersionPage" />
        </v-flex>
        <v-flex v-if="!isServer" d-flex xs6>
          <v-text-field v-model="author" outline hide-details dark :label="$t('profile.modpack.author')"
                        :placeholder="username" required />
        </v-flex>
        <v-flex v-if="isServer" d-flex xs6>
          <v-text-field v-model="host" outline hide-details dark :label="$t('profile.server.host')" placeholder="www.whatever.com"
                        required />
        </v-flex>
        <v-flex v-if="isServer" d-flex xs6>
          <v-text-field v-model="port" outline hide-details dark :label="$t('profile.server.port')" placeholder="25565"
                        required />
        </v-flex>
        <v-flex v-if="!isServer" d-flex xs6>
          <v-text-field v-model="url" outline hide-details dark :label="$t('profile.url')" placeholder="www.whatever.com"
                        required />
        </v-flex>
        <v-flex v-if="!isServer" d-flex xs12>
          <v-text-field v-model="description" outline hide-details dark :label="$t('profile.modpack.description')" />
        </v-flex>

        <!-- <v-flex d-flex xs6>
          <v-btn outline large replace to="/game-setting">
            {{ $tc('gamesetting.name', 2) }}
          </v-btn>
        </v-flex> -->
        <v-flex d-flex xs6>
{'fraction_non_alphanumeric': 0.17507204610951008, 'fraction_numerical': 0.009125840537944284, 'mean_word_length': 2.071533923303835, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '366973', 'n_tokens_mistral': 1344, 'n_tokens_neox': 1293, 'n_words': 258}