@maka/maka-cli 4.5.38 → 4.5.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/tool.js +1 -1
  117. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/https/https.class.js +1 -1
  125. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  126. package/bundle/obf/src/tools/log/log.class.js +1 -1
  127. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/options/options.class.js +1 -0
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  130. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  132. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  134. package/package.json +1 -1
@@ -1 +1 @@
1
- const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=-parseInt(g(0x182))/0x1*(parseInt(g(0x183))/0x2)+-parseInt(g(0x185))/0x3*(parseInt(g(0x16d))/0x4)+-parseInt(g(0x175))/0x5+-parseInt(g(0x177))/0x6*(parseInt(g(0x171))/0x7)+parseInt(g(0x17a))/0x8+-parseInt(g(0x16e))/0x9*(-parseInt(g(0x174))/0xa)+-parseInt(g(0x180))/0xb*(-parseInt(g(0x16c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xa6176));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x17f)]()['search'](i(0x178))[i(0x17f)]()[i(0x176)](a76a)[i(0x179)](i(0x178));});a76a();function a76c(){const l=['4391410CLkfqa','2698520jMsanQ','constructor','6jVCCCO','(((.+)+)+)+$','search','3889880wOouCp','exit','maka\x20--help','maka\x20<command>\x20[<args>]\x20[<opts>]','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','toString','15763vjSatp','maka','1TIBxpW','1804714pYtxan','apply','1131LohdZo','maka\x20run','maybeProxyCommandToMeteor','20076hoOauZ','7652ZGRstC','9NPSYbe','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','error','3354491Fcchnb','slice','maka\x20create\x20Todo'];a76c=function(){return l;};return a76c();}import{Command}from'../command.js';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x16a;let f=c[d];return f;},a76d(a,b);}const Maka=new Command({'name':a76j(0x181),'minArgLength':0x1,'shortDesc':a76j(0x16f),'validOpts':[],'usage':a76j(0x17d),'disableAuthCheck':!![],'examples':[a76j(0x17c),'maka\x20install\x20meteor',a76j(0x173),a76j(0x16a)],'description':a76j(0x17e)},async function(a,b){const k=a76j;try{const c=a[0x0],d=this['findSubCommand'](c);d?this['runSubCommand'](c,a[k(0x172)](0x1),b):this['fsi'][k(0x16b)]();}catch(f){console[k(0x170)](f),process[k(0x17b)](0x1);}});export default Maka;
1
+ const a76i=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=-parseInt(g(0xa9))/0x1+-parseInt(g(0xb5))/0x2*(parseInt(g(0xaa))/0x3)+parseInt(g(0xb8))/0x4*(parseInt(g(0xa6))/0x5)+-parseInt(g(0xaf))/0x6+parseInt(g(0xb6))/0x7*(-parseInt(g(0xac))/0x8)+-parseInt(g(0xa7))/0x9*(-parseInt(g(0xad))/0xa)+parseInt(g(0xb7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xbae82));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const h=a76d;return a76a['toString']()[h(0xb2)](h(0xb3))['toString']()[h(0xb0)](a76a)[h(0xb2)](h(0xb3));});a76a();function a76c(){const k=['20045CneXAN','4491zXuMpn','maka\x20<command>\x20[<args>]\x20[<opts>]','918265UVzFvR','141078pOYbxN','slice','328rAIdom','5570pjWuZo','maka\x20run','6870858RhNmkO','constructor','runSubCommand','search','(((.+)+)+)+$','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','4hRnAuk','92687fahhsw','19809394bWqRPD','1384azSfWB','fsi','maybeProxyCommandToMeteor','exit'];a76c=function(){return k;};return a76c();}import{Command}from'../command.js';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xa3;let f=c[d];return f;},a76d(a,b);}const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a76i(0xb4),'validOpts':[],'usage':a76i(0xa8),'disableAuthCheck':!![],'examples':['maka\x20--help','maka\x20install\x20meteor','maka\x20create\x20Todo',a76i(0xae)],'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 j=a76i;try{const c=a[0x0],d=this['findSubCommand'](c);d?this[j(0xb1)](c,a[j(0xab)](0x1),b):this[j(0xa3)][j(0xa4)]();}catch(f){console['error'](f),process[j(0xa5)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x130))/0x1*(parseInt(f(0x139))/0x2)+-parseInt(f(0x13a))/0x3*(-parseInt(f(0x131))/0x4)+-parseInt(f(0x144))/0x5+parseInt(f(0x142))/0x6*(-parseInt(f(0x138))/0x7)+parseInt(f(0x13c))/0x8*(parseInt(f(0x132))/0x9)+parseInt(f(0x141))/0xa*(-parseInt(f(0x13d))/0xb)+-parseInt(f(0x133))/0xc*(parseInt(f(0x134))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x3162c));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0x140)]()[h(0x13e)](h(0x136))[h(0x140)]()[h(0x13f)](a77a)['search'](h(0x136));});function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x12c;var f=c[d];return f;},a77d(a,b);}a77a();function a77c(){var k=['150auRvIO','apply','238505VjNJEY','error','log','maka\x20murder','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','278379PIeEpG','1380316eCrDHs','4689JvIOfE','24uoTlnm','2258893sCzgGg','create','(((.+)+)+)+$','Murrrrderrrrr','11711motrUq','2LbojxC','3DueFHt','murder','808sbcixk','99mwpRjo','search','constructor','toString','40830mkWlAJ'];a77c=function(){return k;};return a77c();}import{Command}from'../command.js';Command[a77i(0x135)]({'name':a77i(0x13b),'usage':a77i(0x12e),'maxArgLength':0x1,'shortDesc':a77i(0x137),'validOpts':[]},async function(){var j=a77i;try{console[j(0x12d)](j(0x12f),'font-family:\x20monospace');}catch(a){console[j(0x12c)](a),process['exit'](0x0);}});
1
+ function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x17e;var f=c[d];return f;},a77d(a,b);}var a77i=a77d;function a77c(){var k=['font-family:\x20monospace','Murrrrderrrrr','murder','8206CCVppA','29907gDuysl','(((.+)+)+)+$','348298gcssEZ','search','49226ZBMvWo','constructor','5DilZMa','4496Mjwmvv','apply','create','error','24gSrgwl','3843fqZBSk','1567846WobxgS','log','2410UQmvrr','3005010bWMcaQ','toString','%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','maka\x20murder'];a77c=function(){return k;};return a77c();}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x184))/0x1+parseInt(f(0x186))/0x2+parseInt(f(0x182))/0x3*(-parseInt(f(0x18d))/0x4)+-parseInt(f(0x188))/0x5*(parseInt(f(0x192))/0x6)+parseInt(f(0x18f))/0x7+-parseInt(f(0x189))/0x8*(-parseInt(f(0x18e))/0x9)+parseInt(f(0x191))/0xa*(parseInt(f(0x181))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x6f540));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0x193)]()[h(0x185)](h(0x183))[h(0x193)]()[h(0x187)](a77a)[h(0x185)]('(((.+)+)+)+$');});a77a();import{Command}from'../command.js';Command[a77i(0x18b)]({'name':a77i(0x180),'usage':a77i(0x195),'maxArgLength':0x1,'shortDesc':a77i(0x17f),'validOpts':[]},async function(){var j=a77i;try{console[j(0x190)](j(0x194),j(0x17e));}catch(a){console[j(0x18c)](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a78p=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x14a))/0x1+-parseInt(n(0x148))/0x2*(parseInt(n(0x156))/0x3)+parseInt(n(0x152))/0x4+parseInt(n(0x169))/0x5+-parseInt(n(0x15c))/0x6+-parseInt(n(0x165))/0x7*(-parseInt(n(0x14b))/0x8)+-parseInt(n(0x163))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x371c2));function a78c(){const r=['utf8','=>\x20SSL\x20Proxy\x20forwarding\x20','genSSC','fsi','help','39444tCtPHb','.key','bright','invoke','listenPort','search','isFile','8380917EiiRZi','localhost','1925EjlEUa','getProjectConfig','.crt','constructor','2237695rsGErQ','targetHost','createProxyServer','.csr','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','sslconfig','readFileSync','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','error','1066vhfMut','maka\x20proxy\x20--target-host\x20http://192.168.1.20','348245aAtkjS','5072gLDmmY','toString','proxy','appName','getConfigPath','(((.+)+)+)+$','join','1526128hkFnoG','targetPort','development','maka\x20proxy','1059mVzdae'];a78c=function(){return r;};return a78c();}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const o=a78d;return a78a[o(0x14c)]()[o(0x161)](o(0x150))[o(0x14c)]()[o(0x168)](a78a)[o(0x161)](o(0x150));});a78a();import a78e from'fs';import a78f from'path';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x142;let f=c[d];return f;},a78d(a,b);}import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command['create']({'name':a78p(0x14d),'usage':a78p(0x155),'mustBeInMakaProject':!![],'validOpts':[a78p(0x15b),a78p(0x153),a78p(0x160),a78p(0x16a)],'maxArgLength':0x1,'shortDesc':a78p(0x143),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':[a78p(0x155),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a78p(0x149)]},async function(a,b){const q=a78p,c=this[q(0x15a)][q(0x166)](),d=q(0x154),e=this[q(0x15a)][q(0x14f)](d),f=this['fsi']['mkKeysDir']({'configPath':e}),g=b[q(0x153)]?Number(b[q(0x153)]):0xbb8,h=b[q(0x160)]?Number(b[q(0x160)]):0xd73,i=b[q(0x16a)]?b[q(0x16a)]:q(0x164),j=a78f[q(0x151)](f,c['appName']+q(0x15d)),k=a78f['join'](f,c[q(0x14e)]+q(0x167));if(!this[q(0x15a)][q(0x162)](j)||!this[q(0x15a)][q(0x162)](k)){const m=a78h['findGenerator'](q(0x144));m&&await m[q(0x15f)]([q(0x144)],{'env':d}),SSL['genCSR']({'keyName':c[q(0x14e)]+q(0x15d),'csrName':c[q(0x14e)]+q(0x142),'cwd':f}),SSL[q(0x159)]({'keyName':c['appName']+q(0x15d),'crtName':c[q(0x14e)]+'.crt','cwd':f});}if(g===h){Log[q(0x147)](q(0x146));throw new UsageError();}const l={'ssl':{'key':a78e['readFileSync'](j,'utf8'),'cert':a78e[q(0x145)](k,q(0x157))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[q(0x16b)](l)['listen'](Number(h)),Log[q(0x15e)](q(0x158)+h+'\x20to\x20'+g);});
1
+ const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x1c5))/0x1*(parseInt(n(0x1b9))/0x2)+-parseInt(n(0x1c7))/0x3+-parseInt(n(0x1ac))/0x4*(-parseInt(n(0x1b3))/0x5)+parseInt(n(0x1b5))/0x6+-parseInt(n(0x1c1))/0x7+parseInt(n(0x1c8))/0x8+-parseInt(n(0x1c0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xcbf7e));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a['toString']()[p(0x1b8)](p(0x1ba))[p(0x1ad)]()['constructor'](a78a)[p(0x1b8)](p(0x1ba));});a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a78d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const s=['.crt','proxy','genCSR','=>\x20SSL\x20Proxy\x20forwarding\x20','join','4bHaqUy','toString','findGenerator','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','targetPort','maka\x20proxy\x20--target-host\x20http://192.168.1.20','139665dSZphv','create','6028104DbdQhc','apply','\x20to\x20','search','319482knJrjz','(((.+)+)+)+$','getProjectConfig','\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','fsi','utf8','sslconfig','2547387orlAEQ','7170289hXSLyj','help','readFileSync','localhost','8ZRYMXI','createProxyServer','2046756sQbfAt','4116248JIKZTh','genSSC','.key','appName','maka\x20proxy','mkKeysDir','isFile','targetHost','development','listenPort'];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(0x1b4)]({'name':a78q(0x1a8),'usage':a78q(0x1cc),'mustBeInMakaProject':!![],'validOpts':[a78q(0x1c2),a78q(0x1b1),a78q(0x1d1),a78q(0x1cf)],'maxArgLength':0x1,'shortDesc':a78q(0x1b0),'description':a78q(0x1bc),'examples':['maka\x20proxy',a78q(0x1af),a78q(0x1b2)]},async function(a,b){const r=a78q,c=this['fsi'][r(0x1bb)](),d=r(0x1d0),e=this[r(0x1bd)]['getConfigPath'](d),f=this[r(0x1bd)][r(0x1cd)]({'configPath':e}),g=b[r(0x1b1)]?Number(b[r(0x1b1)]):0xbb8,h=b[r(0x1d1)]?Number(b[r(0x1d1)]):0xd73,i=b[r(0x1cf)]?b[r(0x1cf)]:r(0x1c4),j=a78f[r(0x1ab)](f,c[r(0x1cb)]+r(0x1ca)),k=a78f['join'](f,c[r(0x1cb)]+r(0x1a7));if(!this['fsi'][r(0x1ce)](j)||!this[r(0x1bd)]['isFile'](k)){const m=a78h[r(0x1ae)](r(0x1bf));m&&await m['invoke']([r(0x1bf)],{'env':d}),SSL[r(0x1a9)]({'keyName':c['appName']+r(0x1ca),'csrName':c[r(0x1cb)]+'.csr','cwd':f}),SSL[r(0x1c9)]({'keyName':c['appName']+r(0x1ca),'crtName':c[r(0x1cb)]+r(0x1a7),'cwd':f});}if(g===h){Log['error']('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a78e[r(0x1c3)](j,r(0x1be)),'cert':a78e['readFileSync'](k,r(0x1be))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x1c6)](l)['listen'](Number(h)),Log['bright'](r(0x1aa)+h+r(0x1b7)+g);});
@@ -1 +1 @@
1
- function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x195;let f=c[d];return f;},a79d(a,b);}const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0x1b0))/0x1*(parseInt(n(0x19d))/0x2)+-parseInt(n(0x1b3))/0x3*(parseInt(n(0x1a0))/0x4)+-parseInt(n(0x1a8))/0x5+parseInt(n(0x1a9))/0x6+-parseInt(n(0x1b9))/0x7*(-parseInt(n(0x1b6))/0x8)+parseInt(n(0x19a))/0x9*(parseInt(n(0x198))/0xa)+-parseInt(n(0x1b7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x4143f));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()[p(0x195)](p(0x19e))[p(0x19c)]()['constructor'](a79a)['search'](p(0x19e));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79c(){const s=['uname\x20-a','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','Reconfigure\x20your\x20deployed\x20applications','571955UaHtzt','2116086MdVdNR','_keys','create','apply','assign','ssh','getConfigPath','29731LBsFah','ses.json','sshSync','297WhcNaE','success','pm2.config.js','391128vbgihR','6760259BvGGxf','Checking\x20remote\x20host\x20availability','63vHJjPf','search','readFileSync','reconfig','2691310mNmKyf','existsSync','9hnrkKf','~/settings.json','toString','6jDlVnN','(((.+)+)+)+$','maka\x20reconfig\x20--env\x20prod','6252zQmXZG','env','~/ses.json','error','join'];a79c=function(){return s;};return a79c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x1ab)]({'name':a79q(0x197),'validOpts':[''],'requiredOpts':[a79q(0x1a1)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a79q(0x1a7),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':[a79q(0x19f)]},async function(a,b){const r=a79q;try{const c=this['fsi'][r(0x1af)](b['env']),d=a79f[r(0x1a4)](c,'ssh.json'),f=a79e[r(0x196)](d)[r(0x19c)](),g=JSON['parse'](f);Object[r(0x1ad)](g,{'env':c}),Log['notice'](r(0x1b8));const h=SSH['ping'](r(0x1a5),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x1b4)]('Remote\x20host\x20connection\x20successful');const i=a79f[r(0x1a4)](c,r(0x1aa),r(0x1b1));if(a79e[r(0x199)](i)){const l={'source':i,'dest':r(0x1a2),'verbose':!![]};SSH['scp'](l,{...g});}const j=a79f[r(0x1a4)](c,r(0x1b5));SSH['scp']({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a79f[r(0x1a4)](c,'settings.json');SSH['scp']({'source':k,'dest':r(0x19b),'verbose':!![]},{...g}),SSH[r(0x1b2)]('pm2\x20delete\x20all',g),await SSH[r(0x1ae)](r(0x1a6),{...g},{'verbose':!![]});}catch(m){console[r(0x1a3)](m),process['exit'](0x0);}});
1
+ const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x6b))/0x1*(-parseInt(n(0x68))/0x2)+-parseInt(n(0x69))/0x3*(parseInt(n(0x6e))/0x4)+parseInt(n(0x75))/0x5*(parseInt(n(0x82))/0x6)+parseInt(n(0x73))/0x7*(-parseInt(n(0x6f))/0x8)+parseInt(n(0x85))/0x9*(parseInt(n(0x66))/0xa)+-parseInt(n(0x76))/0xb*(-parseInt(n(0x71))/0xc)+parseInt(n(0x7e))/0xd*(-parseInt(n(0x78))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x7a63d));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()[p(0x7b)]('(((.+)+)+)+$')[p(0x7d)]()['constructor'](a79a)[p(0x7b)]('(((.+)+)+)+$');});a79a();function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x66;let f=c[d];return f;},a79d(a,b);}function a79c(){const s=['3105HERhui','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','apply','getConfigPath','\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','ses.json','Reconfigure\x20your\x20deployed\x20applications','_keys','create','success','scp','18530arzErR','readFileSync','38WRbPkn','327PHdjNf','pm2\x20delete\x20all','17295oZWWac','notice','existsSync','11464lcWCMK','7491032QfPQiP','maka\x20reconfig\x20--env\x20prod','1703940UXrWeG','assign','7XIqcYb','join','5ZpRQty','44gfbxCo','error','2884VFfSbf','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','pm2.config.js','search','exit','toString','34723hqETHX','fsi','maka\x20reconfig','settings.json','4586628OdvGQj','env','Remote\x20host\x20connection\x20successful'];a79c=function(){return s;};return a79c();}import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x8d)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a79q(0x83)],'mustBeInMakaProject':!![],'usage':a79q(0x80),'shortDesc':a79q(0x8b),'description':a79q(0x89),'examples':[a79q(0x70)]},async function(a,b){const r=a79q;try{const c=this[r(0x7f)][r(0x88)](b[r(0x83)]),d=a79f[r(0x74)](c,'ssh.json'),f=a79e[r(0x67)](d)[r(0x7d)](),g=JSON['parse'](f);Object[r(0x72)](g,{'env':c}),Log[r(0x6c)]('Checking\x20remote\x20host\x20availability');const h=SSH['ping']('uname\x20-a',g);if(!h)throw r(0x79);if(h)Log[r(0x8e)](r(0x84));const i=a79f[r(0x74)](c,r(0x8c),r(0x8a));if(a79e[r(0x6d)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0x8f)](l,{...g});}const j=a79f[r(0x74)](c,r(0x7a));SSH[r(0x8f)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a79f[r(0x74)](c,r(0x81));SSH[r(0x8f)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync'](r(0x6a),g),await SSH['ssh'](r(0x86),{...g},{'verbose':!![]});}catch(m){console[r(0x77)](m),process[r(0x7c)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0x174))/0x1+parseInt(f(0x178))/0x2+parseInt(f(0x176))/0x3+-parseInt(f(0x179))/0x4+-parseInt(f(0x180))/0x5*(-parseInt(f(0x175))/0x6)+-parseInt(f(0x17c))/0x7*(-parseInt(f(0x17f))/0x8)+-parseInt(f(0x177))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x2d2a5));function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x174;var f=c[d];return f;},a80d(a,b);}function a80c(){var h=['search','toString','1086952hAUAOe','255nuRvYx','236520oMvhxH','12828SxaWKU','277026bJWAyu','2600235MChFvf','121358wMVxdW','642144uJkCxx','(((.+)+)+)+$','constructor','7iTwKNy'];a80c=function(){return h;};return a80c();}var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var g=a80d;return a80a[g(0x17e)]()['search'](g(0x17a))[g(0x17e)]()[g(0x17b)](a80a)[g(0x17d)](g(0x17a));});a80a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x12b;var f=c[d];return f;},a80d(a,b);}(function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x12c))/0x1+-parseInt(f(0x132))/0x2*(parseInt(f(0x138))/0x3)+-parseInt(f(0x12e))/0x4*(parseInt(f(0x134))/0x5)+parseInt(f(0x133))/0x6*(-parseInt(f(0x12d))/0x7)+parseInt(f(0x136))/0x8*(parseInt(f(0x131))/0x9)+-parseInt(f(0x139))/0xa+parseInt(f(0x135))/0xb*(parseInt(f(0x130))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x295c5));function a80c(){var i=['2764017ssDppj','335130ScbvmH','209112NXZqlY','5uglIwf','11RMRAKy','8BbvwSo','search','6xHSWYb','1932020DmQUxg','apply','constructor','37594lHGNBU','14bHSBxB','533804NDVzJX','toString','7576572unttMN'];a80c=function(){return i;};return a80c();}var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0x12f)]()[h(0x137)]('(((.+)+)+)+$')[h(0x12f)]()[h(0x12b)](a80a)[h(0x137)]('(((.+)+)+)+$');});a80a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=parseInt(i(0x15b))/0x1*(-parseInt(i(0x176))/0x2)+-parseInt(i(0x16f))/0x3+-parseInt(i(0x17e))/0x4*(-parseInt(i(0x174))/0x5)+-parseInt(i(0x166))/0x6+parseInt(i(0x169))/0x7+-parseInt(i(0x17d))/0x8+parseInt(i(0x17c))/0x9*(parseInt(i(0x15e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x79719));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x164)]()[k(0x171)](k(0x179))[k(0x164)]()[k(0x16d)](a81a)[k(0x171)]('(((.+)+)+)+$');});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x15b;let f=c[d];return f;},a81d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';function a81c(){const n=['1979508mBDVxr','getConfigPath','search','apply','pm2.config.js','3905uLvwUu','inherit','370fpYgaZ','fsi','getProjectConfig','(((.+)+)+)+$','\x20up\x20--remove-orphans','Docker\x20Compose\x20Path:\x20','4473FZPzLU','6308936kOCyvY','3988PMHkzo','2498cUCgAN','exit','appName','31250ALvYRj','join','maka\x20run\x20docker','docker-compose.yaml','docker','config/docker-compose.yaml','toString','templateContent','1262976rhvetJ','createFile','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','2007110ddtOjr','docker-compose\x20--project-directory\x20','PM2\x20Config\x20File:\x20','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','constructor','notice'];a81c=function(){return n;};return a81c();}Command['create']({'name':a81l(0x162),'aliases':['d'],'shortDesc':a81l(0x16c),'description':a81l(0x168),'usage':a81l(0x160),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x177)][m(0x178)](),b=this[m(0x177)][m(0x170)](m(0x162)),c=a81f['join'](b,m(0x161)),d=a81f[m(0x15f)](b,m(0x173));Log['notice'](m(0x16b)+d),Log[m(0x16e)](m(0x17b)+c);if(!a81g['existsSync'](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x15d)])},g=this[m(0x177)][m(0x165)]({'srcPath':m(0x163),'context':f})+'\x0a';this[m(0x177)][m(0x167)]({'filePath':c,'data':g});}execSync(m(0x16a)+b+m(0x17a),{'stdio':m(0x175)});}catch(h){process[m(0x15c)](0x1);}},a81e);
1
+ const a81k=a81d;function a81c(){const m=['56nRaCAF','docker','docker-compose\x20--project-directory\x20','search','451311VrGRYK','join','10190690xPCOiY','docker-compose.yaml','\x20up\x20--remove-orphans','2260pynVQY','notice','getProjectConfig','927FqsZXF','4368NDwTFO','fsi','1141176cSrIvX','exit','pm2.config.js','appName','getConfigPath','(((.+)+)+)+$','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','constructor','5919570WpuINr','templateContent','3966uxGBhW','config/docker-compose.yaml','450821oXQnbS','inherit'];a81c=function(){return m;};return a81c();}(function(a,b){const i=a81d,c=a();while(!![]){try{const d=parseInt(i(0x7a))/0x1+parseInt(i(0x8f))/0x2*(parseInt(i(0x82))/0x3)+-parseInt(i(0x85))/0x4+-parseInt(i(0x7f))/0x5*(parseInt(i(0x83))/0x6)+-parseInt(i(0x91))/0x7*(-parseInt(i(0x93))/0x8)+parseInt(i(0x8d))/0x9+-parseInt(i(0x7c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x83a36));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const j=a81d;return a81a['toString']()[j(0x96)]('(((.+)+)+)+$')['toString']()[j(0x8c)](a81a)['search'](j(0x8a));});function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x7a;let f=c[d];return f;},a81d(a,b);}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['create']({'name':a81k(0x94),'aliases':['d'],'shortDesc':a81k(0x8b),'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':'maka\x20run\x20docker','validOpts':['']},async function(){const l=a81k;try{const a=this[l(0x84)][l(0x81)](),b=this['fsi'][l(0x89)](l(0x94)),c=a81f[l(0x7b)](b,l(0x7d)),d=a81f[l(0x7b)](b,l(0x87));Log[l(0x80)]('PM2\x20Config\x20File:\x20'+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a81g['existsSync'](c)){const f={'app':a[l(0x88)],'appFileCase':paramCase(a[l(0x88)])},g=this[l(0x84)][l(0x8e)]({'srcPath':l(0x90),'context':f})+'\x0a';this['fsi']['createFile']({'filePath':c,'data':g});}execSync(l(0x95)+b+l(0x7e),{'stdio':l(0x92)});}catch(h){process[l(0x86)](0x1);}},a81e);
@@ -1 +1 @@
1
- const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=-parseInt(r(0x129))/0x1+-parseInt(r(0x128))/0x2+parseInt(r(0x112))/0x3+parseInt(r(0x131))/0x4+parseInt(r(0x122))/0x5*(-parseInt(r(0x123))/0x6)+-parseInt(r(0x109))/0x7*(-parseInt(r(0x127))/0x8)+parseInt(r(0x132))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x5dc21));function a82c(){const x=['Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','notice','config','create','Node\x20Env\x20Config:\x20','warn','local','autoupdate','1356411dXShDk','fsi','constructor','app','rawLogs','settings','mobile-server','--production','push','1168188cwSFnW','isFile','run','ios','verbose','settings.json','invokeMeteorCommand','.meteor','production','toString','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','join','split','checkMeteorPackage','port','length','465qrWKPZ','8808kTVGNd','cordova-build','--settings','process.env','8fNpUNn','660240VMhMJT','443728MmxtDx','filter','compareMakaToLatest','development','openSync','env','extraPackages','concat','2568320qSDZkv','622404YnEWPX','splice','inspect','mobileServer','docker'];a82c=function(){return x;};return a82c();}function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xfd;let f=c[d];return f;},a82d(a,b);}const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const s=a82d;return a82a[s(0x11b)]()['search']('(((.+)+)+)+$')['toString']()[s(0x10b)](a82a)['search']('(((.+)+)+)+$');});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a82d;a82f[t(0x12d)](a,'r'),a82g[t(0x103)]({'path':a});},Run=Command[a82u(0x104)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a82u(0x12e),a82u(0x100),'r',a82u(0x10d),'p',a82u(0x120),'i',a82u(0xfe),'m',a82u(0xff),'v',a82u(0x116),'allowIncompatibleUpdate',a82u(0x12f),'x','exclude-archs',a82u(0x11a)]},async function(a,b){const v=a82u;try{const c=this[v(0x10a)]['findProjectDirectory']();!this[v(0x10a)][v(0x11f)](v(0x108))&&(Log[v(0x102)]('Verifying\x20meteor\x20package\x20requirements\x20...'),await this[v(0x10a)]['installMeteorPackage']('autoupdate',{'cwd':c}));const d=a[0x0],f=this['findSubCommand'](d);f&&this['runSubCommand'](d,a,b);if(d===v(0x115)){const n=this[v(0x10a)]['findProjectDirectory'](),o=a82e['join'](n,v(0x10c),v(0x119),v(0x107),v(0x124));this[v(0x10a)]['isDirectory'](o)&&await rimraf(o);}if(b[v(0x10f)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw v(0x11c);await this[v(0x10a)][v(0x12b)]();const g=b[v(0x12e)]?b[v(0x12e)]:v(0x12c),h=this[v(0x10a)]['getConfigPath'](g),i=a82e['join'](h,v(0x126));let j=a82e['join'](h,v(0x117));b[v(0x10e)]?j=b[v(0x10e)]:j=a82e[v(0x11d)](h,v(0x117));if(this[v(0x10a)]['isFile'](i)&&!b[v(0x100)])Log[v(0x102)](v(0x105)+i),syncSource(i);else!b['docker']&&Log[v(0x106)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+i);this['fsi'][v(0x113)](j)?(Log[v(0x102)]('Meteor\x20Settings:\x20'+j),a=a['concat']([v(0x125),j])):Log[v(0x106)](v(0x101)+j);const k=h[v(0x11e)](a82e['sep']),l=k[k[v(0x121)]-0x1];l==='production'&&a[v(0x111)](v(0x110));const m=process['argv']['slice'](0x2)[v(0x12a)](p=>p!=='run')[v(0x12a)](p=>p!==a[0x0]);m['forEach']((p,q)=>{const w=v;p==='--env'&&m[w(0xfd)](q,0x2),p==='-e'&&m['splice'](q,0x2);}),this[v(0x10a)][v(0x118)](v(0x114),a[v(0x130)](m));}catch(p){console['error'](p),process['exit'](0x1);}});export default Run;
1
+ function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a82d(a,b);}const a82v=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=-parseInt(r(0x213))/0x1+-parseInt(r(0x21e))/0x2*(-parseInt(r(0x222))/0x3)+-parseInt(r(0x205))/0x4+-parseInt(r(0x215))/0x5*(-parseInt(r(0x1e5))/0x6)+parseInt(r(0x225))/0x7+-parseInt(r(0x1e9))/0x8*(-parseInt(r(0x220))/0x9)+-parseInt(r(0x203))/0xa*(parseInt(r(0x204))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x99ca3));function a82c(){const y=['port','942844wnvwtY','apply','78365jkFOlu','findSubCommand','Verifying\x20meteor\x20package\x20requirements\x20...','mobileServer','autoupdate','notice','inspect','split','docker','58cglZNb','openSync','187794ZhOnag','warn','7842mfrNCd','--env','compareMakaToLatest','6034385igqbSK','exclude-archs','extraPackages','Node\x20Env\x20Config:\x20','allowIncompatibleUpdate','argv','54MYUvxh','installMeteorPackage','slice','search','328lXqADw','local','ios','splice','toString','findProjectDirectory','error','invokeMeteorCommand','development','verbose','--settings','--production','Run\x20your\x20Meteor\x20application','concat','join','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)','cordova-build','Cannot\x20find\x20Node\x20Environment\x20File:\x20','length','process.env','settings','run','getConfigPath','config','fsi','\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.','10GHZkLo','3165701UonXnT','295464noCVxR','(((.+)+)+)+$','constructor','create','settings.json','checkMeteorPackage','Meteor\x20Settings:\x20','filter','isFile','runSubCommand','app','env','sep'];a82c=function(){return y;};return a82c();}const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x214)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0x1ed)]()[t(0x1e8)](t(0x206))[t(0x1ed)]()[t(0x207)](a82a)[t(0x1e8)](t(0x206));});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0x21f)](a,'r'),a82g[u(0x200)]({'path':a});},Run=Command[a82v(0x208)]({'name':a82v(0x1fe),'mustBeInMakaProject':!![],'shortDesc':a82v(0x1f5),'description':a82v(0x202),'validOpts':[a82v(0x210),a82v(0x21d),'r','rawLogs','p',a82v(0x212),'i',a82v(0x21b),'m',a82v(0x218),'v',a82v(0x1f2),a82v(0x1e3),a82v(0x1e1),'x',a82v(0x226),'production']},async function(a,b){const w=a82v;try{const c=this[w(0x201)][w(0x1ee)]();!this[w(0x201)][w(0x20a)](w(0x219))&&(Log[w(0x21a)](w(0x217)),await this[w(0x201)][w(0x1e6)]('autoupdate',{'cwd':c}));const d=a[0x0],f=this[w(0x216)](d);f&&this[w(0x20e)](d,a,b);if(d===w(0x1eb)){const n=this[w(0x201)][w(0x1ee)](),o=a82e['join'](n,w(0x20f),'.meteor',w(0x1ea),w(0x1f9));this[w(0x201)]['isDirectory'](o)&&await rimraf(o);}if(b['mobile-server']&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw w(0x1f8);await this['fsi'][w(0x224)]();const g=b['env']?b[w(0x210)]:w(0x1f1),h=this[w(0x201)][w(0x1ff)](g),i=a82e[w(0x1f7)](h,w(0x1fc));let j=a82e['join'](h,'settings.json');b[w(0x1fd)]?j=b[w(0x1fd)]:j=a82e[w(0x1f7)](h,w(0x209));if(this[w(0x201)][w(0x20d)](i)&&!b[w(0x21d)])Log[w(0x21a)](w(0x1e2)+i),syncSource(i);else!b[w(0x21d)]&&Log[w(0x221)](w(0x1fa)+i);this[w(0x201)][w(0x20d)](j)?(Log['notice'](w(0x20b)+j),a=a[w(0x1f6)]([w(0x1f3),j])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+j);const k=h[w(0x21c)](a82e[w(0x211)]),l=k[k[w(0x1fb)]-0x1];l==='production'&&a['push'](w(0x1f4));const m=process[w(0x1e4)][w(0x1e7)](0x2)[w(0x20c)](p=>p!==w(0x1fe))[w(0x20c)](p=>p!==a[0x0]);m['forEach']((p,q)=>{const x=w;p===x(0x223)&&m[x(0x1ec)](q,0x2),p==='-e'&&m[x(0x1ec)](q,0x2);}),this[w(0x201)][w(0x1f0)](w(0x1fe),a[w(0x1f6)](m));}catch(p){console[w(0x1ef)](p),process['exit'](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x1b1))/0x1*(-parseInt(f(0x1b7))/0x2)+-parseInt(f(0x1b4))/0x3+parseInt(f(0x1b6))/0x4+parseInt(f(0x1bc))/0x5*(parseInt(f(0x1b2))/0x6)+-parseInt(f(0x1bd))/0x7+parseInt(f(0x1b8))/0x8*(-parseInt(f(0x1bb))/0x9)+-parseInt(f(0x1b9))/0xa*(-parseInt(f(0x1bf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x29448));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x1b5)]()['search']('(((.+)+)+)+$')[h(0x1b5)]()[h(0x1ba)](a83a)['search'](h(0x1be));});function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a83d(a,b);}a83a();function a83c(){var i=['apply','862122jYdFia','toString','433624ISzYUF','3712blsuJP','563448OHyZTg','113720ktIaql','constructor','18hnIYRp','1386565YEhIzj','1121757gWEAPV','(((.+)+)+)+$','374LFUTjg','8rbElQZ','6pkEyNS'];a83c=function(){return i;};return a83c();}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a83d,c=a();while(!![]){try{var d=-parseInt(f(0x185))/0x1*(-parseInt(f(0x190))/0x2)+parseInt(f(0x18e))/0x3*(-parseInt(f(0x18a))/0x4)+-parseInt(f(0x182))/0x5+parseInt(f(0x191))/0x6*(parseInt(f(0x18f))/0x7)+-parseInt(f(0x183))/0x8+parseInt(f(0x18b))/0x9*(-parseInt(f(0x18c))/0xa)+parseInt(f(0x18d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x8b266));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x186)]()[h(0x184)](h(0x189))[h(0x186)]()[h(0x188)](a83a)[h(0x184)](h(0x189));});a83a();import'./set.command.js';function a83c(){var i=['42722812RaeZlc','2997822MZprPU','1133965uzZTxb','64dbqAtc','6isVRHz','5367275NEouch','3614512HZAhbW','search','1477TktsgG','toString','apply','constructor','(((.+)+)+)+$','4HbxtOd','1797570lKQiIf','50ZPXPWn'];a83c=function(){return i;};return a83c();}function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x182;var f=c[d];return f;},a83d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x14c))/0x1*(-parseInt(h(0x13a))/0x2)+-parseInt(h(0x13e))/0x3*(-parseInt(h(0x156))/0x4)+-parseInt(h(0x14f))/0x5*(-parseInt(h(0x14a))/0x6)+-parseInt(h(0x140))/0x7+-parseInt(h(0x144))/0x8+parseInt(h(0x137))/0x9*(-parseInt(h(0x160))/0xa)+parseInt(h(0x15e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x419e6));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const i=a84d;return a84a['toString']()[i(0x13f)](i(0x15c))[i(0x13c)]()[i(0x145)](a84a)['search'](i(0x15c));});function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x136;let f=c[d];return f;},a84d(a,b);}a84a();import a84e from'path';function a84c(){const l=['Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','resolve','setGlobalConfig','global-config','612WsmAJZ','Set\x20global\x20Maka-CLI\x20settings','11681GCbycU','help','maka\x20set:gc\x20--insecure\x20<path>','16630uTJwaE','disallowInsecure','openai','isFile','One\x20or\x20the\x20other\x20buddy','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','Set\x20allowInsecure:\x20','4yLasJw','Set\x20workspace:\x20','exit','boolean','create','error','(((.+)+)+)+$','success','12663497UdGQun','maka\x20set:gc\x20--workspace\x20<path>','182740goBsru','Could\x20not\x20find\x20directory','maka\x20set:global-config\x20<args>','126Khofsr','fsi','workspace','2RNiQeD','allowInsecure','toString','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','100197RABdas','search','3591847ytHqCl','maka\x20set:global-config\x20--cacert\x20<path>','isDirectory','cacert','3982624IvVKOT','constructor'];a84c=function(){return l;};return a84c();}import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84j(0x15a)]({'name':a84j(0x149),'usage':a84j(0x136),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84j(0x143),a84j(0x13b),a84j(0x150),a84j(0x139),'openai',a84j(0x14d)],'shortDesc':a84j(0x14b),'description':a84j(0x154),'examples':[a84j(0x141),a84j(0x14e),a84j(0x15f)]},async function(a,b){const k=a84j;try{if(b[k(0x143)]){if(this[k(0x138)][k(0x152)](b['cacert']))this[k(0x138)][k(0x148)]({'cert':b[k(0x143)]}),Log[k(0x15d)]('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[k(0x143)]===k(0x159)?k(0x146):k(0x13d)+b['cacert'];throw Log[k(0x15b)](c);}}if(b['workspace']){const d=this[k(0x138)][k(0x142)](b[k(0x139)]);if(d)this['fsi'][k(0x148)]({'workspace':a84e['resolve'](b[k(0x139)])}),Log[k(0x15d)](k(0x157)+a84e[k(0x147)](b['workspace']));else throw Log['error'](k(0x161));}b[k(0x151)]&&(this['fsi'][k(0x148)]({'openai':b[k(0x151)]}),Log[k(0x15d)]('Set\x20OpenAI\x20Key:\x20'+b[k(0x151)]));if(b[k(0x13b)]){if(b[k(0x13b)]&&b[k(0x150)])throw Log[k(0x15b)](k(0x153));let f=b[k(0x13b)];b['disallowInsecure']&&(f=![]),this[k(0x138)][k(0x148)]({'allowInsecure':f}),Log[k(0x15d)](k(0x155)+f);}process[k(0x158)](0x0);}catch(g){console[k(0x15b)](g),process[k(0x158)](0x0);}},a84f);
1
+ const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0xe6))/0x1+-parseInt(h(0xda))/0x2+parseInt(h(0xe0))/0x3*(parseInt(h(0xdf))/0x4)+parseInt(h(0xcf))/0x5*(-parseInt(h(0xd9))/0x6)+-parseInt(h(0xc5))/0x7+-parseInt(h(0xea))/0x8+-parseInt(h(0xc9))/0x9*(-parseInt(h(0xd4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xf3a54));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0xdc)]()[j(0xcd)](j(0xdb))[j(0xdc)]()['constructor'](a84a)['search']('(((.+)+)+)+$');});a84a();import a84e from'path';import a84f from'./set.command.js';function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0xc5;let f=c[d];return f;},a84d(a,b);}import{Command}from'../../command.js';function a84c(){const m=['3147184UnsGwm','(((.+)+)+)+$','toString','exit','maka\x20set:global-config\x20<args>','5419528MnGWMz','3fHwxQu','apply','fsi','help','Set\x20allowInsecure:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','235121tRHQGX','Set\x20OpenAI\x20Key:\x20','resolve','isFile','13230408vhheUO','5982956gZtoag','success','setGlobalConfig','error','46117611plOlvo','cacert','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','create','search','allowInsecure','5ErXXqO','boolean','openai','workspace','maka\x20set:gc\x20--workspace\x20<path>','10lDSuJI','disallowInsecure','Set\x20global\x20Maka-CLI\x20settings','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','One\x20or\x20the\x20other\x20buddy','6983202kGcCqU'];a84c=function(){return m;};return a84c();}import{Log}from'../../tools/log/log.class.js';Command[a84k(0xcc)]({'name':'global-config','usage':a84k(0xde),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0xca),a84k(0xce),a84k(0xd5),'workspace',a84k(0xd1),a84k(0xe3)],'shortDesc':a84k(0xd6),'description':a84k(0xd7),'examples':['maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--insecure\x20<path>',a84k(0xd3)]},async function(a,b){const l=a84k;try{if(b[l(0xca)]){if(this[l(0xe2)][l(0xe9)](b[l(0xca)]))this[l(0xe2)][l(0xc7)]({'cert':b['cacert']}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b['cacert']===l(0xd0)?l(0xe5):l(0xcb)+b[l(0xca)];throw Log[l(0xc8)](c);}}if(b['workspace']){const d=this[l(0xe2)]['isDirectory'](b[l(0xd2)]);if(d)this[l(0xe2)]['setGlobalConfig']({'workspace':a84e[l(0xe8)](b[l(0xd2)])}),Log[l(0xc6)]('Set\x20workspace:\x20'+a84e['resolve'](b[l(0xd2)]));else throw Log[l(0xc8)]('Could\x20not\x20find\x20directory');}b[l(0xd1)]&&(this[l(0xe2)][l(0xc7)]({'openai':b[l(0xd1)]}),Log['success'](l(0xe7)+b[l(0xd1)]));if(b[l(0xce)]){if(b[l(0xce)]&&b[l(0xd5)])throw Log['error'](l(0xd8));let f=b['allowInsecure'];b[l(0xd5)]&&(f=![]),this[l(0xe2)][l(0xc7)]({'allowInsecure':f}),Log['success'](l(0xe4)+f);}process[l(0xdd)](0x0);}catch(g){console[l(0xc8)](g),process[l(0xdd)](0x0);}},a84f);
@@ -1 +1 @@
1
- var a85i=a85d;function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x1c2;var f=c[d];return f;},a85d(a,b);}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0x1c3))/0x1*(-parseInt(f(0x1d1))/0x2)+-parseInt(f(0x1d3))/0x3+-parseInt(f(0x1ca))/0x4+parseInt(f(0x1c2))/0x5*(-parseInt(f(0x1c5))/0x6)+parseInt(f(0x1c9))/0x7+-parseInt(f(0x1d6))/0x8+parseInt(f(0x1cc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x908c9));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x1c8)]()[h(0x1cd)]('(((.+)+)+)+$')[h(0x1c8)]()[h(0x1d2)](a85a)[h(0x1cd)]('(((.+)+)+)+$');});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x1cb)]({'name':a85i(0x1d0),'usage':a85i(0x1ce),'examples':[a85i(0x1d4),a85i(0x1ce)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x1cf),'validOpts':[],'description':a85i(0x1c7)},async function(){var j=a85i;Log[j(0x1d5)](j(0x1c4));},a85e);function a85c(){var k=['2359992UHswJZ','maka\x20set:lc\x20<opts>','notice','2356488ABDZad','115730SsdHZL','33349TeLkQs','Sorry,\x20not\x20implemented\x20yet','258HcsaHj','apply','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','toString','301686SbhZHG','1356328dAXuMl','create','16776387BhVwui','search','maka\x20set:local-config\x20<opts>','Set\x20local\x20maka\x20app\x20settings','local-config','66AxaMNT','constructor'];a85c=function(){return k;};return a85c();}
1
+ var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0x1ee))/0x1+parseInt(f(0x1f3))/0x2+parseInt(f(0x1f9))/0x3*(parseInt(f(0x1f0))/0x4)+-parseInt(f(0x1ff))/0x5+-parseInt(f(0x1fd))/0x6+-parseInt(f(0x1fb))/0x7+-parseInt(f(0x1f2))/0x8*(-parseInt(f(0x1f1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x80404));function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a85d(a,b);}var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x1ed)]()['search']('(((.+)+)+)+$')[h(0x1ed)]()[h(0x1ef)](a85a)[h(0x1fc)]('(((.+)+)+)+$');});a85a();import a85e from'./set.command.js';function a85c(){var k=['284256ItSlTB','search','1257918ZoDhZm','Sorry,\x20not\x20implemented\x20yet','4568575VhJHDN','toString','648836JeoetL','constructor','4652MzHnfk','337671VlsQFT','248dzOiWw','1777882jLikji','maka\x20set:local-config\x20<opts>','notice','Set\x20local\x20maka\x20app\x20settings','create','apply','738zlzUwj','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'];a85c=function(){return k;};return a85c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x1f7)]({'name':'local-config','usage':a85i(0x1f4),'examples':['maka\x20set:lc\x20<opts>',a85i(0x1f4)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x1f6),'validOpts':[],'description':a85i(0x1fa)},async function(){var j=a85i;Log[j(0x1f5)](j(0x1fe));},a85e);
@@ -1 +1 @@
1
- const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0xd1))/0x1+-parseInt(f(0xd2))/0x2*(-parseInt(f(0xd3))/0x3)+parseInt(f(0xd0))/0x4*(-parseInt(f(0xcd))/0x5)+parseInt(f(0xd5))/0x6+-parseInt(f(0xcc))/0x7*(-parseInt(f(0xc1))/0x8)+parseInt(f(0xcf))/0x9*(-parseInt(f(0xc7))/0xa)+parseInt(f(0xca))/0xb*(parseInt(f(0xc4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xe6a71));function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xc0;let f=c[d];return f;},a86d(a,b);}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a['toString']()[h(0xc9)]('(((.+)+)+)+$')[h(0xc2)]()[h(0xc3)](a86a)[h(0xc9)](h(0xc0));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0xc6)]({'name':a86i(0xd4),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a86i(0xc5),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b['help'])throw new UsageError();const d=this[j(0xc8)](c);d&&this[j(0xcb)](c,a,b);});export default SetCommand;function a86c(){const k=['16PBRVal','toString','constructor','960DfPTnt','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','create','10occYBs','findSubCommand','search','343189zIfjGU','runSubCommand','93674ULGKvM','5tNvuVd','apply','884052OfBHQv','4191924kHBvIY','1457819VxsiYe','2vGEWgq','132387pqPbOv','set','5891808htuIlN','(((.+)+)+)+$'];a86c=function(){return k;};return a86c();}
1
+ function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a86d(a,b);}const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x1d7))/0x1*(parseInt(f(0x1cd))/0x2)+-parseInt(f(0x1d8))/0x3*(-parseInt(f(0x1d9))/0x4)+parseInt(f(0x1cf))/0x5+parseInt(f(0x1dc))/0x6*(-parseInt(f(0x1cb))/0x7)+parseInt(f(0x1d2))/0x8+-parseInt(f(0x1d5))/0x9+parseInt(f(0x1d3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x5775b));function a86c(){const k=['constructor','apply','2991376RONArc','8218610mLaZbC','toString','6083028hhJYog','(((.+)+)+)+$','33AJlGrn','399555qVWTrv','12RBGCOc','help','create','24RMWLwU','runSubCommand','search','680197JWwujI','set','19014sODRqU','\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','706020vKDpzU'];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(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x1d4)]()[h(0x1ca)](h(0x1d6))['toString']()[h(0x1d0)](a86a)[h(0x1ca)](h(0x1d6));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0x1db)]({'name':a86i(0x1cc),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a86i(0x1ce),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0x1da)])throw new UsageError();const d=this['findSubCommand'](c);d&&this[j(0x1dd)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0xc8))/0x1+-parseInt(j(0xd2))/0x2+parseInt(j(0xbe))/0x3*(-parseInt(j(0xc2))/0x4)+parseInt(j(0xd3))/0x5*(-parseInt(j(0xd1))/0x6)+parseInt(j(0xb9))/0x7+-parseInt(j(0xcf))/0x8*(-parseInt(j(0xd7))/0x9)+parseInt(j(0xcd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x22056));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0xbc)]()[l(0xc3)](l(0xd5))[l(0xbc)]()[l(0xbd)](a87a)[l(0xc3)](l(0xd5));});a87a();import a87e from'fs';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xb9;let f=c[d];return f;},a87d(a,b);}import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0xcb)]({'name':a87m(0xca),'usage':a87m(0xc1),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0xcc)],'validOpts':[a87m(0xcc),'v'],'shortDesc':a87m(0xce),'examples':[a87m(0xba),'maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a87m(0xc7)]},async function(a,b){const n=a87m;try{const c=this['fsi'][n(0xc9)](b[n(0xcc)]);let d='';a[n(0xbf)]>0x0&&(d=a[0x0]);const f=a87f[n(0xc0)](c,n(0xd4)),g=a87e[n(0xd0)](f)[n(0xbc)](),h=JSON[n(0xd6)](g);Object[n(0xc6)](h,{'env':c}),SSH[n(0xc5)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xc4)](i),process['exit'](0x0);}});function a87c(){const o=['6194820VwBusZ','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','1445640moWTQs','readFileSync','676686TTkwNY','325630trEuxU','5NPMMvy','ssh.json','(((.+)+)+)+$','parse','9cqNMYJ','765009zRcKtW','maka\x20ssh\x20--env\x20dev','apply','toString','constructor','680058VZRhnR','length','join','maka\x20ssh\x20<command>','4tUwYCY','search','error','sshSync','assign','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','267842aAfckd','getConfigPath','ssh','create','env'];a87c=function(){return o;};return a87c();}
1
+ const a87m=a87d;function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xed;let f=c[d];return f;},a87d(a,b);}(function(a,b){const j=a87d,c=a();while(!![]){try{const d=parseInt(j(0xf6))/0x1+-parseInt(j(0xf0))/0x2*(parseInt(j(0xfa))/0x3)+-parseInt(j(0x102))/0x4+-parseInt(j(0x10a))/0x5+-parseInt(j(0x103))/0x6*(-parseInt(j(0x101))/0x7)+parseInt(j(0x106))/0x8*(parseInt(j(0xef))/0x9)+-parseInt(j(0xfc))/0xa*(parseInt(j(0x105))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x74401));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0xf1)]()[l(0xfe)](l(0x107))[l(0xf1)]()[l(0xee)](a87a)['search'](l(0x107));});function a87c(){const o=['toString','exit','maka\x20ssh\x20--env\x20staging','create','fsi','754345iqYLVi','length','error','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','6WkIBHE','env','5785330uCurMF','assign','search','ssh.json','apply','3962686GeOhwW','220364iXhPsN','6ZBGCyt','maka\x20ssh\x20--env\x20prod','11thOQGS','6840752PtWvDZ','(((.+)+)+)+$','readFileSync','join','1789280qvYdQR','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','constructor','9gfrddh','707896rzlXDL'];a87c=function(){return o;};return a87c();}a87a();import a87e from'fs';import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0xf4)]({'name':'ssh','usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a87m(0xfb),'v'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev',a87m(0xf3),a87m(0x104),a87m(0xf9),a87m(0xed),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a87m;try{const c=this[n(0xf5)]['getConfigPath'](b['env']);let d='';a[n(0xf7)]>0x0&&(d=a[0x0]);const f=a87f[n(0x109)](c,n(0xff)),g=a87e[n(0x108)](f)[n(0xf1)](),h=JSON['parse'](g);Object[n(0xfd)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xf8)](i),process[n(0xf2)](0x0);}});
@@ -1 +1 @@
1
- const a88x=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=parseInt(v(0x1b3))/0x1*(parseInt(v(0x1c6))/0x2)+-parseInt(v(0x1ab))/0x3*(-parseInt(v(0x1b5))/0x4)+parseInt(v(0x1e4))/0x5*(-parseInt(v(0x1e1))/0x6)+parseInt(v(0x1db))/0x7+parseInt(v(0x1ea))/0x8+-parseInt(v(0x1b8))/0x9+parseInt(v(0x1c0))/0xa*(parseInt(v(0x1d6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x90057));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const w=a88d;return a88a[w(0x1cc)]()[w(0x1d3)](w(0x1c3))[w(0x1cc)]()[w(0x1d7)](a88a)[w(0x1d3)](w(0x1c3));});function a88c(){const z=['email','ping','Verifying\x20Letsencrypt\x20configuration','success','error','[?]\x20Domains\x20to\x20register:\x20','search','existsSync','writeFileSync','15158shAKbi','constructor','fsi','parse','Email\x20to\x20use\x20for\x20auto-updates:\x20','1888628LGDwBf','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','New\x20CSR\x20written\x20to\x20','start','readFileSync','.csr','9162uSMgLP','generate-csr','.crt','3250VnJoao','assign','letsencrypt.json','Please\x20provide\x20a\x20command.','sudo\x20snap\x20install\x20--classic\x20certbot','maka\x20ssl\x20--env\x20dev\x20generate-csr','2117512fRXmqw','generate-ssc','ask','getConfigPath','3KAihIB','Checking\x20remote\x20host\x20availability','withSpinner','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Create\x20and\x20manage\x20your\x20SSL\x20operations.','letsencrypt','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','domains','1380GlydTD','notice','3521144VQAKrr','join','domainNames','2638818NHFenL','appName','uname\x20-a','\x20--email\x20','Remote\x20host\x20connection\x20successful','getProjectConfig','ssh','genCSR','180IWfCZa','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','emailUpdate','(((.+)+)+)+$','create','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','632bsDPPR','genSSC','/ssh.json','env','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','.key','toString'];a88c=function(){return z;};return a88c();}a88a();import a88e from'fs';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a88d(a,b);}import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a88x(0x1c4)]({'name':'ssl','usage':'maka\x20ssl\x20[command]','validOpts':[a88x(0x1b2),a88x(0x1cd)],'requiredOpts':[a88x(0x1c9)],'shortDesc':a88x(0x1af),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88x(0x1e9),a88x(0x1ca),a88x(0x1c5)]},async function(a,b){const y=a88x,c=this[y(0x1d8)][y(0x1bd)](),d=this[y(0x1d8)][y(0x1ed)](b[y(0x1c9)]),f=this['fsi']['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x1e2))SSL[y(0x1bf)]({'keyName':c[y(0x1b9)]+y(0x1cb),'csrName':c[y(0x1b9)]+y(0x1e0),'cwd':f});else{if(g===y(0x1eb)){if(!a88e['existsSync'](a88f[y(0x1b6)](f,c['appName']+y(0x1cb))))throw y(0x1b1)+a88f[y(0x1b6)](f,c[y(0x1b9)]+y(0x1cb));if(!a88e[y(0x1d4)](a88f['join'](f,c[y(0x1b9)]+y(0x1e0))))throw y(0x1dc)+a88f[y(0x1b6)](f,c[y(0x1b9)]+y(0x1e0));SSL[y(0x1c7)]({'keyName':c[y(0x1b9)]+y(0x1cb),'crtName':c[y(0x1b9)]+y(0x1e3),'cwd':f}),Log['notice'](y(0x1dd)+f);}else{if(g===y(0x1b0)){let h=b['domains'],i=b['email'];try{const p=a88e[y(0x1df)](a88f['join'](d,y(0x1e6)))[y(0x1cc)](),q=JSON[y(0x1d9)](p);h=b['domains']?b[y(0x1b2)]:q[y(0x1b7)],i=b[y(0x1cd)]?b['email']:q[y(0x1c2)],(!b[y(0x1cd)]||!b['domains'])&&Log[y(0x1b4)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[y(0x1d9)](a88e[y(0x1df)](d+y(0x1c8))[y(0x1cc)]());Object[y(0x1e5)](j,{'env':d}),Log[y(0x1b4)](y(0x1ac));try{const s=SSH[y(0x1ce)](y(0x1ba),j);if(!s)throw y(0x1ae);if(s)Log[y(0x1d0)](y(0x1bc));}catch(t){Log['error'](t);return;}const k=Log[y(0x1ad)]();k[y(0x1de)](y(0x1cf)),SSH['ssh'](y(0x1c1),{...j}),SSH[y(0x1be)](y(0x1e8),{...j}),SSH[y(0x1be)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[y(0x1d0)]();const l=h?h:await Actions[y(0x1ec)](y(0x1d2)),m=i?i:await Actions['ask'](y(0x1da));SSH[y(0x1be)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+y(0x1bb)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a88e[y(0x1d5)](a88f[y(0x1b6)](d,'letsencrypt.json'),o);}else throw y(0x1e7);}}}catch(u){console[y(0x1d1)](u),process['exit'](0x0);}});
1
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0xb3))/0x1+-parseInt(v(0xe5))/0x2*(parseInt(v(0xc6))/0x3)+-parseInt(v(0xaf))/0x4+-parseInt(v(0xbd))/0x5*(parseInt(v(0xac))/0x6)+-parseInt(v(0xc4))/0x7*(parseInt(v(0xd9))/0x8)+-parseInt(v(0xe1))/0x9+parseInt(v(0xa9))/0xa*(parseInt(v(0xda))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xb5783));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0xb8)]()[x(0xd3)](x(0xb4))[x(0xb8)]()[x(0xdb)](a88a)['search'](x(0xb4));});a88a();import a88e from'fs';function a88c(){const A=['success','domains','appName','Verifying\x20Letsencrypt\x20configuration','75400XZoGcY','/ssh.json','[?]\x20Domains\x20to\x20register:\x20','email','apply','generate-csr','getProjectConfig','28259NaKTxv','writeFileSync','9PfKGwk','env','sudo\x20snap\x20install\x20--classic\x20certbot','letsencrypt.json','genSSC','parse','ssl','domainNames','maka\x20ssl\x20[command]','uname\x20-a','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','ssh','search','stringify','letsencrypt','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','Using\x20saved\x20letsencrypt\x20config','1288hbrQll','583ZBrSBv','constructor','ask','Checking\x20remote\x20host\x20availability','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','existsSync','5598666xCHOed','fsi','readFileSync','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','600118IJnRJi','.csr','notice','join','create','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20dev\x20generate-csr','error','838640KzVjnG','.crt','Email\x20to\x20use\x20for\x20auto-updates:\x20','258GLikOU','getConfigPath','start','130520rUYHxj','.key','Please\x20provide\x20a\x20command.','exit','848215ITHZFx','(((.+)+)+)+$','New\x20CSR\x20written\x20to\x20','assign','\x20--email\x20','toString'];a88c=function(){return A;};return a88c();}import a88f from'path';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xa9;let f=c[d];return f;},a88d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a88y(0xe9)]({'name':a88y(0xcc),'usage':a88y(0xce),'validOpts':[a88y(0xba),a88y(0xc0)],'requiredOpts':[a88y(0xc7)],'shortDesc':a88y(0xdf),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0xeb),a88y(0xd6),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a88y,c=this[z(0xe2)][z(0xc3)](),d=this['fsi'][z(0xad)](b[z(0xc7)]),f=this[z(0xe2)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xc2))SSL['genCSR']({'keyName':c[z(0xbb)]+z(0xb0),'csrName':c[z(0xbb)]+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a88e['existsSync'](a88f['join'](f,c[z(0xbb)]+'.key')))throw z(0xe4)+a88f[z(0xe8)](f,c[z(0xbb)]+z(0xb0));if(!a88e[z(0xe0)](a88f[z(0xe8)](f,c['appName']+z(0xe6))))throw z(0xd0)+a88f['join'](f,c[z(0xbb)]+'.csr');SSL[z(0xca)]({'keyName':c[z(0xbb)]+z(0xb0),'crtName':c[z(0xbb)]+z(0xaa),'cwd':f}),Log[z(0xe7)](z(0xb5)+f);}else{if(g===z(0xd5)){let h=b[z(0xba)],i=b[z(0xc0)];try{const p=a88e[z(0xe3)](a88f[z(0xe8)](d,'letsencrypt.json'))[z(0xb8)](),q=JSON[z(0xcb)](p);h=b[z(0xba)]?b[z(0xba)]:q[z(0xcd)],i=b[z(0xc0)]?b[z(0xc0)]:q['emailUpdate'],(!b[z(0xc0)]||!b[z(0xba)])&&Log[z(0xe7)](z(0xd8));}catch(r){}const j=JSON['parse'](a88e[z(0xe3)](d+z(0xbe))[z(0xb8)]());Object[z(0xb6)](j,{'env':d}),Log[z(0xe7)](z(0xdd));try{const s=SSH['ping'](z(0xcf),j);if(!s)throw z(0xd1);if(s)Log[z(0xb9)]('Remote\x20host\x20connection\x20successful');}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[z(0xae)](z(0xbc)),SSH[z(0xd2)](z(0xd7),{...j}),SSH[z(0xd2)](z(0xc8),{...j}),SSH[z(0xd2)](z(0xea),{...j}),k[z(0xb9)]();const l=h?h:await Actions[z(0xdc)](z(0xbf)),m=i?i:await Actions[z(0xdc)](z(0xab));SSH[z(0xd2)](z(0xde)+l+z(0xb7)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xd4)](n,null,0x2);a88e[z(0xc5)](a88f['join'](d,z(0xc9)),o);}else throw z(0xb1);}}}catch(u){console[z(0xec)](u),process[z(0xb2)](0x0);}});
@@ -1 +1 @@
1
- const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x105))/0x1+parseInt(m(0xec))/0x2+-parseInt(m(0x10b))/0x3*(-parseInt(m(0xd9))/0x4)+-parseInt(m(0x103))/0x5*(-parseInt(m(0xf0))/0x6)+parseInt(m(0xfe))/0x7*(-parseInt(m(0x10f))/0x8)+-parseInt(m(0xe0))/0x9+-parseInt(m(0xf9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xdf356));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0xfd)]()[o(0xed)](o(0xfc))[o(0xfd)]()[o(0xe4)](a89a)[o(0xed)](o(0xfc));});a89a();function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xd9;let f=c[d];return f;},a89d(a,b);}import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a89c(){const t=['Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','constructor','readFileSync','none','slice','warn','filter','openSync','test-packages','657188QENDzv','search','testAppPath','fsi','12126JdTJwN','unit','once','concat','create','env','Meteor\x20Settings:\x20','maka\x20test\x20<opts>','apply','4028380RByhko','driver','--env','(((.+)+)+)+$','toString','343315SQpAXH','splice','port','sanjo:jasmine','exit','1170PPVHkw','isFile','299986HUBvFW','join','rawLogs','error','parse','packages','195ihzyUD','notice','test','Node\x20Env\x20Config:\x20','40rhpFMP','config.json','--driver-package','getConfigPath','jasmine','development','42820fQDHqf','argv','engines','driver-package','mocha','invokeMeteorCommand','utf8','2114946NxaxSr','driverPackage','findProjectDirectory'];a89c=function(){return t;};return a89c();}const syncSource=function(a){const p=a89d;a89e[p(0xea)](a,'r'),a89g['config']({'path':a});};Command[a89q(0xf4)]({'name':a89q(0x10d),'mustBeInMakaProject':!![],'validOpts':[a89q(0xf2),a89q(0x10a),a89q(0xfa),a89q(0xe1),a89q(0xf1),a89q(0xf5),a89q(0x107),a89q(0x100),'inspect',a89q(0xee)],'usage':a89q(0xf7),'shortDesc':a89q(0xe3),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0xef)][r(0x112)](r(0x114));b[r(0xf5)]&&(c=this[r(0xef)][r(0x112)](b[r(0xf5)]));(!b[r(0xf1)]||!!b[r(0xf2)])&&(a=a[r(0xf3)](['--full-app']));b[r(0xf1)]&&delete b['unit'];let d=b[r(0xdc)]||b[r(0xfa)]||r(0xe6);if(d===r(0xe6)){const j=JSON[r(0x109)](a89e[r(0xe5)](a89f[r(0x106)](this[r(0xef)][r(0xe2)](),'.maka',r(0x110)),r(0xdf)));if(j[r(0xdb)][r(0x10d)]===r(0x113))d=r(0x101);else j[r(0xdb)][r(0x10d)]===r(0xdd)&&(d='meteortesting:mocha');}if(d==='none')throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0xdc)]||!b['driver'])&&(a=a[r(0xf3)]([r(0x111),d]));const f=a89f[r(0x106)](c,'settings.json');this[r(0xef)][r(0x104)](f)?(Log[r(0x10c)](r(0xf6)+f),a=a['concat'](['--settings',f])):Log[r(0xe8)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a89f[r(0x106)](c,'process.env');this[r(0xef)][r(0x104)](g)?(Log['notice'](r(0x10e)+g),syncSource(g)):Log[r(0xe8)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0xda)][r(0xe7)](0x2)[r(0xe9)](k=>k!==r(0xfb))[r(0xe9)](k=>k!==r(0x10d))[r(0xe9)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0xfb)||k==='--driver')&&h['splice'](l,0x2),k==='--packages'&&h[s(0xff)](l,0x1);});const i=b[r(0x10a)]?r(0xeb):'test';this['fsi'][r(0xde)](i,a[r(0xf3)](h));}catch(k){console[r(0x108)](k),process[r(0x102)](0x0);}});
1
+ const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0xa6))/0x1*(-parseInt(m(0x80))/0x2)+-parseInt(m(0xb8))/0x3*(parseInt(m(0xa4))/0x4)+parseInt(m(0xae))/0x5+parseInt(m(0x8b))/0x6+-parseInt(m(0xa7))/0x7*(parseInt(m(0xa9))/0x8)+-parseInt(m(0xba))/0x9*(-parseInt(m(0x9d))/0xa)+parseInt(m(0x94))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x73511));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0xab)]()['search'](o(0x7e))[o(0xab)]()[o(0xb2)](a89a)['search'](o(0x7e));});a89a();import a89e from'fs';import a89f from'path';function a89c(){const t=['driver','apply','224050gxUJbe','env','Cannot\x20find\x20Node\x20Environment\x20File:\x20','--driver-package','exit','once','--packages','212jfFDvx','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','1iCRRUn','42ChhJqW','Node\x20Env\x20Config:\x20','399032oMMzxC','jasmine','toString','create','.maka','1113715xlHaXY','--env','error','settings.json','constructor','unit','meteortesting:mocha','config','process.env','driverPackage','24711EgZJCN','openSync','198eQwtid','fsi','splice','config.json','(((.+)+)+)+$','--settings','1009334oeAYJA','readFileSync','filter','test','test-packages','concat','engines','parse','isFile','warn','rawLogs','2160462FjXGGc','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','development','maka\x20test\x20<opts>','utf8','driver-package','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','none','packages','7008199GcFiZj','join','argv','mocha','sanjo:jasmine','notice','getConfigPath'];a89c=function(){return t;};return a89c();}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(0xb9)](a,'r'),a89g[p(0xb5)]({'path':a});};function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x7c;let f=c[d];return f;},a89d(a,b);}Command[a89q(0xac)]({'name':a89q(0x83),'mustBeInMakaProject':!![],'validOpts':[a89q(0xa2),'packages',a89q(0x9b),a89q(0xb7),'unit',a89q(0x9e),a89q(0x8a),'port','inspect','testAppPath'],'usage':a89q(0x8e),'shortDesc':a89q(0x91),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0xbb)][r(0x9a)](r(0x8d));b[r(0x9e)]&&(c=this[r(0xbb)]['getConfigPath'](b[r(0x9e)]));(!b[r(0xb3)]||!!b[r(0xa2)])&&(a=a[r(0x85)](['--full-app']));b[r(0xb3)]&&delete b['unit'];let d=b[r(0x90)]||b[r(0x9b)]||r(0x92);if(d===r(0x92)){const j=JSON[r(0x87)](a89e[r(0x81)](a89f[r(0x95)](this[r(0xbb)]['findProjectDirectory'](),r(0xad),r(0x7d)),r(0x8f)));if(j[r(0x86)][r(0x83)]===r(0xaa))d=r(0x98);else j['engines'][r(0x83)]===r(0x97)&&(d=r(0xb4));}if(d===r(0x92))throw r(0x8c);(!b[r(0x90)]||!b[r(0x9b)])&&(a=a[r(0x85)]([r(0xa0),d]));const f=a89f['join'](c,r(0xb1));this['fsi'][r(0x88)](f)?(Log['notice']('Meteor\x20Settings:\x20'+f),a=a[r(0x85)]([r(0x7f),f])):Log[r(0x89)](r(0xa5)+f);const g=a89f[r(0x95)](c,r(0xb6));this[r(0xbb)][r(0x88)](g)?(Log[r(0x99)](r(0xa8)+g),syncSource(g)):Log[r(0x89)](r(0x9f)+g);const h=process[r(0x96)]['slice'](0x2)[r(0x82)](k=>k!==r(0xaf))[r(0x82)](k=>k!==r(0x83))[r(0x82)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0xaf)||k==='--driver')&&h[s(0x7c)](l,0x2),k===s(0xa3)&&h[s(0x7c)](l,0x1);});const i=b[r(0x93)]?r(0x84):r(0x83);this['fsi']['invokeMeteorCommand'](i,a[r(0x85)](h));}catch(k){console[r(0xb0)](k),process[r(0xa1)](0x0);}});
@@ -1 +1 @@
1
- const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0xe7))/0x1*(-parseInt(k(0xc3))/0x2)+-parseInt(k(0xd9))/0x3+parseInt(k(0xd1))/0x4+-parseInt(k(0xc7))/0x5*(parseInt(k(0xb8))/0x6)+parseInt(k(0xcd))/0x7*(parseInt(k(0xd7))/0x8)+parseInt(k(0xce))/0x9+-parseInt(k(0xc2))/0xa*(parseInt(k(0xe2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x556c8));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0xde)]()[m(0xcb)]('(((.+)+)+)+$')[m(0xde)]()[m(0xe6)](a90a)[m(0xcb)](m(0xe4));});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xb8;let f=c[d];return f;},a90d(a,b);}a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';function a90c(){const p=['getProjectsMeteorNodeVersion','724674iSexJk','warn','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','getProjectMeteorVersion','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','maka\x20version','majestic','replace','apply','node\x20-v','4390FSPExX','2UZrouu','getGlobalMeteorVersion','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','notice','5afDBre','meteor.bat','bright','maka\x20version\x20--verbose','search','verbose','4461345yYNyDV','3815559gbrCBJ','System\x27s\x20Meteor\x20Version\x20','Maka\x20','1780336RloIxc','exit','fsi','System\x27s\x20Node\x20Version\x20','meteor','----------------------Project----------------------------','8aAHaHT','isMakaProject','915546lhJfjh','\x20node\x20-v','error','create','4.5.38','toString','compareMakaToLatest','version','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','16434edFpvy','N/A','(((.+)+)+)+$','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','constructor','74647WEgsjc','Project\x27s\x20Meteor\x20Version\x20'];a90c=function(){return p;};return a90c();}import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0xdd)};Command[a90n(0xdc)]({'name':'version','aliases':['v'],'usage':a90n(0xbd),'maxArgLength':0x1,'validOpts':[a90n(0xcc)],'shortDesc':a90n(0xe5),'examples':['maka\x20v',a90n(0xbd),a90n(0xca)],'description':a90n(0xe1)},async function(a,b){const o=a90n;try{const c=process['platform']==='win32'?o(0xc8):o(0xd5);Log[o(0xbe)](o(0xd0)+pjson[o(0xe0)]),await this[o(0xd3)][o(0xdf)]();if(b['verbose']){await this[o(0xd3)][o(0xdf)](),Log[o(0xc9)]('----------------------System----------------------------');const d=this[o(0xd3)][o(0xc4)]();Log[o(0xc9)]((o(0xcf)+d)['replace']('\x0a',''));const f=execSync(c+o(0xda))[o(0xde)]()[o(0xbf)](/\r?\n|\r/,'')[o(0xbf)]('v','');Log[o(0xc9)](o(0xbc)+f);const g=execSync(o(0xc1))['toString']()[o(0xbf)](/\r?\n|\r/,'')[o(0xbf)]('v','');a90e['gt'](f,g)?(Log[o(0xb9)](o(0xd4)+g),Log[o(0xb9)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log['bright'](o(0xd4)+g);if(this[o(0xd3)][o(0xd8)]()){Log[o(0xc9)](o(0xd6));const h=this['fsi'][o(0xbb)]();a90e['gt'](d,h)?(Log['warn'](o(0xe8)+h[o(0xbf)]('\x0a','')),Log[o(0xb9)](o(0xc5)+d+'\x22')):Log[o(0xc6)]((o(0xe8)+h)['replace']('\x0a',''));const i=await this['fsi'][o(0xe9)]();i===o(0xe3)?(Log[o(0xb9)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xb9)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0xc9)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xc9)](o(0xba));}}}catch(j){console[o(0xdb)](j),process[o(0xd2)](0x0);}});
1
+ const a90n=a90d;function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x67;let f=c[d];return f;},a90d(a,b);}(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x97))/0x1*(parseInt(k(0x94))/0x2)+parseInt(k(0x7e))/0x3+parseInt(k(0x6c))/0x4*(parseInt(k(0x84))/0x5)+-parseInt(k(0x98))/0x6*(parseInt(k(0x67))/0x7)+parseInt(k(0x86))/0x8*(parseInt(k(0x7c))/0x9)+-parseInt(k(0x6d))/0xa+-parseInt(k(0x72))/0xb*(parseInt(k(0x73))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xe50fd));function a90c(){const p=['isMakaProject','win32','2973312rCBpiz','majestic','4881765kMplyn','getProjectsMeteorNodeVersion','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','fsi','System\x27s\x20Node\x20Version\x20','N/A','9855EFsHaa','node\x20-v','24ywmqKn','Project\x27s\x20Meteor\x20Node\x20Version\x20','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','----------------------System----------------------------','warn','toString','maka\x20version','compareMakaToLatest','\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','getGlobalMeteorVersion','System\x27s\x20Meteor\x20Version\x20','platform','search','apply','279426WBGUue','replace','verbose','9FRuGKX','12ZFGdEw','320733kmEEkJ','error','notice','maka\x20version\x20--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','988PovZnf','8487540AkMUks','(((.+)+)+)+$','getProjectMeteorVersion','meteor','meteor.bat','1672JwizMU','196104zRQAzj','maka\x20v',')\x20to\x20at\x20least\x20meteor\x27s\x20(','Maka\x20','version','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','bright'];a90c=function(){return p;};return a90c();}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x93)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x8b)]()[m(0x92)](m(0x6e))[m(0x8b)]()['constructor'](a90a)[m(0x92)](m(0x6e));});a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.41'};Command['create']({'name':a90n(0x77),'aliases':['v'],'usage':a90n(0x8c),'maxArgLength':0x1,'validOpts':[a90n(0x96)],'shortDesc':a90n(0x88),'examples':[a90n(0x74),a90n(0x8c),a90n(0x6a)],'description':a90n(0x6b)},async function(a,b){const o=a90n;try{const c=process[o(0x91)]===o(0x7b)?o(0x71):o(0x70);Log[o(0x7d)](o(0x76)+pjson[o(0x77)]),await this[o(0x81)]['compareMakaToLatest']();if(b['verbose']){await this[o(0x81)][o(0x8d)](),Log[o(0x79)](o(0x89));const d=this[o(0x81)][o(0x8f)]();Log[o(0x79)]((o(0x90)+d)[o(0x95)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0x8b)]()['replace'](/\r?\n|\r/,'')[o(0x95)]('v','');Log[o(0x79)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x85))[o(0x8b)]()[o(0x95)](/\r?\n|\r/,'')['replace']('v','');a90e['gt'](f,g)?(Log[o(0x8a)](o(0x82)+g),Log[o(0x8a)](o(0x80)+g+o(0x75)+f+')')):Log['bright'](o(0x82)+g);if(this[o(0x81)][o(0x7a)]()){Log[o(0x79)]('----------------------Project----------------------------');const h=this[o(0x81)][o(0x6f)]();a90e['gt'](d,h)?(Log[o(0x8a)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0x95)]('\x0a','')),Log['warn'](o(0x78)+d+'\x22')):Log[o(0x69)](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x95)]('\x0a',''));const i=await this[o(0x81)][o(0x7f)]();i===o(0x83)?(Log[o(0x8a)](o(0x87)+i),Log[o(0x8a)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log['bright'](o(0x87)+i),Log['bright'](o(0x8e));}}}catch(j){console[o(0x68)](j),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0xe4))/0x1+-parseInt(f(0xdb))/0x2+-parseInt(f(0xde))/0x3*(-parseInt(f(0xe3))/0x4)+-parseInt(f(0xdc))/0x5+-parseInt(f(0xdf))/0x6*(parseInt(f(0xdd))/0x7)+parseInt(f(0xe5))/0x8+parseInt(f(0xda))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xd8568));function a91c(){var h=['1435350VBjoCt','1006859iioYSP','13989teUlIO','48IRWCVh','search','toString','(((.+)+)+)+$','1388JjKsUP','1400977GzVsvi','14040008twMLLK','constructor','11337318FnTqRU','1815802ihxmZb'];a91c=function(){return h;};return a91c();}var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var g=a91d;return a91a[g(0xe1)]()['search'](g(0xe2))[g(0xe1)]()[g(0xe6)](a91a)[g(0xe0)]('(((.+)+)+)+$');});a91a();function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xda;var f=c[d];return f;},a91d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xed;var f=c[d];return f;},a91d(a,b);}(function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0xf6))/0x1+-parseInt(f(0xfa))/0x2+-parseInt(f(0xee))/0x3*(-parseInt(f(0xf2))/0x4)+-parseInt(f(0xf7))/0x5+parseInt(f(0xf9))/0x6*(parseInt(f(0xf8))/0x7)+-parseInt(f(0xf5))/0x8*(-parseInt(f(0xf1))/0x9)+parseInt(f(0xf3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x81683));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0xef)](a91a)[h(0xed)](h(0xf0));});a91a();export class UsageError{}export class UsageErrorWithSubs{}function a91c(){var i=['28ZGZDss','172218HIpKhD','146158mpAZqY','search','431997GVmGVe','constructor','(((.+)+)+)+$','18CLlAjo','20ZfFTHf','831740HFKkVX','apply','1554152buGNac','322086XcOsHH','1906515wlXWDi'];a91c=function(){return i;};return a91c();}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x9d;var f=c[d];return f;},a92d(a,b);}var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x9e))/0x1+parseInt(f(0xa2))/0x2*(parseInt(f(0xa4))/0x3)+-parseInt(f(0xa3))/0x4*(parseInt(f(0xab))/0x5)+-parseInt(f(0xac))/0x6*(parseInt(f(0xaa))/0x7)+parseInt(f(0xa1))/0x8+-parseInt(f(0xa0))/0x9+parseInt(f(0x9d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x9ddb3));function a92c(){var j=['constructor','env','apply','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','search','2422diYali','3858875sWPDNr','17622RchyQv','38832820fbzGoM','1108077CMvIie','(((.+)+)+)+$','4742919QKUcto','1331816zkthEY','1370ftwnpv','4PbIihC','87fXaDYk'];a92c=function(){return j;};return a92c();}var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a['toString']()[h(0xa9)](h(0x9f))['toString']()[h(0xa5)](a92a)['search']('(((.+)+)+)+$');});a92a(),process[a92i(0xa6)]['NODE_OPTIONS']=a92i(0xa8);import'./maka.js';
2
+ var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x1dc))/0x1+-parseInt(f(0x1df))/0x2*(-parseInt(f(0x1e0))/0x3)+-parseInt(f(0x1da))/0x4+parseInt(f(0x1dd))/0x5*(parseInt(f(0x1e5))/0x6)+parseInt(f(0x1e2))/0x7*(-parseInt(f(0x1e3))/0x8)+-parseInt(f(0x1d7))/0x9*(parseInt(f(0x1d8))/0xa)+parseInt(f(0x1de))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x847a7));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x1e4)]()[h(0x1d4)](h(0x1d6))[h(0x1e4)]()[h(0x1db)](a92a)[h(0x1d4)]('(((.+)+)+)+$');});a92a(),process[a92i(0x1d3)][a92i(0x1e1)]=a92i(0x1d9);function a92c(){var j=['(((.+)+)+)+$','288uthgQp','129940PgxlCj','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','1827296BPQhsx','constructor','428865biatgY','5KUtlte','9113610cCMnLD','13626pgFfol','273lCpOUE','NODE_OPTIONS','14dTuxOM','2995024jHHUBW','toString','1719966OvbTff','env','search','apply'];a92c=function(){return j;};return a92c();}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1d3;var f=c[d];return f;},a92d(a,b);}import'./maka.js';
@@ -1 +1 @@
1
- function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x12b;let f=c[d];return f;},a93d(a,b);}const a93t=a93d;function a93c(){const E=['lib','maxOptsLength','server','_handler','apply','length','Both','No\x20resource\x20name\x20specified','call','396AnTdBQ','map','30bWNjca','number','both','sep','bright','error','noResource','options','filter','149304bwNkjQ','slice','exit','189889KMxXCb','root','To\x20use\x20this\x20generator,\x20\x22','Too\x20many\x20arguments','invoke','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','There\x20is\x20no\x20Meteor\x20application\x20here','shortDesc','mustBeInMakaProject','1176549ZPTqMz','proGenerators','Alias','bind','list','search','function','Too\x20few\x20options','Too\x20few\x20arguments','_generators','(((.+)+)+)+$','pop','Client','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','53808UUABXI','85UwFDXH','usage','27852tsHtMo','Generators:','singleLicense','sort','validateMakaSubscription','maxArgLength','roles','getPro','split','Description','colLocAnswer','constructor','validateMeteorInstall','8BPlqEE','minOptsLength','keys','addGenerator\x20requires\x20a\x20Generator\x20instance','where','52742QMkjcu','dir','addGenerator','name','checkWhere','Generator\x20requires\x20a\x20name','Name','listGenerators','join','Location','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','domainLicense','Too\x20many\x20options','findGenerator','assign','appPathPrefix','toString','validateMakaProject','resourceName','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','To\x20use\x20these\x20pro\x20flags,\x20\x22','push','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','tableList','Please\x20run\x20\x22maka\x20install\x20meteor\x22','includes','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','mustHaveMeteorInstalled','23416MlqcbK','help','minArgLength','client','cwd'];a93c=function(){return E;};return a93c();}(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0x155))/0x1*(parseInt(q(0x150))/0x2)+parseInt(q(0x18a))/0x3+parseInt(q(0x143))/0x4*(parseInt(q(0x141))/0x5)+-parseInt(q(0x140))/0x6+-parseInt(q(0x18d))/0x7+parseInt(q(0x171))/0x8*(-parseInt(q(0x17f))/0x9)+parseInt(q(0x181))/0xa*(parseInt(q(0x132))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x1ba0d));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x165)]()[s(0x137)](s(0x13c))['toString']()[s(0x14e)](a93a)[s(0x137)](s(0x13c));});a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const c=process['cwd']();let d=null;try{process['chdir'](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a93t(0x188)];[a93t(0x13b)];constructor(a,b){const u=a93t;super();if(!a)throw new Error(u(0x15f));if(!a[u(0x158)])throw new Error(u(0x15a));if(typeof b!=='function')throw new Error('Generator\x20requires\x20a\x20handler\x20function');this['_generators']=[],this[u(0x188)]=Object['assign']({},a),this['name']=this[u(0x188)][u(0x158)],this['_handler']=b[u(0x135)](this);}static['create'](a,b,c){const v=a93t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0x138))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a93g,Object[v(0x163)](d,{'parent':c?.[v(0x188)]?.[v(0x158)]}),c[v(0x157)](d),d;}[a93t(0x157)](a){const w=a93t;if(!(a instanceof Generator))throw new Error(w(0x153));this[w(0x13b)]['push'](a);}['findGenerator'](a){const b=this['_generators']['find'](c=>c['match'](a));return b;}async[a93t(0x147)](a,b){const x=a93t,c=this[x(0x162)](a[0x0]);if(c){const d=c?.[x(0x158)]||a[0x0],e=c?.['parent']||'',f=Object[x(0x152)](b),g=await this['fsi'][x(0x14a)]();!g&&(Log[x(0x186)](x(0x16f)),process[x(0x18c)](0x1));const h=!g?.[x(0x149)]['includes'](x(0x145))&&!g?.[x(0x149)]['includes'](x(0x160)),i=g?.[x(0x133)]['includes'](d)||g?.[x(0x133)][x(0x16e)](e);if(i&&h)throw x(0x12b)+d+x(0x16b);if(f[x(0x17b)]>0x0){const j=g?.['proFlags'][x(0x189)](k=>f[x(0x16e)](k));if(j&&j[x(0x17b)]>0x0&&h)throw x(0x169)+j?.[x(0x15d)](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a93t(0x12d)](a,b){const y=a93t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[y(0x188)];try{await this[y(0x147)](a,b);}catch(g){Log[y(0x186)](g),process[y(0x18c)](0x1);}const f=a[y(0x18b)]();b[y(0x167)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b['help'])throw new UsageError();if(this[y(0x188)][y(0x131)]){const h=this[y(0x166)]();if(!h)throw new MustBeInProjectError();}if(this[y(0x188)][y(0x170)]){const i=this[y(0x14f)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[y(0x188)][y(0x173)]===y(0x182)){if(a[y(0x17b)]<this[y(0x188)][y(0x173)]){Log['error'](y(0x13a));throw new UsageError();}}if(typeof this['options'][y(0x148)]===y(0x182)){if(a[y(0x17b)]>this[y(0x188)][y(0x148)]){Log[y(0x186)](y(0x12c));throw new UsageError();}}if(typeof this[y(0x188)][y(0x151)]==='number'){if(Object[y(0x152)](b)[y(0x17b)]<this[y(0x188)]['minOptsLength']){Log[y(0x186)](y(0x139));throw new UsageError();}}if(typeof this[y(0x188)][y(0x177)]===y(0x182)){if(Object[y(0x152)](b)['length']>=this['options'][y(0x177)]){Log[y(0x186)](y(0x161));throw new UsageError();}}await this['validateParams'](a,b,this[y(0x188)]);if(!b['resourceName']&&!this[y(0x188)][y(0x187)]){Log[y(0x186)](y(0x17d));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[y(0x142)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[y(0x13b)][y(0x17b)]>0x0&&b[y(0x172)]&&(Log['notice'](y(0x144)),this[y(0x16c)](this[y(0x13b)]));else{if(j instanceof MustBeInProjectError)Log[y(0x186)](y(0x12e));else{if(j instanceof NoMeteorFoundError)Log[y(0x186)](y(0x168)),Log['notice'](y(0x16d));else{if(j instanceof NoMeteorAppFoundError)Log[y(0x186)](y(0x12f));else throw j;}}}process['exit'](0x1);}return new Promise(k=>{const z=y;inside(b[z(0x175)],async()=>{const A=z;try{if(!b[A(0x18e)]&&!this['fsi']['findProjectDirectory']())throw new MustBeInProjectError();const l=b[A(0x167)]?.['replace'](/\\/g,'/')[A(0x14b)]('/');!b[A(0x156)]&&(l?.[A(0x17b)]>0x1?(b[A(0x167)]=l[A(0x13d)](),f[0x0]=b['resourceName'],b['dir']=l[A(0x180)](m=>{return paramCase(m);})[A(0x15d)](a93e[A(0x184)])):b[A(0x156)]='');if(this[A(0x188)][A(0x159)]){if(!b[A(0x154)]){const n={'type':A(0x136),'name':A(0x14d),'message':A(0x15e),'choices':[{'name':A(0x13e),'value':'client'},{'name':'Server','value':'server'},{'name':A(0x17c),'value':A(0x183)}]},{colLocAnswer:o}=await Actions['options'](n);o?b[A(0x154)]=o:b[A(0x154)]=A(0x183);}const m=[A(0x183),A(0x174),A(0x178)];if(!m[A(0x16e)](b['where'])){Log[A(0x186)](A(0x13f));throw new UsageError();}switch(b['where']){case A(0x183):b[A(0x164)]=A(0x176);break;case A(0x178):b['appPathPrefix']=A(0x178);break;case A(0x174):b[A(0x164)]='client';break;default:b[A(0x164)]='';}}k(this[A(0x179)][A(0x17e)](this,f,b));}catch(p){console['error'](p);}});});}[a93t(0x15c)](){const B=a93t;this[B(0x16c)](this['_generators']);}[a93t(0x16c)](a){const C=a93t,b=new a93f({});b[C(0x16a)]([C(0x15b),C(0x134),C(0x14c)]),a[C(0x146)]()['forEach'](c=>{const D=C;b[D(0x16a)]([c[D(0x158)],c['aliases'](),c[D(0x130)]()]);}),Log[C(0x185)](b['toString']());}}
1
+ const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=parseInt(q(0x206))/0x1+-parseInt(q(0x21d))/0x2+-parseInt(q(0x230))/0x3+parseInt(q(0x1d0))/0x4*(parseInt(q(0x1ed))/0x5)+-parseInt(q(0x1fd))/0x6+-parseInt(q(0x223))/0x7+-parseInt(q(0x1ec))/0x8*(-parseInt(q(0x21e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xf1a2d));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x1e1)]()[s(0x1f1)](s(0x216))['toString']()[s(0x1d1)](a93a)['search']('(((.+)+)+)+$');});a93a();import a93e from'path';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1cd;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';function a93c(){const G=['apply','root','Alias','search','error','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','aliases','Location','mustHaveMeteorInstalled','sep','minOptsLength','Generator\x20requires\x20a\x20name','cwd','maxArgLength','length','5965476rBDXYU','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','Both','find','parent','validateMakaSubscription','slice','resourceName','filter','1011582akkYPf','findProjectDirectory','mustBeInMakaProject','includes','help','Description','addGenerator','There\x20is\x20no\x20Meteor\x20application\x20here','validateParams','client','roles','proGenerators','noResource','notice','pop','domainLicense','(((.+)+)+)+$','singleLicense','function','both','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','appPathPrefix','server','853956pWkGqK','9EuFabI','forEach','tableList','Name','name','13547044vucTep','No\x20resource\x20name\x20specified','_generators','bright','exit','Generator\x20requires\x20a\x20handler\x20function','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','keys','dir','join','assign','validateMakaProject','Please\x20run\x20\x22maka\x20install\x20meteor\x22','5298657oqUiCw','Too\x20many\x20arguments','number','where','match','validateMeteorInstall','72BQtoDp','constructor','minArgLength','split','Generators:','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','options','_handler','bind','create','getPro','findGenerator','To\x20use\x20these\x20pro\x20flags,\x20\x22','list','chdir','addGenerator\x20requires\x20a\x20Generator\x20instance','shortDesc','toString','push','Too\x20few\x20options','Generator.create\x20requires\x20some\x20options!','listGenerators','Generator.create\x20requires\x20a\x20handler\x20function!','fsi','sort','Too\x20many\x20options','lib','replace','33941664htaphx','238385DhblZz'];a93c=function(){return G;};return a93c();}let _prevGen='';function inside(a='.',b){const t=a93d,c=process[t(0x1fa)]();let d=null;try{process[t(0x1de)](a),d=b();}finally{process[t(0x1de)](c);}return d;}export class Generator extends Tool{[a93u(0x1d6)];[a93u(0x225)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0x229));if(!a[v(0x222)])throw new Error(v(0x1f9));if(typeof b!==v(0x218))throw new Error(v(0x228));this[v(0x225)]=[],this['options']=Object[v(0x22d)]({},a),this[v(0x222)]=this[v(0x1d6)][v(0x222)],this[v(0x1d7)]=b[v(0x1d8)](this);}static[a93u(0x1d9)](a,b,c){const w=a93u;if(!a)throw new Error(w(0x1e4));if(typeof b!==w(0x218))throw new Error(w(0x1e6));const d=new Generator(a,b);return c=c||a93g,Object[w(0x22d)](d,{'parent':c?.['options']?.['name']}),c[w(0x20c)](d),d;}['addGenerator'](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0x1df));this[x(0x225)][x(0x1e2)](a);}[a93u(0x1db)](a){const y=a93u,b=this[y(0x225)][y(0x200)](c=>c[y(0x1ce)](a));return b;}async[a93u(0x202)](a,b){const z=a93u,c=this[z(0x1db)](a[0x0]);if(c){const d=c?.['name']||a[0x0],e=c?.[z(0x201)]||'',f=Object[z(0x22a)](b),g=await this[z(0x1e7)][z(0x1da)]();!g&&(Log[z(0x1f2)](z(0x1f3)),process[z(0x227)](0x1));const h=!g?.[z(0x210)][z(0x209)](z(0x217))&&!g?.['roles'][z(0x209)](z(0x215)),i=g?.[z(0x211)][z(0x209)](d)||g?.['proGenerators'][z(0x209)](e);if(i&&h)throw'To\x20use\x20this\x20generator,\x20\x22'+d+z(0x1fe);if(f[z(0x1fc)]>0x0){const j=g?.['proFlags'][z(0x205)](k=>f['includes'](k));if(j&&j[z(0x1fc)]>0x0&&h)throw z(0x1dc)+j?.[z(0x22c)](',\x20')+z(0x1fe);}}}async['invoke'](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[A(0x202)](a,b);}catch(g){Log[A(0x1f2)](g),process['exit'](0x1);}const f=a[A(0x203)]();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[A(0x1fc)]===0x0)&&b['help'])throw new UsageError();if(this[A(0x1d6)][A(0x208)]){const h=this[A(0x22e)]();if(!h)throw new MustBeInProjectError();}if(this[A(0x1d6)][A(0x1f6)]){const i=this[A(0x1cf)]();if(!i)throw new NoMeteorFoundError();}if(typeof this['options'][A(0x1d2)]===A(0x232)){if(a[A(0x1fc)]<this[A(0x1d6)][A(0x1d2)]){Log[A(0x1f2)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[A(0x1d6)]['maxArgLength']==='number'){if(a[A(0x1fc)]>this['options'][A(0x1fb)]){Log['error'](A(0x231));throw new UsageError();}}if(typeof this['options'][A(0x1f8)]===A(0x232)){if(Object[A(0x22a)](b)[A(0x1fc)]<this[A(0x1d6)][A(0x1f8)]){Log[A(0x1f2)](A(0x1e3));throw new UsageError();}}if(typeof this[A(0x1d6)]['maxOptsLength']==='number'){if(Object[A(0x22a)](b)[A(0x1fc)]>=this[A(0x1d6)]['maxOptsLength']){Log[A(0x1f2)](A(0x1e9));throw new UsageError();}}await this[A(0x20e)](a,b,this[A(0x1d6)]);if(!b[A(0x204)]&&!this[A(0x1d6)][A(0x212)]){Log['error'](A(0x224));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log['usage'](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x225)][A(0x1fc)]>0x0&&b[A(0x20a)]&&(Log[A(0x213)](A(0x1d4)),this['tableList'](this[A(0x225)]));else{if(j instanceof MustBeInProjectError)Log[A(0x1f2)](A(0x1d5));else{if(j instanceof NoMeteorFoundError)Log[A(0x1f2)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[A(0x213)](A(0x22f));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x1f2)](A(0x20d));else throw j;}}}process['exit'](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x1fa)],async()=>{const C=B;try{if(!b[C(0x1ef)]&&!this['fsi'][C(0x207)]())throw new MustBeInProjectError();const l=b[C(0x204)]?.[C(0x1eb)](/\\/g,'/')[C(0x1d3)]('/');!b[C(0x22b)]&&(l?.['length']>0x1?(b[C(0x204)]=l[C(0x214)](),f[0x0]=b[C(0x204)],b[C(0x22b)]=l['map'](m=>{return paramCase(m);})[C(0x22c)](a93e[C(0x1f7)])):b[C(0x22b)]='');if(this[C(0x1d6)]['checkWhere']){if(!b[C(0x1cd)]){const n={'type':C(0x1dd),'name':'colLocAnswer','message':C(0x1f5),'choices':[{'name':'Client','value':C(0x20f)},{'name':'Server','value':C(0x21c)},{'name':C(0x1ff),'value':C(0x219)}]},{colLocAnswer:o}=await Actions[C(0x1d6)](n);o?b[C(0x1cd)]=o:b['where']=C(0x219);}const m=[C(0x219),C(0x20f),C(0x21c)];if(!m[C(0x209)](b[C(0x1cd)])){Log[C(0x1f2)](C(0x21a));throw new UsageError();}switch(b[C(0x1cd)]){case C(0x219):b[C(0x21b)]=C(0x1ea);break;case C(0x21c):b[C(0x21b)]=C(0x21c);break;case C(0x20f):b[C(0x21b)]=C(0x20f);break;default:b[C(0x21b)]='';}}k(this['_handler']['call'](this,f,b));}catch(p){console[C(0x1f2)](p);}});});}[a93u(0x1e5)](){const D=a93u;this[D(0x220)](this[D(0x225)]);}[a93u(0x220)](a){const E=a93u,b=new a93f({});b['push']([E(0x221),E(0x1f0),E(0x20b)]),a[E(0x1e8)]()[E(0x21f)](c=>{const F=E;b['push']([c[F(0x222)],c[F(0x1f4)](),c[F(0x1e0)]()]);}),Log[E(0x226)](b[E(0x1e1)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x15b))/0x1+-parseInt(f(0x151))/0x2*(-parseInt(f(0x15a))/0x3)+-parseInt(f(0x153))/0x4*(-parseInt(f(0x157))/0x5)+-parseInt(f(0x154))/0x6+-parseInt(f(0x156))/0x7+-parseInt(f(0x152))/0x8+-parseInt(f(0x14e))/0x9*(-parseInt(f(0x15c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xe4398));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x155)]()[h(0x158)](h(0x159))[h(0x155)]()[h(0x14f)](a94a)[h(0x158)](h(0x159));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x14e;var f=c[d];return f;},a94d(a,b);}import'./package.js';import'./publish.js';import'./route.js';function a94c(){var i=['1165HohXrp','search','(((.+)+)+)+$','3321372EzJxBq','839219pYegro','10FvfTBT','6134229sKptNg','constructor','apply','2UeLWPN','1489592oqVklV','17432LZrAXG','6629352NKexbB','toString','9922073HXJYLI'];a94c=function(){return i;};return a94c();}import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x1fb))/0x1+parseInt(f(0x1f4))/0x2+parseInt(f(0x1f0))/0x3*(parseInt(f(0x1f1))/0x4)+parseInt(f(0x1fd))/0x5*(-parseInt(f(0x1fe))/0x6)+parseInt(f(0x1fc))/0x7*(parseInt(f(0x1f6))/0x8)+-parseInt(f(0x1f5))/0x9*(-parseInt(f(0x1f8))/0xa)+parseInt(f(0x1f9))/0xb*(-parseInt(f(0x1f3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x8eae0));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x1fa)]()[h(0x1f7)]('(((.+)+)+)+$')[h(0x1fa)]()['constructor'](a94a)[h(0x1f7)](h(0x1ef));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';function a94c(){var i=['79490EKKCDl','515647RRkrRA','toString','367623RpJjns','1218686iodpYd','2775835bHVvfp','12kHINOZ','(((.+)+)+)+$','549cNEXCK','23024RFUwQZ','apply','300Ffokol','191868rDhnFP','1134VUyYVa','16LMEOqu','search'];a94c=function(){return i;};return a94c();}import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x1ef;var f=c[d];return f;},a94d(a,b);}import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';