@mobilon-dev/chotto 0.0.34 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/CreateChat2-DgUQ2F5L.js +41 -0
- package/dist/{SelectUser2-CibU7oZR.js → SelectUser2-D-3DDzAP.js} +1 -1
- package/dist/{index-CjdkJE6L.js → index-DRTFNHDL.js} +1439 -1302
- package/dist/style.css +1 -1
- package/dist/vuessages.es.js +6 -5
- package/dist/vuessages.umd.js +1 -1
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
import { openBlock as
|
2
|
-
const
|
1
|
+
import { openBlock as u, createElementBlock as c, createElementVNode as i, Fragment as B, renderList as R, createCommentVNode as b, toDisplayString as _, ref as v, computed as E, normalizeClass as T, normalizeStyle as O, createTextVNode as yn, createVNode as S, Transition as $, withCtx as H, createBlock as Q, Teleport as vn, onMounted as de, withDirectives as ae, vShow as Me, renderSlot as W, defineComponent as ge, inject as Pe, getCurrentInstance as In, toRaw as $f, watch as Ke, onBeforeUnmount as _n, provide as wn, reactive as Dn, readonly as Nn, vModelText as Hf, resolveComponent as Fe, onUnmounted as Pf, withModifiers as kn, mergeModels as xf, useModel as jn, unref as le, withKeys as Vn, onUpdated as En, resolveDynamicComponent as Tn, nextTick as of, toRef as xn, vModelCheckbox as Sn, h as Sf, defineAsyncComponent as zn, createApp as On } from "vue";
|
2
|
+
const N = (e, f) => {
|
3
3
|
const n = e.__vccOpts || e;
|
4
4
|
for (const [a, A] of f)
|
5
5
|
n[a] = A;
|
@@ -18,30 +18,30 @@ const k = (e, f) => {
|
|
18
18
|
const s = n.actions[t];
|
19
19
|
a("click", s);
|
20
20
|
};
|
21
|
-
return (t, s) => (
|
22
|
-
|
23
|
-
|
24
|
-
(
|
25
|
-
key:
|
21
|
+
return (t, s) => (u(), c("div", Cn, [
|
22
|
+
i("div", Un, [
|
23
|
+
i("ul", Ln, [
|
24
|
+
(u(!0), c(B, null, R(n.actions, (o, r) => (u(), c("li", {
|
25
|
+
key: r,
|
26
26
|
class: "context-menu__item",
|
27
|
-
onClick: (l) => A(
|
27
|
+
onClick: (l) => A(r)
|
28
28
|
}, [
|
29
|
-
|
29
|
+
o.icon ? (u(), c("img", {
|
30
30
|
key: 0,
|
31
|
-
src:
|
31
|
+
src: o.icon,
|
32
32
|
width: "18",
|
33
33
|
height: "18"
|
34
34
|
}, null, 8, Bn)) : b("", !0),
|
35
|
-
|
35
|
+
i("span", null, _(o.title), 1)
|
36
36
|
], 8, Qn))), 128))
|
37
37
|
])
|
38
38
|
])
|
39
39
|
]));
|
40
40
|
}
|
41
|
-
},
|
41
|
+
}, me = /* @__PURE__ */ N(Yn, [["__scopeId", "data-v-12f91521"]]), Rn = ["messageId"], qn = ["src"], Fn = {
|
42
42
|
key: 1,
|
43
43
|
class: "file-message__subtext"
|
44
|
-
}, Jn = ["href"], Wn = { class: "file-message__info-container" },
|
44
|
+
}, Jn = ["href"], Wn = { class: "file-message__info-container" }, $n = { class: "file-message__time" }, Hn = {
|
45
45
|
key: 0,
|
46
46
|
class: "pi pi-check"
|
47
47
|
}, Pn = {
|
@@ -58,10 +58,10 @@ const k = (e, f) => {
|
|
58
58
|
}, t = () => {
|
59
59
|
a.value = !1, n.value = !1;
|
60
60
|
};
|
61
|
-
function s(
|
62
|
-
return
|
61
|
+
function s(r) {
|
62
|
+
return r.position === "left" ? "file-message__left" : "file-message__right";
|
63
63
|
}
|
64
|
-
const
|
64
|
+
const o = E(() => {
|
65
65
|
switch (f.message.status) {
|
66
66
|
case "read":
|
67
67
|
return "file-message__status--read";
|
@@ -71,57 +71,57 @@ const k = (e, f) => {
|
|
71
71
|
return "";
|
72
72
|
}
|
73
73
|
});
|
74
|
-
return (
|
74
|
+
return (r, l) => (u(), c("div", {
|
75
75
|
class: T(["file-message", s(e.message)]),
|
76
76
|
messageId: e.message.messageId,
|
77
77
|
onMouseleave: t
|
78
78
|
}, [
|
79
|
-
e.message.avatar ? (
|
79
|
+
e.message.avatar ? (u(), c("img", {
|
80
80
|
key: 0,
|
81
81
|
class: "file-message__avatar",
|
82
82
|
src: e.message.avatar,
|
83
83
|
height: "32",
|
84
84
|
width: "32",
|
85
|
-
style:
|
85
|
+
style: O({ gridRow: e.message.subText ? "2" : "1" })
|
86
86
|
}, null, 12, qn)) : b("", !0),
|
87
|
-
e.message.subText ? (
|
88
|
-
|
87
|
+
e.message.subText ? (u(), c("p", Fn, _(e.message.subText), 1)) : b("", !0),
|
88
|
+
i("div", {
|
89
89
|
class: "file-message__content",
|
90
90
|
onMouseenter: A
|
91
91
|
}, [
|
92
|
-
|
92
|
+
i("a", {
|
93
93
|
class: "file-message__link",
|
94
94
|
href: e.message.url,
|
95
95
|
download: "",
|
96
96
|
target: "_blank"
|
97
97
|
}, [
|
98
|
-
l[1] || (l[1] =
|
99
|
-
|
98
|
+
l[1] || (l[1] = i("span", { class: "pi pi-file" }, null, -1)),
|
99
|
+
yn(" " + _(e.message.filename), 1)
|
100
100
|
], 8, Jn),
|
101
|
-
|
102
|
-
|
103
|
-
s(e.message) === "file-message__right" && e.message.status ? (
|
101
|
+
i("div", Wn, [
|
102
|
+
i("span", $n, _(e.message.time), 1),
|
103
|
+
s(e.message) === "file-message__right" && e.message.status ? (u(), c("div", {
|
104
104
|
key: 0,
|
105
|
-
class: T(["file-message__status",
|
105
|
+
class: T(["file-message__status", o.value])
|
106
106
|
}, [
|
107
|
-
e.message.status !== "sent" ? (
|
108
|
-
l[2] || (l[2] =
|
107
|
+
e.message.status !== "sent" ? (u(), c("span", Hn)) : b("", !0),
|
108
|
+
l[2] || (l[2] = i("span", { class: "pi pi-check" }, null, -1))
|
109
109
|
], 2)) : b("", !0)
|
110
110
|
]),
|
111
|
-
a.value && e.message.actions ? (
|
111
|
+
a.value && e.message.actions ? (u(), c("button", {
|
112
112
|
key: 0,
|
113
113
|
class: "file-message__menu-button",
|
114
114
|
onClick: l[0] || (l[0] = (g) => n.value = !n.value)
|
115
115
|
}, l[3] || (l[3] = [
|
116
|
-
|
116
|
+
i("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
117
117
|
]))) : b("", !0),
|
118
|
-
S(
|
119
|
-
default:
|
120
|
-
n.value && e.message.actions ? (
|
118
|
+
S($, null, {
|
119
|
+
default: H(() => [
|
120
|
+
n.value && e.message.actions ? (u(), Q(me, {
|
121
121
|
key: 0,
|
122
122
|
class: "file-message__context-menu",
|
123
123
|
actions: e.message.actions,
|
124
|
-
onClick:
|
124
|
+
onClick: r.clickAction
|
125
125
|
}, null, 8, ["actions", "onClick"])) : b("", !0)
|
126
126
|
]),
|
127
127
|
_: 1
|
@@ -129,16 +129,19 @@ const k = (e, f) => {
|
|
129
129
|
], 32)
|
130
130
|
], 42, Rn));
|
131
131
|
}
|
132
|
-
},
|
132
|
+
}, Kn = /* @__PURE__ */ N(Pn, [["__scopeId", "data-v-38023208"]]), Zn = ["messageId"], Gn = ["src"], Xn = {
|
133
133
|
key: 1,
|
134
134
|
class: "image-message__subtext"
|
135
|
-
}, ea = ["src", "alt"], fa = { class: "image-message__info-container" }, na = {
|
135
|
+
}, ea = ["src", "alt"], fa = { class: "image-message__info-container" }, na = {
|
136
|
+
key: 0,
|
137
|
+
class: "image-message__views"
|
138
|
+
}, aa = { class: "image-message__time" }, Aa = {
|
136
139
|
key: 0,
|
137
140
|
class: "pi pi-check"
|
138
|
-
},
|
141
|
+
}, ta = {
|
139
142
|
key: 0,
|
140
143
|
class: "image-message__modal-overlay"
|
141
|
-
},
|
144
|
+
}, sa = { class: "image-message__modal" }, ia = ["src", "alt"], oa = {
|
142
145
|
__name: "ImageMessage",
|
143
146
|
props: {
|
144
147
|
message: {
|
@@ -152,10 +155,10 @@ const k = (e, f) => {
|
|
152
155
|
}, s = () => {
|
153
156
|
A.value = !1, a.value = !1;
|
154
157
|
};
|
155
|
-
function
|
158
|
+
function o(l) {
|
156
159
|
return l.position === "left" ? "image-message__left" : "image-message__right";
|
157
160
|
}
|
158
|
-
const
|
161
|
+
const r = E(() => {
|
159
162
|
switch (f.message.status) {
|
160
163
|
case "read":
|
161
164
|
return "image-message__status--read";
|
@@ -165,78 +168,82 @@ const k = (e, f) => {
|
|
165
168
|
return "";
|
166
169
|
}
|
167
170
|
});
|
168
|
-
return (l, g) => (
|
169
|
-
class: T(["image-message",
|
171
|
+
return (l, g) => (u(), c("div", {
|
172
|
+
class: T(["image-message", o(e.message)]),
|
170
173
|
messageId: e.message.messageId,
|
171
174
|
onMouseleave: s
|
172
175
|
}, [
|
173
|
-
e.message.avatar ? (
|
176
|
+
e.message.avatar ? (u(), c("img", {
|
174
177
|
key: 0,
|
175
178
|
class: "image-message__avatar",
|
176
179
|
src: e.message.avatar,
|
177
180
|
height: "32",
|
178
181
|
width: "32",
|
179
|
-
style:
|
182
|
+
style: O({ gridRow: e.message.subText ? "2" : "1" })
|
180
183
|
}, null, 12, Gn)) : b("", !0),
|
181
|
-
e.message.subText ? (
|
182
|
-
|
184
|
+
e.message.subText ? (u(), c("p", Xn, _(e.message.subText), 1)) : b("", !0),
|
185
|
+
i("div", {
|
183
186
|
class: "image-message__content",
|
184
187
|
onMouseenter: t
|
185
188
|
}, [
|
186
|
-
|
189
|
+
i("button", {
|
187
190
|
class: "image-message__button",
|
188
|
-
onClick: g[0] || (g[0] = (
|
191
|
+
onClick: g[0] || (g[0] = (d) => n.value = !0)
|
189
192
|
}, [
|
190
|
-
|
193
|
+
i("img", {
|
191
194
|
class: "image-message__preview-image",
|
192
195
|
src: e.message.url,
|
193
196
|
alt: e.message.alt
|
194
197
|
}, null, 8, ea),
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
198
|
+
i("div", fa, [
|
199
|
+
e.message.views ? (u(), c("div", na, [
|
200
|
+
g[3] || (g[3] = i("span", { class: "pi pi-eye" }, null, -1)),
|
201
|
+
i("p", null, _(e.message.views), 1)
|
202
|
+
])) : b("", !0),
|
203
|
+
i("span", aa, _(e.message.time), 1),
|
204
|
+
o(e.message) === "image-message__right" && e.message.status ? (u(), c("div", {
|
205
|
+
key: 1,
|
206
|
+
class: T(["image-message__status", r.value])
|
200
207
|
}, [
|
201
|
-
e.message.status !== "sent" ? (
|
202
|
-
g[
|
208
|
+
e.message.status !== "sent" ? (u(), c("span", Aa)) : b("", !0),
|
209
|
+
g[4] || (g[4] = i("span", { class: "pi pi-check" }, null, -1))
|
203
210
|
], 2)) : b("", !0)
|
204
211
|
])
|
205
212
|
]),
|
206
|
-
(
|
207
|
-
S(
|
208
|
-
default:
|
209
|
-
n.value ? (
|
210
|
-
|
211
|
-
|
213
|
+
(u(), Q(vn, { to: "body" }, [
|
214
|
+
S($, { name: "modal-fade" }, {
|
215
|
+
default: H(() => [
|
216
|
+
n.value ? (u(), c("div", ta, [
|
217
|
+
i("div", sa, [
|
218
|
+
i("button", {
|
212
219
|
class: "image-message__modal-close-button",
|
213
|
-
onClick: g[1] || (g[1] = (
|
214
|
-
}, g[
|
215
|
-
|
216
|
-
|
220
|
+
onClick: g[1] || (g[1] = (d) => n.value = !1)
|
221
|
+
}, g[5] || (g[5] = [
|
222
|
+
i("span", null, [
|
223
|
+
i("i", { class: "pi pi-times" })
|
217
224
|
], -1)
|
218
225
|
])),
|
219
|
-
|
226
|
+
i("img", {
|
220
227
|
class: "image-message__modal-image",
|
221
228
|
src: e.message.url,
|
222
229
|
alt: e.message.alt
|
223
|
-
}, null, 8,
|
230
|
+
}, null, 8, ia)
|
224
231
|
])
|
225
232
|
])) : b("", !0)
|
226
233
|
]),
|
227
234
|
_: 1
|
228
235
|
})
|
229
236
|
])),
|
230
|
-
A.value && e.message.actions ? (
|
237
|
+
A.value && e.message.actions ? (u(), c("button", {
|
231
238
|
key: 0,
|
232
239
|
class: "image-message__menu-button",
|
233
|
-
onClick: g[2] || (g[2] = (
|
234
|
-
}, g[
|
235
|
-
|
240
|
+
onClick: g[2] || (g[2] = (d) => a.value = !a.value)
|
241
|
+
}, g[6] || (g[6] = [
|
242
|
+
i("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
236
243
|
]))) : b("", !0),
|
237
|
-
S(
|
238
|
-
default:
|
239
|
-
a.value && e.message.actions ? (
|
244
|
+
S($, { name: "context-menu" }, {
|
245
|
+
default: H(() => [
|
246
|
+
a.value && e.message.actions ? (u(), Q(me, {
|
240
247
|
key: 0,
|
241
248
|
class: "image-message__context-menu",
|
242
249
|
actions: e.message.actions,
|
@@ -248,16 +255,19 @@ const k = (e, f) => {
|
|
248
255
|
], 32)
|
249
256
|
], 42, Zn));
|
250
257
|
}
|
251
|
-
},
|
258
|
+
}, ua = /* @__PURE__ */ N(oa, [["__scopeId", "data-v-bfe04626"]]), ra = { class: "text-message" }, la = ["messageId"], ca = ["src"], da = {
|
252
259
|
key: 1,
|
253
260
|
class: "text-message__subtext"
|
254
|
-
},
|
261
|
+
}, ga = { class: "text-message__text" }, ma = { class: "text-message__info-container" }, pa = {
|
255
262
|
key: 0,
|
263
|
+
class: "text-message__views"
|
264
|
+
}, Ma = {
|
265
|
+
key: 1,
|
256
266
|
class: "text-message__time"
|
257
|
-
},
|
267
|
+
}, ha = {
|
258
268
|
key: 0,
|
259
269
|
class: "pi pi-check"
|
260
|
-
},
|
270
|
+
}, ba = {
|
261
271
|
__name: "TextMessage",
|
262
272
|
props: {
|
263
273
|
message: {
|
@@ -269,15 +279,15 @@ const k = (e, f) => {
|
|
269
279
|
setup(e, { emit: f }) {
|
270
280
|
const n = e, a = f, A = v(!1), t = v(!1), s = () => {
|
271
281
|
t.value = !0;
|
272
|
-
},
|
282
|
+
}, o = () => {
|
273
283
|
t.value = !1, A.value = !1;
|
274
|
-
},
|
275
|
-
|
284
|
+
}, r = (d) => {
|
285
|
+
o(), a("action", { messageId: n.message.messageId, ...d });
|
276
286
|
};
|
277
|
-
function l(
|
278
|
-
return
|
287
|
+
function l(d) {
|
288
|
+
return d.position === "left" ? "text-message__left" : "text-message__right";
|
279
289
|
}
|
280
|
-
const g =
|
290
|
+
const g = E(() => {
|
281
291
|
switch (n.message.status) {
|
282
292
|
case "read":
|
283
293
|
return "text-message__status--read";
|
@@ -287,65 +297,69 @@ const k = (e, f) => {
|
|
287
297
|
return "";
|
288
298
|
}
|
289
299
|
});
|
290
|
-
return (
|
291
|
-
|
300
|
+
return (d, p) => (u(), c("div", ra, [
|
301
|
+
i("div", {
|
292
302
|
class: T(l(e.message)),
|
293
303
|
messageId: e.message.messageId,
|
294
|
-
onMouseleave:
|
304
|
+
onMouseleave: o
|
295
305
|
}, [
|
296
|
-
e.message.avatar ? (
|
306
|
+
e.message.avatar ? (u(), c("img", {
|
297
307
|
key: 0,
|
298
308
|
class: "text-message__avatar",
|
299
309
|
src: e.message.avatar,
|
300
310
|
height: "32",
|
301
311
|
width: "32",
|
302
|
-
style:
|
303
|
-
}, null, 12,
|
304
|
-
e.message.subText ? (
|
305
|
-
|
312
|
+
style: O({ gridRow: e.message.subText ? "2" : "1" })
|
313
|
+
}, null, 12, ca)) : b("", !0),
|
314
|
+
e.message.subText ? (u(), c("p", da, _(e.message.subText), 1)) : b("", !0),
|
315
|
+
i("div", {
|
306
316
|
class: "text-message__content",
|
307
317
|
onMouseenter: s
|
308
318
|
}, [
|
309
|
-
|
310
|
-
|
311
|
-
e.message.
|
312
|
-
|
313
|
-
|
319
|
+
i("p", ga, _(e.message.text), 1),
|
320
|
+
i("div", ma, [
|
321
|
+
e.message.views ? (u(), c("div", pa, [
|
322
|
+
p[1] || (p[1] = i("span", { class: "pi pi-eye" }, null, -1)),
|
323
|
+
i("p", null, _(e.message.views), 1)
|
324
|
+
])) : b("", !0),
|
325
|
+
e.message.time ? (u(), c("span", Ma, _(e.message.time), 1)) : b("", !0),
|
326
|
+
l(e.message) === "text-message__right" && e.message.status ? (u(), c("div", {
|
327
|
+
key: 2,
|
314
328
|
class: T(["text-message__status", g.value])
|
315
329
|
}, [
|
316
|
-
e.message.status !== "
|
317
|
-
|
330
|
+
e.message.status !== "send" ? (u(), c("span", ha)) : b("", !0),
|
331
|
+
p[2] || (p[2] = i("span", { class: "pi pi-check" }, null, -1))
|
318
332
|
], 2)) : b("", !0)
|
319
333
|
]),
|
320
|
-
t.value && e.message.actions ? (
|
334
|
+
t.value && e.message.actions ? (u(), c("button", {
|
321
335
|
key: 0,
|
322
336
|
class: "text-message__menu-button",
|
323
|
-
onClick:
|
324
|
-
},
|
325
|
-
|
337
|
+
onClick: p[0] || (p[0] = (h) => A.value = !A.value)
|
338
|
+
}, p[3] || (p[3] = [
|
339
|
+
i("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
326
340
|
]))) : b("", !0),
|
327
|
-
S(
|
328
|
-
default:
|
329
|
-
A.value && e.message.actions ? (
|
341
|
+
S($, null, {
|
342
|
+
default: H(() => [
|
343
|
+
A.value && e.message.actions ? (u(), Q(me, {
|
330
344
|
key: 0,
|
331
345
|
class: "text-message__context-menu",
|
332
346
|
actions: e.message.actions,
|
333
|
-
onClick:
|
347
|
+
onClick: r
|
334
348
|
}, null, 8, ["actions"])) : b("", !0)
|
335
349
|
]),
|
336
350
|
_: 1
|
337
351
|
})
|
338
352
|
], 32)
|
339
|
-
], 42,
|
353
|
+
], 42, la)
|
340
354
|
]));
|
341
355
|
}
|
342
|
-
},
|
356
|
+
}, ya = /* @__PURE__ */ N(ba, [["__scopeId", "data-v-3ef23b45"]]), va = ["messageId"], Ia = ["src"], _a = {
|
343
357
|
key: 1,
|
344
358
|
class: "audio-message__subtext"
|
345
|
-
},
|
359
|
+
}, wa = ["src"], Da = { class: "audio-message__progress-bar-container" }, Na = { class: "audio-message__remaining-time" }, ka = { class: "audio-message__info-container" }, ja = { class: "audio-message__time" }, Va = {
|
346
360
|
key: 0,
|
347
361
|
class: "pi pi-check"
|
348
|
-
},
|
362
|
+
}, Ea = {
|
349
363
|
__name: "AudioMessage",
|
350
364
|
props: {
|
351
365
|
message: {
|
@@ -354,18 +368,18 @@ const k = (e, f) => {
|
|
354
368
|
}
|
355
369
|
},
|
356
370
|
setup(e) {
|
357
|
-
const f = e, n = v(null), a = v(!1), A = v(0), t = v(0), s = v(!1),
|
358
|
-
|
371
|
+
const f = e, n = v(null), a = v(!1), A = v(0), t = v(0), s = v(!1), o = v(!1), r = () => {
|
372
|
+
o.value = !0;
|
359
373
|
}, l = () => {
|
360
|
-
|
374
|
+
o.value = !1, s.value = !1;
|
361
375
|
};
|
362
376
|
function g() {
|
363
377
|
n.value && (a.value ? n.value.pause() : n.value.play(), a.value = !a.value);
|
364
378
|
}
|
365
|
-
const
|
366
|
-
const
|
367
|
-
return `${
|
368
|
-
},
|
379
|
+
const d = (I) => {
|
380
|
+
const w = Math.floor(I / 60), k = Math.floor(I % 60);
|
381
|
+
return `${w.toString().padStart(2, "0")}:${k.toString().padStart(2, "0")}`;
|
382
|
+
}, p = E(() => n.value ? d(t.value) : "0:00"), h = E(() => n.value ? d(A.value) : "0:00"), M = E(() => A.value > 0 ? t.value / A.value * 100 : 0), y = E(() => {
|
369
383
|
switch (f.message.status) {
|
370
384
|
case "read":
|
371
385
|
return "audio-message__status--read";
|
@@ -375,93 +389,93 @@ const k = (e, f) => {
|
|
375
389
|
return "";
|
376
390
|
}
|
377
391
|
});
|
378
|
-
function
|
379
|
-
return
|
392
|
+
function m(I) {
|
393
|
+
return I.position === "left" ? "audio-message__left" : "audio-message__right";
|
380
394
|
}
|
381
|
-
return
|
395
|
+
return de(() => {
|
382
396
|
n.value.addEventListener("loadedmetadata", () => {
|
383
397
|
A.value = n.value.duration;
|
384
398
|
}), n.value.addEventListener("timeupdate", () => {
|
385
399
|
t.value = n.value.currentTime;
|
386
400
|
});
|
387
|
-
}), (
|
388
|
-
class: T(["audio-message",
|
401
|
+
}), (I, w) => (u(), c("div", {
|
402
|
+
class: T(["audio-message", m(e.message)]),
|
389
403
|
messageId: e.message.messageId,
|
390
404
|
onMouseleave: l
|
391
405
|
}, [
|
392
|
-
e.message.avatar ? (
|
406
|
+
e.message.avatar ? (u(), c("img", {
|
393
407
|
key: 0,
|
394
408
|
class: "file-message__avatar",
|
395
409
|
src: e.message.avatar,
|
396
410
|
height: "32",
|
397
411
|
width: "32",
|
398
|
-
style:
|
399
|
-
}, null, 12,
|
400
|
-
e.message.subText ? (
|
401
|
-
|
412
|
+
style: O({ gridRow: e.message.subText ? "2" : "1" })
|
413
|
+
}, null, 12, Ia)) : b("", !0),
|
414
|
+
e.message.subText ? (u(), c("p", _a, _(e.message.subText), 1)) : b("", !0),
|
415
|
+
i("div", {
|
402
416
|
class: "audio-message__content",
|
403
|
-
onMouseenter:
|
417
|
+
onMouseenter: r
|
404
418
|
}, [
|
405
|
-
|
419
|
+
i("audio", {
|
406
420
|
ref_key: "player",
|
407
421
|
ref: n,
|
408
422
|
src: e.message.url
|
409
|
-
}, null, 8,
|
410
|
-
ae(
|
423
|
+
}, null, 8, wa),
|
424
|
+
ae(i("button", {
|
411
425
|
class: "audio-message__play",
|
412
426
|
onClick: g
|
413
|
-
},
|
414
|
-
|
427
|
+
}, w[1] || (w[1] = [
|
428
|
+
i("span", { class: "pi pi-play" }, null, -1)
|
415
429
|
]), 512), [
|
416
|
-
[
|
430
|
+
[Me, !a.value]
|
417
431
|
]),
|
418
|
-
ae(
|
432
|
+
ae(i("button", {
|
419
433
|
class: "audio-message__pause",
|
420
434
|
onClick: g
|
421
|
-
},
|
422
|
-
|
435
|
+
}, w[2] || (w[2] = [
|
436
|
+
i("span", { class: "pi pi-pause" }, null, -1)
|
423
437
|
]), 512), [
|
424
|
-
[
|
438
|
+
[Me, a.value]
|
425
439
|
]),
|
426
|
-
|
427
|
-
|
440
|
+
i("div", Da, [
|
441
|
+
i("div", {
|
428
442
|
class: "audio-message__progress-bar",
|
429
|
-
style:
|
443
|
+
style: O({ width: M.value + "%" })
|
430
444
|
}, null, 4)
|
431
445
|
]),
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
446
|
+
i("p", Na, _(`${p.value} / ${h.value}`), 1),
|
447
|
+
i("div", ka, [
|
448
|
+
i("span", ja, _(e.message.time), 1),
|
449
|
+
m(e.message) === "audio-message__right" && e.message.status ? (u(), c("div", {
|
436
450
|
key: 0,
|
437
451
|
class: T(["audio-message__status", y.value])
|
438
452
|
}, [
|
439
|
-
e.message.status !== "sent" ? (
|
440
|
-
|
453
|
+
e.message.status !== "sent" ? (u(), c("span", Va)) : b("", !0),
|
454
|
+
w[3] || (w[3] = i("span", { class: "pi pi-check" }, null, -1))
|
441
455
|
], 2)) : b("", !0)
|
442
456
|
]),
|
443
|
-
|
457
|
+
o.value && e.message.actions ? (u(), c("button", {
|
444
458
|
key: 0,
|
445
459
|
class: "audio-message__menu-button",
|
446
|
-
onClick:
|
447
|
-
},
|
448
|
-
|
460
|
+
onClick: w[0] || (w[0] = (k) => s.value = !s.value)
|
461
|
+
}, w[4] || (w[4] = [
|
462
|
+
i("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
449
463
|
]))) : b("", !0),
|
450
|
-
S(
|
451
|
-
default:
|
452
|
-
s.value && e.message.actions ? (
|
464
|
+
S($, null, {
|
465
|
+
default: H(() => [
|
466
|
+
s.value && e.message.actions ? (u(), Q(me, {
|
453
467
|
key: 0,
|
454
468
|
class: "audio-message__context-menu",
|
455
469
|
actions: e.message.actions,
|
456
|
-
onClick:
|
470
|
+
onClick: I.clickAction
|
457
471
|
}, null, 8, ["actions", "onClick"])) : b("", !0)
|
458
472
|
]),
|
459
473
|
_: 1
|
460
474
|
})
|
461
475
|
], 32)
|
462
|
-
], 42,
|
476
|
+
], 42, va));
|
463
477
|
}
|
464
|
-
},
|
478
|
+
}, Ta = /* @__PURE__ */ N(Ea, [["__scopeId", "data-v-b2329e92"]]), xa = { class: "date-message" }, Sa = { class: "date-message__container" }, za = { class: "date-message__text" }, Oa = {
|
465
479
|
__name: "DateMessage",
|
466
480
|
props: {
|
467
481
|
message: {
|
@@ -472,22 +486,22 @@ const k = (e, f) => {
|
|
472
486
|
}
|
473
487
|
},
|
474
488
|
setup(e) {
|
475
|
-
return (f, n) => (
|
476
|
-
|
477
|
-
|
489
|
+
return (f, n) => (u(), c("div", xa, [
|
490
|
+
i("div", Sa, [
|
491
|
+
i("p", za, _(e.message.text), 1)
|
478
492
|
])
|
479
493
|
]));
|
480
494
|
}
|
481
|
-
},
|
495
|
+
}, Ca = /* @__PURE__ */ N(Oa, [["__scopeId", "data-v-d20acba5"]]), Ua = {
|
482
496
|
key: 0,
|
483
497
|
class: "chat-info__container"
|
484
|
-
},
|
498
|
+
}, La = { class: "chat-info__avatar-container" }, Qa = ["src"], Ba = {
|
485
499
|
key: 1,
|
486
500
|
class: "pi pi-user"
|
487
|
-
},
|
501
|
+
}, Ya = { class: "chat-info__info-container" }, Ra = { class: "chat-info__title" }, qa = {
|
488
502
|
key: 0,
|
489
503
|
class: "chat-info__time"
|
490
|
-
},
|
504
|
+
}, Fa = { class: "chat-info__actions" }, Ja = {
|
491
505
|
__name: "ChatInfo",
|
492
506
|
props: {
|
493
507
|
chat: {
|
@@ -498,25 +512,25 @@ const k = (e, f) => {
|
|
498
512
|
emits: ["open-panel"],
|
499
513
|
setup(e, { emit: f }) {
|
500
514
|
const n = e;
|
501
|
-
return (a, A) => e.chat ? (
|
502
|
-
|
503
|
-
n.chat.avatar ? (
|
515
|
+
return (a, A) => e.chat ? (u(), c("div", Ua, [
|
516
|
+
i("div", La, [
|
517
|
+
n.chat.avatar ? (u(), c("img", {
|
504
518
|
key: 0,
|
505
519
|
src: n.chat.avatar,
|
506
520
|
width: "48",
|
507
521
|
height: "48"
|
508
|
-
}, null, 8,
|
522
|
+
}, null, 8, Qa)) : (u(), c("span", Ba))
|
509
523
|
]),
|
510
|
-
|
511
|
-
|
512
|
-
e.chat["lastActivity.time"] ? (
|
524
|
+
i("div", Ya, [
|
525
|
+
i("h2", Ra, _(e.chat.name), 1),
|
526
|
+
e.chat["lastActivity.time"] ? (u(), c("p", qa, _(e.chat["lastActivity.time"]), 1)) : b("", !0)
|
513
527
|
]),
|
514
|
-
|
528
|
+
i("div", Fa, [
|
515
529
|
W(a.$slots, "actions", {}, void 0, !0)
|
516
530
|
])
|
517
531
|
])) : b("", !0);
|
518
532
|
}
|
519
|
-
},
|
533
|
+
}, Eo = /* @__PURE__ */ N(Ja, [["__scopeId", "data-v-ea1582e5"]]), Kf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", Zf = {
|
520
534
|
recent: "Recently used",
|
521
535
|
smileys_people: "Smiles & People",
|
522
536
|
animals_nature: "Animals & Nature",
|
@@ -526,21 +540,21 @@ const k = (e, f) => {
|
|
526
540
|
objects: "Objects",
|
527
541
|
symbols: "Symbols",
|
528
542
|
flags: "Flags"
|
529
|
-
},
|
543
|
+
}, Gf = "u", Ze = "n", Re = "v", Te = "r", Wa = {
|
530
544
|
[Ze]: ["grinning face", "grinning"],
|
531
|
-
[
|
545
|
+
[Gf]: "1f600",
|
532
546
|
[Te]: "1f600"
|
533
|
-
},
|
534
|
-
|
535
|
-
|
536
|
-
Wa,
|
547
|
+
}, $e = "neutral", $a = "1f3fb", Ha = "1f3fc", Pa = "1f3fd", Ka = "1f3fe", Za = "1f3ff", Ga = [
|
548
|
+
$e,
|
549
|
+
$a,
|
537
550
|
Ha,
|
551
|
+
Pa,
|
538
552
|
Ka,
|
539
|
-
|
540
|
-
],
|
553
|
+
Za
|
554
|
+
], Xa = {
|
541
555
|
placeholder: "Search emoji",
|
542
556
|
skinTone: "Skin tone"
|
543
|
-
},
|
557
|
+
}, eA = ["light", "dark", "auto"], fA = [
|
544
558
|
{
|
545
559
|
n: [
|
546
560
|
"grinning face",
|
@@ -4948,7 +4962,7 @@ const k = (e, f) => {
|
|
4948
4962
|
],
|
4949
4963
|
u: "1f48e"
|
4950
4964
|
}
|
4951
|
-
],
|
4965
|
+
], nA = [
|
4952
4966
|
{
|
4953
4967
|
n: [
|
4954
4968
|
"monkey face",
|
@@ -5682,7 +5696,7 @@ const k = (e, f) => {
|
|
5682
5696
|
],
|
5683
5697
|
u: "1f343"
|
5684
5698
|
}
|
5685
|
-
],
|
5699
|
+
], aA = [
|
5686
5700
|
{
|
5687
5701
|
n: [
|
5688
5702
|
"grapes"
|
@@ -6348,7 +6362,7 @@ const k = (e, f) => {
|
|
6348
6362
|
],
|
6349
6363
|
u: "1f3fa"
|
6350
6364
|
}
|
6351
|
-
],
|
6365
|
+
], AA = [
|
6352
6366
|
{
|
6353
6367
|
n: [
|
6354
6368
|
"jack-o-lantern",
|
@@ -6754,7 +6768,7 @@ const k = (e, f) => {
|
|
6754
6768
|
],
|
6755
6769
|
u: "1f3b4"
|
6756
6770
|
}
|
6757
|
-
],
|
6771
|
+
], tA = [
|
6758
6772
|
{
|
6759
6773
|
n: [
|
6760
6774
|
"earth globe europe-africa",
|
@@ -8121,7 +8135,7 @@ const k = (e, f) => {
|
|
8121
8135
|
],
|
8122
8136
|
u: "1f30a"
|
8123
8137
|
}
|
8124
|
-
],
|
8138
|
+
], sA = [
|
8125
8139
|
{
|
8126
8140
|
n: [
|
8127
8141
|
"speaker with cancellation stroke",
|
@@ -9185,7 +9199,7 @@ const k = (e, f) => {
|
|
9185
9199
|
],
|
9186
9200
|
u: "1f6d2"
|
9187
9201
|
}
|
9188
|
-
],
|
9202
|
+
], iA = [
|
9189
9203
|
{
|
9190
9204
|
n: [
|
9191
9205
|
"automated teller machine",
|
@@ -10583,7 +10597,7 @@ const k = (e, f) => {
|
|
10583
10597
|
],
|
10584
10598
|
u: "1f535"
|
10585
10599
|
}
|
10586
|
-
],
|
10600
|
+
], oA = [
|
10587
10601
|
{
|
10588
10602
|
n: [
|
10589
10603
|
"chequered flag",
|
@@ -12463,16 +12477,16 @@ const k = (e, f) => {
|
|
12463
12477
|
u: "1f3f4-e0067-e0062-e0077-e006c-e0073-e007f"
|
12464
12478
|
}
|
12465
12479
|
];
|
12466
|
-
var
|
12467
|
-
smileys_people:
|
12468
|
-
animals_nature:
|
12469
|
-
food_drink:
|
12470
|
-
activities:
|
12471
|
-
travel_places:
|
12472
|
-
objects:
|
12473
|
-
symbols:
|
12474
|
-
flags:
|
12475
|
-
},
|
12480
|
+
var uA = {
|
12481
|
+
smileys_people: fA,
|
12482
|
+
animals_nature: nA,
|
12483
|
+
food_drink: aA,
|
12484
|
+
activities: AA,
|
12485
|
+
travel_places: tA,
|
12486
|
+
objects: sA,
|
12487
|
+
symbols: iA,
|
12488
|
+
flags: oA
|
12489
|
+
}, zf = [
|
12476
12490
|
{
|
12477
12491
|
key: "recent",
|
12478
12492
|
title: "Recently Used",
|
@@ -12519,10 +12533,10 @@ var iA = {
|
|
12519
12533
|
u: "1f3f3-fe0f"
|
12520
12534
|
}
|
12521
12535
|
];
|
12522
|
-
const
|
12523
|
-
let
|
12524
|
-
function
|
12525
|
-
return
|
12536
|
+
const rA = (e, f) => f.some((n) => e instanceof n);
|
12537
|
+
let Of, Cf;
|
12538
|
+
function lA() {
|
12539
|
+
return Of || (Of = [
|
12526
12540
|
IDBDatabase,
|
12527
12541
|
IDBObjectStore,
|
12528
12542
|
IDBIndex,
|
@@ -12530,15 +12544,15 @@ function uA() {
|
|
12530
12544
|
IDBTransaction
|
12531
12545
|
]);
|
12532
12546
|
}
|
12533
|
-
function
|
12534
|
-
return
|
12547
|
+
function cA() {
|
12548
|
+
return Cf || (Cf = [
|
12535
12549
|
IDBCursor.prototype.advance,
|
12536
12550
|
IDBCursor.prototype.continue,
|
12537
12551
|
IDBCursor.prototype.continuePrimaryKey
|
12538
12552
|
]);
|
12539
12553
|
}
|
12540
|
-
const
|
12541
|
-
function
|
12554
|
+
const Xf = /* @__PURE__ */ new WeakMap(), uf = /* @__PURE__ */ new WeakMap(), en = /* @__PURE__ */ new WeakMap(), af = /* @__PURE__ */ new WeakMap(), cf = /* @__PURE__ */ new WeakMap();
|
12555
|
+
function dA(e) {
|
12542
12556
|
const f = new Promise((n, a) => {
|
12543
12557
|
const A = () => {
|
12544
12558
|
e.removeEventListener("success", t), e.removeEventListener("error", s);
|
@@ -12550,11 +12564,11 @@ function lA(e) {
|
|
12550
12564
|
e.addEventListener("success", t), e.addEventListener("error", s);
|
12551
12565
|
});
|
12552
12566
|
return f.then((n) => {
|
12553
|
-
n instanceof IDBCursor &&
|
12567
|
+
n instanceof IDBCursor && Xf.set(n, e);
|
12554
12568
|
}).catch(() => {
|
12555
12569
|
}), cf.set(f, e), f;
|
12556
12570
|
}
|
12557
|
-
function
|
12571
|
+
function gA(e) {
|
12558
12572
|
if (uf.has(e))
|
12559
12573
|
return;
|
12560
12574
|
const f = new Promise((n, a) => {
|
@@ -12575,7 +12589,7 @@ let rf = {
|
|
12575
12589
|
if (f === "done")
|
12576
12590
|
return uf.get(e);
|
12577
12591
|
if (f === "objectStoreNames")
|
12578
|
-
return e.objectStoreNames ||
|
12592
|
+
return e.objectStoreNames || en.get(e);
|
12579
12593
|
if (f === "store")
|
12580
12594
|
return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
|
12581
12595
|
}
|
@@ -12588,73 +12602,73 @@ let rf = {
|
|
12588
12602
|
return e instanceof IDBTransaction && (f === "done" || f === "store") ? !0 : f in e;
|
12589
12603
|
}
|
12590
12604
|
};
|
12591
|
-
function
|
12605
|
+
function mA(e) {
|
12592
12606
|
rf = e(rf);
|
12593
12607
|
}
|
12594
|
-
function
|
12608
|
+
function pA(e) {
|
12595
12609
|
return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(f, ...n) {
|
12596
12610
|
const a = e.call(Af(this), f, ...n);
|
12597
|
-
return
|
12598
|
-
} :
|
12599
|
-
return e.apply(Af(this), f), te(
|
12611
|
+
return en.set(a, f.sort ? f.sort() : [f]), te(a);
|
12612
|
+
} : cA().includes(e) ? function(...f) {
|
12613
|
+
return e.apply(Af(this), f), te(Xf.get(this));
|
12600
12614
|
} : function(...f) {
|
12601
12615
|
return te(e.apply(Af(this), f));
|
12602
12616
|
};
|
12603
12617
|
}
|
12604
|
-
function
|
12605
|
-
return typeof e == "function" ?
|
12618
|
+
function MA(e) {
|
12619
|
+
return typeof e == "function" ? pA(e) : (e instanceof IDBTransaction && gA(e), rA(e, lA()) ? new Proxy(e, rf) : e);
|
12606
12620
|
}
|
12607
12621
|
function te(e) {
|
12608
12622
|
if (e instanceof IDBRequest)
|
12609
|
-
return
|
12623
|
+
return dA(e);
|
12610
12624
|
if (af.has(e))
|
12611
12625
|
return af.get(e);
|
12612
|
-
const f =
|
12626
|
+
const f = MA(e);
|
12613
12627
|
return f !== e && (af.set(e, f), cf.set(f, e)), f;
|
12614
12628
|
}
|
12615
12629
|
const Af = (e) => cf.get(e);
|
12616
12630
|
function df(e, f, { blocked: n, upgrade: a, blocking: A, terminated: t } = {}) {
|
12617
|
-
const s = indexedDB.open(e, f),
|
12618
|
-
return a && s.addEventListener("upgradeneeded", (
|
12619
|
-
a(te(s.result),
|
12620
|
-
}), n && s.addEventListener("blocked", (
|
12621
|
-
|
12622
|
-
|
12623
|
-
|
12624
|
-
)),
|
12625
|
-
t &&
|
12631
|
+
const s = indexedDB.open(e, f), o = te(s);
|
12632
|
+
return a && s.addEventListener("upgradeneeded", (r) => {
|
12633
|
+
a(te(s.result), r.oldVersion, r.newVersion, te(s.transaction), r);
|
12634
|
+
}), n && s.addEventListener("blocked", (r) => n(
|
12635
|
+
r.oldVersion,
|
12636
|
+
r.newVersion,
|
12637
|
+
r
|
12638
|
+
)), o.then((r) => {
|
12639
|
+
t && r.addEventListener("close", () => t()), A && r.addEventListener("versionchange", (l) => A(l.oldVersion, l.newVersion, l));
|
12626
12640
|
}).catch(() => {
|
12627
|
-
}),
|
12641
|
+
}), o;
|
12628
12642
|
}
|
12629
|
-
const
|
12630
|
-
function
|
12643
|
+
const hA = ["get", "getKey", "getAll", "getAllKeys", "count"], bA = ["put", "add", "delete", "clear"], tf = /* @__PURE__ */ new Map();
|
12644
|
+
function Uf(e, f) {
|
12631
12645
|
if (!(e instanceof IDBDatabase && !(f in e) && typeof f == "string"))
|
12632
12646
|
return;
|
12633
12647
|
if (tf.get(f))
|
12634
12648
|
return tf.get(f);
|
12635
|
-
const n = f.replace(/FromIndex$/, ""), a = f !== n, A =
|
12636
|
-
if (!(n in (a ? IDBIndex : IDBObjectStore).prototype) || !(A ||
|
12649
|
+
const n = f.replace(/FromIndex$/, ""), a = f !== n, A = bA.includes(n);
|
12650
|
+
if (!(n in (a ? IDBIndex : IDBObjectStore).prototype) || !(A || hA.includes(n)))
|
12637
12651
|
return;
|
12638
|
-
const t = async function(s, ...
|
12639
|
-
const
|
12640
|
-
let l =
|
12641
|
-
return a && (l = l.index(
|
12642
|
-
l[n](...
|
12643
|
-
A &&
|
12652
|
+
const t = async function(s, ...o) {
|
12653
|
+
const r = this.transaction(s, A ? "readwrite" : "readonly");
|
12654
|
+
let l = r.store;
|
12655
|
+
return a && (l = l.index(o.shift())), (await Promise.all([
|
12656
|
+
l[n](...o),
|
12657
|
+
A && r.done
|
12644
12658
|
]))[0];
|
12645
12659
|
};
|
12646
12660
|
return tf.set(f, t), t;
|
12647
12661
|
}
|
12648
|
-
|
12662
|
+
mA((e) => ({
|
12649
12663
|
...e,
|
12650
|
-
get: (f, n, a) =>
|
12651
|
-
has: (f, n) => !!
|
12664
|
+
get: (f, n, a) => Uf(f, n) || e.get(f, n, a),
|
12665
|
+
has: (f, n) => !!Uf(f, n) || e.has(f, n)
|
12652
12666
|
}));
|
12653
|
-
const gf = "EMJ",
|
12654
|
-
async function
|
12667
|
+
const gf = "EMJ", he = "emojis", mf = 3;
|
12668
|
+
async function yA() {
|
12655
12669
|
(await df(gf, mf, {
|
12656
12670
|
upgrade(f, n) {
|
12657
|
-
f.objectStoreNames.contains(
|
12671
|
+
f.objectStoreNames.contains(he) || f.createObjectStore(he, {
|
12658
12672
|
keyPath: "id",
|
12659
12673
|
autoIncrement: !0
|
12660
12674
|
}).createIndex("id", "id", {
|
@@ -12663,8 +12677,8 @@ async function hA() {
|
|
12663
12677
|
}
|
12664
12678
|
})).close();
|
12665
12679
|
}
|
12666
|
-
|
12667
|
-
const
|
12680
|
+
yA();
|
12681
|
+
const vA = {
|
12668
12682
|
native: !1,
|
12669
12683
|
hideSearch: !0,
|
12670
12684
|
hideGroupIcons: !1,
|
@@ -12677,97 +12691,97 @@ const bA = {
|
|
12677
12691
|
groupOrder: [],
|
12678
12692
|
groupIcons: {}
|
12679
12693
|
};
|
12680
|
-
async function
|
12681
|
-
return await (await df(gf, mf)).transaction(
|
12694
|
+
async function IA() {
|
12695
|
+
return await (await df(gf, mf)).transaction(he, "readonly").objectStore(he).getAll();
|
12682
12696
|
}
|
12683
|
-
function
|
12684
|
-
const e =
|
12697
|
+
function _A() {
|
12698
|
+
const e = Dn({
|
12685
12699
|
search: "",
|
12686
|
-
emoji:
|
12700
|
+
emoji: Wa,
|
12687
12701
|
activeGroup: "",
|
12688
|
-
skinTone:
|
12689
|
-
options:
|
12702
|
+
skinTone: $e,
|
12703
|
+
options: vA,
|
12690
12704
|
additionalGroups: {},
|
12691
12705
|
recent: [],
|
12692
12706
|
get emojis() {
|
12693
12707
|
return {
|
12694
12708
|
recent: this.recent,
|
12695
12709
|
...this.options.additionalGroups,
|
12696
|
-
...
|
12710
|
+
...uA
|
12697
12711
|
};
|
12698
12712
|
},
|
12699
12713
|
get disabled() {
|
12700
|
-
let
|
12701
|
-
return this.options.displayRecent || (
|
12714
|
+
let d = Array.isArray(this.options.disabledGroups) ? this.options.disabledGroups : [];
|
12715
|
+
return this.options.displayRecent || (d = ["recent", ...d]), d;
|
12702
12716
|
},
|
12703
12717
|
get groups() {
|
12704
|
-
return
|
12705
|
-
(
|
12718
|
+
return zf.filter(
|
12719
|
+
(d) => !this.disabled.includes(d.key)
|
12706
12720
|
);
|
12707
12721
|
},
|
12708
12722
|
get orderedGroupKeys() {
|
12709
|
-
const
|
12723
|
+
const d = [
|
12710
12724
|
...this.options.groupOrder,
|
12711
12725
|
...Object.keys(this.options.additionalGroups),
|
12712
|
-
...
|
12726
|
+
...zf.map((p) => p.key)
|
12713
12727
|
];
|
12714
|
-
return [...new Set(
|
12728
|
+
return [...new Set(d)].filter((p) => !this.disabled.includes(p));
|
12715
12729
|
}
|
12716
12730
|
});
|
12717
12731
|
function f() {
|
12718
12732
|
e.options.displayRecent && a();
|
12719
12733
|
}
|
12720
12734
|
async function n() {
|
12721
|
-
var
|
12722
|
-
let
|
12723
|
-
return Array.isArray(
|
12735
|
+
var d;
|
12736
|
+
let p = await IA();
|
12737
|
+
return Array.isArray(p) && p.length ? p = JSON.parse(((d = p[0]) == null ? void 0 : d.value) || "") : p = [], p;
|
12724
12738
|
}
|
12725
12739
|
function a() {
|
12726
|
-
n().then((
|
12727
|
-
e.recent =
|
12740
|
+
n().then((d) => {
|
12741
|
+
e.recent = d, l();
|
12728
12742
|
});
|
12729
12743
|
}
|
12730
|
-
const A = (
|
12731
|
-
e.search =
|
12732
|
-
}, t = (
|
12733
|
-
e.emoji =
|
12734
|
-
}, s = (
|
12735
|
-
e.activeGroup =
|
12736
|
-
},
|
12737
|
-
e.skinTone =
|
12738
|
-
},
|
12739
|
-
e.options = Object.assign({}, e.options,
|
12744
|
+
const A = (d) => {
|
12745
|
+
e.search = d;
|
12746
|
+
}, t = (d) => {
|
12747
|
+
e.emoji = d;
|
12748
|
+
}, s = (d) => {
|
12749
|
+
e.activeGroup = d;
|
12750
|
+
}, o = (d = $e) => {
|
12751
|
+
e.skinTone = d;
|
12752
|
+
}, r = (d) => {
|
12753
|
+
e.options = Object.assign({}, e.options, d), f();
|
12740
12754
|
};
|
12741
12755
|
async function l() {
|
12742
|
-
(await df(gf, mf)).transaction(
|
12756
|
+
(await df(gf, mf)).transaction(he, "readwrite").objectStore(he).put({
|
12743
12757
|
id: 0,
|
12744
12758
|
value: JSON.stringify(e.recent)
|
12745
12759
|
});
|
12746
12760
|
}
|
12747
|
-
const g = (
|
12761
|
+
const g = (d) => {
|
12748
12762
|
if (e.options.displayRecent !== !0)
|
12749
12763
|
return;
|
12750
|
-
const
|
12751
|
-
if (
|
12764
|
+
const p = e.recent.findIndex((M) => M.u === d.u);
|
12765
|
+
if (p > 0 && e.recent.splice(p, 1), p === 0)
|
12752
12766
|
return;
|
12753
|
-
const
|
12754
|
-
e.recent = [
|
12767
|
+
const h = { u: d.u, n: $f(d.n) };
|
12768
|
+
e.recent = [h, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), l();
|
12755
12769
|
};
|
12756
12770
|
return {
|
12757
|
-
state:
|
12771
|
+
state: Nn(e),
|
12758
12772
|
updateSearch: A,
|
12759
12773
|
updateEmoji: t,
|
12760
12774
|
updateActiveGroup: s,
|
12761
|
-
updateSkinTone:
|
12762
|
-
updateOptions:
|
12775
|
+
updateSkinTone: o,
|
12776
|
+
updateOptions: r,
|
12763
12777
|
updateSelect: g
|
12764
12778
|
};
|
12765
12779
|
}
|
12766
|
-
var q = "top",
|
12767
|
-
return e.concat([f + "-" +
|
12768
|
-
}, []),
|
12769
|
-
return e.concat([f, f + "-" +
|
12770
|
-
}, []),
|
12780
|
+
var q = "top", K = "bottom", Z = "right", F = "left", pf = "auto", ze = [q, K, Z, F], be = "start", xe = "end", wA = "clippingParents", fn = "viewport", je = "popper", DA = "reference", Lf = /* @__PURE__ */ ze.reduce(function(e, f) {
|
12781
|
+
return e.concat([f + "-" + be, f + "-" + xe]);
|
12782
|
+
}, []), nn = /* @__PURE__ */ [].concat(ze, [pf]).reduce(function(e, f) {
|
12783
|
+
return e.concat([f, f + "-" + be, f + "-" + xe]);
|
12784
|
+
}, []), NA = "beforeRead", kA = "read", jA = "afterRead", VA = "beforeMain", EA = "main", TA = "afterMain", xA = "beforeWrite", SA = "write", zA = "afterWrite", OA = [NA, kA, jA, VA, EA, TA, xA, SA, zA];
|
12771
12785
|
function fe(e) {
|
12772
12786
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
12773
12787
|
}
|
@@ -12780,7 +12794,7 @@ function X(e) {
|
|
12780
12794
|
}
|
12781
12795
|
return e;
|
12782
12796
|
}
|
12783
|
-
function
|
12797
|
+
function ye(e) {
|
12784
12798
|
var f = X(e).Element;
|
12785
12799
|
return e instanceof f || e instanceof Element;
|
12786
12800
|
}
|
@@ -12788,23 +12802,23 @@ function P(e) {
|
|
12788
12802
|
var f = X(e).HTMLElement;
|
12789
12803
|
return e instanceof f || e instanceof HTMLElement;
|
12790
12804
|
}
|
12791
|
-
function
|
12805
|
+
function an(e) {
|
12792
12806
|
if (typeof ShadowRoot > "u")
|
12793
12807
|
return !1;
|
12794
12808
|
var f = X(e).ShadowRoot;
|
12795
12809
|
return e instanceof f || e instanceof ShadowRoot;
|
12796
12810
|
}
|
12797
|
-
function
|
12811
|
+
function CA(e) {
|
12798
12812
|
var f = e.state;
|
12799
12813
|
Object.keys(f.elements).forEach(function(n) {
|
12800
12814
|
var a = f.styles[n] || {}, A = f.attributes[n] || {}, t = f.elements[n];
|
12801
12815
|
!P(t) || !fe(t) || (Object.assign(t.style, a), Object.keys(A).forEach(function(s) {
|
12802
|
-
var
|
12803
|
-
|
12816
|
+
var o = A[s];
|
12817
|
+
o === !1 ? t.removeAttribute(s) : t.setAttribute(s, o === !0 ? "" : o);
|
12804
12818
|
}));
|
12805
12819
|
});
|
12806
12820
|
}
|
12807
|
-
function
|
12821
|
+
function UA(e) {
|
12808
12822
|
var f = e.state, n = {
|
12809
12823
|
popper: {
|
12810
12824
|
position: f.options.strategy,
|
@@ -12819,33 +12833,33 @@ function OA(e) {
|
|
12819
12833
|
};
|
12820
12834
|
return Object.assign(f.elements.popper.style, n.popper), f.styles = n, f.elements.arrow && Object.assign(f.elements.arrow.style, n.arrow), function() {
|
12821
12835
|
Object.keys(f.elements).forEach(function(a) {
|
12822
|
-
var A = f.elements[a], t = f.attributes[a] || {}, s = Object.keys(f.styles.hasOwnProperty(a) ? f.styles[a] : n[a]),
|
12823
|
-
return
|
12836
|
+
var A = f.elements[a], t = f.attributes[a] || {}, s = Object.keys(f.styles.hasOwnProperty(a) ? f.styles[a] : n[a]), o = s.reduce(function(r, l) {
|
12837
|
+
return r[l] = "", r;
|
12824
12838
|
}, {});
|
12825
|
-
!P(A) || !fe(A) || (Object.assign(A.style,
|
12826
|
-
A.removeAttribute(
|
12839
|
+
!P(A) || !fe(A) || (Object.assign(A.style, o), Object.keys(t).forEach(function(r) {
|
12840
|
+
A.removeAttribute(r);
|
12827
12841
|
}));
|
12828
12842
|
});
|
12829
12843
|
};
|
12830
12844
|
}
|
12831
|
-
var
|
12845
|
+
var LA = {
|
12832
12846
|
name: "applyStyles",
|
12833
12847
|
enabled: !0,
|
12834
12848
|
phase: "write",
|
12835
|
-
fn:
|
12836
|
-
effect:
|
12849
|
+
fn: CA,
|
12850
|
+
effect: UA,
|
12837
12851
|
requires: ["computeStyles"]
|
12838
12852
|
};
|
12839
12853
|
function ee(e) {
|
12840
12854
|
return e.split("-")[0];
|
12841
12855
|
}
|
12842
|
-
var ce = Math.max,
|
12843
|
-
function
|
12856
|
+
var ce = Math.max, He = Math.min, ve = Math.round;
|
12857
|
+
function Ie(e, f) {
|
12844
12858
|
f === void 0 && (f = !1);
|
12845
12859
|
var n = e.getBoundingClientRect(), a = 1, A = 1;
|
12846
12860
|
if (P(e) && f) {
|
12847
12861
|
var t = e.offsetHeight, s = e.offsetWidth;
|
12848
|
-
s > 0 && (a =
|
12862
|
+
s > 0 && (a = ve(n.width) / s || 1), t > 0 && (A = ve(n.height) / t || 1);
|
12849
12863
|
}
|
12850
12864
|
return {
|
12851
12865
|
width: n.width / a,
|
@@ -12859,7 +12873,7 @@ function ve(e, f) {
|
|
12859
12873
|
};
|
12860
12874
|
}
|
12861
12875
|
function Mf(e) {
|
12862
|
-
var f =
|
12876
|
+
var f = Ie(e), n = e.offsetWidth, a = e.offsetHeight;
|
12863
12877
|
return Math.abs(f.width - n) <= 1 && (n = f.width), Math.abs(f.height - a) <= 1 && (a = f.height), {
|
12864
12878
|
x: e.offsetLeft,
|
12865
12879
|
y: e.offsetTop,
|
@@ -12867,11 +12881,11 @@ function Mf(e) {
|
|
12867
12881
|
height: a
|
12868
12882
|
};
|
12869
12883
|
}
|
12870
|
-
function
|
12884
|
+
function An(e, f) {
|
12871
12885
|
var n = f.getRootNode && f.getRootNode();
|
12872
12886
|
if (e.contains(f))
|
12873
12887
|
return !0;
|
12874
|
-
if (n &&
|
12888
|
+
if (n && an(n)) {
|
12875
12889
|
var a = f;
|
12876
12890
|
do {
|
12877
12891
|
if (a && e.isSameNode(a))
|
@@ -12884,19 +12898,19 @@ function nn(e, f) {
|
|
12884
12898
|
function ne(e) {
|
12885
12899
|
return X(e).getComputedStyle(e);
|
12886
12900
|
}
|
12887
|
-
function
|
12901
|
+
function QA(e) {
|
12888
12902
|
return ["table", "td", "th"].indexOf(fe(e)) >= 0;
|
12889
12903
|
}
|
12890
12904
|
function se(e) {
|
12891
|
-
return ((
|
12905
|
+
return ((ye(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
12892
12906
|
}
|
12893
12907
|
function Ge(e) {
|
12894
|
-
return fe(e) === "html" ? e : e.assignedSlot || e.parentNode || (
|
12908
|
+
return fe(e) === "html" ? e : e.assignedSlot || e.parentNode || (an(e) ? e.host : null) || se(e);
|
12895
12909
|
}
|
12896
|
-
function
|
12910
|
+
function Qf(e) {
|
12897
12911
|
return !P(e) || ne(e).position === "fixed" ? null : e.offsetParent;
|
12898
12912
|
}
|
12899
|
-
function
|
12913
|
+
function BA(e) {
|
12900
12914
|
var f = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, n = navigator.userAgent.indexOf("Trident") !== -1;
|
12901
12915
|
if (n && P(e)) {
|
12902
12916
|
var a = ne(e);
|
@@ -12912,21 +12926,21 @@ function LA(e) {
|
|
12912
12926
|
return null;
|
12913
12927
|
}
|
12914
12928
|
function Oe(e) {
|
12915
|
-
for (var f = X(e), n =
|
12916
|
-
n =
|
12917
|
-
return n && (fe(n) === "html" || fe(n) === "body" && ne(n).position === "static") ? f : n ||
|
12929
|
+
for (var f = X(e), n = Qf(e); n && QA(n) && ne(n).position === "static"; )
|
12930
|
+
n = Qf(n);
|
12931
|
+
return n && (fe(n) === "html" || fe(n) === "body" && ne(n).position === "static") ? f : n || BA(e) || f;
|
12918
12932
|
}
|
12919
12933
|
function hf(e) {
|
12920
12934
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
12921
12935
|
}
|
12922
12936
|
function Ve(e, f, n) {
|
12923
|
-
return ce(e,
|
12937
|
+
return ce(e, He(f, n));
|
12924
12938
|
}
|
12925
|
-
function
|
12939
|
+
function YA(e, f, n) {
|
12926
12940
|
var a = Ve(e, f, n);
|
12927
12941
|
return a > n ? n : a;
|
12928
12942
|
}
|
12929
|
-
function
|
12943
|
+
function tn() {
|
12930
12944
|
return {
|
12931
12945
|
top: 0,
|
12932
12946
|
right: 0,
|
@@ -12934,122 +12948,122 @@ function an() {
|
|
12934
12948
|
left: 0
|
12935
12949
|
};
|
12936
12950
|
}
|
12937
|
-
function
|
12938
|
-
return Object.assign({},
|
12951
|
+
function sn(e) {
|
12952
|
+
return Object.assign({}, tn(), e);
|
12939
12953
|
}
|
12940
|
-
function
|
12954
|
+
function on(e, f) {
|
12941
12955
|
return f.reduce(function(n, a) {
|
12942
12956
|
return n[a] = e, n;
|
12943
12957
|
}, {});
|
12944
12958
|
}
|
12945
|
-
var
|
12959
|
+
var RA = function(f, n) {
|
12946
12960
|
return f = typeof f == "function" ? f(Object.assign({}, n.rects, {
|
12947
12961
|
placement: n.placement
|
12948
|
-
})) : f,
|
12962
|
+
})) : f, sn(typeof f != "number" ? f : on(f, ze));
|
12949
12963
|
};
|
12950
|
-
function
|
12951
|
-
var f, n = e.state, a = e.name, A = e.options, t = n.elements.arrow, s = n.modifiersData.popperOffsets,
|
12964
|
+
function qA(e) {
|
12965
|
+
var f, n = e.state, a = e.name, A = e.options, t = n.elements.arrow, s = n.modifiersData.popperOffsets, o = ee(n.placement), r = hf(o), l = [F, Z].indexOf(o) >= 0, g = l ? "height" : "width";
|
12952
12966
|
if (!(!t || !s)) {
|
12953
|
-
var
|
12954
|
-
n.modifiersData[a] = (f = {}, f[z] =
|
12967
|
+
var d = RA(A.padding, n), p = Mf(t), h = r === "y" ? q : F, M = r === "y" ? K : Z, y = n.rects.reference[g] + n.rects.reference[r] - s[r] - n.rects.popper[g], m = s[r] - n.rects.reference[r], I = Oe(t), w = I ? r === "y" ? I.clientHeight || 0 : I.clientWidth || 0 : 0, k = y / 2 - m / 2, D = d[h], x = w - p[g] - d[M], j = w / 2 - p[g] / 2 + k, V = Ve(D, j, x), z = r;
|
12968
|
+
n.modifiersData[a] = (f = {}, f[z] = V, f.centerOffset = V - j, f);
|
12955
12969
|
}
|
12956
12970
|
}
|
12957
|
-
function
|
12971
|
+
function FA(e) {
|
12958
12972
|
var f = e.state, n = e.options, a = n.element, A = a === void 0 ? "[data-popper-arrow]" : a;
|
12959
|
-
A != null && (typeof A == "string" && (A = f.elements.popper.querySelector(A), !A) ||
|
12973
|
+
A != null && (typeof A == "string" && (A = f.elements.popper.querySelector(A), !A) || An(f.elements.popper, A) && (f.elements.arrow = A));
|
12960
12974
|
}
|
12961
|
-
var
|
12975
|
+
var JA = {
|
12962
12976
|
name: "arrow",
|
12963
12977
|
enabled: !0,
|
12964
12978
|
phase: "main",
|
12965
|
-
fn:
|
12966
|
-
effect:
|
12979
|
+
fn: qA,
|
12980
|
+
effect: FA,
|
12967
12981
|
requires: ["popperOffsets"],
|
12968
12982
|
requiresIfExists: ["preventOverflow"]
|
12969
12983
|
};
|
12970
|
-
function
|
12984
|
+
function _e(e) {
|
12971
12985
|
return e.split("-")[1];
|
12972
12986
|
}
|
12973
|
-
var
|
12987
|
+
var WA = {
|
12974
12988
|
top: "auto",
|
12975
12989
|
right: "auto",
|
12976
12990
|
bottom: "auto",
|
12977
12991
|
left: "auto"
|
12978
12992
|
};
|
12979
|
-
function
|
12993
|
+
function $A(e) {
|
12980
12994
|
var f = e.x, n = e.y, a = window, A = a.devicePixelRatio || 1;
|
12981
12995
|
return {
|
12982
|
-
x:
|
12983
|
-
y:
|
12996
|
+
x: ve(f * A) / A || 0,
|
12997
|
+
y: ve(n * A) / A || 0
|
12984
12998
|
};
|
12985
12999
|
}
|
12986
|
-
function
|
12987
|
-
var f, n = e.popper, a = e.popperRect, A = e.placement, t = e.variation, s = e.offsets,
|
13000
|
+
function Bf(e) {
|
13001
|
+
var f, n = e.popper, a = e.popperRect, A = e.placement, t = e.variation, s = e.offsets, o = e.position, r = e.gpuAcceleration, l = e.adaptive, g = e.roundOffsets, d = e.isFixed, p = g === !0 ? $A(s) : typeof g == "function" ? g(s) : s, h = p.x, M = h === void 0 ? 0 : h, y = p.y, m = y === void 0 ? 0 : y, I = s.hasOwnProperty("x"), w = s.hasOwnProperty("y"), k = F, D = q, x = window;
|
12988
13002
|
if (l) {
|
12989
|
-
var
|
12990
|
-
if (
|
12991
|
-
|
12992
|
-
var L =
|
12993
|
-
|
13003
|
+
var j = Oe(n), V = "clientHeight", z = "clientWidth";
|
13004
|
+
if (j === X(n) && (j = se(n), ne(j).position !== "static" && o === "absolute" && (V = "scrollHeight", z = "scrollWidth")), j = j, A === q || (A === F || A === Z) && t === xe) {
|
13005
|
+
D = K;
|
13006
|
+
var L = d && x.visualViewport ? x.visualViewport.height : j[V];
|
13007
|
+
m -= L - a.height, m *= r ? 1 : -1;
|
12994
13008
|
}
|
12995
|
-
if (A === F || (A === q || A ===
|
12996
|
-
|
12997
|
-
var
|
12998
|
-
|
13009
|
+
if (A === F || (A === q || A === K) && t === xe) {
|
13010
|
+
k = Z;
|
13011
|
+
var C = d && x.visualViewport ? x.visualViewport.width : j[z];
|
13012
|
+
M -= C - a.width, M *= r ? 1 : -1;
|
12999
13013
|
}
|
13000
13014
|
}
|
13001
|
-
var
|
13002
|
-
position:
|
13003
|
-
}, l &&
|
13004
|
-
if (
|
13015
|
+
var U = Object.assign({
|
13016
|
+
position: o
|
13017
|
+
}, l && WA);
|
13018
|
+
if (r) {
|
13005
13019
|
var Y;
|
13006
|
-
return Object.assign({},
|
13020
|
+
return Object.assign({}, U, (Y = {}, Y[D] = w ? "0" : "", Y[k] = I ? "0" : "", Y.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + M + "px, " + m + "px)" : "translate3d(" + M + "px, " + m + "px, 0)", Y));
|
13007
13021
|
}
|
13008
|
-
return Object.assign({},
|
13022
|
+
return Object.assign({}, U, (f = {}, f[D] = w ? m + "px" : "", f[k] = I ? M + "px" : "", f.transform = "", f));
|
13009
13023
|
}
|
13010
|
-
function
|
13011
|
-
var f = e.state, n = e.options, a = n.gpuAcceleration, A = a === void 0 ? !0 : a, t = n.adaptive, s = t === void 0 ? !0 : t,
|
13024
|
+
function HA(e) {
|
13025
|
+
var f = e.state, n = e.options, a = n.gpuAcceleration, A = a === void 0 ? !0 : a, t = n.adaptive, s = t === void 0 ? !0 : t, o = n.roundOffsets, r = o === void 0 ? !0 : o, l = {
|
13012
13026
|
placement: ee(f.placement),
|
13013
|
-
variation:
|
13027
|
+
variation: _e(f.placement),
|
13014
13028
|
popper: f.elements.popper,
|
13015
13029
|
popperRect: f.rects.popper,
|
13016
13030
|
gpuAcceleration: A,
|
13017
13031
|
isFixed: f.options.strategy === "fixed"
|
13018
13032
|
};
|
13019
|
-
f.modifiersData.popperOffsets != null && (f.styles.popper = Object.assign({}, f.styles.popper,
|
13033
|
+
f.modifiersData.popperOffsets != null && (f.styles.popper = Object.assign({}, f.styles.popper, Bf(Object.assign({}, l, {
|
13020
13034
|
offsets: f.modifiersData.popperOffsets,
|
13021
13035
|
position: f.options.strategy,
|
13022
13036
|
adaptive: s,
|
13023
|
-
roundOffsets:
|
13024
|
-
})))), f.modifiersData.arrow != null && (f.styles.arrow = Object.assign({}, f.styles.arrow,
|
13037
|
+
roundOffsets: r
|
13038
|
+
})))), f.modifiersData.arrow != null && (f.styles.arrow = Object.assign({}, f.styles.arrow, Bf(Object.assign({}, l, {
|
13025
13039
|
offsets: f.modifiersData.arrow,
|
13026
13040
|
position: "absolute",
|
13027
13041
|
adaptive: !1,
|
13028
|
-
roundOffsets:
|
13042
|
+
roundOffsets: r
|
13029
13043
|
})))), f.attributes.popper = Object.assign({}, f.attributes.popper, {
|
13030
13044
|
"data-popper-placement": f.placement
|
13031
13045
|
});
|
13032
13046
|
}
|
13033
|
-
var
|
13047
|
+
var PA = {
|
13034
13048
|
name: "computeStyles",
|
13035
13049
|
enabled: !0,
|
13036
13050
|
phase: "beforeWrite",
|
13037
|
-
fn:
|
13051
|
+
fn: HA,
|
13038
13052
|
data: {}
|
13039
13053
|
}, qe = {
|
13040
13054
|
passive: !0
|
13041
13055
|
};
|
13042
13056
|
function KA(e) {
|
13043
|
-
var f = e.state, n = e.instance, a = e.options, A = a.scroll, t = A === void 0 ? !0 : A, s = a.resize,
|
13057
|
+
var f = e.state, n = e.instance, a = e.options, A = a.scroll, t = A === void 0 ? !0 : A, s = a.resize, o = s === void 0 ? !0 : s, r = X(f.elements.popper), l = [].concat(f.scrollParents.reference, f.scrollParents.popper);
|
13044
13058
|
return t && l.forEach(function(g) {
|
13045
13059
|
g.addEventListener("scroll", n.update, qe);
|
13046
|
-
}),
|
13060
|
+
}), o && r.addEventListener("resize", n.update, qe), function() {
|
13047
13061
|
t && l.forEach(function(g) {
|
13048
13062
|
g.removeEventListener("scroll", n.update, qe);
|
13049
|
-
}),
|
13063
|
+
}), o && r.removeEventListener("resize", n.update, qe);
|
13050
13064
|
};
|
13051
13065
|
}
|
13052
|
-
var
|
13066
|
+
var ZA = {
|
13053
13067
|
name: "eventListeners",
|
13054
13068
|
enabled: !0,
|
13055
13069
|
phase: "write",
|
@@ -13057,7 +13071,7 @@ var PA = {
|
|
13057
13071
|
},
|
13058
13072
|
effect: KA,
|
13059
13073
|
data: {}
|
13060
|
-
},
|
13074
|
+
}, GA = {
|
13061
13075
|
left: "right",
|
13062
13076
|
right: "left",
|
13063
13077
|
bottom: "top",
|
@@ -13065,16 +13079,16 @@ var PA = {
|
|
13065
13079
|
};
|
13066
13080
|
function Je(e) {
|
13067
13081
|
return e.replace(/left|right|bottom|top/g, function(f) {
|
13068
|
-
return
|
13082
|
+
return GA[f];
|
13069
13083
|
});
|
13070
13084
|
}
|
13071
|
-
var
|
13085
|
+
var XA = {
|
13072
13086
|
start: "end",
|
13073
13087
|
end: "start"
|
13074
13088
|
};
|
13075
|
-
function
|
13089
|
+
function Yf(e) {
|
13076
13090
|
return e.replace(/start|end/g, function(f) {
|
13077
|
-
return
|
13091
|
+
return XA[f];
|
13078
13092
|
});
|
13079
13093
|
}
|
13080
13094
|
function bf(e) {
|
@@ -13085,38 +13099,38 @@ function bf(e) {
|
|
13085
13099
|
};
|
13086
13100
|
}
|
13087
13101
|
function yf(e) {
|
13088
|
-
return
|
13102
|
+
return Ie(se(e)).left + bf(e).scrollLeft;
|
13089
13103
|
}
|
13090
|
-
function
|
13091
|
-
var f = X(e), n = se(e), a = f.visualViewport, A = n.clientWidth, t = n.clientHeight, s = 0,
|
13092
|
-
return a && (A = a.width, t = a.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (s = a.offsetLeft,
|
13104
|
+
function et(e) {
|
13105
|
+
var f = X(e), n = se(e), a = f.visualViewport, A = n.clientWidth, t = n.clientHeight, s = 0, o = 0;
|
13106
|
+
return a && (A = a.width, t = a.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (s = a.offsetLeft, o = a.offsetTop)), {
|
13093
13107
|
width: A,
|
13094
13108
|
height: t,
|
13095
13109
|
x: s + yf(e),
|
13096
|
-
y:
|
13110
|
+
y: o
|
13097
13111
|
};
|
13098
13112
|
}
|
13099
|
-
function
|
13100
|
-
var f, n = se(e), a = bf(e), A = (f = e.ownerDocument) == null ? void 0 : f.body, t = ce(n.scrollWidth, n.clientWidth, A ? A.scrollWidth : 0, A ? A.clientWidth : 0), s = ce(n.scrollHeight, n.clientHeight, A ? A.scrollHeight : 0, A ? A.clientHeight : 0),
|
13101
|
-
return ne(A || n).direction === "rtl" && (
|
13113
|
+
function ft(e) {
|
13114
|
+
var f, n = se(e), a = bf(e), A = (f = e.ownerDocument) == null ? void 0 : f.body, t = ce(n.scrollWidth, n.clientWidth, A ? A.scrollWidth : 0, A ? A.clientWidth : 0), s = ce(n.scrollHeight, n.clientHeight, A ? A.scrollHeight : 0, A ? A.clientHeight : 0), o = -a.scrollLeft + yf(e), r = -a.scrollTop;
|
13115
|
+
return ne(A || n).direction === "rtl" && (o += ce(n.clientWidth, A ? A.clientWidth : 0) - t), {
|
13102
13116
|
width: t,
|
13103
13117
|
height: s,
|
13104
|
-
x:
|
13105
|
-
y:
|
13118
|
+
x: o,
|
13119
|
+
y: r
|
13106
13120
|
};
|
13107
13121
|
}
|
13108
13122
|
function vf(e) {
|
13109
13123
|
var f = ne(e), n = f.overflow, a = f.overflowX, A = f.overflowY;
|
13110
13124
|
return /auto|scroll|overlay|hidden/.test(n + A + a);
|
13111
13125
|
}
|
13112
|
-
function
|
13113
|
-
return ["html", "body", "#document"].indexOf(fe(e)) >= 0 ? e.ownerDocument.body : P(e) && vf(e) ? e :
|
13126
|
+
function un(e) {
|
13127
|
+
return ["html", "body", "#document"].indexOf(fe(e)) >= 0 ? e.ownerDocument.body : P(e) && vf(e) ? e : un(Ge(e));
|
13114
13128
|
}
|
13115
13129
|
function Ee(e, f) {
|
13116
13130
|
var n;
|
13117
13131
|
f === void 0 && (f = []);
|
13118
|
-
var a =
|
13119
|
-
return A ?
|
13132
|
+
var a = un(e), A = a === ((n = e.ownerDocument) == null ? void 0 : n.body), t = X(a), s = A ? [t].concat(t.visualViewport || [], vf(a) ? a : []) : a, o = f.concat(s);
|
13133
|
+
return A ? o : o.concat(Ee(Ge(s)));
|
13120
13134
|
}
|
13121
13135
|
function lf(e) {
|
13122
13136
|
return Object.assign({}, e, {
|
@@ -13126,55 +13140,55 @@ function lf(e) {
|
|
13126
13140
|
bottom: e.y + e.height
|
13127
13141
|
});
|
13128
13142
|
}
|
13129
|
-
function
|
13130
|
-
var f =
|
13143
|
+
function nt(e) {
|
13144
|
+
var f = Ie(e);
|
13131
13145
|
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;
|
13132
13146
|
}
|
13133
|
-
function
|
13134
|
-
return f ===
|
13147
|
+
function Rf(e, f) {
|
13148
|
+
return f === fn ? lf(et(e)) : ye(f) ? nt(f) : lf(ft(se(e)));
|
13135
13149
|
}
|
13136
|
-
function
|
13150
|
+
function at(e) {
|
13137
13151
|
var f = Ee(Ge(e)), n = ["absolute", "fixed"].indexOf(ne(e).position) >= 0, a = n && P(e) ? Oe(e) : e;
|
13138
|
-
return
|
13139
|
-
return
|
13152
|
+
return ye(a) ? f.filter(function(A) {
|
13153
|
+
return ye(A) && An(A, a) && fe(A) !== "body" && (n ? ne(A).position !== "static" : !0);
|
13140
13154
|
}) : [];
|
13141
13155
|
}
|
13142
|
-
function
|
13143
|
-
var a = f === "clippingParents" ?
|
13144
|
-
var l =
|
13145
|
-
return
|
13146
|
-
},
|
13156
|
+
function At(e, f, n) {
|
13157
|
+
var a = f === "clippingParents" ? at(e) : [].concat(f), A = [].concat(a, [n]), t = A[0], s = A.reduce(function(o, r) {
|
13158
|
+
var l = Rf(e, r);
|
13159
|
+
return o.top = ce(l.top, o.top), o.right = He(l.right, o.right), o.bottom = He(l.bottom, o.bottom), o.left = ce(l.left, o.left), o;
|
13160
|
+
}, Rf(e, t));
|
13147
13161
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
13148
13162
|
}
|
13149
|
-
function
|
13150
|
-
var f = e.reference, n = e.element, a = e.placement, A = a ? ee(a) : null, t = a ?
|
13163
|
+
function rn(e) {
|
13164
|
+
var f = e.reference, n = e.element, a = e.placement, A = a ? ee(a) : null, t = a ? _e(a) : null, s = f.x + f.width / 2 - n.width / 2, o = f.y + f.height / 2 - n.height / 2, r;
|
13151
13165
|
switch (A) {
|
13152
13166
|
case q:
|
13153
|
-
|
13167
|
+
r = {
|
13154
13168
|
x: s,
|
13155
13169
|
y: f.y - n.height
|
13156
13170
|
};
|
13157
13171
|
break;
|
13158
|
-
case
|
13159
|
-
|
13172
|
+
case K:
|
13173
|
+
r = {
|
13160
13174
|
x: s,
|
13161
13175
|
y: f.y + f.height
|
13162
13176
|
};
|
13163
13177
|
break;
|
13164
13178
|
case Z:
|
13165
|
-
|
13179
|
+
r = {
|
13166
13180
|
x: f.x + f.width,
|
13167
|
-
y:
|
13181
|
+
y: o
|
13168
13182
|
};
|
13169
13183
|
break;
|
13170
13184
|
case F:
|
13171
|
-
|
13185
|
+
r = {
|
13172
13186
|
x: f.x - n.width,
|
13173
|
-
y:
|
13187
|
+
y: o
|
13174
13188
|
};
|
13175
13189
|
break;
|
13176
13190
|
default:
|
13177
|
-
|
13191
|
+
r = {
|
13178
13192
|
x: f.x,
|
13179
13193
|
y: f.y
|
13180
13194
|
};
|
@@ -13183,98 +13197,98 @@ function on(e) {
|
|
13183
13197
|
if (l != null) {
|
13184
13198
|
var g = l === "y" ? "height" : "width";
|
13185
13199
|
switch (t) {
|
13186
|
-
case
|
13187
|
-
|
13200
|
+
case be:
|
13201
|
+
r[l] = r[l] - (f[g] / 2 - n[g] / 2);
|
13188
13202
|
break;
|
13189
13203
|
case xe:
|
13190
|
-
|
13204
|
+
r[l] = r[l] + (f[g] / 2 - n[g] / 2);
|
13191
13205
|
break;
|
13192
13206
|
}
|
13193
13207
|
}
|
13194
|
-
return
|
13208
|
+
return r;
|
13195
13209
|
}
|
13196
13210
|
function Se(e, f) {
|
13197
13211
|
f === void 0 && (f = {});
|
13198
|
-
var n = f, a = n.placement, A = a === void 0 ? e.placement : a, t = n.boundary, s = t === void 0 ?
|
13199
|
-
reference:
|
13200
|
-
element:
|
13212
|
+
var n = f, a = n.placement, A = a === void 0 ? e.placement : a, t = n.boundary, s = t === void 0 ? wA : t, o = n.rootBoundary, r = o === void 0 ? fn : o, l = n.elementContext, g = l === void 0 ? je : l, d = n.altBoundary, p = d === void 0 ? !1 : d, h = n.padding, M = h === void 0 ? 0 : h, y = sn(typeof M != "number" ? M : on(M, ze)), m = g === je ? DA : je, I = e.rects.popper, w = e.elements[p ? m : g], k = At(ye(w) ? w : w.contextElement || se(e.elements.popper), s, r), D = Ie(e.elements.reference), x = rn({
|
13213
|
+
reference: D,
|
13214
|
+
element: I,
|
13201
13215
|
strategy: "absolute",
|
13202
13216
|
placement: A
|
13203
|
-
}),
|
13204
|
-
top:
|
13205
|
-
bottom:
|
13206
|
-
left:
|
13207
|
-
right:
|
13217
|
+
}), j = lf(Object.assign({}, I, x)), V = g === je ? j : D, z = {
|
13218
|
+
top: k.top - V.top + y.top,
|
13219
|
+
bottom: V.bottom - k.bottom + y.bottom,
|
13220
|
+
left: k.left - V.left + y.left,
|
13221
|
+
right: V.right - k.right + y.right
|
13208
13222
|
}, L = e.modifiersData.offset;
|
13209
13223
|
if (g === je && L) {
|
13210
|
-
var
|
13211
|
-
Object.keys(z).forEach(function(
|
13212
|
-
var Y = [Z,
|
13213
|
-
z[
|
13224
|
+
var C = L[A];
|
13225
|
+
Object.keys(z).forEach(function(U) {
|
13226
|
+
var Y = [Z, K].indexOf(U) >= 0 ? 1 : -1, ie = [q, K].indexOf(U) >= 0 ? "y" : "x";
|
13227
|
+
z[U] += C[ie] * Y;
|
13214
13228
|
});
|
13215
13229
|
}
|
13216
13230
|
return z;
|
13217
13231
|
}
|
13218
|
-
function
|
13232
|
+
function tt(e, f) {
|
13219
13233
|
f === void 0 && (f = {});
|
13220
|
-
var n = f, a = n.placement, A = n.boundary, t = n.rootBoundary, s = n.padding,
|
13221
|
-
return
|
13222
|
-
}) : ze,
|
13223
|
-
return l.indexOf(
|
13234
|
+
var n = f, a = n.placement, A = n.boundary, t = n.rootBoundary, s = n.padding, o = n.flipVariations, r = n.allowedAutoPlacements, l = r === void 0 ? nn : r, g = _e(a), d = g ? o ? Lf : Lf.filter(function(M) {
|
13235
|
+
return _e(M) === g;
|
13236
|
+
}) : ze, p = d.filter(function(M) {
|
13237
|
+
return l.indexOf(M) >= 0;
|
13224
13238
|
});
|
13225
|
-
|
13226
|
-
var
|
13227
|
-
return
|
13239
|
+
p.length === 0 && (p = d);
|
13240
|
+
var h = p.reduce(function(M, y) {
|
13241
|
+
return M[y] = Se(e, {
|
13228
13242
|
placement: y,
|
13229
13243
|
boundary: A,
|
13230
13244
|
rootBoundary: t,
|
13231
13245
|
padding: s
|
13232
|
-
})[ee(y)],
|
13246
|
+
})[ee(y)], M;
|
13233
13247
|
}, {});
|
13234
|
-
return Object.keys(
|
13235
|
-
return M
|
13248
|
+
return Object.keys(h).sort(function(M, y) {
|
13249
|
+
return h[M] - h[y];
|
13236
13250
|
});
|
13237
13251
|
}
|
13238
|
-
function
|
13252
|
+
function st(e) {
|
13239
13253
|
if (ee(e) === pf)
|
13240
13254
|
return [];
|
13241
13255
|
var f = Je(e);
|
13242
|
-
return [
|
13256
|
+
return [Yf(e), f, Yf(f)];
|
13243
13257
|
}
|
13244
|
-
function
|
13258
|
+
function it(e) {
|
13245
13259
|
var f = e.state, n = e.options, a = e.name;
|
13246
13260
|
if (!f.modifiersData[a]._skip) {
|
13247
|
-
for (var A = n.mainAxis, t = A === void 0 ? !0 : A, s = n.altAxis,
|
13248
|
-
return
|
13261
|
+
for (var A = n.mainAxis, t = A === void 0 ? !0 : A, s = n.altAxis, o = s === void 0 ? !0 : s, r = n.fallbackPlacements, l = n.padding, g = n.boundary, d = n.rootBoundary, p = n.altBoundary, h = n.flipVariations, M = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, m = f.options.placement, I = ee(m), w = I === m, k = r || (w || !M ? [Je(m)] : st(m)), D = [m].concat(k).reduce(function(pe, Ae) {
|
13262
|
+
return pe.concat(ee(Ae) === pf ? tt(f, {
|
13249
13263
|
placement: Ae,
|
13250
13264
|
boundary: g,
|
13251
|
-
rootBoundary:
|
13265
|
+
rootBoundary: d,
|
13252
13266
|
padding: l,
|
13253
|
-
flipVariations:
|
13267
|
+
flipVariations: M,
|
13254
13268
|
allowedAutoPlacements: y
|
13255
13269
|
}) : Ae);
|
13256
|
-
}, []),
|
13257
|
-
var
|
13258
|
-
placement:
|
13270
|
+
}, []), x = f.rects.reference, j = f.rects.popper, V = /* @__PURE__ */ new Map(), z = !0, L = D[0], C = 0; C < D.length; C++) {
|
13271
|
+
var U = D[C], Y = ee(U), ie = _e(U) === be, we = [q, K].indexOf(Y) >= 0, De = we ? "width" : "height", J = Se(f, {
|
13272
|
+
placement: U,
|
13259
13273
|
boundary: g,
|
13260
|
-
rootBoundary:
|
13261
|
-
altBoundary:
|
13274
|
+
rootBoundary: d,
|
13275
|
+
altBoundary: p,
|
13262
13276
|
padding: l
|
13263
|
-
}), G = we ? ie ? Z : F : ie ?
|
13264
|
-
|
13277
|
+
}), G = we ? ie ? Z : F : ie ? K : q;
|
13278
|
+
x[De] > j[De] && (G = Je(G));
|
13265
13279
|
var Ue = Je(G), oe = [];
|
13266
|
-
if (t && oe.push(J[Y] <= 0),
|
13267
|
-
return
|
13280
|
+
if (t && oe.push(J[Y] <= 0), o && oe.push(J[G] <= 0, J[Ue] <= 0), oe.every(function(pe) {
|
13281
|
+
return pe;
|
13268
13282
|
})) {
|
13269
|
-
L =
|
13283
|
+
L = U, z = !1;
|
13270
13284
|
break;
|
13271
13285
|
}
|
13272
|
-
|
13286
|
+
V.set(U, oe);
|
13273
13287
|
}
|
13274
13288
|
if (z)
|
13275
|
-
for (var Le =
|
13276
|
-
var ke =
|
13277
|
-
var ue =
|
13289
|
+
for (var Le = M ? 3 : 1, Xe = function(Ae) {
|
13290
|
+
var ke = D.find(function(Be) {
|
13291
|
+
var ue = V.get(Be);
|
13278
13292
|
if (ue)
|
13279
13293
|
return ue.slice(0, Ae).every(function(ef) {
|
13280
13294
|
return ef;
|
@@ -13290,17 +13304,17 @@ function tt(e) {
|
|
13290
13304
|
f.placement !== L && (f.modifiersData[a]._skip = !0, f.placement = L, f.reset = !0);
|
13291
13305
|
}
|
13292
13306
|
}
|
13293
|
-
var
|
13307
|
+
var ot = {
|
13294
13308
|
name: "flip",
|
13295
13309
|
enabled: !0,
|
13296
13310
|
phase: "main",
|
13297
|
-
fn:
|
13311
|
+
fn: it,
|
13298
13312
|
requiresIfExists: ["offset"],
|
13299
13313
|
data: {
|
13300
13314
|
_skip: !1
|
13301
13315
|
}
|
13302
13316
|
};
|
13303
|
-
function
|
13317
|
+
function qf(e, f, n) {
|
13304
13318
|
return n === void 0 && (n = {
|
13305
13319
|
x: 0,
|
13306
13320
|
y: 0
|
@@ -13311,148 +13325,148 @@ function Rf(e, f, n) {
|
|
13311
13325
|
left: e.left - f.width - n.x
|
13312
13326
|
};
|
13313
13327
|
}
|
13314
|
-
function
|
13315
|
-
return [q, Z,
|
13328
|
+
function Ff(e) {
|
13329
|
+
return [q, Z, K, F].some(function(f) {
|
13316
13330
|
return e[f] >= 0;
|
13317
13331
|
});
|
13318
13332
|
}
|
13319
|
-
function
|
13333
|
+
function ut(e) {
|
13320
13334
|
var f = e.state, n = e.name, a = f.rects.reference, A = f.rects.popper, t = f.modifiersData.preventOverflow, s = Se(f, {
|
13321
13335
|
elementContext: "reference"
|
13322
|
-
}),
|
13336
|
+
}), o = Se(f, {
|
13323
13337
|
altBoundary: !0
|
13324
|
-
}),
|
13338
|
+
}), r = qf(s, a), l = qf(o, A, t), g = Ff(r), d = Ff(l);
|
13325
13339
|
f.modifiersData[n] = {
|
13326
|
-
referenceClippingOffsets:
|
13340
|
+
referenceClippingOffsets: r,
|
13327
13341
|
popperEscapeOffsets: l,
|
13328
13342
|
isReferenceHidden: g,
|
13329
|
-
hasPopperEscaped:
|
13343
|
+
hasPopperEscaped: d
|
13330
13344
|
}, f.attributes.popper = Object.assign({}, f.attributes.popper, {
|
13331
13345
|
"data-popper-reference-hidden": g,
|
13332
|
-
"data-popper-escaped":
|
13346
|
+
"data-popper-escaped": d
|
13333
13347
|
});
|
13334
13348
|
}
|
13335
|
-
var
|
13349
|
+
var rt = {
|
13336
13350
|
name: "hide",
|
13337
13351
|
enabled: !0,
|
13338
13352
|
phase: "main",
|
13339
13353
|
requiresIfExists: ["preventOverflow"],
|
13340
|
-
fn:
|
13354
|
+
fn: ut
|
13341
13355
|
};
|
13342
|
-
function
|
13356
|
+
function lt(e, f, n) {
|
13343
13357
|
var a = ee(e), A = [F, q].indexOf(a) >= 0 ? -1 : 1, t = typeof n == "function" ? n(Object.assign({}, f, {
|
13344
13358
|
placement: e
|
13345
|
-
})) : n, s = t[0],
|
13346
|
-
return s = s || 0,
|
13347
|
-
x:
|
13359
|
+
})) : n, s = t[0], o = t[1];
|
13360
|
+
return s = s || 0, o = (o || 0) * A, [F, Z].indexOf(a) >= 0 ? {
|
13361
|
+
x: o,
|
13348
13362
|
y: s
|
13349
13363
|
} : {
|
13350
13364
|
x: s,
|
13351
|
-
y:
|
13365
|
+
y: o
|
13352
13366
|
};
|
13353
13367
|
}
|
13354
|
-
function
|
13355
|
-
var f = e.state, n = e.options, a = e.name, A = n.offset, t = A === void 0 ? [0, 0] : A, s =
|
13356
|
-
return g[
|
13357
|
-
}, {}),
|
13358
|
-
f.modifiersData.popperOffsets != null && (f.modifiersData.popperOffsets.x +=
|
13368
|
+
function ct(e) {
|
13369
|
+
var f = e.state, n = e.options, a = e.name, A = n.offset, t = A === void 0 ? [0, 0] : A, s = nn.reduce(function(g, d) {
|
13370
|
+
return g[d] = lt(d, f.rects, t), g;
|
13371
|
+
}, {}), o = s[f.placement], r = o.x, l = o.y;
|
13372
|
+
f.modifiersData.popperOffsets != null && (f.modifiersData.popperOffsets.x += r, f.modifiersData.popperOffsets.y += l), f.modifiersData[a] = s;
|
13359
13373
|
}
|
13360
|
-
var
|
13374
|
+
var dt = {
|
13361
13375
|
name: "offset",
|
13362
13376
|
enabled: !0,
|
13363
13377
|
phase: "main",
|
13364
13378
|
requires: ["popperOffsets"],
|
13365
|
-
fn:
|
13379
|
+
fn: ct
|
13366
13380
|
};
|
13367
|
-
function
|
13381
|
+
function gt(e) {
|
13368
13382
|
var f = e.state, n = e.name;
|
13369
|
-
f.modifiersData[n] =
|
13383
|
+
f.modifiersData[n] = rn({
|
13370
13384
|
reference: f.rects.reference,
|
13371
13385
|
element: f.rects.popper,
|
13372
13386
|
strategy: "absolute",
|
13373
13387
|
placement: f.placement
|
13374
13388
|
});
|
13375
13389
|
}
|
13376
|
-
var
|
13390
|
+
var mt = {
|
13377
13391
|
name: "popperOffsets",
|
13378
13392
|
enabled: !0,
|
13379
13393
|
phase: "read",
|
13380
|
-
fn:
|
13394
|
+
fn: gt,
|
13381
13395
|
data: {}
|
13382
13396
|
};
|
13383
|
-
function
|
13397
|
+
function pt(e) {
|
13384
13398
|
return e === "x" ? "y" : "x";
|
13385
13399
|
}
|
13386
|
-
function
|
13387
|
-
var f = e.state, n = e.options, a = e.name, A = n.mainAxis, t = A === void 0 ? !0 : A, s = n.altAxis,
|
13388
|
-
boundary:
|
13400
|
+
function Mt(e) {
|
13401
|
+
var f = e.state, n = e.options, a = e.name, A = n.mainAxis, t = A === void 0 ? !0 : A, s = n.altAxis, o = s === void 0 ? !1 : s, r = n.boundary, l = n.rootBoundary, g = n.altBoundary, d = n.padding, p = n.tether, h = p === void 0 ? !0 : p, M = n.tetherOffset, y = M === void 0 ? 0 : M, m = Se(f, {
|
13402
|
+
boundary: r,
|
13389
13403
|
rootBoundary: l,
|
13390
|
-
padding:
|
13404
|
+
padding: d,
|
13391
13405
|
altBoundary: g
|
13392
|
-
}),
|
13406
|
+
}), I = ee(f.placement), w = _e(f.placement), k = !w, D = hf(I), x = pt(D), j = f.modifiersData.popperOffsets, V = f.rects.reference, z = f.rects.popper, L = typeof y == "function" ? y(Object.assign({}, f.rects, {
|
13393
13407
|
placement: f.placement
|
13394
|
-
})) : y,
|
13408
|
+
})) : y, C = typeof L == "number" ? {
|
13395
13409
|
mainAxis: L,
|
13396
13410
|
altAxis: L
|
13397
13411
|
} : Object.assign({
|
13398
13412
|
mainAxis: 0,
|
13399
13413
|
altAxis: 0
|
13400
|
-
}, L),
|
13414
|
+
}, L), U = f.modifiersData.offset ? f.modifiersData.offset[f.placement] : null, Y = {
|
13401
13415
|
x: 0,
|
13402
13416
|
y: 0
|
13403
13417
|
};
|
13404
|
-
if (
|
13418
|
+
if (j) {
|
13405
13419
|
if (t) {
|
13406
|
-
var ie, we =
|
13420
|
+
var ie, we = D === "y" ? q : F, De = D === "y" ? K : Z, J = D === "y" ? "height" : "width", G = j[D], Ue = G + m[we], oe = G - m[De], Le = h ? -z[J] / 2 : 0, Xe = w === be ? V[J] : z[J], Ne = w === be ? -z[J] : -V[J], Qe = f.elements.arrow, pe = h && Qe ? Mf(Qe) : {
|
13407
13421
|
width: 0,
|
13408
13422
|
height: 0
|
13409
|
-
}, Ae = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding :
|
13410
|
-
|
13423
|
+
}, Ae = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : tn(), ke = Ae[we], Be = Ae[De], ue = Ve(0, V[J], pe[J]), ef = k ? V[J] / 2 - Le - ue - ke - C.mainAxis : Xe - ue - ke - C.mainAxis, gn = k ? -V[J] / 2 + Le + ue + Be + C.mainAxis : Ne + ue + Be + C.mainAxis, ff = f.elements.arrow && Oe(f.elements.arrow), mn = ff ? D === "y" ? ff.clientTop || 0 : ff.clientLeft || 0 : 0, _f = (ie = U == null ? void 0 : U[D]) != null ? ie : 0, pn = G + ef - _f - mn, Mn = G + gn - _f, wf = Ve(h ? He(Ue, pn) : Ue, G, h ? ce(oe, Mn) : oe);
|
13424
|
+
j[D] = wf, Y[D] = wf - G;
|
13411
13425
|
}
|
13412
|
-
if (
|
13413
|
-
var
|
13414
|
-
|
13426
|
+
if (o) {
|
13427
|
+
var Df, hn = D === "x" ? q : F, bn = D === "x" ? K : Z, re = j[x], Ye = x === "y" ? "height" : "width", Nf = re + m[hn], kf = re - m[bn], nf = [q, F].indexOf(I) !== -1, jf = (Df = U == null ? void 0 : U[x]) != null ? Df : 0, Vf = nf ? Nf : re - V[Ye] - z[Ye] - jf + C.altAxis, Ef = nf ? re + V[Ye] + z[Ye] - jf - C.altAxis : kf, Tf = h && nf ? YA(Vf, re, Ef) : Ve(h ? Vf : Nf, re, h ? Ef : kf);
|
13428
|
+
j[x] = Tf, Y[x] = Tf - re;
|
13415
13429
|
}
|
13416
13430
|
f.modifiersData[a] = Y;
|
13417
13431
|
}
|
13418
13432
|
}
|
13419
|
-
var
|
13433
|
+
var ht = {
|
13420
13434
|
name: "preventOverflow",
|
13421
13435
|
enabled: !0,
|
13422
13436
|
phase: "main",
|
13423
|
-
fn:
|
13437
|
+
fn: Mt,
|
13424
13438
|
requiresIfExists: ["offset"]
|
13425
13439
|
};
|
13426
|
-
function
|
13440
|
+
function bt(e) {
|
13427
13441
|
return {
|
13428
13442
|
scrollLeft: e.scrollLeft,
|
13429
13443
|
scrollTop: e.scrollTop
|
13430
13444
|
};
|
13431
13445
|
}
|
13432
|
-
function
|
13433
|
-
return e === X(e) || !P(e) ? bf(e) :
|
13446
|
+
function yt(e) {
|
13447
|
+
return e === X(e) || !P(e) ? bf(e) : bt(e);
|
13434
13448
|
}
|
13435
|
-
function
|
13436
|
-
var f = e.getBoundingClientRect(), n =
|
13449
|
+
function vt(e) {
|
13450
|
+
var f = e.getBoundingClientRect(), n = ve(f.width) / e.offsetWidth || 1, a = ve(f.height) / e.offsetHeight || 1;
|
13437
13451
|
return n !== 1 || a !== 1;
|
13438
13452
|
}
|
13439
|
-
function
|
13453
|
+
function It(e, f, n) {
|
13440
13454
|
n === void 0 && (n = !1);
|
13441
|
-
var a = P(f), A = P(f) &&
|
13455
|
+
var a = P(f), A = P(f) && vt(f), t = se(f), s = Ie(e, A), o = {
|
13442
13456
|
scrollLeft: 0,
|
13443
13457
|
scrollTop: 0
|
13444
|
-
},
|
13458
|
+
}, r = {
|
13445
13459
|
x: 0,
|
13446
13460
|
y: 0
|
13447
13461
|
};
|
13448
|
-
return (a || !a && !n) && ((fe(f) !== "body" || vf(t)) && (
|
13449
|
-
x: s.left +
|
13450
|
-
y: s.top +
|
13462
|
+
return (a || !a && !n) && ((fe(f) !== "body" || vf(t)) && (o = yt(f)), P(f) ? (r = Ie(f, !0), r.x += f.clientLeft, r.y += f.clientTop) : t && (r.x = yf(t))), {
|
13463
|
+
x: s.left + o.scrollLeft - r.x,
|
13464
|
+
y: s.top + o.scrollTop - r.y,
|
13451
13465
|
width: s.width,
|
13452
13466
|
height: s.height
|
13453
13467
|
};
|
13454
13468
|
}
|
13455
|
-
function
|
13469
|
+
function _t(e) {
|
13456
13470
|
var f = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), a = [];
|
13457
13471
|
e.forEach(function(t) {
|
13458
13472
|
f.set(t.name, t);
|
@@ -13460,10 +13474,10 @@ function vt(e) {
|
|
13460
13474
|
function A(t) {
|
13461
13475
|
n.add(t.name);
|
13462
13476
|
var s = [].concat(t.requires || [], t.requiresIfExists || []);
|
13463
|
-
s.forEach(function(
|
13464
|
-
if (!n.has(
|
13465
|
-
var
|
13466
|
-
|
13477
|
+
s.forEach(function(o) {
|
13478
|
+
if (!n.has(o)) {
|
13479
|
+
var r = f.get(o);
|
13480
|
+
r && A(r);
|
13467
13481
|
}
|
13468
13482
|
}), a.push(t);
|
13469
13483
|
}
|
@@ -13471,15 +13485,15 @@ function vt(e) {
|
|
13471
13485
|
n.has(t.name) || A(t);
|
13472
13486
|
}), a;
|
13473
13487
|
}
|
13474
|
-
function
|
13475
|
-
var f =
|
13476
|
-
return
|
13488
|
+
function wt(e) {
|
13489
|
+
var f = _t(e);
|
13490
|
+
return OA.reduce(function(n, a) {
|
13477
13491
|
return n.concat(f.filter(function(A) {
|
13478
13492
|
return A.phase === a;
|
13479
13493
|
}));
|
13480
13494
|
}, []);
|
13481
13495
|
}
|
13482
|
-
function
|
13496
|
+
function Dt(e) {
|
13483
13497
|
var f;
|
13484
13498
|
return function() {
|
13485
13499
|
return f || (f = new Promise(function(n) {
|
@@ -13489,7 +13503,7 @@ function _t(e) {
|
|
13489
13503
|
})), f;
|
13490
13504
|
};
|
13491
13505
|
}
|
13492
|
-
function
|
13506
|
+
function Nt(e) {
|
13493
13507
|
var f = e.reduce(function(n, a) {
|
13494
13508
|
var A = n[a.name];
|
13495
13509
|
return n[a.name] = A ? Object.assign({}, A, a, {
|
@@ -13501,145 +13515,145 @@ function wt(e) {
|
|
13501
13515
|
return f[n];
|
13502
13516
|
});
|
13503
13517
|
}
|
13504
|
-
var
|
13518
|
+
var Jf = {
|
13505
13519
|
placement: "bottom",
|
13506
13520
|
modifiers: [],
|
13507
13521
|
strategy: "absolute"
|
13508
13522
|
};
|
13509
|
-
function
|
13523
|
+
function Wf() {
|
13510
13524
|
for (var e = arguments.length, f = new Array(e), n = 0; n < e; n++)
|
13511
13525
|
f[n] = arguments[n];
|
13512
13526
|
return !f.some(function(a) {
|
13513
13527
|
return !(a && typeof a.getBoundingClientRect == "function");
|
13514
13528
|
});
|
13515
13529
|
}
|
13516
|
-
function
|
13530
|
+
function kt(e) {
|
13517
13531
|
e === void 0 && (e = {});
|
13518
|
-
var f = e, n = f.defaultModifiers, a = n === void 0 ? [] : n, A = f.defaultOptions, t = A === void 0 ?
|
13519
|
-
return function(
|
13532
|
+
var f = e, n = f.defaultModifiers, a = n === void 0 ? [] : n, A = f.defaultOptions, t = A === void 0 ? Jf : A;
|
13533
|
+
return function(o, r, l) {
|
13520
13534
|
l === void 0 && (l = t);
|
13521
13535
|
var g = {
|
13522
13536
|
placement: "bottom",
|
13523
13537
|
orderedModifiers: [],
|
13524
|
-
options: Object.assign({},
|
13538
|
+
options: Object.assign({}, Jf, t),
|
13525
13539
|
modifiersData: {},
|
13526
13540
|
elements: {
|
13527
|
-
reference:
|
13528
|
-
popper:
|
13541
|
+
reference: o,
|
13542
|
+
popper: r
|
13529
13543
|
},
|
13530
13544
|
attributes: {},
|
13531
13545
|
styles: {}
|
13532
|
-
},
|
13546
|
+
}, d = [], p = !1, h = {
|
13533
13547
|
state: g,
|
13534
|
-
setOptions: function(
|
13535
|
-
var
|
13536
|
-
y(), g.options = Object.assign({}, t, g.options,
|
13537
|
-
reference:
|
13538
|
-
popper: Ee(
|
13548
|
+
setOptions: function(I) {
|
13549
|
+
var w = typeof I == "function" ? I(g.options) : I;
|
13550
|
+
y(), g.options = Object.assign({}, t, g.options, w), g.scrollParents = {
|
13551
|
+
reference: ye(o) ? Ee(o) : o.contextElement ? Ee(o.contextElement) : [],
|
13552
|
+
popper: Ee(r)
|
13539
13553
|
};
|
13540
|
-
var
|
13541
|
-
return g.orderedModifiers =
|
13542
|
-
return
|
13543
|
-
}),
|
13554
|
+
var k = wt(Nt([].concat(a, g.options.modifiers)));
|
13555
|
+
return g.orderedModifiers = k.filter(function(D) {
|
13556
|
+
return D.enabled;
|
13557
|
+
}), M(), h.update();
|
13544
13558
|
},
|
13545
13559
|
forceUpdate: function() {
|
13546
|
-
if (!
|
13547
|
-
var
|
13548
|
-
if (
|
13560
|
+
if (!p) {
|
13561
|
+
var I = g.elements, w = I.reference, k = I.popper;
|
13562
|
+
if (Wf(w, k)) {
|
13549
13563
|
g.rects = {
|
13550
|
-
reference:
|
13551
|
-
popper: Mf(
|
13552
|
-
}, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(
|
13553
|
-
return g.modifiersData[
|
13564
|
+
reference: It(w, Oe(k), g.options.strategy === "fixed"),
|
13565
|
+
popper: Mf(k)
|
13566
|
+
}, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(C) {
|
13567
|
+
return g.modifiersData[C.name] = Object.assign({}, C.data);
|
13554
13568
|
});
|
13555
|
-
for (var
|
13569
|
+
for (var D = 0; D < g.orderedModifiers.length; D++) {
|
13556
13570
|
if (g.reset === !0) {
|
13557
|
-
g.reset = !1,
|
13571
|
+
g.reset = !1, D = -1;
|
13558
13572
|
continue;
|
13559
13573
|
}
|
13560
|
-
var
|
13561
|
-
typeof
|
13574
|
+
var x = g.orderedModifiers[D], j = x.fn, V = x.options, z = V === void 0 ? {} : V, L = x.name;
|
13575
|
+
typeof j == "function" && (g = j({
|
13562
13576
|
state: g,
|
13563
13577
|
options: z,
|
13564
13578
|
name: L,
|
13565
|
-
instance:
|
13579
|
+
instance: h
|
13566
13580
|
}) || g);
|
13567
13581
|
}
|
13568
13582
|
}
|
13569
13583
|
}
|
13570
13584
|
},
|
13571
|
-
update:
|
13572
|
-
return new Promise(function(
|
13573
|
-
|
13585
|
+
update: Dt(function() {
|
13586
|
+
return new Promise(function(m) {
|
13587
|
+
h.forceUpdate(), m(g);
|
13574
13588
|
});
|
13575
13589
|
}),
|
13576
13590
|
destroy: function() {
|
13577
|
-
y(),
|
13591
|
+
y(), p = !0;
|
13578
13592
|
}
|
13579
13593
|
};
|
13580
|
-
if (!
|
13581
|
-
return
|
13582
|
-
|
13583
|
-
!
|
13594
|
+
if (!Wf(o, r))
|
13595
|
+
return h;
|
13596
|
+
h.setOptions(l).then(function(m) {
|
13597
|
+
!p && l.onFirstUpdate && l.onFirstUpdate(m);
|
13584
13598
|
});
|
13585
|
-
function
|
13586
|
-
g.orderedModifiers.forEach(function(
|
13587
|
-
var
|
13588
|
-
if (typeof
|
13589
|
-
var
|
13599
|
+
function M() {
|
13600
|
+
g.orderedModifiers.forEach(function(m) {
|
13601
|
+
var I = m.name, w = m.options, k = w === void 0 ? {} : w, D = m.effect;
|
13602
|
+
if (typeof D == "function") {
|
13603
|
+
var x = D({
|
13590
13604
|
state: g,
|
13591
|
-
name:
|
13592
|
-
instance:
|
13593
|
-
options:
|
13594
|
-
}),
|
13605
|
+
name: I,
|
13606
|
+
instance: h,
|
13607
|
+
options: k
|
13608
|
+
}), j = function() {
|
13595
13609
|
};
|
13596
|
-
|
13610
|
+
d.push(x || j);
|
13597
13611
|
}
|
13598
13612
|
});
|
13599
13613
|
}
|
13600
13614
|
function y() {
|
13601
|
-
|
13602
|
-
return
|
13603
|
-
}),
|
13615
|
+
d.forEach(function(m) {
|
13616
|
+
return m();
|
13617
|
+
}), d = [];
|
13604
13618
|
}
|
13605
|
-
return
|
13619
|
+
return h;
|
13606
13620
|
};
|
13607
13621
|
}
|
13608
|
-
var
|
13609
|
-
defaultModifiers:
|
13610
|
-
}),
|
13622
|
+
var jt = [ZA, mt, PA, LA, dt, ot, ht, JA, rt], Vt = /* @__PURE__ */ kt({
|
13623
|
+
defaultModifiers: jt
|
13624
|
+
}), ln = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
|
13611
13625
|
function We(e) {
|
13612
13626
|
return e.split("-").map((f) => parseInt(f, 16)).map((f) => String.fromCodePoint(f)).join("");
|
13613
13627
|
}
|
13614
|
-
function
|
13628
|
+
function Et(e, f, n, a = []) {
|
13615
13629
|
const A = {};
|
13616
13630
|
return Object.keys(e).forEach((t) => {
|
13617
13631
|
if (a.includes(t))
|
13618
13632
|
return;
|
13619
13633
|
const s = [];
|
13620
|
-
e[t].forEach((
|
13621
|
-
var
|
13622
|
-
if (
|
13623
|
-
let l =
|
13624
|
-
if (n !==
|
13625
|
-
const g = ((
|
13626
|
-
(
|
13634
|
+
e[t].forEach((o) => {
|
13635
|
+
var r;
|
13636
|
+
if (o[Ze][0].includes(f.toLocaleLowerCase())) {
|
13637
|
+
let l = o[Gf];
|
13638
|
+
if (n !== $e && Array.isArray(o[Re])) {
|
13639
|
+
const g = ((r = o[Re]) == null ? void 0 : r.findIndex(
|
13640
|
+
(d) => d.includes(n)
|
13627
13641
|
)) || -1;
|
13628
|
-
g !== -1 &&
|
13642
|
+
g !== -1 && o[Re] && (l = o[Re][g]);
|
13629
13643
|
}
|
13630
13644
|
return s.push({
|
13631
|
-
...
|
13645
|
+
...o,
|
13632
13646
|
[Te]: l
|
13633
13647
|
});
|
13634
13648
|
}
|
13635
13649
|
}), s.length && (A[t] = s);
|
13636
13650
|
}), A;
|
13637
13651
|
}
|
13638
|
-
function
|
13652
|
+
function cn() {
|
13639
13653
|
var e;
|
13640
13654
|
return (((e = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : e.platform) || (navigator == null ? void 0 : navigator.platform) || "unknown").toUpperCase().indexOf("MAC") !== -1;
|
13641
13655
|
}
|
13642
|
-
function
|
13656
|
+
function dn(e) {
|
13643
13657
|
return e.replace(
|
13644
13658
|
/^_*(.)|_+(.)/g,
|
13645
13659
|
(f, n, a) => n ? n.toUpperCase() : " " + a.toUpperCase()
|
@@ -13651,224 +13665,224 @@ var Ce = (e, f) => {
|
|
13651
13665
|
n[a] = A;
|
13652
13666
|
return n;
|
13653
13667
|
};
|
13654
|
-
const
|
13668
|
+
const Tt = ge({
|
13655
13669
|
name: "Body",
|
13656
13670
|
emits: {
|
13657
13671
|
select: (e) => !0
|
13658
13672
|
},
|
13659
13673
|
setup() {
|
13660
|
-
const { state: e, updateEmoji: f, updateSelect: n } = Pe("store"), a = v(null), A =
|
13674
|
+
const { state: e, updateEmoji: f, updateSelect: n } = Pe("store"), a = v(null), A = E(() => Et(
|
13661
13675
|
e.emojis,
|
13662
13676
|
e.search,
|
13663
13677
|
e.skinTone,
|
13664
13678
|
e.options.disabledGroups
|
13665
|
-
)), t =
|
13666
|
-
e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((
|
13667
|
-
e.options.groupNames[
|
13679
|
+
)), t = In(), s = E(() => !e.options.hideGroupNames), o = E(() => !e.options.disableStickyGroupNames), r = $f(e.options.groupNames), l = e.orderedGroupKeys;
|
13680
|
+
e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((M) => {
|
13681
|
+
e.options.groupNames[M] ? r[M] = e.options.groupNames[M] : r[M] = dn(M);
|
13668
13682
|
});
|
13669
|
-
const g =
|
13670
|
-
function
|
13671
|
-
f(
|
13683
|
+
const g = cn() ? "is-mac" : "";
|
13684
|
+
function d(M) {
|
13685
|
+
f(M);
|
13672
13686
|
}
|
13673
|
-
function
|
13674
|
-
n(
|
13675
|
-
...
|
13687
|
+
function p(M) {
|
13688
|
+
n(M), t == null || t.emit("select", {
|
13689
|
+
...M,
|
13676
13690
|
t: e.skinTone,
|
13677
|
-
i: We(
|
13691
|
+
i: We(M.r)
|
13678
13692
|
});
|
13679
13693
|
}
|
13680
|
-
function M
|
13681
|
-
var
|
13682
|
-
const
|
13683
|
-
|
13694
|
+
function h(M, y) {
|
13695
|
+
var m;
|
13696
|
+
const I = (m = M == null ? void 0 : M.target) == null ? void 0 : m.closest("button");
|
13697
|
+
I && (I.innerHTML = `<span>${We(y)}</span>`);
|
13684
13698
|
}
|
13685
|
-
return
|
13699
|
+
return Ke(
|
13686
13700
|
() => e.activeGroup,
|
13687
13701
|
() => {
|
13688
|
-
var
|
13689
|
-
const y = (
|
13702
|
+
var M;
|
13703
|
+
const y = (M = a.value) == null ? void 0 : M.querySelector("#" + e.activeGroup);
|
13690
13704
|
y && (y.parentNode.scrollTop = y.offsetTop - y.parentNode.offsetTop);
|
13691
13705
|
}
|
13692
13706
|
), {
|
13693
13707
|
emojis: A,
|
13694
13708
|
bodyInner: a,
|
13695
13709
|
EMOJI_REMOTE_SRC: Kf,
|
13696
|
-
GROUP_NAMES:
|
13697
|
-
handleClick:
|
13698
|
-
handleError:
|
13699
|
-
handleMouseEnter:
|
13710
|
+
GROUP_NAMES: Zf,
|
13711
|
+
handleClick: p,
|
13712
|
+
handleError: h,
|
13713
|
+
handleMouseEnter: d,
|
13700
13714
|
native: e.options.native,
|
13701
13715
|
unicodeToEmoji: We,
|
13702
13716
|
EMOJI_RESULT_KEY: Te,
|
13703
13717
|
EMOJI_NAME_KEY: Ze,
|
13704
13718
|
hasGroupNames: s,
|
13705
|
-
isSticky:
|
13719
|
+
isSticky: o,
|
13706
13720
|
platform: g,
|
13707
|
-
groupNames:
|
13721
|
+
groupNames: r,
|
13708
13722
|
orderedKeys: l
|
13709
13723
|
};
|
13710
13724
|
}
|
13711
|
-
}),
|
13725
|
+
}), xt = { class: "v3-body" }, St = ["id"], zt = { class: "v3-emojis" }, Ot = ["onMouseenter", "onClick"], Ct = { key: 0 }, Ut = ["src", "alt", "onError"], Lt = {
|
13712
13726
|
key: 1,
|
13713
13727
|
class: "v3-no-result"
|
13714
13728
|
};
|
13715
|
-
function
|
13716
|
-
return
|
13717
|
-
|
13729
|
+
function Qt(e, f, n, a, A, t) {
|
13730
|
+
return u(), c("div", xt, [
|
13731
|
+
i("div", {
|
13718
13732
|
ref: "bodyInner",
|
13719
13733
|
class: T([e.platform, "v3-body-inner"])
|
13720
13734
|
}, [
|
13721
|
-
e.orderedKeys.length ? (
|
13735
|
+
e.orderedKeys.length ? (u(!0), c(B, { key: 0 }, R(e.orderedKeys, (s) => (u(), c("div", {
|
13722
13736
|
id: s,
|
13723
13737
|
key: s,
|
13724
13738
|
class: "v3-group"
|
13725
13739
|
}, [
|
13726
|
-
e.hasGroupNames ? ae((
|
13740
|
+
e.hasGroupNames ? ae((u(), c("h5", {
|
13727
13741
|
key: 0,
|
13728
13742
|
class: T(e.isSticky ? "v3-sticky" : "")
|
13729
|
-
},
|
13730
|
-
[
|
13743
|
+
}, _(e.groupNames[s]), 3)), [
|
13744
|
+
[Me, e.emojis[s]]
|
13731
13745
|
]) : b("", !0),
|
13732
|
-
ae(
|
13733
|
-
(
|
13734
|
-
key:
|
13746
|
+
ae(i("div", zt, [
|
13747
|
+
(u(!0), c(B, null, R(e.emojis[s], (o) => (u(), c("button", {
|
13748
|
+
key: o.r,
|
13735
13749
|
type: "button",
|
13736
|
-
onMouseenter: (
|
13737
|
-
onClick: (
|
13750
|
+
onMouseenter: (r) => e.handleMouseEnter(o),
|
13751
|
+
onClick: (r) => e.handleClick(o)
|
13738
13752
|
}, [
|
13739
|
-
e.native ? (
|
13753
|
+
e.native ? (u(), c("span", Ct, _(e.unicodeToEmoji(o.r)), 1)) : (u(), c("img", {
|
13740
13754
|
key: 1,
|
13741
|
-
src: e.EMOJI_REMOTE_SRC + `/${
|
13742
|
-
alt:
|
13743
|
-
onError: (
|
13744
|
-
}, null, 40,
|
13745
|
-
], 40,
|
13755
|
+
src: e.EMOJI_REMOTE_SRC + `/${o.r}.png`,
|
13756
|
+
alt: o.n[0],
|
13757
|
+
onError: (r) => e.handleError(r, o.r)
|
13758
|
+
}, null, 40, Ut))
|
13759
|
+
], 40, Ot))), 128))
|
13746
13760
|
], 512), [
|
13747
|
-
[
|
13761
|
+
[Me, e.emojis[s]]
|
13748
13762
|
])
|
13749
|
-
], 8,
|
13763
|
+
], 8, St))), 128)) : (u(), c("span", Lt, " No emoji has been found! "))
|
13750
13764
|
], 2)
|
13751
13765
|
]);
|
13752
13766
|
}
|
13753
|
-
var Lt = /* @__PURE__ */ Ce(Vt, [["render", Ut]]), Qt = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDI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cgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
|
13768
|
+
const Pt = ge({
|
13755
13769
|
name: "Header",
|
13756
13770
|
setup(e) {
|
13757
|
-
const { state: f, updateSearch: n, updateActiveGroup: a } = Pe("store"), A =
|
13771
|
+
const { state: f, updateSearch: n, updateActiveGroup: a } = Pe("store"), A = E(() => !f.options.hideSearch), t = E(() => !f.options.hideGroupIcons), s = JSON.parse(JSON.stringify(f.orderedGroupKeys)), o = E(
|
13758
13772
|
() => f.options.staticTexts.placeholder || ""
|
13759
|
-
),
|
13773
|
+
), r = E({
|
13760
13774
|
get: () => f.search,
|
13761
|
-
set: (
|
13775
|
+
set: (d) => n(d)
|
13762
13776
|
}), l = [
|
13763
13777
|
...f.groups,
|
13764
|
-
...Object.keys(f.options.additionalGroups).map((
|
13765
|
-
key:
|
13766
|
-
title: f.options.groupNames[
|
13778
|
+
...Object.keys(f.options.additionalGroups).map((d) => ({
|
13779
|
+
key: d,
|
13780
|
+
title: f.options.groupNames[d] ? f.options.groupNames[d] : dn(d)
|
13767
13781
|
}))
|
13768
13782
|
], g = [];
|
13769
|
-
return s.forEach((
|
13770
|
-
const
|
13771
|
-
|
13783
|
+
return s.forEach((d) => {
|
13784
|
+
const p = l.findIndex((h) => h.key === d);
|
13785
|
+
p !== -1 && (g.push(l[p]), l.splice(p, 1));
|
13772
13786
|
}), {
|
13773
13787
|
orderedGroups: g,
|
13774
13788
|
orderedKeys: s,
|
13775
|
-
searchValue:
|
13789
|
+
searchValue: r,
|
13776
13790
|
updateActiveGroup: a,
|
13777
13791
|
hasSearch: A,
|
13778
13792
|
hasGroupIcons: t,
|
13779
|
-
placeholder:
|
13793
|
+
placeholder: o,
|
13780
13794
|
icons: {
|
13781
|
-
smileys_people:
|
13782
|
-
animals_nature:
|
13783
|
-
food_drink:
|
13784
|
-
activities:
|
13785
|
-
travel_places:
|
13786
|
-
objects:
|
13787
|
-
symbols:
|
13788
|
-
flags:
|
13795
|
+
smileys_people: ln,
|
13796
|
+
animals_nature: Yt,
|
13797
|
+
food_drink: Rt,
|
13798
|
+
activities: qt,
|
13799
|
+
travel_places: Ft,
|
13800
|
+
objects: Jt,
|
13801
|
+
symbols: Wt,
|
13802
|
+
flags: $t,
|
13789
13803
|
...f.options.groupIcons,
|
13790
|
-
recent:
|
13804
|
+
recent: Ht
|
13791
13805
|
}
|
13792
13806
|
};
|
13793
13807
|
}
|
13794
13808
|
}), Kt = {
|
13795
13809
|
key: 0,
|
13796
13810
|
class: "v3-header"
|
13797
|
-
},
|
13811
|
+
}, Zt = {
|
13798
13812
|
key: 0,
|
13799
13813
|
class: "v3-groups"
|
13800
|
-
},
|
13814
|
+
}, Gt = ["onClick"], Xt = ["title"], es = ["src"], fs = {
|
13801
13815
|
key: 1,
|
13802
13816
|
class: "v3-spacing"
|
13803
|
-
},
|
13817
|
+
}, ns = {
|
13804
13818
|
key: 2,
|
13805
13819
|
class: "v3-search"
|
13806
|
-
},
|
13807
|
-
function
|
13808
|
-
return e.hasGroupIcons || e.hasSearch ? (
|
13809
|
-
e.hasGroupIcons ? (
|
13810
|
-
(
|
13820
|
+
}, as = ["placeholder"];
|
13821
|
+
function As(e, f, n, a, A, t) {
|
13822
|
+
return e.hasGroupIcons || e.hasSearch ? (u(), c("div", Kt, [
|
13823
|
+
e.hasGroupIcons ? (u(), c("div", Zt, [
|
13824
|
+
(u(!0), c(B, null, R(e.orderedGroups, (s) => (u(), c("button", {
|
13811
13825
|
key: s.key,
|
13812
13826
|
type: "button",
|
13813
13827
|
class: T(["v3-group", {
|
13814
13828
|
"v3-is-hidden": !e.icons[s.key]
|
13815
13829
|
}]),
|
13816
|
-
onClick: (
|
13830
|
+
onClick: (o) => e.updateActiveGroup(s.key)
|
13817
13831
|
}, [
|
13818
|
-
|
13832
|
+
i("span", {
|
13819
13833
|
title: s.title,
|
13820
13834
|
class: "v3-icon"
|
13821
13835
|
}, [
|
13822
|
-
|
13836
|
+
i("img", {
|
13823
13837
|
src: e.icons[s.key],
|
13824
13838
|
alt: ""
|
13825
|
-
}, null, 8,
|
13826
|
-
], 8,
|
13827
|
-
], 10,
|
13839
|
+
}, null, 8, es)
|
13840
|
+
], 8, Xt)
|
13841
|
+
], 10, Gt))), 128))
|
13828
13842
|
])) : b("", !0),
|
13829
|
-
e.hasGroupIcons && e.hasSearch ? (
|
13830
|
-
e.hasSearch ? (
|
13831
|
-
ae(
|
13843
|
+
e.hasGroupIcons && e.hasSearch ? (u(), c("div", fs)) : b("", !0),
|
13844
|
+
e.hasSearch ? (u(), c("div", ns, [
|
13845
|
+
ae(i("input", {
|
13832
13846
|
"onUpdate:modelValue": f[0] || (f[0] = (s) => e.searchValue = s),
|
13833
13847
|
type: "text",
|
13834
13848
|
placeholder: e.placeholder
|
13835
|
-
}, null, 8,
|
13849
|
+
}, null, 8, as), [
|
13836
13850
|
[Hf, e.searchValue]
|
13837
13851
|
])
|
13838
13852
|
])) : b("", !0)
|
13839
13853
|
])) : b("", !0);
|
13840
13854
|
}
|
13841
|
-
var
|
13842
|
-
const
|
13855
|
+
var ts = /* @__PURE__ */ Ce(Pt, [["render", As]]);
|
13856
|
+
const ss = ge({
|
13843
13857
|
name: "Header",
|
13844
13858
|
setup() {
|
13845
|
-
const { state: e, updateSkinTone: f } = Pe("store"), n = v(!1), a = v(!1), A =
|
13859
|
+
const { state: e, updateSkinTone: f } = Pe("store"), n = v(!1), a = v(!1), A = E(() => e.skinTone), t = E(
|
13846
13860
|
() => e.options.staticTexts.skinTone || "Skin tone"
|
13847
|
-
), s =
|
13861
|
+
), s = E(() => !e.options.disableSkinTones), o = cn() ? "is-mac" : "", r = E(() => ({
|
13848
13862
|
...e.emoji,
|
13849
13863
|
src: Kf + "/" + e.emoji[Te] + ".png"
|
13850
13864
|
}));
|
13851
|
-
function l(
|
13852
|
-
n.value =
|
13865
|
+
function l(p = !0) {
|
13866
|
+
n.value = p;
|
13853
13867
|
}
|
13854
13868
|
function g() {
|
13855
13869
|
n.value = !n.value;
|
13856
13870
|
}
|
13857
|
-
function
|
13858
|
-
f(
|
13871
|
+
function d(p) {
|
13872
|
+
f(p), l(!1);
|
13859
13873
|
}
|
13860
|
-
return
|
13874
|
+
return Ke(
|
13861
13875
|
() => e.emoji,
|
13862
13876
|
() => {
|
13863
13877
|
a.value = !1;
|
13864
13878
|
}
|
13865
13879
|
), {
|
13866
|
-
emoji:
|
13867
|
-
SKIN_TONES:
|
13880
|
+
emoji: r,
|
13881
|
+
SKIN_TONES: Ga,
|
13868
13882
|
updateSkinToneState: l,
|
13869
13883
|
skinTone: n,
|
13870
13884
|
stateSkinTone: A,
|
13871
|
-
selectSkinTone:
|
13885
|
+
selectSkinTone: d,
|
13872
13886
|
toggleSkinToneState: g,
|
13873
13887
|
EMOJI_RESULT_KEY: Te,
|
13874
13888
|
EMOJI_NAME_KEY: Ze,
|
@@ -13876,60 +13890,60 @@ const A1 = de({
|
|
13876
13890
|
hasSkinTones: s,
|
13877
13891
|
native: e.options.native,
|
13878
13892
|
unicodeToEmoji: We,
|
13879
|
-
platform:
|
13893
|
+
platform: o,
|
13880
13894
|
hasError: a
|
13881
13895
|
};
|
13882
13896
|
}
|
13883
|
-
}),
|
13884
|
-
function
|
13885
|
-
return
|
13897
|
+
}), is = { class: "v3-foot-left" }, os = { key: 0 }, us = ["alt", "src"], rs = { class: "v3-text" }, ls = { class: "v3-text" }, cs = ["onClick"];
|
13898
|
+
function ds(e, f, n, a, A, t) {
|
13899
|
+
return u(), c("div", {
|
13886
13900
|
class: "v3-footer",
|
13887
13901
|
onMouseleave: f[2] || (f[2] = (s) => e.updateSkinToneState(!1))
|
13888
13902
|
}, [
|
13889
|
-
|
13890
|
-
|
13903
|
+
i("div", is, [
|
13904
|
+
i("span", {
|
13891
13905
|
class: T([e.platform, "v3-icon"])
|
13892
13906
|
}, [
|
13893
|
-
e.native || e.hasError ? (
|
13907
|
+
e.native || e.hasError ? (u(), c("span", os, _(e.unicodeToEmoji(e.emoji.r)), 1)) : (u(), c("img", {
|
13894
13908
|
key: 1,
|
13895
13909
|
alt: e.unicodeToEmoji(e.emoji.r),
|
13896
13910
|
src: e.emoji.src,
|
13897
13911
|
onError: f[0] || (f[0] = (s) => e.hasError = !0)
|
13898
|
-
}, null, 40,
|
13912
|
+
}, null, 40, us))
|
13899
13913
|
], 2),
|
13900
|
-
|
13914
|
+
i("span", rs, " :" + _(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
|
13901
13915
|
]),
|
13902
|
-
e.hasSkinTones ? (
|
13903
|
-
|
13916
|
+
e.hasSkinTones ? (u(), c(B, { key: 0 }, [
|
13917
|
+
i("button", {
|
13904
13918
|
type: "button",
|
13905
13919
|
class: "v3-tone",
|
13906
13920
|
onClick: f[1] || (f[1] = (...s) => e.toggleSkinToneState && e.toggleSkinToneState(...s))
|
13907
13921
|
}, [
|
13908
|
-
|
13909
|
-
|
13922
|
+
i("span", ls, _(e.skinToneText), 1),
|
13923
|
+
i("span", {
|
13910
13924
|
class: T(`v3-icon v3-tone-${e.stateSkinTone}`)
|
13911
13925
|
}, null, 2)
|
13912
13926
|
]),
|
13913
|
-
|
13927
|
+
i("div", {
|
13914
13928
|
class: T([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
|
13915
13929
|
}, [
|
13916
|
-
(
|
13930
|
+
(u(!0), c(B, null, R(e.SKIN_TONES, (s) => (u(), c("button", {
|
13917
13931
|
key: s,
|
13918
13932
|
type: "button",
|
13919
13933
|
class: T(["v3-skin-tone-" + s, "v3-skin-tone"]),
|
13920
|
-
onClick: (
|
13921
|
-
}, null, 10,
|
13934
|
+
onClick: (o) => e.selectSkinTone(s)
|
13935
|
+
}, null, 10, cs))), 128))
|
13922
13936
|
], 2)
|
13923
13937
|
], 64)) : b("", !0)
|
13924
13938
|
], 32);
|
13925
13939
|
}
|
13926
|
-
var
|
13927
|
-
const
|
13940
|
+
var gs = /* @__PURE__ */ Ce(ss, [["render", ds]]);
|
13941
|
+
const ms = ge({
|
13928
13942
|
name: "PickerRoot",
|
13929
13943
|
components: {
|
13930
|
-
Header:
|
13931
|
-
Body:
|
13932
|
-
Footer:
|
13944
|
+
Header: ts,
|
13945
|
+
Body: Bt,
|
13946
|
+
Footer: gs
|
13933
13947
|
},
|
13934
13948
|
props: {
|
13935
13949
|
type: {
|
@@ -13962,72 +13976,72 @@ const d1 = de({
|
|
13962
13976
|
"update:text": (e) => !0
|
13963
13977
|
},
|
13964
13978
|
setup(e, { emit: f }) {
|
13965
|
-
const n = v(), a = v(), A = v(), t = v(!1), s = v(e.text),
|
13966
|
-
let
|
13967
|
-
const { state: l } = Pe("store"), g =
|
13968
|
-
function
|
13969
|
-
if (
|
13970
|
-
const
|
13971
|
-
|
13979
|
+
const n = v(), a = v(), A = v(), t = v(!1), s = v(e.text), o = e.type === "input" || e.type === "textarea";
|
13980
|
+
let r = -1;
|
13981
|
+
const { state: l } = Pe("store"), g = E(() => l.options.colorTheme);
|
13982
|
+
function d(m) {
|
13983
|
+
if (o) {
|
13984
|
+
const I = l.options.mode;
|
13985
|
+
I === "prepend" ? s.value = m.i + s.value : I === "insert" && r !== -1 ? (s.value = `${s.value.slice(0, r)}${m.i}${s.value.slice(r)}`, r += m.i.length) : s.value += m.i, f("update:text", s.value);
|
13972
13986
|
}
|
13973
|
-
f("select",
|
13987
|
+
f("select", m);
|
13974
13988
|
}
|
13975
|
-
function
|
13976
|
-
var
|
13977
|
-
n.value && (
|
13989
|
+
function p() {
|
13990
|
+
var m;
|
13991
|
+
n.value && (r = ((m = n.value) == null ? void 0 : m.selectionEnd) || -1);
|
13978
13992
|
}
|
13979
|
-
function
|
13980
|
-
var
|
13981
|
-
!((
|
13993
|
+
function h(m) {
|
13994
|
+
var I;
|
13995
|
+
!((I = m.target) != null && I.closest(
|
13982
13996
|
".v3-input-picker-wrap"
|
13983
13997
|
)) && t.value && (t.value = !1);
|
13984
13998
|
}
|
13985
|
-
function
|
13986
|
-
if (a.value && A.value &&
|
13987
|
-
let
|
13988
|
-
typeof
|
13999
|
+
function M() {
|
14000
|
+
if (a.value && A.value && o) {
|
14001
|
+
let m = l.options.offset;
|
14002
|
+
typeof m != "number" && (m = 6), Vt(a.value, A.value, {
|
13989
14003
|
placement: "bottom-end",
|
13990
14004
|
modifiers: [
|
13991
14005
|
{
|
13992
14006
|
name: "offset",
|
13993
14007
|
options: {
|
13994
|
-
offset: [0,
|
14008
|
+
offset: [0, m]
|
13995
14009
|
}
|
13996
14010
|
}
|
13997
14011
|
]
|
13998
|
-
}), document.body.addEventListener("click",
|
14012
|
+
}), document.body.addEventListener("click", h);
|
13999
14013
|
}
|
14000
14014
|
}
|
14001
|
-
function y(
|
14002
|
-
s.value =
|
14015
|
+
function y(m) {
|
14016
|
+
s.value = m.target.value || "", f("update:text", s.value);
|
14003
14017
|
}
|
14004
|
-
return
|
14005
|
-
|
14006
|
-
}),
|
14007
|
-
document.body.removeEventListener("click",
|
14018
|
+
return de(() => {
|
14019
|
+
M();
|
14020
|
+
}), _n(() => {
|
14021
|
+
document.body.removeEventListener("click", h);
|
14008
14022
|
}), {
|
14009
|
-
face:
|
14023
|
+
face: ln,
|
14010
14024
|
open: t,
|
14011
|
-
onSelect:
|
14025
|
+
onSelect: d,
|
14012
14026
|
input: s,
|
14013
14027
|
elem: n,
|
14014
|
-
updateCursor:
|
14028
|
+
updateCursor: p,
|
14015
14029
|
button: a,
|
14016
14030
|
picker: A,
|
14017
|
-
isInputType:
|
14031
|
+
isInputType: o,
|
14018
14032
|
onChangeText: y,
|
14019
14033
|
colorTheme: g
|
14020
14034
|
};
|
14021
14035
|
}
|
14022
|
-
}),
|
14036
|
+
}), ps = {
|
14023
14037
|
key: 0,
|
14024
14038
|
class: "v3-input-emoji-picker"
|
14025
|
-
},
|
14026
|
-
function
|
14027
|
-
const s = Fe("Header"),
|
14028
|
-
return e.isInputType ? (
|
14029
|
-
|
14030
|
-
e.type === "input" ? (
|
14039
|
+
}, Ms = { class: "v3-input-picker-root" }, hs = ["value"], bs = ["value"], ys = ["src"];
|
14040
|
+
function vs(e, f, n, a, A, t) {
|
14041
|
+
const s = Fe("Header"), o = Fe("Body"), r = Fe("Footer");
|
14042
|
+
return e.isInputType ? (u(), c("div", ps, [
|
14043
|
+
i("div", Ms, [
|
14044
|
+
e.type === "input" ? (u(), c("input", {
|
14031
14045
|
key: 0,
|
14032
14046
|
ref: "elem",
|
14033
14047
|
value: e.input,
|
@@ -14035,52 +14049,52 @@ function b1(e, f, n, a, A, t) {
|
|
14035
14049
|
class: "v3-emoji-picker-input",
|
14036
14050
|
onInput: f[0] || (f[0] = (...l) => e.onChangeText && e.onChangeText(...l)),
|
14037
14051
|
onBlur: f[1] || (f[1] = (...l) => e.updateCursor && e.updateCursor(...l))
|
14038
|
-
}, null, 40,
|
14052
|
+
}, null, 40, hs)) : (u(), c("textarea", {
|
14039
14053
|
key: 1,
|
14040
14054
|
ref: "elem",
|
14041
14055
|
value: e.input,
|
14042
14056
|
class: "v3-emoji-picker-textarea",
|
14043
14057
|
onInput: f[2] || (f[2] = (...l) => e.onChangeText && e.onChangeText(...l)),
|
14044
14058
|
onBlur: f[3] || (f[3] = (...l) => e.updateCursor && e.updateCursor(...l))
|
14045
|
-
}, null, 40,
|
14046
|
-
|
14059
|
+
}, null, 40, bs)),
|
14060
|
+
i("div", {
|
14047
14061
|
class: T(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
|
14048
14062
|
}, [
|
14049
|
-
|
14063
|
+
i("button", {
|
14050
14064
|
ref: "button",
|
14051
14065
|
type: "button",
|
14052
14066
|
class: "v3-input-picker-icon",
|
14053
14067
|
onClick: f[4] || (f[4] = (l) => e.open = !e.open)
|
14054
14068
|
}, [
|
14055
|
-
|
14069
|
+
i("img", {
|
14056
14070
|
src: e.face,
|
14057
14071
|
alt: ""
|
14058
|
-
}, null, 8,
|
14072
|
+
}, null, 8, ys)
|
14059
14073
|
], 512),
|
14060
|
-
|
14074
|
+
i("div", {
|
14061
14075
|
ref: "picker",
|
14062
14076
|
class: T(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
|
14063
14077
|
}, [
|
14064
14078
|
S(s),
|
14065
|
-
S(
|
14066
|
-
S(
|
14079
|
+
S(o, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
|
14080
|
+
S(r)
|
14067
14081
|
], 2)
|
14068
14082
|
], 2)
|
14069
14083
|
])
|
14070
|
-
])) : (
|
14084
|
+
])) : (u(), c("div", {
|
14071
14085
|
key: 1,
|
14072
14086
|
class: T(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
|
14073
14087
|
}, [
|
14074
14088
|
S(s),
|
14075
|
-
S(
|
14076
|
-
S(
|
14089
|
+
S(o, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
|
14090
|
+
S(r)
|
14077
14091
|
], 2));
|
14078
14092
|
}
|
14079
|
-
var
|
14080
|
-
const
|
14093
|
+
var Is = /* @__PURE__ */ Ce(ms, [["render", vs]]);
|
14094
|
+
const _s = ge({
|
14081
14095
|
name: "Picker",
|
14082
14096
|
components: {
|
14083
|
-
PickerRoot:
|
14097
|
+
PickerRoot: Is
|
14084
14098
|
},
|
14085
14099
|
props: {
|
14086
14100
|
native: {
|
@@ -14165,16 +14179,16 @@ const v1 = de({
|
|
14165
14179
|
function a(t) {
|
14166
14180
|
n.value = t || "", f("update:text", n.value);
|
14167
14181
|
}
|
14168
|
-
const A =
|
14182
|
+
const A = _A();
|
14169
14183
|
return A.updateOptions({
|
14170
14184
|
native: e.native,
|
14171
14185
|
hideSearch: e.hideSearch,
|
14172
14186
|
hideGroupIcons: e.hideGroupIcons,
|
14173
14187
|
hideGroupNames: e.hideGroupNames,
|
14174
|
-
staticTexts: { ...
|
14188
|
+
staticTexts: { ...Xa, ...e.staticTexts },
|
14175
14189
|
disableStickyGroupNames: e.disableStickyGroupNames,
|
14176
14190
|
disabledGroups: e.disabledGroups,
|
14177
|
-
groupNames: { ...
|
14191
|
+
groupNames: { ...Zf, ...e.groupNames },
|
14178
14192
|
disableSkinTones: e.disableSkinTones,
|
14179
14193
|
displayRecent: e.displayRecent,
|
14180
14194
|
additionalGroups: e.additionalGroups,
|
@@ -14182,34 +14196,34 @@ const v1 = de({
|
|
14182
14196
|
offset: e.offset,
|
14183
14197
|
groupOrder: e.groupOrder,
|
14184
14198
|
groupIcons: e.groupIcons,
|
14185
|
-
colorTheme:
|
14186
|
-
}),
|
14199
|
+
colorTheme: eA.includes(e.theme) ? e.theme : "light"
|
14200
|
+
}), wn("store", A), {
|
14187
14201
|
type: e.pickerType,
|
14188
14202
|
input: n,
|
14189
14203
|
onChangeText: a
|
14190
14204
|
};
|
14191
14205
|
}
|
14192
14206
|
});
|
14193
|
-
function
|
14207
|
+
function ws(e, f, n, a, A, t) {
|
14194
14208
|
const s = Fe("picker-root");
|
14195
|
-
return
|
14209
|
+
return u(), Q(s, {
|
14196
14210
|
type: e.type,
|
14197
14211
|
text: e.input,
|
14198
|
-
onSelect: f[0] || (f[0] = (
|
14212
|
+
onSelect: f[0] || (f[0] = (o) => e.$emit("select", o)),
|
14199
14213
|
"onUpdate:text": e.onChangeText
|
14200
14214
|
}, null, 8, ["type", "text", "onUpdate:text"]);
|
14201
14215
|
}
|
14202
|
-
var
|
14203
|
-
const
|
14216
|
+
var Ds = /* @__PURE__ */ Ce(_s, [["render", ws]]);
|
14217
|
+
const Ns = { class: "channels__container" }, ks = { class: "channels__title-container" }, js = {
|
14204
14218
|
key: 0,
|
14205
14219
|
class: "channels__selected"
|
14206
|
-
},
|
14220
|
+
}, Vs = {
|
14207
14221
|
key: 0,
|
14208
14222
|
class: "channels__icon"
|
14209
|
-
},
|
14223
|
+
}, Es = ["src"], Ts = { class: "channels__title" }, xs = {
|
14210
14224
|
key: 1,
|
14211
14225
|
class: "channels__title"
|
14212
|
-
},
|
14226
|
+
}, Ss = { class: "channels__popover-container" }, zs = { class: "channels__popover-list" }, Os = ["onClick"], Cs = {
|
14213
14227
|
__name: "ChannelSelector",
|
14214
14228
|
props: {
|
14215
14229
|
channels: {
|
@@ -14220,54 +14234,54 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14220
14234
|
},
|
14221
14235
|
emits: ["selectChannel"],
|
14222
14236
|
setup(e, { emit: f }) {
|
14223
|
-
const n = v(!0), a = v(null), A = e, t = f,
|
14224
|
-
|
14237
|
+
const n = v(!0), a = v(null), A = e, t = f, o = v(A.channels.find((d) => d.type === "default")), r = (d) => {
|
14238
|
+
o.value = d, l(), t("selectChannel", o.value);
|
14225
14239
|
}, l = () => {
|
14226
14240
|
n.value = !n.value;
|
14227
|
-
}, g = (
|
14228
|
-
a.value && !a.value.contains(
|
14241
|
+
}, g = (d) => {
|
14242
|
+
a.value && !a.value.contains(d.target) && (n.value = !1);
|
14229
14243
|
};
|
14230
|
-
return
|
14244
|
+
return de(() => {
|
14231
14245
|
document.addEventListener("click", g);
|
14232
|
-
}),
|
14246
|
+
}), Pf(() => {
|
14233
14247
|
document.removeEventListener("click", g);
|
14234
|
-
}), (
|
14248
|
+
}), (d, p) => (u(), c("div", {
|
14235
14249
|
ref_key: "customDiv",
|
14236
14250
|
ref: a,
|
14237
14251
|
class: "channels"
|
14238
14252
|
}, [
|
14239
|
-
|
14240
|
-
|
14253
|
+
i("div", Ns, [
|
14254
|
+
i("button", {
|
14241
14255
|
class: "channels__button",
|
14242
14256
|
onClick: l
|
14243
|
-
},
|
14244
|
-
|
14257
|
+
}, p[1] || (p[1] = [
|
14258
|
+
i("span", { class: "pi pi-list" }, null, -1)
|
14245
14259
|
])),
|
14246
|
-
|
14247
|
-
|
14248
|
-
|
14249
|
-
|
14250
|
-
src:
|
14251
|
-
}, null, 8,
|
14260
|
+
i("div", ks, [
|
14261
|
+
o.value ? (u(), c("div", js, [
|
14262
|
+
o.value.icon ? (u(), c("span", Vs, [
|
14263
|
+
i("img", {
|
14264
|
+
src: o.value.icon
|
14265
|
+
}, null, 8, Es)
|
14252
14266
|
])) : b("", !0),
|
14253
|
-
|
14254
|
-
])) : (
|
14267
|
+
i("span", Ts, _(o.value.title), 1)
|
14268
|
+
])) : (u(), c("span", xs, "Чат не выбран"))
|
14255
14269
|
]),
|
14256
|
-
S(
|
14257
|
-
default:
|
14258
|
-
n.value ? (
|
14270
|
+
S($, null, {
|
14271
|
+
default: H(() => [
|
14272
|
+
n.value ? (u(), c("div", {
|
14259
14273
|
key: 0,
|
14260
14274
|
class: "channels__popover",
|
14261
|
-
onClick:
|
14275
|
+
onClick: p[0] || (p[0] = kn(() => {
|
14262
14276
|
}, ["stop"]))
|
14263
14277
|
}, [
|
14264
|
-
|
14265
|
-
|
14266
|
-
(
|
14267
|
-
key:
|
14278
|
+
i("div", Ss, [
|
14279
|
+
i("ul", zs, [
|
14280
|
+
(u(!0), c(B, null, R(e.channels, (h) => (u(), c("li", {
|
14281
|
+
key: h.channelId,
|
14268
14282
|
class: "channels__popover-item",
|
14269
|
-
onClick: (
|
14270
|
-
},
|
14283
|
+
onClick: (M) => r(h)
|
14284
|
+
}, _(h.title), 9, Os))), 128))
|
14271
14285
|
])
|
14272
14286
|
])
|
14273
14287
|
])) : b("", !0)
|
@@ -14277,9 +14291,9 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14277
14291
|
])
|
14278
14292
|
], 512));
|
14279
14293
|
}
|
14280
|
-
},
|
14294
|
+
}, Us = /* @__PURE__ */ N(Cs, [["__scopeId", "data-v-4e07712c"]]), Ls = { class: "chat-input" }, Qs = { class: "chat-input__container" }, Bs = {
|
14281
14295
|
__name: "ChatInput",
|
14282
|
-
props: /* @__PURE__ */
|
14296
|
+
props: /* @__PURE__ */ xf({
|
14283
14297
|
enableEmoji: {
|
14284
14298
|
type: Boolean,
|
14285
14299
|
required: !1,
|
@@ -14298,50 +14312,50 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14298
14312
|
modelValue: {},
|
14299
14313
|
modelModifiers: {}
|
14300
14314
|
}),
|
14301
|
-
emits: /* @__PURE__ */
|
14315
|
+
emits: /* @__PURE__ */ xf(["send", "typing"], ["update:modelValue"]),
|
14302
14316
|
setup(e, { emit: f }) {
|
14303
|
-
const n = f, a = jn(e, "modelValue"), A = v(null), t = v(null), s =
|
14304
|
-
console.log("fileUploaded",
|
14305
|
-
}, l = (
|
14306
|
-
n("typing",
|
14317
|
+
const n = f, a = jn(e, "modelValue"), A = v(null), t = v(null), s = E(() => !t.value || t.value === ""), o = v(!1), r = (M) => {
|
14318
|
+
console.log("fileUploaded", M), t.value = M;
|
14319
|
+
}, l = (M) => {
|
14320
|
+
n("typing", M.target.value);
|
14307
14321
|
}, g = () => {
|
14308
|
-
|
14309
|
-
const
|
14322
|
+
o.value = !1;
|
14323
|
+
const M = {
|
14310
14324
|
type: null,
|
14311
14325
|
text: null
|
14312
14326
|
};
|
14313
|
-
t.value ? (
|
14314
|
-
},
|
14315
|
-
|
14316
|
-
},
|
14327
|
+
t.value ? (M.type = "message.file", M.text = t.value) : (M.type = "message.text", M.text = a.value.trim()), n("send", M), t.value = !1, a.value = "", le(A).focus();
|
14328
|
+
}, d = () => {
|
14329
|
+
o.value = !o.value;
|
14330
|
+
}, p = E(() => {
|
14317
14331
|
if (document.documentElement.classList.contains("dark"))
|
14318
14332
|
return "dark";
|
14319
|
-
}),
|
14320
|
-
a.value = (a.value ? a.value : "") +
|
14333
|
+
}), h = (M) => {
|
14334
|
+
a.value = (a.value ? a.value : "") + M.i;
|
14321
14335
|
};
|
14322
|
-
return (
|
14323
|
-
|
14324
|
-
S(
|
14325
|
-
default:
|
14326
|
-
|
14336
|
+
return (M, y) => (u(), c("div", Ls, [
|
14337
|
+
i("div", Qs, [
|
14338
|
+
S($, null, {
|
14339
|
+
default: H(() => [
|
14340
|
+
o.value ? (u(), Q(le(Ds), {
|
14327
14341
|
key: 0,
|
14328
14342
|
class: "chat-input__emoji",
|
14329
14343
|
native: !0,
|
14330
|
-
theme:
|
14344
|
+
theme: p.value,
|
14331
14345
|
"picker-type": "",
|
14332
|
-
onSelect:
|
14346
|
+
onSelect: h
|
14333
14347
|
}, null, 8, ["theme"])) : b("", !0)
|
14334
14348
|
]),
|
14335
14349
|
_: 1
|
14336
14350
|
}),
|
14337
|
-
S(le(
|
14351
|
+
S(le(ji), {
|
14338
14352
|
"can-upload-file": s.value,
|
14339
|
-
onFileUploaded:
|
14353
|
+
onFileUploaded: r
|
14340
14354
|
}, null, 8, ["can-upload-file"]),
|
14341
|
-
ae(
|
14355
|
+
ae(i("input", {
|
14342
14356
|
ref_key: "refInput",
|
14343
14357
|
ref: A,
|
14344
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
14358
|
+
"onUpdate:modelValue": y[0] || (y[0] = (m) => a.value = m),
|
14345
14359
|
class: "chat-input__input",
|
14346
14360
|
placeholder: "Type a message...",
|
14347
14361
|
onKeydown: Vn(g, ["enter"]),
|
@@ -14349,38 +14363,44 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14349
14363
|
}, null, 544), [
|
14350
14364
|
[Hf, a.value]
|
14351
14365
|
]),
|
14352
|
-
S(
|
14353
|
-
|
14366
|
+
S(Us, { channels: e.channels }, null, 8, ["channels"]),
|
14367
|
+
i("button", {
|
14354
14368
|
class: "chat-input__button-emoji",
|
14355
|
-
onClick:
|
14369
|
+
onClick: d
|
14356
14370
|
}, y[1] || (y[1] = [
|
14357
|
-
|
14371
|
+
i("span", { class: "pi pi-face-smile" }, null, -1)
|
14358
14372
|
])),
|
14359
|
-
|
14373
|
+
i("button", {
|
14360
14374
|
class: "chat-input__button-send",
|
14361
14375
|
onClick: g
|
14362
14376
|
}, y[2] || (y[2] = [
|
14363
|
-
|
14377
|
+
i("span", { class: "pi pi-send" }, null, -1)
|
14364
14378
|
]))
|
14365
14379
|
])
|
14366
14380
|
]));
|
14367
14381
|
}
|
14368
|
-
},
|
14382
|
+
}, To = /* @__PURE__ */ N(Bs, [["__scopeId", "data-v-c955567e"]]), Ys = { class: "chat-item__avatar-container" }, Rs = ["src"], qs = {
|
14369
14383
|
key: 1,
|
14370
14384
|
class: "pi pi-user"
|
14371
|
-
},
|
14385
|
+
}, Fs = { class: "chat-item__info-container" }, Js = { class: "chat-item__name" }, Ws = {
|
14372
14386
|
key: 0,
|
14373
14387
|
class: "chat-item__last-message"
|
14374
|
-
},
|
14388
|
+
}, $s = { class: "chat-item__details-container" }, Hs = {
|
14375
14389
|
key: 0,
|
14376
14390
|
class: "chat-item__time"
|
14377
|
-
},
|
14391
|
+
}, Ps = {
|
14378
14392
|
key: 1,
|
14379
14393
|
class: "chat-item__unread"
|
14380
|
-
},
|
14394
|
+
}, Ks = {
|
14381
14395
|
key: 3,
|
14396
|
+
class: "chat-item__status-chat-container"
|
14397
|
+
}, Zs = {
|
14398
|
+
key: 0,
|
14399
|
+
class: "pi pi-check"
|
14400
|
+
}, Gs = {
|
14401
|
+
key: 1,
|
14382
14402
|
class: "chat-item__fixed pi pi-thumbtack"
|
14383
|
-
},
|
14403
|
+
}, Xs = "typing...", e1 = {
|
14384
14404
|
__name: "ChatItem",
|
14385
14405
|
props: {
|
14386
14406
|
chat: {
|
@@ -14392,53 +14412,79 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14392
14412
|
setup(e, { emit: f }) {
|
14393
14413
|
const n = e, a = f, A = () => {
|
14394
14414
|
a("select", n.chat);
|
14395
|
-
}, t = () => n.chat.isSelected ? "chat-item__selected" : "chat-item", s = (
|
14396
|
-
g(), a("action", { chatId: n.chat.chatId, ...
|
14397
|
-
},
|
14398
|
-
|
14415
|
+
}, t = () => n.chat.isSelected ? "chat-item__selected" : "chat-item", s = (y) => {
|
14416
|
+
g(), a("action", { chatId: n.chat.chatId, ...y });
|
14417
|
+
}, o = v(!1), r = v(!1), l = () => {
|
14418
|
+
r.value = !0;
|
14399
14419
|
}, g = () => {
|
14400
|
-
|
14401
|
-
}
|
14402
|
-
|
14420
|
+
r.value = !1, o.value = !1;
|
14421
|
+
}, d = E(() => {
|
14422
|
+
switch (n.chat.statusMessage) {
|
14423
|
+
case "read":
|
14424
|
+
return "chat-item__status-message--read";
|
14425
|
+
case "received":
|
14426
|
+
return "chat-item__status-message--received";
|
14427
|
+
default:
|
14428
|
+
return "";
|
14429
|
+
}
|
14430
|
+
});
|
14431
|
+
let p;
|
14432
|
+
const h = v(!1), M = E(() => n.chat.typing && h.value ? Xs : n.chat.lastMessage);
|
14433
|
+
return de(() => {
|
14434
|
+
n.chat.typing && (p = setInterval(() => {
|
14435
|
+
h.value = !h.value;
|
14436
|
+
}, 2e3));
|
14437
|
+
}), Pf(() => {
|
14438
|
+
clearInterval(p);
|
14439
|
+
}), (y, m) => (u(), c("div", {
|
14403
14440
|
class: T(t()),
|
14404
14441
|
onClick: A
|
14405
14442
|
}, [
|
14406
|
-
|
14443
|
+
i("div", {
|
14407
14444
|
class: "chat-item__container",
|
14408
14445
|
onMouseenter: l,
|
14409
14446
|
onMouseleave: g
|
14410
14447
|
}, [
|
14411
|
-
|
14412
|
-
|
14413
|
-
class: "chat-item__status",
|
14414
|
-
style:
|
14448
|
+
i("div", Ys, [
|
14449
|
+
i("span", {
|
14450
|
+
class: "chat-item__status-user",
|
14451
|
+
style: O({ backgroundColor: n.chat.status })
|
14415
14452
|
}, null, 4),
|
14416
|
-
n.chat.avatar ? (
|
14453
|
+
n.chat.avatar ? (u(), c("img", {
|
14417
14454
|
key: 0,
|
14418
14455
|
src: n.chat.avatar,
|
14419
14456
|
height: "48",
|
14420
14457
|
width: "48"
|
14421
|
-
}, null, 8,
|
14458
|
+
}, null, 8, Rs)) : (u(), c("span", qs))
|
14422
14459
|
]),
|
14423
|
-
|
14424
|
-
|
14425
|
-
e.chat.lastMessage ? (
|
14460
|
+
i("div", Fs, [
|
14461
|
+
i("div", Js, _(e.chat.name), 1),
|
14462
|
+
e.chat.lastMessage || e.chat.typing ? (u(), c("div", Ws, _(M.value), 1)) : b("", !0)
|
14426
14463
|
]),
|
14427
|
-
|
14428
|
-
!(
|
14429
|
-
|
14430
|
-
|
14464
|
+
i("div", $s, [
|
14465
|
+
!(r.value && e.chat.actions) && e.chat["lastActivity.time"] ? (u(), c("div", Hs, _(e.chat["lastActivity.time"]), 1)) : b("", !0),
|
14466
|
+
e.chat.countUnread > 0 ? (u(), c("div", Ps, _(e.chat.countUnread), 1)) : b("", !0),
|
14467
|
+
r.value && e.chat.actions ? (u(), c("button", {
|
14431
14468
|
key: 2,
|
14432
14469
|
class: "chat-item__menu-button",
|
14433
|
-
onClick: m[0] || (m[0] = (
|
14470
|
+
onClick: m[0] || (m[0] = (I) => o.value = !o.value)
|
14434
14471
|
}, m[1] || (m[1] = [
|
14435
|
-
|
14472
|
+
i("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
14436
14473
|
]))) : b("", !0),
|
14437
|
-
e.chat.
|
14474
|
+
e.chat.countUnread < 1 ? (u(), c("div", Ks, [
|
14475
|
+
e.chat.statusMessage ? (u(), c("div", {
|
14476
|
+
key: 0,
|
14477
|
+
class: T(["chat-item__status-message", d.value])
|
14478
|
+
}, [
|
14479
|
+
e.chat.statusMessage !== "send" ? (u(), c("span", Zs)) : b("", !0),
|
14480
|
+
m[2] || (m[2] = i("span", { class: "pi pi-check" }, null, -1))
|
14481
|
+
], 2)) : b("", !0),
|
14482
|
+
e.chat.isFixedTop || e.chat.isFixedBottom ? (u(), c("span", Gs)) : b("", !0)
|
14483
|
+
])) : b("", !0)
|
14438
14484
|
]),
|
14439
|
-
S(
|
14440
|
-
default:
|
14441
|
-
|
14485
|
+
S($, { name: "menu" }, {
|
14486
|
+
default: H(() => [
|
14487
|
+
o.value && e.chat.actions ? (u(), Q(me, {
|
14442
14488
|
key: 0,
|
14443
14489
|
class: "chat-item__context-menu",
|
14444
14490
|
actions: e.chat.actions,
|
@@ -14450,7 +14496,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14450
14496
|
], 32)
|
14451
14497
|
], 2));
|
14452
14498
|
}
|
14453
|
-
}, sf = /* @__PURE__ */
|
14499
|
+
}, sf = /* @__PURE__ */ N(e1, [["__scopeId", "data-v-9c6ae914"]]), f1 = { class: "chat-filter" }, n1 = { class: "chat-filter__container" }, a1 = {
|
14454
14500
|
__name: "ChatFilter",
|
14455
14501
|
emits: ["update"],
|
14456
14502
|
setup(e, { emit: f }) {
|
@@ -14458,9 +14504,9 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14458
14504
|
const t = le(n);
|
14459
14505
|
a("update", t.value);
|
14460
14506
|
};
|
14461
|
-
return (t, s) => (
|
14462
|
-
|
14463
|
-
|
14507
|
+
return (t, s) => (u(), c("div", f1, [
|
14508
|
+
i("div", n1, [
|
14509
|
+
i("input", {
|
14464
14510
|
ref_key: "refInput",
|
14465
14511
|
ref: n,
|
14466
14512
|
class: "chat-filter__input",
|
@@ -14471,16 +14517,16 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14471
14517
|
])
|
14472
14518
|
]));
|
14473
14519
|
}
|
14474
|
-
},
|
14520
|
+
}, A1 = /* @__PURE__ */ N(a1, [["__scopeId", "data-v-effa1581"]]), t1 = { class: "chat-list" }, s1 = {
|
14475
14521
|
key: 0,
|
14476
14522
|
class: "chat-list__title"
|
14477
|
-
},
|
14523
|
+
}, i1 = {
|
14478
14524
|
key: 0,
|
14479
14525
|
class: "pi pi-minus"
|
14480
|
-
},
|
14526
|
+
}, o1 = {
|
14481
14527
|
key: 1,
|
14482
14528
|
class: "pi pi-plus"
|
14483
|
-
},
|
14529
|
+
}, u1 = { class: "chat-list__items" }, r1 = { class: "chat-list__fixed-items-top" }, l1 = { class: "chat-list__scrollable-items" }, c1 = { class: "chat-list__fixed-items-bottom" }, d1 = {
|
14484
14530
|
__name: "ChatList",
|
14485
14531
|
props: {
|
14486
14532
|
title: {
|
@@ -14505,33 +14551,33 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14505
14551
|
setup(e, { emit: f }) {
|
14506
14552
|
const n = v(""), a = v(!1), A = () => {
|
14507
14553
|
a.value = !1;
|
14508
|
-
}, t = e, s = f,
|
14509
|
-
s("select",
|
14510
|
-
const
|
14511
|
-
|
14512
|
-
},
|
14513
|
-
if (
|
14514
|
-
if (
|
14515
|
-
if (
|
14516
|
-
}).filter((
|
14517
|
-
n.value =
|
14518
|
-
}, g = (
|
14519
|
-
return (
|
14520
|
-
|
14554
|
+
}, t = e, s = f, o = (d) => {
|
14555
|
+
s("select", d), t.chats.forEach((h) => h.isSelected = !1);
|
14556
|
+
const p = t.chats.find((h) => h.chatId === d.chatId);
|
14557
|
+
p.isSelected = !0;
|
14558
|
+
}, r = () => t.chats.toSorted((d, p) => {
|
14559
|
+
if (d.countUnread > p.countUnread) return -1;
|
14560
|
+
if (d.countUnread < p.countUnread) return 1;
|
14561
|
+
if (d.countUnread == p.countUnread) return 0;
|
14562
|
+
}).filter((d) => d.name.includes(n.value)), l = (d) => {
|
14563
|
+
n.value = d;
|
14564
|
+
}, g = (d) => s("action", d);
|
14565
|
+
return (d, p) => (u(), c("div", t1, [
|
14566
|
+
i("div", {
|
14521
14567
|
class: "chat-list__title-container",
|
14522
14568
|
onMouseleave: A
|
14523
14569
|
}, [
|
14524
|
-
e.title ? (
|
14525
|
-
e.actions.length ? (
|
14570
|
+
e.title ? (u(), c("h2", s1, _(e.title), 1)) : b("", !0),
|
14571
|
+
e.actions.length ? (u(), c("button", {
|
14526
14572
|
key: 1,
|
14527
14573
|
class: "chat-list__button-actions",
|
14528
|
-
onClick:
|
14574
|
+
onClick: p[0] || (p[0] = (h) => a.value = !a.value)
|
14529
14575
|
}, [
|
14530
|
-
a.value ? (
|
14576
|
+
a.value ? (u(), c("span", i1)) : (u(), c("span", o1))
|
14531
14577
|
])) : b("", !0),
|
14532
|
-
S(
|
14533
|
-
default:
|
14534
|
-
a.value && e.actions ? (
|
14578
|
+
S($, null, {
|
14579
|
+
default: H(() => [
|
14580
|
+
a.value && e.actions ? (u(), Q(me, {
|
14535
14581
|
key: 0,
|
14536
14582
|
actions: e.actions,
|
14537
14583
|
class: "chat-list__context-menu",
|
@@ -14541,46 +14587,46 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14541
14587
|
_: 1
|
14542
14588
|
})
|
14543
14589
|
], 32),
|
14544
|
-
e.filterEnabled ? (
|
14590
|
+
e.filterEnabled ? (u(), Q(A1, {
|
14545
14591
|
key: 0,
|
14546
14592
|
class: "chat-list__filter",
|
14547
14593
|
onUpdate: l
|
14548
14594
|
})) : b("", !0),
|
14549
|
-
|
14550
|
-
|
14551
|
-
(
|
14552
|
-
key:
|
14595
|
+
i("div", u1, [
|
14596
|
+
i("div", r1, [
|
14597
|
+
(u(!0), c(B, null, R(r().filter((h) => h.isFixedTop), (h) => (u(), Q(sf, {
|
14598
|
+
key: h.chatId,
|
14553
14599
|
class: "chat-list__item",
|
14554
|
-
chat:
|
14555
|
-
onSelect:
|
14600
|
+
chat: h,
|
14601
|
+
onSelect: o,
|
14556
14602
|
onAction: g
|
14557
14603
|
}, null, 8, ["chat"]))), 128))
|
14558
14604
|
]),
|
14559
|
-
|
14560
|
-
(
|
14561
|
-
key:
|
14605
|
+
i("div", l1, [
|
14606
|
+
(u(!0), c(B, null, R(r().filter((h) => !h.isFixedBottom && !h.isFixedTop), (h) => (u(), Q(sf, {
|
14607
|
+
key: h.chatId,
|
14562
14608
|
class: "chat-list__item",
|
14563
|
-
chat:
|
14564
|
-
onSelect:
|
14609
|
+
chat: h,
|
14610
|
+
onSelect: o,
|
14565
14611
|
onAction: g
|
14566
14612
|
}, null, 8, ["chat"]))), 128))
|
14567
14613
|
]),
|
14568
|
-
|
14569
|
-
(
|
14570
|
-
key:
|
14614
|
+
i("div", c1, [
|
14615
|
+
(u(!0), c(B, null, R(r().filter((h) => h.isFixedBottom), (h) => (u(), Q(sf, {
|
14616
|
+
key: h.chatId,
|
14571
14617
|
class: "chat-list__item",
|
14572
|
-
chat:
|
14573
|
-
onSelect:
|
14618
|
+
chat: h,
|
14619
|
+
onSelect: o,
|
14574
14620
|
onAction: g
|
14575
14621
|
}, null, 8, ["chat"]))), 128))
|
14576
14622
|
])
|
14577
14623
|
])
|
14578
14624
|
]));
|
14579
14625
|
}
|
14580
|
-
},
|
14626
|
+
}, xo = /* @__PURE__ */ N(d1, [["__scopeId", "data-v-e344d847"]]), g1 = ["messageId"], m1 = ["src"], p1 = ["src"], M1 = { class: "video-message__controls" }, h1 = { class: "video-message__remaining-time" }, b1 = { class: "video-message__info-container" }, y1 = { class: "video-message__time" }, v1 = {
|
14581
14627
|
key: 0,
|
14582
14628
|
class: "pi pi-check"
|
14583
|
-
},
|
14629
|
+
}, I1 = {
|
14584
14630
|
__name: "VideoMessage",
|
14585
14631
|
props: {
|
14586
14632
|
message: {
|
@@ -14593,27 +14639,28 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14593
14639
|
function n(y) {
|
14594
14640
|
return y.position === "left" ? "video-message__left" : "video-message__right";
|
14595
14641
|
}
|
14596
|
-
const a = v(null), A = v(!1), t = v(0), s = v(0),
|
14597
|
-
|
14642
|
+
const a = v(null), A = v(!1), t = v(0), s = v(0), o = v(!1), r = v(!1), l = () => {
|
14643
|
+
r.value = !0;
|
14598
14644
|
}, g = () => {
|
14599
|
-
|
14645
|
+
r.value = !1, o.value = !1;
|
14600
14646
|
};
|
14601
|
-
function
|
14647
|
+
function d() {
|
14602
14648
|
a.value && (A.value ? a.value.pause() : a.value.play(), A.value = !A.value);
|
14603
14649
|
}
|
14604
|
-
const
|
14605
|
-
const
|
14606
|
-
return `${
|
14607
|
-
},
|
14650
|
+
const p = (y) => {
|
14651
|
+
const m = Math.floor(y / 60), I = Math.floor(y % 60);
|
14652
|
+
return `${m.toString().padStart(2, "0")}:${I.toString().padStart(2, "0")}`;
|
14653
|
+
}, h = E(() => {
|
14608
14654
|
if (a.value) {
|
14609
14655
|
if (s.value >= t.value)
|
14610
14656
|
return A.value = !1, "00:00";
|
14611
14657
|
{
|
14612
14658
|
const y = t.value - s.value;
|
14613
|
-
return
|
14659
|
+
return p(y);
|
14614
14660
|
}
|
14615
|
-
}
|
14616
|
-
|
14661
|
+
} else
|
14662
|
+
return "";
|
14663
|
+
}), M = E(() => {
|
14617
14664
|
switch (f.message.status) {
|
14618
14665
|
case "read":
|
14619
14666
|
return "video-message__status--read";
|
@@ -14623,66 +14670,66 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14623
14670
|
return "";
|
14624
14671
|
}
|
14625
14672
|
});
|
14626
|
-
return
|
14673
|
+
return de(() => {
|
14627
14674
|
a.value.addEventListener("loadedmetadata", () => {
|
14628
14675
|
t.value = a.value.duration;
|
14629
14676
|
}), a.value.addEventListener("timeupdate", () => {
|
14630
14677
|
s.value = a.value.currentTime;
|
14631
14678
|
});
|
14632
|
-
}), (y,
|
14679
|
+
}), (y, m) => (u(), c("div", {
|
14633
14680
|
class: T(["video-message", n(e.message)]),
|
14634
14681
|
messageId: e.message.messageId,
|
14635
14682
|
onMouseleave: g
|
14636
14683
|
}, [
|
14637
|
-
e.message.avatar ? (
|
14684
|
+
e.message.avatar ? (u(), c("img", {
|
14638
14685
|
key: 0,
|
14639
14686
|
class: "video-message__avatar",
|
14640
14687
|
src: e.message.avatar,
|
14641
14688
|
height: "32",
|
14642
14689
|
width: "32",
|
14643
|
-
style:
|
14644
|
-
}, null, 12,
|
14645
|
-
|
14690
|
+
style: O({ gridRow: e.message.subText ? "2" : "1" })
|
14691
|
+
}, null, 12, m1)) : b("", !0),
|
14692
|
+
i("div", {
|
14646
14693
|
class: "video-message__content",
|
14647
14694
|
onMouseenter: l
|
14648
14695
|
}, [
|
14649
|
-
|
14696
|
+
i("video", {
|
14650
14697
|
ref_key: "player",
|
14651
14698
|
ref: a,
|
14652
14699
|
class: "video-message__video",
|
14653
14700
|
src: e.message.url
|
14654
|
-
}, null, 8,
|
14655
|
-
|
14656
|
-
S(
|
14657
|
-
default:
|
14658
|
-
ae(
|
14701
|
+
}, null, 8, p1),
|
14702
|
+
i("div", M1, [
|
14703
|
+
S($, null, {
|
14704
|
+
default: H(() => [
|
14705
|
+
ae(i("button", {
|
14659
14706
|
class: "video-message__play",
|
14660
|
-
onClick:
|
14661
|
-
},
|
14662
|
-
|
14707
|
+
onClick: d
|
14708
|
+
}, m[1] || (m[1] = [
|
14709
|
+
i("span", { class: "pi pi-play" }, null, -1)
|
14663
14710
|
]), 512), [
|
14664
|
-
[
|
14711
|
+
[Me, !A.value]
|
14665
14712
|
])
|
14666
14713
|
]),
|
14667
14714
|
_: 1
|
14668
14715
|
}),
|
14669
|
-
ae(
|
14716
|
+
ae(i("button", {
|
14670
14717
|
class: "video-message__pause",
|
14671
|
-
onClick:
|
14718
|
+
onClick: d
|
14672
14719
|
}, null, 512), [
|
14673
|
-
[
|
14720
|
+
[Me, A.value]
|
14674
14721
|
])
|
14675
14722
|
]),
|
14676
|
-
|
14723
|
+
r.value && e.message.actions ? (u(), c("button", {
|
14677
14724
|
key: 0,
|
14678
14725
|
class: "video-message__menu-button",
|
14679
|
-
onClick:
|
14680
|
-
},
|
14681
|
-
|
14726
|
+
onClick: m[0] || (m[0] = (I) => o.value = !o.value)
|
14727
|
+
}, m[2] || (m[2] = [
|
14728
|
+
i("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
14682
14729
|
]))) : b("", !0),
|
14683
|
-
S(
|
14684
|
-
default:
|
14685
|
-
|
14730
|
+
S($, null, {
|
14731
|
+
default: H(() => [
|
14732
|
+
o.value && e.message.actions ? (u(), Q(me, {
|
14686
14733
|
key: 0,
|
14687
14734
|
class: "video-message__context-menu",
|
14688
14735
|
actions: e.message.actions,
|
@@ -14691,39 +14738,39 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14691
14738
|
]),
|
14692
14739
|
_: 1
|
14693
14740
|
}),
|
14694
|
-
|
14695
|
-
|
14696
|
-
|
14697
|
-
n(e.message) === "video-message__right" && e.message.status ? (
|
14741
|
+
i("p", h1, _(`${h.value}`), 1),
|
14742
|
+
i("div", b1, [
|
14743
|
+
i("span", y1, _(e.message.time), 1),
|
14744
|
+
n(e.message) === "video-message__right" && e.message.status ? (u(), c("div", {
|
14698
14745
|
key: 0,
|
14699
|
-
class: T(["video-message__status",
|
14746
|
+
class: T(["video-message__status", M.value])
|
14700
14747
|
}, [
|
14701
|
-
e.message.status !== "sent" ? (
|
14702
|
-
|
14748
|
+
e.message.status !== "sent" ? (u(), c("span", v1)) : b("", !0),
|
14749
|
+
m[3] || (m[3] = i("span", { class: "pi pi-check" }, null, -1))
|
14703
14750
|
], 2)) : b("", !0)
|
14704
14751
|
])
|
14705
14752
|
], 32)
|
14706
|
-
], 42,
|
14753
|
+
], 42, g1));
|
14707
14754
|
}
|
14708
|
-
},
|
14755
|
+
}, _1 = /* @__PURE__ */ N(I1, [["__scopeId", "data-v-8e1d4f8b"]]), w1 = { class: "call-message" }, D1 = ["messageId"], N1 = ["src"], k1 = {
|
14709
14756
|
key: 1,
|
14710
14757
|
class: "call-message__subtext"
|
14711
|
-
},
|
14758
|
+
}, j1 = { class: "call-message__content" }, V1 = {
|
14712
14759
|
key: 0,
|
14713
14760
|
class: "call-message__title"
|
14714
|
-
},
|
14761
|
+
}, E1 = {
|
14715
14762
|
key: 1,
|
14716
14763
|
class: "call-message__title"
|
14717
|
-
},
|
14764
|
+
}, T1 = {
|
14718
14765
|
key: 2,
|
14719
14766
|
class: "call-message__duration"
|
14720
|
-
},
|
14767
|
+
}, x1 = {
|
14721
14768
|
key: 3,
|
14722
14769
|
class: "call-message__duration"
|
14723
|
-
},
|
14770
|
+
}, S1 = {
|
14724
14771
|
key: 4,
|
14725
14772
|
class: "call-message__duration"
|
14726
|
-
},
|
14773
|
+
}, z1 = { class: "call-message__info-container" }, O1 = { class: "call-message__time" }, C1 = {
|
14727
14774
|
__name: "CallMessage",
|
14728
14775
|
props: {
|
14729
14776
|
message: {
|
@@ -14735,35 +14782,35 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14735
14782
|
function f(n) {
|
14736
14783
|
return n.position === "left" ? "call-message__left" : "call-message__right";
|
14737
14784
|
}
|
14738
|
-
return (n, a) => (
|
14739
|
-
|
14785
|
+
return (n, a) => (u(), c("div", w1, [
|
14786
|
+
i("div", {
|
14740
14787
|
class: T(f(e.message)),
|
14741
14788
|
messageId: e.message.messageId
|
14742
14789
|
}, [
|
14743
|
-
e.message.avatar ? (
|
14790
|
+
e.message.avatar ? (u(), c("img", {
|
14744
14791
|
key: 0,
|
14745
14792
|
class: "call-message__avatar",
|
14746
14793
|
src: e.message.avatar,
|
14747
14794
|
height: "32",
|
14748
14795
|
width: "32",
|
14749
|
-
style:
|
14750
|
-
}, null, 12,
|
14751
|
-
e.message.subText ? (
|
14752
|
-
|
14753
|
-
|
14796
|
+
style: O({ gridRow: e.message.subText ? "2" : "1" })
|
14797
|
+
}, null, 12, N1)) : b("", !0),
|
14798
|
+
e.message.subText ? (u(), c("p", k1, _(e.message.subText), 1)) : b("", !0),
|
14799
|
+
i("div", j1, [
|
14800
|
+
i("span", {
|
14754
14801
|
class: "call-message__icon pi pi-phone",
|
14755
|
-
style:
|
14802
|
+
style: O({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
|
14756
14803
|
}, null, 4),
|
14757
|
-
e.message.isMissedCall ? (
|
14758
|
-
e.message.callDuration ? (
|
14759
|
-
|
14760
|
-
|
14804
|
+
e.message.isMissedCall ? (u(), c("span", E1, "Пропущенный аудиозвонок")) : (u(), c("span", V1, "Аудиозвонок")),
|
14805
|
+
e.message.callDuration ? (u(), c("span", T1, _(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (u(), c("span", x1, "Нажмите, чтобы перезвонить")) : (u(), c("span", S1, "Нет ответа")),
|
14806
|
+
i("div", z1, [
|
14807
|
+
i("span", O1, _(e.message.time), 1)
|
14761
14808
|
])
|
14762
14809
|
])
|
14763
|
-
], 10,
|
14810
|
+
], 10, D1)
|
14764
14811
|
]));
|
14765
14812
|
}
|
14766
|
-
},
|
14813
|
+
}, U1 = /* @__PURE__ */ N(C1, [["__scopeId", "data-v-60811790"]]), L1 = { class: "system-message" }, Q1 = { class: "system-message__container" }, B1 = { class: "system-message__text" }, Y1 = {
|
14767
14814
|
__name: "SystemMessage",
|
14768
14815
|
props: {
|
14769
14816
|
message: {
|
@@ -14772,13 +14819,42 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14772
14819
|
}
|
14773
14820
|
},
|
14774
14821
|
setup(e) {
|
14775
|
-
return (f, n) => (
|
14776
|
-
|
14777
|
-
|
14822
|
+
return (f, n) => (u(), c("div", L1, [
|
14823
|
+
i("div", Q1, [
|
14824
|
+
i("p", B1, _(e.message.text), 1)
|
14825
|
+
])
|
14826
|
+
]));
|
14827
|
+
}
|
14828
|
+
}, R1 = /* @__PURE__ */ N(Y1, [["__scopeId", "data-v-b17746f3"]]), q1 = { class: "typing-message" }, F1 = { class: "typing-message__container" }, J1 = ["src"], W1 = {
|
14829
|
+
key: 1,
|
14830
|
+
class: "typing-message__subtext"
|
14831
|
+
}, $1 = {
|
14832
|
+
__name: "TypingMessage",
|
14833
|
+
props: {
|
14834
|
+
message: {
|
14835
|
+
type: Object,
|
14836
|
+
required: !0
|
14837
|
+
}
|
14838
|
+
},
|
14839
|
+
setup(e) {
|
14840
|
+
return (f, n) => (u(), c("div", q1, [
|
14841
|
+
i("div", F1, [
|
14842
|
+
e.message.avatar ? (u(), c("img", {
|
14843
|
+
key: 0,
|
14844
|
+
class: "typing-message__avatar",
|
14845
|
+
src: e.message.avatar,
|
14846
|
+
height: "32",
|
14847
|
+
width: "32",
|
14848
|
+
style: O({ gridRow: e.message.subText ? "2" : "1" })
|
14849
|
+
}, null, 12, J1)) : b("", !0),
|
14850
|
+
e.message.subText ? (u(), c("p", W1, _(e.message.subText), 1)) : b("", !0),
|
14851
|
+
n[0] || (n[0] = i("div", { class: "typing-message__loader-container" }, [
|
14852
|
+
i("div", { class: "typing-message__loader" })
|
14853
|
+
], -1))
|
14778
14854
|
])
|
14779
14855
|
]));
|
14780
14856
|
}
|
14781
|
-
},
|
14857
|
+
}, H1 = /* @__PURE__ */ N($1, [["__scopeId", "data-v-6ffe329a"]]), P1 = { class: "message-feed__container" }, K1 = {
|
14782
14858
|
__name: "Feed",
|
14783
14859
|
props: {
|
14784
14860
|
objects: {
|
@@ -14796,69 +14872,70 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14796
14872
|
emits: ["messageAction", "loadMore"],
|
14797
14873
|
setup(e, { emit: f }) {
|
14798
14874
|
const n = v(), a = v(!1), A = e, t = f, s = () => {
|
14799
|
-
const
|
14800
|
-
|
14801
|
-
},
|
14802
|
-
"message.text":
|
14803
|
-
"message.image":
|
14804
|
-
"message.file":
|
14805
|
-
"message.audio":
|
14806
|
-
"message.video":
|
14807
|
-
"message.call":
|
14808
|
-
"message.system":
|
14809
|
-
"system.date":
|
14810
|
-
|
14811
|
-
|
14875
|
+
const d = le(n);
|
14876
|
+
d.scrollHeight - d.scrollTop - d.clientHeight < 100 ? a.value = !1 : a.value = !0, d.scrollTop === 0 && t("loadMore");
|
14877
|
+
}, o = (d) => ({
|
14878
|
+
"message.text": ya,
|
14879
|
+
"message.image": ua,
|
14880
|
+
"message.file": Kn,
|
14881
|
+
"message.audio": Ta,
|
14882
|
+
"message.video": _1,
|
14883
|
+
"message.call": U1,
|
14884
|
+
"message.system": R1,
|
14885
|
+
"system.date": Ca,
|
14886
|
+
"message.typing": H1
|
14887
|
+
})[d];
|
14888
|
+
function r() {
|
14812
14889
|
A.isScrollToBottomOnUpdateObjectsEnabled && of(function() {
|
14813
|
-
const
|
14814
|
-
|
14890
|
+
const d = le(n);
|
14891
|
+
d.scrollTop = d.scrollHeight;
|
14815
14892
|
});
|
14816
14893
|
}
|
14817
14894
|
function l() {
|
14818
14895
|
of(function() {
|
14819
|
-
const
|
14820
|
-
|
14896
|
+
const d = le(n);
|
14897
|
+
d.scrollTop = d.scrollHeight;
|
14821
14898
|
});
|
14822
14899
|
}
|
14823
|
-
En(() =>
|
14824
|
-
const g = (
|
14825
|
-
t("messageAction",
|
14900
|
+
En(() => r), Ke(() => A.objects, r);
|
14901
|
+
const g = (d) => {
|
14902
|
+
t("messageAction", d);
|
14826
14903
|
};
|
14827
|
-
return (
|
14904
|
+
return (d, p) => (u(), c("div", {
|
14828
14905
|
ref_key: "refFeed",
|
14829
14906
|
ref: n,
|
14830
14907
|
class: "message-feed",
|
14831
14908
|
onScroll: s
|
14832
14909
|
}, [
|
14833
|
-
|
14834
|
-
(
|
14835
|
-
key:
|
14910
|
+
i("div", P1, [
|
14911
|
+
(u(!0), c(B, null, R(e.objects, (h) => (u(), Q(Tn(o(h.type)), {
|
14912
|
+
key: h.messageId,
|
14836
14913
|
class: "message-feed__message",
|
14837
|
-
message:
|
14914
|
+
message: h,
|
14838
14915
|
onAction: g
|
14839
14916
|
}, null, 40, ["message"]))), 128))
|
14840
14917
|
]),
|
14841
|
-
S(
|
14842
|
-
default:
|
14843
|
-
a.value ? (
|
14918
|
+
S($, null, {
|
14919
|
+
default: H(() => [
|
14920
|
+
a.value ? (u(), c("button", {
|
14844
14921
|
key: 0,
|
14845
14922
|
class: "message-feed__button-down",
|
14846
14923
|
onClick: l
|
14847
|
-
},
|
14848
|
-
|
14924
|
+
}, p[0] || (p[0] = [
|
14925
|
+
i("span", { class: "pi pi-angle-down" }, null, -1)
|
14849
14926
|
]))) : b("", !0)
|
14850
14927
|
]),
|
14851
14928
|
_: 1
|
14852
14929
|
})
|
14853
14930
|
], 544));
|
14854
14931
|
}
|
14855
|
-
},
|
14932
|
+
}, So = /* @__PURE__ */ N(K1, [["__scopeId", "data-v-6f37a662"]]), Z1 = { class: "profile" }, G1 = {
|
14856
14933
|
key: 0,
|
14857
14934
|
class: "profile__container"
|
14858
|
-
},
|
14935
|
+
}, X1 = {
|
14859
14936
|
key: 0,
|
14860
14937
|
class: "profile__avatar-container"
|
14861
|
-
},
|
14938
|
+
}, ei = ["src"], fi = { class: "profile__name" }, ni = { class: "profile__email" }, ai = { class: "profile__phone" }, Ai = {
|
14862
14939
|
__name: "UserProfile",
|
14863
14940
|
props: {
|
14864
14941
|
user: {
|
@@ -14867,40 +14944,35 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14867
14944
|
}
|
14868
14945
|
},
|
14869
14946
|
setup(e) {
|
14870
|
-
return (f, n) => (
|
14871
|
-
e.user ? (
|
14872
|
-
e.user.avatar ? (
|
14873
|
-
|
14947
|
+
return (f, n) => (u(), c("div", Z1, [
|
14948
|
+
e.user ? (u(), c("div", G1, [
|
14949
|
+
e.user.avatar ? (u(), c("div", X1, [
|
14950
|
+
i("span", {
|
14874
14951
|
class: "profile__status",
|
14875
|
-
style:
|
14952
|
+
style: O({ backgroundColor: e.user.status })
|
14876
14953
|
}, null, 4),
|
14877
|
-
|
14954
|
+
i("img", {
|
14878
14955
|
src: e.user.avatar,
|
14879
14956
|
height: "48",
|
14880
14957
|
width: "48"
|
14881
|
-
}, null, 8,
|
14958
|
+
}, null, 8, ei)
|
14882
14959
|
])) : b("", !0),
|
14883
|
-
|
14884
|
-
|
14885
|
-
|
14960
|
+
i("h2", fi, _(e.user.name), 1),
|
14961
|
+
i("p", ni, _(e.user.email), 1),
|
14962
|
+
i("p", ai, _(e.user.phone), 1)
|
14886
14963
|
])) : b("", !0)
|
14887
14964
|
]));
|
14888
14965
|
}
|
14889
|
-
},
|
14966
|
+
}, zo = /* @__PURE__ */ N(Ai, [["__scopeId", "data-v-db3ba19b"]]), ti = {
|
14890
14967
|
key: 0,
|
14891
14968
|
class: "dropDownMenu"
|
14892
|
-
},
|
14969
|
+
}, si = { class: "label-container" }, ii = { class: "label-row" }, oi = { class: "label-row" }, ui = { class: "label-row" }, ri = {
|
14893
14970
|
__name: "FileDropDownMenu",
|
14894
14971
|
props: {
|
14895
14972
|
canUploadFile: {
|
14896
14973
|
type: Boolean,
|
14897
14974
|
required: !0,
|
14898
14975
|
default: !0
|
14899
|
-
},
|
14900
|
-
hovered: {
|
14901
|
-
type: Boolean,
|
14902
|
-
required: !0,
|
14903
|
-
default: !1
|
14904
14976
|
}
|
14905
14977
|
},
|
14906
14978
|
emits: ["fileSelected"],
|
@@ -14909,32 +14981,32 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14909
14981
|
const t = A.target.files[0];
|
14910
14982
|
t && (console.log("Selected file:", t), n("fileSelected", t));
|
14911
14983
|
};
|
14912
|
-
return (A, t) => e.
|
14913
|
-
|
14914
|
-
|
14915
|
-
t[0] || (t[0] =
|
14916
|
-
t[1] || (t[1] =
|
14917
|
-
|
14984
|
+
return (A, t) => e.canUploadFile ? (u(), c("div", ti, [
|
14985
|
+
i("div", si, [
|
14986
|
+
i("label", ii, [
|
14987
|
+
t[0] || (t[0] = i("i", { class: "pi pi-image" }, null, -1)),
|
14988
|
+
t[1] || (t[1] = i("span", { class: "label-title" }, "Фото", -1)),
|
14989
|
+
i("input", {
|
14918
14990
|
style: { display: "none" },
|
14919
14991
|
accept: "image/*",
|
14920
14992
|
type: "file",
|
14921
14993
|
onChange: a
|
14922
14994
|
}, null, 32)
|
14923
14995
|
]),
|
14924
|
-
|
14925
|
-
t[2] || (t[2] =
|
14926
|
-
t[3] || (t[3] =
|
14927
|
-
|
14996
|
+
i("label", oi, [
|
14997
|
+
t[2] || (t[2] = i("i", { class: "pi pi-video" }, null, -1)),
|
14998
|
+
t[3] || (t[3] = i("span", { class: "label-title" }, "Видео", -1)),
|
14999
|
+
i("input", {
|
14928
15000
|
style: { display: "none" },
|
14929
15001
|
accept: "video/*",
|
14930
15002
|
type: "file",
|
14931
15003
|
onChange: a
|
14932
15004
|
}, null, 32)
|
14933
15005
|
]),
|
14934
|
-
|
14935
|
-
t[4] || (t[4] =
|
14936
|
-
t[5] || (t[5] =
|
14937
|
-
|
15006
|
+
i("label", ui, [
|
15007
|
+
t[4] || (t[4] = i("i", { class: "pi pi-file" }, null, -1)),
|
15008
|
+
t[5] || (t[5] = i("span", { class: "label-title" }, "Файл", -1)),
|
15009
|
+
i("input", {
|
14938
15010
|
style: { display: "none" },
|
14939
15011
|
type: "file",
|
14940
15012
|
onChange: a
|
@@ -14943,10 +15015,68 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14943
15015
|
])
|
14944
15016
|
])) : b("", !0);
|
14945
15017
|
}
|
14946
|
-
},
|
15018
|
+
}, li = /* @__PURE__ */ N(ri, [["__scopeId", "data-v-7150342b"]]), ci = { class: "preview-container" }, di = { class: "preview" }, gi = { key: 0 }, mi = ["src"], pi = { key: 1 }, Mi = ["src"], hi = { key: 2 }, bi = { class: "preview-name" }, yi = {
|
15019
|
+
__name: "FilePreview",
|
15020
|
+
props: {
|
15021
|
+
previewUrl: {
|
15022
|
+
type: String,
|
15023
|
+
required: !0
|
15024
|
+
},
|
15025
|
+
isImage: {
|
15026
|
+
type: Boolean,
|
15027
|
+
default: !1
|
15028
|
+
},
|
15029
|
+
isVideo: {
|
15030
|
+
type: Boolean,
|
15031
|
+
default: !1
|
15032
|
+
},
|
15033
|
+
fileName: {
|
15034
|
+
type: String,
|
15035
|
+
default: ""
|
15036
|
+
}
|
15037
|
+
},
|
15038
|
+
emits: ["reset"],
|
15039
|
+
setup(e, { emit: f }) {
|
15040
|
+
const n = e, a = f;
|
15041
|
+
function A() {
|
15042
|
+
a("reset");
|
15043
|
+
}
|
15044
|
+
return (t, s) => (u(), c("div", ci, [
|
15045
|
+
i("div", di, [
|
15046
|
+
n.isImage ? (u(), c("div", gi, [
|
15047
|
+
i("img", {
|
15048
|
+
src: e.previewUrl,
|
15049
|
+
alt: "Image Preview",
|
15050
|
+
class: "preview-image"
|
15051
|
+
}, null, 8, mi)
|
15052
|
+
])) : n.isVideo ? (u(), c("div", pi, [
|
15053
|
+
i("video", {
|
15054
|
+
src: e.previewUrl,
|
15055
|
+
class: "preview-video"
|
15056
|
+
}, null, 8, Mi)
|
15057
|
+
])) : (u(), c("div", hi, s[0] || (s[0] = [
|
15058
|
+
i("span", {
|
15059
|
+
class: "pi pi-file",
|
15060
|
+
style: { "font-size": "2.5rem" }
|
15061
|
+
}, null, -1)
|
15062
|
+
]))),
|
15063
|
+
i("div", {
|
15064
|
+
class: "preview-icon preview-reset",
|
15065
|
+
onClick: A
|
15066
|
+
}, s[1] || (s[1] = [
|
15067
|
+
i("span", {
|
15068
|
+
class: "pi pi-times",
|
15069
|
+
style: { "font-size": "2.5rem" }
|
15070
|
+
}, null, -1)
|
15071
|
+
]))
|
15072
|
+
]),
|
15073
|
+
i("span", bi, _(e.fileName), 1)
|
15074
|
+
]));
|
15075
|
+
}
|
15076
|
+
}, vi = /* @__PURE__ */ N(yi, [["__scopeId", "data-v-4ab2cf39"]]), Ii = { class: "container" }, _i = {
|
14947
15077
|
key: 0,
|
14948
15078
|
class: "chat-input__button-file"
|
14949
|
-
},
|
15079
|
+
}, wi = { key: 1 }, Di = { key: 2 }, Ni = { key: 3 }, ki = {
|
14950
15080
|
__name: "FileUploader",
|
14951
15081
|
props: {
|
14952
15082
|
canUploadFile: {
|
@@ -14959,84 +15089,84 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14959
15089
|
setup(e, { emit: f }) {
|
14960
15090
|
const n = e, a = v(!1);
|
14961
15091
|
v(!1);
|
14962
|
-
const A = ()
|
14963
|
-
|
14964
|
-
|
14965
|
-
|
14966
|
-
}, s = v(null), i = v(""), u = v(""), l = v(""), g = v(!1), c = v(!1), m = v(!1), M = f;
|
14967
|
-
$e(
|
15092
|
+
const A = v(null), t = v(""), s = v(""), o = v(""), r = v(!1), l = v(!1);
|
15093
|
+
v(!1);
|
15094
|
+
const g = f;
|
15095
|
+
Ke(
|
14968
15096
|
() => n.canUploadFile,
|
14969
15097
|
() => {
|
14970
15098
|
of(() => {
|
14971
|
-
n.canUploadFile === !0 && (
|
15099
|
+
n.canUploadFile === !0 && (t.value = null);
|
14972
15100
|
});
|
14973
15101
|
}
|
14974
15102
|
);
|
14975
|
-
const
|
14976
|
-
|
14977
|
-
},
|
14978
|
-
console.log("onFileSelected",
|
14979
|
-
}, h = () => {
|
14980
|
-
|
14981
|
-
|
14982
|
-
|
14983
|
-
|
14984
|
-
|
14985
|
-
|
15103
|
+
const d = () => {
|
15104
|
+
A.value = null, g("fileUploaded", ""), s.value = "", o.value = "";
|
15105
|
+
}, p = (m) => {
|
15106
|
+
a.value = !1, console.log("onFileSelected", m.target.files[0]), A.value = m.target.files[0], A.value && (M(), y());
|
15107
|
+
}, h = (m) => {
|
15108
|
+
console.log("onFileSelected", m), A.value = m, A.value && (M(), y());
|
15109
|
+
}, M = () => {
|
15110
|
+
const m = A.value, I = m.type;
|
15111
|
+
if (console.log(I), I.startsWith("image/") ? (r.value = !0, l.value = !1) : I.startsWith("video/") ? (r.value = !1, l.value = !0) : (r.value = !1, l.value = !1), r.value || l.value) {
|
15112
|
+
const w = new FileReader();
|
15113
|
+
w.onload = (k) => {
|
15114
|
+
o.value = k.target.result;
|
15115
|
+
}, w.readAsDataURL(m);
|
14986
15116
|
} else
|
14987
|
-
|
14988
|
-
},
|
14989
|
-
|
14990
|
-
const
|
14991
|
-
|
15117
|
+
o.value = "";
|
15118
|
+
}, y = async () => {
|
15119
|
+
t.value = "uploading";
|
15120
|
+
const m = new FormData();
|
15121
|
+
m.append("file", A.value);
|
14992
15122
|
try {
|
14993
|
-
const
|
15123
|
+
const w = await (await fetch(
|
14994
15124
|
"https://filebump.services.mobilon.ru/upload",
|
14995
15125
|
{
|
14996
15126
|
method: "POST",
|
14997
|
-
body:
|
15127
|
+
body: m
|
14998
15128
|
}
|
14999
15129
|
)).json();
|
15000
|
-
|
15001
|
-
} catch (
|
15002
|
-
console.error("Ошибка при загрузке файла:",
|
15130
|
+
s.value = w.url, t.value = "success", n.canUploadFile = !1, g("fileUploaded", { url: s.value, type: "message.file" });
|
15131
|
+
} catch (I) {
|
15132
|
+
console.error("Ошибка при загрузке файла:", I), t.value = "error";
|
15003
15133
|
}
|
15004
15134
|
};
|
15005
|
-
return (
|
15006
|
-
|
15007
|
-
|
15008
|
-
|
15009
|
-
|
15010
|
-
}, [
|
15011
|
-
e.canUploadFile && i.value !== "success" ? (r(), d("div", fi, [
|
15012
|
-
o("label", null, [
|
15013
|
-
o("input", {
|
15135
|
+
return (m, I) => (u(), c(B, null, [
|
15136
|
+
i("div", Ii, [
|
15137
|
+
e.canUploadFile && t.value !== "success" ? (u(), c("div", _i, [
|
15138
|
+
i("label", null, [
|
15139
|
+
i("input", {
|
15014
15140
|
type: "file",
|
15015
15141
|
onChange: p
|
15016
15142
|
}, null, 32),
|
15017
|
-
|
15018
|
-
|
15143
|
+
I[0] || (I[0] = i("span", null, [
|
15144
|
+
i("i", { class: "pi pi-file-arrow-up" })
|
15019
15145
|
], -1))
|
15020
15146
|
])
|
15021
15147
|
])) : b("", !0),
|
15022
|
-
!e.canUploadFile &&
|
15023
|
-
|
15024
|
-
|
15025
|
-
|
15026
|
-
|
15027
|
-
|
15148
|
+
!e.canUploadFile && t.value === "success" ? (u(), c("div", wi, [
|
15149
|
+
S(vi, {
|
15150
|
+
previewUrl: o.value,
|
15151
|
+
isImage: r.value,
|
15152
|
+
isVideo: l.value,
|
15153
|
+
fileName: A.value.name,
|
15154
|
+
onReset: d
|
15155
|
+
}, null, 8, ["previewUrl", "isImage", "isVideo", "fileName"])
|
15156
|
+
])) : t.value === "uploading" ? (u(), c("div", Di, I[1] || (I[1] = [
|
15157
|
+
i("p", null, "Загрузка файла...", -1)
|
15158
|
+
]))) : t.value === "error" ? (u(), c("div", Ni, I[2] || (I[2] = [
|
15159
|
+
i("p", null, "Ошибка при загрузке файла.", -1)
|
15028
15160
|
]))) : b("", !0)
|
15029
|
-
]
|
15030
|
-
S(
|
15031
|
-
|
15161
|
+
]),
|
15162
|
+
S(li, {
|
15163
|
+
class: "file-drop-down",
|
15032
15164
|
"can-upload-file": e.canUploadFile,
|
15033
|
-
onFileSelected:
|
15034
|
-
|
15035
|
-
onMouseout: t
|
15036
|
-
}, null, 8, ["hovered", "can-upload-file"])
|
15165
|
+
onFileSelected: h
|
15166
|
+
}, null, 8, ["can-upload-file"])
|
15037
15167
|
], 64));
|
15038
15168
|
}
|
15039
|
-
},
|
15169
|
+
}, ji = /* @__PURE__ */ N(ki, [["__scopeId", "data-v-5fedcb70"]]), Vi = ["value"], Ei = {
|
15040
15170
|
__name: "ThemeMode",
|
15041
15171
|
props: {
|
15042
15172
|
themes: {
|
@@ -15049,18 +15179,18 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
15049
15179
|
const t = A.target.value;
|
15050
15180
|
n.value = t, document.documentElement.dataset.theme = t;
|
15051
15181
|
};
|
15052
|
-
return (A, t) => (
|
15053
|
-
|
15182
|
+
return (A, t) => (u(), c("div", null, [
|
15183
|
+
i("select", {
|
15054
15184
|
onChange: t[0] || (t[0] = (s) => a(s))
|
15055
15185
|
}, [
|
15056
|
-
(
|
15057
|
-
key:
|
15186
|
+
(u(!0), c(B, null, R(f.themes, (s, o) => (u(), c("option", {
|
15187
|
+
key: o,
|
15058
15188
|
value: s.code
|
15059
|
-
},
|
15189
|
+
}, _(s.name), 9, Vi))), 128))
|
15060
15190
|
], 32)
|
15061
15191
|
]));
|
15062
15192
|
}
|
15063
|
-
},
|
15193
|
+
}, Oo = /* @__PURE__ */ N(Ei, [["__scopeId", "data-v-7c5c98e9"]]), Ti = { class: "sidebar" }, xi = { class: "sidebar__container" }, Si = { class: "sidebar__list" }, zi = ["onClick"], Oi = ["src", "alt"], Ci = { key: 1 }, Ui = { class: "sidebar__list-fixed" }, Li = ["onClick"], Qi = ["src", "alt"], Bi = { key: 1 }, Yi = {
|
15064
15194
|
__name: "SideBar",
|
15065
15195
|
props: {
|
15066
15196
|
sidebarItems: {
|
@@ -15071,58 +15201,58 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
15071
15201
|
},
|
15072
15202
|
emits: ["selectItem"],
|
15073
15203
|
setup(e, { emit: f }) {
|
15074
|
-
const a = xn(e, "sidebarItems"), A = f, t = (
|
15075
|
-
const
|
15076
|
-
A("selectItem",
|
15077
|
-
}, s = (
|
15078
|
-
const
|
15079
|
-
return
|
15204
|
+
const a = xn(e, "sidebarItems"), A = f, t = (o) => {
|
15205
|
+
const r = a.value.find((l) => l.itemId === o);
|
15206
|
+
A("selectItem", r);
|
15207
|
+
}, s = (o) => {
|
15208
|
+
const r = o.split(" ");
|
15209
|
+
return r.length > 2 ? r.slice(0, 2).join(" ") : o;
|
15080
15210
|
};
|
15081
|
-
return (
|
15082
|
-
|
15083
|
-
|
15084
|
-
(
|
15211
|
+
return (o, r) => (u(), c("div", Ti, [
|
15212
|
+
i("div", xi, [
|
15213
|
+
i("ul", Si, [
|
15214
|
+
(u(!0), c(B, null, R(a.value.filter((l) => !l.isFixedBottom), (l, g) => (u(), c("li", {
|
15085
15215
|
key: g,
|
15086
15216
|
class: "sidebar__item",
|
15087
|
-
onClick: (
|
15217
|
+
onClick: (d) => t(l.itemId)
|
15088
15218
|
}, [
|
15089
|
-
|
15219
|
+
i("img", {
|
15090
15220
|
src: l.icon,
|
15091
15221
|
alt: l.name,
|
15092
15222
|
class: T(["sidebar__image", { "sidebar__image--active": l.selected === !0 }])
|
15093
|
-
}, null, 10,
|
15094
|
-
l.notificationCount ? (
|
15223
|
+
}, null, 10, Oi),
|
15224
|
+
l.notificationCount ? (u(), c("span", {
|
15095
15225
|
key: 0,
|
15096
|
-
style:
|
15097
|
-
},
|
15098
|
-
l.name ? (
|
15099
|
-
], 8,
|
15226
|
+
style: O({ backgroundColor: l.notificationColor ? l.notificationColor : "red" })
|
15227
|
+
}, _(l.notificationCount > 99 ? "99+" : l.notificationCount), 5)) : b("", !0),
|
15228
|
+
l.name ? (u(), c("p", Ci, _(s(l.name)), 1)) : b("", !0)
|
15229
|
+
], 8, zi))), 128))
|
15100
15230
|
]),
|
15101
|
-
|
15102
|
-
(
|
15231
|
+
i("ul", Ui, [
|
15232
|
+
(u(!0), c(B, null, R(a.value.filter((l) => l.isFixedBottom), (l, g) => (u(), c("li", {
|
15103
15233
|
key: g,
|
15104
15234
|
class: "sidebar__item",
|
15105
|
-
onClick: (
|
15235
|
+
onClick: (d) => t(l.itemId)
|
15106
15236
|
}, [
|
15107
|
-
|
15237
|
+
i("img", {
|
15108
15238
|
src: l.icon,
|
15109
15239
|
alt: l.name,
|
15110
15240
|
class: T(["sidebar__image", { "sidebar__image--active": l.selected === !0 }])
|
15111
|
-
}, null, 10,
|
15112
|
-
l.notificationCount ? (
|
15241
|
+
}, null, 10, Qi),
|
15242
|
+
l.notificationCount ? (u(), c("span", {
|
15113
15243
|
key: 0,
|
15114
|
-
style:
|
15115
|
-
},
|
15116
|
-
l.name ? (
|
15117
|
-
], 8,
|
15244
|
+
style: O({ backgroundColor: l.notificationColor ? l.notificationColor : "red" })
|
15245
|
+
}, _(l.notificationCount > 99 ? "99+" : l.notificationCount), 5)) : b("", !0),
|
15246
|
+
l.name ? (u(), c("p", Bi, _(s(l.name)), 1)) : b("", !0)
|
15247
|
+
], 8, Li))), 128))
|
15118
15248
|
])
|
15119
15249
|
])
|
15120
15250
|
]));
|
15121
15251
|
}
|
15122
|
-
},
|
15252
|
+
}, Co = /* @__PURE__ */ N(Yi, [["__scopeId", "data-v-5e22516c"]]), Ri = { class: "chat-panel" }, qi = { class: "chat-panel__title-container" }, Fi = {
|
15123
15253
|
key: 0,
|
15124
15254
|
class: "chat-panel__title"
|
15125
|
-
},
|
15255
|
+
}, Ji = {
|
15126
15256
|
__name: "ChatPanel",
|
15127
15257
|
props: {
|
15128
15258
|
title: {
|
@@ -15133,25 +15263,25 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
15133
15263
|
},
|
15134
15264
|
emits: ["close-panel"],
|
15135
15265
|
setup(e, { emit: f }) {
|
15136
|
-
return (n, a) => (
|
15137
|
-
|
15138
|
-
e.title ? (
|
15139
|
-
|
15266
|
+
return (n, a) => (u(), c("div", Ri, [
|
15267
|
+
i("div", qi, [
|
15268
|
+
e.title ? (u(), c("p", Fi, _(e.title), 1)) : b("", !0),
|
15269
|
+
i("button", {
|
15140
15270
|
class: "chat-panel__button-close",
|
15141
15271
|
onClick: a[0] || (a[0] = (A) => n.$emit("close-panel"))
|
15142
15272
|
}, a[1] || (a[1] = [
|
15143
|
-
|
15273
|
+
i("span", { class: "pi pi-times" }, null, -1)
|
15144
15274
|
]))
|
15145
15275
|
]),
|
15146
|
-
|
15276
|
+
i("div", null, [
|
15147
15277
|
W(n.$slots, "content", {}, void 0, !0)
|
15148
15278
|
])
|
15149
15279
|
]));
|
15150
15280
|
}
|
15151
|
-
},
|
15281
|
+
}, Uo = /* @__PURE__ */ N(Ji, [["__scopeId", "data-v-1f6ac199"]]), Wi = {
|
15152
15282
|
key: 0,
|
15153
15283
|
class: "new-chat-modal"
|
15154
|
-
},
|
15284
|
+
}, $i = { class: "modal-content" }, Hi = { class: "participant-list" }, Pi = ["id", "value"], Ki = ["for"], Zi = {
|
15155
15285
|
__name: "SelectUser",
|
15156
15286
|
props: {
|
15157
15287
|
users: {
|
@@ -15166,78 +15296,78 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
15166
15296
|
emits: ["confirm", "close"],
|
15167
15297
|
setup(e, { emit: f }) {
|
15168
15298
|
const n = v(!0), a = v([]), A = f, t = async () => {
|
15169
|
-
A("confirm", a.value), s(),
|
15299
|
+
A("confirm", a.value), s(), o();
|
15170
15300
|
}, s = () => {
|
15171
15301
|
A("close"), n.value = !1;
|
15172
|
-
},
|
15302
|
+
}, o = () => {
|
15173
15303
|
a.value = [];
|
15174
|
-
},
|
15175
|
-
s(),
|
15304
|
+
}, r = () => {
|
15305
|
+
s(), o();
|
15176
15306
|
};
|
15177
|
-
return (l, g) => (
|
15178
|
-
n.value ? (
|
15179
|
-
|
15180
|
-
|
15181
|
-
|
15182
|
-
(
|
15183
|
-
key:
|
15307
|
+
return (l, g) => (u(), c("div", null, [
|
15308
|
+
n.value ? (u(), c("div", Wi, [
|
15309
|
+
i("div", $i, [
|
15310
|
+
i("h2", null, _(e.title), 1),
|
15311
|
+
i("div", Hi, [
|
15312
|
+
(u(!0), c(B, null, R(e.users, (d) => (u(), c("div", {
|
15313
|
+
key: d.userId,
|
15184
15314
|
class: "participant-item"
|
15185
15315
|
}, [
|
15186
|
-
ae(
|
15187
|
-
id:
|
15188
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
15316
|
+
ae(i("input", {
|
15317
|
+
id: d.userId,
|
15318
|
+
"onUpdate:modelValue": g[0] || (g[0] = (p) => a.value = p),
|
15189
15319
|
type: "checkbox",
|
15190
|
-
value:
|
15191
|
-
}, null, 8,
|
15320
|
+
value: d.userId
|
15321
|
+
}, null, 8, Pi), [
|
15192
15322
|
[Sn, a.value]
|
15193
15323
|
]),
|
15194
|
-
|
15195
|
-
for:
|
15196
|
-
},
|
15324
|
+
i("label", {
|
15325
|
+
for: d.userId
|
15326
|
+
}, _(d.name || "unknown username"), 9, Ki)
|
15197
15327
|
]))), 128))
|
15198
15328
|
]),
|
15199
|
-
|
15200
|
-
|
15201
|
-
|
15329
|
+
i("div", { class: "modal-actions" }, [
|
15330
|
+
i("button", { onClick: t }, " ОК "),
|
15331
|
+
i("button", { onClick: r }, " Отмена ")
|
15202
15332
|
])
|
15203
15333
|
])
|
15204
15334
|
])) : b("", !0)
|
15205
15335
|
]));
|
15206
15336
|
}
|
15207
|
-
},
|
15337
|
+
}, Lo = /* @__PURE__ */ N(Zi, [["__scopeId", "data-v-66249b80"]]), Gi = { class: "modal-backdrop" }, Xi = {
|
15208
15338
|
class: "modal",
|
15209
15339
|
role: "dialog",
|
15210
15340
|
"aria-labelledby": "modalTitle",
|
15211
15341
|
"aria-describedby": "modalDescription"
|
15212
|
-
},
|
15342
|
+
}, eo = {
|
15213
15343
|
id: "modalDescription",
|
15214
15344
|
class: "modal-body"
|
15215
|
-
},
|
15345
|
+
}, fo = { class: "buttons" }, no = {
|
15216
15346
|
__name: "Modal",
|
15217
15347
|
emits: ["close", "submit"],
|
15218
15348
|
setup(e, { emit: f }) {
|
15219
15349
|
const n = f, a = (t) => {
|
15220
15350
|
n("submit", t);
|
15221
15351
|
}, A = v(null);
|
15222
|
-
return (t, s) => (
|
15223
|
-
default:
|
15224
|
-
|
15225
|
-
|
15226
|
-
|
15352
|
+
return (t, s) => (u(), Q($, { name: "modal-fade" }, {
|
15353
|
+
default: H(() => [
|
15354
|
+
i("div", Gi, [
|
15355
|
+
i("div", Xi, [
|
15356
|
+
i("div", eo, [
|
15227
15357
|
W(t.$slots, "default", {}, void 0, !0)
|
15228
15358
|
]),
|
15229
|
-
|
15230
|
-
|
15359
|
+
i("div", fo, [
|
15360
|
+
i("button", {
|
15231
15361
|
type: "button",
|
15232
15362
|
class: "btn-green",
|
15233
15363
|
"aria-label": "Close modal",
|
15234
|
-
onClick: s[0] || (s[0] = (
|
15364
|
+
onClick: s[0] || (s[0] = (o) => a(A.value))
|
15235
15365
|
}, " OK "),
|
15236
|
-
|
15366
|
+
i("button", {
|
15237
15367
|
type: "button",
|
15238
15368
|
class: "btn-green",
|
15239
15369
|
"aria-label": "Close modal",
|
15240
|
-
onClick: s[1] || (s[1] = (
|
15370
|
+
onClick: s[1] || (s[1] = (o) => t.$emit("close"))
|
15241
15371
|
}, " Cancel ")
|
15242
15372
|
])
|
15243
15373
|
])
|
@@ -15246,8 +15376,8 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
15246
15376
|
_: 3
|
15247
15377
|
}));
|
15248
15378
|
}
|
15249
|
-
},
|
15250
|
-
function
|
15379
|
+
}, ao = /* @__PURE__ */ N(no, [["__scopeId", "data-v-d48a1772"]]);
|
15380
|
+
function If({ component: e, attrs: f }) {
|
15251
15381
|
return new Promise((n) => {
|
15252
15382
|
const a = document.createElement("div");
|
15253
15383
|
document.body.appendChild(a);
|
@@ -15255,44 +15385,44 @@ function cn({ component: e, attrs: f }) {
|
|
15255
15385
|
l.unmount(), document.body.removeChild(a);
|
15256
15386
|
}, s = () => {
|
15257
15387
|
t(), n(A.value);
|
15258
|
-
},
|
15259
|
-
const
|
15260
|
-
A.value[
|
15261
|
-
},
|
15388
|
+
}, o = (g) => {
|
15389
|
+
const d = Object.keys(g)[0];
|
15390
|
+
A.value[d] = g[d];
|
15391
|
+
}, r = ge({
|
15262
15392
|
render() {
|
15263
|
-
return
|
15264
|
-
|
15393
|
+
return Sf(
|
15394
|
+
ao,
|
15265
15395
|
{
|
15266
15396
|
onSubmit: s,
|
15267
15397
|
onClose: t
|
15268
15398
|
},
|
15269
15399
|
{
|
15270
|
-
default: () =>
|
15400
|
+
default: () => Sf(
|
15271
15401
|
zn(() => e),
|
15272
15402
|
{
|
15273
15403
|
...f,
|
15274
|
-
onChange:
|
15404
|
+
onChange: o
|
15275
15405
|
}
|
15276
15406
|
)
|
15277
15407
|
}
|
15278
15408
|
);
|
15279
15409
|
}
|
15280
|
-
}), l = On(
|
15410
|
+
}), l = On(r);
|
15281
15411
|
l.mount(a);
|
15282
15412
|
});
|
15283
15413
|
}
|
15284
|
-
const
|
15285
|
-
const n = await
|
15414
|
+
const Qo = async (e, f) => {
|
15415
|
+
const n = await If({
|
15286
15416
|
//в component должен быть встроен emit change(key: value)
|
15287
|
-
component: import("./SelectUser2-
|
15417
|
+
component: import("./SelectUser2-D-3DDzAP.js"),
|
15288
15418
|
attrs: {
|
15289
15419
|
title: e,
|
15290
15420
|
users: f
|
15291
15421
|
}
|
15292
15422
|
});
|
15293
15423
|
return console.log("data", n), n;
|
15294
|
-
},
|
15295
|
-
const f = await
|
15424
|
+
}, Bo = async (e) => {
|
15425
|
+
const f = await If({
|
15296
15426
|
//в component должен быть встроен emit change(key: value)
|
15297
15427
|
component: import("./CreateChat-fkFKBxtQ.js"),
|
15298
15428
|
attrs: {
|
@@ -15300,7 +15430,13 @@ const Mo = async (e, f) => {
|
|
15300
15430
|
}
|
15301
15431
|
});
|
15302
15432
|
return console.log("data", f), f;
|
15303
|
-
},
|
15433
|
+
}, Yo = async (e) => await If({
|
15434
|
+
//в component должен быть встроен emit change(key: value)
|
15435
|
+
component: import("./CreateChat2-DgUQ2F5L.js"),
|
15436
|
+
attrs: {
|
15437
|
+
title: e
|
15438
|
+
}
|
15439
|
+
}), Ao = {
|
15304
15440
|
__name: "BaseContainer",
|
15305
15441
|
props: {
|
15306
15442
|
height: String,
|
@@ -15309,16 +15445,16 @@ const Mo = async (e, f) => {
|
|
15309
15445
|
},
|
15310
15446
|
setup(e) {
|
15311
15447
|
const f = e;
|
15312
|
-
return
|
15448
|
+
return de(() => {
|
15313
15449
|
f.theme && (document.documentElement.dataset.theme = f.theme);
|
15314
|
-
}), (n, a) => (
|
15450
|
+
}), (n, a) => (u(), c("div", {
|
15315
15451
|
class: "base__container",
|
15316
|
-
style:
|
15452
|
+
style: O({ height: e.height, width: e.width })
|
15317
15453
|
}, [
|
15318
15454
|
W(n.$slots, "default", {}, void 0, !0)
|
15319
15455
|
], 4));
|
15320
15456
|
}
|
15321
|
-
},
|
15457
|
+
}, Ro = /* @__PURE__ */ N(Ao, [["__scopeId", "data-v-a6d95309"]]), to = { class: "float-window__container" }, so = ["src", "alt"], io = { class: "float-window__title" }, oo = {
|
15322
15458
|
__name: "FloatContainer",
|
15323
15459
|
props: {
|
15324
15460
|
title: {
|
@@ -15338,27 +15474,27 @@ const Mo = async (e, f) => {
|
|
15338
15474
|
},
|
15339
15475
|
emits: ["close-window", "get-size"],
|
15340
15476
|
setup(e, { emit: f }) {
|
15341
|
-
const n = e, a = v({ x: 0, y: 0 }), A = v(null), t = v(null), s = v(!1),
|
15477
|
+
const n = e, a = v({ x: 0, y: 0 }), A = v(null), t = v(null), s = v(!1), o = v(0), r = v(0), l = v(0), g = () => {
|
15342
15478
|
if (A.value) {
|
15343
|
-
const
|
15344
|
-
a.value.x = (
|
15479
|
+
const M = window.innerWidth, y = window.innerHeight, m = A.value.offsetWidth, I = A.value.offsetHeight;
|
15480
|
+
a.value.x = (M - m) / 2, a.value.y = (y - I) / 2;
|
15345
15481
|
}
|
15346
|
-
},
|
15347
|
-
s.value = !0,
|
15348
|
-
},
|
15482
|
+
}, d = (M) => {
|
15483
|
+
s.value = !0, o.value = M.clientX - A.value.offsetLeft, r.value = M.clientY - A.value.offsetTop;
|
15484
|
+
}, p = () => s.value = !1, h = (M) => {
|
15349
15485
|
if (s.value) {
|
15350
|
-
const y =
|
15486
|
+
const y = M.clientX - o.value, m = M.clientY - r.value;
|
15351
15487
|
a.value.x = Math.max(
|
15352
15488
|
0,
|
15353
15489
|
Math.min(y, window.innerWidth - A.value.offsetWidth)
|
15354
15490
|
), a.value.y = Math.max(
|
15355
15491
|
0,
|
15356
|
-
Math.min(
|
15492
|
+
Math.min(m, window.innerHeight - A.value.offsetHeight)
|
15357
15493
|
);
|
15358
15494
|
}
|
15359
15495
|
};
|
15360
|
-
return
|
15361
|
-
g(), document.addEventListener("mousemove",
|
15496
|
+
return de(() => {
|
15497
|
+
g(), document.addEventListener("mousemove", h), window.addEventListener("resize", () => {
|
15362
15498
|
a.value.x = Math.max(
|
15363
15499
|
0,
|
15364
15500
|
Math.min(
|
@@ -15373,92 +15509,92 @@ const Mo = async (e, f) => {
|
|
15373
15509
|
)
|
15374
15510
|
);
|
15375
15511
|
}), l.value = A.value.offsetHeight - t.value.offsetHeight;
|
15376
|
-
}), (
|
15512
|
+
}), (M, y) => (u(), c("div", {
|
15377
15513
|
ref_key: "element",
|
15378
15514
|
ref: A,
|
15379
15515
|
class: "float-window",
|
15380
|
-
style:
|
15516
|
+
style: O({
|
15381
15517
|
left: a.value.x + "px",
|
15382
15518
|
top: a.value.y + "px",
|
15383
15519
|
userSelect: s.value ? "none" : "auto",
|
15384
15520
|
height: e.height,
|
15385
15521
|
width: e.width,
|
15386
|
-
display:
|
15522
|
+
display: M.flex
|
15387
15523
|
})
|
15388
15524
|
}, [
|
15389
|
-
|
15390
|
-
|
15525
|
+
i("div", to, [
|
15526
|
+
i("div", {
|
15391
15527
|
ref_key: "container",
|
15392
15528
|
ref: t,
|
15393
15529
|
class: "float-window__controls",
|
15394
|
-
style:
|
15395
|
-
onMousedown:
|
15396
|
-
onMouseup:
|
15397
|
-
onMouseleave:
|
15530
|
+
style: O({ backgroundColor: n.colorTitle ? n.colorTitle : "" }),
|
15531
|
+
onMousedown: d,
|
15532
|
+
onMouseup: p,
|
15533
|
+
onMouseleave: p
|
15398
15534
|
}, [
|
15399
|
-
n.avatar ? (
|
15535
|
+
n.avatar ? (u(), c("img", {
|
15400
15536
|
key: 0,
|
15401
15537
|
class: "float-window__avatar",
|
15402
15538
|
src: n.avatar,
|
15403
15539
|
alt: n.title
|
15404
|
-
}, null, 8,
|
15405
|
-
|
15406
|
-
|
15540
|
+
}, null, 8, so)) : b("", !0),
|
15541
|
+
i("p", io, _(n.title), 1),
|
15542
|
+
i("button", {
|
15407
15543
|
class: "float-window__close-button",
|
15408
|
-
onClick: y[0] || (y[0] = (
|
15544
|
+
onClick: y[0] || (y[0] = (m) => M.$emit("close-window"))
|
15409
15545
|
}, y[1] || (y[1] = [
|
15410
|
-
|
15546
|
+
i("span", { class: "pi pi-times" }, null, -1)
|
15411
15547
|
]))
|
15412
15548
|
], 36),
|
15413
|
-
|
15549
|
+
i("div", {
|
15414
15550
|
class: "float-window__content",
|
15415
|
-
style:
|
15551
|
+
style: O({ height: l.value + "px" })
|
15416
15552
|
}, [
|
15417
|
-
W(
|
15553
|
+
W(M.$slots, "default", {}, void 0, !0)
|
15418
15554
|
], 4)
|
15419
15555
|
])
|
15420
15556
|
], 4));
|
15421
15557
|
}
|
15422
|
-
},
|
15423
|
-
function
|
15424
|
-
return
|
15425
|
-
|
15558
|
+
}, qo = /* @__PURE__ */ N(oo, [["__scopeId", "data-v-a266c2b6"]]), uo = {}, ro = { class: "base-layout__container" }, lo = { class: "base-layout__first-col" }, co = { class: "base-layout__second-col" };
|
15559
|
+
function go(e, f) {
|
15560
|
+
return u(), c("div", ro, [
|
15561
|
+
i("div", lo, [
|
15426
15562
|
W(e.$slots, "first-col", {}, void 0, !0)
|
15427
15563
|
]),
|
15428
|
-
|
15564
|
+
i("div", co, [
|
15429
15565
|
W(e.$slots, "second-col", {}, void 0, !0)
|
15430
15566
|
])
|
15431
15567
|
]);
|
15432
15568
|
}
|
15433
|
-
const
|
15434
|
-
function
|
15435
|
-
return
|
15436
|
-
|
15569
|
+
const Fo = /* @__PURE__ */ N(uo, [["render", go], ["__scopeId", "data-v-93dc265d"]]), mo = {}, po = { class: "extend-layout__container" }, Mo = { class: "extend-layout__first-col" }, ho = { class: "extend-layout__second-col" }, bo = { class: "extend-layout__third-col" };
|
15570
|
+
function yo(e, f) {
|
15571
|
+
return u(), c("div", po, [
|
15572
|
+
i("div", Mo, [
|
15437
15573
|
W(e.$slots, "first-col", {}, void 0, !0)
|
15438
15574
|
]),
|
15439
|
-
|
15575
|
+
i("div", ho, [
|
15440
15576
|
W(e.$slots, "second-col", {}, void 0, !0)
|
15441
15577
|
]),
|
15442
|
-
|
15578
|
+
i("div", bo, [
|
15443
15579
|
W(e.$slots, "third-col", {}, void 0, !0)
|
15444
15580
|
])
|
15445
15581
|
]);
|
15446
15582
|
}
|
15447
|
-
const
|
15448
|
-
function
|
15449
|
-
return
|
15450
|
-
|
15583
|
+
const Jo = /* @__PURE__ */ N(mo, [["render", yo], ["__scopeId", "data-v-ba0c9b0d"]]), vo = {}, Io = { class: "base-layout__container" }, _o = { class: "base-layout__first-col" };
|
15584
|
+
function wo(e, f) {
|
15585
|
+
return u(), c("div", Io, [
|
15586
|
+
i("div", _o, [
|
15451
15587
|
W(e.$slots, "default", {}, void 0, !0)
|
15452
15588
|
])
|
15453
15589
|
]);
|
15454
15590
|
}
|
15455
|
-
const
|
15591
|
+
const Wo = /* @__PURE__ */ N(vo, [["render", wo], ["__scopeId", "data-v-e71ea0ed"]]), Do = { class: "chat-wrapper" }, No = {
|
15456
15592
|
key: 0,
|
15457
|
-
|
15458
|
-
},
|
15593
|
+
class: "chat-wrapper__selected-chat"
|
15594
|
+
}, ko = {
|
15459
15595
|
key: 1,
|
15460
15596
|
style: { width: "100%" }
|
15461
|
-
},
|
15597
|
+
}, jo = /* @__PURE__ */ ge({
|
15462
15598
|
__name: "ChatWrapper",
|
15463
15599
|
props: {
|
15464
15600
|
isOpenChatPanel: {
|
@@ -15471,28 +15607,28 @@ const _o = /* @__PURE__ */ k(Gi, [["render", fo], ["__scopeId", "data-v-3face7ce
|
|
15471
15607
|
}
|
15472
15608
|
},
|
15473
15609
|
setup(e) {
|
15474
|
-
return (f, n) => (
|
15475
|
-
e.isSelectedChat ? (
|
15610
|
+
return (f, n) => (u(), c("div", Do, [
|
15611
|
+
e.isSelectedChat ? (u(), c("div", No, [
|
15476
15612
|
W(f.$slots, "default", {}, void 0, !0)
|
15477
|
-
])) : (
|
15478
|
-
|
15613
|
+
])) : (u(), c("div", ko, n[0] || (n[0] = [
|
15614
|
+
i("p", null, " Выберите контакт для начала общения ", -1)
|
15479
15615
|
]))),
|
15480
|
-
e.isOpenChatPanel ? (
|
15616
|
+
e.isOpenChatPanel ? (u(), c("div", {
|
15481
15617
|
key: 2,
|
15482
|
-
|
15483
|
-
|
15618
|
+
class: "chat-wrapper__chat-panel",
|
15619
|
+
style: O({ "flex-basis": e.isOpenChatPanel ? "40%" : "0%" })
|
15484
15620
|
}, [
|
15485
15621
|
W(f.$slots, "chatpanel", {}, void 0, !0)
|
15486
15622
|
], 4)) : b("", !0)
|
15487
15623
|
]));
|
15488
15624
|
}
|
15489
|
-
}),
|
15490
|
-
function
|
15625
|
+
}), $o = /* @__PURE__ */ N(jo, [["__scopeId", "data-v-885e7d38"]]);
|
15626
|
+
function Ho(e) {
|
15491
15627
|
if (!e || e === "") return;
|
15492
15628
|
const f = +new Date(Number(e) * 1e3), n = +/* @__PURE__ */ new Date(), a = Math.floor((n - f) / 1e3), A = Math.floor(a / 60), t = Math.floor(A / 60), s = Math.floor(t / 24);
|
15493
15629
|
return s > 30 ? f.toLocaleString() : s > 0 ? `${s} ${s === 1 ? "день" : "дня"} назад` : t > 0 ? `${t} ${t === 1 ? "час" : "часа"} назад` : A > 0 ? `${A} ${A === 1 ? "минута" : "минуты"} назад` : a > 0 ? `${a} ${a === 1 ? "секунда" : "секунды"} назад` : "Только что";
|
15494
15630
|
}
|
15495
|
-
const
|
15631
|
+
const Po = (e) => {
|
15496
15632
|
const f = [];
|
15497
15633
|
let n = null;
|
15498
15634
|
for (let a = 0; a < e.length; a++) {
|
@@ -15506,7 +15642,7 @@ const No = (e) => {
|
|
15506
15642
|
}), n = t), f.push(A);
|
15507
15643
|
}
|
15508
15644
|
return f;
|
15509
|
-
},
|
15645
|
+
}, Ko = async () => {
|
15510
15646
|
try {
|
15511
15647
|
if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
|
15512
15648
|
const f = new Audio();
|
@@ -15515,37 +15651,38 @@ const No = (e) => {
|
|
15515
15651
|
} catch {
|
15516
15652
|
console.log("no audio permissions");
|
15517
15653
|
}
|
15518
|
-
},
|
15654
|
+
}, Zo = (e) => e.sort((f, n) => Number(f.timestamp) < Number(n.timestamp) ? -1 : Number(f.timestamp) > Number(n.timestamp) ? 1 : 0);
|
15519
15655
|
export {
|
15520
|
-
|
15521
|
-
|
15522
|
-
|
15523
|
-
|
15524
|
-
|
15525
|
-
|
15526
|
-
|
15527
|
-
|
15528
|
-
|
15529
|
-
|
15530
|
-
|
15531
|
-
|
15532
|
-
|
15533
|
-
|
15534
|
-
|
15535
|
-
|
15536
|
-
|
15537
|
-
|
15656
|
+
Ta as A,
|
15657
|
+
Ro as B,
|
15658
|
+
Eo as C,
|
15659
|
+
Ca as D,
|
15660
|
+
Jo as E,
|
15661
|
+
Kn as F,
|
15662
|
+
ua as I,
|
15663
|
+
Co as S,
|
15664
|
+
ya as T,
|
15665
|
+
zo as U,
|
15666
|
+
N as _,
|
15667
|
+
To as a,
|
15668
|
+
xo as b,
|
15669
|
+
So as c,
|
15670
|
+
ji as d,
|
15671
|
+
Oo as e,
|
15672
|
+
Uo as f,
|
15673
|
+
Us as g,
|
15538
15674
|
sf as h,
|
15539
|
-
|
15540
|
-
|
15541
|
-
|
15542
|
-
|
15543
|
-
|
15544
|
-
|
15545
|
-
|
15546
|
-
|
15547
|
-
|
15548
|
-
|
15549
|
-
|
15550
|
-
|
15675
|
+
A1 as i,
|
15676
|
+
Lo as j,
|
15677
|
+
Bo as k,
|
15678
|
+
Yo as l,
|
15679
|
+
qo as m,
|
15680
|
+
Fo as n,
|
15681
|
+
Wo as o,
|
15682
|
+
$o as p,
|
15683
|
+
Ho as q,
|
15684
|
+
Po as r,
|
15685
|
+
Ko as s,
|
15686
|
+
Zo as t,
|
15687
|
+
Qo as u
|
15551
15688
|
};
|