@maka/maka-cli 4.5.38 → 4.5.40

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 (134) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/tool.js +1 -1
  117. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/https/https.class.js +1 -1
  125. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  126. package/bundle/obf/src/tools/log/log.class.js +1 -1
  127. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/options/options.class.js +1 -0
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  130. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  132. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  134. package/package.json +1 -1
@@ -1 +1 @@
1
- const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=-parseInt(g(0x182))/0x1*(parseInt(g(0x183))/0x2)+-parseInt(g(0x185))/0x3*(parseInt(g(0x16d))/0x4)+-parseInt(g(0x175))/0x5+-parseInt(g(0x177))/0x6*(parseInt(g(0x171))/0x7)+parseInt(g(0x17a))/0x8+-parseInt(g(0x16e))/0x9*(-parseInt(g(0x174))/0xa)+-parseInt(g(0x180))/0xb*(-parseInt(g(0x16c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xa6176));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x17f)]()['search'](i(0x178))[i(0x17f)]()[i(0x176)](a76a)[i(0x179)](i(0x178));});a76a();function a76c(){const l=['4391410CLkfqa','2698520jMsanQ','constructor','6jVCCCO','(((.+)+)+)+$','search','3889880wOouCp','exit','maka\x20--help','maka\x20<command>\x20[<args>]\x20[<opts>]','\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','toString','15763vjSatp','maka','1TIBxpW','1804714pYtxan','apply','1131LohdZo','maka\x20run','maybeProxyCommandToMeteor','20076hoOauZ','7652ZGRstC','9NPSYbe','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','error','3354491Fcchnb','slice','maka\x20create\x20Todo'];a76c=function(){return l;};return a76c();}import{Command}from'../command.js';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x16a;let f=c[d];return f;},a76d(a,b);}const Maka=new Command({'name':a76j(0x181),'minArgLength':0x1,'shortDesc':a76j(0x16f),'validOpts':[],'usage':a76j(0x17d),'disableAuthCheck':!![],'examples':[a76j(0x17c),'maka\x20install\x20meteor',a76j(0x173),a76j(0x16a)],'description':a76j(0x17e)},async function(a,b){const k=a76j;try{const c=a[0x0],d=this['findSubCommand'](c);d?this['runSubCommand'](c,a[k(0x172)](0x1),b):this['fsi'][k(0x16b)]();}catch(f){console[k(0x170)](f),process[k(0x17b)](0x1);}});export default Maka;
1
+ const a76i=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x11d))/0x1+-parseInt(g(0x136))/0x2+parseInt(g(0x132))/0x3*(parseInt(g(0x128))/0x4)+-parseInt(g(0x124))/0x5*(-parseInt(g(0x123))/0x6)+parseInt(g(0x126))/0x7+parseInt(g(0x12c))/0x8+-parseInt(g(0x121))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xa51da));const a76b=(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;};}()),a76a=a76b(this,function(){const h=a76d;return a76a[h(0x131)]()[h(0x122)](h(0x11e))[h(0x131)]()[h(0x11f)](a76a)[h(0x122)](h(0x11e));});a76a();function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x11d;let f=c[d];return f;},a76d(a,b);}function a76c(){const k=['maybeProxyCommandToMeteor','5216064QaZXkH','maka\x20--help','\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','maka\x20install\x20meteor','error','toString','117336RcBmLk','maka\x20<command>\x20[<args>]\x20[<opts>]','slice','runSubCommand','659070oXzaYl','302191gQxQEd','(((.+)+)+)+$','constructor','maka','30108915jookVM','search','59952SNpaTz','540bBkAOj','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','8012123eVWniq','fsi','120YlAaef','maka\x20create\x20Todo','findSubCommand'];a76c=function(){return k;};return a76c();}import{Command}from'../command.js';const Maka=new Command({'name':a76i(0x120),'minArgLength':0x1,'shortDesc':a76i(0x125),'validOpts':[],'usage':a76i(0x133),'disableAuthCheck':!![],'examples':[a76i(0x12d),a76i(0x12f),a76i(0x129),'maka\x20run'],'description':a76i(0x12e)},async function(a,b){const j=a76i;try{const c=a[0x0],d=this[j(0x12a)](c);d?this[j(0x135)](c,a[j(0x134)](0x1),b):this[j(0x127)][j(0x12b)]();}catch(f){console[j(0x130)](f),process['exit'](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x130))/0x1*(parseInt(f(0x139))/0x2)+-parseInt(f(0x13a))/0x3*(-parseInt(f(0x131))/0x4)+-parseInt(f(0x144))/0x5+parseInt(f(0x142))/0x6*(-parseInt(f(0x138))/0x7)+parseInt(f(0x13c))/0x8*(parseInt(f(0x132))/0x9)+parseInt(f(0x141))/0xa*(-parseInt(f(0x13d))/0xb)+-parseInt(f(0x133))/0xc*(parseInt(f(0x134))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x3162c));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0x140)]()[h(0x13e)](h(0x136))[h(0x140)]()[h(0x13f)](a77a)['search'](h(0x136));});function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x12c;var f=c[d];return f;},a77d(a,b);}a77a();function a77c(){var k=['150auRvIO','apply','238505VjNJEY','error','log','maka\x20murder','%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','278379PIeEpG','1380316eCrDHs','4689JvIOfE','24uoTlnm','2258893sCzgGg','create','(((.+)+)+)+$','Murrrrderrrrr','11711motrUq','2LbojxC','3DueFHt','murder','808sbcixk','99mwpRjo','search','constructor','toString','40830mkWlAJ'];a77c=function(){return k;};return a77c();}import{Command}from'../command.js';Command[a77i(0x135)]({'name':a77i(0x13b),'usage':a77i(0x12e),'maxArgLength':0x1,'shortDesc':a77i(0x137),'validOpts':[]},async function(){var j=a77i;try{console[j(0x12d)](j(0x12f),'font-family:\x20monospace');}catch(a){console[j(0x12c)](a),process['exit'](0x0);}});
1
+ var a77h=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x148))/0x1+parseInt(f(0x150))/0x2+-parseInt(f(0x157))/0x3*(-parseInt(f(0x153))/0x4)+-parseInt(f(0x14d))/0x5+parseInt(f(0x156))/0x6*(-parseInt(f(0x14b))/0x7)+parseInt(f(0x14f))/0x8*(-parseInt(f(0x14c))/0x9)+-parseInt(f(0x151))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x4a1a5));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(0x14e)]()['search'](g(0x149))[g(0x14e)]()[g(0x155)](a77a)[g(0x15b)](g(0x149));});function a77c(){var j=['415408uhWhwR','(((.+)+)+)+$','murder','35gLBssw','146898AKxmfZ','401295jyrJjO','toString','184Nkdhfl','965876wEjOWP','1782740FuFtft','%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','1732jZHnQK','error','constructor','629058uGUoti','3903mAYjaq','create','exit','maka\x20murder','search'];a77c=function(){return j;};return a77c();}a77a();function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x148;var f=c[d];return f;},a77d(a,b);}import{Command}from'../command.js';Command[a77h(0x158)]({'name':a77h(0x14a),'usage':a77h(0x15a),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a77h;try{console['log'](i(0x152),'font-family:\x20monospace');}catch(a){console[i(0x154)](a),process[i(0x159)](0x0);}});
@@ -1 +1 @@
1
- const a78p=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x14a))/0x1+-parseInt(n(0x148))/0x2*(parseInt(n(0x156))/0x3)+parseInt(n(0x152))/0x4+parseInt(n(0x169))/0x5+-parseInt(n(0x15c))/0x6+-parseInt(n(0x165))/0x7*(-parseInt(n(0x14b))/0x8)+-parseInt(n(0x163))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x371c2));function a78c(){const r=['utf8','=>\x20SSL\x20Proxy\x20forwarding\x20','genSSC','fsi','help','39444tCtPHb','.key','bright','invoke','listenPort','search','isFile','8380917EiiRZi','localhost','1925EjlEUa','getProjectConfig','.crt','constructor','2237695rsGErQ','targetHost','createProxyServer','.csr','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','sslconfig','readFileSync','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','error','1066vhfMut','maka\x20proxy\x20--target-host\x20http://192.168.1.20','348245aAtkjS','5072gLDmmY','toString','proxy','appName','getConfigPath','(((.+)+)+)+$','join','1526128hkFnoG','targetPort','development','maka\x20proxy','1059mVzdae'];a78c=function(){return r;};return a78c();}const a78b=(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;};}()),a78a=a78b(this,function(){const o=a78d;return a78a[o(0x14c)]()[o(0x161)](o(0x150))[o(0x14c)]()[o(0x168)](a78a)[o(0x161)](o(0x150));});a78a();import a78e from'fs';import a78f from'path';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x142;let f=c[d];return f;},a78d(a,b);}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['create']({'name':a78p(0x14d),'usage':a78p(0x155),'mustBeInMakaProject':!![],'validOpts':[a78p(0x15b),a78p(0x153),a78p(0x160),a78p(0x16a)],'maxArgLength':0x1,'shortDesc':a78p(0x143),'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':[a78p(0x155),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a78p(0x149)]},async function(a,b){const q=a78p,c=this[q(0x15a)][q(0x166)](),d=q(0x154),e=this[q(0x15a)][q(0x14f)](d),f=this['fsi']['mkKeysDir']({'configPath':e}),g=b[q(0x153)]?Number(b[q(0x153)]):0xbb8,h=b[q(0x160)]?Number(b[q(0x160)]):0xd73,i=b[q(0x16a)]?b[q(0x16a)]:q(0x164),j=a78f[q(0x151)](f,c['appName']+q(0x15d)),k=a78f['join'](f,c[q(0x14e)]+q(0x167));if(!this[q(0x15a)][q(0x162)](j)||!this[q(0x15a)][q(0x162)](k)){const m=a78h['findGenerator'](q(0x144));m&&await m[q(0x15f)]([q(0x144)],{'env':d}),SSL['genCSR']({'keyName':c[q(0x14e)]+q(0x15d),'csrName':c[q(0x14e)]+q(0x142),'cwd':f}),SSL[q(0x159)]({'keyName':c['appName']+q(0x15d),'crtName':c[q(0x14e)]+'.crt','cwd':f});}if(g===h){Log[q(0x147)](q(0x146));throw new UsageError();}const l={'ssl':{'key':a78e['readFileSync'](j,'utf8'),'cert':a78e[q(0x145)](k,q(0x157))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[q(0x16b)](l)['listen'](Number(h)),Log[q(0x15e)](q(0x158)+h+'\x20to\x20'+g);});
1
+ const a78q=a78d;function a78c(){const s=['proxy','constructor','targetHost','genSSC','maka\x20proxy','join','3749088ayamZk','3287296WNkqid','576122cfngTd','sslconfig','6970923sKVtUn','findGenerator','.csr','(((.+)+)+)+$','isFile','76UxFfPw','help','localhost','1837PcsSlG','maka\x20proxy\x20--target-host\x20http://192.168.1.20','create','invoke','getProjectConfig','listenPort','180210hSfjcn','search','fsi','apply','appName','development','error','toString','.key','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','38822mQNzDO','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','mkKeysDir','6psbJeN','listen','targetPort','createProxyServer','bright','3uckJsr','398540GDlwwH','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','.crt','=>\x20SSL\x20Proxy\x20forwarding\x20'];a78c=function(){return s;};return a78c();}(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x1af))/0x1*(-parseInt(n(0x1bc))/0x2)+parseInt(n(0x1ba))/0x3+parseInt(n(0x1c3))/0x4*(parseInt(n(0x1b0))/0x5)+parseInt(n(0x1aa))/0x6*(parseInt(n(0x1a7))/0x7)+-parseInt(n(0x1bb))/0x8+parseInt(n(0x1be))/0x9+parseInt(n(0x1cc))/0xa*(-parseInt(n(0x1c6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xf1365));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x1a4)]()[p(0x1cd)](p(0x1c1))[p(0x1a4)]()[p(0x1b5)](a78a)['search']('(((.+)+)+)+$');});a78a();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';import a78h from'../generators/maka.gen.js';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a78d(a,b);}Command[a78q(0x1c8)]({'name':a78q(0x1b4),'usage':a78q(0x1b8),'mustBeInMakaProject':!![],'validOpts':[a78q(0x1c4),a78q(0x1ac),a78q(0x1cb),a78q(0x1b6)],'maxArgLength':0x1,'shortDesc':a78q(0x1b1),'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':[a78q(0x1b8),a78q(0x1a6),a78q(0x1c7)]},async function(a,b){const r=a78q,c=this[r(0x1ce)][r(0x1ca)](),d=r(0x1a2),e=this['fsi']['getConfigPath'](d),f=this[r(0x1ce)][r(0x1a9)]({'configPath':e}),g=b['targetPort']?Number(b['targetPort']):0xbb8,h=b[r(0x1cb)]?Number(b[r(0x1cb)]):0xd73,i=b['targetHost']?b[r(0x1b6)]:r(0x1c5),j=a78f[r(0x1b9)](f,c[r(0x1a1)]+r(0x1a5)),k=a78f['join'](f,c[r(0x1a1)]+r(0x1b2));if(!this[r(0x1ce)][r(0x1c2)](j)||!this[r(0x1ce)][r(0x1c2)](k)){const m=a78h[r(0x1bf)](r(0x1bd));m&&await m[r(0x1c9)]([r(0x1bd)],{'env':d}),SSL['genCSR']({'keyName':c[r(0x1a1)]+r(0x1a5),'csrName':c[r(0x1a1)]+r(0x1c0),'cwd':f}),SSL[r(0x1b7)]({'keyName':c['appName']+r(0x1a5),'crtName':c['appName']+r(0x1b2),'cwd':f});}if(g===h){Log[r(0x1a3)](r(0x1a8));throw new UsageError();}const l={'ssl':{'key':a78e['readFileSync'](j,'utf8'),'cert':a78e['readFileSync'](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x1ad)](l)[r(0x1ab)](Number(h)),Log[r(0x1ae)](r(0x1b3)+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x195;let f=c[d];return f;},a79d(a,b);}const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0x1b0))/0x1*(parseInt(n(0x19d))/0x2)+-parseInt(n(0x1b3))/0x3*(parseInt(n(0x1a0))/0x4)+-parseInt(n(0x1a8))/0x5+parseInt(n(0x1a9))/0x6+-parseInt(n(0x1b9))/0x7*(-parseInt(n(0x1b6))/0x8)+parseInt(n(0x19a))/0x9*(parseInt(n(0x198))/0xa)+-parseInt(n(0x1b7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x4143f));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()[p(0x195)](p(0x19e))[p(0x19c)]()['constructor'](a79a)['search'](p(0x19e));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79c(){const s=['uname\x20-a','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','Reconfigure\x20your\x20deployed\x20applications','571955UaHtzt','2116086MdVdNR','_keys','create','apply','assign','ssh','getConfigPath','29731LBsFah','ses.json','sshSync','297WhcNaE','success','pm2.config.js','391128vbgihR','6760259BvGGxf','Checking\x20remote\x20host\x20availability','63vHJjPf','search','readFileSync','reconfig','2691310mNmKyf','existsSync','9hnrkKf','~/settings.json','toString','6jDlVnN','(((.+)+)+)+$','maka\x20reconfig\x20--env\x20prod','6252zQmXZG','env','~/ses.json','error','join'];a79c=function(){return s;};return a79c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x1ab)]({'name':a79q(0x197),'validOpts':[''],'requiredOpts':[a79q(0x1a1)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a79q(0x1a7),'description':'\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','examples':[a79q(0x19f)]},async function(a,b){const r=a79q;try{const c=this['fsi'][r(0x1af)](b['env']),d=a79f[r(0x1a4)](c,'ssh.json'),f=a79e[r(0x196)](d)[r(0x19c)](),g=JSON['parse'](f);Object[r(0x1ad)](g,{'env':c}),Log['notice'](r(0x1b8));const h=SSH['ping'](r(0x1a5),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x1b4)]('Remote\x20host\x20connection\x20successful');const i=a79f[r(0x1a4)](c,r(0x1aa),r(0x1b1));if(a79e[r(0x199)](i)){const l={'source':i,'dest':r(0x1a2),'verbose':!![]};SSH['scp'](l,{...g});}const j=a79f[r(0x1a4)](c,r(0x1b5));SSH['scp']({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a79f[r(0x1a4)](c,'settings.json');SSH['scp']({'source':k,'dest':r(0x19b),'verbose':!![]},{...g}),SSH[r(0x1b2)]('pm2\x20delete\x20all',g),await SSH[r(0x1ae)](r(0x1a6),{...g},{'verbose':!![]});}catch(m){console[r(0x1a3)](m),process['exit'](0x0);}});
1
+ const a79p=a79d;function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xa4;let f=c[d];return f;},a79d(a,b);}(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0xa8))/0x1*(parseInt(n(0xa5))/0x2)+-parseInt(n(0xcd))/0x3*(parseInt(n(0xc5))/0x4)+-parseInt(n(0xc8))/0x5+parseInt(n(0xa9))/0x6*(parseInt(n(0xbd))/0x7)+parseInt(n(0xc4))/0x8+-parseInt(n(0xcb))/0x9*(-parseInt(n(0xbb))/0xa)+parseInt(n(0xb7))/0xb*(-parseInt(n(0xca))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x2b915));const a79b=(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;};}()),a79a=a79b(this,function(){const o=a79d;return a79a[o(0xb1)]()[o(0xb3)]('(((.+)+)+)+$')[o(0xb1)]()['constructor'](a79a)[o(0xb3)](o(0xcc));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';function a79c(){const r=['176889bmRFej','Reconfigure\x20your\x20deployed\x20applications','getConfigPath','success','ses.json','2NifPnG','~/settings.json','Remote\x20host\x20connection\x20successful','189285XntxKD','1362tKEiBo','notice','join','ssh.json','pm2.config.js','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','uname\x20-a','ping','toString','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','search','scp','env','readFileSync','414909RcNPAR','maka\x20reconfig\x20--env\x20prod','maka\x20reconfig','pm2\x20delete\x20all','10MekfwX','assign','2513USOnCD','~/ses.json','\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','reconfig','Checking\x20remote\x20host\x20availability','settings.json','sshSync','2598344zcgknc','24mCkNUj','exit','parse','788335DdwKDr','create','60ksMurs','2546298mdBDrD','(((.+)+)+)+$'];a79c=function(){return r;};return a79c();}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79p(0xc9)]({'name':a79p(0xc0),'validOpts':[''],'requiredOpts':[a79p(0xb5)],'mustBeInMakaProject':!![],'usage':a79p(0xb9),'shortDesc':a79p(0xce),'description':a79p(0xbf),'examples':[a79p(0xb8)]},async function(a,b){const q=a79p;try{const c=this['fsi'][q(0xcf)](b['env']),d=a79f[q(0xab)](c,q(0xac)),f=a79e[q(0xb6)](d)['toString'](),g=JSON[q(0xc7)](f);Object[q(0xbc)](g,{'env':c}),Log[q(0xaa)](q(0xc1));const h=SSH[q(0xb0)](q(0xaf),g);if(!h)throw q(0xb2);if(h)Log[q(0xd0)](q(0xa7));const i=a79f[q(0xab)](c,'_keys',q(0xa4));if(a79e['existsSync'](i)){const l={'source':i,'dest':q(0xbe),'verbose':!![]};SSH[q(0xb4)](l,{...g});}const j=a79f[q(0xab)](c,q(0xad));SSH[q(0xb4)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a79f[q(0xab)](c,q(0xc2));SSH['scp']({'source':k,'dest':q(0xa6),'verbose':!![]},{...g}),SSH[q(0xc3)](q(0xba),g),await SSH['ssh'](q(0xae),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[q(0xc6)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0x174))/0x1+parseInt(f(0x178))/0x2+parseInt(f(0x176))/0x3+-parseInt(f(0x179))/0x4+-parseInt(f(0x180))/0x5*(-parseInt(f(0x175))/0x6)+-parseInt(f(0x17c))/0x7*(-parseInt(f(0x17f))/0x8)+-parseInt(f(0x177))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x2d2a5));function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x174;var f=c[d];return f;},a80d(a,b);}function a80c(){var h=['search','toString','1086952hAUAOe','255nuRvYx','236520oMvhxH','12828SxaWKU','277026bJWAyu','2600235MChFvf','121358wMVxdW','642144uJkCxx','(((.+)+)+)+$','constructor','7iTwKNy'];a80c=function(){return h;};return a80c();}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(0x17e)]()['search'](g(0x17a))[g(0x17e)]()[g(0x17b)](a80a)[g(0x17d)](g(0x17a));});a80a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x6f))/0x1+-parseInt(f(0x73))/0x2+-parseInt(f(0x6e))/0x3+parseInt(f(0x71))/0x4+-parseInt(f(0x6c))/0x5+parseInt(f(0x72))/0x6+-parseInt(f(0x70))/0x7*(-parseInt(f(0x6d))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xdd077));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x75)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0x74)]()[h(0x77)](h(0x76))[h(0x74)]()[h(0x78)](a80a)[h(0x77)](h(0x76));});a80a();import'./run.command.js';function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x6c;var f=c[d];return f;},a80d(a,b);}import'./docker.sub.cmd.js';function a80c(){var i=['constructor','1557210JEGoeY','16hOxrJU','3509082vgegpJ','1144528RlGudN','9571961pMhvgi','3350328OjlDps','9385734tDYNWJ','3211436opunAN','toString','apply','(((.+)+)+)+$','search'];a80c=function(){return i;};return a80c();}
@@ -1 +1 @@
1
- const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=parseInt(i(0x15b))/0x1*(-parseInt(i(0x176))/0x2)+-parseInt(i(0x16f))/0x3+-parseInt(i(0x17e))/0x4*(-parseInt(i(0x174))/0x5)+-parseInt(i(0x166))/0x6+parseInt(i(0x169))/0x7+-parseInt(i(0x17d))/0x8+parseInt(i(0x17c))/0x9*(parseInt(i(0x15e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x79719));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x164)]()[k(0x171)](k(0x179))[k(0x164)]()[k(0x16d)](a81a)[k(0x171)]('(((.+)+)+)+$');});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';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x15b;let f=c[d];return f;},a81d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';function a81c(){const n=['1979508mBDVxr','getConfigPath','search','apply','pm2.config.js','3905uLvwUu','inherit','370fpYgaZ','fsi','getProjectConfig','(((.+)+)+)+$','\x20up\x20--remove-orphans','Docker\x20Compose\x20Path:\x20','4473FZPzLU','6308936kOCyvY','3988PMHkzo','2498cUCgAN','exit','appName','31250ALvYRj','join','maka\x20run\x20docker','docker-compose.yaml','docker','config/docker-compose.yaml','toString','templateContent','1262976rhvetJ','createFile','\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','2007110ddtOjr','docker-compose\x20--project-directory\x20','PM2\x20Config\x20File:\x20','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','constructor','notice'];a81c=function(){return n;};return a81c();}Command['create']({'name':a81l(0x162),'aliases':['d'],'shortDesc':a81l(0x16c),'description':a81l(0x168),'usage':a81l(0x160),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x177)][m(0x178)](),b=this[m(0x177)][m(0x170)](m(0x162)),c=a81f['join'](b,m(0x161)),d=a81f[m(0x15f)](b,m(0x173));Log['notice'](m(0x16b)+d),Log[m(0x16e)](m(0x17b)+c);if(!a81g['existsSync'](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x15d)])},g=this[m(0x177)][m(0x165)]({'srcPath':m(0x163),'context':f})+'\x0a';this[m(0x177)][m(0x167)]({'filePath':c,'data':g});}execSync(m(0x16a)+b+m(0x17a),{'stdio':m(0x175)});}catch(h){process[m(0x15c)](0x1);}},a81e);
1
+ const a81k=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0xf0))/0x1*(-parseInt(i(0xf5))/0x2)+-parseInt(i(0xf6))/0x3+parseInt(i(0xfa))/0x4*(-parseInt(i(0xe8))/0x5)+-parseInt(i(0xf9))/0x6+-parseInt(i(0xfd))/0x7*(-parseInt(i(0xe7))/0x8)+-parseInt(i(0xf1))/0x9*(-parseInt(i(0xed))/0xa)+parseInt(i(0xea))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x92a75));const a81b=(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;};}()),a81a=a81b(this,function(){const j=a81d;return a81a['toString']()['search'](j(0x101))[j(0xf3)]()['constructor'](a81a)['search'](j(0x101));});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 a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xe5;let f=c[d];return f;},a81d(a,b);}Command[a81k(0xf8)]({'name':a81k(0xff),'aliases':['d'],'shortDesc':a81k(0xe5),'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':a81k(0xec),'validOpts':['']},async function(){const l=a81k;try{const a=this[l(0xee)][l(0xf4)](),b=this['fsi'][l(0x100)](l(0xff)),c=a81f[l(0xf2)](b,l(0xfe)),d=a81f['join'](b,l(0x102));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[l(0xef)](l(0xeb)+c);if(!a81g['existsSync'](c)){const f={'app':a[l(0xe6)],'appFileCase':paramCase(a['appName'])},g=this[l(0xee)]['templateContent']({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this['fsi'][l(0x103)]({'filePath':c,'data':g});}execSync(l(0xf7)+b+l(0xfc),{'stdio':l(0xfb)});}catch(h){process[l(0xe9)](0x1);}},a81e);function a81c(){const m=['3439746hanFCl','4tJcPaa','inherit','\x20up\x20--remove-orphans','331737DpSmmR','docker-compose.yaml','docker','getConfigPath','(((.+)+)+)+$','pm2.config.js','createFile','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','appName','88wpLAwO','3063190OLdVnk','exit','16833553vBLvGK','Docker\x20Compose\x20Path:\x20','maka\x20run\x20docker','4424660iQDsYZ','fsi','notice','141761ddnbjt','9JwORAN','join','toString','getProjectConfig','4Btbesj','2972970WXofJA','docker-compose\x20--project-directory\x20','create'];a81c=function(){return m;};return a81c();}
@@ -1 +1 @@
1
- const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=-parseInt(r(0x129))/0x1+-parseInt(r(0x128))/0x2+parseInt(r(0x112))/0x3+parseInt(r(0x131))/0x4+parseInt(r(0x122))/0x5*(-parseInt(r(0x123))/0x6)+-parseInt(r(0x109))/0x7*(-parseInt(r(0x127))/0x8)+parseInt(r(0x132))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x5dc21));function a82c(){const x=['Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','notice','config','create','Node\x20Env\x20Config:\x20','warn','local','autoupdate','1356411dXShDk','fsi','constructor','app','rawLogs','settings','mobile-server','--production','push','1168188cwSFnW','isFile','run','ios','verbose','settings.json','invokeMeteorCommand','.meteor','production','toString','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)','join','split','checkMeteorPackage','port','length','465qrWKPZ','8808kTVGNd','cordova-build','--settings','process.env','8fNpUNn','660240VMhMJT','443728MmxtDx','filter','compareMakaToLatest','development','openSync','env','extraPackages','concat','2568320qSDZkv','622404YnEWPX','splice','inspect','mobileServer','docker'];a82c=function(){return x;};return a82c();}function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xfd;let f=c[d];return f;},a82d(a,b);}const a82b=(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;};}()),a82a=a82b(this,function(){const s=a82d;return a82a[s(0x11b)]()['search']('(((.+)+)+)+$')['toString']()[s(0x10b)](a82a)['search']('(((.+)+)+)+$');});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 t=a82d;a82f[t(0x12d)](a,'r'),a82g[t(0x103)]({'path':a});},Run=Command[a82u(0x104)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\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.','validOpts':[a82u(0x12e),a82u(0x100),'r',a82u(0x10d),'p',a82u(0x120),'i',a82u(0xfe),'m',a82u(0xff),'v',a82u(0x116),'allowIncompatibleUpdate',a82u(0x12f),'x','exclude-archs',a82u(0x11a)]},async function(a,b){const v=a82u;try{const c=this[v(0x10a)]['findProjectDirectory']();!this[v(0x10a)][v(0x11f)](v(0x108))&&(Log[v(0x102)]('Verifying\x20meteor\x20package\x20requirements\x20...'),await this[v(0x10a)]['installMeteorPackage']('autoupdate',{'cwd':c}));const d=a[0x0],f=this['findSubCommand'](d);f&&this['runSubCommand'](d,a,b);if(d===v(0x115)){const n=this[v(0x10a)]['findProjectDirectory'](),o=a82e['join'](n,v(0x10c),v(0x119),v(0x107),v(0x124));this[v(0x10a)]['isDirectory'](o)&&await rimraf(o);}if(b[v(0x10f)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw v(0x11c);await this[v(0x10a)][v(0x12b)]();const g=b[v(0x12e)]?b[v(0x12e)]:v(0x12c),h=this[v(0x10a)]['getConfigPath'](g),i=a82e['join'](h,v(0x126));let j=a82e['join'](h,v(0x117));b[v(0x10e)]?j=b[v(0x10e)]:j=a82e[v(0x11d)](h,v(0x117));if(this[v(0x10a)]['isFile'](i)&&!b[v(0x100)])Log[v(0x102)](v(0x105)+i),syncSource(i);else!b['docker']&&Log[v(0x106)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+i);this['fsi'][v(0x113)](j)?(Log[v(0x102)]('Meteor\x20Settings:\x20'+j),a=a['concat']([v(0x125),j])):Log[v(0x106)](v(0x101)+j);const k=h[v(0x11e)](a82e['sep']),l=k[k[v(0x121)]-0x1];l==='production'&&a[v(0x111)](v(0x110));const m=process['argv']['slice'](0x2)[v(0x12a)](p=>p!=='run')[v(0x12a)](p=>p!==a[0x0]);m['forEach']((p,q)=>{const w=v;p==='--env'&&m[w(0xfd)](q,0x2),p==='-e'&&m['splice'](q,0x2);}),this[v(0x10a)][v(0x118)](v(0x114),a[v(0x130)](m));}catch(p){console['error'](p),process['exit'](0x1);}});export default Run;
1
+ const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0xdb))/0x1*(-parseInt(r(0xb6))/0x2)+parseInt(r(0xd6))/0x3*(parseInt(r(0xd3))/0x4)+-parseInt(r(0xbf))/0x5+parseInt(r(0xd2))/0x6*(-parseInt(r(0xc7))/0x7)+-parseInt(r(0xbb))/0x8+parseInt(r(0xc6))/0x9+parseInt(r(0xc0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x26058));function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x9c;let f=c[d];return f;},a82d(a,b);}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['toString']()['search'](t(0xc9))[t(0xca)]()[t(0xa6)](a82a)[t(0xb5)](t(0xc9));});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';function a82c(){const x=['settings.json','filter','Meteor\x20Settings:\x20','46846wZMtyP','mobileServer','invokeMeteorCommand','split','join','Run\x20your\x20Meteor\x20application','findProjectDirectory','run','create','Cannot\x20find\x20Node\x20Environment\x20File:\x20','apply','constructor','findSubCommand','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','local','fsi','ios','verbose','extraPackages','length','compareMakaToLatest','env','docker','Node\x20Env\x20Config:\x20','forEach','splice','search','2PUvWky','--production','--settings','concat','error','778296OemMrt','port','notice','warn','823025ETLxha','2627840JoftGz','autoupdate','checkMeteorPackage','push','argv','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)','1162305AJnCAo','7LJpLck','production','(((.+)+)+)+$','toString','exit','inspect','isFile','runSubCommand','.meteor','settings','app','883788ksjOHz','879372NHVRgB','allowIncompatibleUpdate','--env','3GmReUW','sep'];a82c=function(){return x;};return a82c();}const syncSource=function(a){a82f['openSync'](a,'r'),a82g['config']({'path':a});},Run=Command[a82u(0xa3)]({'name':a82u(0xa2),'mustBeInMakaProject':!![],'shortDesc':a82u(0xa0),'description':'\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.','validOpts':[a82u(0xb0),'docker','r','rawLogs','p',a82u(0xbc),'i',a82u(0xcc),'m',a82u(0x9c),'v',a82u(0xac),a82u(0xd4),a82u(0xad),'x','exclude-archs',a82u(0xc8)]},async function(a,b){const v=a82u;try{const c=this[v(0xaa)][v(0xa1)]();!this[v(0xaa)][v(0xc2)]('autoupdate')&&(Log[v(0xbd)]('Verifying\x20meteor\x20package\x20requirements\x20...'),await this[v(0xaa)]['installMeteorPackage'](v(0xc1),{'cwd':c}));const d=a[0x0],f=this[v(0xa7)](d);f&&this[v(0xce)](d,a,b);if(d===v(0xab)){const n=this[v(0xaa)][v(0xa1)](),o=a82e[v(0x9f)](n,v(0xd1),v(0xcf),v(0xa9),'cordova-build');this['fsi']['isDirectory'](o)&&await rimraf(o);}if(b['mobile-server']&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw v(0xc5);await this[v(0xaa)][v(0xaf)]();const g=b[v(0xb0)]?b[v(0xb0)]:'development',h=this[v(0xaa)]['getConfigPath'](g),i=a82e[v(0x9f)](h,'process.env');let j=a82e[v(0x9f)](h,v(0xd8));b['settings']?j=b[v(0xd0)]:j=a82e['join'](h,v(0xd8));if(this[v(0xaa)]['isFile'](i)&&!b['docker'])Log['notice'](v(0xb2)+i),syncSource(i);else!b[v(0xb1)]&&Log['warn'](v(0xa4)+i);this[v(0xaa)][v(0xcd)](j)?(Log[v(0xbd)](v(0xda)+j),a=a[v(0xb9)]([v(0xb8),j])):Log[v(0xbe)](v(0xa8)+j);const k=h[v(0x9e)](a82e[v(0xd7)]),l=k[k[v(0xae)]-0x1];l===v(0xc8)&&a[v(0xc3)](v(0xb7));const m=process[v(0xc4)]['slice'](0x2)[v(0xd9)](p=>p!==v(0xa2))['filter'](p=>p!==a[0x0]);m[v(0xb3)]((p,q)=>{const w=v;p===w(0xd5)&&m[w(0xb4)](q,0x2),p==='-e'&&m[w(0xb4)](q,0x2);}),this[v(0xaa)][v(0x9d)](v(0xa2),a[v(0xb9)](m));}catch(p){console[v(0xba)](p),process[v(0xcb)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x1b1))/0x1*(-parseInt(f(0x1b7))/0x2)+-parseInt(f(0x1b4))/0x3+parseInt(f(0x1b6))/0x4+parseInt(f(0x1bc))/0x5*(parseInt(f(0x1b2))/0x6)+-parseInt(f(0x1bd))/0x7+parseInt(f(0x1b8))/0x8*(-parseInt(f(0x1bb))/0x9)+-parseInt(f(0x1b9))/0xa*(-parseInt(f(0x1bf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x29448));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x1b5)]()['search']('(((.+)+)+)+$')[h(0x1b5)]()[h(0x1ba)](a83a)['search'](h(0x1be));});function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a83d(a,b);}a83a();function a83c(){var i=['apply','862122jYdFia','toString','433624ISzYUF','3712blsuJP','563448OHyZTg','113720ktIaql','constructor','18hnIYRp','1386565YEhIzj','1121757gWEAPV','(((.+)+)+)+$','374LFUTjg','8rbElQZ','6pkEyNS'];a83c=function(){return i;};return a83c();}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a83d,c=a();while(!![]){try{var d=-parseInt(f(0x1ce))/0x1*(-parseInt(f(0x1d0))/0x2)+parseInt(f(0x1d1))/0x3+-parseInt(f(0x1d2))/0x4+parseInt(f(0x1cf))/0x5+parseInt(f(0x1d7))/0x6+-parseInt(f(0x1d4))/0x7*(-parseInt(f(0x1cc))/0x8)+-parseInt(f(0x1d3))/0x9*(parseInt(f(0x1cd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xac850));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x1d6)]()['search'](h(0x1d5))['toString']()[h(0x1ca)](a83a)[h(0x1cb)](h(0x1d5));});a83a();import'./set.command.js';function a83c(){var i=['constructor','search','355088fiuvRA','10XvpZca','333804NzhlYD','2147590ucXNSS','2hTaxcw','1086963TgRkTU','4211992dAaCvw','7773993LRKHNQ','203yTNBxj','(((.+)+)+)+$','toString','1263468uPnEbW','apply'];a83c=function(){return i;};return a83c();}import'./global.sub.cmd.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x1ca;var f=c[d];return f;},a83d(a,b);}import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x14c))/0x1*(-parseInt(h(0x13a))/0x2)+-parseInt(h(0x13e))/0x3*(-parseInt(h(0x156))/0x4)+-parseInt(h(0x14f))/0x5*(-parseInt(h(0x14a))/0x6)+-parseInt(h(0x140))/0x7+-parseInt(h(0x144))/0x8+parseInt(h(0x137))/0x9*(-parseInt(h(0x160))/0xa)+parseInt(h(0x15e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x419e6));const a84b=(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;};}()),a84a=a84b(this,function(){const i=a84d;return a84a['toString']()[i(0x13f)](i(0x15c))[i(0x13c)]()[i(0x145)](a84a)['search'](i(0x15c));});function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x136;let f=c[d];return f;},a84d(a,b);}a84a();import a84e from'path';function a84c(){const l=['Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','resolve','setGlobalConfig','global-config','612WsmAJZ','Set\x20global\x20Maka-CLI\x20settings','11681GCbycU','help','maka\x20set:gc\x20--insecure\x20<path>','16630uTJwaE','disallowInsecure','openai','isFile','One\x20or\x20the\x20other\x20buddy','\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','Set\x20allowInsecure:\x20','4yLasJw','Set\x20workspace:\x20','exit','boolean','create','error','(((.+)+)+)+$','success','12663497UdGQun','maka\x20set:gc\x20--workspace\x20<path>','182740goBsru','Could\x20not\x20find\x20directory','maka\x20set:global-config\x20<args>','126Khofsr','fsi','workspace','2RNiQeD','allowInsecure','toString','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','100197RABdas','search','3591847ytHqCl','maka\x20set:global-config\x20--cacert\x20<path>','isDirectory','cacert','3982624IvVKOT','constructor'];a84c=function(){return l;};return a84c();}import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84j(0x15a)]({'name':a84j(0x149),'usage':a84j(0x136),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84j(0x143),a84j(0x13b),a84j(0x150),a84j(0x139),'openai',a84j(0x14d)],'shortDesc':a84j(0x14b),'description':a84j(0x154),'examples':[a84j(0x141),a84j(0x14e),a84j(0x15f)]},async function(a,b){const k=a84j;try{if(b[k(0x143)]){if(this[k(0x138)][k(0x152)](b['cacert']))this[k(0x138)][k(0x148)]({'cert':b[k(0x143)]}),Log[k(0x15d)]('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[k(0x143)]===k(0x159)?k(0x146):k(0x13d)+b['cacert'];throw Log[k(0x15b)](c);}}if(b['workspace']){const d=this[k(0x138)][k(0x142)](b[k(0x139)]);if(d)this['fsi'][k(0x148)]({'workspace':a84e['resolve'](b[k(0x139)])}),Log[k(0x15d)](k(0x157)+a84e[k(0x147)](b['workspace']));else throw Log['error'](k(0x161));}b[k(0x151)]&&(this['fsi'][k(0x148)]({'openai':b[k(0x151)]}),Log[k(0x15d)]('Set\x20OpenAI\x20Key:\x20'+b[k(0x151)]));if(b[k(0x13b)]){if(b[k(0x13b)]&&b[k(0x150)])throw Log[k(0x15b)](k(0x153));let f=b[k(0x13b)];b['disallowInsecure']&&(f=![]),this[k(0x138)][k(0x148)]({'allowInsecure':f}),Log[k(0x15d)](k(0x155)+f);}process[k(0x158)](0x0);}catch(g){console[k(0x15b)](g),process[k(0x158)](0x0);}},a84f);
1
+ const a84k=a84d;function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x18b;let f=c[d];return f;},a84d(a,b);}(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x1a2))/0x1*(-parseInt(h(0x1a6))/0x2)+-parseInt(h(0x19f))/0x3*(-parseInt(h(0x19e))/0x4)+parseInt(h(0x1b8))/0x5*(-parseInt(h(0x1af))/0x6)+-parseInt(h(0x1b7))/0x7*(parseInt(h(0x1a7))/0x8)+parseInt(h(0x1a9))/0x9+parseInt(h(0x1ac))/0xa*(parseInt(h(0x1b4))/0xb)+-parseInt(h(0x196))/0xc*(parseInt(h(0x19d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x49d92));function a84c(){const m=['128879vFlNpF','help','openai','Set\x20allowInsecure:\x20','2uBeyvE','808vCXJYq','Set\x20workspace:\x20','2335032yTvEJb','maka\x20set:gc\x20--insecure\x20<path>','exit','3331190JqTSxP','constructor','isFile','1365564qwmegN','success','create','Set\x20CA\x20Cert\x20Path:\x20','\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','11EBZSin','boolean','global-config','24290PQZIKJ','5ZCtyKb','apply','allowInsecure','fsi','setGlobalConfig','One\x20or\x20the\x20other\x20buddy','maka\x20set:gc\x20--workspace\x20<path>','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','cacert','search','Could\x20not\x20find\x20directory','isDirectory','resolve','5273904MwvhMt','maka\x20set:global-config\x20--cacert\x20<path>','disallowInsecure','Set\x20global\x20Maka-CLI\x20settings','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','workspace','error','13RPWJMk','299296cgowXY','24lBQhWI','toString','(((.+)+)+)+$'];a84c=function(){return m;};return a84c();}const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0x1a0)]()[j(0x192)](j(0x1a1))[j(0x1a0)]()[j(0x1ad)](a84a)[j(0x192)]('(((.+)+)+)+$');});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(0x1b1)]({'name':a84k(0x1b6),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0x191),a84k(0x18b),a84k(0x198),a84k(0x19b),'openai',a84k(0x1a3)],'shortDesc':a84k(0x199),'description':a84k(0x1b3),'examples':[a84k(0x197),a84k(0x1aa),a84k(0x18f)]},async function(a,b){const l=a84k;try{if(b[l(0x191)]){if(this[l(0x18c)][l(0x1ae)](b[l(0x191)]))this[l(0x18c)][l(0x18d)]({'cert':b[l(0x191)]}),Log[l(0x1b0)](l(0x1b2)+b[l(0x191)]);else{const c=typeof b['cacert']===l(0x1b5)?l(0x190):l(0x19a)+b[l(0x191)];throw Log['error'](c);}}if(b[l(0x19b)]){const d=this[l(0x18c)][l(0x194)](b['workspace']);if(d)this['fsi'][l(0x18d)]({'workspace':a84e[l(0x195)](b[l(0x19b)])}),Log[l(0x1b0)](l(0x1a8)+a84e['resolve'](b[l(0x19b)]));else throw Log[l(0x19c)](l(0x193));}b[l(0x1a4)]&&(this[l(0x18c)][l(0x18d)]({'openai':b['openai']}),Log[l(0x1b0)]('Set\x20OpenAI\x20Key:\x20'+b[l(0x1a4)]));if(b['allowInsecure']){if(b['allowInsecure']&&b[l(0x198)])throw Log[l(0x19c)](l(0x18e));let f=b[l(0x18b)];b[l(0x198)]&&(f=![]),this['fsi'][l(0x18d)]({'allowInsecure':f}),Log[l(0x1b0)](l(0x1a5)+f);}process[l(0x1ab)](0x0);}catch(g){console[l(0x19c)](g),process[l(0x1ab)](0x0);}},a84f);
@@ -1 +1 @@
1
- var a85i=a85d;function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x1c2;var f=c[d];return f;},a85d(a,b);}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0x1c3))/0x1*(-parseInt(f(0x1d1))/0x2)+-parseInt(f(0x1d3))/0x3+-parseInt(f(0x1ca))/0x4+parseInt(f(0x1c2))/0x5*(-parseInt(f(0x1c5))/0x6)+parseInt(f(0x1c9))/0x7+-parseInt(f(0x1d6))/0x8+parseInt(f(0x1cc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x908c9));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x1c8)]()[h(0x1cd)]('(((.+)+)+)+$')[h(0x1c8)]()[h(0x1d2)](a85a)[h(0x1cd)]('(((.+)+)+)+$');});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x1cb)]({'name':a85i(0x1d0),'usage':a85i(0x1ce),'examples':[a85i(0x1d4),a85i(0x1ce)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x1cf),'validOpts':[],'description':a85i(0x1c7)},async function(){var j=a85i;Log[j(0x1d5)](j(0x1c4));},a85e);function a85c(){var k=['2359992UHswJZ','maka\x20set:lc\x20<opts>','notice','2356488ABDZad','115730SsdHZL','33349TeLkQs','Sorry,\x20not\x20implemented\x20yet','258HcsaHj','apply','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','toString','301686SbhZHG','1356328dAXuMl','create','16776387BhVwui','search','maka\x20set:local-config\x20<opts>','Set\x20local\x20maka\x20app\x20settings','local-config','66AxaMNT','constructor'];a85c=function(){return k;};return a85c();}
1
+ var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0x11b))/0x1+-parseInt(f(0x11a))/0x2+-parseInt(f(0x10c))/0x3+-parseInt(f(0x10f))/0x4*(-parseInt(f(0x119))/0x5)+parseInt(f(0x116))/0x6+parseInt(f(0x112))/0x7+parseInt(f(0x114))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x64e59));function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x10c;var f=c[d];return f;},a85d(a,b);}var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x115)]()['search'](h(0x10d))[h(0x115)]()['constructor'](a85a)[h(0x118)](h(0x10d));});a85a();import a85e from'./set.command.js';function a85c(){var k=['create','1740328QtNlVP','toString','3368034RCzYsR','apply','search','5WQdxhf','214216aNOJPu','616830jDbKHu','Sorry,\x20not\x20implemented\x20yet','Set\x20local\x20maka\x20app\x20settings','1879353UJrWQg','(((.+)+)+)+$','notice','1928716XTYrjk','maka\x20set:local-config\x20<opts>','local-config','3518221UymdLV'];a85c=function(){return k;};return a85c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x113)]({'name':a85i(0x111),'usage':a85i(0x110),'examples':['maka\x20set:lc\x20<opts>','maka\x20set:local-config\x20<opts>'],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x11d),'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(0x10e)](j(0x11c));},a85e);
@@ -1 +1 @@
1
- const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0xd1))/0x1+-parseInt(f(0xd2))/0x2*(-parseInt(f(0xd3))/0x3)+parseInt(f(0xd0))/0x4*(-parseInt(f(0xcd))/0x5)+parseInt(f(0xd5))/0x6+-parseInt(f(0xcc))/0x7*(-parseInt(f(0xc1))/0x8)+parseInt(f(0xcf))/0x9*(-parseInt(f(0xc7))/0xa)+parseInt(f(0xca))/0xb*(parseInt(f(0xc4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xe6a71));function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xc0;let f=c[d];return f;},a86d(a,b);}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a['toString']()[h(0xc9)]('(((.+)+)+)+$')[h(0xc2)]()[h(0xc3)](a86a)[h(0xc9)](h(0xc0));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0xc6)]({'name':a86i(0xd4),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a86i(0xc5),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b['help'])throw new UsageError();const d=this[j(0xc8)](c);d&&this[j(0xcb)](c,a,b);});export default SetCommand;function a86c(){const k=['16PBRVal','toString','constructor','960DfPTnt','\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','create','10occYBs','findSubCommand','search','343189zIfjGU','runSubCommand','93674ULGKvM','5tNvuVd','apply','884052OfBHQv','4191924kHBvIY','1457819VxsiYe','2vGEWgq','132387pqPbOv','set','5891808htuIlN','(((.+)+)+)+$'];a86c=function(){return k;};return a86c();}
1
+ const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=parseInt(f(0xb0))/0x1+-parseInt(f(0xb2))/0x2*(-parseInt(f(0xc0))/0x3)+parseInt(f(0xb3))/0x4*(-parseInt(f(0xb9))/0x5)+parseInt(f(0xb4))/0x6+parseInt(f(0xbf))/0x7+parseInt(f(0xb6))/0x8+-parseInt(f(0xbb))/0x9*(parseInt(f(0xbe))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x57d5d));function a86c(){const j=['Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','205133TugVCC','search','2uXqIhX','4EIKLUh','2421846HNnqNY','constructor','4483144uPufVm','(((.+)+)+)+$','set','3439845hyrziG','maka\x20set:<sub-command>\x20<opts>','45gAlPuO','apply','toString','1611580DVLLxp','2821574kbDrLh','843849ZaRdsU'];a86c=function(){return j;};return a86c();}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0xbd)]()['search']('(((.+)+)+)+$')[h(0xbd)]()[h(0xb5)](a86a)[h(0xb1)](h(0xb7));});a86a();function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xb0;let f=c[d];return f;},a86d(a,b);}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command['create']({'name':a86i(0xb8),'usage':a86i(0xba),'minArgLength':0x1,'shortDesc':a86i(0xc1),'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 c=a[0x0];if(b['help'])throw new UsageError();const d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0xc8))/0x1+-parseInt(j(0xd2))/0x2+parseInt(j(0xbe))/0x3*(-parseInt(j(0xc2))/0x4)+parseInt(j(0xd3))/0x5*(-parseInt(j(0xd1))/0x6)+parseInt(j(0xb9))/0x7+-parseInt(j(0xcf))/0x8*(-parseInt(j(0xd7))/0x9)+parseInt(j(0xcd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x22056));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0xbc)]()[l(0xc3)](l(0xd5))[l(0xbc)]()[l(0xbd)](a87a)[l(0xc3)](l(0xd5));});a87a();import a87e from'fs';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xb9;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(0xcb)]({'name':a87m(0xca),'usage':a87m(0xc1),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0xcc)],'validOpts':[a87m(0xcc),'v'],'shortDesc':a87m(0xce),'examples':[a87m(0xba),'maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a87m(0xc7)]},async function(a,b){const n=a87m;try{const c=this['fsi'][n(0xc9)](b[n(0xcc)]);let d='';a[n(0xbf)]>0x0&&(d=a[0x0]);const f=a87f[n(0xc0)](c,n(0xd4)),g=a87e[n(0xd0)](f)[n(0xbc)](),h=JSON[n(0xd6)](g);Object[n(0xc6)](h,{'env':c}),SSH[n(0xc5)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xc4)](i),process['exit'](0x0);}});function a87c(){const o=['6194820VwBusZ','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','1445640moWTQs','readFileSync','676686TTkwNY','325630trEuxU','5NPMMvy','ssh.json','(((.+)+)+)+$','parse','9cqNMYJ','765009zRcKtW','maka\x20ssh\x20--env\x20dev','apply','toString','constructor','680058VZRhnR','length','join','maka\x20ssh\x20<command>','4tUwYCY','search','error','sshSync','assign','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','267842aAfckd','getConfigPath','ssh','create','env'];a87c=function(){return o;};return a87c();}
1
+ const a87m=a87d;function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x115;let f=c[d];return f;},a87d(a,b);}(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x134))/0x1*(-parseInt(j(0x129))/0x2)+parseInt(j(0x11d))/0x3*(parseInt(j(0x12d))/0x4)+-parseInt(j(0x123))/0x5*(-parseInt(j(0x11c))/0x6)+parseInt(j(0x121))/0x7*(-parseInt(j(0x11b))/0x8)+-parseInt(j(0x125))/0x9+parseInt(j(0x117))/0xa+-parseInt(j(0x118))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xdecea));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x12f)]()[l(0x116)](l(0x130))[l(0x12f)]()['constructor'](a87a)[l(0x116)](l(0x130));});a87a();function a87c(){const o=['maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','26056inpnFQ','84PKLyuS','842739uhCkuH','fsi','apply','readFileSync','7pVUfUA','maka\x20ssh\x20--env\x20staging','203230KVbolf','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','8098533whfjNL','env','getConfigPath','error','22226PZhdLy','parse','exit','assign','12RAaPyt','create','toString','(((.+)+)+)+$','maka\x20ssh\x20--env\x20prod','ssh.json','length','71RhNwMY','join','search','1133090UatCpv','5482433tnEqmb','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22'];a87c=function(){return o;};return a87c();}import a87e from'fs';import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0x12e)]({'name':'ssh','usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a87m(0x126)],'validOpts':['env','v'],'shortDesc':a87m(0x124),'examples':['maka\x20ssh\x20--env\x20dev',a87m(0x122),a87m(0x131),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a87m(0x11a),a87m(0x119)]},async function(a,b){const n=a87m;try{const c=this[n(0x11e)][n(0x127)](b[n(0x126)]);let d='';a[n(0x133)]>0x0&&(d=a[0x0]);const f=a87f[n(0x115)](c,n(0x132)),g=a87e[n(0x120)](f)[n(0x12f)](),h=JSON[n(0x12a)](g);Object[n(0x12c)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x128)](i),process[n(0x12b)](0x0);}});
@@ -1 +1 @@
1
- const a88x=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=parseInt(v(0x1b3))/0x1*(parseInt(v(0x1c6))/0x2)+-parseInt(v(0x1ab))/0x3*(-parseInt(v(0x1b5))/0x4)+parseInt(v(0x1e4))/0x5*(-parseInt(v(0x1e1))/0x6)+parseInt(v(0x1db))/0x7+parseInt(v(0x1ea))/0x8+-parseInt(v(0x1b8))/0x9+parseInt(v(0x1c0))/0xa*(parseInt(v(0x1d6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x90057));const a88b=(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;};}()),a88a=a88b(this,function(){const w=a88d;return a88a[w(0x1cc)]()[w(0x1d3)](w(0x1c3))[w(0x1cc)]()[w(0x1d7)](a88a)[w(0x1d3)](w(0x1c3));});function a88c(){const z=['email','ping','Verifying\x20Letsencrypt\x20configuration','success','error','[?]\x20Domains\x20to\x20register:\x20','search','existsSync','writeFileSync','15158shAKbi','constructor','fsi','parse','Email\x20to\x20use\x20for\x20auto-updates:\x20','1888628LGDwBf','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','New\x20CSR\x20written\x20to\x20','start','readFileSync','.csr','9162uSMgLP','generate-csr','.crt','3250VnJoao','assign','letsencrypt.json','Please\x20provide\x20a\x20command.','sudo\x20snap\x20install\x20--classic\x20certbot','maka\x20ssl\x20--env\x20dev\x20generate-csr','2117512fRXmqw','generate-ssc','ask','getConfigPath','3KAihIB','Checking\x20remote\x20host\x20availability','withSpinner','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Create\x20and\x20manage\x20your\x20SSL\x20operations.','letsencrypt','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','domains','1380GlydTD','notice','3521144VQAKrr','join','domainNames','2638818NHFenL','appName','uname\x20-a','\x20--email\x20','Remote\x20host\x20connection\x20successful','getProjectConfig','ssh','genCSR','180IWfCZa','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','emailUpdate','(((.+)+)+)+$','create','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','632bsDPPR','genSSC','/ssh.json','env','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','.key','toString'];a88c=function(){return z;};return a88c();}a88a();import a88e from'fs';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a88d(a,b);}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[a88x(0x1c4)]({'name':'ssl','usage':'maka\x20ssl\x20[command]','validOpts':[a88x(0x1b2),a88x(0x1cd)],'requiredOpts':[a88x(0x1c9)],'shortDesc':a88x(0x1af),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88x(0x1e9),a88x(0x1ca),a88x(0x1c5)]},async function(a,b){const y=a88x,c=this[y(0x1d8)][y(0x1bd)](),d=this[y(0x1d8)][y(0x1ed)](b[y(0x1c9)]),f=this['fsi']['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x1e2))SSL[y(0x1bf)]({'keyName':c[y(0x1b9)]+y(0x1cb),'csrName':c[y(0x1b9)]+y(0x1e0),'cwd':f});else{if(g===y(0x1eb)){if(!a88e['existsSync'](a88f[y(0x1b6)](f,c['appName']+y(0x1cb))))throw y(0x1b1)+a88f[y(0x1b6)](f,c[y(0x1b9)]+y(0x1cb));if(!a88e[y(0x1d4)](a88f['join'](f,c[y(0x1b9)]+y(0x1e0))))throw y(0x1dc)+a88f[y(0x1b6)](f,c[y(0x1b9)]+y(0x1e0));SSL[y(0x1c7)]({'keyName':c[y(0x1b9)]+y(0x1cb),'crtName':c[y(0x1b9)]+y(0x1e3),'cwd':f}),Log['notice'](y(0x1dd)+f);}else{if(g===y(0x1b0)){let h=b['domains'],i=b['email'];try{const p=a88e[y(0x1df)](a88f['join'](d,y(0x1e6)))[y(0x1cc)](),q=JSON[y(0x1d9)](p);h=b['domains']?b[y(0x1b2)]:q[y(0x1b7)],i=b[y(0x1cd)]?b['email']:q[y(0x1c2)],(!b[y(0x1cd)]||!b['domains'])&&Log[y(0x1b4)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[y(0x1d9)](a88e[y(0x1df)](d+y(0x1c8))[y(0x1cc)]());Object[y(0x1e5)](j,{'env':d}),Log[y(0x1b4)](y(0x1ac));try{const s=SSH[y(0x1ce)](y(0x1ba),j);if(!s)throw y(0x1ae);if(s)Log[y(0x1d0)](y(0x1bc));}catch(t){Log['error'](t);return;}const k=Log[y(0x1ad)]();k[y(0x1de)](y(0x1cf)),SSH['ssh'](y(0x1c1),{...j}),SSH[y(0x1be)](y(0x1e8),{...j}),SSH[y(0x1be)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[y(0x1d0)]();const l=h?h:await Actions[y(0x1ec)](y(0x1d2)),m=i?i:await Actions['ask'](y(0x1da));SSH[y(0x1be)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+y(0x1bb)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a88e[y(0x1d5)](a88f[y(0x1b6)](d,'letsencrypt.json'),o);}else throw y(0x1e7);}}}catch(u){console[y(0x1d1)](u),process['exit'](0x0);}});
1
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x218))/0x1*(-parseInt(v(0x21b))/0x2)+parseInt(v(0x21c))/0x3+-parseInt(v(0x215))/0x4+parseInt(v(0x20b))/0x5+-parseInt(v(0x1f1))/0x6*(-parseInt(v(0x1f8))/0x7)+parseInt(v(0x22e))/0x8*(parseInt(v(0x232))/0x9)+parseInt(v(0x1f5))/0xa*(-parseInt(v(0x1f9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x6e288));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x213)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x22f)]()[x(0x22a)](x(0x226))[x(0x22f)]()[x(0x227)](a88a)[x(0x22a)](x(0x226));});a88a();import a88e from'fs';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a88d(a,b);}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';function a88c(){const A=['The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','Please\x20provide\x20a\x20command.','env','1045185xSpLpr','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','notice','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','email','uname\x20-a','join','exit','apply','domainNames','1111500yFkViA','generate-ssc','sudo\x20snap\x20install\x20--classic\x20certbot','208479XcejOI','success','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','2tXRnAA','2137389kYfGYP','letsencrypt','Using\x20saved\x20letsencrypt\x20config','emailUpdate','maka\x20ssl\x20[command]','error','Verifying\x20Letsencrypt\x20configuration','ping','parse','.csr','(((.+)+)+)+$','constructor','existsSync','genCSR','search','generate-csr','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','fsi','6630656qQJZsd','toString','Checking\x20remote\x20host\x20availability','ssh','9lFGLrq','6ERxULM','.key','readFileSync','withSpinner','544070AESmii','assign','getConfigPath','3959921atGSgk','363mqGijV','letsencrypt.json','create','[?]\x20Domains\x20to\x20register:\x20','/ssh.json','maka\x20ssl\x20--env\x20dev\x20generate-csr','ssl','\x20--email\x20','domains','ask','writeFileSync','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','stringify','getProjectConfig','appName'];a88c=function(){return A;};return a88c();}Command[a88y(0x1fb)]({'name':a88y(0x1ff),'usage':a88y(0x220),'validOpts':[a88y(0x201),a88y(0x20f)],'requiredOpts':[a88y(0x20a)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x1fe),a88y(0x204),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a88y,c=this[z(0x22d)][z(0x206)](),d=this['fsi'][z(0x1f7)](b['env']),f=this[z(0x22d)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x22b))SSL[z(0x229)]({'keyName':c[z(0x207)]+z(0x1f2),'csrName':c[z(0x207)]+'.csr','cwd':f});else{if(g===z(0x216)){if(!a88e[z(0x228)](a88f['join'](f,c[z(0x207)]+z(0x1f2))))throw z(0x208)+a88f[z(0x211)](f,c[z(0x207)]+z(0x1f2));if(!a88e[z(0x228)](a88f[z(0x211)](f,c[z(0x207)]+'.csr')))throw z(0x22c)+a88f[z(0x211)](f,c[z(0x207)]+z(0x225));SSL['genSSC']({'keyName':c[z(0x207)]+'.key','crtName':c['appName']+'.crt','cwd':f}),Log[z(0x20d)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x21d)){let h=b[z(0x201)],i=b[z(0x20f)];try{const p=a88e[z(0x1f3)](a88f[z(0x211)](d,z(0x1fa)))[z(0x22f)](),q=JSON[z(0x224)](p);h=b[z(0x201)]?b[z(0x201)]:q[z(0x214)],i=b[z(0x20f)]?b[z(0x20f)]:q[z(0x21f)],(!b['email']||!b[z(0x201)])&&Log[z(0x20d)](z(0x21e));}catch(r){}const j=JSON[z(0x224)](a88e['readFileSync'](d+z(0x1fd))['toString']());Object[z(0x1f6)](j,{'env':d}),Log[z(0x20d)](z(0x230));try{const s=SSH[z(0x223)](z(0x210),j);if(!s)throw z(0x20c);if(s)Log[z(0x219)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0x221)](t);return;}const k=Log[z(0x1f4)]();k['start'](z(0x222)),SSH['ssh'](z(0x21a),{...j}),SSH[z(0x231)](z(0x217),{...j}),SSH[z(0x231)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0x219)]();const l=h?h:await Actions[z(0x202)](z(0x1fc)),m=i?i:await Actions[z(0x202)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH['ssh'](z(0x20e)+l+z(0x200)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x205)](n,null,0x2);a88e[z(0x203)](a88f[z(0x211)](d,z(0x1fa)),o);}else throw z(0x209);}}}catch(u){console[z(0x221)](u),process[z(0x212)](0x0);}});
@@ -1 +1 @@
1
- const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x105))/0x1+parseInt(m(0xec))/0x2+-parseInt(m(0x10b))/0x3*(-parseInt(m(0xd9))/0x4)+-parseInt(m(0x103))/0x5*(-parseInt(m(0xf0))/0x6)+parseInt(m(0xfe))/0x7*(-parseInt(m(0x10f))/0x8)+-parseInt(m(0xe0))/0x9+-parseInt(m(0xf9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xdf356));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0xfd)]()[o(0xed)](o(0xfc))[o(0xfd)]()[o(0xe4)](a89a)[o(0xed)](o(0xfc));});a89a();function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xd9;let f=c[d];return f;},a89d(a,b);}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';function a89c(){const t=['Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','constructor','readFileSync','none','slice','warn','filter','openSync','test-packages','657188QENDzv','search','testAppPath','fsi','12126JdTJwN','unit','once','concat','create','env','Meteor\x20Settings:\x20','maka\x20test\x20<opts>','apply','4028380RByhko','driver','--env','(((.+)+)+)+$','toString','343315SQpAXH','splice','port','sanjo:jasmine','exit','1170PPVHkw','isFile','299986HUBvFW','join','rawLogs','error','parse','packages','195ihzyUD','notice','test','Node\x20Env\x20Config:\x20','40rhpFMP','config.json','--driver-package','getConfigPath','jasmine','development','42820fQDHqf','argv','engines','driver-package','mocha','invokeMeteorCommand','utf8','2114946NxaxSr','driverPackage','findProjectDirectory'];a89c=function(){return t;};return a89c();}const syncSource=function(a){const p=a89d;a89e[p(0xea)](a,'r'),a89g['config']({'path':a});};Command[a89q(0xf4)]({'name':a89q(0x10d),'mustBeInMakaProject':!![],'validOpts':[a89q(0xf2),a89q(0x10a),a89q(0xfa),a89q(0xe1),a89q(0xf1),a89q(0xf5),a89q(0x107),a89q(0x100),'inspect',a89q(0xee)],'usage':a89q(0xf7),'shortDesc':a89q(0xe3),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0xef)][r(0x112)](r(0x114));b[r(0xf5)]&&(c=this[r(0xef)][r(0x112)](b[r(0xf5)]));(!b[r(0xf1)]||!!b[r(0xf2)])&&(a=a[r(0xf3)](['--full-app']));b[r(0xf1)]&&delete b['unit'];let d=b[r(0xdc)]||b[r(0xfa)]||r(0xe6);if(d===r(0xe6)){const j=JSON[r(0x109)](a89e[r(0xe5)](a89f[r(0x106)](this[r(0xef)][r(0xe2)](),'.maka',r(0x110)),r(0xdf)));if(j[r(0xdb)][r(0x10d)]===r(0x113))d=r(0x101);else j[r(0xdb)][r(0x10d)]===r(0xdd)&&(d='meteortesting:mocha');}if(d==='none')throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0xdc)]||!b['driver'])&&(a=a[r(0xf3)]([r(0x111),d]));const f=a89f[r(0x106)](c,'settings.json');this[r(0xef)][r(0x104)](f)?(Log[r(0x10c)](r(0xf6)+f),a=a['concat'](['--settings',f])):Log[r(0xe8)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a89f[r(0x106)](c,'process.env');this[r(0xef)][r(0x104)](g)?(Log['notice'](r(0x10e)+g),syncSource(g)):Log[r(0xe8)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0xda)][r(0xe7)](0x2)[r(0xe9)](k=>k!==r(0xfb))[r(0xe9)](k=>k!==r(0x10d))[r(0xe9)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0xfb)||k==='--driver')&&h['splice'](l,0x2),k==='--packages'&&h[s(0xff)](l,0x1);});const i=b[r(0x10a)]?r(0xeb):'test';this['fsi'][r(0xde)](i,a[r(0xf3)](h));}catch(k){console[r(0x108)](k),process[r(0x102)](0x0);}});
1
+ const a89o=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=-parseInt(m(0x1ee))/0x1*(-parseInt(m(0x225))/0x2)+-parseInt(m(0x1f9))/0x3*(parseInt(m(0x1ef))/0x4)+parseInt(m(0x1f0))/0x5+parseInt(m(0x1f8))/0x6+-parseInt(m(0x1fe))/0x7+-parseInt(m(0x220))/0x8*(-parseInt(m(0x200))/0x9)+parseInt(m(0x1f1))/0xa*(-parseInt(m(0x209))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x1c160));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['toString']()[n(0x227)]('(((.+)+)+)+$')[n(0x21d)]()[n(0x215)](a89a)[n(0x227)](n(0x1fc));});a89a();import a89e from'fs';import a89f from'path';function a89c(){const r=['search','.maka','fsi','96944KBQjUP','332nBFJQf','843580SkeHYH','10frdNDi','join','settings.json','splice','utf8','--driver','meteortesting:mocha','1218684XWycdD','3240EQxVLF','notice','maka\x20test\x20<opts>','(((.+)+)+)+$','exit','1395653pfNjZP','config.json','188523aSZjqa','unit','once','sanjo:jasmine','packages','none','warn','mocha','test-packages','1403116XxCsqI','parse','driver','env','filter','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','--settings','concat','findProjectDirectory','forEach','Meteor\x20Settings:\x20','process.env','constructor','testAppPath','error','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','development','rawLogs','inspect','slice','toString','Node\x20Env\x20Config:\x20','isFile','24PFDmXx','test','getConfigPath','--env','argv','2usphrj','engines'];a89c=function(){return r;};return a89c();}import a89g from'dotenv';import{Command}from'../command.js';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a89d(a,b);}import{Log}from'../tools/log/log.class.js';const syncSource=function(a){a89e['openSync'](a,'r'),a89g['config']({'path':a});};Command['create']({'name':a89o(0x221),'mustBeInMakaProject':!![],'validOpts':[a89o(0x202),a89o(0x204),'driver','driverPackage','unit','env',a89o(0x21a),'port',a89o(0x21b),a89o(0x216)],'usage':a89o(0x1fb),'shortDesc':a89o(0x20e),'examples':[]},function(a,b){const p=a89o;try{let c=this[p(0x1ed)][p(0x222)](p(0x219));b[p(0x20c)]&&(c=this[p(0x1ed)][p(0x222)](b[p(0x20c)]));(!b[p(0x201)]||!!b[p(0x202)])&&(a=a[p(0x210)](['--full-app']));b[p(0x201)]&&delete b[p(0x201)];let d=b['driver-package']||b['driver']||p(0x205);if(d==='none'){const j=JSON[p(0x20a)](a89e['readFileSync'](a89f['join'](this[p(0x1ed)][p(0x211)](),p(0x228),p(0x1ff)),p(0x1f5)));if(j[p(0x226)][p(0x221)]==='jasmine')d=p(0x203);else j[p(0x226)][p(0x221)]===p(0x207)&&(d=p(0x1f7));}if(d===p(0x205))throw p(0x218);(!b['driver-package']||!b[p(0x20b)])&&(a=a[p(0x210)](['--driver-package',d]));const f=a89f[p(0x1f2)](c,p(0x1f3));this[p(0x1ed)][p(0x21f)](f)?(Log[p(0x1fa)](p(0x213)+f),a=a[p(0x210)]([p(0x20f),f])):Log[p(0x206)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a89f['join'](c,p(0x214));this[p(0x1ed)][p(0x21f)](g)?(Log[p(0x1fa)](p(0x21e)+g),syncSource(g)):Log[p(0x206)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[p(0x224)][p(0x21c)](0x2)[p(0x20d)](k=>k!=='--env')[p(0x20d)](k=>k!==p(0x221))[p(0x20d)](k=>k!==a[0x0]);h[p(0x212)]((k,l)=>{const q=p;(k===q(0x223)||k===q(0x1f6))&&h[q(0x1f4)](l,0x2),k==='--packages'&&h['splice'](l,0x1);});const i=b[p(0x204)]?p(0x208):p(0x221);this[p(0x1ed)]['invokeMeteorCommand'](i,a['concat'](h));}catch(k){console[p(0x217)](k),process[p(0x1fd)](0x0);}});
@@ -1 +1 @@
1
- const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0xe7))/0x1*(-parseInt(k(0xc3))/0x2)+-parseInt(k(0xd9))/0x3+parseInt(k(0xd1))/0x4+-parseInt(k(0xc7))/0x5*(parseInt(k(0xb8))/0x6)+parseInt(k(0xcd))/0x7*(parseInt(k(0xd7))/0x8)+parseInt(k(0xce))/0x9+-parseInt(k(0xc2))/0xa*(parseInt(k(0xe2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x556c8));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0xde)]()[m(0xcb)]('(((.+)+)+)+$')[m(0xde)]()[m(0xe6)](a90a)[m(0xcb)](m(0xe4));});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xb8;let f=c[d];return f;},a90d(a,b);}a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';function a90c(){const p=['getProjectsMeteorNodeVersion','724674iSexJk','warn','\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','getProjectMeteorVersion','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','maka\x20version','majestic','replace','apply','node\x20-v','4390FSPExX','2UZrouu','getGlobalMeteorVersion','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','notice','5afDBre','meteor.bat','bright','maka\x20version\x20--verbose','search','verbose','4461345yYNyDV','3815559gbrCBJ','System\x27s\x20Meteor\x20Version\x20','Maka\x20','1780336RloIxc','exit','fsi','System\x27s\x20Node\x20Version\x20','meteor','----------------------Project----------------------------','8aAHaHT','isMakaProject','915546lhJfjh','\x20node\x20-v','error','create','4.5.38','toString','compareMakaToLatest','version','\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','16434edFpvy','N/A','(((.+)+)+)+$','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','constructor','74647WEgsjc','Project\x27s\x20Meteor\x20Version\x20'];a90c=function(){return p;};return a90c();}import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0xdd)};Command[a90n(0xdc)]({'name':'version','aliases':['v'],'usage':a90n(0xbd),'maxArgLength':0x1,'validOpts':[a90n(0xcc)],'shortDesc':a90n(0xe5),'examples':['maka\x20v',a90n(0xbd),a90n(0xca)],'description':a90n(0xe1)},async function(a,b){const o=a90n;try{const c=process['platform']==='win32'?o(0xc8):o(0xd5);Log[o(0xbe)](o(0xd0)+pjson[o(0xe0)]),await this[o(0xd3)][o(0xdf)]();if(b['verbose']){await this[o(0xd3)][o(0xdf)](),Log[o(0xc9)]('----------------------System----------------------------');const d=this[o(0xd3)][o(0xc4)]();Log[o(0xc9)]((o(0xcf)+d)['replace']('\x0a',''));const f=execSync(c+o(0xda))[o(0xde)]()[o(0xbf)](/\r?\n|\r/,'')[o(0xbf)]('v','');Log[o(0xc9)](o(0xbc)+f);const g=execSync(o(0xc1))['toString']()[o(0xbf)](/\r?\n|\r/,'')[o(0xbf)]('v','');a90e['gt'](f,g)?(Log[o(0xb9)](o(0xd4)+g),Log[o(0xb9)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log['bright'](o(0xd4)+g);if(this[o(0xd3)][o(0xd8)]()){Log[o(0xc9)](o(0xd6));const h=this['fsi'][o(0xbb)]();a90e['gt'](d,h)?(Log['warn'](o(0xe8)+h[o(0xbf)]('\x0a','')),Log[o(0xb9)](o(0xc5)+d+'\x22')):Log[o(0xc6)]((o(0xe8)+h)['replace']('\x0a',''));const i=await this['fsi'][o(0xe9)]();i===o(0xe3)?(Log[o(0xb9)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xb9)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0xc9)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xc9)](o(0xba));}}}catch(j){console[o(0xdb)](j),process[o(0xd2)](0x0);}});
1
+ const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=-parseInt(k(0xac))/0x1*(parseInt(k(0x98))/0x2)+-parseInt(k(0xb4))/0x3*(parseInt(k(0xbd))/0x4)+parseInt(k(0xa9))/0x5+parseInt(k(0xa0))/0x6*(parseInt(k(0x9a))/0x7)+parseInt(k(0xc1))/0x8*(parseInt(k(0xaf))/0x9)+-parseInt(k(0xc0))/0xa+parseInt(k(0xbf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xd11c3));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x9d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a['toString']()[m(0xa4)](m(0xa7))[m(0x9c)]()['constructor'](a90a)['search'](m(0xa7));});a90a();function a90c(){const p=['create','toString','apply','getGlobalMeteorVersion','version','1206fspydX','notice','getProjectMeteorVersion','\x20node\x20-v','search','maka\x20v','System\x27s\x20Meteor\x20Version\x20','(((.+)+)+)+$','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','202215bLBfHG','bright','compareMakaToLatest','23BlCJot','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','warn','755964blmDZu','----------------------Project----------------------------','replace','Project\x27s\x20Meteor\x20Node\x20Version\x20',')\x20to\x20at\x20least\x20meteor\x27s\x20(','440301bWfZts','4.5.40','maka\x20version','verbose','\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','fsi','isMakaProject','node\x20-v','platform','12gnSkag','----------------------System----------------------------','23608211wfDLYR','12266630LcCWtD','80UhMVud','Project\x27s\x20Meteor\x20Version\x20','System\x27s\x20Node\x20Version\x20','exit','win32','\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','majestic','meteor','73498zvyuBT','getProjectsMeteorNodeVersion','11914tztTpN'];a90c=function(){return p;};return a90c();}import{execSync}from'child_process';import a90e from'semver';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x91;let f=c[d];return f;},a90d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0xb5)};Command[a90n(0x9b)]({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a90n(0xb7)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a90n(0xa5),a90n(0xb6),'maka\x20version\x20--verbose'],'description':a90n(0x95)},async function(a,b){const o=a90n;try{const c=process[o(0xbc)]===o(0x94)?'meteor.bat':o(0x97);Log[o(0x96)]('Maka\x20'+pjson[o(0x9f)]),await this[o(0xb9)][o(0xab)]();if(b['verbose']){await this[o(0xb9)][o(0xab)](),Log['bright'](o(0xbe));const d=this['fsi'][o(0x9e)]();Log[o(0xaa)]((o(0xa6)+d)[o(0xb1)]('\x0a',''));const f=execSync(c+o(0xa3))[o(0x9c)]()['replace'](/\r?\n|\r/,'')[o(0xb1)]('v','');Log['bright'](o(0xad)+f);const g=execSync(o(0xbb))[o(0x9c)]()[o(0xb1)](/\r?\n|\r/,'')['replace']('v','');a90e['gt'](f,g)?(Log[o(0xae)](o(0x92)+g),Log[o(0xae)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0xb3)+f+')')):Log[o(0xaa)](o(0x92)+g);if(this[o(0xb9)][o(0xba)]()){Log[o(0xaa)](o(0xb0));const h=this[o(0xb9)][o(0xa2)]();a90e['gt'](d,h)?(Log['warn'](o(0x91)+h['replace']('\x0a','')),Log[o(0xae)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0xa1)]((o(0x91)+h)[o(0xb1)]('\x0a',''));const i=await this['fsi'][o(0x99)]();i==='N/A'?(Log[o(0xae)](o(0xb2)+i),Log[o(0xae)](o(0xa8))):Log[o(0xaa)](o(0xb2)+i),Log[o(0xaa)](o(0xb8));}}}catch(j){console['error'](j),process[o(0x93)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0xe4))/0x1+-parseInt(f(0xdb))/0x2+-parseInt(f(0xde))/0x3*(-parseInt(f(0xe3))/0x4)+-parseInt(f(0xdc))/0x5+-parseInt(f(0xdf))/0x6*(parseInt(f(0xdd))/0x7)+parseInt(f(0xe5))/0x8+parseInt(f(0xda))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xd8568));function a91c(){var h=['1435350VBjoCt','1006859iioYSP','13989teUlIO','48IRWCVh','search','toString','(((.+)+)+)+$','1388JjKsUP','1400977GzVsvi','14040008twMLLK','constructor','11337318FnTqRU','1815802ihxmZb'];a91c=function(){return h;};return a91c();}var a91b=(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;};}()),a91a=a91b(this,function(){var g=a91d;return a91a[g(0xe1)]()['search'](g(0xe2))[g(0xe1)]()[g(0xe6)](a91a)[g(0xe0)]('(((.+)+)+)+$');});a91a();function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xda;var f=c[d];return f;},a91d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0x1f1))/0x1+parseInt(f(0x1f9))/0x2*(parseInt(f(0x1f7))/0x3)+-parseInt(f(0x1fc))/0x4*(-parseInt(f(0x200))/0x5)+-parseInt(f(0x1fb))/0x6*(parseInt(f(0x1ff))/0x7)+parseInt(f(0x1f5))/0x8+parseInt(f(0x1f4))/0x9*(parseInt(f(0x1f2))/0xa)+-parseInt(f(0x1f6))/0xb*(parseInt(f(0x1fa))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xc1365));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a['toString']()['search'](h(0x1f3))['toString']()[h(0x1f8)](a91a)[h(0x1fe)](h(0x1f3));});a91a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x1f1;var f=c[d];return f;},a91d(a,b);}export class NoMeteorAppFoundError{}function a91c(){var i=['9931537pSCmBY','66PIRcNa','constructor','103256LcCcUO','12kOBniB','4314qcqHSH','2916976eRyGJG','apply','search','12670ZeWCAt','5CMLqYA','1324551kRpinv','15320VxsxcP','(((.+)+)+)+$','8469HSHKJA','8108264svRHwl'];a91c=function(){return i;};return a91c();}export class NoMeteorFoundError{}
@@ -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-0x9d;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(0x9e))/0x1+parseInt(f(0xa2))/0x2*(parseInt(f(0xa4))/0x3)+-parseInt(f(0xa3))/0x4*(parseInt(f(0xab))/0x5)+-parseInt(f(0xac))/0x6*(parseInt(f(0xaa))/0x7)+parseInt(f(0xa1))/0x8+-parseInt(f(0xa0))/0x9+parseInt(f(0x9d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x9ddb3));function a92c(){var j=['constructor','env','apply','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','search','2422diYali','3858875sWPDNr','17622RchyQv','38832820fbzGoM','1108077CMvIie','(((.+)+)+)+$','4742919QKUcto','1331816zkthEY','1370ftwnpv','4PbIihC','87fXaDYk'];a92c=function(){return j;};return a92c();}var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a['toString']()[h(0xa9)](h(0x9f))['toString']()[h(0xa5)](a92a)['search']('(((.+)+)+)+$');});a92a(),process[a92i(0xa6)]['NODE_OPTIONS']=a92i(0xa8);import'./maka.js';
2
+ function a92c(){var i=['search','27SYaocO','48NzePhZ','10605826KhyLwn','(((.+)+)+)+$','85070AGJylZ','55870sPtJwk','4qQTisn','1237208ZTplPI','env','constructor','1134095iNqqkr','717YDUrHo','toString','610UwszlJ','251741ADrYSL','--experimental-modules\x20--no-warnings\x20--experimental-json-modules'];a92c=function(){return i;};return a92c();}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x64;var f=c[d];return f;},a92d(a,b);}var a92h=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x69))/0x1+-parseInt(f(0x72))/0x2*(parseInt(f(0x70))/0x3)+-parseInt(f(0x6b))/0x4*(parseInt(f(0x6f))/0x5)+parseInt(f(0x66))/0x6*(-parseInt(f(0x73))/0x7)+-parseInt(f(0x6c))/0x8+-parseInt(f(0x65))/0x9*(-parseInt(f(0x6a))/0xa)+parseInt(f(0x67))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x258bc));var a92b=(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;};}()),a92a=a92b(this,function(){var g=a92d;return a92a[g(0x71)]()[g(0x64)](g(0x68))['toString']()[g(0x6e)](a92a)[g(0x64)](g(0x68));});a92a(),process[a92h(0x6d)]['NODE_OPTIONS']=a92h(0x74);import'./maka.js';
@@ -1 +1 @@
1
- function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x12b;let f=c[d];return f;},a93d(a,b);}const a93t=a93d;function a93c(){const E=['lib','maxOptsLength','server','_handler','apply','length','Both','No\x20resource\x20name\x20specified','call','396AnTdBQ','map','30bWNjca','number','both','sep','bright','error','noResource','options','filter','149304bwNkjQ','slice','exit','189889KMxXCb','root','To\x20use\x20this\x20generator,\x20\x22','Too\x20many\x20arguments','invoke','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','There\x20is\x20no\x20Meteor\x20application\x20here','shortDesc','mustBeInMakaProject','1176549ZPTqMz','proGenerators','Alias','bind','list','search','function','Too\x20few\x20options','Too\x20few\x20arguments','_generators','(((.+)+)+)+$','pop','Client','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','53808UUABXI','85UwFDXH','usage','27852tsHtMo','Generators:','singleLicense','sort','validateMakaSubscription','maxArgLength','roles','getPro','split','Description','colLocAnswer','constructor','validateMeteorInstall','8BPlqEE','minOptsLength','keys','addGenerator\x20requires\x20a\x20Generator\x20instance','where','52742QMkjcu','dir','addGenerator','name','checkWhere','Generator\x20requires\x20a\x20name','Name','listGenerators','join','Location','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','domainLicense','Too\x20many\x20options','findGenerator','assign','appPathPrefix','toString','validateMakaProject','resourceName','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','To\x20use\x20these\x20pro\x20flags,\x20\x22','push','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','tableList','Please\x20run\x20\x22maka\x20install\x20meteor\x22','includes','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','mustHaveMeteorInstalled','23416MlqcbK','help','minArgLength','client','cwd'];a93c=function(){return E;};return a93c();}(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0x155))/0x1*(parseInt(q(0x150))/0x2)+parseInt(q(0x18a))/0x3+parseInt(q(0x143))/0x4*(parseInt(q(0x141))/0x5)+-parseInt(q(0x140))/0x6+-parseInt(q(0x18d))/0x7+parseInt(q(0x171))/0x8*(-parseInt(q(0x17f))/0x9)+parseInt(q(0x181))/0xa*(parseInt(q(0x132))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x1ba0d));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x165)]()[s(0x137)](s(0x13c))['toString']()[s(0x14e)](a93a)[s(0x137)](s(0x13c));});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';let _prevGen='';function inside(a='.',b){const c=process['cwd']();let d=null;try{process['chdir'](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a93t(0x188)];[a93t(0x13b)];constructor(a,b){const u=a93t;super();if(!a)throw new Error(u(0x15f));if(!a[u(0x158)])throw new Error(u(0x15a));if(typeof b!=='function')throw new Error('Generator\x20requires\x20a\x20handler\x20function');this['_generators']=[],this[u(0x188)]=Object['assign']({},a),this['name']=this[u(0x188)][u(0x158)],this['_handler']=b[u(0x135)](this);}static['create'](a,b,c){const v=a93t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0x138))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a93g,Object[v(0x163)](d,{'parent':c?.[v(0x188)]?.[v(0x158)]}),c[v(0x157)](d),d;}[a93t(0x157)](a){const w=a93t;if(!(a instanceof Generator))throw new Error(w(0x153));this[w(0x13b)]['push'](a);}['findGenerator'](a){const b=this['_generators']['find'](c=>c['match'](a));return b;}async[a93t(0x147)](a,b){const x=a93t,c=this[x(0x162)](a[0x0]);if(c){const d=c?.[x(0x158)]||a[0x0],e=c?.['parent']||'',f=Object[x(0x152)](b),g=await this['fsi'][x(0x14a)]();!g&&(Log[x(0x186)](x(0x16f)),process[x(0x18c)](0x1));const h=!g?.[x(0x149)]['includes'](x(0x145))&&!g?.[x(0x149)]['includes'](x(0x160)),i=g?.[x(0x133)]['includes'](d)||g?.[x(0x133)][x(0x16e)](e);if(i&&h)throw x(0x12b)+d+x(0x16b);if(f[x(0x17b)]>0x0){const j=g?.['proFlags'][x(0x189)](k=>f[x(0x16e)](k));if(j&&j[x(0x17b)]>0x0&&h)throw x(0x169)+j?.[x(0x15d)](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a93t(0x12d)](a,b){const y=a93t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[y(0x188)];try{await this[y(0x147)](a,b);}catch(g){Log[y(0x186)](g),process[y(0x18c)](0x1);}const f=a[y(0x18b)]();b[y(0x167)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b['help'])throw new UsageError();if(this[y(0x188)][y(0x131)]){const h=this[y(0x166)]();if(!h)throw new MustBeInProjectError();}if(this[y(0x188)][y(0x170)]){const i=this[y(0x14f)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[y(0x188)][y(0x173)]===y(0x182)){if(a[y(0x17b)]<this[y(0x188)][y(0x173)]){Log['error'](y(0x13a));throw new UsageError();}}if(typeof this['options'][y(0x148)]===y(0x182)){if(a[y(0x17b)]>this[y(0x188)][y(0x148)]){Log[y(0x186)](y(0x12c));throw new UsageError();}}if(typeof this[y(0x188)][y(0x151)]==='number'){if(Object[y(0x152)](b)[y(0x17b)]<this[y(0x188)]['minOptsLength']){Log[y(0x186)](y(0x139));throw new UsageError();}}if(typeof this[y(0x188)][y(0x177)]===y(0x182)){if(Object[y(0x152)](b)['length']>=this['options'][y(0x177)]){Log[y(0x186)](y(0x161));throw new UsageError();}}await this['validateParams'](a,b,this[y(0x188)]);if(!b['resourceName']&&!this[y(0x188)][y(0x187)]){Log[y(0x186)](y(0x17d));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[y(0x142)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[y(0x13b)][y(0x17b)]>0x0&&b[y(0x172)]&&(Log['notice'](y(0x144)),this[y(0x16c)](this[y(0x13b)]));else{if(j instanceof MustBeInProjectError)Log[y(0x186)](y(0x12e));else{if(j instanceof NoMeteorFoundError)Log[y(0x186)](y(0x168)),Log['notice'](y(0x16d));else{if(j instanceof NoMeteorAppFoundError)Log[y(0x186)](y(0x12f));else throw j;}}}process['exit'](0x1);}return new Promise(k=>{const z=y;inside(b[z(0x175)],async()=>{const A=z;try{if(!b[A(0x18e)]&&!this['fsi']['findProjectDirectory']())throw new MustBeInProjectError();const l=b[A(0x167)]?.['replace'](/\\/g,'/')[A(0x14b)]('/');!b[A(0x156)]&&(l?.[A(0x17b)]>0x1?(b[A(0x167)]=l[A(0x13d)](),f[0x0]=b['resourceName'],b['dir']=l[A(0x180)](m=>{return paramCase(m);})[A(0x15d)](a93e[A(0x184)])):b[A(0x156)]='');if(this[A(0x188)][A(0x159)]){if(!b[A(0x154)]){const n={'type':A(0x136),'name':A(0x14d),'message':A(0x15e),'choices':[{'name':A(0x13e),'value':'client'},{'name':'Server','value':'server'},{'name':A(0x17c),'value':A(0x183)}]},{colLocAnswer:o}=await Actions['options'](n);o?b[A(0x154)]=o:b[A(0x154)]=A(0x183);}const m=[A(0x183),A(0x174),A(0x178)];if(!m[A(0x16e)](b['where'])){Log[A(0x186)](A(0x13f));throw new UsageError();}switch(b['where']){case A(0x183):b[A(0x164)]=A(0x176);break;case A(0x178):b['appPathPrefix']=A(0x178);break;case A(0x174):b[A(0x164)]='client';break;default:b[A(0x164)]='';}}k(this[A(0x179)][A(0x17e)](this,f,b));}catch(p){console['error'](p);}});});}[a93t(0x15c)](){const B=a93t;this[B(0x16c)](this['_generators']);}[a93t(0x16c)](a){const C=a93t,b=new a93f({});b[C(0x16a)]([C(0x15b),C(0x134),C(0x14c)]),a[C(0x146)]()['forEach'](c=>{const D=C;b[D(0x16a)]([c[D(0x158)],c['aliases'](),c[D(0x130)]()]);}),Log[C(0x185)](b['toString']());}}
1
+ const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0x163))/0x1+parseInt(q(0x189))/0x2+parseInt(q(0x1ba))/0x3*(parseInt(q(0x178))/0x4)+parseInt(q(0x182))/0x5*(-parseInt(q(0x187))/0x6)+parseInt(q(0x169))/0x7+-parseInt(q(0x181))/0x8*(parseInt(q(0x1a8))/0x9)+parseInt(q(0x18a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x29248));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x176)]()[s(0x1a7)](s(0x15c))[s(0x176)]()[s(0x1a3)](a93a)[s(0x1a7)](s(0x15c));});a93a();function a93c(){const G=['fsi','Too\x20few\x20options','178346gJlEwv','tableList','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','client','shortDesc','No\x20resource\x20name\x20specified','Generator\x20requires\x20a\x20name','maxOptsLength','roles','includes','colLocAnswer','sep','notice','toString','addGenerator','16948QfCgNW','findGenerator','minArgLength','_generators','cwd','pop','split','push','create','1796624lilnNy','10nMZIvZ','Too\x20many\x20options','bright','Please\x20run\x20\x22maka\x20install\x20meteor\x22','call','891024qNpLGc','name','524206xabPPw','1598500lzgZdI','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','resourceName','both','join','proFlags','Generator\x20requires\x20a\x20handler\x20function','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','validateMakaSubscription','maxArgLength','dir','chdir','To\x20use\x20this\x20generator,\x20\x22','findProjectDirectory','Both','error','validateMeteorInstall','Generator.create\x20requires\x20some\x20options!','usage','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','function','listGenerators','mustHaveMeteorInstalled','_handler','Too\x20few\x20arguments','constructor','Alias','map','find','search','9jxdRTZ','keys','noResource','list','number','singleLicense','mustBeInMakaProject','There\x20is\x20no\x20Meteor\x20application\x20here','length','apply','Description','minOptsLength','parent','filter','Generator.create\x20requires\x20a\x20handler\x20function!','where','invoke','lib','225gSAGTG','server','aliases','options','bind','Generators:','(((.+)+)+)+$','addGenerator\x20requires\x20a\x20Generator\x20instance','checkWhere','Server','replace','appPathPrefix','sort','75100YNDiKX','exit','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','match'];a93c=function(){return G;};return a93c();}import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x158;let f=c[d];return f;},a93d(a,b);}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';let _prevGen='';function inside(a='.',b){const t=a93d,c=process[t(0x17c)]();let d=null;try{process[t(0x195)](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a93u(0x159)];['_generators'];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0x19d));if(!a[v(0x188)])throw new Error(v(0x16f));if(typeof b!==v(0x19e))throw new Error(v(0x190));this[v(0x17b)]=[],this[v(0x159)]=Object['assign']({},a),this['name']=this[v(0x159)][v(0x188)],this[v(0x1a1)]=b[v(0x15a)](this);}static[a93u(0x180)](a,b,c){const w=a93u;if(!a)throw new Error(w(0x19b));if(typeof b!==w(0x19e))throw new Error(w(0x1b6));const d=new Generator(a,b);return c=c||a93g,Object['assign'](d,{'parent':c?.['options']?.[w(0x188)]}),c[w(0x177)](d),d;}['addGenerator'](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0x15d));this[x(0x17b)][x(0x17f)](a);}[a93u(0x179)](a){const y=a93u,b=this[y(0x17b)][y(0x1a6)](c=>c[y(0x166)](a));return b;}async[a93u(0x192)](a,b){const z=a93u,c=this[z(0x179)](a[0x0]);if(c){const d=c?.[z(0x188)]||a[0x0],e=c?.[z(0x1b4)]||'',f=Object[z(0x1a9)](b),g=await this[z(0x167)]['getPro']();!g&&(Log[z(0x199)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[z(0x164)](0x1));const h=!g?.[z(0x171)][z(0x172)](z(0x1ad))&&!g?.['roles'][z(0x172)]('domainLicense'),i=g?.['proGenerators']['includes'](d)||g?.['proGenerators'][z(0x172)](e);if(i&&h)throw z(0x196)+d+z(0x16b);if(f[z(0x1b0)]>0x0){const j=g?.[z(0x18f)][z(0x1b5)](k=>f['includes'](k));if(j&&j[z(0x1b0)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.['join'](',\x20')+z(0x16b);}}}async[a93u(0x1b8)](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[A(0x192)](a,b);}catch(g){Log['error'](g),process[A(0x164)](0x1);}const f=a['slice']();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[A(0x1b0)]===0x0)&&b['help'])throw new UsageError();if(this[A(0x159)][A(0x1ae)]){const h=this['validateMakaProject']();if(!h)throw new MustBeInProjectError();}if(this[A(0x159)][A(0x1a0)]){const i=this[A(0x19a)]();if(!i)throw new NoMeteorFoundError();}if(typeof this['options']['minArgLength']===A(0x1ac)){if(a['length']<this[A(0x159)][A(0x17a)]){Log[A(0x199)](A(0x1a2));throw new UsageError();}}if(typeof this[A(0x159)][A(0x193)]===A(0x1ac)){if(a['length']>this[A(0x159)][A(0x193)]){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[A(0x159)][A(0x1b3)]==='number'){if(Object[A(0x1a9)](b)[A(0x1b0)]<this[A(0x159)][A(0x1b3)]){Log[A(0x199)](A(0x168));throw new UsageError();}}if(typeof this['options'][A(0x170)]==='number'){if(Object[A(0x1a9)](b)[A(0x1b0)]>=this[A(0x159)][A(0x170)]){Log[A(0x199)](A(0x183));throw new UsageError();}}await this['validateParams'](a,b,this[A(0x159)]);if(!b[A(0x18c)]&&!this[A(0x159)][A(0x1aa)]){Log[A(0x199)](A(0x16e));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x19c)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x17b)]['length']>0x0&&b['help']&&(Log['notice'](A(0x15b)),this[A(0x16a)](this[A(0x17b)]));else{if(j instanceof MustBeInProjectError)Log[A(0x199)](A(0x191));else{if(j instanceof NoMeteorFoundError)Log[A(0x199)](A(0x165)),Log[A(0x175)](A(0x185));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x199)](A(0x1af));else throw j;}}}process[A(0x164)](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x17c)],async()=>{const C=B;try{if(!b['root']&&!this['fsi'][C(0x197)]())throw new MustBeInProjectError();const l=b['resourceName']?.[C(0x160)](/\\/g,'/')[C(0x17e)]('/');!b['dir']&&(l?.[C(0x1b0)]>0x1?(b[C(0x18c)]=l[C(0x17d)](),f[0x0]=b[C(0x18c)],b['dir']=l[C(0x1a5)](m=>{return paramCase(m);})[C(0x18e)](a93e[C(0x174)])):b[C(0x194)]='');if(this[C(0x159)][C(0x15e)]){if(!b[C(0x1b7)]){const n={'type':C(0x1ab),'name':C(0x173),'message':'Location','choices':[{'name':'Client','value':C(0x16c)},{'name':C(0x15f),'value':C(0x1bb)},{'name':C(0x198),'value':C(0x18d)}]},{colLocAnswer:o}=await Actions['options'](n);o?b[C(0x1b7)]=o:b[C(0x1b7)]=C(0x18d);}const m=[C(0x18d),'client','server'];if(!m['includes'](b[C(0x1b7)])){Log[C(0x199)](C(0x18b));throw new UsageError();}switch(b['where']){case C(0x18d):b[C(0x161)]=C(0x1b9);break;case C(0x1bb):b[C(0x161)]=C(0x1bb);break;case'client':b['appPathPrefix']=C(0x16c);break;default:b[C(0x161)]='';}}k(this['_handler'][C(0x186)](this,f,b));}catch(p){console['error'](p);}});});}[a93u(0x19f)](){const D=a93u;this[D(0x16a)](this['_generators']);}[a93u(0x16a)](a){const E=a93u,b=new a93f({});b[E(0x17f)](['Name',E(0x1a4),E(0x1b2)]),a[E(0x162)]()['forEach'](c=>{const F=E;b[F(0x17f)]([c['name'],c[F(0x158)](),c[F(0x16d)]()]);}),Log[E(0x184)](b[E(0x176)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x15b))/0x1+-parseInt(f(0x151))/0x2*(-parseInt(f(0x15a))/0x3)+-parseInt(f(0x153))/0x4*(-parseInt(f(0x157))/0x5)+-parseInt(f(0x154))/0x6+-parseInt(f(0x156))/0x7+-parseInt(f(0x152))/0x8+-parseInt(f(0x14e))/0x9*(-parseInt(f(0x15c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xe4398));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x155)]()[h(0x158)](h(0x159))[h(0x155)]()[h(0x14f)](a94a)[h(0x158)](h(0x159));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';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-0x14e;var f=c[d];return f;},a94d(a,b);}import'./package.js';import'./publish.js';import'./route.js';function a94c(){var i=['1165HohXrp','search','(((.+)+)+)+$','3321372EzJxBq','839219pYegro','10FvfTBT','6134229sKptNg','constructor','apply','2UeLWPN','1489592oqVklV','17432LZrAXG','6629352NKexbB','toString','9922073HXJYLI'];a94c=function(){return i;};return a94c();}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(0x1ab))/0x1+parseInt(f(0x1ad))/0x2*(-parseInt(f(0x1b3))/0x3)+-parseInt(f(0x1b2))/0x4*(parseInt(f(0x1b5))/0x5)+parseInt(f(0x1b4))/0x6+parseInt(f(0x1af))/0x7*(parseInt(f(0x1ae))/0x8)+parseInt(f(0x1a8))/0x9+parseInt(f(0x1a7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x2b2c6));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x1b0)]()[h(0x1ac)]('(((.+)+)+)+$')[h(0x1b0)]()[h(0x1a9)](a94a)[h(0x1ac)](h(0x1b1));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x1a7;var f=c[d];return f;},a94d(a,b);}function a94c(){var i=['212rFAtVD','129gpRWtU','1703136ArLmGo','31555wfSITt','1232250qSgfAH','122319GAcPmj','constructor','apply','132981ZsJISj','search','5846xIoOai','2794552vhXXGf','7cZLfEI','toString','(((.+)+)+)+$'];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';import'./maka.gen.js';