@maka/maka-cli 4.13.5 → 4.13.6

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 (163) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "4.13.5",
3
+ "version": "4.13.6",
4
4
  "type": "module",
5
5
  "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
6
6
  "description": "A command line tool for scaffolding Meteor 2.x applications using React.",
@@ -1 +1 @@
1
- const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0x18b))/0x1*(-parseInt(n(0x14d))/0x2)+parseInt(n(0x156))/0x3*(-parseInt(n(0x18a))/0x4)+parseInt(n(0x187))/0x5+-parseInt(n(0x167))/0x6*(-parseInt(n(0x169))/0x7)+-parseInt(n(0x17d))/0x8+-parseInt(n(0x13f))/0x9*(-parseInt(n(0x186))/0xa)+-parseInt(n(0x171))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xb56f5));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x166)]()['search'](p(0x14e))['toString']()[p(0x173)](a0a)[p(0x176)](p(0x14e));});function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x13f;let f=c[d];return f;},a0d(a,b);}a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';function a0c(){const A=['11358032JiSiTi','_commands','push','create','usage','mustHaveMeteorInstalled','notice','Command\x20','Name','6303170iSKDTs','5834280cJjXsj','call','tableList','4BQbJAr','11vKGZUI','murder','Command\x20format\x20is\x20incorrect','validateParams','\x20not\x20found','apply','9zsXyEc','Command\x20requires\x20a\x20name','run','There\x20is\x20no\x20Meteor\x20application\x20here','maxOptsLength','validateUserIsLoggedIn','bright','mustBeInMakaProject','getGlobalConfig','error','minOptsLength','Command\x20not\x20found','function','generate','215126odFAEA','(((.+)+)+)+$','maybeProxyCommandToMeteor','keys','find','fsi','join','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','name','418929cDEAMO','addCommand\x20requires\x20a\x20Command\x20instance','Command.create\x20requires\x20a\x20handler\x20function!','match','minArgLength','localeCompare','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','number','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','length','bind','setColorMode','shortDesc','mustBeLoggedIn','LIGHT','maxArgLength','toString','740760pIKsuM','Too\x20few\x20options','7qSzyUJ','DARK','validateMakaSubscription','Command\x20requires\x20a\x20handler\x20function','pallet','exit','Too\x20many\x20options','aliases','8813992QWqJuP','Please\x20run\x20\x22maka\x20install\x20meteor\x22','constructor','_handler','options','search','slice','Please\x20run\x20\x22maka\x20login\x22','Description','addCommand','Alias','validateMakaProject'];a0c=function(){return A;};return a0c();}export class Command extends Tool{[a0q(0x175)];[a0q(0x17e)];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0x15e));if(!a[r(0x155)])throw new Error(r(0x140));if(typeof b!==r(0x14b))throw new Error(r(0x16c));this[r(0x175)]=Object['assign']({},a),this[r(0x155)]=this[r(0x175)]['name'],this[r(0x17e)]=[],this['_handler']=b[r(0x160)](this);}static[a0q(0x180)](a,b,c){const s=a0q;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!==s(0x14b))throw new Error(s(0x158));const d=new Command(a,b);return c=c||a0f,Object['assign'](d,{'parent':c?.[s(0x175)]?.['name']}),c[s(0x17a)](d),d;}[a0q(0x17a)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0x157));this['_commands'][t(0x17f)](a);}async[a0q(0x141)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this[u(0x152)][u(0x147)](),d=c[u(0x16d)]==='light'?ColorMode[u(0x164)]:ColorMode[u(0x16a)];Log[u(0x161)](d),await this[u(0x16b)](this);}catch(f){Log[u(0x148)](f),process[u(0x16e)](0x0);}return await this['invoke'](a,b);}catch(g){process['exit'](0x1);}}async['invoke'](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{if(this[v(0x175)]['name']!==v(0x14c)){if(!isRoot){const f=(a[0x0]===_prevCmd||a[v(0x15f)]===0x0)&&this[v(0x17e)][v(0x15f)]>=0x0,g=b['help']||b['h'];if(f&&g){if(this[v(0x17e)]['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!g){if(this[v(0x175)][v(0x146)]){const h=this[v(0x17c)]();if(!h)throw new MustBeInProjectError();}if(this[v(0x175)][v(0x163)]){const i=await this[v(0x144)]();if(!i)throw new MustBeLoggedIn();}if(this[v(0x175)][v(0x182)]){const j=this['validateMeteorInstall']();if(!j)throw new NoMeteorFoundError();}if(typeof this[v(0x175)][v(0x15a)]===v(0x15d)){if(a[v(0x15f)]<this[v(0x175)]['minArgLength']){Log[v(0x148)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[v(0x175)][v(0x165)]==='number'){if(a['length']>=this[v(0x175)][v(0x165)]){Log[v(0x148)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[v(0x175)][v(0x149)]===v(0x15d)){if(Object[v(0x150)](b)[v(0x15f)]<this[v(0x175)][v(0x149)]){Log[v(0x148)](v(0x168));throw new UsageError();}}if(typeof this['options']['maxOptsLength']===v(0x15d)){if(Object[v(0x150)](b)[v(0x15f)]>=this['options'][v(0x143)]){Log[v(0x148)](v(0x16f));throw new UsageError();}}}}b=await this[v(0x18e)](a,b,this['options']),_prevCmd=a[0x0];}return await this[v(0x174)][v(0x188)](this,a,b);}catch(k){Log[v(0x181)](description,examples,usage,c,requiredOpts,d);if(k instanceof UsageErrorWithSubs)Log[v(0x183)]('Sub-Commands:'),this[v(0x189)](this['_commands']),Log['header'](v(0x15c));else{if(k instanceof MustBeInProjectError)Log['error']('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command');else{if(k instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[v(0x183)](v(0x172));else{if(k instanceof NoMeteorAppFoundError)Log['error'](v(0x142));else k instanceof MustBeLoggedIn&&(Log[v(0x148)](v(0x154)),Log['notice'](v(0x178)));}}}process[v(0x16e)](0x1);}}['tableList'](a){const w=a0q,b=new a0e({});b[w(0x17f)]([w(0x185),w(0x17b),w(0x179)]),a['sort']((c,d)=>{const x=w;return c[x(0x155)][x(0x15b)](d[x(0x155)]);})['forEach'](c=>{const y=w;c[y(0x155)]!==y(0x18c)&&c[y(0x155)]!=='play'&&b[y(0x17f)]([c['name'],c[y(0x170)](),c[y(0x162)]()]);}),Log[w(0x145)](b['toString']());}async['processAndRunCommand'](a,b=[],c={}){const z=a0q;try{const d=a?.['split'](':');if(!d||d['length']===0x0)throw z(0x18d);if(d[0x0]===z(0x14c)||d[0x0]==='g'&&d[z(0x15f)]>0x1){const h=this[z(0x17e)][z(0x151)](j=>j[z(0x159)]('generate'));if(!h)throw z(0x14a);await this[z(0x16b)](h);const i=d[z(0x177)](0x1)[z(0x153)](':');return b['unshift'](i),await h[z(0x141)](b,c);}let f=this['_commands'],g;for(const j of d){g=f[z(0x151)](k=>k[z(0x159)](j));if(!g)try{await this['fsi'][z(0x14f)]();}catch(k){throw z(0x184)+j+z(0x18f);}g&&(await this[z(0x16b)](g),f=g[z(0x17e)]);}if(g){const l=await g['run'](b,c);return l;}else throw z(0x14a);}catch(m){Log[z(0x148)](m),process[z(0x16e)](0x1);}}}
1
+ function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x16c;let f=c[d];return f;},a0d(a,b);}function a0c(){const A=['run','usage','slice','fsi','invoke','toString','DARK','tableList','help','error','mustHaveMeteorInstalled','Command\x20format\x20is\x20incorrect','minOptsLength','search','pallet','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','validateUserIsLoggedIn','_handler','_commands','1834446SotCXE','687968AJsgov','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','Alias','78JqkiIg','Command\x20not\x20found','35SXEKda','There\x20is\x20no\x20Meteor\x20application\x20here','Too\x20many\x20options','create','2238755BOWMQF','maxArgLength','2866023jXoVOt','maxOptsLength','forEach','addCommand\x20requires\x20a\x20Command\x20instance','localeCompare','mustBeLoggedIn','aliases','constructor','4528972GBYYdy','unshift','assign','Please\x20run\x20\x22maka\x20login\x22','LIGHT','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','light','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','maybeProxyCommandToMeteor','Command\x20requires\x20a\x20handler\x20function','murder','mustBeInMakaProject','Too\x20few\x20arguments','validateMakaProject','join','bind','shortDesc','function','push','bright','validateMeteorInstall','number','validateMakaSubscription','generate','Too\x20many\x20arguments','3602TQnERW','name','Sub-Commands:','getGlobalConfig','2366010rfNXgI','minArgLength','validateParams','Too\x20few\x20options','(((.+)+)+)+$','notice','Command\x20requires\x20a\x20name','exit','length','addCommand','find','match','Description','Command\x20','setColorMode','apply','options','keys','split','call'];a0c=function(){return A;};return a0c();}const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x18e))/0x1*(parseInt(n(0x1b7))/0x2)+parseInt(n(0x196))/0x3+-parseInt(n(0x19e))/0x4+-parseInt(n(0x194))/0x5+parseInt(n(0x18a))/0x6*(parseInt(n(0x190))/0x7)+parseInt(n(0x18b))/0x8+-parseInt(n(0x1bb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xd3d34));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x17c)]()['search'](p(0x1bf))[p(0x17c)]()[p(0x19d)](a0a)[p(0x184)]('(((.+)+)+)+$');});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';export class Command extends Tool{['options'];[a0q(0x189)];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0x1a3));if(!a[r(0x1b8)])throw new Error(r(0x1c1));if(typeof b!==r(0x1af))throw new Error(r(0x1a7));this[r(0x173)]=Object['assign']({},a),this['name']=this[r(0x173)][r(0x1b8)],this[r(0x189)]=[],this[r(0x188)]=b[r(0x1ad)](this);}static[a0q(0x193)](a,b,c){const s=a0q;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!==s(0x1af))throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');const d=new Command(a,b);return c=c||a0f,Object[s(0x1a0)](d,{'parent':c?.[s(0x173)]?.[s(0x1b8)]}),c[s(0x16c)](d),d;}[a0q(0x16c)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0x199));this[t(0x189)][t(0x1b0)](a);}async[a0q(0x177)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this[u(0x17a)][u(0x1ba)](),d=c[u(0x185)]===u(0x1a4)?ColorMode[u(0x1a2)]:ColorMode[u(0x17d)];Log[u(0x171)](d),await this[u(0x1b4)](this);}catch(f){Log['error'](f),process[u(0x1c2)](0x0);}return await this[u(0x17b)](a,b);}catch(g){process[u(0x1c2)](0x1);}}async[a0q(0x17b)](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d}=this[v(0x173)];try{if(this['options'][v(0x1b8)]!==v(0x1b5)){if(!isRoot){const f=(a[0x0]===_prevCmd||a[v(0x1c3)]===0x0)&&this[v(0x189)][v(0x1c3)]>=0x0,g=b[v(0x17f)]||b['h'];if(f&&g){if(this[v(0x189)][v(0x1c3)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!g){if(this[v(0x173)][v(0x1a9)]){const h=this[v(0x1ab)]();if(!h)throw new MustBeInProjectError();}if(this[v(0x173)][v(0x19b)]){const i=await this[v(0x187)]();if(!i)throw new MustBeLoggedIn();}if(this[v(0x173)][v(0x181)]){const j=this[v(0x1b2)]();if(!j)throw new NoMeteorFoundError();}if(typeof this['options'][v(0x1bc)]===v(0x1b3)){if(a[v(0x1c3)]<this['options'][v(0x1bc)]){Log['error'](v(0x1aa));throw new UsageError();}}if(typeof this[v(0x173)][v(0x195)]==='number'){if(a[v(0x1c3)]>=this[v(0x173)][v(0x195)]){Log[v(0x180)](v(0x1b6));throw new UsageError();}}if(typeof this[v(0x173)][v(0x183)]===v(0x1b3)){if(Object[v(0x174)](b)[v(0x1c3)]<this[v(0x173)]['minOptsLength']){Log['error'](v(0x1be));throw new UsageError();}}if(typeof this['options'][v(0x197)]===v(0x1b3)){if(Object[v(0x174)](b)[v(0x1c3)]>=this['options'][v(0x197)]){Log[v(0x180)](v(0x192));throw new UsageError();}}}}b=await this[v(0x1bd)](a,b,this[v(0x173)]),_prevCmd=a[0x0];}return await this[v(0x188)][v(0x176)](this,a,b);}catch(k){Log[v(0x178)](description,examples,usage,c,requiredOpts,d);if(k instanceof UsageErrorWithSubs)Log['notice'](v(0x1b9)),this[v(0x17e)](this[v(0x189)]),Log['header'](v(0x1a5));else{if(k instanceof MustBeInProjectError)Log[v(0x180)](v(0x18c));else{if(k instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[v(0x1c0)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(k instanceof NoMeteorAppFoundError)Log[v(0x180)](v(0x191));else k instanceof MustBeLoggedIn&&(Log[v(0x180)](v(0x186)),Log[v(0x1c0)](v(0x1a1)));}}}process[v(0x1c2)](0x1);}}[a0q(0x17e)](a){const w=a0q,b=new a0e({});b[w(0x1b0)](['Name',w(0x18d),w(0x16f)]),a['sort']((c,d)=>{const x=w;return c[x(0x1b8)][x(0x19a)](d[x(0x1b8)]);})[w(0x198)](c=>{const y=w;c[y(0x1b8)]!==y(0x1a8)&&c[y(0x1b8)]!=='play'&&b[y(0x1b0)]([c[y(0x1b8)],c[y(0x19c)](),c[y(0x1ae)]()]);}),Log[w(0x1b1)](b['toString']());}async['processAndRunCommand'](a,b=[],c={}){const z=a0q;try{const d=a?.[z(0x175)](':');if(!d||d[z(0x1c3)]===0x0)throw z(0x182);if(d[0x0]===z(0x1b5)||d[0x0]==='g'&&d[z(0x1c3)]>0x1){const h=this[z(0x189)]['find'](j=>j['match']('generate'));if(!h)throw z(0x18f);await this[z(0x1b4)](h);const i=d[z(0x179)](0x1)[z(0x1ac)](':');return b[z(0x19f)](i),await h['run'](b,c);}let f=this['_commands'],g;for(const j of d){g=f[z(0x16d)](k=>k[z(0x16e)](j));if(!g)try{await this[z(0x17a)][z(0x1a6)]();}catch(k){throw z(0x170)+j+'\x20not\x20found';}g&&(await this[z(0x1b4)](g),f=g[z(0x189)]);}if(g){const l=await g[z(0x177)](b,c);return l;}else throw z(0x18f);}catch(m){Log[z(0x180)](m),process[z(0x1c2)](0x1);}}}
@@ -1 +1 @@
1
- (function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(0xb4))/0x1+-parseInt(f(0xb3))/0x2+-parseInt(f(0xb0))/0x3+-parseInt(f(0xaf))/0x4+-parseInt(f(0xb6))/0x5*(-parseInt(f(0xb5))/0x6)+-parseInt(f(0xb8))/0x7*(-parseInt(f(0xb2))/0x8)+parseInt(f(0xb9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xc8686));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0xb7)]()[h(0xae)]('(((.+)+)+)+$')[h(0xb7)]()['constructor'](a1a)[h(0xae)]('(((.+)+)+)+$');});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xae;var f=c[d];return f;},a1d(a,b);}import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';function a1c(){var i=['3249508jLsSMM','27093cQehCK','apply','232xgAFHm','1676194BKCzMJ','213012UUrqZe','5892XCvEyh','5590yadFEx','toString','207550ieeMuG','6620949IMsnsm','search'];a1c=function(){return i;};return a1c();}import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./register.js';import'./patreon.js';import'./profile.js';
1
+ (function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(0xeb))/0x1+-parseInt(f(0xee))/0x2+-parseInt(f(0xe4))/0x3+parseInt(f(0xf0))/0x4+-parseInt(f(0xe8))/0x5*(-parseInt(f(0xe7))/0x6)+parseInt(f(0xe3))/0x7+parseInt(f(0xe9))/0x8*(-parseInt(f(0xe6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x60b48));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0xed)]()[h(0xef)](h(0xe5))[h(0xed)]()[h(0xec)](a1a)[h(0xef)](h(0xe5));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';function a1c(){var i=['8ecNiuB','apply','136399CgrCEB','constructor','toString','262430uwyrMu','search','2339728TeJqyz','2071902QfnfCA','395133iHGhZK','(((.+)+)+)+$','5298903fvXYXh','1509834tXGCsU','10qIcBje'];a1c=function(){return i;};return a1c();}import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xe3;var f=c[d];return f;},a1d(a,b);}import'./undo.js';import'./register.js';import'./patreon.js';import'./profile.js';
@@ -1 +1 @@
1
- const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x1a3))/0x1*(parseInt(h(0x1c0))/0x2)+parseInt(h(0x1a2))/0x3+-parseInt(h(0x1ca))/0x4+parseInt(h(0x1b6))/0x5+parseInt(h(0x1af))/0x6+-parseInt(h(0x1bf))/0x7+parseInt(h(0x1b7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xb5915));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x1c8)]()[j(0x1a4)](j(0x1be))['toString']()['constructor'](a2a)[j(0x1a4)](j(0x1be));});a2a();function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a2d(a,b);}import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';function a2c(){const o=['question','toLowerCase','Using\x20CA\x20Cert\x20','stdout','trim','fsi','error','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','stdin','1010544XDoKSV','choices','Using\x20OpenAI\x20Key\x20','bright','create','exit','cert','6027965YvvsXd','9775200HUNzNW','message','getGlobalConfig','notice','cacert','ChatGPT\x20style\x20AI\x20interface','openai','(((.+)+)+)+$','2741480MTSCIH','733222RmxVqI','close','openapikey','createInterface','text','askGPT','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','toString','data','5326592yfdWDW','apply','isFile','713049OHKUHu','1mFagCa','search','parse'];a2c=function(){return o;};return a2c();}const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e[k(0x1c3)]({'input':process[k(0x1ae)],'output':process[k(0x1a9)]});c[k(0x1a6)]('You:\x20',async d=>{const l=k;if(d[l(0x1a7)]()==='exit'){c[l(0x1c1)]();return;}try{const e=await HTTPS[l(0x1c5)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x1a5)](e[l(0x1c9)]);if(f[l(0x1ac)])throw new Error(f[l(0x1ac)][l(0x1b8)]);Log['bright']('GPT:\x20'+f?.[l(0x1b0)][0x0]?.[l(0x1c4)][l(0x1aa)]());}catch(g){Log[l(0x1ac)](g),process[l(0x1b4)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x1b3)]({'name':'ai','description':a2m(0x1bc),'validOpts':['cacert',a2m(0x1c2)],'shortDesc':'ChatGPT\x20style\x20AI\x20interface','isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0x1bb)]&&(this['fsi'][n(0x1cc)](b[n(0x1bb)])?(c=b['cacert'],Log[n(0x1ba)](n(0x1a8)+c)):Log[n(0x1ac)](n(0x1ad)+c));const d=await this['fsi'][n(0x1b9)]();if(d[n(0x1b5)]){if(this[n(0x1ab)]['isFile'](d['cert']))c=d[n(0x1b5)];else throw Log[n(0x1ac)](n(0x1c7)+c);}let f='';if(b[n(0x1c2)])f=b[n(0x1c2)],Log['notice'](n(0x1b1)+f);else{if(d[n(0x1bd)])f=d['openai'];else throw Log['error']('OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json');}Log[n(0x1b2)](n(0x1c6)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x1ac)](g),process['exit'](0x1);}});
1
+ const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0xa3))/0x1+parseInt(h(0xb3))/0x2+parseInt(h(0xa6))/0x3*(parseInt(h(0xaf))/0x4)+parseInt(h(0xb6))/0x5+parseInt(h(0x99))/0x6*(parseInt(h(0xb9))/0x7)+-parseInt(h(0xb0))/0x8+parseInt(h(0xb4))/0x9*(-parseInt(h(0xb2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x8eab0));function a2c(){const o=['createInterface','search','4pmGnaH','2009248iuXbrs','constructor','1128410QYJBKv','1737404rWsNrn','63EasoTU','apply','3015425cfADHA','stdin','create','91BAAhpl','exit','getGlobalConfig','choices','ChatGPT\x20style\x20AI\x20interface','toString','54756XhEGuI','close','askGPT','toLowerCase','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','trim','error','openapikey','openai','stdout','845687hizepA','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','fsi','2642019dDZwLX','cacert','cert','notice','isFile','Using\x20CA\x20Cert\x20','GPT:\x20'];a2c=function(){return o;};return a2c();}const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x98)]()[j(0xae)]('(((.+)+)+)+$')[j(0x98)]()[j(0xb1)](a2a)[j(0xae)]('(((.+)+)+)+$');});a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x95;let f=c[d];return f;},a2d(a,b);}import{Log}from'../tools/log/log.class.js';import a2e from'readline';const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e[k(0xad)]({'input':process[k(0xb7)],'output':process[k(0xa2)]});c['question']('You:\x20',async d=>{const l=k;if(d[l(0x9c)]()===l(0xba)){c[l(0x9a)]();return;}try{const e=await HTTPS[l(0x9b)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON['parse'](e['data']);if(f['error'])throw new Error(f[l(0x9f)]['message']);Log['bright'](l(0xac)+f?.[l(0x96)][0x0]?.['text'][l(0x9e)]());}catch(g){Log[l(0x9f)](g),process[l(0xba)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0xb8)]({'name':'ai','description':'ChatGPT\x20style\x20AI\x20interface','validOpts':[a2m(0xa7),a2m(0xa0)],'shortDesc':a2m(0x97),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b['cacert']&&(this[n(0xa5)][n(0xaa)](b[n(0xa7)])?(c=b['cacert'],Log[n(0xa9)](n(0xab)+c)):Log[n(0x9f)](n(0x9d)+c));const d=await this[n(0xa5)][n(0x95)]();if(d[n(0xa8)]){if(this[n(0xa5)][n(0xaa)](d[n(0xa8)]))c=d[n(0xa8)];else throw Log[n(0x9f)](n(0xa4)+c);}let f='';if(b[n(0xa0)])f=b[n(0xa0)],Log[n(0xa9)]('Using\x20OpenAI\x20Key\x20'+f);else{if(d['openai'])f=d[n(0xa1)];else throw Log[n(0x9f)]('OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json');}Log['bright']('Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.'),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process['exit'](0x1);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x9b))/0x1+-parseInt(f(0x9d))/0x2+parseInt(f(0x99))/0x3*(parseInt(f(0x96))/0x4)+parseInt(f(0x95))/0x5*(-parseInt(f(0xa0))/0x6)+parseInt(f(0x91))/0x7*(-parseInt(f(0x94))/0x8)+-parseInt(f(0x9e))/0x9*(parseInt(f(0x9f))/0xa)+parseInt(f(0x9a))/0xb*(parseInt(f(0x9c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x473e9));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x90)]()[h(0x97)](h(0x93))[h(0x90)]()[h(0x92)](a3a)[h(0x97)]('(((.+)+)+)+$');});a3a();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'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';function a3c(){var i=['32284YYXQcT','constructor','(((.+)+)+)+$','648wBiihp','31595ZTQFEQ','196RPfWKY','search','apply','13863tESzvs','6958611lEFBLr','21575BvPQgr','24QhvIPn','325882tpGoTU','9oXpgRg','2057150aCGapG','414dRFWsU','toString'];a3c=function(){return i;};return a3c();}function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x90;var f=c[d];return f;},a3d(a,b);}import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
1
+ (function(a,b){var f=a3d,c=a();while(!![]){try{var d=parseInt(f(0x147))/0x1*(parseInt(f(0x14d))/0x2)+parseInt(f(0x14b))/0x3*(parseInt(f(0x151))/0x4)+parseInt(f(0x150))/0x5+parseInt(f(0x14f))/0x6*(-parseInt(f(0x153))/0x7)+-parseInt(f(0x148))/0x8+parseInt(f(0x14a))/0x9+-parseInt(f(0x145))/0xa*(parseInt(f(0x14c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x34c77));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x154)]()[h(0x149)]('(((.+)+)+)+$')[h(0x154)]()[h(0x146)](a3a)[h(0x149)](h(0x152));});a3a();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'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';function a3c(){var i=['288891pSrgTY','4085389koThmp','18ppNKJP','apply','6WuEGzu','1958130UgtTsr','8xzibkN','(((.+)+)+)+$','1172318fXusjF','toString','10AOBjkl','constructor','43712TgMitJ','2910000qMuSmT','search','1270602fFpbio'];a3c=function(){return i;};return a3c();}import'./cecr.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x145;var f=c[d];return f;},a3d(a,b);}import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
@@ -1 +1 @@
1
- const a4i=a4d;function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a4d(a,b);}(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0x1b8))/0x1+-parseInt(f(0x1ba))/0x2+parseInt(f(0x1b9))/0x3+parseInt(f(0x1ad))/0x4+parseInt(f(0x1b4))/0x5+parseInt(f(0x1b1))/0x6+parseInt(f(0x1b0))/0x7*(-parseInt(f(0x1b7))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x49d5b));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x1b5)]()[h(0x1bb)](h(0x1b2))[h(0x1b5)]()[h(0x1b6)](a4a)[h(0x1bb)](h(0x1b2));});a4a();function a4c(){const j=['600672JtSSzF','535799AeBLEL','1573617REuPyY','170694lOnOSd','search','aws','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','create','1148160ipyluX','apply','maka\x20aws:<sub-command>','42KkijZi','1049178vmRjUt','(((.+)+)+)+$','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','1938175NjtQSF','toString','constructor'];a4c=function(){return j;};return a4c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x1ac)]({'name':a4i(0x1bc),'usage':a4i(0x1af),'validOpts':[],'shortDesc':a4i(0x1b3),'description':a4i(0x1ab)},async function(){throw UsageError;});export default AWSCommand;
1
+ const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0x1ec))/0x1+parseInt(f(0x1f2))/0x2+parseInt(f(0x1f5))/0x3*(parseInt(f(0x1ed))/0x4)+-parseInt(f(0x1f4))/0x5+parseInt(f(0x1e8))/0x6+-parseInt(f(0x1f7))/0x7*(parseInt(f(0x1ef))/0x8)+parseInt(f(0x1ee))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xd7b08));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x1ea)]()[h(0x1f3)](h(0x1e9))[h(0x1ea)]()[h(0x1f0)](a4a)['search'](h(0x1e9));});a4a();function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a4d(a,b);}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x1eb)]({'name':'aws','usage':a4i(0x1f8),'validOpts':[],'shortDesc':a4i(0x1f6),'description':'\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20'},async function(){throw UsageError;});export default AWSCommand;function a4c(){const j=['37478ShcpwI','maka\x20aws:<sub-command>','9438468LlSJCC','(((.+)+)+)+$','toString','create','1510259ritsoJ','3124316EHSSxz','4802769aKFPfP','1208BwXvTd','constructor','apply','88692VlNvPP','search','2555230ueqOSl','6RyJrjX','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs'];a4c=function(){return j;};return a4c();}
@@ -1 +1 @@
1
- function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x65;let f=c[d];return f;},a5d(a,b);}const a5i=a5d;function a5c(){const k=['repository','cecr','Repository\x20created\x20successfully.','success','name','httpStatusCode','902128RTIWVM','Repository\x20URI:\x20','$metadata','toString','142oiRizO','2574114WhzHwg','maka\x20aws:cecr\x20--name=my-new-repo','search','error','(((.+)+)+)+$','2772672lWDXCt','6468eeZNoi','create-ecr','ecrCreateRepository','3020765grzgJz','135308TTdgms','constructor','Create\x20an\x20Elastic\x20Container\x20Repository','exit','repositoryUri','1789900qZkCBT'];a5c=function(){return k;};return a5c();}(function(a,b){const g=a5d,c=a();while(!![]){try{const d=-parseInt(g(0x79))/0x1+-parseInt(g(0x6e))/0x2*(-parseInt(g(0x75))/0x3)+parseInt(g(0x7e))/0x4+parseInt(g(0x78))/0x5+-parseInt(g(0x6f))/0x6+-parseInt(g(0x74))/0x7+parseInt(g(0x6a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x572b7));const a5b=(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;};}()),a5a=a5b(this,function(){const h=a5d;return a5a[h(0x6d)]()['search'](h(0x73))[h(0x6d)]()[h(0x7a)](a5a)[h(0x71)]('(((.+)+)+)+$');});a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a5i(0x76),'aliases':[a5i(0x65)],'usage':'maka\x20aws:create-ecr','requiredOpts':[a5i(0x68)],'validOpts':['region'],'shortDesc':a5i(0x7b),'examples':['maka\x20aws:create-ecr\x20--name=my-new-repo',a5i(0x70),'maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1']},async function(a,b){const j=a5i;try{const c=new AWS(),d=await c[j(0x77)](b);d&&d[j(0x6c)][j(0x69)]===0xc8&&d[j(0x7f)]?(Log[j(0x67)](j(0x66)),Log['notice'](j(0x6b)+d[j(0x7f)][j(0x7d)])):Log[j(0x72)]('Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.'),process[j(0x7c)](0x0);}catch(f){Log[j(0x72)](f),process[j(0x7c)](0x1);}},a5e);
1
+ const a5i=a5d;function a5c(){const k=['maka\x20aws:create-ecr\x20--name=my-new-repo','490OnDhvV','name','repository','success','Create\x20an\x20Elastic\x20Container\x20Repository','51594UYBlXK','345312MpRHic','1991154QpckGx','1170MYiTGA','6088310dtVXVx','create-ecr','search','Repository\x20created\x20successfully.','ecrCreateRepository','Repository\x20URI:\x20','831486DtAmso','29816AXXGqZ','toString','constructor','region','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','maka\x20aws:cecr\x20--name=my-new-repo','$metadata','25268cZpRFA','cecr','35eSgbyd','notice','exit','(((.+)+)+)+$'];a5c=function(){return k;};return a5c();}function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a5d(a,b);}(function(a,b){const g=a5d,c=a();while(!![]){try{const d=parseInt(g(0x1b7))/0x1+parseInt(g(0x1b8))/0x2+parseInt(g(0x1c0))/0x3+parseInt(g(0x1c8))/0x4*(-parseInt(g(0x1b1))/0x5)+-parseInt(g(0x1b6))/0x6*(-parseInt(g(0x1ac))/0x7)+-parseInt(g(0x1c1))/0x8*(-parseInt(g(0x1b9))/0x9)+-parseInt(g(0x1ba))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xe009b));const a5b=(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;};}()),a5a=a5b(this,function(){const h=a5d;return a5a[h(0x1c2)]()[h(0x1bc)](h(0x1af))[h(0x1c2)]()[h(0x1c3)](a5a)[h(0x1bc)](h(0x1af));});a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a5i(0x1bb),'aliases':[a5i(0x1c9)],'usage':'maka\x20aws:create-ecr','requiredOpts':[a5i(0x1b2)],'validOpts':[a5i(0x1c4)],'shortDesc':a5i(0x1b5),'examples':[a5i(0x1b0),a5i(0x1c6),a5i(0x1c5)]},async function(a,b){const j=a5i;try{const c=new AWS(),d=await c[j(0x1be)](b);d&&d[j(0x1c7)]['httpStatusCode']===0xc8&&d[j(0x1b3)]?(Log[j(0x1b4)](j(0x1bd)),Log[j(0x1ad)](j(0x1bf)+d[j(0x1b3)]['repositoryUri'])):Log['error']('Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.'),process[j(0x1ae)](0x0);}catch(f){Log['error'](f),process['exit'](0x1);}},a5e);
@@ -1 +1 @@
1
- const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=parseInt(i(0xc8))/0x1+parseInt(i(0xcc))/0x2+parseInt(i(0xd9))/0x3*(parseInt(i(0xce))/0x4)+-parseInt(i(0xd0))/0x5*(-parseInt(i(0xca))/0x6)+parseInt(i(0xc6))/0x7+parseInt(i(0xd1))/0x8*(parseInt(i(0xcd))/0x9)+parseInt(i(0xc4))/0xa*(-parseInt(i(0xd3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x7f8f7));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a[k(0xc7)]()[k(0xd8)]('(((.+)+)+)+$')['toString']()[k(0xcb)](a6a)['search'](k(0xc5));});a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a6c(){const n=['103113WQUwPF','24oAuKqa','route53CreateHostedZone','205ZHYQcL','328TQABjd','maka\x20aws:create-hosted-zone\x20--domain=example.com','25782823WTMJwF','Set\x20hosted\x20zone\x20to\x20an\x20instance?','create','chz','error','search','281583QbGbEp','create-hosted-zone','confirm','publicIp','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','domain','maka\x20aws:chz\x20--domain=example.com','10XYnzLc','(((.+)+)+)+$','88172JkpqcK','toString','747294UOsrhZ','apply','85524iSeAHw','constructor','978346DUyDiK'];a6c=function(){return n;};return a6c();}function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0xc4;let f=c[d];return f;},a6d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a6l(0xd5)]({'name':a6l(0xda),'aliases':[a6l(0xd6)],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':[a6l(0xde)],'validOpts':[],'shortDesc':'Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','examples':[a6l(0xd2),a6l(0xdf)]},async function(a,b){const m=a6l;try{const c=b[m(0xde)],d=new AWS();d[m(0xcf)](c);const f=await Actions[m(0xdb)](m(0xd4));if(f){const g=await d['chooseInstance']();if(g?.['id']){if(!g[m(0xdc)])throw Log[m(0xd7)](m(0xdd));d['linkEC2ToRoute53'](g['id'],g[m(0xdc)],c);}else throw'Instance\x20not\x20found';}}catch(h){h&&Log[m(0xd7)](h),process['exit'](0x0);}},a6e);
1
+ function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x17f;let f=c[d];return f;},a6d(a,b);}const a6k=a6d;function a6c(){const m=['Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','confirm','create','1990yJYsed','linkEC2ToRoute53','error','maka\x20aws:chz\x20--domain=example.com','Instance\x20not\x20found','maka\x20aws:create-hosted-zone\x20--domain=example.com','(((.+)+)+)+$','Set\x20hosted\x20zone\x20to\x20an\x20instance?','create-hosted-zone','3219700sOrsgW','publicIp','74097OCxaos','domain','17149055lnfqCm','4214xtkAEt','130653yKmFxM','16792yydFbG','5JKQyoe','search','chz','exit','4006182IGsZpL','63ienGEZ','toString','route53CreateHostedZone','120746kuwaRJ'];a6c=function(){return m;};return a6c();}(function(a,b){const i=a6d,c=a();while(!![]){try{const d=parseInt(i(0x18b))/0x1+-parseInt(i(0x195))/0x2*(parseInt(i(0x192))/0x3)+parseInt(i(0x185))/0x4+-parseInt(i(0x18d))/0x5*(parseInt(i(0x191))/0x6)+parseInt(i(0x18a))/0x7*(-parseInt(i(0x18c))/0x8)+parseInt(i(0x187))/0x9*(parseInt(i(0x19a))/0xa)+parseInt(i(0x189))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xe3fbe));const a6b=(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;};}()),a6a=a6b(this,function(){const j=a6d;return a6a[j(0x193)]()[j(0x18e)]('(((.+)+)+)+$')[j(0x193)]()['constructor'](a6a)[j(0x18e)](j(0x182));});a6a();import a6e 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[a6k(0x199)]({'name':a6k(0x184),'aliases':[a6k(0x18f)],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':[a6k(0x188)],'validOpts':[],'shortDesc':a6k(0x197),'examples':[a6k(0x181),a6k(0x17f)]},async function(a,b){const l=a6k;try{const c=b[l(0x188)],d=new AWS();d[l(0x194)](c);const f=await Actions[l(0x198)](l(0x183));if(f){const g=await d['chooseInstance']();if(g?.['id']){if(!g[l(0x186)])throw Log[l(0x19c)](l(0x196));d[l(0x19b)](g['id'],g[l(0x186)],c);}else throw l(0x180);}}catch(h){h&&Log[l(0x19c)](h),process[l(0x190)](0x0);}},a6e);
@@ -1 +1 @@
1
- const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0x113))/0x1*(-parseInt(Y(0x10b))/0x2)+-parseInt(Y(0xe9))/0x3+parseInt(Y(0x114))/0x4+-parseInt(Y(0x12f))/0x5*(parseInt(Y(0x11f))/0x6)+-parseInt(Y(0xff))/0x7*(parseInt(Y(0x11c))/0x8)+-parseInt(Y(0xea))/0x9*(parseInt(Y(0xeb))/0xa)+-parseInt(Y(0x104))/0xb*(-parseInt(Y(0x116))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x39cb8));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0x115)]()[a0(0x102)](a0(0xf4))[a0(0x115)]()[a0(0x128)](a7a)['search'](a0(0xf4));});a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xe7;let f=c[d];return f;},a7d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';Command[a7a1(0xfd)]({'name':a7a1(0x124),'aliases':['ci'],'usage':a7a1(0x101),'examples':[a7a1(0x10d),a7a1(0x11b)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'env'}],'validOpts':[],'shortDesc':a7a1(0x12a),'description':'\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20'},async function(a,b){const a2=a7a1;try{const c=this[a2(0x129)][a2(0xf2)](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this[a2(0x129)][a2(0x105)](b[a2(0x100)]),i=this[a2(0x129)][a2(0x12d)](h),j=g+'-'+h,k=await Actions[a2(0x10a)](a2(0xfc)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x12e)](a2(0x11a),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d['createKeyPair']({'env':h});r=y,s=z,Log['success'](a2(0xfa)+r);}else try{Log[a2(0x107)]('**\x20Available\x20key-pairs\x20**');const A=r?r:k,B=await d[a2(0xfb)]({'suggestion':A}),C=await Actions[a2(0x10a)]('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(C)<0x0){Log[a2(0x127)](a2(0xf9)),Log[a2(0x107)](a2(0x126));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D['name'],Log[a2(0x119)](a2(0xfa)+r);break;}}}catch(E){Log[a2(0x127)](E);}l=await d[a2(0x120)]();const t=await Actions['confirm']('Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?',!![]);let u;if(t){const F=l===''?await d[a2(0x120)]():l;u=await Actions['ask']('Security\x20Group\x20Name:\x20['+k+']')||k;const G=await Actions[a2(0x10a)](a2(0xf5))||a2(0x12c),H=G[a2(0x108)](',');await d['ec2createSG']({'description':a2(0x122),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await d['chooseSecurityGroup'](u),n=await d[a2(0xe7)](),p=await d[a2(0x110)]();const v=0x1,w=0x1;try{const I=await Actions['ask'](a2(0x12b))||'1:1',J=I[a2(0x108)](':')[0x0],K=I[a2(0x108)](':')[0x1];typeof parseInt(J)==='number'&&typeof parseInt(K)===a2(0x121)&&Log[a2(0x119)](a2(0xe8)+J+':'+K);}catch(L){Log[a2(0x127)](L);}try{const M=await Actions['ask']('What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]')||a2(0x118);typeof M===a2(0xf6)&&(o=M);}catch(N){Log[a2(0x127)](N);}let x='';try{const O=await Actions[a2(0x12e)](a2(0x111),![]);O&&(x=a7f[a2(0xf3)](i,a2(0x10e)),Log[a2(0x107)]('Creating\x20user\x20data\x20file\x20in\x20'+x),await this[a2(0x129)][a2(0x117)]({'filePath':x,'data':''}),await Actions['confirm']('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(P){Log[a2(0x127)](P);}try{const Q=await d[a2(0x11e)](p);Log[a2(0x107)](a2(0x103)+n),Log['notice'](a2(0xf8)+v+':'+w),Log['notice'](a2(0xf7)+o),Log[a2(0x107)](a2(0xef)+r),Log[a2(0x107)](a2(0xf1)+m),Log[a2(0x107)]('Subnet:\x20'+Q);if(x){Log[a2(0x107)](a2(0xec)+x);const S=a7g[a2(0x109)](x)['toString']();Log[a2(0x107)](S);}const R=await Actions[a2(0x12e)](a2(0x125));if(R){const T=await d['ec2create']({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0xfe),'Value':a2(0xed)},{'Key':'environment','Value':h},{'Key':a2(0x112),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x119)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[a2(0xee)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else{Log[a2(0x107)](a2(0x10c));const U=await Actions[a2(0x12e)]('Remove\x20the\x20keypair\x20'+r+'\x20?',!![]);U&&(d['deleteKeyPair'](r),f['isFile'](s)&&a7g[a2(0x11d)](s));const V=await Actions['confirm'](a2(0x123)+m+'\x20?',!![]);V&&d[a2(0x10f)](m);}}catch(W){Log[a2(0x127)](W);}}catch(X){X&&Log['error'](X),process[a2(0xf0)](0x0);}},a7e);function a7c(){const a3=['maka-cli','bright','Key-Pair:\x20','exit','Security\x20Group:\x20','getMakaProjectConfig','join','(((.+)+)+)+$','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','string','Instace\x20Type:\x20','Instance\x20Count:\x20','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\x20the\x20key-pair\x20to:\x20','ec2describeKeys','EC2\x20Name:\x20[','create','created-by','7UpKcnF','env','maka\x20aws:create-instance','search','ImageID:','9889737OEWcPw','getEnvFromShorthand','apply','notice','split','readFileSync','ask','36LZbrPK','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','maka\x20aws:create-instance\x20--env\x20dev','user-data','deleteSecurityGroup','listAvailableSubnets','Would\x20you\x20like\x20to\x20include\x20user\x20data?','Name','19250uvSOgV','374920ttgcBG','toString','12FOukIn','createFile','t3.micro','success','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','maka\x20aws:ci\x20--env\x20prod','2450072GAPTgD','unlinkSync','getSubnetCidr','49674TiaLBi','chooseVPC','number','Web\x20App','Remove\x20the\x20security\x20group\x20','create-instance','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','No\x20instance\x20has\x20been\x20created.','error','constructor','fsi','Create\x20new\x20AWS\x20instance','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','22,80,443','getAppConfigPath','confirm','170JtsXFj','listAvailableAMIs','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','647523wCEvYE','27dDAZIC','996610xDiyXr','User\x20Data:'];a7c=function(){return a3;};return a7c();}
1
+ const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0xf3))/0x1*(parseInt(Y(0xd8))/0x2)+-parseInt(Y(0xf6))/0x3*(-parseInt(Y(0xd6))/0x4)+parseInt(Y(0xe5))/0x5*(-parseInt(Y(0xe2))/0x6)+-parseInt(Y(0xf5))/0x7+parseInt(Y(0xc0))/0x8+-parseInt(Y(0xeb))/0x9*(-parseInt(Y(0xe6))/0xa)+parseInt(Y(0xea))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xd9681));function a7c(){const a3=['listAvailableAMIs','Subnet:\x20','create-instance','Key-Pair:\x20','constructor','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','notice','user-data','Please\x20choose\x20a\x20key\x20to\x20use:\x20','Would\x20you\x20like\x20to\x20include\x20user\x20data?','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','No\x20instance\x20has\x20been\x20created.','ec2describeKeys','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','unlinkSync','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','4fjMyAi','getMakaProjectConfig','500jizhva','ask','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','Creating\x20user\x20data\x20file\x20in\x20','exit','chooseSecurityGroup','ImageID:','Name','deleteKeyPair','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','6dKNLBp','Create\x20new\x20AWS\x20instance','readFileSync','6348500lzbVHL','10EprEhw','t3.micro','apply','string','17867168KwDvAW','9945837oPrDxx','Setting\x20the\x20key-pair\x20to:\x20','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','(((.+)+)+)+$','toString','split','error','name','3309eDtoQG','env','8410843BDcCBN','1219632VSnCDp','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','getAppConfigPath','Instance\x20Count:\x20','success','Remove\x20the\x20security\x20group\x20','created-by','confirm','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','EC2\x20Name:\x20[','isFile','search','number','Remove\x20the\x20keypair\x20','User\x20Data:','ec2createSG','bright','maka\x20aws:create-instance\x20--env\x20dev','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','8424568VyCtqo','chooseVPC','1:1','getEnvFromShorthand','fsi','deleteSecurityGroup'];a7c=function(){return a3;};return a7c();}const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0xef)]()[a0(0xb8)](a0(0xee))['toString']()[a0(0xca)](a7a)[a0(0xb8)](a0(0xee));});a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xb8;let f=c[d];return f;},a7d(a,b);}import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';Command['create']({'name':a7a1(0xc8),'aliases':['ci'],'usage':'maka\x20aws:create-instance','examples':[a7a1(0xbe),'maka\x20aws:ci\x20--env\x20prod'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0xf4)}],'validOpts':[],'shortDesc':a7a1(0xe3),'description':a7a1(0xf8)},async function(a,b){const a2=a7a1;try{const c=this['fsi'][a2(0xd7)](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this[a2(0xc4)][a2(0xc3)](b[a2(0xf4)]),i=this[a2(0xc4)][a2(0xf9)](h),j=g+'-'+h,k=await Actions[a2(0xd9)](a2(0x100)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0xfe)](a2(0xcb),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d['createKeyPair']({'env':h});r=y,s=z,Log[a2(0xfb)](a2(0xec)+r);}else try{Log['notice']('**\x20Available\x20key-pairs\x20**');const A=r?r:k,B=await d[a2(0xd2)]({'suggestion':A}),C=await Actions[a2(0xd9)](a2(0xce))||'-1';if(parseInt(C)<0x0){Log[a2(0xf1)](a2(0xd3)),Log[a2(0xcc)](a2(0xd1));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a2(0xf2)],Log[a2(0xfb)]('Setting\x20the\x20key-pair\x20to:\x20'+r);break;}}}catch(E){Log[a2(0xf1)](E);}l=await d[a2(0xc1)]();const t=await Actions[a2(0xfe)](a2(0xed),!![]);let u;if(t){const F=l===''?await d[a2(0xc1)]():l;u=await Actions[a2(0xd9)]('Security\x20Group\x20Name:\x20['+k+']')||k;const G=await Actions[a2(0xd9)](a2(0xf7))||'22,80,443',H=G[a2(0xf0)](',');await d[a2(0xbc)]({'description':'Web\x20App','name':u,'vpcId':F,'sgPorts':H});}u=k,m=await d[a2(0xdd)](u),n=await d[a2(0xc6)](),p=await d['listAvailableSubnets']();const v=0x1,w=0x1;try{const I=await Actions[a2(0xd9)](a2(0xff))||a2(0xc2),J=I[a2(0xf0)](':')[0x0],K=I[a2(0xf0)](':')[0x1];typeof parseInt(J)===a2(0xb9)&&typeof parseInt(K)==='number'&&Log['success']('Setting\x20the\x20number\x20of\x20instances\x20to:\x20'+J+':'+K);}catch(L){Log[a2(0xf1)](L);}try{const M=await Actions[a2(0xd9)]('What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]')||a2(0xe7);typeof M===a2(0xe9)&&(o=M);}catch(N){Log[a2(0xf1)](N);}let x='';try{const O=await Actions['confirm'](a2(0xcf),![]);O&&(x=a7f['join'](i,a2(0xcd)),Log[a2(0xcc)](a2(0xdb)+x),await this['fsi']['createFile']({'filePath':x,'data':''}),await Actions[a2(0xfe)](a2(0xbf)));}catch(P){Log[a2(0xf1)](P);}try{const Q=await d['getSubnetCidr'](p);Log[a2(0xcc)](a2(0xde)+n),Log[a2(0xcc)](a2(0xfa)+v+':'+w),Log[a2(0xcc)]('Instace\x20Type:\x20'+o),Log[a2(0xcc)](a2(0xc9)+r),Log[a2(0xcc)]('Security\x20Group:\x20'+m),Log[a2(0xcc)](a2(0xc7)+Q);if(x){Log['notice'](a2(0xbb)+x);const S=a7g[a2(0xe4)](x)[a2(0xef)]();Log['notice'](S);}const R=await Actions[a2(0xfe)](a2(0xda));if(R){const T=await d['ec2create']({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0xfd),'Value':'maka-cli'},{'Key':'environment','Value':h},{'Key':a2(0xdf),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0xfb)](a2(0xd0)),Log[a2(0xbd)](a2(0xe1)));}else{Log[a2(0xcc)](a2(0xd5));const U=await Actions[a2(0xfe)](a2(0xba)+r+'\x20?',!![]);U&&(d[a2(0xe0)](r),f[a2(0x101)](s)&&a7g[a2(0xd4)](s));const V=await Actions[a2(0xfe)](a2(0xfc)+m+'\x20?',!![]);V&&d[a2(0xc5)](m);}}catch(W){Log[a2(0xf1)](W);}}catch(X){X&&Log['error'](X),process[a2(0xdc)](0x0);}},a7e);
@@ -1 +1 @@
1
- const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x1b3))/0x1+parseInt(g(0x1b6))/0x2*(-parseInt(g(0x1ac))/0x3)+parseInt(g(0x1b7))/0x4*(-parseInt(g(0x19e))/0x5)+-parseInt(g(0x1a8))/0x6+parseInt(g(0x1b1))/0x7*(parseInt(g(0x1a2))/0x8)+-parseInt(g(0x1b2))/0x9+-parseInt(g(0x1b8))/0xa*(-parseInt(g(0x1b4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x7c07d));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x1a1)]()[i(0x1a6)](i(0x19f))['toString']()[i(0x1ab)](a8a)[i(0x1a6)](i(0x19f));});a8a();function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x19e;let f=c[d];return f;},a8d(a,b);}function a8c(){const l=['constructor','9TWupfx','error','fsi','env','apply','903791ivPnDH','707004WkZOSc','775628ByKTUd','11RnGZku','maka\x20aws:ckp\x20--env\x20prod','321036ISKBxn','12DjSEFM','25829710emraun','\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20','getEnvFromShorthand','maka\x20aws:create-key-pair\x20--env\x20prod','591055IMRsdO','(((.+)+)+)+$','create','toString','8DfraoM','create-key-pair','maka\x20aws:create-key-pair','ckp','search','exit','3082104ltfGhA','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','createKeyPair'];a8c=function(){return l;};return a8c();}import a8e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0x1a0)]({'name':a8j(0x1a3),'aliases':[a8j(0x1a5)],'usage':a8j(0x1a4),'examples':[a8j(0x1bb),a8j(0x1b5)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x1af)],'validOpts':[],'shortDesc':a8j(0x1a9),'description':a8j(0x1b9)},async function(a,b){const k=a8j;try{const c=new AWS(),d=this[k(0x1ae)][k(0x1ba)](b[k(0x1af)]);c[k(0x1aa)]({'env':d});}catch(f){f&&Log[k(0x1ad)](f),process[k(0x1a7)](0x0);}},a8e);
1
+ const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0xa8))/0x1+-parseInt(g(0xb8))/0x2+-parseInt(g(0xaf))/0x3*(-parseInt(g(0xa7))/0x4)+parseInt(g(0x9f))/0x5*(-parseInt(g(0xb4))/0x6)+-parseInt(g(0xa6))/0x7*(-parseInt(g(0xb1))/0x8)+parseInt(g(0xb0))/0x9*(parseInt(g(0xb3))/0xa)+parseInt(g(0xb5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xd2b42));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a['toString']()[i(0xa9)]('(((.+)+)+)+$')[i(0xaa)]()['constructor'](a8a)[i(0xa9)](i(0xac));});a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a8c(){const l=['10AKrkuo','42KuQFBk','14304818PPdGSm','exit','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','1611756XWpMwx','env','552845croxGA','\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20','create','maka\x20aws:ckp\x20--env\x20prod','getEnvFromShorthand','create-key-pair','fsi','7IgnODs','24176cTuqbF','1682775RjGcao','search','toString','error','(((.+)+)+)+$','ckp','maka\x20aws:create-key-pair\x20--env\x20prod','468btyamC','9531027JaeeaY','6586984oBDjqq','apply'];a8c=function(){return l;};return a8c();}import{Log}from'../../tools/log/log.class.js';function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x9f;let f=c[d];return f;},a8d(a,b);}Command[a8j(0xa1)]({'name':a8j(0xa4),'aliases':[a8j(0xad)],'usage':'maka\x20aws:create-key-pair','examples':[a8j(0xae),a8j(0xa2)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0xb9)],'validOpts':[],'shortDesc':a8j(0xb7),'description':a8j(0xa0)},async function(a,b){const k=a8j;try{const c=new AWS(),d=this[k(0xa5)][k(0xa3)](b[k(0xb9)]);c['createKeyPair']({'env':d});}catch(f){f&&Log[k(0xab)](f),process[k(0xb6)](0x0);}},a8e);
@@ -1 +1 @@
1
- const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x1ed))/0x1+-parseInt(m(0x1db))/0x2+parseInt(m(0x1da))/0x3*(parseInt(m(0x1e2))/0x4)+parseInt(m(0x1e7))/0x5*(-parseInt(m(0x1e6))/0x6)+parseInt(m(0x1f1))/0x7*(-parseInt(m(0x1f0))/0x8)+parseInt(m(0x1d5))/0x9*(parseInt(m(0x1e0))/0xa)+parseInt(m(0x1e9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xe1cd2));function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a9d(a,b);}const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x1de)]()['search'](o(0x1f2))[o(0x1de)]()[o(0x1ec)](a9a)['search']('(((.+)+)+)+$');});a9a();import a9e from'./aws.command.js';function a9c(){const s=['Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','1488068clRNuM','chooseVPC','maka\x20aws:create-secuirty-group','\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','6uTANEY','8788975AbvSqr','forEach','6138462MEbWUU','name','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','constructor','1433907uAHHIC','apply','maka\x20aws\x20create-security-group','1213208noVIvJ','14baUZTC','(((.+)+)+)+$','fsi','78885pIZqqI','List\x20is\x20not\x20all\x20numbers','maka\x20aws:csg','csg','split','3uCoByK','35664ibHmMp','22,80,443','ask','toString','error','730AFUhUp'];a9c=function(){return s;};return a9c();}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'create-security-group','aliases':[a9p(0x1d8)],'usage':a9p(0x1ef),'validOpts':[],'shortDesc':a9p(0x1eb),'description':a9p(0x1e5),'examples':[a9p(0x1e4),a9p(0x1d7)]},async function(a,b){const q=a9p;try{const c=new AWS(),d=this[q(0x1f3)]['getMakaProjectConfig'](),{appName:f}=d,g=await c[q(0x1e3)](),h=b[q(0x1ea)]?b[q(0x1ea)]:''+f,i=await Actions[q(0x1dd)]('Security\x20Group\x20Name:\x20['+h+']')||h,j=await Actions[q(0x1dd)](q(0x1e1))||q(0x1dc),k=j[q(0x1d9)](',');k[q(0x1e8)](l=>{const r=q;if(!l['match'](/^\d+$/))throw r(0x1d6);}),await c['ec2createSG']({'description':'Web\x20App','name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x1df)](l),process['exit'](0x1);}},a9e);
1
+ const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x1ee))/0x1*(parseInt(m(0x1e7))/0x2)+-parseInt(m(0x1f3))/0x3+-parseInt(m(0x1e0))/0x4+-parseInt(m(0x1f4))/0x5*(parseInt(m(0x1e1))/0x6)+parseInt(m(0x1fe))/0x7+parseInt(m(0x1f9))/0x8*(-parseInt(m(0x1ef))/0x9)+parseInt(m(0x1ec))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x74b83));function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a9d(a,b);}const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x1f7)]()[o(0x1f6)](o(0x1f8))[o(0x1f7)]()[o(0x1ea)](a9a)[o(0x1f6)]('(((.+)+)+)+$');});a9a();import a9e 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';import{Log}from'../../tools/log/log.class.js';Command[a9p(0x1f5)]({'name':a9p(0x1e9),'aliases':[a9p(0x1e4)],'usage':a9p(0x201),'validOpts':[],'shortDesc':a9p(0x1e8),'description':'\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','examples':['maka\x20aws:create-secuirty-group',a9p(0x1f2)]},async function(a,b){const q=a9p;try{const c=new AWS(),d=this[q(0x1e5)][q(0x1ff)](),{appName:f}=d,g=await c[q(0x1e2)](),h=b[q(0x1e6)]?b['name']:''+f,i=await Actions[q(0x1eb)](q(0x1ed)+h+']')||h,j=await Actions['ask'](q(0x1fd))||'22,80,443',k=j['split'](',');k[q(0x1fa)](l=>{const r=q;if(!l[r(0x1f0)](/^\d+$/))throw r(0x1e3);}),await c[q(0x1fc)]({'description':q(0x200),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log['error'](l),process[q(0x1f1)](0x1);}},a9e);function a9c(){const s=['Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','4025693DITwgf','getMakaProjectConfig','Web\x20App','maka\x20aws\x20create-security-group','3689752GvgBfl','36zKYecW','chooseVPC','List\x20is\x20not\x20all\x20numbers','csg','fsi','name','841144dBhgde','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','create-security-group','constructor','ask','18485040DPYNRN','Security\x20Group\x20Name:\x20[','1XNTRau','423mqRTvP','match','exit','maka\x20aws:csg','1442913pTpCGN','585370xsukPG','create','search','toString','(((.+)+)+)+$','44296FXalNU','forEach','apply','ec2createSG'];a9c=function(){return s;};return a9c();}
@@ -1 +1 @@
1
- const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0x8e))/0x1+parseInt(f(0x9d))/0x2*(-parseInt(f(0x8c))/0x3)+parseInt(f(0xa7))/0x4*(-parseInt(f(0x92))/0x5)+-parseInt(f(0x93))/0x6*(-parseInt(f(0xa9))/0x7)+parseInt(f(0xa0))/0x8*(-parseInt(f(0x97))/0x9)+-parseInt(f(0x9b))/0xa+-parseInt(f(0x9a))/0xb*(-parseInt(f(0xa1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x703ee));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0x91)]()[h(0x99)](h(0x98))[h(0x91)]()[h(0x96)](a10a)[h(0x99)]('(((.+)+)+)+$');});a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x8b;let f=c[d];return f;},a10d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0x95)]({'name':a10i(0xa5),'aliases':['decr'],'usage':'maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','requiredOpts':['name','region'],'validOpts':[],'shortDesc':'Delete\x20an\x20Elastic\x20Container\x20Repository','examples':[a10i(0x8f),a10i(0x9f)]},async function(a,b){const j=a10i;try{const c=new AWS();await c[j(0x9e)]({'repoName':b[j(0x94)],'region':b[j(0x8d)]}),Log[j(0x9c)](j(0x8b)+b[j(0x94)]+j(0xa3)+b[j(0x8d)]+'.'),process[j(0xa2)](0x0);}catch(d){Log[j(0xa6)](j(0x90)+b['name']+j(0xa4)+b[j(0x8d)]+j(0xa8)+d),process[j(0xa2)](0x1);}},a10e);function a10c(){const k=['Repository\x20','6LEbYBy','region','808147BrlDix','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','Failed\x20to\x20delete\x20the\x20repository:\x20','toString','5qMGpkr','6ldaZLE','name','create','constructor','5226930KNPIvM','(((.+)+)+)+$','search','11wokmtA','1645830FbhucI','success','281794cWMWYi','ecrDeleteRepository','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','8kFJlgT','27213060muDcRg','exit','\x20deleted\x20successfully\x20in\x20region\x20','\x20in\x20region\x20','delete-ecr','error','2926596jgqKHO','.\x20Error:\x20','5312622WKwHhr','apply'];a10c=function(){return k;};return a10c();}
1
+ function a10c(){const j=['2670546nDHBMB','163825fsxIfK','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','decr','147736UfYrWE','region','delete-ecr','\x20in\x20region\x20','exit','7tlYKhm','Failed\x20to\x20delete\x20the\x20repository:\x20','.\x20Error:\x20','144020JOlYuJ','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','name','ecrDeleteRepository','toString','search','\x20deleted\x20successfully\x20in\x20region\x20','(((.+)+)+)+$','153IQTUGj','794044gKFOFW','380703EcWspQ','create','1012412GFXYRs'];a10c=function(){return j;};return a10c();}const a10h=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(0xe6))/0x1+-parseInt(f(0xe1))/0x2+parseInt(f(0xe2))/0x3+parseInt(f(0xe4))/0x4+-parseInt(f(0xf1))/0x5+-parseInt(f(0xe5))/0x6*(-parseInt(f(0xee))/0x7)+parseInt(f(0xe9))/0x8*(-parseInt(f(0xe0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x3cd43));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['toString']()[g(0xf6)](g(0xf8))[g(0xf5)]()['constructor'](a10a)[g(0xf6)](g(0xf8));});a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0xe0;let f=c[d];return f;},a10d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a10h(0xe3)]({'name':a10h(0xeb),'aliases':[a10h(0xe8)],'usage':'maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','requiredOpts':[a10h(0xf3),a10h(0xea)],'validOpts':[],'shortDesc':'Delete\x20an\x20Elastic\x20Container\x20Repository','examples':[a10h(0xf2),a10h(0xe7)]},async function(a,b){const i=a10h;try{const c=new AWS();await c[i(0xf4)]({'repoName':b[i(0xf3)],'region':b['region']}),Log['success']('Repository\x20'+b[i(0xf3)]+i(0xf7)+b[i(0xea)]+'.'),process[i(0xed)](0x0);}catch(d){Log['error'](i(0xef)+b[i(0xf3)]+i(0xec)+b[i(0xea)]+i(0xf0)+d),process[i(0xed)](0x1);}},a10e);
@@ -1 +1 @@
1
- const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x119))/0x1+-parseInt(f(0x11f))/0x2*(parseInt(f(0x122))/0x3)+parseInt(f(0x11d))/0x4*(-parseInt(f(0x121))/0x5)+-parseInt(f(0x117))/0x6+parseInt(f(0x111))/0x7+parseInt(f(0x11b))/0x8+-parseInt(f(0x118))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xe82de));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x112)]()[h(0x116)](h(0x11c))[h(0x112)]()['constructor'](a11a)[h(0x116)](h(0x11c));});a11a();import a11e from'./aws.command.js';function a11c(){const k=['Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','create','search','2472150wUPWll','1483461itCuuY','889781FBQFbR','maka\x20aws:describe-instances','14359368xKohAP','(((.+)+)+)+$','2284PlLQOS','apply','434324DqpUFC','\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20','11060RVlPPJ','3BmKsnu','exit','error','2263604vVvuRA','toString','describe-instances'];a11c=function(){return k;};return a11c();}function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x111;let f=c[d];return f;},a11d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0x115)]({'name':a11i(0x113),'aliases':['di'],'usage':a11i(0x11a),'validOpts':[],'shortDesc':a11i(0x114),'examples':[a11i(0x11a),'maka\x20aws:di'],'description':a11i(0x120)},async function(){const j=a11i;try{const a=new AWS();a['ec2describeInstances']();}catch(b){b&&Log[j(0x124)](b),process[j(0x123)](0x1);}},a11e);
1
+ const a11h=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x15e))/0x1+-parseInt(f(0x16a))/0x2+parseInt(f(0x162))/0x3+parseInt(f(0x160))/0x4+-parseInt(f(0x15f))/0x5+-parseInt(f(0x169))/0x6+-parseInt(f(0x168))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x56b3a));const a11b=(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;};}()),a11a=a11b(this,function(){const g=a11d;return a11a[g(0x166)]()['search'](g(0x165))[g(0x166)]()['constructor'](a11a)['search'](g(0x165));});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x15d;let f=c[d];return f;},a11d(a,b);}function a11c(){const j=['maka\x20aws:describe-instances','2204419qVNGKF','2392758bBORyI','351968AmndXm','create','\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20','512118LdZyvt','2342675HUNKxe','2189616trlnvs','exit','1961511PwYjbW','error','ec2describeInstances','(((.+)+)+)+$','toString'];a11c=function(){return j;};return a11c();}Command[a11h(0x16b)]({'name':'describe-instances','aliases':['di'],'usage':'maka\x20aws:describe-instances','validOpts':[],'shortDesc':'Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','examples':[a11h(0x167),'maka\x20aws:di'],'description':a11h(0x15d)},async function(){const i=a11h;try{const a=new AWS();a[i(0x164)]();}catch(b){b&&Log[i(0x163)](b),process[i(0x161)](0x1);}},a11e);
@@ -1 +1 @@
1
- function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0x147;let f=c[d];return f;},a12d(a,b);}const a12i=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=parseInt(f(0x159))/0x1*(parseInt(f(0x153))/0x2)+-parseInt(f(0x148))/0x3+parseInt(f(0x15e))/0x4*(parseInt(f(0x150))/0x5)+parseInt(f(0x156))/0x6*(parseInt(f(0x15f))/0x7)+parseInt(f(0x15b))/0x8*(parseInt(f(0x155))/0x9)+parseInt(f(0x14d))/0xa*(-parseInt(f(0x160))/0xb)+-parseInt(f(0x157))/0xc*(parseInt(f(0x147))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xbd2ea));function a12c(){const k=['maka\x20aws:describe-key-pairs','maka\x20aws:dkp','7537730aUkXEZ','create','dkp','2339895LFYbdo','exit','(((.+)+)+)+$','37712PZJlGP','toString','45LzWzNO','118686kPuXDo','12fxxVnk','search','49BmMzFP','apply','1273336xiZxHD','ec2describeKeys','error','12yhmDgy','497xWNIGH','11eTXnGG','31493332Nxohbl','1730820abslWg','describe-key-pairs','constructor'];a12c=function(){return k;};return a12c();}const a12b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a12d;if(c){const e=c[g(0x15a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){const h=a12d;return a12a[h(0x154)]()[h(0x158)](h(0x152))[h(0x154)]()[h(0x14a)](a12a)['search']('(((.+)+)+)+$');});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a12i(0x14e)]({'name':a12i(0x149),'aliases':[a12i(0x14f)],'usage':a12i(0x14b),'validOpts':[],'shortDesc':'List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','examples':[a12i(0x14b),a12i(0x14c)]},async function(){const j=a12i;try{const a=new AWS();a[j(0x15c)]();}catch(b){b&&Log[j(0x15d)](b),process[j(0x151)](0x0);}},a12e);
1
+ const a12i=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=-parseInt(f(0x127))/0x1*(parseInt(f(0x126))/0x2)+-parseInt(f(0x132))/0x3+parseInt(f(0x12d))/0x4+-parseInt(f(0x122))/0x5+parseInt(f(0x12a))/0x6+-parseInt(f(0x123))/0x7*(-parseInt(f(0x129))/0x8)+-parseInt(f(0x136))/0x9*(parseInt(f(0x133))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x4d1da));const a12b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a12d;if(c){const e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){const h=a12d;return a12a[h(0x12c)]()[h(0x134)](h(0x124))[h(0x12c)]()[h(0x128)](a12a)[h(0x134)]('(((.+)+)+)+$');});a12a();function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0x122;let f=c[d];return f;},a12d(a,b);}import a12e from'./aws.command.js';function a12c(){const k=['toString','2201100xvSpTz','ec2describeKeys','maka\x20aws:dkp','apply','describe-key-pairs','25335ZaZdnD','227810GtAvTo','search','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','9Hhixwu','1483795xhHbwG','154HHTptH','(((.+)+)+)+$','dkp','9916OhGqDc','118RfgFvx','constructor','33744nkuswM','3514944gtPZrf','maka\x20aws:describe-key-pairs'];a12c=function(){return k;};return a12c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a12i(0x131),'aliases':[a12i(0x125)],'usage':'maka\x20aws:describe-key-pairs','validOpts':[],'shortDesc':a12i(0x135),'examples':[a12i(0x12b),a12i(0x12f)]},async function(){const j=a12i;try{const a=new AWS();a[j(0x12e)]();}catch(b){b&&Log['error'](b),process['exit'](0x0);}},a12e);
@@ -1 +1 @@
1
- const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=parseInt(l(0xa8))/0x1+-parseInt(l(0x9f))/0x2+parseInt(l(0xa0))/0x3*(parseInt(l(0x87))/0x4)+-parseInt(l(0x88))/0x5+-parseInt(l(0x89))/0x6+-parseInt(l(0x97))/0x7*(-parseInt(l(0x9c))/0x8)+parseInt(l(0x8c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x728a9));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a[n(0x93)]()[n(0x90)](n(0x92))[n(0x93)]()['constructor'](a13a)[n(0x90)]('(((.+)+)+)+$');});function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x85;let f=c[d];return f;},a13d(a,b);}a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';import{AWS}from'../../tools/aws/aws.class.js';function a13c(){const r=['6832278aqIZDt','Deleting\x20a\x20','success','delete-security-group','search','sgId','(((.+)+)+)+$','toString','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','name','getSecurityGroups','1534204GeXxUt','exit','\x20SGID:\x20','forEach','\x20SG\x20NAME:\x20','24FkGwXT','error','maka\x20aws:dsg','1482206XegUdv','3jwleMS','Not\x20deleting\x20secuirty\x20group','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','apply','getMakaProjectConfig','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','maka\x20aws:delete-sg','211464UYHMtc','notice','ID:\x20','1552988zGGvWf','455650EWpmLC','4289850vzOnkT','dsg','create'];a13c=function(){return r;};return a13c();}import{Actions}from'../../tools/actions/actions.class.js';Command[a13o(0x8b)]({'name':a13o(0x8f),'aliases':[a13o(0x8a)],'usage':a13o(0xa7),'validOpts':[],'shortDesc':a13o(0x94),'examples':['maka\x20aws:delete-sg',a13o(0x9e)]},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b['isMakaProject']();let d='';if(c){const j=b[p(0xa4)]();d=j['appName'];}const {sgList:f}=await a[p(0x96)]();f[p(0x9a)](function(k){const q=p;c&&k['name']['includes'](d)?Log[q(0x85)]('ID:\x20'+k['id']+q(0x9b)+k[q(0x95)]+q(0x99)+k[q(0x91)]):Log['bright'](q(0x86)+k['id']+q(0x9b)+k[q(0x95)]+q(0x99)+k['sgId']);});let g='';const h=await Actions['ask'](p(0xa5));f[p(0x9a)](function(k){k['id']===parseInt(h)&&(g=k['sgId']);});if(!g)throw Log[p(0x9d)](p(0xa2));const i=await Actions['confirm'](p(0x8d)+g+p(0xa6),![]);i?(await a['deleteSecurityGroup'](g),Log[p(0x8e)]('Deleted\x20'+g)):Log[p(0x9d)](p(0xa1)),process[p(0x98)](0x0);}catch(k){k&&Log[p(0x9d)](k),process[p(0x98)](0x1);}},a13e);
1
+ const a13n=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=-parseInt(l(0x186))/0x1+parseInt(l(0x185))/0x2+-parseInt(l(0x1a0))/0x3*(parseInt(l(0x191))/0x4)+-parseInt(l(0x18a))/0x5+-parseInt(l(0x194))/0x6*(-parseInt(l(0x18b))/0x7)+parseInt(l(0x187))/0x8+parseInt(l(0x18f))/0x9*(parseInt(l(0x1a5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xb0310));const a13b=(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;};}()),a13a=a13b(this,function(){const m=a13d;return a13a['toString']()['search'](m(0x1a6))[m(0x1a8)]()[m(0x19a)](a13a)[m(0x19f)](m(0x1a6));});function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x185;let f=c[d];return f;},a13d(a,b);}a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';function a13c(){const q=['search','63oDTDur','deleteSecurityGroup','\x20SG\x20NAME:\x20','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','Not\x20deleting\x20secuirty\x20group','7296610OpYlTD','(((.+)+)+)+$','maka\x20aws:delete-sg','toString','2088522XpqnYd','208665DQYrTY','9090896CRqkYt','exit','sgId','6065335FUjuxN','609WRuaqo','name','success','getMakaProjectConfig','9YQYfkX','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','221272xKsBLr','Deleting\x20a\x20','error','27228AsCcFB','bright','maka\x20aws:dsg','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','confirm','create','constructor','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','forEach','ID:\x20','\x20SGID:\x20'];a13c=function(){return q;};return a13c();}import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a13n(0x199)]({'name':'delete-security-group','aliases':['dsg'],'usage':a13n(0x1a7),'validOpts':[],'shortDesc':a13n(0x1a3),'examples':[a13n(0x1a7),a13n(0x196)]},async function(){const o=a13n;try{const a=new AWS(),b=new FSI(),c=b['isMakaProject']();let d='';if(c){const j=b[o(0x18e)]();d=j['appName'];}const {sgList:f}=await a['getSecurityGroups']();f['forEach'](function(k){const p=o;c&&k['name']['includes'](d)?Log['notice'](p(0x19d)+k['id']+'\x20SG\x20NAME:\x20'+k[p(0x18c)]+p(0x19e)+k[p(0x189)]):Log[p(0x195)](p(0x19d)+k['id']+p(0x1a2)+k[p(0x18c)]+p(0x19e)+k['sgId']);});let g='';const h=await Actions['ask'](o(0x197));f[o(0x19c)](function(k){k['id']===parseInt(h)&&(g=k['sgId']);});if(!g)throw Log[o(0x193)](o(0x190));const i=await Actions[o(0x198)](o(0x192)+g+o(0x19b),![]);i?(await a[o(0x1a1)](g),Log[o(0x18d)]('Deleted\x20'+g)):Log['error'](o(0x1a4)),process[o(0x188)](0x0);}catch(k){k&&Log['error'](k),process['exit'](0x1);}},a13e);
@@ -1 +1 @@
1
- const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=parseInt(f(0x85))/0x1+parseInt(f(0x90))/0x2*(-parseInt(f(0x84))/0x3)+parseInt(f(0x8e))/0x4+-parseInt(f(0x89))/0x5+-parseInt(f(0x7b))/0x6*(parseInt(f(0x88))/0x7)+-parseInt(f(0x91))/0x8+parseInt(f(0x8a))/0x9*(parseInt(f(0x7a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xd3939));function a14c(){const k=['400120aPSAkH','apply','regions','649873UToXAp','5258160PFpIow','28509174PSuhdq','constructor','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','lecr','866716uenetO','Completed\x20listing\x20ECR\x20repositories.','2SIKViK','7967096rZCSQT','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','exit','10NTUjLz','54RojqWs','maka\x20aws:list-ecr','success','create','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','(((.+)+)+)+$','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','toString','search','104394soHlvS'];a14c=function(){return k;};return a14c();}const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a['toString']()['search']('(((.+)+)+)+$')[h(0x82)]()[h(0x8b)](a14a)[h(0x83)](h(0x80));});function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x79;let f=c[d];return f;},a14d(a,b);}a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a14i(0x7e)]({'name':'list-ecr','aliases':[a14i(0x8d)],'usage':a14i(0x7f),'requiredOpts':[],'validOpts':[a14i(0x87)],'shortDesc':a14i(0x92),'examples':[a14i(0x7c),a14i(0x8c),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const j=a14i;try{const c=new AWS();await c['listAllEcrRepositories'](b[j(0x87)]),Log[j(0x7d)](j(0x8f)),process[j(0x79)](0x0);}catch(d){Log['error'](j(0x81)+d),process[j(0x79)](0x1);}},a14e);
1
+ const a14h=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=parseInt(f(0x1d7))/0x1+-parseInt(f(0x1d1))/0x2+parseInt(f(0x1d3))/0x3+parseInt(f(0x1c4))/0x4+-parseInt(f(0x1ce))/0x5*(-parseInt(f(0x1c7))/0x6)+-parseInt(f(0x1d2))/0x7*(-parseInt(f(0x1d9))/0x8)+-parseInt(f(0x1cc))/0x9*(parseInt(f(0x1d0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x68d54));const a14b=(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;};}()),a14a=a14b(this,function(){const g=a14d;return a14a[g(0x1da)]()['search'](g(0x1c3))[g(0x1da)]()[g(0x1ca)](a14a)[g(0x1c6)]('(((.+)+)+)+$');});a14a();import a14e from'./aws.command.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a14d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';function a14c(){const j=['maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','6426488yQEMmt','toString','(((.+)+)+)+$','754292bmQSct','listAllEcrRepositories','search','828izssrW','list-ecr','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','constructor','error','7974216rraAin','Completed\x20listing\x20ECR\x20repositories.','545RdSFVJ','regions','10BEwdqe','217948hqUaUR','7Aoakzw','1016301txfybM','exit','maka\x20aws:list-ecr','create','78701MMApse'];a14c=function(){return j;};return a14c();}Command[a14h(0x1d6)]({'name':a14h(0x1c8),'aliases':['lecr'],'usage':a14h(0x1d8),'requiredOpts':[],'validOpts':[a14h(0x1cf)],'shortDesc':a14h(0x1c9),'examples':[a14h(0x1d5),'maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','maka\x20aws:lecr\x20--regions=all']},async function(a,b){const i=a14h;try{const c=new AWS();await c[i(0x1c5)](b['regions']),Log['success'](i(0x1cd)),process['exit'](0x0);}catch(d){Log[i(0x1cb)]('An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20'+d),process[i(0x1d4)](0x1);}},a14e);
@@ -1 +1 @@
1
- const a15h=a15d;function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x148;let f=c[d];return f;},a15d(a,b);}(function(a,b){const f=a15d,c=a();while(!![]){try{const d=-parseInt(f(0x157))/0x1+-parseInt(f(0x160))/0x2+parseInt(f(0x14c))/0x3*(-parseInt(f(0x164))/0x4)+-parseInt(f(0x154))/0x5+-parseInt(f(0x14f))/0x6*(-parseInt(f(0x150))/0x7)+parseInt(f(0x14e))/0x8*(parseInt(f(0x158))/0x9)+parseInt(f(0x155))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x6b6ee));const a15b=(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;};}()),a15a=a15b(this,function(){const g=a15d;return a15a[g(0x162)]()[g(0x14b)](g(0x15b))[g(0x162)]()[g(0x152)](a15a)[g(0x14b)](g(0x15b));});function a15c(){const j=['name','(((.+)+)+)+$','\x20is\x20still\x20running.','running','maka\x20aws:reboot-instance','rbi','437088XxsSwL','error','toString','chooseInstance','653984hevUDB','reboot-instance','confirm','exit','search','15eMYtrM','ec2rebootInstance','8iTYSNH','191202vUApFN','42CSlFPo','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','constructor','instanceId','2980365iGFSVZ','13055060cuEuxk','maka\x20aws:rbi','197205ptmuPn','6953760uBsOnh','Reboot\x20an\x20EC2\x20instance'];a15c=function(){return j;};return a15c();}a15a();import a15e 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':a15h(0x148),'aliases':[a15h(0x15f)],'usage':a15h(0x15e),'validOpts':[],'shortDesc':a15h(0x159),'examples':[a15h(0x15e),a15h(0x156)]},async function(){const i=a15h;try{const a=new AWS(),b=await a[i(0x163)]();if(b?.['status']===i(0x15d)){const c=await Actions[i(0x149)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[i(0x15a)]+'\x20Ready?');c&&b[i(0x153)]?a[i(0x14d)]({'instanceId':b[i(0x153)]}):Log['error']('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+b['name']+i(0x15c));}else Log[i(0x161)](i(0x151));}catch(d){d&&Log[i(0x161)](d),process[i(0x14a)](0x1);}},a15e);
1
+ const a15h=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=-parseInt(f(0xb7))/0x1+-parseInt(f(0xb5))/0x2*(parseInt(f(0x9d))/0x3)+-parseInt(f(0xae))/0x4+parseInt(f(0xb8))/0x5+-parseInt(f(0xb0))/0x6+-parseInt(f(0xaf))/0x7+parseInt(f(0xa3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xc0ea5));const a15b=(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;};}()),a15a=a15b(this,function(){const g=a15d;return a15a[g(0xb3)]()[g(0xac)](g(0xb6))[g(0xb3)]()[g(0x9c)](a15a)[g(0xac)](g(0xb6));});a15a();function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x9c;let f=c[d];return f;},a15d(a,b);}function a15c(){const j=['\x20Ready?','chooseInstance','\x20is\x20still\x20running.','name','maka\x20aws:reboot-instance','search','reboot-instance','5327160cQRilX','11024587NczJpT','3105924gLuilc','error','running','toString','confirm','10vHcOWR','(((.+)+)+)+$','836372cnMJNi','4722190fdXhBk','constructor','921765eAGcIQ','create','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','instanceId','exit','Reboot\x20an\x20EC2\x20instance','45142200BOqCeg','rbi','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','ec2rebootInstance'];a15c=function(){return j;};return a15c();}import a15e 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[a15h(0x9e)]({'name':a15h(0xad),'aliases':[a15h(0xa4)],'usage':a15h(0xab),'validOpts':[],'shortDesc':a15h(0xa2),'examples':[a15h(0xab),'maka\x20aws:rbi']},async function(){const i=a15h;try{const a=new AWS(),b=await a[i(0xa8)]();if(b?.['status']===i(0xb2)){const c=await Actions[i(0xb4)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[i(0xaa)]+i(0xa7));c&&b['instanceId']?a[i(0xa6)]({'instanceId':b[i(0xa0)]}):Log[i(0xb1)](i(0x9f)+b[i(0xaa)]+i(0xa9));}else Log[i(0xb1)](i(0xa5));}catch(d){d&&Log[i(0xb1)](d),process[i(0xa1)](0x1);}},a15e);
@@ -1 +1 @@
1
- const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=parseInt(E(0x16a))/0x1+-parseInt(E(0x173))/0x2*(-parseInt(E(0x192))/0x3)+parseInt(E(0x15b))/0x4*(parseInt(E(0x166))/0x5)+parseInt(E(0x178))/0x6*(parseInt(E(0x185))/0x7)+-parseInt(E(0x161))/0x8+parseInt(E(0x157))/0x9*(-parseInt(E(0x189))/0xa)+-parseInt(E(0x172))/0xb*(-parseInt(E(0x18d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x35b5c));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a16d;if(c){const e=c[F(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a[G(0x17f)]()[G(0x169)](G(0x162))[G(0x17f)]()[G(0x15c)](a16a)[G(0x169)](G(0x162));});a16a();import a16e from'./aws.command.js';function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x157;let f=c[d];return f;},a16d(a,b);}import{Command}from'../../command.js';function a16c(){const K=['\x20/\x20Year)','PERSON','25030CLAhHl','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','Address\x20Line\x202:\x20','Contact\x20First\x20Name\x20[Contact]:\x20','535572gfRFzW','confirm','OrganizationName','Do\x20you\x20wish\x20to\x20register\x20','contactType','821523HsAHMv','Choose\x20contact\x20type','maka\x20aws:rdn\x20--domain=example.com','The\x20domain\x20name:\x20','1359hlwRcM','PUBLIC_BODY','list','maka\x20aws:register-domain-name\x20--domain=example.com','500aNCQJq','constructor','123\x20Glorious\x20Way','includes','\x20is\x20available\x20for:','+1.5555555556','442216KHqTvr','(((.+)+)+)+$','ask','Contact\x20Email\x20[mail@example.com]:\x20','\x20years\x20(','985wpXBex','Person','\x20for\x20','search','56142vUFHtY','Duration\x20in\x20years\x20[1]:\x20','checkDomainAvailability','apply','Are\x20you\x20sure?','exit','My\x20Comanpy,\x20LLC.','Country\x20Code\x20[US]:\x20','11OWbNEB','2CvywEs','warn','+1.5555555555','rdn','values','6ZLwrsk','options','Invalid\x202\x20character\x20country\x20code','domain','Contact','Domain\x20name\x20is\x20unavailable','create','toString','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','Zip\x20Code\x20[96816]:\x20','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','96816','State\x20[HI]:\x20','1777909xnvKdt','Auto\x20Renew:\x20'];a16c=function(){return K;};return a16c();}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object[H(0x177)](CountryCode)[H(0x15e)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16I(0x17e)]({'name':'register-domain-name','aliases':[a16I(0x176)],'usage':'maka\x20aws:register-domain-name','requiredOpts':[a16I(0x17b)],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':[a16I(0x15a),a16I(0x194)]},async function(a,b){const J=a16I;try{const c=b[J(0x17b)],d=new AWS(),{available:f,cost:g}=await d[J(0x16c)](c);if(f&&g){Log['notice'](J(0x195)+c+J(0x15f));const {Price:h,Currency:i}=g;Log[J(0x174)]('\x20\x20'+h+'\x20'+i+'\x20/\x20Year\x20\x0a');const j=await Actions[J(0x18e)](J(0x190)+c+'\x20?',![]);if(j){const k={'type':J(0x159),'name':J(0x191),'message':J(0x193),'choices':['ASSOCIATION','COMPANY',J(0x188),J(0x158),'RESELLER']},l=await Actions[J(0x163)](J(0x16b))||'1',m=await Actions[J(0x163)](J(0x18c))||J(0x17c),n=await Actions[J(0x163)]('Contact\x20Last\x20Name\x20[Person]:\x20')||J(0x167),{contactType:o}=await Actions[J(0x179)](k),p=await Actions[J(0x163)]('Address\x20Line\x201\x20[123\x20Glorious\x20Way]:')||J(0x15d),q=await Actions['ask'](J(0x18b)),r=await Actions['ask'](J(0x181))||J(0x183),s=await Actions[J(0x163)](J(0x184))||'HI',t=await Actions['ask'](J(0x171))||'US',u=getCountryCodeEnum(t);if(!u)throw Log['error'](J(0x17a));const v=await Actions[J(0x163)](J(0x182))||J(0x175),w=await Actions[J(0x163)]('Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20')||J(0x160),x=await Actions['ask'](J(0x164))||'mail@example.com',y=await Actions[J(0x18e)](J(0x186)),z={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':u,'AddressLine1':p,'AddressLine2':q,'ZipCode':r,'PhoneNumber':v,'Fax':w,'State':s,'Email':x};if(o!=='PERSON'){const C=await Actions[J(0x163)](J(0x180))||J(0x170);z[J(0x18f)]=C;}const A=h||0x0*parseInt(l);Log['notice'](J(0x18a)),Log[J(0x174)](A+'\x20'+i+J(0x168)+l+J(0x165)+h+'\x20'+i+J(0x187));const B=await Actions[J(0x18e)](J(0x16e));B&&await d['registerDomain'](z,c,parseInt(l),y);}}else throw J(0x17d);}catch(D){D&&Log['error'](D),process[J(0x16f)](0x0);}},a16e);
1
+ const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=parseInt(E(0x114))/0x1+parseInt(E(0xed))/0x2+parseInt(E(0x11c))/0x3+-parseInt(E(0x106))/0x4*(-parseInt(E(0x11b))/0x5)+parseInt(E(0xef))/0x6*(-parseInt(E(0xe9))/0x7)+parseInt(E(0xf8))/0x8+-parseInt(E(0xee))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x8970a));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a16d;if(c){const e=c[F(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a[G(0x10b)]()[G(0xf9)](G(0x112))['toString']()[G(0xe6)](a16a)[G(0xf9)](G(0x112));});function a16c(){const K=['RESELLER','list','\x20/\x20Year\x20\x0a','1497034NGBqsj','24043401uUjEOl','18qSvbWi','PUBLIC_BODY','ask','mail@example.com','checkDomainAvailability','The\x20domain\x20name:\x20','Choose\x20contact\x20type','My\x20Comanpy,\x20LLC.','\x20is\x20available\x20for:','2316224yvzhlt','search','warn','Contact\x20First\x20Name\x20[Contact]:\x20','123\x20Glorious\x20Way','error','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','rdn','Contact','includes','ASSOCIATION','96816','create','Person','214456jzoYpg','domain','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','notice','toString','values','Are\x20you\x20sure?','\x20years\x20(','Domain\x20name\x20is\x20unavailable','Contact\x20Last\x20Name\x20[Person]:\x20','Duration\x20in\x20years\x20[1]:\x20','(((.+)+)+)+$','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','819107HAtYMc','\x20for\x20','maka\x20aws:register-domain-name\x20--domain=example.com','maka\x20aws:rdn\x20--domain=example.com','PERSON','\x20/\x20Year)','options','85mhEfJt','3254772pRnQZs','confirm','Zip\x20Code\x20[96816]:\x20','State\x20[HI]:\x20','Do\x20you\x20wish\x20to\x20register\x20','+1.5555555555','register-domain-name','Contact\x20Email\x20[mail@example.com]:\x20','COMPANY','Invalid\x202\x20character\x20country\x20code','Auto\x20Renew:\x20','constructor','+1.5555555556','apply','1444499kzrizC'];a16c=function(){return K;};return a16c();}a16a();import a16e 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';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object[H(0x10c)](CountryCode)[H(0x101)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0xdc;let f=c[d];return f;},a16d(a,b);}Command[a16I(0x104)]({'name':a16I(0xe1),'aliases':[a16I(0xff)],'usage':'maka\x20aws:register-domain-name','requiredOpts':[a16I(0x107)],'validOpts':[],'shortDesc':a16I(0x113),'examples':[a16I(0x116),a16I(0x117)]},async function(a,b){const J=a16I;try{const c=b['domain'],d=new AWS(),{available:f,cost:g}=await d[J(0xf3)](c);if(f&&g){Log[J(0x10a)](J(0xf4)+c+J(0xf7));const {Price:h,Currency:i}=g;Log[J(0xfa)]('\x20\x20'+h+'\x20'+i+J(0xec));const j=await Actions[J(0xdc)](J(0xdf)+c+'\x20?',![]);if(j){const k={'type':J(0xeb),'name':'contactType','message':J(0xf5),'choices':[J(0x102),J(0xe3),J(0x118),J(0xf0),J(0xea)]},l=await Actions[J(0xf1)](J(0x111))||'1',m=await Actions[J(0xf1)](J(0xfb))||J(0x100),n=await Actions[J(0xf1)](J(0x110))||J(0x105),{contactType:o}=await Actions[J(0x11a)](k),p=await Actions[J(0xf1)]('Address\x20Line\x201\x20[123\x20Glorious\x20Way]:')||J(0xfc),q=await Actions[J(0xf1)]('Address\x20Line\x202:\x20'),r=await Actions['ask'](J(0xdd))||J(0x103),s=await Actions[J(0xf1)](J(0xde))||'HI',t=await Actions[J(0xf1)]('Country\x20Code\x20[US]:\x20')||'US',u=getCountryCodeEnum(t);if(!u)throw Log[J(0xfd)](J(0xe4));const v=await Actions['ask'](J(0x109))||J(0xe0),w=await Actions[J(0xf1)](J(0xfe))||J(0xe7),x=await Actions['ask'](J(0xe2))||J(0xf2),y=await Actions[J(0xdc)](J(0xe5)),z={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':u,'AddressLine1':p,'AddressLine2':q,'ZipCode':r,'PhoneNumber':v,'Fax':w,'State':s,'Email':x};if(o!==J(0x118)){const C=await Actions[J(0xf1)](J(0x108))||J(0xf6);z['OrganizationName']=C;}const A=h||0x0*parseInt(l);Log[J(0x10a)]('Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'),Log[J(0xfa)](A+'\x20'+i+J(0x115)+l+J(0x10e)+h+'\x20'+i+J(0x119));const B=await Actions[J(0xdc)](J(0x10d));B&&await d['registerDomain'](z,c,parseInt(l),y);}}else throw J(0x10f);}catch(D){D&&Log['error'](D),process['exit'](0x0);}},a16e);
@@ -1 +1 @@
1
- const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x9e))/0x1+parseInt(h(0xa6))/0x2*(-parseInt(h(0x9b))/0x3)+-parseInt(h(0xa8))/0x4+parseInt(h(0x9c))/0x5*(parseInt(h(0xa4))/0x6)+-parseInt(h(0x97))/0x7+-parseInt(h(0x91))/0x8*(-parseInt(h(0xae))/0x9)+parseInt(h(0x98))/0xa*(parseInt(h(0xa5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0x55d2a));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0xab)]()[j(0x93)]('(((.+)+)+)+$')[j(0xab)]()[j(0x96)](a17a)[j(0x93)](j(0xa9));});a17a();import a17e from'./aws.command.js';function a17c(){const n=['366790BXPXHA','Please\x20choose\x20a\x20key\x20to\x20delete:','maka\x20aws:remove-key-pair','735942YsrQNC','10XhRMUb','Deleted\x20','421953HpLSOs','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','create','exit','deleteKeyPair','confirm','752562kzjrXv','451oOVtUO','2YmwxQP','error','2370276bPmOHK','(((.+)+)+)+$','apply','toString','name','success','9XtPNbi','Not\x20deleting\x20keypair','\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','Deleting\x20a\x20','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','3070456DfZByg','ec2describeKeys','search','ask','rkp','constructor','3689938BRtDzC'];a17c=function(){return n;};return a17c();}import{Command}from'../../command.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x8d;let f=c[d];return f;},a17d(a,b);}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[a17k(0xa0)]({'name':'remove-key-pair','aliases':[a17k(0x95)],'usage':a17k(0x9a),'validOpts':[],'shortDesc':a17k(0x90),'description':a17k(0x8e),'examples':[a17k(0x9a),'maka\x20aws:rkp']},async function(){const l=a17k;try{const a=new AWS(),b=await a[l(0x92)]();let c=undefined;const d=await Actions[l(0x94)](l(0x99));b?.['forEach'](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0xac)]);});if(!c)throw Log[l(0xa7)](l(0x9f));const f=await Actions[l(0xa3)](l(0x8f)+c+'\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?',![]);f?(await a[l(0xa2)](c),Log[l(0xad)](l(0x9d)+c)):Log['error'](l(0x8d)),process['exit'](0x0);}catch(g){g&&Log[l(0xa7)](g),process[l(0xa1)](0x1);}},a17e);
1
+ const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x136))/0x1+-parseInt(h(0x12c))/0x2*(parseInt(h(0x129))/0x3)+parseInt(h(0x132))/0x4*(-parseInt(h(0x134))/0x5)+-parseInt(h(0x142))/0x6*(parseInt(h(0x13c))/0x7)+parseInt(h(0x12f))/0x8+parseInt(h(0x126))/0x9+parseInt(h(0x130))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xea435));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x127)]()[j(0x12a)](j(0x13b))[j(0x127)]()[j(0x131)](a17a)[j(0x12a)](j(0x13b));});a17a();import a17e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x121;let f=c[d];return f;},a17d(a,b);}function a17c(){const n=['constructor','417632ndWEDc','rkp','90GMFGIx','maka\x20aws:remove-key-pair','1464355KnyLqR','deleteKeyPair','Deleting\x20a\x20','remove-key-pair','Please\x20choose\x20a\x20key\x20to\x20delete:','(((.+)+)+)+$','298123UNerRq','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','maka\x20aws:rkp','exit','create','114iQYJCg','name','apply','Deleted\x20','ask','Not\x20deleting\x20keypair','10383336tkPDQo','toString','forEach','195897dCgjNg','search','error','2TJNICy','success','\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','13331216JrjwWo','23576240KeAXxJ'];a17c=function(){return n;};return a17c();}Command[a17k(0x141)]({'name':a17k(0x139),'aliases':[a17k(0x133)],'usage':a17k(0x135),'validOpts':[],'shortDesc':a17k(0x13e),'description':a17k(0x12e),'examples':[a17k(0x135),a17k(0x13f)]},async function(){const l=a17k;try{const a=new AWS(),b=await a['ec2describeKeys']();let c=undefined;const d=await Actions[l(0x124)](l(0x13a));b?.[l(0x128)](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0x121)]);});if(!c)throw Log[l(0x12b)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const f=await Actions['confirm'](l(0x138)+c+l(0x13d),![]);f?(await a[l(0x137)](c),Log[l(0x12d)](l(0x123)+c)):Log[l(0x12b)](l(0x125)),process[l(0x140)](0x0);}catch(g){g&&Log[l(0x12b)](g),process[l(0x140)](0x1);}},a17e);
@@ -1 +1 @@
1
- const a18p=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=parseInt(m(0xcd))/0x1+parseInt(m(0xce))/0x2+parseInt(m(0xc8))/0x3+-parseInt(m(0xb2))/0x4*(-parseInt(m(0xb3))/0x5)+parseInt(m(0xbe))/0x6+parseInt(m(0xae))/0x7+-parseInt(m(0xac))/0x8*(parseInt(m(0xbc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x7d881));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a18d;if(c){const e=c[n(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const o=a18d;return a18a['toString']()[o(0xbb)](o(0xcc))[o(0xd1)]()[o(0xc5)](a18a)[o(0xbb)](o(0xcc));});a18a();function a18c(){const r=['5292PBEPdY','1815HMkVUO','\x0aSaved\x20host\x20','private','apply','publicIp','sep','public','maka\x20aws\x20set-host','search','9yxhHVm','fsi','3317064gdfpSL','stringify','maka\x20aws:set-host\x20--env\x20dev','getMakaProjectConfig','utf8','isFile','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','constructor','appName','cat\x20','2787720aBnXGQ','env','template','exit','(((.+)+)+)+$','164822CqIDqt','1077356gXWWTq','parse','create','toString','ssh.json','join','inherit','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','writeFileSync','privateIp','readFileSync','config/ssh.json','17527928scAvLp','maka\x20aws:sth\x20--env\x20prod','275345eBMXxu','ask','\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','host'];a18c=function(){return r;};return a18c();}import a18e from'path';import a18f from'fs';import{execSync}from'child_process';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0xaa;let f=c[d];return f;},a18d(a,b);}import a18g 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[a18p(0xd0)]({'name':'set-host','aliases':['sth'],'usage':a18p(0xba),'mustBeInMakaProject':!![],'requiredOpts':[a18p(0xc9)],'validOpts':[],'shortDesc':a18p(0xc4),'description':a18p(0xb0),'examples':[a18p(0xc0),a18p(0xad)]},async function(a,b){const q=a18p;try{const c=new AWS(),d=this[q(0xbd)]['getEnvFromShorthand'](b[q(0xc9)]),f=this[q(0xbd)]['getAppConfigPath'](d),g=this[q(0xbd)][q(0xc1)](),h=await c['chooseInstance'](),i=a18e[q(0xd3)](f,'ssh.json');!this['fsi'][q(0xc3)](i)&&await this[q(0xbd)][q(0xca)]({'srcPath':q(0xab),'destPath':i,'context':{'app':g[q(0xc6)]},'config':g});const j=JSON[q(0xcf)](a18f[q(0xaa)](i,q(0xc2))),k=await Actions[q(0xaf)](q(0xd5))||q(0xb9);if(k){if(k===q(0xb9)||k===q(0xb5)){if(k===q(0xb9))j[q(0xb1)]=h?.[q(0xb7)];else k===q(0xb5)&&(j[q(0xb1)]=h?.['privateIp']);}else throw'That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22';}else j[q(0xb1)]=h?.[q(0xd7)];a18f[q(0xd6)](a18e[q(0xd3)](f,'ssh.json'),JSON[q(0xbf)](j,null,0x2)),execSync(q(0xc7)+a18e['join'](f,'ssh.json'),{'stdio':q(0xd4)}),Log['success'](q(0xb4)+k+'\x20IP\x20to\x20'+f+a18e[q(0xb8)]+q(0xd2));}catch(l){l&&Log['error'](l),process[q(0xcb)](0x0);}},a18g);
1
+ const a18o=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=parseInt(m(0x100))/0x1+parseInt(m(0x105))/0x2*(parseInt(m(0x106))/0x3)+-parseInt(m(0x111))/0x4*(parseInt(m(0x120))/0x5)+parseInt(m(0x11a))/0x6*(parseInt(m(0x117))/0x7)+parseInt(m(0xff))/0x8+-parseInt(m(0x114))/0x9+parseInt(m(0x125))/0xa*(-parseInt(m(0x124))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x7c1fc));const a18b=(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;};}()),a18a=a18b(this,function(){const n=a18d;return a18a[n(0x11f)]()[n(0xfc)](n(0x11c))[n(0x11f)]()[n(0x10c)](a18a)[n(0xfc)](n(0x11c));});a18a();import a18e from'path';import a18f from'fs';function a18c(){const q=['join','cat\x20','ask','public','appName','constructor','sth','host','success','getEnvFromShorthand','608gRmKmo','config/ssh.json','publicIp','757530GtdKpu','\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','chooseInstance','19453FOaqoW','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','fsi','90jZmQnH','writeFileSync','(((.+)+)+)+$','error','privateIp','toString','3420LxByUr','private','maka\x20aws:sth\x20--env\x20prod','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','3531TQkmdO','20930MaaWrO','maka\x20aws\x20set-host','utf8','env','search','getAppConfigPath','stringify','278672HtHlcV','616256QeBzWn','isFile','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','ssh.json','\x20IP\x20to\x20','1351256JgnTrf','3hmneCY'];a18c=function(){return q;};return a18c();}import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0xfa;let f=c[d];return f;},a18d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'set-host','aliases':[a18o(0x10d)],'usage':a18o(0x126),'mustBeInMakaProject':!![],'requiredOpts':[a18o(0xfb)],'validOpts':[],'shortDesc':a18o(0x102),'description':a18o(0x115),'examples':['maka\x20aws:set-host\x20--env\x20dev',a18o(0x122)]},async function(a,b){const p=a18o;try{const c=new AWS(),d=this['fsi'][p(0x110)](b[p(0xfb)]),f=this[p(0x119)][p(0xfd)](d),g=this[p(0x119)]['getMakaProjectConfig'](),h=await c[p(0x116)](),i=a18e[p(0x107)](f,'ssh.json');!this[p(0x119)][p(0x101)](i)&&await this[p(0x119)]['template']({'srcPath':p(0x112),'destPath':i,'context':{'app':g[p(0x10b)]},'config':g});const j=JSON['parse'](a18f['readFileSync'](i,p(0xfa))),k=await Actions[p(0x109)](p(0x118))||p(0x10a);if(k){if(k===p(0x10a)||k===p(0x121)){if(k===p(0x10a))j[p(0x10e)]=h?.[p(0x113)];else k===p(0x121)&&(j['host']=h?.[p(0x11e)]);}else throw p(0x123);}else j[p(0x10e)]=h?.[p(0x11e)];a18f[p(0x11b)](a18e[p(0x107)](f,p(0x103)),JSON[p(0xfe)](j,null,0x2)),execSync(p(0x108)+a18e[p(0x107)](f,p(0x103)),{'stdio':'inherit'}),Log[p(0x10f)]('\x0aSaved\x20host\x20'+k+p(0x104)+f+a18e['sep']+p(0x103));}catch(l){l&&Log[p(0x11d)](l),process['exit'](0x0);}},a18g);
@@ -1 +1 @@
1
- const a19h=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=parseInt(f(0x1ab))/0x1*(parseInt(f(0x1b9))/0x2)+-parseInt(f(0x1ad))/0x3+-parseInt(f(0x1aa))/0x4+-parseInt(f(0x1a3))/0x5+-parseInt(f(0x1bf))/0x6*(parseInt(f(0x1a2))/0x7)+parseInt(f(0x1ba))/0x8*(-parseInt(f(0x1b7))/0x9)+-parseInt(f(0x1a4))/0xa*(-parseInt(f(0x1bb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0xaaeb5));function a19c(){const j=['running','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','\x20Ready?','status','4029984nIkIXW','91FnOiLr','exit','890673rXjCwZ','(((.+)+)+)+$','instanceId','toString','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','maka\x20aws:terminate-instance','error','chooseInstance','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','6772131dNAmlW','search','6218UlFCej','8JvCLGy','11MfNuAK','create','maka\x20aws:ti','name','12MXydeB','\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20','terminate-instance','2317917TusrQh','3313275duSgQL','37989290FWZumU','ec2terminateInstance'];a19c=function(){return j;};return a19c();}const a19b=(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;};}()),a19a=a19b(this,function(){const g=a19d;return a19a['toString']()[g(0x1b8)](g(0x1ae))[g(0x1b0)]()['constructor'](a19a)['search'](g(0x1ae));});a19a();function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a19d(a,b);}import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a19h(0x1bc)]({'name':a19h(0x1c1),'aliases':['ti'],'usage':a19h(0x1b3),'validOpts':[],'shortDesc':'Terminate\x20an\x20EC2\x20instance','description':a19h(0x1c0),'examples':[a19h(0x1b3),a19h(0x1bd)]},async function(){const i=a19h;try{const a=new AWS(),b=await a[i(0x1b5)]();if(b?.[i(0x1af)]&&b?.[i(0x1a9)]===i(0x1a6)){const c=await Actions['confirm'](i(0x1b2)+b[i(0x1be)]+i(0x1a8));c?a[i(0x1a5)]({'instanceId':b[i(0x1af)]}):Log[i(0x1b4)](i(0x1a7)+b[i(0x1be)]+i(0x1b6));}else Log['error'](i(0x1b1));}catch(d){d&&Log[i(0x1b4)](d),process[i(0x1ac)](0x1);}},a19e);
1
+ const a19i=a19d;function a19c(){const k=['186LEFOlV','28OCiuPy','76470luGrIj','name','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20','status','toString','37012pwKWwm','apply','ec2terminateInstance','maka\x20aws:terminate-instance','maka\x20aws:ti','117523YkqkAz','search','Terminate\x20an\x20EC2\x20instance','1633784EMfWJO','terminate-instance','constructor','instanceId','22UuhYCN','66nJtMhM','78585YYWWdt','3341565giFekq','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','error','187008sLXEgG','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','chooseInstance','confirm','(((.+)+)+)+$'];a19c=function(){return k;};return a19c();}(function(a,b){const f=a19d,c=a();while(!![]){try{const d=parseInt(f(0xca))/0x1*(-parseInt(f(0xdd))/0x2)+-parseInt(f(0xd0))/0x3+-parseInt(f(0xd6))/0x4*(-parseInt(f(0xcc))/0x5)+-parseInt(f(0xd5))/0x6*(-parseInt(f(0xe2))/0x7)+-parseInt(f(0xe5))/0x8+parseInt(f(0xcd))/0x9+-parseInt(f(0xd7))/0xa*(parseInt(f(0xcb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x44e4e));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0xdc)]()[h(0xe3)]('(((.+)+)+)+$')[h(0xdc)]()[h(0xe7)](a19a)[h(0xe3)](h(0xd4));});a19a();import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xca;let f=c[d];return f;},a19d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':a19i(0xe6),'aliases':['ti'],'usage':a19i(0xe0),'validOpts':[],'shortDesc':a19i(0xe4),'description':a19i(0xda),'examples':[a19i(0xe0),a19i(0xe1)]},async function(){const j=a19i;try{const a=new AWS(),b=await a[j(0xd2)]();if(b?.[j(0xe8)]&&b?.[j(0xdb)]==='running'){const c=await Actions[j(0xd3)](j(0xd9)+b[j(0xd8)]+'\x20Ready?');c?a[j(0xdf)]({'instanceId':b[j(0xe8)]}):Log[j(0xcf)](j(0xd1)+b[j(0xd8)]+'\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).');}else Log[j(0xcf)](j(0xce));}catch(d){d&&Log[j(0xcf)](d),process['exit'](0x1);}},a19e);
@@ -1 +1 @@
1
- (function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(0x8d))/0x1*(-parseInt(f(0x8b))/0x2)+parseInt(f(0x8a))/0x3+-parseInt(f(0x89))/0x4+parseInt(f(0x8e))/0x5*(parseInt(f(0x93))/0x6)+-parseInt(f(0x92))/0x7*(parseInt(f(0x87))/0x8)+parseInt(f(0x85))/0x9*(-parseInt(f(0x94))/0xa)+-parseInt(f(0x8c))/0xb*(-parseInt(f(0x90))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x7a97f));function a20c(){var i=['242520yOfiQP','315tGkNdn','search','104RWcxYl','toString','2302800YyLoYK','2963499xkDoGp','15470kxReaW','187jgZSFM','118yafuGk','357245jymNKo','(((.+)+)+)+$','1109028PSlavz','apply','387611tUNPsf','84WlkBjd'];a20c=function(){return i;};return a20c();}function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x85;var f=c[d];return f;},a20d(a,b);}var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a['toString']()[h(0x86)](h(0x8f))[h(0x88)]()['constructor'](a20a)[h(0x86)](h(0x8f));});a20a();import'./build.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0x110))/0x1+-parseInt(f(0x112))/0x2*(parseInt(f(0x118))/0x3)+-parseInt(f(0x115))/0x4*(parseInt(f(0x11a))/0x5)+parseInt(f(0x10c))/0x6*(parseInt(f(0x10f))/0x7)+parseInt(f(0x116))/0x8*(parseInt(f(0x10d))/0x9)+parseInt(f(0x114))/0xa+parseInt(f(0x111))/0xb*(parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x862f6));function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x10c;var f=c[d];return f;},a20d(a,b);}var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var g=a20d;return a20a[g(0x10e)]()[g(0x117)]('(((.+)+)+)+$')[g(0x10e)]()[g(0x113)](a20a)[g(0x117)]('(((.+)+)+)+$');});a20a();function a20c(){var h=['57hlbuOc','5820lFpoPf','2167190rKPcma','102dbioOe','220941UdvRLl','toString','90958MbOqiH','787640zwjqPH','24079gDjaQO','59166mhEzda','constructor','7556260cCyUPL','4TyMrZM','96BNlemv','search'];a20c=function(){return h;};return a20c();}import'./build.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a21q=a21d;(function(a,b){const n=a21d,c=a();while(!![]){try{const d=parseInt(n(0x19f))/0x1*(parseInt(n(0x1b0))/0x2)+-parseInt(n(0x196))/0x3+parseInt(n(0x197))/0x4+parseInt(n(0x198))/0x5*(parseInt(n(0x1a9))/0x6)+parseInt(n(0x192))/0x7*(-parseInt(n(0x18f))/0x8)+parseInt(n(0x18e))/0x9+-parseInt(n(0x190))/0xa*(parseInt(n(0x1af))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x29f42));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a21d;if(c){const e=c[o(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const p=a21d;return a21a[p(0x199)]()['search'](p(0x195))[p(0x199)]()['constructor'](a21a)['search'](p(0x195));});a21a();import a21e from'path';import a21f from'fs';import a21g from'semver';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a21c(){const t=['build','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','apply','maka\x20build','Aborted.','error',').\x20Update?','--release','209934LxwcpI','splice','concat','app.tar.gz','confirm','This\x20project\x27s\x20meteor\x20version\x20(','1062237YUsDjJ','246242xTibfL','1098963bhmUqx','1235224aCtbva','20fobjBN','join','7zrDhnq','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','force','(((.+)+)+)+$','227676EkXlFf','700392cLYjXH','25pLxFkj','toString','pathFromProject','fsi','getGlobalMeteorVersion','autoupdate','invokeMeteorCommand','1TgrjUh',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20('];a21c=function(){return t;};return a21c();}const BuildCommand=Command['create']({'name':a21q(0x1a1),'usage':a21q(0x1a4),'validOpts':[a21q(0x194)],'aliases':['b'],'shortDesc':a21q(0x1a2),'mustBeInMakaProject':!![],'description':'\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','examples':['maka\x20build']},async function(a,b){const r=a21q;try{await this[r(0x19b)]['checkMeteorPackage'](r(0x19d),{'shouldInstall':!![]});const c=b['force'];if(!c){const g=this['fsi'][r(0x19c)](),h=this[r(0x19b)]['getProjectMeteorVersion'](),i=a21g['gt'](g,h);if(i){const j=await Actions[r(0x1ad)](r(0x1ae)+h+r(0x1a0)+g+r(0x1a7));j&&this[r(0x19b)][r(0x19e)]('update',[r(0x1a8),g]);}}const d=[this[r(0x19b)][r(0x19a)]({'pathParts':[r(0x1a1)]})][r(0x1ab)](process['argv']['slice'](0x3)),f=a21e[r(0x191)](this['fsi'][r(0x19a)]({}),r(0x1a1),r(0x1ac));if(a21f['existsSync'](f)){const k=c??await Actions[r(0x1ad)](r(0x193));if(!k)throw Log[r(0x1a6)](r(0x1a5));}d['forEach']((l,m)=>{const s=r;l==='--force'&&d[s(0x1aa)](m,0x2);}),this[r(0x19b)][r(0x19e)](r(0x1a1),d);}catch(l){console['error'](l),process['exit'](0x0);}});function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x18e;let f=c[d];return f;},a21d(a,b);}export default BuildCommand;
1
+ const a21p=a21d;function a21c(){const s=['Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','2808010mDlaRx','103205aUUWYj','forEach',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','getGlobalMeteorVersion','--force','6868kRrCNW','747PKBITM','669557AsvOMB','pathFromProject','splice','getProjectMeteorVersion','error','This\x20project\x27s\x20meteor\x20version\x20(','slice','build','create','(((.+)+)+)+$','\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','Aborted.','constructor','confirm','existsSync','--release','1052282tNXykG','force','app.tar.gz','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','update','join','toString','fsi','invokeMeteorCommand','627080RMvYoY','36IJxgab','maka\x20build','15352Szkhts','894WnKEaN','search',').\x20Update?'];a21c=function(){return s;};return a21c();}(function(a,b){const n=a21d,c=a();while(!![]){try{const d=parseInt(n(0x1ee))/0x1+parseInt(n(0x1e5))/0x2+-parseInt(n(0x1f2))/0x3*(parseInt(n(0x1d3))/0x4)+parseInt(n(0x1f7))/0x5*(parseInt(n(0x1ef))/0x6)+parseInt(n(0x1d5))/0x7+-parseInt(n(0x1f1))/0x8*(parseInt(n(0x1d4))/0x9)+-parseInt(n(0x1f6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x66c6e));const a21b=(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;};}()),a21a=a21b(this,function(){const o=a21d;return a21a[o(0x1eb)]()['search'](o(0x1de))['toString']()[o(0x1e1)](a21a)[o(0x1f3)]('(((.+)+)+)+$');});a21a();function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a21d(a,b);}import a21e from'path';import a21f from'fs';import a21g from'semver';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21p(0x1dd)]({'name':a21p(0x1dc),'usage':a21p(0x1f0),'validOpts':['force'],'aliases':['b'],'shortDesc':a21p(0x1e8),'mustBeInMakaProject':!![],'description':a21p(0x1df),'examples':[a21p(0x1f0)]},async function(a,b){const q=a21p;try{await this[q(0x1ec)]['checkMeteorPackage']('autoupdate',{'shouldInstall':!![]});const c=b[q(0x1e6)];if(!c){const g=this[q(0x1ec)][q(0x1d1)](),h=this[q(0x1ec)][q(0x1d8)](),i=a21g['gt'](g,h);if(i){const j=await Actions[q(0x1e2)](q(0x1da)+h+q(0x1d0)+g+q(0x1f4));j&&this[q(0x1ec)][q(0x1ed)](q(0x1e9),[q(0x1e4),g]);}}const d=[this[q(0x1ec)][q(0x1d6)]({'pathParts':[q(0x1dc)]})]['concat'](process['argv'][q(0x1db)](0x3)),f=a21e[q(0x1ea)](this[q(0x1ec)][q(0x1d6)]({}),'build',q(0x1e7));if(a21f[q(0x1e3)](f)){const k=c??await Actions[q(0x1e2)](q(0x1f5));if(!k)throw Log[q(0x1d9)](q(0x1e0));}d[q(0x1f8)]((l,m)=>{const r=q;l===r(0x1d2)&&d[r(0x1d7)](m,0x2);}),this[q(0x1ec)]['invokeMeteorCommand']('build',d);}catch(l){console[q(0x1d9)](l),process['exit'](0x0);}});export default BuildCommand;