{#if app.loading}
{:else if standalone} {@render children()} {:else if app.unreachable} {:else if !app.user} {:else}
(sidebarOpen = false)} />
{@render children()}
{#if sidebarOpen} {/if}
{#if app.detailTask} app.closeDetail()} /> {/if}
{#each app.toasts as toast (toast.id)}
{#if toast.action} {/if}
{/each}
{#if showNet}
{connectivity.status === 'lost' ? t('net.offline') : t('net.reconnecting')}
{/if} {/if}