chordia-ui 3.3.8 → 3.3.9

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 (159) hide show
  1. package/dist/AgentLiftCard.cjs.js.map +1 -1
  2. package/dist/AgentLiftCard.es.js +5 -3
  3. package/dist/AgentLiftCard.es.js.map +1 -1
  4. package/dist/CustomFilterChips.cjs.js.map +1 -1
  5. package/dist/CustomFilterChips.es.js +2 -1
  6. package/dist/CustomFilterChips.es.js.map +1 -1
  7. package/dist/FileUploadingState.cjs.js.map +1 -1
  8. package/dist/FileUploadingState.es.js +16 -10
  9. package/dist/FileUploadingState.es.js.map +1 -1
  10. package/dist/IntegrationCard.cjs.js.map +1 -1
  11. package/dist/IntegrationCard.es.js +3 -3
  12. package/dist/IntegrationCard.es.js.map +1 -1
  13. package/dist/SectionLabel.cjs.js.map +1 -1
  14. package/dist/SectionLabel.es.js.map +1 -1
  15. package/dist/SmallButton.cjs.js.map +1 -1
  16. package/dist/SmallButton.es.js +16 -16
  17. package/dist/SmallButton.es.js.map +1 -1
  18. package/dist/SummarySection.cjs.js.map +1 -1
  19. package/dist/SummarySection.es.js +11 -9
  20. package/dist/SummarySection.es.js.map +1 -1
  21. package/dist/TextInput.cjs.js.map +1 -1
  22. package/dist/TextInput.es.js.map +1 -1
  23. package/dist/Timeline.cjs.js.map +1 -1
  24. package/dist/Timeline.es.js +14 -8
  25. package/dist/Timeline.es.js.map +1 -1
  26. package/dist/Tooltip.cjs.js +1 -1
  27. package/dist/Tooltip.cjs.js.map +1 -1
  28. package/dist/Tooltip.es.js +31 -20
  29. package/dist/Tooltip.es.js.map +1 -1
  30. package/dist/TourGuideTooltip.cjs.js.map +1 -1
  31. package/dist/TourGuideTooltip.es.js +2 -1
  32. package/dist/TourGuideTooltip.es.js.map +1 -1
  33. package/dist/UpdatedInteractionRecording.cjs.js +1 -1
  34. package/dist/UpdatedInteractionRecording.cjs.js.map +1 -1
  35. package/dist/UpdatedInteractionRecording.es.js +79 -97
  36. package/dist/UpdatedInteractionRecording.es.js.map +1 -1
  37. package/dist/UploadInteraction.cjs.js.map +1 -1
  38. package/dist/UploadInteraction.es.js.map +1 -1
  39. package/dist/colors.cjs.js +2 -0
  40. package/dist/colors.cjs.js.map +1 -0
  41. package/dist/colors.es.js +2 -0
  42. package/dist/colors.es.js.map +1 -0
  43. package/dist/components/UpdatedInteractionDetails.cjs.js +10 -1
  44. package/dist/components/UpdatedInteractionDetails.cjs.js.map +1 -1
  45. package/dist/components/UpdatedInteractionDetails.es.js +1531 -9
  46. package/dist/components/UpdatedInteractionDetails.es.js.map +1 -1
  47. package/dist/components/chat.cjs.js +30 -1
  48. package/dist/components/chat.cjs.js.map +1 -1
  49. package/dist/components/chat.es.js +2222 -7
  50. package/dist/components/chat.es.js.map +1 -1
  51. package/dist/components/common.cjs.js +1 -1
  52. package/dist/components/common.es.js +32 -25
  53. package/dist/components/common.es.js.map +1 -1
  54. package/dist/components/data.cjs.js +1 -1
  55. package/dist/components/data.cjs.js.map +1 -1
  56. package/dist/components/data.es.js +1033 -4
  57. package/dist/components/data.es.js.map +1 -1
  58. package/dist/components/layout.cjs.js +3 -1
  59. package/dist/components/layout.cjs.js.map +1 -1
  60. package/dist/components/layout.es.js +1533 -8
  61. package/dist/components/layout.es.js.map +1 -1
  62. package/dist/components/login.cjs.js +1 -1
  63. package/dist/components/login.es.js +6 -2
  64. package/dist/components/login.es.js.map +1 -1
  65. package/dist/components/media.cjs.js +1 -1
  66. package/dist/components/media.cjs.js.map +1 -1
  67. package/dist/components/media.es.js +220 -6
  68. package/dist/components/media.es.js.map +1 -1
  69. package/dist/components/models.cjs.js +1 -1
  70. package/dist/components/models.cjs.js.map +1 -1
  71. package/dist/components/models.es.js +91 -2
  72. package/dist/components/models.es.js.map +1 -1
  73. package/dist/components/navigation.cjs.js +1 -1
  74. package/dist/components/navigation.cjs.js.map +1 -1
  75. package/dist/components/navigation.es.js +766 -7
  76. package/dist/components/navigation.es.js.map +1 -1
  77. package/dist/components/notifications.cjs.js +1 -1
  78. package/dist/components/notifications.cjs.js.map +1 -1
  79. package/dist/components/notifications.es.js +368 -3
  80. package/dist/components/notifications.es.js.map +1 -1
  81. package/dist/components/onboarding.cjs.js +1 -1
  82. package/dist/components/onboarding.cjs.js.map +1 -1
  83. package/dist/components/onboarding.es.js +985 -7
  84. package/dist/components/onboarding.es.js.map +1 -1
  85. package/dist/components/primitives.cjs.js +1 -1
  86. package/dist/components/primitives.cjs.js.map +1 -1
  87. package/dist/components/primitives.es.js +635 -25
  88. package/dist/components/primitives.es.js.map +1 -1
  89. package/dist/debugger-wc.cjs.js +4 -4
  90. package/dist/debugger-wc.cjs.js.map +1 -1
  91. package/dist/debugger-wc.es.js +15 -11
  92. package/dist/debugger-wc.es.js.map +1 -1
  93. package/dist/index.cjs.js +1 -1
  94. package/dist/index.cjs2.js +2 -49
  95. package/dist/index.cjs2.js.map +1 -1
  96. package/dist/index.cjs3.js +50 -0
  97. package/dist/index.cjs3.js.map +1 -0
  98. package/dist/index.es.js +104 -99
  99. package/dist/index.es.js.map +1 -1
  100. package/dist/index.es2.js +2632 -1776
  101. package/dist/index.es2.js.map +1 -1
  102. package/dist/index.es3.js +1944 -0
  103. package/dist/index.es3.js.map +1 -0
  104. package/dist/pages/interactionDetails.cjs.js +1 -1
  105. package/dist/pages/interactionDetails.cjs.js.map +1 -1
  106. package/dist/pages/interactionDetails.es.js +70 -47
  107. package/dist/pages/interactionDetails.es.js.map +1 -1
  108. package/dist/sortable.esm.cjs.js +1 -1
  109. package/dist/sortable.esm.cjs.js.map +1 -1
  110. package/dist/sortable.esm.es.js +55 -53
  111. package/dist/sortable.esm.es.js.map +1 -1
  112. package/dist/{chordia-ui.css → style.css} +1 -1
  113. package/package.json +1 -1
  114. package/src/components/UpdatedInteractionDetails/UpdatedInteractionDetails.jsx +318 -77
  115. package/src/components/UpdatedInteractionDetails/UpdatedInteractionRecording.jsx +7 -17
  116. package/dist/ChartRenderer.cjs.js +0 -31
  117. package/dist/ChartRenderer.cjs.js.map +0 -1
  118. package/dist/ChartRenderer.es.js +0 -2210
  119. package/dist/ChartRenderer.es.js.map +0 -1
  120. package/dist/GettingStarted.cjs.js +0 -2
  121. package/dist/GettingStarted.cjs.js.map +0 -1
  122. package/dist/GettingStarted.es.js +0 -983
  123. package/dist/GettingStarted.es.js.map +0 -1
  124. package/dist/InlineConfirm.cjs.js +0 -2
  125. package/dist/InlineConfirm.cjs.js.map +0 -1
  126. package/dist/InlineConfirm.es.js +0 -618
  127. package/dist/InlineConfirm.es.js.map +0 -1
  128. package/dist/InteractionSummaryCard.cjs.js +0 -2
  129. package/dist/InteractionSummaryCard.cjs.js.map +0 -1
  130. package/dist/InteractionSummaryCard.es.js +0 -216
  131. package/dist/InteractionSummaryCard.es.js.map +0 -1
  132. package/dist/LoginPage.cjs.js +0 -3
  133. package/dist/LoginPage.cjs.js.map +0 -1
  134. package/dist/LoginPage.es.js +0 -2618
  135. package/dist/LoginPage.es.js.map +0 -1
  136. package/dist/NavigationBar.cjs.js +0 -2
  137. package/dist/NavigationBar.cjs.js.map +0 -1
  138. package/dist/NavigationBar.es.js +0 -762
  139. package/dist/NavigationBar.es.js.map +0 -1
  140. package/dist/NotificationPanel.cjs.js +0 -2
  141. package/dist/NotificationPanel.cjs.js.map +0 -1
  142. package/dist/NotificationPanel.es.js +0 -371
  143. package/dist/NotificationPanel.es.js.map +0 -1
  144. package/dist/OverlayPanel.cjs.js +0 -2
  145. package/dist/OverlayPanel.cjs.js.map +0 -1
  146. package/dist/OverlayPanel.es.js +0 -93
  147. package/dist/OverlayPanel.es.js.map +0 -1
  148. package/dist/SplitPane.cjs.js +0 -4
  149. package/dist/SplitPane.cjs.js.map +0 -1
  150. package/dist/SplitPane.es.js +0 -1531
  151. package/dist/SplitPane.es.js.map +0 -1
  152. package/dist/SummaryStatsPanel.cjs.js +0 -2
  153. package/dist/SummaryStatsPanel.cjs.js.map +0 -1
  154. package/dist/SummaryStatsPanel.es.js +0 -1027
  155. package/dist/SummaryStatsPanel.es.js.map +0 -1
  156. package/dist/UpdatedInteractionDetails.cjs.js +0 -11
  157. package/dist/UpdatedInteractionDetails.cjs.js.map +0 -1
  158. package/dist/UpdatedInteractionDetails.es.js +0 -1310
  159. package/dist/UpdatedInteractionDetails.es.js.map +0 -1
@@ -1,12 +1,1534 @@
1
- import { U as e, a as d, b as n, c as o, d as s, e as r } from "../UpdatedInteractionDetails.es.js";
2
- import { U as i } from "../UpdatedInteractionRecording.es.js";
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
+ import me, { useState as M, useRef as xe } from "react";
3
+ import { ShieldCheck as be, TrendingUp as Se, Lightbulb as ke, ThumbsUp as re, ExternalLink as le, FileSignal as se, ChevronUp as ae, ChevronDown as de, ScrollText as De, PlayCircle as We, Info as we, ArrowLeft as V, ClipboardList as Ce, CalendarDays as ze, PhoneIncoming as Fe, Headset as Ie, Repeat as _e, CircleUser as Y, History as Ae, ArrowRight as Ge } from "lucide-react";
4
+ import { U as Q } from "../UpdatedInteractionRecording.es.js";
5
+ import "../Timeline.es.js";
6
+ const c = {
7
+ strong: "var(--Grey-Strong, #2E3236)",
8
+ muted: "var(--Grey-Muted, #808183)",
9
+ absent: "var(--Grey-absent, #D9D9D9)",
10
+ accent: "var(--rail-orange, #C98A5A)",
11
+ itemText: "var(--text-item, #3F3F3F)",
12
+ quoteLine: "var(--border-warm, #B2AEA8)",
13
+ quoteText: "var(--text-subtle-warm, #767473)",
14
+ iconBg: "var(--surface-hover, #F3F7F7)"
15
+ }, He = {
16
+ effective: "Effective",
17
+ strong: "Strong",
18
+ needs_improvement: "Needs Improvement",
19
+ mixed: "Mixed"
20
+ }, K = "updated-coaching-synthesis-keyframes";
21
+ function Me() {
22
+ if (typeof document > "u" || document.getElementById(K))
23
+ return;
24
+ const n = document.createElement("style");
25
+ n.id = K, n.textContent = `
26
+ @keyframes updated-coaching-shimmer {
27
+ 0% { background-position: -200% 0; }
28
+ 100% { background-position: 200% 0; }
29
+ }
30
+ @keyframes updated-coaching-pulse {
31
+ 0%, 100% { opacity: 0.4; }
32
+ 50% { opacity: 1; }
33
+ }
34
+ `, document.head.appendChild(n);
35
+ }
36
+ function Ee({ overall: n }) {
37
+ const i = He[n] || (n ? n.replace(/_/g, " ") : "");
38
+ return /* @__PURE__ */ t("div", { style: {
39
+ display: "flex",
40
+ alignItems: "center",
41
+ gap: 8,
42
+ flexShrink: 0
43
+ }, children: [
44
+ /* @__PURE__ */ e("span", { style: {
45
+ fontSize: 13,
46
+ fontWeight: 400,
47
+ color: c.strong,
48
+ fontFamily: "var(--font-sans)",
49
+ lineHeight: 1.2
50
+ }, children: "Overall:" }),
51
+ /* @__PURE__ */ t("div", { style: {
52
+ display: "flex",
53
+ alignItems: "center",
54
+ gap: 6
55
+ }, children: [
56
+ /* @__PURE__ */ e(re, { size: 14, color: c.strong, strokeWidth: 1.5 }),
57
+ /* @__PURE__ */ e("span", { style: {
58
+ fontSize: 13,
59
+ fontWeight: 600,
60
+ color: c.strong,
61
+ fontFamily: "var(--font-sans)",
62
+ lineHeight: 1.2
63
+ }, children: i })
64
+ ] })
65
+ ] });
66
+ }
67
+ function Te({ 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;
69
+ return /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 14 }, children: [
70
+ /* @__PURE__ */ e("div", { style: {
71
+ fontSize: 14,
72
+ fontWeight: 600,
73
+ color: c.itemText,
74
+ fontFamily: "var(--font-sans)",
75
+ lineHeight: 1.5
76
+ }, children: i }),
77
+ o && /* @__PURE__ */ t("div", { style: {
78
+ display: "flex",
79
+ gap: 10
80
+ }, children: [
81
+ /* @__PURE__ */ e("div", { style: {
82
+ width: 1,
83
+ flexShrink: 0,
84
+ alignSelf: "stretch",
85
+ background: c.quoteLine
86
+ } }),
87
+ /* @__PURE__ */ t("div", { style: {
88
+ fontSize: 14,
89
+ fontWeight: 400,
90
+ color: c.quoteText,
91
+ fontFamily: "var(--font-sans)",
92
+ lineHeight: 1.5
93
+ }, children: [
94
+ "“",
95
+ o,
96
+ "”"
97
+ ] })
98
+ ] })
99
+ ] });
100
+ }
101
+ function Z({ icon: n, label: i, items: o }) {
102
+ return !o || o.length === 0 ? null : /* @__PURE__ */ t("div", { style: {
103
+ flex: 1,
104
+ display: "flex",
105
+ flexDirection: "column",
106
+ gap: 16,
107
+ borderRadius: 12
108
+ }, children: [
109
+ /* @__PURE__ */ t("div", { style: {
110
+ display: "flex",
111
+ alignItems: "center",
112
+ gap: 16
113
+ }, children: [
114
+ /* @__PURE__ */ e("div", { style: {
115
+ display: "flex",
116
+ alignItems: "center",
117
+ justifyContent: "center",
118
+ width: 24,
119
+ height: 24,
120
+ borderRadius: 9999,
121
+ background: c.iconBg,
122
+ flexShrink: 0
123
+ }, children: n }),
124
+ /* @__PURE__ */ e("span", { style: {
125
+ fontSize: 16,
126
+ fontWeight: 600,
127
+ color: c.strong,
128
+ fontFamily: "var(--font-sans)",
129
+ lineHeight: "normal"
130
+ }, children: i })
131
+ ] }),
132
+ /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: o.map((a, p) => /* @__PURE__ */ e(Te, { item: a }, p)) })
133
+ ] });
134
+ }
135
+ const X = ({ data: n, loading: i, error: o }) => {
136
+ var y, u;
137
+ if (me.useEffect(() => {
138
+ Me();
139
+ }, []), i)
140
+ return /* @__PURE__ */ t("div", { style: {
141
+ display: "flex",
142
+ flexDirection: "column",
143
+ gap: 12
144
+ }, children: [
145
+ /* @__PURE__ */ t("div", { style: {
146
+ display: "flex",
147
+ alignItems: "center",
148
+ gap: 8
149
+ }, children: [
150
+ /* @__PURE__ */ e("div", { style: {
151
+ width: 6,
152
+ height: 6,
153
+ borderRadius: "50%",
154
+ background: c.accent,
155
+ animation: "updated-coaching-pulse 1.5s ease-in-out infinite"
156
+ } }),
157
+ /* @__PURE__ */ e("span", { style: {
158
+ fontSize: 14,
159
+ color: c.muted,
160
+ fontWeight: 500
161
+ }, children: "Synthesizing coaching summary..." })
162
+ ] }),
163
+ [180, 260, 220].map((k, b) => /* @__PURE__ */ e(
164
+ "div",
165
+ {
166
+ style: {
167
+ height: 10,
168
+ width: k,
169
+ maxWidth: "100%",
170
+ borderRadius: 4,
171
+ background: `linear-gradient(90deg, ${c.absent} 25%, var(--shimmer-mid, #ECECEC) 50%, ${c.absent} 75%)`,
172
+ backgroundSize: "200% 100%",
173
+ animation: "updated-coaching-shimmer 1.8s ease-in-out infinite",
174
+ animationDelay: `${b * 0.2}s`
175
+ }
176
+ },
177
+ b
178
+ ))
179
+ ] });
180
+ if (o)
181
+ return /* @__PURE__ */ e("div", { style: {
182
+ fontSize: 14,
183
+ color: c.muted
184
+ }, children: "Unable to generate coaching summary." });
185
+ if (!n)
186
+ return null;
187
+ const a = n.strengths || [], p = n.improvements || [], h = 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) || "";
188
+ return /* @__PURE__ */ t("div", { style: {
189
+ display: "flex",
190
+ flexDirection: "column",
191
+ gap: 16,
192
+ background: "#FFF"
193
+ }, children: [
194
+ /* @__PURE__ */ t("div", { style: {
195
+ display: "flex",
196
+ alignItems: "center",
197
+ gap: 8
198
+ }, children: [
199
+ /* @__PURE__ */ e(be, { size: 20, color: c.accent, strokeWidth: 2 }),
200
+ /* @__PURE__ */ e("span", { style: {
201
+ fontSize: 16,
202
+ fontWeight: 600,
203
+ color: c.strong,
204
+ fontFamily: "var(--font-sans)",
205
+ lineHeight: 1.2,
206
+ textTransform: "uppercase"
207
+ }, children: "Coaching Summary" })
208
+ ] }),
209
+ h && /* @__PURE__ */ e("div", { style: {
210
+ fontSize: 14,
211
+ fontWeight: 500,
212
+ color: c.strong,
213
+ fontFamily: "var(--font-sans)",
214
+ lineHeight: 1.5
215
+ }, children: h }),
216
+ /* @__PURE__ */ t("div", { style: {
217
+ display: "flex",
218
+ alignItems: "flex-start",
219
+ gap: 16,
220
+ justifyContent: "space-between"
221
+ }, children: [
222
+ x && /* @__PURE__ */ e("div", { style: {
223
+ fontSize: 14,
224
+ fontWeight: 400,
225
+ color: c.muted,
226
+ fontFamily: "var(--font-sans)",
227
+ lineHeight: 1.5,
228
+ flex: 1
229
+ }, children: x }),
230
+ n.overall && /* @__PURE__ */ e(Ee, { overall: n.overall })
231
+ ] }),
232
+ (a.length > 0 || p.length > 0) && /* @__PURE__ */ t("div", { style: {
233
+ display: "flex",
234
+ gap: 24,
235
+ paddingTop: 24,
236
+ borderTop: `1px solid ${c.absent}`
237
+ }, children: [
238
+ /* @__PURE__ */ e(
239
+ Z,
240
+ {
241
+ icon: /* @__PURE__ */ e(Se, { size: 14, color: c.strong, strokeWidth: 1.5 }),
242
+ label: "Key Strengths",
243
+ items: a
244
+ }
245
+ ),
246
+ /* @__PURE__ */ e(
247
+ Z,
248
+ {
249
+ icon: /* @__PURE__ */ e(ke, { size: 14, color: c.strong, strokeWidth: 1.5 }),
250
+ label: "Improvements",
251
+ items: p
252
+ }
253
+ )
254
+ ] })
255
+ ] });
256
+ };
257
+ function Re(n) {
258
+ const i = Math.floor(n / 60), o = Math.round(n % 60);
259
+ return `${i}:${o.toString().padStart(2, "0")}`;
260
+ }
261
+ const Le = {
262
+ display: "flex",
263
+ justifyContent: "space-between",
264
+ padding: "8px 8px 12px 8px",
265
+ alignItems: "center",
266
+ gap: 24,
267
+ fontFamily: "var(--font-sans)",
268
+ fontSize: 13,
269
+ fontWeight: 400,
270
+ lineHeight: "normal",
271
+ borderBottom: "1px solid var(--Grey-absent, #D9D9D9)"
272
+ }, J = {
273
+ display: "flex",
274
+ flexDirection: "column",
275
+ flex: "1 0 0",
276
+ gap: 12,
277
+ minWidth: 0
278
+ }, Be = ({
279
+ meta: n = {},
280
+ callPurpose: i = {},
281
+ classification: o = {},
282
+ dimensions: a = [],
283
+ outcomeQuality: p = "Neutral",
284
+ onMoreDetails: h
285
+ }) => {
286
+ const x = n.duration_seconds != null ? Re(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
+ ...a.filter((r, g) => g % 2 === 0).map((r) => ({ label: r.label || r.key, value: r.value })),
290
+ { label: "Outcome Quality", value: p }
291
+ ].filter(Boolean), v = [
292
+ y != null && { label: "Messages", value: y },
293
+ k != null && { label: "Paradigm", value: k },
294
+ ...a.filter((r, g) => g % 2 === 1).map((r) => ({ label: r.label || r.key, value: r.value })),
295
+ { label: "More Details", isLink: !0 }
296
+ ].filter(Boolean), s = (r) => r.isLink ? /* @__PURE__ */ t(
297
+ "div",
298
+ {
299
+ onClick: h,
300
+ style: {
301
+ display: "flex",
302
+ alignItems: "center",
303
+ gap: 6,
304
+ padding: "8px 0 8px 0",
305
+ cursor: "pointer",
306
+ fontFamily: "var(--font-sans)"
307
+ },
308
+ children: [
309
+ /* @__PURE__ */ e(le, { size: 16, color: "#808183", strokeWidth: 1.5 }),
310
+ /* @__PURE__ */ e("span", { style: { color: "var(--Grey-Strong, #2E3236)", fontSize: 13, fontWeight: 400 }, children: r.label })
311
+ ]
312
+ },
313
+ r.label
314
+ ) : /* @__PURE__ */ t(
315
+ "div",
316
+ {
317
+ style: Le,
318
+ 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 })
321
+ ]
322
+ },
323
+ r.label
324
+ );
325
+ return /* @__PURE__ */ t(
326
+ "div",
327
+ {
328
+ style: {
329
+ display: "flex",
330
+ alignItems: "flex-start",
331
+ gap: 24,
332
+ alignSelf: "stretch"
333
+ },
334
+ children: [
335
+ /* @__PURE__ */ e("div", { style: J, children: b.map((r) => s(r)) }),
336
+ /* @__PURE__ */ e("div", { style: J, children: v.map((r) => s(r)) })
337
+ ]
338
+ }
339
+ );
340
+ }, l = {
341
+ strong: "var(--Grey-Strong, #2E3236)",
342
+ muted: "var(--Grey-Muted, #808183)",
343
+ absent: "var(--Grey-absent, #D9D9D9)",
344
+ white: "var(--Grey-White, #FFF)",
345
+ cardBg: "var(--surface-warm-40, rgba(243, 241, 229, 0.40))"
346
+ }, m = 1.2, ee = 3, te = (n) => n != null ? Math.round(n * 100) + "%" : "—", ne = (n) => {
347
+ if (n == null)
348
+ return "—";
349
+ const i = (n * 100).toFixed(1);
350
+ return n > 0 ? `+${i}pp` : `${i}pp`;
351
+ }, $e = ({ outcomeLift: n, driverLabels: i = [] }) => {
352
+ var b;
353
+ if (!n || n.lift == null)
354
+ return null;
355
+ const o = n.p_expected, a = n.p_full, p = n.lift_raw ?? (a != null && o != null ? a - o : null), h = n.lift, x = (b = n.interpretation) != null && b.lift_band ? n.interpretation.lift_band.replace(/_/g, " ") : h >= 0 ? "Positive" : "Negative", y = x.charAt(0).toUpperCase() + x.slice(1), u = i.slice(0, ee), k = i.length - ee;
356
+ return /* @__PURE__ */ t(
357
+ "div",
358
+ {
359
+ style: {
360
+ display: "flex",
361
+ flexDirection: "column",
362
+ padding: 24,
363
+ gap: 24,
364
+ borderRadius: 8,
365
+ border: `1px solid ${l.absent}`,
366
+ background: l.cardBg,
367
+ alignSelf: "stretch"
368
+ },
369
+ children: [
370
+ /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 32 }, children: [
371
+ /* @__PURE__ */ t(
372
+ "div",
373
+ {
374
+ style: {
375
+ display: "flex",
376
+ alignItems: "center",
377
+ justifyContent: "space-between",
378
+ gap: 24,
379
+ alignSelf: "stretch"
380
+ },
381
+ children: [
382
+ /* @__PURE__ */ e(
383
+ "span",
384
+ {
385
+ style: {
386
+ fontSize: 15,
387
+ fontWeight: 600,
388
+ color: l.strong,
389
+ fontFamily: "var(--font-sans)",
390
+ lineHeight: m
391
+ },
392
+ children: "Agent Lift Analysis"
393
+ }
394
+ ),
395
+ /* @__PURE__ */ t(
396
+ "div",
397
+ {
398
+ style: {
399
+ display: "flex",
400
+ alignItems: "center",
401
+ gap: 8,
402
+ fontFamily: "var(--font-sans)"
403
+ },
404
+ 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: ne(h) }),
407
+ /* @__PURE__ */ t(
408
+ "div",
409
+ {
410
+ style: {
411
+ display: "flex",
412
+ alignItems: "center",
413
+ gap: 6,
414
+ paddingLeft: 8,
415
+ borderLeft: `1px solid ${l.absent}`
416
+ },
417
+ children: [
418
+ /* @__PURE__ */ e(re, { size: 14, color: l.strong }),
419
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 600, color: l.strong, lineHeight: m }, children: y })
420
+ ]
421
+ }
422
+ )
423
+ ]
424
+ }
425
+ )
426
+ ]
427
+ }
428
+ ),
429
+ /* @__PURE__ */ t(
430
+ "div",
431
+ {
432
+ style: {
433
+ display: "flex",
434
+ alignItems: "flex-end",
435
+ gap: 24
436
+ },
437
+ children: [
438
+ /* @__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: te(o) }),
440
+ /* @__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" })
443
+ ] })
444
+ ] }),
445
+ /* @__PURE__ */ t("div", { style: {
446
+ display: "flex",
447
+ flexDirection: "column",
448
+ gap: 16,
449
+ alignItems: "center",
450
+ paddingLeft: 24,
451
+ borderLeft: `1px solid ${l.absent}`
452
+ }, children: [
453
+ /* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: ne(p) }),
454
+ /* @__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" })
457
+ ] })
458
+ ] }),
459
+ /* @__PURE__ */ t("div", { style: {
460
+ display: "flex",
461
+ flexDirection: "column",
462
+ gap: 16,
463
+ alignItems: "center",
464
+ paddingLeft: 24,
465
+ borderLeft: `1px solid ${l.absent}`
466
+ }, children: [
467
+ /* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children: te(a) }),
468
+ /* @__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" })
471
+ ] })
472
+ ] })
473
+ ]
474
+ }
475
+ )
476
+ ] }),
477
+ i.length > 0 && /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 4, alignSelf: "stretch" }, children: [
478
+ /* @__PURE__ */ e(
479
+ "span",
480
+ {
481
+ style: {
482
+ fontSize: 12,
483
+ fontWeight: 600,
484
+ color: l.strong,
485
+ fontFamily: "var(--font-sans)",
486
+ lineHeight: m
487
+ },
488
+ children: "Key Drivers"
489
+ }
490
+ ),
491
+ /* @__PURE__ */ t("div", { style: { display: "flex", flexWrap: "wrap", gap: 4 }, children: [
492
+ u.map((v, s) => /* @__PURE__ */ e(
493
+ "div",
494
+ {
495
+ style: {
496
+ display: "flex",
497
+ padding: 8,
498
+ alignItems: "center",
499
+ justifyContent: "center",
500
+ borderRadius: 4,
501
+ border: `1px solid ${l.absent}`,
502
+ background: l.white
503
+ },
504
+ children: /* @__PURE__ */ e(
505
+ "span",
506
+ {
507
+ style: {
508
+ fontSize: 12,
509
+ fontWeight: 400,
510
+ color: l.strong,
511
+ fontFamily: "var(--font-sans)",
512
+ lineHeight: m,
513
+ whiteSpace: "nowrap",
514
+ overflow: "hidden",
515
+ textOverflow: "ellipsis",
516
+ maxWidth: 200
517
+ },
518
+ children: v
519
+ }
520
+ )
521
+ },
522
+ s
523
+ )),
524
+ k > 0 && /* @__PURE__ */ e(
525
+ "div",
526
+ {
527
+ style: {
528
+ display: "flex",
529
+ padding: 8,
530
+ alignItems: "center",
531
+ justifyContent: "center",
532
+ borderRadius: 4,
533
+ border: `1px solid ${l.absent}`,
534
+ background: l.white
535
+ },
536
+ children: /* @__PURE__ */ t(
537
+ "span",
538
+ {
539
+ style: {
540
+ fontSize: 12,
541
+ fontWeight: 400,
542
+ color: l.strong,
543
+ fontFamily: "var(--font-sans)",
544
+ lineHeight: m,
545
+ whiteSpace: "nowrap"
546
+ },
547
+ children: [
548
+ "+ ",
549
+ k
550
+ ]
551
+ }
552
+ )
553
+ }
554
+ )
555
+ ] })
556
+ ] })
557
+ ]
558
+ }
559
+ );
560
+ }, ie = ({ children: n, size: i = 28, onClick: o, title: a }) => {
561
+ const [p, h] = M(!1);
562
+ return /* @__PURE__ */ e(
563
+ "div",
564
+ {
565
+ title: a,
566
+ onClick: o,
567
+ onMouseEnter: () => h(!0),
568
+ onMouseLeave: () => h(!1),
569
+ style: {
570
+ display: "flex",
571
+ alignItems: "center",
572
+ justifyContent: "center",
573
+ width: i,
574
+ height: i,
575
+ borderRadius: 9999,
576
+ background: p ? "var(--surface-hover, #F3F7F7)" : "transparent",
577
+ cursor: "pointer",
578
+ flexShrink: 0,
579
+ transition: "background 0.15s"
580
+ },
581
+ children: n
582
+ }
583
+ );
584
+ }, oe = ({
585
+ signals: n = { signals: [], present_count: 0, total_signals_evaluated: 0 },
586
+ expandedSignals: i = /* @__PURE__ */ new Set(),
587
+ toggleSignal: o = () => {
588
+ },
589
+ playEvidence: a = () => {
590
+ },
591
+ highlightTurns: p = () => {
592
+ },
593
+ onShowInTranscript: h = () => {
594
+ },
595
+ timelinePlaying: x = !1,
596
+ currentTimeSeconds: y = 0
597
+ }) => {
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), g = Math.floor(s % 6e4 / 1e3);
600
+ return `${r.toString().padStart(2, "0")}:${g.toString().padStart(2, "0")}`;
601
+ }, v = (s) => x && s.start_ms != null && y * 1e3 >= s.start_ms && y * 1e3 <= (s.end_ms ?? s.start_ms + 5e3);
602
+ return /* @__PURE__ */ t("div", { style: {
603
+ display: "flex",
604
+ flexDirection: "column",
605
+ alignItems: "flex-start",
606
+ alignSelf: "stretch",
607
+ width: "100%",
608
+ gap: 16
609
+ }, children: [
610
+ /* @__PURE__ */ t("div", { style: {
611
+ display: "flex",
612
+ alignItems: "center",
613
+ gap: 16,
614
+ width: "100%"
615
+ }, children: [
616
+ /* @__PURE__ */ e("div", { style: {
617
+ display: "flex",
618
+ alignItems: "center",
619
+ justifyContent: "center",
620
+ width: 34,
621
+ height: 34,
622
+ borderRadius: 9999,
623
+ background: "var(--surface-hover, #F3F7F7)",
624
+ flexShrink: 0
625
+ }, children: /* @__PURE__ */ e(se, { size: 20, color: "#2E3236", strokeWidth: 1.5 }) }),
626
+ /* @__PURE__ */ t("div", { style: {
627
+ display: "flex",
628
+ alignItems: "center",
629
+ justifyContent: "space-between",
630
+ flex: 1
631
+ }, children: [
632
+ /* @__PURE__ */ e("span", { style: {
633
+ fontSize: 15,
634
+ fontWeight: 500,
635
+ color: "var(--Grey-Strong, #2E3236)"
636
+ }, children: "Signals" }),
637
+ /* @__PURE__ */ t("span", { style: {
638
+ fontSize: 14,
639
+ fontWeight: 500,
640
+ color: "var(--Grey-Strong, #2E3236)"
641
+ }, children: [
642
+ k,
643
+ " Signals Detected"
644
+ ] })
645
+ ] })
646
+ ] }),
647
+ /* @__PURE__ */ t("div", { style: {
648
+ display: "flex",
649
+ flexDirection: "column",
650
+ alignSelf: "stretch",
651
+ background: "var(--Grey-White, #FFF)",
652
+ gap: 8
653
+ }, children: [
654
+ u.length === 0 && /* @__PURE__ */ e("div", { style: {
655
+ padding: "8px 0",
656
+ fontSize: 14,
657
+ color: "var(--Grey-Muted, #808183)"
658
+ }, children: "No signals detected." }),
659
+ u.map((s, r) => {
660
+ var w, z, _;
661
+ const g = s.key ?? s.id ?? r, f = i.has(g), C = ((w = s.observations) == null ? void 0 : w.length) ?? 0;
662
+ return /* @__PURE__ */ t(
663
+ "div",
664
+ {
665
+ id: `signal-${g}`,
666
+ style: {
667
+ display: "flex",
668
+ flexDirection: "column",
669
+ width: "100%",
670
+ gap: 8
671
+ },
672
+ children: [
673
+ /* @__PURE__ */ t(
674
+ "button",
675
+ {
676
+ onClick: () => o(g),
677
+ style: {
678
+ display: "flex",
679
+ padding: "8px 0",
680
+ alignItems: "center",
681
+ gap: 12,
682
+ alignSelf: "stretch",
683
+ width: "100%",
684
+ background: "none",
685
+ border: "none",
686
+ borderBottom: "1px solid var(--Grey-absent, #D9D9D9)",
687
+ cursor: "pointer"
688
+ },
689
+ children: [
690
+ /* @__PURE__ */ t("span", { style: {
691
+ flex: 1,
692
+ textAlign: "left",
693
+ fontSize: 14,
694
+ fontWeight: 600,
695
+ color: "var(--text-dark, #0B0A0A)",
696
+ lineHeight: 1.71
697
+ }, children: [
698
+ s.display_name || ((z = s.key) == null ? void 0 : z.replace(/_/g, " ")),
699
+ C > 0 && /* @__PURE__ */ t("span", { style: {
700
+ fontWeight: 600,
701
+ color: "var(--text-dark, #0B0A0A)",
702
+ marginLeft: 6
703
+ }, children: [
704
+ "(",
705
+ C,
706
+ ")"
707
+ ] })
708
+ ] }),
709
+ f ? /* @__PURE__ */ e(ae, { size: 20, color: "#767473" }) : /* @__PURE__ */ e(de, { size: 20, color: "#767473" })
710
+ ]
711
+ }
712
+ ),
713
+ f && ((_ = s.observations) == null ? void 0 : _.length) > 0 && /* @__PURE__ */ e("div", { style: {
714
+ display: "flex",
715
+ flexDirection: "column",
716
+ alignSelf: "stretch",
717
+ gap: 0
718
+ }, children: s.observations.map((F, E) => {
719
+ var H, T, A;
720
+ return /* @__PURE__ */ t(
721
+ "div",
722
+ {
723
+ style: {
724
+ display: "flex",
725
+ flexDirection: "column",
726
+ alignSelf: "stretch",
727
+ gap: 8
728
+ },
729
+ children: [
730
+ /* @__PURE__ */ t("div", { style: {
731
+ display: "flex",
732
+ alignItems: "center",
733
+ gap: 12,
734
+ padding: "8px 0",
735
+ justifyContent: "space-between"
736
+ }, children: [
737
+ /* @__PURE__ */ e("span", { style: {
738
+ flex: 1,
739
+ fontSize: 14,
740
+ fontWeight: 400,
741
+ color: "var(--text-subtle-warm, #767473)",
742
+ lineHeight: 1.5
743
+ }, children: F.reason || F.explanation }),
744
+ ((T = (H = F.evidence) == null ? void 0 : H[0]) == null ? void 0 : T.start_ms) != null && /* @__PURE__ */ t(
745
+ "div",
746
+ {
747
+ style: {
748
+ display: "flex",
749
+ alignItems: "center",
750
+ gap: 8,
751
+ flexShrink: 0
752
+ },
753
+ children: [
754
+ /* @__PURE__ */ e(
755
+ ie,
756
+ {
757
+ size: 28,
758
+ title: "Show in transcript",
759
+ onClick: (D) => {
760
+ D.stopPropagation(), h(F.evidence[0].start_ms);
761
+ },
762
+ children: /* @__PURE__ */ e(De, { size: 16, color: "#808183", strokeWidth: 1.5 })
763
+ }
764
+ ),
765
+ /* @__PURE__ */ e("span", { style: {
766
+ fontSize: 13,
767
+ fontWeight: 400,
768
+ color: "var(--Grey-Muted, #808183)",
769
+ lineHeight: 1.2,
770
+ whiteSpace: "nowrap"
771
+ }, children: b(F.evidence[0].start_ms) })
772
+ ]
773
+ }
774
+ )
775
+ ] }),
776
+ (A = F.evidence) == null ? void 0 : A.map((D, R) => D.text && /* @__PURE__ */ t(
777
+ "div",
778
+ {
779
+ onClick: (G) => {
780
+ G.stopPropagation(), a(D);
781
+ },
782
+ onMouseEnter: () => p(D.turn_ids ?? []),
783
+ onMouseLeave: () => p([]),
784
+ style: {
785
+ display: "flex",
786
+ alignItems: "center",
787
+ gap: 8,
788
+ padding: "8px 0",
789
+ cursor: "pointer"
790
+ },
791
+ children: [
792
+ /* @__PURE__ */ e(ie, { size: 28, children: /* @__PURE__ */ e(
793
+ We,
794
+ {
795
+ size: 17,
796
+ color: v(D) ? "var(--rail-orange, #C98A5A)" : "var(--Grey-Muted, #808183)",
797
+ strokeWidth: 1
798
+ }
799
+ ) }),
800
+ /* @__PURE__ */ t("span", { style: {
801
+ fontSize: 13,
802
+ fontWeight: 400,
803
+ color: "var(--Grey-Strong, #2E3236)",
804
+ lineHeight: 1.2
805
+ }, children: [
806
+ "“",
807
+ D.text,
808
+ "”"
809
+ ] })
810
+ ]
811
+ },
812
+ R
813
+ ))
814
+ ]
815
+ },
816
+ F.key ?? E
817
+ );
818
+ }) })
819
+ ]
820
+ },
821
+ g
822
+ );
823
+ })
824
+ ] })
825
+ ] });
826
+ }, S = {
827
+ strong: "var(--Grey-Strong, #2E3236)",
828
+ muted: "var(--Grey-Muted, #808183)",
829
+ absent: "var(--Grey-absent, #D9D9D9)",
830
+ white: "var(--Grey-White, #FFF)",
831
+ accent: "var(--rail-orange, #C98A5A)",
832
+ track: "var(--rail-surface-2, #E3E1D7)",
833
+ infoIcon: "var(--color-input-border, #ACACAD)"
834
+ }, Pe = ({ score: n = 4, maxScore: i = 10 }) => {
835
+ const k = Math.min(Math.round(n / i * 5), 5), b = 180 / 5, v = (g) => {
836
+ const f = g * Math.PI / 180;
837
+ return {
838
+ x: 121.5 + 85 * Math.cos(f),
839
+ y: 123 - 85 * Math.sin(f)
840
+ };
841
+ }, s = (g, f) => {
842
+ const C = v(g), w = v(f), z = g - f > 180 ? 1 : 0;
843
+ return `M ${C.x} ${C.y} A 85 85 0 ${z} 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 }, (g, f) => {
846
+ const C = 180 - f * b - (f > 0 ? r / 2 : 0), w = 180 - (f + 1) * b + (f < 5 - 1 ? r / 2 : 0), z = f < k;
847
+ return /* @__PURE__ */ e(
848
+ "path",
849
+ {
850
+ d: s(C, w),
851
+ stroke: z ? S.strong : S.track,
852
+ strokeWidth: 30,
853
+ strokeLinecap: "butt",
854
+ fill: "none"
855
+ },
856
+ f
857
+ );
858
+ }) });
859
+ }, je = ({ value: n = 0, maxValue: i = 5 }) => /* @__PURE__ */ e("div", { style: { display: "flex", gap: 2 }, children: Array.from({ length: i }, (o, a) => /* @__PURE__ */ e(
860
+ "div",
861
+ {
862
+ style: {
863
+ width: 22,
864
+ height: 6,
865
+ borderRadius: 1,
866
+ background: a < n ? S.strong : S.track
867
+ }
868
+ },
869
+ a
870
+ )) }), Oe = ({ label: n, value: i = 0, maxValue: o = 5 }) => /* @__PURE__ */ t("div", { style: {
871
+ display: "flex",
872
+ flexDirection: "column",
873
+ gap: 8,
874
+ padding: 8,
875
+ alignItems: "center"
876
+ }, children: [
877
+ /* @__PURE__ */ t("div", { style: {
878
+ display: "flex",
879
+ alignItems: "center",
880
+ gap: 8
881
+ }, children: [
882
+ /* @__PURE__ */ e("span", { style: {
883
+ fontSize: 12,
884
+ fontWeight: 400,
885
+ color: S.strong,
886
+ fontFamily: "var(--font-sans)",
887
+ lineHeight: "normal"
888
+ }, children: n }),
889
+ /* @__PURE__ */ e(we, { size: 14, color: S.infoIcon, strokeWidth: 1 })
890
+ ] }),
891
+ /* @__PURE__ */ e(je, { value: i, maxValue: o })
892
+ ] }), Ue = ({
893
+ score: n = 83,
894
+ maxScore: i = 100,
895
+ predictedScore: o = 4,
896
+ predictedLabel: a = "Predicted Objective",
897
+ description: p = "",
898
+ legends: h = [
899
+ { label: "CSAT", value: 3 },
900
+ { label: "Resolution", value: 4 },
901
+ { label: "Process Adherence", value: 5 },
902
+ { label: "Communication", value: 3 }
903
+ ]
904
+ }) => {
905
+ const x = String(o).padStart(2, "0");
906
+ return /* @__PURE__ */ t("div", { style: {
907
+ display: "flex",
908
+ flexDirection: "column",
909
+ padding: 24,
910
+ borderRadius: 8,
911
+ border: `1px solid ${S.absent}`,
912
+ background: S.white,
913
+ alignSelf: "stretch",
914
+ gap: 24
915
+ }, children: [
916
+ /* @__PURE__ */ t("div", { style: {
917
+ display: "flex",
918
+ flexDirection: "column",
919
+ gap: 8
920
+ }, children: [
921
+ /* @__PURE__ */ e("span", { style: {
922
+ fontSize: 15,
923
+ fontWeight: 600,
924
+ color: S.strong,
925
+ fontFamily: "var(--font-sans)",
926
+ lineHeight: 1.2
927
+ }, children: "Compass Score" }),
928
+ /* @__PURE__ */ e("span", { style: {
929
+ fontSize: 14,
930
+ fontWeight: 400,
931
+ color: S.muted,
932
+ fontFamily: "var(--font-sans)",
933
+ lineHeight: "normal"
934
+ }, children: p })
935
+ ] }),
936
+ /* @__PURE__ */ t("div", { style: {
937
+ display: "flex",
938
+ alignItems: "center",
939
+ justifyContent: "center",
940
+ gap: 48,
941
+ flex: 1
942
+ }, children: [
943
+ /* @__PURE__ */ t("div", { style: {
944
+ display: "flex",
945
+ width: 243,
946
+ flexDirection: "column",
947
+ alignItems: "center",
948
+ flexShrink: 0
949
+ }, children: [
950
+ /* @__PURE__ */ e(Pe, { score: n, maxScore: i }),
951
+ /* @__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
+ /* @__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
+ /* @__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)" })
954
+ ] }),
955
+ /* @__PURE__ */ e("div", { style: {
956
+ fontSize: 28,
957
+ fontWeight: 400,
958
+ color: S.strong,
959
+ fontFamily: "var(--font-sans)",
960
+ lineHeight: 1,
961
+ textAlign: "center",
962
+ marginTop: 8
963
+ }, children: n })
964
+ ] }),
965
+ /* @__PURE__ */ t("div", { style: {
966
+ display: "flex",
967
+ flexDirection: "column",
968
+ gap: 8,
969
+ alignItems: "center",
970
+ justifyContent: "center",
971
+ flex: 1
972
+ }, children: [
973
+ /* @__PURE__ */ t("div", { style: {
974
+ display: "flex",
975
+ flexDirection: "column",
976
+ alignItems: "center"
977
+ }, children: [
978
+ /* @__PURE__ */ e("div", { style: {
979
+ fontSize: 28,
980
+ fontWeight: 400,
981
+ color: S.strong,
982
+ fontFamily: "var(--font-sans)",
983
+ lineHeight: 1,
984
+ textAlign: "center"
985
+ }, children: x }),
986
+ /* @__PURE__ */ e("div", { style: {
987
+ fontSize: 14,
988
+ fontWeight: 400,
989
+ color: S.muted,
990
+ fontFamily: "var(--font-sans)",
991
+ lineHeight: 1.43,
992
+ textAlign: "center"
993
+ }, children: a })
994
+ ] }),
995
+ /* @__PURE__ */ e("div", { style: {
996
+ width: "100%",
997
+ height: 1,
998
+ background: S.absent
999
+ } }),
1000
+ h.map((y, u) => /* @__PURE__ */ e(
1001
+ Oe,
1002
+ {
1003
+ label: y.label,
1004
+ value: y.value
1005
+ },
1006
+ u
1007
+ ))
1008
+ ] })
1009
+ ] })
1010
+ ] });
1011
+ }, qe = [
1012
+ { key: "overview", label: "Overview" },
1013
+ { key: "coaching", label: "Coaching Summary" },
1014
+ { key: "signals", label: "Signals & Guidance" },
1015
+ { key: "comments", label: "Comments" }
1016
+ ], Ze = ({
1017
+ title: n = "Wheel Stud Replacement Enquiry",
1018
+ onBack: i,
1019
+ // Data props — all optional with defaults for demo
1020
+ data: o,
1021
+ coachingData: a,
1022
+ audioUrl: p,
1023
+ // Footer navigation
1024
+ prevSessionTitle: h,
1025
+ prevSessionDesc: x,
1026
+ nextSessionTitle: y,
1027
+ nextSessionDesc: u,
1028
+ onPreviousSession: k,
1029
+ onNextSession: b
1030
+ }) => {
1031
+ var q, N;
1032
+ const [v, s] = M("overview"), [r, g] = M(/* @__PURE__ */ new Set()), [f, C] = M(!1), [w, z] = M(null), _ = xe(null), F = [
1033
+ { title: "Tire Repair Appointment", date: "11/12/2025, 2:30:00 PM" },
1034
+ { title: "Quote Confirmation", date: "10/1/2025, 9:00:00 AM" },
1035
+ { title: "Automative Repair Enquiry", date: "09/15/2025, 11:45:00 AM" },
1036
+ { title: "Vehicle Inspection Reminder", date: "07/20/2025, 1:00:00 PM" },
1037
+ { title: "Oil Change Service", date: "05/5/2025, 10:00:00 AM" }
1038
+ ], E = (d) => {
1039
+ var I;
1040
+ const W = d / 1e3;
1041
+ (I = _.current) != null && I.seekTo && _.current.seekTo(W);
1042
+ }, H = (d) => {
1043
+ g((W) => {
1044
+ const I = new Set(W);
1045
+ return I.has(d) ? I.delete(d) : I.add(d), I;
1046
+ });
1047
+ }, T = (o == null ? void 0 : o.blocks) || [], A = (d) => {
1048
+ var W;
1049
+ return ((W = T.find((I) => I.block_id === d)) == null ? void 0 : W.payload) || {};
1050
+ }, D = A("interaction-metadata"), R = A("interaction-context"), G = A("interaction-signals"), B = A("interaction-outcome-lift"), ce = R.call_purpose || {}, pe = R.classification || {}, L = { duration_seconds: 156, message_count: 25, ...D }, $ = { interaction_driver: "General Information", interaction_direction: "inbound", ...ce }, ge = { interaction_paradigm: "Informational", ...pe }, fe = { p_expected: 0.94, p_full: 0.83, lift_raw: -0.11, lift: 0.043, interpretation: { lift_band: "positive" }, ...B }, he = ((q = B.driver_signal_keys) == null ? void 0 : q.map((d) => d.replace(/^sig\./, "").replace(/_/g, " "))) || [
1051
+ "customer needs fully addressed",
1052
+ "call flow expectations set",
1053
+ "Opening expectations set",
1054
+ "Active listening demonstrated",
1055
+ "Resolution confirmed"
1056
+ ], P = a || {
1057
+ one_liner: "David provided the customer with information on wheel stud replacement and pricing, but did not secure an appointment.",
1058
+ context: "The customer was seeking information on wheel stud replacement for a 2013 Chevy Bolt and was unsure about doing the repair themselves.",
1059
+ strengths: [
1060
+ { text: "Anthony effectively scheduled the appointment and confirmed the details clearly.", quote: "Alright. That is all set up for Saturday, the twenty eighth, at 12:00." },
1061
+ { text: "Handled customer objections well by explaining the need for a separate appointment for alignment.", quote: "I don't have the alignment changeover the weekend. So I would have to set up a separate appointment for the alignment." },
1062
+ { text: "Demonstrated courtesy and professionalism throughout the call.", quote: "Have a great day." }
1063
+ ],
1064
+ improvements: [
1065
+ { text: "Close the loop by restating the plan and confirming next steps to ensure customer certainty.", quote: "Alright. That is all set up for Saturday, the twenty eighth, at 12:00." },
1066
+ { text: "Frame solutions positively by leading with what can be done rather than limitations.", quote: "I don't have the alignment changeover the weekend." }
1067
+ ],
1068
+ overall: "effective"
1069
+ }, j = (N = G == null ? void 0 : G.signals) != null && N.length ? G : {
1070
+ present_count: 9,
1071
+ total_signals_evaluated: 146,
1072
+ signals: [
1073
+ {
1074
+ key: "price_estimate_provided",
1075
+ display_name: "Price Estimate Provided",
1076
+ observations: [
1077
+ {
1078
+ key: "obs1",
1079
+ reason: "Evidence shows a price estimate or quote was provided.",
1080
+ evidence: [
1081
+ { start_ms: 92e3, end_ms: 97e3, text: "From Casper, you're probably looking at, like, a half hour labor plus a stud, so you'd probably be somewhere around $90 or something.", turn_ids: [8] }
1082
+ ]
1083
+ }
1084
+ ]
1085
+ },
1086
+ { key: "fee_or_cost_discussed", display_name: "Fee or Cost Discussed", observations: [{ key: "obs2", reason: "Agent discussed pricing details with the customer." }] },
1087
+ { key: "engagement_budget", display_name: "Engagement Budget Discussed", observations: [{ key: "obs3a", reason: "Budget expectations were set." }, { key: "obs3b", reason: "Customer confirmed budget range." }] },
1088
+ { key: "projected_revenue", display_name: "Projected Revenue Discussed", observations: [{ key: "obs4a", reason: "Revenue projection shared." }, { key: "obs4b", reason: "Timeline for revenue discussed." }, { key: "obs4c", reason: "Quarterly targets mentioned." }] },
1089
+ { key: "market_analysis", display_name: "Market Analysis Completed", observations: [{ key: "obs5a", reason: "Market analysis referenced." }, { key: "obs5b", reason: "Competitive landscape discussed." }, { key: "obs5c", reason: "Market trends mentioned." }, { key: "obs5d", reason: "Regional analysis provided." }] },
1090
+ { key: "target_audience", display_name: "Target Audience Defined", observations: [{ key: "obs6a", reason: "Target audience identified." }, { key: "obs6b", reason: "Demographics discussed." }, { key: "obs6c", reason: "Audience segmentation reviewed." }, { key: "obs6d", reason: "Persona mapping completed." }, { key: "obs6e", reason: "Channel preferences noted." }] },
1091
+ { key: "concept_approval", display_name: "Concept Approval Received", observations: [{ key: "obs7a", reason: "Concept approved by stakeholder." }, { key: "obs7b", reason: "Feedback incorporated." }, { key: "obs7c", reason: "Sign-off confirmed." }, { key: "obs7d", reason: "Revisions requested." }, { key: "obs7e", reason: "Final version accepted." }, { key: "obs7f", reason: "Timeline approved." }] },
1092
+ { 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." }] },
1093
+ { 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." }] }
1094
+ ]
1095
+ }, ye = "David", O = "Sandra Bullock", U = 8, ue = D.evaluated_dt ? new Date(D.evaluated_dt).toLocaleString() : "3/29/2026, 8:30:00 AM", ve = $.interaction_direction === "inbound" ? "Inbound" : "Outbound";
1096
+ return /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", width: "100%", background: "var(--Grey-White, #FFF)" }, children: [
1097
+ /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 12, padding: "24px 24px 0" }, children: [
1098
+ /* @__PURE__ */ e(
1099
+ "button",
1100
+ {
1101
+ onClick: i,
1102
+ style: {
1103
+ display: "flex",
1104
+ alignItems: "center",
1105
+ justifyContent: "center",
1106
+ background: "none",
1107
+ border: "none",
1108
+ cursor: "pointer",
1109
+ padding: 0,
1110
+ flexShrink: 0
1111
+ },
1112
+ children: /* @__PURE__ */ e(V, { size: 24, color: "var(--Grey-Strong, #2E3236)" })
1113
+ }
1114
+ ),
1115
+ /* @__PURE__ */ e("div", { style: { width: 1, height: 28, background: "var(--Base-absent, #D9D9D9)" } }),
1116
+ /* @__PURE__ */ e("h1", { style: {
1117
+ color: "var(--Grey-Strong, #2E3236)",
1118
+ fontSize: 24,
1119
+ fontStyle: "normal",
1120
+ fontWeight: 400,
1121
+ lineHeight: "normal",
1122
+ margin: 0
1123
+ }, children: n })
1124
+ ] }),
1125
+ /* @__PURE__ */ e("div", { style: {
1126
+ display: "flex",
1127
+ alignItems: "flex-start",
1128
+ background: "var(--Grey-White, #FFF)",
1129
+ borderBottom: "1px solid var(--Grey-Faint, #ACADAD)",
1130
+ padding: "0 24px",
1131
+ marginTop: 8
1132
+ }, children: qe.map((d) => /* @__PURE__ */ e(
1133
+ "button",
1134
+ {
1135
+ onClick: () => s(d.key),
1136
+ style: {
1137
+ display: "flex",
1138
+ padding: 16,
1139
+ alignItems: "center",
1140
+ gap: 10,
1141
+ background: "none",
1142
+ border: "none",
1143
+ borderBottom: v === d.key ? "3px solid var(--Grey-Strong, #2E3236)" : "3px solid transparent",
1144
+ cursor: "pointer",
1145
+ fontSize: 15,
1146
+ fontWeight: v === d.key ? 500 : 400,
1147
+ color: v === d.key ? "var(--Grey-Strong, #2E3236)" : "var(--Grey-Muted, #808183)",
1148
+ whiteSpace: "nowrap",
1149
+ transition: "border-color 0.2s ease, color 0.2s ease"
1150
+ },
1151
+ children: d.label
1152
+ },
1153
+ d.key
1154
+ )) }),
1155
+ /* @__PURE__ */ t("div", { style: { padding: 24, flex: 1, overflowY: "auto" }, children: [
1156
+ v === "overview" && /* @__PURE__ */ t("div", { style: {
1157
+ display: "flex",
1158
+ flexDirection: "column",
1159
+ justifyContent: "flex-end",
1160
+ alignItems: "flex-start",
1161
+ gap: 24,
1162
+ alignSelf: "stretch"
1163
+ }, children: [
1164
+ /* @__PURE__ */ t("div", { style: {
1165
+ display: "flex",
1166
+ height: 40,
1167
+ alignItems: "center",
1168
+ gap: 16,
1169
+ alignSelf: "stretch"
1170
+ }, children: [
1171
+ /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 8, flex: 1 }, children: [
1172
+ /* @__PURE__ */ e(Ce, { size: 24, color: "var(--rail-orange, #C98A5A)", strokeWidth: 2 }),
1173
+ /* @__PURE__ */ e("span", { style: {
1174
+ fontSize: 16,
1175
+ fontWeight: 600,
1176
+ color: "var(--Grey-Strong, #2E3236)",
1177
+ lineHeight: 1.2,
1178
+ textTransform: "uppercase"
1179
+ }, children: "Overview" })
1180
+ ] }),
1181
+ /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 16, flexShrink: 0 }, children: [
1182
+ /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 6, padding: "8px 0" }, children: [
1183
+ /* @__PURE__ */ e(ze, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1184
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, children: ue })
1185
+ ] }),
1186
+ /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 6, padding: "8px 0" }, children: [
1187
+ /* @__PURE__ */ e(Fe, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1188
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, children: ve })
1189
+ ] }),
1190
+ /* @__PURE__ */ t("div", { style: {
1191
+ display: "flex",
1192
+ alignItems: "center",
1193
+ gap: 16,
1194
+ paddingLeft: 16,
1195
+ borderLeft: "1px solid var(--Grey-absent, #D9D9D9)"
1196
+ }, children: [
1197
+ /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 6, padding: "8px 0" }, children: [
1198
+ /* @__PURE__ */ e(Ie, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1199
+ /* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, children: ye })
1200
+ ] }),
1201
+ /* @__PURE__ */ e(_e, { size: 16, color: "var(--color-input-border, #ACACAD)", strokeWidth: 1.5 }),
1202
+ /* @__PURE__ */ t("div", { style: { position: "relative" }, children: [
1203
+ /* @__PURE__ */ t(
1204
+ "button",
1205
+ {
1206
+ onClick: () => C((d) => !d),
1207
+ style: {
1208
+ display: "flex",
1209
+ alignItems: "center",
1210
+ gap: 4,
1211
+ padding: "8px 0",
1212
+ background: "none",
1213
+ border: "none",
1214
+ cursor: "pointer"
1215
+ },
1216
+ children: [
1217
+ /* @__PURE__ */ e(Y, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1218
+ /* @__PURE__ */ t("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", lineHeight: 1.2 }, children: [
1219
+ O,
1220
+ " (",
1221
+ U,
1222
+ " Sessions)"
1223
+ ] }),
1224
+ f ? /* @__PURE__ */ e(ae, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }) : /* @__PURE__ */ e(de, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 })
1225
+ ]
1226
+ }
1227
+ ),
1228
+ f && /* @__PURE__ */ t("div", { style: {
1229
+ position: "absolute",
1230
+ top: "100%",
1231
+ right: 0,
1232
+ marginTop: 4,
1233
+ width: 264,
1234
+ background: "var(--Grey-White, #FFF)",
1235
+ borderRadius: 4,
1236
+ border: "1px solid var(--Grey-absent, #D9D9D9)",
1237
+ boxShadow: "0 4px 16px rgba(0,0,0,0.12)",
1238
+ zIndex: 50,
1239
+ overflow: "hidden"
1240
+ }, children: [
1241
+ /* @__PURE__ */ t("div", { style: {
1242
+ display: "flex",
1243
+ alignItems: "flex-start",
1244
+ gap: 8,
1245
+ padding: 16
1246
+ }, children: [
1247
+ /* @__PURE__ */ e(Y, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5, style: { marginTop: 2, flexShrink: 0 } }),
1248
+ /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 4 }, children: [
1249
+ /* @__PURE__ */ e("span", { style: {
1250
+ fontSize: 16,
1251
+ fontWeight: 600,
1252
+ color: "var(--Grey-Strong, #2E3236)",
1253
+ lineHeight: 1
1254
+ }, children: O }),
1255
+ /* @__PURE__ */ t("span", { style: {
1256
+ fontSize: 13,
1257
+ fontWeight: 400,
1258
+ color: "var(--Grey-Muted, #808183)",
1259
+ lineHeight: 1
1260
+ }, children: [
1261
+ U,
1262
+ " Sessions in past"
1263
+ ] })
1264
+ ] })
1265
+ ] }),
1266
+ F.map((d, W) => /* @__PURE__ */ t(
1267
+ "div",
1268
+ {
1269
+ onMouseEnter: () => z(W),
1270
+ onMouseLeave: () => z(null),
1271
+ style: {
1272
+ display: "flex",
1273
+ width: 264,
1274
+ padding: "12px 16px",
1275
+ justifyContent: "space-between",
1276
+ alignItems: "center",
1277
+ background: w === W ? "var(--surface-hover, #F3F7F7)" : "var(--Grey-White, #FFF)",
1278
+ borderTop: "1px solid var(--Grey-absent, #D9D9D9)",
1279
+ cursor: "pointer",
1280
+ boxSizing: "border-box",
1281
+ transition: "background 0.15s"
1282
+ },
1283
+ children: [
1284
+ /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
1285
+ /* @__PURE__ */ e("span", { style: {
1286
+ fontSize: 13,
1287
+ fontWeight: 400,
1288
+ color: "var(--Grey-Strong, #2E3236)",
1289
+ lineHeight: 1
1290
+ }, children: d.title }),
1291
+ /* @__PURE__ */ e("span", { style: {
1292
+ fontSize: 12,
1293
+ fontWeight: 400,
1294
+ color: "var(--Grey-Muted, #808183)",
1295
+ lineHeight: 1
1296
+ }, children: d.date })
1297
+ ] }),
1298
+ w === W && /* @__PURE__ */ e(le, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1, style: { flexShrink: 0 } })
1299
+ ]
1300
+ },
1301
+ W
1302
+ )),
1303
+ /* @__PURE__ */ e("div", { style: {
1304
+ padding: 16,
1305
+ borderTop: "1px solid var(--Grey-absent, #D9D9D9)",
1306
+ display: "flex",
1307
+ justifyContent: "center"
1308
+ }, children: /* @__PURE__ */ t("button", { style: {
1309
+ display: "flex",
1310
+ height: 32,
1311
+ padding: "16px 16px 16px 12px",
1312
+ justifyContent: "center",
1313
+ alignItems: "center",
1314
+ gap: 6,
1315
+ background: "var(--Grey-White, #FFF)",
1316
+ border: "1px solid var(--Grey-absent, #D9D9D9)",
1317
+ borderRadius: 10,
1318
+ cursor: "pointer"
1319
+ }, children: [
1320
+ /* @__PURE__ */ e(Ae, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
1321
+ /* @__PURE__ */ e("span", { style: {
1322
+ fontSize: 14,
1323
+ fontWeight: 600,
1324
+ color: "var(--Grey-Strong, #2E3236)"
1325
+ }, children: "View All Sessions" })
1326
+ ] }) })
1327
+ ] })
1328
+ ] })
1329
+ ] })
1330
+ ] })
1331
+ ] }),
1332
+ /* @__PURE__ */ t("div", { style: {
1333
+ display: "flex",
1334
+ alignItems: "flex-start",
1335
+ gap: 24,
1336
+ alignSelf: "stretch"
1337
+ }, children: [
1338
+ /* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(Ue, {}) }),
1339
+ /* @__PURE__ */ t("div", { style: {
1340
+ display: "flex",
1341
+ flexDirection: "column",
1342
+ alignItems: "stretch",
1343
+ justifyContent: "flex-end",
1344
+ gap: 24,
1345
+ flex: 1,
1346
+ minWidth: 0
1347
+ }, children: [
1348
+ /* @__PURE__ */ e(
1349
+ Be,
1350
+ {
1351
+ meta: L,
1352
+ callPurpose: $,
1353
+ classification: ge,
1354
+ outcomeQuality: "Neutral"
1355
+ }
1356
+ ),
1357
+ /* @__PURE__ */ e(
1358
+ $e,
1359
+ {
1360
+ outcomeLift: fe,
1361
+ driverLabels: he
1362
+ }
1363
+ )
1364
+ ] })
1365
+ ] }),
1366
+ /* @__PURE__ */ e(X, { data: P }),
1367
+ /* @__PURE__ */ t("div", { style: {
1368
+ display: "flex",
1369
+ flexDirection: "column",
1370
+ gap: 16,
1371
+ alignSelf: "stretch"
1372
+ }, children: [
1373
+ /* @__PURE__ */ t("div", { style: {
1374
+ display: "flex",
1375
+ alignItems: "center",
1376
+ gap: 8
1377
+ }, children: [
1378
+ /* @__PURE__ */ e(se, { size: 24, color: "#C98A5A", strokeWidth: 2 }),
1379
+ /* @__PURE__ */ e("span", { style: {
1380
+ fontSize: 16,
1381
+ fontWeight: 600,
1382
+ color: "var(--Grey-Strong, #2E3236)",
1383
+ lineHeight: 1.2,
1384
+ textTransform: "uppercase"
1385
+ }, children: "Signals & Recording" })
1386
+ ] }),
1387
+ /* @__PURE__ */ t("div", { style: {
1388
+ display: "flex",
1389
+ alignItems: "flex-start",
1390
+ gap: 24,
1391
+ alignSelf: "stretch",
1392
+ paddingTop: 16,
1393
+ borderTop: "1px solid #D9D9D9"
1394
+ }, children: [
1395
+ /* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
1396
+ oe,
1397
+ {
1398
+ signals: j,
1399
+ expandedSignals: r,
1400
+ toggleSignal: H,
1401
+ onShowInTranscript: E
1402
+ }
1403
+ ) }),
1404
+ /* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
1405
+ Q,
1406
+ {
1407
+ ref: _,
1408
+ audioUrl: p,
1409
+ durationSeconds: L.duration_seconds,
1410
+ currentTimeSeconds: 0
1411
+ }
1412
+ ) })
1413
+ ] })
1414
+ ] })
1415
+ ] }),
1416
+ v === "coaching" && /* @__PURE__ */ e(X, { data: P }),
1417
+ v === "signals" && /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: /* @__PURE__ */ t("div", { style: {
1418
+ display: "flex",
1419
+ alignItems: "flex-start",
1420
+ gap: 24
1421
+ }, children: [
1422
+ /* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
1423
+ oe,
1424
+ {
1425
+ signals: j,
1426
+ expandedSignals: r,
1427
+ toggleSignal: H,
1428
+ onShowInTranscript: E
1429
+ }
1430
+ ) }),
1431
+ /* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
1432
+ Q,
1433
+ {
1434
+ ref: _,
1435
+ audioUrl: p,
1436
+ durationSeconds: L.duration_seconds,
1437
+ currentTimeSeconds: 0
1438
+ }
1439
+ ) })
1440
+ ] }) }),
1441
+ v === "comments" && /* @__PURE__ */ e("div", { style: { fontSize: 14, color: "var(--Grey-Muted, #808183)", fontFamily: "var(--font-sans)" }, children: "No comments yet." })
1442
+ ] }),
1443
+ /* @__PURE__ */ t("div", { style: {
1444
+ display: "flex",
1445
+ position: "sticky",
1446
+ bottom: 0,
1447
+ zIndex: 10
1448
+ }, children: [
1449
+ /* @__PURE__ */ t(
1450
+ "button",
1451
+ {
1452
+ onClick: k,
1453
+ style: {
1454
+ display: "flex",
1455
+ alignItems: "center",
1456
+ gap: 30,
1457
+ padding: "12px 28px",
1458
+ flex: 1,
1459
+ background: "var(--Grey-White, #FFF)",
1460
+ border: "1px solid var(--Grey-absent, #D9D9D9)",
1461
+ cursor: "pointer"
1462
+ },
1463
+ children: [
1464
+ /* @__PURE__ */ e(V, { size: 24, color: "var(--Grey-Muted, #808183)", strokeWidth: 2 }),
1465
+ /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 10 }, children: [
1466
+ /* @__PURE__ */ e("span", { style: {
1467
+ fontSize: 14,
1468
+ fontWeight: 400,
1469
+ color: "#000",
1470
+ lineHeight: 1.2,
1471
+ textAlign: "left"
1472
+ }, children: h || "Previous Session Title" }),
1473
+ /* @__PURE__ */ e("span", { style: {
1474
+ fontSize: 13,
1475
+ fontWeight: 400,
1476
+ color: "#000",
1477
+ lineHeight: 1.2,
1478
+ opacity: 0.5,
1479
+ textAlign: "left"
1480
+ }, children: x || "Short description of the session" })
1481
+ ] })
1482
+ ]
1483
+ }
1484
+ ),
1485
+ /* @__PURE__ */ t(
1486
+ "button",
1487
+ {
1488
+ onClick: b,
1489
+ style: {
1490
+ display: "flex",
1491
+ alignItems: "center",
1492
+ justifyContent: "flex-end",
1493
+ gap: 30,
1494
+ padding: "12px 28px",
1495
+ flex: 1,
1496
+ background: "var(--Grey-White, #FFF)",
1497
+ border: "1px solid var(--Grey-absent, #D9D9D9)",
1498
+ cursor: "pointer"
1499
+ },
1500
+ children: [
1501
+ /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 10 }, children: [
1502
+ /* @__PURE__ */ e("span", { style: {
1503
+ fontSize: 14,
1504
+ fontWeight: 400,
1505
+ color: "#000",
1506
+ lineHeight: 1.2,
1507
+ textAlign: "left"
1508
+ }, children: y || "Next Session Title" }),
1509
+ /* @__PURE__ */ e("span", { style: {
1510
+ fontSize: 13,
1511
+ fontWeight: 400,
1512
+ color: "#000",
1513
+ lineHeight: 1.2,
1514
+ opacity: 0.5,
1515
+ textAlign: "left"
1516
+ }, children: u || "Short description of the session" })
1517
+ ] }),
1518
+ /* @__PURE__ */ e(Ge, { size: 24, color: "var(--Grey-Muted, #808183)", strokeWidth: 2 })
1519
+ ]
1520
+ }
1521
+ )
1522
+ ] })
1523
+ ] });
1524
+ };
3
1525
  export {
4
- e as UpdatedCoachingSynthesisCard,
5
- d as UpdatedCompassScore,
6
- n as UpdatedInteractionContext,
7
- o as UpdatedInteractionDetails,
8
- i as UpdatedInteractionRecording,
9
- s as UpdatedInteractionScores,
10
- r as UpdatedInteractionSignals
1526
+ X as UpdatedCoachingSynthesisCard,
1527
+ Ue as UpdatedCompassScore,
1528
+ Be as UpdatedInteractionContext,
1529
+ Ze as UpdatedInteractionDetails,
1530
+ Q as UpdatedInteractionRecording,
1531
+ $e as UpdatedInteractionScores,
1532
+ oe as UpdatedInteractionSignals
11
1533
  };
12
1534
  //# sourceMappingURL=UpdatedInteractionDetails.es.js.map