@knpkv/control-center 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/README.md +18 -8
  2. package/dist/client/.vite/manifest.json +214 -182
  3. package/dist/client/assets/{ActiveWorkPage-Dd1mxPrq.js → ActiveWorkPage-g2-Jyavo.js} +2 -2
  4. package/dist/client/assets/{ActiveWorkPage-Dd1mxPrq.js.map → ActiveWorkPage-g2-Jyavo.js.map} +1 -1
  5. package/dist/client/assets/AgentPage-B6GQdZAs.css +1 -0
  6. package/dist/client/assets/AgentPage-DmVsEe13.js +6 -0
  7. package/dist/client/assets/AgentPage-DmVsEe13.js.map +1 -0
  8. package/dist/client/assets/AtlassianOAuthCallbackPage-C8u9ItMj.js +2 -0
  9. package/dist/client/assets/{AtlassianOAuthCallbackPage-BPoF6oKf.js.map → AtlassianOAuthCallbackPage-C8u9ItMj.js.map} +1 -1
  10. package/dist/client/assets/{AuthorizedSharePage-jjqu6W_f.js → AuthorizedSharePage-CVBJ1NTm.js} +2 -2
  11. package/dist/client/assets/{AuthorizedSharePage-jjqu6W_f.js.map → AuthorizedSharePage-CVBJ1NTm.js.map} +1 -1
  12. package/dist/client/assets/BrowserCrypto-3BoTVFdl.js +2 -0
  13. package/dist/client/assets/{BrowserCrypto-BMbjhcvP.js.map → BrowserCrypto-3BoTVFdl.js.map} +1 -1
  14. package/dist/client/assets/BrowserSessionHydrator-CpZnNm4X.js +2 -0
  15. package/dist/client/assets/{BrowserSessionHydrator-BC1ymLkL.js.map → BrowserSessionHydrator-CpZnNm4X.js.map} +1 -1
  16. package/dist/client/assets/{CommandSearch-WwAVDrD9.js → CommandSearch-DUeRRbV2.js} +2 -2
  17. package/dist/client/assets/{CommandSearch-WwAVDrD9.js.map → CommandSearch-DUeRRbV2.js.map} +1 -1
  18. package/dist/client/assets/{ItemsPage-CKK_KkJ2.js → ItemsPage-BF2ZkSzh.js} +2 -2
  19. package/dist/client/assets/{ItemsPage-CKK_KkJ2.js.map → ItemsPage-BF2ZkSzh.js.map} +1 -1
  20. package/dist/client/assets/{PairPage-DA6cmyqF.js → PairPage-CkaZltHd.js} +2 -2
  21. package/dist/client/assets/{PairPage-DA6cmyqF.js.map → PairPage-CkaZltHd.js.map} +1 -1
  22. package/dist/client/assets/PortfolioOverview-CEUHJmGC.js +2 -0
  23. package/dist/client/assets/{PortfolioOverview-CEI4gpXi.js.map → PortfolioOverview-CEUHJmGC.js.map} +1 -1
  24. package/dist/client/assets/{PullRequestReviewPanel-D7AKnwL-.js → PullRequestReviewPanel-D1IpvHe2.js} +3 -3
  25. package/dist/client/assets/{PullRequestReviewPanel-D7AKnwL-.js.map → PullRequestReviewPanel-D1IpvHe2.js.map} +1 -1
  26. package/dist/client/assets/{ReleaseRoute-CbPW3qUT.js → ReleaseRoute-BuQybrsg.js} +2 -2
  27. package/dist/client/assets/{ReleaseRoute-CbPW3qUT.js.map → ReleaseRoute-BuQybrsg.js.map} +1 -1
  28. package/dist/client/assets/ReleaseWorkset-BclY0Nvj.js +2 -0
  29. package/dist/client/assets/ReleaseWorkset-BclY0Nvj.js.map +1 -0
  30. package/dist/client/assets/ServicesPage-hw5Ee69-.js +2 -0
  31. package/dist/client/assets/{ServicesPage-_B89DAvG.js.map → ServicesPage-hw5Ee69-.js.map} +1 -1
  32. package/dist/client/assets/{TimelinePage-DvpgD8AY.js → TimelinePage-Cj3V98uI.js} +2 -2
  33. package/dist/client/assets/{TimelinePage-DvpgD8AY.js.map → TimelinePage-Cj3V98uI.js.map} +1 -1
  34. package/dist/client/assets/{WorkspaceEntityLink-DPj6MKI2.js → WorkspaceEntityLink-C_rc8lxi.js} +2 -2
  35. package/dist/client/assets/{WorkspaceEntityLink-DPj6MKI2.js.map → WorkspaceEntityLink-C_rc8lxi.js.map} +1 -1
  36. package/dist/client/assets/WorkspaceEntityRoute-DLLT6fY0.css +1 -0
  37. package/dist/client/assets/WorkspaceEntityRoute-kbnrQ_lY.js +14 -0
  38. package/dist/client/assets/WorkspaceEntityRoute-kbnrQ_lY.js.map +1 -0
  39. package/dist/client/assets/WorkspaceHomeLink-DeYYLEsH.js +2 -0
  40. package/dist/client/assets/{WorkspaceHomeLink-CkJfzO25.js.map → WorkspaceHomeLink-DeYYLEsH.js.map} +1 -1
  41. package/dist/client/assets/WorkspacePullRequestDetails-CizqydjN.js +3 -0
  42. package/dist/client/assets/{WorkspacePullRequestDetails-HwDgp12e.js.map → WorkspacePullRequestDetails-CizqydjN.js.map} +1 -1
  43. package/dist/client/assets/{WorkspaceReleaseLayout-CGHi8eoo.js → WorkspaceReleaseLayout-CXAQUhkh.js} +2 -2
  44. package/dist/client/assets/{WorkspaceReleaseLayout-CGHi8eoo.js.map → WorkspaceReleaseLayout-CXAQUhkh.js.map} +1 -1
  45. package/dist/client/assets/{WorkspaceRichText-D1M637Ff.js → WorkspaceRichText-CCOciILO.js} +2 -2
  46. package/dist/client/assets/WorkspaceRichText-CCOciILO.js.map +1 -0
  47. package/dist/client/assets/WorkspaceSettingsPage-GoBfQzBx.css +1 -0
  48. package/dist/client/assets/WorkspaceSettingsPage-JG-pN_CA.js +2 -0
  49. package/dist/client/assets/WorkspaceSettingsPage-JG-pN_CA.js.map +1 -0
  50. package/dist/client/assets/agent-api-Dl9TuGOJ.js +19 -0
  51. package/dist/client/assets/agent-api-Dl9TuGOJ.js.map +1 -0
  52. package/dist/client/assets/atlassianOAuthSetupIntentStorage-DE4ySCTb.js +2 -0
  53. package/dist/client/assets/atlassianOAuthSetupIntentStorage-DE4ySCTb.js.map +1 -0
  54. package/dist/client/assets/authenticatedMutationClient-DdowMjyo.js +2 -0
  55. package/dist/client/assets/{authenticatedMutationClient-DYaieXUe.js.map → authenticatedMutationClient-DdowMjyo.js.map} +1 -1
  56. package/dist/client/assets/{authorizedShareTransport-cxBoQzQ2.js → authorizedShareTransport-CnclcYai.js} +2 -2
  57. package/dist/client/assets/{authorizedShareTransport-cxBoQzQ2.js.map → authorizedShareTransport-CnclcYai.js.map} +1 -1
  58. package/dist/client/assets/client-Dq_XQE_l.js +5 -0
  59. package/dist/client/assets/client-Dq_XQE_l.js.map +1 -0
  60. package/dist/client/assets/confluenceTasks-DtKq8_eU.js +5 -0
  61. package/dist/client/assets/confluenceTasks-DtKq8_eU.js.map +1 -0
  62. package/dist/client/assets/connectionTestTransport-CPK98z7H.js +2 -0
  63. package/dist/client/assets/connectionTestTransport-CPK98z7H.js.map +1 -0
  64. package/dist/client/assets/{index-C7_FDTU7.js → index-zVjlBm9l.js} +3 -3
  65. package/dist/client/assets/{index-C7_FDTU7.js.map → index-zVjlBm9l.js.map} +1 -1
  66. package/dist/client/assets/{patterns-5N-j-AD2-B9qgekXA.js → patterns-5N-j-AD2-DLfaGePK.js} +2 -2
  67. package/dist/client/assets/{patterns-5N-j-AD2-B9qgekXA.js.map → patterns-5N-j-AD2-DLfaGePK.js.map} +1 -1
  68. package/dist/client/assets/{presentPortfolio-C_JsoSWg.js → presentPortfolio-DLEq-vEz.js} +2 -2
  69. package/dist/client/assets/{presentPortfolio-C_JsoSWg.js.map → presentPortfolio-DLEq-vEz.js.map} +1 -1
  70. package/dist/client/assets/{presentWorkspaceItems-DboAfwGc.js → presentWorkspaceItems-BOY3FbhO.js} +2 -2
  71. package/dist/client/assets/{presentWorkspaceItems-DboAfwGc.js.map → presentWorkspaceItems-BOY3FbhO.js.map} +1 -1
  72. package/dist/client/assets/{pullRequestReviewFailures-DHmYwffV.js → pullRequestReviewFailures-CyjTVnSX.js} +2 -2
  73. package/dist/client/assets/{pullRequestReviewFailures-DHmYwffV.js.map → pullRequestReviewFailures-CyjTVnSX.js.map} +1 -1
  74. package/dist/client/assets/{pullRequestReviewThreadReplay-Vy1k53qE.js → pullRequestReviewThreadReplay-CXHspFTr.js} +2 -2
  75. package/dist/client/assets/{pullRequestReviewThreadReplay-Vy1k53qE.js.map → pullRequestReviewThreadReplay-CXHspFTr.js.map} +1 -1
  76. package/dist/client/assets/releaseAgentTransport-DaO4svPu.js +2 -0
  77. package/dist/client/assets/releaseAgentTransport-DaO4svPu.js.map +1 -0
  78. package/dist/client/assets/releaseRoutes-B4ciNOJj.js +2 -0
  79. package/dist/client/assets/{releaseRoutes-t9uCfs5T.js.map → releaseRoutes-B4ciNOJj.js.map} +1 -1
  80. package/dist/client/assets/{serviceOnboarding-DLINCon7.js → serviceOnboarding-D0FmodRi.js} +2 -2
  81. package/dist/client/assets/{serviceOnboarding-DLINCon7.js.map → serviceOnboarding-D0FmodRi.js.map} +1 -1
  82. package/dist/client/assets/{useWorkspaceDefaultLanding-CC5ImHkL.js → useWorkspaceDefaultLanding-BaQdg0sY.js} +3 -3
  83. package/dist/client/assets/{useWorkspaceDefaultLanding-CC5ImHkL.js.map → useWorkspaceDefaultLanding-BaQdg0sY.js.map} +1 -1
  84. package/dist/client/assets/{useWorkspaceItems-B1X-JNwq.js → useWorkspaceItems-B-7JHtm0.js} +2 -2
  85. package/dist/client/assets/{useWorkspaceItems-B1X-JNwq.js.map → useWorkspaceItems-B-7JHtm0.js.map} +1 -1
  86. package/dist/client/assets/workspaceEntityRoutes-DqqDa0AB.js +2 -0
  87. package/dist/client/assets/workspaceEntityRoutes-DqqDa0AB.js.map +1 -0
  88. package/dist/client/assets/{workspaceScrollCapture-BsjcWVsk.js → workspaceScrollCapture-BYNfR2wo.js} +2 -2
  89. package/dist/client/assets/{workspaceScrollCapture-BsjcWVsk.js.map → workspaceScrollCapture-BYNfR2wo.js.map} +1 -1
  90. package/dist/client/assets/{workspaceSettingsTransport-Dw2hueXv.js → workspaceSettingsTransport-Br4lBmvS.js} +2 -2
  91. package/dist/client/assets/{workspaceSettingsTransport-Dw2hueXv.js.map → workspaceSettingsTransport-Br4lBmvS.js.map} +1 -1
  92. package/dist/client/build-graph.json +98 -0
  93. package/dist/client/index.html +1 -1
  94. package/dist/server/api/agent.d.ts +12 -0
  95. package/dist/server/api/agent.d.ts.map +1 -1
  96. package/dist/server/api/deliveryGraph.d.ts +20 -0
  97. package/dist/server/api/deliveryGraph.d.ts.map +1 -1
  98. package/dist/server/api/index.d.ts +1 -1
  99. package/dist/server/api/index.d.ts.map +1 -1
  100. package/dist/server/api/index.js +3 -3
  101. package/dist/server/api/session.d.ts +23 -1
  102. package/dist/server/api/session.d.ts.map +1 -1
  103. package/dist/server/api/shares.d.ts +2 -0
  104. package/dist/server/api/shares.d.ts.map +1 -1
  105. package/dist/server/assets/{BindConfig-Bj282xDC.js → BindConfig-DAASchDn.js} +315 -36
  106. package/dist/server/assets/BindConfig-DAASchDn.js.map +1 -0
  107. package/dist/server/assets/{agent-ZvwskOQu.js → agent-xQhAQXly.js} +26 -6
  108. package/dist/server/assets/agent-xQhAQXly.js.map +1 -0
  109. package/dist/server/assets/{controlCenterApi-5j3gOXgE.js → controlCenterApi-DNXK7MT1.js} +4 -3
  110. package/dist/server/assets/controlCenterApi-DNXK7MT1.js.map +1 -0
  111. package/dist/server/assets/{manualPluginSynchronization-CzIhZ_Dw.js → manualPluginSynchronization-DFIeUHP9.js} +4 -3
  112. package/dist/server/assets/manualPluginSynchronization-DFIeUHP9.js.map +1 -0
  113. package/dist/server/assets/{readiness-BtntBhDj.js → readiness-31Mqc-9H.js} +2 -2
  114. package/dist/server/assets/{readiness-BtntBhDj.js.map → readiness-31Mqc-9H.js.map} +1 -1
  115. package/dist/server/assets/{relationshipInferenceMaterialization-CR6xyMNL.js → relationshipInferenceMaterialization-Dyix96px.js} +41 -14
  116. package/dist/server/assets/relationshipInferenceMaterialization-Dyix96px.js.map +1 -0
  117. package/dist/server/assets/{workspaceSettings-C2Zsk6RI.js → workspaceSettings-sv8h_h2P.js} +4 -1
  118. package/dist/server/assets/workspaceSettings-sv8h_h2P.js.map +1 -0
  119. package/dist/server/build-graph.json +28 -1
  120. package/dist/server/domain/confluenceTasks.d.ts +27 -0
  121. package/dist/server/domain/confluenceTasks.d.ts.map +1 -0
  122. package/dist/server/domain/deliveryGraph.d.ts +2 -0
  123. package/dist/server/domain/deliveryGraph.d.ts.map +1 -1
  124. package/dist/server/domain/governedAction/bindings.d.ts +2 -0
  125. package/dist/server/domain/governedAction/bindings.d.ts.map +1 -1
  126. package/dist/server/domain/governedAction/model.d.ts +6 -0
  127. package/dist/server/domain/governedAction/model.d.ts.map +1 -1
  128. package/dist/server/domain/index.js +2 -2
  129. package/dist/server/domain/normalizedPage.d.ts +1 -0
  130. package/dist/server/domain/normalizedPage.d.ts.map +1 -1
  131. package/dist/server/domain/releasePipelineApproval.d.ts +31 -0
  132. package/dist/server/domain/releasePipelineApproval.d.ts.map +1 -0
  133. package/dist/server/index.js +5 -5
  134. package/dist/server/server/api/Handlers.d.ts +1 -1
  135. package/dist/server/server/api/Handlers.d.ts.map +1 -1
  136. package/dist/server/server/application/deliveryGraphInspection.d.ts.map +1 -1
  137. package/dist/server/server/application/normalizedPluginPageMaterialization.d.ts.map +1 -1
  138. package/dist/server/server/application/pipelineExecutionProjection.d.ts +1 -0
  139. package/dist/server/server/application/pipelineExecutionProjection.d.ts.map +1 -1
  140. package/dist/server/server/application/portfolioSnapshots.d.ts +4 -0
  141. package/dist/server/server/application/portfolioSnapshots.d.ts.map +1 -1
  142. package/dist/server/server/application/releasePublicationSubmissions.d.ts +32 -1
  143. package/dist/server/server/application/releasePublicationSubmissions.d.ts.map +1 -1
  144. package/dist/server/server/application/releaseRunbookHydration.d.ts +2310 -0
  145. package/dist/server/server/application/releaseRunbookHydration.d.ts.map +1 -0
  146. package/dist/server/server/cli.js +3 -3
  147. package/dist/server/server/governance/governedActionDigests.d.ts +3 -0
  148. package/dist/server/server/governance/governedActionDigests.d.ts.map +1 -1
  149. package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts +1 -0
  150. package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts.map +1 -1
  151. package/dist/server/server/index.js +2 -2
  152. package/dist/server/server/persistence/Persistence.d.ts +10 -0
  153. package/dist/server/server/persistence/Persistence.d.ts.map +1 -1
  154. package/dist/server/server/persistence/object-store/BlobPublisher.d.ts.map +1 -1
  155. package/dist/server/server/persistence/object-store/PinnedDirectory.d.ts +2 -2
  156. package/dist/server/server/persistence/object-store/PinnedDirectory.d.ts.map +1 -1
  157. package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts +10 -0
  158. package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts.map +1 -1
  159. package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts +2 -0
  160. package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts.map +1 -1
  161. package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts +6 -0
  162. package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts.map +1 -1
  163. package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts +1 -0
  164. package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts.map +1 -1
  165. package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts +2 -0
  166. package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts.map +1 -1
  167. package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts +6 -0
  168. package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts.map +1 -1
  169. package/dist/server/server/persistence/repositories/governed-action/codec.d.ts +4 -0
  170. package/dist/server/server/persistence/repositories/governed-action/codec.d.ts.map +1 -1
  171. package/dist/server/server/persistence/repositories/governed-action/contract.d.ts +2 -0
  172. package/dist/server/server/persistence/repositories/governed-action/contract.d.ts.map +1 -1
  173. package/dist/server/server/persistence/repositories/governed-action/read.d.ts +4 -0
  174. package/dist/server/server/persistence/repositories/governed-action/read.d.ts.map +1 -1
  175. package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts +4 -0
  176. package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts.map +1 -1
  177. package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts +1 -0
  178. package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts.map +1 -1
  179. package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts +2 -0
  180. package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts.map +1 -1
  181. package/dist/server/server/persistence/repositories/governed-action/write.d.ts +2 -0
  182. package/dist/server/server/persistence/repositories/governed-action/write.d.ts.map +1 -1
  183. package/dist/server/server/persistence/repositories/governedActionRepository.d.ts +4 -0
  184. package/dist/server/server/persistence/repositories/governedActionRepository.d.ts.map +1 -1
  185. package/package.json +3 -3
  186. package/dist/client/assets/AgentPage-C3LThgPZ.js +0 -3
  187. package/dist/client/assets/AgentPage-C3LThgPZ.js.map +0 -1
  188. package/dist/client/assets/AgentPage-DVSgQgJa.css +0 -1
  189. package/dist/client/assets/AtlassianOAuthCallbackPage-BPoF6oKf.js +0 -2
  190. package/dist/client/assets/BrowserCrypto-BMbjhcvP.js +0 -2
  191. package/dist/client/assets/BrowserSessionHydrator-BC1ymLkL.js +0 -2
  192. package/dist/client/assets/PortfolioOverview-CEI4gpXi.js +0 -2
  193. package/dist/client/assets/ReleaseWorkset-BluAe7Sq.js +0 -2
  194. package/dist/client/assets/ReleaseWorkset-BluAe7Sq.js.map +0 -1
  195. package/dist/client/assets/ServicesPage-_B89DAvG.js +0 -2
  196. package/dist/client/assets/WorkspaceEntityRoute-9iMOV64J.css +0 -1
  197. package/dist/client/assets/WorkspaceEntityRoute-B01fxxB3.js +0 -3
  198. package/dist/client/assets/WorkspaceEntityRoute-B01fxxB3.js.map +0 -1
  199. package/dist/client/assets/WorkspaceHomeLink-CkJfzO25.js +0 -2
  200. package/dist/client/assets/WorkspacePullRequestDetails-HwDgp12e.js +0 -3
  201. package/dist/client/assets/WorkspaceRichText-D1M637Ff.js.map +0 -1
  202. package/dist/client/assets/WorkspaceSettingsPage-DyoGiGJG.js +0 -2
  203. package/dist/client/assets/WorkspaceSettingsPage-DyoGiGJG.js.map +0 -1
  204. package/dist/client/assets/WorkspaceSettingsPage-P6yfac0b.css +0 -1
  205. package/dist/client/assets/agent-api-CeONl_8w.js +0 -19
  206. package/dist/client/assets/agent-api-CeONl_8w.js.map +0 -1
  207. package/dist/client/assets/authenticatedMutationClient-DYaieXUe.js +0 -2
  208. package/dist/client/assets/client-DKS82kT_.js +0 -5
  209. package/dist/client/assets/client-DKS82kT_.js.map +0 -1
  210. package/dist/client/assets/connectionTestTransport-I_Ga9UNs.js +0 -2
  211. package/dist/client/assets/connectionTestTransport-I_Ga9UNs.js.map +0 -1
  212. package/dist/client/assets/releaseRoutes-t9uCfs5T.js +0 -2
  213. package/dist/client/assets/workspaceEntityRoutes-2TejMrzb.js +0 -2
  214. package/dist/client/assets/workspaceEntityRoutes-2TejMrzb.js.map +0 -1
  215. package/dist/server/assets/BindConfig-Bj282xDC.js.map +0 -1
  216. package/dist/server/assets/agent-ZvwskOQu.js.map +0 -1
  217. package/dist/server/assets/controlCenterApi-5j3gOXgE.js.map +0 -1
  218. package/dist/server/assets/manualPluginSynchronization-CzIhZ_Dw.js.map +0 -1
  219. package/dist/server/assets/relationshipInferenceMaterialization-CR6xyMNL.js.map +0 -1
  220. package/dist/server/assets/workspaceSettings-C2Zsk6RI.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{t}from"./react-CZI7_Jkm.js";import{r as n}from"./PortalProvider-BpgZwSpw-aHWGwW1o.js";import{t as r}from"./jsx-runtime-By8HlURe.js";import{i,o as a,r as o,s,t as c}from"./Dialog-xSrBk0Vv-ClGyDPlc.js";import{p as l}from"./index-C7_FDTU7.js";import{i as u,n as d,r as f,t as p}from"./component-BJeeRuSu-Bu7KhcFC.js";var m=e(t(),1),h=r(),g={root:`rly_AgentContextButton-module__root`,mark:`rly_AgentContextButton-module__mark`,glyph:`rly_AgentContextButton-module__glyph`,copy:`rly_AgentContextButton-module__copy`,contextRow:`rly_AgentContextButton-module__contextRow`,action:`rly_AgentContextButton-module__action`,agent:`rly_AgentContextButton-module__agent`,contextLabel:`rly_AgentContextButton-module__contextLabel`,context:`rly_AgentContextButton-module__context`,job:`rly_AgentContextButton-module__job`,count:`rly_AgentContextButton-module__count`},_=e=>u(g,e),v=()=>(0,h.jsx)(`span`,{"aria-hidden":`true`,className:_(`mark`),children:(0,h.jsx)(`svg`,{className:_(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,h.jsx)(`path`,{d:`M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z`,fill:`currentColor`})})}),y=({actionLabel:e=`Ask agent`,agentName:t,className:n,context:r,contextLabel:i=`Context`,job:a,type:o,...s})=>{let c=f(e,`AgentContextButton actionLabel`),l=f(t,`AgentContextButton agentName`),u=f(r,`AgentContextButton context`),p=f(i,`AgentContextButton contextLabel`),m=a===void 0?void 0:f(a.status,`AgentContextButton job status`);if(a?.count!==void 0&&(!Number.isInteger(a.count)||a.count<0))throw Error(`AgentContextButton job count must be a non-negative integer`);return(0,h.jsxs)(`button`,{...s,className:d(_(`root`),n),"data-rly-agent-context-button":``,type:o??`button`,children:[(0,h.jsx)(v,{}),(0,h.jsxs)(`span`,{className:_(`copy`),children:[(0,h.jsx)(`span`,{className:_(`action`),children:c}),(0,h.jsx)(`span`,{className:_(`agent`),children:l}),(0,h.jsxs)(`span`,{className:_(`contextRow`),children:[(0,h.jsx)(`span`,{className:_(`contextLabel`),children:p}),(0,h.jsx)(`span`,{className:_(`context`),children:u})]})]}),m===void 0?null:(0,h.jsxs)(`span`,{className:_(`job`),"data-rly-agent-job":``,children:[m,a?.count===void 0?null:(0,h.jsx)(`span`,{className:_(`count`),children:a.count})]})]})},b={root:`rly_AgentThread-module__root`,header:`rly_AgentThread-module__header`,messageHead:`rly_AgentThread-module__messageHead`,actor:`rly_AgentThread-module__actor`,actions:`rly_AgentThread-module__actions`,agentGlyph:`rly_AgentThread-module__agentGlyph`,avatar:`rly_AgentThread-module__avatar`,context:`rly_AgentThread-module__context`,composer:`rly_AgentThread-module__composer`,conceptLabel:`rly_AgentThread-module__conceptLabel`,messages:`rly_AgentThread-module__messages`,message:`rly_AgentThread-module__message`,agent:`rly_AgentThread-module__agent`,human:`rly_AgentThread-module__human`,system:`rly_AgentThread-module__system`,actorText:`rly_AgentThread-module__actorText`,empty:`rly_AgentThread-module__empty`,content:`rly_AgentThread-module__content`,evidence:`rly_AgentThread-module__evidence`,visuallyHidden:`rly_AgentThread-module__visuallyHidden`},x=e=>u(b,e),S=(e,t)=>{if(e==null||typeof e==`boolean`)throw Error(`${t} must contain renderable content`);typeof e==`string`&&f(e,t)},C=e=>{let t=e.trim().split(/\s+/u),n=Array.from(t[0]??``)[0]??``,r=Array.from(t[t.length-1]??``)[0]??``;return f(`${n}${t.length>1?r:``}`,`AgentThread actor fallback`)},w=e=>{if(e.kind===`human`){f(e.person.id,`AgentThread human id`),f(e.person.name,`AgentThread human name`),f(e.person.role,`AgentThread human role`),e.person.avatarFallback!==void 0&&f(e.person.avatarFallback,`AgentThread human avatarFallback`),e.person.avatarSrc!==void 0&&f(e.person.avatarSrc,`AgentThread human avatarSrc`);return}f(e.id,`AgentThread ${e.kind} id`),f(e.name,`AgentThread ${e.kind} name`),e.kind===`agent`&&(f(e.role,`AgentThread agent role`),e.avatarFallback!==void 0&&f(e.avatarFallback,`AgentThread agent avatarFallback`))},T=e=>{let t=e.kind===`human`?e.person.name:e.name,n=e.kind===`human`?e.person.role:e.kind===`agent`?e.role:`System event`,r=e.kind===`human`?e.person.avatarFallback??C(t):e.kind===`agent`?e.avatarFallback??C(t):`·`,i=e.kind===`human`?e.person.avatarSrc:void 0;return(0,h.jsxs)(`div`,{className:d(x(`actor`),x(e.kind)),"data-rly-agent-thread-actor":e.kind,children:[(0,h.jsx)(a,{className:x(`avatar`),"data-rly-agent-thread-avatar-shape":e.kind===`human`?`circle`:`rounded-square`,decorative:!0,fallback:r,shape:e.kind===`human`?`circle`:`rounded-square`,size:`default`,...i===void 0?{}:{src:i}}),(0,h.jsxs)(`span`,{className:x(`actorText`),children:[(0,h.jsx)(`strong`,{children:t}),(0,h.jsx)(`span`,{children:n})]})]})},E=({announcement:e,className:t,composer:n,context:r,emptyLabel:i=`No messages yet.`,heading:a,messages:o,...s})=>{let c=f(a,`AgentThread heading`),l=f(i,`AgentThread emptyLabel`);S(r,`AgentThread context`),S(n,`AgentThread composer`),e!==void 0&&f(e,`AgentThread announcement`);let u=new Set;for(let e of o){let t=f(e.id,`AgentThread message id`);if(u.has(t))throw Error(`AgentThread message ids must be unique: ${t}`);u.add(t),w(e.actor),S(e.content,`AgentThread message content for ${t}`),f(e.dateTime,`AgentThread message dateTime for ${t}`),f(e.time,`AgentThread message time for ${t}`)}return(0,h.jsxs)(`section`,{...s,className:d(x(`root`),t),"data-rly-agent-thread":``,children:[(0,h.jsxs)(`header`,{className:x(`header`),children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:x(`agentGlyph`),children:`AI`}),(0,h.jsx)(`h2`,{children:c})]}),(0,h.jsxs)(`div`,{className:x(`context`),"data-rly-agent-thread-context":``,children:[(0,h.jsx)(`span`,{className:x(`conceptLabel`),children:`Exact context`}),r]}),o.length===0?(0,h.jsx)(`p`,{className:x(`empty`),children:l}):(0,h.jsx)(`ol`,{"aria-label":`${c} messages`,className:x(`messages`),children:o.map(e=>(0,h.jsxs)(`li`,{className:x(`message`),"data-rly-agent-thread-message":e.id,children:[(0,h.jsxs)(`div`,{className:x(`messageHead`),children:[T(e.actor),(0,h.jsx)(`time`,{dateTime:e.dateTime,children:e.time})]}),(0,h.jsx)(`div`,{className:x(`content`),children:e.content}),e.evidence===void 0?null:(0,h.jsx)(`div`,{className:x(`evidence`),"data-rly-agent-thread-evidence":``,children:e.evidence}),e.actions===void 0?null:(0,h.jsx)(`div`,{className:x(`actions`),"data-rly-agent-thread-actions":``,children:e.actions})]},e.id))}),(0,h.jsx)(`p`,{"aria-atomic":`true`,"aria-live":`polite`,className:x(`visuallyHidden`),children:e}),(0,h.jsx)(`div`,{className:x(`composer`),"data-rly-agent-thread-composer":``,children:n})]})},D={root:`rly_Person-module__root`,compact:`rly_Person-module__compact`,defaultSize:`rly_Person-module__defaultSize`,identity:`rly_Person-module__identity`,name:`rly_Person-module__name`,role:`rly_Person-module__role`},O=e=>u(D,e),ee=p({size:{compact:{className:O(`compact`),purpose:`Dense identity row with complete attribution`,tokens:[`space-24`,`type-meta`]},default:{className:O(`defaultSize`),purpose:`Standard identity row with complete attribution`,tokens:[`space-32`,`type-label`,`type-meta`]}}});p({size:`default`});var te=e=>{let t=e.trim().split(/\s+/u),n=t[0]??``,r=t[t.length-1]??n,i=Array.from(n);return f(`${i[0]??``}${t.length>1?Array.from(r)[0]??``:i[1]??``}`,`Person avatar fallback`)},ne=e=>(f(e.id,`Person id`),f(e.name,`Person name`),f(e.role,`Person role`),e.avatarFallback!==void 0&&f(e.avatarFallback,`Person avatarFallback`),e.avatarSrc!==void 0&&f(e.avatarSrc,`Person avatarSrc`),e),k=({className:e,person:t,size:n=`default`,...r})=>{let i=ne(t),o=i.avatarFallback??te(i.name);return(0,h.jsxs)(`div`,{...r,className:d(O(`root`),ee.size[n].className,e),"data-rly-person-size":n,children:[(0,h.jsx)(a,{decorative:!0,fallback:o,size:n===`compact`?`small`:`default`,...i.avatarSrc===void 0?{}:{src:i.avatarSrc}}),(0,h.jsxs)(`span`,{className:O(`identity`),children:[(0,h.jsx)(`span`,{className:O(`name`),children:i.name}),(0,h.jsx)(`span`,{className:O(`role`),children:i.role})]})]})},re={root:`rly_PeopleStrip-module__root`,compact:`rly_PeopleStrip-module__compact`,defaultSize:`rly_PeopleStrip-module__defaultSize`,personItem:`rly_PeopleStrip-module__personItem`,controlItem:`rly_PeopleStrip-module__controlItem`,overflow:`rly_PeopleStrip-module__overflow`},A=e=>u(re,e),ie=p({size:{compact:{className:A(`compact`),purpose:`Dense attributed people list for narrow surfaces`,tokens:[`space-8`,`space-40`]},default:{className:A(`defaultSize`),purpose:`Standard attributed people list`,tokens:[`space-12`,`space-40`]}}});p({size:`default`});var ae=e=>{if(!Number.isInteger(e)||e<1)throw Error(`PeopleStrip limit must be a positive integer`);return e},oe=e=>{let t=new Set;for(let n of e){let e=f(n.id,`PeopleStrip person id`);if(f(n.name,`PeopleStrip name for ${e}`),f(n.role,`PeopleStrip role for ${e}`),t.has(e))throw Error(`PeopleStrip person ids must be unique: ${e}`);t.add(e)}},se=({"aria-label":e,className:t,expanded:n,limit:r=3,onExpandedChange:i,people:a,size:o=`default`,...s})=>{let c=f(e,`PeopleStrip aria-label`),l=ae(r);oe(a);let u=Math.max(a.length-l,0),p=n?a:a.slice(0,l);return(0,h.jsxs)(`ul`,{...s,"aria-label":c,className:d(A(`root`),ie.size[o].className,t),"data-rly-people-strip-size":o,children:[p.map(e=>(0,h.jsx)(`li`,{className:A(`personItem`),children:(0,h.jsx)(k,{person:e,size:o})},e.id)),u===0?null:(0,h.jsx)(`li`,{className:A(`controlItem`),children:(0,h.jsx)(`button`,{"aria-expanded":n,"aria-label":n?`Show fewer people`:`Show ${u} more people`,className:A(`overflow`),onClick:()=>i(!n),type:`button`,children:n?`Show fewer`:`+${u} people`})})]})},ce={root:`rly_CollaboratorGroup-module__root`,compact:`rly_CollaboratorGroup-module__compact`,defaultSize:`rly_CollaboratorGroup-module__defaultSize`,heading:`rly_CollaboratorGroup-module__heading`,lanes:`rly_CollaboratorGroup-module__lanes`,lane:`rly_CollaboratorGroup-module__lane`,laneHeading:`rly_CollaboratorGroup-module__laneHeading`,empty:`rly_CollaboratorGroup-module__empty`},j=e=>u(ce,e),le=p({size:{compact:{className:j(`compact`),purpose:`Narrow entity attribution with explicit role lanes`,tokens:[`space-12`,`type-label`]},default:{className:j(`defaultSize`),purpose:`Standard entity attribution with explicit role lanes`,tokens:[`space-20`,`type-card-title`]}}});p({size:`default`});var ue=({approvers:e=[],authors:t=[],className:n,emptyLabel:r=`No collaborators assigned.`,expandedCategories:i,heading:a,limit:o=3,onCategoryExpandedChange:s,operators:c=[],owners:l=[],reviewers:u=[],size:p=`default`,...g})=>{let _=f(a,`CollaboratorGroup heading`),v=f(r,`CollaboratorGroup emptyLabel`),y=`rly-collaborators-${(0,m.useId)()}`,b=new Set(i),x=[{category:`authors`,label:`Authors`,people:t},{category:`owners`,label:`Owners`,people:l},{category:`reviewers`,label:`Reviewers`,people:u},{category:`operators`,label:`Operators`,people:c},{category:`approvers`,label:`Approvers`,people:e}].filter(e=>e.people.length>0);return(0,h.jsxs)(`section`,{...g,"aria-labelledby":y,className:d(j(`root`),le.size[p].className,n),"data-rly-collaborator-group-size":p,children:[(0,h.jsx)(`h2`,{className:j(`heading`),id:y,children:_}),x.length===0?(0,h.jsx)(`p`,{className:j(`empty`),children:v}):(0,h.jsx)(`div`,{className:j(`lanes`),children:x.map(e=>(0,h.jsxs)(`section`,{className:j(`lane`),children:[(0,h.jsx)(`h3`,{className:j(`laneHeading`),children:e.label}),(0,h.jsx)(se,{"aria-label":`${_}: ${e.label}`,expanded:b.has(e.category),limit:o,onExpandedChange:t=>s(e.category,t),people:e.people,size:p})]},e.category))})]})},de={root:`rly_FreshnessStamp-module__root`,stateWord:`rly_FreshnessStamp-module__stateWord`,separator:`rly_FreshnessStamp-module__separator`,time:`rly_FreshnessStamp-module__time`,compact:`rly_FreshnessStamp-module__compact`,defaultSize:`rly_FreshnessStamp-module__defaultSize`,current:`rly_FreshnessStamp-module__current`,cached:`rly_FreshnessStamp-module__cached`,missing:`rly_FreshnessStamp-module__missing`,stale:`rly_FreshnessStamp-module__stale`,unavailable:`rly_FreshnessStamp-module__unavailable`},M=e=>u(de,e),fe=p({state:{current:{className:M(`current`),purpose:`Current source observation`,tokens:[`color-success-ink`,`color-success-tint`]},cached:{className:M(`cached`),purpose:`Valid cached source observation`,tokens:[`color-text-2`,`color-surface-2`]},stale:{className:M(`stale`),purpose:`Source observation beyond its supplied freshness threshold`,tokens:[`color-held-ink`,`color-held-tint`]},missing:{className:M(`missing`),purpose:`Provider authoritatively reported no object`,tokens:[`color-text-2`,`color-surface-2`]},unavailable:{className:M(`unavailable`),purpose:`No valid source observation is available`,tokens:[`color-blocked-ink`,`color-blocked-tint`]}},size:{compact:{className:M(`compact`),purpose:`Dense freshness metadata`,tokens:[`type-meta`]},default:{className:M(`defaultSize`),purpose:`Standard freshness metadata`,tokens:[`type-label`,`type-meta`]}}});p({size:`default`});var pe={current:`Current`,cached:`Cached`,stale:`Stale`,missing:`Missing`,unavailable:`Unavailable`},me={current:`check`,cached:`clock`,stale:`clock`,missing:`minus`,unavailable:`alert`},N=({className:e,dateTime:t,size:r=`default`,state:i,time:a,...o})=>{let s=a===void 0?void 0:f(a,`FreshnessStamp time`),c=t===void 0?void 0:f(t,`FreshnessStamp dateTime`);return(0,h.jsxs)(`span`,{...o,className:d(M(`root`),fe.state[i].className,fe.size[r].className,e),"data-rly-freshness-state":i,children:[(0,h.jsxs)(`span`,{className:M(`stateWord`),children:[(0,h.jsx)(n,{decorative:!0,name:me[i],size:`small`}),(0,h.jsx)(`span`,{children:pe[i]})]}),s===void 0||c===void 0?null:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:M(`separator`),children:`·`}),(0,h.jsx)(`time`,{className:M(`time`),dateTime:c,children:s})]})]})},he={root:`rly_ServiceMark-module__root`,rail:`rly_ServiceMark-module__rail`,glyph:`rly_ServiceMark-module__glyph`,name:`rly_ServiceMark-module__name`,compact:`rly_ServiceMark-module__compact`,defaultSize:`rly_ServiceMark-module__defaultSize`,codecommit:`rly_ServiceMark-module__codecommit`,codepipeline:`rly_ServiceMark-module__codepipeline`,jira:`rly_ServiceMark-module__jira`,confluence:`rly_ServiceMark-module__confluence`,clockify:`rly_ServiceMark-module__clockify`},P=e=>u(he,e),F=p({service:{codecommit:{className:P(`codecommit`),purpose:`CodeCommit provenance`,tokens:[`color-service-codecommit`]},codepipeline:{className:P(`codepipeline`),purpose:`CodePipeline provenance`,tokens:[`color-service-codepipeline`]},jira:{className:P(`jira`),purpose:`Jira provenance`,tokens:[`color-service-jira`]},confluence:{className:P(`confluence`),purpose:`Confluence provenance`,tokens:[`color-service-confluence`]},clockify:{className:P(`clockify`),purpose:`Clockify provenance`,tokens:[`color-service-clockify`]}},size:{compact:{className:P(`compact`),purpose:`Dense provenance metadata`,tokens:[`space-24`,`type-meta`]},default:{className:P(`defaultSize`),purpose:`Standard provenance identity`,tokens:[`space-32`,`type-label`]}}});p({size:`default`});var ge={codecommit:`CodeCommit`,codepipeline:`CodePipeline`,jira:`Jira`,confluence:`Confluence`,clockify:`Clockify`},_e={codecommit:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`path`,{d:`M6 5.5h7.5a3 3 0 0 1 3 3v7`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`}),(0,h.jsx)(`circle`,{cx:`6`,cy:`5.5`,fill:`currentColor`,r:`2`}),(0,h.jsx)(`circle`,{cx:`16.5`,cy:`17.5`,fill:`currentColor`,r:`2`}),(0,h.jsx)(`path`,{d:`m10 12 2-2 2 2-2 2Z`,fill:`none`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.6`})]}),codepipeline:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`rect`,{fill:`none`,height:`5`,rx:`1`,stroke:`currentColor`,strokeWidth:`1.7`,width:`5`,x:`2.5`,y:`9.5`}),(0,h.jsx)(`rect`,{fill:`none`,height:`5`,rx:`1`,stroke:`currentColor`,strokeWidth:`1.7`,width:`5`,x:`16.5`,y:`9.5`}),(0,h.jsx)(`path`,{d:`M8 12h7m-2.5-2.5L15 12l-2.5 2.5`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`})]}),jira:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`path`,{d:`m12 2.8 8.8 8.8a.6.6 0 0 1 0 .8L12 21.2l-8.8-8.8a.6.6 0 0 1 0-.8Z`,fill:`currentColor`}),(0,h.jsx)(`path`,{d:`m12 7.2 4.8 4.8-4.8 4.8L7.2 12Z`,fill:`var(--rly-color-surface-1)`}),(0,h.jsx)(`path`,{d:`m12 9.8 2.2 2.2-2.2 2.2L9.8 12Z`,fill:`currentColor`})]}),confluence:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`path`,{d:`M4 7.2c3.6 2.1 6.8 2.4 9.6.9L17 6.3l2.7 4.3-3.4 1.8c-4.6 2.4-9.5 1.8-14-1.5Z`,fill:`currentColor`}),(0,h.jsx)(`path`,{d:`M20 16.8c-3.6-2.1-6.8-2.4-9.6-.9L7 17.7l-2.7-4.3 3.4-1.8c4.6-2.4 9.5-1.8 14 1.5Z`,fill:`currentColor`})]}),clockify:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`circle`,{cx:`11`,cy:`13`,fill:`none`,r:`7`,stroke:`currentColor`,strokeWidth:`1.8`}),(0,h.jsx)(`path`,{d:`M11 9v4l3 2m1.5-10.7 1.8-1.8M18 7l2-2`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`})]})},I=({className:e,service:t,size:n=`default`,...r})=>{let i=_e[t],a=ge[t];return(0,h.jsxs)(`span`,{...r,"aria-label":a,className:d(P(`root`),F.service[t].className,F.size[n].className,e),"data-rly-service":t,role:`img`,children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:P(`rail`)}),(0,h.jsx)(i,{}),(0,h.jsx)(`span`,{"aria-hidden":`true`,className:P(`name`),children:a})]})},ve={root:`rly_Verdict-module__root`,verdict:`rly_Verdict-module__verdict`,caution:`rly_Verdict-module__caution`,critical:`rly_Verdict-module__critical`,neutral:`rly_Verdict-module__neutral`,positive:`rly_Verdict-module__positive`,progress:`rly_Verdict-module__progress`,reasonPanel:`rly_Verdict-module__reasonPanel`,icon:`rly_Verdict-module__icon`,reason:`rly_Verdict-module__reason`},L=e=>u(ve,e),ye=p({tone:{caution:{className:L(`caution`),purpose:`Intentional hold or caution requiring attention`,tokens:[`color-held-ink`,`color-held-tint`]},critical:{className:L(`critical`),purpose:`Explicit blocker or failed prerequisite`,tokens:[`color-blocked-ink`,`color-blocked-tint`]},neutral:{className:L(`neutral`),purpose:`Neutral, missing, or unavailable outcome`,tokens:[`color-text-2`,`color-surface-2`]},positive:{className:L(`positive`),purpose:`Satisfied readiness or successful outcome`,tokens:[`color-success-ink`,`color-success-tint`]},progress:{className:L(`progress`),purpose:`Active work or delivery progress`,tokens:[`color-deploying-ink`,`color-deploying-tint`]}}}),be={caution:`clock`,critical:`alert`,neutral:`minus`,positive:`check`,progress:`loader`},R=({className:e,reason:t,tone:r,verdict:i,...a})=>{let o=f(t,`Verdict reason`),s=f(i,`Verdict verdict`);return(0,h.jsxs)(`section`,{...a,className:d(L(`root`),ye.tone[r].className,e),"data-rly-verdict-tone":r,children:[(0,h.jsx)(`h2`,{className:L(`verdict`),children:s}),(0,h.jsxs)(`div`,{className:L(`reasonPanel`),children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:L(`icon`),children:(0,h.jsx)(n,{decorative:!0,name:be[r],size:`large`})}),(0,h.jsx)(`p`,{className:L(`reason`),children:o})]})]})},xe={root:`rly_EntityShell-module__root`,navigation:`rly_EntityShell-module__navigation`,header:`rly_EntityShell-module__header`,identity:`rly_EntityShell-module__identity`,title:`rly_EntityShell-module__title`,hero:`rly_EntityShell-module__hero`,body:`rly_EntityShell-module__body`,headerAside:`rly_EntityShell-module__headerAside`,freshness:`rly_EntityShell-module__freshness`,headerSlot:`rly_EntityShell-module__headerSlot`,slotLabel:`rly_EntityShell-module__slotLabel`,content:`rly_EntityShell-module__content`,relationships:`rly_EntityShell-module__relationships`,activity:`rly_EntityShell-module__activity`,asideSlot:`rly_EntityShell-module__asideSlot`,aside:`rly_EntityShell-module__aside`},z=e=>u(xe,e),Se=({actions:e,activity:t,agentEntry:n,className:r,collaborators:i,content:a,evidence:o,facts:s,freshness:c,freshnessDateTime:l,freshnessTime:u,navigation:p,reason:g,relationships:_,service:v,title:y,tone:b,verdict:x,...S})=>{let C=f(y,`EntityShell title`);if(l===void 0!=(u===void 0))throw Error(`EntityShell freshnessDateTime and freshnessTime must be supplied together`);let w=`rly-entity-shell-${(0,m.useId)()}`;return(0,h.jsxs)(`article`,{...S,"aria-labelledby":w,className:d(z(`root`),r),"data-rly-entity-shell":``,children:[p===void 0?null:(0,h.jsx)(`nav`,{"aria-label":`${C} navigation`,className:z(`navigation`),"data-rly-entity-shell-slot":`navigation`,children:p}),(0,h.jsxs)(`header`,{className:z(`header`),children:[(0,h.jsxs)(`div`,{className:z(`identity`),children:[(0,h.jsx)(I,{service:v}),(0,h.jsx)(`h1`,{className:z(`title`),id:w,children:C})]}),(0,h.jsxs)(`div`,{className:z(`hero`),children:[(0,h.jsx)(R,{reason:g,tone:b,verdict:x}),(0,h.jsxs)(`div`,{className:z(`headerAside`),children:[(0,h.jsxs)(`div`,{className:z(`freshness`),"data-rly-entity-shell-slot":`freshness`,children:[(0,h.jsx)(`span`,{className:z(`slotLabel`),children:`Freshness`}),l===void 0||u===void 0?(0,h.jsx)(N,{state:c}):(0,h.jsx)(N,{dateTime:l,state:c,time:u})]}),(0,h.jsx)(`div`,{className:z(`headerSlot`),"data-rly-entity-shell-slot":`actions`,children:e}),(0,h.jsx)(`div`,{className:z(`headerSlot`),"data-rly-entity-shell-slot":`agent-entry`,children:n})]})]})]}),(0,h.jsxs)(`div`,{className:z(`body`),children:[(0,h.jsx)(`section`,{className:z(`content`),"data-rly-entity-shell-slot":`content`,children:a}),(0,h.jsxs)(`aside`,{className:z(`aside`),children:[s===void 0?null:(0,h.jsx)(`section`,{className:z(`asideSlot`),"data-rly-entity-shell-slot":`facts`,children:s}),o===void 0?null:(0,h.jsx)(`section`,{className:z(`asideSlot`),"data-rly-entity-shell-slot":`evidence`,children:o}),(0,h.jsx)(`section`,{className:z(`asideSlot`),"data-rly-entity-shell-slot":`collaborators`,children:i})]})]}),(0,h.jsx)(`section`,{className:z(`relationships`),"data-rly-entity-shell-slot":`relationships`,children:_}),t===void 0?null:(0,h.jsx)(`section`,{className:z(`activity`),"data-rly-entity-shell-slot":`activity`,children:t})]})},Ce={root:`rly_EvidenceStamp-module__root`,source:`rly_EvidenceStamp-module__source`,freshness:`rly_EvidenceStamp-module__freshness`,conceptLabel:`rly_EvidenceStamp-module__conceptLabel`,sourceDetail:`rly_EvidenceStamp-module__sourceDetail`,reference:`rly_EvidenceStamp-module__reference`},B=e=>u(Ce,e),we=({className:e,freshness:t,freshnessDateTime:n,freshnessTime:r,reference:i,service:a,...o})=>{let s=f(i,`EvidenceStamp reference`),c=n===void 0||r===void 0?(0,h.jsx)(N,{size:`compact`,state:t}):(0,h.jsx)(N,{dateTime:n,size:`compact`,state:t,time:r});return(0,h.jsxs)(`div`,{...o,className:d(B(`root`),e),"data-rly-evidence-stamp":``,children:[(0,h.jsxs)(`div`,{className:B(`source`),"data-rly-evidence-source":a,children:[(0,h.jsx)(`span`,{className:B(`conceptLabel`),children:`Evidence source`}),(0,h.jsxs)(`div`,{className:B(`sourceDetail`),children:[(0,h.jsx)(I,{service:a,size:`compact`}),(0,h.jsx)(`code`,{className:B(`reference`),children:s})]})]}),(0,h.jsxs)(`div`,{className:B(`freshness`),"data-rly-evidence-freshness":t,children:[(0,h.jsx)(`span`,{className:B(`conceptLabel`),children:`Freshness`}),c]})]})},V={missing:{icon:`alert`,label:`Missing`},inferred:{icon:`search`,label:`Inferred`},proposed:{icon:`plus`,label:`Proposed`},verified:{icon:`check`,label:`Verified`},governed:{icon:`link`,label:`Governed`},rejected:{icon:`close`,label:`Rejected`},superseded:{icon:`arrow-right`,label:`Superseded`}},H={forward:{arrow:`→`,label:`Forward`},reverse:{arrow:`←`,label:`Reverse`},bidirectional:{arrow:`↔`,label:`Bidirectional`}},Te=(e,t)=>{f(e.id,`${t} person id`),f(e.name,`${t} person name`),f(e.role,`${t} person role`),e.avatarFallback!==void 0&&f(e.avatarFallback,`${t} person avatarFallback`),e.avatarSrc!==void 0&&f(e.avatarSrc,`${t} person avatarSrc`)},Ee=(e,t)=>{if(!Object.hasOwn(F.service,e))throw Error(`${t} service must be a supported rly service`)},De=(e,t)=>{if(e.state===`present`){f(e.id,`${t} id`),f(e.title,`${t} title`),f(e.reference,`${t} reference`),Ee(e.service,t),e.href!==void 0&&f(e.href,`${t} href`),e.person!==void 0&&Te(e.person,t);return}if(e.state===`missing`){f(e.label,`${t} missing label`),f(e.reason,`${t} missing reason`),e.service!==void 0&&Ee(e.service,t);return}throw Error(`${t} state must be present or missing`)},Oe=e=>{let t=new Set;for(let n of e){let e=f(n.id,`Relationship id`);if(t.has(e))throw Error(`Relationship ids must be unique: ${e}`);if(t.add(e),f(n.kind,`Relationship kind for ${e}`),!Object.hasOwn(H,n.direction))throw Error(`Relationship direction for ${e} must be supported`);if(!Object.hasOwn(V,n.lifecycle))throw Error(`Relationship lifecycle for ${e} must be supported`);De(n.source,`Relationship ${e} source`),De(n.target,`Relationship ${e} target`),n.evidence!==void 0&&f(n.evidence,`Relationship evidence for ${e}`),n.actor!==void 0&&Te(n.actor,`Relationship ${e} actor`)}},ke={root:`rly_RelationshipChain-module__root`,heading:`rly_RelationshipChain-module__heading`,empty:`rly_RelationshipChain-module__empty`,list:`rly_RelationshipChain-module__list`,item:`rly_RelationshipChain-module__item`,endpoint:`rly_RelationshipChain-module__endpoint`,endpointLink:`rly_RelationshipChain-module__endpointLink`,identity:`rly_RelationshipChain-module__identity`,missingIdentity:`rly_RelationshipChain-module__missingIdentity`,title:`rly_RelationshipChain-module__title`,missingLabel:`rly_RelationshipChain-module__missingLabel`,kind:`rly_RelationshipChain-module__kind`,reference:`rly_RelationshipChain-module__reference`,direction:`rly_RelationshipChain-module__direction`,evidence:`rly_RelationshipChain-module__evidence`,fieldLabel:`rly_RelationshipChain-module__fieldLabel`,missingEndpoint:`rly_RelationshipChain-module__missingEndpoint`,relationship:`rly_RelationshipChain-module__relationship`,arrow:`rly_RelationshipChain-module__arrow`,actor:`rly_RelationshipChain-module__actor`},U=e=>u(ke,e),Ae=({endpoint:e})=>{if(e.state===`missing`)return(0,h.jsxs)(`div`,{className:d(U(`endpoint`),U(`missingEndpoint`)),"data-rly-endpoint-state":`missing`,children:[e.service===void 0?null:(0,h.jsx)(I,{service:e.service,size:`compact`}),(0,h.jsxs)(`span`,{className:U(`missingIdentity`),children:[(0,h.jsxs)(`span`,{className:U(`missingLabel`),children:[(0,h.jsx)(n,{decorative:!0,name:`alert`,size:`small`}),e.label]}),(0,h.jsx)(`span`,{className:U(`reference`),children:e.reason})]})]});let t=(0,h.jsxs)(`span`,{className:U(`identity`),children:[(0,h.jsx)(`span`,{className:U(`title`),children:e.title}),(0,h.jsx)(`span`,{className:U(`reference`),children:e.reference})]});return(0,h.jsxs)(`div`,{className:U(`endpoint`),"data-rly-endpoint-id":e.id,"data-rly-endpoint-state":`present`,children:[(0,h.jsx)(I,{service:e.service,size:`compact`}),e.href===void 0?t:(0,h.jsx)(l,{className:U(`endpointLink`),href:e.href,children:t}),e.person===void 0?null:(0,h.jsx)(k,{person:e.person,size:`compact`})]})},je=({className:e,emptyLabel:t=`No relationships recorded.`,heading:n,relationships:r,...i})=>{let a=f(n,`RelationshipChain heading`),s=f(t,`RelationshipChain emptyLabel`);Oe(r);let c=`${(0,m.useId)()}-heading`;return(0,h.jsxs)(`section`,{...i,"aria-labelledby":c,className:d(U(`root`),e),children:[(0,h.jsx)(`h2`,{className:U(`heading`),id:c,children:a}),r.length===0?(0,h.jsx)(`p`,{className:U(`empty`),children:s}):(0,h.jsx)(`ol`,{className:U(`list`),children:r.map(e=>{let t=H[e.direction],n=V[e.lifecycle];return(0,h.jsxs)(`li`,{className:U(`item`),"data-rly-relationship-id":e.id,"data-rly-relationship-direction":e.direction,"data-rly-relationship-kind":e.kind,"data-rly-relationship-lifecycle":e.lifecycle,children:[(0,h.jsx)(Ae,{endpoint:e.source}),(0,h.jsxs)(`div`,{className:U(`relationship`),"data-rly-relationship-detail":``,children:[(0,h.jsxs)(`span`,{className:U(`direction`),children:[(0,h.jsx)(`span`,{children:t.label}),(0,h.jsx)(`span`,{"aria-hidden":`true`,className:U(`arrow`),children:t.arrow})]}),(0,h.jsx)(`span`,{className:U(`kind`),children:e.kind}),(0,h.jsx)(o,{icon:n.icon,label:n.label,size:`compact`,tone:`neutral`}),e.actor===void 0?null:(0,h.jsxs)(`div`,{className:U(`actor`),"data-rly-relationship-actor":e.actor.id,children:[(0,h.jsx)(`span`,{className:U(`fieldLabel`),children:`Actor`}),(0,h.jsx)(k,{person:e.actor,size:`compact`})]})]}),(0,h.jsx)(Ae,{endpoint:e.target}),(0,h.jsxs)(`p`,{className:U(`evidence`),children:[(0,h.jsx)(`span`,{className:U(`fieldLabel`),children:`Evidence`}),(0,h.jsx)(`span`,{"data-rly-relationship-evidence":``,children:e.evidence??`No evidence recorded.`})]})]},e.id)})})]})},Me={root:`rly_RelationshipTable-module__root`,heading:`rly_RelationshipTable-module__heading`,empty:`rly_RelationshipTable-module__empty`,table:`rly_RelationshipTable-module__table`,head:`rly_RelationshipTable-module__head`,cell:`rly_RelationshipTable-module__cell`,endpoint:`rly_RelationshipTable-module__endpoint`,identity:`rly_RelationshipTable-module__identity`,relationship:`rly_RelationshipTable-module__relationship`,actor:`rly_RelationshipTable-module__actor`,endpointLink:`rly_RelationshipTable-module__endpointLink`,title:`rly_RelationshipTable-module__title`,missingLabel:`rly_RelationshipTable-module__missingLabel`,kind:`rly_RelationshipTable-module__kind`,reference:`rly_RelationshipTable-module__reference`,direction:`rly_RelationshipTable-module__direction`,evidence:`rly_RelationshipTable-module__evidence`,fieldLabel:`rly_RelationshipTable-module__fieldLabel`,missingEndpoint:`rly_RelationshipTable-module__missingEndpoint`,arrow:`rly_RelationshipTable-module__arrow`,body:`rly_RelationshipTable-module__body`,row:`rly_RelationshipTable-module__row`},W=e=>u(Me,e),Ne=({endpoint:e})=>{if(e.state===`missing`)return(0,h.jsxs)(`div`,{className:d(W(`endpoint`),W(`missingEndpoint`)),"data-rly-endpoint-state":`missing`,children:[e.service===void 0?null:(0,h.jsx)(I,{service:e.service,size:`compact`}),(0,h.jsxs)(`span`,{className:W(`identity`),children:[(0,h.jsxs)(`span`,{className:W(`missingLabel`),children:[(0,h.jsx)(n,{decorative:!0,name:`alert`,size:`small`}),e.label]}),(0,h.jsx)(`span`,{className:W(`reference`),children:e.reason})]})]});let t=(0,h.jsxs)(`span`,{className:W(`identity`),children:[(0,h.jsx)(`span`,{className:W(`title`),children:e.title}),(0,h.jsx)(`span`,{className:W(`reference`),children:e.reference})]});return(0,h.jsxs)(`div`,{className:W(`endpoint`),"data-rly-endpoint-id":e.id,"data-rly-endpoint-state":`present`,children:[(0,h.jsx)(I,{service:e.service,size:`compact`}),e.href===void 0?t:(0,h.jsx)(l,{className:W(`endpointLink`),href:e.href,children:t}),e.person===void 0?null:(0,h.jsx)(k,{person:e.person,size:`compact`})]})},Pe=({className:e,emptyLabel:t=`No relationships recorded.`,heading:n,relationships:r,...i})=>{let a=f(n,`RelationshipTable heading`),s=f(t,`RelationshipTable emptyLabel`);Oe(r);let c=`${(0,m.useId)()}-heading`;return(0,h.jsxs)(`section`,{...i,"aria-labelledby":c,className:d(W(`root`),e),children:[(0,h.jsx)(`h2`,{className:W(`heading`),id:c,children:a}),r.length===0?(0,h.jsx)(`p`,{className:W(`empty`),children:s}):(0,h.jsxs)(`table`,{"aria-labelledby":c,className:W(`table`),children:[(0,h.jsx)(`thead`,{className:W(`head`),children:(0,h.jsxs)(`tr`,{children:[(0,h.jsx)(`th`,{scope:`col`,children:`Source`}),(0,h.jsx)(`th`,{scope:`col`,children:`Relationship`}),(0,h.jsx)(`th`,{scope:`col`,children:`Target`}),(0,h.jsx)(`th`,{scope:`col`,children:`Evidence`})]})}),(0,h.jsx)(`tbody`,{className:W(`body`),children:r.map(e=>{let t=H[e.direction],n=V[e.lifecycle];return(0,h.jsxs)(`tr`,{className:W(`row`),"data-rly-relationship-id":e.id,"data-rly-relationship-direction":e.direction,"data-rly-relationship-kind":e.kind,"data-rly-relationship-lifecycle":e.lifecycle,children:[(0,h.jsx)(`td`,{className:W(`cell`),"data-label":`Source`,children:(0,h.jsx)(Ne,{endpoint:e.source})}),(0,h.jsx)(`td`,{className:W(`cell`),"data-label":`Relationship`,children:(0,h.jsxs)(`div`,{className:W(`relationship`),"data-rly-relationship-detail":``,children:[(0,h.jsxs)(`span`,{className:W(`direction`),children:[(0,h.jsx)(`span`,{children:t.label}),(0,h.jsx)(`span`,{"aria-hidden":`true`,className:W(`arrow`),children:t.arrow})]}),(0,h.jsx)(`span`,{className:W(`kind`),children:e.kind}),(0,h.jsx)(o,{icon:n.icon,label:n.label,size:`compact`,tone:`neutral`}),e.actor===void 0?null:(0,h.jsxs)(`div`,{className:W(`actor`),"data-rly-relationship-actor":e.actor.id,children:[(0,h.jsx)(`span`,{className:W(`fieldLabel`),children:`Actor`}),(0,h.jsx)(k,{person:e.actor,size:`compact`})]})]})}),(0,h.jsx)(`td`,{className:W(`cell`),"data-label":`Target`,children:(0,h.jsx)(Ne,{endpoint:e.target})}),(0,h.jsx)(`td`,{className:W(`cell`),"data-label":`Evidence`,children:(0,h.jsx)(`span`,{className:W(`evidence`),"data-rly-relationship-evidence":``,children:e.evidence??`No evidence recorded.`})})]},e.id)})})]})]})},Fe=/^(?:--[A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*|-?[A-Za-z_\u0080-\uD7FF\uE000-\u{10ffff}][A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*)$/u,Ie=new Set([`auto`,`default`,`inherit`,`initial`,`match-element`,`none`,`revert`,`revert-layer`,`unset`]),Le=e=>{if(e===void 0)return;let t={relay:e.relay,verdict:e.verdict,version:e.version},n=[[`relay`,t.relay],[`verdict`,t.verdict],[`version`,t.version]],r=new Set;for(let[e,t]of n){let n=f(t,`Release transition ${e} name`);if(n===`root`||Ie.has(n.toLowerCase()))throw Error(`Release transition ${e} name must not use a reserved CSS value: ${n}`);if(!Fe.test(n))throw Error(`Release transition ${e} name must be a valid unescaped CSS custom identifier: ${n}`);if(r.has(n))throw Error(`Release transition names must be unique: ${n}`);r.add(n)}return Object.freeze(t)},Re={blocked:!0,ready:!0,deploying:!0,building:!0,shipped:!0,held:!0,unknown:!0},ze=e=>{if(f(e.id,`Release presentation id`),f(e.version,`Release presentation version`),f(e.codename,`Release presentation codename`),f(e.algorithm,`Release presentation algorithm`),f(e.verdict,`Release presentation verdict`),f(e.reason,`Release presentation reason`),!Object.hasOwn(Re,e.state))throw Error(`Release presentation state must be supported`);e.freshnessDateTime!==void 0&&(f(e.freshnessDateTime,`Release presentation freshnessDateTime`),f(e.freshnessTime,`Release presentation freshnessTime`));let t=new Set;for(let n of e.facts){let e=f(n.id,`Release presentation fact id`);if(t.has(e))throw Error(`Release presentation fact ids must be unique: ${e}`);t.add(e),f(n.label,`Release presentation fact label for ${e}`),f(n.value,`Release presentation fact value for ${e}`)}return e},Be={root:`rly_ReleaseRelay-module__root`,tiles:`rly_ReleaseRelay-module__tiles`,handoff:`rly_ReleaseRelay-module__handoff`,tile:`rly_ReleaseRelay-module__tile`,glyph:`rly_ReleaseRelay-module__glyph`,identity:`rly_ReleaseRelay-module__identity`,codename:`rly_ReleaseRelay-module__codename`,algorithm:`rly_ReleaseRelay-module__algorithm`,compact:`rly_ReleaseRelay-module__compact`,hero:`rly_ReleaseRelay-module__hero`},G=e=>u(Be,e),Ve=p({0:{name:`orbit`},1:{name:`split`},2:{name:`brace`},3:{name:`wave`},4:{name:`gate`},5:{name:`fork`},6:{name:`bridge`},7:{name:`beacon`},8:{name:`loop`},9:{name:`pulse`},10:{name:`anchor`},11:{name:`ladder`},12:{name:`knot`},13:{name:`spark`},14:{name:`stack`},15:{name:`compass`}}),He=p({size:{compact:{className:G(`compact`),purpose:`Release rows and compact previews`,tokens:[`space-32`,`space-8`,`type-label`]},hero:{className:G(`hero`),purpose:`Page-level release identity`,tokens:[`space-48`,`space-4`,`space-8`,`type-card-title`]}}});p({size:`compact`});var Ue={0:`M12 4a8 8 0 1 1-6.9 4M5.1 8H9V4.1`,1:`M5 5v4c0 2 1 3 3 3h8c2 0 3 1 3 3v4M12 12V5`,2:`M9 4H7v5l-3 3 3 3v5h2M15 4h2v5l3 3-3 3v5h-2`,3:`M3 9c3-4 6-4 9 0s6 4 9 0M3 15c3-4 6-4 9 0s6 4 9 0`,4:`M5 19V8l7-4 7 4v11M9 19v-7h6v7`,5:`M12 20V9M12 12 6 6M12 12l6-6M6 6v4M18 6v4`,6:`M3 17h18M5 17v-5c4-5 10-5 14 0v5M8 17v-3M16 17v-3`,7:`M12 3v3M5.6 5.6l2.1 2.1M18.4 5.6l-2.1 2.1M6 20h12l-2-9H8Z`,8:`M8 8a4 4 0 0 1 8 0v8a4 4 0 0 1-8 0V8Zm0 4h8`,9:`M3 13h4l2-6 4 12 2-6h6`,10:`M12 3v15M8 7h8M5 14c0 4 3 7 7 7s7-3 7-7M5 14l-2 2M19 14l2 2`,11:`M7 3v18M17 3v18M7 7h10M7 12h10M7 17h10`,12:`M8 5a4 4 0 0 1 4 4v6a4 4 0 1 0 4-4H8a4 4 0 1 0 4 4V9a4 4 0 0 1 4-4`,13:`M12 3v5M12 16v5M3 12h5M16 12h5M5.6 5.6l3.5 3.5M14.9 14.9l3.5 3.5M18.4 5.6l-3.5 3.5M9.1 14.9l-3.5 3.5`,14:`m4 8 8-4 8 4-8 4Zm0 4 8 4 8-4M4 16l8 4 8-4`,15:`m12 3 3 6 6 3-6 3-3 6-3-6-6-3 6-3Zm0 6v6M9 12h6`},We=e=>{if(e.length!==3)throw Error(`ReleaseRelay symbolIndices must contain exactly three indices`);let t=new Set;for(let n of e){if(!Number.isInteger(n)||n<0||n>15)throw Error(`ReleaseRelay symbol indices must be integers from 0 through 15`);if(t.has(n))throw Error(`ReleaseRelay symbol indices must be distinct`);t.add(n)}return e},K=({algorithm:e,className:t,codename:n,size:r=`compact`,symbolIndices:i,...a})=>{let o=f(e,`ReleaseRelay algorithm`),s=f(n,`ReleaseRelay codename`),c=We(i),l=`Release relay, ${s}, symbols ${c.map(e=>Ve[e].name).join(`, `)}.`;return(0,h.jsxs)(`figure`,{...a,className:d(G(`root`),He.size[r].className,t),"data-rly-release-relay-size":r,children:[(0,h.jsxs)(`span`,{"aria-label":l,className:G(`tiles`),role:`img`,children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:G(`handoff`),"data-rly-release-relay-handoff":``}),c.map((e,t)=>(0,h.jsx)(`span`,{"aria-hidden":`true`,className:G(`tile`),"data-rly-release-relay-position":t,"data-rly-release-symbol-index":e,"data-rly-release-symbol-name":Ve[e].name,children:(0,h.jsx)(`svg`,{className:G(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,h.jsx)(`path`,{d:Ue[e],fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.7`,vectorEffect:`non-scaling-stroke`})})},e))]}),(0,h.jsxs)(`figcaption`,{className:G(`identity`),children:[(0,h.jsx)(`span`,{className:G(`codename`),children:s}),(0,h.jsxs)(`span`,{className:G(`algorithm`),children:[`Identity algorithm: `,o]})]})]})},Ge={body:`rly_ReleasePreview-module__body`,summary:`rly_ReleasePreview-module__summary`,releaseMeta:`rly_ReleasePreview-module__releaseMeta`,personGroup:`rly_ReleasePreview-module__personGroup`,fact:`rly_ReleasePreview-module__fact`,dialogSurface:`rly_ReleasePreview-module__dialogSurface`,dialogFrame:`rly_ReleasePreview-module__dialogFrame`,dialogScroll:`rly_ReleasePreview-module__dialogScroll`,identityRow:`rly_ReleasePreview-module__identityRow`,version:`rly_ReleasePreview-module__version`,people:`rly_ReleasePreview-module__people`,eyebrow:`rly_ReleasePreview-module__eyebrow`,unassigned:`rly_ReleasePreview-module__unassigned`,facts:`rly_ReleasePreview-module__facts`,slot:`rly_ReleasePreview-module__slot`,dialogFooter:`rly_ReleasePreview-module__dialogFooter`,sheetFooter:`rly_ReleasePreview-module__sheetFooter`,dialogClose:`rly_ReleasePreview-module__dialogClose`,fullViewButton:`rly_ReleasePreview-module__fullViewButton`},q=e=>u(Ge,e),Ke=({agentEntry:e,collaborators:t,entryMotion:n=`intrinsic`,evidence:r,onOpenChange:a,onOpenFullView:o,open:l,openFullViewLabel:u=`Open full view`,presentation:d=`dialog`,primaryAction:p,release:g,stages:_,transitionNames:v,workset:y})=>{let b=ze(g),x=Le(v),S=f(u,`ReleasePreview openFullViewLabel`),C=(0,m.useRef)(null),w=b.freshnessDateTime===void 0?(0,h.jsx)(N,{state:b.freshness}):(0,h.jsx)(N,{dateTime:b.freshnessDateTime,state:b.freshness,time:b.freshnessTime}),T=`Release preview: ${b.version} ${b.codename}`,E=(0,h.jsxs)(`div`,{className:q(`body`),"data-rly-release-preview-presentation":d,"data-rly-release-state":b.state,children:[(0,h.jsxs)(`section`,{"aria-label":`Release summary`,className:q(`summary`),"data-rly-release-preview-summary":``,ref:C,tabIndex:-1,children:[(0,h.jsxs)(`div`,{className:q(`identityRow`),children:[(0,h.jsx)(K,{algorithm:b.algorithm,codename:b.codename,"data-rly-release-transition-name":x?.relay,"data-rly-release-transition-part":`relay`,size:`hero`,style:x===void 0?void 0:{viewTransitionName:x.relay},symbolIndices:b.symbolIndices}),(0,h.jsxs)(`div`,{className:q(`releaseMeta`),children:[(0,h.jsx)(`p`,{className:q(`version`),"data-rly-release-transition-name":x?.version,"data-rly-release-transition-part":`version`,style:x===void 0?void 0:{viewTransitionName:x.version},children:b.version}),w]})]}),(0,h.jsxs)(`div`,{className:q(`people`),children:[(0,h.jsxs)(`div`,{className:q(`personGroup`),children:[(0,h.jsx)(`span`,{className:q(`eyebrow`),children:`Owner`}),b.owner===void 0?(0,h.jsx)(`span`,{className:q(`unassigned`),"data-rly-release-owner":`unassigned`,children:`Unassigned`}):(0,h.jsx)(k,{person:b.owner})]}),(0,h.jsxs)(`div`,{className:q(`personGroup`),children:[(0,h.jsx)(`span`,{className:q(`eyebrow`),children:`Approver`}),b.approver===void 0?(0,h.jsx)(`span`,{className:q(`unassigned`),"data-rly-release-approver":`unassigned`,children:`Unassigned`}):(0,h.jsx)(k,{person:b.approver})]})]}),(0,h.jsx)(R,{"data-rly-release-transition-name":x?.verdict,"data-rly-release-transition-part":`verdict`,reason:b.reason,style:x===void 0?void 0:{viewTransitionName:x.verdict},tone:b.tone,verdict:b.verdict}),(0,h.jsx)(`dl`,{className:q(`facts`),children:b.facts.map(e=>(0,h.jsxs)(`div`,{className:q(`fact`),children:[(0,h.jsx)(`dt`,{children:e.label}),(0,h.jsx)(`dd`,{children:e.value})]},e.id))})]}),t===void 0?null:(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`collaborators`,children:t}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`primary-action`,children:p}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`stages`,children:_}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`workset`,children:y}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`evidence`,children:r}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`agent-entry`,children:e})]}),D=(0,h.jsx)(c,{className:q(`fullViewButton`),onClick:o,size:`default`,variant:`secondary`,children:S});return d===`sheet`?(0,h.jsx)(i.Root,{onOpenChange:a,open:l,children:(0,h.jsxs)(i.Content,{entryMotion:n,initialFocusRef:C,title:T,children:[(0,h.jsx)(i.Body,{"data-rly-release-preview-scroll":`sheet`,children:E}),(0,h.jsx)(i.Footer,{className:q(`sheetFooter`),"data-rly-release-preview-footer":`sheet`,children:D})]})}):(0,h.jsx)(s.Root,{onOpenChange:a,open:l,children:(0,h.jsx)(s.Content,{className:q(`dialogSurface`),entryMotion:n,initialFocusRef:C,size:`wide`,title:T,children:(0,h.jsxs)(`div`,{className:q(`dialogFrame`),children:[(0,h.jsx)(`div`,{className:q(`dialogClose`),children:(0,h.jsx)(s.Close,{size:`compact`,variant:`quiet`,children:`Close preview`})}),(0,h.jsx)(`div`,{className:q(`dialogScroll`),"data-rly-release-preview-scroll":`dialog`,children:E}),(0,h.jsx)(`footer`,{className:q(`dialogFooter`),"data-rly-release-preview-footer":`dialog`,children:D})]})})})},qe={root:`rly_ReleaseRow-module__root`,identity:`rly_ReleaseRow-module__identity`,verdictBlock:`rly_ReleaseRow-module__verdictBlock`,people:`rly_ReleaseRow-module__people`,actions:`rly_ReleaseRow-module__actions`,personGroup:`rly_ReleaseRow-module__personGroup`,fact:`rly_ReleaseRow-module__fact`,version:`rly_ReleaseRow-module__version`,verdict:`rly_ReleaseRow-module__verdict`,reason:`rly_ReleaseRow-module__reason`,eyebrow:`rly_ReleaseRow-module__eyebrow`,unassigned:`rly_ReleaseRow-module__unassigned`,facts:`rly_ReleaseRow-module__facts`,agentEntry:`rly_ReleaseRow-module__agentEntry`,previewButton:`rly_ReleaseRow-module__previewButton`},J=e=>u(qe,e),Je=({agentEntry:e,className:t,onPreview:n,previewLabel:r=`Preview release`,release:i,transitionNames:a,...o})=>{let s=ze(i),l=Le(a),u=f(r,`ReleaseRow previewLabel`),p=`rly-release-row-verdict-${(0,m.useId)()}`,g=s.freshnessDateTime===void 0?(0,h.jsx)(N,{size:`compact`,state:s.freshness}):(0,h.jsx)(N,{dateTime:s.freshnessDateTime,size:`compact`,state:s.freshness,time:s.freshnessTime});return(0,h.jsxs)(`article`,{...o,className:d(J(`root`),t),"data-rly-release-id":s.id,"data-rly-release-state":s.state,children:[(0,h.jsxs)(`div`,{className:J(`identity`),children:[(0,h.jsx)(K,{algorithm:s.algorithm,codename:s.codename,"data-rly-release-transition-name":l?.relay,"data-rly-release-transition-part":`relay`,size:`compact`,style:l===void 0?void 0:{viewTransitionName:l.relay},symbolIndices:s.symbolIndices}),(0,h.jsx)(`p`,{className:J(`version`),"data-rly-release-transition-name":l?.version,"data-rly-release-transition-part":`version`,style:l===void 0?void 0:{viewTransitionName:l.version},children:s.version}),g]}),(0,h.jsxs)(`section`,{"aria-labelledby":p,className:J(`verdictBlock`),"data-rly-release-transition-name":l?.verdict,"data-rly-release-transition-part":`verdict`,style:l===void 0?void 0:{viewTransitionName:l.verdict},children:[(0,h.jsx)(`h2`,{className:J(`verdict`),id:p,children:s.verdict}),(0,h.jsx)(`p`,{className:J(`reason`),children:s.reason})]}),(0,h.jsxs)(`div`,{className:J(`people`),children:[(0,h.jsxs)(`div`,{className:J(`personGroup`),children:[(0,h.jsx)(`span`,{className:J(`eyebrow`),children:`Owner`}),s.owner===void 0?(0,h.jsx)(`span`,{className:J(`unassigned`),"data-rly-release-owner":`unassigned`,children:`Unassigned`}):(0,h.jsx)(k,{person:s.owner,size:`compact`})]}),s.approver===void 0?null:(0,h.jsxs)(`div`,{className:J(`personGroup`),children:[(0,h.jsx)(`span`,{className:J(`eyebrow`),children:`Approver`}),(0,h.jsx)(k,{person:s.approver,size:`compact`})]})]}),(0,h.jsx)(`dl`,{className:J(`facts`),children:s.facts.map(e=>(0,h.jsxs)(`div`,{className:J(`fact`),"data-rly-release-fact":e.id,children:[(0,h.jsx)(`dt`,{children:e.label}),(0,h.jsx)(`dd`,{children:e.value})]},e.id))}),(0,h.jsxs)(`div`,{className:J(`actions`),children:[(0,h.jsx)(c,{className:J(`previewButton`),onClick:n,size:`default`,children:u}),e===void 0?null:(0,h.jsx)(`div`,{className:J(`agentEntry`),children:e})]})]})},Ye={root:`rly_StageRail-module__root`,heading:`rly_StageRail-module__heading`,list:`rly_StageRail-module__list`,item:`rly_StageRail-module__item`,marker:`rly_StageRail-module__marker`,connector:`rly_StageRail-module__connector`,content:`rly_StageRail-module__content`,name:`rly_StageRail-module__name`,reason:`rly_StageRail-module__reason`,empty:`rly_StageRail-module__empty`,compact:`rly_StageRail-module__compact`,defaultSize:`rly_StageRail-module__defaultSize`,long:`rly_StageRail-module__long`},Y=e=>u(Ye,e),Xe=p({size:{compact:{className:Y(`compact`),purpose:`Dense release and entity stage summaries`,tokens:[`space-24`,`space-8`,`type-label`,`type-meta`]},default:{className:Y(`defaultSize`),purpose:`Standard stage progression with supporting context`,tokens:[`space-24`,`space-12`,`type-card-title`,`type-body`]}}});p({size:`default`});var Ze=e=>{let t=new Set;for(let n of e){let e=f(n.id,`StageRail stage id`);if(f(n.name,`StageRail name for ${e}`),f(n.state,`StageRail state for ${e}`),n.reason!==void 0&&f(n.reason,`StageRail reason for ${e}`),t.has(e))throw Error(`StageRail stage ids must be unique: ${e}`);t.add(e)}return e},Qe=({className:e,emptyLabel:t=`No stages recorded.`,heading:n,size:r=`default`,stages:i,...a})=>{let s=f(n,`StageRail heading`),c=f(t,`StageRail emptyLabel`),l=Ze(i),u=`rly-stage-rail-${(0,m.useId)()}`;return(0,h.jsxs)(`section`,{...a,"aria-labelledby":u,className:d(Y(`root`),Xe.size[r].className,l.length>6&&Y(`long`),e),"data-rly-stage-rail-size":r,children:[(0,h.jsx)(`h2`,{className:Y(`heading`),id:u,children:s}),l.length===0?(0,h.jsx)(`p`,{className:Y(`empty`),children:c}):(0,h.jsx)(`ol`,{className:Y(`list`),children:l.map((e,t)=>(0,h.jsxs)(`li`,{className:Y(`item`),"data-rly-stage-id":e.id,children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:Y(`marker`),"data-rly-stage-marker":``,children:t+1}),t===l.length-1?null:(0,h.jsx)(`span`,{"aria-hidden":`true`,className:Y(`connector`),"data-rly-stage-connector":``}),(0,h.jsxs)(`div`,{className:Y(`content`),children:[(0,h.jsx)(`h3`,{className:Y(`name`),children:e.name}),(0,h.jsx)(o,{label:e.state,size:r===`compact`?`compact`:`default`,tone:e.tone}),e.reason===void 0?null:(0,h.jsx)(`p`,{className:Y(`reason`),children:e.reason}),e.owner===void 0?null:(0,h.jsx)(k,{person:e.owner,size:r})]})]},e.id))})]})},$e={root:`rly_TimelineRow-module__root`,time:`rly_TimelineRow-module__time`,marker:`rly_TimelineRow-module__marker`,dot:`rly_TimelineRow-module__dot`,connector:`rly_TimelineRow-module__connector`,content:`rly_TimelineRow-module__content`,meta:`rly_TimelineRow-module__meta`,title:`rly_TimelineRow-module__title`,link:`rly_TimelineRow-module__link`,detail:`rly_TimelineRow-module__detail`,actorKind:`rly_TimelineRow-module__actorKind`,actor:`rly_TimelineRow-module__actor`},X=e=>u($e,e),et={human:`Human`,agent:`Agent`,plugin:`Plugin`,system:`System`},tt=e=>{if(f(e.id,`TimelineRow event id`),f(e.title,`TimelineRow event title`),f(e.detail,`TimelineRow event detail`),f(e.dateTime,`TimelineRow event dateTime`),f(e.time,`TimelineRow event time`),e.href!==void 0&&f(e.href,`TimelineRow event href`),!Object.hasOwn(et,e.actorKind))throw Error(`TimelineRow event actorKind must be human, agent, plugin, or system`);return e},nt=({className:e,continued:t,event:n,...r})=>{let i=tt(n),a=`rly-timeline-row-${(0,m.useId)()}`,o=(0,h.jsx)(`h2`,{className:X(`title`),id:a,children:i.title});return(0,h.jsxs)(`li`,{...r,className:d(X(`root`),e),"data-rly-timeline-actor":i.actorKind,"data-rly-timeline-event-id":i.id,children:[(0,h.jsx)(`time`,{className:X(`time`),dateTime:i.dateTime,children:i.time}),(0,h.jsxs)(`span`,{"aria-hidden":`true`,className:X(`marker`),children:[(0,h.jsx)(`span`,{className:X(`dot`)}),t?(0,h.jsx)(`span`,{className:X(`connector`),"data-rly-timeline-connector":``}):null]}),(0,h.jsxs)(`article`,{"aria-labelledby":a,className:X(`content`),children:[i.href===void 0?o:(0,h.jsx)(l,{className:X(`link`),href:i.href,children:o}),(0,h.jsx)(`p`,{className:X(`detail`),children:i.detail})]}),(0,h.jsxs)(`div`,{className:X(`meta`),children:[(0,h.jsx)(`span`,{className:X(`actorKind`),children:et[i.actorKind]}),i.service===void 0?null:(0,h.jsx)(I,{service:i.service,size:`compact`}),i.actor===void 0?null:(0,h.jsx)(`div`,{className:X(`actor`),children:i.actor})]})]})},rt={root:`rly_WorksetCard-module__root`,heading:`rly_WorksetCard-module__heading`,dimensions:`rly_WorksetCard-module__dimensions`,dimension:`rly_WorksetCard-module__dimension`,dimensionHeading:`rly_WorksetCard-module__dimensionHeading`,gaps:`rly_WorksetCard-module__gaps`,list:`rly_WorksetCard-module__list`,gapList:`rly_WorksetCard-module__gapList`,keyList:`rly_WorksetCard-module__keyList`,item:`rly_WorksetCard-module__item`,gap:`rly_WorksetCard-module__gap`,identity:`rly_WorksetCard-module__identity`,link:`rly_WorksetCard-module__link`,itemTitle:`rly_WorksetCard-module__itemTitle`,reference:`rly_WorksetCard-module__reference`,empty:`rly_WorksetCard-module__empty`,conceptLabel:`rly_WorksetCard-module__conceptLabel`,emptyLink:`rly_WorksetCard-module__emptyLink`,linkedWork:`rly_WorksetCard-module__linkedWork`},Z=e=>u(rt,e),Q=(e,t)=>{e!==void 0&&f(e,`${t} href`)},$=(e,t,n)=>{let r=f(e,`${n} id`);if(t.has(r))throw Error(`${n} ids must be unique: ${r}`);return t.add(r),r},it=e=>{let t=new Set;for(let n of e){let e=$(n.id,t,`WorksetCard Jira item`);f(n.key,`WorksetCard Jira key for ${e}`),f(n.title,`WorksetCard Jira title for ${e}`),f(n.state,`WorksetCard Jira state for ${e}`),Q(n.href,`WorksetCard Jira item ${e}`)}},at=e=>{let t=new Set;for(let n of e){let e=$(n.id,t,`WorksetCard pull request group`);f(n.title,`WorksetCard pull request title for ${e}`),f(n.reference,`WorksetCard pull request reference for ${e}`),f(n.state,`WorksetCard pull request state for ${e}`),Q(n.href,`WorksetCard pull request group ${e}`);for(let t of n.linkedJiraKeys)f(t,`WorksetCard linked Jira key for ${e}`)}},ot=e=>{let t=new Set;for(let n of e){let e=$(n.id,t,`WorksetCard gap`);if(f(n.label,`WorksetCard gap label for ${e}`),f(n.reason,`WorksetCard gap reason for ${e}`),!Object.hasOwn(F.service,n.service))throw Error(`WorksetCard gap service for ${e} must be supported`)}},st=e=>{let t=new Set;for(let n of e){let e=$(n.id,t,`WorksetCard pipeline`);f(n.title,`WorksetCard pipeline title for ${e}`),f(n.reference,`WorksetCard pipeline reference for ${e}`),f(n.state,`WorksetCard pipeline state for ${e}`),Q(n.href,`WorksetCard pipeline ${e}`)}},ct=({href:e,reference:t,title:n})=>{let r=(0,h.jsxs)(`span`,{className:Z(`identity`),children:[(0,h.jsx)(`span`,{className:Z(`itemTitle`),children:n}),(0,h.jsx)(`span`,{className:Z(`reference`),children:t})]});return e===void 0?r:(0,h.jsx)(l,{className:Z(`link`),href:e,children:r})},lt=({className:e,gapEmptyLabel:t=`No relationship gaps recorded.`,gaps:n,heading:r,jiraEmptyLabel:i=`No Jira work recorded.`,jiraItems:a,pipelineEmptyLabel:s=`No pipeline delivery recorded.`,pipelines:c,pullRequestEmptyLabel:l=`No pull request groups recorded.`,pullRequestGroups:u,...p})=>{let g=f(r,`WorksetCard heading`),_=f(i,`WorksetCard jiraEmptyLabel`),v=f(l,`WorksetCard pullRequestEmptyLabel`),y=f(t,`WorksetCard gapEmptyLabel`),b=f(s,`WorksetCard pipelineEmptyLabel`);it(a),at(u),ot(n),st(c);let x=`rly-workset-${(0,m.useId)()}`;return(0,h.jsxs)(`section`,{...p,"aria-labelledby":x,className:d(Z(`root`),e),children:[(0,h.jsx)(`h2`,{className:Z(`heading`),id:x,children:g}),(0,h.jsxs)(`div`,{className:Z(`dimensions`),children:[(0,h.jsxs)(`section`,{className:Z(`dimension`),"data-rly-workset-dimension":`jira`,children:[(0,h.jsxs)(`div`,{className:Z(`dimensionHeading`),children:[(0,h.jsx)(I,{service:`jira`,size:`compact`}),(0,h.jsx)(`h3`,{children:`Jira work`})]}),a.length===0?(0,h.jsx)(`p`,{className:Z(`empty`),children:_}):(0,h.jsx)(`ul`,{className:Z(`list`),children:a.map(e=>(0,h.jsxs)(`li`,{className:Z(`item`),"data-rly-workset-jira-id":e.id,children:[(0,h.jsx)(ct,{...e.href===void 0?{}:{href:e.href},reference:e.key,title:e.title}),(0,h.jsx)(o,{label:e.state,size:`compact`,tone:e.tone}),e.owner===void 0?null:(0,h.jsx)(k,{person:e.owner,size:`compact`})]},e.id))})]}),(0,h.jsxs)(`section`,{className:Z(`dimension`),"data-rly-workset-dimension":`pull-requests`,children:[(0,h.jsxs)(`div`,{className:Z(`dimensionHeading`),children:[(0,h.jsx)(I,{service:`codecommit`,size:`compact`}),(0,h.jsx)(`h3`,{children:`Pull request groups`})]}),u.length===0?(0,h.jsx)(`p`,{className:Z(`empty`),children:v}):(0,h.jsx)(`ul`,{className:Z(`list`),children:u.map(e=>(0,h.jsxs)(`li`,{className:Z(`item`),"data-rly-workset-pr-id":e.id,children:[(0,h.jsx)(ct,{...e.href===void 0?{}:{href:e.href},reference:e.reference,title:e.title}),(0,h.jsx)(o,{label:e.state,size:`compact`,tone:e.tone}),(0,h.jsxs)(`div`,{className:Z(`linkedWork`),children:[(0,h.jsx)(`span`,{className:Z(`conceptLabel`),children:`Linked Jira work`}),e.linkedJiraKeys.length===0?(0,h.jsx)(`span`,{className:Z(`emptyLink`),children:`No Jira links recorded.`}):(0,h.jsx)(`ul`,{className:Z(`keyList`),children:e.linkedJiraKeys.map((e,t)=>(0,h.jsx)(`li`,{"data-rly-linked-jira-key":e,children:e},`${e}-${t}`))})]}),e.author===void 0?null:(0,h.jsx)(k,{person:e.author,size:`compact`})]},e.id))}),(0,h.jsxs)(`div`,{className:Z(`gaps`),children:[(0,h.jsx)(`h4`,{children:`Relationship gaps`}),n.length===0?(0,h.jsx)(`p`,{className:Z(`empty`),children:y}):(0,h.jsx)(`ul`,{className:Z(`gapList`),children:n.map(e=>(0,h.jsxs)(`li`,{className:Z(`gap`),"data-rly-workset-gap-id":e.id,children:[(0,h.jsx)(I,{service:e.service,size:`compact`}),(0,h.jsx)(`strong`,{children:e.label}),(0,h.jsx)(`span`,{children:e.reason})]},e.id))})]})]}),(0,h.jsxs)(`section`,{className:Z(`dimension`),"data-rly-workset-dimension":`pipelines`,children:[(0,h.jsxs)(`div`,{className:Z(`dimensionHeading`),children:[(0,h.jsx)(I,{service:`codepipeline`,size:`compact`}),(0,h.jsx)(`h3`,{children:`Pipeline delivery`})]}),c.length===0?(0,h.jsx)(`p`,{className:Z(`empty`),children:b}):(0,h.jsx)(`ul`,{className:Z(`list`),children:c.map(e=>(0,h.jsxs)(`li`,{className:Z(`item`),"data-rly-workset-pipeline-id":e.id,children:[(0,h.jsx)(ct,{...e.href===void 0?{}:{href:e.href},reference:e.reference,title:e.title}),(0,h.jsx)(o,{label:e.state,size:`compact`,tone:e.tone}),e.operator===void 0?null:(0,h.jsx)(k,{person:e.operator,size:`compact`}),e.approver===void 0?null:(0,h.jsx)(k,{person:e.approver,size:`compact`}),(0,h.jsx)(Qe,{heading:`${e.reference} stages`,size:`compact`,stages:e.stages})]},e.id))})]})]})]})};export{y as _,nt as a,ue as c,R as d,we as f,se as g,E as h,N as i,Ke as l,Pe as m,Je as n,k as o,je as p,lt as r,Qe as s,K as t,Se as u,I as v};
2
- //# sourceMappingURL=patterns-5N-j-AD2-B9qgekXA.js.map
1
+ import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{t}from"./react-CZI7_Jkm.js";import{r as n}from"./PortalProvider-BpgZwSpw-aHWGwW1o.js";import{t as r}from"./jsx-runtime-By8HlURe.js";import{i,o as a,r as o,s,t as c}from"./Dialog-xSrBk0Vv-ClGyDPlc.js";import{p as l}from"./index-zVjlBm9l.js";import{i as u,n as d,r as f,t as p}from"./component-BJeeRuSu-Bu7KhcFC.js";var m=e(t(),1),h=r(),g={root:`rly_AgentContextButton-module__root`,mark:`rly_AgentContextButton-module__mark`,glyph:`rly_AgentContextButton-module__glyph`,copy:`rly_AgentContextButton-module__copy`,contextRow:`rly_AgentContextButton-module__contextRow`,action:`rly_AgentContextButton-module__action`,agent:`rly_AgentContextButton-module__agent`,contextLabel:`rly_AgentContextButton-module__contextLabel`,context:`rly_AgentContextButton-module__context`,job:`rly_AgentContextButton-module__job`,count:`rly_AgentContextButton-module__count`},_=e=>u(g,e),v=()=>(0,h.jsx)(`span`,{"aria-hidden":`true`,className:_(`mark`),children:(0,h.jsx)(`svg`,{className:_(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,h.jsx)(`path`,{d:`M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z`,fill:`currentColor`})})}),y=({actionLabel:e=`Ask agent`,agentName:t,className:n,context:r,contextLabel:i=`Context`,job:a,type:o,...s})=>{let c=f(e,`AgentContextButton actionLabel`),l=f(t,`AgentContextButton agentName`),u=f(r,`AgentContextButton context`),p=f(i,`AgentContextButton contextLabel`),m=a===void 0?void 0:f(a.status,`AgentContextButton job status`);if(a?.count!==void 0&&(!Number.isInteger(a.count)||a.count<0))throw Error(`AgentContextButton job count must be a non-negative integer`);return(0,h.jsxs)(`button`,{...s,className:d(_(`root`),n),"data-rly-agent-context-button":``,type:o??`button`,children:[(0,h.jsx)(v,{}),(0,h.jsxs)(`span`,{className:_(`copy`),children:[(0,h.jsx)(`span`,{className:_(`action`),children:c}),(0,h.jsx)(`span`,{className:_(`agent`),children:l}),(0,h.jsxs)(`span`,{className:_(`contextRow`),children:[(0,h.jsx)(`span`,{className:_(`contextLabel`),children:p}),(0,h.jsx)(`span`,{className:_(`context`),children:u})]})]}),m===void 0?null:(0,h.jsxs)(`span`,{className:_(`job`),"data-rly-agent-job":``,children:[m,a?.count===void 0?null:(0,h.jsx)(`span`,{className:_(`count`),children:a.count})]})]})},b={root:`rly_AgentThread-module__root`,header:`rly_AgentThread-module__header`,messageHead:`rly_AgentThread-module__messageHead`,actor:`rly_AgentThread-module__actor`,actions:`rly_AgentThread-module__actions`,agentGlyph:`rly_AgentThread-module__agentGlyph`,avatar:`rly_AgentThread-module__avatar`,context:`rly_AgentThread-module__context`,composer:`rly_AgentThread-module__composer`,conceptLabel:`rly_AgentThread-module__conceptLabel`,messages:`rly_AgentThread-module__messages`,message:`rly_AgentThread-module__message`,agent:`rly_AgentThread-module__agent`,human:`rly_AgentThread-module__human`,system:`rly_AgentThread-module__system`,actorText:`rly_AgentThread-module__actorText`,empty:`rly_AgentThread-module__empty`,content:`rly_AgentThread-module__content`,evidence:`rly_AgentThread-module__evidence`,visuallyHidden:`rly_AgentThread-module__visuallyHidden`},x=e=>u(b,e),S=(e,t)=>{if(e==null||typeof e==`boolean`)throw Error(`${t} must contain renderable content`);typeof e==`string`&&f(e,t)},C=e=>{let t=e.trim().split(/\s+/u),n=Array.from(t[0]??``)[0]??``,r=Array.from(t[t.length-1]??``)[0]??``;return f(`${n}${t.length>1?r:``}`,`AgentThread actor fallback`)},w=e=>{if(e.kind===`human`){f(e.person.id,`AgentThread human id`),f(e.person.name,`AgentThread human name`),f(e.person.role,`AgentThread human role`),e.person.avatarFallback!==void 0&&f(e.person.avatarFallback,`AgentThread human avatarFallback`),e.person.avatarSrc!==void 0&&f(e.person.avatarSrc,`AgentThread human avatarSrc`);return}f(e.id,`AgentThread ${e.kind} id`),f(e.name,`AgentThread ${e.kind} name`),e.kind===`agent`&&(f(e.role,`AgentThread agent role`),e.avatarFallback!==void 0&&f(e.avatarFallback,`AgentThread agent avatarFallback`))},T=e=>{let t=e.kind===`human`?e.person.name:e.name,n=e.kind===`human`?e.person.role:e.kind===`agent`?e.role:`System event`,r=e.kind===`human`?e.person.avatarFallback??C(t):e.kind===`agent`?e.avatarFallback??C(t):`·`,i=e.kind===`human`?e.person.avatarSrc:void 0;return(0,h.jsxs)(`div`,{className:d(x(`actor`),x(e.kind)),"data-rly-agent-thread-actor":e.kind,children:[(0,h.jsx)(a,{className:x(`avatar`),"data-rly-agent-thread-avatar-shape":e.kind===`human`?`circle`:`rounded-square`,decorative:!0,fallback:r,shape:e.kind===`human`?`circle`:`rounded-square`,size:`default`,...i===void 0?{}:{src:i}}),(0,h.jsxs)(`span`,{className:x(`actorText`),children:[(0,h.jsx)(`strong`,{children:t}),(0,h.jsx)(`span`,{children:n})]})]})},E=({announcement:e,className:t,composer:n,context:r,emptyLabel:i=`No messages yet.`,heading:a,messages:o,...s})=>{let c=f(a,`AgentThread heading`),l=f(i,`AgentThread emptyLabel`);S(r,`AgentThread context`),S(n,`AgentThread composer`),e!==void 0&&f(e,`AgentThread announcement`);let u=new Set;for(let e of o){let t=f(e.id,`AgentThread message id`);if(u.has(t))throw Error(`AgentThread message ids must be unique: ${t}`);u.add(t),w(e.actor),S(e.content,`AgentThread message content for ${t}`),f(e.dateTime,`AgentThread message dateTime for ${t}`),f(e.time,`AgentThread message time for ${t}`)}return(0,h.jsxs)(`section`,{...s,className:d(x(`root`),t),"data-rly-agent-thread":``,children:[(0,h.jsxs)(`header`,{className:x(`header`),children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:x(`agentGlyph`),children:`AI`}),(0,h.jsx)(`h2`,{children:c})]}),(0,h.jsxs)(`div`,{className:x(`context`),"data-rly-agent-thread-context":``,children:[(0,h.jsx)(`span`,{className:x(`conceptLabel`),children:`Exact context`}),r]}),o.length===0?(0,h.jsx)(`p`,{className:x(`empty`),children:l}):(0,h.jsx)(`ol`,{"aria-label":`${c} messages`,className:x(`messages`),children:o.map(e=>(0,h.jsxs)(`li`,{className:x(`message`),"data-rly-agent-thread-message":e.id,children:[(0,h.jsxs)(`div`,{className:x(`messageHead`),children:[T(e.actor),(0,h.jsx)(`time`,{dateTime:e.dateTime,children:e.time})]}),(0,h.jsx)(`div`,{className:x(`content`),children:e.content}),e.evidence===void 0?null:(0,h.jsx)(`div`,{className:x(`evidence`),"data-rly-agent-thread-evidence":``,children:e.evidence}),e.actions===void 0?null:(0,h.jsx)(`div`,{className:x(`actions`),"data-rly-agent-thread-actions":``,children:e.actions})]},e.id))}),(0,h.jsx)(`p`,{"aria-atomic":`true`,"aria-live":`polite`,className:x(`visuallyHidden`),children:e}),(0,h.jsx)(`div`,{className:x(`composer`),"data-rly-agent-thread-composer":``,children:n})]})},D={root:`rly_Person-module__root`,compact:`rly_Person-module__compact`,defaultSize:`rly_Person-module__defaultSize`,identity:`rly_Person-module__identity`,name:`rly_Person-module__name`,role:`rly_Person-module__role`},O=e=>u(D,e),ee=p({size:{compact:{className:O(`compact`),purpose:`Dense identity row with complete attribution`,tokens:[`space-24`,`type-meta`]},default:{className:O(`defaultSize`),purpose:`Standard identity row with complete attribution`,tokens:[`space-32`,`type-label`,`type-meta`]}}});p({size:`default`});var te=e=>{let t=e.trim().split(/\s+/u),n=t[0]??``,r=t[t.length-1]??n,i=Array.from(n);return f(`${i[0]??``}${t.length>1?Array.from(r)[0]??``:i[1]??``}`,`Person avatar fallback`)},ne=e=>(f(e.id,`Person id`),f(e.name,`Person name`),f(e.role,`Person role`),e.avatarFallback!==void 0&&f(e.avatarFallback,`Person avatarFallback`),e.avatarSrc!==void 0&&f(e.avatarSrc,`Person avatarSrc`),e),k=({className:e,person:t,size:n=`default`,...r})=>{let i=ne(t),o=i.avatarFallback??te(i.name);return(0,h.jsxs)(`div`,{...r,className:d(O(`root`),ee.size[n].className,e),"data-rly-person-size":n,children:[(0,h.jsx)(a,{decorative:!0,fallback:o,size:n===`compact`?`small`:`default`,...i.avatarSrc===void 0?{}:{src:i.avatarSrc}}),(0,h.jsxs)(`span`,{className:O(`identity`),children:[(0,h.jsx)(`span`,{className:O(`name`),children:i.name}),(0,h.jsx)(`span`,{className:O(`role`),children:i.role})]})]})},re={root:`rly_PeopleStrip-module__root`,compact:`rly_PeopleStrip-module__compact`,defaultSize:`rly_PeopleStrip-module__defaultSize`,personItem:`rly_PeopleStrip-module__personItem`,controlItem:`rly_PeopleStrip-module__controlItem`,overflow:`rly_PeopleStrip-module__overflow`},A=e=>u(re,e),ie=p({size:{compact:{className:A(`compact`),purpose:`Dense attributed people list for narrow surfaces`,tokens:[`space-8`,`space-40`]},default:{className:A(`defaultSize`),purpose:`Standard attributed people list`,tokens:[`space-12`,`space-40`]}}});p({size:`default`});var ae=e=>{if(!Number.isInteger(e)||e<1)throw Error(`PeopleStrip limit must be a positive integer`);return e},oe=e=>{let t=new Set;for(let n of e){let e=f(n.id,`PeopleStrip person id`);if(f(n.name,`PeopleStrip name for ${e}`),f(n.role,`PeopleStrip role for ${e}`),t.has(e))throw Error(`PeopleStrip person ids must be unique: ${e}`);t.add(e)}},se=({"aria-label":e,className:t,expanded:n,limit:r=3,onExpandedChange:i,people:a,size:o=`default`,...s})=>{let c=f(e,`PeopleStrip aria-label`),l=ae(r);oe(a);let u=Math.max(a.length-l,0),p=n?a:a.slice(0,l);return(0,h.jsxs)(`ul`,{...s,"aria-label":c,className:d(A(`root`),ie.size[o].className,t),"data-rly-people-strip-size":o,children:[p.map(e=>(0,h.jsx)(`li`,{className:A(`personItem`),children:(0,h.jsx)(k,{person:e,size:o})},e.id)),u===0?null:(0,h.jsx)(`li`,{className:A(`controlItem`),children:(0,h.jsx)(`button`,{"aria-expanded":n,"aria-label":n?`Show fewer people`:`Show ${u} more people`,className:A(`overflow`),onClick:()=>i(!n),type:`button`,children:n?`Show fewer`:`+${u} people`})})]})},ce={root:`rly_CollaboratorGroup-module__root`,compact:`rly_CollaboratorGroup-module__compact`,defaultSize:`rly_CollaboratorGroup-module__defaultSize`,heading:`rly_CollaboratorGroup-module__heading`,lanes:`rly_CollaboratorGroup-module__lanes`,lane:`rly_CollaboratorGroup-module__lane`,laneHeading:`rly_CollaboratorGroup-module__laneHeading`,empty:`rly_CollaboratorGroup-module__empty`},j=e=>u(ce,e),le=p({size:{compact:{className:j(`compact`),purpose:`Narrow entity attribution with explicit role lanes`,tokens:[`space-12`,`type-label`]},default:{className:j(`defaultSize`),purpose:`Standard entity attribution with explicit role lanes`,tokens:[`space-20`,`type-card-title`]}}});p({size:`default`});var ue=({approvers:e=[],authors:t=[],className:n,emptyLabel:r=`No collaborators assigned.`,expandedCategories:i,heading:a,limit:o=3,onCategoryExpandedChange:s,operators:c=[],owners:l=[],reviewers:u=[],size:p=`default`,...g})=>{let _=f(a,`CollaboratorGroup heading`),v=f(r,`CollaboratorGroup emptyLabel`),y=`rly-collaborators-${(0,m.useId)()}`,b=new Set(i),x=[{category:`authors`,label:`Authors`,people:t},{category:`owners`,label:`Owners`,people:l},{category:`reviewers`,label:`Reviewers`,people:u},{category:`operators`,label:`Operators`,people:c},{category:`approvers`,label:`Approvers`,people:e}].filter(e=>e.people.length>0);return(0,h.jsxs)(`section`,{...g,"aria-labelledby":y,className:d(j(`root`),le.size[p].className,n),"data-rly-collaborator-group-size":p,children:[(0,h.jsx)(`h2`,{className:j(`heading`),id:y,children:_}),x.length===0?(0,h.jsx)(`p`,{className:j(`empty`),children:v}):(0,h.jsx)(`div`,{className:j(`lanes`),children:x.map(e=>(0,h.jsxs)(`section`,{className:j(`lane`),children:[(0,h.jsx)(`h3`,{className:j(`laneHeading`),children:e.label}),(0,h.jsx)(se,{"aria-label":`${_}: ${e.label}`,expanded:b.has(e.category),limit:o,onExpandedChange:t=>s(e.category,t),people:e.people,size:p})]},e.category))})]})},de={root:`rly_FreshnessStamp-module__root`,stateWord:`rly_FreshnessStamp-module__stateWord`,separator:`rly_FreshnessStamp-module__separator`,time:`rly_FreshnessStamp-module__time`,compact:`rly_FreshnessStamp-module__compact`,defaultSize:`rly_FreshnessStamp-module__defaultSize`,current:`rly_FreshnessStamp-module__current`,cached:`rly_FreshnessStamp-module__cached`,missing:`rly_FreshnessStamp-module__missing`,stale:`rly_FreshnessStamp-module__stale`,unavailable:`rly_FreshnessStamp-module__unavailable`},M=e=>u(de,e),fe=p({state:{current:{className:M(`current`),purpose:`Current source observation`,tokens:[`color-success-ink`,`color-success-tint`]},cached:{className:M(`cached`),purpose:`Valid cached source observation`,tokens:[`color-text-2`,`color-surface-2`]},stale:{className:M(`stale`),purpose:`Source observation beyond its supplied freshness threshold`,tokens:[`color-held-ink`,`color-held-tint`]},missing:{className:M(`missing`),purpose:`Provider authoritatively reported no object`,tokens:[`color-text-2`,`color-surface-2`]},unavailable:{className:M(`unavailable`),purpose:`No valid source observation is available`,tokens:[`color-blocked-ink`,`color-blocked-tint`]}},size:{compact:{className:M(`compact`),purpose:`Dense freshness metadata`,tokens:[`type-meta`]},default:{className:M(`defaultSize`),purpose:`Standard freshness metadata`,tokens:[`type-label`,`type-meta`]}}});p({size:`default`});var pe={current:`Current`,cached:`Cached`,stale:`Stale`,missing:`Missing`,unavailable:`Unavailable`},me={current:`check`,cached:`clock`,stale:`clock`,missing:`minus`,unavailable:`alert`},N=({className:e,dateTime:t,size:r=`default`,state:i,time:a,...o})=>{let s=a===void 0?void 0:f(a,`FreshnessStamp time`),c=t===void 0?void 0:f(t,`FreshnessStamp dateTime`);return(0,h.jsxs)(`span`,{...o,className:d(M(`root`),fe.state[i].className,fe.size[r].className,e),"data-rly-freshness-state":i,children:[(0,h.jsxs)(`span`,{className:M(`stateWord`),children:[(0,h.jsx)(n,{decorative:!0,name:me[i],size:`small`}),(0,h.jsx)(`span`,{children:pe[i]})]}),s===void 0||c===void 0?null:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:M(`separator`),children:`·`}),(0,h.jsx)(`time`,{className:M(`time`),dateTime:c,children:s})]})]})},he={root:`rly_ServiceMark-module__root`,rail:`rly_ServiceMark-module__rail`,glyph:`rly_ServiceMark-module__glyph`,name:`rly_ServiceMark-module__name`,compact:`rly_ServiceMark-module__compact`,defaultSize:`rly_ServiceMark-module__defaultSize`,codecommit:`rly_ServiceMark-module__codecommit`,codepipeline:`rly_ServiceMark-module__codepipeline`,jira:`rly_ServiceMark-module__jira`,confluence:`rly_ServiceMark-module__confluence`,clockify:`rly_ServiceMark-module__clockify`},P=e=>u(he,e),F=p({service:{codecommit:{className:P(`codecommit`),purpose:`CodeCommit provenance`,tokens:[`color-service-codecommit`]},codepipeline:{className:P(`codepipeline`),purpose:`CodePipeline provenance`,tokens:[`color-service-codepipeline`]},jira:{className:P(`jira`),purpose:`Jira provenance`,tokens:[`color-service-jira`]},confluence:{className:P(`confluence`),purpose:`Confluence provenance`,tokens:[`color-service-confluence`]},clockify:{className:P(`clockify`),purpose:`Clockify provenance`,tokens:[`color-service-clockify`]}},size:{compact:{className:P(`compact`),purpose:`Dense provenance metadata`,tokens:[`space-24`,`type-meta`]},default:{className:P(`defaultSize`),purpose:`Standard provenance identity`,tokens:[`space-32`,`type-label`]}}});p({size:`default`});var ge={codecommit:`CodeCommit`,codepipeline:`CodePipeline`,jira:`Jira`,confluence:`Confluence`,clockify:`Clockify`},_e={codecommit:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`path`,{d:`M6 5.5h7.5a3 3 0 0 1 3 3v7`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`}),(0,h.jsx)(`circle`,{cx:`6`,cy:`5.5`,fill:`currentColor`,r:`2`}),(0,h.jsx)(`circle`,{cx:`16.5`,cy:`17.5`,fill:`currentColor`,r:`2`}),(0,h.jsx)(`path`,{d:`m10 12 2-2 2 2-2 2Z`,fill:`none`,stroke:`currentColor`,strokeLinejoin:`round`,strokeWidth:`1.6`})]}),codepipeline:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`rect`,{fill:`none`,height:`5`,rx:`1`,stroke:`currentColor`,strokeWidth:`1.7`,width:`5`,x:`2.5`,y:`9.5`}),(0,h.jsx)(`rect`,{fill:`none`,height:`5`,rx:`1`,stroke:`currentColor`,strokeWidth:`1.7`,width:`5`,x:`16.5`,y:`9.5`}),(0,h.jsx)(`path`,{d:`M8 12h7m-2.5-2.5L15 12l-2.5 2.5`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`})]}),jira:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`path`,{d:`m12 2.8 8.8 8.8a.6.6 0 0 1 0 .8L12 21.2l-8.8-8.8a.6.6 0 0 1 0-.8Z`,fill:`currentColor`}),(0,h.jsx)(`path`,{d:`m12 7.2 4.8 4.8-4.8 4.8L7.2 12Z`,fill:`var(--rly-color-surface-1)`}),(0,h.jsx)(`path`,{d:`m12 9.8 2.2 2.2-2.2 2.2L9.8 12Z`,fill:`currentColor`})]}),confluence:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`path`,{d:`M4 7.2c3.6 2.1 6.8 2.4 9.6.9L17 6.3l2.7 4.3-3.4 1.8c-4.6 2.4-9.5 1.8-14-1.5Z`,fill:`currentColor`}),(0,h.jsx)(`path`,{d:`M20 16.8c-3.6-2.1-6.8-2.4-9.6-.9L7 17.7l-2.7-4.3 3.4-1.8c4.6-2.4 9.5-1.8 14 1.5Z`,fill:`currentColor`})]}),clockify:()=>(0,h.jsxs)(`svg`,{"aria-hidden":`true`,className:P(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:[(0,h.jsx)(`circle`,{cx:`11`,cy:`13`,fill:`none`,r:`7`,stroke:`currentColor`,strokeWidth:`1.8`}),(0,h.jsx)(`path`,{d:`M11 9v4l3 2m1.5-10.7 1.8-1.8M18 7l2-2`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`})]})},I=({className:e,service:t,size:n=`default`,...r})=>{let i=_e[t],a=ge[t];return(0,h.jsxs)(`span`,{...r,"aria-label":a,className:d(P(`root`),F.service[t].className,F.size[n].className,e),"data-rly-service":t,role:`img`,children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:P(`rail`)}),(0,h.jsx)(i,{}),(0,h.jsx)(`span`,{"aria-hidden":`true`,className:P(`name`),children:a})]})},ve={root:`rly_Verdict-module__root`,verdict:`rly_Verdict-module__verdict`,caution:`rly_Verdict-module__caution`,critical:`rly_Verdict-module__critical`,neutral:`rly_Verdict-module__neutral`,positive:`rly_Verdict-module__positive`,progress:`rly_Verdict-module__progress`,reasonPanel:`rly_Verdict-module__reasonPanel`,icon:`rly_Verdict-module__icon`,reason:`rly_Verdict-module__reason`},L=e=>u(ve,e),ye=p({tone:{caution:{className:L(`caution`),purpose:`Intentional hold or caution requiring attention`,tokens:[`color-held-ink`,`color-held-tint`]},critical:{className:L(`critical`),purpose:`Explicit blocker or failed prerequisite`,tokens:[`color-blocked-ink`,`color-blocked-tint`]},neutral:{className:L(`neutral`),purpose:`Neutral, missing, or unavailable outcome`,tokens:[`color-text-2`,`color-surface-2`]},positive:{className:L(`positive`),purpose:`Satisfied readiness or successful outcome`,tokens:[`color-success-ink`,`color-success-tint`]},progress:{className:L(`progress`),purpose:`Active work or delivery progress`,tokens:[`color-deploying-ink`,`color-deploying-tint`]}}}),be={caution:`clock`,critical:`alert`,neutral:`minus`,positive:`check`,progress:`loader`},R=({className:e,reason:t,tone:r,verdict:i,...a})=>{let o=f(t,`Verdict reason`),s=f(i,`Verdict verdict`);return(0,h.jsxs)(`section`,{...a,className:d(L(`root`),ye.tone[r].className,e),"data-rly-verdict-tone":r,children:[(0,h.jsx)(`h2`,{className:L(`verdict`),children:s}),(0,h.jsxs)(`div`,{className:L(`reasonPanel`),children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:L(`icon`),children:(0,h.jsx)(n,{decorative:!0,name:be[r],size:`large`})}),(0,h.jsx)(`p`,{className:L(`reason`),children:o})]})]})},xe={root:`rly_EntityShell-module__root`,navigation:`rly_EntityShell-module__navigation`,header:`rly_EntityShell-module__header`,identity:`rly_EntityShell-module__identity`,title:`rly_EntityShell-module__title`,hero:`rly_EntityShell-module__hero`,body:`rly_EntityShell-module__body`,headerAside:`rly_EntityShell-module__headerAside`,freshness:`rly_EntityShell-module__freshness`,headerSlot:`rly_EntityShell-module__headerSlot`,slotLabel:`rly_EntityShell-module__slotLabel`,content:`rly_EntityShell-module__content`,relationships:`rly_EntityShell-module__relationships`,activity:`rly_EntityShell-module__activity`,asideSlot:`rly_EntityShell-module__asideSlot`,aside:`rly_EntityShell-module__aside`},z=e=>u(xe,e),Se=({actions:e,activity:t,agentEntry:n,className:r,collaborators:i,content:a,evidence:o,facts:s,freshness:c,freshnessDateTime:l,freshnessTime:u,navigation:p,reason:g,relationships:_,service:v,title:y,tone:b,verdict:x,...S})=>{let C=f(y,`EntityShell title`);if(l===void 0!=(u===void 0))throw Error(`EntityShell freshnessDateTime and freshnessTime must be supplied together`);let w=`rly-entity-shell-${(0,m.useId)()}`;return(0,h.jsxs)(`article`,{...S,"aria-labelledby":w,className:d(z(`root`),r),"data-rly-entity-shell":``,children:[p===void 0?null:(0,h.jsx)(`nav`,{"aria-label":`${C} navigation`,className:z(`navigation`),"data-rly-entity-shell-slot":`navigation`,children:p}),(0,h.jsxs)(`header`,{className:z(`header`),children:[(0,h.jsxs)(`div`,{className:z(`identity`),children:[(0,h.jsx)(I,{service:v}),(0,h.jsx)(`h1`,{className:z(`title`),id:w,children:C})]}),(0,h.jsxs)(`div`,{className:z(`hero`),children:[(0,h.jsx)(R,{reason:g,tone:b,verdict:x}),(0,h.jsxs)(`div`,{className:z(`headerAside`),children:[(0,h.jsxs)(`div`,{className:z(`freshness`),"data-rly-entity-shell-slot":`freshness`,children:[(0,h.jsx)(`span`,{className:z(`slotLabel`),children:`Freshness`}),l===void 0||u===void 0?(0,h.jsx)(N,{state:c}):(0,h.jsx)(N,{dateTime:l,state:c,time:u})]}),(0,h.jsx)(`div`,{className:z(`headerSlot`),"data-rly-entity-shell-slot":`actions`,children:e}),(0,h.jsx)(`div`,{className:z(`headerSlot`),"data-rly-entity-shell-slot":`agent-entry`,children:n})]})]})]}),(0,h.jsxs)(`div`,{className:z(`body`),children:[(0,h.jsx)(`section`,{className:z(`content`),"data-rly-entity-shell-slot":`content`,children:a}),(0,h.jsxs)(`aside`,{className:z(`aside`),children:[s===void 0?null:(0,h.jsx)(`section`,{className:z(`asideSlot`),"data-rly-entity-shell-slot":`facts`,children:s}),o===void 0?null:(0,h.jsx)(`section`,{className:z(`asideSlot`),"data-rly-entity-shell-slot":`evidence`,children:o}),(0,h.jsx)(`section`,{className:z(`asideSlot`),"data-rly-entity-shell-slot":`collaborators`,children:i})]})]}),(0,h.jsx)(`section`,{className:z(`relationships`),"data-rly-entity-shell-slot":`relationships`,children:_}),t===void 0?null:(0,h.jsx)(`section`,{className:z(`activity`),"data-rly-entity-shell-slot":`activity`,children:t})]})},Ce={root:`rly_EvidenceStamp-module__root`,source:`rly_EvidenceStamp-module__source`,freshness:`rly_EvidenceStamp-module__freshness`,conceptLabel:`rly_EvidenceStamp-module__conceptLabel`,sourceDetail:`rly_EvidenceStamp-module__sourceDetail`,reference:`rly_EvidenceStamp-module__reference`},B=e=>u(Ce,e),we=({className:e,freshness:t,freshnessDateTime:n,freshnessTime:r,reference:i,service:a,...o})=>{let s=f(i,`EvidenceStamp reference`),c=n===void 0||r===void 0?(0,h.jsx)(N,{size:`compact`,state:t}):(0,h.jsx)(N,{dateTime:n,size:`compact`,state:t,time:r});return(0,h.jsxs)(`div`,{...o,className:d(B(`root`),e),"data-rly-evidence-stamp":``,children:[(0,h.jsxs)(`div`,{className:B(`source`),"data-rly-evidence-source":a,children:[(0,h.jsx)(`span`,{className:B(`conceptLabel`),children:`Evidence source`}),(0,h.jsxs)(`div`,{className:B(`sourceDetail`),children:[(0,h.jsx)(I,{service:a,size:`compact`}),(0,h.jsx)(`code`,{className:B(`reference`),children:s})]})]}),(0,h.jsxs)(`div`,{className:B(`freshness`),"data-rly-evidence-freshness":t,children:[(0,h.jsx)(`span`,{className:B(`conceptLabel`),children:`Freshness`}),c]})]})},V={missing:{icon:`alert`,label:`Missing`},inferred:{icon:`search`,label:`Inferred`},proposed:{icon:`plus`,label:`Proposed`},verified:{icon:`check`,label:`Verified`},governed:{icon:`link`,label:`Governed`},rejected:{icon:`close`,label:`Rejected`},superseded:{icon:`arrow-right`,label:`Superseded`}},H={forward:{arrow:`→`,label:`Forward`},reverse:{arrow:`←`,label:`Reverse`},bidirectional:{arrow:`↔`,label:`Bidirectional`}},Te=(e,t)=>{f(e.id,`${t} person id`),f(e.name,`${t} person name`),f(e.role,`${t} person role`),e.avatarFallback!==void 0&&f(e.avatarFallback,`${t} person avatarFallback`),e.avatarSrc!==void 0&&f(e.avatarSrc,`${t} person avatarSrc`)},Ee=(e,t)=>{if(!Object.hasOwn(F.service,e))throw Error(`${t} service must be a supported rly service`)},De=(e,t)=>{if(e.state===`present`){f(e.id,`${t} id`),f(e.title,`${t} title`),f(e.reference,`${t} reference`),Ee(e.service,t),e.href!==void 0&&f(e.href,`${t} href`),e.person!==void 0&&Te(e.person,t);return}if(e.state===`missing`){f(e.label,`${t} missing label`),f(e.reason,`${t} missing reason`),e.service!==void 0&&Ee(e.service,t);return}throw Error(`${t} state must be present or missing`)},Oe=e=>{let t=new Set;for(let n of e){let e=f(n.id,`Relationship id`);if(t.has(e))throw Error(`Relationship ids must be unique: ${e}`);if(t.add(e),f(n.kind,`Relationship kind for ${e}`),!Object.hasOwn(H,n.direction))throw Error(`Relationship direction for ${e} must be supported`);if(!Object.hasOwn(V,n.lifecycle))throw Error(`Relationship lifecycle for ${e} must be supported`);De(n.source,`Relationship ${e} source`),De(n.target,`Relationship ${e} target`),n.evidence!==void 0&&f(n.evidence,`Relationship evidence for ${e}`),n.actor!==void 0&&Te(n.actor,`Relationship ${e} actor`)}},ke={root:`rly_RelationshipChain-module__root`,heading:`rly_RelationshipChain-module__heading`,empty:`rly_RelationshipChain-module__empty`,list:`rly_RelationshipChain-module__list`,item:`rly_RelationshipChain-module__item`,endpoint:`rly_RelationshipChain-module__endpoint`,endpointLink:`rly_RelationshipChain-module__endpointLink`,identity:`rly_RelationshipChain-module__identity`,missingIdentity:`rly_RelationshipChain-module__missingIdentity`,title:`rly_RelationshipChain-module__title`,missingLabel:`rly_RelationshipChain-module__missingLabel`,kind:`rly_RelationshipChain-module__kind`,reference:`rly_RelationshipChain-module__reference`,direction:`rly_RelationshipChain-module__direction`,evidence:`rly_RelationshipChain-module__evidence`,fieldLabel:`rly_RelationshipChain-module__fieldLabel`,missingEndpoint:`rly_RelationshipChain-module__missingEndpoint`,relationship:`rly_RelationshipChain-module__relationship`,arrow:`rly_RelationshipChain-module__arrow`,actor:`rly_RelationshipChain-module__actor`},U=e=>u(ke,e),Ae=({endpoint:e})=>{if(e.state===`missing`)return(0,h.jsxs)(`div`,{className:d(U(`endpoint`),U(`missingEndpoint`)),"data-rly-endpoint-state":`missing`,children:[e.service===void 0?null:(0,h.jsx)(I,{service:e.service,size:`compact`}),(0,h.jsxs)(`span`,{className:U(`missingIdentity`),children:[(0,h.jsxs)(`span`,{className:U(`missingLabel`),children:[(0,h.jsx)(n,{decorative:!0,name:`alert`,size:`small`}),e.label]}),(0,h.jsx)(`span`,{className:U(`reference`),children:e.reason})]})]});let t=(0,h.jsxs)(`span`,{className:U(`identity`),children:[(0,h.jsx)(`span`,{className:U(`title`),children:e.title}),(0,h.jsx)(`span`,{className:U(`reference`),children:e.reference})]});return(0,h.jsxs)(`div`,{className:U(`endpoint`),"data-rly-endpoint-id":e.id,"data-rly-endpoint-state":`present`,children:[(0,h.jsx)(I,{service:e.service,size:`compact`}),e.href===void 0?t:(0,h.jsx)(l,{className:U(`endpointLink`),href:e.href,children:t}),e.person===void 0?null:(0,h.jsx)(k,{person:e.person,size:`compact`})]})},je=({className:e,emptyLabel:t=`No relationships recorded.`,heading:n,relationships:r,...i})=>{let a=f(n,`RelationshipChain heading`),s=f(t,`RelationshipChain emptyLabel`);Oe(r);let c=`${(0,m.useId)()}-heading`;return(0,h.jsxs)(`section`,{...i,"aria-labelledby":c,className:d(U(`root`),e),children:[(0,h.jsx)(`h2`,{className:U(`heading`),id:c,children:a}),r.length===0?(0,h.jsx)(`p`,{className:U(`empty`),children:s}):(0,h.jsx)(`ol`,{className:U(`list`),children:r.map(e=>{let t=H[e.direction],n=V[e.lifecycle];return(0,h.jsxs)(`li`,{className:U(`item`),"data-rly-relationship-id":e.id,"data-rly-relationship-direction":e.direction,"data-rly-relationship-kind":e.kind,"data-rly-relationship-lifecycle":e.lifecycle,children:[(0,h.jsx)(Ae,{endpoint:e.source}),(0,h.jsxs)(`div`,{className:U(`relationship`),"data-rly-relationship-detail":``,children:[(0,h.jsxs)(`span`,{className:U(`direction`),children:[(0,h.jsx)(`span`,{children:t.label}),(0,h.jsx)(`span`,{"aria-hidden":`true`,className:U(`arrow`),children:t.arrow})]}),(0,h.jsx)(`span`,{className:U(`kind`),children:e.kind}),(0,h.jsx)(o,{icon:n.icon,label:n.label,size:`compact`,tone:`neutral`}),e.actor===void 0?null:(0,h.jsxs)(`div`,{className:U(`actor`),"data-rly-relationship-actor":e.actor.id,children:[(0,h.jsx)(`span`,{className:U(`fieldLabel`),children:`Actor`}),(0,h.jsx)(k,{person:e.actor,size:`compact`})]})]}),(0,h.jsx)(Ae,{endpoint:e.target}),(0,h.jsxs)(`p`,{className:U(`evidence`),children:[(0,h.jsx)(`span`,{className:U(`fieldLabel`),children:`Evidence`}),(0,h.jsx)(`span`,{"data-rly-relationship-evidence":``,children:e.evidence??`No evidence recorded.`})]})]},e.id)})})]})},Me={root:`rly_RelationshipTable-module__root`,heading:`rly_RelationshipTable-module__heading`,empty:`rly_RelationshipTable-module__empty`,table:`rly_RelationshipTable-module__table`,head:`rly_RelationshipTable-module__head`,cell:`rly_RelationshipTable-module__cell`,endpoint:`rly_RelationshipTable-module__endpoint`,identity:`rly_RelationshipTable-module__identity`,relationship:`rly_RelationshipTable-module__relationship`,actor:`rly_RelationshipTable-module__actor`,endpointLink:`rly_RelationshipTable-module__endpointLink`,title:`rly_RelationshipTable-module__title`,missingLabel:`rly_RelationshipTable-module__missingLabel`,kind:`rly_RelationshipTable-module__kind`,reference:`rly_RelationshipTable-module__reference`,direction:`rly_RelationshipTable-module__direction`,evidence:`rly_RelationshipTable-module__evidence`,fieldLabel:`rly_RelationshipTable-module__fieldLabel`,missingEndpoint:`rly_RelationshipTable-module__missingEndpoint`,arrow:`rly_RelationshipTable-module__arrow`,body:`rly_RelationshipTable-module__body`,row:`rly_RelationshipTable-module__row`},W=e=>u(Me,e),Ne=({endpoint:e})=>{if(e.state===`missing`)return(0,h.jsxs)(`div`,{className:d(W(`endpoint`),W(`missingEndpoint`)),"data-rly-endpoint-state":`missing`,children:[e.service===void 0?null:(0,h.jsx)(I,{service:e.service,size:`compact`}),(0,h.jsxs)(`span`,{className:W(`identity`),children:[(0,h.jsxs)(`span`,{className:W(`missingLabel`),children:[(0,h.jsx)(n,{decorative:!0,name:`alert`,size:`small`}),e.label]}),(0,h.jsx)(`span`,{className:W(`reference`),children:e.reason})]})]});let t=(0,h.jsxs)(`span`,{className:W(`identity`),children:[(0,h.jsx)(`span`,{className:W(`title`),children:e.title}),(0,h.jsx)(`span`,{className:W(`reference`),children:e.reference})]});return(0,h.jsxs)(`div`,{className:W(`endpoint`),"data-rly-endpoint-id":e.id,"data-rly-endpoint-state":`present`,children:[(0,h.jsx)(I,{service:e.service,size:`compact`}),e.href===void 0?t:(0,h.jsx)(l,{className:W(`endpointLink`),href:e.href,children:t}),e.person===void 0?null:(0,h.jsx)(k,{person:e.person,size:`compact`})]})},Pe=({className:e,emptyLabel:t=`No relationships recorded.`,heading:n,relationships:r,...i})=>{let a=f(n,`RelationshipTable heading`),s=f(t,`RelationshipTable emptyLabel`);Oe(r);let c=`${(0,m.useId)()}-heading`;return(0,h.jsxs)(`section`,{...i,"aria-labelledby":c,className:d(W(`root`),e),children:[(0,h.jsx)(`h2`,{className:W(`heading`),id:c,children:a}),r.length===0?(0,h.jsx)(`p`,{className:W(`empty`),children:s}):(0,h.jsxs)(`table`,{"aria-labelledby":c,className:W(`table`),children:[(0,h.jsx)(`thead`,{className:W(`head`),children:(0,h.jsxs)(`tr`,{children:[(0,h.jsx)(`th`,{scope:`col`,children:`Source`}),(0,h.jsx)(`th`,{scope:`col`,children:`Relationship`}),(0,h.jsx)(`th`,{scope:`col`,children:`Target`}),(0,h.jsx)(`th`,{scope:`col`,children:`Evidence`})]})}),(0,h.jsx)(`tbody`,{className:W(`body`),children:r.map(e=>{let t=H[e.direction],n=V[e.lifecycle];return(0,h.jsxs)(`tr`,{className:W(`row`),"data-rly-relationship-id":e.id,"data-rly-relationship-direction":e.direction,"data-rly-relationship-kind":e.kind,"data-rly-relationship-lifecycle":e.lifecycle,children:[(0,h.jsx)(`td`,{className:W(`cell`),"data-label":`Source`,children:(0,h.jsx)(Ne,{endpoint:e.source})}),(0,h.jsx)(`td`,{className:W(`cell`),"data-label":`Relationship`,children:(0,h.jsxs)(`div`,{className:W(`relationship`),"data-rly-relationship-detail":``,children:[(0,h.jsxs)(`span`,{className:W(`direction`),children:[(0,h.jsx)(`span`,{children:t.label}),(0,h.jsx)(`span`,{"aria-hidden":`true`,className:W(`arrow`),children:t.arrow})]}),(0,h.jsx)(`span`,{className:W(`kind`),children:e.kind}),(0,h.jsx)(o,{icon:n.icon,label:n.label,size:`compact`,tone:`neutral`}),e.actor===void 0?null:(0,h.jsxs)(`div`,{className:W(`actor`),"data-rly-relationship-actor":e.actor.id,children:[(0,h.jsx)(`span`,{className:W(`fieldLabel`),children:`Actor`}),(0,h.jsx)(k,{person:e.actor,size:`compact`})]})]})}),(0,h.jsx)(`td`,{className:W(`cell`),"data-label":`Target`,children:(0,h.jsx)(Ne,{endpoint:e.target})}),(0,h.jsx)(`td`,{className:W(`cell`),"data-label":`Evidence`,children:(0,h.jsx)(`span`,{className:W(`evidence`),"data-rly-relationship-evidence":``,children:e.evidence??`No evidence recorded.`})})]},e.id)})})]})]})},Fe=/^(?:--[A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*|-?[A-Za-z_\u0080-\uD7FF\uE000-\u{10ffff}][A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*)$/u,Ie=new Set([`auto`,`default`,`inherit`,`initial`,`match-element`,`none`,`revert`,`revert-layer`,`unset`]),Le=e=>{if(e===void 0)return;let t={relay:e.relay,verdict:e.verdict,version:e.version},n=[[`relay`,t.relay],[`verdict`,t.verdict],[`version`,t.version]],r=new Set;for(let[e,t]of n){let n=f(t,`Release transition ${e} name`);if(n===`root`||Ie.has(n.toLowerCase()))throw Error(`Release transition ${e} name must not use a reserved CSS value: ${n}`);if(!Fe.test(n))throw Error(`Release transition ${e} name must be a valid unescaped CSS custom identifier: ${n}`);if(r.has(n))throw Error(`Release transition names must be unique: ${n}`);r.add(n)}return Object.freeze(t)},Re={blocked:!0,ready:!0,deploying:!0,building:!0,shipped:!0,held:!0,unknown:!0},ze=e=>{if(f(e.id,`Release presentation id`),f(e.version,`Release presentation version`),f(e.codename,`Release presentation codename`),f(e.algorithm,`Release presentation algorithm`),f(e.verdict,`Release presentation verdict`),f(e.reason,`Release presentation reason`),!Object.hasOwn(Re,e.state))throw Error(`Release presentation state must be supported`);e.freshnessDateTime!==void 0&&(f(e.freshnessDateTime,`Release presentation freshnessDateTime`),f(e.freshnessTime,`Release presentation freshnessTime`));let t=new Set;for(let n of e.facts){let e=f(n.id,`Release presentation fact id`);if(t.has(e))throw Error(`Release presentation fact ids must be unique: ${e}`);t.add(e),f(n.label,`Release presentation fact label for ${e}`),f(n.value,`Release presentation fact value for ${e}`)}return e},Be={root:`rly_ReleaseRelay-module__root`,tiles:`rly_ReleaseRelay-module__tiles`,handoff:`rly_ReleaseRelay-module__handoff`,tile:`rly_ReleaseRelay-module__tile`,glyph:`rly_ReleaseRelay-module__glyph`,identity:`rly_ReleaseRelay-module__identity`,codename:`rly_ReleaseRelay-module__codename`,algorithm:`rly_ReleaseRelay-module__algorithm`,compact:`rly_ReleaseRelay-module__compact`,hero:`rly_ReleaseRelay-module__hero`},G=e=>u(Be,e),Ve=p({0:{name:`orbit`},1:{name:`split`},2:{name:`brace`},3:{name:`wave`},4:{name:`gate`},5:{name:`fork`},6:{name:`bridge`},7:{name:`beacon`},8:{name:`loop`},9:{name:`pulse`},10:{name:`anchor`},11:{name:`ladder`},12:{name:`knot`},13:{name:`spark`},14:{name:`stack`},15:{name:`compass`}}),He=p({size:{compact:{className:G(`compact`),purpose:`Release rows and compact previews`,tokens:[`space-32`,`space-8`,`type-label`]},hero:{className:G(`hero`),purpose:`Page-level release identity`,tokens:[`space-48`,`space-4`,`space-8`,`type-card-title`]}}});p({size:`compact`});var Ue={0:`M12 4a8 8 0 1 1-6.9 4M5.1 8H9V4.1`,1:`M5 5v4c0 2 1 3 3 3h8c2 0 3 1 3 3v4M12 12V5`,2:`M9 4H7v5l-3 3 3 3v5h2M15 4h2v5l3 3-3 3v5h-2`,3:`M3 9c3-4 6-4 9 0s6 4 9 0M3 15c3-4 6-4 9 0s6 4 9 0`,4:`M5 19V8l7-4 7 4v11M9 19v-7h6v7`,5:`M12 20V9M12 12 6 6M12 12l6-6M6 6v4M18 6v4`,6:`M3 17h18M5 17v-5c4-5 10-5 14 0v5M8 17v-3M16 17v-3`,7:`M12 3v3M5.6 5.6l2.1 2.1M18.4 5.6l-2.1 2.1M6 20h12l-2-9H8Z`,8:`M8 8a4 4 0 0 1 8 0v8a4 4 0 0 1-8 0V8Zm0 4h8`,9:`M3 13h4l2-6 4 12 2-6h6`,10:`M12 3v15M8 7h8M5 14c0 4 3 7 7 7s7-3 7-7M5 14l-2 2M19 14l2 2`,11:`M7 3v18M17 3v18M7 7h10M7 12h10M7 17h10`,12:`M8 5a4 4 0 0 1 4 4v6a4 4 0 1 0 4-4H8a4 4 0 1 0 4 4V9a4 4 0 0 1 4-4`,13:`M12 3v5M12 16v5M3 12h5M16 12h5M5.6 5.6l3.5 3.5M14.9 14.9l3.5 3.5M18.4 5.6l-3.5 3.5M9.1 14.9l-3.5 3.5`,14:`m4 8 8-4 8 4-8 4Zm0 4 8 4 8-4M4 16l8 4 8-4`,15:`m12 3 3 6 6 3-6 3-3 6-3-6-6-3 6-3Zm0 6v6M9 12h6`},We=e=>{if(e.length!==3)throw Error(`ReleaseRelay symbolIndices must contain exactly three indices`);let t=new Set;for(let n of e){if(!Number.isInteger(n)||n<0||n>15)throw Error(`ReleaseRelay symbol indices must be integers from 0 through 15`);if(t.has(n))throw Error(`ReleaseRelay symbol indices must be distinct`);t.add(n)}return e},K=({algorithm:e,className:t,codename:n,size:r=`compact`,symbolIndices:i,...a})=>{let o=f(e,`ReleaseRelay algorithm`),s=f(n,`ReleaseRelay codename`),c=We(i),l=`Release relay, ${s}, symbols ${c.map(e=>Ve[e].name).join(`, `)}.`;return(0,h.jsxs)(`figure`,{...a,className:d(G(`root`),He.size[r].className,t),"data-rly-release-relay-size":r,children:[(0,h.jsxs)(`span`,{"aria-label":l,className:G(`tiles`),role:`img`,children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:G(`handoff`),"data-rly-release-relay-handoff":``}),c.map((e,t)=>(0,h.jsx)(`span`,{"aria-hidden":`true`,className:G(`tile`),"data-rly-release-relay-position":t,"data-rly-release-symbol-index":e,"data-rly-release-symbol-name":Ve[e].name,children:(0,h.jsx)(`svg`,{className:G(`glyph`),focusable:`false`,viewBox:`0 0 24 24`,children:(0,h.jsx)(`path`,{d:Ue[e],fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.7`,vectorEffect:`non-scaling-stroke`})})},e))]}),(0,h.jsxs)(`figcaption`,{className:G(`identity`),children:[(0,h.jsx)(`span`,{className:G(`codename`),children:s}),(0,h.jsxs)(`span`,{className:G(`algorithm`),children:[`Identity algorithm: `,o]})]})]})},Ge={body:`rly_ReleasePreview-module__body`,summary:`rly_ReleasePreview-module__summary`,releaseMeta:`rly_ReleasePreview-module__releaseMeta`,personGroup:`rly_ReleasePreview-module__personGroup`,fact:`rly_ReleasePreview-module__fact`,dialogSurface:`rly_ReleasePreview-module__dialogSurface`,dialogFrame:`rly_ReleasePreview-module__dialogFrame`,dialogScroll:`rly_ReleasePreview-module__dialogScroll`,identityRow:`rly_ReleasePreview-module__identityRow`,version:`rly_ReleasePreview-module__version`,people:`rly_ReleasePreview-module__people`,eyebrow:`rly_ReleasePreview-module__eyebrow`,unassigned:`rly_ReleasePreview-module__unassigned`,facts:`rly_ReleasePreview-module__facts`,slot:`rly_ReleasePreview-module__slot`,dialogFooter:`rly_ReleasePreview-module__dialogFooter`,sheetFooter:`rly_ReleasePreview-module__sheetFooter`,dialogClose:`rly_ReleasePreview-module__dialogClose`,fullViewButton:`rly_ReleasePreview-module__fullViewButton`},q=e=>u(Ge,e),Ke=({agentEntry:e,collaborators:t,entryMotion:n=`intrinsic`,evidence:r,onOpenChange:a,onOpenFullView:o,open:l,openFullViewLabel:u=`Open full view`,presentation:d=`dialog`,primaryAction:p,release:g,stages:_,transitionNames:v,workset:y})=>{let b=ze(g),x=Le(v),S=f(u,`ReleasePreview openFullViewLabel`),C=(0,m.useRef)(null),w=b.freshnessDateTime===void 0?(0,h.jsx)(N,{state:b.freshness}):(0,h.jsx)(N,{dateTime:b.freshnessDateTime,state:b.freshness,time:b.freshnessTime}),T=`Release preview: ${b.version} ${b.codename}`,E=(0,h.jsxs)(`div`,{className:q(`body`),"data-rly-release-preview-presentation":d,"data-rly-release-state":b.state,children:[(0,h.jsxs)(`section`,{"aria-label":`Release summary`,className:q(`summary`),"data-rly-release-preview-summary":``,ref:C,tabIndex:-1,children:[(0,h.jsxs)(`div`,{className:q(`identityRow`),children:[(0,h.jsx)(K,{algorithm:b.algorithm,codename:b.codename,"data-rly-release-transition-name":x?.relay,"data-rly-release-transition-part":`relay`,size:`hero`,style:x===void 0?void 0:{viewTransitionName:x.relay},symbolIndices:b.symbolIndices}),(0,h.jsxs)(`div`,{className:q(`releaseMeta`),children:[(0,h.jsx)(`p`,{className:q(`version`),"data-rly-release-transition-name":x?.version,"data-rly-release-transition-part":`version`,style:x===void 0?void 0:{viewTransitionName:x.version},children:b.version}),w]})]}),(0,h.jsxs)(`div`,{className:q(`people`),children:[(0,h.jsxs)(`div`,{className:q(`personGroup`),children:[(0,h.jsx)(`span`,{className:q(`eyebrow`),children:`Owner`}),b.owner===void 0?(0,h.jsx)(`span`,{className:q(`unassigned`),"data-rly-release-owner":`unassigned`,children:`Unassigned`}):(0,h.jsx)(k,{person:b.owner})]}),(0,h.jsxs)(`div`,{className:q(`personGroup`),children:[(0,h.jsx)(`span`,{className:q(`eyebrow`),children:`Approver`}),b.approver===void 0?(0,h.jsx)(`span`,{className:q(`unassigned`),"data-rly-release-approver":`unassigned`,children:`Unassigned`}):(0,h.jsx)(k,{person:b.approver})]})]}),(0,h.jsx)(R,{"data-rly-release-transition-name":x?.verdict,"data-rly-release-transition-part":`verdict`,reason:b.reason,style:x===void 0?void 0:{viewTransitionName:x.verdict},tone:b.tone,verdict:b.verdict}),(0,h.jsx)(`dl`,{className:q(`facts`),children:b.facts.map(e=>(0,h.jsxs)(`div`,{className:q(`fact`),children:[(0,h.jsx)(`dt`,{children:e.label}),(0,h.jsx)(`dd`,{children:e.value})]},e.id))})]}),t===void 0?null:(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`collaborators`,children:t}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`primary-action`,children:p}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`stages`,children:_}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`workset`,children:y}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`evidence`,children:r}),(0,h.jsx)(`div`,{className:q(`slot`),"data-rly-release-preview-slot":`agent-entry`,children:e})]}),D=(0,h.jsx)(c,{className:q(`fullViewButton`),onClick:o,size:`default`,variant:`secondary`,children:S});return d===`sheet`?(0,h.jsx)(i.Root,{onOpenChange:a,open:l,children:(0,h.jsxs)(i.Content,{entryMotion:n,initialFocusRef:C,title:T,children:[(0,h.jsx)(i.Body,{"data-rly-release-preview-scroll":`sheet`,children:E}),(0,h.jsx)(i.Footer,{className:q(`sheetFooter`),"data-rly-release-preview-footer":`sheet`,children:D})]})}):(0,h.jsx)(s.Root,{onOpenChange:a,open:l,children:(0,h.jsx)(s.Content,{className:q(`dialogSurface`),entryMotion:n,initialFocusRef:C,size:`wide`,title:T,children:(0,h.jsxs)(`div`,{className:q(`dialogFrame`),children:[(0,h.jsx)(`div`,{className:q(`dialogClose`),children:(0,h.jsx)(s.Close,{size:`compact`,variant:`quiet`,children:`Close preview`})}),(0,h.jsx)(`div`,{className:q(`dialogScroll`),"data-rly-release-preview-scroll":`dialog`,children:E}),(0,h.jsx)(`footer`,{className:q(`dialogFooter`),"data-rly-release-preview-footer":`dialog`,children:D})]})})})},qe={root:`rly_ReleaseRow-module__root`,identity:`rly_ReleaseRow-module__identity`,verdictBlock:`rly_ReleaseRow-module__verdictBlock`,people:`rly_ReleaseRow-module__people`,actions:`rly_ReleaseRow-module__actions`,personGroup:`rly_ReleaseRow-module__personGroup`,fact:`rly_ReleaseRow-module__fact`,version:`rly_ReleaseRow-module__version`,verdict:`rly_ReleaseRow-module__verdict`,reason:`rly_ReleaseRow-module__reason`,eyebrow:`rly_ReleaseRow-module__eyebrow`,unassigned:`rly_ReleaseRow-module__unassigned`,facts:`rly_ReleaseRow-module__facts`,agentEntry:`rly_ReleaseRow-module__agentEntry`,previewButton:`rly_ReleaseRow-module__previewButton`},J=e=>u(qe,e),Je=({agentEntry:e,className:t,onPreview:n,previewLabel:r=`Preview release`,release:i,transitionNames:a,...o})=>{let s=ze(i),l=Le(a),u=f(r,`ReleaseRow previewLabel`),p=`rly-release-row-verdict-${(0,m.useId)()}`,g=s.freshnessDateTime===void 0?(0,h.jsx)(N,{size:`compact`,state:s.freshness}):(0,h.jsx)(N,{dateTime:s.freshnessDateTime,size:`compact`,state:s.freshness,time:s.freshnessTime});return(0,h.jsxs)(`article`,{...o,className:d(J(`root`),t),"data-rly-release-id":s.id,"data-rly-release-state":s.state,children:[(0,h.jsxs)(`div`,{className:J(`identity`),children:[(0,h.jsx)(K,{algorithm:s.algorithm,codename:s.codename,"data-rly-release-transition-name":l?.relay,"data-rly-release-transition-part":`relay`,size:`compact`,style:l===void 0?void 0:{viewTransitionName:l.relay},symbolIndices:s.symbolIndices}),(0,h.jsx)(`p`,{className:J(`version`),"data-rly-release-transition-name":l?.version,"data-rly-release-transition-part":`version`,style:l===void 0?void 0:{viewTransitionName:l.version},children:s.version}),g]}),(0,h.jsxs)(`section`,{"aria-labelledby":p,className:J(`verdictBlock`),"data-rly-release-transition-name":l?.verdict,"data-rly-release-transition-part":`verdict`,style:l===void 0?void 0:{viewTransitionName:l.verdict},children:[(0,h.jsx)(`h2`,{className:J(`verdict`),id:p,children:s.verdict}),(0,h.jsx)(`p`,{className:J(`reason`),children:s.reason})]}),(0,h.jsxs)(`div`,{className:J(`people`),children:[(0,h.jsxs)(`div`,{className:J(`personGroup`),children:[(0,h.jsx)(`span`,{className:J(`eyebrow`),children:`Owner`}),s.owner===void 0?(0,h.jsx)(`span`,{className:J(`unassigned`),"data-rly-release-owner":`unassigned`,children:`Unassigned`}):(0,h.jsx)(k,{person:s.owner,size:`compact`})]}),s.approver===void 0?null:(0,h.jsxs)(`div`,{className:J(`personGroup`),children:[(0,h.jsx)(`span`,{className:J(`eyebrow`),children:`Approver`}),(0,h.jsx)(k,{person:s.approver,size:`compact`})]})]}),(0,h.jsx)(`dl`,{className:J(`facts`),children:s.facts.map(e=>(0,h.jsxs)(`div`,{className:J(`fact`),"data-rly-release-fact":e.id,children:[(0,h.jsx)(`dt`,{children:e.label}),(0,h.jsx)(`dd`,{children:e.value})]},e.id))}),(0,h.jsxs)(`div`,{className:J(`actions`),children:[(0,h.jsx)(c,{className:J(`previewButton`),onClick:n,size:`default`,children:u}),e===void 0?null:(0,h.jsx)(`div`,{className:J(`agentEntry`),children:e})]})]})},Ye={root:`rly_StageRail-module__root`,heading:`rly_StageRail-module__heading`,list:`rly_StageRail-module__list`,item:`rly_StageRail-module__item`,marker:`rly_StageRail-module__marker`,connector:`rly_StageRail-module__connector`,content:`rly_StageRail-module__content`,name:`rly_StageRail-module__name`,reason:`rly_StageRail-module__reason`,empty:`rly_StageRail-module__empty`,compact:`rly_StageRail-module__compact`,defaultSize:`rly_StageRail-module__defaultSize`,long:`rly_StageRail-module__long`},Y=e=>u(Ye,e),Xe=p({size:{compact:{className:Y(`compact`),purpose:`Dense release and entity stage summaries`,tokens:[`space-24`,`space-8`,`type-label`,`type-meta`]},default:{className:Y(`defaultSize`),purpose:`Standard stage progression with supporting context`,tokens:[`space-24`,`space-12`,`type-card-title`,`type-body`]}}});p({size:`default`});var Ze=e=>{let t=new Set;for(let n of e){let e=f(n.id,`StageRail stage id`);if(f(n.name,`StageRail name for ${e}`),f(n.state,`StageRail state for ${e}`),n.reason!==void 0&&f(n.reason,`StageRail reason for ${e}`),t.has(e))throw Error(`StageRail stage ids must be unique: ${e}`);t.add(e)}return e},Qe=({className:e,emptyLabel:t=`No stages recorded.`,heading:n,size:r=`default`,stages:i,...a})=>{let s=f(n,`StageRail heading`),c=f(t,`StageRail emptyLabel`),l=Ze(i),u=`rly-stage-rail-${(0,m.useId)()}`;return(0,h.jsxs)(`section`,{...a,"aria-labelledby":u,className:d(Y(`root`),Xe.size[r].className,l.length>6&&Y(`long`),e),"data-rly-stage-rail-size":r,children:[(0,h.jsx)(`h2`,{className:Y(`heading`),id:u,children:s}),l.length===0?(0,h.jsx)(`p`,{className:Y(`empty`),children:c}):(0,h.jsx)(`ol`,{className:Y(`list`),children:l.map((e,t)=>(0,h.jsxs)(`li`,{className:Y(`item`),"data-rly-stage-id":e.id,children:[(0,h.jsx)(`span`,{"aria-hidden":`true`,className:Y(`marker`),"data-rly-stage-marker":``,children:t+1}),t===l.length-1?null:(0,h.jsx)(`span`,{"aria-hidden":`true`,className:Y(`connector`),"data-rly-stage-connector":``}),(0,h.jsxs)(`div`,{className:Y(`content`),children:[(0,h.jsx)(`h3`,{className:Y(`name`),children:e.name}),(0,h.jsx)(o,{label:e.state,size:r===`compact`?`compact`:`default`,tone:e.tone}),e.reason===void 0?null:(0,h.jsx)(`p`,{className:Y(`reason`),children:e.reason}),e.owner===void 0?null:(0,h.jsx)(k,{person:e.owner,size:r})]})]},e.id))})]})},$e={root:`rly_TimelineRow-module__root`,time:`rly_TimelineRow-module__time`,marker:`rly_TimelineRow-module__marker`,dot:`rly_TimelineRow-module__dot`,connector:`rly_TimelineRow-module__connector`,content:`rly_TimelineRow-module__content`,meta:`rly_TimelineRow-module__meta`,title:`rly_TimelineRow-module__title`,link:`rly_TimelineRow-module__link`,detail:`rly_TimelineRow-module__detail`,actorKind:`rly_TimelineRow-module__actorKind`,actor:`rly_TimelineRow-module__actor`},X=e=>u($e,e),et={human:`Human`,agent:`Agent`,plugin:`Plugin`,system:`System`},tt=e=>{if(f(e.id,`TimelineRow event id`),f(e.title,`TimelineRow event title`),f(e.detail,`TimelineRow event detail`),f(e.dateTime,`TimelineRow event dateTime`),f(e.time,`TimelineRow event time`),e.href!==void 0&&f(e.href,`TimelineRow event href`),!Object.hasOwn(et,e.actorKind))throw Error(`TimelineRow event actorKind must be human, agent, plugin, or system`);return e},nt=({className:e,continued:t,event:n,...r})=>{let i=tt(n),a=`rly-timeline-row-${(0,m.useId)()}`,o=(0,h.jsx)(`h2`,{className:X(`title`),id:a,children:i.title});return(0,h.jsxs)(`li`,{...r,className:d(X(`root`),e),"data-rly-timeline-actor":i.actorKind,"data-rly-timeline-event-id":i.id,children:[(0,h.jsx)(`time`,{className:X(`time`),dateTime:i.dateTime,children:i.time}),(0,h.jsxs)(`span`,{"aria-hidden":`true`,className:X(`marker`),children:[(0,h.jsx)(`span`,{className:X(`dot`)}),t?(0,h.jsx)(`span`,{className:X(`connector`),"data-rly-timeline-connector":``}):null]}),(0,h.jsxs)(`article`,{"aria-labelledby":a,className:X(`content`),children:[i.href===void 0?o:(0,h.jsx)(l,{className:X(`link`),href:i.href,children:o}),(0,h.jsx)(`p`,{className:X(`detail`),children:i.detail})]}),(0,h.jsxs)(`div`,{className:X(`meta`),children:[(0,h.jsx)(`span`,{className:X(`actorKind`),children:et[i.actorKind]}),i.service===void 0?null:(0,h.jsx)(I,{service:i.service,size:`compact`}),i.actor===void 0?null:(0,h.jsx)(`div`,{className:X(`actor`),children:i.actor})]})]})},rt={root:`rly_WorksetCard-module__root`,heading:`rly_WorksetCard-module__heading`,dimensions:`rly_WorksetCard-module__dimensions`,dimension:`rly_WorksetCard-module__dimension`,dimensionHeading:`rly_WorksetCard-module__dimensionHeading`,gaps:`rly_WorksetCard-module__gaps`,list:`rly_WorksetCard-module__list`,gapList:`rly_WorksetCard-module__gapList`,keyList:`rly_WorksetCard-module__keyList`,item:`rly_WorksetCard-module__item`,gap:`rly_WorksetCard-module__gap`,identity:`rly_WorksetCard-module__identity`,link:`rly_WorksetCard-module__link`,itemTitle:`rly_WorksetCard-module__itemTitle`,reference:`rly_WorksetCard-module__reference`,empty:`rly_WorksetCard-module__empty`,conceptLabel:`rly_WorksetCard-module__conceptLabel`,emptyLink:`rly_WorksetCard-module__emptyLink`,linkedWork:`rly_WorksetCard-module__linkedWork`},Z=e=>u(rt,e),Q=(e,t)=>{e!==void 0&&f(e,`${t} href`)},$=(e,t,n)=>{let r=f(e,`${n} id`);if(t.has(r))throw Error(`${n} ids must be unique: ${r}`);return t.add(r),r},it=e=>{let t=new Set;for(let n of e){let e=$(n.id,t,`WorksetCard Jira item`);f(n.key,`WorksetCard Jira key for ${e}`),f(n.title,`WorksetCard Jira title for ${e}`),f(n.state,`WorksetCard Jira state for ${e}`),Q(n.href,`WorksetCard Jira item ${e}`)}},at=e=>{let t=new Set;for(let n of e){let e=$(n.id,t,`WorksetCard pull request group`);f(n.title,`WorksetCard pull request title for ${e}`),f(n.reference,`WorksetCard pull request reference for ${e}`),f(n.state,`WorksetCard pull request state for ${e}`),Q(n.href,`WorksetCard pull request group ${e}`);for(let t of n.linkedJiraKeys)f(t,`WorksetCard linked Jira key for ${e}`)}},ot=e=>{let t=new Set;for(let n of e){let e=$(n.id,t,`WorksetCard gap`);if(f(n.label,`WorksetCard gap label for ${e}`),f(n.reason,`WorksetCard gap reason for ${e}`),!Object.hasOwn(F.service,n.service))throw Error(`WorksetCard gap service for ${e} must be supported`)}},st=e=>{let t=new Set;for(let n of e){let e=$(n.id,t,`WorksetCard pipeline`);f(n.title,`WorksetCard pipeline title for ${e}`),f(n.reference,`WorksetCard pipeline reference for ${e}`),f(n.state,`WorksetCard pipeline state for ${e}`),Q(n.href,`WorksetCard pipeline ${e}`)}},ct=({href:e,reference:t,title:n})=>{let r=(0,h.jsxs)(`span`,{className:Z(`identity`),children:[(0,h.jsx)(`span`,{className:Z(`itemTitle`),children:n}),(0,h.jsx)(`span`,{className:Z(`reference`),children:t})]});return e===void 0?r:(0,h.jsx)(l,{className:Z(`link`),href:e,children:r})},lt=({className:e,gapEmptyLabel:t=`No relationship gaps recorded.`,gaps:n,heading:r,jiraEmptyLabel:i=`No Jira work recorded.`,jiraItems:a,pipelineEmptyLabel:s=`No pipeline delivery recorded.`,pipelines:c,pullRequestEmptyLabel:l=`No pull request groups recorded.`,pullRequestGroups:u,...p})=>{let g=f(r,`WorksetCard heading`),_=f(i,`WorksetCard jiraEmptyLabel`),v=f(l,`WorksetCard pullRequestEmptyLabel`),y=f(t,`WorksetCard gapEmptyLabel`),b=f(s,`WorksetCard pipelineEmptyLabel`);it(a),at(u),ot(n),st(c);let x=`rly-workset-${(0,m.useId)()}`;return(0,h.jsxs)(`section`,{...p,"aria-labelledby":x,className:d(Z(`root`),e),children:[(0,h.jsx)(`h2`,{className:Z(`heading`),id:x,children:g}),(0,h.jsxs)(`div`,{className:Z(`dimensions`),children:[(0,h.jsxs)(`section`,{className:Z(`dimension`),"data-rly-workset-dimension":`jira`,children:[(0,h.jsxs)(`div`,{className:Z(`dimensionHeading`),children:[(0,h.jsx)(I,{service:`jira`,size:`compact`}),(0,h.jsx)(`h3`,{children:`Jira work`})]}),a.length===0?(0,h.jsx)(`p`,{className:Z(`empty`),children:_}):(0,h.jsx)(`ul`,{className:Z(`list`),children:a.map(e=>(0,h.jsxs)(`li`,{className:Z(`item`),"data-rly-workset-jira-id":e.id,children:[(0,h.jsx)(ct,{...e.href===void 0?{}:{href:e.href},reference:e.key,title:e.title}),(0,h.jsx)(o,{label:e.state,size:`compact`,tone:e.tone}),e.owner===void 0?null:(0,h.jsx)(k,{person:e.owner,size:`compact`})]},e.id))})]}),(0,h.jsxs)(`section`,{className:Z(`dimension`),"data-rly-workset-dimension":`pull-requests`,children:[(0,h.jsxs)(`div`,{className:Z(`dimensionHeading`),children:[(0,h.jsx)(I,{service:`codecommit`,size:`compact`}),(0,h.jsx)(`h3`,{children:`Pull request groups`})]}),u.length===0?(0,h.jsx)(`p`,{className:Z(`empty`),children:v}):(0,h.jsx)(`ul`,{className:Z(`list`),children:u.map(e=>(0,h.jsxs)(`li`,{className:Z(`item`),"data-rly-workset-pr-id":e.id,children:[(0,h.jsx)(ct,{...e.href===void 0?{}:{href:e.href},reference:e.reference,title:e.title}),(0,h.jsx)(o,{label:e.state,size:`compact`,tone:e.tone}),(0,h.jsxs)(`div`,{className:Z(`linkedWork`),children:[(0,h.jsx)(`span`,{className:Z(`conceptLabel`),children:`Linked Jira work`}),e.linkedJiraKeys.length===0?(0,h.jsx)(`span`,{className:Z(`emptyLink`),children:`No Jira links recorded.`}):(0,h.jsx)(`ul`,{className:Z(`keyList`),children:e.linkedJiraKeys.map((e,t)=>(0,h.jsx)(`li`,{"data-rly-linked-jira-key":e,children:e},`${e}-${t}`))})]}),e.author===void 0?null:(0,h.jsx)(k,{person:e.author,size:`compact`})]},e.id))}),(0,h.jsxs)(`div`,{className:Z(`gaps`),children:[(0,h.jsx)(`h4`,{children:`Relationship gaps`}),n.length===0?(0,h.jsx)(`p`,{className:Z(`empty`),children:y}):(0,h.jsx)(`ul`,{className:Z(`gapList`),children:n.map(e=>(0,h.jsxs)(`li`,{className:Z(`gap`),"data-rly-workset-gap-id":e.id,children:[(0,h.jsx)(I,{service:e.service,size:`compact`}),(0,h.jsx)(`strong`,{children:e.label}),(0,h.jsx)(`span`,{children:e.reason})]},e.id))})]})]}),(0,h.jsxs)(`section`,{className:Z(`dimension`),"data-rly-workset-dimension":`pipelines`,children:[(0,h.jsxs)(`div`,{className:Z(`dimensionHeading`),children:[(0,h.jsx)(I,{service:`codepipeline`,size:`compact`}),(0,h.jsx)(`h3`,{children:`Pipeline delivery`})]}),c.length===0?(0,h.jsx)(`p`,{className:Z(`empty`),children:b}):(0,h.jsx)(`ul`,{className:Z(`list`),children:c.map(e=>(0,h.jsxs)(`li`,{className:Z(`item`),"data-rly-workset-pipeline-id":e.id,children:[(0,h.jsx)(ct,{...e.href===void 0?{}:{href:e.href},reference:e.reference,title:e.title}),(0,h.jsx)(o,{label:e.state,size:`compact`,tone:e.tone}),e.operator===void 0?null:(0,h.jsx)(k,{person:e.operator,size:`compact`}),e.approver===void 0?null:(0,h.jsx)(k,{person:e.approver,size:`compact`}),(0,h.jsx)(Qe,{heading:`${e.reference} stages`,size:`compact`,stages:e.stages})]},e.id))})]})]})]})};export{y as _,nt as a,ue as c,R as d,we as f,se as g,E as h,N as i,Ke as l,Pe as m,Je as n,k as o,je as p,lt as r,Qe as s,K as t,Se as u,I as v};
2
+ //# sourceMappingURL=patterns-5N-j-AD2-DLfaGePK.js.map