{#if autoSubmitting}

{$_('verify.verifying')}

{$_('verify.pleaseWait')}

{:else if success}

{$_('verify.verified')}

{#if successPurpose === 'migration' || successPurpose === 'signup'}

{$_('verify.channelVerified', { values: { channel: channelLabel(successChannel || '') } })}

{$_('verify.canNowSignIn')}

{:else}

{$_('verify.channelVerified', { values: { channel: channelLabel(successChannel || '') } })}

{/if}
{:else if mode === 'token'}

{$_('verify.tokenTitle')}

{$_('verify.tokenSubtitle')}

{#if error}
{error}
{/if} {#if resendMessage}
{resendMessage}
{/if}
{ e.preventDefault(); handleTokenVerification(); }}>

{$_('verify.identifierHelp')}

{$_('verify.codeHelp')}

{:else if pendingVerification}

{$_('verify.title')}

{$_('verify.subtitle', { values: { channel: channelLabel(pendingVerification.channel) } })}

{$_('verify.verifyingAccount', { values: { handle: pendingVerification.handle } })}

{#if error}
{error}
{/if} {#if resendMessage}
{resendMessage}
{/if}
{ e.preventDefault(); handleSignupVerification(e); }}>

{$_('verify.codeHelp')}

{:else}

{$_('verify.title')}

{$_('verify.noPending')}

{$_('verify.noPendingInfo')}

{$_('verify.createAccount')} {$_('verify.signIn')}
{/if}