@mobilon-dev/chotto 0.0.41 → 0.0.43

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,4 +1,4 @@
1
- import { openBlock as u, createElementBlock as c, createElementVNode as o, Fragment as B, renderList as Y, normalizeClass as D, createCommentVNode as y, toDisplayString as w, ref as b, computed as T, normalizeStyle as z, createTextVNode as wn, unref as q, createVNode as S, Transition as H, withCtx as K, createBlock as L, Teleport as kn, onMounted as Ie, withDirectives as te, vShow as pe, renderSlot as J, defineComponent as de, inject as Ge, getCurrentInstance as Nn, toRaw as Zf, watch as we, onBeforeUnmount as Dn, provide as jn, reactive as Vn, readonly as En, vModelText as Gf, resolveComponent as Je, onUnmounted as Tn, mergeModels as zf, useModel as xn, withKeys as Sn, onUpdated as zn, resolveDynamicComponent as On, nextTick as lf, toRef as Cn, vModelCheckbox as Un, h as Of, defineAsyncComponent as Ln, createApp as Qn } from "vue";
1
+ import { openBlock as l, createElementBlock as c, createElementVNode as o, Fragment as B, renderList as Y, normalizeClass as D, createCommentVNode as y, toDisplayString as w, ref as b, computed as x, normalizeStyle as z, createTextVNode as wn, unref as q, createVNode as S, Transition as H, withCtx as K, createBlock as L, Teleport as kn, onMounted as Ie, withDirectives as te, vShow as pe, renderSlot as J, defineComponent as de, inject as Ge, getCurrentInstance as Nn, toRaw as Zf, watch as we, onBeforeUnmount as Dn, provide as jn, reactive as Vn, readonly as En, vModelText as Gf, resolveComponent as Je, onUnmounted as Tn, mergeModels as zf, useModel as xn, withKeys as Sn, onUpdated as zn, resolveDynamicComponent as On, nextTick as uf, toRef as Cn, vModelCheckbox as Un, h as Of, defineAsyncComponent as Ln, createApp as Qn } from "vue";
2
2
  const j = (e, f) => {
3
3
  const n = e.__vccOpts || e;
4
4
  for (const [a, t] of f)
@@ -18,20 +18,20 @@ const j = (e, f) => {
18
18
  const A = n.actions[s];
19
19
  a("click", A);
20
20
  };
21
- return (s, A) => (u(), c("div", Bn, [
21
+ return (s, A) => (l(), c("div", Bn, [
22
22
  o("div", Yn, [
23
23
  o("ul", Rn, [
24
- (u(!0), c(B, null, Y(n.actions, (i, l) => (u(), c("li", {
25
- key: l,
24
+ (l(!0), c(B, null, Y(n.actions, (i, u) => (l(), c("li", {
25
+ key: u,
26
26
  class: "context-menu__item",
27
- onClick: (r) => t(l)
27
+ onClick: (r) => t(u)
28
28
  }, [
29
- i.icon ? (u(), c("img", {
29
+ i.icon ? (l(), c("img", {
30
30
  key: 0,
31
31
  src: i.icon,
32
32
  width: "18",
33
33
  height: "18"
34
- }, null, 8, Fn)) : i.prime ? (u(), c("i", {
34
+ }, null, 8, Fn)) : i.prime ? (l(), c("i", {
35
35
  key: 1,
36
36
  class: D("pi pi-" + i.prime)
37
37
  }, null, 2)) : y("", !0),
@@ -42,12 +42,12 @@ const j = (e, f) => {
42
42
  ]));
43
43
  }
44
44
  }, ge = /* @__PURE__ */ j($n, [["__scopeId", "data-v-54c29e54"]]);
45
- function W1(e) {
45
+ function P1(e) {
46
46
  if (!e || e === "") return;
47
47
  const f = +new Date(Number(e) * 1e3), n = +/* @__PURE__ */ new Date(), a = Math.floor((n - f) / 1e3), t = Math.floor(a / 60), s = Math.floor(t / 60), A = Math.floor(s / 24);
48
48
  return A > 30 ? f.toLocaleString() : A > 0 ? `${A} ${A === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : t > 0 ? `${t} ${t === 1 ? "минута" : "минуты"} назад` : a > 0 ? `${a} ${a === 1 ? "секунда" : "секунды"} назад` : "Только что";
49
49
  }
50
- const J1 = (e) => {
50
+ const Z1 = (e) => {
51
51
  const f = [];
52
52
  let n = null;
53
53
  for (let a = 0; a < e.length; a++) {
@@ -61,7 +61,7 @@ const J1 = (e) => {
61
61
  }), n = s), f.push(t);
62
62
  }
63
63
  return f;
64
- }, H1 = async () => {
64
+ }, G1 = async () => {
65
65
  try {
66
66
  if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
67
67
  const f = new Audio();
@@ -70,7 +70,7 @@ const J1 = (e) => {
70
70
  } catch {
71
71
  console.log("no audio permissions");
72
72
  }
73
- }, K1 = (e) => e.sort((f, n) => Number(f.timestamp) < Number(n.timestamp) ? -1 : Number(f.timestamp) > Number(n.timestamp) ? 1 : 0), Cf = (e) => {
73
+ }, X1 = (e) => e.sort((f, n) => Number(f.timestamp) < Number(n.timestamp) ? -1 : Number(f.timestamp) > Number(n.timestamp) ? 1 : 0), Cf = (e) => {
74
74
  let f = "file";
75
75
  return e.startsWith("image/") ? f = "image" : e.startsWith("video/") ? f = "video" : e.startsWith("audio/") && (f = "audio"), f;
76
76
  }, ke = ["read", "received", "send"], Ne = (e) => {
@@ -88,7 +88,7 @@ const J1 = (e) => {
88
88
  }, Kn = ["href"], Pn = { class: "file-message__info-container" }, Zn = { class: "file-message__time" }, Gn = {
89
89
  key: 0,
90
90
  class: "pi pi-check"
91
- }, Xn = {
91
+ }, Xn = ["href"], ea = {
92
92
  __name: "FileMessage",
93
93
  props: {
94
94
  message: {
@@ -101,16 +101,16 @@ const J1 = (e) => {
101
101
  a.value = !0;
102
102
  }, s = () => {
103
103
  a.value = !1, n.value = !1;
104
- }, A = T(() => Ne(f.message.status));
105
- function i(l) {
106
- return l.position === "left" ? "file-message__left" : "file-message__right";
104
+ }, A = x(() => Ne(f.message.status));
105
+ function i(u) {
106
+ return u.position === "left" ? "file-message__left" : "file-message__right";
107
107
  }
108
- return (l, r) => (u(), c("div", {
108
+ return (u, r) => (l(), c("div", {
109
109
  class: D(["file-message", i(e.message)]),
110
110
  messageId: e.message.messageId,
111
111
  onMouseleave: s
112
112
  }, [
113
- e.message.avatar ? (u(), c("img", {
113
+ e.message.avatar ? (l(), c("img", {
114
114
  key: 0,
115
115
  class: "file-message__avatar",
116
116
  src: e.message.avatar,
@@ -118,7 +118,7 @@ const J1 = (e) => {
118
118
  width: "32",
119
119
  style: z({ gridRow: e.message.subText ? "2" : "1" })
120
120
  }, null, 12, Jn)) : y("", !0),
121
- e.message.subText ? (u(), c("p", Hn, w(e.message.subText), 1)) : y("", !0),
121
+ e.message.subText ? (l(), c("p", Hn, w(e.message.subText), 1)) : y("", !0),
122
122
  o("div", {
123
123
  class: "file-message__content",
124
124
  onMouseenter: t
@@ -134,31 +134,36 @@ const J1 = (e) => {
134
134
  ], 8, Kn),
135
135
  o("div", Pn, [
136
136
  o("span", Zn, w(e.message.time), 1),
137
- i(e.message) === "file-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
137
+ i(e.message) === "file-message__right" && q(ke).includes(e.message.status) ? (l(), c("div", {
138
138
  key: 0,
139
139
  class: D(["file-message__status", A.value])
140
140
  }, [
141
- e.message.status !== "sent" ? (u(), c("span", Gn)) : y("", !0),
141
+ e.message.status !== "sent" ? (l(), c("span", Gn)) : y("", !0),
142
142
  r[2] || (r[2] = o("span", { class: "pi pi-check" }, null, -1))
143
143
  ], 2)) : y("", !0)
144
144
  ]),
145
- a.value && e.message.actions ? (u(), c("button", {
145
+ a.value && e.message.actions ? (l(), c("button", {
146
146
  key: 0,
147
147
  class: "file-message__menu-button",
148
148
  onClick: r[0] || (r[0] = (g) => n.value = !n.value)
149
149
  }, r[3] || (r[3] = [
150
150
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
151
151
  ]))) : y("", !0),
152
- r[4] || (r[4] = o("button", { class: "file-message__download-button" }, [
153
- o("span", { class: "pi pi-download" })
154
- ], -1)),
152
+ o("a", {
153
+ class: "file-message__download-button",
154
+ href: e.message.url,
155
+ download: "",
156
+ target: "_blank"
157
+ }, r[4] || (r[4] = [
158
+ o("span", { class: "pi pi-download" }, null, -1)
159
+ ]), 8, Xn),
155
160
  S(H, null, {
156
161
  default: K(() => [
157
- n.value && e.message.actions ? (u(), L(ge, {
162
+ n.value && e.message.actions ? (l(), L(ge, {
158
163
  key: 0,
159
164
  class: "file-message__context-menu",
160
165
  actions: e.message.actions,
161
- onClick: l.clickAction
166
+ onClick: u.clickAction
162
167
  }, null, 8, ["actions", "onClick"])) : y("", !0)
163
168
  ]),
164
169
  _: 1
@@ -166,19 +171,19 @@ const J1 = (e) => {
166
171
  ], 32)
167
172
  ], 42, Wn));
168
173
  }
169
- }, ea = /* @__PURE__ */ j(Xn, [["__scopeId", "data-v-2c6ad2e0"]]), fa = ["messageId"], na = ["src"], aa = {
174
+ }, fa = /* @__PURE__ */ j(ea, [["__scopeId", "data-v-466aa00c"]]), na = ["messageId"], aa = ["src"], ta = {
170
175
  key: 1,
171
176
  class: "image-message__subtext"
172
- }, ta = ["src", "alt"], Aa = { class: "image-message__info-container" }, sa = {
177
+ }, Aa = ["src", "alt"], sa = { class: "image-message__info-container" }, ia = {
173
178
  key: 0,
174
179
  class: "image-message__views"
175
- }, ia = { class: "image-message__time" }, oa = {
180
+ }, oa = { class: "image-message__time" }, la = {
176
181
  key: 0,
177
182
  class: "pi pi-check"
178
- }, ua = {
183
+ }, ua = ["href"], ra = {
179
184
  key: 0,
180
185
  class: "image-message__modal-overlay"
181
- }, la = { class: "image-message__modal" }, ra = ["src", "alt"], ca = {
186
+ }, ca = { class: "image-message__modal" }, da = ["src", "alt"], ga = {
182
187
  __name: "ImageMessage",
183
188
  props: {
184
189
  message: {
@@ -191,24 +196,24 @@ const J1 = (e) => {
191
196
  t.value = !0;
192
197
  }, A = () => {
193
198
  t.value = !1, a.value = !1;
194
- }, i = T(() => Ne(f.message.status));
195
- function l(r) {
199
+ }, i = x(() => Ne(f.message.status));
200
+ function u(r) {
196
201
  return r.position === "left" ? "image-message__left" : "image-message__right";
197
202
  }
198
- return (r, g) => (u(), c("div", {
199
- class: D(["image-message", l(e.message)]),
203
+ return (r, g) => (l(), c("div", {
204
+ class: D(["image-message", u(e.message)]),
200
205
  messageId: e.message.messageId,
201
206
  onMouseleave: A
202
207
  }, [
203
- e.message.avatar ? (u(), c("img", {
208
+ e.message.avatar ? (l(), c("img", {
204
209
  key: 0,
205
210
  class: "image-message__avatar",
206
211
  src: e.message.avatar,
207
212
  height: "32",
208
213
  width: "32",
209
214
  style: z({ gridRow: e.message.subText ? "2" : "1" })
210
- }, null, 12, na)) : y("", !0),
211
- e.message.subText ? (u(), c("p", aa, w(e.message.subText), 1)) : y("", !0),
215
+ }, null, 12, aa)) : y("", !0),
216
+ e.message.subText ? (l(), c("p", ta, w(e.message.subText), 1)) : y("", !0),
212
217
  o("div", {
213
218
  class: "image-message__content",
214
219
  onMouseenter: s
@@ -221,30 +226,35 @@ const J1 = (e) => {
221
226
  class: "image-message__preview-image",
222
227
  src: e.message.url,
223
228
  alt: e.message.alt
224
- }, null, 8, ta),
225
- o("div", Aa, [
226
- e.message.views ? (u(), c("div", sa, [
229
+ }, null, 8, Aa),
230
+ o("div", sa, [
231
+ e.message.views ? (l(), c("div", ia, [
227
232
  g[3] || (g[3] = o("span", { class: "pi pi-eye" }, null, -1)),
228
233
  o("p", null, w(e.message.views), 1)
229
234
  ])) : y("", !0),
230
- o("span", ia, w(e.message.time), 1),
231
- l(e.message) === "image-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
235
+ o("span", oa, w(e.message.time), 1),
236
+ u(e.message) === "image-message__right" && q(ke).includes(e.message.status) ? (l(), c("div", {
232
237
  key: 1,
233
238
  class: D(["image-message__status", i.value])
234
239
  }, [
235
- e.message.status !== "sent" ? (u(), c("span", oa)) : y("", !0),
240
+ e.message.status !== "sent" ? (l(), c("span", la)) : y("", !0),
236
241
  g[4] || (g[4] = o("span", { class: "pi pi-check" }, null, -1))
237
242
  ], 2)) : y("", !0)
238
243
  ]),
239
- g[5] || (g[5] = o("button", { class: "image-message__download-button" }, [
240
- o("span", { class: "pi pi-download" })
241
- ], -1))
244
+ o("a", {
245
+ class: "image-message__download-button",
246
+ href: e.message.url,
247
+ download: "",
248
+ target: "_blank"
249
+ }, g[5] || (g[5] = [
250
+ o("span", { class: "pi pi-download" }, null, -1)
251
+ ]), 8, ua)
242
252
  ]),
243
- (u(), L(kn, { to: "body" }, [
253
+ (l(), L(kn, { to: "body" }, [
244
254
  S(H, { name: "modal-fade" }, {
245
255
  default: K(() => [
246
- n.value ? (u(), c("div", ua, [
247
- o("div", la, [
256
+ n.value ? (l(), c("div", ra, [
257
+ o("div", ca, [
248
258
  o("button", {
249
259
  class: "image-message__modal-close-button",
250
260
  onClick: g[1] || (g[1] = (d) => n.value = !1)
@@ -257,14 +267,14 @@ const J1 = (e) => {
257
267
  class: "image-message__modal-image",
258
268
  src: e.message.url,
259
269
  alt: e.message.alt
260
- }, null, 8, ra)
270
+ }, null, 8, da)
261
271
  ])
262
272
  ])) : y("", !0)
263
273
  ]),
264
274
  _: 1
265
275
  })
266
276
  ])),
267
- t.value && e.message.actions ? (u(), c("button", {
277
+ t.value && e.message.actions ? (l(), c("button", {
268
278
  key: 0,
269
279
  class: "image-message__menu-button",
270
280
  onClick: g[2] || (g[2] = (d) => a.value = !a.value)
@@ -273,7 +283,7 @@ const J1 = (e) => {
273
283
  ]))) : y("", !0),
274
284
  S(H, { name: "context-menu" }, {
275
285
  default: K(() => [
276
- a.value && e.message.actions ? (u(), L(ge, {
286
+ a.value && e.message.actions ? (l(), L(ge, {
277
287
  key: 0,
278
288
  class: "image-message__context-menu",
279
289
  actions: e.message.actions,
@@ -283,18 +293,18 @@ const J1 = (e) => {
283
293
  _: 1
284
294
  })
285
295
  ], 32)
286
- ], 42, fa));
296
+ ], 42, na));
287
297
  }
288
- }, da = /* @__PURE__ */ j(ca, [["__scopeId", "data-v-6bc7c6d4"]]), ga = { class: "text-message" }, ma = ["messageId"], pa = ["src"], Ma = {
298
+ }, ma = /* @__PURE__ */ j(ga, [["__scopeId", "data-v-199dd630"]]), pa = { class: "text-message" }, Ma = ["messageId"], ha = ["src"], ya = {
289
299
  key: 1,
290
300
  class: "text-message__subtext"
291
- }, ha = { class: "text-message__text" }, ya = { class: "text-message__info-container" }, ba = {
301
+ }, ba = { class: "text-message__text" }, va = { class: "text-message__info-container" }, _a = {
292
302
  key: 1,
293
303
  class: "text-message__time"
294
- }, va = {
304
+ }, Ia = {
295
305
  key: 0,
296
306
  class: "pi pi-check"
297
- }, _a = {
307
+ }, wa = {
298
308
  __name: "TextMessage",
299
309
  props: {
300
310
  message: {
@@ -308,7 +318,7 @@ const J1 = (e) => {
308
318
  s.value = !0;
309
319
  }, i = () => {
310
320
  s.value = !1, t.value = !1;
311
- }, l = T(() => Ne(n.message.status)), r = (m) => {
321
+ }, u = x(() => Ne(n.message.status)), r = (m) => {
312
322
  i(), a("action", { messageId: n.message.messageId, type: "menu", ...m });
313
323
  }, g = () => {
314
324
  i(), a("action", { messageId: n.message.messageId, type: "views" });
@@ -316,28 +326,28 @@ const J1 = (e) => {
316
326
  function d(m) {
317
327
  return m.position === "left" ? "text-message__left" : "text-message__right";
318
328
  }
319
- return (m, p) => (u(), c("div", ga, [
329
+ return (m, p) => (l(), c("div", pa, [
320
330
  o("div", {
321
331
  class: D(d(e.message)),
322
332
  messageId: e.message.messageId,
323
333
  onMouseleave: i
324
334
  }, [
325
- e.message.avatar ? (u(), c("img", {
335
+ e.message.avatar ? (l(), c("img", {
326
336
  key: 0,
327
337
  class: "text-message__avatar",
328
338
  src: e.message.avatar,
329
339
  height: "32",
330
340
  width: "32",
331
341
  style: z({ gridRow: e.message.subText ? "2" : "1" })
332
- }, null, 12, pa)) : y("", !0),
333
- e.message.subText ? (u(), c("p", Ma, w(e.message.subText), 1)) : y("", !0),
342
+ }, null, 12, ha)) : y("", !0),
343
+ e.message.subText ? (l(), c("p", ya, w(e.message.subText), 1)) : y("", !0),
334
344
  o("div", {
335
345
  class: "text-message__content",
336
346
  onMouseenter: A
337
347
  }, [
338
- o("p", ha, w(e.message.text), 1),
339
- o("div", ya, [
340
- e.message.views ? (u(), c("div", {
348
+ o("p", ba, w(e.message.text), 1),
349
+ o("div", va, [
350
+ e.message.views ? (l(), c("div", {
341
351
  key: 0,
342
352
  class: "text-message__views",
343
353
  onClick: g
@@ -345,16 +355,16 @@ const J1 = (e) => {
345
355
  p[1] || (p[1] = o("span", { class: "pi pi-eye" }, null, -1)),
346
356
  o("p", null, w(e.message.views), 1)
347
357
  ])) : y("", !0),
348
- e.message.time ? (u(), c("span", ba, w(e.message.time), 1)) : y("", !0),
349
- d(e.message) === "text-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
358
+ e.message.time ? (l(), c("span", _a, w(e.message.time), 1)) : y("", !0),
359
+ d(e.message) === "text-message__right" && q(ke).includes(e.message.status) ? (l(), c("div", {
350
360
  key: 2,
351
- class: D(["text-message__status", l.value])
361
+ class: D(["text-message__status", u.value])
352
362
  }, [
353
- e.message.status !== "send" ? (u(), c("span", va)) : y("", !0),
363
+ e.message.status !== "send" ? (l(), c("span", Ia)) : y("", !0),
354
364
  p[2] || (p[2] = o("span", { class: "pi pi-check" }, null, -1))
355
365
  ], 2)) : y("", !0)
356
366
  ]),
357
- s.value && e.message.actions ? (u(), c("button", {
367
+ s.value && e.message.actions ? (l(), c("button", {
358
368
  key: 0,
359
369
  class: "text-message__menu-button",
360
370
  onClick: p[0] || (p[0] = (h) => t.value = !t.value)
@@ -363,7 +373,7 @@ const J1 = (e) => {
363
373
  ]))) : y("", !0),
364
374
  S(H, null, {
365
375
  default: K(() => [
366
- t.value && e.message.actions ? (u(), L(ge, {
376
+ t.value && e.message.actions ? (l(), L(ge, {
367
377
  key: 0,
368
378
  class: "text-message__context-menu",
369
379
  actions: e.message.actions,
@@ -373,16 +383,16 @@ const J1 = (e) => {
373
383
  _: 1
374
384
  })
375
385
  ], 32)
376
- ], 42, ma)
386
+ ], 42, Ma)
377
387
  ]));
378
388
  }
379
- }, Ia = /* @__PURE__ */ j(_a, [["__scopeId", "data-v-f8d9da21"]]), wa = ["messageId"], ka = ["src"], Na = {
389
+ }, ka = /* @__PURE__ */ j(wa, [["__scopeId", "data-v-f8d9da21"]]), Na = ["messageId"], Da = ["src"], ja = {
380
390
  key: 1,
381
391
  class: "audio-message__subtext"
382
- }, Da = ["src"], ja = { class: "audio-message__progress-bar-container" }, Va = { class: "audio-message__remaining-time" }, Ea = { class: "audio-message__info-container" }, Ta = { class: "audio-message__time" }, xa = {
392
+ }, Va = ["src"], Ea = { class: "audio-message__progress-bar-container" }, Ta = { class: "audio-message__remaining-time" }, xa = { class: "audio-message__info-container" }, Sa = { class: "audio-message__time" }, za = {
383
393
  key: 0,
384
394
  class: "pi pi-check"
385
- }, Sa = {
395
+ }, Oa = ["href"], Ca = {
386
396
  __name: "AudioMessage",
387
397
  props: {
388
398
  message: {
@@ -391,18 +401,18 @@ const J1 = (e) => {
391
401
  }
392
402
  },
393
403
  setup(e) {
394
- const f = e, n = b(null), a = b(!1), t = b(0), s = b(0), A = b(!1), i = b(!1), l = () => {
404
+ const f = e, n = b(null), a = b(!1), t = b(0), s = b(0), A = b(!1), i = b(!1), u = () => {
395
405
  i.value = !0;
396
406
  }, r = () => {
397
407
  i.value = !1, A.value = !1;
398
- }, g = T(() => Ne(f.message.status));
408
+ }, g = x(() => Ne(f.message.status));
399
409
  function d() {
400
410
  n.value && (a.value ? n.value.pause() : n.value.play(), a.value = !a.value);
401
411
  }
402
412
  const m = (k) => {
403
413
  const v = Math.floor(k / 60), _ = Math.floor(k % 60);
404
414
  return `${v.toString().padStart(2, "0")}:${_.toString().padStart(2, "0")}`;
405
- }, p = T(() => n.value ? m(s.value) : "0:00"), h = T(() => n.value ? m(t.value) : "0:00"), I = T(() => t.value > 0 ? s.value / t.value * 100 : 0);
415
+ }, p = x(() => n.value ? m(s.value) : "0:00"), h = x(() => n.value ? m(t.value) : "0:00"), I = x(() => t.value > 0 ? s.value / t.value * 100 : 0);
406
416
  function M(k) {
407
417
  return k.position === "left" ? "audio-message__left" : "audio-message__right";
408
418
  }
@@ -412,29 +422,29 @@ const J1 = (e) => {
412
422
  }), n.value.addEventListener("timeupdate", () => {
413
423
  s.value = n.value.currentTime;
414
424
  });
415
- }), (k, v) => (u(), c("div", {
425
+ }), (k, v) => (l(), c("div", {
416
426
  class: D(["audio-message", M(e.message)]),
417
427
  messageId: e.message.messageId,
418
428
  onMouseleave: r
419
429
  }, [
420
- e.message.avatar ? (u(), c("img", {
430
+ e.message.avatar ? (l(), c("img", {
421
431
  key: 0,
422
432
  class: "audio-message__avatar",
423
433
  src: e.message.avatar,
424
434
  height: "32",
425
435
  width: "32",
426
436
  style: z({ gridRow: e.message.subText ? "2" : "1" })
427
- }, null, 12, ka)) : y("", !0),
428
- e.message.subText ? (u(), c("p", Na, w(e.message.subText), 1)) : y("", !0),
437
+ }, null, 12, Da)) : y("", !0),
438
+ e.message.subText ? (l(), c("p", ja, w(e.message.subText), 1)) : y("", !0),
429
439
  o("div", {
430
440
  class: "audio-message__content",
431
- onMouseenter: l
441
+ onMouseenter: u
432
442
  }, [
433
443
  o("audio", {
434
444
  ref_key: "player",
435
445
  ref: n,
436
446
  src: e.message.url
437
- }, null, 8, Da),
447
+ }, null, 8, Va),
438
448
  te(o("button", {
439
449
  class: "audio-message__play",
440
450
  onClick: d
@@ -451,36 +461,41 @@ const J1 = (e) => {
451
461
  ]), 512), [
452
462
  [pe, a.value]
453
463
  ]),
454
- o("div", ja, [
464
+ o("div", Ea, [
455
465
  o("div", {
456
466
  class: "audio-message__progress-bar",
457
467
  style: z({ width: I.value + "%" })
458
468
  }, null, 4)
459
469
  ]),
460
- o("p", Va, w(`${p.value} / ${h.value}`), 1),
461
- o("div", Ea, [
462
- o("span", Ta, w(e.message.time), 1),
463
- M(e.message) === "audio-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
470
+ o("p", Ta, w(`${p.value} / ${h.value}`), 1),
471
+ o("div", xa, [
472
+ o("span", Sa, w(e.message.time), 1),
473
+ M(e.message) === "audio-message__right" && q(ke).includes(e.message.status) ? (l(), c("div", {
464
474
  key: 0,
465
475
  class: D(["audio-message__status", g.value])
466
476
  }, [
467
- e.message.status !== "sent" ? (u(), c("span", xa)) : y("", !0),
477
+ e.message.status !== "sent" ? (l(), c("span", za)) : y("", !0),
468
478
  v[3] || (v[3] = o("span", { class: "pi pi-check" }, null, -1))
469
479
  ], 2)) : y("", !0)
470
480
  ]),
471
- i.value && e.message.actions ? (u(), c("button", {
481
+ i.value && e.message.actions ? (l(), c("button", {
472
482
  key: 0,
473
483
  class: "audio-message__menu-button",
474
484
  onClick: v[0] || (v[0] = (_) => A.value = !A.value)
475
485
  }, v[4] || (v[4] = [
476
486
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
477
487
  ]))) : y("", !0),
478
- v[5] || (v[5] = o("button", { class: "audio-message__download-button" }, [
479
- o("span", { class: "pi pi-download" })
480
- ], -1)),
488
+ o("a", {
489
+ class: "audio-message__download-button",
490
+ href: e.message.url,
491
+ download: "",
492
+ target: "_blank"
493
+ }, v[5] || (v[5] = [
494
+ o("span", { class: "pi pi-download" }, null, -1)
495
+ ]), 8, Oa),
481
496
  S(H, null, {
482
497
  default: K(() => [
483
- A.value && e.message.actions ? (u(), L(ge, {
498
+ A.value && e.message.actions ? (l(), L(ge, {
484
499
  key: 0,
485
500
  class: "audio-message__context-menu",
486
501
  actions: e.message.actions,
@@ -490,9 +505,9 @@ const J1 = (e) => {
490
505
  _: 1
491
506
  })
492
507
  ], 32)
493
- ], 42, wa));
508
+ ], 42, Na));
494
509
  }
495
- }, za = /* @__PURE__ */ j(Sa, [["__scopeId", "data-v-38410008"]]), Oa = { class: "date-message" }, Ca = { class: "date-message__container" }, Ua = { class: "date-message__text" }, La = {
510
+ }, Ua = /* @__PURE__ */ j(Ca, [["__scopeId", "data-v-27fb9d86"]]), La = { class: "date-message" }, Qa = { class: "date-message__container" }, Ba = { class: "date-message__text" }, Ya = {
496
511
  __name: "DateMessage",
497
512
  props: {
498
513
  message: {
@@ -503,22 +518,22 @@ const J1 = (e) => {
503
518
  }
504
519
  },
505
520
  setup(e) {
506
- return (f, n) => (u(), c("div", Oa, [
507
- o("div", Ca, [
508
- o("p", Ua, w(e.message.text), 1)
521
+ return (f, n) => (l(), c("div", La, [
522
+ o("div", Qa, [
523
+ o("p", Ba, w(e.message.text), 1)
509
524
  ])
510
525
  ]));
511
526
  }
512
- }, Qa = /* @__PURE__ */ j(La, [["__scopeId", "data-v-d20acba5"]]), Ba = {
527
+ }, Ra = /* @__PURE__ */ j(Ya, [["__scopeId", "data-v-d20acba5"]]), qa = {
513
528
  key: 0,
514
529
  class: "chat-info__container"
515
- }, Ya = { class: "chat-info__avatar-container" }, Ra = ["src"], qa = {
530
+ }, Fa = { class: "chat-info__avatar-container" }, $a = ["src"], Wa = {
516
531
  key: 1,
517
532
  class: "pi pi-user"
518
- }, Fa = { class: "chat-info__info-container" }, $a = { class: "chat-info__title" }, Wa = {
533
+ }, Ja = { class: "chat-info__info-container" }, Ha = { class: "chat-info__title" }, Ka = {
519
534
  key: 0,
520
535
  class: "chat-info__time"
521
- }, Ja = { class: "chat-info__actions" }, Ha = {
536
+ }, Pa = { class: "chat-info__actions" }, Za = {
522
537
  __name: "ChatInfo",
523
538
  props: {
524
539
  chat: {
@@ -529,25 +544,25 @@ const J1 = (e) => {
529
544
  emits: ["open-panel"],
530
545
  setup(e, { emit: f }) {
531
546
  const n = e;
532
- return (a, t) => e.chat ? (u(), c("div", Ba, [
533
- o("div", Ya, [
534
- n.chat.avatar ? (u(), c("img", {
547
+ return (a, t) => e.chat ? (l(), c("div", qa, [
548
+ o("div", Fa, [
549
+ n.chat.avatar ? (l(), c("img", {
535
550
  key: 0,
536
551
  src: n.chat.avatar,
537
552
  width: "48",
538
553
  height: "48"
539
- }, null, 8, Ra)) : (u(), c("span", qa))
540
- ]),
541
- o("div", Fa, [
542
- o("h2", $a, w(e.chat.name), 1),
543
- e.chat["lastActivity.time"] ? (u(), c("p", Wa, w(e.chat["lastActivity.time"]), 1)) : y("", !0)
554
+ }, null, 8, $a)) : (l(), c("span", Wa))
544
555
  ]),
545
556
  o("div", Ja, [
557
+ o("h2", Ha, w(e.chat.name), 1),
558
+ e.chat["lastActivity.time"] ? (l(), c("p", Ka, w(e.chat["lastActivity.time"]), 1)) : y("", !0)
559
+ ]),
560
+ o("div", Pa, [
546
561
  J(a.$slots, "actions", {}, void 0, !0)
547
562
  ])
548
563
  ])) : y("", !0);
549
564
  }
550
- }, P1 = /* @__PURE__ */ j(Ha, [["__scopeId", "data-v-e1d212c7"]]), Ka = { class: "preview__container" }, Pa = { class: "preview__block" }, Za = { key: 0 }, Ga = ["src"], Xa = { key: 1 }, et = ["src"], ft = { key: 2 }, nt = { key: 3 }, at = { class: "preview__control-block" }, tt = { class: "preview__information" }, At = { class: "preview__name" }, st = { class: "preview__size" }, it = {
565
+ }, el = /* @__PURE__ */ j(Za, [["__scopeId", "data-v-e1d212c7"]]), Ga = { class: "preview__container" }, Xa = { class: "preview__block" }, et = { key: 0 }, ft = ["src"], nt = { key: 1 }, at = ["src"], tt = { key: 2 }, At = { key: 3 }, st = { class: "preview__control-block" }, it = { class: "preview__information" }, ot = { class: "preview__name" }, lt = { class: "preview__size" }, ut = {
551
566
  __name: "FilePreview",
552
567
  props: {
553
568
  previewUrl: {
@@ -581,35 +596,35 @@ const J1 = (e) => {
581
596
  function t() {
582
597
  a("reset");
583
598
  }
584
- return (s, A) => (u(), c("div", Ka, [
585
- o("div", Pa, [
586
- n.isImage ? (u(), c("div", Za, [
599
+ return (s, A) => (l(), c("div", Ga, [
600
+ o("div", Xa, [
601
+ n.isImage ? (l(), c("div", et, [
587
602
  o("img", {
588
603
  src: e.previewUrl,
589
604
  alt: "Image Preview",
590
605
  class: "preview__image"
591
- }, null, 8, Ga)
592
- ])) : n.isVideo ? (u(), c("div", Xa, [
606
+ }, null, 8, ft)
607
+ ])) : n.isVideo ? (l(), c("div", nt, [
593
608
  o("video", {
594
609
  src: e.previewUrl,
595
610
  class: "preview__video"
596
- }, null, 8, et)
597
- ])) : n.isAudio ? (u(), c("div", ft, A[0] || (A[0] = [
611
+ }, null, 8, at)
612
+ ])) : n.isAudio ? (l(), c("div", tt, A[0] || (A[0] = [
598
613
  o("span", {
599
614
  class: "pi pi-headphones",
600
615
  style: { "font-size": "2.5rem" }
601
616
  }, null, -1)
602
- ]))) : (u(), c("div", nt, A[1] || (A[1] = [
617
+ ]))) : (l(), c("div", At, A[1] || (A[1] = [
603
618
  o("span", {
604
619
  class: "pi pi-file",
605
620
  style: { "font-size": "2.5rem" }
606
621
  }, null, -1)
607
622
  ])))
608
623
  ]),
609
- o("div", at, [
610
- o("div", tt, [
611
- o("span", At, w(e.fileName), 1),
612
- o("span", st, w(e.fileSize), 1)
624
+ o("div", st, [
625
+ o("div", it, [
626
+ o("span", ot, w(e.fileName), 1),
627
+ o("span", lt, w(e.fileSize), 1)
613
628
  ]),
614
629
  o("span", {
615
630
  class: "pi pi-times preview__reset",
@@ -619,7 +634,7 @@ const J1 = (e) => {
619
634
  ])
620
635
  ]));
621
636
  }
622
- }, ot = /* @__PURE__ */ j(it, [["__scopeId", "data-v-c4e18bbf"]]), Xf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", en = {
637
+ }, rt = /* @__PURE__ */ j(ut, [["__scopeId", "data-v-c4e18bbf"]]), Xf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", en = {
623
638
  recent: "Recently used",
624
639
  smileys_people: "Smiles & People",
625
640
  animals_nature: "Animals & Nature",
@@ -629,21 +644,21 @@ const J1 = (e) => {
629
644
  objects: "Objects",
630
645
  symbols: "Symbols",
631
646
  flags: "Flags"
632
- }, fn = "u", Xe = "n", $e = "v", ze = "r", ut = {
647
+ }, fn = "u", Xe = "n", $e = "v", ze = "r", ct = {
633
648
  [Xe]: ["grinning face", "grinning"],
634
649
  [fn]: "1f600",
635
650
  [ze]: "1f600"
636
- }, Pe = "neutral", lt = "1f3fb", rt = "1f3fc", ct = "1f3fd", dt = "1f3fe", gt = "1f3ff", mt = [
651
+ }, Pe = "neutral", dt = "1f3fb", gt = "1f3fc", mt = "1f3fd", pt = "1f3fe", Mt = "1f3ff", ht = [
637
652
  Pe,
638
- lt,
639
- rt,
640
- ct,
641
653
  dt,
642
- gt
643
- ], pt = {
654
+ gt,
655
+ mt,
656
+ pt,
657
+ Mt
658
+ ], yt = {
644
659
  placeholder: "Search emoji",
645
660
  skinTone: "Skin tone"
646
- }, Mt = ["light", "dark", "auto"], ht = [
661
+ }, bt = ["light", "dark", "auto"], vt = [
647
662
  {
648
663
  n: [
649
664
  "grinning face",
@@ -5051,7 +5066,7 @@ const J1 = (e) => {
5051
5066
  ],
5052
5067
  u: "1f48e"
5053
5068
  }
5054
- ], yt = [
5069
+ ], _t = [
5055
5070
  {
5056
5071
  n: [
5057
5072
  "monkey face",
@@ -5785,7 +5800,7 @@ const J1 = (e) => {
5785
5800
  ],
5786
5801
  u: "1f343"
5787
5802
  }
5788
- ], bt = [
5803
+ ], It = [
5789
5804
  {
5790
5805
  n: [
5791
5806
  "grapes"
@@ -6451,7 +6466,7 @@ const J1 = (e) => {
6451
6466
  ],
6452
6467
  u: "1f3fa"
6453
6468
  }
6454
- ], vt = [
6469
+ ], wt = [
6455
6470
  {
6456
6471
  n: [
6457
6472
  "jack-o-lantern",
@@ -6857,7 +6872,7 @@ const J1 = (e) => {
6857
6872
  ],
6858
6873
  u: "1f3b4"
6859
6874
  }
6860
- ], _t = [
6875
+ ], kt = [
6861
6876
  {
6862
6877
  n: [
6863
6878
  "earth globe europe-africa",
@@ -8224,7 +8239,7 @@ const J1 = (e) => {
8224
8239
  ],
8225
8240
  u: "1f30a"
8226
8241
  }
8227
- ], It = [
8242
+ ], Nt = [
8228
8243
  {
8229
8244
  n: [
8230
8245
  "speaker with cancellation stroke",
@@ -9288,7 +9303,7 @@ const J1 = (e) => {
9288
9303
  ],
9289
9304
  u: "1f6d2"
9290
9305
  }
9291
- ], wt = [
9306
+ ], Dt = [
9292
9307
  {
9293
9308
  n: [
9294
9309
  "automated teller machine",
@@ -10686,7 +10701,7 @@ const J1 = (e) => {
10686
10701
  ],
10687
10702
  u: "1f535"
10688
10703
  }
10689
- ], kt = [
10704
+ ], jt = [
10690
10705
  {
10691
10706
  n: [
10692
10707
  "chequered flag",
@@ -12566,15 +12581,15 @@ const J1 = (e) => {
12566
12581
  u: "1f3f4-e0067-e0062-e0077-e006c-e0073-e007f"
12567
12582
  }
12568
12583
  ];
12569
- var Nt = {
12570
- smileys_people: ht,
12571
- animals_nature: yt,
12572
- food_drink: bt,
12573
- activities: vt,
12574
- travel_places: _t,
12575
- objects: It,
12576
- symbols: wt,
12577
- flags: kt
12584
+ var Vt = {
12585
+ smileys_people: vt,
12586
+ animals_nature: _t,
12587
+ food_drink: It,
12588
+ activities: wt,
12589
+ travel_places: kt,
12590
+ objects: Nt,
12591
+ symbols: Dt,
12592
+ flags: jt
12578
12593
  }, Uf = [
12579
12594
  {
12580
12595
  key: "recent",
@@ -12622,9 +12637,9 @@ var Nt = {
12622
12637
  u: "1f3f3-fe0f"
12623
12638
  }
12624
12639
  ];
12625
- const Dt = (e, f) => f.some((n) => e instanceof n);
12640
+ const Et = (e, f) => f.some((n) => e instanceof n);
12626
12641
  let Lf, Qf;
12627
- function jt() {
12642
+ function Tt() {
12628
12643
  return Lf || (Lf = [
12629
12644
  IDBDatabase,
12630
12645
  IDBObjectStore,
@@ -12633,7 +12648,7 @@ function jt() {
12633
12648
  IDBTransaction
12634
12649
  ]);
12635
12650
  }
12636
- function Vt() {
12651
+ function xt() {
12637
12652
  return Qf || (Qf = [
12638
12653
  IDBCursor.prototype.advance,
12639
12654
  IDBCursor.prototype.continue,
@@ -12641,7 +12656,7 @@ function Vt() {
12641
12656
  ]);
12642
12657
  }
12643
12658
  const nn = /* @__PURE__ */ new WeakMap(), rf = /* @__PURE__ */ new WeakMap(), an = /* @__PURE__ */ new WeakMap(), Af = /* @__PURE__ */ new WeakMap(), gf = /* @__PURE__ */ new WeakMap();
12644
- function Et(e) {
12659
+ function St(e) {
12645
12660
  const f = new Promise((n, a) => {
12646
12661
  const t = () => {
12647
12662
  e.removeEventListener("success", s), e.removeEventListener("error", A);
@@ -12657,7 +12672,7 @@ function Et(e) {
12657
12672
  }).catch(() => {
12658
12673
  }), gf.set(f, e), f;
12659
12674
  }
12660
- function Tt(e) {
12675
+ function zt(e) {
12661
12676
  if (rf.has(e))
12662
12677
  return;
12663
12678
  const f = new Promise((n, a) => {
@@ -12691,70 +12706,70 @@ let cf = {
12691
12706
  return e instanceof IDBTransaction && (f === "done" || f === "store") ? !0 : f in e;
12692
12707
  }
12693
12708
  };
12694
- function xt(e) {
12709
+ function Ot(e) {
12695
12710
  cf = e(cf);
12696
12711
  }
12697
- function St(e) {
12712
+ function Ct(e) {
12698
12713
  return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(f, ...n) {
12699
12714
  const a = e.call(sf(this), f, ...n);
12700
12715
  return an.set(a, f.sort ? f.sort() : [f]), se(a);
12701
- } : Vt().includes(e) ? function(...f) {
12716
+ } : xt().includes(e) ? function(...f) {
12702
12717
  return e.apply(sf(this), f), se(nn.get(this));
12703
12718
  } : function(...f) {
12704
12719
  return se(e.apply(sf(this), f));
12705
12720
  };
12706
12721
  }
12707
- function zt(e) {
12708
- return typeof e == "function" ? St(e) : (e instanceof IDBTransaction && Tt(e), Dt(e, jt()) ? new Proxy(e, cf) : e);
12722
+ function Ut(e) {
12723
+ return typeof e == "function" ? Ct(e) : (e instanceof IDBTransaction && zt(e), Et(e, Tt()) ? new Proxy(e, cf) : e);
12709
12724
  }
12710
12725
  function se(e) {
12711
12726
  if (e instanceof IDBRequest)
12712
- return Et(e);
12727
+ return St(e);
12713
12728
  if (Af.has(e))
12714
12729
  return Af.get(e);
12715
- const f = zt(e);
12730
+ const f = Ut(e);
12716
12731
  return f !== e && (Af.set(e, f), gf.set(f, e)), f;
12717
12732
  }
12718
12733
  const sf = (e) => gf.get(e);
12719
12734
  function mf(e, f, { blocked: n, upgrade: a, blocking: t, terminated: s } = {}) {
12720
12735
  const A = indexedDB.open(e, f), i = se(A);
12721
- return a && A.addEventListener("upgradeneeded", (l) => {
12722
- a(se(A.result), l.oldVersion, l.newVersion, se(A.transaction), l);
12723
- }), n && A.addEventListener("blocked", (l) => n(
12724
- l.oldVersion,
12725
- l.newVersion,
12726
- l
12727
- )), i.then((l) => {
12728
- s && l.addEventListener("close", () => s()), t && l.addEventListener("versionchange", (r) => t(r.oldVersion, r.newVersion, r));
12736
+ return a && A.addEventListener("upgradeneeded", (u) => {
12737
+ a(se(A.result), u.oldVersion, u.newVersion, se(A.transaction), u);
12738
+ }), n && A.addEventListener("blocked", (u) => n(
12739
+ u.oldVersion,
12740
+ u.newVersion,
12741
+ u
12742
+ )), i.then((u) => {
12743
+ s && u.addEventListener("close", () => s()), t && u.addEventListener("versionchange", (r) => t(r.oldVersion, r.newVersion, r));
12729
12744
  }).catch(() => {
12730
12745
  }), i;
12731
12746
  }
12732
- const Ot = ["get", "getKey", "getAll", "getAllKeys", "count"], Ct = ["put", "add", "delete", "clear"], of = /* @__PURE__ */ new Map();
12747
+ const Lt = ["get", "getKey", "getAll", "getAllKeys", "count"], Qt = ["put", "add", "delete", "clear"], of = /* @__PURE__ */ new Map();
12733
12748
  function Bf(e, f) {
12734
12749
  if (!(e instanceof IDBDatabase && !(f in e) && typeof f == "string"))
12735
12750
  return;
12736
12751
  if (of.get(f))
12737
12752
  return of.get(f);
12738
- const n = f.replace(/FromIndex$/, ""), a = f !== n, t = Ct.includes(n);
12739
- if (!(n in (a ? IDBIndex : IDBObjectStore).prototype) || !(t || Ot.includes(n)))
12753
+ const n = f.replace(/FromIndex$/, ""), a = f !== n, t = Qt.includes(n);
12754
+ if (!(n in (a ? IDBIndex : IDBObjectStore).prototype) || !(t || Lt.includes(n)))
12740
12755
  return;
12741
12756
  const s = async function(A, ...i) {
12742
- const l = this.transaction(A, t ? "readwrite" : "readonly");
12743
- let r = l.store;
12757
+ const u = this.transaction(A, t ? "readwrite" : "readonly");
12758
+ let r = u.store;
12744
12759
  return a && (r = r.index(i.shift())), (await Promise.all([
12745
12760
  r[n](...i),
12746
- t && l.done
12761
+ t && u.done
12747
12762
  ]))[0];
12748
12763
  };
12749
12764
  return of.set(f, s), s;
12750
12765
  }
12751
- xt((e) => ({
12766
+ Ot((e) => ({
12752
12767
  ...e,
12753
12768
  get: (f, n, a) => Bf(f, n) || e.get(f, n, a),
12754
12769
  has: (f, n) => !!Bf(f, n) || e.has(f, n)
12755
12770
  }));
12756
12771
  const pf = "EMJ", Me = "emojis", Mf = 3;
12757
- async function Ut() {
12772
+ async function Bt() {
12758
12773
  (await mf(pf, Mf, {
12759
12774
  upgrade(f, n) {
12760
12775
  f.objectStoreNames.contains(Me) || f.createObjectStore(Me, {
@@ -12766,8 +12781,8 @@ async function Ut() {
12766
12781
  }
12767
12782
  })).close();
12768
12783
  }
12769
- Ut();
12770
- const Lt = {
12784
+ Bt();
12785
+ const Yt = {
12771
12786
  native: !1,
12772
12787
  hideSearch: !0,
12773
12788
  hideGroupIcons: !1,
@@ -12780,23 +12795,23 @@ const Lt = {
12780
12795
  groupOrder: [],
12781
12796
  groupIcons: {}
12782
12797
  };
12783
- async function Qt() {
12798
+ async function Rt() {
12784
12799
  return await (await mf(pf, Mf)).transaction(Me, "readonly").objectStore(Me).getAll();
12785
12800
  }
12786
- function Bt() {
12801
+ function qt() {
12787
12802
  const e = Vn({
12788
12803
  search: "",
12789
- emoji: ut,
12804
+ emoji: ct,
12790
12805
  activeGroup: "",
12791
12806
  skinTone: Pe,
12792
- options: Lt,
12807
+ options: Yt,
12793
12808
  additionalGroups: {},
12794
12809
  recent: [],
12795
12810
  get emojis() {
12796
12811
  return {
12797
12812
  recent: this.recent,
12798
12813
  ...this.options.additionalGroups,
12799
- ...Nt
12814
+ ...Vt
12800
12815
  };
12801
12816
  },
12802
12817
  get disabled() {
@@ -12822,7 +12837,7 @@ function Bt() {
12822
12837
  }
12823
12838
  async function n() {
12824
12839
  var d;
12825
- let m = await Qt();
12840
+ let m = await Rt();
12826
12841
  return Array.isArray(m) && m.length ? m = JSON.parse(((d = m[0]) == null ? void 0 : d.value) || "") : m = [], m;
12827
12842
  }
12828
12843
  function a() {
@@ -12838,7 +12853,7 @@ function Bt() {
12838
12853
  e.activeGroup = d;
12839
12854
  }, i = (d = Pe) => {
12840
12855
  e.skinTone = d;
12841
- }, l = (d) => {
12856
+ }, u = (d) => {
12842
12857
  e.options = Object.assign({}, e.options, d), f();
12843
12858
  };
12844
12859
  async function r() {
@@ -12862,15 +12877,15 @@ function Bt() {
12862
12877
  updateEmoji: s,
12863
12878
  updateActiveGroup: A,
12864
12879
  updateSkinTone: i,
12865
- updateOptions: l,
12880
+ updateOptions: u,
12866
12881
  updateSelect: g
12867
12882
  };
12868
12883
  }
12869
- var F = "top", Z = "bottom", G = "right", $ = "left", hf = "auto", Ue = [F, Z, G, $], he = "start", Oe = "end", Yt = "clippingParents", tn = "viewport", Te = "popper", Rt = "reference", Yf = /* @__PURE__ */ Ue.reduce(function(e, f) {
12884
+ var F = "top", Z = "bottom", G = "right", $ = "left", hf = "auto", Ue = [F, Z, G, $], he = "start", Oe = "end", Ft = "clippingParents", tn = "viewport", Te = "popper", $t = "reference", Yf = /* @__PURE__ */ Ue.reduce(function(e, f) {
12870
12885
  return e.concat([f + "-" + he, f + "-" + Oe]);
12871
12886
  }, []), An = /* @__PURE__ */ [].concat(Ue, [hf]).reduce(function(e, f) {
12872
12887
  return e.concat([f, f + "-" + he, f + "-" + Oe]);
12873
- }, []), qt = "beforeRead", Ft = "read", $t = "afterRead", Wt = "beforeMain", Jt = "main", Ht = "afterMain", Kt = "beforeWrite", Pt = "write", Zt = "afterWrite", Gt = [qt, Ft, $t, Wt, Jt, Ht, Kt, Pt, Zt];
12888
+ }, []), Wt = "beforeRead", Jt = "read", Ht = "afterRead", Kt = "beforeMain", Pt = "main", Zt = "afterMain", Gt = "beforeWrite", Xt = "write", eA = "afterWrite", fA = [Wt, Jt, Ht, Kt, Pt, Zt, Gt, Xt, eA];
12874
12889
  function ne(e) {
12875
12890
  return e ? (e.nodeName || "").toLowerCase() : null;
12876
12891
  }
@@ -12897,7 +12912,7 @@ function sn(e) {
12897
12912
  var f = ee(e).ShadowRoot;
12898
12913
  return e instanceof f || e instanceof ShadowRoot;
12899
12914
  }
12900
- function Xt(e) {
12915
+ function nA(e) {
12901
12916
  var f = e.state;
12902
12917
  Object.keys(f.elements).forEach(function(n) {
12903
12918
  var a = f.styles[n] || {}, t = f.attributes[n] || {}, s = f.elements[n];
@@ -12907,7 +12922,7 @@ function Xt(e) {
12907
12922
  }));
12908
12923
  });
12909
12924
  }
12910
- function eA(e) {
12925
+ function aA(e) {
12911
12926
  var f = e.state, n = {
12912
12927
  popper: {
12913
12928
  position: f.options.strategy,
@@ -12922,21 +12937,21 @@ function eA(e) {
12922
12937
  };
12923
12938
  return Object.assign(f.elements.popper.style, n.popper), f.styles = n, f.elements.arrow && Object.assign(f.elements.arrow.style, n.arrow), function() {
12924
12939
  Object.keys(f.elements).forEach(function(a) {
12925
- var t = f.elements[a], s = f.attributes[a] || {}, A = Object.keys(f.styles.hasOwnProperty(a) ? f.styles[a] : n[a]), i = A.reduce(function(l, r) {
12926
- return l[r] = "", l;
12940
+ var t = f.elements[a], s = f.attributes[a] || {}, A = Object.keys(f.styles.hasOwnProperty(a) ? f.styles[a] : n[a]), i = A.reduce(function(u, r) {
12941
+ return u[r] = "", u;
12927
12942
  }, {});
12928
- !P(t) || !ne(t) || (Object.assign(t.style, i), Object.keys(s).forEach(function(l) {
12929
- t.removeAttribute(l);
12943
+ !P(t) || !ne(t) || (Object.assign(t.style, i), Object.keys(s).forEach(function(u) {
12944
+ t.removeAttribute(u);
12930
12945
  }));
12931
12946
  });
12932
12947
  };
12933
12948
  }
12934
- var fA = {
12949
+ var tA = {
12935
12950
  name: "applyStyles",
12936
12951
  enabled: !0,
12937
12952
  phase: "write",
12938
- fn: Xt,
12939
- effect: eA,
12953
+ fn: nA,
12954
+ effect: aA,
12940
12955
  requires: ["computeStyles"]
12941
12956
  };
12942
12957
  function fe(e) {
@@ -12987,7 +13002,7 @@ function on(e, f) {
12987
13002
  function ae(e) {
12988
13003
  return ee(e).getComputedStyle(e);
12989
13004
  }
12990
- function nA(e) {
13005
+ function AA(e) {
12991
13006
  return ["table", "td", "th"].indexOf(ne(e)) >= 0;
12992
13007
  }
12993
13008
  function ie(e) {
@@ -12999,7 +13014,7 @@ function ef(e) {
12999
13014
  function Rf(e) {
13000
13015
  return !P(e) || ae(e).position === "fixed" ? null : e.offsetParent;
13001
13016
  }
13002
- function aA(e) {
13017
+ function sA(e) {
13003
13018
  var f = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, n = navigator.userAgent.indexOf("Trident") !== -1;
13004
13019
  if (n && P(e)) {
13005
13020
  var a = ae(e);
@@ -13015,9 +13030,9 @@ function aA(e) {
13015
13030
  return null;
13016
13031
  }
13017
13032
  function Le(e) {
13018
- for (var f = ee(e), n = Rf(e); n && nA(n) && ae(n).position === "static"; )
13033
+ for (var f = ee(e), n = Rf(e); n && AA(n) && ae(n).position === "static"; )
13019
13034
  n = Rf(n);
13020
- return n && (ne(n) === "html" || ne(n) === "body" && ae(n).position === "static") ? f : n || aA(e) || f;
13035
+ return n && (ne(n) === "html" || ne(n) === "body" && ae(n).position === "static") ? f : n || sA(e) || f;
13021
13036
  }
13022
13037
  function bf(e) {
13023
13038
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
@@ -13025,11 +13040,11 @@ function bf(e) {
13025
13040
  function xe(e, f, n) {
13026
13041
  return ce(e, Ze(f, n));
13027
13042
  }
13028
- function tA(e, f, n) {
13043
+ function iA(e, f, n) {
13029
13044
  var a = xe(e, f, n);
13030
13045
  return a > n ? n : a;
13031
13046
  }
13032
- function un() {
13047
+ function ln() {
13033
13048
  return {
13034
13049
  top: 0,
13035
13050
  right: 0,
@@ -13037,49 +13052,49 @@ function un() {
13037
13052
  left: 0
13038
13053
  };
13039
13054
  }
13040
- function ln(e) {
13041
- return Object.assign({}, un(), e);
13055
+ function un(e) {
13056
+ return Object.assign({}, ln(), e);
13042
13057
  }
13043
13058
  function rn(e, f) {
13044
13059
  return f.reduce(function(n, a) {
13045
13060
  return n[a] = e, n;
13046
13061
  }, {});
13047
13062
  }
13048
- var AA = function(f, n) {
13063
+ var oA = function(f, n) {
13049
13064
  return f = typeof f == "function" ? f(Object.assign({}, n.rects, {
13050
13065
  placement: n.placement
13051
- })) : f, ln(typeof f != "number" ? f : rn(f, Ue));
13066
+ })) : f, un(typeof f != "number" ? f : rn(f, Ue));
13052
13067
  };
13053
- function sA(e) {
13054
- var f, n = e.state, a = e.name, t = e.options, s = n.elements.arrow, A = n.modifiersData.popperOffsets, i = fe(n.placement), l = bf(i), r = [$, G].indexOf(i) >= 0, g = r ? "height" : "width";
13068
+ function lA(e) {
13069
+ var f, n = e.state, a = e.name, t = e.options, s = n.elements.arrow, A = n.modifiersData.popperOffsets, i = fe(n.placement), u = bf(i), r = [$, G].indexOf(i) >= 0, g = r ? "height" : "width";
13055
13070
  if (!(!s || !A)) {
13056
- var d = AA(t.padding, n), m = yf(s), p = l === "y" ? F : $, h = l === "y" ? Z : G, I = n.rects.reference[g] + n.rects.reference[l] - A[l] - n.rects.popper[g], M = A[l] - n.rects.reference[l], k = Le(s), v = k ? l === "y" ? k.clientHeight || 0 : k.clientWidth || 0 : 0, _ = I / 2 - M / 2, N = d[p], E = v - m[g] - d[h], V = v / 2 - m[g] / 2 + _, x = xe(N, V, E), O = l;
13057
- n.modifiersData[a] = (f = {}, f[O] = x, f.centerOffset = x - V, f);
13071
+ var d = oA(t.padding, n), m = yf(s), p = u === "y" ? F : $, h = u === "y" ? Z : G, I = n.rects.reference[g] + n.rects.reference[u] - A[u] - n.rects.popper[g], M = A[u] - n.rects.reference[u], k = Le(s), v = k ? u === "y" ? k.clientHeight || 0 : k.clientWidth || 0 : 0, _ = I / 2 - M / 2, N = d[p], E = v - m[g] - d[h], V = v / 2 - m[g] / 2 + _, T = xe(N, V, E), O = u;
13072
+ n.modifiersData[a] = (f = {}, f[O] = T, f.centerOffset = T - V, f);
13058
13073
  }
13059
13074
  }
13060
- function iA(e) {
13075
+ function uA(e) {
13061
13076
  var f = e.state, n = e.options, a = n.element, t = a === void 0 ? "[data-popper-arrow]" : a;
13062
13077
  t != null && (typeof t == "string" && (t = f.elements.popper.querySelector(t), !t) || on(f.elements.popper, t) && (f.elements.arrow = t));
13063
13078
  }
13064
- var oA = {
13079
+ var rA = {
13065
13080
  name: "arrow",
13066
13081
  enabled: !0,
13067
13082
  phase: "main",
13068
- fn: sA,
13069
- effect: iA,
13083
+ fn: lA,
13084
+ effect: uA,
13070
13085
  requires: ["popperOffsets"],
13071
13086
  requiresIfExists: ["preventOverflow"]
13072
13087
  };
13073
13088
  function _e(e) {
13074
13089
  return e.split("-")[1];
13075
13090
  }
13076
- var uA = {
13091
+ var cA = {
13077
13092
  top: "auto",
13078
13093
  right: "auto",
13079
13094
  bottom: "auto",
13080
13095
  left: "auto"
13081
13096
  };
13082
- function lA(e) {
13097
+ function dA(e) {
13083
13098
  var f = e.x, n = e.y, a = window, t = a.devicePixelRatio || 1;
13084
13099
  return {
13085
13100
  x: be(f * t) / t || 0,
@@ -13087,31 +13102,31 @@ function lA(e) {
13087
13102
  };
13088
13103
  }
13089
13104
  function qf(e) {
13090
- var f, n = e.popper, a = e.popperRect, t = e.placement, s = e.variation, A = e.offsets, i = e.position, l = e.gpuAcceleration, r = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? lA(A) : typeof g == "function" ? g(A) : A, p = m.x, h = p === void 0 ? 0 : p, I = m.y, M = I === void 0 ? 0 : I, k = A.hasOwnProperty("x"), v = A.hasOwnProperty("y"), _ = $, N = F, E = window;
13105
+ var f, n = e.popper, a = e.popperRect, t = e.placement, s = e.variation, A = e.offsets, i = e.position, u = e.gpuAcceleration, r = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? dA(A) : typeof g == "function" ? g(A) : A, p = m.x, h = p === void 0 ? 0 : p, I = m.y, M = I === void 0 ? 0 : I, k = A.hasOwnProperty("x"), v = A.hasOwnProperty("y"), _ = $, N = F, E = window;
13091
13106
  if (r) {
13092
- var V = Le(n), x = "clientHeight", O = "clientWidth";
13093
- if (V === ee(n) && (V = ie(n), ae(V).position !== "static" && i === "absolute" && (x = "scrollHeight", O = "scrollWidth")), V = V, t === F || (t === $ || t === G) && s === Oe) {
13107
+ var V = Le(n), T = "clientHeight", O = "clientWidth";
13108
+ if (V === ee(n) && (V = ie(n), ae(V).position !== "static" && i === "absolute" && (T = "scrollHeight", O = "scrollWidth")), V = V, t === F || (t === $ || t === G) && s === Oe) {
13094
13109
  N = Z;
13095
- var Q = d && E.visualViewport ? E.visualViewport.height : V[x];
13096
- M -= Q - a.height, M *= l ? 1 : -1;
13110
+ var Q = d && E.visualViewport ? E.visualViewport.height : V[T];
13111
+ M -= Q - a.height, M *= u ? 1 : -1;
13097
13112
  }
13098
13113
  if (t === $ || (t === F || t === Z) && s === Oe) {
13099
13114
  _ = G;
13100
13115
  var C = d && E.visualViewport ? E.visualViewport.width : V[O];
13101
- h -= C - a.width, h *= l ? 1 : -1;
13116
+ h -= C - a.width, h *= u ? 1 : -1;
13102
13117
  }
13103
13118
  }
13104
13119
  var U = Object.assign({
13105
13120
  position: i
13106
- }, r && uA);
13107
- if (l) {
13121
+ }, r && cA);
13122
+ if (u) {
13108
13123
  var R;
13109
13124
  return Object.assign({}, U, (R = {}, R[N] = v ? "0" : "", R[_] = k ? "0" : "", R.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + M + "px)" : "translate3d(" + h + "px, " + M + "px, 0)", R));
13110
13125
  }
13111
13126
  return Object.assign({}, U, (f = {}, f[N] = v ? M + "px" : "", f[_] = k ? h + "px" : "", f.transform = "", f));
13112
13127
  }
13113
- function rA(e) {
13114
- var f = e.state, n = e.options, a = n.gpuAcceleration, t = a === void 0 ? !0 : a, s = n.adaptive, A = s === void 0 ? !0 : s, i = n.roundOffsets, l = i === void 0 ? !0 : i, r = {
13128
+ function gA(e) {
13129
+ var f = e.state, n = e.options, a = n.gpuAcceleration, t = a === void 0 ? !0 : a, s = n.adaptive, A = s === void 0 ? !0 : s, i = n.roundOffsets, u = i === void 0 ? !0 : i, r = {
13115
13130
  placement: fe(f.placement),
13116
13131
  variation: _e(f.placement),
13117
13132
  popper: f.elements.popper,
@@ -13123,44 +13138,44 @@ function rA(e) {
13123
13138
  offsets: f.modifiersData.popperOffsets,
13124
13139
  position: f.options.strategy,
13125
13140
  adaptive: A,
13126
- roundOffsets: l
13141
+ roundOffsets: u
13127
13142
  })))), f.modifiersData.arrow != null && (f.styles.arrow = Object.assign({}, f.styles.arrow, qf(Object.assign({}, r, {
13128
13143
  offsets: f.modifiersData.arrow,
13129
13144
  position: "absolute",
13130
13145
  adaptive: !1,
13131
- roundOffsets: l
13146
+ roundOffsets: u
13132
13147
  })))), f.attributes.popper = Object.assign({}, f.attributes.popper, {
13133
13148
  "data-popper-placement": f.placement
13134
13149
  });
13135
13150
  }
13136
- var cA = {
13151
+ var mA = {
13137
13152
  name: "computeStyles",
13138
13153
  enabled: !0,
13139
13154
  phase: "beforeWrite",
13140
- fn: rA,
13155
+ fn: gA,
13141
13156
  data: {}
13142
13157
  }, We = {
13143
13158
  passive: !0
13144
13159
  };
13145
- function dA(e) {
13146
- var f = e.state, n = e.instance, a = e.options, t = a.scroll, s = t === void 0 ? !0 : t, A = a.resize, i = A === void 0 ? !0 : A, l = ee(f.elements.popper), r = [].concat(f.scrollParents.reference, f.scrollParents.popper);
13160
+ function pA(e) {
13161
+ var f = e.state, n = e.instance, a = e.options, t = a.scroll, s = t === void 0 ? !0 : t, A = a.resize, i = A === void 0 ? !0 : A, u = ee(f.elements.popper), r = [].concat(f.scrollParents.reference, f.scrollParents.popper);
13147
13162
  return s && r.forEach(function(g) {
13148
13163
  g.addEventListener("scroll", n.update, We);
13149
- }), i && l.addEventListener("resize", n.update, We), function() {
13164
+ }), i && u.addEventListener("resize", n.update, We), function() {
13150
13165
  s && r.forEach(function(g) {
13151
13166
  g.removeEventListener("scroll", n.update, We);
13152
- }), i && l.removeEventListener("resize", n.update, We);
13167
+ }), i && u.removeEventListener("resize", n.update, We);
13153
13168
  };
13154
13169
  }
13155
- var gA = {
13170
+ var MA = {
13156
13171
  name: "eventListeners",
13157
13172
  enabled: !0,
13158
13173
  phase: "write",
13159
13174
  fn: function() {
13160
13175
  },
13161
- effect: dA,
13176
+ effect: pA,
13162
13177
  data: {}
13163
- }, mA = {
13178
+ }, hA = {
13164
13179
  left: "right",
13165
13180
  right: "left",
13166
13181
  bottom: "top",
@@ -13168,16 +13183,16 @@ var gA = {
13168
13183
  };
13169
13184
  function He(e) {
13170
13185
  return e.replace(/left|right|bottom|top/g, function(f) {
13171
- return mA[f];
13186
+ return hA[f];
13172
13187
  });
13173
13188
  }
13174
- var pA = {
13189
+ var yA = {
13175
13190
  start: "end",
13176
13191
  end: "start"
13177
13192
  };
13178
13193
  function Ff(e) {
13179
13194
  return e.replace(/start|end/g, function(f) {
13180
- return pA[f];
13195
+ return yA[f];
13181
13196
  });
13182
13197
  }
13183
13198
  function vf(e) {
@@ -13190,7 +13205,7 @@ function vf(e) {
13190
13205
  function _f(e) {
13191
13206
  return ve(ie(e)).left + vf(e).scrollLeft;
13192
13207
  }
13193
- function MA(e) {
13208
+ function bA(e) {
13194
13209
  var f = ee(e), n = ie(e), a = f.visualViewport, t = n.clientWidth, s = n.clientHeight, A = 0, i = 0;
13195
13210
  return a && (t = a.width, s = a.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (A = a.offsetLeft, i = a.offsetTop)), {
13196
13211
  width: t,
@@ -13199,13 +13214,13 @@ function MA(e) {
13199
13214
  y: i
13200
13215
  };
13201
13216
  }
13202
- function hA(e) {
13203
- var f, n = ie(e), a = vf(e), t = (f = e.ownerDocument) == null ? void 0 : f.body, s = ce(n.scrollWidth, n.clientWidth, t ? t.scrollWidth : 0, t ? t.clientWidth : 0), A = ce(n.scrollHeight, n.clientHeight, t ? t.scrollHeight : 0, t ? t.clientHeight : 0), i = -a.scrollLeft + _f(e), l = -a.scrollTop;
13217
+ function vA(e) {
13218
+ var f, n = ie(e), a = vf(e), t = (f = e.ownerDocument) == null ? void 0 : f.body, s = ce(n.scrollWidth, n.clientWidth, t ? t.scrollWidth : 0, t ? t.clientWidth : 0), A = ce(n.scrollHeight, n.clientHeight, t ? t.scrollHeight : 0, t ? t.clientHeight : 0), i = -a.scrollLeft + _f(e), u = -a.scrollTop;
13204
13219
  return ae(t || n).direction === "rtl" && (i += ce(n.clientWidth, t ? t.clientWidth : 0) - s), {
13205
13220
  width: s,
13206
13221
  height: A,
13207
13222
  x: i,
13208
- y: l
13223
+ y: u
13209
13224
  };
13210
13225
  }
13211
13226
  function If(e) {
@@ -13229,55 +13244,55 @@ function df(e) {
13229
13244
  bottom: e.y + e.height
13230
13245
  });
13231
13246
  }
13232
- function yA(e) {
13247
+ function _A(e) {
13233
13248
  var f = ve(e);
13234
13249
  return f.top = f.top + e.clientTop, f.left = f.left + e.clientLeft, f.bottom = f.top + e.clientHeight, f.right = f.left + e.clientWidth, f.width = e.clientWidth, f.height = e.clientHeight, f.x = f.left, f.y = f.top, f;
13235
13250
  }
13236
13251
  function $f(e, f) {
13237
- return f === tn ? df(MA(e)) : ye(f) ? yA(f) : df(hA(ie(e)));
13252
+ return f === tn ? df(bA(e)) : ye(f) ? _A(f) : df(vA(ie(e)));
13238
13253
  }
13239
- function bA(e) {
13254
+ function IA(e) {
13240
13255
  var f = Se(ef(e)), n = ["absolute", "fixed"].indexOf(ae(e).position) >= 0, a = n && P(e) ? Le(e) : e;
13241
13256
  return ye(a) ? f.filter(function(t) {
13242
13257
  return ye(t) && on(t, a) && ne(t) !== "body" && (n ? ae(t).position !== "static" : !0);
13243
13258
  }) : [];
13244
13259
  }
13245
- function vA(e, f, n) {
13246
- var a = f === "clippingParents" ? bA(e) : [].concat(f), t = [].concat(a, [n]), s = t[0], A = t.reduce(function(i, l) {
13247
- var r = $f(e, l);
13260
+ function wA(e, f, n) {
13261
+ var a = f === "clippingParents" ? IA(e) : [].concat(f), t = [].concat(a, [n]), s = t[0], A = t.reduce(function(i, u) {
13262
+ var r = $f(e, u);
13248
13263
  return i.top = ce(r.top, i.top), i.right = Ze(r.right, i.right), i.bottom = Ze(r.bottom, i.bottom), i.left = ce(r.left, i.left), i;
13249
13264
  }, $f(e, s));
13250
13265
  return A.width = A.right - A.left, A.height = A.bottom - A.top, A.x = A.left, A.y = A.top, A;
13251
13266
  }
13252
13267
  function dn(e) {
13253
- var f = e.reference, n = e.element, a = e.placement, t = a ? fe(a) : null, s = a ? _e(a) : null, A = f.x + f.width / 2 - n.width / 2, i = f.y + f.height / 2 - n.height / 2, l;
13268
+ var f = e.reference, n = e.element, a = e.placement, t = a ? fe(a) : null, s = a ? _e(a) : null, A = f.x + f.width / 2 - n.width / 2, i = f.y + f.height / 2 - n.height / 2, u;
13254
13269
  switch (t) {
13255
13270
  case F:
13256
- l = {
13271
+ u = {
13257
13272
  x: A,
13258
13273
  y: f.y - n.height
13259
13274
  };
13260
13275
  break;
13261
13276
  case Z:
13262
- l = {
13277
+ u = {
13263
13278
  x: A,
13264
13279
  y: f.y + f.height
13265
13280
  };
13266
13281
  break;
13267
13282
  case G:
13268
- l = {
13283
+ u = {
13269
13284
  x: f.x + f.width,
13270
13285
  y: i
13271
13286
  };
13272
13287
  break;
13273
13288
  case $:
13274
- l = {
13289
+ u = {
13275
13290
  x: f.x - n.width,
13276
13291
  y: i
13277
13292
  };
13278
13293
  break;
13279
13294
  default:
13280
- l = {
13295
+ u = {
13281
13296
  x: f.x,
13282
13297
  y: f.y
13283
13298
  };
@@ -13287,27 +13302,27 @@ function dn(e) {
13287
13302
  var g = r === "y" ? "height" : "width";
13288
13303
  switch (s) {
13289
13304
  case he:
13290
- l[r] = l[r] - (f[g] / 2 - n[g] / 2);
13305
+ u[r] = u[r] - (f[g] / 2 - n[g] / 2);
13291
13306
  break;
13292
13307
  case Oe:
13293
- l[r] = l[r] + (f[g] / 2 - n[g] / 2);
13308
+ u[r] = u[r] + (f[g] / 2 - n[g] / 2);
13294
13309
  break;
13295
13310
  }
13296
13311
  }
13297
- return l;
13312
+ return u;
13298
13313
  }
13299
13314
  function Ce(e, f) {
13300
13315
  f === void 0 && (f = {});
13301
- var n = f, a = n.placement, t = a === void 0 ? e.placement : a, s = n.boundary, A = s === void 0 ? Yt : s, i = n.rootBoundary, l = i === void 0 ? tn : i, r = n.elementContext, g = r === void 0 ? Te : r, d = n.altBoundary, m = d === void 0 ? !1 : d, p = n.padding, h = p === void 0 ? 0 : p, I = ln(typeof h != "number" ? h : rn(h, Ue)), M = g === Te ? Rt : Te, k = e.rects.popper, v = e.elements[m ? M : g], _ = vA(ye(v) ? v : v.contextElement || ie(e.elements.popper), A, l), N = ve(e.elements.reference), E = dn({
13316
+ var n = f, a = n.placement, t = a === void 0 ? e.placement : a, s = n.boundary, A = s === void 0 ? Ft : s, i = n.rootBoundary, u = i === void 0 ? tn : i, r = n.elementContext, g = r === void 0 ? Te : r, d = n.altBoundary, m = d === void 0 ? !1 : d, p = n.padding, h = p === void 0 ? 0 : p, I = un(typeof h != "number" ? h : rn(h, Ue)), M = g === Te ? $t : Te, k = e.rects.popper, v = e.elements[m ? M : g], _ = wA(ye(v) ? v : v.contextElement || ie(e.elements.popper), A, u), N = ve(e.elements.reference), E = dn({
13302
13317
  reference: N,
13303
13318
  element: k,
13304
13319
  strategy: "absolute",
13305
13320
  placement: t
13306
- }), V = df(Object.assign({}, k, E)), x = g === Te ? V : N, O = {
13307
- top: _.top - x.top + I.top,
13308
- bottom: x.bottom - _.bottom + I.bottom,
13309
- left: _.left - x.left + I.left,
13310
- right: x.right - _.right + I.right
13321
+ }), V = df(Object.assign({}, k, E)), T = g === Te ? V : N, O = {
13322
+ top: _.top - T.top + I.top,
13323
+ bottom: T.bottom - _.bottom + I.bottom,
13324
+ left: _.left - T.left + I.left,
13325
+ right: T.right - _.right + I.right
13311
13326
  }, Q = e.modifiersData.offset;
13312
13327
  if (g === Te && Q) {
13313
13328
  var C = Q[t];
@@ -13318,9 +13333,9 @@ function Ce(e, f) {
13318
13333
  }
13319
13334
  return O;
13320
13335
  }
13321
- function _A(e, f) {
13336
+ function kA(e, f) {
13322
13337
  f === void 0 && (f = {});
13323
- var n = f, a = n.placement, t = n.boundary, s = n.rootBoundary, A = n.padding, i = n.flipVariations, l = n.allowedAutoPlacements, r = l === void 0 ? An : l, g = _e(a), d = g ? i ? Yf : Yf.filter(function(h) {
13338
+ var n = f, a = n.placement, t = n.boundary, s = n.rootBoundary, A = n.padding, i = n.flipVariations, u = n.allowedAutoPlacements, r = u === void 0 ? An : u, g = _e(a), d = g ? i ? Yf : Yf.filter(function(h) {
13324
13339
  return _e(h) === g;
13325
13340
  }) : Ue, m = d.filter(function(h) {
13326
13341
  return r.indexOf(h) >= 0;
@@ -13338,17 +13353,17 @@ function _A(e, f) {
13338
13353
  return p[h] - p[I];
13339
13354
  });
13340
13355
  }
13341
- function IA(e) {
13356
+ function NA(e) {
13342
13357
  if (fe(e) === hf)
13343
13358
  return [];
13344
13359
  var f = He(e);
13345
13360
  return [Ff(e), f, Ff(f)];
13346
13361
  }
13347
- function wA(e) {
13362
+ function DA(e) {
13348
13363
  var f = e.state, n = e.options, a = e.name;
13349
13364
  if (!f.modifiersData[a]._skip) {
13350
- for (var t = n.mainAxis, s = t === void 0 ? !0 : t, A = n.altAxis, i = A === void 0 ? !0 : A, l = n.fallbackPlacements, r = n.padding, g = n.boundary, d = n.rootBoundary, m = n.altBoundary, p = n.flipVariations, h = p === void 0 ? !0 : p, I = n.allowedAutoPlacements, M = f.options.placement, k = fe(M), v = k === M, _ = l || (v || !h ? [He(M)] : IA(M)), N = [M].concat(_).reduce(function(me, Ae) {
13351
- return me.concat(fe(Ae) === hf ? _A(f, {
13365
+ for (var t = n.mainAxis, s = t === void 0 ? !0 : t, A = n.altAxis, i = A === void 0 ? !0 : A, u = n.fallbackPlacements, r = n.padding, g = n.boundary, d = n.rootBoundary, m = n.altBoundary, p = n.flipVariations, h = p === void 0 ? !0 : p, I = n.allowedAutoPlacements, M = f.options.placement, k = fe(M), v = k === M, _ = u || (v || !h ? [He(M)] : NA(M)), N = [M].concat(_).reduce(function(me, Ae) {
13366
+ return me.concat(fe(Ae) === hf ? kA(f, {
13352
13367
  placement: Ae,
13353
13368
  boundary: g,
13354
13369
  rootBoundary: d,
@@ -13356,7 +13371,7 @@ function wA(e) {
13356
13371
  flipVariations: h,
13357
13372
  allowedAutoPlacements: I
13358
13373
  }) : Ae);
13359
- }, []), E = f.rects.reference, V = f.rects.popper, x = /* @__PURE__ */ new Map(), O = !0, Q = N[0], C = 0; C < N.length; C++) {
13374
+ }, []), E = f.rects.reference, V = f.rects.popper, T = /* @__PURE__ */ new Map(), O = !0, Q = N[0], C = 0; C < N.length; C++) {
13360
13375
  var U = N[C], R = fe(U), oe = _e(U) === he, De = [F, Z].indexOf(R) >= 0, je = De ? "width" : "height", W = Ce(f, {
13361
13376
  placement: U,
13362
13377
  boundary: g,
@@ -13365,21 +13380,21 @@ function wA(e) {
13365
13380
  padding: r
13366
13381
  }), X = De ? oe ? G : $ : oe ? Z : F;
13367
13382
  E[je] > V[je] && (X = He(X));
13368
- var Be = He(X), ue = [];
13369
- if (s && ue.push(W[R] <= 0), i && ue.push(W[X] <= 0, W[Be] <= 0), ue.every(function(me) {
13383
+ var Be = He(X), le = [];
13384
+ if (s && le.push(W[R] <= 0), i && le.push(W[X] <= 0, W[Be] <= 0), le.every(function(me) {
13370
13385
  return me;
13371
13386
  })) {
13372
13387
  Q = U, O = !1;
13373
13388
  break;
13374
13389
  }
13375
- x.set(U, ue);
13390
+ T.set(U, le);
13376
13391
  }
13377
13392
  if (O)
13378
13393
  for (var Ye = h ? 3 : 1, ff = function(Ae) {
13379
13394
  var Ee = N.find(function(qe) {
13380
- var le = x.get(qe);
13381
- if (le)
13382
- return le.slice(0, Ae).every(function(nf) {
13395
+ var ue = T.get(qe);
13396
+ if (ue)
13397
+ return ue.slice(0, Ae).every(function(nf) {
13383
13398
  return nf;
13384
13399
  });
13385
13400
  });
@@ -13393,11 +13408,11 @@ function wA(e) {
13393
13408
  f.placement !== Q && (f.modifiersData[a]._skip = !0, f.placement = Q, f.reset = !0);
13394
13409
  }
13395
13410
  }
13396
- var kA = {
13411
+ var jA = {
13397
13412
  name: "flip",
13398
13413
  enabled: !0,
13399
13414
  phase: "main",
13400
- fn: wA,
13415
+ fn: DA,
13401
13416
  requiresIfExists: ["offset"],
13402
13417
  data: {
13403
13418
  _skip: !1
@@ -13419,14 +13434,14 @@ function Jf(e) {
13419
13434
  return e[f] >= 0;
13420
13435
  });
13421
13436
  }
13422
- function NA(e) {
13437
+ function VA(e) {
13423
13438
  var f = e.state, n = e.name, a = f.rects.reference, t = f.rects.popper, s = f.modifiersData.preventOverflow, A = Ce(f, {
13424
13439
  elementContext: "reference"
13425
13440
  }), i = Ce(f, {
13426
13441
  altBoundary: !0
13427
- }), l = Wf(A, a), r = Wf(i, t, s), g = Jf(l), d = Jf(r);
13442
+ }), u = Wf(A, a), r = Wf(i, t, s), g = Jf(u), d = Jf(r);
13428
13443
  f.modifiersData[n] = {
13429
- referenceClippingOffsets: l,
13444
+ referenceClippingOffsets: u,
13430
13445
  popperEscapeOffsets: r,
13431
13446
  isReferenceHidden: g,
13432
13447
  hasPopperEscaped: d
@@ -13435,14 +13450,14 @@ function NA(e) {
13435
13450
  "data-popper-escaped": d
13436
13451
  });
13437
13452
  }
13438
- var DA = {
13453
+ var EA = {
13439
13454
  name: "hide",
13440
13455
  enabled: !0,
13441
13456
  phase: "main",
13442
13457
  requiresIfExists: ["preventOverflow"],
13443
- fn: NA
13458
+ fn: VA
13444
13459
  };
13445
- function jA(e, f, n) {
13460
+ function TA(e, f, n) {
13446
13461
  var a = fe(e), t = [$, F].indexOf(a) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, f, {
13447
13462
  placement: e
13448
13463
  })) : n, A = s[0], i = s[1];
@@ -13454,20 +13469,20 @@ function jA(e, f, n) {
13454
13469
  y: i
13455
13470
  };
13456
13471
  }
13457
- function VA(e) {
13472
+ function xA(e) {
13458
13473
  var f = e.state, n = e.options, a = e.name, t = n.offset, s = t === void 0 ? [0, 0] : t, A = An.reduce(function(g, d) {
13459
- return g[d] = jA(d, f.rects, s), g;
13460
- }, {}), i = A[f.placement], l = i.x, r = i.y;
13461
- f.modifiersData.popperOffsets != null && (f.modifiersData.popperOffsets.x += l, f.modifiersData.popperOffsets.y += r), f.modifiersData[a] = A;
13474
+ return g[d] = TA(d, f.rects, s), g;
13475
+ }, {}), i = A[f.placement], u = i.x, r = i.y;
13476
+ f.modifiersData.popperOffsets != null && (f.modifiersData.popperOffsets.x += u, f.modifiersData.popperOffsets.y += r), f.modifiersData[a] = A;
13462
13477
  }
13463
- var EA = {
13478
+ var SA = {
13464
13479
  name: "offset",
13465
13480
  enabled: !0,
13466
13481
  phase: "main",
13467
13482
  requires: ["popperOffsets"],
13468
- fn: VA
13483
+ fn: xA
13469
13484
  };
13470
- function TA(e) {
13485
+ function zA(e) {
13471
13486
  var f = e.state, n = e.name;
13472
13487
  f.modifiersData[n] = dn({
13473
13488
  reference: f.rects.reference,
@@ -13476,23 +13491,23 @@ function TA(e) {
13476
13491
  placement: f.placement
13477
13492
  });
13478
13493
  }
13479
- var xA = {
13494
+ var OA = {
13480
13495
  name: "popperOffsets",
13481
13496
  enabled: !0,
13482
13497
  phase: "read",
13483
- fn: TA,
13498
+ fn: zA,
13484
13499
  data: {}
13485
13500
  };
13486
- function SA(e) {
13501
+ function CA(e) {
13487
13502
  return e === "x" ? "y" : "x";
13488
13503
  }
13489
- function zA(e) {
13490
- var f = e.state, n = e.options, a = e.name, t = n.mainAxis, s = t === void 0 ? !0 : t, A = n.altAxis, i = A === void 0 ? !1 : A, l = n.boundary, r = n.rootBoundary, g = n.altBoundary, d = n.padding, m = n.tether, p = m === void 0 ? !0 : m, h = n.tetherOffset, I = h === void 0 ? 0 : h, M = Ce(f, {
13491
- boundary: l,
13504
+ function UA(e) {
13505
+ var f = e.state, n = e.options, a = e.name, t = n.mainAxis, s = t === void 0 ? !0 : t, A = n.altAxis, i = A === void 0 ? !1 : A, u = n.boundary, r = n.rootBoundary, g = n.altBoundary, d = n.padding, m = n.tether, p = m === void 0 ? !0 : m, h = n.tetherOffset, I = h === void 0 ? 0 : h, M = Ce(f, {
13506
+ boundary: u,
13492
13507
  rootBoundary: r,
13493
13508
  padding: d,
13494
13509
  altBoundary: g
13495
- }), k = fe(f.placement), v = _e(f.placement), _ = !v, N = bf(k), E = SA(N), V = f.modifiersData.popperOffsets, x = f.rects.reference, O = f.rects.popper, Q = typeof I == "function" ? I(Object.assign({}, f.rects, {
13510
+ }), k = fe(f.placement), v = _e(f.placement), _ = !v, N = bf(k), E = CA(N), V = f.modifiersData.popperOffsets, T = f.rects.reference, O = f.rects.popper, Q = typeof I == "function" ? I(Object.assign({}, f.rects, {
13496
13511
  placement: f.placement
13497
13512
  })) : I, C = typeof Q == "number" ? {
13498
13513
  mainAxis: Q,
@@ -13506,56 +13521,56 @@ function zA(e) {
13506
13521
  };
13507
13522
  if (V) {
13508
13523
  if (s) {
13509
- var oe, De = N === "y" ? F : $, je = N === "y" ? Z : G, W = N === "y" ? "height" : "width", X = V[N], Be = X + M[De], ue = X - M[je], Ye = p ? -O[W] / 2 : 0, ff = v === he ? x[W] : O[W], Ve = v === he ? -O[W] : -x[W], Re = f.elements.arrow, me = p && Re ? yf(Re) : {
13524
+ var oe, De = N === "y" ? F : $, je = N === "y" ? Z : G, W = N === "y" ? "height" : "width", X = V[N], Be = X + M[De], le = X - M[je], Ye = p ? -O[W] / 2 : 0, ff = v === he ? T[W] : O[W], Ve = v === he ? -O[W] : -T[W], Re = f.elements.arrow, me = p && Re ? yf(Re) : {
13510
13525
  width: 0,
13511
13526
  height: 0
13512
- }, Ae = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : un(), Ee = Ae[De], qe = Ae[je], le = xe(0, x[W], me[W]), nf = _ ? x[W] / 2 - Ye - le - Ee - C.mainAxis : ff - le - Ee - C.mainAxis, hn = _ ? -x[W] / 2 + Ye + le + qe + C.mainAxis : Ve + le + qe + C.mainAxis, af = f.elements.arrow && Le(f.elements.arrow), yn = af ? N === "y" ? af.clientTop || 0 : af.clientLeft || 0 : 0, kf = (oe = U == null ? void 0 : U[N]) != null ? oe : 0, bn = X + nf - kf - yn, vn = X + hn - kf, Nf = xe(p ? Ze(Be, bn) : Be, X, p ? ce(ue, vn) : ue);
13527
+ }, Ae = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : ln(), Ee = Ae[De], qe = Ae[je], ue = xe(0, T[W], me[W]), nf = _ ? T[W] / 2 - Ye - ue - Ee - C.mainAxis : ff - ue - Ee - C.mainAxis, hn = _ ? -T[W] / 2 + Ye + ue + qe + C.mainAxis : Ve + ue + qe + C.mainAxis, af = f.elements.arrow && Le(f.elements.arrow), yn = af ? N === "y" ? af.clientTop || 0 : af.clientLeft || 0 : 0, kf = (oe = U == null ? void 0 : U[N]) != null ? oe : 0, bn = X + nf - kf - yn, vn = X + hn - kf, Nf = xe(p ? Ze(Be, bn) : Be, X, p ? ce(le, vn) : le);
13513
13528
  V[N] = Nf, R[N] = Nf - X;
13514
13529
  }
13515
13530
  if (i) {
13516
- var Df, _n = N === "x" ? F : $, In = N === "x" ? Z : G, re = V[E], Fe = E === "y" ? "height" : "width", jf = re + M[_n], Vf = re - M[In], tf = [F, $].indexOf(k) !== -1, Ef = (Df = U == null ? void 0 : U[E]) != null ? Df : 0, Tf = tf ? jf : re - x[Fe] - O[Fe] - Ef + C.altAxis, xf = tf ? re + x[Fe] + O[Fe] - Ef - C.altAxis : Vf, Sf = p && tf ? tA(Tf, re, xf) : xe(p ? Tf : jf, re, p ? xf : Vf);
13531
+ var Df, _n = N === "x" ? F : $, In = N === "x" ? Z : G, re = V[E], Fe = E === "y" ? "height" : "width", jf = re + M[_n], Vf = re - M[In], tf = [F, $].indexOf(k) !== -1, Ef = (Df = U == null ? void 0 : U[E]) != null ? Df : 0, Tf = tf ? jf : re - T[Fe] - O[Fe] - Ef + C.altAxis, xf = tf ? re + T[Fe] + O[Fe] - Ef - C.altAxis : Vf, Sf = p && tf ? iA(Tf, re, xf) : xe(p ? Tf : jf, re, p ? xf : Vf);
13517
13532
  V[E] = Sf, R[E] = Sf - re;
13518
13533
  }
13519
13534
  f.modifiersData[a] = R;
13520
13535
  }
13521
13536
  }
13522
- var OA = {
13537
+ var LA = {
13523
13538
  name: "preventOverflow",
13524
13539
  enabled: !0,
13525
13540
  phase: "main",
13526
- fn: zA,
13541
+ fn: UA,
13527
13542
  requiresIfExists: ["offset"]
13528
13543
  };
13529
- function CA(e) {
13544
+ function QA(e) {
13530
13545
  return {
13531
13546
  scrollLeft: e.scrollLeft,
13532
13547
  scrollTop: e.scrollTop
13533
13548
  };
13534
13549
  }
13535
- function UA(e) {
13536
- return e === ee(e) || !P(e) ? vf(e) : CA(e);
13550
+ function BA(e) {
13551
+ return e === ee(e) || !P(e) ? vf(e) : QA(e);
13537
13552
  }
13538
- function LA(e) {
13553
+ function YA(e) {
13539
13554
  var f = e.getBoundingClientRect(), n = be(f.width) / e.offsetWidth || 1, a = be(f.height) / e.offsetHeight || 1;
13540
13555
  return n !== 1 || a !== 1;
13541
13556
  }
13542
- function QA(e, f, n) {
13557
+ function RA(e, f, n) {
13543
13558
  n === void 0 && (n = !1);
13544
- var a = P(f), t = P(f) && LA(f), s = ie(f), A = ve(e, t), i = {
13559
+ var a = P(f), t = P(f) && YA(f), s = ie(f), A = ve(e, t), i = {
13545
13560
  scrollLeft: 0,
13546
13561
  scrollTop: 0
13547
- }, l = {
13562
+ }, u = {
13548
13563
  x: 0,
13549
13564
  y: 0
13550
13565
  };
13551
- return (a || !a && !n) && ((ne(f) !== "body" || If(s)) && (i = UA(f)), P(f) ? (l = ve(f, !0), l.x += f.clientLeft, l.y += f.clientTop) : s && (l.x = _f(s))), {
13552
- x: A.left + i.scrollLeft - l.x,
13553
- y: A.top + i.scrollTop - l.y,
13566
+ return (a || !a && !n) && ((ne(f) !== "body" || If(s)) && (i = BA(f)), P(f) ? (u = ve(f, !0), u.x += f.clientLeft, u.y += f.clientTop) : s && (u.x = _f(s))), {
13567
+ x: A.left + i.scrollLeft - u.x,
13568
+ y: A.top + i.scrollTop - u.y,
13554
13569
  width: A.width,
13555
13570
  height: A.height
13556
13571
  };
13557
13572
  }
13558
- function BA(e) {
13573
+ function qA(e) {
13559
13574
  var f = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), a = [];
13560
13575
  e.forEach(function(s) {
13561
13576
  f.set(s.name, s);
@@ -13565,8 +13580,8 @@ function BA(e) {
13565
13580
  var A = [].concat(s.requires || [], s.requiresIfExists || []);
13566
13581
  A.forEach(function(i) {
13567
13582
  if (!n.has(i)) {
13568
- var l = f.get(i);
13569
- l && t(l);
13583
+ var u = f.get(i);
13584
+ u && t(u);
13570
13585
  }
13571
13586
  }), a.push(s);
13572
13587
  }
@@ -13574,15 +13589,15 @@ function BA(e) {
13574
13589
  n.has(s.name) || t(s);
13575
13590
  }), a;
13576
13591
  }
13577
- function YA(e) {
13578
- var f = BA(e);
13579
- return Gt.reduce(function(n, a) {
13592
+ function FA(e) {
13593
+ var f = qA(e);
13594
+ return fA.reduce(function(n, a) {
13580
13595
  return n.concat(f.filter(function(t) {
13581
13596
  return t.phase === a;
13582
13597
  }));
13583
13598
  }, []);
13584
13599
  }
13585
- function RA(e) {
13600
+ function $A(e) {
13586
13601
  var f;
13587
13602
  return function() {
13588
13603
  return f || (f = new Promise(function(n) {
@@ -13592,7 +13607,7 @@ function RA(e) {
13592
13607
  })), f;
13593
13608
  };
13594
13609
  }
13595
- function qA(e) {
13610
+ function WA(e) {
13596
13611
  var f = e.reduce(function(n, a) {
13597
13612
  var t = n[a.name];
13598
13613
  return n[a.name] = t ? Object.assign({}, t, a, {
@@ -13616,10 +13631,10 @@ function Kf() {
13616
13631
  return !(a && typeof a.getBoundingClientRect == "function");
13617
13632
  });
13618
13633
  }
13619
- function FA(e) {
13634
+ function JA(e) {
13620
13635
  e === void 0 && (e = {});
13621
13636
  var f = e, n = f.defaultModifiers, a = n === void 0 ? [] : n, t = f.defaultOptions, s = t === void 0 ? Hf : t;
13622
- return function(i, l, r) {
13637
+ return function(i, u, r) {
13623
13638
  r === void 0 && (r = s);
13624
13639
  var g = {
13625
13640
  placement: "bottom",
@@ -13628,7 +13643,7 @@ function FA(e) {
13628
13643
  modifiersData: {},
13629
13644
  elements: {
13630
13645
  reference: i,
13631
- popper: l
13646
+ popper: u
13632
13647
  },
13633
13648
  attributes: {},
13634
13649
  styles: {}
@@ -13638,9 +13653,9 @@ function FA(e) {
13638
13653
  var v = typeof k == "function" ? k(g.options) : k;
13639
13654
  I(), g.options = Object.assign({}, s, g.options, v), g.scrollParents = {
13640
13655
  reference: ye(i) ? Se(i) : i.contextElement ? Se(i.contextElement) : [],
13641
- popper: Se(l)
13656
+ popper: Se(u)
13642
13657
  };
13643
- var _ = YA(qA([].concat(a, g.options.modifiers)));
13658
+ var _ = FA(WA([].concat(a, g.options.modifiers)));
13644
13659
  return g.orderedModifiers = _.filter(function(N) {
13645
13660
  return N.enabled;
13646
13661
  }), h(), p.update();
@@ -13650,7 +13665,7 @@ function FA(e) {
13650
13665
  var k = g.elements, v = k.reference, _ = k.popper;
13651
13666
  if (Kf(v, _)) {
13652
13667
  g.rects = {
13653
- reference: QA(v, Le(_), g.options.strategy === "fixed"),
13668
+ reference: RA(v, Le(_), g.options.strategy === "fixed"),
13654
13669
  popper: yf(_)
13655
13670
  }, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(C) {
13656
13671
  return g.modifiersData[C.name] = Object.assign({}, C.data);
@@ -13660,7 +13675,7 @@ function FA(e) {
13660
13675
  g.reset = !1, N = -1;
13661
13676
  continue;
13662
13677
  }
13663
- var E = g.orderedModifiers[N], V = E.fn, x = E.options, O = x === void 0 ? {} : x, Q = E.name;
13678
+ var E = g.orderedModifiers[N], V = E.fn, T = E.options, O = T === void 0 ? {} : T, Q = E.name;
13664
13679
  typeof V == "function" && (g = V({
13665
13680
  state: g,
13666
13681
  options: O,
@@ -13671,7 +13686,7 @@ function FA(e) {
13671
13686
  }
13672
13687
  }
13673
13688
  },
13674
- update: RA(function() {
13689
+ update: $A(function() {
13675
13690
  return new Promise(function(M) {
13676
13691
  p.forceUpdate(), M(g);
13677
13692
  });
@@ -13680,7 +13695,7 @@ function FA(e) {
13680
13695
  I(), m = !0;
13681
13696
  }
13682
13697
  };
13683
- if (!Kf(i, l))
13698
+ if (!Kf(i, u))
13684
13699
  return p;
13685
13700
  p.setOptions(r).then(function(M) {
13686
13701
  !m && r.onFirstUpdate && r.onFirstUpdate(M);
@@ -13708,24 +13723,24 @@ function FA(e) {
13708
13723
  return p;
13709
13724
  };
13710
13725
  }
13711
- var $A = [gA, xA, cA, fA, EA, kA, OA, oA, DA], WA = /* @__PURE__ */ FA({
13712
- defaultModifiers: $A
13726
+ var HA = [MA, OA, mA, tA, SA, jA, LA, rA, EA], KA = /* @__PURE__ */ JA({
13727
+ defaultModifiers: HA
13713
13728
  }), gn = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
13714
13729
  function Ke(e) {
13715
13730
  return e.split("-").map((f) => parseInt(f, 16)).map((f) => String.fromCodePoint(f)).join("");
13716
13731
  }
13717
- function JA(e, f, n, a = []) {
13732
+ function PA(e, f, n, a = []) {
13718
13733
  const t = {};
13719
13734
  return Object.keys(e).forEach((s) => {
13720
13735
  if (a.includes(s))
13721
13736
  return;
13722
13737
  const A = [];
13723
13738
  e[s].forEach((i) => {
13724
- var l;
13739
+ var u;
13725
13740
  if (i[Xe][0].includes(f.toLocaleLowerCase())) {
13726
13741
  let r = i[fn];
13727
13742
  if (n !== Pe && Array.isArray(i[$e])) {
13728
- const g = ((l = i[$e]) == null ? void 0 : l.findIndex(
13743
+ const g = ((u = i[$e]) == null ? void 0 : u.findIndex(
13729
13744
  (d) => d.includes(n)
13730
13745
  )) || -1;
13731
13746
  g !== -1 && i[$e] && (r = i[$e][g]);
@@ -13754,20 +13769,20 @@ var Qe = (e, f) => {
13754
13769
  n[a] = t;
13755
13770
  return n;
13756
13771
  };
13757
- const HA = de({
13772
+ const ZA = de({
13758
13773
  name: "Body",
13759
13774
  emits: {
13760
13775
  select: (e) => !0
13761
13776
  },
13762
13777
  setup() {
13763
- const { state: e, updateEmoji: f, updateSelect: n } = Ge("store"), a = b(null), t = T(() => JA(
13778
+ const { state: e, updateEmoji: f, updateSelect: n } = Ge("store"), a = b(null), t = x(() => PA(
13764
13779
  e.emojis,
13765
13780
  e.search,
13766
13781
  e.skinTone,
13767
13782
  e.options.disabledGroups
13768
- )), s = Nn(), A = T(() => !e.options.hideGroupNames), i = T(() => !e.options.disableStickyGroupNames), l = Zf(e.options.groupNames), r = e.orderedGroupKeys;
13783
+ )), s = Nn(), A = x(() => !e.options.hideGroupNames), i = x(() => !e.options.disableStickyGroupNames), u = Zf(e.options.groupNames), r = e.orderedGroupKeys;
13769
13784
  e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((h) => {
13770
- e.options.groupNames[h] ? l[h] = e.options.groupNames[h] : l[h] = pn(h);
13785
+ e.options.groupNames[h] ? u[h] = e.options.groupNames[h] : u[h] = pn(h);
13771
13786
  });
13772
13787
  const g = mn() ? "is-mac" : "";
13773
13788
  function d(h) {
@@ -13807,59 +13822,59 @@ const HA = de({
13807
13822
  hasGroupNames: A,
13808
13823
  isSticky: i,
13809
13824
  platform: g,
13810
- groupNames: l,
13825
+ groupNames: u,
13811
13826
  orderedKeys: r
13812
13827
  };
13813
13828
  }
13814
- }), KA = { class: "v3-body" }, PA = ["id"], ZA = { class: "v3-emojis" }, GA = ["onMouseenter", "onClick"], XA = { key: 0 }, es = ["src", "alt", "onError"], fs = {
13829
+ }), GA = { class: "v3-body" }, XA = ["id"], es = { class: "v3-emojis" }, fs = ["onMouseenter", "onClick"], ns = { key: 0 }, as = ["src", "alt", "onError"], ts = {
13815
13830
  key: 1,
13816
13831
  class: "v3-no-result"
13817
13832
  };
13818
- function ns(e, f, n, a, t, s) {
13819
- return u(), c("div", KA, [
13833
+ function As(e, f, n, a, t, s) {
13834
+ return l(), c("div", GA, [
13820
13835
  o("div", {
13821
13836
  ref: "bodyInner",
13822
13837
  class: D([e.platform, "v3-body-inner"])
13823
13838
  }, [
13824
- e.orderedKeys.length ? (u(!0), c(B, { key: 0 }, Y(e.orderedKeys, (A) => (u(), c("div", {
13839
+ e.orderedKeys.length ? (l(!0), c(B, { key: 0 }, Y(e.orderedKeys, (A) => (l(), c("div", {
13825
13840
  id: A,
13826
13841
  key: A,
13827
13842
  class: "v3-group"
13828
13843
  }, [
13829
- e.hasGroupNames ? te((u(), c("h5", {
13844
+ e.hasGroupNames ? te((l(), c("h5", {
13830
13845
  key: 0,
13831
13846
  class: D(e.isSticky ? "v3-sticky" : "")
13832
13847
  }, w(e.groupNames[A]), 3)), [
13833
13848
  [pe, e.emojis[A]]
13834
13849
  ]) : y("", !0),
13835
- te(o("div", ZA, [
13836
- (u(!0), c(B, null, Y(e.emojis[A], (i) => (u(), c("button", {
13850
+ te(o("div", es, [
13851
+ (l(!0), c(B, null, Y(e.emojis[A], (i) => (l(), c("button", {
13837
13852
  key: i.r,
13838
13853
  type: "button",
13839
- onMouseenter: (l) => e.handleMouseEnter(i),
13840
- onClick: (l) => e.handleClick(i)
13854
+ onMouseenter: (u) => e.handleMouseEnter(i),
13855
+ onClick: (u) => e.handleClick(i)
13841
13856
  }, [
13842
- e.native ? (u(), c("span", XA, w(e.unicodeToEmoji(i.r)), 1)) : (u(), c("img", {
13857
+ e.native ? (l(), c("span", ns, w(e.unicodeToEmoji(i.r)), 1)) : (l(), c("img", {
13843
13858
  key: 1,
13844
13859
  src: e.EMOJI_REMOTE_SRC + `/${i.r}.png`,
13845
13860
  alt: i.n[0],
13846
- onError: (l) => e.handleError(l, i.r)
13847
- }, null, 40, es))
13848
- ], 40, GA))), 128))
13861
+ onError: (u) => e.handleError(u, i.r)
13862
+ }, null, 40, as))
13863
+ ], 40, fs))), 128))
13849
13864
  ], 512), [
13850
13865
  [pe, e.emojis[A]]
13851
13866
  ])
13852
- ], 8, PA))), 128)) : (u(), c("span", fs, " No emoji has been found! "))
13867
+ ], 8, XA))), 128)) : (l(), c("span", ts, " No emoji has been found! "))
13853
13868
  ], 2)
13854
13869
  ]);
13855
13870
  }
13856
- var as = /* @__PURE__ */ Qe(HA, [["render", ns]]), ts = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMy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C9zdmc+Cg==";
13872
+ const ms = de({
13858
13873
  name: "Header",
13859
13874
  setup(e) {
13860
- const { state: f, updateSearch: n, updateActiveGroup: a } = Ge("store"), t = T(() => !f.options.hideSearch), s = T(() => !f.options.hideGroupIcons), A = JSON.parse(JSON.stringify(f.orderedGroupKeys)), i = T(
13875
+ const { state: f, updateSearch: n, updateActiveGroup: a } = Ge("store"), t = x(() => !f.options.hideSearch), s = x(() => !f.options.hideGroupIcons), A = JSON.parse(JSON.stringify(f.orderedGroupKeys)), i = x(
13861
13876
  () => f.options.staticTexts.placeholder || ""
13862
- ), l = T({
13877
+ ), u = x({
13863
13878
  get: () => f.search,
13864
13879
  set: (d) => n(d)
13865
13880
  }), r = [
@@ -13875,42 +13890,42 @@ const cs = de({
13875
13890
  }), {
13876
13891
  orderedGroups: g,
13877
13892
  orderedKeys: A,
13878
- searchValue: l,
13893
+ searchValue: u,
13879
13894
  updateActiveGroup: a,
13880
13895
  hasSearch: t,
13881
13896
  hasGroupIcons: s,
13882
13897
  placeholder: i,
13883
13898
  icons: {
13884
13899
  smileys_people: gn,
13885
- animals_nature: ts,
13886
- food_drink: As,
13887
- activities: ss,
13888
- travel_places: is,
13889
- objects: os,
13890
- symbols: us,
13891
- flags: ls,
13900
+ animals_nature: is,
13901
+ food_drink: os,
13902
+ activities: ls,
13903
+ travel_places: us,
13904
+ objects: rs,
13905
+ symbols: cs,
13906
+ flags: ds,
13892
13907
  ...f.options.groupIcons,
13893
- recent: rs
13908
+ recent: gs
13894
13909
  }
13895
13910
  };
13896
13911
  }
13897
- }), ds = {
13912
+ }), ps = {
13898
13913
  key: 0,
13899
13914
  class: "v3-header"
13900
- }, gs = {
13915
+ }, Ms = {
13901
13916
  key: 0,
13902
13917
  class: "v3-groups"
13903
- }, ms = ["onClick"], ps = ["title"], Ms = ["src"], hs = {
13918
+ }, hs = ["onClick"], ys = ["title"], bs = ["src"], vs = {
13904
13919
  key: 1,
13905
13920
  class: "v3-spacing"
13906
- }, ys = {
13921
+ }, _s = {
13907
13922
  key: 2,
13908
13923
  class: "v3-search"
13909
- }, bs = ["placeholder"];
13910
- function vs(e, f, n, a, t, s) {
13911
- return e.hasGroupIcons || e.hasSearch ? (u(), c("div", ds, [
13912
- e.hasGroupIcons ? (u(), c("div", gs, [
13913
- (u(!0), c(B, null, Y(e.orderedGroups, (A) => (u(), c("button", {
13924
+ }, Is = ["placeholder"];
13925
+ function ws(e, f, n, a, t, s) {
13926
+ return e.hasGroupIcons || e.hasSearch ? (l(), c("div", ps, [
13927
+ e.hasGroupIcons ? (l(), c("div", Ms, [
13928
+ (l(!0), c(B, null, Y(e.orderedGroups, (A) => (l(), c("button", {
13914
13929
  key: A.key,
13915
13930
  type: "button",
13916
13931
  class: D(["v3-group", {
@@ -13925,29 +13940,29 @@ function vs(e, f, n, a, t, s) {
13925
13940
  o("img", {
13926
13941
  src: e.icons[A.key],
13927
13942
  alt: ""
13928
- }, null, 8, Ms)
13929
- ], 8, ps)
13930
- ], 10, ms))), 128))
13943
+ }, null, 8, bs)
13944
+ ], 8, ys)
13945
+ ], 10, hs))), 128))
13931
13946
  ])) : y("", !0),
13932
- e.hasGroupIcons && e.hasSearch ? (u(), c("div", hs)) : y("", !0),
13933
- e.hasSearch ? (u(), c("div", ys, [
13947
+ e.hasGroupIcons && e.hasSearch ? (l(), c("div", vs)) : y("", !0),
13948
+ e.hasSearch ? (l(), c("div", _s, [
13934
13949
  te(o("input", {
13935
13950
  "onUpdate:modelValue": f[0] || (f[0] = (A) => e.searchValue = A),
13936
13951
  type: "text",
13937
13952
  placeholder: e.placeholder
13938
- }, null, 8, bs), [
13953
+ }, null, 8, Is), [
13939
13954
  [Gf, e.searchValue]
13940
13955
  ])
13941
13956
  ])) : y("", !0)
13942
13957
  ])) : y("", !0);
13943
13958
  }
13944
- var _s = /* @__PURE__ */ Qe(cs, [["render", vs]]);
13945
- const Is = de({
13959
+ var ks = /* @__PURE__ */ Qe(ms, [["render", ws]]);
13960
+ const Ns = de({
13946
13961
  name: "Header",
13947
13962
  setup() {
13948
- const { state: e, updateSkinTone: f } = Ge("store"), n = b(!1), a = b(!1), t = T(() => e.skinTone), s = T(
13963
+ const { state: e, updateSkinTone: f } = Ge("store"), n = b(!1), a = b(!1), t = x(() => e.skinTone), s = x(
13949
13964
  () => e.options.staticTexts.skinTone || "Skin tone"
13950
- ), A = T(() => !e.options.disableSkinTones), i = mn() ? "is-mac" : "", l = T(() => ({
13965
+ ), A = x(() => !e.options.disableSkinTones), i = mn() ? "is-mac" : "", u = x(() => ({
13951
13966
  ...e.emoji,
13952
13967
  src: Xf + "/" + e.emoji[ze] + ".png"
13953
13968
  }));
@@ -13966,8 +13981,8 @@ const Is = de({
13966
13981
  a.value = !1;
13967
13982
  }
13968
13983
  ), {
13969
- emoji: l,
13970
- SKIN_TONES: mt,
13984
+ emoji: u,
13985
+ SKIN_TONES: ht,
13971
13986
  updateSkinToneState: r,
13972
13987
  skinTone: n,
13973
13988
  stateSkinTone: t,
@@ -13983,32 +13998,32 @@ const Is = de({
13983
13998
  hasError: a
13984
13999
  };
13985
14000
  }
13986
- }), ws = { class: "v3-foot-left" }, ks = { key: 0 }, Ns = ["alt", "src"], Ds = { class: "v3-text" }, js = { class: "v3-text" }, Vs = ["onClick"];
13987
- function Es(e, f, n, a, t, s) {
13988
- return u(), c("div", {
14001
+ }), Ds = { class: "v3-foot-left" }, js = { key: 0 }, Vs = ["alt", "src"], Es = { class: "v3-text" }, Ts = { class: "v3-text" }, xs = ["onClick"];
14002
+ function Ss(e, f, n, a, t, s) {
14003
+ return l(), c("div", {
13989
14004
  class: "v3-footer",
13990
14005
  onMouseleave: f[2] || (f[2] = (A) => e.updateSkinToneState(!1))
13991
14006
  }, [
13992
- o("div", ws, [
14007
+ o("div", Ds, [
13993
14008
  o("span", {
13994
14009
  class: D([e.platform, "v3-icon"])
13995
14010
  }, [
13996
- e.native || e.hasError ? (u(), c("span", ks, w(e.unicodeToEmoji(e.emoji.r)), 1)) : (u(), c("img", {
14011
+ e.native || e.hasError ? (l(), c("span", js, w(e.unicodeToEmoji(e.emoji.r)), 1)) : (l(), c("img", {
13997
14012
  key: 1,
13998
14013
  alt: e.unicodeToEmoji(e.emoji.r),
13999
14014
  src: e.emoji.src,
14000
14015
  onError: f[0] || (f[0] = (A) => e.hasError = !0)
14001
- }, null, 40, Ns))
14016
+ }, null, 40, Vs))
14002
14017
  ], 2),
14003
- o("span", Ds, " :" + w(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
14018
+ o("span", Es, " :" + w(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
14004
14019
  ]),
14005
- e.hasSkinTones ? (u(), c(B, { key: 0 }, [
14020
+ e.hasSkinTones ? (l(), c(B, { key: 0 }, [
14006
14021
  o("button", {
14007
14022
  type: "button",
14008
14023
  class: "v3-tone",
14009
14024
  onClick: f[1] || (f[1] = (...A) => e.toggleSkinToneState && e.toggleSkinToneState(...A))
14010
14025
  }, [
14011
- o("span", js, w(e.skinToneText), 1),
14026
+ o("span", Ts, w(e.skinToneText), 1),
14012
14027
  o("span", {
14013
14028
  class: D(`v3-icon v3-tone-${e.stateSkinTone}`)
14014
14029
  }, null, 2)
@@ -14016,23 +14031,23 @@ function Es(e, f, n, a, t, s) {
14016
14031
  o("div", {
14017
14032
  class: D([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
14018
14033
  }, [
14019
- (u(!0), c(B, null, Y(e.SKIN_TONES, (A) => (u(), c("button", {
14034
+ (l(!0), c(B, null, Y(e.SKIN_TONES, (A) => (l(), c("button", {
14020
14035
  key: A,
14021
14036
  type: "button",
14022
14037
  class: D(["v3-skin-tone-" + A, "v3-skin-tone"]),
14023
14038
  onClick: (i) => e.selectSkinTone(A)
14024
- }, null, 10, Vs))), 128))
14039
+ }, null, 10, xs))), 128))
14025
14040
  ], 2)
14026
14041
  ], 64)) : y("", !0)
14027
14042
  ], 32);
14028
14043
  }
14029
- var Ts = /* @__PURE__ */ Qe(Is, [["render", Es]]);
14030
- const xs = de({
14044
+ var zs = /* @__PURE__ */ Qe(Ns, [["render", Ss]]);
14045
+ const Os = de({
14031
14046
  name: "PickerRoot",
14032
14047
  components: {
14033
- Header: _s,
14034
- Body: as,
14035
- Footer: Ts
14048
+ Header: ks,
14049
+ Body: ss,
14050
+ Footer: zs
14036
14051
  },
14037
14052
  props: {
14038
14053
  type: {
@@ -14066,18 +14081,18 @@ const xs = de({
14066
14081
  },
14067
14082
  setup(e, { emit: f }) {
14068
14083
  const n = b(), a = b(), t = b(), s = b(!1), A = b(e.text), i = e.type === "input" || e.type === "textarea";
14069
- let l = -1;
14070
- const { state: r } = Ge("store"), g = T(() => r.options.colorTheme);
14084
+ let u = -1;
14085
+ const { state: r } = Ge("store"), g = x(() => r.options.colorTheme);
14071
14086
  function d(M) {
14072
14087
  if (i) {
14073
14088
  const k = r.options.mode;
14074
- k === "prepend" ? A.value = M.i + A.value : k === "insert" && l !== -1 ? (A.value = `${A.value.slice(0, l)}${M.i}${A.value.slice(l)}`, l += M.i.length) : A.value += M.i, f("update:text", A.value);
14089
+ k === "prepend" ? A.value = M.i + A.value : k === "insert" && u !== -1 ? (A.value = `${A.value.slice(0, u)}${M.i}${A.value.slice(u)}`, u += M.i.length) : A.value += M.i, f("update:text", A.value);
14075
14090
  }
14076
14091
  f("select", M);
14077
14092
  }
14078
14093
  function m() {
14079
14094
  var M;
14080
- n.value && (l = ((M = n.value) == null ? void 0 : M.selectionEnd) || -1);
14095
+ n.value && (u = ((M = n.value) == null ? void 0 : M.selectionEnd) || -1);
14081
14096
  }
14082
14097
  function p(M) {
14083
14098
  var k;
@@ -14088,7 +14103,7 @@ const xs = de({
14088
14103
  function h() {
14089
14104
  if (a.value && t.value && i) {
14090
14105
  let M = r.options.offset;
14091
- typeof M != "number" && (M = 6), WA(a.value, t.value, {
14106
+ typeof M != "number" && (M = 6), KA(a.value, t.value, {
14092
14107
  placement: "bottom-end",
14093
14108
  modifiers: [
14094
14109
  {
@@ -14122,15 +14137,15 @@ const xs = de({
14122
14137
  colorTheme: g
14123
14138
  };
14124
14139
  }
14125
- }), Ss = {
14140
+ }), Cs = {
14126
14141
  key: 0,
14127
14142
  class: "v3-input-emoji-picker"
14128
- }, zs = { class: "v3-input-picker-root" }, Os = ["value"], Cs = ["value"], Us = ["src"];
14129
- function Ls(e, f, n, a, t, s) {
14130
- const A = Je("Header"), i = Je("Body"), l = Je("Footer");
14131
- return e.isInputType ? (u(), c("div", Ss, [
14132
- o("div", zs, [
14133
- e.type === "input" ? (u(), c("input", {
14143
+ }, Us = { class: "v3-input-picker-root" }, Ls = ["value"], Qs = ["value"], Bs = ["src"];
14144
+ function Ys(e, f, n, a, t, s) {
14145
+ const A = Je("Header"), i = Je("Body"), u = Je("Footer");
14146
+ return e.isInputType ? (l(), c("div", Cs, [
14147
+ o("div", Us, [
14148
+ e.type === "input" ? (l(), c("input", {
14134
14149
  key: 0,
14135
14150
  ref: "elem",
14136
14151
  value: e.input,
@@ -14138,14 +14153,14 @@ function Ls(e, f, n, a, t, s) {
14138
14153
  class: "v3-emoji-picker-input",
14139
14154
  onInput: f[0] || (f[0] = (...r) => e.onChangeText && e.onChangeText(...r)),
14140
14155
  onBlur: f[1] || (f[1] = (...r) => e.updateCursor && e.updateCursor(...r))
14141
- }, null, 40, Os)) : (u(), c("textarea", {
14156
+ }, null, 40, Ls)) : (l(), c("textarea", {
14142
14157
  key: 1,
14143
14158
  ref: "elem",
14144
14159
  value: e.input,
14145
14160
  class: "v3-emoji-picker-textarea",
14146
14161
  onInput: f[2] || (f[2] = (...r) => e.onChangeText && e.onChangeText(...r)),
14147
14162
  onBlur: f[3] || (f[3] = (...r) => e.updateCursor && e.updateCursor(...r))
14148
- }, null, 40, Cs)),
14163
+ }, null, 40, Qs)),
14149
14164
  o("div", {
14150
14165
  class: D(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
14151
14166
  }, [
@@ -14158,7 +14173,7 @@ function Ls(e, f, n, a, t, s) {
14158
14173
  o("img", {
14159
14174
  src: e.face,
14160
14175
  alt: ""
14161
- }, null, 8, Us)
14176
+ }, null, 8, Bs)
14162
14177
  ], 512),
14163
14178
  o("div", {
14164
14179
  ref: "picker",
@@ -14166,24 +14181,24 @@ function Ls(e, f, n, a, t, s) {
14166
14181
  }, [
14167
14182
  S(A),
14168
14183
  S(i, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
14169
- S(l)
14184
+ S(u)
14170
14185
  ], 2)
14171
14186
  ], 2)
14172
14187
  ])
14173
- ])) : (u(), c("div", {
14188
+ ])) : (l(), c("div", {
14174
14189
  key: 1,
14175
14190
  class: D(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
14176
14191
  }, [
14177
14192
  S(A),
14178
14193
  S(i, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
14179
- S(l)
14194
+ S(u)
14180
14195
  ], 2));
14181
14196
  }
14182
- var Qs = /* @__PURE__ */ Qe(xs, [["render", Ls]]);
14183
- const Bs = de({
14197
+ var Rs = /* @__PURE__ */ Qe(Os, [["render", Ys]]);
14198
+ const qs = de({
14184
14199
  name: "Picker",
14185
14200
  components: {
14186
- PickerRoot: Qs
14201
+ PickerRoot: Rs
14187
14202
  },
14188
14203
  props: {
14189
14204
  native: {
@@ -14268,13 +14283,13 @@ const Bs = de({
14268
14283
  function a(s) {
14269
14284
  n.value = s || "", f("update:text", n.value);
14270
14285
  }
14271
- const t = Bt();
14286
+ const t = qt();
14272
14287
  return t.updateOptions({
14273
14288
  native: e.native,
14274
14289
  hideSearch: e.hideSearch,
14275
14290
  hideGroupIcons: e.hideGroupIcons,
14276
14291
  hideGroupNames: e.hideGroupNames,
14277
- staticTexts: { ...pt, ...e.staticTexts },
14292
+ staticTexts: { ...yt, ...e.staticTexts },
14278
14293
  disableStickyGroupNames: e.disableStickyGroupNames,
14279
14294
  disabledGroups: e.disabledGroups,
14280
14295
  groupNames: { ...en, ...e.groupNames },
@@ -14285,7 +14300,7 @@ const Bs = de({
14285
14300
  offset: e.offset,
14286
14301
  groupOrder: e.groupOrder,
14287
14302
  groupIcons: e.groupIcons,
14288
- colorTheme: Mt.includes(e.theme) ? e.theme : "light"
14303
+ colorTheme: bt.includes(e.theme) ? e.theme : "light"
14289
14304
  }), jn("store", t), {
14290
14305
  type: e.pickerType,
14291
14306
  input: n,
@@ -14293,17 +14308,17 @@ const Bs = de({
14293
14308
  };
14294
14309
  }
14295
14310
  });
14296
- function Ys(e, f, n, a, t, s) {
14311
+ function Fs(e, f, n, a, t, s) {
14297
14312
  const A = Je("picker-root");
14298
- return u(), L(A, {
14313
+ return l(), L(A, {
14299
14314
  type: e.type,
14300
14315
  text: e.input,
14301
14316
  onSelect: f[0] || (f[0] = (i) => e.$emit("select", i)),
14302
14317
  "onUpdate:text": e.onChangeText
14303
14318
  }, null, 8, ["type", "text", "onUpdate:text"]);
14304
14319
  }
14305
- var Rs = /* @__PURE__ */ Qe(Bs, [["render", Ys]]);
14306
- const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws = { class: "context-menu__list" }, Js = ["onClick"], Hs = ["src"], Ks = {
14320
+ var $s = /* @__PURE__ */ Qe(qs, [["render", Fs]]);
14321
+ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks = { class: "context-menu__list" }, Ps = ["onClick"], Zs = ["src"], Gs = {
14307
14322
  __name: "ButtonContextMenu",
14308
14323
  props: {
14309
14324
  actions: {
@@ -14351,7 +14366,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14351
14366
  t.value.style.display = "none", a("click", m);
14352
14367
  }, i = () => {
14353
14368
  n.disabled || (n.mode == "click" && (t.value.style.display = "inherit"), a("buttonClick"));
14354
- }, l = () => {
14369
+ }, u = () => {
14355
14370
  n.mode == "hover" && !n.disabled && (t.value.style.display = "inherit");
14356
14371
  }, r = () => {
14357
14372
  n.mode == "hover" && (t.value.style.display = "none");
@@ -14381,7 +14396,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14381
14396
  n.menuSide == "top" && (m = document.getElementById("container-" + n.contextMenuKey).offsetWidth, p = document.getElementById("context-menu-" + n.contextMenuKey).offsetHeight, t.value.style.left = d[n.menuSide].w * m + "px"), n.menuSide == "bottom" && (m = document.getElementById("context-menu-" + n.contextMenuKey).offsetWidth, p = document.getElementById("container-" + n.contextMenuKey).offsetHeight, t.value.style.right = d[n.menuSide].w * m + "px"), n.menuSide == "left" && (m = document.getElementById("container-" + n.contextMenuKey).offsetWidth, p = document.getElementById("context-menu-" + n.contextMenuKey).offsetHeight, t.value.style.right = d[n.menuSide].w * m + "px"), n.menuSide == "right" && (m = document.getElementById("container-" + n.contextMenuKey).offsetWidth, p = document.getElementById("context-menu-" + n.contextMenuKey).offsetHeight, t.value.style.left = d[n.menuSide].w * m + "px"), t.value.style.top = d[n.menuSide].h * p + "px", t.value.style.display = "none", document.addEventListener("click", g);
14382
14397
  }), Tn(() => {
14383
14398
  document.removeEventListener("click", g);
14384
- }), (d, m) => (u(), c("div", {
14399
+ }), (d, m) => (l(), c("div", {
14385
14400
  id: "container-" + n.contextMenuKey,
14386
14401
  ref_key: "actionScope",
14387
14402
  ref: s,
@@ -14393,7 +14408,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14393
14408
  "disabled-button": e.disabled
14394
14409
  }]),
14395
14410
  onClick: i,
14396
- onMouseover: l,
14411
+ onMouseover: u,
14397
14412
  onMouseout: r
14398
14413
  }, [
14399
14414
  o("span", {
@@ -14405,42 +14420,42 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14405
14420
  ref_key: "contextMenu",
14406
14421
  ref: t,
14407
14422
  class: "context-menu",
14408
- onMouseover: l,
14423
+ onMouseover: u,
14409
14424
  onMouseout: r
14410
14425
  }, [
14411
- o("div", $s, [
14412
- o("ul", Ws, [
14413
- (u(!0), c(B, null, Y(n.actions, (p, h) => (u(), c("li", {
14426
+ o("div", Hs, [
14427
+ o("ul", Ks, [
14428
+ (l(!0), c(B, null, Y(n.actions, (p, h) => (l(), c("li", {
14414
14429
  key: h,
14415
14430
  class: "context-menu__item",
14416
14431
  onClick: (I) => A(h)
14417
14432
  }, [
14418
- p.icon ? (u(), c("img", {
14433
+ p.icon ? (l(), c("img", {
14419
14434
  key: 0,
14420
14435
  src: p.icon,
14421
14436
  width: "18",
14422
14437
  height: "18"
14423
- }, null, 8, Hs)) : p.prime ? (u(), c("i", {
14438
+ }, null, 8, Zs)) : p.prime ? (l(), c("i", {
14424
14439
  key: 1,
14425
14440
  class: D("pi pi-" + p.prime)
14426
14441
  }, null, 2)) : y("", !0),
14427
14442
  o("span", null, w(p.title), 1)
14428
- ], 8, Js))), 128))
14443
+ ], 8, Ps))), 128))
14429
14444
  ])
14430
14445
  ])
14431
- ], 40, Fs)
14432
- ], 10, qs));
14446
+ ], 40, Js)
14447
+ ], 10, Ws));
14433
14448
  }
14434
- }, Mn = /* @__PURE__ */ j(Ks, [["__scopeId", "data-v-2eb2dd26"]]), Ps = { class: "channels__container" }, Zs = {
14449
+ }, Mn = /* @__PURE__ */ j(Gs, [["__scopeId", "data-v-2eb2dd26"]]), Xs = { class: "channels__container" }, ei = {
14435
14450
  key: 0,
14436
14451
  class: "channels__selected"
14437
- }, Gs = {
14452
+ }, fi = {
14438
14453
  key: 0,
14439
14454
  class: "channels__icon"
14440
- }, Xs = ["src"], ei = { class: "channels__title" }, fi = {
14455
+ }, ni = ["src"], ai = { class: "channels__title" }, ti = {
14441
14456
  key: 1,
14442
14457
  class: "channels__selected channels__title"
14443
- }, ni = {
14458
+ }, Ai = {
14444
14459
  __name: "ChannelSelector",
14445
14460
  props: {
14446
14461
  channels: {
@@ -14451,23 +14466,23 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14451
14466
  },
14452
14467
  emits: ["selectChannel"],
14453
14468
  setup(e, { emit: f }) {
14454
- const n = b(null), a = e, t = f, A = b(a.channels.find((l) => l.type === "default")), i = (l) => {
14455
- A.value = l, t("selectChannel", A.value);
14469
+ const n = b(null), a = e, t = f, A = b(a.channels.find((u) => u.type === "default")), i = (u) => {
14470
+ A.value = u, t("selectChannel", A.value);
14456
14471
  };
14457
- return (l, r) => (u(), c("div", {
14472
+ return (u, r) => (l(), c("div", {
14458
14473
  ref_key: "customDiv",
14459
14474
  ref: n,
14460
14475
  class: "channels"
14461
14476
  }, [
14462
- o("div", Ps, [
14463
- A.value ? (u(), c("div", Zs, [
14464
- A.value.icon ? (u(), c("span", Gs, [
14477
+ o("div", Xs, [
14478
+ A.value ? (l(), c("div", ei, [
14479
+ A.value.icon ? (l(), c("span", fi, [
14465
14480
  o("img", {
14466
14481
  src: A.value.icon
14467
- }, null, 8, Xs)
14482
+ }, null, 8, ni)
14468
14483
  ])) : y("", !0),
14469
- o("span", ei, w(A.value.title), 1)
14470
- ])) : (u(), c("span", fi, "Канал не выбран")),
14484
+ o("span", ai, w(A.value.title), 1)
14485
+ ])) : (l(), c("span", ti, "Канал не выбран")),
14471
14486
  S(Mn, {
14472
14487
  actions: e.channels,
14473
14488
  mode: "hover",
@@ -14479,13 +14494,13 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14479
14494
  ])
14480
14495
  ], 512));
14481
14496
  }
14482
- }, ai = /* @__PURE__ */ j(ni, [["__scopeId", "data-v-80cc8217"]]), ti = { class: "template-selector" }, Ai = { class: "template-selector__container" }, si = { class: "template-selector__button-close" }, ii = { class: "template-selector__list" }, oi = ["onClick"], ui = { class: "template-selector__item-group" }, li = { class: "template-selector__item-template" }, ri = { class: "template-selector__item-title" }, ci = { class: "template-selector__item-text" }, di = { class: "template-selector__preview-container" }, gi = {
14497
+ }, si = /* @__PURE__ */ j(Ai, [["__scopeId", "data-v-80cc8217"]]), ii = { class: "template-selector" }, oi = { class: "template-selector__container" }, li = { class: "template-selector__button-close" }, ui = { class: "template-selector__list" }, ri = ["onClick"], ci = { class: "template-selector__item-group" }, di = { class: "template-selector__item-template" }, gi = { class: "template-selector__item-title" }, mi = { class: "template-selector__item-text" }, pi = { class: "template-selector__preview-container" }, Mi = {
14483
14498
  key: 0,
14484
14499
  class: "template-selector__preview"
14485
- }, mi = { class: "template-selector__preview-wrapper" }, pi = { class: "template-selector__preview-text" }, Mi = {
14500
+ }, hi = { class: "template-selector__preview-wrapper" }, yi = { class: "template-selector__preview-text" }, bi = {
14486
14501
  key: 1,
14487
14502
  class: "template-selector__preview-title"
14488
- }, hi = {
14503
+ }, vi = {
14489
14504
  __name: "TemplateSelector",
14490
14505
  props: {
14491
14506
  templates: {
@@ -14500,35 +14515,35 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14500
14515
  n.templates.forEach((i) => i.isSelected = !1);
14501
14516
  const A = n.templates.find((i) => i.templateId === s.templateId);
14502
14517
  A.isSelected = !0;
14503
- }, t = T(() => n.templates.find((s) => s.isSelected));
14504
- return (s, A) => (u(), c("div", ti, [
14505
- o("div", Ai, [
14506
- o("button", si, [
14518
+ }, t = x(() => n.templates.find((s) => s.isSelected));
14519
+ return (s, A) => (l(), c("div", ii, [
14520
+ o("div", oi, [
14521
+ o("button", li, [
14507
14522
  o("span", {
14508
14523
  class: "pi pi-times",
14509
14524
  onClick: A[0] || (A[0] = (i) => s.$emit("closeTemplateWindow"))
14510
14525
  })
14511
14526
  ]),
14512
- o("ul", ii, [
14513
- (u(!0), c(B, null, Y(e.templates, (i, l) => (u(), c("li", {
14514
- key: l,
14527
+ o("ul", ui, [
14528
+ (l(!0), c(B, null, Y(e.templates, (i, u) => (l(), c("li", {
14529
+ key: u,
14515
14530
  class: D(["template-selector__item", { "template-selector__item-selected": i.isSelected }]),
14516
14531
  onClick: (r) => a(i)
14517
14532
  }, [
14518
- o("p", ui, w(i.groupId), 1),
14519
- o("div", li, [
14520
- o("p", ri, w(i.title), 1),
14521
- o("p", ci, w(i.template), 1)
14533
+ o("p", ci, w(i.groupId), 1),
14534
+ o("div", di, [
14535
+ o("p", gi, w(i.title), 1),
14536
+ o("p", mi, w(i.template), 1)
14522
14537
  ])
14523
- ], 10, oi))), 128))
14538
+ ], 10, ri))), 128))
14524
14539
  ]),
14525
- o("div", di, [
14526
- t.value ? (u(), c("div", gi, [
14527
- o("div", mi, [
14528
- o("p", pi, w(t.value.template), 1),
14540
+ o("div", pi, [
14541
+ t.value ? (l(), c("div", Mi, [
14542
+ o("div", hi, [
14543
+ o("p", yi, w(t.value.template), 1),
14529
14544
  A[2] || (A[2] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
14530
14545
  ])
14531
- ])) : (u(), c("p", Mi, " Предпросмотр шаблона "))
14546
+ ])) : (l(), c("p", bi, " Предпросмотр шаблона "))
14532
14547
  ]),
14533
14548
  o("button", {
14534
14549
  class: "template-selector__button-paste",
@@ -14537,10 +14552,10 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14537
14552
  ])
14538
14553
  ]));
14539
14554
  }
14540
- }, yi = /* @__PURE__ */ j(hi, [["__scopeId", "data-v-a6888541"]]), bi = { class: "chat-input" }, vi = { class: "chat-input__container" }, _i = {
14555
+ }, _i = /* @__PURE__ */ j(vi, [["__scopeId", "data-v-a6888541"]]), Ii = { class: "chat-input" }, wi = { class: "chat-input__container" }, ki = {
14541
14556
  key: 0,
14542
14557
  class: "chat-input__first-line"
14543
- }, Ii = { class: "chat-input__second-line" }, wi = { class: "chat-input__third-line" }, ki = {
14558
+ }, Ni = { class: "chat-input__second-line" }, Di = { class: "chat-input__third-line" }, ji = {
14544
14559
  __name: "ChatInput",
14545
14560
  props: /* @__PURE__ */ zf({
14546
14561
  enableEmoji: {
@@ -14557,6 +14572,9 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14557
14572
  type: Array,
14558
14573
  required: !1,
14559
14574
  default: () => []
14575
+ },
14576
+ filebumpUrl: {
14577
+ type: String
14560
14578
  }
14561
14579
  }, {
14562
14580
  modelValue: { type: String },
@@ -14564,9 +14582,9 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14564
14582
  }),
14565
14583
  emits: /* @__PURE__ */ zf(["send", "typing", "selectChannel"], ["update:modelValue"]),
14566
14584
  setup(e, { emit: f }) {
14567
- const n = f, a = xn(e, "modelValue"), t = b(null), s = b(null), A = b(""), i = b(!1), l = (v) => {
14585
+ const n = f, a = xn(e, "modelValue"), t = b(null), s = b(null), A = b(""), i = b(!1), u = (v) => {
14568
14586
  a.value = v, i.value = !i.value;
14569
- }, r = T(() => !s.value || s.value === "");
14587
+ }, r = x(() => !s.value || s.value === "");
14570
14588
  we(
14571
14589
  () => a.value,
14572
14590
  () => {
@@ -14594,16 +14612,16 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14594
14612
  text: null
14595
14613
  };
14596
14614
  s.value ? (v.type = "message." + s.value.type, v.url = s.value.url, v.filename = s.value.filename, v.size = s.value.size, v.text = (_ = a == null ? void 0 : a.value) == null ? void 0 : _.trim()) : (v.type = "message.text", v.text = a.value.trim()), n("send", v), s.value = !1, a.value = null, q(t).focus();
14597
- }, M = T(() => {
14615
+ }, M = x(() => {
14598
14616
  if (document.documentElement.classList.contains("dark"))
14599
14617
  return "dark";
14600
14618
  }), k = (v) => {
14601
14619
  a.value = (a.value ? a.value : "") + v.i;
14602
14620
  };
14603
- return (v, _) => (u(), c("div", bi, [
14604
- o("div", vi, [
14605
- s.value ? (u(), c("div", _i, [
14606
- S(ot, {
14621
+ return (v, _) => (l(), c("div", Ii, [
14622
+ o("div", wi, [
14623
+ s.value ? (l(), c("div", ki, [
14624
+ S(rt, {
14607
14625
  "preview-url": s.value.previewUrl,
14608
14626
  "is-image": s.value.isImage,
14609
14627
  "is-video": s.value.isVideo,
@@ -14613,7 +14631,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14613
14631
  onReset: m
14614
14632
  }, null, 8, ["preview-url", "is-image", "is-video", "is-audio", "file-name", "file-size"])
14615
14633
  ])) : y("", !0),
14616
- o("div", Ii, [
14634
+ o("div", Ni, [
14617
14635
  te(o("textarea", {
14618
14636
  ref_key: "refInput",
14619
14637
  ref: t,
@@ -14632,11 +14650,12 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14632
14650
  o("span", { class: "pi pi-send" }, null, -1)
14633
14651
  ]))
14634
14652
  ]),
14635
- o("div", wi, [
14636
- S(q(Wo), {
14653
+ o("div", Di, [
14654
+ S(q(Po), {
14637
14655
  "can-upload-file": r.value,
14656
+ "filebump-url": e.filebumpUrl,
14638
14657
  onFileUploaded: d
14639
- }, null, 8, ["can-upload-file"]),
14658
+ }, null, 8, ["can-upload-file", "filebump-url"]),
14640
14659
  o("button", {
14641
14660
  class: "chat-input__button-emoji",
14642
14661
  onClick: _[1] || (_[1] = (...N) => v.toogleDialogEmoji && v.toogleDialogEmoji(...N))
@@ -14645,7 +14664,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14645
14664
  ])),
14646
14665
  S(H, null, {
14647
14666
  default: K(() => [
14648
- S(q(Rs), {
14667
+ S(q($s), {
14649
14668
  class: "chat-input__emoji",
14650
14669
  native: !0,
14651
14670
  theme: M.value,
@@ -14663,16 +14682,16 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14663
14682
  ])),
14664
14683
  S(H, null, {
14665
14684
  default: K(() => [
14666
- i.value ? (u(), L(yi, {
14685
+ i.value ? (l(), L(_i, {
14667
14686
  key: 0,
14668
14687
  templates: e.templates.templates,
14669
14688
  onCloseTemplateWindow: _[3] || (_[3] = (N) => i.value = !i.value),
14670
- onPasteTemplate: l
14689
+ onPasteTemplate: u
14671
14690
  }, null, 8, ["templates"])) : y("", !0)
14672
14691
  ]),
14673
14692
  _: 1
14674
14693
  }),
14675
- S(ai, {
14694
+ S(si, {
14676
14695
  channels: e.channels,
14677
14696
  onSelectChannel: h
14678
14697
  }, null, 8, ["channels"])
@@ -14680,28 +14699,28 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14680
14699
  ])
14681
14700
  ]));
14682
14701
  }
14683
- }, Z1 = /* @__PURE__ */ j(ki, [["__scopeId", "data-v-d1641393"]]), Ni = { class: "chat-item__avatar-container" }, Di = ["src"], ji = {
14702
+ }, fl = /* @__PURE__ */ j(ji, [["__scopeId", "data-v-255a3a21"]]), Vi = { class: "chat-item__avatar-container" }, Ei = ["src"], Ti = {
14684
14703
  key: 1,
14685
14704
  class: "pi pi-user"
14686
- }, Vi = { class: "chat-item__info-container" }, Ei = { class: "chat-item__name" }, Ti = {
14705
+ }, xi = { class: "chat-item__info-container" }, Si = { class: "chat-item__name" }, zi = {
14687
14706
  key: 0,
14688
14707
  class: "chat-item__last-message"
14689
- }, xi = { class: "chat-item__details-container" }, Si = {
14708
+ }, Oi = { class: "chat-item__details-container" }, Ci = {
14690
14709
  key: 0,
14691
14710
  class: "chat-item__time"
14692
- }, zi = {
14711
+ }, Ui = {
14693
14712
  key: 1,
14694
14713
  class: "chat-item__unread"
14695
- }, Oi = {
14714
+ }, Li = {
14696
14715
  key: 3,
14697
14716
  class: "chat-item__status-chat-container"
14698
- }, Ci = {
14717
+ }, Qi = {
14699
14718
  key: 0,
14700
14719
  class: "pi pi-check"
14701
- }, Ui = {
14720
+ }, Bi = {
14702
14721
  key: 1,
14703
14722
  class: "chat-item__fixed pi pi-thumbtack"
14704
- }, Li = {
14723
+ }, Yi = {
14705
14724
  __name: "ChatItem",
14706
14725
  props: {
14707
14726
  chat: {
@@ -14715,13 +14734,13 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14715
14734
  a("select", n.chat);
14716
14735
  }, s = () => n.chat.isSelected ? "chat-item__selected" : "chat-item", A = (M) => {
14717
14736
  g(), a("action", { chatId: n.chat.chatId, ...M });
14718
- }, i = b(!1), l = b(!1), r = () => {
14719
- l.value = !0;
14737
+ }, i = b(!1), u = b(!1), r = () => {
14738
+ u.value = !0;
14720
14739
  }, g = () => {
14721
- l.value = !1, i.value = !1;
14722
- }, d = T(() => Ne(n.chat["lastMessage.status"]));
14740
+ u.value = !1, i.value = !1;
14741
+ }, d = x(() => Ne(n.chat["lastMessage.status"]));
14723
14742
  let m;
14724
- const p = b(0), h = ["typing.", "typing..", "typing..."], I = T(() => n.chat.typing ? h[p.value] : n.chat.lastMessage);
14743
+ const p = b(0), h = ["typing.", "typing..", "typing..."], I = x(() => n.chat.typing ? h[p.value] : n.chat.lastMessage);
14725
14744
  return we(
14726
14745
  () => n.chat.typing,
14727
14746
  () => {
@@ -14730,7 +14749,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14730
14749
  }, 1e3) : (p.value = 0, clearInterval(m));
14731
14750
  },
14732
14751
  { immediate: !0 }
14733
- ), (M, k) => (u(), c("div", {
14752
+ ), (M, k) => (l(), c("div", {
14734
14753
  class: D(s()),
14735
14754
  onClick: t
14736
14755
  }, [
@@ -14739,46 +14758,46 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14739
14758
  onMouseenter: r,
14740
14759
  onMouseleave: g
14741
14760
  }, [
14742
- o("div", Ni, [
14761
+ o("div", Vi, [
14743
14762
  o("span", {
14744
14763
  class: "chat-item__status-user",
14745
14764
  style: z({ backgroundColor: n.chat.status })
14746
14765
  }, null, 4),
14747
- n.chat.avatar ? (u(), c("img", {
14766
+ n.chat.avatar ? (l(), c("img", {
14748
14767
  key: 0,
14749
14768
  src: n.chat.avatar,
14750
14769
  height: "48",
14751
14770
  width: "48"
14752
- }, null, 8, Di)) : (u(), c("span", ji))
14753
- ]),
14754
- o("div", Vi, [
14755
- o("div", Ei, w(e.chat.name), 1),
14756
- e.chat.lastMessage || e.chat.typing ? (u(), c("div", Ti, w(I.value), 1)) : y("", !0)
14771
+ }, null, 8, Ei)) : (l(), c("span", Ti))
14757
14772
  ]),
14758
14773
  o("div", xi, [
14759
- e.chat["lastActivity.time"] ? (u(), c("div", Si, w(e.chat["lastActivity.time"]), 1)) : y("", !0),
14760
- e.chat.countUnread > 0 ? (u(), c("div", zi, w(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : y("", !0),
14761
- l.value && e.chat.actions ? (u(), c("button", {
14774
+ o("div", Si, w(e.chat.name), 1),
14775
+ e.chat.lastMessage || e.chat.typing ? (l(), c("div", zi, w(I.value), 1)) : y("", !0)
14776
+ ]),
14777
+ o("div", Oi, [
14778
+ e.chat["lastActivity.time"] ? (l(), c("div", Ci, w(e.chat["lastActivity.time"]), 1)) : y("", !0),
14779
+ e.chat.countUnread > 0 ? (l(), c("div", Ui, w(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : y("", !0),
14780
+ u.value && e.chat.actions ? (l(), c("button", {
14762
14781
  key: 2,
14763
14782
  class: "chat-item__menu-button",
14764
14783
  onClick: k[0] || (k[0] = (v) => i.value = !i.value)
14765
14784
  }, k[1] || (k[1] = [
14766
14785
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
14767
14786
  ]))) : y("", !0),
14768
- e.chat.countUnread < 1 ? (u(), c("div", Oi, [
14769
- q(ke).includes(e.chat["lastMessage.status"]) ? (u(), c("div", {
14787
+ e.chat.countUnread < 1 ? (l(), c("div", Li, [
14788
+ q(ke).includes(e.chat["lastMessage.status"]) ? (l(), c("div", {
14770
14789
  key: 0,
14771
14790
  class: D(["chat-item__status-message", d.value])
14772
14791
  }, [
14773
- e.chat["lastMessage.status"] !== "send" ? (u(), c("span", Ci)) : y("", !0),
14792
+ e.chat["lastMessage.status"] !== "send" ? (l(), c("span", Qi)) : y("", !0),
14774
14793
  k[2] || (k[2] = o("span", { class: "pi pi-check" }, null, -1))
14775
14794
  ], 2)) : y("", !0),
14776
- e.chat.isFixedTop || e.chat.isFixedBottom ? (u(), c("span", Ui)) : y("", !0)
14795
+ e.chat.isFixedTop || e.chat.isFixedBottom ? (l(), c("span", Bi)) : y("", !0)
14777
14796
  ])) : y("", !0)
14778
14797
  ]),
14779
14798
  S(H, { name: "menu" }, {
14780
14799
  default: K(() => [
14781
- i.value && e.chat.actions ? (u(), L(ge, {
14800
+ i.value && e.chat.actions ? (l(), L(ge, {
14782
14801
  key: 0,
14783
14802
  class: "chat-item__context-menu",
14784
14803
  actions: e.chat.actions,
@@ -14790,7 +14809,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14790
14809
  ], 32)
14791
14810
  ], 2));
14792
14811
  }
14793
- }, uf = /* @__PURE__ */ j(Li, [["__scopeId", "data-v-e2ad67d9"]]), Qi = { class: "chat-filter" }, Bi = { class: "chat-filter__container" }, Yi = {
14812
+ }, lf = /* @__PURE__ */ j(Yi, [["__scopeId", "data-v-e2ad67d9"]]), Ri = { class: "chat-filter" }, qi = { class: "chat-filter__container" }, Fi = {
14794
14813
  __name: "ChatFilter",
14795
14814
  emits: ["update"],
14796
14815
  setup(e, { emit: f }) {
@@ -14798,8 +14817,8 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14798
14817
  const s = q(n);
14799
14818
  a("update", s.value);
14800
14819
  };
14801
- return (s, A) => (u(), c("div", Qi, [
14802
- o("div", Bi, [
14820
+ return (s, A) => (l(), c("div", Ri, [
14821
+ o("div", qi, [
14803
14822
  o("input", {
14804
14823
  ref_key: "refInput",
14805
14824
  ref: n,
@@ -14811,16 +14830,16 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14811
14830
  ])
14812
14831
  ]));
14813
14832
  }
14814
- }, Ri = /* @__PURE__ */ j(Yi, [["__scopeId", "data-v-f043bb19"]]), qi = { class: "chat-list" }, Fi = {
14833
+ }, $i = /* @__PURE__ */ j(Fi, [["__scopeId", "data-v-f043bb19"]]), Wi = { class: "chat-list" }, Ji = {
14815
14834
  key: 0,
14816
14835
  class: "chat-list__title"
14817
- }, $i = {
14836
+ }, Hi = {
14818
14837
  key: 0,
14819
14838
  class: "pi pi-minus"
14820
- }, Wi = {
14839
+ }, Ki = {
14821
14840
  key: 1,
14822
14841
  class: "pi pi-plus"
14823
- }, Ji = { class: "chat-list__items" }, Hi = { class: "chat-list__fixed-items-top" }, Ki = { class: "chat-list__scrollable-items" }, Pi = { class: "chat-list__fixed-items-bottom" }, Zi = {
14842
+ }, Pi = { class: "chat-list__items" }, Zi = { class: "chat-list__fixed-items-top" }, Gi = { class: "chat-list__scrollable-items" }, Xi = { class: "chat-list__fixed-items-bottom" }, eo = {
14824
14843
  __name: "ChatList",
14825
14844
  props: {
14826
14845
  title: {
@@ -14849,7 +14868,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14849
14868
  s.chats.forEach((p) => p.isSelected = !1);
14850
14869
  const m = s.chats.find((p) => p.chatId === d.chatId);
14851
14870
  m.isSelected = !0, A("select", d);
14852
- }, l = () => s.chats.toSorted((d, m) => {
14871
+ }, u = () => s.chats.toSorted((d, m) => {
14853
14872
  if (Number(d["lastActivity.timestamp"]) > Number(m["lastActivity.timestamp"])) return -1;
14854
14873
  if (Number(d["lastActivity.timestamp"]) < Number(m["lastActivity.timestamp"])) return 1;
14855
14874
  if (Number(d["lastActivity.timestamp"]) == Number(m["lastActivity.timestamp"])) return 0;
@@ -14860,22 +14879,22 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14860
14879
  }).filter((d) => d.name.includes(n.value) || d.metadata.includes(n.value)), r = (d) => {
14861
14880
  n.value = d;
14862
14881
  }, g = (d) => A("action", d);
14863
- return (d, m) => (u(), c("div", qi, [
14882
+ return (d, m) => (l(), c("div", Wi, [
14864
14883
  o("div", {
14865
14884
  class: "chat-list__title-container",
14866
14885
  onMouseleave: t
14867
14886
  }, [
14868
- e.title ? (u(), c("h2", Fi, w(e.title), 1)) : y("", !0),
14869
- e.actions.length ? (u(), c("button", {
14887
+ e.title ? (l(), c("h2", Ji, w(e.title), 1)) : y("", !0),
14888
+ e.actions.length ? (l(), c("button", {
14870
14889
  key: 1,
14871
14890
  class: "chat-list__button-actions",
14872
14891
  onClick: m[0] || (m[0] = (p) => a.value = !a.value)
14873
14892
  }, [
14874
- a.value ? (u(), c("span", $i)) : (u(), c("span", Wi))
14893
+ a.value ? (l(), c("span", Hi)) : (l(), c("span", Ki))
14875
14894
  ])) : y("", !0),
14876
14895
  S(H, null, {
14877
14896
  default: K(() => [
14878
- a.value && e.actions ? (u(), L(ge, {
14897
+ a.value && e.actions ? (l(), L(ge, {
14879
14898
  key: 0,
14880
14899
  actions: e.actions,
14881
14900
  class: "chat-list__context-menu",
@@ -14885,14 +14904,14 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14885
14904
  _: 1
14886
14905
  })
14887
14906
  ], 32),
14888
- e.filterEnabled ? (u(), L(Ri, {
14907
+ e.filterEnabled ? (l(), L($i, {
14889
14908
  key: 0,
14890
14909
  class: "chat-list__filter",
14891
14910
  onUpdate: r
14892
14911
  })) : y("", !0),
14893
- o("div", Ji, [
14894
- o("div", Hi, [
14895
- (u(!0), c(B, null, Y(l().filter((p) => p.isFixedTop), (p) => (u(), L(uf, {
14912
+ o("div", Pi, [
14913
+ o("div", Zi, [
14914
+ (l(!0), c(B, null, Y(u().filter((p) => p.isFixedTop), (p) => (l(), L(lf, {
14896
14915
  key: p.chatId,
14897
14916
  class: "chat-list__item",
14898
14917
  chat: p,
@@ -14900,8 +14919,8 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14900
14919
  onAction: g
14901
14920
  }, null, 8, ["chat"]))), 128))
14902
14921
  ]),
14903
- o("div", Ki, [
14904
- (u(!0), c(B, null, Y(l().filter((p) => !p.isFixedBottom && !p.isFixedTop), (p) => (u(), L(uf, {
14922
+ o("div", Gi, [
14923
+ (l(!0), c(B, null, Y(u().filter((p) => !p.isFixedBottom && !p.isFixedTop), (p) => (l(), L(lf, {
14905
14924
  key: p.chatId,
14906
14925
  class: "chat-list__item",
14907
14926
  chat: p,
@@ -14909,8 +14928,8 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14909
14928
  onAction: g
14910
14929
  }, null, 8, ["chat"]))), 128))
14911
14930
  ]),
14912
- o("div", Pi, [
14913
- (u(!0), c(B, null, Y(l().filter((p) => p.isFixedBottom), (p) => (u(), L(uf, {
14931
+ o("div", Xi, [
14932
+ (l(!0), c(B, null, Y(u().filter((p) => p.isFixedBottom), (p) => (l(), L(lf, {
14914
14933
  key: p.chatId,
14915
14934
  class: "chat-list__item",
14916
14935
  chat: p,
@@ -14921,10 +14940,10 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14921
14940
  ])
14922
14941
  ]));
14923
14942
  }
14924
- }, G1 = /* @__PURE__ */ j(Zi, [["__scopeId", "data-v-56d1c0f8"]]), Gi = ["messageId"], Xi = ["src"], eo = ["src"], fo = { class: "video-message__controls" }, no = { class: "video-message__remaining-time" }, ao = { class: "video-message__info-container" }, to = { class: "video-message__time" }, Ao = {
14943
+ }, nl = /* @__PURE__ */ j(eo, [["__scopeId", "data-v-56d1c0f8"]]), fo = ["messageId"], no = ["src"], ao = ["src"], to = { class: "video-message__controls" }, Ao = { class: "video-message__remaining-time" }, so = { class: "video-message__info-container" }, io = { class: "video-message__time" }, oo = {
14925
14944
  key: 0,
14926
14945
  class: "pi pi-check"
14927
- }, so = {
14946
+ }, lo = ["href"], uo = {
14928
14947
  __name: "VideoMessage",
14929
14948
  props: {
14930
14949
  message: {
@@ -14937,18 +14956,18 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14937
14956
  function n(I) {
14938
14957
  return I.position === "left" ? "video-message__left" : "video-message__right";
14939
14958
  }
14940
- const a = b(null), t = b(!1), s = b(0), A = b(0), i = b(!1), l = b(!1), r = () => {
14941
- l.value = !0;
14959
+ const a = b(null), t = b(!1), s = b(0), A = b(0), i = b(!1), u = b(!1), r = () => {
14960
+ u.value = !0;
14942
14961
  }, g = () => {
14943
- l.value = !1, i.value = !1;
14944
- }, d = T(() => Ne(f.message.status));
14962
+ u.value = !1, i.value = !1;
14963
+ }, d = x(() => Ne(f.message.status));
14945
14964
  function m() {
14946
14965
  a.value && (t.value ? a.value.pause() : a.value.play(), t.value = !t.value);
14947
14966
  }
14948
14967
  const p = (I) => {
14949
14968
  const M = Math.floor(I / 60), k = Math.floor(I % 60);
14950
14969
  return `${M.toString().padStart(2, "0")}:${k.toString().padStart(2, "0")}`;
14951
- }, h = T(() => {
14970
+ }, h = x(() => {
14952
14971
  if (a.value) {
14953
14972
  if (A.value >= s.value)
14954
14973
  return t.value = !1, "00:00";
@@ -14965,19 +14984,19 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14965
14984
  }), a.value.addEventListener("timeupdate", () => {
14966
14985
  A.value = a.value.currentTime;
14967
14986
  });
14968
- }), (I, M) => (u(), c("div", {
14987
+ }), (I, M) => (l(), c("div", {
14969
14988
  class: D(["video-message", n(e.message)]),
14970
14989
  messageId: e.message.messageId,
14971
14990
  onMouseleave: g
14972
14991
  }, [
14973
- e.message.avatar ? (u(), c("img", {
14992
+ e.message.avatar ? (l(), c("img", {
14974
14993
  key: 0,
14975
14994
  class: "video-message__avatar",
14976
14995
  src: e.message.avatar,
14977
14996
  height: "32",
14978
14997
  width: "32",
14979
14998
  style: z({ gridRow: e.message.subText ? "2" : "1" })
14980
- }, null, 12, Xi)) : y("", !0),
14999
+ }, null, 12, no)) : y("", !0),
14981
15000
  o("div", {
14982
15001
  class: "video-message__content",
14983
15002
  onMouseenter: r
@@ -14987,8 +15006,8 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
14987
15006
  ref: a,
14988
15007
  class: "video-message__video",
14989
15008
  src: e.message.url
14990
- }, null, 8, eo),
14991
- o("div", fo, [
15009
+ }, null, 8, ao),
15010
+ o("div", to, [
14992
15011
  S(H, null, {
14993
15012
  default: K(() => [
14994
15013
  te(o("button", {
@@ -15009,7 +15028,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15009
15028
  [pe, t.value]
15010
15029
  ])
15011
15030
  ]),
15012
- l.value && e.message.actions ? (u(), c("button", {
15031
+ u.value && e.message.actions ? (l(), c("button", {
15013
15032
  key: 0,
15014
15033
  class: "video-message__menu-button",
15015
15034
  onClick: M[0] || (M[0] = (k) => i.value = !i.value)
@@ -15018,7 +15037,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15018
15037
  ]))) : y("", !0),
15019
15038
  S(H, null, {
15020
15039
  default: K(() => [
15021
- i.value && e.message.actions ? (u(), L(ge, {
15040
+ i.value && e.message.actions ? (l(), L(ge, {
15022
15041
  key: 0,
15023
15042
  class: "video-message__context-menu",
15024
15043
  actions: e.message.actions,
@@ -15027,42 +15046,47 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15027
15046
  ]),
15028
15047
  _: 1
15029
15048
  }),
15030
- o("p", no, w(`${h.value}`), 1),
15031
- o("div", ao, [
15032
- o("span", to, w(e.message.time), 1),
15033
- n(e.message) === "video-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
15049
+ o("p", Ao, w(`${h.value}`), 1),
15050
+ o("div", so, [
15051
+ o("span", io, w(e.message.time), 1),
15052
+ n(e.message) === "video-message__right" && q(ke).includes(e.message.status) ? (l(), c("div", {
15034
15053
  key: 0,
15035
15054
  class: D(["video-message__status", d.value])
15036
15055
  }, [
15037
- e.message.status !== "sent" ? (u(), c("span", Ao)) : y("", !0),
15056
+ e.message.status !== "sent" ? (l(), c("span", oo)) : y("", !0),
15038
15057
  M[3] || (M[3] = o("span", { class: "pi pi-check" }, null, -1))
15039
15058
  ], 2)) : y("", !0)
15040
15059
  ]),
15041
- M[4] || (M[4] = o("button", { class: "video-message__download-button" }, [
15042
- o("span", { class: "pi pi-download" })
15043
- ], -1))
15060
+ o("a", {
15061
+ class: "video-message__download-button",
15062
+ href: e.message.url,
15063
+ download: "",
15064
+ target: "_blank"
15065
+ }, M[4] || (M[4] = [
15066
+ o("span", { class: "pi pi-download" }, null, -1)
15067
+ ]), 8, lo)
15044
15068
  ], 32)
15045
- ], 42, Gi));
15069
+ ], 42, fo));
15046
15070
  }
15047
- }, io = /* @__PURE__ */ j(so, [["__scopeId", "data-v-6882e877"]]), oo = { class: "call-message" }, uo = ["messageId"], lo = ["src"], ro = {
15071
+ }, ro = /* @__PURE__ */ j(uo, [["__scopeId", "data-v-c2e27925"]]), co = { class: "call-message" }, go = ["messageId"], mo = ["src"], po = {
15048
15072
  key: 1,
15049
15073
  class: "call-message__subtext"
15050
- }, co = { class: "call-message__content" }, go = {
15074
+ }, Mo = { class: "call-message__content" }, ho = {
15051
15075
  key: 0,
15052
15076
  class: "call-message__title"
15053
- }, mo = {
15077
+ }, yo = {
15054
15078
  key: 1,
15055
15079
  class: "call-message__title"
15056
- }, po = {
15080
+ }, bo = {
15057
15081
  key: 2,
15058
15082
  class: "call-message__duration"
15059
- }, Mo = {
15083
+ }, vo = {
15060
15084
  key: 3,
15061
15085
  class: "call-message__duration"
15062
- }, ho = {
15086
+ }, _o = {
15063
15087
  key: 4,
15064
15088
  class: "call-message__duration"
15065
- }, yo = { class: "call-message__info-container" }, bo = { class: "call-message__time" }, vo = {
15089
+ }, Io = { class: "call-message__info-container" }, wo = { class: "call-message__time" }, ko = {
15066
15090
  __name: "CallMessage",
15067
15091
  props: {
15068
15092
  message: {
@@ -15074,35 +15098,35 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15074
15098
  function f(n) {
15075
15099
  return n.position === "left" ? "call-message__left" : "call-message__right";
15076
15100
  }
15077
- return (n, a) => (u(), c("div", oo, [
15101
+ return (n, a) => (l(), c("div", co, [
15078
15102
  o("div", {
15079
15103
  class: D(f(e.message)),
15080
15104
  messageId: e.message.messageId
15081
15105
  }, [
15082
- e.message.avatar ? (u(), c("img", {
15106
+ e.message.avatar ? (l(), c("img", {
15083
15107
  key: 0,
15084
15108
  class: "call-message__avatar",
15085
15109
  src: e.message.avatar,
15086
15110
  height: "32",
15087
15111
  width: "32",
15088
15112
  style: z({ gridRow: e.message.subText ? "2" : "1" })
15089
- }, null, 12, lo)) : y("", !0),
15090
- e.message.subText ? (u(), c("p", ro, w(e.message.subText), 1)) : y("", !0),
15091
- o("div", co, [
15113
+ }, null, 12, mo)) : y("", !0),
15114
+ e.message.subText ? (l(), c("p", po, w(e.message.subText), 1)) : y("", !0),
15115
+ o("div", Mo, [
15092
15116
  o("span", {
15093
15117
  class: "call-message__icon pi pi-phone",
15094
15118
  style: z({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
15095
15119
  }, null, 4),
15096
- e.message.isMissedCall ? (u(), c("span", mo, "Пропущенный аудиозвонок")) : (u(), c("span", go, "Аудиозвонок")),
15097
- e.message.callDuration ? (u(), c("span", po, w(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (u(), c("span", Mo, "Нажмите, чтобы перезвонить")) : (u(), c("span", ho, "Нет ответа")),
15098
- o("div", yo, [
15099
- o("span", bo, w(e.message.time), 1)
15120
+ e.message.isMissedCall ? (l(), c("span", yo, "Пропущенный аудиозвонок")) : (l(), c("span", ho, "Аудиозвонок")),
15121
+ e.message.callDuration ? (l(), c("span", bo, w(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (l(), c("span", vo, "Нажмите, чтобы перезвонить")) : (l(), c("span", _o, "Нет ответа")),
15122
+ o("div", Io, [
15123
+ o("span", wo, w(e.message.time), 1)
15100
15124
  ])
15101
15125
  ])
15102
- ], 10, uo)
15126
+ ], 10, go)
15103
15127
  ]));
15104
15128
  }
15105
- }, _o = /* @__PURE__ */ j(vo, [["__scopeId", "data-v-8790e89d"]]), Io = { class: "system-message" }, wo = { class: "system-message__container" }, ko = { class: "system-message__text" }, No = {
15129
+ }, No = /* @__PURE__ */ j(ko, [["__scopeId", "data-v-8790e89d"]]), Do = { class: "system-message" }, jo = { class: "system-message__container" }, Vo = { class: "system-message__text" }, Eo = {
15106
15130
  __name: "SystemMessage",
15107
15131
  props: {
15108
15132
  message: {
@@ -15111,16 +15135,16 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15111
15135
  }
15112
15136
  },
15113
15137
  setup(e) {
15114
- return (f, n) => (u(), c("div", Io, [
15115
- o("div", wo, [
15116
- o("p", ko, w(e.message.text), 1)
15138
+ return (f, n) => (l(), c("div", Do, [
15139
+ o("div", jo, [
15140
+ o("p", Vo, w(e.message.text), 1)
15117
15141
  ])
15118
15142
  ]));
15119
15143
  }
15120
- }, Do = /* @__PURE__ */ j(No, [["__scopeId", "data-v-b17746f3"]]), jo = { class: "typing-message" }, Vo = { class: "typing-message__container" }, Eo = ["src"], To = {
15144
+ }, To = /* @__PURE__ */ j(Eo, [["__scopeId", "data-v-b17746f3"]]), xo = { class: "typing-message" }, So = { class: "typing-message__container" }, zo = ["src"], Oo = {
15121
15145
  key: 1,
15122
15146
  class: "typing-message__subtext"
15123
- }, xo = {
15147
+ }, Co = {
15124
15148
  __name: "TypingMessage",
15125
15149
  props: {
15126
15150
  message: {
@@ -15129,24 +15153,24 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15129
15153
  }
15130
15154
  },
15131
15155
  setup(e) {
15132
- return (f, n) => (u(), c("div", jo, [
15133
- o("div", Vo, [
15134
- e.message.avatar ? (u(), c("img", {
15156
+ return (f, n) => (l(), c("div", xo, [
15157
+ o("div", So, [
15158
+ e.message.avatar ? (l(), c("img", {
15135
15159
  key: 0,
15136
15160
  class: "typing-message__avatar",
15137
15161
  src: e.message.avatar,
15138
15162
  height: "32",
15139
15163
  width: "32",
15140
15164
  style: z({ gridRow: e.message.subText ? "2" : "1" })
15141
- }, null, 12, Eo)) : y("", !0),
15142
- e.message.subText ? (u(), c("p", To, w(e.message.subText), 1)) : y("", !0),
15165
+ }, null, 12, zo)) : y("", !0),
15166
+ e.message.subText ? (l(), c("p", Oo, w(e.message.subText), 1)) : y("", !0),
15143
15167
  n[0] || (n[0] = o("div", { class: "typing-message__loader-container" }, [
15144
15168
  o("div", { class: "typing-message__loader" })
15145
15169
  ], -1))
15146
15170
  ])
15147
15171
  ]));
15148
15172
  }
15149
- }, Pf = /* @__PURE__ */ j(xo, [["__scopeId", "data-v-6ffe329a"]]), So = { class: "message-feed__container" }, zo = {
15173
+ }, Pf = /* @__PURE__ */ j(Co, [["__scopeId", "data-v-6ffe329a"]]), Uo = { class: "message-feed__container" }, Lo = {
15150
15174
  __name: "Feed",
15151
15175
  props: {
15152
15176
  objects: {
@@ -15175,47 +15199,47 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15175
15199
  const d = q(n);
15176
15200
  d.scrollHeight - d.scrollTop - d.clientHeight < 100 ? a.value = !1 : a.value = !0, d.scrollTop === 0 && s("loadMore");
15177
15201
  }, i = (d) => ({
15178
- "message.text": Ia,
15179
- "message.image": da,
15180
- "message.file": ea,
15181
- "message.audio": za,
15182
- "message.video": io,
15183
- "message.call": _o,
15184
- "message.system": Do,
15185
- "system.date": Qa,
15202
+ "message.text": ka,
15203
+ "message.image": ma,
15204
+ "message.file": fa,
15205
+ "message.audio": Ua,
15206
+ "message.video": ro,
15207
+ "message.call": No,
15208
+ "message.system": To,
15209
+ "system.date": Ra,
15186
15210
  "message.typing": Pf
15187
15211
  })[d];
15188
- function l() {
15189
- t.isScrollToBottomOnUpdateObjectsEnabled && lf(function() {
15212
+ function u() {
15213
+ t.isScrollToBottomOnUpdateObjectsEnabled && uf(function() {
15190
15214
  const d = q(n);
15191
15215
  d.scrollTop = d.scrollHeight;
15192
15216
  });
15193
15217
  }
15194
15218
  function r() {
15195
- lf(function() {
15219
+ uf(function() {
15196
15220
  const d = q(n);
15197
15221
  d.scrollTop = d.scrollHeight;
15198
15222
  });
15199
15223
  }
15200
- zn(() => l), we(() => t.objects, l);
15224
+ zn(() => u), we(() => t.objects, u);
15201
15225
  const g = (d) => {
15202
15226
  s("messageAction", d);
15203
15227
  };
15204
- return (d, m) => (u(), c("div", {
15228
+ return (d, m) => (l(), c("div", {
15205
15229
  ref_key: "refFeed",
15206
15230
  ref: n,
15207
15231
  class: "message-feed",
15208
15232
  onScroll: A
15209
15233
  }, [
15210
- o("div", So, [
15211
- (u(!0), c(B, null, Y(e.objects, (p) => (u(), L(On(i(p.type)), {
15234
+ o("div", Uo, [
15235
+ (l(!0), c(B, null, Y(e.objects, (p) => (l(), L(On(i(p.type)), {
15212
15236
  key: p.messageId,
15213
15237
  class: "message-feed__message",
15214
15238
  message: p,
15215
15239
  onAction: g
15216
15240
  }, null, 40, ["message"]))), 128))
15217
15241
  ]),
15218
- e.typing ? (u(), L(Pf, {
15242
+ e.typing ? (l(), L(Pf, {
15219
15243
  key: 0,
15220
15244
  message: {
15221
15245
  subText: e.typing.title,
@@ -15224,12 +15248,12 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15224
15248
  }, null, 8, ["message"])) : y("", !0),
15225
15249
  S(H, null, {
15226
15250
  default: K(() => [
15227
- a.value ? (u(), c("button", {
15251
+ a.value ? (l(), c("button", {
15228
15252
  key: 0,
15229
15253
  class: "message-feed__button-down",
15230
15254
  onClick: r
15231
15255
  }, [
15232
- e.buttonParams ? (u(), c("div", {
15256
+ e.buttonParams ? (l(), c("div", {
15233
15257
  key: 0,
15234
15258
  style: z({ backgroundColor: e.buttonParams.color }),
15235
15259
  class: "message-feed__unread-amount"
@@ -15241,13 +15265,13 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15241
15265
  })
15242
15266
  ], 544));
15243
15267
  }
15244
- }, X1 = /* @__PURE__ */ j(zo, [["__scopeId", "data-v-7101e238"]]), Oo = { class: "profile" }, Co = {
15268
+ }, al = /* @__PURE__ */ j(Lo, [["__scopeId", "data-v-7101e238"]]), Qo = { class: "profile" }, Bo = {
15245
15269
  key: 0,
15246
15270
  class: "profile__container"
15247
- }, Uo = {
15271
+ }, Yo = {
15248
15272
  key: 0,
15249
15273
  class: "profile__avatar-container"
15250
- }, Lo = ["src"], Qo = { class: "profile__name" }, Bo = { class: "profile__email" }, Yo = { class: "profile__phone" }, Ro = {
15274
+ }, Ro = ["src"], qo = { class: "profile__name" }, Fo = { class: "profile__email" }, $o = { class: "profile__phone" }, Wo = {
15251
15275
  __name: "UserProfile",
15252
15276
  props: {
15253
15277
  user: {
@@ -15256,9 +15280,9 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15256
15280
  }
15257
15281
  },
15258
15282
  setup(e) {
15259
- return (f, n) => (u(), c("div", Oo, [
15260
- e.user ? (u(), c("div", Co, [
15261
- e.user.avatar ? (u(), c("div", Uo, [
15283
+ return (f, n) => (l(), c("div", Qo, [
15284
+ e.user ? (l(), c("div", Bo, [
15285
+ e.user.avatar ? (l(), c("div", Yo, [
15262
15286
  o("span", {
15263
15287
  class: "profile__status",
15264
15288
  style: z({ backgroundColor: e.user.status })
@@ -15267,15 +15291,15 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15267
15291
  src: e.user.avatar,
15268
15292
  height: "48",
15269
15293
  width: "48"
15270
- }, null, 8, Lo)
15294
+ }, null, 8, Ro)
15271
15295
  ])) : y("", !0),
15272
- o("h2", Qo, w(e.user.name), 1),
15273
- o("p", Bo, w(e.user.email), 1),
15274
- o("p", Yo, w(e.user.phone), 1)
15296
+ o("h2", qo, w(e.user.name), 1),
15297
+ o("p", Fo, w(e.user.email), 1),
15298
+ o("p", $o, w(e.user.phone), 1)
15275
15299
  ])) : y("", !0)
15276
15300
  ]));
15277
15301
  }
15278
- }, eu = /* @__PURE__ */ j(Ro, [["__scopeId", "data-v-db3ba19b"]]), qo = { key: 0 }, Fo = { key: 1 }, $o = {
15302
+ }, tl = /* @__PURE__ */ j(Wo, [["__scopeId", "data-v-db3ba19b"]]), Jo = { key: 0 }, Ho = { key: 1 }, Ko = {
15279
15303
  __name: "FileUploader",
15280
15304
  props: {
15281
15305
  canUploadFile: {
@@ -15286,11 +15310,14 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15286
15310
  storybook: {
15287
15311
  type: Boolean,
15288
15312
  default: !1
15313
+ },
15314
+ filebumpUrl: {
15315
+ type: String
15289
15316
  }
15290
15317
  },
15291
15318
  emits: ["fileUploaded"],
15292
15319
  setup(e, { emit: f }) {
15293
- const n = e, a = b(null), t = b(""), s = b(""), A = b(""), i = b(!1), l = b(!1), r = b(!1), g = b(null), d = [
15320
+ const n = e, a = b(null), t = b(""), s = b(""), A = b(""), i = b(!1), u = b(!1), r = b(!1), g = b(null), d = [
15294
15321
  {
15295
15322
  action: "audio/*",
15296
15323
  title: "Аудио",
@@ -15315,7 +15342,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15315
15342
  we(
15316
15343
  () => n.canUploadFile,
15317
15344
  () => {
15318
- lf(() => {
15345
+ uf(() => {
15319
15346
  n.canUploadFile === !0 && (t.value = null);
15320
15347
  });
15321
15348
  }
@@ -15326,7 +15353,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15326
15353
  p(), console.log("onFileSelected", _.target.files[0]), a.value = _.target.files[0], a.value && (I(), M());
15327
15354
  }, I = () => {
15328
15355
  const _ = a.value, N = Cf(_.type);
15329
- if (i.value = !1, l.value = !1, r.value = !1, N === "image" ? i.value = !0 : N === "video" ? l.value = !0 : N === "audio" && (r.value = !0), i.value || l.value) {
15356
+ if (i.value = !1, u.value = !1, r.value = !1, N === "image" ? i.value = !0 : N === "video" ? u.value = !0 : N === "audio" && (r.value = !0), i.value || u.value) {
15330
15357
  const E = new FileReader();
15331
15358
  E.onload = (V) => {
15332
15359
  A.value = V.target.result;
@@ -15337,42 +15364,42 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15337
15364
  t.value = "uploading";
15338
15365
  const _ = new FormData();
15339
15366
  _.append("file", a.value);
15340
- const N = "https://filebump.services.mobilon.ru/upload";
15367
+ const E = (n.filebumpUrl ? n.filebumpUrl : "https://filebump2.services.mobilon.ru") + "/upload";
15341
15368
  try {
15342
- const V = await (await fetch(
15343
- N,
15369
+ const T = await (await fetch(
15370
+ E,
15344
15371
  {
15345
15372
  method: "POST",
15346
15373
  body: _
15347
15374
  }
15348
15375
  )).json();
15349
- s.value = V.url, t.value = "success", m("fileUploaded", {
15350
- url: V.url,
15376
+ s.value = T.url, t.value = "success", m("fileUploaded", {
15377
+ url: T.url,
15351
15378
  type: Cf(a.value.type),
15352
15379
  filename: a.value.name,
15353
15380
  size: a.value.size,
15354
15381
  previewUrl: A.value,
15355
15382
  isImage: i.value,
15356
- isVideo: l.value,
15383
+ isVideo: u.value,
15357
15384
  isAudio: r.value,
15358
15385
  selectedFile: a.value
15359
15386
  });
15360
- } catch (E) {
15361
- console.error("Ошибка при загрузке файла:", E), t.value = "error";
15387
+ } catch (V) {
15388
+ console.error("Ошибка при загрузке файла:", V), t.value = "error";
15362
15389
  }
15363
15390
  }, k = (_) => {
15364
15391
  g.value && n.canUploadFile && (g.value.accept = _.action, g.value.click());
15365
15392
  }, v = () => {
15366
15393
  g.value && n.canUploadFile && g.value.click();
15367
15394
  };
15368
- return (_, N) => (u(), c("div", {
15395
+ return (_, N) => (l(), c("div", {
15369
15396
  class: D(["uploader-container", { "storybook-container": e.storybook }])
15370
15397
  }, [
15371
- t.value === "uploading" ? (u(), c("div", qo, N[0] || (N[0] = [
15398
+ t.value === "uploading" ? (l(), c("div", Jo, N[0] || (N[0] = [
15372
15399
  o("p", null, "Загрузка файла...", -1)
15373
- ]))) : t.value === "error" ? (u(), c("div", Fo, N[1] || (N[1] = [
15400
+ ]))) : t.value === "error" ? (l(), c("div", Ho, N[1] || (N[1] = [
15374
15401
  o("p", null, "Ошибка при загрузке файла.", -1)
15375
- ]))) : (u(), c("div", {
15402
+ ]))) : (l(), c("div", {
15376
15403
  key: 2,
15377
15404
  class: D(["chat-input__button-file", { "chat-input__button-file-disabled": !e.canUploadFile }])
15378
15405
  }, [
@@ -15395,7 +15422,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15395
15422
  ], 2))
15396
15423
  ], 2));
15397
15424
  }
15398
- }, Wo = /* @__PURE__ */ j($o, [["__scopeId", "data-v-d58a941d"]]), Jo = { key: 0 }, Ho = ["value", "selected"], Ko = {
15425
+ }, Po = /* @__PURE__ */ j(Ko, [["__scopeId", "data-v-1cc69f33"]]), Zo = { key: 0 }, Go = ["value", "selected"], Xo = {
15399
15426
  __name: "ThemeMode",
15400
15427
  props: {
15401
15428
  themes: {
@@ -15417,19 +15444,19 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15417
15444
  return Ie(() => {
15418
15445
  const s = n();
15419
15446
  t(s);
15420
- }), (s, A) => e.show ? (u(), c("div", Jo, [
15447
+ }), (s, A) => e.show ? (l(), c("div", Zo, [
15421
15448
  o("select", {
15422
15449
  onChange: A[0] || (A[0] = (i) => a(i))
15423
15450
  }, [
15424
- (u(!0), c(B, null, Y(f.themes, (i, l) => (u(), c("option", {
15425
- key: l,
15451
+ (l(!0), c(B, null, Y(f.themes, (i, u) => (l(), c("option", {
15452
+ key: u,
15426
15453
  value: i.code,
15427
15454
  selected: i.default === !0
15428
- }, w(i.name), 9, Ho))), 128))
15455
+ }, w(i.name), 9, Go))), 128))
15429
15456
  ], 32)
15430
15457
  ])) : y("", !0);
15431
15458
  }
15432
- }, fu = /* @__PURE__ */ j(Ko, [["__scopeId", "data-v-be17a762"]]), Po = { class: "sidebar" }, Zo = { class: "sidebar__container" }, Go = { class: "sidebar__list" }, Xo = ["onClick"], e1 = ["src", "alt"], f1 = { key: 1 }, n1 = { class: "sidebar__list-fixed" }, a1 = ["onClick"], t1 = ["src", "alt"], A1 = { key: 1 }, s1 = {
15459
+ }, Al = /* @__PURE__ */ j(Xo, [["__scopeId", "data-v-be17a762"]]), e1 = { class: "sidebar" }, f1 = { class: "sidebar__container" }, n1 = { class: "sidebar__list" }, a1 = ["onClick"], t1 = ["src", "alt"], A1 = { key: 1 }, s1 = { class: "sidebar__list-fixed" }, i1 = ["onClick"], o1 = ["src", "alt"], l1 = { key: 1 }, u1 = {
15433
15460
  __name: "SideBar",
15434
15461
  props: {
15435
15462
  sidebarItems: {
@@ -15441,16 +15468,16 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15441
15468
  emits: ["selectItem"],
15442
15469
  setup(e, { emit: f }) {
15443
15470
  const a = Cn(e, "sidebarItems"), t = f, s = (i) => {
15444
- const l = a.value.find((r) => r.itemId === i);
15445
- t("selectItem", l);
15471
+ const u = a.value.find((r) => r.itemId === i);
15472
+ t("selectItem", u);
15446
15473
  }, A = (i) => {
15447
- const l = i.split(" ");
15448
- return l.length > 2 ? l.slice(0, 2).join(" ") : i;
15474
+ const u = i.split(" ");
15475
+ return u.length > 2 ? u.slice(0, 2).join(" ") : i;
15449
15476
  };
15450
- return (i, l) => (u(), c("div", Po, [
15451
- o("div", Zo, [
15452
- o("ul", Go, [
15453
- (u(!0), c(B, null, Y(a.value.filter((r) => !r.isFixedBottom), (r, g) => (u(), c("li", {
15477
+ return (i, u) => (l(), c("div", e1, [
15478
+ o("div", f1, [
15479
+ o("ul", n1, [
15480
+ (l(!0), c(B, null, Y(a.value.filter((r) => !r.isFixedBottom), (r, g) => (l(), c("li", {
15454
15481
  key: g,
15455
15482
  class: "sidebar__item",
15456
15483
  onClick: (d) => s(r.itemId)
@@ -15459,16 +15486,16 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15459
15486
  src: r.icon,
15460
15487
  alt: r.name,
15461
15488
  class: D(["sidebar__image", { "sidebar__image--active": r.selected === !0 }])
15462
- }, null, 10, e1),
15463
- r.notificationCount ? (u(), c("span", {
15489
+ }, null, 10, t1),
15490
+ r.notificationCount ? (l(), c("span", {
15464
15491
  key: 0,
15465
15492
  style: z({ backgroundColor: r.notificationColor ? r.notificationColor : "red" })
15466
15493
  }, w(r.notificationCount > 99 ? "99+" : r.notificationCount), 5)) : y("", !0),
15467
- r.name ? (u(), c("p", f1, w(A(r.name)), 1)) : y("", !0)
15468
- ], 8, Xo))), 128))
15494
+ r.name ? (l(), c("p", A1, w(A(r.name)), 1)) : y("", !0)
15495
+ ], 8, a1))), 128))
15469
15496
  ]),
15470
- o("ul", n1, [
15471
- (u(!0), c(B, null, Y(a.value.filter((r) => r.isFixedBottom), (r, g) => (u(), c("li", {
15497
+ o("ul", s1, [
15498
+ (l(!0), c(B, null, Y(a.value.filter((r) => r.isFixedBottom), (r, g) => (l(), c("li", {
15472
15499
  key: g,
15473
15500
  class: "sidebar__item",
15474
15501
  onClick: (d) => s(r.itemId)
@@ -15477,21 +15504,21 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15477
15504
  src: r.icon,
15478
15505
  alt: r.name,
15479
15506
  class: D(["sidebar__image", { "sidebar__image--active": r.selected === !0 }])
15480
- }, null, 10, t1),
15481
- r.notificationCount ? (u(), c("span", {
15507
+ }, null, 10, o1),
15508
+ r.notificationCount ? (l(), c("span", {
15482
15509
  key: 0,
15483
15510
  style: z({ backgroundColor: r.notificationColor ? r.notificationColor : "red" })
15484
15511
  }, w(r.notificationCount > 99 ? "99+" : r.notificationCount), 5)) : y("", !0),
15485
- r.name ? (u(), c("p", A1, w(A(r.name)), 1)) : y("", !0)
15486
- ], 8, a1))), 128))
15512
+ r.name ? (l(), c("p", l1, w(A(r.name)), 1)) : y("", !0)
15513
+ ], 8, i1))), 128))
15487
15514
  ])
15488
15515
  ])
15489
15516
  ]));
15490
15517
  }
15491
- }, nu = /* @__PURE__ */ j(s1, [["__scopeId", "data-v-5e22516c"]]), i1 = { class: "chat-panel" }, o1 = { class: "chat-panel__title-container" }, u1 = {
15518
+ }, sl = /* @__PURE__ */ j(u1, [["__scopeId", "data-v-5e22516c"]]), r1 = { class: "chat-panel" }, c1 = { class: "chat-panel__title-container" }, d1 = {
15492
15519
  key: 0,
15493
15520
  class: "chat-panel__title"
15494
- }, l1 = {
15521
+ }, g1 = {
15495
15522
  __name: "ChatPanel",
15496
15523
  props: {
15497
15524
  title: {
@@ -15502,9 +15529,9 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15502
15529
  },
15503
15530
  emits: ["close-panel"],
15504
15531
  setup(e, { emit: f }) {
15505
- return (n, a) => (u(), c("div", i1, [
15506
- o("div", o1, [
15507
- e.title ? (u(), c("p", u1, w(e.title), 1)) : y("", !0),
15532
+ return (n, a) => (l(), c("div", r1, [
15533
+ o("div", c1, [
15534
+ e.title ? (l(), c("p", d1, w(e.title), 1)) : y("", !0),
15508
15535
  o("button", {
15509
15536
  class: "chat-panel__button-close",
15510
15537
  onClick: a[0] || (a[0] = (t) => n.$emit("close-panel"))
@@ -15517,10 +15544,10 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15517
15544
  ])
15518
15545
  ]));
15519
15546
  }
15520
- }, au = /* @__PURE__ */ j(l1, [["__scopeId", "data-v-1f6ac199"]]), r1 = {
15547
+ }, il = /* @__PURE__ */ j(g1, [["__scopeId", "data-v-1f6ac199"]]), m1 = {
15521
15548
  key: 0,
15522
15549
  class: "new-chat-modal"
15523
- }, c1 = { class: "modal-content" }, d1 = { class: "participant-list" }, g1 = ["id", "value"], m1 = ["for"], p1 = {
15550
+ }, p1 = { class: "modal-content" }, M1 = { class: "participant-list" }, h1 = ["id", "value"], y1 = ["for"], b1 = {
15524
15551
  __name: "SelectUser",
15525
15552
  props: {
15526
15553
  users: {
@@ -15540,15 +15567,15 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15540
15567
  t("close"), n.value = !1;
15541
15568
  }, i = () => {
15542
15569
  a.value = [];
15543
- }, l = () => {
15570
+ }, u = () => {
15544
15571
  A(), i();
15545
15572
  };
15546
- return (r, g) => (u(), c("div", null, [
15547
- n.value ? (u(), c("div", r1, [
15548
- o("div", c1, [
15573
+ return (r, g) => (l(), c("div", null, [
15574
+ n.value ? (l(), c("div", m1, [
15575
+ o("div", p1, [
15549
15576
  o("h2", null, w(e.title), 1),
15550
- o("div", d1, [
15551
- (u(!0), c(B, null, Y(e.users, (d) => (u(), c("div", {
15577
+ o("div", M1, [
15578
+ (l(!0), c(B, null, Y(e.users, (d) => (l(), c("div", {
15552
15579
  key: d.userId,
15553
15580
  class: "participant-item"
15554
15581
  }, [
@@ -15557,45 +15584,45 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15557
15584
  "onUpdate:modelValue": g[0] || (g[0] = (m) => a.value = m),
15558
15585
  type: "checkbox",
15559
15586
  value: d.userId
15560
- }, null, 8, g1), [
15587
+ }, null, 8, h1), [
15561
15588
  [Un, a.value]
15562
15589
  ]),
15563
15590
  o("label", {
15564
15591
  for: d.userId
15565
- }, w(d.name || "unknown username"), 9, m1)
15592
+ }, w(d.name || "unknown username"), 9, y1)
15566
15593
  ]))), 128))
15567
15594
  ]),
15568
15595
  o("div", { class: "modal-actions" }, [
15569
15596
  o("button", { onClick: s }, " ОК "),
15570
- o("button", { onClick: l }, " Отмена ")
15597
+ o("button", { onClick: u }, " Отмена ")
15571
15598
  ])
15572
15599
  ])
15573
15600
  ])) : y("", !0)
15574
15601
  ]));
15575
15602
  }
15576
- }, tu = /* @__PURE__ */ j(p1, [["__scopeId", "data-v-66249b80"]]), M1 = { class: "modal-backdrop" }, h1 = {
15603
+ }, ol = /* @__PURE__ */ j(b1, [["__scopeId", "data-v-66249b80"]]), v1 = { class: "modal-backdrop" }, _1 = {
15577
15604
  class: "modal",
15578
15605
  role: "dialog",
15579
15606
  "aria-labelledby": "modalTitle",
15580
15607
  "aria-describedby": "modalDescription"
15581
- }, y1 = {
15608
+ }, I1 = {
15582
15609
  id: "modalDescription",
15583
15610
  class: "modal-body"
15584
- }, b1 = { class: "buttons" }, v1 = {
15611
+ }, w1 = { class: "buttons" }, k1 = {
15585
15612
  __name: "Modal",
15586
15613
  emits: ["close", "submit"],
15587
15614
  setup(e, { emit: f }) {
15588
15615
  const n = f, a = (s) => {
15589
15616
  n("submit", s);
15590
15617
  }, t = b(null);
15591
- return (s, A) => (u(), L(H, { name: "modal-fade" }, {
15618
+ return (s, A) => (l(), L(H, { name: "modal-fade" }, {
15592
15619
  default: K(() => [
15593
- o("div", M1, [
15594
- o("div", h1, [
15595
- o("div", y1, [
15620
+ o("div", v1, [
15621
+ o("div", _1, [
15622
+ o("div", I1, [
15596
15623
  J(s.$slots, "default", {}, void 0, !0)
15597
15624
  ]),
15598
- o("div", b1, [
15625
+ o("div", w1, [
15599
15626
  o("button", {
15600
15627
  type: "button",
15601
15628
  class: "btn-green",
@@ -15615,7 +15642,7 @@ const qs = ["id"], Fs = ["id"], $s = { class: "context-menu__container" }, Ws =
15615
15642
  _: 3
15616
15643
  }));
15617
15644
  }
15618
- }, _1 = /* @__PURE__ */ j(v1, [["__scopeId", "data-v-d48a1772"]]);
15645
+ }, N1 = /* @__PURE__ */ j(k1, [["__scopeId", "data-v-d48a1772"]]);
15619
15646
  function wf({ component: e, attrs: f }) {
15620
15647
  return new Promise((n) => {
15621
15648
  const a = document.createElement("div");
@@ -15627,10 +15654,10 @@ function wf({ component: e, attrs: f }) {
15627
15654
  }, i = (g) => {
15628
15655
  const d = Object.keys(g)[0];
15629
15656
  t.value[d] = g[d];
15630
- }, l = de({
15657
+ }, u = de({
15631
15658
  render() {
15632
15659
  return Of(
15633
- _1,
15660
+ N1,
15634
15661
  {
15635
15662
  onSubmit: A,
15636
15663
  onClose: s
@@ -15646,21 +15673,21 @@ function wf({ component: e, attrs: f }) {
15646
15673
  }
15647
15674
  );
15648
15675
  }
15649
- }), r = Qn(l);
15676
+ }), r = Qn(u);
15650
15677
  r.mount(a);
15651
15678
  });
15652
15679
  }
15653
- const Au = async (e, f) => {
15680
+ const ll = async (e, f) => {
15654
15681
  const n = await wf({
15655
15682
  //в component должен быть встроен emit change(key: value)
15656
- component: import("./SelectUser2-B4w4ITXm.js"),
15683
+ component: import("./SelectUser2-Ct3qMxtV.js"),
15657
15684
  attrs: {
15658
15685
  title: e,
15659
15686
  users: f
15660
15687
  }
15661
15688
  });
15662
15689
  return console.log("data", n), n;
15663
- }, su = async (e) => {
15690
+ }, ul = async (e) => {
15664
15691
  const f = await wf({
15665
15692
  //в component должен быть встроен emit change(key: value)
15666
15693
  component: import("./CreateChat-fkFKBxtQ.js"),
@@ -15669,20 +15696,20 @@ const Au = async (e, f) => {
15669
15696
  }
15670
15697
  });
15671
15698
  return console.log("data", f), f;
15672
- }, iu = async (e) => await wf({
15699
+ }, rl = async (e) => await wf({
15673
15700
  //в component должен быть встроен emit change(key: value)
15674
15701
  component: import("./CreateChat2-DgUQ2F5L.js"),
15675
15702
  attrs: {
15676
15703
  title: e
15677
15704
  }
15678
- }), I1 = { class: "base" }, ou = {
15705
+ }), D1 = { class: "base" }, cl = {
15679
15706
  __name: "BaseContainer",
15680
15707
  props: {
15681
15708
  height: String,
15682
15709
  width: String
15683
15710
  },
15684
15711
  setup(e) {
15685
- return (f, n) => (u(), c("div", I1, [
15712
+ return (f, n) => (l(), c("div", D1, [
15686
15713
  o("div", {
15687
15714
  class: "base__container",
15688
15715
  style: z({ height: e.height, width: e.width })
@@ -15691,7 +15718,7 @@ const Au = async (e, f) => {
15691
15718
  ], 4)
15692
15719
  ]));
15693
15720
  }
15694
- }, w1 = { class: "float-window__container" }, k1 = ["src", "alt"], N1 = { class: "float-window__title" }, D1 = {
15721
+ }, j1 = { class: "float-window__container" }, V1 = ["src", "alt"], E1 = { class: "float-window__title" }, T1 = {
15695
15722
  __name: "FloatContainer",
15696
15723
  props: {
15697
15724
  title: {
@@ -15711,16 +15738,16 @@ const Au = async (e, f) => {
15711
15738
  },
15712
15739
  emits: ["close-window", "get-size"],
15713
15740
  setup(e, { emit: f }) {
15714
- const n = e, a = b({ x: 0, y: 0 }), t = b(null), s = b(null), A = b(!1), i = b(0), l = b(0), r = b(0), g = () => {
15741
+ const n = e, a = b({ x: 0, y: 0 }), t = b(null), s = b(null), A = b(!1), i = b(0), u = b(0), r = b(0), g = () => {
15715
15742
  if (t.value) {
15716
15743
  const h = window.innerWidth, I = window.innerHeight, M = t.value.offsetWidth, k = t.value.offsetHeight;
15717
15744
  a.value.x = (h - M) / 2, a.value.y = (I - k) / 2;
15718
15745
  }
15719
15746
  }, d = (h) => {
15720
- A.value = !0, i.value = h.clientX - t.value.offsetLeft, l.value = h.clientY - t.value.offsetTop;
15747
+ A.value = !0, i.value = h.clientX - t.value.offsetLeft, u.value = h.clientY - t.value.offsetTop;
15721
15748
  }, m = () => A.value = !1, p = (h) => {
15722
15749
  if (A.value) {
15723
- const I = h.clientX - i.value, M = h.clientY - l.value;
15750
+ const I = h.clientX - i.value, M = h.clientY - u.value;
15724
15751
  a.value.x = Math.max(
15725
15752
  0,
15726
15753
  Math.min(I, window.innerWidth - t.value.offsetWidth)
@@ -15746,7 +15773,7 @@ const Au = async (e, f) => {
15746
15773
  )
15747
15774
  );
15748
15775
  }), r.value = t.value.offsetHeight - s.value.offsetHeight;
15749
- }), (h, I) => (u(), c("div", {
15776
+ }), (h, I) => (l(), c("div", {
15750
15777
  ref_key: "element",
15751
15778
  ref: t,
15752
15779
  class: "float-window",
@@ -15759,7 +15786,7 @@ const Au = async (e, f) => {
15759
15786
  display: h.flex
15760
15787
  })
15761
15788
  }, [
15762
- o("div", w1, [
15789
+ o("div", j1, [
15763
15790
  o("div", {
15764
15791
  ref_key: "container",
15765
15792
  ref: s,
@@ -15769,13 +15796,13 @@ const Au = async (e, f) => {
15769
15796
  onMouseup: m,
15770
15797
  onMouseleave: m
15771
15798
  }, [
15772
- n.avatar ? (u(), c("img", {
15799
+ n.avatar ? (l(), c("img", {
15773
15800
  key: 0,
15774
15801
  class: "float-window__avatar",
15775
15802
  src: n.avatar,
15776
15803
  alt: n.title
15777
- }, null, 8, k1)) : y("", !0),
15778
- o("p", N1, w(n.title), 1),
15804
+ }, null, 8, V1)) : y("", !0),
15805
+ o("p", E1, w(n.title), 1),
15779
15806
  o("button", {
15780
15807
  class: "float-window__close-button",
15781
15808
  onClick: I[0] || (I[0] = (M) => h.$emit("close-window"))
@@ -15792,18 +15819,18 @@ const Au = async (e, f) => {
15792
15819
  ])
15793
15820
  ], 4));
15794
15821
  }
15795
- }, uu = /* @__PURE__ */ j(D1, [["__scopeId", "data-v-9a949e0f"]]), j1 = {}, V1 = { class: "base-layout__container" }, E1 = { class: "base-layout__first-col" }, T1 = { class: "base-layout__second-col" };
15796
- function x1(e, f) {
15797
- return u(), c("div", V1, [
15798
- o("div", E1, [
15822
+ }, dl = /* @__PURE__ */ j(T1, [["__scopeId", "data-v-9a949e0f"]]), x1 = {}, S1 = { class: "base-layout__container" }, z1 = { class: "base-layout__first-col" }, O1 = { class: "base-layout__second-col" };
15823
+ function C1(e, f) {
15824
+ return l(), c("div", S1, [
15825
+ o("div", z1, [
15799
15826
  J(e.$slots, "first-col", {}, void 0, !0)
15800
15827
  ]),
15801
- o("div", T1, [
15828
+ o("div", O1, [
15802
15829
  J(e.$slots, "second-col", {}, void 0, !0)
15803
15830
  ])
15804
15831
  ]);
15805
15832
  }
15806
- const lu = /* @__PURE__ */ j(j1, [["render", x1], ["__scopeId", "data-v-93dc265d"]]), S1 = { class: "extend-layout__container" }, z1 = { class: "extend-layout__first-col" }, O1 = { class: "extend-layout__third-col" }, C1 = {
15833
+ const gl = /* @__PURE__ */ j(x1, [["render", C1], ["__scopeId", "data-v-93dc265d"]]), U1 = { class: "extend-layout__container" }, L1 = { class: "extend-layout__first-col" }, Q1 = { class: "extend-layout__third-col" }, B1 = {
15807
15834
  __name: "ExtendedLayout",
15808
15835
  setup(e) {
15809
15836
  const f = b(null);
@@ -15813,13 +15840,13 @@ const lu = /* @__PURE__ */ j(j1, [["render", x1], ["__scopeId", "data-v-93dc265d
15813
15840
  }, i = (r) => {
15814
15841
  if (n.value) {
15815
15842
  const g = a.value + (r.clientX - s.value);
15816
- f.value.style.width = `${Math.max(258, g)}px`;
15843
+ f.value.style.width = `${Math.max(270, g)}px`;
15817
15844
  }
15818
- }, l = () => {
15845
+ }, u = () => {
15819
15846
  n.value = !1, document.removeEventListener("mousemove", i);
15820
15847
  };
15821
- return (r, g) => (u(), c("div", S1, [
15822
- o("div", z1, [
15848
+ return (r, g) => (l(), c("div", U1, [
15849
+ o("div", L1, [
15823
15850
  J(r.$slots, "first-col", {}, void 0, !0)
15824
15851
  ]),
15825
15852
  o("div", {
@@ -15828,30 +15855,30 @@ const lu = /* @__PURE__ */ j(j1, [["render", x1], ["__scopeId", "data-v-93dc265d
15828
15855
  class: "extend-layout__second-col resizable-div",
15829
15856
  style: z({ userSelect: q(n) ? "none" : "auto" }),
15830
15857
  onMousedown: A,
15831
- onMouseup: l
15858
+ onMouseup: u
15832
15859
  }, [
15833
15860
  J(r.$slots, "second-col", {}, void 0, !0)
15834
15861
  ], 36),
15835
- o("div", O1, [
15862
+ o("div", Q1, [
15836
15863
  J(r.$slots, "third-col", {}, void 0, !0)
15837
15864
  ])
15838
15865
  ]));
15839
15866
  }
15840
- }, ru = /* @__PURE__ */ j(C1, [["__scopeId", "data-v-57ef5c30"]]), U1 = {}, L1 = { class: "base-layout__container" }, Q1 = { class: "base-layout__first-col" };
15841
- function B1(e, f) {
15842
- return u(), c("div", L1, [
15843
- o("div", Q1, [
15867
+ }, ml = /* @__PURE__ */ j(B1, [["__scopeId", "data-v-cacc56ec"]]), Y1 = {}, R1 = { class: "base-layout__container" }, q1 = { class: "base-layout__first-col" };
15868
+ function F1(e, f) {
15869
+ return l(), c("div", R1, [
15870
+ o("div", q1, [
15844
15871
  J(e.$slots, "default", {}, void 0, !0)
15845
15872
  ])
15846
15873
  ]);
15847
15874
  }
15848
- const cu = /* @__PURE__ */ j(U1, [["render", B1], ["__scopeId", "data-v-e71ea0ed"]]), Y1 = { class: "chat-wrapper" }, R1 = {
15875
+ const pl = /* @__PURE__ */ j(Y1, [["render", F1], ["__scopeId", "data-v-e71ea0ed"]]), $1 = { class: "chat-wrapper" }, W1 = {
15849
15876
  key: 0,
15850
15877
  class: "chat-wrapper__selected-chat"
15851
- }, q1 = {
15878
+ }, J1 = {
15852
15879
  key: 1,
15853
15880
  style: { width: "100%" }
15854
- }, F1 = /* @__PURE__ */ de({
15881
+ }, H1 = /* @__PURE__ */ de({
15855
15882
  __name: "ChatWrapper",
15856
15883
  props: {
15857
15884
  isOpenChatPanel: {
@@ -15864,13 +15891,13 @@ const cu = /* @__PURE__ */ j(U1, [["render", B1], ["__scopeId", "data-v-e71ea0ed
15864
15891
  }
15865
15892
  },
15866
15893
  setup(e) {
15867
- return (f, n) => (u(), c("div", Y1, [
15868
- e.isSelectedChat ? (u(), c("div", R1, [
15894
+ return (f, n) => (l(), c("div", $1, [
15895
+ e.isSelectedChat ? (l(), c("div", W1, [
15869
15896
  J(f.$slots, "default", {}, void 0, !0)
15870
- ])) : (u(), c("div", q1, n[0] || (n[0] = [
15897
+ ])) : (l(), c("div", J1, n[0] || (n[0] = [
15871
15898
  o("p", null, " Выберите контакт для начала общения ", -1)
15872
15899
  ]))),
15873
- e.isOpenChatPanel ? (u(), c("div", {
15900
+ e.isOpenChatPanel ? (l(), c("div", {
15874
15901
  key: 2,
15875
15902
  class: "chat-wrapper__chat-panel",
15876
15903
  style: z({ "flex-basis": e.isOpenChatPanel ? "40%" : "0%" })
@@ -15879,42 +15906,42 @@ const cu = /* @__PURE__ */ j(U1, [["render", B1], ["__scopeId", "data-v-e71ea0ed
15879
15906
  ], 4)) : y("", !0)
15880
15907
  ]));
15881
15908
  }
15882
- }), du = /* @__PURE__ */ j(F1, [["__scopeId", "data-v-885e7d38"]]);
15909
+ }), Ml = /* @__PURE__ */ j(H1, [["__scopeId", "data-v-885e7d38"]]);
15883
15910
  export {
15884
- za as A,
15911
+ Ua as A,
15885
15912
  Mn as B,
15886
- P1 as C,
15887
- Qa as D,
15888
- ru as E,
15889
- ea as F,
15890
- da as I,
15891
- nu as S,
15892
- Ia as T,
15893
- eu as U,
15913
+ el as C,
15914
+ Ra as D,
15915
+ ml as E,
15916
+ fa as F,
15917
+ ma as I,
15918
+ sl as S,
15919
+ ka as T,
15920
+ tl as U,
15894
15921
  j as _,
15895
- Z1 as a,
15896
- G1 as b,
15897
- X1 as c,
15898
- Wo as d,
15899
- fu as e,
15900
- au as f,
15901
- ai as g,
15902
- uf as h,
15903
- Ri as i,
15904
- yi as j,
15905
- tu as k,
15906
- su as l,
15907
- iu as m,
15908
- ou as n,
15909
- uu as o,
15910
- lu as p,
15911
- cu as q,
15912
- du as r,
15913
- W1 as s,
15914
- J1 as t,
15915
- Au as u,
15916
- H1 as v,
15917
- K1 as w,
15922
+ fl as a,
15923
+ nl as b,
15924
+ al as c,
15925
+ Po as d,
15926
+ Al as e,
15927
+ il as f,
15928
+ si as g,
15929
+ lf as h,
15930
+ $i as i,
15931
+ _i as j,
15932
+ ol as k,
15933
+ ul as l,
15934
+ rl as m,
15935
+ cl as n,
15936
+ dl as o,
15937
+ gl as p,
15938
+ pl as q,
15939
+ Ml as r,
15940
+ P1 as s,
15941
+ Z1 as t,
15942
+ ll as u,
15943
+ G1 as v,
15944
+ X1 as w,
15918
15945
  Cf as x,
15919
15946
  ke as y,
15920
15947
  Ne as z