{#if profile.data?.jwt} {#snippet label()} {$t('profile.profile')} {/snippet} {#snippet label()} {$t('profile.inbox')} {#if $notifications.inbox} {$notifications.inbox > 99 ? '∞' : $notifications.inbox} {/if} {/snippet} {#snippet label()} {$t('profile.saved')} {/snippet} {:else} {#snippet label()} {$t('account.login')} {/snippet} {#snippet label()} {$t('account.signup')} {/snippet} {#snippet label()} {$t('nav.menu.settings')} {/snippet} {/if} {#if profileData.profiles.length >= 1}
{#snippet title()} {$t('account.accounts')} {#snippet action()} {profileData.profiles.length} {/snippet} {/snippet}
{#each [...profileData.profiles] as prof, index}
{/each}
{$t('account.accounts')}
{/if}
{#if profile.data?.favorites && profile.data?.favorites.length > 0} {#snippet title()} {$t('routes.profile.favorites')} {#snippet action()} {profile.data.favorites?.length} {/snippet} {/snippet}
{/if} {#if profile.data?.user} {#if profile.data?.user.moderates.length > 0} {#snippet title()} {$t('routes.profile.moderates')} {#snippet action()} {profile.data.user?.moderates.length} {/snippet} {/snippet} i.community)} />
{/if} {#snippet title()} {$t('profile.subscribed')} {#snippet action()} {profile.data.user?.follows.length} {/snippet} {/snippet} i.community)} /> {/if}