@maka/maka-cli 4.7.26 → 4.7.27

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 +4 -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 a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0x141))/0x1*(-parseInt(l(0x14a))/0x2)+-parseInt(l(0x164))/0x3+-parseInt(l(0x142))/0x4+-parseInt(l(0x159))/0x5+-parseInt(l(0x152))/0x6+-parseInt(l(0x148))/0x7+-parseInt(l(0x149))/0x8*(-parseInt(l(0x165))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xcbe38));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0x145)]()['search'](n(0x15e))['toString']()[n(0x13a)](a78a)[n(0x15f)](n(0x15e));});function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x13a;let f=c[d];return f;},a78d(a,b);}a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const q=['header','5608980sALiXj','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','success','/api/v1/status','setGlobalConfig','(((.+)+)+)+$','search','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','exit','True','assign','2380008gknsne','27uMUjRp','maka\x20logout','cert','token','get','apply','create','start','constructor','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','MAKA_DEV','www.maka-cli.com','env','cacert','post','138637QXiaai','4809160YwsLhe','Using\x20CA\x20Cert\x20','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','toString','withSpinner','error','11572988zJARKm','16823992JKMVyU','2WSkxCn','localhost','https://','fsi','Logging\x20out','authToken','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','3387156cehGMD','Preflight\x20Check','/api/v1/logoutAll','failure','isFile','Logging\x20out\x20of\x20https://'];a78c=function(){return q;};return a78c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0x13e)][a78o(0x13c)]===a78o(0x162)?a78o(0x14b):a78o(0x13d);Command[a78o(0x16b)]({'name':'logout','validOpts':[a78o(0x13f)],'usage':a78o(0x166),'maxArgLength':0x2,'shortDesc':a78o(0x144),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a78o,c=Log[p(0x146)]();try{let d='';b[p(0x13f)]&&(this[p(0x14d)][p(0x156)](b['cacert'])?(d=b['cacert'],Log['notice'](p(0x143)+d)):Log[p(0x147)](p(0x151)+d));const f=await this[p(0x14d)]['getGlobalConfig']();if(f['cert']){if(this['fsi'][p(0x156)](f[p(0x167)]))d=f[p(0x167)];else{c[p(0x155)]();throw Log[p(0x147)](p(0x150)+d);}}Log[p(0x158)](p(0x157)+hostname);const g={'url':p(0x14c)+hostname+p(0x15c)};b[p(0x13f)]&&Object[p(0x163)](g,{'cert':d});c[p(0x16c)](p(0x153));const {statusCode:h}=await HTTPS[p(0x169)](g);if(h===0x198){c['failure']();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c['success']();if(h!==0xc8){c[p(0x155)]();throw p(0x160);}if(!f?.[p(0x168)]?.['authToken'])throw Log[p(0x147)](p(0x13b));c[p(0x16c)](p(0x14e));const i={'hostname':hostname,'path':p(0x154),'data':{},'headers':{'x-auth-token':f['token'][p(0x14f)]}};b[p(0x13f)]&&Object[p(0x163)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x140)](i);if(j===0x198){c[p(0x155)]('\x0a');throw p(0x15a);}this[p(0x14d)][p(0x15d)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x15b)]();}catch(k){k&&console[p(0x147)](k),process[p(0x161)](0x0);}});
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 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0xf5))/0x1*(-parseInt(j(0xe5))/0x2)+parseInt(j(0xeb))/0x3*(-parseInt(j(0xe3))/0x4)+parseInt(j(0xed))/0x5*(parseInt(j(0xf1))/0x6)+parseInt(j(0xf0))/0x7*(-parseInt(j(0xf2))/0x8)+-parseInt(j(0xdc))/0x9*(-parseInt(j(0xf6))/0xa)+-parseInt(j(0xea))/0xb+parseInt(j(0xdd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x93f69));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0xec)]()['search'](l(0xe4))['toString']()[l(0xf8)](a79a)[l(0xdb)](l(0xe4));});a79a();import a79e from'fs';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xda;let f=c[d];return f;},a79d(a,b);}import a79f from'path';import{Command}from'../command.js';function a79c(){const o=['maka\x20logs','constructor','log','env','join','search','43596ltjjvd','7658604iSBtQw','maka\x20logs\x20--env\x20staging','sshSync','fsi','ssh.json','error','4UHTozx','(((.+)+)+)+$','85512gRsZbd','apply','parse','create','logs','7145380JrtbPs','3410397fNBLeX','toString','27095dlPYFZ','maka\x20logs\x20--env\x20dev','maka\x20l\x20-e\x20p','266KkdSCv','786jCGWIy','188776CfivNM','verbose','getAppConfigPath','19dLoBJJ','2330cwDOft'];a79c=function(){return o;};return a79c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0xe8)]({'name':a79m(0xe9),'aliases':['l',a79m(0xf9)],'usage':a79m(0xf7),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[a79m(0xf3)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a79m(0xee),a79m(0xde),a79m(0xef)]},function(a,b){const n=a79m;try{const c='pm2\x20logs',d=this[n(0xe0)][n(0xf4)](b[n(0xfa)]),f=a79f[n(0xda)](d,n(0xe1)),g=a79e['readFileSync'](f),h=JSON[n(0xe7)](g['toString']());Object['assign'](h,{'env':d}),SSH[n(0xdf)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0xe2)](i);}});
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 +1 @@
1
- const a80i=a80d;function a80c(){const k=['1176009aBzOQG','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20run','(((.+)+)+)+$','1090lSpGyI','search','70630RDdvTB','maka\x20create\x20Todo','processAndRunCommand','constructor','7616280cztmpd','splice','11688XsgrDg','14938LnrQxW','maka\x20<command>\x20[<args>]\x20[<opts>]','maka','apply','2331034rtqoId','162rFcYup','1XUTuek','6580164ihoxKG','10116rLskVV','toString'];a80c=function(){return k;};return a80c();}(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0x1d5))/0x1*(parseInt(f(0x1d3))/0x2)+-parseInt(f(0x1d9))/0x3+parseInt(f(0x1d6))/0x4+parseInt(f(0x1df))/0x5*(parseInt(f(0x1d4))/0x6)+-parseInt(f(0x1e3))/0x7+-parseInt(f(0x1e5))/0x8*(-parseInt(f(0x1d7))/0x9)+parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1e6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xd5a11));function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a80d(a,b);}const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x1d8)]()['search'](h(0x1dc))['toString']()[h(0x1e2)](a80a)[h(0x1de)](h(0x1dc));});a80a();import{Command}from'../command.js';const Maka=new Command({'name':a80i(0x1e8),'minArgLength':0x1,'shortDesc':a80i(0x1da),'validOpts':[],'usage':a80i(0x1e7),'disableAuthCheck':!![],'examples':['maka\x20--help','maka\x20install\x20meteor',a80i(0x1e0),a80i(0x1db)],'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(0x1e4)](0x0,0x1),await this[j(0x1e1)](c,a,b);}catch(d){process['exit'](0x1);}});export default Maka;
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 +1 @@
1
- var a81i=a81d;function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1be;var f=c[d];return f;},a81d(a,b);}function a81c(){var k=['2728716OKwcjB','create','2847eiYDlL','error','357462NFpCcx','20CMbrlJ','6104pOnmrp','search','36680TVircv','(((.+)+)+)+$','23665JQqjWG','45978vyNjtw','constructor','1390McvPdX','murder','font-family:\x20monospace','apply','139BumLwr','log','136cbyqYo','toString','exit','22cmrVYu','13374DBCCFS','maka\x20murder','132hULmpR','%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'];a81c=function(){return k;};return a81c();}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x1c1))/0x1*(-parseInt(f(0x1d1))/0x2)+parseInt(f(0x1d6))/0x3*(-parseInt(f(0x1d0))/0x4)+-parseInt(f(0x1d5))/0x5*(-parseInt(f(0x1c9))/0x6)+-parseInt(f(0x1cf))/0x7*(-parseInt(f(0x1c3))/0x8)+parseInt(f(0x1c7))/0x9*(parseInt(f(0x1d8))/0xa)+parseInt(f(0x1c6))/0xb*(-parseInt(f(0x1cb))/0xc)+-parseInt(f(0x1cd))/0xd*(parseInt(f(0x1d3))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x798aa));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1c4)]()[h(0x1d2)](h(0x1d4))[h(0x1c4)]()[h(0x1d7)](a81a)[h(0x1d2)](h(0x1d4));});a81a();import{Command}from'../command.js';Command[a81i(0x1cc)]({'name':a81i(0x1be),'usage':a81i(0x1c8),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a81i;try{console[j(0x1c2)](j(0x1ca),j(0x1bf));}catch(a){console[j(0x1ce)](a),process[j(0x1c5)](0x0);}});
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 +1 @@
1
- const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0xe5))/0x1*(parseInt(m(0xc6))/0x2)+parseInt(m(0xc8))/0x3+-parseInt(m(0xca))/0x4+-parseInt(m(0xc2))/0x5+parseInt(m(0xd9))/0x6*(-parseInt(m(0xee))/0x7)+-parseInt(m(0xc3))/0x8*(-parseInt(m(0xf0))/0x9)+-parseInt(m(0xd3))/0xa*(-parseInt(m(0xe3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xdd3f8));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0xda)]()[o(0xd8)](o(0xe6))['toString']()[o(0xc9)](a82a)[o(0xd8)](o(0xe6));});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';function a82c(){const r=['2436064HIaiUe','maka\x20proxy','getAppConfigPath','1014034eDNRCT','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','5377215LGNoTq','constructor','4317976tVGZtG','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.crt','readFileSync','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','help','bright','isFile','utf8','528610gbjhBg','localhost','targetPort','=>\x20SSL\x20Proxy\x20forwarding\x20','appName','search','6hkWrIu','toString','join','.key','error','development','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','fsi','processAndRunGenerator','apply','275vWWpfS','.csr','1ZeMJuA','(((.+)+)+)+$','\x20to\x20','sslconfig','targetHost','genSSC','create','genCSR','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','2340989dZgPkc','createProxyServer','9oqjGYs','2956340PNJspq'];a82c=function(){return r;};return a82c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xc2;let f=c[d];return f;},a82d(a,b);}import a82h from'../generators/maka.gen.js';Command[a82p(0xeb)]({'name':'proxy','usage':a82p(0xc4),'mustBeInMakaProject':!![],'validOpts':[a82p(0xcf),a82p(0xd5),'listenPort',a82p(0xe9)],'maxArgLength':0x1,'shortDesc':a82p(0xed),'description':a82p(0xce),'examples':[a82p(0xc4),a82p(0xdf),a82p(0xcb)]},async function(a,b){const q=a82p,c=this[q(0xe0)]['getMakaProjectConfig'](),d=q(0xde),e=this[q(0xe0)][q(0xc5)](d),f=this[q(0xe0)]['mkKeysDir']({'configPath':e}),g=b['targetPort']?Number(b['targetPort']):0xbb8,h=b['listenPort']?Number(b['listenPort']):0xd73,i=b['targetHost']?b[q(0xe9)]:q(0xd4),j=a82f['join'](f,c[q(0xd7)]+q(0xdc)),k=a82f[q(0xdb)](f,c[q(0xd7)]+q(0xcc));(!this[q(0xe0)][q(0xd1)](j)||!this[q(0xe0)]['isFile'](k))&&(await a82h[q(0xe1)](q(0xe8),[],{'env':d}),SSL[q(0xec)]({'keyName':c[q(0xd7)]+'.key','csrName':c['appName']+q(0xe4),'cwd':f}),SSL[q(0xea)]({'keyName':c[q(0xd7)]+q(0xdc),'crtName':c[q(0xd7)]+q(0xcc),'cwd':f}));if(g===h){Log[q(0xdd)](q(0xc7));throw new UsageError();}const l={'ssl':{'key':a82e[q(0xcd)](j,q(0xd2)),'cert':a82e[q(0xcd)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0xef)](l)['listen'](Number(h)),Log[q(0xd0)](q(0xd6)+h+q(0xe7)+g);});
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 +1 @@
1
- const a83p=a83d;function a83c(){const r=['_keys','existsSync','17292ZdZvJG','4164WNgxhr','45mmPdyU','create','fsi','readFileSync','sshSync','getAppConfigPath','Remote\x20host\x20connection\x20successful','45414knWcmD','settings.json','50NbXOEZ','(((.+)+)+)+$','join','notice','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','success','scp','2NRWXFj','parse','pm2.config.js','318470mgQjUX','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','reconfigure','Checking\x20remote\x20host\x20availability','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','maka\x20reconfig\x20--env\x20prod','constructor','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','search','6965RIpybC','~/settings.json','2024934SyrzMU','327042xyYFIG','7194vLlwne','assign','env','reconfig','112JWiyDE','maka\x20reconfig','toString'];a83c=function(){return r;};return a83c();}(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0x132))/0x1*(-parseInt(n(0x135))/0x2)+-parseInt(n(0x129))/0x3+-parseInt(n(0x14b))/0x4*(parseInt(n(0x14d))/0x5)+parseInt(n(0x140))/0x6+parseInt(n(0x13e))/0x7*(parseInt(n(0x146))/0x8)+parseInt(n(0x141))/0x9*(-parseInt(n(0x12b))/0xa)+parseInt(n(0x142))/0xb*(-parseInt(n(0x14c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x32970));const a83b=(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;};}()),a83a=a83b(this,function(){const o=a83d;return a83a[o(0x148)]()[o(0x13d)](o(0x12c))['toString']()[o(0x13b)](a83a)[o(0x13d)](o(0x12c));});a83a();import a83e from'fs';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x123;let f=c[d];return f;},a83d(a,b);}import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83p(0x123)]({'name':a83p(0x137),'aliases':[a83p(0x145)],'validOpts':[''],'requiredOpts':[a83p(0x144)],'mustBeInMakaProject':!![],'usage':a83p(0x147),'shortDesc':a83p(0x139),'description':a83p(0x12f),'examples':[a83p(0x13a)]},async function(a,b){const q=a83p;try{const c=this[q(0x124)][q(0x127)](b[q(0x144)]),d=a83f[q(0x12d)](c,'ssh.json'),f=a83e[q(0x125)](d)[q(0x148)](),g=JSON[q(0x133)](f);Object[q(0x143)](g,{'env':c}),Log[q(0x12e)](q(0x138));const h=SSH['ping']('uname\x20-a',g);if(!h)throw q(0x136);if(h)Log[q(0x130)](q(0x128));const i=a83f[q(0x12d)](c,q(0x149),'ses.json');if(a83e[q(0x14a)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[q(0x131)](l,{...g});}const j=a83f['join'](c,q(0x134));SSH[q(0x131)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a83f[q(0x12d)](c,q(0x12a));SSH['scp']({'source':k,'dest':q(0x13f),'verbose':!![]},{...g}),SSH[q(0x126)]('pm2\x20delete\x20all',g),await SSH['ssh'](q(0x13c),{...g},{'verbose':!![]});}catch(m){console['error'](m),process['exit'](0x0);}});
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 +1 @@
1
- (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x1b1))/0x1+parseInt(f(0x1ba))/0x2+parseInt(f(0x1b9))/0x3*(-parseInt(f(0x1bd))/0x4)+parseInt(f(0x1b6))/0x5+parseInt(f(0x1b5))/0x6+-parseInt(f(0x1bf))/0x7*(-parseInt(f(0x1b3))/0x8)+-parseInt(f(0x1bc))/0x9*(parseInt(f(0x1b2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xf02a7));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x1b8)]()[h(0x1b4)](h(0x1b7))[h(0x1b8)]()[h(0x1be)](a84a)[h(0x1b4)](h(0x1b7));});function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a84d(a,b);}a84a();import'./run.command.js';function a84c(){var i=['9321JxgcYD','826458DpDZEB','apply','135FAZvpi','516CCpHoD','constructor','1108471AfeFZY','196165xGgrem','1733860bLELFl','24NbuDQj','search','9449244CYvDzm','8591575rdkVOo','(((.+)+)+)+$','toString'];a84c=function(){return i;};return a84c();}import'./docker.sub.cmd.js';
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 +1 @@
1
- const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=-parseInt(i(0x13d))/0x1*(-parseInt(i(0x12f))/0x2)+parseInt(i(0x139))/0x3+parseInt(i(0x125))/0x4*(parseInt(i(0x132))/0x5)+parseInt(i(0x138))/0x6+-parseInt(i(0x130))/0x7+-parseInt(i(0x128))/0x8*(parseInt(i(0x12b))/0x9)+-parseInt(i(0x136))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x2dc56));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a['toString']()[k(0x13e)](k(0x121))['toString']()[k(0x126)](a85a)[k(0x13e)](k(0x121));});function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x120;let f=c[d];return f;},a85d(a,b);}a85a();import a85e from'./run.command.js';import{execSync}from'child_process';function a85c(){const n=['64RChVVV','join','create','158346vSxtiG','existsSync','pm2.config.js','\x20up\x20--remove-orphans','6916YvHLUC','2186198Igqszd','docker-compose\x20--project-directory\x20','30FsgpnU','docker-compose.yaml','exit','Docker\x20Compose\x20Path:\x20','1380450JmWvEm','getAppConfigPath','750hXomXZ','242646gmQYOc','fsi','appName','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','98NLCTWL','search','apply','docker','getMakaProjectConfig','notice','(((.+)+)+)+$','inherit','\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','createFile','239132vNOJkd','constructor','config/docker-compose.yaml'];a85c=function(){return n;};return a85c();}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(0x12a)]({'name':a85l(0x140),'aliases':['d'],'shortDesc':a85l(0x13c),'description':a85l(0x123),'usage':'maka\x20run\x20docker','isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0x13a)][m(0x141)](),b=this[m(0x13a)][m(0x137)]('docker'),c=a85f['join'](b,m(0x133)),d=a85f[m(0x129)](b,m(0x12d));Log[m(0x120)]('PM2\x20Config\x20File:\x20'+d),Log[m(0x120)](m(0x135)+c);if(!a85g[m(0x12c)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x13b)])},g=this[m(0x13a)]['templateContent']({'srcPath':m(0x127),'context':f})+'\x0a';this[m(0x13a)][m(0x124)]({'filePath':c,'data':g});}execSync(m(0x131)+b+m(0x12e),{'stdio':m(0x122)});}catch(h){process[m(0x134)](0x1);}},a85e);
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 +1 @@
1
- const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x16c))/0x1*(parseInt(p(0x148))/0x2)+parseInt(p(0x16a))/0x3+parseInt(p(0x164))/0x4*(-parseInt(p(0x14b))/0x5)+parseInt(p(0x151))/0x6+parseInt(p(0x155))/0x7+parseInt(p(0x13d))/0x8+parseInt(p(0x179))/0x9*(-parseInt(p(0x16d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x3da02));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x157)]()[r(0x150)](r(0x178))['toString']()['constructor'](a86a)[r(0x150)]('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';function a86c(){const w=['672138sKuhBE','splice','51830QEnUxr','230idXqkX','warn','.meteor','extraPackages','findProjectDirectory','isDirectory','invokeMeteorCommand','autoupdate','--settings','env','development','(((.+)+)+)+$','165852oNUpWa','run','Run\x20your\x20Meteor\x20application','990088AQgUtu','port','createFile','split','apply','\x22web.browser.legacy,web.cordova\x22','settings.json','filter','fsi','cordova-build','allowIncompatibleUpdate','12aThnbg','excludeArchs','rawLogs','952330dlUOVz','app','verbose','join','info','search','763608iBJRUX','--production','settings','openSync','564711TMmsET','production','toString','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','config','create','mobileServer','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','notice','sep','--env','inspect','ios','length','4NuyVos','--exclude-archs','checkMeteorPackage','Node\x20Env\x20Config:\x20','isFile','concat'];a86c=function(){return w;};return a86c();}import{rimraf}from'rimraf';import{Command}from'../../command.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x13b;let f=c[d];return f;},a86d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f[s(0x154)](a,'r'),a86g[s(0x15a)]({'path':a});},Run=Command[a86t(0x15b)]({'name':a86t(0x13b),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0x13c),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','validOpts':[a86t(0x176),a86t(0x14a),a86t(0x13e),a86t(0x161),a86t(0x15c),a86t(0x14d),a86t(0x147),a86t(0x170),'x',a86t(0x149),a86t(0x156),'ci']},async function(a,b){const u=a86t;try{await this['fsi'][u(0x166)](u(0x174),{'shouldInstall':!![]});const c=a[0x0];if(c===u(0x162)){const l=this[u(0x145)][u(0x171)](),m=a86e[u(0x14e)](l,u(0x14c),u(0x16f),'local',u(0x146));this[u(0x145)][u(0x172)](m)&&await rimraf(m);}!b[u(0x149)]&&!b['x']&&(a=a[u(0x169)]([u(0x165),u(0x142)]));if(b[u(0x15c)]&&typeof b[u(0x15c)]==='boolean')throw u(0x158);const d=b['env']?b[u(0x176)]:u(0x177),f=this[u(0x145)]['getAppConfigPath'](d),g=a86e[u(0x14e)](f,'process.env');let h=a86e[u(0x14e)](f,u(0x143));b[u(0x153)]?h=b[u(0x153)]:h=a86e['join'](f,'settings.json');this[u(0x145)]['isFile'](g)?(Log['notice'](u(0x167)+g),syncSource(g)):(Log[u(0x14f)](u(0x15d)+g),this[u(0x145)][u(0x13f)]({'filePath':g,'data':''}));this[u(0x145)][u(0x168)](h)?(Log[u(0x15e)]('Meteor\x20Settings:\x20'+h),a=a[u(0x169)]([u(0x175),h])):Log[u(0x16e)](u(0x159)+h);const i=f[u(0x140)](a86e[u(0x15f)]),j=i[i[u(0x163)]-0x1];j===u(0x156)&&a['push'](u(0x152));const k=process['argv']['slice'](0x2)[u(0x144)](n=>n!=='run')[u(0x144)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x160)&&k['splice'](o,0x2),n==='-e'&&k[v(0x16b)](o,0x2);}),this[u(0x145)][u(0x173)](u(0x13b),a[u(0x169)](k));}catch(n){Log['error'](n),process['exit'](0x1);}});export default Run;
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 +1 @@
1
- (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xb9))/0x1+parseInt(f(0xba))/0x2+parseInt(f(0xb8))/0x3*(parseInt(f(0xb5))/0x4)+-parseInt(f(0xbb))/0x5+parseInt(f(0xb6))/0x6*(-parseInt(f(0xaf))/0x7)+parseInt(f(0xbd))/0x8+-parseInt(f(0xb4))/0x9*(parseInt(f(0xb7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xae155));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xb3)]()[h(0xb2)](h(0xb1))['toString']()[h(0xb0)](a87a)[h(0xb2)](h(0xb1));});function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xaf;var f=c[d];return f;},a87d(a,b);}a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a87c(){var i=['apply','9518952yEyKMT','259JshJru','constructor','(((.+)+)+)+$','search','toString','5706RrneyH','60YtmDbW','117780qcKTWj','32830IqYpHp','280161gbgBkr','925661NMLFWL','2619736mjvqbY','6527130UKsdgR'];a87c=function(){return i;};return a87c();}
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 +1 @@
1
- const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x189))/0x1+parseInt(h(0x16d))/0x2*(parseInt(h(0x17c))/0x3)+parseInt(h(0x176))/0x4*(parseInt(h(0x170))/0x5)+-parseInt(h(0x179))/0x6*(-parseInt(h(0x16f))/0x7)+parseInt(h(0x17b))/0x8+parseInt(h(0x18a))/0x9+-parseInt(h(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x9409f));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x17a)]()[j(0x178)](j(0x18d))[j(0x17a)]()[j(0x177)](a88a)['search'](j(0x18d));});function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x16b;let f=c[d];return f;},a88d(a,b);}a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88c(){const m=['boolean','Set\x20OpenAI\x20Key:\x20','help','global-config','940348DrSaiE','10324629lAMdqe','pallet','allowInsecure','(((.+)+)+)+$','cacert','error','50952430TLGtQq','openai','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','Set\x20global\x20Maka-CLI\x20settings','apply','maka\x20set:global-config','Set\x20allowInsecure:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','setGlobalConfig','maka\x20set:gc\x20--workspace\x20<path>','fsi','2194566wYhXFW','disallowInsecure','259KlbSAh','50jBIPsK','Could\x20not\x20find\x20directory','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','resolve','isFile','Set\x20CA\x20Cert\x20Path:\x20','447304sSTFQM','constructor','search','132684OqrBkF','toString','4642560tNbXzf','3PbKrQL','Set\x20workspace:\x20','success','maka\x20set:global-config\x20--cacert\x20<path>','workspace','isDirectory','Set\x20color\x20pallet\x20to:\x20','One\x20or\x20the\x20other\x20buddy','light'];a88c=function(){return m;};return a88c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a88k(0x188),'usage':a88k(0x195),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x18e),'boolFlag':![]},{'name':a88k(0x18c),'boolFlag':!![]},{'name':a88k(0x16e),'boolFlag':!![]},{'name':a88k(0x180),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a88k(0x187),'boolFlag':!![]},{'name':'pallet','values':[a88k(0x184),'dark']}],'shortDesc':a88k(0x193),'description':a88k(0x192),'examples':[a88k(0x17f),'maka\x20set:gc\x20--insecure\x20<path>',a88k(0x16b)]},async function(a,b){const l=a88k;try{if(b[l(0x18e)]){if(this[l(0x16c)][l(0x174)](b[l(0x18e)]))await this[l(0x16c)][l(0x198)]({'cert':b[l(0x18e)]}),Log[l(0x17e)](l(0x175)+b[l(0x18e)]);else{const c=typeof b[l(0x18e)]===l(0x185)?l(0x197):l(0x172)+b[l(0x18e)];throw Log[l(0x18f)](c);}}if(b[l(0x180)]){const d=this[l(0x16c)][l(0x181)](b[l(0x180)]);if(d)await this['fsi'][l(0x198)]({'workspace':a88e['resolve'](b['workspace'])}),Log[l(0x17e)](l(0x17d)+a88e[l(0x173)](b[l(0x180)]));else throw Log['error'](l(0x171));}b[l(0x191)]&&(await this[l(0x16c)][l(0x198)]({'openai':b[l(0x191)]}),Log[l(0x17e)](l(0x186)+b[l(0x191)]));b[l(0x18b)]&&(await this[l(0x16c)][l(0x198)]({'pallet':b[l(0x18b)]}),Log[l(0x17e)](l(0x182)+b[l(0x18b)]));if(b['allowInsecure']){if(b[l(0x18c)]&&b[l(0x16e)])throw Log['error'](l(0x183));let f=b['allowInsecure'];b['disallowInsecure']&&(f=![]),await this[l(0x16c)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x17e)](l(0x196)+f);}process['exit'](0x0);}catch(g){console[l(0x18f)](g),process['exit'](0x0);}},a88f);
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 +1 @@
1
- var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x1eb))/0x1*(parseInt(f(0x1fc))/0x2)+-parseInt(f(0x1ee))/0x3*(parseInt(f(0x1f3))/0x4)+parseInt(f(0x1e6))/0x5*(-parseInt(f(0x1f5))/0x6)+parseInt(f(0x1ed))/0x7+parseInt(f(0x1fb))/0x8+parseInt(f(0x1f0))/0x9*(-parseInt(f(0x1f4))/0xa)+parseInt(f(0x1f7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x4fae8));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x1f9)]()[h(0x1f2)](h(0x1ef))[h(0x1f9)]()[h(0x1ec)](a89a)[h(0x1f2)](h(0x1ef));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x1e6;var f=c[d];return f;},a89d(a,b);}function a89c(){var k=['1174606RhzaJe','1525YYNRDh','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Set\x20local\x20maka\x20app\x20settings','local-config','notice','1jnuWKU','constructor','1933022iElctt','1576671aTxqfv','(((.+)+)+)+$','18MTysFm','Sorry,\x20not\x20implemented\x20yet','search','4PAbgdK','2734510nexFLn','7914USTqNV','create','20759387CWlYgS','apply','toString','maka\x20set:local-config','1800560TzEOnl'];a89c=function(){return k;};return a89c();}Command[a89i(0x1f6)]({'name':a89i(0x1e9),'usage':a89i(0x1fa),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x1e8),'validOpts':[],'description':a89i(0x1e7)},async function(){var j=a89i;Log[j(0x1ea)](j(0x1f1));},a89e);
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 +1 @@
1
- const a90h=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0x1bb))/0x1+-parseInt(f(0x1b9))/0x2+parseInt(f(0x1bc))/0x3*(-parseInt(f(0x1ba))/0x4)+-parseInt(f(0x1b5))/0x5+-parseInt(f(0x1bd))/0x6+-parseInt(f(0x1b4))/0x7+-parseInt(f(0x1b8))/0x8*(-parseInt(f(0x1bf))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x86edc));function a90c(){const j=['5924408bHzuJt','55176TKHMvQ','4RXKAwD','853134MGYxYY','1132449YVxfOE','3786738sXCblu','set','27FscEMX','runSubCommand','constructor','search','create','maka\x20set:<sub-command>','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','toString','5582962wGrgZD','3441795RCdozd','\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','(((.+)+)+)+$'];a90c=function(){return j;};return a90c();}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const g=a90d;return a90a[g(0x1b3)]()[g(0x1af)](g(0x1b7))[g(0x1b3)]()[g(0x1c1)](a90a)[g(0x1af)](g(0x1b7));});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1af;let f=c[d];return f;},a90d(a,b);}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90h(0x1b0)]({'name':a90h(0x1be),'usage':a90h(0x1b1),'shortDesc':a90h(0x1b2),'description':a90h(0x1b6),'validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this['findSubCommand'](c);d&&this[i(0x1c0)](c,a,b);});export default SetCommand;
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 +1 @@
1
- function a91c(){const o=['env','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','verbose','11889vWyGEw','309098tLiNzW','3264TUyOex','9259460ADMqQD','5HkFPNO','440231dRWlgW','assign','5144982hupHZB','parse','4jolUOU','fsi','(((.+)+)+)+$','create','length','toString','sshSync','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','ssh','exit','constructor','1481070RpMLrv','maka\x20ssh\x20--env\x20prod','search','maka\x20ssh\x20<command>','1480416lRnvhU','error','20rFNojk'];a91c=function(){return o;};return a91c();}const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x1bc))/0x1+parseInt(j(0x1b4))/0x2+-parseInt(j(0x1b0))/0x3*(-parseInt(j(0x1c4))/0x4)+parseInt(j(0x1bf))/0x5*(parseInt(j(0x1c2))/0x6)+-parseInt(j(0x1be))/0x7+parseInt(j(0x1bd))/0x8*(parseInt(j(0x1bb))/0x9)+-parseInt(j(0x1b6))/0xa*(parseInt(j(0x1c0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xe03ab));function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x1af;let f=c[d];return f;},a91d(a,b);}const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x1c9)]()[l(0x1b2)](l(0x1c6))[l(0x1c9)]()[l(0x1af)](a91a)[l(0x1b2)]('(((.+)+)+)+$');});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0x1c7)]({'name':a91m(0x1cc),'usage':a91m(0x1b3),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x1b7)],'validOpts':[a91m(0x1b7),a91m(0x1ba)],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging',a91m(0x1b1),a91m(0x1cb),a91m(0x1b9),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a91m;try{const c=this[n(0x1c5)]['getAppConfigPath'](b[n(0x1b7)]);let d='';a[n(0x1c8)]>0x0&&(d=a[0x0]);const f=a91f['join'](c,'ssh.json'),g=a91e['readFileSync'](f)['toString'](),h=JSON[n(0x1c3)](g);Object[n(0x1c1)](h,{'env':c}),SSH[n(0x1ca)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x1ba)]});}catch(i){Log[n(0x1b5)](i),process[n(0x1cd)](0x1);}});
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 +1 @@
1
- function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xd6;let f=c[d];return f;},a92d(a,b);}const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0xfd))/0x1*(parseInt(v(0x116))/0x2)+parseInt(v(0x108))/0x3*(-parseInt(v(0x102))/0x4)+parseInt(v(0x100))/0x5+-parseInt(v(0x10a))/0x6+parseInt(v(0xd7))/0x7+-parseInt(v(0xda))/0x8+-parseInt(v(0xe5))/0x9*(-parseInt(v(0x114))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xa0694));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xd8)]()[x(0xe3)](x(0x10b))[x(0xd8)]()[x(0x106)](a92a)[x(0xe3)](x(0x10b));});a92a();import a92e from'fs';import a92f from'path';function a92c(){const A=['The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','success','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','letsencrypt','generate-csr','3879070hxfWHe','stringify','6IubxOM','maka\x20ssl\x20[command]','Verifying\x20Letsencrypt\x20configuration','4531877JYIdMy','toString','domainNames','2547712PYdZvn','.key','Remote\x20host\x20connection\x20successful','[?]\x20Domains\x20to\x20register:\x20','emailUpdate','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20snap\x20install\x20--classic\x20certbot','.crt','appName','search','parse','63BOovfe','error','env','domains','Create\x20and\x20manage\x20your\x20SSL\x20operations.','generate-ssc','fsi','getMakaProjectConfig','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','ssl','withSpinner','New\x20CSR\x20written\x20to\x20','email','ssh','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','uname\x20-a','create','genCSR','apply','writeFileSync','existsSync','ask','exit','Email\x20to\x20use\x20for\x20auto-updates:\x20','272291UDKkth','notice','.csr','704080iNpHxM','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','199968ZLYStC','genSSC','letsencrypt.json','start','constructor','Please\x20provide\x20a\x20command.','36bMRXBk','readFileSync','6667746UYIMBJ','(((.+)+)+)+$','mkKeysDir','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','join'];a92c=function(){return A;};return a92c();}import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xf5)]({'name':a92y(0xee),'usage':a92y(0x117),'validOpts':[a92y(0xe8),a92y(0xf1)],'requiredOpts':[a92y(0xe7)],'shortDesc':a92y(0xe9),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0xdf),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a92y(0xed)]},async function(a,b){const z=a92y,c=this[z(0xeb)][z(0xec)](),d=this[z(0xeb)]['getAppConfigPath'](b['env']),f=this[z(0xeb)][z(0x10c)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x113))SSL[z(0xf6)]({'keyName':c['appName']+z(0xdb),'csrName':c[z(0xe2)]+z(0xff),'cwd':f});else{if(g===z(0xea)){if(!a92e[z(0xf9)](a92f[z(0x10e)](f,c['appName']+'.key')))throw z(0x10f)+a92f[z(0x10e)](f,c[z(0xe2)]+z(0xdb));if(!a92e[z(0xf9)](a92f[z(0x10e)](f,c['appName']+'.csr')))throw z(0x111)+a92f[z(0x10e)](f,c[z(0xe2)]+z(0xff));SSL[z(0x103)]({'keyName':c[z(0xe2)]+z(0xdb),'crtName':c[z(0xe2)]+z(0xe1),'cwd':f}),Log[z(0xfe)](z(0xf0)+f);}else{if(g===z(0x112)){let h=b[z(0xe8)],i=b[z(0xf1)];try{const p=a92e[z(0x109)](a92f[z(0x10e)](d,z(0x104)))[z(0xd8)](),q=JSON[z(0xe4)](p);h=b[z(0xe8)]?b['domains']:q[z(0xd9)],i=b[z(0xf1)]?b[z(0xf1)]:q[z(0xde)],(!b['email']||!b[z(0xe8)])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a92e[z(0x109)](d+'/ssh.json')[z(0xd8)]());Object['assign'](j,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{const s=SSH['ping'](z(0xf4),j);if(!s)throw z(0x10d);if(s)Log[z(0x110)](z(0xdc));}catch(t){Log[z(0xe6)](t);return;}const k=Log[z(0xef)]();k[z(0x105)](z(0xd6)),SSH['ssh'](z(0x101),{...j}),SSH[z(0xf2)](z(0xe0),{...j}),SSH['ssh'](z(0xf3),{...j}),k[z(0x110)]();const l=h?h:await Actions[z(0xfa)](z(0xdd)),m=i?i:await Actions[z(0xfa)](z(0xfc));SSH[z(0xf2)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x115)](n,null,0x2);a92e[z(0xf8)](a92f['join'](d,z(0x104)),o);}else throw z(0x107);}}}catch(u){console[z(0xe6)](u),process[z(0xfb)](0x0);}});
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 +1 @@
1
- const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x69))/0x1*(-parseInt(m(0x93))/0x2)+parseInt(m(0x6d))/0x3+-parseInt(m(0x91))/0x4+-parseInt(m(0x75))/0x5+-parseInt(m(0x78))/0x6*(parseInt(m(0x81))/0x7)+parseInt(m(0x6b))/0x8+parseInt(m(0xa4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x34a0e));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const n=a93d;return a93a['toString']()[n(0x6a)]('(((.+)+)+)+$')[n(0x8e)]()[n(0x83)](a93a)[n(0x6a)](n(0x9f));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x65;let f=c[d];return f;},a93d(a,b);}import{Command}from'../command.js';function a93c(){const s=['233100Elkfke','process.env','env','27702CZCnOe','create','parse','warn','development','filter','sanjo:jasmine','--driver','--settings','266JQPUuB','Cannot\x20find\x20Node\x20Environment\x20File:\x20','constructor','fsi','inspect','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','notice','driver','join','once','isFile','meteortesting:mocha','argv','toString','utf8','jasmine','607152OlFkOW','--full-app','20998Ysqiri','none','openSync','concat','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','driver-package','exit','.maka','config','settings.json','test','tests','(((.+)+)+)+$','maka\x20test','Meteor\x20Settings:\x20','testAppPath','readFileSync','3165246XhWzeg','engines','unit','invokeMeteorCommand','Node\x20Env\x20Config:\x20','29OcyBFq','search','1259624PiWSqj','--env','1154232SSRqcg','splice','--packages','getAppConfigPath','mocha','forEach','rawLogs','packages'];a93c=function(){return s;};return a93c();}import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e[o(0x95)](a,'r'),a93g[o(0x9b)]({'path':a});};Command[a93p(0x79)]({'name':a93p(0x9d),'mustBeInMakaProject':!![],'validOpts':[a93p(0x8a),'packages',a93p(0x88),'driverPackage',a93p(0x66),a93p(0x77),a93p(0x73),'port',a93p(0x85),a93p(0xa2)],'usage':a93p(0xa0),'aliases':['t',a93p(0x9e)],'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const q=a93p;try{let c=this['fsi'][q(0x70)](q(0x7c));b[q(0x77)]&&(c=this[q(0x84)]['getAppConfigPath'](b[q(0x77)]));(!b[q(0x66)]||!!b['once'])&&(a=a[q(0x96)]([q(0x92)]));b[q(0x66)]&&delete b[q(0x66)];let d=b['driver-package']||b['driver']||q(0x94);if(d==='none'){const j=JSON[q(0x7a)](a93e[q(0xa3)](a93f[q(0x89)](this[q(0x84)]['findProjectDirectory'](),q(0x9a),'config.json'),q(0x8f)));if(j[q(0x65)]['test']===q(0x90))d=q(0x7e);else j[q(0x65)][q(0x9d)]===q(0x71)&&(d=q(0x8c));}if(d==='none')throw q(0x86);(!b[q(0x98)]||!b[q(0x88)])&&(a=a[q(0x96)](['--driver-package',d]));const f=a93f[q(0x89)](c,q(0x9c));this[q(0x84)][q(0x8b)](f)?(Log[q(0x87)](q(0xa1)+f),a=a[q(0x96)]([q(0x80),f])):Log[q(0x7b)](q(0x97)+f);const g=a93f['join'](c,q(0x76));this[q(0x84)]['isFile'](g)?(Log['notice'](q(0x68)+g),syncSource(g)):Log[q(0x7b)](q(0x82)+g);const h=process[q(0x8d)]['slice'](0x2)['filter'](k=>k!=='--env')[q(0x7d)](k=>k!=='test')[q(0x7d)](k=>k!==a[0x0]);h[q(0x72)]((k,l)=>{const r=q;(k===r(0x6c)||k===r(0x7f))&&h['splice'](l,0x2),k===r(0x6f)&&h[r(0x6e)](l,0x1);});const i=b[q(0x74)]?'test-packages':q(0x9d);this['fsi'][q(0x67)](i,a[q(0x96)](h));}catch(k){console['error'](k),process[q(0x99)](0x0);}});
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 +1 @@
1
- const a94n=a94d;function a94c(){const p=['version','38QtiNVh','compareMakaToLatest','\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','33576RDqOcL','\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','112dzNwDi','maka\x20version','\x20node\x20-v','majestic','4282300RlAfWY','Maka\x20','688356LFwZPv','constructor','155XRqnRM','win32','Project\x27s\x20Meteor\x20Version\x20','toString','getProjectsMeteorNodeVersion','7615748usFMNv','bright','2979954dcPkUb','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','verbose','Project\x27s\x20Meteor\x20Node\x20Version\x20','platform','----------------------System----------------------------','4.7.26','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20',')\x20to\x20at\x20least\x20meteor\x27s\x20(','error','apply','getGlobalMeteorVersion','(((.+)+)+)+$','maka\x20v','isMakaProject','System\x27s\x20Node\x20Version\x20','warn','exit','fsi','----------------------Project----------------------------','18568pIBtqj','notice','search','create','System\x27s\x20Meteor\x20Version\x20','2494437wfvDws','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','meteor.bat','replace'];a94c=function(){return p;};return a94c();}(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0xe8))/0x1*(parseInt(k(0xeb))/0x2)+parseInt(k(0xe3))/0x3+parseInt(k(0xde))/0x4*(parseInt(k(0xf5))/0x5)+-parseInt(k(0xfc))/0x6+-parseInt(k(0xfa))/0x7+parseInt(k(0xed))/0x8*(parseInt(k(0xf3))/0x9)+-parseInt(k(0xf1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xa3e10));function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xcc;let f=c[d];return f;},a94d(a,b);}const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0xf8)]()[m(0xe0)](m(0xd6))[m(0xf8)]()[m(0xf4)](a94a)['search'](m(0xd6));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0xcf)};Command[a94n(0xe1)]({'name':a94n(0xe7),'aliases':['v'],'usage':a94n(0xee),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a94n(0xfd),'examples':[a94n(0xd7),a94n(0xee),'maka\x20version\x20--verbose'],'description':a94n(0xea)},async function(a,b){const o=a94n;try{const c=process[o(0xcd)]===o(0xf6)?o(0xe5):'meteor';Log[o(0xf0)](o(0xf2)+pjson['version']),await this[o(0xdc)][o(0xe9)]();if(b[o(0xfe)]){await this[o(0xdc)]['compareMakaToLatest'](),Log[o(0xfb)](o(0xce));const d=this[o(0xdc)][o(0xd5)]();Log[o(0xfb)]((o(0xe2)+d)[o(0xe6)]('\x0a',''));const f=execSync(c+o(0xef))[o(0xf8)]()[o(0xe6)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xfb)](o(0xd0)+f);const g=execSync('node\x20-v')[o(0xf8)]()[o(0xe6)](/\r?\n|\r/,'')[o(0xe6)]('v','');a94e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log[o(0xda)](o(0xe4)+g+o(0xd2)+f+')')):Log[o(0xfb)](o(0xd9)+g);if(this[o(0xdc)][o(0xd8)]()){Log['bright'](o(0xdd));const h=this['fsi']['getProjectMeteorVersion']();a94e['gt'](d,h)?(Log['warn'](o(0xf7)+h['replace']('\x0a','')),Log[o(0xda)](o(0xd1)+d+'\x22')):Log[o(0xdf)]((o(0xf7)+h)['replace']('\x0a',''));const i=await this['fsi'][o(0xf9)]();i==='N/A'?(Log[o(0xda)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xda)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0xfb)](o(0xcc)+i),Log['bright'](o(0xec));}}}catch(j){console[o(0xd3)](j),process[o(0xdb)](0x0);}});
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 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0xd1))/0x1*(-parseInt(f(0xc9))/0x2)+parseInt(f(0xc8))/0x3*(parseInt(f(0xd6))/0x4)+-parseInt(f(0xd5))/0x5*(parseInt(f(0xd2))/0x6)+-parseInt(f(0xce))/0x7+parseInt(f(0xca))/0x8*(-parseInt(f(0xcd))/0x9)+parseInt(f(0xc7))/0xa+parseInt(f(0xcf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xea401));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xd0)]()['search'](h(0xd3))['toString']()[h(0xcc)](a95a)[h(0xd4)](h(0xd3));});function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xc7;var f=c[d];return f;},a95d(a,b);}a95a();function a95c(){var i=['(((.+)+)+)+$','search','2755qbxzCI','2210452KFtRgN','5112580kzvbah','3JlXrjm','2WNThqr','16nvrCnv','apply','constructor','4311639vNQCAr','9778048DxpvGp','48611959BCDoWV','toString','1476589mvsTlC','7536EPjuoA'];a95c=function(){return i;};return a95c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(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,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x100))/0x1*(-parseInt(f(0xf9))/0x2)+-parseInt(f(0x103))/0x3+parseInt(f(0xfd))/0x4+-parseInt(f(0xf3))/0x5+-parseInt(f(0xf7))/0x6*(-parseInt(f(0xf6))/0x7)+parseInt(f(0x102))/0x8*(-parseInt(f(0xf8))/0x9)+-parseInt(f(0xfc))/0xa*(-parseInt(f(0xf4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x74249));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xf3;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(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()[h(0x101)](h(0x105))[h(0xfe)]()[h(0xff)](a96a)['search'](h(0x105));});a96a(),process[a96i(0x104)][a96i(0xf5)]=a96i(0xfb);function a96c(){var j=['1045CXIeSQ','NODE_OPTIONS','7hRXzac','5587530DUFOfg','9FdoUOS','2FtaYBD','apply','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','65330jnwkaU','2024904gVisNr','toString','constructor','229497GULowk','search','2415208kXIrYJ','2244498NNOHmp','env','(((.+)+)+)+$','1514155UoPnjD'];a96c=function(){return j;};return a96c();}import'./maka.js';
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();}
@@ -1 +1 @@
1
- const a97u=a97d;function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x193;let f=c[d];return f;},a97d(a,b);}(function(a,b){const r=a97d,c=a();while(!![]){try{const d=-parseInt(r(0x1b2))/0x1+-parseInt(r(0x1e7))/0x2*(parseInt(r(0x1ed))/0x3)+-parseInt(r(0x1a3))/0x4+parseInt(r(0x1bb))/0x5+parseInt(r(0x1ff))/0x6*(-parseInt(r(0x1ab))/0x7)+parseInt(r(0x1bf))/0x8*(parseInt(r(0x1bc))/0x9)+parseInt(r(0x1ea))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x5e328));const a97b=(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;};}()),a97a=a97b(this,function(){const s=a97d;return a97a[s(0x210)]()[s(0x1f4)](s(0x19f))[s(0x210)]()[s(0x1ef)](a97a)[s(0x1f4)](s(0x19f));});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';function a97c(){const M=['processAndRunGenerator','toString','usage','generatorName','map','requiredEngines','writeHistory','opts','readHistory','details','findGeneratorByName','join','history.json','params','setColorMode','(((.+)+)+)+$','handleGenerateError','Generator\x20format\x20is\x20incorrect','Generator.create\x20requires\x20some\x20options!','2659800NJclHj','No\x20resource\x20name\x20specified','assign','error','light','_generators','name','sep','163835hMCEpx','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','addGenerator\x20requires\x20a\x20Generator\x20instance','_genTransactionId','both','keys','resourceName','258451tnImZn','message','noNeedResource','cwd','.maka','function','\x20not\x20found.\x20Cannot\x20undo.','No\x20undo\x20handler\x20defined\x20for\x20','warn','756450iberMD','94077WUprXo','validateParams','minArgLength','240pYfUil','chdir','sort','validateMakaProject','Generator\x20requires\x20a\x20name','includes','where','LIGHT','appPathPrefix','readFileSync','list','config','pallet','Please\x20run\x20\x22maka\x20install\x20meteor\x22','\x20generator.\x20Skipping\x20undo.','Generator\x20not\x20found','maxOptsLength','push','pathFromProject','writeFileSync','Too\x20few\x20options','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','_handler','DARK','bind','Too\x20few\x20arguments','notice','There\x20is\x20no\x20Meteor\x20application\x20here','mustBeInMakaProject','number','tableList','dir','fsi','Nothing\x20to\x20undo.','validateMeteorInstall','\x20not\x20found','maxArgLength','checkWhere','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','options','15644FhTwHb','mustHaveMeteorInstalled','create','13908560IFNyWS','lib','_undoHandler','57USOMxq','_historyFilePath','constructor','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','split','pop','statSync','search','addToHistory','aliases','validateEngines','getGlobalConfig','invoke','Generator.create\x20requires\x20a\x20handler\x20function!','match','server','listGenerators','Description','102TxUrLv','root','success','Location','shortDesc','findProjectDirectory','validateMakaSubscription','Generator\x20','Name','existsSync','exit','stringify','from','length','client','Too\x20many\x20arguments'];a97c=function(){return M;};return a97c();}let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a97h();async function inside(a='.',b){const t=a97d,c=process[t(0x1b5)]();let d=null;try{process[t(0x1c0)](a),d=await b();}finally{process[t(0x1c0)](c);}return d;}export class Generator extends Tool{[a97u(0x1e6)];[a97u(0x1a8)];[a97u(0x1ee)];['_undoHandler'];[a97u(0x1ae)];constructor(a,b,c){const v=a97u;super();if(!a)throw new Error(v(0x1f0));if(!a['name'])throw new Error(v(0x1c3));if(typeof b!==v(0x1b7))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[v(0x1a8)]=[],this['options']=Object[v(0x1a5)]({},a),this[v(0x1a9)]=this[v(0x1e6)]['name'],this[v(0x1d5)]=b[v(0x1d7)](this);try{this[v(0x1ee)]=this[v(0x1df)][v(0x1d1)]({'pathParts':[v(0x1b6),v(0x19c)]})||a97e[v(0x19b)]('.',v(0x1b6),v(0x19c));}catch(d){Log[v(0x1a6)](d);}c&&(this['_undoHandler']=c[v(0x1d7)](this));}['getHistoryFileSize'](){const w=a97u;if(a97f[w(0x208)](this[w(0x1ee)])){const a=a97f[w(0x1f3)](this[w(0x1ee)]);return a['size'];}return 0x0;}['readHistory'](){const x=a97u;if(!a97f[x(0x208)](this[x(0x1ee)]))return[];return JSON['parse'](a97f[x(0x1c8)](this[x(0x1ee)],'utf-8'));}[a97u(0x196)](a){const y=a97u;this[y(0x1ee)]&&!a97f[y(0x208)](this['_historyFilePath'])&&a97f[y(0x1d2)](this['_historyFilePath'],JSON['stringify']([])),a97f[y(0x1d2)](this[y(0x1ee)],JSON[y(0x20a)](a,null,0x2));}[a97u(0x1f5)](a){const z=a97u;try{a?.[z(0x19d)]?.[z(0x197)][z(0x1ca)]&&delete a[z(0x19d)][z(0x197)][z(0x1ca)];const b=this[z(0x198)](),c={'generatorName':this['name'],'transactionId':TRANSACTION_ID,'details':a};b['push'](c);const d=Buffer[z(0x20b)](JSON['stringify'](b))[z(0x20c)];while(d>MAX_HISTORY_SIZE&&b[z(0x20c)]>0x0){b['shift']();}this['writeHistory'](b);}catch(f){Log[z(0x1a6)](f);}}static[a97u(0x1e9)](a,b,c,d){const A=a97u;if(!a)throw new Error(A(0x1a2));if(typeof b!==A(0x1b7))throw new Error(A(0x1fa));const e=new Generator(a,b);return c&&(e[A(0x1ec)]=c[A(0x1d7)](e)),d=d||a97i,Object[A(0x1a5)](e,{'parent':d?.[A(0x1e6)]?.[A(0x1a9)]}),d['addGenerator'](e),e;}async['undo'](){const B=a97u,a=this[B(0x198)](),b=a['pop']();if(!b){Log['warn'](B(0x1e0));return;}const c=this['findGeneratorByName'](b[B(0x193)]);if(!c){Log[B(0x1a6)]('Generator\x20'+b[B(0x193)]+B(0x1b8));return;}c[B(0x1ec)]?(await c[B(0x1ec)](b['details']),this[B(0x196)](a)):Log[B(0x1ba)](B(0x1b9)+b[B(0x193)]+B(0x1cd));}['addGenerator'](a){const C=a97u;if(!(a instanceof Generator))throw new Error(C(0x1ad));this[C(0x1a8)][C(0x1d0)](a);}async[a97u(0x20f)](a,b=[],c={}){const D=a97u;let d;try{const f=a?.[D(0x1f1)](':');if(!f||f[D(0x20c)]===0x0)throw D(0x1a1);let g=this[D(0x1a8)],h;for(const i of f){h=g['find'](j=>j[D(0x1fb)](i));if(!h)throw'Generator\x20'+i+D(0x1e2);await this[D(0x205)](h),g=h[D(0x1a8)];}if(h)d=await h[D(0x1f9)](b,c);else throw D(0x1ce);}catch(j){Log[D(0x1a6)](j);}return d;}[a97u(0x19a)](a){const E=a97u,b=a?.['split'](':');if(!b||b['length']===0x0)return Log['error']('Generator\x20format\x20is\x20incorrect'),null;let c=this[E(0x1a8)],d;for(const e of b){d=c['find'](f=>f[E(0x1fb)](e));if(!d)return Log[E(0x1a6)](E(0x206)+e+'\x20not\x20found'),null;c=d['_generators'];}return d||null;}async[a97u(0x1f9)](a,b){const F=a97u,c=a['slice']();b[F(0x1b1)]=c[0x0];try{const d=await this[F(0x1df)][F(0x1f8)](),f=d[F(0x1cb)]===F(0x1a7)?ColorMode[F(0x1c6)]:ColorMode[F(0x1d6)];Log[F(0x19e)](f),await this[F(0x205)](this);const g=a[0x0]===_prevGen||a[F(0x20c)]===0x0&&this[F(0x1a8)][F(0x20c)]>=0x0,h=b['help']||b['h'];if(g&&h){if(this[F(0x1a8)][F(0x20c)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[F(0x1e6)][F(0x1db)]){const i=this[F(0x1c2)]();if(!i)throw new MustBeInProjectError();}if(this[F(0x1e6)][F(0x1e8)]){const j=this[F(0x1e1)]();if(!j)throw new NoMeteorFoundError();}if(typeof this['options']['minArgLength']==='number'){if(a[F(0x20c)]<this[F(0x1e6)][F(0x1be)]){Log['error'](F(0x1d8));throw new UsageError();}}if(typeof this[F(0x1e6)]['maxArgLength']===F(0x1dc)){if(a[F(0x20c)]>this[F(0x1e6)][F(0x1e3)]){Log[F(0x1a6)](F(0x20e));throw new UsageError();}}if(typeof this['options']['minOptsLength']==='number'){if(Object[F(0x1b0)](b)[F(0x20c)]<this['options']['minOptsLength']){Log[F(0x1a6)](F(0x1d3));throw new UsageError();}}if(typeof this[F(0x1e6)]['maxOptsLength']==='number'){if(Object[F(0x1b0)](b)[F(0x20c)]>=this[F(0x1e6)][F(0x1cf)]){Log[F(0x1a6)]('Too\x20many\x20options');throw new UsageError();}}}this['options']['requiredEngines']&&this[F(0x1f7)](this['options'][F(0x195)]);await this[F(0x1bd)](a,b,this[F(0x1e6)]);if(!b[F(0x1b1)]&&!this[F(0x1e6)][F(0x1b4)]){Log['error'](F(0x1a4));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[F(0x1a0)](k),process[F(0x209)](0x1);}return await inside(b['cwd'],async()=>{const G=F;try{if(!b[G(0x200)]&&!this['fsi'][G(0x204)]())throw new MustBeInProjectError();const l=b[G(0x1b1)]?.['replace'](/\\/g,'/')[G(0x1f1)]('/');!b['dir']&&(l?.[G(0x20c)]>0x1?(b[G(0x1b1)]=l[G(0x1f2)](),c[0x0]=b[G(0x1b1)],b['dir']=l[G(0x194)](n=>{return paramCase(n);})[G(0x19b)](a97e[G(0x1aa)])):b[G(0x1de)]='');if(this['options'][G(0x1e4)]){if(!b['where']){const o={'type':G(0x1c9),'name':'colLocAnswer','message':G(0x202),'choices':[{'name':'Client','value':'client'},{'name':'Server','value':G(0x1fc)},{'name':'Both','value':G(0x1af)}]},{colLocAnswer:p}=await Actions[G(0x1e6)](o);p?b['where']=p:b[G(0x1c5)]=G(0x1af);}const n=['both',G(0x20d),'server'];if(!n[G(0x1c4)](b[G(0x1c5)])){Log['error'](G(0x1e5));throw new UsageError();}switch(b[G(0x1c5)]){case G(0x1af):b[G(0x1c7)]=G(0x1eb);break;case'server':b[G(0x1c7)]=G(0x1fc);break;case G(0x20d):b['appPathPrefix']=G(0x20d);break;default:b[G(0x1c7)]='';}}const m=await this[G(0x1d5)]['call'](this,c,b);return this[G(0x1f5)]({'params':{'args':c,'opts':this[G(0x1df)]['deepen'](b)},'success':m?.[G(0x201)],'message':m?.[G(0x1b3)],'details':m?.[G(0x199)]}),m;}catch(q){this[G(0x1a0)](q);}});}[a97u(0x1fd)](){const H=a97u;this[H(0x1dd)](this[H(0x1a8)]);}[a97u(0x1a0)](a){const I=a97u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[I(0x1e6)];Log[I(0x211)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[I(0x1d9)]('Generators:'),this[I(0x1dd)](this[I(0x1a8)]);else{if(a instanceof MustBeInProjectError)Log[I(0x1a6)](I(0x1ac));else{if(a instanceof NoMeteorFoundError)Log[I(0x1a6)](I(0x1d4)),Log[I(0x1d9)](I(0x1cc));else a instanceof NoMeteorAppFoundError&&Log[I(0x1a6)](I(0x1da));}}}['tableList'](a){const J=a97u,b=new a97g({});b[J(0x1d0)]([J(0x207),'Alias',J(0x1fe)]),a[J(0x1c1)]((c,d)=>{const K=J;return c[K(0x1a9)]['localeCompare'](d[K(0x1a9)]);})['forEach'](c=>{const L=J;b['push']([c[L(0x1a9)],c[L(0x1f6)](),c[L(0x203)]()]);}),Log['bright'](b[J(0x210)]());}}
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 +1 @@
1
- (function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(0x1e5))/0x1+-parseInt(f(0x1e4))/0x2*(parseInt(f(0x1e1))/0x3)+-parseInt(f(0x1df))/0x4+-parseInt(f(0x1e6))/0x5*(-parseInt(f(0x1e0))/0x6)+-parseInt(f(0x1e9))/0x7*(-parseInt(f(0x1e2))/0x8)+-parseInt(f(0x1e3))/0x9*(-parseInt(f(0x1e7))/0xa)+-parseInt(f(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x660d8));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a['toString']()[h(0x1ea)]('(((.+)+)+)+$')['toString']()[h(0x1dd)](a98a)[h(0x1ea)](h(0x1de));});function a98c(){var i=['21Fqcwhh','8BSegfn','153dBYMqx','135446bXpEfo','747812ANWaAJ','5JrrGeS','278580KsjEkM','3329139EQGzZr','1292655HISXUn','search','apply','constructor','(((.+)+)+)+$','2190924slaCAE','2018316xCUFOD'];a98c=function(){return i;};return a98c();}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';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x1dd;var f=c[d];return f;},a98d(a,b);}import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
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();}