chordia-ui 3.4.0 → 3.4.2
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.
- package/dist/Timeline.cjs.js +1 -6
- package/dist/Timeline.cjs.js.map +1 -1
- package/dist/Timeline.es.js +129 -597
- package/dist/Timeline.es.js.map +1 -1
- package/dist/TranscriptCard.cjs.js +7 -0
- package/dist/TranscriptCard.cjs.js.map +1 -0
- package/dist/TranscriptCard.es.js +474 -0
- package/dist/TranscriptCard.es.js.map +1 -0
- package/dist/UpdatedInteractionRecording.cjs.js +1 -1
- package/dist/UpdatedInteractionRecording.cjs.js.map +1 -1
- package/dist/UpdatedInteractionRecording.es.js +516 -420
- package/dist/UpdatedInteractionRecording.es.js.map +1 -1
- package/dist/components/UpdatedInteractionDetails.cjs.js +2 -2
- package/dist/components/UpdatedInteractionDetails.cjs.js.map +1 -1
- package/dist/components/UpdatedInteractionDetails.es.js +304 -285
- package/dist/components/UpdatedInteractionDetails.es.js.map +1 -1
- package/dist/components/media.cjs.js +1 -1
- package/dist/components/media.cjs.js.map +1 -1
- package/dist/components/media.es.js +9 -8
- package/dist/components/media.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs2.js.map +1 -1
- package/dist/index.cjs3.js +2 -2
- package/dist/index.cjs3.js.map +1 -1
- package/dist/index.es.js +53 -52
- package/dist/index.es.js.map +1 -1
- package/dist/index.es2.js +1 -1
- package/dist/index.es2.js.map +1 -1
- package/dist/index.es3.js +11 -4
- package/dist/index.es3.js.map +1 -1
- package/dist/pages/interactionDetails.cjs.js +2 -2
- package/dist/pages/interactionDetails.cjs.js.map +1 -1
- package/dist/pages/interactionDetails.es.js +17 -16
- package/dist/pages/interactionDetails.es.js.map +1 -1
- package/package.json +1 -1
- package/src/components/UpdatedInteractionDetails/UpdatedInteractionDetails.jsx +125 -107
- package/src/components/UpdatedInteractionDetails/UpdatedInteractionRecording.jsx +342 -178
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { ShieldCheck as
|
|
4
|
-
import { U as
|
|
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
5
|
import "../Timeline.es.js";
|
|
6
6
|
const c = {
|
|
7
7
|
strong: "var(--Grey-Strong, #2E3236)",
|
|
@@ -12,17 +12,17 @@ const c = {
|
|
|
12
12
|
quoteLine: "var(--border-warm, #B2AEA8)",
|
|
13
13
|
quoteText: "var(--text-subtle-warm, #767473)",
|
|
14
14
|
iconBg: "var(--surface-hover, #F3F7F7)"
|
|
15
|
-
},
|
|
15
|
+
}, et = {
|
|
16
16
|
effective: "Effective",
|
|
17
17
|
strong: "Strong",
|
|
18
18
|
needs_improvement: "Needs Improvement",
|
|
19
19
|
mixed: "Mixed"
|
|
20
|
-
},
|
|
21
|
-
function
|
|
22
|
-
if (typeof document > "u" || document.getElementById(
|
|
20
|
+
}, de = "updated-coaching-synthesis-keyframes";
|
|
21
|
+
function tt() {
|
|
22
|
+
if (typeof document > "u" || document.getElementById(de))
|
|
23
23
|
return;
|
|
24
24
|
const n = document.createElement("style");
|
|
25
|
-
n.id =
|
|
25
|
+
n.id = de, n.textContent = `
|
|
26
26
|
@keyframes updated-coaching-shimmer {
|
|
27
27
|
0% { background-position: -200% 0; }
|
|
28
28
|
100% { background-position: 200% 0; }
|
|
@@ -33,8 +33,8 @@ function Me() {
|
|
|
33
33
|
}
|
|
34
34
|
`, document.head.appendChild(n);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const i =
|
|
36
|
+
function nt({ overall: n }) {
|
|
37
|
+
const i = et[n] || (n ? n.replace(/_/g, " ") : "");
|
|
38
38
|
return /* @__PURE__ */ t("div", { style: {
|
|
39
39
|
display: "flex",
|
|
40
40
|
alignItems: "center",
|
|
@@ -53,7 +53,7 @@ function Ee({ overall: n }) {
|
|
|
53
53
|
alignItems: "center",
|
|
54
54
|
gap: 6
|
|
55
55
|
}, children: [
|
|
56
|
-
/* @__PURE__ */ e(
|
|
56
|
+
/* @__PURE__ */ e(ue, { size: 14, color: c.strong, strokeWidth: 1.5 }),
|
|
57
57
|
/* @__PURE__ */ e("span", { style: {
|
|
58
58
|
fontSize: 13,
|
|
59
59
|
fontWeight: 600,
|
|
@@ -64,7 +64,7 @@ function Ee({ overall: n }) {
|
|
|
64
64
|
] })
|
|
65
65
|
] });
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function it({ item: n }) {
|
|
68
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
69
|
return /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 14 }, children: [
|
|
70
70
|
/* @__PURE__ */ e("div", { style: {
|
|
@@ -98,7 +98,7 @@ function Te({ item: n }) {
|
|
|
98
98
|
] })
|
|
99
99
|
] });
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function ce({ icon: n, label: i, items: o }) {
|
|
102
102
|
return !o || o.length === 0 ? null : /* @__PURE__ */ t("div", { style: {
|
|
103
103
|
flex: 1,
|
|
104
104
|
display: "flex",
|
|
@@ -129,13 +129,13 @@ function Z({ icon: n, label: i, items: o }) {
|
|
|
129
129
|
lineHeight: "normal"
|
|
130
130
|
}, children: i })
|
|
131
131
|
] }),
|
|
132
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: o.map((
|
|
132
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: o.map((d, g) => /* @__PURE__ */ e(it, { item: d }, g)) })
|
|
133
133
|
] });
|
|
134
134
|
}
|
|
135
|
-
const
|
|
135
|
+
const ot = ({ data: n, loading: i, error: o }) => {
|
|
136
136
|
var y, u;
|
|
137
|
-
if (
|
|
138
|
-
|
|
137
|
+
if (Be.useEffect(() => {
|
|
138
|
+
tt();
|
|
139
139
|
}, []), i)
|
|
140
140
|
return /* @__PURE__ */ t("div", { style: {
|
|
141
141
|
display: "flex",
|
|
@@ -184,7 +184,7 @@ const X = ({ data: n, loading: i, error: o }) => {
|
|
|
184
184
|
}, children: "Unable to generate coaching summary." });
|
|
185
185
|
if (!n)
|
|
186
186
|
return null;
|
|
187
|
-
const
|
|
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) || "";
|
|
188
188
|
return /* @__PURE__ */ t("div", { style: {
|
|
189
189
|
display: "flex",
|
|
190
190
|
flexDirection: "column",
|
|
@@ -196,7 +196,7 @@ const X = ({ data: n, loading: i, error: o }) => {
|
|
|
196
196
|
alignItems: "center",
|
|
197
197
|
gap: 8
|
|
198
198
|
}, children: [
|
|
199
|
-
/* @__PURE__ */ e(
|
|
199
|
+
/* @__PURE__ */ e($e, { size: 20, color: c.accent, strokeWidth: 2 }),
|
|
200
200
|
/* @__PURE__ */ e("span", { style: {
|
|
201
201
|
fontSize: 16,
|
|
202
202
|
fontWeight: 600,
|
|
@@ -206,13 +206,13 @@ const X = ({ data: n, loading: i, error: o }) => {
|
|
|
206
206
|
textTransform: "uppercase"
|
|
207
207
|
}, children: "Coaching Summary" })
|
|
208
208
|
] }),
|
|
209
|
-
|
|
209
|
+
f && /* @__PURE__ */ e("div", { style: {
|
|
210
210
|
fontSize: 14,
|
|
211
211
|
fontWeight: 500,
|
|
212
212
|
color: c.strong,
|
|
213
213
|
fontFamily: "var(--font-sans)",
|
|
214
214
|
lineHeight: 1.5
|
|
215
|
-
}, children:
|
|
215
|
+
}, children: f }),
|
|
216
216
|
/* @__PURE__ */ t("div", { style: {
|
|
217
217
|
display: "flex",
|
|
218
218
|
alignItems: "flex-start",
|
|
@@ -227,38 +227,38 @@ const X = ({ data: n, loading: i, error: o }) => {
|
|
|
227
227
|
lineHeight: 1.5,
|
|
228
228
|
flex: 1
|
|
229
229
|
}, children: x }),
|
|
230
|
-
n.overall && /* @__PURE__ */ e(
|
|
230
|
+
n.overall && /* @__PURE__ */ e(nt, { overall: n.overall })
|
|
231
231
|
] }),
|
|
232
|
-
(
|
|
232
|
+
(d.length > 0 || g.length > 0) && /* @__PURE__ */ t("div", { style: {
|
|
233
233
|
display: "flex",
|
|
234
234
|
gap: 24,
|
|
235
235
|
paddingTop: 24,
|
|
236
236
|
borderTop: `1px solid ${c.absent}`
|
|
237
237
|
}, children: [
|
|
238
238
|
/* @__PURE__ */ e(
|
|
239
|
-
|
|
239
|
+
ce,
|
|
240
240
|
{
|
|
241
|
-
icon: /* @__PURE__ */ e(
|
|
241
|
+
icon: /* @__PURE__ */ e(Pe, { size: 14, color: c.strong, strokeWidth: 1.5 }),
|
|
242
242
|
label: "Key Strengths",
|
|
243
|
-
items:
|
|
243
|
+
items: d
|
|
244
244
|
}
|
|
245
245
|
),
|
|
246
246
|
/* @__PURE__ */ e(
|
|
247
|
-
|
|
247
|
+
ce,
|
|
248
248
|
{
|
|
249
|
-
icon: /* @__PURE__ */ e(
|
|
249
|
+
icon: /* @__PURE__ */ e(je, { size: 14, color: c.strong, strokeWidth: 1.5 }),
|
|
250
250
|
label: "Improvements",
|
|
251
|
-
items:
|
|
251
|
+
items: g
|
|
252
252
|
}
|
|
253
253
|
)
|
|
254
254
|
] })
|
|
255
255
|
] });
|
|
256
256
|
};
|
|
257
|
-
function
|
|
257
|
+
function rt(n) {
|
|
258
258
|
const i = Math.floor(n / 60), o = Math.round(n % 60);
|
|
259
259
|
return `${i}:${o.toString().padStart(2, "0")}`;
|
|
260
260
|
}
|
|
261
|
-
const
|
|
261
|
+
const lt = {
|
|
262
262
|
display: "flex",
|
|
263
263
|
justifyContent: "space-between",
|
|
264
264
|
padding: "8px 8px 12px 8px",
|
|
@@ -269,34 +269,34 @@ const Le = {
|
|
|
269
269
|
fontWeight: 400,
|
|
270
270
|
lineHeight: "normal",
|
|
271
271
|
borderBottom: "1px solid var(--Grey-absent, #D9D9D9)"
|
|
272
|
-
},
|
|
272
|
+
}, ge = {
|
|
273
273
|
display: "flex",
|
|
274
274
|
flexDirection: "column",
|
|
275
275
|
flex: "1 0 0",
|
|
276
276
|
gap: 12,
|
|
277
277
|
minWidth: 0
|
|
278
|
-
},
|
|
278
|
+
}, st = ({
|
|
279
279
|
meta: n = {},
|
|
280
280
|
callPurpose: i = {},
|
|
281
281
|
classification: o = {},
|
|
282
|
-
dimensions:
|
|
283
|
-
outcomeQuality:
|
|
284
|
-
onMoreDetails:
|
|
282
|
+
dimensions: d = [],
|
|
283
|
+
outcomeQuality: g = "Neutral",
|
|
284
|
+
onMoreDetails: f
|
|
285
285
|
}) => {
|
|
286
|
-
const x = n.duration_seconds != null ?
|
|
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
287
|
x != null && { label: "Duration", value: x },
|
|
288
288
|
u != null && { label: "Driver", value: u },
|
|
289
|
-
...
|
|
290
|
-
{ label: "Outcome Quality", value:
|
|
291
|
-
].filter(Boolean),
|
|
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 = [
|
|
292
292
|
y != null && { label: "Messages", value: y },
|
|
293
293
|
k != null && { label: "Paradigm", value: k },
|
|
294
|
-
...
|
|
294
|
+
...d.filter((r, p) => p % 2 === 1).map((r) => ({ label: r.label || r.key, value: r.value })),
|
|
295
295
|
{ label: "More Details", isLink: !0 }
|
|
296
296
|
].filter(Boolean), s = (r) => r.isLink ? /* @__PURE__ */ t(
|
|
297
297
|
"div",
|
|
298
298
|
{
|
|
299
|
-
onClick:
|
|
299
|
+
onClick: f,
|
|
300
300
|
style: {
|
|
301
301
|
display: "flex",
|
|
302
302
|
alignItems: "center",
|
|
@@ -306,7 +306,7 @@ const Le = {
|
|
|
306
306
|
fontFamily: "var(--font-sans)"
|
|
307
307
|
},
|
|
308
308
|
children: [
|
|
309
|
-
/* @__PURE__ */ e(
|
|
309
|
+
/* @__PURE__ */ e(ve, { size: 16, color: "#808183", strokeWidth: 1.5 }),
|
|
310
310
|
/* @__PURE__ */ e("span", { style: { color: "var(--Grey-Strong, #2E3236)", fontSize: 13, fontWeight: 400 }, children: r.label })
|
|
311
311
|
]
|
|
312
312
|
},
|
|
@@ -314,7 +314,7 @@ const Le = {
|
|
|
314
314
|
) : /* @__PURE__ */ t(
|
|
315
315
|
"div",
|
|
316
316
|
{
|
|
317
|
-
style:
|
|
317
|
+
style: lt,
|
|
318
318
|
children: [
|
|
319
319
|
/* @__PURE__ */ e("span", { style: { color: "var(--Grey-Strong, #2E3236)", whiteSpace: "nowrap", flexShrink: 0 }, children: r.label }),
|
|
320
320
|
/* @__PURE__ */ e("span", { style: { color: "var(--Grey-Muted, #808183)", textAlign: "right" }, children: r.value })
|
|
@@ -332,8 +332,8 @@ const Le = {
|
|
|
332
332
|
alignSelf: "stretch"
|
|
333
333
|
},
|
|
334
334
|
children: [
|
|
335
|
-
/* @__PURE__ */ e("div", { style:
|
|
336
|
-
/* @__PURE__ */ e("div", { style:
|
|
335
|
+
/* @__PURE__ */ e("div", { style: ge, children: b.map((r) => s(r)) }),
|
|
336
|
+
/* @__PURE__ */ e("div", { style: ge, children: w.map((r) => s(r)) })
|
|
337
337
|
]
|
|
338
338
|
}
|
|
339
339
|
);
|
|
@@ -343,16 +343,16 @@ const Le = {
|
|
|
343
343
|
absent: "var(--Grey-absent, #D9D9D9)",
|
|
344
344
|
white: "var(--Grey-White, #FFF)",
|
|
345
345
|
cardBg: "var(--surface-warm-40, rgba(243, 241, 229, 0.40))"
|
|
346
|
-
}, m = 1.2,
|
|
346
|
+
}, m = 1.2, pe = 3, fe = (n) => n != null ? Math.round(n * 100) + "%" : "—", he = (n) => {
|
|
347
347
|
if (n == null)
|
|
348
348
|
return "—";
|
|
349
349
|
const i = (n * 100).toFixed(1);
|
|
350
350
|
return n > 0 ? `+${i}pp` : `${i}pp`;
|
|
351
|
-
},
|
|
351
|
+
}, at = ({ outcomeLift: n, driverLabels: i = [] }) => {
|
|
352
352
|
var b;
|
|
353
353
|
if (!n || n.lift == null)
|
|
354
354
|
return null;
|
|
355
|
-
const o = n.p_expected,
|
|
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;
|
|
356
356
|
return /* @__PURE__ */ t(
|
|
357
357
|
"div",
|
|
358
358
|
{
|
|
@@ -403,7 +403,7 @@ const Le = {
|
|
|
403
403
|
},
|
|
404
404
|
children: [
|
|
405
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:
|
|
406
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 14, fontWeight: 600, color: l.strong, lineHeight: m }, children: he(f) }),
|
|
407
407
|
/* @__PURE__ */ t(
|
|
408
408
|
"div",
|
|
409
409
|
{
|
|
@@ -415,7 +415,7 @@ const Le = {
|
|
|
415
415
|
borderLeft: `1px solid ${l.absent}`
|
|
416
416
|
},
|
|
417
417
|
children: [
|
|
418
|
-
/* @__PURE__ */ e(
|
|
418
|
+
/* @__PURE__ */ e(ue, { size: 14, color: l.strong }),
|
|
419
419
|
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 600, color: l.strong, lineHeight: m }, children: y })
|
|
420
420
|
]
|
|
421
421
|
}
|
|
@@ -436,7 +436,7 @@ const Le = {
|
|
|
436
436
|
},
|
|
437
437
|
children: [
|
|
438
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:
|
|
439
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: fe(o) }),
|
|
440
440
|
/* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
441
441
|
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Expected Outcome" }),
|
|
442
442
|
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Based on call type & difficulty" })
|
|
@@ -450,7 +450,7 @@ const Le = {
|
|
|
450
450
|
paddingLeft: 24,
|
|
451
451
|
borderLeft: `1px solid ${l.absent}`
|
|
452
452
|
}, children: [
|
|
453
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children:
|
|
453
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: he(g) }),
|
|
454
454
|
/* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
455
455
|
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Agent Impact" }),
|
|
456
456
|
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Behavior-driven change" })
|
|
@@ -464,7 +464,7 @@ const Le = {
|
|
|
464
464
|
paddingLeft: 24,
|
|
465
465
|
borderLeft: `1px solid ${l.absent}`
|
|
466
466
|
}, children: [
|
|
467
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children:
|
|
467
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children: fe(d) }),
|
|
468
468
|
/* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
469
469
|
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 600, color: l.strong, fontFamily: "var(--font-sans)", lineHeight: m }, children: "Predicted Outcome" }),
|
|
470
470
|
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: l.muted, fontFamily: "var(--font-sans)", lineHeight: m }, children: "With agent behaviors" })
|
|
@@ -489,7 +489,7 @@ const Le = {
|
|
|
489
489
|
}
|
|
490
490
|
),
|
|
491
491
|
/* @__PURE__ */ t("div", { style: { display: "flex", flexWrap: "wrap", gap: 4 }, children: [
|
|
492
|
-
u.map((
|
|
492
|
+
u.map((w, s) => /* @__PURE__ */ e(
|
|
493
493
|
"div",
|
|
494
494
|
{
|
|
495
495
|
style: {
|
|
@@ -515,7 +515,7 @@ const Le = {
|
|
|
515
515
|
textOverflow: "ellipsis",
|
|
516
516
|
maxWidth: 200
|
|
517
517
|
},
|
|
518
|
-
children:
|
|
518
|
+
children: w
|
|
519
519
|
}
|
|
520
520
|
)
|
|
521
521
|
},
|
|
@@ -557,15 +557,15 @@ const Le = {
|
|
|
557
557
|
]
|
|
558
558
|
}
|
|
559
559
|
);
|
|
560
|
-
},
|
|
561
|
-
const [
|
|
560
|
+
}, ye = ({ children: n, size: i = 28, onClick: o, title: d }) => {
|
|
561
|
+
const [g, f] = A(!1);
|
|
562
562
|
return /* @__PURE__ */ e(
|
|
563
563
|
"div",
|
|
564
564
|
{
|
|
565
|
-
title:
|
|
565
|
+
title: d,
|
|
566
566
|
onClick: o,
|
|
567
|
-
onMouseEnter: () =>
|
|
568
|
-
onMouseLeave: () =>
|
|
567
|
+
onMouseEnter: () => f(!0),
|
|
568
|
+
onMouseLeave: () => f(!1),
|
|
569
569
|
style: {
|
|
570
570
|
display: "flex",
|
|
571
571
|
alignItems: "center",
|
|
@@ -573,7 +573,7 @@ const Le = {
|
|
|
573
573
|
width: i,
|
|
574
574
|
height: i,
|
|
575
575
|
borderRadius: 9999,
|
|
576
|
-
background:
|
|
576
|
+
background: g ? "var(--surface-hover, #F3F7F7)" : "transparent",
|
|
577
577
|
cursor: "pointer",
|
|
578
578
|
flexShrink: 0,
|
|
579
579
|
transition: "background 0.15s"
|
|
@@ -581,24 +581,24 @@ const Le = {
|
|
|
581
581
|
children: n
|
|
582
582
|
}
|
|
583
583
|
);
|
|
584
|
-
},
|
|
584
|
+
}, dt = ({
|
|
585
585
|
signals: n = { signals: [], present_count: 0, total_signals_evaluated: 0 },
|
|
586
586
|
expandedSignals: i = /* @__PURE__ */ new Set(),
|
|
587
587
|
toggleSignal: o = () => {
|
|
588
588
|
},
|
|
589
|
-
playEvidence:
|
|
589
|
+
playEvidence: d = () => {
|
|
590
590
|
},
|
|
591
|
-
highlightTurns:
|
|
591
|
+
highlightTurns: g = () => {
|
|
592
592
|
},
|
|
593
|
-
onShowInTranscript:
|
|
593
|
+
onShowInTranscript: f = () => {
|
|
594
594
|
},
|
|
595
595
|
timelinePlaying: x = !1,
|
|
596
596
|
currentTimeSeconds: y = 0
|
|
597
597
|
}) => {
|
|
598
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),
|
|
600
|
-
return `${r.toString().padStart(2, "0")}:${
|
|
601
|
-
},
|
|
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);
|
|
602
602
|
return /* @__PURE__ */ t("div", { style: {
|
|
603
603
|
display: "flex",
|
|
604
604
|
flexDirection: "column",
|
|
@@ -622,7 +622,7 @@ const Le = {
|
|
|
622
622
|
borderRadius: 9999,
|
|
623
623
|
background: "var(--surface-hover, #F3F7F7)",
|
|
624
624
|
flexShrink: 0
|
|
625
|
-
}, children: /* @__PURE__ */ e(
|
|
625
|
+
}, children: /* @__PURE__ */ e(me, { size: 20, color: "#2E3236", strokeWidth: 1.5 }) }),
|
|
626
626
|
/* @__PURE__ */ t("div", { style: {
|
|
627
627
|
display: "flex",
|
|
628
628
|
alignItems: "center",
|
|
@@ -657,12 +657,12 @@ const Le = {
|
|
|
657
657
|
color: "var(--Grey-Muted, #808183)"
|
|
658
658
|
}, children: "No signals detected." }),
|
|
659
659
|
u.map((s, r) => {
|
|
660
|
-
var
|
|
661
|
-
const
|
|
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;
|
|
662
662
|
return /* @__PURE__ */ t(
|
|
663
663
|
"div",
|
|
664
664
|
{
|
|
665
|
-
id: `signal-${
|
|
665
|
+
id: `signal-${p}`,
|
|
666
666
|
style: {
|
|
667
667
|
display: "flex",
|
|
668
668
|
flexDirection: "column",
|
|
@@ -673,7 +673,7 @@ const Le = {
|
|
|
673
673
|
/* @__PURE__ */ t(
|
|
674
674
|
"button",
|
|
675
675
|
{
|
|
676
|
-
onClick: () => o(
|
|
676
|
+
onClick: () => o(p),
|
|
677
677
|
style: {
|
|
678
678
|
display: "flex",
|
|
679
679
|
padding: "8px 0",
|
|
@@ -695,28 +695,28 @@ const Le = {
|
|
|
695
695
|
color: "var(--text-dark, #0B0A0A)",
|
|
696
696
|
lineHeight: 1.71
|
|
697
697
|
}, children: [
|
|
698
|
-
s.display_name || ((
|
|
699
|
-
|
|
698
|
+
s.display_name || ((I = s.key) == null ? void 0 : I.replace(/_/g, " ")),
|
|
699
|
+
D > 0 && /* @__PURE__ */ t("span", { style: {
|
|
700
700
|
fontWeight: 600,
|
|
701
701
|
color: "var(--text-dark, #0B0A0A)",
|
|
702
702
|
marginLeft: 6
|
|
703
703
|
}, children: [
|
|
704
704
|
"(",
|
|
705
|
-
|
|
705
|
+
D,
|
|
706
706
|
")"
|
|
707
707
|
] })
|
|
708
708
|
] }),
|
|
709
|
-
|
|
709
|
+
h ? /* @__PURE__ */ e(xe, { size: 20, color: "#767473" }) : /* @__PURE__ */ e(be, { size: 20, color: "#767473" })
|
|
710
710
|
]
|
|
711
711
|
}
|
|
712
712
|
),
|
|
713
|
-
|
|
713
|
+
h && ((G = s.observations) == null ? void 0 : G.length) > 0 && /* @__PURE__ */ e("div", { style: {
|
|
714
714
|
display: "flex",
|
|
715
715
|
flexDirection: "column",
|
|
716
716
|
alignSelf: "stretch",
|
|
717
717
|
gap: 0
|
|
718
|
-
}, children: s.observations.map((
|
|
719
|
-
var H,
|
|
718
|
+
}, children: s.observations.map((C, L) => {
|
|
719
|
+
var H, M, R;
|
|
720
720
|
return /* @__PURE__ */ t(
|
|
721
721
|
"div",
|
|
722
722
|
{
|
|
@@ -740,8 +740,8 @@ const Le = {
|
|
|
740
740
|
fontWeight: 400,
|
|
741
741
|
color: "var(--text-subtle-warm, #767473)",
|
|
742
742
|
lineHeight: 1.5
|
|
743
|
-
}, children:
|
|
744
|
-
((
|
|
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(
|
|
745
745
|
"div",
|
|
746
746
|
{
|
|
747
747
|
style: {
|
|
@@ -752,14 +752,14 @@ const Le = {
|
|
|
752
752
|
},
|
|
753
753
|
children: [
|
|
754
754
|
/* @__PURE__ */ e(
|
|
755
|
-
|
|
755
|
+
ye,
|
|
756
756
|
{
|
|
757
757
|
size: 28,
|
|
758
758
|
title: "Show in transcript",
|
|
759
|
-
onClick: (
|
|
760
|
-
|
|
759
|
+
onClick: (z) => {
|
|
760
|
+
z.stopPropagation(), f(C.evidence[0].start_ms);
|
|
761
761
|
},
|
|
762
|
-
children: /* @__PURE__ */ e(
|
|
762
|
+
children: /* @__PURE__ */ e(Oe, { size: 16, color: "#808183", strokeWidth: 1.5 })
|
|
763
763
|
}
|
|
764
764
|
),
|
|
765
765
|
/* @__PURE__ */ e("span", { style: {
|
|
@@ -768,19 +768,19 @@ const Le = {
|
|
|
768
768
|
color: "var(--Grey-Muted, #808183)",
|
|
769
769
|
lineHeight: 1.2,
|
|
770
770
|
whiteSpace: "nowrap"
|
|
771
|
-
}, children: b(
|
|
771
|
+
}, children: b(C.evidence[0].start_ms) })
|
|
772
772
|
]
|
|
773
773
|
}
|
|
774
774
|
)
|
|
775
775
|
] }),
|
|
776
|
-
(
|
|
776
|
+
(R = C.evidence) == null ? void 0 : R.map((z, B) => z.text && /* @__PURE__ */ t(
|
|
777
777
|
"div",
|
|
778
778
|
{
|
|
779
|
-
onClick: (
|
|
780
|
-
|
|
779
|
+
onClick: ($) => {
|
|
780
|
+
$.stopPropagation(), d(z);
|
|
781
781
|
},
|
|
782
|
-
onMouseEnter: () =>
|
|
783
|
-
onMouseLeave: () =>
|
|
782
|
+
onMouseEnter: () => g(z.turn_ids ?? []),
|
|
783
|
+
onMouseLeave: () => g([]),
|
|
784
784
|
style: {
|
|
785
785
|
display: "flex",
|
|
786
786
|
alignItems: "center",
|
|
@@ -789,11 +789,11 @@ const Le = {
|
|
|
789
789
|
cursor: "pointer"
|
|
790
790
|
},
|
|
791
791
|
children: [
|
|
792
|
-
/* @__PURE__ */ e(
|
|
793
|
-
|
|
792
|
+
/* @__PURE__ */ e(ye, { size: 28, children: /* @__PURE__ */ e(
|
|
793
|
+
Ue,
|
|
794
794
|
{
|
|
795
795
|
size: 17,
|
|
796
|
-
color:
|
|
796
|
+
color: w(z) ? "var(--rail-orange, #C98A5A)" : "var(--Grey-Muted, #808183)",
|
|
797
797
|
strokeWidth: 1
|
|
798
798
|
}
|
|
799
799
|
) }),
|
|
@@ -804,21 +804,21 @@ const Le = {
|
|
|
804
804
|
lineHeight: 1.2
|
|
805
805
|
}, children: [
|
|
806
806
|
"“",
|
|
807
|
-
|
|
807
|
+
z.text,
|
|
808
808
|
"”"
|
|
809
809
|
] })
|
|
810
810
|
]
|
|
811
811
|
},
|
|
812
|
-
|
|
812
|
+
B
|
|
813
813
|
))
|
|
814
814
|
]
|
|
815
815
|
},
|
|
816
|
-
|
|
816
|
+
C.key ?? L
|
|
817
817
|
);
|
|
818
818
|
}) })
|
|
819
819
|
]
|
|
820
820
|
},
|
|
821
|
-
|
|
821
|
+
p
|
|
822
822
|
);
|
|
823
823
|
})
|
|
824
824
|
] })
|
|
@@ -831,43 +831,43 @@ const Le = {
|
|
|
831
831
|
accent: "var(--rail-orange, #C98A5A)",
|
|
832
832
|
track: "var(--rail-surface-2, #E3E1D7)",
|
|
833
833
|
infoIcon: "var(--color-input-border, #ACACAD)"
|
|
834
|
-
},
|
|
835
|
-
const k = Math.min(Math.round(n / i * 5), 5), b = 180 / 5,
|
|
836
|
-
const
|
|
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;
|
|
837
837
|
return {
|
|
838
|
-
x: 121.5 + 85 * Math.cos(
|
|
839
|
-
y: 123 - 85 * Math.sin(
|
|
838
|
+
x: 121.5 + 85 * Math.cos(h),
|
|
839
|
+
y: 123 - 85 * Math.sin(h)
|
|
840
840
|
};
|
|
841
|
-
}, s = (
|
|
842
|
-
const
|
|
843
|
-
return `M ${
|
|
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
844
|
}, r = 2;
|
|
845
|
-
return /* @__PURE__ */ e("svg", { width: 243, height: 130, viewBox: "0 0 243 130", fill: "none", children: Array.from({ length: 5 }, (
|
|
846
|
-
const
|
|
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
847
|
return /* @__PURE__ */ e(
|
|
848
848
|
"path",
|
|
849
849
|
{
|
|
850
|
-
d: s(
|
|
851
|
-
stroke:
|
|
850
|
+
d: s(D, W),
|
|
851
|
+
stroke: I ? S.strong : S.track,
|
|
852
852
|
strokeWidth: 30,
|
|
853
853
|
strokeLinecap: "butt",
|
|
854
854
|
fill: "none"
|
|
855
855
|
},
|
|
856
|
-
|
|
856
|
+
h
|
|
857
857
|
);
|
|
858
858
|
}) });
|
|
859
|
-
},
|
|
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(
|
|
860
860
|
"div",
|
|
861
861
|
{
|
|
862
862
|
style: {
|
|
863
863
|
width: 22,
|
|
864
864
|
height: 6,
|
|
865
865
|
borderRadius: 1,
|
|
866
|
-
background:
|
|
866
|
+
background: d < n ? S.strong : S.track
|
|
867
867
|
}
|
|
868
868
|
},
|
|
869
|
-
|
|
870
|
-
)) }),
|
|
869
|
+
d
|
|
870
|
+
)) }), pt = ({ label: n, value: i = 0, maxValue: o = 5 }) => /* @__PURE__ */ t("div", { style: {
|
|
871
871
|
display: "flex",
|
|
872
872
|
flexDirection: "column",
|
|
873
873
|
gap: 8,
|
|
@@ -886,16 +886,16 @@ const Le = {
|
|
|
886
886
|
fontFamily: "var(--font-sans)",
|
|
887
887
|
lineHeight: "normal"
|
|
888
888
|
}, children: n }),
|
|
889
|
-
/* @__PURE__ */ e(
|
|
889
|
+
/* @__PURE__ */ e(qe, { size: 14, color: S.infoIcon, strokeWidth: 1 })
|
|
890
890
|
] }),
|
|
891
|
-
/* @__PURE__ */ e(
|
|
892
|
-
] }),
|
|
891
|
+
/* @__PURE__ */ e(gt, { value: i, maxValue: o })
|
|
892
|
+
] }), ft = ({
|
|
893
893
|
score: n = 83,
|
|
894
894
|
maxScore: i = 100,
|
|
895
895
|
predictedScore: o = 4,
|
|
896
|
-
predictedLabel:
|
|
897
|
-
description:
|
|
898
|
-
legends:
|
|
896
|
+
predictedLabel: d = "Predicted Objective",
|
|
897
|
+
description: g = "",
|
|
898
|
+
legends: f = [
|
|
899
899
|
{ label: "CSAT", value: 3 },
|
|
900
900
|
{ label: "Resolution", value: 4 },
|
|
901
901
|
{ label: "Process Adherence", value: 5 },
|
|
@@ -931,7 +931,7 @@ const Le = {
|
|
|
931
931
|
color: S.muted,
|
|
932
932
|
fontFamily: "var(--font-sans)",
|
|
933
933
|
lineHeight: "normal"
|
|
934
|
-
}, children:
|
|
934
|
+
}, children: g })
|
|
935
935
|
] }),
|
|
936
936
|
/* @__PURE__ */ t("div", { style: {
|
|
937
937
|
display: "flex",
|
|
@@ -947,7 +947,7 @@ const Le = {
|
|
|
947
947
|
alignItems: "center",
|
|
948
948
|
flexShrink: 0
|
|
949
949
|
}, children: [
|
|
950
|
-
/* @__PURE__ */ e(
|
|
950
|
+
/* @__PURE__ */ e(ct, { score: n, maxScore: i }),
|
|
951
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
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
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)" })
|
|
@@ -990,15 +990,15 @@ const Le = {
|
|
|
990
990
|
fontFamily: "var(--font-sans)",
|
|
991
991
|
lineHeight: 1.43,
|
|
992
992
|
textAlign: "center"
|
|
993
|
-
}, children:
|
|
993
|
+
}, children: d })
|
|
994
994
|
] }),
|
|
995
995
|
/* @__PURE__ */ e("div", { style: {
|
|
996
996
|
width: "100%",
|
|
997
997
|
height: 1,
|
|
998
998
|
background: S.absent
|
|
999
999
|
} }),
|
|
1000
|
-
|
|
1001
|
-
|
|
1000
|
+
f.map((y, u) => /* @__PURE__ */ e(
|
|
1001
|
+
pt,
|
|
1002
1002
|
{
|
|
1003
1003
|
label: y.label,
|
|
1004
1004
|
value: y.value
|
|
@@ -1008,52 +1008,78 @@ const Le = {
|
|
|
1008
1008
|
] })
|
|
1009
1009
|
] })
|
|
1010
1010
|
] });
|
|
1011
|
-
},
|
|
1011
|
+
}, ht = [
|
|
1012
1012
|
{ key: "overview", label: "Overview" },
|
|
1013
1013
|
{ key: "coaching", label: "Coaching Summary" },
|
|
1014
|
-
{ key: "signals", label: "Signals &
|
|
1014
|
+
{ key: "signals", label: "Signals & Recording" },
|
|
1015
1015
|
{ key: "comments", label: "Comments" }
|
|
1016
|
-
],
|
|
1016
|
+
], bt = ({
|
|
1017
1017
|
title: n = "Wheel Stud Replacement Enquiry",
|
|
1018
1018
|
onBack: i,
|
|
1019
1019
|
// Data props — all optional with defaults for demo
|
|
1020
1020
|
data: o,
|
|
1021
|
-
coachingData:
|
|
1022
|
-
audioUrl:
|
|
1021
|
+
coachingData: d,
|
|
1022
|
+
audioUrl: g,
|
|
1023
|
+
// Audio/playback props — pass these when the host app manages audio externally
|
|
1024
|
+
// (like InteractionDetailPanel does). If omitted, UpdatedInteractionRecording
|
|
1025
|
+
// manages its own audio element internally.
|
|
1026
|
+
audioRef: f,
|
|
1027
|
+
currentTimeSeconds: x,
|
|
1028
|
+
timelinePlaying: y,
|
|
1029
|
+
playbackRate: u,
|
|
1030
|
+
timelineSegments: k,
|
|
1031
|
+
onSeek: b,
|
|
1032
|
+
onTogglePlay: w,
|
|
1033
|
+
onSeekBack: s,
|
|
1034
|
+
onSeekForward: r,
|
|
1035
|
+
onSetPlaybackRate: p,
|
|
1036
|
+
// Speaker names
|
|
1037
|
+
agentName: h,
|
|
1038
|
+
customerName: D,
|
|
1039
|
+
// 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,
|
|
1023
1045
|
// Footer navigation
|
|
1024
|
-
prevSessionTitle:
|
|
1025
|
-
prevSessionDesc:
|
|
1026
|
-
nextSessionTitle:
|
|
1027
|
-
nextSessionDesc:
|
|
1028
|
-
onPreviousSession:
|
|
1029
|
-
onNextSession:
|
|
1046
|
+
prevSessionTitle: H,
|
|
1047
|
+
prevSessionDesc: M,
|
|
1048
|
+
nextSessionTitle: R,
|
|
1049
|
+
nextSessionDesc: z,
|
|
1050
|
+
onPreviousSession: B,
|
|
1051
|
+
onNextSession: $
|
|
1030
1052
|
}) => {
|
|
1031
|
-
var
|
|
1032
|
-
const [
|
|
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 = [
|
|
1033
1059
|
{ title: "Tire Repair Appointment", date: "11/12/2025, 2:30:00 PM" },
|
|
1034
1060
|
{ title: "Quote Confirmation", date: "10/1/2025, 9:00:00 AM" },
|
|
1035
1061
|
{ title: "Automative Repair Enquiry", date: "09/15/2025, 11:45:00 AM" },
|
|
1036
1062
|
{ title: "Vehicle Inspection Reminder", date: "07/20/2025, 1:00:00 PM" },
|
|
1037
1063
|
{ title: "Oil Change Service", date: "05/5/2025, 10:00:00 AM" }
|
|
1038
|
-
],
|
|
1039
|
-
var
|
|
1040
|
-
const
|
|
1041
|
-
(
|
|
1042
|
-
},
|
|
1043
|
-
|
|
1044
|
-
const
|
|
1045
|
-
return
|
|
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;
|
|
1046
1072
|
});
|
|
1047
|
-
},
|
|
1048
|
-
var
|
|
1049
|
-
return ((
|
|
1050
|
-
},
|
|
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, " "))) || [
|
|
1051
1077
|
"customer needs fully addressed",
|
|
1052
1078
|
"call flow expectations set",
|
|
1053
1079
|
"Opening expectations set",
|
|
1054
1080
|
"Active listening demonstrated",
|
|
1055
1081
|
"Resolution confirmed"
|
|
1056
|
-
],
|
|
1082
|
+
], Re = d || {
|
|
1057
1083
|
one_liner: "David provided the customer with information on wheel stud replacement and pricing, but did not secure an appointment.",
|
|
1058
1084
|
context: "The customer was seeking information on wheel stud replacement for a 2013 Chevy Bolt and was unsure about doing the repair themselves.",
|
|
1059
1085
|
strengths: [
|
|
@@ -1066,7 +1092,7 @@ const Le = {
|
|
|
1066
1092
|
{ 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
1093
|
],
|
|
1068
1094
|
overall: "effective"
|
|
1069
|
-
},
|
|
1095
|
+
}, Ee = (le = T == null ? void 0 : T.signals) != null && le.length ? T : {
|
|
1070
1096
|
present_count: 9,
|
|
1071
1097
|
total_signals_evaluated: 146,
|
|
1072
1098
|
signals: [
|
|
@@ -1092,7 +1118,7 @@ const Le = {
|
|
|
1092
1118
|
{ 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
1119
|
{ 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
1120
|
]
|
|
1095
|
-
},
|
|
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";
|
|
1096
1122
|
return /* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", width: "100%", background: "var(--Grey-White, #FFF)" }, children: [
|
|
1097
1123
|
/* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 12, padding: "24px 24px 0" }, children: [
|
|
1098
1124
|
/* @__PURE__ */ e(
|
|
@@ -1109,7 +1135,7 @@ const Le = {
|
|
|
1109
1135
|
padding: 0,
|
|
1110
1136
|
flexShrink: 0
|
|
1111
1137
|
},
|
|
1112
|
-
children: /* @__PURE__ */ e(
|
|
1138
|
+
children: /* @__PURE__ */ e(se, { size: 24, color: "var(--Grey-Strong, #2E3236)" })
|
|
1113
1139
|
}
|
|
1114
1140
|
),
|
|
1115
1141
|
/* @__PURE__ */ e("div", { style: { width: 1, height: 28, background: "var(--Base-absent, #D9D9D9)" } }),
|
|
@@ -1129,10 +1155,10 @@ const Le = {
|
|
|
1129
1155
|
borderBottom: "1px solid var(--Grey-Faint, #ACADAD)",
|
|
1130
1156
|
padding: "0 24px",
|
|
1131
1157
|
marginTop: 8
|
|
1132
|
-
}, children:
|
|
1158
|
+
}, children: ht.map((a) => /* @__PURE__ */ e(
|
|
1133
1159
|
"button",
|
|
1134
1160
|
{
|
|
1135
|
-
onClick: () =>
|
|
1161
|
+
onClick: () => We(a.key),
|
|
1136
1162
|
style: {
|
|
1137
1163
|
display: "flex",
|
|
1138
1164
|
padding: 16,
|
|
@@ -1140,20 +1166,20 @@ const Le = {
|
|
|
1140
1166
|
gap: 10,
|
|
1141
1167
|
background: "none",
|
|
1142
1168
|
border: "none",
|
|
1143
|
-
borderBottom:
|
|
1169
|
+
borderBottom: P === a.key ? "3px solid var(--Grey-Strong, #2E3236)" : "3px solid transparent",
|
|
1144
1170
|
cursor: "pointer",
|
|
1145
1171
|
fontSize: 15,
|
|
1146
|
-
fontWeight:
|
|
1147
|
-
color:
|
|
1172
|
+
fontWeight: P === a.key ? 500 : 400,
|
|
1173
|
+
color: P === a.key ? "var(--Grey-Strong, #2E3236)" : "var(--Grey-Muted, #808183)",
|
|
1148
1174
|
whiteSpace: "nowrap",
|
|
1149
1175
|
transition: "border-color 0.2s ease, color 0.2s ease"
|
|
1150
1176
|
},
|
|
1151
|
-
children:
|
|
1177
|
+
children: a.label
|
|
1152
1178
|
},
|
|
1153
|
-
|
|
1179
|
+
a.key
|
|
1154
1180
|
)) }),
|
|
1155
1181
|
/* @__PURE__ */ t("div", { style: { padding: 24, flex: 1, overflowY: "auto" }, children: [
|
|
1156
|
-
|
|
1182
|
+
/* @__PURE__ */ t("div", { ref: Q, style: {
|
|
1157
1183
|
display: "flex",
|
|
1158
1184
|
flexDirection: "column",
|
|
1159
1185
|
justifyContent: "flex-end",
|
|
@@ -1169,7 +1195,7 @@ const Le = {
|
|
|
1169
1195
|
alignSelf: "stretch"
|
|
1170
1196
|
}, children: [
|
|
1171
1197
|
/* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 8, flex: 1 }, children: [
|
|
1172
|
-
/* @__PURE__ */ e(
|
|
1198
|
+
/* @__PURE__ */ e(Ne, { size: 24, color: "var(--rail-orange, #C98A5A)", strokeWidth: 2 }),
|
|
1173
1199
|
/* @__PURE__ */ e("span", { style: {
|
|
1174
1200
|
fontSize: 16,
|
|
1175
1201
|
fontWeight: 600,
|
|
@@ -1180,12 +1206,12 @@ const Le = {
|
|
|
1180
1206
|
] }),
|
|
1181
1207
|
/* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 16, flexShrink: 0 }, children: [
|
|
1182
1208
|
/* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 6, padding: "8px 0" }, children: [
|
|
1183
|
-
/* @__PURE__ */ e(
|
|
1184
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, 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 })
|
|
1185
1211
|
] }),
|
|
1186
1212
|
/* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 6, padding: "8px 0" }, children: [
|
|
1187
|
-
/* @__PURE__ */ e(
|
|
1188
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, 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 })
|
|
1189
1215
|
] }),
|
|
1190
1216
|
/* @__PURE__ */ t("div", { style: {
|
|
1191
1217
|
display: "flex",
|
|
@@ -1195,15 +1221,15 @@ const Le = {
|
|
|
1195
1221
|
borderLeft: "1px solid var(--Grey-absent, #D9D9D9)"
|
|
1196
1222
|
}, children: [
|
|
1197
1223
|
/* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", gap: 6, padding: "8px 0" }, children: [
|
|
1198
|
-
/* @__PURE__ */ e(
|
|
1199
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)", lineHeight: 1.2 }, 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 })
|
|
1200
1226
|
] }),
|
|
1201
|
-
/* @__PURE__ */ e(
|
|
1227
|
+
/* @__PURE__ */ e(Ke, { size: 16, color: "var(--color-input-border, #ACACAD)", strokeWidth: 1.5 }),
|
|
1202
1228
|
/* @__PURE__ */ t("div", { style: { position: "relative" }, children: [
|
|
1203
1229
|
/* @__PURE__ */ t(
|
|
1204
1230
|
"button",
|
|
1205
1231
|
{
|
|
1206
|
-
onClick: () =>
|
|
1232
|
+
onClick: () => we((a) => !a),
|
|
1207
1233
|
style: {
|
|
1208
1234
|
display: "flex",
|
|
1209
1235
|
alignItems: "center",
|
|
@@ -1214,18 +1240,18 @@ const Le = {
|
|
|
1214
1240
|
cursor: "pointer"
|
|
1215
1241
|
},
|
|
1216
1242
|
children: [
|
|
1217
|
-
/* @__PURE__ */ e(
|
|
1243
|
+
/* @__PURE__ */ e(ae, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
|
|
1218
1244
|
/* @__PURE__ */ t("span", { style: { fontSize: 13, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", lineHeight: 1.2 }, children: [
|
|
1219
|
-
O,
|
|
1220
|
-
" (",
|
|
1221
1245
|
U,
|
|
1246
|
+
" (",
|
|
1247
|
+
oe,
|
|
1222
1248
|
" Sessions)"
|
|
1223
1249
|
] }),
|
|
1224
|
-
|
|
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 })
|
|
1225
1251
|
]
|
|
1226
1252
|
}
|
|
1227
1253
|
),
|
|
1228
|
-
|
|
1254
|
+
N && /* @__PURE__ */ t("div", { style: {
|
|
1229
1255
|
position: "absolute",
|
|
1230
1256
|
top: "100%",
|
|
1231
1257
|
right: 0,
|
|
@@ -1244,37 +1270,37 @@ const Le = {
|
|
|
1244
1270
|
gap: 8,
|
|
1245
1271
|
padding: 16
|
|
1246
1272
|
}, children: [
|
|
1247
|
-
/* @__PURE__ */ e(
|
|
1273
|
+
/* @__PURE__ */ e(ae, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5, style: { marginTop: 2, flexShrink: 0 } }),
|
|
1248
1274
|
/* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 4 }, children: [
|
|
1249
1275
|
/* @__PURE__ */ e("span", { style: {
|
|
1250
1276
|
fontSize: 16,
|
|
1251
1277
|
fontWeight: 600,
|
|
1252
1278
|
color: "var(--Grey-Strong, #2E3236)",
|
|
1253
1279
|
lineHeight: 1
|
|
1254
|
-
}, children:
|
|
1280
|
+
}, children: U }),
|
|
1255
1281
|
/* @__PURE__ */ t("span", { style: {
|
|
1256
1282
|
fontSize: 13,
|
|
1257
1283
|
fontWeight: 400,
|
|
1258
1284
|
color: "var(--Grey-Muted, #808183)",
|
|
1259
1285
|
lineHeight: 1
|
|
1260
1286
|
}, children: [
|
|
1261
|
-
|
|
1287
|
+
oe,
|
|
1262
1288
|
" Sessions in past"
|
|
1263
1289
|
] })
|
|
1264
1290
|
] })
|
|
1265
1291
|
] }),
|
|
1266
|
-
|
|
1292
|
+
Ce.map((a, v) => /* @__PURE__ */ t(
|
|
1267
1293
|
"div",
|
|
1268
1294
|
{
|
|
1269
|
-
onMouseEnter: () =>
|
|
1270
|
-
onMouseLeave: () =>
|
|
1295
|
+
onMouseEnter: () => Y(v),
|
|
1296
|
+
onMouseLeave: () => Y(null),
|
|
1271
1297
|
style: {
|
|
1272
1298
|
display: "flex",
|
|
1273
1299
|
width: 264,
|
|
1274
1300
|
padding: "12px 16px",
|
|
1275
1301
|
justifyContent: "space-between",
|
|
1276
1302
|
alignItems: "center",
|
|
1277
|
-
background:
|
|
1303
|
+
background: V === v ? "var(--surface-hover, #F3F7F7)" : "var(--Grey-White, #FFF)",
|
|
1278
1304
|
borderTop: "1px solid var(--Grey-absent, #D9D9D9)",
|
|
1279
1305
|
cursor: "pointer",
|
|
1280
1306
|
boxSizing: "border-box",
|
|
@@ -1287,18 +1313,18 @@ const Le = {
|
|
|
1287
1313
|
fontWeight: 400,
|
|
1288
1314
|
color: "var(--Grey-Strong, #2E3236)",
|
|
1289
1315
|
lineHeight: 1
|
|
1290
|
-
}, children:
|
|
1316
|
+
}, children: a.title }),
|
|
1291
1317
|
/* @__PURE__ */ e("span", { style: {
|
|
1292
1318
|
fontSize: 12,
|
|
1293
1319
|
fontWeight: 400,
|
|
1294
1320
|
color: "var(--Grey-Muted, #808183)",
|
|
1295
1321
|
lineHeight: 1
|
|
1296
|
-
}, children:
|
|
1322
|
+
}, children: a.date })
|
|
1297
1323
|
] }),
|
|
1298
|
-
|
|
1324
|
+
V === v && /* @__PURE__ */ e(ve, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1, style: { flexShrink: 0 } })
|
|
1299
1325
|
]
|
|
1300
1326
|
},
|
|
1301
|
-
|
|
1327
|
+
v
|
|
1302
1328
|
)),
|
|
1303
1329
|
/* @__PURE__ */ e("div", { style: {
|
|
1304
1330
|
padding: 16,
|
|
@@ -1317,7 +1343,7 @@ const Le = {
|
|
|
1317
1343
|
borderRadius: 10,
|
|
1318
1344
|
cursor: "pointer"
|
|
1319
1345
|
}, children: [
|
|
1320
|
-
/* @__PURE__ */ e(
|
|
1346
|
+
/* @__PURE__ */ e(Ze, { size: 16, color: "var(--Grey-Muted, #808183)", strokeWidth: 1.5 }),
|
|
1321
1347
|
/* @__PURE__ */ e("span", { style: {
|
|
1322
1348
|
fontSize: 14,
|
|
1323
1349
|
fontWeight: 600,
|
|
@@ -1335,7 +1361,7 @@ const Le = {
|
|
|
1335
1361
|
gap: 24,
|
|
1336
1362
|
alignSelf: "stretch"
|
|
1337
1363
|
}, children: [
|
|
1338
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
|
|
1364
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(ft, {}) }),
|
|
1339
1365
|
/* @__PURE__ */ t("div", { style: {
|
|
1340
1366
|
display: "flex",
|
|
1341
1367
|
flexDirection: "column",
|
|
@@ -1346,99 +1372,92 @@ const Le = {
|
|
|
1346
1372
|
minWidth: 0
|
|
1347
1373
|
}, children: [
|
|
1348
1374
|
/* @__PURE__ */ e(
|
|
1349
|
-
|
|
1375
|
+
st,
|
|
1350
1376
|
{
|
|
1351
|
-
meta:
|
|
1352
|
-
callPurpose:
|
|
1353
|
-
classification:
|
|
1377
|
+
meta: te,
|
|
1378
|
+
callPurpose: ne,
|
|
1379
|
+
classification: Ge,
|
|
1354
1380
|
outcomeQuality: "Neutral"
|
|
1355
1381
|
}
|
|
1356
1382
|
),
|
|
1357
1383
|
/* @__PURE__ */ e(
|
|
1358
|
-
|
|
1384
|
+
at,
|
|
1359
1385
|
{
|
|
1360
|
-
outcomeLift:
|
|
1361
|
-
driverLabels:
|
|
1386
|
+
outcomeLift: He,
|
|
1387
|
+
driverLabels: Me
|
|
1362
1388
|
}
|
|
1363
1389
|
)
|
|
1364
1390
|
] })
|
|
1391
|
+
] })
|
|
1392
|
+
] }),
|
|
1393
|
+
/* @__PURE__ */ e("div", { ref: K, style: { paddingTop: 24 }, children: /* @__PURE__ */ e(ot, { data: Re }) }),
|
|
1394
|
+
/* @__PURE__ */ t("div", { ref: Z, style: {
|
|
1395
|
+
display: "flex",
|
|
1396
|
+
flexDirection: "column",
|
|
1397
|
+
gap: 16,
|
|
1398
|
+
alignSelf: "stretch",
|
|
1399
|
+
paddingTop: 24
|
|
1400
|
+
}, children: [
|
|
1401
|
+
/* @__PURE__ */ t("div", { style: {
|
|
1402
|
+
display: "flex",
|
|
1403
|
+
alignItems: "center",
|
|
1404
|
+
gap: 8
|
|
1405
|
+
}, children: [
|
|
1406
|
+
/* @__PURE__ */ e(me, { size: 24, color: "#C98A5A", strokeWidth: 2 }),
|
|
1407
|
+
/* @__PURE__ */ e("span", { style: {
|
|
1408
|
+
fontSize: 16,
|
|
1409
|
+
fontWeight: 600,
|
|
1410
|
+
color: "var(--Grey-Strong, #2E3236)",
|
|
1411
|
+
lineHeight: 1.2,
|
|
1412
|
+
textTransform: "uppercase"
|
|
1413
|
+
}, children: "Signals & Recording" })
|
|
1365
1414
|
] }),
|
|
1366
|
-
/* @__PURE__ */ e(X, { data: P }),
|
|
1367
1415
|
/* @__PURE__ */ t("div", { style: {
|
|
1368
1416
|
display: "flex",
|
|
1369
|
-
|
|
1370
|
-
gap:
|
|
1371
|
-
alignSelf: "stretch"
|
|
1417
|
+
alignItems: "flex-start",
|
|
1418
|
+
gap: 24,
|
|
1419
|
+
alignSelf: "stretch",
|
|
1420
|
+
paddingTop: 16,
|
|
1421
|
+
borderTop: "1px solid #D9D9D9"
|
|
1372
1422
|
}, children: [
|
|
1373
|
-
/* @__PURE__ */
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
audioUrl: p,
|
|
1409
|
-
durationSeconds: L.duration_seconds,
|
|
1410
|
-
currentTimeSeconds: 0
|
|
1411
|
-
}
|
|
1412
|
-
) })
|
|
1413
|
-
] })
|
|
1423
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
|
|
1424
|
+
dt,
|
|
1425
|
+
{
|
|
1426
|
+
signals: Ee,
|
|
1427
|
+
expandedSignals: ke,
|
|
1428
|
+
toggleSignal: Fe,
|
|
1429
|
+
onShowInTranscript: ze
|
|
1430
|
+
}
|
|
1431
|
+
) }),
|
|
1432
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
|
|
1433
|
+
Je,
|
|
1434
|
+
{
|
|
1435
|
+
ref: j,
|
|
1436
|
+
audioUrl: g,
|
|
1437
|
+
durationSeconds: te.duration_seconds,
|
|
1438
|
+
audioRef: f,
|
|
1439
|
+
agentName: ie,
|
|
1440
|
+
customerName: U.split(" ")[0],
|
|
1441
|
+
currentTimeSeconds: x,
|
|
1442
|
+
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,
|
|
1455
|
+
setExpandedSignals: q
|
|
1456
|
+
}
|
|
1457
|
+
) })
|
|
1414
1458
|
] })
|
|
1415
1459
|
] }),
|
|
1416
|
-
|
|
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." })
|
|
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." }) })
|
|
1442
1461
|
] }),
|
|
1443
1462
|
/* @__PURE__ */ t("div", { style: {
|
|
1444
1463
|
display: "flex",
|
|
@@ -1449,7 +1468,7 @@ const Le = {
|
|
|
1449
1468
|
/* @__PURE__ */ t(
|
|
1450
1469
|
"button",
|
|
1451
1470
|
{
|
|
1452
|
-
onClick:
|
|
1471
|
+
onClick: B,
|
|
1453
1472
|
style: {
|
|
1454
1473
|
display: "flex",
|
|
1455
1474
|
alignItems: "center",
|
|
@@ -1461,7 +1480,7 @@ const Le = {
|
|
|
1461
1480
|
cursor: "pointer"
|
|
1462
1481
|
},
|
|
1463
1482
|
children: [
|
|
1464
|
-
/* @__PURE__ */ e(
|
|
1483
|
+
/* @__PURE__ */ e(se, { size: 24, color: "var(--Grey-Muted, #808183)", strokeWidth: 2 }),
|
|
1465
1484
|
/* @__PURE__ */ t("div", { style: { display: "flex", flexDirection: "column", gap: 10 }, children: [
|
|
1466
1485
|
/* @__PURE__ */ e("span", { style: {
|
|
1467
1486
|
fontSize: 14,
|
|
@@ -1469,7 +1488,7 @@ const Le = {
|
|
|
1469
1488
|
color: "#000",
|
|
1470
1489
|
lineHeight: 1.2,
|
|
1471
1490
|
textAlign: "left"
|
|
1472
|
-
}, children:
|
|
1491
|
+
}, children: H || "Previous Session Title" }),
|
|
1473
1492
|
/* @__PURE__ */ e("span", { style: {
|
|
1474
1493
|
fontSize: 13,
|
|
1475
1494
|
fontWeight: 400,
|
|
@@ -1477,7 +1496,7 @@ const Le = {
|
|
|
1477
1496
|
lineHeight: 1.2,
|
|
1478
1497
|
opacity: 0.5,
|
|
1479
1498
|
textAlign: "left"
|
|
1480
|
-
}, children:
|
|
1499
|
+
}, children: M || "Short description of the session" })
|
|
1481
1500
|
] })
|
|
1482
1501
|
]
|
|
1483
1502
|
}
|
|
@@ -1485,7 +1504,7 @@ const Le = {
|
|
|
1485
1504
|
/* @__PURE__ */ t(
|
|
1486
1505
|
"button",
|
|
1487
1506
|
{
|
|
1488
|
-
onClick:
|
|
1507
|
+
onClick: $,
|
|
1489
1508
|
style: {
|
|
1490
1509
|
display: "flex",
|
|
1491
1510
|
alignItems: "center",
|
|
@@ -1505,7 +1524,7 @@ const Le = {
|
|
|
1505
1524
|
color: "#000",
|
|
1506
1525
|
lineHeight: 1.2,
|
|
1507
1526
|
textAlign: "left"
|
|
1508
|
-
}, children:
|
|
1527
|
+
}, children: R || "Next Session Title" }),
|
|
1509
1528
|
/* @__PURE__ */ e("span", { style: {
|
|
1510
1529
|
fontSize: 13,
|
|
1511
1530
|
fontWeight: 400,
|
|
@@ -1513,9 +1532,9 @@ const Le = {
|
|
|
1513
1532
|
lineHeight: 1.2,
|
|
1514
1533
|
opacity: 0.5,
|
|
1515
1534
|
textAlign: "left"
|
|
1516
|
-
}, children:
|
|
1535
|
+
}, children: z || "Short description of the session" })
|
|
1517
1536
|
] }),
|
|
1518
|
-
/* @__PURE__ */ e(
|
|
1537
|
+
/* @__PURE__ */ e(Xe, { size: 24, color: "var(--Grey-Muted, #808183)", strokeWidth: 2 })
|
|
1519
1538
|
]
|
|
1520
1539
|
}
|
|
1521
1540
|
)
|
|
@@ -1523,12 +1542,12 @@ const Le = {
|
|
|
1523
1542
|
] });
|
|
1524
1543
|
};
|
|
1525
1544
|
export {
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
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
|
|
1533
1552
|
};
|
|
1534
1553
|
//# sourceMappingURL=UpdatedInteractionDetails.es.js.map
|