@maka/maka-cli 5.0.30 → 5.0.32

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 (169) hide show
  1. package/bundle/obf/package.json +2 -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/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/templates/service/eslint/babelrc +18 -0
  144. package/bundle/obf/src/templates/service/eslint/config.eslint.js +57 -0
  145. package/bundle/obf/src/tool.js +1 -1
  146. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/https/https.class.js +1 -1
  155. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  156. package/bundle/obf/src/tools/log/log.class.js +1 -1
  157. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  159. package/bundle/obf/src/tools/options/options.class.js +1 -1
  160. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  161. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  162. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  163. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  164. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  166. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  167. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  168. package/package.json +2 -1
  169. package/bundle/obf/src/templates/service/eslint/eslintrc.json +0 -54
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "5.0.30",
3
+ "version": "5.0.32",
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.",
@@ -38,6 +38,7 @@
38
38
  "@aws-sdk/client-ecr": "^3.637.0",
39
39
  "@aws-sdk/client-route-53": "^3.637.0",
40
40
  "@aws-sdk/client-route-53-domains": "^3.637.0",
41
+ "@babel/eslint-parser": "^7.25.9",
41
42
  "@inquirer/prompts": "^5.3.8",
42
43
  "@maka/tar": "^6.2.2",
43
44
  "blessed": "^0.1.81",
@@ -1 +1 @@
1
- const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0xfe))/0x1*(parseInt(n(0x11a))/0x2)+-parseInt(n(0xe3))/0x3*(-parseInt(n(0xe6))/0x4)+-parseInt(n(0xd5))/0x5*(-parseInt(n(0xdf))/0x6)+-parseInt(n(0x111))/0x7*(parseInt(n(0xd7))/0x8)+-parseInt(n(0xc5))/0x9*(parseInt(n(0xef))/0xa)+parseInt(n(0xed))/0xb+-parseInt(n(0xdd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x38fc5));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a['toString']()[p(0xff)](p(0x112))[p(0xdb)]()[p(0x107)](a0a)[p(0xff)](p(0x112));});function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xc4;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';function a0c(){const A=['function','pallet','cfg','addCommand','_handler','addCommand\x20requires\x20a\x20Command\x20instance','minOptsLength','murder','light','Command\x20not\x20found','190cJecFQ','(experimental)\x20','2599608MazSTW','bind','getGlobalConfig','options','toString','Command.create\x20requires\x20some\x20options!','466656FQEWsr','push','43242AqBhdI','tableList','Too\x20many\x20options','\x20not\x20found','28266sxtmpE','bright','sort','148huUEgj','_commands','assign','apply','maxOptsLength','keys','find','2049531GjVfsj','experimental','4120QhRcFF','forEach','call','There\x20is\x20no\x20Meteor\x20application\x20here','Too\x20many\x20arguments','number','run','Command\x20requires\x20a\x20name','maxArgLength','Name','Command\x20requires\x20a\x20handler\x20function','slice','LIGHT','header','Sub-Commands:','12003LdbLTZ','search','Too\x20few\x20arguments','validateMeteorInstall','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','name','length','mpi','aliases','constructor','localeCompare','mustBeInMakaProject','invoke','minArgLength','generate','validateParams','maybeProxyCommandToMeteor','exit','error','7PZnsai','(((.+)+)+)+$','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','split','processAndRunCommand','Alias','projectConfig','create','usage','22MuguEr','notice','shortDesc','1737DfyKgp','Command\x20','getMakaProjectConfig','match','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','setColorMode'];a0c=function(){return A;};return a0c();}import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';export class Command extends Tool{['options'];[a0q(0x117)];[a0q(0xe7)];['_handler'];constructor(a,b){const r=a0q;super();if(!a)throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[r(0x103)])throw new Error(r(0xf6));if(typeof b!==r(0xcb))throw new Error(r(0xf9));this[r(0xda)]=Object[r(0xe8)]({},a),this['name']=this[r(0xda)]['name'],this[r(0xe7)]=[],this['_handler']=b[r(0xd8)](this);}static[a0q(0x118)](a,b,c){const s=a0q;if(!a)throw new Error(s(0xdc));if(typeof b!==s(0xcb))throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');const d=new Command(a,b);return c=c||a0f,Object[s(0xe8)](d,{'parent':c?.[s(0xda)]?.['name']}),c[s(0xce)](d),d;}[a0q(0xce)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0xd0));this[t(0xe7)][t(0xde)](a);}async[a0q(0xf5)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this['cfg'][u(0xd9)](),d=c[u(0xcc)]===u(0xd3)?ColorMode[u(0xfb)]:ColorMode['DARK'];Log[u(0xca)](d);}catch(f){Log[u(0x110)](f),process[u(0x10f)](0x0);}return await this[u(0x10a)](a,b);}catch(g){process[u(0x10f)](0x1);}}async[a0q(0x10a)](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[v(0xda)];try{if(this[v(0xda)][v(0x103)]!=='generate'){if(!isRoot){const g=(a[0x0]===_prevCmd||a[v(0x104)]===0x0)&&this[v(0xe7)][v(0x104)]>=0x0,h=b['help']||b['h'];if(g&&h){if(this[v(0xe7)]['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[v(0xda)][v(0x109)]){const i=this['validateMakaProject']();if(!i)throw new MustBeInProjectError();this['projectConfig']=this[v(0xcd)][v(0xc7)]();}if(this[v(0xda)]['mustBeLoggedIn']){const j=await this['validateUserIsLoggedIn']();if(!j)throw new MustBeLoggedIn();}if(this[v(0xda)]['mustHaveMeteorInstalled']){const k=this[v(0x101)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[v(0xda)][v(0x10b)]===v(0xf4)){if(a[v(0x104)]<this[v(0xda)]['minArgLength']){Log[v(0x110)](v(0x100));throw new UsageError();}}if(typeof this[v(0xda)][v(0xf7)]===v(0xf4)){if(a[v(0x104)]>=this['options'][v(0xf7)]){Log['error'](v(0xf3));throw new UsageError();}}if(typeof this['options'][v(0xd1)]===v(0xf4)){if(Object[v(0xeb)](b)[v(0x104)]<this[v(0xda)]['minOptsLength']){Log[v(0x110)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[v(0xda)][v(0xea)]===v(0xf4)){if(Object[v(0xeb)](b)[v(0x104)]>=this['options'][v(0xea)]){Log[v(0x110)](v(0xe1));throw new UsageError();}}}}b=await this[v(0x10d)](a,b,this[v(0xda)]),_prevCmd=a[0x0];}return await this[v(0xcf)][v(0xf1)](this,a,b);}catch(l){Log[v(0x119)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[v(0x11b)](v(0xfd)),this[v(0xe0)](this[v(0xe7)]),Log[v(0xfc)]('Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details');else{if(l instanceof MustBeInProjectError)Log[v(0x110)](v(0xc9));else{if(l instanceof NoMeteorFoundError)Log[v(0x110)](v(0x102)),Log[v(0x11b)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(l instanceof NoMeteorAppFoundError)Log[v(0x110)](v(0xf2));else l instanceof MustBeLoggedIn&&(Log[v(0x110)](v(0x113)),Log[v(0x11b)]('Please\x20run\x20\x22maka\x20login\x22'));}}}process['exit'](0x1);}}[a0q(0xe0)](a){const w=a0q,b=new a0e({});b[w(0xde)]([w(0xf8),w(0x116),'Description']),a[w(0xe5)]((c,d)=>{const x=w;return c[x(0x103)][x(0x108)](d[x(0x103)]);})[w(0xf0)](c=>{const y=w;if(c['name']!==y(0xd2)&&c[y(0x103)]!=='play'){const d=c[y(0xee)](),e=d?y(0xd6)+c['shortDesc']():c[y(0xc4)]();b[y(0xde)]([c[y(0x103)],c[y(0x106)](),e]);}}),Log[w(0xe4)](b['toString']());}async[a0q(0x115)](a,b=[],c={}){const z=a0q;try{const d=a?.[z(0x114)](':');if(!d||d[z(0x104)]===0x0)throw'Command\x20format\x20is\x20incorrect';if(d[0x0]===z(0x10c)||d[0x0]==='g'&&d[z(0x104)]>0x1){const h=this[z(0xe7)]['find'](j=>j[z(0xc8)](z(0x10c)));if(!h)throw z(0xd4);const i=d[z(0xfa)](0x1)['join'](':');return b['unshift'](i),await h['run'](b,c);}let f=this[z(0xe7)],g;for(const j of d){g=f[z(0xec)](k=>k[z(0xc8)](j));if(!g)try{await this[z(0x105)][z(0x10e)]();}catch(k){throw z(0xc6)+j+z(0xe2);}g&&(f=g['_commands']);}if(g){const l=await g[z(0xf5)](b,c);return l;}else throw z(0xd4);}catch(m){Log['error'](m),process[z(0x10f)](0x1);}}}
1
+ const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0x1b4))/0x1*(parseInt(n(0x1b6))/0x2)+parseInt(n(0x180))/0x3+-parseInt(n(0x1b5))/0x4+-parseInt(n(0x176))/0x5+-parseInt(n(0x18f))/0x6*(parseInt(n(0x1bc))/0x7)+parseInt(n(0x196))/0x8*(parseInt(n(0x19b))/0x9)+parseInt(n(0x1cb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x5cfcb));const a0b=(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;};}()),a0a=a0b(this,function(){const o=a0d;return a0a[o(0x1ae)]()[o(0x1a8)](o(0x1a3))['toString']()[o(0x1c6)](a0a)[o(0x1a8)]('(((.+)+)+)+$');});function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x176;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 B=['minArgLength','validateParams','addCommand','toString','notice','find','addCommand\x20requires\x20a\x20Command\x20instance','maxOptsLength','number','56EcSTbT','2708536vYmrUE','26552uGPhOu','_handler','Command\x20','mustBeInMakaProject','options','generate','7emkupa','murder','create','assign','name','error','Alias','_commands','match','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','constructor','call','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','help','getGlobalConfig','22176880HOxjtn','chdir','keys','3238055wZNlBe','cfg','\x20not\x20found','validateUserIsLoggedIn','Too\x20few\x20options','minOptsLength','shortDesc','invoke','forEach','Too\x20few\x20arguments','1466223JkASfw','function','setColorMode','cwd','header','join','mpi','push','experimental','Name','unshift','play','There\x20is\x20no\x20Meteor\x20application\x20here','getMakaProjectConfig','mustHaveMeteorInstalled','1791474VOZFkA','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','bright','sort','Too\x20many\x20arguments','slice','DARK','24rUOeLQ','Too\x20many\x20options','bind','Command\x20not\x20found','mustBeLoggedIn','123678DXCBxg','exit','Please\x20run\x20\x22maka\x20login\x22','Command.create\x20requires\x20some\x20options!','Command.create\x20requires\x20a\x20handler\x20function!','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','Command\x20requires\x20a\x20name','Sub-Commands:','(((.+)+)+)+$','maybeProxyCommandToMeteor','maxArgLength','length','validateMakaProject','search','light','pallet'];a0c=function(){return B;};return a0c();}async function inside(a='.',b){const p=a0d,c=process['cwd']();try{return process[p(0x1cc)](a),await b();}finally{process[p(0x1cc)](c);}}export class Command extends Tool{[a0q(0x1ba)];['projectConfig'];[a0q(0x1c3)];[a0q(0x1b7)];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0x1c8));if(!a[r(0x1c0)])throw new Error(r(0x1a1));if(typeof b!==r(0x181))throw new Error('Command\x20requires\x20a\x20handler\x20function');this['options']=Object[r(0x1bf)]({},a),this[r(0x1c0)]=this[r(0x1ba)][r(0x1c0)],this[r(0x1c3)]=[],this[r(0x1b7)]=b[r(0x198)](this);}static[a0q(0x1be)](a,b,c){const s=a0q;if(!a)throw new Error(s(0x19e));if(typeof b!=='function')throw new Error(s(0x19f));const d=new Command(a,b);return c=c||a0f,Object[s(0x1bf)](d,{'parent':c?.[s(0x1ba)]?.[s(0x1c0)]}),c[s(0x1ad)](d),d;}['addCommand'](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0x1b1));this[t(0x1c3)][t(0x187)](a);}async['run'](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this[u(0x177)][u(0x1ca)](),d=c[u(0x1aa)]===u(0x1a9)?ColorMode['LIGHT']:ColorMode[u(0x195)];Log[u(0x182)](d);}catch(f){Log[u(0x1c1)](f),process[u(0x19c)](0x0);}return await inside(b[u(0x183)],async()=>{const v=u;return await this[v(0x17d)](a,b);});}catch(g){process[u(0x19c)](0x1);}}async['invoke'](a,b){const w=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this['options'];try{if(this[w(0x1ba)][w(0x1c0)]!==w(0x1bb)){if(!isRoot){const g=(a[0x0]===_prevCmd||a['length']===0x0)&&this[w(0x1c3)][w(0x1a6)]>=0x0,h=b[w(0x1c9)]||b['h'];if(g&&h){if(this['_commands'][w(0x1a6)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this['options'][w(0x1b9)]){const i=this[w(0x1a7)]();if(!i)throw new MustBeInProjectError();this['projectConfig']=this['cfg'][w(0x18d)]();}if(this[w(0x1ba)][w(0x19a)]){const j=await this[w(0x179)]();if(!j)throw new MustBeLoggedIn();}if(this[w(0x1ba)][w(0x18e)]){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this['options'][w(0x1ab)]==='number'){if(a['length']<this[w(0x1ba)]['minArgLength']){Log[w(0x1c1)](w(0x17f));throw new UsageError();}}if(typeof this[w(0x1ba)][w(0x1a5)]==='number'){if(a[w(0x1a6)]>=this[w(0x1ba)]['maxArgLength']){Log['error'](w(0x193));throw new UsageError();}}if(typeof this['options'][w(0x17b)]===w(0x1b3)){if(Object[w(0x1cd)](b)[w(0x1a6)]<this[w(0x1ba)][w(0x17b)]){Log[w(0x1c1)](w(0x17a));throw new UsageError();}}if(typeof this[w(0x1ba)][w(0x1b2)]===w(0x1b3)){if(Object[w(0x1cd)](b)[w(0x1a6)]>=this[w(0x1ba)][w(0x1b2)]){Log[w(0x1c1)](w(0x197));throw new UsageError();}}}}b=await this[w(0x1ac)](a,b,this[w(0x1ba)]),_prevCmd=a[0x0];}return await this['_handler'][w(0x1c7)](this,a,b);}catch(l){Log['usage'](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[w(0x1af)](w(0x1a2)),this['tableList'](this[w(0x1c3)]),Log[w(0x184)]('Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details');else{if(l instanceof MustBeInProjectError)Log[w(0x1c1)](w(0x190));else{if(l instanceof NoMeteorFoundError)Log['error'](w(0x1c5)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(l instanceof NoMeteorAppFoundError)Log[w(0x1c1)](w(0x18c));else l instanceof MustBeLoggedIn&&(Log['error'](w(0x1a0)),Log[w(0x1af)](w(0x19d)));}}}process[w(0x19c)](0x1);}}['tableList'](a){const x=a0q,b=new a0e({});b[x(0x187)]([x(0x189),x(0x1c2),'Description']),a[x(0x192)]((c,d)=>{const y=x;return c[y(0x1c0)]['localeCompare'](d[y(0x1c0)]);})[x(0x17e)](c=>{const z=x;if(c[z(0x1c0)]!==z(0x1bd)&&c['name']!==z(0x18b)){const d=c[z(0x188)](),e=d?'(experimental)\x20'+c[z(0x17c)]():c[z(0x17c)]();b[z(0x187)]([c['name'],c['aliases'](),e]);}}),Log[x(0x191)](b[x(0x1ae)]());}async['processAndRunCommand'](a,b=[],c={}){const A=a0q;try{const d=a?.['split'](':');if(!d||d[A(0x1a6)]===0x0)throw'Command\x20format\x20is\x20incorrect';if(d[0x0]===A(0x1bb)||d[0x0]==='g'&&d[A(0x1a6)]>0x1){const h=this['_commands'][A(0x1b0)](j=>j['match'](A(0x1bb)));if(!h)throw A(0x199);const i=d[A(0x194)](0x1)[A(0x185)](':');return b[A(0x18a)](i),await h['run'](b,c);}let f=this[A(0x1c3)],g;for(const j of d){g=f[A(0x1b0)](k=>k[A(0x1c4)](j));if(!g)try{await this[A(0x186)][A(0x1a4)]();}catch(k){throw A(0x1b8)+j+A(0x178);}g&&(f=g[A(0x1c3)]);}if(g){const l=await g['run'](b,c);return l;}else throw A(0x199);}catch(m){Log[A(0x1c1)](m),process[A(0x19c)](0x1);}}}
@@ -1 +1 @@
1
- (function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(0xf8))/0x1*(parseInt(f(0x101))/0x2)+parseInt(f(0xf7))/0x3*(-parseInt(f(0x103))/0x4)+parseInt(f(0xf5))/0x5*(-parseInt(f(0xfd))/0x6)+-parseInt(f(0xfb))/0x7+parseInt(f(0xfa))/0x8*(-parseInt(f(0x102))/0x9)+-parseInt(f(0xff))/0xa*(parseInt(f(0x100))/0xb)+parseInt(f(0xfe))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xa72fc));var a1b=(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;};}()),a1a=a1b(this,function(){var g=a1d;return a1a['toString']()[g(0xf9)](g(0xf6))[g(0xfc)]()['constructor'](a1a)[g(0xf9)](g(0xf6));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xf5;var f=c[d];return f;},a1d(a,b);}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';function a1c(){var h=['36UrfGZa','721568WXkGPM','12785BslUCq','(((.+)+)+)+$','6QnFcnG','5tfaZTZ','search','1924912lQgAOx','7495537xDEYVo','toString','1590NXYpLv','52788324yEwszo','30bDpLAU','2413070dQDLye','6206EZuQfb'];a1c=function(){return h;};return a1c();}import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./profile.js';
1
+ (function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(0x13c))/0x1+-parseInt(f(0x142))/0x2+parseInt(f(0x13d))/0x3+-parseInt(f(0x13a))/0x4*(parseInt(f(0x13e))/0x5)+parseInt(f(0x144))/0x6*(parseInt(f(0x139))/0x7)+-parseInt(f(0x13b))/0x8+parseInt(f(0x143))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xa5676));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0x140)]()[h(0x13f)](h(0x145))[h(0x140)]()[h(0x138)](a1a)[h(0x13f)]('(((.+)+)+)+$');});function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x138;var f=c[d];return f;},a1d(a,b);}a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';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';function a1c(){var i=['apply','1787104UHqvxS','27812637Rlvetw','6LsIYpK','(((.+)+)+)+$','constructor','1797586OJCfLT','188UFXlAD','5428656Xebwaz','445884QdYtrU','568176RfKEuY','89465eRHSAv','search','toString'];a1c=function(){return i;};return a1c();}import'./lint.js';import'./undo.js';import'./profile.js';
@@ -1 +1 @@
1
- const a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0x108))/0x1*(parseInt(h(0x12e))/0x2)+-parseInt(h(0x10c))/0x3*(-parseInt(h(0x11b))/0x4)+parseInt(h(0x10e))/0x5*(parseInt(h(0x11d))/0x6)+-parseInt(h(0x11c))/0x7*(-parseInt(h(0x120))/0x8)+-parseInt(h(0x126))/0x9*(parseInt(h(0x11a))/0xa)+-parseInt(h(0x130))/0xb+-parseInt(h(0x123))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x4ca61));const a2b=(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;};}()),a2a=a2b(this,function(){const i=a2d;return a2a[i(0x107)]()[i(0x115)](i(0x127))[i(0x107)]()[i(0x106)](a2a)[i(0x115)](i(0x127));});a2a();function a2c(){const n=['error','ChatGPT\x20style\x20AI\x20interface','cert','You:\x20','search','data','notice','fsi','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','15210IPsJRt','1780NfoMwD','53473HSvXwv','205578KWEmRM','Using\x20OpenAI\x20Key\x20','isFile','648ukTxRq','getGlobalConfig','question','4954920fTedtQ','openapikey','Using\x20CA\x20Cert\x20','3654FaXzzh','(((.+)+)+)+$','create','openai','cacert','askGPT','close','stdin','5832VrgnEX','stdout','617232flpKnn','parse','message','constructor','toString','175XjGJZp','GPT:\x20','trim','exit','906LJYJmN','createInterface','20uVoRGb','choices','bright'];a2c=function(){return n;};return a2c();}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 a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x106;let f=c[d];return f;},a2d(a,b);}const startChat=async({openApiKey:a,caCertPath:b})=>{const j=a2d,c=a2e[j(0x10d)]({'input':process[j(0x12d)],'output':process[j(0x12f)]});c[j(0x122)](j(0x114),async d=>{const k=j;if(d['toLowerCase']()===k(0x10b)){c[k(0x12c)]();return;}try{const e=await HTTPS[k(0x12b)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[k(0x131)](e[k(0x116)]);if(f[k(0x111)])throw new Error(f['error'][k(0x132)]);Log[k(0x110)](k(0x109)+f?.[k(0x10f)][0x0]?.['text'][k(0x10a)]());}catch(g){Log[k(0x111)](g),process[k(0x10b)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2l(0x128)]({'name':'ai','description':'ChatGPT\x20style\x20AI\x20interface','validOpts':[a2l(0x12a),a2l(0x124)],'shortDesc':a2l(0x112),'isPro':!![]},async function(a,b){const m=a2l;try{let c='';b[m(0x12a)]&&(this[m(0x118)][m(0x11f)](b[m(0x12a)])?(c=b[m(0x12a)],Log[m(0x117)](m(0x125)+c)):Log[m(0x111)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+c));const d=await this['cfg'][m(0x121)]();if(d[m(0x113)]){if(this[m(0x118)]['isFile'](d[m(0x113)]))c=d[m(0x113)];else throw Log[m(0x111)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+c);}let f='';if(b[m(0x124)])f=b['openapikey'],Log[m(0x117)](m(0x11e)+f);else{if(d['openai'])f=d[m(0x129)];else throw Log['error'](m(0x119));}Log[m(0x110)]('Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.'),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process[m(0x10b)](0x1);}});
1
+ const a2m=a2d;function a2c(){const o=['bright','search','stdout','ChatGPT\x20style\x20AI\x20interface','openai','exit','askGPT','Using\x20OpenAI\x20Key\x20','2598759ExDZNs','984164mZIMms','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','close','604327xzFFLG','8VPyLqL','error','constructor','cert','2383578GlDRmP','question','data','2GeJHoy','1808485mvZPQT','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','90762EXZCpl','11194400BWgieN','cfg','openapikey','325tUCpug','fsi','apply','stdin','parse','Using\x20CA\x20Cert\x20','isFile','You:\x20','GPT:\x20','cacert','notice','(((.+)+)+)+$','toLowerCase','getGlobalConfig','create','text'];a2c=function(){return o;};return a2c();}(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x13e))/0x1+parseInt(h(0x146))/0x2*(parseInt(h(0x165))/0x3)+parseInt(h(0x166))/0x4+-parseInt(h(0x14d))/0x5*(parseInt(h(0x149))/0x6)+parseInt(h(0x147))/0x7*(-parseInt(h(0x13f))/0x8)+parseInt(h(0x143))/0x9+parseInt(h(0x14a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x9ed8f));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a['toString']()[j(0x15e)](j(0x158))['toString']()[j(0x141)](a2a)['search'](j(0x158));});a2a();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';const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e['createInterface']({'input':process[k(0x150)],'output':process[k(0x15f)]});c[k(0x144)](k(0x154),async d=>{const l=k;if(d[l(0x159)]()==='exit'){c[l(0x13d)]();return;}try{const e=await HTTPS[l(0x163)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x151)](e[l(0x145)]);if(f[l(0x140)])throw new Error(f[l(0x140)]['message']);Log[l(0x15d)](l(0x155)+f?.['choices'][0x0]?.[l(0x15c)]['trim']());}catch(g){Log[l(0x140)](g),process[l(0x162)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x13c;let f=c[d];return f;},a2d(a,b);}Command[a2m(0x15b)]({'name':'ai','description':a2m(0x160),'validOpts':['cacert','openapikey'],'shortDesc':a2m(0x160),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0x156)]&&(this[n(0x14e)][n(0x153)](b['cacert'])?(c=b[n(0x156)],Log[n(0x157)](n(0x152)+c)):Log[n(0x140)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+c));const d=await this[n(0x14b)][n(0x15a)]();if(d[n(0x142)]){if(this[n(0x14e)][n(0x153)](d[n(0x142)]))c=d[n(0x142)];else throw Log[n(0x140)](n(0x13c)+c);}let f='';if(b[n(0x14c)])f=b[n(0x14c)],Log[n(0x157)](n(0x164)+f);else{if(d[n(0x161)])f=d[n(0x161)];else throw Log[n(0x140)]('OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json');}Log['bright'](n(0x148)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x140)](g),process[n(0x162)](0x1);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x105))/0x1+parseInt(f(0x110))/0x2+parseInt(f(0x112))/0x3+parseInt(f(0x109))/0x4*(parseInt(f(0x104))/0x5)+-parseInt(f(0x10f))/0x6*(-parseInt(f(0x10d))/0x7)+-parseInt(f(0x106))/0x8+-parseInt(f(0x10b))/0x9*(parseInt(f(0x10c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x619f5));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x10e)]()[h(0x111)](h(0x108))[h(0x10e)]()[h(0x10a)](a3a)[h(0x111)](h(0x108));});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';function a3c(){var i=['1588614kNXREt','search','878181RRscSz','260xnfsAy','708297uamXzT','5515384NHEqCf','apply','(((.+)+)+)+$','35504hvdRiL','constructor','45KrUbmF','222510YAiiJT','35JrBmnm','toString','432300IFNfGI'];a3c=function(){return i;};return a3c();}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';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x104;var f=c[d];return f;},a3d(a,b);}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(0xae))/0x1*(-parseInt(f(0xb8))/0x2)+parseInt(f(0xad))/0x3*(parseInt(f(0xb1))/0x4)+parseInt(f(0xb0))/0x5*(-parseInt(f(0xb2))/0x6)+-parseInt(f(0xb4))/0x7+parseInt(f(0xb7))/0x8+parseInt(f(0xaf))/0x9*(parseInt(f(0xb9))/0xa)+parseInt(f(0xb6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x2b9a7));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0xb3)]()[h(0xbb)](h(0xb5))[h(0xb3)]()[h(0xac)](a3a)[h(0xbb)](h(0xb5));});a3a();function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0xac;var f=c[d];return f;},a3d(a,b);}import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./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=['2051385KMVDmq','(((.+)+)+)+$','2460909gwiZYR','320808bckayV','5086BeXoWr','810efIJRu','apply','search','constructor','15WZVCiE','35FVItST','20673KKfPOo','480440EKiWai','165496tuKLMs','6esNbgQ','toString'];a3c=function(){return i;};return a3c();}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 +1 @@
1
- function a4c(){const j=['137136UUPGVk','maka\x20aws:<sub-command>','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','396mrsKyp','51534hUyKuk','create','1354815cCXgIY','search','toString','92495JmDrzS','7413jidMdk','320ZLYCaW','apply','1777320DdXLQt','constructor','49UEFnKM','40mFFAbn','(((.+)+)+)+$','12tZhSwQ','148FyvafD'];a4c=function(){return j;};return a4c();}const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x186))/0x1*(parseInt(f(0x187))/0x2)+parseInt(f(0x181))/0x3*(-parseInt(f(0x18a))/0x4)+parseInt(f(0x180))/0x5*(parseInt(f(0x189))/0x6)+-parseInt(f(0x17d))/0x7+-parseInt(f(0x184))/0x8+parseInt(f(0x17b))/0x9*(parseInt(f(0x182))/0xa)+parseInt(f(0x17a))/0xb*(parseInt(f(0x18b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x1ea29));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x17f)]()[h(0x17e)](h(0x188))[h(0x17f)]()[h(0x185)](a4a)[h(0x17e)](h(0x188));});function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x178;let f=c[d];return f;},a4d(a,b);}a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x17c)]({'name':'aws','usage':a4i(0x178),'validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','description':a4i(0x179)},async function(){throw UsageError;});export default AWSCommand;
1
+ function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a4d(a,b);}const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0x1f1))/0x1*(parseInt(f(0x1ef))/0x2)+parseInt(f(0x1ee))/0x3*(parseInt(f(0x1e5))/0x4)+parseInt(f(0x1e4))/0x5*(parseInt(f(0x1e9))/0x6)+-parseInt(f(0x1e0))/0x7*(parseInt(f(0x1eb))/0x8)+parseInt(f(0x1e3))/0x9+-parseInt(f(0x1e7))/0xa*(parseInt(f(0x1ec))/0xb)+parseInt(f(0x1e2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x7cd1b));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a['toString']()[h(0x1f0)]('(((.+)+)+)+$')[h(0x1ed)]()['constructor'](a4a)[h(0x1f0)](h(0x1e1));});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a4c(){const j=['aws','24pQiwDq','319JvbjWo','toString','1920YsOLrw','524250ATUHci','search','2nOIppL','1808058oWxNNM','(((.+)+)+)+$','5281020JGIvwt','8949519ByAFNv','30XjUuuZ','2660HwKAfw','apply','287890HwaPFs','maka\x20aws:<sub-command>','785196dMCrCH'];a4c=function(){return j;};return a4c();}const AWSCommand=Command['create']({'name':a4i(0x1ea),'usage':a4i(0x1e8),'validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','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;
@@ -1 +1 @@
1
- const a5i=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=-parseInt(f(0x14c))/0x1*(parseInt(f(0x147))/0x2)+parseInt(f(0x14a))/0x3+parseInt(f(0x14d))/0x4*(-parseInt(f(0x140))/0x5)+-parseInt(f(0x157))/0x6+parseInt(f(0x150))/0x7+-parseInt(f(0x155))/0x8+-parseInt(f(0x143))/0x9*(-parseInt(f(0x15b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xbbeb9));function a5c(){const k=['106492rFoUKJ','toString','(((.+)+)+)+$','3248035RQpJuH','exit','$metadata','Repository\x20URI:\x20','search','1546352JYhFWa','create','7676220kuyhMP','cecr','create-ecr','Repository\x20created\x20successfully.','30uHtkvz','name','maka\x20aws:cecr\x20--name=my-new-repo','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','85IIuHZu','repository','constructor','6799734gcBGRf','Create\x20an\x20Elastic\x20Container\x20Repository','httpStatusCode','maka\x20aws:create-ecr\x20--name=my-new-repo','182KkLnlh','notice','error','502242QgmwsL','apply','2231SUNbzU'];a5c=function(){return k;};return a5c();}const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a5d;if(c){const e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const h=a5d;return a5a['toString']()[h(0x154)]('(((.+)+)+)+$')[h(0x14e)]()[h(0x142)](a5a)[h(0x154)](h(0x14f));});a5a();import a5e from'./aws.command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x13e;let f=c[d];return f;},a5d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a5i(0x156)]({'name':a5i(0x159),'aliases':[a5i(0x158)],'usage':'maka\x20aws:create-ecr','requiredOpts':[a5i(0x15c)],'validOpts':['region'],'shortDesc':a5i(0x144),'examples':[a5i(0x146),a5i(0x13e),a5i(0x13f)]},async function(a,b){const j=a5i;try{const c=await this['aws']['ecrCreateRepository'](b);c&&c[j(0x152)][j(0x145)]===0xc8&&c[j(0x141)]?(Log['success'](j(0x15a)),Log[j(0x148)](j(0x153)+c[j(0x141)]['repositoryUri'])):Log[j(0x149)]('Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.'),process['exit'](0x0);}catch(d){Log[j(0x149)](d),process[j(0x151)](0x1);}},a5e);
1
+ const a5i=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=-parseInt(f(0xd2))/0x1+parseInt(f(0xc6))/0x2*(-parseInt(f(0xd0))/0x3)+-parseInt(f(0xc9))/0x4+-parseInt(f(0xc5))/0x5+parseInt(f(0xcc))/0x6*(parseInt(f(0xcf))/0x7)+-parseInt(f(0xc0))/0x8*(parseInt(f(0xd6))/0x9)+parseInt(f(0xd8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x4d8f3));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a5d;if(c){const e=c[g(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const h=a5d;return a5a[h(0xc4)]()['search'](h(0xda))[h(0xc4)]()[h(0xd4)](a5a)[h(0xbe)]('(((.+)+)+)+$');});a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';function a5c(){const k=['Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','274326sfdQyR','repository','aws','28mQJqSf','6fgRpmq','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','338000wxmJBW','repositoryUri','constructor','apply','347463CPFyqT','error','24182790JSDCOY','Create\x20an\x20Elastic\x20Container\x20Repository','(((.+)+)+)+$','maka\x20aws:create-ecr','create-ecr','exit','ecrCreateRepository','search','region','120pcVnRw','maka\x20aws:cecr\x20--name=my-new-repo','maka\x20aws:create-ecr\x20--name=my-new-repo','name','toString','2589355bkLtac','621862DUmSdW','cecr','notice','906568zNGTnj','$metadata'];a5c=function(){return k;};return a5c();}function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xba;let f=c[d];return f;},a5d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a5i(0xbb),'aliases':[a5i(0xc7)],'usage':a5i(0xba),'requiredOpts':[a5i(0xc3)],'validOpts':[a5i(0xbf)],'shortDesc':a5i(0xd9),'examples':[a5i(0xc2),a5i(0xc1),a5i(0xd1)]},async function(a,b){const j=a5i;try{const c=await this[j(0xce)][j(0xbd)](b);c&&c[j(0xca)]['httpStatusCode']===0xc8&&c['repository']?(Log['success']('Repository\x20created\x20successfully.'),Log[j(0xc8)]('Repository\x20URI:\x20'+c[j(0xcd)][j(0xd3)])):Log[j(0xd7)](j(0xcb)),process[j(0xbc)](0x0);}catch(d){Log[j(0xd7)](d),process[j(0xbc)](0x1);}},a5e);
@@ -1 +1 @@
1
- const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=parseInt(h(0x208))/0x1*(-parseInt(h(0x1f1))/0x2)+parseInt(h(0x209))/0x3*(-parseInt(h(0x1f3))/0x4)+-parseInt(h(0x20e))/0x5+-parseInt(h(0x20c))/0x6*(parseInt(h(0x202))/0x7)+-parseInt(h(0x1fa))/0x8*(parseInt(h(0x1f2))/0x9)+-parseInt(h(0x1fd))/0xa+parseInt(h(0x1f8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x60e5c));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0x20a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a['toString']()['search'](j(0x1f7))['toString']()[j(0x207)](a6a)[j(0x20f)]('(((.+)+)+)+$');});function a6c(){const m=['linkEC2ToRoute53','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','create-hosted-zone','maka\x20aws:create-hosted-zone\x20--domain=example.com','constructor','367zsvgsC','9EaEXCV','apply','domain','2616wGTWpI','Set\x20hosted\x20zone\x20to\x20an\x20instance?','3447500LkqpkL','search','chooseInstance','maka\x20aws:chz\x20--domain=example.com','1894ZDXKBj','168669KxPyMx','768008UPDmEp','exit','aws','publicIp','(((.+)+)+)+$','37886035pFuaMQ','chz','296vwWIog','route53CreateHostedZone','error','7103010eIYBFM','confirm','maka\x20aws:create-hosted-zone','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','create','490OCrSTR'];a6c=function(){return m;};return a6c();}a6a();function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a6d(a,b);}import a6e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a6k(0x201)]({'name':a6k(0x205),'aliases':[a6k(0x1f9)],'usage':a6k(0x1ff),'requiredOpts':[a6k(0x20b)],'validOpts':[],'shortDesc':a6k(0x204),'examples':[a6k(0x206),a6k(0x1f0)]},async function(a,b){const l=a6k;try{const c=b[l(0x20b)];this[l(0x1f5)][l(0x1fb)](c);const d=await Actions[l(0x1fe)](l(0x20d));if(d){const f=await this[l(0x1f5)][l(0x1ef)]();if(f?.['id']){if(!f['publicIp'])throw Log['error'](l(0x200));this['aws'][l(0x203)](f['id'],f[l(0x1f6)],c);}else throw'Instance\x20not\x20found';}}catch(g){g&&Log[l(0x1fc)](g),process[l(0x1f4)](0x0);}},a6e);
1
+ const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=parseInt(h(0x6f))/0x1*(parseInt(h(0x83))/0x2)+-parseInt(h(0x7c))/0x3+-parseInt(h(0x81))/0x4*(parseInt(h(0x86))/0x5)+-parseInt(h(0x82))/0x6+-parseInt(h(0x72))/0x7*(-parseInt(h(0x73))/0x8)+-parseInt(h(0x70))/0x9+parseInt(h(0x84))/0xa*(parseInt(h(0x7e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xa04f5));function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x6d;let f=c[d];return f;},a6d(a,b);}const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a[j(0x74)]()['search'](j(0x6d))[j(0x74)]()[j(0x71)](a6a)[j(0x88)](j(0x6d));});a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a6c(){const m=['Set\x20hosted\x20zone\x20to\x20an\x20instance?','chooseInstance','error','create','aws','2923137jNbdbZ','Instance\x20not\x20found','440eYrlbH','chz','maka\x20aws:chz\x20--domain=example.com','4cBVcvr','4012884jWVTsm','276226Cnifzj','572790rfzboR','create-hosted-zone','6526270YcsavN','apply','search','maka\x20aws:create-hosted-zone','(((.+)+)+)+$','exit','7PuFgVM','1509399TwwNql','constructor','1134ZfxwPO','25424whGawO','toString','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','publicIp'];a6c=function(){return m;};return a6c();}Command[a6k(0x7a)]({'name':a6k(0x85),'aliases':[a6k(0x7f)],'usage':a6k(0x89),'requiredOpts':['domain'],'validOpts':[],'shortDesc':'Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','examples':['maka\x20aws:create-hosted-zone\x20--domain=example.com',a6k(0x80)]},async function(a,b){const l=a6k;try{const c=b['domain'];this[l(0x7b)]['route53CreateHostedZone'](c);const d=await Actions['confirm'](l(0x77));if(d){const f=await this['aws'][l(0x78)]();if(f?.['id']){if(!f[l(0x76)])throw Log[l(0x79)](l(0x75));this[l(0x7b)]['linkEC2ToRoute53'](f['id'],f['publicIp'],c);}else throw l(0x7d);}}catch(g){g&&Log['error'](g),process[l(0x6e)](0x0);}},a6e);
@@ -1 +1 @@
1
- const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=parseInt(Y(0x16c))/0x1+-parseInt(Y(0x155))/0x2*(-parseInt(Y(0x150))/0x3)+parseInt(Y(0x160))/0x4+-parseInt(Y(0x13f))/0x5+parseInt(Y(0x174))/0x6+parseInt(Y(0x16a))/0x7*(parseInt(Y(0x183))/0x8)+-parseInt(Y(0x144))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x7b7e9));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0x176)]()['search'](a0(0x161))['toString']()['constructor'](a7a)[a0(0x156)]('(((.+)+)+)+$');});a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';function a7c(){const a3=['Security\x20Group\x20Name:\x20[','929067kGdJLb','getSubnetCidr','getAppConfigPath','environment','getEnvFromShorthand','fsi','error','\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','5522724vcpWgz','chooseVPC','toString','ec2describeKeys','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','t3.micro','1:1','aws','success','number','create','createFile','unlinkSync','deleteKeyPair','maka\x20aws:create-instance','16piDMXr','4548695vLcGiI','Key-Pair:\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','EC2\x20Name:\x20[','createKeyPair','18374805ybZDDZ','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','maka\x20aws:create-instance\x20--env\x20dev','maka-cli','apply','split','bright','Web\x20App','22,80,443','Create\x20new\x20AWS\x20instance','Remove\x20the\x20security\x20group\x20','Remove\x20the\x20keypair\x20','16563TfeZDv','chooseSecurityGroup','notice','Name','ImageID:','224lVYHVH','search','ask','**\x20Available\x20key-pairs\x20**','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','No\x20instance\x20has\x20been\x20created.','Would\x20you\x20like\x20to\x20include\x20user\x20data?','env','readFileSync','string','user-data','1837656uhCiWS','(((.+)+)+)+$','listAvailableAMIs','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','confirm','create-instance','join','User\x20Data:','1854755IubeMx'];a7c=function(){return a3;};return a7c();}function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x13f;let f=c[d];return f;},a7d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a7a1(0x17e)]({'name':a7a1(0x167),'aliases':['ci'],'usage':a7a1(0x182),'examples':[a7a1(0x146),'maka\x20aws:ci\x20--env\x20prod'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x15c)}],'validOpts':[],'shortDesc':a7a1(0x14d),'description':a7a1(0x173)},async function(a,b){const a2=a7a1;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a2(0x170)](b[a2(0x15c)]),i=f[a2(0x16e)](h),j=g+'-'+h,k=await Actions[a2(0x157)](a2(0x142)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x166)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?',!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a2(0x17b)][a2(0x143)]({'env':h});r=y,s=z,Log['success']('Setting\x20the\x20key-pair\x20to:\x20'+r);}else try{Log[a2(0x152)](a2(0x158));const A=r?r:k,B=await this[a2(0x17b)][a2(0x177)]({'suggestion':A}),C=await Actions['ask']('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(C)<0x0){Log['error'](a2(0x141)),Log['notice'](a2(0x15a));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D['name'],Log[a2(0x17c)]('Setting\x20the\x20key-pair\x20to:\x20'+r);break;}}}catch(E){Log[a2(0x172)](E);}l=await this[a2(0x17b)][a2(0x175)]();const t=await Actions[a2(0x166)](a2(0x163),!![]);let u;if(t){const F=l===''?await this[a2(0x17b)]['chooseVPC']():l;u=await Actions[a2(0x157)](a2(0x16b)+k+']')||k;const G=await Actions[a2(0x157)](a2(0x165))||a2(0x14c),H=G[a2(0x149)](',');await this[a2(0x17b)]['ec2createSG']({'description':a2(0x14b),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a2(0x17b)][a2(0x151)](u),n=await this[a2(0x17b)][a2(0x162)](),p=await this[a2(0x17b)]['listAvailableSubnets']();const v=0x1,w=0x1;try{const I=await Actions[a2(0x157)](a2(0x145))||a2(0x17a),J=I[a2(0x149)](':')[0x0],K=I[a2(0x149)](':')[0x1];typeof parseInt(J)==='number'&&typeof parseInt(K)===a2(0x17d)&&Log[a2(0x17c)]('Setting\x20the\x20number\x20of\x20instances\x20to:\x20'+J+':'+K);}catch(L){Log['error'](L);}try{const M=await Actions['ask'](a2(0x164))||a2(0x179);typeof M===a2(0x15e)&&(o=M);}catch(N){Log['error'](N);}let x='';try{const O=await Actions[a2(0x166)](a2(0x15b),![]);O&&(x=a7f[a2(0x168)](i,a2(0x15f)),Log[a2(0x152)]('Creating\x20user\x20data\x20file\x20in\x20'+x),await this[a2(0x171)][a2(0x17f)]({'filePath':x,'data':''}),await Actions[a2(0x166)]('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(P){Log['error'](P);}try{const Q=await this[a2(0x17b)][a2(0x16d)](p);Log[a2(0x152)](a2(0x154)+n),Log[a2(0x152)]('Instance\x20Count:\x20'+v+':'+w),Log[a2(0x152)]('Instace\x20Type:\x20'+o),Log[a2(0x152)](a2(0x140)+r),Log[a2(0x152)]('Security\x20Group:\x20'+m),Log[a2(0x152)]('Subnet:\x20'+Q);if(x){Log['notice'](a2(0x169)+x);const S=a7g[a2(0x15d)](x)[a2(0x176)]();Log['notice'](S);}const R=await Actions[a2(0x166)](a2(0x159));if(R){const T=await this['aws']['ec2create']({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':'created-by','Value':a2(0x147)},{'Key':a2(0x16f),'Value':h},{'Key':a2(0x153),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x17c)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[a2(0x14a)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else{Log[a2(0x152)](a2(0x178));const U=await Actions[a2(0x166)](a2(0x14f)+r+'\x20?',!![]);U&&(this['aws'][a2(0x181)](r),d['isFile'](s)&&a7g[a2(0x180)](s));const V=await Actions['confirm'](a2(0x14e)+m+'\x20?',!![]);V&&this[a2(0x17b)]['deleteSecurityGroup'](m);}}catch(W){Log[a2(0x172)](W);}}catch(X){X&&Log[a2(0x172)](X),process['exit'](0x0);}},a7e);
1
+ const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0x1ab))/0x1*(-parseInt(Y(0x198))/0x2)+-parseInt(Y(0x187))/0x3*(parseInt(Y(0x1ad))/0x4)+-parseInt(Y(0x1c6))/0x5+parseInt(Y(0x18a))/0x6+-parseInt(Y(0x1b0))/0x7+parseInt(Y(0x1a6))/0x8*(-parseInt(Y(0x19a))/0x9)+-parseInt(Y(0x185))/0xa*(-parseInt(Y(0x1b7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x799c5));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0x1ca)]()[a0(0x1a1)]('(((.+)+)+)+$')['toString']()[a0(0x1bb)](a7a)[a0(0x1a1)](a0(0x1b2));});a7a();import a7e from'./aws.command.js';function a7c(){const a3=['Subnet:\x20','t3.micro','22,80,443','13408PibAJT','maka\x20aws:ci\x20--env\x20prod','504369vPRmnH','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','chooseSecurityGroup','Instace\x20Type:\x20','**\x20Available\x20key-pairs\x20**','maka\x20aws:create-instance','Web\x20App','search','ec2create','create-instance','getSubnetCidr','env','112FFsqpB','success','listAvailableSubnets','split','Remove\x20the\x20keypair\x20','112eKjXSt','Please\x20choose\x20a\x20key\x20to\x20use:\x20','3632zHSRuN','deleteSecurityGroup','apply','815451FXQjPf','maka-cli','(((.+)+)+)+$','user-data','notice','listAvailableAMIs','isFile','9658zLWcxA','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','EC2\x20Name:\x20[','getEnvFromShorthand','constructor','bright','Key-Pair:\x20','Security\x20Group\x20Name:\x20[','getAppConfigPath','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','deleteKeyPair','exit','createFile','Setting\x20the\x20key-pair\x20to:\x20','aws','493615vWCBTf','ask','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','toString','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','join','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','confirm','chooseVPC','6410uOkLyM','readFileSync','645IfaEQe','error','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','2276886wXlkrS','User\x20Data:','1:1','Create\x20new\x20AWS\x20instance','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','Creating\x20user\x20data\x20file\x20in\x20','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','number','ec2describeKeys','Name'];a7c=function(){return a3;};return a7c();}import a7f from'path';import a7g from'fs';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x184;let f=c[d];return f;},a7d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a7a1(0x1a3),'aliases':['ci'],'usage':a7a1(0x19f),'examples':['maka\x20aws:create-instance\x20--env\x20dev',a7a1(0x199)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x1a5)}],'validOpts':[],'shortDesc':a7a1(0x18d),'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 {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a2(0x1ba)](b[a2(0x1a5)]),i=f[a2(0x1bf)](h),j=g+'-'+h,k=await Actions[a2(0x1c7)](a2(0x1b9)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x1cf)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?',!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a2(0x1c5)]['createKeyPair']({'env':h});r=y,s=z,Log[a2(0x1a7)](a2(0x1c4)+r);}else try{Log['notice'](a2(0x19e));const A=r?r:k,B=await this[a2(0x1c5)][a2(0x193)]({'suggestion':A}),C=await Actions[a2(0x1c7)](a2(0x1ac))||'-1';if(parseInt(C)<0x0){Log['error'](a2(0x18f)),Log[a2(0x1b4)]('No\x20instance\x20has\x20been\x20created.');return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D['name'],Log['success'](a2(0x1c4)+r);break;}}}catch(E){Log['error'](E);}l=await this[a2(0x1c5)][a2(0x184)]();const t=await Actions[a2(0x1cf)](a2(0x1c0),!![]);let u;if(t){const F=l===''?await this[a2(0x1c5)][a2(0x184)]():l;u=await Actions['ask'](a2(0x1be)+k+']')||k;const G=await Actions[a2(0x1c7)](a2(0x1cb))||a2(0x197),H=G[a2(0x1a9)](',');await this[a2(0x1c5)]['ec2createSG']({'description':a2(0x1a0),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a2(0x1c5)][a2(0x19c)](u),n=await this['aws'][a2(0x1b5)](),p=await this[a2(0x1c5)][a2(0x1a8)]();const v=0x1,w=0x1;try{const I=await Actions[a2(0x1c7)](a2(0x1c9))||a2(0x18c),J=I[a2(0x1a9)](':')[0x0],K=I[a2(0x1a9)](':')[0x1];typeof parseInt(J)===a2(0x192)&&typeof parseInt(K)===a2(0x192)&&Log[a2(0x1a7)](a2(0x189)+J+':'+K);}catch(L){Log[a2(0x188)](L);}try{const M=await Actions[a2(0x1c7)](a2(0x1cd))||a2(0x196);typeof M==='string'&&(o=M);}catch(N){Log[a2(0x188)](N);}let x='';try{const O=await Actions['confirm']('Would\x20you\x20like\x20to\x20include\x20user\x20data?',![]);O&&(x=a7f[a2(0x1cc)](i,a2(0x1b3)),Log[a2(0x1b4)](a2(0x190)+x),await this['fsi'][a2(0x1c3)]({'filePath':x,'data':''}),await Actions[a2(0x1cf)](a2(0x191)));}catch(P){Log[a2(0x188)](P);}try{const Q=await this[a2(0x1c5)][a2(0x1a4)](p);Log[a2(0x1b4)]('ImageID:'+n),Log[a2(0x1b4)](a2(0x18e)+v+':'+w),Log[a2(0x1b4)](a2(0x19d)+o),Log['notice'](a2(0x1bd)+r),Log[a2(0x1b4)]('Security\x20Group:\x20'+m),Log['notice'](a2(0x195)+Q);if(x){Log[a2(0x1b4)](a2(0x18b)+x);const S=a7g[a2(0x186)](x)[a2(0x1ca)]();Log[a2(0x1b4)](S);}const R=await Actions[a2(0x1cf)](a2(0x1c8));if(R){const T=await this[a2(0x1c5)][a2(0x1a2)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':'created-by','Value':a2(0x1b1)},{'Key':'environment','Value':h},{'Key':a2(0x194),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x1a7)](a2(0x19b)),Log[a2(0x1bc)](a2(0x1ce)));}else{Log[a2(0x1b4)](a2(0x1b8));const U=await Actions['confirm'](a2(0x1aa)+r+'\x20?',!![]);U&&(this[a2(0x1c5)][a2(0x1c1)](r),d[a2(0x1b6)](s)&&a7g['unlinkSync'](s));const V=await Actions[a2(0x1cf)]('Remove\x20the\x20security\x20group\x20'+m+'\x20?',!![]);V&&this[a2(0x1c5)][a2(0x1ae)](m);}}catch(W){Log[a2(0x188)](W);}}catch(X){X&&Log[a2(0x188)](X),process[a2(0x1c2)](0x0);}},a7e);
@@ -1 +1 @@
1
- const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x8e))/0x1*(parseInt(g(0x7f))/0x2)+-parseInt(g(0x77))/0x3+parseInt(g(0x88))/0x4+parseInt(g(0x7a))/0x5*(-parseInt(g(0x8d))/0x6)+-parseInt(g(0x83))/0x7+-parseInt(g(0x87))/0x8*(-parseInt(g(0x7e))/0x9)+parseInt(g(0x8c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xcd910));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x8b)]()['search'](i(0x8a))[i(0x8b)]()[i(0x78)](a8a)[i(0x7c)](i(0x8a));});a8a();import a8e from'./aws.command.js';function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x77;let f=c[d];return f;},a8d(a,b);}function a8c(){const l=['env','cfg','createKeyPair','5764318PhmEtT','create-key-pair','maka\x20aws:ckp\x20--env\x20prod','apply','8TcibcI','4179208xMbrnd','exit','(((.+)+)+)+$','toString','22443720hleREQ','2349234YlbzII','1JgyOLj','580578OmsmXI','constructor','maka\x20aws:create-key-pair\x20--env\x20prod','10XbcnFK','\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','search','ckp','6293907agOJHw','2692838jvPwgt'];a8c=function(){return l;};return a8c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a8j(0x84),'aliases':[a8j(0x7d)],'usage':'maka\x20aws:create-key-pair','examples':[a8j(0x79),a8j(0x85)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x80)],'validOpts':[],'shortDesc':'Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','description':a8j(0x7b)},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this[k(0x81)]['getEnvFromShorthand'](b[k(0x80)]);c[k(0x82)]({'env':d});}catch(f){f&&Log['error'](f),process[k(0x89)](0x0);}},a8e);
1
+ const a8i=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=parseInt(g(0x1c8))/0x1*(-parseInt(g(0x1d9))/0x2)+-parseInt(g(0x1d3))/0x3+parseInt(g(0x1d5))/0x4+parseInt(g(0x1cb))/0x5*(-parseInt(g(0x1ce))/0x6)+-parseInt(g(0x1de))/0x7*(parseInt(g(0x1d1))/0x8)+-parseInt(g(0x1d8))/0x9+-parseInt(g(0x1da))/0xa*(-parseInt(g(0x1c9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x4cc0f));function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a8d(a,b);}const a8b=(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;};}()),a8a=a8b(this,function(){const h=a8d;return a8a['toString']()[h(0x1d4)](h(0x1ca))[h(0x1dc)]()['constructor'](a8a)[h(0x1d4)](h(0x1ca));});a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';function a8c(){const k=['toString','maka\x20aws:create-key-pair\x20--env\x20prod','7uXnMaJ','create-key-pair','error','78347HccKDa','11rETAbi','(((.+)+)+)+$','5zEGocg','exit','createKeyPair','953166fZkjne','cfg','maka\x20aws:create-key-pair','2858728wKHYnH','create','192438fKdnKt','search','513112xxRJWR','\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','maka\x20aws:ckp\x20--env\x20prod','4515516xWjCtD','16fSudYP','18949530HrUMDd','env'];a8c=function(){return k;};return a8c();}import{Log}from'../../tools/log/log.class.js';Command[a8i(0x1d2)]({'name':a8i(0x1c6),'aliases':['ckp'],'usage':a8i(0x1d0),'examples':[a8i(0x1dd),a8i(0x1d7)],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':'Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','description':a8i(0x1d6)},async function(a,b){const j=a8i;try{const {aws:c}=this,d=this[j(0x1cf)]['getEnvFromShorthand'](b[j(0x1db)]);c[j(0x1cd)]({'env':d});}catch(f){f&&Log[j(0x1c7)](f),process[j(0x1cc)](0x0);}},a8e);
@@ -1 +1 @@
1
- function a9c(){const s=['ask','366RlajfO','match','52hgyiiM','\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','(((.+)+)+)+$','exit','create-security-group','maka\x20aws\x20create-security-group','4178031NeYcOV','apply','37884040gMpdno','csg','Web\x20App','maka\x20aws:csg','chooseVPC','split','forEach','List\x20is\x20not\x20all\x20numbers','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','3612161tPvTDD','Security\x20Group\x20Name:\x20[','821632lwEIlC','toString','86425RucLXi','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','8pHRUBk','create','name','49801esSXtc','search','10617138PbDOIb','maka\x20aws:create-secuirty-group'];a9c=function(){return s;};return a9c();}const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x1ad))/0x1*(-parseInt(m(0x1b4))/0x2)+-parseInt(m(0x1ba))/0x3+-parseInt(m(0x1a6))/0x4+-parseInt(m(0x1a8))/0x5*(parseInt(m(0x1b2))/0x6)+-parseInt(m(0x1c5))/0x7*(parseInt(m(0x1aa))/0x8)+-parseInt(m(0x1af))/0x9+parseInt(m(0x1bc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xb374f));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x1a7)]()[o(0x1ae)](o(0x1b6))[o(0x1a7)]()['constructor'](a9a)['search']('(((.+)+)+)+$');});a9a();function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a9d(a,b);}import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9p(0x1ab)]({'name':a9p(0x1b8),'aliases':[a9p(0x1bd)],'usage':a9p(0x1b9),'validOpts':[],'shortDesc':a9p(0x1c4),'mustBeInMakaProject':!![],'description':a9p(0x1b5),'examples':[a9p(0x1b0),a9p(0x1bf)]},async function(a,b){const q=a9p,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[q(0x1c0)](),h=b[q(0x1ac)]?b[q(0x1ac)]:''+f,i=await Actions['ask'](q(0x1c6)+h+']')||h,j=await Actions[q(0x1b1)](q(0x1a9))||'22,80,443',k=j[q(0x1c1)](',');k[q(0x1c2)](l=>{const r=q;if(!l[r(0x1b3)](/^\d+$/))throw r(0x1c3);}),await d['ec2createSG']({'description':q(0x1be),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log['error'](l),process[q(0x1b7)](0x1);}},a9e);
1
+ const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x175))/0x1+parseInt(m(0x165))/0x2*(parseInt(m(0x15d))/0x3)+-parseInt(m(0x15f))/0x4+-parseInt(m(0x16a))/0x5+parseInt(m(0x156))/0x6*(-parseInt(m(0x172))/0x7)+-parseInt(m(0x173))/0x8*(-parseInt(m(0x16c))/0x9)+-parseInt(m(0x170))/0xa*(-parseInt(m(0x155))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x731fb));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x16b)]()[o(0x158)](o(0x167))[o(0x16b)]()[o(0x164)](a9a)[o(0x158)](o(0x167));});a9a();function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x155;let f=c[d];return f;},a9d(a,b);}import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9p(0x157)]({'name':a9p(0x162),'aliases':[a9p(0x161)],'usage':a9p(0x15c),'validOpts':[],'shortDesc':a9p(0x15a),'mustBeInMakaProject':!![],'description':a9p(0x176),'examples':[a9p(0x163),'maka\x20aws:csg']},async function(a,b){const q=a9p,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[q(0x15b)](),h=b[q(0x174)]?b[q(0x174)]:''+f,i=await Actions['ask']('Security\x20Group\x20Name:\x20['+h+']')||h,j=await Actions[q(0x16e)]('Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20')||q(0x169),k=j[q(0x16f)](',');k['forEach'](l=>{const r=q;if(!l[r(0x15e)](/^\d+$/))throw r(0x159);}),await d[q(0x160)]({'description':q(0x166),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x171)](l),process[q(0x168)](0x1);}},a9e);function a9c(){const s=['Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','chooseVPC','maka\x20aws\x20create-security-group','3WbUJMb','match','1195856tirZwU','ec2createSG','csg','create-security-group','maka\x20aws:create-secuirty-group','constructor','258220FbJuLP','Web\x20App','(((.+)+)+)+$','exit','22,80,443','221880lnkNfY','toString','18oFTWcW','apply','ask','split','420MzaRiS','error','2765JKsTsi','2668408MCjXup','name','592522AwRGjt','\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','166386ijQhud','366cRcZur','create','search','List\x20is\x20not\x20all\x20numbers'];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(0x17a))/0x1*(-parseInt(f(0x176))/0x2)+-parseInt(f(0x16f))/0x3*(-parseInt(f(0x187))/0x4)+-parseInt(f(0x186))/0x5+parseInt(f(0x17f))/0x6*(parseInt(f(0x178))/0x7)+-parseInt(f(0x184))/0x8+-parseInt(f(0x182))/0x9*(-parseInt(f(0x181))/0xa)+-parseInt(f(0x170))/0xb*(parseInt(f(0x177))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xc7d8b));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0x16e)]()[h(0x189)]('(((.+)+)+)+$')['toString']()[h(0x16c)](a10a)[h(0x189)](h(0x179));});a10a();import a10e from'./aws.command.js';function a10c(){const k=['4145355mPCQvE','1832QhZipq','\x20deleted\x20successfully\x20in\x20region\x20','search','error','\x20in\x20region\x20','constructor','ecrDeleteRepository','toString','9777SPuaxG','1833282raVwuC','name','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','delete-ecr','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','exit','2648914AkSdWY','24lALttK','49jhwFAs','(((.+)+)+)+$','1ggFGnD','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','apply','decr','region','281652YaVUqm','create','4280axFtMi','9sjjXRt','Repository\x20','9321080aKcGIW','Failed\x20to\x20delete\x20the\x20repository:\x20'];a10c=function(){return k;};return a10c();}import{Command}from'../../command.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x16a;let f=c[d];return f;},a10d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a10i(0x180)]({'name':a10i(0x173),'aliases':[a10i(0x17d)],'usage':a10i(0x17b),'requiredOpts':[a10i(0x171),a10i(0x17e)],'validOpts':[],'shortDesc':'Delete\x20an\x20Elastic\x20Container\x20Repository','examples':[a10i(0x174),a10i(0x172)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0x16d)]({'repoName':b[j(0x171)],'region':b['region']}),Log['success'](j(0x183)+b[j(0x171)]+j(0x188)+b['region']+'.'),process[j(0x175)](0x0);}catch(d){Log[j(0x16a)](j(0x185)+b[j(0x171)]+j(0x16b)+b[j(0x17e)]+'.\x20Error:\x20'+d),process['exit'](0x1);}},a10e);
1
+ function a10c(){const k=['608856SYihcm','name','Delete\x20an\x20Elastic\x20Container\x20Repository','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','88EavvJd','88731qQJvCh','region','992598hXFpgy','4WOrKPf','apply','1KLFdOI','.\x20Error:\x20','1337997vTPLqO','2204398CkqvDY','ecrDeleteRepository','search','2202860TSGpYb','(((.+)+)+)+$','toString','error','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','exit','decr','create','constructor','\x20in\x20region\x20','3179570FJtTVX'];a10c=function(){return k;};return a10c();}const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(0x82))/0x1*(parseInt(f(0x7f))/0x2)+parseInt(f(0x84))/0x3*(-parseInt(f(0x80))/0x4)+parseInt(f(0x88))/0x5+-parseInt(f(0x93))/0x6+-parseInt(f(0x85))/0x7+-parseInt(f(0x97))/0x8*(parseInt(f(0x7d))/0x9)+parseInt(f(0x92))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x45556));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0x8a)]()[h(0x87)]('(((.+)+)+)+$')['toString']()[h(0x90)](a10a)[h(0x87)](h(0x89));});a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x7d;let f=c[d];return f;},a10d(a,b);}Command[a10i(0x8f)]({'name':'delete-ecr','aliases':[a10i(0x8e)],'usage':a10i(0x8c),'requiredOpts':[a10i(0x94),a10i(0x7e)],'validOpts':[],'shortDesc':a10i(0x95),'examples':['maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1',a10i(0x96)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0x86)]({'repoName':b[j(0x94)],'region':b[j(0x7e)]}),Log['success']('Repository\x20'+b[j(0x94)]+'\x20deleted\x20successfully\x20in\x20region\x20'+b[j(0x7e)]+'.'),process[j(0x8d)](0x0);}catch(d){Log[j(0x8b)]('Failed\x20to\x20delete\x20the\x20repository:\x20'+b[j(0x94)]+j(0x91)+b[j(0x7e)]+j(0x83)+d),process[j(0x8d)](0x1);}},a10e);
@@ -1 +1 @@
1
- const a11i=a11d;function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x114;let f=c[d];return f;},a11d(a,b);}(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x120))/0x1+-parseInt(f(0x114))/0x2+parseInt(f(0x121))/0x3*(-parseInt(f(0x11b))/0x4)+parseInt(f(0x11c))/0x5+-parseInt(f(0x11f))/0x6*(parseInt(f(0x127))/0x7)+-parseInt(f(0x126))/0x8*(parseInt(f(0x124))/0x9)+-parseInt(f(0x11d))/0xa*(-parseInt(f(0x122))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x36235));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x11e)]()[h(0x119)](h(0x116))[h(0x11e)]()[h(0x118)](a11a)[h(0x119)]('(((.+)+)+)+$');});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a11c(){const k=['707468yVEZoL','ec2describeInstances','(((.+)+)+)+$','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','constructor','search','apply','102956qHMyxk','1984350rHFKlG','503290OlaSOI','toString','6JJeyLZ','24761TBhEdx','3ZjVNjC','176CIfwEo','maka\x20aws:describe-instances','3342285WZwAZh','error','8fZKZoj','1780156bhpanb','exit'];a11c=function(){return k;};return a11c();}Command['create']({'name':'describe-instances','aliases':['di'],'usage':a11i(0x123),'validOpts':[],'shortDesc':a11i(0x117),'examples':['maka\x20aws:describe-instances','maka\x20aws:di'],'description':'\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'},async function(){const j=a11i;try{const {aws:a}=this;a[j(0x115)]();}catch(b){b&&Log[j(0x125)](b),process[j(0x128)](0x1);}},a11e);
1
+ const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(0x1ab))/0x1*(parseInt(f(0x1b2))/0x2)+-parseInt(f(0x1a2))/0x3+parseInt(f(0x1b3))/0x4+parseInt(f(0x1ac))/0x5+-parseInt(f(0x19f))/0x6+parseInt(f(0x1ae))/0x7*(parseInt(f(0x1af))/0x8)+-parseInt(f(0x1a0))/0x9*(-parseInt(f(0x1b1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x74f83));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x1aa)]()[h(0x1ad)](h(0x1a3))[h(0x1aa)]()['constructor'](a11a)[h(0x1ad)]('(((.+)+)+)+$');});a11a();function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x19f;let f=c[d];return f;},a11d(a,b);}function a11c(){const k=['2wneeJy','2715588adKISd','\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','3907680pnKSyW','1197zBzQAT','describe-instances','1072629kVdJIr','(((.+)+)+)+$','apply','create','maka\x20aws:di','maka\x20aws:describe-instances','ec2describeInstances','error','toString','105491RaxFAg','161435firdFS','search','14CZyYhb','3070896raJsaU','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','8610TBSLlJ'];a11c=function(){return k;};return a11c();}import a11e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0x1a5)]({'name':a11i(0x1a1),'aliases':['di'],'usage':a11i(0x1a7),'validOpts':[],'shortDesc':a11i(0x1b0),'examples':[a11i(0x1a7),a11i(0x1a6)],'description':a11i(0x1b4)},async function(){const j=a11i;try{const {aws:a}=this;a[j(0x1a8)]();}catch(b){b&&Log[j(0x1a9)](b),process['exit'](0x1);}},a11e);
@@ -1 +1 @@
1
- function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x143;var f=c[d];return f;},a12d(a,b);}var a12h=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=parseInt(f(0x14a))/0x1+parseInt(f(0x150))/0x2*(parseInt(f(0x148))/0x3)+parseInt(f(0x153))/0x4+parseInt(f(0x146))/0x5+-parseInt(f(0x14e))/0x6+-parseInt(f(0x149))/0x7*(parseInt(f(0x152))/0x8)+-parseInt(f(0x14b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x3f156));var a12b=(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;};}()),a12a=a12b(this,function(){var g=a12d;return a12a['toString']()[g(0x147)](g(0x143))['toString']()[g(0x14f)](a12a)[g(0x147)]('(((.+)+)+)+$');});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a12c(){var j=['468848iNQmmD','990680UPxJjA','dkp','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','describe-key-pairs','(((.+)+)+)+$','aws','maka\x20aws:dkp','2051985TPSUpP','search','13431GXpLzT','28aPZEIv','345469VOvipg','2107836YSyghA','exit','maka\x20aws:describe-key-pairs','2250072pKMkXr','constructor','44IzDEpE','ec2describeKeys'];a12c=function(){return j;};return a12c();}Command['create']({'name':a12h(0x156),'aliases':[a12h(0x154)],'usage':'maka\x20aws:describe-key-pairs','validOpts':[],'shortDesc':a12h(0x155),'examples':[a12h(0x14d),a12h(0x145)]},async function(){var i=a12h;try{this[i(0x144)][i(0x151)]();}catch(a){a&&Log['error'](a),process[i(0x14c)](0x0);}},a12e);
1
+ var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=-parseInt(f(0x107))/0x1*(parseInt(f(0xf9))/0x2)+-parseInt(f(0xf1))/0x3*(parseInt(f(0x106))/0x4)+-parseInt(f(0x104))/0x5+parseInt(f(0x105))/0x6*(-parseInt(f(0x101))/0x7)+parseInt(f(0xf7))/0x8+parseInt(f(0xfe))/0x9*(parseInt(f(0x103))/0xa)+parseInt(f(0xf6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x9cb77));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a12d;if(c){var e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var h=a12d;return a12a[h(0xfa)]()[h(0xf0)](h(0xfc))[h(0xfa)]()[h(0x102)](a12a)[h(0xf0)](h(0xfc));});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0xef;var f=c[d];return f;},a12d(a,b);}Command[a12i(0xff)]({'name':a12i(0xf4),'aliases':[a12i(0xf3)],'usage':a12i(0xf5),'validOpts':[],'shortDesc':a12i(0xf8),'examples':[a12i(0xf5),a12i(0xfd)]},async function(){var j=a12i;try{this[j(0xef)][j(0xfb)]();}catch(a){a&&Log['error'](a),process[j(0xf2)](0x0);}},a12e);function a12c(){var k=['apply','14jEWFZb','constructor','2570GfImEg','3508235BgULmF','1321824zQWTMJ','724OAEGPH','2024NgXKMv','aws','search','15360YhfHXU','exit','dkp','describe-key-pairs','maka\x20aws:describe-key-pairs','18179953CgrJEn','5707728ryCORq','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','68OhmQwM','toString','ec2describeKeys','(((.+)+)+)+$','maka\x20aws:dkp','14481JWRuov','create'];a12c=function(){return k;};return a12c();}
@@ -1 +1 @@
1
- const a13m=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d=-parseInt(j(0x7f))/0x1*(-parseInt(j(0x78))/0x2)+-parseInt(j(0x82))/0x3+parseInt(j(0x96))/0x4+-parseInt(j(0x87))/0x5+parseInt(j(0x79))/0x6*(parseInt(j(0x76))/0x7)+parseInt(j(0x7a))/0x8+parseInt(j(0x93))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x4ec5a));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a[l(0x86)]()[l(0x92)](l(0x7e))[l(0x86)]()[l(0x8e)](a13a)[l(0x92)](l(0x7e));});a13a();function a13c(){const q=['\x20SG\x20NAME:\x20','confirm','ask','987wjXyqC','apply','2wZDXse','16482ROWwba','1231136TEvCOx','create','dsg','ID:\x20','(((.+)+)+)+$','119471DoZfyl','Not\x20deleting\x20secuirty\x20group','Deleted\x20','1712088YfHagw','error','appName','maka\x20aws:delete-sg','toString','1956505cstoRh','Deleting\x20a\x20','sgId','includes','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','\x20SGID:\x20','constructor','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','forEach','notice','search','4579299yASEiI','getSecurityGroups','exit','460584VouWzz','name'];a13c=function(){return q;};return a13c();}import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x72;let f=c[d];return f;},a13d(a,b);}Command[a13m(0x7b)]({'name':'delete-security-group','aliases':[a13m(0x7c)],'usage':'maka\x20aws:delete-sg','mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13m(0x8f),'examples':[a13m(0x85),'maka\x20aws:dsg']},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a[n(0x84)];const {sgList:d}=await b[n(0x94)]();d[n(0x90)](function(i){const o=n;i[o(0x72)][o(0x8a)](c)?Log[o(0x91)]('ID:\x20'+i['id']+'\x20SG\x20NAME:\x20'+i['name']+o(0x8d)+i[o(0x89)]):Log['bright'](o(0x7d)+i['id']+o(0x73)+i[o(0x72)]+o(0x8d)+i[o(0x89)]);});let f='';const g=await Actions[n(0x75)](n(0x8c));d[n(0x90)](function(i){const p=n;i['id']===parseInt(g)&&(f=i[p(0x89)]);});if(!f)throw Log[n(0x83)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const h=await Actions[n(0x74)](n(0x88)+f+n(0x8b),![]);h?(await b['deleteSecurityGroup'](f),Log['success'](n(0x81)+f)):Log[n(0x83)](n(0x80)),process[n(0x95)](0x0);}catch(i){i&&Log[n(0x83)](i),process[n(0x95)](0x1);}},a13e);
1
+ const a13m=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d=parseInt(j(0xd8))/0x1+-parseInt(j(0xcc))/0x2+parseInt(j(0xde))/0x3+-parseInt(j(0xd4))/0x4+-parseInt(j(0xe8))/0x5*(parseInt(j(0xd1))/0x6)+parseInt(j(0xcf))/0x7+parseInt(j(0xec))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x8db50));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a[l(0xe4)]()[l(0xdd)](l(0xce))['toString']()['constructor'](a13a)[l(0xdd)](l(0xce));});a13a();function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0xcc;let f=c[d];return f;},a13d(a,b);}function a13c(){const q=['create','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','4264132wcJark','sgId','appName','notice','822973hryQxc','Not\x20deleting\x20secuirty\x20group','Deleting\x20a\x20','exit','\x20SGID:\x20','search','57840RdhoZg','delete-security-group','\x20SG\x20NAME:\x20','dsg','apply','maka\x20aws:dsg','toString','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','error','name','2585RinWNW','Deleted\x20','bright','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','17711040jCcVgu','success','ask','includes','1600290fUAknW','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','(((.+)+)+)+$','2482774sgLHsw','ID:\x20','11190XyIBFX'];a13c=function(){return q;};return a13c();}import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a13m(0xd2)]({'name':a13m(0xdf),'aliases':[a13m(0xe1)],'usage':'maka\x20aws:delete-sg','mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13m(0xd3),'examples':['maka\x20aws:delete-sg',a13m(0xe3)]},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a[n(0xd6)];const {sgList:d}=await b['getSecurityGroups']();d['forEach'](function(i){const o=n;i[o(0xe7)][o(0xef)](c)?Log[o(0xd7)](o(0xd0)+i['id']+o(0xe0)+i[o(0xe7)]+o(0xdc)+i['sgId']):Log[o(0xea)](o(0xd0)+i['id']+o(0xe0)+i[o(0xe7)]+o(0xdc)+i[o(0xd5)]);});let f='';const g=await Actions[n(0xee)](n(0xe5));d['forEach'](function(i){const p=n;i['id']===parseInt(g)&&(f=i[p(0xd5)]);});if(!f)throw Log[n(0xe6)](n(0xeb));const h=await Actions['confirm'](n(0xda)+f+n(0xcd),![]);h?(await b['deleteSecurityGroup'](f),Log[n(0xed)](n(0xe9)+f)):Log[n(0xe6)](n(0xd9)),process[n(0xdb)](0x0);}catch(i){i&&Log[n(0xe6)](i),process['exit'](0x1);}},a13e);
@@ -1 +1 @@
1
- function a14c(){const k=['listAllEcrRepositories','10IwOHsD','Completed\x20listing\x20ECR\x20repositories.','regions','success','exit','list-ecr','create','(((.+)+)+)+$','4227864BZatoy','1318344SlQKib','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','toString','5618088INUDAf','2461710WJQBwq','32530419kWCUMq','1900050iLQewQ','maka\x20aws:lecr\x20--regions=all','lecr','maka\x20aws:list-ecr','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','7HwdHiW','531946fdRvzg','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','search','apply'];a14c=function(){return k;};return a14c();}const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x1c7))/0x1*(parseInt(f(0x1c8))/0x2)+-parseInt(f(0x1bf))/0x3+-parseInt(f(0x1d6))/0x4+-parseInt(f(0x1cd))/0x5*(-parseInt(f(0x1c1))/0x6)+-parseInt(f(0x1be))/0x7+parseInt(f(0x1d5))/0x8+parseInt(f(0x1c0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xeaced));function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a14d(a,b);}const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a['toString']()[h(0x1ca)](h(0x1d4))[h(0x1bd)]()['constructor'](a14a)[h(0x1ca)](h(0x1d4));});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a14i(0x1d3)]({'name':a14i(0x1d2),'aliases':[a14i(0x1c3)],'usage':a14i(0x1c5),'requiredOpts':[],'validOpts':['regions'],'shortDesc':a14i(0x1d7),'examples':[a14i(0x1c4),a14i(0x1c9),a14i(0x1c2)]},async function(a,b){const j=a14i;try{const {aws:c}=this;await c[j(0x1cc)](b[j(0x1cf)]),Log[j(0x1d0)](j(0x1ce)),process['exit'](0x0);}catch(d){Log['error'](j(0x1c6)+d),process[j(0x1d1)](0x1);}},a14e);
1
+ function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x118;let f=c[d];return f;},a14d(a,b);}const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=parseInt(f(0x130))/0x1+-parseInt(f(0x119))/0x2*(-parseInt(f(0x122))/0x3)+-parseInt(f(0x12f))/0x4*(-parseInt(f(0x11a))/0x5)+-parseInt(f(0x121))/0x6+parseInt(f(0x132))/0x7+parseInt(f(0x126))/0x8+-parseInt(f(0x124))/0x9*(parseInt(f(0x12b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xad477));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0x11f)]()['search'](h(0x120))[h(0x11f)]()[h(0x129)](a14a)[h(0x131)](h(0x120));});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a14i(0x127)]({'name':a14i(0x11d),'aliases':[a14i(0x12a)],'usage':'maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','requiredOpts':[],'validOpts':[a14i(0x11e)],'shortDesc':a14i(0x128),'examples':[a14i(0x11c),a14i(0x123),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const j=a14i;try{const {aws:c}=this;await c[j(0x12c)](b[j(0x11e)]),Log['success'](j(0x118)),process[j(0x11b)](0x0);}catch(d){Log[j(0x12d)](j(0x12e)+d),process['exit'](0x1);}},a14e);function a14c(){const k=['5187768edQBce','6933LGuwLK','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','13536bEpnFg','apply','8774472XqGZFg','create','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','constructor','lecr','13820uNRLPs','listAllEcrRepositories','error','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','3236RRvoVr','866023hJttEq','search','2071328VFsjRF','Completed\x20listing\x20ECR\x20repositories.','386bjMcgP','5860MxgADB','exit','maka\x20aws:list-ecr','list-ecr','regions','toString','(((.+)+)+)+$'];a14c=function(){return k;};return a14c();}
@@ -1 +1 @@
1
- const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x13c))/0x1+-parseInt(f(0x129))/0x2*(-parseInt(f(0x13a))/0x3)+-parseInt(f(0x125))/0x4+-parseInt(f(0x132))/0x5*(parseInt(f(0x124))/0x6)+-parseInt(f(0x128))/0x7+-parseInt(f(0x133))/0x8+parseInt(f(0x127))/0x9*(parseInt(f(0x126))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xc2642));function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x11e;let f=c[d];return f;},a15d(a,b);}const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x12a)]()[h(0x136)](h(0x12c))['toString']()[h(0x130)](a15a)['search'](h(0x12c));});function a15c(){const k=['44615bFXkxu','6486848REJXWq','maka\x20aws:rbi','rbi','search','status','confirm','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','3JwyOvu','error','843196lRXtrU','create','reboot-instance','maka\x20aws:reboot-instance','name','exit','ec2rebootInstance','786VjUAXX','1695724eZpFzS','890LgLPPY','113706IFsIxe','1386798xRKjZU','2860836viGbKm','toString','apply','(((.+)+)+)+$','instanceId','\x20is\x20still\x20running.','Reboot\x20an\x20EC2\x20instance','constructor','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.'];a15c=function(){return k;};return a15c();}a15a();import a15e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a15i(0x11e)]({'name':a15i(0x11f),'aliases':[a15i(0x135)],'usage':'maka\x20aws:reboot-instance','validOpts':[],'shortDesc':a15i(0x12f),'examples':[a15i(0x120),a15i(0x134)]},async function(){const j=a15i;try{const {aws:a}=this,b=await a['chooseInstance']();if(b?.[j(0x137)]==='running'){const c=await Actions[j(0x138)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[j(0x121)]+'\x20Ready?');c&&b[j(0x12d)]?a[j(0x123)]({'instanceId':b[j(0x12d)]}):Log[j(0x13b)](j(0x139)+b['name']+j(0x12e));}else Log['error'](j(0x131));}catch(d){d&&Log['error'](d),process[j(0x122)](0x1);}},a15e);
1
+ const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x15d))/0x1*(-parseInt(f(0x158))/0x2)+parseInt(f(0x152))/0x3+-parseInt(f(0x164))/0x4+-parseInt(f(0x162))/0x5*(-parseInt(f(0x155))/0x6)+parseInt(f(0x169))/0x7*(-parseInt(f(0x161))/0x8)+-parseInt(f(0x168))/0x9*(parseInt(f(0x14e))/0xa)+parseInt(f(0x15b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x3d16d));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x14b)]()[h(0x16a)]('(((.+)+)+)+$')['toString']()[h(0x15e)](a15a)['search'](h(0x151));});a15a();import a15e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a15c(){const k=['apply','error','(((.+)+)+)+$','97050CGzGQI','maka\x20aws:reboot-instance','chooseInstance','157068DBmnjd','maka\x20aws:rbi','confirm','190750oFoYkN','instanceId','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','6730746FAtPKf','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','2Gqrdrp','constructor','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','exit','8EiWAvY','45UHEdpG','status','1154144UEeDrk','\x20Ready?','name','Reboot\x20an\x20EC2\x20instance','27lHeJEC','853363IHhCAE','search','create','rbi','toString','ec2rebootInstance','running','94740DNadGC'];a15c=function(){return k;};return a15c();}function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x149;let f=c[d];return f;},a15d(a,b);}Command[a15i(0x149)]({'name':'reboot-instance','aliases':[a15i(0x14a)],'usage':a15i(0x153),'validOpts':[],'shortDesc':a15i(0x167),'examples':[a15i(0x153),a15i(0x156)]},async function(){const j=a15i;try{const {aws:a}=this,b=await a[j(0x154)]();if(b?.[j(0x163)]===j(0x14d)){const c=await Actions[j(0x157)](j(0x15a)+b[j(0x166)]+j(0x165));c&&b[j(0x159)]?a[j(0x14c)]({'instanceId':b[j(0x159)]}):Log[j(0x150)](j(0x15c)+b[j(0x166)]+'\x20is\x20still\x20running.');}else Log['error'](j(0x15f));}catch(d){d&&Log['error'](d),process[j(0x160)](0x1);}},a15e);
@@ -1 +1 @@
1
- const a16J=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=-parseInt(F(0xfe))/0x1*(-parseInt(F(0x13a))/0x2)+parseInt(F(0x11d))/0x3*(parseInt(F(0x10c))/0x4)+-parseInt(F(0x12b))/0x5*(parseInt(F(0x137))/0x6)+-parseInt(F(0x111))/0x7*(parseInt(F(0x136))/0x8)+-parseInt(F(0x112))/0x9*(parseInt(F(0x102))/0xa)+-parseInt(F(0x105))/0xb*(parseInt(F(0x138))/0xc)+-parseInt(F(0x12f))/0xd*(-parseInt(F(0x104))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x3125a));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a16d;if(c){const e=c[G(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const H=a16d;return a16a['toString']()[H(0x108)]('(((.+)+)+)+$')[H(0x126)]()[H(0x125)](a16a)[H(0x108)](H(0x113));});a16a();function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0xf9;let f=c[d];return f;},a16d(a,b);}import a16e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a16c(){const L=['3iBmkAg','Zip\x20Code\x20[96816]:\x20','\x20is\x20available\x20for:','error','create','Choose\x20contact\x20type','96816','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','constructor','toString','\x20/\x20Year\x20\x0a','ASSOCIATION','+1.5555555555','notice','470YvQOgS','Country\x20Code\x20[US]:\x20','\x20years\x20(','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','1905683FQuZsQ','Auto\x20Renew:\x20','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','warn','+1.5555555556','maka\x20aws:rdn\x20--domain=example.com','apply','2527624PvOBjH','19674ZfDLzv','1158732YFzcRI','Do\x20you\x20wish\x20to\x20register\x20','1454XhLzMj','RESELLER','Domain\x20name\x20is\x20unavailable','Invalid\x202\x20character\x20country\x20code','Contact\x20Email\x20[mail@example.com]:\x20','State\x20[HI]:\x20','PERSON','confirm','123\x20Glorious\x20Way','Person','549YVYpSy','checkDomainAvailability','COMPANY','PUBLIC_BODY','310NTkBGi','The\x20domain\x20name:\x20','70iDHDwQ','33qZCcfC','ask','values','search','Contact\x20Last\x20Name\x20[Person]:\x20','domain','My\x20Company,\x20LLC.','147996BSkLbO','Address\x20Line\x202:\x20','rdn','exit','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','7TpYeSD','15651RopmzC','(((.+)+)+)+$','Are\x20you\x20sure?','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','\x20for\x20','Contact','mail@example.com','contactType','Duration\x20in\x20years\x20[1]:\x20','register-domain-name','registerDomain'];a16c=function(){return L;};return a16c();}import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const I=a16d;return Object[I(0x107)](CountryCode)['includes'](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16J(0x121)]({'name':a16J(0x11b),'aliases':[a16J(0x10e)],'usage':'maka\x20aws:register-domain-name','requiredOpts':['domain'],'validOpts':[],'shortDesc':a16J(0x12e),'examples':['maka\x20aws:register-domain-name\x20--domain=example.com',a16J(0x134)]},async function(a,b){const K=a16J,{aws:c}=this;try{const d=b[K(0x10a)],{available:f,cost:g}=await c[K(0xff)](d);if(f&&g){Log[K(0x12a)](K(0x103)+d+K(0x11f));const {Price:h,Currency:i}=g;Log['warn']('\x20\x20'+h+'\x20'+i+K(0x127));const j=await Actions[K(0xfb)](K(0x139)+d+'?',![]);if(j){const k={'message':K(0x122),'name':K(0x119),'choices':[{'name':K(0x128),'value':K(0x128)},{'name':'COMPANY','value':K(0x100)},{'name':K(0xfa),'value':K(0xfa)},{'name':K(0x101),'value':K(0x101)},{'name':K(0x13b),'value':'RESELLER'}]},l=await Actions[K(0x106)](K(0x11a))||'1',m=await Actions[K(0x106)]('Contact\x20First\x20Name\x20[Contact]:\x20')||K(0x117),n=await Actions[K(0x106)](K(0x109))||K(0xfd),o=await Actions['select'](k),p=await Actions['ask'](K(0x110))||K(0xfc),q=await Actions[K(0x106)](K(0x10d)),r=await Actions[K(0x106)]('City\x20[Honolulu]:\x20')||'Honolulu',s=await Actions[K(0x106)](K(0x11e))||K(0x123),t=await Actions[K(0x106)](K(0xf9))||'HI',u=await Actions[K(0x106)](K(0x12c))||'US',v=getCountryCodeEnum(u);if(!v)throw Log[K(0x120)](K(0x13d));const w=await Actions['ask'](K(0x131))||K(0x129),x=await Actions[K(0x106)](K(0x124))||K(0x133),y=await Actions[K(0x106)](K(0x13e))||K(0x118),z=await Actions[K(0xfb)](K(0x130)),A={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':v,'AddressLine1':p,'AddressLine2':q,'City':r,'ZipCode':s,'PhoneNumber':w,'Fax':x,'State':t,'Email':y};if(o!==K(0xfa)){const D=await Actions[K(0x106)](K(0x115))||K(0x10b);A['OrganizationName']=D;}const B=h||0x0*parseInt(l);Log[K(0x12a)]('Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'),Log[K(0x132)](B+'\x20'+i+K(0x116)+l+K(0x12d)+h+'\x20'+i+'\x20/\x20Year)');const C=await Actions[K(0xfb)](K(0x114));C&&await c[K(0x11c)](A,d,parseInt(l),z);}}else throw K(0x13c);}catch(E){E&&Log[K(0x120)](E),process[K(0x10f)](0x0);}},a16e);
1
+ const a16I=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=-parseInt(F(0x8f))/0x1+-parseInt(F(0xbc))/0x2+-parseInt(F(0x9e))/0x3*(-parseInt(F(0x9f))/0x4)+parseInt(F(0xaa))/0x5+parseInt(F(0x9d))/0x6+parseInt(F(0x98))/0x7+parseInt(F(0x97))/0x8*(parseInt(F(0xb5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0xb781c));const a16b=(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;};}()),a16a=a16b(this,function(){const G=a16d;return a16a['toString']()['search'](G(0xa9))[G(0xb1)]()[G(0x9b)](a16a)[G(0xb8)](G(0xa9));});a16a();import a16e from'./aws.command.js';function a16c(){const K=['3455836CkoBkt','Choose\x20contact\x20type','Contact\x20Email\x20[mail@example.com]:\x20','rdn','error','My\x20Company,\x20LLC.','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','confirm','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','mail@example.com','(((.+)+)+)+$','3936380OOnZeY','Contact\x20Last\x20Name\x20[Person]:\x20','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','Do\x20you\x20wish\x20to\x20register\x20','\x20/\x20Year\x20\x0a','register-domain-name','\x20years\x20(','toString','\x20for\x20','Auto\x20Renew:\x20','123\x20Glorious\x20Way','9pFJBcv','ask','+1.5555555555','search','notice','create','\x20is\x20available\x20for:','2161704xHzSoW','Zip\x20Code\x20[96816]:\x20','domain','select','values','PERSON','City\x20[Honolulu]:\x20','96816','maka\x20aws:rdn\x20--domain=example.com','includes','State\x20[HI]:\x20','maka\x20aws:register-domain-name','Domain\x20name\x20is\x20unavailable','checkDomainAvailability','OrganizationName','Country\x20Code\x20[US]:\x20','214828cfxaoQ','contactType','Duration\x20in\x20years\x20[1]:\x20','ASSOCIATION','warn','Contact','Honolulu','PUBLIC_BODY','1129456NuYtyn','408884TFcXgL','\x20/\x20Year)','COMPANY','constructor','Contact\x20First\x20Name\x20[Contact]:\x20','1178970LcyJmx','3hCXdKy'];a16c=function(){return K;};return a16c();}import{Command}from'../../command.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(0xc0)](CountryCode)[H(0xc5)](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-0x8c;let f=c[d];return f;},a16d(a,b);}Command[a16I(0xba)]({'name':a16I(0xaf),'aliases':[a16I(0xa2)],'usage':a16I(0xc7),'requiredOpts':[a16I(0xbe)],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':['maka\x20aws:register-domain-name\x20--domain=example.com',a16I(0xc4)]},async function(a,b){const J=a16I,{aws:c}=this;try{const d=b[J(0xbe)],{available:f,cost:g}=await c[J(0x8c)](d);if(f&&g){Log['notice']('The\x20domain\x20name:\x20'+d+J(0xbb));const {Price:h,Currency:i}=g;Log[J(0x93)]('\x20\x20'+h+'\x20'+i+J(0xae));const j=await Actions[J(0xa6)](J(0xad)+d+'?',![]);if(j){const k={'message':J(0xa0),'name':J(0x90),'choices':[{'name':J(0x92),'value':J(0x92)},{'name':J(0x9a),'value':J(0x9a)},{'name':J(0xc1),'value':J(0xc1)},{'name':'PUBLIC_BODY','value':J(0x96)},{'name':'RESELLER','value':'RESELLER'}]},l=await Actions[J(0xb6)](J(0x91))||'1',m=await Actions['ask'](J(0x9c))||J(0x94),n=await Actions[J(0xb6)](J(0xab))||'Person',o=await Actions[J(0xbf)](k),p=await Actions[J(0xb6)](J(0xa7))||J(0xb4),q=await Actions['ask']('Address\x20Line\x202:\x20'),r=await Actions[J(0xb6)](J(0xc2))||J(0x95),s=await Actions[J(0xb6)](J(0xbd))||J(0xc3),t=await Actions[J(0xb6)](J(0xc6))||'HI',u=await Actions[J(0xb6)](J(0x8e))||'US',v=getCountryCodeEnum(u);if(!v)throw Log['error']('Invalid\x202\x20character\x20country\x20code');const w=await Actions[J(0xb6)]('Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20')||J(0xb7),x=await Actions[J(0xb6)](J(0xa5))||'+1.5555555556',y=await Actions[J(0xb6)](J(0xa1))||J(0xa8),z=await Actions[J(0xa6)](J(0xb3)),A={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':v,'AddressLine1':p,'AddressLine2':q,'City':r,'ZipCode':s,'PhoneNumber':w,'Fax':x,'State':t,'Email':y};if(o!==J(0xc1)){const D=await Actions[J(0xb6)]('Organization\x20Name\x20[My\x20Company,\x20LLC.]:')||J(0xa4);A[J(0x8d)]=D;}const B=h||0x0*parseInt(l);Log[J(0xb9)](J(0xac)),Log['warn'](B+'\x20'+i+J(0xb2)+l+J(0xb0)+h+'\x20'+i+J(0x99));const C=await Actions[J(0xa6)]('Are\x20you\x20sure?');C&&await c['registerDomain'](A,d,parseInt(l),z);}}else throw J(0xc8);}catch(E){E&&Log[J(0xa3)](E),process['exit'](0x0);}},a16e);
@@ -1 +1 @@
1
- const a17j=a17d;function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x141;let f=c[d];return f;},a17d(a,b);}(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(0x14e))/0x1+parseInt(h(0x153))/0x2+parseInt(h(0x141))/0x3+parseInt(h(0x15b))/0x4*(-parseInt(h(0x14f))/0x5)+-parseInt(h(0x156))/0x6+parseInt(h(0x14d))/0x7+-parseInt(h(0x143))/0x8*(parseInt(h(0x159))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xa0f8f));const a17b=(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;};}()),a17a=a17b(this,function(){const i=a17d;return a17a['toString']()['search'](i(0x14b))[i(0x14a)]()[i(0x14c)](a17a)[i(0x142)](i(0x14b));});a17a();import a17e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a17j(0x148)]({'name':a17j(0x15d),'aliases':['rkp'],'usage':a17j(0x145),'validOpts':[],'shortDesc':a17j(0x149),'description':a17j(0x150),'examples':[a17j(0x145),a17j(0x154)]},async function(){const k=a17j,{aws:a}=this;try{const b=await a[k(0x146)]();let c=undefined;const d=await Actions[k(0x157)]('Please\x20choose\x20a\x20key\x20to\x20delete:');b?.[k(0x151)](function(g){g['id']===parseInt(d)&&(c=g['name']);});if(!c)throw Log['error']('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const f=await Actions[k(0x147)](k(0x155)+c+k(0x158),![]);f?(await a['deleteKeyPair'](c),Log[k(0x152)](k(0x15a)+c)):Log['error'](k(0x15c)),process[k(0x144)](0x0);}catch(g){g&&Log['error'](g),process[k(0x144)](0x1);}},a17e);function a17c(){const l=['45cJdkZf','\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','forEach','success','243780fZoqLO','maka\x20aws:rkp','Deleting\x20a\x20','518658htcrfO','ask','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','9MxuAUC','Deleted\x20','60908fKxFGq','Not\x20deleting\x20keypair','remove-key-pair','3093390KcuIUS','search','22122680pBcrdd','exit','maka\x20aws:remove-key-pair','ec2describeKeys','confirm','create','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','toString','(((.+)+)+)+$','constructor','8451303Qnpxvb','1287815JxtguK'];a17c=function(){return l;};return a17c();}
1
+ const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x142))/0x1+parseInt(h(0x158))/0x2*(parseInt(h(0x144))/0x3)+-parseInt(h(0x14d))/0x4*(-parseInt(h(0x13d))/0x5)+-parseInt(h(0x13f))/0x6*(-parseInt(h(0x155))/0x7)+-parseInt(h(0x14e))/0x8*(parseInt(h(0x154))/0x9)+-parseInt(h(0x14b))/0xa*(-parseInt(h(0x149))/0xb)+-parseInt(h(0x146))/0xc*(-parseInt(h(0x14a))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0x4d806));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x143)]()[j(0x159)](j(0x13c))['toString']()[j(0x13a)](a17a)['search'](j(0x13c));});a17a();function a17c(){const n=['3174PlNldh','search','apply','exit','constructor','maka\x20aws:rkp','(((.+)+)+)+$','124765qorHLi','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','1794bfeqRb','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','forEach','519193nTNTHq','toString','303CASWit','error','9744GYxPjS','ec2describeKeys','Not\x20deleting\x20keypair','1498244yPfbEl','3276YvwtYn','20GXJkYI','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','60WXRaat','30632DHiBRQ','deleteKeyPair','name','Deleted\x20','\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','success','1197bmcFyl','7826TGtbze','ask','maka\x20aws:remove-key-pair'];a17c=function(){return n;};return a17c();}function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x138;let f=c[d];return f;},a17d(a,b);}import a17e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'remove-key-pair','aliases':['rkp'],'usage':a17k(0x157),'validOpts':[],'shortDesc':a17k(0x14c),'description':a17k(0x152),'examples':[a17k(0x157),a17k(0x13b)]},async function(){const l=a17k,{aws:a}=this;try{const b=await a[l(0x147)]();let c=undefined;const d=await Actions[l(0x156)]('Please\x20choose\x20a\x20key\x20to\x20delete:');b?.[l(0x141)](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0x150)]);});if(!c)throw Log[l(0x145)](l(0x13e));const f=await Actions['confirm']('Deleting\x20a\x20'+c+l(0x140),![]);f?(await a[l(0x14f)](c),Log[l(0x153)](l(0x151)+c)):Log[l(0x145)](l(0x148)),process[l(0x139)](0x0);}catch(g){g&&Log['error'](g),process[l(0x139)](0x1);}},a17e);
@@ -1 +1 @@
1
- const a18q=a18d;(function(a,b){const n=a18d,c=a();while(!![]){try{const d=-parseInt(n(0x15e))/0x1+parseInt(n(0x16f))/0x2*(-parseInt(n(0x172))/0x3)+parseInt(n(0x16a))/0x4*(-parseInt(n(0x165))/0x5)+parseInt(n(0x160))/0x6*(parseInt(n(0x152))/0x7)+-parseInt(n(0x14e))/0x8*(-parseInt(n(0x15c))/0x9)+-parseInt(n(0x14b))/0xa+-parseInt(n(0x173))/0xb*(-parseInt(n(0x147))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x2358b));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a18d;if(c){const e=c[o(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const p=a18d;return a18a[p(0x176)]()['search'](p(0x15d))[p(0x176)]()[p(0x162)](a18a)[p(0x16c)]('(((.+)+)+)+$');});a18a();import a18e from'path';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x146;let f=c[d];return f;},a18d(a,b);}import a18f from'fs';import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';function a18c(){const s=['6noJDAt','\x20IP\x20to\x20','constructor','readFileSync','writeFileSync','75910pMgSvf','maka\x20aws:sth\x20--env\x20prod','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','getEnvFromShorthand','sep','48vWSWvy','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','search','join','privateIp','4138QUuUqE','env','config/ssh.json','21CSvXNj','11oUKebH','maka\x20aws:set-host\x20--env\x20dev','cat\x20','toString','error','stringify','5261784pMsZBT','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','private','set-host','830480lIUtKV','exit','success','132016JXIwDT','parse','public','ask','1372385KfvvRU','ssh.json','create','getAppConfigPath','inherit','publicIp','apply','\x0aSaved\x20host\x20','fsi','template','9MTdyus','(((.+)+)+)+$','226545cvpqFx','host'];a18c=function(){return s;};return a18c();}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18q(0x154)]({'name':a18q(0x14a),'aliases':['sth'],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a18q(0x148),'description':'\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','examples':[a18q(0x174),a18q(0x166)]},async function(a,b){const r=a18q,{projectConfig:c,aws:d,cfg:f}=this;try{const g=f[r(0x168)](b[r(0x170)]),h=f[r(0x155)](g),i=await d['chooseInstance'](),j=a18e[r(0x16d)](h,r(0x153));!this[r(0x15a)]['isFile'](j)&&await this['scaffold'][r(0x15b)]({'srcPath':r(0x171),'destPath':j,'context':{'app':c['appName']},'config':c});const k=JSON[r(0x14f)](a18f[r(0x163)](j,'utf8')),l=await Actions[r(0x151)](r(0x16b))||r(0x150);if(l){if(l===r(0x150)||l===r(0x149)){if(l==='public')k[r(0x15f)]=i?.[r(0x157)];else l===r(0x149)&&(k['host']=i?.[r(0x16e)]);}else throw r(0x167);}else k[r(0x15f)]=i?.[r(0x16e)];a18f[r(0x164)](a18e[r(0x16d)](h,'ssh.json'),JSON[r(0x146)](k,null,0x2)),execSync(r(0x175)+a18e[r(0x16d)](h,r(0x153)),{'stdio':r(0x156)}),Log[r(0x14d)](r(0x159)+l+r(0x161)+h+a18e[r(0x169)]+r(0x153));}catch(m){m&&Log[r(0x177)](m),process[r(0x14c)](0x0);}},a18g);
1
+ const a18p=a18d;function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a18d(a,b);}(function(a,b){const n=a18d,c=a();while(!![]){try{const d=parseInt(n(0x1c5))/0x1+parseInt(n(0x1bc))/0x2+parseInt(n(0x1bb))/0x3+-parseInt(n(0x1c2))/0x4+parseInt(n(0x1da))/0x5+-parseInt(n(0x1b7))/0x6*(parseInt(n(0x1db))/0x7)+-parseInt(n(0x1e1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x97e62));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 o=a18d;return a18a[o(0x1d7)]()['search'](o(0x1d2))[o(0x1d7)]()[o(0x1cd)](a18a)[o(0x1dd)](o(0x1d2));});a18a();import a18e from'path';function a18c(){const r=['That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','2758254lBiLaT','692388xvYYKc','host','maka\x20aws:sth\x20--env\x20prod','cat\x20','inherit','exit','1012072GAYSls','config/ssh.json','fsi','237419Xvpals','privateIp','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','parse','ask','publicIp','sep','getAppConfigPath','constructor','public','maka\x20aws:set-host\x20--env\x20dev','env','isFile','(((.+)+)+)+$','utf8','\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','sth','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','toString','private','scaffold','6138315DjwTdh','70tTCJCT','getEnvFromShorthand','search','ssh.json','join','chooseInstance','10699104IBfMAP','appName','error','set-host','template','stringify','310866abCQtd','\x20IP\x20to\x20','\x0aSaved\x20host\x20'];a18c=function(){return r;};return a18c();}import a18f from'fs';import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a18p(0x1e4),'aliases':[a18p(0x1d5)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a18p(0x1d6),'description':a18p(0x1d4),'examples':[a18p(0x1cf),a18p(0x1be)]},async function(a,b){const q=a18p,{projectConfig:c,aws:d,cfg:f}=this;try{const g=f[q(0x1dc)](b[q(0x1d0)]),h=f[q(0x1cc)](g),i=await d[q(0x1e0)](),j=a18e[q(0x1df)](h,'ssh.json');!this[q(0x1c4)][q(0x1d1)](j)&&await this[q(0x1d9)][q(0x1e5)]({'srcPath':q(0x1c3),'destPath':j,'context':{'app':c[q(0x1e2)]},'config':c});const k=JSON[q(0x1c8)](a18f['readFileSync'](j,q(0x1d3))),l=await Actions[q(0x1c9)](q(0x1c7))||'public';if(l){if(l===q(0x1ce)||l==='private'){if(l==='public')k[q(0x1bd)]=i?.[q(0x1ca)];else l===q(0x1d8)&&(k['host']=i?.[q(0x1c6)]);}else throw q(0x1ba);}else k[q(0x1bd)]=i?.[q(0x1c6)];a18f['writeFileSync'](a18e[q(0x1df)](h,q(0x1de)),JSON[q(0x1b6)](k,null,0x2)),execSync(q(0x1bf)+a18e[q(0x1df)](h,'ssh.json'),{'stdio':q(0x1c0)}),Log['success'](q(0x1b9)+l+q(0x1b8)+h+a18e[q(0x1cb)]+'ssh.json');}catch(m){m&&Log[q(0x1e3)](m),process[q(0x1c1)](0x0);}},a18g);
@@ -1 +1 @@
1
- function a19c(){const k=['There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','65215PAMFzP','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','error','1221345FgSLsg','maka\x20aws:terminate-instance','toString','19779790ZgprYL','(((.+)+)+)+$','402984ualjBA','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','105AQMnaQ','apply','380dFfhAg','running','584072weeplv','constructor','name','exit','search','Terminate\x20an\x20EC2\x20instance','instanceId','7003404VIzShP','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','\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','2251654flisWy','chooseInstance','3hFPlgu'];a19c=function(){return k;};return a19c();}const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0xb0))/0x1+-parseInt(f(0xa9))/0x2*(-parseInt(f(0xab))/0x3)+parseInt(f(0xb9))/0x4*(-parseInt(f(0xad))/0x5)+parseInt(f(0xa6))/0x6+-parseInt(f(0xb7))/0x7*(parseInt(f(0xbb))/0x8)+-parseInt(f(0xb5))/0x9+parseInt(f(0xb3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0xa3beb));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a['toString']()[h(0xa3)](h(0xb4))[h(0xb2)]()[h(0xbc)](a19a)[h(0xa3)](h(0xb4));});a19a();import a19e from'./aws.command.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xa1;let f=c[d];return f;},a19d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':'terminate-instance','aliases':['ti'],'usage':a19i(0xb1),'validOpts':[],'shortDesc':a19i(0xa4),'description':a19i(0xa8),'examples':[a19i(0xb1),'maka\x20aws:ti']},async function(){const j=a19i,{aws:a}=this;try{const b=await a[j(0xaa)]();if(b?.[j(0xa5)]&&b?.['status']===j(0xba)){const c=await Actions['confirm'](j(0xae)+b[j(0xa1)]+'\x20Ready?');c?a['ec2terminateInstance']({'instanceId':b['instanceId']}):Log[j(0xaf)](j(0xb6)+b[j(0xa1)]+j(0xa7));}else Log['error'](j(0xac));}catch(d){d&&Log[j(0xaf)](d),process[j(0xa2)](0x1);}},a19e);
1
+ const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0xc0))/0x1+-parseInt(f(0xce))/0x2*(-parseInt(f(0xc1))/0x3)+-parseInt(f(0xd1))/0x4*(parseInt(f(0xdc))/0x5)+parseInt(f(0xc3))/0x6+parseInt(f(0xcb))/0x7+parseInt(f(0xd4))/0x8*(parseInt(f(0xc6))/0x9)+-parseInt(f(0xcd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x98c7e));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0xcf)]()[h(0xc8)](h(0xc4))['toString']()[h(0xd0)](a19a)[h(0xc8)](h(0xc4));});a19a();function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xbf;let f=c[d];return f;},a19d(a,b);}import a19e from'./aws.command.js';import{Command}from'../../command.js';function a19c(){const k=['maka\x20aws:ti','maka\x20aws:terminate-instance','8465989EHnDUC','terminate-instance','30012030PurOya','508178JAssem','toString','constructor','8RTmPiZ','running','apply','264EKwBdZ','chooseInstance','name','exit','confirm','ec2terminateInstance','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','Terminate\x20an\x20EC2\x20instance','96545dEkDHU','\x20Ready?','error','status','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','310347LGTqNd','9dDXmgL','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','5710770AKnnLv','(((.+)+)+)+$','\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','287037hntaKH','instanceId','search'];a19c=function(){return k;};return a19c();}import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':a19i(0xcc),'aliases':['ti'],'usage':a19i(0xca),'validOpts':[],'shortDesc':a19i(0xdb),'description':a19i(0xc5),'examples':[a19i(0xca),a19i(0xc9)]},async function(){const j=a19i,{aws:a}=this;try{const b=await a[j(0xd5)]();if(b?.[j(0xc7)]&&b?.[j(0xdf)]===j(0xd2)){const c=await Actions[j(0xd8)]('You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20'+b[j(0xd6)]+j(0xdd));c?a[j(0xd9)]({'instanceId':b[j(0xc7)]}):Log[j(0xde)](j(0xbf)+b[j(0xd6)]+j(0xc2));}else Log[j(0xde)](j(0xda));}catch(d){d&&Log[j(0xde)](d),process[j(0xd7)](0x1);}},a19e);
@@ -1 +1 @@
1
- (function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(0xed))/0x1+-parseInt(f(0xea))/0x2+parseInt(f(0xef))/0x3+-parseInt(f(0xf3))/0x4+-parseInt(f(0xf0))/0x5+parseInt(f(0xf4))/0x6+parseInt(f(0xf1))/0x7*(parseInt(f(0xee))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x67e07));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0xeb)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a20a)[h(0xf5)](h(0xec));});a20a();function a20c(){var i=['1812828lZyuby','search','1445768FyVxkX','toString','(((.+)+)+)+$','820528YtdRwC','8BDbvvW','1607004miExoX','1815810bJFchl','1345925LhRJKa','apply','1356336PBmYKd'];a20c=function(){return i;};return a20c();}import'./build.js';function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0xea;var f=c[d];return f;},a20d(a,b);}import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0x162))/0x1+-parseInt(f(0x16c))/0x2+parseInt(f(0x16d))/0x3*(parseInt(f(0x164))/0x4)+-parseInt(f(0x169))/0x5*(parseInt(f(0x167))/0x6)+parseInt(f(0x163))/0x7+-parseInt(f(0x168))/0x8+parseInt(f(0x160))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x20433));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x161)]()[h(0x16a)](h(0x166))[h(0x161)]()[h(0x165)](a20a)[h(0x16a)]('(((.+)+)+)+$');});a20a();function a20c(){var i=['203264MxagEy','608620MNdDPC','search','apply','495870xCshUT','27tEeRUS','4676724pPGeQB','toString','159265QMdYDS','1525734nCxmkd','31380gPaZhp','constructor','(((.+)+)+)+$','12ciLQfC'];a20c=function(){return i;};return a20c();}function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x160;var f=c[d];return f;},a20d(a,b);}import'./build.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- function a21c(){const x=['pathFromProject','checkMeteorPackage','error','--force','getGlobalMeteorVersion','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mpi','search','45OlpniX','join','toString','9266RJRlNW','exit','existsSync','slice','splice','7865500MdepjM','355140aYFMBI','inherit','\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','build','notice','Aborted.','confirm','invokeMeteorCommand','Meteor\x20is\x20installed.','33846yCXvRl','maka\x20install\x20--force','forEach',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','6795688WPYOtm','constructor','maka\x20build','9HPxRPk','--release','(((.+)+)+)+$','699hPpgwa','6665197ShNHeS','getProjectMeteorVersion','266CWDzvf','warn','244144ZBZpOU','force'];a21c=function(){return x;};return a21c();}const a21u=a21d;(function(a,b){const s=a21d,c=a();while(!![]){try{const d=-parseInt(s(0x187))/0x1+-parseInt(s(0x194))/0x2*(-parseInt(s(0x1ad))/0x3)+parseInt(s(0x19a))/0x4*(parseInt(s(0x191))/0x5)+parseInt(s(0x1a3))/0x6*(parseInt(s(0x185))/0x7)+parseInt(s(0x1a7))/0x8*(-parseInt(s(0x1aa))/0x9)+-parseInt(s(0x199))/0xa+parseInt(s(0x183))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0xc7dfc));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 t=a21d;return a21a[t(0x193)]()['search'](t(0x1ac))[t(0x193)]()[t(0x1a8)](a21a)[t(0x190)](t(0x1ac));});function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x183;let f=c[d];return f;},a21d(a,b);}a21a();import a21e from'path';import a21f from'fs';import a21g from'semver';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command['create']({'name':a21u(0x19d),'usage':a21u(0x1a9),'validOpts':[a21u(0x188)],'aliases':['b'],'shortDesc':a21u(0x18e),'mustBeInMakaProject':!![],'description':a21u(0x19c),'examples':[a21u(0x1a9)]},async function(a,b){const v=a21u,{mpi:c,fsi:d,pkg:f}=this;try{c['isMeteorInstalled']()?Log[v(0x19e)](v(0x1a2)):(Log[v(0x186)]('Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...'),execSync(v(0x1a4),{'stdio':v(0x19b)}));await f[v(0x18a)]('autoupdate',{'shouldInstall':!![]});const g=b[v(0x188)];if(!g)try{const k=c[v(0x18d)](),l=d[v(0x184)](),m=a21g['gt'](k,l);if(m){const n=await Actions['confirm']('This\x20project\x27s\x20meteor\x20version\x20('+l+v(0x1a6)+k+').\x20Update?');n&&c['invokeMeteorCommand']('update',[v(0x1ab),k]);}}catch(o){Log['error']('Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20'+o);}const h=[d[v(0x189)]({'pathParts':[v(0x19d)]})]['concat'](process['argv'][v(0x197)](0x3)),i=d['findProjectDirectory'](),j=a21e[v(0x192)](i,v(0x19d),'app.tar.gz');if(a21f[v(0x196)](j)){const p=g??await Actions[v(0x1a0)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');if(!p)throw Log[v(0x18b)](v(0x19f));}h[v(0x1a5)]((q,r)=>{const w=v;q===w(0x18c)&&h[w(0x198)](r,0x2);}),this[v(0x18f)][v(0x1a1)]('build',h);}catch(q){console[v(0x18b)](q),process[v(0x195)](0x0);}});export default BuildCommand;
1
+ const a21v=a21d;(function(a,b){const s=a21d,c=a();while(!![]){try{const d=-parseInt(s(0x160))/0x1*(parseInt(s(0x158))/0x2)+-parseInt(s(0x180))/0x3+parseInt(s(0x15b))/0x4+parseInt(s(0x168))/0x5+-parseInt(s(0x164))/0x6+parseInt(s(0x15a))/0x7+parseInt(s(0x17d))/0x8*(-parseInt(s(0x176))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0xb6f95));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a21d;if(c){const e=c[t(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const u=a21d;return a21a['toString']()['search']('(((.+)+)+)+$')[u(0x162)]()[u(0x15c)](a21a)['search'](u(0x16c));});a21a();function a21c(){const y=['exit','warn','--release','--force','create','build','2646HAmClj','confirm','isMeteorInstalled','join','getProjectMeteorVersion','apply','mpi','19848KDBUXl','maka\x20build','Meteor\x20is\x20installed.','473310ehsPLY','slice','update','error','notice','6XuLEcp',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','5759075AuXTne','1191124kEmxEr','constructor',').\x20Update?','Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20','concat','91101AexKjn','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','toString','forEach','257448EgzfgT','argv','checkMeteorPackage','maka\x20install\x20--force','4161750MpMsCl','This\x20project\x27s\x20meteor\x20version\x20(','inherit','autoupdate','(((.+)+)+)+$','force','existsSync','invokeMeteorCommand'];a21c=function(){return y;};return a21c();}import a21e from'path';import a21f from'fs';import a21g from'semver';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x154;let f=c[d];return f;},a21d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21v(0x174)]({'name':'build','usage':a21v(0x17e),'validOpts':[a21v(0x16d)],'aliases':['b'],'shortDesc':a21v(0x161),'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':[a21v(0x17e)]},async function(a,b){const w=a21v,{mpi:c,fsi:d,pkg:f}=this;try{c[w(0x178)]()?Log[w(0x157)](w(0x17f)):(Log[w(0x171)]('Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...'),execSync(w(0x167),{'stdio':w(0x16a)}));await f[w(0x166)](w(0x16b),{'shouldInstall':!![]});const g=b[w(0x16d)];if(!g)try{const k=c['getGlobalMeteorVersion'](),l=d[w(0x17a)](),m=a21g['gt'](k,l);if(m){const n=await Actions['confirm'](w(0x169)+l+w(0x159)+k+w(0x15d));n&&c[w(0x16f)](w(0x155),[w(0x172),k]);}}catch(o){Log['error'](w(0x15e)+o);}const h=[d['pathFromProject']({'pathParts':[w(0x175)]})][w(0x15f)](process[w(0x165)][w(0x154)](0x3)),i=d['findProjectDirectory'](),j=a21e[w(0x179)](i,'build','app.tar.gz');if(a21f[w(0x16e)](j)){const p=g??await Actions[w(0x177)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');if(!p)throw Log[w(0x156)]('Aborted.');}h[w(0x163)]((q,r)=>{const x=w;q===x(0x173)&&h['splice'](r,0x2);}),this[w(0x17c)][w(0x16f)]('build',h);}catch(q){console[w(0x156)](q),process[w(0x170)](0x0);}});export default BuildCommand;