@maka/maka-cli 4.2.9 → 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 -1
  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 a28E=a28d;(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0xdc))/0x1+-parseInt(v(0xd5))/0x2*(parseInt(v(0xf3))/0x3)+parseInt(v(0xe3))/0x4+parseInt(v(0xe2))/0x5+-parseInt(v(0xd7))/0x6+-parseInt(v(0xdb))/0x7+parseInt(v(0xea))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xeeb76));function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0xd5;var f=c[d];return f;},a28d(a,b);}var a28b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a28d;if(w(0xe7)===w(0xe7)){if(c){var e=c[w(0xf0)](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){var x=a28d;return a28a[x(0xec)]()[x(0xe8)](x(0xe4))['toString']()[x(0xdd)](a28a)[x(0xe8)](x(0xe4));});a28a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var y=a28d;if(y(0xe5)!==y(0xee))return f instanceof c?f:new c(function(g){var z=y;if(z(0xe1)===z(0xe1))g(f);else return f instanceof g?h:new i(function(m){m(k);});});else{var h=d[y(0xf0)](e,arguments);return f=null,h;}}return new(c||(c=Promise))(function(f,g){var D=a28d;function h(k){var A=a28d;try{j(d[A(0xd6)](k));}catch(l){g(l);}}function i(k){var B=a28d;try{B(0xde)===B(0xf6)?(d[B(0xe6)](e),f[B(0xf1)](0x0)):j(d[B(0xdf)](k));}catch(m){g(m);}}function j(k){var C=a28d;k[C(0xd8)]?f(k['value']):e(k[C(0xe0)])[C(0xed)](h,i);}j((d=d[D(0xf0)](a,b||[]))[D(0xd6)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command[a28E(0xef)]({'name':a28E(0xf4),'usage':a28E(0xf2),'mustBeInMakaProject':!![],'description':'Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a28d;try{const c=yield this[F(0xf5)][F(0xe9)]();console[F(0xd9)](c);}catch(d){F(0xda)===F(0xeb)?c(d):(console[F(0xe6)](d),process[F(0xf1)](0x0));}});},a28u);function a28c(){var G=['local-config','fsi','BMoWH','24KdNDxb','next','9592632wqatEG','done','log','fSVxb','2399579TQfDGl','522810ZxNeas','constructor','FTyWl','throw','value','ZeCqU','1885905qajQyj','3162192kMJGoq','(((.+)+)+)+$','nRBNb','error','MXIYb','search','getProjectConfig','21250080WDRBNU','Vlhvn','toString','then','vYCuQ','create','apply','exit','maka\x20get:local-config','356862XgGwpI'];a28c=function(){return G;};return a28c();}
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);
@@ -1 +1 @@
1
- const a29y=a29d;(function(a,b){const w=a29d,c=a();while(!![]){try{const d=-parseInt(w(0xb5))/0x1*(parseInt(w(0xc1))/0x2)+parseInt(w(0xc7))/0x3+parseInt(w(0xca))/0x4*(parseInt(w(0xae))/0x5)+-parseInt(w(0xab))/0x6*(parseInt(w(0xbc))/0x7)+parseInt(w(0xc3))/0x8+parseInt(w(0xb3))/0x9+parseInt(w(0xa9))/0xa*(-parseInt(w(0xb2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x8172a));function a29d(a,b){const c=a29c();return a29d=function(d,e){d=d-0xa2;let f=c[d];return f;},a29d(a,b);}function a29c(){const G=['apply','127Gwajqi','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','whoami','notice','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','exit','value','470267DIdbZD','then','fhkNk','throw','WDaPl','5596WYaFTf','LTHSA','4072496UQOTqt','ShyfU','User\x20Access\x20Token:\x20\x20','hMGwx','1177080cPKhby','user','search','116CgEvQZ','toString','__awaiter','done','hIjLv','bebqH','decode','userId','hash','20VmLGTt','create','60YDVlYe','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','token','137525JHBaHm','UKWpe','next','(((.+)+)+)+$','4623223dVuQyO','6290037ZQHLmC'];a29c=function(){return G;};return a29c();}const a29b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){const x=a29d;return a29a['toString']()[x(0xc9)]('(((.+)+)+)+$')[x(0xcb)]()['constructor'](a29a)[x(0xc9)](x(0xb1));});a29a();var __awaiter=this&&this[a29y(0xa2)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a29d;if(z(0xaf)!==z(0xc2))g(f);else{if(e){const i=i[z(0xb4)](j,arguments);return k=null,i;}}});}return new(c||(c=Promise))(function(f,g){const D=a29d;function h(k){const A=a29d;if(A(0xc4)!==A(0xc4))h['done']?i(j[A(0xbb)]):k(l['value'])[A(0xbd)](m,n);else try{j(d['next'](k));}catch(m){g(m);}}function i(k){const B=a29d;try{if('WtREH'!=='JMcVO')j(d[B(0xbf)](k));else try{i(j['throw'](k));}catch(m){m(m);}}catch(m){g(m);}}function j(k){const C=a29d;if(C(0xc0)!=='xKFrr')k[C(0xa3)]?f(k[C(0xbb)]):e(k[C(0xbb)])[C(0xbd)](h,i);else return f instanceof g?h:new i(function(m){m(k);});}j((d=d['apply'](a,b||[]))[D(0xb0)]());});};import a29u from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a29v from'jsonwebtoken';Command[a29y(0xaa)]({'name':a29y(0xb7),'usage':'maka\x20get:whoami','description':a29y(0xb9)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a29d;if(E(0xa4)===E(0xbe))try{i(j[E(0xb0)](k));}catch(d){m(d);}else try{const d=yield this['fsi']['getGlobalConfig']();if(d[E(0xa8)]){if(E(0xa5)===E(0xc6)){const g=g?function(){const F=E;if(g){const u=q[F(0xb4)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}else{const g=a29v[E(0xa6)](d['hash']);Log['notice'](E(0xac)+(g===null||g===void 0x0?void 0x0:g[E(0xc8)])),Log['notice'](E(0xb6)+d[E(0xad)][E(0xa7)]),Log[E(0xb8)](E(0xc5)+d[E(0xad)]['authToken']);}}}catch(h){console['error'](h),process[E(0xba)](0x0);}});},a29u);
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 a30x=a30d;(function(a,b){var u=a30d,c=a();while(!![]){try{var d=parseInt(u(0x1ce))/0x1*(-parseInt(u(0x1db))/0x2)+-parseInt(u(0x1e1))/0x3+parseInt(u(0x1dd))/0x4*(parseInt(u(0x1d0))/0x5)+-parseInt(u(0x1d6))/0x6+-parseInt(u(0x1c6))/0x7*(parseInt(u(0x1d9))/0x8)+-parseInt(u(0x1cc))/0x9+parseInt(u(0x1e0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xee13f));var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a30d;if(c){if('lBzSn'===v(0x1d2)){var e=c['apply'](b,arguments);return c=null,e;}else return f instanceof g?h:new i(function(m){m(k);});}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var w=a30d;return a30a['toString']()[w(0x1d8)](w(0x1cb))[w(0x1df)]()['constructor'](a30a)['search'](w(0x1cb));});a30a();var __awaiter=this&&this[a30x(0x1dc)]||function(a,b,c,d){function e(f){var y=a30d;if(y(0x1de)!==y(0x1c9))return f instanceof c?f:new c(function(g){var z=y;if(z(0x1c5)===z(0x1d5)){if(e){var i=i[z(0x1cd)](j,arguments);return k=null,i;}}else g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){var D=a30d;function h(k){var A=a30d;try{j(d[A(0x1da)](k));}catch(l){g(l);}}function i(k){var B=a30d;try{j(d[B(0x1d1)](k));}catch(l){if('YFaKL'!==B(0x1d3))throw new b();else g(l);}}function j(k){var C=a30d;k[C(0x1d4)]?f(k[C(0x1d7)]):e(k[C(0x1d7)])[C(0x1c7)](h,i);}j((d=d[D(0x1cd)](a,b||[]))['next']());});};import{Command}from'../command.js';function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a30d(a,b);}function a30c(){var F=['7712HPSlXF','__awaiter','16nZgybw','IevZy','toString','30193010wreBkI','123699hGtINO','create','YIsVz','1050GRWAcB','then','qyQaq','FXJBo','Try,\x20maka\x20--help','(((.+)+)+)+$','3115134LxiUej','apply','218OhKxQS','help','759985gbXpgj','throw','lBzSn','YFaKL','done','TaFVa','3810930wUeudW','value','search','42080MuItQF','next'];a30c=function(){return F;};return a30c();}import{UsageError}from'../error.js';Command[a30x(0x1e2)]({'name':a30x(0x1cf),'description':a30x(0x1ca),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a30d;if(E(0x1c8)!==E(0x1c8))try{i(j[E(0x1d1)](k));}catch(b){m(b);}else 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
- function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x19c;let f=c[d];return f;},a31d(a,b);}const a31J=a31d;(function(a,b){const B=a31d,c=a();while(!![]){try{const d=-parseInt(B(0x1e3))/0x1*(parseInt(B(0x1ab))/0x2)+parseInt(B(0x1ea))/0x3*(-parseInt(B(0x1e6))/0x4)+-parseInt(B(0x1a6))/0x5*(-parseInt(B(0x1d8))/0x6)+parseInt(B(0x1b2))/0x7*(-parseInt(B(0x1f8))/0x8)+-parseInt(B(0x19d))/0x9+-parseInt(B(0x1c2))/0xa*(parseInt(B(0x1a7))/0xb)+parseInt(B(0x1c0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xb36c2));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a31d;if('BJzyi'!=='hpqcA'){if(c){const e=c[C(0x1b9)](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const D=a31d;return a31a[D(0x1d6)]()[D(0x1cd)](D(0x1f4))['toString']()[D(0x1c1)](a31a)[D(0x1cd)](D(0x1f4));});a31a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const E=a31d;if(E(0x1cc)===E(0x1cc))g(f);else throw E(0x1f2)+b;});}return new(c||(c=Promise))(function(f,g){const I=a31d;function h(k){const F=a31d;if(F(0x19f)==='NoNWR')try{i(j[F(0x1dd)](k));}catch(m){m(m);}else try{j(d[F(0x1dd)](k));}catch(m){g(m);}}function i(k){const G=a31d;if(G(0x1ac)===G(0x1ac))try{j(d['throw'](k));}catch(l){g(l);}else d[G(0x1b0)](e),f[G(0x1a2)](0x0);}function j(k){const H=a31d;H(0x1e9)!==H(0x1e9)?(g[H(0x1e8)](H(0x1bd)+h[H(0x1d2)]),i=j[H(0x1d2)],k=['--cacert',l]):k[H(0x1e2)]?f(k[H(0x1d3)]):e(k[H(0x1d3)])[H(0x1e5)](h,i);}j((d=d[I(0x1b9)](a,b||[]))[I(0x1dd)]());});};import a31x from'os';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['homedir']();Command['create']({'name':a31J(0x1d7),'aliases':['i'],'validOpts':['f',a31J(0x1f3),'v','version',a31J(0x1bf),a31J(0x1d2),a31J(0x1b3)],'usage':a31J(0x1f5),'description':'Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','examples':[a31J(0x1b5),a31J(0x1a1),a31J(0x1c9),a31J(0x1a9),'maka\x20i']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a31d;try{let c=[],d='';if(b[K(0x1d2)]){if(this[K(0x1b8)][K(0x1e1)](b['cacert']))'sBOPi'!==K(0x1ed)?c[K(0x1b0)](d):(Log['notice'](K(0x1bd)+b['cacert']),d=b[K(0x1d2)],c=[K(0x19e),d]);else{if(K(0x1db)!=='PMKDh'){if(this[K(0x1b8)][K(0x1e1)](i[K(0x1d2)]))q[K(0x1e8)](K(0x1bd)+r['cacert']),s=t['cacert'],u=['--cacert',v];else throw K(0x1ee)+w;}else throw K(0x1ee)+d;}}const f=yield this[K(0x1b8)][K(0x1b7)]();if(f['cert']){if(K(0x1d9)===K(0x1d9)){if(this['fsi'][K(0x1e1)](f[K(0x1d5)]))d=f[K(0x1d5)],c=['--cacert',d];else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d;}else g(K(0x1a0)+h+K(0x1cb),{'stdio':K(0x1cf)}),i(K(0x1d1),{'stdio':K(0x1cf)}),j(K(0x19c),{'stdio':'ignore'}),k(K(0x1c6),{'stdio':K(0x1cf)}),l('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':'ignore'});}f[K(0x1de)]&&(Log['warn']('Allowing\x20insecure\x20curl\x20connections.'),c=['-k']);let g=![];b['f']||b['force']?g=!![]:g=yield Actions[K(0x1f6)]('This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?');if(!g){if('WmmLL'!==K(0x1c7)){if(e){const r=i[K(0x1b9)](j,arguments);return k=null,r;}}else throw K(0x1c4);}const h=process['platform']===K(0x1d0),i=process[K(0x1bb)]===K(0x1bc);let j=execSync(K(0x1a4)+c[K(0x1e0)]('\x20')+K(0x1ad))[K(0x1d6)](),k=yield this[K(0x1b8)]['grep'](j,K(0x1da));if(k[K(0x1be)]===0x0){if('ijCxZ'!==K(0x1c5))d(e[K(0x1b4)](f));else throw'Network\x20error,\x20please\x20try\x20again.';}let l=k[0x0]['replace'](/[^0-9.]/gi,'')['replace'](/\r?\n|\r/,'');(typeof b['v']===K(0x1c3)||typeof b[K(0x1c8)]==='string')&&(l=b['v']||b[K(0x1c8)]);let m=a31y[K(0x1e0)](homeDir,K(0x1eb));if(h)Log[K(0x1b6)](K(0x1ba));else{a31z[K(0x1ec)](m)&&(yield SpawnAsync[K(0x1a3)]('rm',[K(0x1e7),m],{'message':K(0x1f7)}));try{const s=i?K(0x1ca):'os.linux.x86_64';yield SpawnAsync[K(0x1a3)](K(0x1dc),[...c,'-s',K(0x1ce)+l+'/meteor-bootstrap-'+s+K(0x1e4),'--output',a31y[K(0x1e0)](homeDir,K(0x1d4))],{'message':K(0x1ef)+l});const t=[K(0x1aa),a31y[K(0x1e0)](homeDir,K(0x1d4)),'-C',homeDir];yield SpawnAsync[K(0x1a3)](K(0x1df),t,{'message':K(0x1b1)+l}),a31A['sync'](a31y[K(0x1e0)](homeDir,K(0x1d4)),{'force':!![]});}catch(u){K(0x1a8)!==K(0x1a5)?console['error'](u):b['warn'](K(0x1ba));}try{execSync('mkdir\x20-p\x20'+homeDir+'/.local/bin',{'stdio':K(0x1cf)}),execSync('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',{'stdio':K(0x1cf)}),execSync(K(0x19c),{'stdio':'ignore'}),execSync(K(0x1c6),{'stdio':K(0x1cf)}),execSync(K(0x1af),{'stdio':'ignore'});}catch(w){K(0x1f1)===K(0x1f1)?console['error'](w):c(d);}Log['success'](K(0x1ae)+l+'\x20installed.\x0a');}}catch(y){if(K(0x1f0)===K(0x1f0))console[K(0x1b0)](y),process['exit'](0x0);else{if(this[K(0x1b8)][K(0x1e1)](g[K(0x1d5)]))m=n['cert'],o=['--cacert',p];else throw K(0x1f2)+q;}}});});function a31c(){const L=['-rf','notice','sjQGF','3CXpvoe','.meteor','existsSync','sBOPi','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Downloading\x20meteor\x20version\x20','fisld','lPgrk','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','force','(((.+)+)+)+$','maka\x20install','confirm','Removing\x20previous\x20install\x20of\x20meteor','8612728JPKPmy','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','7626087mrlHPO','--cacert','hzTxM','mkdir\x20-p\x20','maka\x20install\x20meteor\x20--force','exit','withSpinner','curl\x20','RAeac','3047485FTuwlT','407pBxiUX','RnNwA','maka\x20install\x20meteor\x20--version\x201.12.1','-xzf','354MjqcgM','tTsXM','\x20-s\x20https://install.meteor.com/','Meteor\x20version\x20','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','error','Installing\x20meteor\x20','7cTyGhO','keepInstall','throw','maka\x20install\x20meteor','warn','getGlobalConfig','fsi','apply','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','platform','darwin','Using\x20CA\x20Cert\x20','length','debug','29599164rAwwHm','constructor','81680ODcegq','string','Aborted','ijCxZ','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','WmmLL','version','maka\x20install\x20meteor\x20-v\x202.3.6','os.osx.x86_64','/.local/bin','oiigg','search','https://static-meteor.netdna-ssl.com/packages-bootstrap/','ignore','win32','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','cacert','value','meteor.tar.gz','cert','toString','install','12cOhOnv','LrNzC','RELEASE=','PMKDh','curl','next','allowInsecure','tar','join','isFile','done','740LfISUQ','.tar.gz','then','2374188WFIETA'];a31c=function(){return L;};return a31c();}
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
- const a32A=a32d;(function(a,b){const w=a32d,c=a();while(!![]){try{const d=parseInt(w(0x1c7))/0x1*(-parseInt(w(0x1e2))/0x2)+-parseInt(w(0x1e7))/0x3+parseInt(w(0x1d6))/0x4+-parseInt(w(0x1c1))/0x5+-parseInt(w(0x1ed))/0x6+-parseInt(w(0x1cd))/0x7*(-parseInt(w(0x1df))/0x8)+parseInt(w(0x1d4))/0x9*(parseInt(w(0x1cf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x5f05a));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a32d;if('FXlzx'===x(0x1d3)){const f=g?function(){const y=x;if(f){const u=q[y(0x1d9)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{if(c){if(x(0x1dc)!==x(0x1dc)){const h=d['apply'](e,arguments);return f=null,h;}else{const g=c[x(0x1d9)](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const z=a32d;return a32a[z(0x1bd)]()[z(0x1cc)](z(0x1c0))[z(0x1bd)]()['constructor'](a32a)[z(0x1cc)]('(((.+)+)+)+$');});a32a();import a32u from'path';function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a32d(a,b);}import a32v from'fs';function a32c(){const C=['logWithSpinner','jsdoc','inherit','\x20-d\x20','maka\x20jsdoc','2471070kiICJD','toString','sep','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','(((.+)+)+)+$','105205yNwmxw','\x20-r\x20app','app/private','create','stringify','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','362891JQXKBo','logError','logNotice','maka\x20jsdoc\x20--init','app/public','search','14SRiKWD','.+\x5c.(j|t)s(doc|x)?$','926710TAdKtp','docs','BfpaC','\x0a[+]\x20Documentation\x20written\x20to\x20','dHbsr','81LnzzJK','isFile','352300SmRfme','pathFromProject','writeFileSync','apply','stop','fsi','mbBuG','\x20-c\x20','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','3066664tXFWyk','config','app/node_modules','2ZnteNV','jsdoc-config.json','app/packages','join','closure','1511379MIQPMo'];a32c=function(){return C;};return a32c();}import{execSync}from'child_process';import{Command}from'../command.js';Command[a32A(0x1c4)]({'name':a32A(0x1e9),'usage':a32A(0x1ec),'mustBeInMakaProject':!![],'description':a32A(0x1c6),'examples':[a32A(0x1ca),a32A(0x1ec)]},function(a){const B=a32A;let b=a32u['join'](this[B(0x1db)][B(0x1d7)]({}),B(0x1d0)+a32u[B(0x1be)]),c=a32u[B(0x1e5)](this[B(0x1db)][B(0x1d7)]({}),B(0x1e0),B(0x1e3)),d=this['fsi'][B(0x1d7)]({}),f='jsdoc';if(!this[B(0x1d5)](c)){let h={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc',B(0x1e6)]},'source':{'includePattern':B(0x1ce),'excludePattern':B(0x1de),'exclude':[B(0x1e4),B(0x1e1),B(0x1cb),B(0x1c3)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a32v[B(0x1d8)](c,JSON[B(0x1c5)](h,null,0x4));}let g=this[B(0x1e8)]('Running\x20'+f);try{let i=f+B(0x1dd)+c+B(0x1c2)+a32u[B(0x1be)]+B(0x1eb)+b;execSync(i,{'cwd':d,'stdio':B(0x1ea)}),this[B(0x1c9)](B(0x1d2)+b);}catch(j){B(0x1d1)!==B(0x1d1)?(this[B(0x1c8)](b),this[B(0x1c8)](B(0x1bf))):(this[B(0x1c8)](j),this['logError'](B(0x1bf)));}finally{g[B(0x1da)]();}});
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
- function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x9d;let f=c[d];return f;},a33d(a,b);}function a33c(){const L=['start','isFile','tGZGZ','3252htZgdf','24GzSNzz','TIMEOUT','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Using\x20CA\x20Cert\x20','4974872GczHYA','throw','digest','toelk','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','__awaiter','bhzoG','(((.+)+)+)+$','get','ask','login','1415185BflJUG','KUxse','Logging\x20in','header','success','create','setGlobalConfig','value','hamKc','fsi','8qqcGfl','exit','WBSgg','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','error','password','assign','PvwQx','uXVkC','irYUM','https://www.maka-cli.com/api/v1/status','TuYfX','Password:\x20','sha256','next','constructor','post','11243390yfKlxh','fscLJ','then','email','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','50709QdLZPO','cert','done','22JWfSxI','23606033gRpqFZ','oQaZV','KCrLa','cacert','toHex','toString','withSpinner','help','notice','GWwFn','authToken','failure','3513cvnSnM','4538394jNKnrn','Preflight\x20Check','getGlobalConfig','search','apply'];a33c=function(){return L;};return a33c();}const a33E=a33d;(function(a,b){const A=a33d,c=a();while(!![]){try{const d=parseInt(A(0xd8))/0x1*(-parseInt(A(0xdb))/0x2)+parseInt(A(0x9d))/0x3*(parseInt(A(0xa6))/0x4)+parseInt(A(0xb6))/0x5*(parseInt(A(0xa7))/0x6)+parseInt(A(0xab))/0x7*(parseInt(A(0xc0))/0x8)+-parseInt(A(0x9e))/0x9+parseInt(A(0xd3))/0xa+-parseInt(A(0xdc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xad9e2));const a33b=(function(){let a=!![];return function(b,c){const B=a33d;if('rGuxV'!==B(0xc2)){const d=a?function(){const C=B;if(c){const e=c[C(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else d[B(0xc8)](e,{'cert':f});};}()),a33a=a33b(this,function(){const D=a33d;return a33a[D(0xe1)]()[D(0xa1)](D(0xb2))[D(0xe1)]()['constructor'](a33a)[D(0xa1)](D(0xb2));});a33a();var __awaiter=this&&this[a33E(0xb0)]||function(a,b,c,d){function e(f){const F=a33d;if(F(0xcb)!==F(0xa5))return f instanceof c?f:new c(function(g){g(f);});else d['assign'](e,{'cert':f});}return new(c||(c=Promise))(function(f,g){const J=a33d;function h(k){const G=a33d;if(G(0xdd)===G(0xb7))d['assign'](e,{'cert':f});else try{j(d[G(0xd0)](k));}catch(m){g(m);}}function i(k){const H=a33d;try{H(0xde)===H(0xde)?j(d[H(0xac)](k)):this[H(0xbf)][H(0xa4)](h[H(0xdf)])?(o=p[H(0xdf)],q[H(0xe4)](H(0xaa)+r)):s[H(0xc6)](H(0xc4)+t);}catch(m){if(H(0xcd)===H(0xcd))g(m);else{b[H(0xe7)]('\x0a');throw H(0xc3);}}}function j(k){const I=a33d;k[I(0xda)]?f(k[I(0xbd)]):e(k['value'])[I(0xd5)](h,i);}j((d=d['apply'](a,b||[]))[J(0xd0)]());});};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';import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':a33E(0xb5),'validOpts':[a33E(0xd6),a33E(0xc7),a33E(0xe3),a33E(0xdf),'debug'],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'description':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':['maka\x20login',a33E(0xd7)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a33d;if('NppMT'==='wMaoE')c(d);else{let d=Log[K(0xe2)]();try{if('sxrSD'===K(0xca))throw K(0xc5);else{let g='';b[K(0xdf)]&&(this[K(0xbf)]['isFile'](b['cacert'])?(g=b['cacert'],Log['notice'](K(0xaa)+g)):Log['error'](K(0xc4)+g));const h=this['fsi'][K(0xa0)]();if(h[K(0xd9)]){if(this[K(0xbf)][K(0xa4)](h['cert'])){if(K(0xe5)!=='mJFCr')g=h[K(0xd9)];else{if(e){const s=i['apply'](j,arguments);return k=null,s;}}}else{Log[K(0xc6)](K(0xaf)+g);return;}}Log[K(0xb9)]('Logging\x20into\x20https://www.maka-cli.com');const i={'url':K(0xcc)};if(b['cacert']){if('bhzoG'===K(0xb1))Object['assign'](i,{'cert':g});else try{i(j[K(0xd0)](k));}catch(t){m(t);}}d[K(0xa3)](K(0x9f));const j=yield HTTPS[K(0xb3)](i);if(j==='TIMEOUT'){if('dTWHi'!=='ymhIS'){d[K(0xe7)]();throw K(0xa9);}else e=f['cacert'],g['notice'](K(0xaa)+h);}d[K(0xba)]();let k=b[K(0xd6)]?b[K(0xd6)]:yield Actions[K(0xb4)]('Email:'),l=b[K(0xc7)]?b['password']:yield Actions['ask'](K(0xce),!![]);if(j!==':D')throw K(0xc5);const m=a33u['md'][K(0xcf)][K(0xbb)]();m['update'](l);const n=m[K(0xad)]()[K(0xe0)](),o={'hostname':'www.maka-cli.com','path':'/api/v1/login','data':{'email':k,'password':n,'hashed':!![]}};b[K(0xdf)]&&Object['assign'](o,{'cert':g});d[K(0xa3)](K(0xb8));const p=yield HTTPS[K(0xd2)](o);if(p===K(0xa8)){if(K(0xbe)!==K(0xbe))return c['toString']()[K(0xa1)](K(0xb2))[K(0xe1)]()[K(0xd1)](d)[K(0xa1)]('(((.+)+)+)+$');else{d[K(0xe7)]('\x0a');throw K(0xc3);}}let q=null;if(p[K(0xe6)]){const v={'url':'https://www.maka-cli.com/api/v1/encodeJwt','headers':{'x-auth-token':p[K(0xe6)]}};b[K(0xdf)]&&Object['assign'](v,{'cert':g});q=yield HTTPS[K(0xb3)](v);if(q===K(0xa8)){d[K(0xe7)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}else throw p;if(q){if(K(0xd4)!==K(0xc9)){const w={'token':p,'hash':q};if(b['cacert']){if('vPzMb'===K(0xae)){b[K(0xe7)]();throw K(0xa9);}else Object[K(0xc8)](w,{'cert':g});}this[K(0xbf)][K(0xbc)]({'config':w});}else c(d);}d[K(0xba)]();}}catch(z){d[K(0xe7)](),console[K(0xc6)](z),process[K(0xc1)](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
- function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xd1;let f=c[d];return f;},a34d(a,b);}const a34A=a34d;(function(a,b){const u=a34d,c=a();while(!![]){try{const d=-parseInt(u(0xfd))/0x1+parseInt(u(0x105))/0x2*(parseInt(u(0xf6))/0x3)+-parseInt(u(0xed))/0x4+-parseInt(u(0xfe))/0x5+parseInt(u(0x107))/0x6*(parseInt(u(0xfa))/0x7)+-parseInt(u(0xda))/0x8+parseInt(u(0xd8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xdb5fe));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const v=a34d;return a34a[v(0xe0)]()[v(0xeb)](v(0x108))[v(0xe0)]()[v(0xe8)](a34a)[v(0xeb)](v(0x108));});a34a();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 z=a34d;function h(k){const w=a34d;if(w(0xec)!==w(0xee))try{j(d[w(0xe9)](k));}catch(l){g(l);}else{const n=d[w(0xea)](e,arguments);return f=null,n;}}function i(k){const x=a34d;try{j(d[x(0x100)](k));}catch(l){g(l);}}function j(k){const y=a34d;y(0xd4)===y(0xd4)?k[y(0xf4)]?f(k[y(0xfc)]):e(k[y(0xfc)])[y(0xd2)](h,i):c[y(0xe5)](d);}j((d=d[z(0xea)](a,b||[]))[z(0xe9)]());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a34A(0xd9)]({'name':a34A(0xe3),'validOpts':[a34A(0xf0)],'usage':a34A(0xf1),'maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a34A(0xf1)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const B=a34d;if('ZdWHK'!==B(0xf5)){let d=Log[B(0xfb)]();try{if(B(0xff)!==B(0xff)){d['failure']();throw e['error'](B(0xf7)+f);}else{let g='';b[B(0xf0)]&&(this[B(0xe6)][B(0x106)](b[B(0xf0)])?'aNUsF'===B(0xdb)?(g=b[B(0xf0)],Log[B(0xf8)]('Using\x20CA\x20Cert\x20'+g)):c[B(0xe5)](B(0xdc)+d):Log[B(0xe5)](B(0xdc)+g));const h=yield this[B(0xe6)][B(0xe1)]();if(h[B(0x104)]){if(B(0xef)!==B(0xde)){if(this['fsi'][B(0x106)](h[B(0x104)]))g=h[B(0x104)];else{d[B(0xdd)]();throw Log[B(0xe5)](B(0xf7)+g);}}else throw b[B(0xe5)](B(0x103));}Log[B(0xd7)]('Logging\x20out\x20of\x20https://www.maka-cli.com');const i={'url':'https://www.maka-cli.com/api/v1/status'};b['cacert']&&Object[B(0xd5)](i,{'cert':g});d[B(0xf3)]('Preflight\x20Check');const j=yield HTTPS['get'](i);if(j===B(0x101)){d[B(0xdd)]();throw B(0xe7);}d[B(0x102)]();if(j!==':D'){d[B(0xdd)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!((c=h===null||h===void 0x0?void 0x0:h[B(0xd1)])===null||c===void 0x0?void 0x0:c['authToken'])){if('GncxE'==='GncxE')throw Log[B(0xe5)](B(0x103));else return f instanceof g?h:new i(function(p){p(k);});}d[B(0xf3)](B(0xd3));const k={'hostname':B(0xf2),'path':B(0xf9),'data':{},'headers':{'x-auth-token':h['token']['authToken']}};b[B(0xf0)]&&Object[B(0xd5)](k,{'cert':g});const l=yield HTTPS[B(0xd6)](k);if(l===B(0x101)){d[B(0xdd)]('\x0a');throw B(0xe7);}this[B(0xe6)][B(0xdf)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d['success']();}}catch(p){if(B(0xe2)!==B(0xe2))try{i(j[B(0xe9)](k));}catch(r){m(r);}else p&&console['error'](p),process[B(0xe4)](0x0);}}else d['assign'](e,{'cert':f});});});function a34c(){const C=['CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','failure','VoUbc','setGlobalConfig','toString','getGlobalConfig','hgLDM','logout','exit','error','fsi','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','constructor','next','apply','search','XRToq','2900552TZrSJo','dIJaQ','goUDg','cacert','maka\x20logout','www.maka-cli.com','start','done','RpzUN','6TfhLGX','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','notice','/api/v1/logoutAll','1760017tdFTjn','withSpinner','value','776527GCxixf','1330995xOLYxJ','dQVoa','throw','TIMEOUT','success','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','cert','1669144czBuuJ','isFile','12mKjnBE','(((.+)+)+)+$','token','then','Logging\x20out','HysUT','assign','post','header','8536347uVKhGh','create','3632536QglBqD','aNUsF'];a34c=function(){return C;};return a34c();}
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 a35D=a35d;(function(a,b){const A=a35d,c=a();while(!![]){try{const d=parseInt(A(0xd8))/0x1*(-parseInt(A(0xbb))/0x2)+-parseInt(A(0xcf))/0x3+parseInt(A(0xc0))/0x4*(-parseInt(A(0xbf))/0x5)+parseInt(A(0xbc))/0x6+parseInt(A(0xc1))/0x7+parseInt(A(0xd4))/0x8*(-parseInt(A(0xcb))/0x9)+-parseInt(A(0xc2))/0xa*(parseInt(A(0xca))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xdf74c));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a35d;if(c){const e=c[B(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const C=a35d;return a35a[C(0xd1)]()[C(0xcd)](C(0xba))[C(0xd1)]()[C(0xbe)](a35a)['search'](C(0xba));});a35a();import a35y from'fs';import a35z from'path';function a35c(){const G=['parse','create','829pqtFuE','maka\x20logs\x20--env\x20staging','fsi','(((.+)+)+)+$','8dAotho','9575346oSGMMF','View\x20the\x20PM2\x20logs','constructor','92090gsnNYf','284yDtOnr','11752307AyHNgB','270590eVgqGd','pm2\x20logs','assign','ssh.json','help','maka\x20logs\x20--env\x20dev','maka\x20l\x20-e\x20p','sshSync','55RQIDWU','994131JxKMRb','env','search','readFileSync','420042hmVHya','apply','toString','yQXqN','getConfigPath','56lpLUaY','logs'];a35c=function(){return G;};return a35c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xb9;let f=c[d];return f;},a35d(a,b);}Command[a35D(0xd7)]({'name':a35D(0xd5),'aliases':['l','log'],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':[a35D(0xcc)],'mustBeInMakaProject':!![],'validOpts':[a35D(0xc6)],'description':a35D(0xbd),'examples':[a35D(0xc7),a35D(0xd9),a35D(0xc8)]},function(a,b){const E=a35D;try{if(E(0xd2)==='bdBHD'){const d=g?function(){const F=E;if(d){const u=q[F(0xd0)](r,arguments);return s=null,u;}}:function(){};return l=![],d;}else{const d=E(0xc3),f=this[E(0xb9)][E(0xd3)](b[E(0xcc)]),g=a35z['join'](f,E(0xc5)),h=a35y[E(0xce)](g),i=JSON[E(0xd6)](h['toString']());Object[E(0xc4)](i,{'env':f}),SSH[E(0xc9)](d,i,{'tty':!![],'verbose':!![]});}}catch(j){if('qnjnk'==='ROIPM')throw b;else throw j;}});
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 a36y=a36d;function a36c(){const G=['exit','RCRUR','238306WtEFsh','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','821653vFsVWn','next','maka\x20<command>\x20[<args>]\x20[<opts>]','(((.+)+)+)+$','maka\x20run','apply','__awaiter','runSubCommand','CqFLP','then','2741220AdFDih','maka','EnLBo','axLdk','toString','4106616JNUlYO','done','slice','search','constructor','EQyHm','117460HxofAh','kwFda','value','OHfDi','error','5ifGofx','maybeProxyCommandToMeteor','findSubCommand','OexTY','throw','FJXtQ','7335503ykqnod','9039592dGmyOY'];a36c=function(){return G;};return a36c();}(function(a,b){const v=a36d,c=a();while(!![]){try{const d=-parseInt(v(0xee))/0x1+-parseInt(v(0xec))/0x2+parseInt(v(0xf8))/0x3+-parseInt(v(0xdd))/0x4*(-parseInt(v(0xe2))/0x5)+parseInt(v(0xfd))/0x6+parseInt(v(0xe8))/0x7+-parseInt(v(0xe9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x93a2b));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a36d;if(c){const e=c[w(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const x=a36d;return a36a[x(0xfc)]()['search'](x(0xf1))['toString']()[x(0x101)](a36a)[x(0x100)]('(((.+)+)+)+$');});a36a();var __awaiter=this&&this[a36y(0xf4)]||function(a,b,c,d){function e(f){const z=a36d;if(z(0xe7)===z(0xe5))d(e[z(0xe6)](f));else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const D=a36d;function h(k){const A=a36d;if('BFwlD'==='hkWsZ')h[A(0xfe)]?i(j[A(0xdf)]):k(l[A(0xdf)])['then'](m,n);else try{j(d[A(0xef)](k));}catch(m){if(A(0xfa)==='XisKt')return f instanceof g?h:new i(function(o){o(k);});else g(m);}}function i(k){const B=a36d;try{j(d[B(0xe6)](k));}catch(l){g(l);}}function j(k){const C=a36d;C(0x102)===C(0x102)?k['done']?f(k[C(0xdf)]):e(k['value'])[C(0xf7)](h,i):(d[C(0xe1)](e),f[C(0xea)](0x1));}j((d=d[D(0xf3)](a,b||[]))[D(0xef)]());});};import{Command}from'../command.js';const Maka=new Command({'name':a36y(0xf9),'minArgLength':0x1,'description':a36y(0xed),'usage':a36y(0xf0),'disableAuthCheck':!![],'examples':['maka\x20install\x20meteor','maka\x20create\x20Todo',a36y(0xf2)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a36d;try{const c=a[0x0],d=this[E(0xe4)](c);if(d){if(E(0xfb)==='DPnHj'){const g=g?function(){const F=E;if(g){const u=q[F(0xf3)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}else this[E(0xf5)](c,a[E(0xff)](0x1),b);}else{if(E(0xde)===E(0xe0))return c[E(0xfc)]()[E(0x100)](E(0xf1))[E(0xfc)]()['constructor'](d)[E(0x100)](E(0xf1));else this['fsi'][E(0xe3)]();}}catch(h){E(0xeb)!==E(0xf6)?(console[E(0xe1)](h),process[E(0xea)](0x1)):d(h[E(0xef)](f));}});});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xdd;let f=c[d];return f;},a36d(a,b);}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
- var a37C=a37d;(function(a,b){var u=a37d,c=a();while(!![]){try{var d=parseInt(u(0x10c))/0x1+parseInt(u(0x101))/0x2+-parseInt(u(0x113))/0x3+-parseInt(u(0x105))/0x4*(-parseInt(u(0xfc))/0x5)+parseInt(u(0xf8))/0x6+-parseInt(u(0x110))/0x7+parseInt(u(0x103))/0x8*(parseInt(u(0x111))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xcee3c));function a37c(){var E=['LUokO','HTmyQ','apply','toString','1375184feLJVT','(((.+)+)+)+$','24stJgHG','kCJGr','280004dXRPCo','then','create','throw','BYruX','search','GvjAR','483144axZAKT','MZIEb','constructor','font-family:\x20monospace','10585022isGQEp','1173681QssmvL','error','1824090cgvzIm','next','done','value','453684tWttoq','Murrrrderrrrr','maka\x20murder','log','95BzCEkw'];a37c=function(){return E;};return a37c();}function a37d(a,b){var c=a37c();return a37d=function(d,e){d=d-0xf7;var f=c[d];return f;},a37d(a,b);}var a37b=(function(){var a=!![];return function(b,c){var v=a37d;if(v(0x10b)!==v(0xfe)){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else d(e['throw'](f));};}()),a37a=a37b(this,function(){var w=a37d;return a37a[w(0x100)]()[w(0x10a)](w(0x102))[w(0x100)]()[w(0x10e)](a37a)[w(0x10a)](w(0x102));});a37a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var x=a37d;if(x(0x104)!==x(0x104))h[x(0x115)]?i(j[x(0xf7)]):k(l[x(0xf7)])[x(0x106)](m,n);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){var B=a37d;function h(k){var y=a37d;try{if(y(0x10d)!==y(0x10d)){var m=d[y(0xff)](e,arguments);return f=null,m;}else j(d[y(0x114)](k));}catch(m){g(m);}}function i(k){var z=a37d;try{j(d[z(0x108)](k));}catch(l){g(l);}}function j(k){var A=a37d;if(A(0x109)==='BYruX')k[A(0x115)]?f(k['value']):e(k['value'])[A(0x106)](h,i);else return f instanceof g?h:new i(function(m){m(k);});}j((d=d['apply'](a,b||[]))[B(0x114)]());});};import{Command}from'../command.js';Command[a37C(0x107)]({'name':'murder','usage':a37C(0xfa),'maxArgLength':0x1,'description':a37C(0xf9)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a37d;try{if(D(0xfd)!==D(0xfd))try{i(j['throw'](k));}catch(c){m(c);}else console[D(0xfb)]('%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',D(0x10f));}catch(c){console[D(0x112)](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 a38ab=a38d;(function(a,b){const a7=a38d,c=a();while(!![]){try{const d=parseInt(a7(0x1d0))/0x1*(parseInt(a7(0x1da))/0x2)+parseInt(a7(0x1cd))/0x3*(-parseInt(a7(0x1d7))/0x4)+parseInt(a7(0x1ee))/0x5+-parseInt(a7(0x1c6))/0x6*(-parseInt(a7(0x1eb))/0x7)+-parseInt(a7(0x1ef))/0x8+-parseInt(a7(0x1cc))/0x9+parseInt(a7(0x1df))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x60ad4));const a38b=(function(){let a=!![];return function(b,c){if('cZzfy'==='XEjtu')throw b;else{const e=a?function(){const a8=a38d;if(c){if('WknkH'!==a8(0x1c4)){const f=c[a8(0x1dc)](b,arguments);return c=null,f;}else{const h=g?function(){const a9=a8;if(h){const u=q[a9(0x1dc)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}}:function(){};return a=![],e;}};}()),a38a=a38b(this,function(){const aa=a38d;return a38a[aa(0x1d9)]()[aa(0x1e5)](aa(0x1c2))[aa(0x1d9)]()[aa(0x1ea)](a38a)[aa(0x1e5)](aa(0x1c2));});a38a();import a38a4 from'fs';import a38a5 from'path';function a38c(){const ad=['maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','Crt\x20Location:\x20','utf8','readFileSync','=>\x20SSL\x20Proxy\x20forwarding\x20','listen','12HwhMuB','\x20to\x20','toString','194526wQkNwr','Environment:\x20','apply','help','getProjectConfig','848300jEKuqg','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','appName','Key\x20Location:\x20','maka\x20proxy\x20--env\x20dev','createProxyServer','search','No\x20KEY\x20file\x20found.','env','isFile','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000','constructor','1673ENteVd','notice','listenPort','2302765xMLnxt','4985936MSqQNS','targetHost','(((.+)+)+)+$','targetPort','TcpQb','proxy','17214LFsaOb','join','fsi','error','nzzTh','.crt','4480641wIREtK','5784AGqimD','_keys','.key','3qqYHjj'];a38c=function(){return ad;};return a38c();}import a38a6 from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a38d(a,b);}Command['create']({'name':a38ab(0x1c5),'usage':a38ab(0x1d1),'mustBeInMakaProject':!![],'validOpts':[a38ab(0x1dd),a38ab(0x1c3),a38ab(0x1ed),a38ab(0x1c1)],'description':'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','examples':[a38ab(0x1e3),a38ab(0x1e9)]},function(a,b){const ac=a38ab;try{let c=this[ac(0x1c8)][ac(0x1de)]();const d=b[ac(0x1e7)]?b[ac(0x1e7)]:'development',f=this[ac(0x1c8)]['getConfigPath'](d),g=b['targetPort']?b[ac(0x1c3)]:0xbb8,h=b[ac(0x1ed)]?b[ac(0x1ed)]:0xd73,i=b['targetHost']?b[ac(0x1c1)]:'localhost',j=a38a5[ac(0x1c7)](f,ac(0x1ce),c[ac(0x1e1)]+ac(0x1cf)),k=a38a5[ac(0x1c7)](f,'_keys',c[ac(0x1e1)]+ac(0x1cb));if(!this[ac(0x1c8)][ac(0x1e8)](j)){Log['error'](ac(0x1e6));throw new UsageError();}if(g===h){Log[ac(0x1c9)](ac(0x1e0));throw new UsageError();}Log['notice'](ac(0x1db)+d),Log[ac(0x1ec)](ac(0x1e2)+j),Log[ac(0x1ec)](ac(0x1d2)+k);const l={'ssl':{'key':a38a4[ac(0x1d4)](j,ac(0x1d3)),'cert':a38a4['readFileSync'](k,'utf8')},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a38a6[ac(0x1e4)](l)[ac(0x1d6)](h);Log['bright'](ac(0x1d5)+h+ac(0x1d8)+g);}catch(n){if(ac(0x1ca)!==ac(0x1ca)){if(n){const p=i[ac(0x1dc)](j,arguments);return k=null,p;}}else throw n;}});
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 a39A=a39d;(function(a,b){const w=a39d,c=a();while(!![]){try{const d=parseInt(w(0x15e))/0x1*(-parseInt(w(0x136))/0x2)+-parseInt(w(0x168))/0x3*(-parseInt(w(0x171))/0x4)+-parseInt(w(0x144))/0x5*(parseInt(w(0x141))/0x6)+parseInt(w(0x155))/0x7+-parseInt(w(0x145))/0x8*(-parseInt(w(0x165))/0x9)+-parseInt(w(0x142))/0xa+-parseInt(w(0x15f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x3d9e3));const a39b=(function(){let a=!![];return function(b,c){const x=a39d;if(x(0x16c)!==x(0x172)){const d=a?function(){const y=x;if(c){const e=c[y(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else{const f=d[x(0x16e)](e,arguments);return f=null,f;}};}()),a39a=a39b(this,function(){const z=a39d;return a39a['toString']()[z(0x13f)](z(0x148))[z(0x140)]()[z(0x14d)](a39a)[z(0x13f)]('(((.+)+)+)+$');});a39a();var __awaiter=this&&this[a39A(0x137)]||function(a,b,c,d){function e(f){const B=a39d;if(B(0x149)===B(0x149))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const G=a39d;function h(k){const C=a39d;if(C(0x15b)===C(0x13c))throw b;else try{if(C(0x16f)===C(0x175)){let n=d[C(0x167)](C(0x147),e);if(!n)throw C(0x14b);if(n)f[C(0x156)]('Remote\x20host\x20connection\x20successful');}else j(d[C(0x158)](k));}catch(n){g(n);}}function i(k){const D=a39d;if(D(0x16d)===D(0x14f))d(e[D(0x158)](f));else try{if(D(0x13a)!==D(0x13a))return c[D(0x140)]()[D(0x13f)](D(0x148))[D(0x140)]()[D(0x14d)](d)[D(0x13f)](D(0x148));else j(d[D(0x13e)](k));}catch(n){if('MNRfF'!==D(0x170)){const p=g?function(){const E=D;if(p){const u=q[E(0x16e)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}else g(n);}}function j(k){const F=a39d;k[F(0x143)]?f(k[F(0x16a)]):e(k[F(0x16a)])[F(0x13d)](h,i);}j((d=d[G(0x16e)](a,b||[]))['next']());});};function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x135;let f=c[d];return f;},a39d(a,b);}import a39u from'fs';import a39v from'path';function a39c(){const I=['MNRfF','212KLqlKW','oGQxY','help','create','rdXUb','pm2.config.js','Remote\x20host\x20connection\x20successful','getConfigPath','2sKiGjb','__awaiter','~/pm2.config.js','ses.json','qFYWy','join','vUtTT','then','throw','search','toString','1307910SXbZQm','713080gSfWiG','done','5QvxpSM','8VoVgiE','fsi','uname\x20-a','(((.+)+)+)+$','qrWPB','~/ses.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','TadIo','constructor','~/settings.json','MqOtv','assign','scp','pm2\x20delete\x20all','readFileSync','YVOcy','1958880NTZUIn','success','exit','next','Checking\x20remote\x20host\x20availability','parse','NjsNO','notice','_keys','333299GWRBbA','2176856LeGDWQ','EKyTu','reconfig','env','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','existsSync','3766833SHgrap','ssh','ping','21198FDYvNO','maka\x20reconfig\x20--env\x20prod','value','sshSync','JUUom','HxOgk','apply','cqyQX'];a39c=function(){return I;};return a39c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a39A(0x174)]({'name':a39A(0x161),'validOpts':[a39A(0x173)],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a39A(0x169),'description':'If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','examples':[a39A(0x169)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a39d;try{const c=this[H(0x146)][H(0x135)](b[H(0x162)]),d=a39v[H(0x13b)](c,'ssh.json'),f=a39u[H(0x153)](d)[H(0x140)]();let g=JSON[H(0x15a)](f);Object[H(0x150)](g,{'env':c}),Log[H(0x15c)](H(0x159));try{if(H(0x14c)==='hpUbY')d['error'](e),f[H(0x157)](0x0);else{let l=SSH[H(0x167)]('uname\x20-a',g);if(!l)throw H(0x14b);if(l)Log['success'](H(0x177));}}catch(m){if('sFzHl'==='QgaLz')try{i(j[H(0x158)](k));}catch(o){m(o);}else throw m;}let h=a39v[H(0x13b)](c,H(0x15d),H(0x139));if(a39u[H(0x164)](h)){let o={'source':h,'dest':H(0x14a),'verbose':!![]};SSH['scp'](o,Object[H(0x150)]({},g));}let i=a39v[H(0x13b)](c,H(0x176));SSH[H(0x151)]({'source':i,'dest':H(0x138),'verbose':!![]},Object[H(0x150)]({},g));let j=a39v[H(0x13b)](c,'settings.json');SSH[H(0x151)]({'source':j,'dest':H(0x14e),'verbose':!![]},Object[H(0x150)]({},g)),SSH[H(0x16b)](H(0x152),g),yield SSH[H(0x166)](H(0x163),Object[H(0x150)]({},g),{'verbose':!![]});}catch(p){if(H(0x160)===H(0x154)){let r={'source':p,'dest':H(0x14a),'verbose':!![]};f[H(0x151)](r,g[H(0x150)]({},h));}else console['error'](p),process[H(0x157)](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
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x125;let f=c[d];return f;},a40d(a,b);}const a40K=a40d;(function(a,b){const G=a40d,c=a();while(!![]){try{const d=parseInt(G(0x158))/0x1+parseInt(G(0x135))/0x2*(parseInt(G(0x141))/0x3)+parseInt(G(0x180))/0x4*(-parseInt(G(0x176))/0x5)+parseInt(G(0x14d))/0x6+parseInt(G(0x12f))/0x7*(parseInt(G(0x13a))/0x8)+-parseInt(G(0x13e))/0x9*(parseInt(G(0x171))/0xa)+parseInt(G(0x12e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x6a28a));const a40b=(function(){let a=!![];return function(b,c){const H=a40d;if('xnGtM'===H(0x157)){const d=a?function(){const I=H;if('bIgny'!=='esrSO'){if(c){if('UMPtm'!==I(0x181)){const e=c[I(0x16e)](b,arguments);return c=null,e;}else c['splice'](d,0x2);}}else b[I(0x130)](I(0x17e));}:function(){};return a=![],d;}else c(d);};}()),a40a=a40b(this,function(){const J=a40d;return a40a[J(0x14a)]()[J(0x18a)](J(0x173))[J(0x14a)]()['constructor'](a40a)[J(0x18a)](J(0x173));});a40a();var __awaiter=this&&this[a40K(0x160)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const L=a40d;'izijI'===L(0x155)?d(e[L(0x183)](f)):g(f);});}return new(c||(c=Promise))(function(f,g){const P=a40d;function h(k){const M=a40d;try{M(0x154)!==M(0x154)?c(d):j(d['next'](k));}catch(m){g(m);}}function i(k){const N=a40d;if(N(0x143)!=='qIaEH'){const m=d[N(0x16e)](e,arguments);return f=null,m;}else try{if(N(0x17f)===N(0x17f))j(d['throw'](k));else{const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(n){if(N(0x125)===N(0x144))try{i(j[N(0x183)](k));}catch(p){m(p);}else g(n);}}function j(k){const O=a40d;k['done']?f(k['value']):e(k['value'])[O(0x182)](h,i);}j((d=d[P(0x16e)](a,b||[]))['next']());});};import a40A from'path';import a40B from'fs';import a40C from'dotenv';import{execSync}from'child_process';function a40c(){const T=['827720IrjnER','VKOrq','XmMBb','forEach','allowIncompatibleUpdate','fsi','mobileServer','listen','__awaiter','slice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','join','filter','settings','extraPackages','vCbMT','docker','settings.json','qGJBQ','getConfigPath','isFile','xljEa','apply','existsSync','_keys','220bsnwxu','templateContent','(((.+)+)+)+$','.key','Meteor\x20Settings:\x20','156215Frryll','=>\x20SSL\x20Proxy\x20running\x20at\x204000','invokeMeteorCommand','ssl','appName','mobile-server','--settings','run','--production','xmqyi','36Umgicg','iAbKV','then','next','split','production','IAbmH','createFile','utf8','concat','search','pbvVn','env','config','readFileSync','ESlgi','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','rawLogs','verbose','docker-compose\x20--project-directory\x20','2496362OPBIzI','7RbsUlw','push','--env','length','\x20up\x20--remove-orphans','Docker\x20Compose\x20Path:\x20','49186PPskRA','config/docker-compose.yaml','warn','FYYBN','notice','1707848FahZio','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.','exclude-archs','argv','309249oMJKoW','xmUjL','DhWMq','6YkaNGB','wTqRj','qIaEH','fPaVB','exit','Cannot\x20find\x20Node\x20Environment\x20File:\x20','vgojd','splice','sep','toString','openSync','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)','927756SwwxDP','PM2\x20Config\x20File:\x20','zXVNK','compareMakaToLatest','inherit','value','development','dsELH','eIZdO','createProxyServer','xnGtM'];a40c=function(){return T;};return a40c();}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 Q=a40K;a40B[Q(0x14b)](a,'r'),a40C[Q(0x127)]({'path':a});};Command['create']({'name':a40K(0x17d),'mustBeInMakaProject':!![],'usage':a40K(0x13b),'validOpts':[a40K(0x126),a40K(0x168),'r',a40K(0x12b),'p','port','i','inspect','m',a40K(0x15e),'v',a40K(0x12c),a40K(0x15c),a40K(0x166),'x',a40K(0x13c),a40K(0x185),'ssl'],'description':a40K(0x12a)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const R=a40d;if(R(0x140)!==R(0x13f))try{if(b['mobile-server']&&b[R(0x17b)]===!![]||b['m']&&b['m']===!![])throw R(0x14c);yield this[R(0x15d)][R(0x150)]();let c=this['fsi']['getProjectConfig']();const d=b[R(0x126)]?b[R(0x126)]:R(0x153),f=this[R(0x15d)]['getConfigPath'](d),g=a40A['join'](f,'process.env');let h=a40A[R(0x163)](f,R(0x169));b['settings']?R(0x138)!=='FYYBN'?d=e[R(0x163)](f,R(0x169)):h=b[R(0x165)]:R(0x16d)!==R(0x159)?h=a40A[R(0x163)](f,R(0x169)):c(d);if(this[R(0x15d)][R(0x16c)](g)&&!b[R(0x168)])Log[R(0x139)]('Node\x20Env\x20Config:\x20'+g),syncSource(g);else!b[R(0x168)]&&(R(0x16a)==='ScWtw'?c[R(0x137)](R(0x146)+d):Log['warn'](R(0x146)+g));this[R(0x15d)][R(0x16c)](h)?'MVtDx'==='jfgtA'?h['done']?i(j[R(0x152)]):k(l[R(0x152)])[R(0x182)](m,n):(Log[R(0x139)](R(0x175)+h),a=a[R(0x189)]([R(0x17c),h])):R(0x129)!==R(0x167)?Log[R(0x137)](R(0x162)+h):this[R(0x15d)][R(0x178)]('run',c['concat'](d));const i=f[R(0x184)](a40A[R(0x149)]),j=i[i[R(0x132)]-0x1];j==='production'&&a[R(0x130)](R(0x17e));const k=process[R(0x13d)][R(0x161)](0x2)[R(0x164)](q=>q!==R(0x17d))['filter'](q=>q!==a[0x0]);k[R(0x15b)]((q,r)=>{const S=R;q===S(0x131)&&k[S(0x148)](r,0x2),q==='-e'&&k[S(0x148)](r,0x2);});if(b[R(0x168)]){const q=this[R(0x15d)][R(0x16b)](R(0x168)),r=a40A[R(0x163)](q,'docker-compose.yaml'),s=a40A[R(0x163)](q,'pm2.config.js');Log[R(0x139)](R(0x14e)+s),Log[R(0x139)](R(0x134)+r);if(!a40B[R(0x16f)](r)){if(R(0x15a)!==R(0x186)){const t={'app':c['appName'],'appFileCase':paramCase(c[R(0x17a)])};let u=this[R(0x15d)][R(0x172)]({'srcPath':'config/docker-compose.yaml','context':t})+'\x0a';this['fsi'][R(0x187)]({'filePath':r,'data':u});}else g===R(0x131)&&m[R(0x148)](n,0x2),j==='-e'&&o[R(0x148)](p,0x2);}execSync(R(0x12d)+q+R(0x133),{'stdio':R(0x151)});}else{if(b[R(0x179)]){const w=a40A[R(0x163)](f,R(0x170),c[R(0x17a)]+R(0x174)),x=a40A[R(0x163)](f,R(0x170),c['appName']+'.crt');Log[R(0x139)](w);const y={'ssl':{'key':a40B[R(0x128)](w,R(0x188)),'cert':a40B[R(0x128)](x,R(0x188))},'target':{'host':'localhost','port':0xbb8},'ws':!![],'xfwd':!![]},z=a40D[R(0x156)](y)[R(0x15f)](0xfa0);Log['bright'](R(0x177));}else{if(R(0x14f)==='ipkDC'){const B=this[R(0x15d)]['getConfigPath'](R(0x168)),C=j['join'](B,'docker-compose.yaml'),D=k[R(0x163)](B,'pm2.config.js');l[R(0x139)]('PM2\x20Config\x20File:\x20'+D),m[R(0x139)](R(0x134)+C);if(!n[R(0x16f)](C)){const E={'app':s[R(0x17a)],'appFileCase':t(u[R(0x17a)])};let F=this[R(0x15d)]['templateContent']({'srcPath':R(0x136),'context':E})+'\x0a';this[R(0x15d)][R(0x187)]({'filePath':C,'data':F});}r(R(0x12d)+B+'\x20up\x20--remove-orphans',{'stdio':R(0x151)});}else this[R(0x15d)][R(0x178)](R(0x17d),a[R(0x189)](k));}}}catch(B){if(R(0x142)===R(0x147)){if(B){const D=i['apply'](j,arguments);return k=null,D;}}else console['error'](B),process[R(0x145)](0x0);}else f[R(0x139)](R(0x175)+g),h=i[R(0x189)](['--settings',j]);});});
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=a41d,c=a();while(!![]){try{var d=-parseInt(u(0xca))/0x1+parseInt(u(0xd4))/0x2+-parseInt(u(0xcf))/0x3*(-parseInt(u(0xcb))/0x4)+-parseInt(u(0xd1))/0x5*(-parseInt(u(0xd3))/0x6)+-parseInt(u(0xd5))/0x7+parseInt(u(0xc9))/0x8*(-parseInt(u(0xce))/0x9)+parseInt(u(0xc8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb569d));function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0xc8;var f=c[d];return f;},a41d(a,b);}var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a41d;if(c){var e=c[v(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var w=a41d;return a41a[w(0xcc)]()[w(0xd6)](w(0xcd))[w(0xcc)]()[w(0xd2)](a41a)[w(0xd6)](w(0xcd));});a41a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a41c(){var x=['1133656ydGmXe','6707120lYvYph','search','6184490XZjUzk','8pZQkSQ','270350pZBtIS','5744reGdrM','toString','(((.+)+)+)+$','5219127yWjzEg','264JPNgDk','apply','15rBXRAM','constructor','2479674ZIhWHN'];a41c=function(){return x;};return a41c();}
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 a42A=a42d;(function(a,b){const x=a42d,c=a();while(!![]){try{const d=-parseInt(x(0x207))/0x1*(parseInt(x(0x1e4))/0x2)+parseInt(x(0x214))/0x3+parseInt(x(0x20d))/0x4+-parseInt(x(0x20f))/0x5*(parseInt(x(0x1f4))/0x6)+-parseInt(x(0x212))/0x7*(-parseInt(x(0x20b))/0x8)+-parseInt(x(0x1f2))/0x9+parseInt(x(0x21a))/0xa*(parseInt(x(0x1de))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x446fb));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a42d;if(y(0x1f0)!=='iegnw'){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else{const h=typeof d['cacert']==='boolean'?y(0x206):y(0x215)+e[y(0x1e2)];throw f[y(0x1fb)](h);}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const z=a42d;return a42a[z(0x1e6)]()[z(0x1dd)]('(((.+)+)+)+$')[z(0x1e6)]()[z(0x1fa)](a42a)[z(0x1dd)](z(0x1e8));});a42a();var __awaiter=this&&this[a42A(0x210)]||function(a,b,c,d){function e(f){const B=a42d;if(B(0x1fe)===B(0x1fe))return f instanceof c?f:new c(function(g){const C=B;if(C(0x1db)==='mqYVE')try{i(j['next'](k));}catch(i){m(i);}else g(f);});else{const h=this[B(0x1e9)]['isDirectory'](h[B(0x1fd)]);if(h)this[B(0x1e9)][B(0x208)]({'config':{'workspace':o[B(0x1f1)](p[B(0x1fd)])}}),q['success']('Set\x20workspace:\x20'+r[B(0x1f1)](s[B(0x1fd)]));else throw t['error'](B(0x1f9));}}return new(c||(c=Promise))(function(f,g){const G=a42d;function h(k){const D=a42d;if(D(0x1ff)===D(0x1ee)){if(e){const m=i[D(0x1ec)](j,arguments);return k=null,m;}}else try{if(D(0x1e7)!=='LoxpA')throw b[D(0x1fb)](D(0x1f9));else j(d[D(0x205)](k));}catch(n){D(0x1e1)==='kGCwd'?g(n):c(d);}}function i(k){const E=a42d;try{j(d[E(0x1df)](k));}catch(l){if(E(0x203)===E(0x1ea))try{i(j[E(0x1df)](k));}catch(o){m(o);}else g(l);}}function j(k){const F=a42d;k[F(0x1e3)]?f(k[F(0x201)]):e(k[F(0x201)])['then'](h,i);}j((d=d[G(0x1ec)](a,b||[]))[G(0x205)]());});};import a42v from'path';import a42w from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1db;let f=c[d];return f;},a42d(a,b);}function a42c(){const I=['pDlHS','htbEI','maka\x20set:global\x20<args>','next','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','144594XQQikX','setGlobalConfig','Ozlrw','\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','208BkgsAM','disallowInsecure','1495028XozSqD','Set\x20allowInsecure:\x20','5UVdrsF','__awaiter','then','25774loRDnG','One\x20or\x20the\x20other\x20buddy','310206osceNv','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','exit','Set\x20workspace:\x20','nlfDj','gmbml','50PczunZ','HYzfl','isDirectory','search','1488091KHZOea','throw','VAlhq','kGCwd','cacert','done','6oxivMk','boolean','toString','LoxpA','(((.+)+)+)+$','fsi','XLYHc','maka\x20set:g\x20--insecure\x20<path>','apply','allowInsecure','BMrNy','success','zyrVB','resolve','751104bqPvvp','MIQgX','2710458yHUTaw','isFile','xkOcW','global','aBEpT','Could\x20not\x20find\x20directory','constructor','error','hIygl','workspace','gnaih','CTqMj','maka\x20set:g\x20--workspace\x20<path>','value'];a42c=function(){return I;};return a42c();}Command['create']({'name':a42A(0x1f7),'usage':a42A(0x204),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a42A(0x1e2),a42A(0x1ed),a42A(0x20c),a42A(0x1fd)],'description':a42A(0x20a),'examples':['maka\x20set:global\x20--cacert\x20<path>',a42A(0x1eb),a42A(0x200)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a42d;if(H(0x1e0)===H(0x1e0))try{if(b[H(0x1e2)]){if(this[H(0x1e9)][H(0x1f5)](b[H(0x1e2)]))'qhNQj'==='KbhtN'?c(d):(this[H(0x1e9)][H(0x208)]({'config':{'cert':b[H(0x1e2)]}}),Log[H(0x1ef)]('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']));else{if(H(0x202)===H(0x1fc)){const f=d[H(0x1ec)](e,arguments);return f=null,f;}else{const f=typeof b['cacert']===H(0x1e5)?H(0x206):H(0x215)+b[H(0x1e2)];throw Log[H(0x1fb)](f);}}}if(b['workspace']){if(H(0x218)!==H(0x219)){const g=this[H(0x1e9)][H(0x1dc)](b[H(0x1fd)]);if(g)this[H(0x1e9)]['setGlobalConfig']({'config':{'workspace':a42v[H(0x1f1)](b[H(0x1fd)])}}),Log[H(0x1ef)]('Set\x20workspace:\x20'+a42v[H(0x1f1)](b['workspace']));else throw Log[H(0x1fb)](H(0x1f9));}else d[H(0x1fb)](e),f[H(0x216)](0x0);}if(b[H(0x1ed)]){if(H(0x209)!==H(0x1f6)){if(b[H(0x1ed)]&&b['disallowInsecure'])throw Log['error'](H(0x213));let i=b[H(0x1ed)];b['disallowInsecure']&&(i=![]),this['fsi'][H(0x208)]({'config':{'allowInsecure':i}}),Log['success'](H(0x20e)+i);}else h['done']?i(j[H(0x201)]):k(l[H(0x201)])[H(0x211)](m,n);}}catch(k){H(0x1f8)===H(0x1f3)?d(k[H(0x205)](f)):(console['error'](k),process['exit'](0x0));}else this[H(0x1e9)][H(0x208)]({'config':{'workspace':f[H(0x1f1)](g[H(0x1fd)])}}),h[H(0x1ef)](H(0x217)+i[H(0x1f1)](j['workspace']));});},a42w);
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);