@opencxh/domain 1.173.0 → 1.174.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const In = 10, wn = 10, Mn = 10, kn = 5, Ie = /* @__PURE__ */ new Set([
1
+ const wn = 10, Mn = 10, kn = 10, Cn = 5, Ie = /* @__PURE__ */ new Set([
2
2
  "header",
3
3
  "section",
4
4
  "context",
@@ -14,7 +14,7 @@ function T(e) {
14
14
  const t = e;
15
15
  return typeof t.key == "string" || typeof t.value == "string";
16
16
  }
17
- function Cn(e, t = () => {
17
+ function Nn(e, t = () => {
18
18
  }) {
19
19
  if (!Array.isArray(e)) return [];
20
20
  const n = [];
@@ -26,7 +26,7 @@ function Cn(e, t = () => {
26
26
  if (!r || typeof r != "object") continue;
27
27
  const i = r;
28
28
  if (!Ie.has(i.type)) {
29
- t("unknown block type " + String(i.type));
29
+ t(`unknown block type ${String(i.type)}`);
30
30
  continue;
31
31
  }
32
32
  switch (i.type) {
@@ -59,7 +59,7 @@ function Cn(e, t = () => {
59
59
  i.items.length > 10 && (t("more than 10 list items"), i.items = i.items.slice(0, 10));
60
60
  break;
61
61
  case "actions": {
62
- const a = Array.isArray(i.elements) ? i.elements : [], o = a.filter((s) => s && s.action_id && s.invoke && T(s.text));
62
+ const a = Array.isArray(i.elements) ? i.elements : [], o = a.filter((s) => s?.action_id && s.invoke && T(s.text));
63
63
  if (o.length !== a.length && t("an action without action_id, invoke or text"), o.length === 0) continue;
64
64
  o.length > 5 && t("more than 5 actions"), i.elements = o.slice(0, 5);
65
65
  break;
@@ -426,40 +426,40 @@ const m = {
426
426
  }
427
427
  };
428
428
  function R(e) {
429
- const t = e.payload, n = t.bodySnippet?.trim() || we(t.body ?? "");
429
+ const t = e.payload, n = t.bodyText?.trim() || t.bodySnippet?.trim() || we(t.body ?? "");
430
430
  return t.subject ? `${t.subject} — ${n}` : n;
431
431
  }
432
432
  function d(e) {
433
433
  return m[e];
434
434
  }
435
- function Nn(e) {
435
+ function vn(e) {
436
436
  return d(e)?.icon ?? "circle";
437
437
  }
438
- function vn(e) {
438
+ function On(e) {
439
439
  return d(e)?.channelKind;
440
440
  }
441
441
  function ae(e) {
442
442
  return e === "message" || e === "note";
443
443
  }
444
- function On(e) {
444
+ function xn(e) {
445
445
  return ae(d(e)?.shape);
446
446
  }
447
- function xn(e) {
447
+ function $n(e) {
448
448
  return d(e)?.replyable === !0;
449
449
  }
450
- function $n(e) {
450
+ function Rn(e) {
451
451
  return d(e)?.carriesText === !0;
452
452
  }
453
- function Rn(e) {
453
+ function Ln(e) {
454
454
  return d(e)?.countsAs;
455
455
  }
456
- function Ln(e) {
456
+ function Dn(e) {
457
457
  return d(e)?.playbookAuthored === !0;
458
458
  }
459
- function Dn(e) {
459
+ function Pn(e) {
460
460
  return d(e)?.connected === !0;
461
461
  }
462
- function Pn(e) {
462
+ function Kn(e) {
463
463
  const t = d(e);
464
464
  return t?.shape === "artifact" && t?.carriesText === !0;
465
465
  }
@@ -467,11 +467,11 @@ function Me(e) {
467
467
  const t = d(e.type)?.snippet;
468
468
  return t ? t(e) : "";
469
469
  }
470
- function Kn(e, t) {
470
+ function Un(e, t) {
471
471
  const n = d(e.type)?.timeline;
472
472
  return n ? n(e, t) : e.type.replace(/_/g, " ").toLowerCase();
473
473
  }
474
- function Un(e) {
474
+ function jn(e) {
475
475
  const t = d(e.type)?.joinUrl;
476
476
  return t ? t(e) : void 0;
477
477
  }
@@ -504,9 +504,9 @@ function ke(e, t) {
504
504
  const L = 140;
505
505
  function Ce(e) {
506
506
  const t = e.trim();
507
- return t.length <= L ? t : t.slice(0, L - 1).trimEnd() + "…";
507
+ return t.length <= L ? t : `${t.slice(0, L - 1).trimEnd()}…`;
508
508
  }
509
- function jn(e, t) {
509
+ function Gn(e, t) {
510
510
  const n = ke(t?.text, e), r = t ? N(t.text, e, (i) => i) : null;
511
511
  return {
512
512
  activityId: e.id,
@@ -636,20 +636,20 @@ class ve {
636
636
  return this.translate;
637
637
  }
638
638
  }
639
- const Gn = new ve();
640
- function Bn(e, t, n = []) {
639
+ const Bn = new ve();
640
+ function Fn(e, t, n = []) {
641
641
  const r = e.createdAt;
642
642
  if (!r) return [];
643
643
  const i = new Set(n);
644
644
  return e.author.type === "user" && e.author.id && i.add(e.author.id), Object.entries(t).filter(([a, o]) => o >= r && !i.has(a)).map(([a]) => a);
645
645
  }
646
- function Fn(e) {
646
+ function Hn(e) {
647
647
  return e.createdAt ?? 0;
648
648
  }
649
649
  function Vn(e) {
650
650
  return e.type === "EMAIL_RECEIVED" || e.type === "EMAIL_SENT";
651
651
  }
652
- function Hn(e) {
652
+ function Wn(e) {
653
653
  return e.type === "CHAT_MESSAGE_SENT" || e.type === "CHAT_MESSAGE_RECEIVED";
654
654
  }
655
655
  const oe = [
@@ -745,23 +745,23 @@ const oe = [
745
745
  function S(e) {
746
746
  return oe.find((t) => t.id === e);
747
747
  }
748
- function Wn(e) {
748
+ function zn(e) {
749
749
  return S(e)?.label ?? e;
750
750
  }
751
- function zn(e, t = "gpt-5-mini") {
751
+ function Xn(e, t = "gpt-5-mini") {
752
752
  return S(e)?.defaultModel ?? t;
753
753
  }
754
- function Xn(e) {
754
+ function Yn(e) {
755
755
  return oe.filter((t) => t.capabilities.includes(e));
756
756
  }
757
- function Yn(e) {
757
+ function qn(e) {
758
758
  const t = S(e);
759
759
  return !!t && !t.baseUrl;
760
760
  }
761
- function qn(e, t) {
761
+ function Jn(e, t) {
762
762
  return t === "text" ? !0 : S(e)?.attachmentKinds?.includes(t) === !0;
763
763
  }
764
- function Jn(e, t) {
764
+ function Zn(e, t) {
765
765
  if (!e.enabled) return "ok";
766
766
  const n = K(e.hardLimitNanos), r = K(e.softLimitNanos);
767
767
  return n !== void 0 && t >= n ? "hard" : r !== void 0 && t >= r ? "soft" : "ok";
@@ -773,21 +773,21 @@ function Oe(e, t = "month") {
773
773
  const n = new Date(e);
774
774
  return Date.UTC(n.getUTCFullYear(), n.getUTCMonth(), 1);
775
775
  }
776
- function Zn(e, t = "month") {
776
+ function Qn(e, t = "month") {
777
777
  const n = new Date(Oe(e, t));
778
778
  return `${n.getUTCFullYear()}-${String(n.getUTCMonth() + 1).padStart(2, "0")}`;
779
779
  }
780
- function Qn(e) {
780
+ function er(e) {
781
781
  return e?.listeningEnabled !== !1;
782
782
  }
783
- function er(e) {
783
+ function tr(e) {
784
784
  const t = [];
785
785
  for (const n of Object.keys(e))
786
786
  for (const r of Object.keys(e[n]))
787
787
  t.push({ lang: n, key: r, value: e[n][r] });
788
788
  return t;
789
789
  }
790
- const tr = [
790
+ const nr = [
791
791
  { id: "agent", label: "Agent", labelSource: "user" },
792
792
  { id: "team", label: "Team", labelSource: "team" },
793
793
  { id: "inbox", label: "Inbox", labelSource: "inbox" },
@@ -809,7 +809,7 @@ function $e(e, t) {
809
809
  return n.setUTCMinutes(0, 0, 0), t === "day" && n.setUTCHours(0), n.getTime();
810
810
  }
811
811
  const Re = 36e5, Le = 864e5;
812
- function nr(e, t, n) {
812
+ function rr(e, t, n) {
813
813
  const r = n === "hour" ? Re : Le, i = [];
814
814
  for (let a = $e(e, n); a <= t; a += r)
815
815
  i.push(xe(a, n));
@@ -822,7 +822,7 @@ const De = [
822
822
  function Ke(e, t) {
823
823
  return `${e}.usage.${t}`;
824
824
  }
825
- function rr(e, t) {
825
+ function ir(e, t) {
826
826
  return t.map((n) => ({
827
827
  id: Ke(e, n.unit),
828
828
  label: n.label,
@@ -837,7 +837,7 @@ function rr(e, t) {
837
837
  ]
838
838
  }));
839
839
  }
840
- const se = /* @__PURE__ */ new Set(["info", "success", "warning", "destructive"]), U = 200, j = 100, G = 200, B = 12, F = 4, ce = 4e3, M = 500, ir = 256 * 1024, Ue = /* @__PURE__ */ new Set([
840
+ const se = /* @__PURE__ */ new Set(["info", "success", "warning", "destructive"]), U = 200, j = 100, G = 200, B = 12, F = 4, ce = 4e3, M = 500, ar = 256 * 1024, Ue = /* @__PURE__ */ new Set([
841
841
  "heading",
842
842
  "paragraph",
843
843
  "list",
@@ -863,12 +863,12 @@ function Fe(e) {
863
863
  t += e[n], n += 1;
864
864
  continue;
865
865
  }
866
- const i = n + (r ? 2 : 1), a = V(e, i, "[", "]");
866
+ const i = n + (r ? 2 : 1), a = H(e, i, "[", "]");
867
867
  if (a < 0 || e[a + 1] !== "(") {
868
868
  t += e[n], n += 1;
869
869
  continue;
870
870
  }
871
- const o = V(e, a + 2, "(", ")");
871
+ const o = H(e, a + 2, "(", ")");
872
872
  if (o < 0) {
873
873
  t += e[n], n += 1;
874
874
  continue;
@@ -878,7 +878,7 @@ function Fe(e) {
878
878
  }
879
879
  return t;
880
880
  }
881
- function V(e, t, n, r) {
881
+ function H(e, t, n, r) {
882
882
  let i = 1;
883
883
  for (let a = t; a < e.length; a += 1) {
884
884
  if (e[a] === "\\") {
@@ -891,34 +891,34 @@ function V(e, t, n, r) {
891
891
  }
892
892
  return -1;
893
893
  }
894
- function Ve(e) {
894
+ function He(e) {
895
895
  return Fe(e).replace(
896
896
  Be,
897
897
  (t, n, r) => le(r) ? t : ""
898
898
  );
899
899
  }
900
900
  function u(e, t = ce) {
901
- return typeof e == "string" ? Ve(e).slice(0, t) : "";
901
+ return typeof e == "string" ? He(e).slice(0, t) : "";
902
902
  }
903
- function He(e, t = ce) {
903
+ function Ve(e, t = ce) {
904
904
  return typeof e == "string" ? e.slice(0, t) : "";
905
905
  }
906
906
  function We(e, t = "info") {
907
907
  return typeof e == "string" && se.has(e) ? e : t;
908
908
  }
909
- function ar(e, t = () => {
909
+ function or(e, t = () => {
910
910
  }) {
911
911
  if (!Array.isArray(e)) return [];
912
912
  const n = [];
913
913
  for (const r of e) {
914
914
  if (n.length >= U) {
915
- t("more than " + U + " blocks; the rest was dropped");
915
+ t(`more than ${U} blocks; the rest was dropped`);
916
916
  break;
917
917
  }
918
918
  if (!r || typeof r != "object") continue;
919
919
  const i = r;
920
920
  if (!Ue.has(i.type)) {
921
- t("unknown block type " + String(i.type));
921
+ t(`unknown block type ${String(i.type)}`);
922
922
  continue;
923
923
  }
924
924
  const a = typeof i.block_id == "string" ? { block_id: i.block_id } : {};
@@ -952,7 +952,7 @@ function ar(e, t = () => {
952
952
  break;
953
953
  }
954
954
  case "code": {
955
- const o = He(i.text);
955
+ const o = Ve(i.text);
956
956
  if (!o) {
957
957
  t("a code block without text");
958
958
  continue;
@@ -968,7 +968,7 @@ function ar(e, t = () => {
968
968
  const o = Array.isArray(i.items) ? i.items : [], s = [];
969
969
  for (const p of o) {
970
970
  if (s.length >= j) {
971
- t("more than " + j + " list items");
971
+ t(`more than ${j} list items`);
972
972
  break;
973
973
  }
974
974
  const f = u(p?.text);
@@ -988,7 +988,7 @@ function ar(e, t = () => {
988
988
  const o = Array.isArray(i.columns) ? i.columns : [], s = [];
989
989
  for (const l of o) {
990
990
  if (s.length >= B) {
991
- t("more than " + B + " table columns");
991
+ t(`more than ${B} table columns`);
992
992
  break;
993
993
  }
994
994
  const y = u(l?.label, M), _ = l?.align === "right" ? "right" : void 0;
@@ -1001,7 +1001,7 @@ function ar(e, t = () => {
1001
1001
  const c = Array.isArray(i.rows) ? i.rows : [], p = [];
1002
1002
  for (const l of c) {
1003
1003
  if (p.length >= G) {
1004
- t("more than " + G + " table rows");
1004
+ t(`more than ${G} table rows`);
1005
1005
  break;
1006
1006
  }
1007
1007
  const y = Array.isArray(l) ? l : [];
@@ -1021,7 +1021,7 @@ function ar(e, t = () => {
1021
1021
  const o = Array.isArray(i.items) ? i.items : [], s = [];
1022
1022
  for (const c of o) {
1023
1023
  if (s.length >= F) {
1024
- t("more than " + F + " kpi items");
1024
+ t(`more than ${F} kpi items`);
1025
1025
  break;
1026
1026
  }
1027
1027
  const p = u(c?.value, 40), f = u(c?.label, 80);
@@ -1058,25 +1058,25 @@ function ar(e, t = () => {
1058
1058
  }
1059
1059
  return n;
1060
1060
  }
1061
- function or(e) {
1061
+ function sr(e) {
1062
1062
  return JSON.stringify(e).length;
1063
1063
  }
1064
- function sr(e) {
1064
+ function cr(e) {
1065
1065
  return {
1066
1066
  blocks: e.length,
1067
1067
  types: e.map((t) => t.type),
1068
1068
  headings: e.flatMap((t) => t.type === "heading" ? [t.text] : [])
1069
1069
  };
1070
1070
  }
1071
- function H(e) {
1071
+ function V(e) {
1072
1072
  return e.replace(/\|/g, "\\|").replace(/\r?\n/g, " ").trim();
1073
1073
  }
1074
1074
  function W(e, t, n) {
1075
1075
  const r = e.map((i, a) => n?.[a] === "right" ? "---:" : "---");
1076
1076
  return [
1077
- `| ${e.map(H).join(" | ")} |`,
1077
+ `| ${e.map(V).join(" | ")} |`,
1078
1078
  `| ${r.join(" | ")} |`,
1079
- ...t.map((i) => `| ${i.map(H).join(" | ")} |`)
1079
+ ...t.map((i) => `| ${i.map(V).join(" | ")} |`)
1080
1080
  ];
1081
1081
  }
1082
1082
  function ze(e) {
@@ -1113,7 +1113,7 @@ function ze(e) {
1113
1113
  return (e.title ? `**${e.title}** ${e.text}` : e.text).split(/\r?\n/).map((n) => `> ${n}`);
1114
1114
  }
1115
1115
  }
1116
- function cr(e, t) {
1116
+ function lr(e, t) {
1117
1117
  const n = [], r = e.some((i) => i.type === "heading" && i.level === 1);
1118
1118
  t && !r && n.push(`# ${t}`);
1119
1119
  for (const i of e) {
@@ -1127,40 +1127,40 @@ function cr(e, t) {
1127
1127
  `;
1128
1128
  }
1129
1129
  const ue = (e) => `user:${e}`, de = (e) => `team:${e}`;
1130
- function lr(e) {
1130
+ function ur(e) {
1131
1131
  const t = /* @__PURE__ */ new Set();
1132
1132
  for (const n of e ?? [])
1133
1133
  n?.id && (n.kind === "user" && t.add(ue(n.id)), n.kind === "team" && t.add(de(n.id)));
1134
1134
  return [...t].sort();
1135
1135
  }
1136
- function ur(e, t) {
1136
+ function dr(e, t) {
1137
1137
  return [ue(e), ...t.map(de)];
1138
1138
  }
1139
- function dr(e) {
1139
+ function pr(e) {
1140
1140
  const t = /* @__PURE__ */ new Set();
1141
1141
  for (const n of e ?? [])
1142
1142
  n?.kind && t.add(n.kind);
1143
1143
  return [...t];
1144
1144
  }
1145
1145
  const Xe = ["done", "escalated"];
1146
- function pr(e) {
1146
+ function fr(e) {
1147
1147
  return Xe.includes(e);
1148
1148
  }
1149
1149
  const Ye = "assignment";
1150
- function fr(e) {
1150
+ function mr(e) {
1151
1151
  return `${Ye}:${e}`;
1152
1152
  }
1153
- function mr(e, t, n) {
1153
+ function gr(e, t, n) {
1154
1154
  if (e.direction === "inbound") return !0;
1155
1155
  if (e.author?.type === "user" && e.author.id === t) return !1;
1156
1156
  const r = e.payload?.mentions;
1157
1157
  return Array.isArray(r) && r.includes(t) ? !0 : n === "reply";
1158
1158
  }
1159
- function gr(e) {
1159
+ function hr(e) {
1160
1160
  return e.subjectKind && e.subjectId ? { type: e.subjectKind, id: e.subjectId } : void 0;
1161
1161
  }
1162
1162
  const qe = 12;
1163
- function hr(e, t, n = qe) {
1163
+ function yr(e, t, n = qe) {
1164
1164
  const r = t + 1;
1165
1165
  return e ? e.kind === "done" ? { status: "done", waitingOn: null, turns: r, reason: e.note } : e.kind === "escalate" ? { status: "escalated", waitingOn: null, turns: r, reason: e.reason } : r >= n ? {
1166
1166
  status: "escalated",
@@ -1174,35 +1174,35 @@ function hr(e, t, n = qe) {
1174
1174
  reason: "de agent rondde zijn beurt af zonder te zeggen wat er moet gebeuren (wachten, afronden of overdragen)"
1175
1175
  };
1176
1176
  }
1177
- const yr = /* @__PURE__ */ new Set(["mail", "message"]);
1177
+ const Ar = /* @__PURE__ */ new Set(["mail", "message"]);
1178
1178
  function Je(e, t) {
1179
1179
  const n = e.settings?.signatures?.[t];
1180
- return !n || !n.enabled || !n.body || n.body.trim() === "" ? null : n;
1180
+ return !n?.enabled || !n.body || n.body.trim() === "" ? null : n;
1181
1181
  }
1182
- function Ar(e, t, n, r = "html") {
1182
+ function br(e, t, n, r = "html") {
1183
1183
  if (!e) return n;
1184
1184
  const i = Je(e, t);
1185
1185
  return i ? `${n}${r === "text" ? `
1186
1186
 
1187
1187
  ` : t === "mail" ? "<br><br>-- <br>" : "<br><br>"}${i.body}` : n;
1188
1188
  }
1189
- function br(e) {
1189
+ function Er(e) {
1190
1190
  return e.endpoints ?? [];
1191
1191
  }
1192
- const Er = (e) => !!e.assignedUserId || !!e.assignedInboxId, Sr = (e) => e.status === "closed", _r = (e) => ({
1192
+ const Sr = (e) => !!e.assignedUserId || !!e.assignedInboxId, _r = (e) => e.status === "closed", Tr = (e) => ({
1193
1193
  urgent: 10,
1194
1194
  high: 5,
1195
1195
  normal: 2,
1196
1196
  low: 1
1197
- })[e.priority] || 0, Tr = (e, t = 30) => e.title?.length <= t ? e.title : `${e.title.substring(0, t)}...`;
1198
- function Ir(e, t) {
1197
+ })[e.priority] || 0, Ir = (e, t = 30) => e.title?.length <= t ? e.title : `${e.title.substring(0, t)}...`;
1198
+ function wr(e, t) {
1199
1199
  return e.lastActivityAt ? !(e.seenBy ?? []).includes(t) : !1;
1200
1200
  }
1201
- function wr(e, t) {
1201
+ function Mr(e, t) {
1202
1202
  const n = e.labels ?? [];
1203
1203
  return n.find((r) => r.locale === t)?.label ?? n[0]?.label ?? e.url;
1204
1204
  }
1205
- function Mr(e, t, n) {
1205
+ function kr(e, t, n) {
1206
1206
  const r = e.translations ?? [];
1207
1207
  return r.find((i) => i.locale === t) ?? (n ? r.find((i) => i.locale === n) : void 0) ?? { locale: t };
1208
1208
  }
@@ -1225,10 +1225,10 @@ function pe(e) {
1225
1225
  const t = (e ?? "").toLowerCase();
1226
1226
  return z.find((n) => n.code === t) ?? z.find((n) => n.code === t.split("-")[0]);
1227
1227
  }
1228
- function kr(e) {
1228
+ function Cr(e) {
1229
1229
  return pe(e)?.label ?? e;
1230
1230
  }
1231
- function Cr(e) {
1231
+ function Nr(e) {
1232
1232
  const t = pe(e);
1233
1233
  return t ? t.english === t.label ? `${t.english} (${t.code})` : `${t.english} — ${t.label} (${t.code})` : e;
1234
1234
  }
@@ -1242,7 +1242,7 @@ function Ze(e, t) {
1242
1242
  }
1243
1243
  return r;
1244
1244
  }
1245
- function Nr(e, t, n) {
1245
+ function vr(e, t, n) {
1246
1246
  if (!e) return !0;
1247
1247
  if (e === t) return !1;
1248
1248
  const r = new Map(n.map((o) => [o.id, o]));
@@ -1270,13 +1270,13 @@ const et = "en";
1270
1270
  function tt(e) {
1271
1271
  return e.defaultLocale || e.locale || et;
1272
1272
  }
1273
- function vr(e) {
1273
+ function Or(e) {
1274
1274
  const t = /* @__PURE__ */ new Set(), n = [];
1275
1275
  for (const r of [tt(e), ...e.locales ?? []])
1276
1276
  !r || t.has(r) || (t.add(r), n.push(r));
1277
1277
  return n;
1278
1278
  }
1279
- function Or(e, t, n) {
1279
+ function xr(e, t, n) {
1280
1280
  const r = e.translations ?? [];
1281
1281
  return r.find((i) => i.locale === t)?.name ?? (n ? r.find((i) => i.locale === n)?.name : void 0) ?? e.name;
1282
1282
  }
@@ -1307,17 +1307,17 @@ function nt(e, t) {
1307
1307
  return e.userId === t.userId;
1308
1308
  }
1309
1309
  }
1310
- function xr(e, t) {
1310
+ function $r(e, t) {
1311
1311
  return e.filter((n) => n.enabled && nt(n.ownerScope, t));
1312
1312
  }
1313
- function $r(e) {
1313
+ function Rr(e) {
1314
1314
  return e.credentialScope ? e.credentialScope : (e.authMode ?? "header") === "header" || e.oauth?.scope === "org" ? "shared" : "per-user";
1315
1315
  }
1316
- function Rr(e) {
1316
+ function Lr(e) {
1317
1317
  return `mcp__${e}__`;
1318
1318
  }
1319
- const Lr = 1e3, Dr = 2e3, Pr = 500, Kr = 12e3, Ur = 4e3, rt = ["contact", "company"];
1320
- function jr(e) {
1319
+ const Dr = 1e3, Pr = 2e3, Kr = 500, Ur = 12e3, jr = 4e3, rt = ["contact", "company"];
1320
+ function Gr(e) {
1321
1321
  if (!e) return !1;
1322
1322
  const t = e.slice(0, e.indexOf(":"));
1323
1323
  return rt.includes(t);
@@ -1332,7 +1332,7 @@ function it(e) {
1332
1332
  return "org";
1333
1333
  }
1334
1334
  }
1335
- function Gr(e) {
1335
+ function Br(e) {
1336
1336
  if (typeof e != "string") return;
1337
1337
  const t = e.trim();
1338
1338
  if (t === "org") return { kind: "org" };
@@ -1358,10 +1358,10 @@ function ot(e) {
1358
1358
  }
1359
1359
  }
1360
1360
  const st = ot;
1361
- function Br(e) {
1361
+ function Fr(e) {
1362
1362
  return e.agentId ? { kind: "user", userId: e.agentId } : st(e.ownerScope);
1363
1363
  }
1364
- function Fr(e) {
1364
+ function Hr(e) {
1365
1365
  return at(e);
1366
1366
  }
1367
1367
  function Vr(e, t) {
@@ -1373,24 +1373,24 @@ function Vr(e, t) {
1373
1373
  }
1374
1374
  return n;
1375
1375
  }
1376
- function Hr(e, t) {
1376
+ function Wr(e, t) {
1377
1377
  return e.targets.find((n) => n.activityTypes.includes(t));
1378
1378
  }
1379
- function Wr(e, t) {
1379
+ function zr(e, t) {
1380
1380
  if (t)
1381
1381
  return e.targets.find((n) => n.id === t);
1382
1382
  }
1383
1383
  function ct(e) {
1384
1384
  return e?.kind === "assignment";
1385
1385
  }
1386
- function zr(e) {
1386
+ function Xr(e) {
1387
1387
  const { trigger: t, agentId: n, target: r, activityType: i, assigneeUserId: a, authorUserId: o } = e;
1388
1388
  return ct(t) ? n ? r ? r.activityTypes.includes(i) ? a ? a !== n ? "assigned to someone else" : o && o === n ? "the agent assigned this to itself, which would restart its own run" : null : `no assignee found at ${r.assigneePath}` : `activity type ${i} does not announce an assignment for ${r.id}` : `assignment target kind "${t.targetKind}" is not declared by any installed app` : "this playbook has no agent, so an assignment can never be for it" : "trigger is not an assignment trigger";
1389
1389
  }
1390
- function Xr(e) {
1390
+ function Yr(e) {
1391
1391
  return (e.startsWith("tool:") ? e.slice(5) : e).replace(/__/g, " · ").replace(/\./g, " · ").replace(/_/g, " ");
1392
1392
  }
1393
- const Yr = [
1393
+ const qr = [
1394
1394
  { name: "text", type: "string" },
1395
1395
  { name: "subject", type: "string" },
1396
1396
  { name: "from", type: "string" },
@@ -1420,7 +1420,7 @@ const Yr = [
1420
1420
  // `buildTriggerVars` cannot fill it itself: the job does that with the catalog in hand, before
1421
1421
  // the trigger filter runs — like contactId/companyId above.
1422
1422
  { name: "assigneeUserId", type: "string" }
1423
- ], qr = {
1423
+ ], Jr = {
1424
1424
  topics: [
1425
1425
  { name: "topicId", type: "string" },
1426
1426
  { name: "topic", type: "string" },
@@ -1442,60 +1442,60 @@ function dt(e) {
1442
1442
  return e?.type === ut ? e.id : void 0;
1443
1443
  }
1444
1444
  const pt = 64, ft = 8e3;
1445
- function Jr(e) {
1445
+ function Zr(e) {
1446
1446
  const t = typeof e == "number" ? e : Number(String(e ?? "").trim());
1447
1447
  if (!(!Number.isFinite(t) || t <= 0))
1448
1448
  return Math.min(Math.max(Math.round(t), pt), ft);
1449
1449
  }
1450
- const Zr = { kind: "workflow", steps: [] };
1451
- function Qr(e) {
1450
+ const Qr = { kind: "workflow", steps: [] };
1451
+ function ei(e) {
1452
1452
  return e?.kind === "workflow" ? e.steps : [];
1453
1453
  }
1454
- function ei(e) {
1454
+ function ti(e) {
1455
1455
  return e?.kind === "procedure" ? e.procedure : void 0;
1456
1456
  }
1457
1457
  const mt = ["done", "escalated", "failed", "stopped"];
1458
- function ti(e) {
1458
+ function ni(e) {
1459
1459
  return mt.includes(e);
1460
1460
  }
1461
1461
  function gt(e) {
1462
1462
  return e === "waiting";
1463
1463
  }
1464
- function ni(e) {
1464
+ function ri(e) {
1465
1465
  return e === "running" || gt(e);
1466
1466
  }
1467
1467
  function ge(e) {
1468
1468
  return e.subjectKind && e.subjectId ? { type: e.subjectKind, id: e.subjectId } : void 0;
1469
1469
  }
1470
- function ri(e) {
1470
+ function ii(e) {
1471
1471
  const t = ge(e);
1472
1472
  return t ? lt(t) : void 0;
1473
1473
  }
1474
- function ii(e) {
1474
+ function ai(e) {
1475
1475
  return dt(ge(e));
1476
1476
  }
1477
- function ai(e, t) {
1477
+ function oi(e, t) {
1478
1478
  const n = e.accumulatedSeconds || 0;
1479
1479
  return e.runningSince ? n + Math.max(0, Math.floor((t - e.runningSince) / 1e3)) : n;
1480
1480
  }
1481
- function oi(e, t) {
1481
+ function si(e, t) {
1482
1482
  const n = Math.max(1, Math.ceil(Math.max(0, e) / 60));
1483
1483
  if (!t || t === "exact") return n * 60;
1484
1484
  const r = Number(t);
1485
1485
  return !Number.isFinite(r) || r <= 0 ? n * 60 : Math.ceil(n / r) * r * 60;
1486
1486
  }
1487
- function si(e) {
1487
+ function ci(e) {
1488
1488
  const t = Math.max(0, Math.round(e / 60));
1489
1489
  return `${Math.floor(t / 60)}:${String(t % 60).padStart(2, "0")}`;
1490
1490
  }
1491
- function ci(e) {
1491
+ function li(e) {
1492
1492
  const t = Math.max(0, Math.floor(e)), n = (a) => String(a).padStart(2, "0"), r = Math.floor(t / 60) % 60, i = Math.floor(t / 3600);
1493
1493
  return i > 0 ? `${i}:${n(r)}:${n(t % 60)}` : `${n(r)}:${n(t % 60)}`;
1494
1494
  }
1495
1495
  function ht(e) {
1496
1496
  return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
1497
1497
  }
1498
- function li(e, t) {
1498
+ function ui(e, t) {
1499
1499
  const n = ht(e) || "werksoort", r = new Set(t);
1500
1500
  if (!r.has(n)) return n;
1501
1501
  for (let i = 2; i < 500; i++) {
@@ -1504,11 +1504,11 @@ function li(e, t) {
1504
1504
  }
1505
1505
  return `${n}-${r.size + 1}`;
1506
1506
  }
1507
- function ui(e, t) {
1507
+ function di(e, t) {
1508
1508
  const n = e.ownerScope;
1509
1509
  return !n || n.kind === "org" ? !0 : t.includes(n.teamId);
1510
1510
  }
1511
- function di(e) {
1511
+ function pi(e) {
1512
1512
  return e.filter((t) => !t.archived).sort(yt);
1513
1513
  }
1514
1514
  function yt(e, t) {
@@ -1525,7 +1525,7 @@ function Et(e) {
1525
1525
  const n = t.slice(0, k), r = Math.max(n.lastIndexOf(". "), n.lastIndexOf("! "), n.lastIndexOf("? "));
1526
1526
  return r > k * 0.6 ? n.slice(0, r + 1) : `${n.trimEnd()}…`;
1527
1527
  }
1528
- function pi(e, t) {
1528
+ function fi(e, t) {
1529
1529
  const n = Et(t.text), r = g(n);
1530
1530
  if (!r || (e.examples ?? []).some((o) => g(o) === r)) return null;
1531
1531
  const i = e.exampleCandidates ?? [], a = i.findIndex((o) => g(o.text) === r);
@@ -1541,7 +1541,7 @@ function q(e) {
1541
1541
  (t, n) => Number(n.corrected) - Number(t.corrected) || n.addedAt - t.addedAt
1542
1542
  );
1543
1543
  }
1544
- function fi(e, t) {
1544
+ function mi(e, t) {
1545
1545
  const n = g(t), r = (e.examples ?? []).filter((a) => a.trim());
1546
1546
  return { examples: r.some((a) => g(a) === n) ? r : [...r, t].slice(-At), exampleCandidates: St(e, t) };
1547
1547
  }
@@ -1553,24 +1553,24 @@ function _t(e, t) {
1553
1553
  const n = e.ownerScope;
1554
1554
  return n ? n.kind === "org" ? !0 : n.kind === "team" ? !!t && n.teamId === t : !1 : !1;
1555
1555
  }
1556
- function mi(e, t) {
1556
+ function gi(e, t) {
1557
1557
  return e.filter((n) => _t(n, t));
1558
1558
  }
1559
- function gi(e) {
1559
+ function hi(e) {
1560
1560
  return e.type === "agent";
1561
1561
  }
1562
- const hi = "WORK_COMMENT_ADDED", yi = "WORK_ITEM_ASSIGNED", Tt = "work_item", It = "work_project";
1562
+ const yi = "WORK_COMMENT_ADDED", Ai = "WORK_ITEM_ASSIGNED", Tt = "work_item", It = "work_project";
1563
1563
  function wt(e) {
1564
1564
  return `${Tt}:${e}`;
1565
1565
  }
1566
1566
  function he(e) {
1567
1567
  return `${It}:${e}`;
1568
1568
  }
1569
- function Ai(e, t, n) {
1569
+ function bi(e, t, n) {
1570
1570
  const r = `${e}-${t}`;
1571
1571
  return n ? `${r}-${n}` : r;
1572
1572
  }
1573
- function bi(e) {
1573
+ function Ei(e) {
1574
1574
  const t = /^([A-Za-z0-9]{2,8})-(\d+)(?:-(\d+))?$/.exec((e || "").trim());
1575
1575
  return t ? {
1576
1576
  projectKey: t[1].toUpperCase(),
@@ -1578,17 +1578,17 @@ function bi(e) {
1578
1578
  ...t[3] ? { subSequence: Number(t[3]) } : {}
1579
1579
  } : null;
1580
1580
  }
1581
- function Ei(e) {
1581
+ function Si(e) {
1582
1582
  return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase().replace(/[^A-Z0-9]/g, "").slice(0, 3) || "PRJ";
1583
1583
  }
1584
- function Si(e, t = 25) {
1584
+ function _i(e, t = 25) {
1585
1585
  const n = /* @__PURE__ */ new Set([wt(e.id)]);
1586
1586
  e.projectId && n.add(he(e.projectId));
1587
1587
  for (const r of e.ancestorKeys ?? []) n.add(r);
1588
1588
  for (const r of e.partyKeys ?? []) n.add(r);
1589
1589
  return Array.from(n).slice(0, t);
1590
1590
  }
1591
- function _i(e) {
1591
+ function Ti(e) {
1592
1592
  return [he(e.id)];
1593
1593
  }
1594
1594
  const v = [
@@ -1602,10 +1602,10 @@ function Mt(e) {
1602
1602
  function kt(e, t) {
1603
1603
  return t.find((n) => n.key === e)?.category ?? "todo";
1604
1604
  }
1605
- function Ti(e, t) {
1605
+ function Ii(e, t) {
1606
1606
  return t.find((n) => n.key === e);
1607
1607
  }
1608
- function Ii(e) {
1608
+ function wi(e) {
1609
1609
  const t = Mt(e), n = e?.defaultStatusKey;
1610
1610
  return n && t.some((r) => r.key === n) ? n : Ct(t)[0]?.key ?? v[0].key;
1611
1611
  }
@@ -1615,13 +1615,13 @@ function Ct(e) {
1615
1615
  return r !== 0 ? r : (t.label || "").localeCompare(n.label || "");
1616
1616
  });
1617
1617
  }
1618
- function wi(e, t) {
1618
+ function Mi(e, t) {
1619
1619
  return kt(e, t) === "done";
1620
1620
  }
1621
1621
  function Nt(e) {
1622
1622
  return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
1623
1623
  }
1624
- function Mi(e, t) {
1624
+ function ki(e, t) {
1625
1625
  const n = Nt(e) || "status", r = /* @__PURE__ */ new Set([...t, ...ye]);
1626
1626
  if (!r.has(n)) return n;
1627
1627
  for (let i = 2; i < 500; i++) {
@@ -1630,7 +1630,7 @@ function Mi(e, t) {
1630
1630
  }
1631
1631
  return `${n}-${r.size + 1}`;
1632
1632
  }
1633
- function ki(e) {
1633
+ function Ci(e) {
1634
1634
  const t = [];
1635
1635
  if (!e.length) return [{ index: -1, reason: "empty" }];
1636
1636
  const n = /* @__PURE__ */ new Set();
@@ -1660,15 +1660,15 @@ const h = 1024 * 1024, $t = {
1660
1660
  pdf: 20 * h,
1661
1661
  text: 1 * h,
1662
1662
  audio: 20 * h
1663
- }, Ci = 25 * h, Ni = 5;
1664
- function vi(e, t) {
1663
+ }, Ni = 25 * h, vi = 5;
1664
+ function Oi(e, t) {
1665
1665
  const n = xt(e);
1666
1666
  return n === "unsupported" ? "unsupported" : t > $t[n] ? "too-large" : null;
1667
1667
  }
1668
1668
  function Rt(e) {
1669
1669
  return `${e.kind}:${e.id || e.url || e.title}`;
1670
1670
  }
1671
- function Oi(e, t = []) {
1671
+ function xi(e, t = []) {
1672
1672
  const n = new Set(t), r = [], i = [];
1673
1673
  for (const a of e) {
1674
1674
  const o = Rt(a);
@@ -1676,17 +1676,17 @@ function Oi(e, t = []) {
1676
1676
  }
1677
1677
  return { sources: r, keys: i };
1678
1678
  }
1679
- function xi(e) {
1679
+ function $i(e) {
1680
1680
  return e.sessions.filter(
1681
1681
  (t) => t.id !== e.exceptSessionId && t.state === "connected" && e.canHold(t.providerId)
1682
1682
  );
1683
1683
  }
1684
- function $i(e) {
1684
+ function Ri(e) {
1685
1685
  return e.sessions.filter(
1686
1686
  (t) => t.id !== e.exceptSessionId && t.state === "connected" && !e.canHold(t.providerId)
1687
1687
  );
1688
1688
  }
1689
- function Ri(e) {
1689
+ function Li(e) {
1690
1690
  return e.sessions.some(
1691
1691
  (n) => n.id !== e.exceptSessionId && (n.state === "connected" || n.state === "on_hold")
1692
1692
  ) ? { admit: !1, reason: "busy" } : { admit: !0 };
@@ -1708,7 +1708,7 @@ function Dt(e, t) {
1708
1708
  }
1709
1709
  return n;
1710
1710
  }
1711
- function Li(e, t) {
1711
+ function Di(e, t) {
1712
1712
  const n = Dt(e, t);
1713
1713
  return Object.entries(n).filter(([, r]) => !r).map(([r]) => r);
1714
1714
  }
@@ -1719,7 +1719,7 @@ function Pt(e, t) {
1719
1719
  transport: t.transport ?? e.transport
1720
1720
  } : e;
1721
1721
  }
1722
- function Di(e, t) {
1722
+ function Pi(e, t) {
1723
1723
  const n = [];
1724
1724
  for (const r of e) {
1725
1725
  if (!r.enabled) continue;
@@ -1730,16 +1730,16 @@ function Di(e, t) {
1730
1730
  }
1731
1731
  return n;
1732
1732
  }
1733
- function Pi(e, t) {
1733
+ function Ki(e, t) {
1734
1734
  return t.filter((n) => n.capability.intent === e);
1735
1735
  }
1736
1736
  function Kt(e, t) {
1737
1737
  return t.filter((n) => n.capability.targetSchemes.includes(e));
1738
1738
  }
1739
- function Ki(e, t) {
1739
+ function Ui(e, t) {
1740
1740
  return Kt(e.scheme, t);
1741
1741
  }
1742
- function Ui(e, t, n) {
1742
+ function ji(e, t, n) {
1743
1743
  const r = [];
1744
1744
  for (const i of e)
1745
1745
  for (const a of n)
@@ -1768,10 +1768,10 @@ const jt = {
1768
1768
  id: "note",
1769
1769
  custom: "note"
1770
1770
  };
1771
- function ji(e) {
1771
+ function Gi(e) {
1772
1772
  return e ? jt[e] ?? "note" : "note";
1773
1773
  }
1774
- const Gi = "message_window", Bi = "message_templates", Fi = {
1774
+ const Bi = "message_window", Fi = "message_templates", Hi = {
1775
1775
  // E-mail
1776
1776
  FROM: "from",
1777
1777
  TO: "to",
@@ -1788,11 +1788,11 @@ const Gi = "message_window", Bi = "message_templates", Fi = {
1788
1788
  // Voice/conference
1789
1789
  HOST: "host",
1790
1790
  PARTICIPANT: "participant"
1791
- }, Vi = (e, t) => ({ intent: e, ...t }), Hi = "folder_management", Wi = "remote_search", zi = {
1791
+ }, Vi = (e, t) => ({ intent: e, ...t }), Wi = "folder_management", zi = "remote_search", Xi = {
1792
1792
  ok: !1,
1793
1793
  code: "UNSUPPORTED",
1794
1794
  message: "Provider does not support this op"
1795
- }, Xi = "installation-id", Yi = {
1795
+ }, Yi = "installation-id", qi = {
1796
1796
  ai: [
1797
1797
  "account.read",
1798
1798
  "account.write",
@@ -1926,24 +1926,24 @@ const Gi = "message_window", Bi = "message_templates", Fi = {
1926
1926
  user: ["user.read", "user.write"],
1927
1927
  work: ["item.read", "item.write", "project.read", "project.write"]
1928
1928
  }, Ae = 9e4, Gt = ["out_of_office"], be = (e) => Gt.includes(e);
1929
- function qi(e, t, n) {
1929
+ function Ji(e, t, n) {
1930
1930
  const r = n - e < Ae, i = t?.status && (!t.expiresAt || t.expiresAt > n) ? t : void 0;
1931
1931
  if (!i?.status) return { online: r, status: r ? "available" : "offline" };
1932
1932
  const a = i.status;
1933
1933
  return !r && !be(a) ? { online: !1, status: "offline" } : { online: r, status: a, message: i.message };
1934
1934
  }
1935
- function Ji(e, t) {
1935
+ function Zi(e, t) {
1936
1936
  const n = t - e.lastSeenAt < Ae, r = n || be(e.status) ? e.status : "offline";
1937
1937
  return n === e.online && r === e.status ? e : { ...e, online: n, status: r };
1938
1938
  }
1939
- function Zi(e, t) {
1939
+ function Qi(e, t) {
1940
1940
  return e?.teamId && t.includes(e.teamId) ? { teamId: e.teamId, mustChoose: !1 } : t.length === 1 ? { teamId: t[0], mustChoose: !1 } : { teamId: void 0, mustChoose: t.length > 1 };
1941
1941
  }
1942
- function Qi(e) {
1942
+ function ea(e) {
1943
1943
  return e.providerAvailable && e.allowed;
1944
1944
  }
1945
- const ea = "resources.describe", ta = "resources.search", na = "resources.resolve";
1946
- function ra(e) {
1945
+ const ta = "resources.describe", na = "resources.search", ra = "resources.resolve";
1946
+ function ia(e) {
1947
1947
  const t = e.indexOf(":");
1948
1948
  return t === -1 ? e : e.slice(0, t);
1949
1949
  }
@@ -1952,21 +1952,21 @@ function Se(e) {
1952
1952
  const t = typeof e == "string" ? e.match(/apps\/([^/?#]+)/) : null;
1953
1953
  return t ? t[1] : null;
1954
1954
  }
1955
- function ia(e) {
1955
+ function aa(e) {
1956
1956
  const t = Se(e);
1957
1957
  return t ? t !== Ee : typeof e == "string" && e.startsWith("/wake");
1958
1958
  }
1959
- function aa(e) {
1959
+ function oa(e) {
1960
1960
  return typeof e != "string" || e === "" || e === "/" ? !0 : Se(e) === Ee;
1961
1961
  }
1962
1962
  function Bt(e) {
1963
1963
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
1964
1964
  }
1965
1965
  function Ft(e) {
1966
- const n = e.split("/").filter(Boolean).map((r) => r.startsWith(":") ? r.endsWith("?") ? "(?:/[^/]+)?" : "/[^/]+" : "/" + Bt(r)).join("");
1966
+ const n = e.split("/").filter(Boolean).map((r) => r.startsWith(":") ? r.endsWith("?") ? "(?:/[^/]+)?" : "/[^/]+" : `/${Bt(r)}`).join("");
1967
1967
  return new RegExp(`^${n}\\/?$`);
1968
1968
  }
1969
- function Vt(e, t) {
1969
+ function Ht(e, t) {
1970
1970
  const n = e.split("/").filter(Boolean), r = t.split("/").filter(Boolean), i = {};
1971
1971
  return n.forEach((a, o) => {
1972
1972
  if (a.startsWith(":")) {
@@ -1975,14 +1975,14 @@ function Vt(e, t) {
1975
1975
  }
1976
1976
  }), i;
1977
1977
  }
1978
- function Ht(e) {
1978
+ function Vt(e) {
1979
1979
  return e.publicBasePath ?? `/apps/${e.name}`;
1980
1980
  }
1981
- function oa(e) {
1981
+ function sa(e) {
1982
1982
  const t = [];
1983
1983
  for (const n of e) {
1984
1984
  if (!n?.name) continue;
1985
- const r = Ht(n);
1985
+ const r = Vt(n);
1986
1986
  for (const i of n.routes ?? []) {
1987
1987
  if (!i.public) continue;
1988
1988
  const a = i.path === "/" ? "" : i.path;
@@ -2009,12 +2009,12 @@ function zt(e, t) {
2009
2009
  let n = null;
2010
2010
  for (const r of t)
2011
2011
  Ft(r.pattern).test(e) && (!n || Wt(r.pattern, n.pattern)) && (n = r);
2012
- return n ? { ...n, params: { ...n.props, ...Vt(n.pattern, e) } } : null;
2012
+ return n ? { ...n, params: { ...n.props, ...Ht(n.pattern, e) } } : null;
2013
2013
  }
2014
- function sa(e, t) {
2014
+ function ca(e, t) {
2015
2015
  return zt(e, t) !== null;
2016
2016
  }
2017
- const ca = "sync-source", la = "sync-target", ua = 20, Xt = {
2017
+ const la = "sync-source", ua = "sync-target", da = 20, Xt = {
2018
2018
  afrikaans: [
2019
2019
  "[Muziek]",
2020
2020
  "(C) TV GELDERLAND 2021",
@@ -2305,13 +2305,13 @@ function an(e, t = qt) {
2305
2305
  return { text: n.filter((o) => (o.endedAt ?? 0) >= i).map((o) => Yt(o.text).trim()).filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), segmentCount: n.length };
2306
2306
  }
2307
2307
  const on = 60;
2308
- function da(e, t, n = on) {
2308
+ function pa(e, t, n = on) {
2309
2309
  const r = new Set(e), i = [...e];
2310
2310
  for (const a of t)
2311
2311
  !a || r.has(a) || (r.add(a), i.push(a));
2312
2312
  return i.slice(-n);
2313
2313
  }
2314
- function pa(e) {
2314
+ function fa(e) {
2315
2315
  const { segments: t, now: n, state: r } = e;
2316
2316
  if (r.lastTriggerAt && n - r.lastTriggerAt < Jt)
2317
2317
  return { trigger: !1, reason: "too_soon" };
@@ -2377,7 +2377,7 @@ function dn(e) {
2377
2377
  const r = t.indexOf("@");
2378
2378
  return r >= 0 && (t = t.slice(0, r)), t.trim();
2379
2379
  }
2380
- function fa(e) {
2380
+ function ma(e) {
2381
2381
  if (!e) return !1;
2382
2382
  const t = e.indexOf("@");
2383
2383
  if (t <= 0) return !1;
@@ -2405,7 +2405,7 @@ function Q(e, t) {
2405
2405
  }
2406
2406
  return !o && E(i, a) ? `+${a.callingCode}${i}` : null;
2407
2407
  }
2408
- function ma(e, t = 9) {
2408
+ function ga(e, t = 9) {
2409
2409
  const n = (e ?? "").replace(/\D/g, "");
2410
2410
  return n.length < t ? null : n.slice(-t);
2411
2411
  }
@@ -2416,7 +2416,7 @@ function _e(e) {
2416
2416
  const r = t.slice(0, n).split("+")[0], i = t.slice(n + 1);
2417
2417
  return !r || !i.includes(".") ? null : `${r}@${i}`;
2418
2418
  }
2419
- function ga(e) {
2419
+ function ha(e) {
2420
2420
  const t = _e(e);
2421
2421
  return t ? t.slice(t.lastIndexOf("@") + 1) : null;
2422
2422
  }
@@ -2482,16 +2482,16 @@ const mn = /* @__PURE__ */ new Set([
2482
2482
  "proximus.be",
2483
2483
  "scarlet.be"
2484
2484
  ]);
2485
- function ha(e) {
2485
+ function ya(e) {
2486
2486
  const t = fn(e);
2487
2487
  return t ? mn.has(t) : !1;
2488
2488
  }
2489
- function ya(e) {
2489
+ function Aa(e) {
2490
2490
  if (!e) return !1;
2491
2491
  const t = e.trim().toLowerCase();
2492
2492
  return t === "tel" || t === "sms" || t === "whatsapp" || t === "fax";
2493
2493
  }
2494
- function Aa(e, t, n) {
2494
+ function ba(e, t, n) {
2495
2495
  if (!e || !t) return null;
2496
2496
  const r = e.trim().toLowerCase();
2497
2497
  if (r === "tel" || r === "sms" || r === "whatsapp") {
@@ -2510,7 +2510,7 @@ function Aa(e, t, n) {
2510
2510
  return i ? `${r}:${i}` : null;
2511
2511
  }
2512
2512
  const gn = /(\*\*|__)(?=\S)([\s\S]*?\S)\1/g, hn = /(\*|_)(?=\S)([^*_\n]*?\S)\1/g;
2513
- function ba(e) {
2513
+ function Ea(e) {
2514
2514
  if (typeof e != "string" || !e) return "";
2515
2515
  let t = e;
2516
2516
  return t = t.replace(/```[a-z]*\n?/gi, "").replace(/~~~[a-z]*\n?/gi, ""), t = t.replace(/!\[([^\]]*)\]\([^)]*\)/g, "$1"), t = t.replace(/\[([^\]]*)\]\([^)]*\)/g, "$1"), t = t.replace(/\[([^\]]*)\]\[[^\]]*\]/g, "$1"), t = t.replace(/<((?:https?|mailto):[^>\s]+)>/gi, "$1"), t = t.split(`
@@ -2562,7 +2562,11 @@ function ie(e) {
2562
2562
 
2563
2563
  `).trim();
2564
2564
  }
2565
- function Ea(e) {
2565
+ const En = /<\s*(html|body|div|p|table|br|span)\b/i;
2566
+ function Sa(e) {
2567
+ return En.test(e);
2568
+ }
2569
+ function _a(e) {
2566
2570
  if (typeof e != "string" || !e) return "";
2567
2571
  let t = e.length;
2568
2572
  for (const a of yn) {
@@ -2573,24 +2577,24 @@ function Ea(e) {
2573
2577
  let r = ie(re(te(n)));
2574
2578
  return r || (r = ie(re(te(e)))), bn(r) || r;
2575
2579
  }
2576
- const En = /(^|[._+-])(no-?reply|noreply|donotreply|do-not-reply|newsletter|nieuwsbrief|mailer|mailing|notifications?|bounce|postmaster|marketing)@/i, Sn = /\b(unsubscribe|afmelden|uitschrijven|opt[\s-]?out|manage (your )?preferences|geen (e-?mails?|nieuwsbrief|berichten) meer)\b/i;
2577
- function Sa(e, t) {
2578
- return !!(e && En.test(e) || t && Sn.test(t));
2580
+ const Sn = /(^|[._+-])(no-?reply|noreply|donotreply|do-not-reply|newsletter|nieuwsbrief|mailer|mailing|notifications?|bounce|postmaster|marketing)@/i, _n = /\b(unsubscribe|afmelden|uitschrijven|opt[\s-]?out|manage (your )?preferences|geen (e-?mails?|nieuwsbrief|berichten) meer)\b/i;
2581
+ function Ta(e, t) {
2582
+ return !!(e && Sn.test(e) || t && _n.test(t));
2579
2583
  }
2580
- const _n = 3, Tn = 600;
2581
- function _a(e, t) {
2582
- return e >= _n || t >= Tn;
2584
+ const Tn = 3, In = 600;
2585
+ function Ia(e, t) {
2586
+ return e >= Tn || t >= In;
2583
2587
  }
2584
2588
  export {
2585
2589
  m as ACTIVITY_CATALOG,
2586
2590
  $t as AI_ATTACHMENT_LIMITS,
2587
- Ni as AI_ATTACHMENT_MAX_PER_TURN,
2588
- Ci as AI_ATTACHMENT_TURN_BUDGET,
2591
+ vi as AI_ATTACHMENT_MAX_PER_TURN,
2592
+ Ni as AI_ATTACHMENT_TURN_BUDGET,
2589
2593
  oe as AI_VENDORS,
2590
2594
  je as ALLOWED_LINK_SCHEMES,
2591
- Yi as APP_PERMISSIONS,
2595
+ qi as APP_PERMISSIONS,
2592
2596
  U as ARTIFACT_MAX_BLOCKS,
2593
- ir as ARTIFACT_MAX_BODY_BYTES,
2597
+ ar as ARTIFACT_MAX_BODY_BYTES,
2594
2598
  M as ARTIFACT_MAX_CELL_LEN,
2595
2599
  F as ARTIFACT_MAX_KPI_ITEMS,
2596
2600
  j as ARTIFACT_MAX_LIST_ITEMS,
@@ -2600,253 +2604,255 @@ export {
2600
2604
  Ye as ASSIGNMENT_SCOPE_KIND,
2601
2605
  Ee as AUTH_APP_NAME,
2602
2606
  ve as ActivityTypeRegistry,
2603
- Gn as BUILT_IN_ONLY,
2607
+ Bn as BUILT_IN_ONLY,
2604
2608
  Jt as CADENCE_FLOOR_MS,
2605
2609
  Zt as CADENCE_MIN_NEW_SEGMENTS,
2606
2610
  Qt as CADENCE_MIN_NOVELTY,
2607
2611
  qt as CADENCE_WINDOW_MS,
2608
- qr as CLASSIFY_VARS,
2609
- tr as CORE_DIMENSIONS,
2612
+ Jr as CLASSIFY_VARS,
2613
+ nr as CORE_DIMENSIONS,
2610
2614
  Ut as CommunicationScheme,
2611
- Ur as DEFAULT_MEMORY_BUDGET,
2615
+ jr as DEFAULT_MEMORY_BUDGET,
2612
2616
  sn as DEFAULT_PHONE_REGION,
2613
- Zr as EMPTY_WORKFLOW,
2614
- Hi as FEATURE_FOLDER_MANAGEMENT,
2615
- Wi as FEATURE_REMOTE_SEARCH,
2616
- Xi as INSTALLATION_HEADER,
2617
+ Qr as EMPTY_WORKFLOW,
2618
+ Wi as FEATURE_FOLDER_MANAGEMENT,
2619
+ zi as FEATURE_REMOTE_SEARCH,
2620
+ En as HTML_BODY_RE,
2621
+ Yi as INSTALLATION_HEADER,
2617
2622
  ut as INTERACTION_KIND,
2618
- Fi as InteractionParticipantRole,
2623
+ Hi as InteractionParticipantRole,
2619
2624
  et as KB_FALLBACK_LOCALE,
2620
2625
  z as KB_LOCALES,
2621
2626
  v as LOOSE_STATUSES,
2622
- kn as MAX_ACTIONS,
2627
+ Cn as MAX_ACTIONS,
2623
2628
  qe as MAX_ASSIGNMENT_TURNS,
2624
- In as MAX_BLOCKS,
2629
+ wn as MAX_BLOCKS,
2625
2630
  fe as MAX_COLLECTION_DEPTH,
2626
- wn as MAX_FIELDS,
2627
- Mn as MAX_LIST_ITEMS,
2628
- Lr as MAX_MEMORY_BROWSE,
2629
- Kr as MAX_MEMORY_BUDGET,
2630
- Dr as MAX_MEMORY_CHARS,
2631
+ Mn as MAX_FIELDS,
2632
+ kn as MAX_LIST_ITEMS,
2633
+ Dr as MAX_MEMORY_BROWSE,
2634
+ Ur as MAX_MEMORY_BUDGET,
2635
+ Pr as MAX_MEMORY_CHARS,
2631
2636
  on as MAX_SHOWN_KEYS,
2632
2637
  bt as MAX_TOPIC_CANDIDATES,
2633
2638
  At as MAX_TOPIC_EXAMPLES,
2634
2639
  k as MAX_TOPIC_EXAMPLE_CHARS,
2635
- Pr as MIN_MEMORY_BUDGET,
2640
+ Kr as MIN_MEMORY_BUDGET,
2636
2641
  O as PHONE_REGIONS,
2637
2642
  Ae as PRESENCE_ONLINE_WINDOW_MS,
2638
2643
  Gt as PRESENCE_SURVIVES_OFFLINE,
2639
- Bi as PROVIDER_FEATURE_MESSAGE_TEMPLATES,
2640
- Gi as PROVIDER_FEATURE_MESSAGE_WINDOW,
2644
+ Fi as PROVIDER_FEATURE_MESSAGE_TEMPLATES,
2645
+ Bi as PROVIDER_FEATURE_MESSAGE_WINDOW,
2641
2646
  mn as PUBLIC_EMAIL_DOMAINS,
2642
2647
  X as READ_STEP_TYPES,
2643
2648
  rt as RELATED_SUBJECT_KINDS,
2644
2649
  ye as RESERVED_STATUS_KEYS,
2645
- ea as RESOURCE_DESCRIBE_SERVICE,
2646
- na as RESOURCE_RESOLVE_SERVICE,
2647
- ta as RESOURCE_SEARCH_SERVICE,
2648
- yr as SIGNATURE_INTENTS,
2650
+ ta as RESOURCE_DESCRIBE_SERVICE,
2651
+ ra as RESOURCE_RESOLVE_SERVICE,
2652
+ na as RESOURCE_SEARCH_SERVICE,
2653
+ Ar as SIGNATURE_INTENTS,
2649
2654
  ft as STEP_MAX_TOKENS_MAX,
2650
2655
  pt as STEP_MAX_TOKENS_MIN,
2651
- Tn as SUMMARY_MIN_LAST_CHARS,
2652
- _n as SUMMARY_MIN_MESSAGES,
2653
- ua as SYNC_RUN_MAX_ERRORS,
2654
- ca as SYNC_SOURCE_PROVIDER_GROUP,
2655
- la as SYNC_TARGET_PROVIDER_GROUP,
2656
+ In as SUMMARY_MIN_LAST_CHARS,
2657
+ Tn as SUMMARY_MIN_MESSAGES,
2658
+ da as SYNC_RUN_MAX_ERRORS,
2659
+ la as SYNC_SOURCE_PROVIDER_GROUP,
2660
+ ua as SYNC_TARGET_PROVIDER_GROUP,
2656
2661
  Xe as TERMINAL_ASSIGNMENT_STATUSES,
2657
2662
  mt as TERMINAL_RUN_STATUSES,
2658
- Yr as TRIGGER_VARS,
2659
- zi as UNSUPPORTED,
2663
+ qr as TRIGGER_VARS,
2664
+ Xi as UNSUPPORTED,
2660
2665
  De as USAGE_DIMENSIONS,
2661
2666
  Pe as USAGE_DIMENSION_IDS,
2662
- hi as WORK_COMMENT_ADDED,
2663
- yi as WORK_ITEM_ASSIGNED,
2667
+ yi as WORK_COMMENT_ADDED,
2668
+ Ai as WORK_ITEM_ASSIGNED,
2664
2669
  Tt as WORK_ITEM_SCOPE_KIND,
2665
2670
  It as WORK_PROJECT_SCOPE_KIND,
2666
- fi as acceptExampleCandidate,
2671
+ mi as acceptExampleCandidate,
2667
2672
  at as actingIdentityKey,
2668
- di as activeWorkTypes,
2669
- Nn as activityIconOf,
2670
- Un as activityJoinUrl,
2673
+ pi as activeWorkTypes,
2674
+ vn as activityIconOf,
2675
+ jn as activityJoinUrl,
2671
2676
  Me as activitySnippet,
2672
2677
  ke as activityTextParams,
2673
- Kn as activityTimelineText,
2674
- Fn as activityTimestamp,
2678
+ Un as activityTimelineText,
2679
+ Hn as activityTimestamp,
2675
2680
  d as activityTypeInfo,
2676
- Fr as actorKey,
2677
- pi as addExampleCandidate,
2678
- Ji as agePresenceEntry,
2681
+ Hr as actorKey,
2682
+ fi as addExampleCandidate,
2683
+ Zi as agePresenceEntry,
2679
2684
  xt as aiAttachmentKind,
2680
- vi as aiAttachmentRejection,
2685
+ Oi as aiAttachmentRejection,
2681
2686
  K as aiBudgetLimit,
2682
- Zn as aiBudgetPeriodKey,
2687
+ Qn as aiBudgetPeriodKey,
2683
2688
  Oe as aiBudgetPeriodStart,
2684
- Jn as aiBudgetState,
2685
- qn as aiVendorAcceptsAttachment,
2686
- zn as aiVendorDefaultModel,
2687
- Wn as aiVendorLabel,
2688
- Yn as aiVendorNeedsBaseUrl,
2689
- Xn as aiVendorsWith,
2689
+ Zn as aiBudgetState,
2690
+ Jn as aiVendorAcceptsAttachment,
2691
+ Xn as aiVendorDefaultModel,
2692
+ zn as aiVendorLabel,
2693
+ qn as aiVendorNeedsBaseUrl,
2694
+ Yn as aiVendorsWith,
2690
2695
  Se as appNameFromPath,
2691
- oi as applyRounding,
2692
- Ar as applySignature,
2693
- or as artifactBodyBytes,
2694
- sr as artifactOutline,
2695
- cr as artifactToMarkdown,
2696
- zr as assignmentMismatch,
2697
- fr as assignmentScopeKey,
2698
- gr as assignmentSubject,
2699
- jn as buildActivityPreview,
2700
- Di as buildChannelIntents,
2701
- lr as buildShareKeys,
2696
+ si as applyRounding,
2697
+ br as applySignature,
2698
+ sr as artifactBodyBytes,
2699
+ cr as artifactOutline,
2700
+ lr as artifactToMarkdown,
2701
+ Xr as assignmentMismatch,
2702
+ mr as assignmentScopeKey,
2703
+ hr as assignmentSubject,
2704
+ Gn as buildActivityPreview,
2705
+ Pi as buildChannelIntents,
2706
+ ur as buildShareKeys,
2702
2707
  an as buildWindow,
2703
- Nr as canNestUnder,
2704
- $n as carriesText,
2705
- Or as categoryLabel,
2708
+ vr as canNestUnder,
2709
+ Rn as carriesText,
2710
+ xr as categoryLabel,
2706
2711
  kt as categoryOf,
2707
- ji as channelKindForScheme,
2708
- vn as channelKindOf,
2709
- Jr as clampStepMaxTokens,
2710
- Ea as cleanMessageText,
2712
+ Gi as channelKindForScheme,
2713
+ On as channelKindOf,
2714
+ Zr as clampStepMaxTokens,
2715
+ _a as cleanMessageText,
2711
2716
  yt as compareWorkTypes,
2712
- hr as decideAssignmentState,
2713
- pa as decideCadence,
2714
- Ri as decideIncomingCall,
2717
+ yr as decideAssignmentState,
2718
+ fa as decideCadence,
2719
+ Li as decideIncomingCall,
2715
2720
  tt as defaultLocaleOf,
2716
- Ii as defaultStatusKey,
2721
+ wi as defaultStatusKey,
2717
2722
  Vi as defineIntent,
2718
2723
  Ze as depthOf,
2719
- qi as derivePresence,
2720
- Li as disabledIntentsFromCapabilities,
2721
- ai as elapsedSeconds,
2722
- ga as emailDomain,
2723
- Aa as endpointKey,
2724
- Vt as extractParams,
2724
+ Ji as derivePresence,
2725
+ Di as disabledIntentsFromCapabilities,
2726
+ oi as elapsedSeconds,
2727
+ ha as emailDomain,
2728
+ ba as endpointKey,
2729
+ Ht as extractParams,
2725
2730
  nn as extractTerms,
2726
- Ki as filterByEndpoint,
2727
- Pi as filterByIntent,
2731
+ Ui as filterByEndpoint,
2732
+ Ki as filterByIntent,
2728
2733
  Kt as filterByTargetScheme,
2729
2734
  S as findAiVendor,
2730
- er as flattenLocales,
2735
+ tr as flattenLocales,
2731
2736
  $e as floorToPeriod,
2732
2737
  it as formatActingIdentity,
2733
- ci as formatClock,
2734
- si as formatHm,
2735
- Ai as formatItemKey,
2738
+ li as formatClock,
2739
+ ci as formatHm,
2740
+ bi as formatItemKey,
2736
2741
  xe as formatPeriod,
2737
- Oi as freshSources,
2738
- Bn as getActivitySeenUserIds,
2739
- br as getContactEndpoints,
2740
- Tr as getShortTitle,
2741
- _r as getUrgencyScore,
2742
+ xi as freshSources,
2743
+ Fn as getActivitySeenUserIds,
2744
+ Er as getContactEndpoints,
2745
+ Ir as getShortTitle,
2746
+ Tr as getUrgencyScore,
2742
2747
  me as heightOf,
2743
- Mr as helpCenterText,
2744
- Xr as humanizeAction,
2748
+ kr as helpCenterText,
2749
+ Yr as humanizeAction,
2745
2750
  dt as interactionIdOf,
2746
- gi as isAgentUser,
2747
- Er as isAssigned,
2748
- pr as isAssignmentTerminal,
2751
+ hi as isAgentUser,
2752
+ Sr as isAssigned,
2753
+ fr as isAssignmentTerminal,
2749
2754
  ct as isAssignmentTrigger,
2750
- Hn as isChatMessageActivity,
2751
- Sr as isClosed,
2752
- Dn as isConnectedType,
2753
- ia as isDeepLink,
2755
+ Wn as isChatMessageActivity,
2756
+ _r as isClosed,
2757
+ Pn as isConnectedType,
2758
+ aa as isDeepLink,
2754
2759
  Qe as isDescendant,
2755
2760
  Vn as isEmailActivity,
2756
- ni as isInFlight,
2757
- Ir as isInteractionUnseen,
2758
- aa as isLandingPath,
2759
- Sa as isLikelyBulk,
2761
+ Sa as isHtmlBody,
2762
+ ri as isInFlight,
2763
+ wr as isInteractionUnseen,
2764
+ oa as isLandingPath,
2765
+ Ta as isLikelyBulk,
2760
2766
  ae as isMessageShape,
2761
- On as isMessageType,
2767
+ xn as isMessageType,
2762
2768
  Wt as isMoreSpecificPattern,
2763
2769
  gt as isPaused,
2764
- Ln as isPlaybookAuthoredType,
2765
- ha as isPublicEmailDomain,
2766
- sa as isPublicPath,
2767
- xn as isReplyableType,
2768
- ti as isTerminal,
2769
- _a as isThreadLongEnough,
2770
- Pn as isTranscriptType,
2771
- wi as isWorkClosed,
2772
- ui as isWorkTypeVisible,
2773
- Si as itemDossierKeys,
2770
+ Dn as isPlaybookAuthoredType,
2771
+ ya as isPublicEmailDomain,
2772
+ ca as isPublicPath,
2773
+ $n as isReplyableType,
2774
+ ni as isTerminal,
2775
+ Ia as isThreadLongEnough,
2776
+ Kn as isTranscriptType,
2777
+ Mi as isWorkClosed,
2778
+ di as isWorkTypeVisible,
2779
+ _i as itemDossierKeys,
2774
2780
  Mt as ladderFor,
2775
- wr as linkLabel,
2776
- Qn as listeningAllowed,
2777
- Cr as localeInstruction,
2778
- kr as localeName,
2779
- vr as localesOf,
2780
- fa as looksLikeEmail,
2781
- Ui as matchContactToIntents,
2781
+ Mr as linkLabel,
2782
+ er as listeningAllowed,
2783
+ Nr as localeInstruction,
2784
+ Cr as localeName,
2785
+ Or as localesOf,
2786
+ ma as looksLikeEmail,
2787
+ ji as matchContactToIntents,
2782
2788
  zt as matchPublicRoute,
2783
- $r as mcpCredentialScope,
2784
- Rr as mcpToolPrefix,
2785
- da as mergeShownKeys,
2786
- Rn as messageCountsAs,
2787
- ya as needsPhoneRegion,
2788
- ar as normalizeArtifactBlocks,
2789
- Cn as normalizeBlocks,
2789
+ Rr as mcpCredentialScope,
2790
+ Lr as mcpToolPrefix,
2791
+ pa as mergeShownKeys,
2792
+ Ln as messageCountsAs,
2793
+ Aa as needsPhoneRegion,
2794
+ or as normalizeArtifactBlocks,
2795
+ Nn as normalizeBlocks,
2790
2796
  _e as normalizeEmail,
2791
2797
  g as normalizeExample,
2792
2798
  rn as novelty,
2793
- Gr as parseActingIdentity,
2794
- bi as parseItemKey,
2799
+ Br as parseActingIdentity,
2800
+ Ei as parseItemKey,
2795
2801
  Ft as pathToRegex,
2796
- nr as periodsInRange,
2797
- ma as phoneSuffix,
2798
- ba as plainTextFromMarkdown,
2802
+ rr as periodsInRange,
2803
+ ga as phoneSuffix,
2804
+ Ea as plainTextFromMarkdown,
2799
2805
  st as playbookActor,
2800
- ei as procedureOf,
2801
- _i as projectDossierKeys,
2802
- Ht as publicBasePathFor,
2803
- oa as publicRoutePatterns,
2806
+ ti as procedureOf,
2807
+ Ti as projectDossierKeys,
2808
+ Vt as publicBasePathFor,
2809
+ sa as publicRoutePatterns,
2804
2810
  C as readPath,
2805
2811
  Y as readStepError,
2806
2812
  lt as refKey,
2807
2813
  fn as registrableDomain,
2808
2814
  St as rejectExampleCandidate,
2809
- jr as relatedByDefault,
2815
+ Gr as relatedByDefault,
2810
2816
  Dt as resolveAccountCapabilities,
2811
2817
  N as resolveActivityText,
2812
2818
  Lt as resolveChannelIntents,
2813
2819
  Je as resolveSignature,
2814
- Zi as resolveWorkMode,
2815
- ra as resourceKindOf,
2816
- Br as runActor,
2817
- ii as runInteractionId,
2818
- Ve as sanitizeInline,
2820
+ Qi as resolveWorkMode,
2821
+ ia as resourceKindOf,
2822
+ Fr as runActor,
2823
+ ai as runInteractionId,
2824
+ He as sanitizeInline,
2819
2825
  Yt as sanitizeTranscript,
2820
- xr as selectLenses,
2821
- $i as sessionsHoldCannotReach,
2822
- xi as sessionsToHold,
2826
+ $r as selectLenses,
2827
+ Ri as sessionsHoldCannotReach,
2828
+ $i as sessionsToHold,
2823
2829
  de as shareKeyForTeam,
2824
2830
  ue as shareKeyForUser,
2825
- ur as shareKeysForViewer,
2826
- Qi as shouldRunAudioPipeline,
2831
+ dr as shareKeysForViewer,
2832
+ ea as shouldRunAudioPipeline,
2827
2833
  Ct as sortStatuses,
2828
2834
  Rt as sourceKey,
2829
- Ti as statusIn,
2830
- Qr as stepsOf,
2835
+ Ii as statusIn,
2836
+ ei as stepsOf,
2831
2837
  we as stripHtml,
2832
- ri as subjectKeyOf,
2838
+ ii as subjectKeyOf,
2833
2839
  ge as subjectOf,
2834
- Ei as suggestProjectKey,
2835
- Wr as targetById,
2836
- Hr as targetForActivityType,
2840
+ Si as suggestProjectKey,
2841
+ zr as targetById,
2842
+ Wr as targetForActivityType,
2837
2843
  ot as toActingIdentity,
2838
2844
  Q as toE164,
2839
- dr as toolSourceKinds,
2845
+ pr as toolSourceKinds,
2840
2846
  _t as topicOfferedForTeam,
2841
- mi as topicsForTeam,
2847
+ gi as topicsForTeam,
2842
2848
  Et as truncateExample,
2843
- Mi as uniqueWorkStatusKey,
2844
- li as uniqueWorkTypeKey,
2849
+ ki as uniqueWorkStatusKey,
2850
+ ui as uniqueWorkTypeKey,
2845
2851
  Ke as usageMetricId,
2846
- rr as usageMetrics,
2847
- ki as validateStatuses,
2852
+ ir as usageMetrics,
2853
+ Ci as validateStatuses,
2848
2854
  Vr as valueAtPath,
2849
- mr as wakesAssignment,
2855
+ gr as wakesAssignment,
2850
2856
  wt as workItemScopeKey,
2851
2857
  he as workProjectScopeKey,
2852
2858
  Nt as workStatusKey,