@minecraft-docker/mcctl-console 2.8.0 → 2.8.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.
- package/.next/standalone/platform/services/mcctl-console/.next/BUILD_ID +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/app-build-manifest.json +74 -72
- package/.next/standalone/platform/services/mcctl-console/.next/app-path-routes-manifest.json +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/build-manifest.json +2 -2
- package/.next/standalone/platform/services/mcctl-console/.next/prerender-manifest.json +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/admin/users/page.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/admin/users/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page.js +4 -4
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page.js.nft.json +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js +1 -54
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js.nft.json +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js +1 -54
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js.nft.json +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.rsc +2 -2
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.rsc +3 -3
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.rsc +3 -3
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.rsc +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.rsc +2 -2
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.rsc +3 -3
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.rsc +3 -3
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.rsc +3 -3
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.rsc +3 -3
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup/page_client-reference-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.rsc +2 -2
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.rsc +3 -3
- package/.next/standalone/platform/services/mcctl-console/.next/server/app-paths-manifest.json +21 -21
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/1088.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/5843.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/7049.js +54 -0
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/8389.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/8847.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/middleware-manifest.json +5 -5
- package/.next/standalone/platform/services/mcctl-console/.next/server/pages/404.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/pages/500.html +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/1047-1957808ef6d146f3.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/{1658-1c16e5a05aaa11ee.js → 1658-43a798763bcc82ae.js} +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/{7727-2552fac729c5514a.js → 2539-6bce0edb99b4e538.js} +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5787-04cc23df05f9da2e.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/6039-38b0b8c06d25892e.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/6646-c5d039d1ad306467.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/682-6192991ddec396b8.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/7965-420dbb1f781fdc83.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/837-f4fbf77c24343b1f.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/8854-b34262a2493987c4.js +1 -0
- package/.next/{static/chunks/9949-92aa4cba630945d3.js → standalone/platform/services/mcctl-console/.next/static/chunks/9949-2daeb31bdedf25c7.js} +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/admin/users/page-e8263fc89b5d349a.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/dashboard/page-3cf14179dcdd7ac6.js +1 -0
- package/.next/{static/chunks/app/(main)/layout-22d4db17be3f8c25.js → standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/layout-bf1846a6b0c68959.js} +1 -1
- package/.next/{static/chunks/app/(main)/players/page-fef43a34b56c2fcf.js → standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/players/page-c4760429d9828ad3.js} +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/console/{page-1287129ad47a4440.js → page-a0050b5b439d954f.js} +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-f82acaf60a615953.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/page-382a14f87768df2c.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/worlds/page-a194d5d6a77d7e06.js +1 -0
- package/.next/{static/chunks/app/login/page-55283ea041e00fc0.js → standalone/platform/services/mcctl-console/.next/static/chunks/app/login/page-b7ec94d60aae14ce.js} +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/signup/{page-d3f96f0e775636fd.js → page-6f03571bb9914130.js} +1 -1
- package/.next/static/chunks/1047-1957808ef6d146f3.js +1 -0
- package/.next/static/chunks/{1658-1c16e5a05aaa11ee.js → 1658-43a798763bcc82ae.js} +1 -1
- package/.next/static/chunks/{7727-2552fac729c5514a.js → 2539-6bce0edb99b4e538.js} +1 -1
- package/.next/static/chunks/5787-04cc23df05f9da2e.js +1 -0
- package/.next/static/chunks/6039-38b0b8c06d25892e.js +1 -0
- package/.next/static/chunks/6646-c5d039d1ad306467.js +1 -0
- package/.next/static/chunks/682-6192991ddec396b8.js +1 -0
- package/.next/static/chunks/7965-420dbb1f781fdc83.js +1 -0
- package/.next/static/chunks/837-f4fbf77c24343b1f.js +1 -0
- package/.next/static/chunks/8854-b34262a2493987c4.js +1 -0
- package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/9949-92aa4cba630945d3.js → static/chunks/9949-2daeb31bdedf25c7.js} +1 -1
- package/.next/static/chunks/app/(main)/admin/users/page-e8263fc89b5d349a.js +1 -0
- package/.next/static/chunks/app/(main)/dashboard/page-3cf14179dcdd7ac6.js +1 -0
- package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/layout-22d4db17be3f8c25.js → static/chunks/app/(main)/layout-bf1846a6b0c68959.js} +1 -1
- package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/players/page-fef43a34b56c2fcf.js → static/chunks/app/(main)/players/page-c4760429d9828ad3.js} +1 -1
- package/.next/static/chunks/app/(main)/servers/[name]/console/{page-1287129ad47a4440.js → page-a0050b5b439d954f.js} +1 -1
- package/.next/static/chunks/app/(main)/servers/[name]/page-f82acaf60a615953.js +1 -0
- package/.next/static/chunks/app/(main)/servers/page-382a14f87768df2c.js +1 -0
- package/.next/static/chunks/app/(main)/worlds/page-a194d5d6a77d7e06.js +1 -0
- package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/app/login/page-55283ea041e00fc0.js → static/chunks/app/login/page-b7ec94d60aae14ce.js} +1 -1
- package/.next/static/chunks/app/signup/{page-d3f96f0e775636fd.js → page-6f03571bb9914130.js} +1 -1
- package/package.json +2 -2
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/8091.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/1476-a0570078fdf78fae.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/3333-7e2d13faa47ed67e.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/4436-bf86b627021ca7ab.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5787-bea4ee84b4bf2dea.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/7965-e1d52a92f5303aca.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/8468-8346b1d9ff3f7efa.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/8854-11e2a182afd76dcd.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/admin/users/page-3cc240ec265dc135.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/dashboard/page-fba60ccdbc06c136.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-1becd4dc3adb9b97.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/page-bebe3d652d7cf3fb.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/worlds/page-e78b9914366748cf.js +0 -1
- package/.next/static/chunks/1476-a0570078fdf78fae.js +0 -1
- package/.next/static/chunks/3333-7e2d13faa47ed67e.js +0 -1
- package/.next/static/chunks/4436-bf86b627021ca7ab.js +0 -1
- package/.next/static/chunks/5787-bea4ee84b4bf2dea.js +0 -1
- package/.next/static/chunks/7965-e1d52a92f5303aca.js +0 -1
- package/.next/static/chunks/8468-8346b1d9ff3f7efa.js +0 -1
- package/.next/static/chunks/8854-11e2a182afd76dcd.js +0 -1
- package/.next/static/chunks/app/(main)/admin/users/page-3cc240ec265dc135.js +0 -1
- package/.next/static/chunks/app/(main)/dashboard/page-fba60ccdbc06c136.js +0 -1
- package/.next/static/chunks/app/(main)/servers/[name]/page-1becd4dc3adb9b97.js +0 -1
- package/.next/static/chunks/app/(main)/servers/page-bebe3d652d7cf3fb.js +0 -1
- package/.next/static/chunks/app/(main)/worlds/page-e78b9914366748cf.js +0 -1
- /package/.next/standalone/platform/services/mcctl-console/.next/static/{89Bssec70Vx75pcmzcDoG → S1X5jEkA1d_pSlIMuZWrE}/_buildManifest.js +0 -0
- /package/.next/standalone/platform/services/mcctl-console/.next/static/{89Bssec70Vx75pcmzcDoG → S1X5jEkA1d_pSlIMuZWrE}/_ssgManifest.js +0 -0
- /package/.next/static/{89Bssec70Vx75pcmzcDoG → S1X5jEkA1d_pSlIMuZWrE}/_buildManifest.js +0 -0
- /package/.next/static/{89Bssec70Vx75pcmzcDoG → S1X5jEkA1d_pSlIMuZWrE}/_ssgManifest.js +0 -0
|
@@ -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","
|
|
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","2539","static/chunks/2539-6bce0edb99b4e538.js","9949","static/chunks/9949-2daeb31bdedf25c7.js","4966","static/chunks/app/signup/page-6f03571bb9914130.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","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"default"]
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
8:I[22237,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"QueryProvider"]
|
|
8
8
|
9:"$Sreact.suspense"
|
|
9
9
|
a:I[3454,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"LoadingProvider"]
|
|
10
|
-
0:["
|
|
10
|
+
0:["S1X5jEkA1d_pSlIMuZWrE",[[["",{"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/2579b9365591037f.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__variable_5899e0 __className_5899e0","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"}],["$","meta","5",{"name":"next-size-adjust"}]]
|
|
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="preload" href="/_next/static/media/739c2d8941231bb4-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/2579b9365591037f.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-198a420ca2ddb7de.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/6909-9750e61adcf6f5e5.js" async=""></script><script src="/_next/static/chunks/3333-7e2d13faa47ed67e.js" async=""></script><script src="/_next/static/chunks/2666-060d67b8e56af9d0.js" async=""></script><script src="/_next/static/chunks/app/(main)/worlds/page-e78b9914366748cf.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/7727-2552fac729c5514a.js" async=""></script><script src="/_next/static/chunks/8347-d55cd74fb316fad0.js" async=""></script><script src="/_next/static/chunks/9949-92aa4cba630945d3.js" async=""></script><script src="/_next/static/chunks/4240-16f6e4c7e86ef2ce.js" async=""></script><script src="/_next/static/chunks/212-b904d9ae152f2360.js" async=""></script><script src="/_next/static/chunks/app/(main)/layout-22d4db17be3f8c25.js" async=""></script><script src="/_next/static/chunks/2724-6be0c6be94353443.js" async=""></script><script src="/_next/static/chunks/app/layout-37a5eb78e96aa17e.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"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global 1f47rfc">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:var(--font-roboto-mono),"Roboto Mono",monospace;font-weight:400;font-size:1rem;line-height:1.5;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 class="__variable_5899e0 __className_5899e0"><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-198a420ca2ddb7de.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/media/739c2d8941231bb4-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/2579b9365591037f.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[39943,[],\"\"]\n5:I[68067,[],\"ClientPageRoot\"]\n6: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\",\"6909\",\"static/chunks/6909-9750e61adcf6f5e5.js\",\"3333\",\"static/chunks/3333-7e2d13faa47ed67e.js\",\"2666\",\"static/chunks/2666-060d67b8e56af9d0.js\",\"7701\",\"static/chunks/app/(main)/worlds/page-e78b9914366748cf.js\"],\"default\",1]\n7:I[14224,[],\"\"]\n8:I[2863,[],\"\"]\n9: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\",\"7727\",\"static/chunks/7727-2552fac729c5514a.js\",\"8347\",\"static/chunks/8347-d55cd74fb316fad0.js\",\"9949\",\"static/chunks/9949-92aa4cba630945d3.js\",\"4240\",\"static/chunks/4240-16f6e4c7e86ef2ce.js\",\"212\",\"static/chunks/212-b904d9ae152f2360.js\",\"4095\",\"static/chunks/app/(main)/layout-22d4db17be3f8c25.js\"],\"default\",1]\nb:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"default\"]\nc:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"ThemeProvider\"]\nd:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"5"])</script><script>self.__next_f.push([1,"40\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"QueryProvider\"]\ne:\"$Sreact.suspense\"\nf:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"LoadingProvider\"]\n15:I[19253,[],\"\"]\na:{}\n10:{\"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\"}\n11:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n12:{\"display\":\"inline-block\"}\n13:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n16:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L3\",null,{\"buildId\":\"89Bssec70Vx75pcmzcDoG\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"worlds\"],\"initialTree\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$6\"}],null],null],null]},[null,[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\",\"worlds\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",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\":\"$a\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2579b9365591037f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__variable_5899e0 __className_5899e0\",\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$10\",\"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\":\"$11\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$12\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$13\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L14\"],\"globalErrorComponent\":\"$15\",\"missingSlots\":\"$W16\"}]\n"])</script><script>self.__next_f.push([1,"14:[[\"$\",\"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\"}],[\"$\",\"meta\",\"5\",{\"name\":\"next-size-adjust\"}]]\n4: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="preload" href="/_next/static/media/739c2d8941231bb4-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/2579b9365591037f.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-198a420ca2ddb7de.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/6909-9750e61adcf6f5e5.js" async=""></script><script src="/_next/static/chunks/6039-38b0b8c06d25892e.js" async=""></script><script src="/_next/static/chunks/2666-060d67b8e56af9d0.js" async=""></script><script src="/_next/static/chunks/app/(main)/worlds/page-a194d5d6a77d7e06.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/2539-6bce0edb99b4e538.js" async=""></script><script src="/_next/static/chunks/8347-d55cd74fb316fad0.js" async=""></script><script src="/_next/static/chunks/9949-2daeb31bdedf25c7.js" async=""></script><script src="/_next/static/chunks/4240-16f6e4c7e86ef2ce.js" async=""></script><script src="/_next/static/chunks/212-b904d9ae152f2360.js" async=""></script><script src="/_next/static/chunks/app/(main)/layout-bf1846a6b0c68959.js" async=""></script><script src="/_next/static/chunks/2724-6be0c6be94353443.js" async=""></script><script src="/_next/static/chunks/app/layout-37a5eb78e96aa17e.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"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global 1f47rfc">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:var(--font-roboto-mono),"Roboto Mono",monospace;font-weight:400;font-size:1rem;line-height:1.5;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 class="__variable_5899e0 __className_5899e0"><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-198a420ca2ddb7de.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/media/739c2d8941231bb4-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/2579b9365591037f.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[39943,[],\"\"]\n5:I[68067,[],\"ClientPageRoot\"]\n6: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\",\"6909\",\"static/chunks/6909-9750e61adcf6f5e5.js\",\"6039\",\"static/chunks/6039-38b0b8c06d25892e.js\",\"2666\",\"static/chunks/2666-060d67b8e56af9d0.js\",\"7701\",\"static/chunks/app/(main)/worlds/page-a194d5d6a77d7e06.js\"],\"default\",1]\n7:I[14224,[],\"\"]\n8:I[2863,[],\"\"]\n9: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\",\"2539\",\"static/chunks/2539-6bce0edb99b4e538.js\",\"8347\",\"static/chunks/8347-d55cd74fb316fad0.js\",\"9949\",\"static/chunks/9949-2daeb31bdedf25c7.js\",\"4240\",\"static/chunks/4240-16f6e4c7e86ef2ce.js\",\"212\",\"static/chunks/212-b904d9ae152f2360.js\",\"4095\",\"static/chunks/app/(main)/layout-bf1846a6b0c68959.js\"],\"default\",1]\nb:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"default\"]\nc:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"ThemeProvider\"]\nd:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"5"])</script><script>self.__next_f.push([1,"40\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"QueryProvider\"]\ne:\"$Sreact.suspense\"\nf:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"LoadingProvider\"]\n15:I[19253,[],\"\"]\na:{}\n10:{\"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\"}\n11:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n12:{\"display\":\"inline-block\"}\n13:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n16:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L3\",null,{\"buildId\":\"S1X5jEkA1d_pSlIMuZWrE\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"worlds\"],\"initialTree\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$6\"}],null],null],null]},[null,[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\",\"worlds\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",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\":\"$a\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2579b9365591037f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__variable_5899e0 __className_5899e0\",\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$10\",\"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\":\"$11\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$12\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$13\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L14\"],\"globalErrorComponent\":\"$15\",\"missingSlots\":\"$W16\"}]\n"])</script><script>self.__next_f.push([1,"14:[[\"$\",\"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\"}],[\"$\",\"meta\",\"5\",{\"name\":\"next-size-adjust\"}]]\n4: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","6909","static/chunks/6909-9750e61adcf6f5e5.js","
|
|
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","6909","static/chunks/6909-9750e61adcf6f5e5.js","6039","static/chunks/6039-38b0b8c06d25892e.js","2666","static/chunks/2666-060d67b8e56af9d0.js","7701","static/chunks/app/(main)/worlds/page-a194d5d6a77d7e06.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","
|
|
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","2539","static/chunks/2539-6bce0edb99b4e538.js","8347","static/chunks/8347-d55cd74fb316fad0.js","9949","static/chunks/9949-2daeb31bdedf25c7.js","4240","static/chunks/4240-16f6e4c7e86ef2ce.js","212","static/chunks/212-b904d9ae152f2360.js","4095","static/chunks/app/(main)/layout-bf1846a6b0c68959.js"],"default",1]
|
|
6
6
|
8:I[89083,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"default"]
|
|
7
7
|
9:I[48283,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"ThemeProvider"]
|
|
8
8
|
a:I[22237,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.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:["
|
|
16
|
+
0:["S1X5jEkA1d_pSlIMuZWrE",[[["",{"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/2579b9365591037f.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__variable_5899e0 __className_5899e0","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"}],["$","meta","5",{"name":"next-size-adjust"}]]
|
|
18
18
|
1:null
|
package/.next/standalone/platform/services/mcctl-console/.next/server/app-paths-manifest.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"/_not-found/page": "app/_not-found/page.js",
|
|
3
3
|
"/icon.svg/route": "app/icon.svg/route.js",
|
|
4
|
-
"/login/page": "app/login/page.js",
|
|
5
4
|
"/page": "app/page.js",
|
|
5
|
+
"/login/page": "app/login/page.js",
|
|
6
6
|
"/signup/page": "app/signup/page.js",
|
|
7
|
-
"/api/audit-logs/[id]/route": "app/api/audit-logs/[id]/route.js",
|
|
8
|
-
"/api/audit-logs/stats/route": "app/api/audit-logs/stats/route.js",
|
|
9
7
|
"/api/audit-logs/route": "app/api/audit-logs/route.js",
|
|
10
8
|
"/api/auth/[...all]/route": "app/api/auth/[...all]/route.js",
|
|
11
|
-
"/api/
|
|
9
|
+
"/api/audit-logs/[id]/route": "app/api/audit-logs/[id]/route.js",
|
|
10
|
+
"/api/audit-logs/export/route": "app/api/audit-logs/export/route.js",
|
|
11
|
+
"/api/audit-logs/stats/route": "app/api/audit-logs/stats/route.js",
|
|
12
12
|
"/api/audit-logs/stream/route": "app/api/audit-logs/stream/route.js",
|
|
13
|
-
"/api/
|
|
13
|
+
"/api/backup/history/route": "app/api/backup/history/route.js",
|
|
14
14
|
"/api/backup/restore/route": "app/api/backup/restore/route.js",
|
|
15
|
+
"/api/mods/search/route": "app/api/mods/search/route.js",
|
|
15
16
|
"/api/backup/route": "app/api/backup/route.js",
|
|
16
|
-
"/api/players/op/[player]/route": "app/api/players/op/[player]/route.js",
|
|
17
|
-
"/api/players/ban/route": "app/api/players/ban/route.js",
|
|
18
17
|
"/api/players/kick/route": "app/api/players/kick/route.js",
|
|
18
|
+
"/api/players/ban/route": "app/api/players/ban/route.js",
|
|
19
|
+
"/api/players/op/route": "app/api/players/op/route.js",
|
|
20
|
+
"/api/players/whitelist/route": "app/api/players/whitelist/route.js",
|
|
21
|
+
"/api/playit/start/route": "app/api/playit/start/route.js",
|
|
19
22
|
"/api/players/route": "app/api/players/route.js",
|
|
20
|
-
"/api/audit-logs/export/route": "app/api/audit-logs/export/route.js",
|
|
21
23
|
"/api/players/whitelist/status/route": "app/api/players/whitelist/status/route.js",
|
|
22
|
-
"/api/playit/start/route": "app/api/playit/start/route.js",
|
|
23
|
-
"/api/players/whitelist/route": "app/api/players/whitelist/route.js",
|
|
24
24
|
"/api/playit/status/route": "app/api/playit/status/route.js",
|
|
25
25
|
"/api/playit/stop/route": "app/api/playit/stop/route.js",
|
|
26
26
|
"/api/router/status/route": "app/api/router/status/route.js",
|
|
27
|
-
"/api/servers/[name]/exec/route": "app/api/servers/[name]/exec/route.js",
|
|
28
27
|
"/api/servers/[name]/config/route": "app/api/servers/[name]/config/route.js",
|
|
28
|
+
"/api/servers/[name]/exec/route": "app/api/servers/[name]/exec/route.js",
|
|
29
29
|
"/api/servers/[name]/[action]/route": "app/api/servers/[name]/[action]/route.js",
|
|
30
30
|
"/api/servers/[name]/mods/[slug]/route": "app/api/servers/[name]/mods/[slug]/route.js",
|
|
31
|
-
"/api/servers/[name]/mods/route": "app/api/servers/[name]/mods/route.js",
|
|
32
31
|
"/api/servers/[name]/hostnames/route": "app/api/servers/[name]/hostnames/route.js",
|
|
33
|
-
"/api/
|
|
32
|
+
"/api/servers/[name]/mods/route": "app/api/servers/[name]/mods/route.js",
|
|
33
|
+
"/api/servers/[name]/world/reset/route": "app/api/servers/[name]/world/reset/route.js",
|
|
34
34
|
"/api/servers/[name]/route": "app/api/servers/[name]/route.js",
|
|
35
|
-
"/api/
|
|
36
|
-
"/api/user-servers/[id]/route": "app/api/user-servers/[id]/route.js",
|
|
35
|
+
"/api/players/op/[player]/route": "app/api/players/op/[player]/route.js",
|
|
37
36
|
"/api/user-servers/route": "app/api/user-servers/route.js",
|
|
37
|
+
"/api/user-servers/[id]/route": "app/api/user-servers/[id]/route.js",
|
|
38
38
|
"/api/sse/[...path]/route": "app/api/sse/[...path]/route.js",
|
|
39
39
|
"/api/users/route": "app/api/users/route.js",
|
|
40
|
-
"/api/worlds/route": "app/api/worlds/route.js",
|
|
41
|
-
"/api/worlds/[name]/route": "app/api/worlds/[name]/route.js",
|
|
42
40
|
"/api/worlds/[name]/[action]/route": "app/api/worlds/[name]/[action]/route.js",
|
|
43
|
-
"/api/
|
|
41
|
+
"/api/worlds/[name]/route": "app/api/worlds/[name]/route.js",
|
|
42
|
+
"/api/worlds/route": "app/api/worlds/route.js",
|
|
43
|
+
"/api/servers/route": "app/api/servers/route.js",
|
|
44
44
|
"/(main)/backups/page": "app/(main)/backups/page.js",
|
|
45
45
|
"/(main)/audit-logs/page": "app/(main)/audit-logs/page.js",
|
|
46
|
-
"/(main)/players/page": "app/(main)/players/page.js",
|
|
47
46
|
"/(main)/dashboard/page": "app/(main)/dashboard/page.js",
|
|
48
|
-
"/(main)/
|
|
49
|
-
"/(main)/servers/[name]/console/page": "app/(main)/servers/[name]/console/page.js",
|
|
47
|
+
"/(main)/players/page": "app/(main)/players/page.js",
|
|
50
48
|
"/(main)/servers/[name]/page": "app/(main)/servers/[name]/page.js",
|
|
49
|
+
"/(main)/routing/page": "app/(main)/routing/page.js",
|
|
51
50
|
"/(main)/servers/page": "app/(main)/servers/page.js",
|
|
51
|
+
"/(main)/servers/[name]/console/page": "app/(main)/servers/[name]/console/page.js",
|
|
52
52
|
"/(main)/settings/page": "app/(main)/settings/page.js",
|
|
53
53
|
"/(main)/worlds/page": "app/(main)/worlds/page.js",
|
|
54
54
|
"/(main)/admin/users/page": "app/(main)/admin/users/page.js"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=1088,exports.ids=[1088],exports.modules={73802:(e,n,t)=>{t.d(n,{q:()=>u,h:()=>v});var r=t(58120),s=t(36372),i=t(54365),o=t(51999),a=t(53825);function u({text:e,size:n=14}){let[t,u]=(0,s.useState)(!1),l=async n=>{n.stopPropagation();try{await navigator.clipboard.writeText(e),u(!0),setTimeout(()=>u(!1),2e3)}catch{}};return r.jsx(i.Z,{size:"small",onClick:l,sx:{ml:.5,p:.25,color:t?"success.main":"text.secondary","&:hover":{bgcolor:"action.hover"}},"aria-label":t?"Copied":"Copy to clipboard",children:t?r.jsx(a.Z,{sx:{fontSize:n}}):r.jsx(o.Z,{sx:{fontSize:n}})})}var l=t(89352),c=t(2365),d=t(48787),y=t(52249);function p(e){return e?e.split(",").map(e=>e.trim()).filter(Boolean):[]}function v({hostname:e,portSuffix:n,color:t="text.secondary",fontSize:i,showCopyButton:o=!1}){let[a,v]=(0,s.useState)(null),m=p(e),h=function(e){let n=p(e);return 0===n.length?"-":n.find(e=>e.endsWith(".local"))||n[0]}(e),f=e=>n?`${e}:${n}`:e;return 0===m.length?r.jsx(l.Z,{component:"span",sx:{color:t,fontSize:i,display:"inline"},children:"-"}):1===m.length?(0,r.jsxs)(l.Z,{component:"span",sx:{display:"inline-flex",alignItems:"center"},children:[r.jsx(l.Z,{component:"span",sx:{color:t,fontSize:i,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:f(h)}),o&&r.jsx(u,{text:f(h)})]}):(0,r.jsxs)(l.Z,{component:"span",sx:{display:"inline-flex",alignItems:"center",gap:.75,minWidth:0},children:[r.jsx(l.Z,{component:"span",sx:{color:t,fontSize:i,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:f(h)}),r.jsx(d.Z,{label:`+${m.length-1}`,size:"small",onClick:e=>{e.stopPropagation(),v(e.currentTarget)},sx:{height:20,fontSize:11,cursor:"pointer","& .MuiChip-label":{px:.75}}}),r.jsx(y.ZP,{open:!!a,anchorEl:a,onClose:()=>{v(null)},onClick:e=>e.stopPropagation(),anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:r.jsx(l.Z,{sx:{p:1.5,minWidth:200},children:m.map(e=>(0,r.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",py:.5},children:[r.jsx(c.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',fontSize:12},children:f(e)}),r.jsx(u,{text:f(e)})]},e))})})]})}},43137:(e,n,t)=>{async function r(e,n={}){let t={...n.headers};n.body&&(t["Content-Type"]="application/json");let r=await fetch(e,{...n,headers:t});if(!r.ok){let e=await r.json().catch(()=>({error:"UnknownError",message:r.statusText})),n=Error(e.message);throw n.statusCode=r.status,n.code=e.error,n}return r.json()}t.d(n,{SC:()=>r})},49856:(e,n,t)=>{t.d(n,{x:()=>o});var r=t(56539),s=t(36372),i=t(36597);function o(){let e=(0,r.useRouter)(),n=(0,s.useCallback)((n,t)=>{(0,i.Av)(),e.push(n,t)},[e]),t=(0,s.useCallback)((n,t)=>{(0,i.Av)(),e.replace(n,t)},[e]);return(0,s.useMemo)(()=>({...e,push:n,replace:t}),[e,n,t])}},74151:(e,n,t)=>{t.d(n,{$t:()=>g,Aw:()=>d,Bx:()=>b,Fv:()=>f,Hq:()=>l,Hy:()=>u,Js:()=>x,Ll:()=>O,MH:()=>C,S0:()=>j,Sr:()=>p,Yo:()=>$,_I:()=>y,c5:()=>F,g2:()=>h,gx:()=>q,hy:()=>v,iC:()=>S,jM:()=>c,mj:()=>K,nq:()=>m,nv:()=>w,ox:()=>Q,s8:()=>I,x$:()=>a,zF:()=>N});var r=t(28872),s=t(95343),i=t(20042),o=t(43137);function a(){return(0,r.a)({queryKey:["servers"],queryFn:()=>(0,o.SC)("/api/servers"),refetchInterval:6e4})}function u(e,n){return(0,r.a)({queryKey:["servers",e],queryFn:()=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}`),enabled:n?.enabled!==!1&&!!e,refetchInterval:3e4})}function l(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({name:e,force:n})=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}${n?"?force=true":""}`,{method:"DELETE"}),onSuccess:()=>{e.invalidateQueries({queryKey:["servers"]})}})}function c(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}/start`,{method:"POST"}),onSuccess:(n,t)=>{e.invalidateQueries({queryKey:["servers"]}),e.invalidateQueries({queryKey:["servers",t]})}})}function d(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}/stop`,{method:"POST"}),onSuccess:(n,t)=>{e.invalidateQueries({queryKey:["servers"]}),e.invalidateQueries({queryKey:["servers",t]})}})}function y(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}/restart`,{method:"POST"}),onSuccess:(n,t)=>{e.invalidateQueries({queryKey:["servers"]}),e.invalidateQueries({queryKey:["servers",t]})}})}function p(){return(0,r.a)({queryKey:["worlds"],queryFn:()=>(0,o.SC)("/api/worlds"),refetchInterval:3e4})}function v(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,o.SC)("/api/worlds",{method:"POST",body:JSON.stringify(e)}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]})}})}function m(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({worldName:e,serverName:n})=>(0,o.SC)(`/api/worlds/${encodeURIComponent(e)}/assign`,{method:"POST",body:JSON.stringify({serverName:n})}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]}),e.invalidateQueries({queryKey:["servers"]})}})}function h(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({worldName:e,force:n})=>(0,o.SC)(`/api/worlds/${encodeURIComponent(e)}/release${n?"?force=true":""}`,{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]})}})}function f(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({name:e,force:n})=>(0,o.SC)(`/api/worlds/${encodeURIComponent(e)}${n?"?force=true":""}`,{method:"DELETE"}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]})}})}function S(e,n){return(0,r.a)({queryKey:["servers",e,"config"],queryFn:()=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}/config`),enabled:n?.enabled!==!1&&!!e})}function C(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,config:n})=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}/config`,{method:"PATCH",body:JSON.stringify(n)}),onSuccess:(n,{serverName:t})=>{e.invalidateQueries({queryKey:["servers",t,"config"]}),e.invalidateQueries({queryKey:["servers",t]})}})}function q(){let e=(0,s.NL)();return(0,i.D)({mutationFn:e=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}/world/reset`,{method:"POST"}),onSuccess:(n,t)=>{e.invalidateQueries({queryKey:["servers",t]}),e.invalidateQueries({queryKey:["worlds"]})}})}function x(e,n){return(0,r.a)({queryKey:["servers",e,"hostnames"],queryFn:()=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}/hostnames`),enabled:n?.enabled!==!1&&!!e})}function b(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,customHostnames:n})=>(0,o.SC)(`/api/servers/${encodeURIComponent(e)}/hostnames`,{method:"PUT",body:JSON.stringify({customHostnames:n})}),onSuccess:(n,{serverName:t})=>{e.invalidateQueries({queryKey:["servers",t,"hostnames"]}),e.invalidateQueries({queryKey:["servers",t]})}})}function w(){return(0,r.a)({queryKey:["router-status"],queryFn:()=>(0,o.SC)("/api/router/status"),refetchInterval:3e4})}function K(){return(0,r.a)({queryKey:["backup-status"],queryFn:()=>(0,o.SC)("/api/backup"),refetchInterval:6e4})}function g(e=20){return(0,r.a)({queryKey:["backup-history",e],queryFn:()=>(0,o.SC)(`/api/backup/history?limit=${e}`),refetchInterval:6e4})}function F(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({message:e})=>(0,o.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,o.SC)("/api/backup/restore",{method:"POST",body:JSON.stringify({commitHash:e})}),onSuccess:()=>{e.invalidateQueries({queryKey:["worlds"]}),e.invalidateQueries({queryKey:["servers"]})}})}function Q(e){return(0,r.a)({queryKey:["servers",e,"whitelist"],queryFn:()=>(0,o.SC)(`/api/players/whitelist?server=${encodeURIComponent(e)}`),enabled:!!e})}function $(e){return(0,r.a)({queryKey:["servers",e,"whitelist-status"],queryFn:()=>(0,o.SC)(`/api/players/whitelist/status?server=${encodeURIComponent(e)}`),enabled:!!e})}function N(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,enabled:n})=>(0,o.SC)("/api/players/whitelist/status",{method:"PUT",body:JSON.stringify({server:e,enabled:n})}),onSuccess:(n,{serverName:t})=>{e.invalidateQueries({queryKey:["servers",t,"whitelist-status"]}),e.invalidateQueries({queryKey:["servers",t,"whitelist"]})}})}function O(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,player:n})=>(0,o.SC)("/api/players/whitelist",{method:"POST",body:JSON.stringify({server:e,player:n})}),onSuccess:(n,{serverName:t})=>{e.invalidateQueries({queryKey:["servers",t,"whitelist"]})}})}function j(){let e=(0,s.NL)();return(0,i.D)({mutationFn:({serverName:e,player:n})=>(0,o.SC)(`/api/players/whitelist?player=${encodeURIComponent(n)}&server=${encodeURIComponent(e)}`,{method:"DELETE"}),onSuccess:(n,{serverName:t})=>{e.invalidateQueries({queryKey:["servers",t,"whitelist"]})}})}},47893:(e,n,t)=>{t.d(n,{D:()=>s});var r=t(36372);function s(e){let{url:n,onMessage:t,onError:s,reconnectInterval:i=3e3,maxReconnectAttempts:o=1/0,enabled:a=!0,withCredentials:u=!1}=e,[l,c]=(0,r.useState)(null),[d,y]=(0,r.useState)("disconnected"),[p,v]=(0,r.useState)(null),[m,h]=(0,r.useState)(0),f=(0,r.useRef)(null);return(0,r.useCallback)(e=>{c(e),t?.(e)},[t]),(0,r.useCallback)(e=>{y(e),"connected"===e&&h(0)},[]),(0,r.useCallback)(e=>{v(e),"number"==typeof e.retryCount&&h(e.retryCount),s?.(e)},[s]),{data:l,isConnected:"connected"===d,state:d,error:p,retryCount:m,reconnect:(0,r.useCallback)(()=>{f.current&&(f.current.reconnect(),h(f.current.getRetryCount()))},[]),disconnect:(0,r.useCallback)(()=>{f.current&&f.current.disconnect()},[])}}}};
|
|
@@ -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")},97441:(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:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew")},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:()=>M,SB:()=>k,ms:()=>$,hI:()=>j,aY:()=>ec,zd:()=>F,Ik:()=>C});var t=r(58120),n=r(67073),a=r(92797),l=r(2365),i=r(89352),o=r(48787),c=r(37891),d=r(88916),x=r(59059),h=r(75698),u=r(79795);let m={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},p={border:0,py:1};function j({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(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Router Name"}),t.jsx(h.Z,{sx:p,children:e.name})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Port"}),t.jsx(h.Z,{sx:p,children:e.port})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,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:m,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),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 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(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:{fontFamily:'"Roboto Mono", monospace',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(c.Z,{size:"small",children:(0,t.jsxs)(d.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 M({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 N=r(36372),D=r(6275),T=r(10257),W=r(79943),R=r(38481),E=r(68763);function F({onSuccess:e,onError:s}){let{data:r}=(0,E.kP)(),[c,d]=(0,N.useState)(r?.user?.name||""),[x,h]=(0,N.useState)(!1),[u,m]=(0,N.useState)(!1),p=r?.user,j=c!==(p?.name||""),Z=async()=>{if(j&&c.trim()){h(!0);try{let{error:r}=await (0,E.Nq)({name:c.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(R.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(D.Z,{label:"Name",value:c,onChange:e=>d(e.target.value),fullWidth:!0,size:"small"}),t.jsx(D.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:!j||!c.trim()||x,startIcon:x?t.jsx(W.Z,{size:16}):null,children:x?"Saving...":"Save Changes"})})]})]})}):null}var L=r(92559),U=r(54365),B=r(61960),V=r(27767),q=r(36739);function $({onSuccess:e,onError:s}){let[r,o]=(0,N.useState)(""),[c,d]=(0,N.useState)(""),[x,h]=(0,N.useState)(""),[u,m]=(0,N.useState)(!1),[p,j]=(0,N.useState)(!1),[Z,f]=(0,N.useState)(!1),[g,y]=(0,N.useState)(!1),[v,b]=(0,N.useState)({}),w=()=>{let e={};return r||(e.currentPassword="Current password is required"),c?c.length<8&&(e.newPassword="Password must be at least 8 characters"):e.newPassword="New password is required",x?c!==x&&(e.confirmPassword="Passwords do not match"):e.confirmPassword="Please confirm your new password",r&&c&&r===c&&(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,E.Cp)({currentPassword:r,newPassword:c,revokeOtherSessions:!1});t?s(t.message||"Failed to change password"):(e("Password changed successfully"),o(""),d(""),h(""),b({}))}catch{s("Failed to change password")}finally{y(!1)}}},C=(e,s)=>t.jsx(L.Z,{position:"end",children:t.jsx(U.Z,{"aria-label":e?"hide password":"show password",onClick:()=>s(!e),edge:"end",size:"small",children:e?t.jsx(q.Z,{fontSize:"small"}):t.jsx(V.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(B.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(D.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:C(u,m)}}),t.jsx(D.Z,{label:"New Password",type:p?"text":"password",value:c,onChange:e=>{d(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:C(p,j)}}),t.jsx(D.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: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 _=r(94304);let O={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},H={border:0,py:1};function K(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,E.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(_.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Account Information"})]}),t.jsx(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Account ID"}),t.jsx(h.Z,{sx:H,children:t.jsx(l.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',fontSize:"0.8rem"},children:s.id})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Created"}),t.jsx(h.Z,{sx:H,children:K(s.createdAt)})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Last Updated"}),t.jsx(h.Z,{sx:H,children:K(s.updatedAt)})]})]})})]})}):null}var Y=r(70862),G=r(68913),J=r(66757),X=r(1877),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,N.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(U.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 ec(){let{data:e,isLoading:s,error:r}=(0,ea.UW)(),u=(0,ea.Bc)(),m=(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(X.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(J.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(X.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(J.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,j=u.isPending||m.isPending,Z=u.error||m.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(X.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),Z&&t.jsx(J.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:j?t.jsx(W.Z,{size:16}):t.jsx(es.Z,{}),onClick:()=>{m.mutate()},disabled:j,sx:{fontSize:12},children:j?"Stopping...":"Stop Agent"}):t.jsx(T.Z,{variant:"contained",size:"small",color:"success",startIcon:j?t.jsx(W.Z,{size:16,color:"inherit"}):t.jsx(ee.Z,{}),onClick:()=>{u.mutate()},disabled:j,sx:{fontSize:12},children:j?"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(c.Z,{size:"small",sx:{mb:3},children:(0,t.jsxs)(d.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?(0,t.jsxs)(c.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(d.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:{fontFamily:'"Roboto Mono", monospace'},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$:()=>c,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 c(){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")},97441:(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:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew")},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:()=>X,E4:()=>M,SB:()=>k,ms:()=>$,hI:()=>j,aY:()=>ec,zd:()=>F,Ik:()=>C});var t=r(58120),n=r(67073),a=r(92797),l=r(2365),i=r(89352),o=r(48787),c=r(37891),d=r(88916),x=r(59059),h=r(75698),u=r(79795);let m={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},p={border:0,py:1};function j({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(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Router Name"}),t.jsx(h.Z,{sx:p,children:e.name})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Port"}),t.jsx(h.Z,{sx:p,children:e.port})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,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:m,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:{fontFamily:'"Roboto Mono", monospace',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(c.Z,{size:"small",children:(0,t.jsxs)(d.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 M({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 N=r(36372),D=r(6275),T=r(10257),W=r(79943),R=r(38481),E=r(68763);function F({onSuccess:e,onError:s}){let{data:r}=(0,E.kP)(),[c,d]=(0,N.useState)(r?.user?.name||""),[x,h]=(0,N.useState)(!1),[u,m]=(0,N.useState)(!1),p=r?.user,j=c!==(p?.name||""),Z=async()=>{if(j&&c.trim()){h(!0);try{let{error:r}=await (0,E.Nq)({name:c.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(R.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(D.Z,{label:"Name",value:c,onChange:e=>d(e.target.value),fullWidth:!0,size:"small"}),t.jsx(D.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:!j||!c.trim()||x,startIcon:x?t.jsx(W.Z,{size:16}):null,children:x?"Saving...":"Save Changes"})})]})]})}):null}var L=r(92559),U=r(54365),B=r(61960),V=r(27767),q=r(36739);function $({onSuccess:e,onError:s}){let[r,o]=(0,N.useState)(""),[c,d]=(0,N.useState)(""),[x,h]=(0,N.useState)(""),[u,m]=(0,N.useState)(!1),[p,j]=(0,N.useState)(!1),[Z,f]=(0,N.useState)(!1),[g,y]=(0,N.useState)(!1),[v,w]=(0,N.useState)({}),b=()=>{let e={};return r||(e.currentPassword="Current password is required"),c?c.length<8&&(e.newPassword="Password must be at least 8 characters"):e.newPassword="New password is required",x?c!==x&&(e.confirmPassword="Passwords do not match"):e.confirmPassword="Please confirm your new password",r&&c&&r===c&&(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,E.Cp)({currentPassword:r,newPassword:c,revokeOtherSessions:!1});t?s(t.message||"Failed to change password"):(e("Password changed successfully"),o(""),d(""),h(""),w({}))}catch{s("Failed to change password")}finally{y(!1)}}},C=(e,s)=>t.jsx(L.Z,{position:"end",children:t.jsx(U.Z,{"aria-label":e?"hide password":"show password",onClick:()=>s(!e),edge:"end",size:"small",children:e?t.jsx(q.Z,{fontSize:"small"}):t.jsx(V.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(B.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(D.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,m)}}),t.jsx(D.Z,{label:"New Password",type:p?"text":"password",value:c,onChange:e=>{d(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,j)}}),t.jsx(D.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 _=r(94304);let O={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},H={border:0,py:1};function K(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 X(){let{data:e}=(0,E.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(_.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Account Information"})]}),t.jsx(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Account ID"}),t.jsx(h.Z,{sx:H,children:t.jsx(l.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',fontSize:"0.8rem"},children:s.id})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Created"}),t.jsx(h.Z,{sx:H,children:K(s.createdAt)})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Last Updated"}),t.jsx(h.Z,{sx:H,children:K(s.updatedAt)})]})]})})]})}):null}var Q=r(70862),Y=r(68913),G=r(66757),J=r(1877),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,N.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(U.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 ec(){let{data:e,isLoading:s,error:r}=(0,ea.UW)(),u=(0,ea.Bc)(),m=(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)(G.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(Y.Z,{variant:"circular",width:24,height:24}),t.jsx(Y.Z,{variant:"text",width:"40%",height:32})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(Y.Z,{variant:"text",width:"35%"}),t.jsx(Y.Z,{variant:"text",width:"40%"})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(Y.Z,{variant:"text",width:"35%"}),t.jsx(Y.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)(G.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,j=u.isPending||m.isPending,Z=u.error||m.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(G.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:j?t.jsx(W.Z,{size:16}):t.jsx(es.Z,{}),onClick:()=>{m.mutate()},disabled:j,sx:{fontSize:12},children:j?"Stopping...":"Stop Agent"}):t.jsx(T.Z,{variant:"contained",size:"small",color:"success",startIcon:j?t.jsx(W.Z,{size:16,color:"inherit"}):t.jsx(ee.Z,{}),onClick:()=>{u.mutate()},disabled:j,sx:{fontSize:12},children:j?"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(c.Z,{size:"small",sx:{mb:3},children:(0,t.jsxs)(d.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)(c.Z,{size:"small",sx:{mb:r.length>0?2:0},children:[t.jsx(Q.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(d.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:{fontFamily:'"Roboto Mono", monospace',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$:()=>c,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 c(){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,54 @@
|
|
|
1
|
+
"use strict";exports.id=7049,exports.ids=[7049],exports.modules={29564:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},56846:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},72690:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.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-2h2zm0-4h-2V7h2z"}),"Error")},30463:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link")},95223:(r,e,a)=>{a.d(e,{Z:()=>R});var t=a(36885),o=a(4981),n=a(36372),i=a(30330),s=a(3693),l=a(84199),u=a(93445),d=a(10587),f=a(29251),c=a(62923),m=a(9103),b=a(89206),v=a(7967);function h(r){return(0,v.ZP)("MuiLinearProgress",r)}(0,b.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var p=a(58120);let g=["className","color","value","valueBuffer","variant"],Z=r=>r,y,C,x,$,k,M,P=(0,l.F4)(y||(y=Z`
|
|
2
|
+
0% {
|
|
3
|
+
left: -35%;
|
|
4
|
+
right: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
60% {
|
|
8
|
+
left: 100%;
|
|
9
|
+
right: -90%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
100% {
|
|
13
|
+
left: 100%;
|
|
14
|
+
right: -90%;
|
|
15
|
+
}
|
|
16
|
+
`)),L=(0,l.F4)(C||(C=Z`
|
|
17
|
+
0% {
|
|
18
|
+
left: -200%;
|
|
19
|
+
right: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
60% {
|
|
23
|
+
left: 107%;
|
|
24
|
+
right: -8%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
100% {
|
|
28
|
+
left: 107%;
|
|
29
|
+
right: -8%;
|
|
30
|
+
}
|
|
31
|
+
`)),S=(0,l.F4)(x||(x=Z`
|
|
32
|
+
0% {
|
|
33
|
+
opacity: 1;
|
|
34
|
+
background-position: 0 -23px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
60% {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
background-position: 0 -23px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
100% {
|
|
43
|
+
opacity: 1;
|
|
44
|
+
background-position: -200px -23px;
|
|
45
|
+
}
|
|
46
|
+
`)),w=r=>{let{classes:e,variant:a,color:t}=r,o={root:["root",`color${(0,f.Z)(t)}`,a],dashed:["dashed",`dashedColor${(0,f.Z)(t)}`],bar1:["bar",`barColor${(0,f.Z)(t)}`,("indeterminate"===a||"query"===a)&&"bar1Indeterminate","determinate"===a&&"bar1Determinate","buffer"===a&&"bar1Buffer"],bar2:["bar","buffer"!==a&&`barColor${(0,f.Z)(t)}`,"buffer"===a&&`color${(0,f.Z)(t)}`,("indeterminate"===a||"query"===a)&&"bar2Indeterminate","buffer"===a&&"bar2Buffer"]};return(0,s.Z)(o,h,e)},j=(r,e)=>"inherit"===e?"currentColor":r.vars?r.vars.palette.LinearProgress[`${e}Bg`]:"light"===r.palette.mode?(0,u.$n)(r.palette[e].main,.62):(0,u._j)(r.palette[e].main,.5),z=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.root,e[`color${(0,f.Z)(a.color)}`],e[a.variant]]}})(({ownerState:r,theme:e})=>(0,o.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:j(e,r.color)},"inherit"===r.color&&"buffer"!==r.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===r.variant&&{backgroundColor:"transparent"},"query"===r.variant&&{transform:"rotate(180deg)"})),B=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.dashed,e[`dashedColor${(0,f.Z)(a.color)}`]]}})(({ownerState:r,theme:e})=>{let a=j(e,r.color);return(0,o.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===r.color&&{opacity:.3},{backgroundImage:`radial-gradient(${a} 0%, ${a} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,l.iv)($||($=Z`
|
|
47
|
+
animation: ${0} 3s infinite linear;
|
|
48
|
+
`),S)),I=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.bar,e[`barColor${(0,f.Z)(a.color)}`],("indeterminate"===a.variant||"query"===a.variant)&&e.bar1Indeterminate,"determinate"===a.variant&&e.bar1Determinate,"buffer"===a.variant&&e.bar1Buffer]}})(({ownerState:r,theme:e})=>(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===r.color?"currentColor":(e.vars||e).palette[r.color].main},"determinate"===r.variant&&{transition:"transform .4s linear"},"buffer"===r.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:r})=>("indeterminate"===r.variant||"query"===r.variant)&&(0,l.iv)(k||(k=Z`
|
|
49
|
+
width: auto;
|
|
50
|
+
animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
51
|
+
`),P)),q=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.bar,e[`barColor${(0,f.Z)(a.color)}`],("indeterminate"===a.variant||"query"===a.variant)&&e.bar2Indeterminate,"buffer"===a.variant&&e.bar2Buffer]}})(({ownerState:r,theme:e})=>(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==r.variant&&{backgroundColor:"inherit"===r.color?"currentColor":(e.vars||e).palette[r.color].main},"inherit"===r.color&&{opacity:.3},"buffer"===r.variant&&{backgroundColor:j(e,r.color),transition:"transform .4s linear"}),({ownerState:r})=>("indeterminate"===r.variant||"query"===r.variant)&&(0,l.iv)(M||(M=Z`
|
|
52
|
+
width: auto;
|
|
53
|
+
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
54
|
+
`),L)),R=n.forwardRef(function(r,e){let a=(0,m.i)({props:r,name:"MuiLinearProgress"}),{className:n,color:s="primary",value:l,valueBuffer:u,variant:f="indeterminate"}=a,c=(0,t.Z)(a,g),b=(0,o.Z)({},a,{color:s,variant:f}),v=w(b),h=(0,d.V)(),Z={},y={bar1:{},bar2:{}};if(("determinate"===f||"buffer"===f)&&void 0!==l){Z["aria-valuenow"]=Math.round(l),Z["aria-valuemin"]=0,Z["aria-valuemax"]=100;let r=l-100;h&&(r=-r),y.bar1.transform=`translateX(${r}%)`}if("buffer"===f&&void 0!==u){let r=(u||0)-100;h&&(r=-r),y.bar2.transform=`translateX(${r}%)`}return(0,p.jsxs)(z,(0,o.Z)({className:(0,i.Z)(v.root,n),ownerState:b,role:"progressbar"},Z,{ref:e},c,{children:["buffer"===f?(0,p.jsx)(B,{className:v.dashed,ownerState:b}):null,(0,p.jsx)(I,{className:v.bar1,ownerState:b,style:y.bar1}),"determinate"===f?null:(0,p.jsx)(q,{className:v.bar2,ownerState:b,style:y.bar2})]}))})},98693:(r,e,a)=>{a.d(e,{Z:()=>l});var t=a(36372),o=a(38144),n=a(35492),i=a(42377);let s=t.useSyncExternalStore;function l(r,e={}){let a=(0,i.Z)(),{defaultMatches:l=!1,matchMedia:u=null,ssrMatchMedia:d=null,noSsr:f=!1}=(0,n.Z)({name:"MuiUseMediaQuery",props:e,theme:a}),c="function"==typeof r?r(a):r;return(void 0!==s?function(r,e,a,o,n){let i=t.useCallback(()=>e,[e]),l=t.useMemo(()=>{if(n&&a)return()=>a(r).matches;if(null!==o){let{matches:e}=o(r);return()=>e}return i},[i,r,o,n,a]),[u,d]=t.useMemo(()=>{if(null===a)return[i,()=>()=>{}];let e=a(r);return[()=>e.matches,r=>(e.addListener(r),()=>{e.removeListener(r)})]},[i,a,r]);return s(d,u,l)}:function(r,e,a,n,i){let[s,l]=t.useState(()=>i&&a?a(r).matches:n?n(r).matches:e);return(0,o.Z)(()=>{let e=!0;if(!a)return;let t=a(r),o=()=>{e&&l(t.matches)};return o(),t.addListener(o),()=>{e=!1,t.removeListener(o)}},[r,a]),s})(c=c.replace(/^@media( ?)/m,""),l,u,d,f)}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=8389,exports.ids=[8389],exports.modules={14360:(e,r,t)=>{t.d(r,{Z:()=>R});var o=t(36885),l=t(4981),a=t(36372),n=t(30330),i=t(3693),s=t(12317),d=t(23016),c=t(2365),u=t(29251),p=t(62923),m=t(9103),b=t(89206),h=t(7967);function f(e){return(0,h.ZP)("MuiFormControlLabel",e)}let Z=(0,b.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var v=t(80845),g=t(58120);let k=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],P=e=>{let{classes:r,disabled:t,labelPlacement:o,error:l,required:a}=e,n={root:["root",t&&"disabled",`labelPlacement${(0,u.Z)(o)}`,l&&"error",a&&"required"],label:["label",t&&"disabled"],asterisk:["asterisk",l&&"error"]};return(0,i.Z)(n,f,r)},y=(0,p.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[{[`& .${Z.label}`]:r.label},r.root,r[`labelPlacement${(0,u.Z)(t.labelPlacement)}`]]}})(({theme:e,ownerState:r})=>(0,l.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Z.disabled}`]:{cursor:"default"}},"start"===r.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===r.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===r.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${Z.label}`]:{[`&.${Z.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),x=(0,p.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,r)=>r.asterisk})(({theme:e})=>({[`&.${Z.error}`]:{color:(e.vars||e).palette.error.main}})),R=a.forwardRef(function(e,r){var t,i;let u=(0,m.i)({props:e,name:"MuiFormControlLabel"}),{className:p,componentsProps:b={},control:h,disabled:f,disableTypography:Z,label:R,labelPlacement:w="end",required:S,slotProps:F={}}=u,C=(0,o.Z)(u,k),B=(0,s.Z)(),$=null!=(t=null!=f?f:h.props.disabled)?t:null==B?void 0:B.disabled,j=null!=S?S:h.props.required,M={disabled:$,required:j};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===h.props[e]&&void 0!==u[e]&&(M[e]=u[e])});let N=(0,v.Z)({props:u,muiFormControl:B,states:["error"]}),L=(0,l.Z)({},u,{disabled:$,labelPlacement:w,required:j,error:N.error}),q=P(L),E=null!=(i=F.typography)?i:b.typography,I=R;return null==I||I.type===c.Z||Z||(I=(0,g.jsx)(c.Z,(0,l.Z)({component:"span"},E,{className:(0,n.Z)(q.label,null==E?void 0:E.className),children:I}))),(0,g.jsxs)(y,(0,l.Z)({className:(0,n.Z)(q.root,p),ownerState:L,ref:r},C,{children:[a.cloneElement(h,M),j?(0,g.jsxs)(d.Z,{display:"block",children:[I,(0,g.jsxs)(x,{ownerState:L,"aria-hidden":!0,className:q.asterisk,children:[" ","*"]})]}):I]}))})},23016:(e,r,t)=>{t.d(r,{Z:()=>w});var o=t(36885),l=t(4981),a=t(36372),n=t(30330),i=t(25208),s=t(7967),d=t(3693),c=t(94212),u=t(
|
|
1
|
+
"use strict";exports.id=8389,exports.ids=[8389],exports.modules={14360:(e,r,t)=>{t.d(r,{Z:()=>R});var o=t(36885),l=t(4981),a=t(36372),n=t(30330),i=t(3693),s=t(12317),d=t(23016),c=t(2365),u=t(29251),p=t(62923),m=t(9103),b=t(89206),h=t(7967);function f(e){return(0,h.ZP)("MuiFormControlLabel",e)}let Z=(0,b.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var v=t(80845),g=t(58120);let k=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],P=e=>{let{classes:r,disabled:t,labelPlacement:o,error:l,required:a}=e,n={root:["root",t&&"disabled",`labelPlacement${(0,u.Z)(o)}`,l&&"error",a&&"required"],label:["label",t&&"disabled"],asterisk:["asterisk",l&&"error"]};return(0,i.Z)(n,f,r)},y=(0,p.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[{[`& .${Z.label}`]:r.label},r.root,r[`labelPlacement${(0,u.Z)(t.labelPlacement)}`]]}})(({theme:e,ownerState:r})=>(0,l.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Z.disabled}`]:{cursor:"default"}},"start"===r.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===r.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===r.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${Z.label}`]:{[`&.${Z.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),x=(0,p.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,r)=>r.asterisk})(({theme:e})=>({[`&.${Z.error}`]:{color:(e.vars||e).palette.error.main}})),R=a.forwardRef(function(e,r){var t,i;let u=(0,m.i)({props:e,name:"MuiFormControlLabel"}),{className:p,componentsProps:b={},control:h,disabled:f,disableTypography:Z,label:R,labelPlacement:w="end",required:S,slotProps:F={}}=u,C=(0,o.Z)(u,k),B=(0,s.Z)(),$=null!=(t=null!=f?f:h.props.disabled)?t:null==B?void 0:B.disabled,j=null!=S?S:h.props.required,M={disabled:$,required:j};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===h.props[e]&&void 0!==u[e]&&(M[e]=u[e])});let N=(0,v.Z)({props:u,muiFormControl:B,states:["error"]}),L=(0,l.Z)({},u,{disabled:$,labelPlacement:w,required:j,error:N.error}),q=P(L),E=null!=(i=F.typography)?i:b.typography,I=R;return null==I||I.type===c.Z||Z||(I=(0,g.jsx)(c.Z,(0,l.Z)({component:"span"},E,{className:(0,n.Z)(q.label,null==E?void 0:E.className),children:I}))),(0,g.jsxs)(y,(0,l.Z)({className:(0,n.Z)(q.root,p),ownerState:L,ref:r},C,{children:[a.cloneElement(h,M),j?(0,g.jsxs)(d.Z,{display:"block",children:[I,(0,g.jsxs)(x,{ownerState:L,"aria-hidden":!0,className:q.asterisk,children:[" ","*"]})]}):I]}))})},23016:(e,r,t)=>{t.d(r,{Z:()=>w});var o=t(36885),l=t(4981),a=t(36372),n=t(30330),i=t(25208),s=t(7967),d=t(3693),c=t(94212),u=t(64218),p=t(18882),m=t(92049),b=t(77239),h=t(29442),f=t(58120);let Z=["component","direction","spacing","divider","children","className","useFlexGap"],v=(0,m.Z)(),g=(0,c.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,r)=>r.root});function k(e){return(0,u.Z)({props:e,name:"MuiStack",defaultTheme:v})}let P=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],y=({ownerState:e,theme:r})=>{let t=(0,l.Z)({display:"flex",flexDirection:"column"},(0,b.k9)({theme:r},(0,b.P$)({values:e.direction,breakpoints:r.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let o=(0,h.hB)(r),l=Object.keys(r.breakpoints.values).reduce((r,t)=>(("object"==typeof e.spacing&&null!=e.spacing[t]||"object"==typeof e.direction&&null!=e.direction[t])&&(r[t]=!0),r),{}),a=(0,b.P$)({values:e.direction,base:l}),n=(0,b.P$)({values:e.spacing,base:l});"object"==typeof a&&Object.keys(a).forEach((e,r,t)=>{if(!a[e]){let o=r>0?a[t[r-1]]:"column";a[e]=o}}),t=(0,i.Z)(t,(0,b.k9)({theme:r},n,(r,t)=>e.useFlexGap?{gap:(0,h.NA)(o,r)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${P(t?a[t]:e.direction)}`]:(0,h.NA)(o,r)}}))}return(0,b.dt)(r.breakpoints,t)};var x=t(62923),R=t(9103);let w=function(e={}){let{createStyledComponent:r=g,useThemeProps:t=k,componentName:i="MuiStack"}=e,c=()=>(0,d.Z)({root:["root"]},e=>(0,s.ZP)(i,e),{}),u=r(y);return a.forwardRef(function(e,r){let i=t(e),s=(0,p.Z)(i),{component:d="div",direction:m="column",spacing:b=0,divider:h,children:v,className:g,useFlexGap:k=!1}=s,P=(0,o.Z)(s,Z),y=c();return(0,f.jsx)(u,(0,l.Z)({as:d,ownerState:{direction:m,spacing:b,useFlexGap:k},ref:r,className:(0,n.Z)(y.root,g)},P,{children:h?function(e,r){let t=a.Children.toArray(e).filter(Boolean);return t.reduce((e,o,l)=>(e.push(o),l<t.length-1&&e.push(a.cloneElement(r,{key:`separator-${l}`})),e),[])}(v,h):v}))})}({createStyledComponent:(0,x.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,r)=>r.root}),useThemeProps:e=>(0,R.i)({props:e,name:"MuiStack"})})},1322:(e,r,t)=>{t.d(r,{Z:()=>y});var o=t(36885),l=t(4981),a=t(36372),n=t(30330),i=t(3693),s=t(29251),d=t(62923),c=t(51118),u=t(3011),p=t(12317),m=t(39183),b=t(89206),h=t(7967);function f(e){return(0,h.ZP)("PrivateSwitchBase",e)}(0,b.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var Z=t(58120);let v=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],g=e=>{let{classes:r,checked:t,disabled:o,edge:l}=e,a={root:["root",t&&"checked",o&&"disabled",l&&`edge${(0,s.Z)(l)}`],input:["input"]};return(0,i.Z)(a,f,r)},k=(0,d.ZP)(m.Z,{name:"MuiSwitchBase"})(({ownerState:e})=>(0,l.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),P=(0,d.ZP)("input",{name:"MuiSwitchBase",shouldForwardProp:c.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),y=a.forwardRef(function(e,r){let{autoFocus:t,checked:a,checkedIcon:i,className:s,defaultChecked:d,disabled:c,disableFocusRipple:m=!1,edge:b=!1,icon:h,id:f,inputProps:y,inputRef:x,name:R,onBlur:w,onChange:S,onFocus:F,readOnly:C,required:B=!1,tabIndex:$,type:j,value:M}=e,N=(0,o.Z)(e,v),[L,q]=(0,u.Z)({controlled:a,default:!!d,name:"SwitchBase",state:"checked"}),E=(0,p.Z)(),I=c;E&&void 0===I&&(I=E.disabled);let A="checkbox"===j||"radio"===j,D=(0,l.Z)({},e,{checked:L,disabled:I,disableFocusRipple:m,edge:b}),T=g(D);return(0,Z.jsxs)(k,(0,l.Z)({component:"span",className:(0,n.Z)(T.root,s),centerRipple:!0,focusRipple:!m,disabled:I,tabIndex:null,role:void 0,onFocus:e=>{F&&F(e),E&&E.onFocus&&E.onFocus(e)},onBlur:e=>{w&&w(e),E&&E.onBlur&&E.onBlur(e)},ownerState:D,ref:r},N,{children:[(0,Z.jsx)(P,(0,l.Z)({autoFocus:t,checked:a,defaultChecked:d,className:T.input,disabled:I,id:A?f:void 0,name:R,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;let r=e.target.checked;q(r),S&&S(e,r)},readOnly:C,ref:x,required:B,ownerState:D,tabIndex:$,type:j},"checkbox"===j&&void 0===M?{}:{value:M},y)),L?i:h]}))})}};
|