{#if contextMenu}
{/if} {#if trashContextMenu} {/if} {#if deleteConfirm} {/if} {#snippet notebookItem(nb: NotebookEntry, depth: number)} {@const hasChildren = nb.children.length > 0} {@const isCollapsed = $collapsedNotebooks.includes(nb.path)} {@const iconSrc = getNotebookIconSrc(nb)} {#if editingNotebook === nb.path}