{$_('migration.inbound.chooseHandle.title')}

{$_('migration.inbound.chooseHandle.desc')}

{migratingFromLabel}: {migratingFromValue}
onHandleChange((e.target as HTMLInputElement).value)} onblur={onCheckHandle} /> {#if serverInfo && serverInfo.availableUserDomains.length > 0 && !handleInput.includes('.')} {/if}
{#if checkingHandle}

{$_('migration.inbound.chooseHandle.checkingAvailability')}

{:else if handleAvailable === true}

{$_('migration.inbound.chooseHandle.handleAvailable')}

{:else if handleAvailable === false}

{$_('migration.inbound.chooseHandle.handleTaken')}

{:else}

{$_('migration.inbound.chooseHandle.handleHint')}

{/if}
onEmailChange((e.target as HTMLInputElement).value)} required />
{$_('migration.inbound.chooseHandle.authMethod')}
{#if authMethod === 'password'}
onPasswordChange((e.target as HTMLInputElement).value)} required minlength={8} />

{$_('migration.inbound.chooseHandle.passwordHint')}

{:else}

{$_('migration.inbound.chooseHandle.passkeyInfo')}

{/if} {#if serverInfo?.inviteCodeRequired}
onInviteCodeChange((e.target as HTMLInputElement).value)} required />
{/if}