{#if shouldShowHelpPanel && info} (shouldShowHelpPanel = false)} {info} /> {/if} { sidebarStore.toggle(); }} onmousedown={(event: MouseEvent) => { if (sidebarStore.isOpen) { // stops event from reaching the default handler when clicking outside of the sidebar event.stopPropagation(); } }} class="sidebar:hidden" /> {#if $featureFlags.search} {/if} {#if $featureFlags.search} {/if} {#if !page.url.pathname.includes('/admin') && showUploadButton} {$t('upload')} {/if} (shouldShowHelpPanel = false), }} > (shouldShowHelpPanel = !shouldShowHelpPanel)} aria-label={$t('support_and_feedback')} /> (shouldShowNotificationPanel = false), onEscape: () => (shouldShowNotificationPanel = false), }} > (shouldShowNotificationPanel = !shouldShowNotificationPanel)} aria-label={$t('notifications')} /> {#if shouldShowNotificationPanel} {/if} (shouldShowAccountInfoPanel = false), onEscape: () => (shouldShowAccountInfoPanel = false), }} > (shouldShowAccountInfoPanel = !shouldShowAccountInfoPanel)} title={`${$user.name} (${$user.email})`} > {#key $user} {/key} {#if shouldShowAccountInfoPanel} authManager.logout()} /> {/if}