ot-gateway 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/VERSION +1 -1
  2. package/apps/gateway/src/main.mjs +683 -211
  3. package/apps/web/out/404/index.html +1 -0
  4. package/apps/web/out/404.html +1 -1
  5. package/apps/web/out/__next.__PAGE__.txt +28 -26
  6. package/apps/web/out/__next._full.txt +23 -21
  7. package/apps/web/out/__next._tree.txt +2 -2
  8. package/apps/web/out/_next/static/chunks/03_syxbyimnor.js +1 -0
  9. package/apps/web/out/_next/static/chunks/1-_c1aqhwim5t.css +1 -0
  10. package/apps/web/out/_next/static/chunks/10i96w66fwhkr.js +31 -0
  11. package/apps/web/out/_next/static/chunks/1bh2-eknm9t8k.js +1 -0
  12. package/apps/web/out/_next/static/chunks/259s9pubapqip.js +1 -0
  13. package/apps/web/out/_next/static/chunks/25dqruymh00rk.js +1 -0
  14. package/apps/web/out/_next/static/chunks/2r_w-j--qdreu.js +22 -0
  15. package/apps/web/out/_next/static/chunks/3b0ql-jh_xg_k.js +12 -0
  16. package/apps/web/out/_next/static/chunks/3o5cr1y-sws-u.js +1 -0
  17. package/apps/web/out/_not-found/__next._full.txt +21 -19
  18. package/apps/web/out/_not-found/__next._not-found.__PAGE__.txt +27 -25
  19. package/apps/web/out/_not-found/__next._tree.txt +2 -2
  20. package/apps/web/out/_not-found/index.html +1 -0
  21. package/apps/web/out/_not-found/index.txt +22 -0
  22. package/apps/web/out/index.html +1 -1
  23. package/apps/web/out/index.txt +23 -21
  24. package/apps/web/out/messages/__next._full.txt +27 -0
  25. package/apps/web/out/messages/__next._tree.txt +4 -0
  26. package/apps/web/out/messages/__next.messages.__PAGE__.txt +33 -0
  27. package/apps/web/out/messages/index.html +1 -0
  28. package/apps/web/out/messages/index.txt +27 -0
  29. package/apps/web/out/points/__next._full.txt +27 -0
  30. package/apps/web/out/points/__next._tree.txt +4 -0
  31. package/apps/web/out/points/__next.points.__PAGE__.txt +33 -0
  32. package/apps/web/out/points/index.html +1 -0
  33. package/apps/web/out/points/index.txt +27 -0
  34. package/apps/web/out/settings/__next._full.txt +27 -0
  35. package/apps/web/out/settings/__next._tree.txt +4 -0
  36. package/apps/web/out/settings/__next.settings.__PAGE__.txt +33 -0
  37. package/apps/web/out/settings/index.html +1 -0
  38. package/apps/web/out/settings/index.txt +27 -0
  39. package/examples/gateway.json +37 -37
  40. package/package.json +1 -1
  41. package/packaging/compose.yaml +4 -2
  42. package/apps/web/out/_next/static/chunks/0csls39kpdzgy.js +0 -22
  43. package/apps/web/out/_next/static/chunks/162tvyao0-i49.js +0 -12
  44. package/apps/web/out/_next/static/chunks/29-6f2cs5ih9t.css +0 -1
  45. package/apps/web/out/_next/static/chunks/3oyy-mvhhfmq3.js +0 -31
  46. package/apps/web/out/_not-found.html +0 -1
  47. package/apps/web/out/_not-found.txt +0 -20
  48. /package/apps/web/out/_next/static/{POtpNv-gjWNowyFSmxfAr → r5hL3CDxDJkHMarR92YKm}/_buildManifest.js +0 -0
  49. /package/apps/web/out/_next/static/{POtpNv-gjWNowyFSmxfAr → r5hL3CDxDJkHMarR92YKm}/_clientMiddlewareManifest.js +0 -0
  50. /package/apps/web/out/_next/static/{POtpNv-gjWNowyFSmxfAr → r5hL3CDxDJkHMarR92YKm}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/1-_c1aqhwim5t.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/10i96w66fwhkr.js"/><script src="/_next/static/chunks/2r_w-j--qdreu.js" async=""></script><script src="/_next/static/chunks/146bs6dt3wr47.js" async=""></script><script src="/_next/static/chunks/turbopack-2u1d16houkiyo.js" async=""></script><script src="/_next/static/chunks/3o5cr1y-sws-u.js" async=""></script><script src="/_next/static/chunks/3b0ql-jh_xg_k.js" async=""></script><meta name="robots" content="noindex"/><title>OT Gateway</title><meta name="description" content="The gateway&#x27;s devices, points, messages and settings"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body class="min-h-dvh"><div hidden=""><!--$--><!--/$--></div><main class="mx-auto flex max-w-6xl flex-col gap-6 p-4 sm:p-8"><header class="flex flex-col gap-3"><div class="flex flex-wrap items-baseline justify-between gap-2"><div><h1 class="text-2xl font-semibold tracking-tight">OT Gateway</h1></div></div><nav aria-label="Pages" class="flex gap-1 border-b"><a aria-current="page" class="-mb-px border-b-2 px-3 py-2 text-sm border-foreground font-medium" href="/">Status</a><a class="-mb-px border-b-2 px-3 py-2 text-sm border-transparent text-muted-foreground hover:text-foreground" href="/points/">Points</a><a class="-mb-px border-b-2 px-3 py-2 text-sm border-transparent text-muted-foreground hover:text-foreground" href="/messages/">Messages</a><a class="-mb-px border-b-2 px-3 py-2 text-sm border-transparent text-muted-foreground hover:text-foreground" href="/settings/">Settings</a></nav></header><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/10i96w66fwhkr.js","static/chunks/2r_w-j--qdreu.js","static/chunks/146bs6dt3wr47.js"],"runtimeModuleIds":[88206]});</script><script src="/_next/static/chunks/10i96w66fwhkr.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/3o5cr1y-sws-u.js\"\n3:\"/_next/static/chunks/3b0ql-jh_xg_k.js\"\n4:I[80136,[\"$2\",\"$3\"],\"GatewayShell\"]\n5:I[90140,[\"$2\",\"$3\"],\"default\"]\n6:I[2913,[\"$2\",\"$3\"],\"default\"]\na:I[76863,[\"$2\",\"$3\"],\"OutletBoundary\"]\nb:\"$Sreact.suspense\"\nd:\"ViewportBoundary\"\ne:I[76863,[\"$2\",\"$3\"],\"$d\"]\n10:\"MetadataBoundary\"\n11:I[76863,[\"$2\",\"$3\"],\"$10\"]\n13:I[13617,[\"$2\",\"$3\"],\"default\",1]\n:HL[\"/_next/static/chunks/1-_c1aqhwim5t.css\",\"style\"]\n8:X\n9:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@c\"}]}]]}],\"p\":false,\"v\":null}}]]\n7:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$8\"},\"c\":\"$Q9\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/1-_c1aqhwim5t.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/3o5cr1y-sws-u.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/3b0ql-jh_xg_k.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-dvh\",\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q7\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"$L11\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L12\"}]}],null]}],null]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$13\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/1-_c1aqhwim5t.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"r5hL3CDxDJkHMarR92YKm\"}\n8:C\nf:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nc:null\n12:[[\"$\",\"title\",\"0\",{\"children\":\"OT Gateway\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The gateway's devices, points, messages and settings\"}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/29-6f2cs5ih9t.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/3oyy-mvhhfmq3.js"/><script src="/_next/static/chunks/0csls39kpdzgy.js" async=""></script><script src="/_next/static/chunks/146bs6dt3wr47.js" async=""></script><script src="/_next/static/chunks/turbopack-2u1d16houkiyo.js" async=""></script><script src="/_next/static/chunks/2u6f8n1jmolvz.js" async=""></script><meta name="robots" content="noindex"/><title>OT Gateway</title><meta name="description" content="The gateway&#x27;s devices, values and commands"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body class="min-h-dvh"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/3oyy-mvhhfmq3.js","static/chunks/0csls39kpdzgy.js","static/chunks/146bs6dt3wr47.js"],"runtimeModuleIds":[88206]});</script><script src="/_next/static/chunks/3oyy-mvhhfmq3.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/2u6f8n1jmolvz.js\"\n3:I[90140,[\"$2\"],\"default\"]\n4:I[2913,[\"$2\"],\"default\"]\n8:I[76863,[\"$2\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:\"ViewportBoundary\"\nc:I[76863,[\"$2\"],\"$b\"]\ne:\"MetadataBoundary\"\nf:I[76863,[\"$2\"],\"$e\"]\n11:I[13617,[\"$2\"],\"default\",1]\n:HL[\"/_next/static/chunks/29-6f2cs5ih9t.css\",\"style\"]\n6:X\n7:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],\"p\":false,\"v\":null}}]]\n5:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$6\"},\"c\":\"$Q7\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/29-6f2cs5ih9t.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2u6f8n1jmolvz.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-dvh\",\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q5\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"$Lf\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}],null]}],null]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$11\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/29-6f2cs5ih9t.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"POtpNv-gjWNowyFSmxfAr\"}\n6:C\nd:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\na:null\n10:[[\"$\",\"title\",\"0\",{\"children\":\"OT Gateway\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The gateway's devices, values and commands\"}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/1-_c1aqhwim5t.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/10i96w66fwhkr.js"/><script src="/_next/static/chunks/2r_w-j--qdreu.js" async=""></script><script src="/_next/static/chunks/146bs6dt3wr47.js" async=""></script><script src="/_next/static/chunks/turbopack-2u1d16houkiyo.js" async=""></script><script src="/_next/static/chunks/3o5cr1y-sws-u.js" async=""></script><script src="/_next/static/chunks/3b0ql-jh_xg_k.js" async=""></script><meta name="robots" content="noindex"/><title>OT Gateway</title><meta name="description" content="The gateway&#x27;s devices, points, messages and settings"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body class="min-h-dvh"><div hidden=""><!--$--><!--/$--></div><main class="mx-auto flex max-w-6xl flex-col gap-6 p-4 sm:p-8"><header class="flex flex-col gap-3"><div class="flex flex-wrap items-baseline justify-between gap-2"><div><h1 class="text-2xl font-semibold tracking-tight">OT Gateway</h1></div></div><nav aria-label="Pages" class="flex gap-1 border-b"><a aria-current="page" class="-mb-px border-b-2 px-3 py-2 text-sm border-foreground font-medium" href="/">Status</a><a class="-mb-px border-b-2 px-3 py-2 text-sm border-transparent text-muted-foreground hover:text-foreground" href="/points/">Points</a><a class="-mb-px border-b-2 px-3 py-2 text-sm border-transparent text-muted-foreground hover:text-foreground" href="/messages/">Messages</a><a class="-mb-px border-b-2 px-3 py-2 text-sm border-transparent text-muted-foreground hover:text-foreground" href="/settings/">Settings</a></nav></header><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/10i96w66fwhkr.js","static/chunks/2r_w-j--qdreu.js","static/chunks/146bs6dt3wr47.js"],"runtimeModuleIds":[88206]});</script><script src="/_next/static/chunks/10i96w66fwhkr.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/3o5cr1y-sws-u.js\"\n3:\"/_next/static/chunks/3b0ql-jh_xg_k.js\"\n4:I[80136,[\"$2\",\"$3\"],\"GatewayShell\"]\n5:I[90140,[\"$2\",\"$3\"],\"default\"]\n6:I[2913,[\"$2\",\"$3\"],\"default\"]\na:I[76863,[\"$2\",\"$3\"],\"OutletBoundary\"]\nb:\"$Sreact.suspense\"\nd:\"ViewportBoundary\"\ne:I[76863,[\"$2\",\"$3\"],\"$d\"]\n10:\"MetadataBoundary\"\n11:I[76863,[\"$2\",\"$3\"],\"$10\"]\n13:I[13617,[\"$2\",\"$3\"],\"default\",1]\n:HL[\"/_next/static/chunks/1-_c1aqhwim5t.css\",\"style\"]\n8:X\n9:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@c\"}]}]]}],\"p\":false,\"v\":null}}]]\n7:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$8\"},\"c\":\"$Q9\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/1-_c1aqhwim5t.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/3o5cr1y-sws-u.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/3b0ql-jh_xg_k.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-dvh\",\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q7\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"$L11\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L12\"}]}],null]}],null]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$13\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/1-_c1aqhwim5t.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"r5hL3CDxDJkHMarR92YKm\"}\n8:C\nf:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nc:null\n12:[[\"$\",\"title\",\"0\",{\"children\":\"OT Gateway\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The gateway's devices, points, messages and settings\"}]]\n"])</script></body></html>
@@ -1,27 +1,29 @@
1
1
  1:"$Sreact.fragment"
2
- 2:"/_next/static/chunks/2u6f8n1jmolvz.js"
3
- 3:I[90140,["$2"],"default"]
4
- 4:I[2913,["$2"],"default"]
5
- 8:I[37313,["$2"],"ClientPageRoot"]
6
- 9:"/_next/static/chunks/162tvyao0-i49.js"
7
- a:I[39798,["$2","$9"],"default"]
8
- d:I[76863,["$2"],"OutletBoundary"]
9
- e:"$Sreact.suspense"
10
- 11:"ViewportBoundary"
11
- 12:I[76863,["$2"],"$11"]
12
- 13:"MetadataBoundary"
13
- 14:I[76863,["$2"],"$13"]
14
- :HL["/_next/static/chunks/29-6f2cs5ih9t.css","style"]
15
- 6:X
16
- 7:[["children",{"s":"__PAGE__","h":160,"d":{"r":["$","$1","c",{"children":[["$","$L8",null,{"Component":"$a","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@b","$@c"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/162tvyao0-i49.js","async":true}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],"p":"$@10","v":null,"s":"$6"}}]]
17
- 0:{"t":{"t":{"s":"","h":80,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/29-6f2cs5ih9t.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2u6f8n1jmolvz.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"min-h-dvh","children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"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."}]}]]}]}]],[]]}]}]}]]}],"p":"$@5","v":null,"s":"$6"},"c":"$Q7"},"h":{"r":["$","$1","h",{"children":[null,["$","$L12",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","$L14",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$e",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"OT Gateway"}],["$","meta","1",{"name":"description","content":"The gateway's devices, values and commands"}]]}]}],null]}],null]}],"p":"$@15","v":null,"s":"$6"}},"a":"$@16","u":"$@17","b":"POtpNv-gjWNowyFSmxfAr"}
18
- b:{}
19
- c:"$7:0:1:d:r:props:children:0:props:serverProvidedParams:params"
20
- f:null
21
- 6:300
22
- 17:true
23
- 6:C
24
- 16:0
25
- 5:"$undefined"
26
- 15:"$undefined"
27
- 10:"$undefined"
2
+ 2:"/_next/static/chunks/3o5cr1y-sws-u.js"
3
+ 3:"/_next/static/chunks/3b0ql-jh_xg_k.js"
4
+ 4:I[80136,["$2","$3"],"GatewayShell"]
5
+ 5:I[90140,["$2","$3"],"default"]
6
+ 6:I[2913,["$2","$3"],"default"]
7
+ a:I[37313,["$2","$3"],"ClientPageRoot"]
8
+ b:"/_next/static/chunks/25dqruymh00rk.js"
9
+ c:I[39798,["$2","$3","$b"],"default"]
10
+ f:I[76863,["$2","$3"],"OutletBoundary"]
11
+ 10:"$Sreact.suspense"
12
+ 13:"ViewportBoundary"
13
+ 14:I[76863,["$2","$3"],"$13"]
14
+ 15:"MetadataBoundary"
15
+ 16:I[76863,["$2","$3"],"$15"]
16
+ :HL["/_next/static/chunks/1-_c1aqhwim5t.css","style"]
17
+ 8:X
18
+ 9:[["children",{"s":"__PAGE__","h":160,"d":{"r":["$","$1","c",{"children":[["$","$La",null,{"Component":"$c","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@d","$@e"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/25dqruymh00rk.js","async":true}]],["$","$Lf",null,{"children":["$","$10",null,{"name":"Next.MetadataOutlet","children":"$@11"}]}]]}],"p":"$@12","v":null,"s":"$8"}}]]
19
+ 0:{"t":{"t":{"s":"","h":80,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/1-_c1aqhwim5t.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/3o5cr1y-sws-u.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/3b0ql-jh_xg_k.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"min-h-dvh","children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","template":["$","$L6",null,{}],"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."}]}]]}]}]],[]]}]}]}]}]]}],"p":"$@7","v":null,"s":"$8"},"c":"$Q9"},"h":{"r":["$","$1","h",{"children":[null,["$","$L14",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","$L16",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$10",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"OT Gateway"}],["$","meta","1",{"name":"description","content":"The gateway's devices, points, messages and settings"}]]}]}],null]}],null]}],"p":"$@17","v":null,"s":"$8"}},"a":"$@18","u":"$@19","b":"r5hL3CDxDJkHMarR92YKm"}
20
+ d:{}
21
+ e:"$9:0:1:d:r:props:children:0:props:serverProvidedParams:params"
22
+ 11:null
23
+ 8:300
24
+ 19:true
25
+ 8:C
26
+ 18:0
27
+ 7:"$undefined"
28
+ 17:"$undefined"
29
+ 12:"$undefined"
@@ -1,22 +1,24 @@
1
1
  1:"$Sreact.fragment"
2
- 2:"/_next/static/chunks/2u6f8n1jmolvz.js"
3
- 3:I[90140,["$2"],"default"]
4
- 4:I[2913,["$2"],"default"]
5
- 6:I[37313,["$2"],"ClientPageRoot"]
6
- 7:"/_next/static/chunks/162tvyao0-i49.js"
7
- 8:I[39798,["$2","$7"],"default"]
8
- b:I[76863,["$2"],"OutletBoundary"]
9
- c:"$Sreact.suspense"
10
- e:"ViewportBoundary"
11
- f:I[76863,["$2"],"$e"]
12
- 11:"MetadataBoundary"
13
- 12:I[76863,["$2"],"$11"]
14
- 14:I[13617,["$2"],"default",1]
15
- :HL["/_next/static/chunks/29-6f2cs5ih9t.css","style"]
16
- 5:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[["$","$L6",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/162tvyao0-i49.js","async":true,"nonce":"$undefined"}]],["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],"p":false,"v":null}}]]
17
- 0:{"P":null,"c":["",""],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/29-6f2cs5ih9t.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2u6f8n1jmolvz.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"min-h-dvh","children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],"p":false,"v":null},"c":"$Q5"},"h":{"r":["$","$1","h",{"children":[null,["$","$Lf",null,{"children":"$L10"}],["$","$L12",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$c",null,{"name":"Next.Metadata","children":"$L13"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$14",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/29-6f2cs5ih9t.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"POtpNv-gjWNowyFSmxfAr"}
18
- 9:{}
19
- a:"$5:0:1:d:r:props:children:0:props:serverProvidedParams:params"
20
- 10:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
21
- d:null
22
- 13:[["$","title","0",{"children":"OT Gateway"}],["$","meta","1",{"name":"description","content":"The gateway's devices, values and commands"}]]
2
+ 2:"/_next/static/chunks/3o5cr1y-sws-u.js"
3
+ 3:"/_next/static/chunks/3b0ql-jh_xg_k.js"
4
+ 4:I[80136,["$2","$3"],"GatewayShell"]
5
+ 5:I[90140,["$2","$3"],"default"]
6
+ 6:I[2913,["$2","$3"],"default"]
7
+ 8:I[37313,["$2","$3"],"ClientPageRoot"]
8
+ 9:"/_next/static/chunks/25dqruymh00rk.js"
9
+ a:I[39798,["$2","$3","$9"],"default"]
10
+ d:I[76863,["$2","$3"],"OutletBoundary"]
11
+ e:"$Sreact.suspense"
12
+ 10:"ViewportBoundary"
13
+ 11:I[76863,["$2","$3"],"$10"]
14
+ 13:"MetadataBoundary"
15
+ 14:I[76863,["$2","$3"],"$13"]
16
+ 16:I[13617,["$2","$3"],"default",1]
17
+ :HL["/_next/static/chunks/1-_c1aqhwim5t.css","style"]
18
+ 7:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[["$","$L8",null,{"Component":"$a","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@b","$@c"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/25dqruymh00rk.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],"p":false,"v":null}}]]
19
+ 0:{"P":null,"c":["",""],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/1-_c1aqhwim5t.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/3o5cr1y-sws-u.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3b0ql-jh_xg_k.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"min-h-dvh","children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],"p":false,"v":null},"c":"$Q7"},"h":{"r":["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","$L14",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$e",null,{"name":"Next.Metadata","children":"$L15"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$16",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/1-_c1aqhwim5t.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"r5hL3CDxDJkHMarR92YKm"}
20
+ b:{}
21
+ c:"$7:0:1:d:r:props:children:0:props:serverProvidedParams:params"
22
+ 12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
23
+ f:null
24
+ 15:[["$","title","0",{"children":"OT Gateway"}],["$","meta","1",{"name":"description","content":"The gateway's devices, points, messages and settings"}]]
@@ -1,3 +1,3 @@
1
- :HL["/_next/static/chunks/29-6f2cs5ih9t.css","style"]
1
+ :HL["/_next/static/chunks/1-_c1aqhwim5t.css","style"]
2
2
  1:[["children",{"s":"__PAGE__","h":160}]]
3
- 0:{"b":"POtpNv-gjWNowyFSmxfAr","t":{"t":{"s":"","h":80,"c":"$Q1"}}}
3
+ 0:{"b":"r5hL3CDxDJkHMarR92YKm","t":{"t":{"s":"","h":80,"c":"$Q1"}}}
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82341,e=>{"use strict";var t=e.i(94115),s=e.i(20367),a=e.i(64036),r=e.i(29164);let i={gateway:"Gateway",mqtt:"Broker",buffer:"Buffer",history:"History",status:"Status page",bacnet:"BACnet/IP"},n=e=>i[e]??l(e),d={site:"Site",building:"Building",id:"Gateway id",healthIntervalMs:"Health message every",url:"Broker",clientId:"Client id",username:"User name",passwordEnv:"Password from variable",version:"MQTT version",path:"File",maxRows:"Holds up to",retentionDays:"Keeps",bindAddress:"Listens on",port:"Port",webRoot:"Web files",broadcastAddress:"Broadcasts to",bbmdAddress:"BBMD",requestTimeoutMs:"Reply timeout",retries:"Retries",covLifetimeSeconds:"Subscriptions renewed every",host:"Address",unitId:"Unit id",pollIntervalMs:"Read every",cycleTimeoutMs:"Give up a read after",publish:"Publishes",requestGapMs:"Pause between requests",maxRegistersPerRead:"Registers per request",maxBitsPerRead:"Bits per request",deviceInstance:"Device instance",address:"Address",cov:"Change notifications (COV)"},l=e=>{let t=e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)},o=e=>d[e]??l(e),c=e=>{if(e<1e3)return`${e} ms`;let t=e/1e3;return t<60?`${Number(t.toFixed(1))} s`:t<3600?`${Number((t/60).toFixed(1))} min`:`${Number((t/3600).toFixed(1))} h`},m=new Set(["port","unitId","deviceInstance"]),u=(e,t)=>null===t?"–":"boolean"==typeof t?t?"yes":"no":"number"==typeof t?e.endsWith("Ms")?c(t):e.endsWith("Seconds")?c(1e3*t):"retentionDays"===e?`${t} ${1===t?"day":"days"} per minute`:"maxRows"===e?`${t.toLocaleString("en-US")} messages`:m.has(e)?String(t):t.toLocaleString("en-US"):"string"==typeof t?"version"===e&&"auto"===t?"5, or 3.1.1 if the broker needs it":t:Array.isArray(t)?t.map(t=>u(e,t)).join(", "):"object"!=typeof t||null===t||Array.isArray(t)?String(t):Object.entries(t).map(([e,t])=>`${l(e).toLowerCase()} ${u(e,t)}`).join(" · "),h=(e,t)=>{let s=e=>{let s=t.find(t=>t.key===e)?.value;return"string"==typeof s||"number"==typeof s?String(s):void 0};if("modbus-tcp"===e)return`${s("host")??"?"}:${s("port")??"502"} \xb7 unit ${s("unitId")??"?"}`;if("bacnet-ip"===e){let e=s("address");return`device ${s("deviceInstance")??"?"}${void 0===e?", found by broadcast":` at ${e}`}`}return"simulator"===e?"on this gateway":""},x=new Set(["host","port","unitId","deviceInstance","address","pollIntervalMs"]);var p=e.i(89486);let f=[["buffer","Off: values read while the broker is away are lost."],["history","Off: the point panel shows no history."]];e.s(["default",0,()=>{let e=(()=>{let[e,t]=(0,s.useState)({_tag:"loading"});return(0,s.useEffect)(()=>{let e,s=!1,a=()=>(0,p.I)(p.q).then(r=>{if(!s){if("Success"===r._tag)return t({_tag:"ok",config:r.success});t({_tag:"failed",message:r.failure.message}),e=setTimeout(()=>void a(),5e3)}});return a(),()=>{s=!0,void 0!==e&&clearTimeout(e)}},[]),e})();if("ok"!==e._tag)return(0,t.jsx)("p",{className:"text-muted-foreground",children:"failed"===e._tag?`The gateway does not answer: ${e.message}`:"Loading…"});let{sections:i,devices:d}=e.config,l=new Set(i.map(e=>e.key));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"max-w-3xl text-sm text-muted-foreground",children:["The settings the gateway runs with, read-only. To change one, edit the config file (",(0,t.jsx)("code",{className:"font-mono",children:"ot-gateway.json"}),"), check it with"," ",(0,t.jsx)("code",{className:"font-mono",children:"ot-gateway check ot-gateway.json"})," and restart the gateway."]}),(0,t.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[i.map(e=>(0,t.jsxs)(a.N,{children:[(0,t.jsx)(a.Y,{children:(0,t.jsx)(a.v,{children:n(e.key)})}),(0,t.jsx)(a.O,{children:(0,t.jsx)("dl",{className:"grid grid-cols-[auto_minmax(0,1fr)] gap-x-6 gap-y-2 text-sm",children:e.entries.map(e=>(0,t.jsxs)("div",{className:"contents",children:[(0,t.jsx)("dt",{className:"text-muted-foreground",title:e.key,children:o(e.key)}),(0,t.jsx)("dd",{className:"min-w-0 text-right break-words",children:u(e.key,e.value)})]},e.key))})})]},e.key)),f.filter(([e])=>!l.has(e)).map(([e,s])=>(0,t.jsxs)(a.N,{children:[(0,t.jsx)(a.Y,{children:(0,t.jsx)(a.v,{children:n(e)})}),(0,t.jsx)(a.O,{children:(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:s})})]},e))]}),(0,t.jsxs)(a.N,{className:"gap-0 py-0",children:[(0,t.jsx)("div",{className:"border-b px-5 py-4",children:(0,t.jsx)("h2",{className:"leading-none font-semibold",children:"Devices"})}),0===d.length?(0,t.jsx)("p",{className:"p-5 text-sm text-muted-foreground",children:"The config has no devices."}):(0,t.jsxs)(r.s,{children:[(0,t.jsx)(r.E,{children:(0,t.jsxs)(r.N,{className:"hover:bg-transparent",children:[(0,t.jsx)(r.U,{className:"pl-5",children:"Device"}),(0,t.jsx)(r.U,{className:"hidden sm:table-cell",children:"Address"}),(0,t.jsx)(r.U,{className:"text-right",children:"Read every"}),(0,t.jsx)(r.U,{className:"text-right",children:"Points"}),(0,t.jsx)(r.U,{className:"hidden pr-5 lg:table-cell",children:"Other settings"})]})}),(0,t.jsx)(r.z,{children:d.map(e=>{let s=e.entries.find(e=>"pollIntervalMs"===e.key)?.value,a=e.entries.filter(e=>!x.has(e.key)).map(e=>`${o(e.key)}: ${u(e.key,e.value)}`).join(" · ");return(0,t.jsxs)(r.N,{children:[(0,t.jsxs)(r.d,{className:"max-w-56 pl-5",children:[(0,t.jsx)("p",{className:"truncate font-mono",children:e.id}),(0,t.jsxs)("p",{className:"truncate text-xs text-muted-foreground",children:[p.T[e.protocol]??e.protocol,(0,t.jsxs)("span",{className:"sm:hidden",children:[" · ",h(e.protocol,e.entries)]})]})]}),(0,t.jsx)(r.d,{className:"hidden font-mono text-xs sm:table-cell",children:h(e.protocol,e.entries)}),(0,t.jsx)(r.d,{className:"text-right tabular-nums",children:"number"==typeof s?c(s):"–"}),(0,t.jsx)(r.d,{className:"text-right tabular-nums",children:e.pointCount.toLocaleString()}),(0,t.jsx)(r.d,{className:"hidden max-w-md truncate pr-5 text-xs text-muted-foreground lg:table-cell",title:a,children:a})]},e.id)})})]})]})]})}],82341)},64036,e=>{"use strict";var t=e.i(94115),s=e.i(52088);e.s(["N",0,({className:e,...a})=>(0,t.jsx)("div",{"data-slot":"card",className:(0,s.f)("flex flex-col gap-4 rounded-xl border bg-card py-5 text-card-foreground shadow-sm",e),...a}),"O",0,({className:e,...a})=>(0,t.jsx)("div",{"data-slot":"card-content",className:(0,s.f)("px-5",e),...a}),"u",0,({className:e,...a})=>(0,t.jsx)("div",{"data-slot":"card-description",className:(0,s.f)("text-sm text-muted-foreground",e),...a}),"Y",0,({className:e,...a})=>(0,t.jsx)("div",{"data-slot":"card-header",className:(0,s.f)("grid auto-rows-min items-start gap-1.5 px-5",e),...a}),"v",0,({className:e,...a})=>(0,t.jsx)("div",{"data-slot":"card-title",className:(0,s.f)("leading-none font-semibold",e),...a})])},29164,e=>{"use strict";var t=e.i(94115),s=e.i(52088);e.s(["s",0,({className:e,containerClassName:a="overflow-x-auto",...r})=>(0,t.jsx)("div",{"data-slot":"table-container",className:(0,s.f)("relative w-full",a),children:(0,t.jsx)("table",{"data-slot":"table",className:(0,s.f)("w-full caption-bottom text-sm",e),...r})}),"z",0,({className:e,...a})=>(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,s.f)("[&_tr:last-child]:border-0",e),...a}),"d",0,({className:e,...a})=>(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,s.f)("p-2 align-middle whitespace-nowrap",e),...a}),"U",0,({className:e,...a})=>(0,t.jsx)("th",{"data-slot":"table-head",className:(0,s.f)("h-9 px-2 text-left align-middle font-medium whitespace-nowrap text-muted-foreground",e),...a}),"E",0,({className:e,...a})=>(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,s.f)("[&_tr]:border-b",e),...a}),"N",0,({className:e,...a})=>(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,s.f)("border-b transition-colors hover:bg-muted/50",e),...a})])}]);
@@ -0,0 +1 @@
1
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-amber-300:#ffd236;--color-amber-400:#fcbb00;--color-amber-500:#f99c00;--color-amber-600:#dd7400;--color-amber-700:#b75000;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-3xl:48rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}@supports (color:lab(0% 0 0)){:root,:host{--color-amber-300:lab(86.4156% 6.13147 78.3961);--color-amber-400:lab(80.1641% 16.6016 99.2089);--color-amber-500:lab(72.7183% 31.8672 97.9407);--color-amber-600:lab(60.3514% 40.5624 87.1228);--color-amber-700:lab(47.2709% 42.9082 69.2966)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}html{scrollbar-gutter:stable}body{background-color:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-0{top:0}.top-1\/2{top:50%}.top-\[calc\(100\%\+4px\)\]{top:calc(100% + 4px)}.right-0{right:0}.right-1\.5{right:calc(var(--spacing) * 1.5)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-auto{margin:auto}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-auto{margin-inline:auto}.my-0{margin-block:0}.ms-auto{margin-inline-start:auto}.me-0{margin-inline-end:0}.mt-1{margin-top:var(--spacing)}.mr-1{margin-right:var(--spacing)}.-mb-px{margin-bottom:-1px}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.table-cell{display:table-cell}.table-row{display:table-row}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-14{height:calc(var(--spacing) * 14)}.h-\[150px\]{height:150px}.h-dvh{height:100dvh}.max-h-\[85dvh\]{max-height:85dvh}.max-h-\[min\(18rem\,50dvh\)\]{max-height:min(18rem,50dvh)}.max-h-dvh{max-height:100dvh}.min-h-dvh{min-height:100dvh}.w-\[min\(20rem\,calc\(100vw-2rem\)\)\]{width:min(20rem,100vw - 2rem)}.w-\[min\(34rem\,calc\(100vw-2rem\)\)\]{width:min(34rem,100vw - 2rem)}.w-\[min\(36rem\,100vw\)\]{width:min(36rem,100vw)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:var(--container-3xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-40{max-width:calc(var(--spacing) * 40)}.max-w-48{max-width:calc(var(--spacing) * 48)}.max-w-52{max-width:calc(var(--spacing) * 52)}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.basis-64{flex-basis:calc(var(--spacing) * 64)}.caption-bottom{caption-side:bottom}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.grid-cols-\[auto_minmax\(0\,1fr\)\]{grid-template-columns:auto minmax(0,1fr)}.grid-cols-\[max-content_1fr\]{grid-template-columns:max-content 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-clip{overflow:clip}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-amber-500\/40{border-color:#f99c0066}@supports (color:color-mix(in lab, red, red)){.border-amber-500\/40{border-color:color-mix(in oklab, var(--color-amber-500) 40%, transparent)}}.border-foreground{border-color:var(--foreground)}.border-transparent{border-color:#0000}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\/10{background-color:color-mix(in oklab, var(--color-amber-500) 10%, transparent)}}.bg-background{background-color:var(--background)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-muted{background-color:var(--muted)}.bg-muted-foreground\/40{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.bg-muted-foreground\/40{background-color:color-mix(in oklab, var(--muted-foreground) 40%, transparent)}}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-success{background-color:var(--success)}.bg-transparent{background-color:#0000}.bg-warning{background-color:var(--warning)}.fill-muted-foreground{fill:var(--muted-foreground)}.p-0{padding:0}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.px-0{padding-inline:0}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0{padding-block:0}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-5{padding-right:calc(var(--spacing) * 5)}.pr-20{padding-right:calc(var(--spacing) * 20)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[11px\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-black{color:var(--color-black)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-muted-foreground{color:var(--muted-foreground)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:is(:where(.group):has(:is(button:focus-visible)) .group-has-\[button\:focus-visible\]\:opacity-100),:is(:where(.group):has(:is(button:hover)) .group-has-\[button\:hover\]\:opacity-100){opacity:1}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-0:after{content:var(--tw-content);inset:0}.after\:rounded-xl:after{content:var(--tw-content);border-radius:calc(var(--radius) + 4px)}@media (hover:hover){.hover\:bg-muted:hover,.hover\:bg-muted\/50:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.hover\:bg-transparent:hover{background-color:#0000}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:underline:hover{text-decoration-line:underline}}.focus-visible\:bg-muted\/50:focus-visible{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:bg-muted\/50:focus-visible{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.focus-visible\:after\:ring-2:focus-visible:after{content:var(--tw-content);--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:after\:ring-ring:focus-visible:after{content:var(--tw-content);--tw-ring-color:var(--ring)}.disabled\:opacity-40:disabled{opacity:.4}.has-\[button\:hover\]\:bg-muted\/40:has(:is(button:hover)){background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.has-\[button\:hover\]\:bg-muted\/40:has(:is(button:hover)){background-color:color-mix(in oklab, var(--muted) 40%, transparent)}}.aria-selected\:bg-muted[aria-selected=true]{background-color:var(--muted)}@media (prefers-reduced-motion:no-preference){.motion-safe\:animate-\[popover-in_120ms_ease-out\]{animation:.12s ease-out popover-in}.motion-safe\:animate-\[value-changed_1\.2s_ease-out\]{animation:1.2s ease-out value-changed}.motion-safe\:animate-pulse{animation:var(--animate-pulse)}}@media (min-width:40rem){.sm\:block{display:block}.sm\:hidden{display:none}.sm\:table-cell{display:table-cell}.sm\:w-56{width:calc(var(--spacing) * 56)}.sm\:max-w-72{max-width:calc(var(--spacing) * 72)}.sm\:max-w-96{max-width:calc(var(--spacing) * 96)}.sm\:max-w-md{max-width:var(--container-md)}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-\[minmax\(0\,1fr\)_auto_auto_auto\]{grid-template-columns:minmax(0,1fr) auto auto auto}.sm\:p-8{padding:calc(var(--spacing) * 8)}}@media (min-width:48rem){.md\:hidden{display:none}.md\:table-cell{display:table-cell}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:64rem){.lg\:table-cell{display:table-cell}}@media (prefers-color-scheme:dark){.dark\:text-amber-300{color:var(--color-amber-300)}.dark\:text-amber-400{color:var(--color-amber-400)}}.\[\&_th\]\:bg-card th{background-color:var(--card)}.\[\&_th\]\:shadow-\[inset_0_-1px_0_var\(--border\)\] th{--tw-shadow:inset 0 -1px 0 var(--tw-shadow-color,var(--border));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.\[\&_tr\]\:border-0 tr{border-style:var(--tw-border-style);border-width:0}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:\:-webkit-search-cancel-button\]\:appearance-none::-webkit-search-cancel-button{appearance:none}}:root{--radius:.625rem;--series-1:#1570d1;--background:#fff;--foreground:#0a0a0a;--card:#fff;--card-foreground:#0a0a0a;--primary:#171717;--primary-foreground:#fafafa;--secondary:#f5f5f5;--secondary-foreground:#171717;--muted:#f5f5f5;--muted-foreground:#737373;--accent:#f5f5f5;--accent-foreground:#171717;--destructive:#e40014;--border:#e5e5e5;--input:#e5e5e5;--ring:#a1a1a1;--success:#16a34a;--warning:#f59e09}@supports (color:lab(0% 0 0)){:root{--series-1:lab(46.5096% 3.719 -58.3523);--background:lab(100% 0 0);--foreground:lab(2.75381% 0 0);--card:lab(100% 0 0);--card-foreground:lab(2.75381% 0 0);--primary:lab(7.78201% -.0000149012 0);--primary-foreground:lab(98.26% 0 0);--secondary:lab(96.52% -.0000298023 .0000119209);--secondary-foreground:lab(7.78201% -.0000149012 0);--muted:lab(96.52% -.0000298023 .0000119209);--muted-foreground:lab(48.496% 0 0);--accent:lab(96.52% -.0000298023 .0000119209);--accent-foreground:lab(7.78201% -.0000149012 0);--destructive:lab(48.4493% 77.4328 61.5452);--border:lab(90.952% 0 -.0000119209);--input:lab(90.952% 0 -.0000119209);--ring:lab(66.128% -.0000298023 .0000119209);--success:lab(58.8297% -51.0984 35.4666);--warning:lab(72.8381% 26.9833 75.6768)}}@media (prefers-color-scheme:dark){:root{--background:#0a0a0a;--foreground:#fafafa;--card:#171717;--card-foreground:#fafafa;--primary:#e5e5e5;--primary-foreground:#171717;--secondary:#262626;--secondary-foreground:#fafafa;--muted:#262626;--muted-foreground:#a1a1a1;--accent:#262626;--accent-foreground:#fafafa;--destructive:#ff6568;--border:#ffffff1a;--input:#ffffff26;--ring:#737373;--success:#26c55f;--warning:#ffb747;--series-1:#59aaf8}@supports (color:lab(0% 0 0)){:root{--background:lab(2.75381% 0 0);--foreground:lab(98.26% 0 0);--card:lab(7.78201% -.0000149012 0);--card-foreground:lab(98.26% 0 0);--primary:lab(90.952% 0 -.0000119209);--primary-foreground:lab(7.78201% -.0000149012 0);--secondary:lab(15.204% 0 -.00000596046);--secondary-foreground:lab(98.26% 0 0);--muted:lab(15.204% 0 -.00000596046);--muted-foreground:lab(66.128% -.0000298023 .0000119209);--accent:lab(15.204% 0 -.00000596046);--accent-foreground:lab(98.26% 0 0);--destructive:lab(63.7053% 60.745 31.3109);--border:lab(100% 0 0/.1);--input:lab(100% 0 0/.15);--ring:lab(48.496% 0 0);--success:lab(70.2258% -57.3672 38.9478);--warning:lab(79.8378% 23.7633 78.4252);--series-1:lab(66.978% -7.00608 -47.4265)}}}@keyframes value-changed{0%{background-color:color-mix(in oklch, var(--success) 35%, transparent)}to{background-color:#0000}}::view-transition-group(*){animation-duration:.28s;animation-timing-function:cubic-bezier(.2,0,0,1)}::view-transition-old(root){animation:.2s both vt-fade-out}::view-transition-new(root){animation:.2s both vt-fade-in}::view-transition-new(point-sheet){animation:.28s cubic-bezier(.2,0,0,1) both sheet-in}::view-transition-old(point-sheet){animation:.2s cubic-bezier(.4,0,1,1) both sheet-out}@keyframes vt-fade-out{to{opacity:0}}@keyframes vt-fade-in{0%{opacity:0}}@keyframes sheet-in{0%{transform:translate(100%)}}@keyframes sheet-out{to{transform:translate(100%)}}dialog.point-sheet::backdrop{background:#00000059;background:lab(0% 0 0/.35)}@media (prefers-reduced-motion:no-preference){dialog.point-sheet[open]:not(.morphing){animation:.24s cubic-bezier(.2,0,0,1) sheet-in}dialog.point-sheet[open]::backdrop{animation:.24s ease-out backdrop-in}}::view-transition-group(detail){border-radius:.75rem;animation-duration:.26s;overflow:clip}::view-transition-old(detail){object-fit:none;object-position:left top;width:100%;height:100%}::view-transition-new(detail){object-fit:none;object-position:left top;width:100%;height:100%}dialog.detail-dialog::backdrop{background:#00000059;background:lab(0% 0 0/.35)}@media (prefers-color-scheme:dark){dialog.detail-dialog::backdrop{background:#0009;background:lab(0% 0 0/.6)}}@media (prefers-reduced-motion:no-preference){dialog.detail-dialog[open]:not(.morphing){animation:.18s cubic-bezier(.2,0,0,1) detail-in}dialog.detail-dialog[open]::backdrop{animation:.24s ease-out backdrop-in}}@keyframes detail-in{0%{opacity:0;transform:scale(.97)}}@keyframes backdrop-in{0%{opacity:0}}@keyframes popover-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}}
@@ -0,0 +1,31 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36437,(e,t,r)=>{"use strict";r._=function(e){return e&&e.__esModule?e:{default:e}}},25223,(e,t,r)=>{"use strict";var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(77088)},69889,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={WarningIcon:function(){return l},errorStyles:function(){return i},errorThemeCss:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(36437);let u=e.r(94115);e.r(20367);let i={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},a=`
2
+ :root {
3
+ --next-error-bg: #fff;
4
+ --next-error-text: #171717;
5
+ --next-error-title: #171717;
6
+ --next-error-message: #171717;
7
+ --next-error-digest: #666666;
8
+ --next-error-btn-text: #fff;
9
+ --next-error-btn-bg: #171717;
10
+ --next-error-btn-border: none;
11
+ --next-error-btn-secondary-text: #171717;
12
+ --next-error-btn-secondary-bg: transparent;
13
+ --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);
14
+ }
15
+ @media (prefers-color-scheme: dark) {
16
+ :root {
17
+ --next-error-bg: #0a0a0a;
18
+ --next-error-text: #ededed;
19
+ --next-error-title: #ededed;
20
+ --next-error-message: #ededed;
21
+ --next-error-digest: #a0a0a0;
22
+ --next-error-btn-text: #0a0a0a;
23
+ --next-error-btn-bg: #ededed;
24
+ --next-error-btn-border: none;
25
+ --next-error-btn-secondary-text: #ededed;
26
+ --next-error-btn-secondary-bg: transparent;
27
+ --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);
28
+ }
29
+ }
30
+ body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }
31
+ `.replace(/\n\s*/g,"");function l(){return(0,u.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:i.icon,children:(0,u.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},13617,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}}),e.r(36437);let n=e.r(94115);e.r(20367);let o=e.r(80998),u=e.r(69889),i=function({error:e}){let t=e?.digest,r=!!t;return(0,o.handleISRError)({error:e}),(0,n.jsxs)("html",{id:"__next_error__",children:[(0,n.jsx)("head",{children:(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:u.errorThemeCss}})}),(0,n.jsxs)("body",{children:[(0,n.jsx)("div",{style:u.errorStyles.container,children:(0,n.jsxs)("div",{style:u.errorStyles.card,children:[(0,n.jsx)(u.WarningIcon,{}),(0,n.jsx)("h1",{style:u.errorStyles.title,children:"This page couldn’t load"}),(0,n.jsx)("p",{style:u.errorStyles.message,children:r?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,n.jsxs)("div",{style:u.errorStyles.buttonGroup,children:[(0,n.jsx)("form",{style:u.errorStyles.form,children:(0,n.jsx)("button",{type:"submit",style:u.errorStyles.button,children:"Reload"})}),!r&&(0,n.jsx)("button",{type:"button",style:u.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),t&&(0,n.jsxs)("p",{style:u.errorStyles.digestFooter,children:["ERROR ",t]})]})]})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},91875,(e,t,r)=>{"use strict";e.i(25223),Object.defineProperty(r,"__esModule",{value:!0});var n={ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return y}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(56421),i=e.r(94115),a=u._(e.r(20367)),l=e.r(93490),s=e.r(75728);e.r(16876);let c=e.r(80998),f=e.r(51097),d=e.r(6400),p="u">typeof window&&(0,f.isBot)(window.navigator.userAgent);class y extends a.default.Component{static{this.contextType=d.AppRouterContext}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.retry=()=>{(0,a.startTransition)(()=>{this.context?.refresh(),this.reset()})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(e){if((0,s.isNextRouterError)(e))throw e;return{error:{thrownValue:e}}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){if(this.state.error&&!p){let e=this.state.error.thrownValue;return(0,c.handleISRError)({error:e}),(0,i.jsxs)(i.Fragment,{children:[this.props.errorStyles,this.props.errorScripts,(0,i.jsx)(this.props.errorComponent,{error:e,reset:this.reset,retry:this.retry})]})}return this.props.children}}function h({errorComponent:e,errorStyles:t,errorScripts:r,children:n}){let o=(0,l.useUntrackedPathname)();return e?(0,i.jsx)(y,{pathname:o,errorComponent:e,errorStyles:t,errorScripts:r,children:n}):(0,i.jsx)(i.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},80998,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleISRError",{enumerable:!0,get:function(){return o}});let n=e.r(67077);function o({error:e}){if(!n.workUnitAsyncStorage)return;let t=n.workUnitAsyncStorage.getStore();switch(t?.type){case"prerender":case"prerender-client":case"prerender-legacy":throw e&&console.error(e),e;case"request":case"prerender-runtime":case"validation-client":case"cache":case"private-cache":case"unstable-cache":case"build-time-generator":case void 0:return}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},16876,(e,t,r)=>{"use strict";e.i(25223),Object.defineProperty(r,"__esModule",{value:!0});var n={handleHardNavError:function(){return i},useNavFailureHandler:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(20367);let u=e.r(3617);function i(e){return"u">typeof window&&!!window.next.__pendingUrl&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==(0,u.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function a(){}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},93490,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useUntrackedPathname",{enumerable:!0,get:function(){return i}});let n=e.r(20367),o=e.r(72462),u=e.r(67077);function i(){return!function(){if("u"<typeof window){let e=u.workUnitAsyncStorage.getStore();if(!e)return!1;switch(e.type){case"prerender":case"prerender-client":case"validation-client":let t=e.fallbackRouteParams;return!!t&&t.size>0}}return!1}()?(0,n.useContext)(o.PathnameContext):null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},1972,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RedirectBoundary:function(){return p},RedirectErrorBoundary:function(){return d}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(56421),i=e.r(94115),a=u._(e.r(20367)),l=e.r(11077),s=e.r(43959),c=e.r(75504);function f({redirect:e,reset:t,redirectType:r}){let n=(0,l.useRouter)();return(0,a.useEffect)(()=>{a.default.startTransition(()=>{"push"===r?n.push(e,{}):n.replace(e,{}),t()})},[e,r,t,n]),null}class d extends a.default.Component{constructor(e){super(e),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(e){if((0,c.isRedirectError)(e)){let t=(0,s.getURLFromRedirectError)(e),r=(0,s.getRedirectTypeFromError)(e);return"handled"in e?{redirect:null,redirectType:null}:{redirect:t,redirectType:r}}throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,i.jsx)(f,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}}function p({children:e}){let t=(0,l.useRouter)();return(0,i.jsx)(d,{router:t,children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56215,(e,t,r)=>{"use strict";function n(e){return Array.isArray(e)?`${e[0]}|${e[1]}|${e[2]}`:e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRouterCacheKey",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},69596,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createHeadKey:function(){return i},createSegmentKey:function(){return u.createRouterCacheKey}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(56215);function i(e){let t=[e.value],r=e.parent;for(;null!==r;){let e=r.value;"string"==typeof e&&t.push(e),r=r.parent}return JSON.stringify(t)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},67077,(e,t,r)=>{"use strict";let n,o,u;Object.defineProperty(r,"__esModule",{value:!0});var i={actionAsyncStorage:function(){return n},workAsyncStorage:function(){return o},workUnitAsyncStorage:function(){return u}};for(var a in i)Object.defineProperty(r,a,{enumerable:!0,get:i[a]});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99948,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77088,(e,t,r)=>{var n={156:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var l=[],s=!1,c=-1;function f(){s&&n&&(s=!1,n.length?l=n.concat(l):c=-1,l.length&&d())}function d(){if(!s){var e=a(f);s=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,s=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||s||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},o={};function u(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},i=!0;try{n[e](r,r.exports,u),i=!1}finally{i&&delete o[e]}return r.exports}u.ab="/ROOT/node_modules/.pnpm/next@16.4.4_@types+node@22.20.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/next/dist/compiled/process/",t.exports=u(156)},28401,(e,t,r)=>{"use strict";var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var u in r={},t)"key"!==u&&(r[u]=t[u]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},99731,(e,t,r)=>{"use strict";var n=e.i(25223),o=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),_=Symbol.for("react.view_transition"),b=Symbol.iterator,v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function x(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||v}function j(){}function O(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||v}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},j.prototype=x.prototype;var S=O.prototype=new j;S.constructor=O,g(S,x.prototype),S.isPureReactComponent=!0;var E=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function A(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g;function C(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function k(e,t,r){if(null==e)return e;var n=[],i=0;return!function e(t,r,n,i,a){var l,s,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case u:d=!0;break;case y:return e((d=t._init)(t._payload),r,n,i,a)}}if(d)return a=a(t),d=""===i?"."+C(t,0):i,E(a)?(n="",null!=d&&(n=d.replace(P,"$&/")+"/"),e(a,r,n,"",function(e){return e})):null!=a&&(M(a)&&(l=a,s=n+(null==a.key||t&&t.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+d,a=A(l.type,s,l.props)),r.push(a)),1;d=0;var p=""===i?".":i+":";if(E(t))for(var h=0;h<t.length;h++)f=p+C(i=t[h],h),d+=e(i,r,n,f,a);else if("function"==typeof(h=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=b&&c[b]||c["@@iterator"])?c:null))for(t=h.call(t),h=0;!(i=t.next()).done;)f=p+C(i=i.value,h++),d+=e(i,r,n,f,a);else if("object"===f){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(w,w):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),r,n,i,a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return d}(e,n,"","",function(e){return t.call(r,e,i++)}),n}function H(e){if(-1===e._status){var t=(0,e._result)();t.then(function(r){(0===e._status||-1===e._status)&&(e._status=1,e._result=r,void 0===t.status&&(t.status="fulfilled",t.value=r))},function(r){(0===e._status||-1===e._status)&&(e._status=2,e._result=r,void 0===t.status&&(t.status="rejected",t.reason=r))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var U="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof n.default&&"function"==typeof n.default.emit)return void n.default.emit("uncaughtException",e);console.error(e)};function N(e){var t=T.T,r={};r.types=null!==t?t.types:null,T.T=r;try{var n=e(),o=T.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(w,U)}catch(e){U(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),T.T=t}}function B(e){var t=T.T;if(null!==t){var r=t.types;null===r?t.types=[e]:-1===r.indexOf(e)&&r.push(e)}else N(B.bind(null,e))}r.Activity=h,r.Children={map:k,forEach:function(e,t,r){k(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return k(e,function(){t++}),t},toArray:function(e){return k(e,function(e){return e})||[]},only:function(e){if(!M(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=x,r.Fragment=i,r.Profiler=l,r.PureComponent=O,r.StrictMode=a,r.Suspense=d,r.ViewTransition=_,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},r.addTransitionType=B,r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=g({},e.props),o=e.key;if(null!=t)for(u in void 0!==t.key&&(o=""+t.key),t)R.call(t,u)&&"key"!==u&&"__self"!==u&&"__source"!==u&&("ref"!==u||void 0!==t.ref)&&(n[u]=t[u]);var u=arguments.length-2;if(1===u)n.children=r;else if(1<u){for(var i=Array(u),a=0;a<u;a++)i[a]=arguments[a+2];n.children=i}return A(e.type,o,n)},r.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},r.createElement=function(e,t,r){var n,o={},u=null;if(null!=t)for(n in void 0!==t.key&&(u=""+t.key),t)R.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+2];o.children=a}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===o[n]&&(o[n]=i[n]);return A(e,u,o)},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:f,render:e}},r.isValidElement=M,r.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:H}},r.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},r.startTransition=N,r.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},r.use=function(e){return T.H.use(e)},r.useActionState=function(e,t,r){return T.H.useActionState(e,t,r)},r.useCallback=function(e,t){return T.H.useCallback(e,t)},r.useContext=function(e){return T.H.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},r.useEffect=function(e,t){return T.H.useEffect(e,t)},r.useEffectEvent=function(e){return T.H.useEffectEvent(e)},r.useId=function(){return T.H.useId()},r.useImperativeHandle=function(e,t,r){return T.H.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},r.useMemo=function(e,t){return T.H.useMemo(e,t)},r.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},r.useReducer=function(e,t,r){return T.H.useReducer(e,t,r)},r.useRef=function(e){return T.H.useRef(e)},r.useState=function(e){return T.H.useState(e)},r.useSyncExternalStore=function(e,t,r){return T.H.useSyncExternalStore(e,t,r)},r.useTransition=function(){return T.H.useTransition()},r.version="19.3.0-canary-278794d7-20261002"},20367,(e,t,r)=>{"use strict";e.i(25223),t.exports=e.r(99731)},94115,(e,t,r)=>{"use strict";e.i(25223),t.exports=e.r(28401)},76863,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MetadataBoundary:function(){return a},OutletBoundary:function(){return s},RootLayoutBoundary:function(){return c},ViewportBoundary:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(87934),i={[u.METADATA_BOUNDARY_NAME]:function({children:e}){return e},[u.VIEWPORT_BOUNDARY_NAME]:function({children:e}){return e},[u.OUTLET_BOUNDARY_NAME]:function({children:e}){return e},[u.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:e}){return e}},a=i[u.METADATA_BOUNDARY_NAME.slice(0)],l=i[u.VIEWPORT_BOUNDARY_NAME.slice(0)],s=i[u.OUTLET_BOUNDARY_NAME.slice(0)],c=i[u.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]},87934,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={METADATA_BOUNDARY_NAME:function(){return u},OUTLET_BOUNDARY_NAME:function(){return a},ROOT_LAYOUT_BOUNDARY_NAME:function(){return l},VIEWPORT_BOUNDARY_NAME:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u="__next_metadata_boundary__",i="__next_viewport_boundary__",a="__next_outlet_boundary__",l="__next_root_layout_boundary__"}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61981,e=>{"use strict";var t=e.i(94115),a=e.i(20367),s=e.i(80136),r=e.i(71513),l=e.i(7347),n=e.i(64036),i=e.i(44946),o=e.i(29164),d=e.i(89486),c=e.i(86224);let u={value:"default",metadata:"secondary",health:"outline","command result":"warning",other:"outline"},m=[["value","Values"],["metadata","Metadata"],["health","Health"],["command result","Command results"],["other","Other"]],h=e=>`${e.toLocaleString()} ${1===e?"topic":"topics"}`;e.s(["default",0,()=>{let e=(0,r.Z)((0,s.useGateway)()),{messages:x,failed:p}=(()=>{let[e,t]=(0,a.useState)(void 0),[s,l]=(0,a.useState)(void 0);return(0,a.useEffect)(()=>{let e,a=!1,s=()=>(0,d.I)(d.x).then(n=>{a||("Success"===n._tag?(t(n.success),l(void 0)):l(n.failure.message),e=setTimeout(()=>void s(),r.z))});return s(),()=>{a=!0,void 0!==e&&clearTimeout(e)}},[]),{messages:e,failed:s}})(),[g,f]=(0,a.useState)({query:"",kind:"all"}),v=""!==g.query||"all"!==g.kind,b=x?.messages??[],w=(0,a.useMemo)(()=>b.filter(e=>((e,t)=>{if("all"!==t.kind&&(0,d.D)(e.topic)!==t.kind)return!1;let a=t.query.toLowerCase().split(/\s+/).filter(e=>""!==e);if(0===a.length)return!0;let s=`${e.topic} ${e.payload}`.toLowerCase();return a.every(e=>s.includes(e))})(e,g)),[b,g]);(0,s.useListCount)(x?.messages.length,v?w.length:void 0,"topic");let{body:j,range:N,rowHeight:y}=(0,c.f)(w.length,57),k=(0,a.useMemo)(()=>{let e=(e=>{let t=new Map;for(let a of e){let e=(0,d.D)(a.topic);t.set(e,(t.get(e)??0)+1)}return t})(b);return[{value:"all",label:"All kinds",detail:h(b.length)},...m.filter(([t])=>e.has(t)||t===g.kind).map(([t,a])=>({value:t,label:a,detail:h(e.get(t)??0)}))]},[b,g.kind]),M=void 0===e?"":`${e.site}/${e.building}/`,C=e?.now??Date.now();return void 0===x?(0,t.jsx)("p",{className:"text-muted-foreground",children:void 0===p?"Loading…":`The gateway does not answer: ${p}`}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"max-w-3xl text-sm text-muted-foreground",children:["The latest message on each topic the gateway publishes: what a client subscribed to"," ",(0,t.jsxs)("code",{className:"font-mono",children:[M,"#"]})," receives. A value goes to"," ",(0,t.jsx)("code",{className:"font-mono",children:"site/building/device/point"})," as its publish mode says, its metadata to"," ",(0,t.jsx)("code",{className:"font-mono",children:"…/$meta"}),", and the gateway's health to"," ",(0,t.jsxs)("code",{className:"font-mono",children:["…/$gateway/",e?.id??"id","/health"]}),"."]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsxs)("div",{className:"relative min-w-0 flex-1 basis-64",children:[(0,t.jsx)("input",{"aria-label":"Search messages",className:`h-9 w-full rounded-md border bg-background px-3 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring [&::-webkit-search-cancel-button]:appearance-none ${""===g.query?"":"pr-20"}`,onChange:e=>f({...g,query:e.target.value}),placeholder:"Search topics and payloads…",type:"search",value:g.query}),""===g.query?null:(0,t.jsxs)("button",{className:"absolute top-1/2 right-1.5 flex -translate-y-1/2 items-center gap-1 rounded px-1.5 py-0.5 text-xs hover:bg-muted",onClick:()=>f({...g,query:""}),type:"button",children:[(0,t.jsx)("span",{"aria-hidden":"true",children:"✕"}),"Reset"]})]}),(0,t.jsx)(i.f,{className:"w-full sm:w-56",emptyText:"No kind found.",label:"Kind",onChange:e=>{let t;return f({...g,kind:(t=e,m.find(([e])=>e===t)?.[0]??"all")})},options:k,searchPlaceholder:"Search kinds…",value:g.kind})]}),(0,t.jsx)(n.N,{className:"py-0",children:(0,t.jsx)(n.O,{className:"px-0",children:0===w.length?(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 p-6 text-sm text-muted-foreground",children:[(0,t.jsx)("p",{children:0===b.length?"Nothing published yet.":"No message matches."}),v?(0,t.jsx)("button",{className:"font-medium text-foreground underline-offset-4 hover:underline",onClick:()=>f({query:"",kind:"all"}),type:"button",children:"Clear filters"}):null]}):(0,t.jsxs)(o.s,{"aria-rowcount":w.length+1,containerClassName:"overflow-clip rounded-xl",children:[(0,t.jsx)(o.E,{className:"sticky top-0 z-10 [&_th]:bg-card [&_th]:shadow-[inset_0_-1px_0_var(--border)] [&_tr]:border-0",children:(0,t.jsxs)(o.N,{"aria-rowindex":1,className:"hover:bg-transparent",children:[(0,t.jsx)(o.U,{className:"pl-4",children:"Topic"}),(0,t.jsx)(o.U,{children:"Latest payload"}),(0,t.jsx)(o.U,{className:"hidden text-right sm:table-cell",children:"Messages"}),(0,t.jsx)(o.U,{className:"pr-4 text-right",children:"Sent at"})]})}),(0,t.jsxs)(o.z,{ref:j,children:[0===N.start?null:(0,t.jsx)("tr",{"aria-hidden":"true",style:{height:N.start*y}}),w.slice(N.start,N.end).map((e,a)=>{let s=N.start+a,r=(0,d.D)(e.topic),n=e.topic.startsWith(M)?e.topic.slice(M.length):e.topic;return(0,t.jsxs)(o.N,{"aria-rowindex":s+2,className:"h-14","data-row":s,children:[(0,t.jsxs)(o.d,{className:"max-w-56 pl-4 sm:max-w-96",children:[(0,t.jsxs)("p",{className:"truncate font-mono text-xs",title:e.topic,children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:M}),n]}),(0,t.jsxs)("div",{className:"mt-1 flex gap-1",children:[(0,t.jsx)(l.f,{variant:u[r],children:r}),e.retained?(0,t.jsx)(l.f,{title:"The broker keeps it and gives it to every subscriber that connects later",variant:"outline",children:"retained"}):null]})]}),(0,t.jsx)(o.d,{className:"max-w-40 sm:max-w-md",children:(0,t.jsxs)("code",{className:"block truncate font-mono text-xs",title:e.payload,children:[e.payload,e.truncated?"…":""]})}),(0,t.jsx)(o.d,{className:"hidden text-right tabular-nums sm:table-cell",children:e.count.toLocaleString()}),(0,t.jsx)(o.d,{className:"pr-4 text-right text-muted-foreground tabular-nums",children:(0,d.w)(e.at,C)})]},e.topic)}),N.end===w.length?null:(0,t.jsx)("tr",{"aria-hidden":"true",style:{height:(w.length-N.end)*y}})]})]})})}),x.droppedTopics>0?(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:[x.droppedTopics.toLocaleString()," more topics are not shown, and search does not find them: the gateway keeps the latest message of at most ",x.messages.length.toLocaleString()," topics."]}):null]})}],61981)},64036,e=>{"use strict";var t=e.i(94115),a=e.i(52088);e.s(["N",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card",className:(0,a.f)("flex flex-col gap-4 rounded-xl border bg-card py-5 text-card-foreground shadow-sm",e),...s}),"O",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.f)("px-5",e),...s}),"u",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.f)("text-sm text-muted-foreground",e),...s}),"Y",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.f)("grid auto-rows-min items-start gap-1.5 px-5",e),...s}),"v",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.f)("leading-none font-semibold",e),...s})])},44946,86224,e=>{"use strict";var t=e.i(94115),a=e.i(20367),s=e.i(81081),r=e.i(52088);let l={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};e.s(["f",0,({options:e,value:n,onChange:i,label:o,searchPlaceholder:d,emptyText:c,className:u})=>{let m=(0,a.useId)(),h=`${m}-list`,x=e=>`${m}-option-${e}`,p=(0,a.useRef)(null),g=(0,a.useRef)(null),f=(0,a.useRef)(null),v=(0,a.useRef)(null),[b,w]=(0,a.useState)(!1),[j,N]=(0,a.useState)(""),[y,k]=(0,a.useState)(0),M=e.find(e=>e.value===n),C=(0,a.useMemo)(()=>e.filter(e=>(0,s.w)(`${e.label} ${e.detail??""} ${e.keywords??""}`,j)),[e,j]),L=C.slice(0,100),S=()=>{N("");let t=void 0===M?-1:e.indexOf(M);k(t>=0&&t<100?t:0),w(!0)},$=e=>{w(!1),e&&g.current?.focus()},E=e=>{void 0!==e&&(i(e.value),$(!0))};return(0,a.useLayoutEffect)(()=>{b&&f.current?.focus()},[b]),(0,a.useLayoutEffect)(()=>{b&&v.current?.querySelector(`[data-index="${y}"]`)?.scrollIntoView({block:"nearest"})},[b,y]),(0,a.useEffect)(()=>{if(!b)return;let e=e=>{e.target instanceof Node&&!p.current?.contains(e.target)&&$(!1)};return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e)},[b]),(0,t.jsxs)("div",{className:(0,r.f)("relative",u),ref:p,children:[(0,t.jsxs)("button",{"aria-expanded":b,"aria-haspopup":"listbox","aria-label":`${o}: ${M?.label??""}`,className:"flex h-9 w-full items-center gap-2 rounded-md border bg-background px-3 text-sm hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none",onClick:()=>b?$(!1):S(),onKeyDown:e=>{"ArrowDown"!==e.key||b||(e.preventDefault(),S())},ref:g,type:"button",children:[M?.leading,(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-left",children:M?.label}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"size-4 shrink-0 text-muted-foreground",...l,children:(0,t.jsx)("path",{d:"m7 15 5 5 5-5M7 9l5-5 5 5"})})]}),b?(0,t.jsxs)("div",{className:"absolute top-[calc(100%+4px)] right-0 z-50 flex w-[min(20rem,calc(100vw-2rem))] flex-col overflow-hidden rounded-lg border bg-card text-card-foreground shadow-lg motion-safe:animate-[popover-in_120ms_ease-out]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 border-b px-3",children:[(0,t.jsxs)("svg",{"aria-hidden":"true",className:"size-4 shrink-0 text-muted-foreground",...l,children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,t.jsx)("path",{d:"m20 20-3.5-3.5"})]}),(0,t.jsx)("input",{"aria-activedescendant":void 0===L[y]?void 0:x(y),"aria-autocomplete":"list","aria-controls":h,"aria-expanded":"true","aria-label":d,className:"h-10 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground",onChange:e=>{N(e.target.value),k(0)},onKeyDown:e=>{let t=L.length-1,a=a=>{e.preventDefault(),k(Math.min(Math.max(a,0),Math.max(t,0)))};switch(e.key){case"ArrowDown":return a(y+1);case"ArrowUp":return a(y-1);case"Home":return a(0);case"End":return a(t);case"PageDown":return a(y+8);case"PageUp":return a(y-8);case"Enter":return e.preventDefault(),E(L[y]);case"Escape":return e.preventDefault(),e.stopPropagation(),$(!0);case"Tab":return $(!1)}},placeholder:d,ref:f,role:"combobox",value:j})]}),(0,t.jsxs)("ul",{"aria-label":o,className:"max-h-[min(18rem,50dvh)] overflow-y-auto overscroll-contain p-1",id:h,ref:v,role:"listbox",children:[0===L.length?(0,t.jsx)("li",{className:"px-2 py-6 text-center text-sm text-muted-foreground",children:c}):L.map((e,a)=>(0,t.jsxs)("li",{"aria-selected":e.value===n,className:(0,r.f)("flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm select-none",a===y&&"bg-muted"),"data-index":a,id:x(a),onMouseDown:e=>e.preventDefault(),onClick:()=>E(e),onPointerMove:()=>k(a),role:"option",children:[e.leading,(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:e.label}),void 0===e.detail?null:(0,t.jsx)("span",{className:"shrink-0 text-xs text-muted-foreground",children:e.detail}),(0,t.jsx)("svg",{"aria-hidden":"true",className:(0,r.f)("size-4 shrink-0",e.value!==n&&"invisible"),...l,children:(0,t.jsx)("path",{d:"M20 6 9 17l-5-5"})})]},e.value)),C.length>L.length?(0,t.jsxs)("li",{className:"px-2 py-2 text-center text-xs text-muted-foreground",role:"presentation",children:[(C.length-L.length).toLocaleString()," more: type to narrow"]}):null]})]}):null]})}],44946),e.s(["f",0,(e,t)=>{let s=(0,a.useRef)(null),r=(0,a.useRef)(t),[l,n]=(0,a.useState)(()=>({start:0,end:Math.min(e,30)})),[i,o]=(0,a.useState)(t),d=(0,a.useCallback)(()=>{var t;let a,l=s.current;if(null===l)return;let i=l.querySelector("[data-row]")?.getBoundingClientRect().height;void 0!==i&&i>0&&Math.abs(i-r.current)>.5&&(r.current=i,o(i));let d={start:a=Math.min((t={top:-l.getBoundingClientRect().top,height:window.innerHeight,rowHeight:r.current,count:e,overscan:8}).count,Math.max(0,Math.floor(t.top/t.rowHeight)-t.overscan)),end:Math.max(a,Math.min(t.count,Math.max(0,Math.ceil((t.top+t.height)/t.rowHeight)+t.overscan)))};n(e=>e.start===d.start&&e.end===d.end?e:d)},[e]);(0,a.useLayoutEffect)(d,[d]),(0,a.useEffect)(()=>{let e=0,t=()=>{0===e&&(e=requestAnimationFrame(()=>{e=0,d()}))};return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),()=>{cancelAnimationFrame(e),window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[d]);let c=(0,a.useCallback)(e=>{let t=s.current;if(null===t)return;let a=t.getBoundingClientRect().top+e*r.current;(a<0||a+r.current>window.innerHeight)&&window.scrollBy({top:a-window.innerHeight/2+r.current/2}),d()},[d]);return{body:s,range:l,rowHeight:i,reveal:c}}],86224)},29164,e=>{"use strict";var t=e.i(94115),a=e.i(52088);e.s(["s",0,({className:e,containerClassName:s="overflow-x-auto",...r})=>(0,t.jsx)("div",{"data-slot":"table-container",className:(0,a.f)("relative w-full",s),children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.f)("w-full caption-bottom text-sm",e),...r})}),"z",0,({className:e,...s})=>(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.f)("[&_tr:last-child]:border-0",e),...s}),"d",0,({className:e,...s})=>(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.f)("p-2 align-middle whitespace-nowrap",e),...s}),"U",0,({className:e,...s})=>(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.f)("h-9 px-2 text-left align-middle font-medium whitespace-nowrap text-muted-foreground",e),...s}),"E",0,({className:e,...s})=>(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.f)("[&_tr]:border-b",e),...s}),"N",0,({className:e,...s})=>(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.f)("border-b transition-colors hover:bg-muted/50",e),...s})])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72469,e=>{"use strict";let t;var a=e.i(94115),s=e.i(30302),r=e.i(20367),n=e.i(80136),i=e.i(71513);e.i(66563);var l=e.i(71658),o=e.i(83453),d=e.i(92387),c=e.i(4270),c=c,u=c,m=e.i(87486),x=e.i(97490),h=e.i(12379),f=e.i(50492),g=e.i(27195),p=e.i(84279),v=e.i(89486);let b=[{id:"15m",label:"15 min",ms:9e5},{id:"1h",label:"1 h",ms:36e5},{id:"24h",label:"24 h",ms:864e5},{id:"7d",label:"7 days",ms:6048e5}],j=p.f.make(l.K,{baseUrl:window.location.origin}),w=(e,t,a=4)=>{if(!Number.isFinite(e)||!Number.isFinite(t)||e>t)return[0,1];if(e===t){let s=.05*Math.abs(e)||1;return w(e-s,t+s,a)}let s=(t-e)/a,r=10**Math.floor(Math.log10(s)),n=([1,2,5,10].find(e=>e*r>=s)??10)*r,i=Math.floor(e/n)*n,l=[];for(let e=0;;e++){let a=Number((i+e*n).toPrecision(12));if(l.push(a),a>=t)return l}},N=[6e4,3e5,9e5,18e5,36e5,108e5,216e5,864e5],y=(e,t)=>t?`${Math.round(100*e)} % on`:Number(e.toPrecision(4)).toLocaleString(),k=({series:e,unit:t,boolean:s,label:n})=>{let[i,l]=(()=>{let e=(0,r.useRef)(null),[t,a]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t=e.current;if(null===t)return;let s=new ResizeObserver(([e])=>a(e?.contentRect.width??0));return s.observe(t),()=>s.disconnect()},[]),[e,t]})(),[o,d]=(0,r.useState)(void 0),{buckets:c,stepMs:u,from:m,to:x}=e,h=c.map(e=>e.min),f=c.map(e=>e.max),g=s?[0,1]:w(Math.min(...h),Math.max(...f)),p=g[0]??0,b=g.at(-1)??1,j=Math.max(0,l-48-12),k=e=>48+(e+u/2-m)/(x-m)*j,$=e=>8+(b-e)/(b-p||1)*120,M=((e,t,a=5)=>{let s=N.find(s=>(t-e)/s<=a)??864e5,r=6e4*new Date(e).getTimezoneOffset(),n=[];for(let a=Math.ceil((e-r)/s)*s+r;a<=t;a+=s)n.push(a);return{ticks:n,step:s}})(m,x),S=((e,t)=>{let a=[],s=[];for(let r of e){let e=s.at(-1);void 0!==e&&r.t-e.t>2*t&&(a.push(s),s=[]),s.push(r)}return s.length>0&&a.push(s),a})(c,u),E=void 0===o?void 0:((e,t)=>{let a;for(let s of e)(void 0===a||Math.abs(s.t-t)<Math.abs(a.t-t))&&(a=s);return a})(c,o),_=(0,v.E)(t);return(0,a.jsxs)("div",{ref:i,className:"relative",children:[0===c.length?(0,a.jsx)("p",{className:"flex h-[150px] items-center justify-center text-sm text-muted-foreground",children:"No reads in this range yet."}):0===l?(0,a.jsx)("div",{className:"h-[150px]"}):(0,a.jsxs)("svg",{"aria-label":`${n}: ${c.length} buckets, ${y(p,s)} to ${y(b,s)}`,className:"block touch-none select-none",height:150,onPointerLeave:()=>d(void 0),onPointerMove:e=>{let t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left-48)/j;d(a<0||a>1?void 0:m+a*(x-m)-u/2)},role:"img",width:l,children:[g.map(e=>(0,a.jsxs)("g",{children:[(0,a.jsx)("line",{stroke:"var(--border)",x1:48,x2:l-12,y1:$(e),y2:$(e)}),(0,a.jsx)("text",{className:"fill-muted-foreground text-[11px] tabular-nums",textAnchor:"end",x:42,y:$(e)+4,children:s?1===e?"on":"off":e.toLocaleString()})]},e)),M.ticks.map(e=>(0,a.jsx)("text",{className:"fill-muted-foreground text-[11px] tabular-nums",textAnchor:"middle",x:48+(e-m)/(x-m)*j,y:144,children:M.step>=864e5?new Date(e).toLocaleDateString([],{weekday:"short",day:"numeric"}):new Date(e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})},e)),S.map(e=>{let t=e.map(e=>`${k(e.t)},${$(e.max)}`),r=e.toReversed().map(e=>`${k(e.t)},${$(e.min)}`),n=e.map((e,t)=>0===t?`M${k(e.t)},${$(e.avg)}`:s?`H${k(e.t)}V${$(e.avg)}`:`L${k(e.t)},${$(e.avg)}`);return(0,a.jsxs)("g",{children:[s?null:(0,a.jsx)("polygon",{fill:"var(--series-1)",fillOpacity:.14,points:[...t,...r].join(" ")}),(0,a.jsx)("path",{d:n.join(" "),fill:"none",stroke:"var(--series-1)",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2}),1===e.length?(0,a.jsx)("circle",{cx:k(e[0]?.t??0),cy:$(e[0]?.avg??0),fill:"var(--series-1)",r:3}):null]},e[0]?.t)}),void 0===E?null:(0,a.jsxs)("g",{pointerEvents:"none",children:[(0,a.jsx)("line",{stroke:"var(--muted-foreground)",strokeDasharray:"3 3",x1:k(E.t),x2:k(E.t),y1:8,y2:128}),(0,a.jsx)("circle",{cx:k(E.t),cy:$(E.avg),fill:"var(--series-1)",r:4,stroke:"var(--card)",strokeWidth:2})]})]}),void 0===E?null:(0,a.jsxs)("div",{className:"pointer-events-none absolute top-0 z-10 rounded-md border bg-card text-card-foreground px-2.5 py-1.5 text-xs shadow-md",style:{left:Math.min(Math.max(k(E.t)+10,0),Math.max(0,l-170)),minWidth:150},children:[(0,a.jsx)("div",{className:"text-muted-foreground tabular-nums",children:new Date(E.t).toLocaleString([],{weekday:"short",hour:"2-digit",minute:"2-digit",second:u<6e4?"2-digit":void 0})}),(0,a.jsxs)("div",{className:"font-mono tabular-nums",children:[y(E.avg,s)," ",s?"":_]}),s||1===E.count?null:(0,a.jsxs)("div",{className:"text-muted-foreground tabular-nums",children:[(0,v.z)(Number(E.min.toPrecision(4)))," – ",(0,v.z)(Number(E.max.toPrecision(4)))," ",_]}),(0,a.jsxs)("div",{className:"text-muted-foreground tabular-nums",children:[E.count.toLocaleString()," ",1===E.count?"read":"reads"]})]})]})},$=({value:e,unit:t,now:s,className:n=""})=>{let[i]=(0,r.useState)(e?.ts),l=e?.ts!==void 0&&e.ts!==i;return(0,a.jsxs)("span",{className:`rounded px-1 ${l?"motion-safe:animate-[value-changed_1.2s_ease-out]":""} ${n}`,title:e?.ts===void 0?"nothing read yet":`read ${(0,v.w)(e.ts,s)}`,children:[(0,v.z)(e?.value)," ",(0,a.jsx)("span",{className:"text-muted-foreground",children:(0,v.E)(t)})]},e?.ts)};var M=e.i(7347);let S=({label:e,children:t})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("dt",{className:"text-muted-foreground",children:e}),(0,a.jsx)("dd",{className:"min-w-0 font-mono break-words",children:t})]}),E=({topic:e})=>{let[t,s]=(0,r.useState)(!1);return(0,a.jsxs)("span",{className:"inline-flex flex-wrap items-center gap-2",children:[(0,a.jsx)("span",{className:"break-all",children:e}),(0,a.jsx)("button",{className:"rounded border px-1.5 py-0.5 font-sans text-xs text-muted-foreground hover:text-foreground",onClick:()=>{navigator.clipboard?.writeText(e).then(()=>{s(!0),setTimeout(()=>s(!1),1500)})},type:"button",children:t?"Copied":"Copy"})]})},_="rounded-md px-2 py-1 text-muted-foreground hover:bg-muted hover:text-foreground disabled:opacity-40",C=({point:e,live:t,now:s,position:n,morph:i,unreachable:l,onStep:p,onClose:w})=>{let N,y=(0,r.useRef)(null),[C,D]=(0,r.useState)(b[1]),L=((e,t,a)=>{let s=`${e}/${t}@${a.id}`,[n,i]=(0,r.useState)({});return(0,r.useEffect)(()=>{let r,n=!1,l=()=>{let p;return(0,v.I)((p=Date.now(),j.pipe(o.f.flatMap(s=>s.status.history({query:{device:e,point:t,from:p-a.ms,to:p,buckets:240}})),d.f.map(e=>({_tag:"series",series:e})),c.catchTags({HistoryUnavailable:e=>u.succeed({_tag:"off",message:e.message}),HistoryQueryInvalid:e=>u.succeed({_tag:"off",message:e.message})}),m.f.mapError(e=>new v.i({message:e.message})),x.f.provide(g.f.layer),h.f.timeoutOrElse({duration:"5 seconds",orElse:()=>f.f.fail(new v.i({message:"no answer within 5 s"}))})))).then(e=>{n||(i(t=>"Success"===e._tag?{of:s,series:e.success}:{...t,unreachable:e.failure.message}),r=setTimeout(()=>void l(),a.ms<=36e5?5e3:6e4))})};return l(),()=>{n=!0,void 0!==r&&clearTimeout(r)}},[e,t,a,s]),{...n,stale:n.of!==s}})(e.device,e.id,C),T=t?.value,R=t?.device,P=void 0===R?void 0:(0,v.g)(R,s);return(0,r.useLayoutEffect)(()=>{let e=y.current;if(null!==e)return e.open||e.showModal(),e.focus(),()=>e.close()},[]),(0,a.jsx)("dialog",{"aria-label":`${e.device}/${e.id}`,className:`point-sheet ${i?"morphing":""} ms-auto me-0 my-0 h-dvh max-h-dvh w-[min(36rem,100vw)] max-w-full overflow-y-auto border-l bg-card p-0 outline-none text-card-foreground shadow-2xl`,onCancel:e=>{e.preventDefault(),w()},onClick:e=>{e.target===e.currentTarget&&w()},onKeyDown:e=>{if(e.target instanceof HTMLInputElement)return;let t="ArrowDown"===e.key||"j"===e.key?1:"ArrowUp"===e.key||"k"===e.key?-1:0;0!==t&&(e.preventDefault(),p(t))},ref:y,style:{viewTransitionName:"point-sheet"},tabIndex:-1,children:(0,a.jsxs)("div",{className:"flex flex-col gap-6 p-6",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("p",{className:"font-mono text-sm text-muted-foreground",children:e.device}),(0,a.jsx)("h2",{className:"w-fit font-mono text-lg font-semibold break-all",children:e.id}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.name})]}),(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-1",children:[void 0===n?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"mr-1 text-xs text-muted-foreground tabular-nums",children:[n.index," of ",n.total]}),(0,a.jsx)("button",{"aria-label":"Previous point (↑ or k)",className:_,disabled:n.index<=1,onClick:()=>p(-1),title:"Previous point (↑ or k)",type:"button",children:"↑"}),(0,a.jsx)("button",{"aria-label":"Next point (↓ or j)",className:_,disabled:n.index>=n.total,onClick:()=>p(1),title:"Next point (↓ or j)",type:"button",children:"↓"})]}),(0,a.jsx)("button",{"aria-label":"Close (Esc)",className:_,onClick:w,title:"Close (Esc)",type:"button",children:"✕"})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)("p",{className:`font-mono text-3xl font-semibold tabular-nums ${l?"opacity-50":""}`,children:(0,a.jsx)($,{className:"-mx-1",now:s,unit:e.unit,value:T},`${e.device}/${e.id}`)}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-sm text-muted-foreground",children:[l?(0,a.jsx)(M.f,{variant:"destructive",children:"gateway unreachable: last known value"}):null,P?._tag==="failing"?(0,a.jsxs)(M.f,{variant:"destructive",children:["device failing: ",(0,v.F)(P.reason)]}):null,P?._tag==="late"?(0,a.jsx)(M.f,{variant:"warning",children:"device late"}):null,e.writable?(0,a.jsx)(M.f,{variant:"outline",children:"writable"}):null,(0,a.jsx)("span",{children:T?.ts===void 0?"nothing read yet":`read ${(0,v.w)(T.ts,s)}`})]})]}),(0,a.jsxs)("section",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"History"}),(0,a.jsx)("div",{className:"inline-flex rounded-md border p-0.5",role:"group","aria-label":"Range",children:b.map(e=>(0,a.jsx)("button",{"aria-pressed":e.id===C.id,className:`rounded px-2.5 py-1 text-xs ${e.id===C.id?"bg-muted font-medium":"text-muted-foreground hover:text-foreground"}`,onClick:()=>D(e),type:"button",children:e.label},e.id))})]}),(0,a.jsx)("div",{className:`transition-opacity duration-200 ${L.stale?"opacity-40":""}`,children:void 0===L.series?(0,a.jsx)("div",{className:"h-[150px] animate-pulse rounded-md bg-muted"}):"off"===L.series._tag?(0,a.jsx)("p",{className:"flex h-[150px] items-center justify-center text-sm text-muted-foreground",children:L.series.message}):(0,a.jsx)(k,{boolean:"boolean"==typeof T?.value,label:e.id,series:L.series.series,unit:e.unit})}),void 0===L.unreachable?null:(0,a.jsx)("p",{className:"text-xs text-destructive",title:L.unreachable,children:"History is not updating: the gateway does not answer."})]}),(0,a.jsxs)("section",{className:"flex flex-col gap-2",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Configuration"}),(0,a.jsxs)("dl",{className:"grid grid-cols-[max-content_1fr] gap-x-6 gap-y-2 text-sm",children:[(0,a.jsx)(S,{label:"Topic",children:(0,a.jsx)(E,{topic:e.topic})}),(0,a.jsx)(S,{label:"Source",children:e.source}),(0,a.jsx)(S,{label:"Publishes",children:e.publish}),void 0===e.unit?null:(0,a.jsxs)(S,{label:"Unit",children:[(0,v.E)(e.unit)," ",(0,a.jsxs)("span",{className:"text-muted-foreground",children:["(",e.unit,")"]})]}),void 0===e.scaling?null:(0,a.jsx)(S,{label:"Scaling",children:(N=e.scaling,`raw \xd7 ${N.factor}${0===N.offset?"":` ${N.offset<0?"−":"+"} ${Math.abs(N.offset)}`}`)}),void 0===e.limits?null:(0,a.jsxs)(S,{label:"Write limits",children:[e.limits.min," to ",e.limits.max]}),void 0===e.brick?null:(0,a.jsx)(S,{label:"Brick",children:e.brick}),void 0===e.haystack||0===e.haystack.length?null:(0,a.jsx)(S,{label:"Haystack",children:(0,a.jsx)("span",{className:"flex flex-wrap gap-1",children:e.haystack.map(e=>(0,a.jsx)(M.f,{variant:"secondary",children:e},e))})})]})]})]})})};var D=e.i(64036),L=e.i(44946),T=e.i(29164),R=e.i(81081),P=e.i(16634),z=e.i(86224);let H={live:"bg-success",starting:"bg-muted-foreground/40",late:"bg-warning",failing:"bg-destructive"},U=e=>"live"===e._tag?"device answering":"starting"===e._tag?"device starting":"late"===e._tag?"device late: no answer for a few intervals":`device failing: ${(0,v.F)(e.reason)}`,A=({device:e,now:t})=>{if(void 0===e)return(0,a.jsx)("span",{"aria-hidden":"true",className:"size-2 shrink-0 rounded-full bg-muted"});let s=(0,v.g)(e,t);return(0,a.jsx)("span",{"aria-label":U(s),className:`size-2 shrink-0 rounded-full ${H[s._tag]}`,role:"img",title:U(s)})},q=e=>`${e.toLocaleString()} ${1===e?"point":"points"}`,B=()=>{let e=(0,n.useGateway)(),l=(e=>{let a=void 0!==e&&t?.since===e?t.catalog:void 0,[s,n]=(0,r.useState)(()=>void 0===a?{_tag:"loading"}:{_tag:"ok",catalog:a});return(0,r.useEffect)(()=>{let a;if(void 0===e)return;if(t?.since===e)return n({_tag:"ok",catalog:t.catalog});let s=!1,r=()=>(0,v.I)(v.n).then(i=>{if(!s){if("Success"===i._tag)return t={since:e,catalog:i.success},n({_tag:"ok",catalog:i.success});n({_tag:"failed",message:i.failure.message}),a=setTimeout(()=>void r(),5e3)}});return r(),()=>{s=!0,void 0!==a&&clearTimeout(a)}},[e]),s})((0,i.Z)(e)?.since),[{filter:o,open:d},c]=(()=>{let e=(0,s.useSearchParams)().toString(),[t,a]=(0,r.useState)(()=>(0,R.l)(e));return(0,r.useEffect)(()=>{a(t=>(0,R.r)(t.filter,t.open).slice(1)===e?t:(0,R.l)(e))},[e]),[t,e=>{a(e),window.history.replaceState(null,"",`${window.location.pathname}${(0,R.r)(e.filter,e.open)}`)}]})(),[u,m]=(0,r.useState)(!1),x=(0,i.Z)(e),h="unreachable"===e._tag,f=(0,r.useMemo)(()=>(0,R.d)(x),[x]),g="ok"===l._tag?l.catalog:void 0,p=x?.now??Date.now(),b=(0,r.useMemo)(()=>void 0===g?[]:(0,R.M)(g),[g]),j=(0,r.useMemo)(()=>""===o.device||b.some(e=>e.id===o.device)?o:{...o,device:""},[o,b]),w=""!==j.query||""!==j.device,N=(0,r.useMemo)(()=>[{value:"",label:"All devices",detail:q(b.reduce((e,t)=>e+t.points,0))},...b.map(e=>{let t=f.get(e.id);return{value:e.id,label:e.id,detail:q(e.points),leading:(0,a.jsx)(A,{device:t,now:p}),...void 0===t?{}:{keywords:v.T[t.protocol]}}})],[b,f,p]),y=(0,r.useMemo)(()=>void 0===g?[]:g.points.filter(e=>(0,R.u)(e,j)),[g,j]);(0,n.useListCount)(g?.points.length,w?y.length:void 0,"point");let k=void 0===d?void 0:g?.points.find(e=>(0,R.Z)(e)===d),S=void 0===k?-1:y.indexOf(k),{body:E,range:_,rowHeight:H,reveal:U}=(0,z.f)(y.length,57),B=y.slice(_.start,_.end),O=(0,i.P)((0,r.useMemo)(()=>[...B.map(R.Z),...void 0===d?[]:[d]],[B,d])),Z=e=>({value:O.get((0,R.Z)(e)),device:f.get(e.device)}),F=(0,r.useRef)(void 0),K=()=>{if(void 0===F.current)return;let e=E.current?.querySelector(`[data-row="${F.current}"]`);null!=e&&(e.focus({preventScroll:!0}),F.current=void 0)};(0,r.useEffect)(K);let I=e=>{F.current=e,U(e),K()},V=e=>{c({filter:{...j,...e},...void 0===d?{}:{open:d}})},W=e=>c({filter:j,...void 0===e?{}:{open:e}}),J=e=>{m((0,P.J)()),(0,P.Z)(()=>W(e))};return void 0===g?(0,a.jsx)("p",{className:"text-muted-foreground",children:"failed"===l._tag?`The gateway does not answer: ${l.message}`:"Loading…"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,a.jsxs)("div",{className:"relative min-w-0 flex-1 basis-64",children:[(0,a.jsx)("input",{"aria-label":"Search points",className:`h-9 w-full rounded-md border bg-background px-3 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring [&::-webkit-search-cancel-button]:appearance-none ${""===j.query?"":"pr-20"}`,onChange:e=>V({query:e.target.value}),placeholder:"Search by id, name, topic, register, Brick class…",type:"search",value:j.query}),""===j.query?null:(0,a.jsxs)("button",{className:"absolute top-1/2 right-1.5 flex -translate-y-1/2 items-center gap-1 rounded px-1.5 py-0.5 text-xs hover:bg-muted",onClick:()=>V({query:""}),type:"button",children:[(0,a.jsx)("span",{"aria-hidden":"true",children:"✕"}),"Reset"]})]}),(0,a.jsx)(L.f,{className:"w-full sm:w-56",emptyText:"No device found.",label:"Device",onChange:e=>V({device:e}),options:N,searchPlaceholder:"Search devices…",value:j.device})]}),(0,a.jsx)(D.N,{className:"py-0",children:(0,a.jsx)(D.O,{className:"px-0",children:0===y.length?(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 p-6 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:0===g.points.length?"The config has no points.":"No point matches."}),w?(0,a.jsx)("button",{className:"font-medium text-foreground underline-offset-4 hover:underline",onClick:()=>V({query:"",device:""}),type:"button",children:"Clear filters"}):null]}):(0,a.jsxs)(T.s,{"aria-rowcount":y.length+1,containerClassName:"overflow-clip rounded-xl",children:[(0,a.jsx)(T.E,{className:"sticky top-0 z-10 [&_th]:bg-card [&_th]:shadow-[inset_0_-1px_0_var(--border)] [&_tr]:border-0",children:(0,a.jsxs)(T.N,{"aria-rowindex":1,className:"hover:bg-transparent",children:[(0,a.jsx)(T.U,{className:"pl-4",children:"Point"}),(0,a.jsx)(T.U,{className:"hidden md:table-cell",children:"Device"}),(0,a.jsx)(T.U,{className:"text-right",children:"Value"}),(0,a.jsx)(T.U,{className:"hidden text-right sm:table-cell",children:"Read"}),(0,a.jsx)(T.U,{className:"hidden md:table-cell",children:"Source"}),(0,a.jsx)(T.U,{className:"hidden pr-4 lg:table-cell",children:"Publishes"})]})}),(0,a.jsxs)(T.z,{ref:E,children:[0===_.start?null:(0,a.jsx)("tr",{"aria-hidden":"true",style:{height:_.start*H}}),B.map((e,t)=>{let s=_.start+t,r=(0,R.Z)(e),n=Z(e),i=n.device?.status==="failing";return(0,a.jsxs)(T.N,{"aria-rowindex":s+2,"aria-selected":r===d,className:"h-14 cursor-pointer aria-selected:bg-muted","data-row":s,tabIndex:0,...{onClick:e=>{e.metaKey||e.ctrlKey||J(r)},onKeyDown:e=>{let t="ArrowDown"===e.key?s+1:"ArrowUp"===e.key?s-1:"Home"===e.key?0:"End"===e.key?y.length-1:void 0;if(void 0!==t){e.preventDefault(),I(Math.min(Math.max(t,0),y.length-1));return}("Enter"===e.key||" "===e.key)&&(e.preventDefault(),J(r))}},children:[(0,a.jsxs)(T.d,{className:"max-w-52 pl-4 sm:max-w-72",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(A,{device:n?.device,now:p}),(0,a.jsx)("span",{className:"truncate font-mono",children:e.id}),e.writable?(0,a.jsx)(M.f,{variant:"outline",children:"writable"}):null]}),(0,a.jsxs)("p",{className:"truncate pl-4 text-xs text-muted-foreground",title:e.name,children:[(0,a.jsxs)("span",{className:"font-mono md:hidden",children:[e.device," · "]}),e.name,void 0===e.brick?"":` \xb7 ${e.brick}`]})]}),(0,a.jsx)(T.d,{className:"hidden max-w-48 truncate font-mono text-muted-foreground md:table-cell",children:(0,a.jsx)("span",{title:e.device,children:e.device})}),(0,a.jsx)(T.d,{className:`text-right font-mono tabular-nums ${i||h?"opacity-50":""}`,children:(0,a.jsx)($,{now:p,unit:e.unit,value:n?.value})}),(0,a.jsx)(T.d,{className:"hidden text-right text-muted-foreground tabular-nums sm:table-cell",children:n?.value?.ts===void 0?"–":(0,v.w)(n.value.ts,p)}),(0,a.jsx)(T.d,{className:"hidden font-mono text-xs text-muted-foreground md:table-cell",children:e.source}),(0,a.jsx)(T.d,{className:"hidden pr-4 text-xs text-muted-foreground lg:table-cell",children:e.publish})]},r)}),_.end===y.length?null:(0,a.jsx)("tr",{"aria-hidden":"true",style:{height:(y.length-_.end)*H}})]})]})})}),void 0===k?null:(0,a.jsx)(C,{live:Z(k),morph:u,now:p,onClose:()=>{(0,P.Z)(()=>W(void 0),{updated:()=>{S>=0&&I(S)}})},onStep:e=>{let t=y[S+e];void 0!==t&&(W((0,R.Z)(t)),U(S+e))},point:k,unreachable:h,position:S<0?void 0:{index:S+1,total:y.length}})]})};e.s(["default",0,()=>(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading…"}),children:(0,a.jsx)(B,{})})],72469)},64036,e=>{"use strict";var t=e.i(94115),a=e.i(52088);e.s(["N",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card",className:(0,a.f)("flex flex-col gap-4 rounded-xl border bg-card py-5 text-card-foreground shadow-sm",e),...s}),"O",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.f)("px-5",e),...s}),"u",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.f)("text-sm text-muted-foreground",e),...s}),"Y",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.f)("grid auto-rows-min items-start gap-1.5 px-5",e),...s}),"v",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.f)("leading-none font-semibold",e),...s})])},44946,86224,e=>{"use strict";var t=e.i(94115),a=e.i(20367),s=e.i(81081),r=e.i(52088);let n={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};e.s(["f",0,({options:e,value:i,onChange:l,label:o,searchPlaceholder:d,emptyText:c,className:u})=>{let m=(0,a.useId)(),x=`${m}-list`,h=e=>`${m}-option-${e}`,f=(0,a.useRef)(null),g=(0,a.useRef)(null),p=(0,a.useRef)(null),v=(0,a.useRef)(null),[b,j]=(0,a.useState)(!1),[w,N]=(0,a.useState)(""),[y,k]=(0,a.useState)(0),$=e.find(e=>e.value===i),M=(0,a.useMemo)(()=>e.filter(e=>(0,s.w)(`${e.label} ${e.detail??""} ${e.keywords??""}`,w)),[e,w]),S=M.slice(0,100),E=()=>{N("");let t=void 0===$?-1:e.indexOf($);k(t>=0&&t<100?t:0),j(!0)},_=e=>{j(!1),e&&g.current?.focus()},C=e=>{void 0!==e&&(l(e.value),_(!0))};return(0,a.useLayoutEffect)(()=>{b&&p.current?.focus()},[b]),(0,a.useLayoutEffect)(()=>{b&&v.current?.querySelector(`[data-index="${y}"]`)?.scrollIntoView({block:"nearest"})},[b,y]),(0,a.useEffect)(()=>{if(!b)return;let e=e=>{e.target instanceof Node&&!f.current?.contains(e.target)&&_(!1)};return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e)},[b]),(0,t.jsxs)("div",{className:(0,r.f)("relative",u),ref:f,children:[(0,t.jsxs)("button",{"aria-expanded":b,"aria-haspopup":"listbox","aria-label":`${o}: ${$?.label??""}`,className:"flex h-9 w-full items-center gap-2 rounded-md border bg-background px-3 text-sm hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none",onClick:()=>b?_(!1):E(),onKeyDown:e=>{"ArrowDown"!==e.key||b||(e.preventDefault(),E())},ref:g,type:"button",children:[$?.leading,(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-left",children:$?.label}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"size-4 shrink-0 text-muted-foreground",...n,children:(0,t.jsx)("path",{d:"m7 15 5 5 5-5M7 9l5-5 5 5"})})]}),b?(0,t.jsxs)("div",{className:"absolute top-[calc(100%+4px)] right-0 z-50 flex w-[min(20rem,calc(100vw-2rem))] flex-col overflow-hidden rounded-lg border bg-card text-card-foreground shadow-lg motion-safe:animate-[popover-in_120ms_ease-out]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 border-b px-3",children:[(0,t.jsxs)("svg",{"aria-hidden":"true",className:"size-4 shrink-0 text-muted-foreground",...n,children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,t.jsx)("path",{d:"m20 20-3.5-3.5"})]}),(0,t.jsx)("input",{"aria-activedescendant":void 0===S[y]?void 0:h(y),"aria-autocomplete":"list","aria-controls":x,"aria-expanded":"true","aria-label":d,className:"h-10 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground",onChange:e=>{N(e.target.value),k(0)},onKeyDown:e=>{let t=S.length-1,a=a=>{e.preventDefault(),k(Math.min(Math.max(a,0),Math.max(t,0)))};switch(e.key){case"ArrowDown":return a(y+1);case"ArrowUp":return a(y-1);case"Home":return a(0);case"End":return a(t);case"PageDown":return a(y+8);case"PageUp":return a(y-8);case"Enter":return e.preventDefault(),C(S[y]);case"Escape":return e.preventDefault(),e.stopPropagation(),_(!0);case"Tab":return _(!1)}},placeholder:d,ref:p,role:"combobox",value:w})]}),(0,t.jsxs)("ul",{"aria-label":o,className:"max-h-[min(18rem,50dvh)] overflow-y-auto overscroll-contain p-1",id:x,ref:v,role:"listbox",children:[0===S.length?(0,t.jsx)("li",{className:"px-2 py-6 text-center text-sm text-muted-foreground",children:c}):S.map((e,a)=>(0,t.jsxs)("li",{"aria-selected":e.value===i,className:(0,r.f)("flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm select-none",a===y&&"bg-muted"),"data-index":a,id:h(a),onMouseDown:e=>e.preventDefault(),onClick:()=>C(e),onPointerMove:()=>k(a),role:"option",children:[e.leading,(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:e.label}),void 0===e.detail?null:(0,t.jsx)("span",{className:"shrink-0 text-xs text-muted-foreground",children:e.detail}),(0,t.jsx)("svg",{"aria-hidden":"true",className:(0,r.f)("size-4 shrink-0",e.value!==i&&"invisible"),...n,children:(0,t.jsx)("path",{d:"M20 6 9 17l-5-5"})})]},e.value)),M.length>S.length?(0,t.jsxs)("li",{className:"px-2 py-2 text-center text-xs text-muted-foreground",role:"presentation",children:[(M.length-S.length).toLocaleString()," more: type to narrow"]}):null]})]}):null]})}],44946),e.s(["f",0,(e,t)=>{let s=(0,a.useRef)(null),r=(0,a.useRef)(t),[n,i]=(0,a.useState)(()=>({start:0,end:Math.min(e,30)})),[l,o]=(0,a.useState)(t),d=(0,a.useCallback)(()=>{var t;let a,n=s.current;if(null===n)return;let l=n.querySelector("[data-row]")?.getBoundingClientRect().height;void 0!==l&&l>0&&Math.abs(l-r.current)>.5&&(r.current=l,o(l));let d={start:a=Math.min((t={top:-n.getBoundingClientRect().top,height:window.innerHeight,rowHeight:r.current,count:e,overscan:8}).count,Math.max(0,Math.floor(t.top/t.rowHeight)-t.overscan)),end:Math.max(a,Math.min(t.count,Math.max(0,Math.ceil((t.top+t.height)/t.rowHeight)+t.overscan)))};i(e=>e.start===d.start&&e.end===d.end?e:d)},[e]);(0,a.useLayoutEffect)(d,[d]),(0,a.useEffect)(()=>{let e=0,t=()=>{0===e&&(e=requestAnimationFrame(()=>{e=0,d()}))};return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),()=>{cancelAnimationFrame(e),window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[d]);let c=(0,a.useCallback)(e=>{let t=s.current;if(null===t)return;let a=t.getBoundingClientRect().top+e*r.current;(a<0||a+r.current>window.innerHeight)&&window.scrollBy({top:a-window.innerHeight/2+r.current/2}),d()},[d]);return{body:s,range:n,rowHeight:l,reveal:c}}],86224)},29164,e=>{"use strict";var t=e.i(94115),a=e.i(52088);e.s(["s",0,({className:e,containerClassName:s="overflow-x-auto",...r})=>(0,t.jsx)("div",{"data-slot":"table-container",className:(0,a.f)("relative w-full",s),children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.f)("w-full caption-bottom text-sm",e),...r})}),"z",0,({className:e,...s})=>(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.f)("[&_tr:last-child]:border-0",e),...s}),"d",0,({className:e,...s})=>(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.f)("p-2 align-middle whitespace-nowrap",e),...s}),"U",0,({className:e,...s})=>(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.f)("h-9 px-2 text-left align-middle font-medium whitespace-nowrap text-muted-foreground",e),...s}),"E",0,({className:e,...s})=>(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.f)("[&_tr]:border-b",e),...s}),"N",0,({className:e,...s})=>(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.f)("border-b transition-colors hover:bg-muted/50",e),...s})])},16634,e=>{"use strict";var t=e.i(6655);let a=()=>"function"==typeof document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;e.s(["J",0,a,"Z",0,(e,s={})=>{if(!a()){(0,t.flushSync)(e),s.updated?.(),s.after?.();return}s.before?.(),document.startViewTransition(()=>{(0,t.flushSync)(e),s.updated?.()}).finished.finally(()=>s.after?.())}])}]);