@maka/maka-cli 4.2.6 → 4.2.8

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 (90) hide show
  1. package/dist/command.js +1 -1
  2. package/dist/commands/_index.js +1 -1
  3. package/dist/commands/aws/_index.js +1 -1
  4. package/dist/commands/aws/aws.command.js +1 -1
  5. package/dist/commands/aws/ci.sub.cmd.js +1 -1
  6. package/dist/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/dist/commands/aws/csg.sub.cmd.js +1 -1
  8. package/dist/commands/aws/di.sub.cmd.js +1 -1
  9. package/dist/commands/aws/dks.sub.cmd.js +1 -1
  10. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  11. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  12. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  13. package/dist/commands/build/_index.js +1 -1
  14. package/dist/commands/build/build.js +1 -1
  15. package/dist/commands/build/docker.sub.cmd.js +1 -1
  16. package/dist/commands/create.js +1 -1
  17. package/dist/commands/debug.js +1 -1
  18. package/dist/commands/deploy.js +1 -1
  19. package/dist/commands/game/_index.js +1 -1
  20. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  21. package/dist/commands/game/play.command.js +1 -1
  22. package/dist/commands/game/pong.sub.cmd.js +1 -1
  23. package/dist/commands/game/snake.sub.cmd.js +1 -1
  24. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  25. package/dist/commands/generate.js +1 -1
  26. package/dist/commands/get/_index.js +1 -1
  27. package/dist/commands/get/get.command.js +1 -1
  28. package/dist/commands/get/global.sub.cmd.js +1 -1
  29. package/dist/commands/get/local.sub.cmd.js +1 -1
  30. package/dist/commands/help.js +1 -1
  31. package/dist/commands/install.js +1 -1
  32. package/dist/commands/jsdoc.js +1 -1
  33. package/dist/commands/login.js +1 -1
  34. package/dist/commands/logout.js +1 -1
  35. package/dist/commands/logs.js +1 -1
  36. package/dist/commands/maka.cmd.js +1 -1
  37. package/dist/commands/murder.js +1 -1
  38. package/dist/commands/proxy.js +1 -1
  39. package/dist/commands/reconfig.js +1 -1
  40. package/dist/commands/run.js +1 -1
  41. package/dist/commands/set/_index.js +1 -1
  42. package/dist/commands/set/global.sub.cmd.js +1 -1
  43. package/dist/commands/set/local.sub.cmd.js +1 -1
  44. package/dist/commands/set/set.command.js +1 -1
  45. package/dist/commands/ssh.js +1 -1
  46. package/dist/commands/ssl.js +1 -1
  47. package/dist/commands/test.js +1 -1
  48. package/dist/commands/version.js +1 -1
  49. package/dist/error.js +1 -1
  50. package/dist/generator.js +1 -1
  51. package/dist/generators/_index.js +1 -1
  52. package/dist/generators/api.js +1 -1
  53. package/dist/generators/collection.js +1 -1
  54. package/dist/generators/component.js +1 -1
  55. package/dist/generators/config.js +1 -1
  56. package/dist/generators/dbc.js +1 -1
  57. package/dist/generators/dockerfile.js +1 -1
  58. package/dist/generators/hook.js +1 -1
  59. package/dist/generators/kit.js +1 -1
  60. package/dist/generators/layout.js +1 -1
  61. package/dist/generators/maka.gen.js +1 -1
  62. package/dist/generators/methods.js +1 -1
  63. package/dist/generators/package.js +1 -1
  64. package/dist/generators/page.js +1 -1
  65. package/dist/generators/publish.js +1 -1
  66. package/dist/generators/route.js +1 -1
  67. package/dist/generators/scaffold.js +1 -1
  68. package/dist/generators/service.js +1 -1
  69. package/dist/generators/services/_index.js +1 -1
  70. package/dist/generators/services/translation.js +1 -1
  71. package/dist/maka.js +1 -1
  72. package/dist/tool.js +1 -1
  73. package/dist/tools/actions/actions.class.js +1 -1
  74. package/dist/tools/actions/actions.test.js +1 -1
  75. package/dist/tools/aws/aws.class.js +1 -1
  76. package/dist/tools/aws/aws.interfaces.js +1 -1
  77. package/dist/tools/docker/docker.class.js +1 -1
  78. package/dist/tools/docker/docker.interfaces.js +1 -1
  79. package/dist/tools/fsi/fsi.class.js +1 -1
  80. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  81. package/dist/tools/https/https.class.js +1 -1
  82. package/dist/tools/https/https.interface.js +1 -1
  83. package/dist/tools/log/log.class.js +1 -1
  84. package/dist/tools/log/log.interfaces.js +1 -1
  85. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  86. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  87. package/dist/tools/ssh/ssh.class.js +1 -1
  88. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  89. package/dist/tools/ssl/ssl.class.js +1 -1
  90. package/package.json +1 -1
@@ -1 +1 @@
1
- function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x186;var f=c[d];return f;},a28d(a,b);}var a28z=a28d;(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0x189))/0x1*(-parseInt(v(0x1a1))/0x2)+-parseInt(v(0x18f))/0x3*(-parseInt(v(0x18c))/0x4)+parseInt(v(0x1a8))/0x5+-parseInt(v(0x19f))/0x6+parseInt(v(0x1a4))/0x7*(-parseInt(v(0x19d))/0x8)+-parseInt(v(0x195))/0x9+parseInt(v(0x194))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0x9d2c7));var a28b=(function(){var a=!![];return function(b,c){var w=a28d;if(w(0x19a)!==w(0x1a3)){var d=a?function(){var x=w;if(x(0x192)===x(0x192)){if(c){if(x(0x18e)!=='ThXyQ'){var e=c['apply'](b,arguments);return c=null,e;}else try{i(j['next'](k));}catch(g){m(g);}}}else d[x(0x198)](e),f['exit'](0x0);}:function(){};return a=![],d;}else d(e[w(0x187)](f));};}()),a28a=a28b(this,function(){var y=a28d;return a28a[y(0x18d)]()['search'](y(0x190))[y(0x18d)]()[y(0x19b)](a28a)[y(0x1a9)](y(0x190));});function a28c(){var F=['throw','ubFhZ','23VNCSlO','local','PYMGA','4lmAYJt','toString','sRKzQ','2634159IkoVTv','(((.+)+)+)+$','AUuVs','BcSZL','ryJyp','25707770HRDTqn','9301068YswsgQ','done','XFLWr','error','apply','FdxBN','constructor','exit','128WNbcLo','value','6829374dICNlP','__awaiter','104738TSpCJV','maka\x20get:local','JSwOo','293496vWMaBe','then','getProjectConfig','next','6209845FYckJi','search','YoujH','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file'];a28c=function(){return F;};return a28c();}a28a();var __awaiter=this&&this[a28z(0x1a0)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var D=a28d;function h(k){var A=a28d;if(A(0x188)===A(0x193))try{i(j[A(0x187)](k));}catch(m){m(m);}else try{A(0x197)===A(0x197)?j(d[A(0x1a7)](k)):d(e['next'](f));}catch(n){g(n);}}function i(k){var B=a28d;try{j(d['throw'](k));}catch(l){B(0x1aa)!==B(0x191)?g(l):c(d);}}function j(k){var C=a28d;k[C(0x196)]?f(k[C(0x19e)]):e(k[C(0x19e)])['then'](h,i);}j((d=d[D(0x199)](a,b||[]))[D(0x1a7)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command['create']({'name':a28z(0x18a),'usage':a28z(0x1a2),'mustBeInMakaProject':!![],'description':a28z(0x186)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a28d;try{if(E(0x18b)===E(0x18b)){const c=yield this['fsi'][E(0x1a6)]();console['log'](c);}else return c['toString']()[E(0x1a9)](E(0x190))[E(0x18d)]()[E(0x19b)](d)['search'](E(0x190));}catch(f){'wDeek'==='uTTAs'?h[E(0x196)]?i(j[E(0x19e)]):k(l[E(0x19e)])[E(0x1a5)](m,n):(console[E(0x198)](f),process[E(0x19c)](0x0));}});},a28u);
1
+ var a28z=a28d;function a28c(){var G=['__awaiter','FocWW','fsi','42040sXtOcL','search','700gXDBSM','next','getProjectConfig','EcvBR','create','(((.+)+)+)+$','log','1219542HJAzPd','exit','error','done','local','2526678gZAgWj','fDwMB','1536316waiPuH','28601040HtAjma','throw','AdIAt','WOuRA','SJXRg','1652247kpImbP','value','apply','esVmn','2956890vzXxUO','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','toString'];a28c=function(){return G;};return a28c();}(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0x166))/0x1+parseInt(v(0x150))/0x2+parseInt(v(0x14c))/0x3+parseInt(v(0x158))/0x4*(parseInt(v(0x156))/0x5)+-parseInt(v(0x15f))/0x6+-parseInt(v(0x164))/0x7+-parseInt(v(0x147))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xdb221));var a28b=(function(){var a=!![];return function(b,c){var w=a28d;if(w(0x165)!=='fDwMB'){if(e){var f=i[w(0x14e)](j,arguments);return k=null,f;}}else{var d=a?function(){var x=w;if('HdcSx'==='HdcSx'){if(c){var f=c['apply'](b,arguments);return c=null,f;}}else d(e[x(0x148)](f));}:function(){};return a=![],d;}};}()),a28a=a28b(this,function(){var y=a28d;return a28a[y(0x152)]()['search'](y(0x15d))[y(0x152)]()['constructor'](a28a)[y(0x157)](y(0x15d));});a28a();function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x147;var f=c[d];return f;},a28d(a,b);}var __awaiter=this&&this[a28z(0x153)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var D=a28d;function h(k){var A=a28d;if(A(0x14f)!=='oIlye')try{A(0x149)!==A(0x149)?d(e[A(0x159)](f)):j(d[A(0x159)](k));}catch(m){if(A(0x154)!==A(0x154))return c[A(0x152)]()[A(0x157)](A(0x15d))['toString']()['constructor'](d)[A(0x157)](A(0x15d));else g(m);}else try{i(j[A(0x159)](k));}catch(p){m(p);}}function i(k){var B=a28d;try{if(B(0x14a)!==B(0x14a))return f instanceof g?h:new i(function(m){m(k);});else j(d['throw'](k));}catch(m){B(0x14b)===B(0x14b)?g(m):c(d);}}function j(k){var C=a28d;k[C(0x162)]?f(k[C(0x14d)]):e(k[C(0x14d)])['then'](h,i);}j((d=d['apply'](a,b||[]))[D(0x159)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command[a28z(0x15c)]({'name':a28z(0x163),'usage':'maka\x20get:local','mustBeInMakaProject':!![],'description':a28z(0x151)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a28d;try{const c=yield this[E(0x155)][E(0x15a)]();console[E(0x15e)](c);}catch(d){if(E(0x15b)===E(0x15b))console[E(0x161)](d),process[E(0x160)](0x0);else{var g=g?function(){var F=E;if(g){var u=q[F(0x14e)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}});},a28u);
@@ -1 +1 @@
1
- function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x139;var f=c[d];return f;},a29d(a,b);}var a29y=a29d;(function(a,b){var u=a29d,c=a();while(!![]){try{var d=parseInt(u(0x141))/0x1+parseInt(u(0x147))/0x2*(-parseInt(u(0x14a))/0x3)+parseInt(u(0x154))/0x4*(-parseInt(u(0x14e))/0x5)+parseInt(u(0x150))/0x6+parseInt(u(0x155))/0x7+parseInt(u(0x13d))/0x8*(-parseInt(u(0x153))/0x9)+-parseInt(u(0x156))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x3f253));var a29b=(function(){var a=!![];return function(b,c){var v=a29d;if(v(0x148)==='KIbYB'){var d=a?function(){var w=v;if(c){var e=c[w(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else return f instanceof g?h:new i(function(m){m(k);});};}()),a29a=a29b(this,function(){var x=a29d;return a29a[x(0x144)]()[x(0x13e)](x(0x145))['toString']()['constructor'](a29a)[x(0x13e)](x(0x145));});a29a();var __awaiter=this&&this[a29y(0x142)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var C=a29d;function h(k){var z=a29d;if(z(0x143)!==z(0x139))try{j(d[z(0x14b)](k));}catch(l){if('JtRnD'===z(0x146))g(l);else try{i(j[z(0x149)](k));}catch(o){m(o);}}else return c[z(0x144)]()['search']('(((.+)+)+)+$')[z(0x144)]()[z(0x151)](d)[z(0x13e)](z(0x145));}function i(k){var A=a29d;if('fYwtS'===A(0x13c))try{A(0x152)===A(0x152)?j(d['throw'](k)):c(d);}catch(m){g(m);}else h[A(0x14f)]?i(j[A(0x140)]):k(l['value'])['then'](m,n);}function j(k){var B=a29d;if(B(0x13b)!==B(0x13b))throw new b();else k['done']?f(k[B(0x140)]):e(k[B(0x140)])[B(0x14d)](h,i);}j((d=d[C(0x13f)](a,b||[]))[C(0x14b)]());});};function a29c(){var D=['9WLNBxY','next','create','then','10SsdQVA','done','2898846Btvzot','constructor','GOUlL','1089CpaNAD','358476NRKfjY','2247637HTwheT','2561430BcPXks','aaPYG','Try,\x20maka\x20--help','inbjA','fYwtS','4360eFBJAB','search','apply','value','358394CAhsfQ','__awaiter','bApIl','toString','(((.+)+)+)+$','JtRnD','268438DFACoz','KIbYB','throw'];a29c=function(){return D;};return a29c();}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a29y(0x14c)]({'name':'help','description':a29y(0x13a),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){if('CfMco'!=='CfMco')return c(this,void 0x0,void 0x0,function*(){throw new e();});else throw new UsageError();});});
1
+ var a29y=a29d;(function(a,b){var v=a29d,c=a();while(!![]){try{var d=parseInt(v(0x76))/0x1+-parseInt(v(0x7b))/0x2*(-parseInt(v(0x79))/0x3)+parseInt(v(0x75))/0x4*(-parseInt(v(0x6c))/0x5)+parseInt(v(0x78))/0x6+parseInt(v(0x6e))/0x7*(-parseInt(v(0x7a))/0x8)+-parseInt(v(0x72))/0x9+parseInt(v(0x73))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xf1944));function a29c(){var G=['__awaiter','20VmvAUo','162929zgUVve','apply','9143940URHexM','3ObBrrb','1730056JyuUcL','2058602yvsXjz','yiIBv','next','create','value','help','mSqXc','uKWlJ','MfsEk','search','1213065vyozLF','(((.+)+)+)+$','35TtCaLy','toString','then','done','14119632fWeTzv','21364860iqpXNx'];a29c=function(){return G;};return a29c();}function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x68;var f=c[d];return f;},a29d(a,b);}var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a29d;if(c){var e=c[w(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var x=a29d;return a29a[x(0x6f)]()[x(0x6b)](x(0x6d))[x(0x6f)]()['constructor'](a29a)[x(0x6b)](x(0x6d));});a29a();var __awaiter=this&&this[a29y(0x74)]||function(a,b,c,d){function e(f){var z=a29d;return z(0x68)!==z(0x68)?f instanceof g?h:new i(function(m){m(k);}):f instanceof c?f:new c(function(h){var A=z;if(A(0x69)===A(0x6a)){var j=g?function(){var B=A;if(j){var u=q[B(0x77)](r,arguments);return s=null,u;}}:function(){};return l=![],j;}else h(f);});}return new(c||(c=Promise))(function(f,g){var F=a29d;function h(k){var C=a29d;try{j(d[C(0x7d)](k));}catch(l){g(l);}}function i(k){var D=a29d;if(D(0x7c)!==D(0x7c))c(d);else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){var E=a29d;k[E(0x71)]?f(k[E(0x7f)]):e(k[E(0x7f)])[E(0x70)](h,i);}j((d=d[F(0x77)](a,b||[]))[F(0x7d)]());});};import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a29y(0x7e)]({'name':a29y(0x80),'description':'Try,\x20maka\x20--help','aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
@@ -1 +1 @@
1
- const a30K=a30d;(function(a,b){const H=a30d,c=a();while(!![]){try{const d=parseInt(H(0x1c5))/0x1+-parseInt(H(0x1f2))/0x2+parseInt(H(0x1bb))/0x3*(parseInt(H(0x1b9))/0x4)+parseInt(H(0x1b4))/0x5*(-parseInt(H(0x19c))/0x6)+parseInt(H(0x1f9))/0x7+parseInt(H(0x1db))/0x8*(parseInt(H(0x1c1))/0x9)+-parseInt(H(0x1f8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x3fc0b));function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x199;let f=c[d];return f;},a30d(a,b);}const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const I=a30d;if(c){if(I(0x1c9)===I(0x1c9)){const e=c['apply'](b,arguments);return c=null,e;}else d(e[I(0x1ca)](f));}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const J=a30d;return a30a['toString']()[J(0x1a6)](J(0x1c0))[J(0x1dc)]()['constructor'](a30a)['search'](J(0x1c0));});a30a();var __awaiter=this&&this[a30K(0x1c4)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const P=a30d;function h(k){const L=a30d;if(L(0x1aa)===L(0x1aa))try{L(0x1d5)===L(0x1fb)?b[L(0x1cb)](L(0x1e7)):j(d[L(0x1ca)](k));}catch(m){if(L(0x1ad)!==L(0x1ad)){if(this['fsi']['isFile'](g['cert']))m=n['cert'],o=['--cacert',p];else throw L(0x1f4)+q;}else g(m);}else throw L(0x1ec);}function i(k){const M=a30d;if(M(0x1f6)===M(0x1f6))try{if(M(0x1ef)===M(0x1ef))j(d[M(0x1d1)](k));else{const n=g?function(){const N=M;if(n){const u=q[N(0x199)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(m){g(m);}else b=!![];}function j(k){const O=a30d;'kpqmX'===O(0x1d6)?k['done']?f(k['value']):e(k[O(0x19d)])['then'](h,i):(c[O(0x1cb)](O(0x1ea)),d=['-k']);}j((d=d[P(0x199)](a,b||[]))[P(0x1ca)]());});};import a30x from'os';import a30y from'path';import a30z from'fs';import a30A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';function a30c(){const R=['kpqmX','darwin','create','maka\x20install\x20meteor','success','788552NAiwhY','toString','.tar.gz','oKqBb','grep','\x20installed.\x0a','sync','cacert','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','--cacert','confirm','notice','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','win32','maka\x20i','Allowing\x20insecure\x20curl\x20connections.','then','Network\x20error,\x20please\x20try\x20again.','/meteor-bootstrap-','lXrKH','SjpQq','CXveA','isFile','526854QKdliE','cert','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','QbyAs','Dxbwp','Removing\x20previous\x20install\x20of\x20meteor','8470620tKQXoK','688079LDRsHl','VoEXb','OIfhf','join','wpUmq','pldZl','\x20-s\x20https://install.meteor.com/','withSpinner','apply','fsi','curl\x20','497682avDlLy','value','os.linux.x86_64','force','zDGOX','homedir','mkdir\x20-p\x20','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','cOcXH','exit','search','existsSync','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','gOuXX','UUMxH','/.local/bin','https://static-meteor.netdna-ssl.com/packages-bootstrap/','HkPPe','platform','mqhCg','install','maka\x20install\x20meteor\x20--force','KCCOD','os.osx.x86_64','5sCVWEa','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','ignore','string','maka\x20install\x20meteor\x20--version\x201.12.1','5876ecEjqG','bRcHy','1062wfBREE','maka\x20install','UpPep','error','FDeDS','(((.+)+)+)+$','45JYyVcw','-rf','Aborted','__awaiter','343399KQYjSF','replace','getGlobalConfig','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','FzGxE','next','warn','Downloading\x20meteor\x20version\x20','Using\x20CA\x20Cert\x20','ByWBT','meteor.tar.gz','tar','throw','keepInstall','debug','-xzf','ujEHd'];a30c=function(){return R;};return a30c();}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30x[a30K(0x1a1)]();Command[a30K(0x1d8)]({'name':a30K(0x1b0),'aliases':['i'],'validOpts':['f','force','v','version',a30K(0x1d3),a30K(0x1e2),a30K(0x1d2)],'usage':a30K(0x1bc),'description':a30K(0x1a8),'examples':[a30K(0x1d9),a30K(0x1b1),'maka\x20install\x20meteor\x20-v\x202.3.6',a30K(0x1b8),a30K(0x1e9)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const Q=a30d;try{let c=[],d='';if(b[Q(0x1e2)]){if('pUVUL'!=='roxHx'){if(this['fsi'][Q(0x1f1)](b[Q(0x1e2)])){if(Q(0x1b2)===Q(0x1b2))Log['notice'](Q(0x1cd)+b[Q(0x1e2)]),d=b[Q(0x1e2)],c=[Q(0x1e4),d];else throw Q(0x1c3);}else{if(Q(0x1a4)!==Q(0x1a4))d=e['v']||f['version'];else throw'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d;}}else{if(this['fsi'][Q(0x1f1)](i[Q(0x1e2)]))q[Q(0x1e6)](Q(0x1cd)+r[Q(0x1e2)]),s=t['cacert'],u=[Q(0x1e4),v];else throw'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+w;}}const f=yield this[Q(0x19a)][Q(0x1c7)]();if(f[Q(0x1f3)]){if(this[Q(0x19a)][Q(0x1f1)](f[Q(0x1f3)]))Q(0x1fa)==='jHdbT'?c(d):(d=f[Q(0x1f3)],c=[Q(0x1e4),d]);else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d;}if(f['allowInsecure']){if(Q(0x1bf)===Q(0x1bf))Log[Q(0x1cb)](Q(0x1ea)),c=['-k'];else return c[Q(0x1dc)]()['search'](Q(0x1c0))[Q(0x1dc)]()['constructor'](d)[Q(0x1a6)](Q(0x1c0));}let g=![];b['f']||b[Q(0x19f)]?Q(0x1de)===Q(0x1ba)?h['done']?i(j[Q(0x19d)]):k(l[Q(0x19d)])[Q(0x1eb)](m,n):g=!![]:Q(0x1f5)!==Q(0x1f5)?(e=f['cert'],g=[Q(0x1e4),h]):g=yield Actions[Q(0x1e5)]('This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?');if(!g){if('ZPMMu'!==Q(0x1a0))throw Q(0x1c3);else c(d);}const h=process[Q(0x1ae)]===Q(0x1e8),i=process['platform']===Q(0x1d7);let j=execSync(Q(0x19b)+c[Q(0x1fc)]('\x20')+Q(0x1ff))['toString'](),k=yield this['fsi'][Q(0x1df)](j,'RELEASE=');if(k['length']===0x0)throw Q(0x1ec);let l=k[0x0][Q(0x1c6)](/[^0-9.]/gi,'')[Q(0x1c6)](/\r?\n|\r/,'');(typeof b['v']===Q(0x1b7)||typeof b['version']===Q(0x1b7))&&(l=b['v']||b['version']);let m=a30y[Q(0x1fc)](homeDir,'.meteor');if(h){if(Q(0x1bd)===Q(0x1a9)){if(e){const w=i['apply'](j,arguments);return k=null,w;}}else Log['warn'](Q(0x1e7));}else{if(Q(0x1ee)!==Q(0x1fe)){a30z[Q(0x1a7)](m)&&(yield SpawnAsync[Q(0x200)]('rm',[Q(0x1c2),m],{'message':Q(0x1f7)}));try{if(Q(0x1f0)==='CXveA'){const w=i?Q(0x1b3):Q(0x19e);yield SpawnAsync[Q(0x200)]('curl',[...c,'-s',Q(0x1ac)+l+Q(0x1ed)+w+Q(0x1dd),'--output',a30y['join'](homeDir,Q(0x1cf))],{'message':Q(0x1cc)+l});const x=[Q(0x1d4),a30y[Q(0x1fc)](homeDir,Q(0x1cf)),'-C',homeDir];yield SpawnAsync[Q(0x200)](Q(0x1d0),x,{'message':'Installing\x20meteor\x20'+l}),a30A[Q(0x1e1)](a30y['join'](homeDir,Q(0x1cf)),{'force':!![]});}else c[Q(0x1be)](d);}catch(z){console[Q(0x1be)](z);}try{Q(0x1ce)===Q(0x1fd)?(g[Q(0x1e6)]('Using\x20CA\x20Cert\x20'+h['cacert']),i=j[Q(0x1e2)],k=[Q(0x1e4),l]):(execSync(Q(0x1a2)+homeDir+Q(0x1ab),{'stdio':Q(0x1b6)}),execSync(Q(0x1a3),{'stdio':Q(0x1b6)}),execSync(Q(0x1b5),{'stdio':Q(0x1b6)}),execSync(Q(0x1e3),{'stdio':Q(0x1b6)}),execSync(Q(0x1c8),{'stdio':Q(0x1b6)}));}catch(B){Q(0x1af)!=='mqhCg'?d(B[Q(0x1d1)](f)):console[Q(0x1be)](B);}Log[Q(0x1da)]('Meteor\x20version\x20'+l+Q(0x1e0));}else try{i(j['next'](k));}catch(E){m(E);}}}catch(E){if('rJhlE'!=='OkdAA')console[Q(0x1be)](E),process[Q(0x1a5)](0x0);else return f instanceof g?h:new i(function(G){G(k);});}});});
1
+ const a30H=a30d;(function(a,b){const D=a30d,c=a();while(!![]){try{const d=-parseInt(D(0x145))/0x1*(-parseInt(D(0x12e))/0x2)+-parseInt(D(0x150))/0x3+-parseInt(D(0x106))/0x4*(parseInt(D(0x140))/0x5)+parseInt(D(0x170))/0x6*(-parseInt(D(0x166))/0x7)+-parseInt(D(0x13e))/0x8+-parseInt(D(0x154))/0x9*(parseInt(D(0x15e))/0xa)+parseInt(D(0x117))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xb24ce));function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x106;let f=c[d];return f;},a30d(a,b);}const a30b=(function(){let a=!![];return function(b,c){const E=a30d;if('GkPwm'===E(0x11e))h[E(0x132)]?i(j[E(0x159)]):k(l['value'])['then'](m,n);else{const e=a?function(){const F=E;if(c){if('rlbXr'!==F(0x164))return f instanceof g?h:new i(function(m){m(k);});else{const g=c[F(0x127)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a30a=a30b(this,function(){const G=a30d;return a30a[G(0x12b)]()['search'](G(0x14a))['toString']()[G(0x15d)](a30a)[G(0x121)]('(((.+)+)+)+$');});a30a();var __awaiter=this&&this[a30H(0x11b)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const I=a30d;I(0x168)!==I(0x168)?c['error'](d):g(f);});}return new(c||(c=Promise))(function(f,g){function h(k){const J=a30d;try{j(d[J(0x113)](k));}catch(l){if(J(0x14d)!=='bFevC')g(l);else{const n=g?function(){const K=J;if(n){const u=q[K(0x127)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}}function i(k){const L=a30d;if(L(0x147)!==L(0x107))try{if(L(0x176)!==L(0x176)){if(this[L(0x114)][L(0x11f)](g[L(0x122)]))m=n[L(0x122)],o=[L(0x11a),p];else throw L(0x16d)+q;}else j(d[L(0x156)](k));}catch(m){g(m);}else{const o=d['apply'](e,arguments);return f=null,o;}}function j(k){const M=a30d;k[M(0x132)]?f(k[M(0x159)]):e(k[M(0x159)])[M(0x131)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a30x from'os';import a30y from'path';import a30z from'fs';import a30A from'delete';function a30c(){const O=['zvkIx','TtYMn','warn','platform','rlbXr','error','406YTJtwL','xFzvO','WCcFl','notice','bAHqp','maka\x20install\x20meteor\x20--force','\x20-s\x20https://install.meteor.com/','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Network\x20error,\x20please\x20try\x20again.','Allowing\x20insecure\x20curl\x20connections.','31914gvXaYV','replace','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','maka\x20i','os.linux.x86_64','rlAiU','ceUNZ','100nlacoS','UNkaw','maka\x20install','keepInstall','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','length','string','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','Installing\x20meteor\x20','confirm','sync','create','next','fsi','ahtAL','--output','22108955RmcfsG','Aborted','https://static-meteor.netdna-ssl.com/packages-bootstrap/','--cacert','__awaiter','OTLQd','tar','NEevK','isFile','JwPVc','search','cert','/meteor-bootstrap-','RELEASE=','install','nVKjb','apply','Downloading\x20meteor\x20version\x20','\x20installed.\x0a','YfKUE','toString','version','.tar.gz','66YZgxJF','homedir','success','then','done','Using\x20CA\x20Cert\x20','Removing\x20previous\x20install\x20of\x20meteor','-xzf','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','debug','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','.meteor','curl\x20','grep','win32','maka\x20install\x20meteor','4664064gcxXDM','wmLRt','46940QEvocH','xfrsP','IIiKT','curl','bYBcy','13883PAKVmf','force','LpPDJ','cacert','wsiAH','(((.+)+)+)+$','meteor.tar.gz','mkdir\x20-p\x20','VpJZd','withSpinner','Meteor\x20version\x20','661974YkitBr','ignore','darwin','getGlobalConfig','270594qMXXdG','-rf','throw','maka\x20install\x20meteor\x20--version\x201.12.1','/.local/bin','value','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','existsSync','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','constructor','130xufnPc','join'];a30c=function(){return O;};return a30c();}import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30x[a30H(0x12f)]();Command[a30H(0x112)]({'name':a30H(0x125),'aliases':['i'],'validOpts':['f',a30H(0x146),'v',a30H(0x12c),a30H(0x137),'cacert',a30H(0x109)],'usage':a30H(0x108),'description':a30H(0x10a),'examples':[a30H(0x13d),a30H(0x16b),'maka\x20install\x20meteor\x20-v\x202.3.6',a30H(0x157),a30H(0x173)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const N=a30d;if(N(0x161)===N(0x161))try{let c=[],d='';if(b['cacert']){if(this[N(0x114)][N(0x11f)](b['cacert']))Log[N(0x169)](N(0x133)+b[N(0x148)]),d=b['cacert'],c=[N(0x11a),d];else{if(N(0x167)!==N(0x13f))throw N(0x138)+d;else b=!![];}}const f=yield this[N(0x114)][N(0x153)]();if(f[N(0x122)]){if(this[N(0x114)][N(0x11f)](f[N(0x122)]))d=f[N(0x122)],c=[N(0x11a),d];else{if(N(0x142)!==N(0x142)){if(e){const p=i['apply'](j,arguments);return k=null,p;}}else throw N(0x16d)+d;}}f['allowInsecure']&&(Log[N(0x162)](N(0x16f)),c=['-k']);let g=![];b['f']||b[N(0x146)]?'bYBcy'===N(0x144)?g=!![]:d(e[N(0x113)](f)):N(0x141)!=='xfrsP'?(e=f[N(0x122)],g=['--cacert',h]):g=yield Actions[N(0x110)](N(0x15c));if(!g){if(N(0x16a)!==N(0x160))throw'Aborted';else c[N(0x162)](N(0x16f)),d=['-k'];}const h=process['platform']===N(0x13c),i=process[N(0x163)]===N(0x152);let j=execSync(N(0x13a)+c['join']('\x20')+N(0x16c))['toString'](),k=yield this[N(0x114)][N(0x13b)](j,N(0x124));if(k[N(0x10c)]===0x0)throw N(0x16e);let l=k[0x0][N(0x171)](/[^0-9.]/gi,'')[N(0x171)](/\r?\n|\r/,'');if(typeof b['v']===N(0x10d)||typeof b['version']===N(0x10d)){if(N(0x115)===N(0x120))throw N(0x118);else l=b['v']||b[N(0x12c)];}let m=a30y['join'](homeDir,N(0x139));if(h)N(0x11c)!==N(0x11c)?b[N(0x162)](N(0x15a)):Log[N(0x162)](N(0x15a));else{a30z[N(0x15b)](m)&&(yield SpawnAsync[N(0x14e)]('rm',[N(0x155),m],{'message':N(0x134)}));try{if(N(0x175)===N(0x126))c['error'](d);else{const v=i?'os.osx.x86_64':N(0x174);yield SpawnAsync[N(0x14e)](N(0x143),[...c,'-s',N(0x119)+l+N(0x123)+v+N(0x12d),N(0x116),a30y[N(0x15f)](homeDir,N(0x14b))],{'message':N(0x128)+l});const w=[N(0x135),a30y[N(0x15f)](homeDir,N(0x14b)),'-C',homeDir];yield SpawnAsync[N(0x14e)](N(0x11d),w,{'message':N(0x10f)+l}),a30A[N(0x111)](a30y['join'](homeDir,'meteor.tar.gz'),{'force':!![]});}}catch(x){console[N(0x165)](x);}try{'oTdGd'===N(0x149)?(d['error'](e),f['exit'](0x0)):(execSync('mkdir\x20-p\x20'+homeDir+N(0x158),{'stdio':'ignore'}),execSync(N(0x136),{'stdio':N(0x151)}),execSync(N(0x172),{'stdio':N(0x151)}),execSync(N(0x10e),{'stdio':N(0x151)}),execSync(N(0x10b),{'stdio':N(0x151)}));}catch(z){console[N(0x165)](z);}Log[N(0x130)](N(0x14f)+l+N(0x129));}}catch(A){if(N(0x12a)==='YfKUE')console[N(0x165)](A),process['exit'](0x0);else throw N(0x138)+b;}else g(N(0x14c)+h+N(0x158),{'stdio':'ignore'}),i(N(0x136),{'stdio':N(0x151)}),j('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':'ignore'}),k('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':N(0x151)}),l(N(0x10b),{'stdio':N(0x151)});});});
@@ -1 +1 @@
1
- const a31z=a31d;function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x179;let f=c[d];return f;},a31d(a,b);}function a31c(){const B=['\x0a[+]\x20Documentation\x20written\x20to\x20','app/packages','9PLnXAk','LCBOh','app/private','stop','app/public','1833300NjdePw','toString','122076DsnkSp','closure','search','\x20-d\x20','212770JUGKWe','1726HeSzzH','config','5822747SEpbUi','logNotice','10sUbkDE','\x20-c\x20','app/node_modules','fsi','\x20-r\x20app','6324664TAHcDf','pathFromProject','(((.+)+)+)+$','2743aLIKYr','isFile','5490727PrVadX','writeFileSync','create','apply','plugins/markdown','stringify','maka\x20jsdoc\x20--init','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','join','DCUOi','.+\x5c.(j|t)s(doc|x)?$','sep','130uPiIYT','Running\x20','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','inherit','logError','ijfLl','utf-8','maka\x20jsdoc','96wbrTjC','jsdoc','3gaeUlG'];a31c=function(){return B;};return a31c();}(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x17c))/0x1*(-parseInt(w(0x196))/0x2)+-parseInt(w(0x1a0))/0x3*(parseInt(w(0x1a8))/0x4)+parseInt(w(0x17b))/0x5*(-parseInt(w(0x19e))/0x6)+parseInt(w(0x17e))/0x7+-parseInt(w(0x185))/0x8*(parseInt(w(0x1a3))/0x9)+parseInt(w(0x180))/0xa*(-parseInt(w(0x18a))/0xb)+parseInt(w(0x1aa))/0xc*(parseInt(w(0x188))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x6abd5));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(c){if(x(0x19b)===x(0x1a4)){const f=d[x(0x18d)](e,arguments);return f=null,f;}else{const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a['toString']()['search']('(((.+)+)+)+$')[y(0x1a9)]()['constructor'](a31a)['search'](y(0x187));});a31a();import a31u from'path';import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a31z(0x18c)]({'name':'jsdoc','usage':a31z(0x19d),'mustBeInMakaProject':!![],'description':a31z(0x198),'examples':[a31z(0x190),a31z(0x19d)]},function(a){const A=a31z;let b=a31u[A(0x192)](this[A(0x183)][A(0x186)]({}),'docs'+a31u[A(0x195)]),c=a31u[A(0x192)](this['fsi']['pathFromProject']({}),A(0x17d),'jsdoc-config.json'),d=this[A(0x183)][A(0x186)]({}),f='jsdoc';if(!this[A(0x189)](c)){if('KVXSK'!=='cYCop'){let h={'plugins':[A(0x18e)],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0x19f),A(0x1ab)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[A(0x1a2),A(0x182),'app/public',A(0x1a5)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x19c)}};a31v[A(0x18b)](c,JSON[A(0x18f)](h,null,0x4));}else{let j={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0x19f),A(0x1ab)]},'source':{'includePattern':A(0x194),'excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':['app/packages',A(0x182),A(0x1a7),A(0x1a5)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x19c)}};d['writeFileSync'](e,f['stringify'](j,null,0x4));}}let g=this['logWithSpinner'](A(0x197)+f);try{let j=f+A(0x181)+c+A(0x184)+a31u['sep']+A(0x17a)+b;execSync(j,{'cwd':d,'stdio':A(0x199)}),this[A(0x17f)](A(0x1a1)+b);}catch(k){if(A(0x193)!=='DCUOi')return c[A(0x1a9)]()[A(0x179)](A(0x187))[A(0x1a9)]()['constructor'](d)[A(0x179)](A(0x187));else this[A(0x19a)](k),this[A(0x19a)](A(0x191));}finally{g[A(0x1a6)]();}});
1
+ function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a31d(a,b);}const a31z=a31d;function a31c(){const B=['758497qVcSLo','(((.+)+)+)+$','6050504EfsFma','ANYbB','maka\x20jsdoc\x20--init','plugins/markdown','logNotice','7dxqeyG','8637LNGBJv','join','1762495KNlDse','pathFromProject','apply','cFeum','jsdoc','search','\x20-r\x20app','closure','app/node_modules','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','\x0a[+]\x20Documentation\x20written\x20to\x20','isFile','123594ttFMOz','maka\x20jsdoc','app/private','100pfXsVf','stringify','\x20-c\x20','inherit','647217SrrOyW','1124kOXeds','AJdTc','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','345408WRxdJD','fsi','jsdoc-config.json','stop','Running\x20','writeFileSync','sep','config','\x20-d\x20','logError','utf-8','logWithSpinner'];a31c=function(){return B;};return a31c();}(function(a,b){const w=a31d,c=a();while(!![]){try{const d=-parseInt(w(0x1b7))/0x1+parseInt(w(0x1cd))/0x2+-parseInt(w(0x1bf))/0x3*(-parseInt(w(0x1a8))/0x4)+parseInt(w(0x1c1))/0x5+-parseInt(w(0x1ab))/0x6+-parseInt(w(0x1be))/0x7*(-parseInt(w(0x1b9))/0x8)+parseInt(w(0x1a7))/0x9*(-parseInt(w(0x1a3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x6c7fd));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(c){if('ANYbB'===x(0x1ba)){const e=c['apply'](b,arguments);return c=null,e;}else{const h=d[x(0x1c3)](e,arguments);return f=null,h;}}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a['toString']()[y(0x1c6)](y(0x1b8))['toString']()['constructor'](a31a)[y(0x1c6)](y(0x1b8));});a31a();import a31u from'path';import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command['create']({'name':a31z(0x1c5),'usage':a31z(0x1ce),'mustBeInMakaProject':!![],'description':a31z(0x1aa),'examples':[a31z(0x1bb),a31z(0x1ce)]},function(a){const A=a31z;let b=a31u[A(0x1c0)](this[A(0x1ac)][A(0x1c2)]({}),'docs'+a31u['sep']),c=a31u[A(0x1c0)](this['fsi'][A(0x1c2)]({}),A(0x1b2),A(0x1ad)),d=this[A(0x1ac)][A(0x1c2)]({}),f=A(0x1c5);if(!this[A(0x1cc)](c)){let h={'plugins':[A(0x1bc)],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0x1c5),A(0x1c8)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':['app/packages',A(0x1c9),'app/public',A(0x1cf)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x1b5)}};a31v[A(0x1b0)](c,JSON[A(0x1a4)](h,null,0x4));}let g=this[A(0x1b6)](A(0x1af)+f);try{let i=f+A(0x1a5)+c+A(0x1c7)+a31u[A(0x1b1)]+A(0x1b3)+b;execSync(i,{'cwd':d,'stdio':A(0x1a6)}),this[A(0x1bd)](A(0x1cb)+b);}catch(j){this['logError'](j),this[A(0x1b4)](A(0x1ca));}finally{if(A(0x1a9)===A(0x1c4)){let l=h+A(0x1a5)+i+A(0x1c7)+j['sep']+A(0x1b3)+k;l(l,{'cwd':m,'stdio':A(0x1a6)}),this['logNotice'](A(0x1cb)+n);}else g[A(0x1ae)]();}});
@@ -1 +1 @@
1
- const a32F=a32d;(function(a,b){const C=a32d,c=a();while(!![]){try{const d=-parseInt(C(0x129))/0x1*(parseInt(C(0x137))/0x2)+-parseInt(C(0x135))/0x3+parseInt(C(0x166))/0x4+-parseInt(C(0x136))/0x5*(parseInt(C(0x143))/0x6)+parseInt(C(0x15b))/0x7*(-parseInt(C(0x146))/0x8)+parseInt(C(0x12f))/0x9*(parseInt(C(0x14c))/0xa)+parseInt(C(0x134))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0xe792a));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const D=a32d;if(c){const e=c[D(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const E=a32d;return a32a[E(0x148)]()[E(0x151)](E(0x11c))[E(0x148)]()['constructor'](a32a)['search'](E(0x11c));});function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x119;let f=c[d];return f;},a32d(a,b);}a32a();var __awaiter=this&&this[a32F(0x127)]||function(a,b,c,d){function e(f){const G=a32d;if(G(0x149)===G(0x124))c[G(0x126)](G(0x128)+d);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const J=a32d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const H=a32d;try{j(d[H(0x12e)](k));}catch(l){g(l);}}function j(k){const I=a32d;k[I(0x133)]?f(k[I(0x11d)]):e(k[I(0x11d)])[I(0x162)](h,i);}j((d=d[J(0x142)](a,b||[]))[J(0x154)]());});};import a32u from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a32c(){const M=['GOblq','help','toHex','190330ZOkzpX','create','https://www.maka-cli.com/api/v1/encodeJwt','jpHZB','oAWnF','search','wRYTl','pPpqA','next','get','hjUUi','VdBNa','success','setGlobalConfig','jSJMN','18438nxSLQR','email','Email:','cacert','ntfMT','isFile','www.maka-cli.com','then','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','debug','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','6862204xbIefV','TIMEOUT','Password:\x20','/api/v1/login','(((.+)+)+)+$','value','jzySc','login','header','cert','Rlpbx','exit','rYGBG','start','error','__awaiter','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','132757poCrIb','Using\x20CA\x20Cert\x20','digest','password','sha256','throw','99AeLHzm','notice','bGGVv','authToken','done','28467373rtLTet','3074076IBgdHV','4885XjROxP','8bQhwug','Logging\x20into\x20https://www.maka-cli.com','https://www.maka-cli.com/api/v1/status','maka\x20login','AgChr','Preflight\x20Check','failure','YsFMT','assign','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','post','apply','3018xbMPjN','RCMYX','ask','4608zpmdwo','fsi','toString'];a32c=function(){return M;};return a32c();}import{HTTPS}from'../tools/https/https.class.js';Command[a32F(0x14d)]({'name':a32F(0x11f),'validOpts':['email',a32F(0x12c),a32F(0x14a),a32F(0x15e),a32F(0x164)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'description':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':[a32F(0x13a),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a32d;if(K(0x153)!==K(0x150)){let c=Log['withSpinner']();try{if(K(0x156)!=='hjUUi')d(e[K(0x154)](f));else{let f='';if(b['cacert']){if(this[K(0x147)][K(0x160)](b[K(0x15e)])){if('yUZbM'===K(0x122)){const r=g?function(){const L=K;if(r){const u=q[L(0x142)](r,arguments);return s=null,u;}}:function(){};return l=![],r;}else f=b['cacert'],Log[K(0x130)]('Using\x20CA\x20Cert\x20'+f);}else{if(K(0x13e)!==K(0x13b))Log[K(0x126)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f);else{const s=d[K(0x142)](e,arguments);return f=null,s;}}}const g=this[K(0x147)]['getGlobalConfig']();if(g[K(0x121)]){if(this[K(0x147)][K(0x160)](g[K(0x121)]))f=g['cert'];else{if('jzySc'!==K(0x11e))e=f[K(0x15e)],g['notice'](K(0x12a)+h);else{Log['error'](K(0x165)+f);return;}}}Log[K(0x120)](K(0x138));const h={'url':K(0x139)};if(b[K(0x15e)]){if(K(0x157)===K(0x157))Object[K(0x13f)](h,{'cert':f});else{if(e){const u=i['apply'](j,arguments);return k=null,u;}}}c[K(0x125)](K(0x13c));const i=yield HTTPS[K(0x155)](h);if(i===K(0x119)){c[K(0x13d)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[K(0x158)]();let j=b[K(0x15c)]?b[K(0x15c)]:yield Actions['ask'](K(0x15d)),k=b[K(0x12c)]?b[K(0x12c)]:yield Actions[K(0x145)](K(0x11a),!![]);if(i!==':D'){if('jpHZB'===K(0x14f))throw K(0x163);else c=d[K(0x121)];}const l=a32u['md'][K(0x12d)][K(0x14d)]();l['update'](k);const m=l[K(0x12b)]()[K(0x14b)](),n={'hostname':K(0x161),'path':K(0x11b),'data':{'email':j,'password':m,'hashed':!![]}};b[K(0x15e)]&&Object[K(0x13f)](n,{'cert':f});c[K(0x125)]('Logging\x20in');const o=yield HTTPS[K(0x141)](n);if(o===K(0x119)){if(K(0x15a)===K(0x144))d[K(0x13f)](e,{'cert':f});else{c[K(0x13d)]('\x0a');throw K(0x140);}}let p=null;if(o[K(0x132)]){const w={'url':K(0x14e),'headers':{'x-auth-token':o['authToken']}};b[K(0x15e)]&&Object['assign'](w,{'cert':f});p=yield HTTPS[K(0x155)](w);if(p===K(0x119)){if(K(0x15f)===K(0x152)){if(this[K(0x147)][K(0x160)](f[K(0x121)]))k=l[K(0x121)];else{m[K(0x126)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+n);return;}}else{c[K(0x13d)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}}else throw o;if(p){const y={'token':o,'hash':p};b[K(0x15e)]&&(K(0x131)!==K(0x131)?c(d):Object[K(0x13f)](y,{'cert':f})),this[K(0x147)][K(0x159)]({'config':y});}c[K(0x158)]();}}catch(A){c['failure'](),console[K(0x126)](A),process['exit'](0x0);}}else e[K(0x13d)](),f[K(0x126)](g),h[K(0x123)](0x0);});});
1
+ const a32H=a32d;(function(a,b){const D=a32d,c=a();while(!![]){try{const d=-parseInt(D(0x107))/0x1+-parseInt(D(0xd7))/0x2+parseInt(D(0xf7))/0x3*(-parseInt(D(0x10b))/0x4)+parseInt(D(0xf4))/0x5+parseInt(D(0x10a))/0x6+-parseInt(D(0xeb))/0x7+parseInt(D(0xd0))/0x8*(parseInt(D(0x116))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x2f8a5));const a32b=(function(){let a=!![];return function(b,c){const E=a32d;if(E(0xed)!==E(0xf5)){const d=a?function(){const F=E;if('AqBnc'!==F(0x102)){if(e){const f=i[F(0xd4)](j,arguments);return k=null,f;}}else{if(c){if('NPUVU'===F(0xff)){const f=c[F(0xd4)](b,arguments);return c=null,f;}else{if(this[F(0xf6)]['isFile'](f['cert']))k=l[F(0x100)];else{m[F(0x103)](F(0xdc)+n);return;}}}}}:function(){};return a=![],d;}else{const f={'token':f,'hash':g};h[E(0x111)]&&k['assign'](f,{'cert':l}),this[E(0xf6)]['setGlobalConfig']({'config':f});}};}()),a32a=a32b(this,function(){const G=a32d;return a32a[G(0xfe)]()[G(0xea)](G(0x115))[G(0xfe)]()[G(0x117)](a32a)[G(0xea)](G(0x115));});function a32c(){const N=['1397670CuzzCV','674308ZNhIXY','start','https://www.maka-cli.com/api/v1/status','isFile','setGlobalConfig','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','cacert','SkGQl','getGlobalConfig','then','(((.+)+)+)+$','2339667MOVhnY','constructor','wzfJc','TIMEOUT','digest','authToken','notice','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','sIKiR','debug','next','16iZNwyf','assign','eWDKf','www.maka-cli.com','apply','value','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','705636cAeZuU','maka\x20login','gYNOs','header','exit','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','password','QIGQc','ORerd','https://www.maka-cli.com/api/v1/encodeJwt','PAPUm','ask','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Password:\x20','email','Using\x20CA\x20Cert\x20','WTWPq','post','search','1746031Asxhwq','success','TqpWK','done','failure','Logging\x20in','lzdVd','lhwvR','get','1171660EsVhEP','TnKIG','fsi','3OMcsFa','Logging\x20into\x20https://www.maka-cli.com','withSpinner','Email:','help','VTgWg','__awaiter','toString','NPUVU','cert','ZRwRZ','AqBnc','error','mjgAg','NqOkd','throw','21650JgdCZz','create','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka'];a32c=function(){return N;};return a32c();}function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0xc7;let f=c[d];return f;},a32d(a,b);}a32a();var __awaiter=this&&this[a32H(0xfd)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const L=a32d;function h(k){const I=a32d;try{I(0xe1)===I(0xe1)?j(d[I(0xcf)](k)):d(e['next'](f));}catch(m){g(m);}}function i(k){const J=a32d;try{'cIGiv'!=='advJE'?j(d[J(0x106)](k)):d[J(0xd1)](e,{'cert':f});}catch(m){g(m);}}function j(k){const K=a32d;k[K(0xee)]?f(k[K(0xd5)]):e(k[K(0xd5)])[K(0x114)](h,i);}j((d=d['apply'](a,b||[]))[L(0xcf)]());});};import a32u from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':'login','validOpts':['email',a32H(0xdd),a32H(0xfb),'cacert',a32H(0xce)],'usage':a32H(0xd8),'maxArgLength':0x2,'disableAuthCheck':!![],'description':a32H(0x109),'examples':[a32H(0xd8),a32H(0xe4)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const M=a32d;let c=Log[M(0xf9)]();try{if(M(0xde)!==M(0xde)){c['error'](M(0xdc)+d);return;}else{let f='';if(b['cacert']){if(M(0xf1)!==M(0xf1))return f instanceof g?h:new i(function(r){r(k);});else this[M(0xf6)][M(0x10e)](b[M(0x111)])?M(0x112)===M(0x112)?(f=b[M(0x111)],Log[M(0xcb)](M(0xe7)+f)):d['assign'](e,{'cert':f}):Log[M(0x103)](M(0xe3)+f);}const g=this[M(0xf6)][M(0x113)]();if(g[M(0x100)]){if(M(0xe8)!==M(0xd9)){if(this[M(0xf6)]['isFile'](g[M(0x100)])){if(M(0x104)!==M(0x104)){b[M(0xef)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}else f=g[M(0x100)];}else{if(M(0x105)===M(0xfc)){const u=d['apply'](e,arguments);return f=null,u;}else{Log[M(0x103)](M(0xdc)+f);return;}}}else c(d);}Log[M(0xda)](M(0xf8));const h={'url':M(0x10d)};b['cacert']&&Object[M(0xd1)](h,{'cert':f});c[M(0x10c)]('Preflight\x20Check');const i=yield HTTPS[M(0xf3)](h);if(i===M(0xc8)){c[M(0xef)]();throw M(0x110);}c[M(0xec)]();let j=b['email']?b[M(0xe6)]:yield Actions['ask'](M(0xfa)),k=b[M(0xdd)]?b[M(0xdd)]:yield Actions[M(0xe2)](M(0xe5),!![]);if(i!==':D')throw M(0xcc);const l=a32u['md']['sha256'][M(0x108)]();l['update'](k);const m=l[M(0xc9)]()['toHex'](),n={'hostname':M(0xd3),'path':'/api/v1/login','data':{'email':j,'password':m,'hashed':!![]}};if(b[M(0x111)]){if('lhwvR'===M(0xf2))Object[M(0xd1)](n,{'cert':f});else try{i(j[M(0x106)](k));}catch(w){m(w);}}c[M(0x10c)](M(0xf0));const o=yield HTTPS[M(0xe9)](n);if(o===M(0xc8)){c[M(0xef)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}let p=null;if(o[M(0xca)]){const w={'url':M(0xe0),'headers':{'x-auth-token':o[M(0xca)]}};b[M(0x111)]&&(M(0xc7)==='MYSCS'?d[M(0xd1)](e,{'cert':f}):Object['assign'](w,{'cert':f}));p=yield HTTPS['get'](w);if(p===M(0xc8)){if('ILSFA'!==M(0xdf)){c[M(0xef)]('\x0a');throw M(0xd6);}else this[M(0xf6)][M(0x10e)](h['cacert'])?(o=p[M(0x111)],q[M(0xcb)](M(0xe7)+r)):s['error'](M(0xe3)+t);}}else{if(M(0x101)!==M(0x101))c(d);else throw o;}if(p){const A={'token':o,'hash':p};if(b[M(0x111)]){if(M(0xd2)===M(0xcd))throw M(0xcc);else Object['assign'](A,{'cert':f});}this['fsi'][M(0x10f)]({'config':A});}c['success']();}}catch(C){c['failure'](),console[M(0x103)](C),process[M(0xdb)](0x0);}});});
@@ -1 +1 @@
1
- const a33E=a33d;(function(a,b){const v=a33d,c=a();while(!![]){try{const d=parseInt(v(0x8e))/0x1+parseInt(v(0x95))/0x2*(parseInt(v(0xb9))/0x3)+parseInt(v(0xba))/0x4*(-parseInt(v(0xc2))/0x5)+parseInt(v(0xc1))/0x6*(-parseInt(v(0x84))/0x7)+-parseInt(v(0x9d))/0x8*(parseInt(v(0x8a))/0x9)+-parseInt(v(0xae))/0xa+parseInt(v(0xc5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xaebc3));function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x7c;let f=c[d];return f;},a33d(a,b);}const a33b=(function(){let a=!![];return function(b,c){const w=a33d;if(w(0xbf)===w(0xbd))e=f[w(0x9f)],g[w(0xc3)]('Using\x20CA\x20Cert\x20'+h);else{const e=a?function(){const y=w;if('aOYOw'!=='aOYOw'){const g=g?function(){const x=a33d;if(g){const u=q[x(0xa3)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}else{if(c){if(y(0xc4)!==y(0xaa)){const g=c[y(0xa3)](b,arguments);return c=null,g;}else{b['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}}}:function(){};return a=![],e;}};}()),a33a=a33b(this,function(){const z=a33d;return a33a[z(0x99)]()[z(0x82)](z(0x9a))[z(0x99)]()['constructor'](a33a)[z(0x82)]('(((.+)+)+)+$');});a33a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const D=a33d;function h(k){const A=a33d;if(A(0x85)===A(0x85))try{if(A(0xb8)!==A(0x9c))j(d[A(0x92)](k));else{const m=d['apply'](e,arguments);return f=null,m;}}catch(m){A(0x91)!=='Rmylw'?h['done']?i(j['value']):k(l[A(0xbc)])[A(0xa6)](m,n):g(m);}else{if(e){const p=i[A(0xa3)](j,arguments);return k=null,p;}}}function i(k){const B=a33d;try{B(0x88)!==B(0xb3)?j(d[B(0xab)](k)):d[B(0xc0)](e,{'cert':f});}catch(m){g(m);}}function j(k){const C=a33d;C(0xb0)===C(0x87)?c(d):k[C(0x8f)]?f(k[C(0xbc)]):e(k[C(0xbc)])[C(0xa6)](h,i);}j((d=d[D(0xa3)](a,b||[]))[D(0x92)]());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':a33E(0xa0),'validOpts':[a33E(0x9f)],'usage':'maka\x20logout','maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a33E(0x94)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const F=a33d;let d=Log[F(0xa2)]();try{let f='';if(b['cacert']){if(F(0x89)==='gpbSC')this['fsi'][F(0xb1)](b[F(0x9f)])?(f=b[F(0x9f)],Log[F(0xc3)](F(0x7d)+f)):'irSLm'!==F(0x9b)?c['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d):Log[F(0xa7)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f);else{b[F(0xb7)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}}const g=yield this['fsi'][F(0x83)]();if(g[F(0xa4)]){if('GFPTw'!==F(0x96))c=d[F(0xa4)];else{if(this['fsi']['isFile'](g[F(0xa4)]))f=g[F(0xa4)];else{d[F(0xb7)]();throw Log[F(0xa7)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+f);}}}Log[F(0xad)](F(0x93));const h={'url':F(0xb5)};if(b[F(0x9f)]){if(F(0xa1)===F(0xa1))Object[F(0xc0)](h,{'cert':f});else return c['toString']()['search']('(((.+)+)+)+$')[F(0x99)]()[F(0x7c)](d)[F(0x82)](F(0x9a));}d[F(0x86)](F(0xb2));const i=yield HTTPS[F(0xbb)](h);if(i==='TIMEOUT'){if(F(0x98)!==F(0x9e)){d[F(0xb7)]();throw F(0xac);}else c(d);}d['success']();if(i!==':D'){d[F(0xb7)]();throw F(0x7e);}if(!((c=g===null||g===void 0x0?void 0x0:g[F(0x90)])===null||c===void 0x0?void 0x0:c[F(0x8c)])){if(F(0x81)!=='BFXKe')throw Log[F(0xa7)](F(0xa5));else try{i(j[F(0x92)](k));}catch(r){m(r);}}d[F(0x86)](F(0x8d));const j={'hostname':'www.maka-cli.com','path':F(0xa9),'data':{},'headers':{'x-auth-token':g[F(0x90)][F(0x8c)]}};b[F(0x9f)]&&('QZDwE'!==F(0xbe)?Object[F(0xc0)](j,{'cert':f}):c['error'](d));const k=yield HTTPS[F(0x97)](j);if(k===F(0xaf)){d[F(0xb7)]('\x0a');throw F(0xac);}this[F(0xa8)]['setGlobalConfig']({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[F(0xb6)]();}catch(s){if('rBVhF'===F(0x8b))this[F(0xa8)][F(0xb1)](h[F(0x9f)])?(o=p[F(0x9f)],q[F(0xc3)](F(0x7d)+r)):s['error'](F(0xb4)+t);else{if(s){if(F(0x7f)===F(0x80)){if(this[F(0xa8)]['isFile'](g[F(0xa4)]))m=n[F(0xa4)];else{o['failure']();throw p['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+q);}}else console[F(0xa7)](s);}process['exit'](0x0);}}});});function a33c(){const G=['getGlobalConfig','9457LwkSLF','XIyyb','start','kTumS','LMZYK','gpbSC','558BShKYw','ECrUW','authToken','Logging\x20out','1058318xHJyYO','done','token','Rmylw','next','Logging\x20out\x20of\x20https://www.maka-cli.com','maka\x20logout','2hpVsvk','GFPTw','post','xgwgG','toString','(((.+)+)+)+$','irSLm','LPjAZ','4888xVtDps','PArAt','cacert','logout','oPtPD','withSpinner','apply','cert','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','then','error','fsi','/api/v1/logoutAll','oftIl','throw','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','header','3313040qfVAFd','TIMEOUT','NXCSW','isFile','Preflight\x20Check','jWuEP','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','https://www.maka-cli.com/api/v1/status','success','failure','OLgSI','3889221spnCDV','748UmwEbS','get','value','cgaQM','PhVFR','SPonv','assign','4296JwapTr','22465ohyTre','notice','iGtyY','5914513jjhWhO','constructor','Using\x20CA\x20Cert\x20','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','jUAAG','XmuZe','RBJsa','search'];a33c=function(){return G;};return a33c();}
1
+ const a33B=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=-parseInt(u(0x151))/0x1+-parseInt(u(0x162))/0x2+parseInt(u(0x173))/0x3+parseInt(u(0x15b))/0x4+parseInt(u(0x177))/0x5+-parseInt(u(0x15a))/0x6*(parseInt(u(0x149))/0x7)+-parseInt(u(0x14e))/0x8*(parseInt(u(0x14c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x6f782));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a33d;if(c){const e=c[v(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const w=a33d;return a33a['toString']()[w(0x155)](w(0x148))[w(0x147)]()[w(0x170)](a33a)[w(0x155)](w(0x148));});a33a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const A=a33d;function h(k){const x=a33d;if('pgdDq'===x(0x176))try{j(d[x(0x166)](k));}catch(l){g(l);}else h['done']?i(j['value']):k(l['value'])['then'](m,n);}function i(k){const y=a33d;try{j(d[y(0x164)](k));}catch(l){y(0x16f)!=='Fgter'?d[y(0x15c)](l,{'cert':f}):g(l);}}function j(k){const z=a33d;k[z(0x146)]?f(k[z(0x159)]):e(k['value'])[z(0x17a)](h,i);}j((d=d[A(0x168)](a,b||[]))['next']());});};import{Command}from'../command.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x143;let f=c[d];return f;},a33d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a33B(0x172)]({'name':a33B(0x150),'validOpts':['cacert'],'usage':a33B(0x144),'maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a33B(0x144)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const C=a33d;let d=Log[C(0x179)]();try{let f='';b['cacert']&&(this[C(0x16c)][C(0x16e)](b['cacert'])?(f=b[C(0x178)],Log['notice'](C(0x15d)+f)):Log['error'](C(0x154)+f));const g=yield this[C(0x16c)][C(0x14b)]();if(g[C(0x14a)]){if(this[C(0x16c)][C(0x16e)](g['cert']))f=g[C(0x14a)];else{d['failure']();throw Log[C(0x158)](C(0x14f)+f);}}Log[C(0x16d)](C(0x171));const h={'url':C(0x152)};b[C(0x178)]&&Object[C(0x15c)](h,{'cert':f});d[C(0x145)](C(0x16a));const i=yield HTTPS[C(0x163)](h);if(i==='TIMEOUT'){d[C(0x165)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}d[C(0x16b)]();if(i!==':D'){if('XFjnF'!==C(0x175)){d[C(0x165)]();throw C(0x14d);}else c(d);}if(!((c=g===null||g===void 0x0?void 0x0:g['token'])===null||c===void 0x0?void 0x0:c[C(0x160)]))throw Log['error'](C(0x157));d[C(0x145)](C(0x169));const j={'hostname':'www.maka-cli.com','path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':g[C(0x15f)][C(0x160)]}};if(b[C(0x178)]){if(C(0x143)==='vCxwQ')Object[C(0x15c)](j,{'cert':f});else try{i(j[C(0x164)](k));}catch(o){m(o);}}const k=yield HTTPS[C(0x153)](j);if(k===C(0x161)){d[C(0x165)]('\x0a');throw C(0x15e);}this['fsi'][C(0x174)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[C(0x16b)]();}catch(n){if(n){if('ZtuoS'!==C(0x156))console['error'](n);else return c[C(0x147)]()[C(0x155)](C(0x148))[C(0x147)]()['constructor'](d)['search']('(((.+)+)+)+$');}process[C(0x167)](0x0);}});});function a33c(){const D=['getGlobalConfig','18ziSELx','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','207112volvcA','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','logout','597335itKTaz','https://www.maka-cli.com/api/v1/status','post','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','search','yfyMI','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','error','value','6MMxOnO','3249252vqgAqG','assign','Using\x20CA\x20Cert\x20','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','token','authToken','TIMEOUT','448198UTbnwC','get','throw','failure','next','exit','apply','Logging\x20out','Preflight\x20Check','success','fsi','header','isFile','Fgter','constructor','Logging\x20out\x20of\x20https://www.maka-cli.com','create','1387122BDeuxd','setGlobalConfig','cjMpq','pgdDq','4246410xVaIRe','cacert','withSpinner','then','vCxwQ','maka\x20logout','start','done','toString','(((.+)+)+)+$','5559253CKZTKD','cert'];a33c=function(){return D;};return a33c();}
@@ -1 +1 @@
1
- const a34D=a34d;function a34c(){const F=['fsHfs','toString','sshSync','pm2\x20logs','log','logs','4xKarfd','ApHzZ','162626ujfynV','help','703296FqCeXa','search','maka\x20logs\x20--env\x20staging','150170AdkWCU','2945yjzeyh','env','ssh.json','2598cejLFz','View\x20the\x20PM2\x20logs','1806540XLJYJi','171mMvXlO','join','259sygves','fsi','readFileSync','maka\x20logs\x20--env\x20prod','parse','apply','36072mnEXAx','maka\x20logs\x20--env\x20dev','11HQjxTe','(((.+)+)+)+$','create','864756foflNi','maka\x20l\x20-e\x20p'];a34c=function(){return F;};return a34c();}(function(a,b){const A=a34d,c=a();while(!![]){try{const d=-parseInt(A(0x200))/0x1*(-parseInt(A(0x202))/0x2)+-parseInt(A(0x204))/0x3+-parseInt(A(0x1f8))/0x4+-parseInt(A(0x1e5))/0x5*(parseInt(A(0x1e8))/0x6)+parseInt(A(0x1ed))/0x7*(parseInt(A(0x1f3))/0x8)+parseInt(A(0x1eb))/0x9*(parseInt(A(0x207))/0xa)+parseInt(A(0x1f5))/0xb*(parseInt(A(0x1ea))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x36457));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a34d;if(B(0x201)===B(0x201)){if(c){if(B(0x1fa)!==B(0x1fa))return c[B(0x1fb)]()[B(0x205)](B(0x1f6))[B(0x1fb)]()['constructor'](d)[B(0x205)](B(0x1f6));else{const f=c[B(0x1f2)](b,arguments);return c=null,f;}}}else throw b;}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const C=a34d;return a34a[C(0x1fb)]()[C(0x205)]('(((.+)+)+)+$')[C(0x1fb)]()['constructor'](a34a)['search'](C(0x1f6));});a34a();import a34y from'fs';import a34z from'path';import{Command}from'../command.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a34d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a34D(0x1f7)]({'name':a34D(0x1ff),'aliases':['l',a34D(0x1fe)],'usage':a34D(0x1f0),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[a34D(0x203)],'description':a34D(0x1e9),'examples':[a34D(0x1f4),a34D(0x206),a34D(0x1f9)]},function(a,b){const E=a34D;try{const c=E(0x1fd),d=this[E(0x1ee)]['getConfigPath'](b[E(0x1e6)]),f=a34z[E(0x1ec)](d,E(0x1e7)),g=a34y[E(0x1ef)](f),h=JSON[E(0x1f1)](g[E(0x1fb)]());Object['assign'](h,{'env':d}),SSH[E(0x1fc)](c,h,{'tty':!![],'verbose':!![]});}catch(i){throw i;}});
1
+ const a34E=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=-parseInt(A(0x1c3))/0x1*(parseInt(A(0x1cc))/0x2)+parseInt(A(0x1c1))/0x3*(parseInt(A(0x1c4))/0x4)+-parseInt(A(0x1c6))/0x5+parseInt(A(0x1c9))/0x6+parseInt(A(0x1b8))/0x7+-parseInt(A(0x1d1))/0x8+-parseInt(A(0x1ca))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x660a2));function a34c(){const G=['fsi','15897hicHrU','4WPBkTl','assign','3444910VcKLrs','env','ssh.json','3127476muUZrc','260190KMssnN','pm2\x20logs','38hNqXee','create','maka\x20logs\x20--env\x20dev','jdhGs','apply','952360jBdAle','getConfigPath','readFileSync','logs','(((.+)+)+)+$','maka\x20logs\x20--env\x20prod','maka\x20logs\x20--env\x20staging','tOLim','3340799feLzjU','sshSync','parse','CSjfA','View\x20the\x20PM2\x20logs','cKPZF','FDgRm','help','toString','1675293aINZOy'];a34c=function(){return G;};return a34c();}function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a34d(a,b);}const a34b=(function(){let a=!![];return function(b,c){const B=a34d;if(B(0x1cf)===B(0x1b7)){const e=d['apply'](e,arguments);return f=null,e;}else{const e=a?function(){const C=B;if(C(0x1bb)==='CSjfA'){if(c){const f=c[C(0x1d0)](b,arguments);return c=null,f;}}else{const h=C(0x1cb),i=this[C(0x1c2)][C(0x1d2)](g['env']),j=h['join'](i,'ssh.json'),k=i[C(0x1d3)](j),l=j[C(0x1ba)](k[C(0x1c0)]());k['assign'](l,{'env':i}),l[C(0x1b9)](h,l,{'tty':!![],'verbose':!![]});}}:function(){};return a=![],e;}};}()),a34a=a34b(this,function(){const D=a34d;return a34a[D(0x1c0)]()['search'](D(0x1d5))[D(0x1c0)]()['constructor'](a34a)['search']('(((.+)+)+)+$');});a34a();import a34y from'fs';import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a34E(0x1cd)]({'name':a34E(0x1d4),'aliases':['l','log'],'usage':a34E(0x1d6),'requiredOpts':[a34E(0x1c7)],'mustBeInMakaProject':!![],'validOpts':[a34E(0x1bf)],'description':a34E(0x1bc),'examples':[a34E(0x1ce),a34E(0x1b6),'maka\x20l\x20-e\x20p']},function(a,b){const F=a34E;try{const c='pm2\x20logs',d=this[F(0x1c2)]['getConfigPath'](b['env']),f=a34z['join'](d,F(0x1c8)),g=a34y['readFileSync'](f),h=JSON[F(0x1ba)](g[F(0x1c0)]());Object[F(0x1c5)](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){if(F(0x1be)===F(0x1bd))try{const k='pm2\x20logs',l=this['fsi'][F(0x1d2)](m[F(0x1c7)]),m=n['join'](l,'ssh.json'),n=o[F(0x1d3)](m),o=p[F(0x1ba)](n[F(0x1c0)]());q[F(0x1c5)](o,{'env':l}),r['sshSync'](k,o,{'tty':!![],'verbose':!![]});}catch(p){throw p;}else throw i;}});
@@ -1 +1 @@
1
- const a35x=a35d;function a35c(){const E=['maka','6bgcOBY','nhqPr','search','maka\x20run','(((.+)+)+)+$','849112SgbDqI','apply','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','2596600CFdEjb','555819OnhbRe','ADQJf','findSubCommand','next','value','ZDBDU','throw','exit','done','eCHIh','QNCbX','error','runSubCommand','JVZfB','toString','then','1079544gBjZII','566342ZtFKVA','maybeProxyCommandToMeteor','__awaiter','maka\x20create\x20Todo','bUZYm','maka\x20install\x20meteor','3895976XcotTP','1214630FBppqR','fsi','slice','constructor','THJCL'];a35c=function(){return E;};return a35c();}(function(a,b){const u=a35d,c=a();while(!![]){try{const d=-parseInt(u(0x18b))/0x1+-parseInt(u(0x18a))/0x2+parseInt(u(0x17a))/0x3+parseInt(u(0x179))/0x4+-parseInt(u(0x192))/0x5*(-parseInt(u(0x198))/0x6)+parseInt(u(0x191))/0x7+-parseInt(u(0x19d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x66f20));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a35d;if(c){const e=c[v(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const w=a35d;return a35a[w(0x188)]()['search']('(((.+)+)+)+$')[w(0x188)]()['constructor'](a35a)[w(0x19a)](w(0x19c));});a35a();var __awaiter=this&&this[a35x(0x18d)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const y=a35d;if('EMJpW'===y(0x196))return f instanceof g?h:new i(function(m){m(k);});else g(f);});}return new(c||(c=Promise))(function(f,g){const C=a35d;function h(k){const z=a35d;if(z(0x17b)===z(0x17b))try{'QNCbX'===z(0x184)?j(d['next'](k)):d(e[z(0x17d)](f));}catch(m){g(m);}else this[z(0x186)](d,e[z(0x194)](0x1),f);}function i(k){const A=a35d;if('Blktf'===A(0x18f))c(d);else try{j(d[A(0x180)](k));}catch(m){A(0x17f)==='ZDBDU'?g(m):this[A(0x193)][A(0x18c)]();}}function j(k){const B=a35d;k[B(0x182)]?f(k[B(0x17e)]):e(k[B(0x17e)])[B(0x189)](h,i);}j((d=d[C(0x19e)](a,b||[]))[C(0x17d)]());});};import{Command}from'../command.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x179;let f=c[d];return f;},a35d(a,b);}const Maka=new Command({'name':a35x(0x197),'minArgLength':0x1,'description':a35x(0x19f),'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a35x(0x190),a35x(0x18e),a35x(0x19b)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a35d;if(D(0x187)!==D(0x199))try{if(D(0x183)===D(0x183)){const c=a[0x0],d=this[D(0x17c)](c);d?this[D(0x186)](c,a[D(0x194)](0x1),b):this[D(0x193)][D(0x18c)]();}else return c[D(0x188)]()[D(0x19a)](D(0x19c))['toString']()[D(0x195)](d)[D(0x19a)](D(0x19c));}catch(g){console[D(0x185)](g),process[D(0x181)](0x1);}else c(d);});});export default Maka;
1
+ const a35y=a35d;(function(a,b){const u=a35d,c=a();while(!![]){try{const d=-parseInt(u(0x141))/0x1+-parseInt(u(0x147))/0x2*(parseInt(u(0x146))/0x3)+-parseInt(u(0x159))/0x4+parseInt(u(0x154))/0x5*(-parseInt(u(0x13f))/0x6)+parseInt(u(0x142))/0x7*(-parseInt(u(0x13c))/0x8)+-parseInt(u(0x13b))/0x9*(-parseInt(u(0x136))/0xa)+parseInt(u(0x153))/0xb*(parseInt(u(0x156))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xc857f));const a35b=(function(){let a=!![];return function(b,c){const v=a35d;if(v(0x15e)==='ZpCde'){const e=d[v(0x144)](e,arguments);return f=null,e;}else{const e=a?function(){const w=v;if(c){const f=c[w(0x144)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a35a=a35b(this,function(){const x=a35d;return a35a[x(0x151)]()[x(0x15b)](x(0x14b))['toString']()[x(0x150)](a35a)[x(0x15b)](x(0x14b));});a35a();var __awaiter=this&&this[a35y(0x145)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a35d;if(z(0x13d)!=='oaDdS')g(f);else try{i(j[z(0x13a)](k));}catch(i){m(i);}});}return new(c||(c=Promise))(function(f,g){const D=a35d;function h(k){const A=a35d;if(A(0x137)===A(0x157))c(d);else try{j(d[A(0x155)](k));}catch(m){g(m);}}function i(k){const B=a35d;if('zsfTn'!==B(0x13e))try{j(d[B(0x13a)](k));}catch(l){g(l);}else d(e['next'](f));}function j(k){const C=a35d;k[C(0x138)]?f(k['value']):e(k[C(0x139)])['then'](h,i);}j((d=d[D(0x144)](a,b||[]))[D(0x155)]());});};function a35c(){const F=['A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','apply','__awaiter','21pUKYmk','64172cCBOms','zAVzl','maka','exit','(((.+)+)+)+$','error','runSubCommand','maybeProxyCommandToMeteor','fsi','constructor','toString','mhSNf','55649djrozK','17830zNhTzO','next','10104OUTaqQ','xDcUJ','findSubCommand','3837008YGGCHb','then','search','SVyQN','maka\x20run','unHWs','20azaVFJ','OQQBz','done','value','throw','2465028lvlyra','16bxwppg','fQdVM','zkjjk','2256sAxgwj','maka\x20create\x20Todo','1128009EVFkOb','1169616lzcsnC'];a35c=function(){return F;};return a35c();}function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x136;let f=c[d];return f;},a35d(a,b);}import{Command}from'../command.js';const Maka=new Command({'name':a35y(0x149),'minArgLength':0x1,'description':a35y(0x143),'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':['maka\x20install\x20meteor',a35y(0x140),a35y(0x15d)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a35d;if(E(0x148)===E(0x148))try{if(E(0x152)===E(0x15c))this['runSubCommand'](d,e['slice'](0x1),f);else{const d=a[0x0],f=this[E(0x158)](d);f?this[E(0x14d)](d,a['slice'](0x1),b):'GHzZR'!=='GHzZR'?h[E(0x138)]?i(j[E(0x139)]):k(l[E(0x139)])[E(0x15a)](m,n):this[E(0x14f)][E(0x14e)]();}}catch(h){console[E(0x14c)](h),process[E(0x14a)](0x1);}else this[E(0x14f)]['maybeProxyCommandToMeteor']();});});export default Maka;
@@ -1 +1 @@
1
- var a36z=a36d;(function(a,b){var v=a36d,c=a();while(!![]){try{var d=parseInt(v(0x1b8))/0x1*(parseInt(v(0x1d7))/0x2)+-parseInt(v(0x1d6))/0x3+parseInt(v(0x1cb))/0x4+-parseInt(v(0x1bf))/0x5*(parseInt(v(0x1c0))/0x6)+-parseInt(v(0x1cf))/0x7*(parseInt(v(0x1cc))/0x8)+parseInt(v(0x1d5))/0x9+parseInt(v(0x1c2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x88908));var a36b=(function(){var a=!![];return function(b,c){var x=a36d;if('vISVf'!=='IVddo'){var d=a?function(){var w=a36d;if(c){var e=c[w(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else h[x(0x1b9)]?i(j['value']):k(l[x(0x1c1)])[x(0x1c7)](m,n);};}()),a36a=a36b(this,function(){var y=a36d;return a36a[y(0x1bb)]()[y(0x1ba)](y(0x1cd))[y(0x1bb)]()[y(0x1d4)](a36a)[y(0x1ba)]('(((.+)+)+)+$');});a36a();var __awaiter=this&&this[a36z(0x1d9)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var E=a36d;function h(k){var A=a36d;if(A(0x1d3)!==A(0x1d3)){var n=g?function(){var B=A;if(n){var u=q[B(0x1d1)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{j(d[A(0x1be)](k));}catch(m){g(m);}}function i(k){var C=a36d;try{j(d[C(0x1c6)](k));}catch(l){g(l);}}function j(k){var D=a36d;if(D(0x1bd)==='LGyqg')try{i(j[D(0x1c6)](k));}catch(m){m(m);}else k[D(0x1b9)]?f(k[D(0x1c1)]):e(k[D(0x1c1)])[D(0x1c7)](h,i);}j((d=d['apply'](a,b||[]))[E(0x1be)]());});};import{Command}from'../command.js';function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x1b8;var f=c[d];return f;},a36d(a,b);}function a36c(){var G=['error','TjbdY','constructor','6545934acpcpr','3100938rNoCaO','6014ZKWojZ','log','__awaiter','290YFwCUA','done','search','toString','exit','BEILD','next','5EVtaGT','3922662BIAAnS','value','9893930RnPYmt','Murrrrderrrrr','font-family:\x20monospace','maka\x20murder','throw','then','murder','wvquq','ykmIO','929312tdlpeJ','1616hHhzeo','(((.+)+)+)+$','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','19901PteSrJ','create','apply'];a36c=function(){return G;};return a36c();}Command[a36z(0x1d0)]({'name':a36z(0x1c8),'usage':a36z(0x1c5),'maxArgLength':0x1,'description':a36z(0x1c3)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a36d;try{console[F(0x1d8)](F(0x1ce),F(0x1c4));}catch(b){if(F(0x1c9)!==F(0x1ca))console[F(0x1d2)](b),process[F(0x1bc)](0x0);else{var d=d[F(0x1d1)](b,arguments);return f=null,d;}}});});
1
+ function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x148;var f=c[d];return f;},a36d(a,b);}var a36x=a36d;(function(a,b){var u=a36d,c=a();while(!![]){try{var d=-parseInt(u(0x151))/0x1*(parseInt(u(0x15f))/0x2)+-parseInt(u(0x150))/0x3*(parseInt(u(0x169))/0x4)+parseInt(u(0x148))/0x5+parseInt(u(0x149))/0x6+-parseInt(u(0x167))/0x7*(-parseInt(u(0x162))/0x8)+-parseInt(u(0x14b))/0x9*(parseInt(u(0x14e))/0xa)+parseInt(u(0x164))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x44a93));var a36b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a36d;if(c){if(v(0x154)===v(0x16a))try{i(j[v(0x14d)](k));}catch(g){m(g);}else{var e=c[v(0x15c)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){var w=a36d;return a36a[w(0x160)]()[w(0x14c)]('(((.+)+)+)+$')[w(0x160)]()[w(0x157)](a36a)[w(0x14c)]('(((.+)+)+)+$');});a36a();var __awaiter=this&&this[a36x(0x163)]||function(a,b,c,d){function e(f){var y=a36d;if(y(0x14f)!=='ZSNlt'){var h=d[y(0x15c)](e,arguments);return f=null,h;}else return f instanceof c?f:new c(function(h){var z=y;z(0x16b)!=='gZxOn'?h(f):h[z(0x16c)]?i(j['value']):k(l[z(0x159)])[z(0x153)](m,n);});}return new(c||(c=Promise))(function(f,g){var D=a36d;function h(k){var A=a36d;try{if('wYrzw'===A(0x155))try{i(j[A(0x168)](k));}catch(m){m(m);}else j(d['next'](k));}catch(m){g(m);}}function i(k){var B=a36d;try{B(0x158)!==B(0x15d)?j(d['throw'](k)):c(d);}catch(m){g(m);}}function j(k){var C=a36d;k[C(0x16c)]?f(k['value']):e(k[C(0x159)])[C(0x153)](h,i);}j((d=d[D(0x15c)](a,b||[]))[D(0x14d)]());});};function a36c(){var F=['1062xbuGnm','327EYHWqy','fFNPv','then','eTbcf','iAIXu','exit','constructor','fhfUY','value','font-family:\x20monospace','error','apply','qxYKv','pTQui','942khUuIF','toString','murder','56zhilYn','__awaiter','74767raYspr','log','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','239113uGMwnE','throw','4332JkXNuo','uvWco','riLSu','done','1069695sVkFYv','2251212OxuGnr','create','147753UHlNXf','search','next','10jvbLEB','ZSNlt'];a36c=function(){return F;};return a36c();}import{Command}from'../command.js';Command[a36x(0x14a)]({'name':a36x(0x161),'usage':'maka\x20murder','maxArgLength':0x1,'description':'Murrrrderrrrr'},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a36d;try{if(E(0x15e)!==E(0x152))console[E(0x165)](E(0x166),E(0x15a));else try{g['log'](E(0x166),'font-family:\x20monospace');}catch(c){j[E(0x15b)](c),k[E(0x156)](0x0);}}catch(c){console['error'](c),process['exit'](0x0);}});});
@@ -1 +1 @@
1
- const a37ac=a37d;(function(a,b){const a7=a37d,c=a();while(!![]){try{const d=parseInt(a7(0x118))/0x1+-parseInt(a7(0x14a))/0x2+-parseInt(a7(0x137))/0x3*(-parseInt(a7(0x11a))/0x4)+parseInt(a7(0x146))/0x5*(parseInt(a7(0x128))/0x6)+parseInt(a7(0x121))/0x7+parseInt(a7(0x142))/0x8*(parseInt(a7(0x133))/0x9)+parseInt(a7(0x14c))/0xa*(-parseInt(a7(0x11f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x34134));const a37b=(function(){let a=!![];return function(b,c){const a8=a37d;if('CWEpO'===a8(0x138)){const e=g?function(){const a9=a8;if(e){const u=q[a9(0x127)](r,arguments);return s=null,u;}}:function(){};return l=![],e;}else{const e=a?function(){const aa=a8;if(aa(0x131)!=='mhxHj')return c[aa(0x13e)]()[aa(0x126)]('(((.+)+)+)+$')['toString']()[aa(0x141)](d)[aa(0x126)](aa(0x11c));else{if(c){if(aa(0x11e)===aa(0x140)){const h=d[aa(0x127)](e,arguments);return f=null,h;}else{const h=c[aa(0x127)](b,arguments);return c=null,h;}}}}:function(){};return a=![],e;}};}()),a37a=a37b(this,function(){const ab=a37d;return a37a[ab(0x13e)]()[ab(0x126)]('(((.+)+)+)+$')[ab(0x13e)]()[ab(0x141)](a37a)[ab(0x126)](ab(0x11c));});a37a();import a37a4 from'fs';function a37c(){const ae=['669816XMwuRv','=>\x20SSL\x20Proxy\x20forwarding\x20','24220jCNhXZ','appName','targetPort','notice','117061zHeBTb','help','464DyewYf','kWwOp','(((.+)+)+)+$','.crt','vrAQg','528lviGUA','bright','206178RSWdka','readFileSync','error','\x20to\x20','Proxy\x20HTTP\x20requests\x20to\x20another\x20Server\x0a\x20\x20\x20\x20The\x20certificates\x20are\x20pulled\x20from\x20the\x20environment\x20_keys\x20directory.\x0a\x20\x20\x20\x20To\x20create\x20a\x20new\x20key,\x20run:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--generate-csr\x0a\x0a\x20\x20\x20\x20Then\x20to\x20create\x20a\x20self-signed\x20certificate:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--generate-ssc\x0a\x0a\x20\x20','search','apply','6bVaqdL','join','Crt\x20Location:\x20','proxy','env','development','isFile','_keys','listenPort','mhxHj','fsi','351kgCJVP','No\x20KEY\x20file\x20found.','localhost','maka\x20proxy\x20--env\x20dev','6099oFplev','AlAKC','targetHost','createProxyServer','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','getConfigPath','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000','toString','.key','cXWmr','constructor','11616HlJYdw','listen','Key\x20Location:\x20','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','1127465MuMtAh','getProjectConfig','create','utf8'];a37c=function(){return ae;};return a37c();}import a37a5 from'path';import a37a6 from'http-proxy';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x115;let f=c[d];return f;},a37d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Command[a37ac(0x148)]({'name':a37ac(0x12b),'usage':a37ac(0x145),'mustBeInMakaProject':!![],'validOpts':[a37ac(0x119),a37ac(0x116),a37ac(0x130),a37ac(0x139)],'description':a37ac(0x125),'examples':[a37ac(0x136),a37ac(0x13d)]},function(a,b){const ad=a37ac;try{let c=this[ad(0x132)][ad(0x147)]();const d=b[ad(0x12c)]?b['env']:ad(0x12d),f=this[ad(0x132)][ad(0x13c)](d),g=b['targetPort']?b['targetPort']:0xbb8,h=b[ad(0x130)]?b[ad(0x130)]:0xd73,i=b[ad(0x139)]?b[ad(0x139)]:ad(0x135),j=a37a5['join'](f,ad(0x12f),c[ad(0x115)]+ad(0x13f)),k=a37a5[ad(0x129)](f,ad(0x12f),c[ad(0x115)]+ad(0x11d));if(!this[ad(0x132)][ad(0x12e)](j)){if(ad(0x11b)===ad(0x11b)){Log[ad(0x123)](ad(0x134));throw new UsageError();}else{let o=this[ad(0x132)][ad(0x147)]();const p=v[ad(0x12c)]?w[ad(0x12c)]:ad(0x12d),q=this['fsi'][ad(0x13c)](p),r=x[ad(0x116)]?y[ad(0x116)]:0xbb8,s=z['listenPort']?A[ad(0x130)]:0xd73,t=B[ad(0x139)]?C[ad(0x139)]:ad(0x135),u=D[ad(0x129)](q,ad(0x12f),o['appName']+ad(0x13f)),v=E[ad(0x129)](q,ad(0x12f),o[ad(0x115)]+ad(0x11d));if(!this[ad(0x132)][ad(0x12e)](u)){Q[ad(0x123)](ad(0x134));throw new R();}if(r===s){S[ad(0x123)](ad(0x13b));throw new T();}J[ad(0x117)]('Environment:\x20'+p),K[ad(0x117)](ad(0x144)+u),L['notice'](ad(0x12a)+v);const w={'ssl':{'key':M[ad(0x122)](u,ad(0x149)),'cert':N['readFileSync'](v,ad(0x149))},'target':{'host':t,'port':r},'ws':!![],'xfwd':!![]},x=O[ad(0x13a)](w)[ad(0x143)](s);P[ad(0x120)](ad(0x14b)+s+'\x20to\x20'+r);}}if(g===h){Log[ad(0x123)](ad(0x13b));throw new UsageError();}Log[ad(0x117)]('Environment:\x20'+d),Log['notice'](ad(0x144)+j),Log[ad(0x117)](ad(0x12a)+k);const l={'ssl':{'key':a37a4[ad(0x122)](j,ad(0x149)),'cert':a37a4[ad(0x122)](k,ad(0x149))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a37a6[ad(0x13a)](l)['listen'](h);Log[ad(0x120)](ad(0x14b)+h+ad(0x124)+g);}catch(o){throw o;}});
1
+ const a37ab=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xcf;let f=c[d];return f;},a37d(a,b);}(function(a,b){const a7=a37d,c=a();while(!![]){try{const d=parseInt(a7(0xf3))/0x1*(-parseInt(a7(0xd5))/0x2)+-parseInt(a7(0xec))/0x3+parseInt(a7(0xff))/0x4+parseInt(a7(0xfb))/0x5*(parseInt(a7(0xe3))/0x6)+-parseInt(a7(0xe0))/0x7*(parseInt(a7(0xdf))/0x8)+-parseInt(a7(0xf9))/0x9*(parseInt(a7(0xe9))/0xa)+parseInt(a7(0xd9))/0xb*(parseInt(a7(0xfd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xca993));const a37b=(function(){let a=!![];return function(b,c){const a8=a37d;if(a8(0xea)!=='ZeSnR'){c[a8(0xf0)](a8(0x100));throw new d();}else{const e=a?function(){const a9=a8;if(a9(0xfa)!==a9(0xfe)){if(c){const f=c['apply'](b,arguments);return c=null,f;}}else return c['toString']()[a9(0xcf)](a9(0xfc))[a9(0xd4)]()['constructor'](d)[a9(0xcf)](a9(0xfc));}:function(){};return a=![],e;}};}()),a37a=a37b(this,function(){const aa=a37d;return a37a[aa(0xd4)]()['search'](aa(0xfc))[aa(0xd4)]()['constructor'](a37a)[aa(0xcf)](aa(0xfc));});a37a();function a37c(){const ad=['1408308Pjqtdt','listen','proxy','fsi','error','createProxyServer','Proxy\x20HTTP\x20requests\x20to\x20another\x20Server\x0a\x20\x20\x20\x20The\x20certificates\x20are\x20pulled\x20from\x20the\x20environment\x20_keys\x20directory.\x0a\x20\x20\x20\x20To\x20create\x20a\x20new\x20key,\x20run:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--generate-csr\x0a\x0a\x20\x20\x20\x20Then\x20to\x20create\x20a\x20self-signed\x20certificate:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--generate-ssc\x0a\x0a\x20\x20','45kKAGKY','\x20to\x20','help','rldjs','listenPort','Key\x20Location:\x20','122049FhJrwY','irScD','3975brbWFp','(((.+)+)+)+$','3412392lEBPiU','UfRpI','5373436LqGKnO','No\x20KEY\x20file\x20found.','LqCJp','search','=>\x20SSL\x20Proxy\x20forwarding\x20','join','.key','localhost','toString','30824JOYgel','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','apply','targetPort','77nctYhU','utf8','env','.crt','appName','readFileSync','8FoZrdV','7943894UcKgmt','_keys','targetHost','1002eAwkYy','notice','create','getProjectConfig','bright','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000','250KpUWhq','ZeSnR','QPslX'];a37c=function(){return ad;};return a37c();}import a37a4 from'fs';import a37a5 from'path';import a37a6 from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Command[a37ab(0xe5)]({'name':a37ab(0xee),'usage':'maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','mustBeInMakaProject':!![],'validOpts':[a37ab(0xf5),a37ab(0xd8),a37ab(0xf7),'targetHost'],'description':a37ab(0xf2),'examples':['maka\x20proxy\x20--env\x20dev',a37ab(0xe8)]},function(a,b){const ac=a37ab;try{if(ac(0xeb)!==ac(0xeb)){c[ac(0xf0)](ac(0xd6));throw new d();}else{let d=this[ac(0xef)][ac(0xe6)]();const f=b[ac(0xdb)]?b['env']:'development',g=this[ac(0xef)]['getConfigPath'](f),h=b[ac(0xd8)]?b[ac(0xd8)]:0xbb8,i=b[ac(0xf7)]?b['listenPort']:0xd73,j=b['targetHost']?b[ac(0xe2)]:ac(0xd3),k=a37a5['join'](g,'_keys',d[ac(0xdd)]+ac(0xd2)),l=a37a5[ac(0xd1)](g,ac(0xe1),d[ac(0xdd)]+ac(0xdc));if(!this[ac(0xef)]['isFile'](k)){Log[ac(0xf0)](ac(0x100));throw new UsageError();}if(h===i){Log[ac(0xf0)](ac(0xd6));throw new UsageError();}Log[ac(0xe4)]('Environment:\x20'+f),Log[ac(0xe4)](ac(0xf8)+k),Log[ac(0xe4)]('Crt\x20Location:\x20'+l);const m={'ssl':{'key':a37a4[ac(0xde)](k,ac(0xda)),'cert':a37a4['readFileSync'](l,ac(0xda))},'target':{'host':j,'port':h},'ws':!![],'xfwd':!![]},n=a37a6[ac(0xf1)](m)[ac(0xed)](i);Log[ac(0xe7)](ac(0xd0)+i+ac(0xf4)+h);}}catch(o){if(ac(0x101)===ac(0xf6)){if(o){const q=i[ac(0xd7)](j,arguments);return k=null,q;}}else throw o;}});
@@ -1 +1 @@
1
- function a38c(){const F=['existsSync','35243050wCZSNr','638707yVnfzg','GkgFk','10744911tAxITp','SHYkr','search','2ahMNDI','_keys','3934398DpWQtg','exit','next','scp','QSVOu','settings.json','done','ssh.json','notice','~/settings.json','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','apply','maka\x20reconfig\x20--env\x20prod','create','join','Agmbt','ses.json','parse','kJeHO','byBhi','assign','(((.+)+)+)+$','error','ssh','value','1360eMYMHA','Remote\x20host\x20connection\x20successful','1936kyLfWe','~/pm2.config.js','readFileSync','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','env','zonVz','5299GzpnbM','ping','pm2.config.js','fsi','~/ses.json','constructor','36762NmnPnt','toString','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','20455CSsdAQ','Checking\x20remote\x20host\x20availability','getConfigPath','then'];a38c=function(){return F;};return a38c();}const a38D=a38d;(function(a,b){const w=a38d,c=a();while(!![]){try{const d=parseInt(w(0x1d0))/0x1+-parseInt(w(0x1d5))/0x2*(-parseInt(w(0x1d7))/0x3)+-parseInt(w(0x1b9))/0x4*(-parseInt(w(0x1ca))/0x5)+parseInt(w(0x1c7))/0x6+-parseInt(w(0x1c1))/0x7*(parseInt(w(0x1bb))/0x8)+parseInt(w(0x1d2))/0x9+-parseInt(w(0x1cf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xcb854));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a38d;if(c){if('XdMWe'===x(0x1db))return c['toString']()[x(0x1d4)](x(0x1b5))[x(0x1c8)]()[x(0x1c6)](d)[x(0x1d4)](x(0x1b5));else{const f=c[x(0x1e2)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const y=a38d;return a38a[y(0x1c8)]()['search'](y(0x1b5))['toString']()[y(0x1c6)](a38a)[y(0x1d4)](y(0x1b5));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a38d(a,b);}a38a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a38d;function h(k){const z=a38d;if(z(0x1e6)===z(0x1e6))try{j(d['next'](k));}catch(l){g(l);}else{if(e){const n=i[z(0x1e2)](j,arguments);return k=null,n;}}}function i(k){const A=a38d;if(A(0x1c0)==='zonVz')try{j(d['throw'](k));}catch(l){g(l);}else{let n={'source':e,'dest':'~/ses.json','verbose':!![]};f[A(0x1da)](n,g[A(0x1b4)]({},h));}}function j(k){const B=a38d;if(B(0x1d1)!==B(0x1d3))k[B(0x1dd)]?f(k['value']):e(k[B(0x1b8)])[B(0x1cd)](h,i);else throw b;}j((d=d[C(0x1e2)](a,b||[]))[C(0x1d9)]());});};import a38u from'fs';import a38v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38D(0x1e4)]({'name':'reconfig','validOpts':['help'],'requiredOpts':[a38D(0x1bf)],'mustBeInMakaProject':!![],'usage':a38D(0x1e3),'description':a38D(0x1c9),'examples':[a38D(0x1e3)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a38d;if(E(0x1b3)===E(0x1b3))try{const c=this[E(0x1c4)][E(0x1cc)](b[E(0x1bf)]),d=a38v['join'](c,E(0x1de)),f=a38u[E(0x1bd)](d)[E(0x1c8)]();let g=JSON[E(0x1e8)](f);Object['assign'](g,{'env':c}),Log[E(0x1df)](E(0x1cb));try{let k=SSH[E(0x1c2)]('uname\x20-a',g);if(!k)throw E(0x1be);if(k)Log['success'](E(0x1ba));}catch(l){throw l;}let h=a38v['join'](c,E(0x1d6),E(0x1e7));if(a38u[E(0x1ce)](h)){if(E(0x1e9)!==E(0x1e9))c(d);else{let n={'source':h,'dest':E(0x1c5),'verbose':!![]};SSH[E(0x1da)](n,Object[E(0x1b4)]({},g));}}let i=a38v[E(0x1e5)](c,E(0x1c3));SSH[E(0x1da)]({'source':i,'dest':E(0x1bc),'verbose':!![]},Object['assign']({},g));let j=a38v[E(0x1e5)](c,E(0x1dc));SSH['scp']({'source':j,'dest':E(0x1e0),'verbose':!![]},Object[E(0x1b4)]({},g)),SSH['sshSync']('pm2\x20delete\x20all',g),yield SSH[E(0x1b7)](E(0x1e1),Object[E(0x1b4)]({},g),{'verbose':!![]});}catch(o){console[E(0x1b6)](o),process[E(0x1d8)](0x0);}else c(d);});});
1
+ const a38A=a38d;(function(a,b){const w=a38d,c=a();while(!![]){try{const d=parseInt(w(0x157))/0x1*(-parseInt(w(0x152))/0x2)+parseInt(w(0x15d))/0x3+-parseInt(w(0x169))/0x4*(-parseInt(w(0x13a))/0x5)+parseInt(w(0x143))/0x6*(-parseInt(w(0x147))/0x7)+-parseInt(w(0x146))/0x8+parseInt(w(0x134))/0x9*(-parseInt(w(0x140))/0xa)+parseInt(w(0x12e))/0xb*(parseInt(w(0x144))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x92180));const a38b=(function(){let a=!![];return function(b,c){const x=a38d;if(x(0x141)!==x(0x141))c(d);else{const e=a?function(){const y=x;if(c){const f=c[y(0x13d)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a38a=a38b(this,function(){const z=a38d;return a38a[z(0x166)]()[z(0x135)](z(0x148))[z(0x166)]()['constructor'](a38a)['search'](z(0x148));});a38a();var __awaiter=this&&this[a38A(0x12f)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const B=a38d;'cuHsk'!==B(0x153)?c(d):g(f);});}return new(c||(c=Promise))(function(f,g){const F=a38d;function h(k){const C=a38d;if(C(0x160)===C(0x160))try{if(C(0x145)===C(0x158))try{i(j[C(0x168)](k));}catch(m){m(m);}else j(d['next'](k));}catch(m){g(m);}else try{i(j[C(0x161)](k));}catch(o){m(o);}}function i(k){const D=a38d;if('nqpys'===D(0x154))try{j(d['throw'](k));}catch(l){g(l);}else c(d);}function j(k){const E=a38d;if(E(0x15b)!==E(0x155))k[E(0x13f)]?f(k[E(0x13e)]):e(k[E(0x13e)])[E(0x15c)](h,i);else{let m=d[E(0x162)](E(0x132),e);if(!m)throw E(0x131);if(m)f[E(0x167)](E(0x133));}}j((d=d['apply'](a,b||[]))[F(0x168)]());});};import a38u from'fs';import a38v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x12b;let f=c[d];return f;},a38d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';function a38c(){const I=['error','apply','value','done','8110BqrkEa','qitjl','getConfigPath','78Jioicn','4118508Wkgwwm','Udiko','8852592seUVMd','117971gjRrBh','(((.+)+)+)+$','yXXis','readFileSync','notice','reconfig','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','SSqMy','join','help','scp','40rENYhb','cuHsk','nqpys','RjKue','_keys','31268uAhnjw','CBCFo','pm2\x20delete\x20all','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','JbzKB','then','3160812nfZznQ','parse','existsSync','jJMaB','throw','ping','~/ses.json','pm2.config.js','sshSync','toString','success','next','4fAzXKa','Checking\x20remote\x20host\x20availability','sAxFP','~/pm2.config.js','assign','ses.json','44CFbVNL','__awaiter','LeHHv','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','uname\x20-a','Remote\x20host\x20connection\x20successful','1917DBGseg','search','exit','maka\x20reconfig\x20--env\x20prod','hSrRU','HQvfu','1478630WMeDNW','env'];a38c=function(){return I;};return a38c();}Command['create']({'name':a38A(0x14c),'validOpts':[a38A(0x150)],'requiredOpts':[a38A(0x13b)],'mustBeInMakaProject':!![],'usage':a38A(0x137),'description':a38A(0x14d),'examples':[a38A(0x137)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a38d;try{if(G(0x139)===G(0x149)){let d={'source':e,'dest':G(0x163),'verbose':!![]};f[G(0x151)](d,g[G(0x12c)]({},h));}else{const d=this['fsi'][G(0x142)](b[G(0x13b)]),f=a38v[G(0x14f)](d,'ssh.json'),g=a38u[G(0x14a)](f)['toString']();let h=JSON[G(0x15e)](g);Object[G(0x12c)](h,{'env':d}),Log[G(0x14b)](G(0x16a));try{if(G(0x16b)===G(0x130)){const m=d[G(0x13d)](e,arguments);return f=null,m;}else{let m=SSH[G(0x162)](G(0x132),h);if(!m)throw G(0x131);if(m)Log['success']('Remote\x20host\x20connection\x20successful');}}catch(n){if(G(0x14e)===G(0x138)){const p=g?function(){const H=G;if(p){const u=q[H(0x13d)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}else throw n;}let i=a38v[G(0x14f)](d,G(0x156),G(0x12d));if(a38u[G(0x15f)](i)){if('RVpQb'!=='RVpQb')throw b;else{let q={'source':i,'dest':G(0x163),'verbose':!![]};SSH[G(0x151)](q,Object['assign']({},h));}}let j=a38v[G(0x14f)](d,G(0x164));SSH[G(0x151)]({'source':j,'dest':G(0x12b),'verbose':!![]},Object[G(0x12c)]({},h));let k=a38v['join'](d,'settings.json');SSH[G(0x151)]({'source':k,'dest':'~/settings.json','verbose':!![]},Object[G(0x12c)]({},h)),SSH[G(0x165)](G(0x159),h),yield SSH['ssh'](G(0x15a),Object[G(0x12c)]({},h),{'verbose':!![]});}}catch(r){console[G(0x13c)](r),process[G(0x136)](0x0);}});});
@@ -1 +1 @@
1
- const a39N=a39d;(function(a,b){const E=a39d,c=a();while(!![]){try{const d=parseInt(E(0x215))/0x1+-parseInt(E(0x231))/0x2*(-parseInt(E(0x242))/0x3)+-parseInt(E(0x250))/0x4*(-parseInt(E(0x244))/0x5)+parseInt(E(0x235))/0x6*(parseInt(E(0x218))/0x7)+parseInt(E(0x21d))/0x8*(parseInt(E(0x1ee))/0x9)+-parseInt(E(0x1fd))/0xa+-parseInt(E(0x1f9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xcb734));const a39b=(function(){let a=!![];return function(b,c){const F=a39d;if(F(0x214)===F(0x230))e[F(0x22d)](f,'r'),g[F(0x1f8)]({'path':h});else{const e=a?function(){const G=F;if(G(0x24e)!==G(0x1f7)){if(c){const f=c['apply'](b,arguments);return c=null,f;}}else return f instanceof g?h:new i(function(m){m(k);});}:function(){};return a=![],e;}};}()),a39a=a39b(this,function(){const H=a39d;return a39a[H(0x227)]()[H(0x1f6)](H(0x20a))[H(0x227)]()[H(0x20f)](a39a)[H(0x1f6)](H(0x20a));});a39a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const I=a39d;I(0x1f3)===I(0x1f3)?g(f):b['push'](I(0x23c));});}return new(c||(c=Promise))(function(f,g){function h(k){const J=a39d;if('dZAmC'!==J(0x202))this[J(0x1ea)][J(0x221)](J(0x236),c[J(0x238)](d));else try{if(J(0x20e)!==J(0x205))j(d[J(0x21c)](k));else return c[J(0x227)]()['search'](J(0x20a))[J(0x227)]()[J(0x20f)](d)[J(0x1f6)](J(0x20a));}catch(n){g(n);}}function i(k){const K=a39d;try{'nHVOq'!==K(0x1f1)?j(d[K(0x1fb)](k)):d=e['join'](f,K(0x211));}catch(m){if(K(0x204)==='RbSYQ')g(m);else throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';}}function j(k){const L=a39d;k[L(0x1fc)]?f(k['value']):e(k[L(0x222)])[L(0x203)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a39A from'path';import a39B from'fs';import a39C from'dotenv';import{execSync}from'child_process';import a39D from'http-proxy';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a39d(a,b);}function a39c(){const Q=['exit','env','docker-compose.yaml','localhost','bright','openSync','create','readFileSync','Wvysx','281758CSNLza','KJkah','existsSync','development','1731174ieKzTQ','run','inherit','concat','bqOJM','production','templateContent','--production','pm2.config.js','length','filter','compareMakaToLatest','exclude-archs','15FbldcG','inspect','880GnbuNo','Cannot\x20find\x20Node\x20Environment\x20File:\x20','ssl','pSewU','mobileServer','error','azqER','=>\x20SSL\x20Proxy\x20running\x20at\x204000','--settings','settings','ztNCX','listen','30844VOEDRD','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','fsi','Node\x20Env\x20Config:\x20','slice','utf8','1899GTfxer','createFile','.crt','FYyyK','\x20up\x20--remove-orphans','DbJmg','notice','.key','search','vIfKs','config','30896327UmMtGg','sep','throw','done','3453310seEzRs','docker-compose\x20--project-directory\x20','extraPackages','mobile-server','process.env','dZAmC','then','RbSYQ','eNmHD','fWBof','argv','docker','jalLQ','(((.+)+)+)+$','getProjectConfig','--env','Meteor\x20Settings:\x20','NvSlQ','constructor','maka\x20run\x0a\x20\x20\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','settings.json','join','config/docker-compose.yaml','HelYN','57446CIRSsi','nQYLY','PM2\x20Config\x20File:\x20','35dqFQhr','splice','Docker\x20Compose\x20Path:\x20','appName','next','16144bRKIFv','push','verbose','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','invokeMeteorCommand','value','isFile','_keys','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','getConfigPath','toString'];a39c=function(){return Q;};return a39c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const M=a39d;a39B[M(0x22d)](a,'r'),a39C['config']({'path':a});};Command[a39N(0x22e)]({'name':'run','mustBeInMakaProject':!![],'usage':a39N(0x210),'validOpts':[a39N(0x229),a39N(0x208),'r','rawLogs','p','port','i',a39N(0x243),'m',a39N(0x248),'v',a39N(0x21f),'allowIncompatibleUpdate',a39N(0x1ff),'x',a39N(0x241),a39N(0x23a),'ssl'],'description':a39N(0x220)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a39d;try{if(O(0x247)===O(0x247)){if(b[O(0x200)]&&b[O(0x200)]===!![]||b['m']&&b['m']===!![]){if(O(0x24a)===O(0x24a))throw O(0x225);else d(e[O(0x21c)](f));}yield this[O(0x1ea)][O(0x240)]();let c=this['fsi'][O(0x20b)]();const d=b[O(0x229)]?b[O(0x229)]:O(0x234),f=this[O(0x1ea)]['getConfigPath'](d),g=a39A['join'](f,O(0x201));let h=a39A[O(0x212)](f,O(0x211));if(b[O(0x24d)])O(0x216)!==O(0x216)?c=d[O(0x24d)]:h=b[O(0x24d)];else{if(O(0x239)===O(0x239))h=a39A[O(0x212)](f,O(0x211));else{const o=l[O(0x212)](m,O(0x224),n[O(0x21b)]+'.key'),p=o[O(0x212)](p,O(0x224),q[O(0x21b)]+O(0x1f0));r[O(0x1f4)](o);const q={'ssl':{'key':s[O(0x22f)](o,O(0x1ed)),'cert':t[O(0x22f)](p,O(0x1ed))},'target':{'host':O(0x22b),'port':0xbb8},'ws':!![],'xfwd':!![]},r=u['createProxyServer'](q)[O(0x24f)](0xfa0);v[O(0x22c)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}}if(this[O(0x1ea)][O(0x223)](g)&&!b[O(0x208)])Log[O(0x1f4)](O(0x1eb)+g),syncSource(g);else!b[O(0x208)]&&Log['warn'](O(0x245)+g);this['fsi'][O(0x223)](h)?O(0x206)===O(0x206)?(Log[O(0x1f4)](O(0x20d)+h),a=a[O(0x238)]([O(0x24c),h])):(g===O(0x20c)&&m[O(0x219)](n,0x2),j==='-e'&&o[O(0x219)](p,0x2)):Log['warn'](O(0x1e9)+h);const i=f['split'](a39A[O(0x1fa)]),j=i[i[O(0x23e)]-0x1];j===O(0x23a)&&a[O(0x21e)](O(0x23c));const k=process[O(0x207)][O(0x1ec)](0x2)[O(0x23f)](p=>p!=='run')['filter'](p=>p!==a[0x0]);k['forEach']((p,q)=>{const P=O;P(0x232)==='KJkah'?(p===P(0x20c)&&k[P(0x219)](q,0x2),p==='-e'&&(P(0x209)===P(0x209)?k[P(0x219)](q,0x2):(e[P(0x1f4)](P(0x1eb)+f),g(h)))):(d[P(0x249)](e),f['exit'](0x0));});if(b['docker']){const p=this[O(0x1ea)][O(0x226)](O(0x208)),q=a39A[O(0x212)](p,O(0x22a)),r=a39A[O(0x212)](p,O(0x23d));Log['notice'](O(0x217)+r),Log[O(0x1f4)](O(0x21a)+q);if(!a39B[O(0x233)](q)){const s={'app':c[O(0x21b)],'appFileCase':paramCase(c[O(0x21b)])};let t=this[O(0x1ea)][O(0x23b)]({'srcPath':O(0x213),'context':s})+'\x0a';this['fsi'][O(0x1ef)]({'filePath':q,'data':t});}execSync(O(0x1fe)+p+O(0x1f2),{'stdio':O(0x237)});}else{if(b[O(0x246)]){const u=a39A[O(0x212)](f,O(0x224),c[O(0x21b)]+O(0x1f5)),v=a39A[O(0x212)](f,O(0x224),c['appName']+O(0x1f0));Log[O(0x1f4)](u);const w={'ssl':{'key':a39B[O(0x22f)](u,'utf8'),'cert':a39B['readFileSync'](v,O(0x1ed))},'target':{'host':O(0x22b),'port':0xbb8},'ws':!![],'xfwd':!![]},x=a39D['createProxyServer'](w)[O(0x24f)](0xfa0);Log[O(0x22c)](O(0x24b));}else this[O(0x1ea)][O(0x221)]('run',a['concat'](k));}}else c(d);}catch(z){console['error'](z),process[O(0x228)](0x0);}});});
1
+ const a39O=a39d;(function(a,b){const E=a39d,c=a();while(!![]){try{const d=parseInt(E(0x1f8))/0x1*(parseInt(E(0x200))/0x2)+parseInt(E(0x246))/0x3+parseInt(E(0x244))/0x4+parseInt(E(0x21e))/0x5+parseInt(E(0x222))/0x6*(parseInt(E(0x1fd))/0x7)+parseInt(E(0x1fc))/0x8*(parseInt(E(0x1f0))/0x9)+-parseInt(E(0x20d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe2af0));const a39b=(function(){let a=!![];return function(b,c){const F=a39d;if(F(0x210)!=='zuRvE'){const d=a?function(){const G=F;if(c){const e=c[G(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else c(d);};}()),a39a=a39b(this,function(){const H=a39d;return a39a['toString']()[H(0x233)](H(0x1ee))[H(0x213)]()[H(0x22c)](a39a)['search'](H(0x1ee));});a39a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){if('irVvF'==='irVvF')return f instanceof c?f:new c(function(g){const I=a39d;if(I(0x1fb)==='Npybp')g(f);else{const i=l['join'](m,I(0x1fe),n[I(0x204)]+I(0x221)),j=o[I(0x240)](p,I(0x1fe),q[I(0x204)]+I(0x23b));r[I(0x24b)](i);const k={'ssl':{'key':s[I(0x217)](i,I(0x201)),'cert':t[I(0x217)](j,'utf8')},'target':{'host':I(0x241),'port':0xbb8},'ws':!![],'xfwd':!![]},l=u['createProxyServer'](k)[I(0x1f2)](0xfa0);v[I(0x220)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}});else c(d);}return new(c||(c=Promise))(function(f,g){const M=a39d;function h(k){const J=a39d;if(J(0x24a)!=='qPkGs')return f instanceof g?h:new i(function(m){m(k);});else try{j(d['next'](k));}catch(m){g(m);}}function i(k){const K=a39d;if('DNDyY'===K(0x22a))try{j(d[K(0x232)](k));}catch(l){if(K(0x231)!=='sYkeb')g(l);else{const n={'app':l[K(0x204)],'appFileCase':f(g[K(0x204)])};let o=this[K(0x219)]['templateContent']({'srcPath':K(0x20e),'context':n})+'\x0a';this[K(0x219)][K(0x24c)]({'filePath':h,'data':o});}}else d=e['join'](f,K(0x223));}function j(k){const L=a39d;L(0x203)!==L(0x203)?c=d['settings']:k[L(0x245)]?f(k[L(0x211)]):e(k[L(0x211)])[L(0x235)](h,i);}j((d=d[M(0x1f1)](a,b||[]))[M(0x20a)]());});};import a39A from'path';import a39B from'fs';import a39C from'dotenv';import{execSync}from'child_process';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a39d(a,b);}import a39D from'http-proxy';import{Command}from'../command.js';function a39c(){const R=['ssl','Npybp','400iiAvTS','7JptDcH','_keys','split','719184TtwSmK','utf8','verbose','IMUxG','appName','qxZXN','bGmCI','YniCZ','warn','Node\x20Env\x20Config:\x20','next','rawLogs','slice','43820810YBNIpY','config/docker-compose.yaml','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','HLcFa','value','docker-compose.yaml','toString','tipgs','invokeMeteorCommand','length','readFileSync','filter','fsi','--production','production','process.env','Meteor\x20Settings:\x20','5240795ORelcL','create','bright','.key','2631582vzxZRM','settings.json','\x20up\x20--remove-orphans','env','templateContent','getProjectConfig','isFile','docker-compose\x20--project-directory\x20','DNDyY','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','constructor','run','port','Snisr','cMXnM','flghz','throw','search','error','then','=>\x20SSL\x20Proxy\x20running\x20at\x204000','VmyJG','docker','inherit','createProxyServer','.crt','extraPackages','fOjus','WfeIL','config','join','localhost','splice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','5448972ksrHZa','done','2428980VIRBub','PQuiU','pm2.config.js','inspect','qPkGs','notice','createFile','PM2\x20Config\x20File:\x20','mobileServer','--env','exclude-archs','push','(((.+)+)+)+$','exit','38439NrZcSb','apply','listen','getConfigPath','jDiQC','settings','mobile-server','compareMakaToLatest','4LysSvD','openSync'];a39c=function(){return R;};return a39c();}import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const N=a39d;a39B[N(0x1f9)](a,'r'),a39C['config']({'path':a});};Command[a39O(0x21f)]({'name':'run','mustBeInMakaProject':!![],'usage':'maka\x20run\x0a\x20\x20\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a39O(0x225),a39O(0x238),'r',a39O(0x20b),'p',a39O(0x22e),'i',a39O(0x249),'m',a39O(0x24e),'v',a39O(0x202),'allowIncompatibleUpdate',a39O(0x23c),'x',a39O(0x250),a39O(0x21b),a39O(0x1fa)],'description':a39O(0x20f)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a39d;try{if(P(0x247)!=='OgoWs'){if(b[P(0x1f6)]&&b[P(0x1f6)]===!![]||b['m']&&b['m']===!![])throw P(0x22b);yield this[P(0x219)][P(0x1f7)]();let c=this[P(0x219)][P(0x227)]();const d=b[P(0x225)]?b[P(0x225)]:'development',f=this['fsi'][P(0x1f3)](d),g=a39A['join'](f,P(0x21c));let h=a39A[P(0x240)](f,P(0x223));if(b[P(0x1f5)]){if('gkjch'===P(0x23d))try{i(j[P(0x20a)](k));}catch(m){m(m);}else h=b[P(0x1f5)];}else P(0x1f4)===P(0x214)?b[P(0x1ed)](P(0x21a)):h=a39A[P(0x240)](f,'settings.json');if(this[P(0x219)][P(0x228)](g)&&!b[P(0x238)])P(0x22f)!==P(0x206)?(Log[P(0x24b)](P(0x209)+g),syncSource(g)):c[P(0x242)](d,0x2);else!b[P(0x238)]&&Log[P(0x208)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);this['fsi'][P(0x228)](h)?P(0x237)===P(0x237)?(Log[P(0x24b)](P(0x21d)+h),a=a['concat'](['--settings',h])):(e['notice']('Node\x20Env\x20Config:\x20'+f),g(h)):P(0x230)!==P(0x205)?Log[P(0x208)](P(0x243)+h):c[P(0x242)](d,0x2);const i=f[P(0x1ff)](a39A['sep']),j=i[i[P(0x216)]-0x1];j===P(0x21b)&&a[P(0x1ed)](P(0x21a));const k=process['argv'][P(0x20c)](0x2)['filter'](q=>q!=='run')[P(0x218)](q=>q!==a[0x0]);k['forEach']((q,r)=>{const Q=P;q===Q(0x24f)&&k['splice'](r,0x2),q==='-e'&&('WfeIL'!==Q(0x23e)?c[Q(0x208)](Q(0x243)+d):k[Q(0x242)](r,0x2));});if(b[P(0x238)]){const q=this[P(0x219)][P(0x1f3)]('docker'),r=a39A['join'](q,P(0x212)),s=a39A['join'](q,P(0x248));Log[P(0x24b)](P(0x24d)+s),Log[P(0x24b)]('Docker\x20Compose\x20Path:\x20'+r);if(!a39B['existsSync'](r)){if(P(0x207)!==P(0x207))try{i(j[P(0x232)](k));}catch(u){m(u);}else{const u={'app':c[P(0x204)],'appFileCase':paramCase(c[P(0x204)])};let v=this[P(0x219)][P(0x226)]({'srcPath':'config/docker-compose.yaml','context':u})+'\x0a';this[P(0x219)][P(0x24c)]({'filePath':r,'data':v});}}execSync(P(0x229)+q+P(0x224),{'stdio':P(0x239)});}else{if(b['ssl']){const w=a39A[P(0x240)](f,P(0x1fe),c['appName']+P(0x221)),x=a39A[P(0x240)](f,P(0x1fe),c['appName']+P(0x23b));Log['notice'](w);const y={'ssl':{'key':a39B[P(0x217)](w,P(0x201)),'cert':a39B[P(0x217)](x,P(0x201))},'target':{'host':P(0x241),'port':0xbb8},'ws':!![],'xfwd':!![]},z=a39D[P(0x23a)](y)[P(0x1f2)](0xfa0);Log[P(0x220)](P(0x236));}else this[P(0x219)][P(0x215)](P(0x22d),a['concat'](k));}}else e[P(0x1f9)](f,'r'),g[P(0x23f)]({'path':h});}catch(B){console[P(0x234)](B),process[P(0x1ef)](0x0);}});});
@@ -1 +1 @@
1
- function a40c(){var x=['4NetjSo','(((.+)+)+)+$','10881621idcfxH','search','constructor','12kyIavW','157592ftrFTB','8006952SdrxBi','toString','apply','9460BSrAfn','13050fkjeDC','42fPvEDH','838437Moyuep','1091727fIYgvY','1743200yCCiwn'];a40c=function(){return x;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x82;var f=c[d];return f;},a40d(a,b);}(function(a,b){var u=a40d,c=a();while(!![]){try{var d=parseInt(u(0x88))/0x1+parseInt(u(0x8a))/0x2*(-parseInt(u(0x87))/0x3)+parseInt(u(0x8f))/0x4*(-parseInt(u(0x89))/0x5)+parseInt(u(0x91))/0x6+-parseInt(u(0x86))/0x7*(-parseInt(u(0x90))/0x8)+-parseInt(u(0x8c))/0x9+-parseInt(u(0x85))/0xa*(-parseInt(u(0x84))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xd031e));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a40d;if(c){var e=c[v(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var w=a40d;return a40a[w(0x82)]()['search'](w(0x8b))[w(0x82)]()[w(0x8e)](a40a)[w(0x8d)]('(((.+)+)+)+$');});a40a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var u=a40d,c=a();while(!![]){try{var d=-parseInt(u(0x156))/0x1+parseInt(u(0x15a))/0x2*(parseInt(u(0x15d))/0x3)+parseInt(u(0x158))/0x4+parseInt(u(0x15b))/0x5*(-parseInt(u(0x159))/0x6)+-parseInt(u(0x15f))/0x7+-parseInt(u(0x160))/0x8+parseInt(u(0x15c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x439f6));function a40c(){var w=['toString','3846500XySnCu','4226656oGVwHK','(((.+)+)+)+$','176422bkjmWQ','search','80580sATsKm','1266awLEtC','578aqDbex','1405UnlQXk','10549260sJujCg','4134dxZgjd'];a40c=function(){return w;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x156;var f=c[d];return f;},a40d(a,b);}var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var v=a40d;return a40a[v(0x15e)]()['search'](v(0x161))[v(0x15e)]()['constructor'](a40a)[v(0x157)](v(0x161));});a40a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x137;let f=c[d];return f;},a41d(a,b);}const a41A=a41d;(function(a,b){const x=a41d,c=a();while(!![]){try{const d=parseInt(x(0x152))/0x1+-parseInt(x(0x156))/0x2*(parseInt(x(0x144))/0x3)+-parseInt(x(0x148))/0x4*(-parseInt(x(0x137))/0x5)+-parseInt(x(0x14f))/0x6*(parseInt(x(0x16c))/0x7)+parseInt(x(0x166))/0x8*(-parseInt(x(0x162))/0x9)+parseInt(x(0x140))/0xa+-parseInt(x(0x167))/0xb*(-parseInt(x(0x13c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc6942));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a41d;if(c){if(y(0x15b)!==y(0x14e)){const e=c[y(0x14b)](b,arguments);return c=null,e;}else{if(g[y(0x165)]&&h[y(0x160)])throw m[y(0x154)](y(0x150));let g=j['allowInsecure'];k['disallowInsecure']&&(g=![]),this[y(0x145)][y(0x16e)]({'config':{'allowInsecure':g}}),l['success'](y(0x14c)+g);}}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const z=a41d;return a41a['toString']()[z(0x155)](z(0x14a))[z(0x15e)]()[z(0x147)](a41a)[z(0x155)](z(0x14a));});a41a();var __awaiter=this&&this[a41A(0x15c)]||function(a,b,c,d){function e(f){const B=a41d;if(B(0x138)!==B(0x138))this[B(0x145)][B(0x16e)]({'config':{'cert':d[B(0x14d)]}}),e[B(0x15f)](B(0x13f)+f[B(0x14d)]);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const G=a41d;function h(k){const C=a41d;if('crNbD'==='crNbD')try{C(0x157)!==C(0x157)?(d[C(0x154)](e),f['exit'](0x0)):j(d[C(0x142)](k));}catch(m){g(m);}else{const o=typeof d[C(0x14d)]===C(0x146)?C(0x170):C(0x153)+e['cacert'];throw f[C(0x154)](o);}}function i(k){const D=a41d;if('DpRVO'!==D(0x15a))try{j(d['throw'](k));}catch(l){g(l);}else{const n=this['fsi']['isDirectory'](h[D(0x16b)]);if(n)this[D(0x145)][D(0x16e)]({'config':{'workspace':o[D(0x13a)](p[D(0x16b)])}}),q[D(0x15f)]('Set\x20workspace:\x20'+r[D(0x13a)](s[D(0x16b)]));else throw t['error']('Could\x20not\x20find\x20directory');}}function j(k){const E=a41d;if(E(0x159)===E(0x16a)){const n=g?function(){const F=E;if(n){const u=q[F(0x14b)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else k[E(0x141)]?f(k[E(0x139)]):e(k[E(0x139)])[E(0x149)](h,i);}j((d=d[G(0x14b)](a,b||[]))[G(0x142)]());});};import a41v from'path';import a41w from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a41A(0x13e)]({'name':a41A(0x15d),'usage':a41A(0x143),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a41A(0x14d),a41A(0x165),a41A(0x160),a41A(0x16b)],'description':a41A(0x161),'examples':['maka\x20set:global\x20--cacert\x20<path>',a41A(0x164),a41A(0x163)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a41d;try{if(b['cacert']){if(this['fsi']['isFile'](b[H(0x14d)])){if(H(0x16d)!==H(0x16f))this[H(0x145)][H(0x16e)]({'config':{'cert':b[H(0x14d)]}}),Log[H(0x15f)](H(0x13f)+b[H(0x14d)]);else try{i(j[H(0x168)](k));}catch(d){m(d);}}else{const d=typeof b[H(0x14d)]===H(0x146)?H(0x170):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[H(0x14d)];throw Log[H(0x154)](d);}}if(b[H(0x16b)]){if(H(0x13b)==='iMRWh')d(e[H(0x142)](f));else{const g=this[H(0x145)][H(0x13d)](b['workspace']);if(g)H(0x151)===H(0x151)?(this[H(0x145)][H(0x16e)]({'config':{'workspace':a41v['resolve'](b['workspace'])}}),Log[H(0x15f)](H(0x169)+a41v[H(0x13a)](b['workspace']))):(this[H(0x145)][H(0x16e)]({'config':{'workspace':f[H(0x13a)](g[H(0x16b)])}}),h[H(0x15f)](H(0x169)+i[H(0x13a)](j[H(0x16b)])));else{if('ckcJp'==='WnyJd')throw b['error']('One\x20or\x20the\x20other\x20buddy');else throw Log[H(0x154)](H(0x158));}}}if(b[H(0x165)]){if(b[H(0x165)]&&b[H(0x160)])throw Log[H(0x154)](H(0x150));let j=b[H(0x165)];b[H(0x160)]&&(j=![]),this[H(0x145)][H(0x16e)]({'config':{'allowInsecure':j}}),Log['success']('Set\x20allowInsecure:\x20'+j);}}catch(k){console[H(0x154)](k),process['exit'](0x0);}});},a41w);function a41c(){const I=['\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','538803vOhlFN','maka\x20set:g\x20--workspace\x20<path>','maka\x20set:g\x20--insecure\x20<path>','allowInsecure','184EwHEsk','24222CYNPpC','throw','Set\x20workspace:\x20','ftSTW','workspace','535633soEsYJ','csuvb','setGlobalConfig','xHENC','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','4043475QCfxkO','YbqTA','value','resolve','pEclM','6564TTkPsl','isDirectory','create','Set\x20CA\x20Cert\x20Path:\x20','4747900HnjrFn','done','next','maka\x20set:global\x20<args>','486096jefMPi','fsi','boolean','constructor','4vopFDH','then','(((.+)+)+)+$','apply','Set\x20allowInsecure:\x20','cacert','tcYvH','12LLIhIY','One\x20or\x20the\x20other\x20buddy','DCqGU','503506QTlRsp','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','error','search','8yYSxvO','OmlnC','Could\x20not\x20find\x20directory','WZQzo','ieRcd','BKJmp','__awaiter','global','toString','success','disallowInsecure'];a41c=function(){return I;};return a41c();}
1
+ const a41A=a41d;(function(a,b){const x=a41d,c=a();while(!![]){try{const d=-parseInt(x(0xe3))/0x1+parseInt(x(0xb9))/0x2*(parseInt(x(0xdb))/0x3)+-parseInt(x(0xd6))/0x4*(-parseInt(x(0xd7))/0x5)+parseInt(x(0xd0))/0x6+parseInt(x(0xc3))/0x7+parseInt(x(0xdd))/0x8*(-parseInt(x(0xe5))/0x9)+-parseInt(x(0xd1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x797b6));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xaf;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a41d;if(c){const e=c[y(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const z=a41d;return a41a[z(0xb5)]()[z(0xd5)]('(((.+)+)+)+$')[z(0xb5)]()[z(0xd3)](a41a)['search']('(((.+)+)+)+$');});a41a();var __awaiter=this&&this[a41A(0xc8)]||function(a,b,c,d){function e(f){const B=a41d;if(B(0xc0)!==B(0xb7))return f instanceof c?f:new c(function(g){const C=B;C(0xbc)==='frMEX'?g(f):c(d);});else this['fsi'][B(0xc1)]({'config':{'cert':d[B(0xe0)]}}),e[B(0xd4)](B(0xaf)+f[B(0xe0)]);}return new(c||(c=Promise))(function(f,g){const G=a41d;function h(k){const D=a41d;if('NcDUK'==='jDqCo')d[D(0xd8)](e),f['exit'](0x0);else try{if(D(0xc9)!==D(0xc9)){if(e){const n=i[D(0xd9)](j,arguments);return k=null,n;}}else j(d[D(0xdc)](k));}catch(n){g(n);}}function i(k){const E=a41d;if(E(0xe4)===E(0xcb))h[E(0xe2)]?i(j[E(0xcc)]):k(l['value'])[E(0xdf)](m,n);else try{if(E(0xc5)!==E(0xc5)){const n=typeof d[E(0xe0)]==='boolean'?E(0xbf):E(0xb3)+e['cacert'];throw f[E(0xd8)](n);}else j(d[E(0xbb)](k));}catch(n){if(E(0xba)===E(0xb0))return f instanceof g?h:new i(function(p){p(k);});else g(n);}}function j(k){const F=a41d;k['done']?f(k[F(0xcc)]):e(k[F(0xcc)])[F(0xdf)](h,i);}j((d=d[G(0xd9)](a,b||[]))[G(0xdc)]());});};function a41c(){const I=['global','done','628431ufWDdr','jOzoy','8235HENcoC','maka\x20set:global\x20<args>','qboNQ','Set\x20workspace:\x20','Set\x20CA\x20Cert\x20Path:\x20','FJubW','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','GIjHp','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','workspace','toString','flVlC','eDjXZ','One\x20or\x20the\x20other\x20buddy','10788JrTqQb','SpNCP','throw','frMEX','boolean','allowInsecure','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','DOYqq','setGlobalConfig','fsi','6564348tISnmh','isDirectory','OhCfS','resolve','exit','__awaiter','XzxSh','maka\x20set:g\x20--insecure\x20<path>','cuIJB','value','niSIu','maka\x20set:global\x20--cacert\x20<path>','create','2654040koaQLl','6009450RHWqkG','disallowInsecure','constructor','success','search','2319932QHXmWZ','5UKtCiH','error','apply','Set\x20allowInsecure:\x20','108nUTHnh','next','3736Bpusar','isFile','then','cacert'];a41c=function(){return I;};return a41c();}import a41v from'path';import a41w from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a41A(0xcf)]({'name':a41A(0xe1),'usage':a41A(0xe6),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a41A(0xe0),'allowInsecure',a41A(0xd2),a41A(0xb4)],'description':a41A(0xb1),'examples':[a41A(0xce),a41A(0xca),'maka\x20set:g\x20--workspace\x20<path>']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a41d;if('hPkwX'!=='SlbgF')try{if(b['cacert']){if(this['fsi'][H(0xde)](b[H(0xe0)])){if('RwRDK'===H(0xb2))throw b[H(0xd8)]('Could\x20not\x20find\x20directory');else this[H(0xc2)][H(0xc1)]({'config':{'cert':b[H(0xe0)]}}),Log[H(0xd4)]('Set\x20CA\x20Cert\x20Path:\x20'+b[H(0xe0)]);}else{if(H(0xcd)!=='wsXZz'){const d=typeof b[H(0xe0)]===H(0xbd)?H(0xbf):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[H(0xe0)];throw Log[H(0xd8)](d);}else try{i(j['throw'](k));}catch(g){m(g);}}}if(b[H(0xb4)]){const g=this[H(0xc2)][H(0xc4)](b[H(0xb4)]);if(g){if(H(0xb6)===H(0xb6))this[H(0xc2)][H(0xc1)]({'config':{'workspace':a41v[H(0xc6)](b[H(0xb4)])}}),Log[H(0xd4)](H(0xe8)+a41v[H(0xc6)](b[H(0xb4)]));else{if(this[H(0xc2)][H(0xde)](h[H(0xe0)]))this['fsi'][H(0xc1)]({'config':{'cert':o[H(0xe0)]}}),p[H(0xd4)](H(0xaf)+q['cacert']);else{const i=typeof r[H(0xe0)]===H(0xbd)?H(0xbf):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+s[H(0xe0)];throw t[H(0xd8)](i);}}}else throw Log['error']('Could\x20not\x20find\x20directory');}if(b['allowInsecure']){if(b[H(0xbe)]&&b[H(0xd2)]){if(H(0xe7)!==H(0xe7))d(e['throw'](f));else throw Log[H(0xd8)](H(0xb8));}let i=b[H(0xbe)];b[H(0xd2)]&&(i=![]),this['fsi'][H(0xc1)]({'config':{'allowInsecure':i}}),Log['success'](H(0xda)+i);}}catch(k){console[H(0xd8)](k),process[H(0xc7)](0x0);}else{const m=d['apply'](e,arguments);return f=null,m;}});},a41w);