(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[6720],{66541:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var a=n(96667),o=n(61865),r=n(40384),i=n(807),s=n(48423),l=n(36735);const d=[{id:"@retrolab/tree-extension:buttons",requires:[o.IFileBrowserFactory],autoStart:!0,activate:(e,t)=>{const{commands:n}=e,o=t.defaultBrowser,r="tree:new-notebook";n.addCommand(r,{label:"New Notebook",icon:s.notebookIcon,execute:()=>n.execute("notebook:create-new")});const i=new a.CommandToolbarButton({commands:n,id:r}),l=new a.CommandToolbarButton({commands:n,id:"filebrowser:create-new-file"});o.toolbar.insertItem(0,"new-notebook",i),o.toolbar.insertItem(1,"new-file",l)}},{id:"@retrolab/tree-extension:new-terminal",requires:[o.IFileBrowserFactory],autoStart:!0,activate:(e,t)=>{const{commands:n}=e,o=t.defaultBrowser,r="tree:new-terminal";n.addCommand(r,{label:"New Terminal",icon:s.terminalIcon,execute:()=>n.execute("terminal:create-new")});const i=new a.CommandToolbarButton({commands:n,id:r});o.toolbar.insertItem(2,"new-terminal",i)}},{id:"@jupyterlab-classic/tree-extension:widget",requires:[o.IFileBrowserFactory,i.ITranslator],optional:[r.IRunningSessionManagers],autoStart:!0,activate:(e,t,n,a)=>{const o=new l.TabPanel({tabPlacement:"top",tabsMovable:!0});o.addClass("jp-TreePanel");const{defaultBrowser:i}=t;if(i.title.label="Files",o.addWidget(i),o.tabBar.addTab(i.title),a){const e=new r.RunningSessions(a,n);e.id="jp-running-sessions",e.title.label="Running",e.title.icon=s.runningIcon,o.addWidget(e),o.tabBar.addTab(e.title)}e.shell.add(o,"main",{rank:100})}}]}}]);