{#if $userSettings.dock.pins?.length ?? 0 > 0}
{#each $userSettings.dock.pins as pin} goto(pin.url)} color="tertiary" alignment="center" selected={`${$page.url.pathname}${$page.url.search}` == pin.url} on:contextmenu={(e) => { e.preventDefault() $userSettings.dock.pins = $userSettings.dock.pins.toSpliced( $userSettings.dock.pins.findLastIndex((p) => pin.url == p.url), 1 ) return false }} size="square-md" > {/each}

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