@maka/maka-cli 4.7.26 → 4.7.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +4 -1
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- const a20T=a20d;function a20d(a,b){const c=a20c();return a20d=function(d,e){d=d-0x67;let f=c[d];return f;},a20d(a,b);}(function(a,b){const Q=a20d,c=a();while(!![]){try{const d=parseInt(Q(0x83))/0x1*(-parseInt(Q(0xe1))/0x2)+parseInt(Q(0xc3))/0x3*(-parseInt(Q(0x112))/0x4)+-parseInt(Q(0x8d))/0x5+-parseInt(Q(0xd8))/0x6*(-parseInt(Q(0xaa))/0x7)+parseInt(Q(0xf0))/0x8*(-parseInt(Q(0x9a))/0x9)+-parseInt(Q(0x11d))/0xa*(parseInt(Q(0xf6))/0xb)+parseInt(Q(0x97))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x1e7f5));const a20b=(function(){let a=!![];return function(b,c){const d=a?function(){const R=a20d;if(c){const e=c[R(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){const S=a20d;return a20a[S(0x87)]()[S(0xfe)](S(0xb6))[S(0x87)]()[S(0xf4)](a20a)['search'](S(0xb6));});a20a();import a20e from'path';import a20f from'fs';import{execSync}from'child_process';import a20g from'cli-color';import a20h from'../generators/maka.gen.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a20c(){const W=['/app/imports/ui/test-helpers.js.jsx','skip-generator-comments','cert','1354182JhBHZJ','typescript','forEach','testAnswer','meteor-node-stubs\x20@testing-library/react','theme','Enable\x20server-side\x20rendering\x20(ssr)','css','mquandalle:jade','28nDqgxg','self-test','gitignore','/app/imports/startup/client/routes.js.jsx','es6','build','saveInit','toUTCString','For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.','withHooks','autoupdate','false','nightmare\x20phantomjs-prebuilt\x20chai\x20meteor-node-stubs','app/maka.d.ts','SCSS','248mCKkPV','Components','Please\x20review\x20choices,\x20ready\x20to\x20scaffold\x20','git\x20-C\x20','constructor','apply','253lOPDCQ','template','None','copyTemplateDirectory','\x20commit\x20-m\x20\x22Maka-CLI\x20init\x20@\x20','\x20add\x20.\x20&&\x20git\x20-C\x20','kadira:flow-router\x20kadira:blaze-layout','SSR\x20is\x20not\x20supported\x20on\x20any\x20other\x20client\x20than\x20react\x20or\x20reflux','search','blaze-html-templates','renameSync','UI\x20Theming','reflux','skip-route-template','layout','greenBright','fsi','@apollo/link-context\x20@apollo/react-hooks\x20@apollo/client\x20graphql-type-json@0.2.4','maka\x20create\x20<name>','app.tar.gz','@babel/runtime@latest','apiAnswers','not-found','\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20','coffee','ask','ssr','engines','4rMDFgA','cssAnswer','vanilla','/app/public/sw.js.tsx','isMeteorInstalled','toLowerCase','Jasmine','rpc','skip-flow-router','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x0a\x20Run\x20`npm\x20i\x20-g\x20meteor`','react','49030BHgsGi','CSS\x20Style','react\x20react-dom','list','push','Project\x20already\x20exists.','/app/imports/ui/test-helpers.js.tsx','jsx','/app/imports/startup/lib/routes.js.jsx','apollo','static-html\x20jquery','/app/imports/startup/lib/routes.js.tsx','/app/imports/ui/test-helpers.js','hasOwnProperty','features','@types/mocha','join','react-router-dom@5.3.0\x20styled-components\x20history@3.3.0','Create\x20a\x20new\x20Maka\x20Meteor\x20project','.maka','REST','material','/app/public/sw.js.jsx','meteor-node-stubs\x20ramda','jquery\x20meteortesting:mocha\x20meteortesting:mocha\x20xolvio:cleaner\x20hwillson:stub-collections\x20practicalmeteor:chai\x20dburles:factory\x20velocity:meteor-stubs\x20practicalmeteor:sinon','none','Use\x20i18n\x20Translations','Meteor\x20is\x20installed.','jade','Project\x20scaffolded,\x20running\x20generators\x20in\x20project\x20directory...','blaze','tsx','/app/imports/startup/client/routes.js.tsx','development','maka\x20create\x20gql-service\x20--graphql=apollo','error','api','translation','app','/app/imports/startup/lib/templates.js.tsx','force','test','/app/imports/startup/lib/templates.js.jsx','hooks','typescriptAnswer','installNpmPackage','maka\x20create\x20ssr-app\x20--ssr','reactAnswer','7357TXzJBc','/app/imports/startup/client/templates.js.jsx','Preparing\x20Meteor\x20Project','success','toString','sep','scss','sanjo:jasmine\x20maka:html-reporter\x20velocity:console-reporter\x20dburles:factory','workspace','config','1104215PFIXdI','config.json','win32','server-render','git\x20init\x20','page','graphql','withTranslations','blaze-html-templates\x20tracker','coffeescript','6642552SstiYZ','master-layout','less','783mHUwyh','length','@types/ramda','ignore','isDirectory','skip-testing','graphql\x20graphql-type-json@0.2.4\x20isomorphic-fetch','installMeteorPackage','react-meteor-data','@emotion/server','LESS','create','confirm','client','@apollo/react-testing','home','7OfgxpS','mocha','maka\x20create\x20my-app','withSpinner','Cannot\x20init\x20git,\x20do\x20you\x20have\x20git\x20installed?','html','Created\x20','GraphQL','rest','react\x20react-dom\x20react-test-renderer','Creating\x20project\x20in\x20workspace:\x20','private-layout','(((.+)+)+)+$','createEmptyMeteorProject','cwd','/app/imports/startup/client/templates.js.tsx','You\x20are\x20forcing\x20to\x20create\x20a\x20meteor\x20project\x20in\x20an\x20existing\x20directory.\x20You\x20sure?','processAndRunGenerator','platform','jasmine','@types/meteor','true','skip-template-html','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22','project','645057fSIEyT','App\x20Name:','route','options','crypto','skip-template-js','Aborted','\x0a\x20\x20Create\x20a\x20new\x20maka\x20meteor\x20project.\x0a\x0a\x20\x20Without\x20any\x20arguments,\x20you\x20will\x20be\x20prompted\x20for\x20project\x20settings\x20such\x20as\x0a\x20\x20including\x20GraphQL,\x20preferring\x20React\x20Hooks\x20or\x20Components,\x0a\x20\x20Typescript\x20or\x20Javascript,\x20and\x20a\x20few\x20others.\x0a\x0a\x20\x20You\x20can\x20also\x20pass\x20in\x20arguments\x20to\x20the\x20create\x20command\x20to\x20skip\x20the\x20prompts.\x0a\x20\x20For\x20example,\x20`maka\x20create\x20my-app\x20--js=ts\x20--theme=material`\x20will\x20create\x20a\x0a\x20\x20new\x20maka\x20meteor\x20project\x20named\x20`my-app`\x20with\x20Typescript\x20and\x20Material-UI.\x0a\x20\x20','isomorphic-fetch','static-html','/app/public/sw.js','grigio:babel','Mocha','app/tsconfig.json','notice','.gitignore','isFile','/app/public/sw.js.ts'];a20c=function(){return W;};return a20c();}import{Actions}from'../tools/actions/actions.class.js';Command[a20T(0xa5)]({'name':a20T(0xa5),'aliases':['c'],'minArgLength':0x0,'maxArgLength':0x2,'usage':a20T(0x108),'shortDesc':a20T(0x12f),'validOpts':[a20T(0xaf),'js','css',a20T(0x77),a20T(0xa7),a20T(0x7c),a20T(0x93),a20T(0xdd),'ssr',a20T(0xea),a20T(0x94),a20T(0x119),a20T(0x7b)],'description':a20T(0xca),'mustBeInMakaProject':![],'examples':[a20T(0xac),'maka\x20create\x20material-app\x20--theme=material',a20T(0x75),a20T(0x81),'maka\x20create\x20testable-app\x20--test=mocha']},async function(a,b){const U=a20T;try{if(this['fsi'][U(0x116)]())Log[U(0xd1)](U(0x6e));else throw Log[U(0x76)](U(0x11b));let c=a[0x0];(!c||c[U(0x9b)]===0x0)&&(c=await Actions[U(0x10f)](U(0xc4)));if(!b[U(0x7b)]&&this[U(0x106)]['isDirectory'](c))throw Log[U(0x76)](U(0x122));else{if(this[U(0x106)][U(0x9e)](c)){const x=await Actions[U(0xa6)](U(0xba),![]);if(!x)throw Log[U(0x76)](U(0xc9));}}if(!b['js']){const y={'type':'list','name':U(0x7f),'message':'Use\x20Typescript\x20or\x20Javascript','choices':['Javascript','Typescript']},{typescriptAnswer:z}=await Actions[U(0xc6)](y);z[U(0x117)]()==='typescript'&&(b['js']='ts');}if(!b[U(0xea)]){const A={'type':U(0x120),'name':U(0x82),'message':'React\x20Components\x20or\x20Hooks','choices':[U(0xf1),'Hooks']},{reactAnswer:B}=await Actions[U(0xc6)](A);B['toLowerCase']()===U(0x7e)&&(b[U(0xea)]=!![]);}if(!b[U(0x7c)]){const C={'type':U(0x120),'name':U(0xdb),'message':'Test\x20with\x20Jasmine\x20or\x20Mocha','choices':[{'name':U(0x118),'value':U(0xbd)},{'name':U(0xcf),'value':'mocha'},{'name':'None','value':U(0x6c)}]},{testAnswer:D}=await Actions[U(0xc6)](C);D&&(b[U(0x7c)]=D);}if(!b[U(0xdd)]){const E={'type':U(0x120),'name':'themeAnswer','message':U(0x101),'choices':[{'name':'Material-UI','value':U(0x68)},{'name':U(0xf8),'value':U(0x6c)}]},{themeAnswer:F}=await Actions[U(0xc6)](E);F&&(b['theme']=F);if(!b[U(0xdf)]){const G={'type':U(0x120),'name':U(0x113),'message':U(0x11e),'choices':[{'name':'CSS','value':'css'},{'name':U(0xef),'value':U(0x89)},{'name':U(0xa4),'value':U(0x99)},{'name':U(0xf8),'value':U(0x6c)}]},{cssAnswer:H}=await Actions['options'](G);H&&(b['css']=H);}}if(!b[U(0x94)]){const I=await Actions[U(0xa6)](U(0x6d),![]);I&&(b[U(0x94)]=!![]);}const d=[];!b[U(0x93)]&&d[U(0x121)]({'name':U(0xb1),'value':U(0x126)});!b[U(0x77)]&&d[U(0x121)]({'name':U(0x67),'value':U(0xb2)});if(d[U(0x9b)]>0x0){const J={'type':'checkbox','name':U(0x10b),'message':'API','pageSize':0x64,'default':0x0,'choices':d},{apiAnswers:K}=await Actions[U(0xc6)](J);K[U(0xda)](L=>{const V=U;L===V(0x126)&&(b['graphql']=L),L===V(0xb2)&&(b[V(0x77)]=L),L==='rpc'&&(b[V(0x119)]=L);});if(!b[U(0x93)]){const L=await Actions['confirm'](U(0xde));L&&(b[U(0x110)]=U(0xbf));}}const f=await Actions[U(0xa6)](U(0xf2)+a20g[U(0x105)](c),!![]);if(!f)throw Log[U(0x76)](U(0xc9));const g=await this['fsi']['getGlobalConfig'](),h=g[U(0x8b)];h&&(Log[U(0xd1)](U(0xb4)+h),c=a20e[U(0x12d)](h,c));const i=c,j=c,k=b[U(0x12a)](U(0xe2)),l={'appName':i,'engines':{'html':b['html']||U(0xaf),'js':b['js']||'js','css':b[U(0xdf)]||U(0xdf),'api':b[U(0x77)]||U(0x6c),'client':b['client']||U(0x11c),'test':b['test']||U(0x6c),'graphql':b[U(0x93)]||U(0x6c),'theme':b[U(0xdd)]||U(0x6c),'ssr':b[U(0x110)]?U(0xbf):U(0xec)},'features':{'withHooks':b['withHooks']||![],'withTranslations':b[U(0x94)]||![]},'template':{'html':!b[U(0x12a)](U(0xc0))&&!b[U(0x12a)]('skip-html'),'js':!b[U(0x12a)](U(0xc8))&&!b[U(0x12a)]('skip-js'),'css':b[U(0xdf)]!=='none','test':!b[U(0x12a)](U(0x9f))&&!b[U(0x12a)]('skip-tests')},'route':{'template':!b['hasOwnProperty'](U(0x103))},'generator':{'comments':!b[U(0x12a)](U(0xd6))}};l[U(0x111)][U(0x93)]!==U(0x6c)&&(l[U(0x111)]['graphql']=U(0x126));l[U(0x111)]['client']==='react'||l[U(0x111)]['client']==='reflux'?(l[U(0x111)]['js']==='ts'&&(l[U(0x111)]['js']=U(0x72)),l[U(0x111)]['js']==='js'&&(l[U(0x111)]['js']=U(0x124)),l[U(0xf7)][U(0xaf)]=![]):(l['engines']['js']===U(0x72)&&(l['engines']['js']='ts'),l['engines']['js']===U(0x124)&&(l[U(0x111)]['js']='js'));l['engines'][U(0xa7)]===U(0x114)&&(l['engines']['js']='js',l[U(0x111)][U(0x93)]=U(0x6c),l['engines'][U(0xdd)]=U(0x6c),l[U(0x111)][U(0x110)]=U(0xec),l[U(0xc5)][U(0xf7)]=![],l['template'][U(0xaf)]=![]);l['engines'][U(0x110)]==='true'&&(l[U(0x111)][U(0xa7)]!=='react'&&l[U(0x111)][U(0xa7)]!==U(0x102)&&(Log['error'](U(0xfd)),l[U(0x111)]['ssr']=U(0xec)),(l['engines'][U(0x77)]===U(0x93)||l[U(0x111)]['graphql']===U(0x126))&&(Log[U(0x76)]('SSR\x20with\x20GraphQL\x20is\x20not\x20supported.'),Log[U(0x76)]('https://github.com/apollographql/meteor-integration/issues/133'),l[U(0x111)][U(0x110)]=U(0xec)));if(l[U(0x111)][U(0x110)]===U(0xbf)){}const m={'app':i,'config':l,'appPath':a20e['join'](j,U(0x79)),'bundlePath':a20e[U(0x12d)](j,U(0xe6),U(0x109)),'useCert':this['fsi'][U(0xd3)](g[U(0xd7)])};let n=[];l[U(0x111)]['ssr']===U(0xbf)?n=[U(0x84),U(0xe4),U(0xb9),U(0x73)]:n=[U(0x7d),U(0x125),U(0x7a),U(0x128)];l[U(0x111)]['js']!==U(0x71)&&n[U(0x121)](U(0x129));l[U(0x111)]['js']!=='ts'&&l[U(0x111)]['js']!==U(0x72)&&(n['push']('app/meteor.d.ts'),n[U(0x121)](U(0xee)),n[U(0x121)](U(0xd0)));l[U(0x111)][U(0xa7)]==='vanilla'&&n[U(0x121)]('/app/imports/startup/client/template.js');const o=[];o['push'](U(0xcd)),n[U(0x121)](U(0x69)),n[U(0x121)](U(0x115)),n[U(0x121)](U(0xd4)),n['push'](U(0xd5)),n['push'](U(0x123));const p=[],q=[],r=[],s=[],t=a20e[U(0x12d)](j,U(0x79)),u=Log[U(0xad)]();await this[U(0x106)][U(0xf9)]({'srcPath':U(0xc2),'destPath':j,'context':m,'ignore':n,'config':l}),a20f[U(0x100)](j+a20e[U(0x88)]+U(0xe3),j+a20e[U(0x88)]+U(0xd2)),u['start'](U(0x85)),await this[U(0x106)][U(0xb7)](U(0x79),{'cwd':j,...b}),u['success'](),await this[U(0x106)]['copyTemplateDirectory']({'srcPath':'app','destPath':t,'context':m,'ignore':n,'keep':o,'config':l}),await this[U(0x106)][U(0xe7)](l,a20e[U(0x12d)](j,U(0x130),U(0x8e)));const v=l[U(0x111)][U(0xa7)]===U(0x11c)?U(0x104):'template';Log['notice'](U(0x70)),await a20h[U(0xbb)](v,[U(0x98)],{'cwd':j,'root':!![],'config':l}),await a20h[U(0xbb)](v,[U(0xb5)],{'cwd':j,'root':!![],'config':l}),await a20h[U(0xbb)]('route',[U(0xa9),'/'],{'cwd':j,'root':!![],'config':l}),await a20h['processAndRunGenerator'](U(0x92),['home'],{'cwd':j,'root':!![],'config':l}),await a20h[U(0xbb)](U(0x92),[U(0x10c)],{'cwd':j,'root':!![],'config':l}),await a20h['processAndRunGenerator'](U(0x8c),[U(0x74)],{'cwd':j,'root':!![],'config':l});l[U(0x12b)]['withTranslations']&&(await a20h[U(0xbb)](U(0x78),['translations'],{'lang':'en','cwd':j,'root':!![],'config':l}),p[U(0x121)]('i18next\x20i18next-browser-languagedetector\x20react-i18next'));!b[U(0x12a)](U(0x11a))&&m['config'][U(0x111)]['client']===U(0x71)&&r['push'](U(0xfc));p[U(0x121)](U(0xc7)),p[U(0x121)]('helmet'),r[U(0x121)](U(0xeb));if(l[U(0x111)][U(0xa7)]==='react'||l[U(0x111)][U(0xa7)]===U(0x102)){if(l[U(0x111)][U(0x7c)]===U(0xbd))r['push'](U(0x8a)),q[U(0x121)](U(0xdc)),l[U(0x111)][U(0x93)]===U(0x126)&&q[U(0x121)](U(0xa8));else l[U(0x111)][U(0x7c)]===U(0xab)&&(r[U(0x121)]('jquery\x20meteortesting:mocha\x20meteortesting:mocha\x20xolvio:cleaner\x20hwillson:stub-collections\x20practicalmeteor:chai\x20dburles:factory\x20velocity:meteor-stubs\x20practicalmeteor:sinon'),q[U(0x121)](U(0xdc)),l[U(0x111)][U(0x93)]==='apollo'&&q[U(0x121)](U(0xa8)));}else{if(l[U(0x111)][U(0x7c)]===U(0xbd))r['push'](U(0x8a)),q[U(0x121)]('meteor-node-stubs');else l[U(0x111)][U(0x7c)]===U(0xab)&&(r[U(0x121)](U(0x6b)),q['push'](U(0xed)));}l[U(0x111)]['api']!==U(0x6c)&&(l[U(0x111)][U(0x77)]===U(0x93)&&(l['engines'][U(0x93)]=U(0x126)));l[U(0xf7)][U(0xdf)]&&(l[U(0x111)][U(0xdf)]=='less'&&r['push'](U(0x99)),l[U(0x111)][U(0xdf)]==U(0x89)&&r['push']('fourseven:scss'));if(l[U(0xf7)]['js']){if(l[U(0x111)]['js']==U(0x10e))r[U(0x121)](U(0x96));}if(l[U(0xf7)][U(0xaf)]){if(l[U(0x111)][U(0xaf)]===U(0x6f))r[U(0x121)](U(0xe0));}(l[U(0x111)]['js']==='ts'||l[U(0x111)]['js']===U(0x72))&&(r[U(0x121)](U(0xd9)),q['push'](U(0xbe)),q[U(0x121)](U(0x12c)),q[U(0x121)](U(0x9c)),q[U(0x121)]('@types/react-dom'),l[U(0x111)]['test']!=='none'&&q[U(0x121)]('@types/testing-library__react'));p[U(0x121)](U(0x6a));'js'in b&&b['js']?.['toLowerCase']()===U(0xe5)&&r[U(0x121)](U(0xce));p[U(0x121)](U(0x10a));(l[U(0x111)]['client']===U(0x11c)||l[U(0x111)][U(0xa7)]===U(0x102))&&(r[U(0x121)](U(0xa2)),l[U(0x111)][U(0x7c)]!==U(0x6c)?p[U(0x121)](U(0xb3)):p[U(0x121)](U(0x11f)),p[U(0x121)]('react-router@3.2.4\x20prop-types\x20@emotion/react'));l[U(0x111)][U(0xa7)]===U(0x102)&&p[U(0x121)]('reflux');l[U(0x111)][U(0x93)]===U(0x126)&&(p[U(0x121)](U(0xa0)),p[U(0x121)](U(0x107)),p['push']('express\x20@apollo/server\x20@apollo/server-plugin-landing-page-graphql-playground'),r[U(0x121)](U(0x126)));l[U(0x111)]['theme']===U(0x68)&&p[U(0x121)]('@mui/icons-material\x20@mui/material\x20@emotion/styled\x20@mui/system');l['engines'][U(0x110)]&&p[U(0x121)](U(0xa3));l[U(0x111)]['ssr']==='true'&&(p[U(0x121)](U(0x12e)),r[U(0x121)](U(0x90)));(l[U(0x111)][U(0x7c)]===U(0xbd)||l[U(0x111)][U(0x110)]===U(0xbf)||l['engines']['client']==='react'||l[U(0x111)]['client']===U(0x102))&&(l[U(0x111)]['client']!==U(0x71)&&r['push'](U(0xcc)));l[U(0x111)][U(0x110)]==='true'&&l[U(0x111)]['graphql']==='apollo'&&p[U(0x121)](U(0xcb));l[U(0x111)][U(0xa7)]==='vanilla'&&(s[U(0x121)](U(0x95)),r[U(0x121)](U(0x127)));l[U(0x111)][U(0xa7)]==='blaze'&&(r['push'](U(0xff)),s[U(0x121)](U(0xcc)));r['push']('mongo'),Log[U(0xd1)]('Running\x20post\x20creation\x20tasks'),await this[U(0x106)]['initNpm']({'cwd':t,'isSelfTest':k}),await this[U(0x106)][U(0x80)](p[U(0x12d)]('\x20'),{'cwd':t,'isSelfTest':k}),await this[U(0x106)][U(0x80)](q[U(0x12d)]('\x20'),{'cwd':t,'isSelfTest':k,'dev':!![]});r['length']>0x0&&await this[U(0x106)][U(0xa1)](r[U(0x12d)]('\x20'),{'cwd':t,'isSelfTest':k});s[U(0x9b)]>0x0&&await this[U(0x106)]['removeMeteorPackage'](s['join']('\x20'),{'cwd':t,'isSelfTest':k});try{const M=new Date(),N=a20e[U(0x12d)](j);execSync(U(0x91)+N+'\x20--initial-branch=main',{'stdio':U(0x9d)}),execSync(U(0xf3)+N+U(0xfb)+N+U(0xfa)+M[U(0xe8)]()+'\x22',{'stdio':'ignore'});}catch(O){Log['warn'](U(0xae));}Log['success'](U(0xb0)+i);h&&h!==process[U(0xb8)]()&&Log[U(0x86)]('\x20in\x20workspace\x20'+h);const w=process[U(0xbc)]===U(0x8f);w&&(Log[U(0xd1)](U(0xe9)),Log[U(0xd1)](U(0x10d)),Log[U(0xd1)](U(0xc1)+a20e[U(0x12d)](j)+'\x22'));}catch(P){Log[U(0x76)](P),process['exit'](0x0);}});
1
+ const a20T=a20d;function a20c(){const W=['5166296wWtTgT','helmet','withTranslations','app/maka.d.ts','createEmptyMeteorProject','installNpmPackage','tsx','length','mocha','/app/imports/startup/client/templates.js.jsx','SSR\x20with\x20GraphQL\x20is\x20not\x20supported.','mquandalle:jade','project','app/meteor.d.ts','@mui/icons-material\x20@mui/material\x20@emotion/styled\x20@mui/system','CSS\x20Style','not-found','meteor-node-stubs\x20@testing-library/react','git\x20-C\x20','es6','start','/app/imports/startup/lib/routes.js.tsx','getGlobalConfig','8501941hNILVP','vanilla','static-html\x20jquery','api','autoupdate','react\x20react-dom','reactAnswer','app','cert','CSS','home','self-test','git\x20init\x20','SSR\x20is\x20not\x20supported\x20on\x20any\x20other\x20client\x20than\x20react\x20or\x20reflux','\x20add\x20.\x20&&\x20git\x20-C\x20','blaze-html-templates\x20tracker','apollo','/app/imports/startup/client/template.js','maka\x20create\x20gql-service\x20--graphql=apollo','renameSync','@types/meteor','config','installMeteorPackage','Jasmine','kadira:flow-router\x20kadira:blaze-layout','graphql\x20graphql-type-json@0.2.4\x20isomorphic-fetch','/app/imports/ui/test-helpers.js','true','None','@types/mocha','cssAnswer','4724565zWvsjF','features','translation','push','blaze','copyTemplateDirectory','exit','Mocha','skip-template-js','ssr','engines','react-router@3.2.4\x20prop-types\x20@emotion/react','withSpinner','reflux','build','Running\x20post\x20creation\x20tasks','Created\x20','LESS','create','removeMeteorPackage','skip-flow-router','route','You\x20are\x20forcing\x20to\x20create\x20a\x20meteor\x20project\x20in\x20an\x20existing\x20directory.\x20You\x20sure?','options','rest','4532348PhTcFE','maka\x20create\x20<name>','Create\x20a\x20new\x20Maka\x20Meteor\x20project','\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20','list','rpc','cwd','maka\x20create\x20ssr-app\x20--ssr','.gitignore','search','For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.','Project\x20already\x20exists.','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x0a\x20Run\x20`npm\x20i\x20-g\x20meteor`','UI\x20Theming','nightmare\x20phantomjs-prebuilt\x20chai\x20meteor-node-stubs','forEach','gitignore','constructor','.maka','Use\x20i18n\x20Translations','toString','react-meteor-data','win32','https://github.com/apollographql/meteor-integration/issues/133','sep','jade','Aborted','meteor-node-stubs','Use\x20Typescript\x20or\x20Javascript','withHooks','none','maka\x20create\x20my-app','html','success','initNpm','isFile','/app/imports/startup/client/routes.js.tsx','fourseven:scss','/app/imports/startup/client/templates.js.tsx','i18next\x20i18next-browser-languagedetector\x20react-i18next','confirm','processAndRunGenerator','Preparing\x20Meteor\x20Project','config.json','jquery\x20meteortesting:mocha\x20meteortesting:mocha\x20xolvio:cleaner\x20hwillson:stub-collections\x20practicalmeteor:chai\x20dburles:factory\x20velocity:meteor-stubs\x20practicalmeteor:sinon','react-router-dom@5.3.0\x20styled-components\x20history@3.3.0','/app/public/sw.js.ts','App\x20Name:','translations','SCSS','meteor-node-stubs\x20ramda','25882MnzXbi','\x0a\x20\x20Create\x20a\x20new\x20maka\x20meteor\x20project.\x0a\x0a\x20\x20Without\x20any\x20arguments,\x20you\x20will\x20be\x20prompted\x20for\x20project\x20settings\x20such\x20as\x0a\x20\x20including\x20GraphQL,\x20preferring\x20React\x20Hooks\x20or\x20Components,\x0a\x20\x20Typescript\x20or\x20Javascript,\x20and\x20a\x20few\x20others.\x0a\x0a\x20\x20You\x20can\x20also\x20pass\x20in\x20arguments\x20to\x20the\x20create\x20command\x20to\x20skip\x20the\x20prompts.\x0a\x20\x20For\x20example,\x20`maka\x20create\x20my-app\x20--js=ts\x20--theme=material`\x20will\x20create\x20a\x0a\x20\x20new\x20maka\x20meteor\x20project\x20named\x20`my-app`\x20with\x20Typescript\x20and\x20Material-UI.\x0a\x20\x20','Meteor\x20is\x20installed.','/app/public/sw.js.jsx','join','notice','testAnswer','Material-UI','greenBright','mongo','development','Javascript','(((.+)+)+)+$','checkbox','Test\x20with\x20Jasmine\x20or\x20Mocha','app/tsconfig.json','/app/imports/startup/lib/templates.js.tsx','master-layout','themeAnswer','template','coffee','material','Hooks','warn','theme','/app/imports/startup/lib/routes.js.jsx','toLowerCase','less','/app/public/sw.js','react\x20react-dom\x20react-test-renderer','client','force','@apollo/link-context\x20@apollo/react-hooks\x20@apollo/client\x20graphql-type-json@0.2.4','apply','fsi','graphql','maka\x20create\x20testable-app\x20--test=mocha','platform','Creating\x20project\x20in\x20workspace:\x20','isDirectory','skip-generator-comments','page','141kGOuZn','Cannot\x20init\x20git,\x20do\x20you\x20have\x20git\x20installed?','react','private-layout','typescript','hooks','6869196AocLRw','/app/imports/startup/lib/templates.js.jsx','error','223669yZEOLf','isomorphic-fetch','css','@apollo/react-testing','hasOwnProperty','API','jasmine','test','crypto','app.tar.gz','false','Please\x20review\x20choices,\x20ready\x20to\x20scaffold\x20','isMeteorInstalled','Project\x20scaffolded,\x20running\x20generators\x20in\x20project\x20directory...','/app/public/sw.js.tsx','Typescript'];a20c=function(){return W;};return a20c();}(function(a,b){const Q=a20d,c=a();while(!![]){try{const d=-parseInt(Q(0xa1))/0x1+parseInt(Q(0x133))/0x2*(-parseInt(Q(0x98))/0x3)+-parseInt(Q(0x100))/0x4+parseInt(Q(0xe7))/0x5+parseInt(Q(0x9e))/0x6+parseInt(Q(0xc8))/0x7+-parseInt(Q(0xb1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0xa9544));const a20b=(function(){let a=!![];return function(b,c){const d=a?function(){const R=a20d;if(c){const e=c[R(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){const S=a20d;return a20a['toString']()[S(0x109)](S(0x7a))[S(0x114)]()[S(0x111)](a20a)[S(0x109)](S(0x7a));});a20a();import a20e from'path';import a20f from'fs';import{execSync}from'child_process';import a20g from'cli-color';import a20h from'../generators/maka.gen.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a20d(a,b){const c=a20c();return a20d=function(d,e){d=d-0x78;let f=c[d];return f;},a20d(a,b);}Command[a20T(0xf9)]({'name':a20T(0xf9),'aliases':['c'],'minArgLength':0x0,'maxArgLength':0x2,'usage':a20T(0x101),'shortDesc':a20T(0x102),'validOpts':[a20T(0x120),'js',a20T(0xa3),a20T(0xcb),a20T(0x8c),'test',a20T(0x91),a20T(0x86),'ssr',a20T(0x11d),a20T(0xb3),a20T(0x105),'force'],'description':a20T(0x134),'mustBeInMakaProject':![],'examples':[a20T(0x11f),'maka\x20create\x20material-app\x20--theme=material',a20T(0xda),a20T(0x107),a20T(0x92)]},async function(a,b){const U=a20T;try{if(this['fsi'][U(0xad)]())Log[U(0x138)](U(0x135));else throw Log['error'](U(0x10c));let c=a[0x0];(!c||c[U(0xb8)]===0x0)&&(c=await Actions['ask'](U(0x12f)));if(!b[U(0x8d)]&&this[U(0x90)][U(0x95)](c))throw Log[U(0xa0)](U(0x10b));else{if(this[U(0x90)]['isDirectory'](c)){const x=await Actions[U(0x128)](U(0xfd),![]);if(!x)throw Log[U(0xa0)](U(0x11a));}}if(!b['js']){const y={'type':U(0x104),'name':'typescriptAnswer','message':U(0x11c),'choices':[U(0x79),U(0xb0)]},{typescriptAnswer:z}=await Actions[U(0xfe)](y);z[U(0x88)]()===U(0x9c)&&(b['js']='ts');}if(!b['withHooks']){const A={'type':U(0x104),'name':U(0xce),'message':'React\x20Components\x20or\x20Hooks','choices':['Components',U(0x84)]},{reactAnswer:B}=await Actions[U(0xfe)](A);B[U(0x88)]()===U(0x9d)&&(b[U(0x11d)]=!![]);}if(!b[U(0xa8)]){const C={'type':U(0x104),'name':U(0x139),'message':U(0x7c),'choices':[{'name':U(0xdf),'value':'jasmine'},{'name':U(0xee),'value':'mocha'},{'name':'None','value':'none'}]},{testAnswer:D}=await Actions[U(0xfe)](C);D&&(b['test']=D);}if(!b[U(0x86)]){const E={'type':U(0x104),'name':U(0x80),'message':U(0x10d),'choices':[{'name':U(0x13a),'value':'material'},{'name':U(0xe4),'value':'none'}]},{themeAnswer:F}=await Actions[U(0xfe)](E);F&&(b[U(0x86)]=F);if(!b['css']){const G={'type':U(0x104),'name':U(0xe6),'message':U(0xc0),'choices':[{'name':U(0xd1),'value':U(0xa3)},{'name':U(0x131),'value':'scss'},{'name':U(0xf8),'value':U(0x89)},{'name':U(0xe4),'value':U(0x11e)}]},{cssAnswer:H}=await Actions[U(0xfe)](G);H&&(b[U(0xa3)]=H);}}if(!b[U(0xb3)]){const I=await Actions[U(0x128)](U(0x113),![]);I&&(b[U(0xb3)]=!![]);}const d=[];!b[U(0x91)]&&d[U(0xea)]({'name':'GraphQL','value':'apollo'});!b['api']&&d[U(0xea)]({'name':'REST','value':U(0xff)});if(d[U(0xb8)]>0x0){const J={'type':U(0x7b),'name':'apiAnswers','message':U(0xa6),'pageSize':0x64,'default':0x0,'choices':d},{apiAnswers:K}=await Actions[U(0xfe)](J);K[U(0x10f)](L=>{const V=U;L===V(0xd8)&&(b[V(0x91)]=L),L===V(0xff)&&(b[V(0xcb)]=L),L===V(0x105)&&(b[V(0x105)]=L);});if(!b[U(0x91)]){const L=await Actions[U(0x128)]('Enable\x20server-side\x20rendering\x20(ssr)');L&&(b[U(0xf0)]=U(0xe3));}}const f=await Actions[U(0x128)](U(0xac)+a20g[U(0x13b)](c),!![]);if(!f)throw Log[U(0xa0)](U(0x11a));const g=await this[U(0x90)][U(0xc7)](),h=g['workspace'];h&&(Log[U(0x138)](U(0x94)+h),c=a20e[U(0x137)](h,c));const i=c,j=c,k=b['hasOwnProperty'](U(0xd3)),l={'appName':i,'engines':{'html':b[U(0x120)]||'html','js':b['js']||'js','css':b[U(0xa3)]||U(0xa3),'api':b['api']||U(0x11e),'client':b[U(0x8c)]||'react','test':b[U(0xa8)]||U(0x11e),'graphql':b[U(0x91)]||U(0x11e),'theme':b[U(0x86)]||'none','ssr':b['ssr']?U(0xe3):U(0xab)},'features':{'withHooks':b[U(0x11d)]||![],'withTranslations':b[U(0xb3)]||![]},'template':{'html':!b[U(0xa5)]('skip-template-html')&&!b[U(0xa5)]('skip-html'),'js':!b[U(0xa5)](U(0xef))&&!b[U(0xa5)]('skip-js'),'css':b[U(0xa3)]!==U(0x11e),'test':!b['hasOwnProperty']('skip-testing')&&!b[U(0xa5)]('skip-tests')},'route':{'template':!b[U(0xa5)]('skip-route-template')},'generator':{'comments':!b[U(0xa5)](U(0x96))}};l[U(0xf1)][U(0x91)]!=='none'&&(l[U(0xf1)][U(0x91)]='apollo');l[U(0xf1)]['client']===U(0x9a)||l[U(0xf1)][U(0x8c)]===U(0xf4)?(l[U(0xf1)]['js']==='ts'&&(l['engines']['js']='tsx'),l[U(0xf1)]['js']==='js'&&(l[U(0xf1)]['js']='jsx'),l[U(0x81)]['html']=![]):(l[U(0xf1)]['js']===U(0xb7)&&(l['engines']['js']='ts'),l[U(0xf1)]['js']==='jsx'&&(l['engines']['js']='js'));l['engines'][U(0x8c)]==='vanilla'&&(l[U(0xf1)]['js']='js',l[U(0xf1)][U(0x91)]='none',l['engines']['theme']=U(0x11e),l['engines'][U(0xf0)]='false',l['route'][U(0x81)]=![],l[U(0x81)][U(0x120)]=![]);l[U(0xf1)][U(0xf0)]===U(0xe3)&&(l[U(0xf1)][U(0x8c)]!==U(0x9a)&&l['engines'][U(0x8c)]!==U(0xf4)&&(Log['error'](U(0xd5)),l[U(0xf1)][U(0xf0)]=U(0xab)),(l['engines']['api']===U(0x91)||l[U(0xf1)][U(0x91)]===U(0xd8))&&(Log[U(0xa0)](U(0xbb)),Log['error'](U(0x117)),l[U(0xf1)][U(0xf0)]=U(0xab)));if(l[U(0xf1)][U(0xf0)]==='true'){}const m={'app':i,'config':l,'appPath':a20e[U(0x137)](j,U(0xcf)),'bundlePath':a20e['join'](j,U(0xf5),U(0xaa)),'useCert':this[U(0x90)][U(0x123)](g[U(0xd0)])};let n=[];l[U(0xf1)][U(0xf0)]===U(0xe3)?n=[U(0xba),'/app/imports/startup/client/routes.js.jsx',U(0x126),U(0x124)]:n=[U(0x9f),U(0x87),U(0x7e),U(0xc6)];l[U(0xf1)]['js']!==U(0xeb)&&n[U(0xea)](U(0xe2));l[U(0xf1)]['js']!=='ts'&&l[U(0xf1)]['js']!==U(0xb7)&&(n[U(0xea)](U(0xbe)),n[U(0xea)](U(0xb4)),n[U(0xea)](U(0x7d)));l[U(0xf1)][U(0x8c)]===U(0xc9)&&n['push'](U(0xd9));const o=[];o[U(0xea)](U(0x8a)),n[U(0xea)](U(0x136)),n[U(0xea)](U(0xaf)),n[U(0xea)](U(0x12e)),n[U(0xea)]('/app/imports/ui/test-helpers.js.jsx'),n[U(0xea)]('/app/imports/ui/test-helpers.js.tsx');const p=[],q=[],r=[],s=[],t=a20e[U(0x137)](j,U(0xcf)),u=Log[U(0xf3)]();await this['fsi'][U(0xec)]({'srcPath':U(0xbd),'destPath':j,'context':m,'ignore':n,'config':l}),a20f[U(0xdb)](j+a20e[U(0x118)]+U(0x110),j+a20e['sep']+U(0x108)),u[U(0xc5)](U(0x12a)),await this[U(0x90)][U(0xb5)](U(0xcf),{'cwd':j,...b}),u[U(0x121)](),await this[U(0x90)][U(0xec)]({'srcPath':U(0xcf),'destPath':t,'context':m,'ignore':n,'keep':o,'config':l}),await this[U(0x90)]['saveInit'](l,a20e[U(0x137)](j,U(0x112),U(0x12b)));const v=l[U(0xf1)]['client']==='react'?'layout':'template';Log[U(0x138)](U(0xae)),await a20h[U(0x129)](v,[U(0x7f)],{'cwd':j,'root':!![],'config':l}),await a20h[U(0x129)](v,[U(0x9b)],{'cwd':j,'root':!![],'config':l}),await a20h['processAndRunGenerator'](U(0xfc),['home','/'],{'cwd':j,'root':!![],'config':l}),await a20h[U(0x129)](U(0x97),[U(0xd2)],{'cwd':j,'root':!![],'config':l}),await a20h[U(0x129)](U(0x97),[U(0xc1)],{'cwd':j,'root':!![],'config':l}),await a20h[U(0x129)]('config',[U(0x78)],{'cwd':j,'root':!![],'config':l});l[U(0xe8)][U(0xb3)]&&(await a20h[U(0x129)](U(0xe9),[U(0x130)],{'lang':'en','cwd':j,'root':!![],'config':l}),p['push'](U(0x127)));!b[U(0xa5)](U(0xfb))&&m[U(0xdd)]['engines'][U(0x8c)]===U(0xeb)&&r[U(0xea)](U(0xe0));p['push'](U(0xa9)),p[U(0xea)](U(0xb2)),r['push'](U(0xcc));if(l[U(0xf1)][U(0x8c)]==='react'||l[U(0xf1)][U(0x8c)]==='reflux'){if(l[U(0xf1)][U(0xa8)]===U(0xa7))r['push']('sanjo:jasmine\x20maka:html-reporter\x20velocity:console-reporter\x20dburles:factory'),q['push'](U(0xc2)),l[U(0xf1)]['graphql']===U(0xd8)&&q['push'](U(0xa4));else l[U(0xf1)][U(0xa8)]===U(0xb9)&&(r['push'](U(0x12c)),q[U(0xea)]('meteor-node-stubs\x20@testing-library/react'),l[U(0xf1)][U(0x91)]===U(0xd8)&&q[U(0xea)](U(0xa4)));}else{if(l[U(0xf1)][U(0xa8)]==='jasmine')r[U(0xea)]('sanjo:jasmine\x20maka:html-reporter\x20velocity:console-reporter\x20dburles:factory'),q[U(0xea)](U(0x11b));else l[U(0xf1)][U(0xa8)]==='mocha'&&(r['push'](U(0x12c)),q[U(0xea)](U(0x10e)));}l['engines'][U(0xcb)]!==U(0x11e)&&(l[U(0xf1)][U(0xcb)]===U(0x91)&&(l[U(0xf1)][U(0x91)]=U(0xd8)));l['template'][U(0xa3)]&&(l[U(0xf1)][U(0xa3)]==U(0x89)&&r[U(0xea)](U(0x89)),l[U(0xf1)][U(0xa3)]=='scss'&&r[U(0xea)](U(0x125)));if(l['template']['js']){if(l['engines']['js']==U(0x82))r[U(0xea)]('coffeescript');}if(l[U(0x81)][U(0x120)]){if(l[U(0xf1)][U(0x120)]===U(0x119))r[U(0xea)](U(0xbc));}(l[U(0xf1)]['js']==='ts'||l['engines']['js']===U(0xb7))&&(r[U(0xea)](U(0x9c)),q[U(0xea)](U(0xdc)),q[U(0xea)](U(0xe5)),q['push']('@types/ramda'),q[U(0xea)]('@types/react-dom'),l[U(0xf1)][U(0xa8)]!==U(0x11e)&&q['push']('@types/testing-library__react'));p[U(0xea)](U(0x132));'js'in b&&b['js']?.[U(0x88)]()===U(0xc4)&&r['push']('grigio:babel');p[U(0xea)]('@babel/runtime@latest');(l['engines'][U(0x8c)]===U(0x9a)||l[U(0xf1)][U(0x8c)]===U(0xf4))&&(r[U(0xea)](U(0x115)),l[U(0xf1)][U(0xa8)]!=='none'?p[U(0xea)](U(0x8b)):p[U(0xea)](U(0xcd)),p['push'](U(0xf2)));l[U(0xf1)]['client']===U(0xf4)&&p['push'](U(0xf4));l[U(0xf1)][U(0x91)]===U(0xd8)&&(p[U(0xea)](U(0xe1)),p['push'](U(0x8e)),p[U(0xea)]('express\x20@apollo/server\x20@apollo/server-plugin-landing-page-graphql-playground'),r[U(0xea)](U(0xd8)));l['engines'][U(0x86)]===U(0x83)&&p[U(0xea)](U(0xbf));l['engines']['ssr']&&p['push']('@emotion/server');l[U(0xf1)][U(0xf0)]===U(0xe3)&&(p[U(0xea)](U(0x12d)),r[U(0xea)]('server-render'));(l[U(0xf1)][U(0xa8)]===U(0xa7)||l[U(0xf1)][U(0xf0)]==='true'||l['engines'][U(0x8c)]==='react'||l[U(0xf1)][U(0x8c)]===U(0xf4))&&(l['engines'][U(0x8c)]!==U(0xeb)&&r['push']('static-html'));l[U(0xf1)]['ssr']===U(0xe3)&&l[U(0xf1)][U(0x91)]===U(0xd8)&&p[U(0xea)](U(0xa2));l[U(0xf1)][U(0x8c)]===U(0xc9)&&(s[U(0xea)](U(0xd7)),r[U(0xea)](U(0xca)));l[U(0xf1)][U(0x8c)]===U(0xeb)&&(r[U(0xea)]('blaze-html-templates'),s['push']('static-html'));r[U(0xea)](U(0x13c)),Log['notice'](U(0xf6)),await this['fsi'][U(0x122)]({'cwd':t,'isSelfTest':k}),await this['fsi'][U(0xb6)](p[U(0x137)]('\x20'),{'cwd':t,'isSelfTest':k}),await this[U(0x90)][U(0xb6)](q['join']('\x20'),{'cwd':t,'isSelfTest':k,'dev':!![]});r[U(0xb8)]>0x0&&await this[U(0x90)][U(0xde)](r[U(0x137)]('\x20'),{'cwd':t,'isSelfTest':k});s[U(0xb8)]>0x0&&await this[U(0x90)][U(0xfa)](s['join']('\x20'),{'cwd':t,'isSelfTest':k});try{const M=new Date(),N=a20e[U(0x137)](j);execSync(U(0xd4)+N+'\x20--initial-branch=main',{'stdio':'ignore'}),execSync(U(0xc3)+N+U(0xd6)+N+'\x20commit\x20-m\x20\x22Maka-CLI\x20init\x20@\x20'+M['toUTCString']()+'\x22',{'stdio':'ignore'});}catch(O){Log[U(0x85)](U(0x99));}Log['success'](U(0xf7)+i);h&&h!==process[U(0x106)]()&&Log[U(0x121)]('\x20in\x20workspace\x20'+h);const w=process[U(0x93)]===U(0x116);w&&(Log[U(0x138)](U(0x10a)),Log['notice'](U(0x103)),Log[U(0x138)]('\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22'+a20e[U(0x137)](j)+'\x22'));}catch(P){Log[U(0xa0)](P),process[U(0xed)](0x0);}});
@@ -1 +1 @@
1
- const a21m=a21d;(function(a,b){const j=a21d,c=a();while(!![]){try{const d=-parseInt(j(0x130))/0x1+parseInt(j(0x125))/0x2*(-parseInt(j(0x137))/0x3)+-parseInt(j(0x12c))/0x4+parseInt(j(0x123))/0x5+parseInt(j(0x140))/0x6*(-parseInt(j(0x11f))/0x7)+-parseInt(j(0x131))/0x8*(parseInt(j(0x122))/0x9)+parseInt(j(0x121))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0xea30c));const a21b=(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;};}()),a21a=a21b(this,function(){const k=a21d;return a21a[k(0x12b)]()['search'](k(0x13f))[k(0x12b)]()[k(0x136)](a21a)['search'](k(0x13f));});function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x118;let f=c[d];return f;},a21d(a,b);}a21a();import a21e from'path';import a21f from'fs';import a21g from'dotenv';import{Command}from'../command.js';function a21c(){const p=['--settings','config','invokeMeteorCommand','argv','inspect','error','maka\x20debug\x20--raw-logs','env','1246QivYFM','warn','58604230SuCMkP','14371371TbSGKI','1755545kbZTrE','Debug\x20your\x20app\x20for\x20a\x20given\x20environment.','582BindHq','development','forEach','maka\x20debug\x20--inspect','join','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','toString','7249504tsirtJ','maka\x20debug\x20--env\x20prod','port','maka\x20debug\x20--port\x204000','1092536ehHKXX','8VDmXRS','concat','Meteor\x20Settings:\x20','maka\x20debug\x20--env\x20dev','slice','constructor','7701vHRPtb','filter','create','Running\x20in\x20Debug','openSync','fsi','isFile','debug','(((.+)+)+)+$','120mqZuCS','notice','--env','--packages','maka\x20debug'];a21c=function(){return p;};return a21c();}import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const l=a21d;a21f[l(0x13b)](a,'r'),a21g[l(0x118)]({'path':a});};Command[a21m(0x139)]({'name':a21m(0x13e),'usage':a21m(0x144),'validOpts':['env','rawLogs',a21m(0x12e),a21m(0x11b)],'maxArgLength':0x1,'shortDesc':a21m(0x124),'description':'\x0a\x20\x20Debug\x20your\x20app\x20for\x20a\x20given\x20environment.\x20This\x20command\x20will\x20source\x20the\x20process.env\x20file\x20for\x20the\x20given\x20environment\x0a\x20\x20and\x20then\x20run\x20meteor\x20debug.\x20This\x20allows\x20you\x20to\x20debug\x20your\x20app\x20in\x20a\x20given\x20environment.\x20This\x20command\x20will\x20also\x0a\x20\x20source\x20the\x20settings.json\x20file\x20for\x20the\x20given\x20environment\x20and\x20pass\x20it\x20to\x20meteor\x20debug.\x0a\x20\x20','mustBeInMakaProject':!![],'examples':[a21m(0x12d),a21m(0x134),a21m(0x11d),a21m(0x12f),a21m(0x128)]},function(a,b){const n=a21m;try{let c=this[n(0x13c)]['getAppConfigPath'](n(0x126));b['env']&&(c=this['getAppConfigPath'](b[n(0x11e)]));const d=a21e[n(0x129)](c,'process.env'),f=a21e['join'](c,'settings.json');this[n(0x13c)][n(0x13d)](f)?(Log[n(0x141)](n(0x133)+f),a=a[n(0x132)]([n(0x145),f])):Log[n(0x120)](n(0x12a)+f);this[n(0x13c)]['isFile'](d)?(Log[n(0x141)]('Node\x20Env\x20Config:\x20'+d),syncSource(d)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+d);const g=process[n(0x11a)][n(0x135)](0x2)[n(0x138)](h=>h!==n(0x13e))['filter'](h=>h!==a[0x0]);g[n(0x127)]((h,i)=>{const o=n;h===o(0x142)&&g['splice'](i,0x2),h===o(0x143)&&g['splice'](i,0x1);}),Log[n(0x120)](n(0x13a)),this[n(0x13c)][n(0x119)](n(0x13e),a['concat'](g));}catch(h){console[n(0x11c)](h),process['exit'](0x0);}});
1
+ const a21n=a21d;function a21c(){const q=['search','470349QUeFbB','exit','maka\x20debug\x20--env\x20dev','create','process.env','error','splice','maka\x20debug','72782lArWYf','2442622IjmiHW','maka\x20debug\x20--port\x204000','port','8pauybU','concat','notice','isFile','4ROkCbc','inspect','30CfiLgo','fsi','6521796nJrJOr','argv','(((.+)+)+)+$','config','getAppConfigPath','5jyqMqY','Node\x20Env\x20Config:\x20','maka\x20debug\x20--raw-logs','Cannot\x20find\x20Node\x20Environment\x20File:\x20','--packages','slice','constructor','6uEXmSp','invokeMeteorCommand','3266442qGjSIt','settings.json','debug','forEach','filter','Running\x20in\x20Debug','--env','warn','apply','2633322hsxbCP','env','maka\x20debug\x20--env\x20prod','toString','757689UtIqOw','rawLogs','join'];a21c=function(){return q;};return a21c();}(function(a,b){const j=a21d,c=a();while(!![]){try{const d=parseInt(j(0xe4))/0x1*(parseInt(j(0xc9))/0x2)+parseInt(j(0xd8))/0x3*(parseInt(j(0xb9))/0x4)+parseInt(j(0xc2))/0x5*(parseInt(j(0xd4))/0x6)+parseInt(j(0xe5))/0x7+-parseInt(j(0xb5))/0x8*(parseInt(j(0xcb))/0x9)+parseInt(j(0xbb))/0xa*(-parseInt(j(0xdc))/0xb)+-parseInt(j(0xbd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x36b2c));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a21d;if(c){const e=c[k(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const l=a21d;return a21a[l(0xd7)]()[l(0xdb)](l(0xbf))[l(0xd7)]()[l(0xc8)](a21a)[l(0xdb)](l(0xbf));});a21a();import a21e from'path';import a21f from'fs';import a21g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const m=a21d;a21f['openSync'](a,'r'),a21g[m(0xc0)]({'path':a});};function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0xb5;let f=c[d];return f;},a21d(a,b);}Command[a21n(0xdf)]({'name':'debug','usage':a21n(0xe3),'validOpts':[a21n(0xd5),a21n(0xd9),a21n(0xe7),a21n(0xba)],'maxArgLength':0x1,'shortDesc':'Debug\x20your\x20app\x20for\x20a\x20given\x20environment.','description':'\x0a\x20\x20Debug\x20your\x20app\x20for\x20a\x20given\x20environment.\x20This\x20command\x20will\x20source\x20the\x20process.env\x20file\x20for\x20the\x20given\x20environment\x0a\x20\x20and\x20then\x20run\x20meteor\x20debug.\x20This\x20allows\x20you\x20to\x20debug\x20your\x20app\x20in\x20a\x20given\x20environment.\x20This\x20command\x20will\x20also\x0a\x20\x20source\x20the\x20settings.json\x20file\x20for\x20the\x20given\x20environment\x20and\x20pass\x20it\x20to\x20meteor\x20debug.\x0a\x20\x20','mustBeInMakaProject':!![],'examples':[a21n(0xd6),a21n(0xde),a21n(0xc4),a21n(0xe6),'maka\x20debug\x20--inspect']},function(a,b){const o=a21n;try{let c=this['fsi']['getAppConfigPath']('development');b[o(0xd5)]&&(c=this[o(0xc1)](b[o(0xd5)]));const d=a21e[o(0xda)](c,o(0xe0)),f=a21e['join'](c,o(0xcc));this[o(0xbc)][o(0xb8)](f)?(Log[o(0xb7)]('Meteor\x20Settings:\x20'+f),a=a[o(0xb6)](['--settings',f])):Log[o(0xd2)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);this[o(0xbc)][o(0xb8)](d)?(Log[o(0xb7)](o(0xc3)+d),syncSource(d)):Log[o(0xd2)](o(0xc5)+d);const g=process[o(0xbe)][o(0xc7)](0x2)[o(0xcf)](h=>h!=='debug')['filter'](h=>h!==a[0x0]);g[o(0xce)]((h,i)=>{const p=o;h===p(0xd1)&&g[p(0xe2)](i,0x2),h===p(0xc6)&&g[p(0xe2)](i,0x1);}),Log['warn'](o(0xd0)),this[o(0xbc)][o(0xca)](o(0xcd),a[o(0xb6)](g));}catch(h){console[o(0xe1)](h),process[o(0xdd)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a22d,c=a();while(!![]){try{var d=-parseInt(f(0x19d))/0x1+-parseInt(f(0x19a))/0x2*(-parseInt(f(0x19b))/0x3)+parseInt(f(0x195))/0x4*(-parseInt(f(0x19f))/0x5)+-parseInt(f(0x1a1))/0x6*(parseInt(f(0x197))/0x7)+-parseInt(f(0x198))/0x8*(parseInt(f(0x199))/0x9)+parseInt(f(0x19e))/0xa*(-parseInt(f(0x196))/0xb)+parseInt(f(0x194))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a22c,0xf087f));function a22c(){var h=['240180ZZFEjo','1326630jLqrUV','75GRTLRG','(((.+)+)+)+$','3974070VOuCkt','toString','search','41377788LrVOIT','86824ugYKQu','11lCKfLl','7cjEoMK','32orAtGY','2583117CAjipc','4Uovbyh','68844xvmoDS','constructor'];a22c=function(){return h;};return a22c();}var a22b=(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;};}()),a22a=a22b(this,function(){var g=a22d;return a22a['toString']()[g(0x193)](g(0x1a0))[g(0x192)]()[g(0x19c)](a22a)['search'](g(0x1a0));});a22a();function a22d(a,b){var c=a22c();return a22d=function(d,e){d=d-0x192;var f=c[d];return f;},a22d(a,b);}import'./deploy.command.js';import'./galaxy.sub.cmd.js';import'./ubuntu.sub.cmd.js';
1
+ function a22d(a,b){var c=a22c();return a22d=function(d,e){d=d-0x10c;var f=c[d];return f;},a22d(a,b);}(function(a,b){var f=a22d,c=a();while(!![]){try{var d=-parseInt(f(0x10d))/0x1+parseInt(f(0x116))/0x2*(parseInt(f(0x110))/0x3)+-parseInt(f(0x11c))/0x4*(-parseInt(f(0x113))/0x5)+-parseInt(f(0x11b))/0x6*(parseInt(f(0x11a))/0x7)+-parseInt(f(0x118))/0x8*(-parseInt(f(0x114))/0x9)+parseInt(f(0x119))/0xa+parseInt(f(0x10c))/0xb*(-parseInt(f(0x112))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a22c,0x1e6de));var a22b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a22d;if(c){var e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a22a=a22b(this,function(){var h=a22d;return a22a[h(0x115)]()['search']('(((.+)+)+)+$')[h(0x115)]()[h(0x117)](a22a)[h(0x111)](h(0x10f));});a22a();import'./deploy.command.js';import'./galaxy.sub.cmd.js';import'./ubuntu.sub.cmd.js';function a22c(){var i=['3035uSXJbR','16065ltiVKl','toString','40686WrWlIo','constructor','120cSiTFi','1076450GytvOn','49EokofX','44004HfQDLt','984oIbRqy','827629vfiyMG','52870GcyMEB','apply','(((.+)+)+)+$','3HnUgTl','search','12IqCRxI'];a22c=function(){return i;};return a22c();}
@@ -1 +1 @@
1
- const a23i=a23d;(function(a,b){const f=a23d,c=a();while(!![]){try{const d=-parseInt(f(0x134))/0x1*(-parseInt(f(0x140))/0x2)+-parseInt(f(0x13b))/0x3+-parseInt(f(0x141))/0x4*(parseInt(f(0x137))/0x5)+parseInt(f(0x139))/0x6*(parseInt(f(0x133))/0x7)+parseInt(f(0x145))/0x8*(-parseInt(f(0x132))/0x9)+-parseInt(f(0x130))/0xa+parseInt(f(0x147))/0xb*(parseInt(f(0x13a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a23c,0xbeb54));function a23d(a,b){const c=a23c();return a23d=function(d,e){d=d-0x130;let f=c[d];return f;},a23d(a,b);}const a23b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a23d;if(c){const e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a23a=a23b(this,function(){const h=a23d;return a23a['toString']()[h(0x143)]('(((.+)+)+)+$')[h(0x142)]()[h(0x136)](a23a)[h(0x143)](h(0x13c));});a23a();import{Command}from'../../command.js';function a23c(){const j=['search','\x0a\x20\x20Deploy\x20your\x20app\x20to\x20an\x20Ubuntu\x20server\x20running\x20in\x20AWS,\x20On\x20Prem,\x0a\x20\x20or\x20even\x20ARM,\x20or\x20to\x20Meteor\x20Galaxy\x20hosted\x20platform.','1414312LJbVRU','maka\x20deploy:galaxy\x20-e\x20p\x20--delete','47857293BPrYxf','10813240nTNDeG','maka\x20deploy:ubuntu\x20-e\x20p\x20--mongo\x20--ssl=letsencrypt\x20--domains=www.maka-cli.com\x20--email=admin@maka-cli.com','27RKjIlA','14jncVtz','1CtePAw','maka\x20deploy:galaxy\x20--env\x20prod\x20--free','constructor','5kmJPCB','maka\x20deploy','1265142jWKYfN','12xcEKZQ','4525530JKaoYu','(((.+)+)+)+$','deploy','maka\x20deploy:galaxy\x20-e\x20p\x20--plan=professional\x20|\x20essentials','apply','280542SMWgty','4045228hYkhBi','toString'];a23c=function(){return j;};return a23c();}import{UsageError}from'../../error.js';const DeployCommand=Command['create']({'name':a23i(0x13d),'usage':a23i(0x138),'aliases':['d'],'validOpts':[],'mustBeInMakaProject':!![],'shortDesc':'Deploy\x20your\x20application','description':a23i(0x144),'examples':['maka\x20deploy:ubuntu\x20--env\x20prod',a23i(0x135),a23i(0x13e),a23i(0x146),a23i(0x131)]},async function(){throw UsageError;});export default DeployCommand;
1
+ function a23c(){const j=['maka\x20deploy:galaxy\x20-e\x20p\x20--delete','Deploy\x20your\x20application','toString','maka\x20deploy:ubuntu\x20--env\x20prod','\x0a\x20\x20Deploy\x20your\x20app\x20to\x20an\x20Ubuntu\x20server\x20running\x20in\x20AWS,\x20On\x20Prem,\x0a\x20\x20or\x20even\x20ARM,\x20or\x20to\x20Meteor\x20Galaxy\x20hosted\x20platform.','419326jKFrUO','maka\x20deploy:galaxy\x20--env\x20prod\x20--free','search','maka\x20deploy','5358904YnUkvY','10lSMjPI','maka\x20deploy:ubuntu\x20-e\x20p\x20--mongo\x20--ssl=letsencrypt\x20--domains=www.maka-cli.com\x20--email=admin@maka-cli.com','create','2WFjPTs','(((.+)+)+)+$','2314960IauOOS','deploy','constructor','136507yDiEXP','apply','300536jxWIdV','7254247DgnwWI','1364490MngbIi','12zTuZMz','12Xcahca'];a23c=function(){return j;};return a23c();}const a23i=a23d;(function(a,b){const f=a23d,c=a();while(!![]){try{const d=parseInt(f(0xfb))/0x1*(-parseInt(f(0xf3))/0x2)+-parseInt(f(0x105))/0x3*(-parseInt(f(0x102))/0x4)+parseInt(f(0xfd))/0x5+-parseInt(f(0x106))/0x6*(parseInt(f(0x100))/0x7)+-parseInt(f(0xf7))/0x8+-parseInt(f(0x104))/0x9*(-parseInt(f(0xf8))/0xa)+parseInt(f(0x103))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a23c,0x6cfd8));function a23d(a,b){const c=a23c();return a23d=function(d,e){d=d-0xf0;let f=c[d];return f;},a23d(a,b);}const a23b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a23d;if(c){const e=c[g(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a23a=a23b(this,function(){const h=a23d;return a23a[h(0xf0)]()[h(0xf5)](h(0xfc))['toString']()[h(0xff)](a23a)['search']('(((.+)+)+)+$');});a23a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const DeployCommand=Command[a23i(0xfa)]({'name':a23i(0xfe),'usage':a23i(0xf6),'aliases':['d'],'validOpts':[],'mustBeInMakaProject':!![],'shortDesc':a23i(0x108),'description':a23i(0xf2),'examples':[a23i(0xf1),a23i(0xf4),'maka\x20deploy:galaxy\x20-e\x20p\x20--plan=professional\x20|\x20essentials',a23i(0x107),a23i(0xf9)]},async function(){throw UsageError;});export default DeployCommand;
@@ -1 +1 @@
1
- const a24v=a24d;function a24d(a,b){const c=a24c();return a24d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a24d(a,b);}(function(a,b){const s=a24d,c=a();while(!![]){try{const d=parseInt(s(0x214))/0x1+parseInt(s(0x219))/0x2+parseInt(s(0x21c))/0x3+parseInt(s(0x1e3))/0x4+-parseInt(s(0x1f7))/0x5+parseInt(s(0x1f6))/0x6*(parseInt(s(0x1e5))/0x7)+-parseInt(s(0x1ea))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a24c,0x54618));const a24b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a24d;if(c){const e=c[t(0x215)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a24a=a24b(this,function(){const u=a24d;return a24a[u(0x212)]()[u(0x1ee)](u(0x1ff))[u(0x212)]()['constructor'](a24a)[u(0x1ee)](u(0x1ff));});a24a();function a24c(){const y=['Professional','12223opYgKp','apply','maka\x20deploy\x20galaxy','deploy','Are\x20you\x20sure\x20you\x20want\x20to\x20delete\x20this\x20app\x20from\x20Galaxy?','874332FpcWbX','No\x20\x22galaxy.meteor.com\x22\x20settings\x20found\x20in\x20','free','321303aFXCvC','options','\x20settings.json.\x20\x20See\x20https://cloud-guide.meteor.com/environment-variables.html\x20for\x20info','env','--delete','You\x20may\x20be\x20prompted\x20to\x20log\x20into\x20meteor.com\x20to\x20deploy\x20to\x20Galaxy.','--env','maka\x20deploy\x20galaxy\x20--env\x20prod\x20--free','galaxySiteName','essentials','concat','maka\x20deploy\x20galaxy\x20-e\x20p\x20--plan=professional\x20|\x20essentials','getConfigFromShorthand','1821300ZVcUgU','debug','14KWyXin','--plan','settings','notice','verbose','2233592MGxLgw','Performance','filter','Free','search','galaxy','error','list','\x0a\x20\x20Deploy\x20your\x20application\x20to\x20Galaxy,\x20Meteor\x27s\x20hosting\x20platform.\x0a\x20\x20','galaxy.meteor.com','parse','warn','437676OGzvyX','2664420irMqlP','create','fsi','professional','Deploy\x20your\x20application','plan','delete','invokeMeteorCommand','(((.+)+)+)+$','Please\x20provide\x20a\x20Galaxy\x20site\x20name\x20[','confirm','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','getMakaProjectConfig','Essentials','force','settings.json','readFileSync','performance','splice','isFile','--free','Elite','maka\x20deploy\x20galaxy\x20-e\x20p\x20--delete','forEach','join','Select\x20your\x20Galaxy\x20plan','Error\x20in\x20deployment:','toString'];a24c=function(){return y;};return a24c();}import a24e from'path';import a24f from'fs';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';import a24g from'./deploy.command.js';Command[a24v(0x1f8)]({'name':a24v(0x1ef),'aliases':['g'],'usage':a24v(0x216),'validOpts':[a24v(0x1e4),a24v(0x1d9),a24v(0x205),a24v(0x1e9),a24v(0x21b),a24v(0x1fc),a24v(0x1fd),a24v(0x1de)],'mustBeInMakaProject':!![],'requiredOpts':[a24v(0x1d9)],'shortDesc':a24v(0x1fb),'description':a24v(0x1f2),'examples':[a24v(0x1dd),a24v(0x1e1),a24v(0x20d)]},async function(a,b){const w=a24v,c=this[w(0x1f9)][w(0x203)](),d=this['fsi']['getAppConfigPath'](b[w(0x1d9)]),f=this[w(0x1f9)][w(0x1e2)](b[w(0x1d9)]),g=w(0x1ef);try{let h='';if(g===w(0x1ef)){let i=b[w(0x1de)];if(!i){const m=c['appName']+'-'+f;i=await Actions['ask'](w(0x200)+m+']:')||m;}const j=[i];if(b[w(0x1fd)]){const {confirm:n}=await Actions[w(0x1d7)]({'type':w(0x201),'name':w(0x201),'message':w(0x218)});if(n)return this[w(0x1f9)][w(0x1fe)](w(0x217),j[w(0x1e0)]([w(0x1da)]));else{Log[w(0x1e8)]('Aborting');return;}}if(!b['delete']){if(!b['plan']&&!b[w(0x21b)]){const {plan:o}=await Actions['options']({'type':w(0x1f1),'name':w(0x1fc),'message':w(0x210),'choices':[{'name':w(0x1ed),'value':w(0x21b)},{'name':w(0x204),'value':w(0x1df)},{'name':w(0x213),'value':w(0x1fa)},{'name':w(0x1eb),'value':w(0x208)},{'name':w(0x20c),'value':'elite'}]});h=o;}else{if(b['plan'])h=b[w(0x1fc)];else b['free']&&(h=w(0x21b));}}let k=process['argv']['slice'](0x2)[w(0x1ec)](p=>p!=='deploy')[w(0x1ec)](p=>p!==a[0x0]);k[w(0x20e)]((p,q)=>{const x=w;p===x(0x1dc)&&k[x(0x209)](q,0x2),p==='-e'&&k['splice'](q,0x2);});let l=a24e[w(0x20f)](d,w(0x206));b[w(0x1e7)]&&(l=b[w(0x1e7)]);if(this['fsi'][w(0x20a)](l)){Log[w(0x1e8)]('Meteor\x20Settings:\x20'+l),k=k[w(0x1e0)](['--settings',l]);const p=a24f[w(0x207)](l),q=JSON[w(0x1f4)](p['toString']());!q[w(0x1f3)]&&Log['warn'](w(0x21a)+f+w(0x1d8));}else Log[w(0x1f5)](w(0x202)+l);if(h===w(0x21b))k=k['concat']([w(0x20b)]);else h&&(k=k[w(0x1e0)]([w(0x1e6),h]));return Log['warn'](w(0x1db)),this[w(0x1f9)][w(0x1fe)](w(0x217),j['concat'](k));}}catch(r){Log[w(0x1f0)](w(0x211)),Log[w(0x1f0)](r);}},a24g);
1
+ const a24u=a24d;(function(a,b){const s=a24d,c=a();while(!![]){try{const d=-parseInt(s(0xf6))/0x1+parseInt(s(0x108))/0x2*(parseInt(s(0x107))/0x3)+parseInt(s(0xe7))/0x4+parseInt(s(0x101))/0x5*(parseInt(s(0xde))/0x6)+parseInt(s(0x100))/0x7+parseInt(s(0x115))/0x8*(-parseInt(s(0x121))/0x9)+-parseInt(s(0x104))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a24c,0xcb9b8));const a24b=(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;};}()),a24a=a24b(this,function(){const t=a24d;return a24a[t(0xef)]()['search']('(((.+)+)+)+$')[t(0xef)]()[t(0x112)](a24a)[t(0x119)](t(0xee));});a24a();function a24d(a,b){const c=a24c();return a24d=function(d,e){d=d-0xde;let f=c[d];return f;},a24d(a,b);}import a24e from'path';import a24f from'fs';function a24c(){const x=['delete','--delete','parse','search','fsi','warn','forEach','confirm','\x20settings.json.\x20\x20See\x20https://cloud-guide.meteor.com/environment-variables.html\x20for\x20info','free','Aborting','1489608xjgYGV','slice','6kbKjIr','getAppConfigPath','isFile','Free','create','essentials','concat','filter','notice','972672mRIJNK','readFileSync','galaxy','--free','professional','--plan','env','(((.+)+)+)+$','toString','--env','join','splice','Please\x20provide\x20a\x20Galaxy\x20site\x20name\x20[','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','You\x20may\x20be\x20prompted\x20to\x20log\x20into\x20meteor.com\x20to\x20deploy\x20to\x20Galaxy.','840568swlyja','maka\x20deploy\x20galaxy','options','Professional','Elite','argv','Essentials','error','deploy','settings','10220455ITGrlR','6664075GqSgdO','Select\x20your\x20Galaxy\x20plan','maka\x20deploy\x20galaxy\x20-e\x20p\x20--plan=professional\x20|\x20essentials','15820340pGMZbY','elite','Performance','6oPRTjl','1544626zXUGjc','appName','getConfigFromShorthand','settings.json','galaxySiteName','Meteor\x20Settings:\x20','maka\x20deploy\x20galaxy\x20-e\x20p\x20--delete','getMakaProjectConfig','plan','No\x20\x22galaxy.meteor.com\x22\x20settings\x20found\x20in\x20','constructor','invokeMeteorCommand','list','64tfTWtA'];a24c=function(){return x;};return a24c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';import a24g from'./deploy.command.js';Command[a24u(0xe2)]({'name':a24u(0xe9),'aliases':['g'],'usage':a24u(0xf7),'validOpts':['debug',a24u(0xed),'force','verbose',a24u(0x11f),'plan','delete',a24u(0x10c)],'mustBeInMakaProject':!![],'requiredOpts':[a24u(0xed)],'shortDesc':'Deploy\x20your\x20application','description':'\x0a\x20\x20Deploy\x20your\x20application\x20to\x20Galaxy,\x20Meteor\x27s\x20hosting\x20platform.\x0a\x20\x20','examples':['maka\x20deploy\x20galaxy\x20--env\x20prod\x20--free',a24u(0x103),a24u(0x10e)]},async function(a,b){const v=a24u,c=this[v(0x11a)][v(0x10f)](),d=this['fsi'][v(0xdf)](b[v(0xed)]),f=this[v(0x11a)][v(0x10a)](b[v(0xed)]),g=v(0xe9);try{let h='';if(g===v(0xe9)){let i=b[v(0x10c)];if(!i){const m=c[v(0x109)]+'-'+f;i=await Actions['ask'](v(0xf3)+m+']:')||m;}const j=[i];if(b[v(0x116)]){const {confirm:n}=await Actions[v(0xf8)]({'type':v(0x11d),'name':'confirm','message':'Are\x20you\x20sure\x20you\x20want\x20to\x20delete\x20this\x20app\x20from\x20Galaxy?'});if(n)return this[v(0x11a)][v(0x113)](v(0xfe),j['concat']([v(0x117)]));else{Log[v(0xe6)](v(0x120));return;}}if(!b[v(0x116)]){if(!b[v(0x110)]&&!b[v(0x11f)]){const {plan:o}=await Actions[v(0xf8)]({'type':v(0x114),'name':v(0x110),'message':v(0x102),'choices':[{'name':v(0xe1),'value':v(0x11f)},{'name':v(0xfc),'value':v(0xe3)},{'name':v(0xf9),'value':v(0xeb)},{'name':v(0x106),'value':'performance'},{'name':v(0xfa),'value':v(0x105)}]});h=o;}else{if(b[v(0x110)])h=b[v(0x110)];else b[v(0x11f)]&&(h=v(0x11f));}}let k=process[v(0xfb)][v(0x122)](0x2)[v(0xe5)](p=>p!==v(0xfe))[v(0xe5)](p=>p!==a[0x0]);k[v(0x11c)]((p,q)=>{const w=v;p===w(0xf0)&&k[w(0xf2)](q,0x2),p==='-e'&&k[w(0xf2)](q,0x2);});let l=a24e[v(0xf1)](d,v(0x10b));b[v(0xff)]&&(l=b[v(0xff)]);if(this[v(0x11a)][v(0xe0)](l)){Log[v(0xe6)](v(0x10d)+l),k=k[v(0xe4)](['--settings',l]);const p=a24f[v(0xe8)](l),q=JSON[v(0x118)](p[v(0xef)]());!q['galaxy.meteor.com']&&Log[v(0x11b)](v(0x111)+f+v(0x11e));}else Log[v(0x11b)](v(0xf4)+l);if(h===v(0x11f))k=k[v(0xe4)]([v(0xea)]);else h&&(k=k[v(0xe4)]([v(0xec),h]));return Log['warn'](v(0xf5)),this[v(0x11a)][v(0x113)](v(0xfe),j[v(0xe4)](k));}}catch(r){Log[v(0xfd)]('Error\x20in\x20deployment:'),Log[v(0xfd)](r);}},a24g);
@@ -1 +1 @@
1
- const a25ag=a25d;(function(a,b){const ae=a25d,c=a();while(!![]){try{const d=-parseInt(ae(0x1e7))/0x1+-parseInt(ae(0x202))/0x2+-parseInt(ae(0x13f))/0x3*(-parseInt(ae(0x160))/0x4)+-parseInt(ae(0x17d))/0x5*(parseInt(ae(0x186))/0x6)+-parseInt(ae(0x1ef))/0x7*(-parseInt(ae(0x1bf))/0x8)+parseInt(ae(0x1a1))/0x9*(-parseInt(ae(0x1c0))/0xa)+parseInt(ae(0x15f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a25c,0xd4255));const a25b=(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;};}()),a25a=a25b(this,function(){const af=a25d;return a25a['toString']()[af(0x1c1)](af(0x1bd))['toString']()[af(0x17e)](a25a)['search'](af(0x1bd));});a25a();import a25e from'path';function a25c(){const al=['setProjectConfig','confirm','parse','sudo\x20nginx\x20-s\x20stop\x0a','ubuntu','getMakaProjectConfig','ssh.json','~/nginx.conf','stringify','open','402180NexPmv','pm2\x20update\x0a','findAppDirectory','readFileSync','#\x20bring\x20back\x20up\x20nginx\x0a','sudo\x20systemctl\x20enable\x20mongod.service\x0a','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','\x09add_header\x20Strict-Transport-Security\x20\x22max-age=31536000;\x22;\x0a','writeFileSync','\x09\x09return\x20303\x20https://browser-update.org/update.html;\x0a','\x20/etc/nginx/ssl/','Are\x20you\x20ready\x20to\x20deploy?','\x09\x09}\x0a','Attempting\x20to\x20setup\x20SSL\x20using\x20LetsEncrypt','pathFromProject','#\x20install\x20and\x20configure\x20local\x20mongo\x0a','sshSync','\x20--hp\x20/home/','#\x20updating\x20PM2\x20to\x20latest\x0a','deploy.sh','npm\x20audit\x20fix\x20--force\x0a','force','\x09\x09if\x20($uri\x20!=\x20\x27/\x27)\x20{\x0a','#\x20Configure\x20pm2\x20to\x20start\x20on\x20boot\x0a','Deployed\x20to:\x20','meteor.bat','sudo\x20','~/ses.json','source\x20~/.bashrc\x0a','Aborted\x20deployment!','ask','Using\x20saved\x20letsencrypt\x20config','25657060UMyvZs','48VkfYIP','\x09\x09alias\x20/home/','template','pm2\x20delete\x20all\x0a','\x20\x20echo\x20\x22Bundle\x20found,\x20decompressing\x22\x0a','user','config/ssh.json','.crt;\x0a','sudo\x20systemctl\x20daemon-reload\x20&&\x20sudo\x20systemctl\x20start\x20nginx\x0a','MONGO_URL','join','app.tar.gz','Building\x20deployment\x20script\x20...','sslAnswer','Deployment\x20complete','\x09ssl\x20on;\x0a','chmod\x20+x\x20~/maka-env/nvm-install/nvm-install.sh\x20&&\x20~/maka-env/nvm-install/nvm-install.sh\x0a','sudo\x20systemctl\x20stop\x20nginx\x0a','\x09\x09proxy_set_header\x20Host\x20$host;\x0a','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','I\x20could\x20not\x20find\x20a\x20valid\x20SSL\x20file,\x20please\x20provide\x20the\x20name\x20of\x20the\x20SSL\x20file\x20in\x20the\x20_keys/\x20directory:','toString','No\x20🤔','end','\x20||\x20nvm\x20install\x20','\x20--email\x20','\x09\x09proxy_set_header\x20Upgrade\x20$http_upgrade;\x0a','\x09location\x20=\x20/favicon.ico\x20{\x0a','config.json','2613945akVrPp','constructor','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','\x20install\x20build-essential\x20git\x20nginx\x20-y\x0a','\x09}\x0a','Consider\x20updating\x20with\x20\x22maka\x20update\x20--release\x20','setEnvSettings','source\x20~/.bashrc\x20&&\x20echo\x20\x22\x22\x20&&\x20pm2\x20status\x20&&\x20echo\x20\x22\x22','\x09ssl_session_cache\x20shared:SSL:10m;\x0a','6AHskCd','domainNames',').\x20Continue?','server_tokens\x20off;\x0a','AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:','\x09listen\x20[::]:80\x20default_server\x20ipv6only=on;\x0a','Using\x20letsencrypt.json','settings.json','platform','.maka','sudo\x20mv\x20~/','I\x20could\x20not\x20find\x20a\x20valid\x20CRT\x20file,\x20please\x20provide\x20the\x20name\x20of\x20the\x20CRT\x20file\x20in\x20the\x20_keys/\x20directory:','ssh','\x22\x20]\x20&&\x20nvm\x20alias\x20default\x20','push','ping','else\x0a','\x09\x09proxy_pass\x20http://0.0.0.0:3000;\x0a','fsi','wget\x20-qO\x20-\x20https://www.mongodb.org/static/pgp/server-4.2.asc\x20|\x20sudo\x20apt-key\x20add\x20-\x0a','\x20\x20tar\x20-xf\x20app.tar.gz\x0a','pm2.config.js','pem','enforceCSP','ignore','server\x20{\x0a','\x09listen\x2080\x20default_server;\x0a','18uWhfPj','~/app.tar.gz','scp','echo\x20\x22test\x20-f\x20~/.bashrc\x20&&\x20.\x20~/.bashrc\x22\x20>\x20~/.bash_profile\x0a','~/pm2.config.js','\x09ssl_protocols\x20TLSv1\x20TLSv1.1\x20TLSv1.2;\x0a','error','Verifying\x20Nginx','\x20\x20cp\x20app.tar.gz.bk\x20app.tar.gz\x0a','port','win32','\x20npm\x20install\x20--save','sudo\x20cp\x20~/nginx.conf\x20/etc/nginx/sites-enabled/default\x0a','success','serverName','\x09\x09proxy_set_header\x20X-Forwarded-For\x20$remote_addr;\x0a','\x09ssl_certificate\x20/etc/nginx/ssl/','npm\x20install\x20-g\x20pm2@latest\x0a','platforms','\x09ssl_ciphers\x20\x22ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:kEDH+','meteor','pm2\x20save\x0a','Setting\x20up\x20letsencrypt','.key','maka\x20deploy:ubuntu\x20--env\x20prod','grep','sudo\x20env\x20PATH=$PATH:$(which\x20npm)\x20$(which\x20pm2)\x20startup\x20systemd\x20-u\x20','No\x20letsencrypt.json\x20file\x20found.\x20You\x20will\x20be\x20prompted\x20at\x20the\x20end\x20of\x20deployment\x20for\x20configuration.','(((.+)+)+)+$','elif\x20[\x20-f\x20app.tar.gz.bk\x20];\x20then\x0a','8lDylhZ','5368120Unhymr','search','split','[!]\x20Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','letsencrypt','exit\x200','sudo\x20snap\x20install\x20--classic\x20certbot','touch\x20~/.bash_profile\x20~/.bashrc\x0a','\x09\x09proxy_set_header\x20Connection\x20\x22upgrade\x22;\x0a','debug','.meteor','\x09\x09proxy_http_version\x201.1;\x0a','/bundle/programs/web.browser/app;\x0a','git\x20clone\x20https://gist.github.com/c427ccd6f4377b39299b9d402f5d51fe.git\x20~/maka-env/nvm-install\x0a','#\x20setup\x20node\x20and\x20npm\x20with\x20the\x20proper\x20node\x20version\x20using\x20nvm\x0a','_keys','create','#\x20remove\x20backup\x20tar,\x20if\x20any\x0a','cd\x20~\x0a','host','#\x20install\x20git\x20and\x20nginx\x0a','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','sudo\x20service\x20mongod\x20start\x0a','443','basic','pm2\x20start\x20~/pm2.config.js\x0a','maka\x20deploy:ubuntu','warn','ssl','://','#\x20Nginx\x20will\x20be\x20restarted\x20just\x20before\x20completing\x20the\x20deployment.\x0a','Running\x20deployment\x20scripts\x20on\x20remote\x20server','echo\x20\x22\x22\x20&&\x20sudo\x20systemctl\x20status\x20nginx\x20|\x20grep\x20Active\x20&&\x20echo\x20\x22\x22','\x09index\x20index.html\x20index.htm;\x0a','readFileLines','localhost','getAppConfigPath','\x09default\x20upgrade;\x0a','#\x20Decompress\x20the\x20bundle\x0a','757966xWfgaT','maka\x20d:u\x20-e\x20p\x20--mongo\x20--ssl=letsencrypt\x20--domains=www.maka-cli.com\x20--email=admin@maka-cli.com','getGlobalMeteorVersion','includes','0.0.0.0','write','.key;\x0a','\x09ssl_session_timeout\x205m;\x0a','4974641gHZftn','Error\x20in\x20deployment:','Stored\x20server\x20config\x20to\x20','Email\x20to\x20use\x20for\x20auto-updates:\x20','cd\x20bundle/programs/server\x0a','\x09ssl_prefer_server_ciphers\x20on;\x0a','emailUpdate','fi\x0a','--architecture=os.linux.x86_64','->\x20','length','[\x20-d\x20/etc/systemd/system/nginx.service.d\x20]\x20&&\x20echo\x20\x22nginx.service.d\x20exists\x22\x20||\x20sudo\x20mkdir\x20/etc/systemd/system/nginx.service.d\x0a','verbose','\x20||\x20nvm\x20alias\x20default\x20','ses.json','\x0a\x20\x20Deploy\x20your\x20app\x20to\x20an\x20Ubuntu\x20server\x20running\x20in\x20AWS,\x20On\x20Prem,\x0a\x20\x20or\x20even\x20ARM.','sudo\x20systemctl\x20daemon-reload\x20||\x20null\x0a','Checking\x20remote\x20host\x20availability\x20using\x20','finish','2857030zpfcXZ','\x09ssl_certificate\x20;\x0a','sudo\x20apt-get\x20install\x20-y\x20mongodb-org\x0a','SHA384:ECDHE-RSA-RC4-SHA:ECDHE-ECDSA-RC4-SHA:RC4-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK\x22;\x0a','sudo\x20cp\x20override.conf\x20/etc/systemd/system/nginx.service.d/override.conf\x0a','nginx.conf','Mobile\x20server\x20port:\x20','notice','env','mongo','letsencrypt.json','uname\x20-a','build','appName','Domains\x20to\x20register\x20(comma\x20separated):\x20','--server=','config/pm2.config.js','sudo\x20apt-get\x20update\x0a','inherit','pm2\x20startup\x0a','domains','Pushing\x20up\x20bundle\x20...','\x09server_name\x20','trim','echo\x20\x22deb\x20[\x20arch=amd64\x20]\x20https://repo.mongodb.org/apt/ubuntu\x20bionic/mongodb-org/4.2\x20multiverse\x22\x20|\x20sudo\x20tee\x20/etc/apt/sources.list.d/mongodb-org-4.2.list\x0a','\x09ssl_certificate_key\x20/etc/nginx/ssl/','isFile','echo\x20\x22Attempting\x20to\x20decompress\x20the\x20bundle\x22\x0a','#\x20Bring\x20up\x20pm2\x20with\x20environment\x0a','\x09location\x20/\x20{\x0a','list','nvm\x20install\x20','\x09root\x20html;\x0a','existsSync','email','\x09\x09\x09expires\x2030d;\x0a','sudo\x20mkdir\x20-p\x20/etc/nginx/ssl/\x0a','PM2\x20has\x20MONGO_URL\x20pointing\x20to\x20localhost;\x20deployment\x20will\x20install\x20a\x20local\x20mongo\x20instance.','if\x20[\x20-f\x20app.tar.gz\x20];\x20then\x0a','Configure\x20SSL','You\x20do\x20not\x20have\x20a\x20valid\x20SSL\x20file:\x20','serverPort'];a25c=function(){return al;};return a25c();}import a25f from'fs';import{execSync}from'child_process';import a25g from'semver';function a25d(a,b){const c=a25c();return a25d=function(d,e){d=d-0x12e;let f=c[d];return f;},a25d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{SSH}from'../../tools/ssh/ssh.class.js';import{Actions}from'../../tools/actions/actions.class.js';import a25h from'./deploy.command.js';Command[a25ag(0x1d0)]({'name':a25ag(0x139),'usage':a25ag(0x1da),'aliases':['u'],'validOpts':[a25ag(0x1c9),a25ag(0x20a),a25ag(0x1dc),'domains',a25ag(0x20b),a25ag(0x154),a25ag(0x224),'verbose','noRebuild',a25ag(0x1c4)],'mustBeInMakaProject':!![],'isPro':![],'requiredOpts':['env'],'shortDesc':'Deploy\x20your\x20application','description':a25ag(0x1fe),'examples':[a25ag(0x1b9),a25ag(0x1e8)]},async function(a,b){const ah=a25ag,c=b[ah(0x1fb)]?!![]:![],d=process[ah(0x18e)]===ah(0x1ab)?ah(0x158):ah(0x1b5),f=this[ah(0x198)][ah(0x13a)](),g=this['fsi'][ah(0x1e4)](b['env']),h=await this['fsi']['getProjectsMeteorNodeVersion'](),[i,j]=h[ah(0x1c2)]('.'),k=i+'.'+j,l='apt',m=b[ah(0x154)];try{const n=a25e[ah(0x16a)](g,ah(0x19b));!this[ah(0x198)][ah(0x21c)](n)&&await this[ah(0x198)][ah(0x162)]({'srcPath':ah(0x212),'destPath':n,'context':{'app':f[ah(0x20f)],'isDocker':![]},'config':f});const o=a25e[ah(0x16a)](g,ah(0x13b));!this['fsi'][ah(0x21c)](o)&&await this[ah(0x198)]['template']({'srcPath':ah(0x166),'destPath':o,'context':{'app':f[ah(0x20f)]},'config':f});const p=JSON[ah(0x137)](a25f['readFileSync'](o)[ah(0x175)]()),q={'env':g,'user':p['user'],'host':p[ah(0x1d3)],'port':p[ah(0x1aa)],'pem':p[ah(0x19c)]};let r=b[ah(0x216)],s=b[ah(0x224)];try{a25f[ah(0x142)](a25e[ah(0x16a)](g,ah(0x20c))),Log[ah(0x209)](ah(0x18c)),b[ah(0x1c4)]=!![];}catch(x){b['letsencrypt']&&Log[ah(0x1db)](ah(0x1bc));const y={'type':ah(0x220),'name':ah(0x16d),'message':ah(0x132),'choices':[{'name':'Free\x20SSL\x20with\x20Letsencrypt','value':ah(0x1c4)},{'name':'Supplied\x20SSL\x20/\x20CRT\x20file','value':ah(0x1d8)},{'name':ah(0x176),'value':'none'}]},{sslAnswer:z}=await Actions['options'](y);if(z===ah(0x1c4)){b[ah(0x1c4)]=!![],b[ah(0x1dc)]=![],r=r?r:await Actions[ah(0x15d)](ah(0x210)),s=s?s:await Actions[ah(0x15d)](ah(0x1f2));const A={'domainNames':r,'emailUpdate':s},B=JSON[ah(0x13d)](A,null,0x2);a25f[ah(0x147)](a25e[ah(0x16a)](g,ah(0x20c)),B),this[ah(0x198)][ah(0x183)](b[ah(0x20a)],ah(0x19d),!![]);}else z===ah(0x1d8)?(b['letsencrypt']=![],b[ah(0x1dc)]=!![],this[ah(0x198)][ah(0x183)](b[ah(0x20a)],ah(0x19d),!![])):this[ah(0x198)][ah(0x183)](b[ah(0x20a)],ah(0x19d),![]);}let t='',u='';if(b[ah(0x1dc)]&&!b[ah(0x1c4)]){t=f['appName']+ah(0x1b8);!a25f[ah(0x223)](a25e[ah(0x16a)](g,ah(0x1cf),t))&&(t=await Actions['ask'](ah(0x174)));if(!a25f[ah(0x223)](a25e['join'](g,ah(0x1cf),t)))throw ah(0x133)+a25e[ah(0x16a)](g,'_keys',t);u=f['appName']+'.crt';!a25f[ah(0x223)](a25e[ah(0x16a)](g,ah(0x1cf),u))&&(u=await Actions[ah(0x15d)](ah(0x191)));if(!a25f[ah(0x223)](a25e['join'](g,ah(0x1cf),u)))throw'You\x20do\x20not\x20have\x20a\x20valid\x20ssl\x20crt.\x20\x20Looking\x20for:\x20'+a25e[ah(0x16a)](g,ah(0x1cf),u);}Log[ah(0x209)](ah(0x200)+o);try{const C=SSH[ah(0x195)](ah(0x20d),q,{'verbose':!![]});if(!C)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(C)Log[ah(0x1ae)]('Remote\x20host\x20connection\x20successful');}catch(D){Log[ah(0x1a7)](D);return;}Log[ah(0x209)](ah(0x16c));const v=a25f['readFileSync'](a25e[ah(0x16a)](g,ah(0x19b))),w=this[ah(0x198)][ah(0x1ba)](v[ah(0x175)](),ah(0x169));(w[0x0][ah(0x219)]()[ah(0x1ea)](ah(0x1e3))||w[0x0]['trim']()[ah(0x1ea)]('127.0.0.1')||w[0x0]['trim']()[ah(0x1ea)](ah(0x1eb)))&&(b['mongo']=!![],Log[ah(0x209)](ah(0x130)),Log[ah(0x209)](ah(0x1f8)+w[0x0]['trim']()));try{const E=a25f['createWriteStream'](a25e['join'](g,ah(0x207)),{'flags':'w'});E['on'](ah(0x13e),function(){const ai=ah;b[ai(0x1dc)]&&!b[ai(0x1c4)]?(E[ai(0x1ec)]('server_tokens\x20off;\x0a'),E[ai(0x1ec)]('map\x20$http_upgrade\x20$connection_upgrade\x20{\x0a'),E[ai(0x1ec)](ai(0x1e5)),E[ai(0x1ec)]('\x09\x27\x27\x20\x20\x20\x20\x20\x20close;\x0a'),E['write']('}\x0a'),E['write']('\x0a'),E['write'](ai(0x19f)),E['write'](ai(0x1a0)),E[ai(0x1ec)](ai(0x18b)),E[ai(0x1ec)]('\x09server_name\x20'+f[ai(0x20f)]+';\x0a'),E[ai(0x1ec)]('\x09root\x20/usr/share/nginx/html;\x0a'),E[ai(0x1ec)](ai(0x1e1)),E[ai(0x1ec)](ai(0x21f)),E['write']('\x09\x09rewrite\x20\x20\x20\x20\x20^\x20https://$server_name$request_uri?\x20permanent;\x0a'),E[ai(0x1ec)](ai(0x181)),E['write']('}'),E['write']('\x0a'),E[ai(0x1ec)]('\x0a'),E[ai(0x1ec)](ai(0x19f)),E[ai(0x1ec)]('\x09listen\x20443\x20ssl;\x0a'),E[ai(0x1ec)](ai(0x218)+f['appName']+';\x0a'),E[ai(0x1ec)](ai(0x222)),E[ai(0x1ec)]('\x09index\x20index.html;\x0a'),E[ai(0x1ec)](ai(0x16f)),E[ai(0x1ec)](ai(0x1b1)+f[ai(0x20f)]+ai(0x167)),E['write'](ai(0x21b)+f[ai(0x20f)]+ai(0x1ed)),E['write'](ai(0x203)),E[ai(0x1ec)]('\x09ssl_certificate_key\x20;\x0a'),E[ai(0x1ec)](ai(0x185)),E['write'](ai(0x1ee)),E[ai(0x1ec)]('\x09\x0a'),E[ai(0x1ec)](ai(0x1f4)),E[ai(0x1ec)](ai(0x1a6)),E[ai(0x1ec)](ai(0x1b4)+ai(0x18a)+'ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-'+ai(0x205)),E['write'](ai(0x146)),E[ai(0x1ec)]('\x09\x0a'),E[ai(0x1ec)]('\x09if\x20($http_user_agent\x20~\x20\x22MSIE\x22\x20)\x20{\x0a'),E[ai(0x1ec)](ai(0x148)),E['write'](ai(0x181)),E[ai(0x1ec)](ai(0x17b)),E[ai(0x1ec)](ai(0x161)+p[ai(0x165)]+'/bundle/programs/web.browser/app;\x0a'),E[ai(0x1ec)](ai(0x181)),E[ai(0x1ec)]('\x09\x0a'),E[ai(0x1ec)]('\x09location\x20/\x20{\x0a'),E['write'](ai(0x197)),E['write'](ai(0x1cb)),E[ai(0x1ec)](ai(0x17a)),E[ai(0x1ec)](ai(0x1c8)),E[ai(0x1ec)]('\x09\x09proxy_set_header\x20X-Forwarded-For\x20$remote_addr;\x0a'),E['write']('\x09\x09proxy_set_header\x20Host\x20$host;\x0a'),E[ai(0x1ec)](ai(0x155)),E['write'](ai(0x12e)),E['write'](ai(0x14b)),E[ai(0x1ec)](ai(0x181)),E[ai(0x1ec)]('}')):(E[ai(0x1ec)](ai(0x189)),E[ai(0x1ec)]('map\x20$http_upgrade\x20$connection_upgrade\x20{\x0a'),E[ai(0x1ec)]('\x09default\x20upgrade;\x0a'),E[ai(0x1ec)]('\x09\x27\x27\x20\x20\x20\x20\x20\x20close;\x0a'),E[ai(0x1ec)]('}\x0a'),E['write']('\x0a'),E['write'](ai(0x19f)),E['write'](ai(0x1a0)),E[ai(0x1ec)](ai(0x18b)),E[ai(0x1ec)]('\x09if\x20($http_user_agent\x20~\x20\x22MSIE\x22\x20)\x20{\x0a'),E[ai(0x1ec)]('\x09\x09return\x20303\x20https://browser-update.org/update.html;\x0a'),E['write'](ai(0x181)),E[ai(0x1ec)](ai(0x17b)),E['write']('\x09\x09alias\x20/home/'+p[ai(0x165)]+ai(0x1cc)),E[ai(0x1ec)](ai(0x181)),E[ai(0x1ec)]('\x09\x0a'),E[ai(0x1ec)](ai(0x21f)),E['write']('\x09\x09proxy_pass\x20http://0.0.0.0:3000;\x0a'),E[ai(0x1ec)](ai(0x1cb)),E[ai(0x1ec)](ai(0x17a)),E[ai(0x1ec)](ai(0x1c8)),E['write'](ai(0x1b0)),E[ai(0x1ec)](ai(0x172)),E[ai(0x1ec)]('\x09\x09if\x20($uri\x20!=\x20\x27/\x27)\x20{\x0a'),E['write'](ai(0x12e)),E[ai(0x1ec)](ai(0x14b)),E[ai(0x1ec)](ai(0x181)),E[ai(0x1ec)]('}'));}),E['on'](ah(0x201),function(){const aj=ah;E[aj(0x177)]();});const F=a25f['createWriteStream'](a25e['join'](g,'deploy.sh'),{'flags':'w'});F['on'](ah(0x13e),function(){const ak=ah;F[ak(0x1ec)](ak(0x213)),F[ak(0x1ec)](ak(0x1d4)),F[ak(0x1ec)](ak(0x159)+l+ak(0x180)),b[ak(0x20b)]===!![]&&(F['write'](ak(0x14e)),F[ak(0x1ec)](ak(0x199)),F['write'](ak(0x21a)),F['write'](ak(0x213)),F[ak(0x1ec)](ak(0x204)),F[ak(0x1ec)](ak(0x1d6)),F['write'](ak(0x144))),F['write'](ak(0x1ce)),F[ak(0x1ec)](ak(0x1cd)),F[ak(0x1ec)]('rm\x20-rf\x20~/.bash_profile\x20~/.bashrc\x0a'),F[ak(0x1ec)](ak(0x1c7)),F[ak(0x1ec)](ak(0x1a4)),F[ak(0x1ec)](ak(0x170)),F[ak(0x1ec)](ak(0x15b)),F[ak(0x1ec)](ak(0x221)+h+ak(0x178)+k+'\x0a'),F[ak(0x1ec)]('[\x20\x22$(nvm\x20current)\x22\x20==\x20\x22'+h+ak(0x193)+h+ak(0x1fc)+k+'\x0a'),F[ak(0x1ec)](ak(0x1b2)),F[ak(0x1ec)]('rm\x20-rf\x20~/maka-env/nvm-install\x0a'),F[ak(0x1ec)]('#\x20Prepare\x20nginx\x0a'),F['write'](ak(0x1fa)),F[ak(0x1ec)]('printf\x20\x22[Service]\x5cnExecStartPost=/bin/sleep\x200.1\x5cn\x22\x20>\x20override.conf\x0a'),F[ak(0x1ec)](ak(0x206)),F[ak(0x1ec)](ak(0x1ff)),F['write'](ak(0x171)),F[ak(0x1ec)](ak(0x138)),F['write'](ak(0x1de)),F[ak(0x1ec)](ak(0x1ad)),b[ak(0x1dc)]&&!b[ak(0x1c4)]&&(F[ak(0x1ec)](ak(0x12f)),F['write'](ak(0x190)+t+ak(0x149)+t+'\x0a'),F[ak(0x1ec)](ak(0x190)+u+ak(0x149)+u+'\x0a')),F['write'](ak(0x1e6)),F[ak(0x1ec)](ak(0x21d)),F[ak(0x1ec)](ak(0x131)),F[ak(0x1ec)](ak(0x164)),F[ak(0x1ec)](ak(0x19a)),F[ak(0x1ec)](ak(0x1be)),F['write']('\x20\x20echo\x20\x22No\x20bundle\x20found,\x20using\x20backup\x22\x0a'),F[ak(0x1ec)](ak(0x1a9)),F[ak(0x1ec)]('\x20\x20tar\x20-xf\x20app.tar.gz\x0a'),F['write'](ak(0x196)),F[ak(0x1ec)]('\x20\x20echo\x20\x22Could\x20not\x20find\x20app.tar.gz,\x20exiting!\x22\x0a'),F[ak(0x1ec)]('\x20\x20exit\x201\x0a'),F[ak(0x1ec)](ak(0x1f6)),F['write'](ak(0x1f3)),F[ak(0x1ec)]('npm\x20install\x0a'),F[ak(0x1ec)](ak(0x153)),F[ak(0x1ec)](ak(0x1d2)),F[ak(0x1ec)]('#\x20Reset\x20pm2\x20\x0a'),F['write'](ak(0x163)),F['write'](ak(0x151)),F[ak(0x1ec)](ak(0x140)),F['write'](ak(0x21e)),F['write'](ak(0x1d9)),F[ak(0x1ec)](ak(0x156)),F[ak(0x1ec)](ak(0x215)),F[ak(0x1ec)](ak(0x1bb)+p[ak(0x165)]+ak(0x150)+p[ak(0x165)]+'\x0a'),F[ak(0x1ec)](ak(0x1b6)),F[ak(0x1ec)](ak(0x143)),F[ak(0x1ec)](ak(0x168)),F[ak(0x1ec)](ak(0x1d1)),F[ak(0x1ec)]('#\x20rm\x20-f\x20~/app.tar.gz.bk\x0a'),F['write']('#\x20backup\x20tar\x20bundle\x0a'),F[ak(0x1ec)]('mv\x20~/app.tar.gz\x20~/app.tar.gz.bk\x0a'),F[ak(0x1ec)](ak(0x1c5));}),F['on'](ah(0x201),function(){F['end']();}),Log[ah(0x1ae)]('Deployment\x20script\x20written\x20to:\x20'+a25e[ah(0x16a)](g,'deploy.sh'));if(!m){const X=await Actions['confirm'](ah(0x14a));if(!X)throw ah(0x15c);}const G=[ah(0x20e),a25e[ah(0x16a)](this[ah(0x198)]['findProjectDirectory'](),ah(0x20e)),ah(0x1f7)];try{const Y=this['fsi'][ah(0x1e2)](a25e[ah(0x16a)](this[ah(0x198)][ah(0x14d)]({}),'app',ah(0x1ca),ah(0x1b3))),Z=Y[ah(0x1f9)]>0x2?!![]:![];if(Z){const a0=f[ah(0x1af)]?f[ah(0x1af)]:await Actions[ah(0x15d)](ah(0x1d5)),a1=f[ah(0x134)]?f[ah(0x134)]:await Actions[ah(0x15d)](ah(0x208));if(a0[ah(0x1f9)]==0x0||a1[ah(0x1f9)]==0x0)throw ah(0x1c3);const a2=a1==ah(0x1d7)?'https':'http';G[ah(0x194)](ah(0x211)+a2+ah(0x1dd)+a0+':'+a1);if(!f[ah(0x1af)]&&!f['serverPort']){const a3=await Actions['ask']('Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?\x20[yn]');a3&&(this[ah(0x198)][ah(0x135)](ah(0x1af),a0),this['fsi'][ah(0x135)](ah(0x134),a1),Log['notice'](ah(0x1f1)+a25e[ah(0x16a)](ah(0x18f),ah(0x17c))));}}}catch(a4){Log[ah(0x1a7)](a4);return;}const H=a25e[ah(0x16a)](this[ah(0x198)][ah(0x14d)]({}),ah(0x20e),ah(0x16b)),I=this[ah(0x198)][ah(0x1e9)](),J=this['fsi']['getProjectMeteorVersion'](),K=a25g['gt'](I,J);if(K&&!m){const a5=await Actions['confirm']('This\x20project\x27s\x20meteor\x20version\x20('+J+')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20('+I+ah(0x188),![]);if(!a5){Log[ah(0x1a7)]('Aborted'),Log['notice'](ah(0x182)+I+'\x22');return;}}let L=!![];a25f[ah(0x223)](H)&&!m&&(L=await Actions[ah(0x136)](ah(0x17f)));L&&(execSync(d+ah(0x1ac),{'cwd':this[ah(0x198)]['findAppDirectory'](),'stdio':ah(0x19e)}),execSync(d+'\x20'+G[ah(0x16a)]('\x20'),{'cwd':this[ah(0x198)][ah(0x141)](),'stdio':ah(0x214)}));Log[ah(0x209)](ah(0x217));const M={'source':H,'dest':ah(0x1a2),'verbose':!![]};SSH[ah(0x1a3)](M,q),Log[ah(0x209)]('Pushing\x20up\x20deploy\x20scripts\x20...');const N=a25e[ah(0x16a)](g,ah(0x152)),O={'source':N,'dest':'~/deploy.sh','verbose':!![]};SSH[ah(0x1a3)](O,q);const P=a25e[ah(0x16a)](g,ah(0x207)),Q={'source':P,'dest':ah(0x13c),'verbose':!![]};SSH['scp'](Q,q);const R=a25e[ah(0x16a)](g,'pm2.config.js'),S={'source':R,'dest':ah(0x1a5),'verbose':!![]};SSH[ah(0x1a3)](S,q);const T=a25e[ah(0x16a)](g,ah(0x18d)),U={'source':T,'dest':'~/settings.json','verbose':!![]};SSH['scp'](U,q);if(b['ssl']&&!b[ah(0x1c4)]){t=a25e[ah(0x16a)](g,ah(0x1cf),t);const a6={'source':t,'dest':t};SSH['scp'](a6,q),u=a25e[ah(0x16a)](g,ah(0x1cf),u);const a7={'source':u,'dest':u};SSH['scp'](a7,q);}const V=a25e['join'](g,ah(0x1cf),ah(0x1fd));if(a25f[ah(0x223)](V)){const a8={'source':V,'dest':ah(0x15a),'verbose':!![]};SSH[ah(0x1a3)](a8,q);}const W=ah(0x1df);await SSH['ssh']('chmod\x20+x\x20~/deploy.sh\x20&&\x20./deploy.sh',q,{'verbose':c,'message':W}),Log[ah(0x209)](ah(0x1a8)),SSH['sshSync'](ah(0x1e0),q,{'tty':!![],'verbose':!![]}),Log[ah(0x209)]('Verifying\x20PM2'),SSH[ah(0x14f)](ah(0x184),q,{'tty':!![],'verbose':!![]}),Log[ah(0x1ae)](ah(0x157)+p[ah(0x1d3)]);if(b['letsencrypt']){Log['notice'](ah(0x14c));try{const a9=a25f[ah(0x142)](a25e['join'](g,ah(0x20c))),aa=JSON[ah(0x137)](a9[ah(0x175)]());r=b[ah(0x216)]?b[ah(0x216)]:aa[ah(0x187)],s=b[ah(0x224)]?b[ah(0x224)]:aa[ah(0x1f5)],(!b[ah(0x224)]||!b['domains'])&&Log[ah(0x209)](ah(0x15e));}catch(ab){Log['warn']('Warning:\x20'+ab);}Log[ah(0x209)](ah(0x1b7)),SSH['ssh']('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',q),SSH[ah(0x192)](ah(0x1c6),q),SSH[ah(0x192)](ah(0x173),q),SSH[ah(0x192)](ah(0x145)+r+ah(0x179)+s,q);}Log[ah(0x1ae)](ah(0x16e));}catch(ac){Log[ah(0x1a7)]('Error\x20in\x20deployment:'),Log[ah(0x1a7)](ac);}}catch(ad){Log[ah(0x1a7)](ah(0x1f0)),Log['error'](ad);}},a25h);
1
+ const a25ah=a25d;(function(a,b){const ae=a25d,c=a();while(!![]){try{const d=parseInt(ae(0x148))/0x1+-parseInt(ae(0x10d))/0x2+-parseInt(ae(0x147))/0x3+-parseInt(ae(0x1cc))/0x4*(-parseInt(ae(0x142))/0x5)+parseInt(ae(0x149))/0x6+-parseInt(ae(0x11b))/0x7*(-parseInt(ae(0x1d8))/0x8)+parseInt(ae(0x1b8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a25c,0xaaf72));const a25b=(function(){let a=!![];return function(b,c){const d=a?function(){const af=a25d;if(c){const e=c[af(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a25a=a25b(this,function(){const ag=a25d;return a25a[ag(0xfc)]()[ag(0x1ab)]('(((.+)+)+)+$')['toString']()[ag(0x116)](a25a)['search']('(((.+)+)+)+$');});a25a();import a25e from'path';import a25f from'fs';import{execSync}from'child_process';import a25g from'semver';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a25d(a,b){const c=a25c();return a25d=function(d,e){d=d-0xee;let f=c[d];return f;},a25d(a,b);}import{SSH}from'../../tools/ssh/ssh.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a25c(){const an=['touch\x20~/.bash_profile\x20~/.bashrc\x0a','echo\x20\x22\x22\x20&&\x20sudo\x20systemctl\x20status\x20nginx\x20|\x20grep\x20Active\x20&&\x20echo\x20\x22\x22','ubuntu','readFileSync','rm\x20-rf\x20~/maka-env/nvm-install\x0a','\x09if\x20($http_user_agent\x20~\x20\x22MSIE\x22\x20)\x20{\x0a','Deploy\x20your\x20application','mongo','existsSync','includes','npm\x20audit\x20fix\x20--force\x0a','length','#\x20rm\x20-f\x20~/app.tar.gz.bk\x0a','create','Pushing\x20up\x20bundle\x20...','none','.crt','domainNames',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','\x09server_name\x20','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?\x20[yn]','settings.json','\x09\x09return\x20303\x20https://browser-update.org/update.html;\x0a','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','\x09\x09proxy_set_header\x20Connection\x20\x22upgrade\x22;\x0a','readFileLines','\x09ssl\x20on;\x0a','sudo\x20env\x20PATH=$PATH:$(which\x20npm)\x20$(which\x20pm2)\x20startup\x20systemd\x20-u\x20','write','\x22\x20]\x20&&\x20nvm\x20alias\x20default\x20','http','serverPort','~/ses.json','Domains\x20to\x20register\x20(comma\x20separated):\x20','\x09\x09alias\x20/home/','emailUpdate','Verifying\x20PM2','letsencrypt','npm\x20install\x20-g\x20pm2@latest\x0a','chmod\x20+x\x20~/maka-env/nvm-install/nvm-install.sh\x20&&\x20~/maka-env/nvm-install/nvm-install.sh\x0a','Checking\x20remote\x20host\x20availability\x20using\x20','chmod\x20+x\x20~/deploy.sh\x20&&\x20./deploy.sh','\x20--email\x20','sudo\x20','debug','\x09ssl_certificate_key\x20;\x0a','#\x20Decompress\x20the\x20bundle\x0a','push','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','join','app','Running\x20deployment\x20scripts\x20on\x20remote\x20server','\x09\x09rewrite\x20\x20\x20\x20\x20^\x20https://$server_name$request_uri?\x20permanent;\x0a','~/settings.json','\x09root\x20html;\x0a','No\x20🤔','sslAnswer','Supplied\x20SSL\x20/\x20CRT\x20file','scp','apt','#\x20Configure\x20pm2\x20to\x20start\x20on\x20boot\x0a','\x09\x09proxy_set_header\x20Upgrade\x20$http_upgrade;\x0a','\x20npm\x20install\x20--save','#\x20updating\x20PM2\x20to\x20latest\x0a','search','stringify','elif\x20[\x20-f\x20app.tar.gz.bk\x20];\x20then\x0a','\x09\x09proxy_set_header\x20X-Forwarded-For\x20$remote_addr;\x0a','pm2.config.js','\x09location\x20/\x20{\x0a','mv\x20~/app.tar.gz\x20~/app.tar.gz.bk\x0a','\x09listen\x2080\x20default_server;\x0a','\x20\x20tar\x20-xf\x20app.tar.gz\x0a','findAppDirectory','sudo\x20snap\x20install\x20--classic\x20certbot','You\x20do\x20not\x20have\x20a\x20valid\x20SSL\x20file:\x20','force','6146874kdujYX','pm2\x20save\x0a','success','Pushing\x20up\x20deploy\x20scripts\x20...','serverName','confirm','0.0.0.0','\x09ssl_certificate\x20;\x0a','PM2\x20has\x20MONGO_URL\x20pointing\x20to\x20localhost;\x20deployment\x20will\x20install\x20a\x20local\x20mongo\x20instance.','options','\x09ssl_protocols\x20TLSv1\x20TLSv1.1\x20TLSv1.2;\x0a','://','\x09\x09}\x0a','Stored\x20server\x20config\x20to\x20','sudo\x20systemctl\x20enable\x20mongod.service\x0a','#\x20backup\x20tar\x20bundle\x0a','echo\x20\x22Attempting\x20to\x20decompress\x20the\x20bundle\x22\x0a','basic','\x09ssl_certificate\x20/etc/nginx/ssl/','server\x20{\x0a','144052VchGjX','\x20||\x20nvm\x20install\x20','server_tokens\x20off;\x0a','sudo\x20systemctl\x20stop\x20nginx\x0a',').\x20Continue?','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','sudo\x20cp\x20override.conf\x20/etc/systemd/system/nginx.service.d/override.conf\x0a','setEnvSettings','trim','maka\x20d:u\x20-e\x20p\x20--mongo\x20--ssl=letsencrypt\x20--domains=www.maka-cli.com\x20--email=admin@maka-cli.com','pem','SHA384:ECDHE-RSA-RC4-SHA:ECDHE-ECDSA-RC4-SHA:RC4-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK\x22;\x0a','140368uOhwmJ','ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-','\x20\x20exit\x201\x0a','\x09}\x0a','win32','sudo\x20mv\x20~/','Aborted\x20deployment!','appName','Error\x20in\x20deployment:','\x09add_header\x20Strict-Transport-Security\x20\x22max-age=31536000;\x22;\x0a','isFile','letsencrypt.json','sshSync','domains','Deployment\x20complete','.key;\x0a','error','nginx.conf','maka\x20deploy:ubuntu\x20--env\x20prod','printf\x20\x22[Service]\x5cnExecStartPost=/bin/sleep\x200.1\x5cn\x22\x20>\x20override.conf\x0a','toString','.maka','enforceCSP','pm2\x20startup\x0a','platforms','email','#\x20setup\x20node\x20and\x20npm\x20with\x20the\x20proper\x20node\x20version\x20using\x20nvm\x0a','sudo\x20service\x20mongod\x20start\x0a','Deployment\x20script\x20written\x20to:\x20','ses.json','\x09default\x20upgrade;\x0a','~/app.tar.gz','template','ignore','ssl','finish','\x09listen\x20[::]:80\x20default_server\x20ipv6only=on;\x0a','27020tBREub','end','\x09\x27\x27\x20\x20\x20\x20\x20\x20close;\x0a','~/pm2.config.js','\x20\x20cp\x20app.tar.gz.bk\x20app.tar.gz\x0a','deploy.sh','\x09ssl_session_timeout\x205m;\x0a','\x20--hp\x20/home/','443','constructor','port','fsi','MONGO_URL','npm\x20install\x0a','105AHxYmc','createWriteStream','\x20\x20echo\x20\x22No\x20bundle\x20found,\x20using\x20backup\x22\x0a','ask','list','fi\x0a','config/pm2.config.js','#\x20Nginx\x20will\x20be\x20restarted\x20just\x20before\x20completing\x20the\x20deployment.\x0a','pm2\x20update\x0a','pathFromProject','source\x20~/.bashrc\x20&&\x20echo\x20\x22\x22\x20&&\x20pm2\x20status\x20&&\x20echo\x20\x22\x22','sudo\x20apt-get\x20update\x0a','map\x20$http_upgrade\x20$connection_upgrade\x20{\x0a','platform','Consider\x20updating\x20with\x20\x22maka\x20update\x20--release\x20','sudo\x20systemctl\x20daemon-reload\x20||\x20null\x0a','apply','user','Verifying\x20Nginx','#\x20bring\x20back\x20up\x20nginx\x0a','[\x20-d\x20/etc/systemd/system/nginx.service.d\x20]\x20&&\x20echo\x20\x22nginx.service.d\x20exists\x22\x20||\x20sudo\x20mkdir\x20/etc/systemd/system/nginx.service.d\x0a','notice','meteor','grep','#\x20Reset\x20pm2\x20\x0a','/bundle/programs/web.browser/app;\x0a','host','#\x20Prepare\x20nginx\x0a','else\x0a','Using\x20saved\x20letsencrypt\x20config','ssh.json','setProjectConfig','\x20\x20echo\x20\x22Could\x20not\x20find\x20app.tar.gz,\x20exiting!\x22\x0a','No\x20letsencrypt.json\x20file\x20found.\x20You\x20will\x20be\x20prompted\x20at\x20the\x20end\x20of\x20deployment\x20for\x20configuration.','Email\x20to\x20use\x20for\x20auto-updates:\x20','Aborted','env','.crt;\x0a','This\x20project\x27s\x20meteor\x20version\x20(','15GqoBUv','noRebuild','\x09\x09if\x20($uri\x20!=\x20\x27/\x27)\x20{\x0a','ssh','\x09root\x20/usr/share/nginx/html;\x0a','3835098YKVOdY','530962qaswZD','2441838pZkPQS','\x09\x09\x09expires\x2030d;\x0a','->\x20','~/nginx.conf','#\x20install\x20and\x20configure\x20local\x20mongo\x0a','if\x20[\x20-f\x20app.tar.gz\x20];\x20then\x0a','getProjectsMeteorNodeVersion','getAppConfigPath','AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:','ping','127.0.0.1','verbose','#\x20Bring\x20up\x20pm2\x20with\x20environment\x0a','uname\x20-a','parse','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','cd\x20~\x0a','Attempting\x20to\x20setup\x20SSL\x20using\x20LetsEncrypt','[\x20\x22$(nvm\x20current)\x22\x20==\x20\x22','I\x20could\x20not\x20find\x20a\x20valid\x20CRT\x20file,\x20please\x20provide\x20the\x20name\x20of\x20the\x20CRT\x20file\x20in\x20the\x20_keys/\x20directory:','pm2\x20start\x20~/pm2.config.js\x0a','_keys','build','open','You\x20do\x20not\x20have\x20a\x20valid\x20ssl\x20crt.\x20\x20Looking\x20for:\x20','\x09\x09proxy_pass\x20http://0.0.0.0:3000;\x0a','\x09\x09proxy_set_header\x20Host\x20$host;\x0a','echo\x20\x22test\x20-f\x20~/.bashrc\x20&&\x20.\x20~/.bashrc\x22\x20>\x20~/.bash_profile\x0a','\x09location\x20=\x20/favicon.ico\x20{\x0a','app.tar.gz','wget\x20-qO\x20-\x20https://www.mongodb.org/static/pgp/server-4.2.asc\x20|\x20sudo\x20apt-key\x20add\x20-\x0a','git\x20clone\x20https://gist.github.com/c427ccd6f4377b39299b9d402f5d51fe.git\x20~/maka-env/nvm-install\x0a','~/deploy.sh','sudo\x20mkdir\x20-p\x20/etc/nginx/ssl/\x0a'];a25c=function(){return an;};return a25c();}import a25h from'./deploy.command.js';Command[a25ah(0x178)]({'name':a25ah(0x16d),'usage':'maka\x20deploy:ubuntu','aliases':['u'],'validOpts':[a25ah(0x197),a25ah(0x13f),a25ah(0x10a),a25ah(0xf5),a25ah(0x172),a25ah(0x1b7),'email',a25ah(0x154),a25ah(0x143),a25ah(0x190)],'mustBeInMakaProject':!![],'isPro':![],'requiredOpts':[a25ah(0x13f)],'shortDesc':a25ah(0x171),'description':'\x0a\x20\x20Deploy\x20your\x20app\x20to\x20an\x20Ubuntu\x20server\x20running\x20in\x20AWS,\x20On\x20Prem,\x0a\x20\x20or\x20even\x20ARM.','examples':[a25ah(0xfa),a25ah(0x1d5)]},async function(a,b){const ai=a25ah,c=b['verbose']?!![]:![],d=process[ai(0x128)]===ai(0x1dc)?'meteor.bat':ai(0x131),f=this[ai(0x118)]['getMakaProjectConfig'](),g=this[ai(0x118)][ai(0x150)](b[ai(0x13f)]),h=await this[ai(0x118)][ai(0x14f)](),[i,j]=h['split']('.'),k=i+'.'+j,l=ai(0x1a6),m=b[ai(0x1b7)];try{const n=a25e[ai(0x19c)](g,'pm2.config.js');!this[ai(0x118)][ai(0xf2)](n)&&await this['fsi'][ai(0x108)]({'srcPath':ai(0x121),'destPath':n,'context':{'app':f['appName'],'isDocker':![]},'config':f});const o=a25e['join'](g,ai(0x139));!this[ai(0x118)][ai(0xf2)](o)&&await this[ai(0x118)]['template']({'srcPath':'config/ssh.json','destPath':o,'context':{'app':f['appName']},'config':f});const p=JSON[ai(0x157)](a25f['readFileSync'](o)[ai(0xfc)]()),q={'env':g,'user':p[ai(0x12c)],'host':p['host'],'port':p[ai(0x117)],'pem':p[ai(0x1d6)]};let r=b[ai(0xf5)],s=b[ai(0x101)];try{a25f[ai(0x16e)](a25e[ai(0x19c)](g,ai(0xf3))),Log['notice']('Using\x20letsencrypt.json'),b[ai(0x190)]=!![];}catch(x){b[ai(0x190)]&&Log['warn'](ai(0x13c));const y={'type':ai(0x11f),'name':ai(0x1a3),'message':'Configure\x20SSL','choices':[{'name':'Free\x20SSL\x20with\x20Letsencrypt','value':ai(0x190)},{'name':ai(0x1a4),'value':ai(0x1c9)},{'name':ai(0x1a2),'value':ai(0x17a)}]},{sslAnswer:z}=await Actions[ai(0x1c1)](y);if(z===ai(0x190)){b[ai(0x190)]=!![],b[ai(0x10a)]=![],r=r?r:await Actions[ai(0x11e)](ai(0x18c)),s=s?s:await Actions[ai(0x11e)](ai(0x13d));const A={'domainNames':r,'emailUpdate':s},B=JSON[ai(0x1ac)](A,null,0x2);a25f['writeFileSync'](a25e['join'](g,ai(0xf3)),B),this['fsi'][ai(0x1d3)](b[ai(0x13f)],ai(0xfe),!![]);}else z===ai(0x1c9)?(b[ai(0x190)]=![],b[ai(0x10a)]=!![],this[ai(0x118)][ai(0x1d3)](b[ai(0x13f)],ai(0xfe),!![])):this[ai(0x118)][ai(0x1d3)](b['env'],'enforceCSP',![]);}let t='',u='';if(b[ai(0x10a)]&&!b[ai(0x190)]){t=f[ai(0xef)]+'.key';!a25f[ai(0x173)](a25e['join'](g,ai(0x15e),t))&&(t=await Actions['ask']('I\x20could\x20not\x20find\x20a\x20valid\x20SSL\x20file,\x20please\x20provide\x20the\x20name\x20of\x20the\x20SSL\x20file\x20in\x20the\x20_keys/\x20directory:'));if(!a25f[ai(0x173)](a25e[ai(0x19c)](g,ai(0x15e),t)))throw ai(0x1b6)+a25e[ai(0x19c)](g,ai(0x15e),t);u=f['appName']+ai(0x17b);!a25f[ai(0x173)](a25e['join'](g,'_keys',u))&&(u=await Actions[ai(0x11e)](ai(0x15c)));if(!a25f[ai(0x173)](a25e[ai(0x19c)](g,ai(0x15e),u)))throw ai(0x161)+a25e[ai(0x19c)](g,ai(0x15e),u);}Log['notice'](ai(0x193)+o);try{const C=SSH[ai(0x152)](ai(0x156),q,{'verbose':!![]});if(!C)throw ai(0x182);if(C)Log[ai(0x1ba)]('Remote\x20host\x20connection\x20successful');}catch(D){Log[ai(0xf8)](D);return;}Log[ai(0x130)]('Building\x20deployment\x20script\x20...');const v=a25f[ai(0x16e)](a25e['join'](g,ai(0x1af))),w=this[ai(0x118)][ai(0x132)](v[ai(0xfc)](),ai(0x119));(w[0x0]['trim']()['includes']('localhost')||w[0x0]['trim']()[ai(0x174)](ai(0x153))||w[0x0][ai(0x1d4)]()[ai(0x174)](ai(0x1be)))&&(b['mongo']=!![],Log[ai(0x130)](ai(0x1c0)),Log[ai(0x130)](ai(0x14b)+w[0x0][ai(0x1d4)]()));try{const E=a25f[ai(0x11c)](a25e['join'](g,ai(0xf9)),{'flags':'w'});E['on'](ai(0x160),function(){const aj=ai;b[aj(0x10a)]&&!b['letsencrypt']?(E[aj(0x187)](aj(0x1ce)),E[aj(0x187)](aj(0x127)),E[aj(0x187)](aj(0x106)),E[aj(0x187)]('\x09\x27\x27\x20\x20\x20\x20\x20\x20close;\x0a'),E[aj(0x187)]('}\x0a'),E[aj(0x187)]('\x0a'),E[aj(0x187)](aj(0x1cb)),E[aj(0x187)](aj(0x1b2)),E[aj(0x187)](aj(0x10c)),E[aj(0x187)](aj(0x17e)+f['appName']+';\x0a'),E[aj(0x187)](aj(0x146)),E[aj(0x187)]('\x09index\x20index.html\x20index.htm;\x0a'),E[aj(0x187)](aj(0x1b0)),E['write'](aj(0x19f)),E[aj(0x187)](aj(0x1db)),E['write']('}'),E[aj(0x187)]('\x0a'),E[aj(0x187)]('\x0a'),E['write'](aj(0x1cb)),E['write']('\x09listen\x20443\x20ssl;\x0a'),E[aj(0x187)](aj(0x17e)+f[aj(0xef)]+';\x0a'),E['write'](aj(0x1a1)),E[aj(0x187)]('\x09index\x20index.html;\x0a'),E[aj(0x187)](aj(0x185)),E[aj(0x187)](aj(0x1ca)+f['appName']+aj(0x140)),E[aj(0x187)]('\x09ssl_certificate_key\x20/etc/nginx/ssl/'+f['appName']+aj(0xf7)),E[aj(0x187)](aj(0x1bf)),E[aj(0x187)](aj(0x198)),E[aj(0x187)]('\x09ssl_session_cache\x20shared:SSL:10m;\x0a'),E[aj(0x187)](aj(0x113)),E[aj(0x187)]('\x09\x0a'),E[aj(0x187)]('\x09ssl_prefer_server_ciphers\x20on;\x0a'),E[aj(0x187)](aj(0x1c2)),E[aj(0x187)]('\x09ssl_ciphers\x20\x22ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:kEDH+'+aj(0x151)+aj(0x1d9)+aj(0x1d7)),E['write'](aj(0xf1)),E[aj(0x187)]('\x09\x0a'),E['write'](aj(0x170)),E[aj(0x187)](aj(0x181)),E['write']('\x09}\x0a'),E[aj(0x187)](aj(0x165)),E[aj(0x187)](aj(0x18d)+p[aj(0x12c)]+aj(0x134)),E[aj(0x187)](aj(0x1db)),E[aj(0x187)]('\x09\x0a'),E[aj(0x187)](aj(0x1b0)),E[aj(0x187)](aj(0x162)),E[aj(0x187)]('\x09\x09proxy_http_version\x201.1;\x0a'),E['write']('\x09\x09proxy_set_header\x20Upgrade\x20$http_upgrade;\x0a'),E[aj(0x187)]('\x09\x09proxy_set_header\x20Connection\x20\x22upgrade\x22;\x0a'),E['write'](aj(0x1ae)),E[aj(0x187)](aj(0x163)),E[aj(0x187)](aj(0x144)),E['write'](aj(0x14a)),E['write'](aj(0x1c4)),E[aj(0x187)]('\x09}\x0a'),E['write']('}')):(E[aj(0x187)](aj(0x1ce)),E[aj(0x187)](aj(0x127)),E[aj(0x187)](aj(0x106)),E[aj(0x187)](aj(0x10f)),E[aj(0x187)]('}\x0a'),E[aj(0x187)]('\x0a'),E[aj(0x187)]('server\x20{\x0a'),E[aj(0x187)]('\x09listen\x2080\x20default_server;\x0a'),E[aj(0x187)](aj(0x10c)),E[aj(0x187)](aj(0x170)),E[aj(0x187)](aj(0x181)),E[aj(0x187)](aj(0x1db)),E[aj(0x187)](aj(0x165)),E[aj(0x187)](aj(0x18d)+p[aj(0x12c)]+aj(0x134)),E[aj(0x187)](aj(0x1db)),E[aj(0x187)]('\x09\x0a'),E['write']('\x09location\x20/\x20{\x0a'),E[aj(0x187)]('\x09\x09proxy_pass\x20http://0.0.0.0:3000;\x0a'),E[aj(0x187)]('\x09\x09proxy_http_version\x201.1;\x0a'),E[aj(0x187)](aj(0x1a8)),E[aj(0x187)](aj(0x183)),E['write'](aj(0x1ae)),E['write'](aj(0x163)),E[aj(0x187)](aj(0x144)),E['write'](aj(0x14a)),E[aj(0x187)]('\x09\x09}\x0a'),E[aj(0x187)](aj(0x1db)),E['write']('}'));}),E['on'](ai(0x10b),function(){const ak=ai;E[ak(0x10e)]();});const F=a25f['createWriteStream'](a25e[ai(0x19c)](g,ai(0x112)),{'flags':'w'});F['on'](ai(0x160),function(){const al=ai;F[al(0x187)](al(0x126)),F['write']('#\x20install\x20git\x20and\x20nginx\x0a'),F['write'](al(0x196)+l+'\x20install\x20build-essential\x20git\x20nginx\x20-y\x0a'),b['mongo']===!![]&&(F['write'](al(0x14d)),F['write'](al(0x167)),F['write']('echo\x20\x22deb\x20[\x20arch=amd64\x20]\x20https://repo.mongodb.org/apt/ubuntu\x20bionic/mongodb-org/4.2\x20multiverse\x22\x20|\x20sudo\x20tee\x20/etc/apt/sources.list.d/mongodb-org-4.2.list\x0a'),F['write'](al(0x126)),F[al(0x187)]('sudo\x20apt-get\x20install\x20-y\x20mongodb-org\x0a'),F[al(0x187)](al(0x103)),F[al(0x187)](al(0x1c6))),F[al(0x187)](al(0x102)),F[al(0x187)](al(0x168)),F[al(0x187)]('rm\x20-rf\x20~/.bash_profile\x20~/.bashrc\x0a'),F['write'](al(0x16b)),F['write'](al(0x164)),F['write'](al(0x192)),F[al(0x187)]('source\x20~/.bashrc\x0a'),F[al(0x187)]('nvm\x20install\x20'+h+al(0x1cd)+k+'\x0a'),F[al(0x187)](al(0x15b)+h+al(0x188)+h+'\x20||\x20nvm\x20alias\x20default\x20'+k+'\x0a'),F[al(0x187)](al(0x191)),F[al(0x187)](al(0x16f)),F[al(0x187)](al(0x136)),F['write'](al(0x12f)),F[al(0x187)](al(0xfb)),F['write'](al(0x1d2)),F[al(0x187)](al(0x12a)),F['write'](al(0x1cf)),F['write']('sudo\x20nginx\x20-s\x20stop\x0a'),F['write'](al(0x122)),F[al(0x187)]('sudo\x20cp\x20~/nginx.conf\x20/etc/nginx/sites-enabled/default\x0a'),b[al(0x10a)]&&!b['letsencrypt']&&(F[al(0x187)](al(0x16a)),F[al(0x187)](al(0x1dd)+t+'\x20/etc/nginx/ssl/'+t+'\x0a'),F[al(0x187)](al(0x1dd)+u+'\x20/etc/nginx/ssl/'+u+'\x0a')),F[al(0x187)](al(0x199)),F[al(0x187)](al(0x1c8)),F[al(0x187)](al(0x14e)),F[al(0x187)]('\x20\x20echo\x20\x22Bundle\x20found,\x20decompressing\x22\x0a'),F['write'](al(0x1b3)),F[al(0x187)](al(0x1ad)),F[al(0x187)](al(0x11d)),F['write'](al(0x111)),F[al(0x187)](al(0x1b3)),F[al(0x187)](al(0x137)),F[al(0x187)](al(0x13b)),F[al(0x187)](al(0x1da)),F['write'](al(0x120)),F[al(0x187)]('cd\x20bundle/programs/server\x0a'),F['write'](al(0x11a)),F['write'](al(0x175)),F[al(0x187)](al(0x159)),F[al(0x187)](al(0x133)),F[al(0x187)]('pm2\x20delete\x20all\x0a'),F[al(0x187)](al(0x1aa)),F[al(0x187)](al(0x123)),F['write'](al(0x155)),F[al(0x187)](al(0x15d)),F[al(0x187)](al(0x1a7)),F[al(0x187)](al(0xff)),F[al(0x187)](al(0x186)+p[al(0x12c)]+al(0x114)+p[al(0x12c)]+'\x0a'),F[al(0x187)](al(0x1b9)),F['write'](al(0x12e)),F['write']('sudo\x20systemctl\x20daemon-reload\x20&&\x20sudo\x20systemctl\x20start\x20nginx\x0a'),F[al(0x187)]('#\x20remove\x20backup\x20tar,\x20if\x20any\x0a'),F[al(0x187)](al(0x177)),F[al(0x187)](al(0x1c7)),F[al(0x187)](al(0x1b1)),F['write']('exit\x200');}),F['on'](ai(0x10b),function(){const am=ai;F[am(0x10e)]();}),Log[ai(0x1ba)](ai(0x104)+a25e[ai(0x19c)](g,ai(0x112)));if(!m){const X=await Actions['confirm']('Are\x20you\x20ready\x20to\x20deploy?');if(!X)throw ai(0xee);}const G=['build',a25e[ai(0x19c)](this[ai(0x118)]['findProjectDirectory'](),ai(0x15f)),'--architecture=os.linux.x86_64'];try{const Y=this[ai(0x118)][ai(0x184)](a25e[ai(0x19c)](this[ai(0x118)][ai(0x124)]({}),ai(0x19d),'.meteor',ai(0x100))),Z=Y[ai(0x176)]>0x2?!![]:![];if(Z){const a0=f[ai(0x1bc)]?f[ai(0x1bc)]:await Actions[ai(0x11e)](ai(0x19b)),a1=f[ai(0x18a)]?f[ai(0x18a)]:await Actions[ai(0x11e)]('Mobile\x20server\x20port:\x20');if(a0[ai(0x176)]==0x0||a1['length']==0x0)throw'[!]\x20Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!';const a2=a1==ai(0x115)?'https':ai(0x189);G[ai(0x19a)]('--server='+a2+ai(0x1c3)+a0+':'+a1);if(!f[ai(0x1bc)]&&!f['serverPort']){const a3=await Actions['ask'](ai(0x17f));a3&&(this[ai(0x118)][ai(0x13a)](ai(0x1bc),a0),this[ai(0x118)][ai(0x13a)](ai(0x18a),a1),Log[ai(0x130)](ai(0x1c5)+a25e[ai(0x19c)](ai(0xfd),'config.json')));}}}catch(a4){Log[ai(0xf8)](a4);return;}const H=a25e[ai(0x19c)](this[ai(0x118)][ai(0x124)]({}),ai(0x15f),ai(0x166)),I=this['fsi']['getGlobalMeteorVersion'](),J=this[ai(0x118)]['getProjectMeteorVersion'](),K=a25g['gt'](I,J);if(K&&!m){const a5=await Actions['confirm'](ai(0x141)+J+ai(0x17d)+I+ai(0x1d0),![]);if(!a5){Log[ai(0xf8)](ai(0x13e)),Log['notice'](ai(0x129)+I+'\x22');return;}}let L=!![];a25f[ai(0x173)](H)&&!m&&(L=await Actions[ai(0x1bd)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?'));L&&(execSync(d+ai(0x1a9),{'cwd':this[ai(0x118)][ai(0x1b4)](),'stdio':ai(0x109)}),execSync(d+'\x20'+G[ai(0x19c)]('\x20'),{'cwd':this[ai(0x118)][ai(0x1b4)](),'stdio':'inherit'}));Log[ai(0x130)](ai(0x179));const M={'source':H,'dest':ai(0x107),'verbose':!![]};SSH[ai(0x1a5)](M,q),Log[ai(0x130)](ai(0x1bb));const N=a25e['join'](g,ai(0x112)),O={'source':N,'dest':ai(0x169),'verbose':!![]};SSH[ai(0x1a5)](O,q);const P=a25e['join'](g,ai(0xf9)),Q={'source':P,'dest':ai(0x14c),'verbose':!![]};SSH['scp'](Q,q);const R=a25e[ai(0x19c)](g,ai(0x1af)),S={'source':R,'dest':ai(0x110),'verbose':!![]};SSH['scp'](S,q);const T=a25e['join'](g,ai(0x180)),U={'source':T,'dest':ai(0x1a0),'verbose':!![]};SSH[ai(0x1a5)](U,q);if(b[ai(0x10a)]&&!b[ai(0x190)]){t=a25e['join'](g,ai(0x15e),t);const a6={'source':t,'dest':t};SSH[ai(0x1a5)](a6,q),u=a25e[ai(0x19c)](g,ai(0x15e),u);const a7={'source':u,'dest':u};SSH[ai(0x1a5)](a7,q);}const V=a25e[ai(0x19c)](g,'_keys',ai(0x105));if(a25f[ai(0x173)](V)){const a8={'source':V,'dest':ai(0x18b),'verbose':!![]};SSH[ai(0x1a5)](a8,q);}const W=ai(0x19e);await SSH[ai(0x145)](ai(0x194),q,{'verbose':c,'message':W}),Log['notice'](ai(0x12d)),SSH[ai(0xf4)](ai(0x16c),q,{'tty':!![],'verbose':!![]}),Log[ai(0x130)](ai(0x18f)),SSH['sshSync'](ai(0x125),q,{'tty':!![],'verbose':!![]}),Log[ai(0x1ba)]('Deployed\x20to:\x20'+p[ai(0x135)]);if(b[ai(0x190)]){Log['notice'](ai(0x15a));try{const a9=a25f[ai(0x16e)](a25e[ai(0x19c)](g,'letsencrypt.json')),aa=JSON[ai(0x157)](a9[ai(0xfc)]());r=b[ai(0xf5)]?b[ai(0xf5)]:aa[ai(0x17c)],s=b['email']?b['email']:aa[ai(0x18e)],(!b[ai(0x101)]||!b['domains'])&&Log[ai(0x130)](ai(0x138));}catch(ab){Log['warn']('Warning:\x20'+ab);}Log[ai(0x130)]('Setting\x20up\x20letsencrypt'),SSH[ai(0x145)](ai(0x1d1),q),SSH['ssh'](ai(0x1b5),q),SSH[ai(0x145)](ai(0x158),q),SSH['ssh']('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+r+ai(0x195)+s,q);}Log['success'](ai(0xf6));}catch(ac){Log['error'](ai(0xf0)),Log[ai(0xf8)](ac);}}catch(ad){Log['error']('Error\x20in\x20deployment:'),Log['error'](ad);}},a25h);
@@ -1 +1 @@
1
- (function(a,b){var f=a26d,c=a();while(!![]){try{var d=parseInt(f(0x126))/0x1+-parseInt(f(0x11a))/0x2+-parseInt(f(0x122))/0x3*(-parseInt(f(0x11d))/0x4)+parseInt(f(0x127))/0x5+parseInt(f(0x11b))/0x6*(-parseInt(f(0x123))/0x7)+parseInt(f(0x121))/0x8*(parseInt(f(0x125))/0x9)+-parseInt(f(0x128))/0xa*(-parseInt(f(0x11c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a26c,0xb691d));var a26b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a26d;if(c){var e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a26a=a26b(this,function(){var h=a26d;return a26a[h(0x120)]()[h(0x11e)](h(0x119))[h(0x120)]()[h(0x11f)](a26a)[h(0x11e)](h(0x119));});a26a();function a26c(){var i=['5012750oFHoCF','2190TFynVq','(((.+)+)+)+$','2459802SilsdN','594654BJFSfi','30349FZRGHv','139976WwHRnO','search','constructor','toString','1125336tLCugz','3XrtRUy','28rQelbD','apply','9ZPiogB','591710dntJIM'];a26c=function(){return i;};return a26c();}import'./play.command.js';import'./pong.sub.cmd.js';function a26d(a,b){var c=a26c();return a26d=function(d,e){d=d-0x119;var f=c[d];return f;},a26d(a,b);}import'./snake.sub.cmd.js';import'./battleship.sub.cmd.js';import'./sideQuest.sub.cmd.js';
1
+ (function(a,b){var f=a26d,c=a();while(!![]){try{var d=parseInt(f(0x170))/0x1*(parseInt(f(0x16d))/0x2)+-parseInt(f(0x166))/0x3+-parseInt(f(0x16f))/0x4*(-parseInt(f(0x169))/0x5)+parseInt(f(0x16b))/0x6+-parseInt(f(0x16c))/0x7+-parseInt(f(0x165))/0x8+-parseInt(f(0x16e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a26c,0x58f74));function a26d(a,b){var c=a26c();return a26d=function(d,e){d=d-0x165;var f=c[d];return f;},a26d(a,b);}var a26b=(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;};}()),a26a=a26b(this,function(){var g=a26d;return a26a['toString']()['search'](g(0x16a))[g(0x168)]()[g(0x171)](a26a)[g(0x167)](g(0x16a));});a26a();import'./play.command.js';import'./pong.sub.cmd.js';import'./snake.sub.cmd.js';import'./battleship.sub.cmd.js';import'./sideQuest.sub.cmd.js';function a26c(){var h=['2840088wlutrd','663348BrJNqw','2xITFhc','2758284WBuAhb','2351260PpBAvP','230399vJQvpc','constructor','365352zGQwGO','1440747uBcWNN','search','toString','5sSqYiq','(((.+)+)+)+$'];a26c=function(){return h;};return a26c();}
@@ -1 +1 @@
1
- function a27d(a,b){var c=a27c();return a27d=function(d,e){d=d-0x162;var f=c[d];return f;},a27d(a,b);}var a27i=a27d;(function(a,b){var f=a27d,c=a();while(!![]){try{var d=-parseInt(f(0x163))/0x1*(-parseInt(f(0x174))/0x2)+parseInt(f(0x162))/0x3*(parseInt(f(0x16c))/0x4)+parseInt(f(0x16d))/0x5*(parseInt(f(0x173))/0x6)+-parseInt(f(0x176))/0x7*(parseInt(f(0x16a))/0x8)+-parseInt(f(0x168))/0x9+-parseInt(f(0x164))/0xa+-parseInt(f(0x170))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a27c,0x77be8));var a27b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a27d;if(c){var e=c[g(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a27a=a27b(this,function(){var h=a27d;return a27a[h(0x16e)]()['search']('(((.+)+)+)+$')[h(0x16e)]()[h(0x169)](a27a)['search'](h(0x16f));});a27a();function a27c(){var k=['(((.+)+)+)+$','10767383HRrQiP','create','battleship','6KmvNyx','31282jlLaFz','maka\x20game:battleship','21yGPZiz','129072qtHfNr','47UsBfsA','1377700QRXSjd','Play\x20Battlehsip:\x20https://www.npmjs.com/package/battleship-game','inherit','apply','1645506OUWpUr','constructor','543384tBxmeA','npx\x20battleship-game','64OuFjhw','2850935ZONuvI','toString'];a27c=function(){return k;};return a27c();}import a27e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';Command[a27i(0x171)]({'name':a27i(0x172),'usage':a27i(0x175),'shortDesc':a27i(0x165),'validOpts':[]},async function(){var j=a27i;execSync(j(0x16b),{'stdio':j(0x166)});},a27e);
1
+ function a27c(){var j=['25GwEhnU','npx\x20battleship-game','search','constructor','507330vPfzgC','toString','inherit','battleship','99948zbHxPj','913ZBvXqJ','116ghmFrM','Play\x20Battlehsip:\x20https://www.npmjs.com/package/battleship-game','maka\x20game:battleship','1raiRAb','7985457YHFEAB','749496XvvqZg','(((.+)+)+)+$','371308kBEXru','4885336FVssad','976218NAdIsO'];a27c=function(){return j;};return a27c();}var a27h=a27d;(function(a,b){var f=a27d,c=a();while(!![]){try{var d=-parseInt(f(0x163))/0x1*(parseInt(f(0x165))/0x2)+-parseInt(f(0x15e))/0x3*(parseInt(f(0x160))/0x4)+-parseInt(f(0x156))/0x5*(parseInt(f(0x155))/0x6)+-parseInt(f(0x153))/0x7+-parseInt(f(0x154))/0x8+-parseInt(f(0x164))/0x9+-parseInt(f(0x15a))/0xa*(-parseInt(f(0x15f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a27c,0x7b654));var a27b=(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;};}()),a27a=a27b(this,function(){var g=a27d;return a27a[g(0x15b)]()[g(0x158)](g(0x166))['toString']()[g(0x159)](a27a)[g(0x158)](g(0x166));});a27a();import a27e from'./play.command.js';function a27d(a,b){var c=a27c();return a27d=function(d,e){d=d-0x153;var f=c[d];return f;},a27d(a,b);}import{Command}from'../../command.js';import{execSync}from'child_process';Command['create']({'name':a27h(0x15d),'usage':a27h(0x162),'shortDesc':a27h(0x161),'validOpts':[]},async function(){var i=a27h;execSync(i(0x157),{'stdio':i(0x15c)});},a27e);
@@ -1 +1 @@
1
- function a28c(){const k=['search','constructor','maka\x20play:snake','4536476AmQNZo','maka\x20play:battleship','6044VNlhCo','9335210TbFCTY','5671PaESuQ','(((.+)+)+)+$','runSubCommand','error','558AWPKRT','exit','2609142Olbxiv','13419552HtNIEz','Ok...only\x20for\x20a\x20few\x20minutes\x20;)','192TBSXmK','329679CKjHJb','30KhSjzH','play','create','22NPcOVM','maka\x20play:tetris','5SVKxal'];a28c=function(){return k;};return a28c();}const a28i=a28d;(function(a,b){const g=a28d,c=a();while(!![]){try{const d=parseInt(g(0xfb))/0x1*(parseInt(g(0xee))/0x2)+parseInt(g(0xe7))/0x3*(parseInt(g(0xf9))/0x4)+parseInt(g(0xf3))/0x5*(parseInt(g(0xe9))/0x6)+-parseInt(g(0xf7))/0x7+-parseInt(g(0xec))/0x8*(parseInt(g(0xed))/0x9)+-parseInt(g(0xfa))/0xa+parseInt(g(0xf1))/0xb*(parseInt(g(0xea))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0x8cd3b));function a28d(a,b){const c=a28c();return a28d=function(d,e){d=d-0xe4;let f=c[d];return f;},a28d(a,b);}const a28b=(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;};}()),a28a=a28b(this,function(){const h=a28d;return a28a['toString']()[h(0xf4)](h(0xe4))['toString']()[h(0xf5)](a28a)['search'](h(0xe4));});a28a();import{Command}from'../../command.js';const PlayCommand=Command[a28i(0xf0)]({'name':a28i(0xef),'usage':'maka\x20play:<game>','shortDesc':a28i(0xeb),'validOpts':[],'examples':[a28i(0xf8),'maka\x20play:pong',a28i(0xf6),a28i(0xf2)]},async function(a,b){const j=a28i;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[j(0xe5)](c,a,b);}catch(f){console[j(0xe6)](f),process[j(0xe8)](0x0);}});export default PlayCommand;
1
+ function a28d(a,b){const c=a28c();return a28d=function(d,e){d=d-0x84;let f=c[d];return f;},a28d(a,b);}const a28i=a28d;(function(a,b){const g=a28d,c=a();while(!![]){try{const d=parseInt(g(0x90))/0x1+-parseInt(g(0x92))/0x2*(-parseInt(g(0x97))/0x3)+-parseInt(g(0x8d))/0x4*(-parseInt(g(0x84))/0x5)+-parseInt(g(0x9a))/0x6*(-parseInt(g(0x8a))/0x7)+-parseInt(g(0x85))/0x8*(-parseInt(g(0x8b))/0x9)+parseInt(g(0x95))/0xa*(-parseInt(g(0x9c))/0xb)+-parseInt(g(0x9d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xa8358));const a28b=(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;};}()),a28a=a28b(this,function(){const h=a28d;return a28a[h(0x89)]()[h(0x8e)](h(0x94))[h(0x89)]()[h(0x99)](a28a)[h(0x8e)](h(0x94));});a28a();import{Command}from'../../command.js';const PlayCommand=Command[a28i(0x9b)]({'name':a28i(0x87),'usage':'maka\x20play:<game>','shortDesc':a28i(0x96),'validOpts':[],'examples':[a28i(0x8c),a28i(0x91),a28i(0x86),a28i(0x98)]},async function(a,b){const j=a28i;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[j(0x93)](c,a,b);}catch(f){console[j(0x8f)](f),process[j(0x88)](0x0);}});export default PlayCommand;function a28c(){const k=['27ctVqxu','maka\x20play:battleship','21876NmkAqj','search','error','1225150pMgSQD','maka\x20play:pong','374glWmcM','runSubCommand','(((.+)+)+)+$','116430eJhrJE','Ok...only\x20for\x20a\x20few\x20minutes\x20;)','7926jnqPGN','maka\x20play:tetris','constructor','1935960DgoGHL','create','143MvdbCm','24224412GfWhBd','110MiGRYC','997872SzLBxe','maka\x20play:snake','play','exit','toString','14tsEzbN'];a28c=function(){return k;};return a28c();}
@@ -1 +1 @@
1
- var a29i=a29d;(function(a,b){var f=a29d,c=a();while(!![]){try{var d=parseInt(f(0x1c3))/0x1+parseInt(f(0x1b9))/0x2+-parseInt(f(0x1c8))/0x3+-parseInt(f(0x1ca))/0x4*(-parseInt(f(0x1be))/0x5)+-parseInt(f(0x1c0))/0x6+parseInt(f(0x1bd))/0x7+parseInt(f(0x1c6))/0x8*(parseInt(f(0x1c1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xcc7cd));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a29d;if(c){var e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var h=a29d;return a29a[h(0x1c4)]()[h(0x1bf)](h(0x1c7))[h(0x1c4)]()[h(0x1c9)](a29a)['search'](h(0x1c7));});a29a();import a29e from'./play.command.js';function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x1b9;var f=c[d];return f;},a29d(a,b);}import{Command}from'../../command.js';import{execSync}from'child_process';function a29c(){var k=['constructor','8XOhInL','1029080pTNjbs','npx\x20command-line-pong\x20--no-install','Play\x20Pong:\x20https://github.com/liambloom/node-pong','pong','11496394Jtinym','208040xJmGmy','search','7802112ZnqDhF','1685367TerFaa','apply','695936ZvXgWI','toString','create','8AlJRsv','(((.+)+)+)+$','2956092nOnnAf'];a29c=function(){return k;};return a29c();}Command[a29i(0x1c5)]({'name':a29i(0x1bc),'usage':'maka\x20game:pong','shortDesc':a29i(0x1bb),'validOpts':[]},async function(){var j=a29i;execSync(j(0x1ba),{'stdio':'inherit'});},a29e);
1
+ var a29i=a29d;(function(a,b){var f=a29d,c=a();while(!![]){try{var d=parseInt(f(0x153))/0x1*(-parseInt(f(0x155))/0x2)+-parseInt(f(0x154))/0x3+-parseInt(f(0x160))/0x4+parseInt(f(0x15c))/0x5*(parseInt(f(0x158))/0x6)+parseInt(f(0x15e))/0x7*(-parseInt(f(0x151))/0x8)+-parseInt(f(0x15a))/0x9+parseInt(f(0x15d))/0xa*(parseInt(f(0x15f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xc826d));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a29d;if(c){var e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var h=a29d;return a29a[h(0x157)]()[h(0x152)]('(((.+)+)+)+$')['toString']()[h(0x161)](a29a)[h(0x152)](h(0x156));});a29a();import a29e from'./play.command.js';function a29c(){var k=['search','14AHomBZ','2834976JJqWqw','221658CuOlvA','(((.+)+)+)+$','toString','502914bbBIrj','pong','5315886wXKUcd','npx\x20command-line-pong\x20--no-install','70JURwXm','21922770pQaztV','931EOWjWB','22TgrYzz','4947672ewdqUr','constructor','inherit','Play\x20Pong:\x20https://github.com/liambloom/node-pong','apply','24904vHNleK'];a29c=function(){return k;};return a29c();}import{Command}from'../../command.js';function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x14f;var f=c[d];return f;},a29d(a,b);}import{execSync}from'child_process';Command['create']({'name':a29i(0x159),'usage':'maka\x20game:pong','shortDesc':a29i(0x14f),'validOpts':[]},async function(){var j=a29i;execSync(j(0x15b),{'stdio':j(0x162)});},a29e);
@@ -1 +1 @@
1
- var a30i=a30d;function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x128;var f=c[d];return f;},a30d(a,b);}function a30c(){var l=['getDescription','constructor','includes','10BKytdS','53592ZgOdyQ','rooms','verb','1145640PjhRgl','(((.+)+)+)+$','search','800685CZkVBh','3860vhgzhu','12LntcsM','357110IDdZNI','apply','description','324863bzrCSY','716596nbbMFp','actor','logger','getInstance'];a30c=function(){return l;};return a30c();}(function(a,b){var f=a30d,c=a();while(!![]){try{var d=-parseInt(f(0x130))/0x1+-parseInt(f(0x128))/0x2*(parseInt(f(0x129))/0x3)+parseInt(f(0x136))/0x4+-parseInt(f(0x132))/0x5*(parseInt(f(0x131))/0x6)+-parseInt(f(0x135))/0x7+parseInt(f(0x12c))/0x8+parseInt(f(0x12f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x1f776));var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a30d;if(c){var e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var h=a30d;return a30a['toString']()[h(0x12e)](h(0x12d))['toString']()[h(0x13b)](a30a)['search'](h(0x12d));});a30a();import{Direction}from'../types/enums.js';import{Logger}from'../utilities/logger.js';export class Command{static [a30i(0x12b)];static [a30i(0x134)];[a30i(0x137)];[a30i(0x12a)];[a30i(0x138)];['scene'];constructor(a){var j=a30i;this['actor']=a[j(0x137)],this[j(0x12a)]=a[j(0x12a)],this['logger']=Logger[j(0x139)]();}['isValidDirection'](a){var k=a30i;return Object['values'](Direction)[k(0x13c)](a);}static[a30i(0x13a)](){return this['description']||'No\x20description\x20available.';}}
1
+ var a30i=a30d;function a30c(){var l=['24OueopH','description','includes','toString','constructor','getInstance','actor','search','verb','1509210BdNYGc','4703553GejVgw','apply','(((.+)+)+)+$','values','8EKlPkC','rooms','1212436UFQwLQ','1072554gPkstH','scene','logger','867655taudmi','1202552jdXkdB','1849160eUssLu'];a30c=function(){return l;};return a30c();}(function(a,b){var f=a30d,c=a();while(!![]){try{var d=parseInt(f(0x1df))/0x1+-parseInt(f(0x1da))/0x2+parseInt(f(0x1ea))/0x3+-parseInt(f(0x1e0))/0x4+parseInt(f(0x1de))/0x5*(-parseInt(f(0x1e1))/0x6)+parseInt(f(0x1db))/0x7+-parseInt(f(0x1d8))/0x8*(-parseInt(f(0x1d4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x9714d));var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a30d;if(c){var e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var h=a30d;return a30a['toString']()['search']('(((.+)+)+)+$')[h(0x1e4)]()[h(0x1e5)](a30a)[h(0x1e8)](h(0x1d6));});function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x1d4;var f=c[d];return f;},a30d(a,b);}a30a();import{Direction}from'../types/enums.js';import{Logger}from'../utilities/logger.js';export class Command{static [a30i(0x1e9)];static [a30i(0x1e2)];[a30i(0x1e7)];['rooms'];[a30i(0x1dd)];[a30i(0x1dc)];constructor(a){var j=a30i;this[j(0x1e7)]=a[j(0x1e7)],this[j(0x1d9)]=a['rooms'],this[j(0x1dd)]=Logger[j(0x1e6)]();}['isValidDirection'](a){var k=a30i;return Object[k(0x1d7)](Direction)[k(0x1e3)](a);}static['getDescription'](){return this['description']||'No\x20description\x20available.';}}
@@ -1 +1 @@
1
- const a31i=a31d;function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0xad;let f=c[d];return f;},a31d(a,b);}(function(a,b){const f=a31d,c=a();while(!![]){try{const d=parseInt(f(0xb1))/0x1*(-parseInt(f(0xcb))/0x2)+-parseInt(f(0xc6))/0x3+parseInt(f(0xca))/0x4*(-parseInt(f(0xc4))/0x5)+parseInt(f(0xc2))/0x6*(parseInt(f(0xc5))/0x7)+parseInt(f(0xbe))/0x8+parseInt(f(0xb6))/0x9+parseInt(f(0xbb))/0xa*(parseInt(f(0xbd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xb02b9));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a31d;if(c){const e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const h=a31d;return a31a[h(0xc1)]()[h(0xae)](h(0xcf))[h(0xc1)]()['constructor'](a31a)['search']('(((.+)+)+)+$');});a31a();import{Command}from'./command.js';export class DropCommand extends Command{static ['verb']=a31i(0xbc);static ['description']=a31i(0xbf);[a31i(0xb3)](a){const j=a31i;return this[j(0xb8)][j(0xcd)](this['actor'][j(0xaf)]+j(0xad)+a[j(0xb7)]('\x20')),this['drop'](a);}[a31i(0xbc)](a){const k=a31i,b=a[k(0xb7)]('\x20')['toLowerCase']();if(!this['actor'][k(0xb4)][k(0xce)](b))return this[k(0xb8)]['write']('Item\x20\x22'+b+'\x22\x20not\x20found\x20in\x20'+this['actor'][k(0xaf)]+k(0xc8)),k(0xc0)+b+k(0xb2);const c=this[k(0xb9)][k(0xb4)][k(0xc3)](b);if(!c)return this[k(0xb8)][k(0xcd)]('Item\x20\x22'+b+k(0xba)+this['actor']['name']+k(0xc8)),k(0xc0)+b+'\x20in\x20your\x20inventory.';return this[k(0xb9)][k(0xb4)][k(0xd0)](b),this[k(0xb9)][k(0xb5)][k(0xb4)][k(0xc9)](c),this[k(0xb8)][k(0xcd)](this[k(0xb9)][k(0xaf)]+k(0xc7)+b+k(0xb0)),'You\x20dropped\x20'+b+'.';}}function a31c(){const l=['join','logger','actor','\x22\x20not\x20retrieved\x20from\x20','3397330FUQiWq','drop','77Wsemue','3897344AWsQdE','Drop\x20an\x20item\x20from\x20your\x20inventory.','You\x20don\x27t\x20have\x20','toString','8826QBlYxv','getItem','1215Oghgeu','4921olOJir','3794082mitsJo','\x20has\x20successfully\x20dropped\x20\x22','\x27s\x20inventory\x20during\x20\x27Drop\x27\x20command.','addItem','16584gCUJVH','537682bUHdYL','apply','write','hasItem','(((.+)+)+)+$','removeItem','\x20is\x20Attempting\x20\x27Drop\x27\x20command\x20with\x20item:\x20','search','name','\x22\x20from\x20inventory\x20to\x20room\x20during\x20\x27Drop\x27\x20command.','4blXZTH','\x20in\x20your\x20inventory.','execute','inventory','currentLocation','1527453bItDvj'];a31c=function(){return l;};return a31c();}
1
+ const a31i=a31d;(function(a,b){const f=a31d,c=a();while(!![]){try{const d=parseInt(f(0x119))/0x1+parseInt(f(0x116))/0x2+-parseInt(f(0x137))/0x3+-parseInt(f(0x11e))/0x4*(parseInt(f(0x126))/0x5)+-parseInt(f(0x11c))/0x6+parseInt(f(0x13b))/0x7*(-parseInt(f(0x136))/0x8)+parseInt(f(0x124))/0x9*(parseInt(f(0x139))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x62cea));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a31d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const h=a31d;return a31a['toString']()[h(0x122)]('(((.+)+)+)+$')[h(0x128)]()[h(0x118)](a31a)[h(0x122)](h(0x127));});a31a();function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x114;let f=c[d];return f;},a31d(a,b);}import{Command}from'./command.js';export class DropCommand extends Command{static [a31i(0x133)]=a31i(0x11a);static [a31i(0x135)]=a31i(0x11b);[a31i(0x123)](a){const j=a31i;return this[j(0x12b)][j(0x138)](this[j(0x134)]['name']+j(0x12d)+a[j(0x120)]('\x20')),this[j(0x11a)](a);}[a31i(0x11a)](a){const k=a31i,b=a[k(0x120)]('\x20')[k(0x13a)]();if(!this[k(0x134)]['inventory'][k(0x125)](b))return this[k(0x12b)][k(0x138)](k(0x121)+b+'\x22\x20not\x20found\x20in\x20'+this[k(0x134)][k(0x11d)]+k(0x132)),k(0x11f)+b+'\x20in\x20your\x20inventory.';const c=this[k(0x134)][k(0x12f)][k(0x129)](b);if(!c)return this[k(0x12b)]['write'](k(0x121)+b+k(0x12a)+this[k(0x134)][k(0x11d)]+k(0x132)),k(0x11f)+b+k(0x12e);return this[k(0x134)][k(0x12f)]['removeItem'](b),this[k(0x134)][k(0x12c)]['inventory'][k(0x117)](c),this['logger'][k(0x138)](this[k(0x134)][k(0x11d)]+k(0x115)+b+k(0x114)),k(0x130)+b+'.';}}function a31c(){const l=['drop','Drop\x20an\x20item\x20from\x20your\x20inventory.','3489696TJpWgK','name','286820QJPaed','You\x20don\x27t\x20have\x20','join','Item\x20\x22','search','execute','10485LdapEU','hasItem','15UtiSVU','(((.+)+)+)+$','toString','getItem','\x22\x20not\x20retrieved\x20from\x20','logger','currentLocation','\x20is\x20Attempting\x20\x27Drop\x27\x20command\x20with\x20item:\x20','\x20in\x20your\x20inventory.','inventory','You\x20dropped\x20','apply','\x27s\x20inventory\x20during\x20\x27Drop\x27\x20command.','verb','actor','description','4786552VsXusC','2212476bEXkTy','write','15650ojjaHx','toLowerCase','7TrGsei','\x22\x20from\x20inventory\x20to\x20room\x20during\x20\x27Drop\x27\x20command.','\x20has\x20successfully\x20dropped\x20\x22','1424646NmCZNK','addItem','constructor','1708xfiPPV'];a31c=function(){return l;};return a31c();}
@@ -1 +1 @@
1
- const a32i=a32d;(function(a,b){const f=a32d,c=a();while(!![]){try{const d=parseInt(f(0x95))/0x1*(parseInt(f(0x88))/0x2)+parseInt(f(0x99))/0x3+-parseInt(f(0x97))/0x4*(parseInt(f(0x77))/0x5)+-parseInt(f(0x8c))/0x6*(-parseInt(f(0x81))/0x7)+parseInt(f(0x8f))/0x8+-parseInt(f(0x8b))/0x9+-parseInt(f(0x7e))/0xa*(parseInt(f(0x85))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x69e7f));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a32d;if(c){const e=c[g(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const h=a32d;return a32a[h(0x96)]()[h(0x8e)]('(((.+)+)+)+$')[h(0x96)]()[h(0x98)](a32a)[h(0x8e)](h(0x7c));});a32a();function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x77;let f=c[d];return f;},a32d(a,b);}import{Command}from'./command.js';function a32c(){const l=['\x20room.','search','6367664YWAcpi','name','currentLocation','inventory','toLowerCase','You\x20don\x27t\x20have\x20','101SNFZxJ','toString','64GUVriL','constructor','1068771QhGZxL','description','144560FLSAZK','\x27s\x20inventory.','error','EquipCommand:\x20','equip','(((.+)+)+)+$','\x20in\x20your\x20inventory,\x20and\x20it\x27s\x20not\x20in\x20this\x20room.','10KLNYoj','write','Equip\x20an\x20item.','382172qTzNlZ','logger','verb','actor','13772605GZFIrt','addItem','\x20not\x20found\x20in\x20','12094qgEtUQ','getItem','apply','2427084NlfVQY','72xcVltB'];a32c=function(){return l;};return a32c();}export class EquipCommand extends Command{static [a32i(0x83)]=a32i(0x7b);static [a32i(0x9a)]=a32i(0x80);['execute'](a){const j=a32i;return this[j(0x7b)](a);}[a32i(0x7b)](a){const k=a32i,b=a['join']('\x20')[k(0x93)]();let c=this['actor']['inventory'][k(0x89)](b);if(!c){const e=this[k(0x84)]['currentLocation'];c=e[k(0x92)][k(0x89)](b);if(c)this[k(0x84)]['inventory'][k(0x86)](c),e[k(0x92)]['removeItem'](b),this['logger'][k(0x7f)](k(0x7a)+b+'\x20taken\x20from\x20room\x20and\x20added\x20to\x20'+this[k(0x84)]['name']+k(0x78));else return this['logger'][k(0x79)](k(0x7a)+b+k(0x87)+this[k(0x84)][k(0x90)]+'\x20inventory\x20or\x20'+this['actor'][k(0x91)][k(0x90)]+k(0x8d)),k(0x94)+b+k(0x7d);}const d=this['actor'][k(0x7b)](c);return this[k(0x82)][k(0x7f)]('EquipCommand:\x20'+d),d;}}
1
+ const a32i=a32d;(function(a,b){const f=a32d,c=a();while(!![]){try{const d=-parseInt(f(0x11c))/0x1+parseInt(f(0x11f))/0x2*(-parseInt(f(0x121))/0x3)+-parseInt(f(0x10f))/0x4*(-parseInt(f(0x10b))/0x5)+-parseInt(f(0x106))/0x6+parseInt(f(0x125))/0x7+-parseInt(f(0x108))/0x8+-parseInt(f(0x10c))/0x9*(-parseInt(f(0x124))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0xbc886));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a32d;if(c){const e=c[g(0x11b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const h=a32d;return a32a[h(0x115)]()[h(0x118)](h(0x120))[h(0x115)]()[h(0x119)](a32a)[h(0x118)](h(0x120));});a32a();function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x105;let f=c[d];return f;},a32d(a,b);}import{Command}from'./command.js';export class EquipCommand extends Command{static [a32i(0x11d)]=a32i(0x112);static ['description']='Equip\x20an\x20item.';[a32i(0x116)](a){const j=a32i;return this[j(0x112)](a);}[a32i(0x112)](a){const k=a32i,b=a[k(0x10a)]('\x20')[k(0x110)]();let c=this['actor'][k(0x128)][k(0x105)](b);if(!c){const e=this[k(0x11e)][k(0x109)];c=e[k(0x128)]['getItem'](b);if(c)this[k(0x11e)]['inventory'][k(0x129)](c),e[k(0x128)][k(0x111)](b),this[k(0x11a)][k(0x107)](k(0x114)+b+k(0x113)+this['actor'][k(0x117)]+k(0x126));else return this['logger'][k(0x123)](k(0x114)+b+'\x20not\x20found\x20in\x20'+this[k(0x11e)][k(0x117)]+k(0x127)+this['actor'][k(0x109)][k(0x117)]+k(0x122)),k(0x10d)+b+k(0x10e);}const d=this[k(0x11e)][k(0x112)](c);return this['logger']['write'](k(0x114)+d),d;}}function a32c(){const l=['1057441fiiosy','verb','actor','1198LPfHMc','(((.+)+)+)+$','3561WJBpEJ','\x20room.','error','10592570HrJTEh','1468943tomSkm','\x27s\x20inventory.','\x20inventory\x20or\x20','inventory','addItem','getItem','1674072qikjon','write','6320720JMvuTm','currentLocation','join','20085TNKpgi','18EVlHGO','You\x20don\x27t\x20have\x20','\x20in\x20your\x20inventory,\x20and\x20it\x27s\x20not\x20in\x20this\x20room.','1276KePQyF','toLowerCase','removeItem','equip','\x20taken\x20from\x20room\x20and\x20added\x20to\x20','EquipCommand:\x20','toString','execute','name','search','constructor','logger','apply'];a32c=function(){return l;};return a32c();}
@@ -1 +1 @@
1
- const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=parseInt(g(0xff))/0x1*(-parseInt(g(0x110))/0x2)+parseInt(g(0xfd))/0x3*(parseInt(g(0x102))/0x4)+parseInt(g(0x104))/0x5+-parseInt(g(0x113))/0x6+-parseInt(g(0x11c))/0x7+parseInt(g(0x114))/0x8*(-parseInt(g(0x11b))/0x9)+parseInt(g(0xfb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xf3e65));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a[i(0x127)]()['search'](i(0x115))[i(0x127)]()[i(0x10b)](a33a)[i(0x106)]('(((.+)+)+)+$');});a33a();import{Door}from'../models/door.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xfb;let f=c[d];return f;},a33d(a,b);}import{Command}from'./command.js';export class GoCommand extends Command{static [a33j(0x126)]='go';static [a33j(0x103)]=a33j(0x119);[a33j(0x12d)](a){const k=a33j;return this[k(0x11a)]['write'](this[k(0x125)][k(0x12c)]+k(0x112)+a[k(0x105)]('\x20')),this['go'](a);}['go'](a){const l=a33j;if(a[l(0x11f)]===0x0)return this['logger'][l(0x118)](this[l(0x125)][l(0x12c)]+l(0xfc)),l(0x12a);const b=a[0x0][l(0x111)]();if(!this[l(0x120)](b))return this[l(0x11a)][l(0x118)](this[l(0x125)][l(0x12c)]+l(0x10c)+b+l(0x11e)),l(0x109);const c=this['actor']['currentLocation'];if(!c)return this[l(0x11a)]['error'](this['actor']['name']+l(0x123)),l(0x10a);const d=c[l(0x117)](b);if(!d)return this[l(0x11a)][l(0x118)](this['actor'][l(0x12c)]+l(0x12b)+b+l(0x122)),l(0x100);if(d instanceof Door){if(d[l(0x124)]())return l(0x121)+b+l(0x128);const e=d[l(0x10f)](c);if(!e)return this[l(0x11a)][l(0x108)](this[l(0x125)][l(0x12c)]+l(0x10e)),l(0x129);this[l(0x125)][l(0x11d)]=e;}else{const f=this[l(0x101)]&&this['rooms'][d];if(!f)return this[l(0x11a)][l(0x108)](this[l(0x125)][l(0x12c)]+l(0xfe)+d+l(0x116)),'There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.';this[l(0x125)]['currentLocation']=f;}return this[l(0x11a)][l(0x118)](this[l(0x125)][l(0x12c)]+l(0x107)+(this[l(0x125)][l(0x11d)]['name']||l(0x10d))+'.'),this[l(0x125)][l(0x11d)][l(0x103)];}}function a33c(){const m=['verb','toString','\x22\x20is\x20locked.','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','Please\x20specify\x20a\x20direction\x20to\x20go.','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','name','execute','apply','35286700mGhiSM','\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.','87ElhImo','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22','1vUbwXq','You\x20can\x27t\x20go\x20that\x20way.','rooms','57272mAQySN','description','3690855cnCukm','join','search','\x20moved\x20to\x20room:\x20','error','That\x20is\x20not\x20a\x20way\x20to\x20go','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','constructor','\x20attempted\x20to\x20go\x20','Unnamed\x20room','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','getOtherSide','1983524NVBxTj','toLowerCase','\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20','1603278eUmmdb','1384gKrQhL','(((.+)+)+)+$','\x22\x20not\x20found.','getExit','write','Move\x20in\x20the\x20specified\x20direction.','logger','33237vBAuDA','12496302rqiZqZ','currentLocation','\x20which\x20is\x20not\x20valid.','length','isValidDirection','The\x20door\x20in\x20the\x20direction\x20\x22','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','checkIfLocked','actor'];a33c=function(){return m;};return a33c();}
1
+ const a33j=a33d;function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a33d(a,b);}(function(a,b){const g=a33d,c=a();while(!![]){try{const d=parseInt(g(0x222))/0x1*(-parseInt(g(0x20e))/0x2)+parseInt(g(0x21b))/0x3*(-parseInt(g(0x210))/0x4)+-parseInt(g(0x21d))/0x5+parseInt(g(0x221))/0x6*(parseInt(g(0x223))/0x7)+parseInt(g(0x211))/0x8*(-parseInt(g(0x21e))/0x9)+parseInt(g(0x217))/0xa*(parseInt(g(0x208))/0xb)+parseInt(g(0x20d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x781e8));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a[i(0x204)]()[i(0x203)](i(0x21f))[i(0x204)]()[i(0x201)](a33a)['search']('(((.+)+)+)+$');});a33a();import{Door}from'../models/door.js';function a33c(){const m=['8qVoxYp','8ImgpGk','rooms','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','getOtherSide','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','actor','547720kkeIrd','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','You\x20can\x27t\x20go\x20that\x20way.','959160CxQoHM','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','2888735mhivRJ','2911176KfMmnH','(((.+)+)+)+$','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22','2102520FouiQq','15913feBxVx','7rHdufC','\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20','\x20moved\x20to\x20room:\x20','Unnamed\x20room','description','error','\x20which\x20is\x20not\x20valid.','name','checkIfLocked','currentLocation','length','Please\x20specify\x20a\x20direction\x20to\x20go.','\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.','isValidDirection','logger','constructor','write','search','toString','getExit','\x22\x20is\x20locked.','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','22uNlGEZ','Move\x20in\x20the\x20specified\x20direction.','\x20attempted\x20to\x20go\x20','toLowerCase','apply','23073372LvbHfH','44GxMAzG','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.'];a33c=function(){return m;};return a33c();}import{Command}from'./command.js';export class GoCommand extends Command{static ['verb']='go';static ['description']=a33j(0x209);['execute'](a){const k=a33j;return this['logger'][k(0x202)](this['actor'][k(0x1f9)]+k(0x1f3)+a['join']('\x20')),this['go'](a);}['go'](a){const l=a33j;if(a[l(0x1fc)]===0x0)return this['logger'][l(0x202)](this[l(0x216)][l(0x1f9)]+l(0x1fe)),l(0x1fd);const b=a[0x0][l(0x20b)]();if(!this[l(0x1ff)](b))return this[l(0x200)][l(0x202)](this[l(0x216)]['name']+l(0x20a)+b+l(0x1f8)),'That\x20is\x20not\x20a\x20way\x20to\x20go';const c=this[l(0x216)][l(0x1fb)];if(!c)return this[l(0x200)]['error'](this[l(0x216)][l(0x1f9)]+l(0x219)),l(0x207);const d=c[l(0x205)](b);if(!d)return this['logger'][l(0x202)](this['actor']['name']+l(0x215)+b+l(0x213)),l(0x21a);if(d instanceof Door){if(d[l(0x1fa)]())return'The\x20door\x20in\x20the\x20direction\x20\x22'+b+l(0x206);const e=d[l(0x214)](c);if(!e)return this['logger']['error'](this[l(0x216)][l(0x1f9)]+l(0x20f)),l(0x21c);this['actor']['currentLocation']=e;}else{const f=this[l(0x212)]&&this[l(0x212)][d];if(!f)return this[l(0x200)][l(0x1f7)](this[l(0x216)][l(0x1f9)]+l(0x220)+d+'\x22\x20not\x20found.'),l(0x218);this[l(0x216)][l(0x1fb)]=f;}return this['logger'][l(0x202)](this['actor'][l(0x1f9)]+l(0x1f4)+(this[l(0x216)]['currentLocation'][l(0x1f9)]||l(0x1f5))+'.'),this[l(0x216)][l(0x1fb)][l(0x1f6)];}}
@@ -1 +1 @@
1
- const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x99))/0x1+-parseInt(f(0xac))/0x2*(-parseInt(f(0xa3))/0x3)+parseInt(f(0xb2))/0x4*(-parseInt(f(0x9b))/0x5)+-parseInt(f(0xa6))/0x6+-parseInt(f(0x96))/0x7+-parseInt(f(0xb1))/0x8*(parseInt(f(0xaf))/0x9)+parseInt(f(0xa8))/0xa*(parseInt(f(0xa2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x82d5f));function a34c(){const k=['search','\x22\x20is\x20already\x20locked.','error','execute','\x20Locked\x20the\x20','name','\x20door.','has','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','LockCommand:\x20','get','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','The\x20door\x20named\x20\x22','logger','4651612jwRpNa','currentLocation','constructor','50077hQGBUZ','hasItem','19705gjSlCV','write','(((.+)+)+)+$','toString','isValidDirection','toLowerCase','exits','187814BMelUw','3uAbKWb','lock','unlockItemOrSolution','6368076uyZXEW','There\x27s\x20no\x20door\x20named\x20\x22','950HIWqgl','Lock\x20a\x20door.','apply','length','1900538bKjUiN','verb','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','3222QByJHE','actor','4976ljqenE','140PAiaAj','\x22\x20here.'];a34c=function(){return k;};return a34c();}const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x9e)]()['search'](h(0x9d))[h(0x9e)]()[h(0x98)](a34a)[h(0xb4)](h(0x9d));});a34a();function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x8a;let f=c[d];return f;},a34d(a,b);}import{Command}from'./command.js';export class LockCommand extends Command{static [a34i(0xad)]=a34i(0xa4);static ['description']=a34i(0xa9);[a34i(0x8a)](a){return this['lock'](a);}[a34i(0xa4)](a){const j=a34i;if(a[j(0xab)]===0x0)return this[j(0x95)][j(0xb6)]('LockCommand:\x20No\x20target\x20specified.'),j(0x90);const b=a[0x0][j(0xa0)](),c=this[j(0xb0)][j(0x97)];if(this[j(0x9f)](b)&&c[j(0xa1)][j(0x8e)](b)){const d=c[j(0xa1)][j(0x92)](b);if(d['isLocked'])return j(0x94)+b+j(0xb5);const e=d[j(0xa5)]?.[j(0xa0)]();return e&&this[j(0xb0)]['inventory'][j(0x9a)](e)?(d['isLocked']=!![],this[j(0x95)]['write']('LockCommand:\x20'+this[j(0xb0)][j(0x8c)]+j(0x8b)+b+j(0x8d)),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this[j(0x95)][j(0x9c)](j(0x91)+this[j(0xb0)][j(0x8c)]+j(0xae)+b+'.'),j(0x93));}else return this[j(0x95)]['write'](j(0x91)+b+j(0x8f)),j(0xa7)+b+j(0xb3);}}
1
+ const a34i=a34d;function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x105;let f=c[d];return f;},a34d(a,b);}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x11d))/0x1+-parseInt(f(0x12b))/0x2+-parseInt(f(0x119))/0x3*(parseInt(f(0x109))/0x4)+parseInt(f(0x129))/0x5*(parseInt(f(0x115))/0x6)+parseInt(f(0x11c))/0x7*(parseInt(f(0x106))/0x8)+parseInt(f(0x120))/0x9*(parseInt(f(0x133))/0xa)+parseInt(f(0x121))/0xb*(-parseInt(f(0x12c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xc6159));function a34c(){const l=['toLowerCase','LockCommand:\x20','currentLocation','You\x20locked\x20the\x20door\x20named\x20\x22','toString','length','execute','name','6MiXsAT','The\x20door\x20named\x20\x22','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','search','72apQJZm','\x20door.','logger','2247iMOwHt','1556399zhLMAd','apply','(((.+)+)+)+$','270333siJYzy','11rJNuyh','get','write','exits','verb','has','hasItem','\x22\x20is\x20already\x20locked.','3413885IxRuhb','description','2541038tziqSz','27961656ExMeoa','LockCommand:\x20No\x20target\x20specified.','\x22\x20here.','constructor','isLocked','actor','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','510dGXivc','lock','30808kcsgLp','There\x27s\x20no\x20door\x20named\x20\x22','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','99204szmFXP','unlockItemOrSolution','inventory','Lock\x20a\x20door.'];a34c=function(){return l;};return a34c();}const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x111)]()[h(0x118)]('(((.+)+)+)+$')[h(0x111)]()[h(0x12f)](a34a)[h(0x118)](h(0x11f));});a34a();import{Command}from'./command.js';export class LockCommand extends Command{static [a34i(0x125)]='lock';static [a34i(0x12a)]=a34i(0x10c);[a34i(0x113)](a){const j=a34i;return this[j(0x105)](a);}[a34i(0x105)](a){const k=a34i;if(a[k(0x112)]===0x0)return this[k(0x11b)]['error'](k(0x12d)),k(0x108);const b=a[0x0][k(0x10d)](),c=this[k(0x131)][k(0x10f)];if(this['isValidDirection'](b)&&c[k(0x124)][k(0x126)](b)){const d=c[k(0x124)][k(0x122)](b);if(d[k(0x130)])return k(0x116)+b+k(0x128);const e=d[k(0x10a)]?.[k(0x10d)]();return e&&this[k(0x131)][k(0x10b)][k(0x127)](e)?(d[k(0x130)]=!![],this[k(0x11b)]['write']('LockCommand:\x20'+this['actor'][k(0x114)]+'\x20Locked\x20the\x20'+b+k(0x11a)),k(0x110)+b+'\x22.'):(this[k(0x11b)]['write'](k(0x10e)+this[k(0x131)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),k(0x117));}else return this[k(0x11b)][k(0x123)]('LockCommand:\x20'+b+k(0x132)),k(0x107)+b+k(0x12e);}}
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x1a4))/0x1+parseInt(f(0x1ad))/0x2+parseInt(f(0x1aa))/0x3*(-parseInt(f(0x1bf))/0x4)+-parseInt(f(0x1c5))/0x5+-parseInt(f(0x195))/0x6+parseInt(f(0x1b4))/0x7*(-parseInt(f(0x1bd))/0x8)+parseInt(f(0x1a5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xefc24));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x1ac)]()[h(0x19f)](h(0x1c0))['toString']()[h(0x19b)](a35a)[h(0x19f)]('(((.+)+)+)+$');});a35a();import{Door}from'../models/door.js';function a35c(){const n=['exits','6227170iEKuLf','get','currentLocation','7494132BamqSI','You\x20cannot\x20see\x20through','look','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','\x20is\x20looking\x20around\x20the\x20current\x20room.','You\x20cannot\x20see\x20','constructor','Below\x20you,\x20','actor','inspectItem','search','rooms','description','puzzle','string','943331EXSLMs','32852376tHnpXR','OUTSIDE','inventory','name',',\x20you\x20see\x20','87JoGOql','execute','toString','1445394AHXUIE','Executing\x20\x27Look\x27\x20command.','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','isValidDirection','apply','write','11781kQuuzg','lookOutside','getOtherSide','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','logger','You\x27re\x20not\x20in\x20a\x20valid\x20room.','Looking\x20at\x20item\x20\x27','verb','error','2744eesvMG','\x20inventory.','174140lEDJbk','(((.+)+)+)+$','hasItem','Above\x20you,\x20','getItem'];a35c=function(){return n;};return a35c();}import{RoomType}from'../types/enums.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x193;let f=c[d];return f;},a35d(a,b);}import{Command}from'./command.js';export class LookCommand extends Command{static [a35i(0x1bb)]=a35i(0x197);static [a35i(0x1a1)]='Examine\x20your\x20surroundings';[a35i(0x1ab)](a=[]){const j=a35i;this[j(0x1b8)][j(0x1b3)](j(0x1ae));const b=a['join']('\x20');if(b){if(this['actor'][j(0x1a7)]['hasItem'](b))return this[j(0x1b8)][j(0x1b3)](j(0x1ba)+b+'\x27\x20in\x20'+this[j(0x19d)][j(0x1a8)]+j(0x1be)),this['inspectItem'](b,this[j(0x19d)][j(0x1a7)]);else{if(this[j(0x19d)][j(0x194)][j(0x1a7)][j(0x1c1)](b))return this[j(0x1b8)][j(0x1b3)]('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0x19e)](b,this[j(0x19d)][j(0x194)][j(0x1a7)]);else return this[j(0x1b1)](b)?(this['logger'][j(0x1b3)](j(0x1b0)+b+'\x27.'),this[j(0x1b5)](b)):j(0x19a)+b;}}else return this[j(0x1b8)][j(0x1b3)](this[j(0x19d)]['name']+j(0x199)),this[j(0x197)]();}[a35i(0x197)](){const k=a35i,a=this[k(0x19d)][k(0x194)];if(!a)return this[k(0x1b8)][k(0x1bc)](this['actor']['name']+k(0x1af)),k(0x1b9);let b=a[k(0x1a1)];return a[k(0x1a2)]&&(b+='\x0a'+a[k(0x1a2)]['riddle']),b;}[a35i(0x1b5)](a){const l=a35i,b=this['actor']['currentLocation'];if(!b)return this[l(0x1b8)][l(0x1bc)](this[l(0x19d)]['name']+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b[l(0x1c4)][l(0x193)](a);if(!c)return l(0x1b7)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1b6)](b);else{if(typeof c===l(0x1a3)){d=this[l(0x1a0)]&&this[l(0x1a0)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return l(0x198)+a+'\x22.';}if(d['roomType']===RoomType[l(0x1a6)]){if(a==='up')return l(0x1c2)+d[l(0x1a1)];else return a==='down'?l(0x19c)+d['description']:'To\x20the\x20'+a+l(0x1a9)+d[l(0x1a1)];}else return l(0x196);}[a35i(0x19e)](a,b){const m=a35i,c=b[m(0x1c3)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+'\x20here.';return c[m(0x1a1)]||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
1
+ function a35c(){const m=['down','4016925ohgTAK','puzzle','rooms','inventory','\x27\x20in\x20current\x20room\x20inventory.','toString','3843670zJnEzQ','You\x20cannot\x20see\x20through','1757904pxHQGL','You\x20cannot\x20see\x20','You\x27re\x20not\x20in\x20a\x20valid\x20room.','logger','You\x20don\x27t\x20see\x20any\x20','string','\x20inventory.','look','11HqJRJK','name','search','riddle','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','constructor','\x20is\x20looking\x20around\x20the\x20current\x20room.','write','Below\x20you,\x20','error','isValidDirection','lookOutside','1qogLPq','Executing\x20\x27Look\x27\x20command.','getOtherSide','description','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','inspectItem','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','721572ZKquEX','1531854bIKWeF','12liAtQs','(((.+)+)+)+$','It\x27s\x20just\x20a\x20regular\x20','actor','hasItem','8qHEGJv','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','Examine\x20your\x20surroundings','verb','OUTSIDE','\x20here.','\x27\x20in\x20','7440327rhjZkY','currentLocation','6336050kXaSSh','roomType','Above\x20you,\x20','join','Looking\x20at\x20item\x20\x27','exits'];a35c=function(){return m;};return a35c();}const a35h=a35d;function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x183;let f=c[d];return f;},a35d(a,b);}(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x1a1))/0x1*(-parseInt(f(0x1a9))/0x2)+parseInt(f(0x1a8))/0x3*(parseInt(f(0x1aa))/0x4)+parseInt(f(0x185))/0x5+-parseInt(f(0x18d))/0x6+-parseInt(f(0x1b8))/0x7+-parseInt(f(0x1af))/0x8*(-parseInt(f(0x1b6))/0x9)+-parseInt(f(0x18b))/0xa*(-parseInt(f(0x195))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xbc77e));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const g=a35d;return a35a['toString']()[g(0x197)](g(0x1ab))[g(0x18a)]()[g(0x19a)](a35a)[g(0x197)](g(0x1ab));});a35a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a35h(0x1b2)]=a35h(0x194);static [a35h(0x1a4)]=a35h(0x1b1);['execute'](a=[]){const i=a35h;this[i(0x190)][i(0x19c)](i(0x1a2));const b=a[i(0x1bb)]('\x20');if(b){if(this[i(0x1ad)][i(0x188)][i(0x1ae)](b))return this[i(0x190)][i(0x19c)](i(0x1bc)+b+i(0x1b5)+this[i(0x1ad)]['name']+i(0x193)),this['inspectItem'](b,this[i(0x1ad)][i(0x188)]);else{if(this['actor'][i(0x1b7)][i(0x188)]['hasItem'](b))return this[i(0x190)]['write'](i(0x1bc)+b+i(0x189)),this[i(0x1a6)](b,this[i(0x1ad)][i(0x1b7)][i(0x188)]);else return this[i(0x19f)](b)?(this[i(0x190)][i(0x19c)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[i(0x1a0)](b)):i(0x18e)+b;}}else return this[i(0x190)][i(0x19c)](this[i(0x1ad)][i(0x196)]+i(0x19b)),this[i(0x194)]();}[a35h(0x194)](){const j=a35h,a=this[j(0x1ad)][j(0x1b7)];if(!a)return this[j(0x190)][j(0x19e)](this[j(0x1ad)][j(0x196)]+j(0x199)),j(0x18f);let b=a[j(0x1a4)];return a[j(0x186)]&&(b+='\x0a'+a[j(0x186)][j(0x198)]),b;}[a35h(0x1a0)](a){const k=a35h,b=this['actor'][k(0x1b7)];if(!b)return this[k(0x190)]['error'](this[k(0x1ad)][k(0x196)]+k(0x199)),k(0x18f);const c=b[k(0x183)]['get'](a);if(!c)return k(0x1a5)+a+'\x22.';let d;if(c instanceof Door)d=c[k(0x1a3)](b);else{if(typeof c===k(0x192)){d=this[k(0x187)]&&this[k(0x187)][c];if(!d)return k(0x1b0)+a+'\x22.';}else return k(0x1a7)+a+'\x22.';}if(d[k(0x1b9)]===RoomType[k(0x1b3)]){if(a==='up')return k(0x1ba)+d[k(0x1a4)];else return a===k(0x184)?k(0x19d)+d['description']:'To\x20the\x20'+a+',\x20you\x20see\x20'+d['description'];}else return k(0x18c);}[a35h(0x1a6)](a,b){const l=a35h,c=b['getItem'](a);if(!c)return l(0x191)+a+l(0x1b4);return c['description']||l(0x1ac)+a+'.';}}