@maka/maka-cli 4.5.33 → 4.5.34

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 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/tool.js +1 -1
  117. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/https/https.class.js +1 -1
  125. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  126. package/bundle/obf/src/tools/log/log.class.js +1 -1
  127. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/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 a76j=a76d;function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x101;let f=c[d];return f;},a76d(a,b);}(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x115))/0x1*(parseInt(g(0x116))/0x2)+-parseInt(g(0x107))/0x3*(parseInt(g(0x105))/0x4)+parseInt(g(0x108))/0x5+-parseInt(g(0x10e))/0x6+parseInt(g(0x114))/0x7*(parseInt(g(0x103))/0x8)+parseInt(g(0x11c))/0x9*(parseInt(g(0x110))/0xa)+-parseInt(g(0x11a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xab321));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x119)]()['search'](i(0x113))[i(0x119)]()[i(0x10a)](a76a)[i(0x109)](i(0x113));});a76a();function a76c(){const l=['error','10TtXfbD','maybeProxyCommandToMeteor','maka\x20<command>\x20[<args>]\x20[<opts>]','(((.+)+)+)+$','77soFTwW','123029njZcwp','14DxwXOK','maka\x20run','maka\x20install\x20meteor','toString','414678fbmxNb','findSubCommand','403713QNqzvX','maka','apply','539536WIerym','exit','4ElWLGp','slice','3097734aOZNSO','3181745UEyLUG','search','constructor','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','fsi','maka\x20create\x20Todo','3076668ujnWhW'];a76c=function(){return l;};return a76c();}import{Command}from'../command.js';const Maka=new Command({'name':a76j(0x101),'minArgLength':0x1,'shortDesc':a76j(0x10b),'validOpts':[],'usage':a76j(0x112),'disableAuthCheck':!![],'examples':['maka\x20--help',a76j(0x118),a76j(0x10d),a76j(0x117)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x11b)](c);d?this['runSubCommand'](c,a[k(0x106)](0x1),b):this[k(0x10c)][k(0x111)]();}catch(f){console[k(0x10f)](f),process[k(0x104)](0x1);}});export default Maka;
1
+ const a76i=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=-parseInt(g(0x162))/0x1+-parseInt(g(0x160))/0x2+parseInt(g(0x169))/0x3+parseInt(g(0x167))/0x4*(parseInt(g(0x15d))/0x5)+parseInt(g(0x161))/0x6+-parseInt(g(0x163))/0x7+parseInt(g(0x16e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x85d6f));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const h=a76d;return a76a['toString']()[h(0x15e)](h(0x159))[h(0x15f)]()[h(0x16a)](a76a)[h(0x15e)](h(0x159));});a76a();function a76c(){const k=['maybeProxyCommandToMeteor','maka\x20install\x20meteor','exit','448185RxeDLy','search','toString','175634HXPFXo','1277910IiEoNi','941520gezgNu','3401181dItnEB','fsi','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','40QaqyHP','slice','2323179ZEZWFR','constructor','maka\x20--help','maka\x20create\x20Todo','runSubCommand','1437432aTtshC','(((.+)+)+)+$'];a76c=function(){return k;};return a76c();}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a76i(0x16b),a76i(0x15b),a76i(0x16c),'maka\x20run'],'description':a76i(0x166)},async function(a,b){const j=a76i;try{const c=a[0x0],d=this['findSubCommand'](c);d?this[j(0x16d)](c,a[j(0x168)](0x1),b):this[j(0x164)][j(0x15a)]();}catch(f){console[j(0x165)](f),process[j(0x15c)](0x1);}});function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x159;let f=c[d];return f;},a76d(a,b);}export default Maka;
@@ -1 +1 @@
1
- var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0xbc))/0x1+-parseInt(f(0xd1))/0x2*(-parseInt(f(0xc0))/0x3)+-parseInt(f(0xce))/0x4*(-parseInt(f(0xc9))/0x5)+-parseInt(f(0xc2))/0x6*(-parseInt(f(0xb9))/0x7)+parseInt(f(0xc6))/0x8*(parseInt(f(0xc8))/0x9)+-parseInt(f(0xb8))/0xa*(parseInt(f(0xd0))/0xb)+-parseInt(f(0xbf))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xa391a));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a['toString']()[h(0xcc)](h(0xcf))[h(0xc7)]()[h(0xc3)](a77a)['search'](h(0xcf));});a77a();import{Command}from'../command.js';function a77c(){var k=['18fGGAuf','1135BADWRP','log','error','search','murder','2548vVMBwB','(((.+)+)+)+$','275fdelYl','232270msADmX','363990gfkxGO','406QzZwOA','font-family:\x20monospace','apply','267588PPVaaC','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','Murrrrderrrrr','13702164nYxTDg','3wpEdXb','maka\x20murder','107712ZXfcqW','constructor','exit','create','4609048IrVxLJ','toString'];a77c=function(){return k;};return a77c();}function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0xb8;var f=c[d];return f;},a77d(a,b);}Command[a77i(0xc5)]({'name':a77i(0xcd),'usage':a77i(0xc1),'maxArgLength':0x1,'shortDesc':a77i(0xbe),'validOpts':[]},async function(){var j=a77i;try{console[j(0xca)](j(0xbd),j(0xba));}catch(a){console[j(0xcb)](a),process[j(0xc4)](0x0);}});
1
+ var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x1e3))/0x1*(parseInt(f(0x1d0))/0x2)+parseInt(f(0x1df))/0x3+-parseInt(f(0x1dc))/0x4+parseInt(f(0x1d4))/0x5+-parseInt(f(0x1d9))/0x6*(parseInt(f(0x1d8))/0x7)+-parseInt(f(0x1d2))/0x8*(parseInt(f(0x1e0))/0x9)+parseInt(f(0x1d3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x99527));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0x1dd)]()[h(0x1d6)](h(0x1cf))[h(0x1dd)]()[h(0x1e1)](a77a)[h(0x1d6)](h(0x1cf));});function a77c(){var k=['351570DmGxzu','apply','Murrrrderrrrr','3020036MrSGyE','toString','maka\x20murder','140754YzXSmF','9QOENYF','constructor','error','88499yvXlFF','%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','(((.+)+)+)+$','6qEUECN','font-family:\x20monospace','375800siHnIu','6064750ZYHGqx','5485255lwAHuY','create','search','log','70IiogKb'];a77c=function(){return k;};return a77c();}function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a77d(a,b);}a77a();import{Command}from'../command.js';Command[a77i(0x1d5)]({'name':'murder','usage':a77i(0x1de),'maxArgLength':0x1,'shortDesc':a77i(0x1db),'validOpts':[]},async function(){var j=a77i;try{console[j(0x1d7)](j(0x1e4),j(0x1d1));}catch(a){console[j(0x1e2)](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a78p=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0xb8))/0x1*(parseInt(n(0x9b))/0x2)+-parseInt(n(0xb9))/0x3+-parseInt(n(0xa5))/0x4+-parseInt(n(0x9c))/0x5+parseInt(n(0x9d))/0x6*(-parseInt(n(0xb5))/0x7)+-parseInt(n(0xaf))/0x8+parseInt(n(0xb7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xada51));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const o=a78d;return a78a['toString']()[o(0x9f)]('(((.+)+)+)+$')['toString']()[o(0xa1)](a78a)['search'](o(0xb4));});a78a();import a78e from'fs';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x96;let f=c[d];return f;},a78d(a,b);}import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a78c(){const r=['listen','appName','1751260mhqnio','createProxyServer','genCSR','development','listenPort','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','maka\x20proxy','genSSC','invoke','.crt','2966424kUDvpd','\x20to\x20','fsi','localhost','.csr','(((.+)+)+)+$','21oqQFHz','bright','42937749YnZRqN','47oKFXtg','3555036sPxabw','\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','targetPort','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.key','help','join','findGenerator','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','proxy','targetHost','sslconfig','14704sIIZcM','4398755OJCSVl','1681374zJbevB','utf8','search','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','constructor','isFile'];a78c=function(){return r;};return a78c();}import a78h from'../generators/maka.gen.js';Command['create']({'name':a78p(0x98),'usage':a78p(0xab),'mustBeInMakaProject':!![],'validOpts':[a78p(0xbe),a78p(0xbb),a78p(0xa9),'targetHost'],'maxArgLength':0x1,'shortDesc':a78p(0x97),'description':a78p(0xba),'examples':[a78p(0xab),a78p(0xa0),a78p(0xbc)]},async function(a,b){const q=a78p,c=this[q(0xb1)]['getProjectConfig'](),d=q(0xa8),e=this['fsi']['getConfigPath'](d),f=this[q(0xb1)]['mkKeysDir']({'configPath':e}),g=b['targetPort']?Number(b[q(0xbb)]):0xbb8,h=b[q(0xa9)]?Number(b['listenPort']):0xd73,i=b['targetHost']?b[q(0x99)]:q(0xb2),j=a78f[q(0xbf)](f,c[q(0xa4)]+q(0xbd)),k=a78f[q(0xbf)](f,c[q(0xa4)]+q(0xae));if(!this['fsi'][q(0xa2)](j)||!this['fsi'][q(0xa2)](k)){const m=a78h[q(0x96)](q(0x9a));m&&await m[q(0xad)](['sslconfig'],{'env':d}),SSL[q(0xa7)]({'keyName':c[q(0xa4)]+q(0xbd),'csrName':c['appName']+q(0xb3),'cwd':f}),SSL[q(0xac)]({'keyName':c[q(0xa4)]+q(0xbd),'crtName':c[q(0xa4)]+q(0xae),'cwd':f});}if(g===h){Log['error'](q(0xaa));throw new UsageError();}const l={'ssl':{'key':a78e['readFileSync'](j,q(0x9e)),'cert':a78e['readFileSync'](k,q(0x9e))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[q(0xa6)](l)[q(0xa3)](Number(h)),Log[q(0xb6)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+q(0xb0)+g);});
1
+ const a78p=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x173))/0x1*(parseInt(n(0x192))/0x2)+parseInt(n(0x16c))/0x3+-parseInt(n(0x178))/0x4*(parseInt(n(0x184))/0x5)+parseInt(n(0x16f))/0x6+-parseInt(n(0x193))/0x7+-parseInt(n(0x166))/0x8+-parseInt(n(0x167))/0x9*(-parseInt(n(0x168))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x27e4c));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const o=a78d;return a78a[o(0x17a)]()[o(0x18a)]('(((.+)+)+)+$')[o(0x17a)]()['constructor'](a78a)[o(0x18a)](o(0x17c));});a78a();function a78c(){const r=['\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','.key','612606QrxKai','targetPort','targetHost','getProjectConfig','42802aDCCSq','listenPort','genCSR','utf8','.csr','116JTQsqd','=>\x20SSL\x20Proxy\x20forwarding\x20','toString','fsi','(((.+)+)+)+$','getConfigPath','\x20to\x20','isFile','maka\x20proxy\x20--target-host\x20http://192.168.1.20','join','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','listen','18925ctUWbx','mkKeysDir','error','readFileSync','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','genSSC','search','findGenerator','maka\x20proxy','localhost','invoke','createProxyServer','.crt','create','10ScYfpB','1632554dKljnl','sslconfig','2567208Fisqwj','82683GZfHTr','450bheoPV','help','bright','appName','293298CNFBGa'];a78c=function(){return r;};return a78c();}import a78e from'fs';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x165;let f=c[d];return f;},a78d(a,b);}import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command[a78p(0x191)]({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a78p(0x169),a78p(0x170),a78p(0x174),'targetHost'],'maxArgLength':0x1,'shortDesc':a78p(0x188),'description':a78p(0x16d),'examples':[a78p(0x18c),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a78p(0x180)]},async function(a,b){const q=a78p,c=this[q(0x17b)][q(0x172)](),d='development',e=this[q(0x17b)][q(0x17d)](d),f=this[q(0x17b)][q(0x185)]({'configPath':e}),g=b[q(0x170)]?Number(b[q(0x170)]):0xbb8,h=b[q(0x174)]?Number(b[q(0x174)]):0xd73,i=b[q(0x171)]?b[q(0x171)]:q(0x18d),j=a78f[q(0x181)](f,c[q(0x16b)]+q(0x16e)),k=a78f[q(0x181)](f,c[q(0x16b)]+q(0x190));if(!this['fsi'][q(0x17f)](j)||!this[q(0x17b)][q(0x17f)](k)){const m=a78h[q(0x18b)]('sslconfig');m&&await m[q(0x18e)]([q(0x165)],{'env':d}),SSL[q(0x175)]({'keyName':c[q(0x16b)]+q(0x16e),'csrName':c[q(0x16b)]+q(0x177),'cwd':f}),SSL[q(0x189)]({'keyName':c[q(0x16b)]+q(0x16e),'crtName':c[q(0x16b)]+q(0x190),'cwd':f});}if(g===h){Log[q(0x186)](q(0x182));throw new UsageError();}const l={'ssl':{'key':a78e[q(0x187)](j,q(0x176)),'cert':a78e[q(0x187)](k,q(0x176))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[q(0x18f)](l)[q(0x183)](Number(h)),Log[q(0x16a)](q(0x179)+h+q(0x17e)+g);});
@@ -1 +1 @@
1
- const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x125))/0x1*(parseInt(n(0x11a))/0x2)+-parseInt(n(0x114))/0x3+-parseInt(n(0x111))/0x4*(-parseInt(n(0x12d))/0x5)+-parseInt(n(0x10c))/0x6+-parseInt(n(0x116))/0x7+-parseInt(n(0x10a))/0x8+parseInt(n(0x113))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x31657));function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x108;let f=c[d];return f;},a79d(a,b);}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()[p(0x124)](p(0x12c))['toString']()[p(0x11c)](a79a)[p(0x124)](p(0x12c));});a79a();function a79c(){const s=['66520pcPQHX','sshSync','env','ping','Checking\x20remote\x20host\x20availability','exit','existsSync','(((.+)+)+)+$','238470PGjnXM','~/pm2.config.js','getConfigPath','error','1765480SxIlJG','Reconfigure\x20your\x20deployed\x20applications','1261638bRrupe','join','scp','create','parse','28ikSOnu','reconfig','8425008ZjRuRS','503796WZKvZR','pm2\x20delete\x20all','1418711szlGwk','notice','apply','toString','8gdTVvm','ses.json','constructor','pm2.config.js','maka\x20reconfig\x20--env\x20prod','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','settings.json','maka\x20reconfig','fsi','success','search'];a79c=function(){return s;};return a79c();}import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x10f)]({'name':a79q(0x112),'validOpts':[''],'requiredOpts':[a79q(0x127)],'mustBeInMakaProject':!![],'usage':a79q(0x121),'shortDesc':a79q(0x10b),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':[a79q(0x11e)]},async function(a,b){const r=a79q;try{const c=this[r(0x122)][r(0x108)](b[r(0x127)]),d=a79f['join'](c,'ssh.json'),f=a79e['readFileSync'](d)[r(0x119)](),g=JSON[r(0x110)](f);Object['assign'](g,{'env':c}),Log[r(0x117)](r(0x129));const h=SSH[r(0x128)]('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x123)]('Remote\x20host\x20connection\x20successful');const i=a79f[r(0x10d)](c,'_keys',r(0x11b));if(a79e[r(0x12b)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0x10e)](l,{...g});}const j=a79f[r(0x10d)](c,r(0x11d));SSH['scp']({'source':j,'dest':r(0x12e),'verbose':!![]},{...g});const k=a79f[r(0x10d)](c,r(0x120));SSH[r(0x10e)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x126)](r(0x115),g),await SSH['ssh'](r(0x11f),{...g},{'verbose':!![]});}catch(m){console[r(0x109)](m),process[r(0x12a)](0x0);}});
1
+ function a79c(){const s=['constructor','search','ses.json','5204423HrHmLV','\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','pm2\x20delete\x20all','readFileSync','join','uname\x20-a','notice','916KanMgc','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','fsi','parse','(((.+)+)+)+$','assign','ssh.json','2417LXhsPJ','create','env','apply','maka\x20reconfig\x20--env\x20prod','toString','~/ses.json','existsSync','5IofwMa','maka\x20reconfig','2518011QUaUGv','4506092zmrOsG','Reconfigure\x20your\x20deployed\x20applications','Remote\x20host\x20connection\x20successful','808932uIfEyq','~/pm2.config.js','7008390RwQTsT','reconfig','scp','6791008jzFzDG'];a79c=function(){return s;};return a79c();}const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0xc3))/0x1*(parseInt(n(0xbc))/0x2)+-parseInt(n(0xa8))/0x3+-parseInt(n(0xa9))/0x4*(-parseInt(n(0xa6))/0x5)+-parseInt(n(0xac))/0x6+-parseInt(n(0xb5))/0x7+parseInt(n(0xb1))/0x8+-parseInt(n(0xae))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x8f12b));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()[p(0xb3)](p(0xc0))[p(0xc8)]()[p(0xb2)](a79a)[p(0xb3)](p(0xc0));});a79a();import a79e from'fs';import a79f from'path';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xa5;let f=c[d];return f;},a79d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0xc4)]({'name':a79q(0xaf),'validOpts':[''],'requiredOpts':[a79q(0xc5)],'mustBeInMakaProject':!![],'usage':a79q(0xa7),'shortDesc':a79q(0xaa),'description':a79q(0xb6),'examples':[a79q(0xc7)]},async function(a,b){const r=a79q;try{const c=this[r(0xbe)]['getConfigPath'](b['env']),d=a79f[r(0xb9)](c,r(0xc2)),f=a79e[r(0xb8)](d)[r(0xc8)](),g=JSON[r(0xbf)](f);Object[r(0xc1)](g,{'env':c}),Log[r(0xbb)]('Checking\x20remote\x20host\x20availability');const h=SSH['ping'](r(0xba),g);if(!h)throw r(0xbd);if(h)Log['success'](r(0xab));const i=a79f[r(0xb9)](c,'_keys',r(0xb4));if(a79e[r(0xa5)](i)){const l={'source':i,'dest':r(0xc9),'verbose':!![]};SSH[r(0xb0)](l,{...g});}const j=a79f[r(0xb9)](c,'pm2.config.js');SSH[r(0xb0)]({'source':j,'dest':r(0xad),'verbose':!![]},{...g});const k=a79f[r(0xb9)](c,'settings.json');SSH[r(0xb0)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync'](r(0xb7),g),await SSH['ssh']('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',{...g},{'verbose':!![]});}catch(m){console['error'](m),process['exit'](0x0);}});
@@ -1 +1 @@
1
- function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x15a;var f=c[d];return f;},a80d(a,b);}(function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0x15b))/0x1+parseInt(f(0x162))/0x2+-parseInt(f(0x15f))/0x3+-parseInt(f(0x15d))/0x4*(parseInt(f(0x160))/0x5)+parseInt(f(0x15c))/0x6*(parseInt(f(0x165))/0x7)+parseInt(f(0x164))/0x8+-parseInt(f(0x161))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x41386));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var g=a80d;return a80a['toString']()['search'](g(0x163))['toString']()[g(0x15e)](a80a)[g(0x15a)]('(((.+)+)+)+$');});function a80c(){var h=['4RMakFU','constructor','260502PgCxtl','1932935PgHtRR','3440574VfrjiU','936532qPqUjj','(((.+)+)+)+$','284888BRtuGj','14Xslkpx','search','228786MSiLgK','1170558upvpmf'];a80c=function(){return h;};return a80c();}a80a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0x115))/0x1*(-parseInt(f(0x113))/0x2)+parseInt(f(0x10b))/0x3*(-parseInt(f(0x112))/0x4)+parseInt(f(0x119))/0x5*(-parseInt(f(0x117))/0x6)+parseInt(f(0x110))/0x7+-parseInt(f(0x114))/0x8+parseInt(f(0x118))/0x9*(-parseInt(f(0x10e))/0xa)+parseInt(f(0x10d))/0xb*(parseInt(f(0x10f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x443a7));function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x10a;var f=c[d];return f;},a80d(a,b);}var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0x111)]()['search'](h(0x116))[h(0x111)]()[h(0x11a)](a80a)[h(0x10c)](h(0x116));});a80a();import'./run.command.js';function a80c(){var i=['18498aKQlAt','search','558316AQtrXc','470QLnXpl','216atFubY','1237509kTWgXU','toString','152wVpRDK','10474cROfst','1176416uVqfFx','29WhGggm','(((.+)+)+)+$','18kBOpMi','34551IbCAOU','162110IFwHLL','constructor','apply'];a80c=function(){return i;};return a80c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0x95))/0x1*(-parseInt(i(0x8b))/0x2)+parseInt(i(0x90))/0x3+parseInt(i(0x84))/0x4*(-parseInt(i(0x8c))/0x5)+-parseInt(i(0x80))/0x6*(-parseInt(i(0x7f))/0x7)+parseInt(i(0x87))/0x8*(-parseInt(i(0x82))/0x9)+-parseInt(i(0x86))/0xa+-parseInt(i(0x94))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x7156f));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a['toString']()['search']('(((.+)+)+)+$')[k(0x7c)]()[k(0x81)](a81a)[k(0x7a)](k(0x8e));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';function a81c(){const n=['2238738ImItWY','PM2\x20Config\x20File:\x20','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','exit','13761605ZIKILI','7TIzWyq','docker','\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','appName','search','join','toString','create','inherit','5643743YFMDQD','6EuNxpr','constructor','131481sYriKs','createFile','935196OxCkia','notice','1598950SSbkby','40DWmSBc','pm2.config.js','apply','existsSync','179868yEghFp','5iCHRVB','fsi','(((.+)+)+)+$','templateContent'];a81c=function(){return n;};return a81c();}import{Command}from'../../command.js';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x78;let f=c[d];return f;},a81d(a,b);}import{paramCase}from'change-case';Command[a81l(0x7d)]({'name':a81l(0x96),'aliases':['d'],'shortDesc':a81l(0x92),'description':a81l(0x78),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x8d)]['getProjectConfig'](),b=this[m(0x8d)]['getConfigPath'](m(0x96)),c=a81f['join'](b,'docker-compose.yaml'),d=a81f[m(0x7b)](b,m(0x88));Log['notice'](m(0x91)+d),Log[m(0x85)]('Docker\x20Compose\x20Path:\x20'+c);if(!a81g[m(0x8a)](c)){const f={'app':a[m(0x79)],'appFileCase':paramCase(a[m(0x79)])},g=this[m(0x8d)][m(0x8f)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[m(0x8d)][m(0x83)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+'\x20up\x20--remove-orphans',{'stdio':m(0x7e)});}catch(h){process[m(0x93)](0x1);}},a81e);
1
+ const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0x7d))/0x1+parseInt(i(0x8e))/0x2+-parseInt(i(0x94))/0x3*(-parseInt(i(0x78))/0x4)+parseInt(i(0x95))/0x5+-parseInt(i(0x7e))/0x6+-parseInt(i(0x87))/0x7*(-parseInt(i(0x77))/0x8)+-parseInt(i(0x90))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x27759));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x7a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x89)]()['search'](k(0x82))['toString']()[k(0x91)](a81a)[k(0x7f)]('(((.+)+)+)+$');});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';function a81c(){const n=['\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','apply','Docker\x20Compose\x20Path:\x20','maka\x20run\x20docker','34616esugQZ','632346dOoviJ','search','docker-compose.yaml','appName','(((.+)+)+)+$','templateContent','notice','\x20up\x20--remove-orphans','config/docker-compose.yaml','47530abayWs','fsi','toString','docker','join','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','existsSync','392328prcYwS','getConfigPath','1627641cFPeyz','constructor','inherit','create','81894IQnuiJ','36875YPLUFB','getProjectConfig','createFile','docker-compose\x20--project-directory\x20','200qjYkUV','16BHJSmD'];a81c=function(){return n;};return a81c();}import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x77;let f=c[d];return f;},a81d(a,b);}Command[a81l(0x93)]({'name':a81l(0x8a),'aliases':['d'],'shortDesc':a81l(0x8c),'description':a81l(0x79),'usage':a81l(0x7c),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x88)][m(0x96)](),b=this[m(0x88)][m(0x8f)](m(0x8a)),c=a81f[m(0x8b)](b,m(0x80)),d=a81f[m(0x8b)](b,'pm2.config.js');Log[m(0x84)]('PM2\x20Config\x20File:\x20'+d),Log['notice'](m(0x7b)+c);if(!a81g[m(0x8d)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x81)])},g=this[m(0x88)][m(0x83)]({'srcPath':m(0x86),'context':f})+'\x0a';this[m(0x88)][m(0x97)]({'filePath':c,'data':g});}execSync(m(0x98)+b+m(0x85),{'stdio':m(0x92)});}catch(h){process['exit'](0x1);}},a81e);
@@ -1 +1 @@
1
- const a82t=a82d;function a82c(){const w=['invokeMeteorCommand','3542bToJpJ','search','Node\x20Env\x20Config:\x20','local','isFile','notice','.meteor','slice','1818FXFsxl','13648280amLtrV','production','--settings','33134dJpYNc','2062875ydaMlr','error','findProjectDirectory','--production','create','splice','9mKMQzr','development','settings.json','argv','3291720gFpCCw','forEach','getConfigPath','exclude-archs','openSync','extraPackages','settings','exit','mobile-server','4AYoEMl','cordova-build','push','warn','toString','--env','isDirectory','concat','config','run','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)','ios','port','fsi','filter','env','allowIncompatibleUpdate','(((.+)+)+)+$','constructor','2373672iYvkxJ','Run\x20your\x20Meteor\x20application','runSubCommand','split','compareMakaToLatest','join','1736925sKRFkE','findSubCommand','Meteor\x20Settings:\x20'];a82c=function(){return w;};return a82c();}function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x155;let f=c[d];return f;},a82d(a,b);}(function(a,b){const q=a82d,c=a();while(!![]){try{const d=parseInt(q(0x166))/0x1*(-parseInt(q(0x17a))/0x2)+parseInt(q(0x167))/0x3+parseInt(q(0x18d))/0x4+parseInt(q(0x156))/0x5+parseInt(q(0x162))/0x6*(-parseInt(q(0x15a))/0x7)+parseInt(q(0x171))/0x8*(parseInt(q(0x16d))/0x9)+-parseInt(q(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x6f337));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const r=a82d;return a82a['toString']()[r(0x15b)](r(0x18b))[r(0x17e)]()[r(0x18c)](a82a)['search'](r(0x18b));});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a82d;a82f[s(0x175)](a,'r'),a82g[s(0x182)]({'path':a});},Run=Command[a82t(0x16b)]({'name':a82t(0x183),'mustBeInMakaProject':!![],'shortDesc':a82t(0x18e),'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':[a82t(0x189),'docker','r','rawLogs','p',a82t(0x186),'i','inspect','m','mobileServer','v','verbose',a82t(0x18a),a82t(0x176),'x',a82t(0x174),a82t(0x164)]},async function(a,b){const u=a82t;try{const c=a[0x0],d=this[u(0x157)](c);d&&this[u(0x18f)](c,a,b);if(c===u(0x185)){const m=this['fsi'][u(0x169)](),n=a82e[u(0x155)](m,'app',u(0x160),u(0x15d),u(0x17b));this[u(0x187)][u(0x180)](n)&&await rimraf(n);}if(b[u(0x179)]&&b[u(0x179)]===!![]||b['m']&&b['m']===!![])throw u(0x184);await this[u(0x187)][u(0x191)]();const f=b[u(0x189)]?b[u(0x189)]:u(0x16e),g=this['fsi'][u(0x173)](f),h=a82e[u(0x155)](g,'process.env');let i=a82e[u(0x155)](g,u(0x16f));b[u(0x177)]?i=b['settings']:i=a82e[u(0x155)](g,u(0x16f));if(this['fsi'][u(0x15e)](h)&&!b['docker'])Log['notice'](u(0x15c)+h),syncSource(h);else!b['docker']&&Log[u(0x17d)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[u(0x187)]['isFile'](i)?(Log[u(0x15f)](u(0x158)+i),a=a['concat']([u(0x165),i])):Log[u(0x17d)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[u(0x190)](a82e['sep']),k=j[j['length']-0x1];k===u(0x164)&&a[u(0x17c)](u(0x16a));const l=process[u(0x170)][u(0x161)](0x2)[u(0x188)](o=>o!==u(0x183))[u(0x188)](o=>o!==a[0x0]);l[u(0x172)]((o,p)=>{const v=u;o===v(0x17f)&&l[v(0x16c)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[u(0x187)][u(0x159)](u(0x183),a[u(0x181)](l));}catch(o){console[u(0x168)](o),process[u(0x178)](0x1);}});export default Run;
1
+ const a82u=a82d;(function(a,b){const q=a82d,c=a();while(!![]){try{const d=parseInt(q(0x18a))/0x1+parseInt(q(0x165))/0x2*(-parseInt(q(0x171))/0x3)+-parseInt(q(0x156))/0x4*(-parseInt(q(0x184))/0x5)+parseInt(q(0x167))/0x6*(-parseInt(q(0x16c))/0x7)+parseInt(q(0x174))/0x8*(-parseInt(q(0x183))/0x9)+-parseInt(q(0x186))/0xa+parseInt(q(0x14d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xa2213));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a82d;if(c){const e=c[r(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const s=a82d;return a82a[s(0x180)]()[s(0x15a)](s(0x175))['toString']()[s(0x163)](a82a)['search'](s(0x175));});a82a();function a82c(){const x=['356iHheaz','slice','process.env','compareMakaToLatest','search','push','run','apply','join','length','--settings','exit','--production','constructor','\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.','1636642vRYkfA','concat','132Yhacbd','getConfigPath','splice','filter','split','324163uFjaBU','config','openSync','local','mobile-server','3fyKGYg','settings.json','cordova-build','64sflNUS','(((.+)+)+)+$','isFile','port','notice','settings','isDirectory','sep','Cannot\x20find\x20Node\x20Environment\x20File:\x20','fsi','Meteor\x20Settings:\x20','app','toString','--env','rawLogs','1368639xviMTW','68070HnagLB','verbose','6545480LDVyoh','mobileServer','argv','inspect','626813LwCPVW','27872449Rjkqsv','forEach','exclude-archs','env','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','.meteor','findSubCommand','docker','invokeMeteorCommand'];a82c=function(){return x;};return a82c();}import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x14d;let f=c[d];return f;},a82d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a82d;a82f[t(0x16e)](a,'r'),a82g[t(0x16d)]({'path':a});},Run=Command['create']({'name':'run','mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a82u(0x164),'validOpts':[a82u(0x150),'docker','r',a82u(0x182),'p',a82u(0x177),'i',a82u(0x189),'m',a82u(0x187),'v',a82u(0x185),'allowIncompatibleUpdate','extraPackages','x',a82u(0x14f),'production']},async function(a,b){const v=a82u;try{const c=a[0x0],d=this[v(0x153)](c);d&&this['runSubCommand'](c,a,b);if(c==='ios'){const m=this[v(0x17d)]['findProjectDirectory'](),n=a82e[v(0x15e)](m,v(0x17f),v(0x152),v(0x16f),v(0x173));this[v(0x17d)][v(0x17a)](n)&&await rimraf(n);}if(b['mobile-server']&&b[v(0x170)]===!![]||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(0x17d)][v(0x159)]();const f=b['env']?b['env']:'development',g=this['fsi'][v(0x168)](f),h=a82e[v(0x15e)](g,v(0x158));let i=a82e[v(0x15e)](g,v(0x172));b[v(0x179)]?i=b[v(0x179)]:i=a82e[v(0x15e)](g,v(0x172));if(this['fsi'][v(0x176)](h)&&!b[v(0x154)])Log['notice']('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b[v(0x154)]&&Log['warn'](v(0x17c)+h);this['fsi'][v(0x176)](i)?(Log[v(0x178)](v(0x17e)+i),a=a[v(0x166)]([v(0x160),i])):Log['warn'](v(0x151)+i);const j=g[v(0x16b)](a82e[v(0x17b)]),k=j[j[v(0x15f)]-0x1];k==='production'&&a[v(0x15b)](v(0x162));const l=process[v(0x188)][v(0x157)](0x2)['filter'](o=>o!==v(0x15c))[v(0x16a)](o=>o!==a[0x0]);l[v(0x14e)]((o,p)=>{const w=v;o===w(0x181)&&l[w(0x169)](p,0x2),o==='-e'&&l[w(0x169)](p,0x2);}),this[v(0x17d)][v(0x155)]('run',a[v(0x166)](l));}catch(o){console['error'](o),process[v(0x161)](0x1);}});export default Run;
@@ -1 +1 @@
1
- function a83c(){var i=['1910470jUbnLD','search','constructor','63wSBApc','toString','7501495UIURPW','7JEkJbm','(((.+)+)+)+$','8394864GhimLt','479876OzCDEe','1468TMdzEn','18MCMfxv','10057640GtboHj','apply','677ZGpZXm','9326284GoLJPd'];a83c=function(){return i;};return a83c();}(function(a,b){var f=a83d,c=a();while(!![]){try{var d=-parseInt(f(0x1bf))/0x1*(parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1bc))/0x3*(-parseInt(f(0x1ba))/0x4)+-parseInt(f(0x1c6))/0x5+-parseInt(f(0x1b9))/0x6+-parseInt(f(0x1b7))/0x7*(-parseInt(f(0x1bd))/0x8)+-parseInt(f(0x1c4))/0x9*(-parseInt(f(0x1c1))/0xa)+parseInt(f(0x1c0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xbaf87));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a['toString']()[h(0x1c2)](h(0x1b8))[h(0x1c5)]()[h(0x1c3)](a83a)[h(0x1c2)]('(((.+)+)+)+$');});a83a();import'./set.command.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x1b7;var f=c[d];return f;},a83d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ function a83c(){var h=['72296PZaCtj','3505240IwFcjL','9152803saZRLS','346837gwGijH','9aQXksr','(((.+)+)+)+$','constructor','5fHLGVd','1060112csmxmv','3IORPdK','454638JtoDbM','217jShEnu','search','740316SMXhBm','toString'];a83c=function(){return h;};return a83c();}(function(a,b){var f=a83d,c=a();while(!![]){try{var d=-parseInt(f(0xb5))/0x1+-parseInt(f(0xba))/0x2*(parseInt(f(0xbb))/0x3)+-parseInt(f(0xb0))/0x4*(-parseInt(f(0xb9))/0x5)+parseInt(f(0xad))/0x6+-parseInt(f(0xae))/0x7*(parseInt(f(0xb2))/0x8)+parseInt(f(0xb6))/0x9*(parseInt(f(0xb3))/0xa)+parseInt(f(0xb4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x45ec9));var a83b=(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;};}()),a83a=a83b(this,function(){var g=a83d;return a83a['toString']()[g(0xaf)](g(0xb7))[g(0xb1)]()[g(0xb8)](a83a)[g(0xaf)](g(0xb7));});a83a();import'./set.command.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0xad;var f=c[d];return f;},a83d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=parseInt(h(0x152))/0x1*(-parseInt(h(0x155))/0x2)+parseInt(h(0x153))/0x3*(-parseInt(h(0x159))/0x4)+parseInt(h(0x16a))/0x5*(parseInt(h(0x174))/0x6)+-parseInt(h(0x172))/0x7*(-parseInt(h(0x15e))/0x8)+parseInt(h(0x154))/0x9*(-parseInt(h(0x173))/0xa)+-parseInt(h(0x16f))/0xb+parseInt(h(0x157))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xc5265));function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x152;let f=c[d];return f;},a84d(a,b);}const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const i=a84d;return a84a['toString']()[i(0x169)](i(0x16e))['toString']()[i(0x15b)](a84a)[i(0x169)]('(((.+)+)+)+$');});function a84c(){const l=['fsi','constructor','workspace','maka\x20set:global-config\x20<args>','5668504CYQUuQ','maka\x20set:gc\x20--insecure\x20<path>','Set\x20OpenAI\x20Key:\x20','resolve','Could\x20not\x20find\x20directory','global-config','Set\x20CA\x20Cert\x20Path:\x20','error','success','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','disallowInsecure','search','155QGHUvj','isFile','cacert','Set\x20global\x20Maka-CLI\x20settings','(((.+)+)+)+$','4815701QILCPt','boolean','exit','7HDmqKO','240CjCEzR','122058ONAOZK','Set\x20allowInsecure:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','allowInsecure','openai','setGlobalConfig','1IXbIOk','27IAvVTZ','505188ZqSCPV','3093972Pcfnfw','maka\x20set:gc\x20--workspace\x20<path>','37708692pYpLoC','One\x20or\x20the\x20other\x20buddy','152052PoYGpH'];a84c=function(){return l;};return a84c();}a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a84j(0x163),'usage':a84j(0x15d),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84j(0x16c),a84j(0x177),'disallowInsecure',a84j(0x15c),'openai','help'],'shortDesc':a84j(0x16d),'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>',a84j(0x15f),a84j(0x156)]},async function(a,b){const k=a84j;try{if(b[k(0x16c)]){if(this[k(0x15a)][k(0x16b)](b[k(0x16c)]))this[k(0x15a)][k(0x179)]({'cert':b[k(0x16c)]}),Log[k(0x166)](k(0x164)+b[k(0x16c)]);else{const c=typeof b[k(0x16c)]===k(0x170)?k(0x176):k(0x167)+b['cacert'];throw Log[k(0x165)](c);}}if(b[k(0x15c)]){const d=this['fsi']['isDirectory'](b['workspace']);if(d)this[k(0x15a)][k(0x179)]({'workspace':a84e[k(0x161)](b[k(0x15c)])}),Log[k(0x166)]('Set\x20workspace:\x20'+a84e['resolve'](b[k(0x15c)]));else throw Log['error'](k(0x162));}b[k(0x178)]&&(this[k(0x15a)]['setGlobalConfig']({'openai':b['openai']}),Log[k(0x166)](k(0x160)+b[k(0x178)]));if(b[k(0x177)]){if(b[k(0x177)]&&b[k(0x168)])throw Log[k(0x165)](k(0x158));let f=b['allowInsecure'];b[k(0x168)]&&(f=![]),this['fsi'][k(0x179)]({'allowInsecure':f}),Log['success'](k(0x175)+f);}process['exit'](0x0);}catch(g){console[k(0x165)](g),process[k(0x171)](0x0);}},a84f);
1
+ const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x14e))/0x1+-parseInt(h(0x14d))/0x2+-parseInt(h(0x137))/0x3*(parseInt(h(0x141))/0x4)+parseInt(h(0x13b))/0x5*(-parseInt(h(0x134))/0x6)+parseInt(h(0x14c))/0x7*(-parseInt(h(0x147))/0x8)+parseInt(h(0x148))/0x9+parseInt(h(0x12d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x461f1));function a84c(){const m=['boolean','disallowInsecure','6molLsy','toString','setGlobalConfig','141RtDhAg','apply','isDirectory','Could\x20not\x20find\x20directory','724285CJHqKr','resolve','workspace','\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','One\x20or\x20the\x20other\x20buddy','Set\x20global\x20Maka-CLI\x20settings','16252uTnTyS','search','success','maka\x20set:gc\x20--workspace\x20<path>','fsi','cacert','658040HQBstG','2555343vbRHTc','create','openai','Set\x20OpenAI\x20Key:\x20','42TPQgNR','470610qAvEhj','559612DaSXeJ','allowInsecure','constructor','error','isFile','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','maka\x20set:global-config\x20--cacert\x20<path>','16275550DUUTJw','exit','Set\x20workspace:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','(((.+)+)+)+$'];a84c=function(){return m;};return a84c();}const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0x135)]()[j(0x142)](j(0x131))[j(0x135)]()[j(0x150)](a84a)[j(0x142)](j(0x131));});a84a();import a84e from'path';import a84f from'./set.command.js';function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x12d;let f=c[d];return f;},a84d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84k(0x149)]({'name':'global-config','usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0x146),a84k(0x14f),a84k(0x133),'workspace',a84k(0x14a),'help'],'shortDesc':a84k(0x140),'description':a84k(0x13e),'examples':[a84k(0x154),'maka\x20set:gc\x20--insecure\x20<path>',a84k(0x144)]},async function(a,b){const l=a84k;try{if(b[l(0x146)]){if(this[l(0x145)][l(0x152)](b[l(0x146)]))this[l(0x145)][l(0x136)]({'cert':b[l(0x146)]}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x146)]);else{const c=typeof b[l(0x146)]===l(0x132)?l(0x153):l(0x130)+b[l(0x146)];throw Log[l(0x151)](c);}}if(b['workspace']){const d=this['fsi'][l(0x139)](b['workspace']);if(d)this[l(0x145)][l(0x136)]({'workspace':a84e[l(0x13c)](b['workspace'])}),Log[l(0x143)](l(0x12f)+a84e['resolve'](b[l(0x13d)]));else throw Log['error'](l(0x13a));}b[l(0x14a)]&&(this[l(0x145)][l(0x136)]({'openai':b[l(0x14a)]}),Log[l(0x143)](l(0x14b)+b['openai']));if(b['allowInsecure']){if(b[l(0x14f)]&&b['disallowInsecure'])throw Log[l(0x151)](l(0x13f));let f=b['allowInsecure'];b[l(0x133)]&&(f=![]),this['fsi'][l(0x136)]({'allowInsecure':f}),Log[l(0x143)]('Set\x20allowInsecure:\x20'+f);}process[l(0x12e)](0x0);}catch(g){console[l(0x151)](g),process['exit'](0x0);}},a84f);
@@ -1 +1 @@
1
- var a85h=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x10f))/0x1+-parseInt(f(0x104))/0x2+parseInt(f(0x107))/0x3+-parseInt(f(0x109))/0x4*(parseInt(f(0x110))/0x5)+parseInt(f(0x101))/0x6*(-parseInt(f(0x10d))/0x7)+parseInt(f(0x10a))/0x8+parseInt(f(0x102))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xa7e3f));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[g(0x111)]()[g(0xff)]('(((.+)+)+)+$')[g(0x111)]()[g(0x108)](a85a)[g(0xff)](g(0x10b));});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0xff;var f=c[d];return f;},a85d(a,b);}import{Log}from'../../tools/log/log.class.js';function a85c(){var j=['875340CtXuEB','constructor','7636fUxsjw','8874544yjvDda','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','14xiVhZd','notice','1057768GieoLh','1355deLOdd','toString','search','Sorry,\x20not\x20implemented\x20yet','1503696gwOQwK','3186405jtrGcJ','maka\x20set:lc\x20<opts>','2213322oeZwHm','maka\x20set:local-config\x20<opts>','create'];a85c=function(){return j;};return a85c();}Command[a85h(0x106)]({'name':'local-config','usage':a85h(0x105),'examples':[a85h(0x103),'maka\x20set:local-config\x20<opts>'],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a85h(0x10c)},async function(){var i=a85h;Log[i(0x10e)](i(0x100));},a85e);
1
+ var a85i=a85d;function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x12b;var f=c[d];return f;},a85d(a,b);}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0x134))/0x1*(-parseInt(f(0x138))/0x2)+parseInt(f(0x12b))/0x3*(-parseInt(f(0x12e))/0x4)+parseInt(f(0x13b))/0x5+parseInt(f(0x13c))/0x6+-parseInt(f(0x135))/0x7*(-parseInt(f(0x13a))/0x8)+-parseInt(f(0x130))/0x9+-parseInt(f(0x12f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x44018));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x12d)]()[h(0x13d)](h(0x12c))[h(0x12d)]()[h(0x131)](a85a)[h(0x13d)](h(0x12c));});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';function a85c(){var k=['851418UyQaDG','constructor','maka\x20set:local-config\x20<opts>','local-config','2685rCSFuH','301xuiGXx','maka\x20set:lc\x20<opts>','create','166nYoCJX','apply','68920CFUoFj','2610700PGnQfu','833940MfOyzq','search','Sorry,\x20not\x20implemented\x20yet','9BvQNvS','(((.+)+)+)+$','toString','209640FiFTqe','7240460wqRxUi'];a85c=function(){return k;};return a85c();}import{Log}from'../../tools/log/log.class.js';Command[a85i(0x137)]({'name':a85i(0x133),'usage':a85i(0x132),'examples':[a85i(0x136),a85i(0x132)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a85i;Log['notice'](j(0x13e));},a85e);
@@ -1 +1 @@
1
- const a86h=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x8f))/0x1*(parseInt(f(0x90))/0x2)+parseInt(f(0x92))/0x3*(parseInt(f(0x8c))/0x4)+parseInt(f(0x91))/0x5*(-parseInt(f(0x8b))/0x6)+-parseInt(f(0x97))/0x7+-parseInt(f(0x85))/0x8*(parseInt(f(0x89))/0x9)+-parseInt(f(0x95))/0xa*(-parseInt(f(0x94))/0xb)+parseInt(f(0x8e))/0xc*(parseInt(f(0x86))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x9e7ee));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const g=a86d;return a86a[g(0x87)]()['search'](g(0x8d))[g(0x87)]()['constructor'](a86a)[g(0x8a)](g(0x8d));});a86a();import{Command}from'../../command.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x85;let f=c[d];return f;},a86d(a,b);}import{UsageError}from'../../error.js';function a86c(){const j=['108hNYDPx','1639952KpqiKi','(((.+)+)+)+$','12asVFmk','179WPDaJX','13022STPOim','18015KEeLbx','9eQymyc','findSubCommand','11glpBni','7552990vjCSqc','set','4362505ajBFVK','44648ogOpvh','8758633lejSvc','toString','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','252ywqbnx','search'];a86c=function(){return j;};return a86c();}const SetCommand=Command['create']({'name':a86h(0x96),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a86h(0x88),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const i=a86h,c=a[0x0];if(b['help'])throw new UsageError();const d=this[i(0x93)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
1
+ const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x73))/0x1*(parseInt(f(0x69))/0x2)+-parseInt(f(0x78))/0x3*(-parseInt(f(0x6b))/0x4)+parseInt(f(0x6d))/0x5*(-parseInt(f(0x77))/0x6)+parseInt(f(0x70))/0x7*(parseInt(f(0x7c))/0x8)+-parseInt(f(0x6c))/0x9*(-parseInt(f(0x7b))/0xa)+-parseInt(f(0x71))/0xb+parseInt(f(0x67))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xe90a7));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x68)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x6a)]()[h(0x75)]('(((.+)+)+)+$')[h(0x6a)]()[h(0x66)](a86a)[h(0x75)](h(0x72));});a86a();function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x66;let f=c[d];return f;},a86d(a,b);}function a86c(){const k=['set','336707KVzsSc','18040154iNqZIm','(((.+)+)+)+$','1916dyGwUc','help','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','2755758RQmQCY','3vADBxD','maka\x20set:<sub-command>\x20<opts>','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','1849430VDIUbZ','136KjyRre','constructor','14001816fpeMZY','apply','38jwwdtl','toString','2203528axcZEm','27JxrzrF','5WjWmsj','create'];a86c=function(){return k;};return a86c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0x6e)]({'name':a86i(0x6f),'usage':a86i(0x79),'minArgLength':0x1,'shortDesc':a86i(0x7a),'description':a86i(0x76),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0x74)])throw new UsageError();const d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x9d))/0x1*(parseInt(j(0xa6))/0x2)+-parseInt(j(0x9f))/0x3*(parseInt(j(0xa1))/0x4)+-parseInt(j(0x92))/0x5+-parseInt(j(0x93))/0x6+parseInt(j(0x97))/0x7*(parseInt(j(0x95))/0x8)+-parseInt(j(0x9e))/0x9+parseInt(j(0xa5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x7b39a));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x8c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x90)]()[l(0x8a)](l(0x87))[l(0x90)]()['constructor'](a87a)[l(0x8a)](l(0x87));});a87a();import a87e from'fs';function a87c(){const o=['toString','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','4526775PhXMXf','2980566seqGZy','length','24664MBvNfk','parse','1113JCQhBj','assign','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','create','env','ssh.json','1UJZYbq','960012YETqwE','87leeYcW','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','57220NHcAUN','error','getConfigPath','ssh','20957640YHwOyp','315204TYLZhB','(((.+)+)+)+$','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','exit','search','sshSync','apply','join','readFileSync','fsi'];a87c=function(){return o;};return a87c();}import a87f from'path';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-0x87;let f=c[d];return f;},a87d(a,b);}Command[a87m(0x9a)]({'name':a87m(0xa4),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a87m(0x9b)],'validOpts':[a87m(0x9b),'v'],'shortDesc':a87m(0x91),'examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod',a87m(0x99),a87m(0xa0),a87m(0x88)]},async function(a,b){const n=a87m;try{const c=this[n(0x8f)][n(0xa3)](b['env']);let d='';a[n(0x94)]>0x0&&(d=a[0x0]);const f=a87f[n(0x8d)](c,n(0x9c)),g=a87e[n(0x8e)](f)[n(0x90)](),h=JSON[n(0x96)](g);Object[n(0x98)](h,{'env':c}),SSH[n(0x8b)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xa2)](i),process[n(0x89)](0x0);}});
1
+ const a87l=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=parseInt(j(0x11e))/0x1*(-parseInt(j(0x10f))/0x2)+-parseInt(j(0x110))/0x3*(-parseInt(j(0x111))/0x4)+parseInt(j(0x107))/0x5+parseInt(j(0x118))/0x6*(parseInt(j(0x11b))/0x7)+-parseInt(j(0x11c))/0x8*(parseInt(j(0x10d))/0x9)+-parseInt(j(0x115))/0xa+parseInt(j(0x103))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x9b23a));const a87b=(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;};}()),a87a=a87b(this,function(){const k=a87d;return a87a['toString']()[k(0x11f)](k(0x109))[k(0x10a)]()[k(0x119)](a87a)[k(0x11f)](k(0x109));});a87a();import a87e from'fs';import a87f from'path';function a87c(){const n=['ssh','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','9171310KPFeCi','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','env','33198oVndNy','constructor','getConfigPath','21HQJkeW','8KokJiB','readFileSync','1ZGNZcd','search','parse','5334593ounGex','ssh.json','exit','length','3274185vBzCOH','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','(((.+)+)+)+$','toString','maka\x20ssh\x20<command>','join','285291lcsFLN','fsi','644726oTgNFe','2250732HaMAEB','4kiDoOn'];a87c=function(){return n;};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-0x103;let f=c[d];return f;},a87d(a,b);}Command['create']({'name':a87l(0x112),'usage':a87l(0x10b),'mustBeInMakaProject':!![],'requiredOpts':[a87l(0x117)],'validOpts':[a87l(0x117),'v'],'shortDesc':a87l(0x116),'examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod',a87l(0x108),a87l(0x113),a87l(0x114)]},async function(a,b){const m=a87l;try{const c=this[m(0x10e)][m(0x11a)](b[m(0x117)]);let d='';a[m(0x106)]>0x0&&(d=a[0x0]);const f=a87f[m(0x10c)](c,m(0x104)),g=a87e[m(0x11d)](f)[m(0x10a)](),h=JSON[m(0x120)](g);Object['assign'](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process[m(0x105)](0x0);}});
@@ -1 +1 @@
1
- const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x171))/0x1+-parseInt(v(0x17d))/0x2*(-parseInt(v(0x179))/0x3)+parseInt(v(0x17c))/0x4+-parseInt(v(0x182))/0x5*(parseInt(v(0x168))/0x6)+-parseInt(v(0x16e))/0x7*(-parseInt(v(0x16f))/0x8)+parseInt(v(0x176))/0x9*(parseInt(v(0x15e))/0xa)+-parseInt(v(0x172))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x23e39));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x178)]()['search'](x(0x18d))[x(0x178)]()[x(0x189)](a88a)[x(0x17b)](x(0x18d));});function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x156;let f=c[d];return f;},a88d(a,b);}a88a();import a88e from'fs';import a88f from'path';function a88c(){const A=['231NLcOeL','59144FVdGLE','success','255947XBcwjM','981024hxJirK','domainNames','generate-ssc','ssl','9iDTfGG','apply','toString','258EEUAaQ','exit','search','1134884VFvAMW','1158DNikCi','genSSC','.csr','withSpinner','error','255nnvlQG','ssh','Please\x20provide\x20a\x20command.','email','[?]\x20Domains\x20to\x20register:\x20','appName','mkKeysDir','constructor','Verifying\x20Letsencrypt\x20configuration','maka\x20ssl\x20--env\x20dev\x20generate-csr','\x20--email\x20','(((.+)+)+)+$','Remote\x20host\x20connection\x20successful','notice','join','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','generate-csr','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','getProjectConfig','emailUpdate','getConfigPath','stringify','writeFileSync','Using\x20saved\x20letsencrypt\x20config','.key','Create\x20and\x20manage\x20your\x20SSL\x20operations.','fsi','parse','1907110tyungJ','/ssh.json','Email\x20to\x20use\x20for\x20auto-updates:\x20','existsSync','uname\x20-a','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','New\x20CSR\x20written\x20to\x20','start','ask','letsencrypt.json','32478VKWBlM','domains','readFileSync','Checking\x20remote\x20host\x20availability','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','sudo\x20snap\x20install\x20--classic\x20certbot'];a88c=function(){return A;};return a88c();}import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a88y(0x175),'usage':'maka\x20ssl\x20[command]','validOpts':[a88y(0x169),a88y(0x185)],'requiredOpts':['env'],'shortDesc':a88y(0x15b),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x18b),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a88y(0x16c)]},async function(a,b){const z=a88y,c=this['fsi'][z(0x194)](),d=this[z(0x15c)][z(0x156)](b['env']),f=this['fsi'][z(0x188)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x192))SSL['genCSR']({'keyName':c[z(0x187)]+'.key','csrName':c['appName']+z(0x17f),'cwd':f});else{if(g===z(0x174)){if(!a88e[z(0x161)](a88f[z(0x190)](f,c['appName']+z(0x15a))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f[z(0x190)](f,c[z(0x187)]+z(0x15a));if(!a88e['existsSync'](a88f[z(0x190)](f,c[z(0x187)]+z(0x17f))))throw z(0x193)+a88f[z(0x190)](f,c[z(0x187)]+z(0x17f));SSL[z(0x17e)]({'keyName':c['appName']+z(0x15a),'crtName':c[z(0x187)]+'.crt','cwd':f}),Log['notice'](z(0x164)+f);}else{if(g==='letsencrypt'){let h=b[z(0x169)],i=b[z(0x185)];try{const p=a88e[z(0x16a)](a88f[z(0x190)](d,'letsencrypt.json'))[z(0x178)](),q=JSON[z(0x15d)](p);h=b[z(0x169)]?b[z(0x169)]:q[z(0x173)],i=b['email']?b['email']:q[z(0x195)],(!b[z(0x185)]||!b[z(0x169)])&&Log[z(0x18f)](z(0x159));}catch(r){}const j=JSON[z(0x15d)](a88e['readFileSync'](d+z(0x15f))[z(0x178)]());Object['assign'](j,{'env':d}),Log[z(0x18f)](z(0x16b));try{const s=SSH['ping'](z(0x162),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x170)](z(0x18e));}catch(t){Log['error'](t);return;}const k=Log[z(0x180)]();k[z(0x165)](z(0x18a)),SSH[z(0x183)](z(0x163),{...j}),SSH[z(0x183)](z(0x16d),{...j}),SSH[z(0x183)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0x170)]();const l=h?h:await Actions[z(0x166)](z(0x186)),m=i?i:await Actions[z(0x166)](z(0x160));SSH['ssh'](z(0x191)+l+z(0x18c)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x157)](n,null,0x2);a88e[z(0x158)](a88f[z(0x190)](d,z(0x167)),o);}else throw z(0x184);}}}catch(u){console[z(0x181)](u),process[z(0x17a)](0x0);}});
1
+ const a88x=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x114))/0x1*(-parseInt(v(0x11e))/0x2)+parseInt(v(0x115))/0x3+parseInt(v(0x110))/0x4*(-parseInt(v(0x13f))/0x5)+parseInt(v(0x120))/0x6*(parseInt(v(0x139))/0x7)+parseInt(v(0x10d))/0x8*(parseInt(v(0x126))/0x9)+parseInt(v(0x127))/0xa+-parseInt(v(0x116))/0xb*(parseInt(v(0x12d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xddef4));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const w=a88d;return a88a['toString']()[w(0x12b)]('(((.+)+)+)+$')['toString']()[w(0x118)](a88a)[w(0x12b)](w(0x122));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';function a88c(){const z=['14utWlBG','appName','getConfigPath','error','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','emailUpdate','5tMVJwn','writeFileSync','readFileSync','notice','ssh','genCSR','ask','domainNames','.crt','mkKeysDir','\x20--email\x20','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20--env\x20dev\x20generate-csr','letsencrypt.json','17512fMcHEH','success','join','3754612fTdggo','New\x20CSR\x20written\x20to\x20','withSpinner','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','145815bKOaLB','15450kEygwt','22ZVOHQK','parse','constructor','email','Remote\x20host\x20connection\x20successful','.csr','genSSC','Verifying\x20Letsencrypt\x20configuration','18dqxvBy','maka\x20ssl\x20[command]','741306bCaClz','Create\x20and\x20manage\x20your\x20SSL\x20operations.','(((.+)+)+)+$','Please\x20provide\x20a\x20command.','.key','env','117tnpqvk','5668710NyjVgd','/ssh.json','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','search','generate-csr','1873308FvLdzJ','fsi','stringify','sudo\x20snap\x20install\x20--classic\x20certbot','Checking\x20remote\x20host\x20availability','start','generate-ssc','getProjectConfig','ping','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','domains','toString'];a88c=function(){return z;};return a88c();}function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x101;let f=c[d];return f;},a88d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':'ssl','usage':a88x(0x11f),'validOpts':['domains',a88x(0x119)],'requiredOpts':[a88x(0x125)],'shortDesc':a88x(0x121),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88x(0x10b),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a88x(0x129)]},async function(a,b){const y=a88x,c=this[y(0x12e)][y(0x134)](),d=this[y(0x12e)][y(0x13b)](b[y(0x125)]),f=this['fsi'][y(0x108)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x12c))SSL[y(0x104)]({'keyName':c[y(0x13a)]+'.key','csrName':c[y(0x13a)]+y(0x11b),'cwd':f});else{if(g===y(0x133)){if(!a88e['existsSync'](a88f[y(0x10f)](f,c[y(0x13a)]+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f[y(0x10f)](f,c[y(0x13a)]+y(0x124));if(!a88e['existsSync'](a88f[y(0x10f)](f,c[y(0x13a)]+'.csr')))throw y(0x113)+a88f[y(0x10f)](f,c[y(0x13a)]+'.csr');SSL[y(0x11c)]({'keyName':c['appName']+y(0x124),'crtName':c[y(0x13a)]+y(0x107),'cwd':f}),Log[y(0x102)](y(0x111)+f);}else{if(g==='letsencrypt'){let h=b['domains'],i=b['email'];try{const p=a88e[y(0x101)](a88f['join'](d,y(0x10c)))['toString'](),q=JSON[y(0x117)](p);h=b[y(0x137)]?b['domains']:q[y(0x106)],i=b[y(0x119)]?b['email']:q[y(0x13e)],(!b['email']||!b[y(0x137)])&&Log[y(0x102)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[y(0x117)](a88e['readFileSync'](d+y(0x128))[y(0x138)]());Object['assign'](j,{'env':d}),Log[y(0x102)](y(0x131));try{const s=SSH[y(0x135)]('uname\x20-a',j);if(!s)throw y(0x12a);if(s)Log['success'](y(0x11a));}catch(t){Log[y(0x13c)](t);return;}const k=Log[y(0x112)]();k[y(0x132)](y(0x11d)),SSH['ssh'](y(0x10a),{...j}),SSH[y(0x103)](y(0x130),{...j}),SSH[y(0x103)](y(0x136),{...j}),k[y(0x10e)]();const l=h?h:await Actions['ask']('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[y(0x105)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[y(0x103)](y(0x13d)+l+y(0x109)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x12f)](n,null,0x2);a88e[y(0x140)](a88f['join'](d,y(0x10c)),o);}else throw y(0x123);}}}catch(u){console[y(0x13c)](u),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a89q=a89d;function a89c(){const t=['7505329SmLEpi','driver-package','process.env','driver','fsi','test','maka\x20test\x20<opts>','invokeMeteorCommand','concat','create','findProjectDirectory','packages','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','unit','--packages','--settings','--driver','once','utf8','notice','none','jasmine','testAppPath','777yCQzHq','config','join','test-packages','search','24BlqWII','13343zzANXP','--env','--full-app','Meteor\x20Settings:\x20','constructor','parse','(((.+)+)+)+$','driverPackage','splice','Node\x20Env\x20Config:\x20','engines','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','29574paaNyR','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','rawLogs','140248XpqJgl','slice','isFile','28957XMTwNN','meteortesting:mocha','113825EuFkPu','toString','readFileSync','env','apply','warn','2400mITong','inspect','forEach','mocha','251952OsPzWM','6CkuvSl','40sJsPrr','exit','603yGbwhT','--driver-package','getConfigPath'];a89c=function(){return t;};return a89c();}(function(a,b){const m=a89d,c=a();while(!![]){try{const d=-parseInt(m(0x9d))/0x1*(-parseInt(m(0xaa))/0x2)+parseInt(m(0xa9))/0x3*(parseInt(m(0xab))/0x4)+-parseInt(m(0x9f))/0x5+-parseInt(m(0x97))/0x6*(parseInt(m(0xc7))/0x7)+-parseInt(m(0x9a))/0x8*(parseInt(m(0xad))/0x9)+parseInt(m(0xa5))/0xa*(parseInt(m(0xcd))/0xb)+-parseInt(m(0xcc))/0xc*(-parseInt(m(0xb0))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x99544));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0xa0)]()[o(0xcb)](o(0xd3))['toString']()[o(0xd1)](a89a)[o(0xcb)](o(0xd3));});a89a();import a89e from'fs';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x95;let f=c[d];return f;},a89d(a,b);}import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a89d;a89e['openSync'](a,'r'),a89g[p(0xc8)]({'path':a});};Command[a89q(0xb9)]({'name':a89q(0xb5),'mustBeInMakaProject':!![],'validOpts':[a89q(0xc1),a89q(0xbb),'driver',a89q(0xd4),a89q(0xbd),a89q(0xa2),a89q(0x99),'port',a89q(0xa6),a89q(0xc6)],'usage':a89q(0xb6),'shortDesc':a89q(0xbc),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0xb4)][r(0xaf)]('development');b[r(0xa2)]&&(c=this['fsi'][r(0xaf)](b['env']));(!b[r(0xbd)]||!!b['once'])&&(a=a['concat']([r(0xcf)]));b[r(0xbd)]&&delete b[r(0xbd)];let d=b['driver-package']||b['driver']||r(0xc4);if(d==='none'){const j=JSON[r(0xd2)](a89e[r(0xa1)](a89f[r(0xc9)](this['fsi'][r(0xba)](),'.maka','config.json'),r(0xc2)));if(j[r(0x95)][r(0xb5)]===r(0xc5))d='sanjo:jasmine';else j['engines'][r(0xb5)]===r(0xa8)&&(d=r(0x9e));}if(d===r(0xc4))throw r(0x98);(!b[r(0xb1)]||!b[r(0xb3)])&&(a=a['concat']([r(0xae),d]));const f=a89f[r(0xc9)](c,'settings.json');this[r(0xb4)][r(0x9c)](f)?(Log[r(0xc3)](r(0xd0)+f),a=a['concat']([r(0xbf),f])):Log[r(0xa4)](r(0x96)+f);const g=a89f[r(0xc9)](c,r(0xb2));this[r(0xb4)][r(0x9c)](g)?(Log[r(0xc3)](r(0xd6)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][r(0x9b)](0x2)['filter'](k=>k!==r(0xce))['filter'](k=>k!==r(0xb5))['filter'](k=>k!==a[0x0]);h[r(0xa7)]((k,l)=>{const s=r;(k===s(0xce)||k===s(0xc0))&&h[s(0xd5)](l,0x2),k===s(0xbe)&&h['splice'](l,0x1);});const i=b[r(0xbb)]?r(0xca):r(0xb5);this[r(0xb4)][r(0xb7)](i,a[r(0xb8)](h));}catch(k){console['error'](k),process[r(0xac)](0x0);}});
1
+ const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x1e7))/0x1+-parseInt(m(0x1f6))/0x2*(parseInt(m(0x1c9))/0x3)+-parseInt(m(0x1fc))/0x4+parseInt(m(0x1f3))/0x5+parseInt(m(0x1d1))/0x6*(-parseInt(m(0x1f0))/0x7)+parseInt(m(0x1cc))/0x8+parseInt(m(0x1c5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x2f805));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0x1ed)]()[o(0x1e8)](o(0x1cf))[o(0x1ed)]()['constructor'](a89a)['search'](o(0x1cf));});function a89c(){const t=['none','mocha','--env','unit','driver-package','58444RJiiyW','fsi','port','rawLogs','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','647496GJPBBL','once','driver','config','753rViXMM','process.env','maka\x20test\x20<opts>','2225088fePmwl','packages','meteortesting:mocha','(((.+)+)+)+$','env','132lulcMT','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','inspect','testAppPath','isFile','.maka','--driver','exit','jasmine','Meteor\x20Settings:\x20','forEach','filter','openSync','getConfigPath','notice','apply','readFileSync','engines','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','error','Node\x20Env\x20Config:\x20','join','248915aWADub','search','parse','--packages','splice','config.json','toString','utf8','test','51121hAipCY','--full-app','concat','542210mIwcsb','slice','findProjectDirectory','2690KenMWo'];a89c=function(){return t;};return a89c();}a89a();function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a89d(a,b);}import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a89d;a89e[p(0x1dd)](a,'r'),a89g[p(0x1c8)]({'path':a});};Command['create']({'name':a89q(0x1ef),'mustBeInMakaProject':!![],'validOpts':[a89q(0x1c6),'packages',a89q(0x1c7),'driverPackage',a89q(0x1fa),'env',a89q(0x1c3),a89q(0x1c2),a89q(0x1d3),a89q(0x1d4)],'usage':a89q(0x1cb),'shortDesc':a89q(0x1d2),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0x1fd)]['getConfigPath']('development');b[r(0x1d0)]&&(c=this[r(0x1fd)][r(0x1de)](b[r(0x1d0)]));(!b[r(0x1fa)]||!!b[r(0x1c6)])&&(a=a[r(0x1f2)]([r(0x1f1)]));b['unit']&&delete b[r(0x1fa)];let d=b[r(0x1fb)]||b[r(0x1c7)]||r(0x1f7);if(d===r(0x1f7)){const j=JSON[r(0x1e9)](a89e[r(0x1e1)](a89f[r(0x1e6)](this[r(0x1fd)][r(0x1f5)](),r(0x1d6),r(0x1ec)),r(0x1ee)));if(j[r(0x1e2)][r(0x1ef)]===r(0x1d9))d='sanjo:jasmine';else j[r(0x1e2)]['test']===r(0x1f8)&&(d=r(0x1ce));}if(d===r(0x1f7))throw r(0x1c4);(!b[r(0x1fb)]||!b['driver'])&&(a=a['concat'](['--driver-package',d]));const f=a89f[r(0x1e6)](c,'settings.json');this['fsi'][r(0x1d5)](f)?(Log[r(0x1df)](r(0x1da)+f),a=a['concat'](['--settings',f])):Log['warn'](r(0x1e3)+f);const g=a89f['join'](c,r(0x1ca));this[r(0x1fd)]['isFile'](g)?(Log[r(0x1df)](r(0x1e5)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][r(0x1f4)](0x2)[r(0x1dc)](k=>k!==r(0x1f9))[r(0x1dc)](k=>k!==r(0x1ef))['filter'](k=>k!==a[0x0]);h[r(0x1db)]((k,l)=>{const s=r;(k===s(0x1f9)||k===s(0x1d7))&&h[s(0x1eb)](l,0x2),k===s(0x1ea)&&h[s(0x1eb)](l,0x1);});const i=b[r(0x1cd)]?'test-packages':'test';this[r(0x1fd)]['invokeMeteorCommand'](i,a[r(0x1f2)](h));}catch(k){console[r(0x1e4)](k),process[r(0x1d8)](0x0);}});
@@ -1 +1 @@
1
- const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x88))/0x1*(parseInt(k(0x89))/0x2)+-parseInt(k(0x8a))/0x3+-parseInt(k(0x99))/0x4+parseInt(k(0x86))/0x5*(-parseInt(k(0x8d))/0x6)+-parseInt(k(0x83))/0x7*(parseInt(k(0xa0))/0x8)+-parseInt(k(0x9a))/0x9+parseInt(k(0x85))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xa8fbb));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x9f)]()[m(0x80)](m(0x9d))['toString']()[m(0x7f)](a90a)[m(0x80)]('(((.+)+)+)+$');});a90a();import{execSync}from'child_process';import a90e from'semver';function a90c(){const p=['\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','isMakaProject','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','bright','fsi','maka\x20v','apply','4.5.33','platform','Project\x27s\x20Meteor\x20Node\x20Version\x20','constructor','search','Project\x27s\x20Meteor\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','7DDhVjZ','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','26602170AJjHuY','59715MpaRoG','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','3uydxyX','864700NlPXgU','3425859XtKvJY','Maka\x20','meteor','420jqPZOc','error','System\x27s\x20Node\x20Version\x20','node\x20-v','----------------------System----------------------------','verbose','----------------------Project----------------------------','compareMakaToLatest','replace','warn','version','System\x27s\x20Meteor\x20Version\x20','2834584tttQOo','1441584PuoraV','N/A','\x20node\x20-v','(((.+)+)+)+$','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','toString','3346616lfgoCX','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','create','maka\x20version','getGlobalMeteorVersion'];a90c=function(){return p;};return a90c();}function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x78;let f=c[d];return f;},a90d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0x7c)};Command[a90n(0xa2)]({'name':a90n(0x97),'aliases':['v'],'usage':a90n(0xa3),'maxArgLength':0x1,'validOpts':[a90n(0x92)],'shortDesc':a90n(0x84),'examples':[a90n(0x7a),'maka\x20version','maka\x20version\x20--verbose'],'description':a90n(0xa1)},async function(a,b){const o=a90n;try{const c=process[o(0x7d)]==='win32'?'meteor.bat':o(0x8c);Log['majestic'](o(0x8b)+pjson[o(0x97)]);if(b['verbose']){await this[o(0x79)][o(0x94)](),Log[o(0x78)](o(0x91));const d=this[o(0x79)][o(0xa4)]();Log[o(0x78)]((o(0x98)+d)[o(0x95)]('\x0a',''));const f=execSync(c+o(0x9c))[o(0x9f)]()[o(0x95)](/\r?\n|\r/,'')[o(0x95)]('v','');Log[o(0x78)](o(0x9e)+f);const g=execSync(o(0x90))[o(0x9f)]()[o(0x95)](/\r?\n|\r/,'')[o(0x95)]('v','');a90e['gt'](f,g)?(Log[o(0x96)](o(0x8f)+g),Log[o(0x96)](o(0xa7)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x78)](o(0x8f)+g);if(this[o(0x79)][o(0xa6)]()){Log[o(0x78)](o(0x93));const h=this[o(0x79)]['getProjectMeteorVersion']();a90e['gt'](d,h)?(Log[o(0x96)](o(0x81)+h[o(0x95)]('\x0a','')),Log[o(0x96)](o(0x87)+d+'\x22')):Log['notice'](('Project\x27s\x20Meteor\x20Version\x20'+h)['replace']('\x0a',''));const i=await this[o(0x79)]['getProjectsMeteorNodeVersion']();i===o(0x9b)?(Log[o(0x96)](o(0x7e)+i),Log['warn'](o(0xa5))):Log['bright'](o(0x7e)+i),Log['bright'](o(0x82));}}}catch(j){console[o(0x8e)](j),process['exit'](0x0);}});
1
+ const a90n=a90d;function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x140;let f=c[d];return f;},a90d(a,b);}function a90c(){const p=['148144keDolg','replace','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','constructor','bright','System\x27s\x20Node\x20Version\x20','1001124OfQtfJ','System\x27s\x20Meteor\x20Version\x20','isMakaProject','Project\x27s\x20Meteor\x20Node\x20Version\x20','3733805xLTDwo','maka\x20version','toString','node\x20-v','Project\x27s\x20Meteor\x20Version\x20','getProjectMeteorVersion','2IGIkal','fsi','96AdEONW','----------------------Project----------------------------',')\x20to\x20at\x20least\x20meteor\x27s\x20(','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','platform','meteor.bat','apply','\x20node\x20-v','788277LxWMrj','4.5.34','majestic','create','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','6519FqbcaZ','maka\x20version\x20--verbose','warn','error','5862483TpoAuM','getGlobalMeteorVersion','----------------------System----------------------------','2725680mjhHkK','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','verbose','(((.+)+)+)+$','exit'];a90c=function(){return p;};return a90c();}(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x165))/0x1*(parseInt(k(0x14a))/0x2)+-parseInt(k(0x159))/0x3*(-parseInt(k(0x14c))/0x4)+-parseInt(k(0x144))/0x5+-parseInt(k(0x140))/0x6+parseInt(k(0x154))/0x7+parseInt(k(0x160))/0x8+parseInt(k(0x15d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x5f8dd));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x146)]()['search'](m(0x163))[m(0x146)]()[m(0x168)](a90a)['search'](m(0x163));});a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0x155)};Command[a90n(0x157)]({'name':'version','aliases':['v'],'usage':a90n(0x145),'maxArgLength':0x1,'validOpts':[a90n(0x162)],'shortDesc':a90n(0x161),'examples':['maka\x20v',a90n(0x145),a90n(0x15a)],'description':a90n(0x14f)},async function(a,b){const o=a90n;try{const c=process[o(0x150)]==='win32'?o(0x151):'meteor';Log[o(0x156)]('Maka\x20'+pjson['version']);if(b[o(0x162)]){await this['fsi']['compareMakaToLatest'](),Log['bright'](o(0x15f));const d=this[o(0x14b)][o(0x15e)]();Log[o(0x169)]((o(0x141)+d)[o(0x166)]('\x0a',''));const f=execSync(c+o(0x153))['toString']()[o(0x166)](/\r?\n|\r/,'')[o(0x166)]('v','');Log['bright']('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x147))['toString']()['replace'](/\r?\n|\r/,'')[o(0x166)]('v','');a90e['gt'](f,g)?(Log[o(0x15b)](o(0x16a)+g),Log[o(0x15b)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x14e)+f+')')):Log[o(0x169)](o(0x16a)+g);if(this[o(0x14b)][o(0x142)]()){Log[o(0x169)](o(0x14d));const h=this['fsi'][o(0x149)]();a90e['gt'](d,h)?(Log[o(0x15b)](o(0x148)+h[o(0x166)]('\x0a','')),Log[o(0x15b)](o(0x167)+d+'\x22')):Log['notice'](('Project\x27s\x20Meteor\x20Version\x20'+h)['replace']('\x0a',''));const i=await this[o(0x14b)]['getProjectsMeteorNodeVersion']();i==='N/A'?(Log[o(0x15b)](o(0x143)+i),Log[o(0x15b)](o(0x158))):Log[o(0x169)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x169)]('\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');}}}catch(j){console[o(0x15c)](j),process[o(0x164)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0xb5))/0x1*(parseInt(f(0xbb))/0x2)+parseInt(f(0xb9))/0x3*(-parseInt(f(0xb7))/0x4)+-parseInt(f(0xbd))/0x5+parseInt(f(0xb4))/0x6*(parseInt(f(0xb1))/0x7)+parseInt(f(0xbe))/0x8*(-parseInt(f(0xb2))/0x9)+parseInt(f(0xb0))/0xa*(-parseInt(f(0xbc))/0xb)+parseInt(f(0xb3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xcea9b));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0xb6)]()[h(0xba)](h(0xaf))[h(0xb6)]()[h(0xbf)](a91a)[h(0xba)](h(0xaf));});a91a();export class UsageError{}function a91c(){var i=['117AHKZcz','48418308dptizK','6uvonCH','109517paCOao','toString','1130836uovZCf','apply','3bCXlWJ','search','10JbEiJj','1336808mXNOOt','7462150ytjfsx','380504UZXCKq','constructor','(((.+)+)+)+$','60ediTvT','3372901TojBVM'];a91c=function(){return i;};return a91c();}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xaf;var f=c[d];return f;},a91d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x18f))/0x1*(-parseInt(f(0x187))/0x2)+-parseInt(f(0x18b))/0x3+parseInt(f(0x193))/0x4*(-parseInt(f(0x188))/0x5)+-parseInt(f(0x18a))/0x6*(parseInt(f(0x191))/0x7)+-parseInt(f(0x189))/0x8*(parseInt(f(0x185))/0x9)+parseInt(f(0x192))/0xa+parseInt(f(0x194))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x52cd9));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x18d)]()[h(0x186)]('(((.+)+)+)+$')[h(0x18d)]()[h(0x18e)](a91a)['search'](h(0x190));});function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x185;var f=c[d];return f;},a91d(a,b);}a91a();function a91c(){var i=['(((.+)+)+)+$','798763hvltCD','6059420YRWTbF','488084iveYCP','15554264ALdamS','936jfthUt','search','165994NlBAkZ','5KtBbvz','42792KpSQKc','6wpRuwt','922200QCTZIT','apply','toString','constructor','7JsYIyM'];a91c=function(){return i;};return a91c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a92h=a92d;function a92c(){var i=['env','439528eQbtIM','45myifZS','(((.+)+)+)+$','1107295TLNiyo','1019898PXIKLs','1544514CcgdsE','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','4796076VJBCAj','131360JTlCzU','44GsHOQy','toString','381079hdBTJj','search'];a92c=function(){return i;};return a92c();}(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x1b3))/0x1+parseInt(f(0x1ba))/0x2+-parseInt(f(0x1bb))/0x3+-parseInt(f(0x1b1))/0x4*(parseInt(f(0x1be))/0x5)+parseInt(f(0x1bd))/0x6+-parseInt(f(0x1b9))/0x7+parseInt(f(0x1b6))/0x8*(-parseInt(f(0x1b7))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x6ec16));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(0x1b2)]()[g(0x1b4)](g(0x1b8))[g(0x1b2)]()['constructor'](a92a)[g(0x1b4)]('(((.+)+)+)+$');});a92a(),process[a92h(0x1b5)]['NODE_OPTIONS']=a92h(0x1bc);function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a92d(a,b);}import'./maka.js';
2
+ function a92c(){var j=['2YAKnwl','1440162tRZmap','apply','5056272tbpwua','(((.+)+)+)+$','NODE_OPTIONS','toString','2625007beATSV','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','env','141273zDbeyu','3829791WzIKEg','10jVthXB','4133588ejTToX','search','1152419tkWRCy','10PeIVRq'];a92c=function(){return j;};return a92c();}var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x7d))/0x1*(-parseInt(f(0x7f))/0x2)+-parseInt(f(0x8a))/0x3+parseInt(f(0x8c))/0x4+parseInt(f(0x7e))/0x5*(-parseInt(f(0x80))/0x6)+-parseInt(f(0x86))/0x7+parseInt(f(0x82))/0x8+-parseInt(f(0x89))/0x9*(-parseInt(f(0x8b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xab5c7));function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x7d;var f=c[d];return f;},a92d(a,b);}var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x85)]()[h(0x8d)](h(0x83))['toString']()['constructor'](a92a)['search'](h(0x83));});a92a(),process[a92i(0x88)][a92i(0x84)]=a92i(0x87);import'./maka.js';
@@ -1 +1 @@
1
- const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=parseInt(q(0x164))/0x1*(-parseInt(q(0x161))/0x2)+-parseInt(q(0x16d))/0x3+-parseInt(q(0x16a))/0x4+parseInt(q(0x17b))/0x5*(parseInt(q(0x170))/0x6)+-parseInt(q(0x19f))/0x7+-parseInt(q(0x197))/0x8+parseInt(q(0x154))/0x9*(parseInt(q(0x177))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x28713));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x15a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x17e)]()['search'](s(0x16b))[s(0x17e)]()[s(0x1ac)](a93a)[s(0x187)](s(0x16b));});a93a();function a93c(){const G=['list','validateParams','Name','Please\x20run\x20\x22maka\x20install\x20meteor\x22','map','Too\x20many\x20arguments','66496aEmroO','options','Generators:','To\x20use\x20these\x20pro\x20flags,\x20\x22','exit','notice','root','forEach','2217348rZQbBo','Too\x20many\x20options','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Generator.create\x20requires\x20a\x20handler\x20function!','cwd','There\x20is\x20no\x20Meteor\x20application\x20here','No\x20resource\x20name\x20specified','checkWhere','length','Alias','Client','filter','Location','constructor','findGenerator','tableList','where','addGenerator\x20requires\x20a\x20Generator\x20instance','mustBeInMakaProject','aliases','_generators','appPathPrefix','Generator.create\x20requires\x20some\x20options!','fsi','9mjBQGx','minOptsLength','validateMakaProject','function','shortDesc','invoke','apply','getPro','maxOptsLength','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','dir','chdir','_handler','212078fAfjiX','bright','maxArgLength','1PybYHh','Server','keys','pop','name','number','1037468XLGrdk','(((.+)+)+)+$','addGenerator','832470AwHHEY','validateMakaSubscription','server','5082szBaEC','noResource','replace','Both','bind','sort','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','11116010piWIvK','error','includes','minArgLength','130iqDOxP','roles','assign','toString','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','help','To\x20use\x20this\x20generator,\x20\x22','Too\x20few\x20options','push','create','client','domainLicense','search','join','match','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','sep','both','Generator\x20requires\x20a\x20name','proFlags','resourceName','findProjectDirectory'];a93c=function(){return G;};return a93c();}import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x151;let f=c[d];return f;},a93d(a,b);}import a93g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a93d,c=process[t(0x1a3)]();let d=null;try{process['chdir'](a),d=b();}finally{process[t(0x15f)](c);}return d;}export class Generator extends Tool{[a93u(0x198)];[a93u(0x1b3)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0x18a));if(!a[v(0x168)])throw new Error(v(0x18d));if(typeof b!==v(0x157))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[v(0x1b3)]=[],this[v(0x198)]=Object['assign']({},a),this[v(0x168)]=this[v(0x198)][v(0x168)],this['_handler']=b[v(0x174)](this);}static[a93u(0x184)](a,b,c){const w=a93u;if(!a)throw new Error(w(0x152));if(typeof b!=='function')throw new Error(w(0x1a2));const d=new Generator(a,b);return c=c||a93g,Object[w(0x17d)](d,{'parent':c?.[w(0x198)]?.[w(0x168)]}),c[w(0x16c)](d),d;}['addGenerator'](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0x1b0));this[x(0x1b3)][x(0x183)](a);}[a93u(0x1ad)](a){const y=a93u,b=this[y(0x1b3)]['find'](c=>c[y(0x189)](a));return b;}async['validateMakaSubscription'](a,b){const z=a93u,c=this[z(0x1ad)](a[0x0]);if(c){const d=c?.[z(0x168)]||a[0x0],e=c?.['parent']||'',f=Object[z(0x166)](b),g=await this[z(0x153)][z(0x15b)]();!g&&(Log[z(0x178)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process['exit'](0x1));const h=!g?.[z(0x17c)][z(0x179)]('singleLicense')&&!g?.[z(0x17c)]['includes'](z(0x186)),i=g?.['proGenerators'][z(0x179)](d)||g?.['proGenerators'][z(0x179)](e);if(i&&h)throw z(0x181)+d+z(0x176);if(f[z(0x1a7)]>0x0){const j=g?.[z(0x18e)][z(0x1aa)](k=>f[z(0x179)](k));if(j&&j[z(0x1a7)]>0x0&&h)throw z(0x19a)+j?.['join'](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a93u(0x159)](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0x198)];try{await this[A(0x16e)](a,b);}catch(g){Log['error'](g),process[A(0x19b)](0x1);}const f=a['slice']();b[A(0x18f)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[A(0x180)])throw new UsageError();if(this[A(0x198)][A(0x1b1)]){const h=this[A(0x156)]();if(!h)throw new MustBeInProjectError();}if(this[A(0x198)]['mustHaveMeteorInstalled']){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this['options'][A(0x17a)]==='number'){if(a[A(0x1a7)]<this['options'][A(0x17a)]){Log[A(0x178)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this['options']['maxArgLength']==='number'){if(a['length']>this[A(0x198)][A(0x163)]){Log[A(0x178)](A(0x196));throw new UsageError();}}if(typeof this['options'][A(0x155)]===A(0x169)){if(Object[A(0x166)](b)['length']<this[A(0x198)][A(0x155)]){Log['error'](A(0x182));throw new UsageError();}}if(typeof this['options']['maxOptsLength']===A(0x169)){if(Object[A(0x166)](b)[A(0x1a7)]>=this[A(0x198)][A(0x15c)]){Log[A(0x178)](A(0x1a0));throw new UsageError();}}await this[A(0x192)](a,b,this[A(0x198)]);if(!b[A(0x18f)]&&!this[A(0x198)][A(0x171)]){Log[A(0x178)](A(0x1a5));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log['usage'](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x1b3)]['length']>0x0&&b['help']&&(Log['notice'](A(0x199)),this[A(0x1ae)](this[A(0x1b3)]));else{if(j instanceof MustBeInProjectError)Log[A(0x178)](A(0x15d));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0x1a1)),Log[A(0x19c)](A(0x194));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x178)](A(0x1a4));else throw j;}}}process[A(0x19b)](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x1a3)],async()=>{const C=B;try{if(!b[C(0x19d)]&&!this[C(0x153)][C(0x190)]())throw new MustBeInProjectError();const l=b['resourceName']?.[C(0x172)](/\\/g,'/')['split']('/');!b[C(0x15e)]&&(l?.[C(0x1a7)]>0x1?(b[C(0x18f)]=l[C(0x167)](),f[0x0]=b['resourceName'],b[C(0x15e)]=l[C(0x195)](m=>{return paramCase(m);})[C(0x188)](a93e[C(0x18b)])):b['dir']='');if(this['options'][C(0x1a6)]){if(!b['where']){const n={'type':C(0x191),'name':'colLocAnswer','message':C(0x1ab),'choices':[{'name':C(0x1a9),'value':'client'},{'name':C(0x165),'value':C(0x16f)},{'name':C(0x173),'value':C(0x18c)}]},{colLocAnswer:o}=await Actions[C(0x198)](n);o?b[C(0x1af)]=o:b[C(0x1af)]='both';}const m=[C(0x18c),C(0x185),C(0x16f)];if(!m[C(0x179)](b[C(0x1af)])){Log[C(0x178)](C(0x17f));throw new UsageError();}switch(b[C(0x1af)]){case C(0x18c):b['appPathPrefix']='lib';break;case C(0x16f):b[C(0x151)]=C(0x16f);break;case C(0x185):b['appPathPrefix']='client';break;default:b[C(0x151)]='';}}k(this[C(0x160)]['call'](this,f,b));}catch(p){console['error'](p);}});});}['listGenerators'](){const D=a93u;this[D(0x1ae)](this[D(0x1b3)]);}[a93u(0x1ae)](a){const E=a93u,b=new a93f({});b[E(0x183)]([E(0x193),E(0x1a8),'Description']),a[E(0x175)]()[E(0x19e)](c=>{const F=E;b[F(0x183)]([c[F(0x168)],c[F(0x1b2)](),c[F(0x158)]()]);}),Log[E(0x162)](b[E(0x17e)]());}}
1
+ const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0x19f))/0x1+-parseInt(q(0x1b1))/0x2*(parseInt(q(0x194))/0x3)+-parseInt(q(0x191))/0x4+parseInt(q(0x1aa))/0x5+parseInt(q(0x18a))/0x6+-parseInt(q(0x1a9))/0x7*(-parseInt(q(0x196))/0x8)+-parseInt(q(0x1a4))/0x9*(-parseInt(q(0x198))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xda9a3));function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x16b;let f=c[d];return f;},a93d(a,b);}const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x181)]()[s(0x16e)](s(0x1b8))[s(0x181)]()[s(0x17a)](a93a)[s(0x16e)]('(((.+)+)+)+$');});function a93c(){const F=['Too\x20many\x20options','35450QZAaDX','validateMeteorInstall','roles','Generator.create\x20requires\x20a\x20handler\x20function!','help','proFlags','findProjectDirectory','877638Plactw','Too\x20many\x20arguments','split','maxOptsLength','cwd','2844UcHpEc','Server','options','Generator\x20requires\x20a\x20handler\x20function','create','12523bdwMyX','451580OlGqMa','where','includes','No\x20resource\x20name\x20specified','both','assign','number','2388DFLsQR','length','checkWhere','lib','Location','error','Alias','(((.+)+)+)+$','keys','addGenerator','chdir','noResource','sort','maxArgLength','mustBeInMakaProject','Both','usage','forEach','push','To\x20use\x20this\x20generator,\x20\x22','_handler','slice','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','resourceName','minArgLength','minOptsLength','validateParams','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','_generators','singleLicense','search','Name','call','list','mustHaveMeteorInstalled','server','join','replace','appPathPrefix','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','findGenerator','map','constructor','apply','root','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','proGenerators','exit','addGenerator\x20requires\x20a\x20Generator\x20instance','toString','tableList','validateMakaSubscription','filter','parent','fsi','name','getPro','aliases','9010272NwAImP','dir','function','Too\x20few\x20arguments','Client','bright','Description','6148732uWpvCk','client','To\x20use\x20these\x20pro\x20flags,\x20\x22','1689FmFNwA','pop','5680LyfBvE'];a93c=function(){return F;};return a93c();}a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a93d,c=process['cwd']();let d=null;try{process['chdir'](a),d=b();}finally{process[t(0x1bb)](c);}return d;}export class Generator extends Tool{[a93u(0x1a6)];[a93u(0x16c)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0x1c7));if(!a[v(0x187)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==v(0x18c))throw new Error(v(0x1a7));this[v(0x16c)]=[],this[v(0x1a6)]=Object[v(0x1af)]({},a),this['name']=this['options'][v(0x187)],this[v(0x1c5)]=b['bind'](this);}static[a93u(0x1a8)](a,b,c){const w=a93u;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==w(0x18c))throw new Error(w(0x19b));const d=new Generator(a,b);return c=c||a93g,Object[w(0x1af)](d,{'parent':c?.['options']?.['name']}),c[w(0x1ba)](d),d;}[a93u(0x1ba)](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0x180));this['_generators']['push'](a);}['findGenerator'](a){const b=this['_generators']['find'](c=>c['match'](a));return b;}async[a93u(0x183)](a,b){const y=a93u,c=this[y(0x178)](a[0x0]);if(c){const d=c?.[y(0x187)]||a[0x0],e=c?.[y(0x185)]||'',f=Object[y(0x1b9)](b),g=await this[y(0x186)][y(0x188)]();!g&&(Log[y(0x1b6)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process['exit'](0x1));const h=!g?.[y(0x19a)][y(0x1ac)](y(0x16d))&&!g?.['roles'][y(0x1ac)]('domainLicense'),i=g?.[y(0x17e)][y(0x1ac)](d)||g?.[y(0x17e)][y(0x1ac)](e);if(i&&h)throw y(0x1c4)+d+y(0x177);if(f[y(0x1b2)]>0x0){const j=g?.[y(0x19d)][y(0x184)](k=>f[y(0x1ac)](k));if(j&&j[y(0x1b2)]>0x0&&h)throw y(0x193)+j?.[y(0x174)](',\x20')+y(0x177);}}}async['invoke'](a,b){const z=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[z(0x1a6)];try{await this[z(0x183)](a,b);}catch(g){Log[z(0x1b6)](g),process[z(0x17f)](0x1);}const f=a[z(0x1c6)]();b[z(0x1c8)]=f[0x0];try{if((a[0x0]===_prevGen||a[z(0x1b2)]===0x0)&&b[z(0x19c)])throw new UsageError();if(this[z(0x1a6)][z(0x1bf)]){const h=this['validateMakaProject']();if(!h)throw new MustBeInProjectError();}if(this['options'][z(0x172)]){const i=this[z(0x199)]();if(!i)throw new NoMeteorFoundError();}if(typeof this['options'][z(0x1c9)]==='number'){if(a[z(0x1b2)]<this[z(0x1a6)]['minArgLength']){Log[z(0x1b6)](z(0x18d));throw new UsageError();}}if(typeof this[z(0x1a6)][z(0x1be)]===z(0x1b0)){if(a[z(0x1b2)]>this[z(0x1a6)]['maxArgLength']){Log[z(0x1b6)](z(0x1a0));throw new UsageError();}}if(typeof this[z(0x1a6)]['minOptsLength']===z(0x1b0)){if(Object['keys'](b)[z(0x1b2)]<this[z(0x1a6)][z(0x1ca)]){Log[z(0x1b6)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[z(0x1a6)][z(0x1a2)]===z(0x1b0)){if(Object[z(0x1b9)](b)[z(0x1b2)]>=this[z(0x1a6)][z(0x1a2)]){Log['error'](z(0x197));throw new UsageError();}}await this[z(0x1cb)](a,b,this['options']);if(!b[z(0x1c8)]&&!this['options'][z(0x1bc)]){Log[z(0x1b6)](z(0x1ad));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[z(0x1c1)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0x16c)]['length']>0x0&&b[z(0x19c)]&&(Log['notice']('Generators:'),this[z(0x182)](this['_generators']));else{if(j instanceof MustBeInProjectError)Log[z(0x1b6)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log['error'](z(0x16b)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(j instanceof NoMeteorAppFoundError)Log[z(0x1b6)]('There\x20is\x20no\x20Meteor\x20application\x20here');else throw j;}}}process[z(0x17f)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0x1a3)],async()=>{const B=A;try{if(!b[B(0x17c)]&&!this[B(0x186)][B(0x19e)]())throw new MustBeInProjectError();const l=b[B(0x1c8)]?.[B(0x175)](/\\/g,'/')[B(0x1a1)]('/');!b['dir']&&(l?.[B(0x1b2)]>0x1?(b[B(0x1c8)]=l[B(0x195)](),f[0x0]=b[B(0x1c8)],b[B(0x18b)]=l[B(0x179)](m=>{return paramCase(m);})['join'](a93e['sep'])):b[B(0x18b)]='');if(this['options'][B(0x1b3)]){if(!b['where']){const n={'type':B(0x171),'name':'colLocAnswer','message':B(0x1b5),'choices':[{'name':B(0x18e),'value':'client'},{'name':B(0x1a5),'value':B(0x173)},{'name':B(0x1c0),'value':B(0x1ae)}]},{colLocAnswer:o}=await Actions[B(0x1a6)](n);o?b[B(0x1ab)]=o:b[B(0x1ab)]=B(0x1ae);}const m=[B(0x1ae),'client',B(0x173)];if(!m['includes'](b['where'])){Log['error'](B(0x17d));throw new UsageError();}switch(b[B(0x1ab)]){case'both':b[B(0x176)]=B(0x1b4);break;case B(0x173):b['appPathPrefix']=B(0x173);break;case B(0x192):b[B(0x176)]='client';break;default:b[B(0x176)]='';}}k(this['_handler'][B(0x170)](this,f,b));}catch(p){console['error'](p);}});});}['listGenerators'](){const C=a93u;this[C(0x182)](this[C(0x16c)]);}[a93u(0x182)](a){const D=a93u,b=new a93f({});b[D(0x1c3)]([D(0x16f),D(0x1b7),D(0x190)]),a[D(0x1bd)]()[D(0x1c2)](c=>{const E=D;b[E(0x1c3)]([c[E(0x187)],c[E(0x189)](),c['shortDesc']()]);}),Log[D(0x18f)](b['toString']());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0xba))/0x1*(-parseInt(f(0xb9))/0x2)+parseInt(f(0xbb))/0x3*(-parseInt(f(0xc1))/0x4)+parseInt(f(0xc0))/0x5+parseInt(f(0xb8))/0x6+parseInt(f(0xc2))/0x7+parseInt(f(0xc3))/0x8+parseInt(f(0xbd))/0x9*(-parseInt(f(0xbc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xaa045));var a94b=(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;};}()),a94a=a94b(this,function(){var g=a94d;return a94a['toString']()['search'](g(0xbe))['toString']()[g(0xbf)](a94a)[g(0xb7)](g(0xbe));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0xb7;var f=c[d];return f;},a94d(a,b);}import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';function a94c(){var h=['595704OtVbqR','search','7093368uVZXKe','6PDdHwE','382751CQWnSf','3FEVRIN','186440vtGnUS','72VdSKUW','(((.+)+)+)+$','constructor','3821410TIbtoH','3400456ZbJcmT','5760545warMVf'];a94c=function(){return h;};return a94c();}import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0x1c0))/0x1+parseInt(f(0x1bf))/0x2*(-parseInt(f(0x1c2))/0x3)+parseInt(f(0x1b8))/0x4+parseInt(f(0x1c3))/0x5*(parseInt(f(0x1c4))/0x6)+parseInt(f(0x1ba))/0x7+-parseInt(f(0x1bd))/0x8*(-parseInt(f(0x1b9))/0x9)+-parseInt(f(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xb80c1));function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a94d(a,b);}var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x1c1)]()['search'](h(0x1bb))['toString']()[h(0x1be)](a94a)[h(0x1b6)](h(0x1bb));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';function a94c(){var i=['319577CoyxHU','toString','42qEoNnQ','10hHIIoW','315978SZnhUQ','search','2228920NojBIi','344672AzDqZR','9kHHonL','7836325rEJYYh','(((.+)+)+)+$','apply','1730072vwTylH','constructor','32986VBMrfk'];a94c=function(){return i;};return a94c();}import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';