{"version":3,"sources":["jsdelivr-header.js","/npm/theia-js@1.0.108/package/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNO,UAAW,qBAElB,MAAM,WAAa,CAAC,OAGd,QAAU,SAAU,EAAK,GAC3B,GAAI,QAAQ,UAAW,OAEvB,WAAW,KAAI,GAAa,EAAI,UAAU,EAAU,KAAM,KAG1D,IAAI,EAAK,MAAM,OACf,EAAI,OAAO,iBAAiB,OAAS,EACrC,OAAO,OAAS,CACpB,EAGsB,oBAAX,QAA0B,OAAO,KACxC,QAAQ,OAAO,mBAIJ,CAEX,gBAEA,KAAM,MAAM","file":"/npm/theia-js@1.0.108/package/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/theia-js@1.0.108/package/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import theia from \"../corejs/index.js\"\r\n\r\nconst components = [theia]\r\n\r\n// 定义 install 方法，接收 Vue 作为参数。如果使用 use 注册插件，则所有的组件都将被注册\r\nconst install = function (app, p) {\r\n    if (install.installed) return\r\n    // 遍历注册全局组件\r\n    components.map(component => app.component(component.name, component))\r\n\r\n    //注册js组件\r\n    let pkg= theia.load()\r\n    app.config.globalProperties.$theia = pkg\r\n    window.$theia = pkg\r\n}\r\n\r\n// 判断是否是直接引入文件\r\nif (typeof window !== 'undefined' && window.Vue) {\r\n    install(window.Vue)\r\n}\r\n\r\n\r\nexport default {\r\n    // 导出的对象必须具有 install，才能被 Vue.use() 方法安装\r\n    install,\r\n    // 以下是具体的组件列表\r\n    load: theia.load,\r\n}"]}