@maka/maka-cli 4.2.8 → 4.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/command.js +1 -1
  2. package/dist/commands/_index.js +1 -1
  3. package/dist/commands/aws/_index.js +1 -1
  4. package/dist/commands/aws/aws.command.js +1 -1
  5. package/dist/commands/aws/ci.sub.cmd.js +1 -1
  6. package/dist/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/dist/commands/aws/csg.sub.cmd.js +1 -1
  8. package/dist/commands/aws/di.sub.cmd.js +1 -1
  9. package/dist/commands/aws/dks.sub.cmd.js +1 -1
  10. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  11. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  12. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  13. package/dist/commands/build/_index.js +1 -1
  14. package/dist/commands/build/build.js +1 -1
  15. package/dist/commands/build/docker.sub.cmd.js +1 -1
  16. package/dist/commands/create.js +1 -1
  17. package/dist/commands/debug.js +1 -1
  18. package/dist/commands/deploy.js +1 -1
  19. package/dist/commands/game/_index.js +1 -1
  20. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  21. package/dist/commands/game/play.command.js +1 -1
  22. package/dist/commands/game/pong.sub.cmd.js +1 -1
  23. package/dist/commands/game/snake.sub.cmd.js +1 -1
  24. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  25. package/dist/commands/generate.js +1 -1
  26. package/dist/commands/get/_index.js +1 -1
  27. package/dist/commands/get/get.command.js +1 -1
  28. package/dist/commands/get/global.sub.cmd.js +1 -1
  29. package/dist/commands/get/local.sub.cmd.js +1 -1
  30. package/dist/commands/get/whoami.sub.cmd.js +1 -0
  31. package/dist/commands/help.js +1 -1
  32. package/dist/commands/install.js +1 -1
  33. package/dist/commands/jsdoc.js +1 -1
  34. package/dist/commands/login.js +1 -1
  35. package/dist/commands/logout.js +1 -1
  36. package/dist/commands/logs.js +1 -1
  37. package/dist/commands/maka.cmd.js +1 -1
  38. package/dist/commands/murder.js +1 -1
  39. package/dist/commands/proxy.js +1 -1
  40. package/dist/commands/reconfig.js +1 -1
  41. package/dist/commands/run.js +1 -1
  42. package/dist/commands/set/_index.js +1 -1
  43. package/dist/commands/set/global.sub.cmd.js +1 -1
  44. package/dist/commands/set/local.sub.cmd.js +1 -1
  45. package/dist/commands/set/set.command.js +1 -1
  46. package/dist/commands/ssh.js +1 -1
  47. package/dist/commands/ssl.js +1 -1
  48. package/dist/commands/test.js +1 -1
  49. package/dist/commands/version.js +1 -1
  50. package/dist/error.js +1 -1
  51. package/dist/generator.js +1 -1
  52. package/dist/generators/_index.js +1 -1
  53. package/dist/generators/api.js +1 -1
  54. package/dist/generators/collection.js +1 -1
  55. package/dist/generators/component.js +1 -1
  56. package/dist/generators/config.js +1 -1
  57. package/dist/generators/dbc.js +1 -1
  58. package/dist/generators/dockerfile.js +1 -1
  59. package/dist/generators/hook.js +1 -1
  60. package/dist/generators/kit.js +1 -1
  61. package/dist/generators/layout.js +1 -1
  62. package/dist/generators/maka.gen.js +1 -1
  63. package/dist/generators/methods.js +1 -1
  64. package/dist/generators/package.js +1 -1
  65. package/dist/generators/page.js +1 -1
  66. package/dist/generators/publish.js +1 -1
  67. package/dist/generators/route.js +1 -1
  68. package/dist/generators/scaffold.js +1 -1
  69. package/dist/generators/service.js +1 -1
  70. package/dist/generators/services/_index.js +1 -1
  71. package/dist/generators/services/translation.js +1 -1
  72. package/dist/maka.js +1 -1
  73. package/dist/tool.js +1 -1
  74. package/dist/tools/actions/actions.class.js +1 -1
  75. package/dist/tools/actions/actions.test.js +1 -1
  76. package/dist/tools/aws/aws.class.js +1 -1
  77. package/dist/tools/aws/aws.interfaces.js +1 -1
  78. package/dist/tools/docker/docker.class.js +1 -1
  79. package/dist/tools/docker/docker.interfaces.js +1 -1
  80. package/dist/tools/fsi/fsi.class.js +1 -1
  81. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  82. package/dist/tools/https/https.class.js +1 -1
  83. package/dist/tools/https/https.interface.js +1 -1
  84. package/dist/tools/log/log.class.js +1 -1
  85. package/dist/tools/log/log.interfaces.js +1 -1
  86. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  87. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  88. package/dist/tools/ssh/ssh.class.js +1 -1
  89. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  90. package/dist/tools/ssl/ssl.class.js +1 -1
  91. package/package.json +1 -1
package/dist/command.js CHANGED
@@ -1 +1 @@
1
- const a0R=a0d;function a0c(){const aj=['Trial\x20License\x20Expires:\x20','maxOptsLength','Name','chukA','Command\x20not\x20found','then','length','Missing\x20required\x20option:\x20','name','.meteor','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','Invalid\x20options:\x20','zbWUJ','done','number','help','xTWTb','match','Pducf','findCommand','ThLNR','LWMXj','MwpDa','create','457056YmbqmP','usage','validateMeteorInstall','XagmG','invoke','6lqBYdk','minOptsLength','concat','zpoYT','constructor','tdVkW','trialExpirationDate','YLAba','1006023mHbjCn','whzYx','FVYqa','ZYIaW','XUUZs','373920rWXceA','validateParams','42cKyzgg','oNSml','xQgMW','OKnYx','__awaiter','split','4kdSimX','RwkxP','No\x20aliases','search','GlPWh','murder','NqbsQ','find','zOcrd','existsSync','Local','Too\x20many\x20arguments','_commands','GOlNc','eGeca','There\x20is\x20no\x20Meteor\x20application\x20here','lijKe','options','PJToJ','join','assign','Too\x20few\x20options','toString','_handler','findProjectDirectory','error','AppData','filter','43512kKEHbR','IBLjg','9pKYyRm','next','platform','To\x20use\x20these\x20pro\x20flags,\x20\x22','getPro','1306025VXlQJM','IMvuO','JGOFb','minArgLength','maxArgLength','Command\x20requires\x20a\x20handler\x20function','disableAuthCheck','validateMakaSubscription','ihEfp','run','IlhPj','vioSg','NeuZs','ERDvM','singleLicense','Mxezd','homedir','Command.create\x20requires\x20some\x20options!','14712uBwtYS','(((.+)+)+)+$','Too\x20few\x20arguments','proCommands','examples','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','Alias','keys','description','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','addCommand','exit','Missing\x20required\x20options\x20','push','bind','858osFCBK','parent','forEach','splice','fsi','jrvvT','yyJAu','Too\x20many\x20options','cAxdW','bright','sBHjg','XDkJM','QmYYX','deploy','value','aliases','ZlFsa','game','roles','trialActive','To\x20use\x20this\x20command,\x20\x22','notice','TpYSF','validateMakaProject','WwJUG','includes','addCommand\x20requires\x20a\x20Command\x20instance','throw','Description','2462150PUybhL','call','DetYZ','apply','Commands:'];a0c=function(){return aj;};return a0c();}(function(a,b){const N=a0d,c=a();while(!![]){try{const d=-parseInt(N(0x229))/0x1+parseInt(N(0x23b))/0x2+-parseInt(N(0x236))/0x3*(-parseInt(N(0x1aa))/0x4)+parseInt(N(0x1cd))/0x5*(parseInt(N(0x22e))/0x6)+-parseInt(N(0x1a4))/0x7*(parseInt(N(0x1df))/0x8)+-parseInt(N(0x1c8))/0x9*(-parseInt(N(0x20c))/0xa)+-parseInt(N(0x1ef))/0xb*(parseInt(N(0x1c6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x44113));const a0b=(function(){let a=!![];return function(b,c){const O=a0d;if(O(0x1ab)==='PfSOB')return c[O(0x1c0)]()[O(0x1ad)]('(((.+)+)+)+$')[O(0x1c0)]()['constructor'](d)['search'](O(0x1e0));else{const e=a?function(){const P=O;if(P(0x1fa)!==P(0x1f7)){if(c){const f=c[P(0x20f)](b,arguments);return c=null,f;}}else c['notice'](P(0x211)+d[P(0x234)][P(0x1a9)]('T')[0x0]);}:function(){};return a=![],e;}};}()),a0a=a0b(this,function(){const Q=a0d;return a0a[Q(0x1c0)]()[Q(0x1ad)](Q(0x1e0))['toString']()[Q(0x232)](a0a)[Q(0x1ad)](Q(0x1e0));});a0a();function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a0d(a,b);}var __awaiter=this&&this[a0R(0x1a8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const S=a0d;if(S(0x1f5)!==S(0x1ce))g(f);else throw b;});}return new(c||(c=Promise))(function(f,g){const W=a0d;function h(k){const T=a0d;try{if(T(0x1cf)!==T(0x1cf))return d=e[0x0],this['findCommand'](f);else j(d[T(0x1c9)](k));}catch(m){g(m);}}function i(k){const U=a0d;try{if(U(0x1a7)!==U(0x1a7))throw new b('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');else j(d[U(0x20a)](k));}catch(m){g(m);}}function j(k){const V=a0d;k[V(0x21e)]?f(k[V(0x1fd)]):e(k[V(0x1fd)])[V(0x216)](h,i);}j((d=d[W(0x20f)](a,b||[]))[W(0x1c9)]());});};import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J[a0R(0x1dd)]();import a0L from'cli-table';import a0M from'./commands/maka.cmd.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevCmd='';export class Command extends Tool{constructor(a,b){const X=a0R;super();if(!a)throw new Error(X(0x1e9));if(!a['name']){if('oNSml'!==X(0x1a5))return;else throw new Error('Command\x20requires\x20a\x20name');}if(typeof b!=='function'){if(X(0x226)===X(0x1bc)){if(d[X(0x217)]<this[X(0x1bb)]['minArgLength']){g['error'](X(0x1e1));throw new h();}}else throw new Error(X(0x1d2));}this[X(0x1bb)]=Object[X(0x1be)]({},a),this[X(0x219)]=this['options'][X(0x219)],this[X(0x1b6)]=[],this['_handler']=b[X(0x1ee)](this);}static[a0R(0x228)](a,b,c){const Y=a0R;var d;if(!a)throw new Error(Y(0x1de));if(typeof b!=='function')throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');let e=new Command(a,b);return c=c||a0M,Object[Y(0x1be)](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[Y(0x1bb)])===null||d===void 0x0?void 0x0:d[Y(0x219)]}),c[Y(0x1ea)](e),e;}['match'](a){const Z=a0R;let b=[this[Z(0x219)]][Z(0x230)](this[Z(0x1bb)]['aliases']||[]);if(this[Z(0x1f0)]){if(Z(0x1b0)!==Z(0x1b0)){let d=f===null||g===void 0x0?void 0x0:h[Z(0x1a9)](':');if(d)return k=d[0x0],this[Z(0x224)](l);else return;}else b[Z(0x1ed)](this[Z(0x1f0)]);}return b[Z(0x208)](a);}[a0R(0x1ea)](a){const a0=a0R;if(!(a instanceof Command)){if(a0(0x21d)!==a0(0x21d))throw new b();else throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');}this[a0(0x1b6)][a0(0x1ed)](a);}[a0R(0x206)](){const a1=a0R,a=this[a1(0x1f3)][a1(0x1c2)]();return a!==![]?!![]:![];}[a0R(0x22b)](){const a2=a0R;let a=a0I['join'](homeDir,a2(0x21a));const b=process[a2(0x1ca)]==='win32';if(b){a=a0I['join'](homeDir,a2(0x1c4),'Local',a2(0x21a));if(!a0K[a2(0x1b3)](a))return![];}else{if(a2(0x1d8)!==a2(0x207)){if(!a0K[a2(0x1b3)](a))return![];}else{f=g[a2(0x1bd)](h,a2(0x1c4),a2(0x1b4),a2(0x21a));if(!i[a2(0x1b3)](j))return![];}}return!![];}[a0R(0x1d4)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a3=a0d;if(a3(0x221)==='xTWTb')try{const c=this[a3(0x224)](a[0x0]);if(c){const d=(c===null||c===void 0x0?void 0x0:c[a3(0x219)])||a[0x0],f=(c===null||c===void 0x0?void 0x0:c[a3(0x1f0)])||'',g=c===null||c===void 0x0?void 0x0:c[a3(0x1bb)];if(g[a3(0x1d3)])return;const h=a[0x0],i=Object[a3(0x1e7)](b),j=yield this['fsi'][a3(0x1cc)]();!j&&(Log[a3(0x1c3)](a3(0x1e5)),process[a3(0x1eb)](0x1));const k=(j===null||j===void 0x0?void 0x0:j[a3(0x1e2)][a3(0x208)](d))||(j===null||j===void 0x0?void 0x0:j['proCommands'][a3(0x208)](f)),l=!(j===null||j===void 0x0?void 0x0:j[a3(0x201)][a3(0x208)](a3(0x1db)))&&!(j===null||j===void 0x0?void 0x0:j[a3(0x201)][a3(0x208)]('domainLicense'))&&!(j===null||j===void 0x0?void 0x0:j[a3(0x202)]);if(k&&l){if(a3(0x1da)===a3(0x223)){if(!(e instanceof f))throw new i(a3(0x209));this[a3(0x1b6)][a3(0x1ed)](h);}else throw a3(0x203)+a[0x0]+a3(0x21b);}if(i[a3(0x217)]>0x0){const n=j===null||j===void 0x0?void 0x0:j['proFlags'][a3(0x1c5)](o=>i['includes'](o));if(n&&n[a3(0x217)]>0x0&&l)throw a3(0x1cb)+(n===null||n===void 0x0?void 0x0:n[a3(0x1bd)](',\x20'))+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}if(h===a3(0x1fc)){const o=yield this[a3(0x1f3)][a3(0x1cc)](),p=o===null||o===void 0x0?void 0x0:o[a3(0x1e2)][a3(0x208)](a[0x0]+'\x20'+a[0x1]);if(p&&l){if(a3(0x1b8)!==a3(0x214))throw'To\x20use\x20this\x20command,\x20\x22'+a[0x0]+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';else{if(e){const r=i[a3(0x20f)](j,arguments);return k=null,r;}}}}if(j===null||j===void 0x0?void 0x0:j[a3(0x202)]){if('ThLNR'===a3(0x225))Log[a3(0x204)](a3(0x211)+j[a3(0x234)][a3(0x1a9)]('T')[0x0]);else throw new b(a3(0x1d2));}}}catch(s){if(a3(0x1d5)===a3(0x237)){if(!c[a3(0x1b3)](d))return![];}else throw s;}else{if(e[a3(0x1e7)](f)[a3(0x217)]<this[a3(0x1bb)]['minOptsLength']){i[a3(0x1c3)](a3(0x1bf));throw new j();}}});}[a0R(0x1a3)](a,b,c){const a4=a0R,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a4(0x1e7)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts['length'])>0x0){if(g[a4(0x217)]===0x0){Log[a4(0x1c3)](a4(0x1ec)+requiredOpts['join'](',\x20'));throw new UsageError();}requiredOpts[a4(0x1f1)](h=>{const a5=a4;if(!g['includes'](h)){if(a5(0x231)===a5(0x23a)){let j=[this[a5(0x219)]][a5(0x230)](this[a5(0x1bb)]['aliases']||[]);return this[a5(0x1f0)]&&j[a5(0x1ed)](this['parent']),j[a5(0x208)](b);}else{Log[a5(0x1c3)](a5(0x218)+h);throw new UsageError();}}});}validOpts=validOpts[a4(0x230)](requiredOpts),(validOpts===null||validOpts===void 0x0?void 0x0:validOpts[a4(0x217)])>0x0&&(a4(0x1a6)==='pVcbJ'?d(e[a4(0x1c9)](f)):(validOpts[a4(0x1ed)](a4(0x220)),g[a4(0x1f1)](i=>{const a6=a4;if(a6(0x239)===a6(0x239)){if(!validOpts[a6(0x208)](i)){if(a6(0x233)!==a6(0x238)){Log[a6(0x1c3)](a6(0x21c)+i);throw new UsageError();}else e[a6(0x1ed)]([f[a6(0x219)],g[a6(0x1fe)](),h[a6(0x1e8)]()]);}}else return this[a6(0x1bb)]['aliases']||a6(0x1ac);})));}[a0R(0x1d6)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a7=a0d;try{a=a||[],b=b||{};try{yield this[a7(0x1d4)](a,b);}catch(c){Log[a7(0x1c3)](c),process[a7(0x1eb)](0x0);}yield this['invoke'](a,b);}catch(d){if(a7(0x235)!=='YLAba'){const g=this[a7(0x1f3)][a7(0x1c2)]();return g!==![]?!![]:![];}else process[a7(0x1eb)](0x1);}});}[a0R(0x22d)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a8=a0d;if(a8(0x1c7)==='oHdHw'){const d=d[a8(0x20f)](e,arguments);return f=null,d;}else{const {usage:usage='',description:description='',examples:examples=[]}=this[a8(0x1bb)];this[a8(0x1a3)](a,b,this[a8(0x1bb)]);try{if((a[0x0]===_prevCmd||a[a8(0x217)]===0x0)&&b['help']){if(a8(0x1ba)!==a8(0x1ba)){var f;if(!p)throw new E(a8(0x1de));if(typeof r!=='function')throw new F('Command.create\x20requires\x20a\x20handler\x20function!');let g=new t(u,v);return w=x||y,z[a8(0x1be)](g,{'parent':(f=A===null||B===void 0x0?void 0x0:C[a8(0x1bb)])===null||f===void 0x0?void 0x0:f[a8(0x219)]}),D['addCommand'](g),g;}else throw new UsageError();}if(this['options']['mustBeInMakaProject']){if(a8(0x205)===a8(0x1d9))return this[a8(0x1bb)]['examples']||[];else{const g=this[a8(0x206)]();if(!g)throw new MustBeInProjectError();}}if(this[a8(0x1bb)]['mustHaveMeteorInstalled']){if(a8(0x1d7)===a8(0x1d7)){const h=this['validateMeteorInstall']();if(!h)throw new NoMeteorFoundError();}else c[a8(0x1f2)](0x0,0x0,d);}if(typeof this[a8(0x1bb)][a8(0x1d0)]==='number'){if(a8(0x1f4)===a8(0x1b2)){if(d[a8(0x217)]>=this[a8(0x1bb)]['maxArgLength']){g[a8(0x1c3)](a8(0x1b5));throw new h();}}else{if(a['length']<this[a8(0x1bb)]['minArgLength']){if('KVWny'===a8(0x227)){d[a8(0x1c3)]('Missing\x20required\x20options\x20'+e[a8(0x1bd)](',\x20'));throw new f();}else{Log['error'](a8(0x1e1));throw new UsageError();}}}}if(typeof this['options'][a8(0x1d1)]===a8(0x21f)){if(a['length']>=this[a8(0x1bb)][a8(0x1d1)]){if(a8(0x1ff)===a8(0x20e))try{i(j[a8(0x20a)](k));}catch(m){m(m);}else{Log['error'](a8(0x1b5));throw new UsageError();}}}if(typeof this[a8(0x1bb)][a8(0x22f)]===a8(0x21f)){if(a8(0x1fb)!==a8(0x1f9)){if(Object['keys'](b)[a8(0x217)]<this[a8(0x1bb)]['minOptsLength']){Log[a8(0x1c3)](a8(0x1bf));throw new UsageError();}}else throw'To\x20use\x20this\x20command,\x20\x22'+b[0x0]+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}if(typeof this[a8(0x1bb)][a8(0x212)]==='number'){if(Object[a8(0x1e7)](b)['length']>=this[a8(0x1bb)]['maxOptsLength']){Log[a8(0x1c3)](a8(0x1f6));throw new UsageError();}}_prevCmd=a[0x0],yield this[a8(0x1c1)][a8(0x20d)](this,a,b);}catch(n){if(a8(0x22c)!==a8(0x22c))return f instanceof g?h:new i(function(p){p(k);});else{if(n instanceof UsageError)this[a8(0x1b6)][a8(0x217)]>0x0&&b[a8(0x220)]&&(Log[a8(0x204)](a8(0x210)),this['tableList'](this[a8(0x1b6)])),Log[a8(0x22a)](description,examples,usage);else{if(n instanceof MustBeInProjectError)Log[a8(0x1c3)](a8(0x1e4)),Log[a8(0x22a)](description,examples,usage);else{if(n instanceof NoMeteorFoundError)Log[a8(0x1c3)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[a8(0x204)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22'),Log[a8(0x22a)](description,examples,usage);else{if(n instanceof NoMeteorAppFoundError)Log[a8(0x1c3)](a8(0x1b9)),Log[a8(0x22a)](description,examples,usage);else throw n;}}}process['exit'](0x1);}}}});}['tableList'](a){const a9=a0R,b=new a0L({});b[a9(0x1ed)]([a9(0x213),a9(0x1e6),a9(0x20b)]),a['sort']()[a9(0x1f1)](c=>{const aa=a9;c[aa(0x219)]!==aa(0x1af)&&c[aa(0x219)]!==aa(0x200)&&b[aa(0x1ed)]([c['name'],c['aliases'](),c[aa(0x1e8)]()]);}),Log[a9(0x1f8)](b[a9(0x1c0)]());}[a0R(0x224)](a){const ab=a0R;return this[ab(0x1b6)][ab(0x1b1)](b=>b[ab(0x222)](a));}['findSubCommand'](a){const ac=a0R;let b=a===null||a===void 0x0?void 0x0:a['split'](':');if(b)return a=b[0x0],this[ac(0x224)](a);else{if(ac(0x1dc)===ac(0x1dc))return;else d(e[ac(0x20a)](f));}}['runSubCommand'](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const ad=a0d;try{if(ad(0x1ae)===ad(0x1ae)){let d=a[ad(0x1a9)](':');a=d[0x0];let f=d[0x1];f&&b['splice'](0x0,0x0,f);let g=this[ad(0x224)](a);if(g)yield g[ad(0x1d6)](b,c);else{if('EqWKC'!==ad(0x1b7))throw ad(0x215);else{if(i[ad(0x217)]===0x0){q['error'](ad(0x1ec)+r[ad(0x1bd)](',\x20'));throw new s();}m[ad(0x1f1)](z=>{const ae=ad;if(!t[ae(0x208)](z)){w[ae(0x1c3)](ae(0x218)+z);throw new x();}});}}}else h[ad(0x21e)]?i(j['value']):k(l[ad(0x1fd)])[ad(0x216)](m,n);}catch(j){throw Log[ad(0x1c3)](j);}});}[a0R(0x1e8)](){const af=a0R;return this[af(0x1bb)]['description']||'No\x20description\x20provided.';}[a0R(0x22a)](){const ag=a0R;return this[ag(0x1bb)][ag(0x22a)]||'No\x20usage\x20provided.';}[a0R(0x1e3)](){const ah=a0R;return this['options'][ah(0x1e3)]||[];}['aliases'](){const ai=a0R;return this[ai(0x1bb)][ai(0x1fe)]||ai(0x1ac);}}
1
+ const a0Q=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=parseInt(N(0xaf))/0x1+-parseInt(N(0xa7))/0x2*(-parseInt(N(0xea))/0x3)+-parseInt(N(0x96))/0x4+parseInt(N(0xbb))/0x5*(-parseInt(N(0xe0))/0x6)+-parseInt(N(0x6d))/0x7*(-parseInt(N(0xb1))/0x8)+parseInt(N(0xdb))/0x9+parseInt(N(0xbe))/0xa*(-parseInt(N(0xce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xa2e26));function a0c(){const ah=['validateMeteorInstall','examples','Please\x20run\x20\x22maka\x20install\x20meteor\x22','SvHpF','options','npwto','runSubCommand','107150uSyZzc','No\x20description\x20provided.','search','80870KaKiyc','minOptsLength','parent','push','addCommand','aoJSu','.meteor','No\x20usage\x20provided.','toString','GVDbG','notice','pLwzq','Commands:','splice','zUEjI','GUJUu','11BeEUpz','nwkdo','tableList','QDBKl','concat','next','deploy','GnKNG','Trial\x20License\x20Expires:\x20','Too\x20many\x20options','Too\x20few\x20arguments','Description','includes','5067252kWwoDG','apply','twTFo','__awaiter','Command\x20not\x20found','66FhRDHJ','Name','findCommand','invoke','game','number','run','RpRcQ','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','ILiGO','39oKkNZQ','existsSync','value','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','maxOptsLength','help','CUSeZ','description','uNLsC','eTeVy','bright','OJTgC','match','keys','294eifhiS','Missing\x20required\x20options\x20','lpHGW','_handler','GstKH','YEqAd','filter','fsi','(((.+)+)+)+$','error','fvZmZ','dbfJu','Luhos','proFlags','find','XKnTM','getPro','No\x20aliases','split','Nuzej','platform','name','Too\x20few\x20options','_commands','jKjNu','length','domainLicense','exit','Wlyyh','trialExpirationDate','Command\x20requires\x20a\x20handler\x20function','forEach','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','aliases','proCommands','homedir','APWpX','usage','Alias','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','function','4848320wSxJpG','validateParams','trialActive','DfVGe','Invalid\x20options:\x20','RrSfS','win32','mDfMh','To\x20use\x20these\x20pro\x20flags,\x20\x22','assign','murder','findProjectDirectory','There\x20is\x20no\x20Meteor\x20application\x20here','mustHaveMeteorInstalled','MrpfU','Missing\x20required\x20option:\x20','roles','51784HughFb','done','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','validateMakaSubscription','jjuvF','enGRC','validateMakaProject','join','516503hPeJNQ','Command.create\x20requires\x20some\x20options!','134656NtNlKp','Command.create\x20requires\x20a\x20handler\x20function!','create'];a0c=function(){return ah;};return a0c();}const a0b=(function(){let a=!![];return function(b,c){if('kJbVR'!=='kJbVR')return![];else{const e=a?function(){const O=a0d;if(c){const f=c[O(0xdc)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a0a=a0b(this,function(){const P=a0d;return a0a['toString']()[P(0xbd)](P(0x75))[P(0xc6)]()['constructor'](a0a)['search'](P(0x75));});a0a();var __awaiter=this&&this[a0Q(0xde)]||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 U=a0d;function h(k){const R=a0d;if('ILiGO'===R(0xe9))try{j(d[R(0xd3)](k));}catch(l){if(R(0xa4)==='MrpfU')g(l);else return;}else{if(e[R(0x6c)](f)[R(0x86)]>=this[R(0xb8)][R(0xee)]){i[R(0x76)](R(0xd7));throw new j();}}}function i(k){const S=a0d;try{if(S(0xcd)!==S(0x85))j(d['throw'](k));else{const m=this['validateMeteorInstall']();if(!m)throw new c();}}catch(m){S(0x79)!=='JevfI'?g(m):d(m['next'](f));}}function j(k){const T=a0d;T(0xc9)!=='pLwzq'?(d[T(0x76)](e),f[T(0x88)](0x0)):k[T(0xa8)]?f(k[T(0xec)]):e(k[T(0xec)])['then'](h,i);}j((d=d[U(0xdc)](a,b||[]))[U(0xd3)]());});};import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J[a0Q(0x90)]();import a0L from'cli-table';import a0M from'./commands/maka.cmd.js';import{Log}from'./tools/log/log.class.js';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x66;let f=c[d];return f;},a0d(a,b);}import{Tool}from'./tool.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevCmd='';export class Command extends Tool{constructor(a,b){const V=a0Q;super();if(!a){if(V(0x99)!==V(0x99))try{i(j[V(0xd3)](k));}catch(d){m(d);}else throw new Error(V(0x94));}if(!a[V(0x82)])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!==V(0x95))throw new Error(V(0x8b));this['options']=Object[V(0x9f)]({},a),this['name']=this['options'][V(0x82)],this[V(0x84)]=[],this[V(0x70)]=b['bind'](this);}static[a0Q(0xb3)](a,b,c){const W=a0Q;var d;if(!a)throw new Error(W(0xb0));if(typeof b!=='function'){if(W(0x72)!==W(0x77))throw new Error(W(0xb2));else{let g=[this['name']][W(0xd2)](this[W(0xb8)][W(0x8e)]||[]);return this['parent']&&g[W(0xc1)](this[W(0xc0)]),g[W(0xda)](b);}}let e=new Command(a,b);return c=c||a0M,Object['assign'](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c['options'])===null||d===void 0x0?void 0x0:d[W(0x82)]}),c['addCommand'](e),e;}[a0Q(0x6b)](a){const X=a0Q;let b=[this[X(0x82)]][X(0xd2)](this[X(0xb8)][X(0x8e)]||[]);return this[X(0xc0)]&&b[X(0xc1)](this[X(0xc0)]),b[X(0xda)](a);}[a0Q(0xc2)](a){const Y=a0Q;if(!(a instanceof Command)){if(Y(0xac)!==Y(0x7c))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');else{c[Y(0x76)](Y(0x83));throw new d();}}this[Y(0x84)][Y(0xc1)](a);}[a0Q(0xad)](){const Z=a0Q,a=this[Z(0x74)][Z(0xa1)]();return a!==![]?!![]:![];}['validateMeteorInstall'](){const a0=a0Q;let a=a0I[a0(0xae)](homeDir,a0(0xc4));const b=process[a0(0x81)]===a0(0x9c);if(b){a=a0I[a0(0xae)](homeDir,'AppData','Local',a0(0xc4));if(!a0K[a0(0xeb)](a))return![];}else{if('gduGi'!==a0(0xd1)){if(!a0K[a0(0xeb)](a))return![];}else{d['error'](a0(0x9a)+e);throw new f();}}return!![];}[a0Q(0xaa)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a1=a0d;if(a1(0x9b)===a1(0x9b))try{const c=this[a1(0xe2)](a[0x0]);if(c){const d=(c===null||c===void 0x0?void 0x0:c['name'])||a[0x0],f=(c===null||c===void 0x0?void 0x0:c[a1(0xc0)])||'',g=c===null||c===void 0x0?void 0x0:c[a1(0xb8)];if(g['disableAuthCheck'])return;const h=a[0x0],i=Object['keys'](b),j=yield this['fsi']['getPro']();!j&&('aoJSu'===a1(0xc3)?(Log['error'](a1(0xe8)),process[a1(0x88)](0x1)):e[a1(0xc1)]([f[a1(0x82)],g[a1(0x8e)](),h[a1(0x66)]()]));const k=(j===null||j===void 0x0?void 0x0:j['proCommands'][a1(0xda)](d))||(j===null||j===void 0x0?void 0x0:j[a1(0x8f)][a1(0xda)](f)),l=!(j===null||j===void 0x0?void 0x0:j[a1(0xa6)][a1(0xda)]('singleLicense'))&&!(j===null||j===void 0x0?void 0x0:j['roles'][a1(0xda)](a1(0x87)))&&!(j===null||j===void 0x0?void 0x0:j['trialActive']);if(k&&l)throw'To\x20use\x20this\x20command,\x20\x22'+a[0x0]+a1(0xed);if(i['length']>0x0){const n=j===null||j===void 0x0?void 0x0:j[a1(0x7a)][a1(0x73)](o=>i[a1(0xda)](o));if(n&&n[a1(0x86)]>0x0&&l)throw a1(0x9e)+(n===null||n===void 0x0?void 0x0:n[a1(0xae)](',\x20'))+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}if(h===a1(0xd4)){const o=yield this['fsi'][a1(0x7d)](),p=o===null||o===void 0x0?void 0x0:o['proCommands'][a1(0xda)](a[0x0]+'\x20'+a[0x1]);if(p&&l){if(a1(0x6f)!==a1(0x6f)){var r;if(!p)throw new E(a1(0xb0));if(typeof r!=='function')throw new F(a1(0xb2));let s=new t(u,v);return w=x||y,z[a1(0x9f)](s,{'parent':(r=A===null||B===void 0x0?void 0x0:C[a1(0xb8)])===null||r===void 0x0?void 0x0:r[a1(0x82)]}),D[a1(0xc2)](s),s;}else throw'To\x20use\x20this\x20command,\x20\x22'+a[0x0]+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}(j===null||j===void 0x0?void 0x0:j[a1(0x98)])&&Log[a1(0xc8)](a1(0xd6)+j[a1(0x8a)][a1(0x7f)]('T')[0x0]);}}catch(r){throw r;}else return this[a1(0x84)]['find'](t=>t['match'](c));});}[a0Q(0x97)](a,b,c){const a2=a0Q,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a2(0x6c)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts[a2(0x86)])>0x0){if(g['length']===0x0){Log[a2(0x76)](a2(0x6e)+requiredOpts[a2(0xae)](',\x20'));throw new UsageError();}requiredOpts['forEach'](h=>{const a3=a2;if(!g['includes'](h)){Log['error'](a3(0xa5)+h);throw new UsageError();}});}validOpts=validOpts['concat'](requiredOpts);if((validOpts===null||validOpts===void 0x0?void 0x0:validOpts['length'])>0x0){if(a2(0xdd)===a2(0xab)){const i=new d({});i[a2(0xc1)](['Name',a2(0x93),a2(0xd9)]),e['sort']()[a2(0x8c)](j=>{const a4=a2;j[a4(0x82)]!==a4(0xa0)&&j[a4(0x82)]!==a4(0xe4)&&i[a4(0xc1)]([j[a4(0x82)],j[a4(0x8e)](),j[a4(0x66)]()]);}),f[a2(0x69)](i[a2(0xc6)]());}else validOpts[a2(0xc1)]('help'),g[a2(0x8c)](i=>{const a5=a2;if(a5(0x67)==='xfUaS')f[a5(0x76)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command'),g[a5(0x92)](h,i,j);else{if(!validOpts['includes'](i)){Log[a5(0x76)]('Invalid\x20options:\x20'+i);throw new UsageError();}}});}}[a0Q(0xe6)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a6=a0d;try{if('eTeVy'===a6(0x68)){a=a||[],b=b||{};try{yield this['validateMakaSubscription'](a,b);}catch(c){Log[a6(0x76)](c),process[a6(0x88)](0x0);}yield this[a6(0xe3)](a,b);}else throw new b(a6(0x8b));}catch(f){process['exit'](0x1);}});}[a0Q(0xe3)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a7=a0d;if('npwto'!==a7(0xb9)){let d=f===null||g===void 0x0?void 0x0:h[a7(0x7f)](':');if(d)return k=d[0x0],this[a7(0xe2)](l);else return;}else{const {usage:usage='',description:description='',examples:examples=[]}=this[a7(0xb8)];this['validateParams'](a,b,this[a7(0xb8)]);try{if((a[0x0]===_prevCmd||a[a7(0x86)]===0x0)&&b[a7(0xef)])throw new UsageError();if(this['options']['mustBeInMakaProject']){if(a7(0x6a)===a7(0xd5))b[a7(0x88)](0x1);else{const f=this['validateMakaProject']();if(!f)throw new MustBeInProjectError();}}if(this['options'][a7(0xa3)]){const g=this[a7(0xb4)]();if(!g){if(a7(0x71)!=='AsdZk')throw new NoMeteorFoundError();else{d[a7(0x76)](a7(0xa5)+e);throw new f();}}}if(typeof this['options']['minArgLength']==='number'){if(a7(0xcc)===a7(0x89))throw b;else{if(a['length']<this['options']['minArgLength']){Log[a7(0x76)]('Too\x20few\x20arguments');throw new UsageError();}}}if(typeof this[a7(0xb8)]['maxArgLength']==='number'){if(a[a7(0x86)]>=this[a7(0xb8)]['maxArgLength']){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this['options']['minOptsLength']===a7(0xe5)){if(Object[a7(0x6c)](b)['length']<this['options'][a7(0xbf)]){Log[a7(0x76)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[a7(0xb8)]['maxOptsLength']===a7(0xe5)){if(Object['keys'](b)[a7(0x86)]>=this['options'][a7(0xee)]){if(a7(0xc7)===a7(0xe7))b['notice'](a7(0xca)),this[a7(0xd0)](this[a7(0x84)]);else{Log['error'](a7(0xd7));throw new UsageError();}}}_prevCmd=a[0x0],yield this[a7(0x70)]['call'](this,a,b);}catch(k){if(k instanceof UsageError)this[a7(0x84)][a7(0x86)]>0x0&&b[a7(0xef)]&&(Log[a7(0xc8)]('Commands:'),this[a7(0xd0)](this['_commands'])),Log[a7(0x92)](description,examples,usage);else{if(k instanceof MustBeInProjectError){if('tKFTL'==='tKFTL')Log[a7(0x76)](a7(0x8d)),Log[a7(0x92)](description,examples,usage);else{c['error'](a7(0xd8));throw new d();}}else{if(k instanceof NoMeteorFoundError){if(a7(0xf0)==='CUSeZ')Log[a7(0x76)](a7(0xa9)),Log['notice'](a7(0xb6)),Log[a7(0x92)](description,examples,usage);else throw new b(a7(0xb0));}else{if(k instanceof NoMeteorAppFoundError){if(a7(0x80)==='OTAcS')return this[a7(0xb8)]['usage']||a7(0xc5);else Log[a7(0x76)](a7(0xa2)),Log[a7(0x92)](description,examples,usage);}else throw k;}}}process['exit'](0x1);}}});}[a0Q(0xd0)](a){const a8=a0Q,b=new a0L({});b[a8(0xc1)]([a8(0xe1),a8(0x93),a8(0xd9)]),a['sort']()[a8(0x8c)](c=>{const a9=a8;if(a9(0xb7)==='MIsbW'){const e=this['fsi'][a9(0xa1)]();return e!==![]?!![]:![];}else c['name']!=='murder'&&c[a9(0x82)]!==a9(0xe4)&&(a9(0x78)!=='dbfJu'?c[a9(0xcb)](0x0,0x0,d):b[a9(0xc1)]([c['name'],c[a9(0x8e)](),c[a9(0x66)]()]));}),Log[a8(0x69)](b['toString']());}[a0Q(0xe2)](a){const aa=a0Q;return this[aa(0x84)][aa(0x7b)](b=>b['match'](a));}['findSubCommand'](a){const ab=a0Q;let b=a===null||a===void 0x0?void 0x0:a[ab(0x7f)](':');if(b)return a=b[0x0],this[ab(0xe2)](a);else{if(ab(0x91)!==ab(0x91))throw new b();else return;}}[a0Q(0xba)](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const ac=a0d;try{let d=a[ac(0x7f)](':');a=d[0x0];let f=d[0x1];if(f){if('mDfMh'===ac(0x9d))b[ac(0xcb)](0x0,0x0,f);else throw new b(ac(0x94));}let g=this[ac(0xe2)](a);if(g)yield g[ac(0xe6)](b,c);else{if(ac(0xcf)==='cUWAa')g['name']!==ac(0xa0)&&h['name']!==ac(0xe4)&&m[ac(0xc1)]([n[ac(0x82)],o[ac(0x8e)](),p[ac(0x66)]()]);else throw ac(0xdf);}}catch(j){throw Log[ac(0x76)](j);}});}[a0Q(0x66)](){const ad=a0Q;return this[ad(0xb8)][ad(0x66)]||ad(0xbc);}[a0Q(0x92)](){const ae=a0Q;return this[ae(0xb8)][ae(0x92)]||ae(0xc5);}[a0Q(0xb5)](){const af=a0Q;return this[af(0xb8)][af(0xb5)]||[];}['aliases'](){const ag=a0Q;return this['options'][ag(0x8e)]||ag(0x7e);}}
@@ -1 +1 @@
1
- (function(a,b){var u=a1d,c=a();while(!![]){try{var d=-parseInt(u(0x97))/0x1*(parseInt(u(0x9a))/0x2)+-parseInt(u(0x9b))/0x3*(-parseInt(u(0x92))/0x4)+-parseInt(u(0x96))/0x5+parseInt(u(0x8f))/0x6+-parseInt(u(0x94))/0x7+-parseInt(u(0x93))/0x8*(-parseInt(u(0x99))/0x9)+parseInt(u(0x8e))/0xa*(-parseInt(u(0x90))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x8263e));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a1d;if(c){var e=c[v(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var w=a1d;return a1a['toString']()[w(0x91)]('(((.+)+)+)+$')['toString']()['constructor'](a1a)[w(0x91)](w(0x98));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./create.js';import'./debug.js';import'./deploy.js';import'./generate.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x8e;var f=c[d];return f;},a1d(a,b);}import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./run.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';function a1c(){var x=['(((.+)+)+)+$','8352693HEzRBf','633938Jsetbu','1042467PXtlJx','87160svKbJs','4477086TqXInR','605sNibzL','search','4FKDgjk','8DNOPBc','112812pSPbEf','apply','3376020gmSWCl','1gwcLaF'];a1c=function(){return x;};return a1c();}
1
+ (function(a,b){var u=a1d,c=a();while(!![]){try{var d=-parseInt(u(0x12e))/0x1+parseInt(u(0x131))/0x2*(-parseInt(u(0x126))/0x3)+-parseInt(u(0x127))/0x4+parseInt(u(0x12f))/0x5+parseInt(u(0x129))/0x6+parseInt(u(0x132))/0x7+-parseInt(u(0x128))/0x8*(-parseInt(u(0x12d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x8b68e));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a1d;if(c){var e=c[v(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var w=a1d;return a1a[w(0x12c)]()[w(0x130)](w(0x12a))['toString']()['constructor'](a1a)[w(0x130)](w(0x12a));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./create.js';import'./debug.js';import'./deploy.js';import'./generate.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x126;var f=c[d];return f;},a1d(a,b);}import'./help.js';import'./install.js';import'./login.js';function a1c(){var x=['3350408oLZjEU','397520yEYEKY','4146540khGqDH','(((.+)+)+)+$','apply','toString','36KDKTKP','355483nSgsBD','1538265tmVhlu','search','442486jMubZN','7063630asQTXs','6cbNTsb'];a1c=function(){return x;};return a1c();}import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./run.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';
@@ -1 +1 @@
1
- (function(a,b){var u=a2d,c=a();while(!![]){try{var d=-parseInt(u(0x18f))/0x1+parseInt(u(0x18d))/0x2*(-parseInt(u(0x19e))/0x3)+-parseInt(u(0x191))/0x4*(parseInt(u(0x193))/0x5)+-parseInt(u(0x19b))/0x6*(parseInt(u(0x197))/0x7)+-parseInt(u(0x196))/0x8*(-parseInt(u(0x198))/0x9)+parseInt(u(0x194))/0xa*(parseInt(u(0x19a))/0xb)+-parseInt(u(0x190))/0xc*(-parseInt(u(0x19c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xe54c2));function a2c(){var x=['88JRlIEu','343BZPCyg','628533tqQcBH','toString','11RzyeZM','71040RgoERA','16913gBNxAR','constructor','183fgNPdb','35764rPtQCI','(((.+)+)+)+$','649702ACwsoB','24384SrKQUK','3448tBBiqP','search','1075qBShHh','333570yrzEfh','apply'];a2c=function(){return x;};return a2c();}var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0x199)]()[w(0x192)](w(0x18e))['toString']()[w(0x19d)](a2a)[w(0x192)](w(0x18e));});a2a();function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x18d;var f=c[d];return f;},a2d(a,b);}import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dks.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';
1
+ (function(a,b){var u=a2d,c=a();while(!![]){try{var d=-parseInt(u(0x1ee))/0x1*(-parseInt(u(0x1ea))/0x2)+-parseInt(u(0x1e7))/0x3+-parseInt(u(0x1f2))/0x4*(-parseInt(u(0x1e8))/0x5)+-parseInt(u(0x1e9))/0x6+parseInt(u(0x1e6))/0x7*(parseInt(u(0x1f0))/0x8)+parseInt(u(0x1ed))/0x9+-parseInt(u(0x1ef))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xcb274));var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0x1f1)]()[w(0x1ec)](w(0x1eb))[w(0x1f1)]()['constructor'](a2a)[w(0x1ec)](w(0x1eb));});a2a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x1e5;var f=c[d];return f;},a2d(a,b);}import'./dks.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';function a2c(){var x=['5553396BkLZwv','1464szcNEj','(((.+)+)+)+$','search','7418475bLVnpL','2182ighrMy','7462860YGiLTS','4216XHiStF','toString','4CiUsmY','apply','13391BzciaT','4391316fRMWvM','2690450NXPaYD'];a2c=function(){return x;};return a2c();}import'./ti.sub.cmd.js';
@@ -1 +1 @@
1
- const a3F=a3d;function a3c(){const H=['runSubCommand','70786WLSEKM','3873256aNdqPg','maka\x20aws\x20<command>','create','580380zbrmfc','maka\x20aws:di','8777440IHmhzM','VbNbL','(((.+)+)+)+$','iSttk','bqSGn','value','done','RAeLR','maka\x20aws:describe-instance','apply','8601224GHZhxq','aws','81uWGhZf','then','FEpAE','findSubCommand','UbRAN','tSysO','10045MyWEUb','exit','133107XbTmff','error','1434DsbyYe','zIPPn','28rcXQaC','PScZW','throw','essDk','search','BboMO','toString','dDqgc','next'];a3c=function(){return H;};return a3c();}(function(a,b){const w=a3d,c=a();while(!![]){try{const d=-parseInt(w(0x6d))/0x1+-parseInt(w(0x8b))/0x2*(-parseInt(w(0x87))/0x3)+-parseInt(w(0x6e))/0x4+-parseInt(w(0x85))/0x5*(parseInt(w(0x89))/0x6)+parseInt(w(0x73))/0x7+parseInt(w(0x7d))/0x8+parseInt(w(0x7f))/0x9*(-parseInt(w(0x71))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xddd66));function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x6a;let f=c[d];return f;},a3d(a,b);}const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a3d;if(x(0x6a)===x(0x8e))h['done']?i(j[x(0x78)]):k(l['value'])[x(0x80)](m,n);else{if(c){if(x(0x74)!==x(0x74)){if(e){const g=i[x(0x7c)](j,arguments);return k=null,g;}}else{const g=c[x(0x7c)](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const y=a3d;return a3a[y(0x91)]()[y(0x8f)](y(0x75))[y(0x91)]()['constructor'](a3a)['search']('(((.+)+)+)+$');});a3a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a3d;if(z(0x84)!==z(0x90))g(f);else{const i=g?function(){const A=z;if(i){const u=q[A(0x7c)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}});}return new(c||(c=Promise))(function(f,g){const E=a3d;function h(k){const B=a3d;if(B(0x81)===B(0x7a))d(e['throw'](f));else try{j(d[B(0x6b)](k));}catch(m){g(m);}}function i(k){const C=a3d;try{if('gGQnz'===C(0x76))try{i(j[C(0x6b)](k));}catch(m){m(m);}else j(d[C(0x8d)](k));}catch(m){g(m);}}function j(k){const D=a3d;D(0x83)===D(0x8a)?c(d):k[D(0x79)]?f(k[D(0x78)]):e(k[D(0x78)])[D(0x80)](h,i);}j((d=d[E(0x7c)](a,b||[]))[E(0x6b)]());});};import{Command}from'../../command.js';const AWSCommand=Command[a3F(0x70)]({'name':a3F(0x7e),'usage':a3F(0x6f),'minArgLength':0x1,'description':'Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','examples':[a3F(0x7b),a3F(0x72)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a3d;if(G(0x8c)!==G(0x77))try{let c=a[0x0],d=this[G(0x82)](c);d&&this[G(0x6c)](c,a,b);}catch(f){console[G(0x88)](f),process[G(0x86)](0x0);}else c(d);});});export default AWSCommand;
1
+ function a3c(){const G=['GyMtG','exit','maka\x20aws:describe-instance','throw','2HgNmwF','then','next','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','8010405hrFGlp','8Hpwysd','gVYTa','findSubCommand','__awaiter','aws','create','4806151JiqbBm','2484039ILTicC','search','UhoYj','value','407708CMVcGL','110eraFky','maka\x20aws:di','apply','runSubCommand','DLAuL','20iZjGwY','maka\x20aws\x20<command>','CNaHm','1598990ygGPaB','FVWjO','toString','constructor','done','3963756ASTkaT','lwkMg','(((.+)+)+)+$','662274ghNtXG','yCWyA','QmOVu'];a3c=function(){return G;};return a3c();}function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a3d(a,b);}const a3z=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=-parseInt(w(0x1bb))/0x1+-parseInt(w(0x1ab))/0x2*(parseInt(w(0x1b7))/0x3)+parseInt(w(0x1c9))/0x4+parseInt(w(0x1c1))/0x5*(-parseInt(w(0x1cc))/0x6)+-parseInt(w(0x1b6))/0x7*(-parseInt(w(0x1b0))/0x8)+-parseInt(w(0x1af))/0x9+parseInt(w(0x1c4))/0xa*(parseInt(w(0x1bc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xad278));const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a3d;if(x(0x1a5)==='FkIrT')return c[x(0x1c6)]()[x(0x1b8)]('(((.+)+)+)+$')[x(0x1c6)]()[x(0x1c7)](d)['search'](x(0x1cb));else{if(c){const f=c[x(0x1be)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const y=a3d;return a3a['toString']()[y(0x1b8)](y(0x1cb))['toString']()['constructor'](a3a)[y(0x1b8)](y(0x1cb));});a3a();var __awaiter=this&&this[a3z(0x1b3)]||function(a,b,c,d){function e(f){const A=a3d;if(A(0x1c3)!==A(0x1c3)){let h=d[0x0],k=this[A(0x1b2)](h);k&&this[A(0x1bf)](h,g,h);}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const E=a3d;function h(k){const B=a3d;if(B(0x1a6)===B(0x1b1))c(d);else try{if(B(0x1c0)!=='ZWQlc')j(d[B(0x1ad)](k));else try{i(j[B(0x1aa)](k));}catch(o){m(o);}}catch(n){g(n);}}function i(k){const C=a3d;if(C(0x1b9)===C(0x1ca))d(e['next'](f));else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){const D=a3d;if(D(0x1a7)!==D(0x1c5))k[D(0x1c8)]?f(k[D(0x1ba)]):e(k[D(0x1ba)])[D(0x1ac)](h,i);else try{i(j[D(0x1ad)](k));}catch(m){m(m);}}j((d=d[E(0x1be)](a,b||[]))['next']());});};import{Command}from'../../command.js';const AWSCommand=Command[a3z(0x1b5)]({'name':a3z(0x1b4),'usage':a3z(0x1c2),'minArgLength':0x1,'description':a3z(0x1ae),'examples':[a3z(0x1a9),a3z(0x1bd)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a3d;try{let c=a[0x0],d=this[F(0x1b2)](c);d&&this[F(0x1bf)](c,a,b);}catch(f){console['error'](f),process[F(0x1a8)](0x0);}});});export default AWSCommand;
@@ -1 +1 @@
1
- const a4ao=a4d;function a4c(){const aC=['OgZWm','MKEWd','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','Subnet:\x20','7192830fihmnk','create-instance','date','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','env','Setting\x20Subnet\x20ID\x20to\x20','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','getProjectConfig','BVtxm','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','wPsas','YZehG','BfORJ','dqrpz','Key-Pair:\x20','Name','confirm','split','value','Setting\x20the\x20key-pair\x20to:\x20','apply','1:1','VlzTs','Security\x20Group\x20Name:\x20[','next','createKeyPair','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','cidr','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','number','vjGqi','constructor','\x20AMIID:\x20','Desc','bright','sort','wuPdn','UFPMf','log','140gIeMot','**\x20Available\x20AMIs\x20**','**\x20Available\x20key-pairs\x20**','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','ec2create','then','Setting\x20AMI\x20ID\x20to\x20','Fgljw','zQJzQ','push','**\x20Available\x20Security\x20Groups\x20**','success','search','maka\x20aws:create-instance','toString','6042276QVHeWv','fvIxW','string','error','join','CDOXY','6iWvwMs','subnetId','getConfigFromShorthand','help','desc','tBQCU','\x20CIDR:\x20','37194fERRBm','*\x22\x20\x22Name=root-device-type,Values=ebs\x22\x20\x22Name=description,Values=*Ubuntu?\x20??.??\x20LTS?\x20amd64\x20bionic\x20image*\x22\x20--query\x20\x22Images[*].{Desc:Description,ID:ImageId,alias:ImageOwnerAlias}\x22','name','getTime','1247962upgAju','notice','fsi','1050248KeyLRO','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','\x20SGID:\x20','ec2createSG','ChXeW','602xByNSl','Instance\x20Count:\x20','gEfux','\x20AZONE:\x20','\x20SG\x20NAME:\x20','nWjBe','Cyfur','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','chooseVPC','}]\x22','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','268413rawYlh','17310BgwTQi','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','ec2describeKeys','TqjGj','WJMbK','WnNgm','FIcxs','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','**\x20Available\x20Subnets\x20**','\x20SUBNETID:\x20','Zbona','\x20:\x20','forEach','(((.+)+)+)+$','PnBJf','CEfEU','CiIue','ID:\x20','GwpNE','build\x20on\x20','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','JJohQ','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','\x22Web\x20App\x22','done','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','throw','alias','aws\x20ec2\x20describe-images\x20--filters\x20\x22Name=description,Values=*LTS*\x22\x20\x22Name=name,Values=*server*\x22\x20\x22Name=name,Values=*ubuntu*\x22\x20\x22Name=creation-date,Values=*','Please\x20choose\x20a\x20key\x20to\x20use:\x20','exit','ImageID:','sgId','parse','amiId','ask','qDXDv','Open\x20port\x20443\x20for\x20SSL?','amazon','You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key'];a4c=function(){return aC;};return a4c();}(function(a,b){const ag=a4d,c=a();while(!![]){try{const d=-parseInt(ag(0x252))/0x1+-parseInt(ag(0x23f))/0x2*(-parseInt(ag(0x234))/0x3)+parseInt(ag(0x21f))/0x4*(parseInt(ag(0x253))/0x5)+parseInt(ag(0x23b))/0x6*(-parseInt(ag(0x247))/0x7)+parseInt(ag(0x242))/0x8+parseInt(ag(0x22e))/0x9+-parseInt(ag(0x1f8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x9eed7));function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a4d(a,b);}const a4b=(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;};}()),a4a=a4b(this,function(){const ah=a4d;return a4a[ah(0x22d)]()[ah(0x22b)]('(((.+)+)+)+$')[ah(0x22d)]()[ah(0x217)](a4a)['search'](ah(0x260));});a4a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const ai=a4d;if('Pccnm'===ai(0x21c))try{i(j[ai(0x26d)](k));}catch(h){m(h);}else return f instanceof c?f:new c(function(h){const aj=ai;'DqCdm'===aj(0x200)?d(e[aj(0x210)](f)):h(f);});}return new(c||(c=Promise))(function(f,g){const an=a4d;function h(k){const ak=a4d;if(ak(0x22f)!=='fvIxW')e[ak(0x228)]({'id':f,'name':g[ak(0x207)],'sgId':h['ID']});else try{j(d['next'](k));}catch(m){g(m);}}function i(k){const al=a4d;try{'KoscI'!=='uZySy'?j(d[al(0x26d)](k)):(f=[g,h]['join'](':'),i[al(0x22a)](al(0x254)+j));}catch(m){g(m);}}function j(k){const am=a4d;am(0x256)!==am(0x256)?c(d):k['done']?f(k['value']):e(k[am(0x20a)])[am(0x224)](h,i);}j((d=d[an(0x20c)](a,b||[]))[an(0x210)]());});};import a4C from'./aws.command.js';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a4ao(0x1f9),'aliases':['ci'],'usage':a4ao(0x22c),'description':'','mustBeInMakaProject':!![],'requiredOpts':[a4ao(0x1fc)],'validOpts':[a4ao(0x237)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const ap=a4d;if('SvaMT'!=='krJvp')try{const c=this[ap(0x241)][ap(0x1ff)](),d=new AWS(),{appName:f}=c,g=this[ap(0x241)][ap(0x236)](b[ap(0x1fc)]);let h=f+'-'+g,i=(yield Actions[ap(0x1ef)]('EC2\x20Name:\x20['+h+']\x20'))||h,j='',k='',l='',m='',n='',o='',p='';const q=yield Actions[ap(0x208)](ap(0x24e));let r='';q&&(r=yield d[ap(0x211)]({'env':g}));try{Log[ap(0x240)](ap(0x221));let v=r?r:i,w=d[ap(0x255)]({'suggestion':v}),x=(yield Actions['ask'](ap(0x1e9)))||'-1';if(parseInt(x)<0x0){if('JLxSX'!=='NpstW'){Log[ap(0x231)](ap(0x1f3)),Log['notice']('No\x20instance\x20has\x20been\x20created.');return;}else c[ap(0x22a)](ap(0x222)),d['bright'](ap(0x25a));}w===null||w===void 0x0?void 0x0:w['forEach'](function(z){const aq=ap;parseInt(x)===z['id']&&('HxTPA'!=='fZhRd'?(j=z[aq(0x23d)],Log[aq(0x22a)](aq(0x20b)+j)):h[aq(0x26b)]?i(j[aq(0x20a)]):k(l[aq(0x20a)])['then'](m,n));});}catch(z){ap(0x257)==='cONtM'?c[ap(0x231)](d):Log[ap(0x231)](z);}k=yield d[ap(0x24f)]();let s=yield Actions['confirm']('Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?'),t;if(s){if(ap(0x20e)!==ap(0x20e)){if(e){const C=i[ap(0x20c)](j,arguments);return k=null,C;}}else{let C=k===''?d[ap(0x24f)]():k,D=yield Actions['confirm'](ap(0x1f1));t=(yield Actions[ap(0x1ef)](ap(0x20f)+i+']'))||i,d[ap(0x245)]({'description':ap(0x26a),'name':t,'vpcId':C,'ssl':D});}}t=i;try{Log[ap(0x240)](ap(0x229));let E=execSync(ap(0x1fe))[ap(0x22d)](),F=JSON[ap(0x1ed)](E),G=[];F['forEach'](function(I,J){const ar=ap;G[ar(0x228)]({'id':J,'name':I[ar(0x207)],'sgId':I['ID']});}),G[ap(0x25f)](function(I){const as=ap;as(0x239)!==as(0x202)?I[as(0x23d)]===t?as(0x261)==='PnBJf'?Log[as(0x240)](as(0x264)+I['id']+as(0x24b)+I['name']+as(0x244)+I[as(0x1ec)]):c=d:console[as(0x21e)](as(0x264)+I['id']+as(0x24b)+I[as(0x23d)]+as(0x244)+I[as(0x1ec)]):(e=f[as(0x235)],g[as(0x22a)](as(0x1fd)+h));});let H=(yield Actions[ap(0x1ef)](ap(0x243)))||'0';G[ap(0x25f)](function(I){const at=ap;I['id']===parseInt(H)&&(l=I[at(0x1ec)],Log['success']('Setting\x20SG\x20ID\x20to:\x20'+l+'\x0a'));});if(l==='')throw Log[ap(0x231)](ap(0x26c));}catch(I){Log['error'](I);}try{if(ap(0x249)===ap(0x262))c[ap(0x231)](d);else{let K=0x7e6;Log[ap(0x240)](ap(0x220));let L=execSync(ap(0x26f)+K+ap(0x23c))[ap(0x22d)](),M=JSON[ap(0x1ed)](L),N=[],O=[];M[ap(0x25f)](function(Q,R){const au=ap;if(au(0x24c)!==au(0x24c))f=g[au(0x1ee)],h['success'](au(0x225)+i+au(0x25e)+j[au(0x238)]);else{if(Q['alias']===au(0x1f2)){let T=Q[au(0x219)]['split']('build\x20on\x20')[0x1];N[au(0x228)]({'amiId':Q['ID'],'desc':Q[au(0x219)],'date':T});}}}),N[ap(0x21b)](function(Q,R){const av=ap;if('zjPpG'!==av(0x204))return new Date(R[av(0x1fa)])['getTime']()-new Date(Q[av(0x1fa)])[av(0x23e)]();else e['log'](av(0x264)+f['id']+av(0x24b)+g[av(0x23d)]+'\x20SGID:\x20'+h[av(0x1ec)]);}),N[ap(0x25f)](function(Q,R){const aw=ap;if(aw(0x203)===aw(0x268)){if(f[aw(0x26e)]===aw(0x1f2)){let T=k['Desc'][aw(0x209)](aw(0x266))[0x1];l[aw(0x228)]({'amiId':m['ID'],'desc':n[aw(0x219)],'date':T});}}else O[aw(0x228)]({'id':R,'amiId':Q['amiId'],'desc':Q[aw(0x238)]});}),O[ap(0x25f)](function(Q){const ax=ap;console[ax(0x21e)](ax(0x264)+Q['id']+ax(0x218)+Q[ax(0x1ee)]+'\x20DESCRIPTION:\x20'+Q['desc']);});let P=(yield Actions['ask'](ap(0x1f6)))||'0';O[ap(0x25f)](function(Q){const ay=ap;if(Q['id']===parseInt(P)){if(ay(0x216)!==ay(0x205))m=Q['amiId'],Log[ay(0x22a)]('Setting\x20AMI\x20ID\x20to\x20'+m+ay(0x25e)+Q[ay(0x238)]);else{let S=l[ay(0x223)]({'imageId':m,'count':n,'type':o,'key':p,'sgIds':q,'subnet':r,'tags':'\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value='+s+'},\x20{Key=Name,Value='+t+ay(0x250)});S&&(w['success'](ay(0x222)),x[ay(0x21a)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}}});if(m===''){if(ap(0x25d)!==ap(0x25d))h(i)===j['id']&&(o=p[ap(0x23d)],q[ap(0x22a)]('Setting\x20the\x20key-pair\x20to:\x20'+r));else throw Log['error']('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}}}catch(R){if('zFNSM'!==ap(0x258))Log[ap(0x231)](R);else return new R(f['date'])[ap(0x23e)]()-new g(h[ap(0x1fa)])[ap(0x23e)]();}try{Log[ap(0x240)](ap(0x25b));let T=execSync(ap(0x269))[ap(0x22d)](),U=JSON['parse'](T),V=[];U[ap(0x25f)](function(X,Y){const az=ap;az(0x227)!==az(0x1f4)?V[az(0x228)]({'id':Y,'cidr':X['cider'],'az':X['az'],'subnetId':X[az(0x235)]}):h['id']===i(j)&&(o=p[az(0x235)],q['success'](az(0x1fd)+r));}),V[ap(0x25f)](function(X){const aA=ap;console[aA(0x21e)]('ID:\x20'+X['id']+aA(0x23a)+X[aA(0x213)]+aA(0x24a)+X['az']+aA(0x25c)+X['subnetId']);});let W=(yield Actions[ap(0x1ef)]('Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20'))||'0';V[ap(0x25f)](function(X){const aB=ap;X['id']===parseInt(W)&&(o=X[aB(0x235)],Log[aB(0x22a)]('Setting\x20Subnet\x20ID\x20to\x20'+o));});if(o==='')throw Log[ap(0x231)](ap(0x26c));}catch(X){Log[ap(0x231)](X);}let u=ap(0x20d);try{let Y=(yield Actions[ap(0x1ef)]('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20'))||'1:1',Z=Y['split'](':')[0x0],a0=Y['split'](':')[0x1];typeof parseInt(Z)==='number'&&typeof parseInt(a0)===ap(0x215)&&(u=[Z,a0][ap(0x232)](':'),Log[ap(0x22a)]('Setting\x20the\x20number\x20of\x20instances\x20to:\x20'+u));}catch(a1){if(ap(0x233)===ap(0x1f5))throw b[ap(0x231)](ap(0x26c));else Log[ap(0x231)](a1);}try{if(ap(0x259)===ap(0x21d))e[ap(0x228)]({'id':f,'amiId':g[ap(0x1ee)],'desc':h['desc']});else{let a4=(yield Actions[ap(0x1ef)](ap(0x201)))||'t3.micro';typeof a4===ap(0x230)&&(n=a4);}}catch(a5){ap(0x246)!=='ChXeW'?k[ap(0x23d)]===l?u['notice']('ID:\x20'+v['id']+ap(0x24b)+w[ap(0x23d)]+'\x20SGID:\x20'+x[ap(0x1ec)]):y[ap(0x21e)](ap(0x264)+z['id']+ap(0x24b)+A[ap(0x23d)]+'\x20SGID:\x20'+B['sgId']):Log[ap(0x231)](a5);}try{let a7=JSON[ap(0x1ed)](execSync(ap(0x214)+o+ap(0x1fb))[ap(0x22d)]())[0x0]['subnet'];Log['notice'](ap(0x1eb)+m),Log[ap(0x240)](ap(0x248)+u),Log[ap(0x240)]('Instace\x20Type:\x20'+n),Log[ap(0x240)](ap(0x206)+j),Log[ap(0x240)]('Security\x20Group:\x20'+l),Log['notice'](ap(0x1f7)+a7);let a8=yield Actions[ap(0x208)](ap(0x212));if(a8){if(ap(0x24d)===ap(0x24d)){let a9=d[ap(0x223)]({'imageId':m,'count':u,'type':n,'key':j,'sgIds':l,'subnet':o,'tags':ap(0x267)+g+'},\x20{Key=Name,Value='+i+'}]\x22'});a9&&(ap(0x263)!==ap(0x1f0)?(Log[ap(0x22a)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[ap(0x21a)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file')):c[ap(0x231)](d));}else{let ac=e[ap(0x219)][ap(0x209)](ap(0x266))[0x1];f[ap(0x228)]({'amiId':g['ID'],'desc':h[ap(0x219)],'date':ac});}}else Log[ap(0x240)](ap(0x251));}catch(ac){console[ap(0x21e)](ac),Log[ap(0x231)](ac);}}catch(ad){ap(0x265)===ap(0x226)?(ad=f['sgId'],g['success']('Setting\x20SG\x20ID\x20to:\x20'+h+'\x0a')):(console[ap(0x231)](ad),process[ap(0x1ea)](0x0));}else c[ap(0x231)](d);});},a4C);
1
+ function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x124;let f=c[d];return f;},a4d(a,b);}const a4al=a4d;(function(a,b){const ah=a4d,c=a();while(!![]){try{const d=parseInt(ah(0x13e))/0x1+parseInt(ah(0x14c))/0x2+-parseInt(ah(0x142))/0x3+parseInt(ah(0x15a))/0x4*(-parseInt(ah(0x199))/0x5)+parseInt(ah(0x13f))/0x6+parseInt(ah(0x16f))/0x7*(parseInt(ah(0x14f))/0x8)+parseInt(ah(0x135))/0x9*(parseInt(ah(0x149))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xe39f0));const a4b=(function(){let a=!![];return function(b,c){const ai=a4d;if('kxwmb'===ai(0x157)){const d=a?function(){const aj=ai;if('NZJmo'===aj(0x138)){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;}else throw b[ai(0x12a)](ai(0x18c));};}()),a4a=a4b(this,function(){const ak=a4d;return a4a[ak(0x17c)]()['search']('(((.+)+)+)+$')['toString']()[ak(0x174)](a4a)[ak(0x17a)](ak(0x181));});a4a();var __awaiter=this&&this[a4al(0x1a2)]||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 ap=a4d;function h(k){const am=a4d;try{j(d[am(0x137)](k));}catch(l){g(l);}}function i(k){const an=a4d;if('PmQHx'==='XDDaJ')k['name']===l?u['notice'](an(0x140)+v['id']+an(0x154)+w[an(0x162)]+'\x20SGID:\x20'+x['sgId']):y['log'](an(0x140)+z['id']+an(0x154)+A[an(0x162)]+'\x20SGID:\x20'+B['sgId']);else try{j(d[an(0x182)](k));}catch(m){g(m);}}function j(k){const ao=a4d;k['done']?f(k[ao(0x18d)]):e(k[ao(0x18d)])[ao(0x13d)](h,i);}j((d=d[ap(0x177)](a,b||[]))[ap(0x137)]());});};function a4c(){const aE=['1120926souuqg','maka\x20aws:create-instance','You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key','number','Open\x20port\x20443\x20for\x20SSL?','forEach','Desc','6150ZtsPcj','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','notice','122688FIVWup','Security\x20Group\x20Name:\x20[','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','104IWdxUe','parse','**\x20Available\x20key-pairs\x20**','Szqiy','bright','\x20SG\x20NAME:\x20','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','kxwmb','rQXPy','nyOWg','172aRnKvU','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','VQnAv','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','\x20SGID:\x20','alias','create-instance','name','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','Setting\x20Subnet\x20ID\x20to\x20','sort','amiId','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','cider','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','chooseVPC','success','desc','uVmba','197309HeHjkc','split','Setting\x20SG\x20ID\x20to:\x20','\x22Web\x20App\x22','eVDlV','constructor','*\x22\x20\x22Name=root-device-type,Values=ebs\x22\x20\x22Name=description,Values=*Ubuntu?\x20??.??\x20LTS?\x20amd64\x20bionic\x20image*\x22\x20--query\x20\x22Images[*].{Desc:Description,ID:ImageId,alias:ImageOwnerAlias}\x22','env','apply','build\x20on\x20','date','search','getConfigFromShorthand','toString','confirm','sgId','PkeQN','No\x20instance\x20has\x20been\x20created.','(((.+)+)+)+$','throw','EvrsX','ec2createSG','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','EzOQm','DrOhr','ec2describeKeys','fsi','cidr','create','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','value','Please\x20choose\x20a\x20key\x20to\x20use:\x20','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','Hfxsf','ask','\x20:\x20','log','Subnet:\x20','fiRuR','EC2\x20Name:\x20[','**\x20Available\x20Security\x20Groups\x20**','\x20CIDR:\x20','167605wJBKvA','ec2create','qukjV','\x20DESCRIPTION:\x20','Key-Pair:\x20','BlzXm','getProjectConfig','\x20AZONE:\x20','LobsU','__awaiter','ImageID:','\x20SUBNETID:\x20','wFiJU','amazon','Instance\x20Count:\x20','**\x20Available\x20Subnets\x20**','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','push','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','Setting\x20AMI\x20ID\x20to\x20','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','Name','error','help','svJaT','exit','frmHM','GgsBo','yojTm','Security\x20Group:\x20','join','1:1','subnet','19314oxbgSx','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','next','NZJmo','Setting\x20the\x20key-pair\x20to:\x20','getTime','zNPmB','subnetId','then','677957fvVczq','1931154gYpprD','ID:\x20','aws\x20ec2\x20describe-images\x20--filters\x20\x22Name=description,Values=*LTS*\x22\x20\x22Name=name,Values=*server*\x22\x20\x22Name=name,Values=*ubuntu*\x22\x20\x22Name=creation-date,Values=*'];a4c=function(){return aE;};return a4c();}import a4C from'./aws.command.js';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a4al(0x18b)]({'name':a4al(0x161),'aliases':['ci'],'usage':a4al(0x143),'description':'','mustBeInMakaProject':!![],'requiredOpts':[a4al(0x176)],'validOpts':[a4al(0x12b)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const aq=a4d;if(aq(0x186)!==aq(0x186))c[aq(0x12a)](d);else try{const d=this[aq(0x189)][aq(0x19f)](),f=new AWS(),{appName:g}=d,h=this[aq(0x189)][aq(0x17b)](b[aq(0x176)]);let i=g+'-'+h,j=(yield Actions['ask'](aq(0x196)+i+']\x20'))||i,k='',l='',m='',n='',o='',p='',q='';const r=yield Actions[aq(0x17d)](aq(0x164));let s='';r&&('iSpRV'!=='lmgbc'?s=yield f['createKeyPair']({'env':h}):e[aq(0x125)]({'id':f,'amiId':g[aq(0x167)],'desc':h['desc']}));try{Log[aq(0x14b)](aq(0x151));let x=s?s:j,y=f[aq(0x188)]({'suggestion':x}),z=(yield Actions['ask'](aq(0x18e)))||'-1';if(parseInt(z)<0x0){Log[aq(0x12a)](aq(0x144)),Log[aq(0x14b)](aq(0x180));return;}y===null||y===void 0x0?void 0x0:y[aq(0x147)](function(A){const ar=aq;parseInt(z)===A['id']&&(k=A['name'],Log[ar(0x16c)](ar(0x139)+k));});}catch(A){Log[aq(0x12a)](A);}l=yield f[aq(0x16b)]();let t=yield Actions['confirm'](aq(0x18f)),u;if(t){if('eVDlV'!==aq(0x173))i['id']===j(k)&&(q=r['amiId'],s['success'](aq(0x127)+t+aq(0x192)+u[aq(0x16d)]));else{let C=l===''?f[aq(0x16b)]():l,D=yield Actions[aq(0x17d)](aq(0x146));u=(yield Actions['ask'](aq(0x14d)+j+']'))||j,f[aq(0x184)]({'description':aq(0x172),'name':u,'vpcId':C,'ssl':D});}}u=j;try{if('PCCEs'===aq(0x187))b[aq(0x14b)]('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');else{Log[aq(0x14b)](aq(0x197));let F=execSync(aq(0x156))[aq(0x17c)](),G=JSON[aq(0x150)](F),H=[];G[aq(0x147)](function(J,K){const as=aq;if(as(0x19e)!==as(0x12e))H[as(0x125)]({'id':K,'name':J[as(0x129)],'sgId':J['ID']});else return f instanceof g?h:new i(function(M){M(k);});}),H['forEach'](function(J){const at=aq;J[at(0x162)]===u?'PkeQN'===at(0x17f)?Log[at(0x14b)](at(0x140)+J['id']+at(0x154)+J[at(0x162)]+'\x20SGID:\x20'+J['sgId']):e['push']({'id':f,'name':g[at(0x129)],'sgId':h['ID']}):at(0x16e)===at(0x16e)?console[at(0x193)](at(0x140)+J['id']+at(0x154)+J['name']+at(0x15f)+J[at(0x17e)]):(e['log'](f),g[at(0x12a)](h));});let I=(yield Actions[aq(0x191)](aq(0x15c)))||'0';H[aq(0x147)](function(J){const au=aq;J['id']===parseInt(I)&&(m=J[au(0x17e)],Log[au(0x16c)](au(0x171)+m+'\x0a'));});if(m===''){if(aq(0x13b)===aq(0x1a5)){const K=g?function(){const av=aq;if(K){const L=q[av(0x177)](r,arguments);return s=null,L;}}:function(){};return l=![],K;}else throw Log[aq(0x12a)](aq(0x18c));}}}catch(K){'svJaT'===aq(0x12c)?Log[aq(0x12a)](K):(K=f[aq(0x17e)],g[aq(0x16c)](aq(0x171)+h+'\x0a'));}try{let M=0x7e6;Log[aq(0x14b)]('**\x20Available\x20AMIs\x20**');let N=execSync(aq(0x141)+M+aq(0x175))[aq(0x17c)](),O=JSON[aq(0x150)](N),P=[],Q=[];O[aq(0x147)](function(S,T){const aw=aq;if(aw(0x183)===aw(0x183)){if(S[aw(0x160)]===aw(0x1a6)){if(aw(0x152)==='Szqiy'){let U=S[aw(0x148)][aw(0x170)](aw(0x178))[0x1];P[aw(0x125)]({'amiId':S['ID'],'desc':S[aw(0x148)],'date':U});}else throw b['error'](aw(0x18c));}}else{let X=e[aw(0x148)]['split']('build\x20on\x20')[0x1];f['push']({'amiId':g['ID'],'desc':h[aw(0x148)],'date':X});}}),P[aq(0x166)](function(S,T){const ax=aq;return new Date(T['date'])[ax(0x13a)]()-new Date(S[ax(0x179)])[ax(0x13a)]();}),P[aq(0x147)](function(S,T){const ay=aq;Q[ay(0x125)]({'id':T,'amiId':S['amiId'],'desc':S[ay(0x16d)]});}),Q[aq(0x147)](function(S){const az=aq;console[az(0x193)](az(0x140)+S['id']+'\x20AMIID:\x20'+S['amiId']+az(0x19c)+S[az(0x16d)]);});let R=(yield Actions[aq(0x191)](aq(0x163)))||'0';Q['forEach'](function(S){const aA=aq;S['id']===parseInt(R)&&(aA(0x130)!=='vAsxH'?(n=S[aA(0x167)],Log[aA(0x16c)](aA(0x127)+n+aA(0x192)+S[aA(0x16d)])):d(e[aA(0x137)](f)));});if(n===''){if(aq(0x158)!=='rQXPy')throw b['error'](aq(0x18c));else throw Log['error'](aq(0x18c));}}catch(T){Log[aq(0x12a)](T);}try{Log[aq(0x14b)](aq(0x1a8));let U=execSync(aq(0x155))[aq(0x17c)](),V=JSON[aq(0x150)](U),W=[];V[aq(0x147)](function(Y,Z){const aB=aq;W[aB(0x125)]({'id':Z,'cidr':Y[aB(0x169)],'az':Y['az'],'subnetId':Y['subnetId']});}),W[aq(0x147)](function(Y){const aC=aq;console[aC(0x193)]('ID:\x20'+Y['id']+aC(0x198)+Y[aC(0x18a)]+aC(0x1a0)+Y['az']+aC(0x1a4)+Y['subnetId']);});let X=(yield Actions['ask'](aq(0x136)))||'0';W[aq(0x147)](function(Y){const aD=aq;Y['id']===parseInt(X)&&(p=Y[aD(0x13c)],Log[aD(0x16c)](aD(0x165)+p));});if(p===''){if(aq(0x1a1)!=='LobsU')e[aq(0x193)](aq(0x140)+f['id']+'\x20AMIID:\x20'+g[aq(0x167)]+aq(0x19c)+h[aq(0x16d)]);else throw Log[aq(0x12a)](aq(0x18c));}}catch(Z){Log[aq(0x12a)](Z);}let v=aq(0x133);try{let a0=(yield Actions[aq(0x191)](aq(0x126)))||'1:1',a1=a0[aq(0x170)](':')[0x0],a2=a0[aq(0x170)](':')[0x1];typeof parseInt(a1)===aq(0x145)&&typeof parseInt(a2)==='number'&&(v=[a1,a2][aq(0x132)](':'),Log['success'](aq(0x14a)+v));}catch(a3){'nccsc'!==aq(0x12f)?Log[aq(0x12a)](a3):c['error'](d);}try{if(aq(0x19b)!==aq(0x19b)){c[aq(0x12a)](aq(0x144)),d['notice']('No\x20instance\x20has\x20been\x20created.');return;}else{let a6=(yield Actions['ask'](aq(0x15b)))||'t3.micro';typeof a6==='string'&&(o=a6);}}catch(a7){Log[aq(0x12a)](a7);}try{let a8=JSON[aq(0x150)](execSync(aq(0x128)+p+aq(0x124))[aq(0x17c)]())[0x0][aq(0x134)];Log[aq(0x14b)](aq(0x1a3)+n),Log[aq(0x14b)](aq(0x1a7)+v),Log['notice']('Instace\x20Type:\x20'+o),Log[aq(0x14b)](aq(0x19d)+k),Log[aq(0x14b)](aq(0x131)+m),Log[aq(0x14b)](aq(0x194)+a8);let a9=yield Actions[aq(0x17d)](aq(0x14e));if(a9){let aa=f[aq(0x19a)]({'imageId':n,'count':v,'type':o,'key':k,'sgIds':m,'subnet':p,'tags':aq(0x168)+h+'},\x20{Key=Name,Value='+j+'}]\x22'});aa&&(aq(0x195)!==aq(0x195)?(e=f['subnetId'],g[aq(0x16c)](aq(0x165)+h)):(Log[aq(0x16c)](aq(0x15e)),Log[aq(0x153)](aq(0x185))));}else aq(0x190)!==aq(0x159)?Log['notice'](aq(0x16a)):(f=g[aq(0x167)],h[aq(0x16c)](aq(0x127)+i+aq(0x192)+j[aq(0x16d)]));}catch(ad){console[aq(0x193)](ad),Log[aq(0x12a)](ad);}}catch(ae){if(aq(0x15d)==='UVabz'){const ag=d['apply'](ae,arguments);return f=null,ag;}else console[aq(0x12a)](ae),process[aq(0x12d)](0x0);}});},a4C);
@@ -1 +1 @@
1
- const a5B=a5d;(function(a,b){const y=a5d,c=a();while(!![]){try{const d=-parseInt(y(0x1fc))/0x1+parseInt(y(0x1e4))/0x2*(-parseInt(y(0x205))/0x3)+-parseInt(y(0x1fb))/0x4+-parseInt(y(0x201))/0x5+parseInt(y(0x1f8))/0x6*(parseInt(y(0x1ed))/0x7)+parseInt(y(0x1e9))/0x8+-parseInt(y(0x1f2))/0x9*(-parseInt(y(0x203))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xd93f0));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a5d;if(z(0x1ee)!==z(0x1ee))h[z(0x1eb)]?i(j['value']):k(l[z(0x1f7)])[z(0x1e7)](m,n);else{if(c){if(z(0x1f9)!==z(0x1f9))try{const g=new i(),h=this[z(0x1fe)]['getConfigFromShorthand'](j[z(0x1f1)]);g[z(0x1ef)]({'env':h});}catch(i){m['error'](i),n[z(0x1e6)](0x0);}else{const g=c['apply'](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const A=a5d;return a5a[A(0x204)]()['search'](A(0x206))[A(0x204)]()[A(0x1ff)](a5a)[A(0x1fa)](A(0x206));});a5a();var __awaiter=this&&this[a5B(0x1f5)]||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 F=a5d;function h(k){const C=a5d;try{C(0x1ec)===C(0x1ec)?j(d[C(0x1f4)](k)):c(d);}catch(m){g(m);}}function i(k){const D=a5d;try{j(d['throw'](k));}catch(l){'BwXHP'===D(0x1f3)?g(l):(d[D(0x1f0)](l),f[D(0x1e6)](0x0));}}function j(k){const E=a5d;k[E(0x1eb)]?f(k[E(0x1f7)]):e(k[E(0x1f7)])[E(0x1e7)](h,i);}j((d=d[F(0x1e8)](a,b||[]))['next']());});};function a5c(){const H=['911235PzVBzn','(((.+)+)+)+$','AePAn','10muIltI','getConfigFromShorthand','exit','then','apply','876736pVmRyi','EtiAp','done','lUoYM','85001pYCnEU','hDyvi','createKeyPair','error','env','9bccvNx','BwXHP','next','__awaiter','create-key-pair','value','426tdTaXZ','eZsHE','search','3027120YNDVZN','1705034oZycWY','maka\x20aws\x20create-key-pair','fsi','constructor','help','8280285IRKLxj','create','55546910HfUTVD','toString'];a5c=function(){return H;};return a5c();}import a5x from'./aws.command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x1e4;let f=c[d];return f;},a5d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a5B(0x202)]({'name':a5B(0x1f6),'aliases':['ckp'],'usage':a5B(0x1fd),'mustBeInMakaProject':!![],'requiredOpts':[a5B(0x1f1)],'validOpts':[a5B(0x200)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a5d;if('QfnIe'!==G(0x1ea))try{if(G(0x207)!==G(0x207))return c['toString']()[G(0x1fa)]('(((.+)+)+)+$')[G(0x204)]()[G(0x1ff)](d)[G(0x1fa)](G(0x206));else{const d=new AWS(),f=this[G(0x1fe)][G(0x1e5)](b[G(0x1f1)]);d[G(0x1ef)]({'env':f});}}catch(g){console[G(0x1f0)](g),process[G(0x1e6)](0x0);}else{const i=d[G(0x1e8)](e,arguments);return f=null,i;}});},a5x);
1
+ function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a5d(a,b);}const a5D=a5d;(function(a,b){const A=a5d,c=a();while(!![]){try{const d=parseInt(A(0x1f2))/0x1*(parseInt(A(0x1e5))/0x2)+parseInt(A(0x1dd))/0x3+-parseInt(A(0x1f1))/0x4+-parseInt(A(0x1f9))/0x5*(parseInt(A(0x1ec))/0x6)+parseInt(A(0x1ee))/0x7*(-parseInt(A(0x1e6))/0x8)+parseInt(A(0x1eb))/0x9+-parseInt(A(0x1f8))/0xa*(-parseInt(A(0x1f6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x4268f));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a5d;if(B(0x1e7)!==B(0x1e7))c(d);else{if(c){if(B(0x1f0)===B(0x1dc)){if(e){const g=i[B(0x1ea)](j,arguments);return k=null,g;}}else{const g=c['apply'](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const C=a5d;return a5a[C(0x1ed)]()[C(0x1e4)](C(0x1de))[C(0x1ed)]()['constructor'](a5a)['search'](C(0x1de));});function a5c(){const J=['then','cDgzp','__awaiter','search','836146NOQCRX','1259656IjGxVC','auGsb','zLdQs','exit','apply','3238263SLYgcf','231828IjYZPf','toString','7LJGCrM','maka\x20aws\x20create-key-pair','nAUtE','2031504oXmdIQ','1rynNxr','next','env','getConfigFromShorthand','1498189IxOEEW','error','20zcWPJr','55nCyvoK','deSTj','936264HExqtB','(((.+)+)+)+$','create','createKeyPair'];a5c=function(){return J;};return a5c();}a5a();var __awaiter=this&&this[a5D(0x1e3)]||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 G=a5d;function h(k){const E=a5d;try{j(d[E(0x1f3)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const F=a5d;k['done']?f(k['value']):e(k['value'])[F(0x1e1)](h,i);}j((d=d[G(0x1ea)](a,b||[]))[G(0x1f3)]());});};import a5x from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a5D(0x1df)]({'name':'create-key-pair','aliases':['ckp'],'usage':a5D(0x1ef),'mustBeInMakaProject':!![],'requiredOpts':[a5D(0x1f4)],'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a5d;try{if('cDgzp'!==H(0x1e2))return f(this,void 0x0,void 0x0,function*(){const I=H;try{const x=new o(),y=this['fsi'][I(0x1f5)](p[I(0x1f4)]);x['createKeyPair']({'env':y});}catch(z){s[I(0x1f7)](z),t['exit'](0x0);}});else{const d=new AWS(),f=this['fsi'][H(0x1f5)](b[H(0x1f4)]);d[H(0x1e0)]({'env':f});}}catch(g){'uCuRv'!==H(0x1e8)?(console['error'](g),process[H(0x1e9)](0x0)):c(d);}});},a5x);
@@ -1 +1 @@
1
- function a6c(){const G=['csg','toString','wNFUZ','ask','ssl','166808LbdNWw','then','apply','1287bCvbmL','365386eOHxom','fsi','getProjectConfig','(((.+)+)+)+$','1177140xFSVxg','XxTLn','constructor','JdbWH','uGMnb','5Svazlu','exit','Security\x20Group\x20Name:\x20[','chooseVPC','__awaiter','confirm','2857272wXDTBx','hYNJI','create-security-group','78830CTdWyD','XnNZJ','name','2NtUUQQ','help','value','maka\x20aws\x20terminate-instance','search','ec2createSG','throw','AmopZ','1424476yjafxK','931338XCQZKm','RQEoX','kmMiX','36nrFCGt','-ssl','error','done'];a6c=function(){return G;};return a6c();}function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x163;let f=c[d];return f;},a6d(a,b);}const a6z=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=parseInt(v(0x189))/0x1*(-parseInt(v(0x174))/0x2)+parseInt(v(0x163))/0x3+parseInt(v(0x17c))/0x4*(-parseInt(v(0x168))/0x5)+parseInt(v(0x180))/0x6*(-parseInt(v(0x18d))/0x7)+-parseInt(v(0x16e))/0x8+parseInt(v(0x17d))/0x9+parseInt(v(0x171))/0xa*(parseInt(v(0x18c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x36e83));const a6b=(function(){let a=!![];return function(b,c){const w=a6d;if(w(0x172)==='XnNZJ'){const d=a?function(){const x=w;if(x(0x17e)!==x(0x17e))c(d);else{if(c){const f=c[x(0x18b)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else h[w(0x183)]?i(j['value']):k(l[w(0x176)])[w(0x18a)](m,n);};}()),a6a=a6b(this,function(){const y=a6d;return a6a['toString']()['search'](y(0x190))['toString']()[y(0x165)](a6a)[y(0x178)](y(0x190));});a6a();var __awaiter=this&&this[a6z(0x16c)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a6d;A(0x167)===A(0x17b)?d(e['throw'](f)):g(f);});}return new(c||(c=Promise))(function(f,g){const E=a6d;function h(k){const B=a6d;try{if(B(0x17f)===B(0x17f))j(d['next'](k));else try{i(j[B(0x17a)](k));}catch(m){m(m);}}catch(m){g(m);}}function i(k){const C=a6d;try{C(0x16f)!==C(0x16f)?c(d):j(d[C(0x17a)](k));}catch(m){if(C(0x186)!=='wNFUZ')return c[C(0x185)]()[C(0x178)](C(0x190))[C(0x185)]()[C(0x165)](d)[C(0x178)](C(0x190));else g(m);}}function j(k){const D=a6d;k[D(0x183)]?f(k[D(0x176)]):e(k[D(0x176)])[D(0x18a)](h,i);}j((d=d[E(0x18b)](a,b||[]))['next']());});};import a6u from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a6z(0x170),'aliases':[a6z(0x184)],'usage':a6z(0x177),'validOpts':[a6z(0x175)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a6d;try{const c=new AWS(),d=this[F(0x18e)][F(0x18f)](),{appName:f}=d;let g=yield c[F(0x16b)](),h=![];if(!b[F(0x188)]){if(F(0x166)===F(0x164)){const m=d[F(0x18b)](e,arguments);return f=null,m;}else h=yield Actions[F(0x16d)]('Open\x20port\x20443\x20for\x20SSL?');}let i=h?F(0x181):'',j=b[F(0x173)]?b[F(0x173)]:''+f+i,k=(yield Actions[F(0x187)](F(0x16a)+j+']'))||j;c[F(0x179)]({'description':'\x22Web\x20App\x22','name':k,'vpcId':g,'ssl':h});}catch(m){console[F(0x182)](m),process[F(0x169)](0x0);}});},a6u);
1
+ const a6y=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=-parseInt(v(0x96))/0x1*(parseInt(v(0x98))/0x2)+parseInt(v(0xa0))/0x3+-parseInt(v(0xa3))/0x4*(parseInt(v(0xa1))/0x5)+-parseInt(v(0x8e))/0x6+parseInt(v(0xab))/0x7*(parseInt(v(0xa9))/0x8)+parseInt(v(0x9e))/0x9*(-parseInt(v(0xaa))/0xa)+parseInt(v(0x8b))/0xb*(parseInt(v(0x97))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x330e2));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a6d;if(c){if(w(0xa2)===w(0xa2)){const e=c['apply'](b,arguments);return c=null,e;}else return c[w(0xac)]()[w(0xae)](w(0xb1))[w(0xac)]()[w(0x95)](d)[w(0xae)](w(0xb1));}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const x=a6d;return a6a[x(0xac)]()[x(0xae)](x(0xb1))[x(0xac)]()[x(0x95)](a6a)[x(0xae)](x(0xb1));});a6a();var __awaiter=this&&this[a6y(0xb0)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a6d;z(0x8a)!==z(0x87)?g(f):d(e[z(0xa8)](f));});}return new(c||(c=Promise))(function(f,g){function h(k){const A=a6d;try{j(d[A(0x8f)](k));}catch(l){g(l);}}function i(k){const B=a6d;try{j(d[B(0xa8)](k));}catch(l){if('ZoiSX'!==B(0xa5))g(l);else return f instanceof g?h:new i(function(n){n(k);});}}function j(k){const C=a6d;k['done']?f(k['value']):e(k[C(0x92)])[C(0x9f)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a6u from'./aws.command.js';import{Command}from'../../command.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x87;let f=c[d];return f;},a6d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a6y(0xaf)]({'name':a6y(0x99),'aliases':[a6y(0x9c)],'usage':a6y(0x90),'validOpts':[a6y(0x88)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a6d;if(D(0x8d)!==D(0x8d)){const d=g?function(){if(d){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],d;}else try{if(D(0x8c)==='hROUy')c(d);else{const f=new AWS(),g=this[D(0x9a)]['getProjectConfig'](),{appName:h}=g;let i=yield f['chooseVPC'](),j=![];!b[D(0xa4)]&&(j=yield Actions[D(0x93)](D(0xa7)));let k=j?D(0xa6):'',l=b[D(0xad)]?b[D(0xad)]:''+h+k,m=(yield Actions[D(0x91)](D(0x89)+l+']'))||l;f[D(0x9b)]({'description':D(0x9d),'name':m,'vpcId':i,'ssl':j});}}catch(n){console[D(0x94)](n),process['exit'](0x0);}});},a6u);function a6c(){const E=['error','constructor','51033CzchTj','1332saEznU','12PggIbV','create-security-group','fsi','ec2createSG','csg','\x22Web\x20App\x22','297DrKCvS','then','574989aTWKrd','5xHaSEI','kVeVz','1475204ohdNfo','ssl','fCwDu','-ssl','Open\x20port\x20443\x20for\x20SSL?','throw','288168vuWyaf','48750EGHedQ','77GzpafP','toString','name','search','create','__awaiter','(((.+)+)+)+$','WGHwk','help','Security\x20Group\x20Name:\x20[','EtpxU','62942MwCHEF','ZVfSi','SsIoK','1068240SyRUVv','next','maka\x20aws\x20terminate-instance','ask','value','confirm'];a6c=function(){return E;};return a6c();}
@@ -1 +1 @@
1
- var a7y=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=-parseInt(v(0xe4))/0x1*(-parseInt(v(0xe9))/0x2)+-parseInt(v(0xf7))/0x3+-parseInt(v(0xe0))/0x4+parseInt(v(0xe7))/0x5*(parseInt(v(0xf1))/0x6)+parseInt(v(0xd8))/0x7*(parseInt(v(0xf2))/0x8)+parseInt(v(0xe8))/0x9+parseInt(v(0xe6))/0xa*(-parseInt(v(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x2d566));function a7c(){var G=['192dZxuqD','search','jixdg','bLaeT','MLhCr','done','ec2describeInstances','exit','60UyldvH','840YICwdV','UxMvU','(((.+)+)+)+$','create','55TPwhMN','737160xAdeiO','error','throw','describe-instances','then','mtNFv','12908ikioob','next','constructor','apply','__awaiter','help','value','HOLGT','930388ABmRXF','LHgpF','VVwqI','XFLZW','1789GnoRZM','toString','606170ByUIxh','151770rPgdeE','2683800sVvqnU'];a7c=function(){return G;};return a7c();}function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0xd7;var f=c[d];return f;},a7d(a,b);}var a7b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a7d;if('DZuLq'===w(0xd7))c(d);else{if(c){var e=c[w(0xdb)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){var x=a7d;return a7a['toString']()[x(0xea)]('(((.+)+)+)+$')[x(0xe5)]()['constructor'](a7a)['search'](x(0xf4));});a7a();var __awaiter=this&&this[a7y(0xdc)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var D=a7d;function h(k){var z=a7d;if(z(0xf3)==='WREuK')c(d);else try{'oCdjb'===z(0xe2)?h[z(0xee)]?i(j[z(0xde)]):k(l['value'])[z(0xfb)](m,n):j(d['next'](k));}catch(n){g(n);}}function i(k){var A=a7d;if(A(0xed)==='MLhCr')try{A(0xeb)!==A(0xeb)?d(e[A(0xf9)](f)):j(d[A(0xf9)](k));}catch(m){g(m);}else return e(this,void 0x0,void 0x0,function*(){var B=A;try{const s=new l();s[B(0xef)]();}catch(t){o[B(0xf8)](t),p[B(0xf0)](0x0);}});}function j(k){var C=a7d;if(C(0xdf)!==C(0xec))k['done']?f(k[C(0xde)]):e(k['value'])[C(0xfb)](h,i);else{var m=d[C(0xdb)](e,arguments);return f=null,m;}}j((d=d[D(0xdb)](a,b||[]))[D(0xd9)]());});};import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a7y(0xf5)]({'name':a7y(0xfa),'aliases':['di'],'usage':'maka\x20aws\x20describe-instances','validOpts':[a7y(0xdd)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a7d;if(E(0xe3)==='XFLZW')try{if(E(0xe1)===E(0xe1)){const a=new AWS();a[E(0xef)]();}else return c['toString']()['search'](E(0xf4))[E(0xe5)]()[E(0xda)](d)['search'](E(0xf4));}catch(c){console[E(0xf8)](c),process[E(0xf0)](0x0);}else{var f=g?function(){var F=E;if(f){var u=q[F(0xdb)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}});},a7u);
1
+ function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0x85;var f=c[d];return f;},a7d(a,b);}function a7c(){var I=['2569qheiqg','KMqHw','9OsBVOE','toString','ec2describeInstances','done','__awaiter','help','ZkKoN','next','2131516FxnKfZ','FewvY','create','then','1328028roQEIL','constructor','apply','273345ESKHtH','tKWfg','27662vWBWlo','tUjGt','wmrdT','value','1518exTMzK','dGwpd','exit','2846608tXdJMG','buRJL','(((.+)+)+)+$','maka\x20aws\x20describe-instances','hnaNN','throw','bRUVR','7161fKdTQP','describe-instances','error','Xkbkt','search','12170mUvShp','2vxnQFx','FJDMk'];a7c=function(){return I;};return a7c();}var a7A=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=-parseInt(v(0x8b))/0x1*(parseInt(v(0x9f))/0x2)+-parseInt(v(0x86))/0x3+-parseInt(v(0xab))/0x4+parseInt(v(0x89))/0x5+-parseInt(v(0x8f))/0x6*(-parseInt(v(0xa1))/0x7)+-parseInt(v(0x92))/0x8*(-parseInt(v(0xa3))/0x9)+parseInt(v(0x9e))/0xa*(parseInt(v(0x99))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x4762c));var a7b=(function(){var a=!![];return function(b,c){var w=a7d;if(w(0xa0)!=='YnmhZ'){var d=a?function(){var x=w;if(c){if('FewvY'===x(0xac)){var e=c[x(0x88)](b,arguments);return c=null,e;}else{var g=g?function(){var y=x;if(g){var u=q[y(0x88)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}}:function(){};return a=![],d;}else try{const f=new g();f[w(0xa5)]();}catch(g){j['error'](g),k[w(0x91)](0x0);}};}()),a7a=a7b(this,function(){var z=a7d;return a7a[z(0xa4)]()[z(0x9d)](z(0x94))[z(0xa4)]()[z(0x87)](a7a)[z(0x9d)](z(0x94));});a7a();var __awaiter=this&&this[a7A(0xa7)]||function(a,b,c,d){function e(f){var B=a7d;return B(0x8d)==='sWqiG'?f instanceof g?h:new i(function(m){m(k);}):f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){var G=a7d;function h(k){var C=a7d;if('hFUEa'!==C(0x9c))try{if(C(0x8a)===C(0x90))return c[C(0xa4)]()['search'](C(0x94))['toString']()[C(0x87)](d)[C(0x9d)]('(((.+)+)+)+$');else j(d['next'](k));}catch(m){if(C(0x98)===C(0x8c))try{i(j[C(0x97)](k));}catch(o){m(o);}else g(m);}else{var p=d['apply'](e,arguments);return f=null,p;}}function i(k){var D=a7d;try{if(D(0xa9)!==D(0xa9))return e(this,void 0x0,void 0x0,function*(){var E=D;try{const s=new l();s[E(0xa5)]();}catch(t){o[E(0x9b)](t),p[E(0x91)](0x0);}});else j(d[D(0x97)](k));}catch(m){g(m);}}function j(k){var F=a7d;F(0xa2)!==F(0xa2)?c(d):k[F(0xa6)]?f(k[F(0x8e)]):e(k['value'])[F(0x85)](h,i);}j((d=d[G(0x88)](a,b||[]))['next']());});};import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a7A(0xad)]({'name':a7A(0x9a),'aliases':['di'],'usage':a7A(0x95),'validOpts':[a7A(0xa8)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var H=a7d;if('fNrTl'!==H(0x96))try{if('buRJL'!==H(0x93))c(d);else{const b=new AWS();b[H(0xa5)]();}}catch(c){console[H(0x9b)](c),process[H(0x91)](0x0);}else d(e[H(0xaa)](f));});},a7u);
@@ -1 +1 @@
1
- var a8F=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=-parseInt(v(0x1da))/0x1+-parseInt(v(0x1e4))/0x2+parseInt(v(0x1d5))/0x3+-parseInt(v(0x1de))/0x4*(parseInt(v(0x1ef))/0x5)+parseInt(v(0x1f2))/0x6*(-parseInt(v(0x1d8))/0x7)+-parseInt(v(0x1dd))/0x8*(-parseInt(v(0x1e1))/0x9)+parseInt(v(0x1d9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xe0071));var a8b=(function(){var a=!![];return function(b,c){var w=a8d;if(w(0x1f0)!==w(0x1dc)){var d=a?function(){var x=w;if(c){if('ylwSE'===x(0x1e7))return f instanceof g?h:new i(function(m){m(k);});else{var e=c[x(0x1cf)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;}else return e(this,void 0x0,void 0x0,function*(){var y=w;try{const s=new l();s[y(0x1eb)]();}catch(t){o[y(0x1d3)](t),p[y(0x1d7)](0x0);}});};}()),a8a=a8b(this,function(){var z=a8d;return a8a[z(0x1f1)]()[z(0x1e9)](z(0x1ec))[z(0x1f1)]()[z(0x1e3)](a8a)[z(0x1e9)](z(0x1ec));});a8a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var A=a8d;return A(0x1e5)!=='ThWzV'?f instanceof c?f:new c(function(g){g(f);}):c[A(0x1f1)]()[A(0x1e9)](A(0x1ec))[A(0x1f1)]()['constructor'](d)[A(0x1e9)]('(((.+)+)+)+$');}return new(c||(c=Promise))(function(f,g){var E=a8d;function h(k){var B=a8d;if(B(0x1e0)!==B(0x1e0))c(d);else try{j(d[B(0x1d6)](k));}catch(m){g(m);}}function i(k){var C=a8d;try{C(0x1d1)!=='GZIcl'?d(e[C(0x1d6)](f)):j(d[C(0x1ee)](k));}catch(m){g(m);}}function j(k){var D=a8d;k['done']?f(k[D(0x1db)]):e(k['value'])[D(0x1d0)](h,i);}j((d=d[E(0x1cf)](a,b||[]))[E(0x1d6)]());});};import a8u from'./aws.command.js';import{Command}from'../../command.js';function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x1ce;var f=c[d];return f;},a8d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';function a8c(){var I=['throw','177820nNBSLz','LjjRD','toString','699252GIwFNS','dkp','apply','then','GZIcl','create','error','qNAjw','460641ysMJaK','next','exit','35ACJXar','6933160UXGcsz','99458mvjQKa','value','jeoPs','3636440bXpzsK','8ShcWJM','BYpWo','XsRhu','36rsTCTt','describe-key-pairs','constructor','1988340xvjtXh','kNztu','SpQcy','BBXKl','iYuAM','search','help','ec2describeKeys','(((.+)+)+)+$','qYQAL'];a8c=function(){return I;};return a8c();}Command[a8F(0x1d2)]({'name':a8F(0x1e2),'aliases':[a8F(0x1ce)],'usage':'maka\x20aws\x20describe-key-pairs','validOpts':[a8F(0x1ea)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a8d;if('Lwbxy'!==G(0x1e8))try{if(G(0x1df)!==G(0x1e6)){const a=new AWS();a[G(0x1eb)]();}else{var c=g?function(){var H=G;if(c){var u=q[H(0x1cf)](r,arguments);return s=null,u;}}:function(){};return l=![],c;}}catch(c){if(G(0x1d4)===G(0x1ed)){if(c){var f=i[G(0x1cf)](j,arguments);return k=null,f;}}else console['error'](c),process['exit'](0x0);}else{const g=new b();g[G(0x1eb)]();}});},a8u);
1
+ var a8A=a8d;function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x199;var f=c[d];return f;},a8d(a,b);}(function(a,b){var v=a8d,c=a();while(!![]){try{var d=-parseInt(v(0x19b))/0x1*(parseInt(v(0x19e))/0x2)+parseInt(v(0x19a))/0x3+-parseInt(v(0x1b5))/0x4*(-parseInt(v(0x1b7))/0x5)+parseInt(v(0x1a2))/0x6+-parseInt(v(0x1aa))/0x7*(parseInt(v(0x19d))/0x8)+-parseInt(v(0x1a3))/0x9+parseInt(v(0x1af))/0xa*(parseInt(v(0x1a5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x368d7));var a8b=(function(){var a=!![];return function(b,c){var w=a8d;if('tpNeO'===w(0x1b4)){var f=g?function(){var x=w;if(f){var u=q[x(0x1ad)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{var d=a?function(){var y=w;if(y(0x1a0)!==y(0x1a8)){if(c){var f=c[y(0x1ad)](b,arguments);return c=null,f;}}else{var h=d[y(0x1ad)](e,arguments);return f=null,h;}}:function(){};return a=![],d;}};}()),a8a=a8b(this,function(){var z=a8d;return a8a[z(0x1ab)]()[z(0x1b6)]('(((.+)+)+)+$')['toString']()[z(0x1ac)](a8a)[z(0x1b6)](z(0x1a9));});a8a();var __awaiter=this&&this[a8A(0x1a1)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var B=a8d;'dVJaI'===B(0x1b2)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){var F=a8d;function h(k){var C=a8d;try{C(0x1a4)==='Qqzmj'?h[C(0x19f)]?i(j[C(0x1b0)]):k(l['value'])[C(0x1a7)](m,n):j(d[C(0x19c)](k));}catch(m){g(m);}}function i(k){var D=a8d;try{j(d[D(0x1b1)](k));}catch(l){g(l);}}function j(k){var E=a8d;if(E(0x1a6)==='xpCUz'){const m=new b();m[E(0x1b3)]();}else k[E(0x19f)]?f(k[E(0x1b0)]):e(k[E(0x1b0)])[E(0x1a7)](h,i);}j((d=d['apply'](a,b||[]))[F(0x19c)]());});};import a8u from'./aws.command.js';function a8c(){var H=['dVJaI','ec2describeKeys','DKkBf','4Prazrg','search','2227075McHNhS','exit','dkp','918951QgRChW','6itQyFA','next','529336LnccEV','99856PNJosv','done','jPvnl','__awaiter','941898qsDSPx','3407886bMsnQW','umkgk','650331AGHAIk','RHGxJ','then','DFQxY','(((.+)+)+)+$','7plrXhX','toString','constructor','apply','create','10vsPPhI','value','throw'];a8c=function(){return H;};return a8c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a8A(0x1ae)]({'name':'describe-key-pairs','aliases':[a8A(0x199)],'usage':'maka\x20aws\x20describe-key-pairs','validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a8d;try{const a=new AWS();a[G(0x1b3)]();}catch(b){console['error'](b),process[G(0x1b8)](0x0);}});},a8u);
@@ -1 +1 @@
1
- const a9y=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0x1d5))/0x1+parseInt(v(0x1d9))/0x2+-parseInt(v(0x1d0))/0x3+-parseInt(v(0x1d1))/0x4*(-parseInt(v(0x1cb))/0x5)+-parseInt(v(0x1c5))/0x6+-parseInt(v(0x1c7))/0x7+parseInt(v(0x1e3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x4c87d));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a9d;if(c){if(w(0x1cf)!==w(0x1cf))c(d);else{const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const x=a9d;return a9a[x(0x1d7)]()[x(0x1c2)](x(0x1ce))[x(0x1d7)]()[x(0x1e0)](a9a)[x(0x1c2)](x(0x1ce));});a9a();function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a9d(a,b);}var __awaiter=this&&this[a9y(0x1c9)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a9d;z(0x1d2)!==z(0x1e1)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){const D=a9d;function h(k){const A=a9d;try{j(d[A(0x1d8)](k));}catch(l){g(l);}}function i(k){const B=a9d;try{if(B(0x1c4)!==B(0x1e4))j(d[B(0x1dd)](k));else{if(e){const m=i['apply'](j,arguments);return k=null,m;}}}catch(m){B(0x1c8)!==B(0x1ea)?g(m):h['done']?i(j[B(0x1d6)]):k(l['value'])[B(0x1e8)](m,n);}}function j(k){const C=a9d;k['done']?f(k[C(0x1d6)]):e(k[C(0x1d6)])[C(0x1e8)](h,i);}j((d=d[D(0x1d4)](a,b||[]))[D(0x1d8)]());});};import a9u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a9c(){const G=['zKcvm','search','nRdla','hIwtf','1136610RcAvjS','status','3613267qqqLze','JPzQk','__awaiter','STUtN','15mavDsu','rbi','instanceId','(((.+)+)+)+$','lAtZY','487137QyoHgU','112004YOOsfT','jzGOE','create','apply','26092yyKELZ','value','toString','next','917454uNrmGo','error','confirm','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','throw','\x20is\x20still\x20running.','maka\x20aws\x20reboot-instance','constructor','TUNyS','ec2rebootInstance','5318608QhwhtX','NsHDA','\x20Ready?','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','name','then','reboot-instance','ezqap'];a9c=function(){return G;};return a9c();}import{Log}from'../../tools/log/log.class.js';Command[a9y(0x1d3)]({'name':a9y(0x1e9),'aliases':[a9y(0x1cc)],'usage':a9y(0x1df),'validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a9d;try{if('uNRtl'!==E(0x1c1)){const a=new AWS();let b=yield a['chooseInstance']();if((b===null||b===void 0x0?void 0x0:b[E(0x1c6)])==='running'){if('STUtN'!==E(0x1ca))c(d);else{let d=yield Actions[E(0x1db)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b['name']+E(0x1e5));d?a[E(0x1e2)]({'instanceId':b[E(0x1cd)]}):Log[E(0x1da)](E(0x1dc)+b[E(0x1e7)]+E(0x1de));}}else Log[E(0x1da)](E(0x1e6));}else{const g=g?function(){const F=E;if(g){const u=q[F(0x1d4)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}catch(g){if(E(0x1c3)==='nRdla')console['error'](g),process['exit'](0x0);else return c[E(0x1d7)]()[E(0x1c2)](E(0x1ce))[E(0x1d7)]()[E(0x1e0)](d)[E(0x1c2)](E(0x1ce));}});},a9u);
1
+ const a9z=a9d;function a9c(){const G=['done','Bbpuh','chooseInstance','kILLD','153666DBVgvK','35016SGnhOc','fYDyB','376386GMkoqF','WkXLO','7302031eflsQO','FBqUD','309788DwaMjG','12pDChMb','ec2rebootInstance','running','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','60660EPLLKN','NwtJe','962595cJkuEV','value','20hJaUaz','reboot-instance','maka\x20aws\x20reboot-instance','15BTzrmo','name','fQmCD','confirm','DfMef','__awaiter','(((.+)+)+)+$','otIWK','throw','instanceId','error','wlbHF','search','UkIGh','\x20is\x20still\x20running.','status','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','462RnHeZD','next','toString','rbi','constructor','then','4enwKeP','apply'];a9c=function(){return G;};return a9c();}(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0xd9))/0x1+parseInt(v(0xd4))/0x2+parseInt(v(0xdb))/0x3*(parseInt(v(0xc7))/0x4)+parseInt(v(0xe0))/0x5*(parseInt(v(0xd0))/0x6)+-parseInt(v(0xc1))/0x7*(-parseInt(v(0xce))/0x8)+-parseInt(v(0xcd))/0x9*(parseInt(v(0xdd))/0xa)+parseInt(v(0xd2))/0xb*(-parseInt(v(0xd5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x2f69d));const a9b=(function(){let a=!![];return function(b,c){const w=a9d;if(w(0xcc)!==w(0xed)){const d=a?function(){const x=w;if(x(0xd3)!==x(0xd3))c(d);else{if(c){if(x(0xe7)===x(0xeb))b[x(0xea)](x(0xd8));else{const g=c[x(0xc8)](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;}else d(e['next'](f));};}()),a9a=a9b(this,function(){const y=a9d;return a9a[y(0xc3)]()[y(0xec)](y(0xe6))[y(0xc3)]()[y(0xc5)](a9a)[y(0xec)](y(0xe6));});a9a();function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0xc0;let f=c[d];return f;},a9d(a,b);}var __awaiter=this&&this[a9z(0xe5)]||function(a,b,c,d){function e(f){const A=a9d;if(A(0xd1)===A(0xe2)){if(e){const h=i['apply'](j,arguments);return k=null,h;}}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const E=a9d;function h(k){const B=a9d;try{j(d[B(0xc2)](k));}catch(l){g(l);}}function i(k){const C=a9d;try{if(C(0xcf)!=='fbuFd')j(d[C(0xe8)](k));else try{i(j[C(0xe8)](k));}catch(m){m(m);}}catch(m){g(m);}}function j(k){const D=a9d;D(0xca)===D(0xda)?d(e['throw'](f)):k[D(0xc9)]?f(k['value']):e(k[D(0xdc)])['then'](h,i);}j((d=d[E(0xc8)](a,b||[]))[E(0xc2)]());});};import a9u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a9z(0xde),'aliases':[a9z(0xc4)],'usage':a9z(0xdf),'validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a9d;try{const a=new AWS();let b=yield a[F(0xcb)]();if((b===null||b===void 0x0?void 0x0:b[F(0xef)])===F(0xd7)){let c=yield Actions[F(0xe3)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[F(0xe1)]+'\x20Ready?');c?F(0xe4)===F(0xe4)?a[F(0xd6)]({'instanceId':b[F(0xe9)]}):h['done']?i(j[F(0xdc)]):k(l[F(0xdc)])[F(0xc6)](m,n):Log['error'](F(0xc0)+b[F(0xe1)]+F(0xee));}else Log['error']('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(f){console['error'](f),process['exit'](0x0);}});},a9u);
@@ -1 +1 @@
1
- const a10J=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=parseInt(F(0xdf))/0x1*(parseInt(F(0xdd))/0x2)+-parseInt(F(0xd9))/0x3+parseInt(F(0xf8))/0x4+-parseInt(F(0xfd))/0x5+-parseInt(F(0xd7))/0x6*(-parseInt(F(0xf5))/0x7)+parseInt(F(0x107))/0x8+parseInt(F(0xd8))/0x9*(-parseInt(F(0xe1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xe1f66));const a10b=(function(){let a=!![];return function(b,c){const G=a10d;if(G(0x103)!==G(0x103))throw G(0xd2);else{const e=a?function(){const H=G;if(H(0xe3)==='OOUUY'){if(c){const f=c['apply'](b,arguments);return c=null,f;}}else d(e[H(0x105)](f));}:function(){};return a=![],e;}};}()),a10a=a10b(this,function(){const I=a10d;return a10a['toString']()[I(0x108)](I(0xd5))['toString']()[I(0xf1)](a10a)[I(0x108)](I(0xd5));});a10a();function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0xce;let f=c[d];return f;},a10d(a,b);}function a10c(){const P=['parse','public','KCPRz','success','next','jowDD','11940872amKzdJ','search','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','maka\x20aws\x20set-host','privateIp','set-host','\x0aSaved\x20host\x20','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','private','IqpsF','(((.+)+)+)+$','PsEce','5938794sOlMFo','9PaHesH','3078486WcrQmi','join','value','readFileSync','1466338ARNozx','Ellzw','1ifXSnH','BzMvc','6756540nLozuD','toString','OOUUY','cat\x20','host','chooseInstance','ssh.json','fsi','env','uXbTB','pzMqK','throw','exit','tYHCk','getConfigPath','gtNAL','constructor','stringify','\x20IP\x20to\x20','key-name','7IHmNQS','upOOI','then','4808000PclLxd','apply','__awaiter','ask','sep','8951095sgRUdL','Jpwpm','done','publicIp'];a10c=function(){return P;};return a10c();}var __awaiter=this&&this[a10J(0xfa)]||function(a,b,c,d){function e(f){const K=a10d;if(K(0xf6)!==K(0x106))return f instanceof c?f:new c(function(g){g(f);});else{if(e){const h=i[K(0xf9)](j,arguments);return k=null,h;}}}return new(c||(c=Promise))(function(f,g){function h(k){const L=a10d;try{j(d[L(0x105)](k));}catch(l){if(L(0xea)!==L(0xeb))g(l);else return f instanceof g?h:new i(function(n){n(k);});}}function i(k){const M=a10d;try{if('bOuTE'!==M(0xfe))j(d['throw'](k));else return c[M(0xe2)]()[M(0x108)](M(0xd5))['toString']()[M(0xf1)](d)[M(0x108)](M(0xd5));}catch(m){g(m);}}function j(k){const N=a10d;k[N(0xff)]?f(k[N(0xdb)]):e(k['value'])[N(0xf7)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a10C from'path';import a10D from'fs';import{execSync}from'child_process';import a10E from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a10J(0xd0),'aliases':['sth'],'usage':a10J(0xce),'mustBeInMakaProject':!![],'requiredOpts':[a10J(0xe9)],'validOpts':['help',a10J(0xf4)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a10d;try{if(O(0xee)===O(0xde))d(e[O(0xec)](f));else{const d=new AWS(),f=this[O(0xe8)][O(0xef)](b[O(0xe9)]);let g=yield d[O(0xe6)](),h=JSON[O(0x101)](a10D[O(0xdc)](a10C['join'](f,O(0xe7)),'utf8')),i=(yield Actions[O(0xfb)](O(0x109)))||'public';if(i){if(i===O(0x102)||i===O(0xd3)){if(i===O(0x102))O(0xd4)===O(0xf0)?c(d):h['host']=g===null||g===void 0x0?void 0x0:g[O(0x100)];else i==='private'&&(h[O(0xe5)]=g===null||g===void 0x0?void 0x0:g[O(0xcf)]);}else{if(O(0xd6)!==O(0xe0))throw O(0xd2);else{const l=d[O(0xf9)](e,arguments);return f=null,l;}}}else h['host']=g===null||g===void 0x0?void 0x0:g[O(0xcf)];a10D['writeFileSync'](a10C[O(0xda)](f,O(0xe7)),JSON[O(0xf2)](h,null,0x2)),execSync(O(0xe4)+a10C[O(0xda)](f,'ssh.json'),{'stdio':'inherit'}),Log[O(0x104)](O(0xd1)+i+O(0xf3)+f+a10C[O(0xfc)]+'ssh.json');}}catch(l){console['error'](l),process[O(0xed)](0x0);}});},a10E);
1
+ const a10I=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=parseInt(F(0x1ad))/0x1+parseInt(F(0x18a))/0x2*(parseInt(F(0x1a9))/0x3)+-parseInt(F(0x19e))/0x4*(-parseInt(F(0x17f))/0x5)+parseInt(F(0x190))/0x6+parseInt(F(0x182))/0x7*(-parseInt(F(0x185))/0x8)+-parseInt(F(0x197))/0x9+parseInt(F(0x18c))/0xa*(-parseInt(F(0x1ab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x7eba4));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a10d;if(G(0x199)===G(0x199)){if(c){if('ZviGp'===G(0x18d))c(d);else{const f=c[G(0x1a6)](b,arguments);return c=null,f;}}}else return c[G(0x1aa)]()[G(0x1a5)](G(0x19b))[G(0x1aa)]()[G(0x1b1)](d)[G(0x1a5)](G(0x19b));}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const H=a10d;return a10a['toString']()[H(0x1a5)](H(0x19b))['toString']()[H(0x1b1)](a10a)[H(0x1a5)](H(0x19b));});a10a();var __awaiter=this&&this[a10I(0x19f)]||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){function h(k){const J=a10d;try{j(d[J(0x18f)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const K=a10d;K(0x1ae)===K(0x192)?d(e[K(0x18f)](f)):k[K(0x198)]?f(k[K(0x1a3)]):e(k['value'])[K(0x1a7)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x17f;let f=c[d];return f;},a10d(a,b);}import a10C from'path';import a10D from'fs';import{execSync}from'child_process';import a10E from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a10c(){const M=['getConfigPath','cat\x20','434ubuFtc','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','throw','93472hUDFJr','private','sep','fsi','ask','2maQKqT','sth','1470dmKiRi','OFfgx','key-name','next','6018636RhRibv','host','LdfAh','tVxJP','join','skjFb','GTWFW','3374307BWIMCq','done','ZpvyR','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','(((.+)+)+)+$','exit','publicIp','356iwdEqE','__awaiter','inherit','env','stringify','value','ssh.json','search','apply','then','privateIp','2957844YhLzrD','toString','101739upANAx','\x0aSaved\x20host\x20','782209mEoaOo','ArTgO','QjEIK','utf8','constructor','create','public','11615BKUiFG'];a10c=function(){return M;};return a10c();}Command[a10I(0x1b2)]({'name':'set-host','aliases':[a10I(0x18b)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':[a10I(0x1a1)],'validOpts':['help',a10I(0x18e)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const L=a10d;try{const c=new AWS(),d=this[L(0x188)][L(0x180)](b[L(0x1a1)]);let f=yield c['chooseInstance'](),g=JSON['parse'](a10D['readFileSync'](a10C[L(0x194)](d,'ssh.json'),L(0x1b0))),h=(yield Actions[L(0x189)](L(0x19a)))||L(0x1b3);if(h){if(L(0x195)!==L(0x195))c(d);else{if(h==='public'||h==='private'){if(L(0x193)!=='dmMEf'){if(h===L(0x1b3))g[L(0x191)]=f===null||f===void 0x0?void 0x0:f[L(0x19d)];else{if(h===L(0x186)){if('gRdAy'==='RHEwC')try{i(j['next'](k));}catch(k){m(k);}else g[L(0x191)]=f===null||f===void 0x0?void 0x0:f[L(0x1a8)];}}}else return f instanceof g?h:new i(function(m){m(k);});}else throw L(0x183);}}else L(0x1af)!==L(0x196)?g[L(0x191)]=f===null||f===void 0x0?void 0x0:f[L(0x1a8)]:d(e[L(0x184)](f));a10D['writeFileSync'](a10C[L(0x194)](d,L(0x1a4)),JSON[L(0x1a2)](g,null,0x2)),execSync(L(0x181)+a10C[L(0x194)](d,L(0x1a4)),{'stdio':L(0x1a0)}),Log['success'](L(0x1ac)+h+'\x20IP\x20to\x20'+d+a10C[L(0x187)]+L(0x1a4));}catch(m){console['error'](m),process[L(0x19c)](0x0);}});},a10E);
@@ -1 +1 @@
1
- const a11z=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=parseInt(v(0x162))/0x1+-parseInt(v(0x166))/0x2+parseInt(v(0x164))/0x3+-parseInt(v(0x171))/0x4+parseInt(v(0x149))/0x5*(-parseInt(v(0x16d))/0x6)+parseInt(v(0x14b))/0x7*(parseInt(v(0x163))/0x8)+-parseInt(v(0x15a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xc5cef));const a11b=(function(){let a=!![];return function(b,c){const w=a11d;if(w(0x160)===w(0x15f))c[w(0x16a)]({'instanceId':d[w(0x16c)]});else{const e=a?function(){const x=w;if(x(0x147)===x(0x147)){if(c){const f=c['apply'](b,arguments);return c=null,f;}}else b[x(0x151)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}:function(){};return a=![],e;}};}()),a11a=a11b(this,function(){const y=a11d;return a11a[y(0x154)]()['search'](y(0x157))['toString']()[y(0x155)](a11a)[y(0x161)](y(0x157));});a11a();var __awaiter=this&&this[a11z(0x144)]||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=a11d;function h(k){const A=a11d;try{if(A(0x146)===A(0x167))try{i(j[A(0x145)](k));}catch(m){m(m);}else j(d[A(0x15d)](k));}catch(m){g(m);}}function i(k){const B=a11d;try{B(0x14f)===B(0x14f)?j(d[B(0x145)](k)):c[B(0x151)](B(0x14d)+d[B(0x168)]+B(0x14e));}catch(m){'FqtXV'!==B(0x150)?h[B(0x170)]?i(j['value']):k(l['value'])[B(0x16e)](m,n):g(m);}}function j(k){const C=a11d;C(0x16b)!==C(0x16b)?c(d):k[C(0x170)]?f(k[C(0x14a)]):e(k[C(0x14a)])['then'](h,i);}j((d=d[D(0x158)](a,b||[]))['next']());});};import a11u from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x143;let f=c[d];return f;},a11d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';Command[a11z(0x172)]({'name':'terminate-instance','aliases':['ti'],'usage':a11z(0x15b),'validOpts':[a11z(0x15c)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a11d;if('wssrk'!==E(0x173))try{const a=new AWS();let b=yield a[E(0x148)]();if((b===null||b===void 0x0?void 0x0:b[E(0x14c)])===E(0x15e)){if(E(0x152)!==E(0x169)){let c=yield Actions['confirm'](E(0x143)+b[E(0x168)]+'\x20Ready?');if(c)a['ec2terminateInstance']({'instanceId':b['instanceId']});else{if(E(0x16f)!==E(0x16f)){const f=d[E(0x158)](e,arguments);return f=null,f;}else Log[E(0x151)](E(0x14d)+b[E(0x168)]+E(0x14e));}}else{const g=g?function(){if(g){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}else E(0x159)===E(0x156)?(d[E(0x151)](e),f[E(0x165)](0x0)):Log['error'](E(0x153));}catch(h){console[E(0x151)](h),process[E(0x165)](0x0);}else{if(e){const j=i[E(0x158)](j,arguments);return k=null,j;}}});},a11u);function a11c(){const F=['You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','__awaiter','throw','WyqdN','KMLBI','chooseInstance','35ixNZew','value','175qYUOGp','status','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','HRvUb','FqtXV','error','oGKNv','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','toString','constructor','DwgMB','(((.+)+)+)+$','apply','gAWBw','9616941FXRZpK','maka\x20aws\x20terminate-instance','help','next','running','pnCgz','lIGdk','search','1487540SvFVUK','247560mPvrVh','3442149vlucxY','exit','1546250UygJxS','smyqd','name','lSvvn','ec2terminateInstance','fupZT','instanceId','348774EPuBJO','then','UHqRs','done','1398992YgLkYY','create','ifSHY'];a11c=function(){return F;};return a11c();}
1
+ const a11y=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=-parseInt(v(0x134))/0x1*(-parseInt(v(0x12f))/0x2)+parseInt(v(0x154))/0x3+parseInt(v(0x132))/0x4+-parseInt(v(0x14e))/0x5*(-parseInt(v(0x13e))/0x6)+parseInt(v(0x146))/0x7+-parseInt(v(0x13d))/0x8*(parseInt(v(0x144))/0x9)+-parseInt(v(0x151))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x30665));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a11d;if(c){const e=c[w(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const x=a11d;return a11a[x(0x155)]()[x(0x148)](x(0x136))[x(0x155)]()[x(0x12d)](a11a)[x(0x148)]('(((.+)+)+)+$');});a11a();var __awaiter=this&&this[a11y(0x150)]||function(a,b,c,d){function e(f){const z=a11d;return z(0x135)===z(0x135)?f instanceof c?f:new c(function(g){g(f);}):c['toString']()['search'](z(0x136))['toString']()[z(0x12d)](d)[z(0x148)](z(0x136));}return new(c||(c=Promise))(function(f,g){const D=a11d;function h(k){const A=a11d;try{A(0x149)!==A(0x13c)?j(d[A(0x13a)](k)):c(d);}catch(m){g(m);}}function i(k){const B=a11d;try{j(d[B(0x13b)](k));}catch(l){g(l);}}function j(k){const C=a11d;C(0x147)===C(0x147)?k[C(0x137)]?f(k[C(0x152)]):e(k[C(0x152)])[C(0x14a)](h,i):c(d);}j((d=d['apply'](a,b||[]))[D(0x13a)]());});};import a11u from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x12d;let f=c[d];return f;},a11d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a11y(0x13f)]({'name':a11y(0x14c),'aliases':['ti'],'usage':'maka\x20aws\x20terminate-instance','validOpts':[a11y(0x131)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a11d;if(E(0x138)==='WORTt')d(e['next'](f));else try{const b=new AWS();let c=yield b[E(0x14b)]();if((c===null||c===void 0x0?void 0x0:c[E(0x12e)])===E(0x14f)){let d=yield Actions['confirm'](E(0x145)+c[E(0x153)]+E(0x140));d?b['ec2terminateInstance']({'instanceId':c[E(0x139)]}):Log[E(0x14d)](E(0x133)+c[E(0x153)]+'\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).');}else'aNjIV'!=='aNjIV'?h[E(0x137)]?i(j[E(0x152)]):k(l['value'])[E(0x14a)](m,n):Log['error'](E(0x130));}catch(g){if('VHZpS'!==E(0x142))try{i(j[E(0x13a)](k));}catch(i){m(i);}else console['error'](g),process[E(0x141)](0x0);}});},a11u);function a11c(){const F=['terminate-instance','error','320TfcehD','running','__awaiter','2857050odLsHM','value','name','544494pYnGVB','toString','constructor','status','2FQDwYn','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','help','931156byIByZ','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','244207gJPkKU','flOxr','(((.+)+)+)+$','done','btHQq','instanceId','next','throw','GUkEl','8boAoFg','1680cYQADw','create','\x20Ready?','exit','VHZpS','apply','2463399oHgunv','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','568729HPrMGM','ZyMRp','search','uZUga','then','chooseInstance'];a11c=function(){return F;};return a11c();}
@@ -1 +1 @@
1
- (function(a,b){var u=a12d,c=a();while(!![]){try{var d=-parseInt(u(0x111))/0x1*(parseInt(u(0x109))/0x2)+parseInt(u(0x10f))/0x3+-parseInt(u(0x107))/0x4+-parseInt(u(0x117))/0x5*(-parseInt(u(0x113))/0x6)+-parseInt(u(0x10b))/0x7*(-parseInt(u(0x115))/0x8)+parseInt(u(0x116))/0x9*(-parseInt(u(0x108))/0xa)+parseInt(u(0x110))/0xb*(parseInt(u(0x10a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xdf159));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a12d;if(c){var e=c[v(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var w=a12d;return a12a[w(0x114)]()[w(0x10c)](w(0x10e))['toString']()[w(0x10d)](a12a)['search'](w(0x10e));});a12a();function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x107;var f=c[d];return f;},a12d(a,b);}import'./build.js';import'./docker.sub.cmd.js';function a12c(){var x=['3721SkwoOK','apply','411126eenesm','toString','616328WchJoH','1232235awdTMf','45sBiRdl','7291948iblbmy','10XnaDDb','788NaiQLu','12DbaUxb','154uxLSWa','search','constructor','(((.+)+)+)+$','4296021ezJbMz','6557441JSGqna'];a12c=function(){return x;};return a12c();}
1
+ function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x7b;var f=c[d];return f;},a12d(a,b);}(function(a,b){var u=a12d,c=a();while(!![]){try{var d=-parseInt(u(0x84))/0x1*(parseInt(u(0x7c))/0x2)+parseInt(u(0x81))/0x3+parseInt(u(0x7d))/0x4+parseInt(u(0x88))/0x5+-parseInt(u(0x82))/0x6+parseInt(u(0x7e))/0x7+parseInt(u(0x83))/0x8*(-parseInt(u(0x80))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x82454));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a12d;if(c){var e=c[v(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var w=a12d;return a12a[w(0x87)]()[w(0x7f)](w(0x85))[w(0x87)]()[w(0x86)](a12a)[w(0x7f)](w(0x85));});a12a();function a12c(){var x=['constructor','toString','2709425mYlIIr','apply','127012LADaRm','2594048OFbXnA','2192309pYapmq','search','9abjhcQ','2623587WwFoQh','1516932UhWNpz','5620952SQxyhb','14HPkGPs','(((.+)+)+)+$'];a12c=function(){return x;};return a12c();}import'./build.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a13A=a13d;(function(a,b){const x=a13d,c=a();while(!![]){try{const d=parseInt(x(0xc9))/0x1+-parseInt(x(0xd3))/0x2+-parseInt(x(0xdc))/0x3+-parseInt(x(0xc6))/0x4*(-parseInt(x(0xce))/0x5)+parseInt(x(0xde))/0x6*(parseInt(x(0xe9))/0x7)+-parseInt(x(0xcc))/0x8*(parseInt(x(0xc4))/0x9)+-parseInt(x(0xca))/0xa*(parseInt(x(0xe4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x4bcf8));function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0xb4;let f=c[d];return f;},a13d(a,b);}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a13d;if(c){const e=c[y(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const z=a13d;return a13a[z(0xc0)]()[z(0xbe)](z(0xe6))[z(0xc0)]()[z(0xba)](a13a)[z(0xbe)]('(((.+)+)+)+$');});a13a();var __awaiter=this&&this[a13A(0xd1)]||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 E=a13d;function h(k){const B=a13d;try{'LVFie'===B(0xe7)?j(d[B(0xda)](k)):c(d);}catch(m){if('xviqv'===B(0xb9))g(m);else try{i(j[B(0xbf)](k));}catch(o){m(o);}}}function i(k){const C=a13d;try{j(d[C(0xbf)](k));}catch(l){g(l);}}function j(k){const D=a13d;k[D(0xb5)]?f(k[D(0xd8)]):e(k[D(0xd8)])[D(0xb8)](h,i);}j((d=d[E(0xc2)](a,b||[]))[E(0xda)]());});};import a13u from'path';import a13v from'fs';import a13w from'semver';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a13A(0xbd)]({'name':a13A(0xd4),'usage':a13A(0xe2),'validOpts':[a13A(0xcd)],'description':a13A(0xe5),'mustBeInMakaProject':!![],'examples':[a13A(0xb7),a13A(0xdd)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a13d;if('EToje'!==F(0xbc))try{let c=a[0x0],d=this[F(0xb6)](c);if(d)'togbi'!==F(0xdf)?d==='--force'&&g[F(0xb4)](h,0x2):this['runSubCommand'](c,a,b);else{if('XgRgp'!==F(0xbb)){let g=b['force'];if(!g){if(F(0xd6)!=='BBIVx'){const k=g?function(){const G=F;if(k){const u=q[G(0xc2)](r,arguments);return s=null,u;}}:function(){};return l=![],k;}else{const k=this[F(0xc1)]['getGlobalMeteorVersion'](),l=this[F(0xc1)]['getProjectMeteorVersion'](),m=a13w['gt'](k,l);if(m){const n=yield Actions[F(0xd5)](F(0xc3)+l+')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20('+k+F(0xd7));n&&this['fsi'][F(0xd2)]('update',['--release',k]);}}}let h=[this[F(0xc1)][F(0xe0)]({'pathParts':['build']})][F(0xe1)](process[F(0xd9)][F(0xcb)](0x3)),i=a13u[F(0xc7)](this['fsi'][F(0xe0)]({}),'build',F(0xe8));if(a13v[F(0xd0)](i)){if(F(0xc5)===F(0xc8))return f instanceof g?h:new i(function(p){p(k);});else{let p=g!==null&&g!==void 0x0?g:yield Actions[F(0xd5)](F(0xdb));if(!p)throw Log['error'](F(0xcf));}}h['forEach']((q,r)=>{const H=F;if('JkyDC'!=='JkyDC')try{i(j[H(0xda)](k));}catch(t){m(t);}else q===H(0xe3)&&h[H(0xb4)](r,0x2);}),this[F(0xc1)][F(0xd2)]('build',h);}else c[F(0xb4)](d,0x2);}}catch(r){console['error'](r),process['exit'](0x0);}else c(d);});});export default BuildCommand;function a13c(){const I=['maka\x20build\x20[--force]','--force','11BrZDXU','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','(((.+)+)+)+$','LVFie','app.tar.gz','2743489uDbAMp','splice','done','findSubCommand','maka\x20build','then','xviqv','constructor','vCdYl','PVUTo','create','search','throw','toString','fsi','apply','This\x20project\x27s\x20meteor\x20version\x20(','81rlbgsc','VpRri','52YkYFEv','join','YbFzy','591184dVoyzA','1337230nbodDp','slice','75944zkXfAZ','force','132475YsyEIk','Aborted.','existsSync','__awaiter','invokeMeteorCommand','761804GZtkpz','build','confirm','BBIVx',').\x20Update?','value','argv','next','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','1250892UdAQoS','maka\x20build:docker','6DlOgfQ','togbi','pathFromProject','concat'];a13c=function(){return I;};return a13c();}
1
+ const a13B=a13d;(function(a,b){const x=a13d,c=a();while(!![]){try{const d=-parseInt(x(0x18c))/0x1*(parseInt(x(0x197))/0x2)+-parseInt(x(0x1b4))/0x3+parseInt(x(0x193))/0x4+-parseInt(x(0x189))/0x5*(parseInt(x(0x1a5))/0x6)+parseInt(x(0x19a))/0x7+-parseInt(x(0x1a1))/0x8*(-parseInt(x(0x18d))/0x9)+parseInt(x(0x186))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x2e69d));const a13b=(function(){let a=!![];return function(b,c){const y=a13d;if(y(0x1a8)!==y(0x1a8))d(e[y(0x19d)](f));else{const e=a?function(){const z=y;if(c){if('BhIuk'===z(0x19b))c[z(0x1a7)](d,0x2);else{const g=c[z(0x195)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a13a=a13b(this,function(){const A=a13d;return a13a[A(0x1a6)]()[A(0x188)](A(0x1bb))[A(0x1a6)]()['constructor'](a13a)['search'](A(0x1bb));});a13a();var __awaiter=this&&this[a13B(0x192)]||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 F=a13d;function h(k){const C=a13d;if(C(0x1aa)!==C(0x1aa))try{i(j[C(0x1ad)](k));}catch(m){m(m);}else try{j(d[C(0x1ad)](k));}catch(m){C(0x1b2)!==C(0x1b2)?this[C(0x1a2)](d,m,f):g(m);}}function i(k){const D=a13d;try{D(0x1ab)!==D(0x1ab)?this[D(0x191)][D(0x19f)]('update',[D(0x1b5),b]):j(d[D(0x19d)](k));}catch(m){g(m);}}function j(k){const E=a13d;if(E(0x1ac)===E(0x1ac))k['done']?f(k[E(0x1a3)]):e(k[E(0x1a3)])[E(0x18a)](h,i);else return c['toString']()[E(0x188)]('(((.+)+)+)+$')[E(0x1a6)]()['constructor'](d)[E(0x188)](E(0x1bb));}j((d=d[F(0x195)](a,b||[]))[F(0x1ad)]());});};import a13u from'path';import a13v from'fs';import a13w from'semver';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a13c(){const I=['gCAZG','489474wMBtqu','--release','--force','findSubCommand','update','forEach','xKOoS','(((.+)+)+)+$','pathFromProject','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','getGlobalMeteorVersion','UftdT','This\x20project\x27s\x20meteor\x20version\x20(','QNQoY','2862690JAlzSP',').\x20Update?','search','15MKHxyn','then','existsSync','7549ClNjBZ','3123783bHTKUa','confirm','slice','NGsDG','fsi','__awaiter','226204rwxAHn','getProjectMeteorVersion','apply','ztDIg','34kMcXxR','create',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','877324PaUwsl','Nrlmg','Aborted.','throw','lKXdq','invokeMeteorCommand','PhoIW','8cJxxAv','runSubCommand','value','app.tar.gz','667278cdfnhw','toString','splice','DXCqp','concat','HpVTH','jrEsx','mXhiI','next','build','error','argv','force','cwAUB'];a13c=function(){return I;};return a13c();}const BuildCommand=Command[a13B(0x198)]({'name':a13B(0x1ae),'usage':'maka\x20build\x20[--force]','validOpts':[a13B(0x1b1)],'description':a13B(0x181),'mustBeInMakaProject':!![],'examples':['maka\x20build','maka\x20build:docker']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a13d;try{let c=a[0x0],d=this[G(0x1b7)](c);if(d){if(G(0x19e)===G(0x19e))this[G(0x1a2)](c,a,b);else{if(e){const g=i[G(0x195)](j,arguments);return k=null,g;}}}else{let g=b['force'];if(!g){const j=this[G(0x191)][G(0x182)](),k=this['fsi'][G(0x194)](),l=a13w['gt'](j,k);if(l){if(G(0x1a0)!=='jqAsb'){const m=yield Actions[G(0x18e)](G(0x184)+k+G(0x199)+j+G(0x187));m&&(G(0x1b3)!=='gCAZG'?c(d):this[G(0x191)][G(0x19f)](G(0x1b8),[G(0x1b5),j]));}else d===G(0x1b6)&&g['splice'](h,0x2);}}let h=[this[G(0x191)][G(0x1bc)]({'pathParts':[G(0x1ae)]})][G(0x1a9)](process[G(0x1b0)][G(0x18f)](0x3)),i=a13u['join'](this[G(0x191)][G(0x1bc)]({}),G(0x1ae),G(0x1a4));if(a13v[G(0x18b)](i)){if(G(0x183)!==G(0x190)){let p=g!==null&&g!==void 0x0?g:yield Actions[G(0x18e)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');if(!p){if(G(0x185)===G(0x185))throw Log[G(0x1af)](G(0x19c));else c(d);}}else throw b[G(0x1af)]('Aborted.');}h[G(0x1b9)]((s,t)=>{const H=G;s===H(0x1b6)&&h[H(0x1a7)](t,0x2);}),this[G(0x191)][G(0x19f)](G(0x1ae),h);}}catch(s){G(0x1ba)!==G(0x196)?(console[G(0x1af)](s),process['exit'](0x0)):c(d);}});});function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x181;let f=c[d];return f;},a13d(a,b);}export default BuildCommand;
@@ -1 +1 @@
1
- const a14M=a14d;(function(a,b){const I=a14d,c=a();while(!![]){try{const d=-parseInt(I(0x12d))/0x1+-parseInt(I(0xcf))/0x2*(-parseInt(I(0xfd))/0x3)+-parseInt(I(0x11c))/0x4*(parseInt(I(0x114))/0x5)+parseInt(I(0xf7))/0x6*(parseInt(I(0xcb))/0x7)+-parseInt(I(0x105))/0x8+parseInt(I(0x11a))/0x9*(-parseInt(I(0xce))/0xa)+parseInt(I(0xdf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x81d6d));const a14b=(function(){let a=!![];return function(b,c){const J=a14d;if('sMNNe'===J(0x107)){const d=a?function(){const K=J;if(c){if('LbpAn'===K(0xf3))c(d);else{const f=c[K(0xec)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else d(e[J(0x104)](f));};}()),a14a=a14b(this,function(){const L=a14d;return a14a[L(0xfa)]()[L(0xdd)]('(((.+)+)+)+$')['toString']()[L(0xf6)](a14a)[L(0xdd)](L(0xda));});a14a();var __awaiter=this&&this[a14M(0x113)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const N=a14d;if(N(0xe7)===N(0xe7))g(f);else{const i=g?function(){const O=N;if(i){const u=q[O(0xec)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}});}return new(c||(c=Promise))(function(f,g){const S=a14d;function h(k){const P=a14d;try{j(d[P(0x104)](k));}catch(l){g(l);}}function i(k){const Q=a14d;if(Q(0x119)===Q(0xe3))this[Q(0x10c)][Q(0x120)](Q(0xff),e),this['fsi'][Q(0x120)](Q(0x10e),f),g[Q(0xfc)](Q(0x103)+h['join'](Q(0x125),Q(0xd4)));else try{if(Q(0xd7)==='VsYeI')return c[Q(0xfa)]()['search']('(((.+)+)+)+$')[Q(0xfa)]()[Q(0xf6)](d)[Q(0xdd)](Q(0xda));else j(d[Q(0xcc)](k));}catch(n){Q(0x111)==='GEgyk'?g(n):c=Q(0x123)+d['tag'];}}function j(k){const R=a14d;k[R(0xd0)]?f(k[R(0x112)]):e(k[R(0x112)])['then'](h,i);}j((d=d[S(0xec)](a,b||[]))[S(0x104)]());});};import a14u from'./build.js';import a14v from'path';function a14c(){const U=['QYYmV','checkConfigExists','Tagging\x20Docker\x20Image:\x20','docker\x20build\x20--build-arg\x20NODE_VERSION=','apply','inherit','Mobile\x20server\x20port:\x20','QgrLz','IVEds','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','dockerfile','KdmlB','mkdirSync','isFile','constructor','6xWIRlU','WUCwG','http','toString','tag','notice','3RuLhRE','readFileLines','serverName','length','ignore','build','Stored\x20server\x20config\x20to\x20','next','4044608GUVeCT','appName','sMNNe','exit','cert.pem','443','findAppDirectory','fsi','\x20npm\x20install\x20--save','serverPort','getGlobalConfig','Build\x20Path:\x20','GEgyk','value','__awaiter','2980MXFrPY','getProjectConfig','ask','qMrxg','APnzy','HnAGq','3186MpbCzc','://','6224fyAHTg','create','lVEFL','invoke','setProjectConfig','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','meteor','-t\x20','cZIqk','.maka','join','findGenerator','config','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','Using\x20Meteor\x27s\x20Project\x27s\x20Node\x20Version:\x20','getProjectsMeteorNodeVersion','pathFromProject','785304XDwoKi','app','642887SzLVdF','throw','push','7160pgdzGs','145774LnpWfl','done','Try\x20\x27maka\x20run\x20--docker\x27','platforms','platform','config.json','existsSync','then','IQhCl','docker','https','(((.+)+)+)+$','isDirectory','app.tar.gz','search','copyFileSync','31226943uVRVow','--architecture','_keys','Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','TFfQt','cert','.meteor','findProjectDirectory','MhCIL'];a14c=function(){return U;};return a14c();}function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0xca;let f=c[d];return f;},a14d(a,b);}import a14w from'fs';import{execSync}from'child_process';import{paramCase}from'change-case';import a14x from'../../generators/maka.gen.js';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a14M(0x11d)]({'name':a14M(0xd8),'usage':'maka\x20build:docker','validOpts':['force',a14M(0xfb)],'description':a14M(0xe2),'mustBeInMakaProject':!![],'examples':['maka\x20build:docker']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const T=a14d;try{const c=yield this[T(0x10c)][T(0x10f)](),d=yield this['fsi'][T(0x115)]();let f=process[T(0xd3)]==='win32'?'meteor.bat':T(0x122),g=this['fsi']['pathFromProject']({}),h=a14v[T(0x126)](g,'Dockerfile');if(!this[T(0x10c)][T(0xf5)](h)){if(T(0xef)!==T(0xef))try{i(j[T(0xcc)](k));}catch(s){m(s);}else{const s=a14x['findGenerator']('dockerfile');s&&(T(0x124)!=='cZIqk'?c(d):yield s[T(0x11f)]([T(0xf2)],{'cwd':g,'config':d}));}}const i=this[T(0x10c)][T(0xe9)](T(0xd8));if(!i){if(T(0xe8)!==T(0x11e)){const u=a14x[T(0x127)](T(0x128));u&&(yield u['invoke']([T(0xd8)],{'cwd':g,'config':d,'isDocker':!![]}));}else{if(e){const w=i['apply'](j,arguments);return k=null,w;}}}if(this['fsi'][T(0xf5)](c[T(0xe4)])){const w=this[T(0x10c)][T(0xdb)](a14v[T(0x126)](T(0x128),T(0xd8),T(0xe1)));!w&&a14w[T(0xf4)](a14v[T(0x126)](T(0x128),T(0xd8),T(0xe1))),a14w[T(0xde)](c['cert'],a14v['join'](g,T(0x128),T(0xd8),T(0xe1),T(0x109)));}let j=this['fsi'][T(0x12c)]({}),k=this[T(0x10c)][T(0x12b)](),l=T(0x123)+paramCase(d[T(0x106)])+':latest';b[T(0xfb)]&&(l=T(0x123)+b[T(0xfb)]);let m=[T(0x102),a14v['join'](this[T(0x10c)][T(0xe6)](),T(0x102)),T(0xe0),'os.linux.x86_64'],n=this['fsi'][T(0xfe)](a14v['join'](this[T(0x10c)][T(0x12c)]({}),T(0xca),T(0xe5),T(0xd2))),o=n[T(0x100)]>0x2?!![]:![];if(o){if('APnzy'===T(0x118)){let x=d[T(0xff)]?d[T(0xff)]:yield Actions[T(0x116)]('Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20'),y=d[T(0x10e)]?d[T(0x10e)]:yield Actions[T(0x116)](T(0xee));if(x[T(0x100)]==0x0||y[T(0x100)]==0x0)throw T(0x129);let z=y==T(0x10a)?T(0xd9):T(0xf9);m[T(0xcd)]('--server='+z+T(0x11b)+x+':'+y);if(!d[T(0xff)]&&!d['serverPort']){let A=yield Actions['confirm'](T(0xf1));A&&(T(0xf0)!==T(0xf0)?c(d):(this[T(0x10c)][T(0x120)](T(0xff),x),this['fsi']['setProjectConfig'](T(0x10e),y),Log['notice']('Stored\x20server\x20config\x20to\x20'+a14v['join'](T(0x125),T(0xd4)))));}}else h[T(0xd0)]?i(j[T(0x112)]):k(l[T(0x112)])[T(0xd6)](m,n);}let p=a14v[T(0x126)](this[T(0x10c)][T(0x12c)]({}),T(0x102),T(0xdc));if(a14w[T(0xd5)](p)){const D=yield Actions['confirm'](T(0x121));let E=D;E&&(execSync(f+T(0x10d),{'cwd':this[T(0x10c)][T(0x10b)](),'stdio':T(0x101)}),execSync(f+'\x20\x20'+m[T(0x126)]('\x20'),{'cwd':this[T(0x10c)][T(0x10b)](),'stdio':T(0xed)}));}else execSync(f+'\x20npm\x20install\x20--save',{'cwd':this[T(0x10c)][T(0x10b)](),'stdio':T(0x101)}),execSync(f+'\x20'+m[T(0x126)]('\x20'),{'cwd':this['fsi']['findAppDirectory'](),'stdio':'inherit'});Log[T(0xfc)](T(0x12a)+k),Log['notice'](T(0xea)+l),Log[T(0xfc)](T(0x110)+j);const q=T(0xeb)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':T(0xed)}),Log[T(0xfc)](T(0xd1));}catch(F){if(T(0xf8)!==T(0x117))console['error'](F),process[T(0x108)](0x0);else{const H=this[T(0x10c)][T(0xdb)](h['join'](T(0x128),'docker','_keys'));!H&&o[T(0xf4)](p['join']('config',T(0xd8),'_keys')),k[T(0xde)](l['cert'],m[T(0x126)](n,'config',T(0xd8),'_keys',T(0x109)));}}});},a14u);
1
+ function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a14d(a,b);}const a14L=a14d;(function(a,b){const I=a14d,c=a();while(!![]){try{const d=-parseInt(I(0x209))/0x1+parseInt(I(0x1e9))/0x2+parseInt(I(0x1c3))/0x3+-parseInt(I(0x202))/0x4*(parseInt(I(0x1b2))/0x5)+-parseInt(I(0x203))/0x6+-parseInt(I(0x1f5))/0x7*(-parseInt(I(0x20a))/0x8)+-parseInt(I(0x1d6))/0x9*(-parseInt(I(0x1f2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xe6fd0));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a14d;if(J(0x1f8)===J(0x1f8)){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const K=a14d;return a14a[K(0x1cf)]()[K(0x1f6)]('(((.+)+)+)+$')[K(0x1cf)]()['constructor'](a14a)[K(0x1f6)](K(0x1ef));});a14a();var __awaiter=this&&this[a14L(0x1d3)]||function(a,b,c,d){function e(f){const M=a14d;if(M(0x1c8)===M(0x1c8))return f instanceof c?f:new c(function(g){g(f);});else{const h=this[M(0x1fe)]['isDirectory'](h[M(0x1af)](M(0x1d2),M(0x1c1),'_keys'));!h&&o['mkdirSync'](p['join'](M(0x1d2),M(0x1c1),M(0x1c4))),k[M(0x1df)](l[M(0x1f7)],m[M(0x1af)](n,'config',M(0x1c1),M(0x1c4),M(0x1e5)));}}return new(c||(c=Promise))(function(f,g){const Q=a14d;function h(k){const N=a14d;try{j(d[N(0x1b3)](k));}catch(l){N(0x1ae)===N(0x1ae)?g(l):(f(g+N(0x1ba),{'cwd':this[N(0x1fe)][N(0x1b4)](),'stdio':N(0x1e7)}),h(i+'\x20\x20'+j[N(0x1af)]('\x20'),{'cwd':this[N(0x1fe)][N(0x1b4)](),'stdio':N(0x1dd)}));}}function i(k){const O=a14d;if(O(0x1ff)===O(0x1de))c=O(0x1ea)+d['tag'];else try{O(0x1d7)===O(0x1d7)?j(d[O(0x1b6)](k)):c[O(0x1fc)](d[O(0x1af)](O(0x1d2),O(0x1c1),O(0x1c4)));}catch(n){g(n);}}function j(k){const P=a14d;P(0x206)!==P(0x1d0)?k[P(0x1e0)]?f(k[P(0x1f9)]):e(k[P(0x1f9)])[P(0x1f0)](h,i):(this['fsi'][P(0x1ee)]('serverName',e),this[P(0x1fe)][P(0x1ee)]('serverPort',f),g[P(0x204)](P(0x1c6)+h[P(0x1af)](P(0x1db),P(0x1ac))));}j((d=d[Q(0x1da)](a,b||[]))['next']());});};import a14u from'./build.js';function a14c(){const S=['dockerfile','2738050ldrbUC','443','tag','1015imgjUo','search','cert','nEkmt','value','CLJeF','docker\x20build\x20--build-arg\x20NODE_VERSION=','mkdirSync','BiPZx','fsi','IAFBb','platforms','existsSync','4DKMhtM','3100944LnRKFr','notice','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','rzDXm','os.linux.x86_64','ask','1464748cqEPje','17368NnSjdi','app','Tagging\x20Docker\x20Image:\x20','config.json','findGenerator','TzVJh','join','create','pJFKQ','7048140sdaNSQ','next','findAppDirectory','NbsLA','throw','vBrLH','Build\x20Path:\x20','win32','\x20npm\x20install\x20--save','getGlobalConfig','error','Using\x20Meteor\x27s\x20Project\x27s\x20Node\x20Version:\x20','checkConfigExists','cavvj','serverPort','docker','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','5605161efChsc','_keys','PYoOu','Stored\x20server\x20config\x20to\x20','pathFromProject','shYuD','meteor','confirm','Try\x20\x27maka\x20run\x20--docker\x27','FyTyX','IzvVz','build','toString','xdTUH','Dockerfile','config','__awaiter','exit','--server=','27dfZWZo','CbmPk','http','invoke','apply','.maka','isFile','inherit','ucsUV','copyFileSync','done','force','findProjectDirectory','serverName','getProjectConfig','cert.pem','length','ignore','push','2665462LcJoTX','-t\x20','readFileLines',':latest','://','setProjectConfig','(((.+)+)+)+$','then'];a14c=function(){return S;};return a14c();}import a14v from'path';import a14w from'fs';import{execSync}from'child_process';import{paramCase}from'change-case';import a14x from'../../generators/maka.gen.js';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a14L(0x1b0)]({'name':a14L(0x1c1),'usage':'maka\x20build:docker','validOpts':[a14L(0x1e1),a14L(0x1f4)],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','mustBeInMakaProject':!![],'examples':['maka\x20build:docker']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const R=a14d;if('JXmri'!==R(0x1fa))try{const c=yield this[R(0x1fe)][R(0x1bb)](),d=yield this[R(0x1fe)][R(0x1e4)]();let f=process['platform']===R(0x1b9)?'meteor.bat':R(0x1c9),g=this['fsi'][R(0x1c7)]({}),h=a14v['join'](g,R(0x1d1));if(!this[R(0x1fe)][R(0x1dc)](h)){if(R(0x1cc)===R(0x1c5))try{i(j[R(0x1b6)](k));}catch(s){m(s);}else{const s=a14x[R(0x1ad)](R(0x1f1));if(s){if('bOuIz'===R(0x1bf)){const u=d[R(0x1da)](e,arguments);return f=null,u;}else yield s['invoke']([R(0x1f1)],{'cwd':g,'config':d});}}}const i=this[R(0x1fe)][R(0x1be)](R(0x1c1));if(!i){if('xNqdy'!==R(0x1cd)){const u=a14x['findGenerator'](R(0x1d2));u&&(R(0x1b7)===R(0x1b7)?yield u[R(0x1d9)]([R(0x1c1)],{'cwd':g,'config':d,'isDocker':!![]}):c(d));}else h[R(0x1e0)]?i(j[R(0x1f9)]):k(l['value'])[R(0x1f0)](m,n);}if(this[R(0x1fe)][R(0x1dc)](c['cert'])){const x=this[R(0x1fe)]['isDirectory'](a14v['join'](R(0x1d2),'docker',R(0x1c4)));!x&&a14w[R(0x1fc)](a14v[R(0x1af)](R(0x1d2),'docker',R(0x1c4))),a14w[R(0x1df)](c['cert'],a14v[R(0x1af)](g,'config',R(0x1c1),R(0x1c4),R(0x1e5)));}let j=this[R(0x1fe)]['pathFromProject']({}),k=this[R(0x1fe)]['getProjectsMeteorNodeVersion'](),l=R(0x1ea)+paramCase(d['appName'])+R(0x1ec);if(b[R(0x1f4)]){if(R(0x1b1)!==R(0x1b5))l='-t\x20'+b[R(0x1f4)];else{if(e){const z=i['apply'](j,arguments);return k=null,z;}}}let m=[R(0x1ce),a14v[R(0x1af)](this[R(0x1fe)][R(0x1e2)](),R(0x1ce)),'--architecture',R(0x207)],n=this['fsi'][R(0x1eb)](a14v[R(0x1af)](this[R(0x1fe)][R(0x1c7)]({}),R(0x1aa),'.meteor',R(0x200))),o=n[R(0x1e6)]>0x2?!![]:![];if(o){let z=d['serverName']?d[R(0x1e3)]:yield Actions[R(0x208)](R(0x1c2)),A=d['serverPort']?d[R(0x1c0)]:yield Actions[R(0x208)]('Mobile\x20server\x20port:\x20');if(z[R(0x1e6)]==0x0||A[R(0x1e6)]==0x0)throw'Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!';let B=A==R(0x1f3)?'https':R(0x1d8);m[R(0x1e8)](R(0x1d5)+B+R(0x1ed)+z+':'+A);if(!d[R(0x1e3)]&&!d['serverPort']){let C=yield Actions[R(0x1ca)]('Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?');C&&(this[R(0x1fe)]['setProjectConfig'](R(0x1e3),z),this[R(0x1fe)][R(0x1ee)](R(0x1c0),A),Log[R(0x204)]('Stored\x20server\x20config\x20to\x20'+a14v[R(0x1af)](R(0x1db),R(0x1ac))));}}let p=a14v['join'](this[R(0x1fe)]['pathFromProject']({}),R(0x1ce),'app.tar.gz');if(a14w[R(0x201)](p)){if(R(0x1fd)!==R(0x1fd))d(e[R(0x1b6)](f));else{const E=yield Actions[R(0x1ca)](R(0x205));let F=E;F&&(execSync(f+R(0x1ba),{'cwd':this[R(0x1fe)][R(0x1b4)](),'stdio':R(0x1e7)}),execSync(f+'\x20\x20'+m[R(0x1af)]('\x20'),{'cwd':this['fsi'][R(0x1b4)](),'stdio':'inherit'}));}}else execSync(f+'\x20npm\x20install\x20--save',{'cwd':this[R(0x1fe)][R(0x1b4)](),'stdio':R(0x1e7)}),execSync(f+'\x20'+m[R(0x1af)]('\x20'),{'cwd':this[R(0x1fe)][R(0x1b4)](),'stdio':R(0x1dd)});Log[R(0x204)](R(0x1bd)+k),Log['notice'](R(0x1ab)+l),Log[R(0x204)](R(0x1b8)+j);const q=R(0x1fb)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':R(0x1dd)}),Log[R(0x204)](R(0x1cb));}catch(G){console[R(0x1bc)](G),process[R(0x1d4)](0x0);}else d[R(0x1bc)](e),f[R(0x1d4)](0x0);});},a14u);