{#if LINKED_INSTANCE_URL} {#if $site} {:else} {/if} {:else} {/if} {#if searching}
{/if}
{#if $profile}
{#each $profile.favorites ?? [] as favorite (favorite.id)}
{#if favorite.type == 'post'}
{#if favorite.subdivision} {/if}
{:else} {/if}
{/each}
{/if}
{#if $profile?.user && isAdmin($profile.user)} path.startsWith('/admin')} > {#if ($profile?.user?.notifications.applications ?? 0) > 0}
{/if} {/if} {#if amModOfAny($profile?.user)} {#if ($profile?.user?.notifications.reports ?? 0) > 0}
{/if} {/if} (searching = true)} label={$t('nav.search')} icon={MagnifyingGlass} /> {$t('nav.create.label')} {$t('nav.create.post')} {$t('nav.create.community')} {#if !$profile?.jwt} {$t('nav.create.logingate')} {/if}