@maka/maka-cli 4.5.18 → 4.5.20

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 (126) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -0
  27. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -0
  28. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -0
  29. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -0
  30. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -0
  31. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -0
  32. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -0
  33. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -0
  34. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -0
  35. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -0
  36. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -0
  37. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -0
  38. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -0
  39. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -0
  44. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  56. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  57. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  58. package/bundle/obf/src/commands/generate.js +1 -1
  59. package/bundle/obf/src/commands/get/_index.js +1 -1
  60. package/bundle/obf/src/commands/get/get.command.js +1 -1
  61. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  62. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/help.js +1 -1
  65. package/bundle/obf/src/commands/jsdoc.js +1 -1
  66. package/bundle/obf/src/commands/lint.js +1 -1
  67. package/bundle/obf/src/commands/login.js +1 -1
  68. package/bundle/obf/src/commands/logout.js +1 -1
  69. package/bundle/obf/src/commands/logs.js +1 -1
  70. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  71. package/bundle/obf/src/commands/murder.js +1 -1
  72. package/bundle/obf/src/commands/proxy.js +1 -1
  73. package/bundle/obf/src/commands/reconfig.js +1 -1
  74. package/bundle/obf/src/commands/run/_index.js +1 -1
  75. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/run/run.command.js +1 -1
  77. package/bundle/obf/src/commands/set/_index.js +1 -1
  78. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  79. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  80. package/bundle/obf/src/commands/set/set.command.js +1 -1
  81. package/bundle/obf/src/commands/ssh.js +1 -1
  82. package/bundle/obf/src/commands/ssl.js +1 -1
  83. package/bundle/obf/src/commands/test.js +1 -1
  84. package/bundle/obf/src/commands/version.js +1 -1
  85. package/bundle/obf/src/error.js +1 -1
  86. package/bundle/obf/src/generator.js +1 -1
  87. package/bundle/obf/src/generators/_index.js +1 -1
  88. package/bundle/obf/src/generators/api.js +1 -1
  89. package/bundle/obf/src/generators/collection.js +1 -1
  90. package/bundle/obf/src/generators/component.js +1 -1
  91. package/bundle/obf/src/generators/config.js +1 -1
  92. package/bundle/obf/src/generators/dbc.js +1 -1
  93. package/bundle/obf/src/generators/dockerfile.js +1 -1
  94. package/bundle/obf/src/generators/hook.js +1 -1
  95. package/bundle/obf/src/generators/kit.js +1 -1
  96. package/bundle/obf/src/generators/layout.js +1 -1
  97. package/bundle/obf/src/generators/maka.gen.js +1 -1
  98. package/bundle/obf/src/generators/methods.js +1 -1
  99. package/bundle/obf/src/generators/package.js +1 -1
  100. package/bundle/obf/src/generators/page.js +1 -1
  101. package/bundle/obf/src/generators/publish.js +1 -1
  102. package/bundle/obf/src/generators/route.js +1 -1
  103. package/bundle/obf/src/generators/service.js +1 -1
  104. package/bundle/obf/src/generators/services/_index.js +1 -1
  105. package/bundle/obf/src/generators/services/openssl.js +1 -1
  106. package/bundle/obf/src/generators/services/translation.js +1 -1
  107. package/bundle/obf/src/maka.js +2 -2
  108. package/bundle/obf/src/tool.js +1 -1
  109. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  110. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  111. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  112. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  113. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  114. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  115. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  116. package/bundle/obf/src/tools/https/https.class.js +1 -1
  117. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  118. package/bundle/obf/src/tools/log/log.class.js +1 -1
  119. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  121. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  123. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  125. package/package.json +1 -1
  126. package/bundle/obf/src/commands/game/sideQuest/commands/commands.js +0 -1
@@ -1 +1 @@
1
- const a29h=a29d;(function(a,b){const f=a29d,c=a();while(!![]){try{const d=-parseInt(f(0xe0))/0x1+-parseInt(f(0xb1))/0x2+parseInt(f(0xd9))/0x3*(-parseInt(f(0xdc))/0x4)+parseInt(f(0xe4))/0x5*(parseInt(f(0xd8))/0x6)+parseInt(f(0xe9))/0x7*(parseInt(f(0xc1))/0x8)+-parseInt(f(0xe3))/0x9*(parseInt(f(0xf9))/0xa)+parseInt(f(0xa9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xed579));const a29b=(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;};}()),a29a=a29b(this,function(){const g=a29d;return a29a['toString']()[g(0xbd)]('(((.+)+)+)+$')[g(0xab)]()['constructor'](a29a)[g(0xbd)]('(((.+)+)+)+$');});a29a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a29d(a,b){const c=a29c();return a29d=function(d,e){d=d-0xa8;let f=c[d];return f;},a29d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';export class Player{[a29h(0xcf)];[a29h(0xee)];[a29h(0xc0)];[a29h(0xe1)];['_maxCarryingWeight']=0x32;[a29h(0xde)];constructor(a){const i=a29h;this[i(0xcf)]=a[i(0xed)],this[i(0xee)]=a[i(0xef)]||new Room({'name':i(0xbe),'description':i(0xe5)}),this['_inventory']=new Inventory(),this[i(0xde)]=Logger[i(0xaf)]();if(a?.['inventoryItems'])for(const b of a[i(0xfd)]){this[i(0xc0)][i(0xdb)](b);}this[i(0xe1)]=a?.[i(0xc3)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const j=a29h;return this[j(0xcf)];}get['currentLocation'](){return this['_currentLocation'];}set[a29h(0xc5)](a){this['_currentLocation']=a;}get[a29h(0xc4)](){const k=a29h;return this[k(0xc0)];}get[a29h(0xc8)](){return this['_equipment'];}set[a29h(0xc8)](a){const l=a29h;this[l(0xe1)]=a;}get[a29h(0xae)](){const m=a29h;return this[m(0xfc)];}set[a29h(0xae)](a){const n=a29h;a>0x0?this[n(0xfc)]=a:console[n(0xc7)](n(0xca));}get[a29h(0xb0)](){const o=a29h;let a=this['_inventory'][o(0xb6)]();for(const b in this[o(0xe1)]){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}[a29h(0xd5)](a){const p=a29h;if(this[p(0xb0)]+a[p(0xf5)]>this[p(0xae)]){this[p(0xde)][p(0xe8)](p(0xac));throw new Error(p(0xc2));}this['_inventory'][p(0xdb)](a),this[p(0xde)][p(0xe8)]('Added\x20'+a[p(0xf2)]+p(0xf1));}['removeInventory'](a){const q=a29h;if(this[q(0xc0)][q(0xb2)](a[q(0xf2)]))return this[q(0xde)][q(0xe8)]('Removed\x20'+a[q(0xf2)]+q(0xce)),!![];return this[q(0xde)][q(0xe8)](q(0xcd)+a[q(0xf2)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a29h(0xeb)](a){const r=a29h;if(!this[r(0xc0)][r(0xd2)](a[r(0xf2)]))return'You\x20don\x27t\x20have\x20'+a[r(0xf2)]+r(0xb8);if(!this[r(0xd7)](a))return r(0xf4)+a[r(0xf2)]+'.';const b=this[r(0xad)](a[r(0xd0)]);if(!b)return a[r(0xf2)]+r(0xd4);if(this[r(0xc8)][b])return r(0xe2)+b+r(0xdf);return this[r(0xc8)][b]=a,this[r(0xbf)](a),'You\x20equipped\x20'+a[r(0xf2)]+'.';}['unequip'](a){const s=a29h;let b=a;if(!this[s(0xc8)][camelCase(b)]){b=this[s(0xad)](a);if(!b)return s(0xd3)+a+'.';}return this[s(0xc6)](b);}['determineEquipmentSlot'](a){const t=a29h;switch(a['toLowerCase']()){case Category['Weapon']['toLowerCase']():return'rightHand';case Category[t(0xb3)][t(0xd6)]():return t(0xea);case Category[t(0xaa)][t(0xd6)]():return t(0xe7);case Category['Helmet']['toLowerCase']():case Category[t(0xb7)][t(0xd6)]():return t(0xf6);case Category[t(0xa8)][t(0xd6)]():return t(0xf8);case Category[t(0xbb)][t(0xd6)]():return t(0xb5);case Category[t(0xcc)][t(0xd6)]():return t(0xc9);case Category[t(0xb4)]['toLowerCase']():return t(0xb9);case t(0xd1):return t(0xdd);case t(0xda):return t(0xea);case'gloves':return t(0xe7);case t(0xe6):case'hat':return t(0xf6);case t(0xbc):return t(0xf8);case t(0xf7):case'legarmor':return t(0xb5);case'arm\x20armor':case'armarmor':return t(0xc9);case t(0xec):case t(0xcb):case t(0xb9):return t(0xb9);default:return null;}}[a29h(0xd7)](a){const u=a29h;return Object[u(0xfb)](Category)[u(0xba)](a[u(0xd0)]);}[a29h(0xc6)](a){const v=a29h,b=this[v(0xc8)][a];if(!b)return v(0xfa)+a+v(0xf3);return this[v(0xd5)](b),this[v(0xc8)][a]=null,v(0xf0)+b[v(0xf2)]+'.';}}function a29c(){const w=['Invalid\x20category\x20or\x20slot:\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','addInventory','toLowerCase','canEquip','15414EIUUpy','897DIHTkp','shield','addItem','3700rhRAKy','rightHand','logger','.\x20You\x20must\x20unequip\x20it\x20first.','1228557cYbgXG','_equipment','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','4696047XnycMv','635ofqCty','A\x20featureless\x20room','helmet','gloves','write','1862ebaywp','leftHand','equip','body\x20armor','playerName','_currentLocation','startLocation','You\x20unequipped\x20','\x20to\x20player\x27s\x20inventory.','name','\x20slot.','You\x20can\x27t\x20equip\x20','weight','head','leg\x20armor','feet','10gsVIWK','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','values','_maxCarryingWeight','inventoryItems','Boots','24419219NyRolm','Gloves','toString','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','determineEquipmentSlot','maxCarryingWeight','getInstance','currentWeight','1582944oLytgl','removeItem','Shield','BodyArmor','legs','getWeight','Hat','\x20in\x20your\x20inventory.','torso','includes','LegArmor','boots','search','Nexus','removeInventory','_inventory','37424XxcFIt','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','initialEquipment','inventory','currentLocation','unequipBySlot','error','equipment','arms','Max\x20carrying\x20weight\x20must\x20be\x20positive.','bodyarmor','ArmArmor','Failed\x20to\x20remove\x20','\x20from\x20player\x27s\x20inventory.','_playerName','category','weapon','hasItem'];a29c=function(){return w;};return a29c();}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x1cf))/0x1+-parseInt(f(0x18a))/0x2*(parseInt(f(0x1c8))/0x3)+-parseInt(f(0x1d7))/0x4+parseInt(f(0x1af))/0x5*(-parseInt(f(0x1c4))/0x6)+parseInt(f(0x1ab))/0x7+-parseInt(f(0x1ae))/0x8*(parseInt(f(0x1bf))/0x9)+parseInt(f(0x182))/0xa*(parseInt(f(0x1b4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc3d2c));function a42c(){const y=['boots','unequip','arms','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','currentLocation','name','search','error','556437axRBkV','armarmor','constructor','64XtWjla','5NabyQU','Hat','unequipBySlot','toString','_maxCarryingWeight','1628IwbdKv','ArmArmor','Failed\x20to\x20remove\x20','head','removeInventory','getInstance','canEquip','category','torso','removeItem','toLowerCase','845415deDZgm','feet','startLocation','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','\x20from\x20player\x27s\x20inventory.','7649394LTjQKI','addInventory','legarmor','_inventory','3904101BurVWR','addItem','determineEquipmentSlot','hat','leftHand','(((.+)+)+)+$','helmet','1078767MHTDdX','leg\x20armor','weapon','Weapon','weight','equipment','gloves','Gloves','5412512fAXDmj','bodyarmor','equip','rightHand','Helmet','Removed\x20','\x20to\x20player\x27s\x20inventory.','292210hsyUmB','You\x20equipped\x20','Added\x20','shield','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','_playerName','write','\x20slot.','2AElBQV','includes','You\x20can\x27t\x20equip\x20','body\x20armor','inventory','arm\x20armor','apply','Max\x20carrying\x20weight\x20must\x20be\x20positive.','LegArmor','Boots','initialEquipment','currentWeight','getWeight','You\x20unequipped\x20','_currentLocation','logger','\x20in\x20your\x20inventory.','inventoryItems','legs','_equipment','maxCarryingWeight','.\x20You\x20must\x20unequip\x20it\x20first.','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','playerName','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.'];a42c=function(){return y;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1b2)]()[h(0x1a9)](h(0x1cd))['toString']()[h(0x1ad)](a42a)[h(0x1a9)](h(0x1cd));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x17d;let f=c[d];return f;},a42d(a,b);}a42a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';export class Player{[a42i(0x187)];[a42i(0x198)];[a42i(0x1c7)];[a42i(0x19d)];[a42i(0x1b3)]=0x32;[a42i(0x199)];constructor(a){const j=a42i;this[j(0x187)]=a[j(0x1a1)],this['_currentLocation']=a[j(0x1c1)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x1c7)]=new Inventory(),this[j(0x199)]=Logger[j(0x1b9)]();if(a?.[j(0x19b)])for(const b of a[j(0x19b)]){this[j(0x1c7)][j(0x1c9)](b);}this[j(0x19d)]=a?.[j(0x194)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a42i;return this[k(0x187)];}get[a42i(0x1a7)](){const l=a42i;return this[l(0x198)];}set['currentLocation'](a){this['_currentLocation']=a;}get[a42i(0x18e)](){const m=a42i;return this[m(0x1c7)];}get[a42i(0x1d4)](){const n=a42i;return this[n(0x19d)];}set['equipment'](a){const o=a42i;this[o(0x19d)]=a;}get[a42i(0x19e)](){return this['_maxCarryingWeight'];}set[a42i(0x19e)](a){const p=a42i;a>0x0?this[p(0x1b3)]=a:console[p(0x1aa)](p(0x191));}get[a42i(0x195)](){const q=a42i;let a=this[q(0x1c7)][q(0x196)]();for(const b in this[q(0x19d)]){const c=this['_equipment'][b];c&&(a+=c[q(0x1d3)]);}return a;}['addInventory'](a){const r=a42i;if(this['currentWeight']+a[r(0x1d3)]>this[r(0x19e)]){this[r(0x199)][r(0x188)](r(0x1a0));throw new Error(r(0x1a2));}this[r(0x1c7)][r(0x1c9)](a),this['logger'][r(0x188)](r(0x184)+a[r(0x1a8)]+r(0x181));}[a42i(0x1b8)](a){const s=a42i;if(this[s(0x1c7)][s(0x1bd)](a[s(0x1a8)]))return this['logger']['write'](s(0x180)+a[s(0x1a8)]+s(0x1c3)),!![];return this[s(0x199)][s(0x188)](s(0x1b6)+a[s(0x1a8)]+s(0x1c3)),![];}[a42i(0x17d)](a){const t=a42i;if(!this[t(0x1c7)]['hasItem'](a[t(0x1a8)]))return'You\x20don\x27t\x20have\x20'+a[t(0x1a8)]+t(0x19a);if(!this['canEquip'](a))return t(0x18c)+a['name']+'.';const b=this[t(0x1ca)](a[t(0x1bb)]);if(!b)return a[t(0x1a8)]+t(0x186);if(this['equipment'][b])return t(0x1c2)+b+t(0x19f);return this[t(0x1d4)][b]=a,this['removeInventory'](a),t(0x183)+a[t(0x1a8)]+'.';}[a42i(0x1a4)](a){const u=a42i;let b=a;if(!this[u(0x1d4)][camelCase(b)]){b=this[u(0x1ca)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x1b1)](b);}[a42i(0x1ca)](a){const v=a42i;switch(a[v(0x1be)]()){case Category[v(0x1d2)]['toLowerCase']():return v(0x17e);case Category['Shield'][v(0x1be)]():return'leftHand';case Category[v(0x1d6)][v(0x1be)]():return'gloves';case Category[v(0x17f)][v(0x1be)]():case Category[v(0x1b0)][v(0x1be)]():return v(0x1b7);case Category[v(0x193)][v(0x1be)]():return v(0x1c0);case Category[v(0x192)][v(0x1be)]():return v(0x19c);case Category[v(0x1b5)]['toLowerCase']():return v(0x1a5);case Category['BodyArmor'][v(0x1be)]():return v(0x1bc);case v(0x1d1):return v(0x17e);case v(0x185):return v(0x1cc);case'gloves':return v(0x1d5);case v(0x1ce):case v(0x1cb):return v(0x1b7);case v(0x1a3):return v(0x1c0);case v(0x1d0):case v(0x1c6):return v(0x19c);case v(0x18f):case v(0x1ac):return v(0x1a5);case v(0x18d):case v(0x1d8):case'torso':return'torso';default:return null;}}[a42i(0x1ba)](a){const w=a42i;return Object['values'](Category)[w(0x18b)](a[w(0x1bb)]);}[a42i(0x1b1)](a){const x=a42i,b=this['equipment'][a];if(!b)return x(0x1a6)+a+x(0x189);return this[x(0x1c5)](b),this[x(0x1d4)][a]=null,x(0x197)+b['name']+'.';}}
@@ -1 +1 @@
1
- var a30h=a30d;(function(a,b){var f=a30d,c=a();while(!![]){try{var d=-parseInt(f(0x1f4))/0x1+-parseInt(f(0x1e6))/0x2+-parseInt(f(0x1e0))/0x3+-parseInt(f(0x1f2))/0x4*(-parseInt(f(0x1fb))/0x5)+parseInt(f(0x1f8))/0x6+-parseInt(f(0x1e8))/0x7+-parseInt(f(0x1ea))/0x8*(-parseInt(f(0x1e2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xc8d3c));var a30b=(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;};}()),a30a=a30b(this,function(){var g=a30d;return a30a[g(0x1e5)]()['search'](g(0x1ed))[g(0x1e5)]()['constructor'](a30a)['search'](g(0x1ed));});a30a();import{Logger}from'../utilities/logger.js';function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x1df;var f=c[d];return f;},a30d(a,b);}export class Puzzle{[a30h(0x1e4)]=Logger[a30h(0x1ee)]();[a30h(0x1f3)]=![];[a30h(0x1e3)];[a30h(0x1eb)];[a30h(0x1df)];['rewardItem'];[a30h(0x1f0)];[a30h(0x1f7)];constructor(a){var i=a30h;this[i(0x1e3)]=a[i(0x1e3)],this['requiredPhrase']=a[i(0x1eb)],this[i(0x1df)]=a[i(0x1df)],this[i(0x1fa)]=a[i(0x1fa)],this['successMessage']=a[i(0x1f0)]||i(0x1f6),this['failureMessage']=a['failureMessage']||i(0x1e1);}[a30h(0x1e9)](a){var j=a30h;if(this[j(0x1e3)])return a[j(0x1ec)](this[j(0x1e3)]);return![];}[a30h(0x1ef)](a){return this['requiredPhrase']===a;}['solve'](a,b){var k=a30h;if(this[k(0x1f3)])return this[k(0x1e4)][k(0x1f1)](k(0x1f5)),{'success':![],'message':k(0x1e7)};return this[k(0x1e9)](b)||this[k(0x1ef)](a)?(this[k(0x1f3)]=!![],this['logger'][k(0x1f1)](k(0x1f9)),{'success':!![],'message':this[k(0x1f0)]}):(this['logger'][k(0x1f1)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[k(0x1f7)]});}}function a30c(){var l=['matchesRequiredPhrase','successMessage','write','440YUAnHU','solved','1492967VFIQKQ','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20solved\x20the\x20puzzle!','failureMessage','9832158eBxtrR','Puzzle:\x20Correct\x20solution\x20provided.','rewardItem','69885NpqNSV','riddle','3293670mQAFNU','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','9hYinrl','requiredItem','logger','toString','2245368zqhbGV','You\x20have\x20already\x20solved\x20this\x20puzzle.','3286493rGJVlZ','hasRequiredItem','14635720gzQJEN','requiredPhrase','hasItem','(((.+)+)+)+$','getInstance'];a30c=function(){return l;};return a30c();}
1
+ var a43i=a43d;(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x1d3))/0x1*(-parseInt(f(0x1ce))/0x2)+-parseInt(f(0x1e2))/0x3+parseInt(f(0x1c7))/0x4*(-parseInt(f(0x1ca))/0x5)+-parseInt(f(0x1cb))/0x6+-parseInt(f(0x1d7))/0x7*(parseInt(f(0x1da))/0x8)+parseInt(f(0x1cd))/0x9+parseInt(f(0x1e3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe04c7));function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x1c7;var f=c[d];return f;},a43d(a,b);}function a43c(){var n=['412203uzMLzn','28136440GslJou','write','matchesRequiredPhrase','solved','1000756RkYeWw','logger','requiredPhrase','10XMrWmL','9994860DvwBRb','hasItem','9071712ATPPUM','4LvgXpv','riddle','You\x20solved\x20the\x20puzzle!','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','hasRequiredItem','2635FTyOcl','apply','failureMessage','toString','4158182LAeKMk','getInstance','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','8lZWJWn','successMessage','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','search','rewardItem','(((.+)+)+)+$','Puzzle:\x20Correct\x20solution\x20provided.','requiredItem'];a43c=function(){return n;};return a43c();}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x1d6)]()[h(0x1dd)](h(0x1df))[h(0x1d6)]()['constructor'](a43a)[h(0x1dd)]('(((.+)+)+)+$');});a43a();import{Logger}from'../utilities/logger.js';export class Puzzle{[a43i(0x1c8)]=Logger[a43i(0x1d8)]();[a43i(0x1e6)]=![];[a43i(0x1e1)];[a43i(0x1c9)];[a43i(0x1cf)];[a43i(0x1de)];[a43i(0x1db)];[a43i(0x1d5)];constructor(a){var j=a43i;this[j(0x1e1)]=a[j(0x1e1)],this[j(0x1c9)]=a[j(0x1c9)],this[j(0x1cf)]=a[j(0x1cf)],this[j(0x1de)]=a[j(0x1de)],this[j(0x1db)]=a[j(0x1db)]||j(0x1d0),this[j(0x1d5)]=a['failureMessage']||j(0x1d9);}[a43i(0x1d2)](a){var k=a43i;if(this[k(0x1e1)])return a[k(0x1cc)](this[k(0x1e1)]);return![];}[a43i(0x1e5)](a){var l=a43i;return this[l(0x1c9)]===a;}['solve'](a,b){var m=a43i;if(this[m(0x1e6)])return this[m(0x1c8)]['write'](m(0x1d1)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0x1d2)](b)||this['matchesRequiredPhrase'](a)?(this[m(0x1e6)]=!![],this['logger'][m(0x1e4)](m(0x1e0)),{'success':!![],'message':this[m(0x1db)]}):(this[m(0x1c8)]['write'](m(0x1dc)),{'success':![],'message':this[m(0x1d5)]});}}
@@ -1 +1 @@
1
- const a31h=a31d;(function(a,b){const f=a31d,c=a();while(!![]){try{const d=-parseInt(f(0x157))/0x1*(parseInt(f(0x129))/0x2)+parseInt(f(0x145))/0x3*(-parseInt(f(0x162))/0x4)+parseInt(f(0x14d))/0x5*(parseInt(f(0x12d))/0x6)+parseInt(f(0x130))/0x7+-parseInt(f(0x146))/0x8+parseInt(f(0x143))/0x9+parseInt(f(0x156))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x64a8f));function a31c(){const s=['4578318tXPFgr','No\x20locked\x20exit\x20found\x20in\x20direction\x20','1046616uBXLRy','882368uBkXKN','WEST','Item\x20added\x20to\x20room\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','(((.+)+)+)+$','name','EAST','65SpQMaV','NORTH','Fetching\x20exit\x20in\x20direction:\x20','The\x20','getOppositeDirection','set','roomA','search','isExitLocked','357770lXdYsP','89543WFRFhj','values','write','toString','checkIfLocked','description','constructor','findExistingDoor','attemptUnlockExit','addItem','Invalid\x20direction:\x20','4xlvUYW','SOUTH','setPuzzle','.\x20Success:\x20','14IcFwzu','removeItem','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','\x20remains\x20locked.','280662SiZHhT','east','exits','2419844fGXcyq','getInstance','roomType','hasItem','puzzle','Room\x20created:\x20','attemptUnlock','riddle','north','addExit','down','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','getExit','INSIDE','Puzzle\x20set\x20for\x20room\x20','roomB','inventory','DOWN','get'];a31c=function(){return s;};return a31c();}const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const g=a31d;return a31a[g(0x15a)]()[g(0x154)](g(0x14a))[g(0x15a)]()[g(0x15d)](a31a)[g(0x154)]('(((.+)+)+)+$');});function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x129;let f=c[d];return f;},a31d(a,b);}a31a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';const gameLog=Logger[a31h(0x131)]();export class Room{[a31h(0x14b)];[a31h(0x15c)];[a31h(0x12f)]=new Map();[a31h(0x140)]=new Inventory();['puzzle'];[a31h(0x132)];constructor(a){const i=a31h;this['name']=a[i(0x14b)],this[i(0x15c)]=a[i(0x15c)],this[i(0x132)]=a['roomType']||RoomType[i(0x13d)],a[i(0x12f)]&&(this[i(0x12f)]=a[i(0x12f)]),a['inventory']&&(this[i(0x140)]=a[i(0x140)]),a[i(0x134)]&&(this[i(0x134)]=a[i(0x134)]),gameLog[i(0x159)](i(0x135)+this[i(0x14b)]);}[a31h(0x139)](a,b,c){const j=a31h;let d=this[j(0x15e)](b);!d&&(d=new Door(this,b,Boolean(c),c)),this['exits'][j(0x152)](a,d),b[j(0x12f)][j(0x152)](this['getOppositeDirection'](a),d);}[a31h(0x15f)](a,b){const k=a31h,c=this[k(0x12f)][k(0x142)](a);if(c instanceof Door){const d=c[k(0x136)](b);return gameLog['write'](k(0x12b)+a+k(0x165)+d),d?k(0x150)+c['name']+'\x20unlocked!':k(0x150)+c[k(0x14b)]+k(0x12c);}return gameLog['write'](k(0x144)+a),k(0x149);}[a31h(0x13c)](a){const l=a31h;return gameLog[l(0x159)](l(0x14f)+a),this[l(0x12f)]['get'](a);}[a31h(0x155)](a){const m=a31h,b=this[m(0x12f)][m(0x142)](a),c=b instanceof Door&&b[m(0x15b)]();return gameLog[m(0x159)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a31h(0x160)](a){const n=a31h;this[n(0x140)][n(0x160)](a),gameLog[n(0x159)](n(0x148)+this[n(0x14b)]+':\x20'+a[n(0x14b)]);}[a31h(0x12a)](a){const o=a31h;this[o(0x140)][o(0x133)](a[o(0x14b)])?(this[o(0x140)][o(0x12a)](a[o(0x14b)]),gameLog[o(0x159)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[o(0x14b)])):gameLog[o(0x159)](o(0x13b)+this[o(0x14b)]+':\x20'+a['name']);}[a31h(0x164)](a){const p=a31h;this[p(0x134)]=a,gameLog[p(0x159)](p(0x13e)+this[p(0x14b)]+':\x20'+a[p(0x137)]);}[a31h(0x151)](a){const q=a31h;switch(a){case q(0x138):return Direction[q(0x163)];case'south':return Direction[q(0x14e)];case q(0x12e):return Direction[q(0x147)];case'west':return Direction[q(0x14c)];case'up':return Direction[q(0x141)];case q(0x13a):return Direction['UP'];default:throw new Error(q(0x161)+a);}}[a31h(0x15e)](a){const r=a31h;for(const b of this['exits'][r(0x158)]()){if(b instanceof Door){if(b['roomA']===this&&b[r(0x13f)]===a||b[r(0x13f)]===this&&b[r(0x153)]===a)return b;}}return undefined;}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xd1))/0x1+parseInt(f(0xde))/0x2*(parseInt(f(0xcf))/0x3)+-parseInt(f(0xf8))/0x4*(-parseInt(f(0xc5))/0x5)+parseInt(f(0xc1))/0x6+parseInt(f(0xf7))/0x7+parseInt(f(0xd3))/0x8+parseInt(f(0xeb))/0x9*(-parseInt(f(0xcb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x9521b));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xcd)]()[h(0xe0)]('(((.+)+)+)+$')['toString']()[h(0xc7)](a44a)[h(0xe0)](h(0xe4));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xc0;let f=c[d];return f;},a44d(a,b);}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a44c(){const t=['description','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','getOppositeDirection','2gRRGDJ','.\x20Success:\x20','search','removeItem','Checking\x20if\x20exit\x20in\x20direction\x20','east','(((.+)+)+)+$','getInstance','addItem','WEST','exits','SOUTH','south','19133649TaQvKU','hasItem','NORTH','Invalid\x20direction:\x20','write','DOWN','roomType','roomA','checkIfLocked','inventory','Puzzle\x20set\x20for\x20room\x20','Room\x20created:\x20','2566368jlNfuI','100bDvUyG','puzzle','attemptUnlock','down','5603058Xypiqj','EAST','set','findExistingDoor','39220WEwfnq','get','constructor','Item\x20removed\x20from\x20room\x20','values','\x20remains\x20locked.','10oYvXjj','The\x20','toString','name','2706447bQzRix','roomB','43820nJVhbz','isExitLocked','3055264btqvDh','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','Fetching\x20exit\x20in\x20direction:\x20','west','\x20is\x20locked.\x20Result:\x20','apply','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.'];a44c=function(){return t;};return a44c();}const gameLog=Logger[a44i(0xe5)]();export class Room{['name'];[a44i(0xda)];[a44i(0xe8)]=new Map();[a44i(0xf4)]=new Inventory();[a44i(0xf9)];['roomType'];constructor(a){const j=a44i;this[j(0xce)]=a[j(0xce)],this[j(0xda)]=a[j(0xda)],this[j(0xf1)]=a['roomType']||RoomType['INSIDE'],a[j(0xe8)]&&(this[j(0xe8)]=a[j(0xe8)]),a['inventory']&&(this[j(0xf4)]=a[j(0xf4)]),a[j(0xf9)]&&(this[j(0xf9)]=a['puzzle']),gameLog['write'](j(0xf6)+this['name']);}['addExit'](a,b,c){const k=a44i;let d=this[k(0xc4)](b);!d&&(d=new Door(this,b,Boolean(c),c)),this[k(0xe8)][k(0xc3)](a,d),b[k(0xe8)][k(0xc3)](this[k(0xdd)](a),d);}['attemptUnlockExit'](a,b){const l=a44i,c=this[l(0xe8)]['get'](a);if(c instanceof Door){const d=c[l(0xfa)](b);return gameLog[l(0xef)](l(0xdc)+a+l(0xdf)+d),d?l(0xcc)+c[l(0xce)]+'\x20unlocked!':l(0xcc)+c['name']+l(0xca);}return gameLog[l(0xef)](l(0xdb)+a),l(0xd9);}['getExit'](a){const m=a44i;return gameLog[m(0xef)](m(0xd5)+a),this[m(0xe8)][m(0xc6)](a);}[a44i(0xd2)](a){const n=a44i,b=this[n(0xe8)]['get'](a),c=b instanceof Door&&b[n(0xf3)]();return gameLog[n(0xef)](n(0xe2)+a+n(0xd7)+c),c;}['addItem'](a){const o=a44i;this['inventory'][o(0xe6)](a),gameLog[o(0xef)]('Item\x20added\x20to\x20room\x20'+this[o(0xce)]+':\x20'+a[o(0xce)]);}[a44i(0xe1)](a){const p=a44i;this[p(0xf4)][p(0xec)](a['name'])?(this[p(0xf4)][p(0xe1)](a[p(0xce)]),gameLog[p(0xef)](p(0xc8)+this[p(0xce)]+':\x20'+a['name'])):gameLog[p(0xef)](p(0xd4)+this[p(0xce)]+':\x20'+a[p(0xce)]);}['setPuzzle'](a){const q=a44i;this[q(0xf9)]=a,gameLog[q(0xef)](q(0xf5)+this[q(0xce)]+':\x20'+a['riddle']);}[a44i(0xdd)](a){const r=a44i;switch(a){case'north':return Direction[r(0xe9)];case r(0xea):return Direction[r(0xed)];case r(0xe3):return Direction[r(0xe7)];case r(0xd6):return Direction[r(0xc2)];case'up':return Direction[r(0xf0)];case r(0xc0):return Direction['UP'];default:throw new Error(r(0xee)+a);}}['findExistingDoor'](a){const s=a44i;for(const b of this[s(0xe8)][s(0xc9)]()){if(b instanceof Door){if(b[s(0xf2)]===this&&b[s(0xd0)]===a||b['roomB']===this&&b[s(0xf2)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a32i=a32d;(function(a,b){const f=a32d,c=a();while(!![]){try{const d=parseInt(f(0x185))/0x1*(parseInt(f(0x174))/0x2)+parseInt(f(0x167))/0x3*(parseInt(f(0x183))/0x4)+-parseInt(f(0x16e))/0x5+-parseInt(f(0x17b))/0x6*(-parseInt(f(0x184))/0x7)+parseInt(f(0x188))/0x8+parseInt(f(0x17e))/0x9+-parseInt(f(0x17c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x74fe3));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a32d;if(c){const e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const h=a32d;return a32a[h(0x170)]()[h(0x16f)](h(0x16d))[h(0x170)]()['constructor'](a32a)[h(0x16f)](h(0x16d));});a32a();function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x161;let f=c[d];return f;},a32d(a,b);}import{Logger}from'../utilities/logger.js';function a32c(){const o=['map','(((.+)+)+)+$','652165zTKdly','search','toString','Added\x20room\x20to\x20scene:\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','getInstance','4aVEszN','rooms','Added\x20item\x20','Added\x20puzzle\x20to\x20room\x20','addPuzzleToRoom','addItemToRoom','logger','6NkuujR','7169470KlGzAd','Removed\x20room\x20from\x20scene:\x20','1648737etCSKj','find','filter','\x20not\x20found\x20in\x20scene.','addRoom','224USvwlh','4508455uCWoFL','104413aFMJLi','removeRoom','apply','1675736pWTEbg','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','\x20to\x20room\x20','write','addItem','.\x20Room\x20','Scene\x20initialized\x20with\x20rooms:\x20','4341HzlOQD','Failed\x20to\x20add\x20item\x20','join','name','setPuzzle'];a32c=function(){return o;};return a32c();}export class Scene{[a32i(0x175)];[a32i(0x17a)];constructor(a){const j=a32i;this[j(0x175)]=a[j(0x175)],this['logger']=Logger[j(0x173)](),this['logger'][j(0x163)](j(0x166)+this['rooms'][j(0x16c)](b=>b['name'])[j(0x169)](',\x20'));}[a32i(0x182)](a){const k=a32i;this['rooms']['push'](a),this['logger'][k(0x163)](k(0x171)+a[k(0x16a)]);}[a32i(0x186)](a){const l=a32i,b=this['rooms']['length'];this[l(0x175)]=this[l(0x175)][l(0x180)](d=>d[l(0x16a)]!==a);const c=this[l(0x175)]['length']<b;return c?this[l(0x17a)]['write'](l(0x17d)+a):this['logger'][l(0x163)](l(0x161)+a),c;}[a32i(0x179)](a,b){const m=a32i,c=this[m(0x175)][m(0x17f)](d=>d[m(0x16a)]===b);c?(c[m(0x164)](a),this[m(0x17a)]['write'](m(0x176)+a[m(0x16a)]+m(0x162)+c[m(0x16a)])):this[m(0x17a)][m(0x163)](m(0x168)+a['name']+m(0x165)+b+m(0x181));}[a32i(0x178)](a,b){const n=a32i,c=this[n(0x175)][n(0x17f)](d=>d[n(0x16a)]===b);c?(c[n(0x16b)](a),this[n(0x17a)][n(0x163)](n(0x177)+c[n(0x16a)])):this[n(0x17a)][n(0x163)](n(0x172)+b+n(0x181));}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x197))/0x1*(parseInt(f(0x1a9))/0x2)+parseInt(f(0x183))/0x3+parseInt(f(0x186))/0x4*(parseInt(f(0x190))/0x5)+parseInt(f(0x18a))/0x6*(-parseInt(f(0x1a8))/0x7)+parseInt(f(0x18b))/0x8*(-parseInt(f(0x188))/0x9)+-parseInt(f(0x19a))/0xa+parseInt(f(0x17f))/0xb*(parseInt(f(0x185))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x81c79));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x17f;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x193)]('(((.+)+)+)+$')[h(0x1a3)]()['constructor'](a45a)[h(0x193)](h(0x18c));});function a45c(){const q=['length','14Sazajb','push','addItem','3688660FoyNFh','Scene\x20initialized\x20with\x20rooms:\x20','filter','Failed\x20to\x20set\x20','\x20is\x20now\x20in\x20room\x20','addRoom','logger','write','\x27s\x20location.\x20Room\x20','toString','Failed\x20to\x20add\x20puzzle.\x20Room\x20','rooms','Removed\x20room\x20from\x20scene:\x20','Added\x20item\x20','1790096KHuYDZ','52718SNdpqN','find','5898409rwCenw','Added\x20puzzle\x20to\x20room\x20','name','map','1755264WWAcRr','Added\x20room\x20to\x20scene:\x20','24iHjsmd','788JTozNM','removeRoom','1269090QSdrhf','addPuzzleToRoom','6qQKVKn','48FQkGit','(((.+)+)+)+$','setPuzzle','\x20not\x20found\x20in\x20scene.','characterLocations','18115OtxRhy','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','apply','search','setCharacterLocation','set'];a45c=function(){return q;};return a45c();}a45a();import{Logger}from'../utilities/logger.js';export class Scene{[a45i(0x1a5)];[a45i(0x1a0)];[a45i(0x18f)]=new Map();constructor(a){const j=a45i;this[j(0x1a5)]=a['rooms'],this['logger']=Logger['getInstance'](),this[j(0x1a0)][j(0x1a1)](j(0x19b)+this[j(0x1a5)][j(0x182)](b=>b[j(0x181)])['join'](',\x20'));}[a45i(0x19f)](a){const k=a45i;this[k(0x1a5)][k(0x198)](a),this[k(0x1a0)][k(0x1a1)](k(0x184)+a[k(0x181)]);}[a45i(0x187)](a){const l=a45i,b=this[l(0x1a5)][l(0x196)];this['rooms']=this[l(0x1a5)][l(0x19c)](d=>d[l(0x181)]!==a);const c=this['rooms'][l(0x196)]<b;return c?this[l(0x1a0)]['write'](l(0x1a6)+a):this[l(0x1a0)][l(0x1a1)](l(0x191)+a),c;}['addItemToRoom'](a,b){const m=a45i,c=this[m(0x1a5)][m(0x1aa)](d=>d['name']===b);c?(c[m(0x199)](a),this[m(0x1a0)]['write'](m(0x1a7)+a['name']+'\x20to\x20room\x20'+c[m(0x181)])):this[m(0x1a0)][m(0x1a1)]('Failed\x20to\x20add\x20item\x20'+a[m(0x181)]+'.\x20Room\x20'+b+m(0x18e));}[a45i(0x189)](a,b){const n=a45i,c=this[n(0x1a5)]['find'](d=>d[n(0x181)]===b);c?(c[n(0x18d)](a),this['logger']['write'](n(0x180)+c[n(0x181)])):this[n(0x1a0)][n(0x1a1)](n(0x1a4)+b+n(0x18e));}[a45i(0x194)](a,b){const o=a45i,c=this[o(0x1a5)]['find'](d=>d[o(0x181)]===b);c?(this[o(0x18f)][o(0x195)](a[o(0x181)],c),this['logger'][o(0x1a1)](a[o(0x181)]+o(0x19e)+c[o(0x181)])):this[o(0x1a0)][o(0x1a1)](o(0x19d)+a[o(0x181)]+o(0x1a2)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const p=a45i;return this[p(0x18f)]['get'](a[p(0x181)]);}}
@@ -1 +1 @@
1
- var a33j=a33d;function a33c(){var t=['Grey','use','Common','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','10fCPiNV','Yellow','2jQCpLF','1601073wgMOBv','Blade','publishDate','Rectangle','author','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Weapon','name','12278jDkTUc','9Oyedgq','Metallic','Short\x20Sword','Gold','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','You\x20hold\x20the\x20','Sniper\x20Rifle','search','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Key','Legendary','Smooth','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','toString','(((.+)+)+)+$','830515LoYTjD','290756qdbtCu','Holy\x20Grail','Circle','310368QpKdvy','4356374GzXhXe','pageCount','Cup','184564RxWhDi','apply','\x20aloft,\x20feeling\x20its\x20immense\x20power.','272vntekj','constructor','A\x20mysterious\x20book.','Brown'];a33c=function(){return t;};return a33c();}(function(a,b){var f=a33d,c=a();while(!![]){try{var d=-parseInt(f(0x16f))/0x1*(parseInt(f(0x153))/0x2)+parseInt(f(0x15d))/0x3*(-parseInt(f(0x176))/0x4)+parseInt(f(0x16e))/0x5+-parseInt(f(0x172))/0x6+parseInt(f(0x15c))/0x7*(-parseInt(f(0x179))/0x8)+parseInt(f(0x154))/0x9+parseInt(f(0x151))/0xa*(parseInt(f(0x173))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x30b43));var a33b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a33d;if(c){var e=c[g(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){var h=a33d;return a33a[h(0x16c)]()['search']('(((.+)+)+)+$')[h(0x16c)]()[h(0x17a)](a33a)[h(0x164)](h(0x16d));});a33a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';function a33d(a,b){var c=a33c();return a33d=function(d,e){d=d-0x151;var f=c[d];return f;},a33d(a,b);}export class Key extends Item{constructor(a,b){var i=a33d;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[i(0x166)],'shape':Shape['Rectangle'],'color':Color[i(0x152)],'texture':Texture[i(0x168)],'rating':Rating[i(0x17f)],'weight':0x0});}[a33j(0x17e)](){var k=a33j;return k(0x16a);}}export class Book extends Item{[a33j(0x158)];[a33j(0x156)];['pageCount'];constructor(a,b=a33j(0x17b),c='Unknown\x20Author'){var l=a33j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Book'],'shape':Shape[l(0x157)],'color':Color[l(0x17c)],'texture':Texture[l(0x168)],'rating':Rating[l(0x17f)],'weight':0x1}),this[l(0x158)]=c,this['publishDate']=new Date(),this[l(0x174)]=0x64;}['use'](){var m=a33j;return m(0x165);}}export class ShortSword extends Item{constructor(){var n=a33j;super({'name':n(0x15f),'description':n(0x159),'size':Size['Medium'],'category':Category[n(0x15a)],'shape':Shape[n(0x155)],'color':Color[n(0x17d)],'texture':Texture['Metallic'],'rating':Rating[n(0x17f)],'weight':0x3});}[a33j(0x17e)](){var o=a33j;return o(0x16b);}}export class SniperRifle extends Item{constructor(){var p=a33j;super({'name':p(0x163),'description':p(0x180),'size':Size['Large'],'category':Category[p(0x15a)],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[p(0x168)],'rating':Rating[p(0x17f)],'weight':0x5});}[a33j(0x17e)](){var q=a33j;return q(0x169);}}export class HolyGrail extends Item{constructor(){var r=a33j;super({'name':r(0x170),'description':r(0x161),'size':Size['Small'],'category':Category[r(0x175)],'shape':Shape[r(0x171)],'color':Color[r(0x160)],'texture':Texture[r(0x15e)],'rating':Rating[r(0x167)],'weight':0x1});}[a33j(0x17e)](){var s=a33j;return s(0x162)+this[s(0x15b)]+s(0x178);}}
1
+ var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x127))/0x1*(-parseInt(f(0x106))/0x2)+-parseInt(f(0x11a))/0x3+parseInt(f(0x107))/0x4+-parseInt(f(0x10b))/0x5*(parseInt(f(0x108))/0x6)+-parseInt(f(0x113))/0x7*(parseInt(f(0x10d))/0x8)+-parseInt(f(0x100))/0x9*(-parseInt(f(0x101))/0xa)+parseInt(f(0x10e))/0xb*(parseInt(f(0x111))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x73fc3));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xfe;var f=c[d];return f;},a46d(a,b);}function a46c(){var r=['814644ZxYdkc','5670228oLKSXU','toString','author','5SQXXHF','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','24ThScAy','1218382CaCNVC','constructor','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','228BSKZLw','Metallic','1224482zAKAzG','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','(((.+)+)+)+$','Small','Circle','Sniper\x20Rifle','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','1664085JBxVNl','search','Large','Smooth','Medium','Brown','pageCount','You\x20hold\x20the\x20','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Legendary','Rectangle','Gold','Blade','19739HbIxjt','publishDate','Tiny','use','Weapon','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','name','3615102wfpAMH','20uzxumL','Unknown\x20Author','Cup','Common','Rifle','62pVasdR'];a46c=function(){return r;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x109)]()[g(0x11b)]('(((.+)+)+)+$')[g(0x109)]()[g(0x10f)](a46a)[g(0x11b)](g(0x115));});a46a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class Key extends Item{constructor(a,b){var h=a46d;super({'name':a,'description':b,'size':Size[h(0x129)],'category':Category['Key'],'shape':Shape['Rectangle'],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[h(0x104)],'weight':0x0});}[a46i(0x12a)](){var j=a46i;return j(0x119);}}export class Book extends Item{[a46i(0x10a)];[a46i(0x128)];[a46i(0x120)];constructor(a,b='A\x20mysterious\x20book.',c=a46i(0x102)){var k=a46i;super({'name':a,'description':b,'size':Size[k(0x11e)],'category':Category['Book'],'shape':Shape[k(0x124)],'color':Color[k(0x11f)],'texture':Texture[k(0x11d)],'rating':Rating['Common'],'weight':0x1}),this[k(0x10a)]=c,this[k(0x128)]=new Date(),this[k(0x120)]=0x64;}[a46i(0x12a)](){var l=a46i;return l(0x114);}}export class ShortSword extends Item{constructor(){var m=a46i;super({'name':'Short\x20Sword','description':m(0x10c),'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[m(0x126)],'color':Color['Grey'],'texture':Texture[m(0x112)],'rating':Rating[m(0x104)],'weight':0x3});}[a46i(0x12a)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var n=a46i;super({'name':n(0x118),'description':n(0xfe),'size':Size[n(0x11c)],'category':Category[n(0x12b)],'shape':Shape[n(0x105)],'color':Color[n(0x11f)],'texture':Texture[n(0x11d)],'rating':Rating[n(0x104)],'weight':0x5});}[a46i(0x12a)](){var o=a46i;return o(0x110);}}export class HolyGrail extends Item{constructor(){var p=a46i;super({'name':'Holy\x20Grail','description':p(0x122),'size':Size[p(0x116)],'category':Category[p(0x103)],'shape':Shape[p(0x117)],'color':Color[p(0x125)],'texture':Texture['Metallic'],'rating':Rating[p(0x123)],'weight':0x1});}['use'](){var q=a46i;return q(0x121)+this[q(0xff)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x17e))/0x1+-parseInt(f(0x185))/0x2*(-parseInt(f(0x17b))/0x3)+-parseInt(f(0x18e))/0x4*(parseInt(f(0x175))/0x5)+-parseInt(f(0x178))/0x6+-parseInt(f(0x171))/0x7+parseInt(f(0x189))/0x8*(parseInt(f(0x172))/0x9)+parseInt(f(0x17c))/0xa*(parseInt(f(0x170))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x3797e));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x187)]()[h(0x191)](h(0x177))[h(0x187)]()['constructor'](a35a)[h(0x191)]('(((.+)+)+)+$');});a35a();import{RoomType,Direction}from'../types/enums.js';import{Room}from'../models/room.js';import{Puzzle}from'../models/puzzle.js';import{Key,SniperRifle,HolyGrail,Book}from'./items.js';function a35c(){const j=['20ifwKTr','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','(((.+)+)+)+$','1468392RdxMDO','NORTH','Library','3byKwqQ','12320NanWMj','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','4828vmnkXS','apply','secret123','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','SOUTH','Watch\x20Tower','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','853822rnhltn','addItem','toString','name','204136dcHWeH','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','Courtyard','Chad\x20the\x20stupid\x20guard','You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','444348RqbCPx','A\x20thin\x20log\x20book','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','search','addExit','Treasure\x20Room','That\x20passcode\x20is\x20incorrect','3773AvQodo','2174368UJgdDq','135UKQOoR','OUTSIDE','setPuzzle'];a35c=function(){return j;};return a35c();}const library=new Room({'name':a35i(0x17a),'description':a35i(0x18a)}),secretPassage=new Room({'name':'Secret\x20Passage','description':a35i(0x176)}),treasureRoom=new Room({'name':a35i(0x16e),'description':a35i(0x181)}),courtyard=new Room({'name':a35i(0x18b),'description':a35i(0x190),'roomType':RoomType[a35i(0x173)]}),watchTower=new Room({'name':a35i(0x183),'description':a35i(0x17d),'roomType':RoomType['OUTSIDE']}),gunCabinetPuzzle=new Puzzle({'requiredPhrase':a35i(0x180),'riddle':'A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','rewardItem':new SniperRifle(),'successMessage':a35i(0x18d),'failureMessage':a35i(0x16f)}),goldenKey=new Key('Golden\x20Key',a35i(0x184)),logBook=new Book('Guard\x27s\x20Log\x20Book',a35i(0x18f),a35i(0x18c)),holyGrail=new HolyGrail();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x16d;let f=c[d];return f;},a35d(a,b);}library[a35i(0x186)](goldenKey),library[a35i(0x186)](logBook),watchTower[a35i(0x174)](gunCabinetPuzzle),treasureRoom[a35i(0x186)](holyGrail),library['addExit'](Direction['EAST'],secretPassage),secretPassage[a35i(0x16d)](Direction[a35i(0x179)],treasureRoom,goldenKey[a35i(0x188)]),secretPassage['addExit'](Direction[a35i(0x182)],courtyard),courtyard[a35i(0x16d)](Direction['UP'],watchTower);const rooms={'library':library,'secretPassage':secretPassage,'treasureRoom':treasureRoom,'courtyard':courtyard,'watchTower':watchTower};export default rooms;
1
+ const a48h=a48d;function a48c(){const i=['6678287yQXkLh','3349917xWQFvp','174740koPOiq','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','secret123','constructor','Golden\x20Key','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','Watch\x20Tower','18797390ObVEEH','27068VcFSSQ','addItem','7052NSdsUj','167NQhXGb','11076800dSzeXA','OUTSIDE','6KgAMrH','Guard\x27s\x20Log\x20Book','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','417TFCRLo','addExit','SOUTH','That\x20passcode\x20is\x20incorrect','search','NORTH','setPuzzle','Courtyard','(((.+)+)+)+$','Library','name'];a48c=function(){return i;};return a48c();}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xe3))/0x1*(parseInt(f(0xe2))/0x2)+-parseInt(f(0xe9))/0x3*(parseInt(f(0xff))/0x4)+parseInt(f(0xf6))/0x5*(parseInt(f(0xe6))/0x6)+parseInt(f(0xf4))/0x7+-parseInt(f(0xe4))/0x8+-parseInt(f(0xf5))/0x9+parseInt(f(0xfe))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xb9950));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a['toString']()['search']('(((.+)+)+)+$')['toString']()[g(0xfa)](a48a)[g(0xed)](g(0xf1));});a48a();import{RoomType,Direction}from'../types/enums.js';import{Room}from'../models/room.js';import{Puzzle}from'../models/puzzle.js';import{Key,SniperRifle,HolyGrail,Book}from'./items.js';const library=new Room({'name':a48h(0xf2),'description':'A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]'}),secretPassage=new Room({'name':'Secret\x20Passage','description':a48h(0xe8)}),treasureRoom=new Room({'name':'Treasure\x20Room','description':a48h(0xfc)}),courtyard=new Room({'name':a48h(0xf0),'description':'A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','roomType':RoomType[a48h(0xe5)]}),watchTower=new Room({'name':a48h(0xfd),'description':a48h(0xf7),'roomType':RoomType[a48h(0xe5)]}),gunCabinetPuzzle=new Puzzle({'requiredPhrase':a48h(0xf9),'riddle':'A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','rewardItem':new SniperRifle(),'successMessage':a48h(0xf8),'failureMessage':a48h(0xec)}),goldenKey=new Key(a48h(0xfb),'A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.'),logBook=new Book(a48h(0xe7),'A\x20thin\x20log\x20book','Chad\x20the\x20stupid\x20guard'),holyGrail=new HolyGrail();library[a48h(0xe1)](goldenKey),library['addItem'](logBook),watchTower[a48h(0xef)](gunCabinetPuzzle),treasureRoom['addItem'](holyGrail),library[a48h(0xea)](Direction['EAST'],secretPassage),secretPassage['addExit'](Direction[a48h(0xee)],treasureRoom,goldenKey[a48h(0xf3)]),secretPassage[a48h(0xea)](Direction[a48h(0xeb)],courtyard),courtyard[a48h(0xea)](Direction['UP'],watchTower);const rooms={'library':library,'secretPassage':secretPassage,'treasureRoom':treasureRoom,'courtyard':courtyard,'watchTower':watchTower};function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xe1;let f=c[d];return f;},a48d(a,b);}export default rooms;
@@ -1 +1 @@
1
- (function(a,b){var k=a36d,c=a();while(!![]){try{var d=-parseInt(k(0x148))/0x1+parseInt(k(0x185))/0x2*(-parseInt(k(0x18e))/0x3)+-parseInt(k(0x179))/0x4+-parseInt(k(0x183))/0x5*(parseInt(k(0x155))/0x6)+-parseInt(k(0x169))/0x7+-parseInt(k(0x164))/0x8*(parseInt(k(0x190))/0x9)+parseInt(k(0x14e))/0xa*(parseInt(k(0x170))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xdb2d7));export var Size;(function(a){var l=a36d;a['Tiny']='tiny',a[l(0x186)]=l(0x18b),a[l(0x143)]=l(0x17f),a[l(0x174)]='large',a[l(0x176)]='very\x20large';}(Size||(Size={})));export var Rating;(function(a){var m=a36d;a[m(0x180)]='common',a[m(0x182)]=m(0x159),a[m(0x18a)]=m(0x197);}(Rating||(Rating={})));export var Category;(function(a){var n=a36d;a['Weapon']=n(0x18c),a[n(0x163)]='shield',a[n(0x171)]='key',a[n(0x187)]='gloves',a['Helmet']=n(0x184),a[n(0x16a)]=n(0x158),a[n(0x194)]=n(0x17c),a[n(0x151)]=n(0x17e),a[n(0x14c)]='arm\x20armor',a[n(0x19a)]=n(0x172),a['Book']=n(0x181),a[n(0x18f)]=n(0x165);}(Category||(Category={})));export var Shape;(function(a){var o=a36d;a['Circle']=o(0x16b),a[o(0x145)]='square',a['Triangle']='triangle',a['Rectangle']=o(0x15d),a[o(0x15e)]='blade',a[o(0x193)]='rifle';}(Shape||(Shape={})));function a36c(){var v=['Large','purple','VeryLarge','forest','Grainy','3459336XlpqaP','down','underground','boots','Orange','leg\x20armor','medium','Common','book','Rare','2298295pNdOGm','helmet','6XYtFxx','Small','Gloves','rough','Red','Legendary','small','weapon','Grey','1228563hyhkjH','Cup','193203lACSzD','outside','INSIDE','Rifle','Boots','yellow','blue','legendary','Smooth','north','BodyArmor','smooth','NORTH','apply','Medium','toString','Square','(((.+)+)+)+$','east','401236zHgehO','DESERT','orange','metallic','ArmArmor','TOWER','51368870efxFPy','red','Metallic','LegArmor','EAST','beach','sea','6GpbzAc','Rough','inside','hat','rare','green','grainy','SEA','rectangle','Blade','Bumpy','MOUNTAIN','search','Purple','Shield','352hXbYph','cup','BEACH','CAVE','bumpy','2382072UlJrzC','Hat','circle','Yellow','gold','tower','constructor','11Mjzelo','Key','body\x20armor','Fuzzy'];a36c=function(){return v;};return a36c();}export var Color;(function(a){var p=a36d;a[p(0x189)]=p(0x14f),a['Blue']=p(0x196),a['Green']=p(0x15a),a[p(0x16c)]=p(0x195),a[p(0x17d)]=p(0x14a),a[p(0x162)]=p(0x175),a[p(0x18d)]='grey',a['Brown']='brown',a['Gold']=p(0x16d);}(Color||(Color={})));export var Texture;(function(a){var q=a36d;a[q(0x198)]=q(0x19b),a[q(0x156)]=q(0x188),a[q(0x15f)]=q(0x168),a[q(0x173)]='fuzzy',a[q(0x178)]=q(0x15b),a[q(0x150)]=q(0x14b);}(Texture||(Texture={})));export var RoomType;(function(a){var r=a36d;a[r(0x192)]=r(0x157),a['OUTSIDE']=r(0x191),a['UNDERGROUND']=r(0x17b),a[r(0x167)]='cave',a[r(0x14d)]=r(0x16e),a['FOREST']=r(0x177),a[r(0x149)]='desert',a[r(0x160)]='mountain',a[r(0x166)]=r(0x153),a[r(0x15c)]=r(0x154);}(RoomType||(RoomType={})));export var Direction;function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x143;var f=c[d];return f;},a36d(a,b);}(function(c){var u=a36d,d=(function(){var f=!![];return function(g,h){var i=f?function(){var s=a36d;if(h){var j=h[s(0x19d)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var t=a36d;return e[t(0x144)]()[t(0x161)](t(0x146))[t(0x144)]()[t(0x16f)](e)[t(0x161)](t(0x146));});e(),c[u(0x19c)]=u(0x199),c[u(0x152)]=u(0x147),c['SOUTH']='south',c['WEST']='west',c['UP']='up',c['DOWN']=u(0x17a);}(Direction||(Direction={})));
1
+ (function(a,b){var k=a49d,c=a();while(!![]){try{var d=-parseInt(k(0xd9))/0x1+-parseInt(k(0xb1))/0x2*(parseInt(k(0xea))/0x3)+parseInt(k(0xba))/0x4+-parseInt(k(0xef))/0x5*(-parseInt(k(0xc4))/0x6)+parseInt(k(0xd1))/0x7*(-parseInt(k(0x103))/0x8)+parseInt(k(0xbc))/0x9*(-parseInt(k(0xb3))/0xa)+parseInt(k(0xc5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xdc75e));export var Size;(function(a){var l=a49d;a['Tiny']=l(0xf1),a[l(0xe4)]=l(0xbb),a[l(0xd5)]=l(0xad),a['Large']='large',a[l(0xe2)]=l(0xb0);}(Size||(Size={})));export var Rating;(function(a){var m=a49d;a[m(0xfd)]=m(0xae),a['Rare']='rare',a[m(0xf2)]=m(0xda);}(Rating||(Rating={})));export var Category;(function(a){var n=a49d;a[n(0xfb)]=n(0xfe),a[n(0xbe)]='shield',a[n(0xb6)]='key',a[n(0xb7)]=n(0x100),a[n(0xde)]='helmet',a[n(0xb9)]=n(0xc6),a[n(0x101)]=n(0xd7),a[n(0xdb)]=n(0xf5),a[n(0xdc)]=n(0xaf),a[n(0xbd)]=n(0xc3),a['Book']=n(0xe8),a[n(0xa8)]=n(0xac);}(Category||(Category={})));export var Shape;(function(a){var o=a49d;a[o(0xc7)]='circle',a[o(0xd6)]=o(0xcd),a['Triangle']=o(0xd2),a[o(0x106)]=o(0xc0),a[o(0xeb)]=o(0xb4),a['Rifle']=o(0xee);}(Shape||(Shape={})));export var Color;(function(a){var p=a49d;a['Red']=p(0xd0),a[p(0xff)]=p(0xc1),a[p(0xca)]=p(0xc2),a[p(0xf4)]=p(0xd8),a[p(0xf3)]=p(0xe6),a[p(0xbf)]=p(0xa9),a[p(0x105)]=p(0xed),a[p(0xe7)]=p(0x10c),a['Gold']='gold';}(Color||(Color={})));export var Texture;(function(c){var r=a49d,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 q=a49d;return e[q(0xcb)]()[q(0xd3)](q(0xf0))[q(0xcb)]()['constructor'](e)[q(0xd3)](q(0xf0));});e(),c[r(0xc9)]=r(0xe5),c[r(0x10a)]=r(0xf6),c[r(0x107)]=r(0xf8),c['Fuzzy']=r(0xaa),c[r(0xab)]=r(0xb5),c[r(0xce)]='metallic';}(Texture||(Texture={})));export var RoomType;(function(a){var s=a49d;a['INSIDE']=s(0xe3),a[s(0xe9)]=s(0xc8),a[s(0x108)]='underground',a[s(0xdf)]=s(0xcc),a[s(0x10b)]=s(0xd4),a['FOREST']=s(0x109),a['DESERT']='desert',a[s(0xfc)]=s(0xb8),a[s(0xf7)]='beach',a[s(0x102)]=s(0xcf);}(RoomType||(RoomType={})));export var Direction;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xa8;var f=c[d];return f;},a49d(a,b);}function a49c(){var u=['Key','Gloves','mountain','Hat','4274168HZVtyf','small','51381cpjzSi','BodyArmor','Shield','Purple','rectangle','blue','green','body\x20armor','12bLNOIM','5789740rlalnd','hat','Circle','outside','Smooth','Green','toString','cave','square','Metallic','sea','red','16247LQaPYa','triangle','search','tower','Medium','Square','boots','yellow','48514qmnvqW','legendary','LegArmor','ArmArmor','north','Helmet','CAVE','west','SOUTH','VeryLarge','inside','Small','smooth','orange','Brown','book','OUTSIDE','9cYZgCz','Blade','east','grey','rifle','3079495SGWvFL','(((.+)+)+)+$','tiny','Legendary','Orange','Yellow','leg\x20armor','rough','BEACH','bumpy','down','south','Weapon','MOUNTAIN','Common','weapon','Blue','gloves','Boots','SEA','1480MUfcRt','NORTH','Grey','Rectangle','Bumpy','UNDERGROUND','forest','Rough','TOWER','brown','Cup','purple','fuzzy','Grainy','cup','medium','common','arm\x20armor','very\x20large','956238aRYnMO','DOWN','20ZNyaFq','blade','grainy'];a49c=function(){return u;};return a49c();}(function(a){var t=a49d;a[t(0x104)]=t(0xdd),a['EAST']=t(0xec),a[t(0xe1)]=t(0xfa),a['WEST']=t(0xe0),a['UP']='up',a[t(0xb2)]=t(0xf9);}(Direction||(Direction={})));
@@ -1 +1 @@
1
- (function(a,b){var f=a37d,c=a();while(!![]){try{var d=parseInt(f(0x155))/0x1*(parseInt(f(0x157))/0x2)+-parseInt(f(0x152))/0x3+parseInt(f(0x15a))/0x4+-parseInt(f(0x154))/0x5*(parseInt(f(0x156))/0x6)+-parseInt(f(0x151))/0x7*(parseInt(f(0x15b))/0x8)+parseInt(f(0x159))/0x9+parseInt(f(0x153))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x44fd4));function a37d(a,b){var c=a37c();return a37d=function(d,e){d=d-0x14d;var f=c[d];return f;},a37d(a,b);}var a37b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a37d;if(c){var e=c[g(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){var h=a37d;return a37a[h(0x14d)]()[h(0x158)](h(0x150))['toString']()[h(0x14f)](a37a)[h(0x158)](h(0x150));});a37a();export{};function a37c(){var i=['589608AKTJyY','15152oYwTAP','toString','apply','constructor','(((.+)+)+)+$','1687GiazmP','1658031oILkzV','10856630lFxdJo','8535ATCudK','923pDOuVM','1758Jgczya','956ElalXR','search','1058427ZlmLOt'];a37c=function(){return i;};return a37c();}
1
+ (function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x86))/0x1+-parseInt(f(0x88))/0x2+parseInt(f(0x8a))/0x3+-parseInt(f(0x85))/0x4*(-parseInt(f(0x7d))/0x5)+-parseInt(f(0x7f))/0x6+parseInt(f(0x84))/0x7*(parseInt(f(0x89))/0x8)+parseInt(f(0x87))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x607a9));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x7d;var f=c[d];return f;},a50d(a,b);}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x80)]()[h(0x82)](h(0x7e))['toString']()[h(0x83)](a50a)['search']('(((.+)+)+)+$');});a50a();export{};function a50c(){var i=['6104XjmTvY','694008XktRkO','5tBGBGg','(((.+)+)+)+$','4578216ZvQYsp','toString','apply','search','constructor','1631bVgilv','2864536usUGRV','599678BEPYTz','1671615IKgOXc','1504898KkSzun'];a50c=function(){return i;};return a50c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a38d,c=a();while(!![]){try{var d=-parseInt(f(0x12b))/0x1+parseInt(f(0x125))/0x2*(-parseInt(f(0x133))/0x3)+parseInt(f(0x126))/0x4*(parseInt(f(0x12e))/0x5)+-parseInt(f(0x130))/0x6*(parseInt(f(0x12a))/0x7)+-parseInt(f(0x132))/0x8*(parseInt(f(0x12f))/0x9)+parseInt(f(0x12c))/0xa+parseInt(f(0x12d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x55ba7));function a38d(a,b){var c=a38c();return a38d=function(d,e){d=d-0x125;var f=c[d];return f;},a38d(a,b);}var a38b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a38d;if(c){var e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){var h=a38d;return a38a[h(0x127)]()[h(0x128)](h(0x129))[h(0x127)]()[h(0x131)](a38a)[h(0x128)]('(((.+)+)+)+$');});a38a();function a38c(){var i=['5XWnFhY','226917zVQXUU','2802eIYwTp','constructor','8MIVYVf','892785mrKnIW','apply','4xbFDSr','1804300xWbLKG','toString','search','(((.+)+)+)+$','161mxjVrs','379757SjwsAm','5345680vqzMfG','4140411TQFjpk'];a38c=function(){return i;};return a38c();}export{};
1
+ (function(a,b){var f=a51d,c=a();while(!![]){try{var d=parseInt(f(0xc6))/0x1+-parseInt(f(0xcc))/0x2+parseInt(f(0xc4))/0x3+-parseInt(f(0xc9))/0x4*(parseInt(f(0xca))/0x5)+-parseInt(f(0xcd))/0x6*(parseInt(f(0xc8))/0x7)+parseInt(f(0xc7))/0x8+parseInt(f(0xcf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x81573));var a51b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a51d;if(c){var e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){var h=a51d;return a51a['toString']()[h(0xd0)](h(0xc5))[h(0xcb)]()['constructor'](a51a)[h(0xd0)](h(0xc5));});a51a();function a51c(){var i=['2247910qovSzt','toString','1072862jdOucy','5343942emBuzx','apply','8182215qjdARG','search','2188947amsLRM','(((.+)+)+)+$','31480EmyPeF','5889480iYffOK','7vizgSq','4YxHWQL'];a51c=function(){return i;};return a51c();}function a51d(a,b){var c=a51c();return a51d=function(d,e){d=d-0xc4;var f=c[d];return f;},a51d(a,b);}export{};
@@ -1 +1 @@
1
- (function(a,b){const t=a39d,c=a();while(!![]){try{const d=-parseInt(t(0xfd))/0x1*(-parseInt(t(0x122))/0x2)+parseInt(t(0x12e))/0x3*(-parseInt(t(0x139))/0x4)+parseInt(t(0x135))/0x5+parseInt(t(0x12a))/0x6+parseInt(t(0x148))/0x7+parseInt(t(0x107))/0x8+-parseInt(t(0xf3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x9c233));function a39c(){const C=['91978tjyUlZ','setRawMode','getOtherSide','stdin','screen','equip','getAllItems','OUTSIDE','1883682obPLej','Head:\x20','Arms:\x20','25%','3uLJEeG','getValue','unequip','\x20Inventory\x20','line','\x20Equipment\x20','clearValue','719270FHfwYV','Thanks\x20for\x20playing!','toString','(((.+)+)+)+$','2130412FnqIMq','render','arms','size','getInstance','rightHand','split','pushLine','apply','resume','setContent','box','leftHand','\x0aThere\x20are\x20no\x20exits\x20here.','\x20(Unlocked)','8829191SUjQnu','\x20Game\x20Log\x20','9290394JVoEEg','C-c','torso','player','feet','map','key','Gloves:\x20','Torso:\x20','70%','2ErQIty','search','scroll','clear','roomType','checkIfLocked','focus','yellow','constructor','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','3146528ktuGmE','inventory','10%','legs','take','textbox','white','None','<<<<<<<<---------\x20Terminating\x20game','append','Your\x20items\x20will\x20be\x20listed\x20here...','22%','getWelcomeMessage','lock','\x20(Locked)','cyan','45%','----->>>>>>\x20Initializing\x20Game','unlock','name','Available\x20exits\x20will\x20be\x20shown\x20here...','head','90%','exit','gloves','handleInput','75%'];a39c=function(){return C;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a39d;if(c){const e=c[u(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const v=a39d;return a39a[v(0x137)]()[v(0xfe)](v(0x138))[v(0x137)]()[v(0x105)](a39a)[v(0xfe)]('(((.+)+)+)+$');});a39a();import a39e from'blessed';import{capitalCase}from'change-case';import a39f from'./game.js';import{RoomType}from'./types/enums.js';import{Door}from'./models/door.js';import{Logger}from'./utilities/logger.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xf2;let f=c[d];return f;},a39d(a,b);}export async function main(a,b,c){const w=a39d,d=Logger[w(0x13d)](c['logFilePath']);process[w(0x125)][w(0x123)](!![]),process[w(0x125)][w(0x142)]();const e=a39e[w(0x126)]({'smartCSR':!![],'title':'Side\x20Quest\x20Adventure\x20Game'}),f=a39e[w(0x144)]({'top':'0%','left':w(0x121),'width':w(0x12d),'height':w(0x117),'border':{'type':'line'},'label':w(0x131),'content':w(0x111),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x104)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),g=o=>{const x=w,p=o[x(0x128)]()[x(0xf8)](q=>q['name']);f['setContent'](p['join']('\x0a')),e[x(0x13a)]();};e[w(0x110)](f);const h=a39e[w(0x144)]({'top':'45%','left':'75%','width':w(0x12d),'height':w(0x12d),'border':{'type':w(0x132)},'label':w(0x133),'content':w(0x106),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x104)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0x110)](h);function i(o){const y=w;h[y(0x143)](y(0x12b)+(o[y(0x11c)]?o['head'][y(0x11a)]:y(0x10e))+'\x0a'+(y(0xfb)+(o[y(0xf5)]?o[y(0xf5)][y(0x11a)]:'None')+'\x0a')+('Legs:\x20'+(o[y(0x10a)]?o[y(0x10a)][y(0x11a)]:y(0x10e))+'\x0a')+('Feet:\x20'+(o[y(0xf7)]?o[y(0xf7)][y(0x11a)]:y(0x10e))+'\x0a')+(y(0x12c)+(o[y(0x13b)]?o[y(0x13b)][y(0x11a)]:y(0x10e))+'\x0a')+(y(0xfa)+(o[y(0x11f)]?o['gloves'][y(0x11a)]:y(0x10e))+'\x0a')+('Left\x20Hand:\x20'+(o['leftHand']?o[y(0x145)]['name']:y(0x10e))+'\x0a')+('Right\x20Hand:\x20'+(o[y(0x13e)]?o[y(0x13e)][y(0x11a)]:y(0x10e))+'\x0a')),e[y(0x13a)]();}const j=a39e[w(0x144)]({'top':w(0xfc),'left':w(0x121),'width':w(0x12d),'height':w(0x112),'border':{'type':w(0x132)},'label':'\x20Exits\x20','content':w(0x11b),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x104)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e['append'](j);function k(o){const z=w;let p='';o['exits'][z(0x13c)]>0x0?o['exits']['forEach']((q,r)=>{const A=z;if(q instanceof Door){const s=q[A(0x124)](o);s[A(0x101)]===RoomType[A(0x129)]?p+=capitalCase(r)+':\x20'+s[A(0x11a)]:p+=capitalCase(r)+':\x20'+q[A(0x11a)];if(q[A(0x102)]())p+=A(0x115);else q['checkIfLockable']()&&(p+=A(0x147));p+='\x0a';}else p+=capitalCase(r)+'\x0a';}):p+=z(0x146),j[z(0x143)](p),e['render']();}const l=a39e['box']({'top':'0%','left':'0%','width':w(0x121),'height':w(0x11d),'border':{'type':w(0x132)},'label':w(0xf2),'scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x104)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});e['append'](l);const m=a39e[w(0x10c)]({'bottom':0x0,'left':0x0,'width':'100%','height':w(0x109),'tags':!![],'border':{'type':w(0x132)},'style':{'fg':w(0x10d),'border':{'fg':w(0x116)}},'keys':!![],'mouse':!![],'inputOnFocus':!![]});e[w(0x110)](m),e[w(0xf9)](['escape',w(0xf4)],()=>process[w(0x11e)](0x0)),m[w(0x103)](),e['render'](),d['write'](w(0x118));const n=a39f[w(0x13d)](a,b);l[w(0x143)](n[w(0x113)]()),i(n[w(0xf6)]['equipment']),g(n['player']['inventory']),k(n[w(0xf6)]['currentLocation']),m[w(0xf9)](['enter'],async()=>{const B=w,o=m[B(0x12f)](),p=n[B(0x120)](o);(o[B(0x13f)]('\x20')[0x0]===B(0x10b)||B(0x127)||B(0x130))&&(g(n[B(0xf6)][B(0x108)]),i(n[B(0xf6)]['equipment'])),(o['split']('\x20')[0x0]==='go'||B(0x114)||B(0x119))&&k(n[B(0xf6)]['currentLocation']),o['split']('\x20')[0x0]===B(0x100)&&l[B(0x143)](''),p===null&&(l[B(0x140)](B(0x136)),e[B(0x13a)](),d['write'](B(0x10f)),process[B(0x11e)](0x0)),l[B(0x140)](p),l[B(0xff)](0x1),m[B(0x134)](),m['focus'](),e['render']();});}
1
+ (function(a,b){const t=a52d,c=a();while(!![]){try{const d=parseInt(t(0x113))/0x1+-parseInt(t(0xf6))/0x2+-parseInt(t(0xe3))/0x3*(-parseInt(t(0xd3))/0x4)+-parseInt(t(0x102))/0x5*(parseInt(t(0x103))/0x6)+-parseInt(t(0xe0))/0x7+-parseInt(t(0xea))/0x8*(-parseInt(t(0xef))/0x9)+parseInt(t(0xcd))/0xa*(parseInt(t(0x111))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x288df));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a52d;if(c){const e=c[u(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const v=a52d;return a52a[v(0xdd)]()['search'](v(0x112))['toString']()[v(0xe2)](a52a)[v(0xe6)](v(0x112));});a52a();import a52e from'blessed';import{capitalCase}from'change-case';function a52c(){const C=['Feet:\x20','pushLine','stdin','1530832rqwivK','setContent','handleInput','take','\x20Exits\x20','9qzcsdq','getInstance','45%','focus','90%','escape','unequip','241024ViqGVT','100%','Your\x20items\x20will\x20be\x20listed\x20here...','append','clear','join','name','leftHand','legs','OUTSIDE','Gloves:\x20','resume','1085bDJdic','8898odjAax','feet','render','clearValue','----->>>>>>\x20Initializing\x20Game','torso','yellow','getWelcomeMessage','25%','player','forEach','<<<<<<<<---------\x20Terminating\x20game','10%','checkIfLocked','957SAFyBC','(((.+)+)+)+$','78622PLmfOO','key','enter','rightHand','Side\x20Quest\x20Adventure\x20Game','22%','line','Left\x20Hand:\x20','70%','split','inventory','size','equipment','cyan','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','box','Torso:\x20','None','36360CQrERs','arms','75%','Right\x20Hand:\x20','screen','unlock','4sTJcGa','write','\x20(Locked)','C-c','gloves','map','head','exit','exits','Thanks\x20for\x20playing!','toString','currentLocation','Head:\x20','352128xGIEJJ','lock','constructor','217290DWGPxv','apply','setRawMode','search'];a52c=function(){return C;};return a52c();}import a52f from'./game.js';import{RoomType}from'./types/enums.js';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0xc2;let f=c[d];return f;},a52d(a,b);}import{Door}from'./models/door.js';import{Logger}from'./utilities/logger.js';export async function main(a,b,c){const w=a52d,d=Logger['getInstance'](c['logFilePath']);process['stdin'][w(0xe5)](!![]),process[w(0xe9)][w(0x101)]();const e=a52e[w(0xd1)]({'smartCSR':!![],'title':w(0x117)}),f=a52e[w(0xca)]({'top':'0%','left':w(0xcf),'width':w(0x10b),'height':w(0xf1),'border':{'type':'line'},'label':'\x20Inventory\x20','content':w(0xf8),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x109)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),g=o=>{const x=w,p=o['getAllItems']()[x(0xd8)](q=>q[x(0xfc)]);f[x(0xeb)](p[x(0xfb)]('\x0a')),e['render']();};e[w(0xf9)](f);const h=a52e[w(0xca)]({'top':w(0xf1),'left':'75%','width':w(0x10b),'height':w(0x10b),'border':{'type':w(0x119)},'label':'\x20Equipment\x20','content':w(0xc9),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e[w(0xf9)](h);function i(o){const y=w;h[y(0xeb)](y(0xdf)+(o['head']?o[y(0xd9)][y(0xfc)]:'None')+'\x0a'+(y(0xcb)+(o[y(0x108)]?o['torso']['name']:y(0xcc))+'\x0a')+('Legs:\x20'+(o['legs']?o[y(0xfe)][y(0xfc)]:y(0xcc))+'\x0a')+(y(0xe7)+(o[y(0x104)]?o[y(0x104)][y(0xfc)]:'None')+'\x0a')+('Arms:\x20'+(o[y(0xce)]?o[y(0xce)][y(0xfc)]:y(0xcc))+'\x0a')+(y(0x100)+(o[y(0xd7)]?o['gloves'][y(0xfc)]:y(0xcc))+'\x0a')+(y(0xc2)+(o['leftHand']?o[y(0xfd)]['name']:y(0xcc))+'\x0a')+(y(0xd0)+(o[y(0x116)]?o[y(0x116)][y(0xfc)]:'None')+'\x0a')),e[y(0x105)]();}const j=a52e[w(0xca)]({'top':w(0xc3),'left':w(0xcf),'width':w(0x10b),'height':w(0x118),'border':{'type':w(0x119)},'label':w(0xee),'content':'Available\x20exits\x20will\x20be\x20shown\x20here...','tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});e['append'](j);function k(o){const z=w;let p='';o[z(0xdb)][z(0xc6)]>0x0?o[z(0xdb)][z(0x10d)]((q,r)=>{const A=z;if(q instanceof Door){const s=q['getOtherSide'](o);s['roomType']===RoomType[A(0xff)]?p+=capitalCase(r)+':\x20'+s['name']:p+=capitalCase(r)+':\x20'+q['name'];if(q[A(0x110)]())p+=A(0xd5);else q['checkIfLockable']()&&(p+='\x20(Unlocked)');p+='\x0a';}else p+=capitalCase(r)+'\x0a';}):p+='\x0aThere\x20are\x20no\x20exits\x20here.',j[z(0xeb)](p),e['render']();}const l=a52e[w(0xca)]({'top':'0%','left':'0%','width':w(0xcf),'height':w(0xf3),'border':{'type':w(0x119)},'label':'\x20Game\x20Log\x20','scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':w(0x109)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});e[w(0xf9)](l);const m=a52e['textbox']({'bottom':0x0,'left':0x0,'width':w(0xf7),'height':w(0x10f),'tags':!![],'border':{'type':'line'},'style':{'fg':'white','border':{'fg':w(0xc8)}},'keys':!![],'mouse':!![],'inputOnFocus':!![]});e[w(0xf9)](m),e[w(0x114)]([w(0xf4),w(0xd6)],()=>process[w(0xda)](0x0)),m[w(0xf2)](),e[w(0x105)](),d[w(0xd4)](w(0x107));const n=a52f[w(0xf0)](a,b);l['setContent'](n[w(0x10a)]()),i(n[w(0x10c)][w(0xc7)]),g(n[w(0x10c)][w(0xc5)]),k(n['player']['currentLocation']),m[w(0x114)]([w(0x115)],async()=>{const B=w,o=m['getValue'](),p=n[B(0xec)](o);(o['split']('\x20')[0x0]===B(0xed)||'equip'||B(0xf5))&&(g(n[B(0x10c)][B(0xc5)]),i(n['player']['equipment'])),(o[B(0xc4)]('\x20')[0x0]==='go'||B(0xe1)||B(0xd2))&&k(n[B(0x10c)][B(0xde)]),o['split']('\x20')[0x0]===B(0xfa)&&l[B(0xeb)](''),p===null&&(l[B(0xe8)](B(0xdc)),e[B(0x105)](),d[B(0xd4)](B(0x10e)),process['exit'](0x0)),l[B(0xe8)](p),l['scroll'](0x1),m[B(0x106)](),m['focus'](),e['render']();});}
@@ -1 +1 @@
1
- const a40j=a40d;(function(a,b){const h=a40d,c=a();while(!![]){try{const d=parseInt(h(0x140))/0x1+parseInt(h(0x13a))/0x2*(parseInt(h(0x138))/0x3)+-parseInt(h(0x14d))/0x4+parseInt(h(0x14c))/0x5*(parseInt(h(0x143))/0x6)+-parseInt(h(0x145))/0x7+-parseInt(h(0x146))/0x8+-parseInt(h(0x137))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x8400f));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const i=a40d;return a40a[i(0x147)]()[i(0x13b)]('(((.+)+)+)+$')[i(0x147)]()['constructor'](a40a)[i(0x13b)]('(((.+)+)+)+$');});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x137;let f=c[d];return f;},a40d(a,b);}a40a();import a40e from'fs';function a40c(){const o=['54XwEEMj','homedir','2301061rBNnRf','707792ZbUTMn','toString','[INFO]\x20[','toISOString','getInstance','write','491505PLolQd','3221792QmZaFr','1469385kYtPMi','224907PneXSe','join','2WfArsZ','search','side-quest.log','.maka','filePath','instance','966919waZzgZ','error','appendFileSync'];a40c=function(){return o;};return a40c();}import a40f from'os';import a40g from'path';const homeDir=a40f[a40j(0x144)]();export class Logger{static [a40j(0x13f)];[a40j(0x13e)];constructor(a){const k=a40j;this[k(0x13e)]=a;}static[a40j(0x14a)](a=a40g[a40j(0x139)](homeDir,a40j(0x13d),a40j(0x13c))){const l=a40j;return!Logger[l(0x13f)]&&(Logger[l(0x13f)]=new Logger(a)),Logger[l(0x13f)];}[a40j(0x14b)](a){const m=a40j,b=new Date()['toISOString']();a40e['appendFileSync'](this[m(0x13e)],m(0x148)+b+']\x20'+a+'\x0a');}[a40j(0x141)](a){const n=a40j,b=new Date()[n(0x149)]();a40e[n(0x142)](this[n(0x13e)],'[ERROR]\x20['+b+']\x20'+a+'\x0a');}}
1
+ function a53c(){const p=['join','constructor','399904SvTcch','133636hIRILV','filePath','1359819xTNpaN','(((.+)+)+)+$','side-quest.log','getInstance','appendFileSync','error','write','apply','603575juEECn','2338DGbctT','toISOString','search','57QNpeOV','13760WTZOJT','toString','36lMpZls','72455JokAAY','homedir','instance','6937640XxVoPK'];a53c=function(){return p;};return a53c();}const a53k=a53d;(function(a,b){const h=a53d,c=a();while(!![]){try{const d=-parseInt(h(0x1f0))/0x1+parseInt(h(0x1fe))/0x2+-parseInt(h(0x1f4))/0x3*(-parseInt(h(0x1ff))/0x4)+-parseInt(h(0x1f8))/0x5*(-parseInt(h(0x1f7))/0x6)+parseInt(h(0x1f1))/0x7*(-parseInt(h(0x1f5))/0x8)+parseInt(h(0x201))/0x9+parseInt(h(0x1fb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x8fab5));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a53d;if(c){const e=c[i(0x1ef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const j=a53d;return a53a[j(0x1f6)]()[j(0x1f3)](j(0x202))[j(0x1f6)]()[j(0x1fd)](a53a)[j(0x1f3)](j(0x202));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a53d(a,b);}import a53e from'fs';import a53f from'os';import a53g from'path';const homeDir=a53f[a53k(0x1f9)]();export class Logger{static ['instance'];[a53k(0x200)];constructor(a){const l=a53k;this[l(0x200)]=a;}static[a53k(0x1eb)](a=a53g[a53k(0x1fc)](homeDir,'.maka',a53k(0x203))){const m=a53k;return!Logger[m(0x1fa)]&&(Logger[m(0x1fa)]=new Logger(a)),Logger[m(0x1fa)];}[a53k(0x1ee)](a){const n=a53k,b=new Date()[n(0x1f2)]();a53e[n(0x1ec)](this[n(0x200)],'[INFO]\x20['+b+']\x20'+a+'\x0a');}[a53k(0x1ed)](a){const o=a53k,b=new Date()[o(0x1f2)]();a53e[o(0x1ec)](this['filePath'],'[ERROR]\x20['+b+']\x20'+a+'\x0a');}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xf4;let f=c[d];return f;},a41d(a,b);}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x105))/0x1+-parseInt(h(0xfa))/0x2*(-parseInt(h(0xf6))/0x3)+-parseInt(h(0x108))/0x4+-parseInt(h(0xf5))/0x5+parseInt(h(0xf8))/0x6+parseInt(h(0xfc))/0x7+parseInt(h(0x10c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x53e31));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x10b)]()[j(0x104)](j(0x107))[j(0x10b)]()[j(0xfe)](a41a)[j(0x104)](j(0x107));});a41a();import a41e from'path';import a41f from'./play.command.js';import{Command}from'../../command.js';import{main}from'./sideQuest/ui.js';function a41c(){const m=['apply','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...','1521640unoEEP','64797yzTXpK','side-quest.log','2825394naFLTD','create','26UKhUaE','Play\x20a\x20little\x20side-quest','1321327OUDvbE','maka\x20play:side-quest','constructor','stdout','write','getGlobalMakaDir','side-quest','debug','search','175561aEWDGb','player','(((.+)+)+)+$','2251756iCAEqc','join','Commoner','toString','758880kGGKEe'];a41c=function(){return m;};return a41c();}import a41g from'./sideQuest/scenes/rooms.js';import{Player}from'./sideQuest/models/player.js';Command[a41k(0xf9)]({'name':a41k(0x102),'usage':a41k(0xfd),'shortDesc':a41k(0xfb),'aliases':['sq'],'description':a41k(0xf4),'validOpts':[a41k(0x103),a41k(0x106)]},async function(a,b){const l=a41k,c=this['fsi'][l(0x101)](),d=a41e[l(0x109)](c,l(0xf7)),e=b[l(0x106)]?b['player']:l(0x10a),f=new Player({'playerName':e});process[l(0xff)][l(0x100)]('\x1bc');const g={...b,'logFilePath':d};main(f,a41g,g);},a41f);
1
+ const a54k=a54d;(function(a,b){const h=a54d,c=a();while(!![]){try{const d=parseInt(h(0x18b))/0x1+parseInt(h(0x177))/0x2*(parseInt(h(0x174))/0x3)+parseInt(h(0x184))/0x4*(-parseInt(h(0x188))/0x5)+-parseInt(h(0x185))/0x6+-parseInt(h(0x17a))/0x7+parseInt(h(0x181))/0x8*(-parseInt(h(0x178))/0x9)+parseInt(h(0x180))/0xa*(parseInt(h(0x170))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xa9e12));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a54d;if(c){const e=c[i(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a['toString']()[j(0x173)](j(0x17c))[j(0x182)]()[j(0x179)](a54a)[j(0x173)](j(0x17c));});a54a();import a54e from'path';function a54c(){const m=['20BWlxPB','16RKdgvC','toString','stdout','80980ARbpkA','6076428veMCon','create','join','295AGIabb','maka\x20play:side-quest','side-quest','1125739kYKCTc','19816181ugRlbc','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...','debug','search','6234YRFydQ','write','fsi','554NKgAkJ','5742486JMyJMj','constructor','7876120IbqHfm','Commoner','(((.+)+)+)+$','apply','side-quest.log','getGlobalMakaDir'];a54c=function(){return m;};return a54c();}import a54f from'./play.command.js';import{Command}from'../../command.js';import{main}from'./sideQuest/ui.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x170;let f=c[d];return f;},a54d(a,b);}import a54g from'./sideQuest/scenes/rooms.js';import{Player}from'./sideQuest/models/player.js';Command[a54k(0x186)]({'name':a54k(0x18a),'usage':a54k(0x189),'shortDesc':'Play\x20a\x20little\x20side-quest','aliases':['sq'],'description':a54k(0x171),'validOpts':[a54k(0x172),'player']},async function(a,b){const l=a54k,c=this[l(0x176)][l(0x17f)](),d=a54e[l(0x187)](c,l(0x17e)),e=b['player']?b['player']:l(0x17b),f=new Player({'playerName':e});process[l(0x183)][l(0x175)]('\x1bc');const g={...b,'logFilePath':d};main(f,a54g,g);},a54f);
@@ -1 +1 @@
1
- function a42c(){var k=['972ZkiACE','7oxVxwt','snake','8964472KQBXlc','2769HyIkkG','895290tXMOyT','apply','1069253JfcWxf','inherit','toString','(((.+)+)+)+$','27585cPLnLQ','10DTiarh','120wFfmMI','2402frHTvc','search','1128420dejhlQ','maka\x20game:snake','constructor','6343956mjJxwt','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake'];a42c=function(){return k;};return a42c();}var a42i=a42d;(function(a,b){var f=a42d,c=a();while(!![]){try{var d=parseInt(f(0xa7))/0x1+parseInt(f(0xae))/0x2*(-parseInt(f(0xb9))/0x3)+parseInt(f(0xb0))/0x4+-parseInt(f(0xab))/0x5*(parseInt(f(0xb5))/0x6)+-parseInt(f(0xb6))/0x7*(-parseInt(f(0xb8))/0x8)+-parseInt(f(0xb3))/0x9*(parseInt(f(0xac))/0xa)+-parseInt(f(0xba))/0xb*(-parseInt(f(0xad))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x8d460));var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a42d;if(c){var e=c[g(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var h=a42d;return a42a[h(0xa9)]()['search']('(((.+)+)+)+$')[h(0xa9)]()[h(0xb2)](a42a)[h(0xaf)](h(0xaa));});function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0xa6;var f=c[d];return f;},a42d(a,b);}a42a();import a42e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';Command['create']({'name':a42i(0xb7),'usage':a42i(0xb1),'shortDesc':a42i(0xb4),'validOpts':[]},async function(){var j=a42i;execSync('npx\x20command-line-snake',{'stdio':j(0xa8)});},a42e);
1
+ function a55c(){var k=['2984706tMkEab','npx\x20command-line-snake','144cyMmGl','maka\x20game:snake','(((.+)+)+)+$','inherit','16babGPv','constructor','41007KJtZGz','toString','apply','66590ZdSven','1426064AQbfvE','search','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','150391fOsPuZ','301KzRREw','snake','1546520UimcIu','57752WqVkaq'];a55c=function(){return k;};return a55c();}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1cd))/0x1+parseInt(f(0x1ca))/0x2+parseInt(f(0x1c6))/0x3*(-parseInt(f(0x1c4))/0x4)+-parseInt(f(0x1bc))/0x5+-parseInt(f(0x1be))/0x6+-parseInt(f(0x1ba))/0x7*(-parseInt(f(0x1bd))/0x8)+parseInt(f(0x1c0))/0x9*(parseInt(f(0x1c9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x66489));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1c7)]()[h(0x1cb)](h(0x1c2))[h(0x1c7)]()[h(0x1c5)](a55a)[h(0x1cb)](h(0x1c2));});a55a();import a55e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1ba;var f=c[d];return f;},a55d(a,b);}Command['create']({'name':a55i(0x1bb),'usage':a55i(0x1c1),'shortDesc':a55i(0x1cc),'validOpts':[]},async function(){var j=a55i;execSync(j(0x1bf),{'stdio':j(0x1c3)});},a55e);
@@ -1 +1 @@
1
- function a43c(){var k=['7836ImKXoH','(((.+)+)+)+$','apply','9IIKtfE','938736JqmKFM','npx\x20simple-tetris','39420xFRsyM','inherit','1671852tsThZm','1339219nKoUhE','150480YSbsdF','2715FmBuBI','253722gnycAd','Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','maka\x20game:tetris','search','toString','429MQgJdt','45flHluR'];a43c=function(){return k;};return a43c();}var a43i=a43d;(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x1e2))/0x1+parseInt(f(0x1e4))/0x2*(parseInt(f(0x1ee))/0x3)+-parseInt(f(0x1e0))/0x4+-parseInt(f(0x1e3))/0x5*(-parseInt(f(0x1eb))/0x6)+parseInt(f(0x1e1))/0x7+-parseInt(f(0x1dc))/0x8*(parseInt(f(0x1ea))/0x9)+-parseInt(f(0x1de))/0xa*(-parseInt(f(0x1e9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x8dbfb));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x1e8)]()[h(0x1e7)](h(0x1ec))[h(0x1e8)]()['constructor'](a43a)['search'](h(0x1ec));});a43a();import a43e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x1dc;var f=c[d];return f;},a43d(a,b);}Command['create']({'name':'tetris','usage':a43i(0x1e6),'shortDesc':a43i(0x1e5),'validOpts':[]},async function(){var j=a43i;execSync(j(0x1dd),{'stdio':j(0x1df)});},a43e);
1
+ var a56i=a56d;(function(a,b){var f=a56d,c=a();while(!![]){try{var d=-parseInt(f(0x1eb))/0x1+-parseInt(f(0x1f2))/0x2+parseInt(f(0x1f6))/0x3+parseInt(f(0x1f8))/0x4+-parseInt(f(0x1f4))/0x5*(-parseInt(f(0x1e6))/0x6)+-parseInt(f(0x1f7))/0x7*(parseInt(f(0x1f3))/0x8)+parseInt(f(0x1e8))/0x9*(parseInt(f(0x1ef))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x6043f));function a56d(a,b){var c=a56c();return a56d=function(d,e){d=d-0x1e5;var f=c[d];return f;},a56d(a,b);}var a56b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a56d;if(c){var e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){var h=a56d;return a56a['toString']()[h(0x1ed)](h(0x1e7))[h(0x1ec)]()['constructor'](a56a)[h(0x1ed)](h(0x1e7));});a56a();import a56e from'./play.command.js';function a56c(){var k=['1175004VQqNgh','create','6DLzuMM','(((.+)+)+)+$','2034873ORcLeY','apply','npx\x20simple-tetris','210084EUexGS','toString','search','Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','40eAnbXA','maka\x20game:tetris','inherit','919040eALtrS','584xQXqIB','2193830CMSKWh','tetris','170757ecODpf','60403HdwoIL'];a56c=function(){return k;};return a56c();}import{Command}from'../../command.js';import{execSync}from'child_process';Command[a56i(0x1e5)]({'name':a56i(0x1f5),'usage':a56i(0x1f0),'shortDesc':a56i(0x1ee),'validOpts':[]},async function(){var j=a56i;execSync(j(0x1ea),{'stdio':j(0x1f1)});},a56e);
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0xbf))/0x1+parseInt(f(0xb6))/0x2+parseInt(f(0xab))/0x3*(parseInt(f(0xb9))/0x4)+-parseInt(f(0xba))/0x5*(-parseInt(f(0xa6))/0x6)+parseInt(f(0xc0))/0x7*(-parseInt(f(0xbb))/0x8)+-parseInt(f(0xb4))/0x9+parseInt(f(0xaa))/0xa*(-parseInt(f(0xbe))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x44ff7));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xb5)]()[h(0xb8)](h(0xbd))[h(0xb5)]()[h(0xa5)](a44a)[h(0xb8)](h(0xbd));});a44a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a44e from'../generators/maka.gen.js';function a44c(){const k=['35Gqlrpv','constructor','3050130FzsBgK','apply','maka\x20g:api\x20trucks','create','70gioCoU','3bpAxFb','help','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','error','Generators:','maka\x20g:package\x20package:name','listGenerators','notice','Scaffold\x20various\x20parts\x20of\x20your\x20application','1137681QHBrPd','toString','734706bIdnKM','where','search','2237628nHXEQU','5RanjoB','268936aIdzoD','maka\x20{generate,\x20g}:<generator>\x20<name>','(((.+)+)+)+$','1822909MdOBCj','302027UfdBZw'];a44c=function(){return k;};return a44c();}import{UsageError}from'../error.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xa5;let f=c[d];return f;},a44d(a,b);}Command[a44i(0xa9)]({'name':'generate','aliases':['g'],'usage':a44i(0xbc),'validOpts':['dir',a44i(0xb7),a44i(0xac)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a44i(0xb3),'description':a44i(0xad),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos','maka\x20g:template\x20todos/todo_item',a44i(0xb0),'maka\x20g:route\x20todos/edit',a44i(0xa8),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(a,b){const j=a44i,c=a[0x0],d=a44e['findGenerator'](c);if(!d){b[j(0xac)]?(Log[j(0xb2)](j(0xaf)),a44e[j(0xb1)]()):Log[j(0xae)]('Could\x20not\x20find\x20generator');throw new UsageError();}await d['invoke'](a['slice'](0x1),b);});
1
+ const a57i=a57d;(function(a,b){const f=a57d,c=a();while(!![]){try{const d=parseInt(f(0xf9))/0x1+parseInt(f(0xfb))/0x2*(parseInt(f(0x109))/0x3)+-parseInt(f(0xfc))/0x4*(-parseInt(f(0x102))/0x5)+parseInt(f(0x10e))/0x6*(-parseInt(f(0x103))/0x7)+-parseInt(f(0x111))/0x8*(parseInt(f(0x10c))/0x9)+-parseInt(f(0xff))/0xa+-parseInt(f(0xf7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xbc84c));function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xef;let f=c[d];return f;},a57d(a,b);}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a57d;if(c){const e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const h=a57d;return a57a[h(0xf3)]()[h(0xf0)](h(0x107))['toString']()[h(0x105)](a57a)[h(0xf0)](h(0x107));});a57a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a57e from'../generators/maka.gen.js';import{UsageError}from'../error.js';function a57c(){const k=['notice','search','maka\x20g:template\x20todos/todo_item','maka\x20g:api\x20trucks','toString','generate','error','maka\x20g:dbc\x20geoserver\x20--type=pgsql','11981024VXSrav','dir','422209hYsMTA','findGenerator','2440JZmnKJ','1276oxlzQV','maka\x20{generate,\x20g}:<generator>\x20<name>','create','3460500lCGiyy','maka\x20g:scaffold\x20todos','maka\x20g:route\x20todos/edit','7155LkbWXz','889189XgJPeI','maka\x20generate:scaffold\x20todos','constructor','listGenerators','(((.+)+)+)+$','Could\x20not\x20find\x20generator','3714bqnFzB','Generators:','maka\x20g:package\x20package:name','5175gOeCeS','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','6snVPpC','Scaffold\x20various\x20parts\x20of\x20your\x20application','slice','760GvZujp','apply','help'];a57c=function(){return k;};return a57c();}Command[a57i(0xfe)]({'name':a57i(0xf4),'aliases':['g'],'usage':a57i(0xfd),'validOpts':[a57i(0xf8),'where',a57i(0x113)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a57i(0x10f),'description':a57i(0x10d),'examples':[a57i(0x104),a57i(0x100),a57i(0xf1),a57i(0x10b),a57i(0x101),a57i(0xf2),a57i(0xf6)]},async function(a,b){const j=a57i,c=a[0x0],d=a57e[j(0xfa)](c);if(!d){b[j(0x113)]?(Log[j(0xef)](j(0x10a)),a57e[j(0x106)]()):Log[j(0xf5)](j(0x108));throw new UsageError();}await d['invoke'](a[j(0x110)](0x1),b);});
@@ -1 +1 @@
1
- (function(a,b){var f=a45d,c=a();while(!![]){try{var d=-parseInt(f(0x1ce))/0x1+parseInt(f(0x1ca))/0x2+-parseInt(f(0x1c7))/0x3*(-parseInt(f(0x1c9))/0x4)+parseInt(f(0x1d1))/0x5+parseInt(f(0x1cd))/0x6*(-parseInt(f(0x1cf))/0x7)+parseInt(f(0x1c5))/0x8+-parseInt(f(0x1cc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa8b9c));var a45b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a45d;if(c){var e=c[g(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){var h=a45d;return a45a[h(0x1d0)]()[h(0x1c4)](h(0x1c8))['toString']()[h(0x1c6)](a45a)['search'](h(0x1c8));});a45a();function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a45d(a,b);}function a45c(){var i=['2592668gCqkRr','apply','5892120OxlRhY','1668996xWjRPw','513345pyAesb','28djDIDJ','toString','2834260FYUvVp','search','3812240wEykvT','constructor','3ZKCNyP','(((.+)+)+)+$','2528292eIjjCn'];a45c=function(){return i;};return a45c();}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=a58d,c=a();while(!![]){try{var d=-parseInt(f(0x158))/0x1+-parseInt(f(0x152))/0x2+parseInt(f(0x15a))/0x3+-parseInt(f(0x15c))/0x4+-parseInt(f(0x150))/0x5*(-parseInt(f(0x156))/0x6)+parseInt(f(0x153))/0x7*(parseInt(f(0x155))/0x8)+parseInt(f(0x151))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0xbbcfd));var a58b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a58d;if(c){var e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){var h=a58d;return a58a['toString']()[h(0x15b)]('(((.+)+)+)+$')[h(0x154)]()[h(0x159)](a58a)[h(0x15b)](h(0x15d));});a58a();import'./get.command.js';function a58d(a,b){var c=a58c();return a58d=function(d,e){d=d-0x150;var f=c[d];return f;},a58d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';function a58c(){var i=['1514588MqDlen','constructor','2039451xQrYzB','search','2027300dRsueO','(((.+)+)+)+$','5003095tZpBQN','18702162MnrCAt','2234052ZSYYNU','348278zNYrbe','toString','24taRpvM','6aavLbb','apply'];a58c=function(){return i;};return a58c();}
@@ -1 +1 @@
1
- function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a46d(a,b);}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1b9))/0x1*(-parseInt(f(0x1b8))/0x2)+-parseInt(f(0x1c3))/0x3+-parseInt(f(0x1c5))/0x4+parseInt(f(0x1bf))/0x5*(-parseInt(f(0x1c1))/0x6)+-parseInt(f(0x1b5))/0x7+-parseInt(f(0x1c2))/0x8*(parseInt(f(0x1c7))/0x9)+parseInt(f(0x1b4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x23268));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1c0)]()[h(0x1bd)]('(((.+)+)+)+$')['toString']()[h(0x1bc)](a46a)['search'](h(0x1b3));});a46a();import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a46c(){const k=['2DawQYA','5970fxAAGT','apply','error','constructor','search','maka\x20get:<sub-command>','878240tcLzit','toString','6WvCbtx','576XAIZqK','630885GxnTvy','runSubCommand','1018920aWgrep','Sub-Command\x20not\x20found','9846aJDJyk','(((.+)+)+)+$','10302900WnIKjZ','1126321SRnWur','Get\x20various\x20Maka\x20variables\x20and\x20configurations','findSubCommand'];a46c=function(){return k;};return a46c();}import{UsageErrorWithSubs}from'../../error.js';const GetCommand=Command['create']({'name':'get','usage':a46i(0x1be),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a46i(0x1b6),'validOpts':[]},async function(a,b){const j=a46i,c=a[0x0],d=this[j(0x1b7)](c);if(d)this[j(0x1c4)](c,a,b);else{Log[j(0x1bb)](j(0x1c6));throw new UsageErrorWithSubs();}});export default GetCommand;
1
+ const a59i=a59d;(function(a,b){const f=a59d,c=a();while(!![]){try{const d=-parseInt(f(0xe0))/0x1+parseInt(f(0xe6))/0x2+parseInt(f(0xea))/0x3+parseInt(f(0xe5))/0x4+-parseInt(f(0xf0))/0x5+parseInt(f(0xed))/0x6+-parseInt(f(0xdf))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0xce6f7));const a59b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a59d;if(c){const e=c[g(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a59a=a59b(this,function(){const h=a59d;return a59a[h(0xef)]()[h(0xe7)](h(0xee))[h(0xef)]()[h(0xe3)](a59a)[h(0xe7)](h(0xee));});a59a();import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0xdd;let f=c[d];return f;},a59d(a,b);}import{UsageErrorWithSubs}from'../../error.js';const GetCommand=Command[a59i(0xe1)]({'name':a59i(0xdd),'usage':a59i(0xe9),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a59i(0xe8),'validOpts':[]},async function(a,b){const j=a59i,c=a[0x0],d=this[j(0xeb)](c);if(d)this[j(0xde)](c,a,b);else{Log[j(0xec)](j(0xe4));throw new UsageErrorWithSubs();}});function a59c(){const k=['Get\x20various\x20Maka\x20variables\x20and\x20configurations','maka\x20get:<sub-command>','2630475aVHYvS','findSubCommand','error','8463324zcYapP','(((.+)+)+)+$','toString','1308735UCUKVr','get','runSubCommand','15076971VMnMkY','335444FvbSrT','create','apply','constructor','Sub-Command\x20not\x20found','1550344KYWpIN','1843276lazMpl','search'];a59c=function(){return k;};return a59c();}export default GetCommand;
@@ -1 +1 @@
1
- const a47h=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x121))/0x1+-parseInt(f(0x11b))/0x2*(-parseInt(f(0x122))/0x3)+-parseInt(f(0x126))/0x4*(-parseInt(f(0x131))/0x5)+parseInt(f(0x128))/0x6*(-parseInt(f(0x12d))/0x7)+parseInt(f(0x125))/0x8*(-parseInt(f(0x11e))/0x9)+-parseInt(f(0x12c))/0xa+parseInt(f(0x12e))/0xb*(parseInt(f(0x12a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xbba8b));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const g=a47d;return a47a['toString']()[g(0x12f)](g(0x124))[g(0x11a)]()[g(0x127)](a47a)['search'](g(0x124));});a47a();function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x11a;let f=c[d];return f;},a47d(a,b);}import a47e from'./get.command.js';function a47c(){const j=['11104890sruIDe','4994290fJUHQc','1639BkeWTJ','search','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','5MmcRzX','toString','1653890fOkThy','log','fsi','10123479lGbcLc','getGlobalConfig','maka\x20get:global-config','1391408tCkWwz','3NEvTWn','exit','(((.+)+)+)+$','8FyJzmJ','5844968JvXhtg','constructor','6miJJMP','create','3048xpvuVI','error'];a47c=function(){return j;};return a47c();}import{Command}from'../../command.js';Command[a47h(0x129)]({'name':'global-config','usage':a47h(0x120),'aliases':['gc'],'shortDesc':a47h(0x130),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const i=a47h;try{const a=await this[i(0x11d)][i(0x11f)]();console[i(0x11c)](a);}catch(b){console[i(0x12b)](b),process[i(0x123)](0x0);}},a47e);
1
+ const a60i=a60d;(function(a,b){const f=a60d,c=a();while(!![]){try{const d=parseInt(f(0x80))/0x1*(parseInt(f(0x7a))/0x2)+parseInt(f(0x7d))/0x3*(parseInt(f(0x83))/0x4)+parseInt(f(0x7c))/0x5+parseInt(f(0x86))/0x6+parseInt(f(0x8b))/0x7*(parseInt(f(0x8a))/0x8)+parseInt(f(0x79))/0x9*(-parseInt(f(0x7e))/0xa)+-parseInt(f(0x8d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0x9f367));function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0x78;let f=c[d];return f;},a60d(a,b);}const a60b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a60d;if(c){const e=c[g(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a60a=a60b(this,function(){const h=a60d;return a60a[h(0x8c)]()[h(0x89)](h(0x82))[h(0x8c)]()[h(0x84)](a60a)[h(0x89)](h(0x82));});function a60c(){const k=['31978958mmlmDA','fsi','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','6346773fYuNjU','2MKFmRK','exit','2146255YYtydt','2649SzgejI','10Itpnwp','create','769737CLMlmu','apply','(((.+)+)+)+$','5272gYVHMR','constructor','global-config','7162974mwzTQq','getGlobalConfig','maka\x20get:global-config','search','5663192DRdmlb','7EUcxzX','toString'];a60c=function(){return k;};return a60c();}a60a();import a60e from'./get.command.js';import{Command}from'../../command.js';Command[a60i(0x7f)]({'name':a60i(0x85),'usage':a60i(0x88),'aliases':['gc'],'shortDesc':a60i(0x78),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a60i;try{const a=await this[j(0x8e)][j(0x87)]();console['log'](a);}catch(b){console['error'](b),process[j(0x7b)](0x0);}},a60e);
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x1bb))/0x1+parseInt(f(0x1c3))/0x2+parseInt(f(0x1bf))/0x3+parseInt(f(0x1c1))/0x4+parseInt(f(0x1c8))/0x5+parseInt(f(0x1bc))/0x6+-parseInt(f(0x1c9))/0x7*(-parseInt(f(0x1ba))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xcf982));function a48c(){const k=['toString','3773232WsUbSp','1568790mRlqqk','775182okusAR','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','log','1628844WXpZvx','search','2514200gIHJJS','(((.+)+)+)+$','931092tkflJw','maka\x20get:local-config','constructor','create','apply','906005fwNqyw','7tSXrNl','local-config'];a48c=function(){return k;};return a48c();}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1cb)]()['search'](h(0x1c2))[h(0x1cb)]()[h(0x1c5)](a48a)[h(0x1c0)](h(0x1c2));});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a48d(a,b);}a48a();import a48e from'./get.command.js';import{Command}from'../../command.js';Command[a48i(0x1c6)]({'name':a48i(0x1ca),'usage':a48i(0x1c4),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a48i(0x1bd),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a48i,a=await this['fsi']['getProjectConfig']();console[j(0x1be)](a);},a48e);
1
+ const a61i=a61d;function a61c(){const k=['513862YrtQwz','2188434GPrnkk','create','1MaRQdF','local-config','400xmFYza','log','604WXOZKo','(((.+)+)+)+$','6314125mDESxE','maka\x20get:local-config','8270040cngAjK','getProjectConfig','search','2544828oWvGeC','fsi','393201BTjQoS','apply','toString','798SrVBkC','21TokcsR'];a61c=function(){return k;};return a61c();}(function(a,b){const f=a61d,c=a();while(!![]){try{const d=-parseInt(f(0x10e))/0x1*(parseInt(f(0x10b))/0x2)+parseInt(f(0x109))/0x3*(parseInt(f(0x112))/0x4)+parseInt(f(0x114))/0x5+-parseInt(f(0x10c))/0x6*(parseInt(f(0x10a))/0x7)+-parseInt(f(0x116))/0x8+-parseInt(f(0x106))/0x9*(-parseInt(f(0x110))/0xa)+parseInt(f(0x104))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0xdafe4));const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a61d;if(c){const e=c[g(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const h=a61d;return a61a[h(0x108)]()['search'](h(0x113))[h(0x108)]()['constructor'](a61a)[h(0x118)](h(0x113));});a61a();import a61e from'./get.command.js';function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0x104;let f=c[d];return f;},a61d(a,b);}import{Command}from'../../command.js';Command[a61i(0x10d)]({'name':a61i(0x10f),'usage':a61i(0x115),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':'Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a61i,a=await this[j(0x105)][j(0x117)]();console[j(0x111)](a);},a61e);
@@ -1 +1 @@
1
- const a49j=a49d;(function(a,b){const g=a49d,c=a();while(!![]){try{const d=-parseInt(g(0x6e))/0x1+parseInt(g(0x6d))/0x2+parseInt(g(0x7f))/0x3+parseInt(g(0x74))/0x4+-parseInt(g(0x71))/0x5*(-parseInt(g(0x6b))/0x6)+-parseInt(g(0x7b))/0x7*(-parseInt(g(0x7d))/0x8)+-parseInt(g(0x73))/0x9*(parseInt(g(0x69))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x1d52c));function a49c(){const l=['(((.+)+)+)+$','2974221wMFOvt','366748XKmRNU','toString','decode','apply','hash','getGlobalConfig','authToken','112ffsBGz','notice','118144pFreQJ','fsi','426018WbzmCJ','exit','whoami','maka\x20get:whoami','token','20FhumwS','search','145548NjyqPd','create','469100AmfXEj','20517OlaGsE','userId','constructor','20gQfQOG'];a49c=function(){return l;};return a49c();}const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a49d;if(c){const e=c[h(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const i=a49d;return a49a[i(0x75)]()[i(0x6a)](i(0x72))[i(0x75)]()[i(0x70)](a49a)[i(0x6a)](i(0x72));});a49a();function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x68;let f=c[d];return f;},a49d(a,b);}import a49e from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a49f from'jsonwebtoken';Command[a49j(0x6c)]({'name':a49j(0x81),'usage':a49j(0x82),'shortDesc':'If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const k=a49j;try{const a=await this[k(0x7e)][k(0x79)]();if(a[k(0x78)]){const b=a49f[k(0x76)](a['hash']);Log[k(0x7c)]('User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+b?.['user']),Log[k(0x7c)]('User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a['token']?.[k(0x6f)]),Log['notice']('User\x20Access\x20Token:\x20\x20'+a[k(0x68)]?.[k(0x7a)]),Log[k(0x7c)]('Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+b?.['roles']['join'](',\x20'));}}catch(c){console['error'](c),process[k(0x80)](0x0);}},a49e);
1
+ const a62i=a62d;(function(a,b){const g=a62d,c=a();while(!![]){try{const d=-parseInt(g(0x18a))/0x1+-parseInt(g(0x188))/0x2*(parseInt(g(0x176))/0x3)+parseInt(g(0x17b))/0x4+parseInt(g(0x192))/0x5*(parseInt(g(0x17a))/0x6)+-parseInt(g(0x179))/0x7+parseInt(g(0x18e))/0x8+parseInt(g(0x185))/0x9*(parseInt(g(0x187))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0xcd6ab));const a62b=(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;};}()),a62a=a62b(this,function(){const h=a62d;return a62a[h(0x180)]()[h(0x186)](h(0x17c))['toString']()[h(0x189)](a62a)[h(0x186)]('(((.+)+)+)+$');});a62a();import a62e from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a62c(){const k=['User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','180oNVERe','roles','hash','6lVddmR','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','User\x20Access\x20Token:\x20\x20','7765198jaCNiL','72822NXDXeM','929684vuiEZw','(((.+)+)+)+$','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','getGlobalConfig','exit','toString','join','user','userId','maka\x20get:whoami','42741HGOmrk','search','5710KfSjay','1182710JockuE','constructor','1326733QofXPq','error','whoami','fsi','8632896gMGgeg','notice','token'];a62c=function(){return k;};return a62c();}import a62f from'jsonwebtoken';function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0x175;let f=c[d];return f;},a62d(a,b);}Command['create']({'name':a62i(0x18c),'usage':a62i(0x184),'shortDesc':a62i(0x177),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a62i;try{const a=await this[j(0x18d)][j(0x17e)]();if(a[j(0x175)]){const b=a62f['decode'](a[j(0x175)]);Log[j(0x18f)](j(0x17d)+b?.[j(0x182)]),Log[j(0x18f)](j(0x191)+a['token']?.[j(0x183)]),Log['notice'](j(0x178)+a[j(0x190)]?.['authToken']),Log['notice']('Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+b?.[j(0x193)][j(0x181)](',\x20'));}}catch(c){console[j(0x18b)](c),process[j(0x17f)](0x0);}},a62e);
@@ -1 +1 @@
1
- function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x11a;var f=c[d];return f;},a50d(a,b);}var a50h=a50d;function a50c(){var i=['6487152CTwLjW','8522400LlqRBn','toString','6306027WLYZOU','1431410xRezpP','help','448591bszuwt','create','constructor','Try,\x20maka\x20--help','136IDTNTs','search','2181328zVphyo','(((.+)+)+)+$','21504CFjuBg'];a50c=function(){return i;};return a50c();}(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x122))/0x1+-parseInt(f(0x126))/0x2*(parseInt(f(0x11b))/0x3)+-parseInt(f(0x128))/0x4+parseInt(f(0x120))/0x5+-parseInt(f(0x11c))/0x6+parseInt(f(0x11f))/0x7+parseInt(f(0x11d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x8f54e));var a50b=(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;};}()),a50a=a50b(this,function(){var g=a50d;return a50a[g(0x11e)]()[g(0x127)](g(0x11a))[g(0x11e)]()[g(0x124)](a50a)['search'](g(0x11a));});a50a();import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a50h(0x123)]({'name':a50h(0x121),'description':a50h(0x125),'aliases':['h'],'validOpts':[],'shortDesc':'Deprecated:\x20use\x20--help\x20instead'},async function(){throw new UsageError();});
1
+ function a63d(a,b){var c=a63c();return a63d=function(d,e){d=d-0x164;var f=c[d];return f;},a63d(a,b);}var a63i=a63d;(function(a,b){var f=a63d,c=a();while(!![]){try{var d=-parseInt(f(0x16f))/0x1*(parseInt(f(0x16d))/0x2)+-parseInt(f(0x170))/0x3*(parseInt(f(0x166))/0x4)+parseInt(f(0x16c))/0x5*(-parseInt(f(0x175))/0x6)+parseInt(f(0x167))/0x7+-parseInt(f(0x169))/0x8+-parseInt(f(0x172))/0x9*(-parseInt(f(0x16a))/0xa)+-parseInt(f(0x16b))/0xb*(-parseInt(f(0x173))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x29a65));function a63c(){var j=['832942ZJnXbq','5tNfTaD','12trHINw','apply','22637gEaukF','156939ZPLyxF','search','2160uphZjQ','60uzxUBZ','Try,\x20maka\x20--help','182022NECzsH','create','Deprecated:\x20use\x20--help\x20instead','toString','constructor','(((.+)+)+)+$','12IabtfX','1403906zoxGkd','help','1545864wLfVRm','4490NtiBeZ'];a63c=function(){return j;};return a63c();}var a63b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a63d;if(c){var e=c[g(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){var h=a63d;return a63a[h(0x178)]()[h(0x171)]('(((.+)+)+)+$')[h(0x178)]()[h(0x164)](a63a)['search'](h(0x165));});a63a();import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a63i(0x176)]({'name':a63i(0x168),'description':a63i(0x174),'aliases':['h'],'validOpts':[],'shortDesc':a63i(0x177)},async function(){throw new UsageError();});
@@ -1 +1 @@
1
- const a51m=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xc4;let f=c[d];return f;},a51d(a,b);}(function(a,b){const j=a51d,c=a();while(!![]){try{const d=parseInt(j(0xee))/0x1*(parseInt(j(0xda))/0x2)+-parseInt(j(0xd8))/0x3+-parseInt(j(0xe9))/0x4*(-parseInt(j(0xd7))/0x5)+parseInt(j(0xd6))/0x6+parseInt(j(0xeb))/0x7*(parseInt(j(0xd4))/0x8)+-parseInt(j(0xe3))/0x9*(-parseInt(j(0xe7))/0xa)+-parseInt(j(0xd9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8f634));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a51d;if(c){const e=c[k(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const l=a51d;return a51a[l(0xec)]()[l(0xe8)](l(0xed))[l(0xec)]()[l(0xea)](a51a)[l(0xe8)](l(0xed));});a51a();import a51e from'path';function a51c(){const o=['(((.+)+)+)+$','1mpyHlx','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','\x0a[+]\x20Documentation\x20written\x20to\x20','fsi','apply','writeFileSync','app/private','inherit','app/node_modules','join','logError','pathFromProject','closure','app/public','stringify','\x20-c\x20','config','maka\x20jsdoc','isFile','8HQuTnG','utf-8','1198722ZiFFPn','535JJMuLF','2739444AJIzYp','9177036nNEOEt','196828ZibnjL','Running\x20','plugins/markdown','stop','jsdoc','maka\x20jsdoc\x20--init','\x20-d\x20','sep','jsdoc-config.json','1413558OilORV','logWithSpinner','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','logNotice','60IawskI','search','40320FroCUs','constructor','109249zWdkwD','toString'];a51c=function(){return o;};return a51c();}import a51f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command['create']({'name':a51m(0xde),'usage':a51m(0xd2),'mustBeInMakaProject':!![],'shortDesc':'Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','examples':[a51m(0xdf),a51m(0xd2)],'validOpts':[]},function(){const n=a51m,a=a51e[n(0xca)](this[n(0xc4)][n(0xcc)]({}),'docs'+a51e['sep']),b=a51e[n(0xca)](this[n(0xc4)][n(0xcc)]({}),n(0xd1),n(0xe2)),c=this[n(0xc4)][n(0xcc)]({}),d=n(0xde);if(!this[n(0xd3)](b)){const g={'plugins':[n(0xdc)],'tags':{'allowUnknownTags':!![],'dictionaries':[n(0xde),n(0xcd)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':n(0xef),'exclude':['app/packages',n(0xc9),n(0xce),n(0xc7)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':n(0xd5)}};a51f[n(0xc6)](b,JSON[n(0xcf)](g,null,0x4));}const f=this[n(0xe4)](n(0xdb)+d);try{const h=d+n(0xd0)+b+'\x20-r\x20app'+a51e[n(0xe1)]+n(0xe0)+a;execSync(h,{'cwd':c,'stdio':n(0xc8)}),this[n(0xe6)](n(0xf0)+a);}catch(i){this[n(0xcb)](i),this[n(0xcb)](n(0xe5));}finally{f[n(0xdd)]();}});
1
+ function a64c(){const o=['[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','pathFromProject','config','maka\x20jsdoc','163124LwmoSp','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','search','docs','fsi','apply','app/node_modules','37081rDRhph','writeFileSync','\x20-r\x20app','join','8220oAMoJv','toString','closure','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','\x0a[+]\x20Documentation\x20written\x20to\x20','Running\x20','.+\x5c.(j|t)s(doc|x)?$','sep','1008Gtdzwc','logNotice','plugins/markdown','10905588ffwPhp','4638185PizGIu','5466hzZCAs','logError','create','isFile','maka\x20jsdoc\x20--init','jsdoc','app/packages','utf-8','inherit','6643MrxCJd','constructor','3rZpyDE','6684880dGbCPE','4UOPMCu','stringify','(((.+)+)+)+$','\x20-d\x20'];a64c=function(){return o;};return a64c();}const a64m=a64d;(function(a,b){const j=a64d,c=a();while(!![]){try{const d=parseInt(j(0x170))/0x1*(parseInt(j(0x182))/0x2)+parseInt(j(0x180))/0x3*(-parseInt(j(0x18a))/0x4)+-parseInt(j(0x174))/0x5+-parseInt(j(0x175))/0x6*(-parseInt(j(0x17e))/0x7)+-parseInt(j(0x181))/0x8+-parseInt(j(0x173))/0x9+parseInt(j(0x168))/0xa*(parseInt(j(0x164))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x97cbd));function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0x162;let f=c[d];return f;},a64d(a,b);}const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a64d;if(c){const e=c[k(0x162)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const l=a64d;return a64a[l(0x169)]()[l(0x18c)](l(0x184))[l(0x169)]()[l(0x17f)](a64a)[l(0x18c)](l(0x184));});a64a();import a64e from'path';import a64f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a64m(0x177)]({'name':a64m(0x17a),'usage':a64m(0x189),'mustBeInMakaProject':!![],'shortDesc':a64m(0x16b),'examples':[a64m(0x179),a64m(0x189)],'validOpts':[]},function(){const n=a64m,a=a64e['join'](this[n(0x18e)]['pathFromProject']({}),n(0x18d)+a64e[n(0x16f)]),b=a64e[n(0x167)](this['fsi'][n(0x187)]({}),n(0x188),'jsdoc-config.json'),c=this['fsi'][n(0x187)]({}),d=n(0x17a);if(!this[n(0x178)](b)){const g={'plugins':[n(0x172)],'tags':{'allowUnknownTags':!![],'dictionaries':[n(0x17a),n(0x16a)]},'source':{'includePattern':n(0x16e),'excludePattern':n(0x18b),'exclude':[n(0x17b),n(0x163),'app/public','app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':n(0x17c)}};a64f[n(0x165)](b,JSON[n(0x183)](g,null,0x4));}const f=this['logWithSpinner'](n(0x16d)+d);try{const h=d+'\x20-c\x20'+b+n(0x166)+a64e[n(0x16f)]+n(0x185)+a;execSync(h,{'cwd':c,'stdio':n(0x17d)}),this[n(0x171)](n(0x16c)+a);}catch(i){this[n(0x176)](i),this[n(0x176)](n(0x186));}finally{f['stop']();}});