<commit_before><template>
	<div id="account-form">
		<tabs :options="{ useUrlFragment: false, defaultTabHash: 'auto' }"
			  @changed="onModeChanged">
			<tab :name="t('mail', 'Auto')"
				 id="auto"
				 key="auto">
				<label for="auto-name">
					{{ t('mail', 'Name') }}
				</label>
				<input type="text"
					   id="auto-name"
					   :placeholder="t('mail', 'Name')"
					   v-model="autoConfig.accountName"
					   :disabled="loading"
					   autofocus/>
				<label for="auto-address">
					{{ t('mail', 'Mail Address') }}
				</label>
				<input type="email"
					   id="auto-address"
					   :placeholder="t('mail', 'Mail Address')"
					   v-model="autoConfig.emailAddress"
					   :disabled="loading"
					   required/>
				<label for="auto-password">
					{{ t('mail', 'Password') }}
				</label>
				<input type="password"
					   id="auto-password"
					   :placeholder="t('mail', 'Password')"
					   v-model="autoConfig.password"
					   :disabled="loading"
					   required/>
			</tab>
			<tab :name="t('mail', 'Manual')"
				 id="manual"
				 key="manual">
				<label for="man-name">
					{{ t('mail', 'Name') }}
				</label>
				<input type="text"
					   id="man-name"
					   :placeholder="t('mail', 'Name')"
					   v-model="manualConfig.accountName"
					   :disabled="loading"
					   autofocus/>
				<label for="man-address">
					{{ t('mail', 'Mail Address') }}
				</label>
				<input type="email"
					   id="man-address"
					   :placeholder="t('mail', 'Mail Address')"
					   v-model="manualConfig.emailAddress"
					   :disabled="loading"
					   required/>

				<h3>{{ t('mail', 'IMAP Settings') }}</h3>
				<label for="man-imap-host">
					{{ t('mail', 'IMAP Host') }}
				</label>
				<input type="text"
					   id="man-imap-host"
					   :placeholder="t('mail', 'IMAP Host')"
					   v-model="manualConfig.imapHost"
					   :disabled="loading"
					   required/>
				<h4>{{ t('mail', 'IMAP Security') }}</h4>
				<div class="flex-row">
					<label class="button"
						   :class="{primary: manualConfig.imapSslMode === 'none' }">
						<input type="radio"
							   name="man-imap-sec"
							   v-model="manualConfig.imapSslMode"
							   :disabled="loading"
							   @change="onImapSslModeChange"
							   value="none">
						{{ t('mail', 'None') }}
					</label>
					<label class="button"
						   :class="{primary: manualConfig.imapSslMode === 'ssl' }">
						<input type="radio"
							   name="man-imap-sec"
							   v-model="manualConfig.imapSslMode"
							   :disabled="loading"
							   @change="onImapSslModeChange"
							   value="ssl">
						{{ t('mail', 'SSL/TLS') }}
					</label>
					<label class="button"
						   :class="{primary: manualConfig.imapSslMode === 'tls' }">
						<input type="radio"
							   name="man-imap-sec"
							   v-model="manualConfig.imapSslMode"
							   :disabled="loading"
							   @change="onImapSslModeChange"
							   value="tls">
						{{ t('mail', 'STARTTLS') }}
					</label>
				</div>
				<label for="man-imap-port">
					{{ t('mail', 'IMAP Port') }}
				</label>
				<input type="number"
					   id="man-imap-port"
					   :placeholder="t('mail', 'IMAP Port')"
					   v-model="manualConfig.imapPort"
					   :disabled="loading"
					   required/>
				<label for="man-imap-user">
					{{ t('mail', 'IMAP User') }}
				</label>
				<input type="text"
					   id="man-imap-user"
					   :placeholder="t('mail', 'IMAP User')"
					   v-model="manualConfig.imapUser"
					   :disabled="loading"
					   required/>
				<label for="man-imap-password">
					{{ t('mail', 'IMAP Password') }}
				</label>
				<input type="password"
					   id="man-imap-password"
					   :placeholder="t('mail', 'IMAP Password')"
					   v-model="manualConfig.imapPassword"<commit_msg>fixup! Add tabs to the setup/settings screen<commit_after><template>
	<div id="account-form">
		<tabs :options="{ useUrlFragment: false, defaultTabHash: 'auto' }"
			  @changed="onModeChanged">
			<tab :name="t('mail', 'Auto')"
				 id="auto"
				 key="auto">
				<label for="auto-name">
					{{ t('mail', 'Name') }}
				</label>
				<input type="text"
					   id="auto-name"
					   :placeholder="t('mail', 'Name')"
					   v-model="autoConfig.accountName"
					   :disabled="loading"
					   autofocus/>
				<label for="auto-address">
					{{ t('mail', 'Mail Address') }}
				</label>
				<input type="email"
					   id="auto-address"
					   :placeholder="t('mail', 'Mail Address')"
					   v-model="autoConfig.emailAddress"
					   :disabled="loading"
					   required/>
				<label for="auto-password">
					{{ t('mail', 'Password') }}
				</label>
				<input type="password"
					   id="auto-password"
					   :placeholder="t('mail', 'Password')"
					   v-model="autoConfig.password"
					   :disabled="loading"
					   required/>
			</tab>
			<tab :name="t('mail', 'Manual')"
				 id="manual"
				 key="manual">
				<label for="man-name">
					{{ t('mail', 'Name') }}
				</label>
				<input type="text"
					   id="man-name"
					   :placeholder="t('mail', 'Name')"
					   v-model="manualConfig.accountName"
					   :disabled="loading"
					   autofocus/>
				<label for="man-address">
					{{ t('mail', 'Mail Address') }}
				</label>
				<input type="email"
					   id="man-address"
					   :placeholder="t('mail', 'Mail Address')"
					   v-model="manualConfig.emailAddress"
					   :disabled="loading"
					   required/>

				<h3>{{ t('mail', 'IMAP Settings') }}</h3>
				<label for="man-imap-host">
					{{ t('mail', 'IMAP Host') }}
				</label>
				<input type="text"
					   id="man-imap-host"
					   :placeholder="t('mail', 'IMAP Host')"
					   v-model="manualConfig.imapHost"
					   :disabled="loading"
					   required/>
				<h4>{{ t('mail', 'IMAP Security') }}</h4>
				<div class="flex-row">
					<input type="radio"
						   id="man-imap-sec-none"
						   name="man-imap-sec"
						   v-model="manualConfig.imapSslMode"
						   :disabled="loading"
						   @change="onImapSslModeChange"
						   value="none">
					<label class="button"
						   for="man-imap-sec-none"
						   :class="{primary: manualConfig.imapSslMode === 'none' }">
						{{ t('mail', 'None') }}
					</label>
					<input type="radio"
						   id="man-imap-sec-ssl"
						   name="man-imap-sec"
						   v-model="manualConfig.imapSslMode"
						   :disabled="loading"
						   @change="onImapSslModeChange"
						   value="ssl">
					<label class="button"
						   for="man-imap-sec-ssl"
						   :class="{primary: manualConfig.imapSslMode === 'ssl' }">
						{{ t('mail', 'SSL/TLS') }}
					</label>
					<input type="radio"
						   id="man-imap-sec-tls"
						   name="man-imap-sec"
						   v-model="manualConfig.imapSslMode"
						   :disabled="loading"
						   @change="onImapSslModeChange"
						   value="tls">
					<label class="button"
						   for="man-imap-sec-tls"
						   :class="{primary: manualConfig.imapSslMode === 'tls' }">
						{{ t('mail', 'STARTTLS') }}
					</label>
				</div>
				<label for="man-imap-port">
					{{ t('mail', 'IMAP Port') }}
				</label>
				<input type="number"
					   id="man-imap-port"
					   :placeholder="t('mail', 'IMAP Port')"
					   v-model="manualConfig.imapPort"
					   :disabled="loading"
					   required/>
				<label for="man-imap-user">
					{{ t('mail', 'IMAP User') }}
				</label>
				<input type="text"
					   id="man-imap-user"
					   :placeholder="t('mail', 'IMAP User')"
					   v-model="manualConfig.imapUser"
					   :disabled="loading"
					   required/>
				<label for="man-imap-password">
					{{ t('mail', 'IMAP Password') }}
				</label>
				<input type="password"
					   id="man-imap-password"
					   :placeholder="t('mail', 'IMAP Password')"
					   v-model="manualConfig.imapPassword"
{'fraction_non_alphanumeric': 0.1956521739130435, 'fraction_numerical': 0.0010351966873706005, 'mean_word_length': 2.3604347826086958, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 97, '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': '6863345', 'n_tokens_mistral': 3686, 'n_tokens_neox': 2534, 'n_words': 423}