text: "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[8877,4123],{64123:(e,a,t)=>{t.r(a),t.d(a,{default:()=>u});var n,c=t(97265),r=t(5714),l=t(1654),o=t(93935),d=t(86570),i=t(62867);!function(e){e.create="launcher:create"}(n||(n={}));const u={activate:function(e,a,t,c){const{commands:o,shell:u}=e,h=a.load("jupyterlab"),m=new l.LauncherModel;return o.addCommand(n.create,{label:h.__("New Launcher"),execute:e=>{const n=e.cwd?String(e.cwd):"",c="launcher-"+s.id++,_=new l.Launcher({model:m,cwd:n,callback:e=>{u.add(e,"main",{ref:c})},commands:o,translator:a});_.model=m,_.title.icon=d.launcherIcon,_.title.label=h.__("Launcher");const w=new r.MainAreaWidget({content:_});return w.title.closable=!!(0,i.toArray)(u.widgets("main")).length,w.id=c,u.add(w,"main",{activate:e.activate}),t&&t.layoutModified.connect((()=>{w.title.closable=(0,i.toArray)(t.widgets("main")).length>1}),w),w}}),c&&c.addItem({command:n.create,category:h.__("Launcher")}),m},id:"@jupyterlab/launcher-extension:plugin",requires:[o.ITranslator],optional:[c.ILabShell,r.ICommandPalette],provides:l.ILauncher,autoStart:!0};var s;!function(e){e.id=0}(s||(s={}))}}]);
  //# sourceMappingURL=8877.c77fceb7ec5166f72b17.js.map