@knpkv/rly 0.8.0 → 0.10.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 (91) hide show
  1. package/README.md +49 -3
  2. package/dist/{Dialog-_t9OodCK.js → Dialog-B9Ub_gMT.js} +79 -62
  3. package/dist/Dialog-B9Ub_gMT.js.map +1 -0
  4. package/dist/components.css +2 -2
  5. package/dist/diff/bounded/index.js +317 -303
  6. package/dist/diff/bounded/index.js.map +1 -1
  7. package/dist/diff/index.js +2436 -2433
  8. package/dist/diff/index.js.map +1 -1
  9. package/dist/diff/patch/index.js +188 -186
  10. package/dist/diff/patch/index.js.map +1 -1
  11. package/dist/diff/workbench/index.js +1 -1
  12. package/dist/dts/diff/DiffCodeView.d.ts.map +1 -1
  13. package/dist/dts/diff/DiffFileTree.d.ts.map +1 -1
  14. package/dist/dts/diff/DiffFinding.d.ts.map +1 -1
  15. package/dist/dts/diff/DiffHeader.d.ts.map +1 -1
  16. package/dist/dts/diff/bounded/BoundedDiffCodeView.d.ts.map +1 -1
  17. package/dist/dts/diff/patch/PatchDiffView.d.ts.map +1 -1
  18. package/dist/dts/internal/useNarrowerThan.d.ts +10 -0
  19. package/dist/dts/internal/useNarrowerThan.d.ts.map +1 -0
  20. package/dist/dts/patterns/AgentThread.d.ts.map +1 -1
  21. package/dist/dts/patterns/DecisionBar.d.ts +68 -0
  22. package/dist/dts/patterns/DecisionBar.d.ts.map +1 -0
  23. package/dist/dts/patterns/FreshnessStamp.d.ts.map +1 -1
  24. package/dist/dts/patterns/Hero.d.ts +69 -0
  25. package/dist/dts/patterns/Hero.d.ts.map +1 -0
  26. package/dist/dts/patterns/Region.d.ts +56 -0
  27. package/dist/dts/patterns/Region.d.ts.map +1 -0
  28. package/dist/dts/patterns/ReleaseRelay.d.ts.map +1 -1
  29. package/dist/dts/patterns/StageRail.d.ts +11 -1
  30. package/dist/dts/patterns/StageRail.d.ts.map +1 -1
  31. package/dist/dts/patterns/TimelineRow.d.ts +25 -0
  32. package/dist/dts/patterns/TimelineRow.d.ts.map +1 -1
  33. package/dist/dts/patterns/Verdict.d.ts +1 -1
  34. package/dist/dts/patterns/Verdict.d.ts.map +1 -1
  35. package/dist/dts/patterns/index.d.ts +8 -2
  36. package/dist/dts/patterns/index.d.ts.map +1 -1
  37. package/dist/dts/primitives/Button.d.ts +9 -4
  38. package/dist/dts/primitives/Button.d.ts.map +1 -1
  39. package/dist/dts/primitives/ChartLegend.d.ts +23 -0
  40. package/dist/dts/primitives/ChartLegend.d.ts.map +1 -0
  41. package/dist/dts/primitives/Field.d.ts +8 -3
  42. package/dist/dts/primitives/Field.d.ts.map +1 -1
  43. package/dist/dts/primitives/IconButton.d.ts +9 -4
  44. package/dist/dts/primitives/IconButton.d.ts.map +1 -1
  45. package/dist/dts/primitives/LimitTrack.d.ts +62 -0
  46. package/dist/dts/primitives/LimitTrack.d.ts.map +1 -0
  47. package/dist/dts/primitives/Notice.d.ts +5 -5
  48. package/dist/dts/primitives/Select.d.ts +8 -3
  49. package/dist/dts/primitives/Select.d.ts.map +1 -1
  50. package/dist/dts/primitives/StateLabel.d.ts +6 -6
  51. package/dist/dts/primitives/StateLabel.d.ts.map +1 -1
  52. package/dist/dts/primitives/StatePanel.d.ts +7 -6
  53. package/dist/dts/primitives/StatePanel.d.ts.map +1 -1
  54. package/dist/dts/primitives/ThemeSelect.d.ts +3 -2
  55. package/dist/dts/primitives/ThemeSelect.d.ts.map +1 -1
  56. package/dist/dts/primitives/ToggleGroup.d.ts +9 -4
  57. package/dist/dts/primitives/ToggleGroup.d.ts.map +1 -1
  58. package/dist/dts/primitives/TrackKey.d.ts +20 -0
  59. package/dist/dts/primitives/TrackKey.d.ts.map +1 -0
  60. package/dist/dts/primitives/index.d.ts +6 -0
  61. package/dist/dts/primitives/index.d.ts.map +1 -1
  62. package/dist/dts/tokens/control.d.ts +27 -0
  63. package/dist/dts/tokens/control.d.ts.map +1 -0
  64. package/dist/dts/tokens/index.d.ts +2 -2
  65. package/dist/dts/tokens/index.d.ts.map +1 -1
  66. package/dist/dts/tokens/semantic-tokens.d.ts +3 -1
  67. package/dist/dts/tokens/semantic-tokens.d.ts.map +1 -1
  68. package/dist/generated-tokens.css +55 -6
  69. package/dist/index.js +5 -5
  70. package/dist/patterns/index.js +2 -2
  71. package/dist/{patterns-LJ8Y44f2.js → patterns-DTsU3pFo.js} +1251 -954
  72. package/dist/patterns-DTsU3pFo.js.map +1 -0
  73. package/dist/primitives/index.js +3 -3
  74. package/dist/primitives-CgvvYKjR.js +589 -0
  75. package/dist/primitives-CgvvYKjR.js.map +1 -0
  76. package/dist/tokens/index.js +2 -2
  77. package/dist/{tokens-CjK9bxo7.js → tokens-B075JP3Z.js} +8 -3
  78. package/dist/tokens-B075JP3Z.js.map +1 -0
  79. package/dist/useNarrowerThan-B1PM32sm.js +21 -0
  80. package/dist/useNarrowerThan-B1PM32sm.js.map +1 -0
  81. package/dist/{workbench-4C25n_BY.js → workbench-CHCnYW3G.js} +107 -131
  82. package/dist/workbench-CHCnYW3G.js.map +1 -0
  83. package/package.json +5 -3
  84. package/registry/components.json +707 -25
  85. package/registry/search.json +172 -2
  86. package/dist/Dialog-_t9OodCK.js.map +0 -1
  87. package/dist/patterns-LJ8Y44f2.js.map +0 -1
  88. package/dist/primitives-CjQX0eVM.js +0 -453
  89. package/dist/primitives-CjQX0eVM.js.map +0 -1
  90. package/dist/tokens-CjK9bxo7.js.map +0 -1
  91. package/dist/workbench-4C25n_BY.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  import { i as e, r as t, t as n } from "./PortalProvider-CN_81Fy3.js";
2
2
  import { n as r } from "./LinkProvider-DMkhwZ3P.js";
3
3
  import { a as i, c as a, i as o, l as s, n as c, r as l, s as u, t as d } from "./component-DKy8kjZl.js";
4
- import { A as f, F as p, I as m, L as h, M as g, N as _, P as v, R as y, T as b, f as x, g as S, h as C, i as ee, j as te, l as ne, t as w, w as T, y as E, z as re } from "./Dialog-_t9OodCK.js";
5
- import { Portal as ie } from "radix-ui";
6
- import { useCallback as ae, useId as D, useLayoutEffect as oe, useRef as O, useState as se, useSyncExternalStore as ce } from "react";
7
- import { Fragment as le, jsx as k, jsxs as A } from "react/jsx-runtime";
8
- var ue = {
4
+ import { A as f, F as p, I as m, L as h, M as g, N as _, P as v, R as y, T as b, f as x, g as S, h as C, i as ee, j as te, l as ne, t as w, w as T, y as re, z as ie } from "./Dialog-B9Ub_gMT.js";
5
+ import { Portal as ae } from "radix-ui";
6
+ import { useCallback as oe, useId as E, useLayoutEffect as se, useRef as ce, useState as le, useSyncExternalStore as ue } from "react";
7
+ import { Fragment as de, jsx as D, jsxs as O } from "react/jsx-runtime";
8
+ var fe = {
9
9
  root: "rly_AgentContextButton-module__root",
10
10
  mark: "rly_AgentContextButton-module__mark",
11
11
  glyph: "rly_AgentContextButton-module__glyph",
@@ -17,62 +17,62 @@ var ue = {
17
17
  context: "rly_AgentContextButton-module__context",
18
18
  job: "rly_AgentContextButton-module__job",
19
19
  count: "rly_AgentContextButton-module__count"
20
- }, j = (e) => c(ue, e), de = () => /* @__PURE__ */ k("span", {
20
+ }, k = (e) => c(fe, e), pe = () => /* @__PURE__ */ D("span", {
21
21
  "aria-hidden": "true",
22
- className: j("mark"),
23
- children: /* @__PURE__ */ k("svg", {
24
- className: j("glyph"),
22
+ className: k("mark"),
23
+ children: /* @__PURE__ */ D("svg", {
24
+ className: k("glyph"),
25
25
  focusable: "false",
26
26
  viewBox: "0 0 24 24",
27
- children: /* @__PURE__ */ k("path", {
27
+ children: /* @__PURE__ */ D("path", {
28
28
  d: "M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z",
29
29
  fill: "currentColor"
30
30
  })
31
31
  })
32
- }), fe = ({ actionLabel: e = "Ask agent", agentName: t, className: n, context: r, contextLabel: i = "Context", job: a, type: s, ...c }) => {
32
+ }), me = ({ actionLabel: e = "Ask agent", agentName: t, className: n, context: r, contextLabel: i = "Context", job: a, type: s, ...c }) => {
33
33
  let l = o(e, "AgentContextButton actionLabel"), u = o(t, "AgentContextButton agentName"), f = o(r, "AgentContextButton context"), p = o(i, "AgentContextButton contextLabel"), m = a === void 0 ? void 0 : o(a.status, "AgentContextButton job status");
34
34
  if (a?.count !== void 0 && (!Number.isInteger(a.count) || a.count < 0)) throw Error("AgentContextButton job count must be a non-negative integer");
35
- return /* @__PURE__ */ A("button", {
35
+ return /* @__PURE__ */ O("button", {
36
36
  ...c,
37
- className: d(j("root"), n),
37
+ className: d(k("root"), n),
38
38
  "data-rly-agent-context-button": "",
39
39
  type: s ?? "button",
40
40
  children: [
41
- /* @__PURE__ */ k(de, {}),
42
- /* @__PURE__ */ A("span", {
43
- className: j("copy"),
41
+ /* @__PURE__ */ D(pe, {}),
42
+ /* @__PURE__ */ O("span", {
43
+ className: k("copy"),
44
44
  children: [
45
- /* @__PURE__ */ k("span", {
46
- className: j("action"),
45
+ /* @__PURE__ */ D("span", {
46
+ className: k("action"),
47
47
  children: l
48
48
  }),
49
- /* @__PURE__ */ k("span", {
50
- className: j("agent"),
49
+ /* @__PURE__ */ D("span", {
50
+ className: k("agent"),
51
51
  children: u
52
52
  }),
53
- /* @__PURE__ */ A("span", {
54
- className: j("contextRow"),
55
- children: [/* @__PURE__ */ k("span", {
56
- className: j("contextLabel"),
53
+ /* @__PURE__ */ O("span", {
54
+ className: k("contextRow"),
55
+ children: [/* @__PURE__ */ D("span", {
56
+ className: k("contextLabel"),
57
57
  children: p
58
- }), /* @__PURE__ */ k("span", {
59
- className: j("context"),
58
+ }), /* @__PURE__ */ D("span", {
59
+ className: k("context"),
60
60
  children: f
61
61
  })]
62
62
  })
63
63
  ]
64
64
  }),
65
- m === void 0 ? null : /* @__PURE__ */ A("span", {
66
- className: j("job"),
65
+ m === void 0 ? null : /* @__PURE__ */ O("span", {
66
+ className: k("job"),
67
67
  "data-rly-agent-job": "",
68
- children: [m, a?.count === void 0 ? null : /* @__PURE__ */ k("span", {
69
- className: j("count"),
68
+ children: [m, a?.count === void 0 ? null : /* @__PURE__ */ D("span", {
69
+ className: k("count"),
70
70
  children: a.count
71
71
  })]
72
72
  })
73
73
  ]
74
74
  });
75
- }, pe = {
75
+ }, he = {
76
76
  drawer: "rly_AgentDrawer-module__drawer",
77
77
  body: "rly_AgentDrawer-module__body",
78
78
  slot: "rly_AgentDrawer-module__slot",
@@ -85,88 +85,88 @@ var ue = {
85
85
  eyebrow: "rly_AgentDrawer-module__eyebrow",
86
86
  slotTitle: "rly_AgentDrawer-module__slotTitle",
87
87
  contextSummary: "rly_AgentDrawer-module__contextSummary"
88
- }, M = (e) => c(pe, e), me = () => /* @__PURE__ */ k("span", {
88
+ }, A = (e) => c(he, e), ge = () => /* @__PURE__ */ D("span", {
89
89
  "aria-hidden": "true",
90
- className: M("mark"),
91
- children: /* @__PURE__ */ k("svg", {
92
- className: M("glyph"),
90
+ className: A("mark"),
91
+ children: /* @__PURE__ */ D("svg", {
92
+ className: A("glyph"),
93
93
  focusable: "false",
94
94
  viewBox: "0 0 24 24",
95
- children: /* @__PURE__ */ k("path", {
95
+ children: /* @__PURE__ */ D("path", {
96
96
  d: "M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z",
97
97
  fill: "currentColor"
98
98
  })
99
99
  })
100
- }), he = ({ children: e, label: t, name: n }) => /* @__PURE__ */ A("section", {
101
- className: M("slot"),
100
+ }), _e = ({ children: e, label: t, name: n }) => /* @__PURE__ */ O("section", {
101
+ className: A("slot"),
102
102
  "data-rly-agent-drawer-slot": n,
103
- children: [/* @__PURE__ */ k("h2", {
104
- className: M("slotTitle"),
103
+ children: [/* @__PURE__ */ D("h2", {
104
+ className: A("slotTitle"),
105
105
  children: t
106
- }), /* @__PURE__ */ k("div", {
107
- className: M("slotContent"),
106
+ }), /* @__PURE__ */ D("div", {
107
+ className: A("slotContent"),
108
108
  children: e
109
109
  })]
110
- }), ge = ({ agentName: e, capabilities: t, className: n, composer: r, context: i, contextSummary: a, evidence: s, onOpenChange: c, open: l, thread: u, title: p, ...m }) => {
111
- let h = o(e, "AgentDrawer agentName"), g = o(a, "AgentDrawer contextSummary"), _ = o(p, "AgentDrawer title"), v = O(null);
112
- return /* @__PURE__ */ k(f.Root, {
110
+ }), ve = ({ agentName: e, capabilities: t, className: n, composer: r, context: i, contextSummary: a, evidence: s, onOpenChange: c, open: l, thread: u, title: p, ...m }) => {
111
+ let h = o(e, "AgentDrawer agentName"), g = o(a, "AgentDrawer contextSummary"), _ = o(p, "AgentDrawer title"), v = ce(null);
112
+ return /* @__PURE__ */ D(f.Root, {
113
113
  onOpenChange: c,
114
114
  open: l,
115
- children: /* @__PURE__ */ k(f.Content, {
116
- className: d(M("drawer"), n),
115
+ children: /* @__PURE__ */ D(f.Content, {
116
+ className: d(A("drawer"), n),
117
117
  description: `Context-aware session with ${h}`,
118
118
  initialFocusRef: v,
119
119
  title: _,
120
- children: /* @__PURE__ */ A(f.Body, {
120
+ children: /* @__PURE__ */ O(f.Body, {
121
121
  ...m,
122
- className: M("body"),
122
+ className: A("body"),
123
123
  children: [
124
- /* @__PURE__ */ A("section", {
125
- className: d(M("slot"), M("contextSlot")),
124
+ /* @__PURE__ */ O("section", {
125
+ className: d(A("slot"), A("contextSlot")),
126
126
  "data-rly-agent-drawer-slot": "context",
127
127
  ref: v,
128
128
  tabIndex: -1,
129
- children: [/* @__PURE__ */ A("div", {
130
- className: M("identity"),
131
- children: [/* @__PURE__ */ k(me, {}), /* @__PURE__ */ A("div", {
132
- className: M("identityCopy"),
133
- children: [/* @__PURE__ */ k("span", {
134
- className: M("eyebrow"),
129
+ children: [/* @__PURE__ */ O("div", {
130
+ className: A("identity"),
131
+ children: [/* @__PURE__ */ D(ge, {}), /* @__PURE__ */ O("div", {
132
+ className: A("identityCopy"),
133
+ children: [/* @__PURE__ */ D("span", {
134
+ className: A("eyebrow"),
135
135
  children: h
136
- }), /* @__PURE__ */ k("h2", {
137
- className: M("contextSummary"),
136
+ }), /* @__PURE__ */ D("h2", {
137
+ className: A("contextSummary"),
138
138
  children: g
139
139
  })]
140
140
  })]
141
- }), /* @__PURE__ */ k("div", {
142
- className: M("slotContent"),
141
+ }), /* @__PURE__ */ D("div", {
142
+ className: A("slotContent"),
143
143
  children: i
144
144
  })]
145
145
  }),
146
- /* @__PURE__ */ k(he, {
146
+ /* @__PURE__ */ D(_e, {
147
147
  label: "Evidence",
148
148
  name: "evidence",
149
149
  children: s
150
150
  }),
151
- /* @__PURE__ */ k(he, {
151
+ /* @__PURE__ */ D(_e, {
152
152
  label: "Capabilities",
153
153
  name: "capabilities",
154
154
  children: t
155
155
  }),
156
- /* @__PURE__ */ A("section", {
156
+ /* @__PURE__ */ O("section", {
157
157
  "aria-live": "polite",
158
158
  "aria-relevant": "additions text",
159
- className: M("slot"),
159
+ className: A("slot"),
160
160
  "data-rly-agent-drawer-slot": "thread",
161
- children: [/* @__PURE__ */ k("h2", {
162
- className: M("slotTitle"),
161
+ children: [/* @__PURE__ */ D("h2", {
162
+ className: A("slotTitle"),
163
163
  children: "Thread"
164
- }), /* @__PURE__ */ k("div", {
165
- className: M("slotContent"),
164
+ }), /* @__PURE__ */ D("div", {
165
+ className: A("slotContent"),
166
166
  children: u
167
167
  })]
168
168
  }),
169
- /* @__PURE__ */ k(he, {
169
+ /* @__PURE__ */ D(_e, {
170
170
  label: "Message",
171
171
  name: "composer",
172
172
  children: r
@@ -175,7 +175,7 @@ var ue = {
175
175
  })
176
176
  })
177
177
  });
178
- }, _e = {
178
+ }, ye = {
179
179
  root: "rly_AgentJob-module__root",
180
180
  header: "rly_AgentJob-module__header",
181
181
  agentGlyph: "rly_AgentJob-module__agentGlyph",
@@ -187,10 +187,10 @@ var ue = {
187
187
  slot: "rly_AgentJob-module__slot",
188
188
  footer: "rly_AgentJob-module__footer",
189
189
  outcome: "rly_AgentJob-module__outcome"
190
- }, N = (e) => c(_e, e), ve = (e, t) => {
190
+ }, j = (e) => c(ye, e), be = (e, t) => {
191
191
  if (e == null || i(e)) throw Error(`${t} must contain renderable content`);
192
192
  s(e) && o(e, t);
193
- }, ye = {
193
+ }, xe = {
194
194
  queued: {
195
195
  label: "Queued",
196
196
  tone: "neutral"
@@ -215,92 +215,91 @@ var ue = {
215
215
  label: "Cancelled",
216
216
  tone: "neutral"
217
217
  }
218
- }, be = (e) => {
218
+ }, Se = (e) => {
219
219
  if (e !== void 0 && (!Number.isFinite(e) || e < 0 || e > 100)) throw Error("AgentJob progress must be between 0 and 100");
220
- }, xe = ({ cancelLabel: e = "Request cancellation", capability: t, className: n, context: r, evidence: i, heading: a, onCancel: s, outcome: c, progress: l, provider: u, revision: f, sandbox: p, state: m, ...h }) => {
220
+ }, Ce = ({ cancelLabel: e = "Request cancellation", capability: t, className: n, context: r, evidence: i, heading: a, onCancel: s, outcome: c, progress: l, provider: u, revision: f, sandbox: p, state: m, ...h }) => {
221
221
  let g = o(a, "AgentJob heading"), _ = o(u, "AgentJob provider"), v = o(t, "AgentJob capability"), y = o(e, "AgentJob cancelLabel");
222
- ve(r, "AgentJob context"), ve(i, "AgentJob evidence"), (m === "succeeded" || m === "failed" || m === "cancelled") && ve(c, "AgentJob terminal outcome"), p !== void 0 && o(p, "AgentJob sandbox"), f !== void 0 && o(f, "AgentJob revision"), be(l);
223
- let x = ye[m], S = m === "queued" || m === "running", C = `rly-agent-job-progress-${D()}`;
224
- return /* @__PURE__ */ A("article", {
222
+ be(r, "AgentJob context"), be(i, "AgentJob evidence"), (m === "succeeded" || m === "failed" || m === "cancelled") && be(c, "AgentJob terminal outcome"), p !== void 0 && o(p, "AgentJob sandbox"), f !== void 0 && o(f, "AgentJob revision"), Se(l);
223
+ let x = xe[m], S = m === "queued" || m === "running", C = `rly-agent-job-progress-${E()}`;
224
+ return /* @__PURE__ */ O("article", {
225
225
  ...h,
226
226
  "aria-busy": m === "queued" || m === "running" || m === "cancel-requested",
227
- className: d(N("root"), n),
227
+ className: d(j("root"), n),
228
228
  "data-rly-agent-job-state": m,
229
229
  children: [
230
- /* @__PURE__ */ A("header", {
231
- className: N("header"),
230
+ /* @__PURE__ */ O("header", {
231
+ className: j("header"),
232
232
  children: [
233
- /* @__PURE__ */ k("span", {
233
+ /* @__PURE__ */ D("span", {
234
234
  "aria-hidden": "true",
235
- className: N("agentGlyph"),
235
+ className: j("agentGlyph"),
236
236
  children: "AI"
237
237
  }),
238
- /* @__PURE__ */ A("span", {
239
- className: N("titleBlock"),
240
- children: [/* @__PURE__ */ A("span", {
241
- className: N("eyebrow"),
238
+ /* @__PURE__ */ O("span", {
239
+ className: j("titleBlock"),
240
+ children: [/* @__PURE__ */ O("span", {
241
+ className: j("eyebrow"),
242
242
  children: [
243
243
  _,
244
- " · ",
244
+ ", ",
245
245
  v
246
246
  ]
247
- }), /* @__PURE__ */ k("h2", { children: g })]
247
+ }), /* @__PURE__ */ D("h2", { children: g })]
248
248
  }),
249
- /* @__PURE__ */ k(T, {
249
+ /* @__PURE__ */ D(T, {
250
250
  label: x.label,
251
251
  size: "compact",
252
252
  tone: x.tone
253
253
  })
254
254
  ]
255
255
  }),
256
- l === void 0 ? null : /* @__PURE__ */ A("div", {
257
- className: N("progressBlock"),
258
- children: [/* @__PURE__ */ A("span", {
259
- className: N("progressLabel"),
256
+ l === void 0 ? null : /* @__PURE__ */ O("div", {
257
+ className: j("progressBlock"),
258
+ children: [/* @__PURE__ */ O("span", {
259
+ className: j("progressLabel"),
260
260
  id: C,
261
- children: ["Progress ", /* @__PURE__ */ A("strong", { children: [Math.round(l), "%"] })]
262
- }), /* @__PURE__ */ k("progress", {
261
+ children: ["Progress ", /* @__PURE__ */ O("strong", { children: [Math.round(l), "%"] })]
262
+ }), /* @__PURE__ */ D("progress", {
263
263
  "aria-labelledby": C,
264
264
  max: 100,
265
265
  value: l
266
266
  })]
267
267
  }),
268
- /* @__PURE__ */ A("dl", {
269
- className: N("metadata"),
268
+ /* @__PURE__ */ O("dl", {
269
+ className: j("metadata"),
270
270
  children: [
271
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Provider" }), /* @__PURE__ */ k("dd", { children: _ })] }),
272
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Capability" }), /* @__PURE__ */ k("dd", { children: v })] }),
273
- p === void 0 ? null : /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Sandbox" }), /* @__PURE__ */ k("dd", { children: /* @__PURE__ */ k("code", { children: p }) })] }),
274
- f === void 0 ? null : /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Revision" }), /* @__PURE__ */ k("dd", { children: /* @__PURE__ */ k("code", { children: f }) })] })
271
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Provider" }), /* @__PURE__ */ D("dd", { children: _ })] }),
272
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Capability" }), /* @__PURE__ */ D("dd", { children: v })] }),
273
+ p === void 0 ? null : /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Sandbox" }), /* @__PURE__ */ D("dd", { children: /* @__PURE__ */ D("code", { children: p }) })] }),
274
+ f === void 0 ? null : /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Revision" }), /* @__PURE__ */ D("dd", { children: /* @__PURE__ */ D("code", { children: f }) })] })
275
275
  ]
276
276
  }),
277
- /* @__PURE__ */ A("section", {
278
- className: N("slot"),
277
+ /* @__PURE__ */ O("section", {
278
+ className: j("slot"),
279
279
  "data-rly-agent-job-context": "",
280
- children: [/* @__PURE__ */ k("h3", { children: "Exact context" }), r]
280
+ children: [/* @__PURE__ */ D("h3", { children: "Exact context" }), r]
281
281
  }),
282
- /* @__PURE__ */ A("section", {
283
- className: N("slot"),
282
+ /* @__PURE__ */ O("section", {
283
+ className: j("slot"),
284
284
  "data-rly-agent-job-evidence": "",
285
- children: [/* @__PURE__ */ k("h3", { children: "Evidence" }), i]
285
+ children: [/* @__PURE__ */ D("h3", { children: "Evidence" }), i]
286
286
  }),
287
- c === void 0 ? null : /* @__PURE__ */ A("section", {
288
- className: d(N("slot"), N("outcome")),
287
+ c === void 0 ? null : /* @__PURE__ */ O("section", {
288
+ className: d(j("slot"), j("outcome")),
289
289
  "data-rly-agent-job-outcome": m,
290
- children: [/* @__PURE__ */ k("h3", { children: "Terminal outcome" }), c]
290
+ children: [/* @__PURE__ */ D("h3", { children: "Terminal outcome" }), c]
291
291
  }),
292
- S && s !== void 0 ? /* @__PURE__ */ k("footer", {
293
- className: N("footer"),
294
- children: /* @__PURE__ */ k(b, {
292
+ S && s !== void 0 ? /* @__PURE__ */ D("footer", {
293
+ className: j("footer"),
294
+ children: /* @__PURE__ */ D(b, {
295
295
  onClick: s,
296
- size: "compact",
297
296
  variant: "quiet",
298
297
  children: y
299
298
  })
300
299
  }) : null
301
300
  ]
302
301
  });
303
- }, Se = {
302
+ }, we = {
304
303
  root: "rly_AgentProposal-module__root",
305
304
  header: "rly_AgentProposal-module__header",
306
305
  agentIdentity: "rly_AgentProposal-module__agentIdentity",
@@ -315,10 +314,10 @@ var ue = {
315
314
  outcome: "rly_AgentProposal-module__outcome",
316
315
  state: "rly_AgentProposal-module__state",
317
316
  facts: "rly_AgentProposal-module__facts"
318
- }, P = (e) => c(Se, e), Ce = (e) => {
317
+ }, M = (e) => c(we, e), Te = (e) => {
319
318
  o(e.id, "AgentProposal agent id"), o(e.name, "AgentProposal agent name"), o(e.role, "AgentProposal agent role"), o(e.avatarFallback, "AgentProposal agent avatarFallback"), e.avatarSrc !== void 0 && o(e.avatarSrc, "AgentProposal agent avatarSrc");
320
- }, we = (e) => {
321
- if (o(e.id, "AgentProposal id"), Ce(e.agent), o(e.capability, "AgentProposal capability"), o(e.context, "AgentProposal context"), o(e.expectedRevision, "AgentProposal expectedRevision"), o(e.impact, "AgentProposal impact"), o(e.target, "AgentProposal target"), e.evidence.length === 0) throw Error("AgentProposal evidence must contain at least one reference");
319
+ }, Ee = (e) => {
320
+ if (o(e.id, "AgentProposal id"), Te(e.agent), o(e.capability, "AgentProposal capability"), o(e.context, "AgentProposal context"), o(e.expectedRevision, "AgentProposal expectedRevision"), o(e.impact, "AgentProposal impact"), o(e.target, "AgentProposal target"), e.evidence.length === 0) throw Error("AgentProposal evidence must contain at least one reference");
322
321
  let t = /* @__PURE__ */ new Set();
323
322
  for (let n of e.evidence) {
324
323
  let e = o(n.id, "AgentProposal evidence id");
@@ -326,82 +325,82 @@ var ue = {
326
325
  t.add(e), o(n.label, `AgentProposal evidence label for ${e}`), o(n.reference, `AgentProposal evidence reference for ${e}`);
327
326
  }
328
327
  return e;
329
- }, Te = ({ className: e, outcome: t, proposal: n, state: r, ...i }) => {
330
- let a = we(n), o = `rly-agent-proposal-${D()}`, s = `rly-agent-proposal-reference-${D()}`;
331
- return /* @__PURE__ */ A("section", {
328
+ }, De = ({ className: e, outcome: t, proposal: n, state: r, ...i }) => {
329
+ let a = Ee(n), o = `rly-agent-proposal-${E()}`, s = `rly-agent-proposal-reference-${E()}`;
330
+ return /* @__PURE__ */ O("section", {
332
331
  ...i,
333
332
  "aria-labelledby": `${o} ${s}`,
334
- className: d(P("root"), e),
333
+ className: d(M("root"), e),
335
334
  "data-rly-agent-proposal-id": a.id,
336
335
  children: [
337
- /* @__PURE__ */ A("header", {
338
- className: P("header"),
339
- children: [/* @__PURE__ */ A("div", {
340
- className: P("agentIdentity"),
341
- children: [/* @__PURE__ */ k(E, {
336
+ /* @__PURE__ */ O("header", {
337
+ className: M("header"),
338
+ children: [/* @__PURE__ */ O("div", {
339
+ className: M("agentIdentity"),
340
+ children: [/* @__PURE__ */ D(re, {
342
341
  decorative: !0,
343
342
  fallback: a.agent.avatarFallback,
344
343
  form: "rounded-square",
345
344
  ...a.agent.avatarSrc === void 0 ? {} : { src: a.agent.avatarSrc }
346
- }), /* @__PURE__ */ A("div", {
347
- className: P("agentText"),
345
+ }), /* @__PURE__ */ O("div", {
346
+ className: M("agentText"),
348
347
  children: [
349
- /* @__PURE__ */ k("p", {
350
- className: P("eyebrow"),
348
+ /* @__PURE__ */ D("p", {
349
+ className: M("eyebrow"),
351
350
  children: "Agent proposal"
352
351
  }),
353
- /* @__PURE__ */ k("h2", {
354
- className: P("heading"),
352
+ /* @__PURE__ */ D("h2", {
353
+ className: M("heading"),
355
354
  id: o,
356
355
  children: a.agent.name
357
356
  }),
358
- /* @__PURE__ */ k("p", {
359
- className: P("agentRole"),
357
+ /* @__PURE__ */ D("p", {
358
+ className: M("agentRole"),
360
359
  children: a.agent.role
361
360
  }),
362
- /* @__PURE__ */ k("code", {
363
- className: P("proposalReference"),
361
+ /* @__PURE__ */ D("code", {
362
+ className: M("proposalReference"),
364
363
  id: s,
365
364
  children: a.id
366
365
  })
367
366
  ]
368
367
  })]
369
- }), /* @__PURE__ */ k("div", {
370
- className: P("state"),
368
+ }), /* @__PURE__ */ D("div", {
369
+ className: M("state"),
371
370
  "data-rly-agent-proposal-slot": "state",
372
371
  children: r
373
372
  })]
374
373
  }),
375
- /* @__PURE__ */ k("p", {
376
- className: P("boundary"),
374
+ /* @__PURE__ */ D("p", {
375
+ className: M("boundary"),
377
376
  children: "This is an agent proposal. It is not human authorization."
378
377
  }),
379
- /* @__PURE__ */ A("p", {
380
- className: P("context"),
381
- children: [/* @__PURE__ */ k("span", { children: "Context" }), a.context]
378
+ /* @__PURE__ */ O("p", {
379
+ className: M("context"),
380
+ children: [/* @__PURE__ */ D("span", { children: "Context" }), a.context]
382
381
  }),
383
- /* @__PURE__ */ A("dl", {
384
- className: P("facts"),
382
+ /* @__PURE__ */ O("dl", {
383
+ className: M("facts"),
385
384
  children: [
386
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Capability" }), /* @__PURE__ */ k("dd", { children: a.capability })] }),
387
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Target" }), /* @__PURE__ */ k("dd", { children: a.target })] }),
388
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Expected revision" }), /* @__PURE__ */ k("dd", { children: a.expectedRevision })] }),
389
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Impact" }), /* @__PURE__ */ k("dd", { children: a.impact })] })
385
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Capability" }), /* @__PURE__ */ D("dd", { children: a.capability })] }),
386
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Target" }), /* @__PURE__ */ D("dd", { children: a.target })] }),
387
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Expected revision" }), /* @__PURE__ */ D("dd", { children: a.expectedRevision })] }),
388
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Impact" }), /* @__PURE__ */ D("dd", { children: a.impact })] })
390
389
  ]
391
390
  }),
392
- /* @__PURE__ */ A("div", {
393
- className: P("evidence"),
391
+ /* @__PURE__ */ O("div", {
392
+ className: M("evidence"),
394
393
  "data-rly-agent-proposal-evidence": "",
395
- children: [/* @__PURE__ */ k("h3", { children: "Evidence" }), /* @__PURE__ */ k("ul", { children: a.evidence.map((e) => /* @__PURE__ */ A("li", { children: [/* @__PURE__ */ k("span", { children: e.label }), /* @__PURE__ */ k("code", { children: e.reference })] }, e.id)) })]
394
+ children: [/* @__PURE__ */ D("h3", { children: "Evidence" }), /* @__PURE__ */ D("ul", { children: a.evidence.map((e) => /* @__PURE__ */ O("li", { children: [/* @__PURE__ */ D("span", { children: e.label }), /* @__PURE__ */ D("code", { children: e.reference })] }, e.id)) })]
396
395
  }),
397
- /* @__PURE__ */ A("div", {
398
- className: P("outcome"),
396
+ /* @__PURE__ */ O("div", {
397
+ className: M("outcome"),
399
398
  "data-rly-agent-proposal-slot": "outcome",
400
- children: [/* @__PURE__ */ k("h3", { children: "Outcome" }), t]
399
+ children: [/* @__PURE__ */ D("h3", { children: "Outcome" }), t]
401
400
  })
402
401
  ]
403
402
  });
404
- }, Ee = {
403
+ }, Oe = {
405
404
  root: "rly_AgentThread-module__root",
406
405
  header: "rly_AgentThread-module__header",
407
406
  messageHead: "rly_AgentThread-module__messageHead",
@@ -422,128 +421,128 @@ var ue = {
422
421
  content: "rly_AgentThread-module__content",
423
422
  evidence: "rly_AgentThread-module__evidence",
424
423
  visuallyHidden: "rly_AgentThread-module__visuallyHidden"
425
- }, F = (e) => c(Ee, e), De = (e, t) => {
424
+ }, N = (e) => c(Oe, e), ke = (e, t) => {
426
425
  if (e == null || i(e)) throw Error(`${t} must contain renderable content`);
427
426
  s(e) && o(e, t);
428
- }, Oe = (e) => {
427
+ }, Ae = (e) => {
429
428
  let t = e.trim().split(/\s+/u), n = Array.from(t[0] ?? "")[0] ?? "", r = Array.from(t[t.length - 1] ?? "")[0] ?? "";
430
429
  return o(`${n}${t.length > 1 ? r : ""}`, "AgentThread actor fallback");
431
- }, ke = (e) => {
430
+ }, je = (e) => {
432
431
  if (e.kind === "human") {
433
432
  o(e.person.id, "AgentThread human id"), o(e.person.name, "AgentThread human name"), o(e.person.role, "AgentThread human role"), e.person.avatarFallback !== void 0 && o(e.person.avatarFallback, "AgentThread human avatarFallback"), e.person.avatarSrc !== void 0 && o(e.person.avatarSrc, "AgentThread human avatarSrc");
434
433
  return;
435
434
  }
436
435
  o(e.id, `AgentThread ${e.kind} id`), o(e.name, `AgentThread ${e.kind} name`), e.kind === "agent" && (o(e.role, "AgentThread agent role"), e.avatarFallback !== void 0 && o(e.avatarFallback, "AgentThread agent avatarFallback"));
437
- }, Ae = (e) => {
438
- 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 ?? Oe(t) : e.kind === "agent" ? e.avatarFallback ?? Oe(t) : "·", i = e.kind === "human" ? e.person.avatarSrc : void 0;
439
- return /* @__PURE__ */ A("div", {
440
- className: d(F("actor"), F(e.kind)),
436
+ }, Me = (e) => {
437
+ 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 ?? Ae(t) : e.kind === "agent" ? e.avatarFallback ?? Ae(t) : Ae(t), i = e.kind === "human" ? e.person.avatarSrc : void 0;
438
+ return /* @__PURE__ */ O("div", {
439
+ className: d(N("actor"), N(e.kind)),
441
440
  "data-rly-agent-thread-actor": e.kind,
442
- children: [/* @__PURE__ */ k(E, {
443
- className: F("avatar"),
441
+ children: [/* @__PURE__ */ D(re, {
442
+ className: N("avatar"),
444
443
  "data-rly-agent-thread-avatar-form": e.kind === "human" ? "circle" : "rounded-square",
445
444
  decorative: !0,
446
445
  fallback: r,
447
446
  form: e.kind === "human" ? "circle" : "rounded-square",
448
447
  size: "default",
449
448
  ...i === void 0 ? {} : { src: i }
450
- }), /* @__PURE__ */ A("span", {
451
- className: F("actorText"),
452
- children: [/* @__PURE__ */ k("strong", { children: t }), /* @__PURE__ */ k("span", { children: n })]
449
+ }), /* @__PURE__ */ O("span", {
450
+ className: N("actorText"),
451
+ children: [/* @__PURE__ */ D("strong", { children: t }), /* @__PURE__ */ D("span", { children: n })]
453
452
  })]
454
453
  });
455
- }, je = ({ announcement: e, className: t, composer: n, context: r, emptyLabel: i = "No messages yet.", heading: a, messages: s, ...c }) => {
454
+ }, Ne = ({ announcement: e, className: t, composer: n, context: r, emptyLabel: i = "No messages yet.", heading: a, messages: s, ...c }) => {
456
455
  let l = o(a, "AgentThread heading"), u = o(i, "AgentThread emptyLabel");
457
- De(r, "AgentThread context"), De(n, "AgentThread composer"), e !== void 0 && o(e, "AgentThread announcement");
456
+ ke(r, "AgentThread context"), ke(n, "AgentThread composer"), e !== void 0 && o(e, "AgentThread announcement");
458
457
  let f = /* @__PURE__ */ new Set();
459
458
  for (let e of s) {
460
459
  let t = o(e.id, "AgentThread message id");
461
460
  if (f.has(t)) throw Error(`AgentThread message ids must be unique: ${t}`);
462
- f.add(t), ke(e.actor), De(e.content, `AgentThread message content for ${t}`), o(e.dateTime, `AgentThread message dateTime for ${t}`), o(e.time, `AgentThread message time for ${t}`);
461
+ f.add(t), je(e.actor), ke(e.content, `AgentThread message content for ${t}`), o(e.dateTime, `AgentThread message dateTime for ${t}`), o(e.time, `AgentThread message time for ${t}`);
463
462
  }
464
- return /* @__PURE__ */ A("section", {
463
+ return /* @__PURE__ */ O("section", {
465
464
  ...c,
466
- className: d(F("root"), t),
465
+ className: d(N("root"), t),
467
466
  "data-rly-agent-thread": "",
468
467
  children: [
469
- /* @__PURE__ */ A("header", {
470
- className: F("header"),
471
- children: [/* @__PURE__ */ k("span", {
468
+ /* @__PURE__ */ O("header", {
469
+ className: N("header"),
470
+ children: [/* @__PURE__ */ D("span", {
472
471
  "aria-hidden": "true",
473
- className: F("agentGlyph"),
472
+ className: N("agentGlyph"),
474
473
  children: "AI"
475
- }), /* @__PURE__ */ k("h2", { children: l })]
474
+ }), /* @__PURE__ */ D("h2", { children: l })]
476
475
  }),
477
- /* @__PURE__ */ A("div", {
478
- className: F("context"),
476
+ /* @__PURE__ */ O("div", {
477
+ className: N("context"),
479
478
  "data-rly-agent-thread-context": "",
480
- children: [/* @__PURE__ */ k("span", {
481
- className: F("conceptLabel"),
479
+ children: [/* @__PURE__ */ D("span", {
480
+ className: N("conceptLabel"),
482
481
  children: "Exact context"
483
482
  }), r]
484
483
  }),
485
- s.length === 0 ? /* @__PURE__ */ k("p", {
486
- className: F("empty"),
484
+ s.length === 0 ? /* @__PURE__ */ D("p", {
485
+ className: N("empty"),
487
486
  children: u
488
- }) : /* @__PURE__ */ k("ol", {
487
+ }) : /* @__PURE__ */ D("ol", {
489
488
  "aria-label": `${l} messages`,
490
- className: F("messages"),
491
- children: s.map((e) => /* @__PURE__ */ A("li", {
492
- className: F("message"),
489
+ className: N("messages"),
490
+ children: s.map((e) => /* @__PURE__ */ O("li", {
491
+ className: N("message"),
493
492
  "data-rly-agent-thread-message": e.id,
494
493
  children: [
495
- /* @__PURE__ */ A("div", {
496
- className: F("messageHead"),
497
- children: [Ae(e.actor), /* @__PURE__ */ k("time", {
494
+ /* @__PURE__ */ O("div", {
495
+ className: N("messageHead"),
496
+ children: [Me(e.actor), /* @__PURE__ */ D("time", {
498
497
  dateTime: e.dateTime,
499
498
  children: e.time
500
499
  })]
501
500
  }),
502
- /* @__PURE__ */ k("div", {
503
- className: F("content"),
501
+ /* @__PURE__ */ D("div", {
502
+ className: N("content"),
504
503
  children: e.content
505
504
  }),
506
- e.evidence === void 0 ? null : /* @__PURE__ */ k("div", {
507
- className: F("evidence"),
505
+ e.evidence === void 0 ? null : /* @__PURE__ */ D("div", {
506
+ className: N("evidence"),
508
507
  "data-rly-agent-thread-evidence": "",
509
508
  children: e.evidence
510
509
  }),
511
- e.actions === void 0 ? null : /* @__PURE__ */ k("div", {
512
- className: F("actions"),
510
+ e.actions === void 0 ? null : /* @__PURE__ */ D("div", {
511
+ className: N("actions"),
513
512
  "data-rly-agent-thread-actions": "",
514
513
  children: e.actions
515
514
  })
516
515
  ]
517
516
  }, e.id))
518
517
  }),
519
- /* @__PURE__ */ k("p", {
518
+ /* @__PURE__ */ D("p", {
520
519
  "aria-atomic": "true",
521
520
  "aria-live": "polite",
522
- className: F("visuallyHidden"),
521
+ className: N("visuallyHidden"),
523
522
  children: e
524
523
  }),
525
- /* @__PURE__ */ k("div", {
526
- className: F("composer"),
524
+ /* @__PURE__ */ D("div", {
525
+ className: N("composer"),
527
526
  "data-rly-agent-thread-composer": "",
528
527
  children: n
529
528
  })
530
529
  ]
531
530
  });
532
- }, Me = {
531
+ }, Pe = {
533
532
  root: "rly_Person-module__root",
534
533
  compact: "rly_Person-module__compact",
535
534
  defaultSize: "rly_Person-module__defaultSize",
536
535
  identity: "rly_Person-module__identity",
537
536
  name: "rly_Person-module__name",
538
537
  role: "rly_Person-module__role"
539
- }, Ne = (e) => c(Me, e), Pe = l({ size: {
538
+ }, Fe = (e) => c(Pe, e), Ie = l({ size: {
540
539
  compact: {
541
- className: Ne("compact"),
540
+ className: Fe("compact"),
542
541
  purpose: "Dense identity row with complete attribution",
543
542
  tokens: ["space-24", "type-meta"]
544
543
  },
545
544
  default: {
546
- className: Ne("defaultSize"),
545
+ className: Fe("defaultSize"),
547
546
  purpose: "Standard identity row with complete attribution",
548
547
  tokens: [
549
548
  "space-32",
@@ -551,87 +550,87 @@ var ue = {
551
550
  "type-meta"
552
551
  ]
553
552
  }
554
- } }), Fe = l({ size: "default" }), Ie = (e) => {
553
+ } }), Le = l({ size: "default" }), Re = (e) => {
555
554
  let t = e.trim().split(/\s+/u), n = t[0] ?? "", r = t[t.length - 1] ?? n, i = Array.from(n), a = i[0] ?? "", s = t.length > 1 ? Array.from(r)[0] ?? "" : i[1] ?? "";
556
555
  return o(`${a}${s}`, "Person avatar fallback");
557
- }, Le = (e) => (o(e.id, "Person id"), o(e.name, "Person name"), o(e.role, "Person role"), e.avatarFallback !== void 0 && o(e.avatarFallback, "Person avatarFallback"), e.avatarSrc !== void 0 && o(e.avatarSrc, "Person avatarSrc"), e), I = ({ className: e, person: t, size: n = "default", ...r }) => {
558
- let i = Le(t), a = i.avatarFallback ?? Ie(i.name);
559
- return /* @__PURE__ */ A("div", {
556
+ }, ze = (e) => (o(e.id, "Person id"), o(e.name, "Person name"), o(e.role, "Person role"), e.avatarFallback !== void 0 && o(e.avatarFallback, "Person avatarFallback"), e.avatarSrc !== void 0 && o(e.avatarSrc, "Person avatarSrc"), e), P = ({ className: e, person: t, size: n = "default", ...r }) => {
557
+ let i = ze(t), a = i.avatarFallback ?? Re(i.name);
558
+ return /* @__PURE__ */ O("div", {
560
559
  ...r,
561
- className: d(Ne("root"), Pe.size[n].className, e),
560
+ className: d(Fe("root"), Ie.size[n].className, e),
562
561
  "data-rly-person-size": n,
563
- children: [/* @__PURE__ */ k(E, {
562
+ children: [/* @__PURE__ */ D(re, {
564
563
  decorative: !0,
565
564
  fallback: a,
566
565
  size: n === "compact" ? "small" : "default",
567
566
  ...i.avatarSrc === void 0 ? {} : { src: i.avatarSrc }
568
- }), /* @__PURE__ */ A("span", {
569
- className: Ne("identity"),
570
- children: [/* @__PURE__ */ k("span", {
571
- className: Ne("name"),
567
+ }), /* @__PURE__ */ O("span", {
568
+ className: Fe("identity"),
569
+ children: [/* @__PURE__ */ D("span", {
570
+ className: Fe("name"),
572
571
  children: i.name
573
- }), /* @__PURE__ */ k("span", {
574
- className: Ne("role"),
572
+ }), /* @__PURE__ */ D("span", {
573
+ className: Fe("role"),
575
574
  children: i.role
576
575
  })]
577
576
  })]
578
577
  });
579
- }, Re = {
578
+ }, Be = {
580
579
  root: "rly_PeopleStrip-module__root",
581
580
  compact: "rly_PeopleStrip-module__compact",
582
581
  defaultSize: "rly_PeopleStrip-module__defaultSize",
583
582
  personItem: "rly_PeopleStrip-module__personItem",
584
583
  controlItem: "rly_PeopleStrip-module__controlItem",
585
584
  overflow: "rly_PeopleStrip-module__overflow"
586
- }, ze = (e) => c(Re, e), Be = l({ size: {
585
+ }, Ve = (e) => c(Be, e), He = l({ size: {
587
586
  compact: {
588
- className: ze("compact"),
587
+ className: Ve("compact"),
589
588
  purpose: "Dense attributed people list for narrow surfaces",
590
589
  tokens: ["space-8", "space-40"]
591
590
  },
592
591
  default: {
593
- className: ze("defaultSize"),
592
+ className: Ve("defaultSize"),
594
593
  purpose: "Standard attributed people list",
595
594
  tokens: ["space-12", "space-40"]
596
595
  }
597
- } }), Ve = l({ size: "default" }), He = (e) => {
596
+ } }), Ue = l({ size: "default" }), We = (e) => {
598
597
  if (!Number.isInteger(e) || e < 1) throw Error("PeopleStrip limit must be a positive integer");
599
598
  return e;
600
- }, Ue = (e) => {
599
+ }, Ge = (e) => {
601
600
  let t = /* @__PURE__ */ new Set();
602
601
  for (let n of e) {
603
602
  let e = o(n.id, "PeopleStrip person id");
604
603
  if (o(n.name, `PeopleStrip name for ${e}`), o(n.role, `PeopleStrip role for ${e}`), t.has(e)) throw Error(`PeopleStrip person ids must be unique: ${e}`);
605
604
  t.add(e);
606
605
  }
607
- }, We = ({ "aria-label": e, className: t, expanded: n, limit: r = 3, onExpandedChange: i, people: a, size: s = "default", ...c }) => {
608
- let l = o(e, "PeopleStrip aria-label"), u = He(r);
609
- Ue(a);
606
+ }, Ke = ({ "aria-label": e, className: t, expanded: n, limit: r = 3, onExpandedChange: i, people: a, size: s = "default", ...c }) => {
607
+ let l = o(e, "PeopleStrip aria-label"), u = We(r);
608
+ Ge(a);
610
609
  let f = Math.max(a.length - u, 0), p = n ? a : a.slice(0, u);
611
- return /* @__PURE__ */ A("ul", {
610
+ return /* @__PURE__ */ O("ul", {
612
611
  ...c,
613
612
  "aria-label": l,
614
- className: d(ze("root"), Be.size[s].className, t),
613
+ className: d(Ve("root"), He.size[s].className, t),
615
614
  "data-rly-people-strip-size": s,
616
- children: [p.map((e) => /* @__PURE__ */ k("li", {
617
- className: ze("personItem"),
618
- children: /* @__PURE__ */ k(I, {
615
+ children: [p.map((e) => /* @__PURE__ */ D("li", {
616
+ className: Ve("personItem"),
617
+ children: /* @__PURE__ */ D(P, {
619
618
  person: e,
620
619
  size: s
621
620
  })
622
- }, e.id)), f === 0 ? null : /* @__PURE__ */ k("li", {
623
- className: ze("controlItem"),
624
- children: /* @__PURE__ */ k("button", {
621
+ }, e.id)), f === 0 ? null : /* @__PURE__ */ D("li", {
622
+ className: Ve("controlItem"),
623
+ children: /* @__PURE__ */ D("button", {
625
624
  "aria-expanded": n,
626
625
  "aria-label": n ? "Show fewer people" : `Show ${f} more people`,
627
- className: ze("overflow"),
626
+ className: Ve("overflow"),
628
627
  onClick: () => i(!n),
629
628
  type: "button",
630
629
  children: n ? "Show fewer" : `+${f} people`
631
630
  })
632
631
  })]
633
632
  });
634
- }, Ge = {
633
+ }, qe = {
635
634
  root: "rly_CollaboratorGroup-module__root",
636
635
  compact: "rly_CollaboratorGroup-module__compact",
637
636
  defaultSize: "rly_CollaboratorGroup-module__defaultSize",
@@ -640,19 +639,19 @@ var ue = {
640
639
  lane: "rly_CollaboratorGroup-module__lane",
641
640
  laneHeading: "rly_CollaboratorGroup-module__laneHeading",
642
641
  empty: "rly_CollaboratorGroup-module__empty"
643
- }, Ke = (e) => c(Ge, e), qe = l({ size: {
642
+ }, Je = (e) => c(qe, e), Ye = l({ size: {
644
643
  compact: {
645
- className: Ke("compact"),
644
+ className: Je("compact"),
646
645
  purpose: "Narrow entity attribution with explicit role lanes",
647
646
  tokens: ["space-12", "type-label"]
648
647
  },
649
648
  default: {
650
- className: Ke("defaultSize"),
649
+ className: Je("defaultSize"),
651
650
  purpose: "Standard entity attribution with explicit role lanes",
652
651
  tokens: ["space-20", "type-card-title"]
653
652
  }
654
- } }), Je = l({ size: "default" }), Ye = ({ approvers: e = [], authors: t = [], className: n, emptyLabel: r = "No collaborators assigned.", expandedCategories: i, heading: a, limit: s = 3, onCategoryExpandedChange: c, operators: l = [], owners: u = [], reviewers: f = [], size: p = "default", ...m }) => {
655
- let h = o(a, "CollaboratorGroup heading"), g = o(r, "CollaboratorGroup emptyLabel"), _ = `rly-collaborators-${D()}`, v = new Set(i), y = [
653
+ } }), Xe = l({ size: "default" }), Ze = ({ approvers: e = [], authors: t = [], className: n, emptyLabel: r = "No collaborators assigned.", expandedCategories: i, heading: a, limit: s = 3, onCategoryExpandedChange: c, operators: l = [], owners: u = [], reviewers: f = [], size: p = "default", ...m }) => {
654
+ let h = o(a, "CollaboratorGroup heading"), g = o(r, "CollaboratorGroup emptyLabel"), _ = `rly-collaborators-${E()}`, v = new Set(i), y = [
656
655
  {
657
656
  category: "authors",
658
657
  label: "Authors",
@@ -679,26 +678,26 @@ var ue = {
679
678
  people: e
680
679
  }
681
680
  ].filter((e) => e.people.length > 0);
682
- return /* @__PURE__ */ A("section", {
681
+ return /* @__PURE__ */ O("section", {
683
682
  ...m,
684
683
  "aria-labelledby": _,
685
- className: d(Ke("root"), qe.size[p].className, n),
684
+ className: d(Je("root"), Ye.size[p].className, n),
686
685
  "data-rly-collaborator-group-size": p,
687
- children: [/* @__PURE__ */ k("h2", {
688
- className: Ke("heading"),
686
+ children: [/* @__PURE__ */ D("h2", {
687
+ className: Je("heading"),
689
688
  id: _,
690
689
  children: h
691
- }), y.length === 0 ? /* @__PURE__ */ k("p", {
692
- className: Ke("empty"),
690
+ }), y.length === 0 ? /* @__PURE__ */ D("p", {
691
+ className: Je("empty"),
693
692
  children: g
694
- }) : /* @__PURE__ */ k("div", {
695
- className: Ke("lanes"),
696
- children: y.map((e) => /* @__PURE__ */ A("section", {
697
- className: Ke("lane"),
698
- children: [/* @__PURE__ */ k("h3", {
699
- className: Ke("laneHeading"),
693
+ }) : /* @__PURE__ */ D("div", {
694
+ className: Je("lanes"),
695
+ children: y.map((e) => /* @__PURE__ */ O("section", {
696
+ className: Je("lane"),
697
+ children: [/* @__PURE__ */ D("h3", {
698
+ className: Je("laneHeading"),
700
699
  children: e.label
701
- }), /* @__PURE__ */ k(We, {
700
+ }), /* @__PURE__ */ D(Ke, {
702
701
  "aria-label": `${h}: ${e.label}`,
703
702
  expanded: v.has(e.category),
704
703
  limit: s,
@@ -709,10 +708,83 @@ var ue = {
709
708
  }, e.category))
710
709
  })]
711
710
  });
712
- }, Xe = {
711
+ }, Qe = {
712
+ root: "rly_DecisionBar-module__root",
713
+ inline: "rly_DecisionBar-module__inline",
714
+ sticky: "rly_DecisionBar-module__sticky",
715
+ target: "rly_DecisionBar-module__target",
716
+ clock: "rly_DecisionBar-module__clock",
717
+ actions: "rly_DecisionBar-module__actions",
718
+ status: "rly_DecisionBar-module__status",
719
+ reason: "rly_DecisionBar-module__reason",
720
+ note: "rly_DecisionBar-module__note"
721
+ }, F = (e) => c(Qe, e), $e = l({ placement: {
722
+ inline: {
723
+ className: F("inline"),
724
+ purpose: "In the flow of the detail it decides",
725
+ tokens: ["color-text-1", "color-text-2"]
726
+ },
727
+ sticky: {
728
+ className: F("sticky"),
729
+ purpose: "Pinned to the bottom of a phone viewport while its target is open, at thumb reach",
730
+ tokens: ["color-canvas", "color-border-1"]
731
+ }
732
+ } }), et = l({ placement: "inline" }), tt = ({ approveLabel: e = "Approve", className: t, clock: n, note: r, onApprove: i, onReject: a, placement: s = et.placement, rejectLabel: c = "Reject", state: l, status: u, target: f, ...p }) => {
733
+ let m = o(f, "DecisionBar target"), h = E(), g = `rly-decision-bar-reason-${h}`, _ = `rly-decision-bar-status-${h}`, v = l._tag !== "ready", y = l._tag === "off" ? l.reason : void 0, x = l._tag === "sending" ? `${l.action === "approve" ? e : c} sent; waiting for the server's answer.` : u ?? "", S = y === void 0 ? l._tag === "sending" ? _ : void 0 : g, C = (e) => () => {
734
+ v || e();
735
+ };
736
+ return /* @__PURE__ */ O("div", {
737
+ ...p,
738
+ "aria-busy": l._tag === "sending" ? "true" : void 0,
739
+ className: d(F("root"), $e.placement[s].className, t),
740
+ "data-rly-decision-bar": "",
741
+ "data-state": l._tag,
742
+ children: [
743
+ /* @__PURE__ */ O("p", {
744
+ className: F("target"),
745
+ children: [m, n === void 0 ? null : /* @__PURE__ */ O(de, { children: [", ", /* @__PURE__ */ D("span", {
746
+ className: F("clock"),
747
+ children: n
748
+ })] })]
749
+ }),
750
+ /* @__PURE__ */ O("div", {
751
+ className: F("actions"),
752
+ children: [/* @__PURE__ */ D(b, {
753
+ "aria-describedby": S,
754
+ "aria-disabled": v ? !0 : void 0,
755
+ "aria-label": `${e}: ${m}`,
756
+ onClick: C(i),
757
+ variant: v ? "secondary" : "primary",
758
+ children: e
759
+ }), /* @__PURE__ */ D(b, {
760
+ "aria-describedby": S,
761
+ "aria-disabled": v ? !0 : void 0,
762
+ "aria-label": `${c}: ${m}`,
763
+ onClick: C(a),
764
+ variant: "secondary",
765
+ children: c
766
+ })]
767
+ }),
768
+ y === void 0 ? null : /* @__PURE__ */ D("p", {
769
+ className: F("reason"),
770
+ id: g,
771
+ children: y
772
+ }),
773
+ /* @__PURE__ */ D("p", {
774
+ className: F("status"),
775
+ id: _,
776
+ role: "status",
777
+ children: x
778
+ }),
779
+ r === void 0 ? null : /* @__PURE__ */ D("p", {
780
+ className: F("note"),
781
+ children: r
782
+ })
783
+ ]
784
+ });
785
+ }, nt = {
713
786
  root: "rly_FreshnessStamp-module__root",
714
787
  stateWord: "rly_FreshnessStamp-module__stateWord",
715
- separator: "rly_FreshnessStamp-module__separator",
716
788
  time: "rly_FreshnessStamp-module__time",
717
789
  compact: "rly_FreshnessStamp-module__compact",
718
790
  defaultSize: "rly_FreshnessStamp-module__defaultSize",
@@ -721,82 +793,78 @@ var ue = {
721
793
  missing: "rly_FreshnessStamp-module__missing",
722
794
  stale: "rly_FreshnessStamp-module__stale",
723
795
  unavailable: "rly_FreshnessStamp-module__unavailable"
724
- }, L = (e) => c(Xe, e), Ze = l({
796
+ }, I = (e) => c(nt, e), rt = l({
725
797
  state: {
726
798
  current: {
727
- className: L("current"),
799
+ className: I("current"),
728
800
  purpose: "Current source observation",
729
801
  tokens: ["color-success-ink", "color-success-tint"]
730
802
  },
731
803
  cached: {
732
- className: L("cached"),
804
+ className: I("cached"),
733
805
  purpose: "Valid cached source observation",
734
806
  tokens: ["color-text-2", "color-surface-2"]
735
807
  },
736
808
  stale: {
737
- className: L("stale"),
809
+ className: I("stale"),
738
810
  purpose: "Source observation beyond its supplied freshness threshold",
739
811
  tokens: ["color-held-ink", "color-held-tint"]
740
812
  },
741
813
  missing: {
742
- className: L("missing"),
814
+ className: I("missing"),
743
815
  purpose: "Provider authoritatively reported no object",
744
816
  tokens: ["color-text-2", "color-surface-2"]
745
817
  },
746
818
  unavailable: {
747
- className: L("unavailable"),
819
+ className: I("unavailable"),
748
820
  purpose: "No valid source observation is available",
749
821
  tokens: ["color-blocked-ink", "color-blocked-tint"]
750
822
  }
751
823
  },
752
824
  size: {
753
825
  compact: {
754
- className: L("compact"),
826
+ className: I("compact"),
755
827
  purpose: "Dense freshness metadata",
756
828
  tokens: ["type-meta"]
757
829
  },
758
830
  default: {
759
- className: L("defaultSize"),
831
+ className: I("defaultSize"),
760
832
  purpose: "Standard freshness metadata",
761
833
  tokens: ["type-label", "type-meta"]
762
834
  }
763
835
  }
764
- }), Qe = l({ size: "default" }), $e = {
836
+ }), it = l({ size: "default" }), at = {
765
837
  current: "Current",
766
838
  cached: "Cached",
767
839
  stale: "Stale",
768
840
  missing: "Missing",
769
841
  unavailable: "Unavailable"
770
- }, et = {
842
+ }, ot = {
771
843
  current: "check",
772
844
  cached: "clock",
773
845
  stale: "clock",
774
846
  missing: "minus",
775
847
  unavailable: "alert"
776
- }, R = ({ className: t, dateTime: n, size: r = "default", state: i, time: a, ...s }) => {
848
+ }, L = ({ className: t, dateTime: n, size: r = "default", state: i, time: a, ...s }) => {
777
849
  let c = a === void 0 ? void 0 : o(a, "FreshnessStamp time"), l = n === void 0 ? void 0 : o(n, "FreshnessStamp dateTime");
778
- return /* @__PURE__ */ A("span", {
850
+ return /* @__PURE__ */ O("span", {
779
851
  ...s,
780
- className: d(L("root"), Ze.state[i].className, Ze.size[r].className, t),
852
+ className: d(I("root"), rt.state[i].className, rt.size[r].className, t),
781
853
  "data-rly-freshness-state": i,
782
- children: [/* @__PURE__ */ A("span", {
783
- className: L("stateWord"),
784
- children: [/* @__PURE__ */ k(e, {
854
+ children: [/* @__PURE__ */ O("span", {
855
+ className: I("stateWord"),
856
+ children: [/* @__PURE__ */ D(e, {
785
857
  decorative: !0,
786
- name: et[i],
858
+ name: ot[i],
787
859
  size: "small"
788
- }), /* @__PURE__ */ k("span", { children: $e[i] })]
789
- }), c === void 0 || l === void 0 ? null : /* @__PURE__ */ A(le, { children: [/* @__PURE__ */ k("span", {
790
- "aria-hidden": "true",
791
- className: L("separator"),
792
- children: "·"
793
- }), /* @__PURE__ */ k("time", {
794
- className: L("time"),
860
+ }), /* @__PURE__ */ O("span", { children: [at[i], c === void 0 || l === void 0 ? null : ","] })]
861
+ }), c === void 0 || l === void 0 ? null : /* @__PURE__ */ D("time", {
862
+ className: I("time"),
795
863
  dateTime: l,
796
864
  children: c
797
- })] })]
865
+ })]
798
866
  });
799
- }, tt = {
867
+ }, st = {
800
868
  root: "rly_ServiceMark-module__root",
801
869
  rail: "rly_ServiceMark-module__rail",
802
870
  glyph: "rly_ServiceMark-module__glyph",
@@ -808,79 +876,79 @@ var ue = {
808
876
  jira: "rly_ServiceMark-module__jira",
809
877
  confluence: "rly_ServiceMark-module__confluence",
810
878
  clockify: "rly_ServiceMark-module__clockify"
811
- }, z = (e) => c(tt, e), nt = l({
879
+ }, R = (e) => c(st, e), ct = l({
812
880
  service: {
813
881
  codecommit: {
814
- className: z("codecommit"),
882
+ className: R("codecommit"),
815
883
  purpose: "CodeCommit provenance",
816
884
  tokens: ["color-service-codecommit"]
817
885
  },
818
886
  codepipeline: {
819
- className: z("codepipeline"),
887
+ className: R("codepipeline"),
820
888
  purpose: "CodePipeline provenance",
821
889
  tokens: ["color-service-codepipeline"]
822
890
  },
823
891
  jira: {
824
- className: z("jira"),
892
+ className: R("jira"),
825
893
  purpose: "Jira provenance",
826
894
  tokens: ["color-service-jira"]
827
895
  },
828
896
  confluence: {
829
- className: z("confluence"),
897
+ className: R("confluence"),
830
898
  purpose: "Confluence provenance",
831
899
  tokens: ["color-service-confluence"]
832
900
  },
833
901
  clockify: {
834
- className: z("clockify"),
902
+ className: R("clockify"),
835
903
  purpose: "Clockify provenance",
836
904
  tokens: ["color-service-clockify"]
837
905
  }
838
906
  },
839
907
  size: {
840
908
  compact: {
841
- className: z("compact"),
909
+ className: R("compact"),
842
910
  purpose: "Dense provenance metadata",
843
911
  tokens: ["space-24", "type-meta"]
844
912
  },
845
913
  default: {
846
- className: z("defaultSize"),
914
+ className: R("defaultSize"),
847
915
  purpose: "Standard provenance identity",
848
916
  tokens: ["space-32", "type-label"]
849
917
  }
850
918
  }
851
- }), rt = l({ size: "default" }), it = {
919
+ }), lt = l({ size: "default" }), ut = {
852
920
  codecommit: "CodeCommit",
853
921
  codepipeline: "CodePipeline",
854
922
  jira: "Jira",
855
923
  confluence: "Confluence",
856
924
  clockify: "Clockify"
857
- }, at = {
858
- codecommit: () => /* @__PURE__ */ A("svg", {
925
+ }, dt = {
926
+ codecommit: () => /* @__PURE__ */ O("svg", {
859
927
  "aria-hidden": "true",
860
- className: z("glyph"),
928
+ className: R("glyph"),
861
929
  focusable: "false",
862
930
  viewBox: "0 0 24 24",
863
931
  children: [
864
- /* @__PURE__ */ k("path", {
932
+ /* @__PURE__ */ D("path", {
865
933
  d: "M6 5.5h7.5a3 3 0 0 1 3 3v7",
866
934
  fill: "none",
867
935
  stroke: "currentColor",
868
936
  strokeLinecap: "round",
869
937
  strokeWidth: "1.8"
870
938
  }),
871
- /* @__PURE__ */ k("circle", {
939
+ /* @__PURE__ */ D("circle", {
872
940
  cx: "6",
873
941
  cy: "5.5",
874
942
  fill: "currentColor",
875
943
  r: "2"
876
944
  }),
877
- /* @__PURE__ */ k("circle", {
945
+ /* @__PURE__ */ D("circle", {
878
946
  cx: "16.5",
879
947
  cy: "17.5",
880
948
  fill: "currentColor",
881
949
  r: "2"
882
950
  }),
883
- /* @__PURE__ */ k("path", {
951
+ /* @__PURE__ */ D("path", {
884
952
  d: "m10 12 2-2 2 2-2 2Z",
885
953
  fill: "none",
886
954
  stroke: "currentColor",
@@ -889,13 +957,13 @@ var ue = {
889
957
  })
890
958
  ]
891
959
  }),
892
- codepipeline: () => /* @__PURE__ */ A("svg", {
960
+ codepipeline: () => /* @__PURE__ */ O("svg", {
893
961
  "aria-hidden": "true",
894
- className: z("glyph"),
962
+ className: R("glyph"),
895
963
  focusable: "false",
896
964
  viewBox: "0 0 24 24",
897
965
  children: [
898
- /* @__PURE__ */ k("rect", {
966
+ /* @__PURE__ */ D("rect", {
899
967
  fill: "none",
900
968
  height: "5",
901
969
  rx: "1",
@@ -905,7 +973,7 @@ var ue = {
905
973
  x: "2.5",
906
974
  y: "9.5"
907
975
  }),
908
- /* @__PURE__ */ k("rect", {
976
+ /* @__PURE__ */ D("rect", {
909
977
  fill: "none",
910
978
  height: "5",
911
979
  rx: "1",
@@ -915,7 +983,7 @@ var ue = {
915
983
  x: "16.5",
916
984
  y: "9.5"
917
985
  }),
918
- /* @__PURE__ */ k("path", {
986
+ /* @__PURE__ */ D("path", {
919
987
  d: "M8 12h7m-2.5-2.5L15 12l-2.5 2.5",
920
988
  fill: "none",
921
989
  stroke: "currentColor",
@@ -925,52 +993,52 @@ var ue = {
925
993
  })
926
994
  ]
927
995
  }),
928
- jira: () => /* @__PURE__ */ A("svg", {
996
+ jira: () => /* @__PURE__ */ O("svg", {
929
997
  "aria-hidden": "true",
930
- className: z("glyph"),
998
+ className: R("glyph"),
931
999
  focusable: "false",
932
1000
  viewBox: "0 0 24 24",
933
1001
  children: [
934
- /* @__PURE__ */ k("path", {
1002
+ /* @__PURE__ */ D("path", {
935
1003
  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",
936
1004
  fill: "currentColor"
937
1005
  }),
938
- /* @__PURE__ */ k("path", {
1006
+ /* @__PURE__ */ D("path", {
939
1007
  d: "m12 7.2 4.8 4.8-4.8 4.8L7.2 12Z",
940
1008
  fill: "var(--rly-color-surface-1)"
941
1009
  }),
942
- /* @__PURE__ */ k("path", {
1010
+ /* @__PURE__ */ D("path", {
943
1011
  d: "m12 9.8 2.2 2.2-2.2 2.2L9.8 12Z",
944
1012
  fill: "currentColor"
945
1013
  })
946
1014
  ]
947
1015
  }),
948
- confluence: () => /* @__PURE__ */ A("svg", {
1016
+ confluence: () => /* @__PURE__ */ O("svg", {
949
1017
  "aria-hidden": "true",
950
- className: z("glyph"),
1018
+ className: R("glyph"),
951
1019
  focusable: "false",
952
1020
  viewBox: "0 0 24 24",
953
- children: [/* @__PURE__ */ k("path", {
1021
+ children: [/* @__PURE__ */ D("path", {
954
1022
  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",
955
1023
  fill: "currentColor"
956
- }), /* @__PURE__ */ k("path", {
1024
+ }), /* @__PURE__ */ D("path", {
957
1025
  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",
958
1026
  fill: "currentColor"
959
1027
  })]
960
1028
  }),
961
- clockify: () => /* @__PURE__ */ A("svg", {
1029
+ clockify: () => /* @__PURE__ */ O("svg", {
962
1030
  "aria-hidden": "true",
963
- className: z("glyph"),
1031
+ className: R("glyph"),
964
1032
  focusable: "false",
965
1033
  viewBox: "0 0 24 24",
966
- children: [/* @__PURE__ */ k("circle", {
1034
+ children: [/* @__PURE__ */ D("circle", {
967
1035
  cx: "11",
968
1036
  cy: "13",
969
1037
  fill: "none",
970
1038
  r: "7",
971
1039
  stroke: "currentColor",
972
1040
  strokeWidth: "1.8"
973
- }), /* @__PURE__ */ k("path", {
1041
+ }), /* @__PURE__ */ D("path", {
974
1042
  d: "M11 9v4l3 2m1.5-10.7 1.8-1.8M18 7l2-2",
975
1043
  fill: "none",
976
1044
  stroke: "currentColor",
@@ -978,28 +1046,28 @@ var ue = {
978
1046
  strokeWidth: "1.8"
979
1047
  })]
980
1048
  })
981
- }, B = ({ className: e, service: t, size: n = "default", ...r }) => {
982
- let i = at[t], a = it[t];
983
- return /* @__PURE__ */ A("span", {
1049
+ }, z = ({ className: e, service: t, size: n = "default", ...r }) => {
1050
+ let i = dt[t], a = ut[t];
1051
+ return /* @__PURE__ */ O("span", {
984
1052
  ...r,
985
1053
  "aria-label": a,
986
- className: d(z("root"), nt.service[t].className, nt.size[n].className, e),
1054
+ className: d(R("root"), ct.service[t].className, ct.size[n].className, e),
987
1055
  "data-rly-service": t,
988
1056
  role: "img",
989
1057
  children: [
990
- /* @__PURE__ */ k("span", {
1058
+ /* @__PURE__ */ D("span", {
991
1059
  "aria-hidden": "true",
992
- className: z("rail")
1060
+ className: R("rail")
993
1061
  }),
994
- /* @__PURE__ */ k(i, {}),
995
- /* @__PURE__ */ k("span", {
1062
+ /* @__PURE__ */ D(i, {}),
1063
+ /* @__PURE__ */ D("span", {
996
1064
  "aria-hidden": "true",
997
- className: z("name"),
1065
+ className: R("name"),
998
1066
  children: a
999
1067
  })
1000
1068
  ]
1001
1069
  });
1002
- }, ot = {
1070
+ }, ft = {
1003
1071
  root: "rly_Verdict-module__root",
1004
1072
  verdict: "rly_Verdict-module__verdict",
1005
1073
  caution: "rly_Verdict-module__caution",
@@ -1010,64 +1078,64 @@ var ue = {
1010
1078
  reasonPanel: "rly_Verdict-module__reasonPanel",
1011
1079
  icon: "rly_Verdict-module__icon",
1012
1080
  reason: "rly_Verdict-module__reason"
1013
- }, V = (e) => c(ot, e), st = l({ tone: {
1081
+ }, B = (e) => c(ft, e), pt = l({ tone: {
1014
1082
  caution: {
1015
- className: V("caution"),
1083
+ className: B("caution"),
1016
1084
  purpose: "Intentional hold or caution requiring attention",
1017
1085
  tokens: ["color-held-ink", "color-held-tint"]
1018
1086
  },
1019
1087
  critical: {
1020
- className: V("critical"),
1088
+ className: B("critical"),
1021
1089
  purpose: "Explicit blocker or failed prerequisite",
1022
1090
  tokens: ["color-blocked-ink", "color-blocked-tint"]
1023
1091
  },
1024
1092
  neutral: {
1025
- className: V("neutral"),
1093
+ className: B("neutral"),
1026
1094
  purpose: "Neutral, missing, or unavailable outcome",
1027
1095
  tokens: ["color-text-2", "color-surface-2"]
1028
1096
  },
1029
1097
  positive: {
1030
- className: V("positive"),
1098
+ className: B("positive"),
1031
1099
  purpose: "Satisfied readiness or successful outcome",
1032
1100
  tokens: ["color-success-ink", "color-success-tint"]
1033
1101
  },
1034
1102
  progress: {
1035
- className: V("progress"),
1103
+ className: B("progress"),
1036
1104
  purpose: "Active work or delivery progress",
1037
1105
  tokens: ["color-deploying-ink", "color-deploying-tint"]
1038
1106
  }
1039
- } }), ct = {
1107
+ } }), mt = {
1040
1108
  caution: "clock",
1041
1109
  critical: "alert",
1042
1110
  neutral: "minus",
1043
1111
  positive: "check",
1044
1112
  progress: "loader"
1045
- }, lt = ({ className: t, reason: n, tone: r, verdict: i, ...a }) => {
1113
+ }, ht = ({ className: t, reason: n, tone: r, verdict: i, ...a }) => {
1046
1114
  let s = o(n, "Verdict reason"), c = o(i, "Verdict verdict");
1047
- return /* @__PURE__ */ A("section", {
1115
+ return /* @__PURE__ */ O("section", {
1048
1116
  ...a,
1049
- className: d(V("root"), st.tone[r].className, t),
1117
+ className: d(B("root"), pt.tone[r].className, t),
1050
1118
  "data-rly-verdict-tone": r,
1051
- children: [/* @__PURE__ */ k("h2", {
1052
- className: V("verdict"),
1119
+ children: [/* @__PURE__ */ D("h2", {
1120
+ className: B("verdict"),
1053
1121
  children: c
1054
- }), /* @__PURE__ */ A("div", {
1055
- className: V("reasonPanel"),
1056
- children: [/* @__PURE__ */ k("span", {
1122
+ }), /* @__PURE__ */ O("div", {
1123
+ className: B("reasonPanel"),
1124
+ children: [/* @__PURE__ */ D("span", {
1057
1125
  "aria-hidden": "true",
1058
- className: V("icon"),
1059
- children: /* @__PURE__ */ k(e, {
1126
+ className: B("icon"),
1127
+ children: /* @__PURE__ */ D(e, {
1060
1128
  decorative: !0,
1061
- name: ct[r],
1129
+ name: mt[r],
1062
1130
  size: "large"
1063
1131
  })
1064
- }), /* @__PURE__ */ k("p", {
1065
- className: V("reason"),
1132
+ }), /* @__PURE__ */ D("p", {
1133
+ className: B("reason"),
1066
1134
  children: s
1067
1135
  })]
1068
1136
  })]
1069
1137
  });
1070
- }, ut = {
1138
+ }, gt = {
1071
1139
  root: "rly_EntityShell-module__root",
1072
1140
  navigation: "rly_EntityShell-module__navigation",
1073
1141
  header: "rly_EntityShell-module__header",
@@ -1084,59 +1152,59 @@ var ue = {
1084
1152
  activity: "rly_EntityShell-module__activity",
1085
1153
  asideSlot: "rly_EntityShell-module__asideSlot",
1086
1154
  aside: "rly_EntityShell-module__aside"
1087
- }, H = (e) => c(ut, e), dt = ({ actions: e, activity: t, agentEntry: n, className: r, collaborators: i, content: a, evidence: s, facts: c, freshness: l, freshnessDateTime: u, freshnessTime: f, navigation: p, reason: m, relationships: h, service: g, title: _, tone: v, verdict: y, ...b }) => {
1155
+ }, V = (e) => c(gt, e), _t = ({ actions: e, activity: t, agentEntry: n, className: r, collaborators: i, content: a, evidence: s, facts: c, freshness: l, freshnessDateTime: u, freshnessTime: f, navigation: p, reason: m, relationships: h, service: g, title: _, tone: v, verdict: y, ...b }) => {
1088
1156
  let x = o(_, "EntityShell title");
1089
1157
  if (u === void 0 != (f === void 0)) throw Error("EntityShell freshnessDateTime and freshnessTime must be supplied together");
1090
- let S = `rly-entity-shell-${D()}`;
1091
- return /* @__PURE__ */ A("article", {
1158
+ let S = `rly-entity-shell-${E()}`;
1159
+ return /* @__PURE__ */ O("article", {
1092
1160
  ...b,
1093
1161
  "aria-labelledby": S,
1094
- className: d(H("root"), r),
1162
+ className: d(V("root"), r),
1095
1163
  "data-rly-entity-shell": "",
1096
1164
  children: [
1097
- p === void 0 ? null : /* @__PURE__ */ k("nav", {
1165
+ p === void 0 ? null : /* @__PURE__ */ D("nav", {
1098
1166
  "aria-label": `${x} navigation`,
1099
- className: H("navigation"),
1167
+ className: V("navigation"),
1100
1168
  "data-rly-entity-shell-slot": "navigation",
1101
1169
  children: p
1102
1170
  }),
1103
- /* @__PURE__ */ A("header", {
1104
- className: H("header"),
1105
- children: [/* @__PURE__ */ A("div", {
1106
- className: H("identity"),
1107
- children: [/* @__PURE__ */ k(B, { service: g }), /* @__PURE__ */ k("h1", {
1108
- className: H("title"),
1171
+ /* @__PURE__ */ O("header", {
1172
+ className: V("header"),
1173
+ children: [/* @__PURE__ */ O("div", {
1174
+ className: V("identity"),
1175
+ children: [/* @__PURE__ */ D(z, { service: g }), /* @__PURE__ */ D("h1", {
1176
+ className: V("title"),
1109
1177
  id: S,
1110
1178
  children: x
1111
1179
  })]
1112
- }), /* @__PURE__ */ A("div", {
1113
- className: H("hero"),
1114
- children: [/* @__PURE__ */ k(lt, {
1180
+ }), /* @__PURE__ */ O("div", {
1181
+ className: V("hero"),
1182
+ children: [/* @__PURE__ */ D(ht, {
1115
1183
  reason: m,
1116
1184
  tone: v,
1117
1185
  verdict: y
1118
- }), /* @__PURE__ */ A("div", {
1119
- className: H("headerAside"),
1186
+ }), /* @__PURE__ */ O("div", {
1187
+ className: V("headerAside"),
1120
1188
  children: [
1121
- /* @__PURE__ */ A("div", {
1122
- className: H("freshness"),
1189
+ /* @__PURE__ */ O("div", {
1190
+ className: V("freshness"),
1123
1191
  "data-rly-entity-shell-slot": "freshness",
1124
- children: [/* @__PURE__ */ k("span", {
1125
- className: H("slotLabel"),
1192
+ children: [/* @__PURE__ */ D("span", {
1193
+ className: V("slotLabel"),
1126
1194
  children: "Freshness"
1127
- }), u === void 0 || f === void 0 ? /* @__PURE__ */ k(R, { state: l }) : /* @__PURE__ */ k(R, {
1195
+ }), u === void 0 || f === void 0 ? /* @__PURE__ */ D(L, { state: l }) : /* @__PURE__ */ D(L, {
1128
1196
  dateTime: u,
1129
1197
  state: l,
1130
1198
  time: f
1131
1199
  })]
1132
1200
  }),
1133
- /* @__PURE__ */ k("div", {
1134
- className: H("headerSlot"),
1201
+ /* @__PURE__ */ D("div", {
1202
+ className: V("headerSlot"),
1135
1203
  "data-rly-entity-shell-slot": "actions",
1136
1204
  children: e
1137
1205
  }),
1138
- /* @__PURE__ */ k("div", {
1139
- className: H("headerSlot"),
1206
+ /* @__PURE__ */ D("div", {
1207
+ className: V("headerSlot"),
1140
1208
  "data-rly-entity-shell-slot": "agent-entry",
1141
1209
  children: n
1142
1210
  })
@@ -1144,46 +1212,46 @@ var ue = {
1144
1212
  })]
1145
1213
  })]
1146
1214
  }),
1147
- /* @__PURE__ */ A("div", {
1148
- className: H("body"),
1149
- children: [/* @__PURE__ */ k("section", {
1150
- className: H("content"),
1215
+ /* @__PURE__ */ O("div", {
1216
+ className: V("body"),
1217
+ children: [/* @__PURE__ */ D("section", {
1218
+ className: V("content"),
1151
1219
  "data-rly-entity-shell-slot": "content",
1152
1220
  children: a
1153
- }), /* @__PURE__ */ A("aside", {
1154
- className: H("aside"),
1221
+ }), /* @__PURE__ */ O("aside", {
1222
+ className: V("aside"),
1155
1223
  children: [
1156
- c === void 0 ? null : /* @__PURE__ */ k("section", {
1157
- className: H("asideSlot"),
1224
+ c === void 0 ? null : /* @__PURE__ */ D("section", {
1225
+ className: V("asideSlot"),
1158
1226
  "data-rly-entity-shell-slot": "facts",
1159
1227
  children: c
1160
1228
  }),
1161
- s === void 0 ? null : /* @__PURE__ */ k("section", {
1162
- className: H("asideSlot"),
1229
+ s === void 0 ? null : /* @__PURE__ */ D("section", {
1230
+ className: V("asideSlot"),
1163
1231
  "data-rly-entity-shell-slot": "evidence",
1164
1232
  children: s
1165
1233
  }),
1166
- /* @__PURE__ */ k("section", {
1167
- className: H("asideSlot"),
1234
+ /* @__PURE__ */ D("section", {
1235
+ className: V("asideSlot"),
1168
1236
  "data-rly-entity-shell-slot": "collaborators",
1169
1237
  children: i
1170
1238
  })
1171
1239
  ]
1172
1240
  })]
1173
1241
  }),
1174
- /* @__PURE__ */ k("section", {
1175
- className: H("relationships"),
1242
+ /* @__PURE__ */ D("section", {
1243
+ className: V("relationships"),
1176
1244
  "data-rly-entity-shell-slot": "relationships",
1177
1245
  children: h
1178
1246
  }),
1179
- t === void 0 ? null : /* @__PURE__ */ k("section", {
1180
- className: H("activity"),
1247
+ t === void 0 ? null : /* @__PURE__ */ D("section", {
1248
+ className: V("activity"),
1181
1249
  "data-rly-entity-shell-slot": "activity",
1182
1250
  children: t
1183
1251
  })
1184
1252
  ]
1185
1253
  });
1186
- }, ft = {
1254
+ }, vt = {
1187
1255
  root: "rly_EntityTable-module__root",
1188
1256
  defaultDensity: "rly_EntityTable-module__defaultDensity",
1189
1257
  compact: "rly_EntityTable-module__compact",
@@ -1203,35 +1271,35 @@ var ue = {
1203
1271
  cell: "rly_EntityTable-module__cell",
1204
1272
  row: "rly_EntityTable-module__row",
1205
1273
  body: "rly_EntityTable-module__body"
1206
- }, U = (e) => c(ft, e), pt = l({
1274
+ }, H = (e) => c(vt, e), yt = l({
1207
1275
  density: {
1208
1276
  default: {
1209
- className: U("defaultDensity"),
1277
+ className: H("defaultDensity"),
1210
1278
  purpose: "One labelled line per field when the table narrows to cards",
1211
1279
  tokens: ["space-12"]
1212
1280
  },
1213
1281
  compact: {
1214
- className: U("compact"),
1282
+ className: H("compact"),
1215
1283
  purpose: "Narrow cards led by the first column, the rest as a two-column label and value grid",
1216
1284
  tokens: ["space-8", "space-2"]
1217
1285
  }
1218
1286
  },
1219
1287
  headingSize: {
1220
1288
  section: {
1221
- className: U("sectionHeading"),
1289
+ className: H("sectionHeading"),
1222
1290
  purpose: "The table is a page section of its own",
1223
1291
  tokens: ["type-section-title"]
1224
1292
  },
1225
1293
  card: {
1226
- className: U("cardHeading"),
1294
+ className: H("cardHeading"),
1227
1295
  purpose: "The table sits in a panel beside other card-titled panels",
1228
1296
  tokens: ["type-card-title"]
1229
1297
  }
1230
1298
  }
1231
- }), mt = l({
1299
+ }), bt = l({
1232
1300
  density: "default",
1233
1301
  headingSize: "section"
1234
- }), ht = (e) => {
1302
+ }), xt = (e) => {
1235
1303
  let t = /* @__PURE__ */ new Set();
1236
1304
  for (let n of e) {
1237
1305
  let e = o(n.id, "EntityTable column id");
@@ -1239,7 +1307,7 @@ var ue = {
1239
1307
  t.add(e), o(n.label, `EntityTable column label for ${e}`);
1240
1308
  }
1241
1309
  return t;
1242
- }, gt = (e, t) => {
1310
+ }, St = (e, t) => {
1243
1311
  let n = /* @__PURE__ */ new Set();
1244
1312
  for (let r of e) {
1245
1313
  let e = o(r.id, "EntityTable row id");
@@ -1254,54 +1322,54 @@ var ue = {
1254
1322
  }
1255
1323
  for (let n of t) if (!i.has(n)) throw Error(`EntityTable row ${e} is missing column: ${n}`);
1256
1324
  }
1257
- }, _t = (e) => e.state === "ready" || e.state === "stale" || e.state === "partial" || e.state === "error" || e.state === "unavailable" ? e.rows : [], vt = ({ direction: t }) => t === "none" ? null : /* @__PURE__ */ k(e, {
1325
+ }, Ct = (e) => e.state === "ready" || e.state === "stale" || e.state === "partial" || e.state === "error" || e.state === "unavailable" ? e.rows : [], wt = ({ direction: t }) => t === "none" ? null : /* @__PURE__ */ D(e, {
1258
1326
  decorative: !0,
1259
1327
  name: t === "ascending" ? "arrow-up" : "arrow-down",
1260
1328
  size: "small"
1261
- }), yt = ({ className: e, columns: t, data: n, density: r = "default", heading: i, headingSize: a = "section", onSortChange: s, ...c }) => {
1262
- let l = o(i, "EntityTable heading"), u = ht(t), f = _t(n);
1263
- if (gt(f, u), n.state === "ready" && f.length === 0) throw Error("EntityTable ready state must contain at least one row; use the empty state instead");
1329
+ }), Tt = ({ className: e, columns: t, data: n, density: r = "default", heading: i, headingSize: a = "section", onSortChange: s, ...c }) => {
1330
+ let l = o(i, "EntityTable heading"), u = xt(t), f = Ct(n);
1331
+ if (St(f, u), n.state === "ready" && f.length === 0) throw Error("EntityTable ready state must contain at least one row; use the empty state instead");
1264
1332
  if (n.state === "loading") {
1265
1333
  o(n.label, "EntityTable loading label");
1266
1334
  let e = n.skeletonRows ?? 3;
1267
1335
  if (!Number.isInteger(e) || e < 1 || e > 20) throw Error("EntityTable skeletonRows must be an integer from 1 to 20");
1268
1336
  }
1269
1337
  if ((n.state === "empty" || n.state === "not-found") && (o(n.title, "EntityTable state title"), n.description !== void 0 && o(n.description, "EntityTable state description")), (n.state === "stale" || n.state === "partial" || n.state === "error" || n.state === "unavailable") && (o(n.title, "EntityTable cached state title"), o(n.description, "EntityTable cached state description"), f.length === 0)) throw Error(`EntityTable ${n.state} state must retain at least one cached row`);
1270
- let p = `rly-entity-table-${D()}`, m = t.filter((e) => e.sortable === !0), h = m.find((e) => e.sortDirection !== "none"), g = new Map(t.map((e) => [e.id, e])), _ = n.state === "stale" || n.state === "partial" || n.state === "error" || n.state === "unavailable" ? /* @__PURE__ */ k(ne, {
1338
+ let p = `rly-entity-table-${E()}`, m = t.filter((e) => e.sortable === !0), h = m.find((e) => e.sortDirection !== "none"), g = new Map(t.map((e) => [e.id, e])), _ = n.state === "stale" || n.state === "partial" || n.state === "error" || n.state === "unavailable" ? /* @__PURE__ */ D(ne, {
1271
1339
  description: n.description,
1272
1340
  title: n.title,
1273
1341
  tone: n.tone
1274
1342
  }) : null;
1275
- return /* @__PURE__ */ A("section", {
1343
+ return /* @__PURE__ */ O("section", {
1276
1344
  ...c,
1277
1345
  "aria-busy": n.state === "loading" ? "true" : void 0,
1278
1346
  "aria-labelledby": p,
1279
- className: d(U("root"), pt.density[r].className, pt.headingSize[a].className, e),
1347
+ className: d(H("root"), yt.density[r].className, yt.headingSize[a].className, e),
1280
1348
  "data-rly-entity-table-density": r,
1281
1349
  "data-rly-entity-table-state": n.state,
1282
- children: [/* @__PURE__ */ k("h2", {
1283
- className: U("heading"),
1350
+ children: [/* @__PURE__ */ D("h2", {
1351
+ className: H("heading"),
1284
1352
  id: p,
1285
1353
  children: l
1286
- }), n.state === "loading" ? /* @__PURE__ */ A("div", {
1354
+ }), n.state === "loading" ? /* @__PURE__ */ O("div", {
1287
1355
  "aria-label": n.label,
1288
- className: U("loading"),
1356
+ className: H("loading"),
1289
1357
  role: "status",
1290
- children: [/* @__PURE__ */ k("span", {
1291
- className: U("stateLabel"),
1358
+ children: [/* @__PURE__ */ D("span", {
1359
+ className: H("stateLabel"),
1292
1360
  children: n.label
1293
- }), Array.from({ length: n.skeletonRows ?? 3 }, (e, t) => /* @__PURE__ */ k(x, {
1361
+ }), Array.from({ length: n.skeletonRows ?? 3 }, (e, t) => /* @__PURE__ */ D(x, {
1294
1362
  height: "48px",
1295
1363
  variant: "block"
1296
1364
  }, t))]
1297
- }) : n.state === "empty" || n.state === "not-found" ? /* @__PURE__ */ k(ne, {
1365
+ }) : n.state === "empty" || n.state === "not-found" ? /* @__PURE__ */ D(ne, {
1298
1366
  description: n.description,
1299
1367
  title: n.title
1300
- }) : /* @__PURE__ */ A(le, { children: [
1368
+ }) : /* @__PURE__ */ O(de, { children: [
1301
1369
  _,
1302
- r === "compact" ? m.length === 0 ? null : /* @__PURE__ */ A("div", {
1303
- className: U("sortSelect"),
1304
- children: [/* @__PURE__ */ k(C, {
1370
+ r === "compact" ? m.length === 0 ? null : /* @__PURE__ */ O("div", {
1371
+ className: H("sortSelect"),
1372
+ children: [/* @__PURE__ */ D(C, {
1305
1373
  "aria-label": "Sort by",
1306
1374
  onValueChange: (e) => {
1307
1375
  e !== h?.id && s(e);
@@ -1312,56 +1380,56 @@ var ue = {
1312
1380
  })),
1313
1381
  placeholder: "Sort by",
1314
1382
  value: h?.id
1315
- }), h === void 0 ? null : /* @__PURE__ */ k(S, {
1383
+ }), h === void 0 ? null : /* @__PURE__ */ D(S, {
1316
1384
  icon: h.sortDirection === "ascending" ? "arrow-up" : "arrow-down",
1317
1385
  label: `Reverse order, currently ${h.sortDirection}`,
1318
1386
  onClick: () => s(h.id),
1319
1387
  variant: "secondary"
1320
1388
  })]
1321
- }) : /* @__PURE__ */ A("div", {
1389
+ }) : /* @__PURE__ */ O("div", {
1322
1390
  "aria-label": `${l} sorting`,
1323
- className: U("sortControls"),
1391
+ className: H("sortControls"),
1324
1392
  role: "group",
1325
- children: [/* @__PURE__ */ k("span", {
1326
- className: U("sortLabel"),
1393
+ children: [/* @__PURE__ */ D("span", {
1394
+ className: H("sortLabel"),
1327
1395
  children: "Sort"
1328
- }), m.map((e) => /* @__PURE__ */ A("button", {
1396
+ }), m.map((e) => /* @__PURE__ */ O("button", {
1329
1397
  "aria-label": `Sort by ${e.label}, currently ${e.sortDirection}`,
1330
- className: U("sortButton"),
1398
+ className: H("sortButton"),
1331
1399
  onClick: () => s(e.id),
1332
1400
  type: "button",
1333
- children: [/* @__PURE__ */ k("span", { children: e.label }), /* @__PURE__ */ k(vt, { direction: e.sortDirection })]
1401
+ children: [/* @__PURE__ */ D("span", { children: e.label }), /* @__PURE__ */ D(wt, { direction: e.sortDirection })]
1334
1402
  }, e.id))]
1335
1403
  }),
1336
- /* @__PURE__ */ A("table", {
1404
+ /* @__PURE__ */ O("table", {
1337
1405
  "aria-labelledby": p,
1338
- className: U("table"),
1339
- children: [/* @__PURE__ */ k("thead", {
1340
- className: U("head"),
1341
- children: /* @__PURE__ */ k("tr", { children: t.map((e) => /* @__PURE__ */ k("th", {
1406
+ className: H("table"),
1407
+ children: [/* @__PURE__ */ D("thead", {
1408
+ className: H("head"),
1409
+ children: /* @__PURE__ */ D("tr", { children: t.map((e) => /* @__PURE__ */ D("th", {
1342
1410
  "aria-label": e.label,
1343
1411
  "aria-sort": e.sortable === !0 ? e.sortDirection : void 0,
1344
1412
  scope: "col",
1345
- children: e.sortable === !0 ? /* @__PURE__ */ A(le, { children: [/* @__PURE__ */ k("span", {
1346
- className: U("headerLabel"),
1413
+ children: e.sortable === !0 ? /* @__PURE__ */ O(de, { children: [/* @__PURE__ */ D("span", {
1414
+ className: H("headerLabel"),
1347
1415
  children: e.label
1348
- }), /* @__PURE__ */ A("button", {
1416
+ }), /* @__PURE__ */ O("button", {
1349
1417
  "aria-label": `Sort by ${e.label}, currently ${e.sortDirection}`,
1350
- className: U("headerSort"),
1418
+ className: H("headerSort"),
1351
1419
  onClick: () => s(e.id),
1352
1420
  type: "button",
1353
- children: [/* @__PURE__ */ k("span", { children: e.label }), /* @__PURE__ */ k(vt, { direction: e.sortDirection })]
1421
+ children: [/* @__PURE__ */ D("span", { children: e.label }), /* @__PURE__ */ D(wt, { direction: e.sortDirection })]
1354
1422
  })] }) : e.label
1355
1423
  }, e.id)) })
1356
- }), /* @__PURE__ */ k("tbody", {
1357
- className: U("body"),
1424
+ }), /* @__PURE__ */ D("tbody", {
1425
+ className: H("body"),
1358
1426
  children: f.map((e) => {
1359
1427
  let n = new Map(e.cells.map((e) => [e.columnId, e.content]));
1360
- return /* @__PURE__ */ k("tr", {
1361
- className: U("row"),
1428
+ return /* @__PURE__ */ D("tr", {
1429
+ className: H("row"),
1362
1430
  "data-rly-entity-row-id": e.id,
1363
- children: t.map((e) => /* @__PURE__ */ k("td", {
1364
- className: U("cell"),
1431
+ children: t.map((e) => /* @__PURE__ */ D("td", {
1432
+ className: H("cell"),
1365
1433
  "data-label": g.get(e.id)?.label,
1366
1434
  children: n.get(e.id)
1367
1435
  }, e.id))
@@ -1371,53 +1439,53 @@ var ue = {
1371
1439
  })
1372
1440
  ] })]
1373
1441
  });
1374
- }, bt = {
1442
+ }, Et = {
1375
1443
  root: "rly_EvidenceStamp-module__root",
1376
1444
  source: "rly_EvidenceStamp-module__source",
1377
1445
  freshness: "rly_EvidenceStamp-module__freshness",
1378
1446
  conceptLabel: "rly_EvidenceStamp-module__conceptLabel",
1379
1447
  sourceDetail: "rly_EvidenceStamp-module__sourceDetail",
1380
1448
  reference: "rly_EvidenceStamp-module__reference"
1381
- }, xt = (e) => c(bt, e), St = ({ className: e, freshness: t, freshnessDateTime: n, freshnessTime: r, reference: i, service: a, ...s }) => {
1382
- let c = o(i, "EvidenceStamp reference"), l = n === void 0 || r === void 0 ? /* @__PURE__ */ k(R, {
1449
+ }, Dt = (e) => c(Et, e), Ot = ({ className: e, freshness: t, freshnessDateTime: n, freshnessTime: r, reference: i, service: a, ...s }) => {
1450
+ let c = o(i, "EvidenceStamp reference"), l = n === void 0 || r === void 0 ? /* @__PURE__ */ D(L, {
1383
1451
  size: "compact",
1384
1452
  state: t
1385
- }) : /* @__PURE__ */ k(R, {
1453
+ }) : /* @__PURE__ */ D(L, {
1386
1454
  dateTime: n,
1387
1455
  size: "compact",
1388
1456
  state: t,
1389
1457
  time: r
1390
1458
  });
1391
- return /* @__PURE__ */ A("div", {
1459
+ return /* @__PURE__ */ O("div", {
1392
1460
  ...s,
1393
- className: d(xt("root"), e),
1461
+ className: d(Dt("root"), e),
1394
1462
  "data-rly-evidence-stamp": "",
1395
- children: [/* @__PURE__ */ A("div", {
1396
- className: xt("source"),
1463
+ children: [/* @__PURE__ */ O("div", {
1464
+ className: Dt("source"),
1397
1465
  "data-rly-evidence-source": a,
1398
- children: [/* @__PURE__ */ k("span", {
1399
- className: xt("conceptLabel"),
1466
+ children: [/* @__PURE__ */ D("span", {
1467
+ className: Dt("conceptLabel"),
1400
1468
  children: "Evidence source"
1401
- }), /* @__PURE__ */ A("div", {
1402
- className: xt("sourceDetail"),
1403
- children: [/* @__PURE__ */ k(B, {
1469
+ }), /* @__PURE__ */ O("div", {
1470
+ className: Dt("sourceDetail"),
1471
+ children: [/* @__PURE__ */ D(z, {
1404
1472
  service: a,
1405
1473
  size: "compact"
1406
- }), /* @__PURE__ */ k("code", {
1407
- className: xt("reference"),
1474
+ }), /* @__PURE__ */ D("code", {
1475
+ className: Dt("reference"),
1408
1476
  children: c
1409
1477
  })]
1410
1478
  })]
1411
- }), /* @__PURE__ */ A("div", {
1412
- className: xt("freshness"),
1479
+ }), /* @__PURE__ */ O("div", {
1480
+ className: Dt("freshness"),
1413
1481
  "data-rly-evidence-freshness": t,
1414
- children: [/* @__PURE__ */ k("span", {
1415
- className: xt("conceptLabel"),
1482
+ children: [/* @__PURE__ */ D("span", {
1483
+ className: Dt("conceptLabel"),
1416
1484
  children: "Freshness"
1417
1485
  }), l]
1418
1486
  })]
1419
1487
  });
1420
- }, Ct = {
1488
+ }, kt = {
1421
1489
  root: "rly_GovernedActionReview-module__root",
1422
1490
  header: "rly_GovernedActionReview-module__header",
1423
1491
  eyebrow: "rly_GovernedActionReview-module__eyebrow",
@@ -1432,7 +1500,7 @@ var ue = {
1432
1500
  decision: "rly_GovernedActionReview-module__decision",
1433
1501
  confirmation: "rly_GovernedActionReview-module__confirmation",
1434
1502
  actions: "rly_GovernedActionReview-module__actions"
1435
- }, W = (e) => c(Ct, e), wt = {
1503
+ }, U = (e) => c(kt, e), At = {
1436
1504
  pending: {
1437
1505
  label: "Awaiting human decision",
1438
1506
  tone: "caution"
@@ -1461,87 +1529,87 @@ var ue = {
1461
1529
  label: "Authorized action cancelled",
1462
1530
  tone: "neutral"
1463
1531
  }
1464
- }, Tt = ({ authorizeLabel: e = "Authorize exact action", className: t, confirmationLabel: n, isConfirmed: r, onAuthorize: i, onConfirmationChange: a, onReject: s, outcome: c, proposal: l, rejectLabel: u = "Reject proposal", reviewer: f, state: p, ...m }) => {
1465
- let h = we(l), g = o(e, "GovernedActionReview authorizeLabel"), _ = o(n, "GovernedActionReview confirmationLabel"), v = o(u, "GovernedActionReview rejectLabel");
1532
+ }, jt = ({ authorizeLabel: e = "Authorize exact action", className: t, confirmationLabel: n, isConfirmed: r, onAuthorize: i, onConfirmationChange: a, onReject: s, outcome: c, proposal: l, rejectLabel: u = "Reject proposal", reviewer: f, state: p, ...m }) => {
1533
+ let h = Ee(l), g = o(e, "GovernedActionReview authorizeLabel"), _ = o(n, "GovernedActionReview confirmationLabel"), v = o(u, "GovernedActionReview rejectLabel");
1466
1534
  o(f.id, "GovernedActionReview reviewer id"), o(f.name, "GovernedActionReview reviewer name"), o(f.role, "GovernedActionReview reviewer role");
1467
- let y = `rly-governed-action-${D()}`, x = `rly-governed-action-reference-${D()}`, S = `rly-governed-confirmation-${D()}`, C = wt[p], ee = () => {
1535
+ let y = `rly-governed-action-${E()}`, x = `rly-governed-action-reference-${E()}`, S = `rly-governed-confirmation-${E()}`, C = At[p], ee = () => {
1468
1536
  p === "pending" && r && i();
1469
1537
  };
1470
- return /* @__PURE__ */ A("section", {
1538
+ return /* @__PURE__ */ O("section", {
1471
1539
  ...m,
1472
1540
  "aria-labelledby": `${y} ${x}`,
1473
- className: d(W("root"), t),
1541
+ className: d(U("root"), t),
1474
1542
  "data-rly-governed-action-state": p,
1475
1543
  children: [
1476
- /* @__PURE__ */ A("header", {
1477
- className: W("header"),
1478
- children: [/* @__PURE__ */ A("div", { children: [
1479
- /* @__PURE__ */ k("p", {
1480
- className: W("eyebrow"),
1544
+ /* @__PURE__ */ O("header", {
1545
+ className: U("header"),
1546
+ children: [/* @__PURE__ */ O("div", { children: [
1547
+ /* @__PURE__ */ D("p", {
1548
+ className: U("eyebrow"),
1481
1549
  children: "Human authorization"
1482
1550
  }),
1483
- /* @__PURE__ */ k("h2", {
1484
- className: W("heading"),
1551
+ /* @__PURE__ */ D("h2", {
1552
+ className: U("heading"),
1485
1553
  id: y,
1486
1554
  children: "Review exact proposed action"
1487
1555
  }),
1488
- /* @__PURE__ */ k("code", {
1489
- className: W("proposalReference"),
1556
+ /* @__PURE__ */ D("code", {
1557
+ className: U("proposalReference"),
1490
1558
  id: x,
1491
1559
  children: h.id
1492
1560
  })
1493
- ] }), /* @__PURE__ */ k(T, {
1561
+ ] }), /* @__PURE__ */ D(T, {
1494
1562
  label: C.label,
1495
1563
  tone: C.tone
1496
1564
  })]
1497
1565
  }),
1498
- /* @__PURE__ */ k("p", {
1499
- className: W("boundary"),
1566
+ /* @__PURE__ */ D("p", {
1567
+ className: U("boundary"),
1500
1568
  children: "The agent proposed this action. Only the named human reviewer can authorize it."
1501
1569
  }),
1502
- /* @__PURE__ */ A("div", {
1503
- className: W("reviewer"),
1504
- children: [/* @__PURE__ */ k("span", { children: "Human reviewer" }), /* @__PURE__ */ k(I, { person: f })]
1570
+ /* @__PURE__ */ O("div", {
1571
+ className: U("reviewer"),
1572
+ children: [/* @__PURE__ */ D("span", { children: "Human reviewer" }), /* @__PURE__ */ D(P, { person: f })]
1505
1573
  }),
1506
- /* @__PURE__ */ A("dl", {
1507
- className: W("facts"),
1574
+ /* @__PURE__ */ O("dl", {
1575
+ className: U("facts"),
1508
1576
  children: [
1509
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Proposal" }), /* @__PURE__ */ k("dd", { children: h.capability })] }),
1510
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Target" }), /* @__PURE__ */ k("dd", { children: h.target })] }),
1511
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Expected revision" }), /* @__PURE__ */ k("dd", { children: h.expectedRevision })] }),
1512
- /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("dt", { children: "Impact" }), /* @__PURE__ */ k("dd", { children: h.impact })] })
1577
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Proposal" }), /* @__PURE__ */ D("dd", { children: h.capability })] }),
1578
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Target" }), /* @__PURE__ */ D("dd", { children: h.target })] }),
1579
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Expected revision" }), /* @__PURE__ */ D("dd", { children: h.expectedRevision })] }),
1580
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", { children: "Impact" }), /* @__PURE__ */ D("dd", { children: h.impact })] })
1513
1581
  ]
1514
1582
  }),
1515
- /* @__PURE__ */ A("div", {
1516
- className: W("evidence"),
1583
+ /* @__PURE__ */ O("div", {
1584
+ className: U("evidence"),
1517
1585
  "data-rly-governed-action-evidence": "",
1518
- children: [/* @__PURE__ */ k("h3", { children: "Evidence reviewed before decision" }), /* @__PURE__ */ k("ul", { children: h.evidence.map((e) => /* @__PURE__ */ A("li", { children: [/* @__PURE__ */ k("span", { children: e.label }), /* @__PURE__ */ k("code", { children: e.reference })] }, e.id)) })]
1586
+ children: [/* @__PURE__ */ D("h3", { children: "Evidence reviewed before decision" }), /* @__PURE__ */ D("ul", { children: h.evidence.map((e) => /* @__PURE__ */ O("li", { children: [/* @__PURE__ */ D("span", { children: e.label }), /* @__PURE__ */ D("code", { children: e.reference })] }, e.id)) })]
1519
1587
  }),
1520
- p === "pending" ? /* @__PURE__ */ A("form", {
1521
- className: W("decision"),
1588
+ p === "pending" ? /* @__PURE__ */ O("form", {
1589
+ className: U("decision"),
1522
1590
  onSubmit: (e) => e.preventDefault(),
1523
1591
  children: [
1524
- /* @__PURE__ */ A("label", {
1525
- className: W("confirmation"),
1592
+ /* @__PURE__ */ O("label", {
1593
+ className: U("confirmation"),
1526
1594
  htmlFor: S,
1527
- children: [/* @__PURE__ */ k("input", {
1595
+ children: [/* @__PURE__ */ D("input", {
1528
1596
  checked: r,
1529
1597
  id: S,
1530
1598
  onChange: (e) => a(e.currentTarget.checked),
1531
1599
  type: "checkbox"
1532
- }), /* @__PURE__ */ k("span", { children: _ })]
1600
+ }), /* @__PURE__ */ D("span", { children: _ })]
1533
1601
  }),
1534
- /* @__PURE__ */ k("p", {
1535
- className: W("confirmationHelp"),
1602
+ /* @__PURE__ */ D("p", {
1603
+ className: U("confirmationHelp"),
1536
1604
  children: "Confirm the exact proposal, target, revision, impact, and evidence above."
1537
1605
  }),
1538
- /* @__PURE__ */ A("div", {
1539
- className: W("actions"),
1540
- children: [/* @__PURE__ */ k(b, {
1606
+ /* @__PURE__ */ O("div", {
1607
+ className: U("actions"),
1608
+ children: [/* @__PURE__ */ D(b, {
1541
1609
  onClick: s,
1542
1610
  variant: "secondary",
1543
1611
  children: v
1544
- }), /* @__PURE__ */ k(b, {
1612
+ }), /* @__PURE__ */ D(b, {
1545
1613
  disabled: !r,
1546
1614
  onClick: ee,
1547
1615
  variant: "primary",
@@ -1550,14 +1618,144 @@ var ue = {
1550
1618
  })
1551
1619
  ]
1552
1620
  }) : null,
1553
- /* @__PURE__ */ A("div", {
1554
- className: W("outcome"),
1621
+ /* @__PURE__ */ O("div", {
1622
+ className: U("outcome"),
1555
1623
  "data-rly-governed-action-outcome": "",
1556
- children: [/* @__PURE__ */ k("h3", { children: "Recorded outcome" }), c]
1624
+ children: [/* @__PURE__ */ D("h3", { children: "Recorded outcome" }), c]
1557
1625
  })
1558
1626
  ]
1559
1627
  });
1560
- }, Et = {
1628
+ }, Mt = {
1629
+ root: "rly_Hero-module__root",
1630
+ fact: "rly_Hero-module__fact",
1631
+ caption: "rly_Hero-module__caption",
1632
+ heading: "rly_Hero-module__heading",
1633
+ line: "rly_Hero-module__line",
1634
+ text: "rly_Hero-module__text",
1635
+ display: "rly_Hero-module__display",
1636
+ word: "rly_Hero-module__word",
1637
+ blocked: "rly_Hero-module__blocked",
1638
+ held: "rly_Hero-module__held"
1639
+ }, W = (e) => c(Mt, e), Nt = l({ size: {
1640
+ heading: {
1641
+ className: W("heading"),
1642
+ purpose: "The page's one fact as a sentence at heading size, with its caption below",
1643
+ tokens: [
1644
+ "type-card-title-size",
1645
+ "color-text-1",
1646
+ "color-text-2"
1647
+ ]
1648
+ },
1649
+ line: {
1650
+ className: W("line"),
1651
+ purpose: "The same fact folded to one line, when a detail with its own figure sits beside the list",
1652
+ tokens: [
1653
+ "type-body-size",
1654
+ "color-text-1",
1655
+ "color-text-2"
1656
+ ]
1657
+ },
1658
+ display: {
1659
+ className: W("display"),
1660
+ purpose: "Read from across a room (a wall or desk board); not for ordinary screens",
1661
+ tokens: [
1662
+ "type-page-title-size",
1663
+ "color-text-1",
1664
+ "color-text-2"
1665
+ ]
1666
+ }
1667
+ } }), Pt = l({ size: "heading" }), Ft = l({ tone: {
1668
+ blocked: {
1669
+ className: W("blocked"),
1670
+ purpose: "Can't proceed, failed, or can't decide",
1671
+ tokens: ["color-blocked-ink"]
1672
+ },
1673
+ held: {
1674
+ className: W("held"),
1675
+ purpose: "Degraded or waiting, but still working",
1676
+ tokens: ["color-held-ink"]
1677
+ }
1678
+ } }), It = ({ caption: e, className: t, fact: n, label: r = "Summary", size: i = Pt.size, ...a }) => {
1679
+ let o = d(W("root"), Nt.size[i].className, t);
1680
+ return i === "line" ? /* @__PURE__ */ D("section", {
1681
+ ...a,
1682
+ "aria-label": r,
1683
+ className: o,
1684
+ "data-rly-hero": "",
1685
+ children: /* @__PURE__ */ O("p", {
1686
+ className: W("text"),
1687
+ children: [/* @__PURE__ */ D("strong", {
1688
+ className: W("fact"),
1689
+ children: n
1690
+ }), e === void 0 ? null : /* @__PURE__ */ O(de, { children: [" ", /* @__PURE__ */ D("span", {
1691
+ className: W("caption"),
1692
+ children: e
1693
+ })] })]
1694
+ })
1695
+ }) : /* @__PURE__ */ O("section", {
1696
+ ...a,
1697
+ "aria-label": r,
1698
+ className: o,
1699
+ "data-rly-hero": "",
1700
+ children: [/* @__PURE__ */ D("p", {
1701
+ className: W("fact"),
1702
+ children: n
1703
+ }), e === void 0 ? null : /* @__PURE__ */ D("p", {
1704
+ className: W("caption"),
1705
+ children: e
1706
+ })]
1707
+ });
1708
+ }, Lt = ({ children: e, className: t, tone: n, ...r }) => /* @__PURE__ */ D("span", {
1709
+ ...r,
1710
+ className: d(W("word"), Ft.tone[n].className, t),
1711
+ children: e
1712
+ }), Rt = {
1713
+ root: "rly_Region-module__root",
1714
+ default: "rly_Region-module__default",
1715
+ tray: "rly_Region-module__tray",
1716
+ header: "rly_Region-module__header",
1717
+ title: "rly_Region-module__title",
1718
+ count: "rly_Region-module__count",
1719
+ actions: "rly_Region-module__actions",
1720
+ body: "rly_Region-module__body"
1721
+ }, zt = (e) => c(Rt, e), Bt = l({ tone: {
1722
+ default: {
1723
+ className: zt("default"),
1724
+ purpose: "A main page region: list, detail or chart",
1725
+ tokens: ["color-surface-1", "color-border-1"]
1726
+ },
1727
+ tray: {
1728
+ className: zt("tray"),
1729
+ purpose: "A region holding individually actionable cards, one surface step down so the cards stand out",
1730
+ tokens: ["color-surface-2", "color-border-1"]
1731
+ }
1732
+ } }), Vt = l({ tone: "default" }), Ht = ({ actions: e, children: t, className: n, count: r, headingId: i, headingLevel: a = 2, title: s, tone: c = Vt.tone, ...l }) => {
1733
+ let u = o(s, "Region title"), f = `rly-region-${E()}`, p = i ?? f, m = a === 3 ? "h3" : "h2";
1734
+ return /* @__PURE__ */ O("section", {
1735
+ ...l,
1736
+ "aria-labelledby": p,
1737
+ className: d(zt("root"), Bt.tone[c].className, n),
1738
+ "data-rly-region": "",
1739
+ children: [/* @__PURE__ */ O("header", {
1740
+ className: zt("header"),
1741
+ children: [/* @__PURE__ */ O(m, {
1742
+ className: zt("title"),
1743
+ id: p,
1744
+ tabIndex: -1,
1745
+ children: [u, r === void 0 ? null : /* @__PURE__ */ O(de, { children: [" ", /* @__PURE__ */ D("span", {
1746
+ className: zt("count"),
1747
+ children: r
1748
+ })] })]
1749
+ }), e === void 0 ? null : /* @__PURE__ */ D("div", {
1750
+ className: zt("actions"),
1751
+ children: e
1752
+ })]
1753
+ }), /* @__PURE__ */ D("div", {
1754
+ className: zt("body"),
1755
+ children: t
1756
+ })]
1757
+ });
1758
+ }, Ut = {
1561
1759
  missing: {
1562
1760
  icon: "alert",
1563
1761
  label: "Missing"
@@ -1586,7 +1784,7 @@ var ue = {
1586
1784
  icon: "arrow-right",
1587
1785
  label: "Superseded"
1588
1786
  }
1589
- }, Dt = {
1787
+ }, Wt = {
1590
1788
  forward: {
1591
1789
  arrow: "→",
1592
1790
  label: "Forward"
@@ -1599,30 +1797,30 @@ var ue = {
1599
1797
  arrow: "↔",
1600
1798
  label: "Bidirectional"
1601
1799
  }
1602
- }, Ot = (e, t) => {
1800
+ }, Gt = (e, t) => {
1603
1801
  o(e.id, `${t} person id`), o(e.name, `${t} person name`), o(e.role, `${t} person role`), e.avatarFallback !== void 0 && o(e.avatarFallback, `${t} person avatarFallback`), e.avatarSrc !== void 0 && o(e.avatarSrc, `${t} person avatarSrc`);
1604
- }, kt = (e, t) => {
1605
- if (!Object.hasOwn(nt.service, e)) throw Error(`${t} service must be a supported rly service`);
1606
- }, At = (e, t) => {
1802
+ }, Kt = (e, t) => {
1803
+ if (!Object.hasOwn(ct.service, e)) throw Error(`${t} service must be a supported rly service`);
1804
+ }, qt = (e, t) => {
1607
1805
  if (e.state === "present") {
1608
- o(e.id, `${t} id`), o(e.title, `${t} title`), o(e.reference, `${t} reference`), kt(e.service, t), e.href !== void 0 && o(e.href, `${t} href`), e.person !== void 0 && Ot(e.person, t);
1806
+ o(e.id, `${t} id`), o(e.title, `${t} title`), o(e.reference, `${t} reference`), Kt(e.service, t), e.href !== void 0 && o(e.href, `${t} href`), e.person !== void 0 && Gt(e.person, t);
1609
1807
  return;
1610
1808
  }
1611
1809
  if (e.state === "missing") {
1612
- o(e.label, `${t} missing label`), o(e.reason, `${t} missing reason`), e.service !== void 0 && kt(e.service, t);
1810
+ o(e.label, `${t} missing label`), o(e.reason, `${t} missing reason`), e.service !== void 0 && Kt(e.service, t);
1613
1811
  return;
1614
1812
  }
1615
1813
  throw Error(`${t} state must be present or missing`);
1616
- }, jt = (e) => {
1814
+ }, Jt = (e) => {
1617
1815
  let t = /* @__PURE__ */ new Set();
1618
1816
  for (let n of e) {
1619
1817
  let e = o(n.id, "Relationship id");
1620
1818
  if (t.has(e)) throw Error(`Relationship ids must be unique: ${e}`);
1621
- if (t.add(e), o(n.kind, `Relationship kind for ${e}`), !Object.hasOwn(Dt, n.direction)) throw Error(`Relationship direction for ${e} must be supported`);
1622
- if (!Object.hasOwn(Et, n.lifecycle)) throw Error(`Relationship lifecycle for ${e} must be supported`);
1623
- At(n.source, `Relationship ${e} source`), At(n.target, `Relationship ${e} target`), n.evidence !== void 0 && o(n.evidence, `Relationship evidence for ${e}`), n.actor !== void 0 && Ot(n.actor, `Relationship ${e} actor`);
1819
+ if (t.add(e), o(n.kind, `Relationship kind for ${e}`), !Object.hasOwn(Wt, n.direction)) throw Error(`Relationship direction for ${e} must be supported`);
1820
+ if (!Object.hasOwn(Ut, n.lifecycle)) throw Error(`Relationship lifecycle for ${e} must be supported`);
1821
+ qt(n.source, `Relationship ${e} source`), qt(n.target, `Relationship ${e} target`), n.evidence !== void 0 && o(n.evidence, `Relationship evidence for ${e}`), n.actor !== void 0 && Gt(n.actor, `Relationship ${e} actor`);
1624
1822
  }
1625
- }, Mt = {
1823
+ }, Yt = {
1626
1824
  root: "rly_RelationshipChain-module__root",
1627
1825
  heading: "rly_RelationshipChain-module__heading",
1628
1826
  empty: "rly_RelationshipChain-module__empty",
@@ -1643,127 +1841,127 @@ var ue = {
1643
1841
  relationship: "rly_RelationshipChain-module__relationship",
1644
1842
  arrow: "rly_RelationshipChain-module__arrow",
1645
1843
  actor: "rly_RelationshipChain-module__actor"
1646
- }, G = (e) => c(Mt, e), Nt = ({ endpoint: t }) => {
1647
- if (t.state === "missing") return /* @__PURE__ */ A("div", {
1844
+ }, G = (e) => c(Yt, e), Xt = ({ endpoint: t }) => {
1845
+ if (t.state === "missing") return /* @__PURE__ */ O("div", {
1648
1846
  className: d(G("endpoint"), G("missingEndpoint")),
1649
1847
  "data-rly-endpoint-state": "missing",
1650
- children: [t.service === void 0 ? null : /* @__PURE__ */ k(B, {
1848
+ children: [t.service === void 0 ? null : /* @__PURE__ */ D(z, {
1651
1849
  service: t.service,
1652
1850
  size: "compact"
1653
- }), /* @__PURE__ */ A("span", {
1851
+ }), /* @__PURE__ */ O("span", {
1654
1852
  className: G("missingIdentity"),
1655
- children: [/* @__PURE__ */ A("span", {
1853
+ children: [/* @__PURE__ */ O("span", {
1656
1854
  className: G("missingLabel"),
1657
- children: [/* @__PURE__ */ k(e, {
1855
+ children: [/* @__PURE__ */ D(e, {
1658
1856
  decorative: !0,
1659
1857
  name: "alert",
1660
1858
  size: "small"
1661
1859
  }), t.label]
1662
- }), /* @__PURE__ */ k("span", {
1860
+ }), /* @__PURE__ */ D("span", {
1663
1861
  className: G("reference"),
1664
1862
  children: t.reason
1665
1863
  })]
1666
1864
  })]
1667
1865
  });
1668
- let n = /* @__PURE__ */ A("span", {
1866
+ let n = /* @__PURE__ */ O("span", {
1669
1867
  className: G("identity"),
1670
- children: [/* @__PURE__ */ k("span", {
1868
+ children: [/* @__PURE__ */ D("span", {
1671
1869
  className: G("title"),
1672
1870
  children: t.title
1673
- }), /* @__PURE__ */ k("span", {
1871
+ }), /* @__PURE__ */ D("span", {
1674
1872
  className: G("reference"),
1675
1873
  children: t.reference
1676
1874
  })]
1677
1875
  });
1678
- return /* @__PURE__ */ A("div", {
1876
+ return /* @__PURE__ */ O("div", {
1679
1877
  className: G("endpoint"),
1680
1878
  "data-rly-endpoint-id": t.id,
1681
1879
  "data-rly-endpoint-state": "present",
1682
1880
  children: [
1683
- /* @__PURE__ */ k(B, {
1881
+ /* @__PURE__ */ D(z, {
1684
1882
  service: t.service,
1685
1883
  size: "compact"
1686
1884
  }),
1687
- t.href === void 0 ? n : /* @__PURE__ */ k(r, {
1885
+ t.href === void 0 ? n : /* @__PURE__ */ D(r, {
1688
1886
  className: G("endpointLink"),
1689
1887
  href: t.href,
1690
1888
  children: n
1691
1889
  }),
1692
- t.person === void 0 ? null : /* @__PURE__ */ k(I, {
1890
+ t.person === void 0 ? null : /* @__PURE__ */ D(P, {
1693
1891
  person: t.person,
1694
1892
  size: "compact"
1695
1893
  })
1696
1894
  ]
1697
1895
  });
1698
- }, Pt = ({ className: e, emptyLabel: t = "No relationships recorded.", heading: n, relationships: r, ...i }) => {
1896
+ }, Zt = ({ className: e, emptyLabel: t = "No relationships recorded.", heading: n, relationships: r, ...i }) => {
1699
1897
  let a = o(n, "RelationshipChain heading"), s = o(t, "RelationshipChain emptyLabel");
1700
- jt(r);
1701
- let c = `${D()}-heading`;
1702
- return /* @__PURE__ */ A("section", {
1898
+ Jt(r);
1899
+ let c = `${E()}-heading`;
1900
+ return /* @__PURE__ */ O("section", {
1703
1901
  ...i,
1704
1902
  "aria-labelledby": c,
1705
1903
  className: d(G("root"), e),
1706
- children: [/* @__PURE__ */ k("h2", {
1904
+ children: [/* @__PURE__ */ D("h2", {
1707
1905
  className: G("heading"),
1708
1906
  id: c,
1709
1907
  children: a
1710
- }), r.length === 0 ? /* @__PURE__ */ k("p", {
1908
+ }), r.length === 0 ? /* @__PURE__ */ D("p", {
1711
1909
  className: G("empty"),
1712
1910
  children: s
1713
- }) : /* @__PURE__ */ k("ol", {
1911
+ }) : /* @__PURE__ */ D("ol", {
1714
1912
  className: G("list"),
1715
1913
  children: r.map((e) => {
1716
- let t = Dt[e.direction], n = Et[e.lifecycle];
1717
- return /* @__PURE__ */ A("li", {
1914
+ let t = Wt[e.direction], n = Ut[e.lifecycle];
1915
+ return /* @__PURE__ */ O("li", {
1718
1916
  className: G("item"),
1719
1917
  "data-rly-relationship-id": e.id,
1720
1918
  "data-rly-relationship-direction": e.direction,
1721
1919
  "data-rly-relationship-kind": e.kind,
1722
1920
  "data-rly-relationship-lifecycle": e.lifecycle,
1723
1921
  children: [
1724
- /* @__PURE__ */ k(Nt, { endpoint: e.source }),
1725
- /* @__PURE__ */ A("div", {
1922
+ /* @__PURE__ */ D(Xt, { endpoint: e.source }),
1923
+ /* @__PURE__ */ O("div", {
1726
1924
  className: G("relationship"),
1727
1925
  "data-rly-relationship-detail": "",
1728
1926
  children: [
1729
- /* @__PURE__ */ A("span", {
1927
+ /* @__PURE__ */ O("span", {
1730
1928
  className: G("direction"),
1731
- children: [/* @__PURE__ */ k("span", { children: t.label }), /* @__PURE__ */ k("span", {
1929
+ children: [/* @__PURE__ */ D("span", { children: t.label }), /* @__PURE__ */ D("span", {
1732
1930
  "aria-hidden": "true",
1733
1931
  className: G("arrow"),
1734
1932
  children: t.arrow
1735
1933
  })]
1736
1934
  }),
1737
- /* @__PURE__ */ k("span", {
1935
+ /* @__PURE__ */ D("span", {
1738
1936
  className: G("kind"),
1739
1937
  children: e.kind
1740
1938
  }),
1741
- /* @__PURE__ */ k(T, {
1939
+ /* @__PURE__ */ D(T, {
1742
1940
  icon: n.icon,
1743
1941
  label: n.label,
1744
1942
  size: "compact",
1745
1943
  tone: "neutral"
1746
1944
  }),
1747
- e.actor === void 0 ? null : /* @__PURE__ */ A("div", {
1945
+ e.actor === void 0 ? null : /* @__PURE__ */ O("div", {
1748
1946
  className: G("actor"),
1749
1947
  "data-rly-relationship-actor": e.actor.id,
1750
- children: [/* @__PURE__ */ k("span", {
1948
+ children: [/* @__PURE__ */ D("span", {
1751
1949
  className: G("fieldLabel"),
1752
1950
  children: "Actor"
1753
- }), /* @__PURE__ */ k(I, {
1951
+ }), /* @__PURE__ */ D(P, {
1754
1952
  person: e.actor,
1755
1953
  size: "compact"
1756
1954
  })]
1757
1955
  })
1758
1956
  ]
1759
1957
  }),
1760
- /* @__PURE__ */ k(Nt, { endpoint: e.target }),
1761
- /* @__PURE__ */ A("p", {
1958
+ /* @__PURE__ */ D(Xt, { endpoint: e.target }),
1959
+ /* @__PURE__ */ O("p", {
1762
1960
  className: G("evidence"),
1763
- children: [/* @__PURE__ */ k("span", {
1961
+ children: [/* @__PURE__ */ D("span", {
1764
1962
  className: G("fieldLabel"),
1765
1963
  children: "Evidence"
1766
- }), /* @__PURE__ */ k("span", {
1964
+ }), /* @__PURE__ */ D("span", {
1767
1965
  "data-rly-relationship-evidence": "",
1768
1966
  children: e.evidence ?? "No evidence recorded."
1769
1967
  })]
@@ -1773,7 +1971,7 @@ var ue = {
1773
1971
  })
1774
1972
  })]
1775
1973
  });
1776
- }, Ft = {
1974
+ }, Qt = {
1777
1975
  root: "rly_RelationshipTable-module__root",
1778
1976
  heading: "rly_RelationshipTable-module__heading",
1779
1977
  empty: "rly_RelationshipTable-module__empty",
@@ -1796,144 +1994,144 @@ var ue = {
1796
1994
  arrow: "rly_RelationshipTable-module__arrow",
1797
1995
  body: "rly_RelationshipTable-module__body",
1798
1996
  row: "rly_RelationshipTable-module__row"
1799
- }, K = (e) => c(Ft, e), It = ({ endpoint: t }) => {
1800
- if (t.state === "missing") return /* @__PURE__ */ A("div", {
1997
+ }, K = (e) => c(Qt, e), $t = ({ endpoint: t }) => {
1998
+ if (t.state === "missing") return /* @__PURE__ */ O("div", {
1801
1999
  className: d(K("endpoint"), K("missingEndpoint")),
1802
2000
  "data-rly-endpoint-state": "missing",
1803
- children: [t.service === void 0 ? null : /* @__PURE__ */ k(B, {
2001
+ children: [t.service === void 0 ? null : /* @__PURE__ */ D(z, {
1804
2002
  service: t.service,
1805
2003
  size: "compact"
1806
- }), /* @__PURE__ */ A("span", {
2004
+ }), /* @__PURE__ */ O("span", {
1807
2005
  className: K("identity"),
1808
- children: [/* @__PURE__ */ A("span", {
2006
+ children: [/* @__PURE__ */ O("span", {
1809
2007
  className: K("missingLabel"),
1810
- children: [/* @__PURE__ */ k(e, {
2008
+ children: [/* @__PURE__ */ D(e, {
1811
2009
  decorative: !0,
1812
2010
  name: "alert",
1813
2011
  size: "small"
1814
2012
  }), t.label]
1815
- }), /* @__PURE__ */ k("span", {
2013
+ }), /* @__PURE__ */ D("span", {
1816
2014
  className: K("reference"),
1817
2015
  children: t.reason
1818
2016
  })]
1819
2017
  })]
1820
2018
  });
1821
- let n = /* @__PURE__ */ A("span", {
2019
+ let n = /* @__PURE__ */ O("span", {
1822
2020
  className: K("identity"),
1823
- children: [/* @__PURE__ */ k("span", {
2021
+ children: [/* @__PURE__ */ D("span", {
1824
2022
  className: K("title"),
1825
2023
  children: t.title
1826
- }), /* @__PURE__ */ k("span", {
2024
+ }), /* @__PURE__ */ D("span", {
1827
2025
  className: K("reference"),
1828
2026
  children: t.reference
1829
2027
  })]
1830
2028
  });
1831
- return /* @__PURE__ */ A("div", {
2029
+ return /* @__PURE__ */ O("div", {
1832
2030
  className: K("endpoint"),
1833
2031
  "data-rly-endpoint-id": t.id,
1834
2032
  "data-rly-endpoint-state": "present",
1835
2033
  children: [
1836
- /* @__PURE__ */ k(B, {
2034
+ /* @__PURE__ */ D(z, {
1837
2035
  service: t.service,
1838
2036
  size: "compact"
1839
2037
  }),
1840
- t.href === void 0 ? n : /* @__PURE__ */ k(r, {
2038
+ t.href === void 0 ? n : /* @__PURE__ */ D(r, {
1841
2039
  className: K("endpointLink"),
1842
2040
  href: t.href,
1843
2041
  children: n
1844
2042
  }),
1845
- t.person === void 0 ? null : /* @__PURE__ */ k(I, {
2043
+ t.person === void 0 ? null : /* @__PURE__ */ D(P, {
1846
2044
  person: t.person,
1847
2045
  size: "compact"
1848
2046
  })
1849
2047
  ]
1850
2048
  });
1851
- }, Lt = ({ className: e, emptyLabel: t = "No relationships recorded.", heading: n, relationships: r, ...i }) => {
2049
+ }, en = ({ className: e, emptyLabel: t = "No relationships recorded.", heading: n, relationships: r, ...i }) => {
1852
2050
  let a = o(n, "RelationshipTable heading"), s = o(t, "RelationshipTable emptyLabel");
1853
- jt(r);
1854
- let c = `${D()}-heading`;
1855
- return /* @__PURE__ */ A("section", {
2051
+ Jt(r);
2052
+ let c = `${E()}-heading`;
2053
+ return /* @__PURE__ */ O("section", {
1856
2054
  ...i,
1857
2055
  "aria-labelledby": c,
1858
2056
  className: d(K("root"), e),
1859
- children: [/* @__PURE__ */ k("h2", {
2057
+ children: [/* @__PURE__ */ D("h2", {
1860
2058
  className: K("heading"),
1861
2059
  id: c,
1862
2060
  children: a
1863
- }), r.length === 0 ? /* @__PURE__ */ k("p", {
2061
+ }), r.length === 0 ? /* @__PURE__ */ D("p", {
1864
2062
  className: K("empty"),
1865
2063
  children: s
1866
- }) : /* @__PURE__ */ A("table", {
2064
+ }) : /* @__PURE__ */ O("table", {
1867
2065
  "aria-labelledby": c,
1868
2066
  className: K("table"),
1869
- children: [/* @__PURE__ */ k("thead", {
2067
+ children: [/* @__PURE__ */ D("thead", {
1870
2068
  className: K("head"),
1871
- children: /* @__PURE__ */ A("tr", { children: [
1872
- /* @__PURE__ */ k("th", {
2069
+ children: /* @__PURE__ */ O("tr", { children: [
2070
+ /* @__PURE__ */ D("th", {
1873
2071
  scope: "col",
1874
2072
  children: "Source"
1875
2073
  }),
1876
- /* @__PURE__ */ k("th", {
2074
+ /* @__PURE__ */ D("th", {
1877
2075
  scope: "col",
1878
2076
  children: "Relationship"
1879
2077
  }),
1880
- /* @__PURE__ */ k("th", {
2078
+ /* @__PURE__ */ D("th", {
1881
2079
  scope: "col",
1882
2080
  children: "Target"
1883
2081
  }),
1884
- /* @__PURE__ */ k("th", {
2082
+ /* @__PURE__ */ D("th", {
1885
2083
  scope: "col",
1886
2084
  children: "Evidence"
1887
2085
  })
1888
2086
  ] })
1889
- }), /* @__PURE__ */ k("tbody", {
2087
+ }), /* @__PURE__ */ D("tbody", {
1890
2088
  className: K("body"),
1891
2089
  children: r.map((e) => {
1892
- let t = Dt[e.direction], n = Et[e.lifecycle];
1893
- return /* @__PURE__ */ A("tr", {
2090
+ let t = Wt[e.direction], n = Ut[e.lifecycle];
2091
+ return /* @__PURE__ */ O("tr", {
1894
2092
  className: K("row"),
1895
2093
  "data-rly-relationship-id": e.id,
1896
2094
  "data-rly-relationship-direction": e.direction,
1897
2095
  "data-rly-relationship-kind": e.kind,
1898
2096
  "data-rly-relationship-lifecycle": e.lifecycle,
1899
2097
  children: [
1900
- /* @__PURE__ */ k("td", {
2098
+ /* @__PURE__ */ D("td", {
1901
2099
  className: K("cell"),
1902
2100
  "data-label": "Source",
1903
- children: /* @__PURE__ */ k(It, { endpoint: e.source })
2101
+ children: /* @__PURE__ */ D($t, { endpoint: e.source })
1904
2102
  }),
1905
- /* @__PURE__ */ k("td", {
2103
+ /* @__PURE__ */ D("td", {
1906
2104
  className: K("cell"),
1907
2105
  "data-label": "Relationship",
1908
- children: /* @__PURE__ */ A("div", {
2106
+ children: /* @__PURE__ */ O("div", {
1909
2107
  className: K("relationship"),
1910
2108
  "data-rly-relationship-detail": "",
1911
2109
  children: [
1912
- /* @__PURE__ */ A("span", {
2110
+ /* @__PURE__ */ O("span", {
1913
2111
  className: K("direction"),
1914
- children: [/* @__PURE__ */ k("span", { children: t.label }), /* @__PURE__ */ k("span", {
2112
+ children: [/* @__PURE__ */ D("span", { children: t.label }), /* @__PURE__ */ D("span", {
1915
2113
  "aria-hidden": "true",
1916
2114
  className: K("arrow"),
1917
2115
  children: t.arrow
1918
2116
  })]
1919
2117
  }),
1920
- /* @__PURE__ */ k("span", {
2118
+ /* @__PURE__ */ D("span", {
1921
2119
  className: K("kind"),
1922
2120
  children: e.kind
1923
2121
  }),
1924
- /* @__PURE__ */ k(T, {
2122
+ /* @__PURE__ */ D(T, {
1925
2123
  icon: n.icon,
1926
2124
  label: n.label,
1927
2125
  size: "compact",
1928
2126
  tone: "neutral"
1929
2127
  }),
1930
- e.actor === void 0 ? null : /* @__PURE__ */ A("div", {
2128
+ e.actor === void 0 ? null : /* @__PURE__ */ O("div", {
1931
2129
  className: K("actor"),
1932
2130
  "data-rly-relationship-actor": e.actor.id,
1933
- children: [/* @__PURE__ */ k("span", {
2131
+ children: [/* @__PURE__ */ D("span", {
1934
2132
  className: K("fieldLabel"),
1935
2133
  children: "Actor"
1936
- }), /* @__PURE__ */ k(I, {
2134
+ }), /* @__PURE__ */ D(P, {
1937
2135
  person: e.actor,
1938
2136
  size: "compact"
1939
2137
  })]
@@ -1941,15 +2139,15 @@ var ue = {
1941
2139
  ]
1942
2140
  })
1943
2141
  }),
1944
- /* @__PURE__ */ k("td", {
2142
+ /* @__PURE__ */ D("td", {
1945
2143
  className: K("cell"),
1946
2144
  "data-label": "Target",
1947
- children: /* @__PURE__ */ k(It, { endpoint: e.target })
2145
+ children: /* @__PURE__ */ D($t, { endpoint: e.target })
1948
2146
  }),
1949
- /* @__PURE__ */ k("td", {
2147
+ /* @__PURE__ */ D("td", {
1950
2148
  className: K("cell"),
1951
2149
  "data-label": "Evidence",
1952
- children: /* @__PURE__ */ k("span", {
2150
+ children: /* @__PURE__ */ D("span", {
1953
2151
  className: K("evidence"),
1954
2152
  "data-rly-relationship-evidence": "",
1955
2153
  children: e.evidence ?? "No evidence recorded."
@@ -1961,7 +2159,7 @@ var ue = {
1961
2159
  })]
1962
2160
  })]
1963
2161
  });
1964
- }, Rt = {
2162
+ }, tn = {
1965
2163
  root: "rly_RelayDock-module__root",
1966
2164
  trigger: "rly_RelayDock-module__trigger",
1967
2165
  close: "rly_RelayDock-module__close",
@@ -1991,7 +2189,7 @@ var ue = {
1991
2189
  ready: "rly_RelayDock-module__ready",
1992
2190
  state: "rly_RelayDock-module__state",
1993
2191
  footer: "rly_RelayDock-module__footer"
1994
- }, q = (e) => c(Rt, e), zt = "(max-width: 40rem), (max-height: 40rem) and (pointer: coarse)", Bt = [
2192
+ }, q = (e) => c(tn, e), nn = "(max-width: 40rem), (max-height: 40rem) and (pointer: coarse)", rn = [
1995
2193
  "a[href]",
1996
2194
  "button:not([disabled])",
1997
2195
  "iframe:not([tabindex=\"-1\"])",
@@ -2001,40 +2199,40 @@ var ue = {
2001
2199
  "textarea:not([disabled])",
2002
2200
  "[contenteditable]:not([contenteditable=\"false\"])",
2003
2201
  "[tabindex]:not([tabindex=\"-1\"])"
2004
- ].join(","), Vt = "button, fieldset, input, object, optgroup, option, output, select, textarea", Ht = (e) => "activeElement" in e, Ut = (e) => "host" in e && a(e.host), Wt = (e) => {
2202
+ ].join(","), an = "button, fieldset, input, object, optgroup, option, output, select, textarea", on = (e) => "activeElement" in e, sn = (e) => "host" in e && a(e.host), cn = (e) => {
2005
2203
  let t = e.activeElement;
2006
- return t === null ? null : t.shadowRoot === null ? t : Wt(t.shadowRoot) ?? t;
2007
- }, Gt = (e) => {
2204
+ return t === null ? null : t.shadowRoot === null ? t : cn(t.shadowRoot) ?? t;
2205
+ }, ln = (e) => {
2008
2206
  let t = e.getRootNode();
2009
- return Ht(t) ? Wt(t) : e.ownerDocument.activeElement;
2010
- }, Kt = (e) => {
2207
+ return on(t) ? cn(t) : e.ownerDocument.activeElement;
2208
+ }, un = (e) => {
2011
2209
  let t = e.getRootNode();
2012
- return Ut(t) && _(t.host) ? t.host : null;
2013
- }, qt = (e) => "assignedSlot" in e, Jt = (e) => e.nodeType === 1, Yt = (e, t) => {
2210
+ return sn(t) && _(t.host) ? t.host : null;
2211
+ }, dn = (e) => "assignedSlot" in e, fn = (e) => e.nodeType === 1, pn = (e, t) => {
2014
2212
  if (t !== void 0 && t.has(e)) {
2015
2213
  let n = t.get(e);
2016
- return n != null && Jt(n) ? n : null;
2214
+ return n != null && fn(n) ? n : null;
2017
2215
  }
2018
- return (qt(e) ? e.assignedSlot : null) ?? e.parentElement ?? Kt(e);
2019
- }, Xt = (e, t, n) => {
2216
+ return (dn(e) ? e.assignedSlot : null) ?? e.parentElement ?? un(e);
2217
+ }, mn = (e, t, n) => {
2020
2218
  if (t === null) return !1;
2021
2219
  if (e.contains(t)) return !0;
2022
2220
  let r = /* @__PURE__ */ new Set(), i = t;
2023
2221
  for (; !r.has(i);) {
2024
2222
  r.add(i);
2025
- let t = Yt(i, n);
2223
+ let t = pn(i, n);
2026
2224
  if (t === null) return !1;
2027
2225
  if (t === e || e.contains(t)) return !0;
2028
2226
  i = t;
2029
2227
  }
2030
2228
  return !1;
2031
- }, Zt = (e, t) => Xt(e, t), Qt = (e) => {
2229
+ }, hn = (e, t) => mn(e, t), gn = (e) => {
2032
2230
  let t = e.activeElement;
2033
- return _(t) ? t.shadowRoot === null ? t : Qt(t.shadowRoot) ?? t : null;
2034
- }, $t = (e) => {
2035
- let t = Qt(e);
2231
+ return _(t) ? t.shadowRoot === null ? t : gn(t.shadowRoot) ?? t : null;
2232
+ }, _n = (e) => {
2233
+ let t = gn(e);
2036
2234
  return t === e.body || t === e.documentElement ? null : t;
2037
- }, en = (e, t) => {
2235
+ }, vn = (e, t) => {
2038
2236
  if (e.matches(":disabled")) return !1;
2039
2237
  let n = e.ownerDocument.defaultView;
2040
2238
  if (n === null) return !_(e) || e.hidden === !1;
@@ -2045,44 +2243,44 @@ var ue = {
2045
2243
  if (_(i) && i.inert) return !1;
2046
2244
  if (i.tagName === "DETAILS" && !i.hasAttribute("open")) {
2047
2245
  let n = i.querySelector(":scope > summary:first-of-type");
2048
- if (n === null || !Xt(n, e, t)) return !1;
2246
+ if (n === null || !mn(n, e, t)) return !1;
2049
2247
  }
2050
- if (i !== e && i.tagName === "FIELDSET" && i.hasAttribute("disabled") && e.matches(Vt)) {
2248
+ if (i !== e && i.tagName === "FIELDSET" && i.hasAttribute("disabled") && e.matches(an)) {
2051
2249
  let n = i.querySelector(":scope > legend:first-of-type");
2052
- if (n === null || !Xt(n, e, t)) return !1;
2250
+ if (n === null || !mn(n, e, t)) return !1;
2053
2251
  }
2054
2252
  let r = n.getComputedStyle(i);
2055
2253
  if (_(i) && i.hidden !== !1 || r.display === "none" || i === e && r.display === "contents" || i !== e && r.contentVisibility === "hidden") return !1;
2056
- i = Yt(i, t);
2254
+ i = pn(i, t);
2057
2255
  }
2058
2256
  return !0;
2059
- }, tn = (e, t) => {
2060
- let n = e.getRootNode(), r = /* @__PURE__ */ new Set(), i = Yt(e, t);
2257
+ }, yn = (e, t) => {
2258
+ let n = e.getRootNode(), r = /* @__PURE__ */ new Set(), i = pn(e, t);
2061
2259
  for (; i !== null && !r.has(i);) {
2062
2260
  if (r.add(i), i.getRootNode() !== n) return !1;
2063
2261
  if (_(i) && i.isContentEditable) return !0;
2064
- i = Yt(i, t);
2262
+ i = pn(i, t);
2065
2263
  }
2066
2264
  return !1;
2067
- }, nn = (e) => _(e) && e.tagName === "INPUT" && e.getAttribute("type")?.toLowerCase() === "radio", rn = (e) => "tabIndex" in e && u(e.tabIndex), an = "http://www.w3.org/2000/svg", on = (e) => {
2068
- if (e.namespaceURI === an && e.localName === "a" && e.hasAttribute("href")) {
2265
+ }, bn = (e) => _(e) && e.tagName === "INPUT" && e.getAttribute("type")?.toLowerCase() === "radio", xn = (e) => "tabIndex" in e && u(e.tabIndex), Sn = "http://www.w3.org/2000/svg", Cn = (e) => {
2266
+ if (e.namespaceURI === Sn && e.localName === "a" && e.hasAttribute("href")) {
2069
2267
  let t = e.getAttribute("tabindex");
2070
2268
  if (t === null) return 0;
2071
2269
  let n = Number.parseInt(t, 10);
2072
2270
  return Number.isNaN(n) ? 0 : n;
2073
2271
  }
2074
- return rn(e) ? e.tabIndex : null;
2075
- }, sn = (e) => e.tagName === "SLOT" && "assignedElements" in e, cn = (e) => sn(e) && Ut(e.getRootNode()), ln = (e, t) => {
2076
- let n = on(e) ?? -1, r = on(t) ?? -1, i = n > 0, a = r > 0;
2272
+ return xn(e) ? e.tabIndex : null;
2273
+ }, wn = (e) => e.tagName === "SLOT" && "assignedElements" in e, Tn = (e) => wn(e) && sn(e.getRootNode()), En = (e, t) => {
2274
+ let n = Cn(e) ?? -1, r = Cn(t) ?? -1, i = n > 0, a = r > 0;
2077
2275
  return i === a ? i && a && n !== r ? n - r : 0 : i ? -1 : 1;
2078
- }, un = (e) => {
2079
- let t = on(e);
2276
+ }, Dn = (e) => {
2277
+ let t = Cn(e);
2080
2278
  return t !== null && e.hasAttribute("tabindex") && t < 0;
2081
- }, dn = (e) => un(e) && (sn(e) || _(e) && e.shadowRoot?.delegatesFocus === !0), fn = (e, t, n, r) => {
2279
+ }, On = (e) => Dn(e) && (wn(e) || _(e) && e.shadowRoot?.delegatesFocus === !0), kn = (e, t, n, r) => {
2082
2280
  if (e.name.length === 0) return !0;
2083
- let i = n.filter(({ element: n, nativeRoot: i }) => i === t && nn(n) && n.name === e.name && n.form === e.form && en(n, r)).map(({ element: e }) => e).filter(nn).find((e) => e.checked);
2281
+ let i = n.filter(({ element: n, nativeRoot: i }) => i === t && bn(n) && n.name === e.name && n.form === e.form && vn(n, r)).map(({ element: e }) => e).filter(bn).find((e) => e.checked);
2084
2282
  return i === void 0 ? e.tabIndex >= 0 : i === e;
2085
- }, pn = (e) => {
2283
+ }, An = (e) => {
2086
2284
  let t = (e, r, i) => {
2087
2285
  let a = [], o = /* @__PURE__ */ new Map(), s = (e, i) => {
2088
2286
  if (a.push({
@@ -2090,16 +2288,16 @@ var ue = {
2090
2288
  element: e,
2091
2289
  focusScope: r,
2092
2290
  nativeRoot: e.getRootNode()
2093
- }), cn(e)) {
2291
+ }), Tn(e)) {
2094
2292
  let n = e.assignedNodes({ flatten: !1 }), r = e.assignedElements({ flatten: !1 }), i = [...e.children];
2095
2293
  o.set(e, t(n.length > 0 ? r : i, e, e));
2096
2294
  return;
2097
2295
  }
2098
- if (sn(e)) {
2296
+ if (wn(e)) {
2099
2297
  o.set(e, t([...e.children], e, e));
2100
2298
  return;
2101
2299
  }
2102
- if (e.shadowRoot !== null && (!un(e) || e.shadowRoot.delegatesFocus === !0)) o.set(e, n(e.shadowRoot, e.shadowRoot, e));
2300
+ if (e.shadowRoot !== null && (!Dn(e) || e.shadowRoot.delegatesFocus === !0)) o.set(e, n(e.shadowRoot, e.shadowRoot, e));
2103
2301
  else if (e.shadowRoot === null) for (let t of e.children) s(t, e);
2104
2302
  };
2105
2303
  for (let t of e) s(t, i);
@@ -2108,7 +2306,7 @@ var ue = {
2108
2306
  nested: o
2109
2307
  };
2110
2308
  }, n = (e, n, r) => t([...e.children], n, r), r = (e) => {
2111
- let t = [...e.entries].sort((e, t) => ln(e.element, t.element)), n = [];
2309
+ let t = [...e.entries].sort((e, t) => En(e.element, t.element)), n = [];
2112
2310
  for (let i of t) {
2113
2311
  n.push(i);
2114
2312
  let t = e.nested.get(i.element);
@@ -2117,26 +2315,26 @@ var ue = {
2117
2315
  return n;
2118
2316
  };
2119
2317
  return r(n(e, e, e));
2120
- }, mn = (e, t, n) => t.filter((r) => {
2318
+ }, jn = (e, t, n) => t.filter((r) => {
2121
2319
  let { element: i, nativeRoot: a } = r;
2122
2320
  if (i.tagName === "SLOT") return !1;
2123
- let o = on(i);
2321
+ let o = Cn(i);
2124
2322
  if (o === null) return !1;
2125
2323
  let s = i, c = /* @__PURE__ */ new Set();
2126
2324
  for (; !c.has(s);) {
2127
2325
  c.add(s);
2128
- let t = Yt(s, n);
2326
+ let t = pn(s, n);
2129
2327
  if (t === null || t === e) break;
2130
- if (dn(t)) return !1;
2328
+ if (On(t)) return !1;
2131
2329
  s = t;
2132
2330
  }
2133
- return !i.matches(Bt) || i.shadowRoot?.delegatesFocus === !0 || !en(i, n) || nn(i) && !fn(i, a, t, n) ? !1 : o >= 0 || _(i) && i.isContentEditable && !i.hasAttribute("tabindex") && !tn(i, n) || i.matches("details > summary:first-of-type") && !un(i);
2134
- }).map(({ element: e }) => e), hn = (e) => a(e) && "tagName" in e && e.tagName === "IFRAME" && "contentDocument" in e, gn = (e) => a(e) && "nodeType" in e && e.nodeType === 1, _n = (e) => [...e.querySelectorAll(Bt)].filter((e) => {
2135
- let t = on(e);
2136
- return t !== null && t >= 0 || _(e) && e.isContentEditable && !e.hasAttribute("tabindex") && !tn(e, /* @__PURE__ */ new Map());
2137
- }), vn = (e) => {
2331
+ return !i.matches(rn) || i.shadowRoot?.delegatesFocus === !0 || !vn(i, n) || bn(i) && !kn(i, a, t, n) ? !1 : o >= 0 || _(i) && i.isContentEditable && !i.hasAttribute("tabindex") && !yn(i, n) || i.matches("details > summary:first-of-type") && !Dn(i);
2332
+ }).map(({ element: e }) => e), Mn = (e) => a(e) && "tagName" in e && e.tagName === "IFRAME" && "contentDocument" in e, Nn = (e) => a(e) && "nodeType" in e && e.nodeType === 1, Pn = (e) => [...e.querySelectorAll(rn)].filter((e) => {
2333
+ let t = Cn(e);
2334
+ return t !== null && t >= 0 || _(e) && e.isContentEditable && !e.hasAttribute("tabindex") && !yn(e, /* @__PURE__ */ new Map());
2335
+ }), Fn = (e) => {
2138
2336
  let t = e.ownerDocument, n = /* @__PURE__ */ new Map(), r = (t, n) => {
2139
- let r = pn(e), i = mn(e, r, new Map(r.map(({ composedParent: e, element: t }) => [t, e]))), a = i.findIndex((e) => e === t), o = n ? i[i.length - 1] : i[0];
2337
+ let r = An(e), i = jn(e, r, new Map(r.map(({ composedParent: e, element: t }) => [t, e]))), a = i.findIndex((e) => e === t), o = n ? i[i.length - 1] : i[0];
2140
2338
  ((a < 0 ? void 0 : i[a + (n ? -1 : 1)]) ?? o)?.focus();
2141
2339
  }, i = (e) => {
2142
2340
  let t = n.get(e), i = e.contentDocument;
@@ -2150,7 +2348,7 @@ var ue = {
2150
2348
  }
2151
2349
  let a = (t) => {
2152
2350
  if (t.defaultPrevented || t.key !== "Tab") return;
2153
- let n = _n(i), a = gn(t.target) ? t.target : i.activeElement, o = n[0], s = n[n.length - 1];
2351
+ let n = Pn(i), a = Nn(t.target) ? t.target : i.activeElement, o = n[0], s = n[n.length - 1];
2154
2352
  (t.shiftKey ? a === o : a === s) && (t.preventDefault(), r(e, t.shiftKey));
2155
2353
  };
2156
2354
  i.addEventListener("keydown", a, !0), n.set(e, {
@@ -2170,9 +2368,9 @@ var ue = {
2170
2368
  onLoad: t
2171
2369
  }), e.addEventListener("load", t), i(e);
2172
2370
  }, o = () => {
2173
- for (let { element: t } of pn(e)) t.tagName === "IFRAME" && hn(t) && a(t);
2371
+ for (let { element: t } of An(e)) t.tagName === "IFRAME" && Mn(t) && a(t);
2174
2372
  }, s = (e) => {
2175
- hn(e.target) && a(e.target);
2373
+ Mn(e.target) && a(e.target);
2176
2374
  };
2177
2375
  t.addEventListener("focusin", s, !0), o();
2178
2376
  let c = t.defaultView?.MutationObserver, l = c === void 0 ? null : new c(o);
@@ -2183,47 +2381,47 @@ var ue = {
2183
2381
  t.removeEventListener("focusin", s, !0), l?.disconnect();
2184
2382
  for (let [e, t] of n) e.removeEventListener("load", t.onLoad), t.frameDocument !== null && t.frameDocument.removeEventListener("keydown", t.onKeyDown, !0);
2185
2383
  };
2186
- }, yn = (e, t) => {
2384
+ }, In = (e, t) => {
2187
2385
  if (e === null || !("matchMedia" in e)) return () => void 0;
2188
- let n = e.matchMedia(zt);
2386
+ let n = e.matchMedia(nn);
2189
2387
  return n.addEventListener("change", t), () => n.removeEventListener("change", t);
2190
- }, bn = (e) => e !== null && "matchMedia" in e && e.matchMedia(zt).matches, xn = () => !1, Sn = (e) => {
2191
- let t = ae((t) => yn(e, t), [e]), n = ae(() => bn(e), [e]);
2192
- return ce(t, n, xn);
2193
- }, Cn = () => /* @__PURE__ */ A("span", {
2388
+ }, Ln = (e) => e !== null && "matchMedia" in e && e.matchMedia(nn).matches, Rn = () => !1, zn = (e) => {
2389
+ let t = oe((t) => In(e, t), [e]), n = oe(() => Ln(e), [e]);
2390
+ return ue(t, n, Rn);
2391
+ }, Bn = () => /* @__PURE__ */ O("span", {
2194
2392
  "aria-hidden": "true",
2195
2393
  className: q("mark"),
2196
- children: [/* @__PURE__ */ k("span", { className: q("markLine") }), /* @__PURE__ */ k("svg", {
2394
+ children: [/* @__PURE__ */ D("span", { className: q("markLine") }), /* @__PURE__ */ D("svg", {
2197
2395
  className: q("markGlyph"),
2198
2396
  focusable: "false",
2199
2397
  viewBox: "0 0 24 24",
2200
- children: /* @__PURE__ */ k("path", {
2398
+ children: /* @__PURE__ */ D("path", {
2201
2399
  d: "M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z",
2202
2400
  fill: "currentColor"
2203
2401
  })
2204
2402
  })]
2205
- }), wn = ({ context: e, labelId: t }) => {
2403
+ }), Vn = ({ context: e, labelId: t }) => {
2206
2404
  if (e.length === 0) throw Error("RelayDock context must contain at least one chip");
2207
2405
  let n = /* @__PURE__ */ new Set();
2208
- return /* @__PURE__ */ A("section", {
2406
+ return /* @__PURE__ */ O("section", {
2209
2407
  "aria-labelledby": t,
2210
2408
  className: q("context"),
2211
- children: [/* @__PURE__ */ k("h2", {
2409
+ children: [/* @__PURE__ */ D("h2", {
2212
2410
  className: q("sectionLabel"),
2213
2411
  id: t,
2214
2412
  children: "Context"
2215
- }), /* @__PURE__ */ k("ul", {
2413
+ }), /* @__PURE__ */ D("ul", {
2216
2414
  className: q("chipList"),
2217
2415
  children: e.map((e) => {
2218
2416
  let t = o(e.id, "RelayDock context chip id");
2219
2417
  if (n.has(t)) throw Error(`Duplicate RelayDock context chip id: ${t}`);
2220
- return n.add(t), /* @__PURE__ */ A("li", {
2418
+ return n.add(t), /* @__PURE__ */ O("li", {
2221
2419
  className: q("chip"),
2222
2420
  "data-rly-relay-dock-context": t,
2223
- children: [/* @__PURE__ */ k("span", {
2421
+ children: [/* @__PURE__ */ D("span", {
2224
2422
  className: q("chipLabel"),
2225
2423
  children: o(e.label, "RelayDock context chip label")
2226
- }), /* @__PURE__ */ k("span", {
2424
+ }), /* @__PURE__ */ D("span", {
2227
2425
  className: q("chipValue"),
2228
2426
  children: o(e.value, "RelayDock context chip value")
2229
2427
  })]
@@ -2231,22 +2429,22 @@ var ue = {
2231
2429
  })
2232
2430
  })]
2233
2431
  });
2234
- }, Tn = ({ labelId: e, selection: t }) => {
2235
- let n = D(), r = D();
2236
- return /* @__PURE__ */ A("section", {
2432
+ }, Hn = ({ labelId: e, selection: t }) => {
2433
+ let n = E(), r = E();
2434
+ return /* @__PURE__ */ O("section", {
2237
2435
  "aria-labelledby": e,
2238
2436
  className: q("selection"),
2239
- children: [/* @__PURE__ */ k("h2", {
2437
+ children: [/* @__PURE__ */ D("h2", {
2240
2438
  className: q("sectionLabel"),
2241
2439
  id: e,
2242
2440
  children: "Run with"
2243
- }), /* @__PURE__ */ A("div", {
2441
+ }), /* @__PURE__ */ O("div", {
2244
2442
  className: q("selectionGrid"),
2245
- children: [/* @__PURE__ */ k(ee, {
2443
+ children: [/* @__PURE__ */ D(ee, {
2246
2444
  controlId: `rly-relay-dock-profile-${n}`,
2247
2445
  label: "Profile",
2248
2446
  size: "compact",
2249
- children: (e) => /* @__PURE__ */ k(C, {
2447
+ children: (e) => /* @__PURE__ */ D(C, {
2250
2448
  ...e,
2251
2449
  ...t.profile.disabled === void 0 ? {} : { disabled: t.profile.disabled },
2252
2450
  onValueChange: t.profile.onValueChange,
@@ -2254,11 +2452,11 @@ var ue = {
2254
2452
  size: "compact",
2255
2453
  value: t.profile.value
2256
2454
  })
2257
- }), /* @__PURE__ */ k(ee, {
2455
+ }), /* @__PURE__ */ D(ee, {
2258
2456
  controlId: `rly-relay-dock-model-${r}`,
2259
2457
  label: "Model",
2260
2458
  size: "compact",
2261
- children: (e) => /* @__PURE__ */ k(C, {
2459
+ children: (e) => /* @__PURE__ */ D(C, {
2262
2460
  ...e,
2263
2461
  ...t.model.disabled === void 0 ? {} : { disabled: t.model.disabled },
2264
2462
  onValueChange: t.model.onValueChange,
@@ -2269,15 +2467,15 @@ var ue = {
2269
2467
  })]
2270
2468
  })]
2271
2469
  });
2272
- }, En = ({ state: e }) => {
2273
- if (e.status === "ready") return /* @__PURE__ */ k("section", {
2470
+ }, Un = ({ state: e }) => {
2471
+ if (e.status === "ready") return /* @__PURE__ */ D("section", {
2274
2472
  "aria-live": "polite",
2275
2473
  className: q("ready"),
2276
2474
  "data-rly-relay-dock-state": "ready",
2277
2475
  children: e.content
2278
2476
  });
2279
2477
  let t = e.status === "error" ? "assertive" : "polite", n = e.status === "loading" ? "progress" : e.status === "error" ? "critical" : "neutral";
2280
- return /* @__PURE__ */ k(ne, {
2478
+ return /* @__PURE__ */ D(ne, {
2281
2479
  action: "action" in e ? e.action : void 0,
2282
2480
  announce: t,
2283
2481
  className: q("state"),
@@ -2286,58 +2484,58 @@ var ue = {
2286
2484
  title: o(e.title, `RelayDock ${e.status} title`),
2287
2485
  tone: n
2288
2486
  });
2289
- }, Dn = ({ context: e, footer: t, selection: n, state: r }) => {
2290
- let i = D(), a = D();
2291
- return /* @__PURE__ */ A("div", {
2487
+ }, Wn = ({ context: e, footer: t, selection: n, state: r }) => {
2488
+ let i = E(), a = E();
2489
+ return /* @__PURE__ */ O("div", {
2292
2490
  className: q("contents"),
2293
2491
  "data-rly-relay-dock-scroll": "",
2294
2492
  children: [
2295
- /* @__PURE__ */ A("div", {
2493
+ /* @__PURE__ */ O("div", {
2296
2494
  className: q("fixedContext"),
2297
- children: [/* @__PURE__ */ k(wn, {
2495
+ children: [/* @__PURE__ */ D(Vn, {
2298
2496
  context: e,
2299
2497
  labelId: i
2300
- }), /* @__PURE__ */ k(Tn, {
2498
+ }), /* @__PURE__ */ D(Hn, {
2301
2499
  labelId: a,
2302
2500
  selection: n
2303
2501
  })]
2304
2502
  }),
2305
- /* @__PURE__ */ k("section", {
2503
+ /* @__PURE__ */ D("section", {
2306
2504
  "aria-label": "Relay thread",
2307
2505
  className: q("body"),
2308
2506
  tabIndex: 0,
2309
- children: /* @__PURE__ */ k(En, { state: r })
2507
+ children: /* @__PURE__ */ D(Un, { state: r })
2310
2508
  }),
2311
- t == null ? null : /* @__PURE__ */ k("footer", {
2509
+ t == null ? null : /* @__PURE__ */ D("footer", {
2312
2510
  className: q("footer"),
2313
2511
  children: t
2314
2512
  })
2315
2513
  ]
2316
2514
  });
2317
- }, On = ({ restoreDocument: e, restoreTarget: t, target: n }) => {
2318
- let r = O(!1);
2319
- return oe(() => {
2515
+ }, Gn = ({ restoreDocument: e, restoreTarget: t, target: n }) => {
2516
+ let r = ce(!1);
2517
+ return se(() => {
2320
2518
  let i = n.current;
2321
- i !== null && (r.current ||= (t.current = $t(e ?? i.ownerDocument), !0), i.focus());
2519
+ i !== null && (r.current ||= (t.current = _n(e ?? i.ownerDocument), !0), i.focus());
2322
2520
  }, [
2323
2521
  e,
2324
2522
  t,
2325
2523
  n
2326
2524
  ]), null;
2327
- }, kn = ({ children: e, modal: t, modalLayer: n }) => {
2328
- let r = O(null);
2329
- return p(), m(r, t), h(r, t), /* @__PURE__ */ k("div", {
2525
+ }, Kn = ({ children: e, modal: t, modalLayer: n }) => {
2526
+ let r = ce(null);
2527
+ return p(), m(r, t), h(r, t), /* @__PURE__ */ D("div", {
2330
2528
  className: q("layer"),
2331
2529
  "data-rly-modal-layer": n ? "" : void 0,
2332
2530
  "data-rly-relay-dock-modal": t ? "true" : "false",
2333
2531
  ref: r,
2334
2532
  children: e
2335
2533
  });
2336
- }, An = ({ closeRef: t, compactViewport: r, context: i, description: a, footer: o, headingId: s, modal: c, onClose: l, parentModalPresent: u, restoreDocument: f, restoreTargetRef: p, selection: m, state: h, title: g }) => {
2337
- let v = `${s}-description`, y = O(null);
2338
- oe(() => {
2534
+ }, qn = ({ closeRef: t, compactViewport: r, context: i, description: a, footer: o, headingId: s, modal: c, onClose: l, parentModalPresent: u, restoreDocument: f, restoreTargetRef: p, selection: m, state: h, title: g }) => {
2535
+ let v = `${s}-description`, y = ce(null);
2536
+ se(() => {
2339
2537
  let e = y.current;
2340
- if (c && e !== null) return vn(e);
2538
+ if (c && e !== null) return Fn(e);
2341
2539
  }, [c]);
2342
2540
  let b = (e) => {
2343
2541
  let t = e.currentTarget;
@@ -2348,23 +2546,23 @@ var ue = {
2348
2546
  return;
2349
2547
  }
2350
2548
  if (!c || e.key !== "Tab") return;
2351
- let n = pn(t), r = new Map(n.map(({ composedParent: e, element: t }) => [t, e])), i = (e) => {
2549
+ let n = An(t), r = new Map(n.map(({ composedParent: e, element: t }) => [t, e])), i = (e) => {
2352
2550
  let t = /* @__PURE__ */ new Set(), n = e;
2353
2551
  for (; !t.has(n);) {
2354
2552
  t.add(n);
2355
- let e = Yt(n, r);
2553
+ let e = pn(n, r);
2356
2554
  if (e === null) return null;
2357
2555
  if (_(e) && e.shadowRoot?.delegatesFocus === !0) return e;
2358
2556
  n = e;
2359
2557
  }
2360
2558
  return null;
2361
- }, a = mn(t, n, r), o = a[0] ?? t, s = a[a.length - 1] ?? t, u = Gt(t), d = new Set(a), f = u !== null && Zt(t, u) && !a.some((e) => e === u), p = (e) => {
2559
+ }, a = jn(t, n, r), o = a[0] ?? t, s = a[a.length - 1] ?? t, u = ln(t), d = new Set(a), f = u !== null && hn(t, u) && !a.some((e) => e === u), p = (e) => {
2362
2560
  let t = /* @__PURE__ */ new Set(), i = e;
2363
2561
  for (; !t.has(i);) {
2364
2562
  t.add(i);
2365
2563
  let e = n.findIndex(({ element: e }) => e === i);
2366
2564
  if (e >= 0) return e;
2367
- let a = Yt(i, r);
2565
+ let a = pn(i, r);
2368
2566
  if (a === null) return -1;
2369
2567
  i = a;
2370
2568
  }
@@ -2373,23 +2571,23 @@ var ue = {
2373
2571
  if (h < 0) return null;
2374
2572
  for (let t = h + e; t >= 0 && t < n.length; t += e) {
2375
2573
  let e = n[t]?.element;
2376
- if (e !== void 0 && d.has(e) && rn(e)) return e;
2574
+ if (e !== void 0 && d.has(e) && xn(e)) return e;
2377
2575
  }
2378
2576
  return null;
2379
- })(e.shiftKey ? -1 : 1) : null, v = m !== null && g !== null && Xt(m, g, r), y = f && !v && (g === null || !Zt(t, g)), b = e.shiftKey && (u === o || !Zt(t, u) || v || y), x = !e.shiftKey && (u === s || !Zt(t, u) || v || y);
2577
+ })(e.shiftKey ? -1 : 1) : null, v = m !== null && g !== null && mn(m, g, r), y = f && !v && (g === null || !hn(t, g)), b = e.shiftKey && (u === o || !hn(t, u) || v || y), x = !e.shiftKey && (u === s || !hn(t, u) || v || y);
2380
2578
  (b || x) && (e.preventDefault(), (v && g !== null ? g : e.shiftKey ? s : o).focus());
2381
2579
  };
2382
- return /* @__PURE__ */ k(n, { children: (n) => /* @__PURE__ */ k(ie.Root, {
2580
+ return /* @__PURE__ */ D(n, { children: (n) => /* @__PURE__ */ D(ae.Root, {
2383
2581
  container: n,
2384
- children: /* @__PURE__ */ A(kn, {
2582
+ children: /* @__PURE__ */ O(Kn, {
2385
2583
  modal: c,
2386
2584
  modalLayer: c || u,
2387
- children: [c ? /* @__PURE__ */ k("div", {
2585
+ children: [c ? /* @__PURE__ */ D("div", {
2388
2586
  "aria-hidden": "true",
2389
2587
  className: q("overlay"),
2390
2588
  "data-rly-relay-dock-overlay": "",
2391
2589
  onPointerDown: l
2392
- }) : null, /* @__PURE__ */ A("section", {
2590
+ }) : null, /* @__PURE__ */ O("section", {
2393
2591
  "aria-describedby": v,
2394
2592
  "aria-labelledby": s,
2395
2593
  "aria-modal": c ? !0 : void 0,
@@ -2400,37 +2598,37 @@ var ue = {
2400
2598
  role: c ? "dialog" : "complementary",
2401
2599
  tabIndex: -1,
2402
2600
  children: [
2403
- /* @__PURE__ */ A("header", {
2601
+ /* @__PURE__ */ O("header", {
2404
2602
  className: q("railHeader"),
2405
- children: [/* @__PURE__ */ A("div", {
2603
+ children: [/* @__PURE__ */ O("div", {
2406
2604
  className: q("railHeading"),
2407
- children: [/* @__PURE__ */ k("h1", {
2605
+ children: [/* @__PURE__ */ D("h1", {
2408
2606
  className: q("title"),
2409
2607
  id: s,
2410
2608
  children: g
2411
- }), /* @__PURE__ */ k("p", {
2609
+ }), /* @__PURE__ */ D("p", {
2412
2610
  className: q("description"),
2413
2611
  id: v,
2414
2612
  children: a
2415
2613
  })]
2416
- }), /* @__PURE__ */ k("button", {
2614
+ }), /* @__PURE__ */ D("button", {
2417
2615
  "aria-label": `Close ${g}`,
2418
2616
  className: q("close"),
2419
2617
  onClick: l,
2420
2618
  ref: t,
2421
2619
  type: "button",
2422
- children: /* @__PURE__ */ k(e, {
2620
+ children: /* @__PURE__ */ D(e, {
2423
2621
  decorative: !0,
2424
2622
  name: "close"
2425
2623
  })
2426
2624
  })]
2427
2625
  }),
2428
- /* @__PURE__ */ k(On, {
2626
+ /* @__PURE__ */ D(Gn, {
2429
2627
  restoreDocument: f,
2430
2628
  restoreTarget: p,
2431
2629
  target: t
2432
2630
  }),
2433
- /* @__PURE__ */ k(Dn, {
2631
+ /* @__PURE__ */ D(Wn, {
2434
2632
  context: i,
2435
2633
  footer: o,
2436
2634
  selection: m,
@@ -2440,55 +2638,55 @@ var ue = {
2440
2638
  })]
2441
2639
  })
2442
2640
  }) });
2443
- }, jn = (e) => {
2444
- let { className: n, context: r, defaultOpen: i = !1, description: a = "Ask in this context or prepare approval-bound work.", desktopPresentation: s = "overlay", footer: c, onOpenChange: l, open: u, ref: f, selection: p, state: m, title: h = "Relay", triggerLabel: _ = "Open Relay", ...b } = e, [x, S] = se(i), C = y(), ee = re(), ne = t(), w = (u ?? x) && ee && ne.available, T = Sn(ne.available ? ne.container.ownerDocument.defaultView : null), E = T || s === "overlay", ie = O(null), ae = O(null), ce = O(null), le = O({
2445
- modal: E,
2641
+ }, Jn = (e) => {
2642
+ let { className: n, context: r, defaultOpen: i = !1, description: a = "Ask in this context or prepare approval-bound work.", desktopPresentation: s = "overlay", footer: c, onOpenChange: l, open: u, ref: f, selection: p, state: m, title: h = "Relay", triggerLabel: _ = "Open Relay", ...b } = e, [x, S] = le(i), C = y(), ee = ie(), ne = t(), w = (u ?? x) && ee && ne.available, T = zn(ne.available ? ne.container.ownerDocument.defaultView : null), re = T || s === "overlay", ae = ce(null), oe = ce(null), ue = ce(null), de = ce({
2643
+ modal: re,
2446
2644
  open: !1
2447
- }), ue = D(), j = o(a, "RelayDock description"), de = o(h, "RelayDock title"), fe = o(_, "RelayDock triggerLabel"), pe = (e) => {
2645
+ }), fe = E(), k = o(a, "RelayDock description"), pe = o(h, "RelayDock title"), me = o(_, "RelayDock triggerLabel"), he = (e) => {
2448
2646
  u === void 0 && S(e), l?.(e);
2449
2647
  };
2450
- return oe(() => {
2451
- let e = le.current;
2452
- le.current = {
2453
- modal: E,
2648
+ return se(() => {
2649
+ let e = de.current;
2650
+ de.current = {
2651
+ modal: re,
2454
2652
  open: w
2455
- }, !e.open && w ? (g(), ae.current?.focus()) : e.open && w && e.modal !== E ? ae.current?.focus() : e.open && !w && (v(ce.current ?? ie.current), ce.current = null);
2456
- }, [E, w]), /* @__PURE__ */ A("div", {
2653
+ }, !e.open && w ? (g(), oe.current?.focus()) : e.open && w && e.modal !== re ? oe.current?.focus() : e.open && !w && (v(ue.current ?? ae.current), ue.current = null);
2654
+ }, [re, w]), /* @__PURE__ */ O("div", {
2457
2655
  ...b,
2458
2656
  className: d(q("root"), n),
2459
2657
  "data-rly-relay-dock": "",
2460
2658
  "data-rly-relay-dock-open": w ? "true" : "false",
2461
2659
  ref: f,
2462
- children: [/* @__PURE__ */ A("button", {
2660
+ children: [/* @__PURE__ */ O("button", {
2463
2661
  "aria-expanded": w,
2464
- "aria-haspopup": E ? "dialog" : void 0,
2662
+ "aria-haspopup": re ? "dialog" : void 0,
2465
2663
  className: q("trigger"),
2466
2664
  "data-rly-relay-dock-trigger": "",
2467
2665
  inert: w,
2468
2666
  onClick: (e) => {
2469
- e.currentTarget.focus(), pe(!0);
2667
+ e.currentTarget.focus(), he(!0);
2470
2668
  },
2471
- ref: ie,
2669
+ ref: ae,
2472
2670
  type: "button",
2473
- children: [/* @__PURE__ */ k(Cn, {}), /* @__PURE__ */ k("span", { children: fe })]
2474
- }), w ? /* @__PURE__ */ k(te, { children: /* @__PURE__ */ k(An, {
2475
- closeRef: ae,
2671
+ children: [/* @__PURE__ */ D(Bn, {}), /* @__PURE__ */ D("span", { children: me })]
2672
+ }), w ? /* @__PURE__ */ D(te, { children: /* @__PURE__ */ D(qn, {
2673
+ closeRef: oe,
2476
2674
  compactViewport: T,
2477
2675
  context: r,
2478
- description: j,
2676
+ description: k,
2479
2677
  footer: c,
2480
- headingId: ue,
2481
- modal: E,
2482
- onClose: () => pe(!1),
2678
+ headingId: fe,
2679
+ modal: re,
2680
+ onClose: () => he(!1),
2483
2681
  parentModalPresent: C,
2484
- restoreDocument: ie.current?.ownerDocument ?? null,
2485
- restoreTargetRef: ce,
2682
+ restoreDocument: ae.current?.ownerDocument ?? null,
2683
+ restoreTargetRef: ue,
2486
2684
  selection: p,
2487
2685
  state: m,
2488
- title: de
2686
+ title: pe
2489
2687
  }) }) : null]
2490
2688
  });
2491
- }, Mn = /^(?:--[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, Nn = /* @__PURE__ */ new Set([
2689
+ }, Yn = /^(?:--[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, Xn = /* @__PURE__ */ new Set([
2492
2690
  "auto",
2493
2691
  "default",
2494
2692
  "inherit",
@@ -2498,7 +2696,7 @@ var ue = {
2498
2696
  "revert",
2499
2697
  "revert-layer",
2500
2698
  "unset"
2501
- ]), Pn = (e) => {
2699
+ ]), Zn = (e) => {
2502
2700
  if (e === void 0) return;
2503
2701
  let t = {
2504
2702
  relay: e.relay,
@@ -2511,13 +2709,13 @@ var ue = {
2511
2709
  ], r = /* @__PURE__ */ new Set();
2512
2710
  for (let [e, t] of n) {
2513
2711
  let n = o(t, `Release transition ${e} name`);
2514
- if (n === "root" || Nn.has(n.toLowerCase())) throw Error(`Release transition ${e} name must not use a reserved CSS value: ${n}`);
2515
- if (!Mn.test(n)) throw Error(`Release transition ${e} name must be a valid unescaped CSS custom identifier: ${n}`);
2712
+ if (n === "root" || Xn.has(n.toLowerCase())) throw Error(`Release transition ${e} name must not use a reserved CSS value: ${n}`);
2713
+ if (!Yn.test(n)) throw Error(`Release transition ${e} name must be a valid unescaped CSS custom identifier: ${n}`);
2516
2714
  if (r.has(n)) throw Error(`Release transition names must be unique: ${n}`);
2517
2715
  r.add(n);
2518
2716
  }
2519
2717
  return Object.freeze(t);
2520
- }, Fn = {
2718
+ }, Qn = {
2521
2719
  blocked: !0,
2522
2720
  ready: !0,
2523
2721
  deploying: !0,
@@ -2525,8 +2723,8 @@ var ue = {
2525
2723
  shipped: !0,
2526
2724
  held: !0,
2527
2725
  unknown: !0
2528
- }, In = (e) => {
2529
- if (o(e.id, "Release presentation id"), o(e.version, "Release presentation version"), o(e.codename, "Release presentation codename"), o(e.algorithm, "Release presentation algorithm"), o(e.verdict, "Release presentation verdict"), o(e.reason, "Release presentation reason"), !Object.hasOwn(Fn, e.state)) throw Error("Release presentation state must be supported");
2726
+ }, $n = (e) => {
2727
+ if (o(e.id, "Release presentation id"), o(e.version, "Release presentation version"), o(e.codename, "Release presentation codename"), o(e.algorithm, "Release presentation algorithm"), o(e.verdict, "Release presentation verdict"), o(e.reason, "Release presentation reason"), !Object.hasOwn(Qn, e.state)) throw Error("Release presentation state must be supported");
2530
2728
  e.freshnessDateTime !== void 0 && (o(e.freshnessDateTime, "Release presentation freshnessDateTime"), o(e.freshnessTime, "Release presentation freshnessTime"));
2531
2729
  let t = /* @__PURE__ */ new Set();
2532
2730
  for (let n of e.facts) {
@@ -2535,7 +2733,7 @@ var ue = {
2535
2733
  t.add(e), o(n.label, `Release presentation fact label for ${e}`), o(n.value, `Release presentation fact value for ${e}`);
2536
2734
  }
2537
2735
  return e;
2538
- }, Ln = {
2736
+ }, er = {
2539
2737
  root: "rly_ReleaseRelay-module__root",
2540
2738
  tiles: "rly_ReleaseRelay-module__tiles",
2541
2739
  handoff: "rly_ReleaseRelay-module__handoff",
@@ -2544,9 +2742,10 @@ var ue = {
2544
2742
  identity: "rly_ReleaseRelay-module__identity",
2545
2743
  codename: "rly_ReleaseRelay-module__codename",
2546
2744
  algorithm: "rly_ReleaseRelay-module__algorithm",
2745
+ algorithmValue: "rly_ReleaseRelay-module__algorithmValue",
2547
2746
  compact: "rly_ReleaseRelay-module__compact",
2548
2747
  hero: "rly_ReleaseRelay-module__hero"
2549
- }, J = (e) => c(Ln, e), Rn = l({
2748
+ }, J = (e) => c(er, e), tr = l({
2550
2749
  0: { name: "orbit" },
2551
2750
  1: { name: "split" },
2552
2751
  2: { name: "brace" },
@@ -2563,7 +2762,7 @@ var ue = {
2563
2762
  13: { name: "spark" },
2564
2763
  14: { name: "stack" },
2565
2764
  15: { name: "compass" }
2566
- }), zn = l({ size: {
2765
+ }), nr = l({ size: {
2567
2766
  compact: {
2568
2767
  className: J("compact"),
2569
2768
  purpose: "Release rows and compact previews",
@@ -2583,7 +2782,7 @@ var ue = {
2583
2782
  "type-card-title"
2584
2783
  ]
2585
2784
  }
2586
- } }), Bn = l({ size: "compact" }), Vn = {
2785
+ } }), rr = l({ size: "compact" }), ir = {
2587
2786
  0: "M12 4a8 8 0 1 1-6.9 4M5.1 8H9V4.1",
2588
2787
  1: "M5 5v4c0 2 1 3 3 3h8c2 0 3 1 3 3v4M12 12V5",
2589
2788
  2: "M9 4H7v5l-3 3 3 3v5h2M15 4h2v5l3 3-3 3v5h-2",
@@ -2600,7 +2799,7 @@ var ue = {
2600
2799
  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",
2601
2800
  14: "m4 8 8-4 8 4-8 4Zm0 4 8 4 8-4M4 16l8 4 8-4",
2602
2801
  15: "m12 3 3 6 6 3-6 3-3 6-3-6-6-3 6-3Zm0 6v6M9 12h6"
2603
- }, Hn = (e) => {
2802
+ }, ar = (e) => {
2604
2803
  if (e.length !== 3) throw Error("ReleaseRelay symbolIndices must contain exactly three indices");
2605
2804
  let t = /* @__PURE__ */ new Set();
2606
2805
  for (let n of e) {
@@ -2609,32 +2808,32 @@ var ue = {
2609
2808
  t.add(n);
2610
2809
  }
2611
2810
  return e;
2612
- }, Un = ({ algorithm: e, className: t, codename: n, size: r = "compact", symbolIndices: i, ...a }) => {
2613
- let s = o(e, "ReleaseRelay algorithm"), c = o(n, "ReleaseRelay codename"), l = Hn(i), u = `Release relay, ${c}, symbols ${l.map((e) => Rn[e].name).join(", ")}.`;
2614
- return /* @__PURE__ */ A("figure", {
2811
+ }, or = ({ algorithm: e, className: t, codename: n, size: r = "compact", symbolIndices: i, ...a }) => {
2812
+ let s = o(e, "ReleaseRelay algorithm"), c = o(n, "ReleaseRelay codename"), l = ar(i), u = `Release relay, ${c}, symbols ${l.map((e) => tr[e].name).join(", ")}.`;
2813
+ return /* @__PURE__ */ O("figure", {
2615
2814
  ...a,
2616
- className: d(J("root"), zn.size[r].className, t),
2815
+ className: d(J("root"), nr.size[r].className, t),
2617
2816
  "data-rly-release-relay-size": r,
2618
- children: [/* @__PURE__ */ A("span", {
2817
+ children: [/* @__PURE__ */ O("span", {
2619
2818
  "aria-label": u,
2620
2819
  className: J("tiles"),
2621
2820
  role: "img",
2622
- children: [/* @__PURE__ */ k("span", {
2821
+ children: [/* @__PURE__ */ D("span", {
2623
2822
  "aria-hidden": "true",
2624
2823
  className: J("handoff"),
2625
2824
  "data-rly-release-relay-handoff": ""
2626
- }), l.map((e, t) => /* @__PURE__ */ k("span", {
2825
+ }), l.map((e, t) => /* @__PURE__ */ D("span", {
2627
2826
  "aria-hidden": "true",
2628
2827
  className: J("tile"),
2629
2828
  "data-rly-release-relay-position": t,
2630
2829
  "data-rly-release-symbol-index": e,
2631
- "data-rly-release-symbol-name": Rn[e].name,
2632
- children: /* @__PURE__ */ k("svg", {
2830
+ "data-rly-release-symbol-name": tr[e].name,
2831
+ children: /* @__PURE__ */ D("svg", {
2633
2832
  className: J("glyph"),
2634
2833
  focusable: "false",
2635
2834
  viewBox: "0 0 24 24",
2636
- children: /* @__PURE__ */ k("path", {
2637
- d: Vn[e],
2835
+ children: /* @__PURE__ */ D("path", {
2836
+ d: ir[e],
2638
2837
  fill: "none",
2639
2838
  stroke: "currentColor",
2640
2839
  strokeLinecap: "round",
@@ -2644,18 +2843,21 @@ var ue = {
2644
2843
  })
2645
2844
  })
2646
2845
  }, e))]
2647
- }), /* @__PURE__ */ A("figcaption", {
2846
+ }), /* @__PURE__ */ O("figcaption", {
2648
2847
  className: J("identity"),
2649
- children: [/* @__PURE__ */ k("span", {
2848
+ children: [/* @__PURE__ */ D("span", {
2650
2849
  className: J("codename"),
2651
2850
  children: c
2652
- }), /* @__PURE__ */ A("span", {
2851
+ }), /* @__PURE__ */ O("span", {
2653
2852
  className: J("algorithm"),
2654
- children: ["Identity algorithm: ", s]
2853
+ children: ["Identity algorithm: ", /* @__PURE__ */ D("code", {
2854
+ className: J("algorithmValue"),
2855
+ children: s
2856
+ })]
2655
2857
  })]
2656
2858
  })]
2657
2859
  });
2658
- }, Wn = {
2860
+ }, sr = {
2659
2861
  body: "rly_ReleasePreview-module__body",
2660
2862
  summary: "rly_ReleasePreview-module__summary",
2661
2863
  releaseMeta: "rly_ReleasePreview-module__releaseMeta",
@@ -2675,26 +2877,26 @@ var ue = {
2675
2877
  sheetFooter: "rly_ReleasePreview-module__sheetFooter",
2676
2878
  dialogClose: "rly_ReleasePreview-module__dialogClose",
2677
2879
  fullViewButton: "rly_ReleasePreview-module__fullViewButton"
2678
- }, Y = (e) => c(Wn, e), Gn = ({ agentEntry: e, collaborators: t, entryMotion: n = "intrinsic", evidence: r, onOpenChange: i, onOpenFullView: a, open: s, openFullViewLabel: c = "Open full view", presentation: l = "dialog", primaryAction: u, release: d, stages: p, transitionNames: m, workset: h }) => {
2679
- let g = In(d), _ = Pn(m), v = o(c, "ReleasePreview openFullViewLabel"), y = O(null), x = g.freshnessDateTime === void 0 ? /* @__PURE__ */ k(R, { state: g.freshness }) : /* @__PURE__ */ k(R, {
2880
+ }, Y = (e) => c(sr, e), cr = ({ agentEntry: e, collaborators: t, entryMotion: n = "intrinsic", evidence: r, onOpenChange: i, onOpenFullView: a, open: s, openFullViewLabel: c = "Open full view", presentation: l = "dialog", primaryAction: u, release: d, stages: p, transitionNames: m, workset: h }) => {
2881
+ let g = $n(d), _ = Zn(m), v = o(c, "ReleasePreview openFullViewLabel"), y = ce(null), x = g.freshnessDateTime === void 0 ? /* @__PURE__ */ D(L, { state: g.freshness }) : /* @__PURE__ */ D(L, {
2680
2882
  dateTime: g.freshnessDateTime,
2681
2883
  state: g.freshness,
2682
2884
  time: g.freshnessTime
2683
- }), S = `Release preview: ${g.version} ${g.codename}`, C = /* @__PURE__ */ A("div", {
2885
+ }), S = `Release preview: ${g.version} ${g.codename}`, C = /* @__PURE__ */ O("div", {
2684
2886
  className: Y("body"),
2685
2887
  "data-rly-release-preview-presentation": l,
2686
2888
  "data-rly-release-state": g.state,
2687
2889
  children: [
2688
- /* @__PURE__ */ A("section", {
2890
+ /* @__PURE__ */ O("section", {
2689
2891
  "aria-label": "Release summary",
2690
2892
  className: Y("summary"),
2691
2893
  "data-rly-release-preview-summary": "",
2692
2894
  ref: y,
2693
2895
  tabIndex: -1,
2694
2896
  children: [
2695
- /* @__PURE__ */ A("div", {
2897
+ /* @__PURE__ */ O("div", {
2696
2898
  className: Y("identityRow"),
2697
- children: [/* @__PURE__ */ k(Un, {
2899
+ children: [/* @__PURE__ */ D(or, {
2698
2900
  algorithm: g.algorithm,
2699
2901
  codename: g.codename,
2700
2902
  "data-rly-release-transition-name": _?.relay,
@@ -2702,9 +2904,9 @@ var ue = {
2702
2904
  size: "hero",
2703
2905
  style: _ === void 0 ? void 0 : { viewTransitionName: _.relay },
2704
2906
  symbolIndices: g.symbolIndices
2705
- }), /* @__PURE__ */ A("div", {
2907
+ }), /* @__PURE__ */ O("div", {
2706
2908
  className: Y("releaseMeta"),
2707
- children: [/* @__PURE__ */ k("p", {
2909
+ children: [/* @__PURE__ */ D("p", {
2708
2910
  className: Y("version"),
2709
2911
  "data-rly-release-transition-name": _?.version,
2710
2912
  "data-rly-release-transition-part": "version",
@@ -2713,31 +2915,31 @@ var ue = {
2713
2915
  }), x]
2714
2916
  })]
2715
2917
  }),
2716
- /* @__PURE__ */ A("div", {
2918
+ /* @__PURE__ */ O("div", {
2717
2919
  className: Y("people"),
2718
- children: [/* @__PURE__ */ A("div", {
2920
+ children: [/* @__PURE__ */ O("div", {
2719
2921
  className: Y("personGroup"),
2720
- children: [/* @__PURE__ */ k("span", {
2922
+ children: [/* @__PURE__ */ D("span", {
2721
2923
  className: Y("eyebrow"),
2722
2924
  children: "Owner"
2723
- }), g.owner === void 0 ? /* @__PURE__ */ k("span", {
2925
+ }), g.owner === void 0 ? /* @__PURE__ */ D("span", {
2724
2926
  className: Y("unassigned"),
2725
2927
  "data-rly-release-owner": "unassigned",
2726
2928
  children: "Unassigned"
2727
- }) : /* @__PURE__ */ k(I, { person: g.owner })]
2728
- }), /* @__PURE__ */ A("div", {
2929
+ }) : /* @__PURE__ */ D(P, { person: g.owner })]
2930
+ }), /* @__PURE__ */ O("div", {
2729
2931
  className: Y("personGroup"),
2730
- children: [/* @__PURE__ */ k("span", {
2932
+ children: [/* @__PURE__ */ D("span", {
2731
2933
  className: Y("eyebrow"),
2732
2934
  children: "Approver"
2733
- }), g.approver === void 0 ? /* @__PURE__ */ k("span", {
2935
+ }), g.approver === void 0 ? /* @__PURE__ */ D("span", {
2734
2936
  className: Y("unassigned"),
2735
2937
  "data-rly-release-approver": "unassigned",
2736
2938
  children: "Unassigned"
2737
- }) : /* @__PURE__ */ k(I, { person: g.approver })]
2939
+ }) : /* @__PURE__ */ D(P, { person: g.approver })]
2738
2940
  })]
2739
2941
  }),
2740
- /* @__PURE__ */ k(lt, {
2942
+ /* @__PURE__ */ D(ht, {
2741
2943
  "data-rly-release-transition-name": _?.verdict,
2742
2944
  "data-rly-release-transition-part": "verdict",
2743
2945
  reason: g.reason,
@@ -2745,95 +2947,95 @@ var ue = {
2745
2947
  tone: g.tone,
2746
2948
  verdict: g.verdict
2747
2949
  }),
2748
- /* @__PURE__ */ k("dl", {
2950
+ /* @__PURE__ */ D("dl", {
2749
2951
  className: Y("facts"),
2750
- children: g.facts.map((e) => /* @__PURE__ */ A("div", {
2952
+ children: g.facts.map((e) => /* @__PURE__ */ O("div", {
2751
2953
  className: Y("fact"),
2752
- children: [/* @__PURE__ */ k("dt", { children: e.label }), /* @__PURE__ */ k("dd", { children: e.value })]
2954
+ children: [/* @__PURE__ */ D("dt", { children: e.label }), /* @__PURE__ */ D("dd", { children: e.value })]
2753
2955
  }, e.id))
2754
2956
  })
2755
2957
  ]
2756
2958
  }),
2757
- t === void 0 ? null : /* @__PURE__ */ k("div", {
2959
+ t === void 0 ? null : /* @__PURE__ */ D("div", {
2758
2960
  className: Y("slot"),
2759
2961
  "data-rly-release-preview-slot": "collaborators",
2760
2962
  children: t
2761
2963
  }),
2762
- /* @__PURE__ */ k("div", {
2964
+ /* @__PURE__ */ D("div", {
2763
2965
  className: Y("slot"),
2764
2966
  "data-rly-release-preview-slot": "primary-action",
2765
2967
  children: u
2766
2968
  }),
2767
- /* @__PURE__ */ k("div", {
2969
+ /* @__PURE__ */ D("div", {
2768
2970
  className: Y("slot"),
2769
2971
  "data-rly-release-preview-slot": "stages",
2770
2972
  children: p
2771
2973
  }),
2772
- /* @__PURE__ */ k("div", {
2974
+ /* @__PURE__ */ D("div", {
2773
2975
  className: Y("slot"),
2774
2976
  "data-rly-release-preview-slot": "workset",
2775
2977
  children: h
2776
2978
  }),
2777
- /* @__PURE__ */ k("div", {
2979
+ /* @__PURE__ */ D("div", {
2778
2980
  className: Y("slot"),
2779
2981
  "data-rly-release-preview-slot": "evidence",
2780
2982
  children: r
2781
2983
  }),
2782
- /* @__PURE__ */ k("div", {
2984
+ /* @__PURE__ */ D("div", {
2783
2985
  className: Y("slot"),
2784
2986
  "data-rly-release-preview-slot": "agent-entry",
2785
2987
  children: e
2786
2988
  })
2787
2989
  ]
2788
- }), ee = /* @__PURE__ */ k(b, {
2990
+ }), ee = /* @__PURE__ */ D(b, {
2789
2991
  className: Y("fullViewButton"),
2790
2992
  onClick: a,
2791
2993
  size: "default",
2792
2994
  variant: "secondary",
2793
2995
  children: v
2794
2996
  });
2795
- return l === "sheet" ? /* @__PURE__ */ k(f.Root, {
2997
+ return l === "sheet" ? /* @__PURE__ */ D(f.Root, {
2796
2998
  onOpenChange: i,
2797
2999
  open: s,
2798
- children: /* @__PURE__ */ A(f.Content, {
3000
+ children: /* @__PURE__ */ O(f.Content, {
2799
3001
  entryMotion: n,
2800
3002
  initialFocusRef: y,
2801
3003
  title: S,
2802
- children: [/* @__PURE__ */ k(f.Body, {
3004
+ children: [/* @__PURE__ */ D(f.Body, {
2803
3005
  "data-rly-release-preview-scroll": "sheet",
2804
3006
  children: C
2805
- }), /* @__PURE__ */ k(f.Footer, {
3007
+ }), /* @__PURE__ */ D(f.Footer, {
2806
3008
  className: Y("sheetFooter"),
2807
3009
  "data-rly-release-preview-footer": "sheet",
2808
3010
  children: ee
2809
3011
  })]
2810
3012
  })
2811
- }) : /* @__PURE__ */ k(w.Root, {
3013
+ }) : /* @__PURE__ */ D(w.Root, {
2812
3014
  onOpenChange: i,
2813
3015
  open: s,
2814
- children: /* @__PURE__ */ k(w.Content, {
3016
+ children: /* @__PURE__ */ D(w.Content, {
2815
3017
  className: Y("dialogSurface"),
2816
3018
  entryMotion: n,
2817
3019
  initialFocusRef: y,
2818
3020
  size: "wide",
2819
3021
  title: S,
2820
- children: /* @__PURE__ */ A("div", {
3022
+ children: /* @__PURE__ */ O("div", {
2821
3023
  className: Y("dialogFrame"),
2822
3024
  children: [
2823
- /* @__PURE__ */ k("div", {
3025
+ /* @__PURE__ */ D("div", {
2824
3026
  className: Y("dialogClose"),
2825
- children: /* @__PURE__ */ k(w.Close, {
3027
+ children: /* @__PURE__ */ D(w.Close, {
2826
3028
  size: "compact",
2827
3029
  variant: "quiet",
2828
3030
  children: "Close preview"
2829
3031
  })
2830
3032
  }),
2831
- /* @__PURE__ */ k("div", {
3033
+ /* @__PURE__ */ D("div", {
2832
3034
  className: Y("dialogScroll"),
2833
3035
  "data-rly-release-preview-scroll": "dialog",
2834
3036
  children: C
2835
3037
  }),
2836
- /* @__PURE__ */ k("footer", {
3038
+ /* @__PURE__ */ D("footer", {
2837
3039
  className: Y("dialogFooter"),
2838
3040
  "data-rly-release-preview-footer": "dialog",
2839
3041
  children: ee
@@ -2842,7 +3044,7 @@ var ue = {
2842
3044
  })
2843
3045
  })
2844
3046
  });
2845
- }, Kn = {
3047
+ }, lr = {
2846
3048
  root: "rly_ReleaseRow-module__root",
2847
3049
  identity: "rly_ReleaseRow-module__identity",
2848
3050
  verdictBlock: "rly_ReleaseRow-module__verdictBlock",
@@ -2858,26 +3060,26 @@ var ue = {
2858
3060
  facts: "rly_ReleaseRow-module__facts",
2859
3061
  agentEntry: "rly_ReleaseRow-module__agentEntry",
2860
3062
  previewButton: "rly_ReleaseRow-module__previewButton"
2861
- }, X = (e) => c(Kn, e), qn = ({ agentEntry: e, className: t, onPreview: n, previewLabel: r = "Preview release", release: i, transitionNames: a, ...s }) => {
2862
- let c = In(i), l = Pn(a), u = o(r, "ReleaseRow previewLabel"), f = `rly-release-row-verdict-${D()}`, p = c.freshnessDateTime === void 0 ? /* @__PURE__ */ k(R, {
3063
+ }, X = (e) => c(lr, e), ur = ({ agentEntry: e, className: t, onPreview: n, previewLabel: r = "Preview release", release: i, transitionNames: a, ...s }) => {
3064
+ let c = $n(i), l = Zn(a), u = o(r, "ReleaseRow previewLabel"), f = `rly-release-row-verdict-${E()}`, p = c.freshnessDateTime === void 0 ? /* @__PURE__ */ D(L, {
2863
3065
  size: "compact",
2864
3066
  state: c.freshness
2865
- }) : /* @__PURE__ */ k(R, {
3067
+ }) : /* @__PURE__ */ D(L, {
2866
3068
  dateTime: c.freshnessDateTime,
2867
3069
  size: "compact",
2868
3070
  state: c.freshness,
2869
3071
  time: c.freshnessTime
2870
3072
  });
2871
- return /* @__PURE__ */ A("article", {
3073
+ return /* @__PURE__ */ O("article", {
2872
3074
  ...s,
2873
3075
  className: d(X("root"), t),
2874
3076
  "data-rly-release-id": c.id,
2875
3077
  "data-rly-release-state": c.state,
2876
3078
  children: [
2877
- /* @__PURE__ */ A("div", {
3079
+ /* @__PURE__ */ O("div", {
2878
3080
  className: X("identity"),
2879
3081
  children: [
2880
- /* @__PURE__ */ k(Un, {
3082
+ /* @__PURE__ */ D(or, {
2881
3083
  algorithm: c.algorithm,
2882
3084
  codename: c.codename,
2883
3085
  "data-rly-release-transition-name": l?.relay,
@@ -2886,7 +3088,7 @@ var ue = {
2886
3088
  style: l === void 0 ? void 0 : { viewTransitionName: l.relay },
2887
3089
  symbolIndices: c.symbolIndices
2888
3090
  }),
2889
- /* @__PURE__ */ k("p", {
3091
+ /* @__PURE__ */ D("p", {
2890
3092
  className: X("version"),
2891
3093
  "data-rly-release-transition-name": l?.version,
2892
3094
  "data-rly-release-transition-part": "version",
@@ -2896,70 +3098,70 @@ var ue = {
2896
3098
  p
2897
3099
  ]
2898
3100
  }),
2899
- /* @__PURE__ */ A("section", {
3101
+ /* @__PURE__ */ O("section", {
2900
3102
  "aria-labelledby": f,
2901
3103
  className: X("verdictBlock"),
2902
3104
  "data-rly-release-transition-name": l?.verdict,
2903
3105
  "data-rly-release-transition-part": "verdict",
2904
3106
  style: l === void 0 ? void 0 : { viewTransitionName: l.verdict },
2905
- children: [/* @__PURE__ */ k("h2", {
3107
+ children: [/* @__PURE__ */ D("h2", {
2906
3108
  className: X("verdict"),
2907
3109
  id: f,
2908
3110
  children: c.verdict
2909
- }), /* @__PURE__ */ k("p", {
3111
+ }), /* @__PURE__ */ D("p", {
2910
3112
  className: X("reason"),
2911
3113
  children: c.reason
2912
3114
  })]
2913
3115
  }),
2914
- /* @__PURE__ */ A("div", {
3116
+ /* @__PURE__ */ O("div", {
2915
3117
  className: X("people"),
2916
- children: [/* @__PURE__ */ A("div", {
3118
+ children: [/* @__PURE__ */ O("div", {
2917
3119
  className: X("personGroup"),
2918
- children: [/* @__PURE__ */ k("span", {
3120
+ children: [/* @__PURE__ */ D("span", {
2919
3121
  className: X("eyebrow"),
2920
3122
  children: "Owner"
2921
- }), c.owner === void 0 ? /* @__PURE__ */ k("span", {
3123
+ }), c.owner === void 0 ? /* @__PURE__ */ D("span", {
2922
3124
  className: X("unassigned"),
2923
3125
  "data-rly-release-owner": "unassigned",
2924
3126
  children: "Unassigned"
2925
- }) : /* @__PURE__ */ k(I, {
3127
+ }) : /* @__PURE__ */ D(P, {
2926
3128
  person: c.owner,
2927
3129
  size: "compact"
2928
3130
  })]
2929
- }), c.approver === void 0 ? null : /* @__PURE__ */ A("div", {
3131
+ }), c.approver === void 0 ? null : /* @__PURE__ */ O("div", {
2930
3132
  className: X("personGroup"),
2931
- children: [/* @__PURE__ */ k("span", {
3133
+ children: [/* @__PURE__ */ D("span", {
2932
3134
  className: X("eyebrow"),
2933
3135
  children: "Approver"
2934
- }), /* @__PURE__ */ k(I, {
3136
+ }), /* @__PURE__ */ D(P, {
2935
3137
  person: c.approver,
2936
3138
  size: "compact"
2937
3139
  })]
2938
3140
  })]
2939
3141
  }),
2940
- /* @__PURE__ */ k("dl", {
3142
+ /* @__PURE__ */ D("dl", {
2941
3143
  className: X("facts"),
2942
- children: c.facts.map((e) => /* @__PURE__ */ A("div", {
3144
+ children: c.facts.map((e) => /* @__PURE__ */ O("div", {
2943
3145
  className: X("fact"),
2944
3146
  "data-rly-release-fact": e.id,
2945
- children: [/* @__PURE__ */ k("dt", { children: e.label }), /* @__PURE__ */ k("dd", { children: e.value })]
3147
+ children: [/* @__PURE__ */ D("dt", { children: e.label }), /* @__PURE__ */ D("dd", { children: e.value })]
2946
3148
  }, e.id))
2947
3149
  }),
2948
- /* @__PURE__ */ A("div", {
3150
+ /* @__PURE__ */ O("div", {
2949
3151
  className: X("actions"),
2950
- children: [/* @__PURE__ */ k(b, {
3152
+ children: [/* @__PURE__ */ D(b, {
2951
3153
  className: X("previewButton"),
2952
3154
  onClick: n,
2953
3155
  size: "default",
2954
3156
  children: u
2955
- }), e === void 0 ? null : /* @__PURE__ */ k("div", {
3157
+ }), e === void 0 ? null : /* @__PURE__ */ D("div", {
2956
3158
  className: X("agentEntry"),
2957
3159
  children: e
2958
3160
  })]
2959
3161
  })
2960
3162
  ]
2961
3163
  });
2962
- }, Jn = {
3164
+ }, dr = {
2963
3165
  root: "rly_StageRail-module__root",
2964
3166
  heading: "rly_StageRail-module__heading",
2965
3167
  list: "rly_StageRail-module__list",
@@ -2972,8 +3174,13 @@ var ue = {
2972
3174
  empty: "rly_StageRail-module__empty",
2973
3175
  compact: "rly_StageRail-module__compact",
2974
3176
  defaultSize: "rly_StageRail-module__defaultSize",
2975
- long: "rly_StageRail-module__long"
2976
- }, Z = (e) => c(Jn, e), Yn = l({ size: {
3177
+ long: "rly_StageRail-module__long",
3178
+ words: "rly_StageRail-module__words",
3179
+ wordList: "rly_StageRail-module__wordList",
3180
+ word: "rly_StageRail-module__word",
3181
+ wordState: "rly_StageRail-module__wordState",
3182
+ wordReason: "rly_StageRail-module__wordReason"
3183
+ }, Z = (e) => c(dr, e), fr = l({ size: {
2977
3184
  compact: {
2978
3185
  className: Z("compact"),
2979
3186
  purpose: "Dense release and entity stage summaries",
@@ -2993,8 +3200,19 @@ var ue = {
2993
3200
  "type-card-title",
2994
3201
  "type-body"
2995
3202
  ]
3203
+ },
3204
+ words: {
3205
+ className: Z("words"),
3206
+ purpose: "Stages as one line of words inside a row or fact (no markers, chips or owners); only blocking and held states take ink",
3207
+ tokens: [
3208
+ "type-meta",
3209
+ "color-text-1",
3210
+ "color-text-2",
3211
+ "color-blocked-ink",
3212
+ "color-held-ink"
3213
+ ]
2996
3214
  }
2997
- } }), Xn = l({ size: "default" }), Zn = (e) => {
3215
+ } }), pr = l({ size: "default" }), mr = (e) => {
2998
3216
  let t = /* @__PURE__ */ new Set();
2999
3217
  for (let n of e) {
3000
3218
  let e = o(n.id, "StageRail stage id");
@@ -3002,54 +3220,75 @@ var ue = {
3002
3220
  t.add(e);
3003
3221
  }
3004
3222
  return e;
3005
- }, Qn = ({ className: e, emptyLabel: t = "No stages recorded.", heading: n, size: r = "default", stages: i, ...a }) => {
3006
- let s = o(n, "StageRail heading"), c = o(t, "StageRail emptyLabel"), l = Zn(i), u = `rly-stage-rail-${D()}`;
3007
- return /* @__PURE__ */ A("section", {
3223
+ }, hr = (e) => e === "critical" ? "blocked" : e === "caution" ? "held" : "quiet", gr = ({ className: e, emptyLabel: t = "No stages recorded.", heading: n, size: r = "default", stages: i, ...a }) => {
3224
+ let s = o(n, "StageRail heading"), c = o(t, "StageRail emptyLabel"), l = mr(i), u = `rly-stage-rail-${E()}`;
3225
+ return /* @__PURE__ */ O("section", {
3008
3226
  ...a,
3009
- "aria-labelledby": u,
3010
- className: d(Z("root"), Yn.size[r].className, l.length > 6 && Z("long"), e),
3227
+ "aria-labelledby": r === "words" ? void 0 : u,
3228
+ className: d(Z("root"), fr.size[r].className, l.length > 6 && Z("long"), e),
3011
3229
  "data-rly-stage-rail-size": r,
3012
- children: [/* @__PURE__ */ k("h2", {
3230
+ children: [r === "words" ? null : /* @__PURE__ */ D("h2", {
3013
3231
  className: Z("heading"),
3014
3232
  id: u,
3015
3233
  children: s
3016
- }), l.length === 0 ? /* @__PURE__ */ k("p", {
3234
+ }), l.length === 0 ? /* @__PURE__ */ D("p", {
3017
3235
  className: Z("empty"),
3018
3236
  children: c
3019
- }) : /* @__PURE__ */ k("ol", {
3237
+ }) : r === "words" ? /* @__PURE__ */ D("ol", {
3238
+ "aria-label": s,
3239
+ className: Z("wordList"),
3240
+ children: l.map((e, t) => /* @__PURE__ */ O("li", {
3241
+ className: Z("word"),
3242
+ "data-rly-stage-id": e.id,
3243
+ children: [
3244
+ e.name,
3245
+ " ",
3246
+ /* @__PURE__ */ D("span", {
3247
+ className: Z("wordState"),
3248
+ "data-rly-stage-word": hr(e.tone),
3249
+ children: e.state
3250
+ }),
3251
+ e.reason === void 0 ? null : /* @__PURE__ */ O("span", {
3252
+ className: Z("wordReason"),
3253
+ children: [": ", e.reason]
3254
+ }),
3255
+ t === l.length - 1 ? null : ","
3256
+ ]
3257
+ }, e.id))
3258
+ }) : /* @__PURE__ */ D("ol", {
3020
3259
  className: Z("list"),
3021
- children: l.map((e, t) => /* @__PURE__ */ A("li", {
3260
+ children: l.map((e, t) => /* @__PURE__ */ O("li", {
3022
3261
  className: Z("item"),
3023
3262
  "data-rly-stage-id": e.id,
3024
3263
  children: [
3025
- /* @__PURE__ */ k("span", {
3264
+ /* @__PURE__ */ D("span", {
3026
3265
  "aria-hidden": "true",
3027
3266
  className: Z("marker"),
3028
3267
  "data-rly-stage-marker": "",
3029
3268
  children: t + 1
3030
3269
  }),
3031
- t === l.length - 1 ? null : /* @__PURE__ */ k("span", {
3270
+ t === l.length - 1 ? null : /* @__PURE__ */ D("span", {
3032
3271
  "aria-hidden": "true",
3033
3272
  className: Z("connector"),
3034
3273
  "data-rly-stage-connector": ""
3035
3274
  }),
3036
- /* @__PURE__ */ A("div", {
3275
+ /* @__PURE__ */ O("div", {
3037
3276
  className: Z("content"),
3038
3277
  children: [
3039
- /* @__PURE__ */ k("h3", {
3278
+ /* @__PURE__ */ D("h3", {
3040
3279
  className: Z("name"),
3041
3280
  children: e.name
3042
3281
  }),
3043
- /* @__PURE__ */ k(T, {
3282
+ /* @__PURE__ */ D(T, {
3044
3283
  label: e.state,
3045
- size: r === "compact" ? "compact" : "default",
3284
+ size: r === "default" ? "default" : "compact",
3046
3285
  tone: e.tone
3047
3286
  }),
3048
- e.reason === void 0 ? null : /* @__PURE__ */ k("p", {
3287
+ e.reason === void 0 ? null : /* @__PURE__ */ D("p", {
3049
3288
  className: Z("reason"),
3050
3289
  children: e.reason
3051
3290
  }),
3052
- e.owner === void 0 ? null : /* @__PURE__ */ k(I, {
3291
+ e.owner === void 0 ? null : /* @__PURE__ */ D(P, {
3053
3292
  person: e.owner,
3054
3293
  size: r
3055
3294
  })
@@ -3059,7 +3298,7 @@ var ue = {
3059
3298
  }, e.id))
3060
3299
  })]
3061
3300
  });
3062
- }, $n = {
3301
+ }, _r = {
3063
3302
  root: "rly_TimelineRow-module__root",
3064
3303
  time: "rly_TimelineRow-module__time",
3065
3304
  marker: "rly_TimelineRow-module__marker",
@@ -3071,64 +3310,93 @@ var ue = {
3071
3310
  link: "rly_TimelineRow-module__link",
3072
3311
  detail: "rly_TimelineRow-module__detail",
3073
3312
  actorKind: "rly_TimelineRow-module__actorKind",
3074
- actor: "rly_TimelineRow-module__actor"
3075
- }, Q = (e) => c($n, e), er = {
3313
+ actor: "rly_TimelineRow-module__actor",
3314
+ markAuto: "rly_TimelineRow-module__markAuto",
3315
+ markApproved: "rly_TimelineRow-module__markApproved",
3316
+ markPending: "rly_TimelineRow-module__markPending",
3317
+ markUnknown: "rly_TimelineRow-module__markUnknown",
3318
+ markFlag: "rly_TimelineRow-module__markFlag",
3319
+ provenance: "rly_TimelineRow-module__provenance",
3320
+ key: "rly_TimelineRow-module__key",
3321
+ keyItem: "rly_TimelineRow-module__keyItem"
3322
+ }, Q = (e) => c(_r, e), vr = {
3076
3323
  human: "Human",
3077
3324
  agent: "Agent",
3078
3325
  plugin: "Plugin",
3079
3326
  system: "System"
3080
- }, tr = (e) => {
3081
- if (o(e.id, "TimelineRow event id"), o(e.title, "TimelineRow event title"), o(e.detail, "TimelineRow event detail"), o(e.dateTime, "TimelineRow event dateTime"), o(e.time, "TimelineRow event time"), e.href !== void 0 && o(e.href, "TimelineRow event href"), !Object.hasOwn(er, e.actorKind)) throw Error("TimelineRow event actorKind must be human, agent, plugin, or system");
3327
+ }, yr = {
3328
+ auto: "markAuto",
3329
+ approved: "markApproved",
3330
+ pending: "markPending",
3331
+ unknown: "markUnknown",
3332
+ flag: "markFlag"
3333
+ }, br = (e) => {
3334
+ if (o(e.id, "TimelineRow event id"), o(e.title, "TimelineRow event title"), o(e.detail, "TimelineRow event detail"), o(e.dateTime, "TimelineRow event dateTime"), o(e.time, "TimelineRow event time"), e.href !== void 0 && o(e.href, "TimelineRow event href"), e.provenance !== void 0) {
3335
+ if (!Object.hasOwn(yr, e.provenance.kind)) throw Error("TimelineRow provenance kind must be auto, approved, pending, unknown, or flag");
3336
+ o(e.provenance.label, "TimelineRow provenance label");
3337
+ }
3338
+ if (!Object.hasOwn(vr, e.actorKind)) throw Error("TimelineRow event actorKind must be human, agent, plugin, or system");
3082
3339
  return e;
3083
- }, nr = ({ className: e, continued: t, event: n, ...i }) => {
3084
- let a = tr(n), o = `rly-timeline-row-${D()}`, s = /* @__PURE__ */ k("h2", {
3340
+ }, xr = ({ className: e, continued: t, event: n, ...i }) => {
3341
+ let a = br(n), o = `rly-timeline-row-${E()}`, s = /* @__PURE__ */ D("h2", {
3085
3342
  className: Q("title"),
3086
3343
  id: o,
3087
3344
  children: a.title
3088
3345
  });
3089
- return /* @__PURE__ */ A("li", {
3346
+ return /* @__PURE__ */ O("li", {
3090
3347
  ...i,
3091
3348
  className: d(Q("root"), e),
3092
3349
  "data-rly-timeline-actor": a.actorKind,
3093
3350
  "data-rly-timeline-event-id": a.id,
3094
3351
  children: [
3095
- /* @__PURE__ */ k("time", {
3352
+ /* @__PURE__ */ D("time", {
3096
3353
  className: Q("time"),
3097
3354
  dateTime: a.dateTime,
3098
3355
  children: a.time
3099
3356
  }),
3100
- /* @__PURE__ */ A("span", {
3357
+ /* @__PURE__ */ O("span", {
3101
3358
  "aria-hidden": "true",
3102
3359
  className: Q("marker"),
3103
- children: [/* @__PURE__ */ k("span", { className: Q("dot") }), t ? /* @__PURE__ */ k("span", {
3360
+ children: [/* @__PURE__ */ D("span", {
3361
+ className: a.provenance === void 0 ? Q("dot") : Q(yr[a.provenance.kind]),
3362
+ "data-rly-timeline-provenance": a.provenance?.kind
3363
+ }), t ? /* @__PURE__ */ D("span", {
3104
3364
  className: Q("connector"),
3105
3365
  "data-rly-timeline-connector": ""
3106
3366
  }) : null]
3107
3367
  }),
3108
- /* @__PURE__ */ A("article", {
3368
+ /* @__PURE__ */ O("article", {
3109
3369
  "aria-labelledby": o,
3110
3370
  className: Q("content"),
3111
- children: [a.href === void 0 ? s : /* @__PURE__ */ k(r, {
3112
- className: Q("link"),
3113
- href: a.href,
3114
- children: s
3115
- }), /* @__PURE__ */ k("p", {
3116
- className: Q("detail"),
3117
- children: a.detail
3118
- })]
3371
+ children: [
3372
+ a.href === void 0 ? s : /* @__PURE__ */ D(r, {
3373
+ className: Q("link"),
3374
+ href: a.href,
3375
+ children: s
3376
+ }),
3377
+ /* @__PURE__ */ D("p", {
3378
+ className: Q("detail"),
3379
+ children: a.detail
3380
+ }),
3381
+ a.provenance === void 0 ? null : /* @__PURE__ */ D("p", {
3382
+ className: Q("provenance"),
3383
+ "data-rly-timeline-provenance-label": a.provenance.kind,
3384
+ children: a.provenance.label
3385
+ })
3386
+ ]
3119
3387
  }),
3120
- /* @__PURE__ */ A("div", {
3388
+ /* @__PURE__ */ O("div", {
3121
3389
  className: Q("meta"),
3122
3390
  children: [
3123
- /* @__PURE__ */ k("span", {
3391
+ /* @__PURE__ */ D("span", {
3124
3392
  className: Q("actorKind"),
3125
- children: er[a.actorKind]
3393
+ children: vr[a.actorKind]
3126
3394
  }),
3127
- a.service === void 0 ? null : /* @__PURE__ */ k(B, {
3395
+ a.service === void 0 ? null : /* @__PURE__ */ D(z, {
3128
3396
  service: a.service,
3129
3397
  size: "compact"
3130
3398
  }),
3131
- a.actor === void 0 ? null : /* @__PURE__ */ k("div", {
3399
+ a.actor === void 0 ? null : /* @__PURE__ */ D("div", {
3132
3400
  className: Q("actor"),
3133
3401
  children: a.actor
3134
3402
  })
@@ -3136,7 +3404,36 @@ var ue = {
3136
3404
  })
3137
3405
  ]
3138
3406
  });
3139
- }, rr = {
3407
+ }, Sr = {
3408
+ auto: "applied automatically",
3409
+ approved: "approved",
3410
+ pending: "waiting for approval",
3411
+ unknown: "couldn't read",
3412
+ flag: "flag only"
3413
+ }, Cr = ({ className: e, kinds: t = [
3414
+ "auto",
3415
+ "approved",
3416
+ "pending",
3417
+ "unknown",
3418
+ "flag"
3419
+ ], label: n, labels: r = {}, ...i }) => /* @__PURE__ */ D("ul", {
3420
+ ...i,
3421
+ "aria-label": o(n, "TimelineProvenanceKey label"),
3422
+ className: d(Q("key"), e),
3423
+ role: "list",
3424
+ children: t.map((e) => /* @__PURE__ */ O("li", {
3425
+ className: Q("keyItem"),
3426
+ children: [
3427
+ /* @__PURE__ */ D("span", {
3428
+ "aria-hidden": "true",
3429
+ className: Q(yr[e]),
3430
+ "data-rly-timeline-provenance": e
3431
+ }),
3432
+ " ",
3433
+ r[e] ?? Sr[e]
3434
+ ]
3435
+ }, e))
3436
+ }), wr = {
3140
3437
  root: "rly_WorksetCard-module__root",
3141
3438
  heading: "rly_WorksetCard-module__heading",
3142
3439
  dimensions: "rly_WorksetCard-module__dimensions",
@@ -3156,97 +3453,97 @@ var ue = {
3156
3453
  conceptLabel: "rly_WorksetCard-module__conceptLabel",
3157
3454
  emptyLink: "rly_WorksetCard-module__emptyLink",
3158
3455
  linkedWork: "rly_WorksetCard-module__linkedWork"
3159
- }, $ = (e) => c(rr, e), ir = (e, t) => {
3456
+ }, $ = (e) => c(wr, e), Tr = (e, t) => {
3160
3457
  e !== void 0 && o(e, `${t} href`);
3161
- }, ar = (e, t, n) => {
3458
+ }, Er = (e, t, n) => {
3162
3459
  let r = o(e, `${n} id`);
3163
3460
  if (t.has(r)) throw Error(`${n} ids must be unique: ${r}`);
3164
3461
  return t.add(r), r;
3165
- }, or = (e) => {
3462
+ }, Dr = (e) => {
3166
3463
  let t = /* @__PURE__ */ new Set();
3167
3464
  for (let n of e) {
3168
- let e = ar(n.id, t, "WorksetCard Jira item");
3169
- o(n.key, `WorksetCard Jira key for ${e}`), o(n.title, `WorksetCard Jira title for ${e}`), o(n.state, `WorksetCard Jira state for ${e}`), ir(n.href, `WorksetCard Jira item ${e}`);
3465
+ let e = Er(n.id, t, "WorksetCard Jira item");
3466
+ o(n.key, `WorksetCard Jira key for ${e}`), o(n.title, `WorksetCard Jira title for ${e}`), o(n.state, `WorksetCard Jira state for ${e}`), Tr(n.href, `WorksetCard Jira item ${e}`);
3170
3467
  }
3171
- }, sr = (e) => {
3468
+ }, Or = (e) => {
3172
3469
  let t = /* @__PURE__ */ new Set();
3173
3470
  for (let n of e) {
3174
- let e = ar(n.id, t, "WorksetCard pull request group");
3175
- o(n.title, `WorksetCard pull request title for ${e}`), o(n.reference, `WorksetCard pull request reference for ${e}`), o(n.state, `WorksetCard pull request state for ${e}`), ir(n.href, `WorksetCard pull request group ${e}`);
3471
+ let e = Er(n.id, t, "WorksetCard pull request group");
3472
+ o(n.title, `WorksetCard pull request title for ${e}`), o(n.reference, `WorksetCard pull request reference for ${e}`), o(n.state, `WorksetCard pull request state for ${e}`), Tr(n.href, `WorksetCard pull request group ${e}`);
3176
3473
  for (let t of n.linkedJiraKeys) o(t, `WorksetCard linked Jira key for ${e}`);
3177
3474
  }
3178
- }, cr = (e) => {
3475
+ }, kr = (e) => {
3179
3476
  let t = /* @__PURE__ */ new Set();
3180
3477
  for (let n of e) {
3181
- let e = ar(n.id, t, "WorksetCard gap");
3182
- if (o(n.label, `WorksetCard gap label for ${e}`), o(n.reason, `WorksetCard gap reason for ${e}`), !Object.hasOwn(nt.service, n.service)) throw Error(`WorksetCard gap service for ${e} must be supported`);
3478
+ let e = Er(n.id, t, "WorksetCard gap");
3479
+ if (o(n.label, `WorksetCard gap label for ${e}`), o(n.reason, `WorksetCard gap reason for ${e}`), !Object.hasOwn(ct.service, n.service)) throw Error(`WorksetCard gap service for ${e} must be supported`);
3183
3480
  }
3184
- }, lr = (e) => {
3481
+ }, Ar = (e) => {
3185
3482
  let t = /* @__PURE__ */ new Set();
3186
3483
  for (let n of e) {
3187
- let e = ar(n.id, t, "WorksetCard pipeline");
3188
- o(n.title, `WorksetCard pipeline title for ${e}`), o(n.reference, `WorksetCard pipeline reference for ${e}`), o(n.state, `WorksetCard pipeline state for ${e}`), ir(n.href, `WorksetCard pipeline ${e}`);
3484
+ let e = Er(n.id, t, "WorksetCard pipeline");
3485
+ o(n.title, `WorksetCard pipeline title for ${e}`), o(n.reference, `WorksetCard pipeline reference for ${e}`), o(n.state, `WorksetCard pipeline state for ${e}`), Tr(n.href, `WorksetCard pipeline ${e}`);
3189
3486
  }
3190
- }, ur = ({ href: e, reference: t, title: n }) => {
3191
- let i = /* @__PURE__ */ A("span", {
3487
+ }, jr = ({ href: e, reference: t, title: n }) => {
3488
+ let i = /* @__PURE__ */ O("span", {
3192
3489
  className: $("identity"),
3193
- children: [/* @__PURE__ */ k("span", {
3490
+ children: [/* @__PURE__ */ D("span", {
3194
3491
  className: $("itemTitle"),
3195
3492
  children: n
3196
- }), /* @__PURE__ */ k("span", {
3493
+ }), /* @__PURE__ */ D("span", {
3197
3494
  className: $("reference"),
3198
3495
  children: t
3199
3496
  })]
3200
3497
  });
3201
- return e === void 0 ? i : /* @__PURE__ */ k(r, {
3498
+ return e === void 0 ? i : /* @__PURE__ */ D(r, {
3202
3499
  className: $("link"),
3203
3500
  href: e,
3204
3501
  children: i
3205
3502
  });
3206
- }, dr = ({ 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, ...f }) => {
3503
+ }, Mr = ({ 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, ...f }) => {
3207
3504
  let p = o(r, "WorksetCard heading"), m = o(i, "WorksetCard jiraEmptyLabel"), h = o(l, "WorksetCard pullRequestEmptyLabel"), g = o(t, "WorksetCard gapEmptyLabel"), _ = o(s, "WorksetCard pipelineEmptyLabel");
3208
- or(a), sr(u), cr(n), lr(c);
3209
- let v = `rly-workset-${D()}`;
3210
- return /* @__PURE__ */ A("section", {
3505
+ Dr(a), Or(u), kr(n), Ar(c);
3506
+ let v = `rly-workset-${E()}`;
3507
+ return /* @__PURE__ */ O("section", {
3211
3508
  ...f,
3212
3509
  "aria-labelledby": v,
3213
3510
  className: d($("root"), e),
3214
- children: [/* @__PURE__ */ k("h2", {
3511
+ children: [/* @__PURE__ */ D("h2", {
3215
3512
  className: $("heading"),
3216
3513
  id: v,
3217
3514
  children: p
3218
- }), /* @__PURE__ */ A("div", {
3515
+ }), /* @__PURE__ */ O("div", {
3219
3516
  className: $("dimensions"),
3220
3517
  children: [
3221
- /* @__PURE__ */ A("section", {
3518
+ /* @__PURE__ */ O("section", {
3222
3519
  className: $("dimension"),
3223
3520
  "data-rly-workset-dimension": "jira",
3224
- children: [/* @__PURE__ */ A("div", {
3521
+ children: [/* @__PURE__ */ O("div", {
3225
3522
  className: $("dimensionHeading"),
3226
- children: [/* @__PURE__ */ k(B, {
3523
+ children: [/* @__PURE__ */ D(z, {
3227
3524
  service: "jira",
3228
3525
  size: "compact"
3229
- }), /* @__PURE__ */ k("h3", { children: "Jira work" })]
3230
- }), a.length === 0 ? /* @__PURE__ */ k("p", {
3526
+ }), /* @__PURE__ */ D("h3", { children: "Jira work" })]
3527
+ }), a.length === 0 ? /* @__PURE__ */ D("p", {
3231
3528
  className: $("empty"),
3232
3529
  children: m
3233
- }) : /* @__PURE__ */ k("ul", {
3530
+ }) : /* @__PURE__ */ D("ul", {
3234
3531
  className: $("list"),
3235
- children: a.map((e) => /* @__PURE__ */ A("li", {
3532
+ children: a.map((e) => /* @__PURE__ */ O("li", {
3236
3533
  className: $("item"),
3237
3534
  "data-rly-workset-jira-id": e.id,
3238
3535
  children: [
3239
- /* @__PURE__ */ k(ur, {
3536
+ /* @__PURE__ */ D(jr, {
3240
3537
  ...e.href === void 0 ? {} : { href: e.href },
3241
3538
  reference: e.key,
3242
3539
  title: e.title
3243
3540
  }),
3244
- /* @__PURE__ */ k(T, {
3541
+ /* @__PURE__ */ D(T, {
3245
3542
  label: e.state,
3246
3543
  size: "compact",
3247
3544
  tone: e.tone
3248
3545
  }),
3249
- e.owner === void 0 ? null : /* @__PURE__ */ k(I, {
3546
+ e.owner === void 0 ? null : /* @__PURE__ */ D(P, {
3250
3547
  person: e.owner,
3251
3548
  size: "compact"
3252
3549
  })
@@ -3254,119 +3551,119 @@ var ue = {
3254
3551
  }, e.id))
3255
3552
  })]
3256
3553
  }),
3257
- /* @__PURE__ */ A("section", {
3554
+ /* @__PURE__ */ O("section", {
3258
3555
  className: $("dimension"),
3259
3556
  "data-rly-workset-dimension": "pull-requests",
3260
3557
  children: [
3261
- /* @__PURE__ */ A("div", {
3558
+ /* @__PURE__ */ O("div", {
3262
3559
  className: $("dimensionHeading"),
3263
- children: [/* @__PURE__ */ k(B, {
3560
+ children: [/* @__PURE__ */ D(z, {
3264
3561
  service: "codecommit",
3265
3562
  size: "compact"
3266
- }), /* @__PURE__ */ k("h3", { children: "Pull request groups" })]
3563
+ }), /* @__PURE__ */ D("h3", { children: "Pull request groups" })]
3267
3564
  }),
3268
- u.length === 0 ? /* @__PURE__ */ k("p", {
3565
+ u.length === 0 ? /* @__PURE__ */ D("p", {
3269
3566
  className: $("empty"),
3270
3567
  children: h
3271
- }) : /* @__PURE__ */ k("ul", {
3568
+ }) : /* @__PURE__ */ D("ul", {
3272
3569
  className: $("list"),
3273
- children: u.map((e) => /* @__PURE__ */ A("li", {
3570
+ children: u.map((e) => /* @__PURE__ */ O("li", {
3274
3571
  className: $("item"),
3275
3572
  "data-rly-workset-pr-id": e.id,
3276
3573
  children: [
3277
- /* @__PURE__ */ k(ur, {
3574
+ /* @__PURE__ */ D(jr, {
3278
3575
  ...e.href === void 0 ? {} : { href: e.href },
3279
3576
  reference: e.reference,
3280
3577
  title: e.title
3281
3578
  }),
3282
- /* @__PURE__ */ k(T, {
3579
+ /* @__PURE__ */ D(T, {
3283
3580
  label: e.state,
3284
3581
  size: "compact",
3285
3582
  tone: e.tone
3286
3583
  }),
3287
- /* @__PURE__ */ A("div", {
3584
+ /* @__PURE__ */ O("div", {
3288
3585
  className: $("linkedWork"),
3289
- children: [/* @__PURE__ */ k("span", {
3586
+ children: [/* @__PURE__ */ D("span", {
3290
3587
  className: $("conceptLabel"),
3291
3588
  children: "Linked Jira work"
3292
- }), e.linkedJiraKeys.length === 0 ? /* @__PURE__ */ k("span", {
3589
+ }), e.linkedJiraKeys.length === 0 ? /* @__PURE__ */ D("span", {
3293
3590
  className: $("emptyLink"),
3294
3591
  children: "No Jira links recorded."
3295
- }) : /* @__PURE__ */ k("ul", {
3592
+ }) : /* @__PURE__ */ D("ul", {
3296
3593
  className: $("keyList"),
3297
- children: e.linkedJiraKeys.map((e, t) => /* @__PURE__ */ k("li", {
3594
+ children: e.linkedJiraKeys.map((e, t) => /* @__PURE__ */ D("li", {
3298
3595
  "data-rly-linked-jira-key": e,
3299
3596
  children: e
3300
3597
  }, `${e}-${t}`))
3301
3598
  })]
3302
3599
  }),
3303
- e.author === void 0 ? null : /* @__PURE__ */ k(I, {
3600
+ e.author === void 0 ? null : /* @__PURE__ */ D(P, {
3304
3601
  person: e.author,
3305
3602
  size: "compact"
3306
3603
  })
3307
3604
  ]
3308
3605
  }, e.id))
3309
3606
  }),
3310
- /* @__PURE__ */ A("div", {
3607
+ /* @__PURE__ */ O("div", {
3311
3608
  className: $("gaps"),
3312
- children: [/* @__PURE__ */ k("h4", { children: "Relationship gaps" }), n.length === 0 ? /* @__PURE__ */ k("p", {
3609
+ children: [/* @__PURE__ */ D("h4", { children: "Relationship gaps" }), n.length === 0 ? /* @__PURE__ */ D("p", {
3313
3610
  className: $("empty"),
3314
3611
  children: g
3315
- }) : /* @__PURE__ */ k("ul", {
3612
+ }) : /* @__PURE__ */ D("ul", {
3316
3613
  className: $("gapList"),
3317
- children: n.map((e) => /* @__PURE__ */ A("li", {
3614
+ children: n.map((e) => /* @__PURE__ */ O("li", {
3318
3615
  className: $("gap"),
3319
3616
  "data-rly-workset-gap-id": e.id,
3320
3617
  children: [
3321
- /* @__PURE__ */ k(B, {
3618
+ /* @__PURE__ */ D(z, {
3322
3619
  service: e.service,
3323
3620
  size: "compact"
3324
3621
  }),
3325
- /* @__PURE__ */ k("strong", { children: e.label }),
3326
- /* @__PURE__ */ k("span", { children: e.reason })
3622
+ /* @__PURE__ */ D("strong", { children: e.label }),
3623
+ /* @__PURE__ */ D("span", { children: e.reason })
3327
3624
  ]
3328
3625
  }, e.id))
3329
3626
  })]
3330
3627
  })
3331
3628
  ]
3332
3629
  }),
3333
- /* @__PURE__ */ A("section", {
3630
+ /* @__PURE__ */ O("section", {
3334
3631
  className: $("dimension"),
3335
3632
  "data-rly-workset-dimension": "pipelines",
3336
- children: [/* @__PURE__ */ A("div", {
3633
+ children: [/* @__PURE__ */ O("div", {
3337
3634
  className: $("dimensionHeading"),
3338
- children: [/* @__PURE__ */ k(B, {
3635
+ children: [/* @__PURE__ */ D(z, {
3339
3636
  service: "codepipeline",
3340
3637
  size: "compact"
3341
- }), /* @__PURE__ */ k("h3", { children: "Pipeline delivery" })]
3342
- }), c.length === 0 ? /* @__PURE__ */ k("p", {
3638
+ }), /* @__PURE__ */ D("h3", { children: "Pipeline delivery" })]
3639
+ }), c.length === 0 ? /* @__PURE__ */ D("p", {
3343
3640
  className: $("empty"),
3344
3641
  children: _
3345
- }) : /* @__PURE__ */ k("ul", {
3642
+ }) : /* @__PURE__ */ D("ul", {
3346
3643
  className: $("list"),
3347
- children: c.map((e) => /* @__PURE__ */ A("li", {
3644
+ children: c.map((e) => /* @__PURE__ */ O("li", {
3348
3645
  className: $("item"),
3349
3646
  "data-rly-workset-pipeline-id": e.id,
3350
3647
  children: [
3351
- /* @__PURE__ */ k(ur, {
3648
+ /* @__PURE__ */ D(jr, {
3352
3649
  ...e.href === void 0 ? {} : { href: e.href },
3353
3650
  reference: e.reference,
3354
3651
  title: e.title
3355
3652
  }),
3356
- /* @__PURE__ */ k(T, {
3653
+ /* @__PURE__ */ D(T, {
3357
3654
  label: e.state,
3358
3655
  size: "compact",
3359
3656
  tone: e.tone
3360
3657
  }),
3361
- e.operator === void 0 ? null : /* @__PURE__ */ k(I, {
3658
+ e.operator === void 0 ? null : /* @__PURE__ */ D(P, {
3362
3659
  person: e.operator,
3363
3660
  size: "compact"
3364
3661
  }),
3365
- e.approver === void 0 ? null : /* @__PURE__ */ k(I, {
3662
+ e.approver === void 0 ? null : /* @__PURE__ */ D(P, {
3366
3663
  person: e.approver,
3367
3664
  size: "compact"
3368
3665
  }),
3369
- /* @__PURE__ */ k(Qn, {
3666
+ /* @__PURE__ */ D(gr, {
3370
3667
  heading: `${e.reference} stages`,
3371
3668
  size: "compact",
3372
3669
  stages: e.stages
@@ -3380,6 +3677,6 @@ var ue = {
3380
3677
  });
3381
3678
  };
3382
3679
  //#endregion
3383
- export { Ze as A, je as B, st as C, B as D, nt as E, Ve as F, xe as H, Be as I, I as L, Je as M, qe as N, R as O, We as P, Fe as R, dt as S, rt as T, ge as U, Te as V, fe as W, Tt as _, Qn as a, mt as b, Bn as c, Un as d, jn as f, Et as g, Dt as h, Yn as i, Ye as j, Qe as k, Rn as l, Pt as m, nr as n, qn as o, Lt as p, Xn as r, Gn as s, dr as t, zn as u, St as v, lt as w, pt as x, yt as y, Pe as z };
3680
+ export { De as $, yt as A, tt as B, Pt as C, Ot as D, jt as E, ct as F, Ye as G, $e as H, z as I, He as J, Ke as K, L, pt as M, ht as N, Tt as O, lt as P, Ne as Q, it as R, Lt as S, Ft as T, Ze as U, et as V, Xe as W, Le as X, P as Y, Ie as Z, Ut as _, fr as a, Ht as b, cr as c, nr as d, Ce as et, or as f, Wt as g, Zt as h, pr as i, _t as j, bt as k, rr as l, en as m, Cr as n, me as nt, gr as o, Jn as p, Ue as q, xr as r, ur as s, Mr as t, ve as tt, tr as u, Vt as v, Nt as w, It as x, Bt as y, rt as z };
3384
3681
 
3385
- //# sourceMappingURL=patterns-LJ8Y44f2.js.map
3682
+ //# sourceMappingURL=patterns-DTsU3pFo.js.map