@maka/maka-cli 4.13.3 → 4.13.5

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 (164) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -0
  109. package/bundle/obf/src/generators/aws/aws.js +1 -0
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -0
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -0
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -0
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/templates/aws/cloudformation/create-ec2-instance.template +14 -0
  145. package/bundle/obf/src/tool.js +1 -1
  146. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/https/https.class.js +1 -1
  154. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  155. package/bundle/obf/src/tools/log/log.class.js +1 -1
  156. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/options/options.class.js +1 -1
  158. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  160. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  162. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  164. package/package.json +1 -1
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1ef))/0x1+parseInt(f(0x1f1))/0x2+-parseInt(f(0x1ea))/0x3*(-parseInt(f(0x1ca))/0x4)+parseInt(f(0x1f8))/0x5+-parseInt(f(0x1e1))/0x6+parseInt(f(0x1ec))/0x7*(parseInt(f(0x1d2))/0x8)+parseInt(f(0x1d0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7fcbb));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1cf)]()[h(0x1db)](h(0x1e5))[h(0x1cf)]()[h(0x1d4)](a38a)[h(0x1db)](h(0x1e5));});a38a();import{Door}from'../models/door.js';function a38c(){const n=['OUTSIDE','1924170aSBIVF','down','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','You\x27re\x20not\x20in\x20a\x20valid\x20room.','getItem','logger','inspectItem','140MCXYYZ','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','Executing\x20\x27Look\x27\x20command.','You\x20cannot\x20see\x20','toString','2245050iHMPoG','\x20here.','13968SGblVs','Looking\x20at\x20item\x20\x27','constructor','isValidDirection','hasItem','apply','currentLocation','Examine\x20your\x20surroundings','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','search','\x27\x20in\x20current\x20room\x20inventory.','join',',\x20you\x20see\x20','write','It\x27s\x20just\x20a\x20regular\x20','5014818Mcubye','\x27\x20in\x20','error','execute','(((.+)+)+)+$','inventory','You\x20cannot\x20see\x20through','roomType','puzzle','2691Wniubl','look','2163zoTjvn','Below\x20you,\x20','name','239198RcYwVp','actor','786518xXGgzh','lookOutside','rooms','Above\x20you,\x20','riddle','description'];a38c=function(){return n;};return a38c();}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static ['verb']=a38i(0x1eb);static ['description']=a38i(0x1d9);[a38i(0x1e4)](a=[]){const j=a38i;this[j(0x1c8)][j(0x1df)](j(0x1cd));const b=a[j(0x1dd)]('\x20');if(b){if(this['actor'][j(0x1e6)][j(0x1d6)](b))return this[j(0x1c8)][j(0x1df)](j(0x1d3)+b+j(0x1e2)+this[j(0x1f0)]['name']+'\x20inventory.'),this[j(0x1c9)](b,this[j(0x1f0)][j(0x1e6)]);else{if(this[j(0x1f0)][j(0x1d8)][j(0x1e6)][j(0x1d6)](b))return this['logger'][j(0x1df)](j(0x1d3)+b+j(0x1dc)),this[j(0x1c9)](b,this[j(0x1f0)][j(0x1d8)][j(0x1e6)]);else return this[j(0x1d5)](b)?(this[j(0x1c8)][j(0x1df)](j(0x1da)+b+'\x27.'),this[j(0x1f2)](b)):j(0x1ce)+b;}}else return this['logger']['write'](this[j(0x1f0)]['name']+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0x1eb)]();}[a38i(0x1eb)](){const k=a38i,a=this[k(0x1f0)]['currentLocation'];if(!a)return this[k(0x1c8)][k(0x1e3)](this[k(0x1f0)][k(0x1ee)]+k(0x1c5)),k(0x1c6);let b=a[k(0x1f6)];return a[k(0x1e9)]&&(b+='\x0a'+a[k(0x1e9)][k(0x1f5)]),b;}[a38i(0x1f2)](a){const l=a38i,b=this[l(0x1f0)][l(0x1d8)];if(!b)return this[l(0x1c8)]['error'](this[l(0x1f0)][l(0x1ee)]+l(0x1c5)),l(0x1c6);const c=b['exits']['get'](a);if(!c)return l(0x1cb)+a+'\x22.';let d;if(c instanceof Door)d=c['getOtherSide'](b);else{if(typeof c==='string'){d=this[l(0x1f3)]&&this[l(0x1f3)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return l(0x1cc)+a+'\x22.';}if(d[l(0x1e8)]===RoomType[l(0x1f7)]){if(a==='up')return l(0x1f4)+d['description'];else return a===l(0x1c4)?l(0x1ed)+d[l(0x1f6)]:'To\x20the\x20'+a+l(0x1de)+d['description'];}else return l(0x1e7);}['inspectItem'](a,b){const m=a38i,c=b[m(0x1c7)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1d1);return c[m(0x1f6)]||m(0x1e0)+a+'.';}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x18f;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x195))/0x1*(parseInt(f(0x19e))/0x2)+-parseInt(f(0x193))/0x3+-parseInt(f(0x1ae))/0x4*(-parseInt(f(0x19b))/0x5)+parseInt(f(0x194))/0x6+-parseInt(f(0x1a7))/0x7*(-parseInt(f(0x1a9))/0x8)+parseInt(f(0x198))/0x9+-parseInt(f(0x1b8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x25d7d));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1ba)]()[h(0x1a5)](h(0x1b2))[h(0x1ba)]()['constructor'](a38a)[h(0x1a5)](h(0x1b2));});a38a();import{Door}from'../models/door.js';function a38c(){const n=['There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','get','apply','search','Examine\x20your\x20surroundings','14JKPJsV','inspectItem','848960XXEqsE','name','lookOutside','Below\x20you,\x20','inventory','281236qvVHlZ','error','Looking\x20at\x20item\x20\x27','\x27\x20in\x20current\x20room\x20inventory.','(((.+)+)+)+$','actor','\x20inventory.','\x20here.','down','You\x20cannot\x20see\x20','3157810dUSgfD','isValidDirection','toString','To\x20the\x20','exits','rooms','\x20is\x20looking\x20around\x20the\x20current\x20room.','puzzle','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','logger','getOtherSide','riddle','899805eOBRPD','1026336FSGxpR','33503UxAnCf','It\x27s\x20just\x20a\x20regular\x20','You\x27re\x20not\x20in\x20a\x20valid\x20room.','80847tukMez','description','Above\x20you,\x20','15kUBMwe','currentLocation','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','10ayqXnr','join','look','write'];a38c=function(){return n;};return a38c();}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static ['verb']='look';static [a38i(0x199)]=a38i(0x1a6);['execute'](a=[]){const j=a38i;this[j(0x190)][j(0x1a1)]('Executing\x20\x27Look\x27\x20command.');const b=a[j(0x19f)]('\x20');if(b){if(this[j(0x1b3)][j(0x1ad)]['hasItem'](b))return this[j(0x190)][j(0x1a1)](j(0x1b0)+b+'\x27\x20in\x20'+this[j(0x1b3)][j(0x1aa)]+j(0x1b4)),this[j(0x1a8)](b,this['actor'][j(0x1ad)]);else{if(this[j(0x1b3)][j(0x19c)][j(0x1ad)]['hasItem'](b))return this[j(0x190)][j(0x1a1)](j(0x1b0)+b+j(0x1b1)),this[j(0x1a8)](b,this['actor'][j(0x19c)][j(0x1ad)]);else return this[j(0x1b9)](b)?(this[j(0x190)][j(0x1a1)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0x1ab)](b)):j(0x1b7)+b;}}else return this[j(0x190)][j(0x1a1)](this[j(0x1b3)][j(0x1aa)]+j(0x1be)),this['look']();}[a38i(0x1a0)](){const k=a38i,a=this[k(0x1b3)]['currentLocation'];if(!a)return this[k(0x190)]['error'](this[k(0x1b3)]['name']+k(0x18f)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0x199)];return a['puzzle']&&(b+='\x0a'+a[k(0x1bf)][k(0x192)]),b;}[a38i(0x1ab)](a){const l=a38i,b=this[l(0x1b3)][l(0x19c)];if(!b)return this['logger'][l(0x1af)](this['actor'][l(0x1aa)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0x197);const c=b[l(0x1bc)][l(0x1a3)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x191)](b);else{if(typeof c==='string'){d=this[l(0x1bd)]&&this[l(0x1bd)][c];if(!d)return l(0x1a2)+a+'\x22.';}else return l(0x19d)+a+'\x22.';}if(d['roomType']===RoomType['OUTSIDE']){if(a==='up')return l(0x19a)+d[l(0x199)];else return a===l(0x1b6)?l(0x1ac)+d[l(0x199)]:l(0x1bb)+a+',\x20you\x20see\x20'+d['description'];}else return'You\x20cannot\x20see\x20through';}[a38i(0x1a8)](a,b){const m=a38i,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1b5);return c[m(0x199)]||m(0x196)+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;function a39c(){const m=['say','constructor','logger','You\x20say:\x20\x22','search','Scene\x20is\x20missing\x20from\x20context.','length','actor','currentLocation','allActors','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','14HjPvaM','What\x20do\x20you\x20want\x20to\x20say?','3004675xKtXCc','apply','\x20says\x20to\x20','815352uykzQq','scene','log','(((.+)+)+)+$','An\x20error\x20occurred.','execute','filter','verb','context','145544WApGud','11185281fsQpoL','145986SEVWJi','516554dibFjN','83481xPMaIB','join','60sAhkvN','toString'];a39c=function(){return m;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1f3))/0x1+parseInt(g(0x1f6))/0x2+-parseInt(g(0x1f7))/0x3*(-parseInt(g(0x1f9))/0x4)+parseInt(g(0x1e7))/0x5+-parseInt(g(0x1f5))/0x6*(-parseInt(g(0x1e5))/0x7)+parseInt(g(0x1ea))/0x8+-parseInt(g(0x1f4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x508cd));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1fa)]()[i(0x1de)](i(0x1ed))[i(0x1fa)]()[i(0x1fc)](a39a)[i(0x1de)](i(0x1ed));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1de;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x1f1)]=a39j(0x1fb);static ['description']=a39j(0x1e4);[a39j(0x1f2)];constructor(a){const k=a39j;super(a),this[k(0x1f2)]=a;}[a39j(0x1ef)](a){const l=a39j;if(a[l(0x1e0)]===0x0)return l(0x1e6);const b=a[l(0x1f8)]('\x20'),c=this[l(0x1e1)],d=this[l(0x1f2)][l(0x1eb)];if(!d)return this[l(0x1fd)][l(0x1ec)](l(0x1df)),l(0x1ee);const e=d[l(0x1e3)][l(0x1f0)](f=>f[l(0x1e2)]===c['currentLocation']);for(const f of e){this['logger'][l(0x1ec)](c['name']+l(0x1e9)+f['name']+':\x20\x22'+b+'\x22'),this[l(0x1e1)][l(0x1e2)][l(0x1fb)](f,b);}return l(0x1fe)+b+'\x22';}}
1
+ function a39c(){const l=['11ymIuPv','230172zZlDJT','name','You\x20say:\x20\x22','5214pMlEtp','870JZyqxQ','What\x20do\x20you\x20want\x20to\x20say?','search','execute','8210pQGtKx','context','verb','21yGYviN','515320iHkmTy','say','log','532oLVsVT','allActors','logger','length','106218iOohAe','An\x20error\x20occurred.',':\x20\x22','toString','(((.+)+)+)+$','join','117112cohAAG','actor','219OhVyMo','currentLocation','1881qrUoTC','description','Scene\x20is\x20missing\x20from\x20context.'];a39c=function(){return l;};return a39c();}const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0xc7))/0x1+parseInt(g(0xc1))/0x2+-parseInt(g(0xc9))/0x3*(parseInt(g(0xbd))/0x4)+-parseInt(g(0xb2))/0x5*(parseInt(g(0xb1))/0x6)+-parseInt(g(0xb9))/0x7*(-parseInt(g(0xba))/0x8)+-parseInt(g(0xcb))/0x9*(-parseInt(g(0xb6))/0xa)+-parseInt(g(0xce))/0xb*(parseInt(g(0xcf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x1d79f));const a39b=(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;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xc4)]()[h(0xb4)](h(0xc5))[h(0xc4)]()['constructor'](a39a)[h(0xb4)](h(0xc5));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xb1;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0xb8)]=a39i(0xbb);static [a39i(0xcc)]='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a39i(0xb7)];constructor(a){const j=a39i;super(a),this[j(0xb7)]=a;}[a39i(0xb5)](a){const k=a39i;if(a[k(0xc0)]===0x0)return k(0xb3);const b=a[k(0xc6)]('\x20'),c=this[k(0xc8)],d=this['context']['scene'];if(!d)return this[k(0xbf)][k(0xbc)](k(0xcd)),k(0xc2);const e=d[k(0xbe)]['filter'](f=>f['currentLocation']===c[k(0xca)]);for(const f of e){this[k(0xbf)]['log'](c['name']+'\x20says\x20to\x20'+f[k(0xd0)]+k(0xc3)+b+'\x22'),this[k(0xc8)][k(0xca)][k(0xbb)](f,b);}return k(0xd1)+b+'\x22';}}
@@ -1 +1 @@
1
- const a40i=a40d;function a40c(){const k=['You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','toString','actor','You\x20search\x20the\x20area\x20and\x20find:\x20','(((.+)+)+)+$','Search\x20for\x20items\x20in\x20your\x20area','write','\x20found\x20the\x20following\x20items:\x20','search','189GJohxQ','logger','189048hAGbiT','646845uABWqc','currentLocation','join','description','apply','763620muFUFm','6ODrZtC','length','3817163YpFbRr','verb','2592DCVqMA','name','SearchCommand:\x20','263102aEmPZb','594568zeVxJb'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xb3))/0x1+parseInt(f(0xb4))/0x2+parseInt(f(0xa6))/0x3+parseInt(f(0xb0))/0x4+parseInt(f(0xab))/0x5+parseInt(f(0xac))/0x6*(-parseInt(f(0xae))/0x7)+parseInt(f(0xa5))/0x8*(parseInt(f(0xa3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x5673f));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xa0;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xb6)]()[h(0xa2)](h(0xb9))[h(0xb6)]()['constructor'](a40a)[h(0xa2)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0xaf)]='search';static [a40i(0xa9)]=a40i(0xba);['execute'](){const j=a40i,a=this['actor'][j(0xa7)]['inventory']['listItems']();if(a[j(0xad)]===0x0)return this[j(0xa4)][j(0xa0)](j(0xb2)+this[j(0xb7)][j(0xb1)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0xb5);const b=a[j(0xa8)](',\x20');return this[j(0xa4)][j(0xa0)](j(0xb2)+this[j(0xb7)][j(0xb1)]+j(0xa1)+b),j(0xb8)+b;}}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xd6;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xdf))/0x1+parseInt(f(0xe0))/0x2*(-parseInt(f(0xe6))/0x3)+parseInt(f(0xdd))/0x4*(parseInt(f(0xdb))/0x5)+parseInt(f(0xea))/0x6+parseInt(f(0xde))/0x7*(parseInt(f(0xee))/0x8)+-parseInt(f(0xf3))/0x9*(-parseInt(f(0xe7))/0xa)+-parseInt(f(0xeb))/0xb*(parseInt(f(0xd8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x85309));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xe4)]()['search'](h(0xe3))[h(0xe4)]()[h(0xf2)](a40a)['search'](h(0xe3));});a40a();function a40c(){const k=['338376hYaiTn','Search\x20for\x20items\x20in\x20your\x20area','length','name','constructor','462447GrztlH','You\x20search\x20the\x20area\x20and\x20find:\x20','write','1325472ioRauA','apply','description','5RVKFTr','SearchCommand:\x20','1298208ZwDhNf','175rhNHjJ','582192twWCDk','85886kyoiwB','execute','currentLocation','(((.+)+)+)+$','toString','logger','63mwOMZE','160nerAaZ','actor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','3232818PXNpNQ','187GfPwQy','search','join'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a40i(0xec);static [a40i(0xda)]=a40i(0xef);[a40i(0xe1)](){const j=a40i,a=this['actor'][j(0xe2)]['inventory']['listItems']();if(a[j(0xf0)]===0x0)return this[j(0xe5)]['write'](j(0xdc)+this[j(0xe8)][j(0xf1)]+j(0xe9)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0xed)](',\x20');return this[j(0xe5)][j(0xd7)]('SearchCommand:\x20'+this[j(0xe8)]['name']+'\x20found\x20the\x20following\x20items:\x20'+b),j(0xd6)+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x175;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x18d))/0x1*(-parseInt(f(0x186))/0x2)+parseInt(f(0x194))/0x3+-parseInt(f(0x175))/0x4*(parseInt(f(0x190))/0x5)+parseInt(f(0x18b))/0x6*(-parseInt(f(0x180))/0x7)+-parseInt(f(0x18a))/0x8*(parseInt(f(0x189))/0x9)+-parseInt(f(0x17d))/0xa+parseInt(f(0x193))/0xb*(parseInt(f(0x17b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x5a7c7));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()['search'](h(0x183))[h(0x178)]()[h(0x195)](a41a)[h(0x17c)](h(0x183));});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x176)]='solve';static [a41i(0x184)]=a41i(0x177);[a41i(0x18e)](a){const j=a41i,b=a[j(0x179)]('\x20')['toLowerCase'](),c=this[j(0x17f)][j(0x181)];if(!c||!c[j(0x191)])return this['logger'][j(0x17e)](j(0x18f)),j(0x18c);const d=c[j(0x191)]['solve'](b,this['actor']['inventory']);return d[j(0x17a)]&&c[j(0x191)][j(0x196)]&&this[j(0x17f)][j(0x187)]['addItem'](c[j(0x191)]['rewardItem']),this[j(0x192)][j(0x17e)](j(0x182)+d[j(0x188)]),d[j(0x188)];}}function a41c(){const k=['write','actor','7KVWXbw','currentLocation','SolveCommand:\x20','(((.+)+)+)+$','description','apply','266078qVpFKI','inventory','message','4607244qoHNMc','8AADMcH','183630YZbtkC','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','1BGJbvH','execute','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','1565thWCxs','puzzle','logger','11OtITcr','49269PaYdFe','constructor','rewardItem','1172hkwtWM','verb','Attempt\x20to\x20solve\x20a\x20puzzle.','toString','join','success','13835004UVBJpt','search','2975180wvzsMe'];a41c=function(){return k;};return a41c();}
1
+ const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0xc8))/0x1+-parseInt(f(0xbc))/0x2+parseInt(f(0xbf))/0x3*(-parseInt(f(0xc7))/0x4)+-parseInt(f(0xc1))/0x5+parseInt(f(0xd9))/0x6+-parseInt(f(0xc4))/0x7*(-parseInt(f(0xc9))/0x8)+-parseInt(f(0xdc))/0x9*(-parseInt(f(0xca))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x9c6c4));const a41b=(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;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0xda)]()[g(0xd1)](g(0xc0))['toString']()[g(0xd2)](a41a)[g(0xd1)](g(0xc0));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xbc;let f=c[d];return f;},a41d(a,b);}function a41c(){const j=['Attempt\x20to\x20solve\x20a\x20puzzle.','rewardItem','search','constructor','toLowerCase','solve','actor','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','currentLocation','description','196968XsUKku','toString','execute','112365JCUjHk','message','1678030BISguE','write','success','651279ZmhTST','(((.+)+)+)+$','4019320ovzDkE','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','puzzle','56889zVEJgE','inventory','verb','4XjGanC','199473nATjux','1176AMrplJ','860RfsdVj','logger','addItem','join','SolveCommand:\x20'];a41c=function(){return j;};return a41c();}export class SolveCommand extends Command{static [a41h(0xc6)]=a41h(0xd4);static [a41h(0xd8)]=a41h(0xcf);[a41h(0xdb)](a){const i=a41h,b=a[i(0xcd)]('\x20')[i(0xd3)](),c=this[i(0xd5)][i(0xd7)];if(!c||!c[i(0xc3)])return this[i(0xcb)][i(0xbd)](i(0xc2)),i(0xd6);const d=c['puzzle']['solve'](b,this[i(0xd5)][i(0xc5)]);return d[i(0xbe)]&&c[i(0xc3)][i(0xd0)]&&this['actor'][i(0xc5)][i(0xcc)](c[i(0xc3)]['rewardItem']),this[i(0xcb)][i(0xbd)](i(0xce)+d['message']),d[i(0xdd)];}}
@@ -1 +1 @@
1
- const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x11a;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x143))/0x1*(-parseInt(f(0x11c))/0x2)+parseInt(f(0x137))/0x3+parseInt(f(0x146))/0x4*(parseInt(f(0x11b))/0x5)+parseInt(f(0x136))/0x6+parseInt(f(0x131))/0x7+-parseInt(f(0x11a))/0x8+-parseInt(f(0x13e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xea916));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x120)]()['search']('(((.+)+)+)+$')[h(0x120)]()[h(0x13c)](a42a)['search'](h(0x12b));});a42a();function a42c(){const l=['currentLocation','\x22\x20not\x20found\x20in\x20','toLowerCase','8929014WjQdYN','3281238YPZIGe','Error\x20during\x20\x27Take\x27\x20command:\x20','execute','\x22\x20to\x20','\x22\x20in\x20this\x20room.','constructor','Successfully\x20removed\x20\x22','8906310VKPhWf','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Pick\x20up\x20an\x20item.','inventory','\x22\x20from\x20','1XSAnzr','getItem','removeItem','983352xgSAct','5466432uIhlZW','5VefAHH','613688ojwerx','take','apply','\x22\x20is\x20too\x20heavy\x20to\x20carry.','toString','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','verb','The\x20item\x20\x22','name','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','join','hasItem','addInventory','write','(((.+)+)+)+$','There\x20is\x20no\x20item\x20\x22','logger','\x22\x20not\x20retrieved\x20from\x20','You\x20have\x20taken\x20the\x20','description','789425hhiyCd','\x20during\x20\x27Take\x27\x20command.'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x122)]=a42i(0x11d);static [a42i(0x130)]=a42i(0x140);[a42i(0x139)](a){const j=a42i;return this[j(0x12d)][j(0x12a)](j(0x121)+a[j(0x127)]('\x20')),this[j(0x11d)](a);}[a42i(0x11d)](a){const k=a42i,b=a[k(0x127)]('\x20')[k(0x135)](),c=this['actor'][k(0x133)];if(!c[k(0x141)][k(0x128)](b))return this[k(0x12d)][k(0x12a)](k(0x126)+b+k(0x134)+c[k(0x124)]+k(0x132)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x13b);const d=c[k(0x141)][k(0x144)](b);if(!d)return this[k(0x12d)][k(0x12a)](k(0x126)+b+k(0x12e)+c[k(0x124)]+k(0x13f)),k(0x12c)+b+k(0x13b);try{return this['actor'][k(0x129)](d),this['logger'][k(0x12a)]('Successfully\x20added\x20\x22'+b+k(0x13a)+this['actor'][k(0x124)]+k(0x125)),c[k(0x141)][k(0x145)](b),this['logger'][k(0x12a)](k(0x13d)+b+k(0x142)+c[k(0x124)]+k(0x13f)),k(0x12f)+b+'.';}catch(e){return this[k(0x12d)][k(0x12a)](k(0x138)+e['message']),k(0x123)+b+k(0x11f);}}}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x190;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1a5))/0x1*(parseInt(f(0x1a2))/0x2)+parseInt(f(0x19a))/0x3*(parseInt(f(0x19f))/0x4)+parseInt(f(0x198))/0x5+parseInt(f(0x1be))/0x6+-parseInt(f(0x1b1))/0x7*(-parseInt(f(0x1b7))/0x8)+-parseInt(f(0x1ab))/0x9+-parseInt(f(0x1a1))/0xa*(parseInt(f(0x19c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x18dd0));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1b3)]()[h(0x1b5)](h(0x1b9))['toString']()['constructor'](a42a)[h(0x1b5)](h(0x1b9));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x1ae)]=a42i(0x1af);static [a42i(0x193)]=a42i(0x1ac);[a42i(0x192)](a){const j=a42i;return this[j(0x1b2)][j(0x19b)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a['join']('\x20')),this[j(0x1af)](a);}[a42i(0x1af)](a){const k=a42i,b=a[k(0x197)]('\x20')[k(0x195)](),c=this['actor'][k(0x1b6)];if(!c['inventory'][k(0x1bb)](b))return this[k(0x1b2)][k(0x19b)](k(0x1bd)+b+k(0x1ba)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x194);const d=c[k(0x1a7)][k(0x191)](b);if(!d)return this['logger'][k(0x19b)]('Item\x20\x22'+b+k(0x1a9)+c[k(0x19e)]+k(0x1a8)),k(0x1b0)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x1aa)][k(0x1b4)](d),this[k(0x1b2)]['write'](k(0x1a4)+b+k(0x19d)+this[k(0x1aa)][k(0x19e)]+k(0x190)),c[k(0x1a7)]['removeItem'](b),this[k(0x1b2)][k(0x19b)](k(0x1a3)+b+k(0x1b8)+c[k(0x19e)]+k(0x1a8)),k(0x199)+b+'.';}catch(e){return this[k(0x1b2)][k(0x19b)](k(0x196)+e[k(0x1ad)]),k(0x1bc)+b+k(0x1a0);}}}function a42c(){const l=['\x22\x20not\x20retrieved\x20from\x20','actor','1016496PHudtY','Pick\x20up\x20an\x20item.','message','verb','take','There\x20is\x20no\x20item\x20\x22','518812lLWQLZ','logger','toString','addInventory','search','currentLocation','8YfRzEA','\x22\x20from\x20','(((.+)+)+)+$','\x22\x20not\x20found\x20in\x20','hasItem','The\x20item\x20\x22','Item\x20\x22','208296nQbpcI','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','getItem','execute','description','\x22\x20in\x20this\x20room.','toLowerCase','Error\x20during\x20\x27Take\x27\x20command:\x20','join','785675IiXzwD','You\x20have\x20taken\x20the\x20','5685kbYYiW','write','33SrKqRk','\x22\x20to\x20','name','316NwaOVZ','\x22\x20is\x20too\x20heavy\x20to\x20carry.','427030IaeWVC','14XvwgvV','Successfully\x20removed\x20\x22','Successfully\x20added\x20\x22','10397wUKlCo','apply','inventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a42c=function(){return l;};return a42c();}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1ad))/0x1*(parseInt(f(0x1a6))/0x2)+parseInt(f(0x1ab))/0x3*(-parseInt(f(0x1a7))/0x4)+parseInt(f(0x1a4))/0x5*(-parseInt(f(0x1a5))/0x6)+-parseInt(f(0x1b2))/0x7+parseInt(f(0x1bb))/0x8+-parseInt(f(0x1a8))/0x9*(parseInt(f(0x1af))/0xa)+parseInt(f(0x1ae))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x81193));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1b5)]()[h(0x1ac)](h(0x1b9))[h(0x1b5)]()[h(0x1b0)](a43a)[h(0x1ac)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['execute','actor','843xKcfNQ','search','2ifYPae','15387273VHEArv','73630MFFRfI','constructor','apply','1617EBnFfr','logger','name','toString','write','description','\x20unqeuiped\x20','(((.+)+)+)+$','toLowerCase','6351656NVnigc','UnequipCommand:\x20','995IQlUFd','14466PccxDt','42494UiiaQb','12952JBWRbi','387BeIyzk'];a43c=function(){return k;};return a43c();}export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a43i(0x1b7)]='Unequip\x20an\x20item.';[a43i(0x1a9)](a){const j=a43i,b=a['join']('\x20')[j(0x1ba)](),c=this[j(0x1aa)]['unequip'](b);return this[j(0x1b3)][j(0x1b6)](j(0x1a3)+this[j(0x1aa)][j(0x1b4)]+j(0x1b8)+c),c;}}
1
+ function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a43d(a,b);}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1c2))/0x1+parseInt(f(0x1c7))/0x2*(parseInt(f(0x1c1))/0x3)+parseInt(f(0x1c8))/0x4*(parseInt(f(0x1b6))/0x5)+parseInt(f(0x1c9))/0x6*(parseInt(f(0x1cc))/0x7)+parseInt(f(0x1ca))/0x8+parseInt(f(0x1cb))/0x9+parseInt(f(0x1b5))/0xa*(-parseInt(f(0x1b7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x89c5f));const a43b=(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;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x1c4)]()[g(0x1c5)]('(((.+)+)+)+$')['toString']()[g(0x1b8)](a43a)[g(0x1c5)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';function a43c(){const j=['1701750ngXRLZ','3475508ZWmqxn','168dJGHwl','1147992vdtyVs','6840720VDaKFa','145551ofuBdq','70ztkKXl','5lpLCuO','4068845NPVMzi','constructor','execute','Unequip\x20an\x20item.','toLowerCase','description','write','unequip','\x20unqeuiped\x20','name','3ZeFBJk','51951xKLZkC','logger','toString','search','actor'];a43c=function(){return j;};return a43c();}export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a43h(0x1bc)]=a43h(0x1ba);[a43h(0x1b9)](a){const i=a43h,b=a['join']('\x20')[i(0x1bb)](),c=this[i(0x1c6)][i(0x1be)](b);return this[i(0x1c3)][i(0x1bd)]('UnequipCommand:\x20'+this[i(0x1c6)][i(0x1c0)]+i(0x1bf)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x165))/0x1*(parseInt(h(0x161))/0x2)+-parseInt(h(0x14c))/0x3+-parseInt(h(0x14e))/0x4*(-parseInt(h(0x164))/0x5)+-parseInt(h(0x148))/0x6*(-parseInt(h(0x160))/0x7)+parseInt(h(0x156))/0x8*(-parseInt(h(0x143))/0x9)+-parseInt(h(0x147))/0xa+parseInt(h(0x15c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xd9b16));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x13e;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x142)]()[j(0x145)](j(0x14d))[j(0x142)]()[j(0x166)](a44a)[j(0x145)](j(0x14d));});function a44c(){const n=['unlockItemOrSolution','currentLocation','2495VtgSVM','1dWnQvT','constructor','.\x20Result:\x20','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','isValidDirection','\x22\x20here.','toString','34479rsKkfx','description','search','has','15350380vcYVmw','7596opJdky','error','exits','UnlockCommand:\x20No\x20target\x20specified.','2754564bYrLAv','(((.+)+)+)+$','8684ptwOyx','apply','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','UnlockCommand:\x20','verb','attemptUnlockExit','logger','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','2608EsDAcE','unlock','write','toLowerCase','inventory','actor','31352233MSoWBO','name','There\x27s\x20no\x20door\x20named\x20\x22','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','3045xSBgFX','219120EgOXCO'];a44c=function(){return n;};return a44c();}a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x152)]=a44k(0x157);static [a44k(0x144)]='Unlock\x20a\x20door.';['execute'](a){const l=a44k;return this[l(0x157)](a);}[a44k(0x157)](a){const m=a44k;if(a['length']===0x0)return this[m(0x154)][m(0x149)](m(0x14b)),m(0x155);const b=a[0x0]['toLowerCase'](),c=this[m(0x15b)][m(0x163)];if(this[m(0x140)](b)&&c[m(0x14a)][m(0x146)](b)){const d=c[m(0x14a)]['get'](b);if(d instanceof Door){const e=d[m(0x162)]?.[m(0x159)]();if(e&&this[m(0x15b)][m(0x15a)]['hasItem'](e)){const f=this['actor'][m(0x15a)]['getItem'](e);if(f){const g=c[m(0x153)](b,f['name']);return this[m(0x154)][m(0x158)](m(0x151)+this[m(0x15b)][m(0x15d)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x13e)+g),g;}}return this[m(0x154)][m(0x158)](m(0x151)+this['actor'][m(0x15d)]+m(0x150)+b+'.'),m(0x13f);}else return this[m(0x154)][m(0x158)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x15d)]+'.'),m(0x15e)+b+m(0x141);}else return this[m(0x154)][m(0x158)]('UnlockCommand:\x20'+b+m(0x15f)+c['name']+'.'),m(0x15e)+b+'\x22\x20here.';}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0xa4))/0x1+parseInt(h(0xb7))/0x2*(parseInt(h(0xb3))/0x3)+-parseInt(h(0xae))/0x4+parseInt(h(0xc3))/0x5+-parseInt(h(0xbd))/0x6*(-parseInt(h(0xb6))/0x7)+parseInt(h(0xb2))/0x8+-parseInt(h(0xad))/0x9*(parseInt(h(0xc4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7343e));function a44c(){const n=['unlockItemOrSolution','1675345DRaNfZ','1910hzwRQU','toLowerCase','name','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','verb','execute','write','(((.+)+)+)+$','getItem','632574NMKTLy','exits','logger','description','toString','hasItem','length','has','\x20is\x20attempted\x20to\x20unlock\x20','51453bDFeLV','569708CafnXO','unlock','get','UnlockCommand:\x20','649280lOkInM','12606UJkBAa','There\x27s\x20no\x20door\x20named\x20\x22','currentLocation','1220877IMpMIR','64ZtGTjf','inventory','apply','Unlock\x20a\x20door.','actor','\x22\x20here.','18jwvDpn','constructor','error','UnlockCommand:\x20No\x20target\x20specified.','search'];a44c=function(){return n;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0xa8)]()[j(0xc1)](j(0xa2))[j(0xa8)]()[j(0xbe)](a44a)['search'](j(0xa2));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x9f;let f=c[d];return f;},a44d(a,b);}a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x9f)]=a44k(0xaf);static [a44k(0xa7)]=a44k(0xba);[a44k(0xa0)](a){const l=a44k;return this[l(0xaf)](a);}['unlock'](a){const m=a44k;if(a[m(0xaa)]===0x0)return this[m(0xa6)][m(0xbf)](m(0xc0)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0xc5)](),c=this[m(0xbb)][m(0xb5)];if(this['isValidDirection'](b)&&c['exits'][m(0xab)](b)){const d=c[m(0xa5)][m(0xb0)](b);if(d instanceof Door){const e=d[m(0xc2)]?.['toLowerCase']();if(e&&this['actor'][m(0xb8)][m(0xa9)](e)){const f=this['actor'][m(0xb8)][m(0xa3)](e);if(f){const g=c['attemptUnlockExit'](b,f['name']);return this[m(0xa6)]['write'](m(0xb1)+this[m(0xbb)][m(0xc6)]+m(0xac)+b+'.\x20Result:\x20'+g),g;}}return this[m(0xa6)]['write'](m(0xb1)+this[m(0xbb)][m(0xc6)]+m(0xc7)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger'][m(0xa1)](m(0xb1)+b+m(0xc8)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xbc);}else return this[m(0xa6)][m(0xa1)](m(0xb1)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xc6)]+'.'),m(0xb4)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x12d;let f=c[d];return f;},a45d(a,b);}const a45i=a45d;function a45c(){const l=['1980288qhoqZk','toLowerCase','You\x20can\x27t\x20use\x20the\x20','1571060FXWnMY','use','inventory','name','398436kIlnBE','68715FfwPOq','(((.+)+)+)+$','\x20not\x20retrieved\x20from\x20','1644SrfWqy','actor','1090ZjBAji','\x20used\x20','UseCommand:\x20','184194KaPJox','toString','\x27s\x20inventory.','function','logger','write','verb','getItem','3654Yuwzvm','6qenUfM','1326296lAaKpH','apply','hasItem','constructor','\x20to\x20use.','\x20in\x20this\x20way.','You\x20don\x27t\x20have\x20the\x20','join','execute'];a45c=function(){return l;};return a45c();}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x14e))/0x1+parseInt(f(0x13d))/0x2*(parseInt(f(0x134))/0x3)+-parseInt(f(0x13e))/0x4+parseInt(f(0x14a))/0x5+parseInt(f(0x12f))/0x6*(-parseInt(f(0x13c))/0x7)+-parseInt(f(0x147))/0x8+parseInt(f(0x14f))/0x9*(parseInt(f(0x131))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x3347f));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x135)]()['search'](h(0x12d))[h(0x135)]()[h(0x141)](a45a)['search'](h(0x12d));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x13a)]='use';static ['description']='Use\x20an\x20item.';[a45i(0x146)](a){const j=a45i;return this[j(0x14b)](a);}['use'](a){const k=a45i,b=a[k(0x145)]('\x20')[k(0x148)]();if(!this[k(0x130)][k(0x14c)][k(0x140)](b))return this[k(0x138)][k(0x139)](k(0x133)+this[k(0x130)]['name']+'\x20attempted\x20to\x20use\x20'+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x144)+b+k(0x142);const c=this[k(0x130)][k(0x14c)][k(0x13b)](b);if(!c)return this['logger'][k(0x139)](k(0x133)+b+k(0x12e)+this[k(0x130)][k(0x14d)]+k(0x136)),k(0x144)+b+k(0x142);if(typeof c[k(0x14b)]===k(0x137)){const d=c['use']();return this[k(0x138)][k(0x139)](k(0x133)+this['actor'][k(0x14d)]+k(0x132)+b+'.'),d;}else return this['logger']['write'](k(0x133)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0x149)+b+k(0x143);}}
1
+ const a45i=a45d;function a45c(){const k=['8191665KqXfOq','constructor','write','verb','toString','inventory','search','apply','join','\x27s\x20inventory.','Use\x20an\x20item.','(((.+)+)+)+$','\x20to\x20use.','\x20in\x20this\x20way.','toLowerCase','96RAKDTH','10YJAuNE','execute','95963hzkcfA','2972435DqlLfs','actor','description','2156244XfvZNf','use','4pPRsDY','name','logger','764542JvkTMt','1489640iGCqSZ','UseCommand:\x20','216902yaapuC','\x20not\x20retrieved\x20from\x20','You\x20don\x27t\x20have\x20the\x20'];a45c=function(){return k;};return a45c();}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x7d))/0x1+parseInt(f(0x80))/0x2+parseInt(f(0x78))/0x3*(parseInt(f(0x7a))/0x4)+-parseInt(f(0x75))/0x5+-parseInt(f(0x71))/0x6*(-parseInt(f(0x74))/0x7)+-parseInt(f(0x7e))/0x8+-parseInt(f(0x83))/0x9*(-parseInt(f(0x72))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x64766));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x70;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(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x87)]()[h(0x89)](h(0x8e))['toString']()[h(0x84)](a45a)['search'](h(0x8e));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x86)]='use';static [a45i(0x77)]=a45i(0x8d);[a45i(0x73)](a){return this['use'](a);}[a45i(0x79)](a){const j=a45i,b=a[j(0x8b)]('\x20')[j(0x70)]();if(!this[j(0x76)][j(0x88)]['hasItem'](b))return this[j(0x7c)][j(0x85)](j(0x7f)+this[j(0x76)][j(0x7b)]+'\x20attempted\x20to\x20use\x20'+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x82)+b+j(0x8f);const c=this['actor'][j(0x88)]['getItem'](b);if(!c)return this['logger'][j(0x85)](j(0x7f)+b+j(0x81)+this[j(0x76)]['name']+j(0x8c)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x8f);if(typeof c['use']==='function'){const d=c['use']();return this[j(0x7c)][j(0x85)](j(0x7f)+this[j(0x76)][j(0x7b)]+'\x20used\x20'+b+'.'),d;}else return this[j(0x7c)][j(0x85)](j(0x7f)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x90);}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0xac))/0x1*(-parseInt(f(0xb4))/0x2)+parseInt(f(0xa9))/0x3+parseInt(f(0xa4))/0x4*(-parseInt(f(0xae))/0x5)+parseInt(f(0xa6))/0x6+parseInt(f(0xa3))/0x7+parseInt(f(0xb3))/0x8*(-parseInt(f(0xa5))/0x9)+parseInt(f(0xad))/0xa*(parseInt(f(0xb5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xbe01c));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0xa8)](h(0xab))[h(0xb0)]()[h(0xaf)](a46a)[h(0xa8)](h(0xab));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xa3;let f=c[d];return f;},a46d(a,b);}export class CommandFactory{static [a46i(0xa7)]={};static['registerCommand'](a,b){const j=a46i;this[j(0xa7)][a]=b;}static[a46i(0xb2)](a,b){const k=a46i,c=this[k(0xa7)][a];if(c)return new c(b);return null;}static[a46i(0xb1)](){const l=a46i;return this[l(0xa7)];}}function a46c(){const m=['10EMjXQl','constructor','toString','getAllRegisteredCommands','createCommand','385704kvpuEx','2QSYyxw','44bDXheI','7462224HfcfSL','613712CaIkih','261vKIeeL','1175592pLVyjx','commandMap','search','363624nxEDtb','apply','(((.+)+)+)+$','731881mYflBh','920620roMUld'];a46c=function(){return m;};return a46c();}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x1b7))/0x1*(parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1b2))/0x3+parseInt(f(0x1ba))/0x4+parseInt(f(0x1b5))/0x5*(parseInt(f(0x1b1))/0x6)+-parseInt(f(0x1b4))/0x7*(-parseInt(f(0x1be))/0x8)+-parseInt(f(0x1b9))/0x9*(parseInt(f(0x1bd))/0xa)+parseInt(f(0x1b6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x25fff));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1bc)]()['search'](h(0x1ae))[h(0x1bc)]()[h(0x1b8)](a46a)[h(0x1ad)](h(0x1ae));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a46d(a,b);}function a46c(){const l=['20tZLSWV','2891196QzHIqE','1fnwppL','constructor','18ctABtr','88468heVxHG','467778QWlEUQ','toString','1034660BarQxS','384648cLxiVn','search','(((.+)+)+)+$','createCommand','commandMap','317004JbKROn','564921yXHRDE','apply','42YQYghP'];a46c=function(){return l;};return a46c();}export class CommandFactory{static [a46i(0x1b0)]={};static['registerCommand'](a,b){this['commandMap'][a]=b;}static[a46i(0x1af)](a,b){const j=a46i,c=this[j(0x1b0)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a46i;return this[k(0x1b0)];}}
@@ -1 +1 @@
1
- const a47j=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1ca))/0x1+-parseInt(f(0x1c4))/0x2*(-parseInt(f(0x1e8))/0x3)+parseInt(f(0x1de))/0x4+parseInt(f(0x1c7))/0x5+-parseInt(f(0x1df))/0x6+-parseInt(f(0x1cb))/0x7*(-parseInt(f(0x1cd))/0x8)+-parseInt(f(0x1c5))/0x9*(parseInt(f(0x1ce))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x85a55));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(0x1d1)](g(0x1e9))[g(0x1cf)]()[g(0x1d7)](a47a)['search'](g(0x1e9));});a47a();function a47c(){const n=['4860099CQetnf','name','3304100zVthkE','convertToRoomConfig','items','731376oQQrgU','14VgxEqu','rewardItem','2848744NevmsB','40eLgNtd','toString','content','search','setPuzzle','createPuzzle','puzzle','INSIDE','boots','constructor','sword','inventory','bodyarmor','addItem','gloves','gauntlets','1846940dHnBxR','2032266qSAuDf','rifle','helmet','createItem','key','legarmor','toUpperCase','roomType','type','43641zUWTLO','(((.+)+)+)+$','description','66SqUEhl'];a47c=function(){return n;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a47d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const h=a47d,b=this[h(0x1c8)](a),c=new Room(b);if(a[h(0x1c9)]){const d=new Inventory();a[h(0x1c9)]['forEach'](e=>{const i=h;d[i(0x1db)](this[i(0x1e2)](e));}),c[h(0x1d9)]=d;}return a[h(0x1d4)]&&c[h(0x1d2)](this['createPuzzle'](a['puzzle'])),c;}[a47j(0x1e2)](a){const k=a47j;switch(a[k(0x1e7)]){case k(0x1e3):return new Key(a[k(0x1c6)],a[k(0x1c3)]);case'book':return new Book(a['name'],a[k(0x1c3)],a[k(0x1d0)]);case k(0x1d8):return new Sword(a['name'],a['description']);case k(0x1e0):return new Rifle(a['name'],a['description']);case k(0x1e1):return new Helmet(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1da):return new BodyArmor(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1e4):return new LegArmor(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1d6):return new Boots(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1dc):return new Gloves(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1dd):return new Gauntlets(a[k(0x1c6)],a['description']);default:return new BasicItem(a[k(0x1c6)],a[k(0x1c3)]);}}[a47j(0x1d3)](a){const l=a47j,b=this[l(0x1e2)](a[l(0x1cc)]);return new Puzzle({...a,'rewardItem':b});}[a47j(0x1c8)](a){const m=a47j,b=a[m(0x1e6)]&&RoomType[a[m(0x1e6)][m(0x1e5)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[m(0x1d5)];return{'name':a[m(0x1c6)],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x124))/0x1+parseInt(f(0x11c))/0x2*(-parseInt(f(0x114))/0x3)+parseInt(f(0x11b))/0x4*(parseInt(f(0x112))/0x5)+parseInt(f(0x10b))/0x6+-parseInt(f(0x10d))/0x7*(-parseInt(f(0x109))/0x8)+parseInt(f(0x115))/0x9+-parseInt(f(0x125))/0xa*(parseInt(f(0x110))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xe92a2));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()['search'](h(0x11a))[h(0x108)]()[h(0x113)](a47a)[h(0x111)](h(0x11a));});a47a();function a47c(){const o=['11ccyUiM','search','5cdLtRx','constructor','153OLHESI','3947976eHHHLJ','INSIDE','helmet','apply','type','(((.+)+)+)+$','2340872jANlag','67516bJaUMI','sword','key','puzzle','boots','bodyarmor','forEach','items','1808214pEeBHB','20997190CXmNmQ','name','legarmor','rewardItem','createPuzzle','createItem','book','convertToRoomConfig','createRoom','isStartRoom','roomType','toString','12392yEdIxh','gloves','11415000ZNcjfE','toUpperCase','189gJxcVX','rifle','description'];a47c=function(){return o;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x107;let f=c[d];return f;},a47d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x12d)](a){const j=a47i,b=this[j(0x12c)](a),c=new Room(b);if(a[j(0x123)]){const d=new Inventory();a[j(0x123)][j(0x122)](e=>{const k=j;d['addItem'](this[k(0x12a)](e));}),c['inventory']=d;}return a[j(0x11f)]&&c['setPuzzle'](this['createPuzzle'](a[j(0x11f)])),c;}['createItem'](a){const l=a47i;switch(a[l(0x119)]){case l(0x11e):return new Key(a[l(0x126)],a[l(0x10f)]);case l(0x12b):return new Book(a['name'],a['description'],a['content']);case l(0x11d):return new Sword(a[l(0x126)],a[l(0x10f)]);case l(0x10e):return new Rifle(a[l(0x126)],a[l(0x10f)]);case l(0x117):return new Helmet(a[l(0x126)],a['description']);case l(0x121):return new BodyArmor(a['name'],a[l(0x10f)]);case l(0x127):return new LegArmor(a['name'],a[l(0x10f)]);case l(0x120):return new Boots(a['name'],a[l(0x10f)]);case l(0x10a):return new Gloves(a['name'],a['description']);case'gauntlets':return new Gauntlets(a[l(0x126)],a[l(0x10f)]);default:return new BasicItem(a[l(0x126)],a[l(0x10f)]);}}[a47i(0x129)](a){const m=a47i,b=this[m(0x12a)](a[m(0x128)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a47i,b=a[n(0x107)]&&RoomType[a['roomType'][n(0x10c)]()]?RoomType[a[n(0x107)]['toUpperCase']()]:RoomType[n(0x116)];return{'name':a[n(0x126)],'description':a[n(0x10f)],'isStartRoom':a[n(0x12e)],'roomType':b};}}
@@ -1 +1 @@
1
- const a48j=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x172))/0x1*(parseInt(h(0x158))/0x2)+parseInt(h(0x174))/0x3+-parseInt(h(0x17e))/0x4*(parseInt(h(0x151))/0x5)+-parseInt(h(0x164))/0x6*(parseInt(h(0x16e))/0x7)+parseInt(h(0x166))/0x8*(parseInt(h(0x153))/0x9)+parseInt(h(0x156))/0xa+parseInt(h(0x15a))/0xb*(-parseInt(h(0x15b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8e2b5));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 i=a48d;return a48a['toString']()[i(0x170)](i(0x160))['toString']()[i(0x173)](a48a)['search'](i(0x160));});a48a();import{Scene}from'./models/scene.js';function a48c(){const q=['unlock','hasOwnProperty','-\x20quit:\x20Exit\x20the\x20game.\x0a','registerCommands','solve','scene','777686hUyuIJ','getDescription','search','getHelpMessage','13EeEaLD','constructor','2445213RKrBFN','look','quit','use','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','unequip','help','-\x20clear:\x20Clear\x20the\x20screen.\x0a','equip','lock','5996WMELoa','player','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','2710zXPwCz','initialize','63xbuzjS','currentLocation','rooms','11163300ufWOqW','registerCommand','109474iBSlhM','getWelcomeMessage','2926YQmzya','62820ctzkRj','currentRoom','Available\x20Commands:\x0a','getAllRegisteredCommands','determineStartRoom','(((.+)+)+)+$','slice','execute','say','6xXKAPh','split','291896oTEqHB','getInstance'];a48c=function(){return q;};return a48c();}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x151;let f=c[d];return f;},a48d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a48j(0x16d)];[a48j(0x17f)];[a48j(0x15c)];[a48j(0x155)];constructor(a,b){const k=a48j;this[k(0x17f)]=a,this[k(0x16d)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x16d)][k(0x152)](),this[k(0x17f)][k(0x154)]=this['determineStartRoom'](),this[k(0x16b)]();}[a48j(0x16b)](){const l=a48j;CommandFactory['registerCommand'](l(0x175),LookCommand),CommandFactory[l(0x157)]('go',GoCommand),CommandFactory[l(0x157)]('take',TakeCommand),CommandFactory[l(0x157)](l(0x177),UseCommand),CommandFactory[l(0x157)](l(0x17c),EquipCommand),CommandFactory[l(0x157)](l(0x179),UnequipCommand),CommandFactory[l(0x157)](l(0x16c),SolveCommand),CommandFactory['registerCommand']('drop',DropCommand),CommandFactory[l(0x157)](l(0x168),UnlockCommand),CommandFactory['registerCommand'](l(0x17d),LockCommand),CommandFactory['registerCommand']('search',SearchCommand),CommandFactory['registerCommand'](l(0x163),SayCommand);}[a48j(0x15f)](){const m=a48j;return this[m(0x16d)][m(0x15f)]();}[a48j(0x159)](){const n=a48j;return'Welcome,\x20'+this[n(0x17f)]['name'];}static[a48j(0x167)](a,b){return!Game['instance']&&(Game['instance']=new Game(a,b)),Game['instance'];}['handleInput'](a){const o=a48j,b=a['trim']()[o(0x165)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[o(0x161)](0x1);if(c===o(0x176))return null;if(c==='maka')return o(0x178);if(c===o(0x17a))return this['getHelpMessage']();if(c==='clear')return'';const e={'actor':this[o(0x17f)],'rooms':this[o(0x16d)]['getRooms'](),'scene':this[o(0x16d)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[o(0x162)](d);return g;}return o(0x180)+c+'\x22.';}[a48j(0x171)](){const p=a48j,a=CommandFactory[p(0x15e)]();let b=p(0x15d);for(const c in a){if(a[p(0x169)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[p(0x16f)]()+'\x0a';}}return b+=p(0x17b),b+=p(0x16a),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x93))/0x1*(parseInt(h(0x7d))/0x2)+parseInt(h(0x85))/0x3*(parseInt(h(0x6a))/0x4)+-parseInt(h(0x81))/0x5+parseInt(h(0xa0))/0x6+-parseInt(h(0x6f))/0x7*(parseInt(h(0x73))/0x8)+-parseInt(h(0x9b))/0x9+-parseInt(h(0x96))/0xa*(parseInt(h(0x75))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x528ae));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()[j(0x80)](j(0x9e))['toString']()[j(0x8e)](a48a)[j(0x80)](j(0x9e));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x6a;let f=c[d];return f;},a48d(a,b);}import{SayCommand}from'./commands/say.js';function a48c(){const s=['registerCommand','use','instance','rooms','3lRtDZO','getHelpMessage','getRooms','41390TJywsm','unlock','apply','help','currentRoom','298818JbNNiB','Welcome,\x20','equip','(((.+)+)+)+$','createCommand','901422wuXkuM','2542908QfGQiC','scene','registerCommands','handleInput','unequip','2359cRclaa','getInstance','-\x20clear:\x20Clear\x20the\x20screen.\x0a','say','7792UNrajm','quit','297knTAYJ','drop','lock','split','trim','player','determineStartRoom','slice','84154IKRHwU','name','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','search','504540BqhEqU','execute','currentLocation','getWelcomeMessage','3mqFsEZ','Available\x20Commands:\x0a','maka','look','getDescription','hasOwnProperty','solve','toLowerCase','take','constructor'];a48c=function(){return s;};return a48c();}import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a48k(0x6b)];[a48k(0x7a)];[a48k(0x9a)];[a48k(0x92)];constructor(a,b){const l=a48k;this[l(0x7a)]=a,this[l(0x6b)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x6b)]['initialize'](),this[l(0x7a)][l(0x83)]=this[l(0x7b)](),this[l(0x6c)]();}[a48k(0x6c)](){const m=a48k;CommandFactory[m(0x8f)](m(0x88),LookCommand),CommandFactory[m(0x8f)]('go',GoCommand),CommandFactory[m(0x8f)](m(0x8d),TakeCommand),CommandFactory[m(0x8f)](m(0x90),UseCommand),CommandFactory['registerCommand'](m(0x9d),EquipCommand),CommandFactory[m(0x8f)](m(0x6e),UnequipCommand),CommandFactory[m(0x8f)](m(0x8b),SolveCommand),CommandFactory['registerCommand'](m(0x76),DropCommand),CommandFactory['registerCommand'](m(0x97),UnlockCommand),CommandFactory[m(0x8f)](m(0x77),LockCommand),CommandFactory[m(0x8f)](m(0x80),SearchCommand),CommandFactory['registerCommand'](m(0x72),SayCommand);}[a48k(0x7b)](){const n=a48k;return this['scene'][n(0x7b)]();}[a48k(0x84)](){const o=a48k;return o(0x9c)+this[o(0x7a)][o(0x7e)];}static[a48k(0x70)](a,b){const p=a48k;return!Game[p(0x91)]&&(Game[p(0x91)]=new Game(a,b)),Game['instance'];}[a48k(0x6d)](a){const q=a48k,b=a[q(0x79)]()[q(0x78)]('\x20'),c=b[0x0][q(0x8c)](),d=b[q(0x7c)](0x1);if(c===q(0x74))return null;if(c===q(0x87))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x99))return this[q(0x94)]();if(c==='clear')return'';const e={'actor':this['player'],'rooms':this[q(0x6b)][q(0x95)](),'scene':this[q(0x6b)]},f=CommandFactory[q(0x9f)](c,e);if(f){const g=f[q(0x82)](d);return g;}return q(0x7f)+c+'\x22.';}[a48k(0x94)](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x86);for(const c in a){if(a[r(0x8a)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x89)]()+'\x0a';}}return b+=r(0x71),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1f0))/0x1+-parseInt(f(0x1f7))/0x2+-parseInt(f(0x1f3))/0x3+parseInt(f(0x1f1))/0x4*(parseInt(f(0x1ef))/0x5)+parseInt(f(0x1ee))/0x6+parseInt(f(0x1f5))/0x7*(parseInt(f(0x1ec))/0x8)+parseInt(f(0x1f4))/0x9*(parseInt(f(0x1f8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xcf03c));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1ed)]()['search'](h(0x1f9))[h(0x1ed)]()[h(0x1f6)](a49a)[h(0x1f2)](h(0x1f9));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1eb;var f=c[d];return f;},a49d(a,b);}export*from'./player.js';function a49c(){var i=['(((.+)+)+)+$','apply','112QWytaO','toString','3671574nPJouI','79145FtMUMo','791324txhEum','136SJquvW','search','842610ufXoyP','4437noQAjz','505883lfEbkU','constructor','2224786wITPPp','17660LATDgu'];a49c=function(){return i;};return a49c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1c2))/0x1*(-parseInt(f(0x1c1))/0x2)+-parseInt(f(0x1b5))/0x3+-parseInt(f(0x1bb))/0x4*(parseInt(f(0x1bd))/0x5)+-parseInt(f(0x1b6))/0x6+-parseInt(f(0x1ba))/0x7*(-parseInt(f(0x1bc))/0x8)+parseInt(f(0x1b7))/0x9+parseInt(f(0x1c0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xb05b5));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1be)]()[h(0x1bf)](h(0x1c3))[h(0x1be)]()[h(0x1b9)](a49a)[h(0x1bf)]('(((.+)+)+)+$');});a49a();export*from'./door.js';export*from'./inventory.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1b5;var f=c[d];return f;},a49d(a,b);}export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a49c(){var i=['2792NXBuPt','5cAAzMu','toString','search','5776370dKTFHl','2839558UEuUgs','1HzTMHE','(((.+)+)+)+$','3068025YItDgo','4356312CztbGi','3504852taQWHF','apply','constructor','12026LNPwKO','2061368QeeNdO'];a49c=function(){return i;};return a49c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1bc;var f=c[d];return f;},a50d(a,b);}var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x1d4))/0x1*(parseInt(f(0x1be))/0x2)+-parseInt(f(0x1c2))/0x3+-parseInt(f(0x1bd))/0x4*(-parseInt(f(0x1c3))/0x5)+parseInt(f(0x1d9))/0x6+parseInt(f(0x1d7))/0x7*(-parseInt(f(0x1c5))/0x8)+-parseInt(f(0x1cf))/0x9*(parseInt(f(0x1c9))/0xa)+parseInt(f(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x66925));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(0x1c0)]()[g(0x1c8)](g(0x1d5))['toString']()[g(0x1cb)](a50a)[g(0x1c8)](g(0x1d5));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50c(){var n=['Door\x20created\x20between\x20','117kbdKyg','name','checkIfLocked','To\x20','roomB','1ZRosRk','(((.+)+)+)+$','.\x20Is\x20Locked:\x20','189ljQsAk','checkIfLockable','40116OuViUF','20112301SbYmkX','isLocked','roomA','getInstance','60GqicLB','880084HAJzFh','Failed\x20to\x20unlock\x20door:\x20','toString','\x20and\x20','2165259lFTebA','97490mdCTdW','.\x20Used:\x20','211272wjfwGT','unlockItemOrSolution','write','search','548200phHZAu','logger','constructor','attemptUnlock','isLockable'];a50c=function(){return n;};return a50c();}export class Door extends AbstractDoor{['roomA'];[a50h(0x1d3)];[a50h(0x1db)];[a50h(0x1c6)];[a50h(0x1d0)];[a50h(0x1ca)];[a50h(0x1cd)];constructor(a){var i=a50h;super(),this['roomA']=a['roomA'],this[i(0x1d3)]=a[i(0x1d3)],this[i(0x1db)]=a[i(0x1db)]||![],this['unlockItemOrSolution']=a[i(0x1c6)],this[i(0x1d0)]=a['name']?capitalCase(a[i(0x1d0)]):i(0x1d2)+a[i(0x1d3)]['name'],this[i(0x1ca)]=Logger[i(0x1bc)](),this['isLockable']=!!a[i(0x1c6)],this[i(0x1ca)][i(0x1c7)](i(0x1ce)+this[i(0x1dc)][i(0x1d0)]+i(0x1c1)+this[i(0x1d3)]['name']+i(0x1d6)+this['isLocked']);}['getOtherSide'](a){var j=a50h;return this[j(0x1dc)]===a?this[j(0x1d3)]:this['roomA'];}[a50h(0x1cc)](a){var k=a50h;if(this[k(0x1db)]&&this[k(0x1c6)]&&this[k(0x1c6)]===a)return this[k(0x1db)]=![],this['logger'][k(0x1c7)]('Door\x20unlocked:\x20'+this[k(0x1d0)]+'.\x20Used:\x20'+a),!![];return this[k(0x1ca)][k(0x1c7)](k(0x1bf)+this[k(0x1d0)]+k(0x1c4)+a),![];}[a50h(0x1d1)](){var l=a50h;return this[l(0x1db)];}[a50h(0x1d8)](){var m=a50h;return this[m(0x1cd)];}}
1
+ var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x108))/0x1*(parseInt(f(0x114))/0x2)+-parseInt(f(0x10a))/0x3+parseInt(f(0x10c))/0x4+-parseInt(f(0x100))/0x5+-parseInt(f(0x101))/0x6*(parseInt(f(0x105))/0x7)+parseInt(f(0xfe))/0x8+parseInt(f(0x11a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x939f2));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0xfc;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(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x116)]()['search']('(((.+)+)+)+$')[h(0x116)]()[h(0xff)](a50a)[h(0x118)](h(0x104));});function a50c(){var n=['name','isLocked','attemptUnlock','.\x20Is\x20Locked:\x20','To\x20','230IhHBdi','logger','toString','isLockable','search','apply','24670053XHTHZJ','Door\x20unlocked:\x20','getInstance','checkIfLockable','877440YHJKeZ','constructor','5476055YlVFyB','348dNJwRa','.\x20Used:\x20','roomB','(((.+)+)+)+$','29365sZaetP','checkIfLocked','getOtherSide','3734rlhSYH','roomA','2582976ivWiHf','\x20and\x20','1531136ItlARh','unlockItemOrSolution','write'];a50c=function(){return n;};return a50c();}a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a50i(0x103)];['isLocked'];[a50i(0x10d)];['name'];[a50i(0x115)];['isLockable'];constructor(a){var j=a50i;super(),this[j(0x109)]=a['roomA'],this['roomB']=a[j(0x103)],this[j(0x110)]=a[j(0x110)]||![],this[j(0x10d)]=a[j(0x10d)],this[j(0x10f)]=a[j(0x10f)]?capitalCase(a[j(0x10f)]):j(0x113)+a[j(0x103)][j(0x10f)],this[j(0x115)]=Logger[j(0xfc)](),this[j(0x117)]=!!a['unlockItemOrSolution'],this[j(0x115)][j(0x10e)]('Door\x20created\x20between\x20'+this['roomA']['name']+j(0x10b)+this['roomB'][j(0x10f)]+j(0x112)+this[j(0x110)]);}[a50i(0x107)](a){var k=a50i;return this[k(0x109)]===a?this[k(0x103)]:this[k(0x109)];}[a50i(0x111)](a){var l=a50i;if(this[l(0x110)]&&this[l(0x10d)]&&this[l(0x10d)]===a)return this['isLocked']=![],this['logger'][l(0x10e)](l(0x11b)+this[l(0x10f)]+'.\x20Used:\x20'+a),!![];return this[l(0x115)][l(0x10e)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0x10f)]+l(0x102)+a),![];}[a50i(0x106)](){return this['isLocked'];}[a50i(0xfd)](){var m=a50i;return this[m(0x117)];}}
@@ -1 +1 @@
1
- const a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xc9;let f=c[d];return f;},a51d(a,b);}function a51c(){const r=['items','logger','toString','Checked\x20for\x20item:\x20','\x20in\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','apply','Added\x20item:\x20','getInstance','map','get','286905wkKwdn','weight','name','set','write','keys','27iPVUeR','Failed\x20to\x20remove\x20item:\x20','1976600AVIBes','8sCBkxL','156oDpTQd','\x20from\x20inventory.','toLowerCase','join','getItem','addItem','446MKwZWm','Retrieved\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','501547jVXiRj','values','(((.+)+)+)+$','getWeight','2544647ihJwAF','14534685VAHyAx','8VOfhIE','6032970CyfgyB','Listed\x20items\x20in\x20inventory:\x20','\x20to\x20inventory.','search','.\x20Exists:\x20','has'];a51c=function(){return r;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xcc))/0x1+-parseInt(f(0xc9))/0x2*(parseInt(f(0xee))/0x3)+-parseInt(f(0xd2))/0x4*(parseInt(f(0xe4))/0x5)+-parseInt(f(0xd3))/0x6+-parseInt(f(0xd0))/0x7*(-parseInt(f(0xed))/0x8)+-parseInt(f(0xea))/0x9*(-parseInt(f(0xec))/0xa)+parseInt(f(0xd1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x9d554));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xdb)]()[h(0xd6)](h(0xce))['toString']()['constructor'](a51a)[h(0xd6)](h(0xce));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xd9)];['logger'];constructor(){const j=a51i;super(),this[j(0xd9)]=new Map(),this[j(0xda)]=Logger[j(0xe1)]();}[a51i(0xf3)](a){const k=a51i;this['items'][k(0xe7)](a[k(0xe6)][k(0xf0)](),a),this[k(0xda)][k(0xe8)](k(0xe0)+a[k(0xe6)]+k(0xd5));}['removeItem'](a){const l=a51i,b=this[l(0xf2)](a);if(b)return this[l(0xd9)]['delete'](a[l(0xf0)]()),this[l(0xda)][l(0xe8)]('Removed\x20item:\x20'+a+l(0xef)),b;return this[l(0xda)][l(0xe8)](l(0xeb)+a+l(0xcb)),null;}['hasItem'](a){const m=a51i,b=this[m(0xd9)][m(0xd8)](a[m(0xf0)]()),c=[...this[m(0xd9)][m(0xe9)]()];return this['logger'][m(0xe8)](m(0xdc)+a+m(0xdd)+c[m(0xf1)](',\x20')+m(0xd7)+b+'.'),b;}[a51i(0xf2)](a){const n=a51i,b=this[n(0xd9)][n(0xe3)](a[n(0xf0)]())||null;return b?this[n(0xda)][n(0xe8)](n(0xca)+a+'.'):this[n(0xda)][n(0xe8)](n(0xde)+a+n(0xcb)),b;}['listItems'](){const o=a51i,a=[...this[o(0xd9)][o(0xe9)]()],b=a[o(0xe2)](c=>capitalCase(c));return this[o(0xda)][o(0xe8)](o(0xd4)+b[o(0xf1)](',\x20')+'.'),a;}[a51i(0xcf)](){const p=a51i;let a=0x0;for(const b of this[p(0xd9)][p(0xcd)]()){a+=b[p(0xe5)];}return a;}['getAllItems'](){const q=a51i;return[...this[q(0xd9)][q(0xcd)]()];}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x89))/0x1+parseInt(f(0x9a))/0x2*(parseInt(f(0xb0))/0x3)+-parseInt(f(0xac))/0x4*(parseInt(f(0xad))/0x5)+parseInt(f(0x9b))/0x6+parseInt(f(0xaa))/0x7+parseInt(f(0xa6))/0x8+parseInt(f(0x8f))/0x9*(-parseInt(f(0xa5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xf2a42));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x88;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x90)]()['search'](h(0x9f))[h(0x90)]()['constructor'](a51a)[h(0xa0)](h(0x9f));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x95)];['logger'];constructor(){const j=a51i;super(),this[j(0x95)]=new Map(),this[j(0xab)]=Logger[j(0x92)]();}[a51i(0xa1)](a){const k=a51i;this['items']['set'](a[k(0x91)][k(0x96)](),a),this[k(0xab)][k(0x88)](k(0x99)+a['name']+k(0xa8));}[a51i(0x93)](a){const l=a51i,b=this['getItem'](a);if(b)return this['items'][l(0x8d)](a[l(0x96)]()),this[l(0xab)][l(0x88)](l(0xaf)+a+l(0xa2)),b;return this[l(0xab)][l(0x88)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}['hasItem'](a){const m=a51i,b=this['items'][m(0x8e)](a['toLowerCase']()),c=[...this[m(0x95)][m(0xa4)]()];return this[m(0xab)][m(0x88)](m(0x94)+a+'\x20in\x20'+c[m(0x9c)](',\x20')+m(0x8b)+b+'.'),b;}[a51i(0x9d)](a){const n=a51i,b=this[n(0x95)][n(0x8a)](a[n(0x96)]())||null;return b?this[n(0xab)]['write']('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xab)][n(0x88)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0xa3)),b;}[a51i(0x9e)](){const o=a51i,a=[...this[o(0x95)][o(0xa4)]()],b=a[o(0xae)](c=>capitalCase(c));return this[o(0xab)][o(0x88)]('Listed\x20items\x20in\x20inventory:\x20'+b['join'](',\x20')+'.'),a;}[a51i(0x97)](){const p=a51i;let a=0x0;for(const b of this[p(0x95)][p(0xa9)]()){a+=b[p(0x8c)];}return a;}[a51i(0xa7)](){const q=a51i;return[...this[q(0x95)][q(0xa9)]()];}}function a51c(){const r=['addItem','\x20from\x20inventory.','.\x20Item\x20not\x20found.','keys','10NikQJW','3100960IOJgiF','getAllItems','\x20to\x20inventory.','values','4232039sQISly','logger','1329948YWSwIL','5ArNBIF','map','Removed\x20item:\x20','4520307akygve','write','584417JCcspq','get','.\x20Exists:\x20','weight','delete','has','14841531DfrYlJ','toString','name','getInstance','removeItem','Checked\x20for\x20item:\x20','items','toLowerCase','getWeight','apply','Added\x20item:\x20','2tpxiYe','6365130PtgEkk','join','getItem','listItems','(((.+)+)+)+$','search'];a51c=function(){return r;};return a51c();}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xe0))/0x1+-parseInt(f(0xd7))/0x2+parseInt(f(0xda))/0x3*(-parseInt(f(0xca))/0x4)+parseInt(f(0xdb))/0x5*(-parseInt(f(0xd9))/0x6)+-parseInt(f(0xe1))/0x7*(parseInt(f(0xce))/0x8)+parseInt(f(0xdc))/0x9+parseInt(f(0xd8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x59b90));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xcc)]()[h(0xd4)](h(0xd2))[h(0xcc)]()[h(0xcf)](a52a)[h(0xd4)](h(0xd2));});a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xca;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0xe2)];[a52i(0xd0)];[a52i(0xd3)];[a52i(0xd5)];[a52i(0xdf)];[a52i(0xcb)];[a52i(0xd6)];[a52i(0xde)];[a52i(0xe4)];[a52i(0xcd)];constructor(a){var j=a52i;super(),this['name']=a[j(0xd0)],this['description']=a[j(0xd3)],this[j(0xd5)]=a['size'],this[j(0xdf)]=a[j(0xdf)],this['shape']=a[j(0xcb)],this['color']=a['color'],this[j(0xde)]=a[j(0xde)],this[j(0xe4)]=a['rating'],this[j(0xcd)]=a[j(0xcd)],this[j(0xe2)]=a52e();}[a52i(0xd1)](){var k=a52i;return k(0xe3)+this[k(0xd0)]+'.\x20Nothing\x20special\x20happens.';}}function a52c(){var l=['278135qzvqst','4465278uIdlwF','apply','texture','category','205231ehYDUG','7nrZEdZ','uuid','You\x20use\x20the\x20','rating','348ketAZI','shape','toString','weight','483304GOXrFh','constructor','name','use','(((.+)+)+)+$','description','search','size','color','127992rtWtwf','5616660XIAqRi','54XctMhn','9327wJyXvw'];a52c=function(){return l;};return a52c();}
1
+ function a52c(){var l=['uuid','toString','search','apply','category','254954gotxsh','weight','size','2932dMxgNR','description','(((.+)+)+)+$','name','2541YSRZVD','You\x20use\x20the\x20','203709ziLPiM','texture','910jeqEQR','4693437wtykSA','20184VClxOv','constructor','rating','469NlZfly','shape','1986162jEMdhr','.\x20Nothing\x20special\x20happens.','color','5mIsFSg','178144RufKuU'];a52c=function(){return l;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x169))/0x1+parseInt(f(0x163))/0x2+parseInt(f(0x154))/0x3*(-parseInt(f(0x16c))/0x4)+-parseInt(f(0x162))/0x5*(parseInt(f(0x15f))/0x6)+parseInt(f(0x15d))/0x7*(-parseInt(f(0x15a))/0x8)+-parseInt(f(0x159))/0x9+-parseInt(f(0x158))/0xa*(-parseInt(f(0x156))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x5e71b));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x165)]()[h(0x166)](h(0x16e))[h(0x165)]()[h(0x15b)](a52a)[h(0x166)](h(0x16e));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x154;var f=c[d];return f;},a52d(a,b);}export class Item extends AbstractItem{[a52i(0x164)];[a52i(0x16f)];[a52i(0x16d)];[a52i(0x16b)];[a52i(0x168)];[a52i(0x15e)];[a52i(0x161)];['texture'];['rating'];[a52i(0x16a)];constructor(a){var j=a52i;super(),this[j(0x16f)]=a[j(0x16f)],this[j(0x16d)]=a[j(0x16d)],this[j(0x16b)]=a[j(0x16b)],this[j(0x168)]=a[j(0x168)],this[j(0x15e)]=a[j(0x15e)],this[j(0x161)]=a[j(0x161)],this[j(0x157)]=a[j(0x157)],this[j(0x15c)]=a[j(0x15c)],this['weight']=a[j(0x16a)],this[j(0x164)]=a52e();}['use'](){var k=a52i;return k(0x155)+this[k(0x16f)]+k(0x160);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x106))/0x1*(-parseInt(f(0x118))/0x2)+parseInt(f(0x10d))/0x3+parseInt(f(0x117))/0x4*(-parseInt(f(0x108))/0x5)+-parseInt(f(0x11b))/0x6+parseInt(f(0x11c))/0x7+-parseInt(f(0x119))/0x8*(-parseInt(f(0x11a))/0x9)+-parseInt(f(0x111))/0xa*(-parseInt(f(0x10f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa14c0));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x103;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x115)]()[h(0x116)](h(0x103))[h(0x115)]()[h(0x112)](a53a)[h(0x116)](h(0x103));});a53a();import{Player}from'./player.js';function a53c(){const o=['constructor','moveTo','rooms','toString','search','4175144fKelsF','2KHuRSm','21536nCUrIj','189IeZLSz','1604460EIkIHn','4391730yUzygs','scene','(((.+)+)+)+$','_dialogue','autonomousMove','210262LJLiJm','random','5HzVGSG','speak','floor','length','_name','2083509IwrdEB','apply','11nNyYSZ','execute','3831810MzNrjt'];a53c=function(){return o;};return a53c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x10c)];['_dialogue'];[a53i(0x114)];[a53i(0x11d)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x10c)]=a,this[j(0x104)]=b,this[j(0x114)]=c;}get['name'](){const k=a53i;return this[k(0x10c)];}[a53i(0x109)](){const l=a53i;return this['_dialogue'][Math[l(0x10a)](Math[l(0x107)]()*this[l(0x104)][l(0x10b)])];}[a53i(0x105)](a){const m=a53i,b=a[Math[m(0x10a)](Math[m(0x107)]()*a[m(0x10b)])];this[m(0x113)](b['name']);}[a53i(0x113)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x114)],'scene':this[n(0x11d)]},c=new GoCommand(b);c[n(0x110)]([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x125))/0x1+parseInt(f(0x124))/0x2+parseInt(f(0x12a))/0x3*(parseInt(f(0x12b))/0x4)+parseInt(f(0x139))/0x5+parseInt(f(0x126))/0x6+-parseInt(f(0x131))/0x7+parseInt(f(0x12c))/0x8*(-parseInt(f(0x129))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa81b8));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x138)]()[h(0x12e)](h(0x130))[h(0x138)]()['constructor'](a53a)[h(0x12e)]('(((.+)+)+)+$');});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x124;let f=c[d];return f;},a53d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x136)];[a53i(0x12f)];[a53i(0x127)];[a53i(0x128)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x136)]=a,this[j(0x12f)]=b,this['rooms']=c;}get['name'](){const k=a53i;return this[k(0x136)];}[a53i(0x135)](){const l=a53i;return this[l(0x12f)][Math['floor'](Math['random']()*this[l(0x12f)]['length'])];}[a53i(0x137)](a){const m=a53i,b=a[Math[m(0x12d)](Math[m(0x134)]()*a[m(0x132)])];this['moveTo'](b[m(0x133)]);}['moveTo'](a){const n=a53i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x128)]},c=new GoCommand(b);c['execute']([a]);}}function a53c(){const o=['(((.+)+)+)+$','2409162pgPCYj','length','name','random','speak','_name','autonomousMove','toString','2285655FBisuc','apply','88718EYnxgU','1212751elxBLe','7903734ssjsCw','rooms','scene','315aodFTc','56847THvkEp','136SydvcQ','49728XkazlM','floor','search','_dialogue'];a53c=function(){return o;};return a53c();}
@@ -1 +1 @@
1
- const a54i=a54d;function a54c(){const A=['head','apply','Hat','1330772kTfRrv','Failed\x20to\x20remove\x20','leaveRoom','addItem','toLowerCase','search','2333562YbvVXo','getInstance','maxCarryingWeight','63tYGgly','enterRoom','leftHand','log','You\x20equipped\x20','5008nayPlP','18248dSHXYy','initialEquipment','\x20from\x20player\x27s\x20inventory.','\x20is\x20no\x20longer\x20listeng\x20in\x20','getWeight','_equipment','Shield','.\x20You\x20must\x20unequip\x20it\x20first.','write','bodyarmor','helmet','leg\x20armor','shield','445852OiYMDD','Weapon','currentWeight','logger','(((.+)+)+)+$','You\x20can\x27t\x20equip\x20','constructor','canEquip','torso','toString','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','body\x20armor','startLocation','Max\x20carrying\x20weight\x20must\x20be\x20positive.','determineEquipmentSlot','category','12194842mOZIrY','values','225309mSETNM','error','legs','\x20in\x20your\x20inventory.','equip','removeInventory','speak','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','20OHvGCZ','_maxCarryingWeight','legarmor','rightHand','18CJjtUq','LegArmor','Gloves','You\x20don\x27t\x20have\x20','bind','hear','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Invalid\x20category\x20or\x20slot:\x20','equipment','2745QAxLdJ','hasItem','hat','\x20says:\x20\x22','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','addInventory','\x20is\x20now\x20listening\x20in\x20room\x20','\x20slot.','boots','gloves','name','Helmet','arm\x20armor','unequipBySlot','includes','_currentLocation','playerName','_inventory','arms','_playerName','A\x20featureless\x20room','You\x20unequipped\x20','currentLocation','feet','Boots','ArmArmor','Removed\x20'];a54c=function(){return A;};return a54c();}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x8e))/0x1+parseInt(f(0xd3))/0x2+parseInt(f(0xd9))/0x3+-parseInt(f(0x80))/0x4*(-parseInt(f(0xb5))/0x5)+parseInt(f(0xac))/0x6*(parseInt(f(0xa0))/0x7)+parseInt(f(0x81))/0x8*(-parseInt(f(0x7b))/0x9)+-parseInt(f(0xa8))/0xa*(parseInt(f(0x9e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x6b5ee));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x97)]()[h(0xd8)](h(0x92))['toString']()[h(0x94)](a54a)[h(0xd8)](h(0x92));});a54a();import{camelCase}from'change-case';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x7a;let f=c[d];return f;},a54d(a,b);}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a54i(0xc4)];[a54i(0xc6)];[a54i(0x86)];[a54i(0xa9)]=0x32;[a54i(0x91)];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0xc5)],this[j(0xc4)]=a[j(0x9a)]||new Room({'name':'Nexus','description':j(0xc9)}),this[j(0xc6)]=new Inventory(),this[j(0x91)]=Logger[j(0xda)]();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this[j(0xc6)][j(0xd6)](b);}this[j(0x86)]=a?.[j(0x82)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0xc8)];}get[a54i(0xcb)](){const l=a54i;return this[l(0xc4)];}set[a54i(0xcb)](a){const m=a54i;this['_currentLocation']!==a&&(this['leaveRoom'](),this[m(0x7c)](a)),this[m(0xc4)]=a;}get['inventory'](){return this['_inventory'];}get[a54i(0xb4)](){const n=a54i;return this[n(0x86)];}set[a54i(0xb4)](a){this['_equipment']=a;}get[a54i(0x7a)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const o=a54i;a>0x0?this[o(0xa9)]=a:console[o(0xa1)](o(0x9b));}get[a54i(0x90)](){const p=a54i;let a=this[p(0xc6)][p(0x85)]();for(const b in this[p(0x86)]){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}[a54i(0xba)](a){const q=a54i;if(this[q(0x90)]+a['weight']>this['maxCarryingWeight']){this[q(0x91)][q(0x89)](q(0x98));throw new Error(q(0xb9));}this[q(0xc6)][q(0xd6)](a),this[q(0x91)]['write']('Added\x20'+a[q(0xbf)]+'\x20to\x20player\x27s\x20inventory.');}[a54i(0xa5)](a){const r=a54i;if(this[r(0xc6)]['removeItem'](a[r(0xbf)]))return this[r(0x91)][r(0x89)](r(0xcf)+a[r(0xbf)]+r(0x83)),!![];return this[r(0x91)][r(0x89)](r(0xd4)+a[r(0xbf)]+r(0x83)),![];}[a54i(0xa4)](a){const s=a54i;if(!this[s(0xc6)][s(0xb6)](a[s(0xbf)]))return s(0xaf)+a[s(0xbf)]+s(0xa3);if(!this[s(0x95)](a))return s(0x93)+a[s(0xbf)]+'.';const b=this[s(0x9c)](a[s(0x9d)]);if(!b)return a[s(0xbf)]+s(0xb2);if(this[s(0xb4)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+s(0x88);return this[s(0xb4)][b]=a,this[s(0xa5)](a),s(0x7f)+a[s(0xbf)]+'.';}['unequip'](a){const t=a54i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[t(0x9c)](a);if(!b)return t(0xb3)+a+'.';}return this[t(0xc2)](b);}[a54i(0x9c)](a){const u=a54i;switch(a['toLowerCase']()){case Category[u(0x8f)][u(0xd7)]():return u(0xab);case Category[u(0x87)][u(0xd7)]():return'leftHand';case Category[u(0xae)][u(0xd7)]():return u(0xbe);case Category[u(0xc0)][u(0xd7)]():case Category[u(0xd2)][u(0xd7)]():return u(0xd0);case Category[u(0xcd)][u(0xd7)]():return u(0xcc);case Category[u(0xad)][u(0xd7)]():return u(0xa2);case Category[u(0xce)][u(0xd7)]():return u(0xc7);case Category['BodyArmor'][u(0xd7)]():return u(0x96);case'weapon':return u(0xab);case u(0x8d):return u(0x7d);case u(0xbe):return u(0xbe);case u(0x8b):case u(0xb7):return u(0xd0);case u(0xbd):return'feet';case u(0x8c):case u(0xaa):return'legs';case u(0xc1):case'armarmor':return u(0xc7);case u(0x99):case u(0x8a):case'torso':return u(0x96);default:return null;}}['canEquip'](a){const v=a54i;return Object[v(0x9f)](Category)[v(0xc3)](a[v(0x9d)]);}[a54i(0xc2)](a){const w=a54i,b=this['equipment'][a];if(!b)return w(0xa7)+a+w(0xbc);return this[w(0xba)](b),this[w(0xb4)][a]=null,w(0xca)+b[w(0xbf)]+'.';}[a54i(0xb1)](a,b){const x=a54i;a!==this&&this[x(0x91)][x(0x7e)](a[x(0xbf)]+x(0xb8)+b+'\x22');}['enterRoom'](a){const y=a54i;this[y(0xc4)]=a,a['on'](y(0xa6),this[y(0xb1)]['bind'](this)),this[y(0x91)][y(0x89)](this['name']+y(0xbb)+a[y(0xbf)]);}[a54i(0xd5)](){const z=a54i;this[z(0xc4)]&&(this[z(0xc4)]['off']('speak',this[z(0xb1)][z(0xb0)](this)),this[z(0x91)]['write'](this[z(0xbf)]+z(0x84)+this['_currentLocation'][z(0xbf)]));}}
1
+ function a54c(){const B=['search','inventoryItems','category','feet','arms','32979942ZpyASU','determineEquipmentSlot','maxCarryingWeight','\x20is\x20now\x20listening\x20in\x20room\x20','addItem','removeItem','.\x20You\x20must\x20unequip\x20it\x20first.','Nexus','apply','arm\x20armor','inventory','Removed\x20','write','4645232LgULyC','A\x20featureless\x20room','BodyArmor','You\x20can\x27t\x20equip\x20','addInventory','_equipment','leg\x20armor','includes','Weapon','head','leaveRoom','You\x20equipped\x20','unequip','getInstance','10dulDuX','currentLocation','LegArmor','toString','rightHand','5866112qxwzlu','canEquip','Helmet','Max\x20carrying\x20weight\x20must\x20be\x20positive.','7135896CbSbrV','_inventory','Invalid\x20category\x20or\x20slot:\x20','Boots','toLowerCase','You\x20don\x27t\x20have\x20','3BFfhsI','torso','name','enterRoom','armarmor','logger','initialEquipment','\x20from\x20player\x27s\x20inventory.','legs','hasItem','hat','_currentLocation','legarmor','_maxCarryingWeight','startLocation','You\x20unequipped\x20','Hat','4AwetXY','boots','weight','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Failed\x20to\x20remove\x20','Gloves','gloves','ArmArmor','Shield','playerName','\x20says:\x20\x22','\x20to\x20player\x27s\x20inventory.','\x20slot.','getWeight','bind','8173200ErXbpj','\x20in\x20your\x20inventory.','3871885hOBADH','equipment','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','currentWeight','(((.+)+)+)+$','_playerName','body\x20armor','speak','hear','unequipBySlot','removeInventory','constructor','181464JlXVDs'];a54c=function(){return B;};return a54c();}const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x23f))/0x1*(parseInt(f(0x222))/0x2)+-parseInt(f(0x211))/0x3*(-parseInt(f(0x1f4))/0x4)+-parseInt(f(0x233))/0x5+-parseInt(f(0x20b))/0x6+-parseInt(f(0x231))/0x7+-parseInt(f(0x207))/0x8+-parseInt(f(0x1e7))/0x9*(-parseInt(f(0x202))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x920f5));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x1ef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x205)]()[h(0x240)](h(0x237))[h(0x205)]()[h(0x23e)](a54a)['search'](h(0x237));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a54d(a,b);}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';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x238)];[a54i(0x21c)];['_inventory'];[a54i(0x1f9)];['_maxCarryingWeight']=0x32;[a54i(0x216)];constructor(a){const j=a54i;super(),this[j(0x238)]=a[j(0x22b)],this['_currentLocation']=a[j(0x21f)]||new Room({'name':j(0x1ee),'description':j(0x1f5)}),this[j(0x20c)]=new Inventory(),this[j(0x216)]=Logger[j(0x201)]();if(a?.[j(0x241)])for(const b of a[j(0x241)]){this[j(0x20c)][j(0x1eb)](b);}this['_equipment']=a?.[j(0x217)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x238)];}get['currentLocation'](){return this['_currentLocation'];}set[a54i(0x203)](a){const l=a54i;this[l(0x21c)]!==a&&(this[l(0x1fe)](),this[l(0x214)](a)),this['_currentLocation']=a;}get[a54i(0x1f1)](){const m=a54i;return this[m(0x20c)];}get[a54i(0x234)](){const n=a54i;return this[n(0x1f9)];}set[a54i(0x234)](a){this['_equipment']=a;}get[a54i(0x1e9)](){const o=a54i;return this[o(0x21e)];}set['maxCarryingWeight'](a){const p=a54i;a>0x0?this[p(0x21e)]=a:console['error'](p(0x20a));}get[a54i(0x236)](){const q=a54i;let a=this[q(0x20c)][q(0x22f)]();for(const b in this['_equipment']){const c=this[q(0x1f9)][b];c&&(a+=c[q(0x224)]);}return a;}[a54i(0x1f8)](a){const r=a54i;if(this[r(0x236)]+a[r(0x224)]>this['maxCarryingWeight']){this[r(0x216)][r(0x1f3)](r(0x225));throw new Error(r(0x235));}this['_inventory'][r(0x1eb)](a),this[r(0x216)][r(0x1f3)]('Added\x20'+a[r(0x213)]+r(0x22d));}[a54i(0x23d)](a){const s=a54i;if(this[s(0x20c)][s(0x1ec)](a[s(0x213)]))return this[s(0x216)][s(0x1f3)](s(0x1f2)+a[s(0x213)]+s(0x218)),!![];return this[s(0x216)][s(0x1f3)](s(0x226)+a['name']+s(0x218)),![];}['equip'](a){const t=a54i;if(!this[t(0x20c)][t(0x21a)](a[t(0x213)]))return t(0x210)+a[t(0x213)]+t(0x232);if(!this[t(0x208)](a))return t(0x1f7)+a[t(0x213)]+'.';const b=this[t(0x1e8)](a[t(0x242)]);if(!b)return a['name']+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[t(0x234)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+t(0x1ed);return this[t(0x234)][b]=a,this[t(0x23d)](a),t(0x1ff)+a[t(0x213)]+'.';}[a54i(0x200)](a){const u=a54i;let b=a;if(!this[u(0x234)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0x20d)+a+'.';}return this[u(0x23c)](b);}[a54i(0x1e8)](a){const v=a54i;switch(a['toLowerCase']()){case Category[v(0x1fc)][v(0x20f)]():return v(0x206);case Category[v(0x22a)][v(0x20f)]():return'leftHand';case Category[v(0x227)][v(0x20f)]():return v(0x228);case Category[v(0x209)][v(0x20f)]():case Category[v(0x221)][v(0x20f)]():return v(0x1fd);case Category[v(0x20e)][v(0x20f)]():return v(0x243);case Category[v(0x204)][v(0x20f)]():return v(0x219);case Category[v(0x229)]['toLowerCase']():return v(0x244);case Category[v(0x1f6)][v(0x20f)]():return v(0x212);case'weapon':return v(0x206);case'shield':return'leftHand';case v(0x228):return v(0x228);case'helmet':case v(0x21b):return v(0x1fd);case v(0x223):return'feet';case v(0x1fa):case v(0x21d):return v(0x219);case v(0x1f0):case v(0x215):return v(0x244);case v(0x239):case'bodyarmor':case'torso':return v(0x212);default:return null;}}['canEquip'](a){const w=a54i;return Object['values'](Category)[w(0x1fb)](a['category']);}[a54i(0x23c)](a){const x=a54i,b=this[x(0x234)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+x(0x22e);return this['addInventory'](b),this[x(0x234)][a]=null,x(0x220)+b[x(0x213)]+'.';}['hear'](a,b){const y=a54i;a!==this&&this[y(0x216)]['log'](a[y(0x213)]+y(0x22c)+b+'\x22');}[a54i(0x214)](a){const z=a54i;this[z(0x21c)]=a,a['on']('speak',this[z(0x23b)][z(0x230)](this)),this[z(0x216)][z(0x1f3)](this[z(0x213)]+z(0x1ea)+a[z(0x213)]);}[a54i(0x1fe)](){const A=a54i;this['_currentLocation']&&(this[A(0x21c)]['off'](A(0x23a),this[A(0x23b)][A(0x230)](this)),this[A(0x216)][A(0x1f3)](this[A(0x213)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this['_currentLocation']['name']));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1cf))/0x1*(parseInt(f(0x1e6))/0x2)+-parseInt(f(0x1db))/0x3*(-parseInt(f(0x1e9))/0x4)+parseInt(f(0x1e5))/0x5+parseInt(f(0x1eb))/0x6*(-parseInt(f(0x1e2))/0x7)+-parseInt(f(0x1cc))/0x8*(-parseInt(f(0x1da))/0x9)+parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1e7))/0xb)+-parseInt(f(0x1ee))/0xc*(parseInt(f(0x1d9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xdedba));function a55c(){var m=['5241650NxJitp','5898pNVGDZ','77NcxStZ','matchesRequiredPhrase','168invpBM','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','5574dPFQaU','getInstance','riddle','36ljEcvs','831736UUEpGl','requiredItem','logger','162TTFzfV','solve','(((.+)+)+)+$','hasRequiredItem','toString','successMessage','requiredPhrase','You\x20have\x20already\x20solved\x20this\x20puzzle.','rewardItem','solved','8779147zPfJIZ','99RqQqOW','102099mTjlvP','hasItem','702040QwruMO','constructor','apply','failureMessage','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','5040NCszRr','write','search'];a55c=function(){return m;};return a55c();}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1d3)]()[h(0x1e4)](h(0x1d1))[h(0x1d3)]()[h(0x1de)](a55a)[h(0x1e4)](h(0x1d1));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1cc;var f=c[d];return f;},a55d(a,b);}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a55i(0x1ec)]();[a55i(0x1d8)]=![];['requiredItem'];[a55i(0x1d5)];[a55i(0x1ed)];[a55i(0x1d7)];['successMessage'];[a55i(0x1e0)];constructor(a){var j=a55i;super(),this[j(0x1cd)]=a[j(0x1cd)],this[j(0x1d5)]=a['requiredPhrase'],this['riddle']=a['riddle'],this[j(0x1d7)]=a[j(0x1d7)],this['successMessage']=a[j(0x1d4)]||'You\x20solved\x20the\x20puzzle!',this[j(0x1e0)]=a[j(0x1e0)]||j(0x1ea);}[a55i(0x1d2)](a){var k=a55i;if(this[k(0x1cd)])return a[k(0x1dc)](this[k(0x1cd)]);return![];}[a55i(0x1e8)](a){return this['requiredPhrase']===a;}[a55i(0x1d0)](a,b){var l=a55i;if(this[l(0x1d8)])return this[l(0x1ce)][l(0x1e3)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':l(0x1d6)};return this[l(0x1d2)](b)||this[l(0x1e8)](a)?(this[l(0x1d8)]=!![],this[l(0x1ce)][l(0x1e3)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[l(0x1d4)]}):(this[l(0x1ce)]['write'](l(0x1e1)),{'success':![],'message':this[l(0x1e0)]});}}
1
+ function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x17b;var f=c[d];return f;},a55d(a,b);}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x18e))/0x1+parseInt(f(0x183))/0x2+parseInt(f(0x196))/0x3*(-parseInt(f(0x193))/0x4)+parseInt(f(0x194))/0x5*(parseInt(f(0x185))/0x6)+parseInt(f(0x182))/0x7*(parseInt(f(0x17f))/0x8)+parseInt(f(0x195))/0x9+-parseInt(f(0x186))/0xa*(parseInt(f(0x17b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xb0963));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x18f)](h(0x190))[h(0x17e)]()[h(0x180)](a55a)['search'](h(0x190));});a55a();function a55c(){var n=['Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','8827522PegeLZ','hasRequiredItem','riddle','toString','2466096FniXor','constructor','requiredPhrase','28cFvOMp','145788WKAQuy','successMessage','2544vCDxVG','10zTsPUp','apply','solved','write','requiredItem','hasItem','You\x20solved\x20the\x20puzzle!','logger','195850MugpNm','search','(((.+)+)+)+$','failureMessage','rewardItem','92enxXBh','5335vfYCYd','7232661nwPssB','109608eDJdmR','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase','You\x20have\x20already\x20solved\x20this\x20puzzle.'];a55c=function(){return n;};return a55c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x18d)]=Logger['getInstance']();[a55i(0x188)]=![];[a55i(0x18a)];[a55i(0x181)];['riddle'];[a55i(0x192)];[a55i(0x184)];[a55i(0x191)];constructor(a){var j=a55i;super(),this['requiredItem']=a[j(0x18a)],this['requiredPhrase']=a[j(0x181)],this[j(0x17d)]=a['riddle'],this[j(0x192)]=a[j(0x192)],this[j(0x184)]=a[j(0x184)]||j(0x18c),this[j(0x191)]=a[j(0x191)]||j(0x19b);}['hasRequiredItem'](a){var k=a55i;if(this[k(0x18a)])return a[k(0x18b)](this[k(0x18a)]);return![];}[a55i(0x198)](a){var l=a55i;return this[l(0x181)]===a;}['solve'](a,b){var m=a55i;if(this[m(0x188)])return this[m(0x18d)][m(0x189)](m(0x19a)),{'success':![],'message':m(0x199)};return this[m(0x17c)](b)||this[m(0x198)](a)?(this[m(0x188)]=!![],this[m(0x18d)]['write']('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0x184)]}):(this[m(0x18d)][m(0x189)](m(0x197)),{'success':![],'message':this[m(0x191)]});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x8d))/0x1*(-parseInt(f(0x96))/0x2)+parseInt(f(0x7d))/0x3+-parseInt(f(0x83))/0x4*(-parseInt(f(0x93))/0x5)+-parseInt(f(0x7f))/0x6*(-parseInt(f(0xa3))/0x7)+parseInt(f(0xad))/0x8+parseInt(f(0x82))/0x9*(parseInt(f(0x85))/0xa)+-parseInt(f(0x92))/0xb*(-parseInt(f(0x8f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xb0ecb));function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x78;let f=c[d];return f;},a56d(a,b);}const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0xa4)]()[h(0x7a)]('(((.+)+)+)+$')['toString']()[h(0xa1)](a56a)[h(0x7a)](h(0x9b));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56c(){const u=['6109301HwlXta','1665UjpRct','logger','roomA','2123332gXfUSw','\x20is\x20locked.\x20Result:\x20','roomB','speak','hasItem','(((.+)+)+)+$','EAST','addItem','findExistingDoor','south','roomType','constructor','set','7eQYzcP','toString','Invalid\x20direction:\x20','.\x20Success:\x20','puzzle','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','getOppositeDirection','checkIfLocked','attemptUnlock','isStartRoom','3283800kHNOeh','getInstance','emit','WEST','Puzzle\x20set\x20for\x20room\x20','write','down','Room\x20created:\x20','setPuzzle','description','The\x20','DOWN','\x20remains\x20locked.','search','inventory','east','179907UtVbzV','exits','2107320sRPDHE','west','Checking\x20if\x20exit\x20in\x20direction\x20','17316mEpEOo','4616PxaMST','attemptUnlockExit','130mGVedm','Item\x20removed\x20from\x20room\x20','NORTH','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','apply','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','say','Fetching\x20exit\x20in\x20direction:\x20','1EgiFUI','get','12CUlbLi','north','name'];a56c=function(){return u;};return a56c();}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a56i(0xae)]();[a56i(0x91)];[a56i(0xb6)];['exits']=new Map();[a56i(0xa0)];[a56i(0xac)];[a56i(0x7b)]=new Inventory();constructor(a){const j=a56i;super(),this['name']=a[j(0x91)],this[j(0xb6)]=a[j(0xb6)],this[j(0xa0)]=a[j(0xa0)]||RoomType['INSIDE'],a[j(0x7e)]&&(this[j(0x7e)]=a[j(0x7e)]||new Map()),a[j(0x7b)]&&(this[j(0x7b)]=a['inventory']),a[j(0xa7)]&&(this[j(0xa7)]=a[j(0xa7)]),this[j(0xac)]=a[j(0xac)]||![],this[j(0x94)][j(0xb2)](j(0xb4)+this[j(0x91)]);}[a56i(0x8b)](a,b){const k=a56i;this[k(0xaf)](k(0x99),a,b);}['addExit'](a,b,c){const l=a56i;let d=this[l(0x9e)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x7e)][l(0xa2)](a,d),b[l(0x7e)][l(0xa2)](this[l(0xa9)](a),d);}[a56i(0x84)](a,b){const m=a56i,c=this[m(0x7e)][m(0x8e)](a);if(c instanceof Door){const d=c[m(0xab)](b);return this[m(0x94)][m(0xb2)](m(0x88)+a+m(0xa6)+d),d?m(0xb7)+c['name']+'\x20unlocked!':'The\x20'+c[m(0x91)]+m(0x79);}return this[m(0x94)][m(0xb2)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x8a);}['getExit'](a){const n=a56i;return this[n(0x94)][n(0xb2)](n(0x8c)+a),this[n(0x7e)]['get'](a);}['isExitLocked'](a){const o=a56i,b=this[o(0x7e)][o(0x8e)](a),c=b instanceof Door&&b[o(0xaa)]();return this[o(0x94)]['write'](o(0x81)+a+o(0x97)+c),c;}[a56i(0x9d)](a){const p=a56i;this['inventory'][p(0x9d)](a),this['logger'][p(0xb2)]('Item\x20added\x20to\x20room\x20'+this[p(0x91)]+':\x20'+a['name']);}['removeItem'](a){const q=a56i;this[q(0x7b)][q(0x9a)](a[q(0x91)])?(this['inventory']['removeItem'](a[q(0x91)]),this[q(0x94)][q(0xb2)](q(0x86)+this[q(0x91)]+':\x20'+a['name'])):this['logger']['write'](q(0xa8)+this[q(0x91)]+':\x20'+a[q(0x91)]);}[a56i(0xb5)](a){const r=a56i;this['puzzle']=a,this[r(0x94)][r(0xb2)](r(0xb1)+this[r(0x91)]+':\x20'+a['riddle']);}[a56i(0xa9)](a){const s=a56i;switch(a){case s(0x90):return Direction['SOUTH'];case s(0x9f):return Direction[s(0x87)];case s(0x7c):return Direction[s(0xb0)];case s(0x80):return Direction[s(0x9c)];case'up':return Direction[s(0x78)];case s(0xb3):return Direction['UP'];default:throw new Error(s(0xa5)+a);}}[a56i(0x9e)](a){const t=a56i;for(const b of this[t(0x7e)]['values']()){if(b instanceof Door){if(b[t(0x95)]===this&&b[t(0x98)]===a||b[t(0x98)]===this&&b[t(0x95)]===a)return b;}}return undefined;}}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x114))/0x1*(parseInt(f(0x110))/0x2)+-parseInt(f(0xf0))/0x3+-parseInt(f(0xf9))/0x4*(parseInt(f(0xf2))/0x5)+parseInt(f(0xe3))/0x6+-parseInt(f(0xfb))/0x7+-parseInt(f(0xf1))/0x8+parseInt(f(0x106))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x1be89));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x117)]()[h(0xfe)](h(0xde))[h(0x117)]()[h(0xec)](a56a)[h(0xfe)](h(0xde));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xde;let f=c[d];return f;},a56d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0xe7)]=Logger['getInstance']();[a56i(0xe9)];[a56i(0x102)];[a56i(0xe1)]=new Map();['roomType'];[a56i(0xfa)];[a56i(0xf7)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0xe9)]=a[j(0xe9)],this['description']=a['description'],this['roomType']=a[j(0xeb)]||RoomType[j(0x118)],a[j(0xe1)]&&(this[j(0xe1)]=a[j(0xe1)]||new Map()),a[j(0xf7)]&&(this['inventory']=a[j(0xf7)]),a[j(0xfd)]&&(this[j(0xfd)]=a[j(0xfd)]),this[j(0xfa)]=a[j(0xfa)]||![],this[j(0xe7)][j(0xf6)](j(0x105)+this[j(0xe9)]);}[a56i(0x111)](a,b){const k=a56i;this[k(0x10c)](k(0x104),a,b);}[a56i(0xed)](a,b,c){const l=a56i;let d=this[l(0xf3)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xe1)]['set'](a,d),b[l(0xe1)][l(0xf8)](this['getOppositeDirection'](a),d);}[a56i(0x107)](a,b){const m=a56i,c=this[m(0xe1)][m(0x10a)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0xe7)][m(0xf6)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0xef)+d),d?'The\x20'+c[m(0xe9)]+m(0x10e):m(0xdf)+c[m(0xe9)]+m(0xe6);}return this[m(0xe7)][m(0xf6)](m(0x108)+a),m(0x10d);}[a56i(0xe0)](a){const n=a56i;return this[n(0xe7)][n(0xf6)](n(0xf4)+a),this[n(0xe1)][n(0x10a)](a);}[a56i(0xee)](a){const o=a56i,b=this['exits']['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0xe7)][o(0xf6)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a56i(0x119)](a){const p=a56i;this[p(0xf7)][p(0x119)](a),this[p(0xe7)][p(0xf6)]('Item\x20added\x20to\x20room\x20'+this[p(0xe9)]+':\x20'+a[p(0xe9)]);}['removeItem'](a){const q=a56i;this[q(0xf7)][q(0x112)](a['name'])?(this[q(0xf7)][q(0x113)](a['name']),this[q(0xe7)][q(0xf6)](q(0xe2)+this[q(0xe9)]+':\x20'+a[q(0xe9)])):this[q(0xe7)][q(0xf6)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0xe9)]+':\x20'+a[q(0xe9)]);}['setPuzzle'](a){const r=a56i;this[r(0xfd)]=a,this[r(0xe7)][r(0xf6)](r(0xe5)+this[r(0xe9)]+':\x20'+a[r(0xfc)]);}[a56i(0xf5)](a){const s=a56i;switch(a){case s(0x103):return Direction[s(0x10b)];case s(0xe8):return Direction['NORTH'];case s(0x116):return Direction[s(0x101)];case'west':return Direction['EAST'];case'up':return Direction[s(0xea)];case s(0xff):return Direction['UP'];default:throw new Error(s(0x10f)+a);}}[a56i(0xf3)](a){const t=a56i;for(const b of this[t(0xe1)][t(0xe4)]()){if(b instanceof Door){if(b[t(0x100)]===this&&b[t(0x115)]===a||b[t(0x115)]===this&&b['roomA']===a)return b;}}return undefined;}}function a56c(){const u=['search','down','roomA','WEST','description','north','speak','Room\x20created:\x20','5884020MIPdaM','attemptUnlockExit','No\x20locked\x20exit\x20found\x20in\x20direction\x20','apply','get','SOUTH','emit','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','\x20unlocked!','Invalid\x20direction:\x20','172eoKjft','say','hasItem','removeItem','274sQlzOA','roomB','east','toString','INSIDE','addItem','(((.+)+)+)+$','The\x20','getExit','exits','Item\x20removed\x20from\x20room\x20','16818QRggum','values','Puzzle\x20set\x20for\x20room\x20','\x20remains\x20locked.','logger','south','name','DOWN','roomType','constructor','addExit','isExitLocked','.\x20Success:\x20','312768cIgOZU','450216duiQeN','1044130ddYmaF','findExistingDoor','Fetching\x20exit\x20in\x20direction:\x20','getOppositeDirection','write','inventory','set','4IWqjFv','isStartRoom','1375325oSLKuN','riddle','puzzle'];a56c=function(){return u;};return a56c();}
@@ -1 +1 @@
1
- function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a57d(a,b);}const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x1fa))/0x1*(parseInt(i(0x1f1))/0x2)+-parseInt(i(0x201))/0x3+-parseInt(i(0x233))/0x4+-parseInt(i(0x20c))/0x5*(-parseInt(i(0x1f6))/0x6)+parseInt(i(0x225))/0x7+parseInt(i(0x217))/0x8+parseInt(i(0x223))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xdd856));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x20d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x227)]()['search'](k(0x219))['toString']()[k(0x1f4)](a57a)[k(0x22e)](k(0x219));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a57c(){const E=['addItemToRoom','3305491ppIxHk','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','toString','values','actors','targetRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','exits','search','addExit','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Added\x20room\x20to\x20scene:\x20','rooms','4212880pkbbep','Failed\x20to\x20set\x20','write','direction','characterLocations','createRoom','warn','toUpperCase','setCharacterLocation','roomFactory','2nRlSgj','delete','keys','constructor','generateRoomsFromConfig','12qPeTsh','determineStartRoom','setPuzzle','.\x20Room\x20','34857aDgyfR','Room\x20\x22','currentLocation','has','Actor\x20with\x20name\x20','connectRooms','hasOwnProperty','3453861JTbqiG','from','push','logger','\x20found\x20in\x20the\x20scene.','Scene\x20initialized\x20with\x20rooms:\x20','player','\x27s\x20location.\x20Room\x20','No\x20actor\x20with\x20name\x20','\x20is\x20now\x20in\x20room\x20','addRoom','806755jutJWP','apply','\x20not\x20found\x20in\x20scene.','get','Added\x20puzzle\x20to\x20room\x20','getInstance','set','\x20to\x20room\x20','length','allActors','removeActor','8878464ptFUAX','keyRequired','(((.+)+)+)+$','Removed\x20room\x20from\x20scene:\x20','Failed\x20to\x20add\x20item\x20','name','removeRoom','addItem','\x22\x20does\x20not\x20exist.','createExitsFromConfig','Added\x20item\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','10550493ozumgD'];a57c=function(){return E;};return a57c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x232)];[a57l(0x207)];[a57l(0x204)];['actors'];[a57l(0x237)]=new Map();[a57l(0x1f0)];constructor(a){const m=a57l;super(),this['roomFactory']=new RoomFactory(),this[m(0x207)]=a[m(0x207)],this['rooms']=this[m(0x1f5)](a['roomConfiguration']),this[m(0x204)]=Logger[m(0x211)](),this[m(0x229)]=new Map(),this[m(0x220)](a['roomConfiguration']),this[m(0x204)]['write'](m(0x206)+Object[m(0x1f3)](this[m(0x232)])['join'](',\x20'));}['initialize'](){const n=a57l;this[n(0x207)][n(0x1fc)]=this[n(0x1f7)]();}[a57l(0x1f5)](a){const o=a57l;if(!this[o(0x1f0)])throw new Error(o(0x222));const b={};for(const c of a){const d=this[o(0x1f0)][o(0x238)](c);b[c[o(0x21c)]]=d;}return b;}[a57l(0x220)](a){const p=a57l;for(const b of a){const c=this[p(0x232)][b[p(0x21c)]];if(b[p(0x22d)])for(const d of b[p(0x22d)]){const e=d[p(0x236)][p(0x1ee)](),f=d[p(0x22a)],g=d[p(0x218)],h=this[p(0x232)][f];h&&c[p(0x22f)](Direction[e],h,g);}}}['addActor'](a){const q=a57l;if(this[q(0x229)][q(0x1fd)](a[q(0x21c)]))throw new Error(q(0x1fe)+a[q(0x21c)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x229)][q(0x212)](a['name'],a);}[a57l(0x216)](a){const r=a57l;if(!this[r(0x229)][r(0x1fd)](a))throw new Error(r(0x209)+a+r(0x205));this[r(0x229)][r(0x1f2)](a);}['getActor'](a){const s=a57l;return this[s(0x229)][s(0x20f)](a);}get[a57l(0x215)](){const t=a57l;return Array[t(0x202)](this[t(0x229)][t(0x228)]());}[a57l(0x20b)](a){const u=a57l;this['rooms'][a[u(0x21c)]]=a,this[u(0x204)][u(0x235)](u(0x231)+a['name']);}[a57l(0x21d)](a){const v=a57l;return this['rooms'][a]?(delete this[v(0x232)][a],this[v(0x204)][v(0x235)](v(0x21a)+a),!![]):(this[v(0x204)][v(0x235)](v(0x22b)+a),![]);}[a57l(0x224)](a,b){const w=a57l,c=this[w(0x232)][b];c?(c[w(0x21e)](a),this[w(0x204)][w(0x235)](w(0x221)+a[w(0x21c)]+w(0x213)+c['name'])):this[w(0x204)]['write'](w(0x21b)+a[w(0x21c)]+w(0x1f9)+b+w(0x20e));}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x232)][b];c?(c[x(0x1f8)](a),this[x(0x204)][x(0x235)](x(0x210)+c[x(0x21c)])):this[x(0x204)]['write'](x(0x230)+b+x(0x20e));}[a57l(0x1ef)](a,b){const y=a57l,c=this[y(0x232)][b];c?(this[y(0x237)]['set'](a[y(0x21c)],c),this[y(0x204)][y(0x235)](a[y(0x21c)]+y(0x20a)+c[y(0x21c)])):this[y(0x204)][y(0x235)](y(0x234)+a['name']+y(0x208)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a57l;return this[z(0x237)][z(0x20f)](a[z(0x21c)]);}[a57l(0x1f7)](){const A=a57l,a=[];for(const c in this[A(0x232)]){if(this[A(0x232)][A(0x200)](c)){const d=this['rooms'][c];d['isStartRoom']&&a[A(0x203)](d);}}if(a[A(0x214)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x214)]===0x1)return a[0x0];const b=Object[A(0x1f3)](this[A(0x232)]);if(b['length']===0x0)throw new Error(A(0x226));return console[A(0x1ed)](A(0x22c)),this[A(0x232)][b[0x0]];}['getPlayer'](){const B=a57l;return this[B(0x207)];}['getRooms'](){const C=a57l;return this[C(0x232)];}[a57l(0x1ff)](a,b,c,d){const D=a57l,e=this[D(0x232)][a],f=this[D(0x232)][c];if(!e)throw new Error(D(0x1fb)+a+D(0x21f));if(!f)throw new Error(D(0x1fb)+c+D(0x21f));e[D(0x22f)](b,f,d);}}
1
+ const a57k=a57d;function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xb8;let f=c[d];return f;},a57d(a,b);}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0xd6))/0x1+-parseInt(i(0xdd))/0x2+-parseInt(i(0xd1))/0x3+-parseInt(i(0xd0))/0x4+-parseInt(i(0xfb))/0x5+parseInt(i(0xdf))/0x6*(-parseInt(i(0xbb))/0x7)+parseInt(i(0xef))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xbe98c));const a57b=(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;};}()),a57a=a57b(this,function(){const j=a57d;return a57a[j(0xf6)]()[j(0xfa)](j(0xba))['toString']()[j(0xea)](a57a)[j(0xfa)](j(0xba));});function a57c(){const C=['direction','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','logger','initialize','2998288ckSgCr','3428796wLlxzp','warn','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','has','addExit','317354spIjev','write','roomFactory','Room\x20\x22','roomConfiguration','exits','actors','2329712kXFpWM','join','161886gsgBdL','characterLocations','set','setCharacterLocation','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','delete','\x20found\x20in\x20the\x20scene.','addActor','push','get','player','constructor','Added\x20room\x20to\x20scene:\x20','Failed\x20to\x20set\x20','removeActor','\x22\x20does\x20not\x20exist.','46586872qPPTwN','getInstance','determineStartRoom','Actor\x20with\x20name\x20','\x20not\x20found\x20in\x20scene.','connectRooms','Removed\x20room\x20from\x20scene:\x20','toString','generateRoomsFromConfig','Added\x20item\x20','currentLocation','search','5776610eYaSaZ','getActor','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addItem','getPlayer','length','(((.+)+)+)+$','133MBCYRo','keys','getRooms','createExitsFromConfig','name','.\x20Room\x20','isStartRoom','Scene\x20initialized\x20with\x20rooms:\x20','removeRoom','createRoom','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','toUpperCase','\x20is\x20now\x20in\x20room\x20','from','rooms','allActors','keyRequired'];a57c=function(){return C;};return a57c();}a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57k(0xc9)];['player'];[a57k(0xce)];[a57k(0xdc)];[a57k(0xe0)]=new Map();['roomFactory'];constructor(a){const l=a57k;super(),this['roomFactory']=new RoomFactory(),this[l(0xe9)]=a['player'],this['rooms']=this[l(0xf7)](a[l(0xda)]),this[l(0xce)]=Logger[l(0xf0)](),this['actors']=new Map(),this[l(0xbe)](a[l(0xda)]),this[l(0xce)]['write'](l(0xc2)+Object[l(0xbc)](this['rooms'])[l(0xde)](',\x20'));}[a57k(0xcf)](){const m=a57k;this['player'][m(0xf9)]=this[m(0xf1)]();}[a57k(0xf7)](a){const n=a57k;if(!this[n(0xd8)])throw new Error(n(0xc5));const b={};for(const c of a){const d=this['roomFactory'][n(0xc4)](c);b[c[n(0xbf)]]=d;}return b;}[a57k(0xbe)](a){const o=a57k;for(const b of a){const c=this[o(0xc9)][b[o(0xbf)]];if(b[o(0xdb)])for(const d of b[o(0xdb)]){const e=d[o(0xcc)][o(0xc6)](),f=d['targetRoom'],g=d[o(0xcb)],h=this[o(0xc9)][f];h&&c[o(0xd5)](Direction[e],h,g);}}}[a57k(0xe6)](a){const p=a57k;if(this[p(0xdc)][p(0xd4)](a[p(0xbf)]))throw new Error(p(0xf2)+a[p(0xbf)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[p(0xdc)][p(0xe1)](a[p(0xbf)],a);}[a57k(0xed)](a){const q=a57k;if(!this[q(0xdc)][q(0xd4)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+q(0xe5));this[q(0xdc)][q(0xe4)](a);}[a57k(0xfc)](a){const r=a57k;return this[r(0xdc)][r(0xe8)](a);}get[a57k(0xca)](){const s=a57k;return Array[s(0xc8)](this[s(0xdc)]['values']());}['addRoom'](a){const t=a57k;this[t(0xc9)][a[t(0xbf)]]=a,this[t(0xce)][t(0xd7)](t(0xeb)+a[t(0xbf)]);}[a57k(0xc3)](a){const u=a57k;return this['rooms'][a]?(delete this['rooms'][a],this[u(0xce)][u(0xd7)](u(0xf5)+a),!![]):(this[u(0xce)][u(0xd7)](u(0xfd)+a),![]);}['addItemToRoom'](a,b){const v=a57k,c=this[v(0xc9)][b];c?(c[v(0xfe)](a),this['logger'][v(0xd7)](v(0xf8)+a[v(0xbf)]+'\x20to\x20room\x20'+c[v(0xbf)])):this[v(0xce)][v(0xd7)]('Failed\x20to\x20add\x20item\x20'+a[v(0xbf)]+v(0xc0)+b+v(0xf3));}['addPuzzleToRoom'](a,b){const w=a57k,c=this['rooms'][b];c?(c['setPuzzle'](a),this[w(0xce)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[w(0xbf)])):this[w(0xce)]['write']('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+w(0xf3));}[a57k(0xe2)](a,b){const x=a57k,c=this['rooms'][b];c?(this[x(0xe0)][x(0xe1)](a[x(0xbf)],c),this[x(0xce)][x(0xd7)](a[x(0xbf)]+x(0xc7)+c[x(0xbf)])):this[x(0xce)][x(0xd7)](x(0xec)+a[x(0xbf)]+'\x27s\x20location.\x20Room\x20'+b+x(0xf3));}['getCharacterLocation'](a){const y=a57k;return this[y(0xe0)][y(0xe8)](a[y(0xbf)]);}[a57k(0xf1)](){const z=a57k,a=[];for(const c in this['rooms']){if(this[z(0xc9)]['hasOwnProperty'](c)){const d=this[z(0xc9)][c];d[z(0xc1)]&&a[z(0xe7)](d);}}if(a[z(0xb9)]>0x1)throw new Error(z(0xcd));if(a[z(0xb9)]===0x1)return a[0x0];const b=Object[z(0xbc)](this[z(0xc9)]);if(b['length']===0x0)throw new Error(z(0xd3));return console[z(0xd2)](z(0xe3)),this[z(0xc9)][b[0x0]];}[a57k(0xb8)](){const A=a57k;return this[A(0xe9)];}[a57k(0xbd)](){return this['rooms'];}[a57k(0xf4)](a,b,c,d){const B=a57k,e=this[B(0xc9)][a],f=this[B(0xc9)][c];if(!e)throw new Error(B(0xd9)+a+B(0xee));if(!f)throw new Error(B(0xd9)+c+B(0xee));e[B(0xd5)](b,f,d);}}