@maka/maka-cli 4.5.16 → 4.5.17

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 (109) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/sideQuest/commands.js +1 -1
  27. package/bundle/obf/src/commands/game/sideQuest/door.js +1 -1
  28. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/inventory.js +1 -0
  30. package/bundle/obf/src/commands/game/sideQuest/items.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/player.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/puzzles.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/room.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/rooms.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/types.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/utilities/eventBus.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  40. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  41. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  42. package/bundle/obf/src/commands/generate.js +1 -1
  43. package/bundle/obf/src/commands/get/_index.js +1 -1
  44. package/bundle/obf/src/commands/get/get.command.js +1 -1
  45. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  46. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  48. package/bundle/obf/src/commands/help.js +1 -1
  49. package/bundle/obf/src/commands/jsdoc.js +1 -1
  50. package/bundle/obf/src/commands/lint.js +1 -1
  51. package/bundle/obf/src/commands/login.js +1 -1
  52. package/bundle/obf/src/commands/logout.js +1 -1
  53. package/bundle/obf/src/commands/logs.js +1 -1
  54. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  55. package/bundle/obf/src/commands/murder.js +1 -1
  56. package/bundle/obf/src/commands/proxy.js +1 -1
  57. package/bundle/obf/src/commands/reconfig.js +1 -1
  58. package/bundle/obf/src/commands/run/_index.js +1 -1
  59. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  60. package/bundle/obf/src/commands/run/run.command.js +1 -1
  61. package/bundle/obf/src/commands/set/_index.js +1 -1
  62. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/set/set.command.js +1 -1
  65. package/bundle/obf/src/commands/ssh.js +1 -1
  66. package/bundle/obf/src/commands/ssl.js +1 -1
  67. package/bundle/obf/src/commands/test.js +1 -1
  68. package/bundle/obf/src/commands/version.js +1 -1
  69. package/bundle/obf/src/error.js +1 -1
  70. package/bundle/obf/src/generator.js +1 -1
  71. package/bundle/obf/src/generators/_index.js +1 -1
  72. package/bundle/obf/src/generators/api.js +1 -1
  73. package/bundle/obf/src/generators/collection.js +1 -1
  74. package/bundle/obf/src/generators/component.js +1 -1
  75. package/bundle/obf/src/generators/config.js +1 -1
  76. package/bundle/obf/src/generators/dbc.js +1 -1
  77. package/bundle/obf/src/generators/dockerfile.js +1 -1
  78. package/bundle/obf/src/generators/hook.js +1 -1
  79. package/bundle/obf/src/generators/kit.js +1 -1
  80. package/bundle/obf/src/generators/layout.js +1 -1
  81. package/bundle/obf/src/generators/maka.gen.js +1 -1
  82. package/bundle/obf/src/generators/methods.js +1 -1
  83. package/bundle/obf/src/generators/package.js +1 -1
  84. package/bundle/obf/src/generators/page.js +1 -1
  85. package/bundle/obf/src/generators/publish.js +1 -1
  86. package/bundle/obf/src/generators/route.js +1 -1
  87. package/bundle/obf/src/generators/service.js +1 -1
  88. package/bundle/obf/src/generators/services/_index.js +1 -1
  89. package/bundle/obf/src/generators/services/openssl.js +1 -1
  90. package/bundle/obf/src/generators/services/translation.js +1 -1
  91. package/bundle/obf/src/maka.js +1 -1
  92. package/bundle/obf/src/tool.js +1 -1
  93. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  94. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  95. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  97. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  98. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  99. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  100. package/bundle/obf/src/tools/https/https.class.js +1 -1
  101. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  102. package/bundle/obf/src/tools/log/log.class.js +1 -1
  103. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  104. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  105. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  106. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  107. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  108. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  109. package/package.json +1 -1
@@ -1 +1 @@
1
- function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x173;var f=c[d];return f;},a29d(a,b);}var a29i=a29d;(function(a,b){var f=a29d,c=a();while(!![]){try{var d=parseInt(f(0x192))/0x1+-parseInt(f(0x17c))/0x2+-parseInt(f(0x183))/0x3*(parseInt(f(0x187))/0x4)+-parseInt(f(0x181))/0x5*(parseInt(f(0x18c))/0x6)+parseInt(f(0x189))/0x7+parseInt(f(0x18a))/0x8+parseInt(f(0x17e))/0x9*(-parseInt(f(0x185))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x74f57));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a29d;if(c){var e=c[g(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var h=a29d;return a29a[h(0x188)]()['search'](h(0x175))[h(0x188)]()[h(0x186)](a29a)[h(0x18d)](h(0x175));});a29a();import a29e from'./utilities/logger.js';export class Puzzle{[a29i(0x17d)]=a29e[a29i(0x173)]();[a29i(0x180)]=![];['requiredItem'];['requiredPhrase'];[a29i(0x17f)];[a29i(0x176)];[a29i(0x190)];['failureMessage'];constructor(a){var j=a29i;this[j(0x178)]=a['requiredItem'],this[j(0x17a)]=a['requiredPhrase'],this['riddle']=a[j(0x17f)],this['rewardItem']=a[j(0x176)],this[j(0x190)]=a[j(0x190)]?a['successMessage']:j(0x18e),this[j(0x182)]=a['failureMessage']?a[j(0x182)]:j(0x17b);}[a29i(0x193)](a){var k=a29i;return a['some'](b=>b[k(0x18f)]['toLowerCase']()===this['requiredItem']?.[k(0x18b)]());}[a29i(0x179)](a){var l=a29i;return this[l(0x17a)]===a;}[a29i(0x174)](a,b){var m=a29i;if(this[m(0x180)])return this[m(0x17d)]['write'](m(0x191)),{'success':![],'message':m(0x184)};return this[m(0x193)](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this['logger']['write']('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this['successMessage']}):(this[m(0x17d)]['write']('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this['failureMessage']});}}function a29c(){var n=['solve','(((.+)+)+)+$','rewardItem','apply','requiredItem','matchesRequiredPhrase','requiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','138806woIBWi','logger','530703VeqNCv','riddle','solved','681905PGXqrc','failureMessage','3606HZUXyG','You\x20have\x20already\x20solved\x20this\x20puzzle.','30bWjjoU','constructor','412RJXbAH','toString','4071347TGuHYp','948176wlgtRK','toLowerCase','24qMYNpp','search','You\x20solved\x20the\x20puzzle!','name','successMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','694554Hfcvrv','hasRequiredItem','getInstance'];a29c=function(){return n;};return a29c();}export class BasicPuzzle extends Puzzle{constructor(a){super(a);}}
1
+ var a30i=a30d;function a30c(){var n=['30wcdHBG','write','(((.+)+)+)+$','749NkBnZz','560AbcMln','139124SDnCAD','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','195546dheMuw','2433MADAcx','toString','requiredPhrase','You\x20have\x20already\x20solved\x20this\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','requiredItem','rewardItem','getInstance','successMessage','4400EsxGAw','riddle','65571hoVBHm','apply','Puzzle:\x20Correct\x20solution\x20provided.','matchesRequiredPhrase','failureMessage','hasRequiredItem','2426202InGzxq','solved','logger','345668wTcFNz','84nMsCsQ','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'];a30c=function(){return n;};return a30c();}(function(a,b){var f=a30d,c=a();while(!![]){try{var d=parseInt(f(0x1bc))/0x1+parseInt(f(0x1b4))/0x2+-parseInt(f(0x1bf))/0x3*(-parseInt(f(0x1b5))/0x4)+-parseInt(f(0x1b7))/0x5*(parseInt(f(0x1be))/0x6)+-parseInt(f(0x1ba))/0x7*(parseInt(f(0x1a9))/0x8)+-parseInt(f(0x1b1))/0x9+parseInt(f(0x1bb))/0xa*(parseInt(f(0x1ab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x21e4f));var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a30d;if(c){var e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var h=a30d;return a30a['toString']()['search'](h(0x1b9))[h(0x1c0)]()['constructor'](a30a)['search'](h(0x1b9));});a30a();function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a30d(a,b);}import a30e from'./utilities/logger.js';export class Puzzle{[a30i(0x1b3)]=a30e[a30i(0x1c6)]();[a30i(0x1b2)]=![];[a30i(0x1c4)];[a30i(0x1c1)];[a30i(0x1aa)];[a30i(0x1c5)];[a30i(0x1a8)];[a30i(0x1af)];constructor(a){var j=a30i;this['requiredItem']=a['requiredItem'],this[j(0x1c1)]=a[j(0x1c1)],this[j(0x1aa)]=a[j(0x1aa)],this[j(0x1c5)]=a[j(0x1c5)],this[j(0x1a8)]=a['successMessage']||'You\x20solved\x20the\x20puzzle!',this[j(0x1af)]=a[j(0x1af)]||j(0x1c3);}[a30i(0x1b0)](a){var k=a30i;if(this[k(0x1c4)])return a['hasItem'](this[k(0x1c4)]);return![];}[a30i(0x1ae)](a){var l=a30i;return this[l(0x1c1)]===a;}['solve'](a,b){var m=a30i;if(this[m(0x1b2)])return this[m(0x1b3)]['write'](m(0x1bd)),{'success':![],'message':m(0x1c2)};return this[m(0x1b0)](b)||this[m(0x1ae)](a)?(this[m(0x1b2)]=!![],this[m(0x1b3)][m(0x1b8)](m(0x1ad)),{'success':!![],'message':this[m(0x1a8)]}):(this['logger'][m(0x1b8)](m(0x1b6)),{'success':![],'message':this[m(0x1af)]});}}export class BasicPuzzle extends Puzzle{constructor(a){super(a);}}
@@ -1 +1 @@
1
- const a30i=a30d;(function(a,b){const f=a30d,c=a();while(!![]){try{const d=-parseInt(f(0x14a))/0x1+-parseInt(f(0x176))/0x2*(parseInt(f(0x170))/0x3)+-parseInt(f(0x15a))/0x4+parseInt(f(0x159))/0x5+-parseInt(f(0x15c))/0x6*(parseInt(f(0x166))/0x7)+parseInt(f(0x15f))/0x8*(parseInt(f(0x15e))/0x9)+parseInt(f(0x16d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x981c7));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a30d;if(c){const e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const h=a30d;return a30a[h(0x144)]()[h(0x143)]('(((.+)+)+)+$')[h(0x144)]()[h(0x155)](a30a)[h(0x143)](h(0x178));});a30a();import{Door}from'./door.js';import a30e from'./utilities/logger.js';import{RoomType}from'./types.js';function a30c(){const u=['description','\x20is\x20locked.\x20Result:\x20','roomB','The\x20','706433GOQjEX','apply','north','Item\x20added\x20to\x20room\x20','roomA','attemptUnlock','values','down','exits','name','\x20unlocked!','constructor','Puzzle\x20set\x20for\x20room\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','.\x20Success:\x20','3960280hlncld','1474684tgPdfF','splice','3642werafK','Fetching\x20exit\x20in\x20direction:\x20','198BvSoXT','417112opOcUI','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','east','oppositeDirection','push','Room\x20created:\x20','puzzle','4109OFNyQV','get','\x20remains\x20locked.','riddle','Checking\x20if\x20exit\x20in\x20direction\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','west','6456420rqAFzf','removeItem','roomType','397722BYOYfU','write','getInstance','setPuzzle','findExistingDoor','indexOf','8sWErjs','addExit','(((.+)+)+)+$','set','south','addItem','checkIfLocked','attemptUnlockExit','getExit','items','search','toString','getOppositeDirection'];a30c=function(){return u;};return a30c();}const gameLog=a30e[a30i(0x172)]();function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x13c;let f=c[d];return f;},a30d(a,b);}export class Room{[a30i(0x153)];[a30i(0x146)];[a30i(0x152)]=new Map();[a30i(0x142)]=[];['puzzle'];['roomType'];constructor(a,b,c=RoomType['INSIDE']){const j=a30i;this[j(0x153)]=a,this[j(0x146)]=b,this[j(0x16f)]=c,gameLog['write'](j(0x164)+a);}[a30i(0x177)](a,b,c){const k=a30i;let d=this[k(0x174)](b);!d&&(d=new Door(this,b,Boolean(c),c)),this[k(0x152)]['set'](a,d),b[k(0x152)][k(0x13c)](this['getOppositeDirection'](a),d);}[a30i(0x140)](a,b){const l=a30i,c=this[l(0x152)][l(0x167)](a);if(c instanceof Door){const d=c[l(0x14f)](b);return gameLog[l(0x171)](l(0x160)+a+l(0x158)+d),d?l(0x149)+c[l(0x153)]+l(0x154):l(0x149)+c['name']+l(0x168);}return gameLog[l(0x171)](l(0x157)+a),l(0x16b);}[a30i(0x141)](a){const m=a30i;return gameLog[m(0x171)](m(0x15d)+a),this[m(0x152)][m(0x167)](a);}['isExitLocked'](a){const n=a30i,b=this[n(0x152)][n(0x167)](a),c=b instanceof Door&&b[n(0x13f)]();return gameLog[n(0x171)](n(0x16a)+a+n(0x147)+c),c;}[a30i(0x13e)](a){const o=a30i;this[o(0x142)][o(0x163)](a),gameLog[o(0x171)](o(0x14d)+this['name']+':\x20'+a['name']);}[a30i(0x16e)](a){const p=a30i,b=this[p(0x142)][p(0x175)](a);b>-0x1?(this[p(0x142)][p(0x15b)](b,0x1),gameLog[p(0x171)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[p(0x153)])):gameLog[p(0x171)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[p(0x153)]+':\x20'+a[p(0x153)]);}[a30i(0x173)](a){const q=a30i;this[q(0x165)]=a,gameLog[q(0x171)](q(0x156)+this[q(0x153)]+':\x20'+a[q(0x169)]);}[a30i(0x145)](a){const r=a30i;switch(a){case r(0x14c):return r(0x13d);case r(0x13d):return'north';case r(0x161):return r(0x16c);case r(0x16c):return r(0x161);case'up':return r(0x151);case'down':return'up';default:throw new Error('Invalid\x20direction:\x20'+a);}}[a30i(0x162)](a){const s=a30i,b={'north':s(0x13d),'south':s(0x14c),'east':s(0x16c),'west':s(0x161),'up':'down','down':'up'};return b[a];}[a30i(0x174)](a){const t=a30i;for(const b of this[t(0x152)][t(0x150)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x148)]===a||b['roomB']===this&&b[t(0x14e)]===a)return b;}}return undefined;}}
1
+ const a31i=a31d;function a31c(){const u=['getInstance','3867knUFnN','getOppositeDirection','Item\x20added\x20to\x20room\x20','748480JJLfkt','Invalid\x20direction:\x20','toString','north','(((.+)+)+)+$','Fetching\x20exit\x20in\x20direction:\x20','west','5974120oxhXaH','.\x20Success:\x20','checkIfLocked','5ICcTsu','name','attemptUnlock','removeItem','apply','2246WyZUyZ','913MXvyNr','east','3419016LvvgRm','isExitLocked','320691segNsu','setPuzzle','roomA','search','hasItem','addItem','Puzzle\x20set\x20for\x20room\x20','roomType','210WtErhu','write','constructor','attemptUnlockExit','roomB','exits','415812HMAnYf','set','inventory','get','32lJCJrb','Room\x20created:\x20','riddle','down','The\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','\x20is\x20locked.\x20Result:\x20','3815946bPAThh','Item\x20removed\x20from\x20room\x20','south','\x20unlocked!','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','findExistingDoor','oppositeDirection','No\x20locked\x20exit\x20found\x20in\x20direction\x20','values'];a31c=function(){return u;};return a31c();}(function(a,b){const f=a31d,c=a();while(!![]){try{const d=-parseInt(f(0xba))/0x1+-parseInt(f(0x8f))/0x2*(-parseInt(f(0xb7))/0x3)+parseInt(f(0x92))/0x4*(-parseInt(f(0x8a))/0x5)+parseInt(f(0x9c))/0x6*(parseInt(f(0x94))/0x7)+-parseInt(f(0xa6))/0x8*(-parseInt(f(0xad))/0x9)+parseInt(f(0xc1))/0xa+-parseInt(f(0x90))/0xb*(parseInt(f(0xa2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xd3363));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a31d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const h=a31d;return a31a['toString']()['search']('(((.+)+)+)+$')[h(0xbc)]()[h(0x9e)](a31a)[h(0x97)](h(0xbe));});a31a();import{Door}from'./door.js';import a31e from'./utilities/logger.js';import{RoomType}from'./types.js';import{Inventory}from'./inventory.js';function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x89;let f=c[d];return f;},a31d(a,b);}const gameLog=a31e[a31i(0xb6)]();export class Room{[a31i(0x8b)];['description'];['exits']=new Map();[a31i(0xa4)]=new Inventory();['puzzle'];[a31i(0x9b)];constructor(a,b,c=RoomType['INSIDE']){const j=a31i;this[j(0x8b)]=a,this['description']=b,this[j(0x9b)]=c,gameLog[j(0x9d)](j(0xa7)+a);}['addExit'](a,b,c){const k=a31i;let d=this[k(0xb2)](b);!d&&(d=new Door(this,b,Boolean(c),c)),this['exits'][k(0xa3)](a,d),b['exits']['set'](this[k(0xb8)](a),d);}[a31i(0x9f)](a,b){const l=a31i,c=this['exits']['get'](a);if(c instanceof Door){const d=c[l(0x8c)](b);return gameLog['write'](l(0xab)+a+l(0xc2)+d),d?l(0xaa)+c[l(0x8b)]+l(0xb0):l(0xaa)+c[l(0x8b)]+'\x20remains\x20locked.';}return gameLog['write'](l(0xb4)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const m=a31i;return gameLog['write'](m(0xbf)+a),this['exits'][m(0xa5)](a);}[a31i(0x93)](a){const n=a31i,b=this[n(0xa1)][n(0xa5)](a),c=b instanceof Door&&b[n(0x89)]();return gameLog[n(0x9d)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+n(0xac)+c),c;}[a31i(0x99)](a){const o=a31i;this[o(0xa4)]['addItem'](a),gameLog[o(0x9d)](o(0xb9)+this[o(0x8b)]+':\x20'+a[o(0x8b)]);}[a31i(0x8d)](a){const p=a31i;this['inventory'][p(0x98)](a[p(0x8b)])?(this[p(0xa4)]['removeItem'](a[p(0x8b)]),gameLog['write'](p(0xae)+this[p(0x8b)]+':\x20'+a[p(0x8b)])):gameLog['write'](p(0xb1)+this[p(0x8b)]+':\x20'+a['name']);}[a31i(0x95)](a){const q=a31i;this['puzzle']=a,gameLog[q(0x9d)](q(0x9a)+this[q(0x8b)]+':\x20'+a[q(0xa8)]);}['getOppositeDirection'](a){const r=a31i;switch(a){case r(0xbd):return r(0xaf);case'south':return'north';case r(0x91):return'west';case'west':return r(0x91);case'up':return'down';case r(0xa9):return'up';default:throw new Error(r(0xbb)+a);}}[a31i(0xb3)](a){const s=a31i,b={'north':s(0xaf),'south':'north','east':s(0xc0),'west':s(0x91),'up':'down','down':'up'};return b[a];}[a31i(0xb2)](a){const t=a31i;for(const b of this[t(0xa1)][t(0xb5)]()){if(b instanceof Door){if(b[t(0x96)]===this&&b[t(0xa0)]===a||b['roomB']===this&&b[t(0x96)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a31h=a31d;(function(a,b){const f=a31d,c=a();while(!![]){try{const d=parseInt(f(0x154))/0x1*(-parseInt(f(0x150))/0x2)+-parseInt(f(0x155))/0x3*(-parseInt(f(0x16b))/0x4)+parseInt(f(0x16e))/0x5*(-parseInt(f(0x166))/0x6)+parseInt(f(0x159))/0x7+-parseInt(f(0x15b))/0x8*(-parseInt(f(0x16a))/0x9)+-parseInt(f(0x175))/0xa*(-parseInt(f(0x167))/0xb)+-parseInt(f(0x16d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xdaa86));const a31b=(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;};}()),a31a=a31b(this,function(){const g=a31d;return a31a[g(0x15a)]()[g(0x173)]('(((.+)+)+)+$')['toString']()[g(0x15f)](a31a)[g(0x173)](g(0x157));});function a31c(){const i=['constructor','addExit','Guard\x27s\x20Log\x20Book','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','A\x20thin\x20log\x20book','setPuzzle','You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','6gVygep','9724HQGnho','Watch\x20Tower','OUTSIDE','12318849AJJCzk','4hyWcMx','Treasure\x20Room','6314856ysaNCR','8095870LGRAyG','south','secret123','addItem','Library','search','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','13190NVzABP','538258AFHpjC','north','Courtyard','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','1zSGBVL','1559379oMlgeP','Secret\x20Passage','(((.+)+)+)+$','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','1789291pSBtOV','toString','8eMvVPw','Golden\x20Key','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.'];a31c=function(){return i;};return a31c();}a31a();import{RoomType}from'./types.js';import{Room}from'./room.js';import{Key,SniperRifle,HolyGrail,Book}from'./items.js';import{BasicPuzzle}from'./puzzles.js';const library=new Room(a31h(0x172),a31h(0x174)),secretPassage=new Room(a31h(0x156),'A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.'),treasureRoom=new Room(a31h(0x16c),a31h(0x153)),courtyard=new Room(a31h(0x152),a31h(0x15d),RoomType[a31h(0x169)]),watchTower=new Room(a31h(0x168),a31h(0x15e),RoomType['OUTSIDE']),gunCabinetPuzzle=new BasicPuzzle({'requiredPhrase':a31h(0x170),'riddle':a31h(0x162),'rewardItem':new SniperRifle(),'successMessage':a31h(0x165),'failureMessage':'That\x20passcode\x20is\x20incorrect'}),goldenKey=new Key(a31h(0x15c),a31h(0x158)),logBook=new Book(a31h(0x161),a31h(0x163),'Chad\x20the\x20stupid\x20guard'),holyGrail=new HolyGrail();function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x150;let f=c[d];return f;},a31d(a,b);}library['addItem'](goldenKey),library[a31h(0x171)](logBook),watchTower[a31h(0x164)](gunCabinetPuzzle),treasureRoom[a31h(0x171)](holyGrail),library[a31h(0x160)]('east',secretPassage),secretPassage['addExit'](a31h(0x151),treasureRoom,goldenKey['name']),secretPassage['addExit'](a31h(0x16f),courtyard),courtyard[a31h(0x160)]('up',watchTower);const rooms={'library':library,'secretPassage':secretPassage,'treasureRoom':treasureRoom,'courtyard':courtyard,'watchTower':watchTower};export default rooms;
1
+ const a32i=a32d;(function(a,b){const f=a32d,c=a();while(!![]){try{const d=parseInt(f(0x168))/0x1+-parseInt(f(0x178))/0x2*(-parseInt(f(0x164))/0x3)+-parseInt(f(0x15e))/0x4+-parseInt(f(0x165))/0x5+-parseInt(f(0x17c))/0x6+-parseInt(f(0x169))/0x7+parseInt(f(0x167))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x6c0b4));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a32d;if(c){const e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const h=a32d;return a32a[h(0x163)]()[h(0x15b)](h(0x16e))[h(0x163)]()[h(0x16c)](a32a)[h(0x15b)](h(0x16e));});a32a();import{RoomType}from'./types.js';import{Room}from'./room.js';import{Key,SniperRifle,HolyGrail,Book}from'./items.js';import{BasicPuzzle}from'./puzzles.js';function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x15a;let f=c[d];return f;},a32d(a,b);}function a32c(){const j=['A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','4967526gmjRkx','OUTSIDE','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','search','A\x20thin\x20log\x20book','Treasure\x20Room','374496BBZrmX','That\x20passcode\x20is\x20incorrect','Library','Secret\x20Passage','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','toString','9OHoylz','4404430hblrOl','apply','17576216qsSPJD','633396gVjwKo','4228875xeRqKn','secret123','You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','constructor','name','(((.+)+)+)+$','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','east','Chad\x20the\x20stupid\x20guard','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','addItem','south','setPuzzle','Guard\x27s\x20Log\x20Book','Watch\x20Tower','12454JYRMJX','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','addExit'];a32c=function(){return j;};return a32c();}const library=new Room(a32i(0x160),'A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]'),secretPassage=new Room(a32i(0x161),a32i(0x162)),treasureRoom=new Room(a32i(0x15d),a32i(0x16f)),courtyard=new Room('Courtyard',a32i(0x15a),RoomType[a32i(0x17d)]),watchTower=new Room(a32i(0x177),a32i(0x179),RoomType['OUTSIDE']),gunCabinetPuzzle=new BasicPuzzle({'requiredPhrase':a32i(0x16a),'riddle':a32i(0x172),'rewardItem':new SniperRifle(),'successMessage':a32i(0x16b),'failureMessage':a32i(0x15f)}),goldenKey=new Key('Golden\x20Key',a32i(0x17b)),logBook=new Book(a32i(0x176),a32i(0x15c),a32i(0x171)),holyGrail=new HolyGrail();library[a32i(0x173)](goldenKey),library[a32i(0x173)](logBook),watchTower[a32i(0x175)](gunCabinetPuzzle),treasureRoom[a32i(0x173)](holyGrail),library[a32i(0x17a)](a32i(0x170),secretPassage),secretPassage[a32i(0x17a)]('north',treasureRoom,goldenKey[a32i(0x16d)]),secretPassage[a32i(0x17a)](a32i(0x174),courtyard),courtyard['addExit']('up',watchTower);const rooms={'library':library,'secretPassage':secretPassage,'treasureRoom':treasureRoom,'courtyard':courtyard,'watchTower':watchTower};export default rooms;
@@ -1 +1 @@
1
- (function(a,b){var k=a32d,c=a();while(!![]){try{var d=-parseInt(k(0x1a0))/0x1*(parseInt(k(0x1c6))/0x2)+-parseInt(k(0x1ba))/0x3+parseInt(k(0x1ad))/0x4*(-parseInt(k(0x1b8))/0x5)+parseInt(k(0x18f))/0x6*(-parseInt(k(0x1ab))/0x7)+-parseInt(k(0x1bc))/0x8*(-parseInt(k(0x1dc))/0x9)+parseInt(k(0x188))/0xa*(parseInt(k(0x190))/0xb)+-parseInt(k(0x189))/0xc*(-parseInt(k(0x196))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x52fef));function a32d(a,b){var c=a32c();return a32d=function(d,e){d=d-0x182;var f=c[d];return f;},a32d(a,b);}export var Size;(function(a){var l=a32d;a[l(0x1a7)]='tiny',a[l(0x1af)]=l(0x1cc),a[l(0x1ce)]=l(0x1a6),a[l(0x1b7)]='large',a[l(0x1c7)]=l(0x1d6);}(Size||(Size={})));export var Rating;(function(a){var m=a32d;a[m(0x1a8)]='common',a[m(0x1c9)]=m(0x1c5),a[m(0x1bd)]=m(0x182);}(Rating||(Rating={})));function a32c(){var u=['Purple','FOREST','green','Large','242695fVrzsF','shield','1467540dAZYLS','INSIDE','6152JsidCK','Legendary','brown','Metallic','gold','rectangle','Weapon','forest','bumpy','rare','212GdTtAI','VeryLarge','tower','Rare','apply','Gloves','small','TOWER','Medium','cup','key','circle','search','body\x20armor','(((.+)+)+)+$','desert','very\x20large','grey','LegArmor','rifle','Blue','toString','6165imCbhC','outside','blade','legendary','Rectangle','sea','DESERT','helmet','red','323820umbFpz','52332YscAcK','Book','constructor','Gold','Triangle','Grey','18CNZdIm','176IcpHgR','Blade','boots','Orange','Hat','rough','3094VMdWis','Brown','UNDERGROUND','arm\x20armor','metallic','Shield','Green','smooth','Rifle','yellow','3733FgeQag','Circle','inside','weapon','blue','BEACH','medium','Tiny','Common','mountain','Key','529571FOiEEF','underground','52SHZKQD','book','Small','OUTSIDE','beach','SEA','Boots'];a32c=function(){return u;};return a32c();}export var Category;(function(c){var p=a32d,d=(function(){var f=!![];return function(g,h){var i=f?function(){var n=a32d;if(h){var j=h[n(0x1ca)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var o=a32d;return e[o(0x1db)]()['search'](o(0x1d4))[o(0x1db)]()[o(0x18b)](e)[o(0x1d2)](o(0x1d4));});e(),c[p(0x1c2)]=p(0x1a3),c[p(0x19b)]=p(0x1b9),c[p(0x1aa)]=p(0x1d0),c[p(0x1cb)]='gloves',c['Helmet']=p(0x186),c[p(0x194)]='hat',c[p(0x1b3)]=p(0x192),c[p(0x1d8)]='leg\x20armor',c['ArmArmor']=p(0x199),c['BodyArmor']=p(0x1d3),c[p(0x18a)]=p(0x1ae),c['Cup']=p(0x1cf);}(Category||(Category={})));export var Shape;(function(a){var q=a32d;a[q(0x1a1)]=q(0x1d1),a['Square']='square',a[q(0x18d)]='triangle',a[q(0x183)]=q(0x1c1),a[q(0x191)]=q(0x1de),a[q(0x19e)]=q(0x1d9);}(Shape||(Shape={})));export var Color;(function(a){var r=a32d;a['Red']=r(0x187),a[r(0x1da)]=r(0x1a4),a[r(0x19c)]=r(0x1b6),a['Yellow']=r(0x19f),a[r(0x193)]='orange',a[r(0x1b4)]='purple',a[r(0x18e)]=r(0x1d7),a[r(0x197)]=r(0x1be),a[r(0x18c)]=r(0x1c0);}(Color||(Color={})));export var Texture;(function(a){var s=a32d;a['Smooth']=s(0x19d),a['Rough']=s(0x195),a['Bumpy']=s(0x1c4),a['Fuzzy']='fuzzy',a['Grainy']='grainy',a[s(0x1bf)]=s(0x19a);}(Texture||(Texture={})));export var RoomType;(function(a){var t=a32d;a[t(0x1bb)]=t(0x1a2),a[t(0x1b0)]=t(0x1dd),a[t(0x198)]=t(0x1ac),a['CAVE']='cave',a[t(0x1cd)]=t(0x1c8),a[t(0x1b5)]=t(0x1c3),a[t(0x185)]=t(0x1d5),a['MOUNTAIN']=t(0x1a9),a[t(0x1a5)]=t(0x1b1),a[t(0x1b2)]=t(0x184);}(RoomType||(RoomType={})));
1
+ (function(a,b){var k=a33d,c=a();while(!![]){try{var d=parseInt(k(0xb6))/0x1+parseInt(k(0xb8))/0x2+parseInt(k(0xb0))/0x3+parseInt(k(0x7d))/0x4+-parseInt(k(0x6c))/0x5*(-parseInt(k(0x9d))/0x6)+-parseInt(k(0x89))/0x7+-parseInt(k(0x97))/0x8*(parseInt(k(0xa9))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x620ab));export var Size;function a33d(a,b){var c=a33c();return a33d=function(d,e){d=d-0x69;var f=c[d];return f;},a33d(a,b);}(function(a){var l=a33d;a[l(0x72)]=l(0xb9),a['Small']=l(0x8b),a[l(0x8e)]=l(0x8f),a[l(0xb4)]=l(0x98),a[l(0x96)]=l(0xb2);}(Size||(Size={})));export var Rating;function a33c(){var u=['bumpy','ArmArmor','fuzzy','leg\x20armor','circle','Gold','MOUNTAIN','Brown','Green','900088MYWGtE','Hat','rare','UNDERGROUND','Rough','Blade','key','sea','DESERT','Red','FOREST','grey','2127125tfGCVj','mountain','small','inside','Boots','Medium','medium','desert','body\x20armor','Key','rectangle','metallic','Fuzzy','VeryLarge','128iCnOgJ','large','Grey','blade','Weapon','beach','1494CRfBgm','blue','apply','Circle','search','smooth','CAVE','constructor','Rectangle','BEACH','Gloves','Blue','745299MgFaEi','Purple','TOWER','triangle','Grainy','helmet','Helmet','2258769acREEW','brown','very\x20large','Metallic','Large','hat','255037eEQanq','tower','1579458pdxpYB','tiny','Book','common','forest','Yellow','155pWPzne','underground','OUTSIDE','gold','Triangle','SEA','Tiny','orange'];a33c=function(){return u;};return a33c();}(function(a){var m=a33d;a['Common']=m(0x69),a['Rare']=m(0x7f),a['Legendary']='legendary';}(Rating||(Rating={})));export var Category;(function(a){var n=a33d;a[n(0x9b)]='weapon',a['Shield']='shield',a[n(0x92)]=n(0x83),a[n(0xa7)]='gloves',a[n(0xaf)]=n(0xae),a[n(0x7e)]=n(0xb5),a[n(0x8d)]='boots',a['LegArmor']=n(0x77),a[n(0x75)]='arm\x20armor',a['BodyArmor']=n(0x91),a[n(0xba)]='book',a['Cup']='cup';}(Category||(Category={})));export var Shape;(function(a){var o=a33d;a[o(0xa0)]=o(0x78),a['Square']='square',a[o(0x70)]=o(0xac),a[o(0xa5)]=o(0x93),a[o(0x82)]=o(0x9a),a['Rifle']='rifle';}(Shape||(Shape={})));export var Color;(function(a){var p=a33d;a[p(0x86)]='red',a[p(0xa8)]=p(0x9e),a[p(0x7c)]='green',a[p(0x6b)]='yellow',a['Orange']=p(0x73),a[p(0xaa)]='purple',a[p(0x99)]=p(0x88),a[p(0x7b)]=p(0xb1),a[p(0x79)]=p(0x6f);}(Color||(Color={})));export var Texture;(function(c){var s=a33d,d=(function(){var f=!![];return function(g,h){var i=f?function(){var q=a33d;if(h){var j=h[q(0x9f)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var r=a33d;return e['toString']()[r(0xa1)]('(((.+)+)+)+$')['toString']()[r(0xa4)](e)[r(0xa1)]('(((.+)+)+)+$');});e(),c['Smooth']=s(0xa2),c[s(0x81)]='rough',c['Bumpy']=s(0x74),c[s(0x95)]=s(0x76),c[s(0xad)]='grainy',c[s(0xb3)]=s(0x94);}(Texture||(Texture={})));export var RoomType;(function(a){var t=a33d;a['INSIDE']=t(0x8c),a[t(0x6e)]='outside',a[t(0x80)]=t(0x6d),a[t(0xa3)]='cave',a[t(0xab)]=t(0xb7),a[t(0x87)]=t(0x6a),a[t(0x85)]=t(0x90),a[t(0x7a)]=t(0x8a),a[t(0xa6)]=t(0x9c),a[t(0x71)]=t(0x84);}(RoomType||(RoomType={})));
@@ -1 +1 @@
1
- (function(a,b){const t=a33d,c=a();while(!![]){try{const d=parseInt(t(0xe7))/0x1+-parseInt(t(0xf9))/0x2*(-parseInt(t(0x11c))/0x3)+parseInt(t(0x123))/0x4+-parseInt(t(0x131))/0x5+parseInt(t(0xfc))/0x6*(-parseInt(t(0xe5))/0x7)+-parseInt(t(0x11b))/0x8*(-parseInt(t(0x136))/0x9)+-parseInt(t(0xe4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x768a6));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a33d;if(c){const e=c[u(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const v=a33d;return a33a['toString']()['search'](v(0x12f))[v(0x117)]()[v(0x104)](a33a)['search'](v(0x12f));});a33a();function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xe2;let f=c[d];return f;},a33d(a,b);}import a33e from'blessed';import{capitalCase}from'change-case';import a33f from'./game.js';function a33c(){const E=['210033crzTqC','torso','getOtherSide','take','exits','getWelcomeMessage','75%','apply','key','Available\x20exits\x20will\x20be\x20shown\x20here...','13969730JzAgce','1435mcVqhV','arms','535986IzpSYu','unlock','split','handleInput','OUTSIDE','<<<<<<<<---------\x20Terminating\x20game','enter','checkIfLocked','{red-fg}===Error:\x20','setContent','scroll','screen','stringify','pushLine','45%','escape','leftHand','{/yellow-fg}','1365026Lqsxwh','Thanks\x20for\x20playing!','checkIfLockable','6846dJngYd','legs','100%','player','C-c','line','render','inventory','constructor','lock','\x20Inventory\x20','focus','Left\x20Hand:\x20','Your\x20items\x20will\x20be\x20listed\x20here...','22%','clearValue','log','25%','getInstance','gloves','Torso:\x20','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','name','feet','Gloves:\x20','head','write','toString','white','Feet:\x20','----->>>>>>\x20Initializing\x20Game','224QlVJfP','3lhFRbI','box','\x0aThere\x20are\x20no\x20exits\x20here.','rightHand','None','Arms:\x20','10%','1459112jjNHEt','currentLocation','70%','\x20Equipment\x20','{yellow-fg}===Log:\x20','unequip','yellow','Head:\x20','\x20(Unlocked)','Side\x20Quest\x20Adventure\x20Game','90%','join','(((.+)+)+)+$','append','601465gGNCCp','clear','roomType','Legs:\x20','exit'];a33c=function(){return E;};return a33c();}import{RoomType}from'./types.js';import{Door}from'./door.js';import{eventBus}from'./utilities/eventBus.js';import a33g from'./utilities/logger.js';export async function main(a,b,c){const w=a33d,d=a33g[w(0x10e)](c['logFilePath']),e=a33e[w(0xf2)]({'smartCSR':!![],'title':w(0x12c)}),f=a33e['box']({'top':'0%','left':'75%','width':'25%','height':'45%','border':{'type':w(0x101)},'label':w(0x106),'content':w(0x109),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x129)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),g=o=>{const x=w,p=o['map'](q=>q[x(0x112)]);f[x(0xf0)](p[x(0x12e)]('\x0a')),e[x(0x102)]();};e[w(0x130)](f);const h=a33e[w(0x11d)]({'top':w(0xf5),'left':w(0x13c),'width':'25%','height':w(0x10d),'border':{'type':'line'},'label':w(0x126),'content':w(0x111),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x129)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0x130)](h);function i(o){const y=w;h[y(0xf0)](y(0x12a)+(o[y(0x115)]?o['head'][y(0x112)]:'None')+'\x0a'+(y(0x110)+(o[y(0x137)]?o[y(0x137)][y(0x112)]:'None')+'\x0a')+(y(0x134)+(o['legs']?o[y(0xfd)]['name']:y(0x120))+'\x0a')+(y(0x119)+(o[y(0x113)]?o[y(0x113)][y(0x112)]:y(0x120))+'\x0a')+(y(0x121)+(o[y(0xe6)]?o[y(0xe6)]['name']:y(0x120))+'\x0a')+(y(0x114)+(o['gloves']?o[y(0x10f)][y(0x112)]:y(0x120))+'\x0a')+(y(0x108)+(o['leftHand']?o[y(0xf7)]['name']:y(0x120))+'\x0a')+('Right\x20Hand:\x20'+(o[y(0x11f)]?o[y(0x11f)][y(0x112)]:y(0x120))+'\x0a')),e[y(0x102)]();}const j=a33e[w(0x11d)]({'top':w(0x125),'left':w(0x13c),'width':w(0x10d),'height':w(0x10a),'border':{'type':w(0x101)},'label':'\x20Exits\x20','content':w(0xe3),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x129)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0x130)](j);function k(o){const z=w;let p='';o[z(0x13a)]['size']>0x0?o[z(0x13a)]['forEach']((q,r)=>{const A=z;if(q instanceof Door){const s=q[A(0x138)](o);s[A(0x133)]===RoomType[A(0xeb)]?p+=capitalCase(r)+':\x20'+s['name']:p+=capitalCase(r)+':\x20'+q[A(0x112)];if(q[A(0xee)]())p+='\x20(Locked)';else q[A(0xfb)]()&&(p+=A(0x12b));p+='\x0a';}else p+=capitalCase(r)+'\x0a';}):p+=z(0x11e),j[z(0xf0)](p),e[z(0x102)]();}const l=a33e[w(0x11d)]({'top':'0%','left':'0%','width':'75%','height':w(0x12d),'border':{'type':w(0x101)},'label':'\x20Game\x20Log\x20','scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x129)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});e[w(0x130)](l);const m=a33e['textbox']({'bottom':0x0,'left':0x0,'width':w(0xfe),'height':w(0x122),'tags':!![],'border':{'type':w(0x101)},'style':{'fg':w(0x118),'border':{'fg':'cyan'}},'keys':!![],'mouse':!![],'inputOnFocus':!![]});e[w(0x130)](m),e[w(0xe2)]([w(0xf6),w(0x100)],()=>process[w(0x135)](0x0)),m[w(0x107)](),e['render']();c['debug']&&(eventBus['on']('logError',o=>{const B=w;l['pushLine'](B(0xef)+o+'{/red-fg}'),l[B(0xf1)](0x1),m[B(0x10b)](),d[B(0x116)](JSON[B(0xf3)](o));}),eventBus['on'](w(0x10c),o=>{const C=w;l[C(0xf4)](C(0x127)+o+C(0xf8)),l[C(0xf1)](0x1),m[C(0x10b)](),d[C(0x116)](JSON[C(0xf3)](o));}));d[w(0x116)](w(0x11a));const n=a33f[w(0x10e)](a,b);l['setContent'](n[w(0x13b)]()),i(n[w(0xff)]['equipment']),g(n[w(0xff)][w(0x103)]),k(n[w(0xff)][w(0x124)]),m[w(0xe2)]([w(0xed)],async()=>{const D=w,o=m['getValue'](),p=n[D(0xea)](o);(o['split']('\x20')[0x0]===D(0x139)||'equip'||D(0x128))&&(g(n['player'][D(0x103)]),i(n['player']['equipment'])),(o[D(0xe9)]('\x20')[0x0]==='go'||D(0x105)||D(0xe8))&&k(n['player']['currentLocation']),o['split']('\x20')[0x0]===D(0x132)&&l['setContent'](''),p===null&&(l[D(0xf4)](D(0xfa)),e['render'](),d[D(0x116)](D(0xec)),process['exit'](0x0)),l[D(0xf4)](p),l[D(0xf1)](0x1),m[D(0x10b)](),m[D(0x107)](),e[D(0x102)]();});}
1
+ (function(a,b){const t=a34d,c=a();while(!![]){try{const d=parseInt(t(0x1f3))/0x1*(-parseInt(t(0x1ce))/0x2)+parseInt(t(0x1bf))/0x3*(parseInt(t(0x1dc))/0x4)+parseInt(t(0x1e9))/0x5*(-parseInt(t(0x1ae))/0x6)+-parseInt(t(0x1ee))/0x7*(parseInt(t(0x1bd))/0x8)+-parseInt(t(0x1f6))/0x9*(-parseInt(t(0x1c7))/0xa)+-parseInt(t(0x1ea))/0xb*(parseInt(t(0x1f8))/0xc)+parseInt(t(0x1df))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x1a68f));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a34d;if(c){const e=c[u(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const v=a34d;return a34a['toString']()[v(0x1ac)]('(((.+)+)+)+$')[v(0x1c3)]()[v(0x1ad)](a34a)['search']('(((.+)+)+)+$');});a34a();import a34e from'blessed';import{capitalCase}from'change-case';import a34f from'./game.js';import{RoomType}from'./types.js';function a34c(){const E=['log','line','----->>>>>>\x20Initializing\x20Game','unequip','focus','stringify','\x20(Locked)','checkIfLocked','\x20Inventory\x20','getValue','exits','cyan','75%','1296QbTUbp','rightHand','104541ZYBjAw','box','{/yellow-fg}','screen','toString','feet','name','currentLocation','60KAnOoQ','Left\x20Hand:\x20','None','70%','legs','enter','checkIfLockable','12yheqoV','Your\x20items\x20will\x20be\x20listed\x20here...','setContent','25%','append','\x20Equipment\x20','apply','key','getInstance','{/red-fg}','textbox','escape','{red-fg}===Error:\x20','yellow','12irsiMs','getOtherSide','\x0aThere\x20are\x20no\x20exits\x20here.','5539001YcqmoJ','lock','handleInput','\x20Exits\x20','render','size','\x20(Unlocked)','setRawMode','white','<<<<<<<<---------\x20Terminating\x20game','230sRKXyh','11TuFaki','Torso:\x20','join','clearValue','8176vlYCOk','clear','Feet:\x20','Gloves:\x20','player','9589YTyqgc','write','Legs:\x20','271179IPbtDW','90%','2239212YzKwhv','Side\x20Quest\x20Adventure\x20Game','leftHand','equipment','gloves','stdin','getAllItems','head','forEach','logFilePath','split','\x20Game\x20Log\x20','arms','inventory','45%','Right\x20Hand:\x20','search','constructor','22158RUaMeo','pushLine'];a34c=function(){return E;};return a34c();}import{Door}from'./door.js';import{eventBus}from'./utilities/eventBus.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a34d(a,b);}import a34g from'./utilities/logger.js';export async function main(a,b,c){const w=a34d,d=a34g[w(0x1d6)](c[w(0x1a5)]);process[w(0x1a1)][w(0x1e6)](!![]),process['stdin']['resume']();const e=a34e[w(0x1c2)]({'smartCSR':!![],'title':w(0x1f9)}),f=a34e[w(0x1c0)]({'top':'0%','left':w(0x1bc),'width':w(0x1d1),'height':w(0x1aa),'border':{'type':w(0x1b1)},'label':w(0x1b8),'content':w(0x1cf),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x1db)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),g=o=>{const x=w,p=o[x(0x1a2)]()['map'](q=>q[x(0x1c5)]);f['setContent'](p[x(0x1ec)]('\x0a')),e[x(0x1e3)]();};e[w(0x1d2)](f);const h=a34e[w(0x1c0)]({'top':w(0x1aa),'left':'75%','width':'25%','height':w(0x1d1),'border':{'type':w(0x1b1)},'label':w(0x1d3),'content':'Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x1db)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0x1d2)](h);function i(o){const y=w;h[y(0x1d0)]('Head:\x20'+(o[y(0x1a3)]?o[y(0x1a3)][y(0x1c5)]:'None')+'\x0a'+(y(0x1eb)+(o['torso']?o['torso'][y(0x1c5)]:y(0x1c9))+'\x0a')+(y(0x1f5)+(o[y(0x1cb)]?o['legs']['name']:y(0x1c9))+'\x0a')+(y(0x1f0)+(o[y(0x1c4)]?o[y(0x1c4)][y(0x1c5)]:'None')+'\x0a')+('Arms:\x20'+(o[y(0x1a8)]?o[y(0x1a8)][y(0x1c5)]:y(0x1c9))+'\x0a')+(y(0x1f1)+(o[y(0x1fc)]?o['gloves']['name']:y(0x1c9))+'\x0a')+(y(0x1c8)+(o['leftHand']?o[y(0x1fa)][y(0x1c5)]:y(0x1c9))+'\x0a')+(y(0x1ab)+(o[y(0x1be)]?o[y(0x1be)][y(0x1c5)]:y(0x1c9))+'\x0a')),e[y(0x1e3)]();}const j=a34e[w(0x1c0)]({'top':w(0x1ca),'left':'75%','width':'25%','height':'22%','border':{'type':w(0x1b1)},'label':w(0x1e2),'content':'Available\x20exits\x20will\x20be\x20shown\x20here...','tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0x1d2)](j);function k(o){const z=w;let p='';o[z(0x1ba)][z(0x1e4)]>0x0?o[z(0x1ba)][z(0x1a4)]((q,r)=>{const A=z;if(q instanceof Door){const s=q[A(0x1dd)](o);s['roomType']===RoomType['OUTSIDE']?p+=capitalCase(r)+':\x20'+s[A(0x1c5)]:p+=capitalCase(r)+':\x20'+q[A(0x1c5)];if(q[A(0x1b7)]())p+=A(0x1b6);else q[A(0x1cd)]()&&(p+=A(0x1e5));p+='\x0a';}else p+=capitalCase(r)+'\x0a';}):p+=z(0x1de),j['setContent'](p),e[z(0x1e3)]();}const l=a34e[w(0x1c0)]({'top':'0%','left':'0%','width':'75%','height':w(0x1f7),'border':{'type':'line'},'label':w(0x1a7),'scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x1db)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});e[w(0x1d2)](l);const m=a34e[w(0x1d8)]({'bottom':0x0,'left':0x0,'width':'100%','height':'10%','tags':!![],'border':{'type':w(0x1b1)},'style':{'fg':w(0x1e7),'border':{'fg':w(0x1bb)}},'keys':!![],'mouse':!![],'inputOnFocus':!![]});e[w(0x1d2)](m),e[w(0x1d5)]([w(0x1d9),'C-c'],()=>process['exit'](0x0)),m[w(0x1b4)](),e[w(0x1e3)]();c['debug']&&(eventBus['on']('logError',o=>{const B=w;l[B(0x1af)](B(0x1da)+o+B(0x1d7)),l['scroll'](0x1),m[B(0x1ed)](),d[B(0x1f4)](JSON[B(0x1b5)](o));}),eventBus['on'](w(0x1b0),o=>{const C=w;l[C(0x1af)]('{yellow-fg}===Log:\x20'+o+C(0x1c1)),l['scroll'](0x1),m[C(0x1ed)](),d[C(0x1f4)](JSON[C(0x1b5)](o));}));d['write'](w(0x1b2));const n=a34f[w(0x1d6)](a,b);l[w(0x1d0)](n['getWelcomeMessage']()),i(n[w(0x1f2)]['equipment']),g(n[w(0x1f2)]['inventory']),k(n[w(0x1f2)][w(0x1c6)]),m[w(0x1d5)]([w(0x1cc)],async()=>{const D=w,o=m[D(0x1b9)](),p=n[D(0x1e1)](o);(o[D(0x1a6)]('\x20')[0x0]==='take'||'equip'||D(0x1b3))&&(g(n[D(0x1f2)][D(0x1a9)]),i(n[D(0x1f2)][D(0x1fb)])),(o[D(0x1a6)]('\x20')[0x0]==='go'||D(0x1e0)||'unlock')&&k(n[D(0x1f2)]['currentLocation']),o[D(0x1a6)]('\x20')[0x0]===D(0x1ef)&&l[D(0x1d0)](''),p===null&&(l[D(0x1af)]('Thanks\x20for\x20playing!'),e[D(0x1e3)](),d[D(0x1f4)](D(0x1e8)),process['exit'](0x0)),l[D(0x1af)](p),l['scroll'](0x1),m[D(0x1ed)](),m[D(0x1b4)](),e[D(0x1e3)]();});}
@@ -1 +1 @@
1
- (function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x14c))/0x1*(parseInt(f(0x150))/0x2)+-parseInt(f(0x154))/0x3+-parseInt(f(0x14e))/0x4+parseInt(f(0x14d))/0x5*(parseInt(f(0x14a))/0x6)+-parseInt(f(0x152))/0x7+parseInt(f(0x153))/0x8+parseInt(f(0x151))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x3ae80));function a34c(){const h=['6FraJTv','(((.+)+)+)+$','1nenjFY','584895NZdhmm','1247288xUJSHb','constructor','777674wViEiZ','11251287eTJjlv','1839943ytUfUi','2350216wqulXE','1368333dSGAOU','search','toString'];a34c=function(){return h;};return a34c();}const a34b=(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;};}()),a34a=a34b(this,function(){const g=a34d;return a34a[g(0x149)]()[g(0x148)](g(0x14b))[g(0x149)]()[g(0x14f)](a34a)['search'](g(0x14b));});function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x148;let f=c[d];return f;},a34d(a,b);}a34a();import{EventEmitter}from'events';export const eventBus=new EventEmitter();
1
+ (function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x190))/0x1*(parseInt(f(0x192))/0x2)+parseInt(f(0x199))/0x3+parseInt(f(0x194))/0x4+parseInt(f(0x19b))/0x5*(-parseInt(f(0x19a))/0x6)+parseInt(f(0x191))/0x7*(parseInt(f(0x197))/0x8)+parseInt(f(0x19c))/0x9+parseInt(f(0x193))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x26768));const a35b=(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;};}()),a35a=a35b(this,function(){const g=a35d;return a35a[g(0x196)]()[g(0x198)](g(0x195))[g(0x196)]()['constructor'](a35a)[g(0x198)](g(0x195));});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x190;let f=c[d];return f;},a35d(a,b);}a35a();import{EventEmitter}from'events';export const eventBus=new EventEmitter();function a35c(){const h=['70459FtzOvq','7LPVTsv','8rMHDFJ','1005890qcuHAY','883828rdxttp','(((.+)+)+)+$','toString','80iASUVX','search','752004YOnlJH','18WmVTJD','414655rczwoU','1043541PIuFSs'];a35c=function(){return h;};return a35c();}
@@ -1 +1 @@
1
- const a35k=a35d;(function(a,b){const h=a35d,c=a();while(!![]){try{const d=parseInt(h(0x93))/0x1*(parseInt(h(0x99))/0x2)+-parseInt(h(0x8e))/0x3+-parseInt(h(0x8a))/0x4*(-parseInt(h(0x8b))/0x5)+-parseInt(h(0x98))/0x6*(parseInt(h(0x87))/0x7)+-parseInt(h(0x92))/0x8+parseInt(h(0x97))/0x9+parseInt(h(0x83))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xec682));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a35d;if(c){const e=c[i(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const j=a35d;return a35a[j(0x9a)]()[j(0x85)](j(0x8d))[j(0x9a)]()[j(0x8c)](a35a)['search'](j(0x8d));});a35a();import a35e from'fs';import a35f from'os';import a35g from'path';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x82;let f=c[d];return f;},a35d(a,b);}const homeDir=a35f['homedir']();class Logger{static [a35k(0x95)];[a35k(0x84)];constructor(a){const l=a35k;this[l(0x84)]=a;}static[a35k(0x94)](a=a35g['join'](homeDir,a35k(0x90),a35k(0x91))){const m=a35k;return!Logger[m(0x95)]&&(Logger[m(0x95)]=new Logger(a)),Logger[m(0x95)];}[a35k(0x96)](a){const n=a35k,b=new Date()[n(0x82)]();a35e[n(0x88)](this['filePath'],n(0x86)+b+']\x20'+a+'\x0a');}[a35k(0x8f)](a){const o=a35k,b=new Date()[o(0x82)]();a35e[o(0x88)](this[o(0x84)],'[ERROR]\x20['+b+']\x20'+a+'\x0a');}}function a35c(){const p=['5573628qCsLdv','30FUmRRQ','43352KQOcMq','toString','toISOString','29459240AWjNYV','filePath','search','[INFO]\x20[','2311505PkRaxb','appendFileSync','apply','28PcCdtO','701575BIhRiX','constructor','(((.+)+)+)+$','4770924aixTRz','error','.maka','side-quest.log','12239168jISKhb','55xawCby','getInstance','instance','write'];a35c=function(){return p;};return a35c();}export default Logger;
1
+ const a36k=a36d;(function(a,b){const h=a36d,c=a();while(!![]){try{const d=-parseInt(h(0x18f))/0x1*(parseInt(h(0x186))/0x2)+-parseInt(h(0x192))/0x3*(-parseInt(h(0x188))/0x4)+-parseInt(h(0x191))/0x5*(parseInt(h(0x189))/0x6)+parseInt(h(0x18a))/0x7*(-parseInt(h(0x17c))/0x8)+parseInt(h(0x18d))/0x9*(parseInt(h(0x18e))/0xa)+-parseInt(h(0x17e))/0xb+-parseInt(h(0x190))/0xc*(-parseInt(h(0x193))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x35cd4));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a36d;if(c){const e=c[i(0x18b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const j=a36d;return a36a['toString']()[j(0x182)](j(0x17f))[j(0x197)]()[j(0x18c)](a36a)[j(0x182)]('(((.+)+)+)+$');});a36a();import a36e from'fs';import a36f from'os';function a36c(){const o=['64253uwoEoD','apply','constructor','276417MULAaV','10DomUVQ','1ltIIpO','7802472VaLVaK','130tEpMrz','25419oPxHkJ','13ZkxwUK','appendFileSync','homedir','error','toString','88lRurCd','[ERROR]\x20[','2330240KrdxqW','(((.+)+)+)+$','[INFO]\x20[','filePath','search','getInstance','.maka','toISOString','5614lsYKHb','instance','44iqBJYB','54954ddHqJc'];a36c=function(){return o;};return a36c();}import a36g from'path';const homeDir=a36f[a36k(0x195)]();class Logger{static [a36k(0x187)];['filePath'];constructor(a){this['filePath']=a;}static[a36k(0x183)](a=a36g['join'](homeDir,a36k(0x184),'side-quest.log')){const l=a36k;return!Logger[l(0x187)]&&(Logger[l(0x187)]=new Logger(a)),Logger[l(0x187)];}['write'](a){const m=a36k,b=new Date()[m(0x185)]();a36e[m(0x194)](this[m(0x181)],m(0x180)+b+']\x20'+a+'\x0a');}[a36k(0x196)](a){const n=a36k,b=new Date()[n(0x185)]();a36e[n(0x194)](this[n(0x181)],n(0x17d)+b+']\x20'+a+'\x0a');}}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x17c;let f=c[d];return f;},a36d(a,b);}export default Logger;
@@ -1 +1 @@
1
- const a36k=a36d;(function(a,b){const h=a36d,c=a();while(!![]){try{const d=-parseInt(h(0xbf))/0x1+parseInt(h(0xbb))/0x2*(parseInt(h(0xb5))/0x3)+-parseInt(h(0xb1))/0x4*(-parseInt(h(0xba))/0x5)+parseInt(h(0xb7))/0x6*(parseInt(h(0xb8))/0x7)+parseInt(h(0xb9))/0x8+-parseInt(h(0xc3))/0x9+-parseInt(h(0xbe))/0xa*(parseInt(h(0xaf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xbe145));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a36d;if(c){const e=c[i(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const j=a36d;return a36a[j(0xbc)]()['search'](j(0xae))[j(0xbc)]()[j(0xad)](a36a)[j(0xb2)](j(0xae));});a36a();import a36e from'path';import a36f from'./play.command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xad;let f=c[d];return f;},a36d(a,b);}import{Command}from'../../command.js';import{main}from'./sideQuest/ui.js';import a36g from'./sideQuest/rooms.js';function a36c(){const m=['apply','debug','3102894oaQzaA','constructor','(((.+)+)+)+$','26257jutpjV','Play\x20a\x20little\x20side-quest','3036evcmrP','search','getGlobalMakaDir','join','204CuUXfl','Just\x20a\x20little\x20pet\x20project...\x20I\x20really\x20liked\x20the\x20Dunnet\x20game\x20that\x0a\x20\x20came\x20with\x20MacOS\x20but\x20has\x20been\x20removed.\x20\x20Just\x20messing\x20around\x20and\x20building\x0a\x20\x20out\x20a\x20similar\x20thing...','371514RSBKrR','119lJXrDU','759384FOaJrL','7045DwWoFH','6668RTqqZX','toString','side-quest','4340QzndLe','284400LtiRhc','side-quest.log'];a36c=function(){return m;};return a36c();}import{Player}from'./sideQuest/player.js';const playerInventory=[],playerEquipment={'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};Command['create']({'name':a36k(0xbd),'usage':'maka\x20play:side-quest','shortDesc':a36k(0xb0),'aliases':['sq'],'description':a36k(0xb6),'validOpts':[a36k(0xc2)]},async function(a,b){const l=a36k,c=this['fsi'][l(0xb3)](),d=a36e[l(0xb4)](c,l(0xc0)),e=new Player(),f={...b,'logFilePath':d};main(e,a36g,f);},a36f);
1
+ const a37k=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=-parseInt(h(0xce))/0x1*(parseInt(h(0xc5))/0x2)+-parseInt(h(0xd0))/0x3+parseInt(h(0xd6))/0x4*(-parseInt(h(0xd4))/0x5)+-parseInt(h(0xd7))/0x6+parseInt(h(0xd1))/0x7+parseInt(h(0xcb))/0x8+-parseInt(h(0xd8))/0x9*(-parseInt(h(0xcc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x936f5));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a37d;if(c){const e=c[i(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const j=a37d;return a37a[j(0xc7)]()[j(0xc0)]('(((.+)+)+)+$')[j(0xc7)]()[j(0xca)](a37a)[j(0xc0)](j(0xc2));});function a37c(){const m=['player','constructor','261792VNUMBP','18287110FWXCJQ','Just\x20a\x20little\x20pet\x20project...\x20I\x20really\x20liked\x20the\x20Dunnet\x20game\x20that\x0a\x20\x20came\x20with\x20MacOS\x20but\x20has\x20been\x20removed.\x20\x20Just\x20messing\x20around\x20and\x20building\x0a\x20\x20out\x20a\x20similar\x20thing...','647wOiutp','stdout','2578575wbpjJM','6888567GIcJLA','fsi','Commoner','92995mLNLmk','apply','164nmkcoM','72036bxYtMp','9nXpdnd','Play\x20a\x20little\x20side-quest','search','create','(((.+)+)+)+$','maka\x20play:side-quest','join','1878Roecwk','write','toString','debug'];a37c=function(){return m;};return a37c();}a37a();import a37e from'path';import a37f from'./play.command.js';import{Command}from'../../command.js';import{main}from'./sideQuest/ui.js';import a37g from'./sideQuest/rooms.js';import{Player}from'./sideQuest/player.js';const playerInventory=[],playerEquipment={'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xc0;let f=c[d];return f;},a37d(a,b);}Command[a37k(0xc1)]({'name':'side-quest','usage':a37k(0xc3),'shortDesc':a37k(0xd9),'aliases':['sq'],'description':a37k(0xcd),'validOpts':[a37k(0xc8),a37k(0xc9)]},async function(a,b){const l=a37k,c=this[l(0xd2)]['getGlobalMakaDir'](),d=a37e[l(0xc4)](c,'side-quest.log'),e=b[l(0xc9)]?b[l(0xc9)]:l(0xd3),f=new Player(e);process[l(0xcf)][l(0xc6)]('\x1bc');const g={...b,'logFilePath':d};main(f,a37g,g);},a37f);
@@ -1 +1 @@
1
- var a37h=a37d;function a37d(a,b){var c=a37c();return a37d=function(d,e){d=d-0x1d8;var f=c[d];return f;},a37d(a,b);}(function(a,b){var f=a37d,c=a();while(!![]){try{var d=-parseInt(f(0x1e7))/0x1*(-parseInt(f(0x1e0))/0x2)+parseInt(f(0x1e4))/0x3+-parseInt(f(0x1e5))/0x4+-parseInt(f(0x1dd))/0x5*(-parseInt(f(0x1d8))/0x6)+-parseInt(f(0x1da))/0x7+-parseInt(f(0x1db))/0x8*(-parseInt(f(0x1e8))/0x9)+-parseInt(f(0x1e1))/0xa*(parseInt(f(0x1df))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x7e98a));var a37b=(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;};}()),a37a=a37b(this,function(){var g=a37d;return a37a[g(0x1ea)]()[g(0x1e6)](g(0x1de))[g(0x1ea)]()['constructor'](a37a)[g(0x1e6)](g(0x1de));});a37a();import a37e from'./play.command.js';function a37c(){var j=['8927vhEogx','552231GwPaqP','create','toString','6UbCfxN','maka\x20game:snake','1723981mwJQIL','104ieTRya','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','1042295enmzUo','(((.+)+)+)+$','528QXqemQ','226jtyuud','277730yZmWrn','snake','npx\x20command-line-snake','1562286nqFgoO','1750856nNyLkm','search'];a37c=function(){return j;};return a37c();}import{Command}from'../../command.js';import{execSync}from'child_process';Command[a37h(0x1e9)]({'name':a37h(0x1e2),'usage':a37h(0x1d9),'shortDesc':a37h(0x1dc),'validOpts':[]},async function(){var i=a37h;execSync(i(0x1e3),{'stdio':'inherit'});},a37e);
1
+ function a38c(){var k=['4197618KpigMY','snake','search','9RXUXyi','1465107ERCdhy','8EMcQTt','(((.+)+)+)+$','npx\x20command-line-snake','27162hsGBPo','43481660eioqKh','toString','apply','create','835oTNoJR','1358108XdcvFa','2568700akAvHJ','153702bgEkPe'];a38c=function(){return k;};return a38c();}var a38i=a38d;(function(a,b){var f=a38d,c=a();while(!![]){try{var d=-parseInt(f(0xa1))/0x1+-parseInt(f(0xa3))/0x2*(parseInt(f(0x96))/0x3)+-parseInt(f(0xa2))/0x4+parseInt(f(0xa0))/0x5*(-parseInt(f(0x9b))/0x6)+-parseInt(f(0x97))/0x7+-parseInt(f(0x98))/0x8*(parseInt(f(0xa4))/0x9)+parseInt(f(0x9c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa7632));var a38b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a38d;if(c){var e=c[g(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){var h=a38d;return a38a[h(0x9d)]()[h(0xa6)](h(0x99))[h(0x9d)]()['constructor'](a38a)[h(0xa6)](h(0x99));});a38a();import a38e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';function a38d(a,b){var c=a38c();return a38d=function(d,e){d=d-0x96;var f=c[d];return f;},a38d(a,b);}Command[a38i(0x9f)]({'name':a38i(0xa5),'usage':'maka\x20game:snake','shortDesc':'Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','validOpts':[]},async function(){var j=a38i;execSync(j(0x9a),{'stdio':'inherit'});},a38e);
@@ -1 +1 @@
1
- var a38h=a38d;(function(a,b){var f=a38d,c=a();while(!![]){try{var d=parseInt(f(0x158))/0x1+-parseInt(f(0x14c))/0x2*(-parseInt(f(0x150))/0x3)+parseInt(f(0x151))/0x4+-parseInt(f(0x157))/0x5+parseInt(f(0x154))/0x6+-parseInt(f(0x14d))/0x7+parseInt(f(0x155))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x2ed86));var a38b=(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;};}()),a38a=a38b(this,function(){var g=a38d;return a38a[g(0x159)]()[g(0x156)](g(0x14b))[g(0x159)]()[g(0x14a)](a38a)[g(0x156)](g(0x14b));});a38a();import a38e from'./play.command.js';function a38c(){var j=['20454vNMXpb','1549360fFcVWs','search','750010xCcrIY','253721NwfHEY','toString','constructor','(((.+)+)+)+$','2muVjXA','2660399MGbYCp','inherit','maka\x20game:tetris','711147RzbDhp','136352fulskq','npx\x20simple-tetris','tetris'];a38c=function(){return j;};return a38c();}import{Command}from'../../command.js';import{execSync}from'child_process';function a38d(a,b){var c=a38c();return a38d=function(d,e){d=d-0x14a;var f=c[d];return f;},a38d(a,b);}Command['create']({'name':a38h(0x153),'usage':a38h(0x14f),'shortDesc':'Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','validOpts':[]},async function(){var i=a38h;execSync(i(0x152),{'stdio':i(0x14e)});},a38e);
1
+ var a39i=a39d;function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x15f;var f=c[d];return f;},a39d(a,b);}(function(a,b){var f=a39d,c=a();while(!![]){try{var d=-parseInt(f(0x168))/0x1+parseInt(f(0x169))/0x2+-parseInt(f(0x16c))/0x3*(-parseInt(f(0x165))/0x4)+-parseInt(f(0x16b))/0x5+parseInt(f(0x16a))/0x6*(parseInt(f(0x16f))/0x7)+parseInt(f(0x16d))/0x8+-parseInt(f(0x170))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x5ce34));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a39d;if(c){var e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var h=a39d;return a39a['toString']()[h(0x171)](h(0x160))[h(0x16e)]()[h(0x167)](a39a)[h(0x171)](h(0x160));});a39a();import a39e from'./play.command.js';import{Command}from'../../command.js';function a39c(){var k=['571752dTmSex','search','create','(((.+)+)+)+$','maka\x20game:tetris','Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','npx\x20simple-tetris','tetris','472ErqydB','apply','constructor','122774bknvMX','606746HDXYBa','6IPdTPY','3280670baVwUU','5262owBJYf','138528jeqQtl','toString','4866701ldtuPX'];a39c=function(){return k;};return a39c();}import{execSync}from'child_process';Command[a39i(0x15f)]({'name':a39i(0x164),'usage':a39i(0x161),'shortDesc':a39i(0x162),'validOpts':[]},async function(){var j=a39i;execSync(j(0x163),{'stdio':'inherit'});},a39e);
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xfa))/0x1+-parseInt(f(0xfe))/0x2*(-parseInt(f(0xf4))/0x3)+-parseInt(f(0xf8))/0x4+parseInt(f(0xf9))/0x5+-parseInt(f(0xfc))/0x6*(-parseInt(f(0xfb))/0x7)+parseInt(f(0x104))/0x8+-parseInt(f(0x102))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe6acf));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x10b)]()['search'](h(0xf5))[h(0x10b)]()[h(0x108)](a39a)[h(0xfd)]('(((.+)+)+)+$');});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xf3;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a39e from'../generators/maka.gen.js';import{UsageError}from'../error.js';Command['create']({'name':a39i(0x105),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[a39i(0x103),a39i(0x101),a39i(0xf6)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a39i(0x107),'description':a39i(0x100),'examples':[a39i(0x10c),'maka\x20g:scaffold\x20todos',a39i(0xf7),'maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(a,b){const j=a39i,c=a[0x0],d=a39e[j(0x10d)](c);if(!d){b[j(0xf6)]?(Log[j(0x10a)]('Generators:'),a39e[j(0x109)]()):Log['error'](j(0x106));throw new UsageError();}await d[j(0xf3)](a['slice'](0x1),b);});function a39c(){const k=['761780DRHHJc','14wPaEIe','1963212tHEDLg','search','2088808pxnRRV','apply','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','where','24101496fwmqtj','dir','11110168pfkKNm','generate','Could\x20not\x20find\x20generator','Scaffold\x20various\x20parts\x20of\x20your\x20application','constructor','listGenerators','notice','toString','maka\x20generate:scaffold\x20todos','findGenerator','invoke','3fJCVjO','(((.+)+)+)+$','help','maka\x20g:template\x20todos/todo_item','7399612lKbcIt','8116675LNlJAQ'];a39c=function(){return k;};return a39c();}
1
+ const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x193))/0x1*(parseInt(f(0x19b))/0x2)+parseInt(f(0x1a2))/0x3*(-parseInt(f(0x1a3))/0x4)+parseInt(f(0x1a4))/0x5*(parseInt(f(0x191))/0x6)+parseInt(f(0x18b))/0x7*(-parseInt(f(0x198))/0x8)+parseInt(f(0x190))/0x9*(parseInt(f(0x18c))/0xa)+parseInt(f(0x19a))/0xb+-parseInt(f(0x186))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xe0a31));const a40b=(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;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x192)]()[g(0x18d)](g(0x18e))[g(0x192)]()[g(0x1a6)](a40a)['search'](g(0x18e));});a40a();import{Command}from'../command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x186;let f=c[d];return f;},a40d(a,b);}function a40c(){const j=['12855227WLiSoS','2638414nULbqN','Could\x20not\x20find\x20generator','maka\x20g:api\x20trucks','Generators:','maka\x20g:route\x20todos/edit','help','Scaffold\x20various\x20parts\x20of\x20your\x20application','22926rVTvIh','340jhJEae','12630NxExJj','slice','constructor','17107452LigcIE','maka\x20g:template\x20todos/todo_item','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','maka\x20g:package\x20package:name','dir','28rDoPty','7620WqWJMk','search','(((.+)+)+)+$','notice','10539WkpLkM','3306MdJoDX','toString','1FsxfZe','generate','maka\x20{generate,\x20g}:<generator>\x20<name>','invoke','create','3553376eOcpwr','maka\x20g:dbc\x20geoserver\x20--type=pgsql'];a40c=function(){return j;};return a40c();}import{Log}from'../tools/log/log.class.js';import a40e from'../generators/maka.gen.js';import{UsageError}from'../error.js';Command[a40h(0x197)]({'name':a40h(0x194),'aliases':['g'],'usage':a40h(0x195),'validOpts':[a40h(0x18a),'where',a40h(0x1a0)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a40h(0x1a1),'description':a40h(0x188),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a40h(0x187),a40h(0x189),a40h(0x19f),a40h(0x19d),a40h(0x199)]},async function(a,b){const i=a40h,c=a[0x0],d=a40e['findGenerator'](c);if(!d){b[i(0x1a0)]?(Log[i(0x18f)](i(0x19e)),a40e['listGenerators']()):Log['error'](i(0x19c));throw new UsageError();}await d[i(0x196)](a[i(0x1a5)](0x1),b);});
@@ -1 +1 @@
1
- (function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x143))/0x1+parseInt(f(0x13f))/0x2*(-parseInt(f(0x144))/0x3)+-parseInt(f(0x146))/0x4+parseInt(f(0x145))/0x5*(-parseInt(f(0x147))/0x6)+parseInt(f(0x148))/0x7*(-parseInt(f(0x13d))/0x8)+parseInt(f(0x141))/0x9+parseInt(f(0x14a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x88d06));var a40b=(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;};}()),a40a=a40b(this,function(){var g=a40d;return a40a[g(0x142)]()['search'](g(0x149))[g(0x142)]()[g(0x140)](a40a)[g(0x13e)](g(0x149));});a40a();import'./get.command.js';import'./global.sub.cmd.js';function a40c(){var h=['(((.+)+)+)+$','24166860rqUJwd','8rUQmhZ','search','123784ooipCX','constructor','2701206FKXIvJ','toString','955069dhXqyu','12mURkSD','193615cJUzxx','3292508UXztDd','6WZDpzE','643601lmOWWb'];a40c=function(){return h;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x13d;var f=c[d];return f;},a40d(a,b);}import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
1
+ (function(a,b){var f=a41d,c=a();while(!![]){try{var d=-parseInt(f(0xc3))/0x1*(-parseInt(f(0xc0))/0x2)+parseInt(f(0xbc))/0x3*(-parseInt(f(0xc1))/0x4)+-parseInt(f(0xbd))/0x5*(-parseInt(f(0xb4))/0x6)+-parseInt(f(0xba))/0x7+parseInt(f(0xc2))/0x8*(parseInt(f(0xb7))/0x9)+-parseInt(f(0xc4))/0xa+-parseInt(f(0xb5))/0xb*(-parseInt(f(0xbb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x4ad28));function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0xb4;var f=c[d];return f;},a41d(a,b);}var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a41d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var h=a41d;return a41a[h(0xb8)]()['search']('(((.+)+)+)+$')['toString']()[h(0xbf)](a41a)[h(0xb6)](h(0xb9));});a41a();import'./get.command.js';import'./global.sub.cmd.js';function a41c(){var i=['12dfBgJl','11922lGSBUh','10ZAqxxf','apply','constructor','2mfjftb','244nbjkrF','72kHCjPQ','313387iLtLCq','4321920UcirEe','1775802jaEDeL','1116181RAEnmq','search','118791YfOTRO','toString','(((.+)+)+)+$','1011535KoIwhW'];a41c=function(){return i;};return a41c();}import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
@@ -1 +1 @@
1
- const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x148))/0x1+-parseInt(f(0x14b))/0x2*(-parseInt(f(0x13f))/0x3)+-parseInt(f(0x149))/0x4+-parseInt(f(0x147))/0x5*(-parseInt(f(0x13c))/0x6)+parseInt(f(0x143))/0x7+parseInt(f(0x138))/0x8+-parseInt(f(0x146))/0x9*(parseInt(f(0x140))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x7c32b));function a41c(){const k=['runSubCommand','9MsZjAb','5yIVuSY','457299TzixOo','2562140xJBAsR','apply','78yHKISq','toString','5029232vcTepS','findSubCommand','error','(((.+)+)+)+$','5949618pvVLwH','maka\x20get:<sub-command>','get','45120ohpAAW','18684230qUagRB','create','Get\x20various\x20Maka\x20variables\x20and\x20configurations','2474899kjbVhU','search'];a41c=function(){return k;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x137)]()[h(0x144)]('(((.+)+)+)+$')[h(0x137)]()['constructor'](a41a)[h(0x144)](h(0x13b));});a41a();import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{UsageErrorWithSubs}from'../../error.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x137;let f=c[d];return f;},a41d(a,b);}const GetCommand=Command[a41i(0x141)]({'name':a41i(0x13e),'usage':a41i(0x13d),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a41i(0x142),'validOpts':[]},async function(a,b){const j=a41i,c=a[0x0],d=this[j(0x139)](c);if(d)this[j(0x145)](c,a,b);else{Log[j(0x13a)]('Sub-Command\x20not\x20found');throw new UsageErrorWithSubs();}});export default GetCommand;
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xf5))/0x1*(parseInt(f(0xfd))/0x2)+parseInt(f(0xfb))/0x3*(parseInt(f(0xff))/0x4)+parseInt(f(0xf3))/0x5*(parseInt(f(0xfc))/0x6)+-parseInt(f(0xfa))/0x7*(-parseInt(f(0x101))/0x8)+-parseInt(f(0xfe))/0x9+-parseInt(f(0xf4))/0xa+parseInt(f(0x102))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc47bf));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xf7)]()[h(0xf6)]('(((.+)+)+)+$')[h(0xf7)]()['constructor'](a42a)[h(0xf6)]('(((.+)+)+)+$');});a42a();import{Command}from'../../command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xf3;let f=c[d];return f;},a42d(a,b);}import{Log}from'../../tools/log/log.class.js';import{UsageErrorWithSubs}from'../../error.js';function a42c(){const k=['apply','8razNsX','4025241HQgbOt','590oSLrHe','4460410pHtPkd','998CLtwap','search','toString','create','error','1899653BWOtwY','12amOvgr','34446LNqaPv','1608YaUfOL','8754120rCCkXn','106380CJmDRC'];a42c=function(){return k;};return a42c();}const GetCommand=Command[a42i(0xf8)]({'name':'get','usage':'maka\x20get:<sub-command>','minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Get\x20various\x20Maka\x20variables\x20and\x20configurations','validOpts':[]},async function(a,b){const j=a42i,c=a[0x0],d=this['findSubCommand'](c);if(d)this['runSubCommand'](c,a,b);else{Log[j(0xf9)]('Sub-Command\x20not\x20found');throw new UsageErrorWithSubs();}});export default GetCommand;
@@ -1 +1 @@
1
- const a42i=a42d;function a42c(){const k=['2RxFQGm','(((.+)+)+)+$','350397ntKaJV','5MRImCG','global-config','log','error','exit','512255sebqRn','3969RxOpUD','fsi','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','109835ABEqyg','1062273cqpsfY','toString','apply','10NKIWeu','search','create','maka\x20get:global-config','6520392lEdITf','3629428ijgOpQ','15800DdGynd','1644choTDf'];a42c=function(){return k;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x133))/0x1+-parseInt(f(0x12b))/0x2*(parseInt(f(0x120))/0x3)+-parseInt(f(0x128))/0x4+parseInt(f(0x12e))/0x5*(-parseInt(f(0x127))/0x6)+parseInt(f(0x11c))/0x7*(parseInt(f(0x129))/0x8)+parseInt(f(0x12d))/0x9*(-parseInt(f(0x123))/0xa)+parseInt(f(0x11f))/0xb*(parseInt(f(0x12a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x95a30));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x121)]()[h(0x124)](h(0x12c))['toString']()['constructor'](a42a)[h(0x124)](h(0x12c));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x11c;let f=c[d];return f;},a42d(a,b);}import a42e from'./get.command.js';import{Command}from'../../command.js';Command[a42i(0x125)]({'name':a42i(0x12f),'usage':a42i(0x126),'aliases':['gc'],'shortDesc':a42i(0x11e),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a42i;try{const a=await this[j(0x11d)]['getGlobalConfig']();console[j(0x130)](a);}catch(b){console[j(0x131)](b),process[j(0x132)](0x0);}},a42e);
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1a2))/0x1+parseInt(f(0x1aa))/0x2+parseInt(f(0x1a9))/0x3+-parseInt(f(0x1b2))/0x4+parseInt(f(0x1ab))/0x5+-parseInt(f(0x1ad))/0x6*(parseInt(f(0x1ac))/0x7)+-parseInt(f(0x1a8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5462e));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1b1)]()[h(0x1a4)](h(0x1a3))['toString']()[h(0x1a0)](a43a)[h(0x1a4)]('(((.+)+)+)+$');});a43a();import a43e from'./get.command.js';function a43c(){const k=['search','fsi','error','apply','5602256CbmMCG','1092669BQKojl','1159168SwvDJn','3305210kjwRdM','44674wMCVie','396RwdpKs','log','create','getGlobalConfig','toString','102512vnnxnO','constructor','maka\x20get:global-config','112081WpIJPN','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a43d(a,b);}import{Command}from'../../command.js';Command[a43i(0x1af)]({'name':'global-config','usage':a43i(0x1a1),'aliases':['gc'],'shortDesc':'Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a43i;try{const a=await this[j(0x1a5)][j(0x1b0)]();console[j(0x1ae)](a);}catch(b){console[j(0x1a6)](b),process['exit'](0x0);}},a43e);
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x82))/0x1*(-parseInt(f(0x81))/0x2)+parseInt(f(0x89))/0x3*(parseInt(f(0x79))/0x4)+-parseInt(f(0x7d))/0x5*(parseInt(f(0x87))/0x6)+-parseInt(f(0x7c))/0x7+parseInt(f(0x83))/0x8*(parseInt(f(0x7a))/0x9)+-parseInt(f(0x7b))/0xa+parseInt(f(0x88))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa3668));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x84)]('(((.+)+)+)+$')[h(0x85)]()[h(0x80)](a43a)[h(0x84)]('(((.+)+)+)+$');});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x79;let f=c[d];return f;},a43d(a,b);}import a43e from'./get.command.js';import{Command}from'../../command.js';function a43c(){const k=['search','toString','fsi','6pbBCiL','21309123BmRYYN','29589PTuTug','maka\x20get:local-config','164vVcUTn','23409iYcifA','882940QESRgz','8358392IlSHsB','2320830ggbLHX','create','apply','constructor','2FhsbZT','120847kRnrfV','600ftvLkF'];a43c=function(){return k;};return a43c();}Command[a43i(0x7e)]({'name':'local-config','usage':a43i(0x8a),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':'Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a43i,a=await this[j(0x86)]['getProjectConfig']();console['log'](a);},a43e);
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xd1))/0x1*(parseInt(f(0xc0))/0x2)+parseInt(f(0xd2))/0x3*(parseInt(f(0xd0))/0x4)+-parseInt(f(0xc8))/0x5*(parseInt(f(0xc2))/0x6)+parseInt(f(0xcb))/0x7+-parseInt(f(0xc9))/0x8+parseInt(f(0xc7))/0x9+-parseInt(f(0xd3))/0xa*(-parseInt(f(0xce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x92bdc));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xc3)]()[h(0xca)]('(((.+)+)+)+$')[h(0xc3)]()[h(0xcc)](a44a)[h(0xca)](h(0xc1));});function a44c(){const k=['6952976nIzDTe','search','295743RmleOP','constructor','log','154bWCcZg','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','1325708qEYJwt','484604KZRnEM','9JKDCVq','617210JVjLic','local-config','maka\x20get:local-config','fsi','4YVhErN','(((.+)+)+)+$','1032ZHcpsi','toString','apply','getProjectConfig','create','8771454bAXIRt','12670sJnCDV'];a44c=function(){return k;};return a44c();}a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xbe;let f=c[d];return f;},a44d(a,b);}import a44e from'./get.command.js';import{Command}from'../../command.js';Command[a44i(0xc6)]({'name':a44i(0xd4),'usage':a44i(0xbe),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a44i(0xcf),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a44i,a=await this[j(0xbf)][j(0xc5)]();console[j(0xcd)](a);},a44e);
@@ -1 +1 @@
1
- const a44j=a44d;(function(a,b){const g=a44d,c=a();while(!![]){try{const d=-parseInt(g(0x12d))/0x1*(parseInt(g(0x130))/0x2)+parseInt(g(0x11f))/0x3*(-parseInt(g(0x124))/0x4)+-parseInt(g(0x119))/0x5+parseInt(g(0x12c))/0x6+parseInt(g(0x120))/0x7+parseInt(g(0x127))/0x8+parseInt(g(0x128))/0x9*(parseInt(g(0x118))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x821b9));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a44d;if(c){const e=c[h(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const i=a44d;return a44a[i(0x122)]()[i(0x134)](i(0x125))[i(0x122)]()['constructor'](a44a)[i(0x134)](i(0x125));});a44a();import a44e from'./get.command.js';function a44c(){const l=['decode','token','4PJGlBv','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','user','search','roles','getGlobalConfig','569930kyUNWm','1354115NnfCAD','userId','notice','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','exit','96oulGOQ','6900824rLwuJU','fsi','toString','User\x20Access\x20Token:\x20\x20','132968uYCIAc','(((.+)+)+)+$','hash','3440472ftDQBB','63kRXaCN','authToken','create','apply','4884084PFvsrY','380684ZrgpeE'];a44c=function(){return l;};return a44c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a44f from'jsonwebtoken';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x116;let f=c[d];return f;},a44d(a,b);}Command[a44j(0x12a)]({'name':'whoami','usage':'maka\x20get:whoami','shortDesc':a44j(0x132),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const k=a44j;try{const a=await this[k(0x121)][k(0x117)]();if(a[k(0x126)]){const b=a44f[k(0x12e)](a[k(0x126)]);Log[k(0x11b)](k(0x11c)+b?.[k(0x133)]),Log[k(0x11b)](k(0x11d)+a['token']?.[k(0x11a)]),Log[k(0x11b)](k(0x123)+a[k(0x12f)]?.[k(0x129)]),Log[k(0x11b)](k(0x131)+b?.[k(0x116)]['join'](',\x20'));}}catch(c){console['error'](c),process[k(0x11e)](0x0);}},a44e);
1
+ const a45j=a45d;(function(a,b){const g=a45d,c=a();while(!![]){try{const d=-parseInt(g(0x1c2))/0x1*(parseInt(g(0x1bd))/0x2)+-parseInt(g(0x1b3))/0x3*(-parseInt(g(0x1b4))/0x4)+-parseInt(g(0x1ad))/0x5*(-parseInt(g(0x1b1))/0x6)+-parseInt(g(0x1b2))/0x7*(parseInt(g(0x1b8))/0x8)+parseInt(g(0x1a9))/0x9+-parseInt(g(0x1c3))/0xa+parseInt(g(0x1ac))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x9ee9a));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a45d;if(c){const e=c[h(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x1b6)]()[i(0x1ab)](i(0x1c1))['toString']()[i(0x1bf)](a45a)[i(0x1ab)]('(((.+)+)+)+$');});a45a();import a45e from'./get.command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a45d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a45c(){const l=['exit','join','error','4778WkbVJL','whoami','constructor','notice','(((.+)+)+)+$','293bimRoq','12904120fWqgud','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','hash','authToken','fsi','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','10835910pAmrix','User\x20Access\x20Token:\x20\x20','search','4670600VxFcVa','5snfVen','create','apply','user','4092534iTUgtV','49IfHcsd','2980443qvSNOG','4OQEyld','roles','toString','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','757560HiErBj','token'];a45c=function(){return l;};return a45c();}import a45f from'jsonwebtoken';Command[a45j(0x1ae)]({'name':a45j(0x1be),'usage':'maka\x20get:whoami','shortDesc':a45j(0x1b7),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const k=a45j;try{const a=await this[k(0x1c7)]['getGlobalConfig']();if(a[k(0x1c5)]){const b=a45f['decode'](a[k(0x1c5)]);Log[k(0x1c0)](k(0x1c4)+b?.[k(0x1b0)]),Log['notice']('User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a[k(0x1b9)]?.['userId']),Log[k(0x1c0)](k(0x1aa)+a[k(0x1b9)]?.[k(0x1c6)]),Log[k(0x1c0)](k(0x1c8)+b?.[k(0x1b5)][k(0x1bb)](',\x20'));}}catch(c){console[k(0x1bc)](c),process[k(0x1ba)](0x0);}},a45e);
@@ -1 +1 @@
1
- var a45h=a45d;(function(a,b){var f=a45d,c=a();while(!![]){try{var d=parseInt(f(0xa3))/0x1*(-parseInt(f(0x9f))/0x2)+parseInt(f(0xa9))/0x3*(-parseInt(f(0xac))/0x4)+parseInt(f(0x9d))/0x5*(-parseInt(f(0x9e))/0x6)+parseInt(f(0xa5))/0x7*(-parseInt(f(0xa2))/0x8)+-parseInt(f(0x9c))/0x9*(parseInt(f(0xad))/0xa)+-parseInt(f(0xa6))/0xb+-parseInt(f(0xaa))/0xc*(-parseInt(f(0xa7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x19aa5));var a45b=(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;};}()),a45a=a45b(this,function(){var g=a45d;return a45a['toString']()[g(0x9b)](g(0xab))[g(0x9a)]()[g(0xa8)](a45a)[g(0x9b)]('(((.+)+)+)+$');});a45a();function a45c(){var i=['create','1391848xHPFlQ','1427xMbePR','Deprecated:\x20use\x20--help\x20instead','7aHAcOW','1014860JzujsU','25857qtgXQN','constructor','6oMIMSQ','4572oeaasL','(((.+)+)+)+$','194548wZanfo','10MWkOSy','help','toString','search','813609jAjakU','46585SDhZvA','60HBhCaT','148dMbGxD','Try,\x20maka\x20--help'];a45c=function(){return i;};return a45c();}import{Command}from'../command.js';import{UsageError}from'../error.js';function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0x9a;var f=c[d];return f;},a45d(a,b);}Command[a45h(0xa1)]({'name':a45h(0xae),'description':a45h(0xa0),'aliases':['h'],'validOpts':[],'shortDesc':a45h(0xa4)},async function(){throw new UsageError();});
1
+ var a46h=a46d;function a46c(){var i=['30178512YvuFJb','help','16VJTHZs','123455UPrnQM','730Qcrnuy','42242tSZpue','2180358QdNYhY','(((.+)+)+)+$','102058mcWtDv','Try,\x20maka\x20--help','5981248gLQDyc','Deprecated:\x20use\x20--help\x20instead','1233knDxPK','toString','6WPQZsI','8888MKrcjt','constructor','32lIXkNr','search','create'];a46c=function(){return i;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1a5))/0x1*(-parseInt(f(0x1a8))/0x2)+parseInt(f(0x1af))/0x3*(parseInt(f(0x1b2))/0x4)+parseInt(f(0x1a6))/0x5*(-parseInt(f(0x1b1))/0x6)+-parseInt(f(0x1ad))/0x7+-parseInt(f(0x1a0))/0x8*(parseInt(f(0x1a9))/0x9)+-parseInt(f(0x1a7))/0xa*(parseInt(f(0x1ab))/0xb)+parseInt(f(0x1a3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x89dcd));var a46b=(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;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x1b0)]()[g(0x1a1)]('(((.+)+)+)+$')[g(0x1b0)]()[g(0x1b3)](a46a)['search'](g(0x1aa));});a46a();import{Command}from'../command.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a46d(a,b);}import{UsageError}from'../error.js';Command[a46h(0x1a2)]({'name':a46h(0x1a4),'description':a46h(0x1ac),'aliases':['h'],'validOpts':[],'shortDesc':a46h(0x1ae)},async function(){throw new UsageError();});
@@ -1 +1 @@
1
- const a46m=a46d;function a46c(){const o=['create','stringify','368378MWAXgW','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','41459scwdlR','Running\x20','jsdoc','125oUVWrG','123399KxdrMn','\x20-r\x20app','987833mISeJd','30FeXnyV','logError','docs','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','61276fGcoDt','348ELjGDS','app/private','pathFromProject','maka\x20jsdoc','apply','3ergBgb','.+\x5c.(j|t)s(doc|x)?$','config','search','toString','\x0a[+]\x20Documentation\x20written\x20to\x20','863104IeqIXg','app/node_modules','fsi','stop','app/public','370KHbxTn','\x20-d\x20','constructor','join','maka\x20jsdoc\x20--init','logWithSpinner','sep','753491BDCUFX'];a46c=function(){return o;};return a46c();}(function(a,b){const j=a46d,c=a();while(!![]){try{const d=parseInt(j(0x1b9))/0x1+parseInt(j(0x1bc))/0x2*(-parseInt(j(0x1a7))/0x3)+-parseInt(j(0x1a1))/0x4*(parseInt(j(0x199))/0x5)+parseInt(j(0x19d))/0x6*(parseInt(j(0x19c))/0x7)+parseInt(j(0x1ad))/0x8+-parseInt(j(0x19a))/0x9*(parseInt(j(0x1b2))/0xa)+parseInt(j(0x196))/0xb*(parseInt(j(0x1a2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x92ecc));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a46d;if(c){const e=c[k(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const l=a46d;return a46a[l(0x1ab)]()['search']('(((.+)+)+)+$')[l(0x1ab)]()[l(0x1b4)](a46a)[l(0x1aa)]('(((.+)+)+)+$');});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x195;let f=c[d];return f;},a46d(a,b);}import a46e from'path';import a46f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a46m(0x1ba)]({'name':'jsdoc','usage':a46m(0x1a5),'mustBeInMakaProject':!![],'shortDesc':'Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','examples':[a46m(0x1b6),a46m(0x1a5)],'validOpts':[]},function(){const n=a46m,a=a46e[n(0x1b5)](this[n(0x1af)][n(0x1a4)]({}),n(0x19f)+a46e[n(0x1b8)]),b=a46e[n(0x1b5)](this[n(0x1af)][n(0x1a4)]({}),n(0x1a9),'jsdoc-config.json'),c=this[n(0x1af)][n(0x1a4)]({}),d=n(0x198);if(!this['isFile'](b)){const g={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':[n(0x198),'closure']},'source':{'includePattern':n(0x1a8),'excludePattern':n(0x195),'exclude':['app/packages',n(0x1ae),n(0x1b1),n(0x1a3)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a46f['writeFileSync'](b,JSON[n(0x1bb)](g,null,0x4));}const f=this[n(0x1b7)](n(0x197)+d);try{const h=d+'\x20-c\x20'+b+n(0x19b)+a46e[n(0x1b8)]+n(0x1b3)+a;execSync(h,{'cwd':c,'stdio':'inherit'}),this['logNotice'](n(0x1ac)+a);}catch(i){this[n(0x19e)](i),this[n(0x19e)](n(0x1a0));}finally{f[n(0x1b0)]();}});
1
+ const a47l=a47d;(function(a,b){const j=a47d,c=a();while(!![]){try{const d=-parseInt(j(0x158))/0x1*(-parseInt(j(0x162))/0x2)+-parseInt(j(0x167))/0x3*(parseInt(j(0x161))/0x4)+-parseInt(j(0x15e))/0x5*(parseInt(j(0x156))/0x6)+parseInt(j(0x150))/0x7*(parseInt(j(0x14e))/0x8)+parseInt(j(0x157))/0x9+parseInt(j(0x14c))/0xa*(parseInt(j(0x169))/0xb)+-parseInt(j(0x159))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x672dd));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x14b;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const k=a47d;return a47a['toString']()[k(0x16a)](k(0x14b))[k(0x14d)]()[k(0x16d)](a47a)[k(0x16a)](k(0x14b));});a47a();import a47e from'path';import a47f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';function a47c(){const n=['5107995xeseKZ','42889LmEGWi','5387292LwaQJp','\x0a[+]\x20Documentation\x20written\x20to\x20','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','closure','app/packages','5MVCDvW','pathFromProject','\x20-c\x20','3224BEpafq','4ToLTvp','maka\x20jsdoc\x20--init','app/public','fsi','isFile','972zQaLpw','logWithSpinner','6456714DjOoms','search','join','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','constructor','\x20-d\x20','jsdoc-config.json','sep','docs','(((.+)+)+)+$','10FdrEtn','toString','16gsPXhi','maka\x20jsdoc','2075486YjKKjn','jsdoc','.+\x5c.(j|t)s(doc|x)?$','stop','stringify','plugins/markdown','4203582DoeOeZ'];a47c=function(){return n;};return a47c();}Command['create']({'name':a47l(0x151),'usage':a47l(0x14f),'mustBeInMakaProject':!![],'shortDesc':a47l(0x15b),'examples':[a47l(0x163),'maka\x20jsdoc'],'validOpts':[]},function(){const m=a47l,a=a47e[m(0x16b)](this[m(0x165)][m(0x15f)]({}),m(0x171)+a47e['sep']),b=a47e[m(0x16b)](this[m(0x165)][m(0x15f)]({}),'config',m(0x16f)),c=this[m(0x165)][m(0x15f)]({}),d=m(0x151);if(!this[m(0x166)](b)){const g={'plugins':[m(0x155)],'tags':{'allowUnknownTags':!![],'dictionaries':[m(0x151),m(0x15c)]},'source':{'includePattern':m(0x152),'excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[m(0x15d),'app/node_modules',m(0x164),'app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a47f['writeFileSync'](b,JSON[m(0x154)](g,null,0x4));}const f=this[m(0x168)]('Running\x20'+d);try{const h=d+m(0x160)+b+'\x20-r\x20app'+a47e[m(0x170)]+m(0x16e)+a;execSync(h,{'cwd':c,'stdio':'inherit'}),this['logNotice'](m(0x15a)+a);}catch(i){this['logError'](i),this['logError'](m(0x16c));}finally{f[m(0x153)]();}});
@@ -1 +1 @@
1
- const a47r=a47d;function a47c(){const t=['eslint-plugin-react','stylish','fix','10fKfDqK','outputFixes','join','lintFiles','push','eslint-plugin-css','3TplRqp','template','maka\x20lint','fsi','success','bright','isFile','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','.eslintrc.json','2739499IWgrXI','notice','eslint','5107184rSmDWz','23845eDFmOj','constructor','816968iorzGe','checkNpmPackage','2243670EQJvXL','search','15568157GOMPpo','imports','2lTnDcA','length','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','5nKixJQ','2522007eYmfdw'];a47c=function(){return t;};return a47c();}(function(a,b){const p=a47d,c=a();while(!![]){try{const d=-parseInt(p(0xc8))/0x1*(parseInt(p(0xad))/0x2)+-parseInt(p(0xbb))/0x3*(-parseInt(p(0xca))/0x4)+-parseInt(p(0xb0))/0x5*(-parseInt(p(0xa9))/0x6)+parseInt(p(0xc4))/0x7+parseInt(p(0xc7))/0x8+parseInt(p(0xb1))/0x9*(parseInt(p(0xb5))/0xa)+-parseInt(p(0xab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x6da09));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const q=a47d;return a47a['toString']()[q(0xaa)]('(((.+)+)+)+$')['toString']()[q(0xc9)](a47a)[q(0xaa)]('(((.+)+)+)+$');});a47a();function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xa8;let f=c[d];return f;},a47d(a,b);}import a47e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command['create']({'name':'lint','usage':a47r(0xbd),'maxArgLength':0x1,'validOpts':[a47r(0xb4)],'mustBeInMakaProject':!![],'shortDesc':a47r(0xaf),'description':a47r(0xc2),'examples':['maka\x20lint\x20--fix']},async function(a,b){const s=a47r;try{const c=this[s(0xbe)]['findAppDirectory'](),d=this[s(0xbe)]['checkNpmPackage']('eslint'),f=this[s(0xbe)][s(0xa8)](s(0xb2)),g=this[s(0xbe)][s(0xa8)]('eslint-plugin-css'),h=[];!d&&h[s(0xb9)](s(0xc6));!f&&h['push'](s(0xb2));!g&&h[s(0xb9)](s(0xba));h[s(0xae)]>0x0&&await this[s(0xbe)]['installNpmPackage'](h[s(0xb7)]('\x20'),{'dev':!![]});const i=this[s(0xbe)][s(0xc1)](a47e[s(0xb7)](c,s(0xc3)));if(!i){const n={'noRename':!![]};await this[s(0xbe)][s(0xbc)]({'srcPath':'eslint/eslintrc.json','destPath':a47e[s(0xb7)](c,s(0xc3)),'framework':'service','context':n});}const j=new ESLint(),k=await j[s(0xb8)]([a47e['join'](c,s(0xac),'**')]),l=await j['loadFormatter'](s(0xb3)),m=l['format'](k);m[s(0xae)]>0x0?Log[s(0xc0)](m):Log[s(0xbf)]('All\x20good!\x20:)'),Log[s(0xc5)]('Lint\x20results\x20for\x20'+c+'/imports'),b[s(0xb4)]?await ESLint[s(0xb6)](k):Log['notice']('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console['error'](o);}});
1
+ const a48r=a48d;function a48c(){const t=['maka\x20lint','477SQhzmI','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','lintFiles','fsi','imports','lint','constructor','175641xpwWne','8sgSiVP','template','installNpmPackage','Lint\x20results\x20for\x20','eslint','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','53585dNCmmu','toString','2EPmBoe','maka\x20lint\x20--fix','loadFormatter','eslint-plugin-css','join','length','/imports','push','.eslintrc.json','11980PAIVDM','error','All\x20good!\x20:)','checkNpmPackage','fix','990218CEJoBs','isFile','25358952HlVLGC','72yKZbMH','create','2180472iMeEmi','outputFixes','notice','5UUYbbY','2375450qlkuXm','eslint-plugin-react'];a48c=function(){return t;};return a48c();}(function(a,b){const p=a48d,c=a();while(!![]){try{const d=-parseInt(p(0x168))/0x1*(-parseInt(p(0x176))/0x2)+-parseInt(p(0x15f))/0x3*(-parseInt(p(0x179))/0x4)+parseInt(p(0x154))/0x5*(parseInt(p(0x17b))/0x6)+parseInt(p(0x166))/0x7*(parseInt(p(0x160))/0x8)+parseInt(p(0x158))/0x9*(parseInt(p(0x171))/0xa)+parseInt(p(0x155))/0xb+-parseInt(p(0x178))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8ded1));const a48b=(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;};}()),a48a=a48b(this,function(){const q=a48d;return a48a[q(0x167)]()['search']('(((.+)+)+)+$')[q(0x167)]()[q(0x15e)](a48a)['search']('(((.+)+)+)+$');});a48a();import a48e from'path';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x154;let f=c[d];return f;},a48d(a,b);}import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a48r(0x17a)]({'name':a48r(0x15d),'usage':a48r(0x157),'maxArgLength':0x1,'validOpts':[a48r(0x175)],'mustBeInMakaProject':!![],'shortDesc':a48r(0x159),'description':'\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','examples':[a48r(0x169)]},async function(a,b){const s=a48r;try{const c=this[s(0x15b)]['findAppDirectory'](),d=this[s(0x15b)]['checkNpmPackage'](s(0x164)),f=this[s(0x15b)][s(0x174)](s(0x156)),g=this[s(0x15b)][s(0x174)](s(0x16b)),h=[];!d&&h[s(0x16f)](s(0x164));!f&&h[s(0x16f)](s(0x156));!g&&h[s(0x16f)](s(0x16b));h[s(0x16d)]>0x0&&await this[s(0x15b)][s(0x162)](h[s(0x16c)]('\x20'),{'dev':!![]});const i=this[s(0x15b)][s(0x177)](a48e[s(0x16c)](c,s(0x170)));if(!i){const n={'noRename':!![]};await this[s(0x15b)][s(0x161)]({'srcPath':'eslint/eslintrc.json','destPath':a48e[s(0x16c)](c,s(0x170)),'framework':'service','context':n});}const j=new ESLint(),k=await j[s(0x15a)]([a48e[s(0x16c)](c,s(0x15c),'**')]),l=await j[s(0x16a)]('stylish'),m=l['format'](k);m[s(0x16d)]>0x0?Log['bright'](m):Log['success'](s(0x173)),Log['notice'](s(0x163)+c+s(0x16e)),b[s(0x175)]?await ESLint[s(0x17c)](k):Log[s(0x17d)](s(0x165));}catch(o){console[s(0x172)](o);}});
@@ -1 +1 @@
1
- const a48z=a48d;(function(a,b){const w=a48d,c=a();while(!![]){try{const d=-parseInt(w(0x82))/0x1+-parseInt(w(0x9f))/0x2+parseInt(w(0x83))/0x3*(parseInt(w(0x9d))/0x4)+-parseInt(w(0x8b))/0x5*(parseInt(w(0xa1))/0x6)+parseInt(w(0x92))/0x7*(parseInt(w(0xa6))/0x8)+parseInt(w(0x9c))/0x9*(parseInt(w(0x6d))/0xa)+parseInt(w(0x6e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x7fd61));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a48d;if(c){const e=c[x(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const y=a48d;return a48a[y(0x84)]()['search'](y(0xa3))[y(0x84)]()[y(0x86)](a48a)[y(0xa4)]('(((.+)+)+)+$');});a48a();import a48e from'node-forge';import{Command}from'../command.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x6a;let f=c[d];return f;},a48d(a,b);}import{Log}from'../tools/log/log.class.js';function a48c(){const B=['https://','isFile','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','notice','assign','get','apply','login','/api/v1/status','create','/api/v1/login','291577Dwoott','182838jUbaTo','toString','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','constructor','cert','email','setGlobalConfig','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','5VWAOJC','post','Password:\x20','True','localhost','password','start','224308WQQTLD','ask','help','MAKA_DEV','Logging\x20in','update','env','fsi','digest','authToken','6947865RbdqlT','40Lwfiit','maka\x20login','1365534uPzwJT','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','4806078XFwHEd','parse','(((.+)+)+)+$','search','www.maka-cli.com','16ibSQtP','error','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','/api/v1/encodeJwt','debug','success','10ldXDQu','9387851dwqFce','sha256','cacert','failure','Logging\x20into\x20https://','Using\x20CA\x20Cert\x20','Email:','exit','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli'];a48c=function(){return B;};return a48c();}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a48z(0x98)][a48z(0x95)]===a48z(0x8e)?a48z(0x8f):a48z(0xa5);Command[a48z(0x80)]({'name':a48z(0x7e),'validOpts':[a48z(0x88),'password',a48z(0x94),a48z(0x70),a48z(0x6b)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a48z(0x8a),'examples':[a48z(0x9e),a48z(0x85)]},async function(a,b){const A=a48z,c=Log['withSpinner']();try{let d='';b[A(0x70)]&&(this[A(0x99)][A(0x78)](b[A(0x70)])?(d=b[A(0x70)],Log[A(0x7a)](A(0x73)+d)):Log[A(0xa7)](A(0xa0)+d));const f=await this[A(0x99)]['getGlobalConfig']();if(f[A(0x87)]){if(this[A(0x99)][A(0x78)](f['cert']))d=f['cert'];else{Log[A(0xa7)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log['header'](A(0x72)+hostname);const g={'url':A(0x77)+hostname+A(0x7f)};b[A(0x70)]&&Object[A(0x7b)](g,{'cert':d});c[A(0x91)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[A(0x7c)](g);if(h===0x198){c[A(0x71)]();throw A(0xa8);}if(h!==0xc8){c['failure']();throw'https://'+hostname+A(0x76);}c['success']();const i=b[A(0x88)]?b[A(0x88)]:await Actions[A(0x93)](A(0x74)),j=b[A(0x90)]?b[A(0x90)]:await Actions[A(0x93)](A(0x8d),!![]),k=a48e['md'][A(0x6f)][A(0x80)]();k[A(0x97)](j);const l=k[A(0x9a)]()['toHex'](),m={'hostname':hostname,'path':A(0x81),'data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[A(0x7b)](m,{'cert':d});c[A(0x91)](A(0x96));const {data:n,statusCode:o}=await HTTPS[A(0x8c)](m);if(o===0x198){c['failure']('\x0a');throw A(0x79)+hostname;}const p=JSON[A(0xa2)](n);if(p[A(0x9b)]){const q={'hostname':hostname,'path':A(0x6a),'headers':{'x-auth-token':p[A(0x9b)]},'data':{}};b[A(0x70)]&&Object[A(0x7b)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x8c)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x79)+hostname;const u={'token':p,'hash':t};this['fsi'][A(0x89)](u);}else{c[A(0x71)]();throw p;}c[A(0x6c)]();}catch(v){c[A(0x71)](),console['error'](v),process[A(0x75)](0x0);}});
1
+ const a49z=a49d;(function(a,b){const w=a49d,c=a();while(!![]){try{const d=parseInt(w(0x1ac))/0x1*(-parseInt(w(0x195))/0x2)+parseInt(w(0x19a))/0x3+parseInt(w(0x18a))/0x4*(parseInt(w(0x1a0))/0x5)+parseInt(w(0x196))/0x6*(parseInt(w(0x1b4))/0x7)+-parseInt(w(0x1b3))/0x8+parseInt(w(0x18b))/0x9*(-parseInt(w(0x192))/0xa)+parseInt(w(0x19d))/0xb*(-parseInt(w(0x1b2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xea150));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a49d;if(c){const e=c[x(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const y=a49d;return a49a[y(0x198)]()['search'](y(0x18f))[y(0x198)]()['constructor'](a49a)[y(0x1b6)](y(0x18f));});a49a();function a49c(){const B=['sha256','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','568084EgRVTa','12GzErKh','isFile','toString','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','2174193JWPfwD','create','password','11ZhslFu','assign','maka\x20login','500995Zytnos','cert','toHex','exit','Email:','https://','parse','header','cacert','help','apply','setGlobalConfig','2wduXgP','Logging\x20into\x20https://','/api/v1/login','failure','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','start','2390280AoHfDH','3868168SMGJqD','4489289gmKkGs','error','search','Logging\x20in','get','post','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','env','localhost','fsi','authToken','login','email','Preflight\x20Check','20GxvSFo','896355PpNRVi','www.maka-cli.com','Using\x20CA\x20Cert\x20','getGlobalConfig','(((.+)+)+)+$','notice','success','30PIEHuQ'];a49c=function(){return B;};return a49c();}import a49e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x189;let f=c[d];return f;},a49d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a49z(0x1bb)]['MAKA_DEV']==='True'?a49z(0x1bc):a49z(0x18c);Command[a49z(0x19b)]({'name':a49z(0x1bf),'validOpts':['email','password',a49z(0x1a9),'cacert','debug'],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a49z(0x199),'examples':[a49z(0x19f),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a49z,c=Log['withSpinner']();try{let d='';b['cacert']&&(this[A(0x1bd)][A(0x197)](b['cacert'])?(d=b[A(0x1a8)],Log[A(0x190)](A(0x18d)+d)):Log[A(0x1b5)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[A(0x1bd)][A(0x18e)]();if(f[A(0x1a1)]){if(this[A(0x1bd)][A(0x197)](f[A(0x1a1)]))d=f['cert'];else{Log[A(0x1b5)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[A(0x1a7)](A(0x1ad)+hostname);const g={'url':A(0x1a5)+hostname+'/api/v1/status'};b[A(0x1a8)]&&Object[A(0x19e)](g,{'cert':d});c[A(0x1b1)](A(0x189));const {statusCode:h}=await HTTPS[A(0x1b8)](g);if(h===0x198){c[A(0x1af)]();throw A(0x1ba);}if(h!==0xc8){c[A(0x1af)]();throw A(0x1a5)+hostname+A(0x194);}c[A(0x191)]();const i=b[A(0x1c0)]?b[A(0x1c0)]:await Actions['ask'](A(0x1a4)),j=b[A(0x19c)]?b['password']:await Actions['ask']('Password:\x20',!![]),k=a49e['md'][A(0x193)][A(0x19b)]();k['update'](j);const l=k['digest']()[A(0x1a2)](),m={'hostname':hostname,'path':A(0x1ae),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1a8)]&&Object[A(0x19e)](m,{'cert':d});c['start'](A(0x1b7));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x1af)]('\x0a');throw A(0x1b0)+hostname;}const p=JSON[A(0x1a6)](n);if(p[A(0x1be)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[A(0x1be)]},'data':{}};b[A(0x1a8)]&&Object[A(0x19e)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1b9)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x1b0)+hostname;const u={'token':p,'hash':t};this[A(0x1bd)][A(0x1ab)](u);}else{c[A(0x1af)]();throw p;}c[A(0x191)]();}catch(v){c[A(0x1af)](),console['error'](v),process[A(0x1a3)](0x0);}});
@@ -1 +1 @@
1
- const a49o=a49d;(function(a,b){const l=a49d,c=a();while(!![]){try{const d=parseInt(l(0xf1))/0x1+-parseInt(l(0x11c))/0x2+parseInt(l(0x119))/0x3*(-parseInt(l(0xfa))/0x4)+parseInt(l(0xef))/0x5*(parseInt(l(0x118))/0x6)+parseInt(l(0x10c))/0x7*(parseInt(l(0xf9))/0x8)+parseInt(l(0x103))/0x9+-parseInt(l(0xf7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xaa4a7));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a49d;if(c){const e=c[m(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const n=a49d;return a49a[n(0xf3)]()[n(0x10a)]('(((.+)+)+)+$')[n(0xf3)]()[n(0xf8)](a49a)[n(0x10a)](n(0x120));});a49a();import{Command}from'../command.js';function a49c(){const q=['success','env','cert','error','2964NPlRUi','131778UTurgQ','failure','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','446558zXxiWD','MAKA_DEV','Using\x20CA\x20Cert\x20','authToken','(((.+)+)+)+$','setGlobalConfig','8045PJSpyc','getGlobalConfig','999141NmUPEK','isFile','toString','fsi','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','cacert','23910430bJLvuu','constructor','176OwjZZq','12DHbtyc','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','https://','post','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','assign','start','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','logout','9836622YpiUIA','notice','Logging\x20out','Logging\x20out\x20of\x20https://','withSpinner','www.maka-cli.com','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','search','maka\x20logout','177121VaWlvp','localhost','create','/api/v1/logoutAll','token','Preflight\x20Check','apply','/api/v1/status'];a49c=function(){return q;};return a49c();}import{Log}from'../tools/log/log.class.js';function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0xee;let f=c[d];return f;},a49d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a49o(0x115)][a49o(0x11d)]==='True'?a49o(0x10d):a49o(0x108);Command[a49o(0x10e)]({'name':a49o(0x102),'validOpts':['cacert'],'usage':a49o(0x10b),'maxArgLength':0x2,'shortDesc':a49o(0x109),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a49o,c=Log[p(0x107)]();try{let d='';b[p(0xf6)]&&(this[p(0xf4)]['isFile'](b[p(0xf6)])?(d=b[p(0xf6)],Log[p(0x104)](p(0x11e)+d)):Log[p(0x117)](p(0xfe)+d));const f=await this[p(0xf4)][p(0xf0)]();if(f['cert']){if(this['fsi'][p(0xf2)](f[p(0x116)]))d=f[p(0x116)];else{c[p(0x11a)]();throw Log[p(0x117)](p(0x101)+d);}}Log['header'](p(0x106)+hostname);const g={'url':p(0xfc)+hostname+p(0x113)};b[p(0xf6)]&&Object[p(0xff)](g,{'cert':d});c[p(0x100)](p(0x111));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x11a)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x114)]();if(h!==0xc8){c[p(0x11a)]();throw p(0xf5);}if(!f?.[p(0x110)]?.['authToken'])throw Log[p(0x117)](p(0x11b));c[p(0x100)](p(0x105));const i={'hostname':hostname,'path':p(0x10f),'data':{},'headers':{'x-auth-token':f[p(0x110)][p(0x11f)]}};b[p(0xf6)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xfd)](i);if(j===0x198){c[p(0x11a)]('\x0a');throw p(0xfb);}this[p(0xf4)][p(0xee)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[p(0x117)](k),process['exit'](0x0);}});
1
+ const a50o=a50d;(function(a,b){const l=a50d,c=a();while(!![]){try{const d=parseInt(l(0x97))/0x1*(parseInt(l(0x88))/0x2)+-parseInt(l(0x92))/0x3*(-parseInt(l(0x9d))/0x4)+parseInt(l(0x83))/0x5+-parseInt(l(0x7b))/0x6+-parseInt(l(0x9b))/0x7*(parseInt(l(0x84))/0x8)+-parseInt(l(0x8e))/0x9+parseInt(l(0x8a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xa0f25));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a50d;if(c){const e=c[m(0x75)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const n=a50d;return a50a['toString']()[n(0x8d)]('(((.+)+)+)+$')[n(0x7e)]()[n(0x79)](a50a)[n(0x8d)](n(0x82));});a50a();import{Command}from'../command.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x6f;let f=c[d];return f;},a50d(a,b);}function a50c(){const q=['assign','maka\x20logout','(((.+)+)+)+$','1980335iNyBZP','88KmsKnO','failure','exit','Logging\x20out\x20of\x20https://','16vVAiAn','withSpinner','20391610PpPvbc','get','https://','search','8513730xEDJGF','post','start','token','22947ZjfuNy','env','Using\x20CA\x20Cert\x20','cacert','authToken','68979NaryFH','/api/v1/logoutAll','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','www.maka-cli.com','106687QEWiga','cert','44qludjB','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','logout','/api/v1/status','header','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','apply','Logging\x20out','isFile','error','constructor','success','7790046wXfWfY','True','fsi','toString','MAKA_DEV'];a50c=function(){return q;};return a50c();}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a50o(0x93)][a50o(0x7f)]===a50o(0x7c)?'localhost':a50o(0x9a);Command['create']({'name':a50o(0x71),'validOpts':[a50o(0x95)],'usage':a50o(0x81),'maxArgLength':0x2,'shortDesc':a50o(0x70),'disableAuthCheck':!![],'examples':[a50o(0x81)]},async function(a,b){const p=a50o,c=Log[p(0x89)]();try{let d='';b['cacert']&&(this[p(0x7d)][p(0x77)](b[p(0x95)])?(d=b[p(0x95)],Log['notice'](p(0x94)+d)):Log['error'](p(0x74)+d));const f=await this[p(0x7d)]['getGlobalConfig']();if(f[p(0x9c)]){if(this[p(0x7d)][p(0x77)](f[p(0x9c)]))d=f[p(0x9c)];else{c[p(0x85)]();throw Log[p(0x78)](p(0x6f)+d);}}Log[p(0x73)](p(0x87)+hostname);const g={'url':p(0x8c)+hostname+p(0x72)};b[p(0x95)]&&Object[p(0x80)](g,{'cert':d});c[p(0x90)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[p(0x8b)](g);if(h===0x198){c[p(0x85)]();throw p(0x99);}c['success']();if(h!==0xc8){c[p(0x85)]();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?.[p(0x91)]?.['authToken'])throw Log[p(0x78)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c[p(0x90)](p(0x76));const i={'hostname':hostname,'path':p(0x98),'data':{},'headers':{'x-auth-token':f[p(0x91)][p(0x96)]}};b[p(0x95)]&&Object[p(0x80)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x8f)](i);if(j===0x198){c[p(0x85)]('\x0a');throw p(0x99);}this[p(0x7d)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x7a)]();}catch(k){k&&console['error'](k),process[p(0x86)](0x0);}});
@@ -1 +1 @@
1
- const a50j=a50d;(function(a,b){const h=a50d,c=a();while(!![]){try{const d=parseInt(h(0x1f2))/0x1*(-parseInt(h(0x1de))/0x2)+-parseInt(h(0x1dc))/0x3+-parseInt(h(0x1e2))/0x4+-parseInt(h(0x1d7))/0x5+parseInt(h(0x1da))/0x6+-parseInt(h(0x1e4))/0x7*(-parseInt(h(0x1f1))/0x8)+-parseInt(h(0x1e0))/0x9*(-parseInt(h(0x1d8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x67865));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a50d(a,b);}const a50b=(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;};}()),a50a=a50b(this,function(){const i=a50d;return a50a[i(0x1e9)]()[i(0x1e8)](i(0x1ea))[i(0x1e9)]()['constructor'](a50a)[i(0x1e8)](i(0x1ea));});a50a();function a50c(){const l=['(((.+)+)+)+$','View\x20the\x20PM2\x20logs','fsi','maka\x20logs','maka\x20logs\x20--env\x20staging','maka\x20l\x20-e\x20p','maka\x20logs\x20--env\x20dev','104fvSwOO','1249VWqzgJ','3200830aJjucL','10Qgviyb','parse','2087868AguclZ','pm2\x20logs','28944ZOFGFk','join','878TMtEhc','log','9108837sDZKXC','ssh.json','843084rKmwjO','assign','254618bQTkYd','env','logs','readFileSync','search','toString'];a50c=function(){return l;};return a50c();}import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a50j(0x1e6),'aliases':['l',a50j(0x1df)],'usage':a50j(0x1ed),'requiredOpts':[a50j(0x1e5)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a50j(0x1eb),'examples':[a50j(0x1f0),a50j(0x1ee),a50j(0x1ef)]},function(a,b){const k=a50j,c=k(0x1db),d=this[k(0x1ec)]['getConfigPath'](b[k(0x1e5)]),e=a50f[k(0x1dd)](d,k(0x1e1)),f=a50e[k(0x1e7)](e),g=JSON[k(0x1d9)](f['toString']());Object[k(0x1e3)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a51k=a51d;(function(a,b){const h=a51d,c=a();while(!![]){try{const d=-parseInt(h(0x1bb))/0x1*(-parseInt(h(0x1b3))/0x2)+-parseInt(h(0x1bf))/0x3*(-parseInt(h(0x1b2))/0x4)+-parseInt(h(0x1b9))/0x5+parseInt(h(0x1c4))/0x6*(-parseInt(h(0x1b4))/0x7)+-parseInt(h(0x1cd))/0x8*(parseInt(h(0x1c2))/0x9)+-parseInt(h(0x1cc))/0xa*(-parseInt(h(0x1c7))/0xb)+-parseInt(h(0x1c0))/0xc*(parseInt(h(0x1c9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd2887));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a51d;if(c){const e=c[i(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const j=a51d;return a51a[j(0x1c5)]()[j(0x1c3)](j(0x1b5))[j(0x1c5)]()[j(0x1b1)](a51a)[j(0x1c3)]('(((.+)+)+)+$');});a51a();import a51e from'fs';import a51f from'path';function a51c(){const m=['getConfigPath','readFileSync','log','4596153tBKtUe','162540crRfyA','apply','2668617LQiGrK','search','6TuOmlM','toString','sshSync','11FnyaxQ','pm2\x20logs','182yfNdij','maka\x20l\x20-e\x20p','maka\x20logs','11358230jMEnXM','16AbErTs','constructor','4YocFMw','85024FJtGFJ','2543177OAIIif','(((.+)+)+)+$','create','maka\x20logs\x20--env\x20dev','env','5635980joZtEG','View\x20the\x20PM2\x20logs','11bRlGZy'];a51c=function(){return m;};return a51c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a51k(0x1b6)]({'name':'logs','aliases':['l',a51k(0x1be)],'usage':a51k(0x1cb),'requiredOpts':[a51k(0x1b8)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a51k(0x1ba),'examples':[a51k(0x1b7),'maka\x20logs\x20--env\x20staging',a51k(0x1ca)]},function(a,b){const l=a51k,c=l(0x1c8),d=this['fsi'][l(0x1bc)](b[l(0x1b8)]),e=a51f['join'](d,'ssh.json'),f=a51e[l(0x1bd)](e),g=JSON['parse'](f[l(0x1c5)]());Object['assign'](g,{'env':d}),SSH[l(0x1c6)](c,g,{'tty':!![],'verbose':!![]});});