@maka/maka-cli 4.5.43 → 4.5.45

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 (135) hide show
  1. package/.eslintrc.json +2 -1
  2. package/bundle/obf/package.json +1 -1
  3. package/bundle/obf/src/command.js +1 -1
  4. package/bundle/obf/src/commands/_index.js +1 -1
  5. package/bundle/obf/src/commands/ai.js +1 -1
  6. package/bundle/obf/src/commands/aws/_index.js +1 -1
  7. package/bundle/obf/src/commands/aws/aws.command.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/di.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/build/_index.js +1 -1
  21. package/bundle/obf/src/commands/build/build.js +1 -1
  22. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  23. package/bundle/obf/src/commands/create.js +1 -1
  24. package/bundle/obf/src/commands/debug.js +1 -1
  25. package/bundle/obf/src/commands/deploy.js +1 -1
  26. package/bundle/obf/src/commands/game/_index.js +1 -1
  27. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/play.command.js +1 -1
  29. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/generate.js +1 -1
  67. package/bundle/obf/src/commands/get/_index.js +1 -1
  68. package/bundle/obf/src/commands/get/get.command.js +1 -1
  69. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/help.js +1 -1
  73. package/bundle/obf/src/commands/jsdoc.js +1 -1
  74. package/bundle/obf/src/commands/lint.js +1 -1
  75. package/bundle/obf/src/commands/login.js +1 -1
  76. package/bundle/obf/src/commands/logout.js +1 -1
  77. package/bundle/obf/src/commands/logs.js +1 -1
  78. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  79. package/bundle/obf/src/commands/murder.js +1 -1
  80. package/bundle/obf/src/commands/proxy.js +1 -1
  81. package/bundle/obf/src/commands/reconfig.js +1 -1
  82. package/bundle/obf/src/commands/run/_index.js +1 -1
  83. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/run/run.command.js +1 -1
  85. package/bundle/obf/src/commands/set/_index.js +1 -1
  86. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/set/set.command.js +1 -1
  89. package/bundle/obf/src/commands/ssh.js +1 -1
  90. package/bundle/obf/src/commands/ssl.js +1 -1
  91. package/bundle/obf/src/commands/test.js +1 -1
  92. package/bundle/obf/src/commands/version.js +1 -1
  93. package/bundle/obf/src/error.js +1 -1
  94. package/bundle/obf/src/exec.js +1 -1
  95. package/bundle/obf/src/generator.js +1 -1
  96. package/bundle/obf/src/generators/_index.js +1 -1
  97. package/bundle/obf/src/generators/api.js +1 -1
  98. package/bundle/obf/src/generators/collection.js +1 -1
  99. package/bundle/obf/src/generators/component.js +1 -1
  100. package/bundle/obf/src/generators/config.js +1 -1
  101. package/bundle/obf/src/generators/dbc.js +1 -1
  102. package/bundle/obf/src/generators/dockerfile.js +1 -1
  103. package/bundle/obf/src/generators/hook.js +1 -1
  104. package/bundle/obf/src/generators/kit.js +1 -1
  105. package/bundle/obf/src/generators/layout.js +1 -1
  106. package/bundle/obf/src/generators/maka.gen.js +1 -1
  107. package/bundle/obf/src/generators/methods.js +1 -1
  108. package/bundle/obf/src/generators/package.js +1 -1
  109. package/bundle/obf/src/generators/page.js +1 -1
  110. package/bundle/obf/src/generators/publish.js +1 -1
  111. package/bundle/obf/src/generators/route.js +1 -1
  112. package/bundle/obf/src/generators/service.js +1 -1
  113. package/bundle/obf/src/generators/services/_index.js +1 -1
  114. package/bundle/obf/src/generators/services/openssl.js +1 -1
  115. package/bundle/obf/src/generators/services/translation.js +1 -1
  116. package/bundle/obf/src/maka.js +1 -1
  117. package/bundle/obf/src/tool.js +1 -1
  118. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  120. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  122. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  124. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/https/https.class.js +1 -1
  126. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  127. package/bundle/obf/src/tools/log/log.class.js +1 -1
  128. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  129. package/bundle/obf/src/tools/options/options.class.js +1 -1
  130. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  131. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  133. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  135. package/package.json +1 -1
@@ -1 +1 @@
1
- function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a76d(a,b);}const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x1f1))/0x1*(parseInt(g(0x1ed))/0x2)+parseInt(g(0x1f0))/0x3+-parseInt(g(0x1ee))/0x4+parseInt(g(0x1e7))/0x5+-parseInt(g(0x1eb))/0x6*(-parseInt(g(0x1ef))/0x7)+-parseInt(g(0x1e6))/0x8+parseInt(g(0x1e8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x8e976));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x1fa)]()['search']('(((.+)+)+)+$')[i(0x1fa)]()[i(0x1fe)](a76a)[i(0x1f3)](i(0x1f6));});a76a();import{Command}from'../command.js';function a76c(){const l=['maka\x20--help','search','slice','maka\x20install\x20meteor','(((.+)+)+)+$','runSubCommand','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20create\x20Todo','toString','findSubCommand','maybeProxyCommandToMeteor','apply','constructor','error','5207632qmdRgh','324835lklnvI','1101618AiVwBo','exit','maka','1423302wUfPCF','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','451522oteVru','2706628Xskkre','7ViWstV','2429388SfYMjv','3vmROTL'];a76c=function(){return l;};return a76c();}const Maka=new Command({'name':a76j(0x1ea),'minArgLength':0x1,'shortDesc':a76j(0x1f8),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a76j(0x1f2),a76j(0x1f5),a76j(0x1f9),'maka\x20run'],'description':a76j(0x1ec)},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x1fb)](c);d?this[k(0x1f7)](c,a[k(0x1f4)](0x1),b):this['fsi'][k(0x1fc)]();}catch(f){console[k(0x1ff)](f),process[k(0x1e9)](0x1);}});export default Maka;
1
+ const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x1e4))/0x1+-parseInt(g(0x1d7))/0x2+-parseInt(g(0x1db))/0x3*(parseInt(g(0x1ed))/0x4)+-parseInt(g(0x1e7))/0x5*(parseInt(g(0x1ee))/0x6)+-parseInt(g(0x1d9))/0x7*(-parseInt(g(0x1f0))/0x8)+-parseInt(g(0x1e8))/0x9*(-parseInt(g(0x1e9))/0xa)+-parseInt(g(0x1e0))/0xb*(-parseInt(g(0x1e6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xa156c));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x1d8)]()['search'](i(0x1ec))[i(0x1d8)]()[i(0x1de)](a76a)['search'](i(0x1ec));});function a76c(){const l=['189136ufqpUF','fsi','12UNSNRh','15aeRcUq','191214bFXMbE','160PlveDL','maybeProxyCommandToMeteor','maka\x20<command>\x20[<args>]\x20[<opts>]','(((.+)+)+)+$','4JIAsKv','1117056odqoLT','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','2264PIHxcn','972062xPQQiq','toString','16989OjoaXS','runSubCommand','3669123mtuCAw','apply','slice','constructor','findSubCommand','18837841tNJxNb','maka\x20create\x20Todo','exit','error'];a76c=function(){return l;};return a76c();}function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a76d(a,b);}a76a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a76j(0x1ef),'validOpts':[],'usage':a76j(0x1eb),'disableAuthCheck':!![],'examples':['maka\x20--help','maka\x20install\x20meteor',a76j(0x1e1),'maka\x20run'],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x1df)](c);d?this[k(0x1da)](c,a[k(0x1dd)](0x1),b):this[k(0x1e5)][k(0x1ea)]();}catch(f){console[k(0x1e3)](f),process[k(0x1e2)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a77h=a77d;function a77c(){var j=['4320jxTZWD','3942030oKyzMM','search','create','3440qqZPcL','maka\x20murder','25900460PPMKCB','murder','5931viAsTJ','1626708fLxWmO','exit','constructor','3811129TPTNGV','error','Murrrrderrrrr','toString','log','302446OGhFet','6sxBUJA','776GeBkpC','(((.+)+)+)+$'];a77c=function(){return j;};return a77c();}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x10b))/0x1+parseInt(f(0x103))/0x2+parseInt(f(0x102))/0x3*(parseInt(f(0x10d))/0x4)+parseInt(f(0x110))/0x5+parseInt(f(0x10c))/0x6*(parseInt(f(0x106))/0x7)+-parseInt(f(0xfe))/0x8*(-parseInt(f(0x10f))/0x9)+-parseInt(f(0x100))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x6d821));function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0xfe;var f=c[d];return f;},a77d(a,b);}var a77b=(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;};}()),a77a=a77b(this,function(){var g=a77d;return a77a[g(0x109)]()['search']('(((.+)+)+)+$')[g(0x109)]()[g(0x105)](a77a)[g(0x111)](g(0x10e));});a77a();import{Command}from'../command.js';Command[a77h(0x112)]({'name':a77h(0x101),'usage':a77h(0xff),'maxArgLength':0x1,'shortDesc':a77h(0x108),'validOpts':[]},async function(){var i=a77h;try{console[i(0x10a)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','font-family:\x20monospace');}catch(a){console[i(0x107)](a),process[i(0x104)](0x0);}});
1
+ function a77c(){var k=['6ouVfpF','create','apply','error','constructor','965418XajseL','murder','(((.+)+)+)+$','font-family:\x20monospace','442232fccdvh','search','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','Murrrrderrrrr','40157JMcDPX','1209215UbtAQv','toString','139112FHoDbx','458845twmKUU','log','560970XCPXbc'];a77c=function(){return k;};return a77c();}var a77i=a77d;function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1c6;var f=c[d];return f;},a77d(a,b);}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x1d4))/0x1+parseInt(f(0x1c6))/0x2+-parseInt(f(0x1c7))/0x3*(-parseInt(f(0x1d7))/0x4)+-parseInt(f(0x1d8))/0x5+parseInt(f(0x1cc))/0x6+-parseInt(f(0x1d5))/0x7+-parseInt(f(0x1d0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x24dd2));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0x1d6)]()[h(0x1d1)](h(0x1ce))[h(0x1d6)]()[h(0x1cb)](a77a)[h(0x1d1)](h(0x1ce));});a77a();import{Command}from'../command.js';Command[a77i(0x1c8)]({'name':a77i(0x1cd),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a77i(0x1d3),'validOpts':[]},async function(){var j=a77i;try{console[j(0x1d9)](j(0x1d2),j(0x1cf));}catch(a){console[j(0x1ca)](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x146))/0x1*(-parseInt(n(0x133))/0x2)+-parseInt(n(0x151))/0x3*(parseInt(n(0x142))/0x4)+-parseInt(n(0x13a))/0x5+parseInt(n(0x132))/0x6*(parseInt(n(0x150))/0x7)+-parseInt(n(0x148))/0x8+parseInt(n(0x14f))/0x9+parseInt(n(0x14a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xe5c54));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x12c)]()[p(0x145)](p(0x143))[p(0x12c)]()[p(0x14d)](a78a)['search']('(((.+)+)+)+$');});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x12c;let f=c[d];return f;},a78d(a,b);}import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a78c(){const s=['genCSR','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','=>\x20SSL\x20Proxy\x20forwarding\x20','error','appName','348ZoXLEC','114ksNIbo','invoke','sslconfig','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','findGenerator','.key','8082195AQENEu','join','targetHost','fsi','apply','create','targetPort','getProjectConfig','840048YqKURY','(((.+)+)+)+$','mkKeysDir','search','2492cbLUzQ','isFile','5885440ApPEaa','listenPort','27982630OZDqEk','.csr','getConfigPath','constructor','readFileSync','1693332frkdLg','180908EyGATQ','15TxWZHN','maka\x20proxy','\x20to\x20','localhost','createProxyServer','proxy','bright','genSSC','toString'];a78c=function(){return s;};return a78c();}import a78h from'../generators/maka.gen.js';Command[a78q(0x13f)]({'name':a78q(0x156),'usage':a78q(0x152),'mustBeInMakaProject':!![],'validOpts':['help',a78q(0x140),a78q(0x149),a78q(0x13c)],'maxArgLength':0x1,'shortDesc':a78q(0x137),'description':a78q(0x12e),'examples':[a78q(0x152),a78q(0x136),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a78q,c=this['fsi'][r(0x141)](),d='development',e=this[r(0x13d)][r(0x14c)](d),f=this[r(0x13d)][r(0x144)]({'configPath':e}),g=b[r(0x140)]?Number(b[r(0x140)]):0xbb8,h=b[r(0x149)]?Number(b[r(0x149)]):0xd73,i=b[r(0x13c)]?b[r(0x13c)]:r(0x154),j=a78f[r(0x13b)](f,c[r(0x131)]+r(0x139)),k=a78f[r(0x13b)](f,c[r(0x131)]+'.crt');if(!this[r(0x13d)][r(0x147)](j)||!this[r(0x13d)][r(0x147)](k)){const m=a78h[r(0x138)]('sslconfig');m&&await m[r(0x134)]([r(0x135)],{'env':d}),SSL[r(0x12d)]({'keyName':c[r(0x131)]+'.key','csrName':c[r(0x131)]+r(0x14b),'cwd':f}),SSL[r(0x158)]({'keyName':c[r(0x131)]+r(0x139),'crtName':c[r(0x131)]+'.crt','cwd':f});}if(g===h){Log[r(0x130)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a78e[r(0x14e)](j,'utf8'),'cert':a78e[r(0x14e)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x155)](l)['listen'](Number(h)),Log[r(0x157)](r(0x12f)+h+r(0x153)+g);});
1
+ function a78c(){const s=['3223948OnDLVw','1876719ugRRtO','help','localhost','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','maka\x20proxy\x20--target-host\x20http://192.168.1.20','maka\x20proxy','development','constructor','proxy','utf8','(((.+)+)+)+$','mkKeysDir','\x20to\x20','targetPort','168363iRRFvt','.csr','appName','getConfigPath','createProxyServer','253XocGaY','targetHost','477255qSvsyA','apply','bright','search','12UXlclK','.key','fsi','join','getProjectConfig','toString','isFile','create','209252XRjSww','2003442VbGfQL','4ZWeLzj','sslconfig','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','listen','listenPort','error','findGenerator','32SuRwqY','genSSC','494970dxyEfy'];a78c=function(){return s;};return a78c();}const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x1ba))/0x1*(-parseInt(n(0x1b8))/0x2)+parseInt(n(0x1c5))/0x3+parseInt(n(0x1de))/0x4*(parseInt(n(0x1da))/0x5)+-parseInt(n(0x1b9))/0x6+parseInt(n(0x1c4))/0x7+-parseInt(n(0x1c1))/0x8*(-parseInt(n(0x1d3))/0x9)+-parseInt(n(0x1c3))/0xa*(parseInt(n(0x1d8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x6010c));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x1b5)]()[p(0x1dd)](p(0x1cf))[p(0x1b5)]()[p(0x1cc)](a78a)[p(0x1dd)](p(0x1cf));});a78a();import a78e from'fs';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a78d(a,b);}import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command[a78q(0x1b7)]({'name':a78q(0x1cd),'usage':a78q(0x1ca),'mustBeInMakaProject':!![],'validOpts':[a78q(0x1c6),a78q(0x1d2),a78q(0x1be),a78q(0x1d9)],'maxArgLength':0x1,'shortDesc':a78q(0x1c8),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a78q(0x1c9)]},async function(a,b){const r=a78q,c=this[r(0x1e0)][r(0x1e2)](),d=r(0x1cb),e=this['fsi'][r(0x1d6)](d),f=this[r(0x1e0)][r(0x1d0)]({'configPath':e}),g=b[r(0x1d2)]?Number(b[r(0x1d2)]):0xbb8,h=b[r(0x1be)]?Number(b['listenPort']):0xd73,i=b[r(0x1d9)]?b[r(0x1d9)]:r(0x1c7),j=a78f[r(0x1e1)](f,c[r(0x1d5)]+r(0x1df)),k=a78f[r(0x1e1)](f,c[r(0x1d5)]+'.crt');if(!this[r(0x1e0)][r(0x1b6)](j)||!this[r(0x1e0)][r(0x1b6)](k)){const m=a78h[r(0x1c0)](r(0x1bb));m&&await m['invoke'](['sslconfig'],{'env':d}),SSL['genCSR']({'keyName':c[r(0x1d5)]+r(0x1df),'csrName':c[r(0x1d5)]+r(0x1d4),'cwd':f}),SSL[r(0x1c2)]({'keyName':c[r(0x1d5)]+r(0x1df),'crtName':c[r(0x1d5)]+'.crt','cwd':f});}if(g===h){Log[r(0x1bf)](r(0x1bc));throw new UsageError();}const l={'ssl':{'key':a78e['readFileSync'](j,r(0x1ce)),'cert':a78e['readFileSync'](k,r(0x1ce))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x1d7)](l)[r(0x1bd)](Number(h)),Log[r(0x1dc)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+r(0x1d1)+g);});
@@ -1 +1 @@
1
- const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x1e4))/0x1+-parseInt(n(0x1e5))/0x2*(parseInt(n(0x1c6))/0x3)+-parseInt(n(0x1df))/0x4*(parseInt(n(0x1d7))/0x5)+-parseInt(n(0x1c9))/0x6*(parseInt(n(0x1da))/0x7)+-parseInt(n(0x1d5))/0x8*(parseInt(n(0x1d6))/0x9)+-parseInt(n(0x1d8))/0xa+-parseInt(n(0x1e6))/0xb*(-parseInt(n(0x1dc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x43738));function a79c(){const s=['171502BTgHUN','33eNQMfB','error','success','pm2.config.js','ssh','ping','ssh.json','9HvlRAO','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','toString','6TbkMcx','existsSync','reconfig','notice','uname\x20-a','scp','~/settings.json','maka\x20reconfig','apply','maka\x20reconfig\x20--env\x20prod','Checking\x20remote\x20host\x20availability','env','48aaPvqn','647667XvXJmt','545yXgiGC','3875860wgyIPQ','join','3482766aUJjXL','search','9217188VZBOCr','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','create','5604msEQwJ','Reconfigure\x20your\x20deployed\x20applications','parse','ses.json','_keys','301153tUcpSF'];a79c=function(){return s;};return a79c();}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()[p(0x1db)]('(((.+)+)+)+$')[p(0x1c8)]()['constructor'](a79a)[p(0x1db)]('(((.+)+)+)+$');});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x1de)]({'name':a79q(0x1cb),'validOpts':[''],'requiredOpts':[a79q(0x1d4)],'mustBeInMakaProject':!![],'usage':a79q(0x1d0),'shortDesc':a79q(0x1e0),'description':a79q(0x1c7),'examples':[a79q(0x1d2)]},async function(a,b){const r=a79q;try{const c=this['fsi']['getConfigPath'](b[r(0x1d4)]),d=a79f[r(0x1d9)](c,r(0x1c5)),f=a79e['readFileSync'](d)[r(0x1c8)](),g=JSON[r(0x1e1)](f);Object['assign'](g,{'env':c}),Log[r(0x1cc)](r(0x1d3));const h=SSH[r(0x1c4)](r(0x1cd),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x1c1)]('Remote\x20host\x20connection\x20successful');const i=a79f[r(0x1d9)](c,r(0x1e3),r(0x1e2));if(a79e[r(0x1ca)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH['scp'](l,{...g});}const j=a79f['join'](c,r(0x1c2));SSH['scp']({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a79f[r(0x1d9)](c,'settings.json');SSH[r(0x1ce)]({'source':k,'dest':r(0x1cf),'verbose':!![]},{...g}),SSH['sshSync']('pm2\x20delete\x20all',g),await SSH[r(0x1c3)](r(0x1dd),{...g},{'verbose':!![]});}catch(m){console[r(0x1e7)](m),process['exit'](0x0);}});
1
+ const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x1cf))/0x1+-parseInt(n(0x1bd))/0x2+-parseInt(n(0x1cd))/0x3*(parseInt(n(0x1c9))/0x4)+-parseInt(n(0x1b3))/0x5+parseInt(n(0x1b4))/0x6*(parseInt(n(0x1d1))/0x7)+parseInt(n(0x1c2))/0x8*(parseInt(n(0x1be))/0x9)+parseInt(n(0x1c1))/0xa*(parseInt(n(0x1cc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xcc513));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x1b6)]()['search'](p(0x1b9))[p(0x1b6)]()['constructor'](a79a)[p(0x1c0)](p(0x1b9));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a79d(a,b);}function a79c(){const s=['sshSync','readFileSync','reconfig','2223520CInQAN','585NMmoLE','create','search','312630VyARrd','175264zMvVbY','env','uname\x20-a','maka\x20reconfig','join','Checking\x20remote\x20host\x20availability','error','500MLzXaB','~/pm2.config.js','settings.json','1177ptRetc','28131soxSZb','ssh','1344914qysNXU','Remote\x20host\x20connection\x20successful','163541AmrYGs','pm2.config.js','~/ses.json','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','existsSync','scp','maka\x20reconfig\x20--env\x20prod','1751025Cdfneh','12NpySFa','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','toString','apply','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','(((.+)+)+)+$'];a79c=function(){return s;};return a79c();}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x1bf)]({'name':a79q(0x1bc),'validOpts':[''],'requiredOpts':[a79q(0x1c3)],'mustBeInMakaProject':!![],'usage':a79q(0x1c5),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a79q(0x1b5),'examples':[a79q(0x1b2)]},async function(a,b){const r=a79q;try{const c=this['fsi']['getConfigPath'](b[r(0x1c3)]),d=a79f[r(0x1c6)](c,'ssh.json'),f=a79e[r(0x1bb)](d)[r(0x1b6)](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log['notice'](r(0x1c7));const h=SSH['ping'](r(0x1c4),g);if(!h)throw r(0x1b8);if(h)Log['success'](r(0x1d0));const i=a79f['join'](c,'_keys','ses.json');if(a79e[r(0x1b0)](i)){const l={'source':i,'dest':r(0x1d3),'verbose':!![]};SSH[r(0x1b1)](l,{...g});}const j=a79f[r(0x1c6)](c,r(0x1d2));SSH[r(0x1b1)]({'source':j,'dest':r(0x1ca),'verbose':!![]},{...g});const k=a79f[r(0x1c6)](c,r(0x1cb));SSH['scp']({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x1ba)]('pm2\x20delete\x20all',g),await SSH[r(0x1ce)](r(0x1d4),{...g},{'verbose':!![]});}catch(m){console[r(0x1c8)](m),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0xf9))/0x1*(parseInt(f(0xf8))/0x2)+parseInt(f(0xf7))/0x3+-parseInt(f(0xfe))/0x4+-parseInt(f(0xf6))/0x5*(-parseInt(f(0x100))/0x6)+parseInt(f(0xf3))/0x7+parseInt(f(0xf5))/0x8*(parseInt(f(0xfb))/0x9)+-parseInt(f(0xfd))/0xa*(-parseInt(f(0x101))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x71657));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0xf4)]()[h(0xfc)](h(0x102))[h(0xf4)]()[h(0xff)](a80a)[h(0xfc)]('(((.+)+)+)+$');});a80a();import'./run.command.js';function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0xf3;var f=c[d];return f;},a80d(a,b);}import'./docker.sub.cmd.js';function a80c(){var i=['9aPCZIi','search','10sgNDjg','1525932PEiOCq','constructor','136368hcFFbU','4240181aOQIci','(((.+)+)+)+$','300496ZuGCfn','toString','4559584AbzVVV','5QZEWdO','962181piQqIo','4HSUleW','247924QazBcA','apply'];a80c=function(){return i;};return a80c();}
1
+ (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x6e))/0x1*(-parseInt(f(0x77))/0x2)+-parseInt(f(0x71))/0x3+-parseInt(f(0x6d))/0x4*(-parseInt(f(0x6c))/0x5)+-parseInt(f(0x78))/0x6+-parseInt(f(0x6f))/0x7+parseInt(f(0x75))/0x8*(parseInt(f(0x72))/0x9)+-parseInt(f(0x6a))/0xa*(parseInt(f(0x73))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xef857));var a80b=(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;};}()),a80a=a80b(this,function(){var g=a80d;return a80a[g(0x6b)]()[g(0x74)](g(0x76))[g(0x6b)]()[g(0x70)](a80a)[g(0x74)](g(0x76));});function a80c(){var h=['3650266soopzn','4686972lcYXpH','110PnvcLq','toString','6740KyBLxL','1832rBkxHh','1ukIrID','5891648nwpAvX','constructor','628377oturiV','9duDnpX','990286aqNWQc','search','10889064MWkzjd','(((.+)+)+)+$'];a80c=function(){return h;};return a80c();}a80a();import'./run.command.js';function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x6a;var f=c[d];return f;},a80d(a,b);}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- function a81c(){const n=['(((.+)+)+)+$','getConfigPath','config/docker-compose.yaml','56yYQAaL','createFile','8qxJtAG','2076066eAZEmS','toString','templateContent','Docker\x20Compose\x20Path:\x20','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','appName','getProjectConfig','exit','47319eyvrUw','search','5034546hLluwt','1200059IXJWVR','notice','apply','docker','\x20up\x20--remove-orphans','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','docker-compose.yaml','PM2\x20Config\x20File:\x20','25589799sfMMjj','inherit','1473170YeUMZG','530652hSfWbv','join','pm2.config.js'];a81c=function(){return n;};return a81c();}const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0xa2))/0x1+-parseInt(i(0xab))/0x2+parseInt(i(0x94))/0x3*(-parseInt(i(0xa8))/0x4)+parseInt(i(0xa1))/0x5+-parseInt(i(0x96))/0x6+parseInt(i(0x97))/0x7*(parseInt(i(0xaa))/0x8)+parseInt(i(0x9f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xa6350));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0xac)]()[k(0x95)](k(0xa5))[k(0xac)]()['constructor'](a81a)[k(0x95)](k(0xa5));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x91;let f=c[d];return f;},a81d(a,b);}import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':'docker','aliases':['d'],'shortDesc':a81l(0xaf),'description':a81l(0x9c),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a81l;try{const a=this['fsi'][m(0x92)](),b=this['fsi'][m(0xa6)](m(0x9a)),c=a81f['join'](b,m(0x9d)),d=a81f[m(0xa3)](b,m(0xa4));Log[m(0x98)](m(0x9e)+d),Log['notice'](m(0xae)+c);if(!a81g['existsSync'](c)){const f={'app':a[m(0x91)],'appFileCase':paramCase(a[m(0x91)])},g=this['fsi'][m(0xad)]({'srcPath':m(0xa7),'context':f})+'\x0a';this['fsi'][m(0xa9)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+m(0x9b),{'stdio':m(0xa0)});}catch(h){process[m(0x93)](0x1);}},a81e);
1
+ function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xc5;let f=c[d];return f;},a81d(a,b);}const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0xd4))/0x1+-parseInt(i(0xd1))/0x2+-parseInt(i(0xe0))/0x3+parseInt(i(0xd5))/0x4*(parseInt(i(0xda))/0x5)+parseInt(i(0xd2))/0x6+parseInt(i(0xdd))/0x7*(-parseInt(i(0xd9))/0x8)+parseInt(i(0xc7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x87d7f));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0xd3)]()[k(0xc8)](k(0xdc))[k(0xd3)]()[k(0xc9)](a81a)[k(0xc8)]('(((.+)+)+)+$');});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';function a81c(){const n=['52065AewYMG','21464IsaCtf','docker','apply','appName','1072CULKmM','890KuqtqQ','fsi','(((.+)+)+)+$','55433TsFuMY','maka\x20run\x20docker','docker-compose\x20--project-directory\x20','803340WAftxl','config/docker-compose.yaml','existsSync','exit','getConfigPath','\x20up\x20--remove-orphans','9749772KbSrbP','search','constructor','docker-compose.yaml','join','PM2\x20Config\x20File:\x20','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','pm2.config.js','notice','createFile','2197578bbBIoP','5986434sxKlxy','toString'];a81c=function(){return n;};return a81c();}Command['create']({'name':a81l(0xd6),'aliases':['d'],'shortDesc':a81l(0xcd),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a81l(0xde),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0xdb)]['getProjectConfig'](),b=this[m(0xdb)][m(0xc5)]('docker'),c=a81f[m(0xcb)](b,m(0xca)),d=a81f[m(0xcb)](b,m(0xce));Log[m(0xcf)](m(0xcc)+d),Log[m(0xcf)]('Docker\x20Compose\x20Path:\x20'+c);if(!a81g[m(0xe2)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0xd8)])},g=this[m(0xdb)]['templateContent']({'srcPath':m(0xe1),'context':f})+'\x0a';this[m(0xdb)][m(0xd0)]({'filePath':c,'data':g});}execSync(m(0xdf)+b+m(0xc6),{'stdio':'inherit'});}catch(h){process[m(0xe3)](0x1);}},a81e);
@@ -1 +1 @@
1
- const a82v=a82d;function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xf6;let f=c[d];return f;},a82d(a,b);}(function(a,b){const r=a82d,c=a();while(!![]){try{const d=-parseInt(r(0x116))/0x1+parseInt(r(0x100))/0x2+parseInt(r(0x122))/0x3+-parseInt(r(0xfd))/0x4+parseInt(r(0x130))/0x5*(-parseInt(r(0x12a))/0x6)+-parseInt(r(0x11e))/0x7*(-parseInt(r(0x11b))/0x8)+-parseInt(r(0x135))/0x9*(parseInt(r(0xfc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x99a29));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0x129)]()[t(0x124)](t(0x10b))[t(0x129)]()[t(0xfb)](a82a)[t(0x124)](t(0x10b));});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0x126)](a,'r'),a82g[u(0xf8)]({'path':a});},Run=Command[a82v(0x110)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a82v(0x102),'validOpts':[a82v(0x10a),a82v(0x103),'r','rawLogs','p',a82v(0xf6),'i',a82v(0x11d),'m',a82v(0x123),'v','verbose',a82v(0x136),a82v(0x10e),'x',a82v(0x115),a82v(0x11a)]},async function(a,b){const w=a82v;try{const c=this[w(0x133)][w(0x11c)]();!this['fsi'][w(0x12c)](w(0x106))&&(Log[w(0x125)](w(0xff)),await this[w(0x133)][w(0x10d)](w(0x106),{'cwd':c}));const d=a[0x0],f=this[w(0x105)](d);f&&this[w(0x10c)](d,a,b);if(d==='ios'){const n=this[w(0x133)][w(0x11c)](),o=a82e[w(0xf9)](n,w(0x113),'.meteor',w(0x11f),w(0xf7));this[w(0x133)][w(0x112)](o)&&await rimraf(o);}if(b[w(0x109)]&&b[w(0x109)]===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this[w(0x133)][w(0xfa)]();const g=b['env']?b[w(0x10a)]:w(0x12f),h=this[w(0x133)][w(0x118)](g),i=a82e[w(0xf9)](h,'process.env');let j=a82e[w(0xf9)](h,w(0x104));b['settings']?j=b[w(0x127)]:j=a82e[w(0xf9)](h,w(0x104));if(this[w(0x133)][w(0x10f)](i)&&!b[w(0x103)])Log[w(0x125)](w(0x120)+i),syncSource(i);else!b[w(0x103)]&&Log[w(0x12e)](w(0x117)+i);this[w(0x133)][w(0x10f)](j)?(Log['notice'](w(0x107)+j),a=a[w(0x114)](['--settings',j])):Log[w(0x12e)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+j);const k=h['split'](a82e[w(0x12d)]),l=k[k['length']-0x1];l===w(0x11a)&&a[w(0x131)](w(0x134));const m=process[w(0x121)]['slice'](0x2)[w(0x12b)](p=>p!==w(0x119))[w(0x12b)](p=>p!==a[0x0]);m[w(0x108)]((p,q)=>{const x=w;p===x(0x128)&&m[x(0xfe)](q,0x2),p==='-e'&&m[x(0xfe)](q,0x2);}),this['fsi'][w(0x101)](w(0x119),a[w(0x114)](m));}catch(p){console[w(0x132)](p),process['exit'](0x1);}});export default Run;function a82c(){const y=['notice','openSync','settings','--env','toString','5124342dAdNHu','filter','checkMeteorPackage','sep','warn','development','5AafbXW','push','error','fsi','--production','396dCHzrk','allowIncompatibleUpdate','port','cordova-build','config','join','compareMakaToLatest','constructor','6220QNCUYl','3553868DAGJcE','splice','Verifying\x20meteor\x20package\x20requirements\x20...','1665646AkvprQ','invokeMeteorCommand','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','docker','settings.json','findSubCommand','autoupdate','Meteor\x20Settings:\x20','forEach','mobile-server','env','(((.+)+)+)+$','runSubCommand','installMeteorPackage','extraPackages','isFile','create','apply','isDirectory','app','concat','exclude-archs','268269NlmbnK','Cannot\x20find\x20Node\x20Environment\x20File:\x20','getConfigPath','run','production','8378360eXAwOy','findProjectDirectory','inspect','7LBwVTA','local','Node\x20Env\x20Config:\x20','argv','2361996pgFvgG','mobileServer','search'];a82c=function(){return y;};return a82c();}
1
+ const a82v=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x97))/0x1+parseInt(r(0x8b))/0x2*(-parseInt(r(0x7f))/0x3)+parseInt(r(0xb7))/0x4+-parseInt(r(0x8c))/0x5+parseInt(r(0xb4))/0x6+parseInt(r(0xa9))/0x7*(-parseInt(r(0x93))/0x8)+-parseInt(r(0xa0))/0x9*(parseInt(r(0x90))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x1b9c3));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0xb6)]()[t(0xaf)](t(0x89))[t(0xb6)]()['constructor'](a82a)[t(0xaf)](t(0x89));});a82a();import a82e from'path';import a82f from'fs';function a82c(){const y=['1613110AJnzUV','ios','mobile-server','125464wuIxOI','push','splice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','159996HiXNzW','length','notice','development','forEach','findProjectDirectory','rawLogs','concat','settings.json','9FTkUKC','extraPackages','filter','inspect','compareMakaToLatest','apply','run','.meteor','Node\x20Env\x20Config:\x20','42qVpJny','--env','sep','port','app','runSubCommand','search','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','verbose','config','create','1003932HUGPMN','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','toString','658048CJuEit','join','settings','Cannot\x20find\x20Node\x20Environment\x20File:\x20','Meteor\x20Settings:\x20','docker','local','env','production','6NFKqwT','exclude-archs','fsi','mobileServer','findSubCommand','warn','Run\x20your\x20Meteor\x20application','checkMeteorPackage','autoupdate','openSync','(((.+)+)+)+$','split','54086XrprMv','346220FHyVQQ','getConfigPath','--settings','error'];a82c=function(){return y;};return a82c();}import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0x88)](a,'r'),a82g[u(0xb2)]({'path':a});},Run=Command[a82v(0xb3)]({'name':a82v(0xa6),'mustBeInMakaProject':!![],'shortDesc':a82v(0x85),'description':a82v(0xb0),'validOpts':[a82v(0x7d),'docker','r',a82v(0x9d),'p',a82v(0xac),'i',a82v(0xa3),'m',a82v(0x82),'v',a82v(0xb1),'allowIncompatibleUpdate',a82v(0xa1),'x',a82v(0x80),a82v(0x7e)]},async function(a,b){const w=a82v;try{const c=this[w(0x81)][w(0x9c)]();!this[w(0x81)][w(0x86)](w(0x87))&&(Log['notice']('Verifying\x20meteor\x20package\x20requirements\x20...'),await this[w(0x81)]['installMeteorPackage'](w(0x87),{'cwd':c}));const d=a[0x0],f=this[w(0x83)](d);f&&this[w(0xae)](d,a,b);if(d===w(0x91)){const n=this[w(0x81)][w(0x9c)](),o=a82e[w(0xb8)](n,w(0xad),w(0xa7),w(0x7c),'cordova-build');this[w(0x81)]['isDirectory'](o)&&await rimraf(o);}if(b[w(0x92)]&&b[w(0x92)]===!![]||b['m']&&b['m']===!![])throw w(0xb5);await this[w(0x81)][w(0xa4)]();const g=b[w(0x7d)]?b[w(0x7d)]:w(0x9a),h=this['fsi'][w(0x8d)](g),i=a82e[w(0xb8)](h,'process.env');let j=a82e[w(0xb8)](h,w(0x9f));b[w(0xb9)]?j=b['settings']:j=a82e[w(0xb8)](h,w(0x9f));if(this[w(0x81)]['isFile'](i)&&!b['docker'])Log['notice'](w(0xa8)+i),syncSource(i);else!b[w(0x7b)]&&Log[w(0x84)](w(0x79)+i);this[w(0x81)]['isFile'](j)?(Log[w(0x99)](w(0x7a)+j),a=a[w(0x9e)]([w(0x8e),j])):Log[w(0x84)](w(0x96)+j);const k=h[w(0x8a)](a82e[w(0xab)]),l=k[k[w(0x98)]-0x1];l===w(0x7e)&&a[w(0x94)]('--production');const m=process['argv']['slice'](0x2)[w(0xa2)](p=>p!==w(0xa6))['filter'](p=>p!==a[0x0]);m[w(0x9b)]((p,q)=>{const x=w;p===x(0xaa)&&m[x(0x95)](q,0x2),p==='-e'&&m[x(0x95)](q,0x2);}),this[w(0x81)]['invokeMeteorCommand'](w(0xa6),a['concat'](m));}catch(p){console[w(0x8f)](p),process['exit'](0x1);}});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x79;let f=c[d];return f;},a82d(a,b);}export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x113))/0x1*(parseInt(f(0x112))/0x2)+parseInt(f(0x10d))/0x3*(-parseInt(f(0x114))/0x4)+-parseInt(f(0x109))/0x5*(-parseInt(f(0x10a))/0x6)+-parseInt(f(0x10b))/0x7+parseInt(f(0x110))/0x8*(parseInt(f(0x108))/0x9)+-parseInt(f(0x107))/0xa+parseInt(f(0x106))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xb2698));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a['toString']()[h(0x10e)](h(0x10c))[h(0x105)]()[h(0x111)](a83a)[h(0x10e)](h(0x10c));});a83a();import'./set.command.js';import'./global.sub.cmd.js';function a83c(){var i=['11271580iHWjKE','171cjTgwy','455105PtSdAl','36mYYtkU','9361478gvckFq','(((.+)+)+)+$','8646iYahvJ','search','apply','420904AbGThm','constructor','22BndCNv','72967ADGIxt','1728hsSsdZ','toString','23010922kssSdr'];a83c=function(){return i;};return a83c();}function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x105;var f=c[d];return f;},a83d(a,b);}import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x1b8))/0x1*(parseInt(f(0x1b6))/0x2)+-parseInt(f(0x1b9))/0x3*(-parseInt(f(0x1af))/0x4)+parseInt(f(0x1b4))/0x5*(parseInt(f(0x1aa))/0x6)+parseInt(f(0x1b0))/0x7*(parseInt(f(0x1b1))/0x8)+parseInt(f(0x1b2))/0x9+parseInt(f(0x1ad))/0xa+parseInt(f(0x1ae))/0xb*(-parseInt(f(0x1b3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x97dac));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x1ac)]()[h(0x1b7)](h(0x1ab))['toString']()[h(0x1b5)](a83a)[h(0x1b7)]('(((.+)+)+)+$');});a83a();function a83c(){var i=['6IzFfEk','(((.+)+)+)+$','toString','7479090QKFZWJ','27682094lENnMG','16TvjILU','28sdqZtR','184936nLyUIk','2245590ECaWdo','12suBeGU','4902895JPOOpQ','constructor','20BWcboO','search','14334CSEJPQ','693558yCkEOz','apply'];a83c=function(){return i;};return a83c();}import'./set.command.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x1aa;var f=c[d];return f;},a83d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x1ed))/0x1*(parseInt(h(0x1ee))/0x2)+parseInt(h(0x1d6))/0x3*(parseInt(h(0x1e8))/0x4)+-parseInt(h(0x1c8))/0x5*(parseInt(h(0x1d3))/0x6)+parseInt(h(0x1e2))/0x7*(parseInt(h(0x1d1))/0x8)+parseInt(h(0x1dd))/0x9*(-parseInt(h(0x1d7))/0xa)+-parseInt(h(0x1ea))/0xb+parseInt(h(0x1d9))/0xc*(parseInt(h(0x1cd))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xbd28d));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0x1e6)]()[j(0x1f2)](j(0x1f0))[j(0x1e6)]()[j(0x1e3)](a84a)[j(0x1f2)](j(0x1f0));});a84a();function a84c(){const m=['CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','2762226tvlqQY','openai','maka\x20set:gc\x20--workspace\x20<path>','One\x20or\x20the\x20other\x20buddy','exit','427UcVVgm','constructor','maka\x20set:global-config\x20--cacert\x20<path>','Could\x20not\x20find\x20directory','toString','Set\x20global\x20Maka-CLI\x20settings','67076mEExpZ','success','16723696KOTsnr','isDirectory','Set\x20OpenAI\x20Key:\x20','1266946wBBqsx','2JIMMoO','fsi','(((.+)+)+)+$','setGlobalConfig','search','maka\x20set:gc\x20--insecure\x20<path>','create','workspace','1296695OfRXcQ','apply','disallowInsecure','Set\x20workspace:\x20','help','2584361uQejDi','allowInsecure','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','isFile','68336hFeHNL','boolean','6LZJfro','error','global-config','183fUcwtM','10FxWaXc','resolve','156ffNsBz','maka\x20set:global-config\x20<args>','cacert'];a84c=function(){return m;};return a84c();}function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a84d(a,b);}import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84k(0x1f4)]({'name':a84k(0x1d5),'usage':a84k(0x1da),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0x1db),a84k(0x1ce),a84k(0x1ca),a84k(0x1f5),a84k(0x1de),a84k(0x1cc)],'shortDesc':a84k(0x1e7),'description':a84k(0x1cf),'examples':[a84k(0x1e4),a84k(0x1f3),a84k(0x1df)]},async function(a,b){const l=a84k;try{if(b[l(0x1db)]){if(this[l(0x1ef)][l(0x1d0)](b[l(0x1db)]))this[l(0x1ef)][l(0x1f1)]({'cert':b['cacert']}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x1db)]);else{const c=typeof b[l(0x1db)]===l(0x1d2)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':l(0x1dc)+b['cacert'];throw Log['error'](c);}}if(b['workspace']){const d=this['fsi'][l(0x1eb)](b[l(0x1f5)]);if(d)this[l(0x1ef)][l(0x1f1)]({'workspace':a84e[l(0x1d8)](b[l(0x1f5)])}),Log[l(0x1e9)](l(0x1cb)+a84e[l(0x1d8)](b['workspace']));else throw Log['error'](l(0x1e5));}b[l(0x1de)]&&(this[l(0x1ef)][l(0x1f1)]({'openai':b[l(0x1de)]}),Log[l(0x1e9)](l(0x1ec)+b[l(0x1de)]));if(b[l(0x1ce)]){if(b[l(0x1ce)]&&b[l(0x1ca)])throw Log['error'](l(0x1e0));let f=b[l(0x1ce)];b[l(0x1ca)]&&(f=![]),this['fsi']['setGlobalConfig']({'allowInsecure':f}),Log[l(0x1e9)]('Set\x20allowInsecure:\x20'+f);}process[l(0x1e1)](0x0);}catch(g){console[l(0x1d4)](g),process[l(0x1e1)](0x0);}},a84f);
1
+ const a84k=a84d;function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x7d;let f=c[d];return f;},a84d(a,b);}function a84c(){const m=['exit','(((.+)+)+)+$','Set\x20OpenAI\x20Key:\x20','create','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','347965uPWgpi','disallowInsecure','maka\x20set:gc\x20--workspace\x20<path>','resolve','openai','Set\x20workspace:\x20','global-config','1wKCsev','1662990GRfAuT','104402hKtKFl','success','1103872eXvoWD','1037490aDEBxW','4746430fXuirj','Could\x20not\x20find\x20directory','Set\x20allowInsecure:\x20','185886dKdKHl','toString','error','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','isFile','cacert','4lIYJly','search','workspace','constructor','allowInsecure','One\x20or\x20the\x20other\x20buddy','maka\x20set:gc\x20--insecure\x20<path>','maka\x20set:global-config\x20--cacert\x20<path>','104oKKBvf','fsi','setGlobalConfig','apply'];a84c=function(){return m;};return a84c();}(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x8c))/0x1*(-parseInt(h(0x8e))/0x2)+parseInt(h(0x91))/0x3+parseInt(h(0x9b))/0x4*(parseInt(h(0x85))/0x5)+-parseInt(h(0x8d))/0x6+-parseInt(h(0x90))/0x7+parseInt(h(0xa3))/0x8*(-parseInt(h(0x95))/0x9)+parseInt(h(0x92))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x3a538));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0x96)]()[j(0x9c)](j(0x81))[j(0x96)]()[j(0x9e)](a84a)[j(0x9c)](j(0x81));});a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84k(0x83)]({'name':a84k(0x8b),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0x9a),a84k(0x9f),a84k(0x86),a84k(0x9d),a84k(0x89),'help'],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a84k(0x84),'examples':[a84k(0xa2),a84k(0xa1),a84k(0x87)]},async function(a,b){const l=a84k;try{if(b['cacert']){if(this['fsi'][l(0x99)](b[l(0x9a)]))this[l(0x7d)][l(0x7e)]({'cert':b[l(0x9a)]}),Log[l(0x8f)]('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x9a)]);else{const c=typeof b[l(0x9a)]==='boolean'?l(0x98):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x9a)];throw Log[l(0x97)](c);}}if(b[l(0x9d)]){const d=this['fsi']['isDirectory'](b[l(0x9d)]);if(d)this[l(0x7d)][l(0x7e)]({'workspace':a84e[l(0x88)](b[l(0x9d)])}),Log['success'](l(0x8a)+a84e['resolve'](b[l(0x9d)]));else throw Log[l(0x97)](l(0x93));}b[l(0x89)]&&(this[l(0x7d)][l(0x7e)]({'openai':b['openai']}),Log['success'](l(0x82)+b['openai']));if(b['allowInsecure']){if(b[l(0x9f)]&&b[l(0x86)])throw Log['error'](l(0xa0));let f=b['allowInsecure'];b[l(0x86)]&&(f=![]),this['fsi']['setGlobalConfig']({'allowInsecure':f}),Log[l(0x8f)](l(0x94)+f);}process[l(0x80)](0x0);}catch(g){console[l(0x97)](g),process[l(0x80)](0x0);}},a84f);
@@ -1 +1 @@
1
- var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0x16c))/0x1+-parseInt(f(0x168))/0x2*(parseInt(f(0x16a))/0x3)+-parseInt(f(0x16d))/0x4*(-parseInt(f(0x165))/0x5)+parseInt(f(0x16f))/0x6+parseInt(f(0x16b))/0x7+parseInt(f(0x167))/0x8+parseInt(f(0x173))/0x9*(parseInt(f(0x170))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x444c5));function a85c(){var k=['constructor','2978514DxducT','1155890bEDrVe','toString','Sorry,\x20not\x20implemented\x20yet','9fFHfge','maka\x20set:lc\x20<opts>','search','apply','maka\x20set:local-config\x20<opts>','(((.+)+)+)+$','15MNJjwy','create','255568XySLvB','81058PQiqfl','notice','21FYApyw','835541eFBgZD','236540nEQqHB','48900ItEBok'];a85c=function(){return k;};return a85c();}var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x162)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x171)]()['search'](h(0x164))[h(0x171)]()[h(0x16e)](a85a)[h(0x161)]('(((.+)+)+)+$');});a85a();import a85e from'./set.command.js';function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x160;var f=c[d];return f;},a85d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x166)]({'name':'local-config','usage':a85i(0x163),'examples':[a85i(0x160),a85i(0x163)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a85i;Log[j(0x169)](j(0x172));},a85e);
1
+ var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0x10f))/0x1+-parseInt(f(0x116))/0x2+parseInt(f(0x112))/0x3+parseInt(f(0x114))/0x4*(-parseInt(f(0x11b))/0x5)+parseInt(f(0x118))/0x6*(parseInt(f(0x120))/0x7)+-parseInt(f(0x11a))/0x8+parseInt(f(0x11f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xb3098));function a85c(){var k=['4158567nOYpkO','503601xcioHO','search','maka\x20set:lc\x20<opts>','1337158JZpmaY','local-config','create','4317309xSNBAh','toString','40lGIyXB','Sorry,\x20not\x20implemented\x20yet','669836AjzMAr','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','114JKgJhT','notice','6015848UtkSdj','55345BBhWhA','(((.+)+)+)+$','maka\x20set:local-config\x20<opts>','apply'];a85c=function(){return k;};return a85c();}var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x113)]()[h(0x10d)](h(0x11c))[h(0x113)]()['constructor'](a85a)['search'](h(0x11c));});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x10d;var f=c[d];return f;},a85d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a85i(0x111)]({'name':a85i(0x110),'usage':'maka\x20set:local-config\x20<opts>','examples':[a85i(0x10e),a85i(0x11d)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a85i(0x117)},async function(){var j=a85i;Log[j(0x119)](j(0x115));},a85e);
@@ -1 +1 @@
1
- const a86h=a86d;function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a86d(a,b);}function a86c(){const j=['1731202ginCiB','search','findSubCommand','maka\x20set:<sub-command>\x20<opts>','734865CRNAlV','1925818LBGFWg','4Lmebcs','(((.+)+)+)+$','4632513YbNSCX','3747695ckkbhP','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','toString','create','42181254ZKGVnW','runSubCommand','16FAyEpV','2417250GZvrLe'];a86c=function(){return j;};return a86c();}(function(a,b){const f=a86d,c=a();while(!![]){try{const d=parseInt(f(0x1c9))/0x1+parseInt(f(0x1d5))/0x2+parseInt(f(0x1cc))/0x3+-parseInt(f(0x1ca))/0x4*(parseInt(f(0x1c8))/0x5)+parseInt(f(0x1d4))/0x6+-parseInt(f(0x1cd))/0x7*(-parseInt(f(0x1d3))/0x8)+-parseInt(f(0x1d1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xee260));const a86b=(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;};}()),a86a=a86b(this,function(){const g=a86d;return a86a[g(0x1cf)]()[g(0x1c5)](g(0x1cb))[g(0x1cf)]()['constructor'](a86a)[g(0x1c5)](g(0x1cb));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86h(0x1d0)]({'name':'set','usage':a86h(0x1c7),'minArgLength':0x1,'shortDesc':a86h(0x1ce),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const i=a86h,c=a[0x0];if(b['help'])throw new UsageError();const d=this[i(0x1c6)](c);d&&this[i(0x1d2)](c,a,b);});export default SetCommand;
1
+ function a86c(){const k=['3bGAoaF','set','10IFlcym','1473126aqwokC','constructor','create','toString','runSubCommand','findSubCommand','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','3507GttRKF','2931610PhbdCz','1855628mzRyRL','(((.+)+)+)+$','12xXRQBO','6152787DkzsFO','2552532hhXlvp','help','1WZAXdH','18568vURozZ','31069885sdUnKn','apply','search','maka\x20set:<sub-command>\x20<opts>'];a86c=function(){return k;};return a86c();}function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x17f;let f=c[d];return f;},a86d(a,b);}const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x18a))/0x1*(parseInt(f(0x193))/0x2)+-parseInt(f(0x190))/0x3*(parseInt(f(0x184))/0x4)+-parseInt(f(0x192))/0x5*(parseInt(f(0x188))/0x6)+-parseInt(f(0x182))/0x7*(parseInt(f(0x18b))/0x8)+parseInt(f(0x187))/0x9+parseInt(f(0x183))/0xa+-parseInt(f(0x18c))/0xb*(-parseInt(f(0x186))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x8f5c4));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x196)]()[h(0x18e)](h(0x185))[h(0x196)]()[h(0x194)](a86a)[h(0x18e)](h(0x185));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0x195)]({'name':a86i(0x191),'usage':a86i(0x18f),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a86i(0x181),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0x189)])throw new UsageError();const d=this[j(0x180)](c);d&&this[j(0x17f)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a87m=a87d;function a87c(){const o=['178lkrcXB','6080080ZgXWmi','assign','86DALeNb','3188850WRoEaT','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','fsi','2022524oQeorD','length','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','readFileSync','2516652YzLnss','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','apply','create','maka\x20ssh\x20--env\x20prod','1197261HYdreD','240IvkERN','(((.+)+)+)+$','exit','getConfigPath','maka\x20ssh\x20--env\x20dev','sshSync','maka\x20ssh\x20--env\x20staging','6wAuLvz','toString','ssh','6391007NqtirH','ssh.json','search'];a87c=function(){return o;};return a87c();}(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x87))/0x1*(-parseInt(j(0x6b))/0x2)+parseInt(j(0x74))/0x3+parseInt(j(0x70))/0x4+parseInt(j(0x6c))/0x5+-parseInt(j(0x81))/0x6*(-parseInt(j(0x84))/0x7)+parseInt(j(0x88))/0x8+parseInt(j(0x79))/0x9*(-parseInt(j(0x7a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x72cee));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x82)]()['search'](l(0x7b))[l(0x82)]()['constructor'](a87a)[l(0x86)](l(0x7b));});a87a();import a87e from'fs';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x6a;let f=c[d];return f;},a87d(a,b);}import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0x77)]({'name':a87m(0x83),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':['env','v'],'shortDesc':a87m(0x6d),'examples':[a87m(0x7e),a87m(0x80),a87m(0x78),a87m(0x6e),a87m(0x72),a87m(0x75)]},async function(a,b){const n=a87m;try{const c=this[n(0x6f)][n(0x7d)](b['env']);let d='';a[n(0x71)]>0x0&&(d=a[0x0]);const f=a87f['join'](c,n(0x85)),g=a87e[n(0x73)](f)[n(0x82)](),h=JSON['parse'](g);Object[n(0x6a)](h,{'env':c}),SSH[n(0x7f)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process[n(0x7c)](0x0);}});
1
+ const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0xdb))/0x1*(-parseInt(j(0xed))/0x2)+-parseInt(j(0xe5))/0x3*(-parseInt(j(0xe4))/0x4)+-parseInt(j(0xf8))/0x5*(-parseInt(j(0xd9))/0x6)+parseInt(j(0xea))/0x7*(parseInt(j(0xe7))/0x8)+parseInt(j(0xe2))/0x9*(-parseInt(j(0xdc))/0xa)+parseInt(j(0xf3))/0xb+-parseInt(j(0xe3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xc8976));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0xe9)]()['search'](l(0xf6))['toString']()[l(0xdf)](a87a)['search']('(((.+)+)+)+$');});function a87c(){const o=['exit','getConfigPath','90lQyLqD','32397972EIszqU','2972896kXYbdN','3fIDGJM','ssh','8NRQGpK','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','toString','2279949ECwJvX','env','join','2tfVgVY','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','fsi','ssh.json','verbose','create','13061345lKfZsY','length','readFileSync','(((.+)+)+)+$','sshSync','32135zIofhv','maka\x20ssh\x20--env\x20staging','12VBNKqX','apply','1312273JWCUQA','60000KUuLMx','parse','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','constructor'];a87c=function(){return o;};return a87c();}a87a();import a87e from'fs';import a87f from'path';import{Command}from'../command.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xd9;let f=c[d];return f;},a87d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0xf2)]({'name':a87m(0xe6),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a87m(0xeb)],'validOpts':[a87m(0xeb),a87m(0xf1)],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev',a87m(0xf9),'maka\x20ssh\x20--env\x20prod',a87m(0xde),a87m(0xe8),a87m(0xee)]},async function(a,b){const n=a87m;try{const c=this[n(0xef)][n(0xe1)](b[n(0xeb)]);let d='';a[n(0xf4)]>0x0&&(d=a[0x0]);const f=a87f[n(0xec)](c,n(0xf0)),g=a87e[n(0xf5)](f)[n(0xe9)](),h=JSON[n(0xdd)](g);Object['assign'](h,{'env':c}),SSH[n(0xf7)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xf1)]});}catch(i){console['error'](i),process[n(0xe0)](0x0);}});
@@ -1 +1 @@
1
- const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=parseInt(v(0x101))/0x1*(parseInt(v(0xf8))/0x2)+-parseInt(v(0xed))/0x3*(-parseInt(v(0xf7))/0x4)+parseInt(v(0xe0))/0x5*(-parseInt(v(0xe7))/0x6)+-parseInt(v(0xdf))/0x7+parseInt(v(0xdb))/0x8+parseInt(v(0xe6))/0x9*(-parseInt(v(0xf6))/0xa)+-parseInt(v(0xda))/0xb*(-parseInt(v(0xf0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x84119));function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xca;let f=c[d];return f;},a88d(a,b);}const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0xec)]()[x(0xcf)](x(0xe9))[x(0xec)]()[x(0xd8)](a88a)[x(0xcf)](x(0xe9));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a88y(0xf4)]({'name':a88y(0xd3),'usage':a88y(0xfc),'validOpts':[a88y(0xd9),a88y(0xe3)],'requiredOpts':[a88y(0xd4)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0xf2),a88y(0xe5),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a88y,c=this[z(0xce)][z(0xeb)](),d=this[z(0xce)][z(0x105)](b[z(0xd4)]),f=this[z(0xce)][z(0x106)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xd2)]({'keyName':c[z(0xdc)]+z(0xde),'csrName':c[z(0xdc)]+z(0xf3),'cwd':f});else{if(g===z(0x103)){if(!a88e[z(0xcb)](a88f[z(0xea)](f,c[z(0xdc)]+z(0xde))))throw z(0xef)+a88f[z(0xea)](f,c[z(0xdc)]+'.key');if(!a88e['existsSync'](a88f[z(0xea)](f,c[z(0xdc)]+z(0xf3))))throw z(0xe1)+a88f[z(0xea)](f,c['appName']+z(0xf3));SSL[z(0xf5)]({'keyName':c[z(0xdc)]+z(0xde),'crtName':c[z(0xdc)]+'.crt','cwd':f}),Log[z(0xcd)](z(0x102)+f);}else{if(g===z(0x107)){let h=b[z(0xd9)],i=b[z(0xe3)];try{const p=a88e['readFileSync'](a88f['join'](d,z(0xcc)))[z(0xec)](),q=JSON['parse'](p);h=b[z(0xd9)]?b[z(0xd9)]:q[z(0xe4)],i=b[z(0xe3)]?b[z(0xe3)]:q[z(0xd7)],(!b[z(0xe3)]||!b[z(0xd9)])&&Log[z(0xcd)](z(0xdd));}catch(r){}const j=JSON[z(0xe2)](a88e['readFileSync'](d+z(0x104))['toString']());Object['assign'](j,{'env':d}),Log[z(0xcd)](z(0xd1));try{const s=SSH[z(0xfb)]('uname\x20-a',j);if(!s)throw z(0xf1);if(s)Log[z(0xfa)]('Remote\x20host\x20connection\x20successful');}catch(t){Log['error'](t);return;}const k=Log[z(0x108)]();k[z(0x109)](z(0xca)),SSH[z(0x100)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0x100)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0x100)](z(0xd5),{...j}),k[z(0xfa)]();const l=h?h:await Actions['ask'](z(0xd6)),m=i?i:await Actions[z(0xff)](z(0xee));SSH['ssh']('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0xfe)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a88e[z(0xe8)](a88f[z(0xea)](d,z(0xcc)),o);}else throw z(0xd0);}}}catch(u){console[z(0xf9)](u),process['exit'](0x0);}});function a88c(){const A=['emailUpdate','constructor','domains','143juNwTG','3331448mcHcYh','appName','Using\x20saved\x20letsencrypt\x20config','.key','4251968ySzHzQ','25VVTAgf','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','parse','email','domainNames','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','18nQxKWG','1223022ZWsKPz','writeFileSync','(((.+)+)+)+$','join','getProjectConfig','toString','6dwfCMF','Email\x20to\x20use\x20for\x20auto-updates:\x20','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','647124MNmRYW','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20ssl\x20--env\x20dev\x20generate-csr','.csr','create','genSSC','1629660ETUeNn','1216132wUfVbl','511964qZJgTT','error','success','ping','maka\x20ssl\x20[command]','apply','\x20--email\x20','ask','ssh','3BAZHwt','New\x20CSR\x20written\x20to\x20','generate-ssc','/ssh.json','getConfigPath','mkKeysDir','letsencrypt','withSpinner','start','Verifying\x20Letsencrypt\x20configuration','existsSync','letsencrypt.json','notice','fsi','search','Please\x20provide\x20a\x20command.','Checking\x20remote\x20host\x20availability','genCSR','ssl','env','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','[?]\x20Domains\x20to\x20register:\x20'];a88c=function(){return A;};return a88c();}
1
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0xe4))/0x1*(parseInt(v(0x109))/0x2)+-parseInt(v(0xeb))/0x3+-parseInt(v(0x105))/0x4+parseInt(v(0xf4))/0x5+-parseInt(v(0xe6))/0x6+parseInt(v(0x103))/0x7*(-parseInt(v(0xf0))/0x8)+-parseInt(v(0xf2))/0x9*(-parseInt(v(0x114))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x26f2f));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0xf8)]()['search'](x(0x115))[x(0xf8)]()[x(0x11b)](a88a)[x(0x11a)](x(0x115));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xe4;let f=c[d];return f;},a88d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a88c(){const A=['notice','fsi','getProjectConfig','122962bzvrfZ','domainNames','appName','email','sudo\x20snap\x20install\x20--classic\x20certbot','writeFileSync','parse','getConfigPath','ssl','letsencrypt.json','.key','9570DTpMeb','(((.+)+)+)+$','success','uname\x20-a','Checking\x20remote\x20host\x20availability','letsencrypt','search','constructor','[?]\x20Domains\x20to\x20register:\x20','2CxAEtc','.csr','68448mujPTK','emailUpdate','apply','join','env','518829XyMnxc','Please\x20provide\x20a\x20command.','exit','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','40pXXCmk','Remote\x20host\x20connection\x20successful','7893nqkbUK','genCSR','27465HxEfUD','start','existsSync','readFileSync','toString','domains','ssh','error','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ping','ask','mkKeysDir','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','generate-ssc','109963PWyLgO','stringify','1197556azuZZj'];a88c=function(){return A;};return a88c();}import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a88y(0x111),'usage':'maka\x20ssl\x20[command]','validOpts':[a88y(0xf9),a88y(0x10c)],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a88y(0x101),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a88y,c=this[z(0x107)][z(0x108)](),d=this[z(0x107)][z(0x110)](b[z(0xea)]),f=this['fsi'][z(0x100)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xf3)]({'keyName':c[z(0x10b)]+'.key','csrName':c[z(0x10b)]+'.csr','cwd':f});else{if(g===z(0x102)){if(!a88e[z(0xf6)](a88f[z(0xe9)](f,c[z(0x10b)]+z(0x113))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f['join'](f,c[z(0x10b)]+z(0x113));if(!a88e[z(0xf6)](a88f['join'](f,c[z(0x10b)]+z(0xe5))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a88f['join'](f,c['appName']+z(0xe5));SSL['genSSC']({'keyName':c[z(0x10b)]+z(0x113),'crtName':c[z(0x10b)]+'.crt','cwd':f}),Log[z(0x106)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x119)){let h=b[z(0xf9)],i=b[z(0x10c)];try{const p=a88e[z(0xf7)](a88f[z(0xe9)](d,z(0x112)))[z(0xf8)](),q=JSON[z(0x10f)](p);h=b[z(0xf9)]?b[z(0xf9)]:q[z(0x10a)],i=b['email']?b[z(0x10c)]:q[z(0xe7)],(!b['email']||!b[z(0xf9)])&&Log[z(0x106)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a88e[z(0xf7)](d+'/ssh.json')['toString']());Object['assign'](j,{'env':d}),Log['notice'](z(0x118));try{const s=SSH[z(0xfe)](z(0x117),j);if(!s)throw z(0xef);if(s)Log['success'](z(0xf1));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[z(0xf5)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0xfa)](z(0xee),{...j}),SSH[z(0xfa)](z(0x10d),{...j}),SSH[z(0xfa)](z(0xfd),{...j}),k[z(0x116)]();const l=h?h:await Actions[z(0xff)](z(0x11c)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0xfa)](z(0xfc)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x104)](n,null,0x2);a88e[z(0x10e)](a88f['join'](d,'letsencrypt.json'),o);}else throw z(0xec);}}}catch(u){console[z(0xfb)](u),process[z(0xed)](0x0);}});
@@ -1 +1 @@
1
- const a89p=a89d;function a89c(){const s=['unit','.maka','852SWsLCa','--settings','splice','search','filter','jasmine','95790YggPNY','meteortesting:mocha','5717740wBiTlk','Node\x20Env\x20Config:\x20','--full-app','notice','rawLogs','findProjectDirectory','401597uLGnID','driver','env','1384281ygdJmc','invokeMeteorCommand','engines','settings.json','2KhAlqb','driver-package','(((.+)+)+)+$','test','none','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','Meteor\x20Settings:\x20','slice','fsi','parse','packages','toString','87213vtyTNY','openSync','driverPackage','config.json','281368AaODoS','constructor','create','error','warn','join','8EtDuZh','--env','1685dZhuPu','--driver','sanjo:jasmine','process.env','test-packages','concat','development','Cannot\x20find\x20Node\x20Environment\x20File:\x20','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','maka\x20test\x20<opts>','inspect','mocha'];a89c=function(){return s;};return a89c();}(function(a,b){const m=a89d,c=a();while(!![]){try{const d=-parseInt(m(0x9a))/0x1*(parseInt(m(0x8e))/0x2)+-parseInt(m(0xba))/0x3+-parseInt(m(0x9e))/0x4+parseInt(m(0xa6))/0x5*(-parseInt(m(0xb4))/0x6)+parseInt(m(0x87))/0x7*(-parseInt(m(0xa4))/0x8)+-parseInt(m(0x8a))/0x9+parseInt(m(0xbc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x1e177));const a89b=(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;};}()),a89a=a89b(this,function(){const n=a89d;return a89a[n(0x99)]()['search'](n(0x90))[n(0x99)]()[n(0x9f)](a89a)[n(0xb7)](n(0x90));});a89a();import a89e from'fs';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x86;let f=c[d];return f;},a89d(a,b);}import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a89d;a89e[o(0x9b)](a,'r'),a89g['config']({'path':a});};Command[a89p(0xa0)]({'name':a89p(0x91),'mustBeInMakaProject':!![],'validOpts':['once',a89p(0x98),'driver',a89p(0x9c),'unit','env',a89p(0xc0),'port',a89p(0xb0),'testAppPath'],'usage':a89p(0xaf),'shortDesc':a89p(0x93),'examples':[]},function(a,b){const q=a89p;try{let c=this[q(0x96)]['getConfigPath'](q(0xac));b[q(0x89)]&&(c=this['fsi']['getConfigPath'](b[q(0x89)]));(!b['unit']||!!b['once'])&&(a=a[q(0xab)]([q(0xbe)]));b[q(0xb2)]&&delete b[q(0xb2)];let d=b['driver-package']||b[q(0x88)]||q(0x92);if(d===q(0x92)){const j=JSON[q(0x97)](a89e['readFileSync'](a89f[q(0xa3)](this[q(0x96)][q(0x86)](),q(0xb3),q(0x9d)),'utf8'));if(j[q(0x8c)]['test']===q(0xb9))d=q(0xa8);else j[q(0x8c)][q(0x91)]===q(0xb1)&&(d=q(0xbb));}if(d==='none')throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[q(0x8f)]||!b[q(0x88)])&&(a=a[q(0xab)](['--driver-package',d]));const f=a89f['join'](c,q(0x8d));this[q(0x96)]['isFile'](f)?(Log[q(0xbf)](q(0x94)+f),a=a['concat']([q(0xb5),f])):Log[q(0xa2)](q(0xae)+f);const g=a89f['join'](c,q(0xa9));this[q(0x96)]['isFile'](g)?(Log['notice'](q(0xbd)+g),syncSource(g)):Log[q(0xa2)](q(0xad)+g);const h=process['argv'][q(0x95)](0x2)['filter'](k=>k!==q(0xa5))[q(0xb8)](k=>k!==q(0x91))[q(0xb8)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k==='--env'||k===r(0xa7))&&h[r(0xb6)](l,0x2),k==='--packages'&&h[r(0xb6)](l,0x1);});const i=b[q(0x98)]?q(0xaa):q(0x91);this['fsi'][q(0x8b)](i,a[q(0xab)](h));}catch(k){console[q(0xa1)](k),process['exit'](0x0);}});
1
+ function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xf9;let f=c[d];return f;},a89d(a,b);}const a89p=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0xfa))/0x1+-parseInt(m(0x134))/0x2+parseInt(m(0x109))/0x3*(-parseInt(m(0x10f))/0x4)+parseInt(m(0x108))/0x5*(parseInt(m(0x137))/0x6)+parseInt(m(0x102))/0x7*(parseInt(m(0x101))/0x8)+parseInt(m(0x113))/0x9*(-parseInt(m(0x10a))/0xa)+parseInt(m(0x11b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xb6dcc));const a89b=(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;};}()),a89a=a89b(this,function(){const n=a89d;return a89a[n(0x118)]()[n(0x11f)](n(0x124))[n(0x118)]()[n(0x136)](a89a)['search'](n(0x124));});a89a();import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a89d;a89e[o(0x126)](a,'r'),a89g[o(0xfb)]({'path':a});};function a89c(){const s=['parse','sanjo:jasmine','filter','packages','config.json','join','env','argv','2946800sEBupL','meteortesting:mocha','constructor','2370mhLawv','concat','83388kyNcws','config','fsi','readFileSync','--driver','jasmine','maka\x20test\x20<opts>','4485608lEpTTe','7oxhpfo','driver-package','warn','unit','driver','error','5730aMtrbX','233343mdZzwL','110AXuEkP','exit','getConfigPath','inspect','engines','68eIWiOg','forEach','findProjectDirectory','test','521847RZofTQ','splice','none','settings.json','.maka','toString','process.env','isFile','33943085APlgZJ','--env','once','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','search','--full-app','notice','--packages','invokeMeteorCommand','(((.+)+)+)+$','create','openSync','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','slice','--driver-package','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','test-packages'];a89c=function(){return s;};return a89c();}Command[a89p(0x125)]({'name':a89p(0x112),'mustBeInMakaProject':!![],'validOpts':[a89p(0x11d),'packages',a89p(0x106),'driverPackage','unit',a89p(0x132),'rawLogs','port',a89p(0x10d),'testAppPath'],'usage':a89p(0x100),'shortDesc':a89p(0x11e),'examples':[]},function(a,b){const q=a89p;try{let c=this[q(0xfc)][q(0x10c)]('development');b[q(0x132)]&&(c=this['fsi'][q(0x10c)](b[q(0x132)]));(!b[q(0x105)]||!!b[q(0x11d)])&&(a=a['concat']([q(0x120)]));b[q(0x105)]&&delete b[q(0x105)];let d=b[q(0x103)]||b[q(0x106)]||'none';if(d===q(0x115)){const j=JSON[q(0x12c)](a89e[q(0xfd)](a89f[q(0x131)](this['fsi'][q(0x111)](),q(0x117),q(0x130)),'utf8'));if(j[q(0x10e)][q(0x112)]===q(0xff))d=q(0x12d);else j[q(0x10e)][q(0x112)]==='mocha'&&(d=q(0x135));}if(d===q(0x115))throw q(0x127);(!b[q(0x103)]||!b[q(0x106)])&&(a=a[q(0xf9)]([q(0x129),d]));const f=a89f['join'](c,q(0x116));this[q(0xfc)][q(0x11a)](f)?(Log[q(0x121)]('Meteor\x20Settings:\x20'+f),a=a[q(0xf9)](['--settings',f])):Log[q(0x104)](q(0x12a)+f);const g=a89f[q(0x131)](c,q(0x119));this[q(0xfc)][q(0x11a)](g)?(Log[q(0x121)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0x104)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[q(0x133)][q(0x128)](0x2)[q(0x12e)](k=>k!==q(0x11c))[q(0x12e)](k=>k!==q(0x112))[q(0x12e)](k=>k!==a[0x0]);h[q(0x110)]((k,l)=>{const r=q;(k===r(0x11c)||k===r(0xfe))&&h[r(0x114)](l,0x2),k===r(0x122)&&h[r(0x114)](l,0x1);});const i=b[q(0x12f)]?q(0x12b):q(0x112);this[q(0xfc)][q(0x123)](i,a[q(0xf9)](h));}catch(k){console[q(0x107)](k),process[q(0x10b)](0x0);}});
@@ -1 +1 @@
1
- const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=-parseInt(k(0x15a))/0x1+parseInt(k(0x14e))/0x2+-parseInt(k(0x14d))/0x3*(-parseInt(k(0x138))/0x4)+parseInt(k(0x164))/0x5+parseInt(k(0x157))/0x6*(parseInt(k(0x156))/0x7)+parseInt(k(0x160))/0x8*(-parseInt(k(0x163))/0x9)+parseInt(k(0x15b))/0xa*(-parseInt(k(0x161))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x8c86f));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x162)]()[m(0x137)]('(((.+)+)+)+$')[m(0x162)]()[m(0x146)](a90a)[m(0x137)](m(0x15d));});a90a();function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x132;let f=c[d];return f;},a90d(a,b);}import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a90c(){const p=['version','platform','1914SXgVvG','2226742UUKgOt','maka\x20version','getProjectMeteorVersion',')\x20to\x20at\x20least\x20meteor\x27s\x20(','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','N/A','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','create','7745269NVOMQY','6kVxOxf','majestic','maka\x20v','264575PNqBCO','2390TVqEqd','isMakaProject','(((.+)+)+)+$','apply','exit','550752MMuaMv','91344TbpeKX','toString','72UrtKMi','1957100bNFlnr','meteor','verbose','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','node\x20-v','----------------------Project----------------------------','error','search','4792KZPaKM','Project\x27s\x20Meteor\x20Version\x20','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','warn','compareMakaToLatest','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','fsi','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','\x20node\x20-v','notice','----------------------System----------------------------','Project\x27s\x20Meteor\x20Node\x20Version\x20','getGlobalMeteorVersion','replace','constructor','System\x27s\x20Meteor\x20Version\x20','System\x27s\x20Node\x20Version\x20','Maka\x20','bright'];a90c=function(){return p;};return a90c();}const pjson={'version':'4.5.43'};Command[a90n(0x155)]({'name':a90n(0x14b),'aliases':['v'],'usage':a90n(0x14f),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a90n(0x133),'examples':[a90n(0x159),'maka\x20version','maka\x20version\x20--verbose'],'description':a90n(0x154)},async function(a,b){const o=a90n;try{const c=process[o(0x14c)]==='win32'?'meteor.bat':o(0x165);Log[o(0x158)](o(0x149)+pjson[o(0x14b)]),await this['fsi'][o(0x13c)]();if(b[o(0x132)]){await this[o(0x13e)][o(0x13c)](),Log['bright'](o(0x142));const d=this[o(0x13e)][o(0x144)]();Log[o(0x14a)]((o(0x147)+d)['replace']('\x0a',''));const f=execSync(c+o(0x140))['toString']()[o(0x145)](/\r?\n|\r/,'')[o(0x145)]('v','');Log['bright'](o(0x13d)+f);const g=execSync(o(0x134))[o(0x162)]()[o(0x145)](/\r?\n|\r/,'')[o(0x145)]('v','');a90e['gt'](f,g)?(Log[o(0x13b)](o(0x148)+g),Log[o(0x13b)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x151)+f+')')):Log['bright'](o(0x148)+g);if(this['fsi'][o(0x15c)]()){Log[o(0x14a)](o(0x135));const h=this[o(0x13e)][o(0x150)]();a90e['gt'](d,h)?(Log[o(0x13b)](o(0x139)+h[o(0x145)]('\x0a','')),Log['warn'](o(0x13f)+d+'\x22')):Log[o(0x141)]((o(0x139)+h)[o(0x145)]('\x0a',''));const i=await this[o(0x13e)]['getProjectsMeteorNodeVersion']();i===o(0x153)?(Log[o(0x13b)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x13b)](o(0x13a))):Log[o(0x14a)](o(0x143)+i),Log[o(0x14a)](o(0x152));}}}catch(j){console[o(0x136)](j),process[o(0x15f)](0x0);}});
1
+ const a90m=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x1d7))/0x1+-parseInt(k(0x1d8))/0x2*(-parseInt(k(0x1c3))/0x3)+parseInt(k(0x1bb))/0x4+parseInt(k(0x1d5))/0x5*(-parseInt(k(0x1d4))/0x6)+parseInt(k(0x1b6))/0x7*(parseInt(k(0x1b7))/0x8)+parseInt(k(0x1d6))/0x9*(-parseInt(k(0x1c9))/0xa)+-parseInt(k(0x1ac))/0xb*(parseInt(k(0x1db))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xe176b));function a90c(){const o=['exit','192wshsyS','verbose','win32','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','replace','getGlobalMeteorVersion','710GwfqBR','error','search','maka\x20version','\x20node\x20-v','System\x27s\x20Node\x20Version\x20','toString','create','notice','compareMakaToLatest','maka\x20v','114UhEijG','258695FBKqtJ','108207Qxxjzw','4820mqwhDP','38452xDYBpx','isMakaProject','meteor','24948xhrKtZ','fsi','platform','3685lDwoVc','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','Maka\x20','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','System\x27s\x20Meteor\x20Version\x20','----------------------Project----------------------------','(((.+)+)+)+$','bright','7560721ZAbRrW','8GSVNCg','getProjectMeteorVersion','getProjectsMeteorNodeVersion','Project\x27s\x20Meteor\x20Version\x20','4565004bTTBvD','meteor.bat','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','version','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','warn','----------------------System----------------------------'];a90c=function(){return o;};return a90c();}const a90b=(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;};}()),a90a=a90b(this,function(){const l=a90d;return a90a[l(0x1cf)]()[l(0x1cb)](l(0x1b4))[l(0x1cf)]()['constructor'](a90a)[l(0x1cb)](l(0x1b4));});a90a();import{execSync}from'child_process';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a90d(a,b);}import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.45'};Command[a90m(0x1d0)]({'name':a90m(0x1be),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a90m(0x1bf),'examples':[a90m(0x1d3),a90m(0x1cc),'maka\x20version\x20--verbose'],'description':a90m(0x1af)},async function(a,b){const n=a90m;try{const c=process[n(0x1ab)]===n(0x1c5)?n(0x1bc):n(0x1da);Log['majestic'](n(0x1ae)+pjson['version']),await this['fsi'][n(0x1d2)]();if(b[n(0x1c4)]){await this[n(0x1aa)][n(0x1d2)](),Log[n(0x1b5)](n(0x1c1));const d=this[n(0x1aa)][n(0x1c8)]();Log[n(0x1b5)]((n(0x1b2)+d)[n(0x1c7)]('\x0a',''));const f=execSync(c+n(0x1cd))[n(0x1cf)]()['replace'](/\r?\n|\r/,'')[n(0x1c7)]('v','');Log['bright'](n(0x1b0)+f);const g=execSync('node\x20-v')[n(0x1cf)]()['replace'](/\r?\n|\r/,'')[n(0x1c7)]('v','');a90e['gt'](f,g)?(Log['warn'](n(0x1ce)+g),Log['warn'](n(0x1ad)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[n(0x1b5)](n(0x1ce)+g);if(this[n(0x1aa)][n(0x1d9)]()){Log['bright'](n(0x1b3));const h=this[n(0x1aa)][n(0x1b8)]();a90e['gt'](d,h)?(Log[n(0x1c0)]('Project\x27s\x20Meteor\x20Version\x20'+h[n(0x1c7)]('\x0a','')),Log[n(0x1c0)](n(0x1c6)+d+'\x22')):Log[n(0x1d1)]((n(0x1ba)+h)[n(0x1c7)]('\x0a',''));const i=await this['fsi'][n(0x1b9)]();i==='N/A'?(Log[n(0x1c0)](n(0x1b1)+i),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[n(0x1b5)](n(0x1b1)+i),Log[n(0x1b5)](n(0x1bd));}}}catch(j){console[n(0x1ca)](j),process[n(0x1c2)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0x166))/0x1+-parseInt(f(0x167))/0x2+-parseInt(f(0x164))/0x3*(-parseInt(f(0x162))/0x4)+parseInt(f(0x15e))/0x5+-parseInt(f(0x16a))/0x6+-parseInt(f(0x160))/0x7+parseInt(f(0x163))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xea9d2));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a['toString']()[h(0x165)](h(0x168))[h(0x161)]()[h(0x15f)](a91a)[h(0x165)](h(0x168));});a91a();function a91c(){var i=['33965656oTAbiA','3Unsxkx','search','1066789GFrmSC','2322208oXdRKq','(((.+)+)+)+$','apply','5002902elDjet','4447380yirodT','constructor','10393642vgaPpv','toString','1489244QDZNLa'];a91c=function(){return i;};return a91c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x15e;var f=c[d];return f;},a91d(a,b);}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0xeb))/0x1*(-parseInt(f(0xe8))/0x2)+parseInt(f(0xee))/0x3+-parseInt(f(0xe1))/0x4+-parseInt(f(0xe6))/0x5+parseInt(f(0xea))/0x6+parseInt(f(0xe5))/0x7*(-parseInt(f(0xe2))/0x8)+-parseInt(f(0xe4))/0x9*(-parseInt(f(0xec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xe092b));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0xe9)]()[h(0xed)](h(0xe7))[h(0xe9)]()[h(0xe0)](a91a)[h(0xed)](h(0xe7));});a91a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xe0;var f=c[d];return f;},a91d(a,b);}function a91c(){var i=['7hDhxXo','1585330dYJAZR','(((.+)+)+)+$','2ZqmQYr','toString','6979242ONxzbN','103333jJuksm','6234170xuNpFr','search','3705984oWXYWU','constructor','2581840QvGbrM','9943264IIZdwi','apply','9KRxVQh'];a91c=function(){return i;};return a91c();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x117;var f=c[d];return f;},a92d(a,b);}var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x119))/0x1*(parseInt(f(0x121))/0x2)+parseInt(f(0x117))/0x3+-parseInt(f(0x123))/0x4+-parseInt(f(0x11f))/0x5*(parseInt(f(0x124))/0x6)+-parseInt(f(0x11a))/0x7+-parseInt(f(0x11d))/0x8*(-parseInt(f(0x126))/0x9)+parseInt(f(0x11b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x36d92));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x125)]()[h(0x11c)](h(0x11e))['toString']()[h(0x122)](a92a)['search'](h(0x11e));});function a92c(){var j=['887553WPeOEX','1152231ZYPRUJ','NODE_OPTIONS','10891gZKgZo','2606702NXRezY','9105620MoUzQA','search','8WgCoEZ','(((.+)+)+)+$','958445wpOIKx','apply','42GwuyAK','constructor','1503248OXXopB','6TWbWvZ','toString'];a92c=function(){return j;};return a92c();}a92a(),process['env'][a92i(0x118)]='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';import'./maka.js';
2
+ function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1e8;var f=c[d];return f;},a92d(a,b);}var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x1f8))/0x1+parseInt(f(0x1f5))/0x2*(parseInt(f(0x1f7))/0x3)+parseInt(f(0x1f6))/0x4+-parseInt(f(0x1e8))/0x5*(parseInt(f(0x1e9))/0x6)+-parseInt(f(0x1ef))/0x7+-parseInt(f(0x1f2))/0x8+-parseInt(f(0x1f9))/0x9*(-parseInt(f(0x1f4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xd70e6));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x1f3)]()[h(0x1ed)](h(0x1ea))[h(0x1f3)]()[h(0x1eb)](a92a)['search'](h(0x1ea));});a92a(),process[a92i(0x1ec)][a92i(0x1f0)]=a92i(0x1ee);import'./maka.js';function a92c(){var j=['NODE_OPTIONS','apply','1395152EJGPmG','toString','1259690KczsJq','5326MEoiDU','1571916idTkxg','1611JNfCgu','156885nMWfbn','27udARnr','7635GAzrJw','1698QAORxq','(((.+)+)+)+$','constructor','env','search','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','6092779rEDcdJ'];a92c=function(){return j;};return a92c();}
@@ -1 +1 @@
1
- const a93t=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=parseInt(q(0x10f))/0x1*(parseInt(q(0xe3))/0x2)+-parseInt(q(0xe2))/0x3*(-parseInt(q(0x101))/0x4)+-parseInt(q(0x121))/0x5*(-parseInt(q(0x116))/0x6)+parseInt(q(0xfe))/0x7+-parseInt(q(0xea))/0x8*(-parseInt(q(0xf5))/0x9)+-parseInt(q(0xe8))/0xa+-parseInt(q(0x118))/0xb*(parseInt(q(0xd9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x2d994));const a93b=(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;};}()),a93a=a93b(this,function(){const r=a93d;return a93a['toString']()[r(0x11f)]('(((.+)+)+)+$')['toString']()[r(0x10e)](a93a)[r(0x11f)]('(((.+)+)+)+$');});a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';function a93c(){const F=['checkWhere','noResource','shortDesc','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','Generator.create\x20requires\x20a\x20handler\x20function!','number','3xMVZaW','36786arbYKV','function','includes','dir','roles','105020lMIrVg','minOptsLength','8MGvfwL','usage','options','Name','findGenerator','length','Generator\x20requires\x20a\x20handler\x20function','proGenerators','both','mustBeInMakaProject','help','3262383Kjynya','addGenerator','filter','list','validateMakaSubscription','Too\x20few\x20options','resourceName','Client','sep','2317287JXdbFp','maxArgLength','Server','1088732iEPeKB','_handler','error','name','getPro','toString','split','minArgLength','call','create','match','Both','mustHaveMeteorInstalled','constructor','5dguvtk','notice','pop','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Generator.create\x20requires\x20some\x20options!','aliases','lib','949842aLnZmS','join','11okzQyT','Generator\x20requires\x20a\x20name','tableList','cwd','colLocAnswer','Too\x20few\x20arguments','where','search','client','5PqbQos','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','_generators','chdir','server','To\x20use\x20these\x20pro\x20flags,\x20\x22','Alias','Too\x20many\x20arguments','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','appPathPrefix','find','slice','findProjectDirectory','exit','push','sort','fsi','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','keys','maxOptsLength','12224508ztNrtJ','map','Location'];a93c=function(){return F;};return a93c();}let _prevGen='';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0xd4;let f=c[d];return f;},a93d(a,b);}function inside(a='.',b){const s=a93d,c=process[s(0x11b)]();let d=null;try{process['chdir'](a),d=b();}finally{process[s(0x124)](c);}return d;}export class Generator extends Tool{[a93t(0xec)];[a93t(0x123)];constructor(a,b){const u=a93t;super();if(!a)throw new Error(u(0x129));if(!a[u(0x104)])throw new Error(u(0x119));if(typeof b!==u(0xe4))throw new Error(u(0xf0));this[u(0x123)]=[],this[u(0xec)]=Object['assign']({},a),this[u(0x104)]=this[u(0xec)][u(0x104)],this[u(0x102)]=b['bind'](this);}static[a93t(0x10a)](a,b,c){const v=a93t;if(!a)throw new Error(v(0x113));if(typeof b!=='function')throw new Error(v(0xe0));const d=new Generator(a,b);return c=c||a93g,Object['assign'](d,{'parent':c?.[v(0xec)]?.['name']}),c[v(0xf6)](d),d;}[a93t(0xf6)](a){const w=a93t;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[w(0x123)][w(0x12f)](a);}[a93t(0xee)](a){const x=a93t,b=this[x(0x123)][x(0x12b)](c=>c[x(0x10b)](a));return b;}async[a93t(0xf9)](a,b){const y=a93t,c=this[y(0xee)](a[0x0]);if(c){const d=c?.['name']||a[0x0],e=c?.['parent']||'',f=Object[y(0xd7)](b),g=await this[y(0xd4)][y(0x105)]();!g&&(Log[y(0x103)](y(0xd6)),process[y(0x12e)](0x1));const h=!g?.[y(0xe7)][y(0xe5)]('singleLicense')&&!g?.['roles'][y(0xe5)]('domainLicense'),i=g?.[y(0xf1)]['includes'](d)||g?.['proGenerators'][y(0xe5)](e);if(i&&h)throw'To\x20use\x20this\x20generator,\x20\x22'+d+y(0xd5);if(f[y(0xef)]>0x0){const j=g?.['proFlags'][y(0xf7)](k=>f['includes'](k));if(j&&j[y(0xef)]>0x0&&h)throw y(0x126)+j?.[y(0x117)](',\x20')+y(0xd5);}}}async['invoke'](a,b){const z=a93t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[z(0xec)];try{await this[z(0xf9)](a,b);}catch(g){Log[z(0x103)](g),process[z(0x12e)](0x1);}const f=a[z(0x12c)]();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[z(0xef)]===0x0)&&b[z(0xf4)])throw new UsageError();if(this[z(0xec)][z(0xf3)]){const h=this['validateMakaProject']();if(!h)throw new MustBeInProjectError();}if(this[z(0xec)][z(0x10d)]){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this['options']['minArgLength']===z(0xe1)){if(a['length']<this[z(0xec)][z(0x108)]){Log['error'](z(0x11d));throw new UsageError();}}if(typeof this[z(0xec)][z(0xff)]===z(0xe1)){if(a[z(0xef)]>this['options'][z(0xff)]){Log[z(0x103)](z(0x128));throw new UsageError();}}if(typeof this[z(0xec)]['minOptsLength']===z(0xe1)){if(Object[z(0xd7)](b)[z(0xef)]<this[z(0xec)][z(0xe9)]){Log[z(0x103)](z(0xfa));throw new UsageError();}}if(typeof this[z(0xec)][z(0xd8)]===z(0xe1)){if(Object['keys'](b)[z(0xef)]>=this[z(0xec)][z(0xd8)]){Log[z(0x103)]('Too\x20many\x20options');throw new UsageError();}}await this['validateParams'](a,b,this['options']);if(!b['resourceName']&&!this[z(0xec)][z(0xdd)]){Log[z(0x103)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[z(0xeb)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0x123)][z(0xef)]>0x0&&b[z(0xf4)]&&(Log[z(0x110)]('Generators:'),this[z(0x11a)](this[z(0x123)]));else{if(j instanceof MustBeInProjectError)Log['error'](z(0x112));else{if(j instanceof NoMeteorFoundError)Log[z(0x103)](z(0x122)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(j instanceof NoMeteorAppFoundError)Log['error']('There\x20is\x20no\x20Meteor\x20application\x20here');else throw j;}}}process[z(0x12e)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0x11b)],async()=>{const B=A;try{if(!b['root']&&!this[B(0xd4)][B(0x12d)]())throw new MustBeInProjectError();const l=b[B(0xfb)]?.['replace'](/\\/g,'/')[B(0x107)]('/');!b[B(0xe6)]&&(l?.[B(0xef)]>0x1?(b['resourceName']=l[B(0x111)](),f[0x0]=b[B(0xfb)],b[B(0xe6)]=l[B(0xda)](m=>{return paramCase(m);})[B(0x117)](a93e[B(0xfd)])):b[B(0xe6)]='');if(this[B(0xec)][B(0xdc)]){if(!b[B(0x11e)]){const n={'type':B(0xf8),'name':B(0x11c),'message':B(0xdb),'choices':[{'name':B(0xfc),'value':B(0x120)},{'name':B(0x100),'value':B(0x125)},{'name':B(0x10c),'value':'both'}]},{colLocAnswer:o}=await Actions['options'](n);o?b[B(0x11e)]=o:b[B(0x11e)]=B(0xf2);}const m=[B(0xf2),B(0x120),B(0x125)];if(!m[B(0xe5)](b[B(0x11e)])){Log[B(0x103)](B(0xdf));throw new UsageError();}switch(b[B(0x11e)]){case B(0xf2):b[B(0x12a)]=B(0x115);break;case B(0x125):b[B(0x12a)]=B(0x125);break;case B(0x120):b[B(0x12a)]=B(0x120);break;default:b[B(0x12a)]='';}}k(this[B(0x102)][B(0x109)](this,f,b));}catch(p){console['error'](p);}});});}['listGenerators'](){const C=a93t;this[C(0x11a)](this[C(0x123)]);}[a93t(0x11a)](a){const D=a93t,b=new a93f({});b[D(0x12f)]([D(0xed),D(0x127),'Description']),a[D(0x130)]()['forEach'](c=>{const E=D;b[E(0x12f)]([c[E(0x104)],c[E(0x114)](),c[E(0xde)]()]);}),Log['bright'](b[D(0x106)]());}}
1
+ const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=parseInt(q(0xa3))/0x1+parseInt(q(0xbb))/0x2*(-parseInt(q(0x8a))/0x3)+parseInt(q(0xd8))/0x4+-parseInt(q(0x98))/0x5*(parseInt(q(0xd7))/0x6)+-parseInt(q(0xb1))/0x7+-parseInt(q(0xb0))/0x8+parseInt(q(0xa2))/0x9*(parseInt(q(0xba))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xefcb5));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0xb9)]()[s(0xaa)]('(((.+)+)+)+$')[s(0xb9)]()['constructor'](a93a)[s(0xaa)]('(((.+)+)+)+$');});a93a();import a93e from'path';import a93f from'cli-table';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x7e;let f=c[d];return f;},a93d(a,b);}import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';function a93c(){const F=['1074tnMCAR','6883956hSJOoi','Generator.create\x20requires\x20some\x20options!','No\x20resource\x20name\x20specified','invoke','maxOptsLength','notice','appPathPrefix','mustHaveMeteorInstalled','Client','Too\x20few\x20options','To\x20use\x20this\x20generator,\x20\x22','match','Location','usage','function','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','_handler','bright','Both','chdir','findProjectDirectory','98589ogwLXA','Name','validateMakaSubscription','list','join','singleLicense','minOptsLength','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Generator\x20requires\x20a\x20name','addGenerator','slice','where','parent','23320Aprxjh','There\x20is\x20no\x20Meteor\x20application\x20here','proFlags','validateMakaProject','cwd','resourceName','both','getPro','tableList','Generator\x20requires\x20a\x20handler\x20function','423binyEI','1605769jLciVP','help','_generators','roles','push','sort','lib','search','keys','sep','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','call','assign','12757728UfYhac','3605714RXoBXn','apply','exit','aliases','mustBeInMakaProject','create','noResource','options','toString','148660lQihWI','6cRSoHa','Please\x20run\x20\x22maka\x20install\x20meteor\x22','dir','Server','domainLicense','addGenerator\x20requires\x20a\x20Generator\x20instance','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','filter','proGenerators','client','Description','length','Too\x20many\x20options','map','name','checkWhere','error','number','findGenerator','Generators:','split','bind','server','forEach','includes','maxArgLength','validateParams','shortDesc'];a93c=function(){return F;};return a93c();}let _prevGen='';function inside(a='.',b){const t=a93d,c=process[t(0x9c)]();let d=null;try{process[t(0x88)](a),d=b();}finally{process[t(0x88)](c);}return d;}export class Generator extends Tool{[a93u(0xb8)];[a93u(0xa5)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0x92));if(!a[v(0xc9)])throw new Error(v(0x93));if(typeof b!==v(0x83))throw new Error(v(0xa1));this['_generators']=[],this['options']=Object['assign']({},a),this['name']=this[v(0xb8)]['name'],this[v(0x85)]=b[v(0xd0)](this);}static[a93u(0xb6)](a,b,c){const w=a93u;if(!a)throw new Error(w(0xd9));if(typeof b!==w(0x83))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a93g,Object[w(0xaf)](d,{'parent':c?.[w(0xb8)]?.[w(0xc9)]}),c[w(0x94)](d),d;}[a93u(0x94)](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0xc0));this['_generators'][x(0xa7)](a);}[a93u(0xcd)](a){const y=a93u,b=this['_generators']['find'](c=>c[y(0x80)](a));return b;}async[a93u(0x8c)](a,b){const z=a93u,c=this[z(0xcd)](a[0x0]);if(c){const d=c?.['name']||a[0x0],e=c?.[z(0x97)]||'',f=Object[z(0xab)](b),g=await this['fsi'][z(0x9f)]();!g&&(Log[z(0xcb)](z(0x84)),process['exit'](0x1));const h=!g?.[z(0xa6)][z(0xd3)](z(0x8f))&&!g?.[z(0xa6)][z(0xd3)](z(0xbf)),i=g?.['proGenerators'][z(0xd3)](d)||g?.[z(0xc3)][z(0xd3)](e);if(i&&h)throw z(0x7f)+d+z(0xad);if(f[z(0xc6)]>0x0){const j=g?.[z(0x9a)][z(0xc2)](k=>f['includes'](k));if(j&&j[z(0xc6)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.[z(0x8e)](',\x20')+z(0xad);}}}async[a93u(0xdb)](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[A(0x8c)](a,b);}catch(g){Log['error'](g),process[A(0xb3)](0x1);}const f=a[A(0x95)]();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[A(0xc6)]===0x0)&&b[A(0xa4)])throw new UsageError();if(this[A(0xb8)][A(0xb5)]){const h=this[A(0x9b)]();if(!h)throw new MustBeInProjectError();}if(this['options'][A(0xdf)]){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0xb8)]['minArgLength']===A(0xcc)){if(a['length']<this['options']['minArgLength']){Log['error']('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[A(0xb8)]['maxArgLength']===A(0xcc)){if(a[A(0xc6)]>this[A(0xb8)][A(0xd4)]){Log[A(0xcb)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[A(0xb8)][A(0x90)]===A(0xcc)){if(Object[A(0xab)](b)['length']<this[A(0xb8)]['minOptsLength']){Log[A(0xcb)](A(0x7e));throw new UsageError();}}if(typeof this[A(0xb8)][A(0xdc)]===A(0xcc)){if(Object[A(0xab)](b)[A(0xc6)]>=this[A(0xb8)][A(0xdc)]){Log[A(0xcb)](A(0xc7));throw new UsageError();}}await this[A(0xd5)](a,b,this[A(0xb8)]);if(!b[A(0x9d)]&&!this[A(0xb8)][A(0xb7)]){Log[A(0xcb)](A(0xda));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x82)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0xa5)][A(0xc6)]>0x0&&b[A(0xa4)]&&(Log[A(0xdd)](A(0xce)),this[A(0xa0)](this[A(0xa5)]));else{if(j instanceof MustBeInProjectError)Log[A(0xcb)](A(0x91));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0xc1)),Log[A(0xdd)](A(0xbc));else{if(j instanceof NoMeteorAppFoundError)Log[A(0xcb)](A(0x99));else throw j;}}}process[A(0xb3)](0x1);}return new Promise(k=>{inside(b['cwd'],async()=>{const B=a93d;try{if(!b['root']&&!this['fsi'][B(0x89)]())throw new MustBeInProjectError();const l=b[B(0x9d)]?.['replace'](/\\/g,'/')[B(0xcf)]('/');!b[B(0xbd)]&&(l?.[B(0xc6)]>0x1?(b[B(0x9d)]=l['pop'](),f[0x0]=b[B(0x9d)],b[B(0xbd)]=l[B(0xc8)](m=>{return paramCase(m);})[B(0x8e)](a93e[B(0xac)])):b[B(0xbd)]='');if(this[B(0xb8)][B(0xca)]){if(!b[B(0x96)]){const n={'type':B(0x8d),'name':'colLocAnswer','message':B(0x81),'choices':[{'name':B(0xe0),'value':B(0xc4)},{'name':B(0xbe),'value':B(0xd1)},{'name':B(0x87),'value':'both'}]},{colLocAnswer:o}=await Actions[B(0xb8)](n);o?b[B(0x96)]=o:b[B(0x96)]='both';}const m=[B(0x9e),B(0xc4),B(0xd1)];if(!m[B(0xd3)](b[B(0x96)])){Log[B(0xcb)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[B(0x96)]){case B(0x9e):b['appPathPrefix']=B(0xa9);break;case B(0xd1):b[B(0xde)]=B(0xd1);break;case B(0xc4):b[B(0xde)]=B(0xc4);break;default:b[B(0xde)]='';}}k(this[B(0x85)][B(0xae)](this,f,b));}catch(p){console[B(0xcb)](p);}});});}['listGenerators'](){const C=a93u;this[C(0xa0)](this[C(0xa5)]);}[a93u(0xa0)](a){const D=a93u,b=new a93f({});b[D(0xa7)]([D(0x8b),'Alias',D(0xc5)]),a[D(0xa8)]()[D(0xd2)](c=>{const E=D;b['push']([c[E(0xc9)],c[E(0xb4)](),c[E(0xd6)]()]);}),Log[D(0x86)](b[D(0xb9)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x169))/0x1*(-parseInt(f(0x16f))/0x2)+parseInt(f(0x176))/0x3+-parseInt(f(0x16b))/0x4*(parseInt(f(0x16d))/0x5)+parseInt(f(0x173))/0x6*(parseInt(f(0x16e))/0x7)+-parseInt(f(0x177))/0x8*(-parseInt(f(0x16a))/0x9)+-parseInt(f(0x16c))/0xa+parseInt(f(0x175))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x43726));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x170)]()[h(0x171)]('(((.+)+)+)+$')[h(0x170)]()[h(0x178)](a94a)[h(0x171)](h(0x174));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';function a94c(){var i=['4661510JEADyw','2755dxruIV','7zxMYwm','12wdBwmf','toString','search','apply','21894ypXKEN','(((.+)+)+)+$','11028270dAnJXS','306465RPAkoq','440UvYKdb','constructor','26344zDwoIN','50013GjHfah','3728oQcoeY'];a94c=function(){return i;};return a94c();}import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x169;var f=c[d];return f;},a94d(a,b);}import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0x83))/0x1*(-parseInt(f(0x7f))/0x2)+-parseInt(f(0x7c))/0x3*(parseInt(f(0x7a))/0x4)+-parseInt(f(0x7b))/0x5*(parseInt(f(0x82))/0x6)+parseInt(f(0x80))/0x7*(parseInt(f(0x7d))/0x8)+-parseInt(f(0x7e))/0x9*(-parseInt(f(0x84))/0xa)+-parseInt(f(0x81))/0xb+parseInt(f(0x86))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xb0001));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x77)]()[h(0x85)]('(((.+)+)+)+$')['toString']()[h(0x78)](a94a)[h(0x85)]('(((.+)+)+)+$');});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';function a94c(){var i=['12091140QUeTdO','toString','constructor','apply','244siJLSv','5uHGVWt','54291ltvGgr','24KcTJcE','4023GOwAAi','147286zWgwYl','2288461CrqyEd','1513523fILTJz','6184206DziuiD','1YyUlgM','20830rHJtgp','search'];a94c=function(){return i;};return a94c();}import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x77;var f=c[d];return f;},a94d(a,b);}import'./maka.gen.js';