@maka/maka-cli 4.7.11 → 4.7.13

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 (323) hide show
  1. package/.eslintrc.json +29 -29
  2. package/.mocharc.json +3 -3
  3. package/.vs/VSWorkspaceState.json +12 -0
  4. package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
  5. package/.vs/maka-cli-src/FileContentIndex/69d2de39-b193-48d9-b520-96bdb73b7b61.vsidx +0 -0
  6. package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
  7. package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
  8. package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.vsidx +0 -0
  9. package/.vs/maka-cli-src/config/applicationhost.config +1016 -0
  10. package/.vs/maka-cli-src/v17/.wsuo +0 -0
  11. package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
  12. package/.vs/slnx.sqlite +0 -0
  13. package/README.md +21 -21
  14. package/bundle/obf/package.json +127 -127
  15. package/bundle/obf/src/README.md +21 -21
  16. package/bundle/obf/src/command.js +1 -1
  17. package/bundle/obf/src/commands/_index.js +1 -1
  18. package/bundle/obf/src/commands/ai.js +1 -1
  19. package/bundle/obf/src/commands/aws/_index.js +1 -1
  20. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  21. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  23. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/build/_index.js +1 -1
  34. package/bundle/obf/src/commands/build/build.js +1 -1
  35. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  36. package/bundle/obf/src/commands/create.js +1 -1
  37. package/bundle/obf/src/commands/debug.js +1 -1
  38. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  39. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  40. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  41. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  42. package/bundle/obf/src/commands/game/_index.js +1 -1
  43. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  44. package/bundle/obf/src/commands/game/play.command.js +1 -1
  45. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  69. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  70. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  71. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  72. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  73. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  74. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  75. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  76. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  77. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  78. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  79. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  80. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  81. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  82. package/bundle/obf/src/commands/generate.js +1 -1
  83. package/bundle/obf/src/commands/get/_index.js +1 -1
  84. package/bundle/obf/src/commands/get/get.command.js +1 -1
  85. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/help.js +1 -1
  89. package/bundle/obf/src/commands/install.js +1 -1
  90. package/bundle/obf/src/commands/jsdoc.js +1 -1
  91. package/bundle/obf/src/commands/lint.js +1 -1
  92. package/bundle/obf/src/commands/login.js +1 -1
  93. package/bundle/obf/src/commands/logout.js +1 -1
  94. package/bundle/obf/src/commands/logs.js +1 -1
  95. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  96. package/bundle/obf/src/commands/murder.js +1 -1
  97. package/bundle/obf/src/commands/proxy.js +1 -1
  98. package/bundle/obf/src/commands/reconfig.js +1 -1
  99. package/bundle/obf/src/commands/run/_index.js +1 -1
  100. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/run/run.command.js +1 -1
  102. package/bundle/obf/src/commands/set/_index.js +1 -1
  103. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  104. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  105. package/bundle/obf/src/commands/set/set.command.js +1 -1
  106. package/bundle/obf/src/commands/ssh.js +1 -1
  107. package/bundle/obf/src/commands/ssl.js +1 -1
  108. package/bundle/obf/src/commands/test.js +1 -1
  109. package/bundle/obf/src/commands/version.js +1 -1
  110. package/bundle/obf/src/error.js +1 -1
  111. package/bundle/obf/src/exec.js +1 -1
  112. package/bundle/obf/src/generator.js +1 -1
  113. package/bundle/obf/src/generators/_index.js +1 -1
  114. package/bundle/obf/src/generators/api.js +1 -1
  115. package/bundle/obf/src/generators/collection.js +1 -1
  116. package/bundle/obf/src/generators/component.js +1 -1
  117. package/bundle/obf/src/generators/config.js +1 -1
  118. package/bundle/obf/src/generators/dbc.js +1 -1
  119. package/bundle/obf/src/generators/dockerfile.js +1 -1
  120. package/bundle/obf/src/generators/hook.js +1 -1
  121. package/bundle/obf/src/generators/kits/_index.js +1 -1
  122. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/kit.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  129. package/bundle/obf/src/generators/layout.js +1 -1
  130. package/bundle/obf/src/generators/maka.gen.js +1 -1
  131. package/bundle/obf/src/generators/methods.js +1 -1
  132. package/bundle/obf/src/generators/package.js +1 -1
  133. package/bundle/obf/src/generators/page.js +1 -1
  134. package/bundle/obf/src/generators/publish.js +1 -1
  135. package/bundle/obf/src/generators/route.js +1 -1
  136. package/bundle/obf/src/generators/service.js +1 -1
  137. package/bundle/obf/src/generators/services/_index.js +1 -1
  138. package/bundle/obf/src/generators/services/openssl.js +1 -1
  139. package/bundle/obf/src/generators/services/translation.js +1 -1
  140. package/bundle/obf/src/maka.js +1 -1
  141. package/bundle/obf/src/templates/meteor/api/api.js +11 -11
  142. package/bundle/obf/src/templates/meteor/api/api.js.ts +11 -11
  143. package/bundle/obf/src/templates/meteor/api/collection.js +86 -86
  144. package/bundle/obf/src/templates/meteor/api/collection.js.ts +94 -94
  145. package/bundle/obf/src/templates/meteor/api/fixtures.js +23 -23
  146. package/bundle/obf/src/templates/meteor/api/fixtures.js.ts +23 -23
  147. package/bundle/obf/src/templates/meteor/api/methods.js +136 -136
  148. package/bundle/obf/src/templates/meteor/api/methods.js.ts +137 -137
  149. package/bundle/obf/src/templates/meteor/api/publications.js +31 -31
  150. package/bundle/obf/src/templates/meteor/api/publications.js.ts +31 -31
  151. package/bundle/obf/src/templates/meteor/api/register-api.js +15 -15
  152. package/bundle/obf/src/templates/meteor/api/register-api.js.ts +15 -15
  153. package/bundle/obf/src/templates/meteor/api/resolvers.js +9 -9
  154. package/bundle/obf/src/templates/meteor/api/resolvers.js.ts +9 -9
  155. package/bundle/obf/src/templates/meteor/api/tests.js +1 -1
  156. package/bundle/obf/src/templates/meteor/api/tests.js.ts +1 -1
  157. package/bundle/obf/src/templates/meteor/api/typeDefs.js +5 -5
  158. package/bundle/obf/src/templates/meteor/api/typeDefs.js.ts +5 -5
  159. package/bundle/obf/src/templates/meteor/app/client/body.html +3 -3
  160. package/bundle/obf/src/templates/meteor/app/client/head.html +15 -15
  161. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js +9 -9
  162. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.jsx +9 -9
  163. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.ts +9 -9
  164. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.tsx +9 -9
  165. package/bundle/obf/src/templates/meteor/app/client/main.js +13 -13
  166. package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +13 -13
  167. package/bundle/obf/src/templates/meteor/app/client/main.js.ts +13 -13
  168. package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +13 -13
  169. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js +20 -20
  170. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +117 -117
  171. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.ts +20 -20
  172. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +118 -118
  173. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js +39 -39
  174. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +48 -48
  175. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.ts +24 -24
  176. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +48 -48
  177. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js +9 -9
  178. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.jsx +9 -9
  179. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.ts +9 -9
  180. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.tsx +9 -9
  181. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js +1 -1
  182. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +21 -21
  183. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.ts +1 -1
  184. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +21 -21
  185. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +48 -48
  186. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +48 -48
  187. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js +1 -1
  188. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +152 -152
  189. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +152 -152
  190. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js +24 -24
  191. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js.ts +24 -24
  192. package/bundle/obf/src/templates/meteor/app/lib/main.js +1 -1
  193. package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +1 -1
  194. package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +1 -1
  195. package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +1 -1
  196. package/bundle/obf/src/templates/meteor/app/maka.d.ts +160 -160
  197. package/bundle/obf/src/templates/meteor/app/meteor.d.ts +955 -955
  198. package/bundle/obf/src/templates/meteor/app/public/manifest.json +27 -27
  199. package/bundle/obf/src/templates/meteor/app/public/sw.js +30 -30
  200. package/bundle/obf/src/templates/meteor/app/public/sw.js.jsx +30 -30
  201. package/bundle/obf/src/templates/meteor/app/public/sw.js.ts +30 -30
  202. package/bundle/obf/src/templates/meteor/app/public/sw.js.tsx +30 -30
  203. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +179 -179
  204. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +179 -179
  205. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +179 -179
  206. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +179 -179
  207. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js +9 -9
  208. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.jsx +9 -9
  209. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.ts +9 -9
  210. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.tsx +9 -9
  211. package/bundle/obf/src/templates/meteor/app/server/main.js +11 -11
  212. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +11 -11
  213. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +11 -11
  214. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +11 -11
  215. package/bundle/obf/src/templates/meteor/app/tsconfig.json +40 -40
  216. package/bundle/obf/src/templates/meteor/collection/collection.js +85 -85
  217. package/bundle/obf/src/templates/meteor/collection/collection.js.ts +97 -97
  218. package/bundle/obf/src/templates/meteor/collection/tests.js +27 -27
  219. package/bundle/obf/src/templates/meteor/collection/tests.js.ts +27 -27
  220. package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +17 -17
  221. package/bundle/obf/src/templates/meteor/config/pm2.config.js +25 -25
  222. package/bundle/obf/src/templates/meteor/config/process.env +5 -5
  223. package/bundle/obf/src/templates/meteor/config/settings.json +11 -11
  224. package/bundle/obf/src/templates/meteor/config/ssh.json +6 -6
  225. package/bundle/obf/src/templates/meteor/dbc/config.js +70 -70
  226. package/bundle/obf/src/templates/meteor/dbc/config.js.ts +70 -70
  227. package/bundle/obf/src/templates/meteor/dbc/conn.js +37 -37
  228. package/bundle/obf/src/templates/meteor/dbc/conn.js.ts +37 -37
  229. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js +3 -3
  230. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js.ts +3 -3
  231. package/bundle/obf/src/templates/meteor/method/method.js +48 -48
  232. package/bundle/obf/src/templates/meteor/method/method.js.ts +48 -48
  233. package/bundle/obf/src/templates/meteor/package/package.js +37 -37
  234. package/bundle/obf/src/templates/meteor/package/package.js.jsx +37 -37
  235. package/bundle/obf/src/templates/meteor/package/package.js.ts +36 -36
  236. package/bundle/obf/src/templates/meteor/package/package.js.tsx +37 -37
  237. package/bundle/obf/src/templates/meteor/package/tests/client/package.js +5 -5
  238. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.jsx +5 -5
  239. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.ts +5 -5
  240. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.tsx +5 -5
  241. package/bundle/obf/src/templates/meteor/package/tests/server/package.js +5 -5
  242. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.jsx +5 -5
  243. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.ts +5 -5
  244. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.tsx +5 -5
  245. package/bundle/obf/src/templates/meteor/project/.maka/config.json +29 -29
  246. package/bundle/obf/src/templates/meteor/project/README.md +1 -1
  247. package/bundle/obf/src/templates/meteor/project/build/README +4 -4
  248. package/bundle/obf/src/templates/meteor/project/gitignore +7 -7
  249. package/bundle/obf/src/templates/meteor/project/package.json +20 -20
  250. package/bundle/obf/src/templates/meteor/publish/publish.js +3 -3
  251. package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +3 -3
  252. package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +3 -3
  253. package/bundle/obf/src/templates/meteor/publish/publish.ts +3 -3
  254. package/bundle/obf/src/templates/meteor/service/logger/logger.js +27 -27
  255. package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +27 -27
  256. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css +5 -5
  257. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css.less +5 -5
  258. package/bundle/obf/src/templates/meteor/template/template-tests.js +1 -1
  259. package/bundle/obf/src/templates/meteor/template/template-tests.js.jsx +55 -55
  260. package/bundle/obf/src/templates/meteor/template/template-tests.js.ts +1 -1
  261. package/bundle/obf/src/templates/meteor/template/template-tests.js.tsx +55 -55
  262. package/bundle/obf/src/templates/meteor/template/template.css +3 -3
  263. package/bundle/obf/src/templates/meteor/template/template.css.less +3 -3
  264. package/bundle/obf/src/templates/meteor/template/template.css.scss +3 -3
  265. package/bundle/obf/src/templates/meteor/template/template.html +5 -5
  266. package/bundle/obf/src/templates/meteor/template/template.js +20 -20
  267. package/bundle/obf/src/templates/meteor/template/template.js.jsx +77 -77
  268. package/bundle/obf/src/templates/meteor/template/template.js.ts +1 -1
  269. package/bundle/obf/src/templates/meteor/template/template.js.tsx +89 -89
  270. package/bundle/obf/src/templates/react/component/component.css +6 -6
  271. package/bundle/obf/src/templates/react/component/component.css.less +6 -6
  272. package/bundle/obf/src/templates/react/component/component.css.scss +3 -3
  273. package/bundle/obf/src/templates/react/component/component.js.jsx +63 -63
  274. package/bundle/obf/src/templates/react/component/component.js.tsx +68 -68
  275. package/bundle/obf/src/templates/react/hook/hook.css +3 -3
  276. package/bundle/obf/src/templates/react/hook/hook.css.scss +3 -3
  277. package/bundle/obf/src/templates/react/hook/hook.js +1 -1
  278. package/bundle/obf/src/templates/react/hook/hook.js.jsx +24 -24
  279. package/bundle/obf/src/templates/react/hook/hook.js.tsx +23 -23
  280. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +27 -27
  281. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +29 -29
  282. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +41 -41
  283. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +40 -40
  284. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -118
  285. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -116
  286. package/bundle/obf/src/templates/react/route/route.js +8 -8
  287. package/bundle/obf/src/templates/react/route/route.js.jsx +8 -8
  288. package/bundle/obf/src/templates/react/route/route.js.ts +8 -8
  289. package/bundle/obf/src/templates/react/route/route.js.tsx +8 -8
  290. package/bundle/obf/src/templates/react/test/test.js +1 -1
  291. package/bundle/obf/src/templates/react/test/test.js.jsx +41 -41
  292. package/bundle/obf/src/templates/react/test/test.js.ts +1 -1
  293. package/bundle/obf/src/templates/react/test/test.js.tsx +41 -41
  294. package/bundle/obf/src/templates/service/docker/Dockerfile +54 -54
  295. package/bundle/obf/src/templates/service/eslint/eslintrc.json +33 -33
  296. package/bundle/obf/src/templates/service/i18n/i18n.js +33 -33
  297. package/bundle/obf/src/templates/service/i18n/i18n.js.ts +33 -33
  298. package/bundle/obf/src/templates/service/i18n/locales.js +3 -3
  299. package/bundle/obf/src/templates/service/i18n/locales.js.ts +3 -3
  300. package/bundle/obf/src/templates/service/openssl/openssl.conf +22 -22
  301. package/bundle/obf/src/tool.js +1 -1
  302. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  303. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  304. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  305. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  306. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  307. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  308. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  309. package/bundle/obf/src/tools/https/https.class.js +1 -1
  310. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  311. package/bundle/obf/src/tools/log/log.class.js +1 -1
  312. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  313. package/bundle/obf/src/tools/options/options.class.js +1 -1
  314. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  315. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  316. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  317. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  318. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  319. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  320. package/jest.config.js +11 -11
  321. package/obfuscator.json +29 -29
  322. package/package.json +127 -127
  323. package/tsconfig.json +23 -23
@@ -1 +1 @@
1
- const a62G=a62d;(function(a,b){const y=a62d,c=a();while(!![]){try{const d=-parseInt(y(0x134))/0x1*(-parseInt(y(0x137))/0x2)+parseInt(y(0x138))/0x3*(-parseInt(y(0x165))/0x4)+parseInt(y(0x186))/0x5+parseInt(y(0x17c))/0x6*(parseInt(y(0x16b))/0x7)+parseInt(y(0x16a))/0x8*(parseInt(y(0x157))/0x9)+parseInt(y(0x169))/0xa*(parseInt(y(0x154))/0xb)+-parseInt(y(0x168))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0x9246c));import a62e from'blessed';function a62c(){const H=['Feet:\x20','handleInput','escape','arms','slice','None','currentLocation','gloves','size','cyan','20%','rightHand','Left\x20Hand:\x20','box','legs','screen','getWelcomeMessage','leftHand','7607919bJaldL','75%','Head:\x20','9UeskJO','log','logFilePath','forEach','argv','player','checkIfLocked','search','----->>>>>>\x20Initializing\x20Game','name','feet','take','unlock','head','4RaISJi','Your\x20items\x20will\x20be\x20listed\x20here...','25%','17975748yJhEHp','10fTRrzS','1748576rmNpHc','9149nNwwBz','parse','lock','Available\x20exits\x20will\x20be\x20shown\x20here...','\x20Game\x20Log\x20','torso','constructor','getAllItems','textbox','Legs:\x20','\x0aThere\x20are\x20no\x20exits\x20here.','equipment','checkIfLockable','focus','Right\x20Hand:\x20','setContent','getOtherSide','1812lnTsaR','render','exits','C-c','Side\x20Quest\x20Adventure\x20Game','70%','exit','removeAllListeners','inventory','yellow','2144480DbMOtG','scroll','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','logBox','toString','clear','getInstance','pushLine','\x20Equipment\x20','roomType','append','\x20(Locked)','\x20(Unlocked)','9czwkGL','split','line','143230qjtQwv','843657TQxMGm','45%','Thanks\x20for\x20playing!','enter','mousemove','Arms:\x20','Torso:\x20','Gloves:\x20','Currently\x20in:\x20','write'];a62c=function(){return H;};return a62c();}import{capitalCase}from'change-case';import a62f from'./game.js';import{RoomType}from'./types/enums.js';import{Player}from'./models/player.js';function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0x12f;let f=c[d];return f;},a62d(a,b);}import{Door}from'./models/door.js';import{Logger}from'./utilities/logger.js';export async function main(c,d,e){const A=a62d,f=(function(){let h=!![];return function(i,j){const k=h?function(){if(j){const l=j['apply'](i,arguments);return j=null,l;}}:function(){};return h=![],k;};}()),g=f(this,function(){const z=a62d;return g['toString']()[z(0x15e)]('(((.+)+)+)+$')[z(0x18a)]()[z(0x171)](g)[z(0x15e)]('(((.+)+)+)+$');});g();try{const h=a62e[A(0x151)]({'smartCSR':!![],'title':A(0x180)}),i=a62e[A(0x14f)]({'top':'0%','left':A(0x155),'width':A(0x167),'height':'45%','border':{'type':A(0x136)},'label':'\x20Inventory\x20','content':A(0x166),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x185)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),j=t=>{const B=A,u=t[B(0x172)]()['map'](v=>v[B(0x160)]);i['setContent'](u['join']('\x0a')),h[B(0x17d)]();};h[A(0x131)](i);const k=a62e[A(0x14f)]({'top':A(0x139),'left':'75%','width':'25%','height':A(0x167),'border':{'type':A(0x136)},'label':A(0x12f),'content':A(0x188),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x185)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h[A(0x131)](k);const l=t=>{const C=A;k[C(0x17a)](C(0x156)+(t[C(0x164)]?t[C(0x164)]['name']:C(0x147))+'\x0a'+(C(0x13e)+(t[C(0x170)]?t[C(0x170)][C(0x160)]:C(0x147))+'\x0a')+(C(0x174)+(t[C(0x150)]?t[C(0x150)]['name']:'None')+'\x0a')+(C(0x142)+(t[C(0x161)]?t[C(0x161)][C(0x160)]:C(0x147))+'\x0a')+(C(0x13d)+(t[C(0x145)]?t[C(0x145)][C(0x160)]:C(0x147))+'\x0a')+(C(0x13f)+(t[C(0x149)]?t[C(0x149)][C(0x160)]:'None')+'\x0a')+(C(0x14e)+(t[C(0x153)]?t[C(0x153)]['name']:'None')+'\x0a')+(C(0x179)+(t[C(0x14d)]?t[C(0x14d)][C(0x160)]:C(0x147))+'\x0a')),h[C(0x17d)]();},m=a62e[A(0x14f)]({'top':A(0x181),'left':A(0x155),'width':A(0x167),'height':A(0x14c),'border':{'type':A(0x136)},'label':'\x20Map\x20','content':A(0x16e),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x185)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h[A(0x131)](m);const n=t=>{const D=A;let u=D(0x140)+t['name']+'\x0a\x0a';u+='-----\x20Exits\x20------\x0a',t[D(0x17e)][D(0x14a)]>0x0?t['exits'][D(0x15a)]((v,w)=>{const E=D;if(v instanceof Door){const x=v[E(0x17b)](t);x[E(0x130)]===RoomType['OUTSIDE']?u+=capitalCase(w)+':\x20'+x['name']:u+=capitalCase(w)+':\x20'+v[E(0x160)];if(v[E(0x15d)]())u+=E(0x132);else v[E(0x177)]()&&(u+=E(0x133));u+='\x0a';}else u+=capitalCase(w)+'\x0a';}):u+=D(0x175),m[D(0x17a)](u),h[D(0x17d)]();},o=a62e[A(0x14f)]({'id':A(0x189),'top':'0%','left':'0%','width':A(0x155),'height':'90%','border':{'type':A(0x136)},'label':A(0x16f),'scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x185)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});o[A(0x183)](A(0x13c)),h['append'](o);const p=a62e[A(0x173)]({'bottom':0x0,'left':0x0,'width':'100%','height':'10%','tags':!![],'border':{'type':A(0x136)},'style':{'fg':'white','border':{'fg':A(0x14b)}},'keys':!![],'mouse':!![],'inputOnFocus':!![],'vi':!![]});h[A(0x131)](p),h['key']([A(0x144),A(0x17f)],()=>process['exit'](0x0)),p[A(0x178)](),h['render']();const q=Logger[A(0x18c)](e[A(0x159)],h),r=new Player({'playerName':c});q[A(0x141)](A(0x15f));const s=a62f[A(0x18c)](r,d);o[A(0x17a)](s[A(0x152)]()),l(s[A(0x15c)]['equipment']),j(s[A(0x15c)][A(0x184)]),n(s['player'][A(0x148)]),p['key']([A(0x13b)],async()=>{const F=A,t=p['getValue'](),u=s[F(0x143)](t);(t[F(0x135)]('\x20')[0x0]===F(0x162)||'equip'||'unequip')&&(j(s['player'][F(0x184)]),l(s['player'][F(0x176)])),(t[F(0x135)]('\x20')[0x0]==='go'||F(0x16d)||F(0x163))&&n(s[F(0x15c)][F(0x148)]),t[F(0x135)]('\x20')[0x0]===F(0x18b)&&o[F(0x17a)](''),u===null&&(console['log'](F(0x13a)),h[F(0x17d)](),q[F(0x141)]('<<<<<<<<---------\x20Terminating\x20game'),process[F(0x182)](0x0)),o[F(0x18d)](u),o[F(0x187)](0x1),p['clearValue'](),p[F(0x178)](),h[F(0x17d)]();});}catch(t){console[A(0x158)](t),process['exit'](0x1);}}const args=process[a62G(0x15b)][a62G(0x146)](0x2);main(args[0x0],JSON[a62G(0x16c)](args[0x1]),JSON[a62G(0x16c)](args[0x2]));
1
+ const a60G=a60d;(function(a,b){const y=a60d,c=a();while(!![]){try{const d=-parseInt(y(0xaa))/0x1*(-parseInt(y(0xa9))/0x2)+parseInt(y(0xc5))/0x3*(parseInt(y(0xef))/0x4)+parseInt(y(0xdb))/0x5+-parseInt(y(0xb8))/0x6*(-parseInt(y(0xf6))/0x7)+parseInt(y(0xe9))/0x8*(parseInt(y(0xde))/0x9)+parseInt(y(0xd5))/0xa*(parseInt(y(0xac))/0xb)+-parseInt(y(0xb1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0xbf2cf));import a60e from'blessed';import{capitalCase}from'change-case';import a60f from'./game.js';import{RoomType}from'./types/enums.js';import{Player}from'./models/player.js';import{Door}from'./models/door.js';import{Logger}from'./utilities/logger.js';export async function main(c,d,e){const A=a60d,f=(function(){let h=!![];return function(i,j){const k=h?function(){if(j){const l=j['apply'](i,arguments);return j=null,l;}}:function(){};return h=![],k;};}()),g=f(this,function(){const z=a60d;return g['toString']()[z(0xe5)]('(((.+)+)+)+$')[z(0xbe)]()[z(0xc2)](g)[z(0xe5)](z(0xd4));});g();try{const h=a60e[A(0xae)]({'smartCSR':!![],'title':A(0xf4)}),i=a60e[A(0xf2)]({'top':'0%','left':A(0xfd),'width':A(0xb6),'height':'45%','border':{'type':'line'},'label':A(0xa4),'content':A(0xa6),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0xd2)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),j=t=>{const B=A,u=t[B(0xe2)]()[B(0xec)](v=>v[B(0xe6)]);i['setContent'](u['join']('\x0a')),h[B(0xb2)]();};h[A(0xe0)](i);const k=a60e['box']({'top':A(0xd1),'left':A(0xfd),'width':'25%','height':A(0xb6),'border':{'type':'line'},'label':'\x20Equipment\x20','content':A(0xc4),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0xd2)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h['append'](k);const l=t=>{const C=A;k['setContent'](C(0xf1)+(t[C(0xd7)]?t['head'][C(0xe6)]:'None')+'\x0a'+(C(0xee)+(t['torso']?t[C(0xdf)][C(0xe6)]:'None')+'\x0a')+(C(0xf7)+(t['legs']?t[C(0xed)][C(0xe6)]:C(0xb0))+'\x0a')+(C(0xe1)+(t[C(0xb4)]?t[C(0xb4)][C(0xe6)]:'None')+'\x0a')+(C(0xe7)+(t[C(0xea)]?t[C(0xea)][C(0xe6)]:C(0xb0))+'\x0a')+('Gloves:\x20'+(t[C(0xbb)]?t[C(0xbb)][C(0xe6)]:'None')+'\x0a')+(C(0xad)+(t[C(0xa5)]?t['leftHand']['name']:'None')+'\x0a')+(C(0xb7)+(t[C(0xdc)]?t[C(0xdc)]['name']:C(0xb0))+'\x0a')),h[C(0xb2)]();},m=a60e['box']({'top':'70%','left':'75%','width':A(0xb6),'height':A(0xcf),'border':{'type':A(0xbc)},'label':A(0xf8),'content':A(0xe4),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':'yellow'},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h[A(0xe0)](m);const n=t=>{const D=A;let u='Currently\x20in:\x20'+t[D(0xe6)]+'\x0a\x0a';u+=D(0xb5),t['exits'][D(0xd8)]>0x0?t['exits'][D(0xcc)]((v,w)=>{const E=D;if(v instanceof Door){const x=v[E(0xa7)](t);x[E(0xc0)]===RoomType['OUTSIDE']?u+=capitalCase(w)+':\x20'+x[E(0xe6)]:u+=capitalCase(w)+':\x20'+v[E(0xe6)];if(v['checkIfLocked']())u+=E(0xca);else v[E(0xfe)]()&&(u+='\x20(Unlocked)');u+='\x0a';}else u+=capitalCase(w)+'\x0a';}):u+=D(0xd6),m[D(0xff)](u),h[D(0xb2)]();},o=a60e[A(0xf2)]({'id':'logBox','top':'0%','left':'0%','width':A(0xfd),'height':A(0xfc),'border':{'type':'line'},'label':A(0x100),'scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0xd2)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});o[A(0xbd)]('mousemove'),h['append'](o);const p=a60e[A(0xc1)]({'bottom':0x0,'left':0x0,'width':A(0xdd),'height':A(0xc3),'tags':!![],'border':{'type':A(0xbc)},'style':{'fg':A(0xf9),'border':{'fg':A(0xfb)}},'keys':!![],'mouse':!![],'inputOnFocus':!![],'vi':!![]});h[A(0xe0)](p),h[A(0xb3)](['escape',A(0xc6)],()=>process[A(0xcd)](0x0)),p[A(0xb9)](),h[A(0xb2)]();const q=Logger[A(0xab)](e[A(0xfa)],h),r=new Player({'playerName':c});q[A(0x101)]('----->>>>>>\x20Initializing\x20Game');const s=a60f[A(0xab)](r,d);o[A(0xff)](s[A(0xd3)]()),l(s[A(0xeb)][A(0xcb)]),j(s[A(0xeb)][A(0xd0)]),n(s['player']['currentLocation']),p[A(0xb3)]([A(0xce)],async()=>{const F=A,t=p[F(0xd9)](),u=s[F(0xe8)](t);(t[F(0xba)]('\x20')[0x0]==='take'||F(0xf3)||F(0xf5))&&(j(s[F(0xeb)][F(0xd0)]),l(s[F(0xeb)][F(0xcb)])),(t[F(0xba)]('\x20')[0x0]==='go'||'lock'||'unlock')&&n(s['player'][F(0xc9)]),t[F(0xba)]('\x20')[0x0]==='clear'&&o[F(0xff)](''),u===null&&(console[F(0xaf)](F(0xc7)),h[F(0xb2)](),q['write'](F(0xc8)),process[F(0xcd)](0x0)),o[F(0xa8)](u),o[F(0xe3)](0x1),p[F(0xf0)](),p[F(0xb9)](),h[F(0xb2)]();});}catch(t){console[A(0xaf)](t),process[A(0xcd)](0x1);}}const args=process['argv'][a60G(0xbf)](0x2);function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0xa4;let f=c[d];return f;},a60d(a,b);}main(args[0x0],JSON[a60G(0xda)](args[0x1]),JSON[a60G(0xda)](args[0x2]));function a60c(){const H=['C-c','Thanks\x20for\x20playing!','<<<<<<<<---------\x20Terminating\x20game','currentLocation','\x20(Locked)','equipment','forEach','exit','enter','20%','inventory','45%','yellow','getWelcomeMessage','(((.+)+)+)+$','232210OgxdYN','\x0aThere\x20are\x20no\x20exits\x20here.','head','size','getValue','parse','1129090mDUrll','rightHand','100%','243odUIxK','torso','append','Feet:\x20','getAllItems','scroll','Available\x20exits\x20will\x20be\x20shown\x20here...','search','name','Arms:\x20','handleInput','375504BIfXKJ','arms','player','map','legs','Torso:\x20','36VMNLbm','clearValue','Head:\x20','box','equip','Side\x20Quest\x20Adventure\x20Game','unequip','9289329LWmdNn','Legs:\x20','\x20Map\x20','white','logFilePath','cyan','90%','75%','checkIfLockable','setContent','\x20Game\x20Log\x20','write','\x20Inventory\x20','leftHand','Your\x20items\x20will\x20be\x20listed\x20here...','getOtherSide','pushLine','17186jsMZFT','113FdevNi','getInstance','22pTxBmM','Left\x20Hand:\x20','screen','log','None','48304572IgbbZE','render','key','feet','-----\x20Exits\x20------\x0a','25%','Right\x20Hand:\x20','6aXeqZu','focus','split','gloves','line','removeAllListeners','toString','slice','roomType','textbox','constructor','10%','Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','323598JEifir'];a60c=function(){return H;};return a60c();}
@@ -1 +1 @@
1
- const a63j=a63d;function a63d(a,b){const c=a63c();return a63d=function(d,e){d=d-0x178;let f=c[d];return f;},a63d(a,b);}(function(a,b){const h=a63d,c=a();while(!![]){try{const d=-parseInt(h(0x17e))/0x1*(-parseInt(h(0x183))/0x2)+parseInt(h(0x196))/0x3+-parseInt(h(0x190))/0x4+parseInt(h(0x191))/0x5+parseInt(h(0x197))/0x6+parseInt(h(0x185))/0x7+-parseInt(h(0x17b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x1b538));const a63b=(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;};}()),a63a=a63b(this,function(){const i=a63d;return a63a['toString']()[i(0x192)](i(0x18a))[i(0x18d)]()['constructor'](a63a)[i(0x192)](i(0x18a));});a63a();function a63c(){const r=['write','log','scrollTo','4362sPonyP','[INFO]\x20[','259595VysuCt','getScrollHeight','writeFileSync','filePath','setContent','(((.+)+)+)+$','mkdirSync','existsSync','toString','type','toISOString','228588xSxiGp','882230iiXOgc','search','.maka','screen','instance','443697VRMscb','308100xbBItB','appendFileSync','getInstance','error','homedir','options','2036880qBcCkb','[ERROR]\x20[','children','5LvbxEa','box'];a63c=function(){return r;};return a63c();}import a63e from'fs';import a63f from'os';import a63g from'path';const homeDir=a63f[a63j(0x179)]();export class Logger{static [a63j(0x195)];[a63j(0x188)];[a63j(0x194)];constructor(a,b){const k=a63j;this[k(0x188)]=a,this[k(0x194)]=b,this['ensureLogFileExists']();}static[a63j(0x199)](a=a63g['join'](homeDir,a63j(0x193),'side-quest.log'),b){const l=a63j;if(!Logger[l(0x195)]){if(!b)throw new Error('Screen\x20must\x20be\x20provided\x20when\x20initializing\x20the\x20Logger\x20for\x20the\x20first\x20time.');Logger[l(0x195)]=new Logger(a,b);}return Logger[l(0x195)];}['ensureLogFileExists'](){const m=a63j,a=a63g['dirname'](this[m(0x188)]);!a63e[m(0x18c)](a)&&a63e[m(0x18b)](a,{'recursive':!![]}),!a63e[m(0x18c)](this[m(0x188)])&&a63e[m(0x187)](this[m(0x188)],'');}[a63j(0x180)](a){const n=a63j,b=new Date()['toISOString'](),c=n(0x184)+b+']\x20'+a+'\x0a';a63e[n(0x198)](this[n(0x188)],c);}[a63j(0x178)](a){const o=a63j,b=new Date()[o(0x18f)](),c=o(0x17c)+b+']\x20'+a+'\x0a';a63e[o(0x198)](this[o(0x188)],c);}[a63j(0x181)](a){const p=a63j,b=this['screen']?.[p(0x17d)]['find'](c=>c[p(0x18e)]===p(0x17f)&&c[p(0x17a)]['id']==='logBox');b?(b[p(0x189)](b['content']+'\x0a'+a),b[p(0x182)](b[p(0x186)]()),this[p(0x194)]?.['render']()):this[p(0x178)]('The\x20logbox\x20'+b+'\x20could\x20not\x20be\x20found\x20on\x20screen\x20'+this[p(0x194)]),this[p(0x180)](a);}['hasScreen'](){const q=a63j;return!!this[q(0x194)];}}
1
+ const a61j=a61d;(function(a,b){const h=a61d,c=a();while(!![]){try{const d=parseInt(h(0x138))/0x1*(parseInt(h(0x131))/0x2)+-parseInt(h(0x133))/0x3+-parseInt(h(0x135))/0x4+-parseInt(h(0x139))/0x5+parseInt(h(0x11a))/0x6+parseInt(h(0x124))/0x7+parseInt(h(0x12b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0xb7f65));const a61b=(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;};}()),a61a=a61b(this,function(){const i=a61d;return a61a[i(0x118)]()[i(0x12e)](i(0x11c))[i(0x118)]()[i(0x11e)](a61a)[i(0x12e)](i(0x11c));});a61a();import a61e from'fs';function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0x112;let f=c[d];return f;},a61d(a,b);}import a61f from'os';import a61g from'path';function a61c(){const r=['writeFileSync','existsSync','433019BGiOHR','5766340XxyZYE','screen','options','log','instance','find','.maka','toString','hasScreen','4430160DddIDq','[INFO]\x20[','(((.+)+)+)+$','write','constructor','scrollTo','filePath','appendFileSync','error','dirname','93387PREkwz','The\x20logbox\x20','toISOString','\x20could\x20not\x20be\x20found\x20on\x20screen\x20','[ERROR]\x20[','side-quest.log','getScrollHeight','11738584ULobXC','logBox','getInstance','search','children','setContent','4iUfhaO','ensureLogFileExists','1297584FQqAik','Screen\x20must\x20be\x20provided\x20when\x20initializing\x20the\x20Logger\x20for\x20the\x20first\x20time.','2983028DSfjYG'];a61c=function(){return r;};return a61c();}const homeDir=a61f['homedir']();export class Logger{static [a61j(0x115)];[a61j(0x120)];[a61j(0x112)];constructor(a,b){const k=a61j;this[k(0x120)]=a,this[k(0x112)]=b,this[k(0x132)]();}static[a61j(0x12d)](a=a61g['join'](homeDir,a61j(0x117),a61j(0x129)),b){const l=a61j;if(!Logger[l(0x115)]){if(!b)throw new Error(l(0x134));Logger[l(0x115)]=new Logger(a,b);}return Logger[l(0x115)];}[a61j(0x132)](){const m=a61j,a=a61g[m(0x123)](this[m(0x120)]);!a61e[m(0x137)](a)&&a61e['mkdirSync'](a,{'recursive':!![]}),!a61e['existsSync'](this[m(0x120)])&&a61e[m(0x136)](this[m(0x120)],'');}[a61j(0x11d)](a){const n=a61j,b=new Date()[n(0x126)](),c=n(0x11b)+b+']\x20'+a+'\x0a';a61e[n(0x121)](this['filePath'],c);}[a61j(0x122)](a){const o=a61j,b=new Date()['toISOString'](),c=o(0x128)+b+']\x20'+a+'\x0a';a61e['appendFileSync'](this[o(0x120)],c);}[a61j(0x114)](a){const p=a61j,b=this[p(0x112)]?.[p(0x12f)][p(0x116)](c=>c['type']==='box'&&c[p(0x113)]['id']===p(0x12c));b?(b[p(0x130)](b['content']+'\x0a'+a),b[p(0x11f)](b[p(0x12a)]()),this[p(0x112)]?.['render']()):this['error'](p(0x125)+b+p(0x127)+this[p(0x112)]),this['write'](a);}[a61j(0x119)](){const q=a61j;return!!this[q(0x112)];}}
@@ -1 +1 @@
1
- const a64n=a64d;(function(a,b){const k=a64d,c=a();while(!![]){try{const d=-parseInt(k(0x192))/0x1+-parseInt(k(0x198))/0x2+-parseInt(k(0x196))/0x3+-parseInt(k(0x18e))/0x4*(parseInt(k(0x185))/0x5)+parseInt(k(0x19e))/0x6*(parseInt(k(0x19a))/0x7)+parseInt(k(0x197))/0x8+parseInt(k(0x195))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x2cb1e));function a64c(){const q=['67966vwLFzE','create','fsi','3969441YdJiND','902829GizpUx','1271920VcLoCG','196240GkvVnl','dungeon','49WJnilu','constructor','url','player','234198VxPeZY','resolve','Commoner','What\x20is\x20your\x20name?','side-quest','toString','search','options','apply','85835ohSulr','Thanks\x20for\x20playing!','Just\x20a\x20little\x20pet\x20project...\x20I\x20really\x20liked\x20the\x20Dunnet\x20game\x20that\x0a\x20\x20came\x20with\x20MacOS\x20but\x20has\x20been\x20removed.\x20\x20Just\x20messing\x20around\x20and\x20building\x0a\x20\x20out\x20a\x20similar\x20thing...','sideQuestAnswer','log','Play\x20a\x20little\x20side-quest','exit','shadowrun','getGlobalMakaDir','52uYWmqA','maka\x20play:side-quest','inherit','stringify'];a64c=function(){return q;};return a64c();}const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a64d;if(c){const e=c[l(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const m=a64d;return a64a[m(0x1a3)]()['search']('(((.+)+)+)+$')['toString']()[m(0x19b)](a64a)[m(0x182)]('(((.+)+)+)+$');});a64a();import a64e from'path';import{spawn}from'child_process';import a64f from'./play.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0x182;let f=c[d];return f;},a64d(a,b);}import{dungeonConfig,shadowrunConfig}from'./sideQuest/scenes/rooms.js';import{fileURLToPath}from'url';import{dirname}from'path';const __filename=fileURLToPath(import.meta[a64n(0x19c)]),__dirname=dirname(__filename);Command[a64n(0x193)]({'name':a64n(0x1a2),'usage':a64n(0x18f),'shortDesc':a64n(0x18a),'aliases':['sq'],'description':a64n(0x187),'validOpts':['player']},async function(a,b){const o=a64n;try{const c=this[o(0x194)][o(0x18d)](),d=a64e['join'](c,'side-quest.log'),e=b[o(0x19d)]?b['player']:await Actions['ask'](o(0x1a1))||o(0x1a0),f={...b,'logFilePath':d},g={'type':'list','name':o(0x188),'message':'Which\x20Side-Quest\x20would\x20you\x20like\x20to\x20play?','choices':[{'name':o(0x199),'value':dungeonConfig},{'name':o(0x18c),'value':shadowrunConfig}]},{sideQuestAnswer:h}=await Actions[o(0x183)](g);if(e&&h){const i=spawn('node',[a64e[o(0x19f)](__dirname,'./sideQuest/ui.js'),e,JSON[o(0x191)](h),JSON['stringify'](f)],{'stdio':o(0x190)});i['on'](o(0x18b),()=>{const p=o;console[p(0x189)](p(0x186));});}}catch(j){console[o(0x189)](j);}},a64f);
1
+ const a62n=a62d;(function(a,b){const k=a62d,c=a();while(!![]){try{const d=parseInt(k(0x1c9))/0x1+-parseInt(k(0x1bf))/0x2*(parseInt(k(0x1c2))/0x3)+-parseInt(k(0x1af))/0x4+-parseInt(k(0x1c7))/0x5*(parseInt(k(0x1c6))/0x6)+parseInt(k(0x1c4))/0x7*(-parseInt(k(0x1b8))/0x8)+-parseInt(k(0x1d0))/0x9+parseInt(k(0x1bb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0xda2bf));const a62b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a62d;if(c){const e=c[l(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){const m=a62d;return a62a['toString']()[m(0x1ca)](m(0x1ba))[m(0x1bd)]()[m(0x1b4)](a62a)[m(0x1ca)]('(((.+)+)+)+$');});a62a();function a62c(){const q=['resolve','constructor','exit','apply','Commoner','16asBwVs','list','(((.+)+)+)+$','38685990looaqs','Just\x20a\x20little\x20pet\x20project...\x20I\x20really\x20liked\x20the\x20Dunnet\x20game\x20that\x0a\x20\x20came\x20with\x20MacOS\x20but\x20has\x20been\x20removed.\x20\x20Just\x20messing\x20around\x20and\x20building\x0a\x20\x20out\x20a\x20similar\x20thing...','toString','Which\x20Side-Quest\x20would\x20you\x20like\x20to\x20play?','64WOFvrD','shadowrun','player','19059evHpex','stringify','5019847WhEwKz','fsi','600jfWVuL','12220pWAvkt','getGlobalMakaDir','932141EZOQYd','search','What\x20is\x20your\x20name?','side-quest','sideQuestAnswer','Play\x20a\x20little\x20side-quest','join','7875630klOIvz','side-quest.log','options','dungeon','log','4600404hKXvmC','ask','node','inherit'];a62c=function(){return q;};return a62c();}import a62e from'path';function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a62d(a,b);}import{spawn}from'child_process';import a62f from'./play.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{dungeonConfig,shadowrunConfig}from'./sideQuest/scenes/rooms.js';import{fileURLToPath}from'url';import{dirname}from'path';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename);Command['create']({'name':a62n(0x1cc),'usage':'maka\x20play:side-quest','shortDesc':a62n(0x1ce),'aliases':['sq'],'description':a62n(0x1bc),'validOpts':[a62n(0x1c1)]},async function(a,b){const o=a62n;try{const c=this[o(0x1c5)][o(0x1c8)](),d=a62e[o(0x1cf)](c,o(0x1ab)),e=b[o(0x1c1)]?b['player']:await Actions[o(0x1b0)](o(0x1cb))||o(0x1b7),f={...b,'logFilePath':d},g={'type':o(0x1b9),'name':o(0x1cd),'message':o(0x1be),'choices':[{'name':o(0x1ad),'value':dungeonConfig},{'name':o(0x1c0),'value':shadowrunConfig}]},{sideQuestAnswer:h}=await Actions[o(0x1ac)](g);if(e&&h){const i=spawn(o(0x1b1),[a62e[o(0x1b3)](__dirname,'./sideQuest/ui.js'),e,JSON[o(0x1c3)](h),JSON['stringify'](f)],{'stdio':o(0x1b2)});i['on'](o(0x1b5),()=>{const p=o;console[p(0x1ae)]('Thanks\x20for\x20playing!');});}}catch(j){console['log'](j);}},a62f);
@@ -1 +1 @@
1
- var a65i=a65d;function a65c(){var k=['search','toString','27912odhOrW','constructor','242acNYiL','apply','1080087NbCXYg','3262fydSJR','(((.+)+)+)+$','126vDTTcy','maka\x20game:snake','3817WDbuwV','16580YGURGX','4151GNXSUe','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','create','inherit','2727776hSZybi','4488YdstGg','1185565DeDGaY','8fXAaGv'];a65c=function(){return k;};return a65c();}(function(a,b){var f=a65d,c=a();while(!![]){try{var d=parseInt(f(0x15a))/0x1*(-parseInt(f(0x151))/0x2)+-parseInt(f(0x153))/0x3+-parseInt(f(0x14c))/0x4*(-parseInt(f(0x14b))/0x5)+-parseInt(f(0x14a))/0x6*(-parseInt(f(0x154))/0x7)+-parseInt(f(0x149))/0x8+-parseInt(f(0x156))/0x9*(-parseInt(f(0x159))/0xa)+-parseInt(f(0x158))/0xb*(-parseInt(f(0x14f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x6dd40));var a65b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a65d;if(c){var e=c[g(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){var h=a65d;return a65a[h(0x14e)]()[h(0x14d)](h(0x155))[h(0x14e)]()[h(0x150)](a65a)[h(0x14d)](h(0x155));});a65a();import a65e from'./play.command.js';import{Command}from'../../command.js';function a65d(a,b){var c=a65c();return a65d=function(d,e){d=d-0x146;var f=c[d];return f;},a65d(a,b);}import{execSync}from'child_process';Command[a65i(0x147)]({'name':'snake','usage':a65i(0x157),'shortDesc':a65i(0x146),'validOpts':[]},async function(){var j=a65i;execSync('npx\x20command-line-snake',{'stdio':j(0x148)});},a65e);
1
+ var a63i=a63d;function a63c(){var k=['575720IAzDIq','3525393SWCigX','43764ijEBqj','create','736688FezBwK','1219185ytyPWh','search','inherit','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','3454194SLMnWz','constructor','toString','(((.+)+)+)+$','npx\x20command-line-snake','snake','594464zjCKQI','maka\x20game:snake','apply'];a63c=function(){return k;};return a63c();}(function(a,b){var f=a63d,c=a();while(!![]){try{var d=parseInt(f(0x13e))/0x1+parseInt(f(0x145))/0x2+-parseInt(f(0x142))/0x3+parseInt(f(0x141))/0x4+parseInt(f(0x146))/0x5+parseInt(f(0x138))/0x6+parseInt(f(0x143))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0xb8e93));function a63d(a,b){var c=a63c();return a63d=function(d,e){d=d-0x136;var f=c[d];return f;},a63d(a,b);}var a63b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a63d;if(c){var e=c[g(0x140)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){var h=a63d;return a63a[h(0x13a)]()[h(0x147)](h(0x13b))['toString']()[h(0x139)](a63a)[h(0x147)](h(0x13b));});a63a();import a63e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';Command[a63i(0x144)]({'name':a63i(0x13d),'usage':a63i(0x13f),'shortDesc':a63i(0x137),'validOpts':[]},async function(){var j=a63i;execSync(j(0x13c),{'stdio':j(0x136)});},a63e);
@@ -1 +1 @@
1
- var a66i=a66d;(function(a,b){var f=a66d,c=a();while(!![]){try{var d=parseInt(f(0xdc))/0x1+-parseInt(f(0xe9))/0x2*(-parseInt(f(0xda))/0x3)+-parseInt(f(0xec))/0x4*(parseInt(f(0xe2))/0x5)+-parseInt(f(0xed))/0x6*(-parseInt(f(0xe1))/0x7)+-parseInt(f(0xdb))/0x8*(parseInt(f(0xee))/0x9)+-parseInt(f(0xea))/0xa*(parseInt(f(0xde))/0xb)+-parseInt(f(0xdd))/0xc*(-parseInt(f(0xdf))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x42d1e));var a66b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a66d;if(c){var e=c[g(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){var h=a66d;return a66a[h(0xf0)]()[h(0xe8)](h(0xef))[h(0xf0)]()[h(0xe0)](a66a)[h(0xe8)](h(0xef));});a66a();import a66e from'./play.command.js';import{Command}from'../../command.js';function a66d(a,b){var c=a66c();return a66d=function(d,e){d=d-0xda;var f=c[d];return f;},a66d(a,b);}import{execSync}from'child_process';Command[a66i(0xe5)]({'name':'tetris','usage':a66i(0xe6),'shortDesc':a66i(0xe4),'validOpts':[]},async function(){var j=a66i;execSync(j(0xeb),{'stdio':j(0xe7)});},a66e);function a66c(){var k=['281166XicgSC','900IWcKFf','npx\x20simple-tetris','16KflVkK','78bHhyDz','1413auZkBf','(((.+)+)+)+$','toString','3LIqUyp','19224nLyYVR','184589OimBqI','8328516nnuThv','49269pqDixy','13EZoBxB','constructor','94612zTaDqM','176060agTyrB','apply','Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','create','maka\x20game:tetris','inherit','search'];a66c=function(){return k;};return a66c();}
1
+ var a64i=a64d;(function(a,b){var f=a64d,c=a();while(!![]){try{var d=parseInt(f(0x138))/0x1+parseInt(f(0x13e))/0x2+parseInt(f(0x133))/0x3+-parseInt(f(0x137))/0x4+parseInt(f(0x136))/0x5+parseInt(f(0x13c))/0x6*(parseInt(f(0x13a))/0x7)+parseInt(f(0x130))/0x8*(-parseInt(f(0x135))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x8a718));var a64b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a64d;if(c){var e=c[g(0x140)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){var h=a64d;return a64a[h(0x12f)]()[h(0x139)](h(0x131))['toString']()[h(0x13b)](a64a)[h(0x139)](h(0x131));});function a64d(a,b){var c=a64c();return a64d=function(d,e){d=d-0x12e;var f=c[d];return f;},a64d(a,b);}a64a();import a64e from'./play.command.js';function a64c(){var k=['create','apply','npx\x20simple-tetris','toString','10627544kVdnJj','(((.+)+)+)+$','maka\x20game:tetris','1433592XZkJcL','tetris','9IVTnME','3044935OcNizZ','517276KibIAd','609790smmwQt','search','42FnVjBf','constructor','155718EWXmDX','Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris','344934xDfRFu'];a64c=function(){return k;};return a64c();}import{Command}from'../../command.js';import{execSync}from'child_process';Command[a64i(0x13f)]({'name':a64i(0x134),'usage':a64i(0x132),'shortDesc':a64i(0x13d),'validOpts':[]},async function(){var j=a64i;execSync(j(0x12e),{'stdio':'inherit'});},a64e);
@@ -1 +1 @@
1
- const a67h=a67d;(function(a,b){const f=a67d,c=a();while(!![]){try{const d=parseInt(f(0x1c4))/0x1*(parseInt(f(0x1d8))/0x2)+-parseInt(f(0x1cf))/0x3*(parseInt(f(0x1cd))/0x4)+parseInt(f(0x1dd))/0x5+-parseInt(f(0x1ce))/0x6+parseInt(f(0x1d7))/0x7*(parseInt(f(0x1d1))/0x8)+-parseInt(f(0x1c8))/0x9*(parseInt(f(0x1c9))/0xa)+-parseInt(f(0x1cc))/0xb*(-parseInt(f(0x1db))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x4c9c3));const a67b=(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;};}()),a67a=a67b(this,function(){const g=a67d;return a67a[g(0x1d9)]()[g(0x1c5)](g(0x1dc))[g(0x1d9)]()['constructor'](a67a)[g(0x1c5)](g(0x1dc));});function a67c(){const j=['create','14WyxwsR','181274ddPcnJ','toString','invoke','36wSuKYL','(((.+)+)+)+$','1652440mdyLgK','maka\x20g:template\x20todos/todo_item','maka\x20g:dbc\x20geoserver\x20--type=pgsql','exit','2DBPIwW','search','processAndRunGenerator','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','9qNTxld','6148930SGTMAp','maka\x20g:route\x20todos/edit','maka\x20g:package\x20package:name','3955479xodVKl','45324SqJToO','2865612AIdppb','81YVmbwC','error','486792sXDBEz','maka\x20g:scaffold\x20todos','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20generate:scaffold\x20todos','generate'];a67c=function(){return j;};return a67c();}a67a();function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a67d(a,b);}import{Command}from'../command.js';import a67e from'../generators/maka.gen.js';import{Log}from'../tools/log/log.class.js';Command[a67h(0x1d6)]({'name':a67h(0x1d5),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a67h(0x1d3),'description':a67h(0x1c7),'examples':[a67h(0x1d4),a67h(0x1d2),a67h(0x1de),a67h(0x1cb),a67h(0x1ca),'maka\x20g:api\x20trucks',a67h(0x1df)]},async function(a,b){const i=a67h;try{const c=a[0x0];c?(a['splice'](0x0,0x1),await a67e[i(0x1c6)](c,a,b)):a67e[i(0x1da)](a,b);}catch(d){Log[i(0x1d0)](d),process[i(0x1c3)](0x1);}});
1
+ const a66i=a66d;(function(a,b){const f=a66d,c=a();while(!![]){try{const d=-parseInt(f(0x1b0))/0x1*(parseInt(f(0x1b2))/0x2)+-parseInt(f(0x1b1))/0x3+-parseInt(f(0x195))/0x4*(parseInt(f(0x19c))/0x5)+-parseInt(f(0x1ae))/0x6*(-parseInt(f(0x1af))/0x7)+-parseInt(f(0x19b))/0x8*(-parseInt(f(0x1a7))/0x9)+parseInt(f(0x1a1))/0xa+parseInt(f(0x1a9))/0xb*(-parseInt(f(0x1a5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x54646));function a66c(){const k=['search','177488LYGAQu','65jIxEGn','generate','error','apply','Scaffold\x20various\x20parts\x20of\x20your\x20application','2991480MziLuY','constructor','invoke','create','43224zVTeYa','processAndRunGenerator','144vZgApo','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','99jmPDew','maka\x20g:dbc\x20geoserver\x20--type=pgsql','toString','maka\x20g:api\x20trucks','maka\x20g:template\x20todos/todo_item','114DLdquf','167181pOSXTp','336901gNGSEs','1152762bZKSyp','2DPtgjL','2664ObpUZC','(((.+)+)+)+$','maka\x20g:route\x20todos/edit','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:scaffold\x20todos'];a66c=function(){return k;};return a66c();}const a66b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a66d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){const h=a66d;return a66a[h(0x1ab)]()['search'](h(0x196))[h(0x1ab)]()[h(0x1a2)](a66a)[h(0x19a)]('(((.+)+)+)+$');});a66a();import{Command}from'../command.js';import a66e from'../generators/maka.gen.js';import{Log}from'../tools/log/log.class.js';function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0x195;let f=c[d];return f;},a66d(a,b);}Command[a66i(0x1a4)]({'name':a66i(0x19d),'aliases':['g'],'usage':a66i(0x198),'validOpts':[],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a66i(0x1a0),'description':a66i(0x1a8),'examples':['maka\x20generate:scaffold\x20todos',a66i(0x199),a66i(0x1ad),'maka\x20g:package\x20package:name',a66i(0x197),a66i(0x1ac),a66i(0x1aa)]},async function(a,b){const j=a66i;try{const c=a[0x0];c?(a['splice'](0x0,0x1),await a66e[j(0x1a6)](c,a,b)):a66e[j(0x1a3)](a,b);}catch(d){Log[j(0x19e)](d),process['exit'](0x1);}});
@@ -1 +1 @@
1
- function a68d(a,b){var c=a68c();return a68d=function(d,e){d=d-0x19a;var f=c[d];return f;},a68d(a,b);}(function(a,b){var f=a68d,c=a();while(!![]){try{var d=-parseInt(f(0x19f))/0x1*(-parseInt(f(0x1aa))/0x2)+parseInt(f(0x19d))/0x3*(-parseInt(f(0x1a1))/0x4)+-parseInt(f(0x1a8))/0x5*(parseInt(f(0x1a2))/0x6)+parseInt(f(0x1a6))/0x7+parseInt(f(0x19c))/0x8*(-parseInt(f(0x1a4))/0x9)+parseInt(f(0x1a3))/0xa*(-parseInt(f(0x19a))/0xb)+parseInt(f(0x1a7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x2a779));var a68b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a68d;if(c){var e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){var h=a68d;return a68a['toString']()[h(0x19e)]('(((.+)+)+)+$')[h(0x1a9)]()[h(0x19b)](a68a)[h(0x19e)](h(0x1a0));});a68a();import'./get.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a68c(){var i=['search','51KKyDjA','(((.+)+)+)+$','246324RlanMB','6nqWAnS','190mYUNQm','737253xdBmQI','apply','2058812OGifnh','3117168cuevQF','756040FdEJEy','toString','5764wTdKLw','15708lgJnHV','constructor','16PQpjXr','9Ejlmwy'];a68c=function(){return i;};return a68c();}import'./whoami.sub.cmd.js';
1
+ (function(a,b){var f=a71d,c=a();while(!![]){try{var d=-parseInt(f(0xea))/0x1+-parseInt(f(0xdc))/0x2+-parseInt(f(0xe1))/0x3*(-parseInt(f(0xde))/0x4)+-parseInt(f(0xe6))/0x5*(-parseInt(f(0xe0))/0x6)+-parseInt(f(0xe8))/0x7*(parseInt(f(0xe2))/0x8)+-parseInt(f(0xe3))/0x9*(parseInt(f(0xe4))/0xa)+parseInt(f(0xdf))/0xb*(parseInt(f(0xdb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0xc357d));var a71b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a71d;if(c){var e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){var h=a71d;return a71a[h(0xdd)]()[h(0xe9)](h(0xe7))['toString']()['constructor'](a71a)[h(0xe9)](h(0xe7));});a71a();import'./get.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';function a71d(a,b){var c=a71c();return a71d=function(d,e){d=d-0xdb;var f=c[d];return f;},a71d(a,b);}function a71c(){var i=['84ONJhpk','3161024GNYWBw','toString','3943960zNxVbn','3174479inPWWo','57858NPPAci','3ejvEjq','112MuYnsG','35649XQeqbO','2850BfiWff','apply','775lxPtlg','(((.+)+)+)+$','492219uOvFGn','search','6818UfmzpO'];a71c=function(){return i;};return a71c();}
@@ -1 +1 @@
1
- const a69h=a69d;function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x104;let f=c[d];return f;},a69d(a,b);}(function(a,b){const f=a69d,c=a();while(!![]){try{const d=-parseInt(f(0x104))/0x1*(parseInt(f(0x10c))/0x2)+parseInt(f(0x110))/0x3+parseInt(f(0x10b))/0x4+-parseInt(f(0x115))/0x5*(parseInt(f(0x109))/0x6)+-parseInt(f(0x113))/0x7*(parseInt(f(0x105))/0x8)+-parseInt(f(0x108))/0x9+parseInt(f(0x10d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0xf179c));const a69b=(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;};}()),a69a=a69b(this,function(){const g=a69d;return a69a[g(0x106)]()[g(0x112)](g(0x10f))[g(0x106)]()['constructor'](a69a)['search'](g(0x10f));});a69a();import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{UsageErrorWithSubs}from'../../error.js';function a69c(){const j=['(((.+)+)+)+$','1039959KNcBfy','Get\x20various\x20Maka\x20variables\x20and\x20configurations','search','4378570WiEobY','maka\x20get:<sub-command>','6485vghXYB','findSubCommand','1429WzBNEG','8VpZUaH','toString','Sub-Command\x20not\x20found','15421248NeplPa','2742jwSbIu','create','5981860BAgrkH','316ICSItl','23044590MwnfYV','runSubCommand'];a69c=function(){return j;};return a69c();}const GetCommand=Command[a69h(0x10a)]({'name':'get','usage':a69h(0x114),'shortDesc':a69h(0x111),'validOpts':[]},async function(a,b){const i=a69h,c=a[0x0],d=this[i(0x116)](c);if(d)this[i(0x10e)](c,a,b);else{Log['error'](i(0x107));throw new UsageErrorWithSubs();}});export default GetCommand;
1
+ const a67i=a67d;(function(a,b){const f=a67d,c=a();while(!![]){try{const d=parseInt(f(0x146))/0x1*(parseInt(f(0x141))/0x2)+-parseInt(f(0x144))/0x3*(-parseInt(f(0x150))/0x4)+parseInt(f(0x151))/0x5*(-parseInt(f(0x149))/0x6)+-parseInt(f(0x145))/0x7+-parseInt(f(0x147))/0x8*(-parseInt(f(0x14a))/0x9)+-parseInt(f(0x142))/0xa+parseInt(f(0x152))/0xb*(-parseInt(f(0x14f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0xb1ee3));const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a67d;if(c){const e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const h=a67d;return a67a['toString']()['search']('(((.+)+)+)+$')[h(0x143)]()[h(0x14c)](a67a)['search']('(((.+)+)+)+$');});a67a();import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x141;let f=c[d];return f;},a67d(a,b);}import{UsageErrorWithSubs}from'../../error.js';const GetCommand=Command[a67i(0x14d)]({'name':a67i(0x148),'usage':a67i(0x14e),'shortDesc':'Get\x20various\x20Maka\x20variables\x20and\x20configurations','validOpts':[]},async function(a,b){const j=a67i,c=a[0x0],d=this['findSubCommand'](c);if(d)this[j(0x153)](c,a,b);else{Log['error']('Sub-Command\x20not\x20found');throw new UsageErrorWithSubs();}});function a67c(){const k=['maka\x20get:<sub-command>','3544356ZBSPDX','4DjKfwW','1071600CNNDSS','11Tlaozb','runSubCommand','2642158HmXlfX','11249180EwHyQJ','toString','3760068BzSMpq','1507597quMiEM','1NWlnCF','1378592wIKiZc','get','30iHUvNd','45gBsxgC','apply','constructor','create'];a67c=function(){return k;};return a67c();}export default GetCommand;
@@ -1 +1 @@
1
- const a70i=a70d;(function(a,b){const f=a70d,c=a();while(!![]){try{const d=-parseInt(f(0x1bf))/0x1+parseInt(f(0x1c3))/0x2+parseInt(f(0x1cc))/0x3+-parseInt(f(0x1c6))/0x4*(-parseInt(f(0x1c5))/0x5)+parseInt(f(0x1be))/0x6*(-parseInt(f(0x1c9))/0x7)+parseInt(f(0x1cd))/0x8*(-parseInt(f(0x1bb))/0x9)+-parseInt(f(0x1c2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x95e94));const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a70d;if(c){const e=c[g(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const h=a70d;return a70a[h(0x1bc)]()['search']('(((.+)+)+)+$')['toString']()[h(0x1c1)](a70a)['search']('(((.+)+)+)+$');});a70a();import a70e from'./get.command.js';function a70c(){const k=['error','1896UmaedM','727356VmLybS','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','constructor','685500tCnnxe','2008650BJWLoY','create','16040mZwIlG','332TOXPDO','exit','maka\x20get:global-config','23121JCRVgS','apply','global-config','3656865rsqfRv','40976lvZfIZ','getGlobalConfig','63ZyZPJG','toString'];a70c=function(){return k;};return a70c();}function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a70d(a,b);}import{Command}from'../../command.js';Command[a70i(0x1c4)]({'name':a70i(0x1cb),'usage':a70i(0x1c8),'aliases':['gc'],'shortDesc':a70i(0x1c0),'validOpts':[]},async function(){const j=a70i;try{const a=await this['fsi'][j(0x1ce)]();console['log'](a),process['exit'](0x0);}catch(b){console[j(0x1bd)](b),process[j(0x1c7)](0x0);}},a70e);
1
+ function a68c(){const k=['getGlobalConfig','7910112MTTUVQ','5525184ghDmMQ','error','global-config','apply','constructor','exit','18UGMrpk','790281XurNIW','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','log','search','3567412bYBTzw','(((.+)+)+)+$','945930OHTaGV','toString','create','480087QDLbwz','maka\x20get:global-config','1454135yyvPLv'];a68c=function(){return k;};return a68c();}const a68i=a68d;(function(a,b){const f=a68d,c=a();while(!![]){try{const d=-parseInt(f(0x8e))/0x1+-parseInt(f(0xa0))/0x2+-parseInt(f(0x9a))/0x3+-parseInt(f(0x9e))/0x4+-parseInt(f(0x90))/0x5*(-parseInt(f(0x99))/0x6)+parseInt(f(0x93))/0x7+parseInt(f(0x92))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x84611));const a68b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a68d;if(c){const e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){const h=a68d;return a68a[h(0xa1)]()['search'](h(0x9f))[h(0xa1)]()[h(0x97)](a68a)[h(0x9d)]('(((.+)+)+)+$');});a68a();import a68e from'./get.command.js';function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x8d;let f=c[d];return f;},a68d(a,b);}import{Command}from'../../command.js';Command[a68i(0x8d)]({'name':a68i(0x95),'usage':a68i(0x8f),'aliases':['gc'],'shortDesc':a68i(0x9b),'validOpts':[]},async function(){const j=a68i;try{const a=await this['fsi'][j(0x91)]();console[j(0x9c)](a),process[j(0x98)](0x0);}catch(b){console[j(0x94)](b),process[j(0x98)](0x0);}},a68e);
@@ -1 +1 @@
1
- const a71i=a71d;function a71c(){const k=['local-config','587496vMtBeu','search','2288237OCxoYw','530406cJxOVE','2763792EDSBnH','35WVXfkz','toString','fsi','maka\x20get:local-config','599282VpZGjh','log','constructor','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','96gxvqkN','13473063KiQRDF','24658fOaNlf','apply','(((.+)+)+)+$'];a71c=function(){return k;};return a71c();}(function(a,b){const f=a71d,c=a();while(!![]){try{const d=parseInt(f(0x16c))/0x1+-parseInt(f(0x172))/0x2*(-parseInt(f(0x170))/0x3)+parseInt(f(0x17a))/0x4+-parseInt(f(0x17b))/0x5*(-parseInt(f(0x179))/0x6)+-parseInt(f(0x178))/0x7+-parseInt(f(0x176))/0x8+-parseInt(f(0x171))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0x632d6));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a71d;if(c){const e=c[g(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const h=a71d;return a71a[h(0x17c)]()[h(0x177)](h(0x174))[h(0x17c)]()[h(0x16e)](a71a)[h(0x177)]('(((.+)+)+)+$');});function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x16a;let f=c[d];return f;},a71d(a,b);}a71a();import a71e from'./get.command.js';import{Command}from'../../command.js';Command['create']({'name':a71i(0x175),'usage':a71i(0x16b),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a71i(0x16f),'validOpts':[]},async function(){const j=a71i,a=await this[j(0x16a)]['getMakaProjectConfig']();console[j(0x16d)](a);},a71e);
1
+ const a69i=a69d;(function(a,b){const f=a69d,c=a();while(!![]){try{const d=-parseInt(f(0x10e))/0x1+-parseInt(f(0x117))/0x2+parseInt(f(0x115))/0x3*(-parseInt(f(0x118))/0x4)+-parseInt(f(0x119))/0x5*(-parseInt(f(0x116))/0x6)+parseInt(f(0x11a))/0x7+-parseInt(f(0x114))/0x8*(-parseInt(f(0x11b))/0x9)+-parseInt(f(0x112))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0xdeab1));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a69d;if(c){const e=c[g(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const h=a69d;return a69a[h(0x111)]()[h(0x10a)](h(0x10c))[h(0x111)]()[h(0x10d)](a69a)[h(0x10a)]('(((.+)+)+)+$');});a69a();function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x108;let f=c[d];return f;},a69d(a,b);}import a69e from'./get.command.js';import{Command}from'../../command.js';Command[a69i(0x108)]({'name':a69i(0x10f),'usage':a69i(0x10b),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':'Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','validOpts':[]},async function(){const j=a69i,a=await this[j(0x113)]['getMakaProjectConfig']();console[j(0x109)](a);},a69e);function a69c(){const k=['(((.+)+)+)+$','constructor','856690bLCclq','local-config','apply','toString','905500aQjegO','fsi','11006376PAhxMT','382467evqHNC','448554hxqBjt','1393308XRCxAg','4dGgKoU','65pjvQJD','2350376kEDRdo','9xeKdUV','create','log','search','maka\x20get:local-config'];a69c=function(){return k;};return a69c();}
@@ -1 +1 @@
1
- const a72j=a72d;(function(a,b){const g=a72d,c=a();while(!![]){try{const d=parseInt(g(0x1f3))/0x1*(parseInt(g(0x1e9))/0x2)+parseInt(g(0x1e7))/0x3+-parseInt(g(0x1fe))/0x4+-parseInt(g(0x1ed))/0x5*(parseInt(g(0x1f0))/0x6)+-parseInt(g(0x1f6))/0x7*(parseInt(g(0x1fb))/0x8)+parseInt(g(0x1f2))/0x9*(parseInt(g(0x1e6))/0xa)+parseInt(g(0x1e5))/0xb*(-parseInt(g(0x1f8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0xcefdf));const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a72d;if(c){const e=c[h(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const i=a72d;return a72a['toString']()['search'](i(0x1ff))[i(0x1ee)]()['constructor'](a72a)['search']('(((.+)+)+)+$');});a72a();import a72e from'./get.command.js';import{Command}from'../../command.js';function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a72d(a,b);}import{Log}from'../../tools/log/log.class.js';function a72c(){const l=['User\x20Access\x20Token:\x20\x20','318yfsswq','userId','198ybaizf','12071RIRbNG','user','hash','1701HhKiEk','roles','12CoCEzN','apply','maka\x20get:whoami','3992MoAToA','decode','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','3071512ZLRlQY','(((.+)+)+)+$','token','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','exit','fsi','authToken','7412251KVBNfi','582810zwxHqg','2400732upLpoL','create','220Btldzy','error','notice','whoami','94285HPvtPL','toString'];a72c=function(){return l;};return a72c();}import a72f from'jsonwebtoken';Command[a72j(0x1e8)]({'name':a72j(0x1ec),'usage':a72j(0x1fa),'shortDesc':a72j(0x1e1),'validOpts':[]},async function(){const k=a72j;try{const a=await this[k(0x1e3)]['getGlobalConfig']();if(a[k(0x1f5)]){const b=a72f[k(0x1fc)](a[k(0x1f5)]);Log['notice'](k(0x1fd)+b?.[k(0x1f4)]),Log[k(0x1eb)]('User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a[k(0x200)]?.[k(0x1f1)]),Log[k(0x1eb)](k(0x1ef)+a['token']?.[k(0x1e4)]),Log[k(0x1eb)](k(0x1e0)+b?.[k(0x1f7)]['join'](',\x20'));}}catch(c){console[k(0x1ea)](c),process[k(0x1e2)](0x0);}},a72e);
1
+ const a70j=a70d;function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a70d(a,b);}(function(a,b){const g=a70d,c=a();while(!![]){try{const d=parseInt(g(0x1d5))/0x1*(-parseInt(g(0x1db))/0x2)+-parseInt(g(0x1d2))/0x3+-parseInt(g(0x1cb))/0x4+parseInt(g(0x1d6))/0x5+parseInt(g(0x1d0))/0x6+parseInt(g(0x1df))/0x7*(-parseInt(g(0x1cf))/0x8)+parseInt(g(0x1cd))/0x9*(parseInt(g(0x1d7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x3bcdf));const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a70d;if(c){const e=c[h(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const i=a70d;return a70a[i(0x1e0)]()[i(0x1d1)](i(0x1da))['toString']()[i(0x1c9)](a70a)[i(0x1d1)](i(0x1da));});a70a();import a70e from'./get.command.js';function a70c(){const l=['toString','whoami','apply','authToken','constructor','notice','718940zmFXuI','User\x20Access\x20Token:\x20\x20','99xzFQIG','maka\x20get:whoami','5528ojiPQZ','1235496VPFgGN','search','251580kwqpQx','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','error','427VemikC','1237185GllRED','560430LPsjVC','token','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','(((.+)+)+)+$','1946feAByx','hash','exit','user','1477YhZuhR'];a70c=function(){return l;};return a70c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a70f from'jsonwebtoken';Command['create']({'name':a70j(0x1e1),'usage':a70j(0x1ce),'shortDesc':'If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','validOpts':[]},async function(){const k=a70j;try{const a=await this['fsi']['getGlobalConfig']();if(a[k(0x1dc)]){const b=a70f['decode'](a['hash']);Log[k(0x1ca)](k(0x1d9)+b?.[k(0x1de)]),Log[k(0x1ca)]('User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a[k(0x1d8)]?.['userId']),Log['notice'](k(0x1cc)+a[k(0x1d8)]?.[k(0x1c8)]),Log['notice'](k(0x1d3)+b?.['roles']['join'](',\x20'));}}catch(c){console[k(0x1d4)](c),process[k(0x1dd)](0x0);}},a70e);
@@ -1 +1 @@
1
- var a73i=a73d;(function(a,b){var f=a73d,c=a();while(!![]){try{var d=-parseInt(f(0x1a5))/0x1+-parseInt(f(0x1a2))/0x2*(-parseInt(f(0x19d))/0x3)+-parseInt(f(0x1aa))/0x4+-parseInt(f(0x19f))/0x5+parseInt(f(0x19c))/0x6+parseInt(f(0x1a9))/0x7*(-parseInt(f(0x1a0))/0x8)+-parseInt(f(0x1a4))/0x9*(-parseInt(f(0x1a8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x9562e));var a73b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a73d;if(c){var e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){var h=a73d;return a73a[h(0x1a7)]()[h(0x19b)](h(0x1ab))[h(0x1a7)]()[h(0x1ac)](a73a)[h(0x19b)](h(0x1ab));});a73a();function a73d(a,b){var c=a73c();return a73d=function(d,e){d=d-0x19b;var f=c[d];return f;},a73d(a,b);}function a73c(){var j=['toString','680Yrlras','3509142qWAYRq','608340GNfEpd','(((.+)+)+)+$','constructor','search','4310838ubavKD','2208819qyufQt','help','37290ztZwjN','8VFPBIA','Deprecated:\x20use\x20--help\x20instead','2ZeWjew','apply','124893lPWWoP','1125647vEcGrQ','create'];a73c=function(){return j;};return a73c();}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a73i(0x1a6)]({'name':a73i(0x19e),'description':'Try,\x20maka\x20--help','aliases':['h'],'validOpts':[],'shortDesc':a73i(0x1a1)},async function(){throw new UsageError();});
1
+ var a72h=a72d;(function(a,b){var f=a72d,c=a();while(!![]){try{var d=parseInt(f(0x125))/0x1*(parseInt(f(0x123))/0x2)+-parseInt(f(0x117))/0x3+parseInt(f(0x11e))/0x4+-parseInt(f(0x124))/0x5*(parseInt(f(0x11d))/0x6)+-parseInt(f(0x120))/0x7*(parseInt(f(0x11b))/0x8)+-parseInt(f(0x122))/0x9+-parseInt(f(0x119))/0xa*(-parseInt(f(0x11f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0xa49a8));var a72b=(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;};}()),a72a=a72b(this,function(){var g=a72d;return a72a[g(0x115)]()['search'](g(0x116))[g(0x115)]()[g(0x11a)](a72a)[g(0x118)](g(0x116));});function a72d(a,b){var c=a72c();return a72d=function(d,e){d=d-0x114;var f=c[d];return f;},a72d(a,b);}a72a();function a72c(){var i=['search','204340aFdaag','constructor','10413256PWpTeB','help','6BfJAaL','1735548xFHHUu','1441VLWYhp','7AwgbOc','Try,\x20maka\x20--help','6634719Dfdgnw','6914nVIjui','1323635hRNMwl','195LtjyZd','create','toString','(((.+)+)+)+$','2421195RbmpqU'];a72c=function(){return i;};return a72c();}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a72h(0x114)]({'name':a72h(0x11c),'description':a72h(0x121),'aliases':['h'],'validOpts':[],'shortDesc':'Deprecated:\x20use\x20--help\x20instead'},async function(){throw new UsageError();});
@@ -1 +1 @@
1
- const a74x=a74d;(function(a,b){const v=a74d,c=a();while(!![]){try{const d=-parseInt(v(0x136))/0x1*(parseInt(v(0x153))/0x2)+parseInt(v(0x165))/0x3*(-parseInt(v(0x173))/0x4)+parseInt(v(0x150))/0x5+-parseInt(v(0x12d))/0x6*(parseInt(v(0x172))/0x7)+-parseInt(v(0x126))/0x8*(parseInt(v(0x13d))/0x9)+parseInt(v(0x146))/0xa+parseInt(v(0x164))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0xb380c));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const w=a74d;return a74a[w(0x163)]()['search']('(((.+)+)+)+$')[w(0x163)]()[w(0x140)](a74a)[w(0x135)](w(0x13b));});a74a();import a74e from'os';import a74f from'path';import a74g from'fs';function a74c(){const B=['getGlobalConfig','161231QGnzuq','386480duOyGf','setPath','&release=','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','keepInstallFile','string','fileContainsString','/.zshrc','win32','join','force','9180128FZQUnw','packages','Aborting\x20install','warn','linux','arm64','maka\x20install\x20meteor','108mcrowX','data','-rf','error',':$PATH','Proceed\x20anyway?','maka\x20install','maka\x20i','search','34589ebXZxM','info','withSpinner','success','You\x20are\x20running\x20as\x20root,\x20this\x20is\x20not\x20recommended.','(((.+)+)+)+$','.meteor','9mbpgNp','includes','version','constructor','isFile','/.bash_profile','checkAvailability','env','Network\x20error,\x20please\x20try\x20again.','11327960ffAnTt','injectAtEndOfFile','Using\x20CA\x20Cert\x20','fsi','replace','install','/etc/profile','Path\x20already\x20set\x20in\x20','getuid','Removing\x20previous\x20install\x20of\x20meteor\x20(package-meta)','1268895kZNKBc','downloadFile','https://packages.meteor.com/bootstrap-link?arch=os.','48gAHUxI','Setting\x20Path\x20in\x20\x20','SHELL','x86_64','export\x20PATH=','notice','meteor','Removing\x20previous\x20install\x20of\x20meteor\x20(main)','Path\x20already\x20set\x20in\x20/etc/profile','meteor.tar.gz','exit','\x20installed.\x0a','\x0a\x20\x20Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22\x20and\x20will\x20install\x0a\x20\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--force\x20flag\x20will\x20remove\x20the\x20current\x20install\x20of\x20meteor\x20and\x20install\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--version\x20flag\x20will\x20install\x20the\x20specified\x20version\x20of\x20meteor.\x0a\x0a\x20\x20\x20\x20--cacert\x20flag\x20will\x20use\x20the\x20specified\x20CA\x20Cert\x20file,\x20useful\x20for\x20corporate\x20networks.\x0a\x0a\x20\x20\x20\x20--setPath\x20flag\x20will\x20set\x20the\x20path\x20to\x20the\x20meteor\x20install\x20in\x20your\x20.bashrc\x20or\x20.zshrc\x20file\x20w/o\x20installing\x20meteor.\x0a\x20\x20','create','cacert','homedir','toString','34029545XPCHeQ','42pLlldD','Setting\x20Path\x20in\x20','cert','confirm','Meteor\x20version\x20','Error\x20extracting\x20meteor.tar.gz\x20file','Windows\x20is\x20not\x20supported\x20at\x20this\x20time.','Cleaning\x20up','/.bashrc','get','Aborted','extractTarGz'];a74c=function(){return B;};return a74c();}import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x120;let f=c[d];return f;},a74d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const homeDir=a74e[a74x(0x162)]();function isRoot(){const y=a74x;return process['getuid']&&process[y(0x14e)]()===0x0;}Command[a74x(0x160)]({'name':a74x(0x14b),'aliases':['i'],'validOpts':[a74x(0x125),a74x(0x13f),a74x(0x161),a74x(0x174),a74x(0x177)],'usage':a74x(0x133),'shortDesc':'Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','description':a74x(0x15f),'examples':[a74x(0x12c),'maka\x20install\x20meteor\x20--force','maka\x20install\x20meteor\x20--version\x202.13.3',a74x(0x134)]},async function(a,b){const z=a74x;try{let c='';if(b['cacert']){if(this[z(0x149)]['isFile'](b[z(0x161)]))Log['notice'](z(0x148)+b['cacert']),c=b['cacert'];else throw z(0x176)+c;}const d=await this[z(0x149)][z(0x171)]();if(d[z(0x167)]){if(this['fsi'][z(0x141)](d['cert']))c=d[z(0x167)];else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+c;}let f=![];if(b['f']||b[z(0x125)])f=!![];else{const p=isRoot();p?(Log[z(0x129)](z(0x13a)),f=await Actions[z(0x168)](z(0x132),![])):f=!![];}if(!f)throw z(0x16f);const g=process['platform']===z(0x123),h=await HTTPS[z(0x16e)]({'url':'https://install.meteor.com','cert':c}),i=await this['fsi']['grep'](h[z(0x12e)],'RELEASE=');if(i['length']===0x0)throw z(0x145);process[z(0x144)]['NO_NODE_WARNINGS']='1',Log[z(0x158)]('Preparing\x20to\x20install\x20Meteor\x20'+i[0x0]['replace'](/[^0-9.]/gi,'')[z(0x14a)](/\r?\n|\r/,''));let j=i[0x0][z(0x14a)](/[^0-9.]/gi,'')[z(0x14a)](/\r?\n|\r/,'');(typeof b['v']==='string'||typeof b[z(0x13f)]===z(0x120))&&(j=b['v']||b[z(0x13f)]);const k={'win32':'windows','darwin':'osx','linux':z(0x12a)},l=z(0x152)+k[a74e['platform']()]+'.'+(a74e['arch']()===z(0x12b)?'arm64':z(0x156))+z(0x175)+j,m=await HTTPS[z(0x143)]({'url':l,'cert':c});!m&&(Log[z(0x130)](z(0x169)+j+'\x20is\x20not\x20available.'),process[z(0x15d)](0x0));const n=a74f[z(0x124)](homeDir,z(0x13c)),o=async()=>{const A=z,q=A(0x157)+n+A(0x131);if(process[A(0x144)][A(0x155)]&&process[A(0x144)][A(0x155)][A(0x13e)]('zsh')){const r=await this['fsi'][A(0x121)](homeDir+A(0x122),q);if(!r)Log['info'](A(0x154)+homeDir+A(0x122)),this['fsi'][A(0x147)]({'filePath':homeDir+A(0x122),'content':q+'\x0a','opts':{'verbose':!![]}});else b['setPath']&&Log[A(0x137)](A(0x14d)+homeDir+'/.zshrc');}else{const s=await this[A(0x149)]['fileContainsString'](homeDir+A(0x16d),q);if(!s)Log[A(0x137)](A(0x166)+homeDir+A(0x16d)),this[A(0x149)]['injectAtEndOfFile']({'filePath':homeDir+A(0x16d),'content':q+'\x0a','opts':{'verbose':!![]}});else b['setPath']&&Log[A(0x137)](A(0x14d)+homeDir+'/.bashrc');const t=await this[A(0x149)]['fileContainsString'](homeDir+A(0x142),q);if(!t)Log['info'](A(0x166)+homeDir+A(0x142)),this['fsi']['injectAtEndOfFile']({'filePath':homeDir+A(0x142),'content':q+'\x0a','opts':{'verbose':!![]}});else b[A(0x174)]&&Log[A(0x137)](A(0x14d)+homeDir+A(0x142));if(isRoot()){const u=await this['fsi'][A(0x121)]('/etc/profile',q);if(!u)Log[A(0x137)]('Setting\x20Path\x20in\x20/etc/profile'),this[A(0x149)]['injectAtEndOfFile']({'filePath':A(0x14c),'content':q+'\x0a','opts':{'verbose':!![]}});else b[A(0x174)]&&Log[A(0x137)](A(0x15b));}}};b['setPath']&&(await o(),process[z(0x15d)](0x0));if(g)Log[z(0x130)](z(0x16b)),process[z(0x15d)](0x0);else{if(a74g['existsSync'](n)){let q=![];b['f']||b['force']?q=!![]:q=await Actions[z(0x168)]('Meteor\x20is\x20already\x20installed,\x20continue\x20and\x20remove\x20current\x20install?',![]),q?(await SpawnAsync[z(0x138)]('rm',[z(0x12f),a74f[z(0x124)](n,z(0x127))],{'message':'Removing\x20previous\x20install\x20of\x20meteor\x20(packages)'}),await SpawnAsync[z(0x138)]('rm',['-rf',a74f[z(0x124)](n,'package-metadata')],{'message':z(0x14f)}),await SpawnAsync[z(0x138)]('rm',['-rf',a74f[z(0x124)](n,z(0x159))],{'message':z(0x15a)})):(Log['info'](z(0x128)),process[z(0x15d)](0x0));}try{await HTTPS[z(0x151)]({'url':l,'destPath':a74f[z(0x124)](homeDir,z(0x15c)),'cert':c});try{const r=a74f[z(0x124)](homeDir,'meteor.tar.gz');await this['fsi'][z(0x170)](r,homeDir);}catch(s){Log[z(0x130)](z(0x16a));}!b[z(0x177)]&&await SpawnAsync['withSpinner']('rm',['-rf',a74f[z(0x124)](homeDir,z(0x15c))],{'message':z(0x16c)}),await o();}catch(t){console[z(0x130)](t),process[z(0x15d)](0x0);}Log[z(0x139)](z(0x169)+j+z(0x15e));}}catch(u){console[z(0x130)](u),process[z(0x15d)](0x0);}});
1
+ const a73y=a73d;(function(a,b){const v=a73d,c=a();while(!![]){try{const d=-parseInt(v(0x142))/0x1+parseInt(v(0x13e))/0x2+parseInt(v(0x117))/0x3+parseInt(v(0x147))/0x4*(-parseInt(v(0x125))/0x5)+parseInt(v(0x14b))/0x6*(parseInt(v(0x14f))/0x7)+-parseInt(v(0x139))/0x8*(-parseInt(v(0x15b))/0x9)+-parseInt(v(0x118))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x600d3));const a73b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a73d;if(c){const e=c[w(0x12f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){const x=a73d;return a73a[x(0x11e)]()['search'](x(0x104))[x(0x11e)]()[x(0x12a)](a73a)[x(0x108)](x(0x104));});a73a();import a73e from'os';import a73f from'path';function a73d(a,b){const c=a73c();return a73d=function(d,e){d=d-0x100;let f=c[d];return f;},a73d(a,b);}import a73g from'fs';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';function a73c(){const C=['Path\x20already\x20set\x20in\x20/etc/profile','osx','linux','176724GwzXWf','Setting\x20Path\x20in\x20\x20','confirm','exit','91QGymJa','version','getGlobalConfig','create','\x0a\x20\x20Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22\x20and\x20will\x20install\x0a\x20\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--force\x20flag\x20will\x20remove\x20the\x20current\x20install\x20of\x20meteor\x20and\x20install\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--version\x20flag\x20will\x20install\x20the\x20specified\x20version\x20of\x20meteor.\x0a\x0a\x20\x20\x20\x20--cacert\x20flag\x20will\x20use\x20the\x20specified\x20CA\x20Cert\x20file,\x20useful\x20for\x20corporate\x20networks.\x0a\x0a\x20\x20\x20\x20--setPath\x20flag\x20will\x20set\x20the\x20path\x20to\x20the\x20meteor\x20install\x20in\x20your\x20.bashrc\x20or\x20.zshrc\x20file\x20w/o\x20installing\x20meteor.\x0a\x20\x20','Meteor\x20is\x20already\x20installed,\x20continue\x20and\x20remove\x20current\x20install?','/etc/profile','fsi','Cleaning\x20up','maka\x20install\x20meteor\x20--force','platform','Setting\x20Path\x20in\x20','3123TQaaiW','Removing\x20previous\x20install\x20of\x20meteor\x20(packages)','Path\x20already\x20set\x20in\x20','downloadFile','arm64','Windows\x20is\x20not\x20supported\x20at\x20this\x20time.','isFile','injectAtEndOfFile','Error\x20extracting\x20meteor.tar.gz\x20file','RELEASE=','(((.+)+)+)+$','info','Meteor\x20version\x20','zsh','search','maka\x20install\x20meteor','error','packages','Network\x20error,\x20please\x20try\x20again.','env','grep','extractTarGz','cacert','homedir','join','Using\x20CA\x20Cert\x20','setPath','keepInstallFile','force','2187333tZoSSa','4520070GrmdKf','existsSync','withSpinner','meteor.tar.gz','You\x20are\x20running\x20as\x20root,\x20this\x20is\x20not\x20recommended.','NO_NODE_WARNINGS','toString','includes','string','warn',':$PATH','export\x20PATH=','\x20is\x20not\x20available.','2690dLLltN','.meteor','maka\x20install\x20meteor\x20--version\x202.13.3','Aborting\x20install','maka\x20install','constructor','notice','/.zshrc','arch','replace','apply','Aborted','install','length','Setting\x20Path\x20in\x20/etc/profile','/.bash_profile','meteor','-rf','get','getuid','10352ogPQEu','fileContainsString','cert','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','checkAvailability','1426112frzeyS','Preparing\x20to\x20install\x20Meteor\x20','data','SHELL','654471YQKQkY','Removing\x20previous\x20install\x20of\x20meteor\x20(main)','/.bashrc','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','https://install.meteor.com','5756DsSsJs'];a73c=function(){return C;};return a73c();}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const homeDir=a73e[a73y(0x111)]();function isRoot(){const z=a73y;return process[z(0x138)]&&process[z(0x138)]()===0x0;}Command[a73y(0x152)]({'name':a73y(0x131),'aliases':['i'],'validOpts':[a73y(0x116),a73y(0x150),a73y(0x110),a73y(0x114),a73y(0x115)],'usage':a73y(0x129),'shortDesc':'Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','description':a73y(0x153),'examples':[a73y(0x109),a73y(0x158),a73y(0x127),'maka\x20i']},async function(a,b){const A=a73y;try{let c='';if(b[A(0x110)]){if(this[A(0x156)]['isFile'](b[A(0x110)]))Log[A(0x12b)](A(0x113)+b[A(0x110)]),c=b['cacert'];else throw A(0x145)+c;}const d=await this['fsi'][A(0x151)]();if(d[A(0x13b)]){if(this['fsi'][A(0x100)](d[A(0x13b)]))c=d[A(0x13b)];else throw A(0x13c)+c;}let f=![];if(b['f']||b[A(0x116)])f=!![];else{const p=isRoot();p?(Log[A(0x121)](A(0x11c)),f=await Actions[A(0x14d)]('Proceed\x20anyway?',![])):f=!![];}if(!f)throw A(0x130);const g=process[A(0x159)]==='win32',h=await HTTPS[A(0x137)]({'url':A(0x146),'cert':c}),i=await this['fsi'][A(0x10e)](h[A(0x140)],A(0x103));if(i[A(0x132)]===0x0)throw A(0x10c);process['env'][A(0x11d)]='1',Log['notice'](A(0x13f)+i[0x0][A(0x12e)](/[^0-9.]/gi,'')[A(0x12e)](/\r?\n|\r/,''));let j=i[0x0][A(0x12e)](/[^0-9.]/gi,'')[A(0x12e)](/\r?\n|\r/,'');(typeof b['v']===A(0x120)||typeof b[A(0x150)]==='string')&&(j=b['v']||b['version']);const k={'win32':'windows','darwin':A(0x149),'linux':A(0x14a)},l='https://packages.meteor.com/bootstrap-link?arch=os.'+k[a73e['platform']()]+'.'+(a73e[A(0x12d)]()===A(0x15f)?A(0x15f):'x86_64')+'&release='+j,m=await HTTPS[A(0x13d)]({'url':l,'cert':c});!m&&(Log['error'](A(0x106)+j+A(0x124)),process[A(0x14e)](0x0));const n=a73f[A(0x112)](homeDir,A(0x126)),o=async()=>{const B=A,q=B(0x123)+n+B(0x122);if(process[B(0x10d)][B(0x141)]&&process['env'][B(0x141)][B(0x11f)](B(0x107))){const r=await this[B(0x156)]['fileContainsString'](homeDir+B(0x12c),q);if(!r)Log['info'](B(0x14c)+homeDir+B(0x12c)),this[B(0x156)][B(0x101)]({'filePath':homeDir+B(0x12c),'content':q+'\x0a','opts':{'verbose':!![]}});else b[B(0x114)]&&Log[B(0x105)](B(0x15d)+homeDir+'/.zshrc');}else{const s=await this[B(0x156)][B(0x13a)](homeDir+B(0x144),q);if(!s)Log['info'](B(0x15a)+homeDir+'/.bashrc'),this[B(0x156)]['injectAtEndOfFile']({'filePath':homeDir+'/.bashrc','content':q+'\x0a','opts':{'verbose':!![]}});else b['setPath']&&Log[B(0x105)](B(0x15d)+homeDir+B(0x144));const t=await this['fsi'][B(0x13a)](homeDir+B(0x134),q);if(!t)Log['info']('Setting\x20Path\x20in\x20'+homeDir+B(0x134)),this['fsi']['injectAtEndOfFile']({'filePath':homeDir+B(0x134),'content':q+'\x0a','opts':{'verbose':!![]}});else b[B(0x114)]&&Log[B(0x105)](B(0x15d)+homeDir+B(0x134));if(isRoot()){const u=await this[B(0x156)][B(0x13a)](B(0x155),q);if(!u)Log[B(0x105)](B(0x133)),this[B(0x156)]['injectAtEndOfFile']({'filePath':B(0x155),'content':q+'\x0a','opts':{'verbose':!![]}});else b[B(0x114)]&&Log[B(0x105)](B(0x148));}}};b[A(0x114)]&&(await o(),process[A(0x14e)](0x0));if(g)Log[A(0x10a)](A(0x160)),process[A(0x14e)](0x0);else{if(a73g[A(0x119)](n)){let q=![];b['f']||b[A(0x116)]?q=!![]:q=await Actions[A(0x14d)](A(0x154),![]),q?(await SpawnAsync['withSpinner']('rm',[A(0x136),a73f['join'](n,A(0x10b))],{'message':A(0x15c)}),await SpawnAsync[A(0x11a)]('rm',['-rf',a73f[A(0x112)](n,'package-metadata')],{'message':'Removing\x20previous\x20install\x20of\x20meteor\x20(package-meta)'}),await SpawnAsync['withSpinner']('rm',['-rf',a73f['join'](n,A(0x135))],{'message':A(0x143)})):(Log[A(0x105)](A(0x128)),process[A(0x14e)](0x0));}try{await HTTPS[A(0x15e)]({'url':l,'destPath':a73f[A(0x112)](homeDir,A(0x11b)),'cert':c});try{const r=a73f['join'](homeDir,A(0x11b));await this[A(0x156)][A(0x10f)](r,homeDir);}catch(s){Log['error'](A(0x102));}!b[A(0x115)]&&await SpawnAsync['withSpinner']('rm',[A(0x136),a73f[A(0x112)](homeDir,A(0x11b))],{'message':A(0x157)}),await o();}catch(t){console[A(0x10a)](t),process[A(0x14e)](0x0);}Log['success']('Meteor\x20version\x20'+j+'\x20installed.\x0a');}}catch(u){console[A(0x10a)](u),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a75m=a75d;(function(a,b){const j=a75d,c=a();while(!![]){try{const d=-parseInt(j(0x134))/0x1*(parseInt(j(0x12e))/0x2)+parseInt(j(0x13a))/0x3+parseInt(j(0x13d))/0x4+parseInt(j(0x12d))/0x5+parseInt(j(0x12c))/0x6*(-parseInt(j(0x143))/0x7)+-parseInt(j(0x133))/0x8+parseInt(j(0x14f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xbbcf3));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a75d;if(c){const e=c[k(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const l=a75d;return a75a[l(0x13f)]()['search'](l(0x142))[l(0x13f)]()['constructor'](a75a)['search'](l(0x142));});a75a();function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x128;let f=c[d];return f;},a75d(a,b);}function a75c(){const o=['stringify','toString','plugins/markdown','fsi','(((.+)+)+)+$','94815YKhRkg','jsdoc-config.json','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','maka\x20jsdoc\x20--init','sep','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','writeFileSync','app/private','inherit','config','app/node_modules','Running\x20','16445484mWGUCB','stop','docs','jsdoc','logNotice','306Mfwdgl','4068220lDWHuL','6guGhEj','logError','utf-8','\x0a[+]\x20Documentation\x20written\x20to\x20','app/packages','7712288zWzqjG','494113iSMsxM','apply','maka\x20jsdoc','\x20-c\x20','closure','join','1020831aMMHCp','pathFromProject','\x20-r\x20app','3700960sYyQPM'];a75c=function(){return o;};return a75c();}import a75e from'path';import a75f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command['create']({'name':a75m(0x12a),'usage':a75m(0x136),'mustBeInMakaProject':!![],'shortDesc':'Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','examples':[a75m(0x146),'maka\x20jsdoc'],'validOpts':[]},function(){const n=a75m,a=a75e[n(0x139)](this[n(0x141)]['pathFromProject']({}),n(0x129)+a75e[n(0x147)]),b=a75e[n(0x139)](this[n(0x141)][n(0x13b)]({}),n(0x14c),n(0x144)),c=this['fsi']['pathFromProject']({}),d=n(0x12a);if(!this['isFile'](b)){const g={'plugins':[n(0x140)],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc',n(0x138)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':n(0x148),'exclude':[n(0x132),n(0x14d),'app/public',n(0x14a)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':n(0x130)}};a75f[n(0x149)](b,JSON[n(0x13e)](g,null,0x4));}const f=this['logWithSpinner'](n(0x14e)+d);try{const h=d+n(0x137)+b+n(0x13c)+a75e['sep']+'\x20-d\x20'+a;execSync(h,{'cwd':c,'stdio':n(0x14b)}),this[n(0x12b)](n(0x131)+a);}catch(i){this['logError'](i),this[n(0x12f)](n(0x145));}finally{f[n(0x128)]();}});
1
+ const a74m=a74d;function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x17b;let f=c[d];return f;},a74d(a,b);}(function(a,b){const j=a74d,c=a();while(!![]){try{const d=-parseInt(j(0x19e))/0x1*(-parseInt(j(0x1a5))/0x2)+parseInt(j(0x19a))/0x3*(parseInt(j(0x184))/0x4)+parseInt(j(0x18b))/0x5*(parseInt(j(0x1a1))/0x6)+-parseInt(j(0x185))/0x7*(-parseInt(j(0x18f))/0x8)+-parseInt(j(0x198))/0x9+parseInt(j(0x190))/0xa+parseInt(j(0x1a0))/0xb*(-parseInt(j(0x17f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0xb3c2e));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a74d;if(c){const e=c[k(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const l=a74d;return a74a['toString']()[l(0x199)](l(0x19f))[l(0x194)]()[l(0x19d)](a74a)['search'](l(0x19f));});a74a();function a74c(){const o=['372THCzbn','sep','maka\x20jsdoc','inherit','jsdoc','487488EbzvRG','21YBXhdN','logWithSpinner','pathFromProject','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','apply','fsi','85RiMRHH','\x20-c\x20','jsdoc-config.json','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','188984IYAkmI','11372000JTkAnP','app/node_modules','app/packages','\x0a[+]\x20Documentation\x20written\x20to\x20','toString','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','stringify','writeFileSync','3560499WXcYua','search','30WzUbxH','logNotice','maka\x20jsdoc\x20--init','constructor','20897KUewWl','(((.+)+)+)+$','977218ojnEkS','404346hQZyZf','utf-8','logError','closure','30MfjBmN','isFile','stop','join','\x20-d\x20','app/private','config'];a74c=function(){return o;};return a74c();}import a74e from'path';import a74f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command['create']({'name':a74m(0x183),'usage':a74m(0x181),'mustBeInMakaProject':!![],'shortDesc':a74m(0x188),'examples':[a74m(0x19c),'maka\x20jsdoc'],'validOpts':[]},function(){const n=a74m,a=a74e[n(0x17b)](this[n(0x18a)][n(0x187)]({}),'docs'+a74e[n(0x180)]),b=a74e[n(0x17b)](this[n(0x18a)]['pathFromProject']({}),n(0x17e),n(0x18d)),c=this['fsi']['pathFromProject']({}),d=n(0x183);if(!this[n(0x1a6)](b)){const g={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc',n(0x1a4)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':n(0x18e),'exclude':[n(0x192),n(0x191),'app/public',n(0x17d)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':n(0x1a2)}};a74f[n(0x197)](b,JSON[n(0x196)](g,null,0x4));}const f=this[n(0x186)]('Running\x20'+d);try{const h=d+n(0x18c)+b+'\x20-r\x20app'+a74e[n(0x180)]+n(0x17c)+a;execSync(h,{'cwd':c,'stdio':n(0x182)}),this[n(0x19b)](n(0x193)+a);}catch(i){this[n(0x1a3)](i),this[n(0x1a3)](n(0x195));}finally{f[n(0x1a7)]();}});
@@ -1 +1 @@
1
- function a76c(){const u=['(((.+)+)+)+$','eslint','apply','6762RNloxi','length','create','eslint/eslintrc.json','error','16gYtSst','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','template','format','lint','installNpmPackage','findAppDirectory','success','isFile','loadFormatter','fix','eslint-plugin-react','40TvLVpY','8PxEkKf','305247IVxsPB','push','search','notice','1166VogSzm','join','fsi','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','maka\x20lint','549548NnWfNy','maka\x20lint\x20--fix','lintFiles','435jMQTru','1865776TlpKSG','390339HATPtC','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','1270241ufuaUx','checkNpmPackage','All\x20good!\x20:)','toString','eslint-plugin-css'];a76c=function(){return u;};return a76c();}const a76s=a76d;(function(a,b){const p=a76d,c=a();while(!![]){try{const d=parseInt(p(0x13f))/0x1*(parseInt(p(0x158))/0x2)+-parseInt(p(0x166))/0x3+-parseInt(p(0x144))/0x4+-parseInt(p(0x147))/0x5*(parseInt(p(0x153))/0x6)+-parseInt(p(0x14b))/0x7*(parseInt(p(0x165))/0x8)+-parseInt(p(0x149))/0x9+parseInt(p(0x164))/0xa*(parseInt(p(0x148))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x1eb4d));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a76d;if(c){const e=c[q(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const r=a76d;return a76a[r(0x14e)]()[r(0x13d)](r(0x150))[r(0x14e)]()['constructor'](a76a)[r(0x13d)](r(0x150));});a76a();import a76e from'path';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x13d;let f=c[d];return f;},a76d(a,b);}import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a76s(0x155)]({'name':a76s(0x15c),'usage':a76s(0x143),'maxArgLength':0x1,'validOpts':[a76s(0x162)],'mustBeInMakaProject':!![],'shortDesc':a76s(0x14a),'description':a76s(0x159),'examples':[a76s(0x145)]},async function(a,b){const t=a76s;try{const c=this[t(0x141)][t(0x15e)](),d=this[t(0x141)][t(0x14c)]('eslint'),f=this[t(0x141)][t(0x14c)](t(0x163)),g=this['fsi']['checkNpmPackage']('eslint-plugin-css'),h=[];!d&&h[t(0x167)](t(0x151));!f&&h['push'](t(0x163));!g&&h[t(0x167)](t(0x14f));h['length']>0x0&&await this[t(0x141)][t(0x15d)](h[t(0x140)]('\x20'),{'dev':!![]});const i=this[t(0x141)][t(0x160)](a76e['join'](c,'.eslintrc.json'));if(!i){const n={'noRename':!![]};await this['fsi'][t(0x15a)]({'srcPath':t(0x156),'destPath':a76e[t(0x140)](c,'.eslintrc.json'),'framework':'service','context':n});}const j=new ESLint(),k=await j[t(0x146)]([a76e[t(0x140)](c,'imports','**')]),l=await j[t(0x161)]('stylish'),m=await l[t(0x15b)](k);m[t(0x154)]>0x0?Log['bright'](m):Log[t(0x15f)](t(0x14d)),Log[t(0x13e)]('Lint\x20results\x20for\x20'+c+'/imports'),b[t(0x162)]?await ESLint['outputFixes'](k):Log[t(0x13e)](t(0x142));}catch(o){console[t(0x157)](o);}});
1
+ const a75r=a75d;function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a75d(a,b);}(function(a,b){const p=a75d,c=a();while(!![]){try{const d=parseInt(p(0x1db))/0x1*(parseInt(p(0x1cb))/0x2)+parseInt(p(0x1d7))/0x3*(parseInt(p(0x1d0))/0x4)+-parseInt(p(0x1d6))/0x5+parseInt(p(0x1e0))/0x6+-parseInt(p(0x1d5))/0x7+parseInt(p(0x1cd))/0x8+-parseInt(p(0x1ca))/0x9*(parseInt(p(0x1d1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xc9397));const a75b=(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;};}()),a75a=a75b(this,function(){const q=a75d;return a75a['toString']()[q(0x1e6)](q(0x1da))[q(0x1e4)]()[q(0x1e5)](a75a)[q(0x1e6)](q(0x1da));});a75a();import a75e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a75r(0x1cf)]({'name':a75r(0x1dd),'usage':a75r(0x1bc),'maxArgLength':0x1,'validOpts':[a75r(0x1bd)],'mustBeInMakaProject':!![],'shortDesc':a75r(0x1d9),'description':a75r(0x1d3),'examples':[a75r(0x1ba)]},async function(a,b){const s=a75r;try{const c=this[s(0x1d8)]['findAppDirectory'](),d=this[s(0x1d8)][s(0x1c5)]('eslint'),f=this[s(0x1d8)][s(0x1c5)](s(0x1de)),g=this[s(0x1d8)][s(0x1c5)](s(0x1bb)),h=[];!d&&h[s(0x1c8)](s(0x1e1));!f&&h[s(0x1c8)](s(0x1de));!g&&h['push'](s(0x1bb));h['length']>0x0&&await this[s(0x1d8)][s(0x1c0)](h[s(0x1c9)]('\x20'),{'dev':!![]});const i=this[s(0x1d8)][s(0x1df)](a75e['join'](c,s(0x1c7)));if(!i){const n={'noRename':!![]};await this[s(0x1d8)][s(0x1d4)]({'srcPath':s(0x1b9),'destPath':a75e[s(0x1c9)](c,s(0x1c7)),'framework':s(0x1c4),'context':n});}const j=new ESLint(),k=await j['lintFiles']([a75e[s(0x1c9)](c,s(0x1be),'**')]),l=await j[s(0x1e2)](s(0x1e3)),m=await l['format'](k);m[s(0x1dc)]>0x0?Log[s(0x1c6)](m):Log[s(0x1c2)](s(0x1cc)),Log[s(0x1c1)](s(0x1ce)+c+'/imports'),b['fix']?await ESLint[s(0x1c3)](k):Log['notice'](s(0x1d2));}catch(o){console[s(0x1bf)](o);}});function a75c(){const t=['template','684677wzRfRQ','6933030wwUoTK','3844299HDsUjK','fsi','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','(((.+)+)+)+$','9561FTPCzF','length','lint','eslint-plugin-react','isFile','7208166KFEWIi','eslint','loadFormatter','stylish','toString','constructor','search','eslint/eslintrc.json','maka\x20lint\x20--fix','eslint-plugin-css','maka\x20lint','fix','imports','error','installNpmPackage','notice','success','outputFixes','service','checkNpmPackage','bright','.eslintrc.json','push','join','189ROURdI','10uwuiRa','All\x20good!\x20:)','5151072gykLxE','Lint\x20results\x20for\x20','create','4oHIAuU','412310PVafRc','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20'];a75c=function(){return t;};return a75c();}
@@ -1 +1 @@
1
- const a77y=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0xf4))/0x1*(parseInt(w(0xf8))/0x2)+-parseInt(w(0xe4))/0x3*(-parseInt(w(0xde))/0x4)+-parseInt(w(0xcf))/0x5+parseInt(w(0xd5))/0x6+-parseInt(w(0xd8))/0x7+parseInt(w(0xda))/0x8*(-parseInt(w(0xef))/0x9)+parseInt(w(0xd9))/0xa*(-parseInt(w(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x652a7));const a77b=(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;};}()),a77a=a77b(this,function(){const x=a77d;return a77a[x(0xfa)]()[x(0xc8)]('(((.+)+)+)+$')[x(0xfa)]()[x(0xcc)](a77a)[x(0xc8)](x(0xce));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77c(){const A=['sha256','withSpinner','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','www.maka-cli.com','513sxSmGJ','maka\x20login','/api/v1/status','header','env','1JLHKDS','parse','11uhqByD','help','988360dcQlNw','Using\x20CA\x20Cert\x20','toString','error','Preflight\x20Check','search','start','success','True','constructor','password','(((.+)+)+)+$','2911005aPqOxL','Logging\x20in','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','create','email','update','4953390uGlnnN','authToken','cert','1615803ZrkvJE','2567340OYNbeb','55736oVWWQb','exit','ask','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','12OipvZp','localhost','isFile','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','login','setGlobalConfig','561513xVWjAP','https://','assign','post','cacert','failure','fsi'];a77c=function(){return A;};return a77c();}function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xc6;let f=c[d];return f;},a77d(a,b);}const hostname=process[a77y(0xf3)]['MAKA_DEV']===a77y(0xcb)?a77y(0xdf):a77y(0xee);Command['create']({'name':a77y(0xe2),'validOpts':['email','password',a77y(0xf7),'cacert','debug'],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77y(0xd1),'examples':[a77y(0xf0),a77y(0xe1)]},async function(a,b){const z=a77y,c=Log[z(0xec)]();try{let d='';b[z(0xe8)]&&(this[z(0xea)][z(0xe0)](b[z(0xe8)])?(d=b['cacert'],Log['notice'](z(0xf9)+d)):Log[z(0xc6)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi']['getGlobalConfig']();if(f['cert']){if(this[z(0xea)]['isFile'](f[z(0xd7)]))d=f[z(0xd7)];else{Log['error'](z(0xed)+d);return;}}Log[z(0xf2)]('Logging\x20into\x20https://'+hostname);const g={'url':'https://'+hostname+z(0xf1)};b['cacert']&&Object['assign'](g,{'cert':d});c[z(0xc9)](z(0xc7));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[z(0xe9)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[z(0xe9)]();throw z(0xe5)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[z(0xca)]();const i=b['email']?b[z(0xd3)]:await Actions['ask']('Email:'),j=b[z(0xcd)]?b[z(0xcd)]:await Actions[z(0xdc)]('Password:\x20',!![]),k=a77e['md'][z(0xeb)][z(0xd2)]();k[z(0xd4)](j);const l=k['digest']()['toHex'](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[z(0xe8)]&&Object['assign'](m,{'cert':d});c['start'](z(0xd0));const {data:n,statusCode:o}=await HTTPS[z(0xe7)](m);if(o===0x198){c[z(0xe9)]('\x0a');throw z(0xdd)+hostname;}const p=JSON[z(0xf5)](n);if(p[z(0xd6)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[z(0xd6)]},'data':{}};b['cacert']&&Object[z(0xe6)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[z(0xf5)](r);if(s===0x198)throw z(0xdd)+hostname;const u={'token':p,'hash':t};this[z(0xea)][z(0xe3)](u);}else{c[z(0xe9)]();throw p;}c[z(0xca)]();}catch(v){c[z(0xe9)](),console[z(0xc6)](v),process[z(0xdb)](0x0);}});
1
+ function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xd9;let f=c[d];return f;},a76d(a,b);}const a76z=a76d;(function(a,b){const w=a76d,c=a();while(!![]){try{const d=-parseInt(w(0xeb))/0x1+-parseInt(w(0xd9))/0x2+parseInt(w(0xdd))/0x3+parseInt(w(0xdb))/0x4+-parseInt(w(0x103))/0x5*(-parseInt(w(0xfb))/0x6)+parseInt(w(0xf3))/0x7+parseInt(w(0xe7))/0x8*(-parseInt(w(0xff))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xcbb7f));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a76d;if(c){const e=c[x(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const y=a76d;return a76a[y(0xfe)]()[y(0xda)](y(0xf4))[y(0xfe)]()[y(0x102)](a76a)['search'](y(0xf4));});a76a();import a76e from'node-forge';function a76c(){const B=['1857256LVjcme','/api/v1/status','create','localhost','650031WHtZVF','MAKA_DEV','start','isFile','assign','parse','help','fsi','2162783YVPwEQ','(((.+)+)+)+$','post','ask','success','debug','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','/api/v1/login','138GatFQQ','exit','Using\x20CA\x20Cert\x20','toString','9ZeEjZB','env','/api/v1/encodeJwt','constructor','214615PHbAfi','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','sha256','True','failure','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','Email:','Logging\x20in','www.maka-cli.com','https://','maka\x20login','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','2324572lbsSdk','search','1250668NDtUsb','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','3810120PzItkm','error','authToken','apply','Password:\x20','email','cert','password','cacert','toHex'];a76c=function(){return B;};return a76c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a76z(0x100)][a76z(0xec)]===a76z(0x106)?a76z(0xea):a76z(0x10b);Command[a76z(0xe9)]({'name':'login','validOpts':[a76z(0xe2),'password',a76z(0xf1),a76z(0xe5),a76z(0xf8)],'usage':a76z(0x10d),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a76z(0x108),'examples':[a76z(0x10d),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a76z,c=Log['withSpinner']();try{let d='';b[A(0xe5)]&&(this[A(0xf2)][A(0xee)](b[A(0xe5)])?(d=b[A(0xe5)],Log['notice'](A(0xfd)+d)):Log[A(0xde)](A(0xf9)+d));const f=await this[A(0xf2)]['getGlobalConfig']();if(f[A(0xe3)]){if(this[A(0xf2)][A(0xee)](f[A(0xe3)]))d=f['cert'];else{Log[A(0xde)](A(0xdc)+d);return;}}Log['header']('Logging\x20into\x20https://'+hostname);const g={'url':A(0x10c)+hostname+A(0xe8)};b[A(0xe5)]&&Object[A(0xef)](g,{'cert':d});c[A(0xed)]('Preflight\x20Check');const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[A(0x107)]();throw A(0x104);}if(h!==0xc8){c[A(0x107)]();throw'https://'+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c['success']();const i=b['email']?b[A(0xe2)]:await Actions['ask'](A(0x109)),j=b[A(0xe4)]?b[A(0xe4)]:await Actions[A(0xf6)](A(0xe1),!![]),k=a76e['md'][A(0x105)][A(0xe9)]();k['update'](j);const l=k['digest']()[A(0xe6)](),m={'hostname':hostname,'path':A(0xfa),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xe5)]&&Object[A(0xef)](m,{'cert':d});c[A(0xed)](A(0x10a));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x107)]('\x0a');throw A(0x10e)+hostname;}const p=JSON['parse'](n);if(p['authToken']){const q={'hostname':hostname,'path':A(0x101),'headers':{'x-auth-token':p[A(0xdf)]},'data':{}};b['cacert']&&Object[A(0xef)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0xf5)](q),{token:t}=JSON[A(0xf0)](r);if(s===0x198)throw A(0x10e)+hostname;const u={'token':p,'hash':t};this[A(0xf2)]['setGlobalConfig'](u);}else{c['failure']();throw p;}c[A(0xf7)]();}catch(v){c[A(0x107)](),console[A(0xde)](v),process[A(0xfc)](0x0);}});
@@ -1 +1 @@
1
- const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x1a4))/0x1*(-parseInt(l(0x19d))/0x2)+parseInt(l(0x188))/0x3*(-parseInt(l(0x198))/0x4)+parseInt(l(0x1a8))/0x5+-parseInt(l(0x185))/0x6+parseInt(l(0x182))/0x7*(-parseInt(l(0x189))/0x8)+-parseInt(l(0x1a7))/0x9+-parseInt(l(0x1a9))/0xa*(-parseInt(l(0x19c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xd7b40));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0x1a0)]()['search']('(((.+)+)+)+$')[n(0x1a0)]()['constructor'](a78a)[n(0x18a)](n(0x187));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0x186)][a78o(0x1a1)]===a78o(0x190)?'localhost':'www.maka-cli.com';function a78c(){const q=['5353090qBLTln','980RDQNzj','success','start','header','35QiAUHs','withSpinner','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','7376562NkPuPP','env','(((.+)+)+)+$','6UVNTcl','2721896qpFUvX','search','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Preflight\x20Check','get','failure','True','token','error','isFile','maka\x20logout','getGlobalConfig','/api/v1/logoutAll','https://','1084376JopGtg','exit','assign','cert','355366UIfsIp','6LewMTr','Using\x20CA\x20Cert\x20','apply','toString','MAKA_DEV','cacert','Logging\x20out','388932TduTnm','fsi','authToken','9423738gBLUFU'];a78c=function(){return q;};return a78c();}function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x182;let f=c[d];return f;},a78d(a,b);}Command['create']({'name':'logout','validOpts':[a78o(0x1a2)],'usage':a78o(0x194),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a78o(0x194)]},async function(a,b){const p=a78o,c=Log[p(0x183)]();try{let d='';b[p(0x1a2)]&&(this[p(0x1a5)][p(0x193)](b[p(0x1a2)])?(d=b[p(0x1a2)],Log['notice'](p(0x19e)+d)):Log[p(0x192)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[p(0x1a5)][p(0x195)]();if(f[p(0x19b)]){if(this[p(0x1a5)]['isFile'](f[p(0x19b)]))d=f['cert'];else{c[p(0x18f)]();throw Log[p(0x192)](p(0x184)+d);}}Log[p(0x1ac)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':p(0x197)+hostname+'/api/v1/status'};b[p(0x1a2)]&&Object['assign'](g,{'cert':d});c[p(0x1ab)](p(0x18d));const {statusCode:h}=await HTTPS[p(0x18e)](g);if(h===0x198){c[p(0x18f)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x1aa)]();if(h!==0xc8){c['failure']();throw p(0x18b);}if(!f?.[p(0x191)]?.['authToken'])throw Log[p(0x192)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c['start'](p(0x1a3));const i={'hostname':hostname,'path':p(0x196),'data':{},'headers':{'x-auth-token':f[p(0x191)][p(0x1a6)]}};b[p(0x1a2)]&&Object[p(0x19a)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw p(0x18c);}this['fsi']['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x1aa)]();}catch(k){k&&console[p(0x192)](k),process[p(0x199)](0x0);}});
1
+ const a77o=a77d;(function(a,b){const l=a77d,c=a();while(!![]){try{const d=-parseInt(l(0x70))/0x1+parseInt(l(0x79))/0x2*(parseInt(l(0x69))/0x3)+-parseInt(l(0x85))/0x4+-parseInt(l(0x7e))/0x5+-parseInt(l(0x89))/0x6+parseInt(l(0x86))/0x7+parseInt(l(0x6a))/0x8*(parseInt(l(0x6e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x28f43));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a77d;if(c){const e=c[m(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const n=a77d;return a77a[n(0x7d)]()[n(0x72)](n(0x6d))[n(0x7d)]()[n(0x78)](a77a)[n(0x72)]('(((.+)+)+)+$');});a77a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x65;let f=c[d];return f;},a77d(a,b);}import{HTTPS}from'../tools/https/https.class.js';function a77c(){const q=['success','error','create','fsi','failure','cert','www.maka-cli.com','assign','withSpinner','https://','token','6TwVIGY','1395272ryqSIw','start','env','(((.+)+)+)+$','18xEcKxg','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','251520CYOqXY','header','search','setGlobalConfig','Logging\x20out','isFile','apply','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','constructor','40064AopaST','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','notice','/api/v1/logoutAll','toString','494070gjQspt','getGlobalConfig','logout','Logging\x20out\x20of\x20https://','MAKA_DEV','authToken','get','265148ieersT','1687595ghkJSh','exit','cacert','273594dqrqgk','/api/v1/status','maka\x20logout','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','True'];a77c=function(){return q;};return a77c();}const hostname=process[a77o(0x6c)][a77o(0x82)]===a77o(0x8e)?'localhost':a77o(0x95);Command[a77o(0x91)]({'name':a77o(0x80),'validOpts':[a77o(0x88)],'usage':a77o(0x8b),'maxArgLength':0x2,'shortDesc':a77o(0x77),'disableAuthCheck':!![],'examples':[a77o(0x8b)]},async function(a,b){const p=a77o,c=Log[p(0x66)]();try{let d='';b[p(0x88)]&&(this[p(0x92)][p(0x75)](b[p(0x88)])?(d=b[p(0x88)],Log[p(0x7b)]('Using\x20CA\x20Cert\x20'+d)):Log[p(0x90)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[p(0x92)][p(0x7f)]();if(f['cert']){if(this[p(0x92)][p(0x75)](f[p(0x94)]))d=f['cert'];else{c[p(0x93)]();throw Log[p(0x90)](p(0x7a)+d);}}Log[p(0x71)](p(0x81)+hostname);const g={'url':p(0x67)+hostname+p(0x8a)};b[p(0x88)]&&Object[p(0x65)](g,{'cert':d});c[p(0x6b)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[p(0x84)](g);if(h===0x198){c[p(0x93)]();throw p(0x6f);}c[p(0x8f)]();if(h!==0xc8){c[p(0x93)]();throw p(0x8d);}if(!f?.[p(0x68)]?.['authToken'])throw Log[p(0x90)](p(0x8c));c['start'](p(0x74));const i={'hostname':hostname,'path':p(0x7c),'data':{},'headers':{'x-auth-token':f[p(0x68)][p(0x83)]}};b[p(0x88)]&&Object[p(0x65)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw p(0x6f);}this[p(0x92)][p(0x73)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x8f)]();}catch(k){k&&console['error'](k),process[p(0x87)](0x0);}});
@@ -1 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x85))/0x1+-parseInt(j(0x7a))/0x2+-parseInt(j(0x7f))/0x3+-parseInt(j(0x80))/0x4*(-parseInt(j(0x6d))/0x5)+parseInt(j(0x84))/0x6+-parseInt(j(0x87))/0x7+parseInt(j(0x6f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xbc471));function a79c(){const o=['pm2\x20logs','2051648vMcKlQ','logs','constructor','parse','maka\x20logs\x20--env\x20staging','2941971yJvRxS','4419248DkpvHh','maka\x20logs\x20--env\x20dev','env','search','1270326pHPgtE','350035QSIKaJ','apply','1058218dEPWCL','5UNEGPr','create','15698736fKygLq','ssh.json','View\x20the\x20PM2\x20logs','join','(((.+)+)+)+$','verbose','readFileSync','getAppConfigPath','toString','error'];a79c=function(){return o;};return a79c();}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x77)]()[l(0x83)](l(0x73))[l(0x77)]()[l(0x7c)](a79a)[l(0x83)](l(0x73));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x6d;let f=c[d];return f;},a79d(a,b);}import{Log}from'../tools/log/log.class.js';Command[a79m(0x6e)]({'name':a79m(0x7b),'aliases':['l','log'],'usage':'maka\x20logs','requiredOpts':[a79m(0x82)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x74)],'shortDesc':a79m(0x71),'isPro':!![],'examples':[a79m(0x81),a79m(0x7e),'maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c=n(0x79),d=this['fsi'][n(0x76)](b[n(0x82)]),f=a79f[n(0x72)](d,n(0x70)),g=a79e[n(0x75)](f),h=JSON[n(0x7d)](g[n(0x77)]());Object['assign'](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x78)](i);}});
1
+ function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x10e;let f=c[d];return f;},a78d(a,b);}const a78l=a78d;(function(a,b){const j=a78d,c=a();while(!![]){try{const d=parseInt(j(0x128))/0x1*(parseInt(j(0x12c))/0x2)+-parseInt(j(0x119))/0x3+-parseInt(j(0x129))/0x4*(parseInt(j(0x121))/0x5)+parseInt(j(0x12b))/0x6+-parseInt(j(0x11a))/0x7+parseInt(j(0x122))/0x8+parseInt(j(0x110))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xbe4b4));const a78b=(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;};}()),a78a=a78b(this,function(){const k=a78d;return a78a[k(0x126)]()['search'](k(0x11e))[k(0x126)]()[k(0x123)](a78a)[k(0x11f)]('(((.+)+)+)+$');});a78a();import a78e from'fs';import a78f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a78c(){const n=['sshSync','toString','getAppConfigPath','527293hYoEsP','1436HmnJSQ','join','1870080DXNhyU','4pYIjeC','error','maka\x20logs\x20--env\x20staging','26774262CtCWUh','maka\x20logs','pm2\x20logs','parse','verbose','View\x20the\x20PM2\x20logs','logs','env','assign','4419048GGDTCo','8412796TUrCzx','maka\x20l\x20-e\x20p','readFileSync','fsi','(((.+)+)+)+$','search','log','17320MWkSwF','2853440YxuzvP','constructor','maka\x20logs\x20--env\x20dev'];a78c=function(){return n;};return a78c();}import{Log}from'../tools/log/log.class.js';Command['create']({'name':a78l(0x116),'aliases':['l',a78l(0x120)],'usage':a78l(0x111),'requiredOpts':[a78l(0x117)],'mustBeInMakaProject':!![],'validOpts':[a78l(0x114)],'shortDesc':a78l(0x115),'isPro':!![],'examples':[a78l(0x124),a78l(0x10f),a78l(0x11b)]},function(a,b){const m=a78l;try{const c=m(0x112),d=this[m(0x11d)][m(0x127)](b[m(0x117)]),f=a78f[m(0x12a)](d,'ssh.json'),g=a78e[m(0x11c)](f),h=JSON[m(0x113)](g[m(0x126)]());Object[m(0x118)](h,{'env':d}),SSH[m(0x125)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[m(0x10e)](i);}});
@@ -1 +1 @@
1
- const a80i=a80d;function a80c(){const k=['apply','processAndRunCommand','589842fHrLdF','(((.+)+)+)+$','maka\x20<command>\x20[<args>]\x20[<opts>]','6iniCcy','exit','331396lRUuNV','625868cLWwqH','maka\x20install\x20meteor','1068732WzrzSH','1748150ConwZD','maka\x20create\x20Todo','constructor','6gnqiEr','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','306528PVFsWS','toString','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka','225018yWMIFn','search'];a80c=function(){return k;};return a80c();}(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x1fb))/0x1+-parseInt(f(0x1f9))/0x2*(-parseInt(f(0x1f2))/0x3)+-parseInt(f(0x1fc))/0x4+-parseInt(f(0x1e9))/0x5+-parseInt(f(0x1ec))/0x6*(-parseInt(f(0x1e8))/0x7)+parseInt(f(0x1ee))/0x8+-parseInt(f(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x2ae9b));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x1ef)]()[h(0x1f3)](h(0x1f7))[h(0x1ef)]()[h(0x1eb)](a80a)['search'](h(0x1f7));});a80a();import{Command}from'../command.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a80d(a,b);}const Maka=new Command({'name':a80i(0x1f1),'minArgLength':0x1,'shortDesc':a80i(0x1ed),'validOpts':[],'usage':a80i(0x1f8),'disableAuthCheck':!![],'examples':['maka\x20--help',a80i(0x1fd),a80i(0x1ea),'maka\x20run'],'description':a80i(0x1f0)},async function(a,b){const j=a80i;try{const c=a[0x0];a['splice'](0x0,0x1),await this[j(0x1f5)](c,a,b);}catch(d){process[j(0x1fa)](0x1);}});export default Maka;
1
+ const a79i=a79d;(function(a,b){const f=a79d,c=a();while(!![]){try{const d=-parseInt(f(0x143))/0x1+parseInt(f(0x147))/0x2*(parseInt(f(0x14d))/0x3)+parseInt(f(0x14e))/0x4+-parseInt(f(0x146))/0x5+-parseInt(f(0x14a))/0x6+-parseInt(f(0x141))/0x7+parseInt(f(0x140))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x4ffa6));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a79d;if(c){const e=c[g(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const h=a79d;return a79a[h(0x148)]()[h(0x14b)](h(0x144))[h(0x148)]()[h(0x142)](a79a)[h(0x14b)]('(((.+)+)+)+$');});function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x13e;let f=c[d];return f;},a79d(a,b);}a79a();function a79c(){const k=['apply','maka\x20create\x20Todo','10921568kqjbUy','1804327QSdJZN','constructor','620642fYPYTY','(((.+)+)+)+$','processAndRunCommand','1987590kIkMiA','2SfPphV','toString','maka\x20<command>\x20[<args>]\x20[<opts>]','3703992OjkvpV','search','splice','1916157SnogwA','867712ZQVVxs','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20run','maka','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'];a79c=function(){return k;};return a79c();}import{Command}from'../command.js';const Maka=new Command({'name':a79i(0x151),'minArgLength':0x1,'shortDesc':a79i(0x14f),'validOpts':[],'usage':a79i(0x149),'disableAuthCheck':!![],'examples':['maka\x20--help','maka\x20install\x20meteor',a79i(0x13f),a79i(0x150)],'description':a79i(0x152)},async function(a,b){const j=a79i;try{const c=a[0x0];a[j(0x14c)](0x0,0x1),await this[j(0x145)](c,a,b);}catch(d){process['exit'](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x7c))/0x1+-parseInt(f(0x83))/0x2+-parseInt(f(0x8a))/0x3+parseInt(f(0x7e))/0x4*(parseInt(f(0x7b))/0x5)+parseInt(f(0x8d))/0x6+parseInt(f(0x81))/0x7+-parseInt(f(0x82))/0x8*(-parseInt(f(0x8c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x2f3be));var a81b=(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;};}()),a81a=a81b(this,function(){var g=a81d;return a81a[g(0x86)]()[g(0x85)](g(0x7f))[g(0x86)]()[g(0x7d)](a81a)[g(0x85)]('(((.+)+)+)+$');});function a81c(){var j=['558594aZKjie','murder','search','toString','exit','maka\x20murder','Murrrrderrrrr','1111665JbWIkm','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','5301603PKUeaq','182982CQEfID','20nBXzqa','102679rWAGMi','constructor','194368ZxoUlu','(((.+)+)+)+$','create','924483jswlOu','8XojDRj'];a81c=function(){return j;};return a81c();}a81a();import{Command}from'../command.js';function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x7b;var f=c[d];return f;},a81d(a,b);}Command[a81h(0x80)]({'name':a81h(0x84),'usage':a81h(0x88),'maxArgLength':0x1,'shortDesc':a81h(0x89),'validOpts':[]},async function(){var i=a81h;try{console['log'](i(0x8b),'font-family:\x20monospace');}catch(a){console['error'](a),process[i(0x87)](0x0);}});
1
+ var a80i=a80d;(function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0xe1))/0x1*(-parseInt(f(0xd9))/0x2)+parseInt(f(0xe5))/0x3+-parseInt(f(0xda))/0x4+parseInt(f(0xd7))/0x5+parseInt(f(0xdb))/0x6+parseInt(f(0xde))/0x7+-parseInt(f(0xd6))/0x8*(parseInt(f(0xdc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xbf05b));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0xdd)]()['search'](h(0xe2))[h(0xdd)]()['constructor'](a80a)[h(0xe6)](h(0xe2));});a80a();import{Command}from'../command.js';function a80c(){var k=['log','390958eqwWuP','5745792DgtAbV','6699912WGGjtH','14481lxnGEZ','toString','4103799GVpieE','create','font-family:\x20monospace','5akuIUe','(((.+)+)+)+$','apply','error','659139JIBghM','search','exit','4744PDfmCv','1364975lkyTOa'];a80c=function(){return k;};return a80c();}function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0xd6;var f=c[d];return f;},a80d(a,b);}Command[a80i(0xdf)]({'name':'murder','usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a80i;try{console[j(0xd8)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',j(0xe0));}catch(a){console[j(0xe4)](a),process[j(0xe7)](0x0);}});
@@ -1 +1 @@
1
- const a82o=a82d;function a82c(){const q=['\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','search','listenPort','7764IBaejG','fsi','localhost','processAndRunGenerator','18ZgtMWI','maka\x20proxy','40UkvTHK','targetHost','.key','2291436BpglMO','join','utf8','mkKeysDir','getMakaProjectConfig','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','bright','648172KPOhgY','listen','genSSC','142PPZKyS','=>\x20SSL\x20Proxy\x20forwarding\x20','4GKCkGZ','isFile','(((.+)+)+)+$','.csr','79648Jephqs','926635mHWycV','appName','targetPort','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','constructor','error','genCSR','sslconfig','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','create','3928298FWVWQa','readFileSync','2105528qixLOw','development','.crt','toString'];a82c=function(){return q;};return a82c();}(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x1b6))/0x1+-parseInt(m(0x1b0))/0x2*(parseInt(m(0x19d))/0x3)+-parseInt(m(0x1b2))/0x4*(parseInt(m(0x1b7))/0x5)+-parseInt(m(0x1a1))/0x6*(parseInt(m(0x1ad))/0x7)+-parseInt(m(0x1c3))/0x8+-parseInt(m(0x1a6))/0x9+parseInt(m(0x1a3))/0xa*(parseInt(m(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x2cf66));const a82b=(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;};}()),a82a=a82b(this,function(){const n=a82d;return a82a[n(0x199)]()[n(0x19b)](n(0x1b4))['toString']()[n(0x1bb)](a82a)[n(0x19b)]('(((.+)+)+)+$');});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x199;let f=c[d];return f;},a82d(a,b);}import a82h from'../generators/maka.gen.js';Command[a82o(0x1c0)]({'name':'proxy','usage':a82o(0x1a2),'mustBeInMakaProject':!![],'validOpts':['help',a82o(0x1b9),a82o(0x19c),a82o(0x1a4)],'maxArgLength':0x1,'shortDesc':a82o(0x1bf),'description':a82o(0x19a),'examples':['maka\x20proxy',a82o(0x1ab),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const p=a82o,c=this[p(0x19e)][p(0x1aa)](),d=p(0x1c4),e=this[p(0x19e)]['getAppConfigPath'](d),f=this[p(0x19e)][p(0x1a9)]({'configPath':e}),g=b[p(0x1b9)]?Number(b[p(0x1b9)]):0xbb8,h=b[p(0x19c)]?Number(b[p(0x19c)]):0xd73,i=b[p(0x1a4)]?b[p(0x1a4)]:p(0x19f),j=a82f[p(0x1a7)](f,c[p(0x1b8)]+p(0x1a5)),k=a82f[p(0x1a7)](f,c[p(0x1b8)]+p(0x1c5));(!this[p(0x19e)][p(0x1b3)](j)||!this[p(0x19e)]['isFile'](k))&&(await a82h[p(0x1a0)](p(0x1be),[],{'env':d}),SSL[p(0x1bd)]({'keyName':c[p(0x1b8)]+p(0x1a5),'csrName':c[p(0x1b8)]+p(0x1b5),'cwd':f}),SSL[p(0x1af)]({'keyName':c[p(0x1b8)]+p(0x1a5),'crtName':c[p(0x1b8)]+p(0x1c5),'cwd':f}));if(g===h){Log[p(0x1bc)](p(0x1ba));throw new UsageError();}const l={'ssl':{'key':a82e[p(0x1c2)](j,p(0x1a8)),'cert':a82e['readFileSync'](k,p(0x1a8))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[p(0x1ae)](Number(h)),Log[p(0x1ac)](p(0x1b1)+h+'\x20to\x20'+g);});
1
+ const a81p=a81d;(function(a,b){const m=a81d,c=a();while(!![]){try{const d=-parseInt(m(0xe5))/0x1+-parseInt(m(0xf7))/0x2*(parseInt(m(0xf5))/0x3)+parseInt(m(0x109))/0x4*(-parseInt(m(0x108))/0x5)+-parseInt(m(0xed))/0x6*(parseInt(m(0xf0))/0x7)+-parseInt(m(0xe8))/0x8+-parseInt(m(0xf3))/0x9+parseInt(m(0xef))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xc6bcb));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a81d;if(c){const e=c[n(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const o=a81d;return a81a[o(0x104)]()[o(0x107)]('(((.+)+)+)+$')[o(0x104)]()[o(0xf1)](a81a)['search'](o(0xee));});a81a();function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xe1;let f=c[d];return f;},a81d(a,b);}import a81e from'fs';import a81f from'path';import a81g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a81h from'../generators/maka.gen.js';Command[a81p(0xfd)]({'name':a81p(0x101),'usage':a81p(0x106),'mustBeInMakaProject':!![],'validOpts':[a81p(0x103),a81p(0xfa),a81p(0xeb),a81p(0x100)],'maxArgLength':0x1,'shortDesc':a81p(0xf4),'description':a81p(0x10b),'examples':[a81p(0x106),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a81p(0xf9)]},async function(a,b){const q=a81p,c=this[q(0x10c)][q(0xf8)](),d=q(0x10a),e=this[q(0x10c)][q(0xe2)](d),f=this[q(0x10c)][q(0xff)]({'configPath':e}),g=b[q(0xfa)]?Number(b[q(0xfa)]):0xbb8,h=b['listenPort']?Number(b[q(0xeb)]):0xd73,i=b[q(0x100)]?b[q(0x100)]:'localhost',j=a81f[q(0xfb)](f,c[q(0x10e)]+'.key'),k=a81f[q(0xfb)](f,c['appName']+q(0xea));(!this[q(0x10c)][q(0x105)](j)||!this['fsi']['isFile'](k))&&(await a81h[q(0xe7)]('sslconfig',[],{'env':d}),SSL[q(0xfe)]({'keyName':c[q(0x10e)]+q(0x10f),'csrName':c[q(0x10e)]+q(0xe1),'cwd':f}),SSL[q(0xf6)]({'keyName':c[q(0x10e)]+q(0x10f),'crtName':c[q(0x10e)]+q(0xea),'cwd':f}));if(g===h){Log[q(0xe9)](q(0x102));throw new UsageError();}const l={'ssl':{'key':a81e[q(0xf2)](j,'utf8'),'cert':a81e[q(0xf2)](k,q(0x10d))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a81g[q(0xe3)](l)[q(0xe4)](Number(h)),Log[q(0xfc)](q(0xec)+h+'\x20to\x20'+g);});function a81c(){const r=['join','bright','create','genCSR','mkKeysDir','targetHost','proxy','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','help','toString','isFile','maka\x20proxy','search','205yhDGof','59924GHOcyZ','development','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','fsi','utf8','appName','.key','.csr','getAppConfigPath','createProxyServer','listen','1179198AakwYf','apply','processAndRunGenerator','4727544WjlKFC','error','.crt','listenPort','=>\x20SSL\x20Proxy\x20forwarding\x20','1031106tugKyu','(((.+)+)+)+$','61436920RQFFqV','35nvhhVz','constructor','readFileSync','5641974fDkXlG','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','46569jWizoc','genSSC','188qOxZUz','getMakaProjectConfig','maka\x20proxy\x20--target-host\x20http://192.168.1.20','targetPort'];a81c=function(){return r;};return a81c();}