station-kit 1.0.5 → 1.0.7

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 (122) hide show
  1. package/.next/standalone/node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js +72 -0
  2. package/.next/standalone/node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/package.json +19 -0
  3. package/.next/standalone/node_modules/.pnpm/source-map-support@0.5.21/node_modules/source-map-support/package.json +31 -0
  4. package/.next/standalone/node_modules/.pnpm/source-map-support@0.5.21/node_modules/source-map-support/source-map-support.js +625 -0
  5. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js +121 -0
  6. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js +140 -0
  7. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js +67 -0
  8. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js +111 -0
  9. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js +79 -0
  10. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js +114 -0
  11. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  12. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js +425 -0
  13. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js +413 -0
  14. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js +488 -0
  15. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/package.json +73 -0
  16. package/.next/standalone/node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js +8 -0
  17. package/.next/standalone/package.json +2 -1
  18. package/.next/standalone/packages/station-kit/.next/BUILD_ID +1 -1
  19. package/.next/standalone/packages/station-kit/.next/app-build-manifest.json +17 -17
  20. package/.next/standalone/packages/station-kit/.next/app-path-routes-manifest.json +5 -5
  21. package/.next/standalone/packages/station-kit/.next/build-manifest.json +2 -2
  22. package/.next/standalone/packages/station-kit/.next/prerender-manifest.json +6 -6
  23. package/.next/standalone/packages/station-kit/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  24. package/.next/standalone/packages/station-kit/.next/server/app/_not-found.html +1 -1
  25. package/.next/standalone/packages/station-kit/.next/server/app/_not-found.rsc +7 -7
  26. package/.next/standalone/packages/station-kit/.next/server/app/broadcasts/[id]/page.js +1 -1
  27. package/.next/standalone/packages/station-kit/.next/server/app/broadcasts/[id]/page_client-reference-manifest.js +1 -1
  28. package/.next/standalone/packages/station-kit/.next/server/app/broadcasts/page_client-reference-manifest.js +1 -1
  29. package/.next/standalone/packages/station-kit/.next/server/app/broadcasts.html +1 -1
  30. package/.next/standalone/packages/station-kit/.next/server/app/broadcasts.rsc +8 -8
  31. package/.next/standalone/packages/station-kit/.next/server/app/index.html +1 -1
  32. package/.next/standalone/packages/station-kit/.next/server/app/index.rsc +8 -8
  33. package/.next/standalone/packages/station-kit/.next/server/app/page_client-reference-manifest.js +1 -1
  34. package/.next/standalone/packages/station-kit/.next/server/app/runs/[id]/page.js +2 -2
  35. package/.next/standalone/packages/station-kit/.next/server/app/runs/[id]/page_client-reference-manifest.js +1 -1
  36. package/.next/standalone/packages/station-kit/.next/server/app/settings/page.js +2 -2
  37. package/.next/standalone/packages/station-kit/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  38. package/.next/standalone/packages/station-kit/.next/server/app/settings.html +1 -1
  39. package/.next/standalone/packages/station-kit/.next/server/app/settings.rsc +8 -8
  40. package/.next/standalone/packages/station-kit/.next/server/app/signals/[name]/page_client-reference-manifest.js +1 -1
  41. package/.next/standalone/packages/station-kit/.next/server/app/signals/page_client-reference-manifest.js +1 -1
  42. package/.next/standalone/packages/station-kit/.next/server/app/signals.html +1 -1
  43. package/.next/standalone/packages/station-kit/.next/server/app/signals.rsc +8 -8
  44. package/.next/standalone/packages/station-kit/.next/server/app-paths-manifest.json +5 -5
  45. package/.next/standalone/packages/station-kit/.next/server/chunks/102.js +1 -1
  46. package/.next/standalone/packages/station-kit/.next/server/pages/404.html +1 -1
  47. package/.next/standalone/packages/station-kit/.next/server/pages/500.html +1 -1
  48. package/.next/standalone/packages/station-kit/.next/static/chunks/app/broadcasts/[id]/page-a0a20cccda13a0e9.js +1 -0
  49. package/.next/standalone/packages/station-kit/.next/static/chunks/app/broadcasts/page-937eb876f9087bc9.js +1 -0
  50. package/.next/standalone/packages/station-kit/.next/static/chunks/app/layout-68cd71116ba65cd8.js +1 -0
  51. package/.next/standalone/packages/station-kit/.next/static/chunks/app/page-70b0c0958c03459a.js +1 -0
  52. package/.next/standalone/packages/station-kit/.next/static/chunks/app/runs/[id]/page-01f8040619fe56c5.js +1 -0
  53. package/.next/standalone/packages/station-kit/.next/static/chunks/app/settings/page-beac11049f90da31.js +1 -0
  54. package/.next/standalone/packages/station-kit/.next/static/chunks/app/signals/[name]/page-931e6a38a4a53d25.js +1 -0
  55. package/.next/standalone/packages/station-kit/.next/static/chunks/app/signals/page-6a123a355d93fec5.js +1 -0
  56. package/.next/standalone/packages/station-kit/package.json +12 -11
  57. package/dist/cli/deploy.d.ts +2 -0
  58. package/dist/cli/deploy.d.ts.map +1 -0
  59. package/dist/cli/deploy.js +287 -0
  60. package/dist/cli/deploy.js.map +1 -0
  61. package/dist/cli/parse-args.d.ts +13 -0
  62. package/dist/cli/parse-args.d.ts.map +1 -0
  63. package/dist/cli/parse-args.js +77 -0
  64. package/dist/cli/parse-args.js.map +1 -0
  65. package/dist/cli-main.js +28 -1
  66. package/dist/cli-main.js.map +1 -1
  67. package/dist/cli.js +1 -1
  68. package/dist/cli.js.map +1 -1
  69. package/dist/config/loader.d.ts +1 -1
  70. package/dist/config/loader.d.ts.map +1 -1
  71. package/dist/config/loader.js +7 -3
  72. package/dist/config/loader.js.map +1 -1
  73. package/dist/config/schema.d.ts +5 -0
  74. package/dist/config/schema.d.ts.map +1 -1
  75. package/dist/config/schema.js +22 -3
  76. package/dist/config/schema.js.map +1 -1
  77. package/dist/index.d.ts +1 -1
  78. package/dist/index.d.ts.map +1 -1
  79. package/dist/server/index.d.ts.map +1 -1
  80. package/dist/server/index.js +6 -4
  81. package/dist/server/index.js.map +1 -1
  82. package/dist/server/routes/broadcasts.d.ts.map +1 -1
  83. package/dist/server/routes/broadcasts.js +23 -0
  84. package/dist/server/routes/broadcasts.js.map +1 -1
  85. package/dist/server/routes/runs.d.ts +2 -0
  86. package/dist/server/routes/runs.d.ts.map +1 -1
  87. package/dist/server/routes/runs.js +66 -0
  88. package/dist/server/routes/runs.js.map +1 -1
  89. package/dist/server/routes/v1/trigger.d.ts +2 -1
  90. package/dist/server/routes/v1/trigger.d.ts.map +1 -1
  91. package/dist/server/routes/v1/trigger.js +88 -0
  92. package/dist/server/routes/v1/trigger.js.map +1 -1
  93. package/dist/station-dir.d.ts +7 -0
  94. package/dist/station-dir.d.ts.map +1 -0
  95. package/dist/station-dir.js +15 -0
  96. package/dist/station-dir.js.map +1 -0
  97. package/package.json +9 -8
  98. package/src/app/broadcasts/[id]/broadcast-detail.tsx +22 -1
  99. package/src/app/hooks/use-api.ts +3 -0
  100. package/src/app/runs/[id]/run-detail.tsx +45 -1
  101. package/src/cli/deploy.ts +334 -0
  102. package/src/cli/parse-args.ts +99 -0
  103. package/src/cli-main.ts +28 -1
  104. package/src/cli.ts +1 -1
  105. package/src/config/loader.ts +7 -3
  106. package/src/config/schema.ts +29 -3
  107. package/src/index.ts +1 -1
  108. package/src/server/index.ts +7 -4
  109. package/src/server/routes/broadcasts.ts +24 -0
  110. package/src/server/routes/runs.ts +76 -0
  111. package/src/server/routes/v1/trigger.ts +105 -1
  112. package/src/station-dir.ts +24 -0
  113. package/.next/standalone/packages/station-kit/.next/static/chunks/app/broadcasts/[id]/page-a41371d946262e43.js +0 -1
  114. package/.next/standalone/packages/station-kit/.next/static/chunks/app/broadcasts/page-1b9fa68dcc219e1d.js +0 -1
  115. package/.next/standalone/packages/station-kit/.next/static/chunks/app/layout-9d37f15ea4fdcabf.js +0 -1
  116. package/.next/standalone/packages/station-kit/.next/static/chunks/app/page-0c92bbc0acac1025.js +0 -1
  117. package/.next/standalone/packages/station-kit/.next/static/chunks/app/runs/[id]/page-87e302dcd2f7516b.js +0 -1
  118. package/.next/standalone/packages/station-kit/.next/static/chunks/app/settings/page-39f130df9a05bf2b.js +0 -1
  119. package/.next/standalone/packages/station-kit/.next/static/chunks/app/signals/[name]/page-215ec395e232fb36.js +0 -1
  120. package/.next/standalone/packages/station-kit/.next/static/chunks/app/signals/page-35b38b909a017693.js +0 -1
  121. /package/.next/standalone/packages/station-kit/.next/static/{_qcazCz3yLLsuU53Qtacw → pHHaxeGaet0VW1dhcIcuY}/_buildManifest.js +0 -0
  122. /package/.next/standalone/packages/station-kit/.next/static/{_qcazCz3yLLsuU53Qtacw → pHHaxeGaet0VW1dhcIcuY}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/signals/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"783":{"*":{"id":"1985","name":"*","chunks":[],"async":false}},"1308":{"*":{"id":"4576","name":"*","chunks":[],"async":false}},"1961":{"*":{"id":"2167","name":"*","chunks":[],"async":false}},"2051":{"*":{"id":"2455","name":"*","chunks":[],"async":false}},"2638":{"*":{"id":"678","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"611","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"5519","name":"*","chunks":[],"async":false}},"4521":{"*":{"id":"1494","name":"*","chunks":[],"async":false}},"4913":{"*":{"id":"291","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"4978","name":"*","chunks":[],"async":false}},"5152":{"*":{"id":"3726","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"5506","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"4450","name":"*","chunks":[],"async":false}},"6537":{"*":{"id":"7506","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"7034","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"576","name":"*","chunks":[],"async":false}},"8419":{"*":{"id":"8833","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"6358","name":"*","chunks":[],"async":false}},"9103":{"*":{"id":"7140","name":"*","chunks":[],"async":false}},"9129":{"*":{"id":"5226","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"6273","name":"*","chunks":[],"async":false}},"9976":{"*":{"id":"1736","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7698,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7698,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":3339,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":3339,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":4033,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4033,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":5754,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":5754,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":8954,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":8954,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":6658,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":6658,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":5640,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":5640,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":2051,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":2051,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/auth-provider.tsx":{"id":783,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/breadcrumb-provider.tsx":{"id":5152,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/login-page.tsx":{"id":1308,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/shell.tsx":{"id":1961,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/theme-provider.tsx":{"id":9129,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/globals.css":{"id":9469,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/hooks/use-station.tsx":{"id":9275,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/signals/[name]/signal-detail.tsx":{"id":2638,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/broadcasts/[id]/broadcast-detail.tsx":{"id":6537,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/runs/[id]/run-detail.tsx":{"id":9103,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/signals/page.tsx":{"id":4913,"name":"*","chunks":["764","static/chunks/app/signals/page-35b38b909a017693.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/broadcasts/page.tsx":{"id":9976,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/settings/page.tsx":{"id":4521,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/page.tsx":{"id":8419,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","974","static/chunks/app/page-0c92bbc0acac1025.js"],"async":false}},"entryCSSFiles":{"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/":[],"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/layout":[{"inlined":false,"path":"static/css/0be0e65a5f561f37.css"}],"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/page":[],"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/signals/page":[]},"rscModuleMapping":{"783":{"*":{"id":"3087","name":"*","chunks":[],"async":false}},"1308":{"*":{"id":"4562","name":"*","chunks":[],"async":false}},"1961":{"*":{"id":"6825","name":"*","chunks":[],"async":false}},"2051":{"*":{"id":"5273","name":"*","chunks":[],"async":false}},"2638":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"5701","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"8709","name":"*","chunks":[],"async":false}},"4521":{"*":{"id":"9845","name":"*","chunks":[],"async":false}},"4913":{"*":{"id":"5453","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"1824","name":"*","chunks":[],"async":false}},"5152":{"*":{"id":"8728","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"1968","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"492","name":"*","chunks":[],"async":false}},"6537":{"*":{"id":"5026","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"5800","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"2714","name":"*","chunks":[],"async":false}},"8419":{"*":{"id":"1727","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"3012","name":"*","chunks":[],"async":false}},"9103":{"*":{"id":"7702","name":"*","chunks":[],"async":false}},"9129":{"*":{"id":"4556","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"5295","name":"*","chunks":[],"async":false}},"9469":{"*":{"id":"4267","name":"*","chunks":[],"async":false}},"9976":{"*":{"id":"1006","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"2051":{"*":{"id":"2455","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"611","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"5519","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"4978","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"5506","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"4450","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"7034","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"576","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"6358","name":"*","chunks":[],"async":false}}}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/signals/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"783":{"*":{"id":"1985","name":"*","chunks":[],"async":false}},"1308":{"*":{"id":"4576","name":"*","chunks":[],"async":false}},"1961":{"*":{"id":"2167","name":"*","chunks":[],"async":false}},"2051":{"*":{"id":"2455","name":"*","chunks":[],"async":false}},"2638":{"*":{"id":"678","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"611","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"5519","name":"*","chunks":[],"async":false}},"4521":{"*":{"id":"1494","name":"*","chunks":[],"async":false}},"4913":{"*":{"id":"291","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"4978","name":"*","chunks":[],"async":false}},"5152":{"*":{"id":"3726","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"5506","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"4450","name":"*","chunks":[],"async":false}},"6537":{"*":{"id":"7506","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"7034","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"576","name":"*","chunks":[],"async":false}},"8419":{"*":{"id":"8833","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"6358","name":"*","chunks":[],"async":false}},"9103":{"*":{"id":"7140","name":"*","chunks":[],"async":false}},"9129":{"*":{"id":"5226","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"6273","name":"*","chunks":[],"async":false}},"9976":{"*":{"id":"1736","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7698,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7698,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":3339,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":3339,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":4033,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4033,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":5754,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":5754,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":8954,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":8954,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":6658,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":6658,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":5640,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":5640,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":2051,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":2051,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/node_modules/.pnpm/next@15.5.12_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/auth-provider.tsx":{"id":783,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/breadcrumb-provider.tsx":{"id":5152,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/login-page.tsx":{"id":1308,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/shell.tsx":{"id":1961,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/theme-provider.tsx":{"id":9129,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/globals.css":{"id":9469,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/hooks/use-station.tsx":{"id":9275,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/broadcasts/[id]/broadcast-detail.tsx":{"id":6537,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/page.tsx":{"id":8419,"name":"*","chunks":["580","static/chunks/580-f007f4d4c050db4e.js","974","static/chunks/app/page-70b0c0958c03459a.js"],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/settings/page.tsx":{"id":4521,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/broadcasts/page.tsx":{"id":9976,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/runs/[id]/run-detail.tsx":{"id":9103,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/signals/[name]/signal-detail.tsx":{"id":2638,"name":"*","chunks":[],"async":false},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/signals/page.tsx":{"id":4913,"name":"*","chunks":["764","static/chunks/app/signals/page-6a123a355d93fec5.js"],"async":false}},"entryCSSFiles":{"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/":[],"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/layout":[{"inlined":false,"path":"static/css/0be0e65a5f561f37.css"}],"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/page":[],"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/signals/page":[]},"rscModuleMapping":{"783":{"*":{"id":"3087","name":"*","chunks":[],"async":false}},"1308":{"*":{"id":"4562","name":"*","chunks":[],"async":false}},"1961":{"*":{"id":"6825","name":"*","chunks":[],"async":false}},"2051":{"*":{"id":"5273","name":"*","chunks":[],"async":false}},"2638":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"5701","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"8709","name":"*","chunks":[],"async":false}},"4521":{"*":{"id":"6988","name":"*","chunks":[],"async":false}},"4913":{"*":{"id":"5453","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"1824","name":"*","chunks":[],"async":false}},"5152":{"*":{"id":"8728","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"1968","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"492","name":"*","chunks":[],"async":false}},"6537":{"*":{"id":"5026","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"5800","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"2714","name":"*","chunks":[],"async":false}},"8419":{"*":{"id":"1727","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"3012","name":"*","chunks":[],"async":false}},"9103":{"*":{"id":"7702","name":"*","chunks":[],"async":false}},"9129":{"*":{"id":"4556","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"5295","name":"*","chunks":[],"async":false}},"9469":{"*":{"id":"4267","name":"*","chunks":[],"async":false}},"9976":{"*":{"id":"1006","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"2051":{"*":{"id":"2455","name":"*","chunks":[],"async":false}},"3339":{"*":{"id":"611","name":"*","chunks":[],"async":false}},"4033":{"*":{"id":"5519","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"4978","name":"*","chunks":[],"async":false}},"5640":{"*":{"id":"5506","name":"*","chunks":[],"async":false}},"5754":{"*":{"id":"4450","name":"*","chunks":[],"async":false}},"6658":{"*":{"id":"7034","name":"*","chunks":[],"async":false}},"7698":{"*":{"id":"576","name":"*","chunks":[],"async":false}},"8954":{"*":{"id":"6358","name":"*","chunks":[],"async":false}}}}
@@ -1 +1 @@
1
- <!DOCTYPE html><!--_qcazCz3yLLsuU53Qtacw--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/0be0e65a5f561f37.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-e40b05d6bdcb3589.js"/><script src="/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/_next/static/chunks/743-33720d133c383396.js" async=""></script><script src="/_next/static/chunks/main-app-a9f19d5831b41b19.js" async=""></script><script src="/_next/static/chunks/580-f007f4d4c050db4e.js" async=""></script><script src="/_next/static/chunks/app/layout-9d37f15ea4fdcabf.js" async=""></script><script src="/_next/static/chunks/app/signals/page-35b38b909a017693.js" async=""></script><title>Station</title><meta name="description" content="Dashboard for station-signal"/><script>(function(){try{var t=localStorage.getItem("station-theme");if(t==="dark"||t==="light"){document.documentElement.setAttribute("data-theme",t)}else if(window.matchMedia("(prefers-color-scheme:dark)").matches){document.documentElement.setAttribute("data-theme","dark")}else{document.documentElement.setAttribute("data-theme","light")}}catch(e){document.documentElement.setAttribute("data-theme","light")}})()</script><link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&amp;family=IBM+Plex+Mono:wght@400;500&amp;family=Space+Grotesk:wght@300;400;500&amp;display=swap" rel="stylesheet"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script src="/_next/static/chunks/webpack-e40b05d6bdcb3589.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9129,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"ThemeProvider\"]\n3:I[783,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"AuthProvider\"]\n4:I[1308,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"LoginPage\"]\n5:I[9275,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"StationProvider\"]\n6:I[5152,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"BreadcrumbProvider\"]\n7:I[1961,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"Shell\"]\n8:I[8954,[],\"\"]\n9:I[5640,[],\"\"]\na:I[3339,[],\"ClientPageRoot\"]\nb:I[4913,[\"764\",\"static/chunks/app/signals/page-35b38b909a017693.js\"],\"default\"]\ne:I[2051,[],\"OutletBoundary\"]\n10:I[6658,[],\"AsyncMetadataOutlet\"]\n12:I[2051,[],\"ViewportBoundary\"]\n14:I[2051,[],\"MetadataBoundary\"]\n15:\"$Sreact.suspense\"\n17:I[7698,[],\"\"]\n:HL[\"/_next/static/css/0be0e65a5f561f37.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"_qcazCz3yLLsuU53Qtacw\",\"p\":\"\",\"c\":[\"\",\"signals\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"signals\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0be0e65a5f561f37.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem(\\\"station-theme\\\");if(t===\\\"dark\\\"||t===\\\"light\\\"){document.documentElement.setAttribute(\\\"data-theme\\\",t)}else if(window.matchMedia(\\\"(prefers-color-scheme:dark)\\\").matches){document.documentElement.setAttribute(\\\"data-theme\\\",\\\"dark\\\")}else{document.documentElement.setAttribute(\\\"data-theme\\\",\\\"light\\\")}}catch(e){document.documentElement.setAttribute(\\\"data-theme\\\",\\\"light\\\")}})()\"}}],[\"$\",\"link\",null,{\"href\":\"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1\u0026family=IBM+Plex+Mono:wght@400;500\u0026family=Space+Grotesk:wght@300;400;500\u0026display=swap\",\"rel\":\"stylesheet\"}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"loginPage\":[\"$\",\"$L4\",null,{}],\"children\":[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",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\"}]}]}]}]}]}]}]]}]]}],{\"children\":[\"signals\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$La\",null,{\"Component\":\"$b\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@c\",\"$@d\"]}],null,[\"$\",\"$Le\",null,{\"children\":[\"$Lf\",[\"$\",\"$L10\",null,{\"promise\":\"$@11\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L12\",null,{\"children\":\"$L13\"}],null],[\"$\",\"$L14\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$15\",null,{\"fallback\":null,\"children\":\"$L16\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$17\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:{}\nd:\"$0:f:0:1:2:children:2:children:1:props:children:0:props:params\"\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nf:null\n"])</script><script>self.__next_f.push([1,"11:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Station\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Dashboard for station-signal\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"16:\"$11:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--pHHaxeGaet0VW1dhcIcuY--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/0be0e65a5f561f37.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-e40b05d6bdcb3589.js"/><script src="/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/_next/static/chunks/743-33720d133c383396.js" async=""></script><script src="/_next/static/chunks/main-app-a9f19d5831b41b19.js" async=""></script><script src="/_next/static/chunks/580-f007f4d4c050db4e.js" async=""></script><script src="/_next/static/chunks/app/layout-68cd71116ba65cd8.js" async=""></script><script src="/_next/static/chunks/app/signals/page-6a123a355d93fec5.js" async=""></script><title>Station</title><meta name="description" content="Dashboard for station-signal"/><script>(function(){try{var t=localStorage.getItem("station-theme");if(t==="dark"||t==="light"){document.documentElement.setAttribute("data-theme",t)}else if(window.matchMedia("(prefers-color-scheme:dark)").matches){document.documentElement.setAttribute("data-theme","dark")}else{document.documentElement.setAttribute("data-theme","light")}}catch(e){document.documentElement.setAttribute("data-theme","light")}})()</script><link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&amp;family=IBM+Plex+Mono:wght@400;500&amp;family=Space+Grotesk:wght@300;400;500&amp;display=swap" rel="stylesheet"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script src="/_next/static/chunks/webpack-e40b05d6bdcb3589.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9129,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"ThemeProvider\"]\n3:I[783,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"AuthProvider\"]\n4:I[1308,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"LoginPage\"]\n5:I[9275,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"StationProvider\"]\n6:I[5152,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"BreadcrumbProvider\"]\n7:I[1961,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"Shell\"]\n8:I[8954,[],\"\"]\n9:I[5640,[],\"\"]\na:I[3339,[],\"ClientPageRoot\"]\nb:I[4913,[\"764\",\"static/chunks/app/signals/page-6a123a355d93fec5.js\"],\"default\"]\ne:I[2051,[],\"OutletBoundary\"]\n10:I[6658,[],\"AsyncMetadataOutlet\"]\n12:I[2051,[],\"ViewportBoundary\"]\n14:I[2051,[],\"MetadataBoundary\"]\n15:\"$Sreact.suspense\"\n17:I[7698,[],\"\"]\n:HL[\"/_next/static/css/0be0e65a5f561f37.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"pHHaxeGaet0VW1dhcIcuY\",\"p\":\"\",\"c\":[\"\",\"signals\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"signals\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0be0e65a5f561f37.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem(\\\"station-theme\\\");if(t===\\\"dark\\\"||t===\\\"light\\\"){document.documentElement.setAttribute(\\\"data-theme\\\",t)}else if(window.matchMedia(\\\"(prefers-color-scheme:dark)\\\").matches){document.documentElement.setAttribute(\\\"data-theme\\\",\\\"dark\\\")}else{document.documentElement.setAttribute(\\\"data-theme\\\",\\\"light\\\")}}catch(e){document.documentElement.setAttribute(\\\"data-theme\\\",\\\"light\\\")}})()\"}}],[\"$\",\"link\",null,{\"href\":\"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1\u0026family=IBM+Plex+Mono:wght@400;500\u0026family=Space+Grotesk:wght@300;400;500\u0026display=swap\",\"rel\":\"stylesheet\"}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"loginPage\":[\"$\",\"$L4\",null,{}],\"children\":[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",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\"}]}]}]}]}]}]}]]}]]}],{\"children\":[\"signals\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$La\",null,{\"Component\":\"$b\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@c\",\"$@d\"]}],null,[\"$\",\"$Le\",null,{\"children\":[\"$Lf\",[\"$\",\"$L10\",null,{\"promise\":\"$@11\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L12\",null,{\"children\":\"$L13\"}],null],[\"$\",\"$L14\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$15\",null,{\"fallback\":null,\"children\":\"$L16\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$17\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:{}\nd:\"$0:f:0:1:2:children:2:children:1:props:children:0:props:params\"\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nf:null\n"])</script><script>self.__next_f.push([1,"11:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Station\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Dashboard for station-signal\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"16:\"$11:metadata\"\n"])</script></body></html>
@@ -1,14 +1,14 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[9129,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"ThemeProvider"]
3
- 3:I[783,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"AuthProvider"]
4
- 4:I[1308,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"LoginPage"]
5
- 5:I[9275,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"StationProvider"]
6
- 6:I[5152,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"BreadcrumbProvider"]
7
- 7:I[1961,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-9d37f15ea4fdcabf.js"],"Shell"]
2
+ 2:I[9129,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"ThemeProvider"]
3
+ 3:I[783,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"AuthProvider"]
4
+ 4:I[1308,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"LoginPage"]
5
+ 5:I[9275,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"StationProvider"]
6
+ 6:I[5152,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"BreadcrumbProvider"]
7
+ 7:I[1961,["580","static/chunks/580-f007f4d4c050db4e.js","177","static/chunks/app/layout-68cd71116ba65cd8.js"],"Shell"]
8
8
  8:I[8954,[],""]
9
9
  9:I[5640,[],""]
10
10
  a:I[3339,[],"ClientPageRoot"]
11
- b:I[4913,["764","static/chunks/app/signals/page-35b38b909a017693.js"],"default"]
11
+ b:I[4913,["764","static/chunks/app/signals/page-6a123a355d93fec5.js"],"default"]
12
12
  e:I[2051,[],"OutletBoundary"]
13
13
  10:I[6658,[],"AsyncMetadataOutlet"]
14
14
  12:I[2051,[],"ViewportBoundary"]
@@ -16,7 +16,7 @@ e:I[2051,[],"OutletBoundary"]
16
16
  15:"$Sreact.suspense"
17
17
  17:I[7698,[],""]
18
18
  :HL["/_next/static/css/0be0e65a5f561f37.css","style"]
19
- 0:{"P":null,"b":"_qcazCz3yLLsuU53Qtacw","p":"","c":["","signals"],"i":false,"f":[[["",{"children":["signals",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/0be0e65a5f561f37.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem(\"station-theme\");if(t===\"dark\"||t===\"light\"){document.documentElement.setAttribute(\"data-theme\",t)}else if(window.matchMedia(\"(prefers-color-scheme:dark)\").matches){document.documentElement.setAttribute(\"data-theme\",\"dark\")}else{document.documentElement.setAttribute(\"data-theme\",\"light\")}}catch(e){document.documentElement.setAttribute(\"data-theme\",\"light\")}})()"}}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@300;400;500&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"loginPage":["$","$L4",null,{}],"children":["$","$L5",null,{"children":["$","$L6",null,{"children":["$","$L7",null,{"children":["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",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"}]}]}]}]}]}]}]]}]]}],{"children":["signals",["$","$1","c",{"children":[null,["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":{},"promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":["$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L12",null,{"children":"$L13"}],null],["$","$L14",null,{"children":["$","div",null,{"hidden":true,"children":["$","$15",null,{"fallback":null,"children":"$L16"}]}]}]]}],false]],"m":"$undefined","G":["$17",[]],"s":false,"S":true}
19
+ 0:{"P":null,"b":"pHHaxeGaet0VW1dhcIcuY","p":"","c":["","signals"],"i":false,"f":[[["",{"children":["signals",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/0be0e65a5f561f37.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem(\"station-theme\");if(t===\"dark\"||t===\"light\"){document.documentElement.setAttribute(\"data-theme\",t)}else if(window.matchMedia(\"(prefers-color-scheme:dark)\").matches){document.documentElement.setAttribute(\"data-theme\",\"dark\")}else{document.documentElement.setAttribute(\"data-theme\",\"light\")}}catch(e){document.documentElement.setAttribute(\"data-theme\",\"light\")}})()"}}],["$","link",null,{"href":"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@300;400;500&display=swap","rel":"stylesheet"}]]}],["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"loginPage":["$","$L4",null,{}],"children":["$","$L5",null,{"children":["$","$L6",null,{"children":["$","$L7",null,{"children":["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",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"}]}]}]}]}]}]}]]}]]}],{"children":["signals",["$","$1","c",{"children":[null,["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":{},"promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":["$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L12",null,{"children":"$L13"}],null],["$","$L14",null,{"children":["$","div",null,{"hidden":true,"children":["$","$15",null,{"fallback":null,"children":"$L16"}]}]}]]}],false]],"m":"$undefined","G":["$17",[]],"s":false,"S":true}
20
20
  c:{}
21
21
  d:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params"
22
22
  13:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "/_not-found/page": "app/_not-found/page.js",
3
- "/signals/[name]/page": "app/signals/[name]/page.js",
4
3
  "/broadcasts/[id]/page": "app/broadcasts/[id]/page.js",
5
- "/runs/[id]/page": "app/runs/[id]/page.js",
6
- "/signals/page": "app/signals/page.js",
7
- "/broadcasts/page": "app/broadcasts/page.js",
4
+ "/page": "app/page.js",
8
5
  "/settings/page": "app/settings/page.js",
9
- "/page": "app/page.js"
6
+ "/broadcasts/page": "app/broadcasts/page.js",
7
+ "/runs/[id]/page": "app/runs/[id]/page.js",
8
+ "/signals/[name]/page": "app/signals/[name]/page.js",
9
+ "/signals/page": "app/signals/page.js"
10
10
  }
@@ -1 +1 @@
1
- exports.id=102,exports.ids=[102],exports.modules={1985:(a,b,c)=>{"use strict";c.d(b,{A:()=>h,AuthProvider:()=>i,S:()=>k});var d=c(2164),e=c(4509),f=c(4995);let g=(0,e.createContext)({authenticated:!0,logout:async()=>{}});function h(){return(0,e.useContext)(g)}function i({children:a,loginPage:b}){let[c,h]=(0,e.useState)("loading"),i=(0,e.useCallback)(async()=>{await (0,f.ri)(),h("unauthenticated")},[]),j=(0,e.useCallback)(()=>{h("authenticated")},[]);return"loading"===c?null:"unauthenticated"===c?(0,d.jsx)(l,{onSuccess:j,children:b}):(0,d.jsx)(g.Provider,{value:{authenticated:!0,logout:i},children:a})}let j=(0,e.createContext)(()=>{});function k(){return(0,e.useContext)(j)}function l({children:a,onSuccess:b}){return(0,d.jsx)(j.Provider,{value:b,children:a})}},2167:(a,b,c)=>{"use strict";c.d(b,{Shell:()=>t});var d=c(2164),e=c(4509),f=c(5543),g=c.n(f),h=c(6170),i=c(6273),j=c(8770),k=c(5226),l=c(1985);function m(){return!1}function n({size:a=20}){return(0,d.jsxs)("svg",{width:a,height:a,viewBox:"0 0 100 100",fill:"none","aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M50 2 L39 25 L27 50 L18 70 L10 88 L90 88 L82 70 L73 50 L61 25 Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("line",{x1:"50",y1:"2",x2:"50",y2:"88",stroke:"currentColor",strokeWidth:"1"}),(0,d.jsx)("line",{x1:"16",y1:"70",x2:"84",y2:"70",stroke:"currentColor",strokeWidth:"1.2"}),(0,d.jsx)("line",{x1:"39",y1:"25",x2:"61",y2:"25",stroke:"currentColor",strokeWidth:"0.8"}),(0,d.jsx)("line",{x1:"27",y1:"50",x2:"73",y2:"50",stroke:"currentColor",strokeWidth:"0.8"}),(0,d.jsx)("rect",{x:"43",y:"88",width:"14",height:"5",fill:"currentColor",opacity:"0.5"}),(0,d.jsx)("circle",{cx:"50",cy:"2",r:"1.5",fill:"currentColor"})]})}function o(){return(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":"true",children:[(0,d.jsx)("rect",{x:"1",y:"1",width:"5",height:"5",rx:"1"}),(0,d.jsx)("rect",{x:"8",y:"1",width:"5",height:"5",rx:"1"}),(0,d.jsx)("rect",{x:"1",y:"8",width:"5",height:"5",rx:"1"}),(0,d.jsx)("rect",{x:"8",y:"8",width:"5",height:"5",rx:"1"})]})}function p(){return(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round","aria-hidden":"true",children:[(0,d.jsx)("circle",{cx:"7",cy:"12",r:"1",fill:"currentColor",stroke:"none"}),(0,d.jsx)("path",{d:"M4.5 10a3.5 3.5 0 0 1 5 0"}),(0,d.jsx)("path",{d:"M2.5 8a6 6 0 0 1 9 0"}),(0,d.jsx)("path",{d:"M0.5 6a8.5 8.5 0 0 1 13 0"})]})}function q(){return(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":"true",children:[(0,d.jsx)("circle",{cx:"7",cy:"2.5",r:"1.5"}),(0,d.jsx)("circle",{cx:"3",cy:"11.5",r:"1.5"}),(0,d.jsx)("circle",{cx:"11",cy:"11.5",r:"1.5"}),(0,d.jsx)("line",{x1:"6.2",y1:"3.8",x2:"3.8",y2:"10"}),(0,d.jsx)("line",{x1:"7.8",y1:"3.8",x2:"10.2",y2:"10"})]})}function r(){return(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round","aria-hidden":"true",children:[(0,d.jsx)("circle",{cx:"7",cy:"7",r:"2"}),(0,d.jsx)("path",{d:"M7 1v1.5M7 11.5V13M1 7h1.5M11.5 7H13M2.76 2.76l1.06 1.06M10.18 10.18l1.06 1.06M2.76 11.24l1.06-1.06M10.18 3.82l1.06-1.06"})]})}function s({href:a,label:b,section:c,icon:e}){let f=(0,h.usePathname)(),{activeSection:i}=(0,j.iQ)(),k=i?i===c:"/"===a?"/"===f:f.startsWith(a);return(0,d.jsxs)(g(),{href:a,className:k?"active":"",children:[e,(0,d.jsx)("span",{className:"nav-label",children:b})]})}function t({children:a}){let{connected:b}=(0,i.q)(),{segments:c}=(0,j.iQ)(),{theme:f,toggle:h}=(0,k.D)(),{logout:t}=(0,l.A)(),[u,v]=(0,e.useState)(m),w=(0,e.useCallback)(()=>{v(a=>{let b=!a;return localStorage.setItem("station-sidebar",b?"collapsed":"expanded"),b})},[]);return(0,d.jsxs)("div",{className:"station-layout","data-collapsed":u,children:[(0,d.jsxs)("aside",{className:"station-sidebar",children:[(0,d.jsxs)("div",{className:"station-sidebar-logo",children:[(0,d.jsxs)("div",{className:"station-sidebar-mark",children:[(0,d.jsx)(n,{size:20}),(0,d.jsx)("h1",{children:"Station"})]}),(0,d.jsx)("span",{children:"station-signal"})]}),(0,d.jsxs)("nav",{className:"station-sidebar-nav",children:[(0,d.jsx)("div",{className:"station-sidebar-nav-label",children:"Nav"}),(0,d.jsx)(s,{href:"/",label:"Overview",section:"overview",icon:(0,d.jsx)(o,{})}),(0,d.jsx)(s,{href:"/signals",label:"Signals",section:"signals",icon:(0,d.jsx)(p,{})}),(0,d.jsx)(s,{href:"/broadcasts",label:"Broadcasts",section:"broadcasts",icon:(0,d.jsx)(q,{})}),(0,d.jsx)("div",{className:"station-sidebar-nav-label",style:{marginTop:"1rem"},children:"Admin"}),(0,d.jsx)(s,{href:"/settings",label:"Settings",section:"settings",icon:(0,d.jsx)(r,{})})]}),(0,d.jsx)("button",{className:"sidebar-collapse-btn",onClick:w,title:u?"Expand sidebar":"Collapse sidebar","aria-label":u?"Expand sidebar":"Collapse sidebar",children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round","aria-hidden":"true",children:u?(0,d.jsx)("polyline",{points:"5 3 9 7 5 11"}):(0,d.jsx)("polyline",{points:"9 3 5 7 9 11"})})})]}),(0,d.jsxs)("div",{className:"station-main",children:[(0,d.jsxs)("header",{className:"station-header",children:[(0,d.jsx)("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:0===c.length?(0,d.jsx)("span",{className:"breadcrumb-segment",children:"overview"}):c.map((a,b)=>(0,d.jsxs)("span",{className:"breadcrumb-item",children:[b>0&&(0,d.jsx)("span",{className:"breadcrumb-sep","aria-hidden":"true",children:"/"}),a.href?(0,d.jsx)(g(),{href:a.href,className:"breadcrumb-link",children:a.label}):(0,d.jsx)("span",{className:"breadcrumb-segment breadcrumb-segment--current","aria-current":"page",children:a.label})]},b))}),(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.75rem"},children:[(0,d.jsx)("button",{onClick:h,className:"theme-toggle",title:"light"===f?"Switch to dark mode":"Switch to light mode","aria-label":"light"===f?"Switch to dark mode":"Switch to light mode",children:"light"===f?(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:(0,d.jsx)("path",{d:"M13.5 8.5a5.5 5.5 0 0 1-7-7A5.5 5.5 0 1 0 13.5 8.5Z"})}):(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[(0,d.jsx)("circle",{cx:"8",cy:"8",r:"3"}),(0,d.jsx)("path",{d:"M8 1v2M8 13v2M1 8h2M13 8h2M3.05 3.05l1.41 1.41M11.54 11.54l1.41 1.41M3.05 12.95l1.41-1.41M11.54 4.46l1.41-1.41"})]})}),(0,d.jsx)("button",{onClick:t,className:"logout-btn",title:"Sign out","aria-label":"Sign out",children:(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:[(0,d.jsx)("path",{d:"M6 2H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3"}),(0,d.jsx)("path",{d:"M10 12l4-4-4-4"}),(0,d.jsx)("line",{x1:"14",y1:"8",x2:"6",y2:"8"})]})}),(0,d.jsx)("div",{className:`pulse-dot ${b?"":"pulse-dot--disconnected"}`,title:b?"Connected":"Disconnected"})]})]}),(0,d.jsx)("main",{className:"station-content",children:a})]})]})}},2648:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>l,metadata:()=>k});var d=c(8098);c(4267);var e=c(6825),f=c(4556),g=c(5295),h=c(8728),i=c(3087),j=c(4562);let k={title:"Station",description:"Dashboard for station-signal"};function l({children:a}){return(0,d.jsxs)("html",{lang:"en",suppressHydrationWarning:!0,children:[(0,d.jsxs)("head",{children:[(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:'(function(){try{var t=localStorage.getItem("station-theme");if(t==="dark"||t==="light"){document.documentElement.setAttribute("data-theme",t)}else if(window.matchMedia("(prefers-color-scheme:dark)").matches){document.documentElement.setAttribute("data-theme","dark")}else{document.documentElement.setAttribute("data-theme","light")}}catch(e){document.documentElement.setAttribute("data-theme","light")}})()'}}),(0,d.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@300;400;500&display=swap",rel:"stylesheet"})]}),(0,d.jsx)("body",{children:(0,d.jsx)(f.ThemeProvider,{children:(0,d.jsx)(i.AuthProvider,{loginPage:(0,d.jsx)(j.LoginPage,{}),children:(0,d.jsx)(g.StationProvider,{children:(0,d.jsx)(h.BreadcrumbProvider,{children:(0,d.jsx)(e.Shell,{children:a})})})})})})]})}},3087:(a,b,c)=>{"use strict";c.d(b,{AuthProvider:()=>e});var d=c(4026);(0,d.registerClientReference)(function(){throw Error("Attempted to call useAuth() from the server but useAuth is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/auth-provider.tsx","useAuth");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call AuthProvider() from the server but AuthProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/auth-provider.tsx","AuthProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call useLoginCallback() from the server but useLoginCallback is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/auth-provider.tsx","useLoginCallback")},3726:(a,b,c)=>{"use strict";c.d(b,{BreadcrumbProvider:()=>g});var d=c(2164),e=c(4509),f=c(8770);function g({children:a}){let[b,c]=(0,e.useState)([]),[g,h]=(0,e.useState)(null),i=(0,e.useCallback)(a=>c(a),[]),j=(0,e.useCallback)(a=>h(a),[]);return(0,d.jsx)(f.Hc.Provider,{value:{segments:b,activeSection:g,setSegments:i,setActiveSection:j},children:a})}},4267:()=>{},4556:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>e});var d=c(4026);(0,d.registerClientReference)(function(){throw Error("Attempted to call useTheme() from the server but useTheme is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/theme-provider.tsx","useTheme");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/theme-provider.tsx","ThemeProvider")},4562:(a,b,c)=>{"use strict";c.d(b,{LoginPage:()=>d});let d=(0,c(4026).registerClientReference)(function(){throw Error("Attempted to call LoginPage() from the server but LoginPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/login-page.tsx","LoginPage")},4576:(a,b,c)=>{"use strict";c.d(b,{LoginPage:()=>h});var d=c(2164),e=c(4509),f=c(4995),g=c(1985);function h(){let a=(0,g.S)(),[b,c]=(0,e.useState)(""),[h,i]=(0,e.useState)(""),[j,k]=(0,e.useState)(""),[l,m]=(0,e.useState)(!1);async function n(c){c.preventDefault(),k(""),m(!0);try{await (0,f.iD)(b,h)?a():k("Invalid credentials.")}catch{k("Connection failed.")}m(!1)}return(0,d.jsx)("div",{className:"login-page",children:(0,d.jsxs)("div",{className:"login-card",children:[(0,d.jsxs)("div",{className:"login-header",children:[(0,d.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 100 100",fill:"none","aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M50 2 L39 25 L27 50 L18 70 L10 88 L90 88 L82 70 L73 50 L61 25 Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("line",{x1:"50",y1:"2",x2:"50",y2:"88",stroke:"currentColor",strokeWidth:"1"}),(0,d.jsx)("line",{x1:"16",y1:"70",x2:"84",y2:"70",stroke:"currentColor",strokeWidth:"1.2"}),(0,d.jsx)("line",{x1:"39",y1:"25",x2:"61",y2:"25",stroke:"currentColor",strokeWidth:"0.8"}),(0,d.jsx)("line",{x1:"27",y1:"50",x2:"73",y2:"50",stroke:"currentColor",strokeWidth:"0.8"}),(0,d.jsx)("rect",{x:"43",y:"88",width:"14",height:"5",fill:"currentColor",opacity:"0.5"}),(0,d.jsx)("circle",{cx:"50",cy:"2",r:"1.5",fill:"currentColor"})]}),(0,d.jsx)("h1",{children:"Station"})]}),(0,d.jsxs)("form",{onSubmit:n,children:[(0,d.jsxs)("div",{className:"login-field",children:[(0,d.jsx)("label",{htmlFor:"username",children:"Username"}),(0,d.jsx)("input",{id:"username",type:"text",value:b,onChange:a=>c(a.target.value),autoComplete:"username",autoFocus:!0,required:!0})]}),(0,d.jsxs)("div",{className:"login-field",children:[(0,d.jsx)("label",{htmlFor:"password",children:"Password"}),(0,d.jsx)("input",{id:"password",type:"password",value:h,onChange:a=>i(a.target.value),autoComplete:"current-password",required:!0})]}),j&&(0,d.jsx)("div",{className:"login-error",children:j}),(0,d.jsx)("button",{type:"submit",className:"btn btn--primary login-btn",disabled:l,children:l?"Signing in...":"Sign in"})]})]})})}},4995:(a,b,c)=>{"use strict";async function d(a,b){let c=await fetch(`/api${a}`,{...b,credentials:"include",headers:{"Content-Type":"application/json",...b?.headers}});if(!c.ok)throw Error((await c.json().catch(()=>({error:"unknown",message:"Request failed."}))).message);return c.json()}async function e(){let a=await fetch("/api/auth/check",{credentials:"include"});return(await a.json()).data}async function f(a,b){return(await fetch("/api/auth/login",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:a,password:b})})).ok}async function g(){await fetch("/api/auth/logout",{method:"POST",credentials:"include"})}function h(){return{getHealth:()=>d("/health"),getSignals:()=>d("/signals"),getScheduledSignals:()=>d("/signals/scheduled"),getSignal:a=>d(`/signals/${encodeURIComponent(a)}`),getSignalRuns:a=>d(`/signals/${encodeURIComponent(a)}/runs`),triggerSignal:(a,b)=>d(`/signals/${encodeURIComponent(a)}/trigger`,{method:"POST",body:JSON.stringify({input:b??{}})}),getRuns:a=>{let b=new URLSearchParams;a?.status&&b.set("status",a.status),a?.signalName&&b.set("signalName",a.signalName);let c=b.toString();return d(`/runs${c?`?${c}`:""}`)},getRunStats:()=>d("/runs/stats"),getRun:a=>d(`/runs/${a}`),getRunSteps:a=>d(`/runs/${a}/steps`),getRunLogs:a=>d(`/runs/${a}/logs`),cancelRun:a=>d(`/runs/${a}/cancel`,{method:"POST"}),getBroadcasts:()=>d("/broadcasts"),getBroadcast:a=>d(`/broadcasts/${encodeURIComponent(a)}`),triggerBroadcast:(a,b)=>d(`/broadcasts/${encodeURIComponent(a)}/trigger`,{method:"POST",body:JSON.stringify({input:b??{}})}),getBroadcastRuns:a=>d(`/broadcasts/${encodeURIComponent(a)}/runs`),getBroadcastRun:a=>d(`/broadcast-runs/${a}`),getBroadcastRunNodes:a=>d(`/broadcast-runs/${a}/nodes`),getBroadcastRunLogs:a=>d(`/broadcast-runs/${a}/logs`),cancelBroadcastRun:a=>d(`/broadcast-runs/${a}/cancel`,{method:"POST"}),getApiKeys:()=>d("/v1/keys"),createApiKey:(a,b)=>d("/v1/keys",{method:"POST",body:JSON.stringify({name:a,scopes:b})}),revokeApiKey:a=>d(`/v1/keys/${a}`,{method:"DELETE"})}}c.d(b,{T5:()=>e,gf:()=>h,iD:()=>f,ri:()=>g})},5226:(a,b,c)=>{"use strict";c.d(b,{D:()=>g,ThemeProvider:()=>i});var d=c(2164),e=c(4509);let f=(0,e.createContext)({theme:"light",toggle:()=>{}});function g(){return(0,e.useContext)(f)}function h(){return"light"}function i({children:a}){let[b,c]=(0,e.useState)(h),g=(0,e.useCallback)(()=>{c(a=>"light"===a?"dark":"light")},[]);return(0,d.jsx)(f.Provider,{value:{theme:b,toggle:g},children:a})}},5295:(a,b,c)=>{"use strict";c.d(b,{StationProvider:()=>e});var d=c(4026);(0,d.registerClientReference)(function(){throw Error("Attempted to call useStation() from the server but useStation is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/hooks/use-station.tsx","useStation");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call StationProvider() from the server but StationProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/hooks/use-station.tsx","StationProvider")},5627:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,2714,23)),Promise.resolve().then(c.t.bind(c,5701,23)),Promise.resolve().then(c.t.bind(c,8709,23)),Promise.resolve().then(c.t.bind(c,492,23)),Promise.resolve().then(c.t.bind(c,3012,23)),Promise.resolve().then(c.t.bind(c,5800,23)),Promise.resolve().then(c.t.bind(c,1968,23)),Promise.resolve().then(c.t.bind(c,5273,23)),Promise.resolve().then(c.t.bind(c,1824,23))},6273:(a,b,c)=>{"use strict";c.d(b,{StationProvider:()=>h,q:()=>g});var d=c(2164),e=c(4509);let f=(0,e.createContext)({connected:!1,events:[]});function g(){return(0,e.useContext)(f)}function h({children:a}){let[b,c]=(0,e.useState)([]),{connected:g}=function(a){let[b,c]=(0,e.useState)(!1);return(0,e.useRef)(a).current=a,{connected:b}}((0,e.useCallback)(a=>{c(b=>[a,...b].slice(0,100))},[]));return(0,d.jsx)(f.Provider,{value:{connected:g,events:b},children:a})}},6825:(a,b,c)=>{"use strict";c.d(b,{Shell:()=>d});let d=(0,c(4026).registerClientReference)(function(){throw Error("Attempted to call Shell() from the server but Shell is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/shell.tsx","Shell")},8654:(a,b,c)=>{Promise.resolve().then(c.bind(c,1985)),Promise.resolve().then(c.bind(c,3726)),Promise.resolve().then(c.bind(c,4576)),Promise.resolve().then(c.bind(c,2167)),Promise.resolve().then(c.bind(c,5226)),Promise.resolve().then(c.bind(c,6273))},8728:(a,b,c)=>{"use strict";c.d(b,{BreadcrumbProvider:()=>d});let d=(0,c(4026).registerClientReference)(function(){throw Error("Attempted to call BreadcrumbProvider() from the server but BreadcrumbProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/breadcrumb-provider.tsx","BreadcrumbProvider")},8770:(a,b,c)=>{"use strict";c.d(b,{Hc:()=>e,iQ:()=>g,rT:()=>f});var d=c(4509);let e=(0,d.createContext)({segments:[],activeSection:null,setSegments:()=>{},setActiveSection:()=>{}});function f(a,b){let c=(0,d.useContext)(e);(0,d.useEffect)(()=>{c.setSegments(a),c.setActiveSection(b)},[JSON.stringify(a),b])}function g(){return(0,d.useContext)(e)}},8771:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,576,23)),Promise.resolve().then(c.t.bind(c,611,23)),Promise.resolve().then(c.t.bind(c,5519,23)),Promise.resolve().then(c.t.bind(c,4450,23)),Promise.resolve().then(c.t.bind(c,6358,23)),Promise.resolve().then(c.t.bind(c,7034,23)),Promise.resolve().then(c.t.bind(c,5506,23)),Promise.resolve().then(c.t.bind(c,2455,23)),Promise.resolve().then(c.bind(c,4978))},8918:(a,b,c)=>{Promise.resolve().then(c.bind(c,3087)),Promise.resolve().then(c.bind(c,8728)),Promise.resolve().then(c.bind(c,4562)),Promise.resolve().then(c.bind(c,6825)),Promise.resolve().then(c.bind(c,4556)),Promise.resolve().then(c.bind(c,5295))}};
1
+ exports.id=102,exports.ids=[102],exports.modules={1985:(a,b,c)=>{"use strict";c.d(b,{A:()=>h,AuthProvider:()=>i,S:()=>k});var d=c(2164),e=c(4509),f=c(4995);let g=(0,e.createContext)({authenticated:!0,logout:async()=>{}});function h(){return(0,e.useContext)(g)}function i({children:a,loginPage:b}){let[c,h]=(0,e.useState)("loading"),i=(0,e.useCallback)(async()=>{await (0,f.ri)(),h("unauthenticated")},[]),j=(0,e.useCallback)(()=>{h("authenticated")},[]);return"loading"===c?null:"unauthenticated"===c?(0,d.jsx)(l,{onSuccess:j,children:b}):(0,d.jsx)(g.Provider,{value:{authenticated:!0,logout:i},children:a})}let j=(0,e.createContext)(()=>{});function k(){return(0,e.useContext)(j)}function l({children:a,onSuccess:b}){return(0,d.jsx)(j.Provider,{value:b,children:a})}},2167:(a,b,c)=>{"use strict";c.d(b,{Shell:()=>t});var d=c(2164),e=c(4509),f=c(5543),g=c.n(f),h=c(6170),i=c(6273),j=c(8770),k=c(5226),l=c(1985);function m(){return!1}function n({size:a=20}){return(0,d.jsxs)("svg",{width:a,height:a,viewBox:"0 0 100 100",fill:"none","aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M50 2 L39 25 L27 50 L18 70 L10 88 L90 88 L82 70 L73 50 L61 25 Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("line",{x1:"50",y1:"2",x2:"50",y2:"88",stroke:"currentColor",strokeWidth:"1"}),(0,d.jsx)("line",{x1:"16",y1:"70",x2:"84",y2:"70",stroke:"currentColor",strokeWidth:"1.2"}),(0,d.jsx)("line",{x1:"39",y1:"25",x2:"61",y2:"25",stroke:"currentColor",strokeWidth:"0.8"}),(0,d.jsx)("line",{x1:"27",y1:"50",x2:"73",y2:"50",stroke:"currentColor",strokeWidth:"0.8"}),(0,d.jsx)("rect",{x:"43",y:"88",width:"14",height:"5",fill:"currentColor",opacity:"0.5"}),(0,d.jsx)("circle",{cx:"50",cy:"2",r:"1.5",fill:"currentColor"})]})}function o(){return(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":"true",children:[(0,d.jsx)("rect",{x:"1",y:"1",width:"5",height:"5",rx:"1"}),(0,d.jsx)("rect",{x:"8",y:"1",width:"5",height:"5",rx:"1"}),(0,d.jsx)("rect",{x:"1",y:"8",width:"5",height:"5",rx:"1"}),(0,d.jsx)("rect",{x:"8",y:"8",width:"5",height:"5",rx:"1"})]})}function p(){return(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round","aria-hidden":"true",children:[(0,d.jsx)("circle",{cx:"7",cy:"12",r:"1",fill:"currentColor",stroke:"none"}),(0,d.jsx)("path",{d:"M4.5 10a3.5 3.5 0 0 1 5 0"}),(0,d.jsx)("path",{d:"M2.5 8a6 6 0 0 1 9 0"}),(0,d.jsx)("path",{d:"M0.5 6a8.5 8.5 0 0 1 13 0"})]})}function q(){return(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":"true",children:[(0,d.jsx)("circle",{cx:"7",cy:"2.5",r:"1.5"}),(0,d.jsx)("circle",{cx:"3",cy:"11.5",r:"1.5"}),(0,d.jsx)("circle",{cx:"11",cy:"11.5",r:"1.5"}),(0,d.jsx)("line",{x1:"6.2",y1:"3.8",x2:"3.8",y2:"10"}),(0,d.jsx)("line",{x1:"7.8",y1:"3.8",x2:"10.2",y2:"10"})]})}function r(){return(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round","aria-hidden":"true",children:[(0,d.jsx)("circle",{cx:"7",cy:"7",r:"2"}),(0,d.jsx)("path",{d:"M7 1v1.5M7 11.5V13M1 7h1.5M11.5 7H13M2.76 2.76l1.06 1.06M10.18 10.18l1.06 1.06M2.76 11.24l1.06-1.06M10.18 3.82l1.06-1.06"})]})}function s({href:a,label:b,section:c,icon:e}){let f=(0,h.usePathname)(),{activeSection:i}=(0,j.iQ)(),k=i?i===c:"/"===a?"/"===f:f.startsWith(a);return(0,d.jsxs)(g(),{href:a,className:k?"active":"",children:[e,(0,d.jsx)("span",{className:"nav-label",children:b})]})}function t({children:a}){let{connected:b}=(0,i.q)(),{segments:c}=(0,j.iQ)(),{theme:f,toggle:h}=(0,k.D)(),{logout:t}=(0,l.A)(),[u,v]=(0,e.useState)(m),w=(0,e.useCallback)(()=>{v(a=>{let b=!a;return localStorage.setItem("station-sidebar",b?"collapsed":"expanded"),b})},[]);return(0,d.jsxs)("div",{className:"station-layout","data-collapsed":u,children:[(0,d.jsxs)("aside",{className:"station-sidebar",children:[(0,d.jsxs)("div",{className:"station-sidebar-logo",children:[(0,d.jsxs)("div",{className:"station-sidebar-mark",children:[(0,d.jsx)(n,{size:20}),(0,d.jsx)("h1",{children:"Station"})]}),(0,d.jsx)("span",{children:"station-signal"})]}),(0,d.jsxs)("nav",{className:"station-sidebar-nav",children:[(0,d.jsx)("div",{className:"station-sidebar-nav-label",children:"Nav"}),(0,d.jsx)(s,{href:"/",label:"Overview",section:"overview",icon:(0,d.jsx)(o,{})}),(0,d.jsx)(s,{href:"/signals",label:"Signals",section:"signals",icon:(0,d.jsx)(p,{})}),(0,d.jsx)(s,{href:"/broadcasts",label:"Broadcasts",section:"broadcasts",icon:(0,d.jsx)(q,{})}),(0,d.jsx)("div",{className:"station-sidebar-nav-label",style:{marginTop:"1rem"},children:"Admin"}),(0,d.jsx)(s,{href:"/settings",label:"Settings",section:"settings",icon:(0,d.jsx)(r,{})})]}),(0,d.jsx)("button",{className:"sidebar-collapse-btn",onClick:w,title:u?"Expand sidebar":"Collapse sidebar","aria-label":u?"Expand sidebar":"Collapse sidebar",children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round","aria-hidden":"true",children:u?(0,d.jsx)("polyline",{points:"5 3 9 7 5 11"}):(0,d.jsx)("polyline",{points:"9 3 5 7 9 11"})})})]}),(0,d.jsxs)("div",{className:"station-main",children:[(0,d.jsxs)("header",{className:"station-header",children:[(0,d.jsx)("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:0===c.length?(0,d.jsx)("span",{className:"breadcrumb-segment",children:"overview"}):c.map((a,b)=>(0,d.jsxs)("span",{className:"breadcrumb-item",children:[b>0&&(0,d.jsx)("span",{className:"breadcrumb-sep","aria-hidden":"true",children:"/"}),a.href?(0,d.jsx)(g(),{href:a.href,className:"breadcrumb-link",children:a.label}):(0,d.jsx)("span",{className:"breadcrumb-segment breadcrumb-segment--current","aria-current":"page",children:a.label})]},b))}),(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.75rem"},children:[(0,d.jsx)("button",{onClick:h,className:"theme-toggle",title:"light"===f?"Switch to dark mode":"Switch to light mode","aria-label":"light"===f?"Switch to dark mode":"Switch to light mode",children:"light"===f?(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:(0,d.jsx)("path",{d:"M13.5 8.5a5.5 5.5 0 0 1-7-7A5.5 5.5 0 1 0 13.5 8.5Z"})}):(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[(0,d.jsx)("circle",{cx:"8",cy:"8",r:"3"}),(0,d.jsx)("path",{d:"M8 1v2M8 13v2M1 8h2M13 8h2M3.05 3.05l1.41 1.41M11.54 11.54l1.41 1.41M3.05 12.95l1.41-1.41M11.54 4.46l1.41-1.41"})]})}),(0,d.jsx)("button",{onClick:t,className:"logout-btn",title:"Sign out","aria-label":"Sign out",children:(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:[(0,d.jsx)("path",{d:"M6 2H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3"}),(0,d.jsx)("path",{d:"M10 12l4-4-4-4"}),(0,d.jsx)("line",{x1:"14",y1:"8",x2:"6",y2:"8"})]})}),(0,d.jsx)("div",{className:`pulse-dot ${b?"":"pulse-dot--disconnected"}`,title:b?"Connected":"Disconnected"})]})]}),(0,d.jsx)("main",{className:"station-content",children:a})]})]})}},2648:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>l,metadata:()=>k});var d=c(8098);c(4267);var e=c(6825),f=c(4556),g=c(5295),h=c(8728),i=c(3087),j=c(4562);let k={title:"Station",description:"Dashboard for station-signal"};function l({children:a}){return(0,d.jsxs)("html",{lang:"en",suppressHydrationWarning:!0,children:[(0,d.jsxs)("head",{children:[(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:'(function(){try{var t=localStorage.getItem("station-theme");if(t==="dark"||t==="light"){document.documentElement.setAttribute("data-theme",t)}else if(window.matchMedia("(prefers-color-scheme:dark)").matches){document.documentElement.setAttribute("data-theme","dark")}else{document.documentElement.setAttribute("data-theme","light")}}catch(e){document.documentElement.setAttribute("data-theme","light")}})()'}}),(0,d.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@300;400;500&display=swap",rel:"stylesheet"})]}),(0,d.jsx)("body",{children:(0,d.jsx)(f.ThemeProvider,{children:(0,d.jsx)(i.AuthProvider,{loginPage:(0,d.jsx)(j.LoginPage,{}),children:(0,d.jsx)(g.StationProvider,{children:(0,d.jsx)(h.BreadcrumbProvider,{children:(0,d.jsx)(e.Shell,{children:a})})})})})})]})}},3087:(a,b,c)=>{"use strict";c.d(b,{AuthProvider:()=>e});var d=c(4026);(0,d.registerClientReference)(function(){throw Error("Attempted to call useAuth() from the server but useAuth is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/auth-provider.tsx","useAuth");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call AuthProvider() from the server but AuthProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/auth-provider.tsx","AuthProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call useLoginCallback() from the server but useLoginCallback is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/auth-provider.tsx","useLoginCallback")},3726:(a,b,c)=>{"use strict";c.d(b,{BreadcrumbProvider:()=>g});var d=c(2164),e=c(4509),f=c(8770);function g({children:a}){let[b,c]=(0,e.useState)([]),[g,h]=(0,e.useState)(null),i=(0,e.useCallback)(a=>c(a),[]),j=(0,e.useCallback)(a=>h(a),[]);return(0,d.jsx)(f.Hc.Provider,{value:{segments:b,activeSection:g,setSegments:i,setActiveSection:j},children:a})}},4267:()=>{},4556:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>e});var d=c(4026);(0,d.registerClientReference)(function(){throw Error("Attempted to call useTheme() from the server but useTheme is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/theme-provider.tsx","useTheme");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/theme-provider.tsx","ThemeProvider")},4562:(a,b,c)=>{"use strict";c.d(b,{LoginPage:()=>d});let d=(0,c(4026).registerClientReference)(function(){throw Error("Attempted to call LoginPage() from the server but LoginPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/login-page.tsx","LoginPage")},4576:(a,b,c)=>{"use strict";c.d(b,{LoginPage:()=>h});var d=c(2164),e=c(4509),f=c(4995),g=c(1985);function h(){let a=(0,g.S)(),[b,c]=(0,e.useState)(""),[h,i]=(0,e.useState)(""),[j,k]=(0,e.useState)(""),[l,m]=(0,e.useState)(!1);async function n(c){c.preventDefault(),k(""),m(!0);try{await (0,f.iD)(b,h)?a():k("Invalid credentials.")}catch{k("Connection failed.")}m(!1)}return(0,d.jsx)("div",{className:"login-page",children:(0,d.jsxs)("div",{className:"login-card",children:[(0,d.jsxs)("div",{className:"login-header",children:[(0,d.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 100 100",fill:"none","aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M50 2 L39 25 L27 50 L18 70 L10 88 L90 88 L82 70 L73 50 L61 25 Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,d.jsx)("line",{x1:"50",y1:"2",x2:"50",y2:"88",stroke:"currentColor",strokeWidth:"1"}),(0,d.jsx)("line",{x1:"16",y1:"70",x2:"84",y2:"70",stroke:"currentColor",strokeWidth:"1.2"}),(0,d.jsx)("line",{x1:"39",y1:"25",x2:"61",y2:"25",stroke:"currentColor",strokeWidth:"0.8"}),(0,d.jsx)("line",{x1:"27",y1:"50",x2:"73",y2:"50",stroke:"currentColor",strokeWidth:"0.8"}),(0,d.jsx)("rect",{x:"43",y:"88",width:"14",height:"5",fill:"currentColor",opacity:"0.5"}),(0,d.jsx)("circle",{cx:"50",cy:"2",r:"1.5",fill:"currentColor"})]}),(0,d.jsx)("h1",{children:"Station"})]}),(0,d.jsxs)("form",{onSubmit:n,children:[(0,d.jsxs)("div",{className:"login-field",children:[(0,d.jsx)("label",{htmlFor:"username",children:"Username"}),(0,d.jsx)("input",{id:"username",type:"text",value:b,onChange:a=>c(a.target.value),autoComplete:"username",autoFocus:!0,required:!0})]}),(0,d.jsxs)("div",{className:"login-field",children:[(0,d.jsx)("label",{htmlFor:"password",children:"Password"}),(0,d.jsx)("input",{id:"password",type:"password",value:h,onChange:a=>i(a.target.value),autoComplete:"current-password",required:!0})]}),j&&(0,d.jsx)("div",{className:"login-error",children:j}),(0,d.jsx)("button",{type:"submit",className:"btn btn--primary login-btn",disabled:l,children:l?"Signing in...":"Sign in"})]})]})})}},4995:(a,b,c)=>{"use strict";async function d(a,b){let c=await fetch(`/api${a}`,{...b,credentials:"include",headers:{"Content-Type":"application/json",...b?.headers}});if(!c.ok)throw Error((await c.json().catch(()=>({error:"unknown",message:"Request failed."}))).message);return c.json()}async function e(){let a=await fetch("/api/auth/check",{credentials:"include"});return(await a.json()).data}async function f(a,b){return(await fetch("/api/auth/login",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:a,password:b})})).ok}async function g(){await fetch("/api/auth/logout",{method:"POST",credentials:"include"})}function h(){return{getHealth:()=>d("/health"),getSignals:()=>d("/signals"),getScheduledSignals:()=>d("/signals/scheduled"),getSignal:a=>d(`/signals/${encodeURIComponent(a)}`),getSignalRuns:a=>d(`/signals/${encodeURIComponent(a)}/runs`),triggerSignal:(a,b)=>d(`/signals/${encodeURIComponent(a)}/trigger`,{method:"POST",body:JSON.stringify({input:b??{}})}),getRuns:a=>{let b=new URLSearchParams;a?.status&&b.set("status",a.status),a?.signalName&&b.set("signalName",a.signalName);let c=b.toString();return d(`/runs${c?`?${c}`:""}`)},getRunStats:()=>d("/runs/stats"),getRun:a=>d(`/runs/${a}`),getRunSteps:a=>d(`/runs/${a}/steps`),getRunLogs:a=>d(`/runs/${a}/logs`),cancelRun:a=>d(`/runs/${a}/cancel`,{method:"POST"}),rerunRun:a=>d(`/runs/${a}/rerun`,{method:"POST"}),retryRun:a=>d(`/runs/${a}/retry`,{method:"POST"}),getBroadcasts:()=>d("/broadcasts"),getBroadcast:a=>d(`/broadcasts/${encodeURIComponent(a)}`),triggerBroadcast:(a,b)=>d(`/broadcasts/${encodeURIComponent(a)}/trigger`,{method:"POST",body:JSON.stringify({input:b??{}})}),getBroadcastRuns:a=>d(`/broadcasts/${encodeURIComponent(a)}/runs`),getBroadcastRun:a=>d(`/broadcast-runs/${a}`),getBroadcastRunNodes:a=>d(`/broadcast-runs/${a}/nodes`),getBroadcastRunLogs:a=>d(`/broadcast-runs/${a}/logs`),cancelBroadcastRun:a=>d(`/broadcast-runs/${a}/cancel`,{method:"POST"}),rerunBroadcastRun:a=>d(`/broadcast-runs/${a}/rerun`,{method:"POST"}),getApiKeys:()=>d("/v1/keys"),createApiKey:(a,b)=>d("/v1/keys",{method:"POST",body:JSON.stringify({name:a,scopes:b})}),revokeApiKey:a=>d(`/v1/keys/${a}`,{method:"DELETE"})}}c.d(b,{T5:()=>e,gf:()=>h,iD:()=>f,ri:()=>g})},5226:(a,b,c)=>{"use strict";c.d(b,{D:()=>g,ThemeProvider:()=>i});var d=c(2164),e=c(4509);let f=(0,e.createContext)({theme:"light",toggle:()=>{}});function g(){return(0,e.useContext)(f)}function h(){return"light"}function i({children:a}){let[b,c]=(0,e.useState)(h),g=(0,e.useCallback)(()=>{c(a=>"light"===a?"dark":"light")},[]);return(0,d.jsx)(f.Provider,{value:{theme:b,toggle:g},children:a})}},5295:(a,b,c)=>{"use strict";c.d(b,{StationProvider:()=>e});var d=c(4026);(0,d.registerClientReference)(function(){throw Error("Attempted to call useStation() from the server but useStation is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/hooks/use-station.tsx","useStation");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call StationProvider() from the server but StationProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/hooks/use-station.tsx","StationProvider")},5627:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,2714,23)),Promise.resolve().then(c.t.bind(c,5701,23)),Promise.resolve().then(c.t.bind(c,8709,23)),Promise.resolve().then(c.t.bind(c,492,23)),Promise.resolve().then(c.t.bind(c,3012,23)),Promise.resolve().then(c.t.bind(c,5800,23)),Promise.resolve().then(c.t.bind(c,1968,23)),Promise.resolve().then(c.t.bind(c,5273,23)),Promise.resolve().then(c.t.bind(c,1824,23))},6273:(a,b,c)=>{"use strict";c.d(b,{StationProvider:()=>h,q:()=>g});var d=c(2164),e=c(4509);let f=(0,e.createContext)({connected:!1,events:[]});function g(){return(0,e.useContext)(f)}function h({children:a}){let[b,c]=(0,e.useState)([]),{connected:g}=function(a){let[b,c]=(0,e.useState)(!1);return(0,e.useRef)(a).current=a,{connected:b}}((0,e.useCallback)(a=>{c(b=>[a,...b].slice(0,100))},[]));return(0,d.jsx)(f.Provider,{value:{connected:g,events:b},children:a})}},6825:(a,b,c)=>{"use strict";c.d(b,{Shell:()=>d});let d=(0,c(4026).registerClientReference)(function(){throw Error("Attempted to call Shell() from the server but Shell is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/shell.tsx","Shell")},8654:(a,b,c)=>{Promise.resolve().then(c.bind(c,1985)),Promise.resolve().then(c.bind(c,3726)),Promise.resolve().then(c.bind(c,4576)),Promise.resolve().then(c.bind(c,2167)),Promise.resolve().then(c.bind(c,5226)),Promise.resolve().then(c.bind(c,6273))},8728:(a,b,c)=>{"use strict";c.d(b,{BreadcrumbProvider:()=>d});let d=(0,c(4026).registerClientReference)(function(){throw Error("Attempted to call BreadcrumbProvider() from the server but BreadcrumbProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/don/Documents/dev/simple-signal/packages/station-kit/src/app/components/breadcrumb-provider.tsx","BreadcrumbProvider")},8770:(a,b,c)=>{"use strict";c.d(b,{Hc:()=>e,iQ:()=>g,rT:()=>f});var d=c(4509);let e=(0,d.createContext)({segments:[],activeSection:null,setSegments:()=>{},setActiveSection:()=>{}});function f(a,b){let c=(0,d.useContext)(e);(0,d.useEffect)(()=>{c.setSegments(a),c.setActiveSection(b)},[JSON.stringify(a),b])}function g(){return(0,d.useContext)(e)}},8771:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,576,23)),Promise.resolve().then(c.t.bind(c,611,23)),Promise.resolve().then(c.t.bind(c,5519,23)),Promise.resolve().then(c.t.bind(c,4450,23)),Promise.resolve().then(c.t.bind(c,6358,23)),Promise.resolve().then(c.t.bind(c,7034,23)),Promise.resolve().then(c.t.bind(c,5506,23)),Promise.resolve().then(c.t.bind(c,2455,23)),Promise.resolve().then(c.bind(c,4978))},8918:(a,b,c)=>{Promise.resolve().then(c.bind(c,3087)),Promise.resolve().then(c.bind(c,8728)),Promise.resolve().then(c.bind(c,4562)),Promise.resolve().then(c.bind(c,6825)),Promise.resolve().then(c.bind(c,4556)),Promise.resolve().then(c.bind(c,5295))}};
@@ -1 +1 @@
1
- <!DOCTYPE html><!--_qcazCz3yLLsuU53Qtacw--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/0be0e65a5f561f37.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-e40b05d6bdcb3589.js"/><script src="/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/_next/static/chunks/743-33720d133c383396.js" async=""></script><script src="/_next/static/chunks/main-app-a9f19d5831b41b19.js" async=""></script><script src="/_next/static/chunks/580-f007f4d4c050db4e.js" async=""></script><script src="/_next/static/chunks/app/layout-9d37f15ea4fdcabf.js" async=""></script><meta name="robots" content="noindex"/><title>Station</title><meta name="description" content="Dashboard for station-signal"/><script>(function(){try{var t=localStorage.getItem("station-theme");if(t==="dark"||t==="light"){document.documentElement.setAttribute("data-theme",t)}else if(window.matchMedia("(prefers-color-scheme:dark)").matches){document.documentElement.setAttribute("data-theme","dark")}else{document.documentElement.setAttribute("data-theme","light")}}catch(e){document.documentElement.setAttribute("data-theme","light")}})()</script><link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&amp;family=IBM+Plex+Mono:wght@400;500&amp;family=Space+Grotesk:wght@300;400;500&amp;display=swap" rel="stylesheet"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script src="/_next/static/chunks/webpack-e40b05d6bdcb3589.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9129,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"ThemeProvider\"]\n3:I[783,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"AuthProvider\"]\n4:I[1308,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"LoginPage\"]\n5:I[9275,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"StationProvider\"]\n6:I[5152,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"BreadcrumbProvider\"]\n7:I[1961,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-9d37f15ea4fdcabf.js\"],\"Shell\"]\n8:I[8954,[],\"\"]\n9:I[5640,[],\"\"]\na:I[2051,[],\"OutletBoundary\"]\nc:I[6658,[],\"AsyncMetadataOutlet\"]\ne:I[2051,[],\"ViewportBoundary\"]\n10:I[2051,[],\"MetadataBoundary\"]\n11:\"$Sreact.suspense\"\n13:I[7698,[],\"\"]\n:HL[\"/_next/static/css/0be0e65a5f561f37.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"_qcazCz3yLLsuU53Qtacw\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0be0e65a5f561f37.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem(\\\"station-theme\\\");if(t===\\\"dark\\\"||t===\\\"light\\\"){document.documentElement.setAttribute(\\\"data-theme\\\",t)}else if(window.matchMedia(\\\"(prefers-color-scheme:dark)\\\").matches){document.documentElement.setAttribute(\\\"data-theme\\\",\\\"dark\\\")}else{document.documentElement.setAttribute(\\\"data-theme\\\",\\\"light\\\")}}catch(e){document.documentElement.setAttribute(\\\"data-theme\\\",\\\"light\\\")}})()\"}}],[\"$\",\"link\",null,{\"href\":\"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1\u0026family=IBM+Plex+Mono:wght@400;500\u0026family=Space+Grotesk:wght@300;400;500\u0026display=swap\",\"rel\":\"stylesheet\"}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"loginPage\":[\"$\",\"$L4\",null,{}],\"children\":[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]}]}]]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"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.\"}]}]]}]}]],null,[\"$\",\"$La\",null,{\"children\":[\"$Lb\",[\"$\",\"$Lc\",null,{\"promise\":\"$@d\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],null],[\"$\",\"$L10\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$11\",null,{\"fallback\":null,\"children\":\"$L12\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$13\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nb:null\n"])</script><script>self.__next_f.push([1,"d:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Station\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Dashboard for station-signal\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"12:\"$d:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--pHHaxeGaet0VW1dhcIcuY--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/0be0e65a5f561f37.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-e40b05d6bdcb3589.js"/><script src="/_next/static/chunks/8e6518bb-c26e82767f1faf66.js" async=""></script><script src="/_next/static/chunks/743-33720d133c383396.js" async=""></script><script src="/_next/static/chunks/main-app-a9f19d5831b41b19.js" async=""></script><script src="/_next/static/chunks/580-f007f4d4c050db4e.js" async=""></script><script src="/_next/static/chunks/app/layout-68cd71116ba65cd8.js" async=""></script><meta name="robots" content="noindex"/><title>Station</title><meta name="description" content="Dashboard for station-signal"/><script>(function(){try{var t=localStorage.getItem("station-theme");if(t==="dark"||t==="light"){document.documentElement.setAttribute("data-theme",t)}else if(window.matchMedia("(prefers-color-scheme:dark)").matches){document.documentElement.setAttribute("data-theme","dark")}else{document.documentElement.setAttribute("data-theme","light")}}catch(e){document.documentElement.setAttribute("data-theme","light")}})()</script><link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&amp;family=IBM+Plex+Mono:wght@400;500&amp;family=Space+Grotesk:wght@300;400;500&amp;display=swap" rel="stylesheet"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script src="/_next/static/chunks/webpack-e40b05d6bdcb3589.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9129,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"ThemeProvider\"]\n3:I[783,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"AuthProvider\"]\n4:I[1308,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"LoginPage\"]\n5:I[9275,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"StationProvider\"]\n6:I[5152,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"BreadcrumbProvider\"]\n7:I[1961,[\"580\",\"static/chunks/580-f007f4d4c050db4e.js\",\"177\",\"static/chunks/app/layout-68cd71116ba65cd8.js\"],\"Shell\"]\n8:I[8954,[],\"\"]\n9:I[5640,[],\"\"]\na:I[2051,[],\"OutletBoundary\"]\nc:I[6658,[],\"AsyncMetadataOutlet\"]\ne:I[2051,[],\"ViewportBoundary\"]\n10:I[2051,[],\"MetadataBoundary\"]\n11:\"$Sreact.suspense\"\n13:I[7698,[],\"\"]\n:HL[\"/_next/static/css/0be0e65a5f561f37.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"pHHaxeGaet0VW1dhcIcuY\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0be0e65a5f561f37.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var t=localStorage.getItem(\\\"station-theme\\\");if(t===\\\"dark\\\"||t===\\\"light\\\"){document.documentElement.setAttribute(\\\"data-theme\\\",t)}else if(window.matchMedia(\\\"(prefers-color-scheme:dark)\\\").matches){document.documentElement.setAttribute(\\\"data-theme\\\",\\\"dark\\\")}else{document.documentElement.setAttribute(\\\"data-theme\\\",\\\"light\\\")}}catch(e){document.documentElement.setAttribute(\\\"data-theme\\\",\\\"light\\\")}})()\"}}],[\"$\",\"link\",null,{\"href\":\"https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1\u0026family=IBM+Plex+Mono:wght@400;500\u0026family=Space+Grotesk:wght@300;400;500\u0026display=swap\",\"rel\":\"stylesheet\"}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"loginPage\":[\"$\",\"$L4\",null,{}],\"children\":[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]}]}]]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"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.\"}]}]]}]}]],null,[\"$\",\"$La\",null,{\"children\":[\"$Lb\",[\"$\",\"$Lc\",null,{\"promise\":\"$@d\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],null],[\"$\",\"$L10\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$11\",null,{\"fallback\":null,\"children\":\"$L12\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$13\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nb:null\n"])</script><script>self.__next_f.push([1,"d:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Station\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Dashboard for station-signal\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"12:\"$d:metadata\"\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-e40b05d6bdcb3589.js" defer=""></script><script src="/_next/static/chunks/framework-077b27ad7787463c.js" defer=""></script><script src="/_next/static/chunks/main-f1c74cefd4965abf.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0a7b2e66ecbe3f0a.js" defer=""></script><script src="/_next/static/chunks/pages/_error-273a093c18b5ed0f.js" defer=""></script><script src="/_next/static/_qcazCz3yLLsuU53Qtacw/_buildManifest.js" defer=""></script><script src="/_next/static/_qcazCz3yLLsuU53Qtacw/_ssgManifest.js" defer=""></script></head><body><div id="__next"><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="line-height:48px"><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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"_qcazCz3yLLsuU53Qtacw","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-e40b05d6bdcb3589.js" defer=""></script><script src="/_next/static/chunks/framework-077b27ad7787463c.js" defer=""></script><script src="/_next/static/chunks/main-f1c74cefd4965abf.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0a7b2e66ecbe3f0a.js" defer=""></script><script src="/_next/static/chunks/pages/_error-273a093c18b5ed0f.js" defer=""></script><script src="/_next/static/pHHaxeGaet0VW1dhcIcuY/_buildManifest.js" defer=""></script><script src="/_next/static/pHHaxeGaet0VW1dhcIcuY/_ssgManifest.js" defer=""></script></head><body><div id="__next"><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="line-height:48px"><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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"pHHaxeGaet0VW1dhcIcuY","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[115],{593:(e,t,a)=>{"use strict";async function n(e,t){let a=await fetch("".concat("","/api").concat(e),{...t,credentials:"include",headers:{"Content-Type":"application/json",...null==t?void 0:t.headers}});if(!a.ok)throw Error((await a.json().catch(()=>({error:"unknown",message:"Request failed."}))).message);return a.json()}async function s(){let e=await fetch("".concat("","/api/auth/check"),{credentials:"include"});return(await e.json()).data}async function r(e,t){return(await fetch("".concat("","/api/auth/login"),{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:e,password:t})})).ok}async function l(){await fetch("".concat("","/api/auth/logout"),{method:"POST",credentials:"include"})}function o(){return{getHealth:()=>n("/health"),getSignals:()=>n("/signals"),getScheduledSignals:()=>n("/signals/scheduled"),getSignal:e=>n("/signals/".concat(encodeURIComponent(e))),getSignalRuns:e=>n("/signals/".concat(encodeURIComponent(e),"/runs")),triggerSignal:(e,t)=>n("/signals/".concat(encodeURIComponent(e),"/trigger"),{method:"POST",body:JSON.stringify({input:null!=t?t:{}})}),getRuns:e=>{let t=new URLSearchParams;(null==e?void 0:e.status)&&t.set("status",e.status),(null==e?void 0:e.signalName)&&t.set("signalName",e.signalName);let a=t.toString();return n("/runs".concat(a?"?".concat(a):""))},getRunStats:()=>n("/runs/stats"),getRun:e=>n("/runs/".concat(e)),getRunSteps:e=>n("/runs/".concat(e,"/steps")),getRunLogs:e=>n("/runs/".concat(e,"/logs")),cancelRun:e=>n("/runs/".concat(e,"/cancel"),{method:"POST"}),rerunRun:e=>n("/runs/".concat(e,"/rerun"),{method:"POST"}),retryRun:e=>n("/runs/".concat(e,"/retry"),{method:"POST"}),getBroadcasts:()=>n("/broadcasts"),getBroadcast:e=>n("/broadcasts/".concat(encodeURIComponent(e))),triggerBroadcast:(e,t)=>n("/broadcasts/".concat(encodeURIComponent(e),"/trigger"),{method:"POST",body:JSON.stringify({input:null!=t?t:{}})}),getBroadcastRuns:e=>n("/broadcasts/".concat(encodeURIComponent(e),"/runs")),getBroadcastRun:e=>n("/broadcast-runs/".concat(e)),getBroadcastRunNodes:e=>n("/broadcast-runs/".concat(e,"/nodes")),getBroadcastRunLogs:e=>n("/broadcast-runs/".concat(e,"/logs")),cancelBroadcastRun:e=>n("/broadcast-runs/".concat(e,"/cancel"),{method:"POST"}),rerunBroadcastRun:e=>n("/broadcast-runs/".concat(e,"/rerun"),{method:"POST"}),getApiKeys:()=>n("/v1/keys"),createApiKey:(e,t)=>n("/v1/keys",{method:"POST",body:JSON.stringify({name:e,scopes:t})}),revokeApiKey:e=>n("/v1/keys/".concat(e),{method:"DELETE"})}}a.d(t,{T5:()=>s,gf:()=>o,iD:()=>r,ri:()=>l})},1253:(e,t,a)=>{"use strict";a.d(t,{W:()=>s});var n=a(8111);function s(e){let{status:t}=e;return(0,n.jsxs)("span",{className:"status-badge status-badge--".concat(t),children:[(0,n.jsx)("span",{className:"status-badge-dot"}),t]})}},1489:(e,t,a)=>{"use strict";a.d(t,{s:()=>l});var n=a(8111),s=a(5271);function r(e){let t=Date.now()-new Date(e).getTime();if(t<0)return"just now";let a=Math.floor(t/1e3);if(a<5)return"just now";if(a<60)return"".concat(a,"s ago");let n=Math.floor(a/60);if(n<60)return"".concat(n,"m ago");let s=Math.floor(n/60);if(s<24)return"".concat(s,"h ago");let r=Math.floor(s/24);return"".concat(r,"d ago")}function l(e){let{date:t}=e,[a,l]=(0,s.useState)(()=>r(t));return(0,s.useEffect)(()=>{let e=setInterval(()=>{l(r(t))},5e3);return()=>clearInterval(e)},[t]),(0,n.jsx)("span",{className:"mono",title:new Date(t).toLocaleString(),style:{fontSize:"0.8125rem",color:"var(--muted)"},children:a})}},1794:(e,t,a)=>{"use strict";a.d(t,{p:()=>r});var n=a(8111),s=a(5271);function r(e){let t,{data:a,label:r}=e,[l,o]=(0,s.useState)(!0),[i,c]=(0,s.useState)(!0),[d,u]=(0,s.useState)("copy"),m=(0,s.useCallback)(()=>{if(!a)return;let e=function(e){try{let t=JSON.parse(e);return JSON.stringify(t,null,2)}catch(t){return e}}(a);navigator.clipboard.writeText(e).then(()=>{u("copied"),setTimeout(()=>u("copy"),1500)}).catch(()=>{u("failed"),setTimeout(()=>u("copy"),1500)})},[a]);if(!a)return null;try{t=JSON.parse(a)}catch(e){t=a}let h="object"==typeof t&&null!==t&&JSON.stringify(t).length>200;return(0,n.jsxs)("div",{children:[r&&(0,n.jsxs)("button",{onClick:()=>o(!l),style:{background:"none",border:"none",cursor:"pointer",fontFamily:"var(--font-mono)",fontSize:"0.75rem",color:"var(--muted)",padding:"0.25rem 0",textTransform:"uppercase",letterSpacing:"0.1em"},children:[l?"- ":"+ ",r]}),l&&(0,n.jsxs)("pre",{className:"json-viewer",style:{position:"relative"},children:[(0,n.jsx)("button",{className:"copy-btn",onClick:m,type:"button",children:d}),h&&(0,n.jsx)("button",{onClick:()=>c(!i),style:{position:"absolute",top:"0.5rem",right:"4rem",background:"var(--wire)",border:"none",borderRadius:"3px",padding:"0.25rem 0.5rem",fontFamily:"var(--font-mono)",fontSize:"0.625rem",color:"var(--muted-light)",cursor:"pointer",textTransform:"uppercase",letterSpacing:"0.1em"},type:"button",children:i?"collapse":"expand"}),function e(t,a,s){if(null===t)return(0,n.jsx)("span",{className:"json-null",children:"null"});if("boolean"==typeof t)return(0,n.jsx)("span",{className:"json-boolean",children:String(t)});if("number"==typeof t)return(0,n.jsx)("span",{className:"json-number",children:t});if("string"==typeof t)return(0,n.jsxs)("span",{className:"json-string",children:['"',t,'"']});if(Array.isArray(t))return 0===t.length?(0,n.jsx)("span",{children:"[]"}):!s&&a>3?(0,n.jsxs)("span",{children:["[",t.length," items]"]}):(0,n.jsxs)("span",{children:["[\n",t.map((r,l)=>(0,n.jsxs)("span",{children:[" ".repeat(a+1),e(r,a+1,s),l<t.length-1?",":"","\n"]},l))," ".repeat(a),"]"]});if("object"==typeof t){let r=Object.entries(t);return 0===r.length?(0,n.jsx)("span",{children:"{}"}):!s&&a>3?(0,n.jsx)("span",{children:"{".concat(r.length," keys}")}):(0,n.jsxs)("span",{children:["{\n",r.map((t,l)=>{let[o,i]=t;return(0,n.jsxs)("span",{children:[" ".repeat(a+1),(0,n.jsxs)("span",{className:"json-key",children:['"',o,'"']}),": ",e(i,a+1,s),l<r.length-1?",":"","\n"]},o)})," ".repeat(a),"}"]})}return(0,n.jsx)("span",{children:String(t)})}(t,0,i)]})]})}},3055:(e,t,a)=>{"use strict";a.d(t,{q:()=>l});var n=a(8111),s=a(5271);function r(e){let{schema:t}=e;if("object"!==t.type||!t.properties)return null;let a=Object.entries(t.properties);return 0===a.length?null:(0,n.jsxs)("div",{className:"schema-ref",children:[(0,n.jsx)("div",{className:"schema-ref-title",children:"Expected Input"}),a.map(e=>{let[t,a]=e;return(0,n.jsxs)("div",{className:"schema-field",children:[(0,n.jsx)("span",{className:"schema-field-name",children:t}),(0,n.jsx)("span",{className:"schema-field-type".concat(a.required?"":" schema-field-type--optional"),children:a.type})]},t)})]})}function l(e){let{schema:t,value:a,onChange:l}=e,[o,i]=(0,s.useState)(null),[c,d]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!c){if(t&&"{}"===a){let e=JSON.stringify(function e(t){switch(t.type){case"string":return"";case"number":case"integer":return 0;case"boolean":return!1;case"array":return[];case"enum":if(t.values&&t.values.length>0)return t.values[0];return"";case"object":{if(!t.properties)return{};let a={};for(let[n,s]of Object.entries(t.properties))a[n]=e(s);return a}default:return null}}(t),null,2);"{}"!==e&&l(e)}d(!0)}},[t,a,l,c]),(0,n.jsxs)("div",{children:[t&&"object"===t.type&&t.properties&&(0,n.jsx)(r,{schema:t}),(0,n.jsx)("textarea",{className:"input-textarea",value:a,onChange:e=>(function(e){if(l(e),""===e.trim())return void i(null);try{JSON.parse(e),i(null)}catch(e){e instanceof SyntaxError?i(e.message):i("Invalid JSON")}})(e.target.value),rows:6,spellCheck:!1,placeholder:"{}"}),o&&(0,n.jsx)("div",{className:"json-parse-error",children:o})]})}},3957:(e,t,a)=>{Promise.resolve().then(a.bind(a,6537))},6537:(e,t,a)=>{"use strict";a.d(t,{BroadcastDetail:()=>B});var n=a(8111),s=a(5271),r=a(4736),l=a(5935),o=a.n(l),i=a(593),c=a(9275),d=a(7646),u=a(1253),m=a(9129);let h={completed:{bar:"#4A6741",fill:"rgba(74, 103, 65, 0.06)",stroke:"#4A6741",text:"#4A6741"},running:{bar:"#6B9962",fill:"rgba(107, 153, 98, 0.08)",stroke:"#6B9962",text:"#4A6741"},failed:{bar:"#8B5A2B",fill:"rgba(139, 90, 43, 0.06)",stroke:"#8B5A2B",text:"#8B5A2B"},pending:{bar:"#D4CEBF",fill:"#F9F7F3",stroke:"#D4CEBF",text:"#8A8A8E"},cancelled:{bar:"#AEAEB2",fill:"rgba(139, 90, 43, 0.03)",stroke:"#AEAEB2",text:"#8A8A8E"},skipped:{bar:"#AEAEB2",fill:"transparent",stroke:"#AEAEB2",text:"#8A8A8E"}},f={completed:{bar:"#6B9962",fill:"rgba(107, 153, 98, 0.12)",stroke:"#6B9962",text:"#8BB882"},running:{bar:"#8BB882",fill:"rgba(139, 185, 130, 0.1)",stroke:"#8BB882",text:"#8BB882"},failed:{bar:"#C4834A",fill:"rgba(196, 131, 74, 0.1)",stroke:"#C4834A",text:"#D4975C"},pending:{bar:"#4A4A4C",fill:"#252527",stroke:"#4A4A4C",text:"#8A8A8E"},cancelled:{bar:"#6A6A6E",fill:"rgba(60, 60, 62, 0.3)",stroke:"#6A6A6E",text:"#8A8A8E"},skipped:{bar:"#6A6A6E",fill:"transparent",stroke:"#6A6A6E",text:"#8A8A8E"}},g={bar:"#4A6741",fill:"#FFFFFF",stroke:"#D4CEBF",text:"#1C1C1E"},p={bar:"#6B9962",fill:"#222224",stroke:"#4A4A4C",text:"#E8E4DC"};function x(e){var t,a;if(0===e.length)return[];let n=new Map;for(let t of e)n.set(t.name,t);let s=new Map;for(let t of e)!function e(t,a){if(s.has(t))return s.get(t);if(a.has(t))return 0;a.add(t);let r=n.get(t);if(!r||0===r.dependsOn.length)return s.set(t,0),0;let l=0;for(let t of r.dependsOn)n.has(t)&&(l=Math.max(l,e(t,a)+1));return s.set(t,l),l}(t.name,new Set);let r=new Map;for(let a of e){let e=null!=(t=s.get(a.name))?t:0;r.has(e)||r.set(e,[]),r.get(e).push(a)}let l=Math.max(...Array.from(r.keys()),0),o=[];for(let e=0;e<=l;e++)o.push(null!=(a=r.get(e))?a:[]);return o.filter(e=>e.length>0)}function j(e){let{nodes:t,onNodeClick:a,selectedNode:s,compact:r}=e,{theme:l}=(0,m.D)(),o="dark"===l,i=o?f:h,c=o?p:g;if(0===t.length)return(0,n.jsx)("div",{className:"empty-state",children:(0,n.jsx)("p",{className:"empty-state-text",children:"No nodes."})});let d=r?140:184,u=r?36:60,{positions:j,svgWidth:v,svgHeight:N}=function(e,t){let a=new Map;if(0===e.length)return{positions:a,svgWidth:0,svgHeight:0};let{nodeWidth:n,nodeHeight:s,gapX:r,gapY:l,paddingX:o,paddingY:i}=t,c=Math.max(1,...e.map(e=>e.length))*(n+r)-r+2*o,d=e.length*(s+l)-l+2*i;for(let t=0;t<e.length;t++){let o=e[t],d=(c-(o.length*(n+r)-r))/2,u=i+t*(s+l);for(let e=0;e<o.length;e++){let t=d+e*(n+r);a.set(o[e].name,{x:t,y:u,node:o[e]})}}return{positions:a,svgWidth:c,svgHeight:d}}(x(t),{nodeWidth:d,nodeHeight:u,gapX:r?32:48,gapY:r?28:40,paddingX:r?20:32,paddingY:r?16:24}),b=t.some(e=>void 0!==e.status),y=new Map;for(let e of t)e.status&&y.set(e.name,e.status);let w=[];for(let e of t)for(let t of e.dependsOn)j.has(t)&&w.push({from:t,to:e.name});return(0,n.jsx)("div",{className:"dag-container",children:(0,n.jsxs)("svg",{width:v,height:N,viewBox:"0 0 ".concat(v," ").concat(N),style:{display:"block",margin:"0 auto"},children:[(0,n.jsxs)("defs",{children:[(0,n.jsx)("marker",{id:"dag-arrow",viewBox:"0 0 6 6",refX:"6",refY:"3",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse",children:(0,n.jsx)("path",{d:"M 0 0 L 6 3 L 0 6 z",fill:o?"#4A4A4C":"#D4CEBF"})}),(0,n.jsx)("marker",{id:"dag-arrow-active",viewBox:"0 0 6 6",refX:"6",refY:"3",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse",children:(0,n.jsx)("path",{d:"M 0 0 L 6 3 L 0 6 z",fill:o?"#6B9962":"#4A6741"})})]}),w.map(e=>{let t=j.get(e.from),a=j.get(e.to);if(!t||!a)return null;let s="completed"===y.get(e.from),r="skipped"===y.get(e.to),l=t.x+d/2,o=t.y+u,i=a.x+d/2,c=a.y,m=(o+c)/2,h="M ".concat(l," ").concat(o," C ").concat(l," ").concat(m,", ").concat(i," ").concat(m,", ").concat(i," ").concat(c);return(0,n.jsx)("path",{d:h,className:"dag-edge".concat(s?" dag-edge--active":""),strokeDasharray:r?"4 3":void 0,markerEnd:"url(#".concat(s?"dag-arrow-active":"dag-arrow",")")},"".concat(e.from,"->").concat(e.to))}),Array.from(j.values()).map(e=>{var t;let{x:l,y:m,node:h}=e,f=void 0!==h.status&&null!==h.status,g=f&&null!=(t=i[h.status])?t:c,p="skipped"===h.status,x=s===h.name,j="running"===h.status,v=function(e,t){if(!e)return null;let a=new Date(e).getTime(),n=(t?new Date(t).getTime():Date.now())-a;return n<1e3?"".concat(n,"ms"):n<6e4?"".concat((n/1e3).toFixed(1),"s"):"".concat((n/6e4).toFixed(1),"m")}(h.startedAt,h.completedAt),N=r?14:18,y=h.name.length>N?h.name.slice(0,N-1)+"…":h.name,w=h.signalName.length>22?h.signalName.slice(0,21)+"…":h.signalName;return(0,n.jsxs)("g",{className:"dag-node".concat(x?" dag-node--selected":""),onClick:()=>null==a?void 0:a(h.name),style:{cursor:a?"pointer":"default"},role:a?"button":void 0,tabIndex:a?0:void 0,"aria-label":"".concat(h.name).concat(f?", "+h.status:""),onKeyDown:e=>{a&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),a(h.name))},children:[j&&(0,n.jsx)("rect",{x:l-3,y:m-3,width:d+6,height:u+6,rx:7,fill:"none",stroke:o?"#8BB882":"#6B9962",strokeWidth:2,children:(0,n.jsx)("animate",{attributeName:"opacity",values:"0;0.5;0",dur:"2.4s",repeatCount:"indefinite"})}),(0,n.jsx)("rect",{x:l,y:m,width:d,height:u,rx:4,fill:g.fill,stroke:g.stroke,strokeWidth:x?2.5:1.5,strokeDasharray:p?"4 3":void 0}),(0,n.jsx)("rect",{x:l,y:m,width:d,height:4,rx:4,fill:g.bar}),(0,n.jsx)("rect",{x:l,y:m+2,width:d,height:2,fill:g.bar}),(0,n.jsx)("text",{x:l+8,y:r?m+u/2+2:m+4+16,fill:g.text,dominantBaseline:"middle",style:{fontSize:r?"10px":"11px",fontFamily:"var(--font-mono)",fontWeight:500},children:y}),r&&b&&f&&(0,n.jsx)("text",{x:l+d-8,y:m+u/2+2,fill:g.text,opacity:.5,dominantBaseline:"middle",textAnchor:"end",style:{fontSize:"8px",fontFamily:"var(--font-mono)",textTransform:"uppercase",letterSpacing:"0.05em"},children:null!=v?v:h.status}),!r&&(0,n.jsxs)(n.Fragment,{children:[b&&v&&(0,n.jsx)("text",{x:l+d-10,y:m+4+16,fill:g.text,opacity:.6,dominantBaseline:"middle",textAnchor:"end",style:{fontSize:"9px",fontFamily:"var(--font-mono)"},children:v}),(0,n.jsx)("text",{x:l+10,y:m+u-10,fill:g.text,opacity:.45,dominantBaseline:"middle",style:{fontSize:"9px",fontFamily:"var(--font-mono)"},children:w}),b&&f&&(0,n.jsx)("text",{x:l+d-10,y:m+u-10,fill:g.text,opacity:.5,dominantBaseline:"middle",textAnchor:"end",style:{fontSize:"8px",fontFamily:"var(--font-mono)",textTransform:"uppercase",letterSpacing:"0.05em"},children:h.status})]})]},h.name)})]})})}var v=a(1794);function N(e){let{label:t,children:a}=e,[r,l]=(0,s.useState)(!1);return(0,n.jsxs)("div",{className:"detail-section",children:[(0,n.jsxs)("button",{className:"collapsible-header",onClick:()=>l(!r),children:[(0,n.jsx)("span",{className:"collapsible-chevron",children:r?"▾":"▸"}),t]}),r&&(0,n.jsx)("div",{className:"collapsible-content",children:a})]})}function b(e){let{node:t,logs:a}=e,r=(0,s.useRef)(null);return(0,s.useEffect)(()=>{var e;null==(e=r.current)||e.scrollIntoView({behavior:"smooth"})},[null==a?void 0:a.length]),(0,n.jsxs)("div",{className:"workflow-panel",children:[(0,n.jsxs)("div",{className:"node-detail-header",children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.75rem"},children:[(0,n.jsx)("span",{className:"node-detail-title",children:t.nodeName}),(0,n.jsx)(u.W,{status:t.status})]}),(0,n.jsxs)("span",{className:"node-detail-meta",children:[t.signalName," ","\xb7"," ",function(e,t){if(!e)return"-";let a=new Date(e).getTime(),n=(t?new Date(t).getTime():Date.now())-a;return n<1e3?"".concat(n,"ms"):n<6e4?"".concat((n/1e3).toFixed(1),"s"):"".concat((n/6e4).toFixed(1),"m")}(t.startedAt,t.completedAt)]})]}),"skipped"===t.status&&t.skipReason&&(0,n.jsx)("div",{className:"detail-section",children:(0,n.jsxs)("div",{style:{fontFamily:"var(--font-mono)",fontSize:"0.8125rem",color:"var(--muted)",padding:"0.5rem 0"},children:["Skipped: ",t.skipReason]})}),t.error&&(0,n.jsx)("div",{className:"detail-section",children:(0,n.jsx)("div",{className:"error-block",children:t.error})}),(0,n.jsxs)("div",{className:"detail-section",children:[(0,n.jsx)("div",{className:"detail-section-label",children:"Logs"}),(0,n.jsxs)("div",{className:"log-container",style:{maxHeight:"none",minHeight:"120px"},children:[a&&0!==a.length?a.map((e,t)=>(0,n.jsxs)("div",{className:"log-line",style:{color:"stderr"===e.level?"var(--rust)":"var(--charcoal)"},children:[(0,n.jsx)("span",{className:"log-timestamp",children:new Date(e.timestamp).toLocaleTimeString()}),(0,n.jsx)("span",{className:"log-level","data-level":e.level,children:"stderr"===e.level?"ERR":"OUT"}),(0,n.jsx)("span",{className:"log-message",children:e.message})]},t)):(0,n.jsx)("div",{style:{padding:"1rem",color:"var(--muted)",fontFamily:"var(--font-mono)",fontSize:"0.75rem"},children:"pending"===t.status?"Waiting for execution...":"skipped"===t.status?"Node was skipped.":"No log output captured."}),(0,n.jsx)("div",{ref:r})]})]}),t.input&&(0,n.jsx)(N,{label:"Input",children:(0,n.jsx)(v.p,{data:t.input})}),t.output&&(0,n.jsx)(N,{label:"Output",children:(0,n.jsx)(v.p,{data:t.output})}),t.signalRunId&&(0,n.jsx)("div",{className:"detail-section",style:{paddingTop:"0.25rem"},children:(0,n.jsx)(o(),{href:"/runs/".concat(t.signalRunId),className:"meta-value--link",style:{fontSize:"0.8125rem"},children:"View signal run →"})})]})}function y(e){let{nodes:t,selectedNode:a,onSelectNode:s}=e,r=function(){let{theme:e}=(0,m.D)();return"dark"===e?f:h}(),{theme:l}=(0,m.D)(),o="dark"===l?"#4A4A4C":"#D4CEBF";return(0,n.jsxs)("div",{className:"workflow-sidebar",children:[(0,n.jsx)("div",{className:"workflow-sidebar-label",children:"Nodes"}),t.map(e=>{var t;let l=a===e.nodeName,i=r[e.status],c=null!=(t=null==i?void 0:i.bar)?t:o,d=function(e,t){if(!e)return null;let a=new Date(e).getTime(),n=(t?new Date(t).getTime():Date.now())-a;return n<1e3?"".concat(n,"ms"):n<6e4?"".concat((n/1e3).toFixed(1),"s"):"".concat((n/6e4).toFixed(1),"m")}(e.startedAt,e.completedAt),u="running"===e.status,m="failed"===e.status;return(0,n.jsxs)("button",{className:"workflow-node-item".concat(l?" workflow-node-item--active":"").concat(m?" workflow-node-item--failed":""),onClick:()=>s(e.nodeName),style:{paddingLeft:"".concat(.75+.75*e.tier,"rem")},children:[(0,n.jsx)("span",{className:"workflow-node-dot".concat(u?" workflow-node-dot--running":""),style:{backgroundColor:c}}),(0,n.jsx)("span",{className:"workflow-node-name",children:e.nodeName}),d&&(0,n.jsx)("span",{className:"workflow-node-duration",children:d})]},e.nodeName)})]})}var w=a(3055),k=a(1489);function S(e){return e<1e3?"".concat(e,"ms"):e<6e4?"".concat((e/1e3).toFixed(1),"s"):e<36e5?"".concat((e/6e4).toFixed(1),"m"):"".concat((e/36e5).toFixed(1),"h")}function A(e,t){if(!e)return"—";let a=new Date(e).getTime();return S((t?new Date(t).getTime():Date.now())-a)}function B(){let e=(0,r.useParams)().id;return/^[0-9a-f]{8}-/.test(e)?(0,n.jsx)(R,{id:e}):(0,n.jsx)(C,{name:e})}function C(e){var t;let{name:a}=e,r=decodeURIComponent(a),l=(0,i.gf)(),{events:o}=(0,c.q)(),[m,h]=(0,s.useState)(null),[f,g]=(0,s.useState)([]),[p,x]=(0,s.useState)(!0),[v,N]=(0,s.useState)("{}"),[b,y]=(0,s.useState)(!1),[B,C]=(0,s.useState)(null),[R,E]=(0,s.useState)(!1);(0,d.rT)([{label:"Broadcasts",href:"/broadcasts"},{label:r}],"broadcasts");let T=(0,s.useCallback)(()=>{l.getBroadcastRuns(a).then(e=>g(e.data)).catch(e=>console.error("Failed to refresh broadcast runs:",e))},[a]);async function F(){y(!0);try{let e=JSON.parse(v);await l.triggerBroadcast(a,e),N("{}"),E(!1),setTimeout(T,300)}catch(e){e instanceof Error&&console.error("Trigger failed:",e.message)}y(!1)}if((0,s.useEffect)(()=>{!async function(){try{let[e,t]=await Promise.all([l.getBroadcast(a),l.getBroadcastRuns(a)]);h(e.data),g(t.data)}catch(e){e instanceof Error&&console.error("Failed to load broadcast:",e.message)}x(!1)}()},[a]),(0,s.useEffect)(()=>{if(!m)return;let e=m.nodes.filter(e=>0===e.dependsOn.length);1===e.length&&l.getSignal(e[0].signalName).then(e=>C(e.data.inputSchema)).catch(e=>console.error("Failed to load root input schema:",e))},[m]),(0,s.useEffect)(()=>{if(0===o.length)return;let e=o[0];(e.type.startsWith("broadcast:")||e.type.startsWith("node:"))&&T()},[o.length,T]),p)return(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"page-title",children:r}),(0,n.jsx)("div",{className:"loading-bar",children:(0,n.jsx)("div",{className:"loading-bar-fill"})})]});if(!m)return(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"page-title",children:r}),(0,n.jsx)("div",{className:"empty-state",children:(0,n.jsx)("p",{className:"empty-state-text",children:"Broadcast not found."})})]});let D=m.nodes.map(e=>({name:e.name,signalName:e.signalName,dependsOn:e.dependsOn}));return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"page-header",children:[(0,n.jsx)("h1",{className:"page-title",style:{marginBottom:0},children:r}),(0,n.jsx)("div",{className:"page-header-actions",children:(0,n.jsx)("button",{className:"btn btn--primary",onClick:()=>E(!R),children:R?"Close":"Trigger"})})]}),R&&(0,n.jsxs)("div",{className:"detail-section",children:[(0,n.jsx)(w.q,{schema:B,value:v,onChange:N}),(0,n.jsx)("div",{style:{marginTop:"0.5rem"},children:(0,n.jsx)("button",{className:"btn btn--primary",onClick:F,disabled:b,children:b?"Dispatching...":"Dispatch"})})]}),(0,n.jsxs)("div",{className:"detail-section",children:[(0,n.jsx)("div",{className:"detail-section-label",children:"Runs"}),0===f.length?(0,n.jsx)("div",{className:"empty-state",children:(0,n.jsx)("p",{className:"empty-state-text",children:"No runs yet. Trigger a broadcast to get started."})}):(0,n.jsxs)("table",{className:"station-table",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:"Status"}),(0,n.jsx)("th",{children:"Run"}),(0,n.jsx)("th",{children:"Duration"}),(0,n.jsx)("th",{children:"Created"})]})}),(0,n.jsx)("tbody",{children:f.map((e,t)=>(0,n.jsxs)("tr",{className:"reveal-item clickable-row",style:{animationDelay:"".concat(40*t,"ms")},onClick:()=>window.location.assign("/broadcasts/".concat(e.id)),children:[(0,n.jsx)("td",{children:(0,n.jsx)(u.W,{status:e.status})}),(0,n.jsx)("td",{className:"mono",children:e.id.slice(0,8)}),(0,n.jsx)("td",{className:"mono",children:A(e.startedAt,e.completedAt)}),(0,n.jsx)("td",{children:(0,n.jsx)(k.s,{date:e.createdAt})})]},e.id))})]})]}),(0,n.jsxs)("div",{className:"detail-section",children:[(0,n.jsx)("div",{className:"detail-section-label",children:"Configuration"}),(0,n.jsxs)("div",{className:"config-grid",children:[(0,n.jsxs)("div",{className:"config-item",children:[(0,n.jsx)("span",{className:"config-item-label",children:"Failure Policy"}),(0,n.jsx)("span",{className:"config-item-value",children:m.failurePolicy})]}),(0,n.jsxs)("div",{className:"config-item",children:[(0,n.jsx)("span",{className:"config-item-label",children:"Timeout"}),(0,n.jsx)("span",{className:"config-item-value",children:null!==m.timeout?S(m.timeout):"—"})]}),(0,n.jsxs)("div",{className:"config-item",children:[(0,n.jsx)("span",{className:"config-item-label",children:"Schedule"}),(0,n.jsx)("span",{className:"config-item-value",children:null!=(t=m.interval)?t:"Manual trigger"})]})]})]}),(0,n.jsxs)("div",{className:"detail-section",children:[(0,n.jsx)("div",{className:"detail-section-label",children:"Workflow"}),(0,n.jsx)(j,{nodes:D})]})]})}function R(e){let{id:t}=e,a=(0,i.gf)(),l=(0,r.useRouter)(),{events:m}=(0,c.q)(),[h,f]=(0,s.useState)(null),[g,p]=(0,s.useState)([]),[v,N]=(0,s.useState)(null),[w,k]=(0,s.useState)([]),[S,B]=(0,s.useState)(!0),[C,R]=(0,s.useState)(!1),[E,T]=(0,s.useState)(!1),[F,D]=(0,s.useState)(null),O=(0,s.useRef)(new Set),I=(0,s.useRef)(!1);async function M(){R(!0);try{await a.cancelBroadcastRun(t);let e=await a.getBroadcastRun(t);f(e.data)}catch(e){e instanceof Error&&console.error("Cancel failed:",e.message)}R(!1)}async function P(){T(!0);try{let e=await a.rerunBroadcastRun(t);l.push("/broadcasts/".concat(e.data.id))}catch(e){e instanceof Error&&console.error("Rerun failed:",e.message)}T(!1)}(0,d.rT)(h?[{label:"Broadcasts",href:"/broadcasts"},{label:h.broadcastName,href:"/broadcasts/".concat(encodeURIComponent(h.broadcastName))},{label:"Run ".concat(t.slice(0,8))}]:[{label:"Broadcasts",href:"/broadcasts"},{label:"Run ".concat(t.slice(0,8))}],"broadcasts"),(0,s.useEffect)(()=>{!async function(){try{let[n,s,r]=await Promise.all([a.getBroadcastRun(t),a.getBroadcastRunNodes(t),a.getBroadcastRunLogs(t)]);f(n.data),p(s.data),k(r.data);let l=new Set;for(let e of s.data)e.signalRunId&&l.add(e.signalRunId);if(O.current=l,!I.current&&s.data.length>0){var e;I.current=!0;let t=s.data.find(e=>"failed"===e.status),a=s.data.find(e=>"running"===e.status);D((null!=(e=null!=t?t:a)?e:s.data[0]).nodeName)}n.data.broadcastName&&a.getBroadcast(n.data.broadcastName).then(e=>N(e.data)).catch(e=>console.error("Failed to load broadcast meta:",e))}catch(e){e instanceof Error&&console.error("Failed to load broadcast run:",e.message)}B(!1)}()},[t]),(0,s.useEffect)(()=>{if(0===m.length)return;let e=m[0];if("log:output"===e.type){let t=e.data.runId;if(O.current.has(t)){let a=g.find(e=>e.signalRunId===t);k(n=>{var s,r;return[...n,{runId:t,signalName:e.data.signalName,level:e.data.level,message:e.data.message,timestamp:null!=(s=e.data.timestamp)?s:e.timestamp,nodeName:null!=(r=null==a?void 0:a.nodeName)?r:""}]})}}(e.type.startsWith("broadcast:")||e.type.startsWith("node:"))&&(a.getBroadcastRun(t).then(e=>f(e.data)).catch(e=>console.error("Failed to refresh broadcast run:",e)),a.getBroadcastRunNodes(t).then(e=>{p(e.data);let t=new Set;for(let a of e.data)a.signalRunId&&t.add(a.signalRunId);O.current=t}).catch(e=>console.error("Failed to refresh node runs:",e)))},[m.length,t,g]);let W=(0,s.useMemo)(()=>{let e=new Map;if(v)for(let t of v.nodes)e.set(t.name,t.dependsOn);return e},[v]),z=(0,s.useMemo)(()=>g.map(e=>{var t;return{name:e.nodeName,signalName:e.signalName,dependsOn:null!=(t=W.get(e.nodeName))?t:[],status:e.status,startedAt:e.startedAt,completedAt:e.completedAt}}),[g,W]),J=(0,s.useMemo)(()=>{if(0===z.length)return[];let e=x(z),t=new Map;return e.forEach((e,a)=>{for(let n of e)t.set(n.name,a)}),e.flat().map(e=>{var a,n;let s=g.find(t=>t.nodeName===e.name);return{nodeName:e.name,signalName:e.signalName,status:null!=(a=null==s?void 0:s.status)?a:"pending",startedAt:null==s?void 0:s.startedAt,completedAt:null==s?void 0:s.completedAt,tier:null!=(n=t.get(e.name))?n:0}})},[z,g]),L=(0,s.useMemo)(()=>F?w.filter(e=>e.nodeName===F).map(e=>{let{level:t,message:a,timestamp:n}=e;return{level:t,message:a,timestamp:n}}):[],[w,F]),U=F?g.find(e=>e.nodeName===F):null;if(S)return(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"page-title",children:"Broadcast Run"}),(0,n.jsx)("div",{className:"loading-bar",children:(0,n.jsx)("div",{className:"loading-bar-fill"})})]});if(!h)return(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"page-title",children:"Broadcast Run"}),(0,n.jsx)("div",{className:"empty-state",children:(0,n.jsx)("p",{className:"empty-state-text",children:"Broadcast run not found."})})]});let q="pending"===h.status||"running"===h.status,H="failed"===h.status||"completed"===h.status||"cancelled"===h.status;return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"page-header",children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.75rem"},children:[(0,n.jsx)(u.W,{status:h.status}),(0,n.jsx)(o(),{href:"/broadcasts/".concat(encodeURIComponent(h.broadcastName)),className:"page-title",style:{marginBottom:0,textDecoration:"none"},children:h.broadcastName}),(0,n.jsx)("span",{className:"mono",style:{color:"var(--muted)",fontSize:"0.75rem"},children:A(h.startedAt,h.completedAt)})]}),(0,n.jsxs)("div",{className:"page-header-actions",children:[H&&(0,n.jsx)("button",{className:"btn btn--primary",onClick:P,disabled:E,children:E?"Rerunning...":"Rerun"}),q&&(0,n.jsx)("button",{className:"btn btn--danger",onClick:M,disabled:C,children:C?"Cancelling...":"Cancel"})]})]}),h.error&&(0,n.jsx)("div",{className:"detail-section",children:(0,n.jsx)("div",{className:"error-block",children:h.error})}),z.length>0&&(0,n.jsx)("div",{className:"detail-section",children:(0,n.jsx)(j,{nodes:z,onNodeClick:e=>D(e),selectedNode:null!=F?F:void 0,compact:!0})}),J.length>0&&(0,n.jsxs)("div",{className:"workflow-layout",children:[(0,n.jsx)(y,{nodes:J,selectedNode:F,onSelectNode:D}),U?(0,n.jsx)(b,{node:U,logs:L}):(0,n.jsx)("div",{className:"workflow-panel",children:(0,n.jsx)("div",{className:"empty-state",children:(0,n.jsx)("p",{className:"empty-state-text",children:"Select a node to view details."})})})]})]})}},7646:(e,t,a)=>{"use strict";a.d(t,{Hc:()=>s,iQ:()=>l,rT:()=>r});var n=a(5271);let s=(0,n.createContext)({segments:[],activeSection:null,setSegments:()=>{},setActiveSection:()=>{}});function r(e,t){let a=(0,n.useContext)(s);(0,n.useEffect)(()=>{a.setSegments(e),a.setActiveSection(t)},[JSON.stringify(e),t])}function l(){return(0,n.useContext)(s)}},9129:(e,t,a)=>{"use strict";a.d(t,{D:()=>l,ThemeProvider:()=>i});var n=a(8111),s=a(5271);let r=(0,s.createContext)({theme:"light",toggle:()=>{}});function l(){return(0,s.useContext)(r)}function o(){let e=localStorage.getItem("station-theme");return"light"===e||"dark"===e?e:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function i(e){let{children:t}=e,[a,l]=(0,s.useState)(o);(0,s.useEffect)(()=>{document.documentElement.setAttribute("data-theme",a),localStorage.setItem("station-theme",a)},[a]);let i=(0,s.useCallback)(()=>{l(e=>"light"===e?"dark":"light")},[]);return(0,n.jsx)(r.Provider,{value:{theme:a,toggle:i},children:t})}},9275:(e,t,a)=>{"use strict";a.d(t,{StationProvider:()=>o,q:()=>l});var n=a(8111),s=a(5271);let r=(0,s.createContext)({connected:!1,events:[]});function l(){return(0,s.useContext)(r)}function o(e){let{children:t}=e,[a,l]=(0,s.useState)([]),{connected:o}=function(e){let[t,a]=(0,s.useState)(!1),n=(0,s.useRef)(e);return n.current=e,(0,s.useEffect)(()=>{let e=null,t=null,s=0,r=!1;return!function l(){if(r)return;let o="https:"===window.location.protocol?"wss:":"ws:";(e=new WebSocket("".concat(o,"//").concat(window.location.host,"/api/events"))).onopen=()=>{a(!0),s=0},e.onmessage=e=>{try{let t=JSON.parse(e.data);n.current(t)}catch(e){console.error("Failed to parse WebSocket message:",e)}},e.onclose=()=>{if(a(!1),!r){let e=Math.min(1e3*Math.pow(2,s),1e4);s++,t=setTimeout(l,e)}},e.onerror=()=>{null==e||e.close()}}(),()=>{r=!0,t&&clearTimeout(t),null==e||e.close()}},[]),{connected:t}}((0,s.useCallback)(e=>{l(t=>[e,...t].slice(0,100))},[]));return(0,n.jsx)(r.Provider,{value:{connected:o,events:a},children:t})}}},e=>{e.O(0,[580,814,743,358],()=>e(e.s=3957)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[131],{593:(e,t,n)=>{"use strict";async function s(e,t){let n=await fetch("".concat("","/api").concat(e),{...t,credentials:"include",headers:{"Content-Type":"application/json",...null==t?void 0:t.headers}});if(!n.ok)throw Error((await n.json().catch(()=>({error:"unknown",message:"Request failed."}))).message);return n.json()}async function a(){let e=await fetch("".concat("","/api/auth/check"),{credentials:"include"});return(await e.json()).data}async function r(e,t){return(await fetch("".concat("","/api/auth/login"),{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:e,password:t})})).ok}async function c(){await fetch("".concat("","/api/auth/logout"),{method:"POST",credentials:"include"})}function o(){return{getHealth:()=>s("/health"),getSignals:()=>s("/signals"),getScheduledSignals:()=>s("/signals/scheduled"),getSignal:e=>s("/signals/".concat(encodeURIComponent(e))),getSignalRuns:e=>s("/signals/".concat(encodeURIComponent(e),"/runs")),triggerSignal:(e,t)=>s("/signals/".concat(encodeURIComponent(e),"/trigger"),{method:"POST",body:JSON.stringify({input:null!=t?t:{}})}),getRuns:e=>{let t=new URLSearchParams;(null==e?void 0:e.status)&&t.set("status",e.status),(null==e?void 0:e.signalName)&&t.set("signalName",e.signalName);let n=t.toString();return s("/runs".concat(n?"?".concat(n):""))},getRunStats:()=>s("/runs/stats"),getRun:e=>s("/runs/".concat(e)),getRunSteps:e=>s("/runs/".concat(e,"/steps")),getRunLogs:e=>s("/runs/".concat(e,"/logs")),cancelRun:e=>s("/runs/".concat(e,"/cancel"),{method:"POST"}),rerunRun:e=>s("/runs/".concat(e,"/rerun"),{method:"POST"}),retryRun:e=>s("/runs/".concat(e,"/retry"),{method:"POST"}),getBroadcasts:()=>s("/broadcasts"),getBroadcast:e=>s("/broadcasts/".concat(encodeURIComponent(e))),triggerBroadcast:(e,t)=>s("/broadcasts/".concat(encodeURIComponent(e),"/trigger"),{method:"POST",body:JSON.stringify({input:null!=t?t:{}})}),getBroadcastRuns:e=>s("/broadcasts/".concat(encodeURIComponent(e),"/runs")),getBroadcastRun:e=>s("/broadcast-runs/".concat(e)),getBroadcastRunNodes:e=>s("/broadcast-runs/".concat(e,"/nodes")),getBroadcastRunLogs:e=>s("/broadcast-runs/".concat(e,"/logs")),cancelBroadcastRun:e=>s("/broadcast-runs/".concat(e,"/cancel"),{method:"POST"}),rerunBroadcastRun:e=>s("/broadcast-runs/".concat(e,"/rerun"),{method:"POST"}),getApiKeys:()=>s("/v1/keys"),createApiKey:(e,t)=>s("/v1/keys",{method:"POST",body:JSON.stringify({name:e,scopes:t})}),revokeApiKey:e=>s("/v1/keys/".concat(e),{method:"DELETE"})}}n.d(t,{T5:()=>a,gf:()=>o,iD:()=>r,ri:()=>c})},2679:(e,t,n)=>{Promise.resolve().then(n.bind(n,9976))},3055:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var s=n(8111),a=n(5271);function r(e){let{schema:t}=e;if("object"!==t.type||!t.properties)return null;let n=Object.entries(t.properties);return 0===n.length?null:(0,s.jsxs)("div",{className:"schema-ref",children:[(0,s.jsx)("div",{className:"schema-ref-title",children:"Expected Input"}),n.map(e=>{let[t,n]=e;return(0,s.jsxs)("div",{className:"schema-field",children:[(0,s.jsx)("span",{className:"schema-field-name",children:t}),(0,s.jsx)("span",{className:"schema-field-type".concat(n.required?"":" schema-field-type--optional"),children:n.type})]},t)})]})}function c(e){let{schema:t,value:n,onChange:c}=e,[o,i]=(0,a.useState)(null),[l,d]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!l){if(t&&"{}"===n){let e=JSON.stringify(function e(t){switch(t.type){case"string":return"";case"number":case"integer":return 0;case"boolean":return!1;case"array":return[];case"enum":if(t.values&&t.values.length>0)return t.values[0];return"";case"object":{if(!t.properties)return{};let n={};for(let[s,a]of Object.entries(t.properties))n[s]=e(a);return n}default:return null}}(t),null,2);"{}"!==e&&c(e)}d(!0)}},[t,n,c,l]),(0,s.jsxs)("div",{children:[t&&"object"===t.type&&t.properties&&(0,s.jsx)(r,{schema:t}),(0,s.jsx)("textarea",{className:"input-textarea",value:n,onChange:e=>(function(e){if(c(e),""===e.trim())return void i(null);try{JSON.parse(e),i(null)}catch(e){e instanceof SyntaxError?i(e.message):i("Invalid JSON")}})(e.target.value),rows:6,spellCheck:!1,placeholder:"{}"}),o&&(0,s.jsx)("div",{className:"json-parse-error",children:o})]})}},4736:(e,t,n)=>{"use strict";var s=n(1504);n.o(s,"useParams")&&n.d(t,{useParams:function(){return s.useParams}}),n.o(s,"usePathname")&&n.d(t,{usePathname:function(){return s.usePathname}}),n.o(s,"useRouter")&&n.d(t,{useRouter:function(){return s.useRouter}})},7646:(e,t,n)=>{"use strict";n.d(t,{Hc:()=>a,iQ:()=>c,rT:()=>r});var s=n(5271);let a=(0,s.createContext)({segments:[],activeSection:null,setSegments:()=>{},setActiveSection:()=>{}});function r(e,t){let n=(0,s.useContext)(a);(0,s.useEffect)(()=>{n.setSegments(e),n.setActiveSection(t)},[JSON.stringify(e),t])}function c(){return(0,s.useContext)(a)}},9976:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var s=n(8111),a=n(5271),r=n(4736),c=n(593),o=n(7646),i=n(3055);function l(e){return e<1e3?"".concat(e,"ms"):e<6e4?"".concat((e/1e3).toFixed(0),"s"):e<36e5?"".concat((e/6e4).toFixed(0),"m"):"".concat((e/36e5).toFixed(0),"h")}function d(){let e=(0,c.gf)(),t=(0,r.useRouter)(),[n,d]=(0,a.useState)([]),[u,m]=(0,a.useState)(!0),[h,g]=(0,a.useState)(null),[p,f]=(0,a.useState)("{}"),[y,x]=(0,a.useState)(!1);async function j(t){x(!0);try{let n=JSON.parse(p);await e.triggerBroadcast(t,n),g(null),f("{}")}catch(e){e instanceof Error&&console.error("Trigger failed:",e.message)}x(!1)}function b(e){h===e?g(null):g(e),f("{}")}return((0,o.rT)([{label:"Broadcasts"}],"broadcasts"),(0,a.useEffect)(()=>{e.getBroadcasts().then(e=>d(e.data)).catch(e=>{e instanceof Error&&console.error("Failed to load broadcasts:",e.message)}).finally(()=>m(!1))},[]),u)?(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"page-title",children:"Broadcasts"}),(0,s.jsx)("div",{className:"loading-bar",children:(0,s.jsx)("div",{className:"loading-bar-fill"})})]}):0===n.length?(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"page-title",children:"Broadcasts"}),(0,s.jsx)("div",{className:"empty-state",children:(0,s.jsx)("p",{className:"empty-state-text",children:"No broadcasts discovered."})})]}):(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"page-title",children:"Broadcasts"}),(0,s.jsxs)("table",{className:"station-table",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Name"}),(0,s.jsx)("th",{children:"Nodes"}),(0,s.jsx)("th",{children:"Failure Policy"}),(0,s.jsx)("th",{children:"Timeout"}),(0,s.jsx)("th",{})]})}),(0,s.jsx)("tbody",{children:n.map((e,n)=>h===e.name?(0,s.jsx)("tr",{className:"reveal-item",style:{animationDelay:"".concat(40*n,"ms")},children:(0,s.jsx)("td",{colSpan:5,style:{padding:0},children:(0,s.jsxs)("div",{style:{padding:"0.75rem"},children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"0.75rem"},children:[(0,s.jsx)("span",{className:"mono",style:{fontWeight:600},children:e.name}),(0,s.jsxs)("span",{style:{color:"var(--muted)",fontSize:"0.8125rem"},children:[e.nodes.length," nodes / ",e.failurePolicy," / ",null!==e.timeout?l(e.timeout):"—"]})]}),(0,s.jsx)(i.q,{schema:null,value:p,onChange:f}),(0,s.jsxs)("div",{style:{marginTop:"0.5rem",display:"flex",gap:"0.5rem"},children:[(0,s.jsx)("button",{className:"btn btn--primary",onClick:()=>j(e.name),disabled:y,children:y?"Dispatching...":"Dispatch"}),(0,s.jsx)("button",{className:"btn",onClick:()=>b(e.name),children:"Cancel"})]})]})})},e.name):(0,s.jsxs)("tr",{className:"reveal-item clickable-row",style:{animationDelay:"".concat(40*n,"ms")},onClick:()=>t.push("/broadcasts/".concat(encodeURIComponent(e.name))),children:[(0,s.jsx)("td",{className:"mono",children:e.name}),(0,s.jsx)("td",{className:"mono",children:e.nodes.length}),(0,s.jsx)("td",{className:"mono",style:{color:"var(--muted)"},children:e.failurePolicy}),(0,s.jsx)("td",{className:"mono",style:{fontSize:"0.8125rem"},children:null!==e.timeout?l(e.timeout):"—"}),(0,s.jsx)("td",{children:(0,s.jsx)("button",{className:"btn btn--sm btn--primary",onClick:t=>{t.stopPropagation(),b(e.name)},children:"Trigger"})})]},e.name))})]})]})}}},e=>{e.O(0,[814,743,358],()=>e(e.s=2679)),_N_E=e.O()}]);