@maka/maka-cli 4.6.7 → 4.6.9

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 (136) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/install.js +1 -1
  73. package/bundle/obf/src/commands/jsdoc.js +1 -1
  74. package/bundle/obf/src/commands/lint.js +1 -1
  75. package/bundle/obf/src/commands/login.js +1 -1
  76. package/bundle/obf/src/commands/logout.js +1 -1
  77. package/bundle/obf/src/commands/logs.js +1 -1
  78. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  79. package/bundle/obf/src/commands/murder.js +1 -1
  80. package/bundle/obf/src/commands/proxy.js +1 -1
  81. package/bundle/obf/src/commands/reconfig.js +1 -1
  82. package/bundle/obf/src/commands/run/_index.js +1 -1
  83. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/run/run.command.js +1 -1
  85. package/bundle/obf/src/commands/set/_index.js +1 -1
  86. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/set/set.command.js +1 -1
  89. package/bundle/obf/src/commands/ssh.js +1 -1
  90. package/bundle/obf/src/commands/ssl.js +1 -1
  91. package/bundle/obf/src/commands/test.js +1 -1
  92. package/bundle/obf/src/commands/version.js +1 -1
  93. package/bundle/obf/src/error.js +1 -1
  94. package/bundle/obf/src/exec.js +1 -1
  95. package/bundle/obf/src/generator.js +1 -1
  96. package/bundle/obf/src/generators/_index.js +1 -1
  97. package/bundle/obf/src/generators/api.js +1 -1
  98. package/bundle/obf/src/generators/collection.js +1 -1
  99. package/bundle/obf/src/generators/component.js +1 -1
  100. package/bundle/obf/src/generators/config.js +1 -1
  101. package/bundle/obf/src/generators/dbc.js +1 -1
  102. package/bundle/obf/src/generators/dockerfile.js +1 -1
  103. package/bundle/obf/src/generators/hook.js +1 -1
  104. package/bundle/obf/src/generators/kit.js +1 -1
  105. package/bundle/obf/src/generators/layout.js +1 -1
  106. package/bundle/obf/src/generators/maka.gen.js +1 -1
  107. package/bundle/obf/src/generators/methods.js +1 -1
  108. package/bundle/obf/src/generators/package.js +1 -1
  109. package/bundle/obf/src/generators/page.js +1 -1
  110. package/bundle/obf/src/generators/publish.js +1 -1
  111. package/bundle/obf/src/generators/route.js +1 -1
  112. package/bundle/obf/src/generators/service.js +1 -1
  113. package/bundle/obf/src/generators/services/_index.js +1 -1
  114. package/bundle/obf/src/generators/services/openssl.js +1 -1
  115. package/bundle/obf/src/generators/services/translation.js +1 -1
  116. package/bundle/obf/src/maka.js +1 -1
  117. package/bundle/obf/src/tool.js +1 -1
  118. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  120. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  122. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  124. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/https/https.class.js +1 -1
  126. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  127. package/bundle/obf/src/tools/https/progress.class.js +1 -1
  128. package/bundle/obf/src/tools/log/log.class.js +1 -1
  129. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/options/options.class.js +1 -1
  131. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  132. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  134. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  136. package/package.json +1 -1
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x192))/0x1*(parseInt(f(0x190))/0x2)+parseInt(f(0x18d))/0x3+-parseInt(f(0x19b))/0x4*(parseInt(f(0x1a9))/0x5)+-parseInt(f(0x19d))/0x6+-parseInt(f(0x19c))/0x7*(parseInt(f(0x1a0))/0x8)+-parseInt(f(0x191))/0x9*(parseInt(f(0x1a3))/0xa)+parseInt(f(0x1a1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x60f98));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x18f)]()[h(0x1a5)](h(0x1ab))[h(0x18f)]()[h(0x1a4)](a55a)[h(0x1a5)](h(0x1ab));});a55a();import{EventEmitter}from'events';export class AbstractScene{[a55i(0x1a7)];['player'];[a55i(0x1b2)];[a55i(0x199)];}function a55c(){var j=['rating','name','characterLocations','apply','94788hcmKHA','32557upCKrr','2791476NgFxtV','unlockItemOrSolution','_maxCarryingWeight','312MjBRzk','4042291jwZGgR','roomB','10LYXntD','constructor','search','_currentLocation','rooms','description','20fAwSPJ','inventory','(((.+)+)+)+$','isLockable','exits','_logger','color','category','weight','logger','roomType','solved','shape','553680ClhTmo','roomA','toString','2498MMfCRg','1543977NeQEdR','607ycHapm','_equipment','_playerName','isStartRoom','uuid'];a55c=function(){return j;};return a55c();}export class AbstractRoom extends EventEmitter{[a55i(0x198)];[a55i(0x1a8)];[a55i(0x1ad)];[a55i(0x1aa)];['puzzle'];[a55i(0x18a)];[a55i(0x195)];}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x18a;var f=c[d];return f;},a55d(a,b);}export class AbstractDoor{[a55i(0x18e)];[a55i(0x1a2)];['isLocked'];[a55i(0x19e)];[a55i(0x198)];[a55i(0x1b2)];[a55i(0x1ac)];}export class AbstractInventory{['items'];[a55i(0x1b2)];}export class AbstractItem{[a55i(0x196)];[a55i(0x198)];['description'];['size'];[a55i(0x1b0)];[a55i(0x18c)];[a55i(0x1af)];['texture'];[a55i(0x197)];[a55i(0x1b1)];}export class AbstractPlayer{[a55i(0x194)];[a55i(0x1a6)];['_inventory'];[a55i(0x193)];[a55i(0x19f)];[a55i(0x1ae)];}export class AbstractPuzzle{[a55i(0x1b2)];[a55i(0x18b)];}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x9c))/0x1+parseInt(f(0xaa))/0x2*(parseInt(f(0xb4))/0x3)+parseInt(f(0x92))/0x4+parseInt(f(0x9e))/0x5+parseInt(f(0xae))/0x6*(parseInt(f(0xb1))/0x7)+-parseInt(f(0xad))/0x8*(-parseInt(f(0x9a))/0x9)+-parseInt(f(0x9d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x5f8c4));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xb3)]()[h(0x9b)]('(((.+)+)+)+$')[h(0xb3)]()[h(0xa9)](a55a)[h(0x9b)](h(0x98));});a55a();import{EventEmitter}from'events';export class AbstractScene{[a55i(0xa6)];[a55i(0xa1)];[a55i(0xa0)];[a55i(0xb5)];}export class AbstractRoom extends EventEmitter{['name'];['description'];['exits'];['inventory'];['puzzle'];['roomType'];[a55i(0xa7)];}function a55c(){var j=['_currentLocation','logger','player','roomB','color','texture','_maxCarryingWeight','rooms','isStartRoom','isLocked','constructor','7518GOlTzg','unlockItemOrSolution','_equipment','8qxFZvE','6dWStGX','isLockable','uuid','5468043grEJwW','_inventory','toString','390smbubD','characterLocations','solved','apply','526384TzbMen','category','description','weight','name','size','(((.+)+)+)+$','roomA','3484233FGwRck','search','217999plQJZG','17525300nlAESO','2866705aruxYL'];a55c=function(){return j;};return a55c();}export class AbstractDoor{[a55i(0x99)];[a55i(0xa2)];[a55i(0xa8)];[a55i(0xab)];[a55i(0x96)];[a55i(0xa0)];[a55i(0xaf)];}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x91;var f=c[d];return f;},a55d(a,b);}export class AbstractInventory{['items'];['logger'];}export class AbstractItem{[a55i(0xb0)];['name'];[a55i(0x94)];[a55i(0x97)];[a55i(0x93)];['shape'];[a55i(0xa3)];[a55i(0xa4)];['rating'];[a55i(0x95)];}export class AbstractPlayer{['_playerName'];[a55i(0x9f)];[a55i(0xb2)];[a55i(0xac)];[a55i(0xa5)];['_logger'];}export class AbstractPuzzle{[a55i(0xa0)];[a55i(0xb6)];}
@@ -1 +1 @@
1
- (function(a,b){var k=a56d,c=a();while(!![]){try{var d=parseInt(k(0x1ad))/0x1+-parseInt(k(0x1dd))/0x2*(-parseInt(k(0x1cd))/0x3)+-parseInt(k(0x1de))/0x4*(parseInt(k(0x1f3))/0x5)+parseInt(k(0x203))/0x6+parseInt(k(0x1b0))/0x7*(parseInt(k(0x1fc))/0x8)+-parseInt(k(0x1c3))/0x9+-parseInt(k(0x202))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x94d7d));export var Size;(function(a){var l=a56d;a['Tiny']=l(0x1b6),a[l(0x1ce)]='small',a[l(0x1ff)]=l(0x1d9),a['Large']=l(0x1b2),a[l(0x1be)]=l(0x1aa);}(Size||(Size={})));export var Rating;(function(a){var m=a56d;a[m(0x1bd)]=m(0x1e3),a[m(0x1e9)]=m(0x1f0),a[m(0x1ab)]=m(0x1c7);}(Rating||(Rating={})));function a56d(a,b){var c=a56c();return a56d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a56d(a,b);}export var Category;function a56c(){var u=['arm\x20armor','3jHAHNy','Small','Fuzzy','Square','Gloves','cup','circle','key','OUTSIDE','east','desert','Hat','medium','hat','unknown','Metallic','2014918AdFOfa','663804kqSVjT','MOUNTAIN','shield','Boots','forest','common','bumpy','metallic','EAST','Purple','outside','Rare','sea','underground','BEACH','grey','Blue','UNDERGROUND','rare','gold','Cup','15xOSHto','helmet','cave','Rectangle','WEST','Smooth','brown','purple','blue','32vllKTN','Key','Bumpy','Medium','red','Orange','13883190gNZGGC','5280396xSesyT','FOREST','CAVE','SOUTH','Blade','TOWER','constructor','Yellow','SEA','yellow','boots','very\x20large','Legendary','north','413654cbJAUr','(((.+)+)+)+$','Unknown','641578UyIqJF','Rifle','large','body\x20armor','gloves','Red','tiny','green','toString','Grainy','Green','square','down','Common','VeryLarge','fuzzy','leg\x20armor','DOWN','Book','1547658yGDQDp','DESERT','ArmArmor','search','legendary','grainy','INSIDE','west','south'];a56c=function(){return u;};return a56c();}(function(a){var n=a56d;a['Weapon']='weapon',a['Shield']=n(0x1e0),a[n(0x1fd)]=n(0x1d4),a[n(0x1d1)]=n(0x1b4),a['Helmet']=n(0x1f4),a[n(0x1d8)]=n(0x1da),a[n(0x1e1)]=n(0x1a9),a['LegArmor']=n(0x1c0),a[n(0x1c5)]=n(0x1cc),a['BodyArmor']=n(0x1b3),a[n(0x1c2)]='book',a[n(0x1f2)]=n(0x1d2),a[n(0x1af)]=n(0x1db);}(Category||(Category={})));export var Shape;(function(a){var o=a56d;a['Circle']=o(0x1d3),a[o(0x1d0)]=o(0x1bb),a['Triangle']='triangle',a[o(0x1f6)]='rectangle',a[o(0x207)]='blade',a[o(0x1b1)]='rifle';}(Shape||(Shape={})));export var Color;(function(c){var q=a56d,d=(function(){var f=!![];return function(g,h){var i=f?function(){if(h){var j=h['apply'](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var p=a56d;return e[p(0x1b8)]()[p(0x1c6)](p(0x1ae))[p(0x1b8)]()[p(0x209)](e)['search'](p(0x1ae));});e(),c[q(0x1b5)]=q(0x200),c[q(0x1ee)]=q(0x1fb),c[q(0x1ba)]=q(0x1b7),c[q(0x20a)]=q(0x1a8),c[q(0x201)]='orange',c[q(0x1e7)]=q(0x1fa),c['Grey']=q(0x1ed),c['Brown']=q(0x1f9),c['Gold']=q(0x1f1);}(Color||(Color={})));export var Texture;(function(a){var r=a56d;a[r(0x1f8)]='smooth',a['Rough']='rough',a[r(0x1fe)]=r(0x1e4),a[r(0x1cf)]=r(0x1bf),a[r(0x1b9)]=r(0x1c8),a[r(0x1dc)]=r(0x1e5);}(Texture||(Texture={})));export var RoomType;(function(a){var s=a56d;a[s(0x1c9)]='inside',a[s(0x1d5)]=s(0x1e8),a[s(0x1ef)]=s(0x1eb),a[s(0x205)]=s(0x1f5),a[s(0x208)]='tower',a[s(0x204)]=s(0x1e2),a[s(0x1c4)]=s(0x1d7),a[s(0x1df)]='mountain',a[s(0x1ec)]='beach',a[s(0x20b)]=s(0x1ea);}(RoomType||(RoomType={})));export var Direction;(function(a){var t=a56d;a['NORTH']=t(0x1ac),a[t(0x1e6)]=t(0x1d6),a[t(0x206)]=t(0x1cb),a[t(0x1f7)]=t(0x1ca),a['UP']='up',a[t(0x1c1)]=t(0x1bc);}(Direction||(Direction={})));
1
+ (function(a,b){var k=a56d,c=a();while(!![]){try{var d=-parseInt(k(0x1a1))/0x1*(-parseInt(k(0x1c4))/0x2)+parseInt(k(0x1de))/0x3+parseInt(k(0x196))/0x4+-parseInt(k(0x1a0))/0x5*(-parseInt(k(0x1d3))/0x6)+-parseInt(k(0x1e3))/0x7+parseInt(k(0x1d0))/0x8+parseInt(k(0x1b5))/0x9*(-parseInt(k(0x1e1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xecf7d));export var Size;(function(a){var l=a56d;a[l(0x1ef)]=l(0x1a8),a[l(0x1d6)]=l(0x1e9),a['Medium']=l(0x1db),a['Large']=l(0x1b8),a[l(0x1bd)]=l(0x191);}(Size||(Size={})));export var Rating;(function(a){var m=a56d;a[m(0x1ed)]=m(0x1f2),a[m(0x1cd)]=m(0x19a),a[m(0x1f0)]=m(0x1e4);}(Rating||(Rating={})));export var Category;(function(a){var n=a56d;a[n(0x1bc)]=n(0x193),a['Shield']='shield',a[n(0x1dc)]=n(0x19f),a[n(0x1a5)]='gloves',a[n(0x1ad)]=n(0x1cb),a['Hat']=n(0x1cc),a['Boots']=n(0x1a6),a['LegArmor']='leg\x20armor',a['ArmArmor']=n(0x1e7),a[n(0x194)]='body\x20armor',a[n(0x1c3)]=n(0x1cf),a[n(0x1c6)]=n(0x1ee),a[n(0x1b3)]=n(0x1f1);}(Category||(Category={})));export var Shape;function a56d(a,b){var c=a56c();return a56d=function(d,e){d=d-0x191;var f=c[d];return f;},a56d(a,b);}(function(a){var o=a56d;a[o(0x1ba)]=o(0x1e2),a['Square']=o(0x1dd),a['Triangle']='triangle',a['Rectangle']=o(0x1d7),a['Blade']=o(0x1b4),a[o(0x1bf)]=o(0x198);}(Shape||(Shape={})));export var Color;(function(a){var p=a56d;a['Red']=p(0x19c),a[p(0x1c0)]=p(0x1a9),a[p(0x199)]=p(0x1c1),a['Yellow']=p(0x1eb),a['Orange']='orange',a[p(0x1e0)]=p(0x1c9),a['Grey']=p(0x1be),a[p(0x1c2)]=p(0x1c8),a['Gold']=p(0x1e8);}(Color||(Color={})));export var Texture;function a56c(){var v=['Smooth','medium','Key','square','4715157XzObSz','south','Purple','2039560TxQkPe','circle','4160891VmUUfy','legendary','underground','TOWER','arm\x20armor','gold','small','forest','yellow','desert','Common','cup','Tiny','Legendary','unknown','common','very\x20large','apply','weapon','BodyArmor','SEA','3470112jFiYIj','search','rifle','Green','rare','(((.+)+)+)+$','red','DESERT','CAVE','key','115GinjIV','1vNYxhY','Bumpy','constructor','fuzzy','Gloves','boots','bumpy','tiny','blue','UNDERGROUND','toString','FOREST','Helmet','BEACH','DOWN','Fuzzy','down','NORTH','Unknown','blade','117hGERjK','sea','beach','large','Grainy','Circle','tower','Weapon','VeryLarge','grey','Rifle','Blue','green','Brown','Book','1632016CkiBlc','EAST','Cup','OUTSIDE','brown','purple','smooth','helmet','hat','Rare','rough','book','2490368gCZAVE','Metallic','inside','169542oCmdMn','east','cave','Small','rectangle','mountain','WEST'];a56c=function(){return v;};return a56c();}(function(a){var q=a56d;a[q(0x1da)]=q(0x1ca),a['Rough']=q(0x1ce),a[q(0x1a2)]=q(0x1a7),a[q(0x1b0)]=q(0x1a4),a[q(0x1b9)]='grainy',a[q(0x1d1)]='metallic';}(Texture||(Texture={})));export var RoomType;(function(c){var t=a56d,d=(function(){var f=!![];return function(g,h){var i=f?function(){var r=a56d;if(h){var j=h[r(0x192)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var s=a56d;return e[s(0x1ab)]()[s(0x197)](s(0x19b))[s(0x1ab)]()[s(0x1a3)](e)[s(0x197)](s(0x19b));});e(),c['INSIDE']=t(0x1d2),c[t(0x1c7)]='outside',c[t(0x1aa)]=t(0x1e5),c[t(0x19e)]=t(0x1d5),c[t(0x1e6)]=t(0x1bb),c[t(0x1ac)]=t(0x1ea),c[t(0x19d)]=t(0x1ec),c['MOUNTAIN']=t(0x1d8),c[t(0x1ae)]=t(0x1b7),c[t(0x195)]=t(0x1b6);}(RoomType||(RoomType={})));export var Direction;(function(a){var u=a56d;a[u(0x1b2)]='north',a[u(0x1c5)]=u(0x1d4),a['SOUTH']=u(0x1df),a[u(0x1d9)]='west',a['UP']='up',a[u(0x1af)]=u(0x1b1);}(Direction||(Direction={})));
@@ -1 +1 @@
1
- (function(a,b){var f=a57d,c=a();while(!![]){try{var d=-parseInt(f(0xe4))/0x1*(parseInt(f(0xe9))/0x2)+parseInt(f(0xe2))/0x3+-parseInt(f(0xe3))/0x4+parseInt(f(0xe5))/0x5*(parseInt(f(0xeb))/0x6)+-parseInt(f(0xec))/0x7*(parseInt(f(0xe7))/0x8)+parseInt(f(0xef))/0x9+-parseInt(f(0xee))/0xa*(-parseInt(f(0xed))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xca985));function a57d(a,b){var c=a57c();return a57d=function(d,e){d=d-0xe0;var f=c[d];return f;},a57d(a,b);}var a57b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a57d;if(c){var e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){var h=a57d;return a57a[h(0xe0)]()[h(0xe1)]('(((.+)+)+)+$')['toString']()[h(0xea)](a57a)['search'](h(0xe8));});function a57c(){var i=['16eedxSR','(((.+)+)+)+$','522100yZhopR','constructor','60kSbLEO','5007758AGiJeo','15040333FIngpl','10UuUSYb','7572663HGlhaj','toString','search','3669057HqABKI','2935248LHzCSy','5KmbtWA','433975LtInNd','apply'];a57c=function(){return i;};return a57c();}a57a();export{};
1
+ function a57d(a,b){var c=a57c();return a57d=function(d,e){d=d-0xd0;var f=c[d];return f;},a57d(a,b);}(function(a,b){var f=a57d,c=a();while(!![]){try{var d=parseInt(f(0xde))/0x1+parseInt(f(0xd7))/0x2*(parseInt(f(0xd5))/0x3)+parseInt(f(0xd0))/0x4*(parseInt(f(0xd8))/0x5)+parseInt(f(0xd1))/0x6*(-parseInt(f(0xd9))/0x7)+parseInt(f(0xda))/0x8+-parseInt(f(0xdb))/0x9+parseInt(f(0xdc))/0xa*(parseInt(f(0xd3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xbfd3a));var a57b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a57d;if(c){var e=c[g(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){var h=a57d;return a57a[h(0xd2)]()[h(0xd6)]('(((.+)+)+)+$')[h(0xd2)]()[h(0xdd)](a57a)['search']('(((.+)+)+)+$');});function a57c(){var i=['670731kjEdhu','search','2wcXsaf','282535QVUnKn','2374218gzPZqI','10606880aCEwFw','12286917PZbNvy','100WoORkr','constructor','618477fsDDAZ','36yTsseh','18WhCngI','toString','541178qpFJaH','apply'];a57c=function(){return i;};return a57c();}a57a();export{};
@@ -1 +1 @@
1
- (function(a,b){var f=a58d,c=a();while(!![]){try{var d=-parseInt(f(0x11e))/0x1*(parseInt(f(0x11c))/0x2)+-parseInt(f(0x120))/0x3+parseInt(f(0x126))/0x4+-parseInt(f(0x123))/0x5*(parseInt(f(0x125))/0x6)+-parseInt(f(0x124))/0x7+-parseInt(f(0x121))/0x8+parseInt(f(0x11d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x3ebd3));var a58b=(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;};}()),a58a=a58b(this,function(){var g=a58d;return a58a['toString']()['search'](g(0x122))[g(0x11b)]()['constructor'](a58a)[g(0x11f)](g(0x122));});function a58d(a,b){var c=a58c();return a58d=function(d,e){d=d-0x11b;var f=c[d];return f;},a58d(a,b);}function a58c(){var h=['290WLypFl','8797824wqIEAR','1862LbkbRo','search','755013KDlIDg','2577792wfayKf','(((.+)+)+)+$','95pqCjmX','45864husibD','27558NLWgRk','868588EnRWJv','toString'];a58c=function(){return h;};return a58c();}a58a();export{};
1
+ function a58d(a,b){var c=a58c();return a58d=function(d,e){d=d-0xd1;var f=c[d];return f;},a58d(a,b);}(function(a,b){var f=a58d,c=a();while(!![]){try{var d=parseInt(f(0xd7))/0x1*(parseInt(f(0xd3))/0x2)+parseInt(f(0xd9))/0x3*(parseInt(f(0xd2))/0x4)+parseInt(f(0xdc))/0x5*(parseInt(f(0xde))/0x6)+-parseInt(f(0xdf))/0x7+parseInt(f(0xdb))/0x8+-parseInt(f(0xdd))/0x9+-parseInt(f(0xd5))/0xa*(parseInt(f(0xda))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0xb58c5));function a58c(){var i=['toString','3489501afkFFC','18283870vZVrEy','9702368FoIcaJ','5LoYgpz','2499039AguOTa','2821350bHLKhT','1520442XUySqj','search','(((.+)+)+)+$','4fclkCp','54480UmBmHT','constructor','10CBKjbg','apply','2lqpiBz'];a58c=function(){return i;};return a58c();}var a58b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a58d;if(c){var e=c[g(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){var h=a58d;return a58a[h(0xd8)]()[h(0xe0)](h(0xd1))[h(0xd8)]()[h(0xd4)](a58a)['search'](h(0xd1));});a58a();export{};
@@ -1 +1 @@
1
- function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a59d(a,b);}const a59H=a59d;(function(a,b){const y=a59d,c=a();while(!![]){try{const d=parseInt(y(0x1b9))/0x1*(parseInt(y(0x1ad))/0x2)+-parseInt(y(0x1b3))/0x3*(-parseInt(y(0x1ce))/0x4)+parseInt(y(0x1b2))/0x5+-parseInt(y(0x1d5))/0x6+parseInt(y(0x1b1))/0x7*(-parseInt(y(0x1ea))/0x8)+parseInt(y(0x1c1))/0x9*(parseInt(y(0x1a7))/0xa)+parseInt(y(0x1cf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0x6f7db));import a59e from'blessed';import{capitalCase}from'change-case';function a59c(){const I=['lock','Legs:\x20','C-c','yellow','line','arms','equipment','Left\x20Hand:\x20','roomType','Currently\x20in:\x20','pushLine','getValue','toString','screen','Thanks\x20for\x20playing!','size','75%','key','currentLocation','164368aVklFi','45%','getOtherSide','box','apply','rightHand','checkIfLocked','\x0aThere\x20are\x20no\x20exits\x20here.','render','25%','cyan','getInstance','enter','gloves','checkIfLockable','70%','torso','10%','map','legs','\x20(Locked)','OUTSIDE','None','log','20%','430ZLTyRA','\x20Equipment\x20','removeAllListeners','split','argv','append','2zpoCcD','search','Torso:\x20','Gloves:\x20','63gBiCot','529245lqGckI','3039XXKzOa','feet','player','forEach','\x20Map\x20','head','18748jZdqvd','white','exits','-----\x20Exits\x20------\x0a','Arms:\x20','join','mousemove','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','88299pKPqds','exit','<<<<<<<<---------\x20Terminating\x20game','Head:\x20','\x20(Unlocked)','constructor','Your\x20items\x20will\x20be\x20listed\x20here...','write','slice','----->>>>>>\x20Initializing\x20Game','name','(((.+)+)+)+$','Feet:\x20','356lEUUtd','8280239OaSYTQ','setContent','parse','Side\x20Quest\x20Adventure\x20Game','focus','Right\x20Hand:\x20','4486770lNuRlB','getWelcomeMessage'];a59c=function(){return I;};return a59c();}import a59f from'./game.js';import{RoomType}from'./types/enums.js';import{Player}from'./models/player.js';import{Door}from'./models/door.js';import{Logger}from'./utilities/logger.js';export async function main(c,d,e){const B=a59d,f=(function(){let h=!![];return function(i,j){const k=h?function(){const z=a59d;if(j){const l=j[z(0x1ee)](i,arguments);return j=null,l;}}:function(){};return h=![],k;};}()),g=f(this,function(){const A=a59d;return g['toString']()['search'](A(0x1cc))[A(0x1e3)]()[A(0x1c6)](g)[A(0x1ae)](A(0x1cc));});g();try{const h=a59e[B(0x1e4)]({'smartCSR':!![],'title':B(0x1d2)}),i=a59e[B(0x1ed)]({'top':'0%','left':'75%','width':B(0x1f3),'height':B(0x1eb),'border':{'type':B(0x1db)},'label':'\x20Inventory\x20','content':B(0x1c7),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':B(0x1da)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),j=t=>{const C=B,u=t['getAllItems']()[C(0x1fc)](v=>v['name']);i[C(0x1d0)](u[C(0x1be)]('\x0a')),h[C(0x1f2)]();};h[B(0x1ac)](i);const k=a59e[B(0x1ed)]({'top':B(0x1eb),'left':'75%','width':B(0x1f3),'height':B(0x1f3),'border':{'type':'line'},'label':B(0x1a8),'content':B(0x1c0),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':B(0x1da)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h[B(0x1ac)](k);const l=t=>{const D=B;k[D(0x1d0)](D(0x1c4)+(t[D(0x1b8)]?t[D(0x1b8)]['name']:D(0x1a4))+'\x0a'+(D(0x1af)+(t['torso']?t[D(0x1fa)][D(0x1cb)]:D(0x1a4))+'\x0a')+(D(0x1d8)+(t[D(0x1fd)]?t['legs'][D(0x1cb)]:D(0x1a4))+'\x0a')+(D(0x1cd)+(t[D(0x1b4)]?t['feet'][D(0x1cb)]:D(0x1a4))+'\x0a')+(D(0x1bd)+(t[D(0x1dc)]?t['arms'][D(0x1cb)]:D(0x1a4))+'\x0a')+(D(0x1b0)+(t['gloves']?t[D(0x1f7)][D(0x1cb)]:D(0x1a4))+'\x0a')+(D(0x1de)+(t['leftHand']?t['leftHand']['name']:'None')+'\x0a')+(D(0x1d4)+(t[D(0x1ef)]?t[D(0x1ef)][D(0x1cb)]:'None')+'\x0a')),h['render']();},m=a59e[B(0x1ed)]({'top':B(0x1f9),'left':B(0x1e7),'width':B(0x1f3),'height':B(0x1a6),'border':{'type':'line'},'label':B(0x1b7),'content':'Available\x20exits\x20will\x20be\x20shown\x20here...','tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h['append'](m);const n=t=>{const E=B;let u=E(0x1e0)+t['name']+'\x0a\x0a';u+=E(0x1bc),t[E(0x1bb)][E(0x1e6)]>0x0?t['exits'][E(0x1b6)]((v,w)=>{const F=E;if(v instanceof Door){const x=v[F(0x1ec)](t);x[F(0x1df)]===RoomType[F(0x1a3)]?u+=capitalCase(w)+':\x20'+x[F(0x1cb)]:u+=capitalCase(w)+':\x20'+v[F(0x1cb)];if(v[F(0x1f0)]())u+=F(0x1fe);else v[F(0x1f8)]()&&(u+=F(0x1c5));u+='\x0a';}else u+=capitalCase(w)+'\x0a';}):u+=E(0x1f1),m[E(0x1d0)](u),h['render']();},o=a59e['box']({'id':'logBox','top':'0%','left':'0%','width':B(0x1e7),'height':'90%','border':{'type':B(0x1db)},'label':'\x20Game\x20Log\x20','scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':B(0x1da)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});o[B(0x1a9)](B(0x1bf)),h['append'](o);const p=a59e['textbox']({'bottom':0x0,'left':0x0,'width':'100%','height':B(0x1fb),'tags':!![],'border':{'type':B(0x1db)},'style':{'fg':B(0x1ba),'border':{'fg':B(0x1f4)}},'keys':!![],'mouse':!![],'inputOnFocus':!![],'vi':!![]});h[B(0x1ac)](p),h['key'](['escape',B(0x1d9)],()=>process[B(0x1c2)](0x0)),p[B(0x1d3)](),h['render']();const q=Logger[B(0x1f5)](e['logFilePath'],h),r=new Player({'playerName':c});q[B(0x1c8)](B(0x1ca));const s=a59f[B(0x1f5)](r,d);o[B(0x1d0)](s[B(0x1d6)]()),l(s[B(0x1b5)][B(0x1dd)]),j(s[B(0x1b5)]['inventory']),n(s[B(0x1b5)][B(0x1e9)]),p[B(0x1e8)]([B(0x1f6)],async()=>{const G=B,t=p[G(0x1e2)](),u=s['handleInput'](t);(t[G(0x1aa)]('\x20')[0x0]==='take'||'equip'||'unequip')&&(j(s['player']['inventory']),l(s[G(0x1b5)][G(0x1dd)])),(t['split']('\x20')[0x0]==='go'||G(0x1d7)||'unlock')&&n(s[G(0x1b5)][G(0x1e9)]),t['split']('\x20')[0x0]==='clear'&&o[G(0x1d0)](''),u===null&&(console[G(0x1a5)](G(0x1e5)),h[G(0x1f2)](),q[G(0x1c8)](G(0x1c3)),process[G(0x1c2)](0x0)),o[G(0x1e1)](u),o['scroll'](0x1),p['clearValue'](),p[G(0x1d3)](),h[G(0x1f2)]();});}catch(t){console[B(0x1a5)](t),process[B(0x1c2)](0x1);}}const args=process[a59H(0x1ab)][a59H(0x1c9)](0x2);main(args[0x0],JSON[a59H(0x1d1)](args[0x1]),JSON[a59H(0x1d1)](args[0x2]));
1
+ const a59H=a59d;(function(a,b){const y=a59d,c=a();while(!![]){try{const d=-parseInt(y(0x149))/0x1+-parseInt(y(0x14e))/0x2+parseInt(y(0x147))/0x3+-parseInt(y(0x17c))/0x4*(-parseInt(y(0x13e))/0x5)+-parseInt(y(0x16e))/0x6+-parseInt(y(0x163))/0x7+-parseInt(y(0x16f))/0x8*(-parseInt(y(0x171))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0x2528b));import a59e from'blessed';function a59c(){const I=['torso','feet','key','45%','Gloves:\x20','None','inventory','size','argv','line','75%','Head:\x20','render','25%','equipment','(((.+)+)+)+$','logFilePath','log','escape','legs','toString','Available\x20exits\x20will\x20be\x20shown\x20here...','roomType','\x20(Unlocked)','5kyRtau','slice','logBox','append','\x20Equipment\x20','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','Currently\x20in:\x20','arms','70%','254214BOUAkc','textbox','43483tdCOir','setContent','exit','\x20(Locked)','Left\x20Hand:\x20','381752HeJlDo','head','Torso:\x20','rightHand','90%','----->>>>>>\x20Initializing\x20Game','leftHand','OUTSIDE','clearValue','mousemove','lock','gloves','removeAllListeners','exits','name','box','currentLocation','cyan','white','unequip','getInstance','1807554ZGHlVy','parse','Arms:\x20','map','\x20Inventory\x20','-----\x20Exits\x20------\x0a','write','forEach','focus','Right\x20Hand:\x20','C-c','1447950SVomCU','2264DUDyXs','apply','24291SDgotr','\x0aThere\x20are\x20no\x20exits\x20here.','getWelcomeMessage','\x20Map\x20','take','player','Feet:\x20','clear','yellow','pushLine','getValue','150216XytyRP','handleInput','Side\x20Quest\x20Adventure\x20Game'];a59c=function(){return I;};return a59c();}import{capitalCase}from'change-case';import a59f from'./game.js';import{RoomType}from'./types/enums.js';import{Player}from'./models/player.js';import{Door}from'./models/door.js';import{Logger}from'./utilities/logger.js';function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0x13c;let f=c[d];return f;},a59d(a,b);}export async function main(c,d,e){const B=a59d,f=(function(){let h=!![];return function(i,j){const k=h?function(){const z=a59d;if(j){const l=j[z(0x170)](i,arguments);return j=null,l;}}:function(){};return h=![],k;};}()),g=f(this,function(){const A=a59d;return g[A(0x193)]()['search'](A(0x18e))[A(0x193)]()['constructor'](g)['search'](A(0x18e));});g();try{const h=a59e['screen']({'smartCSR':!![],'title':B(0x17e)}),i=a59e[B(0x15d)]({'top':'0%','left':B(0x189),'width':B(0x18c),'height':B(0x182),'border':{'type':B(0x188)},'label':B(0x167),'content':'Your\x20items\x20will\x20be\x20listed\x20here...','tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':B(0x179)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),j=t=>{const C=B,u=t['getAllItems']()[C(0x166)](v=>v[C(0x15c)]);i[C(0x14a)](u['join']('\x0a')),h[C(0x18b)]();};h[B(0x141)](i);const k=a59e['box']({'top':B(0x182),'left':B(0x189),'width':'25%','height':B(0x18c),'border':{'type':'line'},'label':B(0x142),'content':B(0x143),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':B(0x179)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h['append'](k);const l=t=>{const D=B;k[D(0x14a)](D(0x18a)+(t[D(0x14f)]?t[D(0x14f)][D(0x15c)]:D(0x184))+'\x0a'+(D(0x150)+(t[D(0x17f)]?t['torso'][D(0x15c)]:D(0x184))+'\x0a')+('Legs:\x20'+(t[D(0x192)]?t['legs'][D(0x15c)]:D(0x184))+'\x0a')+(D(0x177)+(t[D(0x180)]?t[D(0x180)][D(0x15c)]:D(0x184))+'\x0a')+(D(0x165)+(t[D(0x145)]?t[D(0x145)][D(0x15c)]:D(0x184))+'\x0a')+(D(0x183)+(t['gloves']?t[D(0x159)][D(0x15c)]:D(0x184))+'\x0a')+(D(0x14d)+(t[D(0x154)]?t[D(0x154)]['name']:'None')+'\x0a')+(D(0x16c)+(t[D(0x151)]?t[D(0x151)][D(0x15c)]:D(0x184))+'\x0a')),h[D(0x18b)]();},m=a59e['box']({'top':B(0x146),'left':'75%','width':'25%','height':'20%','border':{'type':B(0x188)},'label':B(0x174),'content':B(0x194),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':B(0x179)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h[B(0x141)](m);const n=t=>{const E=B;let u=E(0x144)+t[E(0x15c)]+'\x0a\x0a';u+=E(0x168),t['exits'][E(0x186)]>0x0?t[E(0x15b)][E(0x16a)]((v,w)=>{const F=E;if(v instanceof Door){const x=v['getOtherSide'](t);x[F(0x13c)]===RoomType[F(0x155)]?u+=capitalCase(w)+':\x20'+x[F(0x15c)]:u+=capitalCase(w)+':\x20'+v[F(0x15c)];if(v['checkIfLocked']())u+=F(0x14c);else v['checkIfLockable']()&&(u+=F(0x13d));u+='\x0a';}else u+=capitalCase(w)+'\x0a';}):u+=E(0x172),m[E(0x14a)](u),h[E(0x18b)]();},o=a59e[B(0x15d)]({'id':B(0x140),'top':'0%','left':'0%','width':'75%','height':B(0x152),'border':{'type':B(0x188)},'label':'\x20Game\x20Log\x20','scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':B(0x179)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});o[B(0x15a)](B(0x157)),h[B(0x141)](o);const p=a59e[B(0x148)]({'bottom':0x0,'left':0x0,'width':'100%','height':'10%','tags':!![],'border':{'type':B(0x188)},'style':{'fg':B(0x160),'border':{'fg':B(0x15f)}},'keys':!![],'mouse':!![],'inputOnFocus':!![],'vi':!![]});h[B(0x141)](p),h['key']([B(0x191),B(0x16d)],()=>process[B(0x14b)](0x0)),p['focus'](),h[B(0x18b)]();const q=Logger[B(0x162)](e[B(0x18f)],h),r=new Player({'playerName':c});q[B(0x169)](B(0x153));const s=a59f[B(0x162)](r,d);o['setContent'](s[B(0x173)]()),l(s[B(0x176)][B(0x18d)]),j(s['player'][B(0x185)]),n(s[B(0x176)][B(0x15e)]),p[B(0x181)](['enter'],async()=>{const G=B,t=p[G(0x17b)](),u=s[G(0x17d)](t);(t['split']('\x20')[0x0]===G(0x175)||'equip'||G(0x161))&&(j(s[G(0x176)]['inventory']),l(s[G(0x176)][G(0x18d)])),(t['split']('\x20')[0x0]==='go'||G(0x158)||'unlock')&&n(s['player'][G(0x15e)]),t['split']('\x20')[0x0]===G(0x178)&&o[G(0x14a)](''),u===null&&(console['log']('Thanks\x20for\x20playing!'),h['render'](),q[G(0x169)]('<<<<<<<<---------\x20Terminating\x20game'),process[G(0x14b)](0x0)),o[G(0x17a)](u),o['scroll'](0x1),p[G(0x156)](),p[G(0x16b)](),h[G(0x18b)]();});}catch(t){console[B(0x190)](t),process[B(0x14b)](0x1);}}const args=process[a59H(0x187)][a59H(0x13f)](0x2);main(args[0x0],JSON['parse'](args[0x1]),JSON[a59H(0x164)](args[0x2]));
@@ -1 +1 @@
1
- const a60k=a60d;function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0x10a;let f=c[d];return f;},a60d(a,b);}(function(a,b){const h=a60d,c=a();while(!![]){try{const d=-parseInt(h(0x134))/0x1+-parseInt(h(0x127))/0x2*(parseInt(h(0x121))/0x3)+parseInt(h(0x124))/0x4*(parseInt(h(0x10a))/0x5)+parseInt(h(0x11e))/0x6+parseInt(h(0x12c))/0x7+-parseInt(h(0x12b))/0x8*(-parseInt(h(0x11b))/0x9)+-parseInt(h(0x115))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0xbd4d4));const a60b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a60d;if(c){const e=c[i(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a60a=a60b(this,function(){const j=a60d;return a60a[j(0x114)]()[j(0x10d)](j(0x112))[j(0x114)]()[j(0x113)](a60a)[j(0x10d)](j(0x112));});a60a();import a60e from'fs';import a60f from'os';import a60g from'path';const homeDir=a60f[a60k(0x11f)]();export class Logger{static [a60k(0x12e)];[a60k(0x118)];[a60k(0x111)];constructor(a,b){const l=a60k;this[l(0x118)]=a,this[l(0x111)]=b,this[l(0x133)]();}static['getInstance'](a=a60g[a60k(0x120)](homeDir,'.maka',a60k(0x11a)),b){const m=a60k;if(!Logger[m(0x12e)]){if(!b)throw new Error('Screen\x20must\x20be\x20provided\x20when\x20initializing\x20the\x20Logger\x20for\x20the\x20first\x20time.');Logger[m(0x12e)]=new Logger(a,b);}return Logger['instance'];}[a60k(0x133)](){const n=a60k,a=a60g[n(0x119)](this['filePath']);!a60e[n(0x129)](a)&&a60e[n(0x11c)](a,{'recursive':!![]}),!a60e[n(0x129)](this[n(0x118)])&&a60e[n(0x125)](this['filePath'],'');}[a60k(0x130)](a){const o=a60k,b=new Date()[o(0x12f)](),c=o(0x116)+b+']\x20'+a+'\x0a';a60e['appendFileSync'](this[o(0x118)],c);}['error'](a){const p=a60k,b=new Date()[p(0x12f)](),c=p(0x10b)+b+']\x20'+a+'\x0a';a60e[p(0x117)](this[p(0x118)],c);}[a60k(0x10e)](a){const q=a60k,b=this[q(0x111)]?.['children'][q(0x11d)](c=>c['type']===q(0x10c)&&c[q(0x12a)]['id']===q(0x122));b?(b[q(0x123)](b[q(0x128)]+'\x0a'+a),b['scrollTo'](b[q(0x110)]()),this[q(0x111)]?.[q(0x131)]()):this['error'](q(0x126)+b+q(0x132)+this['screen']),this[q(0x130)](a);}[a60k(0x10f)](){const r=a60k;return!!this[r(0x111)];}}function a60c(){const s=['1481064rIYFXu','1279235MtvHSR','[ERROR]\x20[','box','search','log','hasScreen','getScrollHeight','screen','(((.+)+)+)+$','constructor','toString','4918660kJpvAy','[INFO]\x20[','appendFileSync','filePath','dirname','side-quest.log','9KTmefS','mkdirSync','find','4882548RpUJTN','homedir','join','1812870soPPsj','logBox','setContent','12AzfPJm','writeFileSync','The\x20logbox\x20','2OPjCUs','content','existsSync','options','9888248FylSmm','3746890flQRNB','apply','instance','toISOString','write','render','\x20could\x20not\x20be\x20found\x20on\x20screen\x20','ensureLogFileExists'];a60c=function(){return s;};return a60c();}
1
+ const a60k=a60d;(function(a,b){const h=a60d,c=a();while(!![]){try{const d=parseInt(h(0x147))/0x1+parseInt(h(0x14b))/0x2*(parseInt(h(0x15b))/0x3)+parseInt(h(0x168))/0x4+parseInt(h(0x158))/0x5*(parseInt(h(0x156))/0x6)+parseInt(h(0x15a))/0x7+-parseInt(h(0x14f))/0x8+parseInt(h(0x153))/0x9*(-parseInt(h(0x159))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0x6b6ea));function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0x147;let f=c[d];return f;},a60d(a,b);}const a60b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a60d;if(c){const e=c[i(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a60a=a60b(this,function(){const j=a60d;return a60a[j(0x169)]()['search'](j(0x16d))[j(0x169)]()[j(0x150)](a60a)[j(0x14a)]('(((.+)+)+)+$');});a60a();import a60e from'fs';import a60f from'os';import a60g from'path';function a60c(){const r=['117XzOOwJ','options','dirname','237684MYtZTZ','content','10IBFrtw','1486630fyElLD','4066923MmlCeG','9FlBfkC','hasScreen','log','apply','screen','appendFileSync','scrollTo','write','join','filePath','existsSync','error','\x20could\x20not\x20be\x20found\x20on\x20screen\x20','3439860XqPLYf','toString','toISOString','instance','find','(((.+)+)+)+$','side-quest.log','392454cFfZlS','ensureLogFileExists','[INFO]\x20[','search','442982CeLDGo','The\x20logbox\x20','getScrollHeight','type','1635584zRHevF','constructor','box','Screen\x20must\x20be\x20provided\x20when\x20initializing\x20the\x20Logger\x20for\x20the\x20first\x20time.'];a60c=function(){return r;};return a60c();}const homeDir=a60f['homedir']();export class Logger{static [a60k(0x16b)];[a60k(0x164)];[a60k(0x15f)];constructor(a,b){const l=a60k;this[l(0x164)]=a,this[l(0x15f)]=b,this[l(0x148)]();}static['getInstance'](a=a60g[a60k(0x163)](homeDir,'.maka',a60k(0x16e)),b){const m=a60k;if(!Logger[m(0x16b)]){if(!b)throw new Error(m(0x152));Logger[m(0x16b)]=new Logger(a,b);}return Logger['instance'];}['ensureLogFileExists'](){const n=a60k,a=a60g[n(0x155)](this['filePath']);!a60e[n(0x165)](a)&&a60e['mkdirSync'](a,{'recursive':!![]}),!a60e[n(0x165)](this[n(0x164)])&&a60e['writeFileSync'](this[n(0x164)],'');}['write'](a){const o=a60k,b=new Date()[o(0x16a)](),c=o(0x149)+b+']\x20'+a+'\x0a';a60e[o(0x160)](this[o(0x164)],c);}[a60k(0x166)](a){const p=a60k,b=new Date()[p(0x16a)](),c='[ERROR]\x20['+b+']\x20'+a+'\x0a';a60e[p(0x160)](this[p(0x164)],c);}[a60k(0x15d)](a){const q=a60k,b=this['screen']?.['children'][q(0x16c)](c=>c[q(0x14e)]===q(0x151)&&c[q(0x154)]['id']==='logBox');b?(b['setContent'](b[q(0x157)]+'\x0a'+a),b[q(0x161)](b[q(0x14d)]()),this['screen']?.['render']()):this[q(0x166)](q(0x14c)+b+q(0x167)+this[q(0x15f)]),this[q(0x162)](a);}[a60k(0x15c)](){return!!this['screen'];}}
@@ -1 +1 @@
1
- const a61n=a61d;(function(a,b){const k=a61d,c=a();while(!![]){try{const d=-parseInt(k(0xac))/0x1*(parseInt(k(0xbd))/0x2)+-parseInt(k(0xcb))/0x3*(-parseInt(k(0xba))/0x4)+parseInt(k(0xd0))/0x5*(-parseInt(k(0xb0))/0x6)+parseInt(k(0xae))/0x7*(parseInt(k(0xc8))/0x8)+parseInt(k(0xc7))/0x9+parseInt(k(0xc4))/0xa*(parseInt(k(0xc6))/0xb)+-parseInt(k(0xc5))/0xc*(-parseInt(k(0xb8))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0x98739));function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0xac;let f=c[d];return f;},a61d(a,b);}const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a61d;if(c){const e=c[l(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const m=a61d;return a61a['toString']()[m(0xd1)](m(0xc0))[m(0xca)]()['constructor'](a61a)[m(0xd1)](m(0xc0));});a61a();import a61e from'path';import{spawn}from'child_process';import a61f from'./play.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{dungeonConfig,shadowrunConfig}from'./sideQuest/scenes/rooms.js';function a61c(){const q=['90eksQAf','368136zMximF','798391CKKbgd','45054rAmvrO','6568gfBICw','join','toString','1136535IVylnf','resolve','list','maka\x20play:side-quest','sideQuestAnswer','5WVFaSn','search','stringify','Play\x20a\x20little\x20side-quest','log','2155zcoRsX','./sideQuest/ui.js','4228LqZCle','options','3742260wxEkEE','ask','fsi','create','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...','inherit','apply','side-quest','377wfMlVu','player','4eefljJ','dungeon','url','1090QSKdUK','getGlobalMakaDir','side-quest.log','(((.+)+)+)+$','Which\x20Side-Quest\x20would\x20you\x20like\x20to\x20play?','What\x20is\x20your\x20name?','Commoner'];a61c=function(){return q;};return a61c();}import{fileURLToPath}from'url';import{dirname}from'path';const __filename=fileURLToPath(import.meta[a61n(0xbc)]),__dirname=dirname(__filename);Command[a61n(0xb3)]({'name':a61n(0xb7),'usage':a61n(0xce),'shortDesc':a61n(0xd3),'aliases':['sq'],'description':a61n(0xb4),'validOpts':[a61n(0xb9)]},async function(a,b){const o=a61n;try{const c=this[o(0xb2)][o(0xbe)](),d=a61e[o(0xc9)](c,o(0xbf)),e=b[o(0xb9)]?b[o(0xb9)]:await Actions[o(0xb1)](o(0xc2))||o(0xc3),f={...b,'logFilePath':d},g={'type':o(0xcd),'name':o(0xcf),'message':o(0xc1),'choices':[{'name':o(0xbb),'value':dungeonConfig},{'name':'shadowrun','value':shadowrunConfig}]},{sideQuestAnswer:h}=await Actions[o(0xaf)](g);if(e&&h){const i=spawn('node',[a61e[o(0xcc)](__dirname,o(0xad)),e,JSON[o(0xd2)](h),JSON[o(0xd2)](f)],{'stdio':o(0xb5)});i['on']('exit',()=>{const p=o;console[p(0xd4)]('Thanks\x20for\x20playing!');});}}catch(j){console[o(0xd4)](j);}},a61f);
1
+ function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0x155;let f=c[d];return f;},a61d(a,b);}const a61n=a61d;(function(a,b){const k=a61d,c=a();while(!![]){try{const d=parseInt(k(0x174))/0x1+-parseInt(k(0x16b))/0x2*(parseInt(k(0x155))/0x3)+-parseInt(k(0x15e))/0x4*(parseInt(k(0x167))/0x5)+parseInt(k(0x158))/0x6+-parseInt(k(0x169))/0x7*(parseInt(k(0x164))/0x8)+parseInt(k(0x17c))/0x9+-parseInt(k(0x161))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0xc9570));const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a61d;if(c){const e=c[l(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const m=a61d;return a61a[m(0x160)]()[m(0x16d)](m(0x172))['toString']()[m(0x162)](a61a)['search'](m(0x172));});a61a();function a61c(){const q=['constructor','side-quest','8zPrPPI','fsi','inherit','2855435KuSqLt','ask','1227527ecVKgL','shadowrun','2uBaPHw','getGlobalMakaDir','search','player','What\x20is\x20your\x20name?','join','list','(((.+)+)+)+$','node','1211633BgFzWG','dungeon','Thanks\x20for\x20playing!','exit','resolve','create','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...','Commoner','5896674JOoTCN','1237713kqlIqA','Play\x20a\x20little\x20side-quest','maka\x20play:side-quest','4633500ohkxYF','apply','sideQuestAnswer','stringify','log','options','4LXGMDe','side-quest.log','toString','6553620nXNrdz'];a61c=function(){return q;};return a61c();}import a61e from'path';import{spawn}from'child_process';import a61f from'./play.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{dungeonConfig,shadowrunConfig}from'./sideQuest/scenes/rooms.js';import{fileURLToPath}from'url';import{dirname}from'path';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);Command[a61n(0x179)]({'name':a61n(0x163),'usage':a61n(0x157),'shortDesc':a61n(0x156),'aliases':['sq'],'description':a61n(0x17a),'validOpts':[a61n(0x16e)]},async function(a,b){const o=a61n;try{const c=this[o(0x165)][o(0x16c)](),d=a61e[o(0x170)](c,o(0x15f)),e=b[o(0x16e)]?b[o(0x16e)]:await Actions[o(0x168)](o(0x16f))||o(0x17b),f={...b,'logFilePath':d},g={'type':o(0x171),'name':o(0x15a),'message':'Which\x20Side-Quest\x20would\x20you\x20like\x20to\x20play?','choices':[{'name':o(0x175),'value':dungeonConfig},{'name':o(0x16a),'value':shadowrunConfig}]},{sideQuestAnswer:h}=await Actions[o(0x15d)](g);if(e&&h){const i=spawn(o(0x173),[a61e[o(0x178)](__dirname,'./sideQuest/ui.js'),e,JSON[o(0x15b)](h),JSON[o(0x15b)](f)],{'stdio':o(0x166)});i['on'](o(0x177),()=>{const p=o;console[p(0x15c)](p(0x176));});}}catch(j){console[o(0x15c)](j);}},a61f);
@@ -1 +1 @@
1
- var a62i=a62d;(function(a,b){var f=a62d,c=a();while(!![]){try{var d=-parseInt(f(0x1d8))/0x1*(-parseInt(f(0x1d0))/0x2)+-parseInt(f(0x1d9))/0x3+parseInt(f(0x1d7))/0x4*(-parseInt(f(0x1d5))/0x5)+-parseInt(f(0x1c8))/0x6*(-parseInt(f(0x1cb))/0x7)+-parseInt(f(0x1ce))/0x8+-parseInt(f(0x1d3))/0x9*(parseInt(f(0x1c9))/0xa)+parseInt(f(0x1cd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0x56316));var a62b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a62d;if(c){var e=c[g(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){var h=a62d;return a62a['toString']()[h(0x1d1)](h(0x1cc))[h(0x1da)]()[h(0x1ca)](a62a)['search'](h(0x1cc));});function a62d(a,b){var c=a62c();return a62d=function(d,e){d=d-0x1c7;var f=c[d];return f;},a62d(a,b);}a62a();import a62e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';function a62c(){var k=['maka\x20game:snake','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','6sLbauF','5620zMmSUv','constructor','288029UrMugg','(((.+)+)+)+$','14007323GxQGWq','1837920QbefLv','apply','28IhTWfI','search','snake','7308tHwBZM','npx\x20command-line-snake','98295XRIoOn','create','28kjupcS','24974eZhdux','1462299GbrrWk','toString'];a62c=function(){return k;};return a62c();}Command[a62i(0x1d6)]({'name':a62i(0x1d2),'usage':a62i(0x1db),'shortDesc':a62i(0x1c7),'validOpts':[]},async function(){var j=a62i;execSync(j(0x1d4),{'stdio':'inherit'});},a62e);
1
+ var a62i=a62d;(function(a,b){var f=a62d,c=a();while(!![]){try{var d=-parseInt(f(0xe1))/0x1+-parseInt(f(0xde))/0x2+parseInt(f(0xd8))/0x3*(-parseInt(f(0xd3))/0x4)+parseInt(f(0xe2))/0x5*(parseInt(f(0xe3))/0x6)+-parseInt(f(0xd5))/0x7+-parseInt(f(0xdb))/0x8+parseInt(f(0xd4))/0x9*(parseInt(f(0xdf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0x8d183));function a62c(){var k=['(((.+)+)+)+$','9238000joyJlA','inherit','npx\x20command-line-snake','1091138qDZKrB','430aaAHaL','maka\x20game:snake','6244hsdbYa','35lpsXPs','35766hFKyEo','search','create','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','369428DAIQOY','795078tdzSJG','5719637gPImVJ','apply','snake','24humjWu','toString'];a62c=function(){return k;};return a62c();}var a62b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a62d;if(c){var e=c[g(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){var h=a62d;return a62a[h(0xd9)]()['search'](h(0xda))[h(0xd9)]()['constructor'](a62a)[h(0xe4)](h(0xda));});a62a();import a62e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';function a62d(a,b){var c=a62c();return a62d=function(d,e){d=d-0xd1;var f=c[d];return f;},a62d(a,b);}Command[a62i(0xd1)]({'name':a62i(0xd7),'usage':a62i(0xe0),'shortDesc':a62i(0xd2),'validOpts':[]},async function(){var j=a62i;execSync(j(0xdd),{'stdio':j(0xdc)});},a62e);
@@ -1 +1 @@
1
- function a63c(){var k=['search','maka\x20game:tetris','(((.+)+)+)+$','297713gWVvCS','268465iGAhoj','8QIYDcu','42YEdPuN','465933mIKfgW','create','2AIHWOR','1152296ZqCdcY','npx\x20simple-tetris','386800afIstr','constructor','inherit','316188fZffIG','Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','apply','2244697IPTlTD','tetris'];a63c=function(){return k;};return a63c();}var a63i=a63d;function a63d(a,b){var c=a63c();return a63d=function(d,e){d=d-0xcc;var f=c[d];return f;},a63d(a,b);}(function(a,b){var f=a63d,c=a();while(!![]){try{var d=parseInt(f(0xce))/0x1+parseInt(f(0xd4))/0x2*(parseInt(f(0xd2))/0x3)+-parseInt(f(0xd5))/0x4+parseInt(f(0xcf))/0x5*(parseInt(f(0xd1))/0x6)+-parseInt(f(0xdd))/0x7+-parseInt(f(0xd0))/0x8*(-parseInt(f(0xda))/0x9)+-parseInt(f(0xd7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x34e06));var a63b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a63d;if(c){var e=c[g(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){var h=a63d;return a63a['toString']()['search'](h(0xcd))['toString']()[h(0xd8)](a63a)[h(0xdf)](h(0xcd));});a63a();import a63e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';Command[a63i(0xd3)]({'name':a63i(0xde),'usage':a63i(0xcc),'shortDesc':a63i(0xdb),'validOpts':[]},async function(){var j=a63i;execSync(j(0xd6),{'stdio':j(0xd9)});},a63e);
1
+ var a63h=a63d;function a63c(){var j=['npx\x20simple-tetris','(((.+)+)+)+$','maka\x20game:tetris','2187612WmiKsq','9lCihmi','create','7ZdGeDa','2156568HZCkeM','3153425AsNEYa','toString','constructor','188560OQKxeQ','6345030gaaKMK','inherit','tetris','1332pzsSWG','4955984BBJxog','119BzjtDr','3saJKPf'];a63c=function(){return j;};return a63c();}(function(a,b){var f=a63d,c=a();while(!![]){try{var d=parseInt(f(0xa9))/0x1*(-parseInt(f(0xa7))/0x2)+parseInt(f(0xaa))/0x3*(parseInt(f(0x9f))/0x4)+parseInt(f(0xa0))/0x5+parseInt(f(0x9b))/0x6+-parseInt(f(0x9e))/0x7*(parseInt(f(0xa3))/0x8)+parseInt(f(0x9c))/0x9*(-parseInt(f(0xa4))/0xa)+-parseInt(f(0xa8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x549be));var a63b=(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;};}()),a63a=a63b(this,function(){var g=a63d;return a63a[g(0xa1)]()['search'](g(0xac))[g(0xa1)]()[g(0xa2)](a63a)['search'](g(0xac));});a63a();import a63e from'./play.command.js';function a63d(a,b){var c=a63c();return a63d=function(d,e){d=d-0x9b;var f=c[d];return f;},a63d(a,b);}import{Command}from'../../command.js';import{execSync}from'child_process';Command[a63h(0x9d)]({'name':a63h(0xa6),'usage':a63h(0xad),'shortDesc':'Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','validOpts':[]},async function(){var i=a63h;execSync(i(0xab),{'stdio':i(0xa5)});},a63e);
@@ -1 +1 @@
1
- const a64i=a64d;(function(a,b){const f=a64d,c=a();while(!![]){try{const d=-parseInt(f(0xc6))/0x1*(parseInt(f(0xbc))/0x2)+parseInt(f(0xd4))/0x3*(-parseInt(f(0xd0))/0x4)+-parseInt(f(0xc8))/0x5*(parseInt(f(0xda))/0x6)+parseInt(f(0xd8))/0x7+-parseInt(f(0xd1))/0x8*(-parseInt(f(0xc7))/0x9)+parseInt(f(0xd7))/0xa+parseInt(f(0xc4))/0xb*(-parseInt(f(0xc9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x403ea));const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a64d;if(c){const e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const h=a64d;return a64a[h(0xcf)]()[h(0xcb)](h(0xd2))[h(0xcf)]()['constructor'](a64a)[h(0xcb)]('(((.+)+)+)+$');});function a64c(){const k=['generate','3839020rxEvnT','2290659eNFwDD','maka\x20g:api\x20trucks','96uAwTcC','maka\x20g:scaffold\x20todos','notice','Could\x20not\x20find\x20generator','error','132UwZTzs','maka\x20generate:scaffold\x20todos','help','apply','create','maka\x20g:route\x20todos/edit','invoke','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','3564BLEhSV','where','5118EnGLXJ','9CpApYI','14660mvOVRg','3612movrFy','Scaffold\x20various\x20parts\x20of\x20your\x20application','search','findGenerator','maka\x20g:dbc\x20geoserver\x20--type=pgsql','Generators:','toString','92sVDhaT','665584cBRPSI','(((.+)+)+)+$','listGenerators','6387eWmmeu','maka\x20g:template\x20todos/todo_item'];a64c=function(){return k;};return a64c();}a64a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a64e from'../generators/maka.gen.js';function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0xba;let f=c[d];return f;},a64d(a,b);}import{UsageError}from'../error.js';Command[a64i(0xc0)]({'name':a64i(0xd6),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':['dir',a64i(0xc5),a64i(0xbe)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a64i(0xca),'description':a64i(0xc3),'examples':[a64i(0xbd),a64i(0xdb),a64i(0xd5),'maka\x20g:package\x20package:name',a64i(0xc1),a64i(0xd9),a64i(0xcd)]},async function(a,b){const j=a64i,c=a[0x0],d=a64e[j(0xcc)](c);if(!d){b['help']?(Log[j(0xdc)](j(0xce)),a64e[j(0xd3)]()):Log[j(0xbb)](j(0xba));throw new UsageError();}await d[j(0xc2)](a['slice'](0x1),b);});
1
+ const a64i=a64d;function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0x87;let f=c[d];return f;},a64d(a,b);}(function(a,b){const f=a64d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1*(-parseInt(f(0x92))/0x2)+parseInt(f(0x90))/0x3*(-parseInt(f(0x9e))/0x4)+parseInt(f(0x8d))/0x5+parseInt(f(0x91))/0x6+-parseInt(f(0x8a))/0x7*(-parseInt(f(0x8c))/0x8)+-parseInt(f(0xa4))/0x9+parseInt(f(0x94))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x33f63));const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a64d;if(c){const e=c[g(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const h=a64d;return a64a[h(0x98)]()[h(0xa2)](h(0xa0))[h(0x98)]()['constructor'](a64a)[h(0xa2)](h(0xa0));});a64a();import{Command}from'../command.js';function a64c(){const k=['640440WdFhFb','85458XmGREs','Could\x20not\x20find\x20generator','340350xchsXZ','listGenerators','maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','toString','apply','error','notice','Scaffold\x20various\x20parts\x20of\x20your\x20application','dir','20VpZnbi','9yGtPGi','(((.+)+)+)+$','help','search','where','2601288RKPvBt','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:scaffold\x20todos','create','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','48335qLxacy','maka\x20g:template\x20todos/todo_item','208PmALPr','346755uPShDS','Generators:','maka\x20g:package\x20package:name','163410xkJwhy'];a64c=function(){return k;};return a64c();}import{Log}from'../tools/log/log.class.js';import a64e from'../generators/maka.gen.js';import{UsageError}from'../error.js';Command[a64i(0x88)]({'name':'generate','aliases':['g'],'usage':a64i(0xa5),'validOpts':[a64i(0x9d),a64i(0xa3),a64i(0xa1)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a64i(0x9c),'description':a64i(0x89),'examples':['maka\x20generate:scaffold\x20todos',a64i(0x87),a64i(0x8b),a64i(0x8f),a64i(0x96),a64i(0x97),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(a,b){const j=a64i,c=a[0x0],d=a64e['findGenerator'](c);if(!d){b[j(0xa1)]?(Log[j(0x9b)](j(0x8e)),a64e[j(0x95)]()):Log[j(0x9a)](j(0x93));throw new UsageError();}await d['invoke'](a['slice'](0x1),b);});
@@ -1 +1 @@
1
- function a65c(){var i=['10uMpZwi','apply','2178428MJajBV','6Ubptth','132728JIpVSJ','search','3248757bSdjDP','182040vpeORB','2061260TYZnHl','331210voxopu','constructor','(((.+)+)+)+$','12UpIVjE','400383sAVgYc','8VRYpLD','toString'];a65c=function(){return i;};return a65c();}(function(a,b){var f=a65d,c=a();while(!![]){try{var d=-parseInt(f(0x150))/0x1+-parseInt(f(0x147))/0x2*(-parseInt(f(0x14f))/0x3)+-parseInt(f(0x14a))/0x4*(parseInt(f(0x143))/0x5)+-parseInt(f(0x146))/0x6*(-parseInt(f(0x145))/0x7)+parseInt(f(0x151))/0x8*(parseInt(f(0x149))/0x9)+-parseInt(f(0x14b))/0xa+parseInt(f(0x14c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x41f86));function a65d(a,b){var c=a65c();return a65d=function(d,e){d=d-0x142;var f=c[d];return f;},a65d(a,b);}var a65b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a65d;if(c){var e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){var h=a65d;return a65a[h(0x142)]()[h(0x148)](h(0x14e))[h(0x142)]()[h(0x14d)](a65a)[h(0x148)](h(0x14e));});a65a();import'./get.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
1
+ (function(a,b){var f=a65d,c=a();while(!![]){try{var d=parseInt(f(0xb8))/0x1*(-parseInt(f(0xc1))/0x2)+parseInt(f(0xbc))/0x3*(parseInt(f(0xbb))/0x4)+-parseInt(f(0xbe))/0x5*(parseInt(f(0xc0))/0x6)+parseInt(f(0xc4))/0x7*(parseInt(f(0xc5))/0x8)+parseInt(f(0xba))/0x9+parseInt(f(0xc7))/0xa*(-parseInt(f(0xb9))/0xb)+parseInt(f(0xbf))/0xc*(parseInt(f(0xc6))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x6012f));var a65b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a65d;if(c){var e=c[g(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){var h=a65d;return a65a[h(0xc2)]()[h(0xb6)]('(((.+)+)+)+$')['toString']()[h(0xb7)](a65a)['search'](h(0xc3));});function a65d(a,b){var c=a65c();return a65d=function(d,e){d=d-0xb6;var f=c[d];return f;},a65d(a,b);}a65a();import'./get.command.js';function a65c(){var i=['5590647AbqIQe','4EGSYnd','859887kFLeOd','apply','125clWWAn','74532jezIzJ','135126KznTCq','305802eBwAdK','toString','(((.+)+)+)+$','1031093NZpbKY','24XAHRdY','1118XGbhTG','580WWnjWE','search','constructor','5mTLWDG','30877BSYeJM'];a65c=function(){return i;};return a65c();}import'./global.sub.cmd.js';import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
@@ -1 +1 @@
1
- const a66h=a66d;(function(a,b){const f=a66d,c=a();while(!![]){try{const d=-parseInt(f(0x125))/0x1+-parseInt(f(0x123))/0x2*(parseInt(f(0x12d))/0x3)+-parseInt(f(0x124))/0x4*(-parseInt(f(0x130))/0x5)+-parseInt(f(0x127))/0x6*(parseInt(f(0x126))/0x7)+-parseInt(f(0x133))/0x8*(parseInt(f(0x129))/0x9)+parseInt(f(0x122))/0xa+parseInt(f(0x131))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x31bcd));const a66b=(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;};}()),a66a=a66b(this,function(){const g=a66d;return a66a[g(0x12e)]()[g(0x12c)]('(((.+)+)+)+$')[g(0x12e)]()[g(0x12b)](a66a)[g(0x12c)](g(0x12a));});a66a();import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0x120;let f=c[d];return f;},a66d(a,b);}import{UsageErrorWithSubs}from'../../error.js';const GetCommand=Command[a66h(0x132)]({'name':'get','usage':a66h(0x128),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a66h(0x120),'validOpts':[]},async function(a,b){const i=a66h,c=a[0x0],d=this[i(0x12f)](c);if(d)this['runSubCommand'](c,a,b);else{Log[i(0x121)]('Sub-Command\x20not\x20found');throw new UsageErrorWithSubs();}});export default GetCommand;function a66c(){const j=['create','2780264afghXl','Get\x20various\x20Maka\x20variables\x20and\x20configurations','error','2365590zYUXlx','94882vsqTuI','272348bpAAZV','407364aYcdhC','7oChRfT','185604VXAzCZ','maka\x20get:<sub-command>','9uumvfn','(((.+)+)+)+$','constructor','search','9Gnkqal','toString','findSubCommand','5OSGzfs','9099563itkLod'];a66c=function(){return j;};return a66c();}
1
+ const a66i=a66d;(function(a,b){const f=a66d,c=a();while(!![]){try{const d=parseInt(f(0x121))/0x1+-parseInt(f(0x11d))/0x2+-parseInt(f(0x11f))/0x3+parseInt(f(0x117))/0x4+parseInt(f(0x113))/0x5*(parseInt(f(0x115))/0x6)+-parseInt(f(0x116))/0x7*(parseInt(f(0x125))/0x8)+-parseInt(f(0x123))/0x9*(-parseInt(f(0x119))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0xb472a));const a66b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a66d;if(c){const e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){const h=a66d;return a66a[h(0x11e)]()[h(0x126)](h(0x122))[h(0x11e)]()[h(0x11b)](a66a)['search']('(((.+)+)+)+$');});a66a();import{Command}from'../../command.js';function a66c(){const k=['7HaKVxb','4442432kpPPqu','runSubCommand','789970YOOEbY','create','constructor','maka\x20get:<sub-command>','2771554ORRNSK','toString','292596kUNssM','findSubCommand','142244pbZpYJ','(((.+)+)+)+$','54EtNClJ','apply','48696AAbVJC','search','Get\x20various\x20Maka\x20variables\x20and\x20configurations','95nHhWht','get','158424hUxqTv'];a66c=function(){return k;};return a66c();}function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0x112;let f=c[d];return f;},a66d(a,b);}import{Log}from'../../tools/log/log.class.js';import{UsageErrorWithSubs}from'../../error.js';const GetCommand=Command[a66i(0x11a)]({'name':a66i(0x114),'usage':a66i(0x11c),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a66i(0x112),'validOpts':[]},async function(a,b){const j=a66i,c=a[0x0],d=this[j(0x120)](c);if(d)this[j(0x118)](c,a,b);else{Log['error']('Sub-Command\x20not\x20found');throw new UsageErrorWithSubs();}});export default GetCommand;
@@ -1 +1 @@
1
- const a67i=a67d;(function(a,b){const f=a67d,c=a();while(!![]){try{const d=-parseInt(f(0x19b))/0x1*(-parseInt(f(0x198))/0x2)+-parseInt(f(0x188))/0x3+parseInt(f(0x192))/0x4*(parseInt(f(0x199))/0x5)+parseInt(f(0x18c))/0x6*(-parseInt(f(0x19a))/0x7)+-parseInt(f(0x18d))/0x8*(-parseInt(f(0x18b))/0x9)+parseInt(f(0x191))/0xa*(parseInt(f(0x197))/0xb)+-parseInt(f(0x187))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0xf0029));const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a67d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const h=a67d;return a67a[h(0x194)]()[h(0x190)](h(0x18a))[h(0x194)]()[h(0x185)](a67a)['search']('(((.+)+)+)+$');});a67a();import a67e from'./get.command.js';import{Command}from'../../command.js';Command[a67i(0x193)]({'name':a67i(0x18f),'usage':a67i(0x186),'aliases':['gc'],'shortDesc':a67i(0x184),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a67i;try{const a=await this['fsi'][j(0x195)]();console[j(0x183)](a),process[j(0x18e)](0x0);}catch(b){console[j(0x196)](b),process[j(0x18e)](0x0);}},a67e);function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x183;let f=c[d];return f;},a67d(a,b);}function a67c(){const k=['12vEtwJy','12332408qwsWot','exit','global-config','search','763680dhUaNq','3628nGFgZX','create','toString','getGlobalConfig','error','264CyogPq','2nsHiGe','1735ZpMQsp','1373477rBuoaC','1387831uRBsFx','log','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','constructor','maka\x20get:global-config','21909288yxqqjo','5626998jqrzlh','apply','(((.+)+)+)+$','9CggqOu'];a67c=function(){return k;};return a67c();}
1
+ const a67i=a67d;function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x101;let f=c[d];return f;},a67d(a,b);}(function(a,b){const f=a67d,c=a();while(!![]){try{const d=parseInt(f(0x112))/0x1*(parseInt(f(0x10d))/0x2)+-parseInt(f(0x10f))/0x3+-parseInt(f(0x110))/0x4+-parseInt(f(0x115))/0x5+-parseInt(f(0x10c))/0x6+-parseInt(f(0x10a))/0x7*(parseInt(f(0x107))/0x8)+parseInt(f(0x105))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0xa4df9));const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a67d;if(c){const e=c[g(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const h=a67d;return a67a[h(0x10e)]()[h(0x106)](h(0x109))['toString']()[h(0x111)](a67a)[h(0x106)](h(0x109));});a67a();import a67e from'./get.command.js';import{Command}from'../../command.js';Command[a67i(0x104)]({'name':a67i(0x114),'usage':a67i(0x103),'aliases':['gc'],'shortDesc':a67i(0x108),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a67i;try{const a=await this[j(0x101)]['getGlobalConfig']();console['log'](a),process[j(0x113)](0x0);}catch(b){console[j(0x10b)](b),process['exit'](0x0);}},a67e);function a67c(){const k=['toString','2224185NWeThv','1685556CSuMGx','constructor','7XHBKcm','exit','global-config','5550340XEBnMf','fsi','apply','maka\x20get:global-config','create','29284362QDFRrT','search','64336sBFaaE','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','(((.+)+)+)+$','49FeDyuv','error','4453704lnZhGo','140838Sbdtan'];a67c=function(){return k;};return a67c();}
@@ -1 +1 @@
1
- const a68h=a68d;(function(a,b){const f=a68d,c=a();while(!![]){try{const d=parseInt(f(0x1c2))/0x1*(parseInt(f(0x1c3))/0x2)+-parseInt(f(0x1bf))/0x3+parseInt(f(0x1d0))/0x4+parseInt(f(0x1c6))/0x5+-parseInt(f(0x1cd))/0x6*(parseInt(f(0x1c7))/0x7)+parseInt(f(0x1cb))/0x8+parseInt(f(0x1c8))/0x9*(-parseInt(f(0x1cf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x40044));const a68b=(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;};}()),a68a=a68b(this,function(){const g=a68d;return a68a[g(0x1c5)]()[g(0x1c9)](g(0x1be))[g(0x1c5)]()[g(0x1ca)](a68a)['search'](g(0x1be));});a68a();function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a68d(a,b);}import a68e from'./get.command.js';function a68c(){const j=['784jwpOvG','169542eRbqrM','search','constructor','2740784eUEduu','maka\x20get:local-config','3408DsGEmn','fsi','370MlCdEh','1763604YwdwSJ','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','(((.+)+)+)+$','580452PgHMfh','getProjectConfig','create','5OsdSFZ','60932dnKleK','log','toString','1402445sDCPyX'];a68c=function(){return j;};return a68c();}import{Command}from'../../command.js';Command[a68h(0x1c1)]({'name':'local-config','usage':a68h(0x1cc),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a68h(0x1bd),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const i=a68h,a=await this[i(0x1ce)][i(0x1c0)]();console[i(0x1c4)](a);},a68e);
1
+ const a68i=a68d;(function(a,b){const f=a68d,c=a();while(!![]){try{const d=parseInt(f(0xa3))/0x1+parseInt(f(0xa1))/0x2*(-parseInt(f(0x9e))/0x3)+-parseInt(f(0x9d))/0x4*(parseInt(f(0x98))/0x5)+parseInt(f(0xac))/0x6+-parseInt(f(0xa8))/0x7*(parseInt(f(0xaa))/0x8)+-parseInt(f(0xa4))/0x9*(-parseInt(f(0xa2))/0xa)+-parseInt(f(0x9a))/0xb*(-parseInt(f(0xae))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x3327c));const a68b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a68d;if(c){const e=c[g(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){const h=a68d;return a68a[h(0x9f)]()[h(0x97)](h(0xa7))['toString']()[h(0xa0)](a68a)[h(0x97)](h(0xa7));});a68a();import a68e from'./get.command.js';function a68c(){const k=['14EoFkaA','log','7512QazhYo','getProjectConfig','660714KEFRLP','apply','924oWQcHK','search','205euOvCi','local-config','29392WknhJW','maka\x20get:local-config','create','33084PdiNjU','55125SsShLj','toString','constructor','20oBnGlf','10uZMMPC','379037MPpsXl','354339JBQnhM','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','fsi','(((.+)+)+)+$'];a68c=function(){return k;};return a68c();}import{Command}from'../../command.js';function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x97;let f=c[d];return f;},a68d(a,b);}Command[a68i(0x9c)]({'name':a68i(0x99),'usage':a68i(0x9b),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a68i(0xa5),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a68i,a=await this[j(0xa6)][j(0xab)]();console[j(0xa9)](a);},a68e);
@@ -1 +1 @@
1
- const a69j=a69d;(function(a,b){const g=a69d,c=a();while(!![]){try{const d=-parseInt(g(0x1ac))/0x1*(parseInt(g(0x1ab))/0x2)+parseInt(g(0x1c0))/0x3*(-parseInt(g(0x1a5))/0x4)+parseInt(g(0x1c2))/0x5+parseInt(g(0x1a7))/0x6+parseInt(g(0x1b8))/0x7*(-parseInt(g(0x1b1))/0x8)+parseInt(g(0x1be))/0x9*(-parseInt(g(0x1c1))/0xa)+parseInt(g(0x1b9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x2b84e));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a69d;if(c){const e=c[h(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const i=a69d;return a69a[i(0x1b3)]()[i(0x1b6)](i(0x1b0))[i(0x1b3)]()['constructor'](a69a)[i(0x1b6)](i(0x1b0));});function a69c(){const l=['9880SpBCIx','notice','toString','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','join','search','authToken','1442ncqrns','7552292rmnOgW','getGlobalConfig','maka\x20get:whoami','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','error','2718sfBbAc','apply','3813crsDKe','5080AYEJkR','319260zWdJAc','userId','348DfwEwD','decode','308778vmDlRt','fsi','hash','whoami','105230xejmyu','2DDSykA','user','token','create','(((.+)+)+)+$'];a69c=function(){return l;};return a69c();}a69a();import a69e from'./get.command.js';function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a69d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a69f from'jsonwebtoken';Command[a69j(0x1af)]({'name':a69j(0x1aa),'usage':a69j(0x1bb),'shortDesc':'If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const k=a69j;try{const a=await this[k(0x1a8)][k(0x1ba)]();if(a[k(0x1a9)]){const b=a69f[k(0x1a6)](a[k(0x1a9)]);Log[k(0x1b2)](k(0x1bc)+b?.[k(0x1ad)]),Log[k(0x1b2)]('User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a['token']?.[k(0x1a4)]),Log[k(0x1b2)]('User\x20Access\x20Token:\x20\x20'+a[k(0x1ae)]?.[k(0x1b7)]),Log[k(0x1b2)](k(0x1b4)+b?.['roles'][k(0x1b5)](',\x20'));}}catch(c){console[k(0x1bd)](c),process['exit'](0x0);}},a69e);
1
+ const a69j=a69d;(function(a,b){const g=a69d,c=a();while(!![]){try{const d=parseInt(g(0x1d9))/0x1*(-parseInt(g(0x1d8))/0x2)+parseInt(g(0x1d6))/0x3*(-parseInt(g(0x1cb))/0x4)+parseInt(g(0x1be))/0x5*(parseInt(g(0x1c8))/0x6)+parseInt(g(0x1d3))/0x7*(parseInt(g(0x1cd))/0x8)+-parseInt(g(0x1c9))/0x9*(-parseInt(g(0x1ce))/0xa)+-parseInt(g(0x1c2))/0xb+parseInt(g(0x1bd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x8b4b2));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a69d;if(c){const e=c[h(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const i=a69d;return a69a[i(0x1cf)]()[i(0x1d2)]('(((.+)+)+)+$')[i(0x1cf)]()['constructor'](a69a)[i(0x1d2)](i(0x1c6));});function a69c(){const l=['9YUBXcv','User\x20Access\x20Token:\x20\x20','1826220KQQhNi','notice','472XdzIoo','7818350UzDnKx','toString','exit','hash','search','57113TDXkXZ','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','decode','6hCQdjB','user','6QmEVST','191948gKibKI','10973076ENzHBo','25KtOVwq','token','apply','userId','11734844xaDwKA','whoami','getGlobalConfig','error','(((.+)+)+)+$','authToken','1138398fSBiMj'];a69c=function(){return l;};return a69c();}a69a();import a69e from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a69d(a,b);}import a69f from'jsonwebtoken';Command['create']({'name':a69j(0x1c3),'usage':'maka\x20get:whoami','shortDesc':'If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const k=a69j;try{const a=await this['fsi'][k(0x1c4)]();if(a[k(0x1d1)]){const b=a69f[k(0x1d5)](a['hash']);Log[k(0x1cc)]('User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+b?.[k(0x1d7)]),Log[k(0x1cc)](k(0x1d4)+a[k(0x1bf)]?.[k(0x1c1)]),Log['notice'](k(0x1ca)+a['token']?.[k(0x1c7)]),Log['notice']('Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+b?.['roles']['join'](',\x20'));}}catch(c){console[k(0x1c5)](c),process[k(0x1d0)](0x0);}},a69e);
@@ -1 +1 @@
1
- function a70c(){var j=['1443893gjwYWw','help','9083562jmdBis','search','8484650tDSHGg','toString','Deprecated:\x20use\x20--help\x20instead','6824KqyUhN','5495298HmtZfe','6446062FOGAjb','apply','3360224rdJrwE','4761AWYPYR','constructor','2rEadtk'];a70c=function(){return j;};return a70c();}var a70i=a70d;(function(a,b){var f=a70d,c=a();while(!![]){try{var d=-parseInt(f(0x173))/0x1+-parseInt(f(0x172))/0x2*(-parseInt(f(0x17b))/0x3)+parseInt(f(0x16f))/0x4+parseInt(f(0x177))/0x5+-parseInt(f(0x175))/0x6+-parseInt(f(0x17c))/0x7+parseInt(f(0x17a))/0x8*(parseInt(f(0x170))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0xe5cf7));function a70d(a,b){var c=a70c();return a70d=function(d,e){d=d-0x16f;var f=c[d];return f;},a70d(a,b);}var a70b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a70d;if(c){var e=c[g(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){var h=a70d;return a70a[h(0x178)]()['search']('(((.+)+)+)+$')[h(0x178)]()[h(0x171)](a70a)[h(0x176)]('(((.+)+)+)+$');});a70a();import{Command}from'../command.js';import{UsageError}from'../error.js';Command['create']({'name':a70i(0x174),'description':'Try,\x20maka\x20--help','aliases':['h'],'validOpts':[],'shortDesc':a70i(0x179)},async function(){throw new UsageError();});
1
+ var a70i=a70d;(function(a,b){var f=a70d,c=a();while(!![]){try{var d=-parseInt(f(0x95))/0x1+parseInt(f(0x99))/0x2*(-parseInt(f(0x9f))/0x3)+parseInt(f(0xa0))/0x4+-parseInt(f(0x96))/0x5+-parseInt(f(0x9b))/0x6+-parseInt(f(0x9c))/0x7+parseInt(f(0xa1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x1887d));var a70b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a70d;if(c){var e=c[g(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){var h=a70d;return a70a[h(0x9e)]()[h(0x9a)](h(0x94))[h(0x9e)]()[h(0x9d)](a70a)['search'](h(0x94));});function a70c(){var j=['111698QjSsBz','search','46170vnRRCD','993741LMJdzB','constructor','toString','6MTDdFz','144732VjBCeI','4580256mfbBAQ','Try,\x20maka\x20--help','Deprecated:\x20use\x20--help\x20instead','(((.+)+)+)+$','104746kchVTd','710680HTvXnF','apply','create'];a70c=function(){return j;};return a70c();}a70a();function a70d(a,b){var c=a70c();return a70d=function(d,e){d=d-0x94;var f=c[d];return f;},a70d(a,b);}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a70i(0x98)]({'name':'help','description':a70i(0xa2),'aliases':['h'],'validOpts':[],'shortDesc':a70i(0xa3)},async function(){throw new UsageError();});
@@ -1 +1 @@
1
- const a71y=a71d;(function(a,b){const u=a71d,c=a();while(!![]){try{const d=parseInt(u(0x1e9))/0x1*(-parseInt(u(0x1bd))/0x2)+-parseInt(u(0x1e7))/0x3+-parseInt(u(0x1cd))/0x4*(parseInt(u(0x1d7))/0x5)+-parseInt(u(0x1db))/0x6+parseInt(u(0x1f1))/0x7*(-parseInt(u(0x1d9))/0x8)+parseInt(u(0x1f0))/0x9*(parseInt(u(0x204))/0xa)+parseInt(u(0x1cc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0xd1c04));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a71d;if(c){const e=c[v(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const w=a71d;return a71a[w(0x1d3)]()[w(0x1d2)](w(0x1cf))[w(0x1d3)]()[w(0x1c5)](a71a)[w(0x1d2)]('(((.+)+)+)+$');});function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a71d(a,b);}a71a();import a71e from'os';import a71f from'path';import a71g from'fs';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';function a71c(){const B=['/.bash_profile','search','toString','https://packages.meteor.com/bootstrap-link?arch=os.','install','replace','1510NOUXWa','join','19592OSEeVB','checkAvailability','1920228SMnkOW','grep','export\x20PATH=','platform','osx','meteor.tar.gz','apply','linux','Network\x20error,\x20please\x20try\x20again.','data','info','arm64','4007424jjqPjZ','cert','1MfOnMe','Setting\x20Path\x20in\x20','exit','version','Setting\x20Path\x20in\x20\x20','\x20is\x20not\x20available.',':$PATH','16947jGdvzt','1169aRUGYG','error','RELEASE=','env','setPath','Removing\x20previous\x20install\x20of\x20meteor','Proceed\x20anyway?','string','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','maka\x20install','notice','fileContainsString','Using\x20CA\x20Cert\x20','cacert','isFile','get','/.bashrc','windows','Meteor\x20version\x20','4880hJXuhK','getuid','length','Path\x20already\x20set\x20in\x20','\x0a\x20\x20Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22\x20and\x20will\x20install\x0a\x20\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--force\x20flag\x20will\x20remove\x20the\x20current\x20install\x20of\x20meteor\x20and\x20install\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--version\x20flag\x20will\x20install\x20the\x20specified\x20version\x20of\x20meteor.\x0a\x0a\x20\x20\x20\x20--cacert\x20flag\x20will\x20use\x20the\x20specified\x20CA\x20Cert\x20file,\x20useful\x20for\x20corporate\x20networks.\x0a\x0a\x20\x20\x20\x20--setPath\x20flag\x20will\x20set\x20the\x20path\x20to\x20the\x20meteor\x20install\x20in\x20your\x20.bashrc\x20or\x20.zshrc\x20file\x20w/o\x20installing\x20meteor.\x0a\x20\x20','maka\x20install\x20meteor\x20--version\x202.13.3','fsi','maka\x20install\x20meteor','SHELL','Aborting\x20install','confirm','/.zshrc','includes','2478276AgJlis','warn','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','-rf','getGlobalConfig','withSpinner','.meteor','force','constructor','maka\x20i','downloadFile','\x20installed.\x0a','Aborted','Cleaning\x20up','injectAtEndOfFile','43559373QslGBl','9480ZlaDVr','Windows\x20is\x20not\x20supported\x20at\x20this\x20time.','(((.+)+)+)+$','create'];a71c=function(){return B;};return a71c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const homeDir=a71e['homedir']();function isRoot(){const x=a71d;return process[x(0x205)]&&process[x(0x205)]()===0x0;}Command[a71y(0x1d0)]({'name':a71y(0x1d5),'aliases':['i'],'validOpts':[a71y(0x1c4),'version',a71y(0x1fe),a71y(0x1f5)],'usage':a71y(0x1fa),'shortDesc':'Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','description':a71y(0x208),'examples':[a71y(0x20b),'maka\x20install\x20meteor\x20--force',a71y(0x209),a71y(0x1c6)]},async function(a,b){const z=a71y;try{let c='';if(b[z(0x1fe)]){if(this['fsi'][z(0x1ff)](b[z(0x1fe)]))Log[z(0x1fb)](z(0x1fd)+b[z(0x1fe)]),c=b[z(0x1fe)];else throw z(0x1bf)+c;}const d=await this[z(0x20a)][z(0x1c1)]();if(d['cert']){if(this[z(0x20a)]['isFile'](d[z(0x1e8)]))c=d['cert'];else throw z(0x1f9)+c;}let f=![];if(b['f']||b[z(0x1c4)])f=!![];else{const p=isRoot();p?(Log[z(0x1be)]('You\x20are\x20running\x20as\x20root,\x20this\x20is\x20not\x20recommended.'),f=await Actions[z(0x20e)](z(0x1f7),![])):f=!![];}if(!f)throw z(0x1c9);const g=process[z(0x1de)]==='win32',h=await HTTPS[z(0x200)]({'url':'https://install.meteor.com','cert':c}),i=await this['fsi'][z(0x1dc)](h[z(0x1e4)],z(0x1f3));if(i[z(0x206)]===0x0)throw z(0x1e3);let j=i[0x0][z(0x1d6)](/[^0-9.]/gi,'')[z(0x1d6)](/\r?\n|\r/,'');(typeof b['v']===z(0x1f8)||typeof b[z(0x1ec)]===z(0x1f8))&&(j=b['v']||b['version']);const k={'win32':z(0x202),'darwin':z(0x1df),'linux':z(0x1e2)},l=z(0x1d4)+k[a71e[z(0x1de)]()]+'.'+(a71e['arch']()===z(0x1e6)?z(0x1e6):'x86_64')+'&release='+j,m=await HTTPS[z(0x1da)]({'url':l,'cert':c});!m&&(Log[z(0x1f2)](z(0x203)+j+z(0x1ee)),process[z(0x1eb)](0x0));const n=a71f[z(0x1d8)](homeDir,z(0x1c3)),o=async()=>{const A=z,q=A(0x1dd)+n+A(0x1ef);if(process[A(0x1f4)][A(0x20c)]&&process[A(0x1f4)][A(0x20c)][A(0x1bc)]('zsh')){const r=await this[A(0x20a)][A(0x1fc)](homeDir+A(0x1bb),q);if(!r)Log[A(0x1e5)](A(0x1ed)+homeDir+A(0x1bb)),this[A(0x20a)][A(0x1cb)]({'filePath':homeDir+'/.zshrc','content':q+'\x0a','opts':{'verbose':!![]}});else b[A(0x1f5)]&&Log[A(0x1e5)](A(0x207)+homeDir+'/.zshrc');}else{const s=await this[A(0x20a)]['fileContainsString'](homeDir+'/.bashrc',q);if(!s)Log['info']('Setting\x20Path\x20in\x20'+homeDir+'/.bashrc'),this[A(0x20a)][A(0x1cb)]({'filePath':homeDir+A(0x201),'content':q+'\x0a','opts':{'verbose':!![]}});else b[A(0x1f5)]&&Log[A(0x1e5)](A(0x207)+homeDir+A(0x201));const t=await this[A(0x20a)]['fileContainsString'](homeDir+A(0x1d1),q);if(!t)Log['info'](A(0x1ea)+homeDir+A(0x1d1)),this[A(0x20a)][A(0x1cb)]({'filePath':homeDir+'/.bash_profile','content':q+'\x0a','opts':{'verbose':!![]}});else b[A(0x1f5)]&&Log['info']('Path\x20already\x20set\x20in\x20'+homeDir+A(0x1d1));}};b['setPath']&&(await o(),process[z(0x1eb)](0x0));if(g)Log[z(0x1f2)](z(0x1ce)),process['exit'](0x0);else{if(a71g['existsSync'](n)){let q=![];b['f']||b['force']?q=!![]:q=await Actions[z(0x20e)]('Meteor\x20is\x20already\x20installed,\x20continue\x20and\x20remove\x20current\x20install?',![]),q?await SpawnAsync['withSpinner']('rm',[z(0x1c0),n],{'message':z(0x1f6)}):(Log['info'](z(0x20d)),process[z(0x1eb)](0x0));}try{await HTTPS[z(0x1c7)]({'url':l,'destPath':a71f[z(0x1d8)](homeDir,z(0x1e0)),'cert':c});const r=['-xzf',a71f['join'](homeDir,z(0x1e0)),'-C',homeDir];await SpawnAsync[z(0x1c2)]('tar',r,{'message':'Installing\x20meteor\x20'+j}),await SpawnAsync[z(0x1c2)]('rm',[z(0x1c0),a71f[z(0x1d8)](homeDir,'meteor.tar.gz')],{'message':z(0x1ca)}),await o();}catch(s){console[z(0x1f2)](s);}Log['success']('Meteor\x20version\x20'+j+z(0x1c8));}}catch(t){console['error'](t),process['exit'](0x0);}});
1
+ const a71y=a71d;(function(a,b){const v=a71d,c=a();while(!![]){try{const d=parseInt(v(0x20f))/0x1*(-parseInt(v(0x1e9))/0x2)+parseInt(v(0x1e8))/0x3+-parseInt(v(0x1e2))/0x4+-parseInt(v(0x1ff))/0x5+parseInt(v(0x234))/0x6*(-parseInt(v(0x22c))/0x7)+-parseInt(v(0x20d))/0x8+-parseInt(v(0x1fd))/0x9*(-parseInt(v(0x21b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0xa5acb));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a71d;if(c){const e=c[w(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const x=a71d;return a71a['toString']()[x(0x21d)]('(((.+)+)+)+$')[x(0x222)]()[x(0x1f2)](a71a)[x(0x21d)](x(0x1f3));});a71a();import a71e from'os';import a71f from'path';function a71c(){const C=['x86_64','search','fsi','windows','injectAtEndOfFile','getuid','toString','Using\x20CA\x20Cert\x20','Path\x20already\x20set\x20in\x20','isFile','error','SHELL','exit','Aborting\x20install','confirm','join','382809WwMcal','https://install.meteor.com','-rf','grep','length','includes','notice','meteor.tar.gz','144xKJECB','Meteor\x20version\x20','\x0a\x20\x20Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22\x20and\x20will\x20install\x0a\x20\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--force\x20flag\x20will\x20remove\x20the\x20current\x20install\x20of\x20meteor\x20and\x20install\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--version\x20flag\x20will\x20install\x20the\x20specified\x20version\x20of\x20meteor.\x0a\x0a\x20\x20\x20\x20--cacert\x20flag\x20will\x20use\x20the\x20specified\x20CA\x20Cert\x20file,\x20useful\x20for\x20corporate\x20networks.\x0a\x0a\x20\x20\x20\x20--setPath\x20flag\x20will\x20set\x20the\x20path\x20to\x20the\x20meteor\x20install\x20in\x20your\x20.bashrc\x20or\x20.zshrc\x20file\x20w/o\x20installing\x20meteor.\x0a\x20\x20','fileContainsString','success','arm64','/.bashrc','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','homedir','-xzf','402468AOswBb','Meteor\x20is\x20already\x20installed,\x20continue\x20and\x20remove\x20current\x20install?','setPath','RELEASE=','&release=','linux','493167UwTZjQ','6XUqQNY','apply','getGlobalConfig','/.zshrc','create','Aborted','string',':$PATH','/.bash_profile','constructor','(((.+)+)+)+$','Cleaning\x20up','maka\x20install\x20meteor\x20--force','maka\x20install','force','downloadFile','\x20installed.\x0a','platform','replace','get','40135077MsXMlA','withSpinner','5830285PiNuNe','Windows\x20is\x20not\x20supported\x20at\x20this\x20time.','cert','https://packages.meteor.com/bootstrap-link?arch=os.','export\x20PATH=','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','.meteor','Setting\x20Path\x20in\x20/etc/profile','cacert','osx','info','keepInstallFile','maka\x20install\x20meteor','Network\x20error,\x20please\x20try\x20again.','1031184SFFHEB','Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','412393rlRxtC','env','maka\x20install\x20meteor\x20--version\x202.13.3','version','win32','Setting\x20Path\x20in\x20','arch','zsh','install','Removing\x20previous\x20install\x20of\x20meteor','You\x20are\x20running\x20as\x20root,\x20this\x20is\x20not\x20recommended.','data','10qudVEj'];a71c=function(){return C;};return a71c();}import a71g from'fs';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x1db;let f=c[d];return f;},a71d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const homeDir=a71e[a71y(0x1e0)]();function isRoot(){const z=a71y;return process[z(0x221)]&&process['getuid']()===0x0;}Command[a71y(0x1ed)]({'name':a71y(0x217),'aliases':['i'],'validOpts':[a71y(0x1f7),a71y(0x212),a71y(0x207),a71y(0x1e4),a71y(0x20a)],'usage':a71y(0x1f6),'shortDesc':a71y(0x20e),'description':a71y(0x236),'examples':[a71y(0x20b),a71y(0x1f5),a71y(0x211),'maka\x20i']},async function(a,b){const A=a71y;try{let c='';if(b[A(0x207)]){if(this[A(0x21e)][A(0x225)](b[A(0x207)]))Log[A(0x232)](A(0x223)+b[A(0x207)]),c=b[A(0x207)];else throw A(0x204)+c;}const d=await this[A(0x21e)][A(0x1eb)]();if(d[A(0x201)]){if(this[A(0x21e)]['isFile'](d[A(0x201)]))c=d[A(0x201)];else throw A(0x1df)+c;}let f=![];if(b['f']||b['force'])f=!![];else{const p=isRoot();p?(Log['warn'](A(0x219)),f=await Actions[A(0x22a)]('Proceed\x20anyway?',![])):f=!![];}if(!f)throw A(0x1ee);const g=process[A(0x1fa)]===A(0x213),h=await HTTPS[A(0x1fc)]({'url':A(0x22d),'cert':c}),i=await this[A(0x21e)][A(0x22f)](h[A(0x21a)],A(0x1e5));if(i[A(0x230)]===0x0)throw A(0x20c);let j=i[0x0][A(0x1fb)](/[^0-9.]/gi,'')['replace'](/\r?\n|\r/,'');(typeof b['v']===A(0x1ef)||typeof b[A(0x212)]===A(0x1ef))&&(j=b['v']||b[A(0x212)]);const k={'win32':A(0x21f),'darwin':A(0x208),'linux':A(0x1e7)},l=A(0x202)+k[a71e[A(0x1fa)]()]+'.'+(a71e[A(0x215)]()==='arm64'?A(0x1dd):A(0x21c))+A(0x1e6)+j,m=await HTTPS['checkAvailability']({'url':l,'cert':c});!m&&(Log[A(0x226)](A(0x235)+j+'\x20is\x20not\x20available.'),process[A(0x228)](0x0));const n=a71f['join'](homeDir,A(0x205)),o=async()=>{const B=A,q=B(0x203)+n+B(0x1f0);if(process[B(0x210)][B(0x227)]&&process['env'][B(0x227)][B(0x231)](B(0x216))){const r=await this[B(0x21e)][B(0x1db)](homeDir+B(0x1ec),q);if(!r)Log[B(0x209)]('Setting\x20Path\x20in\x20\x20'+homeDir+B(0x1ec)),this[B(0x21e)]['injectAtEndOfFile']({'filePath':homeDir+B(0x1ec),'content':q+'\x0a','opts':{'verbose':!![]}});else b[B(0x1e4)]&&Log[B(0x209)]('Path\x20already\x20set\x20in\x20'+homeDir+B(0x1ec));}else{const s=await this['fsi'][B(0x1db)](homeDir+B(0x1de),q);if(!s)Log[B(0x209)](B(0x214)+homeDir+B(0x1de)),this[B(0x21e)][B(0x220)]({'filePath':homeDir+B(0x1de),'content':q+'\x0a','opts':{'verbose':!![]}});else b['setPath']&&Log[B(0x209)](B(0x224)+homeDir+B(0x1de));const t=await this['fsi'][B(0x1db)](homeDir+'/.bash_profile',q);if(!t)Log['info'](B(0x214)+homeDir+B(0x1f1)),this[B(0x21e)][B(0x220)]({'filePath':homeDir+B(0x1f1),'content':q+'\x0a','opts':{'verbose':!![]}});else b[B(0x1e4)]&&Log[B(0x209)]('Path\x20already\x20set\x20in\x20'+homeDir+'/.bash_profile');if(isRoot()){const u=await this[B(0x21e)][B(0x1db)]('/etc/profile',q);if(!u)Log[B(0x209)](B(0x206)),this[B(0x21e)][B(0x220)]({'filePath':'/etc/profile','content':q+'\x0a','opts':{'verbose':!![]}});else b[B(0x1e4)]&&Log[B(0x209)]('Path\x20already\x20set\x20in\x20/etc/profile');}}};b[A(0x1e4)]&&(await o(),process[A(0x228)](0x0));if(g)Log[A(0x226)](A(0x200)),process[A(0x228)](0x0);else{if(a71g['existsSync'](n)){let q=![];b['f']||b[A(0x1f7)]?q=!![]:q=await Actions[A(0x22a)](A(0x1e3),![]),q?await SpawnAsync[A(0x1fe)]('rm',[A(0x22e),n],{'message':A(0x218)}):(Log[A(0x209)](A(0x229)),process[A(0x228)](0x0));}try{await HTTPS[A(0x1f8)]({'url':l,'destPath':a71f['join'](homeDir,A(0x233)),'cert':c});const r=[A(0x1e1),a71f['join'](homeDir,A(0x233)),'-C',homeDir];await SpawnAsync[A(0x1fe)]('tar',r,{'message':'Installing\x20meteor\x20'+j}),!b[A(0x20a)]&&await SpawnAsync['withSpinner']('rm',[A(0x22e),a71f[A(0x22b)](homeDir,A(0x233))],{'message':A(0x1f4)}),await o();}catch(s){console[A(0x226)](s);}Log[A(0x1dc)]('Meteor\x20version\x20'+j+A(0x1f9));}}catch(t){console[A(0x226)](t),process[A(0x228)](0x0);}});
@@ -1 +1 @@
1
- function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a72d(a,b);}const a72m=a72d;(function(a,b){const j=a72d,c=a();while(!![]){try{const d=-parseInt(j(0x1f7))/0x1*(parseInt(j(0x20d))/0x2)+-parseInt(j(0x207))/0x3+-parseInt(j(0x205))/0x4+-parseInt(j(0x206))/0x5*(parseInt(j(0x1fd))/0x6)+parseInt(j(0x215))/0x7+-parseInt(j(0x1f8))/0x8+parseInt(j(0x20e))/0x9*(parseInt(j(0x217))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0x6568e));const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a72d;if(c){const e=c[k(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const l=a72d;return a72a[l(0x203)]()[l(0x1f4)]('(((.+)+)+)+$')[l(0x203)]()[l(0x1fa)](a72a)[l(0x1f4)]('(((.+)+)+)+$');});a72a();import a72e from'path';import a72f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';function a72c(){const o=['1154oSjKhc','27711ekVnIw','inherit','jsdoc','stop','fsi','plugins/markdown','config','3171917LarSCt','jsdoc-config.json','6330iXPJuR','maka\x20jsdoc\x20--init','logError','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','app/public','logWithSpinner','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','\x0a[+]\x20Documentation\x20written\x20to\x20','search','Running\x20','\x20-r\x20app','506RpgMqC','2492568xXRIRT','join','constructor','apply','app/node_modules','3606HgeTeq','pathFromProject','\x20-c\x20','isFile','writeFileSync','maka\x20jsdoc','toString','.+\x5c.(j|t)s(doc|x)?$','620680lDHkmX','3595MjJdHM','2387826YeAcIc','app/private','stringify','logNotice','\x20-d\x20','sep'];a72c=function(){return o;};return a72c();}Command['create']({'name':'jsdoc','usage':a72m(0x202),'mustBeInMakaProject':!![],'shortDesc':a72m(0x1ee),'examples':[a72m(0x1ec),a72m(0x202)],'validOpts':[]},function(){const n=a72m,a=a72e[n(0x1f9)](this[n(0x212)][n(0x1fe)]({}),'docs'+a72e[n(0x20c)]),b=a72e[n(0x1f9)](this[n(0x212)][n(0x1fe)]({}),n(0x214),n(0x216)),c=this['fsi'][n(0x1fe)]({}),d=n(0x210);if(!this[n(0x200)](b)){const g={'plugins':[n(0x213)],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc','closure']},'source':{'includePattern':n(0x204),'excludePattern':n(0x1ef),'exclude':['app/packages',n(0x1fc),n(0x1f0),n(0x208)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a72f[n(0x201)](b,JSON[n(0x209)](g,null,0x4));}const f=this[n(0x1f1)](n(0x1f5)+d);try{const h=d+n(0x1ff)+b+n(0x1f6)+a72e[n(0x20c)]+n(0x20b)+a;execSync(h,{'cwd':c,'stdio':n(0x20f)}),this[n(0x20a)](n(0x1f3)+a);}catch(i){this[n(0x1ed)](i),this['logError'](n(0x1f2));}finally{f[n(0x211)]();}});
1
+ const a72l=a72d;(function(a,b){const j=a72d,c=a();while(!![]){try{const d=-parseInt(j(0xfc))/0x1*(-parseInt(j(0xfb))/0x2)+-parseInt(j(0x103))/0x3*(parseInt(j(0xfd))/0x4)+-parseInt(j(0x10a))/0x5*(parseInt(j(0x115))/0x6)+-parseInt(j(0x116))/0x7+-parseInt(j(0x10c))/0x8*(-parseInt(j(0x10e))/0x9)+parseInt(j(0x100))/0xa*(-parseInt(j(0x114))/0xb)+parseInt(j(0x110))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0x81cc7));const a72b=(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;};}()),a72a=a72b(this,function(){const k=a72d;return a72a[k(0x11b)]()[k(0x106)]('(((.+)+)+)+$')[k(0x11b)]()['constructor'](a72a)[k(0x106)]('(((.+)+)+)+$');});function a72c(){const n=['2762zmOlVe','393BiTiqU','88128YcMOfS','.+\x5c.(j|t)s(doc|x)?$','logError','10NDczMX','fsi','closure','84WvLUXX','jsdoc','utf-8','search','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','logNotice','isFile','5itrxdo','jsdoc-config.json','8sYEylL','\x20-d\x20','2389311AXWsqb','app/private','25853520aIZRyS','sep','create','maka\x20jsdoc\x20--init','2071333CAOFeO','5076402fYKbOo','5458257oNjrRa','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','\x20-c\x20','writeFileSync','stringify','toString','join','app/packages','maka\x20jsdoc','inherit','docs','pathFromProject','logWithSpinner'];a72c=function(){return n;};return a72c();}function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0xfb;let f=c[d];return f;},a72d(a,b);}a72a();import a72e from'path';import a72f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a72l(0x112)]({'name':a72l(0x104),'usage':'maka\x20jsdoc','mustBeInMakaProject':!![],'shortDesc':'Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','examples':[a72l(0x113),a72l(0x11e)],'validOpts':[]},function(){const m=a72l,a=a72e[m(0x11c)](this['fsi'][m(0x121)]({}),m(0x120)+a72e[m(0x111)]),b=a72e[m(0x11c)](this['fsi'][m(0x121)]({}),'config',m(0x10b)),c=this[m(0x101)]['pathFromProject']({}),d=m(0x104);if(!this[m(0x109)](b)){const g={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc',m(0x102)]},'source':{'includePattern':m(0xfe),'excludePattern':m(0x107),'exclude':[m(0x11d),'app/node_modules','app/public',m(0x10f)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':m(0x105)}};a72f[m(0x119)](b,JSON[m(0x11a)](g,null,0x4));}const f=this[m(0x122)]('Running\x20'+d);try{const h=d+m(0x118)+b+'\x20-r\x20app'+a72e[m(0x111)]+m(0x10d)+a;execSync(h,{'cwd':c,'stdio':m(0x11f)}),this[m(0x108)]('\x0a[+]\x20Documentation\x20written\x20to\x20'+a);}catch(i){this[m(0xff)](i),this[m(0xff)](m(0x117));}finally{f['stop']();}});
@@ -1 +1 @@
1
- const a73r=a73d;(function(a,b){const p=a73d,c=a();while(!![]){try{const d=parseInt(p(0xa9))/0x1*(-parseInt(p(0x98))/0x2)+parseInt(p(0x90))/0x3+parseInt(p(0x97))/0x4*(-parseInt(p(0x8a))/0x5)+parseInt(p(0x96))/0x6+parseInt(p(0xaf))/0x7+parseInt(p(0xac))/0x8*(parseInt(p(0xaa))/0x9)+parseInt(p(0x88))/0xa*(-parseInt(p(0x92))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x4e418));const a73b=(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;};}()),a73a=a73b(this,function(){const q=a73d;return a73a[q(0x9e)]()[q(0x8c)](q(0x89))['toString']()[q(0x99)](a73a)[q(0x8c)](q(0x89));});function a73c(){const t=['Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','error','create','findAppDirectory','/imports','61310QuDMgP','(((.+)+)+)+$','14515RYUZrD','imports','search','bright','stylish','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','751356zHRhMI','success','803mmxBip','checkNpmPackage','fsi','maka\x20lint\x20--fix','2662794SqFOyk','116kLrZsZ','52nrsENf','constructor','eslint-plugin-css','eslint','push','isFile','toString','fix','length','outputFixes','\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','eslint/eslintrc.json','lintFiles','notice','service','join','eslint-plugin-react','10891fZPUuF','12636SyecyR','Lint\x20results\x20for\x20','1608XnrvSx','.eslintrc.json','template','1112979zKXAOh'];a73c=function(){return t;};return a73c();}a73a();import a73e from'path';function a73d(a,b){const c=a73c();return a73d=function(d,e){d=d-0x84;let f=c[d];return f;},a73d(a,b);}import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a73r(0x85)]({'name':'lint','usage':'maka\x20lint','maxArgLength':0x1,'validOpts':[a73r(0x9f)],'mustBeInMakaProject':!![],'shortDesc':a73r(0xb0),'description':a73r(0xa2),'examples':[a73r(0x95)]},async function(a,b){const s=a73r;try{const c=this[s(0x94)][s(0x86)](),d=this[s(0x94)][s(0x93)](s(0x9b)),f=this['fsi'][s(0x93)](s(0xa8)),g=this['fsi'][s(0x93)](s(0x9a)),h=[];!d&&h[s(0x9c)](s(0x9b));!f&&h[s(0x9c)](s(0xa8));!g&&h[s(0x9c)](s(0x9a));h[s(0xa0)]>0x0&&await this[s(0x94)]['installNpmPackage'](h[s(0xa7)]('\x20'),{'dev':!![]});const i=this[s(0x94)][s(0x9d)](a73e[s(0xa7)](c,s(0xad)));if(!i){const n={'noRename':!![]};await this['fsi'][s(0xae)]({'srcPath':s(0xa3),'destPath':a73e[s(0xa7)](c,'.eslintrc.json'),'framework':s(0xa6),'context':n});}const j=new ESLint(),k=await j[s(0xa4)]([a73e[s(0xa7)](c,s(0x8b),'**')]),l=await j['loadFormatter'](s(0x8e)),m=l['format'](k);m['length']>0x0?Log[s(0x8d)](m):Log[s(0x91)]('All\x20good!\x20:)'),Log[s(0xa5)](s(0xab)+c+s(0x87)),b['fix']?await ESLint[s(0xa1)](k):Log[s(0xa5)](s(0x8f));}catch(o){console[s(0x84)](o);}});
1
+ const a73s=a73d;(function(a,b){const p=a73d,c=a();while(!![]){try{const d=-parseInt(p(0x1ba))/0x1*(-parseInt(p(0x194))/0x2)+parseInt(p(0x1b9))/0x3*(-parseInt(p(0x1b4))/0x4)+-parseInt(p(0x198))/0x5*(parseInt(p(0x19d))/0x6)+-parseInt(p(0x1a8))/0x7*(-parseInt(p(0x1a6))/0x8)+-parseInt(p(0x1ad))/0x9*(parseInt(p(0x1be))/0xa)+-parseInt(p(0x1af))/0xb*(parseInt(p(0x191))/0xc)+parseInt(p(0x1a1))/0xd*(parseInt(p(0x19f))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x68f18));const a73b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a73d;if(c){const e=c[q(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){const r=a73d;return a73a[r(0x1a7)]()[r(0x192)](r(0x1b2))['toString']()[r(0x1bb)](a73a)[r(0x192)](r(0x1b2));});a73a();import a73e from'path';function a73c(){const u=['12QLxGIU','search','loadFormatter','4tzytEH','template','outputFixes','maka\x20lint\x20--fix','585BGNkqS','maka\x20lint','fsi','.eslintrc.json','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','39972ypERQk','Lint\x20results\x20for\x20','800884JuFjxP','length','481viGyTO','join','lintFiles','apply','push','81368DBDapz','toString','35NRYfrx','checkNpmPackage','isFile','/imports','imports','1240893wstuUv','installNpmPackage','2280773ZnPBSn','success','eslint-plugin-react','(((.+)+)+)+$','eslint-plugin-css','8216dgmAeP','fix','notice','service','eslint','1194HuArMP','171207mafNaH','constructor','eslint/eslintrc.json','\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','20mRjIUS','stylish','lint','create'];a73c=function(){return u;};return a73c();}function a73d(a,b){const c=a73c();return a73d=function(d,e){d=d-0x18e;let f=c[d];return f;},a73d(a,b);}import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a73s(0x190)]({'name':a73s(0x18f),'usage':a73s(0x199),'maxArgLength':0x1,'validOpts':[a73s(0x1b5)],'mustBeInMakaProject':!![],'shortDesc':a73s(0x19c),'description':a73s(0x1bd),'examples':[a73s(0x197)]},async function(a,b){const t=a73s;try{const c=this[t(0x19a)]['findAppDirectory'](),d=this[t(0x19a)][t(0x1a9)](t(0x1b8)),f=this[t(0x19a)][t(0x1a9)](t(0x1b1)),g=this[t(0x19a)]['checkNpmPackage'](t(0x1b3)),h=[];!d&&h[t(0x1a5)](t(0x1b8));!f&&h[t(0x1a5)](t(0x1b1));!g&&h[t(0x1a5)](t(0x1b3));h[t(0x1a0)]>0x0&&await this[t(0x19a)][t(0x1ae)](h['join']('\x20'),{'dev':!![]});const i=this['fsi'][t(0x1aa)](a73e[t(0x1a2)](c,t(0x19b)));if(!i){const n={'noRename':!![]};await this[t(0x19a)][t(0x195)]({'srcPath':t(0x1bc),'destPath':a73e['join'](c,'.eslintrc.json'),'framework':t(0x1b7),'context':n});}const j=new ESLint(),k=await j[t(0x1a3)]([a73e[t(0x1a2)](c,t(0x1ac),'**')]),l=await j[t(0x193)](t(0x18e)),m=l['format'](k);m[t(0x1a0)]>0x0?Log['bright'](m):Log[t(0x1b0)]('All\x20good!\x20:)'),Log[t(0x1b6)](t(0x19e)+c+t(0x1ab)),b[t(0x1b5)]?await ESLint[t(0x196)](k):Log[t(0x1b6)]('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console['error'](o);}});
@@ -1 +1 @@
1
- const a74y=a74d;(function(a,b){const w=a74d,c=a();while(!![]){try{const d=-parseInt(w(0xbf))/0x1*(-parseInt(w(0x8a))/0x2)+-parseInt(w(0x9c))/0x3+parseInt(w(0x90))/0x4+parseInt(w(0x99))/0x5+parseInt(w(0xa5))/0x6*(parseInt(w(0x94))/0x7)+-parseInt(w(0xb0))/0x8*(-parseInt(w(0x9f))/0x9)+-parseInt(w(0x97))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x4dd75));const a74b=(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;};}()),a74a=a74b(this,function(){const x=a74d;return a74a[x(0x9e)]()[x(0xa2)](x(0xb9))[x(0x9e)]()['constructor'](a74a)[x(0xa2)](x(0xb9));});function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x85;let f=c[d];return f;},a74d(a,b);}a74a();function a74c(){const A=['Using\x20CA\x20Cert\x20','24932NnBCyG','digest','cert','https://','cacert','authToken','1789332EKVyzX','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Password:\x20','exit','405167yUFfiF','failure','create','11167040jrMtoQ','update','2597610EEqHhU','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','931374brNdsg','toHex','toString','9mLicAz','post','setGlobalConfig','search','email','success','18IQfjCA','Logging\x20in','/api/v1/encodeJwt','fsi','start','assign','sha256','error','/api/v1/login','maka\x20login','getGlobalConfig','4445096VxMMLP','env','help','ask','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','password','header','debug','Preflight\x20Check','(((.+)+)+)+$','Logging\x20into\x20https://','localhost','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','notice','MAKA_DEV','4gAjhKr','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','parse','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','get','Email:','isFile','withSpinner'];a74c=function(){return A;};return a74c();}import a74e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a74y(0xb1)][a74y(0xbe)]==='True'?a74y(0xbb):'www.maka-cli.com';Command[a74y(0x96)]({'name':'login','validOpts':[a74y(0xa3),a74y(0xb5),a74y(0xb2),a74y(0x8e),a74y(0xb7)],'usage':a74y(0xae),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a74y(0x9a),'examples':[a74y(0xae),a74y(0xc0)]},async function(a,b){const z=a74y,c=Log[z(0x88)]();try{let d='';b['cacert']&&(this[z(0xa8)][z(0x87)](b[z(0x8e)])?(d=b[z(0x8e)],Log[z(0xbd)](z(0x89)+d)):Log[z(0xac)](z(0xc2)+d));const f=await this[z(0xa8)][z(0xaf)]();if(f[z(0x8c)]){if(this[z(0xa8)]['isFile'](f[z(0x8c)]))d=f[z(0x8c)];else{Log[z(0xac)](z(0x91)+d);return;}}Log[z(0xb6)](z(0xba)+hostname);const g={'url':z(0x8d)+hostname+'/api/v1/status'};b[z(0x8e)]&&Object[z(0xaa)](g,{'cert':d});c['start'](z(0xb8));const {statusCode:h}=await HTTPS[z(0x85)](g);if(h===0x198){c[z(0x95)]();throw z(0x9b);}if(h!==0xc8){c['failure']();throw z(0x8d)+hostname+z(0xb4);}c[z(0xa4)]();const i=b['email']?b[z(0xa3)]:await Actions[z(0xb3)](z(0x86)),j=b[z(0xb5)]?b[z(0xb5)]:await Actions[z(0xb3)](z(0x92),!![]),k=a74e['md'][z(0xab)][z(0x96)]();k[z(0x98)](j);const l=k[z(0x8b)]()[z(0x9d)](),m={'hostname':hostname,'path':z(0xad),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0x8e)]&&Object[z(0xaa)](m,{'cert':d});c[z(0xa9)](z(0xa6));const {data:n,statusCode:o}=await HTTPS[z(0xa0)](m);if(o===0x198){c[z(0x95)]('\x0a');throw z(0xbc)+hostname;}const p=JSON[z(0xc1)](n);if(p[z(0x8f)]){const q={'hostname':hostname,'path':z(0xa7),'headers':{'x-auth-token':p[z(0x8f)]},'data':{}};b[z(0x8e)]&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0xa0)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw z(0xbc)+hostname;const u={'token':p,'hash':t};this[z(0xa8)][z(0xa1)](u);}else{c[z(0x95)]();throw p;}c['success']();}catch(v){c[z(0x95)](),console['error'](v),process[z(0x93)](0x0);}});
1
+ const a74z=a74d;function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0xe5;let f=c[d];return f;},a74d(a,b);}(function(a,b){const w=a74d,c=a();while(!![]){try{const d=-parseInt(w(0x101))/0x1+-parseInt(w(0xf6))/0x2+-parseInt(w(0xfa))/0x3*(-parseInt(w(0xff))/0x4)+parseInt(w(0x111))/0x5+-parseInt(w(0x11e))/0x6*(parseInt(w(0xe6))/0x7)+parseInt(w(0x11d))/0x8*(-parseInt(w(0x109))/0x9)+parseInt(w(0x115))/0xa*(parseInt(w(0xea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0xd6164));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a74d;if(c){const e=c[x(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const y=a74d;return a74a[y(0xf8)]()[y(0xe7)](y(0x10d))[y(0xf8)]()[y(0xfd)](a74a)[y(0xe7)]('(((.+)+)+)+$');});a74a();import a74e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a74c(){const B=['assign','www.maka-cli.com','Preflight\x20Check','10wmlTOg','https://','cert','failure','password','header','debug','Email:','8dlvAWe','1053522QKycNu','ask','/api/v1/encodeJwt','MAKA_DEV','28fEQyob','search','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','cacert','30463268wRqOXO','fsi','notice','post','isFile','setGlobalConfig','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','help','/api/v1/login','error','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logging\x20in','1191746UNSgZh','toHex','toString','login','4097721DAiWjg','authToken','True','constructor','sha256','4bterIq','email','785922gxrDUN','getGlobalConfig','parse','localhost','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','create','apply','get','15633333FppGid','env','withSpinner','success','(((.+)+)+)+$','start','update','maka\x20login','2813925pcApDZ'];a74c=function(){return B;};return a74c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a74z(0x10a)][a74z(0xe5)]===a74z(0xfc)?a74z(0x104):a74z(0x113);Command[a74z(0x106)]({'name':a74z(0xf9),'validOpts':[a74z(0x100),'password',a74z(0xf1),'cacert',a74z(0x11b)],'usage':a74z(0x110),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':[a74z(0x110),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a74z,c=Log[A(0x10b)]();try{let d='';b[A(0xe9)]&&(this[A(0xeb)][A(0xee)](b[A(0xe9)])?(d=b[A(0xe9)],Log[A(0xec)]('Using\x20CA\x20Cert\x20'+d)):Log[A(0xf3)](A(0xf0)+d));const f=await this[A(0xeb)][A(0x102)]();if(f[A(0x117)]){if(this[A(0xeb)][A(0xee)](f[A(0x117)]))d=f[A(0x117)];else{Log['error'](A(0xf4)+d);return;}}Log[A(0x11a)]('Logging\x20into\x20https://'+hostname);const g={'url':A(0x116)+hostname+'/api/v1/status'};b[A(0xe9)]&&Object[A(0x112)](g,{'cert':d});c[A(0x10e)](A(0x114));const {statusCode:h}=await HTTPS[A(0x108)](g);if(h===0x198){c[A(0x118)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[A(0x118)]();throw'https://'+hostname+A(0x105);}c[A(0x10c)]();const i=b['email']?b[A(0x100)]:await Actions[A(0x11f)](A(0x11c)),j=b['password']?b[A(0x119)]:await Actions['ask']('Password:\x20',!![]),k=a74e['md'][A(0xfe)][A(0x106)]();k[A(0x10f)](j);const l=k['digest']()[A(0xf7)](),m={'hostname':hostname,'path':A(0xf2),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xe9)]&&Object[A(0x112)](m,{'cert':d});c['start'](A(0xf5));const {data:n,statusCode:o}=await HTTPS[A(0xed)](m);if(o===0x198){c['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON[A(0x103)](n);if(p[A(0xfb)]){const q={'hostname':hostname,'path':A(0x120),'headers':{'x-auth-token':p[A(0xfb)]},'data':{}};b[A(0xe9)]&&Object[A(0x112)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0xed)](q),{token:t}=JSON[A(0x103)](r);if(s===0x198)throw A(0xe8)+hostname;const u={'token':p,'hash':t};this['fsi'][A(0xef)](u);}else{c[A(0x118)]();throw p;}c['success']();}catch(v){c['failure'](),console[A(0xf3)](v),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a75o=a75d;function a75c(){const q=['start','5316rSTFvM','localhost','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','585mhtRZY','create','withSpinner','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','apply','8MrbBKs','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','maka\x20logout','49WtNOrc','https://','484328QdMtID','cert','toString','header','4381263fpzwhV','success','authToken','MAKA_DEV','833516KiaZUf','130488nAwryd','get','/api/v1/logoutAll','setGlobalConfig','705504mOZxlW','(((.+)+)+)+$','Using\x20CA\x20Cert\x20','Preflight\x20Check','cacert','Logging\x20out','assign','search','exit','True','fsi','error','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','isFile','constructor','4313810MVGCdB','www.maka-cli.com','failure','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com'];a75c=function(){return q;};return a75c();}(function(a,b){const l=a75d,c=a();while(!![]){try{const d=-parseInt(l(0x1f3))/0x1+-parseInt(l(0x1cd))/0x2+parseInt(l(0x1d2))/0x3+-parseInt(l(0x1e6))/0x4*(-parseInt(l(0x1e9))/0x5)+parseInt(l(0x1ce))/0x6*(-parseInt(l(0x1f1))/0x7)+-parseInt(l(0x1ee))/0x8*(-parseInt(l(0x1c9))/0x9)+parseInt(l(0x1e1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x3e627));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a75d;if(c){const e=c[m(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const n=a75d;return a75a[n(0x1f5)]()['search'](n(0x1d3))[n(0x1f5)]()[n(0x1e0)](a75a)[n(0x1d9)](n(0x1d3));});function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a75d(a,b);}a75a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a75o(0x1cc)]===a75o(0x1db)?a75o(0x1e7):a75o(0x1e2);Command[a75o(0x1ea)]({'name':'logout','validOpts':[a75o(0x1d6)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':a75o(0x1ef),'disableAuthCheck':!![],'examples':[a75o(0x1f0)]},async function(a,b){const p=a75o,c=Log[p(0x1eb)]();try{let d='';b[p(0x1d6)]&&(this['fsi'][p(0x1df)](b[p(0x1d6)])?(d=b[p(0x1d6)],Log['notice'](p(0x1d4)+d)):Log[p(0x1dd)](p(0x1e8)+d));const f=await this['fsi']['getGlobalConfig']();if(f[p(0x1f4)]){if(this[p(0x1dc)][p(0x1df)](f[p(0x1f4)]))d=f[p(0x1f4)];else{c[p(0x1e3)]();throw Log['error'](p(0x1ec)+d);}}Log[p(0x1c8)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':p(0x1f2)+hostname+'/api/v1/status'};b[p(0x1d6)]&&Object[p(0x1d8)](g,{'cert':d});c[p(0x1e5)](p(0x1d5));const {statusCode:h}=await HTTPS[p(0x1cf)](g);if(h===0x198){c['failure']();throw p(0x1e4);}c[p(0x1ca)]();if(h!==0xc8){c['failure']();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!f?.['token']?.['authToken'])throw Log[p(0x1dd)](p(0x1de));c[p(0x1e5)](p(0x1d7));const i={'hostname':hostname,'path':p(0x1d0),'data':{},'headers':{'x-auth-token':f['token'][p(0x1cb)]}};b['cacert']&&Object[p(0x1d8)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0x1dc)][p(0x1d1)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x1ca)]();}catch(k){k&&console[p(0x1dd)](k),process[p(0x1da)](0x0);}});
1
+ const a75o=a75d;(function(a,b){const l=a75d,c=a();while(!![]){try{const d=parseInt(l(0x142))/0x1+-parseInt(l(0x15a))/0x2*(-parseInt(l(0x147))/0x3)+-parseInt(l(0x143))/0x4*(-parseInt(l(0x14e))/0x5)+-parseInt(l(0x131))/0x6*(-parseInt(l(0x15b))/0x7)+-parseInt(l(0x134))/0x8+parseInt(l(0x145))/0x9*(parseInt(l(0x13e))/0xa)+parseInt(l(0x137))/0xb*(-parseInt(l(0x13c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x61cc3));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a75d;if(c){const e=c[m(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const n=a75d;return a75a[n(0x152)]()['search'](n(0x14d))['toString']()[n(0x149)](a75a)[n(0x15e)](n(0x14d));});a75a();function a75c(){const q=['get','252RLfOIH','/api/v1/logoutAll','553989ZYBESv','True','constructor','www.maka-cli.com','start','authToken','(((.+)+)+)+$','35KxuAFL','withSpinner','logout','isFile','toString','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','apply','Using\x20CA\x20Cert\x20','setGlobalConfig','post','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','notice','2irQBdZ','7IzmWeZ','Logging\x20out','Logging\x20out\x20of\x20https://','search','assign','https://','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','cacert','1242732zZnKLM','error','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','4048464QuylWX','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','fsi','132tFUSRT','token','maka\x20logout','success','localhost','879456pGMqdm','cert','212090gHgGsW','create','failure','/api/v1/status','157303DHnOjn','367516QSIQjK'];a75c=function(){return q;};return a75c();}function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x12f;let f=c[d];return f;},a75d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env']['MAKA_DEV']===a75o(0x148)?a75o(0x13b):a75o(0x14a);Command[a75o(0x13f)]({'name':a75o(0x150),'validOpts':[a75o(0x130)],'usage':a75o(0x139),'maxArgLength':0x2,'shortDesc':a75o(0x158),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a75o,c=Log[p(0x14f)]();try{let d='';b[p(0x130)]&&(this[p(0x136)]['isFile'](b[p(0x130)])?(d=b['cacert'],Log[p(0x159)](p(0x155)+d)):Log[p(0x132)](p(0x135)+d));const f=await this[p(0x136)]['getGlobalConfig']();if(f[p(0x13d)]){if(this[p(0x136)][p(0x151)](f[p(0x13d)]))d=f['cert'];else{c['failure']();throw Log[p(0x132)](p(0x153)+d);}}Log['header'](p(0x15d)+hostname);const g={'url':p(0x160)+hostname+p(0x141)};b['cacert']&&Object[p(0x15f)](g,{'cert':d});c[p(0x14b)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[p(0x144)](g);if(h===0x198){c[p(0x140)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c['success']();if(h!==0xc8){c[p(0x140)]();throw p(0x161);}if(!f?.[p(0x138)]?.[p(0x14c)])throw Log[p(0x132)](p(0x12f));c[p(0x14b)](p(0x15c));const i={'hostname':hostname,'path':p(0x146),'data':{},'headers':{'x-auth-token':f['token'][p(0x14c)]}};b[p(0x130)]&&Object[p(0x15f)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x157)](i);if(j===0x198){c[p(0x140)]('\x0a');throw p(0x133);}this['fsi'][p(0x156)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x13a)]();}catch(k){k&&console['error'](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- function a76c(){const m=['toString','49740750udlkKc','getConfigPath','fsi','verbose','log','create','parse','maka\x20logs\x20--env\x20staging','apply','3771993AIKiTo','ssh.json','sshSync','readFileSync','1929406cizQld','constructor','assign','pm2\x20logs','View\x20the\x20PM2\x20logs','28piWRzx','maka\x20l\x20-e\x20p','search','243300HFJrsC','1636088PTzHhV','1421984huAXVy','4ZCmoEB','4396660vyDIWn','(((.+)+)+)+$','env'];a76c=function(){return m;};return a76c();}const a76k=a76d;(function(a,b){const h=a76d,c=a();while(!![]){try{const d=-parseInt(h(0x178))/0x1+-parseInt(h(0x16e))/0x2+-parseInt(h(0x16a))/0x3+parseInt(h(0x179))/0x4*(-parseInt(h(0x17a))/0x5)+-parseInt(h(0x176))/0x6*(-parseInt(h(0x173))/0x7)+-parseInt(h(0x177))/0x8+parseInt(h(0x17e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xeaa41));function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x163;let f=c[d];return f;},a76d(a,b);}const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a76d;if(c){const e=c[i(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const j=a76d;return a76a['toString']()[j(0x175)](j(0x17b))[j(0x17d)]()[j(0x16f)](a76a)['search'](j(0x17b));});a76a();import a76e from'fs';import a76f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a76k(0x166)]({'name':'logs','aliases':['l',a76k(0x165)],'usage':'maka\x20logs','requiredOpts':[a76k(0x17c)],'mustBeInMakaProject':!![],'validOpts':[a76k(0x164)],'shortDesc':a76k(0x172),'examples':['maka\x20logs\x20--env\x20dev',a76k(0x168),a76k(0x174)]},function(a,b){const l=a76k,c=l(0x171),d=this[l(0x163)][l(0x17f)](b[l(0x17c)]),e=a76f['join'](d,l(0x16b)),f=a76e[l(0x16d)](e),g=JSON[l(0x167)](f[l(0x17d)]());Object[l(0x170)](g,{'env':d}),SSH[l(0x16c)](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a76k=a76d;(function(a,b){const h=a76d,c=a();while(!![]){try{const d=parseInt(h(0xee))/0x1+-parseInt(h(0xf1))/0x2*(-parseInt(h(0xf8))/0x3)+-parseInt(h(0xf9))/0x4*(parseInt(h(0xfb))/0x5)+-parseInt(h(0xec))/0x6+parseInt(h(0xf0))/0x7+parseInt(h(0xf5))/0x8+-parseInt(h(0xf3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x3f870));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a76d;if(c){const e=c[i(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const j=a76d;return a76a[j(0xea)]()[j(0xef)](j(0xff))[j(0xea)]()[j(0xfd)](a76a)[j(0xef)]('(((.+)+)+)+$');});a76a();function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xe8;let f=c[d];return f;},a76d(a,b);}function a76c(){const m=['verbose','(((.+)+)+)+$','log','maka\x20logs\x20--env\x20dev','readFileSync','toString','maka\x20l\x20-e\x20p','3013962Ghudcf','parse','477514tGiHay','search','3490487zhCKpO','2qAkexu','fsi','5189247NQXBzO','apply','1939816wQRAMZ','maka\x20logs','env','1339134sIpJjY','452XqkwRX','join','14420tAfHcd','getConfigPath','constructor'];a76c=function(){return m;};return a76c();}import a76e from'fs';import a76f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'logs','aliases':['l',a76k(0x100)],'usage':a76k(0xf6),'requiredOpts':[a76k(0xf7)],'mustBeInMakaProject':!![],'validOpts':[a76k(0xfe)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a76k(0xe8),'maka\x20logs\x20--env\x20staging',a76k(0xeb)]},function(a,b){const l=a76k,c='pm2\x20logs',d=this[l(0xf2)][l(0xfc)](b['env']),e=a76f[l(0xfa)](d,'ssh.json'),f=a76e[l(0xe9)](e),g=JSON[l(0xed)](f[l(0xea)]());Object['assign'](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});