{t('account.profile')}

{t('account.profileHint')}

{#if profileErrors.name}

{profileErrors.name}

{/if}

{t('account.emailFixed')}

{#if profileErrors.timezone}

{profileErrors.timezone}

{/if}

{t('account.parseHint')}

{#if profileErrors.locale}

{profileErrors.locale}

{/if}
{#if profileSaved}{t('account.saved')}{/if}

{t('account.appearance')}

{t('account.appearanceHint')}

{#each THEMES as option (option.id)} {/each}

{t('account.look')}

{t('account.lookHint')}

{#each LOOKS as option (option.id)} {/each}

{t('account.sizes')}

{t('account.sizesHint')}

{t('account.password')}

{t('account.passwordHint')}

{#if passwordErrors.current_password}

{passwordErrors.current_password}

{/if}
{#if passwordErrors.new_password}

{passwordErrors.new_password}

{/if}
{#if passwordSaved}{t('account.passwordChanged')}{/if}

{t('account.totp')}

{t('account.totpHint')}

{#if recoveryCodes.length}

{t('account.writeThemDown')} {t('account.recoveryHint')}

{:else if app.user?.totp_enabled}

{t('account.totpEnabled')}{#if remaining !== null} {plural(remaining, 'account.recoveryLeftOne', 'account.recoveryLeftMany')}{/if}

{#if totpErrors.password}

{totpErrors.password}

{/if}

{t('account.passwordRequired')}

{:else if totpSecret}

{t('account.scanHint')}

{#if totpQR}
{@html totpQR}
{/if}

{totpSecret}

{#if totpErrors.code}

{totpErrors.code}

{/if}

{t('account.totpProofHint')}

{:else}
{#if totpErrors.password}

{totpErrors.password}

{/if}
{/if}

{t('passkey.title')}

{t('passkey.hint')}

{#if !passkeySupported}

{t('passkey.unavailable')}

{:else} {#if passkeys.length} {:else}

{t('passkey.none')}

{/if}
{#if passkeyError}

{passkeyError}

{/if} {/if}

{t('account.devices')}

{t('account.devicesHint')}

{t('account.support')}

{t('account.supportHint')}

{t('account.buyCoffee')} ↗