@maka/maka-cli 4.8.6 → 4.8.7

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 (147) 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/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=-parseInt(w(0xa4))/0x1+parseInt(w(0x77))/0x2+-parseInt(w(0x93))/0x3+parseInt(w(0x79))/0x4*(-parseInt(w(0x8d))/0x5)+parseInt(w(0xa6))/0x6+parseInt(w(0x7e))/0x7*(parseInt(w(0x84))/0x8)+parseInt(w(0xa3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x330a1));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x83)]()[y(0x71)]('(((.+)+)+)+$')[y(0x83)]()['constructor'](a77a)[y(0x71)](y(0x70));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x70;let f=c[d];return f;},a77d(a,b);}import{HTTPS}from'../tools/https/https.class.js';function a77c(){const B=['Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','3252807ULtFjx','400519JvSaXx','password','1320846eiVKrC','assign','(((.+)+)+)+$','search','/api/v1/login','Logs\x20in\x20to\x20www.maka-cli.com','error','setGlobalConfig','toHex','238854tWpDZD','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','268CTcYpw','cacert','start','maka\x20login','update','49jaODLp','/api/v1/status','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','/api/v1/encodeJwt','Logging\x20in','toString','326384VXBWmW','https://','create','localhost','success','ask','isFile','True','post','23965HfCxgE','cert','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','help','MAKA_DEV','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','167610dYoCzd','apply','www.maka-cli.com','Logging\x20into\x20https://','failure','digest','Preflight\x20Check','fsi','exit','email','Email:','get','debug','authToken','env'];a77c=function(){return B;};return a77c();}const hostname=process[a77z(0xa1)][a77z(0x91)]===a77z(0x8b)?a77z(0x87):a77z(0x95);Command[a77z(0x86)]({'name':'login','validOpts':['email',a77z(0xa5),a77z(0x90),a77z(0x7a),a77z(0x9f)],'usage':a77z(0x7c),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0x73),'examples':[a77z(0x7c),a77z(0x8f)]},async function(a,b){const A=a77z,c=Log['withSpinner']();try{let d='';b['cacert']&&(this[A(0x9a)]['isFile'](b[A(0x7a)])?(d=b[A(0x7a)],Log['notice']('Using\x20CA\x20Cert\x20'+d)):Log[A(0x74)](A(0x92)+d));const f=await this[A(0x9a)]['getGlobalConfig']();if(f['cert']){if(this[A(0x9a)][A(0x8a)](f['cert']))d=f[A(0x8e)];else{Log[A(0x74)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log['header'](A(0x96)+hostname);const g={'url':A(0x85)+hostname+A(0x7f)};b[A(0x7a)]&&Object[A(0xa7)](g,{'cert':d});c[A(0x7b)](A(0x99));const {statusCode:h}=await HTTPS[A(0x9e)](g);if(h===0x198){c['failure']();throw A(0xa2);}if(h!==0xc8){c[A(0x97)]();throw A(0x85)+hostname+A(0x80);}c[A(0x88)]();const i=b[A(0x9c)]?b['email']:await Actions[A(0x89)](A(0x9d)),j=b[A(0xa5)]?b[A(0xa5)]:await Actions[A(0x89)]('Password:\x20',!![]),k=a77e['md']['sha256'][A(0x86)]();k[A(0x7d)](j);const l=k[A(0x98)]()[A(0x76)](),m={'hostname':hostname,'path':A(0x72),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x7a)]&&Object[A(0xa7)](m,{'cert':d});c[A(0x7b)](A(0x82));const {data:n,statusCode:o}=await HTTPS[A(0x8c)](m);if(o===0x198){c['failure']('\x0a');throw A(0x78)+hostname;}const p=JSON['parse'](n);if(p[A(0xa0)]){const q={'hostname':hostname,'path':A(0x81),'headers':{'x-auth-token':p[A(0xa0)]},'data':{}};b[A(0x7a)]&&Object[A(0xa7)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x8c)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x78)+hostname;const u={'token':p,'hash':t};this[A(0x9a)][A(0x75)](u);}else{c[A(0x97)]();throw p;}c['success']();}catch(v){c[A(0x97)](),console['error'](v),process[A(0x9b)](0x0);}});
1
+ const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x155))/0x1*(-parseInt(w(0x158))/0x2)+parseInt(w(0x15e))/0x3+-parseInt(w(0x165))/0x4*(parseInt(w(0x13d))/0x5)+-parseInt(w(0x16e))/0x6*(-parseInt(w(0x15d))/0x7)+parseInt(w(0x151))/0x8*(parseInt(w(0x154))/0x9)+parseInt(w(0x145))/0xa+parseInt(w(0x14a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xbfe6f));function a77c(){const B=['Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','www.maka-cli.com','/api/v1/status','Logging\x20into\x20https://','True','constructor','5428650kjuclj','search','success','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','localhost','1094753HFUYIF','cert','header','Logs\x20in\x20to\x20www.maka-cli.com','https://','Email:','/api/v1/login','16efJsKj','notice','apply','4112757SzvBSF','36721DcftcK','error','Password:\x20','28kxZqNf','password','toHex','assign','Logging\x20in','7NUnLQG','1163772cyynme','isFile','maka\x20login','fsi','sha256','exit','authToken','8aTgeAx','(((.+)+)+)+$','create','parse','withSpinner','get','start','/api/v1/encodeJwt','toString','2275278SbhWVP','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','ask','setGlobalConfig','cacert','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','post','failure','2558365cpQKOL','email'];a77c=function(){return B;};return a77c();}const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x16d)]()[y(0x146)](y(0x166))['toString']()[y(0x144)](a77a)[y(0x146)](y(0x166));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x13d;let f=c[d];return f;},a77d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env']['MAKA_DEV']===a77z(0x143)?a77z(0x149):a77z(0x140);Command[a77z(0x167)]({'name':'login','validOpts':[a77z(0x13e),a77z(0x159),'help',a77z(0x172),'debug'],'usage':a77z(0x160),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0x14d),'examples':[a77z(0x160),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a77z,c=Log[A(0x169)]();try{let d='';b['cacert']&&(this[A(0x161)][A(0x15f)](b[A(0x172)])?(d=b[A(0x172)],Log[A(0x152)]('Using\x20CA\x20Cert\x20'+d)):Log[A(0x156)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[A(0x161)]['getGlobalConfig']();if(f[A(0x14b)]){if(this[A(0x161)][A(0x15f)](f[A(0x14b)]))d=f['cert'];else{Log['error'](A(0x148)+d);return;}}Log[A(0x14c)](A(0x142)+hostname);const g={'url':A(0x14e)+hostname+A(0x141)};b[A(0x172)]&&Object[A(0x15b)](g,{'cert':d});c['start']('Preflight\x20Check');const {statusCode:h}=await HTTPS[A(0x16a)](g);if(h===0x198){c['failure']();throw A(0x16f);}if(h!==0xc8){c[A(0x175)]();throw A(0x14e)+hostname+A(0x173);}c[A(0x147)]();const i=b[A(0x13e)]?b['email']:await Actions[A(0x170)](A(0x14f)),j=b['password']?b['password']:await Actions[A(0x170)](A(0x157),!![]),k=a77e['md'][A(0x162)]['create']();k['update'](j);const l=k['digest']()[A(0x15a)](),m={'hostname':hostname,'path':A(0x150),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x172)]&&Object[A(0x15b)](m,{'cert':d});c[A(0x16b)](A(0x15c));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x175)]('\x0a');throw A(0x13f)+hostname;}const p=JSON[A(0x168)](n);if(p[A(0x164)]){const q={'hostname':hostname,'path':A(0x16c),'headers':{'x-auth-token':p[A(0x164)]},'data':{}};b['cacert']&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x174)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x13f)+hostname;const u={'token':p,'hash':t};this[A(0x161)][A(0x171)](u);}else{c[A(0x175)]();throw p;}c[A(0x147)]();}catch(v){c['failure'](),console[A(0x156)](v),process[A(0x163)](0x0);}});
@@ -1 +1 @@
1
- const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0xe8))/0x1*(-parseInt(l(0x102))/0x2)+-parseInt(l(0xe9))/0x3+-parseInt(l(0x101))/0x4*(parseInt(l(0x100))/0x5)+parseInt(l(0xed))/0x6*(-parseInt(l(0xfc))/0x7)+-parseInt(l(0x107))/0x8*(-parseInt(l(0xf1))/0x9)+parseInt(l(0xf8))/0xa+parseInt(l(0xe4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xe39bd));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0xe0)]()[n(0x106)]('(((.+)+)+)+$')['toString']()['constructor'](a78a)[n(0x106)](n(0xe5));});a78a();import{Command}from'../command.js';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xdb;let f=c[d];return f;},a78d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a78c(){const q=['cert','9YxgCNo','1256325lQsQwf','header','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','isFile','5493342DfNvqa','Preflight\x20Check','exit','MAKA_DEV','9SOnAaU','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','failure','cacert','error','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','authToken','14588040oYVWuf','https://','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','create','7mcTHZf','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','assign','Logging\x20out\x20of\x20https://','1460VeebJY','24952rpZoDs','345846wOTKGY','maka\x20logout','fsi','start','search','3884344EuHTth','token','logout','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','get','notice','toString','success','apply','setGlobalConfig','40700803aDnJLA','(((.+)+)+)+$','withSpinner'];a78c=function(){return q;};return a78c();}const hostname=process['env'][a78o(0xf0)]==='True'?'localhost':'www.maka-cli.com';Command[a78o(0xfb)]({'name':a78o(0xdc),'validOpts':['cacert'],'usage':a78o(0x103),'maxArgLength':0x2,'shortDesc':a78o(0xfd),'disableAuthCheck':!![],'examples':[a78o(0x103)]},async function(a,b){const p=a78o,c=Log[p(0xe6)]();try{let d='';b[p(0xf4)]&&(this[p(0x104)][p(0xec)](b[p(0xf4)])?(d=b[p(0xf4)],Log[p(0xdf)]('Using\x20CA\x20Cert\x20'+d)):Log[p(0xf5)](p(0xf6)+d));const f=await this[p(0x104)]['getGlobalConfig']();if(f[p(0xe7)]){if(this[p(0x104)][p(0xec)](f['cert']))d=f[p(0xe7)];else{c[p(0xf3)]();throw Log['error'](p(0xfa)+d);}}Log[p(0xea)](p(0xff)+hostname);const g={'url':p(0xf9)+hostname+'/api/v1/status'};b[p(0xf4)]&&Object['assign'](g,{'cert':d});c['start'](p(0xee));const {statusCode:h}=await HTTPS[p(0xde)](g);if(h===0x198){c[p(0xf3)]();throw p(0xdd);}c[p(0xe1)]();if(h!==0xc8){c['failure']();throw p(0xf2);}if(!f?.[p(0xdb)]?.[p(0xf7)])throw Log[p(0xf5)](p(0xeb));c[p(0x105)]('Logging\x20out');const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f[p(0xdb)][p(0xf7)]}};b[p(0xf4)]&&Object[p(0xfe)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c[p(0xf3)]('\x0a');throw p(0xdd);}this['fsi'][p(0xe3)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xe1)]();}catch(k){k&&console['error'](k),process[p(0xef)](0x0);}});
1
+ const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0xf2))/0x1*(-parseInt(l(0x103))/0x2)+parseInt(l(0xe6))/0x3*(parseInt(l(0xe8))/0x4)+parseInt(l(0xee))/0x5+-parseInt(l(0xde))/0x6+parseInt(l(0x102))/0x7+-parseInt(l(0x101))/0x8*(-parseInt(l(0xd8))/0x9)+-parseInt(l(0xfa))/0xa*(parseInt(l(0xea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x9bfe4));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0xff)]()[n(0xe0)](n(0xda))[n(0xff)]()[n(0xef)](a78a)[n(0xe0)]('(((.+)+)+)+$');});function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xd6;let f=c[d];return f;},a78d(a,b);}a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0xf8)][a78o(0xdf)]==='True'?a78o(0xfb):a78o(0xf3);Command[a78o(0xeb)]({'name':a78o(0xe9),'validOpts':['cacert'],'usage':a78o(0xd7),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a78o(0xd7)]},async function(a,b){const p=a78o,c=Log[p(0xdb)]();try{let d='';b['cacert']&&(this[p(0xe7)][p(0xe3)](b[p(0xfc)])?(d=b[p(0xfc)],Log[p(0xf4)](p(0xdd)+d)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi'][p(0xfe)]();if(f[p(0xe5)]){if(this['fsi'][p(0xe3)](f[p(0xe5)]))d=f[p(0xe5)];else{c[p(0xd6)]();throw Log[p(0xf1)](p(0xf0)+d);}}Log[p(0x104)](p(0x105)+hostname);const g={'url':'https://'+hostname+'/api/v1/status'};b[p(0xfc)]&&Object[p(0xf5)](g,{'cert':d});c[p(0xdc)](p(0x100));const {statusCode:h}=await HTTPS[p(0xf7)](g);if(h===0x198){c[p(0xd6)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c['success']();if(h!==0xc8){c[p(0xd6)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!f?.['token']?.[p(0xe4)])throw Log[p(0xf1)](p(0xe2));c['start']('Logging\x20out');const i={'hostname':hostname,'path':p(0xfd),'data':{},'headers':{'x-auth-token':f[p(0xe1)][p(0xe4)]}};b[p(0xfc)]&&Object[p(0xf5)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xf9)](i);if(j===0x198){c[p(0xd6)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0xe7)][p(0xd9)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xec)]();}catch(k){k&&console[p(0xf1)](k),process[p(0xf6)](0x0);}});function a78c(){const q=['6frqfPg','www.maka-cli.com','notice','assign','exit','get','env','post','18343330eXpICW','localhost','cacert','/api/v1/logoutAll','getGlobalConfig','toString','Preflight\x20Check','87464aXExsb','4682664SrEHGR','37280eHalzg','header','Logging\x20out\x20of\x20https://','failure','maka\x20logout','603SOgqYu','setGlobalConfig','(((.+)+)+)+$','withSpinner','start','Using\x20CA\x20Cert\x20','4795188hFQQMg','MAKA_DEV','search','token','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','isFile','authToken','cert','2779806Bwbton','fsi','4kLDcSZ','logout','11sDgDyX','create','success','apply','4162870ruRBiq','constructor','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','error'];a78c=function(){return q;};return a78c();}
@@ -1 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0xa3))/0x1*(-parseInt(j(0xa0))/0x2)+-parseInt(j(0x96))/0x3+parseInt(j(0x98))/0x4*(-parseInt(j(0xa4))/0x5)+parseInt(j(0xa7))/0x6+-parseInt(j(0x9e))/0x7+-parseInt(j(0x8f))/0x8*(parseInt(j(0xa1))/0x9)+parseInt(j(0x95))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xb1949));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0xaa)]()[l(0x92)]('(((.+)+)+)+$')[l(0xaa)]()[l(0x99)](a79a)[l(0x92)]('(((.+)+)+)+$');});a79a();import a79e from'fs';import a79f from'path';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x8f;let f=c[d];return f;},a79d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0x97)]({'name':'logs','aliases':['l',a79m(0xa6)],'usage':a79m(0x90),'requiredOpts':[a79m(0x9b)],'mustBeInMakaProject':!![],'validOpts':[a79m(0xa9)],'shortDesc':a79m(0x93),'examples':['maka\x20logs\x20--env\x20dev',a79m(0x91),a79m(0xa2)]},function(a,b){const n=a79m;try{const c='pm2\x20logs',d=this[n(0xab)][n(0x9a)](b[n(0x9b)]),f=a79f[n(0x9c)](d,'ssh.json'),g=a79e[n(0x9f)](f),h=JSON[n(0x9d)](g[n(0xaa)]());Object[n(0x94)](h,{'env':d}),SSH[n(0xa8)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});function a79c(){const o=['maka\x20logs\x20--env\x20staging','search','View\x20the\x20PM2\x20logs','assign','37093120UNqqER','3366012IimyBx','create','600iurirQ','constructor','getAppConfigPath','env','join','parse','8179948nYswQb','readFileSync','18lJINVQ','72Xjtqaf','maka\x20l\x20-e\x20p','43595bCtNzT','40420xEnUut','apply','log','6698292MJaKpI','sshSync','verbose','toString','fsi','987512JpYPUm','maka\x20logs'];a79c=function(){return o;};return a79c();}
1
+ const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x12f))/0x1+-parseInt(j(0x130))/0x2+-parseInt(j(0x117))/0x3+parseInt(j(0x11e))/0x4+parseInt(j(0x124))/0x5+parseInt(j(0x120))/0x6+parseInt(j(0x132))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xf034a));function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x117;let f=c[d];return f;},a79d(a,b);}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x11f)]()[l(0x131)](l(0x12a))['toString']()[l(0x125)](a79a)[l(0x131)](l(0x12a));});a79a();import a79e from'fs';import a79f from'path';function a79c(){const o=['env','maka\x20logs\x20--env\x20dev','2242504EmBJBS','toString','4594452wuTODV','verbose','apply','getAppConfigPath','5471320zUoAof','constructor','View\x20the\x20PM2\x20logs','log','maka\x20l\x20-e\x20p','readFileSync','(((.+)+)+)+$','sshSync','logs','pm2\x20logs','maka\x20logs\x20--env\x20staging','199109DaiDHD','3302390OlNTaD','search','8965390DhNOvY','2601648jSZmLQ','join','fsi','assign','parse'];a79c=function(){return o;};return a79c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command['create']({'name':a79m(0x12c),'aliases':['l',a79m(0x127)],'usage':'maka\x20logs','requiredOpts':[a79m(0x11c)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x121)],'shortDesc':a79m(0x126),'examples':[a79m(0x11d),a79m(0x12e),a79m(0x128)]},function(a,b){const n=a79m;try{const c=n(0x12d),d=this[n(0x119)][n(0x123)](b[n(0x11c)]),f=a79f[n(0x118)](d,'ssh.json'),g=a79e[n(0x129)](f),h=JSON[n(0x11b)](g[n(0x11f)]());Object[n(0x11a)](h,{'env':d}),SSH[n(0x12b)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x1f8))/0x1*(-parseInt(f(0x202))/0x2)+parseInt(f(0x1fb))/0x3+-parseInt(f(0x1e9))/0x4+parseInt(f(0x1ee))/0x5*(parseInt(f(0x1f0))/0x6)+-parseInt(f(0x1ef))/0x7*(parseInt(f(0x1ec))/0x8)+-parseInt(f(0x1f9))/0x9*(-parseInt(f(0x1ff))/0xa)+parseInt(f(0x1fc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xeedcd));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x1f3)]()[h(0x1f6)](h(0x1ed))[h(0x1f3)]()['constructor'](a80a)[h(0x1f6)](h(0x1ed));});a80a();function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a80d(a,b);}import{Command}from'../command.js';const Maka=new Command({'name':a80i(0x1f4),'minArgLength':0x1,'shortDesc':a80i(0x1f2),'validOpts':[],'usage':a80i(0x1ea),'disableAuthCheck':!![],'examples':[a80i(0x1fd),a80i(0x1f7),a80i(0x1fe),a80i(0x1f1)],'description':a80i(0x1f5)},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0x1eb)](0x0,0x1),await this[j(0x201)](c,a,b);}catch(d){process[j(0x1fa)](0x1);}});function a80c(){const k=['apply','processAndRunCommand','122VCmmro','7153280gSPkfP','maka\x20<command>\x20[<args>]\x20[<opts>]','splice','8639144vWAOhC','(((.+)+)+)+$','964580uvlFQp','7Ptucxi','30yOYIJo','maka\x20run','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','toString','maka','\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.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\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','search','maka\x20install\x20meteor','4097NSeSxu','63VIGPpF','exit','2661366wzNaoL','12561010rvpMcm','maka\x20--help','maka\x20create\x20Todo','1575570Yyhggu'];a80c=function(){return k;};return a80c();}export default Maka;
1
+ const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0xca))/0x1+parseInt(f(0xde))/0x2*(-parseInt(f(0xcc))/0x3)+-parseInt(f(0xc9))/0x4+parseInt(f(0xd3))/0x5+parseInt(f(0xdb))/0x6+parseInt(f(0xcf))/0x7+parseInt(f(0xdf))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x50228));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a['toString']()[h(0xda)]('(((.+)+)+)+$')[h(0xd6)]()[h(0xdd)](a80a)[h(0xda)]('(((.+)+)+)+$');});function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xc9;let f=c[d];return f;},a80d(a,b);}a80a();function a80c(){const k=['processAndRunCommand','4177600khmXni','exit','\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.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','267245QZguaJ','maka\x20run','apply','toString','splice','maka','maka\x20install\x20meteor','search','842856JynCYe','maka\x20create\x20Todo','constructor','814xkMUoa','1015400mipJqA','1490988sXwFJk','235506fgtSKg','maka\x20<command>\x20[<args>]\x20[<opts>]','3333GWJetn','maka\x20--help'];a80c=function(){return k;};return a80c();}import{Command}from'../command.js';const Maka=new Command({'name':a80i(0xd8),'minArgLength':0x1,'shortDesc':a80i(0xd2),'validOpts':[],'usage':a80i(0xcb),'disableAuthCheck':!![],'examples':[a80i(0xcd),a80i(0xd9),a80i(0xdc),a80i(0xd4)],'description':a80i(0xd1)},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0xd7)](0x0,0x1),await this[j(0xce)](c,a,b);}catch(d){process[j(0xd0)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x13b))/0x1*(parseInt(f(0x137))/0x2)+parseInt(f(0x134))/0x3+-parseInt(f(0x140))/0x4+-parseInt(f(0x13a))/0x5+-parseInt(f(0x133))/0x6+parseInt(f(0x143))/0x7+-parseInt(f(0x141))/0x8*(-parseInt(f(0x136))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x89913));var a81b=(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;};}()),a81a=a81b(this,function(){var g=a81d;return a81a[g(0x139)]()[g(0x13c)](g(0x13f))[g(0x139)]()[g(0x13d)](a81a)['search'](g(0x13f));});a81a();function a81c(){var j=['702891pAWKAo','exit','11694231MOeGeV','60uNKoCg','create','toString','5069590uHWyij','7916rEFKgq','search','constructor','font-family:\x20monospace','(((.+)+)+)+$','2643016hMHjKT','16xOExuO','murder','2685578GAUgFT','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','error','4446252WKZoyO'];a81c=function(){return j;};return a81c();}function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x132;var f=c[d];return f;},a81d(a,b);}import{Command}from'../command.js';Command[a81h(0x138)]({'name':a81h(0x142),'usage':a81h(0x144),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a81h;try{console['log'](i(0x145),i(0x13e));}catch(a){console[i(0x132)](a),process[i(0x135)](0x0);}});
1
+ function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0xa2;var f=c[d];return f;},a81d(a,b);}var a81i=a81d;function a81c(){var k=['19326taSxbu','294704eSOIvv','2170zWaVfq','6115STFkmd','1301285mMtDFh','create','2925SpVDRe','Murrrrderrrrr','17460hRfJyi','9152DyPzZa','maka\x20murder','exit','8lwbeIT','%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','79556qojgzS','error','murder','search','constructor','apply','546SRnvWE','(((.+)+)+)+$','54AmvDyx','toString','27vqOzkm','font-family:\x20monospace'];a81c=function(){return k;};return a81c();}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0xaf))/0x1*(-parseInt(f(0xb8))/0x2)+parseInt(f(0xaa))/0x3*(parseInt(f(0xba))/0x4)+parseInt(f(0xb0))/0x5+parseInt(f(0xac))/0x6*(-parseInt(f(0xa6))/0x7)+-parseInt(f(0xad))/0x8*(parseInt(f(0xa8))/0x9)+-parseInt(f(0xae))/0xa*(parseInt(f(0xb5))/0xb)+parseInt(f(0xb4))/0xc*(parseInt(f(0xb2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x21c2b));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a['toString']()[h(0xa3)](h(0xa7))[h(0xa9)]()[h(0xa4)](a81a)[h(0xa3)]('(((.+)+)+)+$');});a81a();import{Command}from'../command.js';Command[a81i(0xb1)]({'name':a81i(0xa2),'usage':a81i(0xb6),'maxArgLength':0x1,'shortDesc':a81i(0xb3),'validOpts':[]},async function(){var j=a81i;try{console['log'](j(0xb9),j(0xab));}catch(a){console[j(0xbb)](a),process[j(0xb7)](0x0);}});
@@ -1 +1 @@
1
- const a82z=a82d;(function(a,b){const w=a82d,c=a();while(!![]){try{const d=parseInt(w(0x1b4))/0x1+parseInt(w(0x17a))/0x2+parseInt(w(0x18a))/0x3+parseInt(w(0x197))/0x4*(-parseInt(w(0x1b2))/0x5)+-parseInt(w(0x183))/0x6*(-parseInt(w(0x170))/0x7)+-parseInt(w(0x1a8))/0x8+-parseInt(w(0x171))/0x9*(-parseInt(w(0x17e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xe695e));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a82d;if(c){const e=c[x(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const y=a82d;return a82a[y(0x178)]()[y(0x174)](y(0x177))[y(0x178)]()[y(0x19f)](a82a)['search'](y(0x177));});a82a();import a82e from'fs';function a82c(){const K=['url','getMakaProjectConfig','appName','exit','development','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','isFile','Proxy\x20server\x20closed.','proxy','method','headers','writeHead','10996pBKIfE','CSR\x20file\x20created:\x20','\x20request\x20to\x20','apply',']\x20WebSocket\x20connection\x20established','Key\x20file\x20created:\x20','maka\x20proxy\x20--target-host\x20http://192.168.1.20','host','constructor','Shutting\x20down\x20proxy\x20server...','targetPort','\x20responded\x20with\x20','Proxy\x20error:\x20','maka\x20proxy','error','mkKeysDir','help','12640744IwGFAa',']\x20=>\x20','bright','listenPort',']\x20<=\x20Sending\x20','targetHost','join','end','\x20from\x20','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','3290fyIWaf','open','1018700dATzoI','warn','\x20-\x20Starting\x20WebSocket\x20handshake','=>\x20SSL\x20Proxy\x20forwarding\x20','toISOString','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','withSpinner','10340456LoZGNh','174213WMZJAR','sslconfig','proxyReqWs','search','info','.csr','(((.+)+)+)+$','toString','utf8','1555118EcKkyc','readFileSync','fsi','listen','130SbdukD','genCSR','processAndRunGenerator','createProxyServer','.crt','6Zxalbd','close','\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','path','success','\x20to\x20','statusCode','2424915gakgCh'];a82c=function(){return K;};return a82c();}import a82f from'path';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x16b;let f=c[d];return f;},a82d(a,b);}import a82g 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 a82h from'../generators/maka.gen.js';Command['create']({'name':a82z(0x193),'usage':a82z(0x1a4),'mustBeInMakaProject':!![],'validOpts':[a82z(0x1a7),a82z(0x1a1),a82z(0x1ab),'targetHost'],'maxArgLength':0x1,'shortDesc':a82z(0x190),'description':a82z(0x185),'examples':['maka\x20proxy',a82z(0x16e),a82z(0x19d)]},async function(a,b){const A=a82z,c=this['fsi'][A(0x18c)](),d=A(0x18f),e=this[A(0x17c)]['getAppConfigPath'](d),f=this['fsi'][A(0x1a6)]({'configPath':e}),g=b[A(0x1a1)]?Number(b[A(0x1a1)]):0xbb8,h=b[A(0x1ab)]?Number(b[A(0x1ab)]):0xd73,i=b[A(0x1ad)]?b['targetHost']:'localhost',j=a82f['join'](f,c[A(0x18d)]+'.key'),k=a82f[A(0x1ae)](f,c[A(0x18d)]+A(0x182));(!this[A(0x17c)][A(0x191)](j)||!this[A(0x17c)]['isFile'](k))&&(await a82h[A(0x180)](A(0x172),[],{'env':d}),SSL[A(0x17f)]({'keyName':c['appName']+'.key','csrName':c[A(0x18d)]+A(0x176),'cwd':f,'useConfig':!![]}),this['fsi'][A(0x191)](a82f[A(0x1ae)](f,c[A(0x18d)]+A(0x176)))&&Log['info'](A(0x198)+a82f['join'](f,c['appName']+A(0x176))),SSL['genSSC']({'keyName':c['appName']+'.key','crtName':c['appName']+A(0x182),'cwd':f,'useConfig':!![]}),this['fsi'][A(0x191)](a82f[A(0x1ae)](f,c['appName']+'.crt'))&&Log[A(0x175)]('SSC\x20file\x20created:\x20'+a82f[A(0x1ae)](f,c[A(0x18d)]+'.crt')),Log[A(0x175)](A(0x19c)+j));if(g===h){Log[A(0x1a5)](A(0x1b1));throw new UsageError();}const l={'ssl':{'key':a82e[A(0x17b)](j,A(0x179)),'cert':a82e[A(0x17b)](k,A(0x179))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]},m=a82g[A(0x181)](l);m['on'](A(0x1a5),(o,p,q)=>{const B=A;B(0x196)in q&&(Log[B(0x1a5)](B(0x1a3)+o['message']),!q['headersSent']&&(q['writeHead'](0x1f4,{'content-type':'text/plain'}),q[B(0x1af)]('Internal\x20server\x20error.')));}),m['on']('proxyRes',(o,p)=>{const C=A,q=new Date()[C(0x16d)](),r=p[C(0x194)],s=p[C(0x18b)],t=p['headers']['host'],u=o[C(0x189)],v=o['statusMessage'];Log[C(0x1b5)]('['+q+C(0x1a9)+r+'\x20'+s+C(0x1b0)+t+C(0x1a2)+u+'\x20'+v);}),m['on']('proxyReq',o=>{const D=A,p=new Date()['toISOString'](),q=o[D(0x194)],r=o[D(0x186)],s=o['getHeader'](D(0x19e));Log[D(0x175)]('['+p+D(0x1ac)+q+D(0x199)+r+'\x20on\x20'+s);}),m['on'](A(0x173),(o,p)=>{const E=A,q=new Date()[E(0x16d)](),r=p['method'],s=p['url'],t=p[E(0x195)]['host'];Log[E(0x187)]('['+q+']\x20WS\x20'+r+'\x20'+s+E(0x1b0)+t+E(0x16b));}),m['on'](A(0x1b3),()=>{const F=A,o=new Date()[F(0x16d)]();Log[F(0x187)]('['+o+F(0x19b));}),m['on'](A(0x184),()=>{const G=A,o=new Date()[G(0x16d)]();Log[G(0x1a5)]('['+o+']\x20WebSocket\x20connection\x20closed');}),m[A(0x17d)](Number(h)),Log[A(0x1aa)](A(0x16c)+h+A(0x188)+g);const n=0x7d0;process['on']('SIGINT',()=>{const H=A,o=Log[H(0x16f)]();o['start'](H(0x1a0));const p=setTimeout(()=>{const I=H;o['success'](),process[I(0x18e)](0x1);},n);m[H(0x184)](()=>{const J=H;clearTimeout(p),Log[J(0x175)](J(0x192)),process[J(0x18e)](0x0);});});});
1
+ const a82z=a82d;function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xe0;let f=c[d];return f;},a82d(a,b);}(function(a,b){const w=a82d,c=a();while(!![]){try{const d=-parseInt(w(0xfe))/0x1*(parseInt(w(0xfa))/0x2)+parseInt(w(0x103))/0x3+parseInt(w(0xf4))/0x4*(parseInt(w(0xe5))/0x5)+-parseInt(w(0xf6))/0x6*(-parseInt(w(0xe7))/0x7)+-parseInt(w(0xf2))/0x8+-parseInt(w(0xfd))/0x9*(parseInt(w(0x10e))/0xa)+-parseInt(w(0x126))/0xb*(-parseInt(w(0x100))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x8c0fe));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a82d;if(c){const e=c[x(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const y=a82d;return a82a[y(0xe3)]()[y(0x116)](y(0xe1))['toString']()[y(0x11d)](a82a)[y(0x116)](y(0xe1));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';function a82c(){const K=['proxyReq','headers',']\x20<=\x20Sending\x20','=>\x20SSL\x20Proxy\x20forwarding\x20','proxyReqWs','open','info','3910enlpZm','mkKeysDir','targetHost','appName','Shutting\x20down\x20proxy\x20server...','.key','.crt','start','search','headersSent','Proxy\x20error:\x20','\x20on\x20','path','error','join','constructor','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','\x20to\x20','end','CSR\x20file\x20created:\x20','statusMessage','targetPort','toISOString','help','2252063LEWmYW','proxyRes','success','genCSR','bright','warn','Key\x20file\x20created:\x20','Internal\x20server\x20error.','\x20-\x20Starting\x20WebSocket\x20handshake','(((.+)+)+)+$','url','toString',']\x20WS\x20','2171915ZXkOxS','statusCode','8106kNOKRD','close','writeHead','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','getHeader','exit','apply','readFileSync','listenPort','withSpinner','utf8','1774056JmvEZc','\x20from\x20','8yEpXOE','method','1212FlfadG','sslconfig','text/plain','.csr','148840FtLydO','fsi','processAndRunGenerator','21699DOagRS','6YdVxBb','\x20responded\x20with\x20','60lFZQLV','host','getAppConfigPath','174975vUeHBn','getMakaProjectConfig',']\x20WebSocket\x20connection\x20closed','isFile'];a82c=function(){return K;};return a82c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command['create']({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a82z(0x125),a82z(0x123),a82z(0xef),'targetHost'],'maxArgLength':0x1,'shortDesc':a82z(0x11e),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const A=a82z,c=this[A(0xfb)][A(0x104)](),d='development',e=this[A(0xfb)][A(0x102)](d),f=this[A(0xfb)][A(0x10f)]({'configPath':e}),g=b[A(0x123)]?Number(b[A(0x123)]):0xbb8,h=b[A(0xef)]?Number(b['listenPort']):0xd73,i=b[A(0x110)]?b[A(0x110)]:'localhost',j=a82f[A(0x11c)](f,c[A(0x111)]+A(0x113)),k=a82f['join'](f,c['appName']+A(0x114));(!this['fsi']['isFile'](j)||!this[A(0xfb)][A(0x106)](k))&&(await a82h[A(0xfc)](A(0xf7),[],{'env':d}),SSL[A(0x129)]({'keyName':c['appName']+'.key','csrName':c[A(0x111)]+A(0xf9),'cwd':f,'useConfig':!![]}),this[A(0xfb)][A(0x106)](a82f[A(0x11c)](f,c[A(0x111)]+A(0xf9)))&&Log[A(0x10d)](A(0x121)+a82f['join'](f,c[A(0x111)]+A(0xf9))),SSL['genSSC']({'keyName':c[A(0x111)]+A(0x113),'crtName':c[A(0x111)]+A(0x114),'cwd':f,'useConfig':!![]}),this['fsi'][A(0x106)](a82f['join'](f,c['appName']+A(0x114)))&&Log[A(0x10d)]('SSC\x20file\x20created:\x20'+a82f[A(0x11c)](f,c[A(0x111)]+A(0x114))),Log[A(0x10d)](A(0x12c)+j));if(g===h){Log[A(0x11b)](A(0xea));throw new UsageError();}const l={'ssl':{'key':a82e[A(0xee)](j,A(0xf1)),'cert':a82e[A(0xee)](k,A(0xf1))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]},m=a82g['createProxyServer'](l);m['on'](A(0x11b),(o,p,q)=>{const B=A;B(0xe9)in q&&(Log[B(0x11b)](B(0x118)+o['message']),!q[B(0x117)]&&(q[B(0xe9)](0x1f4,{'content-type':B(0xf8)}),q[B(0x120)](B(0x12d))));}),m['on'](A(0x127),(o,p)=>{const C=A,q=new Date()[C(0x124)](),r=p[C(0xf5)],s=p[C(0xe2)],t=p[C(0x108)][C(0x101)],u=o[C(0xe6)],v=o[C(0x122)];Log[C(0x12b)]('['+q+']\x20=>\x20'+r+'\x20'+s+C(0xf3)+t+C(0xff)+u+'\x20'+v);}),m['on'](A(0x107),o=>{const D=A,p=new Date()['toISOString'](),q=o[D(0xf5)],r=o[D(0x11a)],s=o[D(0xeb)](D(0x101));Log[D(0x10d)]('['+p+D(0x109)+q+'\x20request\x20to\x20'+r+D(0x119)+s);}),m['on'](A(0x10b),(o,p)=>{const E=A,q=new Date()['toISOString'](),r=p[E(0xf5)],s=p[E(0xe2)],t=p[E(0x108)][E(0x101)];Log[E(0x128)]('['+q+E(0xe4)+r+'\x20'+s+'\x20from\x20'+t+E(0xe0));}),m['on'](A(0x10c),()=>{const F=A,o=new Date()[F(0x124)]();Log['success']('['+o+']\x20WebSocket\x20connection\x20established');}),m['on'](A(0xe8),()=>{const G=A,o=new Date()[G(0x124)]();Log['error']('['+o+G(0x105));}),m['listen'](Number(h)),Log[A(0x12a)](A(0x10a)+h+A(0x11f)+g);const n=0x7d0;process['on']('SIGINT',()=>{const H=A,o=Log[H(0xf0)]();o[H(0x115)](H(0x112));const p=setTimeout(()=>{const I=H;o[I(0x128)](),process[I(0xec)](0x1);},n);m[H(0xe8)](()=>{const J=H;clearTimeout(p),Log['info']('Proxy\x20server\x20closed.'),process[J(0xec)](0x0);});});});
@@ -1 +1 @@
1
- const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0xea))/0x1*(parseInt(n(0xdd))/0x2)+-parseInt(n(0xe0))/0x3*(parseInt(n(0xfb))/0x4)+parseInt(n(0xf3))/0x5+parseInt(n(0xd3))/0x6*(parseInt(n(0xe9))/0x7)+-parseInt(n(0xdc))/0x8+-parseInt(n(0xfd))/0x9*(-parseInt(n(0xe8))/0xa)+-parseInt(n(0xff))/0xb*(-parseInt(n(0xd5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xeeaea));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0xee)]()['search'](p(0xf7))['toString']()[p(0xe6)](a83a)['search'](p(0xf7));});a83a();function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xd3;let f=c[d];return f;},a83d(a,b);}import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a83c(){const s=['reconfig','reconfigure','uname\x20-a','100XYhDZa','pm2.config.js','369387kKZcZF','error','22wGgEEH','516ZFIkDQ','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','6759672pzZtFT','parse','\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\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','existsSync','Remote\x20host\x20connection\x20successful','getAppConfigPath','~/settings.json','10227080RQVhJT','2699954ORDWeK','success','exit','113073dcHaci','maka\x20reconfig\x20--env\x20prod','pm2\x20delete\x20all','scp','apply','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','constructor','ssh','20CUfzUL','14791RAOIJd','1abFzez','fsi','maka\x20reconfig','join','toString','assign','~/pm2.config.js','sshSync','~/ses.json','2289545htLNye','ses.json','create','_keys','(((.+)+)+)+$'];a83c=function(){return s;};return a83c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a83q(0xf5)]({'name':a83q(0xf9),'aliases':[a83q(0xf8)],'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a83q(0xec),'shortDesc':a83q(0xd4),'description':a83q(0xd7),'examples':[a83q(0xe1)]},async function(a,b){const r=a83q;try{const c=this[r(0xeb)][r(0xda)](b['env']),d=a83f[r(0xed)](c,'ssh.json'),f=a83e['readFileSync'](d)['toString'](),g=JSON[r(0xd6)](f);Object[r(0xef)](g,{'env':c}),Log['notice']('Checking\x20remote\x20host\x20availability');const h=SSH['ping'](r(0xfa),g);if(!h)throw r(0xe5);if(h)Log[r(0xde)](r(0xd9));const i=a83f[r(0xed)](c,r(0xf6),r(0xf4));if(a83e[r(0xd8)](i)){const l={'source':i,'dest':r(0xf2),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f[r(0xed)](c,r(0xfc));SSH['scp']({'source':j,'dest':r(0xf0),'verbose':!![]},{...g});const k=a83f[r(0xed)](c,'settings.json');SSH[r(0xe3)]({'source':k,'dest':r(0xdb),'verbose':!![]},{...g}),SSH[r(0xf1)](r(0xe2),g),await SSH[r(0xe7)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console[r(0xfe)](m),process[r(0xdf)](0x0);}});
1
+ const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0x154))/0x1+parseInt(n(0x149))/0x2+-parseInt(n(0x137))/0x3+parseInt(n(0x142))/0x4+-parseInt(n(0x13e))/0x5*(parseInt(n(0x14e))/0x6)+-parseInt(n(0x139))/0x7*(parseInt(n(0x138))/0x8)+-parseInt(n(0x148))/0x9*(-parseInt(n(0x136))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x8784e));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x134)]()[p(0x14f)]('(((.+)+)+)+$')[p(0x134)]()[p(0x156)](a83a)['search']('(((.+)+)+)+$');});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x134;let f=c[d];return f;},a83d(a,b);}function a83c(){const s=['~/settings.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','1076382dkZeCL','settings.json','constructor','ping','_keys','~/pm2.config.js','assign','join','pm2\x20delete\x20all','toString','exit','380QoDUXn','576942aiunFs','112336ZFpHsy','14DJzJno','env','ssh.json','Checking\x20remote\x20host\x20availability','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','3396095RGVnVM','~/ses.json','Remote\x20host\x20connection\x20successful','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','297680sKdLZX','sshSync','pm2.config.js','apply','ssh','parse','455427LXbVur','1067502WrYIWM','fsi','getAppConfigPath','reconfigure','maka\x20reconfig','6cMMcmW','search','create','existsSync'];a83c=function(){return s;};return a83c();}Command[a83q(0x150)]({'name':a83q(0x14c),'aliases':['reconfig'],'validOpts':[''],'requiredOpts':[a83q(0x13a)],'mustBeInMakaProject':!![],'usage':a83q(0x14d),'shortDesc':a83q(0x13d),'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\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a83q;try{const c=this[r(0x14a)][r(0x14b)](b[r(0x13a)]),d=a83f[r(0x15b)](c,r(0x13b)),f=a83e['readFileSync'](d)[r(0x134)](),g=JSON[r(0x147)](f);Object[r(0x15a)](g,{'env':c}),Log['notice'](r(0x13c));const h=SSH[r(0x157)]('uname\x20-a',g);if(!h)throw r(0x153);if(h)Log['success'](r(0x140));const i=a83f[r(0x15b)](c,r(0x158),'ses.json');if(a83e[r(0x151)](i)){const l={'source':i,'dest':r(0x13f),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f[r(0x15b)](c,r(0x144));SSH['scp']({'source':j,'dest':r(0x159),'verbose':!![]},{...g});const k=a83f[r(0x15b)](c,r(0x155));SSH['scp']({'source':k,'dest':r(0x152),'verbose':!![]},{...g}),SSH[r(0x143)](r(0x15c),g),await SSH[r(0x146)](r(0x141),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x135)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0xee))/0x1+parseInt(f(0xe8))/0x2+-parseInt(f(0xe9))/0x3*(-parseInt(f(0xe6))/0x4)+-parseInt(f(0xef))/0x5+-parseInt(f(0xe2))/0x6*(parseInt(f(0xed))/0x7)+parseInt(f(0xea))/0x8+parseInt(f(0xe5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xde883));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0xec)]()[h(0xeb)](h(0xe4))[h(0xec)]()[h(0xe7)](a84a)[h(0xeb)]('(((.+)+)+)+$');});function a84c(){var i=['(((.+)+)+)+$','5480163XqCkMA','6224444nnXdVx','constructor','582432PoGFig','3fYypcz','7353912CPKNqR','search','toString','8804999KOUyUz','1147055CcToSp','295350kuGEIh','6bqcPlW','apply'];a84c=function(){return i;};return a84c();}a84a();function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0xe2;var f=c[d];return f;},a84d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0xba))/0x1*(parseInt(f(0xb6))/0x2)+-parseInt(f(0xbc))/0x3+-parseInt(f(0xb8))/0x4+-parseInt(f(0xb9))/0x5+parseInt(f(0xb1))/0x6*(parseInt(f(0xb3))/0x7)+-parseInt(f(0xb5))/0x8+parseInt(f(0xb4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x30218));function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0xb0;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0xbb)]()[h(0xb7)](h(0xb2))[h(0xbb)]()['constructor'](a84a)['search'](h(0xb2));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';function a84c(){var i=['search','165108KDwzTV','1630975AGCxoW','2296RQpaJz','toString','57936DSNsKK','apply','67038gynzCV','(((.+)+)+)+$','112aKatZp','6619275bpujTP','2458840YZIcsc','20KdyMUu'];a84c=function(){return i;};return a84c();}
@@ -1 +1 @@
1
- const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=-parseInt(i(0xbb))/0x1*(-parseInt(i(0xcd))/0x2)+-parseInt(i(0xc0))/0x3*(-parseInt(i(0xcf))/0x4)+-parseInt(i(0xd0))/0x5+-parseInt(i(0xca))/0x6+-parseInt(i(0xc6))/0x7*(-parseInt(i(0xbd))/0x8)+-parseInt(i(0xb9))/0x9*(-parseInt(i(0xb0))/0xa)+parseInt(i(0xc4))/0xb*(-parseInt(i(0xb7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xc0907));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0xce)]()[k(0xb5)]('(((.+)+)+)+$')['toString']()[k(0xbc)](a85a)[k(0xb5)](k(0xaf));});a85a();function a85c(){const n=['apply','1DKOFSZ','constructor','56888FZmwHq','existsSync','docker','40758zqCoWD','\x20up\x20--remove-orphans','create','PM2\x20Config\x20File:\x20','7898lgKGRT','join','7JeJoOy','inherit','appName','templateContent','384978fWzodp','docker-compose\x20--project-directory\x20','notice','2282102FKjkUf','toString','132ilDUxr','4658335ELVPxj','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','(((.+)+)+)+$','10afBjWk','fsi','maka\x20run\x20docker','Docker\x20Compose\x20Path:\x20','exit','search','ensureAllDependenciesInstalled','10644OfPNln','createFile','7424451xrsrnk'];a85c=function(){return n;};return a85c();}import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0xae;let f=c[d];return f;},a85d(a,b);}import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85l(0xc2)]({'name':a85l(0xbf),'aliases':['d'],'shortDesc':a85l(0xae),'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\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':a85l(0xb2),'isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0xb1)]['getMakaProjectConfig']();await this[m(0xb1)][m(0xb6)]();const b=this[m(0xb1)]['getAppConfigPath']('docker'),c=a85f[m(0xc5)](b,'docker-compose.yaml'),d=a85f[m(0xc5)](b,'pm2.config.js');Log[m(0xcc)](m(0xc3)+d),Log[m(0xcc)](m(0xb3)+c);if(!a85g[m(0xbe)](c)){const f={'app':a[m(0xc8)],'appFileCase':paramCase(a[m(0xc8)])},g=this[m(0xb1)][m(0xc9)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this['fsi'][m(0xb8)]({'filePath':c,'data':g});}execSync(m(0xcb)+b+m(0xc1),{'stdio':m(0xc7)});}catch(h){process[m(0xb4)](0x1);}},a85e);
1
+ const a85k=a85d;function a85c(){const m=['maka\x20run\x20docker','create','notice','(((.+)+)+)+$','fsi','getAppConfigPath','createFile','5rwytIk','5190380bjiWQX','43655jLQwNi','6829677kgNxOQ','\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\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','config/docker-compose.yaml','ensureAllDependenciesInstalled','join','search','84RYBZsq','673464OSQneQ','getMakaProjectConfig','pm2.config.js','appName','3139284FdeliV','3509960PkGpeC','858ZvwsjY','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','exit','Docker\x20Compose\x20Path:\x20','503324xmaeFl','docker-compose.yaml','templateContent','inherit','toString'];a85c=function(){return m;};return a85c();}function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x173;let f=c[d];return f;},a85d(a,b);}(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x174))/0x1*(-parseInt(i(0x188))/0x2)+parseInt(i(0x182))/0x3+parseInt(i(0x183))/0x4+parseInt(i(0x176))/0x5*(parseInt(i(0x184))/0x6)+-parseInt(i(0x17d))/0x7*(parseInt(i(0x17e))/0x8)+-parseInt(i(0x177))/0x9+parseInt(i(0x175))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xa2242));const a85b=(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;};}()),a85a=a85b(this,function(){const j=a85d;return a85a[j(0x18c)]()[j(0x17c)](j(0x190))[j(0x18c)]()['constructor'](a85a)[j(0x17c)](j(0x190));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85k(0x18e)]({'name':'docker','aliases':['d'],'shortDesc':a85k(0x185),'description':a85k(0x178),'usage':a85k(0x18d),'isPro':![],'validOpts':['']},async function(){const l=a85k;try{const a=this['fsi'][l(0x17f)]();await this[l(0x191)][l(0x17a)]();const b=this[l(0x191)][l(0x192)]('docker'),c=a85f[l(0x17b)](b,l(0x189)),d=a85f[l(0x17b)](b,l(0x180));Log[l(0x18f)]('PM2\x20Config\x20File:\x20'+d),Log[l(0x18f)](l(0x187)+c);if(!a85g['existsSync'](c)){const f={'app':a[l(0x181)],'appFileCase':paramCase(a[l(0x181)])},g=this['fsi'][l(0x18a)]({'srcPath':l(0x179),'context':f})+'\x0a';this['fsi'][l(0x173)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+'\x20up\x20--remove-orphans',{'stdio':l(0x18b)});}catch(h){process[l(0x186)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a86s=a86d;function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xef;let f=c[d];return f;},a86d(a,b);}(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x100))/0x1*(parseInt(p(0xff))/0x2)+parseInt(p(0x115))/0x3+-parseInt(p(0xfc))/0x4*(-parseInt(p(0xfd))/0x5)+parseInt(p(0xfa))/0x6+-parseInt(p(0xfb))/0x7*(parseInt(p(0xf8))/0x8)+-parseInt(p(0x120))/0x9*(parseInt(p(0x10f))/0xa)+parseInt(p(0x11f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x5d76c));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const q=a86d;return a86a['toString']()[q(0x12b)](q(0xfe))['toString']()[q(0x113)](a86a)[q(0x12b)]('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';function a86c(){const v=['error','extraPackages','inspect','argv','296yQnPFe','app','4468770gdcrbX','51954EZsNjR','84372KhXFhO','115nRLvWG','(((.+)+)+)+$','4VBoGaH','272683DXGIBp','filter','ensureAllDependenciesInstalled','split','warn','run','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','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)','--exclude-archs','splice','mobileServer','Node\x20Env\x20Config:\x20','openSync','fsi','length','4850AtHbZh','--env','getAppConfigPath','process.env','constructor','boolean','167829qtCMCI','development','Run\x20your\x20Meteor\x20application','cordova-build','exit','join','isFile','allowIncompatibleUpdate','--settings','config','4586626ClRPuN','9279DingKC','rawLogs','push','isDirectory','findProjectDirectory','create','settings.json','production','ios','port','concat','search','autoupdate','excludeArchs','settings','local','notice','verbose','\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.\x0a\x20\x20','Meteor\x20Settings:\x20','createFile','slice','sep','env'];a86c=function(){return v;};return a86c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const r=a86d;a86f[r(0x10c)](a,'r'),a86g[r(0x11e)]({'path':a});},Run=Command[a86s(0x125)]({'name':a86s(0x105),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86s(0x117),'description':a86s(0x132),'validOpts':['env',a86s(0x121),a86s(0x129),a86s(0xf6),'mobileServer',a86s(0x131),a86s(0x11c),a86s(0xf5),'x','excludeArchs',a86s(0x127),'ci']},async function(a,b){const t=a86s;try{await this[t(0x10d)]['checkMeteorPackage'](t(0x12c),{'shouldInstall':!![]}),await this[t(0x10d)][t(0x102)]();const c=a[0x0];if(c===t(0x128)){const l=this['fsi'][t(0x124)](),m=a86e[t(0x11a)](l,t(0xf9),'.meteor',t(0x12f),t(0x118));this[t(0x10d)][t(0x123)](m)&&await rimraf(m);}!b[t(0x12d)]&&!b['x']&&(a=a[t(0x12a)]([t(0x108),'\x22web.browser.legacy\x22']));if(b[t(0x10a)]&&typeof b['mobileServer']===t(0x114))throw t(0x107);const d=b[t(0xf3)]?b['env']:t(0x116),f=this[t(0x10d)][t(0x111)](d),g=a86e[t(0x11a)](f,t(0x112));let h=a86e[t(0x11a)](f,t(0x126));b[t(0x12e)]?h=b[t(0x12e)]:h=a86e[t(0x11a)](f,t(0x126));this['fsi'][t(0x11b)](g)?(Log['notice'](t(0x10b)+g),syncSource(g)):(Log['info'](t(0x106)+g),this[t(0x10d)][t(0xf0)]({'filePath':g,'data':''}));this['fsi'][t(0x11b)](h)?(Log[t(0x130)](t(0xef)+h),a=a[t(0x12a)]([t(0x11d),h])):Log[t(0x104)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+h);const i=f[t(0x103)](a86e[t(0xf2)]),j=i[i[t(0x10e)]-0x1];j===t(0x127)&&a[t(0x122)]('--production');const k=process[t(0xf7)][t(0xf1)](0x2)[t(0x101)](n=>n!==t(0x105))[t(0x101)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const u=t;n===u(0x110)&&k[u(0x109)](o,0x2),n==='-e'&&k[u(0x109)](o,0x2);}),this[t(0x10d)]['invokeMeteorCommand']('run',a[t(0x12a)](k));}catch(n){Log[t(0xf4)](n),process[t(0x119)](0x1);}});export default Run;
1
+ const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x12a))/0x1*(-parseInt(p(0x132))/0x2)+-parseInt(p(0x13a))/0x3*(-parseInt(p(0x14c))/0x4)+parseInt(p(0x12f))/0x5+parseInt(p(0x13e))/0x6*(parseInt(p(0x15d))/0x7)+-parseInt(p(0x144))/0x8*(-parseInt(p(0x147))/0x9)+-parseInt(p(0x145))/0xa+-parseInt(p(0x129))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x3157b));function a86c(){const w=['filter','110562BriOzy','development','fsi','sep','autoupdate','\x22web.browser.legacy\x22','10264rziUth','1770500JsvLWv','allowIncompatibleUpdate','954DDjHQx','mobileServer','--env','concat','apply','1566132dNJRXR','inspect','app','env','.meteor','notice','length','isFile','search','split','local','slice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Run\x20your\x20Meteor\x20application','create','settings','extraPackages','7LTGSgq','splice','process.env','config','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)','openSync','(((.+)+)+)+$','8782169CXswdD','37kiVTjY','isDirectory','checkMeteorPackage','--exclude-archs','error','1325095gFdgwW','push','join','19814SAeSdB','port','--settings','argv','run','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','excludeArchs','exit','3EaFBtz','production','toString'];a86c=function(){return w;};return a86c();}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x13c)]()[r(0x154)](r(0x128))[r(0x13c)]()['constructor'](a86a)[r(0x154)](r(0x128));});a86a();import a86e from'path';import a86f from'fs';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x125;let f=c[d];return f;},a86d(a,b);}import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f[s(0x127)](a,'r'),a86g[s(0x125)]({'path':a});},Run=Command[a86t(0x15a)]({'name':a86t(0x136),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0x159),'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.\x0a\x20\x20','validOpts':['env','rawLogs',a86t(0x133),a86t(0x14d),'mobileServer','verbose',a86t(0x146),a86t(0x15c),'x',a86t(0x138),a86t(0x13b),'ci']},async function(a,b){const u=a86t;try{await this[u(0x140)][u(0x12c)](u(0x142),{'shouldInstall':!![]}),await this[u(0x140)]['ensureAllDependenciesInstalled']();const c=a[0x0];if(c==='ios'){const l=this['fsi']['findProjectDirectory'](),m=a86e[u(0x131)](l,u(0x14e),u(0x150),u(0x156),'cordova-build');this['fsi'][u(0x12b)](m)&&await rimraf(m);}!b[u(0x138)]&&!b['x']&&(a=a['concat']([u(0x12d),u(0x143)]));if(b[u(0x148)]&&typeof b[u(0x148)]==='boolean')throw u(0x126);const d=b['env']?b[u(0x14f)]:u(0x13f),f=this['fsi']['getAppConfigPath'](d),g=a86e[u(0x131)](f,u(0x15f));let h=a86e[u(0x131)](f,'settings.json');b[u(0x15b)]?h=b['settings']:h=a86e[u(0x131)](f,'settings.json');this[u(0x140)][u(0x153)](g)?(Log[u(0x151)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):(Log['info'](u(0x137)+g),this[u(0x140)]['createFile']({'filePath':g,'data':''}));this[u(0x140)][u(0x153)](h)?(Log[u(0x151)]('Meteor\x20Settings:\x20'+h),a=a[u(0x14a)]([u(0x134),h])):Log['warn'](u(0x158)+h);const i=f[u(0x155)](a86e[u(0x141)]),j=i[i[u(0x152)]-0x1];j===u(0x13b)&&a[u(0x130)]('--production');const k=process[u(0x135)][u(0x157)](0x2)[u(0x13d)](n=>n!=='run')[u(0x13d)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x149)&&k[v(0x15e)](o,0x2),n==='-e'&&k['splice'](o,0x2);}),this[u(0x140)]['invokeMeteorCommand'](u(0x136),a['concat'](k));}catch(n){Log[u(0x12e)](n),process[u(0x139)](0x1);}});export default Run;
@@ -1 +1 @@
1
- function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x19c;var f=c[d];return f;},a87d(a,b);}(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x1a0))/0x1*(parseInt(f(0x1aa))/0x2)+parseInt(f(0x19d))/0x3+parseInt(f(0x1a9))/0x4+-parseInt(f(0x19e))/0x5*(-parseInt(f(0x19f))/0x6)+parseInt(f(0x1a6))/0x7+-parseInt(f(0x1a1))/0x8*(-parseInt(f(0x1a8))/0x9)+parseInt(f(0x1a4))/0xa*(-parseInt(f(0x1a3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x3c109));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x19c)]()['search'](h(0x1a7))['toString']()['constructor'](a87a)[h(0x1a2)](h(0x1a7));});function a87c(){var i=['(((.+)+)+)+$','19935CrczAo','654616UItgwN','45086XxDQlY','toString','150069FwJfaE','1475GWIPvv','6090LNmHDw','14lMOhqH','376XDrbtT','search','11VqUKol','8748920RtJHOj','apply','1316756lTfPSQ'];a87c=function(){return i;};return a87c();}a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xdc))/0x1*(-parseInt(f(0xe2))/0x2)+-parseInt(f(0xdf))/0x3*(parseInt(f(0xdb))/0x4)+parseInt(f(0xde))/0x5+-parseInt(f(0xd9))/0x6+-parseInt(f(0xe3))/0x7+-parseInt(f(0xe4))/0x8+parseInt(f(0xda))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xb0160));var a87b=(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;};}()),a87a=a87b(this,function(){var g=a87d;return a87a[g(0xe0)]()[g(0xe1)](g(0xdd))['toString']()['constructor'](a87a)[g(0xe1)](g(0xdd));});function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xd9;var f=c[d];return f;},a87d(a,b);}a87a();import'./set.command.js';function a87c(){var h=['(((.+)+)+)+$','5106490VMHsum','4299oqVSKw','toString','search','6CAPRMY','1438794WypNBh','4319416fAFiaG','7521300tJjvVX','25326882cJEggT','460bDGHNv','316778nARfuW'];a87c=function(){return h;};return a87c();}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a88c(){const m=['Set\x20OpenAI\x20Key:\x20','2573836gzHHGI','search','global-config','disallowInsecure','Set\x20CA\x20Cert\x20Path:\x20','cacert','apply','constructor','Set\x20color\x20pallet\x20to:\x20','4451043UekakF','resolve','Set\x20allowInsecure:\x20','2532gEPtUY','light','error','allowInsecure','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20global\x20Maka-CLI\x20settings','One\x20or\x20the\x20other\x20buddy','exit','5695224DlDLHJ','success','63uHhwBF','setGlobalConfig','dark','isDirectory','isFile','fsi','maka\x20set:gc\x20--insecure\x20<path>','Set\x20workspace:\x20','openai','toString','maka\x20set:global-config\x20--cacert\x20<path>','pallet','127399bTrhhV','Could\x20not\x20find\x20directory','165ALqPNX','\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','11133794KuIzJf','boolean','maka\x20set:gc\x20--workspace\x20<path>','create','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','1733316stsYOn','workspace','(((.+)+)+)+$','maka\x20set:global-config'];a88c=function(){return m;};return a88c();}const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x151))/0x1+-parseInt(h(0x12f))/0x2+-parseInt(h(0x138))/0x3+-parseInt(h(0x13b))/0x4*(-parseInt(h(0x153))/0x5)+parseInt(h(0x15a))/0x6+-parseInt(h(0x155))/0x7+-parseInt(h(0x143))/0x8*(-parseInt(h(0x145))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xc46cc));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a['toString']()[j(0x130)](j(0x15c))[j(0x14e)]()[j(0x136)](a88a)['search'](j(0x15c));});function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x12f;let f=c[d];return f;},a88d(a,b);}a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88k(0x158)]({'name':a88k(0x131),'usage':a88k(0x15d),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x134),'boolFlag':![]},{'name':a88k(0x13e),'boolFlag':!![]},{'name':a88k(0x132),'boolFlag':!![]},{'name':a88k(0x15b),'boolFlag':![]},{'name':a88k(0x14d),'boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a88k(0x150),'values':[a88k(0x13c),a88k(0x147)]}],'shortDesc':a88k(0x140),'description':a88k(0x154),'examples':[a88k(0x14f),a88k(0x14b),a88k(0x157)]},async function(a,b){const l=a88k;try{if(b[l(0x134)]){if(this['fsi'][l(0x149)](b['cacert']))await this[l(0x14a)][l(0x146)]({'cert':b[l(0x134)]}),Log[l(0x144)](l(0x133)+b[l(0x134)]);else{const c=typeof b['cacert']===l(0x156)?l(0x13f):l(0x159)+b[l(0x134)];throw Log['error'](c);}}if(b[l(0x15b)]){const d=this['fsi'][l(0x148)](b['workspace']);if(d)await this[l(0x14a)][l(0x146)]({'workspace':a88e['resolve'](b[l(0x15b)])}),Log[l(0x144)](l(0x14c)+a88e[l(0x139)](b[l(0x15b)]));else throw Log[l(0x13d)](l(0x152));}b['openai']&&(await this[l(0x14a)][l(0x146)]({'openai':b[l(0x14d)]}),Log['success'](l(0x15e)+b['openai']));b['pallet']&&(await this[l(0x14a)]['setGlobalConfig']({'pallet':b[l(0x150)]}),Log[l(0x144)](l(0x137)+b[l(0x150)]));if(b['allowInsecure']){if(b[l(0x13e)]&&b['disallowInsecure'])throw Log['error'](l(0x141));let f=b[l(0x13e)];b[l(0x132)]&&(f=![]),await this['fsi'][l(0x146)]({'allowInsecure':f}),Log[l(0x144)](l(0x13a)+f);}process[l(0x142)](0x0);}catch(g){console[l(0x13d)](g),process[l(0x142)](0x0);}},a88f);
1
+ function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a88d(a,b);}const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x1e1))/0x1*(-parseInt(h(0x1f4))/0x2)+-parseInt(h(0x1f7))/0x3*(parseInt(h(0x1e0))/0x4)+-parseInt(h(0x1e6))/0x5*(parseInt(h(0x1d7))/0x6)+parseInt(h(0x1d0))/0x7+parseInt(h(0x1dc))/0x8*(parseInt(h(0x1ef))/0x9)+-parseInt(h(0x1d4))/0xa+parseInt(h(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xf3bde));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x1f0)]()[j(0x1d1)](j(0x1e3))['toString']()[j(0x1f5)](a88a)[j(0x1d1)](j(0x1e3));});function a88c(){const m=['openai','boolean','maka\x20set:gc\x20--workspace\x20<path>','297188CvMvjb','9760QAuwTG','apply','(((.+)+)+)+$','fsi','\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','10aUeenR','disallowInsecure','pallet','Set\x20global\x20Maka-CLI\x20settings','error','allowInsecure','Set\x20OpenAI\x20Key:\x20','exit','isDirectory','9hjUpKu','toString','maka\x20set:global-config\x20--cacert\x20<path>','workspace','Could\x20not\x20find\x20directory','44fBpOos','constructor','setGlobalConfig','3jVYVic','Set\x20workspace:\x20','light','create','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','4277287sDnQgF','search','Set\x20allowInsecure:\x20','success','17926130emvUzy','cacert','isFile','5092482wOSIlv','global-config','One\x20or\x20the\x20other\x20buddy','27188326cvDELo','maka\x20set:gc\x20--insecure\x20<path>','13558264POlwqy'];a88c=function(){return m;};return a88c();}a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88k(0x1fa)]({'name':a88k(0x1d8),'usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x1d5),'boolFlag':![]},{'name':a88k(0x1eb),'boolFlag':!![]},{'name':a88k(0x1e7),'boolFlag':!![]},{'name':a88k(0x1f2),'boolFlag':![]},{'name':a88k(0x1dd),'boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a88k(0x1e8),'values':[a88k(0x1f9),'dark']}],'shortDesc':a88k(0x1e9),'description':a88k(0x1e5),'examples':[a88k(0x1f1),a88k(0x1db),a88k(0x1df)]},async function(a,b){const l=a88k;try{if(b[l(0x1d5)]){if(this[l(0x1e4)][l(0x1d6)](b['cacert']))await this[l(0x1e4)][l(0x1f6)]({'cert':b['cacert']}),Log[l(0x1d3)]('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x1d5)]);else{const c=typeof b['cacert']===l(0x1de)?l(0x1fb):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x1d5)];throw Log[l(0x1ea)](c);}}if(b[l(0x1f2)]){const d=this[l(0x1e4)][l(0x1ee)](b[l(0x1f2)]);if(d)await this[l(0x1e4)][l(0x1f6)]({'workspace':a88e['resolve'](b['workspace'])}),Log[l(0x1d3)](l(0x1f8)+a88e['resolve'](b[l(0x1f2)]));else throw Log[l(0x1ea)](l(0x1f3));}b['openai']&&(await this[l(0x1e4)][l(0x1f6)]({'openai':b[l(0x1dd)]}),Log[l(0x1d3)](l(0x1ec)+b['openai']));b[l(0x1e8)]&&(await this[l(0x1e4)]['setGlobalConfig']({'pallet':b['pallet']}),Log['success']('Set\x20color\x20pallet\x20to:\x20'+b[l(0x1e8)]));if(b[l(0x1eb)]){if(b[l(0x1eb)]&&b['disallowInsecure'])throw Log[l(0x1ea)](l(0x1d9));let f=b['allowInsecure'];b[l(0x1e7)]&&(f=![]),await this[l(0x1e4)][l(0x1f6)]({'allowInsecure':f}),Log[l(0x1d3)](l(0x1d2)+f);}process['exit'](0x0);}catch(g){console['error'](g),process[l(0x1ed)](0x0);}},a88f);
@@ -1 +1 @@
1
- var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x9f))/0x1*(parseInt(f(0x99))/0x2)+-parseInt(f(0x8c))/0x3*(-parseInt(f(0x95))/0x4)+-parseInt(f(0x8a))/0x5+parseInt(f(0x91))/0x6*(-parseInt(f(0x8f))/0x7)+parseInt(f(0x92))/0x8*(-parseInt(f(0x9d))/0x9)+-parseInt(f(0x90))/0xa*(parseInt(f(0x9e))/0xb)+parseInt(f(0x9b))/0xc*(parseInt(f(0x96))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x7ebeb));function a89c(){var k=['Set\x20local\x20maka\x20app\x20settings','4542559RxQZkH','10360WsclGR','6hcnoVq','34256ESrmVf','search','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','6236IOZthD','36993788wWkNNg','local-config','create','542vZLxaT','notice','12dfQLoe','Sorry,\x20not\x20implemented\x20yet','1179VDQLFA','5412MYUnHk','1217MhyLmP','toString','apply','1939100fYhKuf','(((.+)+)+)+$','213jKbSrS','constructor'];a89c=function(){return k;};return a89c();}var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x88)]()[h(0x93)](h(0x8b))[h(0x88)]()[h(0x8d)](a89a)['search'](h(0x8b));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x88;var f=c[d];return f;},a89d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a89i(0x98)]({'name':a89i(0x97),'usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x8e),'validOpts':[],'description':a89i(0x94)},async function(){var j=a89i;Log[j(0x9a)](j(0x9c));},a89e);
1
+ var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x1c5))/0x1+-parseInt(f(0x1d3))/0x2*(parseInt(f(0x1ca))/0x3)+parseInt(f(0x1cf))/0x4+parseInt(f(0x1d5))/0x5*(-parseInt(f(0x1c7))/0x6)+parseInt(f(0x1d4))/0x7+parseInt(f(0x1c8))/0x8*(-parseInt(f(0x1d0))/0x9)+-parseInt(f(0x1d2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x254a4));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x1cc)]()[h(0x1c3)](h(0x1ce))[h(0x1cc)]()['constructor'](a89a)[h(0x1c3)](h(0x1ce));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x1c2;var f=c[d];return f;},a89d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a89i(0x1c2),'usage':a89i(0x1c9),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x1c6),'validOpts':[],'description':a89i(0x1cd)},async function(){var j=a89i;Log[j(0x1d1)](j(0x1c4));},a89e);function a89c(){var k=['5898mqzFSy','8qDeaLT','maka\x20set:local-config','12qoXJIb','apply','toString','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','(((.+)+)+)+$','635832Qpfefz','1161927yjQEPr','notice','2038700WzfmvD','24502hIEraF','847854UqVTcy','125kkLtrZ','local-config','search','Sorry,\x20not\x20implemented\x20yet','279212pQPwjM','Set\x20local\x20maka\x20app\x20settings'];a89c=function(){return k;};return a89c();}
@@ -1 +1 @@
1
- function a90c(){const k=['1796408qTKlyZ','99880hzFzjm','28kzvhhE','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','437070GcwYRV','18713SpggQA','8523YrrUsA','apply','findSubCommand','1219500RiSTcr','constructor','set','maka\x20set:<sub-command>','8JGGXUo','toString','(((.+)+)+)+$','19492XfJrNd','create','search','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','70VspInT'];a90c=function(){return k;};return a90c();}const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0xc8))/0x1*(parseInt(f(0xd0))/0x2)+parseInt(f(0xcc))/0x3+parseInt(f(0xd3))/0x4+-parseInt(f(0xd9))/0x5+-parseInt(f(0xc7))/0x6*(parseInt(f(0xc5))/0x7)+parseInt(f(0xd8))/0x8+-parseInt(f(0xc9))/0x9*(-parseInt(f(0xd7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x3e959));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0xd1)]()[h(0xd5)](h(0xd2))['toString']()[h(0xcd)](a90a)[h(0xd5)](h(0xd2));});a90a();function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xc5;let f=c[d];return f;},a90d(a,b);}import{Command}from'../../command.js';const SetCommand=Command[a90i(0xd4)]({'name':a90i(0xce),'usage':a90i(0xcf),'shortDesc':a90i(0xc6),'description':a90i(0xd6),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0xcb)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
1
+ function a90c(){const j=['3PToOJt','(((.+)+)+)+$','612984HpkEel','22xkwiJH','toString','runSubCommand','constructor','2094PhVsqV','654925TXXrdB','maka\x20set:<sub-command>','create','10972uBhmrx','111hNgwdp','1028110qFRppE','427777KWRxfy','findSubCommand','4872XNtjTm','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','search','27WVtPfF','6CMKKtx','\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','52496tLaHCR'];a90c=function(){return j;};return a90c();}const a90h=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0xcd))/0x1*(parseInt(f(0xc8))/0x2)+parseInt(f(0xc1))/0x3*(-parseInt(f(0xc3))/0x4)+-parseInt(f(0xc9))/0x5+parseInt(f(0xbe))/0x6*(-parseInt(f(0xcf))/0x7)+-parseInt(f(0xc0))/0x8*(-parseInt(f(0xbd))/0x9)+-parseInt(f(0xce))/0xa*(-parseInt(f(0xc4))/0xb)+-parseInt(f(0xd1))/0xc*(-parseInt(f(0xcc))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x19fad));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const g=a90d;return a90a['toString']()[g(0xbc)](g(0xc2))[g(0xc5)]()[g(0xc7)](a90a)[g(0xbc)](g(0xc2));});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xbc;let f=c[d];return f;},a90d(a,b);}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90h(0xcb)]({'name':'set','usage':a90h(0xca),'shortDesc':a90h(0xd2),'description':a90h(0xbf),'validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this[i(0xd0)](c);d&&this[i(0xc6)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x146))/0x1+parseInt(j(0x14b))/0x2*(parseInt(j(0x155))/0x3)+parseInt(j(0x15b))/0x4*(parseInt(j(0x164))/0x5)+parseInt(j(0x14c))/0x6*(-parseInt(j(0x15e))/0x7)+-parseInt(j(0x159))/0x8+parseInt(j(0x145))/0x9*(-parseInt(j(0x15f))/0xa)+parseInt(j(0x152))/0xb*(parseInt(j(0x15a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x3a057));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x149)]()[l(0x167)](l(0x156))['toString']()['constructor'](a91a)['search'](l(0x156));});function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x145;let f=c[d];return f;},a91d(a,b);}a91a();import a91e from'fs';function a91c(){const o=['getAppConfigPath','1384qieuhN','79668WwNvGQ','ssh.json','exit','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','join','sshSync','748891uRZOtC','fsi','parse','1506AIKTYD','(((.+)+)+)+$','env','ssh','1462864ZJScEU','84HhJxWQ','1065612CkZopY','maka\x20ssh\x20<command>','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','42mvVGvC','20hlBHsC','apply','error','maka\x20ssh\x20--env\x20dev','create','5DqIViD','verbose','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','search','517014eaoFxG','475281JWprHC','assign','readFileSync','toString'];a91c=function(){return o;};return a91c();}import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0x163)]({'name':a91m(0x158),'usage':a91m(0x15c),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x157)],'validOpts':[a91m(0x157),a91m(0x165)],'shortDesc':a91m(0x166),'examples':[a91m(0x162),'maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a91m(0x15d),a91m(0x14f)]},async function(a,b){const n=a91m;try{const c=this[n(0x153)][n(0x14a)](b[n(0x157)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x150)](c,n(0x14d)),g=a91e[n(0x148)](f)[n(0x149)](),h=JSON[n(0x154)](g);Object[n(0x147)](h,{'env':c}),SSH[n(0x151)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x165)]});}catch(i){Log[n(0x161)](i),process[n(0x14e)](0x1);}});
1
+ function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xc2;let f=c[d];return f;},a91d(a,b);}function a91c(){const n=['maka\x20ssh\x20--env\x20staging','join','9nmhAsI','6150BmcLfh','assign','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','353083OQTIKV','ssh.json','fsi','verbose','(((.+)+)+)+$','length','env','sshSync','6281590NnLKEC','exit','getAppConfigPath','maka\x20ssh\x20<command>','search','maka\x20ssh\x20--env\x20prod','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','7086LqWAKd','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','3514088uqcxdB','102932oYnMGD','constructor','ssh','toString','23171427FsAXuh','create','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','2855312TByCXn'];a91c=function(){return n;};return a91c();}const a91l=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xe0))/0x1+parseInt(j(0xd9))/0x2+parseInt(j(0xdc))/0x3*(-parseInt(j(0xd2))/0x4)+-parseInt(j(0xdd))/0x5*(parseInt(j(0xcf))/0x6)+-parseInt(j(0xc8))/0x7+-parseInt(j(0xd1))/0x8+parseInt(j(0xd6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xbf17c));const a91b=(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;};}()),a91a=a91b(this,function(){const k=a91d;return a91a[k(0xd5)]()['search'](k(0xc4))['toString']()[k(0xd3)](a91a)[k(0xcc)](k(0xc4));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91l(0xd7)]({'name':a91l(0xd4),'usage':a91l(0xcb),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':['env',a91l(0xc3)],'shortDesc':a91l(0xce),'examples':['maka\x20ssh\x20--env\x20dev',a91l(0xda),a91l(0xcd),a91l(0xd8),a91l(0xdf),a91l(0xd0)]},async function(a,b){const m=a91l;try{const c=this[m(0xc2)][m(0xca)](b[m(0xc6)]);let d='';a[m(0xc5)]>0x0&&(d=a[0x0]);const f=a91f[m(0xdb)](c,m(0xe1)),g=a91e['readFileSync'](f)['toString'](),h=JSON['parse'](g);Object[m(0xde)](h,{'env':c}),SSH[m(0xc7)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log['error'](i),process[m(0xc9)](0x1);}});
@@ -1 +1 @@
1
- const a92x=a92d;function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x19a;let f=c[d];return f;},a92d(a,b);}(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x1a6))/0x1+parseInt(v(0x1b3))/0x2+-parseInt(v(0x1aa))/0x3+-parseInt(v(0x1b1))/0x4+-parseInt(v(0x1a9))/0x5+parseInt(v(0x1a2))/0x6*(parseInt(v(0x1cd))/0x7)+parseInt(v(0x1c7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xc3b87));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const w=a92d;return a92a['toString']()['search']('(((.+)+)+)+$')['toString']()[w(0x1ca)](a92a)['search'](w(0x1ab));});a92a();import a92e from'fs';import a92f from'path';function a92c(){const z=['existsSync','constructor','assign','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','712418fHizam','/ssh.json','writeFileSync','join','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','domains','maka\x20ssl\x20[command]','.key','parse','notice','emailUpdate','create','env','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','fsi','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','72BYfMjU','uname\x20-a','.csr','Checking\x20remote\x20host\x20availability','780505EgMdxz','letsencrypt','email','1838820vpSmzC','3200859tAUkio','(((.+)+)+)+$','ssl','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','ask','generate-csr','genCSR','2141572cfzGxi','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','471698ZgRFbZ','generate-ssc','letsencrypt.json','sudo\x20snap\x20install\x20--classic\x20certbot','getAppConfigPath','readFileSync','genSSC','Verifying\x20Letsencrypt\x20configuration','\x20--email\x20','ssh','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','error','success','[?]\x20Domains\x20to\x20register:\x20','Remote\x20host\x20connection\x20successful','appName','exit','Please\x20provide\x20a\x20command.','toString','mkKeysDir','4273112QUMkcP','ping'];a92c=function(){return z;};return a92c();}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[a92x(0x19d)]({'name':a92x(0x1ac),'usage':a92x(0x1d3),'validOpts':['domains','email'],'requiredOpts':[a92x(0x19e)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a92x(0x1bd),a92x(0x1b2)]},async function(a,b){const y=a92x,c=this[y(0x1a0)]['getMakaProjectConfig'](),d=this[y(0x1a0)][y(0x1b7)](b[y(0x19e)]),f=this[y(0x1a0)][y(0x1c6)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x1af))SSL[y(0x1b0)]({'keyName':c[y(0x1c2)]+y(0x1d4),'csrName':c[y(0x1c2)]+'.csr','cwd':f});else{if(g===y(0x1b4)){if(!a92e[y(0x1c9)](a92f[y(0x1d0)](f,c['appName']+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a92f[y(0x1d0)](f,c[y(0x1c2)]+y(0x1d4));if(!a92e[y(0x1c9)](a92f['join'](f,c[y(0x1c2)]+'.csr')))throw y(0x1cc)+a92f[y(0x1d0)](f,c[y(0x1c2)]+y(0x1a4));SSL[y(0x1b9)]({'keyName':c['appName']+y(0x1d4),'crtName':c[y(0x1c2)]+'.crt','cwd':f}),Log[y(0x19b)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===y(0x1a7)){let h=b[y(0x1d2)],i=b[y(0x1a8)];try{const p=a92e[y(0x1b8)](a92f[y(0x1d0)](d,y(0x1b5)))[y(0x1c5)](),q=JSON[y(0x19a)](p);h=b[y(0x1d2)]?b[y(0x1d2)]:q['domainNames'],i=b[y(0x1a8)]?b[y(0x1a8)]:q[y(0x19c)],(!b[y(0x1a8)]||!b[y(0x1d2)])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[y(0x19a)](a92e[y(0x1b8)](d+y(0x1ce))['toString']());Object[y(0x1cb)](j,{'env':d}),Log[y(0x19b)](y(0x1a5));try{const s=SSH[y(0x1c8)](y(0x1a3),j);if(!s)throw y(0x1ad);if(s)Log[y(0x1bf)](y(0x1c1));}catch(t){Log[y(0x1be)](t);return;}const k=Log['withSpinner']();k['start'](y(0x1ba)),SSH['ssh'](y(0x19f),{...j}),SSH['ssh'](y(0x1b6),{...j}),SSH[y(0x1bc)](y(0x1d1),{...j}),k['success']();const l=h?h:await Actions[y(0x1ae)](y(0x1c0)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[y(0x1bc)](y(0x1a1)+l+y(0x1bb)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a92e[y(0x1cf)](a92f[y(0x1d0)](d,y(0x1b5)),o);}else throw y(0x1c4);}}}catch(u){console[y(0x1be)](u),process[y(0x1c3)](0x0);}});
1
+ const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0x14f))/0x1+parseInt(v(0x13b))/0x2+parseInt(v(0x123))/0x3+parseInt(v(0x150))/0x4+parseInt(v(0x152))/0x5+parseInt(v(0x131))/0x6*(parseInt(v(0x12a))/0x7)+parseInt(v(0x121))/0x8*(-parseInt(v(0x12b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xb0763));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a['toString']()[x(0x145)]('(((.+)+)+)+$')['toString']()['constructor'](a92a)[x(0x145)](x(0x158));});function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x11d;let f=c[d];return f;},a92d(a,b);}a92a();import a92e from'fs';import a92f 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';function a92c(){const A=['.crt','ask','join','ssh','apply','existsSync','success','ssl','968sxbJeC','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','2455644gNNWkx','Please\x20provide\x20a\x20command.','stringify','[?]\x20Domains\x20to\x20register:\x20','\x20--email\x20','appName','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','14HxXVGn','228213eFFLNO','domains','emailUpdate','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','error','generate-csr','2128692KKmQjD','notice','Create\x20and\x20manage\x20your\x20SSL\x20operations.','env','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','assign','parse','.csr','toString','exit','2866746RdtuNz','email','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','genSSC','letsencrypt','letsencrypt.json','maka\x20ssl\x20--env\x20dev\x20generate-csr','readFileSync','Checking\x20remote\x20host\x20availability','getAppConfigPath','search','uname\x20-a','sudo\x20snap\x20install\x20--classic\x20certbot','.key','Remote\x20host\x20connection\x20successful','create','fsi','start','New\x20CSR\x20written\x20to\x20','domainNames','100678rKVgby','2576532VjsFrZ','genCSR','1430220oWLQLl','getMakaProjectConfig','generate-ssc','withSpinner','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','/ssh.json','(((.+)+)+)+$','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.'];a92c=function(){return A;};return a92c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x14a)]({'name':a92y(0x120),'usage':'maka\x20ssl\x20[command]','validOpts':[a92y(0x12c),a92y(0x13c)],'requiredOpts':[a92y(0x134)],'shortDesc':a92y(0x133),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0x141),a92y(0x12e),a92y(0x156)]},async function(a,b){const z=a92y,c=this[z(0x14b)][z(0x153)](),d=this['fsi'][z(0x144)](b[z(0x134)]),f=this['fsi']['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x130))SSL[z(0x151)]({'keyName':c[z(0x128)]+z(0x148),'csrName':c[z(0x128)]+z(0x138),'cwd':f});else{if(g===z(0x154)){if(!a92e[z(0x11e)](a92f['join'](f,c[z(0x128)]+z(0x148))))throw z(0x135)+a92f[z(0x15c)](f,c[z(0x128)]+z(0x148));if(!a92e['existsSync'](a92f[z(0x15c)](f,c[z(0x128)]+z(0x138))))throw z(0x122)+a92f['join'](f,c['appName']+z(0x138));SSL[z(0x13e)]({'keyName':c['appName']+z(0x148),'crtName':c[z(0x128)]+z(0x15a),'cwd':f}),Log[z(0x132)](z(0x14d)+f);}else{if(g===z(0x13f)){let h=b[z(0x12c)],i=b['email'];try{const p=a92e[z(0x142)](a92f[z(0x15c)](d,z(0x140)))[z(0x139)](),q=JSON[z(0x137)](p);h=b[z(0x12c)]?b[z(0x12c)]:q[z(0x14e)],i=b[z(0x13c)]?b[z(0x13c)]:q[z(0x12d)],(!b[z(0x13c)]||!b[z(0x12c)])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[z(0x137)](a92e['readFileSync'](d+z(0x157))[z(0x139)]());Object[z(0x136)](j,{'env':d}),Log['notice'](z(0x143));try{const s=SSH['ping'](z(0x146),j);if(!s)throw z(0x159);if(s)Log['success'](z(0x149));}catch(t){Log['error'](t);return;}const k=Log[z(0x155)]();k[z(0x14c)]('Verifying\x20Letsencrypt\x20configuration'),SSH['ssh'](z(0x13d),{...j}),SSH[z(0x15d)](z(0x147),{...j}),SSH['ssh']('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0x11f)]();const l=h?h:await Actions['ask'](z(0x126)),m=i?i:await Actions[z(0x15b)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0x15d)](z(0x129)+l+z(0x127)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x125)](n,null,0x2);a92e['writeFileSync'](a92f[z(0x15c)](d,'letsencrypt.json'),o);}else throw z(0x124);}}}catch(u){console[z(0x12f)](u),process[z(0x13a)](0x0);}});
@@ -1 +1 @@
1
- const a93p=a93d;function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x103;let f=c[d];return f;},a93d(a,b);}(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x104))/0x1*(parseInt(m(0x11b))/0x2)+-parseInt(m(0x115))/0x3*(-parseInt(m(0x131))/0x4)+parseInt(m(0x117))/0x5*(-parseInt(m(0x11e))/0x6)+parseInt(m(0x10f))/0x7+parseInt(m(0x118))/0x8*(-parseInt(m(0x137))/0x9)+parseInt(m(0x135))/0xa+-parseInt(m(0x106))/0xb*(parseInt(m(0x109))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xcb034));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const n=a93d;return a93a[n(0x139)]()[n(0x143)](n(0x130))[n(0x139)]()['constructor'](a93a)[n(0x143)](n(0x130));});a93a();import a93e from'fs';import a93f from'path';function a93c(){const s=['Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','20LlQKWQ','argv','.maka','29898RhldSF','--driver-package','openSync','notice','concat','config','create','fsi','test-packages','--driver','settings.json','warn','test','driver','Cannot\x20find\x20Node\x20Environment\x20File:\x20','unit','sanjo:jasmine','--settings','(((.+)+)+)+$','4RcxOVh','driverPackage','readFileSync','development','10657980efJNuU','tests','26973kXtbQr','rawLogs','toString','jasmine','filter','Meteor\x20Settings:\x20','isFile','maka\x20test','inspect','--packages','findProjectDirectory','testAppPath','search','env','driver-package','mocha','join','config.json','utf8','2503HLwLNP','process.env','4806989BGmSkL','none','exit','36rYehCy','once','error','meteortesting:mocha','forEach','--env','6034994QmrGsu','packages','getAppConfigPath','splice','invokeMeteorCommand','engines','1977630KmzOHe','Node\x20Env\x20Config:\x20','415gjAbia','16ispyMa','parse'];a93c=function(){return s;};return a93c();}import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e[o(0x120)](a,'r'),a93g[o(0x123)]({'path':a});};Command[a93p(0x124)]({'name':a93p(0x12a),'mustBeInMakaProject':!![],'validOpts':[a93p(0x10a),a93p(0x110),'driver',a93p(0x132),a93p(0x12d),a93p(0x144),a93p(0x138),'port',a93p(0x13f),a93p(0x142)],'usage':a93p(0x13e),'aliases':['t',a93p(0x136)],'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const q=a93p;try{let c=this[q(0x125)][q(0x111)](q(0x134));b[q(0x144)]&&(c=this['fsi'][q(0x111)](b['env']));(!b[q(0x12d)]||!!b[q(0x10a)])&&(a=a['concat'](['--full-app']));b[q(0x12d)]&&delete b[q(0x12d)];let d=b[q(0x145)]||b[q(0x12b)]||q(0x107);if(d===q(0x107)){const j=JSON[q(0x119)](a93e[q(0x133)](a93f[q(0x147)](this[q(0x125)][q(0x141)](),q(0x11d),q(0x148)),q(0x103)));if(j[q(0x114)]['test']===q(0x13a))d=q(0x12e);else j[q(0x114)][q(0x12a)]===q(0x146)&&(d=q(0x10c));}if(d===q(0x107))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[q(0x145)]||!b[q(0x12b)])&&(a=a[q(0x122)]([q(0x11f),d]));const f=a93f[q(0x147)](c,q(0x128));this['fsi'][q(0x13d)](f)?(Log[q(0x121)](q(0x13c)+f),a=a['concat']([q(0x12f),f])):Log[q(0x129)](q(0x11a)+f);const g=a93f[q(0x147)](c,q(0x105));this[q(0x125)][q(0x13d)](g)?(Log[q(0x121)](q(0x116)+g),syncSource(g)):Log[q(0x129)](q(0x12c)+g);const h=process[q(0x11c)]['slice'](0x2)['filter'](k=>k!==q(0x10e))[q(0x13b)](k=>k!==q(0x12a))[q(0x13b)](k=>k!==a[0x0]);h[q(0x10d)]((k,l)=>{const r=q;(k===r(0x10e)||k===r(0x127))&&h['splice'](l,0x2),k===r(0x140)&&h[r(0x112)](l,0x1);});const i=b[q(0x110)]?q(0x126):q(0x12a);this[q(0x125)][q(0x113)](i,a[q(0x122)](h));}catch(k){console[q(0x10b)](k),process[q(0x108)](0x0);}});
1
+ const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x97))/0x1+parseInt(m(0x68))/0x2*(-parseInt(m(0x7d))/0x3)+parseInt(m(0x8b))/0x4*(parseInt(m(0x94))/0x5)+parseInt(m(0x74))/0x6+-parseInt(m(0x81))/0x7+parseInt(m(0xa6))/0x8+-parseInt(m(0x9e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xbbee9));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const n=a93d;return a93a[n(0x7a)]()['search'](n(0x87))[n(0x7a)]()[n(0xa1)](a93a)[n(0x8e)](n(0x87));});a93a();import a93e from'fs';import a93f from'path';function a93c(){const s=['Meteor\x20Settings:\x20','testAppPath','search','driver-package','unit','rawLogs','forEach','parse','7090980RDwIjX','argv','isFile','890756dNqxrE','--settings','join','jasmine','--driver-package','warn','test-packages','13896180BlqhrJ','test','config.json','constructor','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','maka\x20test','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','filter','1983888QGbMOy','--driver','282keZAvL','env','create','notice','--env','splice','fsi','concat','packages','driver','readFileSync','sanjo:jasmine','6904992zmyBxT','tests','none','findProjectDirectory','--full-app','config','toString','slice','getAppConfigPath','5802AMEqnA','once','inspect','Cannot\x20find\x20Node\x20Environment\x20File:\x20','7849009DJBNpY','exit','.maka','mocha','openSync','driverPackage','(((.+)+)+)+$','development','error','engines','4ZrztCT'];a93c=function(){return s;};return a93c();}import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e[o(0x85)](a,'r'),a93g[o(0x79)]({'path':a});};function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x68;let f=c[d];return f;},a93d(a,b);}Command[a93p(0x6a)]({'name':a93p(0x9f),'mustBeInMakaProject':!![],'validOpts':[a93p(0x7e),a93p(0x70),a93p(0x71),a93p(0x86),a93p(0x90),a93p(0x69),a93p(0x91),'port',a93p(0x7f),a93p(0x8d)],'usage':a93p(0xa3),'aliases':['t',a93p(0x75)],'shortDesc':a93p(0xa4),'examples':[]},function(a,b){const q=a93p;try{let c=this[q(0x6e)][q(0x7c)](q(0x88));b['env']&&(c=this['fsi'][q(0x7c)](b[q(0x69)]));(!b['unit']||!!b[q(0x7e)])&&(a=a[q(0x6f)]([q(0x78)]));b[q(0x90)]&&delete b[q(0x90)];let d=b[q(0x8f)]||b[q(0x71)]||q(0x76);if(d===q(0x76)){const j=JSON[q(0x93)](a93e[q(0x72)](a93f[q(0x99)](this[q(0x6e)][q(0x77)](),q(0x83),q(0xa0)),'utf8'));if(j[q(0x8a)]['test']===q(0x9a))d=q(0x73);else j[q(0x8a)][q(0x9f)]===q(0x84)&&(d='meteortesting:mocha');}if(d===q(0x76))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b['driver-package']||!b['driver'])&&(a=a[q(0x6f)]([q(0x9b),d]));const f=a93f[q(0x99)](c,'settings.json');this[q(0x6e)][q(0x96)](f)?(Log['notice'](q(0x8c)+f),a=a[q(0x6f)]([q(0x98),f])):Log[q(0x9c)](q(0xa2)+f);const g=a93f[q(0x99)](c,'process.env');this[q(0x6e)]['isFile'](g)?(Log[q(0x6b)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0x9c)](q(0x80)+g);const h=process[q(0x95)][q(0x7b)](0x2)[q(0xa5)](k=>k!==q(0x6c))[q(0xa5)](k=>k!==q(0x9f))[q(0xa5)](k=>k!==a[0x0]);h[q(0x92)]((k,l)=>{const r=q;(k===r(0x6c)||k===r(0xa7))&&h[r(0x6d)](l,0x2),k==='--packages'&&h[r(0x6d)](l,0x1);});const i=b[q(0x70)]?q(0x9d):q(0x9f);this['fsi']['invokeMeteorCommand'](i,a['concat'](h));}catch(k){console[q(0x89)](k),process[q(0x82)](0x0);}});
@@ -1 +1 @@
1
- const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0xce))/0x1+-parseInt(k(0xc7))/0x2*(-parseInt(k(0xcd))/0x3)+-parseInt(k(0xe8))/0x4+-parseInt(k(0xd6))/0x5+-parseInt(k(0xd4))/0x6*(parseInt(k(0xea))/0x7)+parseInt(k(0xcc))/0x8*(parseInt(k(0xde))/0x9)+parseInt(k(0xd7))/0xa*(parseInt(k(0xe4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xcede5));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0xf3)]()[m(0xe6)](m(0xe9))['toString']()[m(0xe3)](a94a)[m(0xe6)](m(0xe9));});a94a();import{execSync}from'child_process';import a94e from'semver';function a94c(){const p=['node\x20-v','warn','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','create','Maka\x20','toString','System\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','getGlobalMeteorVersion','verbose','meteor.bat','maka\x20v','----------------------Project----------------------------','106axZIrG','4.8.6','fsi','getProjectsMeteorNodeVersion','apply','21992yLxZNJ','6429xUKClg','944721wVORyC','maka\x20version\x20--verbose','notice','Project\x27s\x20Meteor\x20Node\x20Version\x20','replace','\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','4117614NPIXzV','N/A','56325fINdiz','23510330nMScyH','bright','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','getProjectMeteorVersion','Project\x27s\x20Meteor\x20Version\x20','System\x27s\x20Meteor\x20Version\x20','----------------------System----------------------------','3609XvDNkV','win32',')\x20to\x20at\x20least\x20meteor\x27s\x20(','compareMakaToLatest','isMakaProject','constructor','11dajsWq','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','search','maka\x20version','4309492BoNMwv','(((.+)+)+)+$','7OLbhRu','version','platform','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.'];a94c=function(){return p;};return a94c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xc6;let f=c[d];return f;},a94d(a,b);}const pjson={'version':a94n(0xc8)};Command[a94n(0xf1)]({'name':a94n(0xeb),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a94n(0xf7)],'shortDesc':a94n(0xed),'examples':[a94n(0xf9),a94n(0xe7),a94n(0xcf)],'description':'\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20'},async function(a,b){const o=a94n;try{const c=process[o(0xec)]===o(0xdf)?o(0xf8):'meteor';Log['majestic'](o(0xf2)+pjson[o(0xeb)]),await this[o(0xc9)][o(0xe1)]();if(b[o(0xf7)]){await this[o(0xc9)]['compareMakaToLatest'](),Log[o(0xd8)](o(0xdd));const d=this[o(0xc9)][o(0xf6)]();Log[o(0xd8)]((o(0xdc)+d)[o(0xd2)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0xf3)]()[o(0xd2)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xd8)](o(0xe5)+f);const g=execSync(o(0xee))[o(0xf3)]()[o(0xd2)](/\r?\n|\r/,'')[o(0xd2)]('v','');a94e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log['warn'](o(0xf5)+g+o(0xe0)+f+')')):Log[o(0xd8)](o(0xf4)+g);if(this[o(0xc9)][o(0xe2)]()){Log['bright'](o(0xc6));const h=this['fsi'][o(0xda)]();a94e['gt'](d,h)?(Log['warn'](o(0xdb)+h[o(0xd2)]('\x0a','')),Log[o(0xef)](o(0xf0)+d+'\x22')):Log[o(0xd0)]((o(0xdb)+h)['replace']('\x0a',''));const i=await this['fsi'][o(0xca)]();i===o(0xd5)?(Log['warn'](o(0xd1)+i),Log['warn'](o(0xd9))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xd8)](o(0xd3));}}}catch(j){console['error'](j),process['exit'](0x0);}});
1
+ const a94m=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0xa0))/0x1*(-parseInt(k(0xaf))/0x2)+-parseInt(k(0x98))/0x3*(parseInt(k(0x91))/0x4)+parseInt(k(0x8b))/0x5+-parseInt(k(0xa9))/0x6*(parseInt(k(0xac))/0x7)+-parseInt(k(0x84))/0x8*(-parseInt(k(0x9b))/0x9)+-parseInt(k(0xa1))/0xa+parseInt(k(0xab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x28614));const a94b=(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;};}()),a94a=a94b(this,function(){const l=a94d;return a94a[l(0xa2)]()[l(0xa8)](l(0x90))['toString']()['constructor'](a94a)[l(0xa8)](l(0x90));});a94a();import{execSync}from'child_process';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x82;let f=c[d];return f;},a94d(a,b);}import a94e from'semver';function a94c(){const o=['toString','node\x20-v','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','getProjectMeteorVersion','getProjectsMeteorNodeVersion','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','search','406602zMYqyY','maka\x20v','860453eTeubf','7WaNgIP','replace','platform','8140Chfoow','maka\x20version','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','majestic','----------------------Project----------------------------','8StBUwn','fsi','Maka\x20','Project\x27s\x20Meteor\x20Version\x20','warn','verbose','4.8.7','1465475YiCNKA','meteor','getGlobalMeteorVersion','version','\x20node\x20-v','(((.+)+)+)+$','16804sMqxLG','System\x27s\x20Node\x20Version\x20','error','maka\x20version\x20--verbose',')\x20to\x20at\x20least\x20meteor\x27s\x20(','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','compareMakaToLatest','21QuhPuH','meteor.bat','Project\x27s\x20Meteor\x20Node\x20Version\x20','2124117tWlcpl','win32','\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','N/A','bright','49lJuaSH','1453310VKbzXQ'];a94c=function(){return o;};return a94c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94m(0x8a)};Command['create']({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a94m(0x89)],'shortDesc':a94m(0x96),'examples':[a94m(0xaa),a94m(0xb0),a94m(0x94)],'description':a94m(0x9d)},async function(a,b){const n=a94m;try{const c=process[n(0xae)]===n(0x9c)?n(0x99):n(0x8c);Log[n(0x82)](n(0x86)+pjson[n(0x8e)]),await this['fsi'][n(0x97)]();if(b['verbose']){await this[n(0x85)][n(0x97)](),Log[n(0x9f)]('----------------------System----------------------------');const d=this[n(0x85)][n(0x8d)]();Log[n(0x9f)](('System\x27s\x20Meteor\x20Version\x20'+d)[n(0xad)]('\x0a',''));const f=execSync(c+n(0x8f))[n(0xa2)]()[n(0xad)](/\r?\n|\r/,'')[n(0xad)]('v','');Log[n(0x9f)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(n(0xa3))[n(0xa2)]()['replace'](/\r?\n|\r/,'')[n(0xad)]('v','');a94e['gt'](f,g)?(Log[n(0x88)](n(0x92)+g),Log[n(0x88)](n(0xa7)+g+n(0x95)+f+')')):Log[n(0x9f)](n(0x92)+g);if(this['fsi']['isMakaProject']()){Log[n(0x9f)](n(0x83));const h=this['fsi'][n(0xa5)]();a94e['gt'](d,h)?(Log[n(0x88)](n(0x87)+h[n(0xad)]('\x0a','')),Log[n(0x88)](n(0xb1)+d+'\x22')):Log['notice']((n(0x87)+h)[n(0xad)]('\x0a',''));const i=await this[n(0x85)][n(0xa6)]();i===n(0x9e)?(Log[n(0x88)](n(0x9a)+i),Log[n(0x88)](n(0xa4))):Log[n(0x9f)](n(0x9a)+i),Log['bright']('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[n(0x93)](j),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0xd1))/0x1+-parseInt(f(0xcb))/0x2*(parseInt(f(0xcc))/0x3)+-parseInt(f(0xd3))/0x4*(-parseInt(f(0xca))/0x5)+parseInt(f(0xc7))/0x6*(-parseInt(f(0xcf))/0x7)+-parseInt(f(0xc8))/0x8+parseInt(f(0xd2))/0x9+parseInt(f(0xd4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xb4f61));var a95b=(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;};}()),a95a=a95b(this,function(){var g=a95d;return a95a[g(0xc9)]()[g(0xce)](g(0xcd))['toString']()[g(0xd0)](a95a)[g(0xce)](g(0xcd));});a95a();function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xc7;var f=c[d];return f;},a95d(a,b);}export class UsageError{}function a95c(){var h=['217538IYASyu','1476945cDvJWU','4AAAGFK','28615640OwMoLj','6uwMWYm','10272768llBTLv','toString','2088695OTKMep','43736iJCJkF','156TWrVJI','(((.+)+)+)+$','search','3489479oJRWui','constructor'];a95c=function(){return h;};return a95c();}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0xeb))/0x1+parseInt(f(0xed))/0x2+-parseInt(f(0xe3))/0x3+parseInt(f(0xf0))/0x4+parseInt(f(0xe7))/0x5*(parseInt(f(0xe6))/0x6)+parseInt(f(0xea))/0x7*(-parseInt(f(0xe2))/0x8)+parseInt(f(0xe4))/0x9*(parseInt(f(0xee))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xa9774));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a['toString']()[h(0xef)](h(0xe5))[h(0xe8)]()[h(0xec)](a95a)['search'](h(0xe5));});a95a();export class UsageError{}export class UsageErrorWithSubs{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xe2;var f=c[d];return f;},a95d(a,b);}function a95c(){var i=['2377060yyJsGy','toString','apply','21zgdAYw','1351183tYENrO','constructor','718766bdAKlf','10RLJogf','search','1065988xfIJvD','1337408vrYRaE','3494676WokFRm','23493987mUggjG','(((.+)+)+)+$','6qHBEuZ'];a95c=function(){return i;};return a95c();}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0xb1))/0x1*(-parseInt(f(0xb4))/0x2)+-parseInt(f(0xbc))/0x3+parseInt(f(0xb5))/0x4*(parseInt(f(0xb0))/0x5)+parseInt(f(0xba))/0x6+parseInt(f(0xb6))/0x7*(parseInt(f(0xb7))/0x8)+-parseInt(f(0xc0))/0x9+-parseInt(f(0xbb))/0xa*(parseInt(f(0xbd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x7fa9a));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()[h(0xb3)](h(0xb2))[h(0xc2)]()[h(0xb9)](a96a)[h(0xb3)]('(((.+)+)+)+$');});function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xb0;var f=c[d];return f;},a96d(a,b);}a96a(),process[a96i(0xb8)][a96i(0xc1)]=a96i(0xbe);function a96c(){var j=['15ASxFgZ','1kXVxyH','(((.+)+)+)+$','search','870798DjQEtJ','1105948gSkuIu','244020RyViRW','120WNoZas','env','constructor','5276718fsciMm','7044580lpNIQA','867783LKAaEM','11aeMeoy','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','apply','2518110HRJQmX','NODE_OPTIONS','toString'];a96c=function(){return j;};return a96c();}import'./maka.js';
2
+ var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x1de))/0x1*(parseInt(f(0x1e1))/0x2)+-parseInt(f(0x1dd))/0x3+parseInt(f(0x1ea))/0x4+parseInt(f(0x1e0))/0x5*(-parseInt(f(0x1e4))/0x6)+parseInt(f(0x1eb))/0x7+parseInt(f(0x1e9))/0x8+-parseInt(f(0x1e3))/0x9*(-parseInt(f(0x1e8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xb5eb7));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x1dd;var f=c[d];return f;},a96d(a,b);}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()[h(0x1e2)](h(0x1df))['toString']()['constructor'](a96a)['search'](h(0x1df));});a96a(),process[a96i(0x1e6)]['NODE_OPTIONS']=a96i(0x1e5);import'./maka.js';function a96c(){var j=['18BJfuSQ','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','env','apply','455510cVeauy','4125488LdEKTc','1756224LNsybn','6289934CVUWeC','1362921NjQJYJ','28sYTWfN','(((.+)+)+)+$','1479305gzFZaB','6934zxFeCo','search','27ApgVcu'];a96c=function(){return j;};return a96c();}