@minecraft-docker/mcctl-console 2.14.0 → 2.15.1

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 (151) hide show
  1. package/.next/standalone/platform/services/mcctl-console/.next/BUILD_ID +1 -1
  2. package/.next/standalone/platform/services/mcctl-console/.next/app-build-manifest.json +60 -59
  3. package/.next/standalone/platform/services/mcctl-console/.next/app-path-routes-manifest.json +1 -1
  4. package/.next/standalone/platform/services/mcctl-console/.next/build-manifest.json +4 -4
  5. package/.next/standalone/platform/services/mcctl-console/.next/prerender-manifest.json +1 -1
  6. package/.next/standalone/platform/services/mcctl-console/.next/routes-manifest.json +1 -1
  7. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/admin/users/page_client-reference-manifest.js +1 -1
  8. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page.js +5 -5
  9. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page.js.nft.json +1 -1
  10. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page_client-reference-manifest.js +1 -1
  11. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page.js +1 -1
  12. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page.js.nft.json +1 -1
  13. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page_client-reference-manifest.js +1 -1
  14. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page.js +4 -4
  15. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page.js.nft.json +1 -1
  16. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page_client-reference-manifest.js +1 -1
  17. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page.js +1 -1
  18. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page.js.nft.json +1 -1
  19. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page_client-reference-manifest.js +1 -1
  20. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page.js +5 -5
  21. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page.js.nft.json +1 -1
  22. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page_client-reference-manifest.js +1 -1
  23. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page_client-reference-manifest.js +1 -1
  24. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js +1 -1
  25. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js.nft.json +1 -1
  26. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page_client-reference-manifest.js +1 -1
  27. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js +1 -1
  28. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js.nft.json +1 -1
  29. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page_client-reference-manifest.js +1 -1
  30. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/settings/page.js +1 -1
  31. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/settings/page_client-reference-manifest.js +1 -1
  32. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page.js +1 -1
  33. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page.js.nft.json +1 -1
  34. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page_client-reference-manifest.js +1 -1
  35. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  36. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.html +1 -1
  37. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.rsc +1 -1
  38. package/.next/standalone/platform/services/mcctl-console/.next/server/app/api/backup/schedules/[id]/route.js +1 -0
  39. package/.next/standalone/platform/services/mcctl-console/.next/server/app/api/backup/schedules/[id]/route.js.nft.json +1 -0
  40. package/.next/standalone/platform/services/mcctl-console/.next/server/app/api/backup/schedules/[id]/toggle/route.js +1 -0
  41. package/.next/standalone/platform/services/mcctl-console/.next/server/app/api/backup/schedules/[id]/toggle/route.js.nft.json +1 -0
  42. package/.next/standalone/platform/services/mcctl-console/.next/server/app/api/backup/schedules/route.js +1 -0
  43. package/.next/standalone/platform/services/mcctl-console/.next/server/app/api/backup/schedules/route.js.nft.json +1 -0
  44. package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.html +1 -1
  45. package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.rsc +3 -3
  46. package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.html +1 -1
  47. package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.rsc +3 -3
  48. package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.html +1 -1
  49. package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.rsc +3 -3
  50. package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.html +1 -1
  51. package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.rsc +1 -1
  52. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login/page_client-reference-manifest.js +1 -1
  53. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.html +1 -1
  54. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.rsc +2 -2
  55. package/.next/standalone/platform/services/mcctl-console/.next/server/app/page_client-reference-manifest.js +1 -1
  56. package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.html +1 -1
  57. package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.rsc +3 -3
  58. package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.html +1 -1
  59. package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.rsc +3 -3
  60. package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.html +1 -1
  61. package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.rsc +3 -3
  62. package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.html +1 -1
  63. package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.rsc +3 -3
  64. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup/page_client-reference-manifest.js +1 -1
  65. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.html +1 -1
  66. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.rsc +2 -2
  67. package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.html +1 -1
  68. package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.rsc +3 -3
  69. package/.next/standalone/platform/services/mcctl-console/.next/server/app-paths-manifest.json +23 -20
  70. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/1309.js +1 -1
  71. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/4151.js +1 -0
  72. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/5843.js +1 -1
  73. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/7879.js +1 -0
  74. package/.next/standalone/platform/services/mcctl-console/.next/server/middleware-build-manifest.js +1 -1
  75. package/.next/standalone/platform/services/mcctl-console/.next/server/middleware-manifest.json +5 -5
  76. package/.next/standalone/platform/services/mcctl-console/.next/server/pages/404.html +1 -1
  77. package/.next/standalone/platform/services/mcctl-console/.next/server/pages/500.html +1 -1
  78. package/.next/standalone/platform/services/mcctl-console/.next/server/server-reference-manifest.json +1 -1
  79. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/1002-c53deedf30706db3.js +1 -0
  80. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/140-c12e00f0de7cd7be.js +1 -0
  81. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/2476-4fff0814e9d341f8.js +1 -0
  82. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/2666-0ffcaa56248fa87e.js +1 -0
  83. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/3938-b55cb95203c34832.js +1 -0
  84. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/4219-4ac199a28917d787.js +1 -0
  85. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/423-766c202217f701c0.js +1 -0
  86. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/admin/users/page-cc0c71dc0e6631fb.js +1 -0
  87. package/.next/{static/chunks/app/(main)/audit-logs/page-807f95cdc901e568.js → standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/audit-logs/page-58b3d20be5540dd0.js} +1 -1
  88. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/backups/page-bd084d0163678e15.js +1 -0
  89. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/{layout-46198c04ba71ec0e.js → layout-9822cba515754d43.js} +1 -1
  90. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/players/{page-17fac813cd35d4ca.js → page-d3e8734d942f5fea.js} +1 -1
  91. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/routing/{page-f430d126cc21547c.js → page-8e36e2c23d9a62c2.js} +1 -1
  92. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/{page-4fdf404cb21708a7.js → page-8eda8c4709976b6a.js} +1 -1
  93. package/.next/{static/chunks/app/(main)/servers/page-5286112dc6e93885.js → standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/page-35a24570b3f06f3b.js} +1 -1
  94. package/.next/{static/chunks/app/(main)/settings/page-dd38d40e3e0257a8.js → standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/settings/page-9e447db7e4f551c2.js} +1 -1
  95. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/worlds/{page-874ad606cffc439d.js → page-66e7e55928f43f54.js} +1 -1
  96. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/login/page-913fdb0c7c3e7114.js +1 -0
  97. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/signup/page-4fe85a21b5914e70.js +1 -0
  98. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/{main-b146ccfc9c3834c3.js → main-63101811e3f573cc.js} +1 -1
  99. package/.next/static/chunks/1002-c53deedf30706db3.js +1 -0
  100. package/.next/static/chunks/140-c12e00f0de7cd7be.js +1 -0
  101. package/.next/static/chunks/2476-4fff0814e9d341f8.js +1 -0
  102. package/.next/static/chunks/2666-0ffcaa56248fa87e.js +1 -0
  103. package/.next/static/chunks/3938-b55cb95203c34832.js +1 -0
  104. package/.next/static/chunks/4219-4ac199a28917d787.js +1 -0
  105. package/.next/static/chunks/423-766c202217f701c0.js +1 -0
  106. package/.next/static/chunks/app/(main)/admin/users/page-cc0c71dc0e6631fb.js +1 -0
  107. package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/audit-logs/page-807f95cdc901e568.js → static/chunks/app/(main)/audit-logs/page-58b3d20be5540dd0.js} +1 -1
  108. package/.next/static/chunks/app/(main)/backups/page-bd084d0163678e15.js +1 -0
  109. package/.next/static/chunks/app/(main)/{layout-46198c04ba71ec0e.js → layout-9822cba515754d43.js} +1 -1
  110. package/.next/static/chunks/app/(main)/players/{page-17fac813cd35d4ca.js → page-d3e8734d942f5fea.js} +1 -1
  111. package/.next/static/chunks/app/(main)/routing/{page-f430d126cc21547c.js → page-8e36e2c23d9a62c2.js} +1 -1
  112. package/.next/static/chunks/app/(main)/servers/[name]/{page-4fdf404cb21708a7.js → page-8eda8c4709976b6a.js} +1 -1
  113. package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/page-5286112dc6e93885.js → static/chunks/app/(main)/servers/page-35a24570b3f06f3b.js} +1 -1
  114. package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/settings/page-dd38d40e3e0257a8.js → static/chunks/app/(main)/settings/page-9e447db7e4f551c2.js} +1 -1
  115. package/.next/static/chunks/app/(main)/worlds/{page-874ad606cffc439d.js → page-66e7e55928f43f54.js} +1 -1
  116. package/.next/static/chunks/app/login/page-913fdb0c7c3e7114.js +1 -0
  117. package/.next/static/chunks/app/signup/page-4fe85a21b5914e70.js +1 -0
  118. package/.next/static/chunks/{main-b146ccfc9c3834c3.js → main-63101811e3f573cc.js} +1 -1
  119. package/package.json +2 -2
  120. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/1088.js +0 -1
  121. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/2650.js +0 -1
  122. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/1002-a00b243cef6b3efd.js +0 -1
  123. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/140-25eb9312925d8fea.js +0 -1
  124. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/2666-060d67b8e56af9d0.js +0 -1
  125. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/4219-26d64443218aac0b.js +0 -1
  126. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/6918-a51d55370b6c7caa.js +0 -1
  127. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/880-be7151cc9c502be6.js +0 -1
  128. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/8854-b34262a2493987c4.js +0 -1
  129. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/admin/users/page-b3a3231f2ddc0371.js +0 -1
  130. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/backups/page-47c96f8f36c1c1a3.js +0 -1
  131. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/login/page-05a2cf46a8784859.js +0 -1
  132. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/signup/page-df2a4f73aae39ef2.js +0 -1
  133. package/.next/static/chunks/1002-a00b243cef6b3efd.js +0 -1
  134. package/.next/static/chunks/140-25eb9312925d8fea.js +0 -1
  135. package/.next/static/chunks/2666-060d67b8e56af9d0.js +0 -1
  136. package/.next/static/chunks/4219-26d64443218aac0b.js +0 -1
  137. package/.next/static/chunks/6918-a51d55370b6c7caa.js +0 -1
  138. package/.next/static/chunks/880-be7151cc9c502be6.js +0 -1
  139. package/.next/static/chunks/8854-b34262a2493987c4.js +0 -1
  140. package/.next/static/chunks/app/(main)/admin/users/page-b3a3231f2ddc0371.js +0 -1
  141. package/.next/static/chunks/app/(main)/backups/page-47c96f8f36c1c1a3.js +0 -1
  142. package/.next/static/chunks/app/login/page-05a2cf46a8784859.js +0 -1
  143. package/.next/static/chunks/app/signup/page-df2a4f73aae39ef2.js +0 -1
  144. /package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/{5498-b79f9cd3afa37253.js → 5498-096ebd4d2953f7f7.js} +0 -0
  145. /package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/dashboard/{page-3343dd199353868b.js → page-11c6a90c8d27eb8d.js} +0 -0
  146. /package/.next/standalone/platform/services/mcctl-console/.next/static/{8WaN6q-o9WUaI6Ue--Q1D → xDJAZTu4K3qWOH_XZ3IyH}/_buildManifest.js +0 -0
  147. /package/.next/standalone/platform/services/mcctl-console/.next/static/{8WaN6q-o9WUaI6Ue--Q1D → xDJAZTu4K3qWOH_XZ3IyH}/_ssgManifest.js +0 -0
  148. /package/.next/static/chunks/{5498-b79f9cd3afa37253.js → 5498-096ebd4d2953f7f7.js} +0 -0
  149. /package/.next/static/chunks/app/(main)/dashboard/{page-3343dd199353868b.js → page-11c6a90c8d27eb8d.js} +0 -0
  150. /package/.next/static/{8WaN6q-o9WUaI6Ue--Q1D → xDJAZTu4K3qWOH_XZ3IyH}/_buildManifest.js +0 -0
  151. /package/.next/static/{8WaN6q-o9WUaI6Ue--Q1D → xDJAZTu4K3qWOH_XZ3IyH}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/6a2c381c71b398da.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-7e31802f06defd3e.js"/><script src="/_next/static/chunks/3b518dcd-5724e59d48f01b72.js" async=""></script><script src="/_next/static/chunks/2757-058492b5c236cb62.js" async=""></script><script src="/_next/static/chunks/main-app-666bf3e0c0f3dee2.js" async=""></script><script src="/_next/static/chunks/6812-f5924f14ef351036.js" async=""></script><script src="/_next/static/chunks/9760-3b9261fc2cfda017.js" async=""></script><script src="/_next/static/chunks/5004-6ecca3df16643209.js" async=""></script><script src="/_next/static/chunks/7296-063cc1cf1200429d.js" async=""></script><script src="/_next/static/chunks/7436-dc5c09a9f287522b.js" async=""></script><script src="/_next/static/chunks/1071-235049df1c3caba7.js" async=""></script><script src="/_next/static/chunks/2542-6ea12719b9ca1b7c.js" async=""></script><script src="/_next/static/chunks/55-cc17f03142ace10c.js" async=""></script><script src="/_next/static/chunks/4219-26d64443218aac0b.js" async=""></script><script src="/_next/static/chunks/9097-3bc29153e9b2c9d1.js" async=""></script><script src="/_next/static/chunks/app/signup/page-df2a4f73aae39ef2.js" async=""></script><script src="/_next/static/chunks/540-4b925f2c57833962.js" async=""></script><script src="/_next/static/chunks/7087-64ab6928ccdc0ca7.js" async=""></script><script src="/_next/static/chunks/app/layout-eaefe334d7b2816a.js" async=""></script><title>Minecraft Server Manager</title><meta name="description" content="Web-based management console for Minecraft server infrastructure"/><link rel="icon" href="/icon.svg?0f68875a168deab8" type="image/svg+xml" sizes="any"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global hcxkty">html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box;-webkit-text-size-adjust:100%;}*,*::before,*::after{box-sizing:inherit;}strong,b{font-weight:700;}body{margin:0;color:#ffffff;font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:400;font-size:1rem;line-height:1.5;letter-spacing:0.00938em;background-color:#16181c;}@media print{body{background-color:#fff;}}body::backdrop{background-color:#16181c;}body{scrollbar-color:#313338 #16181c;}body::-webkit-scrollbar,body *::-webkit-scrollbar{background-color:#16181c;width:8px;}body::-webkit-scrollbar-thumb,body *::-webkit-scrollbar-thumb{border-radius:8px;background-color:#313338;min-height:24px;}body::-webkit-scrollbar-thumb:hover,body *::-webkit-scrollbar-thumb:hover{background-color:#26282e;}</style></head><body><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-7e31802f06defd3e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/6a2c381c71b398da.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[39943,[],\"\"]\n4:I[68067,[],\"ClientPageRoot\"]\n5:I[85795,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"2542\",\"static/chunks/2542-6ea12719b9ca1b7c.js\",\"55\",\"static/chunks/55-cc17f03142ace10c.js\",\"4219\",\"static/chunks/4219-26d64443218aac0b.js\",\"9097\",\"static/chunks/9097-3bc29153e9b2c9d1.js\",\"4966\",\"static/chunks/app/signup/page-df2a4f73aae39ef2.js\"],\"default\",1]\n6:I[14224,[],\"\"]\n7:I[2863,[],\"\"]\n8:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"default\"]\n9:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"ThemeProvider\"]\na:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"QueryProvider\"]\nb:\"$Sreact.suspense\"\nc:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"LoadingProvider\"]\ne:I[19253,[],\"\"]\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"8WaN6q-o9WUaI6Ue--Q1D\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"signup\"],\"initialTree\":[\"\",{\"children\":[\"signup\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"signup\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"signup\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/6a2c381c71b398da.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"fallback\":null,\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Minecraft Server Manager\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Web-based management console for Minecraft server infrastructure\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/icon.svg?0f68875a168deab8\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}]]\n3:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/6a2c381c71b398da.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-7e31802f06defd3e.js"/><script src="/_next/static/chunks/3b518dcd-5724e59d48f01b72.js" async=""></script><script src="/_next/static/chunks/2757-058492b5c236cb62.js" async=""></script><script src="/_next/static/chunks/main-app-666bf3e0c0f3dee2.js" async=""></script><script src="/_next/static/chunks/6812-f5924f14ef351036.js" async=""></script><script src="/_next/static/chunks/9760-3b9261fc2cfda017.js" async=""></script><script src="/_next/static/chunks/5004-6ecca3df16643209.js" async=""></script><script src="/_next/static/chunks/7296-063cc1cf1200429d.js" async=""></script><script src="/_next/static/chunks/7436-dc5c09a9f287522b.js" async=""></script><script src="/_next/static/chunks/1071-235049df1c3caba7.js" async=""></script><script src="/_next/static/chunks/2542-6ea12719b9ca1b7c.js" async=""></script><script src="/_next/static/chunks/55-cc17f03142ace10c.js" async=""></script><script src="/_next/static/chunks/4219-4ac199a28917d787.js" async=""></script><script src="/_next/static/chunks/9097-3bc29153e9b2c9d1.js" async=""></script><script src="/_next/static/chunks/app/signup/page-4fe85a21b5914e70.js" async=""></script><script src="/_next/static/chunks/540-4b925f2c57833962.js" async=""></script><script src="/_next/static/chunks/7087-64ab6928ccdc0ca7.js" async=""></script><script src="/_next/static/chunks/app/layout-eaefe334d7b2816a.js" async=""></script><title>Minecraft Server Manager</title><meta name="description" content="Web-based management console for Minecraft server infrastructure"/><link rel="icon" href="/icon.svg?0f68875a168deab8" type="image/svg+xml" sizes="any"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global hcxkty">html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box;-webkit-text-size-adjust:100%;}*,*::before,*::after{box-sizing:inherit;}strong,b{font-weight:700;}body{margin:0;color:#ffffff;font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:400;font-size:1rem;line-height:1.5;letter-spacing:0.00938em;background-color:#16181c;}@media print{body{background-color:#fff;}}body::backdrop{background-color:#16181c;}body{scrollbar-color:#313338 #16181c;}body::-webkit-scrollbar,body *::-webkit-scrollbar{background-color:#16181c;width:8px;}body::-webkit-scrollbar-thumb,body *::-webkit-scrollbar-thumb{border-radius:8px;background-color:#313338;min-height:24px;}body::-webkit-scrollbar-thumb:hover,body *::-webkit-scrollbar-thumb:hover{background-color:#26282e;}</style></head><body><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-7e31802f06defd3e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/6a2c381c71b398da.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[39943,[],\"\"]\n4:I[68067,[],\"ClientPageRoot\"]\n5:I[85795,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"2542\",\"static/chunks/2542-6ea12719b9ca1b7c.js\",\"55\",\"static/chunks/55-cc17f03142ace10c.js\",\"4219\",\"static/chunks/4219-4ac199a28917d787.js\",\"9097\",\"static/chunks/9097-3bc29153e9b2c9d1.js\",\"4966\",\"static/chunks/app/signup/page-4fe85a21b5914e70.js\"],\"default\",1]\n6:I[14224,[],\"\"]\n7:I[2863,[],\"\"]\n8:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"default\"]\n9:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"ThemeProvider\"]\na:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"QueryProvider\"]\nb:\"$Sreact.suspense\"\nc:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"LoadingProvider\"]\ne:I[19253,[],\"\"]\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"xDJAZTu4K3qWOH_XZ3IyH\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"signup\"],\"initialTree\":[\"\",{\"children\":[\"signup\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"signup\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"signup\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/6a2c381c71b398da.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"fallback\":null,\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Minecraft Server Manager\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Web-based management console for Minecraft server infrastructure\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/icon.svg?0f68875a168deab8\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}]]\n3:null\n"])</script></body></html>
@@ -1,5 +1,5 @@
1
1
  2:I[68067,[],"ClientPageRoot"]
2
- 3:I[85795,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","5004","static/chunks/5004-6ecca3df16643209.js","7296","static/chunks/7296-063cc1cf1200429d.js","7436","static/chunks/7436-dc5c09a9f287522b.js","1071","static/chunks/1071-235049df1c3caba7.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","55","static/chunks/55-cc17f03142ace10c.js","4219","static/chunks/4219-26d64443218aac0b.js","9097","static/chunks/9097-3bc29153e9b2c9d1.js","4966","static/chunks/app/signup/page-df2a4f73aae39ef2.js"],"default",1]
2
+ 3:I[85795,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","5004","static/chunks/5004-6ecca3df16643209.js","7296","static/chunks/7296-063cc1cf1200429d.js","7436","static/chunks/7436-dc5c09a9f287522b.js","1071","static/chunks/1071-235049df1c3caba7.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","55","static/chunks/55-cc17f03142ace10c.js","4219","static/chunks/4219-4ac199a28917d787.js","9097","static/chunks/9097-3bc29153e9b2c9d1.js","4966","static/chunks/app/signup/page-4fe85a21b5914e70.js"],"default",1]
3
3
  4:I[14224,[],""]
4
4
  5:I[2863,[],""]
5
5
  6:I[89083,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","7087","static/chunks/7087-64ab6928ccdc0ca7.js","3185","static/chunks/app/layout-eaefe334d7b2816a.js"],"default"]
@@ -7,6 +7,6 @@
7
7
  8:I[22237,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","7087","static/chunks/7087-64ab6928ccdc0ca7.js","3185","static/chunks/app/layout-eaefe334d7b2816a.js"],"QueryProvider"]
8
8
  9:"$Sreact.suspense"
9
9
  a:I[3454,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","7087","static/chunks/7087-64ab6928ccdc0ca7.js","3185","static/chunks/app/layout-eaefe334d7b2816a.js"],"LoadingProvider"]
10
- 0:["8WaN6q-o9WUaI6Ue--Q1D",[[["",{"children":["signup",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["signup",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","signup","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6a2c381c71b398da.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","div",null,{"id":"__next","children":["$","$L6",null,{"children":["$","$L7",null,{"children":["$","$L8",null,{"children":["$","$9",null,{"fallback":null,"children":["$","$La",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]}]}]}]}]}]],null],null],["$Lb",null]]]]
10
+ 0:["xDJAZTu4K3qWOH_XZ3IyH",[[["",{"children":["signup",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["signup",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","signup","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6a2c381c71b398da.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","div",null,{"id":"__next","children":["$","$L6",null,{"children":["$","$L7",null,{"children":["$","$L8",null,{"children":["$","$9",null,{"fallback":null,"children":["$","$La",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]}]}]}]}]}]],null],null],["$Lb",null]]]]
11
11
  b:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Minecraft Server Manager"}],["$","meta","3",{"name":"description","content":"Web-based management console for Minecraft server infrastructure"}],["$","link","4",{"rel":"icon","href":"/icon.svg?0f68875a168deab8","type":"image/svg+xml","sizes":"any"}]]
12
12
  1:null
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/6a2c381c71b398da.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-7e31802f06defd3e.js"/><script src="/_next/static/chunks/3b518dcd-5724e59d48f01b72.js" async=""></script><script src="/_next/static/chunks/2757-058492b5c236cb62.js" async=""></script><script src="/_next/static/chunks/main-app-666bf3e0c0f3dee2.js" async=""></script><script src="/_next/static/chunks/6812-f5924f14ef351036.js" async=""></script><script src="/_next/static/chunks/9760-3b9261fc2cfda017.js" async=""></script><script src="/_next/static/chunks/5004-6ecca3df16643209.js" async=""></script><script src="/_next/static/chunks/7296-063cc1cf1200429d.js" async=""></script><script src="/_next/static/chunks/7436-dc5c09a9f287522b.js" async=""></script><script src="/_next/static/chunks/1071-235049df1c3caba7.js" async=""></script><script src="/_next/static/chunks/540-4b925f2c57833962.js" async=""></script><script src="/_next/static/chunks/4416-2385e5784dc036d6.js" async=""></script><script src="/_next/static/chunks/2538-09440cfe5c38aa16.js" async=""></script><script src="/_next/static/chunks/880-be7151cc9c502be6.js" async=""></script><script src="/_next/static/chunks/5511-7a419d84918a8d64.js" async=""></script><script src="/_next/static/chunks/7073-3b047d20c07ac065.js" async=""></script><script src="/_next/static/chunks/140-25eb9312925d8fea.js" async=""></script><script src="/_next/static/chunks/2666-060d67b8e56af9d0.js" async=""></script><script src="/_next/static/chunks/app/(main)/worlds/page-874ad606cffc439d.js" async=""></script><script src="/_next/static/chunks/2542-6ea12719b9ca1b7c.js" async=""></script><script src="/_next/static/chunks/55-cc17f03142ace10c.js" async=""></script><script src="/_next/static/chunks/4219-26d64443218aac0b.js" async=""></script><script src="/_next/static/chunks/8347-d55cd74fb316fad0.js" async=""></script><script src="/_next/static/chunks/9097-3bc29153e9b2c9d1.js" async=""></script><script src="/_next/static/chunks/9022-598befdec2960f02.js" async=""></script><script src="/_next/static/chunks/6918-a51d55370b6c7caa.js" async=""></script><script src="/_next/static/chunks/app/(main)/layout-46198c04ba71ec0e.js" async=""></script><script src="/_next/static/chunks/7087-64ab6928ccdc0ca7.js" async=""></script><script src="/_next/static/chunks/app/layout-eaefe334d7b2816a.js" async=""></script><title>Minecraft Server Manager</title><meta name="description" content="Web-based management console for Minecraft server infrastructure"/><link rel="icon" href="/icon.svg?0f68875a168deab8" type="image/svg+xml" sizes="any"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global hcxkty">html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box;-webkit-text-size-adjust:100%;}*,*::before,*::after{box-sizing:inherit;}strong,b{font-weight:700;}body{margin:0;color:#ffffff;font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:400;font-size:1rem;line-height:1.5;letter-spacing:0.00938em;background-color:#16181c;}@media print{body{background-color:#fff;}}body::backdrop{background-color:#16181c;}body{scrollbar-color:#313338 #16181c;}body::-webkit-scrollbar,body *::-webkit-scrollbar{background-color:#16181c;width:8px;}body::-webkit-scrollbar-thumb,body *::-webkit-scrollbar-thumb{border-radius:8px;background-color:#313338;min-height:24px;}body::-webkit-scrollbar-thumb:hover,body *::-webkit-scrollbar-thumb:hover{background-color:#26282e;}</style></head><body><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-7e31802f06defd3e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/6a2c381c71b398da.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[39943,[],\"\"]\n4:I[68067,[],\"ClientPageRoot\"]\n5:I[36405,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"4416\",\"static/chunks/4416-2385e5784dc036d6.js\",\"2538\",\"static/chunks/2538-09440cfe5c38aa16.js\",\"880\",\"static/chunks/880-be7151cc9c502be6.js\",\"5511\",\"static/chunks/5511-7a419d84918a8d64.js\",\"7073\",\"static/chunks/7073-3b047d20c07ac065.js\",\"140\",\"static/chunks/140-25eb9312925d8fea.js\",\"2666\",\"static/chunks/2666-060d67b8e56af9d0.js\",\"7701\",\"static/chunks/app/(main)/worlds/page-874ad606cffc439d.js\"],\"default\",1]\n6:I[14224,[],\"\"]\n7:I[2863,[],\"\"]\n8:I[6453,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"2542\",\"static/chunks/2542-6ea12719b9ca1b7c.js\",\"55\",\"static/chunks/55-cc17f03142ace10c.js\",\"4219\",\"static/chunks/4219-26d64443218aac0b.js\",\"8347\",\"static/chunks/8347-d55cd74fb316fad0.js\",\"9097\",\"static/chunks/9097-3bc29153e9b2c9d1.js\",\"9022\",\"static/chunks/9022-598befdec2960f02.js\",\"6918\",\"static/chunks/6918-a51d55370b6c7caa.js\",\"4095\",\"static/chunks/app/(main)/layout-46198c04ba71ec0e.js\"],\"default\",1]\na:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"default\"]\nb:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"ThemeProvider\"]\nc:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"5"])</script><script>self.__next_f.push([1,"40\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"QueryProvider\"]\nd:\"$Sreact.suspense\"\ne:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"LoadingProvider\"]\n14:I[19253,[],\"\"]\n9:{}\nf:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n10:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n11:{\"display\":\"inline-block\"}\n12:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n15:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"8WaN6q-o9WUaI6Ue--Q1D\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"worlds\"],\"initialTree\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\",\"worlds\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$9\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/6a2c381c71b398da.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$10\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$11\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$12\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L13\"],\"globalErrorComponent\":\"$14\",\"missingSlots\":\"$W15\"}]\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Minecraft Server Manager\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Web-based management console for Minecraft server infrastructure\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/icon.svg?0f68875a168deab8\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}]]\n3:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/6a2c381c71b398da.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-7e31802f06defd3e.js"/><script src="/_next/static/chunks/3b518dcd-5724e59d48f01b72.js" async=""></script><script src="/_next/static/chunks/2757-058492b5c236cb62.js" async=""></script><script src="/_next/static/chunks/main-app-666bf3e0c0f3dee2.js" async=""></script><script src="/_next/static/chunks/6812-f5924f14ef351036.js" async=""></script><script src="/_next/static/chunks/9760-3b9261fc2cfda017.js" async=""></script><script src="/_next/static/chunks/5004-6ecca3df16643209.js" async=""></script><script src="/_next/static/chunks/7296-063cc1cf1200429d.js" async=""></script><script src="/_next/static/chunks/7436-dc5c09a9f287522b.js" async=""></script><script src="/_next/static/chunks/1071-235049df1c3caba7.js" async=""></script><script src="/_next/static/chunks/540-4b925f2c57833962.js" async=""></script><script src="/_next/static/chunks/4416-2385e5784dc036d6.js" async=""></script><script src="/_next/static/chunks/2538-09440cfe5c38aa16.js" async=""></script><script src="/_next/static/chunks/5511-7a419d84918a8d64.js" async=""></script><script src="/_next/static/chunks/3938-b55cb95203c34832.js" async=""></script><script src="/_next/static/chunks/7073-3b047d20c07ac065.js" async=""></script><script src="/_next/static/chunks/140-c12e00f0de7cd7be.js" async=""></script><script src="/_next/static/chunks/2666-0ffcaa56248fa87e.js" async=""></script><script src="/_next/static/chunks/app/(main)/worlds/page-66e7e55928f43f54.js" async=""></script><script src="/_next/static/chunks/2542-6ea12719b9ca1b7c.js" async=""></script><script src="/_next/static/chunks/55-cc17f03142ace10c.js" async=""></script><script src="/_next/static/chunks/4219-4ac199a28917d787.js" async=""></script><script src="/_next/static/chunks/8347-d55cd74fb316fad0.js" async=""></script><script src="/_next/static/chunks/9097-3bc29153e9b2c9d1.js" async=""></script><script src="/_next/static/chunks/9022-598befdec2960f02.js" async=""></script><script src="/_next/static/chunks/423-766c202217f701c0.js" async=""></script><script src="/_next/static/chunks/app/(main)/layout-9822cba515754d43.js" async=""></script><script src="/_next/static/chunks/7087-64ab6928ccdc0ca7.js" async=""></script><script src="/_next/static/chunks/app/layout-eaefe334d7b2816a.js" async=""></script><title>Minecraft Server Manager</title><meta name="description" content="Web-based management console for Minecraft server infrastructure"/><link rel="icon" href="/icon.svg?0f68875a168deab8" type="image/svg+xml" sizes="any"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global hcxkty">html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box;-webkit-text-size-adjust:100%;}*,*::before,*::after{box-sizing:inherit;}strong,b{font-weight:700;}body{margin:0;color:#ffffff;font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:400;font-size:1rem;line-height:1.5;letter-spacing:0.00938em;background-color:#16181c;}@media print{body{background-color:#fff;}}body::backdrop{background-color:#16181c;}body{scrollbar-color:#313338 #16181c;}body::-webkit-scrollbar,body *::-webkit-scrollbar{background-color:#16181c;width:8px;}body::-webkit-scrollbar-thumb,body *::-webkit-scrollbar-thumb{border-radius:8px;background-color:#313338;min-height:24px;}body::-webkit-scrollbar-thumb:hover,body *::-webkit-scrollbar-thumb:hover{background-color:#26282e;}</style></head><body><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-7e31802f06defd3e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/6a2c381c71b398da.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[39943,[],\"\"]\n4:I[68067,[],\"ClientPageRoot\"]\n5:I[36405,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"4416\",\"static/chunks/4416-2385e5784dc036d6.js\",\"2538\",\"static/chunks/2538-09440cfe5c38aa16.js\",\"5511\",\"static/chunks/5511-7a419d84918a8d64.js\",\"3938\",\"static/chunks/3938-b55cb95203c34832.js\",\"7073\",\"static/chunks/7073-3b047d20c07ac065.js\",\"140\",\"static/chunks/140-c12e00f0de7cd7be.js\",\"2666\",\"static/chunks/2666-0ffcaa56248fa87e.js\",\"7701\",\"static/chunks/app/(main)/worlds/page-66e7e55928f43f54.js\"],\"default\",1]\n6:I[14224,[],\"\"]\n7:I[2863,[],\"\"]\n8:I[6453,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"2542\",\"static/chunks/2542-6ea12719b9ca1b7c.js\",\"55\",\"static/chunks/55-cc17f03142ace10c.js\",\"4219\",\"static/chunks/4219-4ac199a28917d787.js\",\"8347\",\"static/chunks/8347-d55cd74fb316fad0.js\",\"9097\",\"static/chunks/9097-3bc29153e9b2c9d1.js\",\"9022\",\"static/chunks/9022-598befdec2960f02.js\",\"423\",\"static/chunks/423-766c202217f701c0.js\",\"4095\",\"static/chunks/app/(main)/layout-9822cba515754d43.js\"],\"default\",1]\na:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"default\"]\nb:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"ThemeProvider\"]\nc:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"5"])</script><script>self.__next_f.push([1,"40\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"QueryProvider\"]\nd:\"$Sreact.suspense\"\ne:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"LoadingProvider\"]\n14:I[19253,[],\"\"]\n9:{}\nf:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n10:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n11:{\"display\":\"inline-block\"}\n12:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n15:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"xDJAZTu4K3qWOH_XZ3IyH\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"worlds\"],\"initialTree\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\",\"worlds\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$9\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/6a2c381c71b398da.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$10\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$11\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$12\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L13\"],\"globalErrorComponent\":\"$14\",\"missingSlots\":\"$W15\"}]\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Minecraft Server Manager\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Web-based management console for Minecraft server infrastructure\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/icon.svg?0f68875a168deab8\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}]]\n3:null\n"])</script></body></html>
@@ -1,8 +1,8 @@
1
1
  2:I[68067,[],"ClientPageRoot"]
2
- 3:I[36405,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","5004","static/chunks/5004-6ecca3df16643209.js","7296","static/chunks/7296-063cc1cf1200429d.js","7436","static/chunks/7436-dc5c09a9f287522b.js","1071","static/chunks/1071-235049df1c3caba7.js","540","static/chunks/540-4b925f2c57833962.js","4416","static/chunks/4416-2385e5784dc036d6.js","2538","static/chunks/2538-09440cfe5c38aa16.js","880","static/chunks/880-be7151cc9c502be6.js","5511","static/chunks/5511-7a419d84918a8d64.js","7073","static/chunks/7073-3b047d20c07ac065.js","140","static/chunks/140-25eb9312925d8fea.js","2666","static/chunks/2666-060d67b8e56af9d0.js","7701","static/chunks/app/(main)/worlds/page-874ad606cffc439d.js"],"default",1]
2
+ 3:I[36405,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","5004","static/chunks/5004-6ecca3df16643209.js","7296","static/chunks/7296-063cc1cf1200429d.js","7436","static/chunks/7436-dc5c09a9f287522b.js","1071","static/chunks/1071-235049df1c3caba7.js","540","static/chunks/540-4b925f2c57833962.js","4416","static/chunks/4416-2385e5784dc036d6.js","2538","static/chunks/2538-09440cfe5c38aa16.js","5511","static/chunks/5511-7a419d84918a8d64.js","3938","static/chunks/3938-b55cb95203c34832.js","7073","static/chunks/7073-3b047d20c07ac065.js","140","static/chunks/140-c12e00f0de7cd7be.js","2666","static/chunks/2666-0ffcaa56248fa87e.js","7701","static/chunks/app/(main)/worlds/page-66e7e55928f43f54.js"],"default",1]
3
3
  4:I[14224,[],""]
4
4
  5:I[2863,[],""]
5
- 6:I[6453,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","5004","static/chunks/5004-6ecca3df16643209.js","7296","static/chunks/7296-063cc1cf1200429d.js","7436","static/chunks/7436-dc5c09a9f287522b.js","1071","static/chunks/1071-235049df1c3caba7.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","55","static/chunks/55-cc17f03142ace10c.js","4219","static/chunks/4219-26d64443218aac0b.js","8347","static/chunks/8347-d55cd74fb316fad0.js","9097","static/chunks/9097-3bc29153e9b2c9d1.js","9022","static/chunks/9022-598befdec2960f02.js","6918","static/chunks/6918-a51d55370b6c7caa.js","4095","static/chunks/app/(main)/layout-46198c04ba71ec0e.js"],"default",1]
5
+ 6:I[6453,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","5004","static/chunks/5004-6ecca3df16643209.js","7296","static/chunks/7296-063cc1cf1200429d.js","7436","static/chunks/7436-dc5c09a9f287522b.js","1071","static/chunks/1071-235049df1c3caba7.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","55","static/chunks/55-cc17f03142ace10c.js","4219","static/chunks/4219-4ac199a28917d787.js","8347","static/chunks/8347-d55cd74fb316fad0.js","9097","static/chunks/9097-3bc29153e9b2c9d1.js","9022","static/chunks/9022-598befdec2960f02.js","423","static/chunks/423-766c202217f701c0.js","4095","static/chunks/app/(main)/layout-9822cba515754d43.js"],"default",1]
6
6
  8:I[89083,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","7087","static/chunks/7087-64ab6928ccdc0ca7.js","3185","static/chunks/app/layout-eaefe334d7b2816a.js"],"default"]
7
7
  9:I[48283,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","7087","static/chunks/7087-64ab6928ccdc0ca7.js","3185","static/chunks/app/layout-eaefe334d7b2816a.js"],"ThemeProvider"]
8
8
  a:I[22237,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","7087","static/chunks/7087-64ab6928ccdc0ca7.js","3185","static/chunks/app/layout-eaefe334d7b2816a.js"],"QueryProvider"]
@@ -13,6 +13,6 @@ d:{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Appl
13
13
  e:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
14
14
  f:{"display":"inline-block"}
15
15
  10:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
16
- 0:["8WaN6q-o9WUaI6Ue--Q1D",[[["",{"children":["(main)",{"children":["worlds",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(main)",{"children":["worlds",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(main)","children","worlds","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(main)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6a2c381c71b398da.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","div",null,{"id":"__next","children":["$","$L8",null,{"children":["$","$L9",null,{"children":["$","$La",null,{"children":["$","$b",null,{"fallback":null,"children":["$","$Lc",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$d","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$e","children":"404"}],["$","div",null,{"style":"$f","children":["$","h2",null,{"style":"$10","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]}]}]}]}]}]],null],null],["$L11",null]]]]
16
+ 0:["xDJAZTu4K3qWOH_XZ3IyH",[[["",{"children":["(main)",{"children":["worlds",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(main)",{"children":["worlds",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(main)","children","worlds","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(main)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6a2c381c71b398da.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","div",null,{"id":"__next","children":["$","$L8",null,{"children":["$","$L9",null,{"children":["$","$La",null,{"children":["$","$b",null,{"fallback":null,"children":["$","$Lc",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$d","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$e","children":"404"}],["$","div",null,{"style":"$f","children":["$","h2",null,{"style":"$10","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]}]}]}]}]}]],null],null],["$L11",null]]]]
17
17
  11:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Minecraft Server Manager"}],["$","meta","3",{"name":"description","content":"Web-based management console for Minecraft server infrastructure"}],["$","link","4",{"rel":"icon","href":"/icon.svg?0f68875a168deab8","type":"image/svg+xml","sizes":"any"}]]
18
18
  1:null
@@ -4,60 +4,63 @@
4
4
  "/login/page": "app/login/page.js",
5
5
  "/page": "app/page.js",
6
6
  "/signup/page": "app/signup/page.js",
7
+ "/api/audit-logs/stats/route": "app/api/audit-logs/stats/route.js",
7
8
  "/api/audit-logs/[id]/route": "app/api/audit-logs/[id]/route.js",
8
- "/api/audit-logs/route": "app/api/audit-logs/route.js",
9
- "/api/auth/[...all]/route": "app/api/auth/[...all]/route.js",
9
+ "/api/backup/history/route": "app/api/backup/history/route.js",
10
10
  "/api/audit-logs/export/route": "app/api/audit-logs/export/route.js",
11
- "/api/audit-logs/stream/route": "app/api/audit-logs/stream/route.js",
11
+ "/api/auth/[...all]/route": "app/api/auth/[...all]/route.js",
12
12
  "/api/backup/restore/route": "app/api/backup/restore/route.js",
13
- "/api/backup/history/route": "app/api/backup/history/route.js",
13
+ "/api/audit-logs/stream/route": "app/api/audit-logs/stream/route.js",
14
+ "/api/backup/route": "app/api/backup/route.js",
15
+ "/api/backup/schedules/[id]/toggle/route": "app/api/backup/schedules/[id]/toggle/route.js",
16
+ "/api/backup/schedules/[id]/route": "app/api/backup/schedules/[id]/route.js",
14
17
  "/api/mods/projects/route": "app/api/mods/projects/route.js",
15
18
  "/api/mods/search/route": "app/api/mods/search/route.js",
16
- "/api/backup/route": "app/api/backup/route.js",
19
+ "/api/backup/schedules/route": "app/api/backup/schedules/route.js",
17
20
  "/api/players/kick/route": "app/api/players/kick/route.js",
18
- "/api/players/ban/route": "app/api/players/ban/route.js",
19
21
  "/api/players/op/[player]/route": "app/api/players/op/[player]/route.js",
20
22
  "/api/players/route": "app/api/players/route.js",
21
- "/api/players/whitelist/route": "app/api/players/whitelist/route.js",
22
- "/api/audit-logs/stats/route": "app/api/audit-logs/stats/route.js",
23
- "/api/players/whitelist/status/route": "app/api/players/whitelist/status/route.js",
23
+ "/api/audit-logs/route": "app/api/audit-logs/route.js",
24
+ "/api/players/op/route": "app/api/players/op/route.js",
24
25
  "/api/playit/start/route": "app/api/playit/start/route.js",
25
26
  "/api/playit/status/route": "app/api/playit/status/route.js",
26
- "/api/router/status/route": "app/api/router/status/route.js",
27
+ "/api/players/whitelist/status/route": "app/api/players/whitelist/status/route.js",
27
28
  "/api/playit/stop/route": "app/api/playit/stop/route.js",
29
+ "/api/players/whitelist/route": "app/api/players/whitelist/route.js",
30
+ "/api/router/status/route": "app/api/router/status/route.js",
28
31
  "/api/servers/[name]/exec/route": "app/api/servers/[name]/exec/route.js",
29
32
  "/api/servers/[name]/config/route": "app/api/servers/[name]/config/route.js",
30
- "/api/servers/[name]/[action]/route": "app/api/servers/[name]/[action]/route.js",
31
33
  "/api/servers/[name]/files/mkdir/route": "app/api/servers/[name]/files/mkdir/route.js",
32
34
  "/api/servers/[name]/files/read/route": "app/api/servers/[name]/files/read/route.js",
35
+ "/api/servers/[name]/[action]/route": "app/api/servers/[name]/[action]/route.js",
33
36
  "/api/servers/[name]/files/rename/route": "app/api/servers/[name]/files/rename/route.js",
34
- "/api/servers/[name]/files/download/route": "app/api/servers/[name]/files/download/route.js",
37
+ "/api/players/ban/route": "app/api/players/ban/route.js",
35
38
  "/api/servers/[name]/files/write/route": "app/api/servers/[name]/files/write/route.js",
36
39
  "/api/servers/[name]/files/route": "app/api/servers/[name]/files/route.js",
37
- "/api/servers/[name]/mods/[slug]/route": "app/api/servers/[name]/mods/[slug]/route.js",
38
40
  "/api/servers/[name]/files/upload/route": "app/api/servers/[name]/files/upload/route.js",
39
41
  "/api/servers/[name]/hostnames/route": "app/api/servers/[name]/hostnames/route.js",
42
+ "/api/servers/[name]/mods/[slug]/route": "app/api/servers/[name]/mods/[slug]/route.js",
43
+ "/api/servers/[name]/route": "app/api/servers/[name]/route.js",
40
44
  "/api/servers/[name]/mods/route": "app/api/servers/[name]/mods/route.js",
41
45
  "/api/servers/[name]/world/reset/route": "app/api/servers/[name]/world/reset/route.js",
42
- "/api/servers/[name]/route": "app/api/servers/[name]/route.js",
43
46
  "/api/servers/route": "app/api/servers/route.js",
44
47
  "/api/user-servers/[id]/route": "app/api/user-servers/[id]/route.js",
45
48
  "/api/sse/[...path]/route": "app/api/sse/[...path]/route.js",
46
49
  "/api/users/route": "app/api/users/route.js",
47
- "/api/user-servers/route": "app/api/user-servers/route.js",
48
- "/api/worlds/[name]/[action]/route": "app/api/worlds/[name]/[action]/route.js",
49
- "/api/players/op/route": "app/api/players/op/route.js",
50
- "/api/worlds/route": "app/api/worlds/route.js",
51
50
  "/api/worlds/[name]/route": "app/api/worlds/[name]/route.js",
51
+ "/api/servers/[name]/files/download/route": "app/api/servers/[name]/files/download/route.js",
52
+ "/api/worlds/route": "app/api/worlds/route.js",
53
+ "/api/worlds/[name]/[action]/route": "app/api/worlds/[name]/[action]/route.js",
54
+ "/api/user-servers/route": "app/api/user-servers/route.js",
52
55
  "/(main)/audit-logs/page": "app/(main)/audit-logs/page.js",
53
56
  "/(main)/backups/page": "app/(main)/backups/page.js",
54
- "/(main)/dashboard/page": "app/(main)/dashboard/page.js",
55
57
  "/(main)/players/page": "app/(main)/players/page.js",
58
+ "/(main)/dashboard/page": "app/(main)/dashboard/page.js",
56
59
  "/(main)/routing/page": "app/(main)/routing/page.js",
57
60
  "/(main)/servers/[name]/console/page": "app/(main)/servers/[name]/console/page.js",
58
61
  "/(main)/servers/[name]/page": "app/(main)/servers/[name]/page.js",
59
62
  "/(main)/servers/page": "app/(main)/servers/page.js",
60
- "/(main)/settings/page": "app/(main)/settings/page.js",
61
63
  "/(main)/worlds/page": "app/(main)/worlds/page.js",
64
+ "/(main)/settings/page": "app/(main)/settings/page.js",
62
65
  "/(main)/admin/users/page": "app/(main)/admin/users/page.js"
63
66
  }
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=1309,exports.ids=[1309],exports.modules={78649:(e,t,s)=>{s.d(t,{F0:()=>a,zB:()=>r});class r extends Error{constructor(e,t,s){super(s),this.statusCode=e,this.error=t,this.name="McctlApiError"}}class n{constructor(e){this.baseUrl=e.baseUrl.replace(/\/$/,""),this.apiKey=e.apiKey,this.userContext=e.userContext}async fetch(e,t={}){let s=`${this.baseUrl}${e}`,n={"X-API-Key":this.apiKey};t.body&&(n["Content-Type"]="application/json"),this.userContext&&(n["X-User"]=this.userContext.username,n["X-Role"]=this.userContext.role);let a=await fetch(s,{...t,headers:{...n,...t.headers}});if(!a.ok){let e=await a.json().catch(()=>({error:"UnknownError",message:a.statusText}));throw new r(a.status,e.error,e.message)}return a.json()}async getServers(){return this.fetch("/api/servers")}async getServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}`)}async createServer(e){return this.fetch("/api/servers",{method:"POST",body:JSON.stringify(e)})}async deleteServer(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}${t?"?force=true":""}`,{method:"DELETE"})}async startServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/start`,{method:"POST"})}async stopServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/stop`,{method:"POST"})}async restartServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/restart`,{method:"POST"})}async execCommand(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/exec`,{method:"POST",body:JSON.stringify({command:t})})}async getLogs(e,t=100){return this.fetch(`/api/servers/${encodeURIComponent(e)}/logs?lines=${t}`)}async getWorlds(){return this.fetch("/api/worlds")}async getWorld(e){return this.fetch(`/api/worlds/${encodeURIComponent(e)}`)}async createWorld(e){return this.fetch("/api/worlds",{method:"POST",body:JSON.stringify(e)})}async assignWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}/assign`,{method:"POST",body:JSON.stringify({serverName:t})})}async releaseWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}/release${t?"?force=true":""}`,{method:"POST"})}async deleteWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}${t?"?force=true":""}`,{method:"DELETE"})}async getServerConfig(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/config`)}async updateServerConfig(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/config`,{method:"PATCH",body:JSON.stringify(t)})}async resetWorld(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/world/reset`,{method:"POST"})}async getRouterStatus(){return this.fetch("/api/router/status")}async getBackupStatus(){return this.fetch("/api/backup/status")}async pushBackup(e){let t=e?JSON.stringify({message:e}):void 0;return this.fetch("/api/backup/push",{method:"POST",body:t})}async getBackupHistory(e=20){return this.fetch(`/api/backup/history?limit=${e}`)}async restoreBackup(e){return this.fetch("/api/backup/restore",{method:"POST",body:JSON.stringify({commitHash:e})})}async getWhitelist(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist`)}async getWhitelistStatus(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/status`)}async setWhitelistStatus(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/status`,{method:"PUT",body:JSON.stringify({enabled:t})})}async addToWhitelist(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist`,{method:"POST",body:JSON.stringify({player:t})})}async removeFromWhitelist(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/${encodeURIComponent(t)}`,{method:"DELETE"})}async getBans(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans`)}async banPlayer(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans`,{method:"POST",body:JSON.stringify({player:t,reason:s})})}async unbanPlayer(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans/${encodeURIComponent(t)}`,{method:"DELETE"})}async getOpsWithLevel(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops`)}async addOpWithLevel(e,t,s=4){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops`,{method:"POST",body:JSON.stringify({player:t,level:s})})}async updateOpLevel(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops/${encodeURIComponent(t)}`,{method:"PATCH",body:JSON.stringify({level:s})})}async removeOp(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops/${encodeURIComponent(t)}`,{method:"DELETE"})}async getOps(e){return this.getOpsWithLevel(e).then(e=>({players:e.operators.map(e=>e.name),total:e.count,source:e.source}))}async addOp(e,t){return this.addOpWithLevel(e,t,4).then(e=>({success:e.success,message:e.message||`Added ${t} as operator`,source:e.source}))}async getHostnames(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/hostnames`)}async updateHostnames(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/hostnames`,{method:"PUT",body:JSON.stringify({customHostnames:t})})}async getServerMods(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods`)}async addServerMods(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods`,{method:"POST",body:JSON.stringify({slugs:t,source:s})})}async removeServerMod(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods/${encodeURIComponent(t)}`,{method:"DELETE"})}async searchMods(e,t=10,s=0){let r=new URLSearchParams({q:e,limit:String(t),offset:String(s)});return this.fetch(`/api/mods/search?${r}`)}async getModProjects(e,t){let s=new URLSearchParams({slugs:e.join(",")});return t&&s.set("source",t),this.fetch(`/api/mods/projects?${s}`)}async getPlayitStatus(){return this.fetch("/api/playit/status")}async startPlayit(){return this.fetch("/api/playit/start",{method:"POST"})}async stopPlayit(){return this.fetch("/api/playit/stop",{method:"POST"})}async listFiles(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files?${s}`)}async readFile(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/read?${s}`)}async writeFile(e,t,s){let r=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/write?${r}`,{method:"PUT",body:JSON.stringify({content:s})})}async deleteFile(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files?${s}`,{method:"DELETE"})}async createDirectory(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/mkdir?${s}`,{method:"POST"})}async renameFile(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/rename`,{method:"POST",body:JSON.stringify({oldPath:t,newPath:s})})}}function a(e){let t=process.env.MCCTL_API_URL||"http://localhost:5001",s=process.env.MCCTL_API_KEY||"";return s||console.warn("MCCTL_API_KEY is not set. API requests may fail."),new n({baseUrl:t,apiKey:s,userContext:e})}},31969:(e,t,s)=>{s.d(t,{I:()=>u,Z:()=>p});var r=s(33580),n=s(5944),a=s(90224),o=s(22587),i=s(8290);let d=process.env.BETTER_AUTH_BASE_URL||`http://localhost:${process.env.PORT||5e3}`,c=d.startsWith("https://"),u=(0,r.kj)({baseURL:d,secret:process.env.BETTER_AUTH_SECRET,database:(0,n.s)(o.db,{provider:"sqlite",schema:{user:i.users,session:i.sessions,account:i.accounts,verification:i.verifications}}),emailAndPassword:{enabled:!0,requireEmailVerification:!1},session:{expiresIn:604800,updateAge:86400,cookieCache:{enabled:!0,maxAge:300}},advanced:{useSecureCookies:c},user:{additionalFields:{role:{type:"string",required:!1,defaultValue:"user",input:!1}}},plugins:[(0,a.SA)({defaultRole:"user",adminRole:"admin"})],trustedOrigins:e=>{let t=["http://localhost:5000","http://localhost:3000",d,process.env.NEXT_PUBLIC_APP_URL];if(e){let s=e.headers.get("origin");s&&function(e){try{let t=new URL(e).hostname;return"localhost"===t||"127.0.0.1"===t||"::1"===t||t.startsWith("192.168.")||t.startsWith("10.")||/^172\.(1[6-9]|2\d|3[01])\./.test(t)||t.endsWith(".local")}catch{return!1}}(s)&&t.push(s)}return t}});async function p(e){return u.api.getSession({headers:e})}},22587:(e,t,s)=>{s.d(t,{db:()=>h});var r=s(85890),n=s.n(r),a=s(31590),o=s(8290),i=s(55315),d=s.n(i),c=s(92048);let u=function(){if(process.env.DATABASE_URL)return process.env.DATABASE_URL;let e=process.env.MCCTL_ROOT||process.cwd(),t=d().join(e,"data");return d().join(t,"mcctl.db")}();!function(e){if(":memory:"===e)return;let t=d().dirname(e);(0,c.existsSync)(t)||(0,c.mkdirSync)(t,{recursive:!0})}(u);let p=new(n())(u);p.pragma("journal_mode = WAL"),p.pragma("foreign_keys = ON"),p.exec(`
1
+ "use strict";exports.id=1309,exports.ids=[1309],exports.modules={78649:(e,t,s)=>{s.d(t,{F0:()=>a,zB:()=>r});class r extends Error{constructor(e,t,s){super(s),this.statusCode=e,this.error=t,this.name="McctlApiError"}}class n{constructor(e){this.baseUrl=e.baseUrl.replace(/\/$/,""),this.apiKey=e.apiKey,this.userContext=e.userContext}async fetch(e,t={}){let s=`${this.baseUrl}${e}`,n={"X-API-Key":this.apiKey};t.body&&(n["Content-Type"]="application/json"),this.userContext&&(n["X-User"]=this.userContext.username,n["X-Role"]=this.userContext.role);let a=await fetch(s,{...t,headers:{...n,...t.headers}});if(!a.ok){let e=await a.json().catch(()=>({error:"UnknownError",message:a.statusText}));throw new r(a.status,e.error,e.message)}return a.json()}async getServers(){return this.fetch("/api/servers")}async getServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}`)}async createServer(e){return this.fetch("/api/servers",{method:"POST",body:JSON.stringify(e)})}async deleteServer(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}${t?"?force=true":""}`,{method:"DELETE"})}async startServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/start`,{method:"POST"})}async stopServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/stop`,{method:"POST"})}async restartServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/restart`,{method:"POST"})}async execCommand(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/exec`,{method:"POST",body:JSON.stringify({command:t})})}async getLogs(e,t=100){return this.fetch(`/api/servers/${encodeURIComponent(e)}/logs?lines=${t}`)}async getWorlds(){return this.fetch("/api/worlds")}async getWorld(e){return this.fetch(`/api/worlds/${encodeURIComponent(e)}`)}async createWorld(e){return this.fetch("/api/worlds",{method:"POST",body:JSON.stringify(e)})}async assignWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}/assign`,{method:"POST",body:JSON.stringify({serverName:t})})}async releaseWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}/release${t?"?force=true":""}`,{method:"POST"})}async deleteWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}${t?"?force=true":""}`,{method:"DELETE"})}async getServerConfig(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/config`)}async updateServerConfig(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/config`,{method:"PATCH",body:JSON.stringify(t)})}async resetWorld(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/world/reset`,{method:"POST"})}async getRouterStatus(){return this.fetch("/api/router/status")}async getBackupStatus(){return this.fetch("/api/backup/status")}async pushBackup(e){let t=e?JSON.stringify({message:e}):void 0;return this.fetch("/api/backup/push",{method:"POST",body:t})}async getBackupHistory(e=20){return this.fetch(`/api/backup/history?limit=${e}`)}async restoreBackup(e){return this.fetch("/api/backup/restore",{method:"POST",body:JSON.stringify({commitHash:e})})}async getBackupSchedules(){return this.fetch("/api/backup/schedules")}async getBackupSchedule(e){return this.fetch(`/api/backup/schedules/${encodeURIComponent(e)}`)}async createBackupSchedule(e){return this.fetch("/api/backup/schedules",{method:"POST",body:JSON.stringify(e)})}async updateBackupSchedule(e,t){return this.fetch(`/api/backup/schedules/${encodeURIComponent(e)}`,{method:"PUT",body:JSON.stringify(t)})}async toggleBackupSchedule(e,t){return this.fetch(`/api/backup/schedules/${encodeURIComponent(e)}/toggle`,{method:"PATCH",body:JSON.stringify({enabled:t})})}async deleteBackupSchedule(e){return this.fetch(`/api/backup/schedules/${encodeURIComponent(e)}`,{method:"DELETE"})}async getWhitelist(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist`)}async getWhitelistStatus(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/status`)}async setWhitelistStatus(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/status`,{method:"PUT",body:JSON.stringify({enabled:t})})}async addToWhitelist(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist`,{method:"POST",body:JSON.stringify({player:t})})}async removeFromWhitelist(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/${encodeURIComponent(t)}`,{method:"DELETE"})}async getBans(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans`)}async banPlayer(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans`,{method:"POST",body:JSON.stringify({player:t,reason:s})})}async unbanPlayer(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans/${encodeURIComponent(t)}`,{method:"DELETE"})}async getOpsWithLevel(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops`)}async addOpWithLevel(e,t,s=4){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops`,{method:"POST",body:JSON.stringify({player:t,level:s})})}async updateOpLevel(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops/${encodeURIComponent(t)}`,{method:"PATCH",body:JSON.stringify({level:s})})}async removeOp(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops/${encodeURIComponent(t)}`,{method:"DELETE"})}async getOps(e){return this.getOpsWithLevel(e).then(e=>({players:e.operators.map(e=>e.name),total:e.count,source:e.source}))}async addOp(e,t){return this.addOpWithLevel(e,t,4).then(e=>({success:e.success,message:e.message||`Added ${t} as operator`,source:e.source}))}async getHostnames(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/hostnames`)}async updateHostnames(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/hostnames`,{method:"PUT",body:JSON.stringify({customHostnames:t})})}async getServerMods(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods`)}async addServerMods(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods`,{method:"POST",body:JSON.stringify({slugs:t,source:s})})}async removeServerMod(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods/${encodeURIComponent(t)}`,{method:"DELETE"})}async searchMods(e,t=10,s=0){let r=new URLSearchParams({q:e,limit:String(t),offset:String(s)});return this.fetch(`/api/mods/search?${r}`)}async getModProjects(e,t){let s=new URLSearchParams({slugs:e.join(",")});return t&&s.set("source",t),this.fetch(`/api/mods/projects?${s}`)}async getPlayitStatus(){return this.fetch("/api/playit/status")}async startPlayit(){return this.fetch("/api/playit/start",{method:"POST"})}async stopPlayit(){return this.fetch("/api/playit/stop",{method:"POST"})}async listFiles(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files?${s}`)}async readFile(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/read?${s}`)}async writeFile(e,t,s){let r=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/write?${r}`,{method:"PUT",body:JSON.stringify({content:s})})}async deleteFile(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files?${s}`,{method:"DELETE"})}async createDirectory(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/mkdir?${s}`,{method:"POST"})}async renameFile(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/rename`,{method:"POST",body:JSON.stringify({oldPath:t,newPath:s})})}}function a(e){let t=process.env.MCCTL_API_URL||"http://localhost:5001",s=process.env.MCCTL_API_KEY||"";return s||console.warn("MCCTL_API_KEY is not set. API requests may fail."),new n({baseUrl:t,apiKey:s,userContext:e})}},31969:(e,t,s)=>{s.d(t,{I:()=>u,Z:()=>p});var r=s(33580),n=s(5944),a=s(90224),o=s(22587),i=s(8290);let d=process.env.BETTER_AUTH_BASE_URL||`http://localhost:${process.env.PORT||5e3}`,c=d.startsWith("https://"),u=(0,r.kj)({baseURL:d,secret:process.env.BETTER_AUTH_SECRET,database:(0,n.s)(o.db,{provider:"sqlite",schema:{user:i.users,session:i.sessions,account:i.accounts,verification:i.verifications}}),emailAndPassword:{enabled:!0,requireEmailVerification:!1},session:{expiresIn:604800,updateAge:86400,cookieCache:{enabled:!0,maxAge:300}},advanced:{useSecureCookies:c},user:{additionalFields:{role:{type:"string",required:!1,defaultValue:"user",input:!1}}},plugins:[(0,a.SA)({defaultRole:"user",adminRole:"admin"})],trustedOrigins:e=>{let t=["http://localhost:5000","http://localhost:3000",d,process.env.NEXT_PUBLIC_APP_URL];if(e){let s=e.headers.get("origin");s&&function(e){try{let t=new URL(e).hostname;return"localhost"===t||"127.0.0.1"===t||"::1"===t||t.startsWith("192.168.")||t.startsWith("10.")||/^172\.(1[6-9]|2\d|3[01])\./.test(t)||t.endsWith(".local")}catch{return!1}}(s)&&t.push(s)}return t}});async function p(e){return u.api.getSession({headers:e})}},22587:(e,t,s)=>{s.d(t,{db:()=>h});var r=s(85890),n=s.n(r),a=s(31590),o=s(8290),i=s(55315),d=s.n(i),c=s(92048);let u=function(){if(process.env.DATABASE_URL)return process.env.DATABASE_URL;let e=process.env.MCCTL_ROOT||process.cwd(),t=d().join(e,"data");return d().join(t,"mcctl.db")}();!function(e){if(":memory:"===e)return;let t=d().dirname(e);(0,c.existsSync)(t)||(0,c.mkdirSync)(t,{recursive:!0})}(u);let p=new(n())(u);p.pragma("journal_mode = WAL"),p.pragma("foreign_keys = ON"),p.exec(`
2
2
  CREATE TABLE IF NOT EXISTS users (
3
3
  id TEXT PRIMARY KEY,
4
4
  name TEXT NOT NULL,
@@ -0,0 +1 @@
1
+ "use strict";exports.id=4151,exports.ids=[4151],exports.modules={43137:(e,r,n)=>{async function t(e,r={}){let n={...r.headers};r.body&&(n["Content-Type"]="application/json");let t=await fetch(e,{...r,headers:n});if(!t.ok){let e=await t.json().catch(()=>({error:"UnknownError",message:t.statusText})),r=Error(e.message);throw r.statusCode=t.status,r.code=e.error,r}return t.json()}n.d(r,{SC:()=>t})},74151:(e,r,n)=>{n.d(r,{$t:()=>Q,Aw:()=>d,Bx:()=>b,CA:()=>D,Fv:()=>h,Hq:()=>c,Hy:()=>a,JV:()=>T,Js:()=>K,Ll:()=>R,MH:()=>C,S0:()=>P,Sr:()=>p,Yo:()=>O,_I:()=>l,c1:()=>U,c5:()=>w,d:()=>$,g2:()=>m,gx:()=>q,hy:()=>v,iC:()=>f,jM:()=>y,mj:()=>N,nq:()=>S,nv:()=>F,ox:()=>g,s8:()=>I,tT:()=>L,x$:()=>o,zF:()=>k});var t=n(28872),s=n(95343),i=n(20042),u=n(43137);function o(){return(0,t.a)({queryKey:["servers"],queryFn:()=>(0,u.SC)("/api/servers"),refetchInterval:6e4})}function a(e,r){return(0,t.a)({queryKey:["servers",e],queryFn:()=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}`),enabled:r?.enabled!==!1&&!!e,refetchInterval:3e4})}function c(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({name:e,force:r})=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}${r?"?force=true":""}`,{method:"DELETE"}),onSuccess:()=>{e.invalidateQueries({queryKey:["servers"]})}})}function y(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}/start`,{method:"POST"}),onSuccess:(r,n)=>{e.invalidateQueries({queryKey:["servers"]}),e.invalidateQueries({queryKey:["servers",n]})}})}function d(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}/stop`,{method:"POST"}),onSuccess:(r,n)=>{e.invalidateQueries({queryKey:["servers"]}),e.invalidateQueries({queryKey:["servers",n]})}})}function l(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}/restart`,{method:"POST"}),onSuccess:(r,n)=>{e.invalidateQueries({queryKey:["servers"]}),e.invalidateQueries({queryKey:["servers",n]})}})}function p(){return(0,t.a)({queryKey:["worlds"],queryFn:()=>(0,u.SC)("/api/worlds"),refetchInterval:3e4})}function v(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,u.SC)("/api/worlds",{method:"POST",body:JSON.stringify(e)}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]})}})}function S(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({worldName:e,serverName:r})=>(0,u.SC)(`/api/worlds/${encodeURIComponent(e)}/assign`,{method:"POST",body:JSON.stringify({serverName:r})}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]}),e.invalidateQueries({queryKey:["servers"]})}})}function m(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({worldName:e,force:r})=>(0,u.SC)(`/api/worlds/${encodeURIComponent(e)}/release${r?"?force=true":""}`,{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]})}})}function h(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({name:e,force:r})=>(0,u.SC)(`/api/worlds/${encodeURIComponent(e)}${r?"?force=true":""}`,{method:"DELETE"}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]})}})}function f(e,r){return(0,t.a)({queryKey:["servers",e,"config"],queryFn:()=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}/config`),enabled:r?.enabled!==!1&&!!e})}function C(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,config:r})=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}/config`,{method:"PATCH",body:JSON.stringify(r)}),onSuccess:(r,{serverName:n})=>{e.invalidateQueries({queryKey:["servers",n,"config"]}),e.invalidateQueries({queryKey:["servers",n]})}})}function q(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}/world/reset`,{method:"POST"}),onSuccess:(r,n)=>{e.invalidateQueries({queryKey:["servers",n]}),e.invalidateQueries({queryKey:["worlds"]})}})}function K(e,r){return(0,t.a)({queryKey:["servers",e,"hostnames"],queryFn:()=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}/hostnames`),enabled:r?.enabled!==!1&&!!e})}function b(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,customHostnames:r})=>(0,u.SC)(`/api/servers/${encodeURIComponent(e)}/hostnames`,{method:"PUT",body:JSON.stringify({customHostnames:r})}),onSuccess:(r,{serverName:n})=>{e.invalidateQueries({queryKey:["servers",n,"hostnames"]}),e.invalidateQueries({queryKey:["servers",n]})}})}function F(){return(0,t.a)({queryKey:["router-status"],queryFn:()=>(0,u.SC)("/api/router/status"),refetchInterval:3e4})}function N(){return(0,t.a)({queryKey:["backup-status"],queryFn:()=>(0,u.SC)("/api/backup"),refetchInterval:6e4})}function Q(e=20){return(0,t.a)({queryKey:["backup-history",e],queryFn:()=>(0,u.SC)(`/api/backup/history?limit=${e}`),refetchInterval:6e4})}function w(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({message:e})=>(0,u.SC)("/api/backup",{method:"POST",body:JSON.stringify({message:e})}),onSuccess:()=>{e.invalidateQueries({queryKey:["backup-status"]}),e.invalidateQueries({queryKey:["backup-history"]})}})}function I(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,u.SC)("/api/backup/restore",{method:"POST",body:JSON.stringify({commitHash:e})}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]}),e.invalidateQueries({queryKey:["servers"]})}})}function $(){return(0,t.a)({queryKey:["backup-schedules"],queryFn:()=>(0,u.SC)("/api/backup/schedules"),refetchInterval:6e4})}function L(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,u.SC)("/api/backup/schedules",{method:"POST",body:JSON.stringify(e)}),onSuccess:()=>{e.invalidateQueries({queryKey:["backup-schedules"]})}})}function D(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({id:e,data:r})=>(0,u.SC)(`/api/backup/schedules/${encodeURIComponent(e)}`,{method:"PUT",body:JSON.stringify(r)}),onSuccess:()=>{e.invalidateQueries({queryKey:["backup-schedules"]})}})}function U(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({id:e,enabled:r})=>(0,u.SC)(`/api/backup/schedules/${encodeURIComponent(e)}/toggle`,{method:"PATCH",body:JSON.stringify({enabled:r})}),onSuccess:()=>{e.invalidateQueries({queryKey:["backup-schedules"]})}})}function T(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,u.SC)(`/api/backup/schedules/${encodeURIComponent(e)}`,{method:"DELETE"}),onSuccess:()=>{e.invalidateQueries({queryKey:["backup-schedules"]})}})}function g(e){return(0,t.a)({queryKey:["servers",e,"whitelist"],queryFn:()=>(0,u.SC)(`/api/players/whitelist?server=${encodeURIComponent(e)}`),enabled:!!e})}function O(e){return(0,t.a)({queryKey:["servers",e,"whitelist-status"],queryFn:()=>(0,u.SC)(`/api/players/whitelist/status?server=${encodeURIComponent(e)}`),enabled:!!e})}function k(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,enabled:r})=>(0,u.SC)("/api/players/whitelist/status",{method:"PUT",body:JSON.stringify({server:e,enabled:r})}),onSuccess:(r,{serverName:n})=>{e.invalidateQueries({queryKey:["servers",n,"whitelist-status"]}),e.invalidateQueries({queryKey:["servers",n,"whitelist"]})}})}function R(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,player:r})=>(0,u.SC)("/api/players/whitelist",{method:"POST",body:JSON.stringify({server:e,player:r})}),onSuccess:(r,{serverName:n})=>{e.invalidateQueries({queryKey:["servers",n,"whitelist"]})}})}function P(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,player:r})=>(0,u.SC)(`/api/players/whitelist?player=${encodeURIComponent(r)}&server=${encodeURIComponent(e)}`,{method:"DELETE"}),onSuccess:(r,{serverName:n})=>{e.invalidateQueries({queryKey:["servers",n,"whitelist"]})}})}}};
@@ -1 +1 @@
1
- "use strict";exports.id=5843,exports.ids=[5843],exports.modules={5414:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)([(0,a.jsx)("path",{d:"m7.3 14.7 1.2-1.2c-1-1-1.5-2.3-1.5-3.5 0-1.3.5-2.6 1.5-3.5L7.3 5.3c-1.3 1.3-2 3-2 4.7s.7 3.4 2 4.7M19.1 2.9l-1.2 1.2c1.6 1.6 2.4 3.8 2.4 5.9 0 2.1-.8 4.3-2.4 5.9l1.2 1.2c2-2 2.9-4.5 2.9-7.1 0-2.6-1-5.1-2.9-7.1"},"0"),(0,a.jsx)("path",{d:"M6.1 4.1 4.9 2.9C3 4.9 2 7.4 2 10c0 2.6 1 5.1 2.9 7.1l1.2-1.2c-1.6-1.6-2.4-3.8-2.4-5.9 0-2.1.8-4.3 2.4-5.9m10.6 10.6c1.3-1.3 2-3 2-4.7-.1-1.7-.7-3.4-2-4.7l-1.2 1.2c1 1 1.5 2.3 1.5 3.5 0 1.3-.5 2.6-1.5 3.5zM14.5 10c0-1.38-1.12-2.5-2.5-2.5S9.5 8.62 9.5 10c0 .76.34 1.42.87 1.88L7 22h2l.67-2h4.67l.66 2h2l-3.37-10.12c.53-.46.87-1.12.87-1.88m-4.17 8L12 13l1.67 5z"},"1")],"CellTower")},94304:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info")},79603:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M15.9 5c-.17 0-.32.09-.41.23l-.07.15-5.18 11.65c-.16.29-.26.61-.26.96 0 1.11.9 2.01 2.01 2.01.96 0 1.77-.68 1.96-1.59l.01-.03L16.4 5.5c0-.28-.22-.5-.5-.5M1 9l2 2c2.88-2.88 6.79-4.08 10.53-3.62l1.19-2.68C9.89 3.84 4.74 5.27 1 9m20 2 2-2c-1.64-1.64-3.55-2.82-5.59-3.57l-.53 2.82c1.5.62 2.9 1.53 4.12 2.75m-4 4 2-2c-.8-.8-1.7-1.42-2.66-1.89l-.55 2.92c.42.27.83.59 1.21.97M5 13l2 2c1.13-1.13 2.56-1.79 4.03-2l1.28-2.88c-2.63-.08-5.3.87-7.31 2.88"}),"NetworkCheck")},84292:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop")},95843:(e,s,r)=>{r.d(s,{eE:()=>Q,E4:()=>N,SB:()=>k,ms:()=>_,hI:()=>m,aY:()=>ed,zd:()=>U,Ik:()=>C});var t=r(58120),n=r(67073),a=r(92797),l=r(2365),i=r(89352),o=r(48787),d=r(37891),c=r(88916),x=r(59059),h=r(75698),u=r(79795);let j={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},p={border:0,py:1};function m({router:e}){var s;let r=(s=e.mode)?s.includes("in-docker")||s.includes("auto-discovery")?{label:"Auto Discovery",color:"info"}:s.includes("mapping")?{label:"Manual Mapping",color:"warning"}:{label:s,color:"default"}:{label:"Unknown",color:"default"};return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(u.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Platform Information"})]}),t.jsx(d.Z,{size:"small",children:(0,t.jsxs)(c.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:j,children:"Router Name"}),t.jsx(h.Z,{sx:p,children:e.name})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:j,children:"Port"}),t.jsx(h.Z,{sx:p,children:e.port})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:j,children:"Mode"}),t.jsx(h.Z,{sx:p,children:t.jsx(o.Z,{label:r.label,size:"small",color:r.color,variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:j,children:"Uptime"}),t.jsx(h.Z,{sx:p,children:e.uptime||"-"})]})]})})]})})}var Z=r(98243),f=r(95009),g=r(4587),y=r(45912),v=r(32130),w=r(84527);function b(e){switch(e){case"running":return"#4caf50";case"exited":case"dead":case"not_found":case"not_created":return"#f44336";case"created":case"restarting":case"paused":return"#ff9800";default:return"#9e9e9e"}}function S({status:e}){return t.jsx(Z.Z,{title:e,arrow:!0,children:t.jsx(i.Z,{sx:{width:10,height:10,borderRadius:"50%",bgcolor:b(e),flexShrink:0,boxShadow:"running"===e?`0 0 6px ${b(e)}`:"none"}})})}function C({router:e}){let s=function(e){let s=new Map;for(let r of e){let e=r.target.replace(/^mc-/,"").replace(/:25565$/,""),t=s.get(e);t?t.hostnames.push(r.hostname):s.set(e,{status:r.serverStatus,hostnames:[r.hostname],serverType:r.serverType,serverVersion:r.serverVersion})}return s}(e.routes);return t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(v.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"MC-Router Status"}),(0,t.jsxs)(i.Z,{sx:{ml:"auto",display:"flex",gap:1},children:[t.jsx(o.Z,{label:e.status,size:"small",color:function(e){switch(e){case"running":return"success";case"exited":case"dead":case"not_found":case"not_created":return"error";case"created":case"restarting":case"paused":return"warning";default:return"default"}}(e.status)}),t.jsx(o.Z,{label:e.health,size:"small",color:function(e){switch(e){case"healthy":return"success";case"unhealthy":return"error";case"starting":return"warning";default:return"default"}}(e.health),variant:"outlined"})]})]}),t.jsx(l.Z,{variant:"subtitle2",sx:{mb:1,mt:3},children:"Routing Table"}),0===e.routes.length?t.jsx(l.Z,{variant:"body2",color:"text.secondary",sx:{py:2,textAlign:"center"},children:"No routes configured"}):t.jsx(i.Z,{sx:{mt:1},children:Array.from(s.entries()).map(([e,{status:s,hostnames:r,serverType:n,serverVersion:a}])=>(0,t.jsxs)(f.Z,{defaultExpanded:!0,disableGutters:!0,elevation:0,sx:{border:1,borderColor:"divider","&:not(:last-child)":{borderBottom:0},"&::before":{display:"none"}},children:[t.jsx(g.Z,{expandIcon:t.jsx(w.Z,{}),children:(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%",pr:1},children:[t.jsx(S,{status:s}),t.jsx(l.Z,{variant:"subtitle2",sx:{fontWeight:600},children:e}),(n||a)&&t.jsx(l.Z,{variant:"caption",color:"text.secondary",children:[n,a].filter(Boolean).join(" ")}),(0,t.jsxs)(l.Z,{variant:"caption",color:"text.secondary",sx:{ml:"auto"},children:[r.length," ",1===r.length?"route":"routes"]})]})}),t.jsx(y.Z,{sx:{pt:0},children:t.jsx(i.Z,{sx:{display:"flex",flexDirection:"column",gap:.5},children:r.map(e=>t.jsx(l.Z,{variant:"body2",sx:{fontSize:"0.85rem",color:"text.secondary"},children:e},e))})})]},e))})]})})}var z=r(79603);let P={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},I={border:0,py:1};function k({router:e}){var s;let r=e.routes.filter(e=>"running"===e.serverStatus).length,u=e.routes.length;return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(z.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Network Settings"})]}),t.jsx(i.Z,{sx:{overflowX:"auto"},children:t.jsx(d.Z,{size:"small",children:(0,t.jsxs)(c.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Listening Port"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:e.port,size:"small",variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Routing Mode"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:(s=e.mode)?s.includes("in-docker")||s.includes("auto-discovery")?"Auto Discovery":s.includes("mapping")?"Manual Mapping":s:"Unknown",size:"small",color:"info",variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Total Routes"}),t.jsx(h.Z,{sx:I,children:u})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Active Routes"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:`${r} / ${u}`,size:"small",color:r>0?"success":"default",variant:"outlined"})})]})]})})})]})})}var A=r(5414);function N({avahi:e}){let s=e?.status??"unknown";return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(A.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"mDNS (Avahi)"}),t.jsx(o.Z,{label:s,size:"small",color:"running"===s?"success":s.includes("not running")?"warning":"not installed"===s?"error":"default",sx:{ml:"auto"}})]}),(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",children:["Avahi mDNS daemon enables ",t.jsx("code",{children:".local"})," hostname resolution for Minecraft servers on the local network."]})]})})}var D=r(36372),M=r(6275),T=r(10257),W=r(79943),E=r(38481),R=r(68763);function U({onSuccess:e,onError:s}){let{data:r}=(0,R.kP)(),[d,c]=(0,D.useState)(r?.user?.name||""),[x,h]=(0,D.useState)(!1),[u,j]=(0,D.useState)(!1),p=r?.user,m=d!==(p?.name||""),Z=async()=>{if(m&&d.trim()){h(!0);try{let{error:r}=await (0,R.Nq)({name:d.trim()});r?s(r.message||"Failed to update profile"):e("Profile updated successfully")}catch{s("Failed to update profile")}finally{h(!1)}}};return p?t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[t.jsx(E.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Profile"})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",gap:2.5},children:[t.jsx(M.Z,{label:"Name",value:d,onChange:e=>c(e.target.value),fullWidth:!0,size:"small"}),t.jsx(M.Z,{label:"Email",value:p.email,fullWidth:!0,size:"small",disabled:!0,helperText:"Email cannot be changed"}),(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(l.Z,{variant:"body2",color:"text.secondary",children:"Role:"}),t.jsx(o.Z,{label:"admin"===p.role?"Admin":"User",size:"small",color:"admin"===p.role?"primary":"default",variant:"outlined"})]}),t.jsx(i.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:t.jsx(T.Z,{variant:"contained",onClick:Z,disabled:!m||!d.trim()||x,startIcon:x?t.jsx(W.Z,{size:16}):null,children:x?"Saving...":"Save Changes"})})]})]})}):null}var B=r(92559),F=r(54365),L=r(61960),q=r(27767),$=r(36739);function _({onSuccess:e,onError:s}){let[r,o]=(0,D.useState)(""),[d,c]=(0,D.useState)(""),[x,h]=(0,D.useState)(""),[u,j]=(0,D.useState)(!1),[p,m]=(0,D.useState)(!1),[Z,f]=(0,D.useState)(!1),[g,y]=(0,D.useState)(!1),[v,w]=(0,D.useState)({}),b=()=>{let e={};return r||(e.currentPassword="Current password is required"),d?d.length<8&&(e.newPassword="Password must be at least 8 characters"):e.newPassword="New password is required",x?d!==x&&(e.confirmPassword="Passwords do not match"):e.confirmPassword="Please confirm your new password",r&&d&&r===d&&(e.newPassword="New password must be different from current password"),w(e),0===Object.keys(e).length},S=async t=>{if(t.preventDefault(),b()){y(!0);try{let{error:t}=await (0,R.Cp)({currentPassword:r,newPassword:d,revokeOtherSessions:!1});t?s(t.message||"Failed to change password"):(e("Password changed successfully"),o(""),c(""),h(""),w({}))}catch{s("Failed to change password")}finally{y(!1)}}},C=(e,s)=>t.jsx(B.Z,{position:"end",children:t.jsx(F.Z,{"aria-label":e?"hide password":"show password",onClick:()=>s(!e),edge:"end",size:"small",children:e?t.jsx($.Z,{fontSize:"small"}):t.jsx(q.Z,{fontSize:"small"})})});return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[t.jsx(L.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Change Password"})]}),(0,t.jsxs)(i.Z,{component:"form",onSubmit:S,sx:{display:"flex",flexDirection:"column",gap:2.5},children:[t.jsx(M.Z,{label:"Current Password",type:u?"text":"password",value:r,onChange:e=>{o(e.target.value),v.currentPassword&&w(e=>({...e,currentPassword:""}))},error:!!v.currentPassword,helperText:v.currentPassword,fullWidth:!0,size:"small",autoComplete:"current-password",InputProps:{endAdornment:C(u,j)}}),t.jsx(M.Z,{label:"New Password",type:p?"text":"password",value:d,onChange:e=>{c(e.target.value),v.newPassword&&w(e=>({...e,newPassword:""}))},error:!!v.newPassword,helperText:v.newPassword||"Minimum 8 characters",fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:C(p,m)}}),t.jsx(M.Z,{label:"Confirm New Password",type:Z?"text":"password",value:x,onChange:e=>{h(e.target.value),v.confirmPassword&&w(e=>({...e,confirmPassword:""}))},error:!!v.confirmPassword,helperText:v.confirmPassword,fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:C(Z,f)}}),t.jsx(i.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:t.jsx(T.Z,{type:"submit",variant:"contained",disabled:g,startIcon:g?t.jsx(W.Z,{size:16}):null,children:g?"Changing...":"Change Password"})})]})]})})}var O=r(94304);let V={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},K={border:0,py:1};function X(e){return e?("string"==typeof e?new Date(e):e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}):"-"}function Q(){let{data:e}=(0,R.kP)(),s=e?.user;return s?t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(O.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Account Information"})]}),t.jsx(d.Z,{size:"small",children:(0,t.jsxs)(c.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:V,children:"Account ID"}),t.jsx(h.Z,{sx:K,children:t.jsx(l.Z,{variant:"body2",sx:{fontSize:"0.8rem"},children:s.id})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:V,children:"Created"}),t.jsx(h.Z,{sx:K,children:X(s.createdAt)})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:V,children:"Last Updated"}),t.jsx(h.Z,{sx:K,children:X(s.updatedAt)})]})]})})]})}):null}var Y=r(70862),G=r(68913),H=r(66757),J=r(765),ee=r(29553),es=r(84292),er=r(97441),et=r(51999),en=r(53825),ea=r(15934);let el={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},ei={border:0,py:1};function eo({text:e}){let[s,r]=(0,D.useState)(!1),n=async()=>{try{await navigator.clipboard.writeText(e),r(!0),setTimeout(()=>r(!1),2e3)}catch(e){console.error("Failed to copy:",e)}};return t.jsx(F.Z,{size:"small",onClick:n,sx:{ml:1,color:s?"success.main":"text.secondary","&:hover":{bgcolor:"action.hover"}},"aria-label":s?"Copied":"Copy to clipboard",children:s?t.jsx(en.Z,{sx:{fontSize:16}}):t.jsx(et.Z,{sx:{fontSize:16}})})}function ed(){let{data:e,isLoading:s,error:r}=(0,ea.UW)(),u=(0,ea.Bc)(),j=(0,ea.N$)();if(r)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(J.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(H.Z,{severity:"error",children:["Failed to load playit status: ",r.message]})]})});if(s)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(G.Z,{variant:"circular",width:24,height:24}),t.jsx(G.Z,{variant:"text",width:"40%",height:32})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(G.Z,{variant:"text",width:"35%"}),t.jsx(G.Z,{variant:"text",width:"40%"})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(G.Z,{variant:"text",width:"35%"}),t.jsx(G.Z,{variant:"text",width:"40%"})]})]})});if(!e?.enabled)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(J.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(H.Z,{severity:"info",children:[t.jsx(l.Z,{variant:"body2",fontWeight:500,sx:{mb:.5},children:"Not configured"}),t.jsx(l.Z,{variant:"body2",color:"text.secondary",children:"playit.gg agent is not set up. Configure PLAYIT_SECRET to enable external access."})]})]})});let p=e.agentRunning&&"running"===e.containerStatus,m=u.isPending||j.isPending,Z=u.error||j.error;return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:1},children:[t.jsx(J.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),Z&&t.jsx(H.Z,{severity:"error",sx:{mb:2},children:Z.message||"Action failed"}),(0,t.jsxs)(i.Z,{sx:{display:"flex",gap:1,mb:2,flexWrap:"wrap"},children:[p?t.jsx(T.Z,{variant:"outlined",size:"small",color:"error",startIcon:m?t.jsx(W.Z,{size:16}):t.jsx(es.Z,{}),onClick:()=>{j.mutate()},disabled:m,sx:{fontSize:12},children:m?"Stopping...":"Stop Agent"}):t.jsx(T.Z,{variant:"contained",size:"small",color:"success",startIcon:m?t.jsx(W.Z,{size:16,color:"inherit"}):t.jsx(ee.Z,{}),onClick:()=>{u.mutate()},disabled:m,sx:{fontSize:12},children:m?"Starting...":"Start Agent"}),t.jsx(T.Z,{component:"a",href:"https://playit.gg/account/tunnels",target:"_blank",rel:"noopener noreferrer",size:"small",startIcon:t.jsx(er.Z,{}),sx:{fontSize:12},children:"View Dashboard"})]}),t.jsx(i.Z,{sx:{overflowX:"auto"},children:t.jsx(d.Z,{size:"small",sx:{mb:3},children:(0,t.jsxs)(c.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:el,children:"Agent Status"}),t.jsx(h.Z,{sx:ei,children:t.jsx(o.Z,{label:p?"Running":"Stopped",size:"small",color:p?"success":"default",variant:"outlined"})})]}),e.uptime&&(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:el,children:"Uptime"}),t.jsx(h.Z,{sx:ei,children:e.uptime})]})]})})}),e.servers&&e.servers.length>0&&(()=>{let s=e.servers.filter(e=>e.playitDomain),r=e.servers.filter(e=>!e.playitDomain);return(0,t.jsxs)(t.Fragment,{children:[t.jsx(l.Z,{variant:"subtitle2",sx:{mb:1.5,fontWeight:600},children:"Server Domains"}),s.length>0?t.jsx(i.Z,{sx:{overflowX:"auto"},children:(0,t.jsxs)(d.Z,{size:"small",sx:{mb:r.length>0?2:0},children:[t.jsx(Y.Z,{children:(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"Server"}),t.jsx(h.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"External Domain"})]})}),t.jsx(c.Z,{children:s.map(e=>(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:e.serverName}),t.jsx(h.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center"},children:[t.jsx(l.Z,{variant:"body2",sx:{wordBreak:"break-all"},children:e.playitDomain}),t.jsx(eo,{text:e.playitDomain})]})})]},e.serverName))})]})}):(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",sx:{mb:2},children:["No servers with external domains configured. Use ",t.jsx("code",{children:"mcctl create --playit-domain"})," to register a domain."]}),r.length>0&&(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",children:[r.length," server",r.length>1?"s":""," without external domain: ",r.map(e=>e.serverName).join(", ")]})]})})()]})})}},43137:(e,s,r)=>{async function t(e,s={}){let r={...s.headers};s.body&&(r["Content-Type"]="application/json");let t=await fetch(e,{...s,headers:r});if(!t.ok){let e=await t.json().catch(()=>({error:"UnknownError",message:t.statusText})),s=Error(e.message);throw s.statusCode=t.status,s.code=e.error,s}return t.json()}r.d(s,{SC:()=>t})},15934:(e,s,r)=>{r.d(s,{Bc:()=>o,N$:()=>d,UW:()=>i});var t=r(28872),n=r(95343),a=r(20042),l=r(43137);function i(){return(0,t.a)({queryKey:["playit-status"],queryFn:()=>(0,l.SC)("/api/playit/status"),refetchInterval:3e4})}function o(){let e=(0,n.NL)();return(0,a.D)({mutationFn:()=>(0,l.SC)("/api/playit/start",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}function d(){let e=(0,n.NL)();return(0,a.D)({mutationFn:()=>(0,l.SC)("/api/playit/stop",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}}};
1
+ "use strict";exports.id=5843,exports.ids=[5843],exports.modules={5414:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)([(0,a.jsx)("path",{d:"m7.3 14.7 1.2-1.2c-1-1-1.5-2.3-1.5-3.5 0-1.3.5-2.6 1.5-3.5L7.3 5.3c-1.3 1.3-2 3-2 4.7s.7 3.4 2 4.7M19.1 2.9l-1.2 1.2c1.6 1.6 2.4 3.8 2.4 5.9 0 2.1-.8 4.3-2.4 5.9l1.2 1.2c2-2 2.9-4.5 2.9-7.1 0-2.6-1-5.1-2.9-7.1"},"0"),(0,a.jsx)("path",{d:"M6.1 4.1 4.9 2.9C3 4.9 2 7.4 2 10c0 2.6 1 5.1 2.9 7.1l1.2-1.2c-1.6-1.6-2.4-3.8-2.4-5.9 0-2.1.8-4.3 2.4-5.9m10.6 10.6c1.3-1.3 2-3 2-4.7-.1-1.7-.7-3.4-2-4.7l-1.2 1.2c1 1 1.5 2.3 1.5 3.5 0 1.3-.5 2.6-1.5 3.5zM14.5 10c0-1.38-1.12-2.5-2.5-2.5S9.5 8.62 9.5 10c0 .76.34 1.42.87 1.88L7 22h2l.67-2h4.67l.66 2h2l-3.37-10.12c.53-.46.87-1.12.87-1.88m-4.17 8L12 13l1.67 5z"},"1")],"CellTower")},94304:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info")},79603:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M15.9 5c-.17 0-.32.09-.41.23l-.07.15-5.18 11.65c-.16.29-.26.61-.26.96 0 1.11.9 2.01 2.01 2.01.96 0 1.77-.68 1.96-1.59l.01-.03L16.4 5.5c0-.28-.22-.5-.5-.5M1 9l2 2c2.88-2.88 6.79-4.08 10.53-3.62l1.19-2.68C9.89 3.84 4.74 5.27 1 9m20 2 2-2c-1.64-1.64-3.55-2.82-5.59-3.57l-.53 2.82c1.5.62 2.9 1.53 4.12 2.75m-4 4 2-2c-.8-.8-1.7-1.42-2.66-1.89l-.55 2.92c.42.27.83.59 1.21.97M5 13l2 2c1.13-1.13 2.56-1.79 4.03-2l1.28-2.88c-2.63-.08-5.3.87-7.31 2.88"}),"NetworkCheck")},84292:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop")},95843:(e,s,r)=>{r.d(s,{eE:()=>Q,E4:()=>N,SB:()=>k,ms:()=>_,hI:()=>p,aY:()=>ed,zd:()=>B,Ik:()=>z});var t=r(58120),n=r(67073),a=r(92797),l=r(2365),i=r(89352),o=r(48787),d=r(37891),c=r(88916),x=r(59059),h=r(75698),u=r(79795);let j={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},m={border:0,py:1};function p({router:e}){var s;let r=(s=e.mode)?s.includes("in-docker")||s.includes("auto-discovery")?{label:"Auto Discovery",color:"info"}:s.includes("mapping")?{label:"Manual Mapping",color:"warning"}:{label:s,color:"default"}:{label:"Unknown",color:"default"};return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(u.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Platform Information"})]}),t.jsx(d.Z,{size:"small",children:(0,t.jsxs)(c.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:j,children:"Router Name"}),t.jsx(h.Z,{sx:m,children:e.name})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:j,children:"Port"}),t.jsx(h.Z,{sx:m,children:e.port})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:j,children:"Mode"}),t.jsx(h.Z,{sx:m,children:t.jsx(o.Z,{label:r.label,size:"small",color:r.color,variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:j,children:"Uptime"}),t.jsx(h.Z,{sx:m,children:e.uptime||"-"})]})]})})]})})}var Z=r(98243),f=r(95009),g=r(4587),y=r(45912),v=r(32130),b=r(84527);function w(e){switch(e){case"running":return"#4caf50";case"exited":case"dead":case"not_found":case"not_created":return"#f44336";case"created":case"restarting":case"paused":return"#ff9800";default:return"#9e9e9e"}}function S({status:e}){return t.jsx(Z.Z,{title:e,arrow:!0,children:t.jsx(i.Z,{sx:{width:10,height:10,borderRadius:"50%",bgcolor:w(e),flexShrink:0,boxShadow:"running"===e?`0 0 6px ${w(e)}`:"none"}})})}function z({router:e}){let s=function(e){let s=new Map;for(let r of e){let e=r.target.replace(/^mc-/,"").replace(/:25565$/,""),t=s.get(e);t?t.hostnames.push(r.hostname):s.set(e,{status:r.serverStatus,hostnames:[r.hostname],serverType:r.serverType,serverVersion:r.serverVersion})}return s}(e.routes);return t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(v.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"MC-Router Status"}),(0,t.jsxs)(i.Z,{sx:{ml:"auto",display:"flex",gap:1},children:[t.jsx(o.Z,{label:e.status,size:"small",color:function(e){switch(e){case"running":return"success";case"exited":case"dead":case"not_found":case"not_created":return"error";case"created":case"restarting":case"paused":return"warning";default:return"default"}}(e.status)}),t.jsx(o.Z,{label:e.health,size:"small",color:function(e){switch(e){case"healthy":return"success";case"unhealthy":return"error";case"starting":return"warning";default:return"default"}}(e.health),variant:"outlined"})]})]}),t.jsx(l.Z,{variant:"subtitle2",sx:{mb:1,mt:3},children:"Routing Table"}),0===e.routes.length?t.jsx(l.Z,{variant:"body2",color:"text.secondary",sx:{py:2,textAlign:"center"},children:"No routes configured"}):t.jsx(i.Z,{sx:{mt:1},children:Array.from(s.entries()).map(([e,{status:s,hostnames:r,serverType:n,serverVersion:a}])=>(0,t.jsxs)(f.Z,{defaultExpanded:!0,disableGutters:!0,elevation:0,sx:{border:1,borderColor:"divider","&:not(:last-child)":{borderBottom:0},"&::before":{display:"none"}},children:[t.jsx(g.Z,{expandIcon:t.jsx(b.Z,{}),children:(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%",pr:1},children:[t.jsx(S,{status:s}),t.jsx(l.Z,{variant:"subtitle2",sx:{fontWeight:600},children:e}),(n||a)&&t.jsx(l.Z,{variant:"caption",color:"text.secondary",children:[n,a].filter(Boolean).join(" ")}),(0,t.jsxs)(l.Z,{variant:"caption",color:"text.secondary",sx:{ml:"auto"},children:[r.length," ",1===r.length?"route":"routes"]})]})}),t.jsx(y.Z,{sx:{pt:0},children:t.jsx(i.Z,{sx:{display:"flex",flexDirection:"column",gap:.5},children:r.map(e=>t.jsx(l.Z,{variant:"body2",sx:{fontSize:"0.85rem",color:"text.secondary"},children:e},e))})})]},e))})]})})}var C=r(79603);let P={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},I={border:0,py:1};function k({router:e}){var s;let r=e.routes.filter(e=>"running"===e.serverStatus).length,u=e.routes.length;return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(C.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Network Settings"})]}),t.jsx(i.Z,{sx:{overflowX:"auto"},children:t.jsx(d.Z,{size:"small",children:(0,t.jsxs)(c.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Listening Port"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:e.port,size:"small",variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Routing Mode"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:(s=e.mode)?s.includes("in-docker")||s.includes("auto-discovery")?"Auto Discovery":s.includes("mapping")?"Manual Mapping":s:"Unknown",size:"small",color:"info",variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Total Routes"}),t.jsx(h.Z,{sx:I,children:u})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Active Routes"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:`${r} / ${u}`,size:"small",color:r>0?"success":"default",variant:"outlined"})})]})]})})})]})})}var A=r(5414);function N({avahi:e}){let s=e?.status??"unknown";return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(A.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"mDNS (Avahi)"}),t.jsx(o.Z,{label:s,size:"small",color:"running"===s?"success":s.includes("not running")?"warning":"not installed"===s?"error":"default",sx:{ml:"auto"}})]}),(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",children:["Avahi mDNS daemon enables ",t.jsx("code",{children:".local"})," hostname resolution for Minecraft servers on the local network."]})]})})}var D=r(36372),M=r(6275),W=r(10257),T=r(79943),E=r(38481),R=r(68763);function B({onSuccess:e,onError:s}){let{data:r}=(0,R.kP)(),[d,c]=(0,D.useState)(r?.user?.name||""),[x,h]=(0,D.useState)(!1),[u,j]=(0,D.useState)(!1),m=r?.user,p=d!==(m?.name||""),Z=async()=>{if(p&&d.trim()){h(!0);try{let{error:r}=await (0,R.Nq)({name:d.trim()});r?s(r.message||"Failed to update profile"):e("Profile updated successfully")}catch{s("Failed to update profile")}finally{h(!1)}}};return m?t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[t.jsx(E.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Profile"})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",gap:2.5},children:[t.jsx(M.Z,{label:"Name",value:d,onChange:e=>c(e.target.value),fullWidth:!0,size:"small"}),t.jsx(M.Z,{label:"Email",value:m.email,fullWidth:!0,size:"small",disabled:!0,helperText:"Email cannot be changed"}),(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(l.Z,{variant:"body2",color:"text.secondary",children:"Role:"}),t.jsx(o.Z,{label:"admin"===m.role?"Admin":"User",size:"small",color:"admin"===m.role?"primary":"default",variant:"outlined"})]}),t.jsx(i.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:t.jsx(W.Z,{variant:"contained",onClick:Z,disabled:!p||!d.trim()||x,startIcon:x?t.jsx(T.Z,{size:16}):null,children:x?"Saving...":"Save Changes"})})]})]})}):null}var F=r(92559),L=r(54365),U=r(61960),q=r(27767),$=r(36739);function _({onSuccess:e,onError:s}){let[r,o]=(0,D.useState)(""),[d,c]=(0,D.useState)(""),[x,h]=(0,D.useState)(""),[u,j]=(0,D.useState)(!1),[m,p]=(0,D.useState)(!1),[Z,f]=(0,D.useState)(!1),[g,y]=(0,D.useState)(!1),[v,b]=(0,D.useState)({}),w=()=>{let e={};return r||(e.currentPassword="Current password is required"),d?d.length<8&&(e.newPassword="Password must be at least 8 characters"):e.newPassword="New password is required",x?d!==x&&(e.confirmPassword="Passwords do not match"):e.confirmPassword="Please confirm your new password",r&&d&&r===d&&(e.newPassword="New password must be different from current password"),b(e),0===Object.keys(e).length},S=async t=>{if(t.preventDefault(),w()){y(!0);try{let{error:t}=await (0,R.Cp)({currentPassword:r,newPassword:d,revokeOtherSessions:!1});t?s(t.message||"Failed to change password"):(e("Password changed successfully"),o(""),c(""),h(""),b({}))}catch{s("Failed to change password")}finally{y(!1)}}},z=(e,s)=>t.jsx(F.Z,{position:"end",children:t.jsx(L.Z,{"aria-label":e?"hide password":"show password",onClick:()=>s(!e),edge:"end",size:"small",children:e?t.jsx($.Z,{fontSize:"small"}):t.jsx(q.Z,{fontSize:"small"})})});return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[t.jsx(U.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Change Password"})]}),(0,t.jsxs)(i.Z,{component:"form",onSubmit:S,sx:{display:"flex",flexDirection:"column",gap:2.5},children:[t.jsx(M.Z,{label:"Current Password",type:u?"text":"password",value:r,onChange:e=>{o(e.target.value),v.currentPassword&&b(e=>({...e,currentPassword:""}))},error:!!v.currentPassword,helperText:v.currentPassword,fullWidth:!0,size:"small",autoComplete:"current-password",InputProps:{endAdornment:z(u,j)}}),t.jsx(M.Z,{label:"New Password",type:m?"text":"password",value:d,onChange:e=>{c(e.target.value),v.newPassword&&b(e=>({...e,newPassword:""}))},error:!!v.newPassword,helperText:v.newPassword||"Minimum 8 characters",fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:z(m,p)}}),t.jsx(M.Z,{label:"Confirm New Password",type:Z?"text":"password",value:x,onChange:e=>{h(e.target.value),v.confirmPassword&&b(e=>({...e,confirmPassword:""}))},error:!!v.confirmPassword,helperText:v.confirmPassword,fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:z(Z,f)}}),t.jsx(i.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:t.jsx(W.Z,{type:"submit",variant:"contained",disabled:g,startIcon:g?t.jsx(T.Z,{size:16}):null,children:g?"Changing...":"Change Password"})})]})]})})}var O=r(94304);let V={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},K={border:0,py:1};function X(e){return e?("string"==typeof e?new Date(e):e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}):"-"}function Q(){let{data:e}=(0,R.kP)(),s=e?.user;return s?t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(O.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Account Information"})]}),t.jsx(d.Z,{size:"small",children:(0,t.jsxs)(c.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:V,children:"Account ID"}),t.jsx(h.Z,{sx:K,children:t.jsx(l.Z,{variant:"body2",sx:{fontSize:"0.8rem"},children:s.id})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:V,children:"Created"}),t.jsx(h.Z,{sx:K,children:X(s.createdAt)})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:V,children:"Last Updated"}),t.jsx(h.Z,{sx:K,children:X(s.updatedAt)})]})]})})]})}):null}var Y=r(70862),G=r(68913),H=r(66757),J=r(765),ee=r(29553),es=r(84292),er=r(97441),et=r(51999),en=r(53825),ea=r(15934);let el={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},ei={border:0,py:1};function eo({text:e}){let[s,r]=(0,D.useState)(!1),n=async()=>{try{await navigator.clipboard.writeText(e),r(!0),setTimeout(()=>r(!1),2e3)}catch(e){console.error("Failed to copy:",e)}};return t.jsx(L.Z,{size:"small",onClick:n,sx:{ml:1,color:s?"success.main":"text.secondary","&:hover":{bgcolor:"action.hover"}},"aria-label":s?"Copied":"Copy to clipboard",children:s?t.jsx(en.Z,{sx:{fontSize:16}}):t.jsx(et.Z,{sx:{fontSize:16}})})}function ed(){let{data:e,isLoading:s,error:r}=(0,ea.UW)(),u=(0,ea.Bc)(),j=(0,ea.N$)();if(r)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(J.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(H.Z,{severity:"error",children:["Failed to load playit status: ",r.message]})]})});if(s)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(G.Z,{variant:"circular",width:24,height:24}),t.jsx(G.Z,{variant:"text",width:"40%",height:32})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(G.Z,{variant:"text",width:"35%"}),t.jsx(G.Z,{variant:"text",width:"40%"})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(G.Z,{variant:"text",width:"35%"}),t.jsx(G.Z,{variant:"text",width:"40%"})]})]})});if(!e?.enabled)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(J.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(H.Z,{severity:"info",children:[t.jsx(l.Z,{variant:"body2",fontWeight:500,sx:{mb:.5},children:"Not configured"}),t.jsx(l.Z,{variant:"body2",color:"text.secondary",children:"playit.gg agent is not set up. Configure PLAYIT_SECRET to enable external access."})]})]})});let m=e.agentRunning&&"running"===e.containerStatus,p=u.isPending||j.isPending,Z=u.error||j.error;return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:1},children:[t.jsx(J.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),Z&&t.jsx(H.Z,{severity:"error",sx:{mb:2},children:Z.message||"Action failed"}),(0,t.jsxs)(i.Z,{sx:{display:"flex",gap:1,mb:2,flexWrap:"wrap"},children:[m?t.jsx(W.Z,{variant:"outlined",size:"small",color:"error",startIcon:p?t.jsx(T.Z,{size:16}):t.jsx(es.Z,{}),onClick:()=>{j.mutate()},disabled:p,sx:{fontSize:12},children:p?"Stopping...":"Stop Agent"}):t.jsx(W.Z,{variant:"contained",size:"small",color:"success",startIcon:p?t.jsx(T.Z,{size:16,color:"inherit"}):t.jsx(ee.Z,{}),onClick:()=>{u.mutate()},disabled:p,sx:{fontSize:12},children:p?"Starting...":"Start Agent"}),t.jsx(W.Z,{component:"a",href:"https://playit.gg/account/tunnels",target:"_blank",rel:"noopener noreferrer",size:"small",startIcon:t.jsx(er.Z,{}),sx:{fontSize:12},children:"View Dashboard"})]}),t.jsx(i.Z,{sx:{overflowX:"auto"},children:t.jsx(d.Z,{size:"small",sx:{mb:3},children:(0,t.jsxs)(c.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:el,children:"Agent Status"}),t.jsx(h.Z,{sx:ei,children:t.jsx(o.Z,{label:m?"Running":"Stopped",size:"small",color:m?"success":"default",variant:"outlined"})})]}),e.uptime&&(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:el,children:"Uptime"}),t.jsx(h.Z,{sx:ei,children:e.uptime})]})]})})}),e.servers&&e.servers.length>0&&(()=>{let s=e.servers.filter(e=>e.playitDomain),r=e.servers.filter(e=>!e.playitDomain);return(0,t.jsxs)(t.Fragment,{children:[t.jsx(l.Z,{variant:"subtitle2",sx:{mb:1.5,fontWeight:600},children:"Server Domains"}),s.length>0?t.jsx(i.Z,{sx:{overflowX:"auto"},children:(0,t.jsxs)(d.Z,{size:"small",sx:{mb:r.length>0?2:0},children:[t.jsx(Y.Z,{children:(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"Server"}),t.jsx(h.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"External Domain"})]})}),t.jsx(c.Z,{children:s.map(e=>(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:e.serverName}),t.jsx(h.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center"},children:[t.jsx(l.Z,{variant:"body2",sx:{wordBreak:"break-all"},children:e.playitDomain}),t.jsx(eo,{text:e.playitDomain})]})})]},e.serverName))})]})}):(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",sx:{mb:2},children:["No servers with external domains configured. Use ",t.jsx("code",{children:"mcctl create --playit-domain"})," to register a domain."]}),r.length>0&&(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",children:[r.length," server",r.length>1?"s":""," without external domain: ",r.map(e=>e.serverName).join(", ")]})]})})()]})})}},15934:(e,s,r)=>{r.d(s,{Bc:()=>o,N$:()=>d,UW:()=>i});var t=r(28872),n=r(95343),a=r(20042),l=r(43137);function i(){return(0,t.a)({queryKey:["playit-status"],queryFn:()=>(0,l.SC)("/api/playit/status"),refetchInterval:3e4})}function o(){let e=(0,n.NL)();return(0,a.D)({mutationFn:()=>(0,l.SC)("/api/playit/start",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}function d(){let e=(0,n.NL)();return(0,a.D)({mutationFn:()=>(0,l.SC)("/api/playit/stop",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=7879,exports.ids=[7879],exports.modules={71438:(e,t,r)=>{r.d(t,{I:()=>i});var s=r(58120),a=r(48787),n=r(39928);function i({action:e,size:t="small"}){let r=n.Lu[e]||"default",i=n.n3[e]||e;return s.jsx(a.Z,{label:i,color:r,size:t,variant:"filled",sx:{fontWeight:600,fontSize:"small"===t?"0.7rem":"0.8rem"}})}},55049:(e,t,r)=>{r.d(t,{c:()=>l});var s=r(58120),a=r(48787),n=r(56846),i=r(72690);function l({status:e,size:t="small"}){return s.jsx(a.Z,{icon:"success"===e?s.jsx(n.Z,{}):s.jsx(i.Z,{}),label:"success"===e?"OK":"Error",color:"success"===e?"success":"error",size:t,variant:"outlined",sx:{fontWeight:500,fontSize:"small"===t?"0.7rem":"0.8rem"}})}},15558:(e,t,r)=>{r.d(t,{x:()=>W});var s=r(58120),a=r(36372),n=r(89352),i=r(37891),l=r(88916),o=r(75698),c=r(664),d=r(70862),x=r(59059),u=r(91236),h=r(52329),p=r(2365),m=r(98243),j=r(68913),g=r(66757),y=r(10257),Z=r(48787),v=r(5374),f=r(54365),b=r(82538),w=r(47481),k=r(43908),S=r(38481),C=r(78787),T=r(40611),z=r(71438),D=r(55049);function P({log:e,onClick:t,hideTargetColumn:r}){var c,d;let[u,h]=(0,a.useState)("failure"===e.status),j=e.details&&Object.keys(e.details).length>0,y="failure"===e.status&&e.errorMessage,C=j||y,P=(c=e.targetType,d=e.targetName,"server"===c?`/servers/${encodeURIComponent(d)}`:"player"===c?"/players":null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(x.Z,{hover:!0,sx:{cursor:"pointer","&:last-child td, &:last-child th":{border:0}},onClick:()=>t?.(e),tabIndex:0,onKeyDown:r=>{("Enter"===r.key||" "===r.key)&&(r.preventDefault(),t?.(e))},role:"button","aria-label":`${e.action} by ${e.actor} on ${e.targetName}`,children:[s.jsx(o.Z,{padding:"checkbox",sx:{width:48},children:C&&s.jsx(f.Z,{size:"small",onClick:e=>{e.stopPropagation(),h(!u)},"aria-label":u?"Collapse details":"Expand details",children:u?s.jsx(w.Z,{}):s.jsx(b.Z,{})})}),s.jsx(o.Z,{children:s.jsx(m.Z,{title:function(e){let t=new Date(e);return new Intl.DateTimeFormat(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"short"}).format(t)}(e.timestamp),arrow:!0,children:s.jsx(p.Z,{variant:"body2",color:"text.secondary",sx:{whiteSpace:"nowrap"},children:function(e){let t=new Date,r=new Date(e),s=Math.floor((t.getTime()-r.getTime())/1e3),a=Math.floor(s/60),n=Math.floor(a/60),i=Math.floor(n/24);return s<60?"just now":a<60?`${a}m ago`:n<24?`${n}h ago`:i<7?`${i}d ago`:new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric"}).format(r)}(e.timestamp)})})}),s.jsx(o.Z,{children:s.jsx(z.I,{action:e.action})}),s.jsx(o.Z,{children:e.actor.startsWith("cli:")?s.jsx(Z.Z,{label:e.actor.replace("cli:",""),size:"small",variant:"outlined",sx:{fontSize:"0.75rem"}}):s.jsx(p.Z,{variant:"body2",children:e.actor.replace("api:","")})}),!r&&s.jsx(o.Z,{children:(0,s.jsxs)(n.Z,{sx:{display:"flex",alignItems:"center"},children:[function(e){switch(e){case"server":return s.jsx(k.Z,{sx:{fontSize:16,mr:.5,color:"text.secondary"}});case"player":return s.jsx(S.Z,{sx:{fontSize:16,mr:.5,color:"text.secondary"}});default:return null}}(e.targetType),P?s.jsx(T.default,{href:P,style:{textDecoration:"none"},onClick:e=>e.stopPropagation(),children:s.jsx(p.Z,{variant:"body2",sx:{color:"primary.main","&:hover":{textDecoration:"underline"}},children:e.targetName})}):s.jsx(p.Z,{variant:"body2",children:e.targetName})]})}),s.jsx(o.Z,{children:s.jsx(D.c,{status:e.status})})]}),C&&s.jsx(x.Z,{children:s.jsx(o.Z,{sx:{py:0},colSpan:r?5:6,children:s.jsx(v.Z,{in:u,timeout:"auto",unmountOnExit:!0,children:(0,s.jsxs)(n.Z,{sx:{py:2,px:2},children:[y&&s.jsx(g.Z,{severity:"error",sx:{mb:2},children:e.errorMessage}),j&&(0,s.jsxs)(n.Z,{children:[s.jsx(p.Z,{variant:"caption",color:"text.secondary",sx:{mb:1,display:"block"},children:"Details"}),s.jsx(i.Z,{size:"small",sx:{width:"auto"},children:s.jsx(l.Z,{children:Object.entries(e.details).map(([e,t])=>(0,s.jsxs)(x.Z,{children:[s.jsx(o.Z,{sx:{fontWeight:600,color:"text.secondary",border:"none",py:.5,pl:0},children:e}),s.jsx(o.Z,{sx:{border:"none",py:.5},children:String(t)})]},e))})})]})]})})})})]})}function W({logs:e,total:t,isLoading:r,error:a,filters:n,onFiltersChange:m,onRowClick:Z,onRetry:v,hideTargetColumn:f,rowsPerPageOptions:b=[25,50,100]}){let w=Math.floor((n.offset||0)/(n.limit||50)),k=n.limit||50;return r?s.jsx(h.Z,{children:s.jsx(c.Z,{children:(0,s.jsxs)(i.Z,{children:[s.jsx(d.Z,{children:(0,s.jsxs)(x.Z,{children:[s.jsx(o.Z,{padding:"checkbox"}),s.jsx(o.Z,{children:"Timestamp"}),s.jsx(o.Z,{children:"Action"}),s.jsx(o.Z,{children:"Actor"}),!f&&s.jsx(o.Z,{children:"Target"}),s.jsx(o.Z,{children:"Status"})]})}),s.jsx(l.Z,{children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,s.jsxs)(x.Z,{children:[s.jsx(o.Z,{padding:"checkbox"}),s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"text",width:80})}),s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"rounded",width:70,height:24})}),s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"text",width:60})}),!f&&s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"text",width:100})}),s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"rounded",width:50,height:24})})]},t))})]})})}):a?s.jsx(g.Z,{severity:"error",action:v&&s.jsx(y.Z,{color:"inherit",size:"small",onClick:v,children:"Retry"}),children:a.message||"Failed to load audit logs"}):0===e.length?(0,s.jsxs)(h.Z,{sx:{p:6,textAlign:"center"},children:[s.jsx(C.Z,{sx:{fontSize:64,color:"text.disabled",mb:2}}),s.jsx(p.Z,{variant:"h6",color:"text.secondary",gutterBottom:!0,children:"No audit logs found"}),s.jsx(p.Z,{variant:"body2",color:"text.disabled",sx:{mb:2},children:"Try adjusting your filters or check back later."}),s.jsx(y.Z,{variant:"outlined",size:"small",onClick:()=>m({limit:n.limit,sort:n.sort}),children:"Reset Filters"})]}):(0,s.jsxs)(h.Z,{children:[s.jsx(c.Z,{sx:{overflowX:"auto"},children:(0,s.jsxs)(i.Z,{size:"small",children:[s.jsx(d.Z,{children:(0,s.jsxs)(x.Z,{children:[s.jsx(o.Z,{padding:"checkbox",sx:{width:48}}),s.jsx(o.Z,{sx:{fontWeight:600,whiteSpace:"nowrap"},children:"Timestamp"}),s.jsx(o.Z,{sx:{fontWeight:600},children:"Action"}),s.jsx(o.Z,{sx:{fontWeight:600},children:"Actor"}),!f&&s.jsx(o.Z,{sx:{fontWeight:600},children:"Target"}),s.jsx(o.Z,{sx:{fontWeight:600},children:"Status"})]})}),s.jsx(l.Z,{children:e.map(e=>s.jsx(P,{log:e,onClick:Z,hideTargetColumn:f},e.id))})]})}),s.jsx(u.Z,{component:"div",count:t,page:w,onPageChange:(e,t)=>{m({...n,offset:t*k})},rowsPerPage:k,onRowsPerPageChange:e=>{let t=parseInt(e.target.value,10);m({...n,limit:t,offset:0})},rowsPerPageOptions:b,"aria-label":"Audit log pagination"})]})}},15784:(e,t,r)=>{r.d(t,{DM:()=>i,HZ:()=>o,VM:()=>l,hT:()=>n,oL:()=>c});var s=r(28872),a=r(43137);function n(e={},t){let r=function(e){let t=new URLSearchParams;e.action&&t.set("action",e.action),e.actor&&t.set("actor",e.actor),e.targetType&&t.set("targetType",e.targetType),e.targetName&&t.set("targetName",e.targetName),e.status&&t.set("status",e.status),e.from&&t.set("from",e.from),e.to&&t.set("to",e.to),void 0!==e.limit&&t.set("limit",String(e.limit)),void 0!==e.offset&&t.set("offset",String(e.offset)),e.sort&&t.set("sort",e.sort);let r=t.toString();return r?`?${r}`:""}(e);return(0,s.a)({queryKey:["audit-logs",e],queryFn:()=>(0,a.SC)(`/api/audit-logs${r}`),enabled:t?.enabled!==!1})}function i(e){return(0,s.a)({queryKey:["audit-logs","stats"],queryFn:()=>(0,a.SC)("/api/audit-logs/stats"),enabled:e?.enabled!==!1,refetchInterval:3e4})}function l(e,t){return(0,s.a)({queryKey:["audit-logs",e],queryFn:()=>(0,a.SC)(`/api/audit-logs/${encodeURIComponent(e)}`),enabled:t?.enabled!==!1&&!!e})}function o(e,t){return n({targetType:"server",targetName:e,limit:t?.limit??20,...t?.extraParams},{enabled:t?.enabled!==!1&&!!e})}function c(e=10){return n({limit:e,sort:"timestamp:desc"})}},47893:(e,t,r)=>{r.d(t,{D:()=>a});var s=r(36372);function a(e){let{url:t,onMessage:r,onError:a,reconnectInterval:n=3e3,maxReconnectAttempts:i=1/0,enabled:l=!0,withCredentials:o=!1}=e,[c,d]=(0,s.useState)(null),[x,u]=(0,s.useState)("disconnected"),[h,p]=(0,s.useState)(null),[m,j]=(0,s.useState)(0),g=(0,s.useRef)(null);return(0,s.useCallback)(e=>{d(e),r?.(e)},[r]),(0,s.useCallback)(e=>{u(e),"connected"===e&&j(0)},[]),(0,s.useCallback)(e=>{p(e),"number"==typeof e.retryCount&&j(e.retryCount),a?.(e)},[a]),{data:c,isConnected:"connected"===x,state:x,error:h,retryCount:m,reconnect:(0,s.useCallback)(()=>{g.current&&(g.current.reconnect(),j(g.current.getRetryCount()))},[]),disconnect:(0,s.useCallback)(()=>{g.current&&g.current.disconnect()},[])}}},39928:(e,t,r)=>{r.d(t,{KK:()=>l,Lu:()=>s,Xn:()=>i,n3:()=>a,xg:()=>n});let s={"server.create":"success","server.delete":"error","server.start":"info","server.stop":"warning","server.restart":"secondary","player.whitelist.add":"success","player.whitelist.remove":"warning","player.ban":"error","player.unban":"success","player.op":"info","player.deop":"warning","player.kick":"error","audit.purge":"default"},a={"server.create":"Create","server.delete":"Delete","server.start":"Start","server.stop":"Stop","server.restart":"Restart","player.whitelist.add":"Whitelist Add","player.whitelist.remove":"Whitelist Remove","player.ban":"Ban","player.unban":"Unban","player.op":"Op","player.deop":"Deop","player.kick":"Kick","audit.purge":"Purge"},n=["server.create","server.delete","server.start","server.stop","server.restart","player.whitelist.add","player.whitelist.remove","player.ban","player.unban","player.op","player.deop","player.kick","audit.purge"],i=["server.create","server.delete","server.start","server.stop","server.restart"],l=["player.whitelist.add","player.whitelist.remove","player.ban","player.unban","player.op","player.deop","player.kick"]}};
@@ -1 +1 @@
1
- self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:["static/chunks/webpack-7e31802f06defd3e.js","static/chunks/3b518dcd-5724e59d48f01b72.js","static/chunks/2757-058492b5c236cb62.js","static/chunks/main-app-666bf3e0c0f3dee2.js"],pages:{"/_app":["static/chunks/webpack-7e31802f06defd3e.js","static/chunks/framework-dd2365ff6fe7347f.js","static/chunks/main-b146ccfc9c3834c3.js","static/chunks/pages/_app-afb15f99d73f71b7.js"],"/_error":["static/chunks/webpack-7e31802f06defd3e.js","static/chunks/framework-dd2365ff6fe7347f.js","static/chunks/main-b146ccfc9c3834c3.js","static/chunks/pages/_error-3a37b634c5a26fe6.js"]},ampFirstPages:[]},self.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"];
1
+ self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:["static/chunks/webpack-7e31802f06defd3e.js","static/chunks/3b518dcd-5724e59d48f01b72.js","static/chunks/2757-058492b5c236cb62.js","static/chunks/main-app-666bf3e0c0f3dee2.js"],pages:{"/_app":["static/chunks/webpack-7e31802f06defd3e.js","static/chunks/framework-dd2365ff6fe7347f.js","static/chunks/main-63101811e3f573cc.js","static/chunks/pages/_app-afb15f99d73f71b7.js"],"/_error":["static/chunks/webpack-7e31802f06defd3e.js","static/chunks/framework-dd2365ff6fe7347f.js","static/chunks/main-63101811e3f573cc.js","static/chunks/pages/_error-3a37b634c5a26fe6.js"]},ampFirstPages:[]},self.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"];