{#if person && deactivated && !isAdminUser()}

{:else if person || account.role === AccountRole.Owner || isAdminUser()}
{ showPopup(SelectWorkspaceMenu, {}, popupSpacePosition) }} >
{ if (e.metaKey || e.ctrlKey) return if (!$deviceInfo.navigator.visible && $deviceInfo.navigator.float && currentAppAlias === notificationId) { toggleNav() } else if (currentAppAlias === notificationId && lastLoc !== undefined) { e.preventDefault() e.stopPropagation() navigate(lastLoc) lastLoc = undefined } else { lastLoc = $location } }} notify={hasInboxNotifications} />
showPopup(AppSwitcher, { apps }, popupPosition)} />
showPopup(AccountPopup, {}, popupPosition)} >
{ workbenchWidth = element.clientWidth checkWorkbenchWidth() }} > {#if $deviceInfo.navigator.float && $deviceInfo.navigator.visible}
($deviceInfo.navigator.visible = false)} /> {/if} {#if mainNavigator}
{#if currentApplication} {#if currentApplication.navHeaderComponent} {/if} {/if} {#if currentApplication && currentApplication.navFooterComponent} {/if}
{/if}
{#if currentApplication && currentApplication.component} {:else if specialComponent} { if (e?.detail) { const loc = getCurrentLocation() loc.query = { ...loc.query, ...e.detail } navigate(loc) } }} /> {:else if currentView?.component !== undefined} {:else if $accessDeniedStore}

{:else} {/if}
{#if asideComponent !== undefined}
{/if}
{#if !$deviceInfo.aside.float} {#if $sidebarStore.variant === SidebarVariant.EXPANDED} {/if} {/if}
{#if $deviceInfo.aside.float}
{/if}
{/if}