@maka/maka-cli 4.7.27 → 4.7.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- const a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0x11a))/0x1*(parseInt(l(0x130))/0x2)+-parseInt(l(0x11f))/0x3*(-parseInt(l(0x12a))/0x4)+parseInt(l(0x129))/0x5+parseInt(l(0x107))/0x6+-parseInt(l(0x128))/0x7*(-parseInt(l(0x106))/0x8)+-parseInt(l(0x124))/0x9*(-parseInt(l(0x114))/0xa)+-parseInt(l(0x105))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x5cd5b));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const m=a78d;return a78a['toString']()[m(0x132)](m(0x10b))[m(0x10d)]()[m(0x116)](a78a)[m(0x132)](m(0x10b));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x105;let f=c[d];return f;},a78d(a,b);}function a78c(){const p=['get','/api/v1/logoutAll','21918963RObQIE','101576uqYxtM','4371486xRAqzL','logout','cacert','Preflight\x20Check','(((.+)+)+)+$','error','toString','post','authToken','assign','maka\x20logout','Logging\x20out\x20of\x20https://','success','3380ZOwymi','isFile','constructor','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','withSpinner','failure','81511jZooWG','localhost','exit','https://','create','10539MnWyuL','fsi','getGlobalConfig','Using\x20CA\x20Cert\x20','token','5805ZHDVSp','cert','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','MAKA_DEV','133ajpyLW','1821925oGaJbZ','656RKfXou','notice','/api/v1/status','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','Logging\x20out','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','6FIpZpd','start','search'];a78c=function(){return p;};return a78c();}const hostname=process['env'][a78n(0x127)]==='True'?a78n(0x11b):'www.maka-cli.com';Command[a78n(0x11e)]({'name':a78n(0x108),'validOpts':['cacert'],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':a78n(0x126),'disableAuthCheck':!![],'examples':[a78n(0x111)]},async function(a,b){const o=a78n,c=Log[o(0x118)]();try{let d='';b[o(0x109)]&&(this[o(0x120)][o(0x115)](b[o(0x109)])?(d=b[o(0x109)],Log[o(0x12b)](o(0x122)+d)):Log[o(0x10c)](o(0x117)+d));const f=await this[o(0x120)][o(0x121)]();if(f['cert']){if(this[o(0x120)][o(0x115)](f['cert']))d=f[o(0x125)];else{c[o(0x119)]();throw Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log['header'](o(0x112)+hostname);const g={'url':o(0x11d)+hostname+o(0x12c)};b[o(0x109)]&&Object[o(0x110)](g,{'cert':d});c['start'](o(0x10a));const {statusCode:h}=await HTTPS[o(0x133)](g);if(h===0x198){c[o(0x119)]();throw o(0x12f);}c[o(0x113)]();if(h!==0xc8){c[o(0x119)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!f?.[o(0x123)]?.[o(0x10f)])throw Log[o(0x10c)](o(0x12d));c[o(0x131)](o(0x12e));const i={'hostname':hostname,'path':o(0x134),'data':{},'headers':{'x-auth-token':f['token'][o(0x10f)]}};b[o(0x109)]&&Object[o(0x110)](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x10e)](i);if(j===0x198){c['failure']('\x0a');throw o(0x12f);}this['fsi']['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0x113)]();}catch(k){k&&console[o(0x10c)](k),process[o(0x11c)](0x0);}});
1
+ function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x14c;let f=c[d];return f;},a78d(a,b);}function a78c(){const p=['notice','/api/v1/logoutAll','Using\x20CA\x20Cert\x20','508445frubwJ','search','MAKA_DEV','setGlobalConfig','token','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','1004620JfcrAc','error','success','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','fsi','header','logout','exit','/api/v1/status','withSpinner','failure','46792YqdEDZ','post','maka\x20logout','147260dqNtia','(((.+)+)+)+$','toString','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','constructor','getGlobalConfig','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','cert','get','959595MSwwKD','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','Logging\x20out\x20of\x20https://','6XPIIHG','isFile','18NZBBRQ','authToken','True','2521128sLVJig','1017818cgPklv','Logging\x20out','cacert','165SBNbQu','start','localhost','assign'];a78c=function(){return p;};return a78c();}const a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x15f))/0x1+parseInt(l(0x155))/0x2+parseInt(l(0x158))/0x3*(parseInt(l(0x170))/0x4)+-parseInt(l(0x173))/0x5+-parseInt(l(0x14f))/0x6*(parseInt(l(0x14c))/0x7)+-parseInt(l(0x154))/0x8+-parseInt(l(0x151))/0x9*(-parseInt(l(0x165))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x58a5c));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const m=a78d;return a78a[m(0x175)]()[m(0x160)](m(0x174))[m(0x175)]()[m(0x177)](a78a)[m(0x160)](m(0x174));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a78n(0x161)]===a78n(0x153)?a78n(0x15a):'www.maka-cli.com';Command['create']({'name':a78n(0x16b),'validOpts':[a78n(0x157)],'usage':a78n(0x172),'maxArgLength':0x2,'shortDesc':a78n(0x14d),'disableAuthCheck':!![],'examples':[a78n(0x172)]},async function(a,b){const o=a78n,c=Log[o(0x16e)]();try{let d='';b[o(0x157)]&&(this[o(0x169)][o(0x150)](b['cacert'])?(d=b['cacert'],Log[o(0x15c)](o(0x15e)+d)):Log[o(0x166)](o(0x179)+d));const f=await this['fsi'][o(0x178)]();if(f['cert']){if(this[o(0x169)][o(0x150)](f[o(0x17a)]))d=f[o(0x17a)];else{c[o(0x16f)]();throw Log[o(0x166)](o(0x164)+d);}}Log[o(0x16a)](o(0x14e)+hostname);const g={'url':'https://'+hostname+o(0x16d)};b['cacert']&&Object[o(0x15b)](g,{'cert':d});c[o(0x159)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[o(0x17b)](g);if(h===0x198){c[o(0x16f)]();throw o(0x168);}c['success']();if(h!==0xc8){c[o(0x16f)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!f?.[o(0x163)]?.[o(0x152)])throw Log['error'](o(0x176));c[o(0x159)](o(0x156));const i={'hostname':hostname,'path':o(0x15d),'data':{},'headers':{'x-auth-token':f['token']['authToken']}};b[o(0x157)]&&Object[o(0x15b)](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x171)](i);if(j===0x198){c['failure']('\x0a');throw o(0x168);}this[o(0x169)][o(0x162)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0x167)]();}catch(k){k&&console['error'](k),process[o(0x16c)](0x0);}});
@@ -1 +1 @@
1
- function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x98;let f=c[d];return f;},a79d(a,b);}const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0xaf))/0x1+-parseInt(j(0xad))/0x2*(parseInt(j(0x9d))/0x3)+parseInt(j(0x99))/0x4+parseInt(j(0xa1))/0x5+-parseInt(j(0xa3))/0x6+parseInt(j(0xac))/0x7*(-parseInt(j(0xb0))/0x8)+-parseInt(j(0x9f))/0x9*(-parseInt(j(0x9b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x98d04));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0xaa)]()[l(0xa8)]('(((.+)+)+)+$')[l(0xaa)]()['constructor'](a79a)[l(0xa8)](l(0x9e));});function a79c(){const o=['search','fsi','toString','assign','553231tPJeol','43698mvmHRQ','env','640073hZqFSt','96AMUnXO','View\x20the\x20PM2\x20logs','sshSync','3329104ynBMWG','readFileSync','1066510dKhnDI','verbose','147YMpNwE','(((.+)+)+)+$','171frHyzb','log','5135020rynraP','getAppConfigPath','3603930hUeZWd','apply','create','maka\x20logs\x20--env\x20dev','ssh.json'];a79c=function(){return o;};return a79c();}a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0xa5)]({'name':'logs','aliases':['l',a79m(0xa0)],'usage':'maka\x20logs','requiredOpts':[a79m(0xae)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x9c)],'shortDesc':a79m(0xb1),'examples':[a79m(0xa6),'maka\x20logs\x20--env\x20staging','maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c='pm2\x20logs',d=this[n(0xa9)][n(0xa2)](b['env']),f=a79f['join'](d,n(0xa7)),g=a79e[n(0x9a)](f),h=JSON['parse'](g[n(0xaa)]());Object[n(0xab)](h,{'env':d}),SSH[n(0x98)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
1
+ const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0x7c))/0x1*(-parseInt(j(0x86))/0x2)+-parseInt(j(0x77))/0x3+-parseInt(j(0x84))/0x4*(-parseInt(j(0x79))/0x5)+parseInt(j(0x8a))/0x6+-parseInt(j(0x7e))/0x7*(parseInt(j(0x7f))/0x8)+parseInt(j(0x8d))/0x9+parseInt(j(0x73))/0xa*(parseInt(j(0x76))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x36cc5));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a['toString']()[l(0x87)](l(0x8b))[l(0x70)]()[l(0x7b)](a79a)['search'](l(0x8b));});a79a();function a79c(){const o=['118284TxCdHG','maka\x20l\x20-e\x20p','2lEssTq','search','verbose','fsi','685416iFCBYn','(((.+)+)+)+$','maka\x20logs','140094BHwKjq','getAppConfigPath','toString','env','parse','560FoNtow','error','logs','58762OXbzBI','768768BKKPAE','ssh.json','35yPieLL','maka\x20logs\x20--env\x20dev','constructor','96286YBEDpW','View\x20the\x20PM2\x20logs','2023aDYuIm','1632oVYooV','log','apply','sshSync','join'];a79c=function(){return o;};return a79c();}import a79e from'fs';import a79f from'path';import{Command}from'../command.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x6f;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command['create']({'name':a79m(0x75),'aliases':['l',a79m(0x80)],'usage':a79m(0x8c),'requiredOpts':[a79m(0x71)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x88)],'shortDesc':a79m(0x7d),'examples':[a79m(0x7a),'maka\x20logs\x20--env\x20staging',a79m(0x85)]},function(a,b){const n=a79m;try{const c='pm2\x20logs',d=this[n(0x89)][n(0x6f)](b[n(0x71)]),f=a79f[n(0x83)](d,n(0x78)),g=a79e['readFileSync'](f),h=JSON[n(0x72)](g[n(0x70)]());Object['assign'](h,{'env':d}),SSH[n(0x82)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x74)](i);}});
@@ -1 +1 @@
1
- const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x8f))/0x1*(-parseInt(f(0x8a))/0x2)+parseInt(f(0x87))/0x3*(-parseInt(f(0x88))/0x4)+parseInt(f(0x8b))/0x5*(parseInt(f(0x8c))/0x6)+-parseInt(f(0x8d))/0x7*(-parseInt(f(0x90))/0x8)+-parseInt(f(0x93))/0x9*(-parseInt(f(0x8e))/0xa)+parseInt(f(0x86))/0xb*(parseInt(f(0x82))/0xc)+-parseInt(f(0x81))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x7afce));const a80b=(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;};}()),a80a=a80b(this,function(){const g=a80d;return a80a[g(0x92)]()['search']('(((.+)+)+)+$')[g(0x92)]()['constructor'](a80a)[g(0x84)](g(0x80));});function a80c(){const j=['1141XshLMz','10GCfqxC','2SGwbTv','43360bjBiXB','maka\x20run','toString','6978924aSEvBg','splice','maka\x20install\x20meteor','processAndRunCommand','(((.+)+)+)+$','3581838dqFYie','748032yBUUIQ','maka\x20create\x20Todo','search','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','33qbRCkr','48192uVdZCn','76YRjVWx','maka\x20--help','907074lpwZva','10gUbuwQ','437010iUffUN'];a80c=function(){return j;};return a80c();}a80a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a80h(0x89),a80h(0x95),a80h(0x83),a80h(0x91)],'description':a80h(0x85)},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0x94)](0x0,0x1),await this[i(0x96)](c,a,b);}catch(d){process['exit'](0x1);}});function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x80;let f=c[d];return f;},a80d(a,b);}export default Maka;
1
+ const a80i=a80d;function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x18f;let f=c[d];return f;},a80d(a,b);}(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x19e))/0x1+-parseInt(f(0x1a1))/0x2*(parseInt(f(0x199))/0x3)+-parseInt(f(0x195))/0x4*(-parseInt(f(0x19a))/0x5)+-parseInt(f(0x1a3))/0x6*(-parseInt(f(0x196))/0x7)+parseInt(f(0x1a2))/0x8+-parseInt(f(0x19f))/0x9*(parseInt(f(0x1a6))/0xa)+-parseInt(f(0x194))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xf2fe8));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a['toString']()[h(0x18f)](h(0x19c))['toString']()[h(0x1a0)](a80a)['search'](h(0x19c));});a80a();import{Command}from'../command.js';function a80c(){const k=['processAndRunCommand','625087QlttwK','122454pAvIqw','constructor','407326KeWZca','14479920VOPzYo','2010kpyPTF','maka\x20install\x20meteor','maka','90BXiqLj','search','maka\x20<command>\x20[<args>]\x20[<opts>]','maka\x20create\x20Todo','splice','exit','28015031cJzPtf','453860rEoZaN','22834cWzsnl','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','apply','3jxKSns','15WYmaTY','maka\x20--help','(((.+)+)+)+$'];a80c=function(){return k;};return a80c();}const Maka=new Command({'name':a80i(0x1a5),'minArgLength':0x1,'shortDesc':a80i(0x197),'validOpts':[],'usage':a80i(0x190),'disableAuthCheck':!![],'examples':[a80i(0x19b),a80i(0x1a4),a80i(0x191),'maka\x20run'],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0x192)](0x0,0x1),await this[j(0x19d)](c,a,b);}catch(d){process[j(0x193)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0xa0))/0x1+-parseInt(f(0xab))/0x2*(-parseInt(f(0xb0))/0x3)+parseInt(f(0xa2))/0x4*(parseInt(f(0xa8))/0x5)+parseInt(f(0xa5))/0x6+parseInt(f(0xae))/0x7+parseInt(f(0xa6))/0x8+-parseInt(f(0xaa))/0x9*(parseInt(f(0xac))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x2d968));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0xa4)]()[h(0xa3)]('(((.+)+)+)+$')[h(0xa4)]()[h(0xa1)](a81a)[h(0xa3)](h(0xaf));});a81a();function a81c(){var k=['apply','murder','Murrrrderrrrr','create','%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','312725lhgXCd','constructor','10552rVTiAo','search','toString','413946TeFEoY','992304wzNKkm','error','480DrgJOm','exit','27873YgEKLT','4tdoYzT','2670GmCXkS','maka\x20murder','1559901dzYmgd','(((.+)+)+)+$','47673mNOfmt'];a81c=function(){return k;};return a81c();}function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x9b;var f=c[d];return f;},a81d(a,b);}import{Command}from'../command.js';Command[a81i(0x9e)]({'name':a81i(0x9c),'usage':a81i(0xad),'maxArgLength':0x1,'shortDesc':a81i(0x9d),'validOpts':[]},async function(){var j=a81i;try{console['log'](j(0x9f),'font-family:\x20monospace');}catch(a){console[j(0xa7)](a),process[j(0xa9)](0x0);}});
1
+ var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x173))/0x1+-parseInt(f(0x177))/0x2+parseInt(f(0x184))/0x3+parseInt(f(0x181))/0x4*(-parseInt(f(0x176))/0x5)+parseInt(f(0x17b))/0x6*(-parseInt(f(0x182))/0x7)+-parseInt(f(0x17a))/0x8+parseInt(f(0x183))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x80939));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x180)]()[h(0x179)]('(((.+)+)+)+$')['toString']()[h(0x17d)](a81a)[h(0x179)](h(0x178));});a81a();function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x172;var f=c[d];return f;},a81d(a,b);}function a81c(){var k=['font-family:\x20monospace','Murrrrderrrrr','toString','12SPqyqf','178927yqBpXs','22608252dmKkaM','258066UcuTkx','log','murder','create','35270fcweNu','exit','maka\x20murder','284995sjFaZj','1175602ySYrPx','(((.+)+)+)+$','search','6079760IAPYyL','138ygGNed','apply','constructor'];a81c=function(){return k;};return a81c();}import{Command}from'../command.js';Command[a81i(0x172)]({'name':a81i(0x186),'usage':a81i(0x175),'maxArgLength':0x1,'shortDesc':a81i(0x17f),'validOpts':[]},async function(){var j=a81i;try{console[j(0x185)]('%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(0x17e));}catch(a){console['error'](a),process[j(0x174)](0x0);}});
@@ -1 +1 @@
1
- const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x1fe))/0x1+parseInt(m(0x1ef))/0x2*(parseInt(m(0x1f8))/0x3)+parseInt(m(0x1ff))/0x4*(parseInt(m(0x209))/0x5)+parseInt(m(0x202))/0x6*(parseInt(m(0x215))/0x7)+parseInt(m(0x20f))/0x8+parseInt(m(0x1ed))/0x9*(-parseInt(m(0x20a))/0xa)+parseInt(m(0x1f4))/0xb*(parseInt(m(0x1eb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x1f00d));function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a82d(a,b);}const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x214)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x1f9)]()[o(0x1fd)](o(0x1fb))[o(0x1f9)]()[o(0x1ee)](a82a)[o(0x1fd)](o(0x1fb));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';function a82c(){const r=['(((.+)+)+)+$','.key','search','127478OeiuKH','52eSbmNN','getAppConfigPath','listenPort','102xbPxNe','maka\x20proxy\x20--target-host\x20http://192.168.1.20','\x20to\x20','utf8','readFileSync','maka\x20proxy','\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','28940LRDEWq','609160xcuwrz','create','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','join','mkKeysDir','108728bFoZuJ','proxy','appName','isFile','createProxyServer','apply','8519HxKMMA','.csr','204qujTKm','listen','18utwRIF','constructor','4yyltpY','getMakaProjectConfig','targetPort','fsi','processAndRunGenerator','26851PTxnHU','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','.crt','targetHost','337917MCOcSB','toString','bright'];a82c=function(){return r;};return a82c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command[a82p(0x20b)]({'name':a82p(0x210),'usage':a82p(0x207),'mustBeInMakaProject':!![],'validOpts':['help',a82p(0x1f1),a82p(0x201),'targetHost'],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a82p(0x208),'examples':[a82p(0x207),a82p(0x20c),a82p(0x203)]},async function(a,b){const q=a82p,c=this['fsi'][q(0x1f0)](),d='development',e=this['fsi'][q(0x200)](d),f=this[q(0x1f2)][q(0x20e)]({'configPath':e}),g=b[q(0x1f1)]?Number(b[q(0x1f1)]):0xbb8,h=b[q(0x201)]?Number(b['listenPort']):0xd73,i=b['targetHost']?b[q(0x1f7)]:'localhost',j=a82f[q(0x20d)](f,c[q(0x211)]+q(0x1fc)),k=a82f[q(0x20d)](f,c[q(0x211)]+q(0x1f6));(!this['fsi']['isFile'](j)||!this[q(0x1f2)][q(0x212)](k))&&(await a82h[q(0x1f3)]('sslconfig',[],{'env':d}),SSL['genCSR']({'keyName':c['appName']+q(0x1fc),'csrName':c[q(0x211)]+q(0x216),'cwd':f}),SSL['genSSC']({'keyName':c['appName']+q(0x1fc),'crtName':c[q(0x211)]+q(0x1f6),'cwd':f}));if(g===h){Log['error'](q(0x1f5));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x206)](j,q(0x205)),'cert':a82e[q(0x206)](k,q(0x205))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0x213)](l)[q(0x1ec)](Number(h)),Log[q(0x1fa)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+q(0x204)+g);});
1
+ const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x14b))/0x1*(-parseInt(m(0x148))/0x2)+parseInt(m(0x140))/0x3+-parseInt(m(0x131))/0x4+-parseInt(m(0x151))/0x5*(parseInt(m(0x142))/0x6)+parseInt(m(0x14e))/0x7+parseInt(m(0x138))/0x8+parseInt(m(0x146))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x65af7));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x14c)]()[o(0x147)]('(((.+)+)+)+$')['toString']()[o(0x133)](a82a)[o(0x147)](o(0x12e));});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x12d;let f=c[d];return f;},a82d(a,b);}a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';function a82c(){const r=['\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','apply','313733zmMgnM','toString','listenPort','2504593zWztIw','fsi','targetHost','340085CxuVuE','utf8','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','maka\x20proxy\x20--target-host\x20http://192.168.1.20','(((.+)+)+)+$','sslconfig','.crt','2068912wBdIqz','proxy','constructor','.csr','isFile','localhost','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','413608tuWGVb','maka\x20proxy','processAndRunGenerator','getAppConfigPath','development','create','appName','readFileSync','283041lgNBdF','mkKeysDir','30hbChdr','.key','targetPort','help','4106124WPMoPH','search','2fVzVVS'];a82c=function(){return r;};return a82c();}Command[a82p(0x13d)]({'name':a82p(0x132),'usage':a82p(0x139),'mustBeInMakaProject':!![],'validOpts':[a82p(0x145),'targetPort','listenPort',a82p(0x150)],'maxArgLength':0x1,'shortDesc':a82p(0x137),'description':a82p(0x149),'examples':[a82p(0x139),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a82p(0x12d)]},async function(a,b){const q=a82p,c=this['fsi']['getMakaProjectConfig'](),d=q(0x13c),e=this[q(0x14f)][q(0x13b)](d),f=this[q(0x14f)][q(0x141)]({'configPath':e}),g=b[q(0x144)]?Number(b['targetPort']):0xbb8,h=b[q(0x14d)]?Number(b[q(0x14d)]):0xd73,i=b[q(0x150)]?b[q(0x150)]:q(0x136),j=a82f['join'](f,c[q(0x13e)]+'.key'),k=a82f['join'](f,c[q(0x13e)]+q(0x130));(!this[q(0x14f)][q(0x135)](j)||!this['fsi']['isFile'](k))&&(await a82h[q(0x13a)](q(0x12f),[],{'env':d}),SSL['genCSR']({'keyName':c[q(0x13e)]+'.key','csrName':c[q(0x13e)]+q(0x134),'cwd':f}),SSL['genSSC']({'keyName':c[q(0x13e)]+q(0x143),'crtName':c[q(0x13e)]+q(0x130),'cwd':f}));if(g===h){Log['error'](q(0x153));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x13f)](j,q(0x152)),'cert':a82e['readFileSync'](k,q(0x152))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)['listen'](Number(h)),Log['bright']('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x89;let f=c[d];return f;},a83d(a,b);}const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0xab))/0x1+parseInt(n(0xa8))/0x2*(parseInt(n(0x8f))/0x3)+parseInt(n(0xa3))/0x4*(-parseInt(n(0x9b))/0x5)+-parseInt(n(0x9e))/0x6+parseInt(n(0x95))/0x7+parseInt(n(0xb6))/0x8*(parseInt(n(0x9d))/0x9)+-parseInt(n(0xa0))/0xa*(-parseInt(n(0xa4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xe3848));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0xa1)]()[p(0x93)](p(0xa9))[p(0xa1)]()[p(0x97)](a83a)[p(0x93)]('(((.+)+)+)+$');});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';function a83c(){const s=['parse','585112FujkVz','settings.json','reconfigure','ses.json','uname\x20-a','success','apply','129vJzYgh','~/pm2.config.js','getAppConfigPath','ssh','search','Remote\x20host\x20connection\x20successful','6857403rsSlBa','_keys','constructor','ping','env','maka\x20reconfig\x20--env\x20prod','170XcoNYA','join','198uXjjid','4845000hkXiUw','maka\x20reconfig','1589890vSqZrq','toString','pm2\x20delete\x20all','38328DawTiy','33SzOlgP','exit','pm2.config.js','notice','21838QOXHMu','(((.+)+)+)+$','create','1469971ECGKUL','~/settings.json','scp','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','error','readFileSync','reconfig','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','ssh.json'];a83c=function(){return s;};return a83c();}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83q(0xaa)]({'name':a83q(0x8a),'aliases':[a83q(0xb2)],'validOpts':[''],'requiredOpts':[a83q(0x99)],'mustBeInMakaProject':!![],'usage':a83q(0x9f),'shortDesc':a83q(0xb3),'description':a83q(0xae),'examples':[a83q(0x9a)]},async function(a,b){const r=a83q;try{const c=this['fsi'][r(0x91)](b[r(0x99)]),d=a83f[r(0x9c)](c,r(0xb4)),f=a83e[r(0xb1)](d)[r(0xa1)](),g=JSON[r(0xb5)](f);Object['assign'](g,{'env':c}),Log[r(0xa7)]('Checking\x20remote\x20host\x20availability');const h=SSH[r(0x98)](r(0x8c),g);if(!h)throw r(0xaf);if(h)Log[r(0x8d)](r(0x94));const i=a83f[r(0x9c)](c,r(0x96),r(0x8b));if(a83e['existsSync'](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0xad)](l,{...g});}const j=a83f[r(0x9c)](c,r(0xa6));SSH[r(0xad)]({'source':j,'dest':r(0x90),'verbose':!![]},{...g});const k=a83f[r(0x9c)](c,r(0x89));SSH[r(0xad)]({'source':k,'dest':r(0xac),'verbose':!![]},{...g}),SSH['sshSync'](r(0xa2),g),await SSH[r(0x92)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console[r(0xb0)](m),process[r(0xa5)](0x0);}});
1
+ function a83c(){const s=['202879fiLrAa','(((.+)+)+)+$','19315STHvVY','maka\x20reconfig\x20--env\x20prod','ses.json','668FiZCRR','fsi','32gGlLOI','getAppConfigPath','_keys','~/pm2.config.js','parse','~/ses.json','317943UBKDZg','apply','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','Remote\x20host\x20connection\x20successful','success','pm2.config.js','222324nlaQgQ','join','scp','1956894AxsTYq','sshSync','reconfigure','uname\x20-a','existsSync','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','constructor','error','20180540hEePIi','notice','ssh','~/settings.json','exit','toString','env','search','ssh.json','8080933ztfCsW','maka\x20reconfig','240OLhory'];a83c=function(){return s;};return a83c();}const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x154))/0x1+parseInt(n(0x131))/0x2*(parseInt(n(0x13d))/0x3)+parseInt(n(0x12f))/0x4*(-parseInt(n(0x12c))/0x5)+-parseInt(n(0x140))/0x6+parseInt(n(0x151))/0x7+parseInt(n(0x153))/0x8*(parseInt(n(0x137))/0x9)+-parseInt(n(0x148))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x95c88));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x14d)]()[p(0x14f)](p(0x155))[p(0x14d)]()[p(0x146)](a83a)[p(0x14f)](p(0x155));});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x12c;let f=c[d];return f;},a83d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a83q(0x142),'aliases':['reconfig'],'validOpts':[''],'requiredOpts':[a83q(0x14e)],'mustBeInMakaProject':!![],'usage':a83q(0x152),'shortDesc':a83q(0x139),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','examples':[a83q(0x12d)]},async function(a,b){const r=a83q;try{const c=this[r(0x130)][r(0x132)](b[r(0x14e)]),d=a83f[r(0x13e)](c,r(0x150)),f=a83e['readFileSync'](d)[r(0x14d)](),g=JSON[r(0x135)](f);Object['assign'](g,{'env':c}),Log[r(0x149)]('Checking\x20remote\x20host\x20availability');const h=SSH['ping'](r(0x143),g);if(!h)throw r(0x145);if(h)Log[r(0x13b)](r(0x13a));const i=a83f[r(0x13e)](c,r(0x133),r(0x12e));if(a83e[r(0x144)](i)){const l={'source':i,'dest':r(0x136),'verbose':!![]};SSH[r(0x13f)](l,{...g});}const j=a83f['join'](c,r(0x13c));SSH[r(0x13f)]({'source':j,'dest':r(0x134),'verbose':!![]},{...g});const k=a83f[r(0x13e)](c,'settings.json');SSH[r(0x13f)]({'source':k,'dest':r(0x14b),'verbose':!![]},{...g}),SSH[r(0x141)]('pm2\x20delete\x20all',g),await SSH[r(0x14a)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console[r(0x147)](m),process[r(0x14c)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x12c))/0x1+parseInt(f(0x131))/0x2*(-parseInt(f(0x134))/0x3)+parseInt(f(0x132))/0x4*(parseInt(f(0x138))/0x5)+-parseInt(f(0x12d))/0x6+-parseInt(f(0x133))/0x7+-parseInt(f(0x135))/0x8+-parseInt(f(0x12b))/0x9*(-parseInt(f(0x136))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x9d984));function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x12a;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x130)]()[h(0x137)](h(0x12f))[h(0x130)]()[h(0x12a)](a84a)[h(0x137)]('(((.+)+)+)+$');});function a84c(){var i=['toString','14DUHvKq','1988KHcQOf','1192366TqddQU','447054fIGJPA','4796912tovTCm','30kjOkFd','search','265mNzLmV','constructor','12513537DzZYvg','1049347zKUXVx','4137522EmnBpZ','apply','(((.+)+)+)+$'];a84c=function(){return i;};return a84c();}a84a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0xe3))/0x1*(-parseInt(f(0xe6))/0x2)+parseInt(f(0xe1))/0x3+-parseInt(f(0xe8))/0x4+-parseInt(f(0xe2))/0x5*(-parseInt(f(0xe5))/0x6)+parseInt(f(0xe0))/0x7+parseInt(f(0xe4))/0x8+-parseInt(f(0xe9))/0x9*(parseInt(f(0xdf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xbd808));var a84b=(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;};}()),a84a=a84b(this,function(){var g=a84d;return a84a[g(0xec)]()[g(0xeb)](g(0xea))[g(0xec)]()[g(0xe7)](a84a)[g(0xeb)]('(((.+)+)+)+$');});function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0xdf;var f=c[d];return f;},a84d(a,b);}function a84c(){var h=['16936030BcbwwU','7050232EIxcvc','177354nfMkZJ','305oFNAfQ','12673rrpJdb','7374376bkLHYS','44034SQLzFi','152KRMZhK','constructor','3716460KBRTXu','9MTuUdm','(((.+)+)+)+$','search','toString'];a84c=function(){return h;};return a84c();}a84a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=-parseInt(i(0x180))/0x1*(-parseInt(i(0x177))/0x2)+parseInt(i(0x181))/0x3*(parseInt(i(0x183))/0x4)+parseInt(i(0x176))/0x5*(-parseInt(i(0x185))/0x6)+-parseInt(i(0x174))/0x7+parseInt(i(0x17e))/0x8+-parseInt(i(0x17d))/0x9*(-parseInt(i(0x171))/0xa)+-parseInt(i(0x178))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x45077));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a['toString']()['search'](k(0x16b))[k(0x167)]()[k(0x186)](a85a)[k(0x16a)](k(0x16b));});function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x165;let f=c[d];return f;},a85d(a,b);}a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':a85l(0x16f),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a85l(0x16d),'isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0x169)][m(0x16c)](),b=this['fsi']['getAppConfigPath'](m(0x16f)),c=a85f['join'](b,m(0x173)),d=a85f[m(0x172)](b,m(0x17b));Log[m(0x17a)](m(0x175)+d),Log['notice'](m(0x170)+c);if(!a85g[m(0x17c)](c)){const f={'app':a[m(0x184)],'appFileCase':paramCase(a[m(0x184)])},g=this[m(0x169)][m(0x16e)]({'srcPath':m(0x179),'context':f})+'\x0a';this['fsi'][m(0x182)]({'filePath':c,'data':g});}execSync(m(0x17f)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x165)});}catch(h){process[m(0x166)](0x1);}},a85e);function a85c(){const n=['8316cyDrHY','appName','2197326ttdvvk','constructor','inherit','exit','toString','apply','fsi','search','(((.+)+)+)+$','getMakaProjectConfig','maka\x20run\x20docker','templateContent','docker','Docker\x20Compose\x20Path:\x20','2022950NLdAuk','join','docker-compose.yaml','3287984NNnvPB','PM2\x20Config\x20File:\x20','5nsaWVG','444wDTvRs','14883IxtJHi','config/docker-compose.yaml','notice','pm2.config.js','existsSync','18mfAHrd','1557040ZLfobh','docker-compose\x20--project-directory\x20','370rnfkfs','633wvTKQb','createFile'];a85c=function(){return n;};return a85c();}
1
+ function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a85d(a,b);}const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=-parseInt(i(0x20a))/0x1*(-parseInt(i(0x1f9))/0x2)+-parseInt(i(0x1fb))/0x3*(parseInt(i(0x1f8))/0x4)+parseInt(i(0x20c))/0x5*(-parseInt(i(0x209))/0x6)+-parseInt(i(0x20f))/0x7+parseInt(i(0x1fe))/0x8*(-parseInt(i(0x1f7))/0x9)+-parseInt(i(0x1fc))/0xa*(parseInt(i(0x206))/0xb)+parseInt(i(0x217))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x5545d));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0x20b)]()[k(0x203)](k(0x1f6))[k(0x20b)]()[k(0x204)](a85a)[k(0x203)](k(0x1f6));});function a85c(){const n=['564245ISnfwh','templateContent','config/docker-compose.yaml','246540lLBvYM','191GuNwjg','toString','35NwcHLA','pm2.config.js','PM2\x20Config\x20File:\x20','955311YZTupf','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','exit','docker-compose\x20--project-directory\x20','createFile','getAppConfigPath','notice','maka\x20run\x20docker','12343740cllfuG','getMakaProjectConfig','docker-compose.yaml','join','(((.+)+)+)+$','1578438dGtQiF','428GxdvUO','6852PECXir','Docker\x20Compose\x20Path:\x20','9081BxtxnE','80zZmgVl','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','8bYQkxj','fsi','apply','appName','create','search','constructor','docker'];a85c=function(){return n;};return a85c();}a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85l(0x202)]({'name':a85l(0x205),'aliases':['d'],'shortDesc':a85l(0x210),'description':a85l(0x1fd),'usage':a85l(0x216),'isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0x1ff)][m(0x1f3)](),b=this[m(0x1ff)][m(0x214)](m(0x205)),c=a85f[m(0x1f5)](b,m(0x1f4)),d=a85f['join'](b,m(0x20d));Log[m(0x215)](m(0x20e)+d),Log[m(0x215)](m(0x1fa)+c);if(!a85g['existsSync'](c)){const f={'app':a[m(0x201)],'appFileCase':paramCase(a['appName'])},g=this[m(0x1ff)][m(0x207)]({'srcPath':m(0x208),'context':f})+'\x0a';this[m(0x1ff)][m(0x213)]({'filePath':c,'data':g});}execSync(m(0x212)+b+'\x20up\x20--remove-orphans',{'stdio':'inherit'});}catch(h){process[m(0x211)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x120))/0x1+parseInt(p(0x11f))/0x2+-parseInt(p(0x145))/0x3*(-parseInt(p(0x128))/0x4)+parseInt(p(0x11c))/0x5*(parseInt(p(0x123))/0x6)+parseInt(p(0x13d))/0x7+-parseInt(p(0x138))/0x8*(parseInt(p(0x126))/0x9)+-parseInt(p(0x148))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xc4027));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const q=a86d;return a86a['toString']()[q(0x136)](q(0x122))[q(0x111)]()['constructor'](a86a)[q(0x136)](q(0x122));});a86a();import a86e from'path';import a86f from'fs';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x10c;let f=c[d];return f;},a86d(a,b);}import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const r=a86d;a86f[r(0x127)](a,'r'),a86g[r(0x139)]({'path':a});},Run=Command[a86s(0x112)]({'name':a86s(0x137),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86s(0x135),'description':a86s(0x113),'validOpts':[a86s(0x110),a86s(0x12b),a86s(0x129),a86s(0x13f),a86s(0x143),a86s(0x121),a86s(0x146),a86s(0x144),'x',a86s(0x11d),a86s(0x119),'ci']},async function(a,b){const t=a86s;try{await this[t(0x10f)][t(0x117)](t(0x147),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this[t(0x10f)][t(0x134)](),m=a86e[t(0x14a)](l,t(0x13e),'.meteor','local',t(0x12a));this[t(0x10f)][t(0x11b)](m)&&await rimraf(m);}!b[t(0x11d)]&&!b['x']&&(a=a[t(0x12e)]([t(0x13a),t(0x141)]));if(b[t(0x143)]&&typeof b['mobileServer']===t(0x10c))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)';const d=b[t(0x110)]?b[t(0x110)]:t(0x133),f=this['fsi'][t(0x115)](d),g=a86e['join'](f,'process.env');let h=a86e[t(0x14a)](f,'settings.json');b[t(0x149)]?h=b['settings']:h=a86e[t(0x14a)](f,t(0x11e));this[t(0x10f)][t(0x140)](g)?(Log['notice']('Node\x20Env\x20Config:\x20'+g),syncSource(g)):(Log[t(0x118)](t(0x12d)+g),this[t(0x10f)]['createFile']({'filePath':g,'data':''}));this[t(0x10f)][t(0x140)](h)?(Log[t(0x10d)]('Meteor\x20Settings:\x20'+h),a=a[t(0x12e)]([t(0x116),h])):Log[t(0x114)](t(0x13c)+h);const i=f[t(0x10e)](a86e['sep']),j=i[i['length']-0x1];j==='production'&&a['push'](t(0x124));const k=process[t(0x142)][t(0x130)](0x2)[t(0x131)](n=>n!==t(0x137))[t(0x131)](n=>n!==a[0x0]);k[t(0x11a)]((n,o)=>{const u=t;n===u(0x12c)&&k[u(0x132)](o,0x2),n==='-e'&&k[u(0x132)](o,0x2);}),this[t(0x10f)][t(0x125)](t(0x137),a[t(0x12e)](k));}catch(n){Log[t(0x12f)](n),process[t(0x13b)](0x1);}});export default Run;function a86c(){const v=['getAppConfigPath','--settings','checkMeteorPackage','info','production','forEach','isDirectory','6761795cozIAu','excludeArchs','settings.json','266986BDobPD','437652kaTCms','verbose','(((.+)+)+)+$','6enAukD','--production','invokeMeteorCommand','9IVQqWi','openSync','4902684bInRhp','port','cordova-build','rawLogs','--env','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','concat','error','slice','filter','splice','development','findProjectDirectory','Run\x20your\x20Meteor\x20application','search','run','2401688OqlEAl','config','--exclude-archs','exit','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','2397178sCQUQh','app','inspect','isFile','\x22web.browser.legacy,web.cordova\x22','argv','mobileServer','extraPackages','3ChnreV','allowIncompatibleUpdate','autoupdate','15132590TamcVu','settings','join','boolean','notice','split','fsi','env','toString','create','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','warn'];a86c=function(){return v;};return a86c();}
1
+ const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x15d))/0x1*(-parseInt(p(0x138))/0x2)+parseInt(p(0x13f))/0x3*(-parseInt(p(0x16c))/0x4)+parseInt(p(0x160))/0x5*(parseInt(p(0x145))/0x6)+-parseInt(p(0x150))/0x7+parseInt(p(0x169))/0x8*(-parseInt(p(0x155))/0x9)+parseInt(p(0x168))/0xa+-parseInt(p(0x16f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x40b06));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a['toString']()[r(0x158)](r(0x147))[r(0x142)]()[r(0x13e)](a86a)[r(0x158)](r(0x147));});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x12f;let f=c[d];return f;},a86d(a,b);}function a86c(){const w=['getAppConfigPath','autoupdate','splice','588427NeSSLl','verbose','settings.json','allowIncompatibleUpdate','ios','8244YblgXl','isDirectory','filter','search','error','findProjectDirectory','Run\x20your\x20Meteor\x20application','excludeArchs','39GRpfHf','Node\x20Env\x20Config:\x20','extraPackages','722210WfCFcX','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','info','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)','config','createFile','exit','apply','4030630yhvNxM','4128bYFxwp','mobileServer','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','96940SvZKHJ','development','split','2544157PdLaHE','checkMeteorPackage','cordova-build','--exclude-archs','\x22web.browser.legacy\x22','slice','app','env','boolean','argv','production','16078SiUQMj','inspect','fsi','--env','settings','join','constructor','12bUyHJl','--settings','--production','toString','create','isFile','18vaieKU','port','(((.+)+)+)+$','run','rawLogs','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','notice','concat'];a86c=function(){return w;};return a86c();}const syncSource=function(a){const s=a86d;a86f['openSync'](a,'r'),a86g[s(0x164)]({'path':a});},Run=Command[a86t(0x143)]({'name':a86t(0x148),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0x15b),'description':a86t(0x14a),'validOpts':['env',a86t(0x149),a86t(0x146),a86t(0x139),'mobileServer',a86t(0x151),a86t(0x153),a86t(0x15f),'x',a86t(0x15c),a86t(0x137),'ci']},async function(a,b){const u=a86t;try{await this[u(0x13a)][u(0x170)](u(0x14e),{'shouldInstall':!![]});const c=a[0x0];if(c===u(0x154)){const l=this['fsi'][u(0x15a)](),m=a86e[u(0x13d)](l,u(0x133),'.meteor','local',u(0x12f));this[u(0x13a)][u(0x156)](m)&&await rimraf(m);}!b[u(0x15c)]&&!b['x']&&(a=a['concat']([u(0x130),u(0x131)]));if(b[u(0x16a)]&&typeof b[u(0x16a)]===u(0x135))throw u(0x163);const d=b[u(0x134)]?b[u(0x134)]:u(0x16d),f=this['fsi'][u(0x14d)](d),g=a86e[u(0x13d)](f,'process.env');let h=a86e[u(0x13d)](f,u(0x152));b[u(0x13c)]?h=b[u(0x13c)]:h=a86e[u(0x13d)](f,u(0x152));this['fsi'][u(0x144)](g)?(Log[u(0x14b)](u(0x15e)+g),syncSource(g)):(Log[u(0x162)](u(0x16b)+g),this[u(0x13a)][u(0x165)]({'filePath':g,'data':''}));this[u(0x13a)][u(0x144)](h)?(Log[u(0x14b)]('Meteor\x20Settings:\x20'+h),a=a['concat']([u(0x140),h])):Log['warn'](u(0x161)+h);const i=f[u(0x16e)](a86e['sep']),j=i[i['length']-0x1];j===u(0x137)&&a['push'](u(0x141));const k=process[u(0x136)][u(0x132)](0x2)[u(0x157)](n=>n!=='run')[u(0x157)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x13b)&&k[v(0x14f)](o,0x2),n==='-e'&&k[v(0x14f)](o,0x2);}),this[u(0x13a)]['invokeMeteorCommand']('run',a[u(0x14c)](k));}catch(n){Log[u(0x159)](n),process[u(0x166)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0xad))/0x1+-parseInt(f(0xb2))/0x2+-parseInt(f(0xb6))/0x3*(-parseInt(f(0xac))/0x4)+-parseInt(f(0xb0))/0x5+-parseInt(f(0xb7))/0x6*(parseInt(f(0xab))/0x7)+-parseInt(f(0xb5))/0x8+parseInt(f(0xaf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x28176));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var g=a87d;return a87a[g(0xb1)]()[g(0xae)](g(0xb4))[g(0xb1)]()[g(0xb3)](a87a)[g(0xae)](g(0xb4));});a87a();import'./set.command.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xab;var f=c[d];return f;},a87d(a,b);}function a87c(){var h=['4bsAfTL','304522KCiQvp','search','6956919pShGPW','1594450jRvKAQ','toString','122732lbMoHn','constructor','(((.+)+)+)+$','1008824GpFdPF','746211vePIZt','6wmHBcL','326431dGZdJy'];a87c=function(){return h;};return a87c();}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0x125))/0x1*(parseInt(f(0x126))/0x2)+-parseInt(f(0x123))/0x3+parseInt(f(0x129))/0x4*(parseInt(f(0x122))/0x5)+-parseInt(f(0x127))/0x6+parseInt(f(0x12c))/0x7+-parseInt(f(0x12b))/0x8*(parseInt(f(0x128))/0x9)+parseInt(f(0x124))/0xa*(parseInt(f(0x120))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x6395e));function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x11e;var f=c[d];return f;},a87d(a,b);}var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a['toString']()[h(0x12a)](h(0x121))['toString']()[h(0x11f)](a87a)[h(0x12a)](h(0x121));});a87a();import'./set.command.js';function a87c(){var i=['constructor','29943903DWYAKg','(((.+)+)+)+$','6905bsgrCO','2392251wfaIgB','10GzvZQM','161178yHdTDp','10ICAzXU','4748040mCJRAn','54zYDAeo','64PKohFC','search','576704EAIMhw','3435656rnpash','apply'];a87c=function(){return i;};return a87c();}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a88c(){const m=['isFile','Set\x20CA\x20Cert\x20Path:\x20','apply','6mYVQaO','10UWNaNR','pallet','175YJcANQ','create','59junGEa','maka\x20set:gc\x20--workspace\x20<path>','Could\x20not\x20find\x20directory','openai','allowInsecure','global-config','350065vgxSPs','7164663RuiasB','search','help','resolve','setGlobalConfig','fsi','exit','disallowInsecure','56584LMxwTa','655386sEArlB','12726CdGNDc','Set\x20allowInsecure:\x20','Set\x20global\x20Maka-CLI\x20settings','success','maka\x20set:gc\x20--insecure\x20<path>','Set\x20workspace:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\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','toString','1923399MTqews','(((.+)+)+)+$','isDirectory','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','workspace','error','cacert','657404JNptuc'];a88c=function(){return m;};return a88c();}const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1ff))/0x1*(-parseInt(h(0x210))/0x2)+parseInt(h(0x1fa))/0x3*(parseInt(h(0x1f6))/0x4)+parseInt(h(0x205))/0x5+parseInt(h(0x20f))/0x6+-parseInt(h(0x1fd))/0x7*(-parseInt(h(0x20e))/0x8)+-parseInt(h(0x1ef))/0x9+-parseInt(h(0x1fb))/0xa*(parseInt(h(0x206))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x2fa48));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x1ee)]()[j(0x207)](j(0x1f0))[j(0x1ee)]()['constructor'](a88a)['search'](j(0x1f0));});a88a();import a88e from'path';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a88d(a,b);}import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88k(0x1fe)]({'name':a88k(0x204),'usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x1f5),'boolFlag':![]},{'name':a88k(0x203),'boolFlag':!![]},{'name':a88k(0x20d),'boolFlag':!![]},{'name':a88k(0x1f3),'boolFlag':![]},{'name':a88k(0x202),'boolFlag':![]},{'name':a88k(0x208),'boolFlag':!![]},{'name':a88k(0x1fc),'values':['light','dark']}],'shortDesc':a88k(0x212),'description':a88k(0x1ed),'examples':['maka\x20set:global-config\x20--cacert\x20<path>',a88k(0x1ea),a88k(0x200)]},async function(a,b){const l=a88k;try{if(b[l(0x1f5)]){if(this[l(0x20b)][l(0x1f7)](b[l(0x1f5)]))await this[l(0x20b)][l(0x20a)]({'cert':b[l(0x1f5)]}),Log['success'](l(0x1f8)+b[l(0x1f5)]);else{const c=typeof b[l(0x1f5)]==='boolean'?l(0x1f2):l(0x1ec)+b['cacert'];throw Log['error'](c);}}if(b[l(0x1f3)]){const d=this[l(0x20b)][l(0x1f1)](b[l(0x1f3)]);if(d)await this['fsi'][l(0x20a)]({'workspace':a88e[l(0x209)](b[l(0x1f3)])}),Log['success'](l(0x1eb)+a88e[l(0x209)](b[l(0x1f3)]));else throw Log[l(0x1f4)](l(0x201));}b[l(0x202)]&&(await this[l(0x20b)][l(0x20a)]({'openai':b[l(0x202)]}),Log[l(0x213)]('Set\x20OpenAI\x20Key:\x20'+b[l(0x202)]));b[l(0x1fc)]&&(await this[l(0x20b)][l(0x20a)]({'pallet':b['pallet']}),Log[l(0x213)]('Set\x20color\x20pallet\x20to:\x20'+b[l(0x1fc)]));if(b[l(0x203)]){if(b[l(0x203)]&&b[l(0x20d)])throw Log[l(0x1f4)]('One\x20or\x20the\x20other\x20buddy');let f=b['allowInsecure'];b[l(0x20d)]&&(f=![]),await this[l(0x20b)][l(0x20a)]({'allowInsecure':f}),Log[l(0x213)](l(0x211)+f);}process[l(0x20c)](0x0);}catch(g){console[l(0x1f4)](g),process[l(0x20c)](0x0);}},a88f);
1
+ function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x11f;let f=c[d];return f;},a88d(a,b);}const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x128))/0x1+-parseInt(h(0x133))/0x2*(parseInt(h(0x13e))/0x3)+-parseInt(h(0x144))/0x4+parseInt(h(0x136))/0x5+-parseInt(h(0x121))/0x6+parseInt(h(0x132))/0x7+parseInt(h(0x127))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xefa00));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x139)]()[j(0x138)](j(0x13f))['toString']()[j(0x145)](a88a)[j(0x138)](j(0x13f));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88c(){const m=['2fZeBhh','error','boolean','1570200emCARj','openai','search','toString','exit','maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--workspace\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','3571455UfGdXZ','(((.+)+)+)+$','workspace','Set\x20global\x20Maka-CLI\x20settings','Set\x20CA\x20Cert\x20Path:\x20','cacert','820300jqHWDr','constructor','Set\x20color\x20pallet\x20to:\x20','resolve','4217838wPDMGO','Set\x20workspace:\x20','maka\x20set:gc\x20--insecure\x20<path>','dark','apply','fsi','760392xZsaeA','1283619ypGjTm','Set\x20OpenAI\x20Key:\x20','setGlobalConfig','maka\x20set:global-config','pallet','success','isFile','Could\x20not\x20find\x20directory','disallowInsecure','allowInsecure','9711303brWVWJ'];a88c=function(){return m;};return a88c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'global-config','usage':a88k(0x12b),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x143),'boolFlag':![]},{'name':a88k(0x131),'boolFlag':!![]},{'name':a88k(0x130),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':a88k(0x137),'boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a88k(0x12c),'values':['light',a88k(0x124)]}],'shortDesc':a88k(0x141),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\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','examples':[a88k(0x13b),a88k(0x123),a88k(0x13c)]},async function(a,b){const l=a88k;try{if(b[l(0x143)]){if(this['fsi'][l(0x12e)](b[l(0x143)]))await this[l(0x126)]['setGlobalConfig']({'cert':b[l(0x143)]}),Log[l(0x12d)](l(0x142)+b['cacert']);else{const c=typeof b[l(0x143)]===l(0x135)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':l(0x13d)+b[l(0x143)];throw Log[l(0x134)](c);}}if(b['workspace']){const d=this[l(0x126)]['isDirectory'](b['workspace']);if(d)await this['fsi'][l(0x12a)]({'workspace':a88e[l(0x120)](b[l(0x140)])}),Log[l(0x12d)](l(0x122)+a88e[l(0x120)](b[l(0x140)]));else throw Log[l(0x134)](l(0x12f));}b[l(0x137)]&&(await this[l(0x126)]['setGlobalConfig']({'openai':b[l(0x137)]}),Log['success'](l(0x129)+b[l(0x137)]));b[l(0x12c)]&&(await this[l(0x126)][l(0x12a)]({'pallet':b[l(0x12c)]}),Log[l(0x12d)](l(0x11f)+b[l(0x12c)]));if(b['allowInsecure']){if(b[l(0x131)]&&b['disallowInsecure'])throw Log[l(0x134)]('One\x20or\x20the\x20other\x20buddy');let f=b['allowInsecure'];b[l(0x130)]&&(f=![]),await this[l(0x126)][l(0x12a)]({'allowInsecure':f}),Log[l(0x12d)]('Set\x20allowInsecure:\x20'+f);}process[l(0x13a)](0x0);}catch(g){console[l(0x134)](g),process[l(0x13a)](0x0);}},a88f);
@@ -1 +1 @@
1
- var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0xac))/0x1+parseInt(f(0xa2))/0x2+-parseInt(f(0x9f))/0x3+-parseInt(f(0xa6))/0x4+-parseInt(f(0xa8))/0x5*(-parseInt(f(0xaa))/0x6)+parseInt(f(0x9e))/0x7*(parseInt(f(0x9c))/0x8)+parseInt(f(0xa3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x4593f));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0xa1)](h(0xa5))['toString']()[h(0xa4)](a89a)[h(0xa1)](h(0xa5));});a89a();function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x9c;var f=c[d];return f;},a89d(a,b);}import a89e from'./set.command.js';function a89c(){var k=['Sorry,\x20not\x20implemented\x20yet','search','1001690quFBsw','2698839qdeCNS','constructor','(((.+)+)+)+$','1997340MFMXbX','apply','905xepfzr','maka\x20set:local-config','2724MtJnLf','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','190565AYntEx','local-config','8UexnMd','create','60956KiOXwO','893511xvpWvA'];a89c=function(){return k;};return a89c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x9d)]({'name':a89i(0xad),'usage':a89i(0xa9),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a89i(0xab)},async function(){var j=a89i;Log['notice'](j(0xa0));},a89e);
1
+ function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x96;var f=c[d];return f;},a89d(a,b);}function a89c(){var k=['20PFzjaX','4925892uFseZs','3311576Edavhz','notice','7rBzech','(((.+)+)+)+$','1251817ZXYMoX','toString','apply','constructor','776607WwfSDc','19032498keTRde','85MEzgKJ','1670368Chgjdx','create','local-config','322160bSaCio','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','search'];a89c=function(){return k;};return a89c();}var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x9e))/0x1+-parseInt(f(0xa5))/0x2+-parseInt(f(0xa2))/0x3+parseInt(f(0xa8))/0x4*(-parseInt(f(0xa4))/0x5)+parseInt(f(0x99))/0x6+parseInt(f(0x9c))/0x7*(-parseInt(f(0x9a))/0x8)+-parseInt(f(0xa3))/0x9*(-parseInt(f(0x98))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xe0f55));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x9f)]()[h(0x97)](h(0x9d))[h(0x9f)]()[h(0xa1)](a89a)[h(0x97)](h(0x9d));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0xa6)]({'name':a89i(0xa7),'usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a89i(0x96)},async function(){var j=a89i;Log[j(0x9b)]('Sorry,\x20not\x20implemented\x20yet');},a89e);
@@ -1 +1 @@
1
- function a90c(){const k=['set','(((.+)+)+)+$','constructor','\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','10cTpLqj','search','create','1848868WRcINZ','2086576pvWaJg','20954593XdgrJX','1144782HnIXvk','maka\x20set:<sub-command>','3sopwdk','findSubCommand','300705FcvPXO','62068REScTM','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','27qKYkTz','1715CeKohA','714uMUEJP','runSubCommand','toString','apply'];a90c=function(){return k;};return a90c();}const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x1a1))/0x1+-parseInt(f(0x19e))/0x2+-parseInt(f(0x1a3))/0x3*(-parseInt(f(0x1a6))/0x4)+parseInt(f(0x1a5))/0x5+-parseInt(f(0x193))/0x6*(parseInt(f(0x192))/0x7)+-parseInt(f(0x19f))/0x8*(-parseInt(f(0x191))/0x9)+parseInt(f(0x19b))/0xa*(parseInt(f(0x1a0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xa248c));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x195)]()['search'](h(0x198))[h(0x195)]()[h(0x199)](a90a)[h(0x19c)](h(0x198));});a90a();import{Command}from'../../command.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x190;let f=c[d];return f;},a90d(a,b);}const SetCommand=Command[a90i(0x19d)]({'name':a90i(0x197),'usage':a90i(0x1a2),'shortDesc':a90i(0x190),'description':a90i(0x19a),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x1a4)](c);d&&this[j(0x194)](c,a,b);});export default SetCommand;
1
+ const a90i=a90d;function a90c(){const k=['Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','create','1713676JCnbqO','search','3dxQGfD','set','80AWgiGD','1097000QNalyW','\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','396239HRUkEo','938564RtrgeL','findSubCommand','runSubCommand','toString','(((.+)+)+)+$','maka\x20set:<sub-command>','3085920qLdcPg','317268JYdXkY','18FsWxyI','1492416NweIwE','apply'];a90c=function(){return k;};return a90c();}(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0x18b))/0x1+parseInt(f(0x18c))/0x2+-parseInt(f(0x186))/0x3*(parseInt(f(0x184))/0x4)+parseInt(f(0x189))/0x5+-parseInt(f(0x180))/0x6+-parseInt(f(0x17e))/0x7*(-parseInt(f(0x188))/0x8)+-parseInt(f(0x17f))/0x9*(parseInt(f(0x17d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x3b86e));function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x178;let f=c[d];return f;},a90d(a,b);}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x17a)]()[h(0x185)](h(0x17b))['toString']()['constructor'](a90a)['search'](h(0x17b));});a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0x183)]({'name':a90i(0x187),'usage':a90i(0x17c),'shortDesc':a90i(0x182),'description':a90i(0x18a),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x178)](c);d&&this[j(0x179)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- function a91c(){const o=['Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20staging','5aaYfDN','7519140JTNrAp','apply','exit','10450517XeRvfh','50703qvZAyr','error','maka\x20ssh\x20<command>','81909hiCcmY','5084905ujyrGS','maka\x20ssh\x20--env\x20dev','assign','getAppConfigPath','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','237162QVOElo','8qbBneg','1158870LLDZaH','env','create','length','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','24zaYTec','verbose','ssh.json','toString','2JdxZdj','join','parse','(((.+)+)+)+$','constructor'];a91c=function(){return o;};return a91c();}const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x95))/0x1*(parseInt(j(0xa0))/0x2)+-parseInt(j(0x8c))/0x3*(-parseInt(j(0x96))/0x4)+parseInt(j(0x87))/0x5*(parseInt(j(0x97))/0x6)+parseInt(j(0x90))/0x7+-parseInt(j(0x9c))/0x8*(parseInt(j(0x8f))/0x9)+parseInt(j(0x88))/0xa+-parseInt(j(0x8b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x77d0c));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x9f)]()['search'](l(0xa3))[l(0x9f)]()[l(0xa4)](a91a)['search'](l(0xa3));});a91a();import a91e from'fs';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x86;let f=c[d];return f;},a91d(a,b);}import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0x99)]({'name':'ssh','usage':a91m(0x8e),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x98)],'validOpts':[a91m(0x98),a91m(0x9d)],'shortDesc':a91m(0xa5),'examples':[a91m(0x91),a91m(0x86),'maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a91m(0x94),a91m(0x9b)]},async function(a,b){const n=a91m;try{const c=this['fsi'][n(0x93)](b['env']);let d='';a[n(0x9a)]>0x0&&(d=a[0x0]);const f=a91f[n(0xa1)](c,n(0x9e)),g=a91e['readFileSync'](f)['toString'](),h=JSON[n(0xa2)](g);Object[n(0x92)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x9d)]});}catch(i){Log[n(0x8d)](i),process[n(0x8a)](0x1);}});
1
+ const a91l=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a91d(a,b);}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=parseInt(j(0x1cf))/0x1*(parseInt(j(0x1b7))/0x2)+-parseInt(j(0x1b5))/0x3*(parseInt(j(0x1c9))/0x4)+-parseInt(j(0x1c7))/0x5+parseInt(j(0x1c2))/0x6+parseInt(j(0x1cd))/0x7*(parseInt(j(0x1b9))/0x8)+parseInt(j(0x1c8))/0x9+-parseInt(j(0x1b6))/0xa*(parseInt(j(0x1d0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x8af62));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const k=a91d;return a91a[k(0x1bb)]()[k(0x1c3)](k(0x1b1))[k(0x1bb)]()[k(0x1be)](a91a)[k(0x1c3)]('(((.+)+)+)+$');});a91a();import a91e from'fs';import a91f from'path';function a91c(){const n=['exit','maka\x20ssh\x20--env\x20dev','4083oxRftl','10350DutBBu','94SfqTyL','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','16wNJrCM','env','toString','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','verbose','constructor','maka\x20ssh\x20<command>','getAppConfigPath','maka\x20ssh\x20--env\x20prod','6691608bcgqQy','search','assign','join','sshSync','714345fokLfx','9378036SAWqsQ','1576MzyJfQ','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','ssh.json','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','2531690knsFGl','error','18341BwqBff','26510hOTKHG','parse','(((.+)+)+)+$','length'];a91c=function(){return n;};return a91c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command['create']({'name':'ssh','usage':a91l(0x1bf),'mustBeInMakaProject':!![],'requiredOpts':[a91l(0x1ba)],'validOpts':[a91l(0x1ba),a91l(0x1bd)],'shortDesc':a91l(0x1cc),'examples':[a91l(0x1b4),'maka\x20ssh\x20--env\x20staging',a91l(0x1c1),a91l(0x1b8),a91l(0x1bc),a91l(0x1ca)]},async function(a,b){const m=a91l;try{const c=this['fsi'][m(0x1c0)](b[m(0x1ba)]);let d='';a[m(0x1b2)]>0x0&&(d=a[0x0]);const f=a91f[m(0x1c5)](c,m(0x1cb)),g=a91e['readFileSync'](f)[m(0x1bb)](),h=JSON[m(0x1d1)](g);Object[m(0x1c4)](h,{'env':c}),SSH[m(0x1c6)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[m(0x1bd)]});}catch(i){Log[m(0x1ce)](i),process[m(0x1b3)](0x1);}});
@@ -1 +1 @@
1
- const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0xc5))/0x1*(parseInt(v(0xc9))/0x2)+-parseInt(v(0xdd))/0x3+parseInt(v(0xda))/0x4*(-parseInt(v(0xd4))/0x5)+parseInt(v(0xbd))/0x6+parseInt(v(0xdb))/0x7+parseInt(v(0xd7))/0x8+-parseInt(v(0xce))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x207fe));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xf0)]()[x(0xca)]('(((.+)+)+)+$')['toString']()['constructor'](a92a)[x(0xca)](x(0xe1));});function a92c(){const A=['search','exit','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','ask','2286018NrMRaN','letsencrypt','join','existsSync','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','getAppConfigPath','1298485dFKWIv','Verifying\x20Letsencrypt\x20configuration','parse','1781016YDeqtu','New\x20CSR\x20written\x20to\x20','uname\x20-a','4VNrTgg','1478799fOqEOX','Remote\x20host\x20connection\x20successful','592518vIIFbN','Please\x20provide\x20a\x20command.','email','apply','(((.+)+)+)+$','generate-ssc','Create\x20and\x20manage\x20your\x20SSL\x20operations.','maka\x20ssl\x20--env\x20dev\x20generate-csr','withSpinner','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','.key','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','error','Using\x20saved\x20letsencrypt\x20config','emailUpdate','readFileSync','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','stringify','appName','toString','ssl','Email\x20to\x20use\x20for\x20auto-updates:\x20','/ssh.json','letsencrypt.json','assign','sudo\x20snap\x20install\x20--classic\x20certbot','notice','env','fsi','Checking\x20remote\x20host\x20availability','domainNames','writeFileSync','1168194rBHRnm','.csr','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','genCSR','domains','generate-csr','.crt','\x20--email\x20','7705LJskCV','ssh','create','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','56hhGGIx'];a92c=function(){return A;};return a92c();}a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xb5;let f=c[d];return f;},a92d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xc7)]({'name':a92y(0xf1),'usage':'maka\x20ssl\x20[command]','validOpts':['domains',a92y(0xdf)],'requiredOpts':[a92y(0xb8)],'shortDesc':a92y(0xe3),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0xe4),a92y(0xe6),a92y(0xe8)]},async function(a,b){const z=a92y,c=this[z(0xb9)]['getMakaProjectConfig'](),d=this['fsi'][z(0xd3)](b[z(0xb8)]),f=this[z(0xb9)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xc2))SSL[z(0xc0)]({'keyName':c[z(0xef)]+z(0xe7),'csrName':c['appName']+z(0xbe),'cwd':f});else{if(g===z(0xe2)){if(!a92e[z(0xd1)](a92f['join'](f,c[z(0xef)]+'.key')))throw z(0xcc)+a92f[z(0xd0)](f,c[z(0xef)]+z(0xe7));if(!a92e['existsSync'](a92f['join'](f,c['appName']+'.csr')))throw z(0xbf)+a92f['join'](f,c[z(0xef)]+'.csr');SSL['genSSC']({'keyName':c[z(0xef)]+z(0xe7),'crtName':c[z(0xef)]+z(0xc3),'cwd':f}),Log[z(0xb7)](z(0xd8)+f);}else{if(g===z(0xcf)){let h=b[z(0xc1)],i=b[z(0xdf)];try{const p=a92e[z(0xec)](a92f[z(0xd0)](d,'letsencrypt.json'))[z(0xf0)](),q=JSON[z(0xd6)](p);h=b[z(0xc1)]?b[z(0xc1)]:q[z(0xbb)],i=b[z(0xdf)]?b['email']:q[z(0xeb)],(!b[z(0xdf)]||!b[z(0xc1)])&&Log[z(0xb7)](z(0xea));}catch(r){}const j=JSON['parse'](a92e[z(0xec)](d+z(0xf3))[z(0xf0)]());Object[z(0xb5)](j,{'env':d}),Log['notice'](z(0xba));try{const s=SSH['ping'](z(0xd9),j);if(!s)throw z(0xd2);if(s)Log['success'](z(0xdc));}catch(t){Log[z(0xe9)](t);return;}const k=Log[z(0xe5)]();k['start'](z(0xd5)),SSH[z(0xc6)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH['ssh'](z(0xb6),{...j}),SSH[z(0xc6)](z(0xc8),{...j}),k['success']();const l=h?h:await Actions['ask']('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0xcd)](z(0xf2));SSH[z(0xc6)](z(0xed)+l+z(0xc4)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xee)](n,null,0x2);a92e[z(0xbc)](a92f[z(0xd0)](d,z(0xf4)),o);}else throw z(0xde);}}}catch(u){console['error'](u),process[z(0xcb)](0x0);}});
1
+ const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x128))/0x1*(parseInt(v(0x14d))/0x2)+parseInt(v(0x13d))/0x3*(parseInt(v(0x139))/0x4)+-parseInt(v(0x152))/0x5*(-parseInt(v(0x126))/0x6)+-parseInt(v(0x144))/0x7+parseInt(v(0x145))/0x8+-parseInt(v(0x13c))/0x9*(parseInt(v(0x123))/0xa)+parseInt(v(0x14f))/0xb*(-parseInt(v(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x58bb3));function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x120;let f=c[d];return f;},a92d(a,b);}const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x135)]()[x(0x159)]('(((.+)+)+)+$')[x(0x135)]()['constructor'](a92a)[x(0x159)](x(0x154));});a92a();import a92e from'fs';function a92c(){const A=['notice','join','apply','1244UDLLPr','\x20--email\x20','readFileSync','1643913JkiiYz','6327MhToyZ','appName','writeFileSync','letsencrypt','generate-csr','emailUpdate','email','3622262dNRYbu','5258176phTwCR','Create\x20and\x20manage\x20your\x20SSL\x20operations.','Please\x20provide\x20a\x20command.','.csr','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','209652uCNnhM','genCSR','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','958pbGJew','existsSync','308ghbfFg','success','ask','3205gekOJl','mkKeysDir','(((.+)+)+)+$','fsi','.key','env','genSSC','search','getMakaProjectConfig','assign','exit','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','.crt','30vSgUeb','ssl','domains','1026yOMLRx','uname\x20-a','1034JFcEgJ','letsencrypt.json','domainNames','parse','ssh','Email\x20to\x20use\x20for\x20auto-updates:\x20','generate-ssc','start','Remote\x20host\x20connection\x20successful','withSpinner','Using\x20saved\x20letsencrypt\x20config','error','Verifying\x20Letsencrypt\x20configuration','toString'];a92c=function(){return A;};return a92c();}import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a92y(0x124),'usage':'maka\x20ssl\x20[command]','validOpts':[a92y(0x125),'email'],'requiredOpts':[a92y(0x157)],'shortDesc':a92y(0x146),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a92y(0x120),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a92y,c=this[z(0x155)][z(0x15a)](),d=this[z(0x155)]['getAppConfigPath'](b[z(0x157)]),f=this['fsi'][z(0x153)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x141))SSL[z(0x14b)]({'keyName':c['appName']+z(0x156),'csrName':c[z(0x13e)]+z(0x148),'cwd':f});else{if(g===z(0x12e)){if(!a92e[z(0x14e)](a92f['join'](f,c[z(0x13e)]+z(0x156))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a92f[z(0x137)](f,c['appName']+'.key');if(!a92e[z(0x14e)](a92f[z(0x137)](f,c[z(0x13e)]+z(0x148))))throw z(0x149)+a92f[z(0x137)](f,c[z(0x13e)]+z(0x148));SSL[z(0x158)]({'keyName':c[z(0x13e)]+'.key','crtName':c[z(0x13e)]+z(0x122),'cwd':f}),Log[z(0x136)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x140)){let h=b[z(0x125)],i=b[z(0x143)];try{const p=a92e[z(0x13b)](a92f[z(0x137)](d,'letsencrypt.json'))[z(0x135)](),q=JSON[z(0x12b)](p);h=b['domains']?b[z(0x125)]:q[z(0x12a)],i=b['email']?b[z(0x143)]:q[z(0x142)],(!b[z(0x143)]||!b[z(0x125)])&&Log['notice'](z(0x132));}catch(r){}const j=JSON[z(0x12b)](a92e[z(0x13b)](d+'/ssh.json')[z(0x135)]());Object[z(0x15b)](j,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{const s=SSH['ping'](z(0x127),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log['success'](z(0x130));}catch(t){Log['error'](t);return;}const k=Log[z(0x131)]();k[z(0x12f)](z(0x134)),SSH['ssh'](z(0x14c),{...j}),SSH[z(0x12c)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0x12c)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0x150)]();const l=h?h:await Actions[z(0x151)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0x151)](z(0x12d));SSH[z(0x12c)](z(0x121)+l+z(0x13a)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a92e[z(0x13f)](a92f['join'](d,z(0x129)),o);}else throw z(0x147);}}}catch(u){console[z(0x133)](u),process[z(0x15c)](0x0);}});
@@ -1 +1 @@
1
- const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x84))/0x1+parseInt(m(0xa2))/0x2*(-parseInt(m(0x90))/0x3)+parseInt(m(0x78))/0x4+-parseInt(m(0x99))/0x5*(-parseInt(m(0xa6))/0x6)+-parseInt(m(0x7d))/0x7*(parseInt(m(0x8e))/0x8)+parseInt(m(0xab))/0x9+parseInt(m(0x71))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xc3191));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x77)]()[o(0xa3)]('(((.+)+)+)+$')['toString']()[o(0x7c)](a93a)[o(0xa3)]('(((.+)+)+)+$');});a93a();import a93e from'fs';import a93f from'path';function a93c(){const t=['concat','12hQGUzW','--settings','once','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','notice','8752005NIEcLW','argv','settings.json','exit','--packages','config.json','meteortesting:mocha','maka\x20test','23740150BeBwfE','none','.maka','findProjectDirectory','splice','engines','toString','74048OPpmWF','test','testAppPath','isFile','constructor','14GnDJXz','getAppConfigPath','create','test-packages','join','port','filter','1252733elCGas','env','tests','jasmine','readFileSync','driver-package','packages','apply','--full-app','unit','4318480hAETyJ','invokeMeteorCommand','56298GjcytO','warn','--env','slice','forEach','error','Meteor\x20Settings:\x20','--driver-package','driver','3122540ezoyGM','development','--driver','openSync','parse','fsi','driverPackage','rawLogs','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','158wCfOsx','search','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'];a93c=function(){return t;};return a93c();}function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x70;let f=c[d];return f;},a93d(a,b);}import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x9c)](a,'r'),a93g['config']({'path':a});};Command[a93q(0x7f)]({'name':a93q(0x79),'mustBeInMakaProject':!![],'validOpts':[a93q(0xa8),a93q(0x8a),a93q(0x98),a93q(0x9f),'unit','env',a93q(0xa0),a93q(0x82),'inspect',a93q(0x7a)],'usage':a93q(0x70),'aliases':['t',a93q(0x86)],'shortDesc':a93q(0xa1),'examples':[]},function(a,b){const r=a93q;try{let c=this['fsi'][r(0x7e)](r(0x9a));b[r(0x85)]&&(c=this[r(0x9e)][r(0x7e)](b['env']));(!b[r(0x8d)]||!!b[r(0xa8)])&&(a=a['concat']([r(0x8c)]));b['unit']&&delete b[r(0x8d)];let d=b[r(0x89)]||b['driver']||r(0x72);if(d==='none'){const j=JSON[r(0x9d)](a93e[r(0x88)](a93f[r(0x81)](this['fsi'][r(0x74)](),r(0x73),r(0xb0)),'utf8'));if(j[r(0x76)][r(0x79)]===r(0x87))d='sanjo:jasmine';else j[r(0x76)][r(0x79)]==='mocha'&&(d=r(0xb1));}if(d===r(0x72))throw r(0xa9);(!b['driver-package']||!b[r(0x98)])&&(a=a['concat']([r(0x97),d]));const f=a93f[r(0x81)](c,r(0xad));this['fsi'][r(0x7b)](f)?(Log[r(0xaa)](r(0x96)+f),a=a[r(0xa5)]([r(0xa7),f])):Log[r(0x91)](r(0xa4)+f);const g=a93f[r(0x81)](c,'process.env');this[r(0x9e)][r(0x7b)](g)?(Log['notice']('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[r(0x91)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0xac)][r(0x93)](0x2)[r(0x83)](k=>k!==r(0x92))[r(0x83)](k=>k!==r(0x79))['filter'](k=>k!==a[0x0]);h[r(0x94)]((k,l)=>{const s=r;(k===s(0x92)||k===s(0x9b))&&h[s(0x75)](l,0x2),k===s(0xaf)&&h[s(0x75)](l,0x1);});const i=b[r(0x8a)]?r(0x80):r(0x79);this[r(0x9e)][r(0x8f)](i,a[r(0xa5)](h));}catch(k){console[r(0x95)](k),process[r(0xae)](0x0);}});
1
+ const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x1db))/0x1*(-parseInt(m(0x1cc))/0x2)+-parseInt(m(0x1e2))/0x3*(parseInt(m(0x1d9))/0x4)+parseInt(m(0x1d2))/0x5*(-parseInt(m(0x1d8))/0x6)+-parseInt(m(0x1e8))/0x7+parseInt(m(0x1b8))/0x8*(-parseInt(m(0x1e1))/0x9)+-parseInt(m(0x1f2))/0xa*(parseInt(m(0x1e5))/0xb)+parseInt(m(0x1ee))/0xc*(parseInt(m(0x1e4))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x4e51f));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x1d6)]()[o(0x1d7)]('(((.+)+)+)+$')['toString']()[o(0x1cb)](a93a)[o(0x1d7)](o(0x1dc));});function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1af;let f=c[d];return f;},a93d(a,b);}a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a93c(){const t=['test-packages','fsi','engines','15108QhcOwo','meteortesting:mocha','--driver-package','filter','255190qObYSd','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','sanjo:jasmine','slice','isFile','--packages','env','Cannot\x20find\x20Node\x20Environment\x20File:\x20','join','development','1279200NaXVTr','warn','driver-package','utf8','driver','getAppConfigPath','Meteor\x20Settings:\x20','packages','none','argv','concat','--full-app','apply','tests','splice','parse','driverPackage','findProjectDirectory','testAppPath','constructor','2qYDXYn','jasmine','notice','rawLogs','test','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','80FsSYdo','create','once','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','toString','search','11532uDMTDt','2355980NDsqVE','maka\x20test','50343YcvAmZ','(((.+)+)+)+$','--settings','.maka','openSync','--driver','9fsiGJD','3wUPVbG','unit','14261EWyRqZ','33WhuIkY','error','invokeMeteorCommand','1076439Hgcxah','--env','exit'];a93c=function(){return t;};return a93c();}const syncSource=function(a){const p=a93d;a93e[p(0x1df)](a,'r'),a93g['config']({'path':a});};Command[a93q(0x1d3)]({'name':a93q(0x1d0),'mustBeInMakaProject':!![],'validOpts':['once','packages',a93q(0x1bc),a93q(0x1c8),a93q(0x1e3),a93q(0x1b4),a93q(0x1cf),'port','inspect',a93q(0x1ca)],'usage':a93q(0x1da),'aliases':['t',a93q(0x1c5)],'shortDesc':a93q(0x1d1),'examples':[]},function(a,b){const r=a93q;try{let c=this['fsi'][r(0x1bd)](r(0x1b7));b['env']&&(c=this[r(0x1ec)][r(0x1bd)](b['env']));(!b[r(0x1e3)]||!!b[r(0x1d4)])&&(a=a['concat']([r(0x1c3)]));b[r(0x1e3)]&&delete b['unit'];let d=b[r(0x1ba)]||b['driver']||r(0x1c0);if(d===r(0x1c0)){const j=JSON[r(0x1c7)](a93e['readFileSync'](a93f[r(0x1b6)](this[r(0x1ec)][r(0x1c9)](),r(0x1de),'config.json'),r(0x1bb)));if(j[r(0x1ed)][r(0x1d0)]===r(0x1cd))d=r(0x1b0);else j[r(0x1ed)]['test']==='mocha'&&(d=r(0x1ef));}if(d==='none')throw r(0x1d5);(!b['driver-package']||!b['driver'])&&(a=a[r(0x1c2)]([r(0x1f0),d]));const f=a93f['join'](c,'settings.json');this[r(0x1ec)][r(0x1b2)](f)?(Log[r(0x1ce)](r(0x1be)+f),a=a[r(0x1c2)]([r(0x1dd),f])):Log[r(0x1b9)](r(0x1af)+f);const g=a93f[r(0x1b6)](c,'process.env');this['fsi'][r(0x1b2)](g)?(Log[r(0x1ce)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log['warn'](r(0x1b5)+g);const h=process[r(0x1c1)][r(0x1b1)](0x2)['filter'](k=>k!==r(0x1e9))[r(0x1f1)](k=>k!==r(0x1d0))[r(0x1f1)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0x1e9)||k===s(0x1e0))&&h['splice'](l,0x2),k===s(0x1b3)&&h[s(0x1c6)](l,0x1);});const i=b[r(0x1bf)]?r(0x1eb):r(0x1d0);this[r(0x1ec)][r(0x1e7)](i,a['concat'](h));}catch(k){console[r(0x1e6)](k),process[r(0x1ea)](0x0);}});
@@ -1 +1 @@
1
- const a94m=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x1f2))/0x1*(parseInt(k(0x1dc))/0x2)+-parseInt(k(0x1d3))/0x3+parseInt(k(0x1de))/0x4*(-parseInt(k(0x1eb))/0x5)+-parseInt(k(0x1f8))/0x6*(-parseInt(k(0x1dd))/0x7)+parseInt(k(0x1d7))/0x8*(parseInt(k(0x1ce))/0x9)+parseInt(k(0x1c8))/0xa+-parseInt(k(0x1f4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x49acc));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const l=a94d;return a94a[l(0x1e0)]()[l(0x1e5)](l(0x1e8))[l(0x1e0)]()['constructor'](a94a)[l(0x1e5)](l(0x1e8));});a94a();function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a94d(a,b);}import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';function a94c(){const o=['4.7.27','compareMakaToLatest','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','win32','search','System\x27s\x20Meteor\x20Version\x20','create','(((.+)+)+)+$','----------------------Project----------------------------','exit','4160fiydvw','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','maka\x20version','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','isMakaProject','notice','System\x27s\x20Node\x20Version\x20','83IZoLNx','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','13901734nEjpJt','Project\x27s\x20Meteor\x20Version\x20','meteor.bat','warn','6pwuPXV','error','5765140yFeLCR','----------------------System----------------------------','Maka\x20',')\x20to\x20at\x20least\x20meteor\x27s\x20(','bright','Project\x27s\x20Meteor\x20Node\x20Version\x20','488826gydngW','fsi','version','node\x20-v','\x20node\x20-v','1517568rSthgM','N/A','getProjectMeteorVersion','meteor','88DemiXt','platform','maka\x20v','verbose','replace','8648Uzfrmh','3775758zbvvwv','4kAJgMH','maka\x20version\x20--verbose','toString'];a94c=function(){return o;};return a94c();}import{Log}from'../tools/log/log.class.js';const pjson={'version':a94m(0x1e1)};Command[a94m(0x1e7)]({'name':a94m(0x1d0),'aliases':['v'],'usage':a94m(0x1ed),'maxArgLength':0x1,'validOpts':[a94m(0x1da)],'shortDesc':a94m(0x1ee),'examples':[a94m(0x1d9),a94m(0x1ed),a94m(0x1df)],'description':a94m(0x1f3)},async function(a,b){const n=a94m;try{const c=process[n(0x1d8)]===n(0x1e4)?n(0x1f6):n(0x1d6);Log['majestic'](n(0x1ca)+pjson[n(0x1d0)]),await this[n(0x1cf)][n(0x1e2)]();if(b[n(0x1da)]){await this[n(0x1cf)][n(0x1e2)](),Log['bright'](n(0x1c9));const d=this[n(0x1cf)]['getGlobalMeteorVersion']();Log[n(0x1cc)]((n(0x1e6)+d)[n(0x1db)]('\x0a',''));const f=execSync(c+n(0x1d2))[n(0x1e0)]()[n(0x1db)](/\r?\n|\r/,'')[n(0x1db)]('v','');Log[n(0x1cc)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(n(0x1d1))[n(0x1e0)]()[n(0x1db)](/\r?\n|\r/,'')[n(0x1db)]('v','');a94e['gt'](f,g)?(Log[n(0x1f7)](n(0x1f1)+g),Log[n(0x1f7)](n(0x1e3)+g+n(0x1cb)+f+')')):Log[n(0x1cc)](n(0x1f1)+g);if(this['fsi'][n(0x1ef)]()){Log[n(0x1cc)](n(0x1e9));const h=this['fsi'][n(0x1d5)]();a94e['gt'](d,h)?(Log[n(0x1f7)](n(0x1f5)+h[n(0x1db)]('\x0a','')),Log[n(0x1f7)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[n(0x1f0)]((n(0x1f5)+h)[n(0x1db)]('\x0a',''));const i=await this['fsi']['getProjectsMeteorNodeVersion']();i===n(0x1d4)?(Log['warn'](n(0x1cd)+i),Log[n(0x1f7)](n(0x1ec))):Log[n(0x1cc)](n(0x1cd)+i),Log[n(0x1cc)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[n(0x1f9)](j),process[n(0x1ea)](0x0);}});
1
+ const a94m=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0x149))/0x1+-parseInt(k(0x15b))/0x2*(-parseInt(k(0x13f))/0x3)+-parseInt(k(0x153))/0x4*(-parseInt(k(0x146))/0x5)+-parseInt(k(0x14e))/0x6*(-parseInt(k(0x13d))/0x7)+-parseInt(k(0x160))/0x8*(parseInt(k(0x143))/0x9)+-parseInt(k(0x14c))/0xa+parseInt(k(0x137))/0xb*(parseInt(k(0x14f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x64ec0));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const l=a94d;return a94a[l(0x157)]()['search']('(((.+)+)+)+$')[l(0x157)]()[l(0x159)](a94a)[l(0x150)]('(((.+)+)+)+$');});a94a();import{execSync}from'child_process';import a94e from'semver';function a94c(){const o=[')\x20to\x20at\x20least\x20meteor\x27s\x20(','103484CLDtvk','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','replace','bright','toString','----------------------System----------------------------','constructor','meteor','2gUGEou','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','warn','isMakaProject','211832qgQqbT','maka\x20version','5201416dREspD','System\x27s\x20Node\x20Version\x20','maka\x20version\x20--verbose','getGlobalMeteorVersion','getProjectsMeteorNodeVersion','node\x20-v','2807ikHmoH','\x20node\x20-v','2389278deCuPZ','----------------------Project----------------------------','version','4.7.28','153pclSOQ','\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','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','10VzxTrM','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','72830ytRBtT','Project\x27s\x20Meteor\x20Node\x20Version\x20','win32','4797120gbxIbW','meteor.bat','1422ygaBpX','12ribynR','search','fsi'];a94c=function(){return o;};return a94c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x137;let f=c[d];return f;},a94d(a,b);}const pjson={'version':a94m(0x142)};Command['create']({'name':a94m(0x141),'aliases':['v'],'usage':a94m(0x161),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a94m(0x145),'examples':['maka\x20v',a94m(0x161),a94m(0x139)],'description':a94m(0x154)},async function(a,b){const n=a94m;try{const c=process['platform']===n(0x14b)?n(0x14d):n(0x15a);Log['majestic']('Maka\x20'+pjson[n(0x141)]),await this[n(0x151)]['compareMakaToLatest']();if(b['verbose']){await this[n(0x151)]['compareMakaToLatest'](),Log[n(0x156)](n(0x158));const d=this[n(0x151)][n(0x13a)]();Log[n(0x156)](('System\x27s\x20Meteor\x20Version\x20'+d)[n(0x155)]('\x0a',''));const f=execSync(c+n(0x13e))[n(0x157)]()[n(0x155)](/\r?\n|\r/,'')['replace']('v','');Log[n(0x156)](n(0x15c)+f);const g=execSync(n(0x13c))[n(0x157)]()[n(0x155)](/\r?\n|\r/,'')[n(0x155)]('v','');a94e['gt'](f,g)?(Log['warn'](n(0x138)+g),Log[n(0x15e)](n(0x147)+g+n(0x152)+f+')')):Log[n(0x156)](n(0x138)+g);if(this[n(0x151)][n(0x15f)]()){Log['bright'](n(0x140));const h=this[n(0x151)]['getProjectMeteorVersion']();a94e['gt'](d,h)?(Log['warn'](n(0x15d)+h[n(0x155)]('\x0a','')),Log[n(0x15e)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log['notice']((n(0x15d)+h)[n(0x155)]('\x0a',''));const i=await this['fsi'][n(0x13b)]();i==='N/A'?(Log[n(0x15e)](n(0x14a)+i),Log[n(0x15e)](n(0x148))):Log['bright'](n(0x14a)+i),Log[n(0x156)](n(0x144));}}}catch(j){console['error'](j),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0xdb))/0x1*(parseInt(f(0xd3))/0x2)+-parseInt(f(0xd2))/0x3*(-parseInt(f(0xcd))/0x4)+-parseInt(f(0xce))/0x5*(-parseInt(f(0xd5))/0x6)+-parseInt(f(0xcf))/0x7*(-parseInt(f(0xd8))/0x8)+parseInt(f(0xdd))/0x9*(-parseInt(f(0xd9))/0xa)+parseInt(f(0xd4))/0xb+-parseInt(f(0xd1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xe27c5));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xdc)]()[h(0xd7)]('(((.+)+)+)+$')[h(0xdc)]()[h(0xd6)](a95a)[h(0xd7)](h(0xd0));});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xcd;var f=c[d];return f;},a95d(a,b);}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a95c(){var i=['107493gKoWAn','55314Rihecp','9063461cpSKes','6208578WeLwqX','constructor','search','6342696FmoiWV','3990160Vudkkc','apply','62CyFUiI','toString','9lOvQnl','200KnHrik','5uSeSfA','7ObOIjW','(((.+)+)+)+$','16819992vtHBRN'];a95c=function(){return i;};return a95c();}
1
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0xc6))/0x1+parseInt(f(0xbe))/0x2+-parseInt(f(0xc3))/0x3*(parseInt(f(0xc2))/0x4)+parseInt(f(0xbc))/0x5+parseInt(f(0xbb))/0x6+parseInt(f(0xbf))/0x7*(-parseInt(f(0xbd))/0x8)+-parseInt(f(0xc0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x8b568));function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xbb;var f=c[d];return f;},a95d(a,b);}function a95c(){var i=['(((.+)+)+)+$','apply','719101bEZOQL','4719798jXXyyN','3570640pMLhHg','105736fefoVJ','890342yrtzqc','7CmChko','17229681gbaeXn','toString','4najGcY','500037GvvOig'];a95c=function(){return i;};return a95c();}var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xc1)]()['search'](h(0xc4))[h(0xc1)]()['constructor'](a95a)['search'](h(0xc4));});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xc4;var f=c[d];return f;},a96d(a,b);}var a96h=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0xc5))/0x1+-parseInt(f(0xc7))/0x2+-parseInt(f(0xc9))/0x3*(parseInt(f(0xcd))/0x4)+parseInt(f(0xc6))/0x5*(parseInt(f(0xd1))/0x6)+-parseInt(f(0xd4))/0x7+parseInt(f(0xd2))/0x8+-parseInt(f(0xca))/0x9*(-parseInt(f(0xc8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x375ac));var a96b=(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;};}()),a96a=a96b(this,function(){var g=a96d;return a96a[g(0xd0)]()[g(0xcc)](g(0xd3))['toString']()[g(0xce)](a96a)[g(0xcc)](g(0xd3));});a96a(),process[a96h(0xc4)][a96h(0xcb)]=a96h(0xcf);import'./maka.js';function a96c(){var i=['15058WwSNSO','660HQXBdV','12glEqIS','15633vtSDwF','NODE_OPTIONS','search','183712aHBJeh','constructor','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','toString','6YlgXtd','3498248uRZsRL','(((.+)+)+)+$','237776ORcPoq','env','236724ONnXgk','683710UKbiLW'];a96c=function(){return i;};return a96c();}
2
+ var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x186))/0x1+-parseInt(f(0x17c))/0x2+-parseInt(f(0x17b))/0x3*(parseInt(f(0x17f))/0x4)+-parseInt(f(0x183))/0x5*(parseInt(f(0x189))/0x6)+parseInt(f(0x187))/0x7+-parseInt(f(0x182))/0x8+parseInt(f(0x184))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xda362));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x17a;var f=c[d];return f;},a96d(a,b);}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x188)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x185)]()[h(0x17d)](h(0x18a))['toString']()[h(0x180)](a96a)[h(0x17d)](h(0x18a));});a96a(),process[a96i(0x181)][a96i(0x17e)]=a96i(0x17a);import'./maka.js';function a96c(){var j=['24770VWGyzT','18666081HYthNQ','toString','1404546HhZLrb','8915137gpMsfY','apply','678vrlnsH','(((.+)+)+)+$','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','1934511YEPdXU','950218sPGnfE','search','NODE_OPTIONS','8CeeUkD','constructor','env','12270136khanul'];a96c=function(){return j;};return a96c();}
@@ -1 +1 @@
1
- const a97v=a97d;(function(a,b){const r=a97d,c=a();while(!![]){try{const d=parseInt(r(0x1f8))/0x1*(-parseInt(r(0x1c2))/0x2)+-parseInt(r(0x1f9))/0x3*(-parseInt(r(0x1b4))/0x4)+parseInt(r(0x1c6))/0x5+parseInt(r(0x1e5))/0x6+-parseInt(r(0x198))/0x7+parseInt(r(0x1e9))/0x8+-parseInt(r(0x1cc))/0x9*(-parseInt(r(0x1d9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xa9294));function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x17d;let f=c[d];return f;},a97d(a,b);}function a97c(){const N=['apply','Generator\x20not\x20found','bind','generatorName','both','maxOptsLength','validateMakaSubscription','_undoHandler','invoke','Generator\x20requires\x20a\x20handler\x20function','sep','setColorMode','tableList','client','getHistoryFileSize','where','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','server','split','light','pathFromProject','No\x20resource\x20name\x20specified','slice','appPathPrefix','pallet','Generator\x20','undo','includes','1860215uGlNyA','root','number','noNeedResource','handleGenerateError','exit','stringify','_historyFilePath','Generator.create\x20requires\x20a\x20handler\x20function!','Generator\x20format\x20is\x20incorrect','from','name','No\x20undo\x20handler\x20defined\x20for\x20','requiredEngines','assign','history.json','addGenerator','parse','existsSync','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','size','sort','.maka','join','help','mustBeInMakaProject','success','error','1720WaOlyi','_genTransactionId','call','listGenerators','Description','bright','function','minOptsLength','minArgLength','usage','forEach','addToHistory','details','replace','2PriEBa','toString','readFileSync','mustHaveMeteorInstalled','430035svfJlB','params','chdir','keys','match','notice','261EuaHQZ','fsi','findProjectDirectory','length','options','constructor','readHistory','addGenerator\x20requires\x20a\x20Generator\x20instance','Client','deepen','config','push','processAndRunGenerator','135070PYNjwE','DARK','list','writeHistory','opts','shortDesc','findGeneratorByName','_handler','aliases','warn','\x20not\x20found','writeFileSync','5748654KXuhpI','find','Generators:','Both','1438920hYfVlH','lib','cwd','Name','(((.+)+)+)+$','resourceName','dir','Too\x20few\x20arguments','colLocAnswer','_generators','message','map','pop','search','maxArgLength','1247445ksCWqr','4119NGgrGf','Alias','getGlobalConfig'];a97c=function(){return N;};return a97c();}const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a97d;if(c){const e=c[s(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const t=a97d;return a97a[t(0x1c3)]()[t(0x1f6)](t(0x1ed))[t(0x1c3)]()[t(0x1d1)](a97a)[t(0x1f6)]('(((.+)+)+)+$');});a97a();import a97e from'path';import a97f from'fs';import a97g from'cli-table';import{v4 as a97h}from'uuid';import{paramCase}from'change-case';import a97i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a97h();async function inside(a='.',b){const u=a97d,c=process[u(0x1eb)]();let d=null;try{process['chdir'](a),d=await b();}finally{process[u(0x1c8)](c);}return d;}export class Generator extends Tool{[a97v(0x1d0)];[a97v(0x1f2)];[a97v(0x19f)];['_undoHandler'];[a97v(0x1b5)];constructor(a,b,c){const w=a97v;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a['name'])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==w(0x1ba))throw new Error(w(0x185));this[w(0x1f2)]=[],this[w(0x1d0)]=Object['assign']({},a),this['name']=this[w(0x1d0)][w(0x1a3)],this['_handler']=b[w(0x17e)](this);try{this[w(0x19f)]=this[w(0x1cd)][w(0x190)]({'pathParts':[w(0x1ae),'history.json']})||a97e[w(0x1af)]('.',w(0x1ae),w(0x1a7));}catch(d){Log[w(0x1b3)](d);}c&&(this[w(0x183)]=c['bind'](this));}[a97v(0x18a)](){const x=a97v;if(a97f['existsSync'](this[x(0x19f)])){const a=a97f['statSync'](this['_historyFilePath']);return a[x(0x1ac)];}return 0x0;}[a97v(0x1d2)](){const y=a97v;if(!a97f['existsSync'](this[y(0x19f)]))return[];return JSON[y(0x1a9)](a97f[y(0x1c4)](this[y(0x19f)],'utf-8'));}[a97v(0x1dc)](a){const z=a97v;this[z(0x19f)]&&!a97f[z(0x1aa)](this[z(0x19f)])&&a97f[z(0x1e4)](this[z(0x19f)],JSON[z(0x19e)]([])),a97f[z(0x1e4)](this[z(0x19f)],JSON[z(0x19e)](a,null,0x2));}[a97v(0x1bf)](a){const A=a97v;try{a?.[A(0x1c7)]?.[A(0x1dd)][A(0x1d6)]&&delete a[A(0x1c7)][A(0x1dd)][A(0x1d6)];const b=this[A(0x1d2)](),c={'generatorName':this[A(0x1a3)],'transactionId':TRANSACTION_ID,'details':a};b[A(0x1d7)](c);const d=Buffer[A(0x1a2)](JSON[A(0x19e)](b))['length'];while(d>MAX_HISTORY_SIZE&&b['length']>0x0){b['shift']();}this[A(0x1dc)](b);}catch(f){Log[A(0x1b3)](f);}}static['create'](a,b,c,d){const B=a97v;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!=='function')throw new Error(B(0x1a0));const e=new Generator(a,b);return c&&(e[B(0x183)]=c[B(0x17e)](e)),d=d||a97i,Object[B(0x1a6)](e,{'parent':d?.['options']?.[B(0x1a3)]}),d[B(0x1a8)](e),e;}async[a97v(0x196)](){const C=a97v,a=this[C(0x1d2)](),b=a[C(0x1f5)]();if(!b){Log[C(0x1e2)]('Nothing\x20to\x20undo.');return;}const c=this['findGeneratorByName'](b['generatorName']);if(!c){Log['error'](C(0x195)+b['generatorName']+'\x20not\x20found.\x20Cannot\x20undo.');return;}c[C(0x183)]?(await c[C(0x183)](b[C(0x1c0)]),this[C(0x1dc)](a)):Log['warn'](C(0x1a4)+b[C(0x17f)]+'\x20generator.\x20Skipping\x20undo.');}[a97v(0x1a8)](a){const D=a97v;if(!(a instanceof Generator))throw new Error(D(0x1d3));this['_generators'][D(0x1d7)](a);}async[a97v(0x1d8)](a,b=[],c={}){const E=a97v;let d;try{const f=a?.[E(0x18e)](':');if(!f||f[E(0x1cf)]===0x0)throw E(0x1a1);let g=this[E(0x1f2)],h;for(const i of f){h=g[E(0x1e6)](j=>j[E(0x1ca)](i));if(!h)throw'Generator\x20'+i+E(0x1e3);await this[E(0x182)](h),g=h[E(0x1f2)];}if(h)d=await h[E(0x184)](b,c);else throw E(0x17d);}catch(j){Log[E(0x1b3)](j);}return d;}[a97v(0x1df)](a){const F=a97v,b=a?.['split'](':');if(!b||b[F(0x1cf)]===0x0)return Log[F(0x1b3)](F(0x1a1)),null;let c=this[F(0x1f2)],d;for(const e of b){d=c['find'](f=>f[F(0x1ca)](e));if(!d)return Log[F(0x1b3)](F(0x195)+e+'\x20not\x20found'),null;c=d[F(0x1f2)];}return d||null;}async['invoke'](a,b){const G=a97v,c=a[G(0x192)]();b[G(0x1ee)]=c[0x0];try{const d=await this['fsi'][G(0x1fb)](),f=d[G(0x194)]===G(0x18f)?ColorMode['LIGHT']:ColorMode[G(0x1da)];Log[G(0x187)](f),await this[G(0x182)](this);const g=a[0x0]===_prevGen||a[G(0x1cf)]===0x0&&this[G(0x1f2)][G(0x1cf)]>=0x0,h=b[G(0x1b0)]||b['h'];if(g&&h){if(this['_generators']['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[G(0x1d0)][G(0x1b1)]){const i=this['validateMakaProject']();if(!i)throw new MustBeInProjectError();}if(this[G(0x1d0)][G(0x1c5)]){const j=this['validateMeteorInstall']();if(!j)throw new NoMeteorFoundError();}if(typeof this['options'][G(0x1bc)]==='number'){if(a[G(0x1cf)]<this[G(0x1d0)][G(0x1bc)]){Log[G(0x1b3)](G(0x1f0));throw new UsageError();}}if(typeof this[G(0x1d0)][G(0x1f7)]===G(0x19a)){if(a[G(0x1cf)]>this[G(0x1d0)]['maxArgLength']){Log[G(0x1b3)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[G(0x1d0)][G(0x1bb)]==='number'){if(Object[G(0x1c9)](b)['length']<this[G(0x1d0)][G(0x1bb)]){Log[G(0x1b3)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this['options'][G(0x181)]===G(0x19a)){if(Object[G(0x1c9)](b)[G(0x1cf)]>=this[G(0x1d0)]['maxOptsLength']){Log[G(0x1b3)]('Too\x20many\x20options');throw new UsageError();}}}this[G(0x1d0)][G(0x1a5)]&&this['validateEngines'](this[G(0x1d0)][G(0x1a5)]);await this['validateParams'](a,b,this[G(0x1d0)]);if(!b[G(0x1ee)]&&!this[G(0x1d0)][G(0x19b)]){Log[G(0x1b3)](G(0x191));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[G(0x19c)](k),process[G(0x19d)](0x1);}return await inside(b[G(0x1eb)],async()=>{const H=G;try{if(!b[H(0x199)]&&!this[H(0x1cd)][H(0x1ce)]())throw new MustBeInProjectError();const l=b[H(0x1ee)]?.[H(0x1c1)](/\\/g,'/')[H(0x18e)]('/');!b[H(0x1ef)]&&(l?.[H(0x1cf)]>0x1?(b['resourceName']=l[H(0x1f5)](),c[0x0]=b[H(0x1ee)],b[H(0x1ef)]=l[H(0x1f4)](n=>{return paramCase(n);})[H(0x1af)](a97e[H(0x186)])):b['dir']='');if(this[H(0x1d0)]['checkWhere']){if(!b[H(0x18b)]){const o={'type':H(0x1db),'name':H(0x1f1),'message':'Location','choices':[{'name':H(0x1d4),'value':'client'},{'name':'Server','value':H(0x18d)},{'name':H(0x1e8),'value':'both'}]},{colLocAnswer:p}=await Actions[H(0x1d0)](o);p?b[H(0x18b)]=p:b['where']='both';}const n=[H(0x180),H(0x189),H(0x18d)];if(!n[H(0x197)](b[H(0x18b)])){Log[H(0x1b3)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[H(0x18b)]){case'both':b[H(0x193)]=H(0x1ea);break;case H(0x18d):b[H(0x193)]=H(0x18d);break;case H(0x189):b[H(0x193)]=H(0x189);break;default:b['appPathPrefix']='';}}const m=await this[H(0x1e0)][H(0x1b6)](this,c,b);return this[H(0x1bf)]({'params':{'args':c,'opts':this[H(0x1cd)][H(0x1d5)](b)},'success':m?.[H(0x1b2)],'message':m?.[H(0x1f3)],'details':m?.[H(0x1c0)]}),m;}catch(q){this['handleGenerateError'](q);}});}[a97v(0x1b7)](){const I=a97v;this[I(0x188)](this['_generators']);}['handleGenerateError'](a){const J=a97v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[J(0x1d0)];Log[J(0x1bd)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[J(0x1cb)](J(0x1e7)),this['tableList'](this['_generators']);else{if(a instanceof MustBeInProjectError)Log[J(0x1b3)](J(0x1ab));else{if(a instanceof NoMeteorFoundError)Log[J(0x1b3)](J(0x18c)),Log[J(0x1cb)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log[J(0x1b3)]('There\x20is\x20no\x20Meteor\x20application\x20here');}}}[a97v(0x188)](a){const K=a97v,b=new a97g({});b[K(0x1d7)]([K(0x1ec),K(0x1fa),K(0x1b8)]),a[K(0x1ad)]((c,d)=>{const L=K;return c[L(0x1a3)]['localeCompare'](d[L(0x1a3)]);})[K(0x1be)](c=>{const M=K;b[M(0x1d7)]([c[M(0x1a3)],c[M(0x1e1)](),c[M(0x1de)]()]);}),Log[K(0x1b9)](b[K(0x1c3)]());}}
1
+ function a97c(){const N=['sort','89902rvvrrS','find','No\x20resource\x20name\x20specified','match','handleGenerateError','Description','lib','Generator\x20','stringify','client','getGlobalConfig','mustHaveMeteorInstalled','findProjectDirectory','validateMakaSubscription','60572wETyrN','_historyFilePath','slice','(((.+)+)+)+$','mustBeInMakaProject','getHistoryFileSize','Too\x20few\x20options','existsSync','length','Generator.create\x20requires\x20a\x20handler\x20function!','Too\x20few\x20arguments','10gnghFM','pallet','options','help','Generator.create\x20requires\x20some\x20options!','includes','function','Generator\x20not\x20found','fsi','from','exit','processAndRunGenerator','addGenerator','message','error','map','parse','toString','noNeedResource','deepen','resourceName','aliases','sep','both','keys','invoke','appPathPrefix','Generator\x20requires\x20a\x20handler\x20function','call','light','Server','where','size','readHistory','split','generatorName','\x20generator.\x20Skipping\x20undo.','minOptsLength','replace','join','validateMakaProject','statSync','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Nothing\x20to\x20undo.','pop','LIGHT','params','validateParams','shift','server','requiredEngines','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','forEach','Both','452711aCpCQw','validateEngines','dir','_genTransactionId','tableList','history.json','listGenerators','opts','Location','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','minArgLength','search','9819GSRsPW','writeHistory','.maka','cwd','apply','pathFromProject','utf-8','Generator\x20format\x20is\x20incorrect','\x20not\x20found','126566OTiJrL','writeFileSync','name','1510ryKhKy','number','localeCompare','undo','Please\x20run\x20\x22maka\x20install\x20meteor\x22','config','523362vXvKDq','maxOptsLength','No\x20undo\x20handler\x20defined\x20for\x20','Generator\x20requires\x20a\x20name','findGeneratorByName','validateMeteorInstall','21sBsQXn','shortDesc','warn','notice','push','bright','assign','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','_handler','_undoHandler','1041128LxVkdo','DARK','_generators','create','chdir'];a97c=function(){return N;};return a97c();}const a97v=a97d;(function(a,b){const r=a97d,c=a();while(!![]){try{const d=-parseInt(r(0x103))/0x1+parseInt(r(0x122))/0x2*(parseInt(r(0x112))/0x3)+-parseInt(r(0x130))/0x4*(-parseInt(r(0x13b))/0x5)+-parseInt(r(0x10c))/0x6+parseInt(r(0xee))/0x7+parseInt(r(0x11c))/0x8+parseInt(r(0xfa))/0x9*(-parseInt(r(0x106))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x275c7));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a97d;if(c){const e=c[s(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const t=a97d;return a97a[t(0x14c)]()['search'](t(0x133))['toString']()['constructor'](a97a)[t(0xf9)](t(0x133));});a97a();function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0xcc;let f=c[d];return f;},a97d(a,b);}import a97e from'path';import a97f from'fs';import a97g from'cli-table';import{v4 as a97h}from'uuid';import{paramCase}from'change-case';import a97i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a97h();async function inside(a='.',b){const u=a97d,c=process[u(0xfd)]();let d=null;try{process[u(0x120)](a),d=await b();}finally{process[u(0x120)](c);}return d;}export class Generator extends Tool{[a97v(0x13d)];[a97v(0x11e)];[a97v(0x131)];[a97v(0x11b)];[a97v(0xf1)];constructor(a,b,c){const w=a97v;super();if(!a)throw new Error(w(0x119));if(!a['name'])throw new Error(w(0x10f));if(typeof b!==w(0x141))throw new Error(w(0xd3));this['_generators']=[],this[w(0x13d)]=Object['assign']({},a),this[w(0x105)]=this[w(0x13d)]['name'],this[w(0x11a)]=b['bind'](this);try{this[w(0x131)]=this[w(0x143)][w(0xff)]({'pathParts':[w(0xfc),w(0xf3)]})||a97e[w(0xdf)]('.',w(0xfc),w(0xf3));}catch(d){Log[w(0x149)](d);}c&&(this[w(0x11b)]=c['bind'](this));}[a97v(0x135)](){const x=a97v;if(a97f[x(0x137)](this[x(0x131)])){const a=a97f[x(0xe1)](this[x(0x131)]);return a[x(0xd8)];}return 0x0;}[a97v(0xd9)](){const y=a97v;if(!a97f[y(0x137)](this['_historyFilePath']))return[];return JSON[y(0x14b)](a97f['readFileSync'](this[y(0x131)],y(0x100)));}[a97v(0xfb)](a){const z=a97v;this[z(0x131)]&&!a97f['existsSync'](this[z(0x131)])&&a97f[z(0x104)](this[z(0x131)],JSON[z(0x12a)]([])),a97f[z(0x104)](this[z(0x131)],JSON[z(0x12a)](a,null,0x2));}['addToHistory'](a){const A=a97v;try{a?.[A(0xe6)]?.[A(0xf5)][A(0x10b)]&&delete a[A(0xe6)]['opts'][A(0x10b)];const b=this[A(0xd9)](),c={'generatorName':this[A(0x105)],'transactionId':TRANSACTION_ID,'details':a};b[A(0x116)](c);const d=Buffer[A(0x144)](JSON[A(0x12a)](b))[A(0x138)];while(d>MAX_HISTORY_SIZE&&b[A(0x138)]>0x0){b[A(0xe8)]();}this[A(0xfb)](b);}catch(f){Log[A(0x149)](f);}}static[a97v(0x11f)](a,b,c,d){const B=a97v;if(!a)throw new Error(B(0x13f));if(typeof b!==B(0x141))throw new Error(B(0x139));const e=new Generator(a,b);return c&&(e['_undoHandler']=c['bind'](e)),d=d||a97i,Object[B(0x118)](e,{'parent':d?.[B(0x13d)]?.[B(0x105)]}),d[B(0x147)](e),e;}async[a97v(0x109)](){const C=a97v,a=this['readHistory'](),b=a[C(0xe4)]();if(!b){Log[C(0x114)](C(0xe3));return;}const c=this[C(0x110)](b[C(0xdb)]);if(!c){Log['error'](C(0x129)+b[C(0xdb)]+'\x20not\x20found.\x20Cannot\x20undo.');return;}c[C(0x11b)]?(await c[C(0x11b)](b['details']),this[C(0xfb)](a)):Log[C(0x114)](C(0x10e)+b[C(0xdb)]+C(0xdc));}[a97v(0x147)](a){const D=a97v;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[D(0x11e)]['push'](a);}async[a97v(0x146)](a,b=[],c={}){const E=a97v;let d;try{const f=a?.[E(0xda)](':');if(!f||f[E(0x138)]===0x0)throw E(0x101);let g=this[E(0x11e)],h;for(const i of f){h=g['find'](j=>j[E(0x125)](i));if(!h)throw E(0x129)+i+E(0x102);await this[E(0x12f)](h),g=h[E(0x11e)];}if(h)d=await h[E(0xd1)](b,c);else throw E(0x142);}catch(j){Log['error'](j);}return d;}[a97v(0x110)](a){const F=a97v,b=a?.['split'](':');if(!b||b[F(0x138)]===0x0)return Log[F(0x149)]('Generator\x20format\x20is\x20incorrect'),null;let c=this[F(0x11e)],d;for(const e of b){d=c[F(0x123)](f=>f[F(0x125)](e));if(!d)return Log['error'](F(0x129)+e+'\x20not\x20found'),null;c=d[F(0x11e)];}return d||null;}async[a97v(0xd1)](a,b){const G=a97v,c=a[G(0x132)]();b['resourceName']=c[0x0];try{const d=await this['fsi'][G(0x12c)](),f=d[G(0x13c)]===G(0xd5)?ColorMode[G(0xe5)]:ColorMode[G(0x11d)];Log['setColorMode'](f),await this['validateMakaSubscription'](this);const g=a[0x0]===_prevGen||a[G(0x138)]===0x0&&this[G(0x11e)][G(0x138)]>=0x0,h=b[G(0x13e)]||b['h'];if(g&&h){if(this['_generators'][G(0x138)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[G(0x13d)][G(0x134)]){const i=this[G(0xe0)]();if(!i)throw new MustBeInProjectError();}if(this[G(0x13d)][G(0x12d)]){const j=this[G(0x111)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[G(0x13d)][G(0xf8)]===G(0x107)){if(a[G(0x138)]<this[G(0x13d)][G(0xf8)]){Log[G(0x149)](G(0x13a));throw new UsageError();}}if(typeof this['options']['maxArgLength']==='number'){if(a[G(0x138)]>this[G(0x13d)]['maxArgLength']){Log[G(0x149)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[G(0x13d)][G(0xdd)]==='number'){if(Object[G(0xd0)](b)[G(0x138)]<this['options'][G(0xdd)]){Log[G(0x149)](G(0x136));throw new UsageError();}}if(typeof this['options'][G(0x10d)]===G(0x107)){if(Object['keys'](b)[G(0x138)]>=this[G(0x13d)][G(0x10d)]){Log[G(0x149)]('Too\x20many\x20options');throw new UsageError();}}}this[G(0x13d)][G(0xea)]&&this[G(0xef)](this[G(0x13d)]['requiredEngines']);await this[G(0xe7)](a,b,this[G(0x13d)]);if(!b[G(0xcc)]&&!this['options'][G(0x14d)]){Log[G(0x149)](G(0x124));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[G(0x126)](k),process[G(0x145)](0x1);}return await inside(b[G(0xfd)],async()=>{const H=G;try{if(!b['root']&&!this[H(0x143)][H(0x12e)]())throw new MustBeInProjectError();const l=b[H(0xcc)]?.[H(0xde)](/\\/g,'/')['split']('/');!b[H(0xf0)]&&(l?.[H(0x138)]>0x1?(b[H(0xcc)]=l[H(0xe4)](),c[0x0]=b[H(0xcc)],b['dir']=l[H(0x14a)](n=>{return paramCase(n);})[H(0xdf)](a97e[H(0xce)])):b[H(0xf0)]='');if(this[H(0x13d)]['checkWhere']){if(!b[H(0xd7)]){const o={'type':'list','name':'colLocAnswer','message':H(0xf6),'choices':[{'name':'Client','value':H(0x12b)},{'name':H(0xd6),'value':H(0xe9)},{'name':H(0xed),'value':H(0xcf)}]},{colLocAnswer:p}=await Actions[H(0x13d)](o);p?b[H(0xd7)]=p:b['where']=H(0xcf);}const n=[H(0xcf),H(0x12b),H(0xe9)];if(!n[H(0x140)](b[H(0xd7)])){Log[H(0x149)](H(0xeb));throw new UsageError();}switch(b[H(0xd7)]){case'both':b[H(0xd2)]=H(0x128);break;case H(0xe9):b[H(0xd2)]=H(0xe9);break;case'client':b[H(0xd2)]=H(0x12b);break;default:b[H(0xd2)]='';}}const m=await this[H(0x11a)][H(0xd4)](this,c,b);return this['addToHistory']({'params':{'args':c,'opts':this['fsi'][H(0x14e)](b)},'success':m?.['success'],'message':m?.[H(0x148)],'details':m?.['details']}),m;}catch(q){this[H(0x126)](q);}});}[a97v(0xf4)](){const I=a97v;this['tableList'](this[I(0x11e)]);}[a97v(0x126)](a){const J=a97v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this['options'];Log['usage'](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[J(0x115)]('Generators:'),this[J(0xf2)](this[J(0x11e)]);else{if(a instanceof MustBeInProjectError)Log[J(0x149)](J(0xf7));else{if(a instanceof NoMeteorFoundError)Log[J(0x149)](J(0xe2)),Log[J(0x115)](J(0x10a));else a instanceof NoMeteorAppFoundError&&Log['error']('There\x20is\x20no\x20Meteor\x20application\x20here');}}}[a97v(0xf2)](a){const K=a97v,b=new a97g({});b[K(0x116)](['Name','Alias',K(0x127)]),a[K(0x121)]((c,d)=>{const L=K;return c[L(0x105)][L(0x108)](d['name']);})[K(0xec)](c=>{const M=K;b[M(0x116)]([c['name'],c[M(0xcd)](),c[M(0x113)]()]);}),Log[K(0x117)](b['toString']());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a98d,c=a();while(!![]){try{var d=-parseInt(f(0x12c))/0x1+parseInt(f(0x129))/0x2+parseInt(f(0x131))/0x3+parseInt(f(0x128))/0x4+-parseInt(f(0x124))/0x5*(parseInt(f(0x126))/0x6)+parseInt(f(0x12a))/0x7*(-parseInt(f(0x125))/0x8)+-parseInt(f(0x130))/0x9*(-parseInt(f(0x12b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x3f2d6));var a98b=(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;};}()),a98a=a98b(this,function(){var g=a98d;return a98a['toString']()[g(0x12f)](g(0x127))[g(0x12d)]()[g(0x12e)](a98a)[g(0x12f)](g(0x127));});a98a();import'./services/_index.js';import'./api.js';import'./collection.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x124;var f=c[d];return f;},a98d(a,b);}import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';function a98c(){var h=['constructor','search','1688571PCCrsl','313293vIoLmm','6770vJgEBn','16vcnzCa','162bMRUYE','(((.+)+)+)+$','207756OjcSZK','794150ZPwbjE','1358497zLoPcb','10dfrGeL','57590dQBomq','toString'];a98c=function(){return h;};return a98c();}
1
+ (function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(0x16a))/0x1*(-parseInt(f(0x16d))/0x2)+-parseInt(f(0x16e))/0x3*(parseInt(f(0x168))/0x4)+parseInt(f(0x165))/0x5*(parseInt(f(0x161))/0x6)+-parseInt(f(0x16c))/0x7+-parseInt(f(0x163))/0x8+parseInt(f(0x162))/0x9*(-parseInt(f(0x164))/0xa)+parseInt(f(0x160))/0xb*(parseInt(f(0x166))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x461e6));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0x169)]()[h(0x167)](h(0x16b))[h(0x169)]()[h(0x16f)](a98a)[h(0x167)](h(0x16b));});function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x160;var f=c[d];return f;},a98d(a,b);}a98a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';function a98c(){var i=['constructor','apply','7953781eRlRtJ','2737218fpksBi','27wbjBbk','150648YMBBah','713840svzxDQ','5ukVarR','24jlBbAU','search','4cpMCRx','toString','291sGtzoX','(((.+)+)+)+$','3650458SVMQQE','2878LbjMMB','1325739YKhrCZ'];a98c=function(){return i;};return a98c();}import'./dockerfile.js';import'./maka.gen.js';