omegga 1.2.9 → 1.4.0

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 (328) hide show
  1. package/README.md +50 -11
  2. package/dist/brickadia/config.js +26 -90
  3. package/dist/brickadia/config.js.map +1 -1
  4. package/dist/brickadia/server.js +290 -293
  5. package/dist/brickadia/server.js.map +1 -1
  6. package/dist/cli/auth.js +149 -177
  7. package/dist/cli/auth.js.map +1 -1
  8. package/dist/cli/config.js +64 -66
  9. package/dist/cli/config.js.map +1 -1
  10. package/dist/cli/index.js +14 -14
  11. package/dist/cli/index.js.map +1 -1
  12. package/dist/cli/installer.js +37 -43
  13. package/dist/cli/installer.js.map +1 -1
  14. package/dist/cli/plugin.js +651 -682
  15. package/dist/cli/plugin.js.map +1 -1
  16. package/dist/cli/terminal.js +811 -733
  17. package/dist/cli/terminal.js.map +1 -1
  18. package/dist/config/formats/format_js.js +6 -6
  19. package/dist/config/formats/format_js.js.map +1 -1
  20. package/dist/config/formats/format_yml.js +7 -10
  21. package/dist/config/formats/format_yml.js.map +1 -1
  22. package/dist/config/index.js +46 -68
  23. package/dist/config/index.js.map +1 -1
  24. package/dist/config/reader.js +16 -27
  25. package/dist/config/reader.js.map +1 -1
  26. package/dist/config/validator.js +23 -25
  27. package/dist/config/validator.js.map +1 -1
  28. package/dist/config/writer.js +11 -21
  29. package/dist/config/writer.js.map +1 -1
  30. package/dist/index.js +18 -64
  31. package/dist/index.js.map +1 -1
  32. package/dist/info/default_commands.json.js +39 -0
  33. package/dist/info/default_commands.json.js.map +1 -0
  34. package/dist/logger.js +61 -60
  35. package/dist/logger.js.map +1 -1
  36. package/dist/main.js +425 -471
  37. package/dist/main.js.map +1 -1
  38. package/dist/omegga/auth.js +101 -148
  39. package/dist/omegga/auth.js.map +1 -1
  40. package/dist/omegga/commandInjector.js +261 -251
  41. package/dist/omegga/commandInjector.js.map +1 -1
  42. package/dist/omegga/index.js +14 -52
  43. package/dist/omegga/index.js.map +1 -1
  44. package/dist/omegga/logWrangler.js +224 -275
  45. package/dist/omegga/logWrangler.js.map +1 -1
  46. package/dist/omegga/matchers/auth.js +36 -50
  47. package/dist/omegga/matchers/auth.js.map +1 -1
  48. package/dist/omegga/matchers/chat.js +49 -71
  49. package/dist/omegga/matchers/chat.js.map +1 -1
  50. package/dist/omegga/matchers/command.js +25 -36
  51. package/dist/omegga/matchers/command.js.map +1 -1
  52. package/dist/omegga/matchers/exit.js +15 -18
  53. package/dist/omegga/matchers/exit.js.map +1 -1
  54. package/dist/omegga/matchers/index.js +26 -40
  55. package/dist/omegga/matchers/index.js.map +1 -1
  56. package/dist/omegga/matchers/init.js +20 -23
  57. package/dist/omegga/matchers/init.js.map +1 -1
  58. package/dist/omegga/matchers/interact.js +58 -64
  59. package/dist/omegga/matchers/interact.js.map +1 -1
  60. package/dist/omegga/matchers/join.js +74 -95
  61. package/dist/omegga/matchers/join.js.map +1 -1
  62. package/dist/omegga/matchers/leave.js +43 -56
  63. package/dist/omegga/matchers/leave.js.map +1 -1
  64. package/dist/omegga/matchers/mapChange.js +26 -35
  65. package/dist/omegga/matchers/mapChange.js.map +1 -1
  66. package/dist/omegga/matchers/minigameJoin.js +24 -31
  67. package/dist/omegga/matchers/minigameJoin.js.map +1 -1
  68. package/dist/omegga/matchers/version.js +42 -49
  69. package/dist/omegga/matchers/version.js.map +1 -1
  70. package/dist/omegga/player.js +562 -528
  71. package/dist/omegga/player.js.map +1 -1
  72. package/dist/omegga/plugin/interface.js +91 -98
  73. package/dist/omegga/plugin/interface.js.map +1 -1
  74. package/dist/omegga/plugin/plugin_jsonrpc_stdio.js +578 -429
  75. package/dist/omegga/plugin/plugin_jsonrpc_stdio.js.map +1 -1
  76. package/dist/omegga/plugin/plugin_node_safe/proxyOmegga.js +282 -294
  77. package/dist/omegga/plugin/plugin_node_safe/proxyOmegga.js.map +1 -1
  78. package/dist/omegga/plugin/plugin_node_safe.js +365 -393
  79. package/dist/omegga/plugin/plugin_node_safe.js.map +1 -1
  80. package/dist/omegga/plugin/plugin_node_unsafe.js +119 -179
  81. package/dist/omegga/plugin/plugin_node_unsafe.js.map +1 -1
  82. package/dist/omegga/plugin.js +402 -347
  83. package/dist/omegga/plugin.js.map +1 -1
  84. package/dist/omegga/server.js +742 -774
  85. package/dist/omegga/server.js.map +1 -1
  86. package/dist/omegga/wrapper.js +64 -91
  87. package/dist/omegga/wrapper.js.map +1 -1
  88. package/dist/plugin.js +11 -31
  89. package/dist/plugin.js.map +1 -1
  90. package/dist/softconfig.js +139 -100
  91. package/dist/softconfig.js.map +1 -1
  92. package/dist/updater/steam.js +104 -114
  93. package/dist/updater/steam.js.map +1 -1
  94. package/dist/util/brdb.js +496 -528
  95. package/dist/util/brdb.js.map +1 -1
  96. package/dist/util/brick/checkBounds.js +11 -15
  97. package/dist/util/brick/checkBounds.js.map +1 -1
  98. package/dist/util/brick/constants.js +723 -174
  99. package/dist/util/brick/constants.js.map +1 -1
  100. package/dist/util/brick/displayName.js +204 -211
  101. package/dist/util/brick/displayName.js.map +1 -1
  102. package/dist/util/brick/getBounds.js +29 -41
  103. package/dist/util/brick/getBounds.js.map +1 -1
  104. package/dist/util/brick/getBrickSize.js +6 -7
  105. package/dist/util/brick/getBrickSize.js.map +1 -1
  106. package/dist/util/brick/getScaleAxis.js +24 -30
  107. package/dist/util/brick/getScaleAxis.js.map +1 -1
  108. package/dist/util/brick/index.js +8 -29
  109. package/dist/util/brick/index.js.map +1 -1
  110. package/dist/util/brick/rotate.js +29 -34
  111. package/dist/util/brick/rotate.js.map +1 -1
  112. package/dist/util/brick/setOwnership.js +13 -19
  113. package/dist/util/brick/setOwnership.js.map +1 -1
  114. package/dist/util/chat.js +53 -44
  115. package/dist/util/chat.js.map +1 -1
  116. package/dist/util/color.js +112 -124
  117. package/dist/util/color.js.map +1 -1
  118. package/dist/util/file.js +54 -98
  119. package/dist/util/file.js.map +1 -1
  120. package/dist/util/index.js +84 -106
  121. package/dist/util/index.js.map +1 -1
  122. package/dist/util/map.js +18 -20
  123. package/dist/util/map.js.map +1 -1
  124. package/dist/util/pattern.js +6 -9
  125. package/dist/util/pattern.js.map +1 -1
  126. package/dist/util/time.js +31 -34
  127. package/dist/util/time.js.map +1 -1
  128. package/dist/util/uuid.js +10 -8
  129. package/dist/util/uuid.js.map +1 -1
  130. package/dist/util/wsl.js +19 -25
  131. package/dist/util/wsl.js.map +1 -1
  132. package/dist/version.js +7 -9
  133. package/dist/version.js.map +1 -1
  134. package/dist/webserver/backend/api.js +784 -874
  135. package/dist/webserver/backend/api.js.map +1 -1
  136. package/dist/webserver/backend/calendar.js +14 -17
  137. package/dist/webserver/backend/calendar.js.map +1 -1
  138. package/dist/webserver/backend/database.js +563 -613
  139. package/dist/webserver/backend/database.js.map +1 -1
  140. package/dist/webserver/backend/index.js +153 -191
  141. package/dist/webserver/backend/index.js.map +1 -1
  142. package/dist/webserver/backend/metrics.js +219 -248
  143. package/dist/webserver/backend/metrics.js.map +1 -1
  144. package/dist/webserver/backend/util.js +47 -68
  145. package/dist/webserver/backend/util.js.map +1 -1
  146. package/dist/worker.js +322 -0
  147. package/dist/worker.js.map +1 -0
  148. package/package.json +16 -11
  149. package/public/app.html +18 -18
  150. package/public/assets/IconArrowRight-BuVxhqKX.js +2 -0
  151. package/public/assets/{IconArrowRight-CA5_cccJ.js.map → IconArrowRight-BuVxhqKX.js.map} +1 -1
  152. package/public/assets/IconCheck-DOe3u7iH.js +2 -0
  153. package/public/assets/{IconCheck-Dyq5qyY1.js.map → IconCheck-DOe3u7iH.js.map} +1 -1
  154. package/public/assets/IconLockOpen-Bs7Tsf6u.js +2 -0
  155. package/public/assets/{IconLockOpen-D95XLORK.js.map → IconLockOpen-Bs7Tsf6u.js.map} +1 -1
  156. package/public/assets/IconWorld-B6GK5qpx.js +2 -0
  157. package/public/assets/{IconWorld-DtARpBKX.js.map → IconWorld-B6GK5qpx.js.map} +1 -1
  158. package/public/assets/IconWorldPlus-DpfueG8_.js +2 -0
  159. package/public/assets/{IconWorldPlus-CGBAsLNj.js.map → IconWorldPlus-DpfueG8_.js.map} +1 -1
  160. package/public/assets/IconX-CvmO0bbE.js +2 -0
  161. package/public/assets/{IconX-SYtbnYKI.js.map → IconX-CvmO0bbE.js.map} +1 -1
  162. package/public/assets/app-nJIpyOiP.js +6 -0
  163. package/public/assets/{app-BtOlgo__.js.map → app-nJIpyOiP.js.map} +1 -1
  164. package/public/assets/{auth-CvxEWAMc.js → auth-6N37o421.js} +2 -2
  165. package/public/assets/{auth-CvxEWAMc.js.map → auth-6N37o421.js.map} +1 -1
  166. package/public/assets/client-BT1QYH0O.js +10 -0
  167. package/public/assets/{client-C5T7_OK9.js.map → client-BT1QYH0O.js.map} +1 -1
  168. package/public/assets/index-2cgXLhrt.js +2 -0
  169. package/public/assets/{index-CRRRLlCc.js.map → index-2cgXLhrt.js.map} +1 -1
  170. package/public/assets/index-3dNmNZ9B.js +10 -0
  171. package/public/assets/{index-Bq9C9SqB.js.map → index-3dNmNZ9B.js.map} +1 -1
  172. package/public/assets/{index-i4mjW0og.js → index-CrN8I5Az.js} +2 -2
  173. package/public/assets/index-CrN8I5Az.js.map +1 -0
  174. package/public/assets/index-CtCtK5BX.js +2 -0
  175. package/public/assets/{index-DqHVrEeL.js.map → index-CtCtK5BX.js.map} +1 -1
  176. package/public/assets/index-D0OPOe3j.js +2 -0
  177. package/public/assets/{index-c0qeY2gs.js.map → index-D0OPOe3j.js.map} +1 -1
  178. package/public/assets/{index-DYcAgWjJ.js → index-DY750sgZ.js} +2 -2
  179. package/public/assets/{index-DYcAgWjJ.js.map → index-DY750sgZ.js.map} +1 -1
  180. package/public/assets/jsx-runtime-BX5r4UiA.js +2 -0
  181. package/public/assets/jsx-runtime-BX5r4UiA.js.map +1 -0
  182. package/public/assets/jsx-runtime-DldvXD6N.js +2 -0
  183. package/public/assets/{jsx-runtime-Bw5QeaCk.js.map → jsx-runtime-DldvXD6N.js.map} +1 -1
  184. package/public/assets/shared/@components-DdtLZOaA.js +2 -0
  185. package/public/assets/shared/@components-DdtLZOaA.js.map +1 -0
  186. package/public/assets/shared/{@hooks-DfTzYBIL.js → @hooks-Ch_hJYh0.js} +2 -2
  187. package/public/assets/shared/{@hooks-DfTzYBIL.js.map → @hooks-Ch_hJYh0.js.map} +1 -1
  188. package/public/assets/shared/{@nanostores_react-HTG3s0lp.js → @nanostores_react-DJPF1Eqx.js} +2 -2
  189. package/public/assets/shared/{@nanostores_react-HTG3s0lp.js.map → @nanostores_react-DJPF1Eqx.js.map} +1 -1
  190. package/public/assets/shared/@tabler_icons-react-B4bN8gHc.js +3 -0
  191. package/public/assets/shared/{@tabler_icons-react--FJWdUou.js.map → @tabler_icons-react-B4bN8gHc.js.map} +1 -1
  192. package/public/assets/shared/nanostores-BFqqIY_c.js.map +1 -1
  193. package/public/assets/shared/react-dom-8Rcmh_FG.js +2 -0
  194. package/public/assets/shared/{react-dom-BznoGTRX.js.map → react-dom-8Rcmh_FG.js.map} +1 -1
  195. package/public/assets/shared/react-iXLZ_Bod.js +2 -0
  196. package/public/assets/shared/{react-CR6vSpIu.js.map → react-iXLZ_Bod.js.map} +1 -1
  197. package/public/assets/shared/react_jsx-runtime-BwhiLcBy.js +2 -0
  198. package/public/assets/shared/{react_jsx-runtime-C15Zu6_p.js.map → react_jsx-runtime-BwhiLcBy.js.map} +1 -1
  199. package/public/assets/shared/{wouter-DbmGxXTo.js → wouter-CUC1caxu.js} +2 -2
  200. package/public/assets/shared/wouter-CUC1caxu.js.map +1 -0
  201. package/public/auth.html +14 -14
  202. package/templates/safe-ts/omegga.d.ts +31 -1
  203. package/dist/brickadia/config.d.ts +0 -3
  204. package/dist/brickadia/presets.d.ts +0 -65
  205. package/dist/brickadia/presets.js +0 -3
  206. package/dist/brickadia/presets.js.map +0 -1
  207. package/dist/brickadia/server.d.ts +0 -36
  208. package/dist/brickadia/types.d.ts +0 -45
  209. package/dist/brickadia/types.js +0 -3
  210. package/dist/brickadia/types.js.map +0 -1
  211. package/dist/cli/auth.d.ts +0 -26
  212. package/dist/cli/config.d.ts +0 -10
  213. package/dist/cli/index.d.ts +0 -30
  214. package/dist/cli/installer.d.ts +0 -1
  215. package/dist/cli/plugin.d.ts +0 -22
  216. package/dist/cli/terminal.d.ts +0 -25
  217. package/dist/config/authorizer.d.ts +0 -2
  218. package/dist/config/authorizer.js +0 -38
  219. package/dist/config/authorizer.js.map +0 -1
  220. package/dist/config/formats/format_js.d.ts +0 -3
  221. package/dist/config/formats/format_yml.d.ts +0 -3
  222. package/dist/config/index.d.ts +0 -18
  223. package/dist/config/reader.d.ts +0 -3
  224. package/dist/config/types.d.ts +0 -50
  225. package/dist/config/types.js +0 -3
  226. package/dist/config/types.js.map +0 -1
  227. package/dist/config/validator.d.ts +0 -6
  228. package/dist/config/writer.d.ts +0 -3
  229. package/dist/index.d.ts +0 -22
  230. package/dist/info/default_commands.json +0 -29
  231. package/dist/logger.d.ts +0 -41
  232. package/dist/main.d.ts +0 -1
  233. package/dist/omegga/auth.d.ts +0 -9
  234. package/dist/omegga/commandInjector.d.ts +0 -35
  235. package/dist/omegga/index.d.ts +0 -7
  236. package/dist/omegga/logWrangler.d.ts +0 -32
  237. package/dist/omegga/matchers/auth.d.ts +0 -10
  238. package/dist/omegga/matchers/chat.d.ts +0 -10
  239. package/dist/omegga/matchers/command.d.ts +0 -7
  240. package/dist/omegga/matchers/exit.d.ts +0 -3
  241. package/dist/omegga/matchers/index.d.ts +0 -3
  242. package/dist/omegga/matchers/init.d.ts +0 -3
  243. package/dist/omegga/matchers/interact.d.ts +0 -4
  244. package/dist/omegga/matchers/join.d.ts +0 -4
  245. package/dist/omegga/matchers/leave.d.ts +0 -4
  246. package/dist/omegga/matchers/mapChange.d.ts +0 -3
  247. package/dist/omegga/matchers/minigameJoin.d.ts +0 -9
  248. package/dist/omegga/matchers/types.d.ts +0 -5
  249. package/dist/omegga/matchers/types.js +0 -3
  250. package/dist/omegga/matchers/types.js.map +0 -1
  251. package/dist/omegga/matchers/version.d.ts +0 -3
  252. package/dist/omegga/player.d.ts +0 -81
  253. package/dist/omegga/plugin/interface.d.ts +0 -30
  254. package/dist/omegga/plugin/plugin_jsonrpc_stdio.d.ts +0 -23
  255. package/dist/omegga/plugin/plugin_node_safe/proxyOmegga.d.ts +0 -145
  256. package/dist/omegga/plugin/plugin_node_safe/worker.d.ts +0 -1
  257. package/dist/omegga/plugin/plugin_node_safe/worker.js +0 -367
  258. package/dist/omegga/plugin/plugin_node_safe/worker.js.map +0 -1
  259. package/dist/omegga/plugin/plugin_node_safe.d.ts +0 -23
  260. package/dist/omegga/plugin/plugin_node_unsafe.d.ts +0 -13
  261. package/dist/omegga/plugin.d.ts +0 -63
  262. package/dist/omegga/server.d.ts +0 -166
  263. package/dist/omegga/types.d.ts +0 -49
  264. package/dist/omegga/types.js +0 -3
  265. package/dist/omegga/types.js.map +0 -1
  266. package/dist/omegga/wrapper.d.ts +0 -32
  267. package/dist/plugin.d.ts +0 -916
  268. package/dist/softconfig.d.ts +0 -67
  269. package/dist/tsconfig.tsbuildinfo +0 -1
  270. package/dist/updater/index.d.ts +0 -1
  271. package/dist/updater/index.js +0 -10
  272. package/dist/updater/index.js.map +0 -1
  273. package/dist/updater/steam.d.ts +0 -52
  274. package/dist/util/brdb.d.ts +0 -31
  275. package/dist/util/brick/checkBounds.d.ts +0 -8
  276. package/dist/util/brick/constants.d.ts +0 -18
  277. package/dist/util/brick/displayName.d.ts +0 -7
  278. package/dist/util/brick/getBounds.d.ts +0 -5
  279. package/dist/util/brick/getBrickSize.d.ts +0 -3
  280. package/dist/util/brick/getScaleAxis.d.ts +0 -3
  281. package/dist/util/brick/index.d.ts +0 -14
  282. package/dist/util/brick/rotate.d.ts +0 -16
  283. package/dist/util/brick/setOwnership.d.ts +0 -12
  284. package/dist/util/chat.d.ts +0 -23
  285. package/dist/util/color.d.ts +0 -13
  286. package/dist/util/file.d.ts +0 -5
  287. package/dist/util/index.d.ts +0 -183
  288. package/dist/util/map.d.ts +0 -6
  289. package/dist/util/pattern.d.ts +0 -1
  290. package/dist/util/time.d.ts +0 -39
  291. package/dist/util/uuid.d.ts +0 -3
  292. package/dist/util/wsl.d.ts +0 -2
  293. package/dist/version.d.ts +0 -2
  294. package/dist/webserver/backend/api.d.ts +0 -115
  295. package/dist/webserver/backend/calendar.d.ts +0 -5
  296. package/dist/webserver/backend/database.d.ts +0 -150
  297. package/dist/webserver/backend/index.d.ts +0 -30
  298. package/dist/webserver/backend/metrics.d.ts +0 -3
  299. package/dist/webserver/backend/types.d.ts +0 -114
  300. package/dist/webserver/backend/types.js +0 -3
  301. package/dist/webserver/backend/types.js.map +0 -1
  302. package/dist/webserver/backend/util.d.ts +0 -2
  303. package/dist/webserver/index.d.ts +0 -2
  304. package/dist/webserver/index.js +0 -9
  305. package/dist/webserver/index.js.map +0 -1
  306. package/public/assets/IconArrowRight-CA5_cccJ.js +0 -7
  307. package/public/assets/IconCheck-Dyq5qyY1.js +0 -17
  308. package/public/assets/IconLockOpen-D95XLORK.js +0 -7
  309. package/public/assets/IconWorld-DtARpBKX.js +0 -72
  310. package/public/assets/IconWorldPlus-CGBAsLNj.js +0 -182
  311. package/public/assets/IconX-SYtbnYKI.js +0 -12
  312. package/public/assets/app-BtOlgo__.js +0 -6
  313. package/public/assets/client-C5T7_OK9.js +0 -26
  314. package/public/assets/index-Bq9C9SqB.js +0 -10
  315. package/public/assets/index-CRRRLlCc.js +0 -10
  316. package/public/assets/index-DqHVrEeL.js +0 -10
  317. package/public/assets/index-c0qeY2gs.js +0 -10
  318. package/public/assets/index-i4mjW0og.js.map +0 -1
  319. package/public/assets/jsx-runtime-Bw5QeaCk.js +0 -10
  320. package/public/assets/jsx-runtime-DoEZbXM1.js +0 -2
  321. package/public/assets/jsx-runtime-DoEZbXM1.js.map +0 -1
  322. package/public/assets/shared/@components-DVehBp7v.js +0 -2
  323. package/public/assets/shared/@components-DVehBp7v.js.map +0 -1
  324. package/public/assets/shared/@tabler_icons-react--FJWdUou.js +0 -29458
  325. package/public/assets/shared/react-CR6vSpIu.js +0 -2
  326. package/public/assets/shared/react-dom-BznoGTRX.js +0 -2
  327. package/public/assets/shared/react_jsx-runtime-C15Zu6_p.js +0 -2
  328. package/public/assets/shared/wouter-DbmGxXTo.js.map +0 -1
@@ -1,115 +0,0 @@
1
- import { IPluginDocumentation } from "../../plugin";
2
- import Database from './database';
3
- import type Webserver from './index';
4
- import { IFrontendBanEntry, IStoreBanHistory, IStoreKickHistory, IStoreUser, IUserAgo, IUserHistory, IUserNote, OmeggaSocketIo } from './types';
5
- export type OmeggaSocketData = {
6
- roles: {
7
- type: 'role';
8
- name: string;
9
- }[];
10
- version: string;
11
- brickadiaVersion: number | null;
12
- canLogOut: boolean;
13
- now: number;
14
- userless: boolean;
15
- isSteam: boolean;
16
- update: {
17
- canCheck: boolean;
18
- lastCheck: boolean | null;
19
- };
20
- user: {
21
- username: string;
22
- isOwner: boolean;
23
- roles: string[];
24
- };
25
- };
26
- export type GetPlayersRes = {
27
- pages: number;
28
- total: number;
29
- players: (IUserHistory & IUserAgo & {
30
- ban?: IFrontendBanEntry;
31
- })[];
32
- };
33
- export type GetPlayerRes = Omit<IUserHistory, 'nameHistory'> & {
34
- banHistory: (IStoreBanHistory & {
35
- duration?: number;
36
- bannerName?: string;
37
- })[];
38
- kickHistory: (IStoreKickHistory & {
39
- kickerName?: string;
40
- })[];
41
- notes: IUserNote[];
42
- nameHistory: {
43
- name: string;
44
- displayName: string;
45
- date: number;
46
- ago?: number;
47
- }[];
48
- } & IUserAgo & {
49
- isHost: boolean;
50
- isOnline: boolean;
51
- currentBan: IFrontendBanEntry | null;
52
- roles: {
53
- name: string;
54
- color: string;
55
- }[];
56
- };
57
- export type GetPluginsRes = {
58
- name: string;
59
- documentation: IPluginDocumentation;
60
- path: string;
61
- isLoaded: boolean;
62
- isEnabled: boolean;
63
- }[];
64
- export type GetPluginRes = {
65
- name: string;
66
- format: string;
67
- info: Record<string, unknown>;
68
- documentation: IPluginDocumentation;
69
- config: Record<string, unknown>;
70
- defaultConfig: Record<string, unknown>;
71
- objCount: number;
72
- path: string;
73
- isLoaded: boolean;
74
- isEnabled: boolean;
75
- };
76
- export type GetUsersRes = {
77
- pages: number;
78
- total: number;
79
- users: (IStoreUser & IUserAgo)[];
80
- };
81
- export type HistoryRes = Awaited<ReturnType<Database['getChats']>>;
82
- export type WorldRevisionsRes = {
83
- index: number;
84
- date: number;
85
- note: string;
86
- }[];
87
- export type WorldMetaRes = {
88
- meta: {
89
- world: {
90
- environment: string;
91
- };
92
- bundle: {
93
- type: 'World';
94
- iD: string;
95
- name: string;
96
- version: string;
97
- tags: string[];
98
- authors: string[];
99
- createdAt: string;
100
- updatedAt: string;
101
- description: string;
102
- dependencies: string[];
103
- };
104
- };
105
- owners: {
106
- id: string;
107
- name: string;
108
- display_name: string;
109
- entity_count: number;
110
- brick_count: number;
111
- component_count: number;
112
- wire_count: number;
113
- }[];
114
- };
115
- export default function (server: Webserver, io: OmeggaSocketIo): void;
@@ -1,5 +0,0 @@
1
- export default class Calendar {
2
- years: Record<number, Record<number, Record<number, boolean>>>;
3
- constructor();
4
- addDate(d: string | number | Date): void;
5
- }
@@ -1,150 +0,0 @@
1
- import { IServerConfig } from "../../config/types";
2
- import type Omegga from "../../omegga/server";
3
- import EventEmitter from 'events';
4
- import Datastore from 'nedb-promises';
5
- import Calendar from './calendar';
6
- import { IPlayer, IStoreAutoRestartConfig, IStoreBanHistory, IStoreChat, IStoreKickHistory, IStoreUser, IUserHistory, IUserNote } from './types';
7
- export default class Database extends EventEmitter {
8
- options: IServerConfig;
9
- omegga: Omegga;
10
- stores: {
11
- users: Datastore;
12
- chat: Datastore;
13
- players: Datastore;
14
- status: Datastore;
15
- server: Datastore;
16
- };
17
- calendar: Calendar;
18
- constructor(options: IServerConfig, omegga: Omegga);
19
- doMigrations(): Promise<void>;
20
- getInstanceId(): Promise<string>;
21
- syncBanList(): void;
22
- isFirstUser(): Promise<boolean>;
23
- hash(password: string): Promise<string>;
24
- createAdminUser(username: string, password: string): Promise<{
25
- type: string;
26
- created: number;
27
- lastOnline: number;
28
- username: string;
29
- hash: string;
30
- isOwner: boolean;
31
- roles: any[];
32
- playerId: string;
33
- } & {
34
- _id: string;
35
- createdAt?: Date;
36
- updatedAt?: Date;
37
- }>;
38
- userExists(username: string): Promise<boolean>;
39
- createUser(username: string, password: string): Promise<IStoreUser & {
40
- _id: string;
41
- createdAt?: Date;
42
- updatedAt?: Date;
43
- }>;
44
- userPasswd(username: string, password: string): Promise<void>;
45
- authUser(username: string, password: string): Promise<IStoreUser & {
46
- _id: string;
47
- createdAt?: Date;
48
- updatedAt?: Date;
49
- }>;
50
- findUserById(id: string): Promise<IStoreUser & {
51
- _id: string;
52
- createdAt?: Date;
53
- updatedAt?: Date;
54
- }>;
55
- getRoles(): Promise<{
56
- type: 'role';
57
- name: 'string';
58
- }[]>;
59
- addChatLog(action: 'msg' | 'server' | 'leave' | 'join', user: IPlayer, message?: string): Promise<IStoreChat & {
60
- _id: string;
61
- createdAt?: Date;
62
- updatedAt?: Date;
63
- }>;
64
- getChats({ count, sameServer, before, after, }?: {
65
- count?: number;
66
- sameServer?: boolean;
67
- before?: number;
68
- after?: number;
69
- }): Promise<(IStoreChat & {
70
- _id: string;
71
- createdAt?: Date;
72
- updatedAt?: Date;
73
- })[]>;
74
- getPlayers({ count, search, page, sort, direction, limitId, }?: {
75
- count?: number;
76
- search?: string;
77
- page?: number;
78
- sort?: string;
79
- direction?: string;
80
- limitId?: string[];
81
- }): Promise<{
82
- pages: number;
83
- total: number;
84
- players: (IUserHistory & {
85
- _id: string;
86
- createdAt?: Date;
87
- updatedAt?: Date;
88
- })[];
89
- }>;
90
- getUsers({ count, search, page, sort, direction, }?: {
91
- count?: number;
92
- search?: string;
93
- page?: number;
94
- sort?: string;
95
- direction?: string;
96
- }): Promise<{
97
- pages: number;
98
- total: number;
99
- users: (IStoreUser & {
100
- _id: string;
101
- createdAt?: Date;
102
- updatedAt?: Date;
103
- })[];
104
- }>;
105
- getPlayer(id: string): Promise<{
106
- banHistory: (IStoreBanHistory & {
107
- _id: string;
108
- createdAt?: Date;
109
- updatedAt?: Date;
110
- })[];
111
- kickHistory: (IStoreKickHistory & {
112
- _id: string;
113
- createdAt?: Date;
114
- updatedAt?: Date;
115
- })[];
116
- notes: (IUserNote & {
117
- _id: string;
118
- createdAt?: Date;
119
- updatedAt?: Date;
120
- })[];
121
- type: "userHistory";
122
- id: string;
123
- name: string;
124
- displayName: string;
125
- nameHistory: {
126
- displayName: string;
127
- name: string;
128
- date: number;
129
- }[];
130
- ips: string[];
131
- created: number;
132
- lastSeen: number;
133
- lastInstanceId: string;
134
- heartbeats: number;
135
- sessions: number;
136
- instances: number;
137
- _id: string;
138
- createdAt?: Date;
139
- updatedAt?: Date;
140
- }>;
141
- addVisit(user: IPlayer): Promise<boolean>;
142
- addHeartbeat(data: {
143
- bricks: number;
144
- players: string[];
145
- ips: Record<string, string>;
146
- }): Promise<void>;
147
- getAutoRestartConfig(): Promise<IStoreAutoRestartConfig>;
148
- setAutoRestartConfig(config: IStoreAutoRestartConfig): Promise<void>;
149
- updatePlayerPunchcard(numNewPlayers: number): Promise<void>;
150
- }
@@ -1,30 +0,0 @@
1
- import { IServerConfig } from "../../config/types";
2
- import type Omegga from "../../omegga/server";
3
- import { IServerStatus } from "../../omegga/types";
4
- import express from 'express';
5
- import expressSession from 'express-session';
6
- import http from 'http';
7
- import https from 'https';
8
- import Database from './database';
9
- import { OmeggaSocketIo } from './types';
10
- export default class Webserver {
11
- database: Database;
12
- port: number;
13
- omegga: Omegga;
14
- app: express.Express;
15
- server: http.Server | https.Server;
16
- io: OmeggaSocketIo;
17
- options: IServerConfig;
18
- https: boolean;
19
- started: boolean;
20
- created: Promise<boolean>;
21
- serverStatusInterval: ReturnType<typeof setInterval>;
22
- lastReportedStatus: IServerStatus;
23
- rooms: string[];
24
- dataPath: string;
25
- constructor(options: IServerConfig, omegga: Omegga);
26
- createServer(): Promise<boolean>;
27
- initWebUI(session: ReturnType<typeof expressSession>): Promise<void>;
28
- start(): Promise<void>;
29
- stop(): void;
30
- }
@@ -1,3 +0,0 @@
1
- import type Webserver from './index';
2
- import { OmeggaSocketIo } from './types';
3
- export default function (server: Webserver, io: OmeggaSocketIo): void;
@@ -1,114 +0,0 @@
1
- import { Server as SocketIo, DefaultEventsMap } from 'socket.io';
2
- declare module 'express-session' {
3
- interface SessionData {
4
- userId: string;
5
- }
6
- }
7
- export type OmeggaSocketIo = SocketIo<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, {
8
- user: IStoreUser & {
9
- _id: string;
10
- };
11
- }>;
12
- export interface IPlayer {
13
- id?: string;
14
- name?: string;
15
- }
16
- export interface IStoreVersion {
17
- type: 'storeVersion';
18
- version: number;
19
- }
20
- export interface IStoreServerInstance {
21
- type: 'app:start';
22
- date: number;
23
- }
24
- export interface IStoreAutoRestartConfig {
25
- type: 'autoRestartConfig';
26
- maxUptime: number;
27
- maxUptimeEnabled: boolean;
28
- emptyUptime: number;
29
- emptyUptimeEnabled: boolean;
30
- dailyHour: number;
31
- dailyHourEnabled: boolean;
32
- announcementEnabled: boolean;
33
- playersEnabled: boolean;
34
- bricksEnabled: boolean;
35
- minigamesEnabled: boolean;
36
- environmentEnabled: boolean;
37
- }
38
- export interface IStoreChat {
39
- type: 'chat';
40
- created: number;
41
- instanceId: string;
42
- action: 'msg' | 'server' | 'leave' | 'join';
43
- user: Partial<IPlayer>;
44
- message?: string;
45
- }
46
- export interface IStoreBanHistory {
47
- type: 'banHistory';
48
- banned: string;
49
- bannerId: string | null;
50
- created: any;
51
- expires: any;
52
- reason: string;
53
- }
54
- export interface IFrontendBanEntry {
55
- bannerId: string;
56
- reason: string;
57
- created: number;
58
- expires: number;
59
- duration: number;
60
- remainingTime: number;
61
- bannerName: string;
62
- }
63
- export interface IStoreKickHistory {
64
- type: 'kickHistory';
65
- kicked: string;
66
- kickerId: string | null;
67
- created: any;
68
- reason: string;
69
- }
70
- export interface IUserHistory {
71
- type: 'userHistory';
72
- id: string;
73
- name: string;
74
- nameHistory: {
75
- name: string;
76
- date: number;
77
- }[];
78
- ips: string[];
79
- created: number;
80
- lastSeen: number;
81
- lastInstanceId: string;
82
- heartbeats: number;
83
- sessions: number;
84
- instances: number;
85
- }
86
- export interface IUserAgo {
87
- seenAgo?: number;
88
- createdAgo?: number;
89
- }
90
- export interface IUserNote {
91
- type: 'note';
92
- id: string;
93
- note: string;
94
- }
95
- export interface IStoreUser {
96
- type: 'user';
97
- created: number;
98
- lastOnline: number;
99
- username: string;
100
- hash: string;
101
- isOwner: boolean;
102
- roles: string[];
103
- playerId: string;
104
- isBanned?: boolean;
105
- }
106
- export interface IPunchcard {
107
- type: 'punchcard';
108
- kind: 'playerCount';
109
- created: number;
110
- updated: number;
111
- month: number;
112
- year: number;
113
- punchcard: number[][];
114
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/webserver/backend/types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare function getSSLKeys(dataPath: string): Promise<any>;
2
- export declare function getSessionSecret(dataPath: string): any;
@@ -1,2 +0,0 @@
1
- import Backend from './backend';
2
- export declare const Webserver: typeof Backend;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Webserver = void 0;
7
- const backend_1 = __importDefault(require("./backend"));
8
- exports.Webserver = backend_1.default;
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/webserver/index.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAgC;AAEnB,QAAA,SAAS,GAAG,iBAAO,CAAC"}
@@ -1,7 +0,0 @@
1
- import{c as t}from"./IconCheck-Dyq5qyY1.js";import"./index-i4mjW0og.js";import"./_commonjsHelpers-CE1G-McA.js";import"./index-c0qeY2gs.js";/**
2
- * @license @tabler/icons-react v3.34.0 - MIT
3
- *
4
- * This source code is licensed under the MIT license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */var p=t("outline","arrow-right","IconArrowRight",[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M13 18l6 -6",key:"svg-1"}],["path",{d:"M13 6l6 6",key:"svg-2"}]]);export{p as default};
7
- //# sourceMappingURL=IconArrowRight-CA5_cccJ.js.map
@@ -1,17 +0,0 @@
1
- import{r as e}from"./index-i4mjW0og.js";/**
2
- * @license @tabler/icons-react v3.34.0 - MIT
3
- *
4
- * This source code is licensed under the MIT license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */var f={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};/**
7
- * @license @tabler/icons-react v3.34.0 - MIT
8
- *
9
- * This source code is licensed under the MIT license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */const g=(o,i,s,c)=>{const r=e.forwardRef(({color:n="currentColor",size:l=24,stroke:h=2,title:a,className:d,children:t,...u},w)=>e.createElement("svg",{ref:w,...f[o],width:l,height:l,className:["tabler-icon",`tabler-icon-${i}`,d].join(" "),...o==="filled"?{fill:n}:{strokeWidth:h,stroke:n},...u},[a&&e.createElement("title",{key:"svg-title"},a),...c.map(([k,m])=>e.createElement(k,m)),...Array.isArray(t)?t:[t]]));return r.displayName=`${s}`,r};/**
12
- * @license @tabler/icons-react v3.34.0 - MIT
13
- *
14
- * This source code is licensed under the MIT license.
15
- * See the LICENSE file in the root directory of this source tree.
16
- */var p=g("outline","check","IconCheck",[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]]);const C=Object.freeze(Object.defineProperty({__proto__:null,default:p},Symbol.toStringTag,{value:"Module"}));export{p as I,C as a,g as c};
17
- //# sourceMappingURL=IconCheck-Dyq5qyY1.js.map
@@ -1,7 +0,0 @@
1
- import{c as a}from"./IconCheck-Dyq5qyY1.js";import"./index-i4mjW0og.js";import"./_commonjsHelpers-CE1G-McA.js";import"./index-c0qeY2gs.js";/**
2
- * @license @tabler/icons-react v3.34.0 - MIT
3
- *
4
- * This source code is licensed under the MIT license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */var c=a("outline","lock-open","IconLockOpen",[["path",{d:"M5 11m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M12 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M8 11v-5a4 4 0 0 1 8 0",key:"svg-2"}]]);export{c as default};
7
- //# sourceMappingURL=IconLockOpen-D95XLORK.js.map
@@ -1,72 +0,0 @@
1
- import{c as e}from"./IconCheck-Dyq5qyY1.js";/**
2
- * @license @tabler/icons-react v3.34.0 - MIT
3
- *
4
- * This source code is licensed under the MIT license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */var t=e("outline","caret-down","IconCaretDown",[["path",{d:"M6 10l6 6l6 -6h-12",key:"svg-0"}]]);const M=Object.freeze(Object.defineProperty({__proto__:null,default:t},Symbol.toStringTag,{value:"Module"}));/**
7
- * @license @tabler/icons-react v3.34.0 - MIT
8
- *
9
- * This source code is licensed under the MIT license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */var o=e("outline","dashboard","IconDashboard",[["path",{d:"M12 13m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M13.45 11.55l2.05 -2.05",key:"svg-1"}],["path",{d:"M6.4 20a9 9 0 1 1 11.2 0z",key:"svg-2"}]]);const i=Object.freeze(Object.defineProperty({__proto__:null,default:o},Symbol.toStringTag,{value:"Module"}));/**
12
- * @license @tabler/icons-react v3.34.0 - MIT
13
- *
14
- * This source code is licensed under the MIT license.
15
- * See the LICENSE file in the root directory of this source tree.
16
- */var a=e("outline","link","IconLink",[["path",{d:"M9 15l6 -6",key:"svg-0"}],["path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464",key:"svg-1"}],["path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463",key:"svg-2"}]]);const _=Object.freeze(Object.defineProperty({__proto__:null,default:a},Symbol.toStringTag,{value:"Module"}));/**
17
- * @license @tabler/icons-react v3.34.0 - MIT
18
- *
19
- * This source code is licensed under the MIT license.
20
- * See the LICENSE file in the root directory of this source tree.
21
- */var l=e("outline","list","IconList",[["path",{d:"M9 6l11 0",key:"svg-0"}],["path",{d:"M9 12l11 0",key:"svg-1"}],["path",{d:"M9 18l11 0",key:"svg-2"}],["path",{d:"M5 6l0 .01",key:"svg-3"}],["path",{d:"M5 12l0 .01",key:"svg-4"}],["path",{d:"M5 18l0 .01",key:"svg-5"}]]);const k=Object.freeze(Object.defineProperty({__proto__:null,default:l},Symbol.toStringTag,{value:"Module"}));/**
22
- * @license @tabler/icons-react v3.34.0 - MIT
23
- *
24
- * This source code is licensed under the MIT license.
25
- * See the LICENSE file in the root directory of this source tree.
26
- */var n=e("outline","logout","IconLogout",[["path",{d:"M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M9 12h12l-3 -3",key:"svg-1"}],["path",{d:"M18 15l3 -3",key:"svg-2"}]]);const b=Object.freeze(Object.defineProperty({__proto__:null,default:n},Symbol.toStringTag,{value:"Module"}));/**
27
- * @license @tabler/icons-react v3.34.0 - MIT
28
- *
29
- * This source code is licensed under the MIT license.
30
- * See the LICENSE file in the root directory of this source tree.
31
- */var s=e("outline","messages","IconMessages",[["path",{d:"M21 14l-3 -3h-7a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1h9a1 1 0 0 1 1 1v10",key:"svg-0"}],["path",{d:"M14 15v2a1 1 0 0 1 -1 1h-7l-3 3v-10a1 1 0 0 1 1 -1h2",key:"svg-1"}]]);const f=Object.freeze(Object.defineProperty({__proto__:null,default:s},Symbol.toStringTag,{value:"Module"}));/**
32
- * @license @tabler/icons-react v3.34.0 - MIT
33
- *
34
- * This source code is licensed under the MIT license.
35
- * See the LICENSE file in the root directory of this source tree.
36
- */var r=e("outline","minus","IconMinus",[["path",{d:"M5 12l14 0",key:"svg-0"}]]);const I=Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"}));/**
37
- * @license @tabler/icons-react v3.34.0 - MIT
38
- *
39
- * This source code is licensed under the MIT license.
40
- * See the LICENSE file in the root directory of this source tree.
41
- */var d=e("outline","plug","IconPlug",[["path",{d:"M9.785 6l8.215 8.215l-2.054 2.054a5.81 5.81 0 1 1 -8.215 -8.215l2.054 -2.054z",key:"svg-0"}],["path",{d:"M4 20l3.5 -3.5",key:"svg-1"}],["path",{d:"M15 4l-3.5 3.5",key:"svg-2"}],["path",{d:"M20 9l-3.5 3.5",key:"svg-3"}]]);const S=Object.freeze(Object.defineProperty({__proto__:null,default:d},Symbol.toStringTag,{value:"Module"}));/**
42
- * @license @tabler/icons-react v3.34.0 - MIT
43
- *
44
- * This source code is licensed under the MIT license.
45
- * See the LICENSE file in the root directory of this source tree.
46
- */var c=e("outline","plus","IconPlus",[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]]);const j=Object.freeze(Object.defineProperty({__proto__:null,default:c},Symbol.toStringTag,{value:"Module"}));/**
47
- * @license @tabler/icons-react v3.34.0 - MIT
48
- *
49
- * This source code is licensed under the MIT license.
50
- * See the LICENSE file in the root directory of this source tree.
51
- */var g=e("outline","server","IconServer",[["path",{d:"M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z",key:"svg-0"}],["path",{d:"M3 12m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z",key:"svg-1"}],["path",{d:"M7 8l0 .01",key:"svg-2"}],["path",{d:"M7 16l0 .01",key:"svg-3"}]]);const O=Object.freeze(Object.defineProperty({__proto__:null,default:g},Symbol.toStringTag,{value:"Module"}));/**
52
- * @license @tabler/icons-react v3.34.0 - MIT
53
- *
54
- * This source code is licensed under the MIT license.
55
- * See the LICENSE file in the root directory of this source tree.
56
- */var v=e("outline","sort-ascending","IconSortAscending",[["path",{d:"M4 6l7 0",key:"svg-0"}],["path",{d:"M4 12l7 0",key:"svg-1"}],["path",{d:"M4 18l9 0",key:"svg-2"}],["path",{d:"M15 9l3 -3l3 3",key:"svg-3"}],["path",{d:"M18 6l0 12",key:"svg-4"}]]);const m=Object.freeze(Object.defineProperty({__proto__:null,default:v},Symbol.toStringTag,{value:"Module"}));/**
57
- * @license @tabler/icons-react v3.34.0 - MIT
58
- *
59
- * This source code is licensed under the MIT license.
60
- * See the LICENSE file in the root directory of this source tree.
61
- */var u=e("outline","sort-descending","IconSortDescending",[["path",{d:"M4 6l9 0",key:"svg-0"}],["path",{d:"M4 12l7 0",key:"svg-1"}],["path",{d:"M4 18l7 0",key:"svg-2"}],["path",{d:"M15 15l3 3l3 -3",key:"svg-3"}],["path",{d:"M18 6l0 12",key:"svg-4"}]]);const P=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"}));/**
62
- * @license @tabler/icons-react v3.34.0 - MIT
63
- *
64
- * This source code is licensed under the MIT license.
65
- * See the LICENSE file in the root directory of this source tree.
66
- */var p=e("outline","user","IconUser",[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2",key:"svg-1"}]]);const z=Object.freeze(Object.defineProperty({__proto__:null,default:p},Symbol.toStringTag,{value:"Module"}));/**
67
- * @license @tabler/icons-react v3.34.0 - MIT
68
- *
69
- * This source code is licensed under the MIT license.
70
- * See the LICENSE file in the root directory of this source tree.
71
- */var y=e("outline","world","IconWorld",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M3.6 9h16.8",key:"svg-1"}],["path",{d:"M3.6 15h16.8",key:"svg-2"}],["path",{d:"M11.5 3a17 17 0 0 0 0 18",key:"svg-3"}],["path",{d:"M12.5 3a17 17 0 0 1 0 18",key:"svg-4"}]]);const T=Object.freeze(Object.defineProperty({__proto__:null,default:y},Symbol.toStringTag,{value:"Module"}));export{T as A,l as I,r as a,c as b,t as c,d,y as e,o as f,a as g,n as h,s as i,g as j,v as k,u as l,p as m,M as n,i as o,_ as p,k as q,b as r,f as s,I as t,S as u,j as v,O as w,m as x,P as y,z};
72
- //# sourceMappingURL=IconWorld-DtARpBKX.js.map