@maka/maka-cli 4.5.30 → 4.5.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) 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 -0
  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/spawn-async/spawn-async.class.js +1 -1
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  133. package/package.json +1 -1
@@ -1 +1 @@
1
- const a75j=a75d;(function(a,b){const g=a75d,c=a();while(!![]){try{const d=-parseInt(g(0xa5))/0x1*(parseInt(g(0xa7))/0x2)+parseInt(g(0xac))/0x3*(parseInt(g(0xb4))/0x4)+parseInt(g(0xba))/0x5+parseInt(g(0xbc))/0x6*(parseInt(g(0xaf))/0x7)+parseInt(g(0xb5))/0x8+parseInt(g(0xa4))/0x9+parseInt(g(0xab))/0xa*(-parseInt(g(0xb7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x3d885));function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0xa2;let f=c[d];return f;},a75d(a,b);}const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a75d;if(c){const e=c[h(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const i=a75d;return a75a[i(0xa3)]()[i(0xb2)](i(0xbb))['toString']()[i(0xa2)](a75a)[i(0xb2)]('(((.+)+)+)+$');});a75a();function a75c(){const l=['toString','3255273YUevNu','34137lYrCwA','exit','26JZCzhP','fsi','maka\x20install\x20meteor','maybeProxyCommandToMeteor','9548970CguYBn','32583eApwDE','apply','maka\x20--help','676942FwFuXQ','\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','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','search','maka\x20<command>\x20[<args>]\x20[<opts>]','140xvbdnw','3721376fjOZQV','findSubCommand','11YCTxpY','maka\x20run','runSubCommand','1251495lZmVnb','(((.+)+)+)+$','12jCiOHM','constructor'];a75c=function(){return l;};return a75c();}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a75j(0xb1),'validOpts':[],'usage':a75j(0xb3),'disableAuthCheck':!![],'examples':[a75j(0xae),a75j(0xa9),'maka\x20create\x20Todo',a75j(0xb8)],'description':a75j(0xb0)},async function(a,b){const k=a75j;try{const c=a[0x0],d=this[k(0xb6)](c);d?this[k(0xb9)](c,a['slice'](0x1),b):this[k(0xa8)][k(0xaa)]();}catch(f){console['error'](f),process[k(0xa6)](0x1);}});export default Maka;
1
+ const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x18d))/0x1*(-parseInt(g(0x195))/0x2)+-parseInt(g(0x180))/0x3+parseInt(g(0x188))/0x4*(parseInt(g(0x182))/0x5)+-parseInt(g(0x18c))/0x6*(parseInt(g(0x197))/0x7)+-parseInt(g(0x199))/0x8*(parseInt(g(0x198))/0x9)+parseInt(g(0x17f))/0xa*(parseInt(g(0x186))/0xb)+parseInt(g(0x18e))/0xc*(parseInt(g(0x184))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x4b42b));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x194)]()[i(0x181)](i(0x192))['toString']()[i(0x191)](a76a)[i(0x181)](i(0x192));});a76a();import{Command}from'../command.js';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x17e;let f=c[d];return f;},a76d(a,b);}const Maka=new Command({'name':a76j(0x190),'minArgLength':0x1,'shortDesc':a76j(0x196),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':['maka\x20--help','maka\x20install\x20meteor',a76j(0x18b),a76j(0x193)],'description':a76j(0x17e)},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x189)](c);d?this['runSubCommand'](c,a[k(0x18a)](0x1),b):this[k(0x183)][k(0x18f)]();}catch(f){console[k(0x19a)](f),process[k(0x185)](0x1);}});export default Maka;function a76c(){const l=['79871xtKFmQ','apply','36jOpWRv','findSubCommand','slice','maka\x20create\x20Todo','6mnSbbS','15oPYazR','147804bjggPs','maybeProxyCommandToMeteor','maka','constructor','(((.+)+)+)+$','maka\x20run','toString','25082cqpFAz','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','539749OBkywz','9JAyqle','3687208JHTQfl','error','\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','40twcXtR','195858fgBpST','search','273185ymaJgN','fsi','611DHFUAf','exit'];a76c=function(){return l;};return a76c();}
@@ -1 +1 @@
1
- function a76c(){var k=['(((.+)+)+)+$','apply','72632fITRVB','6VULnRI','constructor','%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','5201280kSUtEV','723109CxvgEb','25sIjqPB','47210YJJyBL','maka\x20murder','117WOAGxy','toString','font-family:\x20monospace','6301372TptjCD','create','286868XYZFmQ','34209420hAzvrE','log'];a76c=function(){return k;};return a76c();}var a76i=a76d;(function(a,b){var f=a76d,c=a();while(!![]){try{var d=-parseInt(f(0x186))/0x1+-parseInt(f(0x188))/0x2*(-parseInt(f(0x195))/0x3)+parseInt(f(0x18f))/0x4*(-parseInt(f(0x187))/0x5)+-parseInt(f(0x185))/0x6+-parseInt(f(0x18d))/0x7+-parseInt(f(0x194))/0x8*(parseInt(f(0x18a))/0x9)+parseInt(f(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x7a66b));function a76d(a,b){var c=a76c();return a76d=function(d,e){d=d-0x184;var f=c[d];return f;},a76d(a,b);}var a76b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a76d;if(c){var e=c[g(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){var h=a76d;return a76a[h(0x18b)]()['search']('(((.+)+)+)+$')[h(0x18b)]()[h(0x196)](a76a)['search'](h(0x192));});a76a();import{Command}from'../command.js';Command[a76i(0x18e)]({'name':'murder','usage':a76i(0x189),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a76i;try{console[j(0x191)](j(0x184),j(0x18c));}catch(a){console['error'](a),process['exit'](0x0);}});
1
+ var a77i=a77d;function a77c(){var k=['3295400HFKmKG','238518cQtkbG','%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','3008943hdrwAZ','402721hPlXad','error','(((.+)+)+)+$','font-family:\x20monospace','toString','271497RwBEmJ','log','create','apply','294bGfBKj','constructor','4yFlkru','search','2158595sQUgXV','Murrrrderrrrr','maka\x20murder','43883TiLdPo'];a77c=function(){return k;};return a77c();}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x1d1))/0x1+-parseInt(f(0x1ce))/0x2+-parseInt(f(0x1d6))/0x3*(parseInt(f(0x1c7))/0x4)+parseInt(f(0x1c9))/0x5+parseInt(f(0x1c5))/0x6*(-parseInt(f(0x1cc))/0x7)+-parseInt(f(0x1cd))/0x8+parseInt(f(0x1d0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x3a91f));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a['toString']()[h(0x1c8)](h(0x1d3))[h(0x1d5)]()[h(0x1c6)](a77a)[h(0x1c8)](h(0x1d3));});a77a();import{Command}from'../command.js';function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a77d(a,b);}Command[a77i(0x1d8)]({'name':'murder','usage':a77i(0x1cb),'maxArgLength':0x1,'shortDesc':a77i(0x1ca),'validOpts':[]},async function(){var j=a77i;try{console[j(0x1d7)](j(0x1cf),j(0x1d4));}catch(a){console[j(0x1d2)](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xa7;let f=c[d];return f;},a77d(a,b);}const a77q=a77d;(function(a,b){const n=a77d,c=a();while(!![]){try{const d=parseInt(n(0xa9))/0x1+parseInt(n(0xcb))/0x2+-parseInt(n(0xb4))/0x3+-parseInt(n(0xc0))/0x4+parseInt(n(0xb5))/0x5+-parseInt(n(0xc1))/0x6*(-parseInt(n(0xbb))/0x7)+parseInt(n(0xd4))/0x8*(-parseInt(n(0xc4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xd5211));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a77d;if(c){const e=c[o(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const p=a77d;return a77a[p(0xd3)]()[p(0xc8)](p(0xb3))[p(0xd3)]()[p(0xcf)](a77a)[p(0xc8)](p(0xb3));});a77a();import a77e from'fs';import a77f from'path';import a77g from'http-proxy';import{Command}from'../command.js';function a77c(){const s=['maka\x20proxy','toString','8fjIsPd','\x20to\x20','.csr','575713laRsrT','error','create','help','join','readFileSync','maka\x20proxy\x20--target-host\x20http://192.168.1.20','apply','bright','createProxyServer','(((.+)+)+)+$','2183673SYFtaS','3477810OokTlm','targetHost','getConfigPath','fsi','appName','invoke','9523549bpmjPa','targetPort','localhost','utf8','sslconfig','6512012qeaBnQ','6ynUvcm','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','.key','1175481uSvDvw','proxy','findGenerator','listenPort','search','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','1455396oAghRA','isFile','genSSC','development','constructor','genCSR','listen'];a77c=function(){return s;};return a77c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a77h from'../generators/maka.gen.js';Command[a77q(0xab)]({'name':a77q(0xc5),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a77q(0xac),a77q(0xbc),a77q(0xc7),a77q(0xb6)],'maxArgLength':0x1,'shortDesc':a77q(0xc9),'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':[a77q(0xd2),a77q(0xc2),a77q(0xaf)]},async function(a,b){const r=a77q,c=this[r(0xb8)]['getProjectConfig'](),d=r(0xce),e=this[r(0xb8)][r(0xb7)](d),f=this[r(0xb8)]['mkKeysDir']({'configPath':e}),g=b[r(0xbc)]?Number(b[r(0xbc)]):0xbb8,h=b[r(0xc7)]?Number(b['listenPort']):0xd73,i=b[r(0xb6)]?b[r(0xb6)]:r(0xbd),j=a77f[r(0xad)](f,c[r(0xb9)]+r(0xc3)),k=a77f[r(0xad)](f,c[r(0xb9)]+'.crt');if(!this[r(0xb8)][r(0xcc)](j)||!this[r(0xb8)][r(0xcc)](k)){const m=a77h[r(0xc6)]('sslconfig');m&&await m[r(0xba)]([r(0xbf)],{'env':d}),SSL[r(0xd0)]({'keyName':c[r(0xb9)]+'.key','csrName':c[r(0xb9)]+r(0xa8),'cwd':f}),SSL[r(0xcd)]({'keyName':c[r(0xb9)]+r(0xc3),'crtName':c['appName']+'.crt','cwd':f});}if(g===h){Log[r(0xaa)](r(0xca));throw new UsageError();}const l={'ssl':{'key':a77e['readFileSync'](j,r(0xbe)),'cert':a77e[r(0xae)](k,r(0xbe))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a77g[r(0xb2)](l)[r(0xd1)](Number(h)),Log[r(0xb1)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+r(0xa7)+g);});
1
+ function a78c(){const s=['.key','targetPort','search','getConfigPath','184IxtATU','20XVxGPK','120834XPifbs','3340950wbzePv','727474KktJkD','development','.crt','1eNqYSD','isFile','error','maka\x20proxy','genCSR','targetHost','(((.+)+)+)+$','join','4499308tfrxxd','localhost','readFileSync','help','bright','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','toString','9204yKoScU','constructor','listen','apply','.csr','createProxyServer','invoke','fsi','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','115CMyokA','appName','genSSC','utf8','1527750xVoxYW','1365147lASBmf'];a78c=function(){return s;};return a78c();}const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x1e0))/0x1*(parseInt(n(0x1dd))/0x2)+parseInt(n(0x1fd))/0x3+-parseInt(n(0x1ef))/0x4*(-parseInt(n(0x1f8))/0x5)+-parseInt(n(0x1dc))/0x6+parseInt(n(0x1fc))/0x7+parseInt(n(0x1d9))/0x8*(-parseInt(n(0x1db))/0x9)+-parseInt(n(0x1da))/0xa*(-parseInt(n(0x1e8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x4ce26));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x1ee)]()[p(0x1d7)](p(0x1e6))[p(0x1ee)]()[p(0x1f0)](a78a)[p(0x1d7)]('(((.+)+)+)+$');});a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a78d(a,b);}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':'proxy','usage':a78q(0x1e3),'mustBeInMakaProject':!![],'validOpts':[a78q(0x1eb),'targetPort','listenPort','targetHost'],'maxArgLength':0x1,'shortDesc':a78q(0x1ed),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a78q,c=this[r(0x1f6)]['getProjectConfig'](),d=r(0x1de),e=this['fsi'][r(0x1d8)](d),f=this[r(0x1f6)]['mkKeysDir']({'configPath':e}),g=b[r(0x1d6)]?Number(b[r(0x1d6)]):0xbb8,h=b['listenPort']?Number(b['listenPort']):0xd73,i=b[r(0x1e5)]?b[r(0x1e5)]:r(0x1e9),j=a78f['join'](f,c['appName']+r(0x1fe)),k=a78f[r(0x1e7)](f,c[r(0x1f9)]+r(0x1df));if(!this['fsi'][r(0x1e1)](j)||!this['fsi'][r(0x1e1)](k)){const m=a78h['findGenerator']('sslconfig');m&&await m[r(0x1f5)](['sslconfig'],{'env':d}),SSL[r(0x1e4)]({'keyName':c[r(0x1f9)]+r(0x1fe),'csrName':c['appName']+r(0x1f3),'cwd':f}),SSL[r(0x1fa)]({'keyName':c[r(0x1f9)]+'.key','crtName':c['appName']+r(0x1df),'cwd':f});}if(g===h){Log[r(0x1e2)](r(0x1f7));throw new UsageError();}const l={'ssl':{'key':a78e[r(0x1ea)](j,r(0x1fb)),'cert':a78e[r(0x1ea)](k,r(0x1fb))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x1f4)](l)[r(0x1f1)](Number(h)),Log[r(0x1ec)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x8e))/0x1+parseInt(n(0xa9))/0x2+-parseInt(n(0x99))/0x3*(parseInt(n(0x8b))/0x4)+parseInt(n(0x9b))/0x5+-parseInt(n(0x8a))/0x6+parseInt(n(0x9c))/0x7+-parseInt(n(0xa3))/0x8*(parseInt(n(0xb1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x50dfb));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x98)]()[p(0xae)](p(0xaf))[p(0x98)]()[p(0x91)](a78a)[p(0xae)](p(0xaf));});a78a();import a78e from'fs';import a78f from'path';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x87;let f=c[d];return f;},a78d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a78c(){const s=['ssh.json','fsi','688pIRHem','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','maka\x20reconfig','apply','~/pm2.config.js','readFileSync','1232338ktYyyL','~/ses.json','settings.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20reconfig\x20--env\x20prod','search','(((.+)+)+)+$','parse','17883wJeOdA','pm2\x20delete\x20all','reconfig','create','1836300taxurY','152IHXlbu','pm2.config.js','ses.json','55381ZIZlMo','Remote\x20host\x20connection\x20successful','ssh','constructor','existsSync','~/settings.json','join','scp','ping','notice','toString','20931rHnkdZ','uname\x20-a','1138745ieTshe','1993460BocHAc','success','assign','error','\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'];a78c=function(){return s;};return a78c();}Command[a78q(0x89)]({'name':a78q(0x88),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a78q(0xa5),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a78q(0xa0),'examples':[a78q(0xad)]},async function(a,b){const r=a78q;try{const c=this[r(0xa2)]['getConfigPath'](b['env']),d=a78f[r(0x94)](c,r(0xa1)),f=a78e[r(0xa8)](d)[r(0x98)](),g=JSON[r(0xb0)](f);Object[r(0x9e)](g,{'env':c}),Log[r(0x97)]('Checking\x20remote\x20host\x20availability');const h=SSH[r(0x96)](r(0x9a),g);if(!h)throw r(0xac);if(h)Log[r(0x9d)](r(0x8f));const i=a78f['join'](c,'_keys',r(0x8d));if(a78e[r(0x92)](i)){const l={'source':i,'dest':r(0xaa),'verbose':!![]};SSH[r(0x95)](l,{...g});}const j=a78f['join'](c,r(0x8c));SSH[r(0x95)]({'source':j,'dest':r(0xa7),'verbose':!![]},{...g});const k=a78f[r(0x94)](c,r(0xab));SSH[r(0x95)]({'source':k,'dest':r(0x93),'verbose':!![]},{...g}),SSH['sshSync'](r(0x87),g),await SSH[r(0x90)](r(0xa4),{...g},{'verbose':!![]});}catch(m){console[r(0x9f)](m),process['exit'](0x0);}});
1
+ const a79q=a79d;function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x99;let f=c[d];return f;},a79d(a,b);}(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0xad))/0x1+parseInt(n(0x9f))/0x2*(parseInt(n(0x9b))/0x3)+parseInt(n(0x9e))/0x4+parseInt(n(0xa6))/0x5+-parseInt(n(0xab))/0x6*(parseInt(n(0xb9))/0x7)+-parseInt(n(0xa5))/0x8*(-parseInt(n(0xa1))/0x9)+parseInt(n(0x9c))/0xa*(parseInt(n(0xbd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x6a45f));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0xbf)]()[p(0xa2)]('(((.+)+)+)+$')['toString']()[p(0x99)](a79a)[p(0xa2)](p(0xb6));});a79a();import a79e from'fs';import a79f from'path';function a79c(){const s=['ping','notice','create','6NjURIt','Checking\x20remote\x20host\x20availability','702343KGMQVF','exit','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','apply','ses.json','pm2.config.js','Remote\x20host\x20connection\x20successful','maka\x20reconfig','settings.json','(((.+)+)+)+$','sshSync','\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','5002221UNgnyN','assign','uname\x20-a','success','1745084VHewjf','scp','toString','constructor','~/ses.json','3HrHzoU','40DImrII','~/pm2.config.js','5260nuDmAy','980300odzkxC','existsSync','25083dbSYEi','search','env','reconfig','848dDbiFs','2153890lzIXiq','join'];a79c=function(){return s;};return a79c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0xaa)]({'name':a79q(0xa4),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a79q(0xb4),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a79q(0xb8),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a79q;try{const c=this['fsi']['getConfigPath'](b[r(0xa3)]),d=a79f[r(0xa7)](c,'ssh.json'),f=a79e['readFileSync'](d)['toString'](),g=JSON['parse'](f);Object[r(0xba)](g,{'env':c}),Log[r(0xa9)](r(0xac));const h=SSH[r(0xa8)](r(0xbb),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0xbc)](r(0xb3));const i=a79f[r(0xa7)](c,'_keys',r(0xb1));if(a79e[r(0xa0)](i)){const l={'source':i,'dest':r(0x9a),'verbose':!![]};SSH[r(0xbe)](l,{...g});}const j=a79f[r(0xa7)](c,r(0xb2));SSH[r(0xbe)]({'source':j,'dest':r(0x9d),'verbose':!![]},{...g});const k=a79f['join'](c,r(0xb5));SSH[r(0xbe)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0xb7)]('pm2\x20delete\x20all',g),await SSH['ssh'](r(0xaf),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0xae)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a79d,c=a();while(!![]){try{var d=parseInt(f(0x121))/0x1+-parseInt(f(0x119))/0x2*(-parseInt(f(0x117))/0x3)+parseInt(f(0x11e))/0x4*(-parseInt(f(0x115))/0x5)+-parseInt(f(0x11d))/0x6+-parseInt(f(0x11a))/0x7+parseInt(f(0x11f))/0x8+-parseInt(f(0x116))/0x9*(parseInt(f(0x11b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xa88dd));function a79d(a,b){var c=a79c();return a79d=function(d,e){d=d-0x113;var f=c[d];return f;},a79d(a,b);}var a79b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a79d;if(c){var e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){var h=a79d;return a79a[h(0x114)]()[h(0x120)](h(0x113))[h(0x114)]()[h(0x11c)](a79a)['search'](h(0x113));});a79a();function a79c(){var i=['7729864PScxEn','search','713914NRjqGC','(((.+)+)+)+$','toString','5zkXdNa','2589993FQTOXV','12EvIUiW','apply','638776pviNst','1921745XITVYT','30AeKsuV','constructor','643722nkyISC','4088596inEYrJ'];a79c=function(){return i;};return a79c();}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x14a;var f=c[d];return f;},a80d(a,b);}(function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0x150))/0x1+-parseInt(f(0x14c))/0x2+parseInt(f(0x14b))/0x3+-parseInt(f(0x152))/0x4*(parseInt(f(0x14d))/0x5)+parseInt(f(0x151))/0x6+parseInt(f(0x153))/0x7+-parseInt(f(0x14e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xb0221));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0x154)]()[h(0x155)]('(((.+)+)+)+$')[h(0x154)]()['constructor'](a80a)[h(0x155)](h(0x14f));});function a80c(){var i=['157384yXVpbp','1151640DGlfcq','toString','search','apply','3653658UwcSJg','2549828tYzcJl','155nLisma','959640erhBQk','(((.+)+)+)+$','1089482jgFYHC','5184888IiSbgo'];a80c=function(){return i;};return a80c();}a80a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a80l=a80d;function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x93;let f=c[d];return f;},a80d(a,b);}(function(a,b){const i=a80d,c=a();while(!![]){try{const d=-parseInt(i(0xa3))/0x1+-parseInt(i(0xa2))/0x2*(parseInt(i(0xae))/0x3)+-parseInt(i(0xa8))/0x4+parseInt(i(0xb2))/0x5*(-parseInt(i(0xa5))/0x6)+-parseInt(i(0xb1))/0x7*(parseInt(i(0x9b))/0x8)+-parseInt(i(0x9e))/0x9+parseInt(i(0xa0))/0xa*(parseInt(i(0x9f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x20bb9));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a80d;if(c){const e=c[j(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const k=a80d;return a80a['toString']()[k(0xa7)](k(0xad))[k(0x9d)]()[k(0xaf)](a80a)[k(0xa7)](k(0xad));});a80a();import a80e from'./run.command.js';import{execSync}from'child_process';import a80f from'path';function a80c(){const n=['createFile','6846wwjOef','existsSync','search','523564USoArC','getConfigPath','join','templateContent','fsi','(((.+)+)+)+$','709971TyyUWC','constructor','\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','2513mPhWzs','1070jYbcJQ','apply','inherit','pm2.config.js','getProjectConfig','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker-compose\x20--project-directory\x20','config/docker-compose.yaml','Docker\x20Compose\x20Path:\x20','notice','920aIJIhR','maka\x20run\x20docker','toString','707661UVjVCm','29095wlwafk','3470icxvqL','docker','2EfykpN','52106LtFvih'];a80c=function(){return n;};return a80c();}import a80g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':'docker','aliases':['d'],'shortDesc':a80l(0x96),'description':a80l(0xb0),'usage':a80l(0x9c),'validOpts':['']},async function(){const m=a80l;try{const a=this[m(0xac)][m(0x95)](),b=this['fsi'][m(0xa9)](m(0xa1)),c=a80f['join'](b,'docker-compose.yaml'),d=a80f[m(0xaa)](b,m(0x94));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[m(0x9a)](m(0x99)+c);if(!a80g[m(0xa6)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a['appName'])},g=this[m(0xac)][m(0xab)]({'srcPath':m(0x98),'context':f})+'\x0a';this['fsi'][m(0xa4)]({'filePath':c,'data':g});}execSync(m(0x97)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x93)});}catch(h){process['exit'](0x1);}},a80e);
1
+ function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x154;let f=c[d];return f;},a81d(a,b);}const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0x158))/0x1+-parseInt(i(0x16d))/0x2*(parseInt(i(0x176))/0x3)+parseInt(i(0x15a))/0x4*(-parseInt(i(0x156))/0x5)+-parseInt(i(0x16e))/0x6*(-parseInt(i(0x16c))/0x7)+parseInt(i(0x170))/0x8*(parseInt(i(0x168))/0x9)+-parseInt(i(0x16b))/0xa*(parseInt(i(0x174))/0xb)+parseInt(i(0x155))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x9c24b));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x160)]()[k(0x175)](k(0x15e))['toString']()['constructor'](a81a)[k(0x175)](k(0x15e));});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';function a81c(){const n=['existsSync','33574200rqxoaB','5ExRnvy','PM2\x20Config\x20File:\x20','1021573RCPrmU','create','2853980icrWIX','docker-compose\x20--project-directory\x20','join','appName','(((.+)+)+)+$','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','toString','exit','\x20up\x20--remove-orphans','apply','createFile','getProjectConfig','templateContent','fsi','86337WNBzDp','config/docker-compose.yaml','notice','944810rTZnsE','7bsWbad','2ozrXKV','1382730MjtKfm','docker-compose.yaml','128AcifMY','pm2.config.js','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','docker','11DDdBqy','search','2138043eOKbTa','getConfigPath'];a81c=function(){return n;};return a81c();}import{paramCase}from'change-case';Command[a81l(0x159)]({'name':a81l(0x173),'aliases':['d'],'shortDesc':a81l(0x15f),'description':a81l(0x172),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x167)][m(0x165)](),b=this[m(0x167)][m(0x177)](m(0x173)),c=a81f['join'](b,m(0x16f)),d=a81f[m(0x15c)](b,m(0x171));Log[m(0x16a)](m(0x157)+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a81g[m(0x154)](c)){const f={'app':a[m(0x15d)],'appFileCase':paramCase(a['appName'])},g=this['fsi'][m(0x166)]({'srcPath':m(0x169),'context':f})+'\x0a';this[m(0x167)][m(0x164)]({'filePath':c,'data':g});}execSync(m(0x15b)+b+m(0x162),{'stdio':'inherit'});}catch(h){process[m(0x161)](0x1);}},a81e);
@@ -1 +1 @@
1
- const a81u=a81d;(function(a,b){const q=a81d,c=a();while(!![]){try{const d=-parseInt(q(0xb2))/0x1+-parseInt(q(0xba))/0x2+-parseInt(q(0xc1))/0x3*(parseInt(q(0xdc))/0x4)+-parseInt(q(0xdf))/0x5*(-parseInt(q(0xbf))/0x6)+-parseInt(q(0xdb))/0x7+parseInt(q(0xa6))/0x8*(parseInt(q(0xc8))/0x9)+parseInt(q(0xbc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x60d82));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a81d;if(c){const e=c[r(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const s=a81d;return a81a[s(0xab)]()['search'](s(0xc6))[s(0xab)]()[s(0xaf)](a81a)['search'](s(0xc6));});a81a();function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xa3;let f=c[d];return f;},a81d(a,b);}import a81e from'path';import a81f from'fs';import a81g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a81c(){const x=['docker','create','rawLogs','746150PkIGXg','warn','9033700WNBWJz','fsi','getConfigPath','6YgqXtq','run','390BWuxTv','Meteor\x20Settings:\x20','env','--settings','settings','(((.+)+)+)+$','app','9aLkphz','split','splice','notice','isDirectory','ios','exclude-archs','inspect','port','isFile','apply','invokeMeteorCommand','production','mobile-server','allowIncompatibleUpdate','exit','--env','error','compareMakaToLatest','754397gTUSmo','10980CEnhIr','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Run\x20your\x20Meteor\x20application','2585345vXfsSx','forEach','\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.','--production','argv','764936LOXAet','filter','openSync','Node\x20Env\x20Config:\x20','.meteor','toString','settings.json','mobileServer','length','constructor','findProjectDirectory','concat','281686ilObYD','join','sep','process.env','extraPackages'];a81c=function(){return x;};return a81c();}const syncSource=function(a){const t=a81d;a81f[t(0xa8)](a,'r'),a81g['config']({'path':a});},Run=Command[a81u(0xb8)]({'name':a81u(0xc0),'mustBeInMakaProject':!![],'shortDesc':a81u(0xde),'description':a81u(0xa3),'validOpts':[a81u(0xc3),'docker','r',a81u(0xb9),'p',a81u(0xd0),'i',a81u(0xcf),'m',a81u(0xad),'v','verbose',a81u(0xd6),a81u(0xb6),'x',a81u(0xce),a81u(0xd4)]},async function(a,b){const v=a81u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);if(c===v(0xcd)){const m=this[v(0xbd)][v(0xb0)](),n=a81e[v(0xb3)](m,v(0xc7),v(0xaa),'local','cordova-build');this[v(0xbd)][v(0xcc)](n)&&await rimraf(n);}if(b[v(0xd5)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this[v(0xbd)][v(0xda)]();const f=b[v(0xc3)]?b[v(0xc3)]:'development',g=this[v(0xbd)][v(0xbe)](f),h=a81e[v(0xb3)](g,v(0xb5));let i=a81e['join'](g,'settings.json');b[v(0xc5)]?i=b[v(0xc5)]:i=a81e['join'](g,v(0xac));if(this[v(0xbd)]['isFile'](h)&&!b[v(0xb7)])Log[v(0xcb)](v(0xa9)+h),syncSource(h);else!b[v(0xb7)]&&Log[v(0xbb)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this['fsi'][v(0xd1)](i)?(Log[v(0xcb)](v(0xc2)+i),a=a['concat']([v(0xc4),i])):Log['warn'](v(0xdd)+i);const j=g[v(0xc9)](a81e[v(0xb4)]),k=j[j[v(0xae)]-0x1];k===v(0xd4)&&a['push'](v(0xa4));const l=process[v(0xa5)]['slice'](0x2)[v(0xa7)](o=>o!==v(0xc0))[v(0xa7)](o=>o!==a[0x0]);l[v(0xe0)]((o,p)=>{const w=v;o===w(0xd8)&&l[w(0xca)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0xbd)][v(0xd3)](v(0xc0),a[v(0xb1)](l));}catch(o){console[v(0xd9)](o),process[v(0xd7)](0x1);}});export default Run;
1
+ const a82u=a82d;function a82c(){const x=['slice','toString','length','797871aMwjRl','env','process.env','local','docker','port','split','4842000dvdcuM','rawLogs','6030240GbFnTN','113505Smlbrt','run','filter','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','109701ebRjKm','error','warn','splice','invokeMeteorCommand','argv','68iswpGo','2033654GlSrXz','getConfigPath','openSync','notice','exclude-archs','370472VrZkZw','join','(((.+)+)+)+$','create','cordova-build','410EkbNfQ','concat','2LEEylr','production','--env','isFile','findSubCommand','development','search','extraPackages','constructor','.meteor','push','fsi','--settings','verbose','apply','exit','compareMakaToLatest','mobileServer','settings.json','settings','Run\x20your\x20Meteor\x20application','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)','inspect'];a82c=function(){return x;};return a82c();}(function(a,b){const q=a82d,c=a();while(!![]){try{const d=parseInt(q(0xdf))/0x1*(-parseInt(q(0xd8))/0x2)+parseInt(q(0xf9))/0x3+parseInt(q(0xd2))/0x4*(parseInt(q(0xc8))/0x5)+-parseInt(q(0xc5))/0x6+-parseInt(q(0xd3))/0x7+parseInt(q(0xc7))/0x8+parseInt(q(0xcc))/0x9*(parseInt(q(0xdd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x6aca1));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a82d;if(c){const e=c[r(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const s=a82d;return a82a[s(0xf7)]()[s(0xe5)]('(((.+)+)+)+$')['toString']()[s(0xe7)](a82a)['search'](s(0xda));});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xc1;let f=c[d];return f;},a82d(a,b);}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(0xd5)](a,'r'),a82g['config']({'path':a});},Run=Command[a82u(0xdb)]({'name':a82u(0xc9),'mustBeInMakaProject':!![],'shortDesc':a82u(0xf3),'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(0xfa),a82u(0xc2),'r',a82u(0xc6),'p',a82u(0xc3),'i',a82u(0xf5),'m',a82u(0xf0),'v',a82u(0xec),'allowIncompatibleUpdate',a82u(0xe6),'x',a82u(0xd7),a82u(0xe0)]},async function(a,b){const v=a82u;try{const c=a[0x0],d=this[v(0xe3)](c);d&&this['runSubCommand'](c,a,b);if(c==='ios'){const m=this[v(0xea)]['findProjectDirectory'](),n=a82e[v(0xd9)](m,'app',v(0xe8),v(0xc1),v(0xdc));this['fsi']['isDirectory'](n)&&await rimraf(n);}if(b['mobile-server']&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw v(0xf4);await this[v(0xea)][v(0xef)]();const f=b[v(0xfa)]?b[v(0xfa)]:v(0xe4),g=this[v(0xea)][v(0xd4)](f),h=a82e[v(0xd9)](g,v(0xfb));let i=a82e[v(0xd9)](g,'settings.json');b[v(0xf2)]?i=b['settings']:i=a82e[v(0xd9)](g,v(0xf1));if(this[v(0xea)][v(0xe2)](h)&&!b[v(0xc2)])Log[v(0xd6)]('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b[v(0xc2)]&&Log[v(0xce)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[v(0xea)][v(0xe2)](i)?(Log[v(0xd6)]('Meteor\x20Settings:\x20'+i),a=a[v(0xde)]([v(0xeb),i])):Log[v(0xce)](v(0xcb)+i);const j=g[v(0xc4)](a82e['sep']),k=j[j[v(0xf8)]-0x1];k===v(0xe0)&&a[v(0xe9)]('--production');const l=process[v(0xd1)][v(0xf6)](0x2)['filter'](o=>o!==v(0xc9))[v(0xca)](o=>o!==a[0x0]);l['forEach']((o,p)=>{const w=v;o===w(0xe1)&&l[w(0xcf)](p,0x2),o==='-e'&&l[w(0xcf)](p,0x2);}),this[v(0xea)][v(0xd0)](v(0xc9),a['concat'](l));}catch(o){console[v(0xcd)](o),process[v(0xee)](0x1);}});export default Run;
@@ -1 +1 @@
1
- function a82d(a,b){var c=a82c();return a82d=function(d,e){d=d-0x1ec;var f=c[d];return f;},a82d(a,b);}function a82c(){var i=['apply','search','2qGgoYz','902115djMGPn','334662QNDyvV','1566300yhneqH','186958TOptCI','35aEFkqE','2402152NRScxr','toString','36100WUnWiT','217068oGAqoJ','(((.+)+)+)+$','constructor'];a82c=function(){return i;};return a82c();}(function(a,b){var f=a82d,c=a();while(!![]){try{var d=-parseInt(f(0x1ef))/0x1*(-parseInt(f(0x1f3))/0x2)+parseInt(f(0x1f1))/0x3+parseInt(f(0x1f7))/0x4+-parseInt(f(0x1f2))/0x5+-parseInt(f(0x1f8))/0x6*(parseInt(f(0x1f4))/0x7)+parseInt(f(0x1f5))/0x8+parseInt(f(0x1f0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x34383));var a82b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a82d;if(c){var e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){var h=a82d;return a82a['toString']()[h(0x1ee)](h(0x1f9))[h(0x1f6)]()[h(0x1ec)](a82a)['search']('(((.+)+)+)+$');});a82a();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(0x139))/0x1+-parseInt(f(0x136))/0x2*(parseInt(f(0x142))/0x3)+-parseInt(f(0x140))/0x4*(parseInt(f(0x13e))/0x5)+-parseInt(f(0x138))/0x6+-parseInt(f(0x13c))/0x7+-parseInt(f(0x13d))/0x8+parseInt(f(0x143))/0x9*(parseInt(f(0x13b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xed6fc));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x13a)]()[h(0x137)](h(0x141))[h(0x13a)]()[h(0x13f)](a83a)[h(0x137)]('(((.+)+)+)+$');});a83a();function a83c(){var i=['toString','4460tklQON','11821663TKnxei','4270792BvlSAC','3925BGUGmd','constructor','9516TeKzuL','(((.+)+)+)+$','9432SjAYfQ','108090qDSTof','apply','44pxInhv','search','7206132DvAgIe','976443JlORhE'];a83c=function(){return i;};return a83c();}import'./set.command.js';import'./global.sub.cmd.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x135;var f=c[d];return f;},a83d(a,b);}import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xc2;let f=c[d];return f;},a83d(a,b);}const a83k=a83d;function a83c(){const m=['3559548PMrnZf','683505BaYPSr','Set\x20CA\x20Cert\x20Path:\x20','help','Set\x20workspace:\x20','fsi','1158MydUBL','constructor','5doLYlU','maka\x20set:global-config\x20--cacert\x20<path>','9913662mSChmC','maka\x20set:gc\x20--insecure\x20<path>','20SDACRF','apply','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','91CzRjnd','create','search','setGlobalConfig','5411yzWGur','disallowInsecure','18bixvmq','toString','resolve','workspace','2pqqtjH','isFile','maka\x20set:gc\x20--workspace\x20<path>','256280hvZhhy','cacert','(((.+)+)+)+$','error','Set\x20global\x20Maka-CLI\x20settings','isDirectory','Set\x20allowInsecure:\x20','allowInsecure','success','4891020WnIhaL','921177vMGuNV','global-config','One\x20or\x20the\x20other\x20buddy','exit'];a83c=function(){return m;};return a83c();}(function(a,b){const h=a83d,c=a();while(!![]){try{const d=parseInt(h(0xcb))/0x1+parseInt(h(0xe3))/0x2*(parseInt(h(0xc6))/0x3)+-parseInt(h(0xca))/0x4*(-parseInt(h(0xd2))/0x5)+-parseInt(h(0xd0))/0x6*(-parseInt(h(0xdd))/0x7)+parseInt(h(0xe6))/0x8*(-parseInt(h(0xdf))/0x9)+-parseInt(h(0xd6))/0xa*(-parseInt(h(0xd4))/0xb)+parseInt(h(0xc5))/0xc*(-parseInt(h(0xd9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xdf60f));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a83d;if(c){const e=c[i(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const j=a83d;return a83a[j(0xe0)]()[j(0xdb)]('(((.+)+)+)+$')['toString']()[j(0xd1)](a83a)[j(0xdb)](j(0xe8));});a83a();import a83e from'path';import a83f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a83k(0xda)]({'name':a83k(0xc7),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert','allowInsecure',a83k(0xde),'workspace',a83k(0xcd)],'shortDesc':a83k(0xea),'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\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','examples':[a83k(0xd3),a83k(0xd5),a83k(0xe5)]},async function(a,b){const l=a83k;try{if(b['cacert']){if(this[l(0xcf)][l(0xe4)](b[l(0xe7)]))this[l(0xcf)][l(0xdc)]({'cert':b['cacert']}),Log[l(0xc4)](l(0xcc)+b['cacert']);else{const c=typeof b[l(0xe7)]==='boolean'?l(0xd8):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b['cacert'];throw Log[l(0xe9)](c);}}if(b[l(0xe2)]){const d=this[l(0xcf)][l(0xeb)](b['workspace']);if(d)this[l(0xcf)][l(0xdc)]({'workspace':a83e[l(0xe1)](b['workspace'])}),Log[l(0xc4)](l(0xce)+a83e[l(0xe1)](b['workspace']));else throw Log[l(0xe9)]('Could\x20not\x20find\x20directory');}if(b[l(0xc3)]){if(b['allowInsecure']&&b[l(0xde)])throw Log['error'](l(0xc8));let f=b[l(0xc3)];b[l(0xde)]&&(f=![]),this[l(0xcf)][l(0xdc)]({'allowInsecure':f}),Log[l(0xc4)](l(0xc2)+f);}}catch(g){console[l(0xe9)](g),process[l(0xc9)](0x0);}},a83f);
1
+ const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x193))/0x1+parseInt(h(0x184))/0x2*(parseInt(h(0x188))/0x3)+parseInt(h(0x197))/0x4*(parseInt(h(0x183))/0x5)+parseInt(h(0x18a))/0x6*(-parseInt(h(0x19f))/0x7)+-parseInt(h(0x1a1))/0x8+-parseInt(h(0x178))/0x9+parseInt(h(0x191))/0xa*(parseInt(h(0x179))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x85cab));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0x1a0)]()['search'](j(0x17c))['toString']()[j(0x185)](a84a)['search'](j(0x17c));});a84a();import a84e from'path';function a84c(){const m=['toString','8665720WMZsMm','Set\x20CA\x20Cert\x20Path:\x20','9484452cgLyQt','37004539cYUkfy','fsi','boolean','(((.+)+)+)+$','maka\x20set:gc\x20--insecure\x20<path>','isFile','allowInsecure','maka\x20set:global-config\x20<args>','openai','maka\x20set:gc\x20--workspace\x20<path>','708370MJigUV','240814PvkIdb','constructor','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','error','15GUTSqo','Set\x20global\x20Maka-CLI\x20settings','6XYegOj','help','isDirectory','setGlobalConfig','success','exit','disallowInsecure','10FzQgpd','global-config','477610FMHFYI','cacert','One\x20or\x20the\x20other\x20buddy','Set\x20allowInsecure:\x20','4gDKRYL','apply','create','Could\x20not\x20find\x20directory','workspace','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','resolve','Set\x20workspace:\x20','6615658HzrHtu'];a84c=function(){return m;};return a84c();}import a84f from'./set.command.js';import{Command}from'../../command.js';function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x177;let f=c[d];return f;},a84d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a84k(0x199)]({'name':a84k(0x192),'usage':a84k(0x180),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert',a84k(0x17f),a84k(0x190),a84k(0x19b),a84k(0x181),a84k(0x18b)],'shortDesc':a84k(0x189),'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\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','examples':['maka\x20set:global-config\x20--cacert\x20<path>',a84k(0x17d),a84k(0x182)]},async function(a,b){const l=a84k;try{if(b['cacert']){if(this[l(0x17a)][l(0x17e)](b[l(0x194)]))this[l(0x17a)][l(0x18d)]({'cert':b[l(0x194)]}),Log[l(0x18e)](l(0x177)+b[l(0x194)]);else{const c=typeof b[l(0x194)]===l(0x17b)?l(0x19c):l(0x186)+b[l(0x194)];throw Log[l(0x187)](c);}}if(b[l(0x19b)]){const d=this[l(0x17a)][l(0x18c)](b[l(0x19b)]);if(d)this[l(0x17a)]['setGlobalConfig']({'workspace':a84e[l(0x19d)](b[l(0x19b)])}),Log[l(0x18e)](l(0x19e)+a84e[l(0x19d)](b[l(0x19b)]));else throw Log[l(0x187)](l(0x19a));}b['openai']&&(this[l(0x17a)][l(0x18d)]({'openai':b[l(0x181)]}),Log['success']('Set\x20OpenAI\x20Key:\x20'+b[l(0x181)]));if(b[l(0x17f)]){if(b['allowInsecure']&&b[l(0x190)])throw Log[l(0x187)](l(0x195));let f=b[l(0x17f)];b[l(0x190)]&&(f=![]),this[l(0x17a)][l(0x18d)]({'allowInsecure':f}),Log[l(0x18e)](l(0x196)+f);}process[l(0x18f)](0x0);}catch(g){console[l(0x187)](g),process[l(0x18f)](0x0);}},a84f);
@@ -1 +1 @@
1
- var a84i=a84d;(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x78))/0x1*(parseInt(f(0x7f))/0x2)+parseInt(f(0x79))/0x3*(-parseInt(f(0x76))/0x4)+-parseInt(f(0x71))/0x5*(-parseInt(f(0x6e))/0x6)+-parseInt(f(0x6c))/0x7*(parseInt(f(0x72))/0x8)+-parseInt(f(0x7a))/0x9+parseInt(f(0x6f))/0xa*(-parseInt(f(0x77))/0xb)+parseInt(f(0x7d))/0xc*(parseInt(f(0x7e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x39abd));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x6b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()['search'](h(0x7c))[h(0x6d)]()['constructor'](a84a)[h(0x70)](h(0x7c));});function a84c(){var k=['Sorry,\x20not\x20implemented\x20yet','(((.+)+)+)+$','48nZsdRv','4599946ayyJzD','865654cPhZjW','create','apply','448091rurYyf','toString','43524oKNNyl','10rFPsmz','search','130gGGGWR','56rPwSXo','maka\x20set:local-config\x20<opts>','notice','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','7396xWfbJK','2709487VUZYJq','1bwNcUg','171bWxuxT','1216107lLpESD'];a84c=function(){return k;};return a84c();}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x6b;var f=c[d];return f;},a84d(a,b);}a84a();import a84e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84i(0x80)]({'name':'local-config','usage':a84i(0x73),'examples':['maka\x20set:lc\x20<opts>',a84i(0x73)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a84i(0x75)},async function(){var j=a84i;Log[j(0x74)](j(0x7b));},a84e);
1
+ var a85h=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0xcb))/0x1*(-parseInt(f(0xc2))/0x2)+-parseInt(f(0xc5))/0x3*(-parseInt(f(0xcc))/0x4)+parseInt(f(0xd2))/0x5*(-parseInt(f(0xc3))/0x6)+-parseInt(f(0xd1))/0x7+-parseInt(f(0xc0))/0x8*(parseInt(f(0xd4))/0x9)+-parseInt(f(0xce))/0xa+parseInt(f(0xc7))/0xb*(parseInt(f(0xc9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x254ee));var a85b=(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;};}()),a85a=a85b(this,function(){var g=a85d;return a85a['toString']()[g(0xc8)]('(((.+)+)+)+$')[g(0xca)]()[g(0xcd)](a85a)[g(0xc8)](g(0xd3));});a85a();function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0xc0;var f=c[d];return f;},a85d(a,b);}import a85e from'./set.command.js';function a85c(){var j=['224328otHGRe','create','2iXuMCn','48EqwzBu','maka\x20set:lc\x20<opts>','30tcrJtm','maka\x20set:local-config\x20<opts>','11iNSfsx','search','6989616uHIFdw','toString','215773QouCqF','46484ApumyI','constructor','1291670SYBnmi','Set\x20local\x20maka\x20app\x20settings','notice','2110192cBTlmR','101730ExGiMC','(((.+)+)+)+$','54fvqERM','local-config'];a85c=function(){return j;};return a85c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85h(0xc1)]({'name':a85h(0xd5),'usage':a85h(0xc6),'examples':[a85h(0xc4),'maka\x20set:local-config\x20<opts>'],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85h(0xcf),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var i=a85h;Log[i(0xd0)]('Sorry,\x20not\x20implemented\x20yet');},a85e);
@@ -1 +1 @@
1
- function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x101;let f=c[d];return f;},a85d(a,b);}const a85i=a85d;(function(a,b){const f=a85d,c=a();while(!![]){try{const d=-parseInt(f(0x105))/0x1+-parseInt(f(0x107))/0x2+-parseInt(f(0x10e))/0x3*(parseInt(f(0x104))/0x4)+parseInt(f(0x101))/0x5*(-parseInt(f(0x10a))/0x6)+-parseInt(f(0x109))/0x7+-parseInt(f(0x111))/0x8+-parseInt(f(0x10d))/0x9*(-parseInt(f(0x106))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xe2780));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a85d;if(c){const e=c[g(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const h=a85d;return a85a[h(0x103)]()['search'](h(0x108))[h(0x103)]()[h(0x10c)](a85a)['search']('(((.+)+)+)+$');});function a85c(){const k=['1729518BcCpyh','create','constructor','5598nOsGOG','9dMFFKR','maka\x20set:<sub-command>\x20<opts>','apply','5960648kkFRAk','set','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','15MzjfRE','help','toString','116932CXiFgn','1545923eBbohj','92990FOgHmw','2973668IiXuoA','(((.+)+)+)+$','882462jnbbyb'];a85c=function(){return k;};return a85c();}a85a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a85i(0x10b)]({'name':a85i(0x112),'usage':a85i(0x10f),'minArgLength':0x1,'shortDesc':a85i(0x113),'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 j=a85i,c=a[0x0];if(b[j(0x102)])throw new UsageError();const d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
1
+ const a86i=a86d;function a86c(){const k=['10970CcIEkS','675KXCdKF','maka\x20set:<sub-command>\x20<opts>','apply','230490QNDBSq','help','18475NhReHS','search','\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','runSubCommand','423ZEefPA','458150JAvlyb','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','toString','constructor','188nqgYnh','187751ftMYre','462464shxjsu','2Iqatlk'];a86c=function(){return k;};return a86c();}(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x118))/0x1*(-parseInt(f(0x106))/0x2)+-parseInt(f(0x108))/0x3+-parseInt(f(0x117))/0x4*(parseInt(f(0x10d))/0x5)+parseInt(f(0x10b))/0x6+parseInt(f(0x113))/0x7+parseInt(f(0x105))/0x8+parseInt(f(0x112))/0x9*(-parseInt(f(0x107))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x1e447));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x115)]()['search']('(((.+)+)+)+$')[h(0x115)]()[h(0x116)](a86a)[h(0x10e)]('(((.+)+)+)+$');});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x105;let f=c[d];return f;},a86d(a,b);}const SetCommand=Command[a86i(0x110)]({'name':'set','usage':a86i(0x109),'minArgLength':0x1,'shortDesc':a86i(0x114),'description':a86i(0x10f),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0x10c)])throw new UsageError();const d=this['findSubCommand'](c);d&&this[j(0x111)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xb8;let f=c[d];return f;},a86d(a,b);}const a86m=a86d;(function(a,b){const j=a86d,c=a();while(!![]){try{const d=parseInt(j(0xd5))/0x1+parseInt(j(0xcc))/0x2*(parseInt(j(0xc6))/0x3)+parseInt(j(0xb9))/0x4*(-parseInt(j(0xc4))/0x5)+parseInt(j(0xbf))/0x6+parseInt(j(0xc9))/0x7+parseInt(j(0xb8))/0x8+-parseInt(j(0xbe))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x69dd3));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a86d;if(c){const e=c[k(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const l=a86d;return a86a['toString']()[l(0xc7)]('(((.+)+)+)+$')['toString']()[l(0xc1)](a86a)[l(0xc7)](l(0xcd));});a86a();import a86e from'fs';import a86f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a86c(){const o=['865362GUxlmQ','readFileSync','constructor','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','length','752655ynLiHs','maka\x20ssh\x20--env\x20staging','36ldLXfG','search','env','123389WpDgiv','assign','maka\x20ssh\x20--env\x20prod','84764qocenU','(((.+)+)+)+$','maka\x20ssh\x20<command>','parse','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','getConfigPath','maka\x20ssh\x20--env\x20dev','error','244559dRvURr','join','1602200cKfegl','4VDMckL','create','ssh.json','apply','toString','4780098tfbFIq'];a86c=function(){return o;};return a86c();}Command[a86m(0xba)]({'name':'ssh','usage':a86m(0xce),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a86m(0xc8),'v'],'shortDesc':a86m(0xd1),'examples':[a86m(0xd3),a86m(0xc5),a86m(0xcb),a86m(0xc2),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a86m(0xd0)]},async function(a,b){const n=a86m;try{const c=this['fsi'][n(0xd2)](b[n(0xc8)]);let d='';a[n(0xc3)]>0x0&&(d=a[0x0]);const f=a86f[n(0xd6)](c,n(0xbb)),g=a86e[n(0xc0)](f)[n(0xbd)](),h=JSON[n(0xcf)](g);Object[n(0xca)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xd4)](i),process['exit'](0x0);}});
1
+ const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=parseInt(j(0xe5))/0x1*(-parseInt(j(0xe9))/0x2)+-parseInt(j(0xea))/0x3*(-parseInt(j(0xe4))/0x4)+-parseInt(j(0xda))/0x5+parseInt(j(0xee))/0x6*(parseInt(j(0xe2))/0x7)+-parseInt(j(0xf3))/0x8+-parseInt(j(0xf1))/0x9+parseInt(j(0xe8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x29207));function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xd7;let f=c[d];return f;},a87d(a,b);}const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0xf2)]()['search'](l(0xd7))['toString']()[l(0xde)](a87a)[l(0xf4)](l(0xd7));});a87a();import a87e from'fs';import a87f from'path';function a87c(){const o=['search','parse','(((.+)+)+)+$','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20<command>','1139220hKBaNg','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','ssh','sshSync','constructor','maka\x20ssh\x20--env\x20dev','readFileSync','fsi','7XDxDEi','maka\x20ssh\x20--env\x20prod','8VyLVuW','1vEymmr','assign','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','9431220zsJAWL','571134WppPoO','97701WIrsMn','error','exit','env','16842nNiaxH','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','1443897ZQDZfO','toString','1350112iwdgLv'];a87c=function(){return o;};return a87c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a87m(0xdc),'usage':a87m(0xd9),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0xed)],'validOpts':['env','v'],'shortDesc':a87m(0xe7),'examples':[a87m(0xdf),a87m(0xd8),a87m(0xe3),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a87m(0xf0),a87m(0xdb)]},async function(a,b){const n=a87m;try{const c=this[n(0xe1)]['getConfigPath'](b[n(0xed)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a87f['join'](c,'ssh.json'),g=a87e[n(0xe0)](f)['toString'](),h=JSON[n(0xf5)](g);Object[n(0xe6)](h,{'env':c}),SSH[n(0xdd)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xeb)](i),process[n(0xec)](0x0);}});
@@ -1 +1 @@
1
- const a87y=a87d;(function(a,b){const v=a87d,c=a();while(!![]){try{const d=parseInt(v(0xa6))/0x1*(parseInt(v(0xb9))/0x2)+-parseInt(v(0xdb))/0x3+parseInt(v(0xba))/0x4+-parseInt(v(0xbe))/0x5+-parseInt(v(0x9f))/0x6+-parseInt(v(0xc2))/0x7*(-parseInt(v(0xb5))/0x8)+parseInt(v(0xd9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xcded2));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a87d;if(c){const e=c[w(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const x=a87d;return a87a[x(0xb4)]()['search']('(((.+)+)+)+$')[x(0xb4)]()[x(0xd8)](a87a)[x(0xbd)]('(((.+)+)+)+$');});a87a();import a87e from'fs';import a87f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a87c(){const A=['27756dWPrUo','parse','.csr','join','ssh','genSSC','generate-ssc','writeFileSync','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','getProjectConfig','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','create','uname\x20-a','env','toString','885424hXZWgn','domains','ssl','New\x20CSR\x20written\x20to\x20','94aqynTN','1874088yeLMOd','apply','ask','search','434375OCzgUx','Checking\x20remote\x20host\x20availability','Remote\x20host\x20connection\x20successful','letsencrypt.json','7bMgvKC','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','exit','maka\x20ssl\x20--env\x20dev\x20generate-csr','fsi','appName','generate-csr','Create\x20and\x20manage\x20your\x20SSL\x20operations.','genCSR','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Using\x20saved\x20letsencrypt\x20config','\x20--email\x20','.key','maka\x20ssl\x20[command]','Please\x20provide\x20a\x20command.','success','readFileSync','stringify','Email\x20to\x20use\x20for\x20auto-updates:\x20','.crt','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','constructor','8958600GDeegi','email','4254204ZKAPep','3184290OiYtGK','getConfigPath','notice','emailUpdate','/ssh.json','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','existsSync'];a87c=function(){return A;};return a87c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x9f;let f=c[d];return f;},a87d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';Command[a87y(0xb1)]({'name':a87y(0xb7),'usage':a87y(0xd0),'validOpts':[a87y(0xb6),'email'],'requiredOpts':[a87y(0xb3)],'shortDesc':a87y(0xc9),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a87y(0xc5),a87y(0xd7),a87y(0xc3)]},async function(a,b){const z=a87y,c=this[z(0xc6)][z(0xaf)](),d=this[z(0xc6)][z(0xa0)](b['env']),f=this[z(0xc6)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xc8))SSL[z(0xca)]({'keyName':c[z(0xc7)]+z(0xcf),'csrName':c[z(0xc7)]+z(0xa8),'cwd':f});else{if(g===z(0xac)){if(!a87e[z(0xa5)](a87f[z(0xa9)](f,c['appName']+z(0xcf))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a87f['join'](f,c[z(0xc7)]+z(0xcf));if(!a87e['existsSync'](a87f[z(0xa9)](f,c[z(0xc7)]+'.csr')))throw z(0xa4)+a87f[z(0xa9)](f,c['appName']+'.csr');SSL[z(0xab)]({'keyName':c[z(0xc7)]+z(0xcf),'crtName':c[z(0xc7)]+z(0xd6),'cwd':f}),Log[z(0xa1)](z(0xb8)+f);}else{if(g==='letsencrypt'){let h=b[z(0xb6)],i=b['email'];try{const p=a87e[z(0xd3)](a87f[z(0xa9)](d,z(0xc1)))[z(0xb4)](),q=JSON[z(0xa7)](p);h=b[z(0xb6)]?b[z(0xb6)]:q['domainNames'],i=b[z(0xda)]?b['email']:q[z(0xa2)],(!b['email']||!b[z(0xb6)])&&Log[z(0xa1)](z(0xcd));}catch(r){}const j=JSON[z(0xa7)](a87e[z(0xd3)](d+z(0xa3))[z(0xb4)]());Object['assign'](j,{'env':d}),Log[z(0xa1)](z(0xbf));try{const s=SSH['ping'](z(0xb2),j);if(!s)throw z(0xcc);if(s)Log[z(0xd2)](z(0xc0));}catch(t){Log[z(0xcb)](t);return;}const k=Log['withSpinner']();k['start']('Verifying\x20Letsencrypt\x20configuration'),SSH['ssh'](z(0xae),{...j}),SSH[z(0xaa)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0xaa)](z(0xb0),{...j}),k['success']();const l=h?h:await Actions[z(0xbc)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0xbc)](z(0xd5));SSH['ssh']('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0xce)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xd4)](n,null,0x2);a87e[z(0xad)](a87f[z(0xa9)](d,z(0xc1)),o);}else throw z(0xd1);}}}catch(u){console[z(0xcb)](u),process[z(0xc4)](0x0);}});
1
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=parseInt(v(0x17e))/0x1*(parseInt(v(0x192))/0x2)+parseInt(v(0x16a))/0x3*(-parseInt(v(0x197))/0x4)+-parseInt(v(0x17b))/0x5*(-parseInt(v(0x1a0))/0x6)+parseInt(v(0x17d))/0x7+-parseInt(v(0x199))/0x8+parseInt(v(0x17c))/0x9*(-parseInt(v(0x189))/0xa)+parseInt(v(0x167))/0xb*(parseInt(v(0x1a4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x880ba));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a['toString']()[x(0x173)](x(0x196))[x(0x183)]()[x(0x188)](a88a)[x(0x173)](x(0x196));});a88a();function a88c(){const A=['Checking\x20remote\x20host\x20availability','exit','domains','mkKeysDir','50934NBeVmJ','ssh','env','Using\x20saved\x20letsencrypt\x20config','(((.+)+)+)+$','8956yqNxzc','success','3743288fiZhcs','[?]\x20Domains\x20to\x20register:\x20','join','sudo\x20snap\x20install\x20--classic\x20certbot','apply','maka\x20ssl\x20[command]','withSpinner','6BqORWZ','ask','\x20--email\x20','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','1860kYWxgR','generate-csr','Remote\x20host\x20connection\x20successful','.csr','existsSync','30052YjPpQB','domainNames','stringify','1143fXdNOP','generate-ssc','assign','parse','New\x20CSR\x20written\x20to\x20','letsencrypt.json','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','.crt','search','email','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','.key','maka\x20ssl\x20--env\x20dev\x20generate-csr','writeFileSync','ssl','Verifying\x20Letsencrypt\x20configuration','5548700yfzEMV','3231qdymEQ','3207092PUbExO','19YgPKac','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','readFileSync','appName','emailUpdate','toString','fsi','notice','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','constructor','16630KLWHnd','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','genCSR','create'];a88c=function(){return A;};return a88c();}import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x163;let f=c[d];return f;},a88d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a88y(0x18d)]({'name':a88y(0x179),'usage':a88y(0x19e),'validOpts':[a88y(0x190),a88y(0x174)],'requiredOpts':[a88y(0x194)],'shortDesc':a88y(0x171),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x177),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a88y(0x18b)]},async function(a,b){const z=a88y,c=this[z(0x184)]['getProjectConfig'](),d=this['fsi']['getConfigPath'](b[z(0x194)]),f=this['fsi'][z(0x191)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x163))SSL[z(0x18c)]({'keyName':c[z(0x181)]+z(0x176),'csrName':c['appName']+'.csr','cwd':f});else{if(g===z(0x16b)){if(!a88e[z(0x166)](a88f[z(0x19b)](f,c[z(0x181)]+'.key')))throw z(0x175)+a88f['join'](f,c[z(0x181)]+z(0x176));if(!a88e[z(0x166)](a88f[z(0x19b)](f,c[z(0x181)]+z(0x165))))throw z(0x1a3)+a88f[z(0x19b)](f,c[z(0x181)]+z(0x165));SSL['genSSC']({'keyName':c['appName']+z(0x176),'crtName':c[z(0x181)]+z(0x172),'cwd':f}),Log['notice'](z(0x16e)+f);}else{if(g==='letsencrypt'){let h=b['domains'],i=b[z(0x174)];try{const p=a88e['readFileSync'](a88f[z(0x19b)](d,z(0x16f)))['toString'](),q=JSON[z(0x16d)](p);h=b['domains']?b[z(0x190)]:q[z(0x168)],i=b[z(0x174)]?b[z(0x174)]:q[z(0x182)],(!b['email']||!b['domains'])&&Log[z(0x185)](z(0x195));}catch(r){}const j=JSON[z(0x16d)](a88e[z(0x180)](d+'/ssh.json')['toString']());Object[z(0x16c)](j,{'env':d}),Log[z(0x185)](z(0x18e));try{const s=SSH['ping']('uname\x20-a',j);if(!s)throw z(0x187);if(s)Log[z(0x198)](z(0x164));}catch(t){Log['error'](t);return;}const k=Log[z(0x19f)]();k['start'](z(0x17a)),SSH[z(0x193)](z(0x18a),{...j}),SSH[z(0x193)](z(0x19c),{...j}),SSH['ssh'](z(0x17f),{...j}),k[z(0x198)]();const l=h?h:await Actions['ask'](z(0x19a)),m=i?i:await Actions[z(0x1a1)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0x193)](z(0x170)+l+z(0x1a2)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x169)](n,null,0x2);a88e[z(0x178)](a88f[z(0x19b)](d,z(0x16f)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x186)](u),process[z(0x18f)](0x0);}});
@@ -1 +1 @@
1
- const a88o=a88d;(function(a,b){const m=a88d,c=a();while(!![]){try{const d=-parseInt(m(0x16a))/0x1*(-parseInt(m(0x170))/0x2)+-parseInt(m(0x15d))/0x3*(-parseInt(m(0x173))/0x4)+-parseInt(m(0x17b))/0x5+parseInt(m(0x149))/0x6*(-parseInt(m(0x15c))/0x7)+parseInt(m(0x165))/0x8+parseInt(m(0x17f))/0x9+-parseInt(m(0x16b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x71eb4));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 n=a88d;return a88a['toString']()['search'](n(0x168))['toString']()[n(0x14e)](a88a)[n(0x183)](n(0x168));});a88a();import a88e from'fs';import a88f from'path';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x148;let f=c[d];return f;},a88d(a,b);}import a88g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){a88e['openSync'](a,'r'),a88g['config']({'path':a});};Command[a88o(0x162)]({'name':a88o(0x159),'mustBeInMakaProject':!![],'validOpts':[a88o(0x177),a88o(0x172),a88o(0x154),a88o(0x15e),a88o(0x152),a88o(0x14a),a88o(0x166),a88o(0x17c),'inspect',a88o(0x153)],'usage':'maka\x20test\x20<opts>','shortDesc':a88o(0x15b),'examples':[]},function(a,b){const p=a88o;try{let c=this[p(0x14c)]['getConfigPath'](p(0x148));b[p(0x14a)]&&(c=this['fsi'][p(0x176)](b['env']));(!b[p(0x152)]||!!b[p(0x177)])&&(a=a['concat']([p(0x157)]));b[p(0x152)]&&delete b[p(0x152)];let d=b[p(0x17d)]||b[p(0x154)]||'none';if(d===p(0x14f)){const j=JSON['parse'](a88e['readFileSync'](a88f[p(0x15f)](this[p(0x14c)][p(0x16e)](),'.maka',p(0x179)),p(0x171)));if(j[p(0x167)]['test']===p(0x178))d=p(0x175);else j[p(0x167)]['test']==='mocha'&&(d=p(0x155));}if(d===p(0x14f))throw p(0x174);(!b[p(0x17d)]||!b[p(0x154)])&&(a=a[p(0x182)]([p(0x160),d]));const f=a88f['join'](c,'settings.json');this[p(0x14c)][p(0x14b)](f)?(Log[p(0x17e)]('Meteor\x20Settings:\x20'+f),a=a[p(0x182)](['--settings',f])):Log[p(0x181)](p(0x16f)+f);const g=a88f['join'](c,p(0x163));this['fsi'][p(0x14b)](g)?(Log[p(0x17e)](p(0x161)+g),syncSource(g)):Log[p(0x181)](p(0x14d)+g);const h=process[p(0x15a)][p(0x16d)](0x2)[p(0x151)](k=>k!==p(0x180))[p(0x151)](k=>k!==p(0x159))[p(0x151)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const q=p;(k===q(0x180)||k===q(0x16c))&&h['splice'](l,0x2),k===q(0x169)&&h[q(0x156)](l,0x1);});const i=b[p(0x172)]?p(0x164):p(0x159);this['fsi'][p(0x158)](i,a[p(0x182)](h));}catch(k){console[p(0x150)](k),process[p(0x17a)](0x0);}});function a88c(){const r=['port','driver-package','notice','1668798GpALAL','--env','warn','concat','search','development','5352zYAXoy','env','isFile','fsi','Cannot\x20find\x20Node\x20Environment\x20File:\x20','constructor','none','error','filter','unit','testAppPath','driver','meteortesting:mocha','splice','--full-app','invokeMeteorCommand','test','argv','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','721GXleVN','20766CuUHaV','driverPackage','join','--driver-package','Node\x20Env\x20Config:\x20','create','process.env','test-packages','1386528HAwQAg','rawLogs','engines','(((.+)+)+)+$','--packages','2nfsBXT','6644880fywHDL','--driver','slice','findProjectDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','900966NHLzww','utf8','packages','352itDqvy','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','sanjo:jasmine','getConfigPath','once','jasmine','config.json','exit','3229320rSTYiW'];a88c=function(){return r;};return a88c();}
1
+ function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a89d(a,b);}const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=-parseInt(m(0x1e0))/0x1+-parseInt(m(0x1b8))/0x2+-parseInt(m(0x1ea))/0x3+parseInt(m(0x1b1))/0x4+-parseInt(m(0x1b3))/0x5*(-parseInt(m(0x1da))/0x6)+parseInt(m(0x1d4))/0x7*(-parseInt(m(0x1e1))/0x8)+parseInt(m(0x1b9))/0x9*(parseInt(m(0x1e9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x1cc0b));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a['toString']()[o(0x1d3)](o(0x1d8))[o(0x1cc)]()[o(0x1bb)](a89a)[o(0x1d3)](o(0x1d8));});a89a();import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a89d;a89e[p(0x1e5)](a,'r'),a89g[p(0x1ae)]({'path':a});};Command[a89q(0x1df)]({'name':a89q(0x1ce),'mustBeInMakaProject':!![],'validOpts':[a89q(0x1bc),a89q(0x1ad),a89q(0x1d1),'driverPackage',a89q(0x1c5),a89q(0x1b6),a89q(0x1e3),a89q(0x1e7),a89q(0x1cd),'testAppPath'],'usage':a89q(0x1de),'shortDesc':a89q(0x1d9),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0x1c0)][r(0x1d5)](r(0x1bd));b[r(0x1b6)]&&(c=this['fsi'][r(0x1d5)](b[r(0x1b6)]));(!b[r(0x1c5)]||!!b[r(0x1bc)])&&(a=a[r(0x1e2)]([r(0x1d2)]));b['unit']&&delete b[r(0x1c5)];let d=b[r(0x1ca)]||b['driver']||r(0x1ba);if(d===r(0x1ba)){const j=JSON[r(0x1c7)](a89e['readFileSync'](a89f['join'](this[r(0x1c0)][r(0x1b7)](),r(0x1c4),'config.json'),'utf8'));if(j[r(0x1bf)][r(0x1ce)]===r(0x1c8))d=r(0x1b0);else j[r(0x1bf)]['test']===r(0x1e4)&&(d=r(0x1cb));}if(d==='none')throw r(0x1e6);(!b['driver-package']||!b['driver'])&&(a=a[r(0x1e2)]([r(0x1c1),d]));const f=a89f[r(0x1b5)](c,'settings.json');this['fsi'][r(0x1af)](f)?(Log['notice'](r(0x1b4)+f),a=a['concat']([r(0x1d7),f])):Log['warn'](r(0x1c6)+f);const g=a89f[r(0x1b5)](c,'process.env');this[r(0x1c0)][r(0x1af)](g)?(Log['notice'](r(0x1dc)+g),syncSource(g)):Log[r(0x1e8)](r(0x1c3)+g);const h=process[r(0x1c2)][r(0x1db)](0x2)[r(0x1d6)](k=>k!==r(0x1dd))[r(0x1d6)](k=>k!==r(0x1ce))[r(0x1d6)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k==='--env'||k===s(0x1c9))&&h[s(0x1be)](l,0x2),k==='--packages'&&h[s(0x1be)](l,0x1);});const i=b[r(0x1ad)]?r(0x1d0):'test';this[r(0x1c0)]['invokeMeteorCommand'](i,a[r(0x1e2)](h));}catch(k){console['error'](k),process[r(0x1cf)](0x0);}});function a89c(){const t=['70620DOhfXF','slice','Node\x20Env\x20Config:\x20','--env','maka\x20test\x20<opts>','create','56860FtRWva','1016ONyyLX','concat','rawLogs','mocha','openSync','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','port','warn','60qQYgsU','419919jRxUUW','packages','config','isFile','sanjo:jasmine','825816AbzEsN','apply','65MCndQJ','Meteor\x20Settings:\x20','join','env','findProjectDirectory','313136wZhZdM','233856eSmDKK','none','constructor','once','development','splice','engines','fsi','--driver-package','argv','Cannot\x20find\x20Node\x20Environment\x20File:\x20','.maka','unit','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','parse','jasmine','--driver','driver-package','meteortesting:mocha','toString','inspect','test','exit','test-packages','driver','--full-app','search','2436CjjdWy','getConfigPath','filter','--settings','(((.+)+)+)+$','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.'];a89c=function(){return t;};return a89c();}
@@ -1 +1 @@
1
- function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xf5;let f=c[d];return f;},a89d(a,b);}const a89m=a89d;(function(a,b){const k=a89d,c=a();while(!![]){try{const d=parseInt(k(0x110))/0x1+-parseInt(k(0xfd))/0x2*(parseInt(k(0x11d))/0x3)+parseInt(k(0x124))/0x4+-parseInt(k(0x100))/0x5*(parseInt(k(0x10d))/0x6)+parseInt(k(0x11f))/0x7*(-parseInt(k(0x11b))/0x8)+parseInt(k(0x10f))/0x9*(parseInt(k(0x111))/0xa)+parseInt(k(0xfc))/0xb*(parseInt(k(0x121))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x8f958));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 l=a89d;return a89a[l(0xf7)]()[l(0x105)]('(((.+)+)+)+$')[l(0xf7)]()[l(0x10a)](a89a)[l(0x105)](l(0x117));});a89a();function a89c(){const o=['242622MXMthe',')\x20to\x20at\x20least\x20meteor\x27s\x20(','10475883uVlbJS','222097iygqfd','10jArrzj','meteor','replace','warn','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','\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','(((.+)+)+)+$','exit','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','version','11768QagEmR','getGlobalMeteorVersion','29691yDedhv','node\x20-v','5537jsoIan','Project\x27s\x20Meteor\x20Node\x20Version\x20','1259784IRcTeR','maka\x20version','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','2183684HYyxAo','----------------------System----------------------------','bright','N/A','error','toString','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','verbose','fsi','platform','55pnOzem','118oYqJwq','win32','majestic','15zNkZTy','Project\x27s\x20Meteor\x20Version\x20','maka\x20v','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','----------------------Project----------------------------','search','notice','Maka\x20','maka\x20version\x20--verbose','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','constructor','4.5.30','System\x27s\x20Meteor\x20Version\x20'];a89c=function(){return o;};return a89c();}import{execSync}from'child_process';import a89e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a89m(0x10b)};Command['create']({'name':a89m(0x11a),'aliases':['v'],'usage':a89m(0x122),'maxArgLength':0x1,'validOpts':[a89m(0xf9)],'shortDesc':a89m(0x115),'examples':[a89m(0x102),a89m(0x122),a89m(0x108)],'description':a89m(0x116)},async function(a,b){const n=a89m;try{const c=process[n(0xfb)]===n(0xfe)?'meteor.bat':n(0x112);Log[n(0xff)](n(0x107)+pjson[n(0x11a)]);if(b[n(0xf9)]){await this['fsi']['compareMakaToLatest'](),Log['bright'](n(0x125));const d=this[n(0xfa)][n(0x11c)]();Log[n(0x126)]((n(0x10c)+d)[n(0x113)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[n(0xf7)]()[n(0x113)](/\r?\n|\r/,'')[n(0x113)]('v','');Log['bright'](n(0x109)+f);const g=execSync(n(0x11e))[n(0xf7)]()[n(0x113)](/\r?\n|\r/,'')[n(0x113)]('v','');a89e['gt'](f,g)?(Log[n(0x114)]('System\x27s\x20Node\x20Version\x20'+g),Log['warn'](n(0x103)+g+n(0x10e)+f+')')):Log['bright']('System\x27s\x20Node\x20Version\x20'+g);if(this[n(0xfa)]['isMakaProject']()){Log['bright'](n(0x104));const h=this[n(0xfa)]['getProjectMeteorVersion']();a89e['gt'](d,h)?(Log['warn'](n(0x101)+h[n(0x113)]('\x0a','')),Log[n(0x114)](n(0x123)+d+'\x22')):Log[n(0x106)]((n(0x101)+h)[n(0x113)]('\x0a',''));const i=await this[n(0xfa)]['getProjectsMeteorNodeVersion']();i===n(0xf5)?(Log[n(0x114)](n(0x120)+i),Log['warn'](n(0xf8))):Log[n(0x126)](n(0x120)+i),Log['bright'](n(0x119));}}}catch(j){console[n(0xf6)](j),process[n(0x118)](0x0);}});
1
+ const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=-parseInt(k(0x15d))/0x1+-parseInt(k(0x152))/0x2*(parseInt(k(0x13b))/0x3)+parseInt(k(0x143))/0x4+-parseInt(k(0x146))/0x5*(-parseInt(k(0x148))/0x6)+-parseInt(k(0x138))/0x7*(parseInt(k(0x14c))/0x8)+-parseInt(k(0x144))/0x9+parseInt(k(0x14a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x62402));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x140)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x136)]()[m(0x161)](m(0x154))[m(0x136)]()[m(0x157)](a90a)[m(0x161)](m(0x154));});function a90c(){const p=['Project\x27s\x20Meteor\x20Node\x20Version\x20','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','Project\x27s\x20Meteor\x20Version\x20','4.5.32','warn','244938ZGztJv','N/A','(((.+)+)+)+$','isMakaProject','error','constructor','getProjectMeteorVersion','maka\x20version','create','replace','getGlobalMeteorVersion','51222KQathX',')\x20to\x20at\x20least\x20meteor\x27s\x20(','platform','getProjectsMeteorNodeVersion','search','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','version','toString','\x20node\x20-v','169855FZGpHy','win32','----------------------System----------------------------','3vrSyhU','maka\x20v','exit','meteor','System\x27s\x20Node\x20Version\x20','apply','verbose','majestic','2579956UeRQsH','5351463XcaVig','maka\x20version\x20--verbose','1735HvWdAf','----------------------Project----------------------------','1992QwZMwF','bright','5803940kifIrS','fsi','56KbxylO'];a90c=function(){return p;};return a90c();}a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x135;let f=c[d];return f;},a90d(a,b);}const pjson={'version':a90n(0x150)};Command[a90n(0x15a)]({'name':a90n(0x135),'aliases':['v'],'usage':a90n(0x159),'maxArgLength':0x1,'validOpts':[a90n(0x141)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a90n(0x13c),a90n(0x159),a90n(0x145)],'description':'\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'},async function(a,b){const o=a90n;try{const c=process[o(0x15f)]===o(0x139)?'meteor.bat':o(0x13e);Log[o(0x142)]('Maka\x20'+pjson[o(0x135)]);if(b[o(0x141)]){await this[o(0x14b)]['compareMakaToLatest'](),Log[o(0x149)](o(0x13a));const d=this[o(0x14b)][o(0x15c)]();Log[o(0x149)](('System\x27s\x20Meteor\x20Version\x20'+d)['replace']('\x0a',''));const f=execSync(c+o(0x137))[o(0x136)]()['replace'](/\r?\n|\r/,'')['replace']('v','');Log[o(0x149)](o(0x162)+f);const g=execSync('node\x20-v')[o(0x136)]()[o(0x15b)](/\r?\n|\r/,'')[o(0x15b)]('v','');a90e['gt'](f,g)?(Log[o(0x151)](o(0x13f)+g),Log[o(0x151)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x15e)+f+')')):Log[o(0x149)](o(0x13f)+g);if(this[o(0x14b)][o(0x155)]()){Log[o(0x149)](o(0x147));const h=this['fsi'][o(0x158)]();a90e['gt'](d,h)?(Log[o(0x151)](o(0x14f)+h['replace']('\x0a','')),Log[o(0x151)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log['notice'](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x15b)]('\x0a',''));const i=await this[o(0x14b)][o(0x160)]();i===o(0x153)?(Log[o(0x151)](o(0x14d)+i),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x149)](o(0x14d)+i),Log['bright'](o(0x14e));}}}catch(j){console[o(0x156)](j),process[o(0x13d)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a90d,c=a();while(!![]){try{var d=-parseInt(f(0x114))/0x1*(parseInt(f(0x10d))/0x2)+parseInt(f(0x10e))/0x3+parseInt(f(0x115))/0x4+-parseInt(f(0x110))/0x5+parseInt(f(0x10f))/0x6*(parseInt(f(0x111))/0x7)+parseInt(f(0x116))/0x8+-parseInt(f(0x118))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x5569d));var a90b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a90d;if(c){var e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){var h=a90d;return a90a[h(0x117)]()[h(0x119)](h(0x113))[h(0x117)]()['constructor'](a90a)[h(0x119)](h(0x113));});function a90d(a,b){var c=a90c();return a90d=function(d,e){d=d-0x10d;var f=c[d];return f;},a90d(a,b);}a90a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a90c(){var i=['5306176VlPAsF','toString','8802324vdQOST','search','203258wNKveY','1301025iIzMoC','296802sDynil','774010HvtIUB','28jmxGiZ','apply','(((.+)+)+)+$','2mfxvOW','1564536gcwRgt'];a90c=function(){return i;};return a90c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0x144))/0x1+parseInt(f(0x145))/0x2+-parseInt(f(0x146))/0x3+parseInt(f(0x14c))/0x4*(parseInt(f(0x143))/0x5)+-parseInt(f(0x147))/0x6*(parseInt(f(0x142))/0x7)+parseInt(f(0x149))/0x8+parseInt(f(0x140))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x20c07));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a['toString']()['search']('(((.+)+)+)+$')[h(0x148)]()[h(0x13f)](a91a)[h(0x14a)](h(0x141));});function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x13f;var f=c[d];return f;},a91d(a,b);}a91a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a91c(){var i=['225875AkwdBE','199698zdnBBa','596415jtFFEd','47328tINnbp','toString','371416HlFDwD','search','apply','4RVVhBM','constructor','2152530enZfml','(((.+)+)+)+$','49NYEAXw','1143005uzddII'];a91c=function(){return i;};return a91c();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a91i=a91d;(function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0xd3))/0x1+parseInt(f(0xcd))/0x2*(parseInt(f(0xcf))/0x3)+-parseInt(f(0xd0))/0x4*(-parseInt(f(0xd4))/0x5)+parseInt(f(0xdc))/0x6*(-parseInt(f(0xdd))/0x7)+-parseInt(f(0xce))/0x8+parseInt(f(0xcc))/0x9+-parseInt(f(0xdb))/0xa*(parseInt(f(0xd6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xa9458));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0xd5)]()[h(0xd8)](h(0xd1))[h(0xd5)]()[h(0xd2)](a91a)[h(0xd8)]('(((.+)+)+)+$');});function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xcc;var f=c[d];return f;},a91d(a,b);}function a91c(){var j=['env','20jIcoGm','8208762NODGgi','7SVwxUa','9294660OMdLNz','191926ECTMMw','10808904mBIvDU','12njnGPW','5318864AQKZsn','(((.+)+)+)+$','constructor','1119554NVyPjN','5CBtpNB','toString','2493073OclzDb','apply','search','--experimental-modules\x20--no-warnings\x20--experimental-json-modules'];a91c=function(){return j;};return a91c();}a91a(),process[a91i(0xda)]['NODE_OPTIONS']=a91i(0xd9);import'./maka.js';
2
+ var a92h=a92d;function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1c7;var f=c[d];return f;},a92d(a,b);}function a92c(){var i=['1sJIjtd','1429746PQCyDu','env','(((.+)+)+)+$','982290CHruiH','731088XkzPQr','12lPfTja','5425248TydSTB','20124315zFcelL','3765965JXkrIj','NODE_OPTIONS','toString','4271232wygDdv','search'];a92c=function(){return i;};return a92c();}(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x1ca))/0x1*(parseInt(f(0x1cb))/0x2)+parseInt(f(0x1d0))/0x3*(parseInt(f(0x1cf))/0x4)+parseInt(f(0x1ce))/0x5+-parseInt(f(0x1c8))/0x6+-parseInt(f(0x1d3))/0x7+-parseInt(f(0x1d1))/0x8+parseInt(f(0x1d2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x7f1ed));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(0x1c7)]()[g(0x1c9)](g(0x1cd))[g(0x1c7)]()['constructor'](a92a)[g(0x1c9)](g(0x1cd));});a92a(),process[a92h(0x1cc)][a92h(0x1d4)]='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';import'./maka.js';
@@ -1 +1 @@
1
- const a92t=a92d;(function(a,b){const q=a92d,c=a();while(!![]){try{const d=-parseInt(q(0x1a9))/0x1+parseInt(q(0x1c9))/0x2+parseInt(q(0x1ab))/0x3+-parseInt(q(0x1d7))/0x4*(parseInt(q(0x198))/0x5)+-parseInt(q(0x1b0))/0x6+parseInt(q(0x1ce))/0x7+-parseInt(q(0x181))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x67d82));const a92b=(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;};}()),a92a=a92b(this,function(){const r=a92d;return a92a[r(0x183)]()[r(0x186)](r(0x1d1))[r(0x183)]()[r(0x1d5)](a92a)[r(0x186)]('(((.+)+)+)+$');});function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x178;let f=c[d];return f;},a92d(a,b);}a92a();import a92e from'path';import a92f from'cli-table';import{paramCase}from'change-case';import a92g 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';function a92c(){const F=['colLocAnswer','roles','1660514lCIZzz','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','checkWhere','_generators','125244CfQptY','Please\x20run\x20\x22maka\x20install\x20meteor\x22','validateMakaProject','(((.+)+)+)+$','replace','function','To\x20use\x20this\x20generator,\x20\x22','constructor','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','2624UCxbZV','notice','proFlags','dir','filter','forEach','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','cwd','There\x20is\x20no\x20Meteor\x20application\x20here','Too\x20few\x20options','tableList','Generators:','minArgLength','Description','Server','findProjectDirectory','Client','1493984LxAliV','Location','toString','number','shortDesc','search','lib','appPathPrefix','Both','split','parent','maxArgLength','getPro','call','validateMakaSubscription','No\x20resource\x20name\x20specified','both','singleLicense','map','invoke','domainLicense','pop','name','2025VFaFku','noResource','find','slice','options','match','resourceName','maxOptsLength','mustHaveMeteorInstalled','length','server','Generator\x20requires\x20a\x20handler\x20function','keys','addGenerator\x20requires\x20a\x20Generator\x20instance','_handler','Generator\x20requires\x20a\x20name','fsi','93658FYmLiD','minOptsLength','758604YQNThX','push','join','addGenerator','where','777510dDbEAH','error','includes','chdir','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','bind','create','client','sep','validateMeteorInstall','Alias','findGenerator','assign','validateParams','proGenerators','Name','usage','Generator.create\x20requires\x20a\x20handler\x20function!','exit','Too\x20few\x20arguments','help','aliases','root'];a92c=function(){return F;};return a92c();}import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a92d,c=process['cwd']();let d=null;try{process[s(0x1b3)](a),d=b();}finally{process[s(0x1b3)](c);}return d;}export class Generator extends Tool{[a92t(0x19c)];[a92t(0x1cd)];constructor(a,b){const u=a92t;super();if(!a)throw new Error(u(0x1ca));if(!a[u(0x197)])throw new Error(u(0x1a7));if(typeof b!==u(0x1d3))throw new Error(u(0x1a3));this[u(0x1cd)]=[],this[u(0x19c)]=Object[u(0x1bc)]({},a),this['name']=this['options'][u(0x197)],this[u(0x1a6)]=b[u(0x1b5)](this);}static[a92t(0x1b6)](a,b,c){const v=a92t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0x1d3))throw new Error(v(0x1c1));const d=new Generator(a,b);return c=c||a92g,Object[v(0x1bc)](d,{'parent':c?.[v(0x19c)]?.[v(0x197)]}),c[v(0x1ae)](d),d;}[a92t(0x1ae)](a){const w=a92t;if(!(a instanceof Generator))throw new Error(w(0x1a5));this[w(0x1cd)][w(0x1ac)](a);}[a92t(0x1bb)](a){const x=a92t,b=this['_generators'][x(0x19a)](c=>c[x(0x19d)](a));return b;}async['validateMakaSubscription'](a,b){const y=a92t,c=this['findGenerator'](a[0x0]);if(c){const d=c?.[y(0x197)]||a[0x0],e=c?.[y(0x18b)]||'',f=Object[y(0x1a4)](b),g=await this[y(0x1a8)][y(0x18d)]();!g&&(Log[y(0x1b1)](y(0x1b4)),process[y(0x1c2)](0x1));const h=!g?.[y(0x1c8)][y(0x1b2)](y(0x192))&&!g?.[y(0x1c8)][y(0x1b2)](y(0x195)),i=g?.[y(0x1be)][y(0x1b2)](d)||g?.[y(0x1be)][y(0x1b2)](e);if(i&&h)throw y(0x1d4)+d+y(0x1d6);if(f[y(0x1a1)]>0x0){const j=g?.[y(0x1d9)][y(0x1db)](k=>f[y(0x1b2)](k));if(j&&j['length']>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.['join'](',\x20')+y(0x1d6);}}}async[a92t(0x194)](a,b){const z=a92t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[z(0x18f)](a,b);}catch(g){Log[z(0x1b1)](g),process[z(0x1c2)](0x1);}const f=a[z(0x19b)]();b[z(0x19e)]=f[0x0];try{if((a[0x0]===_prevGen||a[z(0x1a1)]===0x0)&&b['help'])throw new UsageError();if(this['options']['mustBeInMakaProject']){const h=this[z(0x1d0)]();if(!h)throw new MustBeInProjectError();}if(this['options'][z(0x1a0)]){const i=this[z(0x1b9)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[z(0x19c)][z(0x17c)]===z(0x184)){if(a[z(0x1a1)]<this['options'][z(0x17c)]){Log['error'](z(0x1c3));throw new UsageError();}}if(typeof this['options'][z(0x18c)]===z(0x184)){if(a['length']>this[z(0x19c)][z(0x18c)]){Log[z(0x1b1)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[z(0x19c)][z(0x1aa)]===z(0x184)){if(Object[z(0x1a4)](b)[z(0x1a1)]<this[z(0x19c)][z(0x1aa)]){Log[z(0x1b1)](z(0x179));throw new UsageError();}}if(typeof this[z(0x19c)][z(0x19f)]===z(0x184)){if(Object['keys'](b)[z(0x1a1)]>=this[z(0x19c)][z(0x19f)]){Log[z(0x1b1)]('Too\x20many\x20options');throw new UsageError();}}await this[z(0x1bd)](a,b,this['options']);if(!b[z(0x19e)]&&!this[z(0x19c)][z(0x199)]){Log['error'](z(0x190));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[z(0x1c0)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0x1cd)][z(0x1a1)]>0x0&&b[z(0x1c4)]&&(Log['notice'](z(0x17b)),this[z(0x17a)](this['_generators']));else{if(j instanceof MustBeInProjectError)Log[z(0x1b1)](z(0x1cb));else{if(j instanceof NoMeteorFoundError)Log[z(0x1b1)](z(0x1dd)),Log[z(0x1d8)](z(0x1cf));else{if(j instanceof NoMeteorAppFoundError)Log[z(0x1b1)](z(0x178));else throw j;}}}process[z(0x1c2)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0x1de)],async()=>{const B=A;try{if(!b[B(0x1c6)]&&!this[B(0x1a8)][B(0x17f)]())throw new MustBeInProjectError();const l=b[B(0x19e)]?.[B(0x1d2)](/\\/g,'/')[B(0x18a)]('/');!b[B(0x1da)]&&(l?.[B(0x1a1)]>0x1?(b[B(0x19e)]=l[B(0x196)](),f[0x0]=b[B(0x19e)],b['dir']=l[B(0x193)](m=>{return paramCase(m);})[B(0x1ad)](a92e[B(0x1b8)])):b[B(0x1da)]='');if(this[B(0x19c)][B(0x1cc)]){if(!b[B(0x1af)]){const n={'type':'list','name':B(0x1c7),'message':B(0x182),'choices':[{'name':B(0x180),'value':B(0x1b7)},{'name':B(0x17e),'value':B(0x1a2)},{'name':B(0x189),'value':B(0x191)}]},{colLocAnswer:o}=await Actions[B(0x19c)](n);o?b[B(0x1af)]=o:b[B(0x1af)]=B(0x191);}const m=[B(0x191),B(0x1b7),'server'];if(!m['includes'](b['where'])){Log[B(0x1b1)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[B(0x1af)]){case B(0x191):b['appPathPrefix']=B(0x187);break;case B(0x1a2):b[B(0x188)]='server';break;case'client':b[B(0x188)]=B(0x1b7);break;default:b['appPathPrefix']='';}}k(this[B(0x1a6)][B(0x18e)](this,f,b));}catch(p){console[B(0x1b1)](p);}});});}['listGenerators'](){const C=a92t;this[C(0x17a)](this['_generators']);}[a92t(0x17a)](a){const D=a92t,b=new a92f({});b[D(0x1ac)]([D(0x1bf),D(0x1ba),D(0x17d)]),a['sort']()[D(0x1dc)](c=>{const E=D;b[E(0x1ac)]([c['name'],c[E(0x1c5)](),c[E(0x185)]()]);}),Log['bright'](b[D(0x183)]());}}
1
+ const a93v=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=parseInt(q(0x14a))/0x1*(parseInt(q(0x14e))/0x2)+-parseInt(q(0x147))/0x3*(-parseInt(q(0x169))/0x4)+-parseInt(q(0x19f))/0x5*(parseInt(q(0x15e))/0x6)+-parseInt(q(0x15a))/0x7*(-parseInt(q(0x17b))/0x8)+-parseInt(q(0x178))/0x9+-parseInt(q(0x164))/0xa*(parseInt(q(0x156))/0xb)+parseInt(q(0x14b))/0xc*(-parseInt(q(0x179))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x70f59));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x161)]()['search'](s(0x157))[s(0x161)]()[s(0x155)](a93a)['search']('(((.+)+)+)+$');});a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';function a93c(){const F=['Both','dir','validateParams','findProjectDirectory','mustBeInMakaProject','findGenerator','filter','parent','find','bright','maxArgLength','sort','push','_handler','maxOptsLength','assign','includes','noResource','name','545lCbCVa','Generator.create\x20requires\x20some\x20options!','Too\x20few\x20arguments','server','domainLicense','There\x20is\x20no\x20Meteor\x20application\x20here','Name','checkWhere','To\x20use\x20this\x20generator,\x20\x22','usage','Client','split','845460fMraQq','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','length','1hjlPsP','156irfidf','apply','chdir','773998dqkaar','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Too\x20many\x20arguments','validateMakaSubscription','create','keys','mustHaveMeteorInstalled','constructor','55LoHSyV','(((.+)+)+)+$','both','minOptsLength','7MdWpTB','help','minArgLength','cwd','15558CvRacg','No\x20resource\x20name\x20specified','Generator\x20requires\x20a\x20handler\x20function','toString','aliases','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','605830SKbHzi','appPathPrefix','Server','resourceName','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','12uqKPoz','root','pop','options','slice','proGenerators','lib','number','client','function','_generators','Generator.create\x20requires\x20a\x20handler\x20function!','replace','match','notice','1766232cTqTOe','840619BtcmUq','where','6821128oSuOKt','Alias','tableList','validateMeteorInstall','fsi','proFlags','join','exit','error','singleLicense','Please\x20run\x20\x22maka\x20install\x20meteor\x22','Too\x20few\x20options','Location','Description','list','validateMakaProject','colLocAnswer'];a93c=function(){return F;};return a93c();}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(0x15d)]();let d=null;try{process['chdir'](a),d=b();}finally{process[t(0x14d)](c);}return d;}function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x13d;let f=c[d];return f;},a93d(a,b);}export class Generator extends Tool{['options'];['_generators'];constructor(a,b){const u=a93d;super();if(!a)throw new Error(u(0x14f));if(!a[u(0x19e)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==u(0x172))throw new Error(u(0x160));this[u(0x173)]=[],this['options']=Object['assign']({},a),this[u(0x19e)]=this['options'][u(0x19e)],this['_handler']=b['bind'](this);}static[a93v(0x152)](a,b,c){const w=a93v;if(!a)throw new Error(w(0x1a0));if(typeof b!=='function')throw new Error(w(0x174));const d=new Generator(a,b);return c=c||a93g,Object[w(0x19b)](d,{'parent':c?.[w(0x16c)]?.[w(0x19e)]}),c['addGenerator'](d),d;}['addGenerator'](a){const x=a93v;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this['_generators'][x(0x198)](a);}[a93v(0x191)](a){const y=a93v,b=this[y(0x173)][y(0x194)](c=>c[y(0x176)](a));return b;}async['validateMakaSubscription'](a,b){const z=a93v,c=this['findGenerator'](a[0x0]);if(c){const d=c?.[z(0x19e)]||a[0x0],e=c?.[z(0x193)]||'',f=Object['keys'](b),g=await this[z(0x17f)]['getPro']();!g&&(Log[z(0x183)](z(0x168)),process[z(0x182)](0x1));const h=!g?.['roles'][z(0x19c)](z(0x184))&&!g?.['roles'][z(0x19c)](z(0x13f)),i=g?.[z(0x16e)][z(0x19c)](d)||g?.[z(0x16e)][z(0x19c)](e);if(i&&h)throw z(0x143)+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f[z(0x149)]>0x0){const j=g?.[z(0x180)][z(0x192)](k=>f[z(0x19c)](k));if(j&&j[z(0x149)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.['join'](',\x20')+z(0x163);}}}async['invoke'](a,b){const A=a93v,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0x16c)];try{await this[A(0x151)](a,b);}catch(g){Log[A(0x183)](g),process[A(0x182)](0x1);}const f=a[A(0x16d)]();b[A(0x167)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[A(0x15b)])throw new UsageError();if(this[A(0x16c)][A(0x190)]){const h=this[A(0x18a)]();if(!h)throw new MustBeInProjectError();}if(this[A(0x16c)][A(0x154)]){const i=this[A(0x17e)]();if(!i)throw new NoMeteorFoundError();}if(typeof this['options'][A(0x15c)]===A(0x170)){if(a[A(0x149)]<this[A(0x16c)][A(0x15c)]){Log[A(0x183)](A(0x13d));throw new UsageError();}}if(typeof this[A(0x16c)][A(0x196)]===A(0x170)){if(a[A(0x149)]>this[A(0x16c)][A(0x196)]){Log[A(0x183)](A(0x150));throw new UsageError();}}if(typeof this[A(0x16c)][A(0x159)]===A(0x170)){if(Object[A(0x153)](b)['length']<this[A(0x16c)][A(0x159)]){Log[A(0x183)](A(0x186));throw new UsageError();}}if(typeof this[A(0x16c)][A(0x19a)]==='number'){if(Object[A(0x153)](b)[A(0x149)]>=this[A(0x16c)]['maxOptsLength']){Log['error']('Too\x20many\x20options');throw new UsageError();}}await this[A(0x18e)](a,b,this['options']);if(!b[A(0x167)]&&!this['options'][A(0x19d)]){Log[A(0x183)](A(0x15f));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x144)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this['_generators']['length']>0x0&&b[A(0x15b)]&&(Log[A(0x177)]('Generators:'),this['tableList'](this[A(0x173)]));else{if(j instanceof MustBeInProjectError)Log['error'](A(0x148));else{if(j instanceof NoMeteorFoundError)Log[A(0x183)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log['notice'](A(0x185));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x183)](A(0x140));else throw j;}}}process[A(0x182)](0x1);}return new Promise(k=>{inside(b['cwd'],async()=>{const B=a93d;try{if(!b[B(0x16a)]&&!this[B(0x17f)][B(0x18f)]())throw new MustBeInProjectError();const l=b[B(0x167)]?.[B(0x175)](/\\/g,'/')[B(0x146)]('/');!b['dir']&&(l?.[B(0x149)]>0x1?(b[B(0x167)]=l[B(0x16b)](),f[0x0]=b['resourceName'],b['dir']=l['map'](m=>{return paramCase(m);})[B(0x181)](a93e['sep'])):b[B(0x18d)]='');if(this['options'][B(0x142)]){if(!b[B(0x17a)]){const n={'type':B(0x189),'name':B(0x18b),'message':B(0x187),'choices':[{'name':B(0x145),'value':B(0x171)},{'name':B(0x166),'value':B(0x13e)},{'name':B(0x18c),'value':'both'}]},{colLocAnswer:o}=await Actions[B(0x16c)](n);o?b[B(0x17a)]=o:b[B(0x17a)]='both';}const m=[B(0x158),B(0x171),'server'];if(!m[B(0x19c)](b[B(0x17a)])){Log[B(0x183)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[B(0x17a)]){case'both':b['appPathPrefix']=B(0x16f);break;case'server':b['appPathPrefix']=B(0x13e);break;case B(0x171):b['appPathPrefix']=B(0x171);break;default:b[B(0x165)]='';}}k(this[B(0x199)]['call'](this,f,b));}catch(p){console[B(0x183)](p);}});});}['listGenerators'](){const C=a93v;this[C(0x17d)](this['_generators']);}['tableList'](a){const D=a93v,b=new a93f({});b[D(0x198)]([D(0x141),D(0x17c),D(0x188)]),a[D(0x197)]()['forEach'](c=>{const E=D;b[E(0x198)]([c[E(0x19e)],c[E(0x162)](),c['shortDesc']()]);}),Log[D(0x195)](b[D(0x161)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a93d,c=a();while(!![]){try{var d=-parseInt(f(0x1cc))/0x1*(-parseInt(f(0x1cb))/0x2)+parseInt(f(0x1d0))/0x3+parseInt(f(0x1d7))/0x4+-parseInt(f(0x1d1))/0x5+parseInt(f(0x1cd))/0x6*(-parseInt(f(0x1d2))/0x7)+parseInt(f(0x1d3))/0x8*(-parseInt(f(0x1d5))/0x9)+-parseInt(f(0x1ca))/0xa*(-parseInt(f(0x1d9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x69f10));var a93b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a93d;if(c){var e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a[h(0x1d6)]()['search'](h(0x1d4))[h(0x1d6)]()[h(0x1cf)](a93a)[h(0x1d8)](h(0x1d4));});a93a();function a93c(){var i=['3869232efWact','(((.+)+)+)+$','9lsHylJ','toString','2315512KHHgva','search','1441uVyAhp','73680jhUGgg','244PAFUKT','1533YHPYqW','102JSsQSv','apply','constructor','1015389lwGzqb','2034290LLZTYv','306817rANnKA'];a93c=function(){return i;};return a93c();}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';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0x1ca;var f=c[d];return f;},a93d(a,b);}import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0x169))/0x1+parseInt(f(0x16d))/0x2+-parseInt(f(0x16b))/0x3+parseInt(f(0x166))/0x4*(-parseInt(f(0x164))/0x5)+parseInt(f(0x163))/0x6+parseInt(f(0x16c))/0x7+parseInt(f(0x167))/0x8*(-parseInt(f(0x168))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xc82cc));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x16f)]()[h(0x16e)](h(0x165))['toString']()['constructor'](a94a)['search']('(((.+)+)+)+$');});function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x163;var f=c[d];return f;},a94d(a,b);}a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';function a94c(){var i=['137193wbdNGx','2223074EmzgUU','3057158ZBReRH','search','toString','3479796EFlLxS','1180QLfawz','(((.+)+)+)+$','4668nGijGF','5642984ikcaTn','9ciJhoR','579695uuBImc','apply'];a94c=function(){return i;};return a94c();}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';