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,21 +1,23 @@
1
- import { C as qt, M as Vt, O as Jt, S as Qt, a as Zt, b as Xt, c as Ut, d as en } from "../SummarySection.es.js";
1
+ import { C as Vt, M as Jt, O as Qt, b as Zt, c as Xt, S as Ut, a as en, d as tn } from "../SummarySection.es.js";
2
2
  import { E as Ye, A as Xe } from "../AgentLiftCard.es.js";
3
3
  import { jsxs as o, jsx as e, Fragment as $e } from "react/jsx-runtime";
4
4
  import Ge, { useMemo as oe, useState as T, useRef as fe, useEffect as ge, useLayoutEffect as Ue } from "react";
5
- import { TrendingUp as et, Lightbulb as Ae, Building as tt, MessageSquareQuote as nt, ChevronDown as He, MessageSquare as rt, Zap as Me, Scale as it, FileText as ot, Target as qe, CheckCircle as Ve, CornerDownRight as at, Send as lt, Clock as st, ChevronRight as Je } from "lucide-react";
6
- import { C as ct, D as ae } from "../SmallButton.es.js";
5
+ import { TrendingUp as et, Lightbulb as Ae, Building as tt, MessageSquareQuote as nt, ChevronDown as He, Zap as Me, CheckCircle as qe, Target as Ve, FileText as rt, Scale as it, MessageSquare as ot, CornerDownRight as at, Send as lt, Clock as st, ChevronRight as Je } from "lucide-react";
6
+ import { C as ct, a as ae } from "../SmallButton.es.js";
7
7
  import { S as dt, T as pt } from "../SectionLabel.es.js";
8
8
  import "../sortable.esm.es.js";
9
9
  import "react-dom";
10
10
  import "../TourGuideTooltip.es.js";
11
11
  import "recharts";
12
12
  import "../UploadInteraction.es.js";
13
- /* empty css */
13
+ import "../colors.es.js";
14
14
  import "../UpdatedInteractionRecording.es.js";
15
- import { T as ut, a as gt } from "../Timeline.es.js";
15
+ import { a as ut, T as gt } from "../Timeline.es.js";
16
+ import "../Tooltip.es.js";
16
17
  const Oe = "coaching-synthesis-keyframes";
17
18
  function ft() {
18
- if (typeof document > "u" || document.getElementById(Oe)) return;
19
+ if (typeof document > "u" || document.getElementById(Oe))
20
+ return;
19
21
  const n = document.createElement("style");
20
22
  n.id = Oe, n.textContent = `
21
23
  @keyframes coaching-shimmer {
@@ -82,7 +84,8 @@ function ht({ data: n, loading: a, error: l }) {
82
84
  color: "var(--text-faint)",
83
85
  fontFamily: "var(--font-sans)"
84
86
  }, children: "Unable to generate coaching summary." });
85
- if (!n) return null;
87
+ if (!n)
88
+ return null;
86
89
  const s = n.strengths || [], i = n.improvements || [], m = n.organizational || n.organizational_insights || [], b = typeof n.one_liner == "string" ? n.one_liner : ((C = n.one_liner) == null ? void 0 : C.text) || "", y = typeof n.context == "string" ? n.context : ((I = n.context) == null ? void 0 : I.text) || "";
87
90
  return /* @__PURE__ */ o("div", { style: {
88
91
  display: "flex",
@@ -243,7 +246,7 @@ function xt({ title: n, meta: a, callPurpose: l, classification: s, dimensions:
243
246
  a.session_id && /* @__PURE__ */ e("div", { style: { fontSize: 10, color: "var(--text-faint)", fontFamily: "var(--font-mono)", marginTop: 4, userSelect: "all" }, children: a.session_id })
244
247
  ] });
245
248
  }
246
- function jt({ scores: n }) {
249
+ function Nt({ scores: n }) {
247
250
  return n != null && n.length ? /* @__PURE__ */ e(ae, { title: "Scores", children: /* @__PURE__ */ e("div", { style: { display: "flex", gap: 24, flexWrap: "wrap" }, children: n.map((a, l) => {
248
251
  const s = a.value != null ? Math.round(a.value) : null;
249
252
  return /* @__PURE__ */ o("div", { style: { textAlign: "center", minWidth: 48 }, children: [
@@ -253,15 +256,15 @@ function jt({ scores: n }) {
253
256
  }) }) }) : null;
254
257
  }
255
258
  const je = {
256
- outcome: { label: "Outcome", icon: /* @__PURE__ */ e(qe, { size: 12 }), color: "var(--rail-outcome)" },
257
- process: { label: "Process & Protocol", icon: /* @__PURE__ */ e(ot, { size: 12 }), color: "var(--rail-discovery)" },
259
+ outcome: { label: "Outcome", icon: /* @__PURE__ */ e(Ve, { size: 12 }), color: "var(--rail-outcome)" },
260
+ process: { label: "Process & Protocol", icon: /* @__PURE__ */ e(rt, { size: 12 }), color: "var(--rail-discovery)" },
258
261
  compliance: { label: "Compliance", icon: /* @__PURE__ */ e(it, { size: 12 }), color: "var(--rail-compliance)" },
259
262
  customer_friction: { label: "Customer Friction", icon: /* @__PURE__ */ e(Me, { size: 12 }), color: "var(--rail-coral)" },
260
- experience: { label: "Experience", icon: /* @__PURE__ */ e(rt, { size: 12 }), color: "var(--rail-teal)" }
263
+ experience: { label: "Experience", icon: /* @__PURE__ */ e(ot, { size: 12 }), color: "var(--rail-teal)" }
261
264
  }, mt = {
262
265
  risk: { icon: /* @__PURE__ */ e(Me, { size: 10 }), color: "var(--rail-signal-churn)" },
263
266
  opportunity: { icon: /* @__PURE__ */ e(Ae, { size: 10 }), color: "var(--state-unknown)" },
264
- excellence: { icon: /* @__PURE__ */ e(Ve, { size: 10 }), color: "var(--rail-teal)" }
267
+ excellence: { icon: /* @__PURE__ */ e(qe, { size: 10 }), color: "var(--rail-teal)" }
265
268
  };
266
269
  function bt({
267
270
  signals: n,
@@ -274,7 +277,8 @@ function bt({
274
277
  borderRadius: y
275
278
  }) {
276
279
  var I;
277
- if (!((I = n == null ? void 0 : n.signals) != null && I.length)) return null;
280
+ if (!((I = n == null ? void 0 : n.signals) != null && I.length))
281
+ return null;
278
282
  const C = oe(() => {
279
283
  const k = {};
280
284
  for (const g of n.signals) {
@@ -455,7 +459,7 @@ function bt({
455
459
  const Ne = {
456
460
  risk: { icon: /* @__PURE__ */ e(Me, { size: 10 }), color: "var(--rail-signal-churn)" },
457
461
  opportunity: { icon: /* @__PURE__ */ e(Ae, { size: 10 }), color: "var(--state-unknown)" },
458
- excellence: { icon: /* @__PURE__ */ e(Ve, { size: 10 }), color: "var(--rail-teal)" }
462
+ excellence: { icon: /* @__PURE__ */ e(qe, { size: 10 }), color: "var(--rail-teal)" }
459
463
  };
460
464
  function vt({
461
465
  guidance: n,
@@ -544,7 +548,7 @@ function vt({
544
548
  function St({ nba: n }) {
545
549
  const a = (n == null ? void 0 : n.recommendations) || (n == null ? void 0 : n.actions) || [];
546
550
  return a.length ? /* @__PURE__ */ e(ae, { title: "Next Best Actions", children: /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 6 }, children: a.slice(0, 8).map((l, s) => /* @__PURE__ */ o("div", { style: { fontSize: 11, color: "var(--text-muted)", display: "flex", alignItems: "center", gap: 4 }, children: [
547
- /* @__PURE__ */ e(qe, { size: 12 }),
551
+ /* @__PURE__ */ e(Ve, { size: 12 }),
548
552
  " ",
549
553
  /* @__PURE__ */ e("strong", { style: { color: "var(--text-base)" }, children: l.action || l.title || "" }),
550
554
  l.rationale && ` — ${l.rationale}`
@@ -596,9 +600,11 @@ function wt({
596
600
  onTurnPlayPause: y
597
601
  }) {
598
602
  var k;
599
- if (!((k = n == null ? void 0 : n.messages) != null && k.length)) return null;
603
+ if (!((k = n == null ? void 0 : n.messages) != null && k.length))
604
+ return null;
600
605
  const C = (g, S) => {
601
- if (g == null) return;
606
+ if (g == null)
607
+ return;
602
608
  const u = (L) => {
603
609
  const D = Math.floor(L / 6e4), _ = Math.floor(L % 6e4 / 1e3);
604
610
  return `${D.toString().padStart(2, "0")}:${_.toString().padStart(2, "0")}`;
@@ -646,11 +652,13 @@ const Le = {
646
652
  cursor: "pointer",
647
653
  fontFamily: "inherit"
648
654
  }, Qe = (n) => {
649
- if (!n) return null;
655
+ if (!n)
656
+ return null;
650
657
  const a = String(n).toLowerCase();
651
658
  return a === "supervisor" ? "var(--rail-compliance)" : a === "admin" || a === "administrator" ? "var(--rail-discovery)" : a === "agent" ? "var(--rail-outcome)" : null;
652
659
  }, Ke = (n) => {
653
- if (!n) return [];
660
+ if (!n)
661
+ return [];
654
662
  const a = [
655
663
  n.messages,
656
664
  n.comments,
@@ -685,11 +693,14 @@ const Le = {
685
693
  );
686
694
  }), s;
687
695
  }, Ct = (n) => {
688
- if (!n) return "";
689
- if (!/^\d{4}-\d{2}-\d{2}T/.test(n)) return n;
696
+ if (!n)
697
+ return "";
698
+ if (!/^\d{4}-\d{2}-\d{2}T/.test(n))
699
+ return n;
690
700
  try {
691
701
  const a = new Date(n);
692
- if (Number.isNaN(a.getTime())) return n;
702
+ if (Number.isNaN(a.getTime()))
703
+ return n;
693
704
  const l = /* @__PURE__ */ new Date(), s = a.getFullYear() === l.getFullYear() && a.getMonth() === l.getMonth() && a.getDate() === l.getDate(), i = new Date(l);
694
705
  i.setDate(i.getDate() - 1);
695
706
  const m = a.getFullYear() === i.getFullYear() && a.getMonth() === i.getMonth() && a.getDate() === i.getDate(), b = a.toLocaleTimeString(void 0, {
@@ -754,7 +765,8 @@ function zt({
754
765
  ge(() => {
755
766
  i || s && _(s);
756
767
  }, [s, i]), ge(() => {
757
- if (!i) return;
768
+ if (!i)
769
+ return;
758
770
  const t = Array.isArray(i.threads) ? i.threads : Array.isArray(i.items) ? i.items : [];
759
771
  if (t.length > 0) {
760
772
  const v = t.map((c, p) => {
@@ -785,7 +797,8 @@ function zt({
785
797
  )
786
798
  );
787
799
  }, [l]), ge(() => {
788
- if (!ee.current || !D || D.length === 0) return;
800
+ if (!ee.current || !D || D.length === 0)
801
+ return;
789
802
  const t = ee.current.parentElement;
790
803
  t ? t.scrollTop = t.scrollHeight : ee.current.scrollIntoView({ behavior: "smooth", block: "end" });
791
804
  }, [D]);
@@ -810,7 +823,8 @@ function zt({
810
823
  ne(!1), se("");
811
824
  }, ve = async () => {
812
825
  const t = u.trim();
813
- if (!t) return;
826
+ if (!t)
827
+ return;
814
828
  const f = t;
815
829
  x("");
816
830
  const v = `temp-${Date.now()}`, z = {
@@ -852,7 +866,8 @@ function zt({
852
866
  M(t.id), O(""), Y(null), Z(""), w(null), b == null || b(t);
853
867
  }, ke = async (t) => {
854
868
  const f = $.trim();
855
- if (!f) return;
869
+ if (!f)
870
+ return;
856
871
  const v = `reply-${Date.now()}`, z = {
857
872
  id: v,
858
873
  author: ie,
@@ -899,7 +914,8 @@ function zt({
899
914
  }, Ce = (t) => {
900
915
  te(t), w(null);
901
916
  }, ze = async () => {
902
- if (!le) return;
917
+ if (!le)
918
+ return;
903
919
  const t = le;
904
920
  te(null), _((f) => f.filter((v) => v.id !== t.id)), await (C == null ? void 0 : C(t));
905
921
  }, ue = (t, f = 0) => {
@@ -2656,11 +2672,13 @@ function Tt({
2656
2672
  actorColor: B ? "var(--rail-outcome)" : "var(--rail-discovery)"
2657
2673
  };
2658
2674
  })) || [], ne = oe(() => {
2659
- if (!w && F === 0) return -1;
2675
+ if (!w && F === 0)
2676
+ return -1;
2660
2677
  const r = H.messages || [], c = F * 1e3;
2661
2678
  for (let p = r.length - 1; p >= 0; p--) {
2662
2679
  const h = r[p].start ?? r[p].start_ms;
2663
- if (h != null && c >= h) return p;
2680
+ if (h != null && c >= h)
2681
+ return p;
2664
2682
  }
2665
2683
  return -1;
2666
2684
  }, [F, w, H.messages]), X = (r) => {
@@ -2686,7 +2704,8 @@ function Tt({
2686
2704
  };
2687
2705
  ge(() => {
2688
2706
  const r = x.current;
2689
- if (!r) return;
2707
+ if (!r)
2708
+ return;
2690
2709
  const c = () => j(r.currentTime), p = () => K(!0), h = () => K(!1), B = () => K(!1);
2691
2710
  return r.addEventListener("timeupdate", c), r.addEventListener("play", p), r.addEventListener("pause", h), r.addEventListener("ended", B), () => {
2692
2711
  r.removeEventListener("timeupdate", c), r.removeEventListener("play", p), r.removeEventListener("pause", h), r.removeEventListener("ended", B);
@@ -2694,7 +2713,8 @@ function Tt({
2694
2713
  }, [a]);
2695
2714
  const U = (r, c) => {
2696
2715
  const p = x.current;
2697
- if (!p || r == null) return;
2716
+ if (!p || r == null)
2717
+ return;
2698
2718
  const h = r / 1e3;
2699
2719
  p.currentTime = h, j(h);
2700
2720
  const B = p.play();
@@ -2707,7 +2727,8 @@ function Tt({
2707
2727
  }
2708
2728
  }, ee = (r, c, p) => {
2709
2729
  const h = x.current;
2710
- if (!h || r == null) return;
2730
+ if (!h || r == null)
2731
+ return;
2711
2732
  const B = r / 1e3, d = c != null ? c / 1e3 : B + 1, W = h.currentTime;
2712
2733
  if (w && W >= B && (d == null || W <= d + 0.25)) {
2713
2734
  h.pause();
@@ -2716,7 +2737,8 @@ function Tt({
2716
2737
  U(r, c), p != null && p.length && re(p);
2717
2738
  }, _e = (r, c) => {
2718
2739
  const h = (H.messages || [])[c], B = x.current;
2719
- if (!h || !B) return;
2740
+ if (!h || !B)
2741
+ return;
2720
2742
  const d = h.start ?? h.start_ms, W = h.end ?? h.end_ms;
2721
2743
  if (w && ne === c) {
2722
2744
  B.pause();
@@ -2734,7 +2756,8 @@ function Tt({
2734
2756
  });
2735
2757
  }, ye = ((z = A.call_purpose) == null ? void 0 : z.interaction_driver) || M.one_liner || "Interaction Detail", [xe, me] = T("signals"), ce = fe(null), [Re, De] = T(null);
2736
2758
  Ue(() => {
2737
- if (i || !ce.current) return;
2759
+ if (i || !ce.current)
2760
+ return;
2738
2761
  const r = () => {
2739
2762
  var h;
2740
2763
  const p = ((h = ce.current) == null ? void 0 : h.offsetHeight) || 0;
@@ -2939,10 +2962,10 @@ class It extends Ge.Component {
2939
2962
  return this.state.hasError ? this.props.fallback : this.props.children;
2940
2963
  }
2941
2964
  }
2942
- function Nt(n) {
2965
+ function Kt(n) {
2943
2966
  return /* @__PURE__ */ e(It, { fallback: /* @__PURE__ */ e("div", { style: { padding: 16, color: "var(--state-unknown)", fontSize: 12 }, children: "Error rendering detail." }), children: /* @__PURE__ */ e(Tt, { ...n }) });
2944
2967
  }
2945
- function Kt({ pattern: n }) {
2968
+ function Yt({ pattern: n }) {
2946
2969
  const [a, l] = T(!1), s = {
2947
2970
  name: "Customer Escalation Likelihood",
2948
2971
  description: "Based on observed patterns, this session shows indicators consistent with potential escalation.",
@@ -3443,23 +3466,23 @@ function Kt({ pattern: n }) {
3443
3466
  export {
3444
3467
  Xe as AgentLiftCard,
3445
3468
  ht as CoachingSynthesisCard,
3446
- qt as ConditionCard,
3469
+ Vt as ConditionCard,
3447
3470
  Ye as EvidenceItem,
3448
- Kt as ExpandPatternComparison,
3471
+ Yt as ExpandPatternComparison,
3449
3472
  xt as InteractionContext,
3450
- Nt as InteractionDetailPanel,
3473
+ Kt as InteractionDetailPanel,
3451
3474
  vt as InteractionGuidance,
3452
3475
  St as InteractionNBA,
3453
3476
  kt as InteractionRecording,
3454
- jt as InteractionScores,
3477
+ Nt as InteractionScores,
3455
3478
  bt as InteractionSignals,
3456
3479
  wt as InteractionTranscript,
3457
- Vt as ModelScoreCard,
3458
- Jt as ObservationCard,
3459
- Qt as ScoreDriverCard,
3460
- Zt as ScoreDriverCardVariant,
3461
- Xt as SignalCard,
3462
- Ut as SmallObservationCard,
3463
- en as SummarySection
3480
+ Jt as ModelScoreCard,
3481
+ Qt as ObservationCard,
3482
+ Zt as ScoreDriverCard,
3483
+ Xt as ScoreDriverCardVariant,
3484
+ Ut as SignalCard,
3485
+ en as SmallObservationCard,
3486
+ tn as SummarySection
3464
3487
  };
3465
3488
  //# sourceMappingURL=interactionDetails.es.js.map