@maka/maka-cli 4.0.83 → 4.0.84

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 (87) hide show
  1. package/dist/command.js +1 -1
  2. package/dist/commands/_index.js +1 -1
  3. package/dist/commands/aws/_index.js +1 -1
  4. package/dist/commands/aws/aws.command.js +1 -1
  5. package/dist/commands/aws/ci.sub.cmd.js +1 -1
  6. package/dist/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/dist/commands/aws/csg.sub.cmd.js +1 -1
  8. package/dist/commands/aws/di.sub.cmd.js +1 -1
  9. package/dist/commands/aws/dks.sub.cmd.js +1 -1
  10. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  11. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  12. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  13. package/dist/commands/build/_index.js +1 -1
  14. package/dist/commands/build/build.js +1 -1
  15. package/dist/commands/build/docker.sub.cmd.js +1 -1
  16. package/dist/commands/create.js +1 -1
  17. package/dist/commands/debug.js +1 -1
  18. package/dist/commands/deploy.js +1 -1
  19. package/dist/commands/game/_index.js +1 -1
  20. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  21. package/dist/commands/game/play.command.js +1 -1
  22. package/dist/commands/game/pong.sub.cmd.js +1 -1
  23. package/dist/commands/game/snake.sub.cmd.js +1 -1
  24. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  25. package/dist/commands/generate.js +1 -1
  26. package/dist/commands/get/_index.js +1 -1
  27. package/dist/commands/get/get.command.js +1 -1
  28. package/dist/commands/get/global.sub.cmd.js +1 -1
  29. package/dist/commands/get/local.sub.cmd.js +1 -1
  30. package/dist/commands/help.js +1 -1
  31. package/dist/commands/install.js +1 -1
  32. package/dist/commands/jsdoc.js +1 -1
  33. package/dist/commands/login.js +1 -1
  34. package/dist/commands/logout.js +1 -1
  35. package/dist/commands/logs.js +1 -1
  36. package/dist/commands/maka.cmd.js +1 -1
  37. package/dist/commands/murder.js +1 -1
  38. package/dist/commands/reconfig.js +1 -1
  39. package/dist/commands/run.js +1 -1
  40. package/dist/commands/set/_index.js +1 -1
  41. package/dist/commands/set/global.sub.cmd.js +1 -1
  42. package/dist/commands/set/local.sub.cmd.js +1 -1
  43. package/dist/commands/set/set.command.js +1 -1
  44. package/dist/commands/ssh.js +1 -1
  45. package/dist/commands/ssl.js +1 -1
  46. package/dist/commands/test.js +1 -1
  47. package/dist/commands/version.js +1 -1
  48. package/dist/error.js +1 -1
  49. package/dist/generator.js +1 -1
  50. package/dist/generators/_index.js +1 -1
  51. package/dist/generators/api.js +1 -1
  52. package/dist/generators/collection.js +1 -1
  53. package/dist/generators/component.js +1 -1
  54. package/dist/generators/config.js +1 -1
  55. package/dist/generators/dbc.js +1 -1
  56. package/dist/generators/dockerfile.js +1 -1
  57. package/dist/generators/hook.js +1 -1
  58. package/dist/generators/kit.js +1 -1
  59. package/dist/generators/layout.js +1 -1
  60. package/dist/generators/maka.gen.js +1 -1
  61. package/dist/generators/methods.js +1 -1
  62. package/dist/generators/package.js +1 -1
  63. package/dist/generators/page.js +1 -1
  64. package/dist/generators/publish.js +1 -1
  65. package/dist/generators/route.js +1 -1
  66. package/dist/generators/scaffold.js +1 -1
  67. package/dist/generators/service.js +1 -1
  68. package/dist/maka.js +1 -1
  69. package/dist/tool.js +1 -1
  70. package/dist/tools/actions/actions.class.js +1 -1
  71. package/dist/tools/actions/actions.test.js +1 -1
  72. package/dist/tools/aws/aws.class.js +1 -1
  73. package/dist/tools/aws/aws.interfaces.js +1 -1
  74. package/dist/tools/docker/docker.class.js +1 -1
  75. package/dist/tools/docker/docker.interfaces.js +1 -1
  76. package/dist/tools/fsi/fsi.class.js +1 -1
  77. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  78. package/dist/tools/https/https.class.js +1 -1
  79. package/dist/tools/https/https.interface.js +1 -1
  80. package/dist/tools/log/log.class.js +1 -1
  81. package/dist/tools/log/log.interfaces.js +1 -1
  82. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  83. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  84. package/dist/tools/ssh/ssh.class.js +1 -1
  85. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  86. package/dist/tools/ssl/ssl.class.js +1 -1
  87. package/package.json +1 -1
package/dist/command.js CHANGED
@@ -1 +1 @@
1
- const a0Q=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=parseInt(N(0x1d7))/0x1*(-parseInt(N(0x1fe))/0x2)+-parseInt(N(0x1cb))/0x3*(parseInt(N(0x1aa))/0x4)+parseInt(N(0x1b1))/0x5*(-parseInt(N(0x193))/0x6)+-parseInt(N(0x1ea))/0x7+-parseInt(N(0x184))/0x8+parseInt(N(0x185))/0x9+parseInt(N(0x16f))/0xa*(parseInt(N(0x1c2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x99835));function a0c(){const aj=['addCommand\x20requires\x20a\x20Command\x20instance','homedir','IxbdW','minArgLength','forEach','find','assign','YgAeC','runSubCommand','tableList','proCommands','IrsLy','mTwYK','yLLMH','FdkzH','__awaiter','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','qoASU','UKqnl','Commands:','value','concat','1292KHsORs','constructor','To\x20use\x20this\x20command,\x20\x22','Command\x20not\x20found','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','name','Missing\x20required\x20options\x20','1915pjmPJj','Alias','fsi','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','trialActive','call','Name','domainLicense','split','Command\x20requires\x20a\x20name','To\x20use\x20these\x20pro\x20flags,\x20\x22','mustHaveMeteorInstalled','then','kTtEm','Too\x20many\x20options','findSubCommand','deploy','2035cEmRev','aliases','ZPJSo','wGuSu','validateMeteorInstall','usage','search','singleLicense','oPDnf','2343CsiHCp','Missing\x20required\x20option:\x20','findProjectDirectory','AppData','keys','minOptsLength','gQYxu','addCommand','validateMakaProject','cqhNE','help','trialExpirationDate','270328BJGikx','nDosh','match','murder','throw','llkmA','next','Too\x20few\x20options','eqiko','toString','Local','There\x20is\x20no\x20Meteor\x20application\x20here','Command.create\x20requires\x20some\x20options!','maxOptsLength','FTkkL','function','validateMakaSubscription','Command.create\x20requires\x20a\x20handler\x20function!','game','3351208NjukSD','Description','_commands','No\x20description\x20provided.','ejEna','filter','YTUkI','BzULo','options','xzaVZ','VjruG','maxArgLength','exit','apply','roles','tUtFU','join','nWyri','No\x20aliases','JYOjR','8fBCtuj','push','pLcmM','notice','splice','Command\x20requires\x20a\x20handler\x20function','done','examples','upnez','YXioE','128890GOmpSx','findCommand','XYZZc','Uahpl','error','Too\x20few\x20arguments','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','fZFox','REMzo','InYiD','validateParams','rzVAM','UDwTQ','run','_handler','bright','(((.+)+)+)+$','Too\x20many\x20arguments','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','cbSjK','includes','1465952iWJBci','6078222TPOvUu','BEuTi','Trial\x20License\x20Expires:\x20','win32','MJxVG','description','invoke','existsSync','length','Invalid\x20options:\x20','number','.meteor','rLcAf','bind','6822aJPRjw'];a0c=function(){return aj;};return a0c();}const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const O=a0d;if(c){const e=c[O(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const P=a0d;return a0a['toString']()[P(0x1c8)](P(0x17f))[P(0x1e0)]()[P(0x1ab)](a0a)[P(0x1c8)](P(0x17f));});a0a();var __awaiter=this&&this[a0Q(0x1a3)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const R=a0d;R(0x189)!==R(0x189)?c['splice'](0x0,0x0,d):g(f);});}return new(c||(c=Promise))(function(f,g){const V=a0d;function h(k){const S=a0d;try{S(0x191)!==S(0x191)?c[S(0x201)](S(0x187)+d[S(0x1d6)][S(0x1b9)]('T')[0x0]):j(d['next'](k));}catch(m){g(m);}}function i(k){const T=a0d;try{j(d[T(0x1db)](k));}catch(l){g(l);}}function j(k){const U=a0d;U(0x177)===U(0x177)?k[U(0x16b)]?f(k[U(0x1a8)]):e(k[U(0x1a8)])[U(0x1bd)](h,i):c(d);}j((d=d[V(0x1f7)](a,b||[]))[V(0x1dd)]());});};import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J[a0Q(0x195)]();import a0L from'cli-table';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x16b;let f=c[d];return f;},a0d(a,b);}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 W=a0Q;super();if(!a){if(W(0x1c5)!==W(0x1a0))throw new Error(W(0x1a4));else throw new b(W(0x194));}if(!a[W(0x1af)]){if(W(0x178)!=='InYiD'){if(!f['includes'](g)){k[W(0x173)](W(0x1cc)+l);throw new m();}}else throw new Error(W(0x1ba));}if(typeof b!=='function'){if('BiwRB'===W(0x1fd))try{i(j['throw'](k));}catch(f){m(f);}else throw new Error(W(0x203));}this['options']=Object[W(0x19a)]({},a),this[W(0x1af)]=this[W(0x1f2)]['name'],this['_commands']=[],this[W(0x17d)]=b[W(0x192)](this);}static['create'](a,b,c){const X=a0Q;var d;if(!a)throw new Error(X(0x1e3));if(typeof b!==X(0x1e6)){if(X(0x1a2)!=='lJWxb')throw new Error(X(0x1e8));else throw b;}let e=new Command(a,b);return c=c||a0M,Object['assign'](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[X(0x1f2)])===null||d===void 0x0?void 0x0:d[X(0x1af)]}),c['addCommand'](e),e;}[a0Q(0x1d9)](a){const Y=a0Q;let b=[this[Y(0x1af)]][Y(0x1a9)](this[Y(0x1f2)][Y(0x1c3)]||[]);return this['parent']&&b[Y(0x1ff)](this['parent']),b[Y(0x183)](a);}[a0Q(0x1d2)](a){const Z=a0Q;if(!(a instanceof Command))throw new Error(Z(0x194));this[Z(0x1ec)]['push'](a);}['validateMakaProject'](){const a0=a0Q,a=this[a0(0x1b3)][a0(0x1cd)]();return a!==![]?!![]:![];}[a0Q(0x1c6)](){const a1=a0Q;let a=a0I[a1(0x1fa)](homeDir,a1(0x190));const b=process['platform']===a1(0x188);if(b){if(a1(0x1dc)===a1(0x1dc)){a=a0I[a1(0x1fa)](homeDir,a1(0x1ce),a1(0x1e1),'.meteor');if(!a0K[a1(0x18c)](a))return![];}else throw'Command\x20not\x20found';}else{if(!a0K[a1(0x18c)](a)){if(a1(0x1f9)===a1(0x1f9))return![];else{c['error'](a1(0x180));throw new d();}}}return!![];}[a0Q(0x1e7)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a2=a0d;if(a2(0x182)===a2(0x182))try{const c=this[a2(0x170)](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['parent'])||'',g=a[0x0],h=Object['keys'](b),i=yield this['fsi']['getPro']();if(!i){if(a2(0x1fb)===a2(0x1fb))Log[a2(0x173)](a2(0x181)),process[a2(0x1f6)](0x1);else{f=g[a2(0x1fa)](h,'AppData','Local',a2(0x190));if(!i[a2(0x18c)](j))return![];}}const j=(i===null||i===void 0x0?void 0x0:i[a2(0x19e)][a2(0x183)](d))||(i===null||i===void 0x0?void 0x0:i[a2(0x19e)]['includes'](f)),k=!(i===null||i===void 0x0?void 0x0:i[a2(0x1f8)][a2(0x183)](a2(0x1c9)))&&!(i===null||i===void 0x0?void 0x0:i[a2(0x1f8)]['includes'](a2(0x1b8)))&&!(i===null||i===void 0x0?void 0x0:i[a2(0x1b5)]);if(j&&k){if(a2(0x1a6)==='VKFKe')try{i(j[a2(0x1dd)](k));}catch(o){m(o);}else throw a2(0x1ac)+a[0x0]+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}if(h[a2(0x18d)]>0x0){if(a2(0x196)===a2(0x196)){const n=i===null||i===void 0x0?void 0x0:i['proFlags'][a2(0x1ef)](o=>h[a2(0x183)](o));if(n&&n[a2(0x18d)]>0x0&&k){if(a2(0x176)!==a2(0x1f0))throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+(n===null||n===void 0x0?void 0x0:n['join'](',\x20'))+a2(0x1b4);else c[a2(0x173)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),d['exit'](0x1);}}else b[a2(0x201)](a2(0x1a7)),this[a2(0x19d)](this[a2(0x1ec)]);}if(g===a2(0x1c1)){if('NBVHE'===a2(0x1f3)){d[a2(0x173)](a2(0x18e)+e);throw new f();}else{const r=yield this[a2(0x1b3)]['getPro'](),s=r===null||r===void 0x0?void 0x0:r[a2(0x19e)][a2(0x183)](a[0x0]+'\x20'+a[0x1]);if(s&&k)throw a2(0x1ac)+a[0x0]+a2(0x1b4);}}(i===null||i===void 0x0?void 0x0:i[a2(0x1b5)])&&Log[a2(0x201)](a2(0x187)+i[a2(0x1d6)][a2(0x1b9)]('T')[0x0]);}}catch(t){if(a2(0x16e)==='hzqQV')f[a2(0x1ff)](a2(0x1d5)),g[a2(0x198)](v=>{const a3=a2;if(!k[a3(0x183)](v)){n['error'](a3(0x18e)+v);throw new o();}});else throw t;}else return this[a2(0x1f2)]['description']||a2(0x1ed);});}[a0Q(0x179)](a,b,c){const a4=a0Q,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a4(0x1cf)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts[a4(0x18d)])>0x0){if(g[a4(0x18d)]===0x0){if(a4(0x200)!==a4(0x1d8)){Log[a4(0x173)]('Missing\x20required\x20options\x20'+requiredOpts[a4(0x1fa)](',\x20'));throw new UsageError();}else return![];}requiredOpts[a4(0x198)](i=>{const a5=a4;if(!g[a5(0x183)](i)){Log[a5(0x173)]('Missing\x20required\x20option:\x20'+i);throw new UsageError();}});}validOpts=validOpts[a4(0x1a9)](requiredOpts),(validOpts===null||validOpts===void 0x0?void 0x0:validOpts['length'])>0x0&&(validOpts[a4(0x1ff)]('help'),g[a4(0x198)](i=>{const a6=a4;if('hiJZy'===a6(0x1be))d(e[a6(0x1dd)](f));else{if(!validOpts[a6(0x183)](i)){Log[a6(0x173)](a6(0x18e)+i);throw new UsageError();}}}));}['run'](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a7=a0d;if('ZZTtv'==='oWiHC'){const d=f===null||g===void 0x0?void 0x0:h['proFlags'][a7(0x1ef)](m=>d[a7(0x183)](m));if(d&&d[a7(0x18d)]>0x0&&j)throw a7(0x1bb)+(d===null||d===void 0x0?void 0x0:d[a7(0x1fa)](',\x20'))+a7(0x1b4);}else try{if(a7(0x1e5)!==a7(0x1d4)){a=a||[],b=b||{};try{yield this['validateMakaSubscription'](a,b);}catch(d){Log[a7(0x173)](d),process[a7(0x1f6)](0x0);}yield this[a7(0x18b)](a,b);}else{if(i[a7(0x18d)]===0x0){q['error'](a7(0x1b0)+r['join'](',\x20'));throw new s();}m['forEach'](z=>{const a8=a7;if(!t['includes'](z)){w['error'](a8(0x1cc)+z);throw new x();}});}}catch(g){if(a7(0x172)!==a7(0x172))return this[a7(0x1f2)][a7(0x1c3)]||a7(0x1fc);else process[a7(0x1f6)](0x1);}});}[a0Q(0x18b)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a9=a0d;if(a9(0x1c4)===a9(0x17b))b['exit'](0x1);else{const {usage:usage='',description:description='',examples:examples=[]}=this[a9(0x1f2)];this['validateParams'](a,b,this[a9(0x1f2)]);try{if(this[a9(0x1f2)]['mustBeInMakaProject']){const d=this[a9(0x1d3)]();if(!d)throw new MustBeInProjectError();}if(this[a9(0x1f2)][a9(0x1bc)]){if(a9(0x1a5)!==a9(0x1a5)){let g=f===null||g===void 0x0?void 0x0:h[a9(0x1b9)](':');if(g)return k=g[0x0],this[a9(0x170)](l);else return;}else{const g=this[a9(0x1c6)]();if(!g)throw new NoMeteorFoundError();}}if(typeof this[a9(0x1f2)][a9(0x197)]===a9(0x18f)){if(a[a9(0x18d)]<this[a9(0x1f2)]['minArgLength']){Log[a9(0x173)](a9(0x174));throw new UsageError();}}if(typeof this[a9(0x1f2)][a9(0x1f5)]===a9(0x18f)){if('qTNKa'==='qTNKa'){if(a[a9(0x18d)]>=this[a9(0x1f2)][a9(0x1f5)]){Log['error'](a9(0x180));throw new UsageError();}}else{const i=this[a9(0x1d3)]();if(!i)throw new c();}}if(typeof this[a9(0x1f2)][a9(0x1d0)]===a9(0x18f)){if(a9(0x19f)!==a9(0x19f)){if(e[a9(0x1cf)](f)[a9(0x18d)]>=this[a9(0x1f2)]['maxOptsLength']){i[a9(0x173)](a9(0x1bf));throw new j();}}else{if(Object['keys'](b)[a9(0x18d)]<this['options']['minOptsLength']){if('YgAeC'!==a9(0x19b)){if(e[a9(0x1cf)](f)[a9(0x18d)]<this[a9(0x1f2)]['minOptsLength']){i['error'](a9(0x1de));throw new j();}}else{Log[a9(0x173)](a9(0x1de));throw new UsageError();}}}}if(typeof this['options'][a9(0x1e4)]===a9(0x18f)){if(Object[a9(0x1cf)](b)[a9(0x18d)]>=this[a9(0x1f2)][a9(0x1e4)]){Log['error'](a9(0x1bf));throw new UsageError();}}if((a[0x0]===_prevCmd||a[a9(0x18d)]===0x0)&&b[a9(0x1d5)])throw new UsageError();_prevCmd=a[0x0],yield this['_handler'][a9(0x1b6)](this,a,b);}catch(k){if(a9(0x186)===a9(0x1ee))throw new b();else{if(k instanceof UsageError)this[a9(0x1ec)][a9(0x18d)]>0x0&&b[a9(0x1d5)]&&(Log[a9(0x201)]('Commands:'),this['tableList'](this[a9(0x1ec)])),Log[a9(0x1c7)](description,examples,usage);else{if(k instanceof MustBeInProjectError){if(a9(0x1a1)!==a9(0x1d1))Log[a9(0x173)](a9(0x1ae)),Log[a9(0x1c7)](description,examples,usage);else return d=k[0x0],this['findCommand'](f);}else{if(k instanceof NoMeteorFoundError)Log[a9(0x173)](a9(0x175)),Log[a9(0x201)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22'),Log['usage'](description,examples,usage);else{if(k instanceof NoMeteorAppFoundError)'BzULo'!==a9(0x1f1)?(f[a9(0x173)](a9(0x1ae)),g[a9(0x1c7)](h,i,j)):(Log[a9(0x173)](a9(0x1e2)),Log[a9(0x1c7)](description,examples,usage));else throw k;}}}process[a9(0x1f6)](0x1);}}}});}[a0Q(0x19d)](a){const aa=a0Q,b=new a0L({});b['push']([aa(0x1b7),aa(0x1b2),aa(0x1eb)]),a['sort']()[aa(0x198)](c=>{const ab=aa;if(ab(0x1f4)!==ab(0x1ca))c['name']!==ab(0x1da)&&c[ab(0x1af)]!==ab(0x1e9)&&b[ab(0x1ff)]([c['name'],c[ab(0x1c3)](),c[ab(0x18a)]()]);else{c['error'](ab(0x174));throw new d();}}),Log[aa(0x17e)](b[aa(0x1e0)]());}[a0Q(0x170)](a){const ac=a0Q;return this[ac(0x1ec)][ac(0x199)](b=>b[ac(0x1d9)](a));}[a0Q(0x1c0)](a){const ad=a0Q;let b=a===null||a===void 0x0?void 0x0:a[ad(0x1b9)](':');if(b){if(ad(0x1df)!==ad(0x1df))throw new b('Command\x20requires\x20a\x20handler\x20function');else return a=b[0x0],this['findCommand'](a);}else return;}[a0Q(0x19c)](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const ae=a0d;if('upnez'===ae(0x16d))try{if(ae(0x17a)===ae(0x17a)){let d=a[ae(0x1b9)](':');a=d[0x0];let f=d[0x1];f&&b[ae(0x202)](0x0,0x0,f);let g=this['findCommand'](a);if(g)yield g[ae(0x17c)](b,c);else{if(ae(0x171)===ae(0x171))throw ae(0x1ad);else f[ae(0x173)](ae(0x1e2)),g[ae(0x1c7)](h,i,j);}}else throw ae(0x1ac)+b[0x0]+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}catch(j){throw Log['error'](j);}else throw ae(0x1ac)+b[0x0]+ae(0x1b4);});}[a0Q(0x18a)](){const af=a0Q;return this[af(0x1f2)][af(0x18a)]||af(0x1ed);}[a0Q(0x1c7)](){const ag=a0Q;return this[ag(0x1f2)][ag(0x1c7)]||'No\x20usage\x20provided.';}[a0Q(0x16c)](){const ah=a0Q;return this['options'][ah(0x16c)]||[];}[a0Q(0x1c3)](){const ai=a0Q;return this[ai(0x1f2)][ai(0x1c3)]||ai(0x1fc);}}
1
+ const a0Q=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=parseInt(N(0xb1))/0x1+parseInt(N(0x96))/0x2*(parseInt(N(0xd7))/0x3)+parseInt(N(0x7c))/0x4*(-parseInt(N(0x7f))/0x5)+-parseInt(N(0x73))/0x6+parseInt(N(0xac))/0x7+-parseInt(N(0xc2))/0x8*(parseInt(N(0xbd))/0x9)+-parseInt(N(0xc9))/0xa*(-parseInt(N(0xd6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x3d486));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const O=a0d;if(c){if(O(0xd2)!==O(0x9e)){const e=c[O(0x71)](b,arguments);return c=null,e;}else{const g=this[O(0xda)][O(0x69)]();return g!==![]?!![]:![];}}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const P=a0d;return a0a[P(0xa6)]()['search'](P(0x6f))[P(0xa6)]()[P(0x76)](a0a)[P(0xb7)]('(((.+)+)+)+$');});a0a();var __awaiter=this&&this[a0Q(0xf8)]||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;try{j(d[R(0x98)](k));}catch(l){if('MttMN'!==R(0x7e))return this[R(0xe4)][R(0xbc)]||R(0xc3);else g(l);}}function i(k){const S=a0d;try{j(d[S(0xe0)](k));}catch(l){S(0x6c)==='PKSdp'?g(l):g['name']!==S(0xcc)&&h[S(0xe8)]!=='game'&&m[S(0xd5)]([n[S(0xe8)],o['aliases'](),p[S(0x9d)]()]);}}function j(k){const T=a0d;k[T(0xdf)]?f(k[T(0x92)]):e(k[T(0x92)])[T(0xe1)](h,i);}j((d=d[U(0x71)](a,b||[]))[U(0x98)]());});};import a0I from'path';import a0J from'os';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x68;let f=c[d];return f;},a0d(a,b);}import a0K from'fs';const homeDir=a0J[a0Q(0x8d)]();import a0L from'cli-table';function a0c(){const ag=['1832WwFSEI','NLjId','MttMN','3225ospEIo','split','deploy','help','tableList','addCommand\x20requires\x20a\x20Command\x20instance','Local','Too\x20few\x20options','Please\x20run\x20\x22maka\x20install\x20meteor\x22','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','getPro','forEach','yoWNL','trialActive','homedir','proFlags','_commands','run','proCommands','value','rVyOR','fVOtF','To\x20use\x20this\x20command,\x20\x22','695584EZrMzK','eZCWT','next','Command.create\x20requires\x20some\x20options!','function','validateMakaSubscription','error','description','uhmRW','Missing\x20required\x20options\x20','existsSync','GQITb','domainLicense','Trial\x20License\x20Expires:\x20','sort','minOptsLength','toString','join','qqKuO','validateMakaProject','gKmZi','assign','1637181ZdVPWA','JPxOV','minArgLength','LLynC','findCommand','393553OAFYFY','Too\x20many\x20arguments','roles','pqBCC','keys','match','search','ZAogq','doNJy','exit','LDjMX','aliases','9459kmZYlQ','mustBeInMakaProject','validateMeteorInstall','runSubCommand','mustHaveMeteorInstalled','984PtaaZJ','No\x20aliases','platform','invoke','To\x20use\x20these\x20pro\x20flags,\x20\x22','yazeR','pdnul','10NAgmEm','usage','Too\x20many\x20options','murder','length','splice','Command\x20requires\x20a\x20name','validateParams','bSJHM','ZNfxN','LiRZB','trialExpirationDate','push','428879OncDDS','3AKgRvC','examples','Command\x20not\x20found','fsi','wJvIQ','Command\x20requires\x20a\x20handler\x20function','VjYKR','_handler','done','throw','then','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','maxArgLength','options','notice','findSubCommand','RLmqF','name','concat','UgLZX','find','addCommand','parent','SKqxu','KvTSd','dNbjp','.meteor','call','lUSXR','maxOptsLength','game','kiWOH','Invalid\x20options:\x20','__awaiter','owTGB','Rxqia','PFzlU','Missing\x20required\x20option:\x20','nbdig','Too\x20few\x20arguments','bind','findProjectDirectory','Description','Command.create\x20requires\x20a\x20handler\x20function!','PKSdp','Name','Alias','(((.+)+)+)+$','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','apply','RMKXa','2031120qsIeXB','includes','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','constructor','AGgru','RUikc','AppData','Commands:','number'];a0c=function(){return ag;};return a0c();}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 V=a0Q;super();if(!a){if(V(0x94)===V(0xc7))return this['options'][V(0xd8)]||[];else throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');}if(!a[V(0xe8)]){if(V(0x72)==='RMKXa')throw new Error(V(0xcf));else b['exit'](0x1);}if(typeof b!==V(0x9a)){if(V(0xf3)===V(0xd3)){c[V(0x9c)](V(0xcb));throw new d();}else throw new Error(V(0xdc));}this[V(0xe4)]=Object['assign']({},a),this[V(0xe8)]=this[V(0xe4)][V(0xe8)],this['_commands']=[],this[V(0xde)]=b[V(0x68)](this);}static['create'](a,b,c){const W=a0Q;var d;if(!a)throw new Error(W(0x99));if(typeof b!=='function'){if(W(0xe7)===W(0xe7))throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');else{var g;if(!p)throw new E('Command.create\x20requires\x20some\x20options!');if(typeof r!==W(0x9a))throw new F(W(0x6b));let h=new t(u,v);return w=x||y,z['assign'](h,{'parent':(g=A===null||B===void 0x0?void 0x0:C['options'])===null||g===void 0x0?void 0x0:g[W(0xe8)]}),D['addCommand'](h),h;}}let e=new Command(a,b);return c=c||a0M,Object[W(0xab)](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[W(0xe4)])===null||d===void 0x0?void 0x0:d[W(0xe8)]}),c['addCommand'](e),e;}[a0Q(0xb6)](a){const X=a0Q;let b=[this[X(0xe8)]][X(0xe9)](this[X(0xe4)]['aliases']||[]);return this[X(0xed)]&&b[X(0xd5)](this[X(0xed)]),b[X(0x74)](a);}[a0Q(0xec)](a){const Y=a0Q;if(!(a instanceof Command)){if('gKmZi'===Y(0xaa))throw new Error(Y(0x84));else f[Y(0x9c)](Y(0xe2)),g[Y(0xca)](h,i,j);}this[Y(0x8f)][Y(0xd5)](a);}[a0Q(0xa9)](){const Z=a0Q,a=this[Z(0xda)][Z(0x69)]();return a!==![]?!![]:![];}[a0Q(0xbf)](){const a0=a0Q;let a=a0I[a0(0xa7)](homeDir,a0(0xf1));const b=process[a0(0xc4)]==='win32';if(b){a=a0I[a0(0xa7)](homeDir,a0(0x79),a0(0x85),a0(0xf1));if(!a0K['existsSync'](a))return![];}else{if(a0(0xfa)===a0(0xfa)){if(!a0K[a0(0xa0)](a))return![];}else return;}return!![];}[a0Q(0x9b)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a1=a0d;try{const c=this[a1(0xb0)](a[0x0]);if(c){if(a1(0xa1)===a1(0xea))c['splice'](0x0,0x0,d);else{const f=(c===null||c===void 0x0?void 0x0:c[a1(0xe8)])||a[0x0],g=(c===null||c===void 0x0?void 0x0:c[a1(0xed)])||'',h=a[0x0],i=Object[a1(0xb5)](b),j=yield this[a1(0xda)][a1(0x89)]();if(!j){if(a1(0xdd)!=='WmFTB')Log['error']('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[a1(0xba)](0x1);else{if(e[a1(0xb5)](f)[a1(0xcd)]>=this[a1(0xe4)]['maxOptsLength']){i[a1(0x9c)]('Too\x20many\x20options');throw new j();}}}const k=(j===null||j===void 0x0?void 0x0:j[a1(0x91)][a1(0x74)](f))||(j===null||j===void 0x0?void 0x0:j['proCommands']['includes'](g)),l=!(j===null||j===void 0x0?void 0x0:j[a1(0xb3)]['includes']('singleLicense'))&&!(j===null||j===void 0x0?void 0x0:j['roles'][a1(0x74)](a1(0xa2)))&&!(j===null||j===void 0x0?void 0x0:j[a1(0x8c)]);if(k&&l){if(a1(0xdb)===a1(0xdb))throw a1(0x95)+a[0x0]+a1(0x88);else throw b;}if(i['length']>0x0){if('jFtCJ'!=='jFtCJ'){f=g[a1(0xa7)](h,a1(0x79),a1(0x85),'.meteor');if(!i[a1(0xa0)](j))return![];}else{const p=j===null||j===void 0x0?void 0x0:j[a1(0x8e)]['filter'](q=>i[a1(0x74)](q));if(p&&p[a1(0xcd)]>0x0&&l){if(a1(0xef)==='KvTSd')throw a1(0xc6)+(p===null||p===void 0x0?void 0x0:p['join'](',\x20'))+a1(0x88);else throw c[a1(0x9c)](d);}}}if(h===a1(0x81)){if(a1(0xee)===a1(0xee)){const r=yield this[a1(0xda)][a1(0x89)](),s=r===null||r===void 0x0?void 0x0:r[a1(0x91)][a1(0x74)](a[0x0]+'\x20'+a[0x1]);if(s&&l)throw'To\x20use\x20this\x20command,\x20\x22'+a[0x0]+a1(0x88);}else{d['error'](a1(0xf7)+e);throw new f();}}(j===null||j===void 0x0?void 0x0:j[a1(0x8c)])&&Log[a1(0xe5)](a1(0xa3)+j[a1(0xd4)][a1(0x80)]('T')[0x0]);}}}catch(u){throw u;}});}['validateParams'](a,b,c){const a2=a0Q,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a2(0xb5)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts['length'])>0x0){if(g[a2(0xcd)]===0x0){if(a2(0xb4)===a2(0xd1))throw new b();else{Log[a2(0x9c)](a2(0x9f)+requiredOpts['join'](',\x20'));throw new UsageError();}}requiredOpts['forEach'](i=>{const a3=a2;if(!g[a3(0x74)](i)){if('yoWNL'===a3(0x8b)){Log[a3(0x9c)]('Missing\x20required\x20option:\x20'+i);throw new UsageError();}else{if(d[a3(0xcd)]<this[a3(0xe4)][a3(0xae)]){g[a3(0x9c)](a3(0xfe));throw new h();}}}});}validOpts=validOpts[a2(0xe9)](requiredOpts),(validOpts===null||validOpts===void 0x0?void 0x0:validOpts[a2(0xcd)])>0x0&&(validOpts[a2(0xd5)](a2(0x82)),g[a2(0x8a)](i=>{const a4=a2;if(!validOpts[a4(0x74)](i)){Log[a4(0x9c)]('Invalid\x20options:\x20'+i);throw new UsageError();}}));}[a0Q(0x90)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a5=a0d;if('nbdig'===a5(0xfd))try{a=a||[],b=b||{};try{if('fOWuR'!==a5(0xaf))yield this[a5(0x9b)](a,b);else try{i(j[a5(0x98)](k));}catch(d){m(d);}}catch(d){Log['error'](d),process[a5(0xba)](0x0);}yield this['invoke'](a,b);}catch(f){process['exit'](0x1);}else throw new b(a5(0x84));});}[a0Q(0xc5)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a6=a0d,{usage:usage='',description:description='',examples:examples=[]}=this[a6(0xe4)];this[a6(0xd0)](a,b,this[a6(0xe4)]);try{if(this[a6(0xe4)][a6(0xbe)]){const c=this['validateMakaProject']();if(!c){if('kiWOH'===a6(0xf6))throw new MustBeInProjectError();else{if(e['keys'](f)[a6(0xcd)]<this['options'][a6(0xa5)]){i['error'](a6(0x86));throw new j();}}}}if(this[a6(0xe4)][a6(0xc1)]){if(a6(0x78)===a6(0x78)){const f=this[a6(0xbf)]();if(!f){if('szyCe'!=='szyCe'){d['error'](a6(0xfc)+e);throw new f();}else throw new NoMeteorFoundError();}}else c[a6(0x9c)](a6(0x70)),d['exit'](0x1);}if(typeof this[a6(0xe4)][a6(0xae)]===a6(0x7b)){if(a[a6(0xcd)]<this['options'][a6(0xae)]){if(a6(0xf9)===a6(0xf9)){Log[a6(0x9c)]('Too\x20few\x20arguments');throw new UsageError();}else g[a6(0x9c)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),h[a6(0xe5)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22'),i['usage'](j,k,l);}}if(typeof this[a6(0xe4)][a6(0xe3)]==='number'){if(a[a6(0xcd)]>=this[a6(0xe4)][a6(0xe3)]){Log[a6(0x9c)](a6(0xb2));throw new UsageError();}}if(typeof this[a6(0xe4)][a6(0xa5)]===a6(0x7b)){if(a6(0xfb)==='PFzlU'){if(Object[a6(0xb5)](b)[a6(0xcd)]<this[a6(0xe4)]['minOptsLength']){Log[a6(0x9c)](a6(0x86));throw new UsageError();}}else f[a6(0xd5)](a6(0x82)),g[a6(0x8a)](q=>{const a7=a6;if(!k[a7(0x74)](q)){n[a7(0x9c)](a7(0xf7)+q);throw new o();}});}if(typeof this[a6(0xe4)][a6(0xf4)]===a6(0x7b)){if(a6(0xbb)===a6(0xbb)){if(Object[a6(0xb5)](b)[a6(0xcd)]>=this[a6(0xe4)]['maxOptsLength']){Log['error'](a6(0xcb));throw new UsageError();}}else this[a6(0x8f)]['length']>0x0&&g[a6(0x82)]&&(m[a6(0xe5)](a6(0x7a)),this[a6(0x83)](this[a6(0x8f)])),i[a6(0xca)](j,k,l);}if((a[0x0]===_prevCmd||a[a6(0xcd)]===0x0)&&b['help']){if(a6(0x77)!==a6(0xa8))throw new UsageError();else c[a6(0xe5)]('Trial\x20License\x20Expires:\x20'+d[a6(0xd4)][a6(0x80)]('T')[0x0]);}_prevCmd=a[0x0],yield this[a6(0xde)][a6(0xf2)](this,a,b);}catch(m){if('hlkld'!==a6(0xc8)){if(m instanceof UsageError)this[a6(0x8f)][a6(0xcd)]>0x0&&b[a6(0x82)]&&(Log[a6(0xe5)](a6(0x7a)),this[a6(0x83)](this[a6(0x8f)])),Log[a6(0xca)](description,examples,usage);else{if(m instanceof MustBeInProjectError){if(a6(0xf0)!==a6(0xad))Log[a6(0x9c)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command'),Log['usage'](description,examples,usage);else{const o=g?function(){if(o){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],o;}}else{if(m instanceof NoMeteorFoundError){if(a6(0xb8)!==a6(0xb9))Log[a6(0x9c)](a6(0x75)),Log[a6(0xe5)](a6(0x87)),Log[a6(0xca)](description,examples,usage);else{c['error'](a6(0xfe));throw new d();}}else{if(m instanceof NoMeteorAppFoundError){if(a6(0x97)!==a6(0x97))return this['_commands']['find'](q=>q['match'](c));else Log['error']('There\x20is\x20no\x20Meteor\x20application\x20here'),Log[a6(0xca)](description,examples,usage);}else throw m;}}}process[a6(0xba)](0x1);}else throw new b('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');}});}[a0Q(0x83)](a){const a8=a0Q,b=new a0L({});b['push']([a8(0x6d),a8(0x6e),a8(0x6a)]),a[a8(0xa4)]()[a8(0x8a)](c=>{const a9=a8;c[a9(0xe8)]!==a9(0xcc)&&c[a9(0xe8)]!==a9(0xf5)&&b[a9(0xd5)]([c[a9(0xe8)],c[a9(0xbc)](),c['description']()]);}),Log['bright'](b['toString']());}[a0Q(0xb0)](a){const aa=a0Q;return this[aa(0x8f)][aa(0xeb)](b=>b[aa(0xb6)](a));}[a0Q(0xe6)](a){const ab=a0Q;let b=a===null||a===void 0x0?void 0x0:a[ab(0x80)](':');if(b)return a=b[0x0],this[ab(0xb0)](a);else return;}[a0Q(0xc0)](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const ac=a0d;try{if(ac(0x93)===ac(0x93)){let d=a[ac(0x80)](':');a=d[0x0];let f=d[0x1];f&&b[ac(0xce)](0x0,0x0,f);let g=this[ac(0xb0)](a);if(g)yield g[ac(0x90)](b,c);else{if('QSitp'===ac(0x7d))try{i(j[ac(0xe0)](k));}catch(i){m(i);}else throw ac(0xd9);}}else{d['error']('Missing\x20required\x20options\x20'+e['join'](',\x20'));throw new f();}}catch(j){throw Log[ac(0x9c)](j);}});}[a0Q(0x9d)](){const ad=a0Q;return this[ad(0xe4)][ad(0x9d)]||'No\x20description\x20provided.';}['usage'](){return this['options']['usage']||'No\x20usage\x20provided.';}[a0Q(0xd8)](){const ae=a0Q;return this[ae(0xe4)][ae(0xd8)]||[];}['aliases'](){const af=a0Q;return this['options'][af(0xbc)]||af(0xc3);}}
@@ -1 +1 @@
1
- (function(a,b){var u=a1d,c=a();while(!![]){try{var d=parseInt(u(0xe2))/0x1*(-parseInt(u(0xdf))/0x2)+parseInt(u(0xe6))/0x3+-parseInt(u(0xe1))/0x4*(-parseInt(u(0xdb))/0x5)+parseInt(u(0xdc))/0x6*(parseInt(u(0xdd))/0x7)+-parseInt(u(0xd8))/0x8+parseInt(u(0xde))/0x9*(-parseInt(u(0xe0))/0xa)+parseInt(u(0xda))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x2aba0));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a1d;if(c){var e=c[v(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var w=a1d;return a1a['toString']()[w(0xe4)](w(0xd9))[w(0xe5)]()['constructor'](a1a)['search']('(((.+)+)+)+$');});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';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';function a1c(){var x=['196mukpXY','apply','search','toString','568104bGeLTi','1520344BPoLfk','(((.+)+)+)+$','2968735txfVAL','76090yBgCfB','126VGNuhD','2317aCFIPL','9rvLoyr','778StwmXE','2531790AMBHNn','60xJrBrj'];a1c=function(){return x;};return a1c();}import'./maka.cmd.js';import'./reconfig.js';import'./run.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xd8;var f=c[d];return f;},a1d(a,b);}import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';
1
+ (function(a,b){var u=a1d,c=a();while(!![]){try{var d=parseInt(u(0x178))/0x1*(-parseInt(u(0x174))/0x2)+-parseInt(u(0x171))/0x3+parseInt(u(0x176))/0x4+parseInt(u(0x17f))/0x5*(parseInt(u(0x173))/0x6)+parseInt(u(0x170))/0x7*(parseInt(u(0x17e))/0x8)+-parseInt(u(0x172))/0x9*(-parseInt(u(0x175))/0xa)+parseInt(u(0x179))/0xb*(parseInt(u(0x17a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x7c084));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a1d;if(c){var e=c[v(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var w=a1d;return a1a[w(0x177)]()[w(0x17b)](w(0x17c))['toString']()['constructor'](a1a)[w(0x17b)](w(0x17c));});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';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x170;var f=c[d];return f;},a1d(a,b);}import'./maka.cmd.js';import'./reconfig.js';import'./run.js';import'./ssh.js';import'./ssl.js';import'./test.js';function a1c(){var x=['search','(((.+)+)+)+$','apply','64QztaOw','15OLITlD','133504AwIwFR','2896599fvVweO','4752711wuHgQA','1199358nwiiZg','2ErBDpK','10kUTKjD','1443936kBqsgs','toString','825472qLWyOf','126929PAgKPD','684EBTuVS'];a1c=function(){return x;};return a1c();}import'./version.js';import'./murder.js';
@@ -1 +1 @@
1
- function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x134;var f=c[d];return f;},a2d(a,b);}(function(a,b){var u=a2d,c=a();while(!![]){try{var d=-parseInt(u(0x13a))/0x1*(parseInt(u(0x141))/0x2)+parseInt(u(0x142))/0x3*(-parseInt(u(0x13e))/0x4)+parseInt(u(0x13b))/0x5+-parseInt(u(0x13d))/0x6*(parseInt(u(0x138))/0x7)+-parseInt(u(0x139))/0x8+-parseInt(u(0x136))/0x9+parseInt(u(0x135))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x2ee87));var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0x13c)]()[w(0x137)]('(((.+)+)+)+$')[w(0x13c)]()[w(0x13f)](a2a)[w(0x137)](w(0x140));});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 a2c(){var x=['12544730dvGPAz','3107997giQLqJ','search','475223OpXwPH','263136SLCRbT','1HCRiYC','1536130kxJFHQ','toString','24WsWchG','8bfJhJm','constructor','(((.+)+)+)+$','747206lKFUoJ','519270sTQWTx','apply'];a2c=function(){return x;};return a2c();}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(0xda))/0x1*(-parseInt(u(0xe3))/0x2)+-parseInt(u(0xe6))/0x3+-parseInt(u(0xdd))/0x4*(parseInt(u(0xe5))/0x5)+-parseInt(u(0xe2))/0x6+-parseInt(u(0xdf))/0x7+-parseInt(u(0xe0))/0x8+parseInt(u(0xdc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xa8bcc));function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0xd9;var f=c[d];return f;},a2d(a,b);}var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0xdb)]()[w(0xd9)](w(0xe1))[w(0xdb)]()[w(0xe4)](a2a)['search'](w(0xe1));});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';import'./dks.sub.cmd.js';function a2c(){var x=['2075034mJlKsn','search','545807tBjykK','toString','55411839NXVLaQ','5274124rqENtf','apply','3956064tqrfFo','9100088OcMaTv','(((.+)+)+)+$','7242264EsSKPV','2vuINln','constructor','5dGOQvZ'];a2c=function(){return x;};return a2c();}import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';
@@ -1 +1 @@
1
- const a3z=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=parseInt(w(0xdb))/0x1+-parseInt(w(0xd5))/0x2+-parseInt(w(0xe8))/0x3*(-parseInt(w(0xca))/0x4)+parseInt(w(0xd6))/0x5*(parseInt(w(0xe6))/0x6)+parseInt(w(0xea))/0x7*(parseInt(w(0xc7))/0x8)+-parseInt(w(0xcc))/0x9+-parseInt(w(0xda))/0xa*(-parseInt(w(0xeb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xbeca4));const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a3d;if(c){if(x(0xcd)!=='posoE'){const e=c['apply'](b,arguments);return c=null,e;}else h['done']?i(j[x(0xd4)]):k(l[x(0xd4)])[x(0xe4)](m,n);}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const y=a3d;return a3a[y(0xcb)]()[y(0xe0)]('(((.+)+)+)+$')[y(0xcb)]()[y(0xdd)](a3a)[y(0xe0)](y(0xe1));});a3a();function a3c(){const G=['error','exit','search','(((.+)+)+)+$','next','YJmON','then','throw','1690314vpoezb','runSubCommand','15IOXPQZ','yZYnp','14QSWShF','3421nVzmPE','1829536SFBviX','deHuC','maka\x20aws\x20<command>','333968YQjnGU','toString','12584061dvxpQw','rnvnH','done','maka\x20aws:di','maka\x20aws:describe-instance','zLjnR','__awaiter','QMZjM','value','2520576Iebulz','5hOHbSw','findSubCommand','Ihaoy','aws','25040NzISKB','1504686VwNlVV','apply','constructor'];a3c=function(){return G;};return a3c();}var __awaiter=this&&this[a3z(0xd2)]||function(a,b,c,d){function e(f){const A=a3d;if(A(0xc8)==='deHuC')return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const E=a3d;function h(k){const B=a3d;try{if('OrBSh'===B(0xd1))try{let m=k[0x0],n=this[B(0xd7)](m);n&&this[B(0xe7)](m,n,o);}catch(o){r[B(0xde)](o),s[B(0xdf)](0x0);}else j(d[B(0xe2)](k));}catch(m){g(m);}}function i(k){const C=a3d;try{if('YJmON'===C(0xe3))j(d[C(0xe5)](k));else return f instanceof g?h:new i(function(m){m(k);});}catch(m){g(m);}}function j(k){const D=a3d;k[D(0xce)]?f(k[D(0xd4)]):e(k[D(0xd4)])['then'](h,i);}j((d=d[E(0xdc)](a,b||[]))[E(0xe2)]());});};function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0xc7;let f=c[d];return f;},a3d(a,b);}import{Command}from'../../command.js';const AWSCommand=Command['create']({'name':a3z(0xd9),'usage':a3z(0xc9),'minArgLength':0x1,'description':'Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','examples':[a3z(0xd0),a3z(0xcf)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a3d;try{if(F(0xe9)!==F(0xe9))try{i(j[F(0xe5)](k));}catch(d){m(d);}else{let d=a[0x0],f=this[F(0xd7)](d);if(f){if('Ihaoy'===F(0xd8))this[F(0xe7)](d,a,b);else return c['toString']()['search'](F(0xe1))[F(0xcb)]()['constructor'](d)[F(0xe0)](F(0xe1));}}}catch(h){if(F(0xd3)!=='QMZjM'){let k=d[0x0],l=this[F(0xd7)](k);l&&this['runSubCommand'](k,g,h);}else console['error'](h),process[F(0xdf)](0x0);}});});export default AWSCommand;
1
+ const a3z=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=parseInt(w(0xce))/0x1*(parseInt(w(0xe9))/0x2)+-parseInt(w(0xd7))/0x3+parseInt(w(0xdd))/0x4+-parseInt(w(0xd5))/0x5+-parseInt(w(0xd1))/0x6+-parseInt(w(0xda))/0x7+parseInt(w(0xd4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x584f2));function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0xcd;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(c){const e=c[x(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const y=a3d;return a3a['toString']()[y(0xd9)]('(((.+)+)+)+$')['toString']()[y(0xd3)](a3a)['search'](y(0xe8));});a3a();var __awaiter=this&&this[a3z(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 D=a3d;function h(k){const A=a3d;if(A(0xe5)!=='Fvudm')try{i(j[A(0xe7)](k));}catch(m){m(m);}else try{j(d[A(0xe7)](k));}catch(m){g(m);}}function i(k){const B=a3d;try{j(d[B(0xdb)](k));}catch(l){B(0xe2)==='tLHVL'?g(l):c(d);}}function j(k){const C=a3d;C(0xe0)==='QvZuo'?k[C(0xdf)]?f(k['value']):e(k[C(0xd0)])['then'](h,i):c(d);}j((d=d['apply'](a,b||[]))[D(0xe7)]());});};import{Command}from'../../command.js';const AWSCommand=Command[a3z(0xcf)]({'name':'aws','usage':a3z(0xcd),'minArgLength':0x1,'description':a3z(0xd2),'examples':['maka\x20aws:describe-instance',a3z(0xe4)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a3d;try{let c=a[0x0],d=this[E(0xe6)](c);if(d){if(E(0xe1)===E(0xdc)){let g=d[0x0],h=this[E(0xe6)](g);h&&this[E(0xd6)](g,g,h);}else this[E(0xd6)](c,a,b);}}catch(g){console[E(0xd8)](g),process['exit'](0x0);}});});export default AWSCommand;function a3c(){const F=['4877733VvZggR','throw','GLRAP','2501456uyHaxb','__awaiter','done','QvZuo','PoHMZ','tLHVL','apply','maka\x20aws:di','Fvudm','findSubCommand','next','(((.+)+)+)+$','2BcRjBQ','maka\x20aws\x20<command>','406535hekhvc','create','value','139440MObpOe','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','constructor','4123344rHZycA','602980bvOVJm','runSubCommand','1034844rIzjFq','error','search'];a3c=function(){return F;};return a3c();}
@@ -1 +1 @@
1
- const a4ak=a4d;(function(a,b){const ah=a4d,c=a();while(!![]){try{const d=-parseInt(ah(0x212))/0x1*(-parseInt(ah(0x1c2))/0x2)+-parseInt(ah(0x1b8))/0x3+parseInt(ah(0x230))/0x4+parseInt(ah(0x1f2))/0x5*(-parseInt(ah(0x220))/0x6)+-parseInt(ah(0x1f8))/0x7+-parseInt(ah(0x237))/0x8*(-parseInt(ah(0x1d5))/0x9)+parseInt(ah(0x221))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x5b77d));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const ai=a4d;if(c){const e=c[ai(0x233)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const aj=a4d;return a4a[aj(0x1cd)]()[aj(0x1de)](aj(0x1e3))[aj(0x1cd)]()[aj(0x1d9)](a4a)[aj(0x1de)]('(((.+)+)+)+$');});function a4c(){const aD=['Desc','value','getConfigFromShorthand','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','Open\x20port\x20443\x20for\x20SSL?','431QAIvWC','join','__awaiter','date','env','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','lYLuM','rQxRw','ihrBz','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','\x20:\x20','ec2createSG','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','KZxOw','545004orNRBW','5285670kUVYOa','\x20AMIID:\x20','HYwjB','Setting\x20SG\x20ID\x20to:\x20','kkaiJ','qxwEi','\x20SUBNETID:\x20','\x20AZONE:\x20','QPotn','amiId','notice','chooseVPC','vrVZq','alias','log','1853016YoBssC','Security\x20Group:\x20','create-instance','apply','create','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','jyKRF','8ofrDOP','ask','Setting\x20the\x20key-pair\x20to:\x20','What\x20instance\x20type\x20would\x20you\x20like?\x20[t2.nano]','UXRlL','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','\x20SG\x20NAME:\x20','\x22Web\x20App\x22','SXagA','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','oQFYU','**\x20Available\x20Security\x20Groups\x20**','fsi','evlGY','1273473UHvcqt','\x20DESCRIPTION:\x20','ZQbnR','wOpoD','mUpLF','dXgak','gzvuP','mWQkw','success','\x20SGID:\x20','2246vrAdsT','getProjectConfig','**\x20Available\x20AMIs\x20**','help','VvFCl','confirm','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','build\x20on\x20','push','ec2create','Please\x20choose\x20a\x20key\x20to\x20use:\x20','toString','done','**\x20Available\x20key-pairs\x20**','qHWhF','Setting\x20Subnet\x20ID\x20to\x20','No\x20instance\x20has\x20been\x20created.','error','getTime','1817766PkqrKo','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','BGJVh','constructor','next','ID:\x20','number','egrTQ','search','cider','rzFmz','parse','forEach','(((.+)+)+)+$','EC2\x20Name:\x20[','Setting\x20AMI\x20ID\x20to\x20','subnetId','Batco','sGXCq','string','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','desc','sgId','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','exit','bPQTB','\x20CIDR:\x20','throw','30wSsMSW','ec2describeKeys','hAgWc','},\x20{Key=Name,Value=','split','cidr','2335620QJmxqA','1:1','Instance\x20Count:\x20','Instace\x20Type:\x20','Pobic','name','}]\x22','geWcX','**\x20Available\x20Subnets\x20**','bright','nGgAT','Key-Pair:\x20','ImageID:','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','subnet','sort','bhywa','swtjJ','qlXEu','FvteB'];a4c=function(){return aD;};return a4c();}a4a();var __awaiter=this&&this[a4ak(0x214)]||function(a,b,c,d){function e(f){const al=a4d;if('dXgak'===al(0x1bd))return f instanceof c?f:new c(function(g){g(f);});else h(i)===j['id']&&(o=p[al(0x1fd)],q['success'](al(0x239)+r));}return new(c||(c=Promise))(function(f,g){const ap=a4d;function h(k){const am=a4d;if(am(0x1ba)!==am(0x218))try{j(d[am(0x1da)](k));}catch(l){g(l);}else c[am(0x1d3)](d);}function i(k){const an=a4d;if(an(0x21f)!==an(0x21f))e=f[an(0x1fd)],g[an(0x1c0)](an(0x239)+h);else try{j(d[an(0x1f1)](k));}catch(m){g(m);}}function j(k){const ao=a4d;ao(0x1dd)!==ao(0x1dd)?(e=f[ao(0x1ec)],g[ao(0x1c0)](ao(0x224)+h+'\x0a')):k[ao(0x1ce)]?f(k[ao(0x20d)]):e(k['value'])['then'](h,i);}j((d=d[ap(0x233)](a,b||[]))[ap(0x1da)]());});};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';function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a4d(a,b);}Command[a4ak(0x234)]({'name':a4ak(0x232),'aliases':['ci'],'usage':'maka\x20aws:create-instance','description':'','mustBeInMakaProject':!![],'requiredOpts':[a4ak(0x216)],'validOpts':[a4ak(0x1c5)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const aq=a4d;if(aq(0x226)===aq(0x1bb))h['id']===i(j)&&(o=p[aq(0x1ec)],q[aq(0x1c0)](aq(0x224)+r+'\x0a'));else try{if(aq(0x225)!==aq(0x225))c[aq(0x1c0)](aq(0x1c8)),d[aq(0x201)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file');else{const f=this['fsi'][aq(0x1c3)](),g=new AWS(),{appName:h}=f,i=this[aq(0x243)][aq(0x20e)](b[aq(0x216)]);let j=h+'-'+i,k=(yield Actions[aq(0x238)](aq(0x1e4)+j+']\x20'))||j,l='',m='',n='',o='',p='',q='',r='';const s=yield Actions[aq(0x1c7)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?');let t='';s&&(t=yield g['createKeyPair']({'env':i}));try{Log[aq(0x22b)](aq(0x1cf));let x=t?t:k,y=g[aq(0x1f3)]({'suggestion':x}),z=(yield Actions['ask'](aq(0x1cc)))||'-1';if(parseInt(z)<0x0){Log[aq(0x1d3)](aq(0x205)),Log['notice'](aq(0x1d2));return;}y===null||y===void 0x0?void 0x0:y[aq(0x1e2)](function(A){const ar=aq;if('ncsiM'===ar(0x1d8))c(d);else{if(parseInt(z)===A['id']){if(ar(0x202)!==ar(0x1bf))l=A[ar(0x1fd)],Log[ar(0x1c0)](ar(0x239)+l);else return new e(f['date'])[ar(0x1d4)]()-new g(h['date'])['getTime']();}}});}catch(A){Log['error'](A);}m=yield g[aq(0x22c)]();let u=yield Actions[aq(0x1c7)](aq(0x1ea)),v;if(u){if(aq(0x1e8)!==aq(0x1e8)){const C=d['apply'](e,arguments);return f=null,C;}else{let C=m===''?g[aq(0x22c)]():m,D=yield Actions[aq(0x1c7)](aq(0x211));v=(yield Actions['ask']('Security\x20Group\x20Name:\x20['+k+']'))||k,g[aq(0x21d)]({'description':aq(0x23e),'name':v,'vpcId':C,'ssl':D});}}v=k;try{if(aq(0x1e7)==='jZvzy')c['error'](d);else{Log[aq(0x22b)](aq(0x242));let F=execSync(aq(0x210))[aq(0x1cd)](),G=JSON[aq(0x1e1)](F),H=[];G[aq(0x1e2)](function(J,K){const as=aq;if(as(0x20b)!==as(0x1ff))H[as(0x1ca)]({'id':K,'name':J['Name'],'sgId':J['ID']});else throw b[as(0x1d3)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}),H['forEach'](function(J){const at=aq;at(0x244)!==at(0x208)?J[at(0x1fd)]===v?Log[at(0x22b)](at(0x1db)+J['id']+at(0x23d)+J[at(0x1fd)]+at(0x1c1)+J[at(0x1ec)]):console[at(0x22f)]('ID:\x20'+J['id']+at(0x23d)+J[at(0x1fd)]+at(0x1c1)+J['sgId']):(d[at(0x1d3)](e),f[at(0x1ee)](0x0));});let I=(yield Actions[aq(0x238)](aq(0x235)))||'0';H['forEach'](function(J){const au=aq;au(0x23f)!==au(0x22d)?J['id']===parseInt(I)&&(n=J['sgId'],Log['success'](au(0x224)+n+'\x0a')):(f=g['amiId'],h[au(0x1c0)](au(0x1e5)+i+au(0x21c)+j[au(0x1eb)]));});if(n===''){if('Tzoof'===aq(0x229))throw b[aq(0x1d3)](aq(0x21b));else throw Log[aq(0x1d3)](aq(0x21b));}}}catch(K){aq(0x1ef)===aq(0x21a)?h['id']===i(j)&&(o=p[aq(0x1e6)],q[aq(0x1c0)](aq(0x1d1)+r)):Log['error'](K);}try{if(aq(0x1c6)!==aq(0x241)){let M=0x7e6;Log[aq(0x22b)](aq(0x1c4));let N=execSync('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=*'+M+'*\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')['toString'](),O=JSON[aq(0x1e1)](N),P=[],Q=[];O['forEach'](function(S,T){const av=aq;if(S['alias']===null){if(av(0x20a)!==av(0x20a))try{i(j['throw'](k));}catch(V){m(V);}else{let V=S[av(0x20c)]['split'](av(0x1c9))[0x1];P['push']({'amiId':S['ID'],'desc':S[av(0x20c)],'date':V});}}}),P[aq(0x207)](function(S,T){const aw=aq;if(aw(0x1e0)===aw(0x1e0))return new Date(T[aw(0x215)])[aw(0x1d4)]()-new Date(S['date'])[aw(0x1d4)]();else f[aw(0x1ca)]({'id':g,'cidr':h[aw(0x1df)],'az':i['az'],'subnetId':j[aw(0x1e6)]});}),P[aq(0x1e2)](function(S,T){const ax=aq;if(ax(0x219)===ax(0x1fc)){c[ax(0x1d3)](ax(0x205)),d[ax(0x22b)](ax(0x1d2));return;}else Q[ax(0x1ca)]({'id':T,'amiId':S['amiId'],'desc':S[ax(0x1eb)]});}),Q[aq(0x1e2)](function(S){const ay=aq;console['log'](ay(0x1db)+S['id']+ay(0x222)+S['amiId']+ay(0x1b9)+S['desc']);});let R=(yield Actions['ask'](aq(0x20f)))||'0';Q[aq(0x1e2)](function(S){const az=aq;az(0x1bc)!=='kUomm'?S['id']===parseInt(R)&&(o=S[az(0x22a)],Log[az(0x1c0)]('Setting\x20AMI\x20ID\x20to\x20'+o+az(0x21c)+S[az(0x1eb)])):e[az(0x22f)](az(0x1db)+f['id']+'\x20SG\x20NAME:\x20'+g[az(0x1fd)]+'\x20SGID:\x20'+h['sgId']);});if(o==='')throw Log[aq(0x1d3)](aq(0x21b));}else f[aq(0x22f)](aq(0x1db)+g['id']+aq(0x1f0)+h[aq(0x1f7)]+aq(0x228)+i['az']+aq(0x227)+j[aq(0x1e6)]);}catch(T){Log[aq(0x1d3)](T);}try{Log['notice'](aq(0x200));let U=execSync(aq(0x23c))[aq(0x1cd)](),V=JSON[aq(0x1e1)](U),W=[];V[aq(0x1e2)](function(Y,Z){const aA=aq;'hweho'==='hweho'?W[aA(0x1ca)]({'id':Z,'cidr':Y[aA(0x1df)],'az':Y['az'],'subnetId':Y[aA(0x1e6)]}):b[aA(0x22b)](aA(0x240));}),W['forEach'](function(Y){const aB=aq;console[aB(0x22f)](aB(0x1db)+Y['id']+'\x20CIDR:\x20'+Y[aB(0x1f7)]+'\x20AZONE:\x20'+Y['az']+aB(0x227)+Y[aB(0x1e6)]);});let X=(yield Actions[aq(0x238)](aq(0x21e)))||'0';W['forEach'](function(Y){const aC=aq;Y['id']===parseInt(X)&&(q=Y[aC(0x1e6)],Log['success'](aC(0x1d1)+q));});if(q==='')throw Log['error'](aq(0x21b));}catch(Y){Log[aq(0x1d3)](Y);}let w=aq(0x1f9);try{let Z=(yield Actions[aq(0x238)]('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20'))||aq(0x1f9),a0=Z[aq(0x1f6)](':')[0x0],a1=Z['split'](':')[0x1];typeof parseInt(a0)==='number'&&typeof parseInt(a1)===aq(0x1dc)&&(w=[a0,a1][aq(0x213)](':'),Log[aq(0x1c0)]('Setting\x20the\x20number\x20of\x20instances\x20to:\x20'+w));}catch(a2){if(aq(0x1be)!=='gzvuP'){let a4=a2[aq(0x20c)][aq(0x1f6)]('build\x20on\x20')[0x1];f[aq(0x1ca)]({'amiId':g['ID'],'desc':h[aq(0x20c)],'date':a4});}else Log[aq(0x1d3)](a2);}try{let a4=(yield Actions[aq(0x238)](aq(0x23a)))||'t2.nano';if(typeof a4===aq(0x1e9)){if(aq(0x1d0)!=='qHWhF')throw b['error'](aq(0x21b));else p=a4;}}catch(a6){'TGiWm'==='TGiWm'?Log[aq(0x1d3)](a6):a6[aq(0x1ca)]({'id':f,'amiId':g['amiId'],'desc':h[aq(0x1eb)]});}try{if('swtjJ'===aq(0x209)){let a8=JSON[aq(0x1e1)](execSync('aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values='+q+aq(0x1d7))[aq(0x1cd)]())[0x0][aq(0x206)];Log[aq(0x22b)](aq(0x204)+o),Log[aq(0x22b)](aq(0x1fa)+w),Log[aq(0x22b)](aq(0x1fb)+p),Log['notice'](aq(0x203)+l),Log[aq(0x22b)](aq(0x231)+n),Log[aq(0x22b)]('Subnet:\x20'+a8);let a9=yield Actions[aq(0x1c7)](aq(0x1ed));if(a9){let aa=g['ec2create']({'imageId':o,'count':w,'type':p,'key':l,'sgIds':n,'subnet':q,'tags':aq(0x1d6)+i+aq(0x1f5)+k+aq(0x1fe)});if(aa){if('UXRlL'!==aq(0x23b)){let ac=l[aq(0x1cb)]({'imageId':m,'count':n,'type':o,'key':p,'sgIds':q,'subnet':r,'tags':aq(0x1d6)+s+'},\x20{Key=Name,Value='+t+aq(0x1fe)});ac&&(w['success']('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),x[aq(0x201)](aq(0x217)));}else Log['success'](aq(0x1c8)),Log[aq(0x201)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file');}}else{if(aq(0x1f4)!==aq(0x223))Log[aq(0x22b)](aq(0x240));else{const ad=g?function(){if(ad){const ae=q['apply'](r,arguments);return s=null,ae;}}:function(){};return l=![],ad;}}}else{if(f[aq(0x22e)]===null){let ae=k[aq(0x20c)][aq(0x1f6)](aq(0x1c9))[0x1];l[aq(0x1ca)]({'amiId':m['ID'],'desc':n[aq(0x20c)],'date':ae});}}}catch(ae){console[aq(0x22f)](ae),Log[aq(0x1d3)](ae);}}}catch(af){'jyKRF'===aq(0x236)?(console[aq(0x1d3)](af),process[aq(0x1ee)](0x0)):c(d);}});},a4C);
1
+ const a4al=a4d;function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1af;let f=c[d];return f;},a4d(a,b);}(function(a,b){const ah=a4d,c=a();while(!![]){try{const d=parseInt(ah(0x1f7))/0x1*(parseInt(ah(0x204))/0x2)+-parseInt(ah(0x1dd))/0x3*(parseInt(ah(0x1ca))/0x4)+-parseInt(ah(0x21a))/0x5+parseInt(ah(0x1dc))/0x6*(parseInt(ah(0x20b))/0x7)+parseInt(ah(0x1c4))/0x8+parseInt(ah(0x1ed))/0x9+-parseInt(ah(0x1c9))/0xa*(parseInt(ah(0x1ba))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x1d4f2));const a4b=(function(){let a=!![];return function(b,c){const ai=a4d;if('BdwgO'!==ai(0x21c)){const d=a?function(){const aj=ai;if(c){const e=c[aj(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else{if(e){const f=i[ai(0x1cb)](j,arguments);return k=null,f;}}};}()),a4a=a4b(this,function(){const ak=a4d;return a4a['toString']()[ak(0x1bd)](ak(0x1e1))['toString']()[ak(0x210)](a4a)[ak(0x1bd)]('(((.+)+)+)+$');});a4a();var __awaiter=this&&this[a4al(0x200)]||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(0x1b3)](k));}catch(l){g(l);}}function i(k){const an=a4d;try{j(d[an(0x1c0)](k));}catch(l){g(l);}}function j(k){const ao=a4d;k['done']?f(k[ao(0x208)]):e(k[ao(0x208)])[ao(0x217)](h,i);}j((d=d[ap(0x1cb)](a,b||[]))[ap(0x1b3)]());});};import a4C from'./aws.command.js';function a4c(){const aD=['\x20SUBNETID:\x20','Subnet:\x20','ec2createSG','number','fsi','**\x20Available\x20Security\x20Groups\x20**','GANGw','*\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','t2.nano','notice','Setting\x20the\x20key-pair\x20to:\x20','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','iKmxD','7008JLZjQq','642thlKYq','split','**\x20Available\x20AMIs\x20**','\x20SGID:\x20','(((.+)+)+)+$','error','**\x20Available\x20Subnets\x20**','\x20CIDR:\x20','env','log','QKSJl','Open\x20port\x20443\x20for\x20SSL?','subnet','guCFU','\x20AZONE:\x20','1:1','1065285IGqbue','parse','euFTZ','LkUUO','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','toString','Setting\x20Subnet\x20ID\x20to\x20','getConfigFromShorthand','success','build\x20on\x20','9796zGAdzV','\x20SG\x20NAME:\x20','cQmXg','pjTst','subnetId','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','cunTH','createKeyPair','PBJom','__awaiter','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','date','ywMht','28IHPPGI','Instace\x20Type:\x20','fdpPq','No\x20instance\x20has\x20been\x20created.','value','Security\x20Group\x20Name:\x20[','desc','1435YmOyap','forEach','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','chooseVPC','join','constructor','hzcmm','push','name','Desc','confirm','EC2\x20Name:\x20[','then','PcySY','sgId','150655CHNkRG','alias','XQKcP','beoym','DHsLx','ec2describeKeys','sort','ask','\x20:\x20','JGuxe','xzCFf','ImageID:','NzpEK','cidr','\x22Web\x20App\x22','next','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','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','Setting\x20AMI\x20ID\x20to\x20','exit','}]\x22','242UnXLab','getTime','azpXT','search','amiId','QhnYE','throw','Setting\x20SG\x20ID\x20to:\x20','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','402160blNjKb','Instance\x20Count:\x20','create-instance','Please\x20choose\x20a\x20key\x20to\x20use:\x20','ID:\x20','177520EvOZvL','84mWmOnO','apply'];a4c=function(){return aD;};return a4c();}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':a4al(0x1c6),'aliases':['ci'],'usage':'maka\x20aws:create-instance','description':'','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const aq=a4d;try{if(aq(0x1ef)===aq(0x1ef)){const c=this[aq(0x1d0)]['getProjectConfig'](),d=new AWS(),{appName:f}=c,g=this[aq(0x1d0)][aq(0x1f4)](b[aq(0x1e5)]);let h=f+'-'+g,i=(yield Actions[aq(0x221)](aq(0x216)+h+']\x20'))||h,j='',k='',l='',m='',n='',o='',p='';const q=yield Actions[aq(0x215)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?');let r='';q&&(r=yield d[aq(0x1fe)]({'env':g}));try{Log[aq(0x1d6)]('**\x20Available\x20key-pairs\x20**');let v=r?r:i,w=d[aq(0x21f)]({'suggestion':v}),x=(yield Actions['ask'](aq(0x1c7)))||'-1';if(parseInt(x)<0x0){if(aq(0x1f0)===aq(0x1d2))c(d);else{Log[aq(0x1e2)](aq(0x1b6)),Log['notice'](aq(0x207));return;}}w===null||w===void 0x0?void 0x0:w[aq(0x20c)](function(z){const ar=aq;if(parseInt(x)===z['id']){if(ar(0x1bf)!==ar(0x1bf))return new e(f[ar(0x202)])[ar(0x1bb)]()-new g(h['date'])[ar(0x1bb)]();else j=z[ar(0x213)],Log[ar(0x1f5)]('Setting\x20the\x20key-pair\x20to:\x20'+j);}});}catch(z){'iKmxD'===aq(0x1db)?Log[aq(0x1e2)](z):c['error'](d);}k=yield d[aq(0x20e)]();let s=yield Actions['confirm'](aq(0x1b4)),t;if(s){if(aq(0x224)==='xzCFf'){let B=k===''?d[aq(0x20e)]():k,C=yield Actions[aq(0x215)](aq(0x1e8));t=(yield Actions[aq(0x221)](aq(0x209)+i+']'))||i,d[aq(0x1ce)]({'description':aq(0x1b2),'name':t,'vpcId':B,'ssl':C});}else f['log']('ID:\x20'+g['id']+aq(0x1e4)+h['cidr']+aq(0x1eb)+i['az']+aq(0x1cc)+j[aq(0x1fb)]);}t=i;try{if(aq(0x1f9)===aq(0x1fa))c[aq(0x1e2)](d);else{Log[aq(0x1d6)](aq(0x1d1));let F=execSync('aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22')['toString'](),G=JSON[aq(0x1ee)](F),H=[];G['forEach'](function(J,K){const as=aq;H[as(0x212)]({'id':K,'name':J[as(0x1d4)],'sgId':J['ID']});}),H[aq(0x20c)](function(J){const at=aq;J[at(0x213)]===t?Log['notice']('ID:\x20'+J['id']+at(0x1f8)+J['name']+at(0x1e0)+J[at(0x219)]):'eGtsl'!==at(0x206)?console[at(0x1e6)](at(0x1c8)+J['id']+at(0x1f8)+J['name']+at(0x1e0)+J[at(0x219)]):c[at(0x1e2)](d);});let I=(yield Actions[aq(0x221)](aq(0x20d)))||'0';H['forEach'](function(J){const au=aq;J['id']===parseInt(I)&&(l=J['sgId'],Log[au(0x1f5)]('Setting\x20SG\x20ID\x20to:\x20'+l+'\x0a'));});if(l==='')throw Log[aq(0x1e2)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}}catch(J){aq(0x1fd)!==aq(0x1fd)?h['id']===i(j)&&(o=p[aq(0x219)],q['success'](aq(0x1c1)+r+'\x0a')):Log[aq(0x1e2)](J);}try{if(aq(0x1e7)!=='SwRWI'){let L=0x7e6;Log[aq(0x1d6)](aq(0x1df));let M=execSync('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=*'+L+aq(0x1d3))[aq(0x1f2)](),N=JSON['parse'](M),O=[],P=[];N[aq(0x20c)](function(R,S){const av=aq;if(R[av(0x21b)]===null){let T=R[av(0x214)][av(0x1de)](av(0x1f6))[0x1];O[av(0x212)]({'amiId':R['ID'],'desc':R[av(0x214)],'date':T});}}),O[aq(0x220)](function(R,S){const aw=aq;return new Date(S[aw(0x202)])[aw(0x1bb)]()-new Date(R[aw(0x202)])['getTime']();}),O[aq(0x20c)](function(R,S){const ax=aq;P[ax(0x212)]({'id':S,'amiId':R[ax(0x1be)],'desc':R[ax(0x20a)]});}),P['forEach'](function(R){const ay=aq;console[ay(0x1e6)](ay(0x1c8)+R['id']+'\x20AMIID:\x20'+R[ay(0x1be)]+'\x20DESCRIPTION:\x20'+R[ay(0x20a)]);});let Q=(yield Actions['ask']('Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20'))||'0';P['forEach'](function(R){const az=aq;az(0x218)!==az(0x218)?b[az(0x1d6)](az(0x1d9)):R['id']===parseInt(Q)&&(m=R[az(0x1be)],Log[az(0x1f5)](az(0x1b7)+m+az(0x222)+R[az(0x20a)]));});if(m===''){if(aq(0x1bc)!==aq(0x1bc))throw b[aq(0x1e2)](aq(0x1c2));else throw Log[aq(0x1e2)](aq(0x1c2));}}else h(i)===j['id']&&(o=p[aq(0x213)],q[aq(0x1f5)](aq(0x1d7)+r));}catch(T){Log['error'](T);}try{Log[aq(0x1d6)](aq(0x1e3));let U=execSync(aq(0x1da))[aq(0x1f2)](),V=JSON[aq(0x1ee)](U),W=[];V[aq(0x20c)](function(Y,Z){const aA=aq;W[aA(0x212)]({'id':Z,'cidr':Y['cider'],'az':Y['az'],'subnetId':Y[aA(0x1fb)]});}),W[aq(0x20c)](function(Y){const aB=aq;console[aB(0x1e6)]('ID:\x20'+Y['id']+aB(0x1e4)+Y[aB(0x1b1)]+aB(0x1eb)+Y['az']+'\x20SUBNETID:\x20'+Y['subnetId']);});let X=(yield Actions['ask'](aq(0x1fc)))||'0';W[aq(0x20c)](function(Y){const aC=aq;if('hzcmm'===aC(0x211))Y['id']===parseInt(X)&&(o=Y['subnetId'],Log[aC(0x1f5)](aC(0x1f3)+o));else throw b[aC(0x1e2)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');});if(o===''){if('ilMVO'!==aq(0x21e))throw Log['error'](aq(0x1c2));else d(e[aq(0x1c0)](f));}}catch(Z){Log['error'](Z);}let u=aq(0x1ec);try{let a0=(yield Actions['ask']('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20'))||aq(0x1ec),a1=a0[aq(0x1de)](':')[0x0],a2=a0['split'](':')[0x1];typeof parseInt(a1)===aq(0x1cf)&&typeof parseInt(a2)===aq(0x1cf)&&(u=[a1,a2][aq(0x20f)](':'),Log['success'](aq(0x201)+u));}catch(a3){Log[aq(0x1e2)](a3);}try{if('NzpEK'===aq(0x1b0)){let a4=(yield Actions[aq(0x221)]('What\x20instance\x20type\x20would\x20you\x20like?\x20[t2.nano]'))||aq(0x1d5);typeof a4==='string'&&(n=a4);}else c=d;}catch(a6){Log[aq(0x1e2)](a6);}try{let a7=JSON[aq(0x1ee)](execSync(aq(0x1d8)+o+'\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22')[aq(0x1f2)]())[0x0][aq(0x1e9)];Log[aq(0x1d6)](aq(0x1af)+m),Log['notice'](aq(0x1c5)+u),Log[aq(0x1d6)](aq(0x205)+n),Log[aq(0x1d6)]('Key-Pair:\x20'+j),Log[aq(0x1d6)]('Security\x20Group:\x20'+l),Log[aq(0x1d6)](aq(0x1cd)+a7);let a8=yield Actions['confirm'](aq(0x1f1));if(a8){if(aq(0x1ff)===aq(0x1ff)){let a9=d['ec2create']({'imageId':m,'count':u,'type':n,'key':j,'sgIds':l,'subnet':o,'tags':aq(0x1b5)+g+'},\x20{Key=Name,Value='+i+aq(0x1b9)});a9&&(aq(0x223)!==aq(0x21d)?(Log[aq(0x1f5)](aq(0x1c3)),Log['bright']('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file')):c['error'](d));}else e[aq(0x212)]({'id':f,'amiId':g[aq(0x1be)],'desc':h[aq(0x20a)]});}else Log['notice'](aq(0x1d9));}catch(ac){if(aq(0x203)!==aq(0x203)){c[aq(0x1e2)]('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'),d[aq(0x1d6)](aq(0x207));return;}else console['log'](ac),Log[aq(0x1e2)](ac);}}else h['id']===i(j)&&(o=p['subnetId'],q[aq(0x1f5)](aq(0x1f3)+r));}catch(af){aq(0x1ea)!=='OluZM'?(console[aq(0x1e2)](af),process[aq(0x1b8)](0x0)):(af[aq(0x1e6)](f),g['error'](h));}});},a4C);
@@ -1 +1 @@
1
- const a5D=a5d;function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xf1;let f=c[d];return f;},a5d(a,b);}(function(a,b){const A=a5d,c=a();while(!![]){try{const d=-parseInt(A(0xfb))/0x1*(parseInt(A(0x113))/0x2)+-parseInt(A(0x104))/0x3*(parseInt(A(0x109))/0x4)+-parseInt(A(0x10f))/0x5*(parseInt(A(0x112))/0x6)+parseInt(A(0x114))/0x7+-parseInt(A(0x103))/0x8*(parseInt(A(0xfe))/0x9)+parseInt(A(0x101))/0xa+parseInt(A(0xf8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xed477));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a5d;if('weGgt'!==B(0xf1)){const f=d[B(0x102)](e,arguments);return f=null,f;}else{if(c){const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const C=a5d;return a5a[C(0xfc)]()[C(0x100)](C(0x107))[C(0xfc)]()[C(0x105)](a5a)[C(0x100)](C(0x107));});a5a();var __awaiter=this&&this[a5D(0xff)]||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 I=a5d;function h(k){const E=a5d;if(E(0x108)===E(0x108))try{j(d[E(0xf4)](k));}catch(l){if('aPRYI'===E(0x10b))g(l);else return c[E(0xfc)]()[E(0x100)](E(0x107))[E(0xfc)]()['constructor'](d)[E(0x100)](E(0x107));}else return f(this,void 0x0,void 0x0,function*(){const F=E;try{const x=new o(),y=this[F(0xfd)][F(0xf2)](p[F(0x10d)]);x[F(0x10c)]({'env':y});}catch(z){s[F(0x10a)](z),t[F(0xfa)](0x0);}});}function i(k){const G=a5d;try{j(d[G(0xf9)](k));}catch(l){g(l);}}function j(k){const H=a5d;'tYtIA'!==H(0x111)?d(e[H(0xf4)](f)):k[H(0xf5)]?f(k[H(0x10e)]):e(k[H(0x10e)])['then'](h,i);}j((d=d[I(0x102)](a,b||[]))[I(0xf4)]());});};function a5c(){const K=['next','done','XLNnD','maka\x20aws\x20create-key-pair','29006769opYjeJ','throw','exit','1jzTdTM','toString','fsi','1637973dWxyox','__awaiter','search','18286560ttrUXy','apply','16pfvKWQ','81bnxUER','constructor','help','(((.+)+)+)+$','QUCwv','188292tYgNCz','error','aPRYI','createKeyPair','env','value','338610xWPAWm','create','tYtIA','84nslIsJ','3148118AyvAeh','4643744XktHCI','weGgt','getConfigFromShorthand','cRiBy'];a5c=function(){return K;};return a5c();}import a5x from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a5D(0x110)]({'name':'create-key-pair','aliases':['ckp'],'usage':a5D(0xf7),'mustBeInMakaProject':!![],'requiredOpts':[a5D(0x10d)],'validOpts':[a5D(0x106)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a5d;if('XLNnD'!==J(0xf6))d[J(0x10a)](e),f[J(0xfa)](0x0);else try{const d=new AWS(),f=this[J(0xfd)][J(0xf2)](b['env']);d[J(0x10c)]({'env':f});}catch(g){'cRiBy'!==J(0xf3)?c(d):(console[J(0x10a)](g),process[J(0xfa)](0x0));}});},a5x);
1
+ const a5D=a5d;(function(a,b){const A=a5d,c=a();while(!![]){try{const d=parseInt(A(0x1ca))/0x1+parseInt(A(0x1ac))/0x2+-parseInt(A(0x1aa))/0x3+parseInt(A(0x1b4))/0x4*(parseInt(A(0x1c7))/0x5)+-parseInt(A(0x1bc))/0x6+parseInt(A(0x1b5))/0x7+-parseInt(A(0x1ab))/0x8*(parseInt(A(0x1cd))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xa40ea));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a5d;if(c){if(B(0x1cb)!==B(0x1c3)){const e=c[B(0x1bb)](b,arguments);return c=null,e;}else c(d);}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const C=a5d;return a5a['toString']()[C(0x1c6)](C(0x1c8))[C(0x1c1)]()[C(0x1be)](a5a)[C(0x1c6)]('(((.+)+)+)+$');});a5a();function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a5d(a,b);}var __awaiter=this&&this[a5D(0x1b3)]||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 H=a5d;function h(k){const E=a5d;try{j(d[E(0x1c0)](k));}catch(l){g(l);}}function i(k){const F=a5d;if(F(0x1a9)===F(0x1ad)){const m=d['apply'](e,arguments);return f=null,m;}else try{j(d[F(0x1c9)](k));}catch(m){g(m);}}function j(k){const G=a5d;k[G(0x1b1)]?f(k[G(0x1ae)]):e(k[G(0x1ae)])[G(0x1b9)](h,i);}j((d=d['apply'](a,b||[]))[H(0x1c0)]());});};function a5c(){const K=['create','constructor','fsi','next','toString','maka\x20aws\x20create-key-pair','aiwOI','help','getConfigFromShorthand','search','192175BkRmhM','(((.+)+)+)+$','throw','351756wzQzky','gmIYt','exit','2739861ULHVEu','qxjDI','792090eVIyVO','16JnzIEd','2313304psRDht','KIFLe','value','bpdpf','lsuNo','done','error','__awaiter','56cmtGZN','5361132CpjVHc','createKeyPair','wvhDM','env','then','create-key-pair','apply','7605048TGhtHX'];a5c=function(){return K;};return a5c();}import a5x from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a5D(0x1bd)]({'name':a5D(0x1ba),'aliases':['ckp'],'usage':a5D(0x1c2),'mustBeInMakaProject':!![],'requiredOpts':[a5D(0x1b8)],'validOpts':[a5D(0x1c4)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a5d;if(I(0x1b7)!==I(0x1af))try{const c=new AWS(),d=this[I(0x1bf)][I(0x1c5)](b[I(0x1b8)]);c['createKeyPair']({'env':d});}catch(f){if(I(0x1b0)==='lsuNo')console[I(0x1b2)](f),process[I(0x1cc)](0x0);else return f(this,void 0x0,void 0x0,function*(){const J=I;try{const x=new o(),y=this[J(0x1bf)]['getConfigFromShorthand'](p[J(0x1b8)]);x['createKeyPair']({'env':y});}catch(z){s[J(0x1b2)](z),t['exit'](0x0);}});}else{const i=new c(),j=this[I(0x1bf)][I(0x1c5)](d['env']);i[I(0x1b6)]({'env':j});}});},a5x);
@@ -1 +1 @@
1
- const a6y=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=parseInt(v(0x129))/0x1*(-parseInt(v(0x125))/0x2)+-parseInt(v(0x120))/0x3*(parseInt(v(0x123))/0x4)+parseInt(v(0x11e))/0x5+parseInt(v(0x11b))/0x6+-parseInt(v(0x110))/0x7*(-parseInt(v(0x109))/0x8)+parseInt(v(0x104))/0x9*(-parseInt(v(0x117))/0xa)+-parseInt(v(0x121))/0xb*(-parseInt(v(0x11d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xe657d));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a6d;if(c){if('kjieG'!==w(0x111))d(e[w(0x12a)](f));else{const f=c[w(0x119)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const x=a6d;return a6a[x(0x101)]()[x(0x10e)](x(0x102))[x(0x101)]()[x(0x103)](a6a)['search'](x(0x102));});a6a();function a6c(){const F=['__awaiter','create','error','ssl','856eOLeqf','csg','Open\x20port\x20443\x20for\x20SSL?','help','ask','search','wbBds','45101EtwUwY','kjieG','chooseVPC','Security\x20Group\x20Name:\x20[','kgHsg','ec2createSG','exit','6570LJbmHT','name','apply','JuHmt','9589098EKFhvS','confirm','175044dgloDd','8354410HBHuSI','yZrWf','1515nGwFwn','715KAWiVT','getProjectConfig','9816FySszS','value','1856570ZaOBLe','fsi','TwWWU','EvkcQ','1qqSWaz','throw','next','XPYQL','then','SDAFS','toString','(((.+)+)+)+$','constructor','24597soeSZE'];a6c=function(){return F;};return a6c();}var __awaiter=this&&this[a6y(0x105)]||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=a6d;function h(k){const z=a6d;if(z(0x128)===z(0x128))try{j(d['next'](k));}catch(l){'CVVcz'!=='biWdZ'?g(l):c(d);}else{const o=d[z(0x119)](e,arguments);return f=null,o;}}function i(k){const A=a6d;if(A(0x12c)==='PIaVe')c(d);else try{A(0x10f)===A(0x11a)?c(d):j(d[A(0x12a)](k));}catch(n){if(A(0x114)==='DILPu'){const p=g?function(){const B=A;if(p){const u=q[B(0x119)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}else g(n);}}function j(k){const C=a6d;k['done']?f(k[C(0x124)]):e(k[C(0x124)])[C(0x12d)](h,i);}j((d=d[D(0x119)](a,b||[]))[D(0x12b)]());});};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';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x100;let f=c[d];return f;},a6d(a,b);}Command[a6y(0x106)]({'name':'create-security-group','aliases':[a6y(0x10a)],'usage':'maka\x20aws\x20terminate-instance','validOpts':[a6y(0x10c)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a6d;if(E(0x127)!==E(0x127))return c[E(0x101)]()[E(0x10e)](E(0x102))[E(0x101)]()['constructor'](d)[E(0x10e)](E(0x102));else try{if('PMlOM'===E(0x11f))return f instanceof g?h:new i(function(m){m(k);});else{const f=new AWS(),g=this[E(0x126)][E(0x122)](),{appName:h}=g;let i=yield f[E(0x112)](),j=![];if(!b[E(0x108)]){if(E(0x100)!=='bklcl')j=yield Actions[E(0x11c)](E(0x10b));else try{i(j[E(0x12b)](k));}catch(o){m(o);}}let k=j?'-ssl':'',l=b[E(0x118)]?b[E(0x118)]:''+h+k,m=(yield Actions[E(0x10d)](E(0x113)+l+']'))||l;f[E(0x115)]({'description':'\x22Web\x20App\x22','name':m,'vpcId':i,'ssl':j});}}catch(o){console[E(0x107)](o),process[E(0x116)](0x0);}});},a6u);
1
+ const a6y=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=parseInt(v(0x209))/0x1*(parseInt(v(0x20a))/0x2)+parseInt(v(0x1ea))/0x3*(parseInt(v(0x206))/0x4)+-parseInt(v(0x1fb))/0x5*(parseInt(v(0x1f9))/0x6)+-parseInt(v(0x1ef))/0x7+-parseInt(v(0x1f5))/0x8+parseInt(v(0x1ec))/0x9*(parseInt(v(0x1e9))/0xa)+-parseInt(v(0x203))/0xb*(-parseInt(v(0x1fa))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xbdaa4));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a6d;if(c){const e=c[w(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const x=a6d;return a6a[x(0x1e4)]()[x(0x201)](x(0x202))[x(0x1e4)]()[x(0x1fe)](a6a)[x(0x201)](x(0x202));});a6a();var __awaiter=this&&this[a6y(0x1e8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a6d;if(z(0x1f6)!==z(0x1e7))g(f);else return c[z(0x1e4)]()[z(0x201)](z(0x202))[z(0x1e4)]()[z(0x1fe)](d)[z(0x201)](z(0x202));});}return new(c||(c=Promise))(function(f,g){const D=a6d;function h(k){const A=a6d;if(A(0x1f1)!=='FFnPz')h['done']?i(j[A(0x1ed)]):k(l[A(0x1ed)])[A(0x200)](m,n);else try{j(d['next'](k));}catch(m){g(m);}}function i(k){const B=a6d;if(B(0x1f3)===B(0x1f3))try{j(d[B(0x1ff)](k));}catch(l){g(l);}else d[B(0x1f4)](e),f[B(0x1f0)](0x0);}function j(k){const C=a6d;k[C(0x1f2)]?f(k['value']):e(k[C(0x1ed)])[C(0x200)](h,i);}j((d=d[D(0x205)](a,b||[]))['next']());});};import a6u from'./aws.command.js';import{Command}from'../../command.js';function a6c(){const F=['done','tvpey','error','1902464lgGPMn','CTLUq','name','maka\x20aws\x20terminate-instance','1131654wzHvaC','96uTogpY','25wNXawy','HrJNw','ask','constructor','throw','then','search','(((.+)+)+)+$','1934405DLpIOR','fsi','apply','52QhQvBy','-ssl','getProjectConfig','4483cjxtvJ','68FUEoxO','ssl','toString','Security\x20Group\x20Name:\x20[','chooseVPC','TOpJU','__awaiter','220hdfoKY','151185NAZUGc','next','317358SUPikS','value','create','7227080rzYOCC','exit','FFnPz'];a6c=function(){return F;};return a6c();}function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x1e3;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(0x1ee)]({'name':'create-security-group','aliases':['csg'],'usage':a6y(0x1f8),'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a6d;if('fsixr'===E(0x1fc))d(e[E(0x1eb)](f));else try{const d=new AWS(),f=this[E(0x204)][E(0x208)](),{appName:g}=f;let h=yield d[E(0x1e6)](),i=![];!b[E(0x1e3)]&&(i=yield Actions['confirm']('Open\x20port\x20443\x20for\x20SSL?'));let j=i?E(0x207):'',k=b[E(0x1f7)]?b[E(0x1f7)]:''+g+j,l=(yield Actions[E(0x1fd)](E(0x1e5)+k+']'))||k;d['ec2createSG']({'description':'\x22Web\x20App\x22','name':l,'vpcId':h,'ssl':i});}catch(m){console[E(0x1f4)](m),process[E(0x1f0)](0x0);}});},a6u);
@@ -1 +1 @@
1
- var a7F=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=parseInt(v(0x19a))/0x1*(-parseInt(v(0x1a4))/0x2)+-parseInt(v(0x191))/0x3*(parseInt(v(0x19f))/0x4)+parseInt(v(0x193))/0x5*(parseInt(v(0x18e))/0x6)+-parseInt(v(0x1a9))/0x7*(-parseInt(v(0x1ad))/0x8)+parseInt(v(0x192))/0x9+parseInt(v(0x18f))/0xa+parseInt(v(0x195))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xc5cbf));var a7b=(function(){var a=!![];return function(b,c){var w=a7d;if('YzbGr'!==w(0x19d))h[w(0x1ab)]?i(j[w(0x1aa)]):k(l[w(0x1aa)])[w(0x194)](m,n);else{var d=a?function(){var x=w;if(x(0x1a1)!=='xBCvM'){var h=g?function(){var y=x;if(h){var u=q[y(0x197)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}else{if(c){if('NDCpt'!==x(0x19c))return e(this,void 0x0,void 0x0,function*(){var z=x;try{const s=new l();s['ec2describeInstances']();}catch(t){o[z(0x1ac)](t),p[z(0x1a2)](0x0);}});else{var f=c[x(0x197)](b,arguments);return c=null,f;}}}}:function(){};return a=![],d;}};}()),a7a=a7b(this,function(){var A=a7d;return a7a[A(0x19b)]()[A(0x1a0)]('(((.+)+)+)+$')['toString']()[A(0x196)](a7a)[A(0x1a0)](A(0x199));});a7a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var E=a7d;function h(k){var B=a7d;if('ljYRd'===B(0x1a5))return f instanceof g?h:new i(function(m){m(k);});else try{j(d[B(0x190)](k));}catch(m){g(m);}}function i(k){var C=a7d;if(C(0x19e)===C(0x1a3))d[C(0x1ac)](e),f[C(0x1a2)](0x0);else try{j(d[C(0x1ae)](k));}catch(m){g(m);}}function j(k){var D=a7d;k[D(0x1ab)]?f(k['value']):e(k[D(0x1aa)])[D(0x194)](h,i);}j((d=d[E(0x197)](a,b||[]))[E(0x190)]());});};function a7c(){var H=['apply','describe-instances','(((.+)+)+)+$','2TwSWWr','toString','NDCpt','YzbGr','OrAel','60EEIYbH','search','xBCvM','exit','WpUUv','1286684GiXixw','ySJZT','ec2describeInstances','BWKYo','help','49QmiGuy','value','done','error','1301192fQokni','throw','156scybOf','79630jvCxal','next','207357XyZkvu','199071RkDwcb','254900WxJSqY','then','7034929DoDMpc','constructor'];a7c=function(){return H;};return a7c();}import a7u from'./aws.command.js';import{Command}from'../../command.js';function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0x18e;var f=c[d];return f;},a7d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a7F(0x198),'aliases':['di'],'usage':'maka\x20aws\x20describe-instances','validOpts':[a7F(0x1a8)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a7d;try{const a=new AWS();a[G(0x1a6)]();}catch(b){if('BWKYo'===G(0x1a7))console[G(0x1ac)](b),process['exit'](0x0);else try{i(j[G(0x1ae)](k));}catch(d){m(d);}}});},a7u);
1
+ var a7z=a7d;function a7c(){var G=['12gbcNvs','JQzwY','search','(((.+)+)+)+$','then','apply','VomDa','4381960WLhSGc','1274148umEDkq','IjNnX','__awaiter','NJvmv','4226OfTnOA','constructor','ZdrVK','kKtpd','help','maka\x20aws\x20describe-instances','2195937AHPzbW','1107384OcPWBc','done','452949deBMPk','ec2describeInstances','create','uvsKS','14URQjfj','CwJzz','4nNdoxI','error','TsVMn','value','846990zpmboU','exit','NaCUt'];a7c=function(){return G;};return a7c();}(function(a,b){var v=a7d,c=a();while(!![]){try{var d=-parseInt(v(0xb2))/0x1*(parseInt(v(0xa3))/0x2)+-parseInt(v(0xac))/0x3*(-parseInt(v(0xb9))/0x4)+parseInt(v(0xb6))/0x5+-parseInt(v(0x9f))/0x6+-parseInt(v(0xb0))/0x7*(parseInt(v(0xaa))/0x8)+-parseInt(v(0xa9))/0x9+parseInt(v(0x9e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x4ddae));var a7b=(function(){var a=!![];return function(b,c){var w=a7d;if(w(0xa2)===w(0xaf))return f instanceof g?h:new i(function(m){m(k);});else{var d=a?function(){var x=w;if(c){var f=c[x(0x9c)](b,arguments);return c=null,f;}}:function(){};return a=![],d;}};}()),a7a=a7b(this,function(){var y=a7d;return a7a['toString']()[y(0x99)](y(0x9a))['toString']()[y(0xa4)](a7a)[y(0x99)]('(((.+)+)+)+$');});function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0x98;var f=c[d];return f;},a7d(a,b);}a7a();var __awaiter=this&&this[a7z(0xa1)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var A=a7d;if('EdhWV'!==A(0xb4))g(f);else{const i=new b();i['ec2describeInstances']();}});}return new(c||(c=Promise))(function(f,g){var E=a7d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){var B=a7d;if(B(0xa5)!==B(0xa6))try{if(B(0xb8)!==B(0x98))j(d['throw'](k));else{var n=g?function(){var C=B;if(n){var u=q[C(0x9c)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(m){g(m);}else try{const o=new g();o[B(0xad)]();}catch(p){j[B(0xb3)](p),k['exit'](0x0);}}function j(k){var D=a7d;'lQrWS'!==D(0xa0)?k['done']?f(k[D(0xb5)]):e(k['value'])['then'](h,i):h[D(0xab)]?i(j[D(0xb5)]):k(l[D(0xb5)])[D(0x9b)](m,n);}j((d=d[E(0x9c)](a,b||[]))['next']());});};import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a7z(0xae)]({'name':'describe-instances','aliases':['di'],'usage':a7z(0xa8),'validOpts':[a7z(0xa7)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a7d;try{if(F(0xb1)!=='PtBac'){const a=new AWS();a[F(0xad)]();}else{var c=d[F(0x9c)](e,arguments);return f=null,c;}}catch(c){F(0x9d)===F(0x9d)?(console[F(0xb3)](c),process[F(0xb7)](0x0)):c(d);}});},a7u);
@@ -1 +1 @@
1
- var a8y=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=parseInt(v(0x1e0))/0x1*(-parseInt(v(0x1eb))/0x2)+parseInt(v(0x1d0))/0x3*(parseInt(v(0x1de))/0x4)+parseInt(v(0x1d6))/0x5*(parseInt(v(0x1ea))/0x6)+-parseInt(v(0x1dc))/0x7*(-parseInt(v(0x1d7))/0x8)+-parseInt(v(0x1da))/0x9+-parseInt(v(0x1d5))/0xa+parseInt(v(0x1e6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xee78b));function a8c(){var E=['18651468rinaRT','apply','done','constructor','18FLNqDJ','6YuHqEW','exit','JvAEE','CACrt','ec2describeKeys','dkp','3jUDxPx','create','then','search','IAKJc','2157470kCmKqK','473105eqjDVS','88VEngov','(((.+)+)+)+$','IgujN','15048153avYcZZ','throw','236138TlwiOq','value','3163372JJjXWv','toString','92275eStijE','xGmJR','next','error','__awaiter','describe-key-pairs'];a8c=function(){return E;};return a8c();}function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x1cc;var f=c[d];return f;},a8d(a,b);}var a8b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a8d;if(w(0x1cc)!==w(0x1e1)){if(c){if(w(0x1d9)===w(0x1d9)){var e=c[w(0x1e7)](b,arguments);return c=null,e;}else d(e[w(0x1db)](f));}}else{var h=d[w(0x1e7)](e,arguments);return f=null,h;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){var x=a8d;return a8a[x(0x1df)]()[x(0x1d3)](x(0x1d8))[x(0x1df)]()[x(0x1e9)](a8a)['search'](x(0x1d8));});a8a();var __awaiter=this&&this[a8y(0x1e4)]||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){var z=a8d;try{'GjFpD'!=='GjFpD'?(d[z(0x1e3)](e),f['exit'](0x0)):j(d[z(0x1e2)](k));}catch(m){if('BNQCu'==='BNQCu')g(m);else{var o=g?function(){var A=z;if(o){var u=q[A(0x1e7)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}}}function i(k){var B=a8d;if('QNXLO'!==B(0x1cd))try{j(d[B(0x1db)](k));}catch(l){B(0x1d4)!=='IAKJc'?h[B(0x1e8)]?i(j[B(0x1dd)]):k(l[B(0x1dd)])[B(0x1d2)](m,n):g(l);}else c(d);}function j(k){var C=a8d;k['done']?f(k[C(0x1dd)]):e(k[C(0x1dd)])[C(0x1d2)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a8u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a8y(0x1d1)]({'name':a8y(0x1e5),'aliases':[a8y(0x1cf)],'usage':'maka\x20aws\x20describe-key-pairs','validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a8d;try{const a=new AWS();a[D(0x1ce)]();}catch(b){console['error'](b),process[D(0x1ec)](0x0);}});},a8u);
1
+ var a8y=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=parseInt(v(0x89))/0x1+-parseInt(v(0x83))/0x2*(-parseInt(v(0x87))/0x3)+-parseInt(v(0x81))/0x4+parseInt(v(0x80))/0x5*(-parseInt(v(0x86))/0x6)+parseInt(v(0x84))/0x7*(-parseInt(v(0x98))/0x8)+-parseInt(v(0x9b))/0x9*(parseInt(v(0x7f))/0xa)+-parseInt(v(0x8a))/0xb*(-parseInt(v(0x9c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xea79a));var a8b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a8d;if(c){var e=c[w(0x93)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){var x=a8d;return a8a[x(0x99)]()['search'](x(0x90))[x(0x99)]()[x(0x8b)](a8a)[x(0x8f)](x(0x90));});function a8c(){var D=['toString','throw','25587furxdT','50201616EWzHXI','2830xpDEbc','25eTBYjG','1185576JIvCZU','maka\x20aws\x20describe-key-pairs','16OblCRa','35QpfycP','next','1741830DOmacR','25647fIvvaQ','help','848528TJSKZs','11GCZKkL','constructor','describe-key-pairs','done','ec2describeKeys','search','(((.+)+)+)+$','zoFCA','exit','apply','rIMKr','error','dkp','__awaiter','2539984dpvugg'];a8c=function(){return D;};return a8c();}a8a();var __awaiter=this&&this[a8y(0x97)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var B=a8d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){var z=a8d;try{z(0x94)===z(0x94)?j(d[z(0x9a)](k)):c(d);}catch(m){if(z(0x91)!=='NurOm')g(m);else{const o=new b();o[z(0x8e)]();}}}function j(k){var A=a8d;k[A(0x8d)]?f(k['value']):e(k['value'])['then'](h,i);}j((d=d[B(0x93)](a,b||[]))[B(0x85)]());});};function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x7f;var f=c[d];return f;},a8d(a,b);}import a8u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a8y(0x8c),'aliases':[a8y(0x96)],'usage':a8y(0x82),'validOpts':[a8y(0x88)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var C=a8d;try{const a=new AWS();a[C(0x8e)]();}catch(b){console[C(0x95)](b),process[C(0x92)](0x0);}});},a8u);
@@ -1 +1 @@
1
- function a9c(){const F=['throw','OOYKw','1122TgzbzQ','sBZMs','80374iGcSUU','\x20Ready?','search','then','value','dILnQ','267264tZayLQ','next','running','7116570MRmuCm','help','ec2rebootInstance','reboot-instance','error','chooseInstance','maka\x20aws\x20reboot-instance','WfaQH','rvdEh','status','constructor','exit','(((.+)+)+)+$','name','105845IfeJxn','4ULtRtq','apply','JoSuR','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','__awaiter','\x20is\x20still\x20running.','1604615AWaGRi','229284HGormH','create','instanceId','10717YeOmkH','toString','done','rbi'];a9c=function(){return F;};return a9c();}const a9y=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=parseInt(v(0x1b1))/0x1+parseInt(v(0x19a))/0x2+-parseInt(v(0x1b9))/0x3+parseInt(v(0x1b2))/0x4*(-parseInt(v(0x1b8))/0x5)+parseInt(v(0x198))/0x6*(-parseInt(v(0x192))/0x7)+-parseInt(v(0x1a0))/0x8+parseInt(v(0x1a3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x35a3a));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a9d;if(w(0x1b4)!==w(0x1ab)){if(c){const e=c[w(0x1b3)](b,arguments);return c=null,e;}}else d(e['next'](f));}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const x=a9d;return a9a['toString']()[x(0x19c)](x(0x1af))[x(0x193)]()[x(0x1ad)](a9a)[x(0x19c)](x(0x1af));});a9a();var __awaiter=this&&this[a9y(0x1b6)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a9d;function h(k){const z=a9d;try{j(d[z(0x1a1)](k));}catch(l){g(l);}}function i(k){const A=a9d;try{j(d[A(0x196)](k));}catch(l){g(l);}}function j(k){const B=a9d;k[B(0x194)]?f(k[B(0x19e)]):e(k['value'])[B(0x19d)](h,i);}j((d=d[C(0x1b3)](a,b||[]))[C(0x1a1)]());});};import a9u from'./aws.command.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x190;let f=c[d];return f;},a9d(a,b);}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[a9y(0x190)]({'name':a9y(0x1a6),'aliases':[a9y(0x195)],'usage':a9y(0x1a9),'validOpts':[a9y(0x1a4)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a9d;if(D(0x1aa)===D(0x197)){const b=g?function(){const E=D;if(b){const u=q[E(0x1b3)](r,arguments);return s=null,u;}}:function(){};return l=![],b;}else try{const b=new AWS();let c=yield b[D(0x1a8)]();if((c===null||c===void 0x0?void 0x0:c[D(0x1ac)])===D(0x1a2)){let d=yield Actions['confirm']('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+c[D(0x1b0)]+D(0x19b));d?b[D(0x1a5)]({'instanceId':c[D(0x191)]}):Log[D(0x1a7)]('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+c['name']+D(0x1b7));}else Log[D(0x1a7)](D(0x1b5));}catch(f){if(D(0x199)===D(0x19f))try{i(j[D(0x196)](k));}catch(h){m(h);}else console['error'](f),process[D(0x1ae)](0x0);}});},a9u);
1
+ const a9y=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0xf2))/0x1+parseInt(v(0x10e))/0x2*(parseInt(v(0x105))/0x3)+-parseInt(v(0xf1))/0x4+parseInt(v(0xfa))/0x5*(-parseInt(v(0x113))/0x6)+parseInt(v(0x104))/0x7+-parseInt(v(0x109))/0x8+parseInt(v(0xff))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x27b61));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a9d;if(w(0xf5)!==w(0xf5))return f instanceof g?h:new i(function(m){m(k);});else{if(c){const f=c[w(0xf3)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const x=a9d;return a9a[x(0x110)]()['search']('(((.+)+)+)+$')[x(0x110)]()[x(0x112)](a9a)[x(0x114)](x(0xef));});a9a();var __awaiter=this&&this[a9y(0xf0)]||function(a,b,c,d){function e(f){const z=a9d;if(z(0x103)===z(0x103))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const D=a9d;function h(k){const A=a9d;try{j(d[A(0x10b)](k));}catch(l){if(A(0x10c)===A(0xfe)){const n=d['apply'](l,arguments);return f=null,n;}else g(l);}}function i(k){const B=a9d;try{j(d[B(0xf6)](k));}catch(l){g(l);}}function j(k){const C=a9d;k['done']?f(k[C(0xfc)]):e(k[C(0xfc)])[C(0xfd)](h,i);}j((d=d['apply'](a,b||[]))[D(0x10b)]());});};import a9u from'./aws.command.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0xee;let f=c[d];return f;},a9d(a,b);}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=['throw','eNDwC','chooseInstance','\x20is\x20still\x20running.','114715IGoQKU','maka\x20aws\x20reboot-instance','value','then','UauSO','7824006lbwmBE','rbi','ec2rebootInstance','wxPCR','RiuGP','1171268gAClVC','16527EsZYyU','instanceId','Hwrqg','create','2457344pDzCPL','status','next','naJiq','exit','70ONiSff','help','toString','reboot-instance','constructor','78akiFWI','search','confirm','error','(((.+)+)+)+$','__awaiter','1286292enOPaN','139816fMlfLZ','apply','name','sxOyc'];a9c=function(){return G;};return a9c();}import{Log}from'../../tools/log/log.class.js';Command[a9y(0x108)]({'name':a9y(0x111),'aliases':[a9y(0x100)],'usage':a9y(0xfb),'validOpts':[a9y(0x10f)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a9d;if(E(0x102)===E(0x102))try{if(E(0x107)!==E(0x107)){const b=g?function(){const F=E;if(b){const u=q[F(0xf3)](r,arguments);return s=null,u;}}:function(){};return l=![],b;}else{const b=new AWS();let c=yield b[E(0xf8)]();if((c===null||c===void 0x0?void 0x0:c[E(0x10a)])==='running'){let d=yield Actions[E(0x115)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+c[E(0xf4)]+'\x20Ready?');if(d){if('Fjlws'===E(0xf7)){if(e){const g=i[E(0xf3)](j,arguments);return k=null,g;}}else b[E(0x101)]({'instanceId':c[E(0x106)]});}else Log['error']('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+c[E(0xf4)]+E(0xf9));}else Log['error']('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}}catch(g){console['error'](g),process[E(0x10d)](0x0);}else c[E(0xee)]('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+d[E(0xf4)]+E(0xf9));});},a9u);
@@ -1 +1 @@
1
- const a10H=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=-parseInt(F(0x1cc))/0x1+-parseInt(F(0x1c8))/0x2*(parseInt(F(0x1bc))/0x3)+parseInt(F(0x1a9))/0x4*(parseInt(F(0x1ad))/0x5)+parseInt(F(0x1ca))/0x6*(-parseInt(F(0x1b5))/0x7)+-parseInt(F(0x19b))/0x8+-parseInt(F(0x1a6))/0x9+parseInt(F(0x1cf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x8fd3b));const a10b=(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;};}()),a10a=a10b(this,function(){const G=a10d;return a10a[G(0x1d0)]()[G(0x1a2)](G(0x1ab))['toString']()[G(0x1b0)](a10a)[G(0x1a2)]('(((.+)+)+)+$');});function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x19b;let f=c[d];return f;},a10d(a,b);}a10a();var __awaiter=this&&this[a10H(0x1b9)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const L=a10d;function h(k){const I=a10d;if(I(0x19c)==='oATPi')try{j(d['next'](k));}catch(l){I(0x1b7)!==I(0x1c6)?g(l):(d[I(0x1b2)](l),f[I(0x1a0)](0x0));}else return f instanceof g?h:new i(function(o){o(k);});}function i(k){const J=a10d;try{j(d['throw'](k));}catch(l){if(J(0x1c5)==='xopoA')g(l);else{if(l){const n=i[J(0x1a4)](j,arguments);return k=null,n;}}}}function j(k){const K=a10d;k[K(0x1c2)]?f(k['value']):e(k[K(0x1b3)])[K(0x1ae)](h,i);}j((d=d['apply'](a,b||[]))[L(0x1bd)]());});};function a10c(){const O=['getConfigPath','1148610AwbFmL','next','set-host','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','publicIp','private','done','chooseInstance','host','xopoA','ftuhw','ssh.json','6ezblMS','maka\x20aws\x20set-host','1543866rjnBSy','\x0aSaved\x20host\x20','717698sRDEBT','join','create','26900600DQNaec','toString','\x20IP\x20to\x20','1118280TtCANk','oATPi','writeFileSync','sth','env','exit','RzWlT','search','stringify','apply','success','895284KckBDD','fsi','privateIp','1047740aloYmP','inherit','(((.+)+)+)+$','readFileSync','5VjWETu','then','public','constructor','sep','error','value','ask','7KAooOc','key-name','Cxzlo','cat\x20','__awaiter','utf8'];a10c=function(){return O;};return a10c();}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[a10H(0x1ce)]({'name':a10H(0x1be),'aliases':[a10H(0x19e)],'usage':a10H(0x1c9),'mustBeInMakaProject':!![],'requiredOpts':[a10H(0x19f)],'validOpts':['help',a10H(0x1b6)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const M=a10d;try{const c=new AWS(),d=this[M(0x1a7)][M(0x1bb)](b['env']);let f=yield c[M(0x1c3)](),g=JSON['parse'](a10D[M(0x1ac)](a10C[M(0x1cd)](d,M(0x1c7)),M(0x1ba))),h=(yield Actions[M(0x1b4)](M(0x1bf)))||M(0x1af);if(h){if(h===M(0x1af)||h===M(0x1c1)){if(h===M(0x1af))g['host']=f===null||f===void 0x0?void 0x0:f[M(0x1c0)];else h===M(0x1c1)&&(g[M(0x1c4)]=f===null||f===void 0x0?void 0x0:f[M(0x1a8)]);}else{if('fLwGZ'!==M(0x1a1))throw'That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22';else{const j=g?function(){const N=M;if(j){const u=q[N(0x1a4)](r,arguments);return s=null,u;}}:function(){};return l=![],j;}}}else g[M(0x1c4)]=f===null||f===void 0x0?void 0x0:f['privateIp'];a10D[M(0x19d)](a10C[M(0x1cd)](d,M(0x1c7)),JSON[M(0x1a3)](g,null,0x2)),execSync(M(0x1b8)+a10C[M(0x1cd)](d,M(0x1c7)),{'stdio':M(0x1aa)}),Log[M(0x1a5)](M(0x1cb)+h+M(0x1d1)+d+a10C[M(0x1b1)]+'ssh.json');}catch(j){console[M(0x1b2)](j),process[M(0x1a0)](0x0);}});},a10E);
1
+ const a10J=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=parseInt(F(0x172))/0x1*(parseInt(F(0x158))/0x2)+parseInt(F(0x174))/0x3*(parseInt(F(0x153))/0x4)+-parseInt(F(0x17d))/0x5+-parseInt(F(0x161))/0x6+-parseInt(F(0x163))/0x7+parseInt(F(0x17b))/0x8*(-parseInt(F(0x16f))/0x9)+parseInt(F(0x181))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x90de4));const a10b=(function(){let a=!![];return function(b,c){const G=a10d;if(G(0x17f)!==G(0x17f))return c[G(0x176)]()['search'](G(0x179))[G(0x176)]()['constructor'](d)[G(0x16d)]('(((.+)+)+)+$');else{const e=a?function(){const H=G;if(c){if(H(0x17a)!==H(0x189)){const f=c[H(0x15a)](b,arguments);return c=null,f;}else d(e[H(0x18a)](f));}}:function(){};return a=![],e;}};}()),a10a=a10b(this,function(){const I=a10d;return a10a['toString']()[I(0x16d)]('(((.+)+)+)+$')[I(0x176)]()[I(0x16a)](a10a)[I(0x16d)](I(0x179));});a10a();var __awaiter=this&&this[a10J(0x175)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const K=a10d;K(0x17e)===K(0x17e)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){const O=a10d;function h(k){const L=a10d;try{j(d[L(0x18a)](k));}catch(l){g(l);}}function i(k){const M=a10d;if(M(0x15e)===M(0x16e))e[M(0x15c)]=f===null||g===void 0x0?void 0x0:h[M(0x15b)];else try{j(d[M(0x178)](k));}catch(m){g(m);}}function j(k){const N=a10d;k[N(0x168)]?f(k[N(0x159)]):e(k[N(0x159)])[N(0x156)](h,i);}j((d=d[O(0x15a)](a,b||[]))[O(0x18a)]());});};import a10C from'path';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x153;let f=c[d];return f;},a10d(a,b);}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':'set-host','aliases':[a10J(0x183)],'usage':a10J(0x169),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':['help',a10J(0x15d)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a10d;try{const c=new AWS(),d=this[P(0x188)][P(0x164)](b[P(0x180)]);let f=yield c[P(0x155)](),g=JSON[P(0x186)](a10D['readFileSync'](a10C[P(0x185)](d,P(0x166)),'utf8')),h=(yield Actions[P(0x16c)]('Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]'))||P(0x184);if(h){if('uBCrt'!==P(0x157)){if(h===P(0x184)||h===P(0x167)){if(h===P(0x184))g[P(0x15c)]=f===null||f===void 0x0?void 0x0:f['publicIp'];else{if(h===P(0x167)){if(P(0x170)===P(0x177))try{i(j[P(0x178)](k));}catch(j){m(j);}else g['host']=f===null||f===void 0x0?void 0x0:f[P(0x15b)];}}}else throw P(0x16b);}else try{i(j[P(0x18a)](k));}catch(k){m(k);}}else'OuSKB'===P(0x162)?g[P(0x15c)]=f===null||f===void 0x0?void 0x0:f[P(0x15b)]:e[P(0x15c)]=f===null||g===void 0x0?void 0x0:h['publicIp'];a10D[P(0x173)](a10C[P(0x185)](d,P(0x166)),JSON[P(0x15f)](g,null,0x2)),execSync(P(0x17c)+a10C[P(0x185)](d,'ssh.json'),{'stdio':P(0x165)}),Log[P(0x182)](P(0x187)+h+P(0x154)+d+a10C[P(0x160)]+P(0x166));}catch(l){console[P(0x171)](l),process['exit'](0x0);}});},a10E);function a10c(){const Q=['writeFileSync','15RBKptN','__awaiter','toString','NgOfD','throw','(((.+)+)+)+$','ulZtC','136AfQIHJ','cat\x20','4598960pJvSbq','gSEHT','QcyoV','env','14444400WevmFt','success','sth','public','join','parse','\x0aSaved\x20host\x20','fsi','CKeRy','next','485404KMnTyb','\x20IP\x20to\x20','chooseInstance','then','ZpEhn','204882AtMFNf','value','apply','privateIp','host','key-name','gmxXy','stringify','sep','5350572AwrIJw','OuSKB','617190UIvjKv','getConfigPath','inherit','ssh.json','private','done','maka\x20aws\x20set-host','constructor','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','ask','search','ZdldD','91449viDHmZ','JAfWZ','error','6lDLseZ'];a10c=function(){return Q;};return a10c();}
@@ -1 +1 @@
1
- const a11y=a11d;function a11c(){const G=['create','maka\x20aws\x20terminate-instance','ZOYXO','kNFKx','12fKLxfe','help','__awaiter','691184WrjnjB','OdKyl','(((.+)+)+)+$','FLNDG','tNjCQ','name','YREzZ','value','3607624kmHKPK','toString','495333lvvvXB','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','throw','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','rievT','running','2572836qyEMDk','instanceId','status','apply','constructor','\x20Ready?','5653844YGpiGx','error','4807755AXlFoJ','search','8344420olcCHL','chooseInstance','exit','yfTaB','CzFGy','iGIxZ','jnwHv'];a11c=function(){return G;};return a11c();}(function(a,b){const v=a11d,c=a();while(!![]){try{const d=-parseInt(v(0x1bb))/0x1+-parseInt(v(0x1b1))/0x2*(parseInt(v(0x1ae))/0x3)+parseInt(v(0x1c8))/0x4+parseInt(v(0x1ca))/0x5+-parseInt(v(0x1c2))/0x6+parseInt(v(0x1a3))/0x7+-parseInt(v(0x1b9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xc5a8c));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a11d;if(c){const e=c[w(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const x=a11d;return a11a[x(0x1ba)]()[x(0x1cb)](x(0x1b3))[x(0x1ba)]()[x(0x1c6)](a11a)[x(0x1cb)](x(0x1b3));});a11a();var __awaiter=this&&this[a11y(0x1b0)]||function(a,b,c,d){function e(f){const z=a11d;if(z(0x1c0)!==z(0x1b4))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const E=a11d;function h(k){const A=a11d;if(A(0x1a9)!==A(0x1a6))try{j(d['next'](k));}catch(l){g(l);}else c['error'](A(0x1bc)+d[A(0x1b6)]+A(0x1bf));}function i(k){const B=a11d;if(B(0x1ad)!==B(0x1ad))try{i(j[B(0x1bd)](k));}catch(m){m(m);}else try{j(d[B(0x1bd)](k));}catch(m){if(B(0x1a7)!==B(0x1b2))g(m);else{const o=g?function(){const C=B;if(o){const u=q[C(0x1c5)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}}}function j(k){const D=a11d;k['done']?f(k[D(0x1b8)]):e(k['value'])['then'](h,i);}j((d=d[E(0x1c5)](a,b||[]))['next']());});};import a11u from'./aws.command.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a11d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a11y(0x1aa)]({'name':'terminate-instance','aliases':['ti'],'usage':a11y(0x1ab),'validOpts':[a11y(0x1af)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a11d;if(F(0x1a8)===F(0x1b7))c(d);else try{if('ZOYXO'===F(0x1ac)){const b=new AWS();let c=yield b[F(0x1a4)]();if((c===null||c===void 0x0?void 0x0:c[F(0x1c4)])===F(0x1c1)){let d=yield Actions['confirm'](F(0x1be)+c[F(0x1b6)]+F(0x1c7));if(d){if(F(0x1b5)===F(0x1b5))b['ec2terminateInstance']({'instanceId':c[F(0x1c3)]});else{if(e){const g=i[F(0x1c5)](j,arguments);return k=null,g;}}}else Log['error'](F(0x1bc)+c[F(0x1b6)]+'\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).');}else Log['error']('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}else return c[F(0x1ba)]()[F(0x1cb)](F(0x1b3))[F(0x1ba)]()[F(0x1c6)](d)[F(0x1cb)]('(((.+)+)+)+$');}catch(h){console[F(0x1c9)](h),process[F(0x1a5)](0x0);}});},a11u);
1
+ const a11z=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=parseInt(v(0x16d))/0x1+-parseInt(v(0x165))/0x2*(parseInt(v(0x164))/0x3)+parseInt(v(0x176))/0x4*(-parseInt(v(0x17d))/0x5)+parseInt(v(0x168))/0x6+-parseInt(v(0x170))/0x7*(-parseInt(v(0x161))/0x8)+-parseInt(v(0x159))/0x9+-parseInt(v(0x15b))/0xa*(parseInt(v(0x16c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x901b5));const a11b=(function(){let a=!![];return function(b,c){const w=a11d;if(w(0x169)!==w(0x169))h[w(0x16a)]?i(j['value']):k(l['value'])[w(0x150)](m,n);else{const e=a?function(){const x=w;if(c){const f=c[x(0x15e)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a11a=a11b(this,function(){const y=a11d;return a11a[y(0x15d)]()[y(0x14c)]('(((.+)+)+)+$')[y(0x15d)]()[y(0x155)](a11a)['search']('(((.+)+)+)+$');});function a11c(){const G=['793721ajyMOZ','DuxHC','IhpuW','3990455KZYhfj','GPnXz','next','__awaiter','confirm','vJXQK','2295236AzCyFt','value','ec2terminateInstance','\x20Ready?','exit','qoSgg','help','5GjMXwD','maka\x20aws\x20terminate-instance','search','running','status','fIpmN','then','jrFeD','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','name','INzdn','constructor','gpfVq','create','error','1829817AupDHe','shXFl','4190XZHqTp','throw','toString','apply','vfWFL','terminate-instance','16fUqZUM','(((.+)+)+)+$','instanceId','177tvLzsD','36726UhVzGW','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','3375720OHIGzB','kWXEo','done','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','1199xFtlUe'];a11c=function(){return G;};return a11c();}a11a();var __awaiter=this&&this[a11z(0x173)]||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=a11d;function h(k){const A=a11d;if(A(0x154)===A(0x171))d(e['throw'](f));else try{if(A(0x17b)===A(0x15a))try{i(j['next'](k));}catch(o){m(o);}else j(d[A(0x172)](k));}catch(n){if('jWdIs'!==A(0x151))g(n);else return c[A(0x15d)]()['search'](A(0x162))[A(0x15d)]()[A(0x155)](d)[A(0x14c)]('(((.+)+)+)+$');}}function i(k){const B=a11d;if(B(0x156)===B(0x156))try{if(B(0x16e)===B(0x15f)){const n=g?function(){const C=B;if(n){const u=q[C(0x15e)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else j(d[B(0x15c)](k));}catch(m){g(m);}else c(d);}function j(k){const D=a11d;k[D(0x16a)]?f(k[D(0x177)]):e(k[D(0x177)])[D(0x150)](h,i);}j((d=d[E(0x15e)](a,b||[]))[E(0x172)]());});};import a11u from'./aws.command.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x14c;let f=c[d];return f;},a11d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a11z(0x157)]({'name':a11z(0x160),'aliases':['ti'],'usage':a11z(0x17e),'validOpts':[a11z(0x17c)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a11d;try{const a=new AWS();let b=yield a['chooseInstance']();if((b===null||b===void 0x0?void 0x0:b[F(0x14e)])===F(0x14d)){let c=yield Actions[F(0x174)](F(0x16b)+b[F(0x153)]+F(0x179));if(c){if(F(0x16f)===F(0x175)){const f=d[F(0x15e)](e,arguments);return f=null,f;}else a[F(0x178)]({'instanceId':b[F(0x163)]});}else Log[F(0x158)](F(0x167)+b['name']+F(0x152));}else{if('qNsqm'!=='qNsqm'){if(e){const g=i[F(0x15e)](j,arguments);return k=null,g;}}else Log[F(0x158)](F(0x166));}}catch(g){F(0x14f)===F(0x14f)?(console['error'](g),process[F(0x17a)](0x0)):c(d);}});},a11u);
@@ -1 +1 @@
1
- (function(a,b){var u=a12d,c=a();while(!![]){try{var d=parseInt(u(0xa7))/0x1+-parseInt(u(0xa3))/0x2+-parseInt(u(0xa1))/0x3*(parseInt(u(0xa6))/0x4)+-parseInt(u(0x99))/0x5*(-parseInt(u(0x9a))/0x6)+parseInt(u(0x9b))/0x7*(parseInt(u(0xa5))/0x8)+-parseInt(u(0xa4))/0x9*(-parseInt(u(0x9f))/0xa)+-parseInt(u(0x9e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x4cb11));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a12d;if(c){var e=c[v(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var w=a12d;return a12a[w(0x9d)]()[w(0xa2)](w(0xa0))[w(0x9d)]()['constructor'](a12a)[w(0xa2)](w(0xa0));});a12a();import'./build.js';function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x99;var f=c[d];return f;},a12d(a,b);}function a12c(){var x=['30RTuRpo','334446pmxYVQ','117677nXVEPf','apply','toString','4283345dwcuQv','10esRZPN','(((.+)+)+)+$','3wIiDhl','search','604804mfLZEp','3332691vHOBOI','184OTzIOZ','2343524umryti','500409uUMaVH'];a12c=function(){return x;};return a12c();}import'./docker.sub.cmd.js';
1
+ function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x147;var f=c[d];return f;},a12d(a,b);}(function(a,b){var u=a12d,c=a();while(!![]){try{var d=-parseInt(u(0x14c))/0x1+-parseInt(u(0x149))/0x2+parseInt(u(0x152))/0x3*(-parseInt(u(0x150))/0x4)+-parseInt(u(0x151))/0x5+-parseInt(u(0x14f))/0x6+-parseInt(u(0x147))/0x7*(parseInt(u(0x153))/0x8)+parseInt(u(0x14e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xa38a3));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a12d;if(c){var e=c[v(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var w=a12d;return a12a[w(0x14a)]()['search'](w(0x154))[w(0x14a)]()[w(0x148)](a12a)[w(0x14b)]('(((.+)+)+)+$');});function a12c(){var x=['constructor','335586ypxMhM','toString','search','1126449mVbrKq','apply','38302794kRtYQf','5272602rhKrJB','7236CQyoIh','2646020IRYtpg','150ovjZjL','3072FqHrol','(((.+)+)+)+$','14462CAIUAA'];a12c=function(){return x;};return a12c();}a12a();import'./build.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a13z=a13d;(function(a,b){const w=a13d,c=a();while(!![]){try{const d=-parseInt(w(0x203))/0x1+-parseInt(w(0x206))/0x2+-parseInt(w(0x204))/0x3*(parseInt(w(0x202))/0x4)+-parseInt(w(0x1f6))/0x5+parseInt(w(0x205))/0x6*(parseInt(w(0x209))/0x7)+-parseInt(w(0x20d))/0x8*(-parseInt(w(0x201))/0x9)+parseInt(w(0x215))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x39a69));function a13c(){const I=['NnTpq','build','XWRUx','splice','WjdVb','argv','concat','confirm','549oCeHSS','4zxpDkK','147943LCqVXG','106443lytDyY','201360SMyKbQ','551832ySLzxe','app.tar.gz','findSubCommand','35fesFTb','MGrlN','fsi','throw','6744etVcah','kCTVb','join','runSubCommand','Aborted.','LyhOL','maka\x20build\x20[--force]','value','5425960OVqbIg','aQVlx','create','force','qlJQE','emSqb','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','apply','constructor','toString','invokeMeteorCommand','hfkQw','slice','Qbnkt','next','(((.+)+)+)+$','done','vRPnh','pathFromProject','forEach','search','error','331710BuOLlJ','then','__awaiter'];a13c=function(){return I;};return a13c();}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a13d;if(x(0x20a)!==x(0x216)){if(c){const e=c[x(0x21c)](b,arguments);return c=null,e;}}else throw b[x(0x1f5)](x(0x211));}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const y=a13d;return a13a[y(0x21e)]()[y(0x1f4)](y(0x224))[y(0x21e)]()[y(0x21d)](a13a)[y(0x1f4)]('(((.+)+)+)+$');});a13a();var __awaiter=this&&this[a13z(0x1f8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a13d;if(A(0x21a)===A(0x220)){const i=d[A(0x21c)](e,arguments);return f=null,i;}else g(f);});}return new(c||(c=Promise))(function(f,g){const F=a13d;function h(k){const B=a13d;if(B(0x222)===B(0x212))try{i(j[B(0x20c)](k));}catch(m){m(m);}else try{if(B(0x1f9)!==B(0x1f9)){if(e){const n=i[B(0x21c)](j,arguments);return k=null,n;}}else j(d[B(0x223)](k));}catch(n){if(B(0x226)===B(0x226))g(n);else{const p=g?function(){const C=B;if(p){const u=q[C(0x21c)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}}}function i(k){const D=a13d;if(D(0x20e)===D(0x20e))try{j(d[D(0x20c)](k));}catch(l){'XWRUx'===D(0x1fb)?g(l):h[D(0x225)]?i(j[D(0x214)]):k(l[D(0x214)])['then'](m,n);}else c(d);}function j(k){const E=a13d;k[E(0x225)]?f(k['value']):e(k[E(0x214)])[E(0x1f7)](h,i);}j((d=d['apply'](a,b||[]))[F(0x223)]());});};import a13u from'path';import a13v from'fs';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a13d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a13z(0x217)]({'name':a13z(0x1fa),'usage':a13z(0x213),'validOpts':['force'],'description':a13z(0x21b),'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(0x208)](c);if(d)G(0x219)===G(0x1fd)?d(e[G(0x20c)](f)):this[G(0x210)](c,a,b);else{let g=b[G(0x218)],h=[this[G(0x20b)][G(0x1f2)]({'pathParts':['build']})][G(0x1ff)](process[G(0x1fe)][G(0x221)](0x3)),i=a13u[G(0x20f)](this[G(0x20b)][G(0x1f2)]({}),G(0x1fa),G(0x207));if(a13v['existsSync'](i)){let j=g!==null&&g!==void 0x0?g:yield Actions[G(0x200)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');if(!j)throw Log[G(0x1f5)](G(0x211));}h[G(0x1f3)]((k,l)=>{const H=G;k==='--force'&&h[H(0x1fc)](l,0x2);}),this['fsi'][G(0x21f)](G(0x1fa),h);}}catch(k){console['error'](k),process['exit'](0x0);}});});export default BuildCommand;
1
+ const a13z=a13d;(function(a,b){const w=a13d,c=a();while(!![]){try{const d=parseInt(w(0x144))/0x1*(parseInt(w(0x153))/0x2)+parseInt(w(0x155))/0x3+-parseInt(w(0x150))/0x4*(parseInt(w(0x128))/0x5)+parseInt(w(0x149))/0x6*(-parseInt(w(0x12c))/0x7)+parseInt(w(0x136))/0x8*(parseInt(w(0x130))/0x9)+parseInt(w(0x137))/0xa*(parseInt(w(0x13b))/0xb)+-parseInt(w(0x13a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xb5504));function a13c(){const H=['invokeMeteorCommand','search','12411588Nxktpl','20977dSLfQB','Aborted.','iTCgN','next','maka\x20build\x20[--force]','znSuD','throw','maka\x20build:docker','hSVTj','37juuBNg','pathFromProject','toString','findSubCommand','maka\x20build','18dOVUsN','--force','splice','xfuSj','NxyDV','mTEQh','error','7796YgIFxE','join','__awaiter','18736lrmYmF','SyLEi','1503669cPbOrX','confirm','argv','value','bgzoY','(((.+)+)+)+$','apply','exit','OrDAV','constructor','2095OzSTAq','then','YhjoO','BSxhM','71449KjqqhY','done','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','fsi','603WgFXXt','runSubCommand','build','slice','hSljB','force','148120YifVrJ','2810BMFOns'];a13c=function(){return H;};return a13c();}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a13d;if(c){const e=c[x(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const y=a13d;return a13a[y(0x146)]()[y(0x139)](y(0x15a))[y(0x146)]()['constructor'](a13a)[y(0x139)]('(((.+)+)+)+$');});a13a();var __awaiter=this&&this[a13z(0x152)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a13d;if('hSVTj'!==A(0x143)){const i=d['apply'](e,arguments);return f=null,i;}else g(f);});}return new(c||(c=Promise))(function(f,g){const E=a13d;function h(k){const B=a13d;try{B(0x13d)!==B(0x159)?j(d['next'](k)):c(d);}catch(m){g(m);}}function i(k){const C=a13d;try{j(d[C(0x141)](k));}catch(l){C(0x14d)===C(0x14d)?g(l):(d[C(0x14f)](l),f[C(0x125)](0x0));}}function j(k){const D=a13d;k[D(0x12d)]?f(k['value']):e(k[D(0x158)])[D(0x129)](h,i);}j((d=d[E(0x15b)](a,b||[]))['next']());});};import a13u from'path';import a13v from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x125;let f=c[d];return f;},a13d(a,b);}import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command['create']({'name':a13z(0x132),'usage':a13z(0x13f),'validOpts':['force'],'description':a13z(0x12e),'mustBeInMakaProject':!![],'examples':[a13z(0x148),a13z(0x142)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a13d;if(F(0x126)===F(0x12a))c(d);else try{let d=a[0x0],f=this[F(0x147)](d);if(f){if(F(0x12b)==='BSxhM')this[F(0x131)](d,a,b);else try{i(j[F(0x13e)](k));}catch(h){m(h);}}else{if(F(0x140)===F(0x140)){let h=b[F(0x135)],i=[this[F(0x12f)][F(0x145)]({'pathParts':['build']})]['concat'](process[F(0x157)][F(0x133)](0x3)),j=a13u[F(0x151)](this[F(0x12f)][F(0x145)]({}),F(0x132),'app.tar.gz');if(a13v['existsSync'](j)){let k=h!==null&&h!==void 0x0?h:yield Actions[F(0x156)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');if(!k)throw Log['error'](F(0x13c));}i['forEach']((l,m)=>{const G=F;if(G(0x14c)!==G(0x134))l===G(0x14a)&&('mTEQh'===G(0x14e)?i[G(0x14b)](m,0x2):d===G(0x14a)&&g[G(0x14b)](h,0x2));else return c[G(0x146)]()['search'](G(0x15a))[G(0x146)]()[G(0x127)](d)[G(0x139)](G(0x15a));}),this[F(0x12f)][F(0x138)](F(0x132),i);}else{const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}}catch(m){F(0x154)!==F(0x154)?d(m[F(0x141)](f)):(console[F(0x14f)](m),process[F(0x125)](0x0));}});});export default BuildCommand;
@@ -1 +1 @@
1
- const a14M=a14d;(function(a,b){const J=a14d,c=a();while(!![]){try{const d=-parseInt(J(0x92))/0x1+-parseInt(J(0xc3))/0x2*(-parseInt(J(0xb3))/0x3)+-parseInt(J(0x7c))/0x4*(-parseInt(J(0x99))/0x5)+parseInt(J(0x8a))/0x6+parseInt(J(0xaa))/0x7*(parseInt(J(0xcd))/0x8)+parseInt(J(0xc8))/0x9*(-parseInt(J(0x77))/0xa)+-parseInt(J(0x9f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xb12e4));const a14b=(function(){let a=!![];return function(b,c){const K=a14d;if(K(0x8d)==='pHJYw'){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else c[K(0xc9)](d[K(0xb7)]('config','docker',K(0xd2)));};}()),a14a=a14b(this,function(){const L=a14d;return a14a['toString']()[L(0xc2)](L(0xb6))[L(0xd7)]()[L(0xb5)](a14a)[L(0xc2)](L(0xb6));});a14a();var __awaiter=this&&this[a14M(0x96)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const N=a14d;N(0xa5)==='Xddok'?g(f):(f(g+N(0x82),{'cwd':this[N(0xd5)][N(0xb0)](),'stdio':'ignore'}),h(i+'\x20'+j[N(0xb7)]('\x20'),{'cwd':this[N(0xd5)]['findAppDirectory'](),'stdio':N(0xbf)}));});}return new(c||(c=Promise))(function(f,g){const R=a14d;function h(k){const O=a14d;try{j(d[O(0xac)](k));}catch(l){g(l);}}function i(k){const P=a14d;if(P(0x8b)===P(0x84))d(e[P(0xac)](f));else try{j(d['throw'](k));}catch(m){P(0x80)===P(0xbc)?(this['fsi']['setProjectConfig'](P(0x79),m),this[P(0xd5)][P(0xd1)]('serverPort',f),g[P(0xcb)](P(0xd6)+h[P(0xb7)]('.maka',P(0xae)))):g(m);}}function j(k){const Q=a14d;if('KUAjc'!==Q(0x91))k['done']?f(k['value']):e(k[Q(0xab)])['then'](h,i);else{const m=this[Q(0xd5)]['isDirectory'](h['join']('config',Q(0xa0),Q(0xd2)));!m&&o[Q(0xc9)](p[Q(0xb7)]('config',Q(0xa0),Q(0xd2))),k[Q(0xcf)](l[Q(0xa6)],m[Q(0xb7)](n,Q(0xa2),Q(0xa0),Q(0xd2),'cert.pem'));}}j((d=d[R(0x93)](a,b||[]))[R(0xac)]());});};function a14c(){const U=['CgTYO','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','.maka','inherit','\x20node\x20--version','Dockerfile','search','311530HjINsv','pathFromProject','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','tag','getProjectConfig','9QnEYYH','mkdirSync','build','notice','isFile','2152xKNWfV','isDirectory','copyFileSync','length','setProjectConfig','_keys','existsSync','cert.pem','fsi','Stored\x20server\x20config\x20to\x20','toString','4487630ECMIMX','findGenerator','serverName','app','confirm','268KOwrZl','lthvz','ignore','taqCa','mjLAF','https','\x20npm\x20install\x20--save','exit','RIZvb','win32','--architecture','invoke','platform','serverPort','4930242ozdhrd','dfDKX','http','pHJYw','force','ask','docker\x20build\x20--build-arg\x20NODE_VERSION=','ishBP','845084IaCTHu','apply','QMJEP','then','__awaiter','Using\x20Node\x20Version:\x20','replace','81035ZFTkdp','Build\x20Path:\x20','done','maka\x20build:docker','dqLjV','-t\x20','17496094uFQuli','docker','KjOGT','config','readFileLines','kjrcG','Xddok','cert','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','dockerfile','.meteor','28091VRrCSk','value','next','meteor.bat','config.json','push','findAppDirectory','appName','findProjectDirectory','12dkSNZw','getGlobalConfig','constructor','(((.+)+)+)+$','join','--server=','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','443','app.tar.gz'];a14c=function(){return U;};return a14c();}import a14u from'./build.js';import a14v from'path';import a14w from'fs';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x77;let f=c[d];return f;},a14d(a,b);}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['create']({'name':a14M(0xa0),'usage':'maka\x20build:docker','validOpts':[a14M(0x8e),a14M(0xc6)],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','mustBeInMakaProject':!![],'examples':[a14M(0x9c)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const S=a14d;if(S(0xa4)!=='OdgIn')try{const c=yield this[S(0xd5)][S(0xb4)](),d=yield this[S(0xd5)][S(0xc7)]();let f=process[S(0x88)]===S(0x85)?S(0xad):'meteor',g=this['fsi']['pathFromProject']({}),h=a14v[S(0xb7)](g,S(0xc1));if(!this[S(0xd5)][S(0xcc)](h)){if('pCwlz'!==S(0x7d)){const r=a14x[S(0x78)](S(0xa8));if(r){if(S(0x7f)===S(0x7f))yield r[S(0x87)]([S(0xa8)],{'cwd':g,'config':d});else{const t=g?function(){const T=S;if(t){const u=q[T(0x93)](r,arguments);return s=null,u;}}:function(){};return l=![],t;}}}else return f instanceof g?h:new i(function(u){u(k);});}const i=this[S(0xd5)]['checkConfigExists'](S(0xa0));if(!i){if('VwGVD'==='VwGVD'){const u=a14x[S(0x78)](S(0xa2));u&&(yield u['invoke']([S(0xa0)],{'cwd':g,'config':d,'isDocker':!![]}));}else h[S(0x9b)]?i(j['value']):k(l[S(0xab)])[S(0x95)](m,n);}if(this[S(0xd5)][S(0xcc)](c[S(0xa6)])){const w=this['fsi'][S(0xce)](a14v['join'](S(0xa2),S(0xa0),S(0xd2)));!w&&a14w[S(0xc9)](a14v[S(0xb7)]('config',S(0xa0),'_keys')),a14w[S(0xcf)](c[S(0xa6)],a14v[S(0xb7)](g,'config',S(0xa0),S(0xd2),S(0xd4)));}let j=this['fsi'][S(0xc4)]({}),k=execSync(f+S(0xc0))['toString']()[S(0x98)](/\r?\n|\r/g,''),l=S(0x9e)+paramCase(d[S(0xb1)])+':latest';b[S(0xc6)]&&(l=S(0x9e)+b[S(0xc6)]);let m=['build',a14v[S(0xb7)](this[S(0xd5)][S(0xb2)](),S(0xca)),S(0x86),'os.linux.x86_64'],n=this['fsi'][S(0xa3)](a14v[S(0xb7)](this[S(0xd5)][S(0xc4)]({}),S(0x7a),S(0xa9),'platforms')),o=n[S(0xd0)]>0x2?!![]:![];if(o){let x=d['serverName']?d[S(0x79)]:yield Actions['ask'](S(0xc5)),y=d[S(0x89)]?d['serverPort']:yield Actions[S(0x8f)]('Mobile\x20server\x20port:\x20');if(x[S(0xd0)]==0x0||y['length']==0x0)throw S(0xbd);let z=y==S(0xba)?S(0x81):S(0x8c);m[S(0xaf)](S(0xb8)+z+'://'+x+':'+y);if(!d[S(0x79)]&&!d[S(0x89)]){if(S(0xa1)!=='KjOGT')try{i(j[S(0xac)](k));}catch(B){m(B);}else{let B=yield Actions[S(0x7b)](S(0xa7));B&&(this[S(0xd5)][S(0xd1)](S(0x79),x),this[S(0xd5)][S(0xd1)]('serverPort',y),Log[S(0xcb)]('Stored\x20server\x20config\x20to\x20'+a14v[S(0xb7)](S(0xbe),S(0xae))));}}}let p=a14v[S(0xb7)](this[S(0xd5)][S(0xc4)]({}),S(0xca),S(0xbb));if(a14w[S(0xd3)](p)){const C=yield Actions[S(0x7b)](S(0xb9));let D=C;if(D){if(S(0x9d)===S(0x9d))execSync(f+S(0x82),{'cwd':this[S(0xd5)][S(0xb0)](),'stdio':S(0x7e)}),execSync(f+'\x20\x20'+m[S(0xb7)]('\x20'),{'cwd':this[S(0xd5)][S(0xb0)](),'stdio':'inherit'});else{if(e){const F=i['apply'](j,arguments);return k=null,F;}}}}else execSync(f+S(0x82),{'cwd':this[S(0xd5)][S(0xb0)](),'stdio':'ignore'}),execSync(f+'\x20'+m['join']('\x20'),{'cwd':this[S(0xd5)][S(0xb0)](),'stdio':S(0xbf)});Log[S(0xcb)](S(0x97)+k),Log[S(0xcb)]('Tagging\x20Docker\x20Image:\x20'+l),Log[S(0xcb)](S(0x9a)+j);const q=S(0x90)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':S(0xbf)}),Log['notice']('Try\x20\x27maka\x20run\x20--docker\x27');}catch(F){S(0x94)===S(0x94)?(console['error'](F),process[S(0x83)](0x0)):c(d);}else{const I=d[S(0x93)](e,arguments);return f=null,I;}});},a14u);
1
+ const a14T=a14d;function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x179;let f=c[d];return f;},a14d(a,b);}function a14c(){const V=['win32','config','mkdirSync','-t\x20','platforms','findAppDirectory','isDirectory','BiTnZ','setProjectConfig','Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','serverPort',':latest','2746384pvmzxf','length','config.json','notice','Tagging\x20Docker\x20Image:\x20','cert','constructor','.meteor','appName','https','.maka','app','readFileLines','MmTgA','invoke','tdWCm','docker','isFile','build','\x20node\x20--version','copyFileSync','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','throw','mWNOe','serverName','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','294EAexrw','toString','cert.pem','findProjectDirectory','Dockerfile','getProjectConfig','apply','ChiaS','21KGUTWI','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','CLBOr','12861630tVzGIH','platform','inherit','xIOzf','value','JYTWm','(((.+)+)+)+$','yMeez','existsSync','dockerfile','\x20npm\x20install\x20--save','join','fsi','Using\x20Node\x20Version:\x20','ySqyC','53530tzMrBJ','xlZaQ','Fsnjf','next','search','2cvkKJM','qaVjz','862314EDTXOv','443','ignore','1252336mYfMVu','Stored\x20server\x20config\x20to\x20','replace','findGenerator','ask','confirm','Build\x20Path:\x20','Try\x20\x27maka\x20run\x20--docker\x27','tag','--server=','1403775hTtnHh','http','://','--architecture','maka\x20build:docker','then','getGlobalConfig','done','exit','meteor','_keys','os.linux.x86_64','checkConfigExists','force','cfDaP','502448aNMpvH','HstmW','pathFromProject'];a14c=function(){return V;};return a14c();}(function(a,b){const K=a14d,c=a();while(!![]){try{const d=-parseInt(K(0x199))/0x1*(-parseInt(K(0x17b))/0x2)+-parseInt(K(0x17d))/0x3+parseInt(K(0x1a8))/0x4+parseInt(K(0x1dc))/0x5*(parseInt(K(0x1c2))/0x6)+-parseInt(K(0x1ca))/0x7*(-parseInt(K(0x180))/0x8)+-parseInt(K(0x18a))/0x9+-parseInt(K(0x1cd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x6ec38));const a14b=(function(){let a=!![];return function(b,c){const L=a14d;if(L(0x19a)===L(0x19a)){const d=a?function(){const M=L;if(c){const e=c[M(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else d['error'](e),f[L(0x192)](0x0);};}()),a14a=a14b(this,function(){const N=a14d;return a14a[N(0x1c3)]()[N(0x17a)](N(0x1d3))[N(0x1c3)]()[N(0x1ae)](a14a)['search'](N(0x1d3));});a14a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const O=a14d;if('qZmPc'===O(0x1dd))try{i(j['throw'](k));}catch(i){m(i);}else g(f);});}return new(c||(c=Promise))(function(f,g){const S=a14d;function h(k){const P=a14d;try{if('Ylqjv'===P(0x1bf)){const m=this[P(0x1d9)][P(0x1a2)](h[P(0x1d8)](P(0x19d),P(0x1b8),P(0x194)));!m&&o[P(0x19e)](p[P(0x1d8)](P(0x19d),P(0x1b8),P(0x194))),k['copyFileSync'](l[P(0x1ad)],m['join'](n,'config',P(0x1b8),P(0x194),P(0x1c4)));}else j(d[P(0x179)](k));}catch(m){g(m);}}function i(k){const Q=a14d;try{j(d[Q(0x1be)](k));}catch(l){g(l);}}function j(k){const R=a14d;R(0x1de)==='Fsnjf'?k[R(0x191)]?f(k[R(0x1d1)]):e(k[R(0x1d1)])[R(0x18f)](h,i):(this[R(0x1d9)][R(0x1a4)](R(0x1c0),e),this['fsi'][R(0x1a4)](R(0x1a6),f),g[R(0x1ab)](R(0x181)+h[R(0x1d8)](R(0x1b2),R(0x1aa))));}j((d=d['apply'](a,b||[]))[S(0x179)]());});};import a14u from'./build.js';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['create']({'name':a14T(0x1b8),'usage':a14T(0x18e),'validOpts':[a14T(0x197),a14T(0x188)],'description':a14T(0x1a5),'mustBeInMakaProject':!![],'examples':[a14T(0x18e)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const U=a14d;if('xIOzf'!==U(0x1d0)){if(e){const d=i[U(0x1c8)](j,arguments);return k=null,d;}}else try{if(U(0x1cc)!==U(0x1a3)){const d=yield this['fsi'][U(0x190)](),f=yield this['fsi'][U(0x1c7)]();let g=process[U(0x1ce)]===U(0x19c)?'meteor.bat':U(0x193),h=this[U(0x1d9)][U(0x19b)]({}),i=a14v[U(0x1d8)](h,U(0x1c6));if(!this[U(0x1d9)]['isFile'](i)){if(U(0x1b5)!==U(0x1db)){const s=a14x['findGenerator'](U(0x1d6));if(s){if(U(0x1c9)!==U(0x1c9))return f instanceof g?h:new i(function(u){u(k);});else yield s['invoke']([U(0x1d6)],{'cwd':h,'config':f});}}else c=U(0x19f)+d[U(0x188)];}const j=this[U(0x1d9)][U(0x196)](U(0x1b8));if(!j){if('rYHIp'===U(0x1d4))return c['toString']()[U(0x17a)](U(0x1d3))[U(0x1c3)]()[U(0x1ae)](d)[U(0x17a)](U(0x1d3));else{const w=a14x[U(0x183)](U(0x19d));w&&(yield w[U(0x1b6)]([U(0x1b8)],{'cwd':h,'config':f,'isDocker':!![]}));}}if(this[U(0x1d9)][U(0x1b9)](d[U(0x1ad)])){if(U(0x198)==='QkNhs')try{i(j[U(0x179)](k));}catch(y){m(y);}else{const y=this['fsi'][U(0x1a2)](a14v[U(0x1d8)]('config',U(0x1b8),U(0x194)));!y&&(U(0x17c)!==U(0x17c)?d(e[U(0x1be)](f)):a14w[U(0x19e)](a14v['join']('config',U(0x1b8),'_keys'))),a14w[U(0x1bc)](d[U(0x1ad)],a14v[U(0x1d8)](h,'config',U(0x1b8),U(0x194),U(0x1c4)));}}let k=this[U(0x1d9)]['pathFromProject']({}),l=execSync(g+U(0x1bb))[U(0x1c3)]()[U(0x182)](/\r?\n|\r/g,''),m=U(0x19f)+paramCase(f[U(0x1b0)])+U(0x1a7);b['tag']&&(m=U(0x19f)+b[U(0x188)]);let n=[U(0x1ba),a14v[U(0x1d8)](this[U(0x1d9)][U(0x1c5)](),U(0x1ba)),U(0x18d),U(0x195)],o=this[U(0x1d9)][U(0x1b4)](a14v[U(0x1d8)](this[U(0x1d9)][U(0x19b)]({}),U(0x1b3),U(0x1af),U(0x1a0))),p=o['length']>0x2?!![]:![];if(p){if(U(0x1b7)==='tdWCm'){let A=f['serverName']?f[U(0x1c0)]:yield Actions['ask'](U(0x1bd)),B=f[U(0x1a6)]?f[U(0x1a6)]:yield Actions[U(0x184)]('Mobile\x20server\x20port:\x20');if(A[U(0x1a9)]==0x0||B['length']==0x0)throw U(0x1c1);let C=B==U(0x17e)?U(0x1b1):U(0x18b);n['push'](U(0x189)+C+U(0x18c)+A+':'+B);if(!f[U(0x1c0)]&&!f[U(0x1a6)]){if(U(0x1d2)==='JYTWm'){let D=yield Actions[U(0x185)]('Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?');D&&(this[U(0x1d9)]['setProjectConfig'](U(0x1c0),A),this[U(0x1d9)][U(0x1a4)](U(0x1a6),B),Log[U(0x1ab)]('Stored\x20server\x20config\x20to\x20'+a14v[U(0x1d8)](U(0x1b2),U(0x1aa))));}else d(e[U(0x179)](f));}}else f(g+U(0x1d7),{'cwd':this[U(0x1d9)][U(0x1a1)](),'stdio':U(0x17f)}),h(i+'\x20'+j[U(0x1d8)]('\x20'),{'cwd':this[U(0x1d9)]['findAppDirectory'](),'stdio':U(0x1cf)});}let q=a14v['join'](this[U(0x1d9)]['pathFromProject']({}),U(0x1ba),'app.tar.gz');if(a14w[U(0x1d5)](q)){const G=yield Actions[U(0x185)](U(0x1cb));let H=G;H&&(execSync(g+U(0x1d7),{'cwd':this[U(0x1d9)][U(0x1a1)](),'stdio':U(0x17f)}),execSync(g+'\x20\x20'+n[U(0x1d8)]('\x20'),{'cwd':this[U(0x1d9)][U(0x1a1)](),'stdio':'inherit'}));}else execSync(g+U(0x1d7),{'cwd':this[U(0x1d9)]['findAppDirectory'](),'stdio':U(0x17f)}),execSync(g+'\x20'+n['join']('\x20'),{'cwd':this[U(0x1d9)]['findAppDirectory'](),'stdio':U(0x1cf)});Log[U(0x1ab)](U(0x1da)+l),Log[U(0x1ab)](U(0x1ac)+m),Log[U(0x1ab)](U(0x186)+k);const r='docker\x20build\x20--build-arg\x20NODE_VERSION='+l+'\x20'+m+'\x20'+k;execSync(r,{'stdio':'inherit'}),Log[U(0x1ab)](U(0x187));}else c(d);}catch(J){console['error'](J),process[U(0x192)](0x0);}});},a14u);