@maka/maka-cli 4.5.35 → 4.5.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/tool.js +1 -1
  117. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/https/https.class.js +1 -1
  125. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  126. package/bundle/obf/src/tools/log/log.class.js +1 -1
  127. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  133. package/package.json +1 -1
@@ -1 +1 @@
1
- const a76j=a76d;function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-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
+ const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x8d))/0x1+parseInt(g(0x8a))/0x2*(-parseInt(g(0x92))/0x3)+-parseInt(g(0x89))/0x4*(-parseInt(g(0x8e))/0x5)+-parseInt(g(0x97))/0x6*(-parseInt(g(0x8f))/0x7)+parseInt(g(0x86))/0x8*(parseInt(g(0x8b))/0x9)+-parseInt(g(0x99))/0xa+-parseInt(g(0x91))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xb41af));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x9a)]()[i(0x9c)]('(((.+)+)+)+$')[i(0x9a)]()['constructor'](a76a)[i(0x9c)](i(0x96));});a76a();function a76c(){const l=['error','slice','(((.+)+)+)+$','102bKgbee','fsi','10588910WyYcyy','toString','maka\x20--help','search','maka\x20<command>\x20[<args>]\x20[<opts>]','findSubCommand','apply','runSubCommand','15808WMERcQ','maka\x20create\x20Todo','maka\x20run','812148VoMOkX','50mBBcES','4806NZILMw','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','997664erJcav','10zXdJJz','217490LBKffx','maka','1160610VCxjHB','130200GzqfLN','exit'];a76c=function(){return l;};return a76c();}import{Command}from'../command.js';const Maka=new Command({'name':a76j(0x90),'minArgLength':0x1,'shortDesc':a76j(0x8c),'validOpts':[],'usage':a76j(0x9d),'disableAuthCheck':!![],'examples':[a76j(0x9b),'maka\x20install\x20meteor',a76j(0x87),a76j(0x88)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x9e)](c);d?this[k(0x85)](c,a[k(0x95)](0x1),b):this[k(0x98)]['maybeProxyCommandToMeteor']();}catch(f){console[k(0x94)](f),process[k(0x93)](0x1);}});function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x84;let f=c[d];return f;},a76d(a,b);}export default Maka;
@@ -1 +1 @@
1
- var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(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
+ function a77c(){var j=['2000464erPjKb','50952gcWxji','log','search','1644EydMGk','toString','4095bygHLS','font-family:\x20monospace','336dFyttb','exit','7YDTzDN','murder','%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','1295XUaVqf','5010aSfBfC','90pBTpuc','error','1091818kZDKvC','18710SYQfqR','Murrrrderrrrr','create','1026pRCdof','10062VFooWh'];a77c=function(){return j;};return a77c();}var a77h=a77d;function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1ce;var f=c[d];return f;},a77d(a,b);}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x1d9))/0x1*(-parseInt(f(0x1e2))/0x2)+-parseInt(f(0x1e1))/0x3*(-parseInt(f(0x1d7))/0x4)+-parseInt(f(0x1e0))/0x5*(parseInt(f(0x1d2))/0x6)+-parseInt(f(0x1dd))/0x7*(-parseInt(f(0x1d3))/0x8)+parseInt(f(0x1d1))/0x9*(-parseInt(f(0x1ce))/0xa)+-parseInt(f(0x1d4))/0xb*(parseInt(f(0x1db))/0xc)+parseInt(f(0x1e4))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x6855c));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var g=a77d;return a77a['toString']()[g(0x1d6)]('(((.+)+)+)+$')[g(0x1d8)]()['constructor'](a77a)[g(0x1d6)]('(((.+)+)+)+$');});a77a();import{Command}from'../command.js';Command[a77h(0x1d0)]({'name':a77h(0x1de),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a77h(0x1cf),'validOpts':[]},async function(){var i=a77h;try{console[i(0x1d5)](i(0x1df),i(0x1da));}catch(a){console[i(0x1e3)](a),process[i(0x1dc)](0x0);}});
@@ -1 +1 @@
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
+ const a78q=a78d;function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x13b;let f=c[d];return f;},a78d(a,b);}(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x14b))/0x1+-parseInt(n(0x13e))/0x2+-parseInt(n(0x15b))/0x3*(parseInt(n(0x154))/0x4)+-parseInt(n(0x145))/0x5+parseInt(n(0x14d))/0x6*(-parseInt(n(0x150))/0x7)+-parseInt(n(0x14c))/0x8*(parseInt(n(0x15e))/0x9)+parseInt(n(0x13c))/0xa*(parseInt(n(0x13b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x85915));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x160)]()['search'](p(0x147))['toString']()[p(0x14e)](a78a)[p(0x166)](p(0x147));});a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const s=['getConfigPath','429753ppJElr','1312GyrViZ','1810986TdHRtz','constructor','\x20to\x20','7qCXxBL','isFile','fsi','.crt','1748524EbchZJ','appName','readFileSync','genSSC','listenPort','.csr','\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','3otinRO','genCSR','createProxyServer','57060xhkfyV','utf8','toString','sslconfig','.key','invoke','localhost','help','search','3436213iEjGGg','130vbizGb','create','1288932YTQmZu','join','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','proxy','mkKeysDir','=>\x20SSL\x20Proxy\x20forwarding\x20','targetHost','3304725WhQHfL','findGenerator','(((.+)+)+)+$','apply','targetPort'];a78c=function(){return s;};return a78c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command[a78q(0x13d)]({'name':a78q(0x141),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a78q(0x165),a78q(0x149),a78q(0x158),a78q(0x144)],'maxArgLength':0x1,'shortDesc':a78q(0x140),'description':a78q(0x15a),'examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a78q,c=this[r(0x152)]['getProjectConfig'](),d='development',e=this['fsi'][r(0x14a)](d),f=this[r(0x152)][r(0x142)]({'configPath':e}),g=b[r(0x149)]?Number(b[r(0x149)]):0xbb8,h=b[r(0x158)]?Number(b[r(0x158)]):0xd73,i=b[r(0x144)]?b[r(0x144)]:r(0x164),j=a78f['join'](f,c['appName']+r(0x162)),k=a78f[r(0x13f)](f,c['appName']+r(0x153));if(!this[r(0x152)][r(0x151)](j)||!this[r(0x152)][r(0x151)](k)){const m=a78h[r(0x146)]('sslconfig');m&&await m[r(0x163)]([r(0x161)],{'env':d}),SSL[r(0x15c)]({'keyName':c['appName']+r(0x162),'csrName':c[r(0x155)]+r(0x159),'cwd':f}),SSL[r(0x157)]({'keyName':c['appName']+r(0x162),'crtName':c[r(0x155)]+r(0x153),'cwd':f});}if(g===h){Log['error']('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a78e[r(0x156)](j,r(0x15f)),'cert':a78e[r(0x156)](k,r(0x15f))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x15d)](l)['listen'](Number(h)),Log['bright'](r(0x143)+h+r(0x14f)+g);});
@@ -1 +1 @@
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
+ const a79p=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x181))/0x1*(parseInt(n(0x163))/0x2)+-parseInt(n(0x171))/0x3+parseInt(n(0x16b))/0x4+-parseInt(n(0x15f))/0x5+-parseInt(n(0x170))/0x6+parseInt(n(0x17f))/0x7+parseInt(n(0x165))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xa3e23));function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x15f;let f=c[d];return f;},a79d(a,b);}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const o=a79d;return a79a[o(0x16d)]()[o(0x17c)]('(((.+)+)+)+$')['toString']()[o(0x178)](a79a)[o(0x17c)](o(0x173));});a79a();import a79e from'fs';import a79f from'path';function a79c(){const r=['reconfig','toString','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','error','4658724VZvKeT','1553442gsfHIb','join','(((.+)+)+)+$','create','notice','\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','Reconfigure\x20your\x20deployed\x20applications','constructor','settings.json','~/ses.json','existsSync','search','fsi','env','8206296tKjFiO','Remote\x20host\x20connection\x20successful','122qbZpnv','parse','sshSync','ssh.json','maka\x20reconfig\x20--env\x20prod','success','~/pm2.config.js','2704220wkBhqq','ses.json','_keys','getConfigPath','17868QzkOzC','scp','16471064gjkrYn','ping','Checking\x20remote\x20host\x20availability','pm2\x20delete\x20all','maka\x20reconfig','pm2.config.js','1460464GoWclT'];a79c=function(){return r;};return a79c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79p(0x174)]({'name':a79p(0x16c),'validOpts':[''],'requiredOpts':[a79p(0x17e)],'mustBeInMakaProject':!![],'usage':a79p(0x169),'shortDesc':a79p(0x177),'description':a79p(0x176),'examples':[a79p(0x185)]},async function(a,b){const q=a79p;try{const c=this[q(0x17d)][q(0x162)](b[q(0x17e)]),d=a79f[q(0x172)](c,q(0x184)),f=a79e['readFileSync'](d)[q(0x16d)](),g=JSON[q(0x182)](f);Object['assign'](g,{'env':c}),Log[q(0x175)](q(0x167));const h=SSH[q(0x166)]('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[q(0x186)](q(0x180));const i=a79f[q(0x172)](c,q(0x161),q(0x160));if(a79e[q(0x17b)](i)){const l={'source':i,'dest':q(0x17a),'verbose':!![]};SSH[q(0x164)](l,{...g});}const j=a79f[q(0x172)](c,q(0x16a));SSH['scp']({'source':j,'dest':q(0x187),'verbose':!![]},{...g});const k=a79f[q(0x172)](c,q(0x179));SSH[q(0x164)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[q(0x183)](q(0x168),g),await SSH['ssh'](q(0x16e),{...g},{'verbose':!![]});}catch(m){console[q(0x16f)](m),process['exit'](0x0);}});
@@ -1 +1 @@
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
+ (function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0x16f))/0x1+parseInt(f(0x171))/0x2*(parseInt(f(0x176))/0x3)+-parseInt(f(0x16c))/0x4+-parseInt(f(0x169))/0x5*(parseInt(f(0x16a))/0x6)+parseInt(f(0x16d))/0x7*(parseInt(f(0x175))/0x8)+-parseInt(f(0x173))/0x9+-parseInt(f(0x16e))/0xa*(-parseInt(f(0x16b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xeec35));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0x170)]()[h(0x167)](h(0x172))[h(0x170)]()[h(0x168)](a80a)['search'](h(0x172));});a80a();function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x167;var f=c[d];return f;},a80d(a,b);}function a80c(){var i=['apply','1320472zzVgtY','144411ZrNSwl','search','constructor','1365QDhYoy','8178VDwXtF','10417TIwRjK','2798556ifmwLD','14MeOOnW','730ViRxSO','1544671eRDCTL','toString','62VXbvwL','(((.+)+)+)+$','12478104jLSFuW'];a80c=function(){return i;};return a80c();}import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
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
+ function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x1d9;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(0x1e7))/0x1+-parseInt(i(0x1f9))/0x2*(parseInt(i(0x1e4))/0x3)+parseInt(i(0x1e3))/0x4*(-parseInt(i(0x1d9))/0x5)+-parseInt(i(0x1e6))/0x6*(parseInt(i(0x1f4))/0x7)+-parseInt(i(0x1e2))/0x8*(parseInt(i(0x1eb))/0x9)+parseInt(i(0x1df))/0xa*(-parseInt(i(0x1ea))/0xb)+parseInt(i(0x1f7))/0xc*(parseInt(i(0x1fa))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xe8f42));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x1e9)]()['search']('(((.+)+)+)+$')[k(0x1e9)]()[k(0x1da)](a81a)['search'](k(0x1dd));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';function a81c(){const n=['exit','join','existsSync','pm2.config.js','PM2\x20Config\x20File:\x20','getConfigPath','docker','docker-compose\x20--project-directory\x20','861LkajOE','maka\x20run\x20docker','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','60gskgpD','getProjectConfig','2LjDlPH','23720047FeQveY','appName','createFile','notice','4541255anONJQ','constructor','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','Docker\x20Compose\x20Path:\x20','(((.+)+)+)+$','apply','20JxMStm','\x20up\x20--remove-orphans','docker-compose.yaml','24EHPGCX','8cinHoK','4050831vvTziS','inherit','90138zZFvYs','669096MmewPr','fsi','toString','6957940UvjjQz','3660399TqCKYq'];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';Command['create']({'name':a81l(0x1f2),'aliases':['d'],'shortDesc':a81l(0x1f6),'description':a81l(0x1db),'usage':a81l(0x1f5),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x1e8)][m(0x1f8)](),b=this['fsi'][m(0x1f1)](m(0x1f2)),c=a81f[m(0x1ed)](b,m(0x1e1)),d=a81f[m(0x1ed)](b,m(0x1ef));Log[m(0x1fd)](m(0x1f0)+d),Log[m(0x1fd)](m(0x1dc)+c);if(!a81g[m(0x1ee)](c)){const f={'app':a[m(0x1fb)],'appFileCase':paramCase(a['appName'])},g=this[m(0x1e8)]['templateContent']({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[m(0x1e8)][m(0x1fc)]({'filePath':c,'data':g});}execSync(m(0x1f3)+b+m(0x1e0),{'stdio':m(0x1e5)});}catch(h){process[m(0x1ec)](0x1);}},a81e);
@@ -1 +1 @@
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
+ const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x177))/0x1*(-parseInt(r(0x179))/0x2)+-parseInt(r(0x16b))/0x3*(parseInt(r(0x156))/0x4)+parseInt(r(0x150))/0x5*(-parseInt(r(0x14a))/0x6)+-parseInt(r(0x153))/0x7*(parseInt(r(0x17a))/0x8)+-parseInt(r(0x142))/0x9*(-parseInt(r(0x168))/0xa)+parseInt(r(0x157))/0xb*(parseInt(r(0x15f))/0xc)+parseInt(r(0x15d))/0xd*(-parseInt(r(0x152))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x21df1));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const s=a82d;return a82a['toString']()['search'](s(0x146))[s(0x175)]()[s(0x15a)](a82a)[s(0x178)](s(0x146));});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x141;let f=c[d];return f;},a82d(a,b);}a82a();import a82e from'path';function a82c(){const x=['6kWbfiM','isDirectory','filter','fsi','inspect','invokeMeteorCommand','382895iQSGEs','create','518fHHQyd','98DQtlbR','notice','mobile-server','4WDHenN','11jjymXf','app','push','constructor','getConfigPath','splice','65039YonBXH','settings.json','3166248jJPEsj','findProjectDirectory','verbose','--settings','concat','\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.','forEach','isFile','docker','840670fQbqrk','settings','Run\x20your\x20Meteor\x20application','228237AMtRVX','--env','port','findSubCommand','development','run','split','allowIncompatibleUpdate','cordova-build','join','toString','local','799PnrPid','search','26IKwbuI','16664CCbUHt','installMeteorPackage','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','process.env','mobileServer','checkMeteorPackage','compareMakaToLatest','exit','exclude-archs','warn','production','Meteor\x20Settings:\x20','27vYwAaE','argv','openSync','rawLogs','(((.+)+)+)+$','sep','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)','env'];a82c=function(){return x;};return a82c();}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(0x144)](a,'r'),a82g['config']({'path':a});},Run=Command[a82u(0x151)]({'name':a82u(0x170),'mustBeInMakaProject':!![],'shortDesc':a82u(0x16a),'description':a82u(0x164),'validOpts':[a82u(0x149),a82u(0x167),'r',a82u(0x145),'p',a82u(0x16d),'i',a82u(0x14e),'m',a82u(0x17e),'v',a82u(0x161),a82u(0x172),'extraPackages','x',a82u(0x182),a82u(0x184)]},async function(a,b){const v=a82u;try{const c=this[v(0x14d)][v(0x160)]();!this[v(0x14d)][v(0x17f)]('autoupdate')&&(Log[v(0x154)]('Verifying\x20meteor\x20package\x20requirements\x20...'),await this[v(0x14d)][v(0x17b)]('autoupdate',{'cwd':c}));const d=a[0x0],f=this[v(0x16e)](d);f&&this['runSubCommand'](d,a,b);if(d==='ios'){const n=this[v(0x14d)]['findProjectDirectory'](),o=a82e[v(0x174)](n,v(0x158),'.meteor',v(0x176),v(0x173));this[v(0x14d)][v(0x14b)](o)&&await rimraf(o);}if(b[v(0x155)]&&b[v(0x155)]===!![]||b['m']&&b['m']===!![])throw v(0x148);await this[v(0x14d)][v(0x180)]();const g=b['env']?b[v(0x149)]:v(0x16f),h=this['fsi'][v(0x15b)](g),i=a82e[v(0x174)](h,v(0x17d));let j=a82e['join'](h,v(0x15e));b[v(0x169)]?j=b[v(0x169)]:j=a82e[v(0x174)](h,v(0x15e));if(this[v(0x14d)][v(0x166)](i)&&!b[v(0x167)])Log[v(0x154)]('Node\x20Env\x20Config:\x20'+i),syncSource(i);else!b['docker']&&Log[v(0x183)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+i);this[v(0x14d)][v(0x166)](j)?(Log[v(0x154)](v(0x141)+j),a=a['concat']([v(0x162),j])):Log[v(0x183)](v(0x17c)+j);const k=h[v(0x171)](a82e[v(0x147)]),l=k[k['length']-0x1];l===v(0x184)&&a[v(0x159)]('--production');const m=process[v(0x143)]['slice'](0x2)['filter'](p=>p!==v(0x170))[v(0x14c)](p=>p!==a[0x0]);m[v(0x165)]((p,q)=>{const w=v;p===w(0x16c)&&m[w(0x15c)](q,0x2),p==='-e'&&m[w(0x15c)](q,0x2);}),this[v(0x14d)][v(0x14f)](v(0x170),a[v(0x163)](m));}catch(p){console['error'](p),process[v(0x181)](0x1);}});export default Run;
@@ -1 +1 @@
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
+ (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x187))/0x1+parseInt(f(0x18b))/0x2*(-parseInt(f(0x184))/0x3)+parseInt(f(0x18a))/0x4+-parseInt(f(0x183))/0x5+-parseInt(f(0x18c))/0x6+parseInt(f(0x185))/0x7+-parseInt(f(0x186))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x93ecb));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[g(0x188)]()[g(0x181)](g(0x182))[g(0x188)]()[g(0x189)](a83a)[g(0x181)]('(((.+)+)+)+$');});function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x181;var f=c[d];return f;},a83d(a,b);}a83a();function a83c(){var h=['4252444oVYYpJ','44196qJEaQp','2953938hpoMNx','search','(((.+)+)+)+$','992150buzcvM','15iGhuzz','2932944ZDrUHq','6958056XCTxvo','794796EzyZmT','toString','constructor'];a83c=function(){return h;};return a83c();}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=parseInt(h(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
+ const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0xb8))/0x1*(parseInt(h(0xaf))/0x2)+-parseInt(h(0xa6))/0x3*(-parseInt(h(0x97))/0x4)+parseInt(h(0xac))/0x5+parseInt(h(0xb7))/0x6*(parseInt(h(0xaa))/0x7)+-parseInt(h(0xa5))/0x8*(parseInt(h(0xa0))/0x9)+-parseInt(h(0x9b))/0xa*(parseInt(h(0xad))/0xb)+-parseInt(h(0x9e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x3263f));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0x9a)]()[j(0x96)]('(((.+)+)+)+$')[j(0x9a)]()['constructor'](a84a)['search'](j(0xba));});a84a();function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x93;let f=c[d];return f;},a84d(a,b);}import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a84c(){const m=['400IToViu','create','maka\x20set:gc\x20--workspace\x20<path>','1771176FuclhR','allowInsecure','1935Djpqpt','boolean','setGlobalConfig','Set\x20allowInsecure:\x20','One\x20or\x20the\x20other\x20buddy','7216TssXQL','3YWIqSX','cacert','Set\x20CA\x20Cert\x20Path:\x20','Set\x20OpenAI\x20Key:\x20','427ZOuPXw','\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','1732960aeHzls','27401LwYDwH','error','599042ceuDSP','workspace','openai','disallowInsecure','resolve','exit','maka\x20set:global-config\x20<args>','Could\x20not\x20find\x20directory','39132bPEmWW','1hJQozs','Set\x20global\x20Maka-CLI\x20settings','(((.+)+)+)+$','success','isDirectory','maka\x20set:global-config\x20--cacert\x20<path>','fsi','apply','maka\x20set:gc\x20--insecure\x20<path>','search','810616JCiKno','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20workspace:\x20','toString'];a84c=function(){return m;};return a84c();}Command[a84k(0x9c)]({'name':'global-config','usage':a84k(0xb5),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0xa7),'allowInsecure',a84k(0xb2),'workspace','openai','help'],'shortDesc':a84k(0xb9),'description':a84k(0xab),'examples':[a84k(0xbd),a84k(0x95),a84k(0x9d)]},async function(a,b){const l=a84k;try{if(b[l(0xa7)]){if(this[l(0x93)]['isFile'](b[l(0xa7)]))this['fsi'][l(0xa2)]({'cert':b[l(0xa7)]}),Log[l(0xbb)](l(0xa8)+b[l(0xa7)]);else{const c=typeof b[l(0xa7)]===l(0xa1)?l(0x98):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0xa7)];throw Log[l(0xae)](c);}}if(b[l(0xb0)]){const d=this[l(0x93)][l(0xbc)](b['workspace']);if(d)this[l(0x93)]['setGlobalConfig']({'workspace':a84e[l(0xb3)](b[l(0xb0)])}),Log['success'](l(0x99)+a84e['resolve'](b['workspace']));else throw Log[l(0xae)](l(0xb6));}b[l(0xb1)]&&(this[l(0x93)][l(0xa2)]({'openai':b['openai']}),Log[l(0xbb)](l(0xa9)+b[l(0xb1)]));if(b[l(0x9f)]){if(b[l(0x9f)]&&b[l(0xb2)])throw Log[l(0xae)](l(0xa4));let f=b[l(0x9f)];b['disallowInsecure']&&(f=![]),this[l(0x93)][l(0xa2)]({'allowInsecure':f}),Log[l(0xbb)](l(0xa3)+f);}process['exit'](0x0);}catch(g){console[l(0xae)](g),process[l(0xb4)](0x0);}},a84f);
@@ -1 +1 @@
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
+ var a85i=a85d;function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x115;var f=c[d];return f;},a85d(a,b);}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x11a))/0x1+parseInt(f(0x122))/0x2*(parseInt(f(0x11e))/0x3)+parseInt(f(0x11c))/0x4+-parseInt(f(0x125))/0x5+-parseInt(f(0x128))/0x6+parseInt(f(0x115))/0x7*(-parseInt(f(0x129))/0x8)+parseInt(f(0x119))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x8953e));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x124)]()['search'](h(0x116))[h(0x124)]()[h(0x123)](a85a)[h(0x120)]('(((.+)+)+)+$');});function a85c(){var k=['maka\x20set:local-config\x20<opts>','317610QjRIfK','create','search','notice','2JHecbf','constructor','toString','1657520TGEFjj','Set\x20local\x20maka\x20app\x20settings','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','5611872kifUwn','2146088heAnJz','28SEAcvj','(((.+)+)+)+$','apply','Sorry,\x20not\x20implemented\x20yet','23476086LEUSSX','103401YUCZlT','local-config','338516BUPJly'];a85c=function(){return k;};return a85c();}a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x11f)]({'name':a85i(0x11b),'usage':a85i(0x11d),'examples':['maka\x20set:lc\x20<opts>',a85i(0x11d)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x126),'validOpts':[],'description':a85i(0x127)},async function(){var j=a85i;Log[j(0x121)](j(0x118));},a85e);
@@ -1 +1 @@
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
+ const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x158))/0x1+-parseInt(f(0x160))/0x2*(parseInt(f(0x15e))/0x3)+-parseInt(f(0x169))/0x4*(parseInt(f(0x15b))/0x5)+-parseInt(f(0x159))/0x6+parseInt(f(0x166))/0x7+parseInt(f(0x163))/0x8+parseInt(f(0x168))/0x9*(parseInt(f(0x162))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x4666d));function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x158;let f=c[d];return f;},a86d(a,b);}function a86c(){const k=['help','1910xvxPMP','3033800atoIWg','apply','toString','752864KaGCUe','search','59040ctDkYR','4ieFzGL','498376dYgNlb','488364gdVWqV','constructor','2082005wPafSL','create','maka\x20set:<sub-command>\x20<opts>','3ARjtpm','runSubCommand','910402kAnqmX'];a86c=function(){return k;};return a86c();}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x165)]()[h(0x167)]('(((.+)+)+)+$')['toString']()[h(0x15a)](a86a)[h(0x167)]('(((.+)+)+)+$');});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0x15c)]({'name':'set','usage':a86i(0x15d),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0x161)])throw new UsageError();const d=this['findSubCommand'](c);d&&this[j(0x15f)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
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
+ const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x1f8))/0x1+-parseInt(j(0x1f5))/0x2+parseInt(j(0x209))/0x3*(parseInt(j(0x1fe))/0x4)+-parseInt(j(0x1f0))/0x5*(parseInt(j(0x1f4))/0x6)+-parseInt(j(0x1fb))/0x7*(parseInt(j(0x1ec))/0x8)+parseInt(j(0x1fc))/0x9*(parseInt(j(0x1fa))/0xa)+parseInt(j(0x1f2))/0xb*(parseInt(j(0x202))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x4697e));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x204)]()['search'](l(0x1f6))[l(0x204)]()[l(0x1ef)](a87a)['search'](l(0x1f6));});function a87c(){const o=['10970EsfBIN','77iKuPcS','3582GJDoAF','length','16ffoUYs','maka\x20ssh\x20--env\x20prod','getConfigPath','ssh','220992yVHvPE','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','toString','exit','parse','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','105762HmcVDo','create','env','232048LdMJeY','sshSync','join','constructor','16125PbucEO','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','451zuZTmD','assign','18gjdqNr','298994CkkHVX','(((.+)+)+)+$','fsi','565290RIyWJi','maka\x20ssh\x20<command>'];a87c=function(){return o;};return a87c();}a87a();import a87e from'fs';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a87d(a,b);}import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0x1ea)]({'name':a87m(0x201),'usage':a87m(0x1f9),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0x1eb)],'validOpts':[a87m(0x1eb),'v'],'shortDesc':a87m(0x203),'examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging',a87m(0x1ff),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a87m(0x208),a87m(0x1f1)]},async function(a,b){const n=a87m;try{const c=this[n(0x1f7)][n(0x200)](b[n(0x1eb)]);let d='';a[n(0x1fd)]>0x0&&(d=a[0x0]);const f=a87f[n(0x1ee)](c,'ssh.json'),g=a87e['readFileSync'](f)[n(0x204)](),h=JSON[n(0x206)](g);Object[n(0x1f3)](h,{'env':c}),SSH[n(0x1ed)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process[n(0x205)](0x0);}});
@@ -1 +1 @@
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
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x204))/0x1+parseInt(v(0x217))/0x2*(parseInt(v(0x209))/0x3)+-parseInt(v(0x1e0))/0x4*(parseInt(v(0x1ef))/0x5)+parseInt(v(0x1df))/0x6*(-parseInt(v(0x1eb))/0x7)+parseInt(v(0x203))/0x8*(parseInt(v(0x21b))/0x9)+parseInt(v(0x1ee))/0xa*(-parseInt(v(0x1fa))/0xb)+parseInt(v(0x1f7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xe765a));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x20f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a['toString']()[x(0x1dc)](x(0x1e8))['toString']()[x(0x1fc)](a88a)[x(0x1dc)](x(0x1e8));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';function a88c(){const A=['sudo\x20snap\x20install\x20--classic\x20certbot','generate-ssc','.crt','readFileSync','Using\x20saved\x20letsencrypt\x20config','47354sERLSy','create','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','generate-csr','45UsqmGu','domainNames','notice','getConfigPath','fsi','search','Email\x20to\x20use\x20for\x20auto-updates:\x20','Checking\x20remote\x20host\x20availability','2032422khYEqF','723872EMbduo','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','withSpinner','exit','uname\x20-a','genSSC','/ssh.json','env','(((.+)+)+)+$','mkKeysDir','getProjectConfig','28rCJBTM','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','email','10kXyJap','35LlRtni','letsencrypt','New\x20CSR\x20written\x20to\x20','.csr','ask','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20[command]','Remote\x20host\x20connection\x20successful','49094508wNcjAB','Create\x20and\x20manage\x20your\x20SSL\x20operations.','ssh','13451317TJuDWj','appName','constructor','join','letsencrypt.json','error','Please\x20provide\x20a\x20command.','genCSR','emailUpdate','2816584hYrGRF','1153909IWasrN','ssl','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','existsSync','\x20--email\x20','12PGKznT','toString','domains','success','writeFileSync','parse','apply','maka\x20ssl\x20--env\x20dev\x20generate-csr','.key'];a88c=function(){return A;};return a88c();}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a88d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a88y(0x218)]({'name':a88y(0x205),'usage':a88y(0x1f5),'validOpts':[a88y(0x20b),a88y(0x1ed)],'requiredOpts':[a88y(0x1e7)],'shortDesc':a88y(0x1f8),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x210),a88y(0x219),a88y(0x1e1)]},async function(a,b){const z=a88y,c=this[z(0x21f)][z(0x1ea)](),d=this[z(0x21f)][z(0x21e)](b[z(0x1e7)]),f=this[z(0x21f)][z(0x1e9)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x21a))SSL[z(0x201)]({'keyName':c[z(0x1fb)]+z(0x211),'csrName':c[z(0x1fb)]+z(0x1f2),'cwd':f});else{if(g===z(0x213)){if(!a88e[z(0x207)](a88f[z(0x1fd)](f,c[z(0x1fb)]+z(0x211))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f[z(0x1fd)](f,c[z(0x1fb)]+z(0x211));if(!a88e[z(0x207)](a88f['join'](f,c[z(0x1fb)]+z(0x1f2))))throw z(0x206)+a88f[z(0x1fd)](f,c[z(0x1fb)]+z(0x1f2));SSL[z(0x1e5)]({'keyName':c[z(0x1fb)]+z(0x211),'crtName':c[z(0x1fb)]+z(0x214),'cwd':f}),Log['notice'](z(0x1f1)+f);}else{if(g===z(0x1f0)){let h=b[z(0x20b)],i=b[z(0x1ed)];try{const p=a88e[z(0x215)](a88f['join'](d,'letsencrypt.json'))[z(0x20a)](),q=JSON[z(0x20e)](p);h=b['domains']?b[z(0x20b)]:q[z(0x21c)],i=b[z(0x1ed)]?b[z(0x1ed)]:q[z(0x202)],(!b[z(0x1ed)]||!b['domains'])&&Log[z(0x21d)](z(0x216));}catch(r){}const j=JSON[z(0x20e)](a88e[z(0x215)](d+z(0x1e6))[z(0x20a)]());Object['assign'](j,{'env':d}),Log[z(0x21d)](z(0x1de));try{const s=SSH['ping'](z(0x1e4),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x20c)](z(0x1f6));}catch(t){Log[z(0x1ff)](t);return;}const k=Log[z(0x1e2)]();k['start']('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x1f9)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH['ssh'](z(0x212),{...j}),SSH['ssh'](z(0x1f4),{...j}),k['success']();const l=h?h:await Actions['ask']('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0x1f3)](z(0x1dd));SSH[z(0x1f9)](z(0x1ec)+l+z(0x208)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a88e[z(0x20d)](a88f[z(0x1fd)](d,z(0x1fe)),o);}else throw z(0x200);}}}catch(u){console[z(0x1ff)](u),process[z(0x1e3)](0x0);}});
@@ -1 +1 @@
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
+ const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x1ff))/0x1+-parseInt(m(0x1d5))/0x2+-parseInt(m(0x1e5))/0x3*(parseInt(m(0x1eb))/0x4)+-parseInt(m(0x208))/0x5*(parseInt(m(0x1f1))/0x6)+-parseInt(m(0x205))/0x7*(parseInt(m(0x202))/0x8)+parseInt(m(0x1e6))/0x9*(-parseInt(m(0x1cf))/0xa)+parseInt(m(0x1d9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xdb8b4));function a89c(){const t=['readFileSync','argv','meteortesting:mocha','development','2416898SkcfZA','maka\x20test\x20<opts>','jasmine','getConfigPath','40858565aXHKdb','slice','apply','mocha','findProjectDirectory','warn','rawLogs','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','utf8','constructor','splice','concat','1259373JHqmno','14967cGyILy','isFile','test','Cannot\x20find\x20Node\x20Environment\x20File:\x20','--driver-package','8hxZyDQ','driver-package','none','settings.json','notice','--packages','3114pesqDR','process.env','once','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','packages','--full-app','parse','fsi','Meteor\x20Settings:\x20','toString','filter','env','error','config.json','1207029JYDGNY','port','engines','8DDccGw','unit','forEach','7659001rJnpfP','Node\x20Env\x20Config:\x20','driverPackage','3175Mviigb','config','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','invokeMeteorCommand','driver','join','3310NJpiST','--env'];a89c=function(){return t;};return a89c();}const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0x1fa)]()['search']('(((.+)+)+)+$')[o(0x1fa)]()[o(0x1e2)](a89a)['search']('(((.+)+)+)+$');});a89a();import a89e from'fs';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a89d(a,b);}import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a89d;a89e['openSync'](a,'r'),a89g[p(0x209)]({'path':a});};Command['create']({'name':a89q(0x1e8),'mustBeInMakaProject':!![],'validOpts':[a89q(0x1f3),a89q(0x1f5),a89q(0x20c),a89q(0x207),a89q(0x203),a89q(0x1fc),a89q(0x1df),a89q(0x200),'inspect','testAppPath'],'usage':a89q(0x1d6),'shortDesc':a89q(0x1e0),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0x1f8)]['getConfigPath'](r(0x1d4));b[r(0x1fc)]&&(c=this[r(0x1f8)][r(0x1d8)](b[r(0x1fc)]));(!b['unit']||!!b['once'])&&(a=a[r(0x1e4)]([r(0x1f6)]));b[r(0x203)]&&delete b[r(0x203)];let d=b[r(0x1ec)]||b['driver']||'none';if(d===r(0x1ed)){const j=JSON[r(0x1f7)](a89e[r(0x1d1)](a89f[r(0x1ce)](this[r(0x1f8)][r(0x1dd)](),'.maka',r(0x1fe)),r(0x1e1)));if(j[r(0x201)]['test']===r(0x1d7))d='sanjo:jasmine';else j['engines'][r(0x1e8)]===r(0x1dc)&&(d=r(0x1d3));}if(d===r(0x1ed))throw r(0x20a);(!b[r(0x1ec)]||!b[r(0x20c)])&&(a=a[r(0x1e4)]([r(0x1ea),d]));const f=a89f['join'](c,r(0x1ee));this['fsi'][r(0x1e7)](f)?(Log[r(0x1ef)](r(0x1f9)+f),a=a['concat'](['--settings',f])):Log[r(0x1de)](r(0x1f4)+f);const g=a89f[r(0x1ce)](c,r(0x1f2));this[r(0x1f8)][r(0x1e7)](g)?(Log['notice'](r(0x206)+g),syncSource(g)):Log[r(0x1de)](r(0x1e9)+g);const h=process[r(0x1d2)][r(0x1da)](0x2)['filter'](k=>k!==r(0x1d0))[r(0x1fb)](k=>k!==r(0x1e8))[r(0x1fb)](k=>k!==a[0x0]);h[r(0x204)]((k,l)=>{const s=r;(k===s(0x1d0)||k==='--driver')&&h[s(0x1e3)](l,0x2),k===s(0x1f0)&&h[s(0x1e3)](l,0x1);});const i=b[r(0x1f5)]?'test-packages':'test';this['fsi'][r(0x20b)](i,a[r(0x1e4)](h));}catch(k){console[r(0x1fd)](k),process['exit'](0x0);}});
@@ -1 +1 @@
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
+ const a90m=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x131))/0x1*(parseInt(k(0x13e))/0x2)+parseInt(k(0x13c))/0x3*(-parseInt(k(0x144))/0x4)+-parseInt(k(0x137))/0x5+parseInt(k(0x12f))/0x6+parseInt(k(0x13b))/0x7*(parseInt(k(0x150))/0x8)+-parseInt(k(0x130))/0x9*(-parseInt(k(0x13f))/0xa)+-parseInt(k(0x135))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x207d2));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(0x152)]()['search'](l(0x14b))[l(0x152)]()['constructor'](a90a)[l(0x132)]('(((.+)+)+)+$');});function a90c(){const o=['error','1030056oFsvoW','9omwkUD','8EGtJIs','search','meteor.bat','Project\x27s\x20Meteor\x20Version\x20','2516844HxMXFH','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','990225ioBjnj','replace','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','21XrypjZ','21fLrqYk','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','52916LtVbyM','1878710RWAjXa','create','\x20node\x20-v','notice',')\x20to\x20at\x20least\x20meteor\x27s\x20(','32444nxVVmP','compareMakaToLatest','fsi','isMakaProject','platform','getGlobalMeteorVersion','\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','(((.+)+)+)+$','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','bright','verbose','\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','121304VGKElj','win32','toString','System\x27s\x20Meteor\x20Version\x20','majestic','meteor','exit','----------------------System----------------------------','warn','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','4.5.36','getProjectsMeteorNodeVersion','node\x20-v','version','Maka\x20'];a90c=function(){return o;};return a90c();}a90a();import{execSync}from'child_process';import a90e from'semver';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x12f;let f=c[d];return f;},a90d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90m(0x15a)};Command[a90m(0x140)]({'name':a90m(0x15d),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a90m(0x14e)],'shortDesc':a90m(0x136),'examples':['maka\x20v','maka\x20version','maka\x20version\x20--verbose'],'description':a90m(0x14f)},async function(a,b){const n=a90m;try{const c=process[n(0x148)]===n(0x151)?n(0x133):n(0x155);Log[n(0x154)](n(0x15e)+pjson[n(0x15d)]),await this[n(0x146)][n(0x145)]();if(b[n(0x14e)]){await this[n(0x146)][n(0x145)](),Log[n(0x14d)](n(0x157));const d=this[n(0x146)][n(0x149)]();Log[n(0x14d)]((n(0x153)+d)[n(0x138)]('\x0a',''));const f=execSync(c+n(0x141))[n(0x152)]()[n(0x138)](/\r?\n|\r/,'')['replace']('v','');Log[n(0x14d)](n(0x14c)+f);const g=execSync(n(0x15c))[n(0x152)]()[n(0x138)](/\r?\n|\r/,'')['replace']('v','');a90e['gt'](f,g)?(Log[n(0x158)](n(0x139)+g),Log[n(0x158)](n(0x159)+g+n(0x143)+f+')')):Log['bright'](n(0x139)+g);if(this[n(0x146)][n(0x147)]()){Log[n(0x14d)]('----------------------Project----------------------------');const h=this[n(0x146)]['getProjectMeteorVersion']();a90e['gt'](d,h)?(Log[n(0x158)]('Project\x27s\x20Meteor\x20Version\x20'+h[n(0x138)]('\x0a','')),Log[n(0x158)](n(0x13d)+d+'\x22')):Log[n(0x142)]((n(0x134)+h)['replace']('\x0a',''));const i=await this[n(0x146)][n(0x15b)]();i==='N/A'?(Log[n(0x158)](n(0x13a)+i),Log[n(0x158)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[n(0x14d)](n(0x13a)+i),Log[n(0x14d)](n(0x14a));}}}catch(j){console[n(0x15f)](j),process[n(0x156)](0x0);}});
@@ -1 +1 @@
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
+ function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x15e;var f=c[d];return f;},a91d(a,b);}(function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x163))/0x1+parseInt(f(0x15f))/0x2*(-parseInt(f(0x165))/0x3)+parseInt(f(0x169))/0x4*(parseInt(f(0x16a))/0x5)+parseInt(f(0x162))/0x6+parseInt(f(0x160))/0x7*(parseInt(f(0x167))/0x8)+parseInt(f(0x168))/0x9+parseInt(f(0x166))/0xa*(-parseInt(f(0x164))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x9a6e8));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var g=a91d;return a91a[g(0x161)]()[g(0x16b)](g(0x15e))[g(0x161)]()['constructor'](a91a)[g(0x16b)](g(0x15e));});a91a();export class UsageError{}export class UsageErrorWithSubs{}function a91c(){var h=['toString','6135522hyXGjV','1100586jeBLsp','319SoFAez','402EWPvSn','717230uSbcNc','992cDTAST','5864391wMbVzO','4HhuPRa','22255qajyZw','search','(((.+)+)+)+$','9596EKSsFA','32529nUBoDU'];a91c=function(){return h;};return a91c();}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
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';
2
+ var a92h=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x18a))/0x1+-parseInt(f(0x193))/0x2*(parseInt(f(0x188))/0x3)+-parseInt(f(0x191))/0x4*(-parseInt(f(0x18f))/0x5)+-parseInt(f(0x18c))/0x6+parseInt(f(0x190))/0x7+-parseInt(f(0x18d))/0x8+parseInt(f(0x195))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x7e1ea));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var g=a92d;return a92a['toString']()[g(0x18b)]('(((.+)+)+)+$')[g(0x18e)]()[g(0x189)](a92a)[g(0x18b)]('(((.+)+)+)+$');});function a92c(){var i=['constructor','418814kHiofA','search','3063600HnTBLN','5545624BSjhPe','toString','1237835eDmare','52003FfgeKo','16XjEdkh','env','2YqwMxS','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','11732688dJjNWA','486378AISRZO'];a92c=function(){return i;};return a92c();}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x188;var f=c[d];return f;},a92d(a,b);}a92a(),process[a92h(0x192)]['NODE_OPTIONS']=a92h(0x194);import'./maka.js';
@@ -1 +1 @@
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
+ const a93t=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0x1ea))/0x1*(parseInt(q(0x216))/0x2)+-parseInt(q(0x1e9))/0x3+-parseInt(q(0x212))/0x4+-parseInt(q(0x21a))/0x5+-parseInt(q(0x1f5))/0x6*(-parseInt(q(0x1dc))/0x7)+-parseInt(q(0x1ff))/0x8+-parseInt(q(0x1f9))/0x9*(-parseInt(q(0x1d7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x50e27));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const r=a93d;return a93a[r(0x1e8)]()['search'](r(0x202))[r(0x1e8)]()[r(0x1ef)](a93a)[r(0x20f)]('(((.+)+)+)+$');});function a93c(){const F=['Both','findProjectDirectory','join','length','6ygVhkI','match','getPro','replace','62028luypGf','chdir','No\x20resource\x20name\x20specified','Generator\x20requires\x20a\x20handler\x20function','find','options','2869112QSstcd','noResource','aliases','(((.+)+)+)+$','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','usage','Too\x20few\x20options','To\x20use\x20these\x20pro\x20flags,\x20\x22','Alias','appPathPrefix','minArgLength','forEach','mustBeInMakaProject','parent','Generators:','where','search','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','slice','697872KYgJQK','pop','listGenerators','split','68zWyZCX','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','_generators','To\x20use\x20this\x20generator,\x20\x22','3113070iJBUkM','keys','Please\x20run\x20\x22maka\x20install\x20meteor\x22','server','validateMakaProject','root','Server','tableList','filter','push','includes','shortDesc','proFlags','number','validateParams','create','fsi','sep','invoke','name','dir','help','resourceName','Generator\x20requires\x20a\x20name','minOptsLength','client','bind','roles','validateMeteorInstall','validateMakaSubscription','2870ZtngFp','mustHaveMeteorInstalled','bright','function','addGenerator','3820313YfMIVT','exit','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','cwd','There\x20is\x20no\x20Meteor\x20application\x20here','error','Name','notice','maxArgLength','Client','both','Description','toString','1869489ZpMgKz','12164VqVjIe','findGenerator','assign','proGenerators','sort','constructor','_handler'];a93c=function(){return F;};return a93c();}a93a();import a93e from'path';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a93d(a,b);}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 s=a93d,c=process[s(0x1df)]();let d=null;try{process['chdir'](a),d=b();}finally{process[s(0x1fa)](c);}return d;}export class Generator extends Tool{['options'];[a93t(0x218)];constructor(a,b){const u=a93t;super();if(!a)throw new Error(u(0x210));if(!a[u(0x1cc)])throw new Error(u(0x1d0));if(typeof b!==u(0x1da))throw new Error(u(0x1fc));this['_generators']=[],this[u(0x1fe)]=Object['assign']({},a),this[u(0x1cc)]=this[u(0x1fe)][u(0x1cc)],this['_handler']=b[u(0x1d3)](this);}static[a93t(0x1c8)](a,b,c){const v=a93t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0x1da))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a93g,Object[v(0x1ec)](d,{'parent':c?.[v(0x1fe)]?.['name']}),c[v(0x1db)](d),d;}['addGenerator'](a){const w=a93t;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[w(0x218)][w(0x223)](a);}[a93t(0x1eb)](a){const x=a93t,b=this[x(0x218)][x(0x1fd)](c=>c[x(0x1f6)](a));return b;}async[a93t(0x1d6)](a,b){const y=a93t,c=this[y(0x1eb)](a[0x0]);if(c){const d=c?.[y(0x1cc)]||a[0x0],e=c?.[y(0x20c)]||'',f=Object[y(0x21b)](b),g=await this[y(0x1c9)][y(0x1f7)]();!g&&(Log[y(0x1e1)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[y(0x1dd)](0x1));const h=!g?.[y(0x1d4)][y(0x224)]('singleLicense')&&!g?.[y(0x1d4)][y(0x224)]('domainLicense'),i=g?.[y(0x1ed)][y(0x224)](d)||g?.[y(0x1ed)]['includes'](e);if(i&&h)throw y(0x219)+d+y(0x1de);if(f[y(0x1f4)]>0x0){const j=g?.[y(0x226)][y(0x222)](k=>f[y(0x224)](k));if(j&&j['length']>0x0&&h)throw y(0x206)+j?.[y(0x1f3)](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a93t(0x1cb)](a,b){const z=a93t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[z(0x1fe)];try{await this[z(0x1d6)](a,b);}catch(g){Log[z(0x1e1)](g),process[z(0x1dd)](0x1);}const f=a[z(0x211)]();b[z(0x1cf)]=f[0x0];try{if((a[0x0]===_prevGen||a[z(0x1f4)]===0x0)&&b[z(0x1ce)])throw new UsageError();if(this[z(0x1fe)][z(0x20b)]){const h=this[z(0x21e)]();if(!h)throw new MustBeInProjectError();}if(this['options'][z(0x1d8)]){const i=this[z(0x1d5)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[z(0x1fe)]['minArgLength']===z(0x1c6)){if(a[z(0x1f4)]<this['options'][z(0x209)]){Log[z(0x1e1)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[z(0x1fe)][z(0x1e4)]===z(0x1c6)){if(a[z(0x1f4)]>this['options']['maxArgLength']){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[z(0x1fe)]['minOptsLength']===z(0x1c6)){if(Object[z(0x21b)](b)['length']<this[z(0x1fe)][z(0x1d1)]){Log[z(0x1e1)](z(0x205));throw new UsageError();}}if(typeof this[z(0x1fe)]['maxOptsLength']===z(0x1c6)){if(Object[z(0x21b)](b)[z(0x1f4)]>=this[z(0x1fe)]['maxOptsLength']){Log[z(0x1e1)]('Too\x20many\x20options');throw new UsageError();}}await this[z(0x1c7)](a,b,this[z(0x1fe)]);if(!b[z(0x1cf)]&&!this[z(0x1fe)][z(0x200)]){Log[z(0x1e1)](z(0x1fb));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[z(0x204)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0x218)][z(0x1f4)]>0x0&&b[z(0x1ce)]&&(Log[z(0x1e3)](z(0x20d)),this[z(0x221)](this[z(0x218)]));else{if(j instanceof MustBeInProjectError)Log[z(0x1e1)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log[z(0x1e1)](z(0x203)),Log['notice'](z(0x21c));else{if(j instanceof NoMeteorAppFoundError)Log['error'](z(0x1e0));else throw j;}}}process[z(0x1dd)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0x1df)],async()=>{const B=A;try{if(!b[B(0x21f)]&&!this['fsi'][B(0x1f2)]())throw new MustBeInProjectError();const l=b[B(0x1cf)]?.[B(0x1f8)](/\\/g,'/')[B(0x215)]('/');!b[B(0x1cd)]&&(l?.[B(0x1f4)]>0x1?(b[B(0x1cf)]=l[B(0x213)](),f[0x0]=b[B(0x1cf)],b['dir']=l['map'](m=>{return paramCase(m);})[B(0x1f3)](a93e[B(0x1ca)])):b[B(0x1cd)]='');if(this[B(0x1fe)]['checkWhere']){if(!b[B(0x20e)]){const n={'type':'list','name':'colLocAnswer','message':'Location','choices':[{'name':B(0x1e5),'value':'client'},{'name':B(0x220),'value':B(0x21d)},{'name':B(0x1f1),'value':'both'}]},{colLocAnswer:o}=await Actions[B(0x1fe)](n);o?b['where']=o:b[B(0x20e)]=B(0x1e6);}const m=['both','client','server'];if(!m[B(0x224)](b[B(0x20e)])){Log[B(0x1e1)](B(0x217));throw new UsageError();}switch(b[B(0x20e)]){case B(0x1e6):b['appPathPrefix']='lib';break;case B(0x21d):b['appPathPrefix']=B(0x21d);break;case B(0x1d2):b['appPathPrefix']='client';break;default:b[B(0x208)]='';}}k(this[B(0x1f0)]['call'](this,f,b));}catch(p){console[B(0x1e1)](p);}});});}[a93t(0x214)](){const C=a93t;this[C(0x221)](this[C(0x218)]);}[a93t(0x221)](a){const D=a93t,b=new a93f({});b['push']([D(0x1e2),D(0x207),D(0x1e7)]),a[D(0x1ee)]()[D(0x20a)](c=>{const E=D;b[E(0x223)]([c['name'],c[E(0x201)](),c[E(0x225)]()]);}),Log[D(0x1d9)](b['toString']());}}
@@ -1 +1 @@
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';
1
+ function a94c(){var i=['276LtzZBz','apply','toString','(((.+)+)+)+$','1255849feLvUx','367426ZRCFpD','1qoaiFW','662370diXNSx','17925ibWbMi','1605dIzDzM','1045064BlNLZQ','1324MuaZrF','search','149832fSVBSx'];a94c=function(){return i;};return a94c();}(function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x1da))/0x1*(parseInt(f(0x1d9))/0x2)+-parseInt(f(0x1dd))/0x3*(parseInt(f(0x1df))/0x4)+parseInt(f(0x1dc))/0x5*(-parseInt(f(0x1e2))/0x6)+parseInt(f(0x1d8))/0x7+parseInt(f(0x1de))/0x8+parseInt(f(0x1e1))/0x9+-parseInt(f(0x1db))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x18f19));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x1d6)]()[h(0x1e0)](h(0x1d7))[h(0x1d6)]()['constructor'](a94a)[h(0x1e0)](h(0x1d7));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a94d(a,b);}import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';