{#if stage == 'signup'}
{$t('common.back')}
{$t('form.signup.title')} {#snippet extended()}
{#if data.site_view.site.icon}
{/if} {data.site_view.site.name}
{/snippet}
{#if data.site_view.local_site.registration_mode != 'Closed'}
{#if data.site_view.local_site.registration_mode == 'RequireApplication'}
{$t('form.signup.application.info')}
{#if data.site_view.local_site.application_question}
{/if}
{/if} {#if captchaRequired}
Captcha
{#await getCaptcha()}
{:then} {#if captcha?.ok}
{:else}
No captcha was returned
{/if} {:catch err}
{err}
{/await}
getCaptcha()} size="square-md">
{/if}
{$t('form.profile.showNSFW')}
{$t('form.submit')}
{:else}
{$t('form.signup.closed.anotherInstance')}
{/if}
{:else if stage == 'verify'}
{$t('toast.verifyEmail')}
{ e.preventDefault() verifiedEmail() }} class="flex items-center gap-2" >
{$t('form.signup.verify.submit')}
{$t('common.back')}
{:else if stage == 'application'}
{$t('form.signup.application.notice')}
{$t('common.back')}
{/if}