@maka/maka-cli 4.5.34 → 4.5.35

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 (138) 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/templates/meteor/app/server/main.js +4 -1
  117. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +4 -1
  118. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +4 -1
  119. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +4 -1
  120. package/bundle/obf/src/templates/meteor/config/settings.json +2 -1
  121. package/bundle/obf/src/tool.js +1 -1
  122. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  123. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  124. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  126. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  127. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  128. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  129. package/bundle/obf/src/tools/https/https.class.js +1 -1
  130. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  131. package/bundle/obf/src/tools/log/log.class.js +1 -1
  132. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  134. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  136. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  138. package/package.json +1 -1
@@ -1 +1 @@
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
+ const a76j=a76d;function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x161;let f=c[d];return f;},a76d(a,b);}(function(a,b){const g=a76d,c=a();while(!![]){try{const d=-parseInt(g(0x16e))/0x1+-parseInt(g(0x177))/0x2*(-parseInt(g(0x173))/0x3)+parseInt(g(0x168))/0x4*(-parseInt(g(0x166))/0x5)+parseInt(g(0x16d))/0x6+parseInt(g(0x172))/0x7+parseInt(g(0x167))/0x8*(-parseInt(g(0x16b))/0x9)+-parseInt(g(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xad25b));function a76c(){const l=['fsi','(((.+)+)+)+$','maka\x20--help','4382890BXycTZ','error','constructor','7960OlOGHK','8734328RPRjVg','2184GoRciE','toString','runSubCommand','9FzWyUH','maybeProxyCommandToMeteor','7772706uIkcxE','420325YkFvvW','findSubCommand','search','slice','7227073nIwABW','474gZsZOj','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka\x20create\x20Todo','maka\x20install\x20meteor','15202WQRXSp','apply'];a76c=function(){return l;};return a76c();}const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a['toString']()['search'](i(0x161))[i(0x169)]()[i(0x165)](a76a)[i(0x170)](i(0x161));});a76a();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':[a76j(0x162),a76j(0x176),a76j(0x175),'maka\x20run'],'description':a76j(0x174)},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x16f)](c);d?this[k(0x16a)](c,a[k(0x171)](0x1),b):this[k(0x179)][k(0x16c)]();}catch(f){console[k(0x164)](f),process['exit'](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(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
+ var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x149))/0x1+parseInt(f(0x143))/0x2+parseInt(f(0x150))/0x3*(-parseInt(f(0x13e))/0x4)+parseInt(f(0x13d))/0x5+parseInt(f(0x146))/0x6*(parseInt(f(0x145))/0x7)+parseInt(f(0x14a))/0x8+-parseInt(f(0x14c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x7b1ff));function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x13d;var f=c[d];return f;},a77d(a,b);}var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0x144)]()[h(0x147)](h(0x148))[h(0x144)]()[h(0x13f)](a77a)[h(0x147)]('(((.+)+)+)+$');});a77a();function a77c(){var k=['exit','create','1976300CtsdHN','toString','3605441JeFgJv','6EHtBFM','search','(((.+)+)+)+$','855819czGmiX','3519856FUIdTG','log','415053FsiCey','font-family:\x20monospace','%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','error','3378tYsVOt','apply','1245040iZKerl','2792DKplfs','constructor','Murrrrderrrrr'];a77c=function(){return k;};return a77c();}import{Command}from'../command.js';Command[a77i(0x142)]({'name':'murder','usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a77i(0x140),'validOpts':[]},async function(){var j=a77i;try{console[j(0x14b)](j(0x14e),j(0x14d));}catch(a){console[j(0x14f)](a),process[j(0x141)](0x0);}});
@@ -1 +1 @@
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
+ const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x1d7))/0x1+parseInt(n(0x1dc))/0x2*(-parseInt(n(0x1e0))/0x3)+parseInt(n(0x1cc))/0x4*(parseInt(n(0x1da))/0x5)+parseInt(n(0x1c8))/0x6*(parseInt(n(0x1d5))/0x7)+parseInt(n(0x1c2))/0x8+-parseInt(n(0x1cb))/0x9+-parseInt(n(0x1d6))/0xa*(-parseInt(n(0x1ce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x7d19e));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x1d4)]()[p(0x1cd)](p(0x1c3))[p(0x1d4)]()['constructor'](a78a)[p(0x1cd)](p(0x1c3));});function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a78d(a,b);}a78a();import a78e from'fs';function a78c(){const s=['8ELZKoP','targetHost','localhost','targetPort','347334YRCfvS','.key','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','proxy','appName','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','error','maka\x20proxy','invoke','isFile','listenPort','findGenerator','5243960iDxDVt','(((.+)+)+)+$','maka\x20proxy\x20--target-host\x20http://192.168.1.20','\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','mkKeysDir','join','6eQUiyI','genSSC','sslconfig','6908049vvzChi','8VEisLe','search','1358401xVsFRh','utf8','\x20to\x20','readFileSync','listen','apply','toString','2075703JpZeqb','70KkElAH','827214GhtAoj','help','fsi','1884600aEINbO','.crt'];a78c=function(){return s;};return a78c();}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['create']({'name':a78q(0x1e3),'usage':a78q(0x1bd),'mustBeInMakaProject':!![],'validOpts':[a78q(0x1d8),a78q(0x1df),'listenPort',a78q(0x1dd)],'maxArgLength':0x1,'shortDesc':a78q(0x1e2),'description':a78q(0x1c5),'examples':[a78q(0x1bd),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a78q(0x1c4)]},async function(a,b){const r=a78q,c=this['fsi']['getProjectConfig'](),d='development',e=this[r(0x1d9)]['getConfigPath'](d),f=this['fsi'][r(0x1c6)]({'configPath':e}),g=b[r(0x1df)]?Number(b[r(0x1df)]):0xbb8,h=b[r(0x1c0)]?Number(b[r(0x1c0)]):0xd73,i=b[r(0x1dd)]?b[r(0x1dd)]:r(0x1de),j=a78f[r(0x1c7)](f,c[r(0x1ba)]+r(0x1e1)),k=a78f[r(0x1c7)](f,c['appName']+r(0x1db));if(!this['fsi'][r(0x1bf)](j)||!this[r(0x1d9)]['isFile'](k)){const m=a78h[r(0x1c1)](r(0x1ca));m&&await m[r(0x1be)](['sslconfig'],{'env':d}),SSL['genCSR']({'keyName':c[r(0x1ba)]+'.key','csrName':c[r(0x1ba)]+'.csr','cwd':f}),SSL[r(0x1c9)]({'keyName':c[r(0x1ba)]+r(0x1e1),'crtName':c[r(0x1ba)]+'.crt','cwd':f});}if(g===h){Log[r(0x1bc)](r(0x1bb));throw new UsageError();}const l={'ssl':{'key':a78e[r(0x1d1)](j,r(0x1cf)),'cert':a78e['readFileSync'](k,r(0x1cf))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g['createProxyServer'](l)[r(0x1d2)](Number(h)),Log['bright']('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+r(0x1d0)+g);});
@@ -1 +1 @@
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
+ const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0x1c6))/0x1*(parseInt(n(0x1d4))/0x2)+parseInt(n(0x1ad))/0x3+parseInt(n(0x1ca))/0x4*(parseInt(n(0x1b7))/0x5)+parseInt(n(0x1b0))/0x6*(-parseInt(n(0x1ae))/0x7)+parseInt(n(0x1c9))/0x8+-parseInt(n(0x1bb))/0x9+-parseInt(n(0x1be))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x1a825));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x1d7)]()[p(0x1d2)](p(0x1b2))['toString']()[p(0x1b4)](a79a)[p(0x1d2)]('(((.+)+)+)+$');});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a79d(a,b);}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79c(){const s=['1296424YpdcuK','100MYoFAm','apply','ssh','ses.json','notice','success','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','reconfig','search','join','2LDZDRN','Reconfigure\x20your\x20deployed\x20applications','uname\x20-a','toString','create','error','428856HrNPMs','147pKXmRJ','assign','49122MYekjN','settings.json','(((.+)+)+)+$','parse','constructor','scp','pm2\x20delete\x20all','12665TjJzoI','~/ses.json','existsSync','getConfigPath','749403gIqdFy','readFileSync','maka\x20reconfig\x20--env\x20prod','704720wvYAoR','env','ssh.json','~/pm2.config.js','Remote\x20host\x20connection\x20successful','pm2.config.js','fsi','ping','65917nFVzCR','Checking\x20remote\x20host\x20availability','maka\x20reconfig'];a79c=function(){return s;};return a79c();}Command[a79q(0x1ab)]({'name':a79q(0x1d1),'validOpts':[''],'requiredOpts':[a79q(0x1bf)],'mustBeInMakaProject':!![],'usage':a79q(0x1c8),'shortDesc':a79q(0x1d5),'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(0x1bd)]},async function(a,b){const r=a79q;try{const c=this[r(0x1c4)][r(0x1ba)](b[r(0x1bf)]),d=a79f['join'](c,r(0x1c0)),f=a79e[r(0x1bc)](d)[r(0x1d7)](),g=JSON[r(0x1b3)](f);Object[r(0x1af)](g,{'env':c}),Log[r(0x1ce)](r(0x1c7));const h=SSH[r(0x1c5)](r(0x1d6),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x1cf)](r(0x1c2));const i=a79f[r(0x1d3)](c,'_keys',r(0x1cd));if(a79e[r(0x1b9)](i)){const l={'source':i,'dest':r(0x1b8),'verbose':!![]};SSH[r(0x1b5)](l,{...g});}const j=a79f[r(0x1d3)](c,r(0x1c3));SSH[r(0x1b5)]({'source':j,'dest':r(0x1c1),'verbose':!![]},{...g});const k=a79f[r(0x1d3)](c,r(0x1b1));SSH[r(0x1b5)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync'](r(0x1b6),g),await SSH[r(0x1cc)](r(0x1d0),{...g},{'verbose':!![]});}catch(m){console[r(0x1ac)](m),process['exit'](0x0);}});
@@ -1 +1 @@
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
+ (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x1b5))/0x1*(-parseInt(f(0x1b0))/0x2)+parseInt(f(0x1b3))/0x3+parseInt(f(0x1b4))/0x4+-parseInt(f(0x1ab))/0x5*(-parseInt(f(0x1af))/0x6)+-parseInt(f(0x1ae))/0x7+-parseInt(f(0x1b2))/0x8+-parseInt(f(0x1b6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x7ff6b));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0x1ad)]()['search'](h(0x1b1))[h(0x1ad)]()[h(0x1ac)](a80a)[h(0x1aa)](h(0x1b1));});a80a();function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x1aa;var f=c[d];return f;},a80d(a,b);}function a80c(){var i=['460682lnShuK','(((.+)+)+)+$','4907272aJNxeX','2902443etLaLb','3392044MMrzLv','1iQJumX','8544564jVpfeW','apply','search','3266045UskVMP','constructor','toString','4284686IJliKq','6cLgZxv'];a80c=function(){return i;};return a80c();}import'./run.command.js';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(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
+ function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xe8;let f=c[d];return f;},a81d(a,b);}const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0xf7))/0x1+-parseInt(i(0xeb))/0x2*(-parseInt(i(0xfb))/0x3)+parseInt(i(0x103))/0x4+-parseInt(i(0xf2))/0x5*(-parseInt(i(0xfe))/0x6)+parseInt(i(0x100))/0x7+-parseInt(i(0xfa))/0x8+-parseInt(i(0x101))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xd6369));function a81c(){const n=['docker-compose.yaml','docker-compose\x20--project-directory\x20','search','createFile','61855weXUaP','PM2\x20Config\x20File:\x20','templateContent','exit','notice','1136172XZfVJb','existsSync','(((.+)+)+)+$','8464232JczLan','1225713JPOjtn','join','apply','654OeIhbl','getConfigPath','11686416DWBJUS','14311683RTpSoR','maka\x20run\x20docker','4941228vrEMcb','appName','create','fsi','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','getProjectConfig','2vuBZaR','config/docker-compose.yaml','toString'];a81c=function(){return n;};return a81c();}const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0xed)]()[k(0xf0)](k(0xf9))[k(0xed)]()['constructor'](a81a)[k(0xf0)](k(0xf9));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a81l(0x105)]({'name':'docker','aliases':['d'],'shortDesc':a81l(0xe9),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a81l(0x102),'validOpts':['']},async function(){const m=a81l;try{const a=this['fsi'][m(0xea)](),b=this[m(0xe8)][m(0xff)]('docker'),c=a81f[m(0xfc)](b,m(0xee)),d=a81f[m(0xfc)](b,'pm2.config.js');Log[m(0xf6)](m(0xf3)+d),Log[m(0xf6)]('Docker\x20Compose\x20Path:\x20'+c);if(!a81g[m(0xf8)](c)){const f={'app':a[m(0x104)],'appFileCase':paramCase(a[m(0x104)])},g=this[m(0xe8)][m(0xf4)]({'srcPath':m(0xec),'context':f})+'\x0a';this[m(0xe8)][m(0xf1)]({'filePath':c,'data':g});}execSync(m(0xef)+b+'\x20up\x20--remove-orphans',{'stdio':'inherit'});}catch(h){process[m(0xf5)](0x1);}},a81e);
@@ -1 +1 @@
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
+ const a82u=a82d;(function(a,b){const q=a82d,c=a();while(!![]){try{const d=-parseInt(q(0x1a3))/0x1+-parseInt(q(0x1bf))/0x2*(parseInt(q(0x1a7))/0x3)+parseInt(q(0x1b6))/0x4*(parseInt(q(0x1ac))/0x5)+parseInt(q(0x19c))/0x6+parseInt(q(0x1b7))/0x7*(-parseInt(q(0x1ca))/0x8)+-parseInt(q(0x1d5))/0x9*(-parseInt(q(0x1c1))/0xa)+-parseInt(q(0x1c9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x2e655));function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x19b;let f=c[d];return f;},a82d(a,b);}const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a82d;if(c){const e=c[r(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const s=a82d;return a82a['toString']()[s(0x1b5)](s(0x1d0))[s(0x1ae)]()[s(0x19d)](a82a)[s(0x1b5)](s(0x1d0));});a82a();function a82c(){const x=['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)','production','settings.json','18HVplVf','runSubCommand','warn','compareMakaToLatest','exit','835nHVAPR','join','toString','findProjectDirectory','openSync','--settings','fsi','local','process.env','search','1672jDTaGX','14qfxxJx','env','--production','port','findSubCommand','concat','slice','Node\x20Env\x20Config:\x20','50992Cwsrrk','verbose','863860CiAqOK','app','isFile','ios','sep','getConfigPath','forEach','splice','1515272jRUDXe','311512fbJugG','run','notice','error','Cannot\x20find\x20Node\x20Environment\x20File:\x20','isDirectory','(((.+)+)+)+$','mobile-server','config','cordova-build','length','27iautAr','apply','extraPackages','1911360sgAWYW','constructor','push','filter','development','exclude-archs','settings','88881HUrMIb'];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';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a82d;a82f[t(0x1b0)](a,'r'),a82g[t(0x1d2)]({'path':a});},Run=Command['create']({'name':a82u(0x1cb),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a82u(0x1b8),'docker','r','rawLogs','p',a82u(0x1ba),'i','inspect','m','mobileServer','v',a82u(0x1c0),'allowIncompatibleUpdate',a82u(0x19b),'x',a82u(0x1a1),'production']},async function(a,b){const v=a82u;try{const c=a[0x0],d=this[v(0x1bb)](c);d&&this[v(0x1a8)](c,a,b);if(c===v(0x1c4)){const m=this[v(0x1b2)][v(0x1af)](),n=a82e[v(0x1ad)](m,v(0x1c2),'.meteor',v(0x1b3),v(0x1d3));this['fsi'][v(0x1cf)](n)&&await rimraf(n);}if(b['mobile-server']&&b[v(0x1d1)]===!![]||b['m']&&b['m']===!![])throw v(0x1a4);await this[v(0x1b2)][v(0x1aa)]();const f=b[v(0x1b8)]?b[v(0x1b8)]:v(0x1a0),g=this['fsi'][v(0x1c6)](f),h=a82e[v(0x1ad)](g,v(0x1b4));let i=a82e[v(0x1ad)](g,'settings.json');b[v(0x1a2)]?i=b['settings']:i=a82e[v(0x1ad)](g,v(0x1a6));if(this['fsi']['isFile'](h)&&!b['docker'])Log[v(0x1cc)](v(0x1be)+h),syncSource(h);else!b['docker']&&Log[v(0x1a9)](v(0x1ce)+h);this[v(0x1b2)][v(0x1c3)](i)?(Log['notice']('Meteor\x20Settings:\x20'+i),a=a[v(0x1bc)]([v(0x1b1),i])):Log[v(0x1a9)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g['split'](a82e[v(0x1c5)]),k=j[j[v(0x1d4)]-0x1];k===v(0x1a5)&&a[v(0x19e)](v(0x1b9));const l=process['argv'][v(0x1bd)](0x2)[v(0x19f)](o=>o!==v(0x1cb))['filter'](o=>o!==a[0x0]);l[v(0x1c7)]((o,p)=>{const w=v;o==='--env'&&l[w(0x1c8)](p,0x2),o==='-e'&&l[w(0x1c8)](p,0x2);}),this[v(0x1b2)]['invokeMeteorCommand'](v(0x1cb),a[v(0x1bc)](l));}catch(o){console[v(0x1cd)](o),process[v(0x1ab)](0x1);}});export default Run;
@@ -1 +1 @@
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
+ (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x1ce))/0x1+-parseInt(f(0x1cc))/0x2*(-parseInt(f(0x1cb))/0x3)+-parseInt(f(0x1d0))/0x4+parseInt(f(0x1c2))/0x5+parseInt(f(0x1c3))/0x6*(-parseInt(f(0x1ca))/0x7)+-parseInt(f(0x1c5))/0x8+parseInt(f(0x1c4))/0x9*(parseInt(f(0x1c9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x5356e));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x1c7)]()['search'](h(0x1cf))['toString']()[h(0x1c6)](a83a)[h(0x1cd)](h(0x1cf));});a83a();import'./set.command.js';import'./global.sub.cmd.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x1c2;var f=c[d];return f;},a83d(a,b);}function a83c(){var i=['apply','3850QoOLWb','362775qUIWuT','3zoEEuj','250440LVlfKE','search','414386BmNDzT','(((.+)+)+)+$','641000ECrLur','1396160yLleuk','18HkkVfC','4833JAgboM','2948000hkENwC','constructor','toString'];a83c=function(){return i;};return a83c();}import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(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
+ const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=parseInt(h(0x160))/0x1*(parseInt(h(0x16c))/0x2)+parseInt(h(0x177))/0x3+-parseInt(h(0x15a))/0x4+parseInt(h(0x16b))/0x5*(parseInt(h(0x151))/0x6)+-parseInt(h(0x169))/0x7+parseInt(h(0x16d))/0x8*(parseInt(h(0x153))/0x9)+-parseInt(h(0x16e))/0xa*(parseInt(h(0x174))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xd9fc2));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[i(0x156)]()[i(0x173)](i(0x163))[i(0x156)]()[i(0x158)](a84a)[i(0x173)](i(0x163));});a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x14e;let f=c[d];return f;},a84d(a,b);}function a84c(){const l=['1294563dkuddO','Set\x20global\x20Maka-CLI\x20settings','fsi','cacert','122250qIEcsl','Set\x20workspace:\x20','44190PMbGlx','exit','setGlobalConfig','toString','boolean','constructor','Set\x20allowInsecure:\x20','5711160QFFLjY','maka\x20set:global-config\x20--cacert\x20<path>','help','global-config','success','maka\x20set:global-config\x20<args>','325171lTYsLA','Could\x20not\x20find\x20directory','allowInsecure','(((.+)+)+)+$','isDirectory','\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','resolve','One\x20or\x20the\x20other\x20buddy','error','2809828kVvfdX','Set\x20OpenAI\x20Key:\x20','405QQuDgb','10orAgzC','2120eWPDFs','10JkGWNU','maka\x20set:gc\x20--workspace\x20<path>','Set\x20CA\x20Cert\x20Path:\x20','workspace','create','search','25155251abcYiQ','disallowInsecure','openai'];a84c=function(){return l;};return a84c();}Command[a84j(0x172)]({'name':a84j(0x15d),'usage':a84j(0x15f),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84j(0x150),a84j(0x162),a84j(0x175),a84j(0x171),'openai',a84j(0x15c)],'shortDesc':a84j(0x14e),'description':a84j(0x165),'examples':[a84j(0x15b),'maka\x20set:gc\x20--insecure\x20<path>',a84j(0x16f)]},async function(a,b){const k=a84j;try{if(b[k(0x150)]){if(this[k(0x14f)]['isFile'](b[k(0x150)]))this[k(0x14f)]['setGlobalConfig']({'cert':b['cacert']}),Log[k(0x15e)](k(0x170)+b['cacert']);else{const c=typeof b[k(0x150)]===k(0x157)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[k(0x150)];throw Log[k(0x168)](c);}}if(b[k(0x171)]){const d=this[k(0x14f)][k(0x164)](b[k(0x171)]);if(d)this['fsi'][k(0x155)]({'workspace':a84e[k(0x166)](b[k(0x171)])}),Log['success'](k(0x152)+a84e['resolve'](b[k(0x171)]));else throw Log[k(0x168)](k(0x161));}b[k(0x176)]&&(this[k(0x14f)][k(0x155)]({'openai':b[k(0x176)]}),Log[k(0x15e)](k(0x16a)+b[k(0x176)]));if(b[k(0x162)]){if(b[k(0x162)]&&b[k(0x175)])throw Log[k(0x168)](k(0x167));let f=b[k(0x162)];b[k(0x175)]&&(f=![]),this['fsi'][k(0x155)]({'allowInsecure':f}),Log[k(0x15e)](k(0x159)+f);}process[k(0x154)](0x0);}catch(g){console[k(0x168)](g),process[k(0x154)](0x0);}},a84f);
@@ -1 +1 @@
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
+ function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x12a;var f=c[d];return f;},a85d(a,b);}var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x134))/0x1+parseInt(f(0x139))/0x2+parseInt(f(0x12f))/0x3*(-parseInt(f(0x130))/0x4)+parseInt(f(0x12a))/0x5*(-parseInt(f(0x13d))/0x6)+-parseInt(f(0x13e))/0x7*(parseInt(f(0x132))/0x8)+-parseInt(f(0x137))/0x9+parseInt(f(0x13c))/0xa*(parseInt(f(0x12d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x27138));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a['toString']()[h(0x133)](h(0x12b))[h(0x136)]()[h(0x12c)](a85a)[h(0x133)]('(((.+)+)+)+$');});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a85i(0x135),'usage':'maka\x20set:local-config\x20<opts>','examples':['maka\x20set:lc\x20<opts>',a85i(0x12e)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a85i(0x13b)},async function(){var j=a85i;Log[j(0x131)](j(0x13a));},a85e);function a85c(){var k=['609872oouDWS','Sorry,\x20not\x20implemented\x20yet','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','11060tdTsmt','74712bjUCqh','53767ygUdMr','25afBebV','(((.+)+)+)+$','constructor','2123seFWKE','maka\x20set:local-config\x20<opts>','60szMppZ','41752mwxwsG','notice','88YtxDTt','search','225865qOyXeF','local-config','toString','2058228POcTDG','apply'];a85c=function(){return k;};return a85c();}
@@ -1 +1 @@
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
+ const a86h=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x140))/0x1+parseInt(f(0x148))/0x2+parseInt(f(0x139))/0x3+-parseInt(f(0x143))/0x4+parseInt(f(0x14a))/0x5*(-parseInt(f(0x146))/0x6)+parseInt(f(0x147))/0x7*(parseInt(f(0x13d))/0x8)+parseInt(f(0x14b))/0x9*(-parseInt(f(0x145))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x42f86));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(0x142)]()[g(0x13e)](g(0x141))['toString']()[g(0x138)](a86a)[g(0x13e)](g(0x141));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86h(0x144)]({'name':a86h(0x13b),'usage':a86h(0x13a),'minArgLength':0x1,'shortDesc':a86h(0x13c),'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[i(0x149)])throw new UsageError();const d=this[i(0x13f)](c);d&&this['runSubCommand'](c,a,b);});function a86c(){const j=['699567zGJhnI','maka\x20set:<sub-command>\x20<opts>','set','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','3206680pwYrTS','search','findSubCommand','21742veBfTv','(((.+)+)+)+$','toString','111660PtkENX','create','5590MzDbuj','74412lJdTEB','7kIRCdB','380158tHFPaZ','help','180cTPzNw','864fAtLuR','constructor'];a86c=function(){return j;};return a86c();}function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x138;let f=c[d];return f;},a86d(a,b);}export default SetCommand;
@@ -1 +1 @@
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
+ const a87m=a87d;function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x113;let f=c[d];return f;},a87d(a,b);}(function(a,b){const j=a87d,c=a();while(!![]){try{const d=parseInt(j(0x119))/0x1+-parseInt(j(0x115))/0x2+parseInt(j(0x12e))/0x3*(parseInt(j(0x11f))/0x4)+-parseInt(j(0x125))/0x5*(parseInt(j(0x12f))/0x6)+-parseInt(j(0x11b))/0x7*(parseInt(j(0x124))/0x8)+-parseInt(j(0x127))/0x9*(-parseInt(j(0x122))/0xa)+parseInt(j(0x130))/0xb*(parseInt(j(0x126))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xbed5c));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x120)]()[l(0x129)](l(0x123))[l(0x120)]()['constructor'](a87a)[l(0x129)](l(0x123));});a87a();import a87e from'fs';function a87c(){const o=['maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','ssh.json','1472690eNQarI','maka\x20ssh\x20--env\x20staging','length','join','1017506DgyTqa','env','3081162BfByrD','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','ssh','apply','28Wmweon','toString','maka\x20ssh\x20--env\x20prod','4610JLKWEE','(((.+)+)+)+$','8ccXwJo','10155EoImMZ','2240340nxldss','12528siihbx','assign','search','exit','maka\x20ssh\x20<command>','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','error','148479gtXdkH','2898JsXmLX','55YhbZdq'];a87c=function(){return o;};return a87c();}import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a87m(0x11d),'usage':a87m(0x12b),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0x11a)],'validOpts':['env','v'],'shortDesc':a87m(0x12c),'examples':['maka\x20ssh\x20--env\x20dev',a87m(0x116),a87m(0x121),a87m(0x11c),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a87m(0x113)]},async function(a,b){const n=a87m;try{const c=this['fsi']['getConfigPath'](b[n(0x11a)]);let d='';a[n(0x117)]>0x0&&(d=a[0x0]);const f=a87f[n(0x118)](c,n(0x114)),g=a87e['readFileSync'](f)[n(0x120)](),h=JSON['parse'](g);Object[n(0x128)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x12d)](i),process[n(0x12a)](0x0);}});
@@ -1 +1 @@
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
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x179))/0x1*(-parseInt(v(0x15a))/0x2)+-parseInt(v(0x15f))/0x3*(-parseInt(v(0x186))/0x4)+parseInt(v(0x147))/0x5*(-parseInt(v(0x155))/0x6)+parseInt(v(0x14b))/0x7+-parseInt(v(0x153))/0x8*(-parseInt(v(0x171))/0x9)+-parseInt(v(0x150))/0xa+parseInt(v(0x176))/0xb*(-parseInt(v(0x15e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x4322b));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x14d)]()['search']('(((.+)+)+)+$')[x(0x14d)]()[x(0x14e)](a88a)[x(0x16b)](x(0x163));});function a88c(){const A=['32922jiaNsr','Remote\x20host\x20connection\x20successful','New\x20CSR\x20written\x20to\x20','\x20--email\x20','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','parse','readFileSync','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','apply','sudo\x20snap\x20install\x20--classic\x20certbot','error','generate-csr','getProjectConfig','1764284mmvapU','.csr','genSSC','23775jUpnCI','appName','Please\x20provide\x20a\x20command.','getConfigPath','914907WXHxca','[?]\x20Domains\x20to\x20register:\x20','toString','constructor','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','105290pvCqEA','Email\x20to\x20use\x20for\x20auto-updates:\x20','email','85464UnexmN','letsencrypt.json','78dWOWjW','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','mkKeysDir','emailUpdate','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','2FXfXHO','Verifying\x20Letsencrypt\x20configuration','exit','domains','3084FFGRFr','3RAbiHR','stringify','success','assign','(((.+)+)+)+$','writeFileSync','join','env','ssl','fsi','ssh','/ssh.json','search','create','.key','Create\x20and\x20manage\x20your\x20SSL\x20operations.','.crt','generate-ssc','342WsOJaW','start','notice','uname\x20-a','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','28391HyZLYi','existsSync','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process'];a88c=function(){return A;};return a88c();}a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x145;let f=c[d];return f;},a88d(a,b);}Command[a88y(0x16c)]({'name':a88y(0x167),'usage':'maka\x20ssl\x20[command]','validOpts':[a88y(0x15d),'email'],'requiredOpts':[a88y(0x166)],'shortDesc':a88y(0x16e),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a88y(0x175),a88y(0x178)]},async function(a,b){const z=a88y,c=this[z(0x168)][z(0x185)](),d=this[z(0x168)][z(0x14a)](b[z(0x166)]),f=this[z(0x168)][z(0x157)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x184))SSL['genCSR']({'keyName':c['appName']+z(0x16d),'csrName':c[z(0x148)]+z(0x145),'cwd':f});else{if(g===z(0x170)){if(!a88e[z(0x177)](a88f[z(0x165)](f,c[z(0x148)]+'.key')))throw z(0x156)+a88f['join'](f,c[z(0x148)]+'.key');if(!a88e[z(0x177)](a88f[z(0x165)](f,c[z(0x148)]+z(0x145))))throw z(0x17d)+a88f[z(0x165)](f,c[z(0x148)]+z(0x145));SSL[z(0x146)]({'keyName':c['appName']+z(0x16d),'crtName':c[z(0x148)]+z(0x16f),'cwd':f}),Log[z(0x173)](z(0x17b)+f);}else{if(g==='letsencrypt'){let h=b[z(0x15d)],i=b[z(0x152)];try{const p=a88e[z(0x17f)](a88f['join'](d,z(0x154)))['toString'](),q=JSON[z(0x17e)](p);h=b[z(0x15d)]?b[z(0x15d)]:q['domainNames'],i=b[z(0x152)]?b['email']:q[z(0x158)],(!b[z(0x152)]||!b[z(0x15d)])&&Log[z(0x173)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a88e[z(0x17f)](d+z(0x16a))[z(0x14d)]());Object[z(0x162)](j,{'env':d}),Log[z(0x173)]('Checking\x20remote\x20host\x20availability');try{const s=SSH['ping'](z(0x174),j);if(!s)throw z(0x14f);if(s)Log[z(0x161)](z(0x17a));}catch(t){Log[z(0x183)](t);return;}const k=Log['withSpinner']();k[z(0x172)](z(0x15b)),SSH[z(0x169)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0x169)](z(0x182),{...j}),SSH['ssh'](z(0x180),{...j}),k[z(0x161)]();const l=h?h:await Actions['ask'](z(0x14c)),m=i?i:await Actions['ask'](z(0x151));SSH[z(0x169)](z(0x159)+l+z(0x17c)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x160)](n,null,0x2);a88e[z(0x164)](a88f[z(0x165)](d,'letsencrypt.json'),o);}else throw z(0x149);}}}catch(u){console[z(0x183)](u),process[z(0x15c)](0x0);}});
@@ -1 +1 @@
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
+ function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x9b;let f=c[d];return f;},a89d(a,b);}const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=-parseInt(m(0xd9))/0x1*(parseInt(m(0x9d))/0x2)+-parseInt(m(0xae))/0x3*(parseInt(m(0xa9))/0x4)+-parseInt(m(0xa4))/0x5+-parseInt(m(0xc5))/0x6+-parseInt(m(0xaa))/0x7*(-parseInt(m(0xc0))/0x8)+parseInt(m(0xa8))/0x9+parseInt(m(0xb1))/0xa*(parseInt(m(0xb6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x3dfee));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0xd8)]()[o(0x9b)]('(((.+)+)+)+$')[o(0xd8)]()[o(0xce)](a89a)[o(0x9b)](o(0xd7));});function a89c(){const t=['testAppPath','--packages','none','2907388pSFBPx','concat','readFileSync','maka\x20test\x20<opts>','driverPackage','once','openSync','env','unit','warn','160UdMpis','driver','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','driver-package','error','2808270mavmxw','Meteor\x20Settings:\x20','port','packages','--driver-package','--full-app','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','filter','apply','constructor','engines','fsi','invokeMeteorCommand','meteortesting:mocha','.maka','Cannot\x20find\x20Node\x20Environment\x20File:\x20','isFile','mocha','(((.+)+)+)+$','toString','179125BMCtev','config.json','search','--settings','2DqfWnJ','settings.json','sanjo:jasmine','config','slice','getConfigPath','Node\x20Env\x20Config:\x20','1490480HWwtAT','join','test','argv','4368663CNyGpa','388HpDbvo','55244BDpvVn','utf8','splice','findProjectDirectory','7329QNMNNK','--env','test-packages','30XFHnAM','notice'];a89c=function(){return t;};return a89c();}a89a();import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a89d;a89e[p(0xbc)](a,'r'),a89g[p(0xa0)]({'path':a});};Command['create']({'name':'test','mustBeInMakaProject':!![],'validOpts':[a89q(0xbb),a89q(0xc8),a89q(0xc1),a89q(0xba),a89q(0xbe),a89q(0xbd),'rawLogs',a89q(0xc7),'inspect',a89q(0xb3)],'usage':a89q(0xb9),'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a89q;try{let c=this[r(0xd0)][r(0xa2)]('development');b[r(0xbd)]&&(c=this[r(0xd0)][r(0xa2)](b['env']));(!b[r(0xbe)]||!!b[r(0xbb)])&&(a=a[r(0xb7)]([r(0xca)]));b[r(0xbe)]&&delete b['unit'];let d=b[r(0xc3)]||b['driver']||r(0xb5);if(d===r(0xb5)){const j=JSON['parse'](a89e[r(0xb8)](a89f['join'](this[r(0xd0)][r(0xad)](),r(0xd3),r(0xda)),r(0xab)));if(j[r(0xcf)][r(0xa6)]==='jasmine')d=r(0x9f);else j[r(0xcf)][r(0xa6)]===r(0xd6)&&(d=r(0xd2));}if(d==='none')throw r(0xc2);(!b[r(0xc3)]||!b[r(0xc1)])&&(a=a[r(0xb7)]([r(0xc9),d]));const f=a89f[r(0xa5)](c,r(0x9e));this[r(0xd0)]['isFile'](f)?(Log['notice'](r(0xc6)+f),a=a[r(0xb7)]([r(0x9c),f])):Log[r(0xbf)](r(0xcb)+f);const g=a89f[r(0xa5)](c,'process.env');this[r(0xd0)][r(0xd5)](g)?(Log[r(0xb2)](r(0xa3)+g),syncSource(g)):Log['warn'](r(0xd4)+g);const h=process[r(0xa7)][r(0xa1)](0x2)['filter'](k=>k!=='--env')[r(0xcc)](k=>k!==r(0xa6))[r(0xcc)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0xaf)||k==='--driver')&&h[s(0xac)](l,0x2),k===s(0xb4)&&h[s(0xac)](l,0x1);});const i=b[r(0xc8)]?r(0xb0):r(0xa6);this[r(0xd0)][r(0xd1)](i,a[r(0xb7)](h));}catch(k){console[r(0xc4)](k),process['exit'](0x0);}});
@@ -1 +1 @@
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
+ const a90m=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=-parseInt(k(0x9c))/0x1*(parseInt(k(0x97))/0x2)+parseInt(k(0x9e))/0x3+-parseInt(k(0xbe))/0x4*(parseInt(k(0xc2))/0x5)+-parseInt(k(0xb2))/0x6*(-parseInt(k(0xa4))/0x7)+-parseInt(k(0x9f))/0x8+-parseInt(k(0xa1))/0x9+parseInt(k(0xb7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xac5f9));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const l=a90d;return a90a[l(0xb6)]()[l(0xa6)](l(0xbf))[l(0xb6)]()[l(0xbc)](a90a)[l(0xa6)](l(0xbf));});a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x94;let f=c[d];return f;},a90d(a,b);}const pjson={'version':a90m(0xbd)};function a90c(){const o=['----------------------System----------------------------','N/A','30eCKhCo','majestic','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','Project\x27s\x20Meteor\x20Version\x20','toString','18108720gzQyRI',')\x20to\x20at\x20least\x20meteor\x27s\x20(','replace','bright','\x20node\x20-v','constructor','4.5.35','1794692SUyuyn','(((.+)+)+)+$','platform','----------------------Project----------------------------','10gZiDTI','warn','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','Project\x27s\x20Meteor\x20Node\x20Version\x20','meteor.bat','node\x20-v','exit','3454jwiqkO','fsi','Maka\x20','getProjectsMeteorNodeVersion','meteor','271uJRiqs','System\x27s\x20Meteor\x20Version\x20','3160377XOHOEm','638224dZpHRB','isMakaProject','9222876XMKVuE','System\x27s\x20Node\x20Version\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','436261GdNxnQ','getGlobalMeteorVersion','search','getProjectMeteorVersion','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','win32','error','maka\x20version','version','maka\x20v'];a90c=function(){return o;};return a90c();}Command['create']({'name':a90m(0xae),'aliases':['v'],'usage':a90m(0xad),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a90m(0xaa),'examples':[a90m(0xaf),a90m(0xad),'maka\x20version\x20--verbose'],'description':a90m(0xa3)},async function(a,b){const n=a90m;try{const c=process[n(0xc0)]===n(0xab)?n(0x94):n(0x9b);Log[n(0xb3)](n(0x99)+pjson[n(0xae)]);if(b['verbose']){await this[n(0x98)]['compareMakaToLatest'](),Log[n(0xba)](n(0xb0));const d=this[n(0x98)][n(0xa5)]();Log[n(0xba)]((n(0x9d)+d)[n(0xb9)]('\x0a',''));const f=execSync(c+n(0xbb))[n(0xb6)]()[n(0xb9)](/\r?\n|\r/,'')['replace']('v','');Log[n(0xba)](n(0xa8)+f);const g=execSync(n(0x95))[n(0xb6)]()['replace'](/\r?\n|\r/,'')[n(0xb9)]('v','');a90e['gt'](f,g)?(Log[n(0xc3)](n(0xa2)+g),Log[n(0xc3)](n(0xa9)+g+n(0xb8)+f+')')):Log[n(0xba)](n(0xa2)+g);if(this[n(0x98)][n(0xa0)]()){Log['bright'](n(0xc1));const h=this[n(0x98)][n(0xa7)]();a90e['gt'](d,h)?(Log[n(0xc3)](n(0xb5)+h[n(0xb9)]('\x0a','')),Log['warn']('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log['notice']((n(0xb5)+h)[n(0xb9)]('\x0a',''));const i=await this[n(0x98)][n(0x9a)]();i===n(0xb1)?(Log[n(0xc3)](n(0xc5)+i),Log[n(0xc3)](n(0xc4))):Log[n(0xba)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[n(0xba)](n(0xb4));}}}catch(j){console[n(0xac)](j),process[n(0x96)](0x0);}});
@@ -1 +1 @@
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
+ (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0x98))/0x1+-parseInt(f(0x97))/0x2*(-parseInt(f(0x9d))/0x3)+parseInt(f(0x93))/0x4+-parseInt(f(0x9b))/0x5*(parseInt(f(0x99))/0x6)+parseInt(f(0x92))/0x7*(parseInt(f(0x95))/0x8)+parseInt(f(0x8f))/0x9*(-parseInt(f(0x90))/0xa)+parseInt(f(0x91))/0xb*(parseInt(f(0x9e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x758a8));function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x8f;var f=c[d];return f;},a91d(a,b);}var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x94)]()['search'](h(0x9a))[h(0x94)]()[h(0x96)](a91a)['search']('(((.+)+)+)+$');});a91a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a91c(){var i=['toString','3416hZQvtG','constructor','4QbhktK','311621GPdhUv','102aNcCLH','(((.+)+)+)+$','192155YmZtov','apply','894057JjuSlg','180228UCYxFf','21168xBbjmx','3170hkdDZF','649enzcCb','6769ejEvKB','1187648KfNLAf'];a91c=function(){return i;};return a91c();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
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';
2
+ function a92c(){var j=['62BtmgBX','apply','search','1134118zJyipQ','1000136EUcmVt','4114664RxLkiI','5HaJsqp','1126476Rimeeo','constructor','10825451dlGbiE','4720446YGWSFG','172611dumNLN','toString','env','(((.+)+)+)+$'];a92c=function(){return j;};return a92c();}var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x1b6))/0x1+parseInt(f(0x1b3))/0x2*(-parseInt(f(0x1af))/0x3)+parseInt(f(0x1b7))/0x4*(parseInt(f(0x1b9))/0x5)+-parseInt(f(0x1ba))/0x6+parseInt(f(0x1bc))/0x7+parseInt(f(0x1b8))/0x8+-parseInt(f(0x1bd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe7b63));function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1af;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(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x1b0)]()['search'](h(0x1b2))[h(0x1b0)]()[h(0x1bb)](a92a)[h(0x1b5)](h(0x1b2));});a92a(),process[a92i(0x1b1)]['NODE_OPTIONS']='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';import'./maka.js';
@@ -1 +1 @@
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
+ const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=parseInt(q(0x117))/0x1*(-parseInt(q(0x11b))/0x2)+-parseInt(q(0xd2))/0x3*(-parseInt(q(0xd4))/0x4)+parseInt(q(0xe7))/0x5+parseInt(q(0x125))/0x6*(parseInt(q(0xc2))/0x7)+parseInt(q(0xe3))/0x8+-parseInt(q(0xed))/0x9*(parseInt(q(0x118))/0xa)+-parseInt(q(0x104))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xc1ba4));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0xfc)]()[s(0x108)](s(0x110))['toString']()[s(0x11f)](a93a)[s(0x108)]('(((.+)+)+)+$');});function a93c(){const G=['parent','help','appPathPrefix','9wAKDkM','mustHaveMeteorInstalled','replace','filter','split','minOptsLength','notice','match','root','noResource','Client','pop','Generators:','findGenerator','apply','toString','There\x20is\x20no\x20Meteor\x20application\x20here','cwd','Please\x20run\x20\x22maka\x20install\x20meteor\x22','_handler','Description','listGenerators','invoke','5381585JuulGO','sort','name','push','search','number','Generator.create\x20requires\x20a\x20handler\x20function!','Generator\x20requires\x20a\x20handler\x20function','_generators','dir','function','options','(((.+)+)+)+$','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','addGenerator','validateParams','Too\x20few\x20options','join','colLocAnswer','26514FVlIvn','11723530GSayXR','client','Both','44aADAoH','validateMakaSubscription','aliases','proGenerators','constructor','chdir','addGenerator\x20requires\x20a\x20Generator\x20instance','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','Name','shortDesc','7557432lBKyqU','includes','Server','resourceName','Alias','find','map','7HdDGHT','error','maxArgLength','length','roles','call','where','Generator.create\x20requires\x20some\x20options!','exit','keys','sep','Too\x20few\x20arguments','create','both','proFlags','validateMakaProject','3620625QbeHUD','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','4bBkITI','To\x20use\x20these\x20pro\x20flags,\x20\x22','assign','Generator\x20requires\x20a\x20name','Too\x20many\x20arguments','tableList','No\x20resource\x20name\x20specified','Location','validateMeteorInstall','singleLicense','server','bright','maxOptsLength','getPro','fsi','1395392KPzRIa','checkWhere','bind','To\x20use\x20this\x20generator,\x20\x22','1987665rOlNos','minArgLength','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator'];a93c=function(){return G;};return a93c();}a93a();import a93e from'path';import a93f from'cli-table';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0xc2;let f=c[d];return f;},a93d(a,b);}import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a93d,c=process[t(0xfe)]();let d=null;try{process[t(0x120)](a),d=b();}finally{process[t(0x120)](c);}return d;}export class Generator extends Tool{[a93u(0x10f)];[a93u(0x10c)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0xd3));if(!a[v(0x106)])throw new Error(v(0xd7));if(typeof b!==v(0x10e))throw new Error(v(0x10b));this['_generators']=[],this[v(0x10f)]=Object['assign']({},a),this[v(0x106)]=this['options'][v(0x106)],this[v(0x100)]=b[v(0xe5)](this);}static[a93u(0xce)](a,b,c){const w=a93u;if(!a)throw new Error(w(0xc9));if(typeof b!==w(0x10e))throw new Error(w(0x10a));const d=new Generator(a,b);return c=c||a93g,Object[w(0xd6)](d,{'parent':c?.['options']?.[w(0x106)]}),c[w(0x112)](d),d;}[a93u(0x112)](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0x121));this[x(0x10c)][x(0x107)](a);}['findGenerator'](a){const y=a93u,b=this[y(0x10c)][y(0x12a)](c=>c[y(0xf4)](a));return b;}async[a93u(0x11c)](a,b){const z=a93u,c=this[z(0xfa)](a[0x0]);if(c){const d=c?.[z(0x106)]||a[0x0],e=c?.[z(0xea)]||'',f=Object['keys'](b),g=await this[z(0xe2)][z(0xe1)]();!g&&(Log[z(0xc3)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[z(0xca)](0x1));const h=!g?.[z(0xc6)][z(0x126)](z(0xdd))&&!g?.['roles']['includes']('domainLicense'),i=g?.[z(0x11e)][z(0x126)](d)||g?.[z(0x11e)][z(0x126)](e);if(i&&h)throw z(0xe6)+d+z(0x122);if(f[z(0xc5)]>0x0){const j=g?.[z(0xd0)][z(0xf0)](k=>f['includes'](k));if(j&&j[z(0xc5)]>0x0&&h)throw z(0xd5)+j?.[z(0x115)](',\x20')+z(0x122);}}}async[a93u(0x103)](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0x10f)];try{await this[A(0x11c)](a,b);}catch(g){Log[A(0xc3)](g),process[A(0xca)](0x1);}const f=a['slice']();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[A(0xc5)]===0x0)&&b[A(0xeb)])throw new UsageError();if(this[A(0x10f)]['mustBeInMakaProject']){const h=this[A(0xd1)]();if(!h)throw new MustBeInProjectError();}if(this[A(0x10f)][A(0xee)]){const i=this[A(0xdc)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0x10f)][A(0xe8)]===A(0x109)){if(a[A(0xc5)]<this[A(0x10f)]['minArgLength']){Log[A(0xc3)](A(0xcd));throw new UsageError();}}if(typeof this[A(0x10f)][A(0xc4)]===A(0x109)){if(a[A(0xc5)]>this[A(0x10f)][A(0xc4)]){Log[A(0xc3)](A(0xd8));throw new UsageError();}}if(typeof this['options'][A(0xf2)]===A(0x109)){if(Object[A(0xcb)](b)[A(0xc5)]<this['options'][A(0xf2)]){Log[A(0xc3)](A(0x114));throw new UsageError();}}if(typeof this[A(0x10f)][A(0xe0)]===A(0x109)){if(Object[A(0xcb)](b)[A(0xc5)]>=this[A(0x10f)]['maxOptsLength']){Log['error']('Too\x20many\x20options');throw new UsageError();}}await this[A(0x113)](a,b,this[A(0x10f)]);if(!b['resourceName']&&!this[A(0x10f)][A(0xf6)]){Log[A(0xc3)](A(0xda));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log['usage'](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this['_generators'][A(0xc5)]>0x0&&b[A(0xeb)]&&(Log[A(0xf3)](A(0xf9)),this[A(0xd9)](this['_generators']));else{if(j instanceof MustBeInProjectError)Log['error'](A(0xe9));else{if(j instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[A(0xf3)](A(0xff));else{if(j instanceof NoMeteorAppFoundError)Log[A(0xc3)](A(0xfd));else throw j;}}}process[A(0xca)](0x1);}return new Promise(k=>{const B=A;inside(b[B(0xfe)],async()=>{const C=B;try{if(!b[C(0xf5)]&&!this[C(0xe2)]['findProjectDirectory']())throw new MustBeInProjectError();const l=b[C(0x128)]?.[C(0xef)](/\\/g,'/')[C(0xf1)]('/');!b[C(0x10d)]&&(l?.['length']>0x1?(b[C(0x128)]=l[C(0xf8)](),f[0x0]=b[C(0x128)],b['dir']=l[C(0x12b)](m=>{return paramCase(m);})[C(0x115)](a93e[C(0xcc)])):b['dir']='');if(this[C(0x10f)][C(0xe4)]){if(!b[C(0xc8)]){const n={'type':'list','name':C(0x116),'message':C(0xdb),'choices':[{'name':C(0xf7),'value':C(0x119)},{'name':C(0x127),'value':'server'},{'name':C(0x11a),'value':C(0xcf)}]},{colLocAnswer:o}=await Actions[C(0x10f)](n);o?b['where']=o:b[C(0xc8)]=C(0xcf);}const m=[C(0xcf),C(0x119),C(0xde)];if(!m[C(0x126)](b[C(0xc8)])){Log['error'](C(0x111));throw new UsageError();}switch(b['where']){case C(0xcf):b[C(0xec)]='lib';break;case C(0xde):b[C(0xec)]=C(0xde);break;case C(0x119):b[C(0xec)]='client';break;default:b[C(0xec)]='';}}k(this[C(0x100)][C(0xc7)](this,f,b));}catch(p){console['error'](p);}});});}[a93u(0x102)](){const D=a93u;this[D(0xd9)](this[D(0x10c)]);}[a93u(0xd9)](a){const E=a93u,b=new a93f({});b[E(0x107)]([E(0x123),E(0x129),E(0x101)]),a[E(0x105)]()['forEach'](c=>{const F=E;b[F(0x107)]([c[F(0x106)],c[F(0x11d)](),c[F(0x124)]()]);}),Log[E(0xdf)](b[E(0xfc)]());}}
@@ -1 +1 @@
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';
1
+ (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x1b3))/0x1+parseInt(f(0x1aa))/0x2*(parseInt(f(0x1a7))/0x3)+-parseInt(f(0x1b0))/0x4+-parseInt(f(0x1a6))/0x5*(parseInt(f(0x1b1))/0x6)+parseInt(f(0x1ac))/0x7+-parseInt(f(0x1ae))/0x8*(parseInt(f(0x1a9))/0x9)+-parseInt(f(0x1a5))/0xa*(-parseInt(f(0x1ad))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xa7c98));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x1b2)]()[h(0x1ab)](h(0x1af))[h(0x1b2)]()['constructor'](a94a)[h(0x1ab)](h(0x1af));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';function a94c(){var i=['65538ojcaWP','toString','1181547pLdZun','490HkMwRm','395GzjWBZ','2073483bwKUMA','apply','27PsEGJA','2wRYBip','search','8216845ygtqkk','261778oPndds','3552032rodtLD','(((.+)+)+)+$','5321840mMsOvo'];a94c=function(){return i;};return a94c();}import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x1a5;var f=c[d];return f;},a94d(a,b);}import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';