@maka/maka-cli 4.4.4 → 4.4.5

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 (97) 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/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/generate.js +1 -1
  29. package/bundle/obf/src/commands/get/_index.js +1 -1
  30. package/bundle/obf/src/commands/get/get.command.js +1 -1
  31. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/help.js +1 -1
  35. package/bundle/obf/src/commands/install.js +1 -1
  36. package/bundle/obf/src/commands/jsdoc.js +1 -1
  37. package/bundle/obf/src/commands/lint.js +1 -1
  38. package/bundle/obf/src/commands/login.js +1 -1
  39. package/bundle/obf/src/commands/logout.js +1 -1
  40. package/bundle/obf/src/commands/logs.js +1 -1
  41. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  42. package/bundle/obf/src/commands/murder.js +1 -1
  43. package/bundle/obf/src/commands/proxy.js +1 -1
  44. package/bundle/obf/src/commands/reconfig.js +1 -1
  45. package/bundle/obf/src/commands/run/_index.js +1 -1
  46. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/run/run.command.js +1 -1
  48. package/bundle/obf/src/commands/set/_index.js +1 -1
  49. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  51. package/bundle/obf/src/commands/set/set.command.js +1 -1
  52. package/bundle/obf/src/commands/ssh.js +1 -1
  53. package/bundle/obf/src/commands/ssl.js +1 -1
  54. package/bundle/obf/src/commands/test.js +1 -1
  55. package/bundle/obf/src/commands/version.js +1 -1
  56. package/bundle/obf/src/error.js +1 -1
  57. package/bundle/obf/src/generator.js +1 -1
  58. package/bundle/obf/src/generators/_index.js +1 -1
  59. package/bundle/obf/src/generators/api.js +1 -1
  60. package/bundle/obf/src/generators/collection.js +1 -1
  61. package/bundle/obf/src/generators/component.js +1 -1
  62. package/bundle/obf/src/generators/config.js +1 -1
  63. package/bundle/obf/src/generators/dbc.js +1 -1
  64. package/bundle/obf/src/generators/dockerfile.js +1 -1
  65. package/bundle/obf/src/generators/hook.js +1 -1
  66. package/bundle/obf/src/generators/kit.js +1 -1
  67. package/bundle/obf/src/generators/layout.js +1 -1
  68. package/bundle/obf/src/generators/maka.gen.js +1 -1
  69. package/bundle/obf/src/generators/methods.js +1 -1
  70. package/bundle/obf/src/generators/package.js +1 -1
  71. package/bundle/obf/src/generators/page.js +1 -1
  72. package/bundle/obf/src/generators/publish.js +1 -1
  73. package/bundle/obf/src/generators/route.js +1 -1
  74. package/bundle/obf/src/generators/service.js +1 -1
  75. package/bundle/obf/src/generators/services/_index.js +1 -1
  76. package/bundle/obf/src/generators/services/openssl.js +1 -1
  77. package/bundle/obf/src/generators/services/translation.js +1 -1
  78. package/bundle/obf/src/maka.js +1 -1
  79. package/bundle/obf/src/tool.js +1 -1
  80. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  81. package/bundle/obf/src/tools/actions/actions.test.js +1 -1
  82. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  83. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  84. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  85. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  86. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  87. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  88. package/bundle/obf/src/tools/https/https.class.js +1 -1
  89. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  90. package/bundle/obf/src/tools/log/log.class.js +1 -1
  91. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  92. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  93. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  94. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  95. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  97. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0x192))/0x1+parseInt(w(0x174))/0x2+parseInt(w(0x170))/0x3*(-parseInt(w(0x19d))/0x4)+-parseInt(w(0x181))/0x5*(parseInt(w(0x17e))/0x6)+-parseInt(w(0x175))/0x7+-parseInt(w(0x172))/0x8+parseInt(w(0x180))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xf1475));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a[y(0x18c)]()['search'](y(0x16b))[y(0x18c)]()[y(0x18b)](a36a)[y(0x19e)]('(((.+)+)+)+$');});a36a();import a36e from'node-forge';import{Command}from'../command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x16a;let f=c[d];return f;},a36d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36z(0x16a)][a36z(0x176)]===a36z(0x189)?a36z(0x194):'www.maka-cli.com';Command[a36z(0x197)]({'name':'login','validOpts':[a36z(0x17a),a36z(0x17f),a36z(0x171),a36z(0x17b),a36z(0x193)],'usage':a36z(0x182),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0x188),'examples':['maka\x20login',a36z(0x19c)]},async function(a,b){const A=a36z,c=Log[A(0x16d)]();try{let d='';b[A(0x17b)]&&(this[A(0x18d)]['isFile'](b[A(0x17b)])?(d=b[A(0x17b)],Log['notice']('Using\x20CA\x20Cert\x20'+d)):Log[A(0x196)](A(0x199)+d));const f=await this['fsi']['getGlobalConfig']();if(f[A(0x186)]){if(this[A(0x18d)][A(0x179)](f['cert']))d=f[A(0x186)];else{Log[A(0x196)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[A(0x184)](A(0x18f)+hostname);const g={'url':A(0x198)+hostname+A(0x187)};b['cacert']&&Object[A(0x191)](g,{'cert':d});c[A(0x19a)]('Preflight\x20Check');const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[A(0x16e)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[A(0x16e)]();throw A(0x198)+hostname+A(0x17c);}c['success']();const i=b[A(0x17a)]?b[A(0x17a)]:await Actions[A(0x178)]('Email:'),j=b['password']?b['password']:await Actions[A(0x178)]('Password:\x20',!![]),k=a36e['md'][A(0x173)][A(0x197)]();k[A(0x185)](j);const l=k['digest']()[A(0x18e)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[A(0x17b)]&&Object[A(0x191)](m,{'cert':d});c['start'](A(0x19b));const {data:n,statusCode:o}=await HTTPS[A(0x17d)](m);if(o===0x198){c[A(0x16e)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON[A(0x195)](n);if(p[A(0x190)]){const q={'hostname':hostname,'path':A(0x16c),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0x17b)]&&Object[A(0x191)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x17d)](q),{token:t}=JSON[A(0x195)](r);if(s===0x198)throw A(0x18a)+hostname;const u={'token':p,'hash':t};this[A(0x18d)][A(0x183)](u);}else{c[A(0x16e)]();throw p;}c['success']();}catch(v){c['failure'](),console['error'](v),process[A(0x177)](0x0);}});function a36c(){const B=['maka\x20login\x20<opts>','setGlobalConfig','header','update','cert','/api/v1/status','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','True','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','constructor','toString','fsi','toHex','Logging\x20into\x20https://','authToken','assign','410200WEPudj','debug','localhost','parse','error','create','https://','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','start','Logging\x20in','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','1875408rWXyVJ','search','env','(((.+)+)+)+$','/api/v1/encodeJwt','withSpinner','failure','apply','9ARTZTC','help','468544tnDkBx','sha256','3168682JBAoIG','11137945UKcrAX','MAKA_DEV','exit','ask','isFile','email','cacert','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','post','151356iunbdO','password','30374235QsiyrV','100PbkmdN'];a36c=function(){return B;};return a36c();}
1
+ const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0x7b))/0x1*(parseInt(w(0x75))/0x2)+-parseInt(w(0xa7))/0x3*(-parseInt(w(0xa0))/0x4)+-parseInt(w(0x70))/0x5*(-parseInt(w(0x80))/0x6)+-parseInt(w(0x73))/0x7*(-parseInt(w(0x91))/0x8)+-parseInt(w(0x82))/0x9+parseInt(w(0x9e))/0xa+-parseInt(w(0x96))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x3ebf2));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a[y(0x98)]()[y(0x95)]('(((.+)+)+)+$')[y(0x98)]()[y(0xab)](a36a)['search'](y(0x8e));});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x6f;let f=c[d];return f;},a36d(a,b);}a36a();import a36e from'node-forge';function a36c(){const B=['email','search','6122842GCQoMC','exit','toString','www.maka-cli.com','localhost','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','failure','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','4947120PpASBZ','MAKA_DEV','2364GaLqmf','isFile','cacert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','withSpinner','update','fsi','1974NPZLqq','/api/v1/login','help','apply','constructor','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','/api/v1/encodeJwt','Password:\x20','47910ssNzAt','parse','error','1043UEVtLK','https://','241646PONcbU','getGlobalConfig','Logging\x20into\x20https://','maka\x20login','password','authToken','2MIuuvn','create','maka\x20login\x20<opts>','env','assign','102TJcwGq','post','4573548hUdoaj','start','ask','success','get','toHex','Using\x20CA\x20Cert\x20','/api/v1/status','sha256','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','login','cert','(((.+)+)+)+$','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','setGlobalConfig','1808Vpqtnq','Preflight\x20Check','digest'];a36c=function(){return B;};return a36c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36z(0x7e)][a36z(0x9f)]==='True'?a36z(0x9a):a36z(0x99);Command[a36z(0x7c)]({'name':a36z(0x8c),'validOpts':[a36z(0x94),'password',a36z(0xa9),'cacert','debug'],'usage':a36z(0x7d),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0xac),'examples':[a36z(0x78),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a36z,c=Log[A(0xa4)]();try{let d='';b[A(0xa2)]&&(this[A(0xa6)]['isFile'](b[A(0xa2)])?(d=b[A(0xa2)],Log['notice'](A(0x88)+d)):Log['error'](A(0x8b)+d));const f=await this[A(0xa6)][A(0x76)]();if(f['cert']){if(this['fsi'][A(0xa1)](f[A(0x8d)]))d=f[A(0x8d)];else{Log[A(0x72)](A(0x9b)+d);return;}}Log['header'](A(0x77)+hostname);const g={'url':A(0x74)+hostname+A(0x89)};b[A(0xa2)]&&Object[A(0x7f)](g,{'cert':d});c['start'](A(0x92));const {statusCode:h}=await HTTPS[A(0x86)](g);if(h===0x198){c[A(0x9c)]();throw A(0xa3);}if(h!==0xc8){c['failure']();throw A(0x74)+hostname+A(0x8f);}c['success']();const i=b[A(0x94)]?b[A(0x94)]:await Actions['ask']('Email:'),j=b[A(0x79)]?b[A(0x79)]:await Actions[A(0x84)](A(0x6f),!![]),k=a36e['md'][A(0x8a)][A(0x7c)]();k[A(0xa5)](j);const l=k[A(0x93)]()[A(0x87)](),m={'hostname':hostname,'path':A(0xa8),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xa2)]&&Object[A(0x7f)](m,{'cert':d});c[A(0x83)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS[A(0x81)](m);if(o===0x198){c[A(0x9c)]('\x0a');throw A(0x9d)+hostname;}const p=JSON[A(0x71)](n);if(p[A(0x7a)]){const q={'hostname':hostname,'path':A(0xad),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0xa2)]&&Object[A(0x7f)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[A(0x71)](r);if(s===0x198)throw A(0x9d)+hostname;const u={'token':p,'hash':t};this[A(0xa6)][A(0x90)](u);}else{c[A(0x9c)]();throw p;}c[A(0x85)]();}catch(v){c[A(0x9c)](),console['error'](v),process[A(0x97)](0x0);}});
@@ -1 +1 @@
1
- const a37o=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x182;let f=c[d];return f;},a37d(a,b);}function a37c(){const q=['True','Preflight\x20Check','toString','isFile','10847710DzMMkx','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','search','5818673heebdG','Logging\x20out\x20of\x20https://','8jASpwv','/api/v1/status','exit','success','notice','create','102852wyLikg','1573bvJeJY','maka\x20logout','withSpinner','constructor','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','apply','error','1835745GKWudA','/api/v1/logoutAll','9ZvkoXK','setGlobalConfig','cacert','2uAQuHZ','1934820cwuVxL','post','MAKA_DEV','75756nnXtdB','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','failure','header','fsi','cert','625912DJOPjh','maka\x20logout\x20<opts>','get','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','start','env','Logging\x20out','Using\x20CA\x20Cert\x20','logout','235UpUxfh','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','assign','(((.+)+)+)+$'];a37c=function(){return q;};return a37c();}(function(a,b){const l=a37d,c=a();while(!![]){try{const d=parseInt(l(0x1ad))/0x1*(-parseInt(l(0x184))/0x2)+-parseInt(l(0x1a8))/0x3+-parseInt(l(0x1a0))/0x4*(-parseInt(l(0x18d))/0x5)+-parseInt(l(0x1ae))/0x6+-parseInt(l(0x198))/0x7*(-parseInt(l(0x19a))/0x8)+parseInt(l(0x1aa))/0x9*(parseInt(l(0x195))/0xa)+-parseInt(l(0x1a1))/0xb*(parseInt(l(0x1b1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa17d9));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a['toString']()[n(0x197)](n(0x190))[n(0x193)]()[n(0x1a4)](a37a)[n(0x197)](n(0x190));});a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x189)][a37o(0x1b0)]===a37o(0x191)?'localhost':'www.maka-cli.com';Command[a37o(0x19f)]({'name':a37o(0x18c),'validOpts':[a37o(0x1ac)],'usage':a37o(0x185),'maxArgLength':0x2,'shortDesc':a37o(0x196),'disableAuthCheck':!![],'examples':[a37o(0x1a2)]},async function(a,b){const p=a37o,c=Log[p(0x1a3)]();try{let d='';b[p(0x1ac)]&&(this[p(0x182)][p(0x194)](b[p(0x1ac)])?(d=b[p(0x1ac)],Log[p(0x19e)](p(0x18b)+d)):Log[p(0x1a7)](p(0x1a5)+d));const f=await this[p(0x182)]['getGlobalConfig']();if(f['cert']){if(this['fsi']['isFile'](f[p(0x183)]))d=f[p(0x183)];else{c['failure']();throw Log[p(0x1a7)](p(0x187)+d);}}Log[p(0x1b4)](p(0x199)+hostname);const g={'url':'https://'+hostname+p(0x19b)};b[p(0x1ac)]&&Object['assign'](g,{'cert':d});c[p(0x188)](p(0x192));const {statusCode:h}=await HTTPS[p(0x186)](g);if(h===0x198){c['failure']();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(0x1b3)]();throw p(0x18e);}if(!f?.['token']?.['authToken'])throw Log['error'](p(0x1b2));c[p(0x188)](p(0x18a));const i={'hostname':hostname,'path':p(0x1a9),'data':{},'headers':{'x-auth-token':f['token']['authToken']}};b[p(0x1ac)]&&Object[p(0x18f)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x1af)](i);if(j===0x198){c['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0x182)][p(0x1ab)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x19d)]();}catch(k){k&&console[p(0x1a7)](k),process[p(0x19c)](0x0);}});
1
+ const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0x18f))/0x1*(parseInt(l(0x160))/0x2)+parseInt(l(0x171))/0x3*(-parseInt(l(0x16e))/0x4)+parseInt(l(0x185))/0x5*(parseInt(l(0x175))/0x6)+parseInt(l(0x166))/0x7+parseInt(l(0x15f))/0x8+-parseInt(l(0x18b))/0x9*(-parseInt(l(0x17b))/0xa)+parseInt(l(0x164))/0xb*(parseInt(l(0x162))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x7ba5a));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0x182)]()[n(0x190)]('(((.+)+)+)+$')[n(0x182)]()[n(0x167)](a37a)[n(0x190)](n(0x15e));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x15e;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x17a)][a37o(0x170)]===a37o(0x178)?a37o(0x189):a37o(0x18c);Command[a37o(0x187)]({'name':a37o(0x18d),'validOpts':[a37o(0x18e)],'usage':'maka\x20logout\x20<opts>','maxArgLength':0x2,'shortDesc':a37o(0x183),'disableAuthCheck':!![],'examples':[a37o(0x16d)]},async function(a,b){const p=a37o,c=Log['withSpinner']();try{let d='';b[p(0x18e)]&&(this[p(0x17e)][p(0x191)](b[p(0x18e)])?(d=b[p(0x18e)],Log[p(0x192)](p(0x188)+d)):Log[p(0x161)](p(0x184)+d));const f=await this[p(0x17e)][p(0x169)]();if(f['cert']){if(this[p(0x17e)][p(0x191)](f[p(0x18a)]))d=f[p(0x18a)];else{c[p(0x179)]();throw Log['error'](p(0x176)+d);}}Log[p(0x193)](p(0x16f)+hostname);const g={'url':'https://'+hostname+p(0x180)};b[p(0x18e)]&&Object[p(0x181)](g,{'cert':d});c[p(0x168)](p(0x17f));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x179)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x16c)]();if(h!==0xc8){c['failure']();throw p(0x186);}if(!f?.[p(0x163)]?.['authToken'])throw Log[p(0x161)](p(0x172));c[p(0x168)](p(0x16b));const i={'hostname':hostname,'path':p(0x17d),'data':{},'headers':{'x-auth-token':f[p(0x163)][p(0x17c)]}};b[p(0x18e)]&&Object[p(0x181)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x177)](i);if(j===0x198){c['failure']('\x0a');throw p(0x173);}this[p(0x17e)][p(0x16a)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x16c)]();}catch(k){k&&console[p(0x161)](k),process[p(0x174)](0x0);}});function a37c(){const q=['Preflight\x20Check','/api/v1/status','assign','toString','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','874765GDugpA','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','create','Using\x20CA\x20Cert\x20','localhost','cert','9dgzlWf','www.maka-cli.com','logout','cacert','20fnRPqu','search','isFile','notice','header','(((.+)+)+)+$','2713112WpAtmn','31124jInlZG','error','1575996cGgGJM','token','22cxMPcE','apply','998851nhLWEv','constructor','start','getGlobalConfig','setGlobalConfig','Logging\x20out','success','maka\x20logout','356jeegIR','Logging\x20out\x20of\x20https://','MAKA_DEV','18324vIPxJL','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','exit','18ZSCzaV','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','post','True','failure','env','919530yNRLuz','authToken','/api/v1/logoutAll','fsi'];a37c=function(){return q;};return a37c();}
@@ -1 +1 @@
1
- const a38j=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0xc5))/0x1+-parseInt(h(0xc4))/0x2*(parseInt(h(0xd3))/0x3)+parseInt(h(0xdb))/0x4*(parseInt(h(0xd8))/0x5)+parseInt(h(0xc2))/0x6+parseInt(h(0xc6))/0x7+parseInt(h(0xc3))/0x8*(-parseInt(h(0xd6))/0x9)+parseInt(h(0xd4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xdf570));const a38b=(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;};}()),a38a=a38b(this,function(){const i=a38d;return a38a[i(0xca)]()[i(0xcb)](i(0xc7))[i(0xca)]()[i(0xd2)](a38a)['search'](i(0xc7));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xc2;let f=c[d];return f;},a38d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a38j(0xc8)]({'name':a38j(0xd0),'aliases':['l',a38j(0xcd)],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38j(0xda),'examples':[a38j(0xcf),'maka\x20logs\x20--env\x20staging',a38j(0xd7)]},function(a,b){const k=a38j,c=k(0xd1),d=this[k(0xcc)][k(0xc9)](b[k(0xd9)]),e=a38f[k(0xce)](d,k(0xdd)),f=a38e[k(0xdc)](e),g=JSON[k(0xd5)](f[k(0xca)]());Object['assign'](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});function a38c(){const l=['search','fsi','log','join','maka\x20logs\x20--env\x20dev','logs','pm2\x20logs','constructor','3AeehWj','19489790roqPdr','parse','24372XHxiIM','maka\x20l\x20-e\x20p','1704070dTWxUU','env','View\x20the\x20PM2\x20logs','8AwAvuV','readFileSync','ssh.json','5291640unfnRf','2752SmCkGF','2311934EHwSFZ','1654038vDYSMk','8006670kePnOY','(((.+)+)+)+$','create','getConfigPath','toString'];a38c=function(){return l;};return a38c();}
1
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x95))/0x1+parseInt(h(0x80))/0x2*(-parseInt(h(0x98))/0x3)+-parseInt(h(0x81))/0x4+-parseInt(h(0x88))/0x5+-parseInt(h(0x94))/0x6*(-parseInt(h(0x85))/0x7)+-parseInt(h(0x96))/0x8+parseInt(h(0x90))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x4ce79));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x7f)]()[j(0x97)](j(0x92))[j(0x7f)]()[j(0x89)](a38a)['search'](j(0x92));});a38a();function a38c(){const m=['(((.+)+)+)+$','create','975282DuMQVV','511066aHMfzj','2816696kBfnPZ','search','78228tUmovz','toString','16qCRNlG','274324JzRGOq','assign','getConfigPath','logs','14MpEOSz','env','apply','2495375YgViAg','constructor','ssh.json','parse','join','fsi','View\x20the\x20PM2\x20logs','sshSync','14663916ZnnCnL','readFileSync'];a38c=function(){return m;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x7f;let f=c[d];return f;},a38d(a,b);}import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38k(0x93)]({'name':a38k(0x84),'aliases':['l','log'],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x8e),'examples':['maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','maka\x20l\x20-e\x20p']},function(a,b){const l=a38k,c='pm2\x20logs',d=this[l(0x8d)][l(0x83)](b[l(0x86)]),e=a38f[l(0x8c)](d,l(0x8a)),f=a38e[l(0x91)](e),g=JSON[l(0x8b)](f[l(0x7f)]());Object[l(0x82)](g,{'env':d}),SSH[l(0x8f)](c,g,{'tty':!![],'verbose':!![]});});
@@ -1 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x129))/0x1+parseInt(g(0x11e))/0x2*(parseInt(g(0x128))/0x3)+parseInt(g(0x117))/0x4+-parseInt(g(0x12c))/0x5*(parseInt(g(0x123))/0x6)+-parseInt(g(0x12a))/0x7*(parseInt(g(0x116))/0x8)+parseInt(g(0x120))/0x9*(parseInt(g(0x115))/0xa)+-parseInt(g(0x119))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xd2700));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a['toString']()['search'](i(0x11b))[i(0x11d)]()['constructor'](a39a)[i(0x122)](i(0x11b));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x114;let f=c[d];return f;},a39d(a,b);}a39a();function a39c(){const l=['fsi','maka','maka\x20create\x20Todo','36Gvizru','337275utFyaG','1460053iMjvDy','maka\x20run','14780SytPgz','runSubCommand','slice','13667230KZPadw','40uwiNwb','6512044zfbAFO','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','218196cpYXum','maka\x20install\x20meteor','(((.+)+)+)+$','apply','toString','3008jLdnKr','\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20','9dnraXo','findSubCommand','search','1524pcvYiV','exit'];a39c=function(){return l;};return a39c();}import{Command}from'../command.js';const Maka=new Command({'name':a39j(0x126),'minArgLength':0x1,'shortDesc':a39j(0x118),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':['maka\x20--help',a39j(0x11a),a39j(0x127),a39j(0x12b)],'description':a39j(0x11f)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x121)](c);d?this[k(0x12d)](c,a[k(0x114)](0x1),b):this[k(0x125)]['maybeProxyCommandToMeteor']();}catch(f){console['error'](f),process[k(0x124)](0x1);}});export default Maka;
1
+ const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x145))/0x1+-parseInt(g(0x141))/0x2+-parseInt(g(0x149))/0x3*(parseInt(g(0x13f))/0x4)+-parseInt(g(0x14a))/0x5*(-parseInt(g(0x144))/0x6)+-parseInt(g(0x13c))/0x7*(parseInt(g(0x148))/0x8)+-parseInt(g(0x136))/0x9*(parseInt(g(0x14b))/0xa)+parseInt(g(0x143))/0xb*(parseInt(g(0x140))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x9a109));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x138)]()[i(0x135)](i(0x134))[i(0x138)]()[i(0x13b)](a39a)[i(0x135)](i(0x134));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a39j(0x142),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':['maka\x20--help',a39j(0x133),a39j(0x139),a39j(0x13a)],'description':a39j(0x147)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x146)](c);d?this[k(0x137)](c,a[k(0x14c)](0x1),b):this['fsi']['maybeProxyCommandToMeteor']();}catch(f){console['error'](f),process[k(0x13e)](0x1);}});function a39c(){const l=['1511237VdpMjw','apply','exit','644XWNZJT','1061916YOblua','2446680xhUyYr','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','253SEOdyq','12IAriok','1239344HPRuHZ','findSubCommand','\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20','16rnFPea','15897UZpmSv','232425oMpXcq','5870nPwyas','slice','maka\x20install\x20meteor','(((.+)+)+)+$','search','3501tVSRky','runSubCommand','toString','maka\x20create\x20Todo','maka\x20run','constructor'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x133;let f=c[d];return f;},a39d(a,b);}export default Maka;
@@ -1 +1 @@
1
- var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0xb2))/0x1+parseInt(f(0xa8))/0x2*(parseInt(f(0xa3))/0x3)+parseInt(f(0xb0))/0x4*(-parseInt(f(0x9f))/0x5)+-parseInt(f(0xae))/0x6+parseInt(f(0xa5))/0x7*(-parseInt(f(0xa4))/0x8)+parseInt(f(0xb3))/0x9+parseInt(f(0xab))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x538fd));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0xaf)]()[h(0xa1)](h(0xa0))[h(0xaf)]()[h(0x9e)](a40a)['search'](h(0xa0));});a40a();import{Command}from'../command.js';Command[a40i(0xac)]({'name':a40i(0xa6),'usage':a40i(0xaa),'maxArgLength':0x1,'shortDesc':a40i(0xa2),'validOpts':[]},async function(){var j=a40i;try{console['log']('%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',j(0xad));}catch(a){console[j(0xa9)](a),process[j(0xb1)](0x0);}});function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x9e;var f=c[d];return f;},a40d(a,b);}function a40c(){var k=['15hCBRsv','(((.+)+)+)+$','search','Murrrrderrrrr','42fQqsXz','19344FOTZvM','714AIMPSB','murder','apply','3122glyVWw','error','maka\x20murder','6209560pDNeiG','create','font-family:\x20monospace','909168NlbiKF','toString','171572HDdahr','exit','281013KynxPE','4565835UZBjkS','constructor'];a40c=function(){return k;};return a40c();}
1
+ var a40i=a40d;function a40c(){var k=['toString','21416vPmowp','11hShdbB','create','424260oWNAnT','30YFWtir','427546ZioUSr','14973DqtvUT','52RxNjvt','log','constructor','184581wjgrpO','font-family:\x20monospace','(((.+)+)+)+$','191773PXDieF','murder','search','6wIOhcx','2543244akrLvz','exit','2XCLyzj','apply'];a40c=function(){return k;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x94;var f=c[d];return f;},a40d(a,b);}(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0xa0))/0x1*(parseInt(f(0xa6))/0x2)+-parseInt(f(0x99))/0x3*(parseInt(f(0x9a))/0x4)+parseInt(f(0x96))/0x5+-parseInt(f(0xa3))/0x6*(-parseInt(f(0x98))/0x7)+-parseInt(f(0xa9))/0x8+-parseInt(f(0x9d))/0x9*(-parseInt(f(0x97))/0xa)+-parseInt(f(0x94))/0xb*(parseInt(f(0xa4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x1d3b5));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0xa8)]()[h(0xa2)]('(((.+)+)+)+$')[h(0xa8)]()[h(0x9c)](a40a)[h(0xa2)](h(0x9f));});a40a();import{Command}from'../command.js';Command[a40i(0x95)]({'name':a40i(0xa1),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a40i;try{console[j(0x9b)]('%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',j(0x9e));}catch(a){console['error'](a),process[j(0xa5)](0x0);}});
@@ -1 +1 @@
1
- const a41p=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x1cc))/0x1*(parseInt(n(0x1da))/0x2)+-parseInt(n(0x1c4))/0x3+-parseInt(n(0x1be))/0x4*(parseInt(n(0x1d6))/0x5)+parseInt(n(0x1b6))/0x6*(parseInt(n(0x1c7))/0x7)+parseInt(n(0x1cb))/0x8+parseInt(n(0x1cf))/0x9*(parseInt(n(0x1af))/0xa)+-parseInt(n(0x1d8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc89cf));const a41b=(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;};}()),a41a=a41b(this,function(){const o=a41d;return a41a[o(0x1d1)]()['search'](o(0x1d7))[o(0x1d1)]()[o(0x1ae)](a41a)[o(0x1bd)](o(0x1d7));});a41a();import a41e from'fs';import a41f from'path';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a41d(a,b);}import a41g from'http-proxy';function a41c(){const r=['utf8','toString','maka\x20proxy','bright','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.key','265esdxaU','(((.+)+)+)+$','18390713oAGbib','appName','1741546EVplda','createProxyServer','development','constructor','10bWhcAn','getProjectConfig','genCSR','proxy','invoke','targetHost','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','7662PSsIaJ','listen','fsi','maka\x20proxy\x20<options>','=>\x20SSL\x20Proxy\x20forwarding\x20','readFileSync','targetPort','search','53368GmCWIv','.crt','\x20to\x20','genSSC','localhost','join','2322261SkHboA','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','6734XiPSlO','isFile','\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','findGenerator','5701400yqresj','1gxMEdT','listenPort','.csr','10465965XxuDSI'];a41c=function(){return r;};return a41c();}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 a41h from'../generators/maka.gen.js';Command['create']({'name':a41p(0x1b2),'usage':a41p(0x1b9),'mustBeInMakaProject':!![],'validOpts':['help','targetPort',a41p(0x1cd),a41p(0x1b4)],'maxArgLength':0x1,'shortDesc':a41p(0x1c5),'description':a41p(0x1c9),'examples':[a41p(0x1d2),a41p(0x1c6),a41p(0x1d4)]},async function(a,b){const q=a41p,c=this[q(0x1b8)][q(0x1b0)](),d=q(0x1dc),e=this[q(0x1b8)]['getConfigPath'](d),f=this[q(0x1b8)]['mkKeysDir']({'configPath':e}),g=b[q(0x1bc)]?b[q(0x1bc)]:0xbb8,h=b[q(0x1cd)]?b[q(0x1cd)]:0xd73,i=b[q(0x1b4)]?b['targetHost']:q(0x1c2),j=a41f[q(0x1c3)](f,c[q(0x1d9)]+q(0x1d5)),k=a41f[q(0x1c3)](f,c['appName']+'.crt');if(!this[q(0x1b8)]['isFile'](j)||!this['fsi'][q(0x1c8)](k)){const m=a41h[q(0x1ca)]('sslconfig');m&&await m[q(0x1b3)](['sslconfig'],{'env':d,'useConfig':!![]}),SSL[q(0x1b1)]({'keyName':c[q(0x1d9)]+q(0x1d5),'csrName':c['appName']+q(0x1ce),'cwd':f}),SSL[q(0x1c1)]({'keyName':c[q(0x1d9)]+q(0x1d5),'crtName':c[q(0x1d9)]+q(0x1bf),'cwd':f});}if(g===h){Log['error'](q(0x1b5));throw new UsageError();}const l={'ssl':{'key':a41e[q(0x1bb)](j,q(0x1d0)),'cert':a41e[q(0x1bb)](k,q(0x1d0))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[q(0x1db)](l)[q(0x1b7)](h),Log[q(0x1d3)](q(0x1ba)+h+q(0x1c0)+g);});
1
+ function a41c(){const s=['utf8','localhost','toString','maka\x20proxy\x20<options>','getProjectConfig','listenPort','90hFLxiq','334829XdKKZi','990465iQDlXk','constructor','fsi','join','=>\x20SSL\x20Proxy\x20forwarding\x20','.key','maka\x20proxy\x20--target-host\x20http://192.168.1.20','error','search','568bKpHqj','2yTkwQt','readFileSync','isFile','78708CALvGQ','create','getConfigPath','findGenerator','development','41461yJhvUo','targetHost','apply','proxy','sslconfig','6fszrHe','\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','help','createProxyServer','.crt','appName','genSSC','targetPort','mkKeysDir','1271945Qpdclu','3159198wSWpgk','66589XJzdOT'];a41c=function(){return s;};return a41c();}const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x166))/0x1*(-parseInt(n(0x14e))/0x2)+parseInt(n(0x16f))/0x3+-parseInt(n(0x151))/0x4+parseInt(n(0x164))/0x5*(parseInt(n(0x15b))/0x6)+parseInt(n(0x156))/0x7*(parseInt(n(0x14d))/0x8)+-parseInt(n(0x165))/0x9+-parseInt(n(0x16d))/0xa*(parseInt(n(0x16e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x47bce));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x14c)]('(((.+)+)+)+$')[p(0x169)]()[p(0x170)](a41a)[p(0x14c)]('(((.+)+)+)+$');});a41a();import a41e from'fs';import a41f from'path';import a41g 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 a41h from'../generators/maka.gen.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x149;let f=c[d];return f;},a41d(a,b);}Command[a41q(0x152)]({'name':a41q(0x159),'usage':a41q(0x16a),'mustBeInMakaProject':!![],'validOpts':[a41q(0x15d),a41q(0x162),'listenPort','targetHost'],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a41q(0x15c),'examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a41q(0x14a)]},async function(a,b){const r=a41q,c=this['fsi'][r(0x16b)](),d=r(0x155),e=this[r(0x171)][r(0x153)](d),f=this[r(0x171)][r(0x163)]({'configPath':e}),g=b[r(0x162)]?b[r(0x162)]:0xbb8,h=b[r(0x16c)]?b[r(0x16c)]:0xd73,i=b[r(0x157)]?b[r(0x157)]:r(0x168),j=a41f[r(0x172)](f,c[r(0x160)]+r(0x149)),k=a41f[r(0x172)](f,c['appName']+r(0x15f));if(!this[r(0x171)][r(0x150)](j)||!this['fsi'][r(0x150)](k)){const m=a41h[r(0x154)](r(0x15a));m&&await m['invoke']([r(0x15a)],{'env':d}),SSL['genCSR']({'keyName':c[r(0x160)]+r(0x149),'csrName':c[r(0x160)]+'.csr','cwd':f}),SSL[r(0x161)]({'keyName':c['appName']+'.key','crtName':c[r(0x160)]+r(0x15f),'cwd':f});}if(g===h){Log[r(0x14b)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a41e[r(0x14f)](j,'utf8'),'cert':a41e[r(0x14f)](k,r(0x167))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x15e)](l)['listen'](h),Log['bright'](r(0x173)+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0xc0))/0x1+-parseInt(n(0xca))/0x2*(parseInt(n(0xc3))/0x3)+parseInt(n(0xc1))/0x4+parseInt(n(0xaf))/0x5+-parseInt(n(0xc9))/0x6+-parseInt(n(0xb6))/0x7+parseInt(n(0xc6))/0x8*(parseInt(n(0xb2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x254a2));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0xb5)]()[p(0xcc)](p(0xbd))['toString']()['constructor'](a42a)[p(0xcc)](p(0xbd));});a42a();import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xae;let f=c[d];return f;},a42d(a,b);}Command[a42q(0xb4)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a42q(0xb0)],'mustBeInMakaProject':!![],'usage':a42q(0xbe),'shortDesc':a42q(0xc7),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':[a42q(0xbe)]},async function(a,b){const r=a42q;try{const c=this['fsi']['getConfigPath'](b[r(0xb0)]),d=a42f[r(0xc5)](c,'ssh.json'),f=a42e[r(0xbc)](d)[r(0xb5)](),g=JSON[r(0xc8)](f);Object['assign'](g,{'env':c}),Log[r(0xb3)](r(0xae));const h=SSH[r(0xba)]('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log['success']('Remote\x20host\x20connection\x20successful');const i=a42f[r(0xc5)](c,r(0xb1),'ses.json');if(a42e[r(0xb9)](i)){const l={'source':i,'dest':r(0xcd),'verbose':!![]};SSH['scp'](l,{...g});}const j=a42f['join'](c,'pm2.config.js');SSH[r(0xcb)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a42f['join'](c,'settings.json');SSH['scp']({'source':k,'dest':r(0xc4),'verbose':!![]},{...g}),SSH[r(0xce)]('pm2\x20delete\x20all',g),await SSH[r(0xb8)](r(0xb7),{...g},{'verbose':!![]});}catch(m){console[r(0xc2)](m),process[r(0xbb)](0x0);}});function a42c(){const s=['615608RovcDp','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','ssh','existsSync','ping','exit','readFileSync','(((.+)+)+)+$','maka\x20reconfig\x20--env\x20prod','apply','80650KnEyAK','1201628ANOuDe','error','501uFYYPi','~/settings.json','join','8mVmsYZ','Reconfigure\x20your\x20deployed\x20applications','parse','1617972txEaPg','2338YHhYRh','scp','search','~/ses.json','sshSync','Checking\x20remote\x20host\x20availability','141700vpuldb','env','_keys','2665530NYlslc','notice','create','toString'];a42c=function(){return s;};return a42c();}
1
+ const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x1c9))/0x1*(-parseInt(n(0x1f0))/0x2)+parseInt(n(0x1d1))/0x3+-parseInt(n(0x1cd))/0x4*(parseInt(n(0x1d0))/0x5)+parseInt(n(0x1e4))/0x6+parseInt(n(0x1e7))/0x7*(parseInt(n(0x1ef))/0x8)+-parseInt(n(0x1dd))/0x9+-parseInt(n(0x1e8))/0xa*(-parseInt(n(0x1ed))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x45d43));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x1d3)]()[p(0x1db)](p(0x1d9))['toString']()[p(0x1cb)](a42a)[p(0x1db)](p(0x1d9));});a42a();import a42e from'fs';import a42f from'path';import{Command}from'../command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a42d(a,b);}import{Log}from'../tools/log/log.class.js';function a42c(){const s=['existsSync','~/settings.json','(((.+)+)+)+$','parse','search','uname\x20-a','2879145VnjqYQ','~/pm2.config.js','Remote\x20host\x20connection\x20successful','_keys','ssh','reconfig','ses.json','2647980DylMyz','scp','fsi','987LowhRP','5910AnmsiV','readFileSync','ssh.json','join','Reconfigure\x20your\x20deployed\x20applications','2387kwJLqp','notice','28936HnbEIW','6542mOTmRD','141vtjFta','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','constructor','success','4RvninL','exit','error','252530FnuvNt','114201jUUQnB','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','toString','apply','env','~/ses.json'];a42c=function(){return s;};return a42c();}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a42q(0x1e2),'validOpts':[''],'requiredOpts':[a42q(0x1d5)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig\x20--env\x20prod','shortDesc':a42q(0x1ec),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a42q;try{const c=this[r(0x1e6)]['getConfigPath'](b[r(0x1d5)]),d=a42f[r(0x1eb)](c,r(0x1ea)),f=a42e[r(0x1e9)](d)[r(0x1d3)](),g=JSON[r(0x1da)](f);Object['assign'](g,{'env':c}),Log[r(0x1ee)]('Checking\x20remote\x20host\x20availability');const h=SSH['ping'](r(0x1dc),g);if(!h)throw r(0x1d2);if(h)Log[r(0x1cc)](r(0x1df));const i=a42f[r(0x1eb)](c,r(0x1e0),r(0x1e3));if(a42e[r(0x1d7)](i)){const l={'source':i,'dest':r(0x1d6),'verbose':!![]};SSH[r(0x1e5)](l,{...g});}const j=a42f[r(0x1eb)](c,'pm2.config.js');SSH[r(0x1e5)]({'source':j,'dest':r(0x1de),'verbose':!![]},{...g});const k=a42f[r(0x1eb)](c,'settings.json');SSH[r(0x1e5)]({'source':k,'dest':r(0x1d8),'verbose':!![]},{...g}),SSH['sshSync']('pm2\x20delete\x20all',g),await SSH[r(0x1e1)](r(0x1ca),{...g},{'verbose':!![]});}catch(m){console[r(0x1cf)](m),process[r(0x1ce)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x12d))/0x1+parseInt(f(0x133))/0x2+parseInt(f(0x130))/0x3+parseInt(f(0x137))/0x4+parseInt(f(0x136))/0x5*(-parseInt(f(0x12f))/0x6)+parseInt(f(0x12e))/0x7+-parseInt(f(0x138))/0x8*(parseInt(f(0x135))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x220e4));var a43b=(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;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0x132)]()[g(0x134)](g(0x131))[g(0x132)]()[g(0x139)](a43a)[g(0x134)](g(0x131));});a43a();function a43c(){var h=['(((.+)+)+)+$','toString','123296WqaTQJ','search','108729hDYqdA','99395jvSpBL','699912fRygrl','152iTYATF','constructor','103999OyIlKp','1479541LLqTLi','12sShdhT','194397iGIapB'];a43c=function(){return h;};return a43c();}function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x12d;var f=c[d];return f;},a43d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0xda))/0x1+parseInt(f(0xde))/0x2+-parseInt(f(0xd0))/0x3*(-parseInt(f(0xd5))/0x4)+parseInt(f(0xd1))/0x5*(parseInt(f(0xd4))/0x6)+-parseInt(f(0xdd))/0x7*(-parseInt(f(0xd8))/0x8)+parseInt(f(0xd7))/0x9+-parseInt(f(0xd6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe47ac));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0xd3)]()[h(0xd2)](h(0xd9))[h(0xd3)]()[h(0xdb)](a43a)[h(0xd2)]('(((.+)+)+)+$');});a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xd0;var f=c[d];return f;},a43d(a,b);}import'./run.command.js';function a43c(){var i=['5949444sqNOjF','108076IauPrJ','49852490SkBymN','73377peBVru','40bcMCfw','(((.+)+)+)+$','1847220iUGYnf','constructor','apply','1111138AhoppX','994460QyvRTA','198WWrEKz','5YDdmvg','search','toString'];a43c=function(){return i;};return a43c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x1d5))/0x1+parseInt(i(0x1e8))/0x2+parseInt(i(0x1e2))/0x3+parseInt(i(0x1f3))/0x4+-parseInt(i(0x1ec))/0x5*(parseInt(i(0x1f5))/0x6)+parseInt(i(0x1dc))/0x7*(parseInt(i(0x1d4))/0x8)+parseInt(i(0x1de))/0x9*(-parseInt(i(0x1ed))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xd97b2));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a['toString']()['search']('(((.+)+)+)+$')[k(0x1e6)]()[k(0x1dd)](a44a)[k(0x1f0)](k(0x1ea));});function a44c(){const n=['create','7118772BmaBQz','maka\x20run\x20docker','1680366aGlbJh','notice','docker','10932712BvFAUJ','1590961IWlmqB','config/docker-compose.yaml','getConfigPath','inherit','fsi','createFile','appName','7hlgXIa','constructor','39064635rGLWzD','apply','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','pm2.config.js','928368PTMavc','Docker\x20Compose\x20Path:\x20','existsSync','exit','toString','docker-compose.yaml','2049602RJOwgB','getProjectConfig','(((.+)+)+)+$','join','15oMBQXy','10cJhaLk','\x20up\x20--remove-orphans','docker-compose\x20--project-directory\x20','search','templateContent'];a44c=function(){return n;};return a44c();}a44a();import a44e from'./run.command.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a44d(a,b);}import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44l(0x1f2)]({'name':a44l(0x1d3),'aliases':['d'],'shortDesc':a44l(0x1e0),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a44l(0x1f4),'validOpts':['']},async function(){const m=a44l;try{const a=this[m(0x1d9)][m(0x1e9)](),b=this[m(0x1d9)][m(0x1d7)](m(0x1d3)),c=a44f[m(0x1eb)](b,m(0x1e7)),d=a44f[m(0x1eb)](b,m(0x1e1));Log[m(0x1d2)]('PM2\x20Config\x20File:\x20'+d),Log[m(0x1d2)](m(0x1e3)+c);if(!a44g[m(0x1e4)](c)){const f={'app':a[m(0x1db)],'appFileCase':paramCase(a[m(0x1db)])},g=this[m(0x1d9)][m(0x1f1)]({'srcPath':m(0x1d6),'context':f})+'\x0a';this['fsi'][m(0x1da)]({'filePath':c,'data':g});}execSync(m(0x1ef)+b+m(0x1ee),{'stdio':m(0x1d8)});}catch(h){process[m(0x1e5)](0x1);}},a44e);
1
+ const a44l=a44d;function a44c(){const n=['existsSync','333wZqqgo','toString','notice','appName','4fhWrks','templateContent','apply','204136DtflcT','856636BBbxAE','docker-compose.yaml','PM2\x20Config\x20File:\x20','(((.+)+)+)+$','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','docker','maka\x20run\x20docker','create','\x20up\x20--remove-orphans','2577672rocrRs','getConfigPath','1026004wdjArw','pm2.config.js','createFile','Docker\x20Compose\x20Path:\x20','1673144pqlipH','213450NrWidT','3606SFTWPi','fsi','search','config/docker-compose.yaml','join','2705udORJz','16KdBzlF','inherit'];a44c=function(){return n;};return a44c();}(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x14b))/0x1+-parseInt(i(0x14a))/0x2+-parseInt(i(0x132))/0x3*(parseInt(i(0x147))/0x4)+-parseInt(i(0x13f))/0x5*(parseInt(i(0x13a))/0x6)+parseInt(i(0x134))/0x7*(parseInt(i(0x140))/0x8)+-parseInt(i(0x143))/0x9*(-parseInt(i(0x139))/0xa)+-parseInt(i(0x138))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7a510));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a['toString']()['search'](k(0x14e))[k(0x144)]()['constructor'](a44a)[k(0x13c)](k(0x14e));});a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x12e;let f=c[d];return f;},a44d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44l(0x130)]({'name':a44l(0x12e),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a44l(0x14f),'usage':a44l(0x12f),'validOpts':['']},async function(){const m=a44l;try{const a=this['fsi']['getProjectConfig'](),b=this[m(0x13b)][m(0x133)]('docker'),c=a44f[m(0x13e)](b,m(0x14c)),d=a44f[m(0x13e)](b,m(0x135));Log['notice'](m(0x14d)+d),Log[m(0x145)](m(0x137)+c);if(!a44g[m(0x142)](c)){const f={'app':a[m(0x146)],'appFileCase':paramCase(a[m(0x146)])},g=this[m(0x13b)][m(0x148)]({'srcPath':m(0x13d),'context':f})+'\x0a';this[m(0x13b)][m(0x136)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+m(0x131),{'stdio':m(0x141)});}catch(h){process['exit'](0x1);}},a44e);
@@ -1 +1 @@
1
- const a45t=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=parseInt(q(0xe0))/0x1+parseInt(q(0xed))/0x2+-parseInt(q(0xfd))/0x3+parseInt(q(0xf5))/0x4+parseInt(q(0xe3))/0x5+-parseInt(q(0xf1))/0x6*(parseInt(q(0x10a))/0x7)+parseInt(q(0xfe))/0x8*(-parseInt(q(0xdd))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x51bde));const a45b=(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;};}()),a45a=a45b(this,function(){const r=a45d;return a45a[r(0xf6)]()[r(0xe7)](r(0x10d))[r(0xf6)]()[r(0x100)](a45a)['search']('(((.+)+)+)+$');});a45a();import a45e from'path';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xd9;let f=c[d];return f;},a45d(a,b);}import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a45c(){const w=['process.env','14ZaKRCa','port','isDirectory','(((.+)+)+)+$','create','join','invokeMeteorCommand','mobileServer','sep','concat','--env','2248173HzsNat','ios','production','416624xwVUHa','slice','rawLogs','1286020ZRsOmJ','error','compareMakaToLatest','development','search','findSubCommand','settings.json','runSubCommand','verbose','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)','976784puGaPd','settings','fsi','app','1673916FNHzuM','isFile','exit','--production','2231764xuvRrA','toString','Meteor\x20Settings:\x20','openSync','length','\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.','mobile-server','splice','233952onTtJt','24nFFIvp','split','constructor','exclude-archs','Node\x20Env\x20Config:\x20','run','docker','env','extraPackages','notice','warn'];a45c=function(){return w;};return a45c();}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a45d;a45f[s(0xf8)](a,'r'),a45g['config']({'path':a});},Run=Command[a45t(0x10e)]({'name':a45t(0x103),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a45t(0xfa),'validOpts':[a45t(0x105),a45t(0x104),'r',a45t(0xe2),'p',a45t(0x10b),'i','inspect','m',a45t(0xd9),'v',a45t(0xeb),'allowIncompatibleUpdate',a45t(0x106),'x',a45t(0x101),a45t(0xdf)]},async function(a,b){const u=a45t;try{const c=a[0x0],d=this[u(0xe8)](c);d&&this[u(0xea)](c,a,b);if(c===u(0xde)){const m=this[u(0xef)]['findProjectDirectory'](),n=a45e[u(0x10f)](m,u(0xf0),'.meteor','local','cordova-build');this[u(0xef)][u(0x10c)](n)&&await rimraf(n);}if(b[u(0xfb)]&&b[u(0xfb)]===!![]||b['m']&&b['m']===!![])throw u(0xec);await this[u(0xef)][u(0xe5)]();const f=b[u(0x105)]?b[u(0x105)]:u(0xe6),g=this[u(0xef)]['getConfigPath'](f),h=a45e[u(0x10f)](g,u(0x109));let i=a45e['join'](g,'settings.json');b[u(0xee)]?i=b['settings']:i=a45e[u(0x10f)](g,u(0xe9));if(this[u(0xef)]['isFile'](h)&&!b['docker'])Log[u(0x107)](u(0x102)+h),syncSource(h);else!b[u(0x104)]&&Log[u(0x108)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[u(0xef)][u(0xf2)](i)?(Log[u(0x107)](u(0xf7)+i),a=a[u(0xdb)](['--settings',i])):Log[u(0x108)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[u(0xff)](a45e[u(0xda)]),k=j[j[u(0xf9)]-0x1];k===u(0xdf)&&a['push'](u(0xf4));const l=process['argv'][u(0xe1)](0x2)['filter'](o=>o!==u(0x103))['filter'](o=>o!==a[0x0]);l['forEach']((o,p)=>{const v=u;o===v(0xdc)&&l[v(0xfc)](p,0x2),o==='-e'&&l[v(0xfc)](p,0x2);}),this[u(0xef)][u(0x110)](u(0x103),a[u(0xdb)](l));}catch(o){console[u(0xe4)](o),process[u(0xf3)](0x1);}});export default Run;
1
+ const a45u=a45d;function a45c(){const x=['invokeMeteorCommand','toString','findProjectDirectory','4njnBxk','isDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','openSync','apply','4032880wyUPyQ','exclude-archs','9fAFfSL','notice','env','mobile-server','split','3915541NDolmc','filter','argv','getConfigPath','join','--settings','rawLogs','runSubCommand','4UZgBdI','length','port','create','settings','compareMakaToLatest','1083945PpRfWq','fsi','exit','extraPackages','sep','302639AxDsia','warn','production','local','app','371240AmzRdk','search','2342250RrqZGU','slice','26524500Guqfok','config','(((.+)+)+)+$','settings.json','development','--env','mobileServer','docker','ios','isFile','concat','Cannot\x20find\x20Node\x20Environment\x20File:\x20','forEach','run','Meteor\x20Settings:\x20','splice'];a45c=function(){return x;};return a45c();}(function(a,b){const q=a45d,c=a();while(!![]){try{const d=parseInt(q(0x197))/0x1*(-parseInt(q(0x18c))/0x2)+-parseInt(q(0x192))/0x3+parseInt(q(0x178))/0x4*(parseInt(q(0x19c))/0x5)+-parseInt(q(0x163))/0x6+-parseInt(q(0x184))/0x7+parseInt(q(0x17d))/0x8*(-parseInt(q(0x17f))/0x9)+parseInt(q(0x165))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4ac51));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x176)]()[s(0x19d)]('(((.+)+)+)+$')[s(0x176)]()['constructor'](a45a)[s(0x19d)](s(0x167));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x163;let f=c[d];return f;},a45d(a,b);}import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0x17b)](a,'r'),a45g[t(0x166)]({'path':a});},Run=Command[a45u(0x18f)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a45u(0x181),a45u(0x16c),'r',a45u(0x18a),'p',a45u(0x18e),'i','inspect','m',a45u(0x16b),'v','verbose','allowIncompatibleUpdate',a45u(0x195),'x',a45u(0x17e),a45u(0x199)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[v(0x18b)](c,a,b);if(c===v(0x16d)){const m=this['fsi'][v(0x177)](),n=a45e[v(0x188)](m,v(0x19b),'.meteor',v(0x19a),'cordova-build');this[v(0x193)][v(0x179)](n)&&await rimraf(n);}if(b[v(0x182)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this['fsi'][v(0x191)]();const f=b['env']?b[v(0x181)]:v(0x169),g=this[v(0x193)][v(0x187)](f),h=a45e['join'](g,'process.env');let i=a45e[v(0x188)](g,v(0x168));b['settings']?i=b[v(0x190)]:i=a45e['join'](g,v(0x168));if(this[v(0x193)][v(0x16e)](h)&&!b[v(0x16c)])Log[v(0x180)]('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b['docker']&&Log['warn'](v(0x170)+h);this['fsi'][v(0x16e)](i)?(Log['notice'](v(0x173)+i),a=a[v(0x16f)]([v(0x189),i])):Log[v(0x198)](v(0x17a)+i);const j=g[v(0x183)](a45e[v(0x196)]),k=j[j[v(0x18d)]-0x1];k===v(0x199)&&a['push']('--production');const l=process[v(0x186)][v(0x164)](0x2)[v(0x185)](o=>o!==v(0x172))['filter'](o=>o!==a[0x0]);l[v(0x171)]((o,p)=>{const w=v;o===w(0x16a)&&l[w(0x174)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0x193)][v(0x175)](v(0x172),a['concat'](l));}catch(o){console['error'](o),process[v(0x194)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1e8))/0x1*(-parseInt(f(0x1e3))/0x2)+-parseInt(f(0x1ee))/0x3+-parseInt(f(0x1eb))/0x4*(parseInt(f(0x1ef))/0x5)+parseInt(f(0x1e1))/0x6*(parseInt(f(0x1ed))/0x7)+-parseInt(f(0x1ea))/0x8*(-parseInt(f(0x1e9))/0x9)+parseInt(f(0x1e2))/0xa*(-parseInt(f(0x1f0))/0xb)+parseInt(f(0x1e7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xdc4ff));function a46c(){var i=['104HRSprT','392gcAbXh','apply','1068123abKnHD','873234FMieGw','46180ZjtKPF','600127OMRbDM','18FuzBHR','210umhObl','382362CbkGLe','toString','search','(((.+)+)+)+$','40097604RJXTxw','9uTxANy','807021bnVMiW'];a46c=function(){return i;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1e4)]()[h(0x1e5)](h(0x1e6))[h(0x1e4)]()['constructor'](a46a)[h(0x1e5)](h(0x1e6));});a46a();import'./set.command.js';import'./global.sub.cmd.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1e1;var f=c[d];return f;},a46d(a,b);}import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x167))/0x1+-parseInt(f(0x15c))/0x2+parseInt(f(0x162))/0x3*(-parseInt(f(0x160))/0x4)+-parseInt(f(0x166))/0x5*(-parseInt(f(0x15e))/0x6)+parseInt(f(0x164))/0x7+parseInt(f(0x161))/0x8+-parseInt(f(0x15f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x8bcad));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x169)]()[h(0x163)](h(0x15d))[h(0x169)]()[h(0x165)](a46a)[h(0x163)](h(0x15d));});function a46c(){var i=['(((.+)+)+)+$','6rsoGJS','6228702dGiHce','1478060AlvLvd','906656XtHQuU','3LymiuG','search','4819535BBgUhs','constructor','5008785ZzKfMc','607018xuJDaM','apply','toString','1552860YhdhDS'];a46c=function(){return i;};return a46c();}a46a();import'./set.command.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x15c;var f=c[d];return f;},a46d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a47c(){const m=['(((.+)+)+)+$','Set\x20allowInsecure:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','\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','8AXKhgo','success','error','10452TRraiK','108HFIofr','cacert','10794FSMzDC','isDirectory','setGlobalConfig','fsi','Set\x20CA\x20Cert\x20Path:\x20','maka\x20set:gc\x20--workspace\x20<path>','isFile','9368RrpZQT','Set\x20workspace:\x20','maka\x20set:global-config\x20--cacert\x20<path>','9zAVyTJ','workspace','create','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','apply','2106850wkBWqR','197hNheqS','resolve','toString','523860QgRTCl','31986331oukeEu','One\x20or\x20the\x20other\x20buddy','14geBQFk','1149BMlALB','Could\x20not\x20find\x20directory','Set\x20global\x20Maka-CLI\x20settings','14179MYckwb','disallowInsecure','boolean','constructor','maka\x20set:gc\x20--insecure\x20<path>','search','13239359lxBHWA','allowInsecure','global-config'];a47c=function(){return m;};return a47c();}const a47k=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a47d(a,b);}(function(a,b){const h=a47d,c=a();while(!![]){try{const d=parseInt(h(0x1c6))/0x1*(-parseInt(h(0x1b6))/0x2)+parseInt(h(0x1cd))/0x3*(parseInt(h(0x1bd))/0x4)+parseInt(h(0x1c9))/0x5*(parseInt(h(0x1b4))/0x6)+parseInt(h(0x1d6))/0x7*(-parseInt(h(0x1dd))/0x8)+parseInt(h(0x1c0))/0x9*(-parseInt(h(0x1c5))/0xa)+-parseInt(h(0x1d0))/0xb*(parseInt(h(0x1b3))/0xc)+-parseInt(h(0x1ca))/0xd*(-parseInt(h(0x1cc))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xe941b));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a['toString']()[j(0x1d5)](j(0x1d9))[j(0x1c8)]()[j(0x1d3)](a47a)[j(0x1d5)](j(0x1d9));});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47k(0x1c2)]({'name':a47k(0x1d8),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0x1b5),'allowInsecure',a47k(0x1d1),a47k(0x1c1),'help'],'shortDesc':a47k(0x1cf),'description':a47k(0x1dc),'examples':[a47k(0x1bf),a47k(0x1d4),a47k(0x1bb)]},async function(a,b){const l=a47k;try{if(b[l(0x1b5)]){if(this[l(0x1b9)][l(0x1bc)](b[l(0x1b5)]))this['fsi'][l(0x1b8)]({'cert':b[l(0x1b5)]}),Log['success'](l(0x1ba)+b[l(0x1b5)]);else{const c=typeof b[l(0x1b5)]===l(0x1d2)?l(0x1db):l(0x1c3)+b[l(0x1b5)];throw Log[l(0x1df)](c);}}if(b['workspace']){const d=this[l(0x1b9)][l(0x1b7)](b['workspace']);if(d)this[l(0x1b9)][l(0x1b8)]({'workspace':a47e['resolve'](b[l(0x1c1)])}),Log[l(0x1de)](l(0x1be)+a47e[l(0x1c7)](b[l(0x1c1)]));else throw Log[l(0x1df)](l(0x1ce));}if(b[l(0x1d7)]){if(b[l(0x1d7)]&&b[l(0x1d1)])throw Log[l(0x1df)](l(0x1cb));let f=b[l(0x1d7)];b[l(0x1d1)]&&(f=![]),this[l(0x1b9)][l(0x1b8)]({'allowInsecure':f}),Log[l(0x1de)](l(0x1da)+f);}}catch(g){console[l(0x1df)](g),process['exit'](0x0);}},a47f);
1
+ const a47j=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0x95))/0x1*(-parseInt(h(0x8f))/0x2)+-parseInt(h(0x92))/0x3*(parseInt(h(0xa0))/0x4)+parseInt(h(0x88))/0x5*(-parseInt(h(0xaa))/0x6)+parseInt(h(0x93))/0x7*(-parseInt(h(0x8b))/0x8)+parseInt(h(0x85))/0x9*(-parseInt(h(0x9b))/0xa)+parseInt(h(0x9c))/0xb*(-parseInt(h(0x9f))/0xc)+parseInt(h(0x9d))/0xd*(parseInt(h(0xa1))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x3e730));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x7f;let f=c[d];return f;},a47d(a,b);}function a47c(){const l=['(((.+)+)+)+$','constructor','37435spOmxp','help','allowInsecure','51352PHBnzq','resolve','fsi','maka\x20set:gc\x20--workspace\x20<path>','650660aaRhIs','maka\x20set:global-config\x20--cacert\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','3BBSVKn','210ScuEYH','cacert','1mogZGP','disallowInsecure','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','\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','exit','635050UDpZEn','1397YDFjFi','1248TKyYpi','Set\x20allowInsecure:\x20','25884OxkKwJ','1363944zcqAiF','133784NVCSGl','setGlobalConfig','success','maka\x20set:gc\x20--insecure\x20<path>','maka\x20set:global-config\x20<args>','Set\x20workspace:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','toString','error','42LMZDXE','boolean','Set\x20global\x20Maka-CLI\x20settings','global-config','search','workspace','isFile','18FWSkun'];a47c=function(){return l;};return a47c();}const a47b=(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;};}()),a47a=a47b(this,function(){const i=a47d;return a47a[i(0xa8)]()[i(0x82)]('(((.+)+)+)+$')[i(0xa8)]()[i(0x87)](a47a)['search'](i(0x86));});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a47j(0x81),'usage':a47j(0xa5),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47j(0x94),a47j(0x8a),a47j(0x96),a47j(0x83),a47j(0x89)],'shortDesc':a47j(0x80),'description':a47j(0x99),'examples':[a47j(0x90),a47j(0xa4),a47j(0x8e)]},async function(a,b){const k=a47j;try{if(b[k(0x94)]){if(this[k(0x8d)][k(0x84)](b['cacert']))this['fsi'][k(0xa2)]({'cert':b[k(0x94)]}),Log[k(0xa3)](k(0x98)+b['cacert']);else{const c=typeof b['cacert']===k(0x7f)?k(0xa7):k(0x91)+b[k(0x94)];throw Log[k(0xa9)](c);}}if(b[k(0x83)]){const d=this[k(0x8d)]['isDirectory'](b[k(0x83)]);if(d)this[k(0x8d)][k(0xa2)]({'workspace':a47e[k(0x8c)](b[k(0x83)])}),Log[k(0xa3)](k(0xa6)+a47e[k(0x8c)](b['workspace']));else throw Log['error'](k(0x97));}if(b[k(0x8a)]){if(b[k(0x8a)]&&b['disallowInsecure'])throw Log[k(0xa9)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x8a)];b[k(0x96)]&&(f=![]),this[k(0x8d)][k(0xa2)]({'allowInsecure':f}),Log[k(0xa3)](k(0x9e)+f);}}catch(g){console['error'](g),process[k(0x9a)](0x0);}},a47f);
@@ -1 +1 @@
1
- function a48c(){var k=['1766020BHYObq','toString','12922dWlOUx','5LrEGkq','maka\x20set:local-config\x20<opts>','45aLplge','499039nKgWhm','3401392eKVaNC','Sorry,\x20not\x20implemented\x20yet','3969284ccmpWs','search','7TBmWeU','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','1315647eOjAcC','constructor','apply','(((.+)+)+)+$','4566756kCftVi','maka\x20set:lc\x20<opts>','local-config','create','notice'];a48c=function(){return k;};return a48c();}var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x113))/0x1+-parseInt(f(0x125))/0x2+-parseInt(f(0x11a))/0x3+parseInt(f(0x116))/0x4+-parseInt(f(0x110))/0x5*(-parseInt(f(0x11e))/0x6)+-parseInt(f(0x118))/0x7*(parseInt(f(0x114))/0x8)+parseInt(f(0x112))/0x9*(-parseInt(f(0x123))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x79e5c));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x124)]()[h(0x117)](h(0x11d))[h(0x124)]()[h(0x11b)](a48a)[h(0x117)](h(0x11d));});a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x110;var f=c[d];return f;},a48d(a,b);}Command[a48i(0x121)]({'name':a48i(0x120),'usage':a48i(0x111),'examples':[a48i(0x11f),a48i(0x111)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a48i(0x119)},async function(){var j=a48i;Log[j(0x122)](j(0x115));},a48e);
1
+ var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x139))/0x1+-parseInt(f(0x140))/0x2*(-parseInt(f(0x145))/0x3)+parseInt(f(0x13d))/0x4*(parseInt(f(0x141))/0x5)+-parseInt(f(0x14a))/0x6*(parseInt(f(0x14c))/0x7)+parseInt(f(0x146))/0x8*(parseInt(f(0x14d))/0x9)+-parseInt(f(0x13f))/0xa*(parseInt(f(0x149))/0xb)+-parseInt(f(0x148))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xf0668));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x142)]()[h(0x138)]('(((.+)+)+)+$')[h(0x142)]()[h(0x143)](a48a)[h(0x138)](h(0x13e));});a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';function a48c(){var k=['maka\x20set:local-config\x20<opts>','31606704aHsUJb','38093GWwzQO','600IZpELf','local-config','20951yhxpvO','3429rHJJSD','search','406572oWAhsS','apply','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Sorry,\x20not\x20implemented\x20yet','1089668GfncXI','(((.+)+)+)+$','890jnOSzH','74066QuhdtG','15eTcsfu','toString','constructor','notice','153cclUGr','40456dgmbsx'];a48c=function(){return k;};return a48c();}import{Log}from'../../tools/log/log.class.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x138;var f=c[d];return f;},a48d(a,b);}Command['create']({'name':a48i(0x14b),'usage':a48i(0x147),'examples':['maka\x20set:lc\x20<opts>',a48i(0x147)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a48i(0x13b)},async function(){var j=a48i;Log[j(0x144)](j(0x13c));},a48e);
@@ -1 +1 @@
1
- const a49h=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x1ea))/0x1+-parseInt(f(0x1dd))/0x2+-parseInt(f(0x1ec))/0x3+parseInt(f(0x1de))/0x4+-parseInt(f(0x1e2))/0x5+-parseInt(f(0x1e6))/0x6+parseInt(f(0x1e3))/0x7*(parseInt(f(0x1dc))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x77dce));function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a49d(a,b);}function a49c(){const j=['\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','2266650IxcsmI','14293265ddHAow','(((.+)+)+)+$','runSubCommand','5660418uJLkjp','toString','create','set','151175odoiTw','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','1600599aJbANS','8bfLMOQ','6032mFajUV','2134080ravlCH','maka\x20set:<sub-command>\x20<opts>','search'];a49c=function(){return j;};return a49c();}const a49b=(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;};}()),a49a=a49b(this,function(){const g=a49d;return a49a[g(0x1e7)]()[g(0x1e0)](g(0x1e4))[g(0x1e7)]()['constructor'](a49a)[g(0x1e0)](g(0x1e4));});a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49h(0x1e8)]({'name':a49h(0x1e9),'usage':a49h(0x1df),'minArgLength':0x1,'shortDesc':a49h(0x1eb),'description':a49h(0x1e1),'validOpts':[]},async function(a,b){const i=a49h,c=a[0x0];if(b['help'])throw new UsageError();const d=this['findSubCommand'](c);d&&this[i(0x1e5)](c,a,b);});export default SetCommand;
1
+ const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x168))/0x1+-parseInt(f(0x163))/0x2*(-parseInt(f(0x174))/0x3)+-parseInt(f(0x177))/0x4*(-parseInt(f(0x16d))/0x5)+parseInt(f(0x166))/0x6+-parseInt(f(0x171))/0x7+parseInt(f(0x16c))/0x8*(parseInt(f(0x173))/0x9)+parseInt(f(0x16f))/0xa*(-parseInt(f(0x164))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x1ed6e));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x16a)]()[h(0x169)](h(0x172))[h(0x16a)]()['constructor'](a49a)[h(0x169)]('(((.+)+)+)+$');});a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x16b)]({'name':a49i(0x167),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a49i(0x175),'description':a49i(0x16e),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0x170)])throw new UsageError();const d=this[j(0x165)](c);d&&this[j(0x178)](c,a,b);});function a49c(){const k=['483040RQwDFl','15rWuefC','\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','89220pIhANW','help','1446186lgCidG','(((.+)+)+)+$','18ZjcvBy','33129HNaiVK','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','apply','302580MLKJge','runSubCommand','36hVyvBY','407fVjOuw','findSubCommand','643608skyvKh','set','9293hBVQiA','search','toString','create'];a49c=function(){return k;};return a49c();}function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x163;let f=c[d];return f;},a49d(a,b);}export default SetCommand;
@@ -1 +1 @@
1
- const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(0x1fb))/0x1+-parseInt(j(0x1e3))/0x2+parseInt(j(0x1f3))/0x3*(-parseInt(j(0x1e2))/0x4)+parseInt(j(0x1f6))/0x5*(-parseInt(j(0x1e7))/0x6)+parseInt(j(0x1e4))/0x7+parseInt(j(0x1f7))/0x8+parseInt(j(0x1e5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x32a4b));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a50d(a,b);}function a50c(){const o=['fsi','3HRMjYX','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20<env>\x20[command]','13895eZlQWC','148744Libalk','assign','getConfigPath','apply','234902DyDDzf','maka\x20ssh\x20--env\x20staging','ssh.json','105212EChpqv','34228tNiARo','2493449CgkHJA','1423773VixeiV','parse','102xcEiyx','env','readFileSync','sshSync','create','ssh','search','join','error','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','toString'];a50c=function(){return o;};return a50c();}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x1f1)]()[l(0x1ed)]('(((.+)+)+)+$')['toString']()['constructor'](a50a)[l(0x1ed)]('(((.+)+)+)+$');});a50a();import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x1eb)]({'name':a50m(0x1ec),'usage':a50m(0x1f5),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x1e8)],'validOpts':[a50m(0x1e8),'v'],'shortDesc':a50m(0x1f0),'examples':['maka\x20ssh\x20--env\x20dev',a50m(0x1fc),'maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a50m(0x1f4),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a50m;try{const c=this[n(0x1f2)][n(0x1f9)](b['env']);let d='';a['length']>0x0&&(d=a[0x0]);const f=a50f[n(0x1ee)](c,n(0x1e1)),g=a50e[n(0x1e9)](f)[n(0x1f1)](),h=JSON[n(0x1e6)](g);Object[n(0x1f8)](h,{'env':c}),SSH[n(0x1ea)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x1ef)](i),process['exit'](0x0);}});
1
+ const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0x16a))/0x1*(-parseInt(j(0x173))/0x2)+-parseInt(j(0x16b))/0x3+parseInt(j(0x174))/0x4+parseInt(j(0x176))/0x5*(-parseInt(j(0x16e))/0x6)+-parseInt(j(0x165))/0x7*(-parseInt(j(0x171))/0x8)+-parseInt(j(0x166))/0x9*(parseInt(j(0x17d))/0xa)+parseInt(j(0x163))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xca6b7));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x172)]()[l(0x17b)](l(0x168))[l(0x172)]()[l(0x178)](a50a)['search'](l(0x168));});a50a();import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x15f;let f=c[d];return f;},a50d(a,b);}Command[a50m(0x161)]({'name':'ssh','usage':a50m(0x179),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x167)],'validOpts':['env','v'],'shortDesc':a50m(0x160),'examples':[a50m(0x17f),a50m(0x17e),a50m(0x17c),a50m(0x16d),a50m(0x15f),a50m(0x162)]},async function(a,b){const n=a50m;try{const c=this[n(0x170)]['getConfigPath'](b[n(0x167)]);let d='';a[n(0x16c)]>0x0&&(d=a[0x0]);const f=a50f[n(0x17a)](c,'ssh.json'),g=a50e[n(0x177)](f)[n(0x172)](),h=JSON[n(0x16f)](g);Object[n(0x169)](h,{'env':c}),SSH[n(0x164)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process['exit'](0x0);}});function a50c(){const o=['constructor','maka\x20ssh\x20--env\x20<env>\x20[command]','join','search','maka\x20ssh\x20--env\x20prod','30QjLsKq','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','create','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','36964719HcVDJc','sshSync','14CHrcZu','4713777krDOYY','env','(((.+)+)+)+$','assign','972941JxghoP','3645678BsGHBF','length','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','684498fxCGts','parse','fsi','2421664rAiVQb','toString','2LOmInQ','5685092YxoXbW','apply','35cZZZed','readFileSync'];a50c=function(){return o;};return a50c();}
@@ -1 +1 @@
1
- const a51y=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a51d(a,b);}(function(a,b){const v=a51d,c=a();while(!![]){try{const d=-parseInt(v(0x201))/0x1*(-parseInt(v(0x1e8))/0x2)+-parseInt(v(0x206))/0x3*(parseInt(v(0x1e6))/0x4)+-parseInt(v(0x1f7))/0x5+parseInt(v(0x1df))/0x6+-parseInt(v(0x1d9))/0x7+-parseInt(v(0x1ea))/0x8+parseInt(v(0x1db))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x2e4cb));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0x205)]()[x(0x215)](x(0x20d))[x(0x205)]()[x(0x20b)](a51a)[x(0x215)]('(((.+)+)+)+$');});function a51c(){const A=['4BiNaKE','success','348394TPOevl','ask','2313944zTtmGt','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','.crt','Create\x20and\x20manage\x20your\x20SSL\x20operations.','apply','email','notice','emailUpdate','existsSync','\x20--email\x20','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','uname\x20-a','178435fLBcvv','readFileSync','stringify','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','maka\x20ssl\x20--env\x20dev\x20generate-csr','assign','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','ssh','letsencrypt.json','getProjectConfig','2EYFcUQ','writeFileSync','Verifying\x20Letsencrypt\x20configuration','genSSC','toString','538908PyoCSs','domains','appName','env','Email\x20to\x20use\x20for\x20auto-updates:\x20','constructor','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','(((.+)+)+)+$','Using\x20saved\x20letsencrypt\x20config','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','error','getConfigPath','ping','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','exit','search','generate-ssc','fsi','letsencrypt','1564031mdcnRY','parse','3168468DQnjSI','Please\x20provide\x20a\x20command.','mkKeysDir','domainNames','1303176NSHGUK','.key','.csr','sudo\x20snap\x20install\x20--classic\x20certbot','Checking\x20remote\x20host\x20availability','start','join'];a51c=function(){return A;};return a51c();}a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':'ssl','usage':'maka\x20ssl\x20<opts>\x20[command]','validOpts':[a51y(0x207),a51y(0x1ef)],'requiredOpts':[a51y(0x209)],'shortDesc':a51y(0x1ed),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x1fb),a51y(0x1eb),a51y(0x1fa)]},async function(a,b){const z=a51y,c=this['fsi'][z(0x200)](),d=this[z(0x1d7)][z(0x211)](b[z(0x209)]),f=this[z(0x1d7)][z(0x1dd)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL['genCSR']({'keyName':c[z(0x208)]+'.key','csrName':c[z(0x208)]+z(0x1e1),'cwd':f});else{if(g===z(0x1d6)){if(!a51e[z(0x1f2)](a51f['join'](f,c[z(0x208)]+z(0x1e0))))throw z(0x1f4)+a51f[z(0x1e5)](f,c[z(0x208)]+z(0x1e0));if(!a51e['existsSync'](a51f[z(0x1e5)](f,c[z(0x208)]+z(0x1e1))))throw z(0x213)+a51f['join'](f,c[z(0x208)]+'.csr');SSL[z(0x204)]({'keyName':c['appName']+'.key','crtName':c['appName']+z(0x1ec),'cwd':f}),Log[z(0x1f0)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x1d8)){let h=b['domains'],i=b[z(0x1ef)];try{const p=a51e['readFileSync'](a51f['join'](d,z(0x1ff)))[z(0x205)](),q=JSON[z(0x1da)](p);h=b[z(0x207)]?b[z(0x207)]:q[z(0x1de)],i=b['email']?b[z(0x1ef)]:q[z(0x1f1)],(!b[z(0x1ef)]||!b[z(0x207)])&&Log['notice'](z(0x20e));}catch(r){}const j=JSON[z(0x1da)](a51e[z(0x1f8)](d+'/ssh.json')['toString']());Object[z(0x1fc)](j,{'env':d}),Log['notice'](z(0x1e3));try{const s=SSH[z(0x212)](z(0x1f6),j);if(!s)throw z(0x1fd);if(s)Log[z(0x1e7)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0x210)](t);return;}const k=Log['withSpinner']();k[z(0x1e4)](z(0x203)),SSH[z(0x1fe)](z(0x1f5),{...j}),SSH['ssh'](z(0x1e2),{...j}),SSH['ssh'](z(0x20c),{...j}),k[z(0x1e7)]();const l=h?h:await Actions[z(0x1e9)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions['ask'](z(0x20a));SSH[z(0x1fe)](z(0x20f)+l+z(0x1f3)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1f9)](n,null,0x2);a51e[z(0x202)](a51f['join'](d,z(0x1ff)),o);}else throw z(0x1dc);}}}catch(u){console['error'](u),process[z(0x214)](0x0);}});
1
+ function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a51d(a,b);}const a51x=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x1de))/0x1+parseInt(v(0x1fa))/0x2+parseInt(v(0x1cf))/0x3+-parseInt(v(0x1e2))/0x4+-parseInt(v(0x1ee))/0x5+parseInt(v(0x200))/0x6*(-parseInt(v(0x1d9))/0x7)+parseInt(v(0x1fd))/0x8*(parseInt(v(0x1e6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x84e38));const a51b=(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;};}()),a51a=a51b(this,function(){const w=a51d;return a51a[w(0x1e3)]()[w(0x202)](w(0x1d5))[w(0x1e3)]()[w(0x1fb)](a51a)[w(0x202)]('(((.+)+)+)+$');});a51a();import a51e from'fs';function a51c(){const z=['The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','stringify','getProjectConfig','maka\x20ssl\x20<opts>\x20[command]','letsencrypt.json','email','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','282254YnLGRD','constructor','success','24qTcNmE','/ssh.json','maka\x20ssl\x20--env\x20dev\x20generate-csr','60HSnXZx','domains','search','ask','New\x20CSR\x20written\x20to\x20','appName','[?]\x20Domains\x20to\x20register:\x20','fsi','ping','genSSC','Create\x20and\x20manage\x20your\x20SSL\x20operations.','.key','498303Ywdfsd','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','Using\x20saved\x20letsencrypt\x20config','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','writeFileSync','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','(((.+)+)+)+$','withSpinner','start','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','121492IRqSCR','create','domainNames','emailUpdate','Checking\x20remote\x20host\x20availability','9854EmhTUm','Verifying\x20Letsencrypt\x20configuration','readFileSync','ssh','671540kIMNHv','toString','notice','assign','1990917ZpPhWl','.csr','uname\x20-a','join','getConfigPath','Email\x20to\x20use\x20for\x20auto-updates:\x20','\x20--email\x20','existsSync','474820mTxxQx','parse','generate-csr','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','generate-ssc'];a51c=function(){return z;};return a51c();}import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a51x(0x1da)]({'name':'ssl','usage':a51x(0x1f6),'validOpts':['domains',a51x(0x1f8)],'requiredOpts':['env'],'shortDesc':a51x(0x1cd),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51x(0x1ff),a51x(0x1d4),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const y=a51x,c=this['fsi'][y(0x1f5)](),d=this[y(0x1ca)][y(0x1ea)](b['env']),f=this[y(0x1ca)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x1f0))SSL['genCSR']({'keyName':c['appName']+y(0x1ce),'csrName':c[y(0x1c8)]+y(0x1e7),'cwd':f});else{if(g===y(0x1f2)){if(!a51e[y(0x1ed)](a51f['join'](f,c[y(0x1c8)]+'.key')))throw y(0x1f3)+a51f['join'](f,c['appName']+'.key');if(!a51e[y(0x1ed)](a51f[y(0x1e9)](f,c[y(0x1c8)]+y(0x1e7))))throw y(0x1d2)+a51f['join'](f,c['appName']+y(0x1e7));SSL[y(0x1cc)]({'keyName':c[y(0x1c8)]+'.key','crtName':c['appName']+'.crt','cwd':f}),Log[y(0x1e4)](y(0x204)+f);}else{if(g==='letsencrypt'){let h=b[y(0x201)],i=b[y(0x1f8)];try{const p=a51e[y(0x1e0)](a51f[y(0x1e9)](d,y(0x1f7)))[y(0x1e3)](),q=JSON[y(0x1ef)](p);h=b[y(0x201)]?b['domains']:q[y(0x1db)],i=b[y(0x1f8)]?b[y(0x1f8)]:q[y(0x1dc)],(!b['email']||!b[y(0x201)])&&Log[y(0x1e4)](y(0x1d1));}catch(r){}const j=JSON[y(0x1ef)](a51e[y(0x1e0)](d+y(0x1fe))[y(0x1e3)]());Object[y(0x1e5)](j,{'env':d}),Log[y(0x1e4)](y(0x1dd));try{const s=SSH[y(0x1cb)](y(0x1e8),j);if(!s)throw y(0x1d8);if(s)Log['success']('Remote\x20host\x20connection\x20successful');}catch(t){Log['error'](t);return;}const k=Log[y(0x1d6)]();k[y(0x1d7)](y(0x1df)),SSH[y(0x1e1)](y(0x1f9),{...j}),SSH['ssh']('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[y(0x1e1)](y(0x1d0),{...j}),k[y(0x1fc)]();const l=h?h:await Actions[y(0x203)](y(0x1c9)),m=i?i:await Actions[y(0x203)](y(0x1eb));SSH['ssh'](y(0x1f1)+l+y(0x1ec)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x1f4)](n,null,0x2);a51e[y(0x1d3)](a51f[y(0x1e9)](d,'letsencrypt.json'),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console['error'](u),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a52p=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x190))/0x1*(parseInt(m(0x164))/0x2)+parseInt(m(0x186))/0x3*(parseInt(m(0x18d))/0x4)+parseInt(m(0x156))/0x5+-parseInt(m(0x165))/0x6+-parseInt(m(0x15b))/0x7*(-parseInt(m(0x168))/0x8)+parseInt(m(0x196))/0x9+-parseInt(m(0x16c))/0xa*(parseInt(m(0x157))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x71b73));const a52b=(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;};}()),a52a=a52b(this,function(){const n=a52d;return a52a[n(0x182)]()['search']('(((.+)+)+)+$')[n(0x182)]()['constructor'](a52a)[n(0x159)](n(0x192));});a52a();import a52e from'fs';function a52c(){const s=['error','engines','Cannot\x20find\x20Node\x20Environment\x20File:\x20','79190RRjWDk','isFile','getConfigPath','process.env','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','.maka','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','concat','env','join','jasmine','inspect','readFileSync','slice','parse','testAppPath','once','test','unit','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','mocha','Meteor\x20Settings:\x20','toString','test-packages','driverPackage','driver','3XTtXJT','port','notice','invokeMeteorCommand','findProjectDirectory','forEach','sanjo:jasmine','886580ppdMaG','fsi','development','41771LYwAiv','config.json','(((.+)+)+)+$','--env','--packages','--settings','4477347aOVnqh','--driver-package','2537400JGEToN','1639JUeieO','splice','search','rawLogs','7ToUcDn','argv','utf8','none','filter','create','config','packages','meteortesting:mocha','22TjYzdh','1014246IrtFCO','warn','driver-package','1029296ZTdGqF'];a52c=function(){return s;};return a52c();}import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x155;let f=c[d];return f;},a52d(a,b);}const syncSource=function(a){const o=a52d;a52e['openSync'](a,'r'),a52g[o(0x161)]({'path':a});};Command[a52p(0x160)]({'name':a52p(0x17d),'mustBeInMakaProject':!![],'validOpts':['once',a52p(0x162),'driver',a52p(0x184),'unit',a52p(0x174),a52p(0x15a),a52p(0x187),a52p(0x177),a52p(0x17b)],'usage':'maka\x20test\x20<opts>','shortDesc':a52p(0x17f),'examples':[]},function(a,b){const q=a52p;try{let c=this[q(0x18e)][q(0x16e)](q(0x18f));b['env']&&(c=this[q(0x18e)][q(0x16e)](b[q(0x174)]));(!b[q(0x17e)]||!!b[q(0x17c)])&&(a=a['concat'](['--full-app']));b[q(0x17e)]&&delete b[q(0x17e)];let d=b['driver-package']||b[q(0x185)]||'none';if(d===q(0x15e)){const j=JSON[q(0x17a)](a52e[q(0x178)](a52f['join'](this['fsi'][q(0x18a)](),q(0x171),q(0x191)),q(0x15d)));if(j[q(0x16a)][q(0x17d)]===q(0x176))d=q(0x18c);else j[q(0x16a)]['test']===q(0x180)&&(d=q(0x163));}if(d===q(0x15e))throw q(0x170);(!b[q(0x167)]||!b['driver'])&&(a=a['concat']([q(0x155),d]));const f=a52f[q(0x175)](c,'settings.json');this['fsi'][q(0x16d)](f)?(Log[q(0x188)](q(0x181)+f),a=a[q(0x173)]([q(0x195),f])):Log[q(0x166)](q(0x172)+f);const g=a52f['join'](c,q(0x16f));this[q(0x18e)]['isFile'](g)?(Log[q(0x188)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0x166)](q(0x16b)+g);const h=process[q(0x15c)][q(0x179)](0x2)['filter'](k=>k!==q(0x193))[q(0x15f)](k=>k!==q(0x17d))[q(0x15f)](k=>k!==a[0x0]);h[q(0x18b)]((k,l)=>{const r=q;(k==='--env'||k==='--driver')&&h[r(0x158)](l,0x2),k===r(0x194)&&h[r(0x158)](l,0x1);});const i=b[q(0x162)]?q(0x183):q(0x17d);this['fsi'][q(0x189)](i,a[q(0x173)](h));}catch(k){console[q(0x169)](k),process['exit'](0x0);}});
1
+ const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x22e))/0x1*(-parseInt(m(0x223))/0x2)+-parseInt(m(0x201))/0x3+-parseInt(m(0x20a))/0x4+parseInt(m(0x1fc))/0x5*(-parseInt(m(0x200))/0x6)+-parseInt(m(0x21f))/0x7*(parseInt(m(0x205))/0x8)+-parseInt(m(0x225))/0x9+parseInt(m(0x227))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x1ff0a));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x229)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x1f5)]()[o(0x226)](o(0x214))[o(0x1f5)]()[o(0x22f)](a52a)[o(0x226)](o(0x214));});a52a();import a52e from'fs';import a52f from'path';import a52g from'dotenv';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a52d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0x20b)](a,'r'),a52g[p(0x20f)]({'path':a});};function a52c(){const t=['constructor','mocha','driverPackage','--env','toString','unit','driver-package','argv','create','engines','settings.json','10JoEdCB','splice','filter','isFile','123216pztLaF','454107xCskZe','sanjo:jasmine','inspect','--driver-package','4880wHAEPF','driver','getConfigPath','once','concat','303164ilhxtp','openSync','slice','maka\x20test\x20<opts>','utf8','config','jasmine','development','none','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','(((.+)+)+)+$','--packages','rawLogs','fsi','invokeMeteorCommand','parse','join','test','test-packages','packages','config.json','126hzwuYt','meteortesting:mocha','readFileSync','.maka','382HahtaZ','Node\x20Env\x20Config:\x20','215712zQLeeL','search','5258770QtlsSe','error','apply','warn','forEach','notice','env','481sKmeIZ'];a52c=function(){return t;};return a52c();}Command[a52q(0x1f9)]({'name':a52q(0x21b),'mustBeInMakaProject':!![],'validOpts':[a52q(0x208),a52q(0x21d),a52q(0x206),a52q(0x1f3),a52q(0x1f6),a52q(0x22d),a52q(0x216),'port',a52q(0x203),'testAppPath'],'usage':a52q(0x20d),'shortDesc':a52q(0x213),'examples':[]},function(a,b){const r=a52q;try{let c=this['fsi'][r(0x207)](r(0x211));b[r(0x22d)]&&(c=this[r(0x217)][r(0x207)](b[r(0x22d)]));(!b['unit']||!!b['once'])&&(a=a[r(0x209)](['--full-app']));b[r(0x1f6)]&&delete b['unit'];let d=b['driver-package']||b[r(0x206)]||r(0x212);if(d==='none'){const j=JSON[r(0x219)](a52e[r(0x221)](a52f[r(0x21a)](this[r(0x217)]['findProjectDirectory'](),r(0x222),r(0x21e)),r(0x20e)));if(j[r(0x1fa)][r(0x21b)]===r(0x210))d=r(0x202);else j[r(0x1fa)]['test']===r(0x230)&&(d=r(0x220));}if(d==='none')throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0x1f7)]||!b['driver'])&&(a=a['concat']([r(0x204),d]));const f=a52f[r(0x21a)](c,r(0x1fb));this['fsi']['isFile'](f)?(Log[r(0x22c)]('Meteor\x20Settings:\x20'+f),a=a[r(0x209)](['--settings',f])):Log[r(0x22a)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a52f[r(0x21a)](c,'process.env');this[r(0x217)][r(0x1ff)](g)?(Log[r(0x22c)](r(0x224)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0x1f8)][r(0x20c)](0x2)[r(0x1fe)](k=>k!==r(0x1f4))[r(0x1fe)](k=>k!==r(0x21b))[r(0x1fe)](k=>k!==a[0x0]);h[r(0x22b)]((k,l)=>{const s=r;(k===s(0x1f4)||k==='--driver')&&h[s(0x1fd)](l,0x2),k===s(0x215)&&h[s(0x1fd)](l,0x1);});const i=b['packages']?r(0x21c):r(0x21b);this[r(0x217)][r(0x218)](i,a['concat'](h));}catch(k){console[r(0x228)](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a53k=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0x1f4))/0x1*(parseInt(i(0x1f0))/0x2)+-parseInt(i(0x1f1))/0x3*(parseInt(i(0x204))/0x4)+-parseInt(i(0x1e1))/0x5*(parseInt(i(0x20e))/0x6)+-parseInt(i(0x20c))/0x7*(parseInt(i(0x20d))/0x8)+-parseInt(i(0x20f))/0x9*(parseInt(i(0x1f5))/0xa)+-parseInt(i(0x201))/0xb+parseInt(i(0x203))/0xc*(parseInt(i(0x1e3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xbae53));const a53b=(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;};}()),a53a=a53b(this,function(){const j=a53d;return a53a[j(0x1e4)]()[j(0x210)](j(0x1e5))[j(0x1e4)]()[j(0x1f3)](a53a)[j(0x210)](j(0x1e5));});function a53c(){const m=['Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','12544LKhTLM','1088GyXvFT','7944zlkvlu','315ShJbgg','search','5705wYNmzL','System\x27s\x20Node\x20Version\x20','1294475wvrDKF','toString','(((.+)+)+)+$','Project\x27s\x20Meteor\x20Version\x20','platform','maka\x20version','exit','create','\x20node\x20-v','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','getProjectMeteorVersion','meteor','----------------------Project----------------------------','2770fGnFts','237oeDgDh','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','constructor','331lbZvrP','200210rJxFpP','getProjectsMeteorNodeVersion','4.4.4','bright','System\x27s\x20Meteor\x20Version\x20','notice','node\x20-v','N/A','fsi','version','isMakaProject','maka\x20v','15726931RtOmTi','majestic','636zPMJAg','8540KTagYy','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','replace','win32','Project\x27s\x20Meteor\x20Node\x20Version\x20','warn',')\x20to\x20at\x20least\x20meteor\x27s\x20('];a53c=function(){return m;};return a53c();}a53a();import{execSync}from'child_process';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a53d(a,b);}import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a53k(0x1f7)};Command[a53k(0x1ea)]({'name':a53k(0x1fe),'aliases':['v'],'usage':a53k(0x1e8),'maxArgLength':0x1,'validOpts':[],'shortDesc':a53k(0x20b),'examples':[a53k(0x200),'maka\x20version']},async function(){const l=a53k;try{const a=process[l(0x1e7)]===l(0x207)?'meteor.bat':l(0x1ee);Log[l(0x202)]('Maka\x20'+pjson[l(0x1fe)]),await this[l(0x1fd)]['compareMakaToLatest'](),Log['bright']('----------------------System----------------------------');const b=this['fsi']['getGlobalMeteorVersion']();Log[l(0x1f8)]((l(0x1f9)+b)[l(0x206)]('\x0a',''));const c=execSync(a+l(0x1eb))['toString']()[l(0x206)](/\r?\n|\r/,'')[l(0x206)]('v','');Log['bright'](l(0x1ec)+c);const d=execSync(l(0x1fb))[l(0x1e4)]()['replace'](/\r?\n|\r/,'')[l(0x206)]('v','');a53e['gt'](c,d)?(Log[l(0x209)]('System\x27s\x20Node\x20Version\x20'+d),Log[l(0x209)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+d+l(0x20a)+c+')')):Log['bright'](l(0x1e2)+d);if(this['fsi'][l(0x1ff)]()){Log['bright'](l(0x1ef));const f=this[l(0x1fd)][l(0x1ed)]();a53e['gt'](b,f)?(Log[l(0x209)](l(0x1e6)+f[l(0x206)]('\x0a','')),Log[l(0x209)](l(0x205)+b+'\x22')):Log[l(0x1fa)](('Project\x27s\x20Meteor\x20Version\x20'+f)['replace']('\x0a',''));const g=await this[l(0x1fd)][l(0x1f6)]();g===l(0x1fc)?(Log[l(0x209)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[l(0x209)](l(0x1f2))):Log[l(0x1f8)](l(0x208)+g),Log[l(0x1f8)]('\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(h){console['error'](h),process[l(0x1e9)](0x0);}});
1
+ const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0x1e2))/0x1*(-parseInt(i(0x1c5))/0x2)+-parseInt(i(0x1ce))/0x3*(parseInt(i(0x1c3))/0x4)+-parseInt(i(0x1d4))/0x5+-parseInt(i(0x1e0))/0x6+-parseInt(i(0x1da))/0x7+-parseInt(i(0x1e5))/0x8+parseInt(i(0x1c6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x55692));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x1d7)]()[k(0x1dd)](k(0x1eb))[k(0x1d7)]()[k(0x1c2)](a53a)[k(0x1dd)](k(0x1eb));});a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';function a53c(){const n=['maka\x20version','toString','getGlobalMeteorVersion','notice','2754871SqZupn','maka\x20v','create','search','\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','meteor','3534486RuRVmV','Project\x27s\x20Meteor\x20Version\x20','127SLnfbX','\x20node\x20-v','compareMakaToLatest','5114152ajtnYp','4.4.5','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','warn','exit','apply','(((.+)+)+)+$','System\x27s\x20Meteor\x20Version\x20','isMakaProject','error','fsi','----------------------System----------------------------','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','Project\x27s\x20Meteor\x20Node\x20Version\x20','constructor','292mlIZFk','win32','4496uorEWH','23057460ehlGFL','----------------------Project----------------------------','meteor.bat','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','getProjectsMeteorNodeVersion','platform','majestic','version','25959yMeqKp','getProjectMeteorVersion','bright','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','System\x27s\x20Node\x20Version\x20','replace','1220110nGGSoT','Maka\x20'];a53c=function(){return n;};return a53c();}import{Log}from'../tools/log/log.class.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a53d(a,b);}const pjson={'version':a53l(0x1e6)};Command[a53l(0x1dc)]({'name':a53l(0x1cd),'aliases':['v'],'usage':a53l(0x1d6),'maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x1c0),'examples':[a53l(0x1db),a53l(0x1d6)]},async function(){const m=a53l;try{const a=process[m(0x1cb)]===m(0x1c4)?m(0x1c8):m(0x1df);Log[m(0x1cc)](m(0x1d5)+pjson['version']),await this[m(0x1be)][m(0x1e4)](),Log['bright'](m(0x1bf));const b=this[m(0x1be)][m(0x1d8)]();Log[m(0x1d0)]((m(0x1bb)+b)[m(0x1d3)]('\x0a',''));const c=execSync(a+m(0x1e3))['toString']()[m(0x1d3)](/\r?\n|\r/,'')['replace']('v','');Log[m(0x1d0)](m(0x1c9)+c);const d=execSync('node\x20-v')[m(0x1d7)]()[m(0x1d3)](/\r?\n|\r/,'')['replace']('v','');a53e['gt'](c,d)?(Log[m(0x1e8)](m(0x1d2)+d),Log[m(0x1e8)](m(0x1e7)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0x1d0)](m(0x1d2)+d);if(this[m(0x1be)][m(0x1bc)]()){Log[m(0x1d0)](m(0x1c7));const f=this[m(0x1be)][m(0x1cf)]();a53e['gt'](b,f)?(Log['warn'](m(0x1e1)+f['replace']('\x0a','')),Log[m(0x1e8)](m(0x1d1)+b+'\x22')):Log[m(0x1d9)](('Project\x27s\x20Meteor\x20Version\x20'+f)[m(0x1d3)]('\x0a',''));const g=await this[m(0x1be)][m(0x1ca)]();g==='N/A'?(Log['warn'](m(0x1c1)+g),Log[m(0x1e8)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log['bright'](m(0x1de));}}catch(h){console[m(0x1bd)](h),process[m(0x1e9)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0xb3))/0x1+parseInt(f(0xbc))/0x2+-parseInt(f(0xb8))/0x3+parseInt(f(0xbb))/0x4+parseInt(f(0xb7))/0x5+parseInt(f(0xbd))/0x6*(parseInt(f(0xb5))/0x7)+-parseInt(f(0xb6))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x659a7));var a54b=(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;};}()),a54a=a54b(this,function(){var g=a54d;return a54a[g(0xb9)]()[g(0xba)](g(0xb4))[g(0xb9)]()['constructor'](a54a)[g(0xba)](g(0xb4));});a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0xb3;var f=c[d];return f;},a54d(a,b);}function a54c(){var h=['1241372MfQpJA','1614722xWCLAy','96iEIseO','128941TcEHpC','(((.+)+)+)+$','14147lFLvDj','8355704WGhsQl','3921535zMFsKp','1807974LuVfIU','toString','search'];a54c=function(){return h;};return a54c();}
1
+ function a54c(){var i=['2031pWRamp','apply','101524iXBMBO','(((.+)+)+)+$','search','1852165AqmkZV','1129304gzdHlb','6482640YPAwDT','toString','214565VCXDlW','2696622bykZGS','1556vlKKVx','constructor'];a54c=function(){return i;};return a54c();}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0xb7;var f=c[d];return f;},a54d(a,b);}(function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0xc0))/0x1+parseInt(f(0xbc))/0x2*(parseInt(f(0xbe))/0x3)+parseInt(f(0xb7))/0x4+parseInt(f(0xba))/0x5+parseInt(f(0xbb))/0x6+-parseInt(f(0xc3))/0x7+-parseInt(f(0xb8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x5012d));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0xb9)]()[h(0xc2)](h(0xc1))[h(0xb9)]()[h(0xbd)](a54a)[h(0xc2)](h(0xc1));});a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1 +1 @@
1
- const a55t=a55d;(function(a,b){const p=a55d,c=a();while(!![]){try{const d=parseInt(p(0x206))/0x1*(parseInt(p(0x1f2))/0x2)+-parseInt(p(0x1f4))/0x3*(-parseInt(p(0x21b))/0x4)+parseInt(p(0x22f))/0x5+parseInt(p(0x200))/0x6*(-parseInt(p(0x205))/0x7)+parseInt(p(0x209))/0x8+parseInt(p(0x211))/0x9*(parseInt(p(0x1fc))/0xa)+parseInt(p(0x1e5))/0xb*(-parseInt(p(0x201))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x523ae));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a55d;if(c){const e=c[q(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const r=a55d;return a55a[r(0x22a)]()[r(0x22d)](r(0x238))[r(0x22a)]()[r(0x21f)](a55a)[r(0x22d)](r(0x238));});a55a();import a55e from'path';import a55f from'cli-table';import{paramCase}from'change-case';import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';function a55c(){const F=['maxArgLength','Generator.create\x20requires\x20a\x20handler\x20function!','(((.+)+)+)+$','addGenerator','includes','bind','Location','notice','To\x20use\x20this\x20generator,\x20\x22','lib','shortDesc','Too\x20many\x20options','invoke','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','replace','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','findProjectDirectory','sort','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','appPathPrefix','find','112717EyvQSA','fsi','join','tableList','filter','server','help','options','validateMakaSubscription','number','domainLicense','where','listGenerators','134KipGqH','cwd','39iHkiHb','findGenerator','apply','pop','There\x20is\x20no\x20Meteor\x20application\x20here','mustHaveMeteorInstalled','Both','Description','1280bYqbGV','usage','keys','validateMakaProject','6xFpURf','660kJcIfZ','map','resourceName','roles','2273446DPJcih','907eqDKPh','proGenerators','bright','2202376sfczWd','slice','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','Generator\x20requires\x20a\x20handler\x20function','minArgLength','Too\x20few\x20options','chdir','Server','41121WMfspg','aliases','noResource','_generators','function','client','maxOptsLength','Too\x20few\x20arguments','proFlags','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','33104QAKHTz','exit','name','push','constructor','error','list','assign','addGenerator\x20requires\x20a\x20Generator\x20instance','mustBeInMakaProject','Generator\x20requires\x20a\x20name','Please\x20run\x20\x22maka\x20install\x20meteor\x22','No\x20resource\x20name\x20specified','singleLicense','Too\x20many\x20arguments','toString','Name','_handler','search','validateMeteorInstall','983455JSIpEd','both','Generators:','validateParams','length','minOptsLength','dir'];a55c=function(){return F;};return a55c();}import{Actions}from'./tools/actions/actions.class.js';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0x1df;let f=c[d];return f;},a55d(a,b);}import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a55d,c=process[s(0x1f3)]();let d=null;try{process['chdir'](a),d=b();}finally{process[s(0x20f)](c);}return d;}export class Generator extends Tool{[a55t(0x1ec)];[a55t(0x214)];constructor(a,b){const u=a55t;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[u(0x21d)])throw new Error(u(0x225));if(typeof b!==u(0x215))throw new Error(u(0x20c));this[u(0x214)]=[],this[u(0x1ec)]=Object[u(0x222)]({},a),this[u(0x21d)]=this[u(0x1ec)][u(0x21d)],this[u(0x22c)]=b[u(0x23b)](this);}static['create'](a,b,c){const v=a55t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0x215))throw new Error(v(0x237));const d=new Generator(a,b);return c=c||a55g,Object[v(0x222)](d,{'parent':c?.[v(0x1ec)]?.[v(0x21d)]}),c[v(0x239)](d),d;}[a55t(0x239)](a){const w=a55t;if(!(a instanceof Generator))throw new Error(w(0x223));this[w(0x214)][w(0x21e)](a);}[a55t(0x1f5)](a){const x=a55t,b=this[x(0x214)][x(0x1e4)](c=>c['match'](a));return b;}async['validateMakaSubscription'](a,b){const y=a55t,c=this[y(0x1f5)](a[0x0]);if(c){const d=c?.[y(0x21d)]||a[0x0],e=c?.['parent']||'',f=Object[y(0x1fe)](b),g=await this[y(0x1e6)]['getPro']();!g&&(Log[y(0x220)](y(0x21a)),process[y(0x21c)](0x1));const h=!g?.[y(0x204)][y(0x23a)](y(0x228))&&!g?.[y(0x204)][y(0x23a)](y(0x1ef)),i=g?.[y(0x207)]['includes'](d)||g?.['proGenerators'][y(0x23a)](e);if(i&&h)throw y(0x23e)+d+y(0x243);if(f['length']>0x0){const j=g?.[y(0x219)][y(0x1e9)](k=>f['includes'](k));if(j&&j[y(0x233)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.[y(0x1e7)](',\x20')+y(0x243);}}}async[a55t(0x242)](a,b){const z=a55t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c}=this[z(0x1ec)];try{await this[z(0x1ed)](a,b);}catch(f){Log['error'](f),process['exit'](0x1);}const d=a[z(0x20a)]();b[z(0x203)]=d[0x0];try{if((a[0x0]===_prevGen||a[z(0x233)]===0x0)&&b[z(0x1eb)])throw new UsageError();if(this['options'][z(0x224)]){const g=this[z(0x1ff)]();if(!g)throw new MustBeInProjectError();}if(this[z(0x1ec)][z(0x1f9)]){const h=this[z(0x22e)]();if(!h)throw new NoMeteorFoundError();}if(typeof this[z(0x1ec)][z(0x20d)]===z(0x1ee)){if(a['length']<this[z(0x1ec)]['minArgLength']){Log[z(0x220)](z(0x218));throw new UsageError();}}if(typeof this[z(0x1ec)][z(0x236)]==='number'){if(a[z(0x233)]>this[z(0x1ec)]['maxArgLength']){Log[z(0x220)](z(0x229));throw new UsageError();}}if(typeof this[z(0x1ec)][z(0x234)]===z(0x1ee)){if(Object[z(0x1fe)](b)[z(0x233)]<this[z(0x1ec)][z(0x234)]){Log[z(0x220)](z(0x20e));throw new UsageError();}}if(typeof this[z(0x1ec)][z(0x217)]===z(0x1ee)){if(Object[z(0x1fe)](b)['length']>=this['options'][z(0x217)]){Log[z(0x220)](z(0x241));throw new UsageError();}}this[z(0x232)](a,b,this[z(0x1ec)]);if(!b[z(0x203)]&&!this[z(0x1ec)][z(0x213)]){Log[z(0x220)](z(0x227));throw new UsageError();}_prevGen=a[0x0];}catch(i){Log[z(0x1fd)](description,examples,usage,c);if(i instanceof UsageError)this['_generators'][z(0x233)]>0x0&&b['help']&&(Log[z(0x23d)](z(0x231)),this[z(0x1e8)](this[z(0x214)]));else{if(i instanceof MustBeInProjectError)Log[z(0x220)](z(0x1df));else{if(i instanceof NoMeteorFoundError)Log[z(0x220)](z(0x1e2)),Log[z(0x23d)](z(0x226));else{if(i instanceof NoMeteorAppFoundError)Log[z(0x220)](z(0x1f8));else throw i;}}}process[z(0x21c)](0x1);}return new Promise(j=>{const A=z;inside(b[A(0x1f3)],async()=>{const B=A;try{if(!b['root']&&!this[B(0x1e6)][B(0x1e0)]())throw new MustBeInProjectError();const k=b[B(0x203)]?.[B(0x244)](/\\/g,'/')['split']('/');!b['dir']&&(k?.[B(0x233)]>0x1?(b[B(0x203)]=k[B(0x1f7)](),d[0x0]=b[B(0x203)],b[B(0x235)]=k[B(0x202)](l=>{return paramCase(l);})[B(0x1e7)](a55e['sep'])):b[B(0x235)]='');if(this[B(0x1ec)]['checkWhere']){if(!b[B(0x1f0)]){const m={'type':B(0x221),'name':'colLocAnswer','message':B(0x23c),'choices':[{'name':'Client','value':B(0x216)},{'name':B(0x210),'value':B(0x1ea)},{'name':B(0x1fa),'value':B(0x230)}]},{colLocAnswer:n}=await Actions[B(0x1ec)](m);n?b[B(0x1f0)]=n:b[B(0x1f0)]=B(0x230);}const l=[B(0x230),'client',B(0x1ea)];if(!l[B(0x23a)](b[B(0x1f0)])){Log[B(0x220)](B(0x20b));throw new UsageError();}switch(b['where']){case'both':b[B(0x1e3)]=B(0x23f);break;case B(0x1ea):b['appPathPrefix']=B(0x1ea);break;case'client':b[B(0x1e3)]=B(0x216);break;default:b[B(0x1e3)]='';}}j(this['_handler']['call'](this,d,b));}catch(o){console[B(0x220)](o);}});});}[a55t(0x1f1)](){const C=a55t;this[C(0x1e8)](this[C(0x214)]);}[a55t(0x1e8)](a){const D=a55t,b=new a55f({});b[D(0x21e)]([D(0x22b),'Alias',D(0x1fb)]),a[D(0x1e1)]()['forEach'](c=>{const E=D;b[E(0x21e)]([c[E(0x21d)],c[E(0x212)](),c[E(0x240)]()]);}),Log[D(0x208)](b['toString']());}}
1
+ const a55t=a55d;(function(a,b){const p=a55d,c=a();while(!![]){try{const d=parseInt(p(0x127))/0x1+parseInt(p(0x167))/0x2*(parseInt(p(0x139))/0x3)+parseInt(p(0x154))/0x4*(-parseInt(p(0x157))/0x5)+-parseInt(p(0x185))/0x6*(parseInt(p(0x141))/0x7)+parseInt(p(0x156))/0x8*(-parseInt(p(0x15d))/0x9)+parseInt(p(0x128))/0xa*(-parseInt(p(0x183))/0xb)+parseInt(p(0x13d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x6f3e4));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a55d;if(c){const e=c[q(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const r=a55d;return a55a[r(0x186)]()[r(0x187)](r(0x14d))[r(0x186)]()[r(0x13b)](a55a)['search'](r(0x14d));});a55a();import a55e from'path';import a55f from'cli-table';import{paramCase}from'change-case';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0x123;let f=c[d];return f;},a55d(a,b);}import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';function a55c(){const E=['cwd','error','_generators','checkWhere','list','options','client','find','join','Name','invoke','Both','4419316MajYIP','where','444hFXoyN','toString','search','sep','validateMakaSubscription','number','assign','To\x20use\x20this\x20generator,\x20\x22','Too\x20many\x20options','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','527981JihmKe','10IEQYUS','Generator.create\x20requires\x20a\x20handler\x20function!','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','findGenerator','pop','_handler','tableList','Alias','mustHaveMeteorInstalled','validateMakaProject','apply','Please\x20run\x20\x22maka\x20install\x20meteor\x22','Description','parent','Generator\x20requires\x20a\x20name','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','roles','3DhVmTp','Server','constructor','filter','21744960RFPdYd','No\x20resource\x20name\x20specified','keys','Client','78148lgWJMv','bright','validateMeteorInstall','call','proFlags','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','fsi','lib','server','create','maxOptsLength','shortDesc','(((.+)+)+)+$','To\x20use\x20these\x20pro\x20flags,\x20\x22','mustBeInMakaProject','listGenerators','findProjectDirectory','minOptsLength','appPathPrefix','528500eoUqSE','colLocAnswer','8AYzbEL','25KyYbpW','push','aliases','Too\x20few\x20options','includes','usage','3777759dsKTvI','maxArgLength','Generators:','resourceName','addGenerator','minArgLength','Generator.create\x20requires\x20some\x20options!','domainLicense','map','name','847718Sworyz','Too\x20many\x20arguments','both','singleLicense','dir','addGenerator\x20requires\x20a\x20Generator\x20instance','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','length','Too\x20few\x20arguments','replace','validateParams','notice','exit','sort','help','proGenerators'];a55c=function(){return E;};return a55c();}import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a55d,c=process[s(0x177)]();let d=null;try{process['chdir'](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a55t(0x17c)];['_generators'];constructor(a,b){const u=a55t;super();if(!a)throw new Error(u(0x146));if(!a[u(0x166)])throw new Error(u(0x136));if(typeof b!=='function')throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[u(0x179)]=[],this[u(0x17c)]=Object[u(0x123)]({},a),this[u(0x166)]=this[u(0x17c)][u(0x166)],this[u(0x12d)]=b['bind'](this);}static[a55t(0x14a)](a,b,c){const v=a55t;if(!a)throw new Error(v(0x163));if(typeof b!=='function')throw new Error(v(0x129));const d=new Generator(a,b);return c=c||a55g,Object[v(0x123)](d,{'parent':c?.[v(0x17c)]?.['name']}),c[v(0x161)](d),d;}[a55t(0x161)](a){const w=a55t;if(!(a instanceof Generator))throw new Error(w(0x16c));this[w(0x179)][w(0x158)](a);}[a55t(0x12b)](a){const x=a55t,b=this[x(0x179)][x(0x17e)](c=>c['match'](a));return b;}async[a55t(0x189)](a,b){const y=a55t,c=this[y(0x12b)](a[0x0]);if(c){const d=c?.[y(0x166)]||a[0x0],e=c?.[y(0x135)]||'',f=Object[y(0x13f)](b),g=await this[y(0x147)]['getPro']();!g&&(Log[y(0x178)](y(0x12a)),process[y(0x173)](0x1));const h=!g?.[y(0x138)][y(0x15b)](y(0x16a))&&!g?.[y(0x138)][y(0x15b)](y(0x164)),i=g?.[y(0x176)][y(0x15b)](d)||g?.[y(0x176)][y(0x15b)](e);if(i&&h)throw y(0x124)+d+y(0x16d);if(f[y(0x16e)]>0x0){const j=g?.[y(0x145)][y(0x13c)](k=>f[y(0x15b)](k));if(j&&j[y(0x16e)]>0x0&&h)throw y(0x14e)+j?.[y(0x17f)](',\x20')+y(0x16d);}}}async[a55t(0x181)](a,b){const z=a55t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c}=this[z(0x17c)];try{await this[z(0x189)](a,b);}catch(f){Log[z(0x178)](f),process['exit'](0x1);}const d=a['slice']();b['resourceName']=d[0x0];try{if((a[0x0]===_prevGen||a[z(0x16e)]===0x0)&&b[z(0x175)])throw new UsageError();if(this[z(0x17c)][z(0x14f)]){const g=this[z(0x131)]();if(!g)throw new MustBeInProjectError();}if(this[z(0x17c)][z(0x130)]){const h=this[z(0x143)]();if(!h)throw new NoMeteorFoundError();}if(typeof this[z(0x17c)][z(0x162)]==='number'){if(a[z(0x16e)]<this[z(0x17c)][z(0x162)]){Log[z(0x178)](z(0x16f));throw new UsageError();}}if(typeof this['options'][z(0x15e)]===z(0x18a)){if(a['length']>this[z(0x17c)]['maxArgLength']){Log[z(0x178)](z(0x168));throw new UsageError();}}if(typeof this[z(0x17c)][z(0x152)]===z(0x18a)){if(Object[z(0x13f)](b)[z(0x16e)]<this['options'][z(0x152)]){Log['error'](z(0x15a));throw new UsageError();}}if(typeof this['options']['maxOptsLength']===z(0x18a)){if(Object[z(0x13f)](b)[z(0x16e)]>=this[z(0x17c)][z(0x14b)]){Log['error'](z(0x125));throw new UsageError();}}this[z(0x171)](a,b,this[z(0x17c)]);if(!b['resourceName']&&!this[z(0x17c)]['noResource']){Log[z(0x178)](z(0x13e));throw new UsageError();}_prevGen=a[0x0];}catch(i){Log[z(0x15c)](description,examples,usage,c);if(i instanceof UsageError)this[z(0x179)][z(0x16e)]>0x0&&b['help']&&(Log['notice'](z(0x15f)),this['tableList'](this['_generators']));else{if(i instanceof MustBeInProjectError)Log[z(0x178)](z(0x137));else{if(i instanceof NoMeteorFoundError)Log[z(0x178)](z(0x126)),Log[z(0x172)](z(0x133));else{if(i instanceof NoMeteorAppFoundError)Log[z(0x178)]('There\x20is\x20no\x20Meteor\x20application\x20here');else throw i;}}}process[z(0x173)](0x1);}return new Promise(j=>{inside(b['cwd'],async()=>{const A=a55d;try{if(!b['root']&&!this['fsi'][A(0x151)]())throw new MustBeInProjectError();const k=b[A(0x160)]?.[A(0x170)](/\\/g,'/')['split']('/');!b['dir']&&(k?.['length']>0x1?(b[A(0x160)]=k[A(0x12c)](),d[0x0]=b[A(0x160)],b[A(0x16b)]=k[A(0x165)](l=>{return paramCase(l);})[A(0x17f)](a55e[A(0x188)])):b[A(0x16b)]='');if(this[A(0x17c)][A(0x17a)]){if(!b[A(0x184)]){const m={'type':A(0x17b),'name':A(0x155),'message':'Location','choices':[{'name':A(0x140),'value':A(0x17d)},{'name':A(0x13a),'value':A(0x149)},{'name':A(0x182),'value':'both'}]},{colLocAnswer:n}=await Actions['options'](m);n?b['where']=n:b[A(0x184)]=A(0x169);}const l=[A(0x169),A(0x17d),A(0x149)];if(!l[A(0x15b)](b[A(0x184)])){Log[A(0x178)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[A(0x184)]){case A(0x169):b['appPathPrefix']=A(0x148);break;case A(0x149):b[A(0x153)]=A(0x149);break;case A(0x17d):b[A(0x153)]=A(0x17d);break;default:b['appPathPrefix']='';}}j(this[A(0x12d)][A(0x144)](this,d,b));}catch(o){console[A(0x178)](o);}});});}[a55t(0x150)](){const B=a55t;this[B(0x12e)](this[B(0x179)]);}[a55t(0x12e)](a){const C=a55t,b=new a55f({});b[C(0x158)]([C(0x180),C(0x12f),C(0x134)]),a[C(0x174)]()['forEach'](c=>{const D=C;b[D(0x158)]([c[D(0x166)],c[D(0x159)](),c[D(0x14c)]()]);}),Log[C(0x142)](b['toString']());}}