@mobilon-dev/chotto 0.3.65 → 0.3.66

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.
@@ -1,40 +1,50 @@
1
- import { defineComponent as De, inject as R, computed as p, unref as l, toRefs as $e, ref as f, watch as ae, createElementBlock as c, openBlock as n, normalizeClass as le, createCommentVNode as C, createElementVNode as s, createVNode as j, withCtx as $, createTextVNode as _, toDisplayString as u, createBlock as T, Fragment as w, withDirectives as B, vShow as se, vModelText as Ee, Transition as oe, Teleport as Ve, renderList as Le, nextTick as Pe } from "vue";
2
- import "../../../hooks/useMessageDraft.js";
3
- import "../../../hooks/useSearchModel.js";
4
- import { useTheme as Re } from "../../../hooks/useTheme.js";
5
- /* empty css */
6
- /* empty css */
7
- import { useMessageActions as je } from "../../../hooks/messages/useMessageActions.js";
1
+ import { defineComponent as He, inject as re, computed as m, unref as l, toRefs as Ge, ref as y, watch as ue, createElementBlock as i, openBlock as o, normalizeClass as B, createCommentVNode as p, createElementVNode as r, createVNode as O, withCtx as E, createTextVNode as h, toDisplayString as c, createBlock as L, Fragment as g, withDirectives as Z, vShow as ce, vModelText as Ke, Transition as de, renderList as me, nextTick as Qe } from "vue";
2
+ import { useMessageActions as We } from "../../../hooks/messages/useMessageActions.js";
8
3
  import "../../../node_modules/linkifyjs/dist/linkify.js";
9
4
  import "../../../node_modules/linkify-string/dist/linkify-string.js";
10
5
  import "../../../functions/parseMarkdown.js";
11
- import { useSubtextTooltip as Be } from "../../../hooks/messages/useSubtextTooltip.js";
12
- import Ue from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
13
- import ne from "../../1_atoms/Tooltip/Tooltip.vue.js";
14
- import Oe from "./icons/IncomingCallIcon.vue.js";
15
- import Ze from "./icons/OutgoingCallIcon.vue.js";
16
- const qe = ["messageId"], ze = ["src"], He = {
6
+ import { useSubtextTooltip as Xe } from "../../../hooks/messages/useSubtextTooltip.js";
7
+ import Ye from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
8
+ import ve from "../../1_atoms/Tooltip/Tooltip.vue.js";
9
+ import et from "./icons/IncomingCallIcon.vue.js";
10
+ import tt from "./icons/OutgoingCallIcon.vue.js";
11
+ const at = ["messageId"], st = ["src"], lt = {
17
12
  key: 1,
18
13
  class: "call-message__subtext"
19
- }, Ge = { class: "call-message__content" }, Je = { class: "call-message__header-container" }, Ke = { class: "call-message__title-wrapper" }, Qe = {
14
+ }, nt = { class: "call-message__content" }, ot = { class: "call-message__header-container" }, it = { class: "call-message__title-wrapper" }, rt = {
20
15
  key: 0,
21
16
  class: "call-message__title"
22
- }, Xe = { class: "call-message__call-participant" }, Ye = {
17
+ }, ut = {
23
18
  key: 1,
24
19
  class: "call-message__title call-message__title--missed"
25
- }, We = { class: "call-message__call-participant" }, et = {
20
+ }, ct = {
26
21
  key: 0,
27
22
  class: "call-message__title"
28
- }, tt = { class: "call-message__call-participant" }, at = {
23
+ }, dt = {
29
24
  key: 1,
30
25
  class: "call-message__title call-message__title--missed"
31
- }, lt = { class: "call-message__call-participant" }, st = {
26
+ }, mt = {
32
27
  key: 0,
33
28
  class: "call-message__missed-info"
34
- }, ot = {
29
+ }, vt = {
35
30
  key: 1,
36
31
  class: "call-message__audio-wrapper"
37
- }, nt = ["src"], it = { class: "call-message__audio-progress" }, ut = { class: "call-message__audio-progress-bar" }, rt = ["max"], ct = { class: "call-message__audio-time" }, dt = { class: "call-message__info-container" }, mt = { class: "call-message__time" }, vt = ["data-theme"], pt = { class: "call-message__modal" }, At = /* @__PURE__ */ De({
32
+ }, pt = ["src"], ft = { class: "call-message__audio-progress" }, gt = { class: "call-message__audio-progress-bar" }, _t = ["max"], yt = { class: "call-message__audio-time" }, ht = { class: "call-message__info-container" }, Ct = { class: "call-message__actions" }, xt = { class: "call-message__time" }, bt = {
33
+ key: 0,
34
+ class: "call-message__expand-panel"
35
+ }, kt = { class: "call-message__expand-inner" }, wt = {
36
+ key: 0,
37
+ class: "call-message__expand-placeholder"
38
+ }, Tt = {
39
+ key: 0,
40
+ class: "call-message__expand-plain"
41
+ }, Mt = {
42
+ key: 1,
43
+ class: "call-message__expand-plain"
44
+ }, St = {
45
+ key: 0,
46
+ class: "call-message__expand-placeholder"
47
+ }, Ft = { class: "call-message__expand-close-wrap" }, pe = "Распознаем звонок, пожалуйста подождите...", Ut = /* @__PURE__ */ He({
38
48
  __name: "CallMessage",
39
49
  props: {
40
50
  message: {
@@ -52,20 +62,99 @@ const qe = ["messageId"], ze = ["src"], He = {
52
62
  }
53
63
  },
54
64
  emits: ["action", "reply"],
55
- setup(ie, { emit: ue }) {
56
- const re = R("chatAppId"), { getTheme: U } = Re(re), O = R("channels", void 0), Z = R("selectedChat", void 0), ce = p(() => {
57
- if (O)
58
- return l(O);
59
- }), de = p(() => {
60
- if (Z)
61
- return l(Z);
62
- }), me = ue, M = ie, { message: a, applyStyle: ve } = $e(M), {
63
- isOpenMenu: E,
64
- buttonMenuVisible: pe,
65
- showMenu: q,
65
+ setup(fe, { emit: ge }) {
66
+ function q(e) {
67
+ if (e == null) return null;
68
+ if (typeof e == "object") return e;
69
+ if (typeof e != "string") return null;
70
+ const t = e.trim();
71
+ if (!t) return null;
72
+ try {
73
+ return JSON.parse(t);
74
+ } catch {
75
+ return null;
76
+ }
77
+ }
78
+ function _e(e) {
79
+ if (!Number.isFinite(e) || e < 0) return "0:00";
80
+ const t = Math.floor(e), a = Math.floor(t / 60), u = t % 60;
81
+ return `${a}:${u.toString().padStart(2, "0")}`;
82
+ }
83
+ function ye(e) {
84
+ return e === "2" ? "right" : "left";
85
+ }
86
+ function z(e) {
87
+ const t = e.transcript;
88
+ return t && typeof t == "object" && "replies" in t ? t : typeof t == "string" && t.trim() ? q(t) : null;
89
+ }
90
+ function he(e) {
91
+ return e != null && e.length ? e.map((t) => {
92
+ const a = typeof t.timecode == "number" ? t.timecode : Number(t.timecode);
93
+ return {
94
+ time: _e(a),
95
+ text: t.text ?? "",
96
+ position: ye(String(t.user ?? ""))
97
+ };
98
+ }) : [];
99
+ }
100
+ function Ce(e) {
101
+ var a;
102
+ if (e == null) return null;
103
+ const t = String(e).trim();
104
+ if (!t) return null;
105
+ if (t.startsWith("{")) {
106
+ const u = q(t);
107
+ return ((a = u == null ? void 0 : u.summary) == null ? void 0 : a.trim()) || null;
108
+ }
109
+ return t;
110
+ }
111
+ function xe(e) {
112
+ const t = e.callSummary;
113
+ return t == null ? null : typeof t == "object" && t !== null && "summary" in t ? String(t.summary ?? "").trim() || null : typeof t == "string" ? Ce(t) : null;
114
+ }
115
+ const J = re("channels", void 0), H = re("selectedChat", void 0), be = m(() => {
116
+ if (J)
117
+ return l(J);
118
+ }), ke = m(() => {
119
+ if (H)
120
+ return l(H);
121
+ }), D = ge, T = fe, { message: s, applyStyle: we } = Ge(T), M = m(() => {
122
+ const e = s.value;
123
+ return e.url ? e.url : typeof e.recordUrl == "string" ? e.recordUrl : void 0;
124
+ }), {
125
+ isOpenMenu: R,
126
+ buttonMenuVisible: Te,
127
+ showMenu: G,
66
128
  hideMenu: V,
67
- clickAction: ge
68
- } = je(M.message, me), F = f(!1), o = f(null), b = f(void 0), m = f(!1), h = f(0), v = f(0), y = f(!1), N = f(0), L = [
129
+ clickAction: Me
130
+ } = We(T.message, D), _ = y(null), S = m(() => {
131
+ var u;
132
+ const e = s.value, t = e.transcript;
133
+ if (t && typeof t == "object" && "dialog" in t && ((u = t.dialog) != null && u.length))
134
+ return t.dialog;
135
+ const a = z(e);
136
+ return he(a == null ? void 0 : a.replies);
137
+ }), K = m(() => {
138
+ var u;
139
+ if (S.value.length) return "";
140
+ const e = s.value, t = e.transcript;
141
+ if (t && typeof t == "object" && "text" in t && t.text)
142
+ return t.text;
143
+ const a = z(e);
144
+ return (u = a == null ? void 0 : a.replies) != null && u.length ? a.replies.map((d) => d.text).filter(Boolean).join(`
145
+ `) : "Текст недоступен";
146
+ }), Q = m(() => S.value.length ? [] : K.value.split(/\r?\n+/g).map((e) => e.trim()).filter(Boolean)), W = m(() => {
147
+ var t, a;
148
+ const e = (t = s.value) == null ? void 0 : t.transcript;
149
+ return e ? typeof e == "string" ? e.trim().length > 0 : !!(typeof e == "object" && ("dialog" in e && Array.isArray(e.dialog) && e.dialog.length || "text" in e && typeof e.text == "string" && e.text.trim() || "replies" in e && Array.isArray(e.replies) && ((a = e.replies) != null && a.length))) : !1;
150
+ }), X = m(() => {
151
+ var t;
152
+ const e = (t = s.value) == null ? void 0 : t.callSummary;
153
+ return e ? typeof e == "string" ? e.trim().length > 0 : typeof e == "object" && e !== null && "summary" in e ? String(e.summary ?? "").trim().length > 0 : !1 : !1;
154
+ }), F = y({
155
+ text: !1,
156
+ summary: !1
157
+ }), Se = m(() => xe(s.value) ?? "Резюме недоступно"), n = y(null), b = y(void 0), v = y(!1), C = y(0), f = y(0), x = y(!1), N = y(0), P = [
69
158
  {
70
159
  text: "1.0x",
71
160
  speed: 1
@@ -82,72 +171,69 @@ const qe = ["messageId"], ze = ["src"], He = {
82
171
  text: "2.0x",
83
172
  speed: 2
84
173
  }
85
- ], P = p(() => L[N.value] ?? L[0]), _e = (e) => {
174
+ ], U = m(() => P[N.value] ?? P[0]), Fe = (e) => {
86
175
  if (!e) return;
87
- const r = e.trim().match(/^(\d+):([0-5]\d)$/);
88
- if (!r) return;
89
- const i = Number(r[1]), d = Number(r[2]);
90
- if (!(Number.isNaN(i) || Number.isNaN(d)))
91
- return i * 60 + d;
92
- }, z = () => {
176
+ const a = e.trim().match(/^(\d+):([0-5]\d)$/);
177
+ if (!a) return;
178
+ const u = Number(a[1]), d = Number(a[2]);
179
+ if (!(Number.isNaN(u) || Number.isNaN(d)))
180
+ return u * 60 + d;
181
+ }, Y = () => {
93
182
  var e;
94
- m.value = !1, v.value = 0, h.value = _e((e = a.value) == null ? void 0 : e.callDuration) ?? 0, y.value = !1, N.value = 0;
183
+ v.value = !1, f.value = 0, C.value = Fe((e = s.value) == null ? void 0 : e.callDuration) ?? 0, x.value = !1, N.value = 0;
95
184
  };
96
- z(), ae(
97
- () => {
98
- var e;
99
- return (e = a.value) == null ? void 0 : e.url;
100
- },
185
+ Y(), ue(
186
+ M,
101
187
  (e, t) => {
102
- e !== t && (z(), b.value = void 0, o.value && (o.value.pause(), o.value.currentTime = 0, o.value.removeAttribute("src"), o.value.load()));
188
+ e !== t && (Y(), b.value = void 0, n.value && (n.value.pause(), n.value.currentTime = 0, n.value.removeAttribute("src"), n.value.load()));
103
189
  }
104
190
  );
105
- const H = (e) => {
106
- const t = Math.floor(e / 60), r = Math.floor(e % 60);
107
- return `${t.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}`;
108
- }, fe = p(() => H(v.value)), Ce = p(() => H(h.value)), G = async () => {
109
- var e;
110
- if (!(!o.value || !((e = a.value) != null && e.url)))
111
- if (m.value)
112
- o.value.pause(), m.value = !1;
191
+ const ee = (e) => {
192
+ const t = Math.floor(e / 60), a = Math.floor(e % 60);
193
+ return `${t.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
194
+ }, Ne = m(() => ee(f.value)), Ie = m(() => ee(C.value)), te = async () => {
195
+ const e = M.value;
196
+ if (!(!n.value || !e))
197
+ if (v.value)
198
+ n.value.pause(), v.value = !1;
113
199
  else
114
200
  try {
115
- b.value || (b.value = a.value.url, await Pe(), o.value.load()), await o.value.play(), m.value = !0;
201
+ b.value || (b.value = e, await Qe(), n.value.load()), await n.value.play(), v.value = !0;
116
202
  } catch (t) {
117
- console.error("Не удалось воспроизвести запись звонка", t), m.value = !1;
203
+ console.error("Не удалось воспроизвести запись звонка", t), v.value = !1;
118
204
  }
119
- }, he = () => {
120
- N.value = (N.value + 1) % L.length, o.value && (o.value.playbackRate = P.value.speed);
205
+ }, Ae = () => {
206
+ N.value = (N.value + 1) % P.length, n.value && (n.value.playbackRate = U.value.speed);
121
207
  };
122
- ae(
123
- () => v.value,
208
+ ue(
209
+ () => f.value,
124
210
  () => {
125
- o.value && y.value && (o.value.duration !== 1 / 0 && !Number.isNaN(o.value.duration) && (o.value.currentTime = v.value), Math.abs(v.value - h.value) < 0.1 && (m.value = !1));
211
+ n.value && x.value && (n.value.duration !== 1 / 0 && !Number.isNaN(n.value.duration) && (n.value.currentTime = f.value), Math.abs(f.value - C.value) < 0.1 && (v.value = !1));
126
212
  }
127
213
  );
128
- const J = () => {
129
- o.value && y.value && o.value.duration !== 1 / 0 && !Number.isNaN(o.value.duration) && (o.value.currentTime = v.value), y.value = !1;
130
- }, ye = () => {
131
- if (!o.value) return;
132
- const e = o.value;
133
- if (h.value = 0, v.value = e.currentTime || 0, e.duration === 1 / 0 || Number.isNaN(e.duration)) {
214
+ const ae = () => {
215
+ n.value && x.value && n.value.duration !== 1 / 0 && !Number.isNaN(n.value.duration) && (n.value.currentTime = f.value), x.value = !1;
216
+ }, $e = () => {
217
+ if (!n.value) return;
218
+ const e = n.value;
219
+ if (C.value = 0, f.value = e.currentTime || 0, e.duration === 1 / 0 || Number.isNaN(e.duration)) {
134
220
  e.currentTime = 1e101;
135
221
  const t = () => {
136
- o.value && (h.value = o.value.duration || 0, v.value = 0, o.value.currentTime = 0);
222
+ n.value && (C.value = n.value.duration || 0, f.value = 0, n.value.currentTime = 0);
137
223
  };
138
224
  e.addEventListener("timeupdate", t, { once: !0 });
139
225
  } else
140
- h.value = e.duration || 0;
141
- e.playbackRate = P.value.speed;
142
- }, we = () => {
143
- o.value && (y.value || (v.value = o.value.currentTime), o.value.ended && m.value && (m.value = !1));
144
- }, be = () => {
145
- m.value = !1;
146
- }, xe = () => {
147
- console.error("Не удалось загрузить запись звонка"), m.value = !1, b.value = void 0, o.value && (o.value.pause(), o.value.currentTime = 0, o.value.removeAttribute("src"), o.value.load());
148
- }, I = p(() => {
226
+ C.value = e.duration || 0;
227
+ e.playbackRate = U.value.speed;
228
+ }, je = () => {
229
+ n.value && (x.value || (f.value = n.value.currentTime), n.value.ended && v.value && (v.value = !1));
230
+ }, Ee = () => {
231
+ v.value = !1;
232
+ }, Le = () => {
233
+ console.error("Не удалось загрузить запись звонка"), v.value = !1, b.value = void 0, n.value && (n.value.pause(), n.value.currentTime = 0, n.value.removeAttribute("src"), n.value.load());
234
+ }, I = m(() => {
149
235
  var e;
150
- switch ((e = a.value) == null ? void 0 : e.direction) {
236
+ switch ((e = s.value) == null ? void 0 : e.direction) {
151
237
  case "incoming":
152
238
  return "Входящий";
153
239
  case "outgoing":
@@ -155,20 +241,10 @@ const qe = ["messageId"], ze = ["src"], He = {
155
241
  default:
156
242
  return "Звонок";
157
243
  }
158
- }), S = p(() => {
159
- var e;
160
- switch ((e = a.value) == null ? void 0 : e.direction) {
161
- case "incoming":
162
- return "к";
163
- case "outgoing":
164
- return "на";
165
- default:
166
- return "к";
167
- }
168
- }), K = p(() => {
169
- var t, r;
170
- const e = (t = a.value) == null ? void 0 : t.isMissedCall;
171
- switch ((r = a.value) == null ? void 0 : r.direction) {
244
+ }), se = m(() => {
245
+ var t, a;
246
+ const e = (t = s.value) == null ? void 0 : t.isMissedCall;
247
+ switch ((a = s.value) == null ? void 0 : a.direction) {
172
248
  case "incoming":
173
249
  return e ? "#F84932" : "#00AC47";
174
250
  case "outgoing":
@@ -176,48 +252,52 @@ const qe = ["messageId"], ze = ["src"], He = {
176
252
  default:
177
253
  return e ? "#5F5F5F" : "#00AC47";
178
254
  }
179
- }), ke = p(() => {
255
+ }), De = m(() => {
180
256
  var e;
181
- return ((e = a.value) == null ? void 0 : e.direction) === "outgoing" ? "Без ответа" : "Пропущенный";
182
- }), Q = p(() => {
183
- var g;
184
- const e = a.value, t = ce.value, r = de.value;
185
- if (!(e != null && e.dialogId) || !t || !r)
257
+ return ((e = s.value) == null ? void 0 : e.direction) === "outgoing" ? "Без ответа" : "Пропущенный";
258
+ }), le = m(() => {
259
+ var A;
260
+ const e = s.value, t = be.value, a = ke.value;
261
+ if (!(e != null && e.dialogId) || !t || !a)
186
262
  return null;
187
- const i = (g = r.dialogs) == null ? void 0 : g.find((x) => x.dialogId === e.dialogId);
188
- if (!(i != null && i.channelId))
263
+ const u = (A = a.dialogs) == null ? void 0 : A.find((k) => k.dialogId === e.dialogId);
264
+ if (!(u != null && u.channelId))
189
265
  return null;
190
- const d = t.find((x) => x.channelId === i.channelId);
266
+ const d = t.find((k) => k.channelId === u.channelId);
191
267
  return (d == null ? void 0 : d.title) || null;
192
- }), Te = Be(() => M.message, () => M.subtextTooltipData), X = {
193
- textDialog: "textDialog",
268
+ }), Re = Xe(() => T.message, () => T.subtextTooltipData), Ve = {
194
269
  message: "message"
195
270
  };
196
- function Y(e, t) {
197
- const r = e.position;
271
+ function Pe(e, t) {
272
+ const a = e.position;
198
273
  switch (t) {
199
- case "textDialog":
200
- return r === "left" ? "call-message__text-dialog-left" : "call-message__text-dialog-right";
201
274
  case "message":
202
- return r === "left" ? "call-message__left" : "call-message__right";
275
+ return a === "left" ? "call-message__left" : "call-message__right";
203
276
  default:
204
277
  return "";
205
278
  }
206
279
  }
207
- const Me = () => {
280
+ const Ue = () => {
208
281
  alert("Перезвонить");
209
- }, Fe = async () => {
210
- var e, t, r, i, d;
211
- if ((e = a.value) != null && e.url)
282
+ }, Be = () => {
283
+ const e = _.value === "text" ? null : "text";
284
+ _.value = e, e === "text" && !W.value && !F.value.text && (F.value.text = !0, D("action", { action: "fetchTranscript", messageId: s.value.messageId }));
285
+ }, Oe = () => {
286
+ const e = _.value === "summary" ? null : "summary";
287
+ _.value = e, e === "summary" && !X.value && !F.value.summary && (F.value.summary = !0, D("action", { action: "fetchCallSummary", messageId: s.value.messageId }));
288
+ }, Ze = async () => {
289
+ var t, a, u;
290
+ const e = M.value;
291
+ if (e)
212
292
  try {
213
- const g = await fetch(a.value.url, {
293
+ const d = await fetch(e, {
214
294
  headers: {
215
295
  Accept: "audio/*"
216
296
  }
217
297
  });
218
- if (!g.ok)
219
- throw new Error(`HTTP error! status: ${g.status}`);
220
- const x = g.headers.get("content-type") || "", Ie = await g.blob(), A = ((r = (t = a.value.url.split(".").pop()) == null ? void 0 : t.split("?")[0]) == null ? void 0 : r.toLowerCase()) || "", Se = {
298
+ if (!d.ok)
299
+ throw new Error(`HTTP error! status: ${d.status}`);
300
+ const A = d.headers.get("content-type") || "", k = await d.blob(), $ = ((a = (t = e.split(".").pop()) == null ? void 0 : t.split("?")[0]) == null ? void 0 : a.toLowerCase()) || "", ze = {
221
301
  "audio/mpeg": "mp3",
222
302
  "audio/mp3": "mp3",
223
303
  "audio/wav": "wav",
@@ -228,262 +308,265 @@ const qe = ["messageId"], ze = ["src"], He = {
228
308
  "audio/flac": "flac",
229
309
  "audio/m4a": "m4a",
230
310
  "audio/x-m4a": "m4a",
231
- "application/octet-stream": A || "mp3"
232
- }, W = A && ["mp3", "wav", "ogg", "webm", "aac", "flac", "m4a"].includes(A) ? A : Se[x] || "mp3", ee = a.value.url.split("/"), D = decodeURIComponent(((i = ee[ee.length - 1]) == null ? void 0 : i.split("?")[0]) || ""), Ae = D ? D.includes(".") ? D : `${D}.${W}` : `call-${a.value.messageId}.${W}`, te = window.URL.createObjectURL(Ie), k = document.createElement("a");
233
- k.href = te, k.download = Ae, document.body.appendChild(k), k.click(), document.body.removeChild(k), window.URL.revokeObjectURL(te);
234
- } catch (g) {
235
- console.error("Ошибка при скачивании аудио звонка:", g), (d = a.value) != null && d.url && window.open(a.value.url, "_blank");
311
+ "application/octet-stream": $ || "mp3"
312
+ }, ne = $ && ["mp3", "wav", "ogg", "webm", "aac", "flac", "m4a"].includes($) ? $ : ze[A] || "mp3", oe = e.split("/"), j = decodeURIComponent(((u = oe[oe.length - 1]) == null ? void 0 : u.split("?")[0]) || ""), Je = j ? j.includes(".") ? j : `${j}.${ne}` : `call-${s.value.messageId}.${ne}`, ie = window.URL.createObjectURL(k), w = document.createElement("a");
313
+ w.href = ie, w.download = Je, document.body.appendChild(w), w.click(), document.body.removeChild(w), window.URL.revokeObjectURL(ie);
314
+ } catch (d) {
315
+ console.error("Ошибка при скачивании аудио звонка:", d), e && window.open(e, "_blank");
236
316
  }
237
- }, Ne = (e) => {
238
- e.action === "download" ? (Fe(), V()) : ge(e);
317
+ }, qe = (e) => {
318
+ e.action === "download" ? (Ze(), V()) : Me(e);
239
319
  };
240
- return (e, t) => {
241
- var r;
242
- return n(), c("div", {
243
- class: le([
244
- Y(l(a), X.message),
245
- l(ve)(l(a))
246
- ]),
247
- messageId: l(a).messageId,
248
- onMouseenter: t[6] || (t[6] = //@ts-ignore
249
- (...i) => l(q) && l(q)(...i)),
250
- onMouseleave: t[7] || (t[7] = //@ts-ignore
251
- (...i) => l(V) && l(V)(...i))
252
- }, [
253
- l(a).avatar ? (n(), c("img", {
254
- key: 0,
255
- class: "call-message__avatar",
256
- src: l(a).avatar,
257
- height: "32",
258
- width: "32"
259
- }, null, 8, ze)) : C("", !0),
260
- l(a).subText ? (n(), c("p", He, [
261
- j(ne, {
262
- text: l(Te),
263
- position: l(a).position === "left" ? "right" : "left",
264
- offset: 8
265
- }, {
266
- default: $(() => [
267
- _(u(l(a).subText), 1)
268
- ]),
269
- _: 1
270
- }, 8, ["text", "position"])
271
- ])) : C("", !0),
272
- s("div", Ge, [
273
- s("div", Je, [
274
- s("div", Ke, [
275
- l(a).direction === "incoming" || !l(a).direction ? (n(), T(Oe, {
276
- key: 0,
277
- class: "call-message__direction-icon",
278
- color: K.value
279
- }, null, 8, ["color"])) : (n(), T(Ze, {
280
- key: 1,
281
- class: "call-message__direction-icon",
282
- color: K.value
283
- }, null, 8, ["color"])),
284
- Q.value ? (n(), T(ne, {
285
- key: 2,
286
- text: Q.value,
287
- position: "top",
288
- offset: 8
289
- }, {
290
- default: $(() => [
291
- l(a).isMissedCall ? (n(), c("span", Ye, [
292
- _(u(I.value) + " ", 1),
293
- l(a).direction !== "incoming" ? (n(), c(w, { key: 0 }, [
294
- t[8] || (t[8] = _(" звонок ", -1)),
295
- s("span", We, u(S.value) + " " + u(l(a).callParticipant), 1)
296
- ], 64)) : (n(), c(w, { key: 1 }, [
297
- _(" звонок ")
298
- ], 64))
299
- ])) : (n(), c("span", Qe, [
300
- _(u(I.value) + " звонок ", 1),
301
- s("span", Xe, u(S.value) + " " + u(l(a).callParticipant), 1)
302
- ]))
303
- ]),
304
- _: 1
305
- }, 8, ["text"])) : (n(), c(w, { key: 3 }, [
306
- l(a).isMissedCall ? (n(), c("span", at, [
307
- _(u(I.value) + " ", 1),
308
- l(a).direction !== "incoming" ? (n(), c(w, { key: 0 }, [
309
- t[9] || (t[9] = _(" звонок ", -1)),
310
- s("span", lt, u(S.value) + " " + u(l(a).callParticipant), 1)
311
- ], 64)) : (n(), c(w, { key: 1 }, [
312
- _(" звонок ")
320
+ return (e, t) => (o(), i("div", {
321
+ class: B([
322
+ Pe(l(s), Ve.message),
323
+ l(we)(l(s))
324
+ ]),
325
+ messageId: l(s).messageId,
326
+ onMouseenter: t[5] || (t[5] = //@ts-ignore
327
+ (...a) => l(G) && l(G)(...a)),
328
+ onMouseleave: t[6] || (t[6] = //@ts-ignore
329
+ (...a) => l(V) && l(V)(...a))
330
+ }, [
331
+ l(s).avatar ? (o(), i("img", {
332
+ key: 0,
333
+ class: "call-message__avatar",
334
+ src: l(s).avatar,
335
+ height: "32",
336
+ width: "32"
337
+ }, null, 8, st)) : p("", !0),
338
+ l(s).subText ? (o(), i("p", lt, [
339
+ O(ve, {
340
+ text: l(Re),
341
+ position: l(s).position === "left" ? "right" : "left",
342
+ offset: 8
343
+ }, {
344
+ default: E(() => [
345
+ h(c(l(s).subText), 1)
346
+ ]),
347
+ _: 1
348
+ }, 8, ["text", "position"])
349
+ ])) : p("", !0),
350
+ r("div", nt, [
351
+ r("div", ot, [
352
+ r("div", it, [
353
+ l(s).direction === "incoming" || !l(s).direction ? (o(), L(et, {
354
+ key: 0,
355
+ class: "call-message__direction-icon",
356
+ color: se.value
357
+ }, null, 8, ["color"])) : (o(), L(tt, {
358
+ key: 1,
359
+ class: "call-message__direction-icon",
360
+ color: se.value
361
+ }, null, 8, ["color"])),
362
+ le.value ? (o(), L(ve, {
363
+ key: 2,
364
+ text: le.value,
365
+ position: "top",
366
+ offset: 8
367
+ }, {
368
+ default: E(() => [
369
+ l(s).isMissedCall ? (o(), i("span", ut, [
370
+ h(c(I.value) + " ", 1),
371
+ l(s).direction !== "incoming" ? (o(), i(g, { key: 0 }, [
372
+ h(" звонок ")
373
+ ], 64)) : (o(), i(g, { key: 1 }, [
374
+ h(" звонок ")
313
375
  ], 64))
314
- ])) : (n(), c("span", et, [
315
- _(u(I.value) + " звонок ", 1),
316
- s("span", tt, u(S.value) + " " + u(l(a).callParticipant), 1)
317
- ]))
318
- ], 64))
319
- ]),
320
- l(a).isMissedCall ? (n(), c("p", st, u(ke.value) + ": " + u(l(a).callAttemptDuration), 1)) : C("", !0),
321
- l(a).url && !l(a).isMissedCall ? (n(), c("div", ot, [
322
- s("audio", {
323
- ref_key: "player",
324
- ref: o,
325
- src: b.value,
326
- type: "audio/webm",
327
- onLoadedmetadata: ye,
328
- onTimeupdate: we,
329
- onEnded: be,
330
- onError: xe
331
- }, null, 40, nt),
332
- B(s("button", {
333
- class: "call-message__audio-play",
334
- type: "button",
335
- onClick: G
336
- }, [...t[10] || (t[10] = [
337
- s("div", { class: "call-message__audio-play-icon" }, [
338
- s("svg", {
339
- width: "20",
340
- height: "23",
341
- viewBox: "0 0 20 23",
342
- fill: "none",
343
- xmlns: "http://www.w3.org/2000/svg"
344
- }, [
345
- s("path", {
346
- d: "M18.99 12.9934L3.0825 22.2234C1.7325 23.0059 0 22.0584 0 20.4809V2.02087C0 0.44587 1.73 -0.50413 3.0825 0.28087L18.99 9.51087C19.2971 9.68618 19.5524 9.93959 19.7299 10.2454C19.9075 10.5512 20.001 10.8985 20.001 11.2521C20.001 11.6057 19.9075 11.953 19.7299 12.2589C19.5524 12.5647 19.2971 12.8181 18.99 12.9934Z",
347
- fill: "#5F5F5F"
348
- })
349
- ])
350
- ], -1)
351
- ])], 512), [
352
- [se, !m.value]
353
- ]),
354
- B(s("button", {
355
- class: "call-message__audio-pause",
356
- type: "button",
357
- onClick: G
358
- }, [...t[11] || (t[11] = [
359
- s("div", { class: "call-message__audio-pause-icon" }, [
360
- s("svg", {
361
- width: "20",
362
- height: "23",
363
- viewBox: "0 0 20 23",
364
- fill: "none",
365
- xmlns: "http://www.w3.org/2000/svg"
366
- }, [
367
- s("path", {
368
- d: "M3.75 0C4.74456 0 5.69839 0.395088 6.40165 1.09835C7.10491 1.80161 7.5 2.75544 7.5 3.75V18.75C7.5 19.7446 7.10491 20.6984 6.40165 21.4017C5.69839 22.1049 4.74456 22.5 3.75 22.5C2.75544 22.5 1.80161 22.1049 1.09835 21.4017C0.395088 20.6984 0 19.7446 0 18.75V3.75C0 2.75544 0.395088 1.80161 1.09835 1.09835C1.80161 0.395088 2.75544 0 3.75 0ZM16.25 0C17.2446 0 18.1984 0.395088 18.9017 1.09835C19.6049 1.80161 20 2.75544 20 3.75V18.75C20 19.7446 19.6049 20.6984 18.9017 21.4017C18.1984 22.1049 17.2446 22.5 16.25 22.5C15.2554 22.5 14.3016 22.1049 13.5983 21.4017C12.8951 20.6984 12.5 19.7446 12.5 18.75V3.75C12.5 2.75544 12.8951 1.80161 13.5983 1.09835C14.3016 0.395088 15.2554 0 16.25 0Z",
369
- fill: "#5F5F5F"
370
- })
371
- ])
372
- ], -1)
373
- ])], 512), [
374
- [se, m.value]
376
+ ])) : (o(), i("span", rt, c(I.value) + " звонок ", 1))
375
377
  ]),
376
- s("div", it, [
377
- s("div", ut, [
378
- B(s("input", {
379
- "onUpdate:modelValue": t[0] || (t[0] = (i) => v.value = i),
380
- class: "call-message__audio-slider",
381
- type: "range",
382
- min: 0,
383
- max: h.value,
384
- step: "0.1",
385
- onMousedown: t[1] || (t[1] = (i) => y.value = !0),
386
- onMouseup: J,
387
- onTouchstartPassive: t[2] || (t[2] = (i) => y.value = !0),
388
- onTouchendPassive: J
389
- }, null, 40, rt), [
390
- [Ee, v.value]
391
- ]),
392
- s("button", {
393
- type: "button",
394
- class: "call-message__audio-speed-btn",
395
- onClick: he
396
- }, u(P.value.text), 1)
397
- ]),
398
- s("div", ct, [
399
- s("span", null, u(fe.value), 1),
400
- s("span", null, u(Ce.value), 1)
378
+ _: 1
379
+ }, 8, ["text"])) : (o(), i(g, { key: 3 }, [
380
+ l(s).isMissedCall ? (o(), i("span", dt, [
381
+ h(c(I.value) + " ", 1),
382
+ l(s).direction !== "incoming" ? (o(), i(g, { key: 0 }, [
383
+ h(" звонок ")
384
+ ], 64)) : (o(), i(g, { key: 1 }, [
385
+ h(" звонок ")
386
+ ], 64))
387
+ ])) : (o(), i("span", ct, c(I.value) + " звонок ", 1))
388
+ ], 64))
389
+ ]),
390
+ l(s).isMissedCall ? (o(), i("p", mt, c(De.value) + ": " + c(l(s).callAttemptDuration), 1)) : p("", !0),
391
+ M.value && !l(s).isMissedCall ? (o(), i("div", vt, [
392
+ r("audio", {
393
+ ref_key: "player",
394
+ ref: n,
395
+ src: b.value,
396
+ type: "audio/webm",
397
+ onLoadedmetadata: $e,
398
+ onTimeupdate: je,
399
+ onEnded: Ee,
400
+ onError: Le
401
+ }, null, 40, pt),
402
+ Z(r("button", {
403
+ class: "call-message__audio-play",
404
+ type: "button",
405
+ onClick: te
406
+ }, [...t[7] || (t[7] = [
407
+ r("div", { class: "call-message__audio-play-icon" }, [
408
+ r("svg", {
409
+ width: "20",
410
+ height: "23",
411
+ viewBox: "0 0 20 23",
412
+ fill: "none",
413
+ xmlns: "http://www.w3.org/2000/svg"
414
+ }, [
415
+ r("path", {
416
+ d: "M18.99 12.9934L3.0825 22.2234C1.7325 23.0059 0 22.0584 0 20.4809V2.02087C0 0.44587 1.73 -0.50413 3.0825 0.28087L18.99 9.51087C19.2971 9.68618 19.5524 9.93959 19.7299 10.2454C19.9075 10.5512 20.001 10.8985 20.001 11.2521C20.001 11.6057 19.9075 11.953 19.7299 12.2589C19.5524 12.5647 19.2971 12.8181 18.99 12.9934Z",
417
+ fill: "#5F5F5F"
418
+ })
401
419
  ])
420
+ ], -1)
421
+ ])], 512), [
422
+ [ce, !v.value]
423
+ ]),
424
+ Z(r("button", {
425
+ class: "call-message__audio-pause",
426
+ type: "button",
427
+ onClick: te
428
+ }, [...t[8] || (t[8] = [
429
+ r("div", { class: "call-message__audio-pause-icon" }, [
430
+ r("svg", {
431
+ width: "20",
432
+ height: "23",
433
+ viewBox: "0 0 20 23",
434
+ fill: "none",
435
+ xmlns: "http://www.w3.org/2000/svg"
436
+ }, [
437
+ r("path", {
438
+ d: "M3.75 0C4.74456 0 5.69839 0.395088 6.40165 1.09835C7.10491 1.80161 7.5 2.75544 7.5 3.75V18.75C7.5 19.7446 7.10491 20.6984 6.40165 21.4017C5.69839 22.1049 4.74456 22.5 3.75 22.5C2.75544 22.5 1.80161 22.1049 1.09835 21.4017C0.395088 20.6984 0 19.7446 0 18.75V3.75C0 2.75544 0.395088 1.80161 1.09835 1.09835C1.80161 0.395088 2.75544 0 3.75 0ZM16.25 0C17.2446 0 18.1984 0.395088 18.9017 1.09835C19.6049 1.80161 20 2.75544 20 3.75V18.75C20 19.7446 19.6049 20.6984 18.9017 21.4017C18.1984 22.1049 17.2446 22.5 16.25 22.5C15.2554 22.5 14.3016 22.1049 13.5983 21.4017C12.8951 20.6984 12.5 19.7446 12.5 18.75V3.75C12.5 2.75544 12.8951 1.80161 13.5983 1.09835C14.3016 0.395088 15.2554 0 16.25 0Z",
439
+ fill: "#5F5F5F"
440
+ })
441
+ ])
442
+ ], -1)
443
+ ])], 512), [
444
+ [ce, v.value]
445
+ ]),
446
+ r("div", ft, [
447
+ r("div", gt, [
448
+ Z(r("input", {
449
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => f.value = a),
450
+ class: "call-message__audio-slider",
451
+ type: "range",
452
+ min: 0,
453
+ max: C.value,
454
+ step: "0.1",
455
+ onMousedown: t[1] || (t[1] = (a) => x.value = !0),
456
+ onMouseup: ae,
457
+ onTouchstartPassive: t[2] || (t[2] = (a) => x.value = !0),
458
+ onTouchendPassive: ae
459
+ }, null, 40, _t), [
460
+ [Ke, f.value]
461
+ ]),
462
+ r("button", {
463
+ type: "button",
464
+ class: "call-message__audio-speed-btn",
465
+ onClick: Ae
466
+ }, c(U.value.text), 1)
467
+ ]),
468
+ r("div", yt, [
469
+ r("span", null, c(Ne.value), 1),
470
+ r("span", null, c(Ie.value), 1)
402
471
  ])
403
- ])) : C("", !0)
404
- ]),
405
- s("div", dt, [
406
- s("button", {
472
+ ])
473
+ ])) : p("", !0)
474
+ ]),
475
+ r("div", ht, [
476
+ r("div", Ct, [
477
+ l(s).isMissedCall ? p("", !0) : (o(), i("button", {
478
+ key: 0,
479
+ class: B([
480
+ "call-message__call-button",
481
+ { "call-message__call-button--active": _.value === "text" }
482
+ ]),
483
+ type: "button",
484
+ onClick: Be
485
+ }, " Текст ", 2)),
486
+ l(s).isMissedCall ? p("", !0) : (o(), i("button", {
487
+ key: 1,
488
+ class: B([
489
+ "call-message__call-button",
490
+ { "call-message__call-button--active": _.value === "summary" }
491
+ ]),
492
+ type: "button",
493
+ onClick: Oe
494
+ }, " Резюме ", 2)),
495
+ r("button", {
407
496
  class: "call-message__call-button",
408
497
  type: "button",
409
- onClick: Me
410
- }, " Нажмите, чтобы перезвонить "),
411
- s("span", mt, u(l(a).time), 1)
498
+ onClick: Ue
499
+ }, " Перезвонить ")
412
500
  ]),
413
- (r = l(a).transcript) != null && r.dialog ? (n(), c("button", {
414
- key: 0,
415
- class: "call-message__download-button",
416
- onClick: t[3] || (t[3] = (i) => F.value = !F.value)
417
- }, [...t[12] || (t[12] = [
418
- s("span", { class: "pi pi-arrow-up-right" }, null, -1)
419
- ])])) : C("", !0),
420
- l(pe) && l(a).actions ? (n(), c("button", {
421
- key: 1,
422
- class: "call-message__menu-button",
423
- onClick: t[4] || (t[4] = (i) => E.value = !l(E))
424
- }, [...t[13] || (t[13] = [
425
- s("svg", {
426
- width: "4",
427
- height: "17",
428
- viewBox: "0 0 4 17",
429
- fill: "none",
430
- xmlns: "http://www.w3.org/2000/svg"
431
- }, [
432
- s("path", {
433
- d: "M3.75 14.375C3.75 14.8723 3.55246 15.3492 3.20083 15.7008C2.84919 16.0525 2.37228 16.25 1.875 16.25C1.37772 16.25 0.900805 16.0525 0.549175 15.7008C0.197544 15.3492 0 14.8723 0 14.375C0 13.8777 0.197544 13.4008 0.549175 13.0492C0.900805 12.6975 1.37772 12.5 1.875 12.5C2.37228 12.5 2.84919 12.6975 3.20083 13.0492C3.55246 13.4008 3.75 13.8777 3.75 14.375ZM3.75 8.125C3.75 8.62228 3.55246 9.09919 3.20083 9.45083C2.84919 9.80246 2.37228 10 1.875 10C1.37772 10 0.900805 9.80246 0.549175 9.45083C0.197544 9.09919 0 8.62228 0 8.125C0 7.62772 0.197544 7.15081 0.549175 6.79917C0.900805 6.44754 1.37772 6.25 1.875 6.25C2.37228 6.25 2.84919 6.44754 3.20083 6.79917C3.55246 7.15081 3.75 7.62772 3.75 8.125ZM3.75 1.875C3.75 2.37228 3.55246 2.84919 3.20083 3.20083C2.84919 3.55246 2.37228 3.75 1.875 3.75C1.37772 3.75 0.900805 3.55246 0.549175 3.20083C0.197544 2.84919 0 2.37228 0 1.875C0 1.37772 0.197544 0.900806 0.549175 0.549175C0.900805 0.197544 1.37772 0 1.875 0C2.37228 0 2.84919 0.197544 3.20083 0.549175C3.55246 0.900806 3.75 1.37772 3.75 1.875Z",
434
- fill: "#5F5F5F"
435
- })
436
- ], -1)
437
- ])])) : C("", !0),
438
- j(oe, null, {
439
- default: $(() => [
440
- l(E) && l(a).actions ? (n(), T(Ue, {
441
- key: 0,
442
- class: "call-message__context-menu",
443
- actions: l(a).actions,
444
- onClick: Ne
445
- }, null, 8, ["actions"])) : C("", !0)
446
- ]),
447
- _: 1
448
- }),
449
- (n(), T(Ve, { to: "body" }, [
450
- j(oe, { name: "modal-fade" }, {
451
- default: $(() => {
452
- var i;
453
- return [
454
- F.value ? (n(), c("div", {
455
- key: 0,
456
- class: "call-message__modal-overlay",
457
- "data-theme": l(U)().theme ? l(U)().theme : "light"
458
- }, [
459
- s("div", pt, [
460
- s("button", {
461
- class: "call-message__modal-close-button",
462
- onClick: t[5] || (t[5] = (d) => F.value = !1)
463
- }, [...t[14] || (t[14] = [
464
- s("span", null, [
465
- s("i", { class: "pi pi-times" })
466
- ], -1)
467
- ])]),
468
- (n(!0), c(w, null, Le((i = l(a).transcript) == null ? void 0 : i.dialog, (d) => (n(), c("div", {
469
- key: d.time,
470
- class: le(Y(d, X.textDialog))
471
- }, [
472
- s("p", null, u(d.text), 1),
473
- s("span", null, u(d.time), 1)
474
- ], 2))), 128))
475
- ])
476
- ], 8, vt)) : C("", !0)
477
- ];
478
- }),
479
- _: 1
501
+ r("span", xt, c(l(s).time), 1)
502
+ ]),
503
+ O(de, { name: "call-message-expand" }, {
504
+ default: E(() => [
505
+ _.value ? (o(), i("div", bt, [
506
+ r("div", kt, [
507
+ _.value === "text" ? (o(), i(g, { key: 0 }, [
508
+ W.value ? p("", !0) : (o(), i("p", wt, c(pe))),
509
+ (o(!0), i(g, null, me(S.value, (a, u) => (o(), i("p", {
510
+ key: `tr-${u}`,
511
+ class: "call-message__expand-line"
512
+ }, c(a.text), 1))), 128)),
513
+ S.value.length ? p("", !0) : (o(), i(g, { key: 1 }, [
514
+ (o(!0), i(g, null, me(Q.value, (a, u) => (o(), i("p", {
515
+ key: `tr-fallback-${u}`,
516
+ class: "call-message__expand-line"
517
+ }, c(a), 1))), 128)),
518
+ Q.value.length ? p("", !0) : (o(), i("p", Tt, c(K.value), 1))
519
+ ], 64))
520
+ ], 64)) : (o(), i("p", Mt, [
521
+ X.value ? (o(), i(g, { key: 1 }, [
522
+ h(c(Se.value), 1)
523
+ ], 64)) : (o(), i("span", St, c(pe)))
524
+ ]))
525
+ ]),
526
+ r("div", Ft, [
527
+ r("button", {
528
+ type: "button",
529
+ class: "call-message__expand-close",
530
+ onClick: t[3] || (t[3] = (a) => _.value = null)
531
+ }, " Закрыть ")
532
+ ])
533
+ ])) : p("", !0)
534
+ ]),
535
+ _: 1
536
+ }),
537
+ l(Te) && l(s).actions ? (o(), i("button", {
538
+ key: 0,
539
+ class: "call-message__menu-button",
540
+ onClick: t[4] || (t[4] = (a) => R.value = !l(R))
541
+ }, [...t[9] || (t[9] = [
542
+ r("svg", {
543
+ width: "4",
544
+ height: "17",
545
+ viewBox: "0 0 4 17",
546
+ fill: "none",
547
+ xmlns: "http://www.w3.org/2000/svg"
548
+ }, [
549
+ r("path", {
550
+ d: "M3.75 14.375C3.75 14.8723 3.55246 15.3492 3.20083 15.7008C2.84919 16.0525 2.37228 16.25 1.875 16.25C1.37772 16.25 0.900805 16.0525 0.549175 15.7008C0.197544 15.3492 0 14.8723 0 14.375C0 13.8777 0.197544 13.4008 0.549175 13.0492C0.900805 12.6975 1.37772 12.5 1.875 12.5C2.37228 12.5 2.84919 12.6975 3.20083 13.0492C3.55246 13.4008 3.75 13.8777 3.75 14.375ZM3.75 8.125C3.75 8.62228 3.55246 9.09919 3.20083 9.45083C2.84919 9.80246 2.37228 10 1.875 10C1.37772 10 0.900805 9.80246 0.549175 9.45083C0.197544 9.09919 0 8.62228 0 8.125C0 7.62772 0.197544 7.15081 0.549175 6.79917C0.900805 6.44754 1.37772 6.25 1.875 6.25C2.37228 6.25 2.84919 6.44754 3.20083 6.79917C3.55246 7.15081 3.75 7.62772 3.75 8.125ZM3.75 1.875C3.75 2.37228 3.55246 2.84919 3.20083 3.20083C2.84919 3.55246 2.37228 3.75 1.875 3.75C1.37772 3.75 0.900805 3.55246 0.549175 3.20083C0.197544 2.84919 0 2.37228 0 1.875C0 1.37772 0.197544 0.900806 0.549175 0.549175C0.900805 0.197544 1.37772 0 1.875 0C2.37228 0 2.84919 0.197544 3.20083 0.549175C3.55246 0.900806 3.75 1.37772 3.75 1.875Z",
551
+ fill: "#5F5F5F"
480
552
  })
481
- ]))
482
- ])
483
- ], 42, qe);
484
- };
553
+ ], -1)
554
+ ])])) : p("", !0),
555
+ O(de, null, {
556
+ default: E(() => [
557
+ l(R) && l(s).actions ? (o(), L(Ye, {
558
+ key: 0,
559
+ class: "call-message__context-menu",
560
+ actions: l(s).actions,
561
+ onClick: qe
562
+ }, null, 8, ["actions"])) : p("", !0)
563
+ ]),
564
+ _: 1
565
+ })
566
+ ])
567
+ ], 42, at));
485
568
  }
486
569
  });
487
570
  export {
488
- At as default
571
+ Ut as default
489
572
  };