@runeya/runeya 1.33.22 → 1.33.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/node-red-contrib-runeya.tar +0 -0
  2. package/package.json +1 -1
  3. package/public/assets/{App-Bj3c8ECd.js → App-Bd0xshf7.js} +1 -1
  4. package/public/assets/{Bugs-B6LM8YSZ.js → Bugs-BYVaGclE.js} +1 -1
  5. package/public/assets/{Configs-CRGDsvnb.js → Configs-CGdacJ7j.js} +5 -5
  6. package/public/assets/{Configs-DdBteQMK.css → Configs-DQRZRhbp.css} +1 -1
  7. package/public/assets/{CurrentEditor-DI0XEvLu.js → CurrentEditor-CaZTvScp.js} +1 -1
  8. package/public/assets/{DynamicComponent-CmXZUvVU.js → DynamicComponent-u2mgF7SR.js} +1 -1
  9. package/public/assets/{Editor-CBZeVePs.js → Editor-BkDstUPD.js} +6 -6
  10. package/public/assets/{Git-Cf-zgTWr.js → Git-Da_IiEci.js} +1 -1
  11. package/public/assets/{ImportCreate-DZSPN5cY.js → ImportCreate-MvJTSajS.js} +1 -1
  12. package/public/assets/{Index-D67OAIVa.js → Index-B63IO9GV.js} +1 -1
  13. package/public/assets/{Index-DZ8CXixy.js → Index-BTX-OBp_.js} +1 -1
  14. package/public/assets/{Index-BrbegLuT.js → Index-Cig3CHAr.js} +1 -1
  15. package/public/assets/{Index-BJieQWaU.js → Index-CnwSqgC1.js} +1 -1
  16. package/public/assets/{Index-Cg-pTjT5.js → Index-Dx1OujL3.js} +1 -1
  17. package/public/assets/{Index-C3gFkhHj.js → Index-tb_q4KJZ.js} +1 -1
  18. package/public/assets/{Init-BILP6lrr.js → Init-CVpaullv.js} +1 -1
  19. package/public/assets/{LeftLogo-BCYb654E.js → LeftLogo-mu8SETbq.js} +1 -1
  20. package/public/assets/{Logs-BfqPcp-L.js → Logs-DRBJWBGG.js} +1 -1
  21. package/public/assets/{Markdown-CuewGlVj.js → Markdown-DA8Jvtc4.js} +1 -1
  22. package/public/assets/{Modal-DmKdmCtc.js → Modal-CFSt4VI3.js} +1 -1
  23. package/public/assets/{Modals-BHTrmB19.js → Modals-DL7ezEul.js} +1 -1
  24. package/public/assets/{NotUpToDate-CnmuPdX-.js → NotUpToDate-Du0KDqto.js} +1 -1
  25. package/public/assets/{Npm-HBPCi13F.js → Npm-D2i5dOQC.js} +1 -1
  26. package/public/assets/{Overview-CRtTdDEz.js → Overview-DRm-6OxF.js} +1 -1
  27. package/public/assets/{Section-OccJuk7A.js → Section-BIExc-vD.js} +1 -1
  28. package/public/assets/{Settings-CgEyOTsE.js → Settings-sGatgaZA.js} +1 -1
  29. package/public/assets/{Spinner-BMGbc3X9.js → Spinner-BxlVMO5C.js} +1 -1
  30. package/public/assets/{StackChooser-PJ4_aCX-.js → StackChooser-BbxiXmbz.js} +1 -1
  31. package/public/assets/{StackChooser-DBof37zx.js → StackChooser-C6QUL1ts.js} +1 -1
  32. package/public/assets/{StackMultiple-D0bM6dXR.js → StackMultiple-VFMgpudb.js} +1 -1
  33. package/public/assets/{StackSingle-D1Yk8PXD.js → StackSingle-CNFNiJ6j.js} +1 -1
  34. package/public/assets/{Tabs-DQDvjS5y.js → Tabs-DOzRR3WD.js} +1 -1
  35. package/public/assets/{Theme-CzHFcMoz.js → Theme-D5wc2JN5.js} +1 -1
  36. package/public/assets/{Toolbox-C5XEPDmg.js → Toolbox-BctYsp_m.js} +1 -1
  37. package/public/assets/{cssMode-CccHpseG.js → cssMode-D6DX_pzi.js} +1 -1
  38. package/public/assets/{currentEditor-DKB6Zox9.js → currentEditor-CPSYuOXJ.js} +1 -1
  39. package/public/assets/{freemarker2-DSPhVVzD.js → freemarker2-QTuv0L1w.js} +1 -1
  40. package/public/assets/{fs-CwxHstJI.js → fs-BKy6SF5M.js} +1 -1
  41. package/public/assets/{handlebars-1zANa-F3.js → handlebars-DjsjeDRt.js} +1 -1
  42. package/public/assets/{html-fsS26eC3.js → html-CS11tPhf.js} +1 -1
  43. package/public/assets/{htmlMode-DvnqyT9t.js → htmlMode-cW1qbNS1.js} +1 -1
  44. package/public/assets/{index-BO82C_5u.js → index-9SUUWz0Q.js} +1 -1
  45. package/public/assets/{index-G_rNbFve.js → index-B2Zn1t0F.js} +2 -2
  46. package/public/assets/{index-B3Vh_zdc.js → index-BAdR3mLX.js} +1 -1
  47. package/public/assets/{index-d75RPzOA.js → index-BIZVTENX.js} +1 -1
  48. package/public/assets/{index-B614CRIK.js → index-BVMisFgJ.js} +1 -1
  49. package/public/assets/{index-uWoKtv9r.js → index-D2kTRQ0g.js} +1 -1
  50. package/public/assets/{index-DcbuCmxJ.js → index-D6T2JqTJ.js} +1 -1
  51. package/public/assets/{index-0X67tmWL.js → index-DGs7mxSp.js} +1 -1
  52. package/public/assets/{index-Brqxsm84.js → index-DljcUO2A.js} +1 -1
  53. package/public/assets/{index-CILDVkDy.js → index-L-hKesb9.js} +1 -1
  54. package/public/assets/{javascript-DRHvp6-v.js → javascript-D8fzI4Kf.js} +1 -1
  55. package/public/assets/{json-tree-view-vue3.es-DVJTi2Rq.js → json-tree-view-vue3.es-YUK7eu-v.js} +1 -1
  56. package/public/assets/{jsonMode-CJHmEzcn.js → jsonMode-Bk3_CK5T.js} +1 -1
  57. package/public/assets/{liquid-V1Od9uns.js → liquid-3VzXePtH.js} +1 -1
  58. package/public/assets/{mdx-DlWa4FFs.js → mdx-DokQ4srC.js} +1 -1
  59. package/public/assets/{python-DawPqpxL.js → python-DqM5cWUD.js} +1 -1
  60. package/public/assets/{razor-CrbHGO04.js → razor-C6qvoKqe.js} +1 -1
  61. package/public/assets/{router-Dzu6a_zz.js → router-BvhIqmd_.js} +3 -3
  62. package/public/assets/{system-BqvwX5_3.js → system-D0myLYD8.js} +1 -1
  63. package/public/assets/{tsMode-Cb1yqXWI.js → tsMode-_FuGn5T1.js} +1 -1
  64. package/public/assets/{typescript-CnZCKV3a.js → typescript-DUGr9yKr.js} +1 -1
  65. package/public/assets/{xml-B90p6BQJ.js → xml-EjEx9Mzb.js} +1 -1
  66. package/public/assets/{yaml-Bkk9HYtt.js → yaml-DPx0oNUg.js} +1 -1
  67. package/public/index.html +1 -1
  68. package/www.js +1113 -1074
  69. package/www.js.map +1 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Index-D67OAIVa.js","assets/_commonjsHelpers-D6-XlEtG.js","assets/Section-OccJuk7A.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/index-G_rNbFve.js","assets/index-D9v3u7Fv.css","assets/Section-Dz0BsVYl.css","assets/Theme-CzHFcMoz.js","assets/_baseFor-DiPelG4M.js","assets/Editor-CBZeVePs.js","assets/Editor-CPPFMOjb.css","assets/Index-Cd-qd5VG.css","assets/NotUpToDate-CnmuPdX-.js","assets/Spinner-BMGbc3X9.js","assets/Spinner-BZXOybIg.css","assets/NotUpToDate-Dh9RbAwK.css","assets/Index-Cg-pTjT5.js","assets/Index-BrbegLuT.js","assets/Index-DZ8CXixy.js","assets/json-tree-view-vue3.es-DVJTi2Rq.js","assets/Index-C66tLKvy.css","assets/Toolbox-C5XEPDmg.js","assets/Toolbox-B5KXz4eX.css","assets/DynamicComponent-CmXZUvVU.js","assets/DynamicComponent-DgxRO4Pl.css","assets/Modals-BHTrmB19.js","assets/Modal-DmKdmCtc.js","assets/Modal-CGUZawhK.css","assets/index-Brqxsm84.js","assets/index-uWoKtv9r.js","assets/index-d75RPzOA.js","assets/Logs-BfqPcp-L.js","assets/dayjs.min-CfWDS3UC.js","assets/fs-CwxHstJI.js","assets/Logs-BhdfGaw5.css","assets/Git-Cf-zgTWr.js","assets/currentEditor-DKB6Zox9.js","assets/Git-UQIt5ANe.css","assets/Index-BJieQWaU.js","assets/sort-BibmqbFD.js","assets/Index-BcFahN3S.css","assets/Npm-HBPCi13F.js","assets/Npm-KBzO1DYv.css","assets/Bugs-B6LM8YSZ.js","assets/Bugs-DZVuTDKA.css","assets/Configs-CRGDsvnb.js","assets/index-CILDVkDy.js","assets/index-BO82C_5u.js","assets/index-B3Vh_zdc.js","assets/index-B614CRIK.js","assets/index-DcbuCmxJ.js","assets/lodash-D2RHCRSL.js","assets/Configs-DdBteQMK.css","assets/Index-C3gFkhHj.js","assets/Markdown-CuewGlVj.js","assets/Markdown-CqAPHaPe.css","assets/index-0X67tmWL.js","assets/Index-CvhWs0kp.css","assets/StackChooser-DBof37zx.js","assets/system-BqvwX5_3.js","assets/LeftLogo-BCYb654E.js","assets/LeftLogo-DsGaOcJY.css","assets/StackChooser-PJ4_aCX-.js","assets/StackChooser-mg-uox7H.css","assets/StackChooser-DRNfmbOi.css","assets/StackSingle-D1Yk8PXD.js","assets/Tabs-DQDvjS5y.js","assets/Tabs-BGPqRkjE.css","assets/CurrentEditor-DI0XEvLu.js","assets/CurrentEditor-CICqnVzc.css","assets/StackSingle-BVHxvisP.css","assets/Overview-CRtTdDEz.js","assets/Overview-DZIOmzKx.css","assets/StackMultiple-D0bM6dXR.js","assets/StackMultiple-CiXqkibR.css","assets/ImportCreate-DZSPN5cY.js","assets/ImportCreate-D2Vb-Kah.css","assets/Settings-CgEyOTsE.js","assets/Settings-DUCkJDco.css","assets/Init-BILP6lrr.js"])))=>i.map(i=>d[i]);
2
- import{P as _n,Q as Ge,L as Pt,R as gn,U as At,V as yn,c as yt,W as ze,X as ee,r as mt,w as Qt,i as Qe,K as mn,j as bn,m as ye,Y as wn,a as jt,o as Tt,g as me,b as dt,v as En,F as be,q as we,s as Cn,f as Rn,t as Ft,O as ne,n as re,k as B,_ as ot,Z as kn,S as Gt}from"./index-G_rNbFve.js";import{c as Nt,g as Ke}from"./_commonjsHelpers-D6-XlEtG.js";import{E as Sn}from"./Editor-CBZeVePs.js";import{_ as Xe}from"./Section-OccJuk7A.js";import{_ as xn}from"./_plugin-vue_export-helper-DlAUqK2U.js";/*!
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Index-B63IO9GV.js","assets/_commonjsHelpers-D6-XlEtG.js","assets/Section-BIExc-vD.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/index-B2Zn1t0F.js","assets/index-D9v3u7Fv.css","assets/Section-Dz0BsVYl.css","assets/Theme-D5wc2JN5.js","assets/_baseFor-DiPelG4M.js","assets/Editor-BkDstUPD.js","assets/Editor-CPPFMOjb.css","assets/Index-Cd-qd5VG.css","assets/NotUpToDate-Du0KDqto.js","assets/Spinner-BxlVMO5C.js","assets/Spinner-BZXOybIg.css","assets/NotUpToDate-Dh9RbAwK.css","assets/Index-Dx1OujL3.js","assets/Index-Cig3CHAr.js","assets/Index-BTX-OBp_.js","assets/json-tree-view-vue3.es-YUK7eu-v.js","assets/Index-C66tLKvy.css","assets/Toolbox-BctYsp_m.js","assets/Toolbox-B5KXz4eX.css","assets/DynamicComponent-u2mgF7SR.js","assets/DynamicComponent-DgxRO4Pl.css","assets/Modals-DL7ezEul.js","assets/Modal-CFSt4VI3.js","assets/Modal-CGUZawhK.css","assets/index-DljcUO2A.js","assets/index-D2kTRQ0g.js","assets/index-BIZVTENX.js","assets/Logs-DRBJWBGG.js","assets/dayjs.min-CfWDS3UC.js","assets/fs-BKy6SF5M.js","assets/Logs-BhdfGaw5.css","assets/Git-Da_IiEci.js","assets/currentEditor-CPSYuOXJ.js","assets/Git-UQIt5ANe.css","assets/Index-CnwSqgC1.js","assets/sort-BibmqbFD.js","assets/Index-BcFahN3S.css","assets/Npm-D2i5dOQC.js","assets/Npm-KBzO1DYv.css","assets/Bugs-BYVaGclE.js","assets/Bugs-DZVuTDKA.css","assets/Configs-CGdacJ7j.js","assets/index-L-hKesb9.js","assets/index-9SUUWz0Q.js","assets/index-BAdR3mLX.js","assets/index-BVMisFgJ.js","assets/index-D6T2JqTJ.js","assets/lodash-D2RHCRSL.js","assets/Configs-DQRZRhbp.css","assets/Index-tb_q4KJZ.js","assets/Markdown-DA8Jvtc4.js","assets/Markdown-CqAPHaPe.css","assets/index-DGs7mxSp.js","assets/Index-CvhWs0kp.css","assets/StackChooser-C6QUL1ts.js","assets/system-D0myLYD8.js","assets/LeftLogo-mu8SETbq.js","assets/LeftLogo-DsGaOcJY.css","assets/StackChooser-BbxiXmbz.js","assets/StackChooser-mg-uox7H.css","assets/StackChooser-DRNfmbOi.css","assets/StackSingle-CNFNiJ6j.js","assets/Tabs-DOzRR3WD.js","assets/Tabs-BGPqRkjE.css","assets/CurrentEditor-CaZTvScp.js","assets/CurrentEditor-CICqnVzc.css","assets/StackSingle-BVHxvisP.css","assets/Overview-DRm-6OxF.js","assets/Overview-DZIOmzKx.css","assets/StackMultiple-VFMgpudb.js","assets/StackMultiple-CiXqkibR.css","assets/ImportCreate-MvJTSajS.js","assets/ImportCreate-D2Vb-Kah.css","assets/Settings-sGatgaZA.js","assets/Settings-DUCkJDco.css","assets/Init-CVpaullv.js"])))=>i.map(i=>d[i]);
2
+ import{P as _n,Q as Ge,L as Pt,R as gn,U as At,V as yn,c as yt,W as ze,X as ee,r as mt,w as Qt,i as Qe,K as mn,j as bn,m as ye,Y as wn,a as jt,o as Tt,g as me,b as dt,v as En,F as be,q as we,s as Cn,f as Rn,t as Ft,O as ne,n as re,k as B,_ as ot,Z as kn,S as Gt}from"./index-B2Zn1t0F.js";import{c as Nt,g as Ke}from"./_commonjsHelpers-D6-XlEtG.js";import{E as Sn}from"./Editor-BkDstUPD.js";import{_ as Xe}from"./Section-BIExc-vD.js";import{_ as xn}from"./_plugin-vue_export-helper-DlAUqK2U.js";/*!
3
3
  * vue-router v4.5.1
4
4
  * (c) 2025 Eduardo San Martin Morote
5
5
  * @license MIT
@@ -100,4 +100,4 @@ import{P as _n,Q as Ge,L as Pt,R as gn,U as At,V as yn,c as yt,W as ze,X as ee,r
100
100
  `);return this._settledValue()},l=b.prototype.error=b.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise
101
101
 
102
102
  See http://goo.gl/MqrFmX
103
- `);return this._settledValue()},m=b.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},p=b.prototype.isRejected=function(){return(this._bitField&16777216)!==0},o=b.prototype.isPending=function(){return(this._bitField&50397184)===0},a=b.prototype.isResolved=function(){return(this._bitField&50331648)!==0};b.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},t.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},t.prototype.isPending=function(){return o.call(this._target())},t.prototype.isRejected=function(){return p.call(this._target())},t.prototype.isFulfilled=function(){return m.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return f.call(this._target())},t.prototype.reason=function(){var u=this._target();return u._unsetRejectionIsUnhandled(),l.call(u)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=b}},{}],33:[function(r,c,R){c.exports=function(t,b){var f=r("./util"),l=f.errorObj,m=f.isObject;function p(g,w){if(m(g)){if(g instanceof t)return g;var d=a(g);if(d===l){w&&w._pushContext();var _=t.reject(d.e);return w&&w._popContext(),_}else if(typeof d=="function"){if(y(g)){var _=new t(b);return g._then(_._fulfill,_._reject,void 0,_,null),_}return v(g,d,w)}}return g}function o(g){return g.then}function a(g){try{return o(g)}catch(w){return l.e=w,l}}var u={}.hasOwnProperty;function y(g){try{return u.call(g,"_promise0")}catch{return!1}}function v(g,w,d){var _=new t(b),x=_;d&&d._pushContext(),_._captureStackTrace(),d&&d._popContext();var A=!0,T=f.tryCatch(w).call(g,$,V);A=!1,_&&T===l&&(_._rejectCallback(T.e,!0,!0),_=null);function $(P){_&&(_._resolveCallback(P),_=null)}function V(P){_&&(_._rejectCallback(P,A,!0),_=null)}return x}return p}},{"./util":36}],34:[function(r,c,R){c.exports=function(t,b,f){var l=r("./util"),m=t.TimeoutError;function p(g){this.handle=g}p.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(g){return a(+this).thenReturn(g)},a=t.delay=function(g,w){var d,_;return w!==void 0?(d=t.resolve(w)._then(o,null,null,g,void 0),f.cancellation()&&w instanceof t&&d._setOnCancel(w)):(d=new t(b),_=setTimeout(function(){d._fulfill()},+g),f.cancellation()&&d._setOnCancel(new p(_)),d._captureStackTrace()),d._setAsyncGuaranteed(),d};t.prototype.delay=function(g){return a(g,this)};var u=function(g,w,d){var _;typeof w!="string"?w instanceof Error?_=w:_=new m("operation timed out"):_=new m(w),l.markAsOriginatingFromRejection(_),g._attachExtraTrace(_),g._reject(_),d!=null&&d.cancel()};function y(g){return clearTimeout(this.handle),g}function v(g){throw clearTimeout(this.handle),g}t.prototype.timeout=function(g,w){g=+g;var d,_,x=new p(setTimeout(function(){d.isPending()&&u(d,w,_)},g));return f.cancellation()?(_=this.then(),d=_._then(y,v,void 0,x,void 0),d._setOnCancel(x)):d=this._then(y,v,void 0,x,void 0),d}}},{"./util":36}],35:[function(r,c,R){c.exports=function(t,b,f,l,m,p){var o=r("./util"),a=r("./errors").TypeError,u=r("./util").inherits,y=o.errorObj,v=o.tryCatch,g={};function w(V){setTimeout(function(){throw V},0)}function d(V){var P=f(V);return P!==V&&typeof V._isDisposable=="function"&&typeof V._getDisposer=="function"&&V._isDisposable()&&P._setDisposable(V._getDisposer()),P}function _(V,P){var W=0,Z=V.length,G=new t(m);function X(){if(W>=Z)return G._fulfill();var U=d(V[W++]);if(U instanceof t&&U._isDisposable()){try{U=f(U._getDisposer().tryDispose(P),V.promise)}catch(z){return w(z)}if(U instanceof t)return U._then(X,w,null,null,null)}X()}return X(),G}function x(V,P,W){this._data=V,this._promise=P,this._context=W}x.prototype.data=function(){return this._data},x.prototype.promise=function(){return this._promise},x.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():g},x.prototype.tryDispose=function(V){var P=this.resource(),W=this._context;W!==void 0&&W._pushContext();var Z=P!==g?this.doDispose(P,V):null;return W!==void 0&&W._popContext(),this._promise._unsetDisposable(),this._data=null,Z},x.isDisposer=function(V){return V!=null&&typeof V.resource=="function"&&typeof V.tryDispose=="function"};function A(V,P,W){this.constructor$(V,P,W)}u(A,x),A.prototype.doDispose=function(V,P){var W=this.data();return W.call(V,V,P)};function T(V){return x.isDisposer(V)?(this.resources[this.index]._setDisposable(V),V.promise()):V}function $(V){this.length=V,this.promise=null,this[V-1]=null}$.prototype._resultCancelled=function(){for(var V=this.length,P=0;P<V;++P){var W=this[P];W instanceof t&&W.cancel()}},t.using=function(){var V=arguments.length;if(V<2)return b("you must pass at least 2 arguments to Promise.using");var P=arguments[V-1];if(typeof P!="function")return b("expecting a function but got "+o.classString(P));var W,Z=!0;V===2&&Array.isArray(arguments[0])?(W=arguments[0],V=W.length,Z=!1):(W=arguments,V--);for(var G=new $(V),X=0;X<V;++X){var U=W[X];if(x.isDisposer(U)){var z=U;U=U.promise(),U._setDisposable(z)}else{var M=f(U);M instanceof t&&(U=M._then(T,null,null,{resources:G,index:X},void 0))}G[X]=U}for(var q=new Array(G.length),X=0;X<q.length;++X)q[X]=t.resolve(G[X]).reflect();var nt=t.all(q).then(function(Y){for(var J=0;J<Y.length;++J){var it=Y[J];if(it.isRejected())return y.e=it.error(),y;if(!it.isFulfilled()){nt.cancel();return}Y[J]=it.value()}tt._pushContext(),P=v(P);var k=Z?P.apply(void 0,Y):P(Y),ut=tt._popContext();return p.checkForgottenReturns(k,ut,"Promise.using",tt),k}),tt=nt.lastly(function(){var Y=new t.PromiseInspection(nt);return _(G,Y)});return G.promise=tt,tt._setOnCancel(G),tt},t.prototype._setDisposable=function(V){this._bitField=this._bitField|131072,this._disposer=V},t.prototype._isDisposable=function(){return(this._bitField&131072)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},t.prototype.disposer=function(V){if(typeof V=="function")return new A(V,this,l());throw new a}}},{"./errors":12,"./util":36}],36:[function(r,c,R){var t=r("./es5"),b=typeof navigator>"u",f={e:{}},l,m=typeof self<"u"?self:typeof window<"u"?window:typeof Nt<"u"?Nt:this!==void 0?this:null;function p(){try{var i=l;return l=null,i.apply(this,arguments)}catch(E){return f.e=E,f}}function o(i){return l=i,p}var a=function(i,E){var O={}.hasOwnProperty;function I(){this.constructor=i,this.constructor$=E;for(var j in E.prototype)O.call(E.prototype,j)&&j.charAt(j.length-1)!=="$"&&(this[j+"$"]=E.prototype[j])}return I.prototype=E.prototype,i.prototype=new I,i.prototype};function u(i){return i==null||i===!0||i===!1||typeof i=="string"||typeof i=="number"}function y(i){return typeof i=="function"||typeof i=="object"&&i!==null}function v(i){return u(i)?new Error(Z(i)):i}function g(i,E){var O=i.length,I=new Array(O+1),j;for(j=0;j<O;++j)I[j]=i[j];return I[j]=E,I}function w(i,E,O){if(t.isES5){var I=Object.getOwnPropertyDescriptor(i,E);if(I!=null)return I.get==null&&I.set==null?I.value:O}else return{}.hasOwnProperty.call(i,E)?i[E]:void 0}function d(i,E,O){if(u(i))return i;var I={value:O,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(i,E,I),i}function _(i){throw i}var x=function(){var i=[Array.prototype,Object.prototype,Function.prototype],E=function(j){for(var H=0;H<i.length;++H)if(i[H]===j)return!0;return!1};if(t.isES5){var O=Object.getOwnPropertyNames;return function(j){for(var H=[],Q=Object.create(null);j!=null&&!E(j);){var ft;try{ft=O(j)}catch{return H}for(var lt=0;lt<ft.length;++lt){var bt=ft[lt];if(!Q[bt]){Q[bt]=!0;var gt=Object.getOwnPropertyDescriptor(j,bt);gt!=null&&gt.get==null&&gt.set==null&&H.push(bt)}}j=t.getPrototypeOf(j)}return H}}else{var I={}.hasOwnProperty;return function(j){if(E(j))return[];var H=[];t:for(var Q in j)if(I.call(j,Q))H.push(Q);else{for(var ft=0;ft<i.length;++ft)if(I.call(i[ft],Q))continue t;H.push(Q)}return H}}}(),A=/this\s*\.\s*\S+\s*=/;function T(i){try{if(typeof i=="function"){var E=t.names(i.prototype),O=t.isES5&&E.length>1,I=E.length>0&&!(E.length===1&&E[0]==="constructor"),j=A.test(i+"")&&t.names(i).length>0;if(O||I||j)return!0}return!1}catch{return!1}}function $(i){function E(){}E.prototype=i;var O=new E;function I(){return typeof O.foo}return I(),I(),i}var V=/^[a-z$_][a-z$_0-9]*$/i;function P(i){return V.test(i)}function W(i,E,O){for(var I=new Array(i),j=0;j<i;++j)I[j]=E+j+O;return I}function Z(i){try{return i+""}catch{return"[no string representation]"}}function G(i){return i instanceof Error||i!==null&&typeof i=="object"&&typeof i.message=="string"&&typeof i.name=="string"}function X(i){try{d(i,"isOperational",!0)}catch{}}function U(i){return i==null?!1:i instanceof Error.__BluebirdErrorTypes__.OperationalError||i.isOperational===!0}function z(i){return G(i)&&t.propertyIsWritable(i,"stack")}var M=function(){return"stack"in new Error?function(i){return z(i)?i:new Error(Z(i))}:function(i){if(z(i))return i;try{throw new Error(Z(i))}catch(E){return E}}}();function q(i){return{}.toString.call(i)}function nt(i,E,O){for(var I=t.names(i),j=0;j<I.length;++j){var H=I[j];if(O(H))try{t.defineProperty(E,H,t.getDescriptor(i,H))}catch{}}}var tt=function(i){return t.isArray(i)?i:null};if(typeof Symbol<"u"&&Symbol.iterator){var Y=typeof Array.from=="function"?function(i){return Array.from(i)}:function(i){for(var E=[],O=i[Symbol.iterator](),I;!(I=O.next()).done;)E.push(I.value);return E};tt=function(i){return t.isArray(i)?i:i!=null&&typeof i[Symbol.iterator]=="function"?Y(i):null}}var J=typeof process<"u"&&q(process).toLowerCase()==="[object process]",it=typeof process<"u"&&typeof s<"u";function k(i){return it?s[i]:void 0}function ut(){if(typeof Promise=="function")try{var i=new Promise(function(){});if(q(i)==="[object Promise]")return Promise}catch{}}var ht;function F(i,E){if(i===null||typeof E!="function"||E===ht)return E;i.domain!==null&&(E=i.domain.bind(E));var O=i.async;if(O!==null){var I=E;E=function(){var j=new Array(2).concat([].slice.call(arguments));return j[0]=I,j[1]=this,O.runInAsyncScope.apply(O,j)}}return E}var h={setReflectHandler:function(i){ht=i},isClass:T,isIdentifier:P,inheritedDataKeys:x,getDataPropertyOrDefault:w,thrower:_,isArray:t.isArray,asArray:tt,notEnumerableProp:d,isPrimitive:u,isObject:y,isError:G,canEvaluate:b,errorObj:f,tryCatch:o,inherits:a,withAppended:g,maybeWrapAsError:v,toFastProperties:$,filledRange:W,toString:Z,canAttachTrace:z,ensureErrorObject:M,originatesFromRejection:U,markAsOriginatingFromRejection:X,classString:q,copyDescriptors:nt,isNode:J,hasEnvVariables:it,env:k,global:m,getNativePromise:ut,contextBind:F};h.isRecentNode=h.isNode&&function(){var i;return process.versions&&process.versions.node?i=process.versions.node.split(".").map(Number):process.version&&(i=process.version.split(".").map(Number)),i[0]===0&&i[1]>10||i[0]>0}(),h.nodeSupportsAsyncResource=h.isNode&&function(){var i=!1;try{var E=r("async_hooks").AsyncResource;i=typeof E.prototype.runInAsyncScope=="function"}catch{i=!1}return i}(),h.isNode&&h.toFastProperties(process);try{throw new Error}catch(i){h.lastLineError=i}c.exports=h},{"./es5":13,async_hooks:void 0}]},{},[4])(4)}),typeof window<"u"&&window!==null?window.P=window.Promise:typeof self<"u"&&self!==null&&(self.P=self.Promise)}(se)),se.exports}var Ir=Or();const Dr=Ke(Ir);let Mt;const Lr=new Uint8Array(16);function Vr(){if(!Mt&&(Mt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Mt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Mt(Lr)}const _t=[];for(let e=0;e<256;++e)_t.push((e+256).toString(16).slice(1));function Pr(e,n=0){return _t[e[n+0]]+_t[e[n+1]]+_t[e[n+2]]+_t[e[n+3]]+"-"+_t[e[n+4]]+_t[e[n+5]]+"-"+_t[e[n+6]]+_t[e[n+7]]+"-"+_t[e[n+8]]+_t[e[n+9]]+"-"+_t[e[n+10]]+_t[e[n+11]]+_t[e[n+12]]+_t[e[n+13]]+_t[e[n+14]]+_t[e[n+15]]}const Hr=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),$e={randomUUID:Hr};function Ur(e,n,s){if($e.randomUUID&&!e)return $e.randomUUID();e=e||{};const r=e.random||(e.rng||Vr)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Pr(r)}function qt(){this.funcs=[]}qt.prototype.subscribe=function(e){return this.funcs.push(e),{unsubscribe:()=>this.unsubscribe(e)}};qt.prototype.next=function(...e){this.funcs.forEach(n=>n(...e))};qt.prototype.unsubscribe=function(e){this.funcs=[...this.funcs.filter(n=>n!==e)]};const Be=cn();class $r{constructor(){this.notifs=mt([]),this.notifsHistory=mt([]),this.openHistory=new qt,this.mutedNotifications=mt(JSON.parse(localStorage.getItem("muted-notifications")||JSON.stringify({error:{}}))),Qt(()=>this.mutedNotifications.value,()=>{localStorage.setItem("muted-notifications",JSON.stringify(this.mutedNotifications.value))},{deep:!0})}next(n,s,r=void 0,c=null,R=null){var b,f;if((b=this.mutedNotifications.value[n])!=null&&b.MUTED_ALL||R&&((f=this.mutedNotifications.value[n])!=null&&f[R]))return;c||(this.next(n,s,r,this.notifsHistory.value,R),c=this.notifs.value);let t=c.find(l=>l.type===n&&l.serviceLabel===r&&r);if(t){const l=t.msgs.find(p=>p.label===s),m=l||{label:s,nb:0};m.nb+=1,l||t.msgs.unshift(m)}else{const l=c.find(o=>o.type===n&&!o.serviceLabel&&o.msgs.find(a=>a.label===s));t=l||{id:Ur(),type:n,msgs:[],serviceLabel:r,nb:0};const m=t.msgs.find(o=>o.label===s),p=m||{label:s,nb:0};p.nb+=1,m||t.msgs.unshift(p),l||c.unshift(t)}clearTimeout(t.timeout),t.timeout=setTimeout(()=>{t&&this.remove(t)},5e3)}remove(n,s=!1){const r=this.notifs.value.indexOf(n);r>-1&&this.notifs.value.splice(r,1),s&&n.serviceLabel&&Be.push({name:"stack-single",params:{label:n.serviceLabel}})}removeHistory(n,s){const r=this.notifsHistory.value.indexOf(n);r>-1&&this.notifsHistory.value.splice(r,1),s&&n.serviceLabel&&Be.push({name:"stack-single",params:{label:n.serviceLabel}})}}const Br=new $r;var Wt={exports:{}},Ne;function Nr(){if(Ne)return Wt.exports;Ne=1;function e(n,s=100,r={}){if(typeof n!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof n}\`.`);if(s<0)throw new RangeError("`wait` must not be negative.");const{immediate:c}=typeof r=="boolean"?{immediate:r}:r;let R,t,b,f,l;function m(){const a=R,u=t;return R=void 0,t=void 0,l=n.apply(a,u),l}function p(){const a=Date.now()-f;a<s&&a>=0?b=setTimeout(p,s-a):(b=void 0,c||(l=m()))}const o=function(...a){if(R&&this!==R&&Object.getPrototypeOf(this)===Object.getPrototypeOf(R))throw new Error("Debounced method called with different contexts of the same prototype.");R=this,t=a,f=Date.now();const u=c&&!b;return b||(b=setTimeout(p,s)),u&&(l=m()),l};return Object.defineProperty(o,"isPending",{get(){return b!==void 0}}),o.clear=()=>{b&&(clearTimeout(b),b=void 0)},o.flush=()=>{b&&o.trigger()},o.trigger=()=>{l=m(),o.clear()},o}return Wt.exports.debounce=e,Wt.exports=e,Wt.exports}var Mr=Nr();const Wr=Ke(Mr),Gr={key:0,class:"hint"},zr={class:"groups"},Qr={class:"choices"},Kr=["onClick"],Xr={class:"left"},qr={class:"icon"},Yr={class:"title"},Jr={class:"description"},Zr={class:"right"},ti={class:"title"},ei={class:"description"},ni={class:"left"},ri={key:0},ii={class:"title"},oi={class:"description"},ai={__name:"Index",setup(e){const n=cn(),s=async o=>{o.ctrlKey&&o.altKey&&o.code==="KeyP"&&(o.preventDefault(),t.value=!t.value,c.value="",await Qe(),R.value.focus()),o.code==="Escape"&&(o.preventDefault(),t.value=!1)};window.addEventListener("keyup",s),mn(()=>window.removeEventListener("keyup",s));const r=mt({}),c=mt(""),R=mt(),t=mt(!1),b=yt(()=>n.currentRoute.value.path.includes("/Finder"));Qt(()=>t.value,()=>{b.value&&(t.value=!0)},{immediate:!0});const f=yt(()=>Object.keys(r.value).map(o=>{var u,y,v;const a=r.value[o];return{label:a.label,choices:(u=a.choices)==null?void 0:u.slice(0,4),otherChoices:(v=a.choices)==null?void 0:v.slice(4,(y=a.choices)==null?void 0:y.length)}}));async function l(){const{data:o}=await B.get("/finder/search",{params:{q:c.value}}),a={};o[0]&&(o[0].active=!0),o.map(u=>(u.group||(u.group="Others"),a[u.group]||(a[u.group]={label:u.group,choices:[],otherChoices:[]}),a[u.group].choices.push(u),null)),r.value=a}bn(l),Qt(()=>c.value,Wr(l,200));function m(o){o!=null&&o.url&&(n.push(o.url),t.value=!1)}async function p(o){const a=f.value.flatMap(u=>u.choices);if(["ArrowUp","ArrowDown"].includes(o.code))for(let u=0;u<a.length;u+=1){const y=a[u];if(y.active){y.active=!1;const v=o.code==="ArrowUp"?a[a.length-1]:a[0],g=(o.code==="ArrowUp"?a[u-1]:a[u+1])||v;g.active=!0;break}}o.code==="Enter"&&m(a.find(u=>u.active))}return(o,a)=>ye((Tt(),jt("div",{class:re(["finder-root",{isComponent:b.value}]),onClick:a[3]||(a[3]=u=>t.value=!1)},[b.value?(Tt(),jt("div",Gr," Press Ctrl+Alt+P To open it anywhere ")):me("",!0),dt("div",{class:"finder-container",onClick:a[2]||(a[2]=ne(()=>{},["stop"]))},[ye(dt("input",{type:"text",autofocus:"","onUpdate:modelValue":a[0]||(a[0]=u=>c.value=u),placeholder:"Type to find something...",ref_key:"inputRef",ref:R,onKeyup:p},null,544),[[En,c.value]]),dt("div",zr,[(Tt(!0),jt(be,null,we(f.value,u=>(Tt(),Cn(Xe,{class:"group",key:`${u}`},{default:Rn(()=>{var y;return[dt("h2",null,Ft(u.label),1),dt("div",Qr,[(Tt(!0),jt(be,null,we(u.choices,v=>(Tt(),jt("div",{class:re(["choice",{active:v.active}]),key:`${v}`,onClick:ne(g=>m(v),["stop"])},[dt("div",Xr,[dt("div",qr,[dt("i",{class:re(v.icon||"fas fa-cog")},null,2)]),dt("div",null,[dt("div",Yr,Ft(v.title),1),dt("div",Jr,Ft(v.description),1)])]),dt("div",Zr,[dt("div",ti,Ft(v.secondaryTitle),1),dt("div",ei,Ft(v.secondaryDescription),1)])],10,Kr))),128)),dt("div",{class:"choice",onClick:a[1]||(a[1]=ne(()=>{},["stop"]))},[dt("div",ni,[(y=u.otherChoices)!=null&&y.length?(Tt(),jt("div",ri,[dt("div",ii,"And "+Ft(u.otherChoices.length)+" others...",1),dt("div",oi,Ft(u.otherChoices.map(v=>v.title).slice(0,20).map(v=>v.slice(0,40)+"...").join(", "))+" ... ",1)])):me("",!0)])])])]}),_:2},1024))),128))])])],2)),[[wn,t.value]])}},si=xn(ai,[["__scopeId","data-v-de00cded"]]),li=[{name:"OpenApi",component:()=>ot(()=>import("./Index-D67OAIVa.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))},{name:"Finder",component:si},{name:"Git-NotUpToDate",component:()=>ot(()=>import("./NotUpToDate-CnmuPdX-.js"),__vite__mapDeps([12,2,3,4,5,6,13,14,1,9,10,15]))},{name:"Help",component:()=>ot(()=>import("./Index-Cg-pTjT5.js"),__vite__mapDeps([16,3,4,5]))},{name:"Workflows",component:()=>ot(()=>import("./Index-BrbegLuT.js"),__vite__mapDeps([17,4,5]))},{name:"Docker",component:()=>ot(()=>import("./Index-DZ8CXixy.js"),__vite__mapDeps([18,19,4,5,2,3,6,1,9,10,20]))},{name:"Toolbox",component:()=>ot(()=>import("./Toolbox-C5XEPDmg.js"),__vite__mapDeps([21,4,5,3,1,9,10,2,6,22])),children:[{path:":plugin",component:()=>ot(()=>import("./DynamicComponent-CmXZUvVU.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),props:{context:"toolbox"}}]}],un=[{name:"WorkflowsModals",cmp:()=>ot(()=>import("./Modals-BHTrmB19.js"),__vite__mapDeps([25,26,4,5,3,27,28,29,30,1,9,10,2,6])),load:!0},{name:"DynamicComponent",cmp:()=>ot(()=>import("./DynamicComponent-CmXZUvVU.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24]))},...li.map(({name:e,component:n,children:s})=>({name:e,cmp:n,routes:[{path:`/${e}`,name:e,component:n,children:s}]})),{name:"Dynamic",component:()=>ot(()=>import("./DynamicComponent-CmXZUvVU.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),routes:[{path:"/dynamic/:plugin",name:"dynamic",component:()=>ot(()=>import("./DynamicComponent-CmXZUvVU.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),props:{context:"sidebar"}}]},{name:"Logs",cmp:()=>ot(()=>import("./Logs-BfqPcp-L.js"),__vite__mapDeps([31,4,5,19,1,32,2,3,6,26,27,33,13,14,29,28,30,9,10,34]))},{name:"Git",cmp:()=>ot(()=>import("./Git-Cf-zgTWr.js"),__vite__mapDeps([35,4,5,26,3,27,2,6,7,8,36,1,9,10,37]))},{name:"Github",cmp:()=>ot(()=>import("./Index-BJieQWaU.js"),__vite__mapDeps([38,4,5,2,3,6,39,1,32,13,14,8,9,10,40]))},{name:"Npm",cmp:()=>ot(()=>import("./Npm-HBPCi13F.js"),__vite__mapDeps([41,2,3,4,5,6,13,14,28,29,30,1,9,10,42]))},{name:"Bugs",cmp:()=>ot(()=>import("./Bugs-B6LM8YSZ.js"),__vite__mapDeps([43,2,3,4,5,6,13,14,28,29,30,1,9,10,44]))},{name:"Configuration",cmp:()=>ot(()=>import("./Configs-CRGDsvnb.js"),__vite__mapDeps([45,46,29,4,5,30,47,48,28,49,50,2,3,6,26,27,51,1,9,10,52]))},{name:"Documentation",cmp:()=>ot(()=>import("./Index-C3gFkhHj.js"),__vite__mapDeps([53,4,5,2,3,6,46,29,30,54,1,50,55,56,47,9,10,57]))}],zt=mt([]);globalThis.toolboxPlugins=mt([]);globalThis.sidebarPlugins=mt([]);function ci(e,n){const s=e.toLowerCase();document.querySelectorAll(s).forEach(c=>n(c));const r=new MutationObserver(c=>{var R,t;for(const b of c)for(const f of b.addedNodes)f.nodeType===Node.ELEMENT_NODE&&(f.tagName.toLowerCase()===s&&n(f),(t=(R=f.querySelectorAll)==null?void 0:R.call(f,s))==null||t.forEach(l=>n(l)))});return r.observe(document.body,{childList:!0,subtree:!0}),r}function Me(e){ui(e),document.querySelectorAll('head > style, head > link[rel="stylesheet"]').forEach(r=>{const c=r.cloneNode(!0);e.prepend(c)}),document.querySelectorAll('head > style[data-primevue-style-id="variables"]').forEach(r=>{const c=r.cloneNode(!0);e.appendChild(c)})}function ui(e){new MutationObserver(s=>{s.forEach(r=>{r.addedNodes.forEach(c=>{if(c instanceof HTMLStyleElement){const R=c.cloneNode(!0);e.appendChild(R)}})})}).observe(document.head,{childList:!0,subtree:!1})}const We=(e,n)=>{ci(e,async s=>{try{Me(s.shadowRoot)}catch{await new Promise(c=>setTimeout(c,1e3)),Me(s.shadowRoot)}}),customElements.define(e,n)},fi=e=>n=>{n.placements.forEach(s=>{const r=s.component;if(s.location==="toolbox"){const c=e+"-toolbox";We(c,r),globalThis.toolboxPlugins.value.push({...s,id:e})}else if(s.location==="sidebar"){const c=e+"-sidebar";We(c,r),globalThis.sidebarPlugins.value.push({...s,id:e})}})},pi=(e,n)=>{fi(e.replaceAll("@","").replaceAll("/","-"))(n)};B.get("/plugins").then(async e=>{zt.value=e.data.sort((n,s)=>s.name.localeCompare(n.name)),console.log("load plugins...",zt.value.map(n=>n.name)),await Dr.map(zt.value,async n=>{var s,r;if((r=(s=n.config.runeya.entries)==null?void 0:s.front)!=null&&r.js){const c=n.name;globalThis[c]=R=>{const t=R({assetsBasePath:`/plugins/${encodeURIComponent(c)}/assets`,components:{Editor:Sn,Section:Xe},callServer:(b,...f)=>B.post(`/plugins/${encodeURIComponent(c)}/call/${encodeURIComponent(b)}`,{args:f}),customCallServer:b=>(f,...l)=>B.post(`/plugins/${encodeURIComponent(c)}/call/${encodeURIComponent(f)}`,{args:l},b),socket:{emit:(b,...f)=>{Gt.emit(encodeURIComponent(c)+"-"+b,...f)},on:(b,f)=>{Gt.on(encodeURIComponent(c)+"-"+b,f)},off:(b,f)=>{Gt.off(encodeURIComponent(c)+"-"+b,f)}},primevueConfig:{theme:{preset:kn,options:{}}},router:he,notification:Br});pi(c,t)};try{await import(`/plugins/${encodeURIComponent(n.name)}/js`)}catch(R){console.error(`❌ Erreur lors du chargement du plugin ${n.name}:`,R)}}})});const Ci=Object.freeze(Object.defineProperty({__proto__:null,default:un,remotePlugins:zt},Symbol.toStringTag,{value:"Module"}));class hi{constructor(n){var s,r,c;this.label=n.label||"",this.commands=n.commands||[],this.rootPath=n.rootPath||((c=(r=(s=this.commands)==null?void 0:s[0])==null?void 0:r.spawnOptions)==null?void 0:c.cwd)||"",this.envs={},this.shortcuts=[],this.updateFields(n)}updateFields(n){var s,r,c;if(!n.label)throw new Error("A service should have a label");this.label=n.label,this.description=n.description||"",this.url=n.url||"",this.openapiURL=n.openapiURL||"",this.spawnCmd=n.spawnCmd||"",this.enabled=n.enabled||!1,this.crashed=n.crashed||!1,this.exited=n.exited||!1,this.groups=n.groups||[],this.parsers=n.parsers||[],this.urls=n.urls||[],this.spawnArgs=n.spawnArgs||[],this.health||(this.health={}),this._updateObjectWithReferences(this.health,n.health||{enabled:!1,url:"",interval:"",method:"GET",returnCode:200,responseText:"",timeout:0,startAfter:0}),this.git||(this.git={}),this._updateObjectWithReferences(this.git,n.git||{home:"",remote:"",branches:[],stash:[],delta:0,currentBranch:"",status:[]}),this.spawnOptions||(this.spawnOptions={}),this._updateObjectWithReferences(this.spawnOptions,n.spawnOptions||{cwd:"",env:""}),this.commands||(this.commands=[]),n.commands?this._updateArrayWithReferences(this.commands,n.commands,"spawnCmd"):this.commands.length=0,this.shortcuts||(this.shortcuts=[]),n.shortcuts?this._updateArrayWithReferences(this.shortcuts,n.shortcuts,"label"):this.shortcuts.length=0,this.envs||(this.envs={}),this._updateObjectWithReferences(this.envs,n.envs||{}),this.rootPath=n.rootPath||((c=(r=(s=this.commands)==null?void 0:s[0])==null?void 0:r.spawnOptions)==null?void 0:c.cwd)||"",n.container?(this.container||(this.container={}),this._updateObjectWithReferences(this.container,n.container),this.container.volumes||(this.container.volumes=[]),this.container.ignoreVolumes||(this.container.ignoreVolumes=[])):this.container=n.container,this.meta||(this.meta={}),this._updateObjectWithReferences(this.meta,n.meta||{})}_updateArrayWithReferences(n,s,r){if(!n||!s)return;const c={};n.forEach(R=>{R&&R[r]&&(c[R[r]]=R)}),n.length=0,s.forEach(R=>{if(R&&R[r]&&c[R[r]]){const t=c[R[r]];this._updateObjectWithReferences(t,R),n.push(t)}else n.push(R)})}_updateObjectWithReferences(n,s){!n||!s||(Object.keys(n).forEach(r=>{r in s||delete n[r]}),Object.keys(s).forEach(r=>{const c=s[r];if(c===void 0)return;if(!(r in n)){n[r]=c;return}const R=n[r];if(c===null)n[r]=null;else if(Array.isArray(c))if(!Array.isArray(R))n[r]=c;else if(c.length>0&&typeof c[0]=="object"&&c[0]!==null){const t=c[0],f=["id","name","label","spawnCmd","key"].find(l=>l in t)||Object.keys(t)[0];this._updateArrayWithReferences(R,c,f)}else R.length=0,c.forEach(t=>R.push(t));else typeof c=="object"?typeof R!="object"||R===null?n[r]=c:this._updateObjectWithReferences(R,c):n[r]=c}))}async updateGit(){var n;if((n=this.git)!=null&&n.remote){this.git.branches=await this.getBranches(),this.git.currentBranch=await this.getCurrentBranch(),this.git.status=await this.getStatus();const s=await this.stashList();this.git.stash=s}}async fetch(){const{data:n}=await B.get(`/stack/${this.label}/`);return this.updateFields(n),this}async getLogs(){const{data:n}=await B.get(`/logs/${this.label}/logs`);return n}async sendTerminalPrompt(n){const{data:s}=await B.post(`/logs/${this.label}/prompt`,{...n,service:this.label});return s}async sendTerminalTerminate(n){const{data:s}=await B.post(`/logs/${this.label}/terminate`,{...n,service:this.label});return s}async clear(){const{data:n}=await B.delete(`/logs/${this.label}/logs`);return n}async autocomplete(n,{force:s}={}){const{data:r}=await B.get(`/logs/${this.label}/autocomplete`,{params:{message:n,force:!!s}});return r}async openInVsCode(n,s){return B.get(`/editors/${this.label}/open-in-vs-code`,{params:{path:n,editor:s}})}async openLinkInVsCode(n,s){return B.get(`/editors/${this.label}/open-link-in-vs-code`,{params:{link:n,editor:s}})}async openFolder(n){return B.get(`/stack/${this.label}/open-folder`,{params:{path:n}})}async restart(){return this.enabled=!0,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/restart`)}async start(){return this.enabled=!0,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/start`)}async stop(){return this.enabled=!1,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/stop`)}async getBranches(){const{data:n}=await B.get(`/git/${this.label}/branches`);return n}async getCurrentBranch(){const{data:n}=await B.get(`/git/${this.label}/current-branch`);return n}async addBranch(n,s){const{data:r}=await B.post(`/git/${this.label}/add-branch`,{shouldPush:s,name:n});return r}async getStatus(){const{data:n}=await B.get(`/git/${this.label}/status`);return n}async getDiff(){const{data:n}=await B.get(`/git/${this.label}/diff`);return n}async changeBranch(n){await B.post(`/git/${this.label}/branch/${encodeURIComponent(n)}/change`)}async deleteBranch(n){await B.delete(`/git/${this.label}/branch/${encodeURIComponent(n)}`)}async gitRemoteDelta(n){this.git&&(this.git.delta=null);const{data:s}=await B.get(`/git/${this.label}/branch/${encodeURIComponent(n)}/remote-delta`);return this.git&&(this.git.delta=s),s}async gitFetch(){await B.post(`/git/${this.label}/fetch`)}async getGraph(n){const{data:s}=await B.get(`/git/${this.label}/graph`,{params:{graphOnAll:n}});return s}async reset(){await B.delete(`/git/${this.label}/reset`)}async stash(){return await B.post(`/git/${this.label}/stash`),this.updateGit()}async stashPop(){await B.post(`/git/${this.label}/stash-pop`)}async pull(){await B.post(`/git/${this.label}/pull`)}async stashList(){const{data:n}=await B.post(`/git/${this.label}/stash-list`);return n}async checkoutFile(n){n=encodeURIComponent(n),await B.delete(`/git/${this.label}/checkout/${n}`)}async isNpm(n){const{data:s}=await B.get(`/npm/${this.label}`,{params:{cwd:n}});return s}async getNpmPaths(){const{data:n}=await B.get(`/npm/${this.label}/paths`);return n}async getPackageJSON(n){const{data:s}=await B.get(`/npm/${this.label}/packagejson`,{params:{cwd:n}});return s}async outdatedNpm(n){const{data:s}=await B.get(`/npm/${this.label}/outdated`,{params:{cwd:n}});return s}async getBugs(n){const{data:s}=await B.get(`/bugs/${this.label}`,{params:{cwd:n}});return s||[]}async save(){return await B.post("/stack/services",this),this}static async getTokens(n){const{data:s}=await B.post("/openai/tokenize",{data:n});return s||[]}static async reviewFromAi(n){const{data:s}=await B.post("/openai/review",{data:n});return s||[]}static async findSolutionFromAi(n){const{data:s}=await B.post("/openai/error",{data:n});return s||[]}static async homedir(){const{data:n}=await B.post("/fs/homedir");return n||""}}function vt(){this.services=mt([]),Gt.on("conf:update",e=>{e.length&&e.forEach(n=>{const s=this.services.value.find(r=>r.label===n);s&&s.fetch()})})}vt.prototype.loadServices=async function(){const{data:e}=await B.get("/stack/services"),n={};this.services.value.forEach(r=>{n[r.label]=r});const s=e.filter(r=>r).map(r=>n[r.label]?(n[r.label].updateFields(r),n[r.label]):new hi(r));return this.services.value=s,this.services.value};vt.prototype.scenarios=async function(e,n){const{data:s}=await B.get("/red/flows");return s.filter(r=>e==="services"&&r.launchType===e?r.services.split(",").includes(n):!1)};vt.prototype.getEnvironment=async function(){const{data:e}=await B.get("/stack/environment");return e};vt.prototype.getAdditionalThemes=async function(){const{data:e}=await B.get("/stack/additional-themes");return e};vt.prototype.getEnvironments=async function(){const{data:e}=await B.get("/stack/environments");return e};vt.prototype.changeEnvironment=async function(e){const{data:n}=await B.post("/stack/environment",{environment:e});return n};vt.prototype.shouldSetup=async function(){const{data:e}=await B.get("/crypto/should-setup");return e};vt.prototype.createEnvironment=async function(e){const{data:n}=await B.post("/stack/environment/create",{environment:e});return n};vt.prototype.getAllConfsPath=async function(){const{data:e}=await B.get("/stack/all-confs-path");return e};vt.prototype.selectConf=async function(e){await B.post("/stack/select-conf/",{path:e})};vt.prototype.deleteConf=async function(e){await B.post("/stack/delete-conf/",{path:e})};vt.prototype.launchServices=async function(e){return await B.post("/stack/choose",e),this.loadServices()};vt.prototype.getService=async function(e){return this.services.value.length||await this.loadServices(),this.services.value.filter(n=>n.label===e).pop()};vt.prototype.restartAllServices=async function(){return await B.get("/stack/restart-all"),this.loadServices()};vt.prototype.restartApplication=async function(){try{await B.get("/system/restart"),console.log("Application restarting...")}catch(e){throw console.error("Error while restarting the application:",e),e}};vt.prototype.getAvailableEditors=async function(){const{data:e}=await B.get("/editors/available-editors");return e};vt.prototype.getEnabledServices=async function(){return this.services.value.length||await this.loadServices(),this.services.value.filter(e=>e.enabled)};const di=new vt,vi=un.map(e=>e.routes).filter(e=>e).flat(),_i=[{path:"/stack-chooser",name:"stack-chooser",component:()=>ot(()=>import("./StackChooser-DBof37zx.js"),__vite__mapDeps([58,59,4,5,60,3,61,62,2,6,63,1,9,10,64]))},{path:"/stack-single/:label",name:"stack-single",component:()=>ot(()=>import("./StackSingle-D1Yk8PXD.js"),__vite__mapDeps([65,59,4,5,3,2,6,66,67,68,36,13,14,69,1,9,10,70]))},{path:"/stack-single",name:"stack-single-no-view",component:()=>ot(()=>import("./StackSingle-D1Yk8PXD.js"),__vite__mapDeps([65,59,4,5,3,2,6,66,67,68,36,13,14,69,1,9,10,70]))},{path:"/overview",name:"overview",component:()=>ot(()=>import("./Overview-CRtTdDEz.js"),__vite__mapDeps([71,2,3,4,5,6,62,59,60,61,63,13,14,1,9,10,72]))},{path:"/stack-multiple",name:"stack-multiple",component:()=>ot(()=>import("./StackMultiple-D0bM6dXR.js"),__vite__mapDeps([73,2,3,4,5,6,66,67,1,9,10,74]))},{path:"/import-create",name:"import-create",component:()=>ot(()=>import("./ImportCreate-DZSPN5cY.js"),__vite__mapDeps([75,60,4,5,3,61,2,6,26,27,33,59,1,9,10,76]))},{path:"/settings",name:"settings-no-view",component:()=>ot(()=>import("./Settings-CgEyOTsE.js"),__vite__mapDeps([77,4,5,2,3,6,30,29,48,28,46,47,49,26,27,50,68,36,13,14,69,56,1,9,10,78])),children:[{path:":setting",name:"settings",component:()=>ot(()=>import("./Settings-CgEyOTsE.js"),__vite__mapDeps([77,4,5,2,3,6,30,29,48,28,46,47,49,26,27,50,68,36,13,14,69,56,1,9,10,78]))}]},{path:"/init",name:"init",component:()=>ot(()=>import("./Init-BILP6lrr.js"),__vite__mapDeps([79,3,4,5]))},...vi,{name:"not-found",path:"/:pathMatch(.*)*",redirect:{name:"stack-chooser"}}],he=Ar({history:or(),routes:_i});he.beforeEach(async(e,n)=>{if((e.name!=="settings"||e.params.setting!=="crypto")&&await di.shouldSetup())return{name:"settings",params:{setting:"crypto"},query:{wrongKey:"true"}}});const Ri=Object.freeze(Object.defineProperty({__proto__:null,default:he},Symbol.toStringTag,{value:"Module"}));export{qt as C,Dr as P,di as S,hi as a,Ei as b,Ci as c,Wr as d,Br as n,un as p,Ri as r,cn as u,Ur as v};
103
+ `);return this._settledValue()},m=b.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},p=b.prototype.isRejected=function(){return(this._bitField&16777216)!==0},o=b.prototype.isPending=function(){return(this._bitField&50397184)===0},a=b.prototype.isResolved=function(){return(this._bitField&50331648)!==0};b.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},t.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},t.prototype.isPending=function(){return o.call(this._target())},t.prototype.isRejected=function(){return p.call(this._target())},t.prototype.isFulfilled=function(){return m.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return f.call(this._target())},t.prototype.reason=function(){var u=this._target();return u._unsetRejectionIsUnhandled(),l.call(u)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=b}},{}],33:[function(r,c,R){c.exports=function(t,b){var f=r("./util"),l=f.errorObj,m=f.isObject;function p(g,w){if(m(g)){if(g instanceof t)return g;var d=a(g);if(d===l){w&&w._pushContext();var _=t.reject(d.e);return w&&w._popContext(),_}else if(typeof d=="function"){if(y(g)){var _=new t(b);return g._then(_._fulfill,_._reject,void 0,_,null),_}return v(g,d,w)}}return g}function o(g){return g.then}function a(g){try{return o(g)}catch(w){return l.e=w,l}}var u={}.hasOwnProperty;function y(g){try{return u.call(g,"_promise0")}catch{return!1}}function v(g,w,d){var _=new t(b),x=_;d&&d._pushContext(),_._captureStackTrace(),d&&d._popContext();var A=!0,T=f.tryCatch(w).call(g,$,V);A=!1,_&&T===l&&(_._rejectCallback(T.e,!0,!0),_=null);function $(P){_&&(_._resolveCallback(P),_=null)}function V(P){_&&(_._rejectCallback(P,A,!0),_=null)}return x}return p}},{"./util":36}],34:[function(r,c,R){c.exports=function(t,b,f){var l=r("./util"),m=t.TimeoutError;function p(g){this.handle=g}p.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(g){return a(+this).thenReturn(g)},a=t.delay=function(g,w){var d,_;return w!==void 0?(d=t.resolve(w)._then(o,null,null,g,void 0),f.cancellation()&&w instanceof t&&d._setOnCancel(w)):(d=new t(b),_=setTimeout(function(){d._fulfill()},+g),f.cancellation()&&d._setOnCancel(new p(_)),d._captureStackTrace()),d._setAsyncGuaranteed(),d};t.prototype.delay=function(g){return a(g,this)};var u=function(g,w,d){var _;typeof w!="string"?w instanceof Error?_=w:_=new m("operation timed out"):_=new m(w),l.markAsOriginatingFromRejection(_),g._attachExtraTrace(_),g._reject(_),d!=null&&d.cancel()};function y(g){return clearTimeout(this.handle),g}function v(g){throw clearTimeout(this.handle),g}t.prototype.timeout=function(g,w){g=+g;var d,_,x=new p(setTimeout(function(){d.isPending()&&u(d,w,_)},g));return f.cancellation()?(_=this.then(),d=_._then(y,v,void 0,x,void 0),d._setOnCancel(x)):d=this._then(y,v,void 0,x,void 0),d}}},{"./util":36}],35:[function(r,c,R){c.exports=function(t,b,f,l,m,p){var o=r("./util"),a=r("./errors").TypeError,u=r("./util").inherits,y=o.errorObj,v=o.tryCatch,g={};function w(V){setTimeout(function(){throw V},0)}function d(V){var P=f(V);return P!==V&&typeof V._isDisposable=="function"&&typeof V._getDisposer=="function"&&V._isDisposable()&&P._setDisposable(V._getDisposer()),P}function _(V,P){var W=0,Z=V.length,G=new t(m);function X(){if(W>=Z)return G._fulfill();var U=d(V[W++]);if(U instanceof t&&U._isDisposable()){try{U=f(U._getDisposer().tryDispose(P),V.promise)}catch(z){return w(z)}if(U instanceof t)return U._then(X,w,null,null,null)}X()}return X(),G}function x(V,P,W){this._data=V,this._promise=P,this._context=W}x.prototype.data=function(){return this._data},x.prototype.promise=function(){return this._promise},x.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():g},x.prototype.tryDispose=function(V){var P=this.resource(),W=this._context;W!==void 0&&W._pushContext();var Z=P!==g?this.doDispose(P,V):null;return W!==void 0&&W._popContext(),this._promise._unsetDisposable(),this._data=null,Z},x.isDisposer=function(V){return V!=null&&typeof V.resource=="function"&&typeof V.tryDispose=="function"};function A(V,P,W){this.constructor$(V,P,W)}u(A,x),A.prototype.doDispose=function(V,P){var W=this.data();return W.call(V,V,P)};function T(V){return x.isDisposer(V)?(this.resources[this.index]._setDisposable(V),V.promise()):V}function $(V){this.length=V,this.promise=null,this[V-1]=null}$.prototype._resultCancelled=function(){for(var V=this.length,P=0;P<V;++P){var W=this[P];W instanceof t&&W.cancel()}},t.using=function(){var V=arguments.length;if(V<2)return b("you must pass at least 2 arguments to Promise.using");var P=arguments[V-1];if(typeof P!="function")return b("expecting a function but got "+o.classString(P));var W,Z=!0;V===2&&Array.isArray(arguments[0])?(W=arguments[0],V=W.length,Z=!1):(W=arguments,V--);for(var G=new $(V),X=0;X<V;++X){var U=W[X];if(x.isDisposer(U)){var z=U;U=U.promise(),U._setDisposable(z)}else{var M=f(U);M instanceof t&&(U=M._then(T,null,null,{resources:G,index:X},void 0))}G[X]=U}for(var q=new Array(G.length),X=0;X<q.length;++X)q[X]=t.resolve(G[X]).reflect();var nt=t.all(q).then(function(Y){for(var J=0;J<Y.length;++J){var it=Y[J];if(it.isRejected())return y.e=it.error(),y;if(!it.isFulfilled()){nt.cancel();return}Y[J]=it.value()}tt._pushContext(),P=v(P);var k=Z?P.apply(void 0,Y):P(Y),ut=tt._popContext();return p.checkForgottenReturns(k,ut,"Promise.using",tt),k}),tt=nt.lastly(function(){var Y=new t.PromiseInspection(nt);return _(G,Y)});return G.promise=tt,tt._setOnCancel(G),tt},t.prototype._setDisposable=function(V){this._bitField=this._bitField|131072,this._disposer=V},t.prototype._isDisposable=function(){return(this._bitField&131072)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},t.prototype.disposer=function(V){if(typeof V=="function")return new A(V,this,l());throw new a}}},{"./errors":12,"./util":36}],36:[function(r,c,R){var t=r("./es5"),b=typeof navigator>"u",f={e:{}},l,m=typeof self<"u"?self:typeof window<"u"?window:typeof Nt<"u"?Nt:this!==void 0?this:null;function p(){try{var i=l;return l=null,i.apply(this,arguments)}catch(E){return f.e=E,f}}function o(i){return l=i,p}var a=function(i,E){var O={}.hasOwnProperty;function I(){this.constructor=i,this.constructor$=E;for(var j in E.prototype)O.call(E.prototype,j)&&j.charAt(j.length-1)!=="$"&&(this[j+"$"]=E.prototype[j])}return I.prototype=E.prototype,i.prototype=new I,i.prototype};function u(i){return i==null||i===!0||i===!1||typeof i=="string"||typeof i=="number"}function y(i){return typeof i=="function"||typeof i=="object"&&i!==null}function v(i){return u(i)?new Error(Z(i)):i}function g(i,E){var O=i.length,I=new Array(O+1),j;for(j=0;j<O;++j)I[j]=i[j];return I[j]=E,I}function w(i,E,O){if(t.isES5){var I=Object.getOwnPropertyDescriptor(i,E);if(I!=null)return I.get==null&&I.set==null?I.value:O}else return{}.hasOwnProperty.call(i,E)?i[E]:void 0}function d(i,E,O){if(u(i))return i;var I={value:O,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(i,E,I),i}function _(i){throw i}var x=function(){var i=[Array.prototype,Object.prototype,Function.prototype],E=function(j){for(var H=0;H<i.length;++H)if(i[H]===j)return!0;return!1};if(t.isES5){var O=Object.getOwnPropertyNames;return function(j){for(var H=[],Q=Object.create(null);j!=null&&!E(j);){var ft;try{ft=O(j)}catch{return H}for(var lt=0;lt<ft.length;++lt){var bt=ft[lt];if(!Q[bt]){Q[bt]=!0;var gt=Object.getOwnPropertyDescriptor(j,bt);gt!=null&&gt.get==null&&gt.set==null&&H.push(bt)}}j=t.getPrototypeOf(j)}return H}}else{var I={}.hasOwnProperty;return function(j){if(E(j))return[];var H=[];t:for(var Q in j)if(I.call(j,Q))H.push(Q);else{for(var ft=0;ft<i.length;++ft)if(I.call(i[ft],Q))continue t;H.push(Q)}return H}}}(),A=/this\s*\.\s*\S+\s*=/;function T(i){try{if(typeof i=="function"){var E=t.names(i.prototype),O=t.isES5&&E.length>1,I=E.length>0&&!(E.length===1&&E[0]==="constructor"),j=A.test(i+"")&&t.names(i).length>0;if(O||I||j)return!0}return!1}catch{return!1}}function $(i){function E(){}E.prototype=i;var O=new E;function I(){return typeof O.foo}return I(),I(),i}var V=/^[a-z$_][a-z$_0-9]*$/i;function P(i){return V.test(i)}function W(i,E,O){for(var I=new Array(i),j=0;j<i;++j)I[j]=E+j+O;return I}function Z(i){try{return i+""}catch{return"[no string representation]"}}function G(i){return i instanceof Error||i!==null&&typeof i=="object"&&typeof i.message=="string"&&typeof i.name=="string"}function X(i){try{d(i,"isOperational",!0)}catch{}}function U(i){return i==null?!1:i instanceof Error.__BluebirdErrorTypes__.OperationalError||i.isOperational===!0}function z(i){return G(i)&&t.propertyIsWritable(i,"stack")}var M=function(){return"stack"in new Error?function(i){return z(i)?i:new Error(Z(i))}:function(i){if(z(i))return i;try{throw new Error(Z(i))}catch(E){return E}}}();function q(i){return{}.toString.call(i)}function nt(i,E,O){for(var I=t.names(i),j=0;j<I.length;++j){var H=I[j];if(O(H))try{t.defineProperty(E,H,t.getDescriptor(i,H))}catch{}}}var tt=function(i){return t.isArray(i)?i:null};if(typeof Symbol<"u"&&Symbol.iterator){var Y=typeof Array.from=="function"?function(i){return Array.from(i)}:function(i){for(var E=[],O=i[Symbol.iterator](),I;!(I=O.next()).done;)E.push(I.value);return E};tt=function(i){return t.isArray(i)?i:i!=null&&typeof i[Symbol.iterator]=="function"?Y(i):null}}var J=typeof process<"u"&&q(process).toLowerCase()==="[object process]",it=typeof process<"u"&&typeof s<"u";function k(i){return it?s[i]:void 0}function ut(){if(typeof Promise=="function")try{var i=new Promise(function(){});if(q(i)==="[object Promise]")return Promise}catch{}}var ht;function F(i,E){if(i===null||typeof E!="function"||E===ht)return E;i.domain!==null&&(E=i.domain.bind(E));var O=i.async;if(O!==null){var I=E;E=function(){var j=new Array(2).concat([].slice.call(arguments));return j[0]=I,j[1]=this,O.runInAsyncScope.apply(O,j)}}return E}var h={setReflectHandler:function(i){ht=i},isClass:T,isIdentifier:P,inheritedDataKeys:x,getDataPropertyOrDefault:w,thrower:_,isArray:t.isArray,asArray:tt,notEnumerableProp:d,isPrimitive:u,isObject:y,isError:G,canEvaluate:b,errorObj:f,tryCatch:o,inherits:a,withAppended:g,maybeWrapAsError:v,toFastProperties:$,filledRange:W,toString:Z,canAttachTrace:z,ensureErrorObject:M,originatesFromRejection:U,markAsOriginatingFromRejection:X,classString:q,copyDescriptors:nt,isNode:J,hasEnvVariables:it,env:k,global:m,getNativePromise:ut,contextBind:F};h.isRecentNode=h.isNode&&function(){var i;return process.versions&&process.versions.node?i=process.versions.node.split(".").map(Number):process.version&&(i=process.version.split(".").map(Number)),i[0]===0&&i[1]>10||i[0]>0}(),h.nodeSupportsAsyncResource=h.isNode&&function(){var i=!1;try{var E=r("async_hooks").AsyncResource;i=typeof E.prototype.runInAsyncScope=="function"}catch{i=!1}return i}(),h.isNode&&h.toFastProperties(process);try{throw new Error}catch(i){h.lastLineError=i}c.exports=h},{"./es5":13,async_hooks:void 0}]},{},[4])(4)}),typeof window<"u"&&window!==null?window.P=window.Promise:typeof self<"u"&&self!==null&&(self.P=self.Promise)}(se)),se.exports}var Ir=Or();const Dr=Ke(Ir);let Mt;const Lr=new Uint8Array(16);function Vr(){if(!Mt&&(Mt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Mt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Mt(Lr)}const _t=[];for(let e=0;e<256;++e)_t.push((e+256).toString(16).slice(1));function Pr(e,n=0){return _t[e[n+0]]+_t[e[n+1]]+_t[e[n+2]]+_t[e[n+3]]+"-"+_t[e[n+4]]+_t[e[n+5]]+"-"+_t[e[n+6]]+_t[e[n+7]]+"-"+_t[e[n+8]]+_t[e[n+9]]+"-"+_t[e[n+10]]+_t[e[n+11]]+_t[e[n+12]]+_t[e[n+13]]+_t[e[n+14]]+_t[e[n+15]]}const Hr=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),$e={randomUUID:Hr};function Ur(e,n,s){if($e.randomUUID&&!e)return $e.randomUUID();e=e||{};const r=e.random||(e.rng||Vr)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Pr(r)}function qt(){this.funcs=[]}qt.prototype.subscribe=function(e){return this.funcs.push(e),{unsubscribe:()=>this.unsubscribe(e)}};qt.prototype.next=function(...e){this.funcs.forEach(n=>n(...e))};qt.prototype.unsubscribe=function(e){this.funcs=[...this.funcs.filter(n=>n!==e)]};const Be=cn();class $r{constructor(){this.notifs=mt([]),this.notifsHistory=mt([]),this.openHistory=new qt,this.mutedNotifications=mt(JSON.parse(localStorage.getItem("muted-notifications")||JSON.stringify({error:{}}))),Qt(()=>this.mutedNotifications.value,()=>{localStorage.setItem("muted-notifications",JSON.stringify(this.mutedNotifications.value))},{deep:!0})}next(n,s,r=void 0,c=null,R=null){var b,f;if((b=this.mutedNotifications.value[n])!=null&&b.MUTED_ALL||R&&((f=this.mutedNotifications.value[n])!=null&&f[R]))return;c||(this.next(n,s,r,this.notifsHistory.value,R),c=this.notifs.value);let t=c.find(l=>l.type===n&&l.serviceLabel===r&&r);if(t){const l=t.msgs.find(p=>p.label===s),m=l||{label:s,nb:0};m.nb+=1,l||t.msgs.unshift(m)}else{const l=c.find(o=>o.type===n&&!o.serviceLabel&&o.msgs.find(a=>a.label===s));t=l||{id:Ur(),type:n,msgs:[],serviceLabel:r,nb:0};const m=t.msgs.find(o=>o.label===s),p=m||{label:s,nb:0};p.nb+=1,m||t.msgs.unshift(p),l||c.unshift(t)}clearTimeout(t.timeout),t.timeout=setTimeout(()=>{t&&this.remove(t)},5e3)}remove(n,s=!1){const r=this.notifs.value.indexOf(n);r>-1&&this.notifs.value.splice(r,1),s&&n.serviceLabel&&Be.push({name:"stack-single",params:{label:n.serviceLabel}})}removeHistory(n,s){const r=this.notifsHistory.value.indexOf(n);r>-1&&this.notifsHistory.value.splice(r,1),s&&n.serviceLabel&&Be.push({name:"stack-single",params:{label:n.serviceLabel}})}}const Br=new $r;var Wt={exports:{}},Ne;function Nr(){if(Ne)return Wt.exports;Ne=1;function e(n,s=100,r={}){if(typeof n!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof n}\`.`);if(s<0)throw new RangeError("`wait` must not be negative.");const{immediate:c}=typeof r=="boolean"?{immediate:r}:r;let R,t,b,f,l;function m(){const a=R,u=t;return R=void 0,t=void 0,l=n.apply(a,u),l}function p(){const a=Date.now()-f;a<s&&a>=0?b=setTimeout(p,s-a):(b=void 0,c||(l=m()))}const o=function(...a){if(R&&this!==R&&Object.getPrototypeOf(this)===Object.getPrototypeOf(R))throw new Error("Debounced method called with different contexts of the same prototype.");R=this,t=a,f=Date.now();const u=c&&!b;return b||(b=setTimeout(p,s)),u&&(l=m()),l};return Object.defineProperty(o,"isPending",{get(){return b!==void 0}}),o.clear=()=>{b&&(clearTimeout(b),b=void 0)},o.flush=()=>{b&&o.trigger()},o.trigger=()=>{l=m(),o.clear()},o}return Wt.exports.debounce=e,Wt.exports=e,Wt.exports}var Mr=Nr();const Wr=Ke(Mr),Gr={key:0,class:"hint"},zr={class:"groups"},Qr={class:"choices"},Kr=["onClick"],Xr={class:"left"},qr={class:"icon"},Yr={class:"title"},Jr={class:"description"},Zr={class:"right"},ti={class:"title"},ei={class:"description"},ni={class:"left"},ri={key:0},ii={class:"title"},oi={class:"description"},ai={__name:"Index",setup(e){const n=cn(),s=async o=>{o.ctrlKey&&o.altKey&&o.code==="KeyP"&&(o.preventDefault(),t.value=!t.value,c.value="",await Qe(),R.value.focus()),o.code==="Escape"&&(o.preventDefault(),t.value=!1)};window.addEventListener("keyup",s),mn(()=>window.removeEventListener("keyup",s));const r=mt({}),c=mt(""),R=mt(),t=mt(!1),b=yt(()=>n.currentRoute.value.path.includes("/Finder"));Qt(()=>t.value,()=>{b.value&&(t.value=!0)},{immediate:!0});const f=yt(()=>Object.keys(r.value).map(o=>{var u,y,v;const a=r.value[o];return{label:a.label,choices:(u=a.choices)==null?void 0:u.slice(0,4),otherChoices:(v=a.choices)==null?void 0:v.slice(4,(y=a.choices)==null?void 0:y.length)}}));async function l(){const{data:o}=await B.get("/finder/search",{params:{q:c.value}}),a={};o[0]&&(o[0].active=!0),o.map(u=>(u.group||(u.group="Others"),a[u.group]||(a[u.group]={label:u.group,choices:[],otherChoices:[]}),a[u.group].choices.push(u),null)),r.value=a}bn(l),Qt(()=>c.value,Wr(l,200));function m(o){o!=null&&o.url&&(n.push(o.url),t.value=!1)}async function p(o){const a=f.value.flatMap(u=>u.choices);if(["ArrowUp","ArrowDown"].includes(o.code))for(let u=0;u<a.length;u+=1){const y=a[u];if(y.active){y.active=!1;const v=o.code==="ArrowUp"?a[a.length-1]:a[0],g=(o.code==="ArrowUp"?a[u-1]:a[u+1])||v;g.active=!0;break}}o.code==="Enter"&&m(a.find(u=>u.active))}return(o,a)=>ye((Tt(),jt("div",{class:re(["finder-root",{isComponent:b.value}]),onClick:a[3]||(a[3]=u=>t.value=!1)},[b.value?(Tt(),jt("div",Gr," Press Ctrl+Alt+P To open it anywhere ")):me("",!0),dt("div",{class:"finder-container",onClick:a[2]||(a[2]=ne(()=>{},["stop"]))},[ye(dt("input",{type:"text",autofocus:"","onUpdate:modelValue":a[0]||(a[0]=u=>c.value=u),placeholder:"Type to find something...",ref_key:"inputRef",ref:R,onKeyup:p},null,544),[[En,c.value]]),dt("div",zr,[(Tt(!0),jt(be,null,we(f.value,u=>(Tt(),Cn(Xe,{class:"group",key:`${u}`},{default:Rn(()=>{var y;return[dt("h2",null,Ft(u.label),1),dt("div",Qr,[(Tt(!0),jt(be,null,we(u.choices,v=>(Tt(),jt("div",{class:re(["choice",{active:v.active}]),key:`${v}`,onClick:ne(g=>m(v),["stop"])},[dt("div",Xr,[dt("div",qr,[dt("i",{class:re(v.icon||"fas fa-cog")},null,2)]),dt("div",null,[dt("div",Yr,Ft(v.title),1),dt("div",Jr,Ft(v.description),1)])]),dt("div",Zr,[dt("div",ti,Ft(v.secondaryTitle),1),dt("div",ei,Ft(v.secondaryDescription),1)])],10,Kr))),128)),dt("div",{class:"choice",onClick:a[1]||(a[1]=ne(()=>{},["stop"]))},[dt("div",ni,[(y=u.otherChoices)!=null&&y.length?(Tt(),jt("div",ri,[dt("div",ii,"And "+Ft(u.otherChoices.length)+" others...",1),dt("div",oi,Ft(u.otherChoices.map(v=>v.title).slice(0,20).map(v=>v.slice(0,40)+"...").join(", "))+" ... ",1)])):me("",!0)])])])]}),_:2},1024))),128))])])],2)),[[wn,t.value]])}},si=xn(ai,[["__scopeId","data-v-de00cded"]]),li=[{name:"OpenApi",component:()=>ot(()=>import("./Index-B63IO9GV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))},{name:"Finder",component:si},{name:"Git-NotUpToDate",component:()=>ot(()=>import("./NotUpToDate-Du0KDqto.js"),__vite__mapDeps([12,2,3,4,5,6,13,14,1,9,10,15]))},{name:"Help",component:()=>ot(()=>import("./Index-Dx1OujL3.js"),__vite__mapDeps([16,3,4,5]))},{name:"Workflows",component:()=>ot(()=>import("./Index-Cig3CHAr.js"),__vite__mapDeps([17,4,5]))},{name:"Docker",component:()=>ot(()=>import("./Index-BTX-OBp_.js"),__vite__mapDeps([18,19,4,5,2,3,6,1,9,10,20]))},{name:"Toolbox",component:()=>ot(()=>import("./Toolbox-BctYsp_m.js"),__vite__mapDeps([21,4,5,3,1,9,10,2,6,22])),children:[{path:":plugin",component:()=>ot(()=>import("./DynamicComponent-u2mgF7SR.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),props:{context:"toolbox"}}]}],un=[{name:"WorkflowsModals",cmp:()=>ot(()=>import("./Modals-DL7ezEul.js"),__vite__mapDeps([25,26,4,5,3,27,28,29,30,1,9,10,2,6])),load:!0},{name:"DynamicComponent",cmp:()=>ot(()=>import("./DynamicComponent-u2mgF7SR.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24]))},...li.map(({name:e,component:n,children:s})=>({name:e,cmp:n,routes:[{path:`/${e}`,name:e,component:n,children:s}]})),{name:"Dynamic",component:()=>ot(()=>import("./DynamicComponent-u2mgF7SR.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),routes:[{path:"/dynamic/:plugin",name:"dynamic",component:()=>ot(()=>import("./DynamicComponent-u2mgF7SR.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),props:{context:"sidebar"}}]},{name:"Logs",cmp:()=>ot(()=>import("./Logs-DRBJWBGG.js"),__vite__mapDeps([31,4,5,19,1,32,2,3,6,26,27,33,13,14,29,28,30,9,10,34]))},{name:"Git",cmp:()=>ot(()=>import("./Git-Da_IiEci.js"),__vite__mapDeps([35,4,5,26,3,27,2,6,7,8,36,1,9,10,37]))},{name:"Github",cmp:()=>ot(()=>import("./Index-CnwSqgC1.js"),__vite__mapDeps([38,4,5,2,3,6,39,1,32,13,14,8,9,10,40]))},{name:"Npm",cmp:()=>ot(()=>import("./Npm-D2i5dOQC.js"),__vite__mapDeps([41,2,3,4,5,6,13,14,28,29,30,1,9,10,42]))},{name:"Bugs",cmp:()=>ot(()=>import("./Bugs-BYVaGclE.js"),__vite__mapDeps([43,2,3,4,5,6,13,14,28,29,30,1,9,10,44]))},{name:"Configuration",cmp:()=>ot(()=>import("./Configs-CGdacJ7j.js"),__vite__mapDeps([45,46,29,4,5,30,47,48,28,49,50,2,3,6,26,27,51,1,9,10,52]))},{name:"Documentation",cmp:()=>ot(()=>import("./Index-tb_q4KJZ.js"),__vite__mapDeps([53,4,5,2,3,6,46,29,30,54,1,50,55,56,47,9,10,57]))}],zt=mt([]);globalThis.toolboxPlugins=mt([]);globalThis.sidebarPlugins=mt([]);function ci(e,n){const s=e.toLowerCase();document.querySelectorAll(s).forEach(c=>n(c));const r=new MutationObserver(c=>{var R,t;for(const b of c)for(const f of b.addedNodes)f.nodeType===Node.ELEMENT_NODE&&(f.tagName.toLowerCase()===s&&n(f),(t=(R=f.querySelectorAll)==null?void 0:R.call(f,s))==null||t.forEach(l=>n(l)))});return r.observe(document.body,{childList:!0,subtree:!0}),r}function Me(e){ui(e),document.querySelectorAll('head > style, head > link[rel="stylesheet"]').forEach(r=>{const c=r.cloneNode(!0);e.prepend(c)}),document.querySelectorAll('head > style[data-primevue-style-id="variables"]').forEach(r=>{const c=r.cloneNode(!0);e.appendChild(c)})}function ui(e){new MutationObserver(s=>{s.forEach(r=>{r.addedNodes.forEach(c=>{if(c instanceof HTMLStyleElement){const R=c.cloneNode(!0);e.appendChild(R)}})})}).observe(document.head,{childList:!0,subtree:!1})}const We=(e,n)=>{ci(e,async s=>{try{Me(s.shadowRoot)}catch{await new Promise(c=>setTimeout(c,1e3)),Me(s.shadowRoot)}}),customElements.define(e,n)},fi=e=>n=>{n.placements.forEach(s=>{const r=s.component;if(s.location==="toolbox"){const c=e+"-toolbox";We(c,r),globalThis.toolboxPlugins.value.push({...s,id:e})}else if(s.location==="sidebar"){const c=e+"-sidebar";We(c,r),globalThis.sidebarPlugins.value.push({...s,id:e})}})},pi=(e,n)=>{fi(e.replaceAll("@","").replaceAll("/","-"))(n)};B.get("/plugins").then(async e=>{zt.value=e.data.sort((n,s)=>s.name.localeCompare(n.name)),console.log("load plugins...",zt.value.map(n=>n.name)),await Dr.map(zt.value,async n=>{var s,r;if((r=(s=n.config.runeya.entries)==null?void 0:s.front)!=null&&r.js){const c=n.name;globalThis[c]=R=>{const t=R({assetsBasePath:`/plugins/${encodeURIComponent(c)}/assets`,components:{Editor:Sn,Section:Xe},callServer:(b,...f)=>B.post(`/plugins/${encodeURIComponent(c)}/call/${encodeURIComponent(b)}`,{args:f}),customCallServer:b=>(f,...l)=>B.post(`/plugins/${encodeURIComponent(c)}/call/${encodeURIComponent(f)}`,{args:l},b),socket:{emit:(b,...f)=>{Gt.emit(encodeURIComponent(c)+"-"+b,...f)},on:(b,f)=>{Gt.on(encodeURIComponent(c)+"-"+b,f)},off:(b,f)=>{Gt.off(encodeURIComponent(c)+"-"+b,f)}},primevueConfig:{theme:{preset:kn,options:{}}},router:he,notification:Br});pi(c,t)};try{await import(`/plugins/${encodeURIComponent(n.name)}/js`)}catch(R){console.error(`❌ Erreur lors du chargement du plugin ${n.name}:`,R)}}})});const Ci=Object.freeze(Object.defineProperty({__proto__:null,default:un,remotePlugins:zt},Symbol.toStringTag,{value:"Module"}));class hi{constructor(n){var s,r,c;this.label=n.label||"",this.commands=n.commands||[],this.rootPath=n.rootPath||((c=(r=(s=this.commands)==null?void 0:s[0])==null?void 0:r.spawnOptions)==null?void 0:c.cwd)||"",this.envs={},this.shortcuts=[],this.updateFields(n)}updateFields(n){var s,r,c;if(!n.label)throw new Error("A service should have a label");this.label=n.label,this.description=n.description||"",this.url=n.url||"",this.openapiURL=n.openapiURL||"",this.spawnCmd=n.spawnCmd||"",this.enabled=n.enabled||!1,this.crashed=n.crashed||!1,this.exited=n.exited||!1,this.groups=n.groups||[],this.parsers=n.parsers||[],this.urls=n.urls||[],this.spawnArgs=n.spawnArgs||[],this.health||(this.health={}),this._updateObjectWithReferences(this.health,n.health||{enabled:!1,url:"",interval:"",method:"GET",returnCode:200,responseText:"",timeout:0,startAfter:0}),this.git||(this.git={}),this._updateObjectWithReferences(this.git,n.git||{home:"",remote:"",branches:[],stash:[],delta:0,currentBranch:"",status:[]}),this.spawnOptions||(this.spawnOptions={}),this._updateObjectWithReferences(this.spawnOptions,n.spawnOptions||{cwd:"",env:""}),this.commands||(this.commands=[]),n.commands?this._updateArrayWithReferences(this.commands,n.commands,"spawnCmd"):this.commands.length=0,this.shortcuts||(this.shortcuts=[]),n.shortcuts?this._updateArrayWithReferences(this.shortcuts,n.shortcuts,"label"):this.shortcuts.length=0,this.envs||(this.envs={}),this._updateObjectWithReferences(this.envs,n.envs||{}),this.rootPath=n.rootPath||((c=(r=(s=this.commands)==null?void 0:s[0])==null?void 0:r.spawnOptions)==null?void 0:c.cwd)||"",n.container?(this.container||(this.container={}),this._updateObjectWithReferences(this.container,n.container),this.container.volumes||(this.container.volumes=[]),this.container.ignoreVolumes||(this.container.ignoreVolumes=[])):this.container=n.container,this.meta||(this.meta={}),this._updateObjectWithReferences(this.meta,n.meta||{})}_updateArrayWithReferences(n,s,r){if(!n||!s)return;const c={};n.forEach(R=>{R&&R[r]&&(c[R[r]]=R)}),n.length=0,s.forEach(R=>{if(R&&R[r]&&c[R[r]]){const t=c[R[r]];this._updateObjectWithReferences(t,R),n.push(t)}else n.push(R)})}_updateObjectWithReferences(n,s){!n||!s||(Object.keys(n).forEach(r=>{r in s||delete n[r]}),Object.keys(s).forEach(r=>{const c=s[r];if(c===void 0)return;if(!(r in n)){n[r]=c;return}const R=n[r];if(c===null)n[r]=null;else if(Array.isArray(c))if(!Array.isArray(R))n[r]=c;else if(c.length>0&&typeof c[0]=="object"&&c[0]!==null){const t=c[0],f=["id","name","label","spawnCmd","key"].find(l=>l in t)||Object.keys(t)[0];this._updateArrayWithReferences(R,c,f)}else R.length=0,c.forEach(t=>R.push(t));else typeof c=="object"?typeof R!="object"||R===null?n[r]=c:this._updateObjectWithReferences(R,c):n[r]=c}))}async updateGit(){var n;if((n=this.git)!=null&&n.remote){this.git.branches=await this.getBranches(),this.git.currentBranch=await this.getCurrentBranch(),this.git.status=await this.getStatus();const s=await this.stashList();this.git.stash=s}}async fetch(){const{data:n}=await B.get(`/stack/${this.label}/`);return this.updateFields(n),this}async getLogs(){const{data:n}=await B.get(`/logs/${this.label}/logs`);return n}async sendTerminalPrompt(n){const{data:s}=await B.post(`/logs/${this.label}/prompt`,{...n,service:this.label});return s}async sendTerminalTerminate(n){const{data:s}=await B.post(`/logs/${this.label}/terminate`,{...n,service:this.label});return s}async clear(){const{data:n}=await B.delete(`/logs/${this.label}/logs`);return n}async autocomplete(n,{force:s}={}){const{data:r}=await B.get(`/logs/${this.label}/autocomplete`,{params:{message:n,force:!!s}});return r}async openInVsCode(n,s){return B.get(`/editors/${this.label}/open-in-vs-code`,{params:{path:n,editor:s}})}async openLinkInVsCode(n,s){return B.get(`/editors/${this.label}/open-link-in-vs-code`,{params:{link:n,editor:s}})}async openFolder(n){return B.get(`/stack/${this.label}/open-folder`,{params:{path:n}})}async restart(){return this.enabled=!0,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/restart`)}async start(){return this.enabled=!0,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/start`)}async stop(){return this.enabled=!1,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/stop`)}async getBranches(){const{data:n}=await B.get(`/git/${this.label}/branches`);return n}async getCurrentBranch(){const{data:n}=await B.get(`/git/${this.label}/current-branch`);return n}async addBranch(n,s){const{data:r}=await B.post(`/git/${this.label}/add-branch`,{shouldPush:s,name:n});return r}async getStatus(){const{data:n}=await B.get(`/git/${this.label}/status`);return n}async getDiff(){const{data:n}=await B.get(`/git/${this.label}/diff`);return n}async changeBranch(n){await B.post(`/git/${this.label}/branch/${encodeURIComponent(n)}/change`)}async deleteBranch(n){await B.delete(`/git/${this.label}/branch/${encodeURIComponent(n)}`)}async gitRemoteDelta(n){this.git&&(this.git.delta=null);const{data:s}=await B.get(`/git/${this.label}/branch/${encodeURIComponent(n)}/remote-delta`);return this.git&&(this.git.delta=s),s}async gitFetch(){await B.post(`/git/${this.label}/fetch`)}async getGraph(n){const{data:s}=await B.get(`/git/${this.label}/graph`,{params:{graphOnAll:n}});return s}async reset(){await B.delete(`/git/${this.label}/reset`)}async stash(){return await B.post(`/git/${this.label}/stash`),this.updateGit()}async stashPop(){await B.post(`/git/${this.label}/stash-pop`)}async pull(){await B.post(`/git/${this.label}/pull`)}async stashList(){const{data:n}=await B.post(`/git/${this.label}/stash-list`);return n}async checkoutFile(n){n=encodeURIComponent(n),await B.delete(`/git/${this.label}/checkout/${n}`)}async isNpm(n){const{data:s}=await B.get(`/npm/${this.label}`,{params:{cwd:n}});return s}async getNpmPaths(){const{data:n}=await B.get(`/npm/${this.label}/paths`);return n}async getPackageJSON(n){const{data:s}=await B.get(`/npm/${this.label}/packagejson`,{params:{cwd:n}});return s}async outdatedNpm(n){const{data:s}=await B.get(`/npm/${this.label}/outdated`,{params:{cwd:n}});return s}async getBugs(n){const{data:s}=await B.get(`/bugs/${this.label}`,{params:{cwd:n}});return s||[]}async save(){return await B.post("/stack/services",this),this}static async getTokens(n){const{data:s}=await B.post("/openai/tokenize",{data:n});return s||[]}static async reviewFromAi(n){const{data:s}=await B.post("/openai/review",{data:n});return s||[]}static async findSolutionFromAi(n){const{data:s}=await B.post("/openai/error",{data:n});return s||[]}static async homedir(){const{data:n}=await B.post("/fs/homedir");return n||""}}function vt(){this.services=mt([]),Gt.on("conf:update",e=>{e.length&&e.forEach(n=>{const s=this.services.value.find(r=>r.label===n);s&&s.fetch()})})}vt.prototype.loadServices=async function(){const{data:e}=await B.get("/stack/services"),n={};this.services.value.forEach(r=>{n[r.label]=r});const s=e.filter(r=>r).map(r=>n[r.label]?(n[r.label].updateFields(r),n[r.label]):new hi(r));return this.services.value=s,this.services.value};vt.prototype.scenarios=async function(e,n){const{data:s}=await B.get("/red/flows");return s.filter(r=>e==="services"&&r.launchType===e?r.services.split(",").includes(n):!1)};vt.prototype.getEnvironment=async function(){const{data:e}=await B.get("/stack/environment");return e};vt.prototype.getAdditionalThemes=async function(){const{data:e}=await B.get("/stack/additional-themes");return e};vt.prototype.getEnvironments=async function(){const{data:e}=await B.get("/stack/environments");return e};vt.prototype.changeEnvironment=async function(e){const{data:n}=await B.post("/stack/environment",{environment:e});return n};vt.prototype.shouldSetup=async function(){const{data:e}=await B.get("/crypto/should-setup");return e};vt.prototype.createEnvironment=async function(e){const{data:n}=await B.post("/stack/environment/create",{environment:e});return n};vt.prototype.getAllConfsPath=async function(){const{data:e}=await B.get("/stack/all-confs-path");return e};vt.prototype.selectConf=async function(e){await B.post("/stack/select-conf/",{path:e})};vt.prototype.deleteConf=async function(e){await B.post("/stack/delete-conf/",{path:e})};vt.prototype.launchServices=async function(e){return await B.post("/stack/choose",e),this.loadServices()};vt.prototype.getService=async function(e){return this.services.value.length||await this.loadServices(),this.services.value.filter(n=>n.label===e).pop()};vt.prototype.restartAllServices=async function(){return await B.get("/stack/restart-all"),this.loadServices()};vt.prototype.restartApplication=async function(){try{await B.get("/system/restart"),console.log("Application restarting...")}catch(e){throw console.error("Error while restarting the application:",e),e}};vt.prototype.getAvailableEditors=async function(){const{data:e}=await B.get("/editors/available-editors");return e};vt.prototype.getEnabledServices=async function(){return this.services.value.length||await this.loadServices(),this.services.value.filter(e=>e.enabled)};const di=new vt,vi=un.map(e=>e.routes).filter(e=>e).flat(),_i=[{path:"/stack-chooser",name:"stack-chooser",component:()=>ot(()=>import("./StackChooser-C6QUL1ts.js"),__vite__mapDeps([58,59,4,5,60,3,61,62,2,6,63,1,9,10,64]))},{path:"/stack-single/:label",name:"stack-single",component:()=>ot(()=>import("./StackSingle-CNFNiJ6j.js"),__vite__mapDeps([65,59,4,5,3,2,6,66,67,68,36,13,14,69,1,9,10,70]))},{path:"/stack-single",name:"stack-single-no-view",component:()=>ot(()=>import("./StackSingle-CNFNiJ6j.js"),__vite__mapDeps([65,59,4,5,3,2,6,66,67,68,36,13,14,69,1,9,10,70]))},{path:"/overview",name:"overview",component:()=>ot(()=>import("./Overview-DRm-6OxF.js"),__vite__mapDeps([71,2,3,4,5,6,62,59,60,61,63,13,14,1,9,10,72]))},{path:"/stack-multiple",name:"stack-multiple",component:()=>ot(()=>import("./StackMultiple-VFMgpudb.js"),__vite__mapDeps([73,2,3,4,5,6,66,67,1,9,10,74]))},{path:"/import-create",name:"import-create",component:()=>ot(()=>import("./ImportCreate-MvJTSajS.js"),__vite__mapDeps([75,60,4,5,3,61,2,6,26,27,33,59,1,9,10,76]))},{path:"/settings",name:"settings-no-view",component:()=>ot(()=>import("./Settings-sGatgaZA.js"),__vite__mapDeps([77,4,5,2,3,6,30,29,48,28,46,47,49,26,27,50,68,36,13,14,69,56,1,9,10,78])),children:[{path:":setting",name:"settings",component:()=>ot(()=>import("./Settings-sGatgaZA.js"),__vite__mapDeps([77,4,5,2,3,6,30,29,48,28,46,47,49,26,27,50,68,36,13,14,69,56,1,9,10,78]))}]},{path:"/init",name:"init",component:()=>ot(()=>import("./Init-CVpaullv.js"),__vite__mapDeps([79,3,4,5]))},...vi,{name:"not-found",path:"/:pathMatch(.*)*",redirect:{name:"stack-chooser"}}],he=Ar({history:or(),routes:_i});he.beforeEach(async(e,n)=>{if((e.name!=="settings"||e.params.setting!=="crypto")&&await di.shouldSetup())return{name:"settings",params:{setting:"crypto"},query:{wrongKey:"true"}}});const Ri=Object.freeze(Object.defineProperty({__proto__:null,default:he},Symbol.toStringTag,{value:"Module"}));export{qt as C,Dr as P,di as S,hi as a,Ei as b,Ci as c,Wr as d,Br as n,un as p,Ri as r,cn as u,Ur as v};
@@ -1 +1 @@
1
- import{V as o,r as a,k as e}from"./index-G_rNbFve.js";function s(){this.infos=o({cpu:0,mem:0}),this.globalInfos=o({nbCpus:0,totalmem:0,freemem:0,memPercentage:0,cpu:0}),this.version=a("0.0.0")}s.prototype.getInfos=async function(t){const{data:n}=await e.get(`/system/${t}/infos`);return this.infos=n,this.infos};s.prototype.proxyImg=function(t){return`${e.defaults.baseURL==="/"?"":e.defaults.baseURL}/system/proxy-img?url=${encodeURIComponent(t)}`};s.prototype.getVersion=async function(){const{data:t}=await e.get("/version");return this.version.value=t,this.version.value};s.prototype.disconnect=async function(){return e.get("/system/disconnect")};s.prototype.hasUpdate=async function(){const{data:t}=await e.get("/stack/has-update");return t};const i=new s;export{i as default};
1
+ import{V as o,r as a,k as e}from"./index-B2Zn1t0F.js";function s(){this.infos=o({cpu:0,mem:0}),this.globalInfos=o({nbCpus:0,totalmem:0,freemem:0,memPercentage:0,cpu:0}),this.version=a("0.0.0")}s.prototype.getInfos=async function(t){const{data:n}=await e.get(`/system/${t}/infos`);return this.infos=n,this.infos};s.prototype.proxyImg=function(t){return`${e.defaults.baseURL==="/"?"":e.defaults.baseURL}/system/proxy-img?url=${encodeURIComponent(t)}`};s.prototype.getVersion=async function(){const{data:t}=await e.get("/version");return this.version.value=t,this.version.value};s.prototype.disconnect=async function(){return e.get("/system/disconnect")};s.prototype.hasUpdate=async function(){const{data:t}=await e.get("/stack/has-update");return t};const i=new s;export{i as default};
@@ -1,4 +1,4 @@
1
- import{t as O,m as I}from"./Editor-CBZeVePs.js";import"./index-G_rNbFve.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{t as O,m as I}from"./Editor-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- import{m as s}from"./Editor-CBZeVePs.js";import"./index-G_rNbFve.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as s}from"./Editor-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- import{m as r}from"./Editor-CBZeVePs.js";import"./index-G_rNbFve.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as r}from"./Editor-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- import{m as l}from"./Editor-CBZeVePs.js";import"./index-G_rNbFve.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as l}from"./Editor-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
4
4
  * Released under the MIT license
package/public/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/assets/favicon-ClgyP8FQ.ico"><title>runeya</title><style>:host(*),html{margin:0;font-family:Jost,sans-serif;font-size:.9em}.pre-loading{width:100vw;height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;backdrop-filter:blur(10px);color:#0076bc;background-color:rgba(255,255,255,.5)}.spinner{border:3px solid #0076bc;width:70px;height:70px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;border-bottom-color:transparent;-webkit-animation-name:spin;animation-name:spin;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);-ms-flex-negative:0;flex-shrink:0}.spinner::before{content:" ";-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;background-color:#0076bc;position:absolute;border-radius:100%}.spinner::after{content:" ";width:30%;height:30%;background-color:#0076bc;position:absolute;border-radius:100%}@-webkit-keyframes spin{0%{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}100%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}}@keyframes spin{0%{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}100%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}}@-webkit-keyframes pulse{0%{width:0%;height:0%;opacity:1}100%{width:100%;height:100%;opacity:0}}@keyframes pulse{0%{width:0%;height:0%;opacity:1}100%{width:100%;height:100%;opacity:0}}</style><script type="module" crossorigin src="/assets/index-G_rNbFve.js"></script><link rel="stylesheet" crossorigin href="/assets/index-D9v3u7Fv.css"></head><body><noscript><strong>We're sorry but runeya doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><div class="pre-loading"><div class="spinner" v-if="display" :style="{
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/assets/favicon-ClgyP8FQ.ico"><title>runeya</title><style>:host(*),html{margin:0;font-family:Jost,sans-serif;font-size:.9em}.pre-loading{width:100vw;height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;backdrop-filter:blur(10px);color:#0076bc;background-color:rgba(255,255,255,.5)}.spinner{border:3px solid #0076bc;width:70px;height:70px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;border-bottom-color:transparent;-webkit-animation-name:spin;animation-name:spin;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);-ms-flex-negative:0;flex-shrink:0}.spinner::before{content:" ";-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;background-color:#0076bc;position:absolute;border-radius:100%}.spinner::after{content:" ";width:30%;height:30%;background-color:#0076bc;position:absolute;border-radius:100%}@-webkit-keyframes spin{0%{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}100%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}}@keyframes spin{0%{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}100%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}}@-webkit-keyframes pulse{0%{width:0%;height:0%;opacity:1}100%{width:100%;height:100%;opacity:0}}@keyframes pulse{0%{width:0%;height:0%;opacity:1}100%{width:100%;height:100%;opacity:0}}</style><script type="module" crossorigin src="/assets/index-B2Zn1t0F.js"></script><link rel="stylesheet" crossorigin href="/assets/index-D9v3u7Fv.css"></head><body><noscript><strong>We're sorry but runeya doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><div class="pre-loading"><div class="spinner" v-if="display" :style="{
2
2
  width: size + 'px',
3
3
  height: size + 'px',
4
4
  }"></div>Loading...</div></div></body></html>