@maka/maka-cli 5.1.16 → 5.1.18

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 (645) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/testCmd/_index.js +1 -1
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/uninstall.js +1 -1
  105. package/bundle/obf/src/commands/version/_index.js +1 -1
  106. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
  107. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
  108. package/bundle/obf/src/commands/version/version.js +1 -1
  109. package/bundle/obf/src/error.js +1 -1
  110. package/bundle/obf/src/exec.js +1 -1
  111. package/bundle/obf/src/generator.js +1 -1
  112. package/bundle/obf/src/generators/_index.js +1 -1
  113. package/bundle/obf/src/generators/api.js +1 -1
  114. package/bundle/obf/src/generators/aws/_index.js +1 -1
  115. package/bundle/obf/src/generators/aws/aws.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  118. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  119. package/bundle/obf/src/generators/collection.js +1 -1
  120. package/bundle/obf/src/generators/component.js +1 -1
  121. package/bundle/obf/src/generators/config.js +1 -1
  122. package/bundle/obf/src/generators/dbc.js +1 -1
  123. package/bundle/obf/src/generators/dockerfile.js +1 -1
  124. package/bundle/obf/src/generators/hook.js +1 -1
  125. package/bundle/obf/src/generators/kits/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  132. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/kit.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  137. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  138. package/bundle/obf/src/generators/layout.js +1 -1
  139. package/bundle/obf/src/generators/maka.gen.js +1 -1
  140. package/bundle/obf/src/generators/methods.js +1 -1
  141. package/bundle/obf/src/generators/package.js +1 -1
  142. package/bundle/obf/src/generators/page.js +1 -1
  143. package/bundle/obf/src/generators/publish.js +1 -1
  144. package/bundle/obf/src/generators/route.js +1 -1
  145. package/bundle/obf/src/generators/service.js +1 -1
  146. package/bundle/obf/src/generators/services/_index.js +1 -1
  147. package/bundle/obf/src/generators/services/openssl.js +1 -1
  148. package/bundle/obf/src/generators/services/translation.js +1 -1
  149. package/bundle/obf/src/maka.js +1 -1
  150. package/bundle/obf/src/templates/react/test/test.js +1 -0
  151. package/bundle/obf/src/templates/react/test/test.js.jsx +38 -0
  152. package/bundle/obf/src/templates/react/test/test.js.ts +1 -0
  153. package/bundle/obf/src/templates/react/test/test.js.tsx +38 -0
  154. package/bundle/obf/src/templates/service/test/jest/jest.config.js +6 -0
  155. package/bundle/obf/src/templates/service/test/jest/jest.setup.js +7 -0
  156. package/bundle/obf/src/tool.js +1 -1
  157. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  158. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  159. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  161. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  162. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  164. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/https/https.class.js +1 -1
  166. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  167. package/bundle/obf/src/tools/log/log.class.js +1 -1
  168. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  170. package/bundle/obf/src/tools/options/options.class.js +1 -1
  171. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  172. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  173. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  174. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  175. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  176. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  177. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  178. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  179. package/package.json +1 -1
  180. package/test/integration/default.test.js +84 -0
  181. package/test/integration/fixtures/blaze/.maka/config.json +30 -0
  182. package/test/integration/fixtures/blaze/.tern-project +17 -0
  183. package/test/integration/fixtures/blaze/app/.meteor/.finished-upgraders +17 -0
  184. package/test/integration/fixtures/blaze/app/.meteor/.id +7 -0
  185. package/test/integration/fixtures/blaze/app/.meteor/packages +21 -0
  186. package/test/integration/fixtures/blaze/app/.meteor/platforms +2 -0
  187. package/test/integration/fixtures/blaze/app/.meteor/release +1 -0
  188. package/test/integration/fixtures/blaze/app/.meteor/versions +78 -0
  189. package/test/integration/fixtures/blaze/app/client/.gitkeep +1 -0
  190. package/test/integration/fixtures/blaze/app/client/body.html +2 -0
  191. package/test/integration/fixtures/blaze/app/client/head.html +8 -0
  192. package/test/integration/fixtures/blaze/app/client/main.js +1 -0
  193. package/test/integration/fixtures/blaze/app/imports/api/.gitkeep +1 -0
  194. package/test/integration/fixtures/blaze/app/imports/startup/client/index.js +3 -0
  195. package/test/integration/fixtures/blaze/app/imports/startup/client/routes.js +25 -0
  196. package/test/integration/fixtures/blaze/app/imports/startup/client/templates.js +15 -0
  197. package/test/integration/fixtures/blaze/app/imports/startup/lib/index.js +1 -0
  198. package/test/integration/fixtures/blaze/app/imports/startup/server/index.js +1 -0
  199. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  200. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.html +3 -0
  201. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.js +29 -0
  202. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.css +5 -0
  203. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.html +5 -0
  204. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.js +53 -0
  205. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.css +5 -0
  206. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.html +5 -0
  207. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.js +53 -0
  208. package/test/integration/fixtures/blaze/app/imports/ui/test-helpers.js +25 -0
  209. package/test/integration/fixtures/blaze/app/lib/.gitkeep +1 -0
  210. package/test/integration/fixtures/blaze/app/lib/main.js +1 -0
  211. package/test/integration/fixtures/blaze/app/packages/.gitkeep +1 -0
  212. package/test/integration/fixtures/blaze/app/private/.gitkeep +1 -0
  213. package/test/integration/fixtures/blaze/app/public/.gitkeep +1 -0
  214. package/test/integration/fixtures/blaze/app/public/favicon.ico +0 -0
  215. package/test/integration/fixtures/blaze/app/server/.gitkeep +1 -0
  216. package/test/integration/fixtures/blaze/app/server/main.js +1 -0
  217. package/test/integration/fixtures/blaze/bin/.gitkeep +1 -0
  218. package/test/integration/fixtures/blaze/build/.gitkeep +1 -0
  219. package/test/integration/fixtures/blaze/build/README +4 -0
  220. package/test/integration/fixtures/blaze/config/.gitkeep +1 -0
  221. package/test/integration/fixtures/blaze/config/development/env.sh +9 -0
  222. package/test/integration/fixtures/blaze/config/development/settings.json +6 -0
  223. package/test/integration/fixtures/blaze/config/production/env.sh +9 -0
  224. package/test/integration/fixtures/blaze/config/production/settings.json +6 -0
  225. package/test/integration/fixtures/blaze/config/staging/env.sh +9 -0
  226. package/test/integration/fixtures/blaze/config/staging/settings.json +6 -0
  227. package/test/integration/fixtures/react/.maka/config.json +30 -0
  228. package/test/integration/fixtures/react/.tern-project +17 -0
  229. package/test/integration/fixtures/react/app/.meteor/.finished-upgraders +17 -0
  230. package/test/integration/fixtures/react/app/.meteor/.id +7 -0
  231. package/test/integration/fixtures/react/app/.meteor/packages +21 -0
  232. package/test/integration/fixtures/react/app/.meteor/platforms +2 -0
  233. package/test/integration/fixtures/react/app/.meteor/release +1 -0
  234. package/test/integration/fixtures/react/app/.meteor/versions +78 -0
  235. package/test/integration/fixtures/react/app/client/.gitkeep +1 -0
  236. package/test/integration/fixtures/react/app/client/body.html +3 -0
  237. package/test/integration/fixtures/react/app/client/head.html +8 -0
  238. package/test/integration/fixtures/react/app/client/main.jsx +1 -0
  239. package/test/integration/fixtures/react/app/imports/api/.gitkeep +1 -0
  240. package/test/integration/fixtures/react/app/imports/startup/client/index.jsx +12 -0
  241. package/test/integration/fixtures/react/app/imports/startup/client/routes.jsx +24 -0
  242. package/test/integration/fixtures/react/app/imports/startup/client/templates.jsx +21 -0
  243. package/test/integration/fixtures/react/app/imports/startup/lib/index.jsx +1 -0
  244. package/test/integration/fixtures/react/app/imports/startup/server/index.jsx +1 -0
  245. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  246. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  247. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.css +5 -0
  248. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.jsx +29 -0
  249. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.css +5 -0
  250. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  251. package/test/integration/fixtures/react/app/imports/ui/test-helpers.jsx +1 -0
  252. package/test/integration/fixtures/react/app/lib/.gitkeep +1 -0
  253. package/test/integration/fixtures/react/app/lib/main.jsx +1 -0
  254. package/test/integration/fixtures/react/app/packages/.gitkeep +1 -0
  255. package/test/integration/fixtures/react/app/private/.gitkeep +1 -0
  256. package/test/integration/fixtures/react/app/public/.gitkeep +1 -0
  257. package/test/integration/fixtures/react/app/public/favicon.ico +0 -0
  258. package/test/integration/fixtures/react/app/server/.gitkeep +1 -0
  259. package/test/integration/fixtures/react/app/server/main.jsx +1 -0
  260. package/test/integration/fixtures/react/bin/.gitkeep +1 -0
  261. package/test/integration/fixtures/react/build/.gitkeep +1 -0
  262. package/test/integration/fixtures/react/build/README +4 -0
  263. package/test/integration/fixtures/react/config/.gitkeep +1 -0
  264. package/test/integration/fixtures/react/config/development/env.sh +9 -0
  265. package/test/integration/fixtures/react/config/development/settings.json +6 -0
  266. package/test/integration/fixtures/react/config/production/env.sh +9 -0
  267. package/test/integration/fixtures/react/config/production/settings.json +6 -0
  268. package/test/integration/fixtures/react/config/staging/env.sh +9 -0
  269. package/test/integration/fixtures/react/config/staging/settings.json +6 -0
  270. package/test/integration/fixtures/react-apollo/.maka/config.json +30 -0
  271. package/test/integration/fixtures/react-apollo/.tern-project +17 -0
  272. package/test/integration/fixtures/react-apollo/app/.meteor/.finished-upgraders +17 -0
  273. package/test/integration/fixtures/react-apollo/app/.meteor/.id +7 -0
  274. package/test/integration/fixtures/react-apollo/app/.meteor/packages +21 -0
  275. package/test/integration/fixtures/react-apollo/app/.meteor/platforms +2 -0
  276. package/test/integration/fixtures/react-apollo/app/.meteor/release +1 -0
  277. package/test/integration/fixtures/react-apollo/app/.meteor/versions +78 -0
  278. package/test/integration/fixtures/react-apollo/app/client/.gitkeep +1 -0
  279. package/test/integration/fixtures/react-apollo/app/client/body.html +3 -0
  280. package/test/integration/fixtures/react-apollo/app/client/head.html +8 -0
  281. package/test/integration/fixtures/react-apollo/app/client/main.jsx +1 -0
  282. package/test/integration/fixtures/react-apollo/app/imports/api/.gitkeep +1 -0
  283. package/test/integration/fixtures/react-apollo/app/imports/startup/client/index.jsx +20 -0
  284. package/test/integration/fixtures/react-apollo/app/imports/startup/client/routes.jsx +24 -0
  285. package/test/integration/fixtures/react-apollo/app/imports/startup/client/templates.jsx +21 -0
  286. package/test/integration/fixtures/react-apollo/app/imports/startup/lib/index.jsx +1 -0
  287. package/test/integration/fixtures/react-apollo/app/imports/startup/server/index.jsx +25 -0
  288. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  289. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  290. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.css +5 -0
  291. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.jsx +34 -0
  292. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  293. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.jsx +34 -0
  294. package/test/integration/fixtures/react-apollo/app/imports/ui/test-helpers.jsx +1 -0
  295. package/test/integration/fixtures/react-apollo/app/lib/.gitkeep +1 -0
  296. package/test/integration/fixtures/react-apollo/app/lib/main.jsx +1 -0
  297. package/test/integration/fixtures/react-apollo/app/packages/.gitkeep +1 -0
  298. package/test/integration/fixtures/react-apollo/app/private/.gitkeep +1 -0
  299. package/test/integration/fixtures/react-apollo/app/public/.gitkeep +1 -0
  300. package/test/integration/fixtures/react-apollo/app/public/favicon.ico +0 -0
  301. package/test/integration/fixtures/react-apollo/app/server/.gitkeep +1 -0
  302. package/test/integration/fixtures/react-apollo/app/server/main.jsx +1 -0
  303. package/test/integration/fixtures/react-apollo/bin/.gitkeep +1 -0
  304. package/test/integration/fixtures/react-apollo/build/.gitkeep +1 -0
  305. package/test/integration/fixtures/react-apollo/build/README +4 -0
  306. package/test/integration/fixtures/react-apollo/config/.gitkeep +1 -0
  307. package/test/integration/fixtures/react-apollo/config/development/env.sh +9 -0
  308. package/test/integration/fixtures/react-apollo/config/development/settings.json +6 -0
  309. package/test/integration/fixtures/react-apollo/config/production/env.sh +9 -0
  310. package/test/integration/fixtures/react-apollo/config/production/settings.json +6 -0
  311. package/test/integration/fixtures/react-apollo/config/staging/env.sh +9 -0
  312. package/test/integration/fixtures/react-apollo/config/staging/settings.json +6 -0
  313. package/test/integration/fixtures/react-apollo-ssr/.maka/config.json +30 -0
  314. package/test/integration/fixtures/react-apollo-ssr/.tern-project +17 -0
  315. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  316. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.id +7 -0
  317. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/packages +21 -0
  318. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/platforms +2 -0
  319. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/release +1 -0
  320. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/versions +78 -0
  321. package/test/integration/fixtures/react-apollo-ssr/app/client/.gitkeep +1 -0
  322. package/test/integration/fixtures/react-apollo-ssr/app/client/body.html +3 -0
  323. package/test/integration/fixtures/react-apollo-ssr/app/client/head.html +8 -0
  324. package/test/integration/fixtures/react-apollo-ssr/app/client/main.jsx +1 -0
  325. package/test/integration/fixtures/react-apollo-ssr/app/imports/api/.gitkeep +1 -0
  326. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  327. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  328. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  329. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  330. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  331. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  332. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  333. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  334. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  335. package/test/integration/fixtures/react-apollo-ssr/app/lib/.gitkeep +1 -0
  336. package/test/integration/fixtures/react-apollo-ssr/app/lib/main.jsx +1 -0
  337. package/test/integration/fixtures/react-apollo-ssr/app/packages/.gitkeep +1 -0
  338. package/test/integration/fixtures/react-apollo-ssr/app/private/.gitkeep +1 -0
  339. package/test/integration/fixtures/react-apollo-ssr/app/public/.gitkeep +1 -0
  340. package/test/integration/fixtures/react-apollo-ssr/app/public/favicon.ico +0 -0
  341. package/test/integration/fixtures/react-apollo-ssr/app/server/.gitkeep +1 -0
  342. package/test/integration/fixtures/react-apollo-ssr/app/server/main.jsx +1 -0
  343. package/test/integration/fixtures/react-apollo-ssr/bin/.gitkeep +1 -0
  344. package/test/integration/fixtures/react-apollo-ssr/build/.gitkeep +1 -0
  345. package/test/integration/fixtures/react-apollo-ssr/build/README +4 -0
  346. package/test/integration/fixtures/react-apollo-ssr/config/.gitkeep +1 -0
  347. package/test/integration/fixtures/react-apollo-ssr/config/development/env.sh +9 -0
  348. package/test/integration/fixtures/react-apollo-ssr/config/development/settings.json +6 -0
  349. package/test/integration/fixtures/react-apollo-ssr/config/production/env.sh +9 -0
  350. package/test/integration/fixtures/react-apollo-ssr/config/production/settings.json +6 -0
  351. package/test/integration/fixtures/react-apollo-ssr/config/staging/env.sh +9 -0
  352. package/test/integration/fixtures/react-apollo-ssr/config/staging/settings.json +6 -0
  353. package/test/integration/fixtures/react-material/.maka/config.json +30 -0
  354. package/test/integration/fixtures/react-material/.tern-project +17 -0
  355. package/test/integration/fixtures/react-material/app/.meteor/.finished-upgraders +17 -0
  356. package/test/integration/fixtures/react-material/app/.meteor/.id +7 -0
  357. package/test/integration/fixtures/react-material/app/.meteor/packages +21 -0
  358. package/test/integration/fixtures/react-material/app/.meteor/platforms +2 -0
  359. package/test/integration/fixtures/react-material/app/.meteor/release +1 -0
  360. package/test/integration/fixtures/react-material/app/.meteor/versions +78 -0
  361. package/test/integration/fixtures/react-material/app/client/.gitkeep +1 -0
  362. package/test/integration/fixtures/react-material/app/client/body.html +3 -0
  363. package/test/integration/fixtures/react-material/app/client/head.html +8 -0
  364. package/test/integration/fixtures/react-material/app/client/main.jsx +1 -0
  365. package/test/integration/fixtures/react-material/app/imports/api/.gitkeep +1 -0
  366. package/test/integration/fixtures/react-material/app/imports/startup/client/index.jsx +19 -0
  367. package/test/integration/fixtures/react-material/app/imports/startup/client/routes.jsx +24 -0
  368. package/test/integration/fixtures/react-material/app/imports/startup/client/templates.jsx +21 -0
  369. package/test/integration/fixtures/react-material/app/imports/startup/lib/index.jsx +1 -0
  370. package/test/integration/fixtures/react-material/app/imports/startup/server/index.jsx +1 -0
  371. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  372. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  373. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.css +5 -0
  374. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.jsx +29 -0
  375. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  376. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  377. package/test/integration/fixtures/react-material/app/imports/ui/test-helpers.jsx +1 -0
  378. package/test/integration/fixtures/react-material/app/lib/.gitkeep +1 -0
  379. package/test/integration/fixtures/react-material/app/lib/main.jsx +1 -0
  380. package/test/integration/fixtures/react-material/app/packages/.gitkeep +1 -0
  381. package/test/integration/fixtures/react-material/app/private/.gitkeep +1 -0
  382. package/test/integration/fixtures/react-material/app/public/.gitkeep +1 -0
  383. package/test/integration/fixtures/react-material/app/public/favicon.ico +0 -0
  384. package/test/integration/fixtures/react-material/app/server/.gitkeep +1 -0
  385. package/test/integration/fixtures/react-material/app/server/main.jsx +1 -0
  386. package/test/integration/fixtures/react-material/bin/.gitkeep +1 -0
  387. package/test/integration/fixtures/react-material/build/.gitkeep +1 -0
  388. package/test/integration/fixtures/react-material/build/README +4 -0
  389. package/test/integration/fixtures/react-material/config/.gitkeep +1 -0
  390. package/test/integration/fixtures/react-material/config/development/env.sh +9 -0
  391. package/test/integration/fixtures/react-material/config/development/settings.json +6 -0
  392. package/test/integration/fixtures/react-material/config/production/env.sh +9 -0
  393. package/test/integration/fixtures/react-material/config/production/settings.json +6 -0
  394. package/test/integration/fixtures/react-material/config/staging/env.sh +9 -0
  395. package/test/integration/fixtures/react-material/config/staging/settings.json +6 -0
  396. package/test/integration/fixtures/react-ssr/.maka/config.json +30 -0
  397. package/test/integration/fixtures/react-ssr/.tern-project +17 -0
  398. package/test/integration/fixtures/react-ssr/app/.meteor/.finished-upgraders +17 -0
  399. package/test/integration/fixtures/react-ssr/app/.meteor/.id +7 -0
  400. package/test/integration/fixtures/react-ssr/app/.meteor/packages +21 -0
  401. package/test/integration/fixtures/react-ssr/app/.meteor/platforms +2 -0
  402. package/test/integration/fixtures/react-ssr/app/.meteor/release +1 -0
  403. package/test/integration/fixtures/react-ssr/app/.meteor/versions +78 -0
  404. package/test/integration/fixtures/react-ssr/app/client/.gitkeep +1 -0
  405. package/test/integration/fixtures/react-ssr/app/client/body.html +3 -0
  406. package/test/integration/fixtures/react-ssr/app/client/head.html +8 -0
  407. package/test/integration/fixtures/react-ssr/app/client/main.jsx +1 -0
  408. package/test/integration/fixtures/react-ssr/app/imports/api/.gitkeep +1 -0
  409. package/test/integration/fixtures/react-ssr/app/imports/startup/client/index.jsx +21 -0
  410. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/index.jsx +1 -0
  411. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/routes.jsx +21 -0
  412. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/templates.jsx +21 -0
  413. package/test/integration/fixtures/react-ssr/app/imports/startup/server/index.jsx +36 -0
  414. package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  415. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/home/home.jsx +28 -0
  416. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/not-found/not-found.jsx +28 -0
  417. package/test/integration/fixtures/react-ssr/app/imports/ui/test-helpers.jsx +1 -0
  418. package/test/integration/fixtures/react-ssr/app/lib/.gitkeep +1 -0
  419. package/test/integration/fixtures/react-ssr/app/lib/main.jsx +1 -0
  420. package/test/integration/fixtures/react-ssr/app/packages/.gitkeep +1 -0
  421. package/test/integration/fixtures/react-ssr/app/private/.gitkeep +1 -0
  422. package/test/integration/fixtures/react-ssr/app/public/.gitkeep +1 -0
  423. package/test/integration/fixtures/react-ssr/app/public/favicon.ico +0 -0
  424. package/test/integration/fixtures/react-ssr/app/server/.gitkeep +1 -0
  425. package/test/integration/fixtures/react-ssr/app/server/main.jsx +1 -0
  426. package/test/integration/fixtures/react-ssr/bin/.gitkeep +1 -0
  427. package/test/integration/fixtures/react-ssr/build/.gitkeep +1 -0
  428. package/test/integration/fixtures/react-ssr/build/README +4 -0
  429. package/test/integration/fixtures/react-ssr/config/.gitkeep +1 -0
  430. package/test/integration/fixtures/react-ssr/config/development/env.sh +9 -0
  431. package/test/integration/fixtures/react-ssr/config/development/settings.json +6 -0
  432. package/test/integration/fixtures/react-ssr/config/production/env.sh +9 -0
  433. package/test/integration/fixtures/react-ssr/config/production/settings.json +6 -0
  434. package/test/integration/fixtures/react-ssr/config/staging/env.sh +9 -0
  435. package/test/integration/fixtures/react-ssr/config/staging/settings.json +6 -0
  436. package/test/integration/fixtures/reflux/.maka/config.json +30 -0
  437. package/test/integration/fixtures/reflux/.tern-project +17 -0
  438. package/test/integration/fixtures/reflux/app/.meteor/.finished-upgraders +17 -0
  439. package/test/integration/fixtures/reflux/app/.meteor/.id +7 -0
  440. package/test/integration/fixtures/reflux/app/.meteor/packages +21 -0
  441. package/test/integration/fixtures/reflux/app/.meteor/platforms +2 -0
  442. package/test/integration/fixtures/reflux/app/.meteor/release +1 -0
  443. package/test/integration/fixtures/reflux/app/.meteor/versions +78 -0
  444. package/test/integration/fixtures/reflux/app/client/.gitkeep +1 -0
  445. package/test/integration/fixtures/reflux/app/client/body.html +3 -0
  446. package/test/integration/fixtures/reflux/app/client/head.html +8 -0
  447. package/test/integration/fixtures/reflux/app/client/main.jsx +1 -0
  448. package/test/integration/fixtures/reflux/app/imports/api/.gitkeep +1 -0
  449. package/test/integration/fixtures/reflux/app/imports/startup/client/index.jsx +12 -0
  450. package/test/integration/fixtures/reflux/app/imports/startup/client/routes.jsx +24 -0
  451. package/test/integration/fixtures/reflux/app/imports/startup/client/templates.jsx +21 -0
  452. package/test/integration/fixtures/reflux/app/imports/startup/lib/index.jsx +1 -0
  453. package/test/integration/fixtures/reflux/app/imports/startup/server/index.jsx +1 -0
  454. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  455. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  456. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.css +5 -0
  457. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.jsx +33 -0
  458. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.css +5 -0
  459. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  460. package/test/integration/fixtures/reflux/app/imports/ui/test-helpers.jsx +1 -0
  461. package/test/integration/fixtures/reflux/app/lib/.gitkeep +1 -0
  462. package/test/integration/fixtures/reflux/app/lib/main.jsx +1 -0
  463. package/test/integration/fixtures/reflux/app/packages/.gitkeep +1 -0
  464. package/test/integration/fixtures/reflux/app/private/.gitkeep +1 -0
  465. package/test/integration/fixtures/reflux/app/public/.gitkeep +1 -0
  466. package/test/integration/fixtures/reflux/app/public/favicon.ico +0 -0
  467. package/test/integration/fixtures/reflux/app/server/.gitkeep +1 -0
  468. package/test/integration/fixtures/reflux/app/server/main.jsx +1 -0
  469. package/test/integration/fixtures/reflux/bin/.gitkeep +1 -0
  470. package/test/integration/fixtures/reflux/build/.gitkeep +1 -0
  471. package/test/integration/fixtures/reflux/build/README +4 -0
  472. package/test/integration/fixtures/reflux/config/.gitkeep +1 -0
  473. package/test/integration/fixtures/reflux/config/development/env.sh +9 -0
  474. package/test/integration/fixtures/reflux/config/development/settings.json +6 -0
  475. package/test/integration/fixtures/reflux/config/production/env.sh +9 -0
  476. package/test/integration/fixtures/reflux/config/production/settings.json +6 -0
  477. package/test/integration/fixtures/reflux/config/staging/env.sh +9 -0
  478. package/test/integration/fixtures/reflux/config/staging/settings.json +6 -0
  479. package/test/integration/fixtures/reflux-apollo/.maka/config.json +30 -0
  480. package/test/integration/fixtures/reflux-apollo/.tern-project +17 -0
  481. package/test/integration/fixtures/reflux-apollo/app/.meteor/.finished-upgraders +17 -0
  482. package/test/integration/fixtures/reflux-apollo/app/.meteor/.id +7 -0
  483. package/test/integration/fixtures/reflux-apollo/app/.meteor/packages +21 -0
  484. package/test/integration/fixtures/reflux-apollo/app/.meteor/platforms +2 -0
  485. package/test/integration/fixtures/reflux-apollo/app/.meteor/release +1 -0
  486. package/test/integration/fixtures/reflux-apollo/app/.meteor/versions +78 -0
  487. package/test/integration/fixtures/reflux-apollo/app/client/.gitkeep +1 -0
  488. package/test/integration/fixtures/reflux-apollo/app/client/body.html +3 -0
  489. package/test/integration/fixtures/reflux-apollo/app/client/head.html +8 -0
  490. package/test/integration/fixtures/reflux-apollo/app/client/main.jsx +1 -0
  491. package/test/integration/fixtures/reflux-apollo/app/imports/api/.gitkeep +1 -0
  492. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/index.jsx +20 -0
  493. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/routes.jsx +24 -0
  494. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/templates.jsx +21 -0
  495. package/test/integration/fixtures/reflux-apollo/app/imports/startup/lib/index.jsx +1 -0
  496. package/test/integration/fixtures/reflux-apollo/app/imports/startup/server/index.jsx +25 -0
  497. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  498. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  499. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.css +5 -0
  500. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.jsx +38 -0
  501. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  502. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.jsx +38 -0
  503. package/test/integration/fixtures/reflux-apollo/app/imports/ui/test-helpers.jsx +1 -0
  504. package/test/integration/fixtures/reflux-apollo/app/lib/.gitkeep +1 -0
  505. package/test/integration/fixtures/reflux-apollo/app/lib/main.jsx +1 -0
  506. package/test/integration/fixtures/reflux-apollo/app/packages/.gitkeep +1 -0
  507. package/test/integration/fixtures/reflux-apollo/app/private/.gitkeep +1 -0
  508. package/test/integration/fixtures/reflux-apollo/app/public/.gitkeep +1 -0
  509. package/test/integration/fixtures/reflux-apollo/app/public/favicon.ico +0 -0
  510. package/test/integration/fixtures/reflux-apollo/app/server/.gitkeep +1 -0
  511. package/test/integration/fixtures/reflux-apollo/app/server/main.jsx +1 -0
  512. package/test/integration/fixtures/reflux-apollo/bin/.gitkeep +1 -0
  513. package/test/integration/fixtures/reflux-apollo/build/.gitkeep +1 -0
  514. package/test/integration/fixtures/reflux-apollo/build/README +4 -0
  515. package/test/integration/fixtures/reflux-apollo/config/.gitkeep +1 -0
  516. package/test/integration/fixtures/reflux-apollo/config/development/env.sh +9 -0
  517. package/test/integration/fixtures/reflux-apollo/config/development/settings.json +6 -0
  518. package/test/integration/fixtures/reflux-apollo/config/production/env.sh +9 -0
  519. package/test/integration/fixtures/reflux-apollo/config/production/settings.json +6 -0
  520. package/test/integration/fixtures/reflux-apollo/config/staging/env.sh +9 -0
  521. package/test/integration/fixtures/reflux-apollo/config/staging/settings.json +6 -0
  522. package/test/integration/fixtures/reflux-apollo-ssr/.maka/config.json +30 -0
  523. package/test/integration/fixtures/reflux-apollo-ssr/.tern-project +17 -0
  524. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  525. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.id +7 -0
  526. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/packages +21 -0
  527. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/platforms +2 -0
  528. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/release +1 -0
  529. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/versions +78 -0
  530. package/test/integration/fixtures/reflux-apollo-ssr/app/client/.gitkeep +1 -0
  531. package/test/integration/fixtures/reflux-apollo-ssr/app/client/body.html +3 -0
  532. package/test/integration/fixtures/reflux-apollo-ssr/app/client/head.html +8 -0
  533. package/test/integration/fixtures/reflux-apollo-ssr/app/client/main.jsx +1 -0
  534. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/api/.gitkeep +1 -0
  535. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  536. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  537. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  538. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  539. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  540. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  541. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  542. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  543. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  544. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/.gitkeep +1 -0
  545. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/main.jsx +1 -0
  546. package/test/integration/fixtures/reflux-apollo-ssr/app/packages/.gitkeep +1 -0
  547. package/test/integration/fixtures/reflux-apollo-ssr/app/private/.gitkeep +1 -0
  548. package/test/integration/fixtures/reflux-apollo-ssr/app/public/.gitkeep +1 -0
  549. package/test/integration/fixtures/reflux-apollo-ssr/app/public/favicon.ico +0 -0
  550. package/test/integration/fixtures/reflux-apollo-ssr/app/server/.gitkeep +1 -0
  551. package/test/integration/fixtures/reflux-apollo-ssr/app/server/main.jsx +1 -0
  552. package/test/integration/fixtures/reflux-apollo-ssr/bin/.gitkeep +1 -0
  553. package/test/integration/fixtures/reflux-apollo-ssr/build/.gitkeep +1 -0
  554. package/test/integration/fixtures/reflux-apollo-ssr/build/README +4 -0
  555. package/test/integration/fixtures/reflux-apollo-ssr/config/.gitkeep +1 -0
  556. package/test/integration/fixtures/reflux-apollo-ssr/config/development/env.sh +9 -0
  557. package/test/integration/fixtures/reflux-apollo-ssr/config/development/settings.json +6 -0
  558. package/test/integration/fixtures/reflux-apollo-ssr/config/production/env.sh +9 -0
  559. package/test/integration/fixtures/reflux-apollo-ssr/config/production/settings.json +6 -0
  560. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/env.sh +9 -0
  561. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/settings.json +6 -0
  562. package/test/integration/fixtures/reflux-material/.maka/config.json +30 -0
  563. package/test/integration/fixtures/reflux-material/.tern-project +17 -0
  564. package/test/integration/fixtures/reflux-material/app/.meteor/.finished-upgraders +17 -0
  565. package/test/integration/fixtures/reflux-material/app/.meteor/.id +7 -0
  566. package/test/integration/fixtures/reflux-material/app/.meteor/packages +21 -0
  567. package/test/integration/fixtures/reflux-material/app/.meteor/platforms +2 -0
  568. package/test/integration/fixtures/reflux-material/app/.meteor/release +1 -0
  569. package/test/integration/fixtures/reflux-material/app/.meteor/versions +78 -0
  570. package/test/integration/fixtures/reflux-material/app/client/.gitkeep +1 -0
  571. package/test/integration/fixtures/reflux-material/app/client/body.html +3 -0
  572. package/test/integration/fixtures/reflux-material/app/client/head.html +8 -0
  573. package/test/integration/fixtures/reflux-material/app/client/main.jsx +1 -0
  574. package/test/integration/fixtures/reflux-material/app/imports/api/.gitkeep +1 -0
  575. package/test/integration/fixtures/reflux-material/app/imports/startup/client/index.jsx +19 -0
  576. package/test/integration/fixtures/reflux-material/app/imports/startup/client/routes.jsx +24 -0
  577. package/test/integration/fixtures/reflux-material/app/imports/startup/client/templates.jsx +21 -0
  578. package/test/integration/fixtures/reflux-material/app/imports/startup/lib/index.jsx +1 -0
  579. package/test/integration/fixtures/reflux-material/app/imports/startup/server/index.jsx +1 -0
  580. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  581. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  582. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.css +5 -0
  583. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.jsx +33 -0
  584. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  585. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  586. package/test/integration/fixtures/reflux-material/app/imports/ui/test-helpers.jsx +1 -0
  587. package/test/integration/fixtures/reflux-material/app/lib/.gitkeep +1 -0
  588. package/test/integration/fixtures/reflux-material/app/lib/main.jsx +1 -0
  589. package/test/integration/fixtures/reflux-material/app/packages/.gitkeep +1 -0
  590. package/test/integration/fixtures/reflux-material/app/private/.gitkeep +1 -0
  591. package/test/integration/fixtures/reflux-material/app/public/.gitkeep +1 -0
  592. package/test/integration/fixtures/reflux-material/app/public/favicon.ico +0 -0
  593. package/test/integration/fixtures/reflux-material/app/server/.gitkeep +1 -0
  594. package/test/integration/fixtures/reflux-material/app/server/main.jsx +1 -0
  595. package/test/integration/fixtures/reflux-material/bin/.gitkeep +1 -0
  596. package/test/integration/fixtures/reflux-material/build/.gitkeep +1 -0
  597. package/test/integration/fixtures/reflux-material/build/README +4 -0
  598. package/test/integration/fixtures/reflux-material/config/.gitkeep +1 -0
  599. package/test/integration/fixtures/reflux-material/config/development/env.sh +9 -0
  600. package/test/integration/fixtures/reflux-material/config/development/settings.json +6 -0
  601. package/test/integration/fixtures/reflux-material/config/production/env.sh +9 -0
  602. package/test/integration/fixtures/reflux-material/config/production/settings.json +6 -0
  603. package/test/integration/fixtures/reflux-material/config/staging/env.sh +9 -0
  604. package/test/integration/fixtures/reflux-material/config/staging/settings.json +6 -0
  605. package/test/integration/fixtures/reflux-ssr/.maka/config.json +30 -0
  606. package/test/integration/fixtures/reflux-ssr/.tern-project +17 -0
  607. package/test/integration/fixtures/reflux-ssr/app/.meteor/.finished-upgraders +17 -0
  608. package/test/integration/fixtures/reflux-ssr/app/.meteor/.id +7 -0
  609. package/test/integration/fixtures/reflux-ssr/app/.meteor/packages +21 -0
  610. package/test/integration/fixtures/reflux-ssr/app/.meteor/platforms +2 -0
  611. package/test/integration/fixtures/reflux-ssr/app/.meteor/release +1 -0
  612. package/test/integration/fixtures/reflux-ssr/app/.meteor/versions +78 -0
  613. package/test/integration/fixtures/reflux-ssr/app/client/.gitkeep +1 -0
  614. package/test/integration/fixtures/reflux-ssr/app/client/body.html +3 -0
  615. package/test/integration/fixtures/reflux-ssr/app/client/head.html +8 -0
  616. package/test/integration/fixtures/reflux-ssr/app/client/main.jsx +1 -0
  617. package/test/integration/fixtures/reflux-ssr/app/imports/api/.gitkeep +1 -0
  618. package/test/integration/fixtures/reflux-ssr/app/imports/startup/client/index.jsx +21 -0
  619. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/index.jsx +1 -0
  620. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/routes.jsx +21 -0
  621. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/templates.jsx +21 -0
  622. package/test/integration/fixtures/reflux-ssr/app/imports/startup/server/index.jsx +36 -0
  623. package/test/integration/fixtures/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +30 -0
  624. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/home/home.jsx +32 -0
  625. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/not-found/not-found.jsx +32 -0
  626. package/test/integration/fixtures/reflux-ssr/app/imports/ui/test-helpers.jsx +1 -0
  627. package/test/integration/fixtures/reflux-ssr/app/lib/.gitkeep +1 -0
  628. package/test/integration/fixtures/reflux-ssr/app/lib/main.jsx +1 -0
  629. package/test/integration/fixtures/reflux-ssr/app/packages/.gitkeep +1 -0
  630. package/test/integration/fixtures/reflux-ssr/app/private/.gitkeep +1 -0
  631. package/test/integration/fixtures/reflux-ssr/app/public/.gitkeep +1 -0
  632. package/test/integration/fixtures/reflux-ssr/app/public/favicon.ico +0 -0
  633. package/test/integration/fixtures/reflux-ssr/app/server/.gitkeep +1 -0
  634. package/test/integration/fixtures/reflux-ssr/app/server/main.jsx +1 -0
  635. package/test/integration/fixtures/reflux-ssr/bin/.gitkeep +1 -0
  636. package/test/integration/fixtures/reflux-ssr/build/.gitkeep +1 -0
  637. package/test/integration/fixtures/reflux-ssr/build/README +4 -0
  638. package/test/integration/fixtures/reflux-ssr/config/.gitkeep +1 -0
  639. package/test/integration/fixtures/reflux-ssr/config/development/env.sh +9 -0
  640. package/test/integration/fixtures/reflux-ssr/config/development/settings.json +6 -0
  641. package/test/integration/fixtures/reflux-ssr/config/production/env.sh +9 -0
  642. package/test/integration/fixtures/reflux-ssr/config/production/settings.json +6 -0
  643. package/test/integration/fixtures/reflux-ssr/config/staging/env.sh +9 -0
  644. package/test/integration/fixtures/reflux-ssr/config/staging/settings.json +6 -0
  645. package/test/integration/integration_helpers.js +60 -0
@@ -1 +1 @@
1
- const a22H=a22d;(function(a,b){const E=a22d,c=a();while(!![]){try{const d=parseInt(E(0x193))/0x1*(parseInt(E(0x1b3))/0x2)+-parseInt(E(0x171))/0x3*(-parseInt(E(0x1a9))/0x4)+parseInt(E(0x1a0))/0x5*(parseInt(E(0x1a2))/0x6)+parseInt(E(0x16b))/0x7*(-parseInt(E(0x1af))/0x8)+-parseInt(E(0x184))/0x9*(parseInt(E(0x16f))/0xa)+parseInt(E(0x18f))/0xb+parseInt(E(0x18a))/0xc*(-parseInt(E(0x185))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a22c,0xa60ab));const a22b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a22d;if(c){const e=c[F(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a22a=a22b(this,function(){const G=a22d;return a22a['toString']()[G(0x18d)](G(0x1ab))[G(0x18e)]()[G(0x165)](a22a)[G(0x18d)](G(0x1ab));});a22a();import a22e from'./build.js';import a22f from'path';import a22g from'fs';import{execSync}from'child_process';function a22d(a,b){const c=a22c();return a22d=function(d,e){d=d-0x165;let f=c[d];return f;},a22d(a,b);}function a22c(){const J=['No\x20application\x20build\x20available.','cert','length','findAppDirectory','os.linux.x86_64','7049844NaMyeK','221iPJntF','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','processAndRunGenerator','--server=','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','372720XBPgPb','ask','docker','search','toString','5312384rLUdzT','fsi','\x0a\x20\x20Build\x20the\x20application\x20and\x20a\x20Docker\x20image.\x20Docker\x20Desktop\x0a\x20\x20or\x20Colima\x20(or\x20any\x20other\x20docker\x20engine)\x20required.\x0a\x0a\x20\x20Colima:\x0a\x20\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20Docker\x20Desktop:\x0a\x20\x20https://www.docker.com/products/docker-desktop/\x0a\x20\x20','maka\x20install\x20--force','1262789owVkyX','confirm','N/A','notice','appName','create','Using\x20Meteor\x27s\x20Project\x27s\x20Node\x20Version:\x20','copyFileSync','inherit','http','readFileLines',':latest','build','4114495JOgPQd','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','6QaVnZe','://','.meteor','Docker\x20Context\x20Path:\x20','https','tag','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','1312FPIHYn','noRebundle','(((.+)+)+)+$','serverPort','isFile','maka\x20build:docker\x20--debug','1059432BNMYjG','[*]\x20maka\x20','findProjectDirectory','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','2verKIG','setProjectConfig','error','constructor','maka\x20build:docker','dockerfile','Meteor\x20is\x20installed.','Cannot\x20determine\x20Meteor\x20Node\x20Version\x20for\x20Docker\x20Node\x20install.\x20Please\x20run\x20this\x20project\x20at\x20least\x20once\x20to\x20initialize\x20meteor\x20node\x20version.\x20(e.g.,\x20\x22maka\x20run\x22).','getProjectsMeteorNodeVersion','63NzsUGQ','apply','getGlobalConfig','meteor','10oovxtN','force','5622EqvZPZ','config.json','ignore','-t\x20','existsSync','serverName','app.tar.gz','debug','config','Stored\x20server\x20config\x20to\x20','join','exit','443','platforms'];a22c=function(){return J;};return a22c();}import{kebabCase}from'change-case';import a22h from'../../generators/maka.gen.js';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a22H(0x198)]({'name':a22H(0x18c),'aliases':['d'],'usage':a22H(0x166),'validOpts':[{'name':a22H(0x170),'boolFlag':!![]},{'name':a22H(0x1a7)},{'name':a22H(0x178),'boolFlag':!![]},{'name':a22H(0x1aa),'boolFlag':!![]}],'shortDesc':'Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','description':a22H(0x191),'mustBeInMakaProject':!![],'examples':['maka\x20build:docker\x20--tag',a22H(0x1ae)]},async function(a,b){const I=a22H;try{const {mpi:c,cfg:d,fsi:f,projectConfig:g}=this;c['isMeteorInstalled']()?Log[I(0x196)](I(0x168)):(Log['warn'](I(0x1a8)),execSync(I(0x192),{'stdio':I(0x19b)}));const h=await d[I(0x16d)](),i=await f[I(0x16a)]();i===I(0x195)&&(Log['error'](I(0x169)),process[I(0x17c)](0x1));const j=c[I(0x16e)],k=f[I(0x182)](),l=a22f[I(0x17b)](k,'Dockerfile');!f[I(0x1ad)](l)&&(await a22h[I(0x187)](I(0x167),[I(0x167)],{'cwd':k,'config':g}),await a22h[I(0x187)](I(0x179),['docker'],{'cwd':k,'root':!![],'config':g,'isDocker':!![]}));if(h[I(0x180)]&&f[I(0x1ad)](h[I(0x180)])){const w=f[I(0x1b1)]();w&&a22g[I(0x19a)](h['cert'],a22f[I(0x17b)](w,'cert.pem'));}const m=[I(0x19f),a22f[I(0x17b)](f[I(0x1b1)](),'build'),'--architecture',I(0x183)],n=f[I(0x19d)](a22f[I(0x17b)](this[I(0x190)][I(0x182)](),I(0x1a4),I(0x17e))),o=n['length']>0x2?!![]:![];if(o){const x=g[I(0x176)]?g[I(0x176)]:await Actions[I(0x18b)](I(0x1a1)),y=g[I(0x1ac)]?g['serverPort']:await Actions[I(0x18b)]('Mobile\x20server\x20port:\x20');if(x[I(0x181)]==0x0||y[I(0x181)]==0x0)throw I(0x189);const z=y==I(0x17d)?I(0x1a6):I(0x19c);m['push'](I(0x188)+z+I(0x1a3)+x+':'+y);if(!g[I(0x176)]&&!g['serverPort']){const A=await Actions['confirm'](I(0x186));A&&(d[I(0x1b4)](I(0x176),x),d['setProjectConfig']('serverPort',y),Log[I(0x196)](I(0x17a)+a22f['join']('.maka',I(0x172))));}}let p=![];const q=f[I(0x1b1)](),r=a22f[I(0x17b)](q,'build',I(0x177));p=a22g[I(0x175)](r);b[I(0x1aa)]&&!p&&(Log[I(0x1b5)](I(0x17f)),process[I(0x17c)](0x1));if(!b['noRebundle']){if(p){const B=await Actions[I(0x194)](I(0x1b2)),C=B;C&&(execSync(j+'\x20npm\x20install\x20--save',{'cwd':f['findAppDirectory'](),'stdio':I(0x173)}),execSync(j+'\x20\x20'+m[I(0x17b)]('\x20'),{'cwd':f[I(0x182)](),'stdio':I(0x19b)}));}else execSync(j+'\x20npm\x20install\x20--save',{'cwd':f[I(0x182)](),'stdio':'ignore'}),Log[I(0x196)](I(0x1b0)+m['join']('\x20')),execSync(j+'\x20'+m[I(0x17b)]('\x20'),{'cwd':f[I(0x182)](),'stdio':I(0x19b)});}const s=f['findProjectDirectory']();let t=I(0x174)+(''+kebabCase(g[I(0x197)]))+I(0x19e);b[I(0x1a7)]&&(t='-t\x20'+b[I(0x1a7)]);Log[I(0x196)](I(0x199)+i),Log[I(0x196)]('Tagging\x20Docker\x20Image:\x20'+t),Log[I(0x196)](I(0x1a5)+s);const u=b[I(0x178)]?'--progress=plain\x20--no-cache':'',v='docker\x20build\x20--build-arg\x20NODE_VERSION='+i+'\x20'+t+'\x20'+s+'\x20'+u;execSync(v,{'stdio':'inherit'}),Log[I(0x196)]('Try\x20\x27maka\x20run:docker\x27');}catch(D){console['error'](D),process[I(0x17c)](0x1);}},a22e);
1
+ const a22H=a22d;function a22d(a,b){const c=a22c();return a22d=function(d,e){d=d-0x107;let f=c[d];return f;},a22d(a,b);}(function(a,b){const E=a22d,c=a();while(!![]){try{const d=-parseInt(E(0x158))/0x1+-parseInt(E(0x154))/0x2*(parseInt(E(0x13c))/0x3)+-parseInt(E(0x141))/0x4*(-parseInt(E(0x109))/0x5)+parseInt(E(0x146))/0x6*(-parseInt(E(0x112))/0x7)+-parseInt(E(0x111))/0x8+parseInt(E(0x138))/0x9*(-parseInt(E(0x11f))/0xa)+parseInt(E(0x107))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a22c,0x49008));const a22b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a22d;if(c){const e=c[F(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a22a=a22b(this,function(){const G=a22d;return a22a[G(0x150)]()[G(0x14a)](G(0x144))[G(0x150)]()[G(0x108)](a22a)[G(0x14a)](G(0x144));});a22a();import a22e from'./build.js';function a22c(){const J=['create',':latest','force','24FbiibI','Mobile\x20server\x20port:\x20','getProjectsMeteorNodeVersion','config','Using\x20Meteor\x27s\x20Project\x27s\x20Node\x20Version:\x20','11136acUmeX','-t\x20','apply','(((.+)+)+)+$','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','240552plqKUT','findAppDirectory','serverName','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','search','docker','ask','Stored\x20server\x20config\x20to\x20','Tagging\x20Docker\x20Image:\x20','cert','toString','inherit','\x20npm\x20install\x20--save','os.linux.x86_64','36430cWSDrt','443','Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','notice','572445dZiTYa','19978266MaHfEb','constructor','890PrsJxA','tag','cert.pem','findProjectDirectory','Dockerfile','Docker\x20Context\x20Path:\x20','length','isFile','2259240ijUJDd','77DqbkrU','noRebundle','[*]\x20maka\x20','https','setProjectConfig','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','\x0a\x20\x20Build\x20the\x20application\x20and\x20a\x20Docker\x20image.\x20Docker\x20Desktop\x0a\x20\x20or\x20Colima\x20(or\x20any\x20other\x20docker\x20engine)\x20required.\x0a\x0a\x20\x20Colima:\x0a\x20\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20Docker\x20Desktop:\x0a\x20\x20https://www.docker.com/products/docker-desktop/\x0a\x20\x20','exit','serverPort','copyFileSync','platforms','warn','--architecture','1142320TzPRgh','join','isMeteorInstalled','push','getGlobalConfig','existsSync','.maka','--progress=plain\x20--no-cache','Meteor\x20is\x20installed.','build','--server=','debug','error','config.json','maka\x20build:docker','dockerfile','processAndRunGenerator','app.tar.gz','ignore','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','fsi','confirm','appName','maka\x20install\x20--force','No\x20application\x20build\x20available.','45AguXgV'];a22c=function(){return J;};return a22c();}import a22f from'path';import a22g from'fs';import{execSync}from'child_process';import{kebabCase}from'change-case';import a22h from'../../generators/maka.gen.js';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a22H(0x139)]({'name':'docker','aliases':['d'],'usage':a22H(0x12d),'validOpts':[{'name':a22H(0x13b),'boolFlag':!![]},{'name':a22H(0x10a)},{'name':'debug','boolFlag':!![]},{'name':a22H(0x113),'boolFlag':!![]}],'shortDesc':a22H(0x156),'description':a22H(0x118),'mustBeInMakaProject':!![],'examples':['maka\x20build:docker\x20--tag','maka\x20build:docker\x20--debug']},async function(a,b){const I=a22H;try{const {mpi:c,cfg:d,fsi:f,projectConfig:g}=this;c[I(0x121)]()?Log['notice'](I(0x127)):(Log[I(0x11d)](I(0x117)),execSync(I(0x136),{'stdio':I(0x151)}));const h=await d[I(0x123)](),i=await f[I(0x13e)]();i==='N/A'&&(Log['error']('Cannot\x20determine\x20Meteor\x20Node\x20Version\x20for\x20Docker\x20Node\x20install.\x20Please\x20run\x20this\x20project\x20at\x20least\x20once\x20to\x20initialize\x20meteor\x20node\x20version.\x20(e.g.,\x20\x22maka\x20run\x22).'),process['exit'](0x1));const j=c['meteor'],k=f[I(0x147)](),l=a22f['join'](k,I(0x10d));!f['isFile'](l)&&(await a22h[I(0x12f)](I(0x12e),[I(0x12e)],{'cwd':k,'config':g}),await a22h[I(0x12f)](I(0x13f),[I(0x14b)],{'cwd':k,'root':!![],'config':g,'isDocker':!![]}));if(h[I(0x14f)]&&f[I(0x110)](h[I(0x14f)])){const w=f[I(0x10c)]();w&&a22g[I(0x11b)](h[I(0x14f)],a22f[I(0x120)](w,I(0x10b)));}const m=[I(0x128),a22f[I(0x120)](f['findProjectDirectory'](),I(0x128)),I(0x11e),I(0x153)],n=f['readFileLines'](a22f[I(0x120)](this[I(0x133)][I(0x147)](),'.meteor',I(0x11c))),o=n[I(0x10f)]>0x2?!![]:![];if(o){const x=g['serverName']?g[I(0x148)]:await Actions[I(0x14c)](I(0x145)),y=g[I(0x11a)]?g['serverPort']:await Actions[I(0x14c)](I(0x13d));if(x['length']==0x0||y[I(0x10f)]==0x0)throw'Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!';const z=y==I(0x155)?I(0x115):'http';m[I(0x122)](I(0x129)+z+'://'+x+':'+y);if(!g['serverName']&&!g[I(0x11a)]){const A=await Actions[I(0x134)](I(0x132));A&&(d[I(0x116)](I(0x148),x),d[I(0x116)]('serverPort',y),Log[I(0x157)](I(0x14d)+a22f[I(0x120)](I(0x125),I(0x12c))));}}let p=![];const q=f[I(0x10c)](),r=a22f[I(0x120)](q,I(0x128),I(0x130));p=a22g[I(0x124)](r);b[I(0x113)]&&!p&&(Log[I(0x12b)](I(0x137)),process[I(0x119)](0x1));if(!b[I(0x113)]){if(p){const B=await Actions[I(0x134)](I(0x149)),C=B;C&&(execSync(j+'\x20npm\x20install\x20--save',{'cwd':f[I(0x147)](),'stdio':I(0x131)}),execSync(j+'\x20\x20'+m[I(0x120)]('\x20'),{'cwd':f[I(0x147)](),'stdio':I(0x151)}));}else execSync(j+I(0x152),{'cwd':f['findAppDirectory'](),'stdio':I(0x131)}),Log[I(0x157)](I(0x114)+m[I(0x120)]('\x20')),execSync(j+'\x20'+m[I(0x120)]('\x20'),{'cwd':f[I(0x147)](),'stdio':I(0x151)});}const s=f[I(0x10c)]();let t=I(0x142)+(''+kebabCase(g[I(0x135)]))+I(0x13a);b['tag']&&(t='-t\x20'+b[I(0x10a)]);Log[I(0x157)](I(0x140)+i),Log[I(0x157)](I(0x14e)+t),Log[I(0x157)](I(0x10e)+s);const u=b[I(0x12a)]?I(0x126):'',v='docker\x20build\x20--build-arg\x20NODE_VERSION='+i+'\x20'+t+'\x20'+s+'\x20'+u;execSync(v,{'stdio':I(0x151)}),Log[I(0x157)]('Try\x20\x27maka\x20run:docker\x27');}catch(D){console['error'](D),process[I(0x119)](0x1);}},a22e);
@@ -1 +1 @@
1
- const a23Z=a23d;(function(a,b){const W=a23d,c=a();while(!![]){try{const d=-parseInt(W(0x283))/0x1+parseInt(W(0x273))/0x2*(parseInt(W(0x2a1))/0x3)+-parseInt(W(0x21c))/0x4*(parseInt(W(0x270))/0x5)+-parseInt(W(0x26c))/0x6*(parseInt(W(0x235))/0x7)+-parseInt(W(0x251))/0x8*(-parseInt(W(0x257))/0x9)+-parseInt(W(0x242))/0xa+parseInt(W(0x205))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a23c,0x973c2));const a23b=(function(){let a=!![];return function(b,c){const d=a?function(){const X=a23d;if(c){const e=c[X(0x24a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a23a=a23b(this,function(){const Y=a23d;return a23a[Y(0x271)]()[Y(0x263)]('(((.+)+)+)+$')[Y(0x271)]()[Y(0x240)](a23a)['search'](Y(0x26d));});a23a();import a23e from'path';import a23f from'fs';import{execSync}from'child_process';import a23g from'cli-color';import a23h from'./maka.cmd.js';import a23i 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 a23d(a,b){const c=a23c();return a23d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a23d(a,b);}function a23c(){const a1=['copyTemplateDirectory','HTML','not-found','search','app/maka.d.ts','saveInit','helmet','Cannot\x20init\x20git,\x20do\x20you\x20have\x20git\x20installed?','version','REST','Aborted','Use\x20GraphQL\x20in\x20the\x20client','20946rAongj','(((.+)+)+)+$','Use\x20i18n\x20Translations','api','45865LAsYQG','toString','@babel/runtime@latest','12952GEaOqw','page','jest','app.tar.gz','\x20commit\x20-m\x20\x22Maka-CLI\x20init\x20@\x20','eslint\x20prettier\x20eslint-config-prettier\x20eslint-plugin-css\x20eslint-plugin-prettier\x20eslint-plugin-react\x20eslint-plugin-unused-imports','function','testAnswer','Use\x20Typescript\x20or\x20Javascript','gitignore','isMeteorInstalled','react-test-renderer','less','i18next\x20i18next-browser-languagedetector\x20react-i18next','@apollo/react-testing','maka:http','1069OiZDWn','METEOR','VANILLA','inherit','client','@types/mocha','/app/imports/startup/client/templates.js.tsx','app','\x20create','maka\x20create\x20my-app','project','\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\x20Functional\x20or\x20Class-based\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','REACT','join','Function','sep','skip-tests','Mocha','home','Setup\x20ESLint?','@emotion/cache','class','\x20--initial-branch=main','autoupdate','Project\x20already\x20exists.','vanilla','/app/imports/startup/client/routes.js.jsx','Typescript','ignore','exit','447RPYMCT','Project\x20scaffolded,\x20running\x20generators\x20in\x20project\x20directory...','\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20','Jest','husky','hasOwnProperty','length','static-html\x20jquery','/app/imports/startup/client/template.js','create','Prefer\x20Class-based\x20Components\x20or\x20Functional-based\x20Components','TSX','pkg','cfg','ask','graphql\x20graphql-type-json@0.2.4\x20isomorphic-fetch','greenBright','cssAnswer','meteortesting:mocha','Created\x20','APOLLO','fsi','/app/public/sw.js','CSS\x20Style','@mui/icons-material\x20@mui/material\x20@emotion/styled\x20@mui/system','tsx','scaffold','@apollo/link-context\x20@apollo/react-hooks\x20@apollo/client\x20graphql-type-json@0.2.4','@babel/plugin-transform-react-jsx','html','apollo','main-layout','workspace','skip-route-template','withHooks','css','material','static-html','select','maka\x20create\x20material-app\x20--theme=material','version:use','getMeteorReleaseVersion','NONE','10499863ZhznDE','/app/imports/startup/lib/templates.js.jsx','@types/meteor','Choose\x20a\x20testing\x20framework','Class','meteor','app/tsconfig.json','JSX','blaze-html-templates\x20tracker','GraphQL','Javascript','cert','installNpmPackage','Would\x20you\x20like\x20to\x20use\x20Meteor’s\x20built-in\x20skeletons?','Creating\x20project\x20in\x20workspace:\x20','.maka','app/meteor.d.ts','engines','\x20in\x20workspace\x20','react','cwd','@types/react-dom','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22','428ErWYvQ','none','You\x20are\x20forcing\x20to\x20create\x20a\x20meteor\x20project\x20in\x20an\x20existing\x20directory.\x20You\x20sure?','CSS','react\x20react-router@6\x20prop-types\x20@emotion/react\x20react-router-dom@6\x20react-dom','skip-testing','/app/public/sw.js.jsx','start','success','maka\x20create\x20ssr-app\x20--ssr','force','notice','mpi','lint','test','withTranslations','toLowerCase','getGlobalConfig','server-render','ssr','@testing-library/react\x20chai\x20selenium-webdriver\x20chromedriver','confirm','graphql','processAndRunCommand','layout','672dPitok','skip-template-js','LESS','jasmine','Running\x20post\x20creation\x20tasks','SSR\x20with\x20GraphQL\x20is\x20not\x20supported.','template','mocha','Meteor\x20is\x20not\x20installed,\x20or\x20cannot\x20be\x20found.\x20Would\x20you\x20like\x20to\x20install\x20Meteor\x20now?','crypto','Continuing\x20with\x20creating\x20your\x20application...','constructor','translation','10897550ETNwrK','config.json','/app/imports/startup/client/routes.js.tsx','removeMeteorPackage','Create\x20a\x20new\x20Maka\x20Meteor\x20project','/app/imports/startup/client/templates.js.jsx','@types/testing-library__react','withSpinner','apply','Enable\x20server-side\x20rendering\x20(ssr)','isFile','@typescript-eslint/parser\x20@loadable/babel-plugin\x20@babel/plugin-transform-runtime\x20babel-preset-meteor','App\x20Name:','grigio:babel','isDirectory','304RoKpva','processAndRunGenerator','push','Material-UI','release','None','262296MgjhXb','For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.','install','createEmptyMeteorProject','error','@typescript-eslint/parser\x20@babel/preset-env\x20@babel/preset-react\x20@babel/eslint-parser\x20@babel/plugin-transform-runtime','translations','5.1.16','theme'];a23c=function(){return a1;};return a23c();}import{HtmlEngines,CssEngines,JsEngines,ApiEngines,TestEngines,ClientEngines,GraphqlEngines,SsrEngines,ThemeEngines}from'../tools/fsi/fsi.interfaces.js';const pjson={'version':a23Z(0x25e)};Command['create']({'name':a23Z(0x2aa),'aliases':['c'],'minArgLength':0x0,'maxArgLength':0x2,'usage':'maka\x20create\x20<name>','shortDesc':a23Z(0x246),'validOpts':[a23Z(0x226),a23Z(0x255)],'description':a23Z(0x28e),'mustBeInMakaProject':![],'examples':[a23Z(0x28c),a23Z(0x201),'maka\x20create\x20gql-service\x20--graphql=apollo',a23Z(0x225),'maka\x20create\x20testable-app\x20--test=mocha']},async function(a,b){const a0=a23Z;try{const c=await Actions['confirm'](a0(0x212),![]),d=this[a0(0x228)][a0(0x20a)];if(this[a0(0x228)][a0(0x27d)]())Log[a0(0x227)]('Meteor\x20is\x20installed.'),await a23h[a0(0x233)](a0(0x202),[]);else{const f=await Actions['confirm'](a0(0x23d),!![]);if(f)await a23h[a0(0x233)](a0(0x259),[a0(0x20a)],{'force':!![]}),Log[a0(0x227)](a0(0x23f));else throw Log['error']('Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Install\x20with\x20`maka\x20install\x20meteor`');}if(c){const g=d+a0(0x28b);Log['notice']('Running:\x20'+g),execSync(g,{'stdio':a0(0x286)}),process['exit'](0x0);}else{let h=a[0x0];(!h||h['length']===0x0)&&(h=await Actions[a0(0x2af)](a0(0x24e)));if(!b[a0(0x226)]&&this[a0(0x2b6)][a0(0x250)](h))throw Log[a0(0x25b)](a0(0x29b));else{if(this[a0(0x2b6)]['isDirectory'](h)){const F=await Actions[a0(0x231)](a0(0x21e),![]);if(!F)throw Log[a0(0x25b)](a0(0x26a));}}if(!b['js']){const G={'message':a0(0x27b),'name':'typescriptAnswer','choices':[{'name':a0(0x20f),'value':'js'},{'name':a0(0x29e),'value':'ts'}]},H=await Actions[a0(0x200)](G);H==='ts'&&(b['js']=JsEngines['TS']);}if(!b['withHooks']){const I={'message':a0(0x2ab),'name':'reactAnswer','choices':[{'name':a0(0x291),'value':a0(0x279)},{'name':a0(0x209),'value':a0(0x298)}]},J=await Actions[a0(0x200)](I);J===a0(0x279)&&(b[a0(0x1fc)]=!![]);}if(!b['test']){const K={'message':a0(0x208),'name':a0(0x27a),'choices':[{'name':a0(0x2a4),'value':a0(0x275)},{'name':a0(0x294),'value':'mocha'},{'name':'None','value':'none'}]},L=await Actions[a0(0x200)](K);L&&(b[a0(0x22a)]=L);}if(!b[a0(0x25f)]){const M={'message':'UI\x20Theming','name':'themeAnswer','choices':[{'name':a0(0x254),'value':'material'},{'name':a0(0x256),'value':a0(0x21d)}]},N=await Actions[a0(0x200)](M);N&&(b[a0(0x25f)]=N);if(!b[a0(0x1fd)]){const O={'message':a0(0x1f1),'name':a0(0x2b2),'choices':[{'name':a0(0x21f),'value':'css'},{'name':a0(0x237),'value':a0(0x27f)},{'name':'None','value':a0(0x21d)}]},P=await Actions['select'](O);P&&(b[a0(0x1fd)]=P);}}if(!b[a0(0x22b)]){const Q=await Actions[a0(0x231)](a0(0x26e),![]);Q&&(b[a0(0x22b)]=!![]);}const i=[];!b['graphql']&&i['push']({'name':a0(0x20e),'value':a0(0x1f8)});const j=await Actions['confirm'](a0(0x26b));j&&(b['graphql']=GraphqlEngines['APOLLO']);if(!b['graphql']){const R=await Actions[a0(0x231)](a0(0x24b));R&&(b[a0(0x22f)]=SsrEngines[a0(0x284)]);}const k=await this[a0(0x2ae)][a0(0x22d)](),l=k[a0(0x1fa)];l&&(Log[a0(0x227)](a0(0x213)+l),h=a23e[a0(0x290)](l,h));const m=h,n=h,o=b[a0(0x2a6)]('self-test'),p={'appName':m,'engines':{'html':b[a0(0x1f7)]||HtmlEngines[a0(0x261)],'js':b['js']||JsEngines[a0(0x20c)],'css':b[a0(0x1fd)]||CssEngines['CSS'],'api':b[a0(0x26f)]||ApiEngines['NONE'],'client':b[a0(0x287)]||ClientEngines[a0(0x28f)],'test':b['test']||TestEngines[a0(0x204)],'graphql':b['graphql']||GraphqlEngines[a0(0x204)],'theme':b[a0(0x25f)]||ThemeEngines[a0(0x204)],'ssr':b[a0(0x22f)]?SsrEngines['METEOR']:SsrEngines[a0(0x204)]},'features':{'withHooks':b[a0(0x1fc)]||![],'withTranslations':b['withTranslations']||![]},'template':{'html':![],'js':!b[a0(0x2a6)](a0(0x236))&&!b[a0(0x2a6)]('skip-js'),'css':b['css']!==a0(0x21d),'test':!b[a0(0x2a6)](a0(0x221))&&!b[a0(0x2a6)](a0(0x293))},'route':{'template':!b['hasOwnProperty'](a0(0x1fb))},'generator':{'comments':!b['hasOwnProperty']('skip-generator-comments')}};p['engines'][a0(0x232)]!==GraphqlEngines[a0(0x204)]&&(p['engines']['graphql']=GraphqlEngines[a0(0x2b5)]);p[a0(0x216)]['client']===ClientEngines['REACT']?(p[a0(0x216)]['js']===JsEngines['TS']&&(p[a0(0x216)]['js']=JsEngines[a0(0x2ac)]),p[a0(0x216)]['js']===JsEngines['JS']&&(p[a0(0x216)]['js']=JsEngines[a0(0x20c)])):(p[a0(0x216)]['js']===JsEngines[a0(0x2ac)]&&(p[a0(0x216)]['js']=JsEngines['TS']),p[a0(0x216)]['js']===JsEngines[a0(0x20c)]&&(p[a0(0x216)]['js']=JsEngines['JS']));p[a0(0x216)][a0(0x287)]===ClientEngines[a0(0x285)]&&(p[a0(0x216)]['js']=JsEngines['JS'],p[a0(0x216)][a0(0x232)]=GraphqlEngines['NONE'],p[a0(0x216)]['theme']=ThemeEngines['NONE'],p['engines'][a0(0x22f)]=SsrEngines[a0(0x204)]);p[a0(0x216)][a0(0x22f)]===SsrEngines[a0(0x284)]&&(p[a0(0x216)][a0(0x287)]!==ClientEngines[a0(0x28f)]&&(Log[a0(0x25b)]('SSR\x20is\x20not\x20supported\x20on\x20any\x20other\x20client\x20than\x20react'),p['engines'][a0(0x22f)]=SsrEngines[a0(0x204)]),(p[a0(0x216)][a0(0x26f)]===ApiEngines[a0(0x269)]||p['engines']['graphql']===GraphqlEngines[a0(0x2b5)])&&(Log[a0(0x25b)](a0(0x23a)),Log[a0(0x25b)]('https://github.com/apollographql/meteor-integration/issues/133'),p[a0(0x216)]['ssr']=SsrEngines[a0(0x204)]));p[a0(0x216)][a0(0x22f)]===SsrEngines[a0(0x284)]&&(p[a0(0x23b)][a0(0x1fd)]=![]);const q={'app':m,'config':p,'appPath':a23e['join'](n,'app'),'bundlePath':a23e[a0(0x290)](n,'build',a0(0x276)),'useCert':k['cert']?this[a0(0x2b6)][a0(0x24c)](k[a0(0x210)]):null,'version':pjson[a0(0x268)]};let r=[];p[a0(0x216)][a0(0x22f)]===SsrEngines[a0(0x284)]?r=[a0(0x247),a0(0x29d),a0(0x289),a0(0x244)]:r=[a0(0x206),'/app/imports/startup/lib/routes.js.jsx','/app/imports/startup/lib/templates.js.tsx','/app/imports/startup/lib/routes.js.tsx'];p['engines']['js']!==JsEngines['TS']&&p[a0(0x216)]['js']!==JsEngines['TSX']&&(r['push'](a0(0x215)),r[a0(0x253)](a0(0x264)),r['push'](a0(0x20b)));p[a0(0x216)]['client']===ClientEngines[a0(0x285)]&&r['push'](a0(0x2a9));const s=[];s['push'](a0(0x2b7)),r[a0(0x253)](a0(0x222)),r[a0(0x253)]('/app/public/sw.js.tsx'),r[a0(0x253)]('/app/public/sw.js.ts'),r[a0(0x253)]('/app/imports/ui/test-helpers.js.jsx'),r[a0(0x253)]('/app/imports/ui/test-helpers.js.tsx');const t=[],u=[],v=[],w=[],x=[],y=await Actions[a0(0x231)](a0(0x296),!![]);y&&(t['push'](a0(0x24d)),u[a0(0x253)](a0(0x25c)),v[a0(0x253)](a0(0x278)));const z=await Actions['confirm']('Please\x20review\x20choices,\x20ready\x20to\x20scaffold\x20'+a23g[a0(0x2b1)](h),!![]);if(!z)throw Log['error'](a0(0x26a));const A=a23e[a0(0x290)](n,a0(0x28a)),B=Log[a0(0x249)]();await this['scaffold'][a0(0x260)]({'srcPath':a0(0x28d),'destPath':n,'context':q,'ignore':r,'keep':s,'framework':a0(0x20a),'config':p}),a23f['renameSync'](n+a23e['sep']+a0(0x27c),n+a23e[a0(0x292)]+'.gitignore'),B[a0(0x223)]('Preparing\x20Meteor\x20Project');const C=this['mpi'][a0(0x203)]();await this[a0(0x1f4)][a0(0x25a)](a0(0x28a),{'cwd':n,'release':C,...b}),B[a0(0x224)](),await this[a0(0x1f4)][a0(0x260)]({'srcPath':a0(0x28a),'destPath':A,'context':q,'ignore':r,'keep':s,'framework':a0(0x20a),'config':p}),await this[a0(0x2b6)][a0(0x265)](p,a23e[a0(0x290)](n,a0(0x214),a0(0x243)));const D=p[a0(0x216)][a0(0x287)]===a0(0x218)?a0(0x234):a0(0x23b);Log[a0(0x227)](a0(0x2a2)),await a23i['processAndRunGenerator'](D,[a0(0x1f9)],{'cwd':n,'root':!![],'config':p}),await a23i[a0(0x252)](a0(0x274),[a0(0x295)],{'cwd':n,'root':!![],'config':p}),await a23i[a0(0x252)]('page',[a0(0x262)],{'cwd':n,'root':!![],'config':p}),await a23i[a0(0x252)]('config',['local'],{'cwd':n,'root':!![],'config':p});p['features'][a0(0x22b)]&&(await a23i[a0(0x252)](a0(0x241),[a0(0x25d)],{'lang':'en','cwd':n,'root':!![],'config':p}),t[a0(0x253)](a0(0x280)));t['push'](a0(0x23e)),t[a0(0x253)](a0(0x266)),w[a0(0x253)](a0(0x29a)),u[a0(0x253)](a0(0x2a5));p[a0(0x216)][a0(0x287)]===a0(0x218)&&(p[a0(0x216)][a0(0x22a)]===a0(0x23c)&&(w[a0(0x253)](a0(0x2b3)),u[a0(0x253)](a0(0x230)),p[a0(0x216)][a0(0x232)]==='apollo'&&u['push'](a0(0x281))));p[a0(0x23b)][a0(0x1fd)]&&(p[a0(0x216)]['css']==a0(0x27f)&&w['push'](a0(0x27f)));(p[a0(0x216)]['js']==='ts'||p[a0(0x216)]['js']===a0(0x1f3))&&(w['push']('typescript'),u[a0(0x253)](a0(0x207)),u[a0(0x253)](a0(0x288)),u['push'](a0(0x21a)),p[a0(0x216)][a0(0x22a)]!==a0(0x21d)&&u['push'](a0(0x248)));'js'in b&&b['js']?.[a0(0x22c)]()==='es6'&&w[a0(0x253)](a0(0x24f));t['push'](a0(0x272)),t[a0(0x253)](a0(0x1f6));p[a0(0x216)][a0(0x287)]===a0(0x218)&&(p[a0(0x216)]['test']!==a0(0x21d)&&t[a0(0x253)](a0(0x27e)),t['push'](a0(0x220)));p['engines'][a0(0x232)]===a0(0x1f8)&&(t['push'](a0(0x2b0)),t['push'](a0(0x1f5)));p[a0(0x216)][a0(0x25f)]===a0(0x1fe)&&t[a0(0x253)](a0(0x1f2));p[a0(0x216)][a0(0x22f)]!==SsrEngines[a0(0x204)]&&(t[a0(0x253)]('@emotion/server'),t[a0(0x253)](a0(0x297)));p[a0(0x216)]['ssr']===SsrEngines[a0(0x284)]&&(t[a0(0x253)]('styled-components\x20history@3.3.0'),w[a0(0x253)](a0(0x22e)));w[a0(0x253)](a0(0x282));(p[a0(0x216)]['test']===a0(0x238)||p[a0(0x216)]['ssr']!==SsrEngines['NONE']||p[a0(0x216)][a0(0x287)]===a0(0x218))&&w[a0(0x253)](a0(0x1ff));p['engines'][a0(0x22f)]!==SsrEngines[a0(0x204)]&&p[a0(0x216)]['graphql']==='apollo'&&t[a0(0x253)]('isomorphic-fetch');p['engines'][a0(0x287)]===a0(0x29c)&&(x[a0(0x253)](a0(0x20d)),w[a0(0x253)](a0(0x2a8)));Log[a0(0x227)](a0(0x239)),await this['fsi']['initNpm']({'cwd':A,'isSelfTest':o}),await this['pkg'][a0(0x211)](t['join']('\x20'),{'cwd':A,'isSelfTest':o}),await this[a0(0x2ad)][a0(0x211)](u[a0(0x290)]('\x20'),{'cwd':A,'isSelfTest':o,'saveDev':!![]}),await this[a0(0x2ad)][a0(0x211)](v[a0(0x290)]('\x20'),{'cwd':n,'isSelfTest':o,'saveDev':!![]});w['length']>0x0&&await this[a0(0x2ad)]['installMeteorPackage'](w[a0(0x290)]('\x20'),{'cwd':A,'isSelfTest':o});x[a0(0x2a7)]>0x0&&await this['pkg'][a0(0x245)](x[a0(0x290)]('\x20'),{'cwd':A,'isSelfTest':o});y&&await a23h[a0(0x233)](a0(0x229),[],{'fix':!![],'cwd':n});try{const S=new Date(),T=a23e['join'](n);execSync('git\x20init\x20'+T+a0(0x299),{'stdio':'ignore'}),execSync('git\x20-C\x20'+T+'\x20add\x20.\x20&&\x20git\x20-C\x20'+T+a0(0x277)+S['toUTCString']()+'\x22',{'stdio':a0(0x29f)});}catch(U){Log['warn'](a0(0x267));}Log[a0(0x224)](a0(0x2b4)+m);l&&l!==process[a0(0x219)]()&&Log['success'](a0(0x217)+l);const E=process['platform']==='win32';E&&(Log['notice'](a0(0x258)),Log[a0(0x227)](a0(0x2a3)),Log[a0(0x227)](a0(0x21b)+a23e[a0(0x290)](n)+'\x22'));}}catch(V){Log[a0(0x25b)](V),process[a0(0x2a0)](0x1);}});
1
+ const a23Z=a23d;(function(a,b){const W=a23d,c=a();while(!![]){try{const d=parseInt(W(0x1f5))/0x1+parseInt(W(0x1d1))/0x2+-parseInt(W(0x1b1))/0x3+-parseInt(W(0x1b8))/0x4*(parseInt(W(0x1f2))/0x5)+-parseInt(W(0x18f))/0x6*(-parseInt(W(0x14c))/0x7)+parseInt(W(0x1d6))/0x8*(parseInt(W(0x187))/0x9)+parseInt(W(0x1b5))/0xa*(-parseInt(W(0x19e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a23c,0x4e88c));const a23b=(function(){let a=!![];return function(b,c){const d=a?function(){const X=a23d;if(c){const e=c[X(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a23a=a23b(this,function(){const Y=a23d;return a23a[Y(0x1f3)]()[Y(0x198)](Y(0x1ad))[Y(0x1f3)]()[Y(0x164)](a23a)['search'](Y(0x1ad));});a23a();import a23e from'path';import a23f from'fs';import{execSync}from'child_process';import a23g from'cli-color';function a23c(){const a1=['saveInit','git\x20-C\x20','exit','124494bZSqUp','renameSync','withTranslations','length','error','jasmine','engines','apply','toLowerCase','search','Class','autoupdate','LESS','HTML','scaffold','11OnhmiZ','\x20create','removeMeteorPackage','ignore','createEmptyMeteorProject','CSS','isDirectory','Typescript','toUTCString','git\x20init\x20','inherit','skip-generator-comments','@emotion/server','css','Setup\x20ESLint?','(((.+)+)+)+$','Preparing\x20Meteor\x20Project','withHooks','Function','964524BqpxrX','maka\x20create\x20my-app','helmet','success','5574740eMWGUD','5.1.18','gitignore','4SGrpMI','join','processAndRunCommand','copyTemplateDirectory','typescriptAnswer','app/maka.d.ts','@types/react-dom','https://github.com/apollographql/meteor-integration/issues/133','TSX','/app/imports/ui/test-helpers.js.jsx','skip-template-js','config','@typescript-eslint/parser\x20@babel/preset-env\x20@babel/preset-react\x20@babel/eslint-parser\x20@babel/plugin-transform-runtime','mocha','NONE','JSX','less','\x20commit\x20-m\x20\x22Maka-CLI\x20init\x20@\x20','skip-js','None','maka\x20create\x20ssr-app\x20--ssr','local','skip-testing','cssAnswer','skip-tests','816614DlpTDd','@apollo/react-testing','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22','pkg','REACT','56dewfVL','/app/imports/ui/test-helpers.js.tsx','\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\x20Functional\x20or\x20Class-based\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','maka\x20create\x20<name>','not-found','themeAnswer','/app/public/sw.js.ts','warn','.maka','lint','notice','layout','/app/public/sw.js','/app/public/sw.js.tsx','apollo','graphql','crypto','isMeteorInstalled','theme','METEOR','/app/imports/startup/client/templates.js.jsx','start','@babel/plugin-transform-react-jsx','/app/imports/startup/lib/templates.js.jsx','\x20in\x20workspace\x20','REST','mpi','release','3130135YUyPAP','toString','translations','560041yUjALp','App\x20Name:','app/tsconfig.json','/app/imports/startup/client/templates.js.tsx','Mocha','husky','none','class','push','html','react-test-renderer','jest','getMeteorReleaseVersion','function','template','translation','@mui/icons-material\x20@mui/material\x20@emotion/styled\x20@mui/system','/app/public/sw.js.jsx','config.json','Prefer\x20Class-based\x20Components\x20or\x20Functional-based\x20Components','CSS\x20Style','SSR\x20is\x20not\x20supported\x20on\x20any\x20other\x20client\x20than\x20react','hasOwnProperty','APOLLO','app/meteor.d.ts','i18next\x20i18next-browser-languagedetector\x20react-i18next','Use\x20Typescript\x20or\x20Javascript','77aHJnjC','maka\x20create\x20testable-app\x20--test=mocha','build','processAndRunGenerator','@typescript-eslint/parser\x20@loadable/babel-plugin\x20@babel/plugin-transform-runtime\x20babel-preset-meteor','\x20--initial-branch=main','Cannot\x20init\x20git,\x20do\x20you\x20have\x20git\x20installed?','version:use','client','create','SSR\x20with\x20GraphQL\x20is\x20not\x20supported.','grigio:babel','@apollo/link-context\x20@apollo/react-hooks\x20@apollo/client\x20graphql-type-json@0.2.4','sep','react','@types/meteor','isFile','Running:\x20','@babel/runtime@latest','Creating\x20project\x20in\x20workspace:\x20','api','Jest','Use\x20GraphQL\x20in\x20the\x20client','typescript','constructor','project','/app/imports/startup/client/routes.js.tsx','/app/imports/startup/lib/routes.js.tsx','greenBright','material','confirm','test','meteor','Please\x20review\x20choices,\x20ready\x20to\x20scaffold\x20','VANILLA','platform','workspace','installNpmPackage','cert','Create\x20a\x20new\x20Maka\x20Meteor\x20project','install','fsi','@testing-library/react\x20chai\x20selenium-webdriver\x20chromedriver','isomorphic-fetch','eslint\x20prettier\x20eslint-config-prettier\x20eslint-plugin-css\x20eslint-plugin-prettier\x20eslint-plugin-react\x20eslint-plugin-unused-imports','app','select','ssr','self-test','main-layout','getGlobalConfig','\x20add\x20.\x20&&\x20git\x20-C\x20','@types/mocha','You\x20are\x20forcing\x20to\x20create\x20a\x20meteor\x20project\x20in\x20an\x20existing\x20directory.\x20You\x20sure?','testAnswer','Created\x20','static-html\x20jquery','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Install\x20with\x20`maka\x20install\x20meteor`','UI\x20Theming','810126VlOaEq','app.tar.gz','For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.','force','Material-UI'];a23c=function(){return a1;};return a23c();}import a23h from'./maka.cmd.js';function a23d(a,b){const c=a23c();return a23d=function(d,e){d=d-0x147;let f=c[d];return f;},a23d(a,b);}import a23i 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';import{HtmlEngines,CssEngines,JsEngines,ApiEngines,TestEngines,ClientEngines,GraphqlEngines,SsrEngines,ThemeEngines}from'../tools/fsi/fsi.interfaces.js';const pjson={'version':a23Z(0x1b6)};Command[a23Z(0x155)]({'name':a23Z(0x155),'aliases':['c'],'minArgLength':0x0,'maxArgLength':0x2,'usage':a23Z(0x1d9),'shortDesc':a23Z(0x173),'validOpts':[a23Z(0x18a),a23Z(0x1f1)],'description':a23Z(0x1d8),'mustBeInMakaProject':![],'examples':[a23Z(0x1b2),'maka\x20create\x20material-app\x20--theme=material','maka\x20create\x20gql-service\x20--graphql=apollo',a23Z(0x1cc),a23Z(0x14d)]},async function(a,b){const a0=a23Z;try{const c=await Actions[a0(0x16a)]('Would\x20you\x20like\x20to\x20use\x20Meteor’s\x20built-in\x20skeletons?',![]),d=this['mpi'][a0(0x16c)];if(this[a0(0x1f0)][a0(0x1e7)]())Log['notice']('Meteor\x20is\x20installed.'),await a23h[a0(0x1ba)](a0(0x153),[]);else{const f=await Actions['confirm']('Meteor\x20is\x20not\x20installed,\x20or\x20cannot\x20be\x20found.\x20Would\x20you\x20like\x20to\x20install\x20Meteor\x20now?',!![]);if(f)await a23h[a0(0x1ba)](a0(0x174),[a0(0x16c)],{'force':!![]}),Log[a0(0x1e0)]('Continuing\x20with\x20creating\x20your\x20application...');else throw Log['error'](a0(0x185));}if(c){const g=d+a0(0x19f);Log['notice'](a0(0x15d)+g),execSync(g,{'stdio':a0(0x1a8)}),process[a0(0x18e)](0x0);}else{let h=a[0x0];(!h||h[a0(0x192)]===0x0)&&(h=await Actions['ask'](a0(0x1f6)));if(!b['force']&&this[a0(0x175)][a0(0x1a4)](h))throw Log[a0(0x193)]('Project\x20already\x20exists.');else{if(this['fsi']['isDirectory'](h)){const F=await Actions['confirm'](a0(0x181),![]);if(!F)throw Log[a0(0x193)]('Aborted');}}if(!b['js']){const G={'message':a0(0x14b),'name':a0(0x1bc),'choices':[{'name':'Javascript','value':'js'},{'name':a0(0x1a5),'value':'ts'}]},H=await Actions[a0(0x17a)](G);H==='ts'&&(b['js']=JsEngines['TS']);}if(!b[a0(0x1af)]){const I={'message':a0(0x208),'name':'reactAnswer','choices':[{'name':a0(0x1b0),'value':a0(0x202)},{'name':a0(0x199),'value':a0(0x1fc)}]},J=await Actions[a0(0x17a)](I);J===a0(0x202)&&(b[a0(0x1af)]=!![]);}if(!b[a0(0x16b)]){const K={'message':'Choose\x20a\x20testing\x20framework','name':a0(0x182),'choices':[{'name':a0(0x161),'value':a0(0x200)},{'name':a0(0x1f9),'value':a0(0x1c5)},{'name':a0(0x1cb),'value':a0(0x1fb)}]},L=await Actions[a0(0x17a)](K);L&&(b[a0(0x16b)]=L);}if(!b[a0(0x1e8)]){const M={'message':a0(0x186),'name':a0(0x1db),'choices':[{'name':a0(0x18b),'value':a0(0x169)},{'name':'None','value':'none'}]},N=await Actions[a0(0x17a)](M);N&&(b['theme']=N);if(!b[a0(0x1ab)]){const O={'message':a0(0x209),'name':a0(0x1cf),'choices':[{'name':a0(0x1a3),'value':'css'},{'name':a0(0x19b),'value':a0(0x1c8)},{'name':'None','value':'none'}]},P=await Actions['select'](O);P&&(b['css']=P);}}if(!b[a0(0x191)]){const Q=await Actions[a0(0x16a)]('Use\x20i18n\x20Translations',![]);Q&&(b[a0(0x191)]=!![]);}const i=[];!b[a0(0x1e5)]&&i[a0(0x1fd)]({'name':'GraphQL','value':a0(0x1e4)});const j=await Actions['confirm'](a0(0x162));j&&(b['graphql']=GraphqlEngines['APOLLO']);if(!b[a0(0x1e5)]){const R=await Actions[a0(0x16a)]('Enable\x20server-side\x20rendering\x20(ssr)');R&&(b[a0(0x17b)]=SsrEngines[a0(0x1e9)]);}const k=await this['cfg'][a0(0x17e)](),l=k[a0(0x170)];l&&(Log[a0(0x1e0)](a0(0x15f)+l),h=a23e[a0(0x1b9)](l,h));const m=h,n=h,o=b[a0(0x147)](a0(0x17c)),p={'appName':m,'engines':{'html':b[a0(0x1fe)]||HtmlEngines[a0(0x19c)],'js':b['js']||JsEngines['JSX'],'css':b[a0(0x1ab)]||CssEngines[a0(0x1a3)],'api':b['api']||ApiEngines[a0(0x1c6)],'client':b['client']||ClientEngines[a0(0x1d5)],'test':b[a0(0x16b)]||TestEngines['NONE'],'graphql':b['graphql']||GraphqlEngines[a0(0x1c6)],'theme':b[a0(0x1e8)]||ThemeEngines[a0(0x1c6)],'ssr':b[a0(0x17b)]?SsrEngines[a0(0x1e9)]:SsrEngines[a0(0x1c6)]},'features':{'withHooks':b[a0(0x1af)]||![],'withTranslations':b[a0(0x191)]||![]},'template':{'html':![],'js':!b[a0(0x147)](a0(0x1c2))&&!b['hasOwnProperty'](a0(0x1ca)),'css':b[a0(0x1ab)]!==a0(0x1fb),'test':!b['hasOwnProperty'](a0(0x1ce))&&!b[a0(0x147)](a0(0x1d0))},'route':{'template':!b[a0(0x147)]('skip-route-template')},'generator':{'comments':!b[a0(0x147)](a0(0x1a9))}};p['engines'][a0(0x1e5)]!==GraphqlEngines['NONE']&&(p['engines']['graphql']=GraphqlEngines['APOLLO']);p['engines']['client']===ClientEngines[a0(0x1d5)]?(p['engines']['js']===JsEngines['TS']&&(p['engines']['js']=JsEngines['TSX']),p[a0(0x195)]['js']===JsEngines['JS']&&(p['engines']['js']=JsEngines['JSX'])):(p[a0(0x195)]['js']===JsEngines[a0(0x1c0)]&&(p[a0(0x195)]['js']=JsEngines['TS']),p[a0(0x195)]['js']===JsEngines[a0(0x1c7)]&&(p['engines']['js']=JsEngines['JS']));p[a0(0x195)][a0(0x154)]===ClientEngines[a0(0x16e)]&&(p['engines']['js']=JsEngines['JS'],p[a0(0x195)]['graphql']=GraphqlEngines[a0(0x1c6)],p[a0(0x195)]['theme']=ThemeEngines[a0(0x1c6)],p['engines'][a0(0x17b)]=SsrEngines['NONE']);p[a0(0x195)][a0(0x17b)]===SsrEngines['METEOR']&&(p['engines'][a0(0x154)]!==ClientEngines[a0(0x1d5)]&&(Log[a0(0x193)](a0(0x20a)),p['engines']['ssr']=SsrEngines[a0(0x1c6)]),(p['engines'][a0(0x160)]===ApiEngines[a0(0x1ef)]||p[a0(0x195)][a0(0x1e5)]===GraphqlEngines[a0(0x148)])&&(Log[a0(0x193)](a0(0x156)),Log[a0(0x193)](a0(0x1bf)),p['engines'][a0(0x17b)]=SsrEngines[a0(0x1c6)]));p['engines'][a0(0x17b)]===SsrEngines[a0(0x1e9)]&&(p[a0(0x203)][a0(0x1ab)]=![]);const q={'app':m,'config':p,'appPath':a23e[a0(0x1b9)](n,'app'),'bundlePath':a23e[a0(0x1b9)](n,a0(0x14e),a0(0x188)),'useCert':k[a0(0x172)]?this['fsi'][a0(0x15c)](k['cert']):null,'version':pjson['version']};let r=[];p[a0(0x195)][a0(0x17b)]===SsrEngines[a0(0x1e9)]?r=[a0(0x1ea),'/app/imports/startup/client/routes.js.jsx',a0(0x1f8),a0(0x166)]:r=[a0(0x1ed),'/app/imports/startup/lib/routes.js.jsx','/app/imports/startup/lib/templates.js.tsx',a0(0x167)];p[a0(0x195)]['js']!==JsEngines['TS']&&p[a0(0x195)]['js']!==JsEngines[a0(0x1c0)]&&(r[a0(0x1fd)](a0(0x149)),r['push'](a0(0x1bd)),r['push'](a0(0x1f7)));p[a0(0x195)][a0(0x154)]===ClientEngines['VANILLA']&&r[a0(0x1fd)]('/app/imports/startup/client/template.js');const s=[];s[a0(0x1fd)](a0(0x1e2)),r[a0(0x1fd)](a0(0x206)),r[a0(0x1fd)](a0(0x1e3)),r[a0(0x1fd)](a0(0x1dc)),r['push'](a0(0x1c1)),r['push'](a0(0x1d7));const t=[],u=[],v=[],w=[],x=[],y=await Actions['confirm'](a0(0x1ac),!![]);y&&(t['push'](a0(0x150)),u['push'](a0(0x1c4)),v[a0(0x1fd)](a0(0x178)));const z=await Actions[a0(0x16a)](a0(0x16d)+a23g[a0(0x168)](h),!![]);if(!z)throw Log['error']('Aborted');const A=a23e['join'](n,a0(0x179)),B=Log['withSpinner']();await this['scaffold']['copyTemplateDirectory']({'srcPath':a0(0x165),'destPath':n,'context':q,'ignore':r,'keep':s,'framework':'meteor','config':p}),a23f[a0(0x190)](n+a23e[a0(0x159)]+a0(0x1b7),n+a23e['sep']+'.gitignore'),B[a0(0x1eb)](a0(0x1ae));const C=this[a0(0x1f0)][a0(0x201)]();await this['scaffold'][a0(0x1a2)](a0(0x179),{'cwd':n,'release':C,...b}),B[a0(0x1b4)](),await this[a0(0x19d)][a0(0x1bb)]({'srcPath':a0(0x179),'destPath':A,'context':q,'ignore':r,'keep':s,'framework':a0(0x16c),'config':p}),await this[a0(0x175)][a0(0x18c)](p,a23e['join'](n,a0(0x1de),a0(0x207)));const D=p[a0(0x195)]['client']==='react'?a0(0x1e1):a0(0x203);Log[a0(0x1e0)]('Project\x20scaffolded,\x20running\x20generators\x20in\x20project\x20directory...'),await a23i[a0(0x14f)](D,[a0(0x17d)],{'cwd':n,'root':!![],'config':p}),await a23i['processAndRunGenerator']('page',['home'],{'cwd':n,'root':!![],'config':p}),await a23i[a0(0x14f)]('page',[a0(0x1da)],{'cwd':n,'root':!![],'config':p}),await a23i[a0(0x14f)](a0(0x1c3),[a0(0x1cd)],{'cwd':n,'root':!![],'config':p});p['features'][a0(0x191)]&&(await a23i[a0(0x14f)](a0(0x204),[a0(0x1f4)],{'lang':'en','cwd':n,'root':!![],'config':p}),t[a0(0x1fd)](a0(0x14a)));t[a0(0x1fd)](a0(0x1e6)),t['push'](a0(0x1b3)),w[a0(0x1fd)](a0(0x19a)),u[a0(0x1fd)](a0(0x1fa));p[a0(0x195)][a0(0x154)]==='react'&&(p[a0(0x195)][a0(0x16b)]===a0(0x1c5)&&(w['push']('meteortesting:mocha'),u[a0(0x1fd)](a0(0x176)),p['engines']['graphql']===a0(0x1e4)&&u[a0(0x1fd)](a0(0x1d2))));p[a0(0x203)][a0(0x1ab)]&&(p[a0(0x195)]['css']==a0(0x1c8)&&w[a0(0x1fd)](a0(0x1c8)));(p[a0(0x195)]['js']==='ts'||p[a0(0x195)]['js']==='tsx')&&(w[a0(0x1fd)](a0(0x163)),u[a0(0x1fd)](a0(0x15b)),u['push'](a0(0x180)),u[a0(0x1fd)](a0(0x1be)),p[a0(0x195)][a0(0x16b)]!==a0(0x1fb)&&u['push']('@types/testing-library__react'));'js'in b&&b['js']?.[a0(0x197)]()==='es6'&&w['push'](a0(0x157));t['push'](a0(0x15e)),t[a0(0x1fd)](a0(0x1ec));p[a0(0x195)][a0(0x154)]===a0(0x15a)&&(p[a0(0x195)][a0(0x16b)]!==a0(0x1fb)&&t[a0(0x1fd)](a0(0x1ff)),t[a0(0x1fd)]('react\x20react-router@6\x20prop-types\x20@emotion/react\x20react-router-dom@6\x20react-dom'));p[a0(0x195)]['graphql']==='apollo'&&(t['push']('graphql\x20graphql-type-json@0.2.4\x20isomorphic-fetch'),t['push'](a0(0x158)));p[a0(0x195)]['theme']==='material'&&t['push'](a0(0x205));p['engines'][a0(0x17b)]!==SsrEngines[a0(0x1c6)]&&(t[a0(0x1fd)](a0(0x1aa)),t[a0(0x1fd)]('@emotion/cache'));p[a0(0x195)]['ssr']===SsrEngines[a0(0x1e9)]&&(t[a0(0x1fd)]('styled-components\x20history@3.3.0'),w[a0(0x1fd)]('server-render'));w[a0(0x1fd)]('maka:http');(p['engines'][a0(0x16b)]===a0(0x194)||p[a0(0x195)][a0(0x17b)]!==SsrEngines[a0(0x1c6)]||p[a0(0x195)][a0(0x154)]===a0(0x15a))&&w[a0(0x1fd)]('static-html');p['engines'][a0(0x17b)]!==SsrEngines[a0(0x1c6)]&&p[a0(0x195)][a0(0x1e5)]===a0(0x1e4)&&t[a0(0x1fd)](a0(0x177));p[a0(0x195)][a0(0x154)]==='vanilla'&&(x[a0(0x1fd)]('blaze-html-templates\x20tracker'),w['push'](a0(0x184)));Log[a0(0x1e0)]('Running\x20post\x20creation\x20tasks'),await this[a0(0x175)]['initNpm']({'cwd':A,'isSelfTest':o}),await this[a0(0x1d4)][a0(0x171)](t[a0(0x1b9)]('\x20'),{'cwd':A,'isSelfTest':o}),await this['pkg'][a0(0x171)](u[a0(0x1b9)]('\x20'),{'cwd':A,'isSelfTest':o,'saveDev':!![]}),await this[a0(0x1d4)][a0(0x171)](v[a0(0x1b9)]('\x20'),{'cwd':n,'isSelfTest':o,'saveDev':!![]});w[a0(0x192)]>0x0&&await this['pkg']['installMeteorPackage'](w[a0(0x1b9)]('\x20'),{'cwd':A,'isSelfTest':o});x[a0(0x192)]>0x0&&await this[a0(0x1d4)][a0(0x1a0)](x[a0(0x1b9)]('\x20'),{'cwd':A,'isSelfTest':o});y&&await a23h['processAndRunCommand'](a0(0x1df),[],{'fix':!![],'cwd':n});try{const S=new Date(),T=a23e['join'](n);execSync(a0(0x1a7)+T+a0(0x151),{'stdio':a0(0x1a1)}),execSync(a0(0x18d)+T+a0(0x17f)+T+a0(0x1c9)+S[a0(0x1a6)]()+'\x22',{'stdio':a0(0x1a1)});}catch(U){Log[a0(0x1dd)](a0(0x152));}Log[a0(0x1b4)](a0(0x183)+m);l&&l!==process['cwd']()&&Log[a0(0x1b4)](a0(0x1ee)+l);const E=process[a0(0x16f)]==='win32';E&&(Log[a0(0x1e0)](a0(0x189)),Log[a0(0x1e0)]('\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20'),Log[a0(0x1e0)](a0(0x1d3)+a23e['join'](n)+'\x22'));}}catch(V){Log[a0(0x193)](V),process[a0(0x18e)](0x1);}});
@@ -1 +1 @@
1
- const a24o=a24d;(function(a,b){const k=a24d,c=a();while(!![]){try{const d=parseInt(k(0x1ab))/0x1+-parseInt(k(0x1b4))/0x2*(-parseInt(k(0x1b3))/0x3)+-parseInt(k(0x19e))/0x4+-parseInt(k(0x1bf))/0x5+-parseInt(k(0x1ad))/0x6+-parseInt(k(0x1cb))/0x7*(parseInt(k(0x1bd))/0x8)+parseInt(k(0x1a9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a24c,0xb077a));const a24b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a24d;if(c){const e=c[l(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a24a=a24b(this,function(){const m=a24d;return a24a[m(0x1b5)]()['search']('(((.+)+)+)+$')[m(0x1b5)]()[m(0x1c6)](a24a)[m(0x1c1)]('(((.+)+)+)+$');});a24a();import a24e from'path';import a24f from'fs';import a24g from'dotenv';import{Command}from'../command.js';function a24c(){const r=['constructor','filter','inspect','create','--env','7rJkLtm','config','Node\x20Env\x20Config:\x20','concat','\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','maka\x20debug\x20--inspect','5583840njapUB','rawLogs','process.env','settings.json','isFile','forEach','mpi','maka\x20debug\x20--env\x20dev','development','Meteor\x20Settings:\x20','--settings','25312626hyWFer','maka\x20debug','1184509AwBgTD','slice','5334288ijAKec','maka\x20debug\x20--port\x204000','notice','debug','apply','Running\x20in\x20Debug','25419zbmTAu','188FQipyL','toString','getAppConfigPath','fsi','openSync','splice','Cannot\x20find\x20Node\x20Environment\x20File:\x20','maka\x20debug\x20--env\x20prod','port','5601896FEIAEY','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','5427150eAgwjh','warn','search','env','argv','cfg','getEnvFromShorthand'];a24c=function(){return r;};return a24c();}import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const n=a24d;a24f[n(0x1b8)](a,'r'),a24g[n(0x1cc)]({'path':a});};function a24d(a,b){const c=a24c();return a24d=function(d,e){d=d-0x19a;let f=c[d];return f;},a24d(a,b);}Command[a24o(0x1c9)]({'name':a24o(0x1b0),'usage':a24o(0x1aa),'validOpts':[a24o(0x1c2),a24o(0x19f),a24o(0x1bc),a24o(0x1c8)],'maxArgLength':0x1,'shortDesc':'Debug\x20your\x20app\x20for\x20a\x20given\x20environment.','description':a24o(0x19c),'mustBeInMakaProject':!![],'examples':[a24o(0x1bb),a24o(0x1a5),'maka\x20debug\x20--raw-logs',a24o(0x1ae),a24o(0x19d)]},function(a,b){const p=a24o;try{const c=b[p(0x1c2)]?this[p(0x1c4)][p(0x1c5)](b['env']):p(0x1a6);let d=this[p(0x1c4)][p(0x1b6)](c);c&&(d=this['cfg'][p(0x1b6)](c));const f=a24e['join'](d,p(0x1a0)),g=a24e['join'](c,p(0x1a1));this[p(0x1b7)][p(0x1a2)](g)?(Log['notice'](p(0x1a7)+g),a=a['concat']([p(0x1a8),g])):Log[p(0x1c0)](p(0x1be)+g);this['fsi'][p(0x1a2)](d)?(Log[p(0x1af)](p(0x19a)+d),syncSource(f)):Log[p(0x1c0)](p(0x1ba)+d);const h=process[p(0x1c3)][p(0x1ac)](0x2)[p(0x1c7)](i=>i!==p(0x1b0))[p(0x1c7)](i=>i!==a[0x0]);h[p(0x1a3)]((i,j)=>{const q=p;i===q(0x1ca)&&h[q(0x1b9)](j,0x2),i==='--packages'&&h[q(0x1b9)](j,0x1);}),Log['warn'](p(0x1b2)),this[p(0x1a4)]['invokeMeteorCommand'](p(0x1b0),a[p(0x19b)](h));}catch(i){console['error'](i),process['exit'](0x0);}});
1
+ const a24n=a24d;(function(a,b){const k=a24d,c=a();while(!![]){try{const d=parseInt(k(0x135))/0x1*(parseInt(k(0x118))/0x2)+-parseInt(k(0x113))/0x3*(parseInt(k(0x10d))/0x4)+parseInt(k(0x116))/0x5+parseInt(k(0x12b))/0x6+-parseInt(k(0x10a))/0x7*(-parseInt(k(0x130))/0x8)+-parseInt(k(0x110))/0x9*(parseInt(k(0x13a))/0xa)+parseInt(k(0x125))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a24c,0xebded));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 l=a24d;return a24a[l(0x132)]()[l(0x121)](l(0x11b))[l(0x132)]()['constructor'](a24a)['search'](l(0x11b));});a24a();import a24e from'path';import a24f from'fs';import a24g from'dotenv';import{Command}from'../command.js';function a24d(a,b){const c=a24c();return a24d=function(d,e){d=d-0x10a;let f=c[d];return f;},a24d(a,b);}import{Log}from'../tools/log/log.class.js';function a24c(){const q=['forEach','9OmfaQK','env','getEnvFromShorthand','4501011ZBBUhw','port','inspect','6647025cYruRh','join','10756CPvkLZ','mpi','slice','(((.+)+)+)+$','maka\x20debug\x20--port\x204000','warn','cfg','--settings','process.env','search','create','--env','fsi','1521454gJFrLQ','maka\x20debug\x20--env\x20dev','Meteor\x20Settings:\x20','getAppConfigPath','notice','filter','5199222fpcmwm','--packages','invokeMeteorCommand','error','maka\x20debug','2552NctNfj','Cannot\x20find\x20Node\x20Environment\x20File:\x20','toString','\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','debug','25aLnkhj','splice','maka\x20debug\x20--raw-logs','rawLogs','concat','8670530DtwRyy','18977PIcpny','openSync','isFile','4pDRFTW','development'];a24c=function(){return q;};return a24c();}const syncSource=function(a){const m=a24d;a24f[m(0x10b)](a,'r'),a24g['config']({'path':a});};Command[a24n(0x122)]({'name':a24n(0x134),'usage':a24n(0x12f),'validOpts':[a24n(0x111),a24n(0x138),a24n(0x114),a24n(0x115)],'maxArgLength':0x1,'shortDesc':'Debug\x20your\x20app\x20for\x20a\x20given\x20environment.','description':a24n(0x133),'mustBeInMakaProject':!![],'examples':['maka\x20debug\x20--env\x20prod',a24n(0x126),a24n(0x137),a24n(0x11c),'maka\x20debug\x20--inspect']},function(a,b){const o=a24n;try{const c=b[o(0x111)]?this[o(0x11e)][o(0x112)](b['env']):o(0x10e);let d=this[o(0x11e)][o(0x128)](c);c&&(d=this[o(0x11e)][o(0x128)](c));const f=a24e[o(0x117)](d,o(0x120)),g=a24e[o(0x117)](c,'settings.json');this[o(0x124)][o(0x10c)](g)?(Log[o(0x129)](o(0x127)+g),a=a['concat']([o(0x11f),g])):Log[o(0x11d)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+g);this['fsi']['isFile'](d)?(Log[o(0x129)]('Node\x20Env\x20Config:\x20'+d),syncSource(f)):Log[o(0x11d)](o(0x131)+d);const h=process['argv'][o(0x11a)](0x2)['filter'](i=>i!==o(0x134))[o(0x12a)](i=>i!==a[0x0]);h[o(0x10f)]((i,j)=>{const p=o;i===p(0x123)&&h[p(0x136)](j,0x2),i===p(0x12c)&&h[p(0x136)](j,0x1);}),Log[o(0x11d)]('Running\x20in\x20Debug'),this[o(0x119)][o(0x12d)](o(0x134),a[o(0x139)](h));}catch(i){console[o(0x12e)](i),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a25d,c=a();while(!![]){try{var d=parseInt(f(0xcd))/0x1*(parseInt(f(0xc7))/0x2)+parseInt(f(0xcc))/0x3+-parseInt(f(0xc5))/0x4+parseInt(f(0xce))/0x5+-parseInt(f(0xc8))/0x6+-parseInt(f(0xc3))/0x7*(-parseInt(f(0xc4))/0x8)+-parseInt(f(0xc9))/0x9*(parseInt(f(0xca))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a25c,0xe0f81));var a25b=(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;};}()),a25a=a25b(this,function(){var g=a25d;return a25a['toString']()[g(0xc2)]('(((.+)+)+)+$')[g(0xcb)]()[g(0xc1)](a25a)[g(0xc2)](g(0xc6));});a25a();import'./deploy.command.js';function a25c(){var h=['6168144RDbTyS','14166yXjgDG','14660VRkhJt','toString','3994632rLFIJC','25yEBxAc','7504875iOJFMa','constructor','search','322XgOkxH','59064ySTnSX','2324924zURulZ','(((.+)+)+)+$','133286IKjNTX'];a25c=function(){return h;};return a25c();}import'./galaxy.sub.cmd.js';function a25d(a,b){var c=a25c();return a25d=function(d,e){d=d-0xc1;var f=c[d];return f;},a25d(a,b);}import'./ubuntu.sub.cmd.js';
1
+ (function(a,b){var f=a25d,c=a();while(!![]){try{var d=-parseInt(f(0x18e))/0x1*(-parseInt(f(0x185))/0x2)+parseInt(f(0x187))/0x3+-parseInt(f(0x191))/0x4+parseInt(f(0x184))/0x5*(-parseInt(f(0x18c))/0x6)+parseInt(f(0x18d))/0x7*(-parseInt(f(0x190))/0x8)+-parseInt(f(0x192))/0x9*(-parseInt(f(0x186))/0xa)+-parseInt(f(0x18f))/0xb*(-parseInt(f(0x18b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a25c,0x34a1f));function a25d(a,b){var c=a25c();return a25d=function(d,e){d=d-0x184;var f=c[d];return f;},a25d(a,b);}var a25b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a25d;if(c){var e=c[g(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a25a=a25b(this,function(){var h=a25d;return a25a[h(0x189)]()[h(0x18a)](h(0x188))['toString']()['constructor'](a25a)['search'](h(0x188));});a25a();import'./deploy.command.js';import'./galaxy.sub.cmd.js';import'./ubuntu.sub.cmd.js';function a25c(){var i=['toString','search','12ifqzKp','6FGiRHa','2135rExQXr','2jHoOIR','5792369ugNeJZ','10168dEEkfK','859884aaZCwE','1305BQdPHX','apply','1081855URxXCR','189026UPQjHL','1210ykkvwL','904290PvSvVY','(((.+)+)+)+$'];a25c=function(){return i;};return a25c();}
@@ -1 +1 @@
1
- const a26i=a26d;(function(a,b){const f=a26d,c=a();while(!![]){try{const d=-parseInt(f(0x205))/0x1*(parseInt(f(0x201))/0x2)+-parseInt(f(0x1f6))/0x3+parseInt(f(0x20b))/0x4*(parseInt(f(0x1fd))/0x5)+parseInt(f(0x203))/0x6*(parseInt(f(0x207))/0x7)+parseInt(f(0x200))/0x8*(parseInt(f(0x1fe))/0x9)+-parseInt(f(0x1ff))/0xa*(parseInt(f(0x202))/0xb)+-parseInt(f(0x1fa))/0xc*(-parseInt(f(0x1f7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a26c,0xbd9b2));const a26b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a26d;if(c){const e=c[g(0x208)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a26a=a26b(this,function(){const h=a26d;return a26a[h(0x1f5)]()[h(0x209)]('(((.+)+)+)+$')[h(0x1f5)]()[h(0x206)](a26a)[h(0x209)]('(((.+)+)+)+$');});a26a();import{Command}from'../../command.js';function a26d(a,b){const c=a26c();return a26d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a26d(a,b);}function a26c(){const j=['1515Sqvygw','9648ySDkUh','7098170rDBpsb','11016nkrpMg','2dsIRxx','22ZXrOEg','6wWkaGR','maka\x20deploy:galaxy\x20--env\x20prod\x20--free','87203NZucRX','constructor','2930662tsMotU','apply','search','maka\x20deploy:ubuntu\x20--env\x20prod','9976pncdRW','maka\x20deploy:galaxy\x20-e\x20p\x20--delete','\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.','toString','2090544aQneJI','4823DYeKei','deploy','Deploy\x20your\x20application','10668chRbYI','create','maka\x20deploy'];a26c=function(){return j;};return a26c();}import{UsageError}from'../../error.js';const DeployCommand=Command[a26i(0x1fb)]({'name':a26i(0x1f8),'usage':a26i(0x1fc),'aliases':['d'],'validOpts':[],'mustBeInMakaProject':!![],'shortDesc':a26i(0x1f9),'description':a26i(0x1f4),'examples':[a26i(0x20a),a26i(0x204),'maka\x20deploy:galaxy\x20-e\x20p\x20--plan=professional\x20|\x20essentials',a26i(0x1f3),'maka\x20deploy:ubuntu\x20-e\x20p\x20--mongo\x20--ssl=letsencrypt\x20--domains=www.maka-cli.com\x20--email=admin@maka-cli.com']},async function(){throw UsageError;});export default DeployCommand;
1
+ const a26i=a26d;(function(a,b){const f=a26d,c=a();while(!![]){try{const d=-parseInt(f(0x119))/0x1+parseInt(f(0x11f))/0x2*(-parseInt(f(0x127))/0x3)+parseInt(f(0x11c))/0x4+-parseInt(f(0x123))/0x5*(parseInt(f(0x129))/0x6)+parseInt(f(0x11a))/0x7*(-parseInt(f(0x125))/0x8)+parseInt(f(0x124))/0x9+parseInt(f(0x118))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a26c,0x63780));const a26b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a26d;if(c){const e=c[g(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a26a=a26b(this,function(){const h=a26d;return a26a['toString']()[h(0x117)](h(0x120))[h(0x11b)]()[h(0x11d)](a26a)[h(0x117)]('(((.+)+)+)+$');});a26a();import{Command}from'../../command.js';function a26c(){const j=['1970838RxZBDl','24qPFTUl','maka\x20deploy:galaxy\x20-e\x20p\x20--plan=professional\x20|\x20essentials','3mRxuKR','deploy','18KxrLJB','Deploy\x20your\x20application','maka\x20deploy:ubuntu\x20--env\x20prod','search','6767270RVzHHC','193164uGFPTq','758723pSVsEr','toString','2777684TQClhN','constructor','\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.','737426ciprJm','(((.+)+)+)+$','maka\x20deploy:galaxy\x20-e\x20p\x20--delete','apply','492770SqJzbt'];a26c=function(){return j;};return a26c();}function a26d(a,b){const c=a26c();return a26d=function(d,e){d=d-0x115;let f=c[d];return f;},a26d(a,b);}import{UsageError}from'../../error.js';const DeployCommand=Command['create']({'name':a26i(0x128),'usage':'maka\x20deploy','aliases':['d'],'validOpts':[],'mustBeInMakaProject':!![],'shortDesc':a26i(0x115),'description':a26i(0x11e),'examples':[a26i(0x116),'maka\x20deploy:galaxy\x20--env\x20prod\x20--free',a26i(0x126),a26i(0x121),'maka\x20deploy:ubuntu\x20-e\x20p\x20--mongo\x20--ssl=letsencrypt\x20--domains=www.maka-cli.com\x20--email=admin@maka-cli.com']},async function(){throw UsageError;});export default DeployCommand;
@@ -1 +1 @@
1
- const a27u=a27d;(function(a,b){const s=a27d,c=a();while(!![]){try{const d=parseInt(s(0x15d))/0x1+-parseInt(s(0x16f))/0x2+-parseInt(s(0x168))/0x3*(-parseInt(s(0x14e))/0x4)+-parseInt(s(0x17f))/0x5+-parseInt(s(0x157))/0x6*(parseInt(s(0x15c))/0x7)+parseInt(s(0x14a))/0x8+parseInt(s(0x171))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a27c,0x2c139));const a27b=(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;};}()),a27a=a27b(this,function(){const t=a27d;return a27a[t(0x174)]()[t(0x14f)](t(0x172))[t(0x174)]()[t(0x162)](a27a)[t(0x14f)](t(0x172));});a27a();function a27c(){const x=['Aborting','appName','create','notice','Are\x20you\x20sure\x20you\x20want\x20to\x20delete\x20this\x20app\x20from\x20Galaxy?','warn','2266336JfCzWz','Performance','readFileSync','--delete','4fgqpAj','search','delete','No\x20\x22galaxy.meteor.com\x22\x20settings\x20found\x20in\x20','free','error','Free','elite','--settings','183558rZIKFS','professional','deploy','galaxy.meteor.com','splice','14kUhbhq','178653xpSMfC','env','\x20settings.json.\x20\x20See\x20https://cloud-guide.meteor.com/environment-variables.html\x20for\x20info','fsi','select','constructor','--free','You\x20may\x20be\x20prompted\x20to\x20log\x20into\x20meteor.com\x20to\x20deploy\x20to\x20Galaxy.','plan','Professional','verbose','471525ZRQXuy','getEnvFromShorthand','force','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Essentials','cfg','galaxySiteName','105264jHZDWX','maka\x20deploy\x20galaxy','164349hwBDIk','(((.+)+)+)+$','Please\x20provide\x20a\x20Galaxy\x20site\x20name\x20[','toString','invokeMeteorCommand','join','--env','galaxy','forEach','settings','Elite','concat','performance','confirm','1715130rfFCpX','debug','settings.json','Deploy\x20your\x20application','isFile'];a27c=function(){return x;};return a27c();}import a27e from'path';import a27f from'fs';function a27d(a,b){const c=a27c();return a27d=function(d,e){d=d-0x148;let f=c[d];return f;},a27d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';import a27g from'./deploy.command.js';Command[a27u(0x186)]({'name':a27u(0x178),'aliases':['g'],'usage':a27u(0x170),'validOpts':[a27u(0x180),a27u(0x15e),a27u(0x16a),a27u(0x167),a27u(0x152),'plan',a27u(0x150),a27u(0x16e)],'mustBeInMakaProject':!![],'requiredOpts':[a27u(0x15e)],'shortDesc':a27u(0x182),'description':'\x0a\x20\x20Deploy\x20your\x20application\x20to\x20Galaxy,\x20Meteor\x27s\x20hosting\x20platform.\x0a\x20\x20','examples':['maka\x20deploy\x20galaxy\x20--env\x20prod\x20--free','maka\x20deploy\x20galaxy\x20-e\x20p\x20--plan=professional\x20|\x20essentials','maka\x20deploy\x20galaxy\x20-e\x20p\x20--delete']},async function(a,b){const v=a27u,c=this[v(0x16d)]['getMakaProjectConfig'](),d=this[v(0x16d)][v(0x169)](b[v(0x15e)]),f=this['cfg']['getAppConfigPath'](d),g=v(0x178);try{let h='';if(g==='galaxy'){let i=b[v(0x16e)];if(!i){const m=c[v(0x185)]+'-'+d;i=await Actions['ask'](v(0x173)+m+']:')||m;}const j=[i];if(b[v(0x150)]){const n=await Actions[v(0x17e)](v(0x148));if(n)return this['mpi'][v(0x175)](v(0x159),j[v(0x17c)]([v(0x14d)]));else{Log['notice'](v(0x184));return;}}if(!b[v(0x150)]){if(!b['plan']&&!b[v(0x152)]){const o=await Actions[v(0x161)]({'message':'Select\x20your\x20Galaxy\x20plan','name':v(0x165),'choices':[{'name':v(0x154),'value':v(0x152)},{'name':v(0x16c),'value':'essentials'},{'name':v(0x166),'value':v(0x158)},{'name':v(0x14b),'value':v(0x17d)},{'name':v(0x17b),'value':v(0x155)}]});h=o;}else{if(b[v(0x165)])h=b[v(0x165)];else b[v(0x152)]&&(h=v(0x152));}}let k=[];k[v(0x179)]((p,q)=>{const w=v;p===w(0x177)&&k[w(0x15b)](q,0x2),p==='-e'&&k[w(0x15b)](q,0x2);});let l=a27e[v(0x176)](f,v(0x181));b[v(0x17a)]&&(l=b[v(0x17a)]);if(this[v(0x160)][v(0x183)](l)){Log[v(0x187)]('Meteor\x20Settings:\x20'+l),k=k[v(0x17c)]([v(0x156),l]);const p=a27f[v(0x14c)](l),q=JSON['parse'](p['toString']());!q[v(0x15a)]&&Log[v(0x149)](v(0x151)+d+v(0x15f));}else Log[v(0x149)](v(0x16b)+l);if(h==='free')k=k[v(0x17c)]([v(0x163)]);else h&&(k=k[v(0x17c)](['--plan',h]));return Log[v(0x149)](v(0x164)),this['mpi']['invokeMeteorCommand'](v(0x159),j['concat'](k));}}catch(r){Log[v(0x153)]('Error\x20in\x20deployment:'),Log[v(0x153)](r);}},a27g);
1
+ function a27c(){const y=['You\x20may\x20be\x20prompted\x20to\x20log\x20into\x20meteor.com\x20to\x20deploy\x20to\x20Galaxy.','Error\x20in\x20deployment:','toString','4430JVSOIX','plan','error','--plan','ask','4VJZShS','Performance','No\x20\x22galaxy.meteor.com\x22\x20settings\x20found\x20in\x20','select','--env','invokeMeteorCommand','Select\x20your\x20Galaxy\x20plan','performance','free','getEnvFromShorthand','3250023paARZx','Deploy\x20your\x20application','68274FqbSkj','438VhhpGK','parse','galaxy.meteor.com','delete','readFileSync','Aborting','340557mgpafB','search','Are\x20you\x20sure\x20you\x20want\x20to\x20delete\x20this\x20app\x20from\x20Galaxy?','force','essentials','maka\x20deploy\x20galaxy','27SPppHc','--settings','Essentials','galaxy','mpi','17122908eDvRjn','4055hErEGR','18765niHuwP','constructor','deploy','Free','maka\x20deploy\x20galaxy\x20-e\x20p\x20--delete','settings','getAppConfigPath','splice','galaxySiteName','Professional','create','--delete','apply','\x0a\x20\x20Deploy\x20your\x20application\x20to\x20Galaxy,\x20Meteor\x27s\x20hosting\x20platform.\x0a\x20\x20','(((.+)+)+)+$','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','notice','warn','join','env','Elite','maka\x20deploy\x20galaxy\x20-e\x20p\x20--plan=professional\x20|\x20essentials','appName','debug','isFile','cfg','5527696gBZFJq','\x20settings.json.\x20\x20See\x20https://cloud-guide.meteor.com/environment-variables.html\x20for\x20info','Please\x20provide\x20a\x20Galaxy\x20site\x20name\x20[','maka\x20deploy\x20galaxy\x20--env\x20prod\x20--free','verbose'];a27c=function(){return y;};return a27c();}const a27v=a27d;(function(a,b){const s=a27d,c=a();while(!![]){try{const d=-parseInt(s(0x1f8))/0x1*(parseInt(s(0x1eb))/0x2)+-parseInt(s(0x1f2))/0x3*(-parseInt(s(0x1df))/0x4)+parseInt(s(0x1fe))/0x5*(parseInt(s(0x1ec))/0x6)+-parseInt(s(0x1e9))/0x7+-parseInt(s(0x1d2))/0x8+-parseInt(s(0x1ff))/0x9*(-parseInt(s(0x1da))/0xa)+parseInt(s(0x1fd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a27c,0x8ca37));const a27b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a27d;if(c){const e=c[t(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a27a=a27b(this,function(){const u=a27d;return a27a[u(0x1d9)]()['search'](u(0x1c6))['toString']()[u(0x200)](a27a)[u(0x1f3)]('(((.+)+)+)+$');});a27a();function a27d(a,b){const c=a27c();return a27d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a27d(a,b);}import a27e from'path';import a27f from'fs';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';import a27g from'./deploy.command.js';Command[a27v(0x1c2)]({'name':a27v(0x1fb),'aliases':['g'],'usage':a27v(0x1f7),'validOpts':[a27v(0x1cf),a27v(0x1cb),a27v(0x1f5),a27v(0x1d6),a27v(0x1e7),'plan',a27v(0x1ef),a27v(0x207)],'mustBeInMakaProject':!![],'requiredOpts':[a27v(0x1cb)],'shortDesc':a27v(0x1ea),'description':a27v(0x1c5),'examples':[a27v(0x1d5),a27v(0x1cd),a27v(0x203)]},async function(a,b){const w=a27v,c=this[w(0x1d1)]['getMakaProjectConfig'](),d=this[w(0x1d1)][w(0x1e8)](b[w(0x1cb)]),f=this['cfg'][w(0x205)](d),g=w(0x1fb);try{let h='';if(g===w(0x1fb)){let i=b['galaxySiteName'];if(!i){const m=c[w(0x1ce)]+'-'+d;i=await Actions[w(0x1de)](w(0x1d4)+m+']:')||m;}const j=[i];if(b[w(0x1ef)]){const n=await Actions['confirm'](w(0x1f4));if(n)return this[w(0x1fc)][w(0x1e4)]('deploy',j['concat']([w(0x1c3)]));else{Log[w(0x1c8)](w(0x1f1));return;}}if(!b[w(0x1ef)]){if(!b['plan']&&!b[w(0x1e7)]){const o=await Actions[w(0x1e2)]({'message':w(0x1e5),'name':w(0x1db),'choices':[{'name':w(0x202),'value':'free'},{'name':w(0x1fa),'value':w(0x1f6)},{'name':w(0x1c1),'value':'professional'},{'name':w(0x1e0),'value':w(0x1e6)},{'name':w(0x1cc),'value':'elite'}]});h=o;}else{if(b['plan'])h=b[w(0x1db)];else b[w(0x1e7)]&&(h='free');}}let k=[];k['forEach']((p,q)=>{const x=w;p===x(0x1e3)&&k[x(0x206)](q,0x2),p==='-e'&&k[x(0x206)](q,0x2);});let l=a27e[w(0x1ca)](f,'settings.json');b[w(0x204)]&&(l=b['settings']);if(this['fsi'][w(0x1d0)](l)){Log[w(0x1c8)]('Meteor\x20Settings:\x20'+l),k=k['concat']([w(0x1f9),l]);const p=a27f[w(0x1f0)](l),q=JSON[w(0x1ed)](p[w(0x1d9)]());!q[w(0x1ee)]&&Log['warn'](w(0x1e1)+d+w(0x1d3));}else Log[w(0x1c9)](w(0x1c7)+l);if(h===w(0x1e7))k=k['concat'](['--free']);else h&&(k=k['concat']([w(0x1dd),h]));return Log[w(0x1c9)](w(0x1d7)),this[w(0x1fc)][w(0x1e4)](w(0x201),j['concat'](k));}}catch(r){Log[w(0x1dc)](w(0x1d8)),Log['error'](r);}},a27g);
@@ -1 +1 @@
1
- const a28ao=a28d;(function(a,b){const al=a28d,c=a();while(!![]){try{const d=parseInt(al(0x19d))/0x1*(parseInt(al(0x22a))/0x2)+-parseInt(al(0x1f0))/0x3+parseInt(al(0x18c))/0x4+-parseInt(al(0x158))/0x5+-parseInt(al(0x1d2))/0x6*(parseInt(al(0x1ae))/0x7)+-parseInt(al(0x157))/0x8+parseInt(al(0x1f3))/0x9*(parseInt(al(0x166))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0x4f43e));const a28b=(function(){let a=!![];return function(b,c){const d=a?function(){const am=a28d;if(c){const e=c[am(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){const an=a28d;return a28a['toString']()[an(0x17e)](an(0x163))[an(0x20f)]()['constructor'](a28a)['search'](an(0x163));});function a28d(a,b){const c=a28c();return a28d=function(d,e){d=d-0x12f;let f=c[d];return f;},a28d(a,b);}a28a();import a28e from'path';import a28f from'fs';import{execSync}from'child_process';import a28g from'semver';function a28c(){const av=['Are\x20you\x20ready\x20to\x20deploy?','sudo\x20service\x20mongod\x20start\x0a','source\x20~/.bashrc\x20&&\x20echo\x20\x22\x22\x20&&\x20pm2\x20status\x20&&\x20echo\x20\x22\x22','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?\x20[yn]','rm\x20-rf\x20~/maka-env/nvm-install\x0a','You\x20do\x20not\x20have\x20a\x20valid\x20SSL\x20file:\x20','I\x20could\x20not\x20find\x20a\x20valid\x20CRT\x20file,\x20please\x20provide\x20the\x20name\x20of\x20the\x20CRT\x20file\x20in\x20the\x20_keys/\x20directory:','npm\x20install\x20-g\x20pm2@latest\x0a','Deployment\x20complete','create','\x09ssl_prefer_server_ciphers\x20on;\x0a','end','localhost','->\x20','write','http','echo\x20\x22Attempting\x20to\x20decompress\x20the\x20bundle\x22\x0a','\x09\x09if\x20($uri\x20!=\x20\x27/\x27)\x20{\x0a','touch\x20~/.bash_profile\x20~/.bashrc\x0a','apt','1058868nmIArW','This\x20project\x27s\x20meteor\x20version\x20(','fsi','553653YfaExb','ssh','\x20\x20echo\x20\x22No\x20bundle\x20found,\x20using\x20backup\x22\x0a','\x09ssl_ciphers\x20\x22ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:kEDH+','getAppConfigPath','Aborted','if\x20[\x20-f\x20app.tar.gz\x20];\x20then\x0a','--server=','Pushing\x20up\x20bundle\x20...','finish','PM2\x20has\x20MONGO_URL\x20pointing\x20to\x20localhost;\x20deployment\x20will\x20install\x20a\x20local\x20mongo\x20instance.','settings.json','Pushing\x20up\x20deploy\x20scripts\x20...','\x09ssl_certificate_key\x20;\x0a','writeFileSync','ubuntu','npm\x20audit\x20fix\x20--force\x0a','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-','Error\x20running\x20command:\x20','letsencrypt.json','chmod\x20+x\x20~/deploy.sh\x20&&\x20./deploy.sh','force','config.json','mv\x20~/app.tar.gz\x20~/app.tar.gz.bk\x0a','sudo\x20systemctl\x20daemon-reload\x20&&\x20sudo\x20systemctl\x20start\x20nginx\x0a','fi\x0a','getProjectsMeteorNodeVersion','sudo\x20','toString','\x09listen\x20443\x20ssl;\x0a','domains','#\x20Reset\x20pm2\x20\x0a','build','select','Building\x20deployment\x20script\x20...','sudo\x20mv\x20~/','serverPort','Domains\x20to\x20register\x20(comma\x20separated):\x20','inherit','existsSync','echo\x20\x22test\x20-f\x20~/.bashrc\x20&&\x20.\x20~/.bashrc\x22\x20>\x20~/.bash_profile\x0a','\x20\x20tar\x20-xf\x20app.tar.gz\x0a','mpi','Deployed\x20to:\x20','0.0.0.0','elif\x20[\x20-f\x20app.tar.gz.bk\x20];\x20then\x0a','meteor','ssh.json','Error\x20in\x20deployment:','\x09\x09proxy_set_header\x20Host\x20$host;\x0a','source\x20~/.bashrc\x0a','nginx.conf','https','stdout','Running\x20deployment\x20scripts\x20on\x20remote\x20server','5638fEZArP','#\x20backup\x20tar\x20bundle\x0a','app','\x20\x20echo\x20\x22Bundle\x20found,\x20decompressing\x22\x0a','sudo\x20nginx\x20-s\x20stop\x0a','_keys','\x09\x09}\x0a','Unexpected\x20error\x20while\x20running:\x20','#\x20rm\x20-f\x20~/app.tar.gz.bk\x0a','sudo\x20apt-get\x20install\x20-y\x20mongodb-org\x0a','\x20\x20cp\x20app.tar.gz.bk\x20app.tar.gz\x0a','\x20\x20echo\x20\x22Could\x20not\x20find\x20app.tar.gz,\x20exiting!\x22\x0a','setProjectConfig','warn','exit\x200','\x09ssl_certificate_key\x20/etc/nginx/ssl/','ses.json','sudo\x20systemctl\x20enable\x20mongod.service\x0a','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','.maka','--architecture=os.linux.x86_64','parse','.meteor','#\x20install\x20git\x20and\x20nginx\x0a','sudo\x20cp\x20~/nginx.conf\x20/etc/nginx/sites-enabled/default\x0a','basic','\x09index\x20index.html;\x0a','npm\x20install','[\x20\x22$(nvm\x20current)\x22\x20==\x20\x22','verbose','sshSync','user',').\x20Continue?','findProjectDirectory','createWriteStream','Consider\x20updating\x20with\x20\x22maka\x20update\x20--release\x20','isFile','\x20--email\x20','mongo','~/nginx.conf','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','\x09if\x20($http_user_agent\x20~\x20\x22MSIE\x22\x20)\x20{\x0a','apply','\x20\x20exit\x201\x0a','maka\x20d:u\x20-e\x20p\x20--mongo\x20--ssl=letsencrypt\x20--domains=www.maka-cli.com\x20--email=admin@maka-cli.com','\x09location\x20/\x20{\x0a','pem','confirm','1883360dajBKS','2062170HSgTlY','success','email','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','scaffold','Using\x20letsencrypt.json','server_tokens\x20off;\x0a','\x09\x09proxy_http_version\x201.1;\x0a','\x09add_header\x20Strict-Transport-Security\x20\x22max-age=31536000;\x22;\x0a','\x09root\x20/usr/share/nginx/html;\x0a','://','(((.+)+)+)+$','snap\x20\x22core\x22\x20is\x20already\x20installed','#\x20bring\x20back\x20up\x20nginx\x0a','170djEOmm','[\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','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:','notice','cfg','.crt;\x0a','map\x20$http_upgrade\x20$connection_upgrade\x20{\x0a','error','scp','\x09ssl_certificate\x20/etc/nginx/ssl/','\x09listen\x20[::]:80\x20default_server\x20ipv6only=on;\x0a','push','uname\x20-a','/bundle/programs/web.browser/app;\x0a','\x09\x27\x27\x20\x20\x20\x20\x20\x20close;\x0a','getEnvFromShorthand','\x09listen\x2080\x20default_server;\x0a','serverName','Stored\x20server\x20config\x20to\x20','grep','some','pm2\x20install\x20pm2-logrotate\x0a','host','Unexpected\x20error:\x20No\x20result\x20received\x20from\x20command:\x20','search','\x09\x09proxy_set_header\x20Connection\x20\x22upgrade\x22;\x0a','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','\x09\x09return\x20303\x20https://browser-update.org/update.html;\x0a','\x09root\x20html;\x0a','\x09\x09proxy_set_header\x20X-Forwarded-For\x20$remote_addr;\x0a','\x09\x09\x09expires\x2030d;\x0a','Mobile\x20server\x20port:\x20','ln:\x20failed\x20to\x20create\x20symbolic\x20link\x20\x27/usr/bin/certbot\x27:\x20File\x20exists','Deploy\x20your\x20application',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','Verifying\x20PM2','ask','open','1708880lbxyXw','domainNames','\x09\x09proxy_set_header\x20Upgrade\x20$http_upgrade;\x0a','snap\x20\x22certbot\x22\x20is\x20already\x20installed','Certificate\x20not\x20yet\x20due\x20for\x20renewal','pm2\x20set\x20pm2-logrotate:retain\x2030\x0a','\x22\x20]\x20&&\x20nvm\x20alias\x20default\x20','setEnvSettings','.key','sudo\x20mkdir\x20-p\x20/etc/nginx/ssl/\x0a','Supplied\x20SSL\x20/\x20CRT\x20file','\x09ssl_certificate\x20;\x0a','\x0a\x20\x20Deploy\x20your\x20app\x20to\x20an\x20Ubuntu\x20server\x20running\x20in\x20AWS,\x20On\x20Prem,\x0a\x20\x20or\x20even\x20ARM.','length','sudo\x20apt-get\x20update\x0a','.key;\x0a','printf\x20\x22[Service]\x5cnExecStartPost=/bin/sleep\x200.1\x5cn\x22\x20>\x20override.conf\x0a','46nLUOPK','join','#\x20Nginx\x20will\x20be\x20restarted\x20just\x20before\x20completing\x20the\x20deployment.\x0a','Warning:\x20','maka\x20deploy:ubuntu','template','\x09\x09alias\x20/home/','Checking\x20lastest\x20version\x20of\x20Meteor\x20installed\x20against\x20this\x20project','~/app.tar.gz','none','sudo\x20env\x20PATH=$PATH:$(which\x20npm)\x20$(which\x20pm2)\x20startup\x20systemd\x20-u\x20','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','else\x0a','readFileLines','\x09server_name\x20','status','Aborted\x20deployment!','7OCRPyl','config/ssh.json','[!]\x20Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','Free\x20SSL\x20with\x20Letsencrypt','~/deploy.sh','Verifying\x20Nginx','Attempting\x20to\x20setup\x20SSL\x20using\x20LetsEncrypt','\x09}\x0a','pm2\x20set\x20pm2-logrotate:max_size\x2020M\x0a','env','config/pm2.config.js','letsencrypt','split','includes','Using\x20saved\x20letsencrypt\x20config','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','trim','deploy.sh','No\x20letsencrypt.json\x20file\x20found.\x20You\x20will\x20be\x20prompted\x20at\x20the\x20end\x20of\x20deployment\x20for\x20configuration.','#\x20setup\x20node\x20and\x20npm\x20with\x20the\x20proper\x20node\x20version\x20using\x20nvm\x0a','ssl','\x09default\x20upgrade;\x0a','server\x20{\x0a','rm\x20-rf\x20~/.bash_profile\x20~/.bashrc\x0a','\x20/etc/nginx/ssl/','\x09ssl_session_cache\x20shared:SSL:10m;\x0a','getProjectMeteorVersion','~/settings.json','#\x20Prepare\x20nginx\x0a','readFileSync','sudo\x20systemctl\x20stop\x20nginx\x0a','\x20--hp\x20/home/','appName','#\x20Decompress\x20the\x20bundle\x0a','You\x20do\x20not\x20have\x20a\x20valid\x20ssl\x20crt.\x20\x20Looking\x20for:\x20','1663218JEqaFi','nvm\x20install\x20','I\x20could\x20not\x20find\x20a\x20valid\x20SSL\x20file,\x20please\x20provide\x20the\x20name\x20of\x20the\x20SSL\x20file\x20in\x20the\x20_keys/\x20directory:','#\x20updating\x20PM2\x20to\x20latest\x0a','pm2\x20delete\x20all\x0a','enforceCSP','443','\x09\x09proxy_pass\x20http://0.0.0.0:3000;\x0a','sslAnswer','findAppDirectory'];a28c=function(){return av;};return a28c();}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 a28h from'./deploy.command.js';Command[a28ao(0x1e5)]({'name':a28ao(0x202),'usage':a28ao(0x1a1),'aliases':['u'],'validOpts':['debug','env',a28ao(0x1c3),a28ao(0x211),a28ao(0x14d),a28ao(0x208),a28ao(0x15a),a28ao(0x144),'noRebuild','letsencrypt'],'mustBeInMakaProject':!![],'isPro':![],'requiredOpts':[a28ao(0x1b7)],'shortDesc':a28ao(0x187),'description':a28ao(0x198),'examples':['maka\x20deploy:ubuntu\x20--env\x20prod',a28ao(0x153)]},async function(a,b){const ap=a28ao,c=b[ap(0x144)]?!![]:![],d=this[ap(0x21d)][ap(0x221)],f=this['projectConfig'],g=this[ap(0x16a)][ap(0x175)](b[ap(0x1b7)]),h=this[ap(0x16a)][ap(0x1f7)](g),i=await this['fsi'][ap(0x20d)](),[j,k]=i[ap(0x1ba)]('.'),l=j+'.'+k,m=ap(0x1ef),n=b['force'];try{const o=a28e[ap(0x19e)](h,'pm2.config.js');!this[ap(0x1f2)][ap(0x14b)](o)&&await this[ap(0x15c)][ap(0x1a2)]({'srcPath':ap(0x1b8),'destPath':o,'context':{'app':f[ap(0x1cf)],'isDocker':![]},'config':f});const p=a28e[ap(0x19e)](h,ap(0x222));!this[ap(0x1f2)]['isFile'](p)&&await this[ap(0x15c)]['template']({'srcPath':ap(0x1af),'destPath':p,'context':{'app':f[ap(0x1cf)]},'config':f});const q=JSON[ap(0x13c)](a28f['readFileSync'](p)[ap(0x20f)]()),r={'env':h,'user':q[ap(0x146)],'host':q[ap(0x17c)],'port':q['port'],'pem':q[ap(0x155)]};let s=b['domains'],t=b[ap(0x15a)];try{a28f['readFileSync'](a28e[ap(0x19e)](h,ap(0x206))),Log[ap(0x169)](ap(0x15d)),b[ap(0x1b9)]=!![];}catch(y){b['letsencrypt']&&Log['warn'](ap(0x1c1));const z={'message':'Configure\x20SSL','name':ap(0x1da),'choices':[{'name':ap(0x1b1),'value':ap(0x1b9)},{'name':ap(0x196),'value':ap(0x140)},{'name':'No\x20🤔','value':ap(0x1a6)}]},A=await Actions[ap(0x214)](z);if(A===ap(0x1b9)){b[ap(0x1b9)]=!![],b['ssl']=![],s=s?s:await Actions[ap(0x18a)](ap(0x218)),t=t?t:await Actions[ap(0x18a)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');const B={'domainNames':s,'emailUpdate':t},C=JSON['stringify'](B,null,0x2);a28f[ap(0x201)](a28e[ap(0x19e)](h,ap(0x206)),C),this[ap(0x16a)]['setEnvSettings'](g,ap(0x1d7),!![]);}else A===ap(0x140)?(b['letsencrypt']=![],b['ssl']=!![],this[ap(0x16a)][ap(0x193)](g,ap(0x1d7),!![])):this['cfg'][ap(0x193)](g,'enforceCSP',![]);}let u='',v='';if(b['ssl']&&!b[ap(0x1b9)]){u=f[ap(0x1cf)]+ap(0x194);!a28f[ap(0x21a)](a28e[ap(0x19e)](h,ap(0x22f),u))&&(u=await Actions['ask'](ap(0x1d4)));if(!a28f[ap(0x21a)](a28e['join'](h,'_keys',u)))throw ap(0x1e1)+a28e[ap(0x19e)](h,ap(0x22f),u);v=f[ap(0x1cf)]+'.crt';!a28f[ap(0x21a)](a28e[ap(0x19e)](h,ap(0x22f),v))&&(v=await Actions['ask'](ap(0x1e2)));if(!a28f[ap(0x21a)](a28e[ap(0x19e)](h,ap(0x22f),v)))throw ap(0x1d1)+a28e[ap(0x19e)](h,ap(0x22f),v);}Log[ap(0x169)](ap(0x1be)+p);try{const D=SSH['ping'](ap(0x172),r,{'verbose':!![]});if(!D)throw ap(0x15b);if(D)Log['success']('Remote\x20host\x20connection\x20successful');}catch(E){Log[ap(0x16d)](E);return;}Log[ap(0x169)](ap(0x215));const w=a28f[ap(0x1cc)](a28e[ap(0x19e)](h,'pm2.config.js')),x=this[ap(0x1f2)][ap(0x179)](w[ap(0x20f)](),'MONGO_URL');(x[0x0][ap(0x1bf)]()[ap(0x1bb)](ap(0x1e8))||x[0x0][ap(0x1bf)]()[ap(0x1bb)]('127.0.0.1')||x[0x0][ap(0x1bf)]()[ap(0x1bb)](ap(0x21f)))&&(b[ap(0x14d)]=!![],Log['notice'](ap(0x1fd)),Log['notice'](ap(0x1e9)+x[0x0]['trim']()));try{const F=a28f[ap(0x149)](a28e[ap(0x19e)](h,ap(0x226)),{'flags':'w'});F['on'](ap(0x18b),function(){const aq=ap;b['ssl']&&!b[aq(0x1b9)]?(F['write'](aq(0x15e)),F[aq(0x1ea)](aq(0x16c)),F['write'](aq(0x1c4)),F[aq(0x1ea)](aq(0x174)),F[aq(0x1ea)]('}\x0a'),F[aq(0x1ea)]('\x0a'),F[aq(0x1ea)](aq(0x1c5)),F['write']('\x09listen\x2080\x20default_server;\x0a'),F['write'](aq(0x170)),F[aq(0x1ea)](aq(0x1ab)+f[aq(0x1cf)]+';\x0a'),F[aq(0x1ea)](aq(0x161)),F['write']('\x09index\x20index.html\x20index.htm;\x0a'),F[aq(0x1ea)](aq(0x154)),F[aq(0x1ea)]('\x09\x09rewrite\x20\x20\x20\x20\x20^\x20https://$server_name$request_uri?\x20permanent;\x0a'),F[aq(0x1ea)](aq(0x1b5)),F[aq(0x1ea)]('}'),F[aq(0x1ea)]('\x0a'),F[aq(0x1ea)]('\x0a'),F[aq(0x1ea)](aq(0x1c5)),F[aq(0x1ea)](aq(0x210)),F[aq(0x1ea)](aq(0x1ab)+f[aq(0x1cf)]+';\x0a'),F[aq(0x1ea)](aq(0x182)),F[aq(0x1ea)](aq(0x141)),F['write']('\x09ssl\x20on;\x0a'),F['write'](aq(0x16f)+f[aq(0x1cf)]+aq(0x16b)),F[aq(0x1ea)](aq(0x136)+f[aq(0x1cf)]+aq(0x19b)),F[aq(0x1ea)](aq(0x197)),F[aq(0x1ea)](aq(0x200)),F[aq(0x1ea)](aq(0x1c8)),F[aq(0x1ea)]('\x09ssl_session_timeout\x205m;\x0a'),F[aq(0x1ea)]('\x09\x0a'),F[aq(0x1ea)](aq(0x1e6)),F['write']('\x09ssl_protocols\x20TLSv1\x20TLSv1.1\x20TLSv1.2;\x0a'),F['write'](aq(0x1f6)+aq(0x168)+aq(0x204)+'SHA384:ECDHE-RSA-RC4-SHA:ECDHE-ECDSA-RC4-SHA:RC4-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK\x22;\x0a'),F[aq(0x1ea)](aq(0x160)),F[aq(0x1ea)]('\x09\x0a'),F[aq(0x1ea)](aq(0x150)),F[aq(0x1ea)](aq(0x181)),F[aq(0x1ea)](aq(0x1b5)),F[aq(0x1ea)]('\x09location\x20=\x20/favicon.ico\x20{\x0a'),F[aq(0x1ea)]('\x09\x09alias\x20/home/'+q[aq(0x146)]+aq(0x173)),F[aq(0x1ea)](aq(0x1b5)),F[aq(0x1ea)]('\x09\x0a'),F['write']('\x09location\x20/\x20{\x0a'),F[aq(0x1ea)]('\x09\x09proxy_pass\x20http://0.0.0.0:3000;\x0a'),F[aq(0x1ea)](aq(0x15f)),F[aq(0x1ea)]('\x09\x09proxy_set_header\x20Upgrade\x20$http_upgrade;\x0a'),F[aq(0x1ea)]('\x09\x09proxy_set_header\x20Connection\x20\x22upgrade\x22;\x0a'),F[aq(0x1ea)]('\x09\x09proxy_set_header\x20X-Forwarded-For\x20$remote_addr;\x0a'),F[aq(0x1ea)](aq(0x224)),F[aq(0x1ea)]('\x09\x09if\x20($uri\x20!=\x20\x27/\x27)\x20{\x0a'),F[aq(0x1ea)](aq(0x184)),F[aq(0x1ea)](aq(0x230)),F['write'](aq(0x1b5)),F[aq(0x1ea)]('}')):(F[aq(0x1ea)](aq(0x15e)),F['write'](aq(0x16c)),F[aq(0x1ea)]('\x09default\x20upgrade;\x0a'),F[aq(0x1ea)](aq(0x174)),F[aq(0x1ea)]('}\x0a'),F[aq(0x1ea)]('\x0a'),F[aq(0x1ea)](aq(0x1c5)),F[aq(0x1ea)](aq(0x176)),F[aq(0x1ea)]('\x09listen\x20[::]:80\x20default_server\x20ipv6only=on;\x0a'),F[aq(0x1ea)](aq(0x150)),F[aq(0x1ea)](aq(0x181)),F[aq(0x1ea)]('\x09}\x0a'),F[aq(0x1ea)]('\x09location\x20=\x20/favicon.ico\x20{\x0a'),F[aq(0x1ea)](aq(0x1a3)+q['user']+aq(0x173)),F[aq(0x1ea)]('\x09}\x0a'),F[aq(0x1ea)]('\x09\x0a'),F[aq(0x1ea)]('\x09location\x20/\x20{\x0a'),F[aq(0x1ea)](aq(0x1d9)),F['write']('\x09\x09proxy_http_version\x201.1;\x0a'),F[aq(0x1ea)](aq(0x18e)),F[aq(0x1ea)](aq(0x17f)),F[aq(0x1ea)](aq(0x183)),F[aq(0x1ea)]('\x09\x09proxy_set_header\x20Host\x20$host;\x0a'),F[aq(0x1ea)](aq(0x1ed)),F[aq(0x1ea)]('\x09\x09\x09expires\x2030d;\x0a'),F['write'](aq(0x230)),F[aq(0x1ea)](aq(0x1b5)),F['write']('}'));}),F['on'](ap(0x1fc),function(){const ar=ap;F[ar(0x1e7)]();});const G=a28f[ap(0x149)](a28e[ap(0x19e)](h,'deploy.sh'),{'flags':'w'});G['on']('open',function(){const as=ap;G[as(0x1ea)]('sudo\x20apt-get\x20update\x0a'),G[as(0x1ea)](as(0x13e)),G['write'](as(0x20e)+m+'\x20install\x20build-essential\x20git\x20nginx\x20-y\x0a'),b[as(0x14d)]===!![]&&(G[as(0x1ea)]('#\x20install\x20and\x20configure\x20local\x20mongo\x0a'),G[as(0x1ea)]('wget\x20-qO\x20-\x20https://www.mongodb.org/static/pgp/server-4.2.asc\x20|\x20sudo\x20apt-key\x20add\x20-\x0a'),G['write'](as(0x180)),G[as(0x1ea)](as(0x19a)),G[as(0x1ea)](as(0x130)),G['write'](as(0x1dd)),G[as(0x1ea)](as(0x138))),G[as(0x1ea)](as(0x1c2)),G[as(0x1ea)]('git\x20clone\x20https://gist.github.com/c427ccd6f4377b39299b9d402f5d51fe.git\x20~/maka-env/nvm-install\x0a'),G['write'](as(0x1c6)),G[as(0x1ea)](as(0x1ee)),G[as(0x1ea)](as(0x21b)),G[as(0x1ea)](as(0x1bd)),G['write'](as(0x225)),G[as(0x1ea)](as(0x1d3)+i+'\x20||\x20nvm\x20install\x20'+l+'\x0a'),G[as(0x1ea)](as(0x143)+i+as(0x192)+i+'\x20||\x20nvm\x20alias\x20default\x20'+l+'\x0a'),G[as(0x1ea)](as(0x1e3)),G[as(0x1ea)](as(0x17b)),G[as(0x1ea)](as(0x1b6)),G[as(0x1ea)]('pm2\x20set\x20pm2-logrotate:compress\x20true\x0a'),G[as(0x1ea)](as(0x191)),G[as(0x1ea)](as(0x1e0)),G['write'](as(0x1cb)),G['write'](as(0x167)),G[as(0x1ea)](as(0x19c)),G[as(0x1ea)]('sudo\x20cp\x20override.conf\x20/etc/systemd/system/nginx.service.d/override.conf\x0a'),G[as(0x1ea)]('sudo\x20systemctl\x20daemon-reload\x20||\x20null\x0a'),G[as(0x1ea)](as(0x1cd)),G[as(0x1ea)](as(0x22e)),G[as(0x1ea)](as(0x19f)),G[as(0x1ea)](as(0x13f)),b[as(0x1c3)]&&!b[as(0x1b9)]&&(G[as(0x1ea)](as(0x195)),G[as(0x1ea)]('sudo\x20mv\x20~/'+u+as(0x1c7)+u+'\x0a'),G[as(0x1ea)](as(0x216)+v+'\x20/etc/nginx/ssl/'+v+'\x0a')),G[as(0x1ea)](as(0x1d0)),G['write'](as(0x1ec)),G['write'](as(0x1f9)),G[as(0x1ea)](as(0x22d)),G[as(0x1ea)](as(0x21c)),G['write'](as(0x220)),G[as(0x1ea)](as(0x1f5)),G[as(0x1ea)](as(0x131)),G['write'](as(0x21c)),G[as(0x1ea)](as(0x1a9)),G['write'](as(0x132)),G[as(0x1ea)](as(0x152)),G['write'](as(0x20c)),G[as(0x1ea)]('cd\x20bundle/programs/server\x0a'),G[as(0x1ea)]('npm\x20install\x0a'),G['write'](as(0x203)),G[as(0x1ea)]('cd\x20~\x0a'),G[as(0x1ea)](as(0x212)),G[as(0x1ea)](as(0x1d6)),G[as(0x1ea)](as(0x1d5)),G[as(0x1ea)]('pm2\x20update\x0a'),G['write']('#\x20Bring\x20up\x20pm2\x20with\x20environment\x0a'),G[as(0x1ea)]('pm2\x20start\x20~/pm2.config.js\x0a'),G['write']('#\x20Configure\x20pm2\x20to\x20start\x20on\x20boot\x0a'),G[as(0x1ea)]('pm2\x20startup\x0a'),G[as(0x1ea)](as(0x1a7)+q[as(0x146)]+as(0x1ce)+q['user']+'\x0a'),G[as(0x1ea)]('pm2\x20save\x0a'),G[as(0x1ea)](as(0x165)),G[as(0x1ea)](as(0x20b)),G[as(0x1ea)]('#\x20remove\x20backup\x20tar,\x20if\x20any\x0a'),G[as(0x1ea)](as(0x12f)),G[as(0x1ea)](as(0x22b)),G['write'](as(0x20a)),G[as(0x1ea)](as(0x135));}),G['on']('finish',function(){const at=ap;G[at(0x1e7)]();}),Log[ap(0x159)]('Deployment\x20script\x20written\x20to:\x20'+a28e[ap(0x19e)](h,ap(0x1c0)));if(!n){const Z=await Actions[ap(0x156)](ap(0x1dc));if(!Z)throw ap(0x1ad);}const H=this['fsi'][ap(0x148)]();let I=[];H!==undefined&&(I=[ap(0x213),a28e[ap(0x19e)](H,'build'),ap(0x13b)]);try{if(H!==undefined){const a0=this[ap(0x1f2)][ap(0x1aa)](a28e[ap(0x19e)](H,ap(0x22c),ap(0x13d),'platforms')),a1=a0['length']>0x2?!![]:![];if(a1){const a2=f[ap(0x177)]?f[ap(0x177)]:await Actions[ap(0x18a)](ap(0x139)),a3=f[ap(0x217)]?f['serverPort']:await Actions[ap(0x18a)](ap(0x185));if(a2[ap(0x199)]==0x0||a3[ap(0x199)]==0x0)throw ap(0x1b0);const a4=a3==ap(0x1d8)?ap(0x227):ap(0x1eb);I[ap(0x171)](ap(0x1fa)+a4+ap(0x162)+a2+':'+a3);if(!f[ap(0x177)]&&!f['serverPort']){const a5=await Actions[ap(0x18a)](ap(0x1df));a5&&(this['cfg'][ap(0x133)](ap(0x177),a2),this[ap(0x16a)][ap(0x133)](ap(0x217),a3),Log[ap(0x169)](ap(0x178)+a28e[ap(0x19e)](ap(0x13a),ap(0x209))));}}}}catch(a6){Log[ap(0x16d)](a6);return;}const J=a28e['join'](this['fsi'][ap(0x148)](),ap(0x213),'app.tar.gz'),K=this[ap(0x21d)]['getGlobalMeteorVersion'](),L=this[ap(0x1f2)][ap(0x1c9)]();let M=![];try{Log[ap(0x169)](ap(0x1a4)),M=a28g['gt'](K,L);}catch(a7){Log['notice']('Error\x20comparing\x20versions:\x20'+a7);}if(M&&!n){const a8=await Actions[ap(0x156)](ap(0x1f1)+L+ap(0x188)+K+ap(0x147),![]);if(!a8){Log[ap(0x16d)](ap(0x1f8)),Log[ap(0x169)](ap(0x14a)+K+'\x22');return;}}let N=!![];a28f[ap(0x21a)](J)&&!n&&(N=await Actions[ap(0x156)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?'));N&&(execSync(ap(0x142),{'cwd':this['fsi'][ap(0x1db)](),'stdio':'ignore'}),execSync(d+'\x20'+I[ap(0x19e)]('\x20'),{'cwd':this[ap(0x1f2)]['findAppDirectory'](),'stdio':ap(0x219)}));Log[ap(0x169)](ap(0x1fb));const O={'source':J,'dest':ap(0x1a5),'verbose':!![]};SSH[ap(0x16e)](O,r),Log['notice'](ap(0x1ff));const P=a28e[ap(0x19e)](h,ap(0x1c0)),Q={'source':P,'dest':ap(0x1b2),'verbose':!![]};SSH[ap(0x16e)](Q,r);const R=a28e[ap(0x19e)](h,ap(0x226)),S={'source':R,'dest':ap(0x14e),'verbose':!![]};SSH['scp'](S,r);const T=a28e[ap(0x19e)](h,'pm2.config.js'),U={'source':T,'dest':'~/pm2.config.js','verbose':!![]};SSH['scp'](U,r);const V=a28e[ap(0x19e)](h,ap(0x1fe)),W={'source':V,'dest':ap(0x1ca),'verbose':!![]};SSH[ap(0x16e)](W,r);if(b[ap(0x1c3)]&&!b['letsencrypt']){u=a28e[ap(0x19e)](h,ap(0x22f),u);const a9={'source':u,'dest':u};SSH['scp'](a9,r),v=a28e[ap(0x19e)](h,ap(0x22f),v);const aa={'source':v,'dest':v};SSH[ap(0x16e)](aa,r);}const X=a28e[ap(0x19e)](h,ap(0x22f),ap(0x137));if(a28f[ap(0x21a)](X)){const ab={'source':X,'dest':'~/ses.json','verbose':!![]};SSH['scp'](ab,r);}const Y=ap(0x229);await SSH[ap(0x1f4)](ap(0x207),r,{'verbose':c,'message':Y}),Log[ap(0x169)](ap(0x1b3)),SSH[ap(0x145)]('echo\x20\x22\x22\x20&&\x20sudo\x20systemctl\x20status\x20nginx\x20|\x20grep\x20Active\x20&&\x20echo\x20\x22\x22',r,{'tty':!![],'verbose':!![]}),Log['notice'](ap(0x189)),SSH[ap(0x145)](ap(0x1de),r,{'tty':!![],'verbose':!![]}),Log[ap(0x159)](ap(0x21e)+q['host']);if(b['letsencrypt']){Log[ap(0x169)](ap(0x1b4));try{const ae=a28f[ap(0x1cc)](a28e[ap(0x19e)](h,ap(0x206))),af=JSON[ap(0x13c)](ae[ap(0x20f)]());s=b[ap(0x211)]?b[ap(0x211)]:af[ap(0x18d)],t=b['email']?b[ap(0x15a)]:af['emailUpdate'],(!b[ap(0x15a)]||!b[ap(0x211)])&&Log[ap(0x169)](ap(0x1bc));}catch(ag){Log[ap(0x134)](ap(0x1a0)+ag);}Log[ap(0x169)]('Setting\x20up\x20letsencrypt');const ac=[ap(0x164),'snap\x20\x22core\x22\x20has\x20no\x20updates\x20available',ap(0x18f),ap(0x186),ap(0x190)];function ad(ah){const au=ap;try{const ai=SSH[au(0x145)](ah,r,{'tty':!![],'verbose':!![],'silentOutput':!![]});if(ai){const aj=ac[au(0x17a)](ak=>ai['stderr'][au(0x1bb)](ak));if(ai[au(0x1ac)]!==0x0&&!aj)Log[au(0x16d)](au(0x205)+ah);else ai[au(0x228)]&&Log[au(0x159)](ai[au(0x228)]);}else Log[au(0x16d)](au(0x17d)+ah);}catch(ak){Log[au(0x16d)](au(0x231)+ah);}}ad(ap(0x1a8)),ad('sudo\x20snap\x20install\x20--classic\x20certbot'),ad('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot'),ad(ap(0x14f)+s+ap(0x14c)+t);}Log[ap(0x159)](ap(0x1e4));}catch(ah){Log[ap(0x16d)](ap(0x223)),Log[ap(0x16d)](ah);}}catch(ai){Log[ap(0x16d)]('Error\x20in\x20deployment:'),Log[ap(0x16d)](ai);}},a28h);
1
+ const a28ao=a28d;(function(a,b){const al=a28d,c=a();while(!![]){try{const d=-parseInt(al(0xed))/0x1+parseInt(al(0x146))/0x2+-parseInt(al(0xdc))/0x3*(-parseInt(al(0xb9))/0x4)+-parseInt(al(0x147))/0x5+parseInt(al(0x14e))/0x6*(-parseInt(al(0xc3))/0x7)+-parseInt(al(0xe0))/0x8*(-parseInt(al(0xe8))/0x9)+parseInt(al(0x121))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xe2081));const a28b=(function(){let a=!![];return function(b,c){const d=a?function(){const am=a28d;if(c){const e=c[am(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){const an=a28d;return a28a[an(0x13d)]()['search'](an(0xc0))[an(0x13d)]()[an(0xf7)](a28a)[an(0xeb)]('(((.+)+)+)+$');});a28a();import a28e from'path';import a28f from'fs';import{execSync}from'child_process';import a28g from'semver';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a28c(){const av=['scaffold','map\x20$http_upgrade\x20$connection_upgrade\x20{\x0a','echo\x20\x22\x22\x20&&\x20sudo\x20systemctl\x20status\x20nginx\x20|\x20grep\x20Active\x20&&\x20echo\x20\x22\x22','http','#\x20Reset\x20pm2\x20\x0a','\x20||\x20nvm\x20install\x20','Building\x20deployment\x20script\x20...','\x20\x20echo\x20\x22Bundle\x20found,\x20decompressing\x22\x0a','writeFileSync','stdout','\x09\x09\x09expires\x2030d;\x0a','pm2\x20update\x0a','sudo\x20mv\x20~/','cd\x20~\x0a','pm2\x20save\x0a','sudo\x20systemctl\x20daemon-reload\x20&&\x20sudo\x20systemctl\x20start\x20nginx\x0a','ubuntu','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','Error\x20comparing\x20versions:\x20','length','write','124tWQsGz','This\x20project\x27s\x20meteor\x20version\x20(','\x09ssl_session_cache\x20shared:SSL:10m;\x0a','else\x0a',').\x20Continue?','grep','Verifying\x20PM2','(((.+)+)+)+$','\x09\x09return\x20303\x20https://browser-update.org/update.html;\x0a','deploy.sh','425621GHgATu','serverName','existsSync','You\x20do\x20not\x20have\x20a\x20valid\x20ssl\x20crt.\x20\x20Looking\x20for:\x20','finish','Free\x20SSL\x20with\x20Letsencrypt','confirm','\x09\x09alias\x20/home/','inherit','.crt','\x20\x20tar\x20-xf\x20app.tar.gz\x0a','domains','#\x20remove\x20backup\x20tar,\x20if\x20any\x0a','letsencrypt','Attempting\x20to\x20setup\x20SSL\x20using\x20LetsEncrypt','pm2\x20set\x20pm2-logrotate:retain\x2030\x0a','npm\x20install\x0a','pm2\x20install\x20pm2-logrotate\x0a','cd\x20bundle/programs/server\x0a','success','enforceCSP','maka\x20d:u\x20-e\x20p\x20--mongo\x20--ssl=letsencrypt\x20--domains=www.maka-cli.com\x20--email=admin@maka-cli.com','No\x20letsencrypt.json\x20file\x20found.\x20You\x20will\x20be\x20prompted\x20at\x20the\x20end\x20of\x20deployment\x20for\x20configuration.','\x20/etc/nginx/ssl/','chmod\x20+x\x20~/maka-env/nvm-install/nvm-install.sh\x20&&\x20~/maka-env/nvm-install/nvm-install.sh\x0a','46239bBdxSB','~/app.tar.gz','Using\x20letsencrypt.json','\x20--email\x20','8oYfZaG','Consider\x20updating\x20with\x20\x22maka\x20update\x20--release\x20','echo\x20\x22test\x20-f\x20~/.bashrc\x20&&\x20.\x20~/.bashrc\x22\x20>\x20~/.bash_profile\x0a','ssl','\x09\x09proxy_set_header\x20Host\x20$host;\x0a','cfg','\x09\x09rewrite\x20\x20\x20\x20\x20^\x20https://$server_name$request_uri?\x20permanent;\x0a','source\x20~/.bashrc\x20&&\x20echo\x20\x22\x22\x20&&\x20pm2\x20status\x20&&\x20echo\x20\x22\x22','2796399oAknsh','Checking\x20lastest\x20version\x20of\x20Meteor\x20installed\x20against\x20this\x20project','Pushing\x20up\x20bundle\x20...','search','notice','1495226fUOAGi','error','Pushing\x20up\x20deploy\x20scripts\x20...','trim','rm\x20-rf\x20~/maka-env/nvm-install\x0a','Using\x20saved\x20letsencrypt\x20config','user','nginx.conf','~/settings.json','email','constructor','--server=','source\x20~/.bashrc\x0a','end','\x09default\x20upgrade;\x0a','snap\x20\x22core\x22\x20is\x20already\x20installed','readFileSync','.key;\x0a','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','No\x20🤔','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','_keys','apt','Domains\x20to\x20register\x20(comma\x20separated):\x20','setProjectConfig','build','#\x20updating\x20PM2\x20to\x20latest\x0a','MONGO_URL','~/pm2.config.js','~/deploy.sh','verbose','ssh','getProjectMeteorVersion','\x09add_header\x20Strict-Transport-Security\x20\x22max-age=31536000;\x22;\x0a','\x09root\x20/usr/share/nginx/html;\x0a','includes','appName','\x09ssl_prefer_server_ciphers\x20on;\x0a','Deployment\x20script\x20written\x20to:\x20','0.0.0.0','Warning:\x20','platforms','isFile','fi\x0a','force','if\x20[\x20-f\x20app.tar.gz\x20];\x20then\x0a','sudo\x20apt-get\x20update\x0a','443','none','template','Configure\x20SSL','\x09\x09proxy_set_header\x20X-Forwarded-For\x20$remote_addr;\x0a','27591920dEtTsY','findAppDirectory','nvm\x20install\x20','Verifying\x20Nginx','chmod\x20+x\x20~/deploy.sh\x20&&\x20./deploy.sh','#\x20Decompress\x20the\x20bundle\x0a','maka\x20deploy:ubuntu\x20--env\x20prod','npm\x20install','\x09listen\x20443\x20ssl;\x0a','sudo\x20service\x20mongod\x20start\x0a','\x09ssl_session_timeout\x205m;\x0a','sudo\x20cp\x20override.conf\x20/etc/systemd/system/nginx.service.d/override.conf\x0a','Mobile\x20server\x20port:\x20','select','split',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','Unexpected\x20error\x20while\x20running:\x20','\x09location\x20=\x20/favicon.ico\x20{\x0a','#\x20bring\x20back\x20up\x20nginx\x0a','join','mv\x20~/app.tar.gz\x20~/app.tar.gz.bk\x0a','Supplied\x20SSL\x20/\x20CRT\x20file','.meteor','\x09\x09if\x20($uri\x20!=\x20\x27/\x27)\x20{\x0a','ask','#\x20install\x20and\x20configure\x20local\x20mongo\x0a','app','\x09listen\x20[::]:80\x20default_server\x20ipv6only=on;\x0a','toString','#\x20Configure\x20pm2\x20to\x20start\x20on\x20boot\x0a','--architecture=os.linux.x86_64','\x09root\x20html;\x0a','noRebuild','settings.json','status','\x09ssl_certificate_key\x20;\x0a','localhost','2103250nIkYhi','6939205VrtgLj','\x20||\x20nvm\x20alias\x20default\x20','mpi','\x09if\x20($http_user_agent\x20~\x20\x22MSIE\x22\x20)\x20{\x0a','app.tar.gz','SHA384:ECDHE-RSA-RC4-SHA:ECDHE-ECDSA-RC4-SHA:RC4-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK\x22;\x0a','sudo\x20','78oFOktP','Deploy\x20your\x20application','port','meteor','server\x20{\x0a','\x09listen\x2080\x20default_server;\x0a','getEnvFromShorthand','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','echo\x20\x22Attempting\x20to\x20decompress\x20the\x20bundle\x22\x0a','host','Unexpected\x20error:\x20No\x20result\x20received\x20from\x20command:\x20','Running\x20deployment\x20scripts\x20on\x20remote\x20server','createWriteStream','basic','elif\x20[\x20-f\x20app.tar.gz.bk\x20];\x20then\x0a','Checking\x20remote\x20host\x20availability\x20using\x20','maka\x20deploy:ubuntu','You\x20do\x20not\x20have\x20a\x20valid\x20SSL\x20file:\x20','stringify','serverPort','pm2\x20set\x20pm2-logrotate:compress\x20true\x0a','sshSync','parse','pem','#\x20backup\x20tar\x20bundle\x0a','sudo\x20systemctl\x20enable\x20mongod.service\x0a','emailUpdate','config/ssh.json','env','npm\x20install\x20-g\x20pm2@latest\x0a','#\x20Prepare\x20nginx\x0a','letsencrypt.json','sudo\x20systemctl\x20daemon-reload\x20||\x20null\x0a','\x09\x09proxy_pass\x20http://0.0.0.0:3000;\x0a','.key','setEnvSettings','https','\x09ssl_certificate_key\x20/etc/nginx/ssl/','scp','sudo\x20mkdir\x20-p\x20/etc/nginx/ssl/\x0a','\x09\x09}\x0a','getGlobalMeteorVersion','\x09\x09proxy_http_version\x201.1;\x0a','apply','Error\x20in\x20deployment:','push','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:','some','sudo\x20cp\x20~/nginx.conf\x20/etc/nginx/sites-enabled/default\x0a','pm2.config.js','exit\x200','\x20\x20cp\x20app.tar.gz.bk\x20app.tar.gz\x0a','\x09\x27\x27\x20\x20\x20\x20\x20\x20close;\x0a','create','\x09\x09proxy_set_header\x20Upgrade\x20$http_upgrade;\x0a','pm2\x20startup\x0a','\x0a\x20\x20Deploy\x20your\x20app\x20to\x20an\x20Ubuntu\x20server\x20running\x20in\x20AWS,\x20On\x20Prem,\x0a\x20\x20or\x20even\x20ARM.','printf\x20\x22[Service]\x5cnExecStartPost=/bin/sleep\x200.1\x5cn\x22\x20>\x20override.conf\x0a','pm2\x20start\x20~/pm2.config.js\x0a','fsi','pm2\x20delete\x20all\x0a','\x09}\x0a','server_tokens\x20off;\x0a','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\x20;\x0a','mongo','/bundle/programs/web.browser/app;\x0a','\x09ssl_certificate\x20/etc/nginx/ssl/','snap\x20\x22certbot\x22\x20is\x20already\x20installed','~/ses.json','[!]\x20Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','ignore','warn','\x09server_name\x20','sudo\x20env\x20PATH=$PATH:$(which\x20npm)\x20$(which\x20pm2)\x20startup\x20systemd\x20-u\x20','\x20\x20echo\x20\x22Could\x20not\x20find\x20app.tar.gz,\x20exiting!\x22\x0a','PM2\x20has\x20MONGO_URL\x20pointing\x20to\x20localhost;\x20deployment\x20will\x20install\x20a\x20local\x20mongo\x20instance.','\x09ssl\x20on;\x0a','\x09location\x20/\x20{\x0a','I\x20could\x20not\x20find\x20a\x20valid\x20CRT\x20file,\x20please\x20provide\x20the\x20name\x20of\x20the\x20CRT\x20file\x20in\x20the\x20_keys/\x20directory:','sudo\x20apt-get\x20install\x20-y\x20mongodb-org\x0a','->\x20','.crt;\x0a','git\x20clone\x20https://gist.github.com/c427ccd6f4377b39299b9d402f5d51fe.git\x20~/maka-env/nvm-install\x0a','\x22\x20]\x20&&\x20nvm\x20alias\x20default\x20','#\x20install\x20git\x20and\x20nginx\x0a'];a28c=function(){return av;};return a28c();}function a28d(a,b){const c=a28c();return a28d=function(d,e){d=d-0x81;let f=c[d];return f;},a28d(a,b);}import{SSH}from'../../tools/ssh/ssh.class.js';import{Actions}from'../../tools/actions/actions.class.js';import a28h from'./deploy.command.js';Command[a28ao(0x83)]({'name':a28ao(0xb4),'usage':a28ao(0x15e),'aliases':['u'],'validOpts':['debug',a28ao(0x16a),a28ao(0xe3),a28ao(0xce),'mongo',a28ao(0x119),a28ao(0xf6),a28ao(0x10b),a28ao(0x141),a28ao(0xd0)],'mustBeInMakaProject':!![],'isPro':![],'requiredOpts':[a28ao(0x16a)],'shortDesc':a28ao(0x14f),'description':a28ao(0x86),'examples':[a28ao(0x127),a28ao(0xd8)]},async function(a,b){const ap=a28ao,c=b[ap(0x10b)]?!![]:![],d=this['mpi'][ap(0x151)],f=this['projectConfig'],g=this[ap(0xe5)][ap(0x154)](b[ap(0x16a)]),h=this[ap(0xe5)]['getAppConfigPath'](g),i=await this['fsi']['getProjectsMeteorNodeVersion'](),[j,k]=i[ap(0x12f)]('.'),l=j+'.'+k,m=ap(0x103),n=b[ap(0x119)];try{const o=a28e[ap(0x134)](h,ap(0x17f));!this[ap(0x89)][ap(0x117)](o)&&await this[ap(0xa4)][ap(0x11e)]({'srcPath':'config/pm2.config.js','destPath':o,'context':{'app':f[ap(0x111)],'isDocker':![]},'config':f});const p=a28e['join'](h,'ssh.json');!this[ap(0x89)][ap(0x117)](p)&&await this[ap(0xa4)][ap(0x11e)]({'srcPath':ap(0x169),'destPath':p,'context':{'app':f[ap(0x111)]},'config':f});const q=JSON[ap(0x164)](a28f[ap(0xfd)](p)['toString']()),r={'env':h,'user':q[ap(0xf3)],'host':q[ap(0x157)],'port':q[ap(0x150)],'pem':q[ap(0x165)]};let s=b['domains'],t=b[ap(0xf6)];try{a28f['readFileSync'](a28e[ap(0x134)](h,ap(0x16d))),Log[ap(0xec)](ap(0xde)),b[ap(0xd0)]=!![];}catch(y){b['letsencrypt']&&Log[ap(0x96)](ap(0xd9));const z={'message':ap(0x11f),'name':'sslAnswer','choices':[{'name':ap(0xc8),'value':ap(0xd0)},{'name':ap(0x136),'value':ap(0x15b)},{'name':ap(0x100),'value':ap(0x11d)}]},A=await Actions[ap(0x12e)](z);if(A==='letsencrypt'){b[ap(0xd0)]=!![],b[ap(0xe3)]=![],s=s?s:await Actions[ap(0x139)](ap(0x104)),t=t?t:await Actions[ap(0x139)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');const B={'domainNames':s,'emailUpdate':t},C=JSON[ap(0x160)](B,null,0x2);a28f[ap(0xac)](a28e[ap(0x134)](h,ap(0x16d)),C),this['cfg']['setEnvSettings'](g,'enforceCSP',!![]);}else A==='basic'?(b[ap(0xd0)]=![],b['ssl']=!![],this[ap(0xe5)][ap(0x171)](g,ap(0xd7),!![])):this[ap(0xe5)][ap(0x171)](g,ap(0xd7),![]);}let u='',v='';if(b[ap(0xe3)]&&!b[ap(0xd0)]){u=f[ap(0x111)]+ap(0x170);!a28f[ap(0xc5)](a28e[ap(0x134)](h,'_keys',u))&&(u=await Actions[ap(0x139)]('I\x20could\x20not\x20find\x20a\x20valid\x20SSL\x20file,\x20please\x20provide\x20the\x20name\x20of\x20the\x20SSL\x20file\x20in\x20the\x20_keys/\x20directory:'));if(!a28f[ap(0xc5)](a28e[ap(0x134)](h,'_keys',u)))throw ap(0x15f)+a28e[ap(0x134)](h,ap(0x102),u);v=f[ap(0x111)]+ap(0xcc);!a28f[ap(0xc5)](a28e['join'](h,'_keys',v))&&(v=await Actions[ap(0x139)](ap(0x9d)));if(!a28f[ap(0xc5)](a28e[ap(0x134)](h,'_keys',v)))throw ap(0xc6)+a28e[ap(0x134)](h,'_keys',v);}Log['notice'](ap(0x15d)+p);try{const D=SSH['ping']('uname\x20-a',r,{'verbose':!![]});if(!D)throw ap(0x155);if(D)Log[ap(0xd6)]('Remote\x20host\x20connection\x20successful');}catch(E){Log[ap(0xee)](E);return;}Log['notice'](ap(0xaa));const w=a28f[ap(0xfd)](a28e[ap(0x134)](h,ap(0x17f))),x=this[ap(0x89)][ap(0xbe)](w['toString'](),ap(0x108));(x[0x0][ap(0xf0)]()[ap(0x110)](ap(0x145))||x[0x0]['trim']()[ap(0x110)]('127.0.0.1')||x[0x0][ap(0xf0)]()[ap(0x110)](ap(0x114)))&&(b['mongo']=!![],Log['notice'](ap(0x9a)),Log['notice'](ap(0x9f)+x[0x0][ap(0xf0)]()));try{const F=a28f[ap(0x15a)](a28e[ap(0x134)](h,ap(0xf4)),{'flags':'w'});F['on']('open',function(){const aq=ap;b[aq(0xe3)]&&!b[aq(0xd0)]?(F[aq(0xb8)](aq(0x8c)),F['write'](aq(0xa5)),F[aq(0xb8)](aq(0xfb)),F[aq(0xb8)](aq(0x82)),F['write']('}\x0a'),F[aq(0xb8)]('\x0a'),F['write']('server\x20{\x0a'),F[aq(0xb8)](aq(0x153)),F[aq(0xb8)](aq(0x13c)),F['write'](aq(0x97)+f[aq(0x111)]+';\x0a'),F[aq(0xb8)](aq(0x10f)),F['write']('\x09index\x20index.html\x20index.htm;\x0a'),F['write'](aq(0x9c)),F[aq(0xb8)](aq(0xe6)),F['write'](aq(0x8b)),F[aq(0xb8)]('}'),F[aq(0xb8)]('\x0a'),F[aq(0xb8)]('\x0a'),F[aq(0xb8)]('server\x20{\x0a'),F['write'](aq(0x129)),F['write']('\x09server_name\x20'+f[aq(0x111)]+';\x0a'),F[aq(0xb8)](aq(0x140)),F['write']('\x09index\x20index.html;\x0a'),F[aq(0xb8)](aq(0x9b)),F[aq(0xb8)](aq(0x91)+f['appName']+aq(0xa0)),F[aq(0xb8)](aq(0x173)+f[aq(0x111)]+aq(0xfe)),F[aq(0xb8)](aq(0x8e)),F[aq(0xb8)](aq(0x144)),F[aq(0xb8)](aq(0xbb)),F[aq(0xb8)](aq(0x12b)),F[aq(0xb8)]('\x09\x0a'),F[aq(0xb8)](aq(0x112)),F[aq(0xb8)]('\x09ssl_protocols\x20TLSv1\x20TLSv1.1\x20TLSv1.2;\x0a'),F[aq(0xb8)]('\x09ssl_ciphers\x20\x22ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:kEDH+'+aq(0x17c)+'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-'+aq(0x14c)),F[aq(0xb8)](aq(0x10e)),F[aq(0xb8)]('\x09\x0a'),F[aq(0xb8)](aq(0x14a)),F[aq(0xb8)](aq(0xc1)),F[aq(0xb8)]('\x09}\x0a'),F['write'](aq(0x132)),F[aq(0xb8)](aq(0xca)+q[aq(0xf3)]+aq(0x90)),F[aq(0xb8)](aq(0x8b)),F['write']('\x09\x0a'),F[aq(0xb8)](aq(0x9c)),F[aq(0xb8)](aq(0x16f)),F[aq(0xb8)](aq(0x178)),F[aq(0xb8)](aq(0x84)),F['write']('\x09\x09proxy_set_header\x20Connection\x20\x22upgrade\x22;\x0a'),F[aq(0xb8)]('\x09\x09proxy_set_header\x20X-Forwarded-For\x20$remote_addr;\x0a'),F[aq(0xb8)](aq(0xe4)),F[aq(0xb8)](aq(0x138)),F[aq(0xb8)](aq(0xae)),F[aq(0xb8)](aq(0x176)),F[aq(0xb8)]('\x09}\x0a'),F['write']('}')):(F[aq(0xb8)]('server_tokens\x20off;\x0a'),F[aq(0xb8)](aq(0xa5)),F[aq(0xb8)](aq(0xfb)),F[aq(0xb8)](aq(0x82)),F['write']('}\x0a'),F[aq(0xb8)]('\x0a'),F[aq(0xb8)](aq(0x152)),F['write'](aq(0x153)),F[aq(0xb8)](aq(0x13c)),F[aq(0xb8)](aq(0x14a)),F[aq(0xb8)](aq(0xc1)),F['write'](aq(0x8b)),F['write'](aq(0x132)),F[aq(0xb8)](aq(0xca)+q['user']+aq(0x90)),F[aq(0xb8)](aq(0x8b)),F[aq(0xb8)]('\x09\x0a'),F[aq(0xb8)]('\x09location\x20/\x20{\x0a'),F[aq(0xb8)](aq(0x16f)),F['write']('\x09\x09proxy_http_version\x201.1;\x0a'),F[aq(0xb8)](aq(0x84)),F[aq(0xb8)]('\x09\x09proxy_set_header\x20Connection\x20\x22upgrade\x22;\x0a'),F[aq(0xb8)](aq(0x120)),F['write'](aq(0xe4)),F[aq(0xb8)](aq(0x138)),F[aq(0xb8)](aq(0xae)),F[aq(0xb8)]('\x09\x09}\x0a'),F['write'](aq(0x8b)),F['write']('}'));}),F['on'](ap(0xc7),function(){const ar=ap;F[ar(0xfa)]();});const G=a28f[ap(0x15a)](a28e[ap(0x134)](h,ap(0xc2)),{'flags':'w'});G['on']('open',function(){const as=ap;G[as(0xb8)]('sudo\x20apt-get\x20update\x0a'),G[as(0xb8)](as(0xa3)),G[as(0xb8)](as(0x14d)+m+'\x20install\x20build-essential\x20git\x20nginx\x20-y\x0a'),b[as(0x8f)]===!![]&&(G['write'](as(0x13a)),G[as(0xb8)]('wget\x20-qO\x20-\x20https://www.mongodb.org/static/pgp/server-4.2.asc\x20|\x20sudo\x20apt-key\x20add\x20-\x0a'),G[as(0xb8)](as(0x8d)),G['write'](as(0x11b)),G[as(0xb8)](as(0x9e)),G[as(0xb8)](as(0x12a)),G[as(0xb8)](as(0x167))),G[as(0xb8)]('#\x20setup\x20node\x20and\x20npm\x20with\x20the\x20proper\x20node\x20version\x20using\x20nvm\x0a'),G[as(0xb8)](as(0xa1)),G[as(0xb8)]('rm\x20-rf\x20~/.bash_profile\x20~/.bashrc\x0a'),G['write']('touch\x20~/.bash_profile\x20~/.bashrc\x0a'),G[as(0xb8)](as(0xe2)),G[as(0xb8)](as(0xdb)),G[as(0xb8)](as(0xf9)),G[as(0xb8)](as(0x123)+i+as(0xa9)+l+'\x0a'),G['write']('[\x20\x22$(nvm\x20current)\x22\x20==\x20\x22'+i+as(0xa2)+i+as(0x148)+l+'\x0a'),G[as(0xb8)](as(0x16b)),G['write'](as(0xd4)),G[as(0xb8)]('pm2\x20set\x20pm2-logrotate:max_size\x2020M\x0a'),G[as(0xb8)](as(0x162)),G[as(0xb8)](as(0xd2)),G[as(0xb8)](as(0xf1)),G[as(0xb8)](as(0x16c)),G['write']('[\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'),G[as(0xb8)](as(0x87)),G[as(0xb8)](as(0x12c)),G[as(0xb8)](as(0x16e)),G[as(0xb8)]('sudo\x20systemctl\x20stop\x20nginx\x0a'),G[as(0xb8)]('sudo\x20nginx\x20-s\x20stop\x0a'),G['write']('#\x20Nginx\x20will\x20be\x20restarted\x20just\x20before\x20completing\x20the\x20deployment.\x0a'),G[as(0xb8)](as(0x17e)),b[as(0xe3)]&&!b[as(0xd0)]&&(G[as(0xb8)](as(0x175)),G[as(0xb8)](as(0xb0)+u+'\x20/etc/nginx/ssl/'+u+'\x0a'),G[as(0xb8)](as(0xb0)+v+as(0xda)+v+'\x0a')),G[as(0xb8)](as(0x126)),G[as(0xb8)](as(0x156)),G[as(0xb8)](as(0x11a)),G[as(0xb8)](as(0xab)),G[as(0xb8)]('\x20\x20tar\x20-xf\x20app.tar.gz\x0a'),G['write'](as(0x15c)),G[as(0xb8)]('\x20\x20echo\x20\x22No\x20bundle\x20found,\x20using\x20backup\x22\x0a'),G[as(0xb8)](as(0x81)),G['write'](as(0xcd)),G[as(0xb8)](as(0xbc)),G[as(0xb8)](as(0x99)),G['write']('\x20\x20exit\x201\x0a'),G[as(0xb8)](as(0x118)),G['write'](as(0xd5)),G[as(0xb8)](as(0xd3)),G[as(0xb8)]('npm\x20audit\x20fix\x20--force\x0a'),G[as(0xb8)](as(0xb1)),G[as(0xb8)](as(0xa8)),G['write'](as(0x8a)),G[as(0xb8)](as(0x107)),G[as(0xb8)](as(0xaf)),G[as(0xb8)]('#\x20Bring\x20up\x20pm2\x20with\x20environment\x0a'),G[as(0xb8)](as(0x88)),G[as(0xb8)](as(0x13e)),G['write'](as(0x85)),G[as(0xb8)](as(0x98)+q[as(0xf3)]+'\x20--hp\x20/home/'+q[as(0xf3)]+'\x0a'),G['write'](as(0xb2)),G[as(0xb8)](as(0x133)),G[as(0xb8)](as(0xb3)),G['write'](as(0xcf)),G[as(0xb8)]('#\x20rm\x20-f\x20~/app.tar.gz.bk\x0a'),G[as(0xb8)](as(0x166)),G['write'](as(0x135)),G[as(0xb8)](as(0x180));}),G['on'](ap(0xc7),function(){const at=ap;G[at(0xfa)]();}),Log[ap(0xd6)](ap(0x113)+a28e[ap(0x134)](h,'deploy.sh'));if(!n){const Z=await Actions[ap(0xc9)]('Are\x20you\x20ready\x20to\x20deploy?');if(!Z)throw'Aborted\x20deployment!';}const H=this[ap(0x89)]['findProjectDirectory']();let I=[];H!==undefined&&(I=[ap(0x106),a28e['join'](H,ap(0x106)),ap(0x13f)]);try{if(H!==undefined){const a0=this['fsi']['readFileLines'](a28e[ap(0x134)](H,ap(0x13b),ap(0x137),ap(0x116))),a1=a0[ap(0xb7)]>0x2?!![]:![];if(a1){const a2=f['serverName']?f[ap(0xc4)]:await Actions[ap(0x139)](ap(0xff)),a3=f[ap(0x161)]?f[ap(0x161)]:await Actions[ap(0x139)](ap(0x12d));if(a2[ap(0xb7)]==0x0||a3[ap(0xb7)]==0x0)throw ap(0x94);const a4=a3==ap(0x11c)?ap(0x172):ap(0xa7);I[ap(0x17b)](ap(0xf8)+a4+'://'+a2+':'+a3);if(!f['serverName']&&!f[ap(0x161)]){const a5=await Actions['ask']('Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?\x20[yn]');a5&&(this[ap(0xe5)][ap(0x105)](ap(0xc4),a2),this[ap(0xe5)][ap(0x105)](ap(0x161),a3),Log[ap(0xec)]('Stored\x20server\x20config\x20to\x20'+a28e[ap(0x134)]('.maka','config.json')));}}}}catch(a6){Log[ap(0xee)](a6);return;}const J=a28e[ap(0x134)](this[ap(0x89)]['findProjectDirectory'](),ap(0x106),ap(0x14b)),K=this[ap(0x149)][ap(0x177)](),L=this[ap(0x89)][ap(0x10d)]();let M=![];try{Log[ap(0xec)](ap(0xe9)),M=a28g['gt'](K,L);}catch(a7){Log['notice'](ap(0xb6)+a7);}if(M&&!n){const a8=await Actions[ap(0xc9)](ap(0xba)+L+ap(0x130)+K+ap(0xbd),![]);if(!a8){Log[ap(0xee)]('Aborted'),Log[ap(0xec)](ap(0xe1)+K+'\x22');return;}}let N=!![];a28f['existsSync'](J)&&!n&&(N=await Actions[ap(0xc9)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?'));N&&(execSync(ap(0x128),{'cwd':this[ap(0x89)][ap(0x122)](),'stdio':ap(0x95)}),execSync(d+'\x20'+I[ap(0x134)]('\x20'),{'cwd':this[ap(0x89)][ap(0x122)](),'stdio':ap(0xcb)}));Log[ap(0xec)](ap(0xea));const O={'source':J,'dest':ap(0xdd),'verbose':!![]};SSH[ap(0x174)](O,r),Log['notice'](ap(0xef));const P=a28e['join'](h,'deploy.sh'),Q={'source':P,'dest':ap(0x10a),'verbose':!![]};SSH['scp'](Q,r);const R=a28e[ap(0x134)](h,ap(0xf4)),S={'source':R,'dest':'~/nginx.conf','verbose':!![]};SSH[ap(0x174)](S,r);const T=a28e[ap(0x134)](h,ap(0x17f)),U={'source':T,'dest':ap(0x109),'verbose':!![]};SSH['scp'](U,r);const V=a28e[ap(0x134)](h,ap(0x142)),W={'source':V,'dest':ap(0xf5),'verbose':!![]};SSH[ap(0x174)](W,r);if(b[ap(0xe3)]&&!b[ap(0xd0)]){u=a28e['join'](h,ap(0x102),u);const a9={'source':u,'dest':u};SSH[ap(0x174)](a9,r),v=a28e['join'](h,ap(0x102),v);const aa={'source':v,'dest':v};SSH[ap(0x174)](aa,r);}const X=a28e[ap(0x134)](h,ap(0x102),'ses.json');if(a28f['existsSync'](X)){const ab={'source':X,'dest':ap(0x93),'verbose':!![]};SSH['scp'](ab,r);}const Y=ap(0x159);await SSH[ap(0x10c)](ap(0x125),r,{'verbose':c,'message':Y}),Log['notice'](ap(0x124)),SSH['sshSync'](ap(0xa6),r,{'tty':!![],'verbose':!![]}),Log[ap(0xec)](ap(0xbf)),SSH[ap(0x163)](ap(0xe7),r,{'tty':!![],'verbose':!![]}),Log['success']('Deployed\x20to:\x20'+q[ap(0x157)]);if(b[ap(0xd0)]){Log['notice'](ap(0xd1));try{const ae=a28f[ap(0xfd)](a28e[ap(0x134)](h,ap(0x16d))),af=JSON['parse'](ae[ap(0x13d)]());s=b[ap(0xce)]?b[ap(0xce)]:af['domainNames'],t=b[ap(0xf6)]?b[ap(0xf6)]:af[ap(0x168)],(!b[ap(0xf6)]||!b[ap(0xce)])&&Log[ap(0xec)](ap(0xf2));}catch(ag){Log[ap(0x96)](ap(0x115)+ag);}Log[ap(0xec)]('Setting\x20up\x20letsencrypt');const ac=[ap(0xfc),'snap\x20\x22core\x22\x20has\x20no\x20updates\x20available',ap(0x92),'ln:\x20failed\x20to\x20create\x20symbolic\x20link\x20\x27/usr/bin/certbot\x27:\x20File\x20exists','Certificate\x20not\x20yet\x20due\x20for\x20renewal'];function ad(ah){const au=ap;try{const ai=SSH[au(0x163)](ah,r,{'tty':!![],'verbose':!![],'silentOutput':!![]});if(ai){const aj=ac[au(0x17d)](ak=>ai['stderr']['includes'](ak));if(ai[au(0x143)]!==0x0&&!aj)Log[au(0xee)]('Error\x20running\x20command:\x20'+ah);else ai[au(0xad)]&&Log['success'](ai[au(0xad)]);}else Log['error'](au(0x158)+ah);}catch(ak){Log[au(0xee)](au(0x131)+ah);}}ad(ap(0xb5)),ad('sudo\x20snap\x20install\x20--classic\x20certbot'),ad(ap(0x101)),ad('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+s+ap(0xdf)+t);}Log[ap(0xd6)]('Deployment\x20complete');}catch(ah){Log[ap(0xee)](ap(0x17a)),Log['error'](ah);}}catch(ai){Log[ap(0xee)]('Error\x20in\x20deployment:'),Log['error'](ai);}},a28h);
@@ -1 +1 @@
1
- (function(a,b){var f=a29d,c=a();while(!![]){try{var d=-parseInt(f(0x7f))/0x1*(parseInt(f(0x77))/0x2)+-parseInt(f(0x79))/0x3+parseInt(f(0x7b))/0x4+parseInt(f(0x75))/0x5+-parseInt(f(0x7d))/0x6+parseInt(f(0x7e))/0x7+parseInt(f(0x80))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x87e97));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a29d;if(c){var e=c[g(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var h=a29d;return a29a[h(0x7c)]()[h(0x7a)](h(0x81))[h(0x7c)]()[h(0x78)](a29a)[h(0x7a)](h(0x81));});function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x75;var f=c[d];return f;},a29d(a,b);}a29a();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 a29c(){var i=['5335545QgSrmf','apply','38NCSReS','constructor','2227131PQxmbG','search','3120384tjxnjo','toString','3113394iKMMGV','757323GmgnQv','37498UQmxtZ','4600312bkPlZy','(((.+)+)+)+$'];a29c=function(){return i;};return a29c();}
1
+ function a29c(){var h=['15gdigcO','34745799jZDKPy','constructor','7336304cuxtTg','14311503nyRiox','search','toString','1118525JFHSNz','2378640jisPtZ','1fHunOE','7eOymLQ','2768564UpEDry','921976AxZhOW','6TlWuCK'];a29c=function(){return h;};return a29c();}(function(a,b){var f=a29d,c=a();while(!![]){try{var d=-parseInt(f(0x81))/0x1*(-parseInt(f(0x83))/0x2)+-parseInt(f(0x86))/0x3*(parseInt(f(0x84))/0x4)+parseInt(f(0x7f))/0x5*(parseInt(f(0x85))/0x6)+-parseInt(f(0x82))/0x7*(parseInt(f(0x89))/0x8)+-parseInt(f(0x7c))/0x9+-parseInt(f(0x80))/0xa+parseInt(f(0x87))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xd4325));function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x7c;var f=c[d];return f;},a29d(a,b);}var a29b=(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;};}()),a29a=a29b(this,function(){var g=a29d;return a29a[g(0x7e)]()['search']('(((.+)+)+)+$')[g(0x7e)]()[g(0x88)](a29a)[g(0x7d)]('(((.+)+)+)+$');});a29a();import'./play.command.js';import'./pong.sub.cmd.js';import'./snake.sub.cmd.js';import'./battleship.sub.cmd.js';import'./sideQuest.sub.cmd.js';
@@ -1 +1 @@
1
- var a30i=a30d;(function(a,b){var f=a30d,c=a();while(!![]){try{var d=-parseInt(f(0x158))/0x1*(parseInt(f(0x168))/0x2)+-parseInt(f(0x169))/0x3+parseInt(f(0x163))/0x4*(parseInt(f(0x15e))/0x5)+parseInt(f(0x166))/0x6*(-parseInt(f(0x160))/0x7)+-parseInt(f(0x16a))/0x8+-parseInt(f(0x15f))/0x9*(-parseInt(f(0x15b))/0xa)+parseInt(f(0x167))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xaf3ba));function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x158;var f=c[d];return f;},a30d(a,b);}var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a30d;if(c){var e=c[g(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var h=a30d;return a30a[h(0x161)]()['search']('(((.+)+)+)+$')['toString']()[h(0x15d)](a30a)[h(0x159)](h(0x162));});a30a();import a30e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';function a30c(){var k=['constructor','10oAzBWp','27cuzPto','49QbnHXF','toString','(((.+)+)+)+$','1124272cFHzbO','inherit','apply','677988YgwdEj','20800197VzZpCl','149690xyckPu','2316150iiuBBg','2953896tBiUkz','1loTOkb','search','maka\x20game:battleship','906030uFhJWu','Play\x20Battlehsip:\x20https://www.npmjs.com/package/battleship-game'];a30c=function(){return k;};return a30c();}Command['create']({'name':'battleship','usage':a30i(0x15a),'shortDesc':a30i(0x15c),'validOpts':[]},async function(){var j=a30i;execSync('npx\x20battleship-game',{'stdio':j(0x164)});},a30e);
1
+ function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x144;var f=c[d];return f;},a30d(a,b);}var a30i=a30d;(function(a,b){var f=a30d,c=a();while(!![]){try{var d=parseInt(f(0x146))/0x1*(parseInt(f(0x153))/0x2)+-parseInt(f(0x150))/0x3*(-parseInt(f(0x14b))/0x4)+parseInt(f(0x158))/0x5*(-parseInt(f(0x14a))/0x6)+-parseInt(f(0x156))/0x7*(parseInt(f(0x151))/0x8)+-parseInt(f(0x14c))/0x9+parseInt(f(0x145))/0xa+-parseInt(f(0x148))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xd106e));var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a30d;if(c){var e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var h=a30d;return a30a['toString']()['search'](h(0x14d))[h(0x14f)]()[h(0x154)](a30a)[h(0x144)](h(0x14d));});a30a();import a30e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';Command[a30i(0x152)]({'name':a30i(0x147),'usage':a30i(0x155),'shortDesc':'Play\x20Battlehsip:\x20https://www.npmjs.com/package/battleship-game','validOpts':[]},async function(){var j=a30i;execSync(j(0x149),{'stdio':j(0x14e)});},a30e);function a30c(){var k=['9180523cLdctI','npx\x20battleship-game','42018hVhbAb','4XwVoIG','6341985XMybut','(((.+)+)+)+$','inherit','toString','4466961vMifDM','28848nTLXxo','create','2036884DYNFxs','constructor','maka\x20game:battleship','1253VeJKoL','apply','140sBZpYS','search','7295610nOqXjd','1ZVAlbz','battleship'];a30c=function(){return k;};return a30c();}
@@ -1 +1 @@
1
- const a31i=a31d;(function(a,b){const f=a31d,c=a();while(!![]){try{const d=parseInt(f(0x19d))/0x1*(-parseInt(f(0x194))/0x2)+-parseInt(f(0x192))/0x3*(-parseInt(f(0x196))/0x4)+parseInt(f(0x18a))/0x5*(-parseInt(f(0x199))/0x6)+-parseInt(f(0x193))/0x7*(-parseInt(f(0x190))/0x8)+-parseInt(f(0x18b))/0x9+-parseInt(f(0x19f))/0xa*(parseInt(f(0x1a0))/0xb)+parseInt(f(0x19b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x41957));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a31d;if(c){const e=c[g(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const h=a31d;return a31a[h(0x18c)]()['search'](h(0x18d))[h(0x18c)]()[h(0x198)](a31a)[h(0x197)](h(0x18d));});function a31c(){const j=['(((.+)+)+)+$','maka\x20play:snake','create','96sNxeVs','Ok...only\x20for\x20a\x20few\x20minutes\x20;)','73434HrQRAF','212338DcscWQ','298vaHuJP','maka\x20play:battleship','16HcNuZM','search','constructor','1446eussgL','apply','12755544ujCWqj','maka\x20play:tetris','1703zGuikg','maka\x20play:<game>','4683030BnqZvZ','11vVzxYN','9095fNaXxQ','862398ToaLEY','toString'];a31c=function(){return j;};return a31c();}a31a();import{Command}from'../../command.js';function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x18a;let f=c[d];return f;},a31d(a,b);}import{UsageError}from'../../error.js';const PlayCommand=Command[a31i(0x18f)]({'name':'play','usage':a31i(0x19e),'shortDesc':a31i(0x191),'validOpts':[],'examples':[a31i(0x195),'maka\x20play:pong',a31i(0x18e),a31i(0x19c)]},async function(){throw UsageError;});export default PlayCommand;
1
+ const a31h=a31d;(function(a,b){const f=a31d,c=a();while(!![]){try{const d=parseInt(f(0xca))/0x1*(parseInt(f(0xcd))/0x2)+-parseInt(f(0xc6))/0x3*(parseInt(f(0xd1))/0x4)+parseInt(f(0xbe))/0x5*(parseInt(f(0xcb))/0x6)+parseInt(f(0xc5))/0x7*(parseInt(f(0xc0))/0x8)+-parseInt(f(0xcf))/0x9+-parseInt(f(0xc3))/0xa+parseInt(f(0xc4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x24d18));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const g=a31d;return a31a[g(0xc9)]()[g(0xc1)](g(0xbf))[g(0xc9)]()[g(0xbd)](a31a)['search'](g(0xbf));});a31a();function a31c(){const i=['(((.+)+)+)+$','2664QfjTxm','search','maka\x20play:<game>','2812320MPSUZl','4026110zatlTk','4564PUJMcD','259047CiaPHs','maka\x20play:snake','maka\x20play:tetris','toString','12114lWyfDO','418998nApzYO','create','32zHMpWW','play','2178405fZZGoq','Ok...only\x20for\x20a\x20few\x20minutes\x20;)','8xIUKrz','maka\x20play:battleship','constructor','5wuPOsN'];a31c=function(){return i;};return a31c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const PlayCommand=Command[a31h(0xcc)]({'name':a31h(0xce),'usage':a31h(0xc2),'shortDesc':a31h(0xd0),'validOpts':[],'examples':[a31h(0xd2),'maka\x20play:pong',a31h(0xc7),a31h(0xc8)]},async function(){throw UsageError;});function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0xbd;let f=c[d];return f;},a31d(a,b);}export default PlayCommand;
@@ -1 +1 @@
1
- function a32d(a,b){var c=a32c();return a32d=function(d,e){d=d-0xbf;var f=c[d];return f;},a32d(a,b);}var a32h=a32d;(function(a,b){var f=a32d,c=a();while(!![]){try{var d=parseInt(f(0xc5))/0x1+-parseInt(f(0xd2))/0x2*(parseInt(f(0xc2))/0x3)+parseInt(f(0xcf))/0x4*(-parseInt(f(0xc8))/0x5)+-parseInt(f(0xc3))/0x6*(-parseInt(f(0xc0))/0x7)+-parseInt(f(0xc9))/0x8*(parseInt(f(0xd0))/0x9)+-parseInt(f(0xcc))/0xa*(-parseInt(f(0xce))/0xb)+parseInt(f(0xc1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x3ddf6));var a32b=(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;};}()),a32a=a32b(this,function(){var g=a32d;return a32a[g(0xc7)]()[g(0xbf)](g(0xc4))[g(0xc7)]()[g(0xcb)](a32a)[g(0xbf)](g(0xc4));});a32a();import a32e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';Command[a32h(0xd3)]({'name':a32h(0xd1),'usage':'maka\x20game:pong','shortDesc':a32h(0xcd),'validOpts':[]},async function(){var i=a32h;execSync(i(0xca),{'stdio':i(0xc6)});},a32e);function a32c(){var j=['constructor','765220TEpsNS','Play\x20Pong:\x20https://github.com/liambloom/node-pong','22gbmBOy','1151708GQXZsU','117nCJzha','pong','2ZctWpk','create','search','154fRnJYN','6105876opIKic','1498110LdpxcZ','90912XvyNmj','(((.+)+)+)+$','456511eSwOLz','inherit','toString','5DDqqVE','252920KgHmvk','npx\x20command-line-pong\x20--no-install'];a32c=function(){return j;};return a32c();}
1
+ var a32i=a32d;function a32d(a,b){var c=a32c();return a32d=function(d,e){d=d-0x1e8;var f=c[d];return f;},a32d(a,b);}(function(a,b){var f=a32d,c=a();while(!![]){try{var d=parseInt(f(0x1f5))/0x1+-parseInt(f(0x1f6))/0x2+parseInt(f(0x1ed))/0x3+-parseInt(f(0x1e8))/0x4+parseInt(f(0x1ee))/0x5*(parseInt(f(0x1f8))/0x6)+parseInt(f(0x1e9))/0x7*(parseInt(f(0x1f1))/0x8)+-parseInt(f(0x1f7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0xb3d4f));var a32b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a32d;if(c){var e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){var h=a32d;return a32a[h(0x1f0)]()['search']('(((.+)+)+)+$')[h(0x1f0)]()['constructor'](a32a)[h(0x1ea)](h(0x1ef));});function a32c(){var k=['search','apply','inherit','684003voYQuv','2337600PKUYPS','(((.+)+)+)+$','toString','8cKXNXO','pong','create','Play\x20Pong:\x20https://github.com/liambloom/node-pong','1017282vvCrYi','819540wcGfID','13318776szrLRC','12xpHzGC','2073656TpenRj','6750212qahgjv'];a32c=function(){return k;};return a32c();}a32a();import a32e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';Command[a32i(0x1f3)]({'name':a32i(0x1f2),'usage':'maka\x20game:pong','shortDesc':a32i(0x1f4),'validOpts':[]},async function(){var j=a32i;execSync('npx\x20command-line-pong\x20--no-install',{'stdio':j(0x1ec)});},a32e);
@@ -1 +1 @@
1
- var a33h=a33d;function a33c(){var l=['scene','447651aQHtrN','1804pEbplW','description','470519LweNGu','397239SoWSjY','getDescription','actor','getInstance','No\x20description\x20available.','toString','16mfUucF','(((.+)+)+)+$','2686496vfRUVN','search','isValidDirection','values','verb','1048608wcUcAx','logger','11940HlLzPg','constructor','2106533AHeLHZ','50pqDphR','rooms','6nvaToG'];a33c=function(){return l;};return a33c();}(function(a,b){var f=a33d,c=a();while(!![]){try{var d=-parseInt(f(0x15a))/0x1+parseInt(f(0x14c))/0x2+parseInt(f(0x15e))/0x3+parseInt(f(0x15b))/0x4*(parseInt(f(0x153))/0x5)+parseInt(f(0x158))/0x6*(-parseInt(f(0x15d))/0x7)+parseInt(f(0x164))/0x8*(-parseInt(f(0x151))/0x9)+-parseInt(f(0x156))/0xa*(parseInt(f(0x155))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xced8a));function a33d(a,b){var c=a33c();return a33d=function(d,e){d=d-0x14b;var f=c[d];return f;},a33d(a,b);}var a33b=(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;};}()),a33a=a33b(this,function(){var g=a33d;return a33a['toString']()['search'](g(0x14b))[g(0x163)]()[g(0x154)](a33a)[g(0x14d)](g(0x14b));});a33a();import{Direction}from'../types/enums.js';import{Logger}from'../utilities/logger.js';export class Command{static [a33h(0x150)];static [a33h(0x15c)];[a33h(0x160)];[a33h(0x157)];['logger'];[a33h(0x159)];constructor(a){var i=a33h;this[i(0x160)]=a['actor'],this['rooms']=a[i(0x157)],this[i(0x152)]=Logger[i(0x161)]();}[a33h(0x14e)](a){var j=a33h;return Object[j(0x14f)](Direction)['includes'](a);}static[a33h(0x15f)](){var k=a33h;return this['description']||k(0x162);}}
1
+ var a33i=a33d;function a33d(a,b){var c=a33c();return a33d=function(d,e){d=d-0x193;var f=c[d];return f;},a33d(a,b);}(function(a,b){var f=a33d,c=a();while(!![]){try{var d=parseInt(f(0x19b))/0x1*(-parseInt(f(0x1a9))/0x2)+-parseInt(f(0x1a8))/0x3*(parseInt(f(0x1aa))/0x4)+-parseInt(f(0x19a))/0x5+parseInt(f(0x1a5))/0x6*(-parseInt(f(0x1a6))/0x7)+parseInt(f(0x193))/0x8*(parseInt(f(0x1a7))/0x9)+-parseInt(f(0x198))/0xa*(parseInt(f(0x1a2))/0xb)+parseInt(f(0x1a0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xc2ae2));var a33b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a33d;if(c){var e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){var h=a33d;return a33a[h(0x19c)]()['search'](h(0x196))['toString']()['constructor'](a33a)[h(0x19e)]('(((.+)+)+)+$');});a33a();import{Direction}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a33c(){var m=['toString','values','search','actor','59068596ooaleW','includes','77rHgsYr','logger','verb','54bTqmpo','289877iWmFif','6184683tUyDLf','678Estqdh','5258WowZWJ','13208bBxMJF','description','getInstance','rooms','8dJjsEs','scene','isValidDirection','(((.+)+)+)+$','No\x20description\x20available.','2140440gwvbqQ','apply','4967240vYSPCe','457BXjDtk'];a33c=function(){return m;};return a33c();}export class Command{static [a33i(0x1a4)];static [a33i(0x1ab)];[a33i(0x19f)];['rooms'];[a33i(0x1a3)];[a33i(0x194)];constructor(a){var j=a33i;this['actor']=a['actor'],this[j(0x1ad)]=a[j(0x1ad)],this[j(0x1a3)]=Logger[j(0x1ac)]();}[a33i(0x195)](a){var k=a33i;return Object[k(0x19d)](Direction)[k(0x1a1)](a);}static['getDescription'](){var l=a33i;return this[l(0x1ab)]||l(0x197);}}
@@ -1 +1 @@
1
- const a34h=a34d;function a34c(){const k=['drop','(((.+)+)+)+$','9WlpWKw','10359MaKvmP','constructor','716408fCnykH','7974240hYVhne','617020FcrSYM','currentLocation','34FjlIfs','getItem','Item\x20\x22','\x20in\x20your\x20inventory.','inventory','1138816lOKPma','logger','toLowerCase','98958gSfpOR','Drop\x20an\x20item\x20from\x20your\x20inventory.','actor','execute','You\x20don\x27t\x20have\x20','verb','write','search','name','\x22\x20from\x20inventory\x20to\x20room\x20during\x20\x27Drop\x27\x20command.','\x22\x20not\x20found\x20in\x20','35FoLSYb','join','toString','hasItem','\x27s\x20inventory\x20during\x20\x27Drop\x27\x20command.','removeItem','addItem','You\x20dropped\x20','250218jFSDRE','\x20has\x20successfully\x20dropped\x20\x22'];a34c=function(){return k;};return a34c();}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x1c0))/0x1+-parseInt(f(0x1b8))/0x2*(parseInt(f(0x1d8))/0x3)+-parseInt(f(0x1b4))/0x4+-parseInt(f(0x1b6))/0x5+parseInt(f(0x1d3))/0x6*(-parseInt(f(0x1cb))/0x7)+-parseInt(f(0x1bd))/0x8*(parseInt(f(0x1d7))/0x9)+parseInt(f(0x1b5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x2cff4));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const g=a34d;return a34a[g(0x1cd)]()['search']('(((.+)+)+)+$')[g(0x1cd)]()[g(0x1b3)](a34a)[g(0x1c7)](g(0x1d6));});function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a34d(a,b);}a34a();import{Command}from'./command.js';export class DropCommand extends Command{static [a34h(0x1c5)]='drop';static ['description']=a34h(0x1c1);[a34h(0x1c3)](a){const i=a34h;return this[i(0x1be)]['write'](this[i(0x1c2)][i(0x1c8)]+'\x20is\x20Attempting\x20\x27Drop\x27\x20command\x20with\x20item:\x20'+a[i(0x1cc)]('\x20')),this[i(0x1d5)](a);}[a34h(0x1d5)](a){const j=a34h,b=a[j(0x1cc)]('\x20')[j(0x1bf)]();if(!this[j(0x1c2)]['inventory'][j(0x1ce)](b))return this['logger'][j(0x1c6)](j(0x1ba)+b+j(0x1ca)+this[j(0x1c2)][j(0x1c8)]+j(0x1cf)),j(0x1c4)+b+j(0x1bb);const c=this[j(0x1c2)]['inventory'][j(0x1b9)](b);if(!c)return this[j(0x1be)]['write']('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+this[j(0x1c2)][j(0x1c8)]+j(0x1cf)),j(0x1c4)+b+'\x20in\x20your\x20inventory.';return this[j(0x1c2)][j(0x1bc)][j(0x1d0)](b),this[j(0x1c2)][j(0x1b7)][j(0x1bc)][j(0x1d1)](c),this[j(0x1be)][j(0x1c6)](this[j(0x1c2)][j(0x1c8)]+j(0x1d4)+b+j(0x1c9)),j(0x1d2)+b+'.';}}
1
+ function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a34d(a,b);}const a34h=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x20e))/0x1*(-parseInt(f(0x205))/0x2)+parseInt(f(0x1fa))/0x3*(parseInt(f(0x211))/0x4)+-parseInt(f(0x200))/0x5+-parseInt(f(0x208))/0x6*(parseInt(f(0x20c))/0x7)+parseInt(f(0x210))/0x8+parseInt(f(0x216))/0x9*(parseInt(f(0x209))/0xa)+-parseInt(f(0x20d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xc64f6));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const g=a34d;return a34a[g(0x215)]()['search'](g(0x1f7))[g(0x215)]()[g(0x20a)](a34a)[g(0x1f8)](g(0x1f7));});a34a();import{Command}from'./command.js';function a34c(){const k=['name','\x22\x20not\x20retrieved\x20from\x20','Item\x20\x22','\x22\x20from\x20inventory\x20to\x20room\x20during\x20\x27Drop\x27\x20command.','removeItem','2372915PPTTMo','write','actor','logger','inventory','32726qsqPHt','\x22\x20not\x20found\x20in\x20','execute','334914RxHfXG','50isFokU','constructor','You\x20dropped\x20','63XULZGG','21339604ARCyAV','52VEsFNe','\x20in\x20your\x20inventory.','5893472snqAkq','1016LqyKou','description','\x20is\x20Attempting\x20\x27Drop\x27\x20command\x20with\x20item:\x20','Drop\x20an\x20item\x20from\x20your\x20inventory.','toString','1457388GoOqaX','join','\x27s\x20inventory\x20during\x20\x27Drop\x27\x20command.','drop','getItem','hasItem','(((.+)+)+)+$','search','addItem','15732GdxttF'];a34c=function(){return k;};return a34c();}export class DropCommand extends Command{static ['verb']=a34h(0x1f4);static [a34h(0x212)]=a34h(0x214);[a34h(0x207)](a){const i=a34h;return this[i(0x203)]['write'](this[i(0x202)]['name']+i(0x213)+a[i(0x217)]('\x20')),this[i(0x1f4)](a);}['drop'](a){const j=a34h,b=a[j(0x217)]('\x20')['toLowerCase']();if(!this[j(0x202)][j(0x204)][j(0x1f6)](b))return this['logger'][j(0x201)](j(0x1fd)+b+j(0x206)+this[j(0x202)][j(0x1fb)]+'\x27s\x20inventory\x20during\x20\x27Drop\x27\x20command.'),'You\x20don\x27t\x20have\x20'+b+'\x20in\x20your\x20inventory.';const c=this[j(0x202)][j(0x204)][j(0x1f5)](b);if(!c)return this[j(0x203)][j(0x201)]('Item\x20\x22'+b+j(0x1fc)+this[j(0x202)][j(0x1fb)]+j(0x218)),'You\x20don\x27t\x20have\x20'+b+j(0x20f);return this['actor'][j(0x204)][j(0x1ff)](b),this['actor']['currentLocation'][j(0x204)][j(0x1f9)](c),this[j(0x203)][j(0x201)](this[j(0x202)]['name']+'\x20has\x20successfully\x20dropped\x20\x22'+b+j(0x1fe)),j(0x20b)+b+'.';}}
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0xd3))/0x1*(parseInt(f(0xcc))/0x2)+parseInt(f(0xd2))/0x3+parseInt(f(0xc1))/0x4+parseInt(f(0xba))/0x5+-parseInt(f(0xbf))/0x6+parseInt(f(0xc2))/0x7+parseInt(f(0xbe))/0x8*(-parseInt(f(0xd1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x27e44));function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xb9;let f=c[d];return f;},a35d(a,b);}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0xb9)]()[h(0xd0)](h(0xd4))[h(0xb9)]()[h(0xd9)](a35a)['search'](h(0xd4));});a35a();function a35c(){const l=['\x20in\x20your\x20inventory,\x20and\x20it\x27s\x20not\x20in\x20this\x20room.','40UYLrTe','1750818odGjub','\x20room.','1124904rfeQfL','1280153fdQTcp','removeItem','description','apply','You\x20don\x27t\x20have\x20','getItem','verb','addItem','EquipCommand:\x20','execute','450dWIKVi','currentLocation','name','join','search','1396998AgSeHo','710262jplzON','1277ZuYkMK','(((.+)+)+)+$','toLowerCase','Equip\x20an\x20item.','equip','inventory','constructor','logger','toString','1215625qSbUyM','actor','\x20not\x20found\x20in\x20'];a35c=function(){return l;};return a35c();}import{Command}from'./command.js';export class EquipCommand extends Command{static [a35i(0xc8)]=a35i(0xd7);static [a35i(0xc4)]=a35i(0xd6);[a35i(0xcb)](a){const j=a35i;return this[j(0xd7)](a);}['equip'](a){const k=a35i,b=a[k(0xcf)]('\x20')[k(0xd5)]();let c=this['actor'][k(0xd8)][k(0xc7)](b);if(!c){const e=this[k(0xbb)]['currentLocation'];c=e[k(0xd8)][k(0xc7)](b);if(c)this[k(0xbb)]['inventory'][k(0xc9)](c),e[k(0xd8)][k(0xc3)](b),this[k(0xda)]['write']('EquipCommand:\x20'+b+'\x20taken\x20from\x20room\x20and\x20added\x20to\x20'+this[k(0xbb)][k(0xce)]+'\x27s\x20inventory.');else return this['logger']['error'](k(0xca)+b+k(0xbc)+this[k(0xbb)][k(0xce)]+'\x20inventory\x20or\x20'+this[k(0xbb)][k(0xcd)][k(0xce)]+k(0xc0)),k(0xc6)+b+k(0xbd);}const d=this[k(0xbb)][k(0xd7)](c);return this[k(0xda)]['write'](k(0xca)+d),d;}}
1
+ const a35i=a35d;function a35c(){const l=['(((.+)+)+)+$','inventory','execute','logger','currentLocation','582438EgFkzd','1729581gfZFdT','\x20in\x20your\x20inventory,\x20and\x20it\x27s\x20not\x20in\x20this\x20room.','search','\x20room.','error','toString','\x20taken\x20from\x20room\x20and\x20added\x20to\x20','3mHSyYJ','416HwWrRK','equip','150UFOmek','addItem','actor','toLowerCase','1376310FdeGmw','184904MrmPep','18605YfmlTU','EquipCommand:\x20','You\x20don\x27t\x20have\x20','apply','constructor','9LLoBHO','removeItem','\x20inventory\x20or\x20','name','999928MXoLUd'];a35c=function(){return l;};return a35c();}(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x89))/0x1*(-parseInt(f(0x8b))/0x2)+-parseInt(f(0x88))/0x3*(parseInt(f(0x70))/0x4)+parseInt(f(0x71))/0x5+-parseInt(f(0x80))/0x6+parseInt(f(0x81))/0x7+-parseInt(f(0x7a))/0x8*(parseInt(f(0x76))/0x9)+parseInt(f(0x8f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x24f31));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x86)]()[h(0x83)]('(((.+)+)+)+$')[h(0x86)]()[h(0x75)](a35a)[h(0x83)](h(0x7b));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x70;let f=c[d];return f;},a35d(a,b);}import{Command}from'./command.js';export class EquipCommand extends Command{static ['verb']=a35i(0x8a);static ['description']='Equip\x20an\x20item.';[a35i(0x7d)](a){const j=a35i;return this[j(0x8a)](a);}[a35i(0x8a)](a){const k=a35i,b=a['join']('\x20')[k(0x8e)]();let c=this[k(0x8d)][k(0x7c)]['getItem'](b);if(!c){const e=this[k(0x8d)][k(0x7f)];c=e[k(0x7c)]['getItem'](b);if(c)this[k(0x8d)][k(0x7c)][k(0x8c)](c),e[k(0x7c)][k(0x77)](b),this[k(0x7e)]['write'](k(0x72)+b+k(0x87)+this[k(0x8d)]['name']+'\x27s\x20inventory.');else return this[k(0x7e)][k(0x85)]('EquipCommand:\x20'+b+'\x20not\x20found\x20in\x20'+this[k(0x8d)][k(0x79)]+k(0x78)+this[k(0x8d)][k(0x7f)][k(0x79)]+k(0x84)),k(0x73)+b+k(0x82);}const d=this[k(0x8d)][k(0x8a)](c);return this[k(0x7e)]['write'](k(0x72)+d),d;}}
@@ -1 +1 @@
1
- function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a36d(a,b);}const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x1f8))/0x1*(-parseInt(g(0x1f3))/0x2)+parseInt(g(0x21c))/0x3*(parseInt(g(0x1fe))/0x4)+parseInt(g(0x218))/0x5+-parseInt(g(0x1fd))/0x6+parseInt(g(0x20b))/0x7*(parseInt(g(0x210))/0x8)+parseInt(g(0x1ff))/0x9+-parseInt(g(0x209))/0xa*(parseInt(g(0x214))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xda591));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x21d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x220)]()[i(0x217)](i(0x1fa))[i(0x220)]()[i(0x1f5)](a36a)[i(0x217)]('(((.+)+)+)+$');});a36a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class GoCommand extends Command{static [a36j(0x20a)]='go';static [a36j(0x1f4)]=a36j(0x212);['execute'](a){const k=a36j;return this[k(0x201)]['write'](this[k(0x20f)][k(0x213)]+k(0x21f)+a['join']('\x20')),this['go'](a);}['go'](a){const l=a36j;if(a[l(0x215)]===0x0)return this[l(0x201)][l(0x206)](this['actor']['name']+l(0x216)),'Please\x20specify\x20a\x20direction\x20to\x20go.';const b=a[0x0]['toLowerCase']();if(!this[l(0x20e)](b))return this[l(0x201)][l(0x206)](this[l(0x20f)][l(0x213)]+l(0x211)+b+l(0x21b)),l(0x1f9);const c=this['actor'][l(0x205)];if(!c)return this[l(0x201)][l(0x219)](this['actor']['name']+l(0x200)),'You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.';const d=c[l(0x1f6)](b);if(!d)return this['logger'][l(0x206)](this[l(0x20f)][l(0x213)]+l(0x20c)+b+'\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.'),l(0x1fc);if(d instanceof Door){if(d[l(0x207)]())return l(0x204)+b+'\x22\x20is\x20locked.';const e=d[l(0x203)](c);if(!e)return this['logger'][l(0x219)](this[l(0x20f)][l(0x213)]+l(0x208)),l(0x20d);this[l(0x20f)][l(0x205)]=e;}else{const f=this['rooms']&&this[l(0x1fb)][d];if(!f)return this[l(0x201)][l(0x219)](this[l(0x20f)][l(0x213)]+l(0x21a)+d+l(0x21e)),l(0x1f7);this[l(0x20f)][l(0x205)]=f;}return this[l(0x201)][l(0x206)](this[l(0x20f)][l(0x213)]+l(0x202)+(this['actor'][l(0x205)][l(0x213)]||'Unnamed\x20room')+'.'),this[l(0x20f)]['currentLocation']['description'];}}function a36c(){const m=['The\x20door\x20in\x20the\x20direction\x20\x22','currentLocation','write','checkIfLocked','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','11522870gjSGVK','verb','21uWIWiA','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','isValidDirection','actor','1648792YFfIbA','\x20attempted\x20to\x20go\x20','Move\x20in\x20the\x20specified\x20direction.','name','22zMwKLj','length','\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.','search','7344980iCTOcj','error','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22','\x20which\x20is\x20not\x20valid.','1644999dJygRb','apply','\x22\x20not\x20found.','\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20','toString','47576dctqyv','description','constructor','getExit','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.','7vGnEig','That\x20is\x20not\x20a\x20way\x20to\x20go','(((.+)+)+)+$','rooms','You\x20can\x27t\x20go\x20that\x20way.','1503252HLOAFZ','4mhMhaW','8823231NJckek','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','logger','\x20moved\x20to\x20room:\x20','getOtherSide'];a36c=function(){return m;};return a36c();}
1
+ function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x158;let f=c[d];return f;},a36d(a,b);}const a36i=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x162))/0x1*(parseInt(g(0x181))/0x2)+-parseInt(g(0x15f))/0x3*(parseInt(g(0x175))/0x4)+parseInt(g(0x183))/0x5*(-parseInt(g(0x168))/0x6)+-parseInt(g(0x180))/0x7*(parseInt(g(0x176))/0x8)+parseInt(g(0x16f))/0x9*(parseInt(g(0x166))/0xa)+parseInt(g(0x171))/0xb*(-parseInt(g(0x16a))/0xc)+parseInt(g(0x174))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x32254));const a36b=(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;};}()),a36a=a36b(this,function(){const h=a36d;return a36a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0x172)](a36a)['search'](h(0x15c));});a36a();import{Door}from'../models/door.js';function a36c(){const l=['description','63WEeIKJ','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','792EENeiR','constructor','\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.','10534043SVsWTg','1140BCYqSf','32UPKuth','getExit','The\x20door\x20in\x20the\x20direction\x20\x22','name','logger','rooms','actor','Please\x20specify\x20a\x20direction\x20to\x20go.','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','379855FbNKqt','544366yGfspY','\x22\x20not\x20found.','171245scydGk','error','toLowerCase','verb','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','(((.+)+)+)+$','\x20attempted\x20to\x20go\x20','execute','2973EyLneG','write','You\x20can\x27t\x20go\x20that\x20way.','1uuhNoT','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','\x20moved\x20to\x20room:\x20','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','51630xdoSmW','Unnamed\x20room','48jFFCnN','join','23292rluADo','currentLocation','checkIfLocked','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.'];a36c=function(){return l;};return a36c();}import{Command}from'./command.js';export class GoCommand extends Command{static [a36i(0x15a)]='go';static [a36i(0x16e)]='Move\x20in\x20the\x20specified\x20direction.';[a36i(0x15e)](a){const j=a36i;return this[j(0x17a)][j(0x160)](this[j(0x17c)]['name']+'\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20'+a[j(0x169)]('\x20')),this['go'](a);}['go'](a){const k=a36i;if(a['length']===0x0)return this[k(0x17a)][k(0x160)](this['actor'][k(0x179)]+k(0x173)),k(0x17d);const b=a[0x0][k(0x159)]();if(!this['isValidDirection'](b))return this[k(0x17a)][k(0x160)](this[k(0x17c)][k(0x179)]+k(0x15d)+b+'\x20which\x20is\x20not\x20valid.'),'That\x20is\x20not\x20a\x20way\x20to\x20go';const c=this['actor'][k(0x16b)];if(!c)return this['logger'][k(0x158)](this[k(0x17c)][k(0x179)]+k(0x17f)),'You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.';const d=c[k(0x177)](b);if(!d)return this[k(0x17a)]['write'](this[k(0x17c)]['name']+k(0x170)+b+k(0x163)),k(0x161);if(d instanceof Door){if(d[k(0x16c)]())return k(0x178)+b+'\x22\x20is\x20locked.';const e=d['getOtherSide'](c);if(!e)return this[k(0x17a)]['error'](this[k(0x17c)][k(0x179)]+k(0x165)),k(0x15b);this[k(0x17c)][k(0x16b)]=e;}else{const f=this[k(0x17b)]&&this['rooms'][d];if(!f)return this[k(0x17a)][k(0x158)](this[k(0x17c)][k(0x179)]+k(0x17e)+d+k(0x182)),k(0x16d);this[k(0x17c)]['currentLocation']=f;}return this['logger']['write'](this['actor'][k(0x179)]+k(0x164)+(this[k(0x17c)][k(0x16b)][k(0x179)]||k(0x167))+'.'),this[k(0x17c)][k(0x16b)][k(0x16e)];}}