<commit_before><template>
  <div>
    <v-slide-y-transition>
      <v-container
        class="my-0 pa-0"
      >
        <v-row>
          <v-col>
            <v-text-field
              :label="$i18n('title')"
              color="secondary"
              :value="saveState.newEntry.title"
              dense
              outlined
              hide-details="auto"
              :type="text"
              autofocus
              @input="setTitle"
            >
              <template slot="append">
                <v-btn
                  v-if="resettableTitle"
                  small
                  icon
                  @click="resetTitle"
                >
                  <v-icon>mdi-undo</v-icon>
                </v-btn>
              </template>
            </v-text-field>
          </v-col>
        </v-row>

        <FieldEditor
          v-for="f of saveState.newEntry.fields"
          :key="f.uuid"
          :field="f"
          @field-value-changed="fieldValueChanged"
        />
      </v-container>
    </v-slide-y-transition>
    <v-alert
      v-if="showURLMismatchWarning"
      border="top"
      colored-border
      type="warning"
      elevation="1"
      class="my-3"
    >
      <v-row align="center">
        <v-col>
          <p>{{ $i18n('url_mismatch_1') }}</p>
          <p>{{ $i18n('url_mismatch_2') }}</p>
          <p>{{ $i18n('url_mismatch_3') }}</p>
        </v-col>
      </v-row>
      <v-row align="center">
        <v-col>
          <div>
            <v-checkbox
              v-model="differentSiteConfirmation"
              :label="$i18n('url_mismatch_confirm', entryDomain)"
            />
          </div>
        </v-col>
      </v-row>
    </v-alert>
    <v-btn
      right
      color="tertiary"
      @click="cancel"
    >
      {{ $i18n('cancel') }}
    </v-btn>
    <v-btn
      v-if="!editingExisting"
      right
      color="primary"
      @click="nextClicked"<commit_msg>Improve domain mismatch warning style<commit_after><template>
  <div>
    <v-slide-y-transition>
      <v-container
        class="my-0 pa-0"
      >
        <v-row>
          <v-col>
            <v-text-field
              :label="$i18n('title')"
              color="secondary"
              :value="saveState.newEntry.title"
              dense
              outlined
              hide-details="auto"
              :type="text"
              autofocus
              @input="setTitle"
            >
              <template slot="append">
                <v-btn
                  v-if="resettableTitle"
                  small
                  icon
                  @click="resetTitle"
                >
                  <v-icon>mdi-undo</v-icon>
                </v-btn>
              </template>
            </v-text-field>
          </v-col>
        </v-row>

        <FieldEditor
          v-for="f of saveState.newEntry.fields"
          :key="f.uuid"
          :field="f"
          @field-value-changed="fieldValueChanged"
        />
      </v-container>
    </v-slide-y-transition>
    <v-alert
      v-if="showURLMismatchWarning"
      border="top"
      colored-border
      type="warning"
      elevation="1"
      class="my-3"
    >
      <v-row dense>
        <v-col>
          <p>{{ $i18n('url_mismatch_1') }}</p>
          <p>{{ $i18n('url_mismatch_2') }}</p>
          <p>{{ $i18n('url_mismatch_3') }}</p>
        </v-col>
      </v-row>
      <v-row dense>
        <v-col class="my-0 py-0">
          <div>
            <v-checkbox
              v-model="differentSiteConfirmation"
              class="my-0 py-0"
              hide-details
              :label="$i18n('url_mismatch_confirm', entryDomain)"
            />
          </div>
        </v-col>
      </v-row>
    </v-alert>
    <v-btn
      right
      color="tertiary"
      @click="cancel"
    >
      {{ $i18n('cancel') }}
    </v-btn>
    <v-btn
      v-if="!editingExisting"
      right
      color="primary"
      @click="nextClicked"
{'fraction_non_alphanumeric': 0.15223428427164856, 'fraction_numerical': 0.010603382984094925, 'mean_word_length': 1.1709589041095891, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 83, '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': '2116323', 'n_tokens_mistral': 1304, 'n_tokens_neox': 1265, 'n_words': 176}