@maka/maka-cli 4.2.8 → 4.2.10

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 (91) 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/get/whoami.sub.cmd.js +1 -0
  31. package/dist/commands/help.js +1 -1
  32. package/dist/commands/install.js +1 -1
  33. package/dist/commands/jsdoc.js +1 -1
  34. package/dist/commands/login.js +1 -1
  35. package/dist/commands/logout.js +1 -1
  36. package/dist/commands/logs.js +1 -1
  37. package/dist/commands/maka.cmd.js +1 -1
  38. package/dist/commands/murder.js +1 -1
  39. package/dist/commands/proxy.js +1 -1
  40. package/dist/commands/reconfig.js +1 -1
  41. package/dist/commands/run.js +1 -1
  42. package/dist/commands/set/_index.js +1 -1
  43. package/dist/commands/set/global.sub.cmd.js +1 -1
  44. package/dist/commands/set/local.sub.cmd.js +1 -1
  45. package/dist/commands/set/set.command.js +1 -1
  46. package/dist/commands/ssh.js +1 -1
  47. package/dist/commands/ssl.js +1 -1
  48. package/dist/commands/test.js +1 -1
  49. package/dist/commands/version.js +1 -1
  50. package/dist/error.js +1 -1
  51. package/dist/generator.js +1 -1
  52. package/dist/generators/_index.js +1 -1
  53. package/dist/generators/api.js +1 -1
  54. package/dist/generators/collection.js +1 -1
  55. package/dist/generators/component.js +1 -1
  56. package/dist/generators/config.js +1 -1
  57. package/dist/generators/dbc.js +1 -1
  58. package/dist/generators/dockerfile.js +1 -1
  59. package/dist/generators/hook.js +1 -1
  60. package/dist/generators/kit.js +1 -1
  61. package/dist/generators/layout.js +1 -1
  62. package/dist/generators/maka.gen.js +1 -1
  63. package/dist/generators/methods.js +1 -1
  64. package/dist/generators/package.js +1 -1
  65. package/dist/generators/page.js +1 -1
  66. package/dist/generators/publish.js +1 -1
  67. package/dist/generators/route.js +1 -1
  68. package/dist/generators/scaffold.js +1 -1
  69. package/dist/generators/service.js +1 -1
  70. package/dist/generators/services/_index.js +1 -1
  71. package/dist/generators/services/translation.js +1 -1
  72. package/dist/maka.js +1 -1
  73. package/dist/tool.js +1 -1
  74. package/dist/tools/actions/actions.class.js +1 -1
  75. package/dist/tools/actions/actions.test.js +1 -1
  76. package/dist/tools/aws/aws.class.js +1 -1
  77. package/dist/tools/aws/aws.interfaces.js +1 -1
  78. package/dist/tools/docker/docker.class.js +1 -1
  79. package/dist/tools/docker/docker.interfaces.js +1 -1
  80. package/dist/tools/fsi/fsi.class.js +1 -1
  81. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  82. package/dist/tools/https/https.class.js +1 -1
  83. package/dist/tools/https/https.interface.js +1 -1
  84. package/dist/tools/log/log.class.js +1 -1
  85. package/dist/tools/log/log.interfaces.js +1 -1
  86. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  87. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  88. package/dist/tools/ssh/ssh.class.js +1 -1
  89. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  90. package/dist/tools/ssl/ssl.class.js +1 -1
  91. package/package.json +1 -1
@@ -1 +1 @@
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
+ var a28C=a28d;function a28c(){var F=['KDzfp','constructor','2022048KgiikC','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','4406112CFFidD','toString','error','NOBwW','getProjectConfig','2770aSvLMn','212289hOcQZu','rsqpy','EHwOV','4448mKUNNP','3603XAqcFv','apply','next','maka\x20get:local-config','6IaWhub','search','2VBsuKC','2682505eUfRiV','1495891CZGlQA','local-config','log','value','12313966otrOnX','NJrRY','then','create','done'];a28c=function(){return F;};return a28c();}(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0x19d))/0x1*(-parseInt(v(0x19b))/0x2)+parseInt(v(0x195))/0x3*(-parseInt(v(0x194))/0x4)+-parseInt(v(0x19c))/0x5*(-parseInt(v(0x199))/0x6)+-parseInt(v(0x1a1))/0x7+-parseInt(v(0x1aa))/0x8+parseInt(v(0x1a8))/0x9+-parseInt(v(0x1af))/0xa*(-parseInt(v(0x1b0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xebc3b));function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x193;var f=c[d];return f;},a28d(a,b);}var a28b=(function(){var a=!![];return function(b,c){var w=a28d;if(w(0x1ad)!==w(0x1b1)){var d=a?function(){var x=w;if(c){var e=c[x(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else try{i(j[w(0x197)](k));}catch(f){m(f);}};}()),a28a=a28b(this,function(){var y=a28d;return a28a[y(0x1ab)]()[y(0x19a)]('(((.+)+)+)+$')[y(0x1ab)]()[y(0x1a7)](a28a)[y(0x19a)]('(((.+)+)+)+$');});a28a();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){var B=a28d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){var z=a28d;try{z(0x1a2)==='NJrRY'?j(d['throw'](k)):h[z(0x1a5)]?i(j[z(0x1a0)]):k(l['value'])['then'](m,n);}catch(m){if(z(0x193)!==z(0x193))try{i(j['throw'](k));}catch(o){m(o);}else g(m);}}function j(k){var A=a28d;k[A(0x1a5)]?f(k[A(0x1a0)]):e(k[A(0x1a0)])[A(0x1a3)](h,i);}j((d=d[B(0x196)](a,b||[]))[B(0x197)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command[a28C(0x1a4)]({'name':a28C(0x19e),'usage':a28C(0x198),'mustBeInMakaProject':!![],'description':a28C(0x1a9)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a28d;if(D(0x1a6)!==D(0x1a6)){var d=g?function(){var E=D;if(d){var u=q[E(0x196)](r,arguments);return s=null,u;}}:function(){};return l=![],d;}else try{const d=yield this['fsi'][D(0x1ae)]();console[D(0x19f)](d);}catch(f){console[D(0x1ac)](f),process['exit'](0x0);}});},a28u);
@@ -0,0 +1 @@
1
+ const a29z=a29d;(function(a,b){const w=a29d,c=a();while(!![]){try{const d=parseInt(w(0x7c))/0x1*(-parseInt(w(0x93))/0x2)+parseInt(w(0x7f))/0x3*(parseInt(w(0x97))/0x4)+parseInt(w(0xa0))/0x5*(-parseInt(w(0x85))/0x6)+-parseInt(w(0x79))/0x7*(-parseInt(w(0x9b))/0x8)+-parseInt(w(0x9e))/0x9*(-parseInt(w(0x80))/0xa)+-parseInt(w(0x89))/0xb+-parseInt(w(0x84))/0xc*(-parseInt(w(0xa3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x770c8));const a29b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a29d;if(c){const e=c[x(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){const y=a29d;return a29a[y(0x96)]()[y(0xa4)]('(((.+)+)+)+$')[y(0x96)]()[y(0x8f)](a29a)[y(0xa4)](y(0x92));});function a29c(){const G=['token','create','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','1632YSqWNS','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','User\x20Access\x20Token:\x20\x20','18IUTFik','done','1015wMCQIj','GCzfk','authToken','405938bnvEGV','search','apply','14595ZKUWoa','fsi','error','675811bnIsfK','decode','Fziiw','4029CZQGmM','4473030ULmXGk','exit','value','hash','24ZEfiPv','3702GXiHVH','then','throw','notice','10677601bVHoWm','maka\x20get:whoami','CvlFI','IfwzW','YhmOs','next','constructor','getGlobalConfig','userId','(((.+)+)+)+$','2xuKhvh','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','__awaiter','toString','2612mLmxdn'];a29c=function(){return G;};return a29c();}a29a();var __awaiter=this&&this[a29z(0x95)]||function(a,b,c,d){function e(f){const A=a29d;if('CsGiR'!==A(0x8c))return f instanceof c?f:new c(function(g){g(f);});else{const h=d['apply'](e,arguments);return f=null,h;}}return new(c||(c=Promise))(function(f,g){const E=a29d;function h(k){const B=a29d;if('CvlFI'===B(0x8b))try{'OdGgJ'!==B(0x7e)?j(d[B(0x8e)](k)):d(e[B(0x87)](f));}catch(m){g(m);}else d(e[B(0x8e)](f));}function i(k){const C=a29d;try{j(d[C(0x87)](k));}catch(l){g(l);}}function j(k){const D=a29d;'ijuxi'!=='ijuxi'?(d[D(0x7b)](e),f['exit'](0x0)):k[D(0x9f)]?f(k[D(0x82)]):e(k[D(0x82)])[D(0x86)](h,i);}j((d=d[E(0x78)](a,b||[]))[E(0x8e)]());});};import a29u from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a29v from'jsonwebtoken';function a29d(a,b){const c=a29c();return a29d=function(d,e){d=d-0x78;let f=c[d];return f;},a29d(a,b);}Command[a29z(0x99)]({'name':'whoami','usage':a29z(0x8a),'description':a29z(0x94)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a29d;try{const c=yield this[F(0x7a)][F(0x90)]();if(c['hash']){if(F(0xa1)!==F(0xa1))return c['toString']()[F(0xa4)](F(0x92))[F(0x96)]()['constructor'](d)['search'](F(0x92));else{const f=a29v[F(0x7d)](c[F(0x83)]);Log[F(0x88)](F(0x9c)+(f===null||f===void 0x0?void 0x0:f['user'])),Log['notice'](F(0x9a)+c[F(0x98)][F(0x91)]),Log['notice'](F(0x9d)+c[F(0x98)][F(0xa2)]);}}}catch(g){'YhmOs'===F(0x8d)?(console[F(0x7b)](g),process[F(0x81)](0x0)):c(d);}});},a29u);
@@ -1 +1 @@
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
+ var a30x=a30d;(function(a,b){var u=a30d,c=a();while(!![]){try{var d=-parseInt(u(0x151))/0x1*(parseInt(u(0x169))/0x2)+-parseInt(u(0x15f))/0x3+parseInt(u(0x14f))/0x4+parseInt(u(0x14c))/0x5+parseInt(u(0x15a))/0x6*(parseInt(u(0x167))/0x7)+parseInt(u(0x157))/0x8*(-parseInt(u(0x160))/0x9)+-parseInt(u(0x16a))/0xa*(-parseInt(u(0x158))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xe2078));function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x14c;var f=c[d];return f;},a30d(a,b);}var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a30d;if(c){var e=c[v(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var w=a30d;return a30a[w(0x154)]()[w(0x14d)](w(0x165))[w(0x154)]()[w(0x14e)](a30a)[w(0x14d)](w(0x165));});a30a();var __awaiter=this&&this[a30x(0x168)]||function(a,b,c,d){function e(f){var y=a30d;if(y(0x15d)!==y(0x15d))d(e[y(0x163)](f));else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){var C=a30d;function h(k){var z=a30d;try{j(d[z(0x166)](k));}catch(l){z(0x152)===z(0x152)?g(l):d(l['next'](f));}}function i(k){var A=a30d;try{if(A(0x156)===A(0x153)){var m=d[A(0x159)](e,arguments);return f=null,m;}else j(d[A(0x163)](k));}catch(m){if(A(0x15e)!==A(0x161))g(m);else return c[A(0x154)]()[A(0x14d)](A(0x165))[A(0x154)]()[A(0x14e)](d)[A(0x14d)]('(((.+)+)+)+$');}}function j(k){var B=a30d;if(B(0x155)!=='WfYKa')throw new b();else k[B(0x162)]?f(k[B(0x15c)]):e(k['value'])[B(0x150)](h,i);}j((d=d[C(0x159)](a,b||[]))[C(0x166)]());});};import{Command}from'../command.js';import{UsageError}from'../error.js';function a30c(){var D=['toString','WfYKa','ZneSt','344sUOJcE','7319114PTtTVL','apply','156ZTcDnG','create','value','RdbRN','SwOFl','3887745wcCTwx','152793DaENkr','UHWdw','done','throw','help','(((.+)+)+)+$','next','76454agcetX','__awaiter','4vzgUQl','30XcohbV','4424315UPlrId','search','constructor','151764dgmSYs','then','125578cYjWCb','RiHSu','pxdGb'];a30c=function(){return D;};return a30c();}Command[a30x(0x15b)]({'name':a30x(0x164),'description':'Try,\x20maka\x20--help','aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){if('IdYDH'==='IdYDH')throw new UsageError();else c(d);});});
@@ -1 +1 @@
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
+ const a31F=a31d;(function(a,b){const B=a31d,c=a();while(!![]){try{const d=-parseInt(B(0x84))/0x1*(-parseInt(B(0x80))/0x2)+parseInt(B(0x98))/0x3+parseInt(B(0xba))/0x4+parseInt(B(0x87))/0x5+-parseInt(B(0x79))/0x6+-parseInt(B(0xbb))/0x7+-parseInt(B(0xb2))/0x8*(-parseInt(B(0x7c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x330a9));const a31b=(function(){let a=!![];return function(b,c){const C=a31d;if(C(0xa7)===C(0xa7)){const d=a?function(){const D=C;if(c){if(D(0xa2)===D(0xa2)){const e=c[D(0xb0)](b,arguments);return c=null,e;}else c['error'](d);}}:function(){};return a=![],d;}else{if(this[C(0x86)]['isFile'](g[C(0x9f)]))m=n['cert'],o=[C(0xae),p];else throw C(0x95)+q;}};}()),a31a=a31b(this,function(){const E=a31d;return a31a[E(0xbd)]()['search'](E(0x9e))[E(0xbd)]()[E(0x9c)](a31a)[E(0xd7)]('(((.+)+)+)+$');});function a31c(){const L=['warn','YUITf','length','QIHxh','error','homedir','exit','Meteor\x20version\x20','https://static-meteor.netdna-ssl.com/packages-bootstrap/','install','isFile','WpyqW','string','notice','GaBEP','Aborted','debug','withSpinner','yjJap','confirm','OHBYS','uPbkN','next','maka\x20install\x20meteor\x20--version\x201.12.1','create','search','2382918kkeFfb','\x20installed.\x0a','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','108027fObrMH','NSLhk','Allowing\x20insecure\x20curl\x20connections.','value','4jpWVJp','VXSRo','nfwBy','Using\x20CA\x20Cert\x20','138813WaSNjg','ignore','fsi','198000UaPaxG','Downloading\x20meteor\x20version\x20','__awaiter','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','version','\x20-s\x20https://install.meteor.com/','maka\x20install\x20meteor','curl\x20','tar','qPZVN','join','success','platform','Network\x20error,\x20please\x20try\x20again.','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','win32','244716JfbaLR','existsSync','curl','HjucO','constructor','os.linux.x86_64','(((.+)+)+)+$','cert','maka\x20install\x20meteor\x20-v\x202.3.6','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','IBshF','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','cacert','then','replace','JrbnC','keepInstall','sync','/meteor-bootstrap-','meteor.tar.gz','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','force','--cacert','pJlOE','apply','maka\x20install','152lytNfr','/.local/bin','jGDgy','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','RELEASE=','grep','EEEFP','636048VibIIb','1257543YkQiJD','NBDgw','toString'];a31c=function(){return L;};return a31c();}a31a();var __awaiter=this&&this[a31F(0x89)]||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 J=a31d;function h(k){const G=a31d;if(G(0xd3)===G(0xd3))try{j(d['next'](k));}catch(l){if(G(0xb9)==='EEEFP')g(l);else{const n=d[G(0xb0)](l,arguments);return f=null,n;}}else throw G(0x94);}function i(k){const H=a31d;try{j(d['throw'](k));}catch(l){if(H(0x7d)===H(0x7d))g(l);else return f instanceof g?h:new i(function(n){n(k);});}}function j(k){const I=a31d;if(I(0xb4)!==I(0xb4))return c[I(0xbd)]()[I(0xd7)]('(((.+)+)+)+$')[I(0xbd)]()['constructor'](d)[I(0xd7)]('(((.+)+)+)+$');else k['done']?f(k[I(0x7f)]):e(k[I(0x7f)])[I(0xa5)](h,i);}j((d=d[J(0xb0)](a,b||[]))[J(0xd4)]());});};import a31x from'os';function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x79;let f=c[d];return f;},a31d(a,b);}import a31y from'path';import a31z from'fs';import a31A from'delete';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=a31x[a31F(0xc3)]();Command[a31F(0xd6)]({'name':a31F(0xc7),'aliases':['i'],'validOpts':['f',a31F(0xad),'v',a31F(0x8b),a31F(0xce),a31F(0xa4),a31F(0xa8)],'usage':a31F(0xb1),'description':a31F(0xa3),'examples':[a31F(0x8d),'maka\x20install\x20meteor\x20--force',a31F(0xa0),a31F(0xd5),'maka\x20i']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a31d;try{if(K(0x82)===K(0x82)){let c=[],d='';if(b[K(0xa4)]){if(this['fsi'][K(0xc8)](b[K(0xa4)]))Log['notice'](K(0x83)+b[K(0xa4)]),d=b[K(0xa4)],c=['--cacert',d];else{if(K(0xd0)===K(0xcc))d(e[K(0xd4)](f));else throw'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d;}}const f=yield this[K(0x86)]['getGlobalConfig']();if(f['cert']){if(this[K(0x86)]['isFile'](f[K(0x9f)]))d=f[K(0x9f)],c=[K(0xae),d];else{if(K(0x90)!==K(0x90))h['done']?i(j[K(0x7f)]):k(l[K(0x7f)])[K(0xa5)](m,n);else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d;}}f['allowInsecure']&&(Log[K(0xbe)](K(0x7e)),c=['-k']);let g=![];b['f']||b[K(0xad)]?'YUITf'===K(0xbf)?g=!![]:(g(K(0xb5)+h+K(0xb3),{'stdio':K(0x85)}),i(K(0xb6),{'stdio':K(0x85)}),j(K(0xac),{'stdio':'ignore'}),k(K(0x8a),{'stdio':K(0x85)}),l('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':'ignore'})):g=yield Actions[K(0xd1)](K(0xa1));if(!g){if(K(0xd2)===K(0xc1)){if(e){const r=i[K(0xb0)](j,arguments);return k=null,r;}}else throw K(0xcd);}const h=process[K(0x93)]===K(0x97),i=process[K(0x93)]==='darwin';let j=execSync(K(0x8e)+c[K(0x91)]('\x20')+K(0x8c))[K(0xbd)](),k=yield this['fsi'][K(0xb8)](j,K(0xb7));if(k[K(0xc0)]===0x0)throw K(0x94);let l=k[0x0][K(0xa6)](/[^0-9.]/gi,'')[K(0xa6)](/\r?\n|\r/,'');(typeof b['v']===K(0xca)||typeof b[K(0x8b)]===K(0xca))&&(K(0x81)!==K(0x81)?(g[K(0xcb)](K(0x83)+h[K(0xa4)]),i=j[K(0xa4)],k=['--cacert',l]):l=b['v']||b[K(0x8b)]);let m=a31y[K(0x91)](homeDir,'.meteor');if(h)K(0xbc)!==K(0xbc)?(c[K(0xbe)](K(0x7e)),d=['-k']):Log[K(0xbe)]('Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows');else{a31z[K(0x99)](m)&&(yield SpawnAsync['withSpinner']('rm',['-rf',m],{'message':'Removing\x20previous\x20install\x20of\x20meteor'}));try{if('jDydm'===K(0xaf)){if(this[K(0x86)][K(0xc8)](i['cacert']))q[K(0xcb)](K(0x83)+r[K(0xa4)]),s=t[K(0xa4)],u=[K(0xae),v];else throw K(0x7b)+w;}else{const u=i?'os.osx.x86_64':K(0x9d);yield SpawnAsync[K(0xcf)](K(0x9a),[...c,'-s',K(0xc6)+l+K(0xaa)+u+'.tar.gz','--output',a31y[K(0x91)](homeDir,K(0xab))],{'message':K(0x88)+l});const v=['-xzf',a31y[K(0x91)](homeDir,'meteor.tar.gz'),'-C',homeDir];yield SpawnAsync[K(0xcf)](K(0x8f),v,{'message':'Installing\x20meteor\x20'+l}),a31A[K(0xa9)](a31y[K(0x91)](homeDir,'meteor.tar.gz'),{'force':!![]});}}catch(w){console[K(0xc2)](w);}try{K(0xc9)!==K(0x9b)?(execSync(K(0xb5)+homeDir+K(0xb3),{'stdio':K(0x85)}),execSync(K(0xb6),{'stdio':K(0x85)}),execSync(K(0xac),{'stdio':K(0x85)}),execSync(K(0x8a),{'stdio':K(0x85)}),execSync(K(0x96),{'stdio':K(0x85)})):b=!![];}catch(y){console[K(0xc2)](y);}Log[K(0x92)](K(0xc5)+l+K(0x7a));}}else d[K(0xc2)](e),f[K(0xc4)](0x0);}catch(A){console[K(0xc2)](A),process[K(0xc4)](0x0);}});});
@@ -1 +1 @@
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
+ const a32z=a32d;(function(a,b){const w=a32d,c=a();while(!![]){try{const d=parseInt(w(0x1db))/0x1*(-parseInt(w(0x1eb))/0x2)+parseInt(w(0x1e6))/0x3+-parseInt(w(0x1f3))/0x4+parseInt(w(0x1f4))/0x5+parseInt(w(0x208))/0x6+parseInt(w(0x206))/0x7*(parseInt(w(0x1fe))/0x8)+parseInt(w(0x1f1))/0x9*(-parseInt(w(0x1e9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x78179));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a32d;if('zeipF'!==x(0x205)){if(c){if('CYdle'!==x(0x1fd)){const e=c['apply'](b,arguments);return c=null,e;}else{let g=h+x(0x20f)+i+x(0x1dc)+j[x(0x1f0)]+'\x20-d\x20'+k;l(g,{'cwd':m,'stdio':x(0x203)}),this[x(0x1dd)]('\x0a[+]\x20Documentation\x20written\x20to\x20'+n);}}}else{let h={'plugins':[x(0x1e5)],'tags':{'allowUnknownTags':!![],'dictionaries':[x(0x1f7),x(0x1ec)]},'source':{'includePattern':x(0x20d),'excludePattern':x(0x1e1),'exclude':['app/packages','app/node_modules',x(0x1e4),x(0x1f8)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':x(0x1ed)}};d[x(0x1ff)](e,f['stringify'](h,null,0x4));}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const y=a32d;return a32a[y(0x1e2)]()[y(0x1ea)](y(0x207))[y(0x1e2)]()['constructor'](a32a)[y(0x1ea)]('(((.+)+)+)+$');});a32a();function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x1db;let f=c[d];return f;},a32d(a,b);}import a32u from'path';function a32c(){const C=['rJbQt','2bdTTPD','\x20-r\x20app','logNotice','constructor','pathFromProject','app/packages','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','toString','apply','app/public','plugins/markdown','1675305UzewPp','logError','NtjXc','52340hqKqVM','search','604334mQJrRY','closure','utf-8','fsi','docs','sep','1413Iixvec','join','2879552DTsTfK','1502880pMEDir','config','stringify','jsdoc','app/private','maka\x20jsdoc','nURlo','app/node_modules','jsdoc-config.json','dbmOq','6486392VNJCFm','writeFileSync','ojzYZ','maka\x20jsdoc\x20--init','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','inherit','Running\x20','iGShT','7ipChxZ','(((.+)+)+)+$','5808282BjMoQc','isFile','\x20-d\x20','uJIgB','POpqF','.+\x5c.(j|t)s(doc|x)?$','logWithSpinner','\x20-c\x20'];a32c=function(){return C;};return a32c();}import a32v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command['create']({'name':a32z(0x1f7),'usage':a32z(0x1f9),'mustBeInMakaProject':!![],'description':a32z(0x202),'examples':[a32z(0x201),'maka\x20jsdoc']},function(a){const A=a32z;let b=a32u[A(0x1f2)](this[A(0x1ee)]['pathFromProject']({}),A(0x1ef)+a32u['sep']),c=a32u['join'](this[A(0x1ee)][A(0x1df)]({}),A(0x1f5),A(0x1fc)),d=this[A(0x1ee)][A(0x1df)]({}),f=A(0x1f7);if(!this[A(0x209)](c)){let h={'plugins':[A(0x1e5)],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0x1f7),A(0x1ec)]},'source':{'includePattern':A(0x20d),'excludePattern':A(0x1e1),'exclude':[A(0x1e0),A(0x1fb),A(0x1e4),A(0x1f8)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x1ed)}};a32v['writeFileSync'](c,JSON[A(0x1f6)](h,null,0x4));}let g=this[A(0x20e)](A(0x204)+f);try{if(A(0x210)!==A(0x200)){let i=f+A(0x20f)+c+A(0x1dc)+a32u['sep']+A(0x20a)+b;execSync(i,{'cwd':d,'stdio':A(0x203)}),this['logNotice']('\x0a[+]\x20Documentation\x20written\x20to\x20'+b);}else{const k=g?function(){const B=A;if(k){const u=q[B(0x1e3)](r,arguments);return s=null,u;}}:function(){};return l=![],k;}}catch(k){if(A(0x1e8)!==A(0x1fa))this[A(0x1e7)](k),this[A(0x1e7)]('[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22');else{const m=d[A(0x1e3)](k,arguments);return f=null,m;}}finally{if(A(0x20c)!==A(0x20b))g['stop']();else return c[A(0x1e2)]()['search'](A(0x207))[A(0x1e2)]()[A(0x1de)](d)[A(0x1ea)](A(0x207));}});
@@ -1 +1 @@
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
+ const a33A=a33d;(function(a,b){const x=a33d,c=a();while(!![]){try{const d=-parseInt(x(0x1a7))/0x1+-parseInt(x(0x1b6))/0x2+parseInt(x(0x1ba))/0x3+-parseInt(x(0x1c2))/0x4*(-parseInt(x(0x1aa))/0x5)+parseInt(x(0x1a0))/0x6*(-parseInt(x(0x18d))/0x7)+-parseInt(x(0x1ad))/0x8+parseInt(x(0x1b5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x50ac4));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a33d;if(y(0x1a9)!==y(0x1a9))d[y(0x1b9)](e,{'cert':f});else{if(c){if('SNWgV'===y(0x1c8)){const f=c[y(0x1c4)](b,arguments);return c=null,f;}else d(e[y(0x19b)](f));}}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const z=a33d;return a33a[z(0x1a3)]()[z(0x18c)](z(0x1a2))[z(0x1a3)]()[z(0x186)](a33a)[z(0x18c)](z(0x1a2));});a33a();var __awaiter=this&&this[a33A(0x1bb)]||function(a,b,c,d){function e(f){const B=a33d;if('EddFd'!==B(0x1c3))d[B(0x1b9)](e,{'cert':f});else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const F=a33d;function h(k){const C=a33d;try{j(d[C(0x19b)](k));}catch(l){g(l);}}function i(k){const D=a33d;try{'YIckF'!==D(0x1c1)?j(d['throw'](k)):d(e[D(0x1b4)](f));}catch(m){g(m);}}function j(k){const E=a33d;k[E(0x19e)]?f(k['value']):e(k[E(0x18b)])[E(0x1a5)](h,i);}j((d=d['apply'](a,b||[]))[F(0x19b)]());});};import a33u 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 a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x185;let f=c[d];return f;},a33d(a,b);}import{HTTPS}from'../tools/https/https.class.js';Command[a33A(0x194)]({'name':a33A(0x190),'validOpts':[a33A(0x1bd),a33A(0x1c9),a33A(0x188),a33A(0x1b0),a33A(0x19d)],'usage':a33A(0x1a8),'maxArgLength':0x2,'disableAuthCheck':!![],'description':a33A(0x197),'examples':[a33A(0x1a8),a33A(0x1af)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a33d;if('ZFhxk'!=='ZFhxk')c=d[G(0x189)];else{let d=Log['withSpinner']();try{let f='';if(b['cacert']){if(this['fsi']['isFile'](b[G(0x1b0)]))f=b['cacert'],Log['notice'](G(0x185)+f);else{if(G(0x187)==='eQMeg'){const r=d['apply'](e,arguments);return f=null,r;}else Log[G(0x1c5)](G(0x1a1)+f);}}const g=this['fsi'][G(0x191)]();if(g[G(0x189)]){if(this[G(0x193)][G(0x1b7)](g[G(0x189)]))f=g[G(0x189)];else{Log[G(0x1c5)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+f);return;}}Log['header'](G(0x1be));const h={'url':G(0x19f)};b['cacert']&&Object[G(0x1b9)](h,{'cert':f});d[G(0x192)](G(0x1c6));const i=yield HTTPS[G(0x1bf)](h);if(i===G(0x196)){d['failure']();throw G(0x18a);}d['success']();let j=b['email']?b[G(0x1bd)]:yield Actions[G(0x1b3)](G(0x1b1)),k=b[G(0x1c9)]?b[G(0x1c9)]:yield Actions['ask'](G(0x1bc),!![]);if(i!==':D')throw G(0x1c0);const l=a33u['md']['sha256'][G(0x194)]();l[G(0x1b2)](k);const m=l[G(0x18f)]()[G(0x1ab)](),n={'hostname':'www.maka-cli.com','path':'/api/v1/login','data':{'email':j,'password':m,'hashed':!![]}};b[G(0x1b0)]&&Object['assign'](n,{'cert':f});d['start'](G(0x195));const o=yield HTTPS[G(0x18e)](n);if(o===G(0x196)){d[G(0x1a4)]('\x0a');throw G(0x1c7);}let p=null;if(o['authToken']){if(G(0x19c)!==G(0x1a6)){const r={'url':'https://www.maka-cli.com/api/v1/encodeJwt','headers':{'x-auth-token':o['authToken']}};b[G(0x1b0)]&&Object[G(0x1b9)](r,{'cert':f});p=yield HTTPS[G(0x1bf)](r);if(p===G(0x196)){if(G(0x1ac)===G(0x1ac)){d[G(0x1a4)]('\x0a');throw G(0x1c7);}else throw b;}}else throw G(0x1c0);}else throw o;if(p){const u={'token':o,'hash':p};b[G(0x1b0)]&&Object[G(0x1b9)](u,{'cert':f}),this[G(0x193)][G(0x19a)]({'config':u});}d[G(0x199)]();}catch(v){if(G(0x1ae)===G(0x1b8)){b[G(0x1a4)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}else d[G(0x1a4)](),console[G(0x1c5)](v),process[G(0x198)](0x0);}}});});function a33c(){const H=['throw','8574039jqIyyn','692696dEoJRg','isFile','lKPOt','assign','633858BGglUX','__awaiter','Password:\x20','email','Logging\x20into\x20https://www.maka-cli.com','get','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','WCXMs','4MqrLTF','EddFd','apply','error','Preflight\x20Check','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','SNWgV','password','Using\x20CA\x20Cert\x20','constructor','PTlTD','help','cert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','value','search','7YVGBZM','post','digest','login','getGlobalConfig','start','fsi','create','Logging\x20in','TIMEOUT','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','exit','success','setGlobalConfig','next','pHXZJ','debug','done','https://www.maka-cli.com/api/v1/status','1737798gnPrdI','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','(((.+)+)+)+$','toString','failure','then','jOTby','217032CknphE','maka\x20login','CfjEn','2271845jnlzXg','toHex','BhXAW','3479016EKnIgE','OAFsq','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','cacert','Email:','update','ask'];a33c=function(){return H;};return a33c();}
@@ -1 +1 @@
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
+ const a34y=a34d;(function(a,b){const u=a34d,c=a();while(!![]){try{const d=-parseInt(u(0x110))/0x1+-parseInt(u(0x116))/0x2+-parseInt(u(0xfc))/0x3*(parseInt(u(0xfb))/0x4)+-parseInt(u(0x100))/0x5*(-parseInt(u(0xe6))/0x6)+parseInt(u(0x10a))/0x7*(-parseInt(u(0xeb))/0x8)+-parseInt(u(0xf0))/0x9+parseInt(u(0x11a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xa0ff0));function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xe1;let f=c[d];return f;},a34d(a,b);}const a34b=(function(){let a=!![];return function(b,c){const v=a34d;if(v(0x111)===v(0x111)){const d=a?function(){const w=v;if(c){const e=c[w(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else h[v(0x11b)]?i(j[v(0xf8)]):k(l[v(0xf8)])[v(0x105)](m,n);};}()),a34a=a34b(this,function(){const x=a34d;return a34a['toString']()['search'](x(0xf1))[x(0xe5)]()[x(0xee)](a34a)['search'](x(0xf1));});a34a();var __awaiter=this&&this[a34y(0x107)]||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=a34d;function h(k){const z=a34d;if(z(0xf9)==='cnsTR')try{j(d[z(0xe9)](k));}catch(l){g(l);}else throw b[z(0x10c)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');}function i(k){const A=a34d;try{A(0x11c)!==A(0xe3)?j(d[A(0xe8)](k)):(e=f[A(0xec)],g[A(0x101)]('Using\x20CA\x20Cert\x20'+h));}catch(m){g(m);}}function j(k){const B=a34d;if(B(0x10f)===B(0x10f))k[B(0x11b)]?f(k[B(0xf8)]):e(k[B(0xf8)])[B(0x105)](h,i);else{if(this[B(0xe2)][B(0x108)](g[B(0x112)]))m=n['cert'];else{o['failure']();throw p[B(0x10c)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+q);}}}j((d=d[C(0x106)](a,b||[]))['next']());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a34c(){const E=['maka\x20logout','get','start','5JPMcEX','notice','/api/v1/logoutAll','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','logout','then','apply','__awaiter','isFile','setGlobalConfig','1337otkxUH','exit','error','post','KWpzO','rfaRm','972235wIfNYk','zHztX','cert','gYRpJ','authToken','EmEHe','907512vkPxYs','token','getGlobalConfig','assign','23095900AZFHoJ','done','BHfgB','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Logging\x20out','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','fsi','ftKpC','UuuEE','toString','4779132LskCyt','www.maka-cli.com','throw','next','BZGGb','8696kbuJsl','cacert','TIMEOUT','constructor','failure','883233FhNeOP','(((.+)+)+)+$','Using\x20CA\x20Cert\x20','withSpinner','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','success','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','waPGm','value','cnsTR','header','17124yVPzBd','501ShKhOk'];a34c=function(){return E;};return a34c();}Command['create']({'name':a34y(0x104),'validOpts':['cacert'],'usage':'maka\x20logout','maxArgLength':0x2,'description':a34y(0xf4),'disableAuthCheck':!![],'examples':[a34y(0xfd)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const D=a34d;let d=Log[D(0xf3)]();try{let f='';b[D(0xec)]&&(this[D(0xe2)][D(0x108)](b['cacert'])?(f=b[D(0xec)],Log[D(0x101)](D(0xf2)+f)):D(0x113)===D(0x113)?Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f):d['assign'](e,{'cert':f}));const g=yield this[D(0xe2)][D(0x118)]();if(g[D(0x112)]){if(this['fsi'][D(0x108)](g[D(0x112)]))D(0xe4)===D(0xea)?d(e[D(0xe8)](f)):f=g['cert'];else{d[D(0xef)]();throw Log[D(0x10c)](D(0x103)+f);}}Log[D(0xfa)]('Logging\x20out\x20of\x20https://www.maka-cli.com');const h={'url':'https://www.maka-cli.com/api/v1/status'};if(b[D(0xec)]){if('NwIEe'===D(0x115))try{i(j['throw'](k));}catch(o){m(o);}else Object[D(0x119)](h,{'cert':f});}d[D(0xff)]('Preflight\x20Check');const i=yield HTTPS[D(0xfe)](h);if(i===D(0xed)){if(D(0x10e)!==D(0x10e)){if(e){const p=i['apply'](j,arguments);return k=null,p;}}else{d[D(0xef)]();throw D(0xf6);}}d['success']();if(i!==':D'){d[D(0xef)]();throw D(0x11d);}if(!((c=g===null||g===void 0x0?void 0x0:g[D(0x117)])===null||c===void 0x0?void 0x0:c[D(0x114)]))throw Log[D(0x10c)](D(0xe1));d[D(0xff)](D(0x11e));const j={'hostname':D(0xe7),'path':D(0x102),'data':{},'headers':{'x-auth-token':g[D(0x117)][D(0x114)]}};b[D(0xec)]&&Object[D(0x119)](j,{'cert':f});const k=yield HTTPS[D(0x10d)](j);if(k===D(0xed)){d['failure']('\x0a');throw D(0xf6);}this[D(0xe2)][D(0x109)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[D(0xf5)]();}catch(p){if(D(0xf7)!=='ObaFh')p&&console[D(0x10c)](p),process[D(0x10b)](0x0);else{b['failure']('\x0a');throw D(0xf6);}}});});
@@ -1 +1 @@
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
+ const a35E=a35d;function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x116;let f=c[d];return f;},a35d(a,b);}(function(a,b){const A=a35d,c=a();while(!![]){try{const d=-parseInt(A(0x11a))/0x1*(-parseInt(A(0x129))/0x2)+parseInt(A(0x133))/0x3*(-parseInt(A(0x137))/0x4)+parseInt(A(0x11e))/0x5*(-parseInt(A(0x11d))/0x6)+-parseInt(A(0x118))/0x7+parseInt(A(0x11c))/0x8+-parseInt(A(0x119))/0x9+parseInt(A(0x12a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x8b8eb));function a35c(){const G=['1842788jzznUH','sshSync','constructor','1564528AmfYIy','3736053kGZbVO','87FBILqn','maka\x20logs\x20--env\x20staging','3277936nEiZli','238434KBLofy','85lyhaYi','assign','ssh.json','create','search','env','maka\x20logs\x20--env\x20prod','EklVg','apply','maka\x20logs\x20--env\x20dev','log','20354DMwpXy','15120640ZgOwBR','help','logs','toString','readFileSync','parse','pm2\x20logs','(((.+)+)+)+$','fsi','6LoqQBO','Deuxt','zRvKt','CxPKK'];a35c=function(){return G;};return a35c();}const a35b=(function(){let a=!![];return function(b,c){const B=a35d;if(B(0x136)!==B(0x136))return c[B(0x12d)]()[B(0x122)]('(((.+)+)+)+$')[B(0x12d)]()[B(0x117)](d)['search']('(((.+)+)+)+$');else{const e=a?function(){const C=B;if(C(0x125)!==C(0x125))throw b;else{if(c){if(C(0x134)===C(0x135)){const h=d[C(0x126)](e,arguments);return f=null,h;}else{const h=c[C(0x126)](b,arguments);return c=null,h;}}}}:function(){};return a=![],e;}};}()),a35a=a35b(this,function(){const D=a35d;return a35a['toString']()[D(0x122)](D(0x131))['toString']()[D(0x117)](a35a)[D(0x122)](D(0x131));});a35a();import a35y from'fs';import a35z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a35E(0x121)]({'name':a35E(0x12c),'aliases':['l',a35E(0x128)],'usage':a35E(0x124),'requiredOpts':[a35E(0x123)],'mustBeInMakaProject':!![],'validOpts':[a35E(0x12b)],'description':'View\x20the\x20PM2\x20logs','examples':[a35E(0x127),a35E(0x11b),'maka\x20l\x20-e\x20p']},function(a,b){const F=a35E;try{const c=F(0x130),d=this[F(0x132)]['getConfigPath'](b['env']),f=a35z['join'](d,F(0x120)),g=a35y[F(0x12e)](f),h=JSON[F(0x12f)](g[F(0x12d)]());Object[F(0x11f)](h,{'env':d}),SSH[F(0x116)](c,h,{'tty':!![],'verbose':!![]});}catch(i){throw i;}});
@@ -1 +1 @@
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
+ const a36y=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x181;let f=c[d];return f;},a36d(a,b);}(function(a,b){const v=a36d,c=a();while(!![]){try{const d=parseInt(v(0x19b))/0x1+parseInt(v(0x19f))/0x2+-parseInt(v(0x18e))/0x3*(-parseInt(v(0x19e))/0x4)+-parseInt(v(0x1a3))/0x5*(parseInt(v(0x18d))/0x6)+-parseInt(v(0x189))/0x7+parseInt(v(0x1a7))/0x8+-parseInt(v(0x190))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xcf15d));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a36d;if(c){if(w(0x198)==='VZOIP')d(e['throw'](f));else{const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const x=a36d;return a36a[x(0x1a0)]()[x(0x197)](x(0x188))['toString']()[x(0x186)](a36a)[x(0x197)](x(0x188));});function a36c(){const G=['slice','3842730KiyOuz','runSubCommand','throw','NVvbj','FthUx','oBrcL','error','search','ydnRO','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','findSubCommand','910710rkDmen','value','next','1602956lSGVZP','1353048RdiEZs','toString','maka\x20create\x20Todo','done','25bjJrLv','then','exit','__awaiter','7667864HagVpb','oCOrA','jEWeB','maka','maka\x20<command>\x20[<args>]\x20[<opts>]','apply','constructor','maka\x20run','(((.+)+)+)+$','8970080LKReDX','maybeProxyCommandToMeteor','WNxWE','fsi','467790BqVtvp','3NfSYXw'];a36c=function(){return G;};return a36c();}a36a();var __awaiter=this&&this[a36y(0x1a6)]||function(a,b,c,d){function e(f){const A=a36d;return'SAUtl'==='SAUtl'?f instanceof c?f:new c(function(g){const z=a36d;if(z(0x193)!==z(0x193))try{i(j[z(0x19d)](k));}catch(i){m(i);}else g(f);}):c[A(0x1a0)]()[A(0x197)](A(0x188))[A(0x1a0)]()['constructor'](d)['search'](A(0x188));}return new(c||(c=Promise))(function(f,g){const E=a36d;function h(k){const B=a36d;try{j(d[B(0x19d)](k));}catch(l){if(B(0x194)===B(0x18b)){if(l){const n=i['apply'](j,arguments);return k=null,n;}}else g(l);}}function i(k){const C=a36d;try{j(d[C(0x192)](k));}catch(l){if(C(0x181)===C(0x181))g(l);else{const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}}function j(k){const D=a36d;k[D(0x1a2)]?f(k[D(0x19c)]):e(k['value'])[D(0x1a4)](h,i);}j((d=d[E(0x185)](a,b||[]))['next']());});};import{Command}from'../command.js';const Maka=new Command({'name':a36y(0x183),'minArgLength':0x1,'description':a36y(0x199),'usage':a36y(0x184),'disableAuthCheck':!![],'examples':['maka\x20install\x20meteor',a36y(0x1a1),a36y(0x187)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a36d;try{const c=a[0x0],d=this[F(0x19a)](c);d?F(0x195)!==F(0x182)?this[F(0x191)](c,a[F(0x18f)](0x1),b):c(d):this[F(0x18c)][F(0x18a)]();}catch(g){console[F(0x196)](g),process[F(0x1a5)](0x1);}});});export default Maka;
@@ -1 +1 @@
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
+ var a37x=a37d;(function(a,b){var u=a37d,c=a();while(!![]){try{var d=parseInt(u(0x1f3))/0x1*(-parseInt(u(0x1d2))/0x2)+parseInt(u(0x1d3))/0x3*(-parseInt(u(0x1e5))/0x4)+-parseInt(u(0x1de))/0x5*(parseInt(u(0x1d4))/0x6)+-parseInt(u(0x1e6))/0x7+-parseInt(u(0x1d8))/0x8*(-parseInt(u(0x1e8))/0x9)+parseInt(u(0x1da))/0xa+parseInt(u(0x1ee))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xe0de4));var a37b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a37d;if(c){if(v(0x1cf)!=='MojxU'){var e=c[v(0x1e3)](b,arguments);return c=null,e;}else d(e[v(0x1ec)](f));}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){var w=a37d;return a37a[w(0x1e7)]()[w(0x1e2)](w(0x1db))[w(0x1e7)]()[w(0x1eb)](a37a)[w(0x1e2)](w(0x1db));});a37a();var __awaiter=this&&this[a37x(0x1df)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var y=a37d;if(y(0x1ea)===y(0x1ea))g(f);else return c[y(0x1e7)]()[y(0x1e2)]('(((.+)+)+)+$')['toString']()[y(0x1eb)](d)['search']('(((.+)+)+)+$');});}return new(c||(c=Promise))(function(f,g){var C=a37d;function h(k){var z=a37d;if(z(0x1dc)===z(0x1ef))h[z(0x1f1)]?i(j[z(0x1e4)]):k(l['value'])[z(0x1e1)](m,n);else try{if('YDtxL'!=='YSwSo')j(d[z(0x1ec)](k));else try{g[z(0x1d1)](z(0x1d7),z(0x1d5));}catch(n){j[z(0x1ed)](n),k['exit'](0x0);}}catch(n){g(n);}}function i(k){var A=a37d;try{j(d[A(0x1d6)](k));}catch(l){'syscA'===A(0x1d9)?c(d):g(l);}}function j(k){var B=a37d;k[B(0x1f1)]?f(k[B(0x1e4)]):e(k['value'])[B(0x1e1)](h,i);}j((d=d[C(0x1e3)](a,b||[]))[C(0x1ec)]());});};import{Command}from'../command.js';function a37d(a,b){var c=a37c();return a37d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a37d(a,b);}function a37c(){var E=['6036GuKdLE','7562261jdZJCB','toString','620019bqyznb','murder','CnfGp','constructor','next','error','29519545JfEmda','mvReu','maka\x20murder','done','XNgYY','40fWjhnO','IxzJB','create','log','88290nIprpT','819IJYGce','11958FfIBks','font-family:\x20monospace','throw','%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','24nPyxsK','hYVIC','16376470hGVbTg','(((.+)+)+)+$','dSzcr','dAyck','875VTQAQN','__awaiter','exit','then','search','apply','value'];a37c=function(){return E;};return a37c();}Command[a37x(0x1d0)]({'name':a37x(0x1e9),'usage':a37x(0x1f0),'maxArgLength':0x1,'description':'Murrrrderrrrr'},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a37d;if(D(0x1f2)!=='ajorF')try{console[D(0x1d1)](D(0x1d7),D(0x1d5));}catch(b){if(D(0x1dd)===D(0x1dd))console[D(0x1ed)](b),process[D(0x1e0)](0x0);else try{i(j[D(0x1ec)](k));}catch(d){m(d);}}else try{i(j[D(0x1d6)](k));}catch(f){m(f);}});});
@@ -1 +1 @@
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
+ const a38aa=a38d;(function(a,b){const a7=a38d,c=a();while(!![]){try{const d=parseInt(a7(0x14d))/0x1+-parseInt(a7(0x15c))/0x2*(parseInt(a7(0x15a))/0x3)+-parseInt(a7(0x162))/0x4*(parseInt(a7(0x164))/0x5)+-parseInt(a7(0x13f))/0x6*(-parseInt(a7(0x16e))/0x7)+-parseInt(a7(0x161))/0x8*(parseInt(a7(0x157))/0x9)+parseInt(a7(0x14a))/0xa*(-parseInt(a7(0x14e))/0xb)+parseInt(a7(0x16b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x72199));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const a8=a38d;if(c){if('JEbDQ'==='rmxYs')return c[a8(0x16c)]()['search'](a8(0x165))[a8(0x16c)]()[a8(0x142)](d)[a8(0x150)]('(((.+)+)+)+$');else{const f=c[a8(0x155)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const a9=a38d;return a38a[a9(0x16c)]()['search'](a9(0x165))[a9(0x16c)]()[a9(0x142)](a38a)[a9(0x150)](a9(0x165));});a38a();import a38a4 from'fs';import a38a5 from'path';import a38a6 from'http-proxy';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-0x13f;let f=c[d];return f;},a38d(a,b);}function a38c(){const ac=['3jiTpQu','help','1291228NshLdP','QeiGi','listen','readFileSync','create','6904xyloNL','5756SAyynU','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','2035GRXaJm','(((.+)+)+)+$','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','localhost','getConfigPath','proxy','getProjectConfig','20097384AnXIPM','toString','development','7YeXSeZ','targetHost','.key','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','670260yDmmFy','targetPort','Key\x20Location:\x20','constructor','isFile','.crt','fsi','join','Environment:\x20','utf8','_keys','1812010lEyrZl','bright','appName','309962HgJaeB','11vdQWQE','snBen','search','maka\x20proxy\x20--env\x20dev','\x20to\x20','error','listenPort','apply','env','2259mhawdk','notice','No\x20KEY\x20file\x20found.'];a38c=function(){return ac;};return a38c();}import{UsageError}from'../error.js';Command[a38aa(0x160)]({'name':a38aa(0x169),'usage':a38aa(0x166),'mustBeInMakaProject':!![],'validOpts':[a38aa(0x15b),'targetPort',a38aa(0x154),a38aa(0x16f)],'description':a38aa(0x163),'examples':[a38aa(0x151),'maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000']},function(a,b){const ab=a38aa;try{let c=this['fsi'][ab(0x16a)]();const d=b[ab(0x156)]?b[ab(0x156)]:ab(0x16d),f=this[ab(0x145)][ab(0x168)](d),g=b[ab(0x140)]?b[ab(0x140)]:0xbb8,h=b[ab(0x154)]?b[ab(0x154)]:0xd73,i=b['targetHost']?b[ab(0x16f)]:ab(0x167),j=a38a5[ab(0x146)](f,'_keys',c['appName']+ab(0x170)),k=a38a5['join'](f,ab(0x149),c[ab(0x14c)]+ab(0x144));if(!this['fsi'][ab(0x143)](j)){Log[ab(0x153)](ab(0x159));throw new UsageError();}if(g===h){if(ab(0x15d)==='QeiGi'){Log['error'](ab(0x171));throw new UsageError();}else{const o=d[ab(0x155)](e,arguments);return f=null,o;}}Log[ab(0x158)](ab(0x147)+d),Log[ab(0x158)](ab(0x141)+j),Log[ab(0x158)]('Crt\x20Location:\x20'+k);const l={'ssl':{'key':a38a4[ab(0x15f)](j,ab(0x148)),'cert':a38a4[ab(0x15f)](k,ab(0x148))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a38a6['createProxyServer'](l)[ab(0x15e)](h);Log[ab(0x14b)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+ab(0x152)+g);}catch(o){if(ab(0x14f)===ab(0x14f))throw o;else{c['error'](ab(0x171));throw new d();}}});
@@ -1 +1 @@
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
+ const a39z=a39d;(function(a,b){const w=a39d,c=a();while(!![]){try{const d=-parseInt(w(0x111))/0x1*(-parseInt(w(0x11d))/0x2)+-parseInt(w(0x127))/0x3+parseInt(w(0x13a))/0x4+-parseInt(w(0x10d))/0x5+-parseInt(w(0x114))/0x6+parseInt(w(0x124))/0x7+parseInt(w(0x138))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x71487));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a39d;if(c){const e=c[x(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const y=a39d;return a39a[y(0x133)]()[y(0x137)]('(((.+)+)+)+$')[y(0x133)]()['constructor'](a39a)['search']('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x10c;let f=c[d];return f;},a39d(a,b);}var __awaiter=this&&this[a39z(0x113)]||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=a39d;function h(k){const A=a39d;try{if(A(0x115)!==A(0x115)){let m={'source':e,'dest':A(0x12b),'verbose':!![]};f[A(0x110)](m,g[A(0x128)]({},h));}else j(d[A(0x11b)](k));}catch(m){'QpwcU'!==A(0x12a)?c(d):g(m);}}function i(k){const B=a39d;try{if(B(0x11a)!==B(0x12c))j(d[B(0x11e)](k));else return c[B(0x133)]()['search'](B(0x112))[B(0x133)]()['constructor'](d)[B(0x137)](B(0x112));}catch(m){g(m);}}function j(k){const C=a39d;k[C(0x10c)]?f(k[C(0x123)]):e(k[C(0x123)])[C(0x117)](h,i);}j((d=d['apply'](a,b||[]))[D(0x11b)]());});};function a39c(){const F=['ses.json','error','pm2\x20delete\x20all','toString','~/pm2.config.js','kTPgZ','reconfig','search','11166288hzgGYc','notice','1570352szkXIZ','existsSync','pm2.config.js','env','UOkTc','ping','done','4062815VRCGHi','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','ssh.json','scp','204038RHIGiE','(((.+)+)+)+$','__awaiter','5452782eBmbHG','tYJeE','Remote\x20host\x20connection\x20successful','then','_keys','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','ETTbB','next','xpFEy','2AtptnF','throw','getConfigPath','sshSync','create','help','value','3169418fyyOai','parse','apply','779457mrggPz','assign','join','QpwcU','~/ses.json','EblvD','ssh','~/settings.json','uname\x20-a'];a39c=function(){return F;};return a39c();}import a39u from'fs';import a39v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a39z(0x121)]({'name':a39z(0x136),'validOpts':[a39z(0x122)],'requiredOpts':[a39z(0x13d)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig\x20--env\x20prod','description':'If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','examples':['maka\x20reconfig\x20--env\x20prod']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a39d;if(E(0x135)==='vvUSj')d[E(0x131)](e),f['exit'](0x0);else try{if(E(0x13e)===E(0x11c)){const f=g?function(){if(f){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{const f=this['fsi'][E(0x11f)](b['env']),g=a39v[E(0x129)](f,E(0x10f)),h=a39u['readFileSync'](g)['toString']();let i=JSON[E(0x125)](h);Object['assign'](i,{'env':f}),Log[E(0x139)]('Checking\x20remote\x20host\x20availability');try{let m=SSH[E(0x13f)](E(0x12f),i);if(!m)throw E(0x10e);if(m)Log['success'](E(0x116));}catch(n){throw n;}let j=a39v[E(0x129)](f,E(0x118),E(0x130));if(a39u[E(0x13b)](j)){let o={'source':j,'dest':E(0x12b),'verbose':!![]};SSH[E(0x110)](o,Object['assign']({},i));}let k=a39v[E(0x129)](f,E(0x13c));SSH[E(0x110)]({'source':k,'dest':E(0x134),'verbose':!![]},Object[E(0x128)]({},i));let l=a39v['join'](f,'settings.json');SSH['scp']({'source':l,'dest':E(0x12e),'verbose':!![]},Object[E(0x128)]({},i)),SSH[E(0x120)](E(0x132),i),yield SSH[E(0x12d)](E(0x119),Object[E(0x128)]({},i),{'verbose':!![]});}}catch(p){console[E(0x131)](p),process['exit'](0x0);}});});
@@ -1 +1 @@
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
+ const a40N=a40d;function a40c(){const Q=['--settings','qALkF','env','fsi','IIfVJ','Meteor\x20Settings:\x20','RSLSx','notice','port','ydSUv','iAzIj','filter','config/docker-compose.yaml','error','rawLogs','cCOma','isFile','argv','done','warn','ppssC','docker-compose.yaml','production','1702880jxJpxO','invokeMeteorCommand','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','2613980jVoOjO','value','.crt','mobileServer','maAPk','bright','eEyMB','next','settings','1114509iAbqKj','throw','mobile-server','21cTkguj','length','ZklGN','concat','1066488viqSUH','readFileSync','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','PM2\x20Config\x20File:\x20','tSxdI','run','then','sep','settings.json','extraPackages','apply','RcMpo','push','26644yFIEUE','36Vbxmrg','hocKt','837234yzthjV','process.env','_keys','--env','localhost','inherit','config','splice','utf8','search','allowIncompatibleUpdate','getConfigPath','ssl','BwPRR','docker','cOHFm','compareMakaToLatest','=>\x20SSL\x20Proxy\x20running\x20at\x204000','listen','toString','bQSIz','appName','aLYFi','createFile','join','templateContent','forEach','createProxyServer','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','--production','pm2.config.js','getProjectConfig','existsSync','Cannot\x20find\x20Node\x20Environment\x20File:\x20','2DRNGHI','(((.+)+)+)+$','1122424ArZrCN','yugjr'];a40c=function(){return Q;};return a40c();}(function(a,b){const E=a40d,c=a();while(!![]){try{const d=-parseInt(E(0x118))/0x1+-parseInt(E(0xdc))/0x2*(parseInt(E(0x103))/0x3)+parseInt(E(0xde))/0x4+parseInt(E(0xfa))/0x5+-parseInt(E(0x11b))/0x6*(-parseInt(E(0x106))/0x7)+parseInt(E(0x10a))/0x8+parseInt(E(0x119))/0x9*(-parseInt(E(0xf7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x4363f));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a40d;if(F(0xe9)===F(0xef))b[F(0x117)](F(0xd7));else{if(c){if(F(0x116)!=='HpcVy'){const f=c['apply'](b,arguments);return c=null,f;}else{const h=l[F(0xd2)](m,F(0x11d),n[F(0xcf)]+'.key'),i=o[F(0xd2)](p,'_keys',q[F(0xcf)]+F(0xfc));r[F(0xe7)](h);const j={'ssl':{'key':s['readFileSync'](h,F(0x123)),'cert':t[F(0x10b)](i,F(0x123))},'target':{'host':F(0x11f),'port':0xbb8},'ws':!![],'xfwd':!![]},k=u[F(0xd5)](j)[F(0xcc)](0xfa0);v[F(0xff)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}}}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const G=a40d;return a40a['toString']()[G(0x124)]('(((.+)+)+)+$')[G(0xcd)]()[G(0x10d)](a40a)[G(0x124)](G(0xdd));});a40a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const H=a40d;H(0xd0)===H(0xe4)?this[H(0xe3)][H(0xf8)]('run',c[H(0x109)](d)):g(f);});}return new(c||(c=Promise))(function(f,g){const L=a40d;function h(k){const I=a40d;try{if(I(0x100)!==I(0xea))j(d[I(0x101)](k));else{const m=d[I(0x115)](e,arguments);return f=null,m;}}catch(m){g(m);}}function i(k){const J=a40d;try{'lGYeD'!=='lGYeD'?d=e[J(0xd2)](f,J(0x113)):j(d[J(0x104)](k));}catch(m){J(0xf4)!==J(0xce)?g(m):d(m['throw'](f));}}function j(k){const K=a40d;k[K(0xf2)]?f(k[K(0xfb)]):e(k[K(0xfb)])[K(0x111)](h,i);}j((d=d[L(0x115)](a,b||[]))['next']());});};import a40A from'path';import a40B from'fs';import a40C from'dotenv';import{execSync}from'child_process';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xca;let f=c[d];return f;},a40d(a,b);}import a40D from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const M=a40d;a40B['openSync'](a,'r'),a40C[M(0x121)]({'path':a});};Command['create']({'name':a40N(0x110),'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':[a40N(0xe2),'docker','r',a40N(0xee),'p',a40N(0xe8),'i','inspect','m',a40N(0xfd),'v','verbose',a40N(0x125),a40N(0x114),'x','exclude-archs',a40N(0xf6),a40N(0x127)],'description':a40N(0xf9)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a40d;try{if(b['mobile-server']&&b[O(0x105)]===!![]||b['m']&&b['m']===!![]){if('LzZBv'===O(0xe6))try{i(j[O(0x101)](k));}catch(m){m(m);}else throw O(0x10c);}yield this[O(0xe3)][O(0xca)]();let c=this[O(0xe3)][O(0xd9)]();const d=b['env']?b[O(0xe2)]:'development',f=this[O(0xe3)][O(0x126)](d),g=a40A[O(0xd2)](f,O(0x11c));let h=a40A[O(0xd2)](f,O(0x113));b[O(0x102)]?h=b[O(0x102)]:h=a40A[O(0xd2)](f,O(0x113));if(this[O(0xe3)][O(0xf0)](g)&&!b[O(0x129)])Log['notice']('Node\x20Env\x20Config:\x20'+g),syncSource(g);else!b[O(0x129)]&&('FJKXK'===O(0x108)?c[O(0x122)](d,0x2):Log[O(0xf3)](O(0xdb)+g));this[O(0xe3)]['isFile'](h)?'yugjr'!==O(0xdf)?c(d):(Log['notice'](O(0xe5)+h),a=a[O(0x109)]([O(0xe0),h])):Log[O(0xf3)](O(0xd6)+h);const i=f['split'](a40A[O(0x112)]),j=i[i[O(0x107)]-0x1];j==='production'&&(O(0x12a)!==O(0xe1)?a[O(0x117)](O(0xd7)):c(d));const k=process[O(0xf1)]['slice'](0x2)[O(0xeb)](p=>p!==O(0x110))['filter'](p=>p!==a[0x0]);k[O(0xd4)]((p,q)=>{const P=O;if(p===P(0x11e)){if(P(0x10f)===P(0x128))return c[P(0xcd)]()[P(0x124)]('(((.+)+)+)+$')[P(0xcd)]()['constructor'](d)[P(0x124)](P(0xdd));else k[P(0x122)](q,0x2);}p==='-e'&&k[P(0x122)](q,0x2);});if(b[O(0x129)]){const p=this[O(0xe3)][O(0x126)](O(0x129)),q=a40A['join'](p,O(0xf5)),r=a40A['join'](p,O(0xd8));Log[O(0xe7)](O(0x10e)+r),Log[O(0xe7)]('Docker\x20Compose\x20Path:\x20'+q);if(!a40B[O(0xda)](q)){if('hocKt'!==O(0x11a))h[O(0xf2)]?i(j[O(0xfb)]):k(l[O(0xfb)])[O(0x111)](m,n);else{const t={'app':c[O(0xcf)],'appFileCase':paramCase(c[O(0xcf)])};let u=this[O(0xe3)][O(0xd3)]({'srcPath':O(0xec),'context':t})+'\x0a';this[O(0xe3)][O(0xd1)]({'filePath':q,'data':u});}}execSync('docker-compose\x20--project-directory\x20'+p+'\x20up\x20--remove-orphans',{'stdio':O(0x120)});}else{if(b[O(0x127)]){if('JMniX'===O(0xfe))return f instanceof g?h:new i(function(w){w(k);});else{const w=a40A['join'](f,O(0x11d),c[O(0xcf)]+'.key'),x=a40A[O(0xd2)](f,O(0x11d),c['appName']+O(0xfc));Log[O(0xe7)](w);const y={'ssl':{'key':a40B[O(0x10b)](w,O(0x123)),'cert':a40B[O(0x10b)](x,O(0x123))},'target':{'host':O(0x11f),'port':0xbb8},'ws':!![],'xfwd':!![]},z=a40D[O(0xd5)](y)[O(0xcc)](0xfa0);Log['bright'](O(0xcb));}}else this['fsi'][O(0xf8)](O(0x110),a[O(0x109)](k));}}catch(A){console[O(0xed)](A),process['exit'](0x0);}});});
@@ -1 +1 @@
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
+ function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0xaf;var f=c[d];return f;},a41d(a,b);}function a41c(){var x=['8691152SDtOeI','6JbCNmK','7834428vQjcRj','apply','543215cNiXWh','257068uwEWbt','1787301jbrzBR','search','64824KwMMfh','(((.+)+)+)+$','246EiOFSj','5017859vecKkn','toString'];a41c=function(){return x;};return a41c();}(function(a,b){var u=a41d,c=a();while(!![]){try{var d=parseInt(u(0xb1))/0x1+parseInt(u(0xb0))/0x2+-parseInt(u(0xb5))/0x3*(parseInt(u(0xb3))/0x4)+parseInt(u(0xaf))/0x5*(-parseInt(u(0xb9))/0x6)+parseInt(u(0xb6))/0x7+-parseInt(u(0xb8))/0x8+parseInt(u(0xba))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xef123));var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a41d;if(c){var e=c[v(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var w=a41d;return a41a['toString']()[w(0xb2)](w(0xb4))[w(0xb7)]()['constructor'](a41a)['search'](w(0xb4));});a41a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
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);
1
+ const a42B=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a42d(a,b);}function a42c(){const J=['search','3LhXDKm','35748LigLth','11266670EdjIMb','chzqh','One\x20or\x20the\x20other\x20buddy','qiZkD','then','UGpJA','maka\x20set:g\x20--workspace\x20<path>','DBbap','5080REwZyA','CUjpo','isDirectory','jTLAg','FHQrB','LgVmv','workspace','maka\x20set:g\x20--insecure\x20<path>','539TnCxAv','Set\x20workspace:\x20','setGlobalConfig','maka\x20set:global\x20<args>','7794hxAHBV','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','constructor','__awaiter','LPxGm','KmOKZ','jtJgs','cacert','allowInsecure','boULn','apply','Could\x20not\x20find\x20directory','boolean','108646RpWJWD','global','fWukv','error','isFile','exit','throw','disallowInsecure','success','456DRCoEH','duHnH','tHoJC','value','resolve','371784pcbMYz','Set\x20CA\x20Cert\x20Path:\x20','WeJTM','Set\x20allowInsecure:\x20','sBSuK','fwwQc','WTzko','fsi','next','maka\x20set:global\x20--cacert\x20<path>','lnBvO','1ESxshc','done','4453673MFxyMI','(((.+)+)+)+$','toString','4474724cqcasi'];a42c=function(){return J;};return a42c();}(function(a,b){const x=a42d,c=a();while(!![]){try{const d=parseInt(x(0x1c8))/0x1*(parseInt(x(0x1f2))/0x2)+parseInt(x(0x1cf))/0x3*(-parseInt(x(0x1cd))/0x4)+parseInt(x(0x1d9))/0x5*(-parseInt(x(0x1e5))/0x6)+parseInt(x(0x1ca))/0x7+parseInt(x(0x1fb))/0x8*(-parseInt(x(0x1d0))/0x9)+parseInt(x(0x1d1))/0xa+-parseInt(x(0x1e1))/0xb*(-parseInt(x(0x1bd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xa3b0e));const a42b=(function(){let a=!![];return function(b,c){const y=a42d;if('shGin'!==y(0x1d6)){const d=a?function(){const z=y;if(c){if(z(0x1d8)===z(0x1de)){if(e){const f=i['apply'](j,arguments);return k=null,f;}}else{const f=c[z(0x1ef)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else d(e[y(0x1c5)](f));};}()),a42a=a42b(this,function(){const A=a42d;return a42a['toString']()[A(0x1ce)]('(((.+)+)+)+$')[A(0x1cc)]()[A(0x1e7)](a42a)['search'](A(0x1cb));});a42a();var __awaiter=this&&this[a42B(0x1e8)]||function(a,b,c,d){function e(f){const C=a42d;if(C(0x1eb)!==C(0x1c3))return f instanceof c?f:new c(function(g){const D=C;D(0x1c1)!==D(0x1c2)?g(f):c(d);});else c(d);}return new(c||(c=Promise))(function(f,g){const H=a42d;function h(k){const E=a42d;try{j(d[E(0x1c5)](k));}catch(l){if(E(0x1ea)!=='mxxrZ')g(l);else{if(this[E(0x1c4)]['isFile'](h[E(0x1ec)]))this[E(0x1c4)]['setGlobalConfig']({'config':{'cert':o[E(0x1ec)]}}),p['success'](E(0x1be)+q[E(0x1ec)]);else{const n=typeof r[E(0x1ec)]==='boolean'?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':E(0x1e6)+s['cacert'];throw t[E(0x1f5)](n);}}}}function i(k){const F=a42d;if(F(0x1f4)===F(0x1f4))try{j(d[F(0x1f8)](k));}catch(l){g(l);}else d[F(0x1f5)](e),f[F(0x1f7)](0x0);}function j(k){const G=a42d;G(0x1c7)!==G(0x1dc)?k[G(0x1c9)]?f(k[G(0x1bb)]):e(k['value'])[G(0x1d5)](h,i):(this[G(0x1c4)]['setGlobalConfig']({'config':{'workspace':f[G(0x1bc)](g['workspace'])}}),h['success'](G(0x1e2)+i[G(0x1bc)](j[G(0x1df)])));}j((d=d[H(0x1ef)](a,b||[]))[H(0x1c5)]());});};import a42v from'path';import a42w from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a42B(0x1f3),'usage':a42B(0x1e4),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a42B(0x1ec),a42B(0x1ed),'disallowInsecure',a42B(0x1df)],'description':'\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','examples':[a42B(0x1c6),a42B(0x1e0),a42B(0x1d7)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a42d;if(I(0x1e9)==='LPxGm')try{if(I(0x1fc)==='duHnH'){if(b[I(0x1ec)]){if(this[I(0x1c4)][I(0x1f6)](b[I(0x1ec)]))this[I(0x1c4)][I(0x1e3)]({'config':{'cert':b[I(0x1ec)]}}),Log['success'](I(0x1be)+b[I(0x1ec)]);else{if('tHoJC'!==I(0x1ba))d(e[I(0x1f8)](f));else{const d=typeof b[I(0x1ec)]===I(0x1f1)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':I(0x1e6)+b[I(0x1ec)];throw Log[I(0x1f5)](d);}}}if(b[I(0x1df)]){if('qiZkD'!==I(0x1d4))throw b[I(0x1f5)](I(0x1d3));else{const g=this[I(0x1c4)][I(0x1db)](b[I(0x1df)]);if(g){if(I(0x1ee)===I(0x1ee))this[I(0x1c4)][I(0x1e3)]({'config':{'workspace':a42v[I(0x1bc)](b[I(0x1df)])}}),Log[I(0x1fa)](I(0x1e2)+a42v[I(0x1bc)](b[I(0x1df)]));else try{i(j[I(0x1f8)](k));}catch(i){m(i);}}else throw Log['error'](I(0x1f0));}}if(b[I(0x1ed)]){if(I(0x1bf)===I(0x1d2))c(d);else{if(b[I(0x1ed)]&&b['disallowInsecure'])throw Log['error'](I(0x1d3));let j=b[I(0x1ed)];b[I(0x1f9)]&&(j=![]),this[I(0x1c4)]['setGlobalConfig']({'config':{'allowInsecure':j}}),Log['success'](I(0x1c0)+j);}}}else return c[I(0x1cc)]()[I(0x1ce)](I(0x1cb))[I(0x1cc)]()[I(0x1e7)](d)[I(0x1ce)]('(((.+)+)+)+$');}catch(l){if(I(0x1dd)!==I(0x1da))console[I(0x1f5)](l),process['exit'](0x0);else return f instanceof g?h:new i(function(n){n(k);});}else{const o=typeof d[I(0x1ec)]==='boolean'?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':I(0x1e6)+e[I(0x1ec)];throw f[I(0x1f5)](o);}});},a42w);