chordia-ui 3.4.2 → 3.4.3

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 (31) hide show
  1. package/dist/Timeline.cjs.js +6 -1
  2. package/dist/Timeline.cjs.js.map +1 -1
  3. package/dist/Timeline.es.js +597 -129
  4. package/dist/Timeline.es.js.map +1 -1
  5. package/dist/UpdatedInteractionRecording.cjs.js +1 -1
  6. package/dist/UpdatedInteractionRecording.cjs.js.map +1 -1
  7. package/dist/UpdatedInteractionRecording.es.js +260 -258
  8. package/dist/UpdatedInteractionRecording.es.js.map +1 -1
  9. package/dist/components/UpdatedInteractionDetails.cjs.js +2 -2
  10. package/dist/components/UpdatedInteractionDetails.cjs.js.map +1 -1
  11. package/dist/components/UpdatedInteractionDetails.es.js +349 -322
  12. package/dist/components/UpdatedInteractionDetails.es.js.map +1 -1
  13. package/dist/components/media.cjs.js +1 -1
  14. package/dist/components/media.cjs.js.map +1 -1
  15. package/dist/components/media.es.js +8 -9
  16. package/dist/components/media.es.js.map +1 -1
  17. package/dist/index.cjs.js +1 -1
  18. package/dist/index.es.js +52 -53
  19. package/dist/index.es.js.map +1 -1
  20. package/dist/pages/interactionDetails.cjs.js +2 -2
  21. package/dist/pages/interactionDetails.cjs.js.map +1 -1
  22. package/dist/pages/interactionDetails.es.js +16 -17
  23. package/dist/pages/interactionDetails.es.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/components/UpdatedInteractionDetails/UpdatedInteractionDetails.jsx +35 -1
  26. package/src/components/UpdatedInteractionDetails/UpdatedInteractionRecording.jsx +142 -124
  27. package/src/components/UpdatedInteractionDetails/UpdatedInteractionSignals.jsx +14 -6
  28. package/dist/TranscriptCard.cjs.js +0 -7
  29. package/dist/TranscriptCard.cjs.js.map +0 -1
  30. package/dist/TranscriptCard.es.js +0 -474
  31. package/dist/TranscriptCard.es.js.map +0 -1
@@ -1,8 +1,7 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import Be, { useState as A, useRef as _ } from "react";
3
- import { ShieldCheck as $e, TrendingUp as Pe, Lightbulb as je, ThumbsUp as ue, ExternalLink as ve, FileSignal as me, ChevronUp as xe, ChevronDown as be, ScrollText as Oe, PlayCircle as Ue, Info as qe, ArrowLeft as se, ClipboardList as Ne, CalendarDays as Ve, PhoneIncoming as Ye, Headset as Qe, Repeat as Ke, CircleUser as ae, History as Ze, ArrowRight as Xe } from "lucide-react";
4
- import { U as Je } from "../UpdatedInteractionRecording.es.js";
5
- import "../Timeline.es.js";
2
+ import Ye, { useState as _, useRef as H } from "react";
3
+ import { ShieldCheck as Qe, TrendingUp as Ke, Lightbulb as Ze, ThumbsUp as ve, ExternalLink as me, FileSignal as xe, ChevronUp as be, ChevronDown as Se, ScrollText as Xe, PauseCircle as Je, PlayCircle as et, Info as tt, ArrowLeft as ae, ClipboardList as nt, CalendarDays as it, PhoneIncoming as ot, Headset as rt, Repeat as lt, CircleUser as de, History as st, ArrowRight as at } from "lucide-react";
4
+ import { U as dt } from "../UpdatedInteractionRecording.es.js";
6
5
  const c = {
7
6
  strong: "var(--Grey-Strong, #2E3236)",
8
7
  muted: "var(--Grey-Muted, #808183)",
@@ -12,17 +11,17 @@ const c = {
12
11
  quoteLine: "var(--border-warm, #B2AEA8)",
13
12
  quoteText: "var(--text-subtle-warm, #767473)",
14
13
  iconBg: "var(--surface-hover, #F3F7F7)"
15
- }, et = {
14
+ }, ct = {
16
15
  effective: "Effective",
17
16
  strong: "Strong",
18
17
  needs_improvement: "Needs Improvement",
19
18
  mixed: "Mixed"
20
- }, de = "updated-coaching-synthesis-keyframes";
21
- function tt() {
22
- if (typeof document > "u" || document.getElementById(de))
19
+ }, ce = "updated-coaching-synthesis-keyframes";
20
+ function gt() {
21
+ if (typeof document > "u" || document.getElementById(ce))
23
22
  return;
24
23
  const n = document.createElement("style");
25
- n.id = de, n.textContent = `
24
+ n.id = ce, n.textContent = `
26
25
  @keyframes updated-coaching-shimmer {
27
26
  0% { background-position: -200% 0; }
28
27
  100% { background-position: 200% 0; }
@@ -33,8 +32,8 @@ function tt() {
33
32
  }
34
33
  `, document.head.appendChild(n);
35
34
  }
36
- function nt({ overall: n }) {
37
- const i = et[n] || (n ? n.replace(/_/g, " ") : "");
35
+ function pt({ overall: n }) {
36
+ const i = ct[n] || (n ? n.replace(/_/g, " ") : "");
38
37
  return /* @__PURE__ */ t("div", { style: {
39
38
  display: "flex",
40
39
  alignItems: "center",
@@ -53,7 +52,7 @@ function nt({ overall: n }) {
53
52
  alignItems: "center",
54
53
  gap: 6
55
54
  }, children: [
56
- /* @__PURE__ */ e(ue, { size: 14, color: c.strong, strokeWidth: 1.5 }),
55
+ /* @__PURE__ */ e(ve, { size: 14, color: c.strong, strokeWidth: 1.5 }),
57
56
  /* @__PURE__ */ e("span", { style: {
58
57
  fontSize: 13,
59
58
  fontWeight: 600,
@@ -64,8 +63,8 @@ function nt({ overall: n }) {
64
63
  ] })
65
64
  ] });
66
65
  }
67
- function it({ item: n }) {
68
- const i = typeof n == "string" ? n : (n == null ? void 0 : n.text) || "", o = typeof n == "object" ? n == null ? void 0 : n.quote : null;
66
+ function ft({ item: n }) {
67
+ const i = typeof n == "string" ? n : (n == null ? void 0 : n.text) || "", r = typeof n == "object" ? n == null ? void 0 : n.quote : null;
69
68
  return /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 14 }, children: [
70
69
  /* @__PURE__ */ e("div", { style: {
71
70
  fontSize: 14,
@@ -74,7 +73,7 @@ function it({ item: n }) {
74
73
  fontFamily: "var(--font-sans)",
75
74
  lineHeight: 1.5
76
75
  }, children: i }),
77
- o && /* @__PURE__ */ t("div", { style: {
76
+ r && /* @__PURE__ */ t("div", { style: {
78
77
  display: "flex",
79
78
  gap: 10
80
79
  }, children: [
@@ -92,14 +91,14 @@ function it({ item: n }) {
92
91
  lineHeight: 1.5
93
92
  }, children: [
94
93
  "“",
95
- o,
94
+ r,
96
95
  "”"
97
96
  ] })
98
97
  ] })
99
98
  ] });
100
99
  }
101
- function ce({ icon: n, label: i, items: o }) {
102
- return !o || o.length === 0 ? null : /* @__PURE__ */ t("div", { style: {
100
+ function ge({ icon: n, label: i, items: r }) {
101
+ return !r || r.length === 0 ? null : /* @__PURE__ */ t("div", { style: {
103
102
  flex: 1,
104
103
  display: "flex",
105
104
  flexDirection: "column",
@@ -129,13 +128,13 @@ function ce({ icon: n, label: i, items: o }) {
129
128
  lineHeight: "normal"
130
129
  }, children: i })
131
130
  ] }),
132
- /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: o.map((d, g) => /* @__PURE__ */ e(it, { item: d }, g)) })
131
+ /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: r.map((d, p) => /* @__PURE__ */ e(ft, { item: d }, p)) })
133
132
  ] });
134
133
  }
135
- const ot = ({ data: n, loading: i, error: o }) => {
136
- var y, u;
137
- if (Be.useEffect(() => {
138
- tt();
134
+ const ht = ({ data: n, loading: i, error: r }) => {
135
+ var y, m;
136
+ if (Ye.useEffect(() => {
137
+ gt();
139
138
  }, []), i)
140
139
  return /* @__PURE__ */ t("div", { style: {
141
140
  display: "flex",
@@ -160,31 +159,31 @@ const ot = ({ data: n, loading: i, error: o }) => {
160
159
  fontWeight: 500
161
160
  }, children: "Synthesizing coaching summary..." })
162
161
  ] }),
163
- [180, 260, 220].map((k, b) => /* @__PURE__ */ e(
162
+ [180, 260, 220].map((w, S) => /* @__PURE__ */ e(
164
163
  "div",
165
164
  {
166
165
  style: {
167
166
  height: 10,
168
- width: k,
167
+ width: w,
169
168
  maxWidth: "100%",
170
169
  borderRadius: 4,
171
170
  background: `linear-gradient(90deg, ${c.absent} 25%, var(--shimmer-mid, #ECECEC) 50%, ${c.absent} 75%)`,
172
171
  backgroundSize: "200% 100%",
173
172
  animation: "updated-coaching-shimmer 1.8s ease-in-out infinite",
174
- animationDelay: `${b * 0.2}s`
173
+ animationDelay: `${S * 0.2}s`
175
174
  }
176
175
  },
177
- b
176
+ S
178
177
  ))
179
178
  ] });
180
- if (o)
179
+ if (r)
181
180
  return /* @__PURE__ */ e("div", { style: {
182
181
  fontSize: 14,
183
182
  color: c.muted
184
183
  }, children: "Unable to generate coaching summary." });
185
184
  if (!n)
186
185
  return null;
187
- const d = n.strengths || [], g = n.improvements || [], f = typeof n.one_liner == "string" ? n.one_liner : ((y = n.one_liner) == null ? void 0 : y.text) || "", x = typeof n.context == "string" ? n.context : ((u = n.context) == null ? void 0 : u.text) || "";
186
+ const d = n.strengths || [], p = n.improvements || [], h = typeof n.one_liner == "string" ? n.one_liner : ((y = n.one_liner) == null ? void 0 : y.text) || "", v = typeof n.context == "string" ? n.context : ((m = n.context) == null ? void 0 : m.text) || "";
188
187
  return /* @__PURE__ */ t("div", { style: {
189
188
  display: "flex",
190
189
  flexDirection: "column",
@@ -196,7 +195,7 @@ const ot = ({ data: n, loading: i, error: o }) => {
196
195
  alignItems: "center",
197
196
  gap: 8
198
197
  }, children: [
199
- /* @__PURE__ */ e($e, { size: 20, color: c.accent, strokeWidth: 2 }),
198
+ /* @__PURE__ */ e(Qe, { size: 20, color: c.accent, strokeWidth: 2 }),
200
199
  /* @__PURE__ */ e("span", { style: {
201
200
  fontSize: 16,
202
201
  fontWeight: 600,
@@ -206,59 +205,59 @@ const ot = ({ data: n, loading: i, error: o }) => {
206
205
  textTransform: "uppercase"
207
206
  }, children: "Coaching Summary" })
208
207
  ] }),
209
- f && /* @__PURE__ */ e("div", { style: {
208
+ h && /* @__PURE__ */ e("div", { style: {
210
209
  fontSize: 14,
211
210
  fontWeight: 500,
212
211
  color: c.strong,
213
212
  fontFamily: "var(--font-sans)",
214
213
  lineHeight: 1.5
215
- }, children: f }),
214
+ }, children: h }),
216
215
  /* @__PURE__ */ t("div", { style: {
217
216
  display: "flex",
218
217
  alignItems: "flex-start",
219
218
  gap: 16,
220
219
  justifyContent: "space-between"
221
220
  }, children: [
222
- x && /* @__PURE__ */ e("div", { style: {
221
+ v && /* @__PURE__ */ e("div", { style: {
223
222
  fontSize: 14,
224
223
  fontWeight: 400,
225
224
  color: c.muted,
226
225
  fontFamily: "var(--font-sans)",
227
226
  lineHeight: 1.5,
228
227
  flex: 1
229
- }, children: x }),
230
- n.overall && /* @__PURE__ */ e(nt, { overall: n.overall })
228
+ }, children: v }),
229
+ n.overall && /* @__PURE__ */ e(pt, { overall: n.overall })
231
230
  ] }),
232
- (d.length > 0 || g.length > 0) && /* @__PURE__ */ t("div", { style: {
231
+ (d.length > 0 || p.length > 0) && /* @__PURE__ */ t("div", { style: {
233
232
  display: "flex",
234
233
  gap: 24,
235
234
  paddingTop: 24,
236
235
  borderTop: `1px solid ${c.absent}`
237
236
  }, children: [
238
237
  /* @__PURE__ */ e(
239
- ce,
238
+ ge,
240
239
  {
241
- icon: /* @__PURE__ */ e(Pe, { size: 14, color: c.strong, strokeWidth: 1.5 }),
240
+ icon: /* @__PURE__ */ e(Ke, { size: 14, color: c.strong, strokeWidth: 1.5 }),
242
241
  label: "Key Strengths",
243
242
  items: d
244
243
  }
245
244
  ),
246
245
  /* @__PURE__ */ e(
247
- ce,
246
+ ge,
248
247
  {
249
- icon: /* @__PURE__ */ e(je, { size: 14, color: c.strong, strokeWidth: 1.5 }),
248
+ icon: /* @__PURE__ */ e(Ze, { size: 14, color: c.strong, strokeWidth: 1.5 }),
250
249
  label: "Improvements",
251
- items: g
250
+ items: p
252
251
  }
253
252
  )
254
253
  ] })
255
254
  ] });
256
255
  };
257
- function rt(n) {
258
- const i = Math.floor(n / 60), o = Math.round(n % 60);
259
- return `${i}:${o.toString().padStart(2, "0")}`;
256
+ function yt(n) {
257
+ const i = Math.floor(n / 60), r = Math.round(n % 60);
258
+ return `${i}:${r.toString().padStart(2, "0")}`;
260
259
  }
261
- const lt = {
260
+ const ut = {
262
261
  display: "flex",
263
262
  justifyContent: "space-between",
264
263
  padding: "8px 8px 12px 8px",
@@ -269,34 +268,34 @@ const lt = {
269
268
  fontWeight: 400,
270
269
  lineHeight: "normal",
271
270
  borderBottom: "1px solid var(--Grey-absent, #D9D9D9)"
272
- }, ge = {
271
+ }, pe = {
273
272
  display: "flex",
274
273
  flexDirection: "column",
275
274
  flex: "1 0 0",
276
275
  gap: 12,
277
276
  minWidth: 0
278
- }, st = ({
277
+ }, vt = ({
279
278
  meta: n = {},
280
279
  callPurpose: i = {},
281
- classification: o = {},
280
+ classification: r = {},
282
281
  dimensions: d = [],
283
- outcomeQuality: g = "Neutral",
284
- onMoreDetails: f
282
+ outcomeQuality: p = "Neutral",
283
+ onMoreDetails: h
285
284
  }) => {
286
- const x = n.duration_seconds != null ? rt(n.duration_seconds) : null, y = n.message_count, u = i.interaction_driver, k = o.interaction_paradigm, b = [
287
- x != null && { label: "Duration", value: x },
288
- u != null && { label: "Driver", value: u },
289
- ...d.filter((r, p) => p % 2 === 0).map((r) => ({ label: r.label || r.key, value: r.value })),
290
- { label: "Outcome Quality", value: g }
291
- ].filter(Boolean), w = [
285
+ const v = n.duration_seconds != null ? yt(n.duration_seconds) : null, y = n.message_count, m = i.interaction_driver, w = r.interaction_paradigm, S = [
286
+ v != null && { label: "Duration", value: v },
287
+ m != null && { label: "Driver", value: m },
288
+ ...d.filter((l, f) => f % 2 === 0).map((l) => ({ label: l.label || l.key, value: l.value })),
289
+ { label: "Outcome Quality", value: p }
290
+ ].filter(Boolean), W = [
292
291
  y != null && { label: "Messages", value: y },
293
- k != null && { label: "Paradigm", value: k },
294
- ...d.filter((r, p) => p % 2 === 1).map((r) => ({ label: r.label || r.key, value: r.value })),
292
+ w != null && { label: "Paradigm", value: w },
293
+ ...d.filter((l, f) => f % 2 === 1).map((l) => ({ label: l.label || l.key, value: l.value })),
295
294
  { label: "More Details", isLink: !0 }
296
- ].filter(Boolean), s = (r) => r.isLink ? /* @__PURE__ */ t(
295
+ ].filter(Boolean), a = (l) => l.isLink ? /* @__PURE__ */ t(
297
296
  "div",
298
297
  {
299
- onClick: f,
298
+ onClick: h,
300
299
  style: {
301
300
  display: "flex",
302
301
  alignItems: "center",
@@ -306,21 +305,21 @@ const lt = {
306
305
  fontFamily: "var(--font-sans)"
307
306
  },
308
307
  children: [
309
- /* @__PURE__ */ e(ve, { size: 16, color: "#808183", strokeWidth: 1.5 }),
310
- /* @__PURE__ */ e("span", { style: { color: "var(--Grey-Strong, #2E3236)", fontSize: 13, fontWeight: 400 }, children: r.label })
308
+ /* @__PURE__ */ e(me, { size: 16, color: "#808183", strokeWidth: 1.5 }),
309
+ /* @__PURE__ */ e("span", { style: { color: "var(--Grey-Strong, #2E3236)", fontSize: 13, fontWeight: 400 }, children: l.label })
311
310
  ]
312
311
  },
313
- r.label
312
+ l.label
314
313
  ) : /* @__PURE__ */ t(
315
314
  "div",
316
315
  {
317
- style: lt,
316
+ style: ut,
318
317
  children: [
319
- /* @__PURE__ */ e("span", { style: { color: "var(--Grey-Strong, #2E3236)", whiteSpace: "nowrap", flexShrink: 0 }, children: r.label }),
320
- /* @__PURE__ */ e("span", { style: { color: "var(--Grey-Muted, #808183)", textAlign: "right" }, children: r.value })
318
+ /* @__PURE__ */ e("span", { style: { color: "var(--Grey-Strong, #2E3236)", whiteSpace: "nowrap", flexShrink: 0 }, children: l.label }),
319
+ /* @__PURE__ */ e("span", { style: { color: "var(--Grey-Muted, #808183)", textAlign: "right" }, children: l.value })
321
320
  ]
322
321
  },
323
- r.label
322
+ l.label
324
323
  );
325
324
  return /* @__PURE__ */ t(
326
325
  "div",
@@ -332,27 +331,27 @@ const lt = {
332
331
  alignSelf: "stretch"
333
332
  },
334
333
  children: [
335
- /* @__PURE__ */ e("div", { style: ge, children: b.map((r) => s(r)) }),
336
- /* @__PURE__ */ e("div", { style: ge, children: w.map((r) => s(r)) })
334
+ /* @__PURE__ */ e("div", { style: pe, children: S.map((l) => a(l)) }),
335
+ /* @__PURE__ */ e("div", { style: pe, children: W.map((l) => a(l)) })
337
336
  ]
338
337
  }
339
338
  );
340
- }, l = {
339
+ }, s = {
341
340
  strong: "var(--Grey-Strong, #2E3236)",
342
341
  muted: "var(--Grey-Muted, #808183)",
343
342
  absent: "var(--Grey-absent, #D9D9D9)",
344
343
  white: "var(--Grey-White, #FFF)",
345
344
  cardBg: "var(--surface-warm-40, rgba(243, 241, 229, 0.40))"
346
- }, m = 1.2, pe = 3, fe = (n) => n != null ? Math.round(n * 100) + "%" : "—", he = (n) => {
345
+ }, x = 1.2, fe = 3, he = (n) => n != null ? Math.round(n * 100) + "%" : "—", ye = (n) => {
347
346
  if (n == null)
348
347
  return "—";
349
348
  const i = (n * 100).toFixed(1);
350
349
  return n > 0 ? `+${i}pp` : `${i}pp`;
351
- }, at = ({ outcomeLift: n, driverLabels: i = [] }) => {
352
- var b;
350
+ }, mt = ({ outcomeLift: n, driverLabels: i = [] }) => {
351
+ var S;
353
352
  if (!n || n.lift == null)
354
353
  return null;
355
- const o = n.p_expected, d = n.p_full, g = n.lift_raw ?? (d != null && o != null ? d - o : null), f = n.lift, x = (b = n.interpretation) != null && b.lift_band ? n.interpretation.lift_band.replace(/_/g, " ") : f >= 0 ? "Positive" : "Negative", y = x.charAt(0).toUpperCase() + x.slice(1), u = i.slice(0, pe), k = i.length - pe;
354
+ const r = n.p_expected, d = n.p_full, p = n.lift_raw ?? (d != null && r != null ? d - r : null), h = n.lift, v = (S = n.interpretation) != null && S.lift_band ? n.interpretation.lift_band.replace(/_/g, " ") : h >= 0 ? "Positive" : "Negative", y = v.charAt(0).toUpperCase() + v.slice(1), m = i.slice(0, fe), w = i.length - fe;
356
355
  return /* @__PURE__ */ t(
357
356
  "div",
358
357
  {
@@ -362,8 +361,8 @@ const lt = {
362
361
  padding: 24,
363
362
  gap: 24,
364
363
  borderRadius: 8,
365
- border: `1px solid ${l.absent}`,
366
- background: l.cardBg,
364
+ border: `1px solid ${s.absent}`,
365
+ background: s.cardBg,
367
366
  alignSelf: "stretch"
368
367
  },
369
368
  children: [
@@ -385,9 +384,9 @@ const lt = {
385
384
  style: {
386
385
  fontSize: 15,
387
386
  fontWeight: 600,
388
- color: l.strong,
387
+ color: s.strong,
389
388
  fontFamily: "var(--font-sans)",
390
- lineHeight: m
389
+ lineHeight: x
391
390
  },
392
391
  children: "Agent Lift Analysis"
393
392
  }
@@ -402,8 +401,8 @@ const lt = {
402
401
  fontFamily: "var(--font-sans)"
403
402
  },
404
403
  children: [
405
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.strong, lineHeight: m }, children: "vs. Average Agent:" }),
406
- /* @__PURE__ */ e("span", { style: { fontSize: 14, fontWeight: 600, color: l.strong, lineHeight: m }, children: he(f) }),
404
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: s.strong, lineHeight: x }, children: "vs. Average Agent:" }),
405
+ /* @__PURE__ */ e("span", { style: { fontSize: 14, fontWeight: 600, color: s.strong, lineHeight: x }, children: ye(h) }),
407
406
  /* @__PURE__ */ t(
408
407
  "div",
409
408
  {
@@ -412,11 +411,11 @@ const lt = {
412
411
  alignItems: "center",
413
412
  gap: 6,
414
413
  paddingLeft: 8,
415
- borderLeft: `1px solid ${l.absent}`
414
+ borderLeft: `1px solid ${s.absent}`
416
415
  },
417
416
  children: [
418
- /* @__PURE__ */ e(ue, { size: 14, color: l.strong }),
419
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 600, color: l.strong, lineHeight: m }, children: y })
417
+ /* @__PURE__ */ e(ve, { size: 14, color: s.strong }),
418
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 600, color: s.strong, lineHeight: x }, children: y })
420
419
  ]
421
420
  }
422
421
  )
@@ -436,10 +435,10 @@ const lt = {
436
435
  },
437
436
  children: [
438
437
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 16, alignItems: "center" }, children: [
439
- /* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: fe(o) }),
438
+ /* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: s.muted, fontFamily: "var(--font-sans)", lineHeight: x }, children: he(r) }),
440
439
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
441
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Expected Outcome" }),
442
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Based on call type & difficulty" })
440
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: s.strong, fontFamily: "var(--font-sans)", lineHeight: x }, children: "Expected Outcome" }),
441
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: s.muted, fontFamily: "var(--font-sans)", lineHeight: x }, children: "Based on call type & difficulty" })
443
442
  ] })
444
443
  ] }),
445
444
  /* @__PURE__ */ t("div", { style: {
@@ -448,12 +447,12 @@ const lt = {
448
447
  gap: 16,
449
448
  alignItems: "center",
450
449
  paddingLeft: 24,
451
- borderLeft: `1px solid ${l.absent}`
450
+ borderLeft: `1px solid ${s.absent}`
452
451
  }, children: [
453
- /* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: he(g) }),
452
+ /* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: s.muted, fontFamily: "var(--font-sans)", lineHeight: x }, children: ye(p) }),
454
453
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
455
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Agent Impact" }),
456
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Behavior-driven change" })
454
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: s.strong, fontFamily: "var(--font-sans)", lineHeight: x }, children: "Agent Impact" }),
455
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: s.muted, fontFamily: "var(--font-sans)", lineHeight: x }, children: "Behavior-driven change" })
457
456
  ] })
458
457
  ] }),
459
458
  /* @__PURE__ */ t("div", { style: {
@@ -462,12 +461,12 @@ const lt = {
462
461
  gap: 16,
463
462
  alignItems: "center",
464
463
  paddingLeft: 24,
465
- borderLeft: `1px solid ${l.absent}`
464
+ borderLeft: `1px solid ${s.absent}`
466
465
  }, children: [
467
- /* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children: fe(d) }),
466
+ /* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: s.strong, fontFamily: "var(--font-sans)", lineHeight: x }, children: he(d) }),
468
467
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
469
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 600, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Predicted Outcome" }),
470
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: "With agent behaviors" })
468
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 600, color: s.strong, fontFamily: "var(--font-sans)", lineHeight: x }, children: "Predicted Outcome" }),
469
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: s.muted, fontFamily: "var(--font-sans)", lineHeight: x }, children: "With agent behaviors" })
471
470
  ] })
472
471
  ] })
473
472
  ]
@@ -481,15 +480,15 @@ const lt = {
481
480
  style: {
482
481
  fontSize: 12,
483
482
  fontWeight: 600,
484
- color: l.strong,
483
+ color: s.strong,
485
484
  fontFamily: "var(--font-sans)",
486
- lineHeight: m
485
+ lineHeight: x
487
486
  },
488
487
  children: "Key Drivers"
489
488
  }
490
489
  ),
491
490
  /* @__PURE__ */ t("div", { style: { display: "flex", flexWrap: "wrap", gap: 4 }, children: [
492
- u.map((w, s) => /* @__PURE__ */ e(
491
+ m.map((W, a) => /* @__PURE__ */ e(
493
492
  "div",
494
493
  {
495
494
  style: {
@@ -498,8 +497,8 @@ const lt = {
498
497
  alignItems: "center",
499
498
  justifyContent: "center",
500
499
  borderRadius: 4,
501
- border: `1px solid ${l.absent}`,
502
- background: l.white
500
+ border: `1px solid ${s.absent}`,
501
+ background: s.white
503
502
  },
504
503
  children: /* @__PURE__ */ e(
505
504
  "span",
@@ -507,21 +506,21 @@ const lt = {
507
506
  style: {
508
507
  fontSize: 12,
509
508
  fontWeight: 400,
510
- color: l.strong,
509
+ color: s.strong,
511
510
  fontFamily: "var(--font-sans)",
512
- lineHeight: m,
511
+ lineHeight: x,
513
512
  whiteSpace: "nowrap",
514
513
  overflow: "hidden",
515
514
  textOverflow: "ellipsis",
516
515
  maxWidth: 200
517
516
  },
518
- children: w
517
+ children: W
519
518
  }
520
519
  )
521
520
  },
522
- s
521
+ a
523
522
  )),
524
- k > 0 && /* @__PURE__ */ e(
523
+ w > 0 && /* @__PURE__ */ e(
525
524
  "div",
526
525
  {
527
526
  style: {
@@ -530,8 +529,8 @@ const lt = {
530
529
  alignItems: "center",
531
530
  justifyContent: "center",
532
531
  borderRadius: 4,
533
- border: `1px solid ${l.absent}`,
534
- background: l.white
532
+ border: `1px solid ${s.absent}`,
533
+ background: s.white
535
534
  },
536
535
  children: /* @__PURE__ */ t(
537
536
  "span",
@@ -539,14 +538,14 @@ const lt = {
539
538
  style: {
540
539
  fontSize: 12,
541
540
  fontWeight: 400,
542
- color: l.strong,
541
+ color: s.strong,
543
542
  fontFamily: "var(--font-sans)",
544
- lineHeight: m,
543
+ lineHeight: x,
545
544
  whiteSpace: "nowrap"
546
545
  },
547
546
  children: [
548
547
  "+ ",
549
- k
548
+ w
550
549
  ]
551
550
  }
552
551
  )
@@ -557,15 +556,15 @@ const lt = {
557
556
  ]
558
557
  }
559
558
  );
560
- }, ye = ({ children: n, size: i = 28, onClick: o, title: d }) => {
561
- const [g, f] = A(!1);
559
+ }, ue = ({ children: n, size: i = 28, onClick: r, title: d }) => {
560
+ const [p, h] = _(!1);
562
561
  return /* @__PURE__ */ e(
563
562
  "div",
564
563
  {
565
564
  title: d,
566
- onClick: o,
567
- onMouseEnter: () => f(!0),
568
- onMouseLeave: () => f(!1),
565
+ onClick: r,
566
+ onMouseEnter: () => h(!0),
567
+ onMouseLeave: () => h(!1),
569
568
  style: {
570
569
  display: "flex",
571
570
  alignItems: "center",
@@ -573,7 +572,7 @@ const lt = {
573
572
  width: i,
574
573
  height: i,
575
574
  borderRadius: 9999,
576
- background: g ? "var(--surface-hover, #F3F7F7)" : "transparent",
575
+ background: p ? "var(--surface-hover, #F3F7F7)" : "transparent",
577
576
  cursor: "pointer",
578
577
  flexShrink: 0,
579
578
  transition: "background 0.15s"
@@ -581,24 +580,24 @@ const lt = {
581
580
  children: n
582
581
  }
583
582
  );
584
- }, dt = ({
583
+ }, xt = ({
585
584
  signals: n = { signals: [], present_count: 0, total_signals_evaluated: 0 },
586
585
  expandedSignals: i = /* @__PURE__ */ new Set(),
587
- toggleSignal: o = () => {
586
+ toggleSignal: r = () => {
588
587
  },
589
588
  playEvidence: d = () => {
590
589
  },
591
- highlightTurns: g = () => {
590
+ highlightTurns: p = () => {
592
591
  },
593
- onShowInTranscript: f = () => {
592
+ onShowInTranscript: h = () => {
594
593
  },
595
- timelinePlaying: x = !1,
594
+ timelinePlaying: v = !1,
596
595
  currentTimeSeconds: y = 0
597
596
  }) => {
598
- const u = (n == null ? void 0 : n.signals) ?? [], k = (n == null ? void 0 : n.present_count) ?? u.length, b = (s) => {
599
- const r = Math.floor(s / 6e4), p = Math.floor(s % 6e4 / 1e3);
600
- return `${r.toString().padStart(2, "0")}:${p.toString().padStart(2, "0")}`;
601
- }, w = (s) => x && s.start_ms != null && y * 1e3 >= s.start_ms && y * 1e3 <= (s.end_ms ?? s.start_ms + 5e3);
597
+ const m = (n == null ? void 0 : n.signals) ?? [], w = (n == null ? void 0 : n.present_count) ?? m.length, S = (a) => {
598
+ const l = Math.floor(a / 6e4), f = Math.floor(a % 6e4 / 1e3);
599
+ return `${l.toString().padStart(2, "0")}:${f.toString().padStart(2, "0")}`;
600
+ }, W = (a) => v && a.start_ms != null && y * 1e3 >= a.start_ms && y * 1e3 <= (a.end_ms ?? a.start_ms + 5e3);
602
601
  return /* @__PURE__ */ t("div", { style: {
603
602
  display: "flex",
604
603
  flexDirection: "column",
@@ -622,7 +621,7 @@ const lt = {
622
621
  borderRadius: 9999,
623
622
  background: "var(--surface-hover, #F3F7F7)",
624
623
  flexShrink: 0
625
- }, children: /* @__PURE__ */ e(me, { size: 20, color: "#2E3236", strokeWidth: 1.5 }) }),
624
+ }, children: /* @__PURE__ */ e(xe, { size: 20, color: "#2E3236", strokeWidth: 1.5 }) }),
626
625
  /* @__PURE__ */ t("div", { style: {
627
626
  display: "flex",
628
627
  alignItems: "center",
@@ -639,7 +638,7 @@ const lt = {
639
638
  fontWeight: 500,
640
639
  color: "var(--Grey-Strong, #2E3236)"
641
640
  }, children: [
642
- k,
641
+ w,
643
642
  " Signals Detected"
644
643
  ] })
645
644
  ] })
@@ -651,18 +650,18 @@ const lt = {
651
650
  background: "var(--Grey-White, #FFF)",
652
651
  gap: 8
653
652
  }, children: [
654
- u.length === 0 && /* @__PURE__ */ e("div", { style: {
653
+ m.length === 0 && /* @__PURE__ */ e("div", { style: {
655
654
  padding: "8px 0",
656
655
  fontSize: 14,
657
656
  color: "var(--Grey-Muted, #808183)"
658
657
  }, children: "No signals detected." }),
659
- u.map((s, r) => {
660
- var W, I, G;
661
- const p = s.key ?? s.id ?? r, h = i.has(p), D = ((W = s.observations) == null ? void 0 : W.length) ?? 0;
658
+ m.map((a, l) => {
659
+ var C, F, T;
660
+ const f = a.key ?? a.id ?? l, u = i.has(f), D = ((C = a.observations) == null ? void 0 : C.length) ?? 0;
662
661
  return /* @__PURE__ */ t(
663
662
  "div",
664
663
  {
665
- id: `signal-${p}`,
664
+ id: `signal-${f}`,
666
665
  style: {
667
666
  display: "flex",
668
667
  flexDirection: "column",
@@ -673,7 +672,7 @@ const lt = {
673
672
  /* @__PURE__ */ t(
674
673
  "button",
675
674
  {
676
- onClick: () => o(p),
675
+ onClick: () => r(f),
677
676
  style: {
678
677
  display: "flex",
679
678
  padding: "8px 0",
@@ -695,7 +694,7 @@ const lt = {
695
694
  color: "var(--text-dark, #0B0A0A)",
696
695
  lineHeight: 1.71
697
696
  }, children: [
698
- s.display_name || ((I = s.key) == null ? void 0 : I.replace(/_/g, " ")),
697
+ a.display_name || ((F = a.key) == null ? void 0 : F.replace(/_/g, " ")),
699
698
  D > 0 && /* @__PURE__ */ t("span", { style: {
700
699
  fontWeight: 600,
701
700
  color: "var(--text-dark, #0B0A0A)",
@@ -706,17 +705,17 @@ const lt = {
706
705
  ")"
707
706
  ] })
708
707
  ] }),
709
- h ? /* @__PURE__ */ e(xe, { size: 20, color: "#767473" }) : /* @__PURE__ */ e(be, { size: 20, color: "#767473" })
708
+ u ? /* @__PURE__ */ e(be, { size: 20, color: "#767473" }) : /* @__PURE__ */ e(Se, { size: 20, color: "#767473" })
710
709
  ]
711
710
  }
712
711
  ),
713
- h && ((G = s.observations) == null ? void 0 : G.length) > 0 && /* @__PURE__ */ e("div", { style: {
712
+ u && ((T = a.observations) == null ? void 0 : T.length) > 0 && /* @__PURE__ */ e("div", { style: {
714
713
  display: "flex",
715
714
  flexDirection: "column",
716
715
  alignSelf: "stretch",
717
716
  gap: 0
718
- }, children: s.observations.map((C, L) => {
719
- var H, M, R;
717
+ }, children: a.observations.map((z, P) => {
718
+ var A, G, E;
720
719
  return /* @__PURE__ */ t(
721
720
  "div",
722
721
  {
@@ -740,8 +739,8 @@ const lt = {
740
739
  fontWeight: 400,
741
740
  color: "var(--text-subtle-warm, #767473)",
742
741
  lineHeight: 1.5
743
- }, children: C.reason || C.explanation }),
744
- ((M = (H = C.evidence) == null ? void 0 : H[0]) == null ? void 0 : M.start_ms) != null && /* @__PURE__ */ t(
742
+ }, children: z.reason || z.explanation }),
743
+ ((G = (A = z.evidence) == null ? void 0 : A[0]) == null ? void 0 : G.start_ms) != null && /* @__PURE__ */ t(
745
744
  "div",
746
745
  {
747
746
  style: {
@@ -752,14 +751,14 @@ const lt = {
752
751
  },
753
752
  children: [
754
753
  /* @__PURE__ */ e(
755
- ye,
754
+ ue,
756
755
  {
757
756
  size: 28,
758
757
  title: "Show in transcript",
759
- onClick: (z) => {
760
- z.stopPropagation(), f(C.evidence[0].start_ms);
758
+ onClick: (I) => {
759
+ I.stopPropagation(), h(z.evidence[0].start_ms);
761
760
  },
762
- children: /* @__PURE__ */ e(Oe, { size: 16, color: "#808183", strokeWidth: 1.5 })
761
+ children: /* @__PURE__ */ e(Xe, { size: 16, color: "#808183", strokeWidth: 1.5 })
763
762
  }
764
763
  ),
765
764
  /* @__PURE__ */ e("span", { style: {
@@ -768,19 +767,19 @@ const lt = {
768
767
  color: "var(--Grey-Muted, #808183)",
769
768
  lineHeight: 1.2,
770
769
  whiteSpace: "nowrap"
771
- }, children: b(C.evidence[0].start_ms) })
770
+ }, children: S(z.evidence[0].start_ms) })
772
771
  ]
773
772
  }
774
773
  )
775
774
  ] }),
776
- (R = C.evidence) == null ? void 0 : R.map((z, B) => z.text && /* @__PURE__ */ t(
775
+ (E = z.evidence) == null ? void 0 : E.map((I, B) => I.text && /* @__PURE__ */ t(
777
776
  "div",
778
777
  {
779
778
  onClick: ($) => {
780
- $.stopPropagation(), d(z);
779
+ $.stopPropagation(), d(I);
781
780
  },
782
- onMouseEnter: () => g(z.turn_ids ?? []),
783
- onMouseLeave: () => g([]),
781
+ onMouseEnter: () => p(I.turn_ids ?? []),
782
+ onMouseLeave: () => p([]),
784
783
  style: {
785
784
  display: "flex",
786
785
  alignItems: "center",
@@ -789,11 +788,18 @@ const lt = {
789
788
  cursor: "pointer"
790
789
  },
791
790
  children: [
792
- /* @__PURE__ */ e(ye, { size: 28, children: /* @__PURE__ */ e(
793
- Ue,
791
+ /* @__PURE__ */ e(ue, { size: 28, children: W(I) ? /* @__PURE__ */ e(
792
+ Je,
794
793
  {
795
794
  size: 17,
796
- color: w(z) ? "var(--rail-orange, #C98A5A)" : "var(--Grey-Muted, #808183)",
795
+ color: "var(--Grey-Muted, #808183)",
796
+ strokeWidth: 1.5
797
+ }
798
+ ) : /* @__PURE__ */ e(
799
+ et,
800
+ {
801
+ size: 17,
802
+ color: "var(--Grey-Muted, #808183)",
797
803
  strokeWidth: 1
798
804
  }
799
805
  ) }),
@@ -804,7 +810,7 @@ const lt = {
804
810
  lineHeight: 1.2
805
811
  }, children: [
806
812
  "“",
807
- z.text,
813
+ I.text,
808
814
  "”"
809
815
  ] })
810
816
  ]
@@ -813,17 +819,17 @@ const lt = {
813
819
  ))
814
820
  ]
815
821
  },
816
- C.key ?? L
822
+ z.key ?? P
817
823
  );
818
824
  }) })
819
825
  ]
820
826
  },
821
- p
827
+ f
822
828
  );
823
829
  })
824
830
  ] })
825
831
  ] });
826
- }, S = {
832
+ }, k = {
827
833
  strong: "var(--Grey-Strong, #2E3236)",
828
834
  muted: "var(--Grey-Muted, #808183)",
829
835
  absent: "var(--Grey-absent, #D9D9D9)",
@@ -831,43 +837,43 @@ const lt = {
831
837
  accent: "var(--rail-orange, #C98A5A)",
832
838
  track: "var(--rail-surface-2, #E3E1D7)",
833
839
  infoIcon: "var(--color-input-border, #ACACAD)"
834
- }, ct = ({ score: n = 4, maxScore: i = 10 }) => {
835
- const k = Math.min(Math.round(n / i * 5), 5), b = 180 / 5, w = (p) => {
836
- const h = p * Math.PI / 180;
840
+ }, bt = ({ score: n = 4, maxScore: i = 10 }) => {
841
+ const w = Math.min(Math.round(n / i * 5), 5), S = 180 / 5, W = (f) => {
842
+ const u = f * Math.PI / 180;
837
843
  return {
838
- x: 121.5 + 85 * Math.cos(h),
839
- y: 123 - 85 * Math.sin(h)
844
+ x: 121.5 + 85 * Math.cos(u),
845
+ y: 123 - 85 * Math.sin(u)
840
846
  };
841
- }, s = (p, h) => {
842
- const D = w(p), W = w(h), I = p - h > 180 ? 1 : 0;
843
- return `M ${D.x} ${D.y} A 85 85 0 ${I} 1 ${W.x} ${W.y}`;
844
- }, r = 2;
845
- return /* @__PURE__ */ e("svg", { width: 243, height: 130, viewBox: "0 0 243 130", fill: "none", children: Array.from({ length: 5 }, (p, h) => {
846
- const D = 180 - h * b - (h > 0 ? r / 2 : 0), W = 180 - (h + 1) * b + (h < 5 - 1 ? r / 2 : 0), I = h < k;
847
+ }, a = (f, u) => {
848
+ const D = W(f), C = W(u), F = f - u > 180 ? 1 : 0;
849
+ return `M ${D.x} ${D.y} A 85 85 0 ${F} 1 ${C.x} ${C.y}`;
850
+ }, l = 2;
851
+ return /* @__PURE__ */ e("svg", { width: 243, height: 130, viewBox: "0 0 243 130", fill: "none", children: Array.from({ length: 5 }, (f, u) => {
852
+ const D = 180 - u * S - (u > 0 ? l / 2 : 0), C = 180 - (u + 1) * S + (u < 5 - 1 ? l / 2 : 0), F = u < w;
847
853
  return /* @__PURE__ */ e(
848
854
  "path",
849
855
  {
850
- d: s(D, W),
851
- stroke: I ? S.strong : S.track,
856
+ d: a(D, C),
857
+ stroke: F ? k.strong : k.track,
852
858
  strokeWidth: 30,
853
859
  strokeLinecap: "butt",
854
860
  fill: "none"
855
861
  },
856
- h
862
+ u
857
863
  );
858
864
  }) });
859
- }, gt = ({ value: n = 0, maxValue: i = 5 }) => /* @__PURE__ */ e("div", { style: { display: "flex", gap: 2 }, children: Array.from({ length: i }, (o, d) => /* @__PURE__ */ e(
865
+ }, St = ({ value: n = 0, maxValue: i = 5 }) => /* @__PURE__ */ e("div", { style: { display: "flex", gap: 2 }, children: Array.from({ length: i }, (r, d) => /* @__PURE__ */ e(
860
866
  "div",
861
867
  {
862
868
  style: {
863
869
  width: 22,
864
870
  height: 6,
865
871
  borderRadius: 1,
866
- background: d < n ? S.strong : S.track
872
+ background: d < n ? k.strong : k.track
867
873
  }
868
874
  },
869
875
  d
870
- )) }), pt = ({ label: n, value: i = 0, maxValue: o = 5 }) => /* @__PURE__ */ t("div", { style: {
876
+ )) }), kt = ({ label: n, value: i = 0, maxValue: r = 5 }) => /* @__PURE__ */ t("div", { style: {
871
877
  display: "flex",
872
878
  flexDirection: "column",
873
879
  gap: 8,
@@ -882,34 +888,34 @@ const lt = {
882
888
  /* @__PURE__ */ e("span", { style: {
883
889
  fontSize: 12,
884
890
  fontWeight: 400,
885
- color: S.strong,
891
+ color: k.strong,
886
892
  fontFamily: "var(--font-sans)",
887
893
  lineHeight: "normal"
888
894
  }, children: n }),
889
- /* @__PURE__ */ e(qe, { size: 14, color: S.infoIcon, strokeWidth: 1 })
895
+ /* @__PURE__ */ e(tt, { size: 14, color: k.infoIcon, strokeWidth: 1 })
890
896
  ] }),
891
- /* @__PURE__ */ e(gt, { value: i, maxValue: o })
892
- ] }), ft = ({
897
+ /* @__PURE__ */ e(St, { value: i, maxValue: r })
898
+ ] }), wt = ({
893
899
  score: n = 83,
894
900
  maxScore: i = 100,
895
- predictedScore: o = 4,
901
+ predictedScore: r = 4,
896
902
  predictedLabel: d = "Predicted Objective",
897
- description: g = "",
898
- legends: f = [
903
+ description: p = "",
904
+ legends: h = [
899
905
  { label: "CSAT", value: 3 },
900
906
  { label: "Resolution", value: 4 },
901
907
  { label: "Process Adherence", value: 5 },
902
908
  { label: "Communication", value: 3 }
903
909
  ]
904
910
  }) => {
905
- const x = String(o).padStart(2, "0");
911
+ const v = String(r).padStart(2, "0");
906
912
  return /* @__PURE__ */ t("div", { style: {
907
913
  display: "flex",
908
914
  flexDirection: "column",
909
915
  padding: 24,
910
916
  borderRadius: 8,
911
- border: `1px solid ${S.absent}`,
912
- background: S.white,
917
+ border: `1px solid ${k.absent}`,
918
+ background: k.white,
913
919
  alignSelf: "stretch",
914
920
  gap: 24
915
921
  }, children: [
@@ -921,17 +927,17 @@ const lt = {
921
927
  /* @__PURE__ */ e("span", { style: {
922
928
  fontSize: 15,
923
929
  fontWeight: 600,
924
- color: S.strong,
930
+ color: k.strong,
925
931
  fontFamily: "var(--font-sans)",
926
932
  lineHeight: 1.2
927
933
  }, children: "Compass Score" }),
928
934
  /* @__PURE__ */ e("span", { style: {
929
935
  fontSize: 14,
930
936
  fontWeight: 400,
931
- color: S.muted,
937
+ color: k.muted,
932
938
  fontFamily: "var(--font-sans)",
933
939
  lineHeight: "normal"
934
- }, children: g })
940
+ }, children: p })
935
941
  ] }),
936
942
  /* @__PURE__ */ t("div", { style: {
937
943
  display: "flex",
@@ -947,7 +953,7 @@ const lt = {
947
953
  alignItems: "center",
948
954
  flexShrink: 0
949
955
  }, children: [
950
- /* @__PURE__ */ e(ct, { score: n, maxScore: i }),
956
+ /* @__PURE__ */ e(bt, { score: n, maxScore: i }),
951
957
  /* @__PURE__ */ t("svg", { width: "34", height: "35", viewBox: "0 0 34 35", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { marginTop: -24 }, children: [
952
958
  /* @__PURE__ */ e("path", { d: "M16 25.2169C19.958 25.2169 23.1667 22.0083 23.1667 18.0503C23.1667 14.0922 19.958 10.8836 16 10.8836C12.042 10.8836 8.83334 14.0922 8.83334 18.0503C8.83334 22.0083 12.042 25.2169 16 25.2169Z", fill: "var(--rail-orange, #C98A5A)" }),
953
959
  /* @__PURE__ */ e("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M30.4791 11.2328L33.4351 0L21.6888 3.09113C19.9212 2.41855 18.0036 2.05025 16 2.05025C7.16344 2.05025 0 9.2137 0 18.0503C0 26.8868 7.16344 34.0503 16 34.0503C24.8366 34.0503 32 26.8868 32 18.0503C32 15.6119 31.4546 13.301 30.4791 11.2328ZM16 30.5503C22.9036 30.5503 28.5 24.9538 28.5 18.0503C28.5 11.1467 22.9036 5.55025 16 5.55025C9.09644 5.55025 3.5 11.1467 3.5 18.0503C3.5 24.9538 9.09644 30.5503 16 30.5503Z", fill: "var(--rail-orange, #C98A5A)" })
@@ -955,7 +961,7 @@ const lt = {
955
961
  /* @__PURE__ */ e("div", { style: {
956
962
  fontSize: 28,
957
963
  fontWeight: 400,
958
- color: S.strong,
964
+ color: k.strong,
959
965
  fontFamily: "var(--font-sans)",
960
966
  lineHeight: 1,
961
967
  textAlign: "center",
@@ -978,15 +984,15 @@ const lt = {
978
984
  /* @__PURE__ */ e("div", { style: {
979
985
  fontSize: 28,
980
986
  fontWeight: 400,
981
- color: S.strong,
987
+ color: k.strong,
982
988
  fontFamily: "var(--font-sans)",
983
989
  lineHeight: 1,
984
990
  textAlign: "center"
985
- }, children: x }),
991
+ }, children: v }),
986
992
  /* @__PURE__ */ e("div", { style: {
987
993
  fontSize: 14,
988
994
  fontWeight: 400,
989
- color: S.muted,
995
+ color: k.muted,
990
996
  fontFamily: "var(--font-sans)",
991
997
  lineHeight: 1.43,
992
998
  textAlign: "center"
@@ -995,91 +1001,108 @@ const lt = {
995
1001
  /* @__PURE__ */ e("div", { style: {
996
1002
  width: "100%",
997
1003
  height: 1,
998
- background: S.absent
1004
+ background: k.absent
999
1005
  } }),
1000
- f.map((y, u) => /* @__PURE__ */ e(
1001
- pt,
1006
+ h.map((y, m) => /* @__PURE__ */ e(
1007
+ kt,
1002
1008
  {
1003
1009
  label: y.label,
1004
1010
  value: y.value
1005
1011
  },
1006
- u
1012
+ m
1007
1013
  ))
1008
1014
  ] })
1009
1015
  ] })
1010
1016
  ] });
1011
- }, ht = [
1017
+ }, Wt = [
1012
1018
  { key: "overview", label: "Overview" },
1013
1019
  { key: "coaching", label: "Coaching Summary" },
1014
1020
  { key: "signals", label: "Signals & Recording" },
1015
1021
  { key: "comments", label: "Comments" }
1016
- ], bt = ({
1022
+ ], _t = ({
1017
1023
  title: n = "Wheel Stud Replacement Enquiry",
1018
1024
  onBack: i,
1019
1025
  // Data props — all optional with defaults for demo
1020
- data: o,
1026
+ data: r,
1021
1027
  coachingData: d,
1022
- audioUrl: g,
1028
+ audioUrl: p,
1023
1029
  // Audio/playback props — pass these when the host app manages audio externally
1024
1030
  // (like InteractionDetailPanel does). If omitted, UpdatedInteractionRecording
1025
1031
  // manages its own audio element internally.
1026
- audioRef: f,
1027
- currentTimeSeconds: x,
1032
+ audioRef: h,
1033
+ currentTimeSeconds: v,
1028
1034
  timelinePlaying: y,
1029
- playbackRate: u,
1030
- timelineSegments: k,
1031
- onSeek: b,
1032
- onTogglePlay: w,
1033
- onSeekBack: s,
1034
- onSeekForward: r,
1035
- onSetPlaybackRate: p,
1035
+ playbackRate: m,
1036
+ timelineSegments: w,
1037
+ onSeek: S,
1038
+ onTogglePlay: W,
1039
+ onSeekBack: a,
1040
+ onSeekForward: l,
1041
+ onSetPlaybackRate: f,
1036
1042
  // Speaker names
1037
- agentName: h,
1043
+ agentName: u,
1038
1044
  customerName: D,
1039
1045
  // Transcript props — pass real transcript data from the host app
1040
- transcript: W,
1041
- activeTurnIndex: I,
1042
- turnObservations: G,
1043
- highlightedTurns: C,
1044
- onTurnPlayPause: L,
1046
+ transcript: C,
1047
+ activeTurnIndex: F,
1048
+ turnObservations: T,
1049
+ highlightedTurns: z,
1050
+ onTurnPlayPause: P,
1051
+ // Signal evidence playback — host app can provide to play audio segments from signals
1052
+ onPlayEvidence: A,
1053
+ onHighlightTurns: G,
1045
1054
  // Footer navigation
1046
- prevSessionTitle: H,
1047
- prevSessionDesc: M,
1048
- nextSessionTitle: R,
1049
- nextSessionDesc: z,
1050
- onPreviousSession: B,
1051
- onNextSession: $
1055
+ prevSessionTitle: E,
1056
+ prevSessionDesc: I,
1057
+ nextSessionTitle: B,
1058
+ nextSessionDesc: $,
1059
+ onPreviousSession: ke,
1060
+ onNextSession: we
1052
1061
  }) => {
1053
- var re, le;
1054
- const [P, Se] = A("overview"), [ke, q] = A(/* @__PURE__ */ new Set()), [N, we] = A(!1), [V, Y] = A(null), j = _(null), Q = _(null), K = _(null), Z = _(null), X = _(null), De = { overview: Q, coaching: K, signals: Z, comments: X }, We = (a) => {
1055
- Se(a);
1056
- const v = De[a];
1057
- v != null && v.current && v.current.scrollIntoView({ behavior: "smooth", block: "start" });
1058
- }, Ce = [
1062
+ var le, se;
1063
+ const [j, We] = _("overview"), [De, q] = _(/* @__PURE__ */ new Set()), [N, Ce] = _(!1), [V, Y] = _(null), [ze, Q] = _(!1), [Ie, Fe] = _(0), M = H(null), K = H(null), Z = H(null), X = H(null), J = H(null), _e = { overview: K, coaching: Z, signals: X, comments: J }, Ae = (o) => {
1064
+ We(o);
1065
+ const g = _e[o];
1066
+ g != null && g.current && g.current.scrollIntoView({ behavior: "smooth", block: "start" });
1067
+ }, Ge = [
1059
1068
  { title: "Tire Repair Appointment", date: "11/12/2025, 2:30:00 PM" },
1060
1069
  { title: "Quote Confirmation", date: "10/1/2025, 9:00:00 AM" },
1061
1070
  { title: "Automative Repair Enquiry", date: "09/15/2025, 11:45:00 AM" },
1062
1071
  { title: "Vehicle Inspection Reminder", date: "07/20/2025, 1:00:00 PM" },
1063
1072
  { title: "Oil Change Service", date: "05/5/2025, 10:00:00 AM" }
1064
- ], ze = (a) => {
1065
- var F;
1066
- const v = a / 1e3;
1067
- (F = j.current) != null && F.seekTo && j.current.seekTo(v);
1068
- }, Fe = (a) => {
1069
- q((v) => {
1070
- const F = new Set(v);
1071
- return F.has(a) ? F.delete(a) : F.add(a), F;
1073
+ ], Me = (o) => {
1074
+ var b;
1075
+ const g = o / 1e3;
1076
+ (b = M.current) != null && b.seekTo && M.current.seekTo(g);
1077
+ }, He = (o) => {
1078
+ var g;
1079
+ if (A)
1080
+ A(o);
1081
+ else {
1082
+ const b = o.start_ms ?? o.startMs;
1083
+ if (b != null && ((g = M.current) != null && g.seekTo)) {
1084
+ M.current.seekTo(b / 1e3), Q(!0), Fe(b / 1e3);
1085
+ const Ve = (o.end_ms ?? o.endMs ?? b + 5e3) - b;
1086
+ setTimeout(() => Q(!1), Ve);
1087
+ }
1088
+ }
1089
+ }, Te = (o) => {
1090
+ G && G(o);
1091
+ }, Ee = (o) => {
1092
+ q((g) => {
1093
+ const b = new Set(g);
1094
+ return b.has(o) ? b.delete(o) : b.add(o), b;
1072
1095
  });
1073
- }, Ie = (o == null ? void 0 : o.blocks) || [], E = (a) => {
1074
- var v;
1075
- return ((v = Ie.find((F) => F.block_id === a)) == null ? void 0 : v.payload) || {};
1076
- }, O = E("interaction-metadata"), J = E("interaction-context"), T = E("interaction-signals"), ee = E("interaction-outcome-lift"), _e = J.call_purpose || {}, Ae = J.classification || {}, te = { duration_seconds: 156, message_count: 25, ...O }, ne = { interaction_driver: "General Information", interaction_direction: "inbound", ..._e }, Ge = { interaction_paradigm: "Informational", ...Ae }, He = { p_expected: 0.94, p_full: 0.83, lift_raw: -0.11, lift: 0.043, interpretation: { lift_band: "positive" }, ...ee }, Me = ((re = ee.driver_signal_keys) == null ? void 0 : re.map((a) => a.replace(/^sig\./, "").replace(/_/g, " "))) || [
1096
+ }, Re = (r == null ? void 0 : r.blocks) || [], R = (o) => {
1097
+ var g;
1098
+ return ((g = Re.find((b) => b.block_id === o)) == null ? void 0 : g.payload) || {};
1099
+ }, O = R("interaction-metadata"), ee = R("interaction-context"), L = R("interaction-signals"), te = R("interaction-outcome-lift"), Le = ee.call_purpose || {}, Pe = ee.classification || {}, ne = { duration_seconds: 156, message_count: 25, ...O }, ie = { interaction_driver: "General Information", interaction_direction: "inbound", ...Le }, Be = { interaction_paradigm: "Informational", ...Pe }, $e = { p_expected: 0.94, p_full: 0.83, lift_raw: -0.11, lift: 0.043, interpretation: { lift_band: "positive" }, ...te }, je = ((le = te.driver_signal_keys) == null ? void 0 : le.map((o) => o.replace(/^sig\./, "").replace(/_/g, " "))) || [
1077
1100
  "customer needs fully addressed",
1078
1101
  "call flow expectations set",
1079
1102
  "Opening expectations set",
1080
1103
  "Active listening demonstrated",
1081
1104
  "Resolution confirmed"
1082
- ], Re = d || {
1105
+ ], Oe = d || {
1083
1106
  one_liner: "David provided the customer with information on wheel stud replacement and pricing, but did not secure an appointment.",
1084
1107
  context: "The customer was seeking information on wheel stud replacement for a 2013 Chevy Bolt and was unsure about doing the repair themselves.",
1085
1108
  strengths: [
@@ -1092,7 +1115,7 @@ const lt = {
1092
1115
  { text: "Frame solutions positively by leading with what can be done rather than limitations.", quote: "I don't have the alignment changeover the weekend." }
1093
1116
  ],
1094
1117
  overall: "effective"
1095
- }, Ee = (le = T == null ? void 0 : T.signals) != null && le.length ? T : {
1118
+ }, Ue = (se = L == null ? void 0 : L.signals) != null && se.length ? L : {
1096
1119
  present_count: 9,
1097
1120
  total_signals_evaluated: 146,
1098
1121
  signals: [
@@ -1118,7 +1141,7 @@ const lt = {
1118
1141
  { key: "prototype_developed", display_name: "Prototype Developed", observations: [{ key: "obs8a", reason: "Prototype shared." }, { key: "obs8b", reason: "Testing initiated." }, { key: "obs8c", reason: "Feedback collected." }, { key: "obs8d", reason: "Iterations completed." }, { key: "obs8e", reason: "Usability tested." }, { key: "obs8f", reason: "Design finalized." }, { key: "obs8g", reason: "Stakeholder demo done." }] },
1119
1142
  { key: "user_testing", display_name: "User Testing Scheduled", observations: [{ key: "obs9a", reason: "Testing sessions planned." }, { key: "obs9b", reason: "Participants recruited." }, { key: "obs9c", reason: "Test scripts prepared." }, { key: "obs9d", reason: "Environment set up." }, { key: "obs9e", reason: "Accessibility testing included." }, { key: "obs9f", reason: "Results framework defined." }, { key: "obs9g", reason: "Timeline confirmed." }, { key: "obs9h", reason: "Backup plan discussed." }] }
1120
1143
  ]
1121
- }, ie = h || "Agent", U = D || "Customer", oe = 8, Te = O.evaluated_dt ? new Date(O.evaluated_dt).toLocaleString() : "3/29/2026, 8:30:00 AM", Le = ne.interaction_direction === "inbound" ? "Inbound" : "Outbound";
1144
+ }, oe = u || "Agent", U = D || "Customer", re = 8, qe = O.evaluated_dt ? new Date(O.evaluated_dt).toLocaleString() : "3/29/2026, 8:30:00 AM", Ne = ie.interaction_direction === "inbound" ? "Inbound" : "Outbound";
1122
1145
  return /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", width: "100%", background: "var(--Grey-White, #FFF)" }, children: [
1123
1146
  /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 12, padding: "24px 24px 0" }, children: [
1124
1147
  /* @__PURE__ */ e(
@@ -1135,7 +1158,7 @@ const lt = {
1135
1158
  padding: 0,
1136
1159
  flexShrink: 0
1137
1160
  },
1138
- children: /* @__PURE__ */ e(se, { size: 24, color: "var(--Grey-Strong, #2E3236)" })
1161
+ children: /* @__PURE__ */ e(ae, { size: 24, color: "var(--Grey-Strong, #2E3236)" })
1139
1162
  }
1140
1163
  ),
1141
1164
  /* @__PURE__ */ e("div", { style: { width: 1, height: 28, background: "var(--Base-absent, #D9D9D9)" } }),
@@ -1155,10 +1178,10 @@ const lt = {
1155
1178
  borderBottom: "1px solid var(--Grey-Faint, #ACADAD)",
1156
1179
  padding: "0 24px",
1157
1180
  marginTop: 8
1158
- }, children: ht.map((a) => /* @__PURE__ */ e(
1181
+ }, children: Wt.map((o) => /* @__PURE__ */ e(
1159
1182
  "button",
1160
1183
  {
1161
- onClick: () => We(a.key),
1184
+ onClick: () => Ae(o.key),
1162
1185
  style: {
1163
1186
  display: "flex",
1164
1187
  padding: 16,
@@ -1166,20 +1189,20 @@ const lt = {
1166
1189
  gap: 10,
1167
1190
  background: "none",
1168
1191
  border: "none",
1169
- borderBottom: P === a.key ? "3px solid var(--Grey-Strong, #2E3236)" : "3px solid transparent",
1192
+ borderBottom: j === o.key ? "3px solid var(--Grey-Strong, #2E3236)" : "3px solid transparent",
1170
1193
  cursor: "pointer",
1171
1194
  fontSize: 15,
1172
- fontWeight: P === a.key ? 500 : 400,
1173
- color: P === a.key ? "var(--Grey-Strong, #2E3236)" : "var(--Grey-Muted, #808183)",
1195
+ fontWeight: j === o.key ? 500 : 400,
1196
+ color: j === o.key ? "var(--Grey-Strong, #2E3236)" : "var(--Grey-Muted, #808183)",
1174
1197
  whiteSpace: "nowrap",
1175
1198
  transition: "border-color 0.2s ease, color 0.2s ease"
1176
1199
  },
1177
- children: a.label
1200
+ children: o.label
1178
1201
  },
1179
- a.key
1202
+ o.key
1180
1203
  )) }),
1181
1204
  /* @__PURE__ */ t("div", { style: { padding: 24, flex: 1, overflowY: "auto" }, children: [
1182
- /* @__PURE__ */ t("div", { ref: Q, style: {
1205
+ /* @__PURE__ */ t("div", { ref: K, style: {
1183
1206
  display: "flex",
1184
1207
  flexDirection: "column",
1185
1208
  justifyContent: "flex-end",
@@ -1195,7 +1218,7 @@ const lt = {
1195
1218
  alignSelf: "stretch"
1196
1219
  }, children: [
1197
1220
  /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 8, flex: 1 }, children: [
1198
- /* @__PURE__ */ e(Ne, { size: 24, color: "var(--rail-orange, #C98A5A)", strokeWidth: 2 }),
1221
+ /* @__PURE__ */ e(nt, { size: 24, color: "var(--rail-orange, #C98A5A)", strokeWidth: 2 }),
1199
1222
  /* @__PURE__ */ e("span", { style: {
1200
1223
  fontSize: 16,
1201
1224
  fontWeight: 600,
@@ -1206,12 +1229,12 @@ const lt = {
1206
1229
  ] }),
1207
1230
  /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 16, flexShrink: 0 }, children: [
1208
1231
  /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 6, padding: "8px 0" }, children: [
1209
- /* @__PURE__ */ e(Ve, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1210
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, children: Te })
1232
+ /* @__PURE__ */ e(it, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1233
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, children: qe })
1211
1234
  ] }),
1212
1235
  /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 6, padding: "8px 0" }, children: [
1213
- /* @__PURE__ */ e(Ye, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1214
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, children: Le })
1236
+ /* @__PURE__ */ e(ot, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1237
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, children: Ne })
1215
1238
  ] }),
1216
1239
  /* @__PURE__ */ t("div", { style: {
1217
1240
  display: "flex",
@@ -1221,15 +1244,15 @@ const lt = {
1221
1244
  borderLeft: "1px solid var(--Grey-absent, #D9D9D9)"
1222
1245
  }, children: [
1223
1246
  /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 6, padding: "8px 0" }, children: [
1224
- /* @__PURE__ */ e(Qe, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1225
- /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, children: ie })
1247
+ /* @__PURE__ */ e(rt, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1248
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, children: oe })
1226
1249
  ] }),
1227
- /* @__PURE__ */ e(Ke, { size: 16, color: "var(--color-input-border, #ACACAD)", strokeWidth: 1.5 }),
1250
+ /* @__PURE__ */ e(lt, { size: 16, color: "var(--color-input-border, #ACACAD)", strokeWidth: 1.5 }),
1228
1251
  /* @__PURE__ */ t("div", { style: { position: "relative" }, children: [
1229
1252
  /* @__PURE__ */ t(
1230
1253
  "button",
1231
1254
  {
1232
- onClick: () => we((a) => !a),
1255
+ onClick: () => Ce((o) => !o),
1233
1256
  style: {
1234
1257
  display: "flex",
1235
1258
  alignItems: "center",
@@ -1240,14 +1263,14 @@ const lt = {
1240
1263
  cursor: "pointer"
1241
1264
  },
1242
1265
  children: [
1243
- /* @__PURE__ */ e(ae, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1266
+ /* @__PURE__ */ e(de, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1244
1267
  /* @__PURE__ */ t("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", lineHeight: 1.2 }, children: [
1245
1268
  U,
1246
1269
  " (",
1247
- oe,
1270
+ re,
1248
1271
  " Sessions)"
1249
1272
  ] }),
1250
- N ? /* @__PURE__ */ e(xe, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }) : /* @__PURE__ */ e(be, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 })
1273
+ N ? /* @__PURE__ */ e(be, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }) : /* @__PURE__ */ e(Se, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 })
1251
1274
  ]
1252
1275
  }
1253
1276
  ),
@@ -1270,7 +1293,7 @@ const lt = {
1270
1293
  gap: 8,
1271
1294
  padding: 16
1272
1295
  }, children: [
1273
- /* @__PURE__ */ e(ae, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5, style: { marginTop: 2, flexShrink: 0 } }),
1296
+ /* @__PURE__ */ e(de, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5, style: { marginTop: 2, flexShrink: 0 } }),
1274
1297
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 4 }, children: [
1275
1298
  /* @__PURE__ */ e("span", { style: {
1276
1299
  fontSize: 16,
@@ -1284,15 +1307,15 @@ const lt = {
1284
1307
  color: "var(--Grey-Muted, #808183)",
1285
1308
  lineHeight: 1
1286
1309
  }, children: [
1287
- oe,
1310
+ re,
1288
1311
  " Sessions in past"
1289
1312
  ] })
1290
1313
  ] })
1291
1314
  ] }),
1292
- Ce.map((a, v) => /* @__PURE__ */ t(
1315
+ Ge.map((o, g) => /* @__PURE__ */ t(
1293
1316
  "div",
1294
1317
  {
1295
- onMouseEnter: () => Y(v),
1318
+ onMouseEnter: () => Y(g),
1296
1319
  onMouseLeave: () => Y(null),
1297
1320
  style: {
1298
1321
  display: "flex",
@@ -1300,7 +1323,7 @@ const lt = {
1300
1323
  padding: "12px 16px",
1301
1324
  justifyContent: "space-between",
1302
1325
  alignItems: "center",
1303
- background: V === v ? "var(--surface-hover, #F3F7F7)" : "var(--Grey-White, #FFF)",
1326
+ background: V === g ? "var(--surface-hover, #F3F7F7)" : "var(--Grey-White, #FFF)",
1304
1327
  borderTop: "1px solid var(--Grey-absent, #D9D9D9)",
1305
1328
  cursor: "pointer",
1306
1329
  boxSizing: "border-box",
@@ -1313,18 +1336,18 @@ const lt = {
1313
1336
  fontWeight: 400,
1314
1337
  color: "var(--Grey-Strong, #2E3236)",
1315
1338
  lineHeight: 1
1316
- }, children: a.title }),
1339
+ }, children: o.title }),
1317
1340
  /* @__PURE__ */ e("span", { style: {
1318
1341
  fontSize: 12,
1319
1342
  fontWeight: 400,
1320
1343
  color: "var(--Grey-Muted, #808183)",
1321
1344
  lineHeight: 1
1322
- }, children: a.date })
1345
+ }, children: o.date })
1323
1346
  ] }),
1324
- V === v && /* @__PURE__ */ e(ve, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1, style: { flexShrink: 0 } })
1347
+ V === g && /* @__PURE__ */ e(me, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1, style: { flexShrink: 0 } })
1325
1348
  ]
1326
1349
  },
1327
- v
1350
+ g
1328
1351
  )),
1329
1352
  /* @__PURE__ */ e("div", { style: {
1330
1353
  padding: 16,
@@ -1343,7 +1366,7 @@ const lt = {
1343
1366
  borderRadius: 10,
1344
1367
  cursor: "pointer"
1345
1368
  }, children: [
1346
- /* @__PURE__ */ e(Ze, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1369
+ /* @__PURE__ */ e(st, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1347
1370
  /* @__PURE__ */ e("span", { style: {
1348
1371
  fontSize: 14,
1349
1372
  fontWeight: 600,
@@ -1361,7 +1384,7 @@ const lt = {
1361
1384
  gap: 24,
1362
1385
  alignSelf: "stretch"
1363
1386
  }, children: [
1364
- /* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(ft, {}) }),
1387
+ /* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(wt, {}) }),
1365
1388
  /* @__PURE__ */ t("div", { style: {
1366
1389
  display: "flex",
1367
1390
  flexDirection: "column",
@@ -1372,26 +1395,26 @@ const lt = {
1372
1395
  minWidth: 0
1373
1396
  }, children: [
1374
1397
  /* @__PURE__ */ e(
1375
- st,
1398
+ vt,
1376
1399
  {
1377
- meta: te,
1378
- callPurpose: ne,
1379
- classification: Ge,
1400
+ meta: ne,
1401
+ callPurpose: ie,
1402
+ classification: Be,
1380
1403
  outcomeQuality: "Neutral"
1381
1404
  }
1382
1405
  ),
1383
1406
  /* @__PURE__ */ e(
1384
- at,
1407
+ mt,
1385
1408
  {
1386
- outcomeLift: He,
1387
- driverLabels: Me
1409
+ outcomeLift: $e,
1410
+ driverLabels: je
1388
1411
  }
1389
1412
  )
1390
1413
  ] })
1391
1414
  ] })
1392
1415
  ] }),
1393
- /* @__PURE__ */ e("div", { ref: K, style: { paddingTop: 24 }, children: /* @__PURE__ */ e(ot, { data: Re }) }),
1394
- /* @__PURE__ */ t("div", { ref: Z, style: {
1416
+ /* @__PURE__ */ e("div", { ref: Z, style: { paddingTop: 24 }, children: /* @__PURE__ */ e(ht, { data: Oe }) }),
1417
+ /* @__PURE__ */ t("div", { ref: X, style: {
1395
1418
  display: "flex",
1396
1419
  flexDirection: "column",
1397
1420
  gap: 16,
@@ -1403,7 +1426,7 @@ const lt = {
1403
1426
  alignItems: "center",
1404
1427
  gap: 8
1405
1428
  }, children: [
1406
- /* @__PURE__ */ e(me, { size: 24, color: "#C98A5A", strokeWidth: 2 }),
1429
+ /* @__PURE__ */ e(xe, { size: 24, color: "#C98A5A", strokeWidth: 2 }),
1407
1430
  /* @__PURE__ */ e("span", { style: {
1408
1431
  fontSize: 16,
1409
1432
  fontWeight: 600,
@@ -1421,43 +1444,47 @@ const lt = {
1421
1444
  borderTop: "1px solid #D9D9D9"
1422
1445
  }, children: [
1423
1446
  /* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
1424
- dt,
1447
+ xt,
1425
1448
  {
1426
- signals: Ee,
1427
- expandedSignals: ke,
1428
- toggleSignal: Fe,
1429
- onShowInTranscript: ze
1449
+ signals: Ue,
1450
+ expandedSignals: De,
1451
+ toggleSignal: Ee,
1452
+ playEvidence: He,
1453
+ highlightTurns: Te,
1454
+ onShowInTranscript: Me,
1455
+ timelinePlaying: y || ze,
1456
+ currentTimeSeconds: v ?? Ie
1430
1457
  }
1431
1458
  ) }),
1432
1459
  /* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
1433
- Je,
1460
+ dt,
1434
1461
  {
1435
- ref: j,
1436
- audioUrl: g,
1437
- durationSeconds: te.duration_seconds,
1438
- audioRef: f,
1439
- agentName: ie,
1462
+ ref: M,
1463
+ audioUrl: p,
1464
+ durationSeconds: ne.duration_seconds,
1465
+ audioRef: h,
1466
+ agentName: oe,
1440
1467
  customerName: U.split(" ")[0],
1441
- currentTimeSeconds: x,
1468
+ currentTimeSeconds: v,
1442
1469
  timelinePlaying: y,
1443
- playbackRate: u,
1444
- timelineSegments: k,
1445
- onSeek: b,
1446
- onTogglePlay: w,
1447
- onSeekBack: s,
1448
- onSeekForward: r,
1449
- onSetPlaybackRate: p,
1450
- transcript: W,
1451
- activeTurnIndex: I,
1452
- turnObservations: G,
1453
- highlightedTurns: C,
1454
- onTurnPlayPause: L,
1470
+ playbackRate: m,
1471
+ timelineSegments: w,
1472
+ onSeek: S,
1473
+ onTogglePlay: W,
1474
+ onSeekBack: a,
1475
+ onSeekForward: l,
1476
+ onSetPlaybackRate: f,
1477
+ transcript: C,
1478
+ activeTurnIndex: F,
1479
+ turnObservations: T,
1480
+ highlightedTurns: z,
1481
+ onTurnPlayPause: P,
1455
1482
  setExpandedSignals: q
1456
1483
  }
1457
1484
  ) })
1458
1485
  ] })
1459
1486
  ] }),
1460
- /* @__PURE__ */ e("div", { ref: X, style: { paddingTop: 24 }, children: /* @__PURE__ */ e("div", { style: { fontSize: 14, color: "var(--Grey-Muted, #808183)", fontFamily: "var(--font-sans)" }, children: "No comments yet." }) })
1487
+ /* @__PURE__ */ e("div", { ref: J, style: { paddingTop: 24 }, children: /* @__PURE__ */ e("div", { style: { fontSize: 14, color: "var(--Grey-Muted, #808183)", fontFamily: "var(--font-sans)" }, children: "No comments yet." }) })
1461
1488
  ] }),
1462
1489
  /* @__PURE__ */ t("div", { style: {
1463
1490
  display: "flex",
@@ -1468,7 +1495,7 @@ const lt = {
1468
1495
  /* @__PURE__ */ t(
1469
1496
  "button",
1470
1497
  {
1471
- onClick: B,
1498
+ onClick: ke,
1472
1499
  style: {
1473
1500
  display: "flex",
1474
1501
  alignItems: "center",
@@ -1480,7 +1507,7 @@ const lt = {
1480
1507
  cursor: "pointer"
1481
1508
  },
1482
1509
  children: [
1483
- /* @__PURE__ */ e(se, { size: 24, color: "var(--Grey-Muted, #808183)", strokeWidth: 2 }),
1510
+ /* @__PURE__ */ e(ae, { size: 24, color: "var(--Grey-Muted, #808183)", strokeWidth: 2 }),
1484
1511
  /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 10 }, children: [
1485
1512
  /* @__PURE__ */ e("span", { style: {
1486
1513
  fontSize: 14,
@@ -1488,7 +1515,7 @@ const lt = {
1488
1515
  color: "#000",
1489
1516
  lineHeight: 1.2,
1490
1517
  textAlign: "left"
1491
- }, children: H || "Previous Session Title" }),
1518
+ }, children: E || "Previous Session Title" }),
1492
1519
  /* @__PURE__ */ e("span", { style: {
1493
1520
  fontSize: 13,
1494
1521
  fontWeight: 400,
@@ -1496,7 +1523,7 @@ const lt = {
1496
1523
  lineHeight: 1.2,
1497
1524
  opacity: 0.5,
1498
1525
  textAlign: "left"
1499
- }, children: M || "Short description of the session" })
1526
+ }, children: I || "Short description of the session" })
1500
1527
  ] })
1501
1528
  ]
1502
1529
  }
@@ -1504,7 +1531,7 @@ const lt = {
1504
1531
  /* @__PURE__ */ t(
1505
1532
  "button",
1506
1533
  {
1507
- onClick: $,
1534
+ onClick: we,
1508
1535
  style: {
1509
1536
  display: "flex",
1510
1537
  alignItems: "center",
@@ -1524,7 +1551,7 @@ const lt = {
1524
1551
  color: "#000",
1525
1552
  lineHeight: 1.2,
1526
1553
  textAlign: "left"
1527
- }, children: R || "Next Session Title" }),
1554
+ }, children: B || "Next Session Title" }),
1528
1555
  /* @__PURE__ */ e("span", { style: {
1529
1556
  fontSize: 13,
1530
1557
  fontWeight: 400,
@@ -1532,9 +1559,9 @@ const lt = {
1532
1559
  lineHeight: 1.2,
1533
1560
  opacity: 0.5,
1534
1561
  textAlign: "left"
1535
- }, children: z || "Short description of the session" })
1562
+ }, children: $ || "Short description of the session" })
1536
1563
  ] }),
1537
- /* @__PURE__ */ e(Xe, { size: 24, color: "var(--Grey-Muted, #808183)", strokeWidth: 2 })
1564
+ /* @__PURE__ */ e(at, { size: 24, color: "var(--Grey-Muted, #808183)", strokeWidth: 2 })
1538
1565
  ]
1539
1566
  }
1540
1567
  )
@@ -1542,12 +1569,12 @@ const lt = {
1542
1569
  ] });
1543
1570
  };
1544
1571
  export {
1545
- ot as UpdatedCoachingSynthesisCard,
1546
- ft as UpdatedCompassScore,
1547
- st as UpdatedInteractionContext,
1548
- bt as UpdatedInteractionDetails,
1549
- Je as UpdatedInteractionRecording,
1550
- at as UpdatedInteractionScores,
1551
- dt as UpdatedInteractionSignals
1572
+ ht as UpdatedCoachingSynthesisCard,
1573
+ wt as UpdatedCompassScore,
1574
+ vt as UpdatedInteractionContext,
1575
+ _t as UpdatedInteractionDetails,
1576
+ dt as UpdatedInteractionRecording,
1577
+ mt as UpdatedInteractionScores,
1578
+ xt as UpdatedInteractionSignals
1552
1579
  };
1553
1580
  //# sourceMappingURL=UpdatedInteractionDetails.es.js.map