"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[2313,5070],{5070:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var l=n(62791),i=n(91775),o=n(94778),r=n(71878);const a="@jupyterlite/pyolite-kernel-extension:kernel",s=[{id:a,autoStart:!0,requires:[o.IKernelSpecs],optional:[i.IServiceWorkerManager,r.IBroadcastChannelWrapper],activate:(e,t,i,o)=>{const r=l.PageConfig.getBaseUrl(),s=JSON.parse(l.PageConfig.getOption("litePluginSettings")||"{}")[a]||{},p=s.pyodideUrl||"https://cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.js",d=l.URLExt.parse(p).href,c=(s.pipliteUrls||[]).map((e=>l.URLExt.parse(e).href)),y=!!s.disablePyPIFallback;t.register({spec:{name:"python",display_name:"Python (Pyodide)",language:"python",argv:[],resources:{"logo-32x32":"TODO","logo-64x64":l.URLExt.join(r,"/kernelspecs/python.svg")}},create:async e=>{const{PyoliteKernel:t}=await Promise.all([n.e(9834),n.e(2233),n.e(9110)]).then(n.bind(n,49834)),l=!(!(null==i?void 0:i.enabled)||!(null==o?void 0:o.enabled));return l?console.info("Pyolite contents will be synced with Jupyter Contents"):console.warn("Pyolite contents will NOT be synced with Jupyter Contents"),new t({...e,pyodideUrl:d,pipliteUrls:c,disablePyPIFallback:y,mountDrive:l})}})}}]}}]);