{#if user.profile_pic}
{:else}
{user.first_name?.[0] || user.username?.[0]}{user.last_name?.[0] || user.username?.[1]}
{/if}
{user.first_name} {user.last_name}
@{user.username}
{#if user.is_staff}
{$t('settings.admin')}
{/if}
{user.date_joined ? `${$t('adventures.joined')} ` + new Date(user.date_joined).toLocaleDateString() : ''}
{#if !sharing}
goto(`/profile/${user.username}`)} > {$t('adventures.view_profile')}
{:else if shared_with && !shared_with.includes(user.uuid)}
dispatch('share', user)}> {$t('adventures.share')}
{:else}
dispatch('unshare', user)}> {$t('adventures.remove')}
{/if}